/*! For license information please see main.ac85cbcd.js.LICENSE.txt */
(function(){var __webpack_modules__={99932:function(e,t,n){"use strict";var r,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(47313),a=(r=i)&&r.__esModule?r:{default:r};t.Z=function(e){var t=e.fill,n=void 0===t?"currentColor":t,r=e.width,i=void 0===r?24:r,s=e.height,l=void 0===s?24:s,c=e.style,u=void 0===c?{}:c,d=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["fill","width","height","style"]);return a.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:n,width:i,height:l},u)},d),a.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))}},3050:function(e,t,n){"use strict";var r,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(47313),a=(r=i)&&r.__esModule?r:{default:r};t.Z=function(e){var t=e.fill,n=void 0===t?"currentColor":t,r=e.width,i=void 0===r?24:r,s=e.height,l=void 0===s?24:s,c=e.style,u=void 0===c?{}:c,d=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["fill","width","height","style"]);return a.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:n,width:i,height:l},u)},d),a.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))}},20337:function(e,t,n){"use strict";var r=n(45987),o=n(87462),i=n(47313),a=n(83061),s=n(52376),l=n(13644),c=n(52877),u=n(79685),d=i.forwardRef((function(e,t){var n=e.children,s=e.classes,l=e.className,d=e.color,p=void 0===d?"default":d,f=e.component,h=void 0===f?"button":f,b=e.disabled,A=void 0!==b&&b,m=e.disableElevation,g=void 0!==m&&m,v=e.disableFocusRipple,y=void 0!==v&&v,M=e.endIcon,O=e.focusVisibleClassName,_=e.fullWidth,z=void 0!==_&&_,x=e.size,w=void 0===x?"medium":x,C=e.startIcon,S=e.type,E=void 0===S?"button":S,k=e.variant,D=void 0===k?"text":k,N=(0,r.Z)(e,["children","classes","className","color","component","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"]),T=C&&i.createElement("span",{className:(0,a.Z)(s.startIcon,s["iconSize".concat((0,u.Z)(w))])},C),j=M&&i.createElement("span",{className:(0,a.Z)(s.endIcon,s["iconSize".concat((0,u.Z)(w))])},M);return i.createElement(c.Z,(0,o.Z)({className:(0,a.Z)(s.root,s[D],l,"inherit"===p?s.colorInherit:"default"!==p&&s["".concat(D).concat((0,u.Z)(p))],"medium"!==w&&[s["".concat(D,"Size").concat((0,u.Z)(w))],s["size".concat((0,u.Z)(w))]],g&&s.disableElevation,A&&s.disabled,z&&s.fullWidth),component:h,disabled:A,focusRipple:!y,focusVisibleClassName:(0,a.Z)(s.focusVisible,O),ref:t,type:E},N),i.createElement("span",{className:s.label},T,n,j))}));t.Z=(0,s.Z)((function(e){return{root:(0,o.Z)({},e.typography.button,{boxSizing:"border-box",minWidth:64,padding:"6px 16px",borderRadius:e.shape.borderRadius,color:e.palette.text.primary,transition:e.transitions.create(["background-color","box-shadow","border"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none",backgroundColor:(0,l.Fq)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"},"&$disabled":{backgroundColor:"transparent"}},"&$disabled":{color:e.palette.action.disabled}}),label:{width:"100%",display:"inherit",alignItems:"inherit",justifyContent:"inherit"},text:{padding:"6px 8px"},textPrimary:{color:e.palette.primary.main,"&:hover":{backgroundColor:(0,l.Fq)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},textSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:(0,l.Fq)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlined:{padding:"5px 15px",border:"1px solid ".concat("light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),"&$disabled":{border:"1px solid ".concat(e.palette.action.disabledBackground)}},outlinedPrimary:{color:e.palette.primary.main,border:"1px solid ".concat((0,l.Fq)(e.palette.primary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.primary.main),backgroundColor:(0,l.Fq)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlinedSecondary:{color:e.palette.secondary.main,border:"1px solid ".concat((0,l.Fq)(e.palette.secondary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.secondary.main),backgroundColor:(0,l.Fq)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{border:"1px solid ".concat(e.palette.action.disabled)}},contained:{color:e.palette.getContrastText(e.palette.grey[300]),backgroundColor:e.palette.grey[300],boxShadow:e.shadows[2],"&:hover":{backgroundColor:e.palette.grey.A100,boxShadow:e.shadows[4],"@media (hover: none)":{boxShadow:e.shadows[2],backgroundColor:e.palette.grey[300]},"&$disabled":{backgroundColor:e.palette.action.disabledBackground}},"&$focusVisible":{boxShadow:e.shadows[6]},"&:active":{boxShadow:e.shadows[8]},"&$disabled":{color:e.palette.action.disabled,boxShadow:e.shadows[0],backgroundColor:e.palette.action.disabledBackground}},containedPrimary:{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.main,"&:hover":{backgroundColor:e.palette.primary.dark,"@media (hover: none)":{backgroundColor:e.palette.primary.main}}},containedSecondary:{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.main,"&:hover":{backgroundColor:e.palette.secondary.dark,"@media (hover: none)":{backgroundColor:e.palette.secondary.main}}},disableElevation:{boxShadow:"none","&:hover":{boxShadow:"none"},"&$focusVisible":{boxShadow:"none"},"&:active":{boxShadow:"none"},"&$disabled":{boxShadow:"none"}},focusVisible:{},disabled:{},colorInherit:{color:"inherit",borderColor:"currentColor"},textSizeSmall:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},textSizeLarge:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},outlinedSizeSmall:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},outlinedSizeLarge:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},containedSizeSmall:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},containedSizeLarge:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},sizeSmall:{},sizeLarge:{},fullWidth:{width:"100%"},startIcon:{display:"inherit",marginRight:8,marginLeft:-4,"&$iconSizeSmall":{marginLeft:-2}},endIcon:{display:"inherit",marginRight:-4,marginLeft:8,"&$iconSizeSmall":{marginRight:-2}},iconSizeSmall:{"& > *:first-child":{fontSize:18}},iconSizeMedium:{"& > *:first-child":{fontSize:20}},iconSizeLarge:{"& > *:first-child":{fontSize:22}}}}),{name:"MuiButton"})(d)},52877:function(e,t,n){"use strict";n.d(t,{Z:function(){return S}});var r=n(87462),o=n(45987),i=n(47313),a=n(1168),s=n(83061),l=n(38088),c=n(72705),u=n(52376),d=n(96790),p=n(93433),f=n(63366),h=n(97326),b=n(94578),A=n(20010);function m(e,t){var n=Object.create(null);return e&&i.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,i.isValidElement)(e)?t(e):e}(e)})),n}function g(e,t,n){return null!=n[t]?n[t]:e.props[t]}function v(e,t,n){var r=m(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var l in t){if(o[l])for(r=0;r<o[l].length;r++){var c=o[l][r];s[o[l][r]]=n(c)}s[l]=n(l)}for(r=0;r<i.length;r++)s[i[r]]=n(i[r]);return s}(t,r);return Object.keys(o).forEach((function(a){var s=o[a];if((0,i.isValidElement)(s)){var l=a in t,c=a in r,u=t[a],d=(0,i.isValidElement)(u)&&!u.props.in;!c||l&&!d?c||!l||d?c&&l&&(0,i.isValidElement)(u)&&(o[a]=(0,i.cloneElement)(s,{onExited:n.bind(null,s),in:u.props.in,exit:g(s,"exit",e),enter:g(s,"enter",e)})):o[a]=(0,i.cloneElement)(s,{in:!1}):o[a]=(0,i.cloneElement)(s,{onExited:n.bind(null,s),in:!0,exit:g(s,"exit",e),enter:g(s,"enter",e)})}})),o}var y=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},M=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind((0,h.Z)(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}(0,b.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,o=t.children,a=t.handleExited;return{children:t.firstRender?(n=e,r=a,m(n.children,(function(e){return(0,i.cloneElement)(e,{onExited:r.bind(null,e),in:!0,appear:g(e,"appear",n),enter:g(e,"enter",n),exit:g(e,"exit",n)})}))):v(e,o,a),firstRender:!1}},n.handleExited=function(e,t){var n=m(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=(0,r.Z)({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=(0,f.Z)(e,["component","childFactory"]),o=this.state.contextValue,a=y(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?i.createElement(A.Z.Provider,{value:o},a):i.createElement(A.Z.Provider,{value:o},i.createElement(t,r,a))},t}(i.Component);M.propTypes={},M.defaultProps={component:"div",childFactory:function(e){return e}};var O=M,_="undefined"===typeof window?i.useEffect:i.useLayoutEffect;var z=function(e){var t=e.classes,n=e.pulsate,r=void 0!==n&&n,o=e.rippleX,a=e.rippleY,l=e.rippleSize,u=e.in,d=e.onExited,p=void 0===d?function(){}:d,f=e.timeout,h=i.useState(!1),b=h[0],A=h[1],m=(0,s.Z)(t.ripple,t.rippleVisible,r&&t.ripplePulsate),g={width:l,height:l,top:-l/2+a,left:-l/2+o},v=(0,s.Z)(t.child,b&&t.childLeaving,r&&t.childPulsate),y=(0,c.Z)(p);return _((function(){if(!u){A(!0);var e=setTimeout(y,f);return function(){clearTimeout(e)}}}),[y,u,f]),i.createElement("span",{className:m,style:g},i.createElement("span",{className:v}))},x=i.forwardRef((function(e,t){var n=e.center,a=void 0!==n&&n,l=e.classes,c=e.className,u=(0,o.Z)(e,["center","classes","className"]),d=i.useState([]),f=d[0],h=d[1],b=i.useRef(0),A=i.useRef(null);i.useEffect((function(){A.current&&(A.current(),A.current=null)}),[f]);var m=i.useRef(!1),g=i.useRef(null),v=i.useRef(null),y=i.useRef(null);i.useEffect((function(){return function(){clearTimeout(g.current)}}),[]);var M=i.useCallback((function(e){var t=e.pulsate,n=e.rippleX,r=e.rippleY,o=e.rippleSize,a=e.cb;h((function(e){return[].concat((0,p.Z)(e),[i.createElement(z,{key:b.current,classes:l,timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:o})])})),b.current+=1,A.current=a}),[l]),_=i.useCallback((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=t.pulsate,o=void 0!==r&&r,i=t.center,s=void 0===i?a||t.pulsate:i,l=t.fakeElement,c=void 0!==l&&l;if("mousedown"===e.type&&m.current)m.current=!1;else{"touchstart"===e.type&&(m.current=!0);var u,d,p,f=c?null:y.current,h=f?f.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(s||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)u=Math.round(h.width/2),d=Math.round(h.height/2);else{var b=e.touches?e.touches[0]:e,A=b.clientX,O=b.clientY;u=Math.round(A-h.left),d=Math.round(O-h.top)}if(s)(p=Math.sqrt((2*Math.pow(h.width,2)+Math.pow(h.height,2))/3))%2===0&&(p+=1);else{var _=2*Math.max(Math.abs((f?f.clientWidth:0)-u),u)+2,z=2*Math.max(Math.abs((f?f.clientHeight:0)-d),d)+2;p=Math.sqrt(Math.pow(_,2)+Math.pow(z,2))}e.touches?null===v.current&&(v.current=function(){M({pulsate:o,rippleX:u,rippleY:d,rippleSize:p,cb:n})},g.current=setTimeout((function(){v.current&&(v.current(),v.current=null)}),80)):M({pulsate:o,rippleX:u,rippleY:d,rippleSize:p,cb:n})}}),[a,M]),x=i.useCallback((function(){_({},{pulsate:!0})}),[_]),w=i.useCallback((function(e,t){if(clearTimeout(g.current),"touchend"===e.type&&v.current)return e.persist(),v.current(),v.current=null,void(g.current=setTimeout((function(){w(e,t)})));v.current=null,h((function(e){return e.length>0?e.slice(1):e})),A.current=t}),[]);return i.useImperativeHandle(t,(function(){return{pulsate:x,start:_,stop:w}}),[x,_,w]),i.createElement("span",(0,r.Z)({className:(0,s.Z)(l.root,c),ref:y},u),i.createElement(O,{component:null,exit:!0},f))})),w=(0,u.Z)((function(e){return{root:{overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"},ripple:{opacity:0,position:"absolute"},rippleVisible:{opacity:.3,transform:"scale(1)",animation:"$enter ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},ripplePulsate:{animationDuration:"".concat(e.transitions.duration.shorter,"ms")},child:{opacity:1,display:"block",width:"100%",height:"100%",borderRadius:"50%",backgroundColor:"currentColor"},childLeaving:{opacity:0,animation:"$exit ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},childPulsate:{position:"absolute",left:0,top:0,animation:"$pulsate 2500ms ".concat(e.transitions.easing.easeInOut," 200ms infinite")},"@keyframes enter":{"0%":{transform:"scale(0)",opacity:.1},"100%":{transform:"scale(1)",opacity:.3}},"@keyframes exit":{"0%":{opacity:1},"100%":{opacity:0}},"@keyframes pulsate":{"0%":{transform:"scale(1)"},"50%":{transform:"scale(0.92)"},"100%":{transform:"scale(1)"}}}}),{flip:!1,name:"MuiTouchRipple"})(i.memo(x)),C=i.forwardRef((function(e,t){var n=e.action,u=e.buttonRef,p=e.centerRipple,f=void 0!==p&&p,h=e.children,b=e.classes,A=e.className,m=e.component,g=void 0===m?"button":m,v=e.disabled,y=void 0!==v&&v,M=e.disableRipple,O=void 0!==M&&M,_=e.disableTouchRipple,z=void 0!==_&&_,x=e.focusRipple,C=void 0!==x&&x,S=e.focusVisibleClassName,E=e.onBlur,k=e.onClick,D=e.onFocus,N=e.onFocusVisible,T=e.onKeyDown,j=e.onKeyUp,B=e.onMouseDown,L=e.onMouseLeave,R=e.onMouseUp,q=e.onTouchEnd,P=e.onTouchMove,I=e.onTouchStart,W=e.onDragLeave,F=e.tabIndex,U=void 0===F?0:F,Z=e.TouchRippleProps,H=e.type,$=void 0===H?"button":H,V=(0,o.Z)(e,["action","buttonRef","centerRipple","children","classes","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","onBlur","onClick","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","onDragLeave","tabIndex","TouchRippleProps","type"]),X=i.useRef(null);var Q=i.useRef(null),Y=i.useState(!1),G=Y[0],K=Y[1];y&&G&&K(!1);var J=(0,d.Z)(),ee=J.isFocusVisible,te=J.onBlurVisible,ne=J.ref;function re(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:z;return(0,c.Z)((function(r){return t&&t(r),!n&&Q.current&&Q.current[e](r),!0}))}i.useImperativeHandle(n,(function(){return{focusVisible:function(){K(!0),X.current.focus()}}}),[]),i.useEffect((function(){G&&C&&!O&&Q.current.pulsate()}),[O,C,G]);var oe=re("start",B),ie=re("stop",W),ae=re("stop",R),se=re("stop",(function(e){G&&e.preventDefault(),L&&L(e)})),le=re("start",I),ce=re("stop",q),ue=re("stop",P),de=re("stop",(function(e){G&&(te(e),K(!1)),E&&E(e)}),!1),pe=(0,c.Z)((function(e){X.current||(X.current=e.currentTarget),ee(e)&&(K(!0),N&&N(e)),D&&D(e)})),fe=function(){var e=a.findDOMNode(X.current);return g&&"button"!==g&&!("A"===e.tagName&&e.href)},he=i.useRef(!1),be=(0,c.Z)((function(e){C&&!he.current&&G&&Q.current&&" "===e.key&&(he.current=!0,e.persist(),Q.current.stop(e,(function(){Q.current.start(e)}))),e.target===e.currentTarget&&fe()&&" "===e.key&&e.preventDefault(),T&&T(e),e.target===e.currentTarget&&fe()&&"Enter"===e.key&&!y&&(e.preventDefault(),k&&k(e))})),Ae=(0,c.Z)((function(e){C&&" "===e.key&&Q.current&&G&&!e.defaultPrevented&&(he.current=!1,e.persist(),Q.current.stop(e,(function(){Q.current.pulsate(e)}))),j&&j(e),k&&e.target===e.currentTarget&&fe()&&" "===e.key&&!e.defaultPrevented&&k(e)})),me=g;"button"===me&&V.href&&(me="a");var ge={};"button"===me?(ge.type=$,ge.disabled=y):("a"===me&&V.href||(ge.role="button"),ge["aria-disabled"]=y);var ve=(0,l.Z)(u,t),ye=(0,l.Z)(ne,X),Me=(0,l.Z)(ve,ye),Oe=i.useState(!1),_e=Oe[0],ze=Oe[1];i.useEffect((function(){ze(!0)}),[]);var xe=_e&&!O&&!y;return i.createElement(me,(0,r.Z)({className:(0,s.Z)(b.root,A,G&&[b.focusVisible,S],y&&b.disabled),onBlur:de,onClick:k,onFocus:pe,onKeyDown:be,onKeyUp:Ae,onMouseDown:oe,onMouseLeave:se,onMouseUp:ae,onDragLeave:ie,onTouchEnd:ce,onTouchMove:ue,onTouchStart:le,ref:Me,tabIndex:y?-1:U},ge,V),h,xe?i.createElement(w,(0,r.Z)({ref:Q,center:f},Z)):null)})),S=(0,u.Z)({root:{display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},"&$disabled":{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}},disabled:{},focusVisible:{}},{name:"MuiButtonBase"})(C)},34960:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(87462),o=n(45987),i=n(47313),a=n(83061),s=n(8376),l=n(14214),c=(0,l.Z)(i.createElement("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),u=(0,l.Z)(i.createElement("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),d=n(13644),p=(0,l.Z)(i.createElement("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox"),f=n(79685),h=n(52376),b=i.createElement(u,null),A=i.createElement(c,null),m=i.createElement(p,null),g=i.forwardRef((function(e,t){var n=e.checkedIcon,l=void 0===n?b:n,c=e.classes,u=e.color,d=void 0===u?"secondary":u,p=e.icon,h=void 0===p?A:p,g=e.indeterminate,v=void 0!==g&&g,y=e.indeterminateIcon,M=void 0===y?m:y,O=e.inputProps,_=e.size,z=void 0===_?"medium":_,x=(0,o.Z)(e,["checkedIcon","classes","color","icon","indeterminate","indeterminateIcon","inputProps","size"]),w=v?M:h,C=v?M:l;return i.createElement(s.Z,(0,r.Z)({type:"checkbox",classes:{root:(0,a.Z)(c.root,c["color".concat((0,f.Z)(d))],v&&c.indeterminate),checked:c.checked,disabled:c.disabled},color:d,inputProps:(0,r.Z)({"data-indeterminate":v},O),icon:i.cloneElement(w,{fontSize:void 0===w.props.fontSize&&"small"===z?z:w.props.fontSize}),checkedIcon:i.cloneElement(C,{fontSize:void 0===C.props.fontSize&&"small"===z?z:C.props.fontSize}),ref:t},x))})),v=(0,h.Z)((function(e){return{root:{color:e.palette.text.secondary},checked:{},disabled:{},indeterminate:{},colorPrimary:{"&$checked":{color:e.palette.primary.main,"&:hover":{backgroundColor:(0,d.Fq)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:e.palette.action.disabled}},colorSecondary:{"&$checked":{color:e.palette.secondary.main,"&:hover":{backgroundColor:(0,d.Fq)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:e.palette.action.disabled}}}}),{name:"MuiCheckbox"})(g)},3873:function(e,t,n){"use strict";var r=n(87462),o=n(45987),i=n(47313),a=n(83061),s=n(52376),l=n(79685),c=44,u=i.forwardRef((function(e,t){var n=e.classes,s=e.className,u=e.color,d=void 0===u?"primary":u,p=e.disableShrink,f=void 0!==p&&p,h=e.size,b=void 0===h?40:h,A=e.style,m=e.thickness,g=void 0===m?3.6:m,v=e.value,y=void 0===v?0:v,M=e.variant,O=void 0===M?"indeterminate":M,_=(0,o.Z)(e,["classes","className","color","disableShrink","size","style","thickness","value","variant"]),z={},x={},w={};if("determinate"===O||"static"===O){var C=2*Math.PI*((c-g)/2);z.strokeDasharray=C.toFixed(3),w["aria-valuenow"]=Math.round(y),z.strokeDashoffset="".concat(((100-y)/100*C).toFixed(3),"px"),x.transform="rotate(-90deg)"}return i.createElement("div",(0,r.Z)({className:(0,a.Z)(n.root,s,"inherit"!==d&&n["color".concat((0,l.Z)(d))],{determinate:n.determinate,indeterminate:n.indeterminate,static:n.static}[O]),style:(0,r.Z)({width:b,height:b},x,A),ref:t,role:"progressbar"},w,_),i.createElement("svg",{className:n.svg,viewBox:"".concat(22," ").concat(22," ").concat(c," ").concat(c)},i.createElement("circle",{className:(0,a.Z)(n.circle,f&&n.circleDisableShrink,{determinate:n.circleDeterminate,indeterminate:n.circleIndeterminate,static:n.circleStatic}[O]),style:z,cx:c,cy:c,r:(c-g)/2,fill:"none",strokeWidth:g})))}));t.Z=(0,s.Z)((function(e){return{root:{display:"inline-block"},static:{transition:e.transitions.create("transform")},indeterminate:{animation:"$circular-rotate 1.4s linear infinite"},determinate:{transition:e.transitions.create("transform")},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},svg:{display:"block"},circle:{stroke:"currentColor"},circleStatic:{transition:e.transitions.create("stroke-dashoffset")},circleIndeterminate:{animation:"$circular-dash 1.4s ease-in-out infinite",strokeDasharray:"80px, 200px",strokeDashoffset:"0px"},circleDeterminate:{transition:e.transitions.create("stroke-dashoffset")},"@keyframes circular-rotate":{"0%":{transformOrigin:"50% 50%"},"100%":{transform:"rotate(360deg)"}},"@keyframes circular-dash":{"0%":{strokeDasharray:"1px, 200px",strokeDashoffset:"0px"},"50%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-15px"},"100%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-125px"}},circleDisableShrink:{animation:"none"}}}),{name:"MuiCircularProgress",flip:!1})(u)},19828:function(e,t,n){"use strict";var r=n(47313),o=n(1168),i=n(10516),a=n(38088),s=n(72705);function l(e){return e.substring(2).toLowerCase()}t.Z=function(e){var t=e.children,n=e.disableReactTree,c=void 0!==n&&n,u=e.mouseEvent,d=void 0===u?"onClick":u,p=e.onClickAway,f=e.touchEvent,h=void 0===f?"onTouchEnd":f,b=r.useRef(!1),A=r.useRef(null),m=r.useRef(!1),g=r.useRef(!1);r.useEffect((function(){return setTimeout((function(){m.current=!0}),0),function(){m.current=!1}}),[]);var v=r.useCallback((function(e){A.current=o.findDOMNode(e)}),[]),y=(0,a.Z)(t.ref,v),M=(0,s.Z)((function(e){var t=g.current;if(g.current=!1,m.current&&A.current&&!function(e){return document.documentElement.clientWidth<e.clientX||document.documentElement.clientHeight<e.clientY}(e))if(b.current)b.current=!1;else{var n;if(e.composedPath)n=e.composedPath().indexOf(A.current)>-1;else n=!(0,i.Z)(A.current).documentElement.contains(e.target)||A.current.contains(e.target);n||!c&&t||p(e)}})),O=function(e){return function(n){g.current=!0;var r=t.props[e];r&&r(n)}},_={ref:y};return!1!==h&&(_[h]=O(h)),r.useEffect((function(){if(!1!==h){var e=l(h),t=(0,i.Z)(A.current),n=function(){b.current=!0};return t.addEventListener(e,M),t.addEventListener("touchmove",n),function(){t.removeEventListener(e,M),t.removeEventListener("touchmove",n)}}}),[M,h]),!1!==d&&(_[d]=O(d)),r.useEffect((function(){if(!1!==d){var e=l(d),t=(0,i.Z)(A.current);return t.addEventListener(e,M),function(){t.removeEventListener(e,M)}}}),[M,d]),r.createElement(r.Fragment,null,r.cloneElement(t,_))}},45127:function(e,t,n){"use strict";var r=n(87462),o=n(45987),i=n(47313),a=n(83061),s=n(93015),l=n(52376),c=i.forwardRef((function(e,t){var n=e.disableUnderline,l=e.classes,c=e.fullWidth,u=void 0!==c&&c,d=e.inputComponent,p=void 0===d?"input":d,f=e.multiline,h=void 0!==f&&f,b=e.type,A=void 0===b?"text":b,m=(0,o.Z)(e,["disableUnderline","classes","fullWidth","inputComponent","multiline","type"]);return i.createElement(s.Z,(0,r.Z)({classes:(0,r.Z)({},l,{root:(0,a.Z)(l.root,!n&&l.underline),underline:null}),fullWidth:u,inputComponent:p,multiline:h,ref:t,type:A},m))}));c.muiName="Input",t.Z=(0,l.Z)((function(e){var t="light"===e.palette.type,n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.09)";return{root:{position:"relative",backgroundColor:r,borderTopLeftRadius:e.shape.borderRadius,borderTopRightRadius:e.shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:t?"rgba(0, 0, 0, 0.13)":"rgba(255, 255, 255, 0.13)","@media (hover: none)":{backgroundColor:r}},"&$focused":{backgroundColor:t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.09)"},"&$disabled":{backgroundColor:t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)"}},colorSecondary:{"&$underline:after":{borderBottomColor:e.palette.secondary.main}},underline:{"&:after":{borderBottom:"2px solid ".concat(e.palette.primary.main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},"&$focused:after":{transform:"scaleX(1)"},"&$error:after":{borderBottomColor:e.palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:"1px solid ".concat(n),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},"&:hover:before":{borderBottom:"1px solid ".concat(e.palette.text.primary)},"&$disabled:before":{borderBottomStyle:"dotted"}},focused:{},disabled:{},adornedStart:{paddingLeft:12},adornedEnd:{paddingRight:12},error:{},marginDense:{},multiline:{padding:"27px 12px 10px","&$marginDense":{paddingTop:23,paddingBottom:6}},input:{padding:"27px 12px 10px","&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.type?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.type?null:"#fff",caretColor:"light"===e.palette.type?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},inputMarginDense:{paddingTop:23,paddingBottom:6},inputHiddenLabel:{paddingTop:18,paddingBottom:19,"&$inputMarginDense":{paddingTop:10,paddingBottom:11}},inputMultiline:{padding:0},inputAdornedStart:{paddingLeft:0},inputAdornedEnd:{paddingRight:0}}}),{name:"MuiFilledInput"})(c)},6085:function(e,t,n){"use strict";var r=n(87462),o=n(45987),i=n(47313),a=n(83061),s=n(48322),l=n(52376),c=n(79685),u=n(62879),d=n(77047),p=i.forwardRef((function(e,t){var n=e.children,l=e.classes,p=e.className,f=e.color,h=void 0===f?"primary":f,b=e.component,A=void 0===b?"div":b,m=e.disabled,g=void 0!==m&&m,v=e.error,y=void 0!==v&&v,M=e.fullWidth,O=void 0!==M&&M,_=e.focused,z=e.hiddenLabel,x=void 0!==z&&z,w=e.margin,C=void 0===w?"none":w,S=e.required,E=void 0!==S&&S,k=e.size,D=e.variant,N=void 0===D?"standard":D,T=(0,o.Z)(e,["children","classes","className","color","component","disabled","error","fullWidth","focused","hiddenLabel","margin","required","size","variant"]),j=i.useState((function(){var e=!1;return n&&i.Children.forEach(n,(function(t){if((0,u.Z)(t,["Input","Select"])){var n=(0,u.Z)(t,["Select"])?t.props.input:t;n&&(0,s.B7)(n.props)&&(e=!0)}})),e})),B=j[0],L=j[1],R=i.useState((function(){var e=!1;return n&&i.Children.forEach(n,(function(t){(0,u.Z)(t,["Input","Select"])&&(0,s.vd)(t.props,!0)&&(e=!0)})),e})),q=R[0],P=R[1],I=i.useState(!1),W=I[0],F=I[1],U=void 0!==_?_:W;g&&U&&F(!1);var Z=i.useCallback((function(){P(!0)}),[]),H={adornedStart:B,setAdornedStart:L,color:h,disabled:g,error:y,filled:q,focused:U,fullWidth:O,hiddenLabel:x,margin:("small"===k?"dense":void 0)||C,onBlur:function(){F(!1)},onEmpty:i.useCallback((function(){P(!1)}),[]),onFilled:Z,onFocus:function(){F(!0)},registerEffect:undefined,required:E,variant:N};return i.createElement(d.Z.Provider,{value:H},i.createElement(A,(0,r.Z)({className:(0,a.Z)(l.root,p,"none"!==C&&l["margin".concat((0,c.Z)(C))],O&&l.fullWidth),ref:t},T),n))}));t.Z=(0,l.Z)({root:{display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},marginNormal:{marginTop:16,marginBottom:8},marginDense:{marginTop:8,marginBottom:4},fullWidth:{width:"100%"}},{name:"MuiFormControl"})(p)},77047:function(e,t,n){"use strict";n.d(t,{Y:function(){return i}});var r=n(47313),o=r.createContext();function i(){return r.useContext(o)}t.Z=o},82198:function(e,t,n){"use strict";function r(e){var t=e.props,n=e.states,r=e.muiFormControl;return n.reduce((function(e,n){return e[n]=t[n],r&&"undefined"===typeof t[n]&&(e[n]=r[n]),e}),{})}n.d(t,{Z:function(){return r}})},74826:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(47313),o=n(77047);function i(){return r.useContext(o.Z)}},56446:function(e,t,n){"use strict";var r=n(87462),o=n(45987),i=n(47313),a=n(83061),s=n(74826),l=n(52376),c=n(57009),u=n(79685),d=i.forwardRef((function(e,t){e.checked;var n=e.classes,l=e.className,d=e.control,p=e.disabled,f=(e.inputRef,e.label),h=e.labelPlacement,b=void 0===h?"end":h,A=(e.name,e.onChange,e.value,(0,o.Z)(e,["checked","classes","className","control","disabled","inputRef","label","labelPlacement","name","onChange","value"])),m=(0,s.Z)(),g=p;"undefined"===typeof g&&"undefined"!==typeof d.props.disabled&&(g=d.props.disabled),"undefined"===typeof g&&m&&(g=m.disabled);var v={disabled:g};return["checked","name","onChange","value","inputRef"].forEach((function(t){"undefined"===typeof d.props[t]&&"undefined"!==typeof e[t]&&(v[t]=e[t])})),i.createElement("label",(0,r.Z)({className:(0,a.Z)(n.root,l,"end"!==b&&n["labelPlacement".concat((0,u.Z)(b))],g&&n.disabled),ref:t},A),i.cloneElement(d,v),i.createElement(c.Z,{component:"span",className:(0,a.Z)(n.label,g&&n.disabled)},f))}));t.Z=(0,l.Z)((function(e){return{root:{display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,"&$disabled":{cursor:"default"}},labelPlacementStart:{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},labelPlacementTop:{flexDirection:"column-reverse",marginLeft:16},labelPlacementBottom:{flexDirection:"column",marginLeft:16},disabled:{},label:{"&$disabled":{color:e.palette.text.disabled}}}}),{name:"MuiFormControlLabel"})(d)},25734:function(e,t,n){"use strict";var r=n(45987),o=n(87462),i=n(47313),a=n(83061),s=n(82198),l=n(74826),c=n(52376),u=i.forwardRef((function(e,t){var n=e.children,c=e.classes,u=e.className,d=e.component,p=void 0===d?"p":d,f=(e.disabled,e.error,e.filled,e.focused,e.margin,e.required,e.variant,(0,r.Z)(e,["children","classes","className","component","disabled","error","filled","focused","margin","required","variant"])),h=(0,l.Z)(),b=(0,s.Z)({props:e,muiFormControl:h,states:["variant","margin","disabled","error","filled","focused","required"]});return i.createElement(p,(0,o.Z)({className:(0,a.Z)(c.root,("filled"===b.variant||"outlined"===b.variant)&&c.contained,u,b.disabled&&c.disabled,b.error&&c.error,b.filled&&c.filled,b.focused&&c.focused,b.required&&c.required,"dense"===b.margin&&c.marginDense),ref:t},f)," "===n?i.createElement("span",{dangerouslySetInnerHTML:{__html:"&#8203;"}}):n)}));t.Z=(0,c.Z)((function(e){return{root:(0,o.Z)({color:e.palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,margin:0,"&$disabled":{color:e.palette.text.disabled},"&$error":{color:e.palette.error.main}}),error:{},disabled:{},marginDense:{marginTop:4},contained:{marginLeft:14,marginRight:14},focused:{},filled:{},required:{}}}),{name:"MuiFormHelperText"})(u)},71807:function(e,t,n){"use strict";var r=n(45987),o=n(87462),i=n(47313),a=n(83061),s=n(82198),l=n(74826),c=n(79685),u=n(52376),d=i.forwardRef((function(e,t){var n=e.children,u=e.classes,d=e.className,p=(e.color,e.component),f=void 0===p?"label":p,h=(e.disabled,e.error,e.filled,e.focused,e.required,(0,r.Z)(e,["children","classes","className","color","component","disabled","error","filled","focused","required"])),b=(0,l.Z)(),A=(0,s.Z)({props:e,muiFormControl:b,states:["color","required","focused","disabled","error","filled"]});return i.createElement(f,(0,o.Z)({className:(0,a.Z)(u.root,u["color".concat((0,c.Z)(A.color||"primary"))],d,A.disabled&&u.disabled,A.error&&u.error,A.filled&&u.filled,A.focused&&u.focused,A.required&&u.required),ref:t},h),n,A.required&&i.createElement("span",{"aria-hidden":!0,className:(0,a.Z)(u.asterisk,A.error&&u.error)},"\u2009","*"))}));t.Z=(0,u.Z)((function(e){return{root:(0,o.Z)({color:e.palette.text.secondary},e.typography.body1,{lineHeight:1,padding:0,"&$focused":{color:e.palette.primary.main},"&$disabled":{color:e.palette.text.disabled},"&$error":{color:e.palette.error.main}}),colorSecondary:{"&$focused":{color:e.palette.secondary.main}},focused:{},disabled:{},error:{},filled:{},required:{},asterisk:{"&$error":{color:e.palette.error.main}}}}),{name:"MuiFormLabel"})(d)},67695:function(e,t,n){"use strict";var r=n(87462),o=n(29439),i=n(45987),a=n(47313),s=n(60596),l=n(31385),c=n(5475),u=n(38088);function d(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}var p={entering:{opacity:1,transform:d(1)},entered:{opacity:1,transform:"none"}},f=a.forwardRef((function(e,t){var n=e.children,f=e.disableStrictModeCompat,h=void 0!==f&&f,b=e.in,A=e.onEnter,m=e.onEntered,g=e.onEntering,v=e.onExit,y=e.onExited,M=e.onExiting,O=e.style,_=e.timeout,z=void 0===_?"auto":_,x=e.TransitionComponent,w=void 0===x?s.ZP:x,C=(0,i.Z)(e,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),S=a.useRef(),E=a.useRef(),k=(0,l.Z)(),D=k.unstable_strictMode&&!h,N=a.useRef(null),T=(0,u.Z)(n.ref,t),j=(0,u.Z)(D?N:void 0,T),B=function(e){return function(t,n){if(e){var r=D?[N.current,t]:[t,n],i=(0,o.Z)(r,2),a=i[0],s=i[1];void 0===s?e(a):e(a,s)}}},L=B(g),R=B((function(e,t){(0,c.n)(e);var n,r=(0,c.C)({style:O,timeout:z},{mode:"enter"}),o=r.duration,i=r.delay;"auto"===z?(n=k.transitions.getAutoHeightDuration(e.clientHeight),E.current=n):n=o,e.style.transition=[k.transitions.create("opacity",{duration:n,delay:i}),k.transitions.create("transform",{duration:.666*n,delay:i})].join(","),A&&A(e,t)})),q=B(m),P=B(M),I=B((function(e){var t,n=(0,c.C)({style:O,timeout:z},{mode:"exit"}),r=n.duration,o=n.delay;"auto"===z?(t=k.transitions.getAutoHeightDuration(e.clientHeight),E.current=t):t=r,e.style.transition=[k.transitions.create("opacity",{duration:t,delay:o}),k.transitions.create("transform",{duration:.666*t,delay:o||.333*t})].join(","),e.style.opacity="0",e.style.transform=d(.75),v&&v(e)})),W=B(y);return a.useEffect((function(){return function(){clearTimeout(S.current)}}),[]),a.createElement(w,(0,r.Z)({appear:!0,in:b,nodeRef:D?N:void 0,onEnter:R,onEntered:q,onEntering:L,onExit:I,onExited:W,onExiting:P,addEndListener:function(e,t){var n=D?e:t;"auto"===z&&(S.current=setTimeout(n,E.current||0))},timeout:"auto"===z?null:z},C),(function(e,t){return a.cloneElement(n,(0,r.Z)({style:(0,r.Z)({opacity:0,transform:d(.75),visibility:"exited"!==e||b?void 0:"hidden"},p[e],O,n.props.style),ref:j},t))}))}));f.muiSupportAuto=!0,t.Z=f},54070:function(e,t,n){"use strict";var r=n(87462),o=n(45987),i=n(47313),a=n(83061),s=n(52376),l=n(13644),c=n(52877),u=n(79685),d=i.forwardRef((function(e,t){var n=e.edge,s=void 0!==n&&n,l=e.children,d=e.classes,p=e.className,f=e.color,h=void 0===f?"default":f,b=e.disabled,A=void 0!==b&&b,m=e.disableFocusRipple,g=void 0!==m&&m,v=e.size,y=void 0===v?"medium":v,M=(0,o.Z)(e,["edge","children","classes","className","color","disabled","disableFocusRipple","size"]);return i.createElement(c.Z,(0,r.Z)({className:(0,a.Z)(d.root,p,"default"!==h&&d["color".concat((0,u.Z)(h))],A&&d.disabled,"small"===y&&d["size".concat((0,u.Z)(y))],{start:d.edgeStart,end:d.edgeEnd}[s]),centerRipple:!0,focusRipple:!g,disabled:A,ref:t},M),i.createElement("span",{className:d.label},l))}));t.Z=(0,s.Z)((function(e){return{root:{textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:12,borderRadius:"50%",overflow:"visible",color:e.palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{backgroundColor:(0,l.Fq)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{backgroundColor:"transparent",color:e.palette.action.disabled}},edgeStart:{marginLeft:-12,"$sizeSmall&":{marginLeft:-3}},edgeEnd:{marginRight:-12,"$sizeSmall&":{marginRight:-3}},colorInherit:{color:"inherit"},colorPrimary:{color:e.palette.primary.main,"&:hover":{backgroundColor:(0,l.Fq)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},colorSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:(0,l.Fq)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},disabled:{},sizeSmall:{padding:3,fontSize:e.typography.pxToRem(18)},label:{width:"100%",display:"flex",alignItems:"inherit",justifyContent:"inherit"}}}),{name:"MuiIconButton"})(d)},92942:function(e,t,n){"use strict";var r=n(87462),o=n(45987),i=n(47313),a=n(83061),s=n(93015),l=n(52376),c=i.forwardRef((function(e,t){var n=e.disableUnderline,l=e.classes,c=e.fullWidth,u=void 0!==c&&c,d=e.inputComponent,p=void 0===d?"input":d,f=e.multiline,h=void 0!==f&&f,b=e.type,A=void 0===b?"text":b,m=(0,o.Z)(e,["disableUnderline","classes","fullWidth","inputComponent","multiline","type"]);return i.createElement(s.Z,(0,r.Z)({classes:(0,r.Z)({},l,{root:(0,a.Z)(l.root,!n&&l.underline),underline:null}),fullWidth:u,inputComponent:p,multiline:h,ref:t,type:A},m))}));c.muiName="Input",t.Z=(0,l.Z)((function(e){var t="light"===e.palette.type?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return{root:{position:"relative"},formControl:{"label + &":{marginTop:16}},focused:{},disabled:{},colorSecondary:{"&$underline:after":{borderBottomColor:e.palette.secondary.main}},underline:{"&:after":{borderBottom:"2px solid ".concat(e.palette.primary.main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},"&$focused:after":{transform:"scaleX(1)"},"&$error:after":{borderBottomColor:e.palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:"1px solid ".concat(t),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},"&:hover:not($disabled):before":{borderBottom:"2px solid ".concat(e.palette.text.primary),"@media (hover: none)":{borderBottom:"1px solid ".concat(t)}},"&$disabled:before":{borderBottomStyle:"dotted"}},error:{},marginDense:{},multiline:{},fullWidth:{},input:{},inputMarginDense:{},inputMultiline:{},inputTypeSearch:{}}}),{name:"MuiInput"})(c)},93015:function(e,t,n){"use strict";n.d(t,{Z:function(){return M}});var r=n(45987),o=n(87462),i=n(803),a=n(47313),s=n(83061),l=n(82198),c=n(77047),u=n(52376),d=n(79685),p=n(38088),f=n(10670);function h(e,t){return parseInt(e[t],10)||0}var b="undefined"!==typeof window?a.useLayoutEffect:a.useEffect,A={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"},m=a.forwardRef((function(e,t){var n=e.onChange,i=e.rows,s=e.rowsMax,l=e.rowsMin,c=e.maxRows,u=e.minRows,d=void 0===u?1:u,m=e.style,g=e.value,v=(0,r.Z)(e,["onChange","rows","rowsMax","rowsMin","maxRows","minRows","style","value"]),y=c||s,M=i||l||d,O=a.useRef(null!=g).current,_=a.useRef(null),z=(0,p.Z)(t,_),x=a.useRef(null),w=a.useRef(0),C=a.useState({}),S=C[0],E=C[1],k=a.useCallback((function(){var t=_.current,n=window.getComputedStyle(t),r=x.current;r.style.width=n.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");var o=n["box-sizing"],i=h(n,"padding-bottom")+h(n,"padding-top"),a=h(n,"border-bottom-width")+h(n,"border-top-width"),s=r.scrollHeight-i;r.value="x";var l=r.scrollHeight-i,c=s;M&&(c=Math.max(Number(M)*l,c)),y&&(c=Math.min(Number(y)*l,c));var u=(c=Math.max(c,l))+("border-box"===o?i+a:0),d=Math.abs(c-s)<=1;E((function(e){return w.current<20&&(u>0&&Math.abs((e.outerHeightStyle||0)-u)>1||e.overflow!==d)?(w.current+=1,{overflow:d,outerHeightStyle:u}):e}))}),[y,M,e.placeholder]);a.useEffect((function(){var e=(0,f.Z)((function(){w.current=0,k()}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}),[k]),b((function(){k()})),a.useEffect((function(){w.current=0}),[g]);return a.createElement(a.Fragment,null,a.createElement("textarea",(0,o.Z)({value:g,onChange:function(e){w.current=0,O||k(),n&&n(e)},ref:z,rows:M,style:(0,o.Z)({height:S.outerHeightStyle,overflow:S.overflow?"hidden":null},m)},v)),a.createElement("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:x,tabIndex:-1,style:(0,o.Z)({},A,m)}))})),g=n(48322),v="undefined"===typeof window?a.useEffect:a.useLayoutEffect,y=a.forwardRef((function(e,t){var n=e["aria-describedby"],u=e.autoComplete,f=e.autoFocus,h=e.classes,b=e.className,A=(e.color,e.defaultValue),y=e.disabled,M=e.endAdornment,O=(e.error,e.fullWidth),_=void 0!==O&&O,z=e.id,x=e.inputComponent,w=void 0===x?"input":x,C=e.inputProps,S=void 0===C?{}:C,E=e.inputRef,k=(e.margin,e.multiline),D=void 0!==k&&k,N=e.name,T=e.onBlur,j=e.onChange,B=e.onClick,L=e.onFocus,R=e.onKeyDown,q=e.onKeyUp,P=e.placeholder,I=e.readOnly,W=e.renderSuffix,F=e.rows,U=e.rowsMax,Z=e.rowsMin,H=e.maxRows,$=e.minRows,V=e.startAdornment,X=e.type,Q=void 0===X?"text":X,Y=e.value,G=(0,r.Z)(e,["aria-describedby","autoComplete","autoFocus","classes","className","color","defaultValue","disabled","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","rowsMax","rowsMin","maxRows","minRows","startAdornment","type","value"]),K=null!=S.value?S.value:Y,J=a.useRef(null!=K).current,ee=a.useRef(),te=a.useCallback((function(e){0}),[]),ne=(0,p.Z)(S.ref,te),re=(0,p.Z)(E,ne),oe=(0,p.Z)(ee,re),ie=a.useState(!1),ae=ie[0],se=ie[1],le=(0,c.Y)();var ce=(0,l.Z)({props:e,muiFormControl:le,states:["color","disabled","error","hiddenLabel","margin","required","filled"]});ce.focused=le?le.focused:ae,a.useEffect((function(){!le&&y&&ae&&(se(!1),T&&T())}),[le,y,ae,T]);var ue=le&&le.onFilled,de=le&&le.onEmpty,pe=a.useCallback((function(e){(0,g.vd)(e)?ue&&ue():de&&de()}),[ue,de]);v((function(){J&&pe({value:K})}),[K,pe,J]);a.useEffect((function(){pe(ee.current)}),[]);var fe=w,he=(0,o.Z)({},S,{ref:oe});"string"!==typeof fe?he=(0,o.Z)({inputRef:oe,type:Q},he,{ref:null}):D?!F||H||$||U||Z?(he=(0,o.Z)({minRows:F||$,rowsMax:U,maxRows:H},he),fe=m):fe="textarea":he=(0,o.Z)({type:Q},he);return a.useEffect((function(){le&&le.setAdornedStart(Boolean(V))}),[le,V]),a.createElement("div",(0,o.Z)({className:(0,s.Z)(h.root,h["color".concat((0,d.Z)(ce.color||"primary"))],b,ce.disabled&&h.disabled,ce.error&&h.error,_&&h.fullWidth,ce.focused&&h.focused,le&&h.formControl,D&&h.multiline,V&&h.adornedStart,M&&h.adornedEnd,"dense"===ce.margin&&h.marginDense),onClick:function(e){ee.current&&e.currentTarget===e.target&&ee.current.focus(),B&&B(e)},ref:t},G),V,a.createElement(c.Z.Provider,{value:null},a.createElement(fe,(0,o.Z)({"aria-invalid":ce.error,"aria-describedby":n,autoComplete:u,autoFocus:f,defaultValue:A,disabled:ce.disabled,id:z,onAnimationStart:function(e){pe("mui-auto-fill-cancel"===e.animationName?ee.current:{value:"x"})},name:N,placeholder:P,readOnly:I,required:ce.required,rows:F,value:K,onKeyDown:R,onKeyUp:q},he,{className:(0,s.Z)(h.input,S.className,ce.disabled&&h.disabled,D&&h.inputMultiline,ce.hiddenLabel&&h.inputHiddenLabel,V&&h.inputAdornedStart,M&&h.inputAdornedEnd,"search"===Q&&h.inputTypeSearch,"dense"===ce.margin&&h.inputMarginDense),onBlur:function(e){T&&T(e),S.onBlur&&S.onBlur(e),le&&le.onBlur?le.onBlur(e):se(!1)},onChange:function(e){if(!J){var t=e.target||ee.current;if(null==t)throw new Error((0,i.Z)(1));pe({value:t.value})}for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];S.onChange&&S.onChange.apply(S,[e].concat(r)),j&&j.apply(void 0,[e].concat(r))},onFocus:function(e){ce.disabled?e.stopPropagation():(L&&L(e),S.onFocus&&S.onFocus(e),le&&le.onFocus?le.onFocus(e):se(!0))}}))),M,W?W((0,o.Z)({},ce,{startAdornment:V})):null)})),M=(0,u.Z)((function(e){var t="light"===e.palette.type,n={color:"currentColor",opacity:t?.42:.5,transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},i={opacity:t?.42:.5};return{"@global":{"@keyframes mui-auto-fill":{},"@keyframes mui-auto-fill-cancel":{}},root:(0,o.Z)({},e.typography.body1,{color:e.palette.text.primary,lineHeight:"1.1876em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center","&$disabled":{color:e.palette.text.disabled,cursor:"default"}}),formControl:{},focused:{},disabled:{},adornedStart:{},adornedEnd:{},error:{},marginDense:{},multiline:{padding:"".concat(6,"px 0 ").concat(7,"px"),"&$marginDense":{paddingTop:3}},colorSecondary:{},fullWidth:{width:"100%"},input:{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"".concat(6,"px 0 ").concat(7,"px"),border:0,boxSizing:"content-box",background:"none",height:"1.1876em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&:-ms-input-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{"-webkit-appearance":"none"},"label[data-shrink=false] + $formControl &":{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus:-ms-input-placeholder":i,"&:focus::-ms-input-placeholder":i},"&$disabled":{opacity:1},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},inputMarginDense:{paddingTop:3},inputMultiline:{height:"auto",resize:"none",padding:0},inputTypeSearch:{"-moz-appearance":"textfield","-webkit-appearance":"textfield"},inputAdornedStart:{},inputAdornedEnd:{},inputHiddenLabel:{}}}),{name:"MuiInputBase"})(y)},48322:function(e,t,n){"use strict";function r(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function o(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(r(e.value)&&""!==e.value||t&&r(e.defaultValue)&&""!==e.defaultValue)}function i(e){return e.startAdornment}n.d(t,{B7:function(){return i},vd:function(){return o}})},2297:function(e,t,n){"use strict";var r=n(87462),o=n(45987),i=n(47313),a=n(83061),s=n(82198),l=n(74826),c=n(52376),u=n(71807),d=i.forwardRef((function(e,t){var n=e.classes,c=e.className,d=e.disableAnimation,p=void 0!==d&&d,f=(e.margin,e.shrink),h=(e.variant,(0,o.Z)(e,["classes","className","disableAnimation","margin","shrink","variant"])),b=(0,l.Z)(),A=f;"undefined"===typeof A&&b&&(A=b.filled||b.focused||b.adornedStart);var m=(0,s.Z)({props:e,muiFormControl:b,states:["margin","variant"]});return i.createElement(u.Z,(0,r.Z)({"data-shrink":A,className:(0,a.Z)(n.root,c,b&&n.formControl,!p&&n.animated,A&&n.shrink,"dense"===m.margin&&n.marginDense,{filled:n.filled,outlined:n.outlined}[m.variant]),classes:{focused:n.focused,disabled:n.disabled,error:n.error,required:n.required,asterisk:n.asterisk},ref:t},h))}));t.Z=(0,c.Z)((function(e){return{root:{display:"block",transformOrigin:"top left"},focused:{},disabled:{},error:{},required:{},asterisk:{},formControl:{position:"absolute",left:0,top:0,transform:"translate(0, 24px) scale(1)"},marginDense:{transform:"translate(0, 21px) scale(1)"},shrink:{transform:"translate(0, 1.5px) scale(0.75)",transformOrigin:"top left"},animated:{transition:e.transitions.create(["color","transform"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},filled:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 20px) scale(1)","&$marginDense":{transform:"translate(12px, 17px) scale(1)"},"&$shrink":{transform:"translate(12px, 10px) scale(0.75)","&$marginDense":{transform:"translate(12px, 7px) scale(0.75)"}}},outlined:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 20px) scale(1)","&$marginDense":{transform:"translate(14px, 12px) scale(1)"},"&$shrink":{transform:"translate(14px, -6px) scale(0.75)"}}}}),{name:"MuiInputLabel"})(d)},58167:function(e,t,n){"use strict";var r=n(87462),o=n(45987),i=n(47313),a=n(83061),s=n(52376),l=n(88340),c=i.forwardRef((function(e,t){var n=e.children,s=e.classes,c=e.className,u=e.component,d=void 0===u?"ul":u,p=e.dense,f=void 0!==p&&p,h=e.disablePadding,b=void 0!==h&&h,A=e.subheader,m=(0,o.Z)(e,["children","classes","className","component","dense","disablePadding","subheader"]),g=i.useMemo((function(){return{dense:f}}),[f]);return i.createElement(l.Z.Provider,{value:g},i.createElement(d,(0,r.Z)({className:(0,a.Z)(s.root,c,f&&s.dense,!b&&s.padding,A&&s.subheader),ref:t},m),A,n))}));t.Z=(0,s.Z)({root:{listStyle:"none",margin:0,padding:0,position:"relative"},padding:{paddingTop:8,paddingBottom:8},dense:{},subheader:{paddingTop:0}},{name:"MuiList"})(c)},88340:function(e,t,n){"use strict";var r=n(47313).createContext({});t.Z=r},68809:function(e,t,n){"use strict";var r=n(87462),o=n(45987),i=n(47313),a=n(83061),s=n(52376),l=n(52877),c=n(62879),u=n(38088),d=n(88340),p=n(1168),f="undefined"===typeof window?i.useEffect:i.useLayoutEffect,h=i.forwardRef((function(e,t){var n=e.alignItems,s=void 0===n?"center":n,h=e.autoFocus,b=void 0!==h&&h,A=e.button,m=void 0!==A&&A,g=e.children,v=e.classes,y=e.className,M=e.component,O=e.ContainerComponent,_=void 0===O?"li":O,z=e.ContainerProps,x=(z=void 0===z?{}:z).className,w=(0,o.Z)(z,["className"]),C=e.dense,S=void 0!==C&&C,E=e.disabled,k=void 0!==E&&E,D=e.disableGutters,N=void 0!==D&&D,T=e.divider,j=void 0!==T&&T,B=e.focusVisibleClassName,L=e.selected,R=void 0!==L&&L,q=(0,o.Z)(e,["alignItems","autoFocus","button","children","classes","className","component","ContainerComponent","ContainerProps","dense","disabled","disableGutters","divider","focusVisibleClassName","selected"]),P=i.useContext(d.Z),I={dense:S||P.dense||!1,alignItems:s},W=i.useRef(null);f((function(){b&&W.current&&W.current.focus()}),[b]);var F=i.Children.toArray(g),U=F.length&&(0,c.Z)(F[F.length-1],["ListItemSecondaryAction"]),Z=i.useCallback((function(e){W.current=p.findDOMNode(e)}),[]),H=(0,u.Z)(Z,t),$=(0,r.Z)({className:(0,a.Z)(v.root,y,I.dense&&v.dense,!N&&v.gutters,j&&v.divider,k&&v.disabled,m&&v.button,"center"!==s&&v.alignItemsFlexStart,U&&v.secondaryAction,R&&v.selected),disabled:k},q),V=M||"li";return m&&($.component=M||"div",$.focusVisibleClassName=(0,a.Z)(v.focusVisible,B),V=l.Z),U?(V=$.component||M?V:"div","li"===_&&("li"===V?V="div":"li"===$.component&&($.component="div")),i.createElement(d.Z.Provider,{value:I},i.createElement(_,(0,r.Z)({className:(0,a.Z)(v.container,x),ref:H},w),i.createElement(V,$,F),F.pop()))):i.createElement(d.Z.Provider,{value:I},i.createElement(V,(0,r.Z)({ref:H},$),F))}));t.Z=(0,s.Z)((function(e){return{root:{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,"&$focusVisible":{backgroundColor:e.palette.action.selected},"&$selected, &$selected:hover":{backgroundColor:e.palette.action.selected},"&$disabled":{opacity:.5}},container:{position:"relative"},focusVisible:{},dense:{paddingTop:4,paddingBottom:4},alignItemsFlexStart:{alignItems:"flex-start"},disabled:{},divider:{borderBottom:"1px solid ".concat(e.palette.divider),backgroundClip:"padding-box"},gutters:{paddingLeft:16,paddingRight:16},button:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:e.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},secondaryAction:{paddingRight:48},selected:{}}}),{name:"MuiListItem"})(h)},76661:function(e,t,n){"use strict";n.d(t,{Z:function(){return S}});var r=n(87462),o=n(45987),i=n(47313),a=(n(96214),n(83061)),s=n(52376),l=n(1168),c=n(10670),u=n(10516),d=n(63958),p=n(30468),f=n(31094),h=n(67695),b=n(82277);function A(e,t){var n=0;return"number"===typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function m(e,t){var n=0;return"number"===typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function g(e){return[e.horizontal,e.vertical].map((function(e){return"number"===typeof e?"".concat(e,"px"):e})).join(" ")}function v(e){return"function"===typeof e?e():e}var y=i.forwardRef((function(e,t){var n=e.action,s=e.anchorEl,y=e.anchorOrigin,M=void 0===y?{vertical:"top",horizontal:"left"}:y,O=e.anchorPosition,_=e.anchorReference,z=void 0===_?"anchorEl":_,x=e.children,w=e.classes,C=e.className,S=e.container,E=e.elevation,k=void 0===E?8:E,D=e.getContentAnchorEl,N=e.marginThreshold,T=void 0===N?16:N,j=e.onEnter,B=e.onEntered,L=e.onEntering,R=e.onExit,q=e.onExited,P=e.onExiting,I=e.open,W=e.PaperProps,F=void 0===W?{}:W,U=e.transformOrigin,Z=void 0===U?{vertical:"top",horizontal:"left"}:U,H=e.TransitionComponent,$=void 0===H?h.Z:H,V=e.transitionDuration,X=void 0===V?"auto":V,Q=e.TransitionProps,Y=void 0===Q?{}:Q,G=(0,o.Z)(e,["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","classes","className","container","elevation","getContentAnchorEl","marginThreshold","onEnter","onEntered","onEntering","onExit","onExited","onExiting","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"]),K=i.useRef(),J=i.useCallback((function(e){if("anchorPosition"===z)return O;var t=v(s),n=(t&&1===t.nodeType?t:(0,u.Z)(K.current).body).getBoundingClientRect(),r=0===e?M.vertical:"center";return{top:n.top+A(n,r),left:n.left+m(n,M.horizontal)}}),[s,M.horizontal,M.vertical,O,z]),ee=i.useCallback((function(e){var t=0;if(D&&"anchorEl"===z){var n=D(e);if(n&&e.contains(n)){var r=function(e,t){for(var n=t,r=0;n&&n!==e;)r+=(n=n.parentElement).scrollTop;return r}(e,n);t=n.offsetTop+n.clientHeight/2-r||0}0}return t}),[M.vertical,z,D]),te=i.useCallback((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{vertical:A(e,Z.vertical)+t,horizontal:m(e,Z.horizontal)}}),[Z.horizontal,Z.vertical]),ne=i.useCallback((function(e){var t=ee(e),n={width:e.offsetWidth,height:e.offsetHeight},r=te(n,t);if("none"===z)return{top:null,left:null,transformOrigin:g(r)};var o=J(t),i=o.top-r.vertical,a=o.left-r.horizontal,l=i+n.height,c=a+n.width,u=(0,d.Z)(v(s)),p=u.innerHeight-T,f=u.innerWidth-T;if(i<T){var h=i-T;i-=h,r.vertical+=h}else if(l>p){var b=l-p;i-=b,r.vertical+=b}if(a<T){var A=a-T;a-=A,r.horizontal+=A}else if(c>f){var m=c-f;a-=m,r.horizontal+=m}return{top:"".concat(Math.round(i),"px"),left:"".concat(Math.round(a),"px"),transformOrigin:g(r)}}),[s,z,J,ee,te,T]),re=i.useCallback((function(){var e=K.current;if(e){var t=ne(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin}}),[ne]),oe=i.useCallback((function(e){K.current=l.findDOMNode(e)}),[]);i.useEffect((function(){I&&re()})),i.useImperativeHandle(n,(function(){return I?{updatePosition:function(){re()}}:null}),[I,re]),i.useEffect((function(){if(I){var e=(0,c.Z)((function(){re()}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}}),[I,re]);var ie=X;"auto"!==X||$.muiSupportAuto||(ie=void 0);var ae=S||(s?(0,u.Z)(v(s)).body:void 0);return i.createElement(f.Z,(0,r.Z)({container:ae,open:I,ref:t,BackdropProps:{invisible:!0},className:(0,a.Z)(w.root,C)},G),i.createElement($,(0,r.Z)({appear:!0,in:I,onEnter:j,onEntered:B,onExit:R,onExited:q,onExiting:P,timeout:ie},Y,{onEntering:(0,p.Z)((function(e,t){L&&L(e,t),re()}),Y.onEntering)}),i.createElement(b.Z,(0,r.Z)({elevation:k,ref:oe},F,{className:(0,a.Z)(w.paper,F.className)}),x)))})),M=(0,s.Z)({root:{},paper:{position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}},{name:"MuiPopover"})(y),O=n(70476),_=n(81225),z=n(31385),x={vertical:"top",horizontal:"right"},w={vertical:"top",horizontal:"left"},C=i.forwardRef((function(e,t){var n=e.autoFocus,s=void 0===n||n,c=e.children,u=e.classes,d=e.disableAutoFocusItem,p=void 0!==d&&d,f=e.MenuListProps,h=void 0===f?{}:f,b=e.onClose,A=e.onEntering,m=e.open,g=e.PaperProps,v=void 0===g?{}:g,y=e.PopoverClasses,C=e.transitionDuration,S=void 0===C?"auto":C,E=e.TransitionProps,k=(E=void 0===E?{}:E).onEntering,D=(0,o.Z)(E,["onEntering"]),N=e.variant,T=void 0===N?"selectedMenu":N,j=(0,o.Z)(e,["autoFocus","children","classes","disableAutoFocusItem","MenuListProps","onClose","onEntering","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"]),B=(0,z.Z)(),L=s&&!p&&m,R=i.useRef(null),q=i.useRef(null),P=-1;i.Children.map(c,(function(e,t){i.isValidElement(e)&&(e.props.disabled||("menu"!==T&&e.props.selected||-1===P)&&(P=t))}));var I=i.Children.map(c,(function(e,t){return t===P?i.cloneElement(e,{ref:function(t){q.current=l.findDOMNode(t),(0,_.Z)(e.ref,t)}}):e}));return i.createElement(M,(0,r.Z)({getContentAnchorEl:function(){return q.current},classes:y,onClose:b,TransitionProps:(0,r.Z)({onEntering:function(e,t){R.current&&R.current.adjustStyleForScrollbar(e,B),A&&A(e,t),k&&k(e,t)}},D),anchorOrigin:"rtl"===B.direction?x:w,transformOrigin:"rtl"===B.direction?x:w,PaperProps:(0,r.Z)({},v,{classes:(0,r.Z)({},v.classes,{root:u.paper})}),open:m,ref:t,transitionDuration:S},j),i.createElement(O.Z,(0,r.Z)({onKeyDown:function(e){"Tab"===e.key&&(e.preventDefault(),b&&b(e,"tabKeyDown"))},actions:R,autoFocus:s&&(-1===P||p),autoFocusItem:L,variant:T},h,{className:(0,a.Z)(u.list,h.className)}),I))})),S=(0,s.Z)({paper:{maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"},list:{outline:0}},{name:"MuiMenu"})(C)},14636:function(e,t,n){"use strict";var r=n(45987),o=n(4942),i=n(87462),a=n(47313),s=n(83061),l=n(52376),c=n(68809),u=a.forwardRef((function(e,t){var n,o=e.classes,l=e.className,u=e.component,d=void 0===u?"li":u,p=e.disableGutters,f=void 0!==p&&p,h=e.ListItemClasses,b=e.role,A=void 0===b?"menuitem":b,m=e.selected,g=e.tabIndex,v=(0,r.Z)(e,["classes","className","component","disableGutters","ListItemClasses","role","selected","tabIndex"]);return e.disabled||(n=void 0!==g?g:-1),a.createElement(c.Z,(0,i.Z)({button:!0,role:A,tabIndex:n,component:d,selected:m,disableGutters:f,classes:(0,i.Z)({dense:o.dense},h),className:(0,s.Z)(o.root,l,m&&o.selected,!f&&o.gutters),ref:t},v))}));t.Z=(0,l.Z)((function(e){return{root:(0,i.Z)({},e.typography.body1,(0,o.Z)({minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",width:"auto",overflow:"hidden",whiteSpace:"nowrap"},e.breakpoints.up("sm"),{minHeight:"auto"})),gutters:{},selected:{},dense:(0,i.Z)({},e.typography.body2,{minHeight:"auto"})}}),{name:"MuiMenuItem"})(u)},70476:function(e,t,n){"use strict";var r=n(87462),o=n(45987),i=n(47313),a=(n(96214),n(1168)),s=n(10516),l=n(58167),c=n(26958),u=n(38088);function d(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function p(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function f(e,t){if(void 0===t)return!0;var n=e.innerText;return void 0===n&&(n=e.textContent),0!==(n=n.trim().toLowerCase()).length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function h(e,t,n,r,o,i){for(var a=!1,s=o(e,t,!!t&&n);s;){if(s===e.firstChild){if(a)return;a=!0}var l=!r&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&f(s,i)&&!l)return void s.focus();s=o(e,s,n)}}var b="undefined"===typeof window?i.useEffect:i.useLayoutEffect,A=i.forwardRef((function(e,t){var n=e.actions,A=e.autoFocus,m=void 0!==A&&A,g=e.autoFocusItem,v=void 0!==g&&g,y=e.children,M=e.className,O=e.disabledItemsFocusable,_=void 0!==O&&O,z=e.disableListWrap,x=void 0!==z&&z,w=e.onKeyDown,C=e.variant,S=void 0===C?"selectedMenu":C,E=(0,o.Z)(e,["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"]),k=i.useRef(null),D=i.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});b((function(){m&&k.current.focus()}),[m]),i.useImperativeHandle(n,(function(){return{adjustStyleForScrollbar:function(e,t){var n=!k.current.style.width;if(e.clientHeight<k.current.clientHeight&&n){var r="".concat((0,c.Z)(!0),"px");k.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=r,k.current.style.width="calc(100% + ".concat(r,")")}return k.current}}}),[]);var N=i.useCallback((function(e){k.current=a.findDOMNode(e)}),[]),T=(0,u.Z)(N,t),j=-1;i.Children.forEach(y,(function(e,t){i.isValidElement(e)&&(e.props.disabled||("selectedMenu"===S&&e.props.selected||-1===j)&&(j=t))}));var B=i.Children.map(y,(function(e,t){if(t===j){var n={};return v&&(n.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===S&&(n.tabIndex=0),i.cloneElement(e,n)}return e}));return i.createElement(l.Z,(0,r.Z)({role:"menu",ref:T,className:M,onKeyDown:function(e){var t=k.current,n=e.key,r=(0,s.Z)(t).activeElement;if("ArrowDown"===n)e.preventDefault(),h(t,r,x,_,d);else if("ArrowUp"===n)e.preventDefault(),h(t,r,x,_,p);else if("Home"===n)e.preventDefault(),h(t,null,x,_,d);else if("End"===n)e.preventDefault(),h(t,null,x,_,p);else if(1===n.length){var o=D.current,i=n.toLowerCase(),a=performance.now();o.keys.length>0&&(a-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=a,o.keys.push(i);var l=r&&!o.repeating&&f(r,o);o.previousKeyMatched&&(l||h(t,r,!1,_,d,o))?e.preventDefault():o.previousKeyMatched=!1}w&&w(e)},tabIndex:m?0:-1},E),B)}));t.Z=A},31094:function(e,t,n){"use strict";n.d(t,{Z:function(){return k}});var r=n(45987),o=n(87462),i=n(47313),a=n(1168),s=n(37420),l=n(83621),c=n(10516),u=n(432),d=n(30468),p=n(38088),f=n(72705),h=n(74398),b=n(15671),A=n(43144),m=n(93433),g=n(26958),v=n(63958);function y(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function M(e){return parseInt(window.getComputedStyle(e)["padding-right"],10)||0}function O(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=arguments.length>4?arguments[4]:void 0,i=[t,n].concat((0,m.Z)(r)),a=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(e.children,(function(e){1===e.nodeType&&-1===i.indexOf(e)&&-1===a.indexOf(e.tagName)&&y(e,o)}))}function _(e,t){var n=-1;return e.some((function(e,r){return!!t(e)&&(n=r,!0)})),n}function z(e,t){var n,r=[],o=[],i=e.container;if(!t.disableScrollLock){if(function(e){var t=(0,c.Z)(e);return t.body===e?(0,v.Z)(t).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(i)){var a=(0,g.Z)();r.push({value:i.style.paddingRight,key:"padding-right",el:i}),i.style["padding-right"]="".concat(M(i)+a,"px"),n=(0,c.Z)(i).querySelectorAll(".mui-fixed"),[].forEach.call(n,(function(e){o.push(e.style.paddingRight),e.style.paddingRight="".concat(M(e)+a,"px")}))}var s=i.parentElement,l="HTML"===s.nodeName&&"scroll"===window.getComputedStyle(s)["overflow-y"]?s:i;r.push({value:l.style.overflow,key:"overflow",el:l}),l.style.overflow="hidden"}return function(){n&&[].forEach.call(n,(function(e,t){o[t]?e.style.paddingRight=o[t]:e.style.removeProperty("padding-right")})),r.forEach((function(e){var t=e.value,n=e.el,r=e.key;t?n.style.setProperty(r,t):n.style.removeProperty(r)}))}}var x=function(){function e(){(0,b.Z)(this,e),this.modals=[],this.containers=[]}return(0,A.Z)(e,[{key:"add",value:function(e,t){var n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&y(e.modalRef,!1);var r=function(e){var t=[];return[].forEach.call(e.children,(function(e){e.getAttribute&&"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);O(t,e.mountNode,e.modalRef,r,!0);var o=_(this.containers,(function(e){return e.container===t}));return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblingNodes:r}),n)}},{key:"mount",value:function(e,t){var n=_(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];r.restore||(r.restore=z(r,t))}},{key:"remove",value:function(e){var t=this.modals.indexOf(e);if(-1===t)return t;var n=_(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];if(r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(t,1),0===r.modals.length)r.restore&&r.restore(),e.modalRef&&y(e.modalRef,!0),O(r.container,e.mountNode,e.modalRef,r.hiddenSiblingNodes,!1),this.containers.splice(n,1);else{var o=r.modals[r.modals.length-1];o.modalRef&&y(o.modalRef,!1)}return t}},{key:"isTopModal",value:function(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}]),e}(),w=n(35814),C={root:{zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}},S=i.forwardRef((function(e,t){var n=e.invisible,a=void 0!==n&&n,s=e.open,l=(0,r.Z)(e,["invisible","open"]);return s?i.createElement("div",(0,o.Z)({"aria-hidden":!0,ref:t},l,{style:(0,o.Z)({},C.root,a?C.invisible:{},l.style)})):null}));var E=new x,k=i.forwardRef((function(e,t){var n=(0,s.Z)(),b=(0,l.Z)({name:"MuiModal",props:(0,o.Z)({},e),theme:n}),A=b.BackdropComponent,m=void 0===A?S:A,g=b.BackdropProps,v=b.children,M=b.closeAfterTransition,O=void 0!==M&&M,_=b.container,z=b.disableAutoFocus,x=void 0!==z&&z,C=b.disableBackdropClick,k=void 0!==C&&C,D=b.disableEnforceFocus,N=void 0!==D&&D,T=b.disableEscapeKeyDown,j=void 0!==T&&T,B=b.disablePortal,L=void 0!==B&&B,R=b.disableRestoreFocus,q=void 0!==R&&R,P=b.disableScrollLock,I=void 0!==P&&P,W=b.hideBackdrop,F=void 0!==W&&W,U=b.keepMounted,Z=void 0!==U&&U,H=b.manager,$=void 0===H?E:H,V=b.onBackdropClick,X=b.onClose,Q=b.onEscapeKeyDown,Y=b.onRendered,G=b.open,K=(0,r.Z)(b,["BackdropComponent","BackdropProps","children","closeAfterTransition","container","disableAutoFocus","disableBackdropClick","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onEscapeKeyDown","onRendered","open"]),J=i.useState(!0),ee=J[0],te=J[1],ne=i.useRef({}),re=i.useRef(null),oe=i.useRef(null),ie=(0,p.Z)(oe,t),ae=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(b),se=function(){return(0,c.Z)(re.current)},le=function(){return ne.current.modalRef=oe.current,ne.current.mountNode=re.current,ne.current},ce=function(){$.mount(le(),{disableScrollLock:I}),oe.current.scrollTop=0},ue=(0,f.Z)((function(){var e=function(e){return e="function"===typeof e?e():e,a.findDOMNode(e)}(_)||se().body;$.add(le(),e),oe.current&&ce()})),de=i.useCallback((function(){return $.isTopModal(le())}),[$]),pe=(0,f.Z)((function(e){re.current=e,e&&(Y&&Y(),G&&de()?ce():y(oe.current,!0))})),fe=i.useCallback((function(){$.remove(le())}),[$]);if(i.useEffect((function(){return function(){fe()}}),[fe]),i.useEffect((function(){G?ue():ae&&O||fe()}),[G,fe,ae,O,ue]),!Z&&!G&&(!ae||ee))return null;var he=function(e){return{root:{position:"fixed",zIndex:e.zIndex.modal,right:0,bottom:0,top:0,left:0},hidden:{visibility:"hidden"}}}(n||{zIndex:h.Z}),be={};return void 0===v.props.tabIndex&&(be.tabIndex=v.props.tabIndex||"-1"),ae&&(be.onEnter=(0,d.Z)((function(){te(!1)}),v.props.onEnter),be.onExited=(0,d.Z)((function(){te(!0),O&&fe()}),v.props.onExited)),i.createElement(u.Z,{ref:pe,container:_,disablePortal:L},i.createElement("div",(0,o.Z)({ref:ie,onKeyDown:function(e){"Escape"===e.key&&de()&&(Q&&Q(e),j||(e.stopPropagation(),X&&X(e,"escapeKeyDown")))},role:"presentation"},K,{style:(0,o.Z)({},he.root,!G&&ee?he.hidden:{},K.style)}),F?null:i.createElement(m,(0,o.Z)({open:G,onClick:function(e){e.target===e.currentTarget&&(V&&V(e),!k&&X&&X(e,"backdropClick"))}},g)),i.createElement(w.Z,{disableEnforceFocus:N,disableAutoFocus:x,disableRestoreFocus:q,getDoc:se,isEnabled:de,open:G},i.cloneElement(v,be))))}))},16183:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(87462),o=n(45987),i=n(47313),a=n(83061),s=n(93015),l=n(4942),c=n(52376),u=n(31385),d=n(79685),p=i.forwardRef((function(e,t){e.children;var n=e.classes,s=e.className,c=e.label,p=e.labelWidth,f=e.notched,h=e.style,b=(0,o.Z)(e,["children","classes","className","label","labelWidth","notched","style"]),A="rtl"===(0,u.Z)().direction?"right":"left";if(void 0!==c)return i.createElement("fieldset",(0,r.Z)({"aria-hidden":!0,className:(0,a.Z)(n.root,s),ref:t,style:h},b),i.createElement("legend",{className:(0,a.Z)(n.legendLabelled,f&&n.legendNotched)},c?i.createElement("span",null,c):i.createElement("span",{dangerouslySetInnerHTML:{__html:"&#8203;"}})));var m=p>0?.75*p+8:.01;return i.createElement("fieldset",(0,r.Z)({"aria-hidden":!0,style:(0,r.Z)((0,l.Z)({},"padding".concat((0,d.Z)(A)),8),h),className:(0,a.Z)(n.root,s),ref:t},b),i.createElement("legend",{className:n.legend,style:{width:f?m:.01}},i.createElement("span",{dangerouslySetInnerHTML:{__html:"&#8203;"}})))})),f=(0,c.Z)((function(e){return{root:{position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden"},legend:{textAlign:"left",padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})},legendLabelled:{display:"block",width:"auto",textAlign:"left",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),"& > span":{paddingLeft:5,paddingRight:5,display:"inline-block"}},legendNotched:{maxWidth:1e3,transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}}),{name:"PrivateNotchedOutline"})(p),h=i.forwardRef((function(e,t){var n=e.classes,l=e.fullWidth,c=void 0!==l&&l,u=e.inputComponent,d=void 0===u?"input":u,p=e.label,h=e.labelWidth,b=void 0===h?0:h,A=e.multiline,m=void 0!==A&&A,g=e.notched,v=e.type,y=void 0===v?"text":v,M=(0,o.Z)(e,["classes","fullWidth","inputComponent","label","labelWidth","multiline","notched","type"]);return i.createElement(s.Z,(0,r.Z)({renderSuffix:function(e){return i.createElement(f,{className:n.notchedOutline,label:p,labelWidth:b,notched:"undefined"!==typeof g?g:Boolean(e.startAdornment||e.filled||e.focused)})},classes:(0,r.Z)({},n,{root:(0,a.Z)(n.root,n.underline),notchedOutline:null}),fullWidth:c,inputComponent:d,multiline:m,ref:t,type:y},M))}));h.muiName="Input";var b=(0,c.Z)((function(e){var t="light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{root:{position:"relative",borderRadius:e.shape.borderRadius,"&:hover $notchedOutline":{borderColor:e.palette.text.primary},"@media (hover: none)":{"&:hover $notchedOutline":{borderColor:t}},"&$focused $notchedOutline":{borderColor:e.palette.primary.main,borderWidth:2},"&$error $notchedOutline":{borderColor:e.palette.error.main},"&$disabled $notchedOutline":{borderColor:e.palette.action.disabled}},colorSecondary:{"&$focused $notchedOutline":{borderColor:e.palette.secondary.main}},focused:{},disabled:{},adornedStart:{paddingLeft:14},adornedEnd:{paddingRight:14},error:{},marginDense:{},multiline:{padding:"18.5px 14px","&$marginDense":{paddingTop:10.5,paddingBottom:10.5}},notchedOutline:{borderColor:t},input:{padding:"18.5px 14px","&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.type?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.type?null:"#fff",caretColor:"light"===e.palette.type?null:"#fff",borderRadius:"inherit"}},inputMarginDense:{paddingTop:10.5,paddingBottom:10.5},inputMultiline:{padding:0},inputAdornedStart:{paddingLeft:0},inputAdornedEnd:{paddingRight:0}}}),{name:"MuiOutlinedInput"})(h)},82277:function(e,t,n){"use strict";var r=n(45987),o=n(87462),i=n(47313),a=n(83061),s=n(52376),l=i.forwardRef((function(e,t){var n=e.classes,s=e.className,l=e.component,c=void 0===l?"div":l,u=e.square,d=void 0!==u&&u,p=e.elevation,f=void 0===p?1:p,h=e.variant,b=void 0===h?"elevation":h,A=(0,r.Z)(e,["classes","className","component","square","elevation","variant"]);return i.createElement(c,(0,o.Z)({className:(0,a.Z)(n.root,s,"outlined"===b?n.outlined:n["elevation".concat(f)],!d&&n.rounded),ref:t},A))}));t.Z=(0,s.Z)((function(e){var t={};return e.shadows.forEach((function(e,n){t["elevation".concat(n)]={boxShadow:e}})),(0,o.Z)({root:{backgroundColor:e.palette.background.paper,color:e.palette.text.primary,transition:e.transitions.create("box-shadow")},rounded:{borderRadius:e.shape.borderRadius},outlined:{border:"1px solid ".concat(e.palette.divider)}},t)}),{name:"MuiPaper"})(l)},85616:function(e,t,n){"use strict";n.d(t,{Z:function(){return ve}});var r=n(87462),o=n(45987),i=n(47313),a="undefined"!==typeof window&&"undefined"!==typeof document&&"undefined"!==typeof navigator,s=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(a&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();var l=a&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),s))}};function c(e){return e&&"[object Function]"==={}.toString.call(e)}function u(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function d(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function p(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=u(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?e:p(d(e))}function f(e){return e&&e.referenceNode?e.referenceNode:e}var h=a&&!(!window.MSInputMethodContext||!document.documentMode),b=a&&/MSIE 10/.test(navigator.userAgent);function A(e){return 11===e?h:10===e?b:h||b}function m(e){if(!e)return document.documentElement;for(var t=A(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===u(n,"position")?m(n):n:e?e.ownerDocument.documentElement:document.documentElement}function g(e){return null!==e.parentNode?g(e.parentNode):e}function v(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,o=n?t:e,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var a=i.commonAncestorContainer;if(e!==a&&t!==a||r.contains(o))return function(e){var t=e.nodeName;return"BODY"!==t&&("HTML"===t||m(e.firstElementChild)===e)}(a)?a:m(a);var s=g(e);return s.host?v(s.host,t):v(e,g(t).host)}function y(e){var t="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){var r=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||r)[t]}return e[t]}function M(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+r+"Width"])}function O(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],A(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function _(e){var t=e.body,n=e.documentElement,r=A(10)&&getComputedStyle(n);return{height:O("Height",t,n,r),width:O("Width",t,n,r)}}var z=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),x=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function C(e){return w({},e,{right:e.left+e.width,bottom:e.top+e.height})}function S(e){var t={};try{if(A(10)){t=e.getBoundingClientRect();var n=y(e,"top"),r=y(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch(p){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?_(e.ownerDocument):{},a=i.width||e.clientWidth||o.width,s=i.height||e.clientHeight||o.height,l=e.offsetWidth-a,c=e.offsetHeight-s;if(l||c){var d=u(e);l-=M(d,"x"),c-=M(d,"y"),o.width-=l,o.height-=c}return C(o)}function E(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=A(10),o="HTML"===t.nodeName,i=S(e),a=S(t),s=p(e),l=u(t),c=parseFloat(l.borderTopWidth),d=parseFloat(l.borderLeftWidth);n&&o&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var f=C({top:i.top-a.top-c,left:i.left-a.left-d,width:i.width,height:i.height});if(f.marginTop=0,f.marginLeft=0,!r&&o){var h=parseFloat(l.marginTop),b=parseFloat(l.marginLeft);f.top-=c-h,f.bottom-=c-h,f.left-=d-b,f.right-=d-b,f.marginTop=h,f.marginLeft=b}return(r&&!n?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(f=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=y(t,"top"),o=y(t,"left"),i=n?-1:1;return e.top+=r*i,e.bottom+=r*i,e.left+=o*i,e.right+=o*i,e}(f,t)),f}function k(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===u(e,"position"))return!0;var n=d(e);return!!n&&k(n)}function D(e){if(!e||!e.parentElement||A())return document.documentElement;for(var t=e.parentElement;t&&"none"===u(t,"transform");)t=t.parentElement;return t||document.documentElement}function N(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=o?D(e):v(e,f(t));if("viewport"===r)i=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=E(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:y(n),s=t?0:y(n,"left");return C({top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:o,height:i})}(a,o);else{var s=void 0;"scrollParent"===r?"BODY"===(s=p(d(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===r?e.ownerDocument.documentElement:r;var l=E(s,a,o);if("HTML"!==s.nodeName||k(a))i=l;else{var c=_(e.ownerDocument),u=c.height,h=c.width;i.top+=l.top-l.marginTop,i.bottom=u+l.top,i.left+=l.left-l.marginLeft,i.right=h+l.left}}var b="number"===typeof(n=n||0);return i.left+=b?n:n.left||0,i.top+=b?n:n.top||0,i.right-=b?n:n.right||0,i.bottom-=b?n:n.bottom||0,i}function T(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=N(n,r,i,o),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(s).map((function(e){return w({key:e},s[e],{area:(t=s[e],t.width*t.height)});var t})).sort((function(e,t){return t.area-e.area})),c=l.filter((function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight})),u=c.length>0?c[0].key:l[0].key,d=e.split("-")[1];return u+(d?"-"+d:"")}function j(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return E(n,r?D(t):v(t,f(n)),r)}function B(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function L(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function R(e,t,n){n=n.split("-")[0];var r=B(e),o={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",s=i?"left":"top",l=i?"height":"width",c=i?"width":"height";return o[a]=t[a]+t[l]/2-r[l]/2,o[s]=n===s?t[s]-r[c]:t[L(s)],o}function q(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function P(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var r=q(e,(function(e){return e[t]===n}));return e.indexOf(r)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&c(n)&&(t.offsets.popper=C(t.offsets.popper),t.offsets.reference=C(t.offsets.reference),t=n(t,e))})),t}function I(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=j(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=T(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=R(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=P(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function W(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function F(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var o=t[r],i=o?""+o+n:e;if("undefined"!==typeof document.body.style[i])return i}return null}function U(){return this.state.isDestroyed=!0,W(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[F("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function Z(e){var t=e.ownerDocument;return t?t.defaultView:window}function H(e,t,n,r){var o="BODY"===e.nodeName,i=o?e.ownerDocument.defaultView:e;i.addEventListener(t,n,{passive:!0}),o||H(p(i.parentNode),t,n,r),r.push(i)}function $(e,t,n,r){n.updateBound=r,Z(e).addEventListener("resize",n.updateBound,{passive:!0});var o=p(e);return H(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function V(){this.state.eventsEnabled||(this.state=$(this.reference,this.options,this.state,this.scheduleUpdate))}function X(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,Z(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function Q(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function Y(e,t){Object.keys(t).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&Q(t[n])&&(r="px"),e.style[n]=t[n]+r}))}var G=a&&/Firefox/i.test(navigator.userAgent);function K(e,t,n){var r=q(e,(function(e){return e.name===t})),o=!!r&&e.some((function(e){return e.name===n&&e.enabled&&e.order<r.order}));if(!o){var i="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}var J=["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"],ee=J.slice(3);function te(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=ee.indexOf(e),r=ee.slice(n+1).concat(ee.slice(0,n));return t?r.reverse():r}var ne="flip",re="clockwise",oe="counterclockwise";function ie(e,t,n,r){var o=[0,0],i=-1!==["right","left"].indexOf(r),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=a.indexOf(q(a,(function(e){return-1!==e.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return c=c.map((function(e,r){var o=(1===r?!i:i)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,r){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],a=o[2];if(!i)return e;if(0===a.indexOf("%")){return C("%p"===a?n:r)[t]/100*i}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*i;return i}(e,o,t,n)}))})),c.forEach((function(e,t){e.forEach((function(n,r){Q(n)&&(o[t]+=n*("-"===e[r-1]?-1:1))}))})),o}var ae={shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var o=e.offsets,i=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",c=s?"width":"height",u={start:x({},l,i[l]),end:x({},l,i[l]+i[c]-a[c])};e.offsets.popper=w({},a,u[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,r=e.placement,o=e.offsets,i=o.popper,a=o.reference,s=r.split("-")[0],l=void 0;return l=Q(+n)?[+n,0]:ie(n,i,a,s),"left"===s?(i.top+=l[0],i.left-=l[1]):"right"===s?(i.top+=l[0],i.left+=l[1]):"top"===s?(i.left+=l[0],i.top-=l[1]):"bottom"===s&&(i.left+=l[0],i.top+=l[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||m(e.instance.popper);e.instance.reference===n&&(n=m(n));var r=F("transform"),o=e.instance.popper.style,i=o.top,a=o.left,s=o[r];o.top="",o.left="",o[r]="";var l=N(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=i,o.left=a,o[r]=s,t.boundaries=l;var c=t.priority,u=e.offsets.popper,d={primary:function(e){var n=u[e];return u[e]<l[e]&&!t.escapeWithReference&&(n=Math.max(u[e],l[e])),x({},e,n)},secondary:function(e){var n="right"===e?"left":"top",r=u[n];return u[e]>l[e]&&!t.escapeWithReference&&(r=Math.min(u[n],l[e]-("right"===e?u.width:u.height))),x({},n,r)}};return c.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=w({},u,d[t](e))})),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,o=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",l=a?"left":"top",c=a?"width":"height";return n[s]<i(r[l])&&(e.offsets.popper[l]=i(r[l])-n[c]),n[l]>i(r[s])&&(e.offsets.popper[l]=i(r[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!K(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"===typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],i=e.offsets,a=i.popper,s=i.reference,l=-1!==["left","right"].indexOf(o),c=l?"height":"width",d=l?"Top":"Left",p=d.toLowerCase(),f=l?"left":"top",h=l?"bottom":"right",b=B(r)[c];s[h]-b<a[p]&&(e.offsets.popper[p]-=a[p]-(s[h]-b)),s[p]+b>a[h]&&(e.offsets.popper[p]+=s[p]+b-a[h]),e.offsets.popper=C(e.offsets.popper);var A=s[p]+s[c]/2-b/2,m=u(e.instance.popper),g=parseFloat(m["margin"+d]),v=parseFloat(m["border"+d+"Width"]),y=A-e.offsets.popper[p]-g-v;return y=Math.max(Math.min(a[c]-b,y),0),e.arrowElement=r,e.offsets.arrow=(x(n={},p,Math.round(y)),x(n,f,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(W(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=N(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],o=L(r),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case ne:a=[r,o];break;case re:a=te(r);break;case oe:a=te(r,!0);break;default:a=t.behavior}return a.forEach((function(s,l){if(r!==s||a.length===l+1)return e;r=e.placement.split("-")[0],o=L(r);var c=e.offsets.popper,u=e.offsets.reference,d=Math.floor,p="left"===r&&d(c.right)>d(u.left)||"right"===r&&d(c.left)<d(u.right)||"top"===r&&d(c.bottom)>d(u.top)||"bottom"===r&&d(c.top)<d(u.bottom),f=d(c.left)<d(n.left),h=d(c.right)>d(n.right),b=d(c.top)<d(n.top),A=d(c.bottom)>d(n.bottom),m="left"===r&&f||"right"===r&&h||"top"===r&&b||"bottom"===r&&A,g=-1!==["top","bottom"].indexOf(r),v=!!t.flipVariations&&(g&&"start"===i&&f||g&&"end"===i&&h||!g&&"start"===i&&b||!g&&"end"===i&&A),y=!!t.flipVariationsByContent&&(g&&"start"===i&&h||g&&"end"===i&&f||!g&&"start"===i&&A||!g&&"end"===i&&b),M=v||y;(p||m||M)&&(e.flipped=!0,(p||m)&&(r=a[l+1]),M&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=r+(i?"-"+i:""),e.offsets.popper=w({},e.offsets.popper,R(e.instance.popper,e.offsets.reference,e.placement)),e=P(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,o=r.popper,i=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=i[n]-(s?o[a?"width":"height"]:0),e.placement=L(t),e.offsets.popper=C(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!K(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=q(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,r=t.y,o=e.offsets.popper,i=q(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==i?i:t.gpuAcceleration,s=m(e.instance.popper),l=S(s),c={position:o.position},u=function(e,t){var n=e.offsets,r=n.popper,o=n.reference,i=Math.round,a=Math.floor,s=function(e){return e},l=i(o.width),c=i(r.width),u=-1!==["left","right"].indexOf(e.placement),d=-1!==e.placement.indexOf("-"),p=t?u||d||l%2===c%2?i:a:s,f=t?i:s;return{left:p(l%2===1&&c%2===1&&!d&&t?r.left-1:r.left),top:f(r.top),bottom:f(r.bottom),right:p(r.right)}}(e,window.devicePixelRatio<2||!G),d="bottom"===n?"top":"bottom",p="right"===r?"left":"right",f=F("transform"),h=void 0,b=void 0;if(b="bottom"===d?"HTML"===s.nodeName?-s.clientHeight+u.bottom:-l.height+u.bottom:u.top,h="right"===p?"HTML"===s.nodeName?-s.clientWidth+u.right:-l.width+u.right:u.left,a&&f)c[f]="translate3d("+h+"px, "+b+"px, 0)",c[d]=0,c[p]=0,c.willChange="transform";else{var A="bottom"===d?-1:1,g="right"===p?-1:1;c[d]=b*A,c[p]=h*g,c.willChange=d+", "+p}var v={"x-placement":e.placement};return e.attributes=w({},v,e.attributes),e.styles=w({},c,e.styles),e.arrowStyles=w({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return Y(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach((function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&Y(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,r,o){var i=j(o,t,e,n.positionFixed),a=T(n.placement,i,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),Y(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}},se={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:ae},le=function(){function e(t,n){var r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=l(this.update.bind(this)),this.options=w({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(w({},e.Defaults.modifiers,o.modifiers)).forEach((function(t){r.options.modifiers[t]=w({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return w({name:e},r.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&c(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)})),this.update();var i=this.options.eventsEnabled;i&&this.enableEventListeners(),this.state.eventsEnabled=i}return z(e,[{key:"update",value:function(){return I.call(this)}},{key:"destroy",value:function(){return U.call(this)}},{key:"enableEventListeners",value:function(){return V.call(this)}},{key:"disableEventListeners",value:function(){return X.call(this)}}]),e}();le.Utils=("undefined"!==typeof window?window:n.g).PopperUtils,le.placements=J,le.Defaults=se;var ce=le,ue=n(37420),de=n(432),pe=n(30468),fe=n(81225),he=n(38088);function be(e){return"function"===typeof e?e():e}var Ae="undefined"!==typeof window?i.useLayoutEffect:i.useEffect,me={},ge=i.forwardRef((function(e,t){var n=e.anchorEl,a=e.children,s=e.container,l=e.disablePortal,c=void 0!==l&&l,u=e.keepMounted,d=void 0!==u&&u,p=e.modifiers,f=e.open,h=e.placement,b=void 0===h?"bottom":h,A=e.popperOptions,m=void 0===A?me:A,g=e.popperRef,v=e.style,y=e.transition,M=void 0!==y&&y,O=(0,o.Z)(e,["anchorEl","children","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition"]),_=i.useRef(null),z=(0,he.Z)(_,t),x=i.useRef(null),w=(0,he.Z)(x,g),C=i.useRef(w);Ae((function(){C.current=w}),[w]),i.useImperativeHandle(g,(function(){return x.current}),[]);var S=i.useState(!0),E=S[0],k=S[1],D=function(e,t){if("ltr"===(t&&t.direction||"ltr"))return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(b,(0,ue.Z)()),N=i.useState(D),T=N[0],j=N[1];i.useEffect((function(){x.current&&x.current.update()}));var B=i.useCallback((function(){if(_.current&&n&&f){x.current&&(x.current.destroy(),C.current(null));var e=function(e){j(e.placement)},t=(be(n),new ce(be(n),_.current,(0,r.Z)({placement:D},m,{modifiers:(0,r.Z)({},c?{}:{preventOverflow:{boundariesElement:"window"}},p,m.modifiers),onCreate:(0,pe.Z)(e,m.onCreate),onUpdate:(0,pe.Z)(e,m.onUpdate)})));C.current(t)}}),[n,c,p,f,D,m]),L=i.useCallback((function(e){(0,fe.Z)(z,e),B()}),[z,B]),R=function(){x.current&&(x.current.destroy(),C.current(null))};if(i.useEffect((function(){return function(){R()}}),[]),i.useEffect((function(){f||M||R()}),[f,M]),!d&&!f&&(!M||E))return null;var q={placement:T};return M&&(q.TransitionProps={in:f,onEnter:function(){k(!1)},onExited:function(){k(!0),R()}}),i.createElement(de.Z,{disablePortal:c,container:s},i.createElement("div",(0,r.Z)({ref:L,role:"tooltip"},O,{style:(0,r.Z)({position:"fixed",top:0,left:0,display:f||!d||M?null:"none"},v)}),"function"===typeof a?a(q):a))})),ve=ge},432:function(e,t,n){"use strict";var r=n(47313),o=n(1168),i=n(81225),a=n(38088);var s="undefined"!==typeof window?r.useLayoutEffect:r.useEffect,l=r.forwardRef((function(e,t){var n=e.children,l=e.container,c=e.disablePortal,u=void 0!==c&&c,d=e.onRendered,p=r.useState(null),f=p[0],h=p[1],b=(0,a.Z)(r.isValidElement(n)?n.ref:null,t);return s((function(){u||h(function(e){return e="function"===typeof e?e():e,o.findDOMNode(e)}(l)||document.body)}),[l,u]),s((function(){if(f&&!u)return(0,i.Z)(t,f),function(){(0,i.Z)(t,null)}}),[t,f,u]),s((function(){d&&(f||u)&&d()}),[d,f,u]),u?r.isValidElement(n)?r.cloneElement(n,{ref:b}):n:f?o.createPortal(n,f):f}));t.Z=l},73002:function(e,t,n){"use strict";n.d(t,{Z:function(){return j}});var r=n(87462),o=n(45987),i=n(47313),a=n(88427),s=n(29439),l=n(71002),c=n(803),u=(n(96214),n(83061)),d=n(10516),p=n(79685),f=n(76661),h=n(48322),b=n(38088),A=n(794);function m(e,t){return"object"===(0,l.Z)(t)&&null!==t?e===t:String(e)===String(t)}var g=i.forwardRef((function(e,t){var n=e["aria-label"],a=e.autoFocus,l=e.autoWidth,g=e.children,v=e.classes,y=e.className,M=e.defaultValue,O=e.disabled,_=e.displayEmpty,z=e.IconComponent,x=e.inputRef,w=e.labelId,C=e.MenuProps,S=void 0===C?{}:C,E=e.multiple,k=e.name,D=e.onBlur,N=e.onChange,T=e.onClose,j=e.onFocus,B=e.onOpen,L=e.open,R=e.readOnly,q=e.renderValue,P=e.SelectDisplayProps,I=void 0===P?{}:P,W=e.tabIndex,F=(e.type,e.value),U=e.variant,Z=void 0===U?"standard":U,H=(0,o.Z)(e,["aria-label","autoFocus","autoWidth","children","classes","className","defaultValue","disabled","displayEmpty","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"]),$=(0,A.Z)({controlled:F,default:M,name:"Select"}),V=(0,s.Z)($,2),X=V[0],Q=V[1],Y=i.useRef(null),G=i.useState(null),K=G[0],J=G[1],ee=i.useRef(null!=L).current,te=i.useState(),ne=te[0],re=te[1],oe=i.useState(!1),ie=oe[0],ae=oe[1],se=(0,b.Z)(t,x);i.useImperativeHandle(se,(function(){return{focus:function(){K.focus()},node:Y.current,value:X}}),[K,X]),i.useEffect((function(){a&&K&&K.focus()}),[a,K]),i.useEffect((function(){if(K){var e=(0,d.Z)(K).getElementById(w);if(e){var t=function(){getSelection().isCollapsed&&K.focus()};return e.addEventListener("click",t),function(){e.removeEventListener("click",t)}}}}),[w,K]);var le,ce,ue=function(e,t){e?B&&B(t):T&&T(t),ee||(re(l?null:K.clientWidth),ae(e))},de=i.Children.toArray(g),pe=function(e){return function(t){var n;if(E||ue(!1,t),E){n=Array.isArray(X)?X.slice():[];var r=X.indexOf(e.props.value);-1===r?n.push(e.props.value):n.splice(r,1)}else n=e.props.value;e.props.onClick&&e.props.onClick(t),X!==n&&(Q(n),N&&(t.persist(),Object.defineProperty(t,"target",{writable:!0,value:{value:n,name:k}}),N(t,e)))}},fe=null!==K&&(ee?L:ie);delete H["aria-invalid"];var he=[],be=!1;((0,h.vd)({value:X})||_)&&(q?le=q(X):be=!0);var Ae=de.map((function(e){if(!i.isValidElement(e))return null;var t;if(E){if(!Array.isArray(X))throw new Error((0,c.Z)(2));(t=X.some((function(t){return m(t,e.props.value)})))&&be&&he.push(e.props.children)}else(t=m(X,e.props.value))&&be&&(ce=e.props.children);return t&&!0,i.cloneElement(e,{"aria-selected":t?"true":void 0,onClick:pe(e),onKeyUp:function(t){" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})}));be&&(le=E?he.join(", "):ce);var me,ge=ne;!l&&ee&&K&&(ge=K.clientWidth),me="undefined"!==typeof W?W:O?null:0;var ve=I.id||(k?"mui-component-select-".concat(k):void 0);return i.createElement(i.Fragment,null,i.createElement("div",(0,r.Z)({className:(0,u.Z)(v.root,v.select,v.selectMenu,v[Z],y,O&&v.disabled),ref:J,tabIndex:me,role:"button","aria-disabled":O?"true":void 0,"aria-expanded":fe?"true":void 0,"aria-haspopup":"listbox","aria-label":n,"aria-labelledby":[w,ve].filter(Boolean).join(" ")||void 0,onKeyDown:function(e){if(!R){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),ue(!0,e))}},onMouseDown:O||R?null:function(e){0===e.button&&(e.preventDefault(),K.focus(),ue(!0,e))},onBlur:function(e){!fe&&D&&(e.persist(),Object.defineProperty(e,"target",{writable:!0,value:{value:X,name:k}}),D(e))},onFocus:j},I,{id:ve}),function(e){return null==e||"string"===typeof e&&!e.trim()}(le)?i.createElement("span",{dangerouslySetInnerHTML:{__html:"&#8203;"}}):le),i.createElement("input",(0,r.Z)({value:Array.isArray(X)?X.join(","):X,name:k,ref:Y,"aria-hidden":!0,onChange:function(e){var t=de.map((function(e){return e.props.value})).indexOf(e.target.value);if(-1!==t){var n=de[t];Q(n.props.value),N&&N(e,n)}},tabIndex:-1,className:v.nativeInput,autoFocus:a},H)),i.createElement(z,{className:(0,u.Z)(v.icon,v["icon".concat((0,p.Z)(Z))],fe&&v.iconOpen,O&&v.disabled)}),i.createElement(f.Z,(0,r.Z)({id:"menu-".concat(k||""),anchorEl:K,open:fe,onClose:function(e){ue(!1,e)}},S,{MenuListProps:(0,r.Z)({"aria-labelledby":w,role:"listbox",disableListWrap:!0},S.MenuListProps),PaperProps:(0,r.Z)({},S.PaperProps,{style:(0,r.Z)({minWidth:ge},null!=S.PaperProps?S.PaperProps.style:null)})}),Ae))})),v=n(82198),y=n(74826),M=n(52376),O=(0,n(14214).Z)(i.createElement("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),_=n(92942),z=i.forwardRef((function(e,t){var n=e.classes,a=e.className,s=e.disabled,l=e.IconComponent,c=e.inputRef,d=e.variant,f=void 0===d?"standard":d,h=(0,o.Z)(e,["classes","className","disabled","IconComponent","inputRef","variant"]);return i.createElement(i.Fragment,null,i.createElement("select",(0,r.Z)({className:(0,u.Z)(n.root,n.select,n[f],a,s&&n.disabled),disabled:s,ref:c||t},h)),e.multiple?null:i.createElement(l,{className:(0,u.Z)(n.icon,n["icon".concat((0,p.Z)(f))],s&&n.disabled)}))})),x=function(e){return{root:{},select:{"-moz-appearance":"none","-webkit-appearance":"none",userSelect:"none",borderRadius:0,minWidth:16,cursor:"pointer","&:focus":{backgroundColor:"light"===e.palette.type?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)",borderRadius:0},"&::-ms-expand":{display:"none"},"&$disabled":{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:e.palette.background.paper},"&&":{paddingRight:24}},filled:{"&&":{paddingRight:32}},outlined:{borderRadius:e.shape.borderRadius,"&&":{paddingRight:32}},selectMenu:{height:"auto",minHeight:"1.1876em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"},disabled:{},icon:{position:"absolute",right:0,top:"calc(50% - 12px)",pointerEvents:"none",color:e.palette.action.active,"&$disabled":{color:e.palette.action.disabled}},iconOpen:{transform:"rotate(180deg)"},iconFilled:{right:7},iconOutlined:{right:7},nativeInput:{bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%"}}},w=i.createElement(_.Z,null),C=i.forwardRef((function(e,t){var n=e.children,a=e.classes,s=e.IconComponent,l=void 0===s?O:s,c=e.input,u=void 0===c?w:c,d=e.inputProps,p=(e.variant,(0,o.Z)(e,["children","classes","IconComponent","input","inputProps","variant"])),f=(0,y.Z)(),h=(0,v.Z)({props:e,muiFormControl:f,states:["variant"]});return i.cloneElement(u,(0,r.Z)({inputComponent:z,inputProps:(0,r.Z)({children:n,classes:a,IconComponent:l,variant:h.variant,type:void 0},d,u?u.props.inputProps:{}),ref:t},p))}));C.muiName="Select";(0,M.Z)(x,{name:"MuiNativeSelect"})(C);var S=n(45127),E=n(16183),k=x,D=i.createElement(_.Z,null),N=i.createElement(S.Z,null),T=i.forwardRef((function e(t,n){var s=t.autoWidth,l=void 0!==s&&s,c=t.children,u=t.classes,d=t.displayEmpty,p=void 0!==d&&d,f=t.IconComponent,h=void 0===f?O:f,b=t.id,A=t.input,m=t.inputProps,M=t.label,_=t.labelId,x=t.labelWidth,w=void 0===x?0:x,C=t.MenuProps,S=t.multiple,k=void 0!==S&&S,T=t.native,j=void 0!==T&&T,B=t.onClose,L=t.onOpen,R=t.open,q=t.renderValue,P=t.SelectDisplayProps,I=t.variant,W=void 0===I?"standard":I,F=(0,o.Z)(t,["autoWidth","children","classes","displayEmpty","IconComponent","id","input","inputProps","label","labelId","labelWidth","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"]),U=j?z:g,Z=(0,y.Z)(),H=(0,v.Z)({props:t,muiFormControl:Z,states:["variant"]}).variant||W,$=A||{standard:D,outlined:i.createElement(E.Z,{label:M,labelWidth:w}),filled:N}[H];return i.cloneElement($,(0,r.Z)({inputComponent:U,inputProps:(0,r.Z)({children:c,IconComponent:h,variant:H,type:void 0,multiple:k},j?{id:b}:{autoWidth:l,displayEmpty:p,labelId:_,MenuProps:C,onClose:B,onOpen:L,open:R,renderValue:q,SelectDisplayProps:(0,r.Z)({id:b},P)},m,{classes:m?(0,a.Z)({baseClasses:u,newClasses:m.classes,Component:e}):u},A?A.props.inputProps:{}),ref:n},F))}));T.muiName="Select";var j=(0,M.Z)(k,{name:"MuiSelect"})(T)},50835:function(e,t,n){"use strict";var r=n(87462),o=n(45987),i=n(47313),a=n(83061),s=n(52376),l=n(79685),c=i.forwardRef((function(e,t){var n=e.children,s=e.classes,c=e.className,u=e.color,d=void 0===u?"inherit":u,p=e.component,f=void 0===p?"svg":p,h=e.fontSize,b=void 0===h?"medium":h,A=e.htmlColor,m=e.titleAccess,g=e.viewBox,v=void 0===g?"0 0 24 24":g,y=(0,o.Z)(e,["children","classes","className","color","component","fontSize","htmlColor","titleAccess","viewBox"]);return i.createElement(f,(0,r.Z)({className:(0,a.Z)(s.root,c,"inherit"!==d&&s["color".concat((0,l.Z)(d))],"default"!==b&&"medium"!==b&&s["fontSize".concat((0,l.Z)(b))]),focusable:"false",viewBox:v,color:A,"aria-hidden":!m||void 0,role:m?"img":void 0,ref:t},y),n,m?i.createElement("title",null,m):null)}));c.muiName="SvgIcon",t.Z=(0,s.Z)((function(e){return{root:{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,fontSize:e.typography.pxToRem(24),transition:e.transitions.create("fill",{duration:e.transitions.duration.shorter})},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorAction:{color:e.palette.action.active},colorError:{color:e.palette.error.main},colorDisabled:{color:e.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"},fontSizeSmall:{fontSize:e.typography.pxToRem(20)},fontSizeLarge:{fontSize:e.typography.pxToRem(35)}}}),{name:"MuiSvgIcon"})(c)},90431:function(e,t,n){"use strict";var r=n(87462),o=n(45987),i=n(47313),a=n(83061),s=n(52376),l=n(13644),c=n(79685),u=n(8376),d=i.forwardRef((function(e,t){var n=e.classes,s=e.className,l=e.color,d=void 0===l?"secondary":l,p=e.edge,f=void 0!==p&&p,h=e.size,b=void 0===h?"medium":h,A=(0,o.Z)(e,["classes","className","color","edge","size"]),m=i.createElement("span",{className:n.thumb});return i.createElement("span",{className:(0,a.Z)(n.root,s,{start:n.edgeStart,end:n.edgeEnd}[f],"small"===b&&n["size".concat((0,c.Z)(b))])},i.createElement(u.Z,(0,r.Z)({type:"checkbox",icon:m,checkedIcon:m,classes:{root:(0,a.Z)(n.switchBase,n["color".concat((0,c.Z)(d))]),input:n.input,checked:n.checked,disabled:n.disabled},ref:t},A)),i.createElement("span",{className:n.track}))}));t.Z=(0,s.Z)((function(e){return{root:{display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"}},edgeStart:{marginLeft:-8},edgeEnd:{marginRight:-8},switchBase:{position:"absolute",top:0,left:0,zIndex:1,color:"light"===e.palette.type?e.palette.grey[50]:e.palette.grey[400],transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),"&$checked":{transform:"translateX(20px)"},"&$disabled":{color:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[800]},"&$checked + $track":{opacity:.5},"&$disabled + $track":{opacity:"light"===e.palette.type?.12:.1}},colorPrimary:{"&$checked":{color:e.palette.primary.main,"&:hover":{backgroundColor:(0,l.Fq)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[800]},"&$checked + $track":{backgroundColor:e.palette.primary.main},"&$disabled + $track":{backgroundColor:"light"===e.palette.type?e.palette.common.black:e.palette.common.white}},colorSecondary:{"&$checked":{color:e.palette.secondary.main,"&:hover":{backgroundColor:(0,l.Fq)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[800]},"&$checked + $track":{backgroundColor:e.palette.secondary.main},"&$disabled + $track":{backgroundColor:"light"===e.palette.type?e.palette.common.black:e.palette.common.white}},sizeSmall:{width:40,height:24,padding:7,"& $thumb":{width:16,height:16},"& $switchBase":{padding:4,"&$checked":{transform:"translateX(16px)"}}},checked:{},disabled:{},input:{left:"-100%",width:"300%"},thumb:{boxShadow:e.shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"},track:{height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:"light"===e.palette.type?e.palette.common.black:e.palette.common.white,opacity:"light"===e.palette.type?.38:.3}}}),{name:"MuiSwitch"})(d)},61562:function(e,t,n){"use strict";var r=n(47313).createContext();t.Z=r},83147:function(e,t,n){"use strict";var r=n(47313).createContext();t.Z=r},36060:function(e,t,n){"use strict";var r=n(45987),o=n(87462),i=n(47313),a=n(83061),s=n(52376),l=n(79685),c=n(13644),u=n(61562),d=n(83147),p=i.forwardRef((function(e,t){var n,s,c=e.align,p=void 0===c?"inherit":c,f=e.classes,h=e.className,b=e.component,A=e.padding,m=e.scope,g=e.size,v=e.sortDirection,y=e.variant,M=(0,r.Z)(e,["align","classes","className","component","padding","scope","size","sortDirection","variant"]),O=i.useContext(u.Z),_=i.useContext(d.Z),z=_&&"head"===_.variant;b?(s=b,n=z?"columnheader":"cell"):s=z?"th":"td";var x=m;!x&&z&&(x="col");var w=A||(O&&O.padding?O.padding:"normal"),C=g||(O&&O.size?O.size:"medium"),S=y||_&&_.variant,E=null;return v&&(E="asc"===v?"ascending":"descending"),i.createElement(s,(0,o.Z)({ref:t,className:(0,a.Z)(f.root,f[S],h,"inherit"!==p&&f["align".concat((0,l.Z)(p))],"normal"!==w&&f["padding".concat((0,l.Z)(w))],"medium"!==C&&f["size".concat((0,l.Z)(C))],"head"===S&&O&&O.stickyHeader&&f.stickyHeader),"aria-sort":E,role:n,scope:x},M))}));t.Z=(0,s.Z)((function(e){return{root:(0,o.Z)({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:"1px solid\n    ".concat("light"===e.palette.type?(0,c.$n)((0,c.Fq)(e.palette.divider,1),.88):(0,c._j)((0,c.Fq)(e.palette.divider,1),.68)),textAlign:"left",padding:16}),head:{color:e.palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},body:{color:e.palette.text.primary},footer:{color:e.palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},sizeSmall:{padding:"6px 24px 6px 16px","&:last-child":{paddingRight:16},"&$paddingCheckbox":{width:24,padding:"0 12px 0 16px","&:last-child":{paddingLeft:12,paddingRight:16},"& > *":{padding:0}}},paddingCheckbox:{width:48,padding:"0 0 0 4px","&:last-child":{paddingLeft:0,paddingRight:4}},paddingNone:{padding:0,"&:last-child":{padding:0}},alignLeft:{textAlign:"left"},alignCenter:{textAlign:"center"},alignRight:{textAlign:"right",flexDirection:"row-reverse"},alignJustify:{textAlign:"justify"},stickyHeader:{position:"sticky",top:0,left:0,zIndex:2,backgroundColor:e.palette.background.default}}}),{name:"MuiTableCell"})(p)},8441:function(e,t,n){"use strict";n.d(t,{Z:function(){return E}});var r=n(87462),o=n(45987),i=n(47313),a=n(83061),s=n(52376),l=n(93015),c=n(14636),u=n(73002),d=n(36060),p=n(4942),f=i.forwardRef((function(e,t){var n=e.classes,s=e.className,l=e.component,c=void 0===l?"div":l,u=e.disableGutters,d=void 0!==u&&u,p=e.variant,f=void 0===p?"regular":p,h=(0,o.Z)(e,["classes","className","component","disableGutters","variant"]);return i.createElement(c,(0,r.Z)({className:(0,a.Z)(n.root,n[f],s,!d&&n.gutters),ref:t},h))})),h=(0,s.Z)((function(e){return{root:{position:"relative",display:"flex",alignItems:"center"},gutters:(0,p.Z)({paddingLeft:e.spacing(2),paddingRight:e.spacing(2)},e.breakpoints.up("sm"),{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}),regular:e.mixins.toolbar,dense:{minHeight:48}}}),{name:"MuiToolbar"})(f),b=n(57009),A=n(44068),m=n(205),g=n(31385),v=n(54070),y=i.createElement(m.Z,null),M=i.createElement(A.Z,null),O=i.createElement(A.Z,null),_=i.createElement(m.Z,null),z=i.forwardRef((function(e,t){var n=e.backIconButtonProps,a=e.count,s=e.nextIconButtonProps,l=e.onChangePage,c=void 0===l?function(){}:l,u=e.onPageChange,d=void 0===u?function(){}:u,p=e.page,f=e.rowsPerPage,h=(0,o.Z)(e,["backIconButtonProps","count","nextIconButtonProps","onChangePage","onPageChange","page","rowsPerPage"]),b=(0,g.Z)();return i.createElement("div",(0,r.Z)({ref:t},h),i.createElement(v.Z,(0,r.Z)({onClick:function(e){c(e,p-1),d(e,p-1)},disabled:0===p,color:"inherit"},n),"rtl"===b.direction?y:M),i.createElement(v.Z,(0,r.Z)({onClick:function(e){c(e,p+1),d(e,p+1)},disabled:-1!==a&&p>=Math.ceil(a/f)-1,color:"inherit"},s),"rtl"===b.direction?O:_))})),x=n(62531),w=function(e){var t=e.from,n=e.to,r=e.count;return"".concat(t,"-").concat(n," of ").concat(-1!==r?r:"more than ".concat(n))},C=[10,25,50,100],S=i.forwardRef((function(e,t){var n,s=e.ActionsComponent,p=void 0===s?z:s,f=e.backIconButtonProps,A=e.backIconButtonText,m=void 0===A?"Previous page":A,g=e.classes,v=e.className,y=e.colSpan,M=e.component,O=void 0===M?d.Z:M,_=e.count,S=e.labelDisplayedRows,E=void 0===S?w:S,k=e.labelRowsPerPage,D=void 0===k?"Rows per page:":k,N=e.nextIconButtonProps,T=e.nextIconButtonText,j=void 0===T?"Next page":T,B=e.onChangePage,L=e.onPageChange,R=e.onChangeRowsPerPage,q=e.onRowsPerPageChange,P=e.page,I=e.rowsPerPage,W=e.rowsPerPageOptions,F=void 0===W?C:W,U=e.SelectProps,Z=void 0===U?{}:U,H=(0,o.Z)(e,["ActionsComponent","backIconButtonProps","backIconButtonText","classes","className","colSpan","component","count","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","nextIconButtonText","onChangePage","onPageChange","onChangeRowsPerPage","onRowsPerPageChange","page","rowsPerPage","rowsPerPageOptions","SelectProps"]),$=R||q;O!==d.Z&&"td"!==O||(n=y||1e3);var V=(0,x.Z)(),X=(0,x.Z)(),Q=Z.native?"option":c.Z;return i.createElement(O,(0,r.Z)({className:(0,a.Z)(g.root,v),colSpan:n,ref:t},H),i.createElement(h,{className:g.toolbar},i.createElement("div",{className:g.spacer}),F.length>1&&i.createElement(b.Z,{color:"inherit",variant:"body2",className:g.caption,id:X},D),F.length>1&&i.createElement(u.Z,(0,r.Z)({classes:{select:g.select,icon:g.selectIcon},input:i.createElement(l.Z,{className:(0,a.Z)(g.input,g.selectRoot)}),value:I,onChange:$,id:V,labelId:X},Z),F.map((function(e){return i.createElement(Q,{className:g.menuItem,key:e.value?e.value:e,value:e.value?e.value:e},e.label?e.label:e)}))),i.createElement(b.Z,{color:"inherit",variant:"body2",className:g.caption},E({from:0===_?0:P*I+1,to:-1!==_?Math.min(_,(P+1)*I):(P+1)*I,count:-1===_?-1:_,page:P})),i.createElement(p,{className:g.actions,backIconButtonProps:(0,r.Z)({title:m,"aria-label":m},f),count:_,nextIconButtonProps:(0,r.Z)({title:j,"aria-label":j},N),onChangePage:B,onPageChange:L,page:P,rowsPerPage:I})))})),E=(0,s.Z)((function(e){return{root:{color:e.palette.text.primary,fontSize:e.typography.pxToRem(14),overflow:"auto","&:last-child":{padding:0}},toolbar:{minHeight:52,paddingRight:2},spacer:{flex:"1 1 100%"},caption:{flexShrink:0},selectRoot:{marginRight:32,marginLeft:8},select:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"},selectIcon:{},input:{color:"inherit",fontSize:"inherit",flexShrink:0},menuItem:{},actions:{flexShrink:0,marginLeft:20}}}),{name:"MuiTablePagination"})(S)},72728:function(e,t,n){"use strict";var r=n(87462),o=n(45987),i=n(47313),a=n(83061),s=n(92942),l=n(45127),c=n(16183),u=n(2297),d=n(6085),p=n(25734),f=n(73002),h=n(52376),b={standard:s.Z,filled:l.Z,outlined:c.Z},A=i.forwardRef((function(e,t){var n=e.autoComplete,s=e.autoFocus,l=void 0!==s&&s,c=e.children,h=e.classes,A=e.className,m=e.color,g=void 0===m?"primary":m,v=e.defaultValue,y=e.disabled,M=void 0!==y&&y,O=e.error,_=void 0!==O&&O,z=e.FormHelperTextProps,x=e.fullWidth,w=void 0!==x&&x,C=e.helperText,S=e.hiddenLabel,E=e.id,k=e.InputLabelProps,D=e.inputProps,N=e.InputProps,T=e.inputRef,j=e.label,B=e.multiline,L=void 0!==B&&B,R=e.name,q=e.onBlur,P=e.onChange,I=e.onFocus,W=e.placeholder,F=e.required,U=void 0!==F&&F,Z=e.rows,H=e.rowsMax,$=e.maxRows,V=e.minRows,X=e.select,Q=void 0!==X&&X,Y=e.SelectProps,G=e.type,K=e.value,J=e.variant,ee=void 0===J?"standard":J,te=(0,o.Z)(e,["autoComplete","autoFocus","children","classes","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","hiddenLabel","id","InputLabelProps","inputProps","InputProps","inputRef","label","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","rowsMax","maxRows","minRows","select","SelectProps","type","value","variant"]);var ne={};if("outlined"===ee&&(k&&"undefined"!==typeof k.shrink&&(ne.notched=k.shrink),j)){var re,oe=null!==(re=null===k||void 0===k?void 0:k.required)&&void 0!==re?re:U;ne.label=i.createElement(i.Fragment,null,j,oe&&"\xa0*")}Q&&(Y&&Y.native||(ne.id=void 0),ne["aria-describedby"]=void 0);var ie=C&&E?"".concat(E,"-helper-text"):void 0,ae=j&&E?"".concat(E,"-label"):void 0,se=b[ee],le=i.createElement(se,(0,r.Z)({"aria-describedby":ie,autoComplete:n,autoFocus:l,defaultValue:v,fullWidth:w,multiline:L,name:R,rows:Z,rowsMax:H,maxRows:$,minRows:V,type:G,value:K,id:E,inputRef:T,onBlur:q,onChange:P,onFocus:I,placeholder:W,inputProps:D},ne,N));return i.createElement(d.Z,(0,r.Z)({className:(0,a.Z)(h.root,A),disabled:M,error:_,fullWidth:w,hiddenLabel:S,ref:t,required:U,color:g,variant:ee},te),j&&i.createElement(u.Z,(0,r.Z)({htmlFor:E,id:ae},k),j),Q?i.createElement(f.Z,(0,r.Z)({"aria-describedby":ie,id:E,labelId:ae,value:K,input:le},Y),c):le,C&&i.createElement(p.Z,(0,r.Z)({id:ie},z),C))}));t.Z=(0,h.Z)({root:{}},{name:"MuiTextField"})(A)},34882:function(e,t,n){"use strict";var r=n(87462),o=n(29439),i=n(45987),a=n(4942),s=n(47313),l=n(1168),c=n(83061),u=n(68272),d=n(13644),p=n(52376),f=n(79685),h=n(67695),b=n(85616),A=n(38088),m=n(62531),g=n(81225),v=n(96790),y=n(794),M=n(31385);function O(e){return Math.round(1e5*e)/1e5}var _=!1,z=null;var x=s.forwardRef((function(e,t){var n=e.arrow,a=void 0!==n&&n,d=e.children,p=e.classes,O=e.disableFocusListener,x=void 0!==O&&O,w=e.disableHoverListener,C=void 0!==w&&w,S=e.disableTouchListener,E=void 0!==S&&S,k=e.enterDelay,D=void 0===k?100:k,N=e.enterNextDelay,T=void 0===N?0:N,j=e.enterTouchDelay,B=void 0===j?700:j,L=e.id,R=e.interactive,q=void 0!==R&&R,P=e.leaveDelay,I=void 0===P?0:P,W=e.leaveTouchDelay,F=void 0===W?1500:W,U=e.onClose,Z=e.onOpen,H=e.open,$=e.placement,V=void 0===$?"bottom":$,X=e.PopperComponent,Q=void 0===X?b.Z:X,Y=e.PopperProps,G=e.title,K=e.TransitionComponent,J=void 0===K?h.Z:K,ee=e.TransitionProps,te=(0,i.Z)(e,["arrow","children","classes","disableFocusListener","disableHoverListener","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","id","interactive","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","title","TransitionComponent","TransitionProps"]),ne=(0,M.Z)(),re=s.useState(),oe=re[0],ie=re[1],ae=s.useState(null),se=ae[0],le=ae[1],ce=s.useRef(!1),ue=s.useRef(),de=s.useRef(),pe=s.useRef(),fe=s.useRef(),he=(0,y.Z)({controlled:H,default:!1,name:"Tooltip",state:"open"}),be=(0,o.Z)(he,2),Ae=be[0],me=be[1],ge=Ae,ve=(0,m.Z)(L);s.useEffect((function(){return function(){clearTimeout(ue.current),clearTimeout(de.current),clearTimeout(pe.current),clearTimeout(fe.current)}}),[]);var ye=function(e){clearTimeout(z),_=!0,me(!0),Z&&Z(e)},Me=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(t){var n=d.props;"mouseover"===t.type&&n.onMouseOver&&e&&n.onMouseOver(t),ce.current&&"touchstart"!==t.type||(oe&&oe.removeAttribute("title"),clearTimeout(de.current),clearTimeout(pe.current),D||_&&T?(t.persist(),de.current=setTimeout((function(){ye(t)}),_?T:D)):ye(t))}},Oe=(0,v.Z)(),_e=Oe.isFocusVisible,ze=Oe.onBlurVisible,xe=Oe.ref,we=s.useState(!1),Ce=we[0],Se=we[1],Ee=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(t){oe||ie(t.currentTarget),_e(t)&&(Se(!0),Me()(t));var n=d.props;n.onFocus&&e&&n.onFocus(t)}},ke=function(e){clearTimeout(z),z=setTimeout((function(){_=!1}),800+I),me(!1),U&&U(e),clearTimeout(ue.current),ue.current=setTimeout((function(){ce.current=!1}),ne.transitions.duration.shortest)},De=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(t){var n=d.props;"blur"===t.type&&(n.onBlur&&e&&n.onBlur(t),Ce&&(Se(!1),ze())),"mouseleave"===t.type&&n.onMouseLeave&&t.currentTarget===oe&&n.onMouseLeave(t),clearTimeout(de.current),clearTimeout(pe.current),t.persist(),pe.current=setTimeout((function(){ke(t)}),I)}},Ne=function(e){ce.current=!0;var t=d.props;t.onTouchStart&&t.onTouchStart(e)},Te=(0,A.Z)(ie,t),je=(0,A.Z)(xe,Te),Be=s.useCallback((function(e){(0,g.Z)(je,l.findDOMNode(e))}),[je]),Le=(0,A.Z)(d.ref,Be);""===G&&(ge=!1);var Re=!ge&&!C,qe=(0,r.Z)({"aria-describedby":ge?ve:null,title:Re&&"string"===typeof G?G:null},te,d.props,{className:(0,c.Z)(te.className,d.props.className),onTouchStart:Ne,ref:Le}),Pe={};E||(qe.onTouchStart=function(e){Ne(e),clearTimeout(pe.current),clearTimeout(ue.current),clearTimeout(fe.current),e.persist(),fe.current=setTimeout((function(){Me()(e)}),B)},qe.onTouchEnd=function(e){d.props.onTouchEnd&&d.props.onTouchEnd(e),clearTimeout(fe.current),clearTimeout(pe.current),e.persist(),pe.current=setTimeout((function(){ke(e)}),F)}),C||(qe.onMouseOver=Me(),qe.onMouseLeave=De(),q&&(Pe.onMouseOver=Me(!1),Pe.onMouseLeave=De(!1))),x||(qe.onFocus=Ee(),qe.onBlur=De(),q&&(Pe.onFocus=Ee(!1),Pe.onBlur=De(!1)));var Ie=s.useMemo((function(){return(0,u.Z)({popperOptions:{modifiers:{arrow:{enabled:Boolean(se),element:se}}}},Y)}),[se,Y]);return s.createElement(s.Fragment,null,s.cloneElement(d,qe),s.createElement(Q,(0,r.Z)({className:(0,c.Z)(p.popper,q&&p.popperInteractive,a&&p.popperArrow),placement:V,anchorEl:oe,open:!!oe&&ge,id:qe["aria-describedby"],transition:!0},Pe,Ie),(function(e){var t=e.placement,n=e.TransitionProps;return s.createElement(J,(0,r.Z)({timeout:ne.transitions.duration.shorter},n,ee),s.createElement("div",{className:(0,c.Z)(p.tooltip,p["tooltipPlacement".concat((0,f.Z)(t.split("-")[0]))],ce.current&&p.touch,a&&p.tooltipArrow)},G,a?s.createElement("span",{className:p.arrow,ref:le}):null))})))}));t.ZP=(0,p.Z)((function(e){return{popper:{zIndex:e.zIndex.tooltip,pointerEvents:"none"},popperInteractive:{pointerEvents:"auto"},popperArrow:{'&[x-placement*="bottom"] $arrow':{top:0,left:0,marginTop:"-0.71em",marginLeft:4,marginRight:4,"&::before":{transformOrigin:"0 100%"}},'&[x-placement*="top"] $arrow':{bottom:0,left:0,marginBottom:"-0.71em",marginLeft:4,marginRight:4,"&::before":{transformOrigin:"100% 0"}},'&[x-placement*="right"] $arrow':{left:0,marginLeft:"-0.71em",height:"1em",width:"0.71em",marginTop:4,marginBottom:4,"&::before":{transformOrigin:"100% 100%"}},'&[x-placement*="left"] $arrow':{right:0,marginRight:"-0.71em",height:"1em",width:"0.71em",marginTop:4,marginBottom:4,"&::before":{transformOrigin:"0 0"}}},tooltip:{backgroundColor:(0,d.Fq)(e.palette.grey[700],.9),borderRadius:e.shape.borderRadius,color:e.palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(10),lineHeight:"".concat(O(1.4),"em"),maxWidth:300,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},tooltipArrow:{position:"relative",margin:"0"},arrow:{overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:(0,d.Fq)(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}},touch:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:"".concat(O(16/14),"em"),fontWeight:e.typography.fontWeightRegular},tooltipPlacementLeft:(0,a.Z)({transformOrigin:"right center",margin:"0 24px "},e.breakpoints.up("sm"),{margin:"0 14px"}),tooltipPlacementRight:(0,a.Z)({transformOrigin:"left center",margin:"0 24px"},e.breakpoints.up("sm"),{margin:"0 14px"}),tooltipPlacementTop:(0,a.Z)({transformOrigin:"center bottom",margin:"24px 0"},e.breakpoints.up("sm"),{margin:"14px 0"}),tooltipPlacementBottom:(0,a.Z)({transformOrigin:"center top",margin:"24px 0"},e.breakpoints.up("sm"),{margin:"14px 0"})}}),{name:"MuiTooltip",flip:!1})(x)},57009:function(e,t,n){"use strict";var r=n(87462),o=n(45987),i=n(47313),a=n(83061),s=n(52376),l=n(79685),c={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p"},u=i.forwardRef((function(e,t){var n=e.align,s=void 0===n?"inherit":n,u=e.classes,d=e.className,p=e.color,f=void 0===p?"initial":p,h=e.component,b=e.display,A=void 0===b?"initial":b,m=e.gutterBottom,g=void 0!==m&&m,v=e.noWrap,y=void 0!==v&&v,M=e.paragraph,O=void 0!==M&&M,_=e.variant,z=void 0===_?"body1":_,x=e.variantMapping,w=void 0===x?c:x,C=(0,o.Z)(e,["align","classes","className","color","component","display","gutterBottom","noWrap","paragraph","variant","variantMapping"]),S=h||(O?"p":w[z]||c[z])||"span";return i.createElement(S,(0,r.Z)({className:(0,a.Z)(u.root,d,"inherit"!==z&&u[z],"initial"!==f&&u["color".concat((0,l.Z)(f))],y&&u.noWrap,g&&u.gutterBottom,O&&u.paragraph,"inherit"!==s&&u["align".concat((0,l.Z)(s))],"initial"!==A&&u["display".concat((0,l.Z)(A))]),ref:t},C))}));t.Z=(0,s.Z)((function(e){return{root:{margin:0},body2:e.typography.body2,body1:e.typography.body1,caption:e.typography.caption,button:e.typography.button,h1:e.typography.h1,h2:e.typography.h2,h3:e.typography.h3,h4:e.typography.h4,h5:e.typography.h5,h6:e.typography.h6,subtitle1:e.typography.subtitle1,subtitle2:e.typography.subtitle2,overline:e.typography.overline,srOnly:{position:"absolute",height:1,width:1,overflow:"hidden"},alignLeft:{textAlign:"left"},alignCenter:{textAlign:"center"},alignRight:{textAlign:"right"},alignJustify:{textAlign:"justify"},noWrap:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},gutterBottom:{marginBottom:"0.35em"},paragraph:{marginBottom:16},colorInherit:{color:"inherit"},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorTextPrimary:{color:e.palette.text.primary},colorTextSecondary:{color:e.palette.text.secondary},colorError:{color:e.palette.error.main},displayInline:{display:"inline"},displayBlock:{display:"block"}}}),{name:"MuiTypography"})(u)},35814:function(e,t,n){"use strict";var r=n(47313),o=n(1168),i=n(10516),a=n(38088);t.Z=function(e){var t=e.children,n=e.disableAutoFocus,s=void 0!==n&&n,l=e.disableEnforceFocus,c=void 0!==l&&l,u=e.disableRestoreFocus,d=void 0!==u&&u,p=e.getDoc,f=e.isEnabled,h=e.open,b=r.useRef(),A=r.useRef(null),m=r.useRef(null),g=r.useRef(),v=r.useRef(null),y=r.useCallback((function(e){v.current=o.findDOMNode(e)}),[]),M=(0,a.Z)(t.ref,y),O=r.useRef();return r.useEffect((function(){O.current=h}),[h]),!O.current&&h&&"undefined"!==typeof window&&(g.current=p().activeElement),r.useEffect((function(){if(h){var e=(0,i.Z)(v.current);s||!v.current||v.current.contains(e.activeElement)||(v.current.hasAttribute("tabIndex")||v.current.setAttribute("tabIndex",-1),v.current.focus());var t=function(){null!==v.current&&(e.hasFocus()&&!c&&f()&&!b.current?v.current&&!v.current.contains(e.activeElement)&&v.current.focus():b.current=!1)},n=function(t){!c&&f()&&9===t.keyCode&&e.activeElement===v.current&&(b.current=!0,t.shiftKey?m.current.focus():A.current.focus())};e.addEventListener("focus",t,!0),e.addEventListener("keydown",n,!0);var r=setInterval((function(){t()}),50);return function(){clearInterval(r),e.removeEventListener("focus",t,!0),e.removeEventListener("keydown",n,!0),d||(g.current&&g.current.focus&&g.current.focus(),g.current=null)}}}),[s,c,d,f,h]),r.createElement(r.Fragment,null,r.createElement("div",{tabIndex:0,ref:A,"data-test":"sentinelStart"}),r.cloneElement(t,{ref:M}),r.createElement("div",{tabIndex:0,ref:m,"data-test":"sentinelEnd"}))}},19687:function(e,t){"use strict";t.Z={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"}},8376:function(e,t,n){"use strict";var r=n(87462),o=n(29439),i=n(45987),a=n(47313),s=n(83061),l=n(794),c=n(74826),u=n(52376),d=n(54070),p=a.forwardRef((function(e,t){var n=e.autoFocus,u=e.checked,p=e.checkedIcon,f=e.classes,h=e.className,b=e.defaultChecked,A=e.disabled,m=e.icon,g=e.id,v=e.inputProps,y=e.inputRef,M=e.name,O=e.onBlur,_=e.onChange,z=e.onFocus,x=e.readOnly,w=e.required,C=e.tabIndex,S=e.type,E=e.value,k=(0,i.Z)(e,["autoFocus","checked","checkedIcon","classes","className","defaultChecked","disabled","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"]),D=(0,l.Z)({controlled:u,default:Boolean(b),name:"SwitchBase",state:"checked"}),N=(0,o.Z)(D,2),T=N[0],j=N[1],B=(0,c.Z)(),L=A;B&&"undefined"===typeof L&&(L=B.disabled);var R="checkbox"===S||"radio"===S;return a.createElement(d.Z,(0,r.Z)({component:"span",className:(0,s.Z)(f.root,h,T&&f.checked,L&&f.disabled),disabled:L,tabIndex:null,role:void 0,onFocus:function(e){z&&z(e),B&&B.onFocus&&B.onFocus(e)},onBlur:function(e){O&&O(e),B&&B.onBlur&&B.onBlur(e)},ref:t},k),a.createElement("input",(0,r.Z)({autoFocus:n,checked:u,defaultChecked:b,className:f.input,disabled:L,id:R&&g,name:M,onChange:function(e){var t=e.target.checked;j(t),_&&_(e,t)},readOnly:x,ref:y,required:w,tabIndex:C,type:S,value:E},v)),T?p:m)}));t.Z=(0,u.Z)({root:{padding:9},checked:{},disabled:{},input:{cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}},{name:"PrivateSwitchBase"})(p)},44068:function(e,t,n){"use strict";var r=n(47313),o=n(14214);t.Z=(0,o.Z)(r.createElement("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft")},205:function(e,t,n){"use strict";var r=n(47313),o=n(14214);t.Z=(0,o.Z)(r.createElement("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight")},13644:function(e,t,n){"use strict";n.d(t,{$n:function(){return A},Fq:function(){return h},H3:function(){return d},U1:function(){return f},_4:function(){return p},_j:function(){return b},mi:function(){return u},oo:function(){return i},tB:function(){return l},ve:function(){return s},vq:function(){return a},wy:function(){return c}});var r=n(803);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function i(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}function a(e){if(0===e.indexOf("#"))return e;var t=l(e).values;return"#".concat(t.map((function(e){return function(e){var t=e.toString(16);return 1===t.length?"0".concat(t):t}(e)})).join(""))}function s(e){var t=(e=l(e)).values,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return o-i*Math.max(Math.min(t-3,9-t,1),-1)},s="rgb",u=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",u.push(t[3])),c({type:s,values:u})}function l(e){if(e.type)return e;if("#"===e.charAt(0))return l(i(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error((0,r.Z)(3,e));var o=e.substring(t+1,e.length-1).split(",");return{type:n,values:o=o.map((function(e){return parseFloat(e)}))}}function c(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")?n=n.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}function u(e,t){var n=d(e),r=d(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function d(e){var t="hsl"===(e=l(e)).type?l(s(e)).values:e.values;return t=t.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return d(e)>.5?b(e,t):A(e,t)}function f(e,t){return h(e,t)}function h(e,t){return e=l(e),t=o(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,c(e)}function b(e,t){if(e=l(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return c(e)}function A(e,t){if(e=l(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return c(e)}},88137:function(e,t,n){"use strict";function r(e){return e}n.d(t,{Z:function(){return r}})},96908:function(e,t,n){"use strict";n.d(t,{A:function(){return j},Z:function(){return B}});var r=n(45987),o=n(68272),i=n(87462),a=["xs","sm","md","lg","xl"];var s=n(4942);function l(e,t,n){var r;return(0,i.Z)({gutters:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return console.warn(["Material-UI: theme.mixins.gutters() is deprecated.","You can use the source of the mixin directly:","\n      paddingLeft: theme.spacing(2),\n      paddingRight: theme.spacing(2),\n      [theme.breakpoints.up('sm')]: {\n        paddingLeft: theme.spacing(3),\n        paddingRight: theme.spacing(3),\n      },\n      "].join("\n")),(0,i.Z)({paddingLeft:t(2),paddingRight:t(2)},n,(0,s.Z)({},e.up("sm"),(0,i.Z)({paddingLeft:t(3),paddingRight:t(3)},n[e.up("sm")])))},toolbar:(r={minHeight:56},(0,s.Z)(r,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),(0,s.Z)(r,e.up("sm"),{minHeight:64}),r)},n)}var c=n(803),u={black:"#000",white:"#fff"},d={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"},p={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"},f={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"},h={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},b={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},A={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},m=n(19687),g=n(13644),v={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:u.white,default:d[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},y={text:{primary:u.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:d[800],default:"#303030"},action:{active:u.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function M(e,t,n,r){var o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=(0,g.$n)(e.main,o):"dark"===t&&(e.dark=(0,g._j)(e.main,i)))}function O(e){return Math.round(1e5*e)/1e5}function _(e){return O(e)}var z={textTransform:"uppercase"},x='"Roboto", "Helvetica", "Arial", sans-serif';function w(e,t){var n="function"===typeof t?t(e):t,a=n.fontFamily,s=void 0===a?x:a,l=n.fontSize,c=void 0===l?14:l,u=n.fontWeightLight,d=void 0===u?300:u,p=n.fontWeightRegular,f=void 0===p?400:p,h=n.fontWeightMedium,b=void 0===h?500:h,A=n.fontWeightBold,m=void 0===A?700:A,g=n.htmlFontSize,v=void 0===g?16:g,y=n.allVariants,M=n.pxToRem,w=(0,r.Z)(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]);var C=c/14,S=M||function(e){return"".concat(e/v*C,"rem")},E=function(e,t,n,r,o){return(0,i.Z)({fontFamily:s,fontWeight:e,fontSize:S(t),lineHeight:n},s===x?{letterSpacing:"".concat(O(r/t),"em")}:{},o,y)},k={h1:E(d,96,1.167,-1.5),h2:E(d,60,1.2,-.5),h3:E(f,48,1.167,0),h4:E(f,34,1.235,.25),h5:E(f,24,1.334,0),h6:E(b,20,1.6,.15),subtitle1:E(f,16,1.75,.15),subtitle2:E(b,14,1.57,.1),body1:E(f,16,1.5,.15),body2:E(f,14,1.43,.15),button:E(b,14,1.75,.4,z),caption:E(f,12,1.66,.4),overline:E(f,12,2.66,1,z)};return(0,o.Z)((0,i.Z)({htmlFontSize:v,pxToRem:S,round:_,fontFamily:s,fontSize:c,fontWeightLight:d,fontWeightRegular:f,fontWeightMedium:b,fontWeightBold:m},k),w,{clone:!1})}function C(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var S=["none",C(0,2,1,-1,0,1,1,0,0,1,3,0),C(0,3,1,-2,0,2,2,0,0,1,5,0),C(0,3,3,-2,0,3,4,0,0,1,8,0),C(0,2,4,-1,0,4,5,0,0,1,10,0),C(0,3,5,-1,0,5,8,0,0,1,14,0),C(0,3,5,-1,0,6,10,0,0,1,18,0),C(0,4,5,-2,0,7,10,1,0,2,16,1),C(0,5,5,-3,0,8,10,1,0,3,14,2),C(0,5,6,-3,0,9,12,1,0,3,16,2),C(0,6,6,-3,0,10,14,1,0,4,18,3),C(0,6,7,-4,0,11,15,1,0,4,20,3),C(0,7,8,-4,0,12,17,2,0,5,22,4),C(0,7,8,-4,0,13,19,2,0,5,24,4),C(0,7,9,-4,0,14,21,2,0,5,26,4),C(0,8,9,-5,0,15,22,2,0,6,28,5),C(0,8,10,-5,0,16,24,2,0,6,30,5),C(0,8,11,-5,0,17,26,2,0,6,32,5),C(0,9,11,-5,0,18,28,2,0,7,34,6),C(0,9,12,-6,0,19,29,2,0,7,36,6),C(0,10,13,-6,0,20,31,3,0,8,38,7),C(0,10,13,-6,0,21,33,3,0,8,40,7),C(0,10,14,-6,0,22,35,3,0,8,42,7),C(0,11,14,-7,0,23,36,3,0,9,44,8),C(0,11,15,-7,0,24,38,3,0,9,46,8)],E={borderRadius:4},k=n(91349);var D=n(44006),N=n(74398);function T(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,s=e.mixins,O=void 0===s?{}:s,_=e.palette,z=void 0===_?{}:_,x=e.spacing,C=e.typography,T=void 0===C?{}:C,j=(0,r.Z)(e,["breakpoints","mixins","palette","spacing","typography"]),B=function(e){var t=e.primary,n=void 0===t?{light:p[300],main:p[500],dark:p[700]}:t,a=e.secondary,s=void 0===a?{light:f.A200,main:f.A400,dark:f.A700}:a,l=e.error,O=void 0===l?{light:h[300],main:h[500],dark:h[700]}:l,_=e.warning,z=void 0===_?{light:b[300],main:b[500],dark:b[700]}:_,x=e.info,w=void 0===x?{light:A[300],main:A[500],dark:A[700]}:x,C=e.success,S=void 0===C?{light:m.Z[300],main:m.Z[500],dark:m.Z[700]}:C,E=e.type,k=void 0===E?"light":E,D=e.contrastThreshold,N=void 0===D?3:D,T=e.tonalOffset,j=void 0===T?.2:T,B=(0,r.Z)(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function L(e){return(0,g.mi)(e,y.text.primary)>=N?y.text.primary:v.text.primary}var R=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(e=(0,i.Z)({},e)).main&&e[t]&&(e.main=e[t]),!e.main)throw new Error((0,c.Z)(4,t));if("string"!==typeof e.main)throw new Error((0,c.Z)(5,JSON.stringify(e.main)));return M(e,"light",n,j),M(e,"dark",r,j),e.contrastText||(e.contrastText=L(e.main)),e},q={dark:y,light:v};return(0,o.Z)((0,i.Z)({common:u,type:k,primary:R(n),secondary:R(s,"A400","A200","A700"),error:R(O),warning:R(z),info:R(w),success:R(S),grey:d,contrastThreshold:N,getContrastText:L,augmentColor:R,tonalOffset:j},q[k]),B)}(z),L=function(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,o=e.unit,s=void 0===o?"px":o,l=e.step,c=void 0===l?5:l,u=(0,r.Z)(e,["values","unit","step"]);function d(e){var t="number"===typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(s,")")}function p(e,t){var r=a.indexOf(t);return r===a.length-1?d(e):"@media (min-width:".concat("number"===typeof n[e]?n[e]:e).concat(s,") and ")+"(max-width:".concat((-1!==r&&"number"===typeof n[a[r+1]]?n[a[r+1]]:t)-c/100).concat(s,")")}return(0,i.Z)({keys:a,values:n,up:d,down:function(e){var t=a.indexOf(e)+1,r=n[a[t]];return t===a.length?d("xs"):"@media (max-width:".concat(("number"===typeof r&&t>0?r:e)-c/100).concat(s,")")},between:p,only:function(e){return p(e,e)},width:function(e){return n[e]}},u)}(n),R=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=(0,k.h)({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return 0===n.length?t(1):1===n.length?t(n[0]):n.map((function(e){if("string"===typeof e)return e;var n=t(e);return"number"===typeof n?"".concat(n,"px"):n})).join(" ")};return Object.defineProperty(n,"unit",{get:function(){return e}}),n.mui=!0,n}(x),q=(0,o.Z)({breakpoints:L,direction:"ltr",mixins:l(L,R,O),overrides:{},palette:B,props:{},shadows:S,typography:w(B,T),spacing:R,shape:E,transitions:D.ZP,zIndex:N.Z},j),P=arguments.length,I=new Array(P>1?P-1:0),W=1;W<P;W++)I[W-1]=arguments[W];return q=I.reduce((function(e,t){return(0,o.Z)(e,t)}),q)}function j(){return T.apply(void 0,arguments)}var B=T},31187:function(e,t,n){"use strict";var r=(0,n(96908).Z)();t.Z=r},97241:function(e,t,n){"use strict";var r=n(87462),o=n(10091),i=n(31187);t.Z=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,o.Z)(e,(0,r.Z)({defaultTheme:i.Z},t))}},34093:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(87462),o=n(45987),i=n(47313),a=n(83061),s=n(67861),l=n.n(s),c=n(10091);function u(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=n.name,u=(0,o.Z)(n,["name"]);var d,p=s,f="function"===typeof t?function(e){return{root:function(n){return t((0,r.Z)({theme:e},n))}}}:{root:t},h=(0,c.Z)(f,(0,r.Z)({Component:e,name:s||e.displayName,classNamePrefix:p},u));t.filterProps&&(d=t.filterProps,delete t.filterProps),t.propTypes&&(t.propTypes,delete t.propTypes);var b=i.forwardRef((function(t,n){var s=t.children,l=t.className,c=t.clone,u=t.component,p=(0,o.Z)(t,["children","className","clone","component"]),f=h(t),b=(0,a.Z)(f.root,l),A=p;if(d&&(A=function(e,t){var n={};return Object.keys(e).forEach((function(r){-1===t.indexOf(r)&&(n[r]=e[r])})),n}(A,d)),c)return i.cloneElement(s,(0,r.Z)({className:(0,a.Z)(s.props.className,b)},A));if("function"===typeof s)return s((0,r.Z)({className:b},A));var m=u||e;return i.createElement(m,(0,r.Z)({ref:n,className:b},A),s)}));return l()(b,e),b}}var d=n(31187),p=function(e){var t=u(e);return function(e,n){return t(e,(0,r.Z)({defaultTheme:d.Z},n))}}},44006:function(e,t,n){"use strict";n.d(t,{Ui:function(){return o},x9:function(){return i}});var r=n(45987),o={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},i={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function a(e){return"".concat(Math.round(e),"ms")}t.ZP={easing:o,duration:i,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.duration,s=void 0===n?i.standard:n,l=t.easing,c=void 0===l?o.easeInOut:l,u=t.delay,d=void 0===u?0:u;(0,r.Z)(t,["duration","easing","delay"]);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"===typeof s?s:a(s)," ").concat(c," ").concat("string"===typeof d?d:a(d))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}}},31385:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(37420),o=(n(47313),n(31187));function i(){return(0,r.Z)()||o.Z}},52376:function(e,t,n){"use strict";var r=n(87462),o=n(30358),i=n(31187);t.Z=function(e,t){return(0,o.Z)(e,(0,r.Z)({defaultTheme:i.Z},t))}},74398:function(e,t){"use strict";t.Z={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500}},5475:function(e,t,n){"use strict";n.d(t,{C:function(){return o},n:function(){return r}});var r=function(e){return e.scrollTop};function o(e,t){var n=e.timeout,r=e.style,o=void 0===r?{}:r;return{duration:o.transitionDuration||"number"===typeof n?n:n[t.mode]||0,delay:o.transitionDelay}}},79685:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(803);function o(e){if("string"!==typeof e)throw new Error((0,r.Z)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},30468:function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return null==t?e:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e.apply(this,r),t.apply(this,r)}}),(function(){}))}n.d(t,{Z:function(){return r}})},14214:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(87462),o=n(47313),i=n(50835);function a(e,t){var n=function(t,n){return o.createElement(i.Z,(0,r.Z)({ref:n},t),e)};return n.muiName=i.Z.muiName,o.memo(o.forwardRef(n))}},10670:function(e,t,n){"use strict";function r(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];var a=this;clearTimeout(t),t=setTimeout((function(){e.apply(a,o)}),n)}return r.clear=function(){clearTimeout(t)},r}n.d(t,{Z:function(){return r}})},26958:function(e,t,n){"use strict";function r(){var e=document.createElement("div");e.style.width="99px",e.style.height="99px",e.style.position="absolute",e.style.top="-9999px",e.style.overflow="scroll",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t}n.d(t,{Z:function(){return r}})},84063:function(e,t,n){"use strict";n.r(t),n.d(t,{capitalize:function(){return r.Z},createChainedFunction:function(){return o.Z},createSvgIcon:function(){return i.Z},debounce:function(){return a.Z},deprecatedPropType:function(){return s},isMuiElement:function(){return l.Z},ownerDocument:function(){return c.Z},ownerWindow:function(){return u.Z},requirePropFactory:function(){return d},setRef:function(){return p.Z},unstable_useId:function(){return m.Z},unsupportedProp:function(){return f},useControlled:function(){return h.Z},useEventCallback:function(){return b.Z},useForkRef:function(){return A.Z},useIsFocusVisible:function(){return g.Z}});var r=n(79685),o=n(30468),i=n(14214),a=n(10670);function s(e,t){return function(){return null}}var l=n(62879),c=n(10516),u=n(63958);function d(e){return function(){return null}}var p=n(81225);function f(e,t,n,r,o){return null}var h=n(794),b=n(72705),A=n(38088),m=n(62531),g=n(96790)},62879:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(47313);function o(e,t){return r.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}},10516:function(e,t,n){"use strict";function r(e){return e&&e.ownerDocument||document}n.d(t,{Z:function(){return r}})},63958:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(10516);function o(e){return(0,r.Z)(e).defaultView||window}},81225:function(e,t,n){"use strict";function r(e,t){"function"===typeof e?e(t):e&&(e.current=t)}n.d(t,{Z:function(){return r}})},62531:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(47313);function o(e){var t=r.useState(e),n=t[0],o=t[1],i=e||n;return r.useEffect((function(){null==n&&o("mui-".concat(Math.round(1e5*Math.random())))}),[n]),i}},794:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(47313);function o(e){var t=e.controlled,n=e.default,o=(e.name,e.state,r.useRef(void 0!==t).current),i=r.useState(n),a=i[0],s=i[1];return[o?t:a,r.useCallback((function(e){o||s(e)}),[])]}},72705:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(47313),o="undefined"!==typeof window?r.useLayoutEffect:r.useEffect;function i(e){var t=r.useRef(e);return o((function(){t.current=e})),r.useCallback((function(){return t.current.apply(void 0,arguments)}),[])}},38088:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(47313),o=n(81225);function i(e,t){return r.useMemo((function(){return null==e&&null==t?null:function(n){(0,o.Z)(e,n),(0,o.Z)(t,n)}}),[e,t])}},96790:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(47313),o=n(1168),i=!0,a=!1,s=null,l={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function c(e){e.metaKey||e.altKey||e.ctrlKey||(i=!0)}function u(){i=!1}function d(){"hidden"===this.visibilityState&&a&&(i=!0)}function p(e){var t=e.target;try{return t.matches(":focus-visible")}catch(n){}return i||function(e){var t=e.type,n=e.tagName;return!("INPUT"!==n||!l[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function f(){a=!0,window.clearTimeout(s),s=window.setTimeout((function(){a=!1}),100)}function h(){return{isFocusVisible:p,onBlurVisible:f,ref:r.useCallback((function(e){var t,n=o.findDOMNode(e);null!=n&&((t=n.ownerDocument).addEventListener("keydown",c,!0),t.addEventListener("mousedown",u,!0),t.addEventListener("pointerdown",u,!0),t.addEventListener("touchstart",u,!0),t.addEventListener("visibilitychange",d,!0))}),[])}}},6143:function(e,t){"use strict";t.mP=t.Xl=t.Go=t.nx=t.FY=t.sv=t.Rb=t.jz=t.KL=t.gQ=t._Y=t._z=t.y1=t.lt=t.i$=void 0;var n={props:{MuiBreadcrumbs:{expandText:"\u041f\u043e\u043a\u0430\u0437\u0432\u0430\u043d\u0435 \u043d\u0430 \u043f\u044a\u0442\u044f"},MuiTablePagination:{backIconButtonText:"\u041f\u0440\u0435\u0434\u0438\u0448\u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430",labelRowsPerPage:"\u0420\u0435\u0434\u043e\u0432\u0435 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430:",labelDisplayedRows:function(e){var t=e.from,n=e.to,r=e.count;return"".concat(t,"-").concat(n," \u043e\u0442 ").concat(-1!==r?r:"more than ".concat(n))},nextIconButtonText:"\u0421\u043b\u0435\u0434\u0432\u0430\u0449\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430"},MuiRating:{getLabelText:function(e){return"".concat(e," \u0417\u0432\u0435\u0437\u0434").concat(1!==e?"\u0438":"\u0430")},emptyLabelText:"\u0418\u0437\u0447\u0438\u0441\u0442\u0438"},MuiAutocomplete:{clearText:"\u0418\u0437\u0447\u0438\u0441\u0442\u0438",closeText:"\u0417\u0430\u0442\u0432\u043e\u0440\u0438",loadingText:"\u0417\u0430\u0440\u0435\u0436\u0434\u0430\u043d\u0435\u2026",noOptionsText:"\u041d\u044f\u043c\u0430 \u043d\u0430\u043b\u0438\u0447\u043d\u0438 \u043e\u043f\u0446\u0438\u0438",openText:"\u041e\u0442\u0432\u043e\u0440\u0438"},MuiAlert:{closeText:"\u0417\u0430\u0442\u0432\u043e\u0440\u0438"},MuiPagination:{"aria-label":"\u041f\u0430\u0433\u0438\u043d\u0430\u0446\u0438\u044f",getItemAriaLabel:function(e,t,n){return"page"===e?"".concat(n?"":"\u041a\u044a\u043c ","\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 ").concat(t):"first"===e?"\u041e\u0442\u0438\u0434\u0438 \u043d\u0430 \u043f\u044a\u0440\u0432\u0430\u0442\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430":"last"===e?"\u041e\u0442\u0438\u0434\u0438 \u043d\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0430\u0442\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430":"next"===e?"\u041e\u0442\u0438\u0434\u0438 \u043d\u0430 \u0441\u043b\u0435\u0434\u0432\u0430\u0449\u0430\u0442\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430":"previous"===e?"\u041e\u0442\u0438\u0434\u0438 \u043d\u0430 \u043f\u0440\u0435\u0434\u0438\u0448\u043d\u0430\u0442\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430":void 0}}}};t.i$=n;var r={props:{MuiBreadcrumbs:{expandText:"Uk\xe1zat cestu"},MuiTablePagination:{backIconButtonText:"P\u0159edchoz\xed str\xe1nka",labelRowsPerPage:"\u0158\xe1dk\u016f na str\xe1nce:",labelDisplayedRows:function(e){var t=e.from,n=e.to,r=e.count;return"".concat(t,"-").concat(n," z ").concat(-1!==r?r:"more than ".concat(n))},nextIconButtonText:"Dal\u0161\xed str\xe1nka"},MuiRating:{getLabelText:function(e){return"".concat(e,1===e?" hv\u011bzdi\u010dka":e>=2&&e<=4?" hv\u011bzdi\u010dky":" hv\u011bzdi\u010dek")},emptyLabelText:"Pr\xe1zdn\xe9"},MuiAutocomplete:{clearText:"Vymazat",closeText:"Zav\u0159\xedt",loadingText:"Na\u010d\xedt\xe1n\xed\u2026",noOptionsText:"\u017d\xe1dn\xe9 mo\u017enosti",openText:"Otev\u0159\xedt"},MuiAlert:{closeText:"Zav\u0159\xedt"},MuiPagination:{"aria-label":"Navigace str\xe1nkov\xe1n\xedm",getItemAriaLabel:function(e,t,n){return"page"===e?"".concat(n?"":"J\xedt na ").concat(t," str\xe1nku"):"first"===e?"J\xedt na prvn\xed str\xe1nku":"last"===e?"J\xedt na posledn\xed str\xe1nku":"next"===e?"J\xedt na dal\u0161\xed str\xe1nku":"previous"===e?"J\xedt na p\u0159edchoz\xed str\xe1nku":void 0}}}};t.lt=r;var o={props:{MuiBreadcrumbs:{expandText:"Pfad anzeigen"},MuiTablePagination:{backIconButtonText:"N\xe4chste Seite",labelRowsPerPage:"Zeilen pro Seite:",labelDisplayedRows:function(e){var t=e.from,n=e.to,r=e.count;return"".concat(t,"-").concat(n," von ").concat(-1!==r?r:"more than ".concat(n))},nextIconButtonText:"N\xe4chste Seite"},MuiRating:{getLabelText:function(e){return"".concat(e," ").concat(1!==e?"Sterne":"Stern")},emptyLabelText:"Keine Wertung"},MuiAutocomplete:{clearText:"Leeren",closeText:"Schlie\xdfen",loadingText:"Wird geladen\u2026",noOptionsText:"Keine Optionen",openText:"\xd6ffnen"},MuiAlert:{closeText:"Schlie\xdfen"},MuiPagination:{"aria-label":"Navigation via Seitennummerierung",getItemAriaLabel:function(e,t,n){return"page"===e?"".concat(n?"":"Gehe zu ","Seite ").concat(t):"first"===e?"Zur ersten Seite":"last"===e?"Zur letzten Seite":"next"===e?"Zur n\xe4chsten Seite":"previous"===e?"Zur vorherigen Seite":void 0}}}};t.y1=o;t._z={};var i={props:{MuiBreadcrumbs:{expandText:"Mostrar ruta"},MuiTablePagination:{backIconButtonText:"P\xe1gina anterior",labelRowsPerPage:"Filas por p\xe1gina:",labelDisplayedRows:function(e){var t=e.from,n=e.to,r=e.count;return"".concat(t,"-").concat(n," de ").concat(-1!==r?r:"more than ".concat(n))},nextIconButtonText:"Siguiente p\xe1gina"},MuiRating:{getLabelText:function(e){return"".concat(e," Estrella").concat(1!==e?"s":"")},emptyLabelText:"Vac\xedo"},MuiAutocomplete:{clearText:"Limpiar",closeText:"Cerrar",loadingText:"Cargando\u2026",noOptionsText:"Sin opciones",openText:"Abierto"},MuiAlert:{closeText:"Cerrar"},MuiPagination:{"aria-label":"Paginador",getItemAriaLabel:function(e,t,n){return"page"===e?"".concat(n?"":"Ir a la ","p\xe1gina ").concat(t):"first"===e?"Ir a la primera p\xe1gina":"last"===e?"Ir a la \xfaltima p\xe1gina":"next"===e?"Ir a la p\xe1gina siguiente":"previous"===e?"Ir a la p\xe1gina anterior":void 0}}}};t._Y=i;var a={props:{MuiBreadcrumbs:{expandText:"Montrer le chemin"},MuiTablePagination:{backIconButtonText:"Page pr\xe9c\xe9dente",labelRowsPerPage:"Lignes par page :",labelDisplayedRows:function(e){var t=e.from,n=e.to,r=e.count;return"".concat(t,"-").concat(n," sur ").concat(-1!==r?r:"plus que ".concat(n))},nextIconButtonText:"Page suivante"},MuiRating:{getLabelText:function(e){return"".concat(e," Etoile").concat(1!==e?"s":"")},emptyLabelText:"Vide"},MuiAutocomplete:{clearText:"Vider",closeText:"Fermer",loadingText:"Chargement\u2026",noOptionsText:"Pas de r\xe9sultats",openText:"Ouvrir"},MuiAlert:{closeText:"Fermer"},MuiPagination:{"aria-label":"navigation de pagination",getItemAriaLabel:function(e,t,n){return"page"===e?"".concat(n?"":"Aller \xe0 la ","page ").concat(t):"first"===e?"Aller \xe0 la premi\xe8re page":"last"===e?"Aller \xe0 la derni\xe8re page":"next"===e?"Aller \xe0 la page suivante":"previous"===e?"Aller \xe0 la page pr\xe9c\xe9dente":void 0}}}};t.gQ=a;var s={props:{MuiBreadcrumbs:{expandText:"Visualizza percorso"},MuiTablePagination:{backIconButtonText:"Pagina precedente",labelRowsPerPage:"Righe per pagina:",labelDisplayedRows:function(e){var t=e.from,n=e.to,r=e.count;return"".concat(t,"-").concat(n," di ").concat(-1!==r?r:"more than ".concat(n))},nextIconButtonText:"Pagina successiva"},MuiRating:{getLabelText:function(e){return"".concat(e," Stell").concat(1!==e?"e":"a")},emptyLabelText:"Vuoto"},MuiAutocomplete:{clearText:"Svuota",closeText:"Chiudi",loadingText:"Caricamento in corso\u2026",noOptionsText:"Nessuna opzione",openText:"Apri"},MuiAlert:{closeText:"Chiudi"},MuiPagination:{"aria-label":"Navigazione impaginata",getItemAriaLabel:function(e,t,n){return"page"===e?"".concat(n?"":"Vai alla ","pagina ").concat(t):"first"===e?"Vai alla prima pagina":"last"===e?"Vai all'ultima pagina":"next"===e?"Vai alla pagina successiva":"previous"===e?"Vai alla pagina precedente":void 0}}}};t.KL=s;t.jz={props:{MuiTablePagination:{backIconButtonText:"\u524d\u306e\u30da\u30fc\u30b8",labelRowsPerPage:"\u30da\u30fc\u30b8\u3054\u3068\u306e\u884c:",labelDisplayedRows:function(e){var t=e.from,n=e.to,r=e.count;return"".concat(t,"-").concat(n," of ").concat(-1!==r?r:"more than ".concat(n))},nextIconButtonText:"\u6b21\u306e\u30da\u30fc\u30b8"},MuiRating:{getLabelText:function(e){return"".concat(e," ").concat(1!==e?"\u51fa\u6f14\u8005":"\u661f")}},MuiAutocomplete:{clearText:"\u30af\u30ea\u30a2",closeText:"\u9589\u3058\u308b",loadingText:"\u7a4d\u307f\u8fbc\u307f\u2026",noOptionsText:"\u7d50\u679c\u304c\u3042\u308a\u307e\u305b\u3093",openText:"\u958b\u3044\u305f"},MuiAlert:{closeText:"\u9589\u3058\u308b"}}};t.Rb={props:{MuiTablePagination:{backIconButtonText:"Vorige pagina",labelRowsPerPage:"Regels per pagina :",labelDisplayedRows:function(e){var t=e.from,n=e.to,r=e.count;return"".concat(t,"-").concat(n," van ").concat(-1!==r?r:"more than ".concat(n))},nextIconButtonText:"Volgende pagina"},MuiRating:{getLabelText:function(e){return"".concat(e," Ster").concat(1!==e?"ren":"")}},MuiAutocomplete:{clearText:"Wissen",closeText:"Sluiten",loadingText:"Laden\u2026",noOptionsText:"Geen opties",openText:"Openen"},MuiAlert:{closeText:"Sluiten"}}};var l={props:{MuiBreadcrumbs:{expandText:"Poka\u017c \u015bcie\u017ck\u0119"},MuiTablePagination:{backIconButtonText:"Poprzednia strona",labelRowsPerPage:"Wierszy na stron\u0119:",labelDisplayedRows:function(e){var t=e.from,n=e.to,r=e.count;return"".concat(t,"-").concat(n," z ").concat(-1!==r?r:"more than ".concat(n))},nextIconButtonText:"Nast\u0119pna strona"},MuiRating:{getLabelText:function(e){var t="gwiazdek",n=e%10;return(e<10||e>20)&&n>1&&n<5?t="gwiazdki":1===e&&(t="gwiazdka"),"".concat(e," ").concat(t)},emptyLabelText:"Brak gwiazdek"},MuiAutocomplete:{clearText:"Wyczy\u015b\u0107",closeText:"Zamknij",loadingText:"\u0141adowanie\u2026",noOptionsText:"Brak opcji",openText:"Otw\xf3rz"},MuiAlert:{closeText:"Zamknij"},MuiPagination:{"aria-label":"Nawigacja podzia\u0142u na strony",getItemAriaLabel:function(e,t,n){return"page"===e?n?"".concat(t,". strona"):"Przejd\u017a do ".concat(t,". strony"):"first"===e?"Przejd\u017a do pierwszej strony":"last"===e?"Przejd\u017a do ostatniej strony":"next"===e?"Przejd\u017a do nast\u0119pnej strony":"previous"===e?"Przejd\u017a do poprzedniej strony":void 0}}}};t.sv=l;var c={props:{MuiBreadcrumbs:{expandText:"Mostrar caminho"},MuiTablePagination:{backIconButtonText:"P\xe1gina anterior",labelRowsPerPage:"Linhas por p\xe1gina:",labelDisplayedRows:function(e){var t=e.from,n=e.to,r=e.count;return"".concat(t,"-").concat(n," de ").concat(-1!==r?r:"more than ".concat(n))},nextIconButtonText:"Pr\xf3xima p\xe1gina"},MuiRating:{getLabelText:function(e){return"".concat(e," Estrela").concat(1!==e?"s":"")},emptyLabelText:"Vazio"},MuiAutocomplete:{clearText:"Limpar",closeText:"Fechar",loadingText:"Carregando\u2026",noOptionsText:"Sem op\xe7\xf5es",openText:"Abrir"},MuiAlert:{closeText:"Fechar"},MuiPagination:{"aria-label":"Navegar pela pagina\xe7\xe3o",getItemAriaLabel:function(e,t,n){return"page"===e?"".concat(n?"":"Ir para a ","p\xe1gina ").concat(t):"first"===e?"Ir para a primeira p\xe1gina":"last"===e?"Ir para a \xfaltima p\xe1gina":"next"===e?"Ir para a pr\xf3xima p\xe1gina":"previous"===e?"Ir para a p\xe1gina anterior":void 0}}}};t.FY=c;t.nx={props:{MuiTablePagination:{backIconButtonText:"\u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430",labelRowsPerPage:"\u0421\u0442\u0440\u043e\u043a \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435:",labelDisplayedRows:function(e){var t=e.from,n=e.to,r=e.count;return"".concat(t,"-").concat(n," \u0438\u0437 ").concat(-1!==r?r:"\u0431\u043e\u043b\u0435\u0435 \u0447\u0435\u043c ".concat(n))},nextIconButtonText:"\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430"},MuiRating:{getLabelText:function(e){var t="\u0417\u0432\u0451\u0437\u0434",n=e%10;return n>1&&n<5?t="\u0417\u0432\u0435\u0437\u0434\u044b":1===n&&(t="\u0417\u0432\u0435\u0437\u0434\u0430"),"".concat(e," ").concat(t)}},MuiAutocomplete:{clearText:"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c",closeText:"\u0417\u0430\u043a\u0440\u044b\u0442\u044c",loadingText:"\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430\u2026",noOptionsText:"\u041d\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432",openText:"\u041e\u0442\u043a\u0440\u044b\u0442\u044c"},MuiAlert:{closeText:"\u0417\u0430\u043a\u0440\u044b\u0442\u044c"}}};t.Go={props:{MuiTablePagination:{backIconButtonText:"Predch\xe1dzaj\xfaca str\xe1nka",labelRowsPerPage:"Riadkov na str\xe1nke:",labelDisplayedRows:function(e){var t=e.from,n=e.to,r=e.count;return"".concat(t,"-").concat(n," z ").concat(-1!==r?r:"more than ".concat(n))},nextIconButtonText:"\u010eal\u0161ia str\xe1nka"},MuiRating:{getLabelText:function(e){return"".concat(e,1===e?" hviezdi\u010dka":e>=2&&e<=4?" hviezdi\u010dky":" hviezdi\u010diek")}},MuiAutocomplete:{clearText:"Vymaza\u0165",closeText:"Zavrie\u0165",loadingText:"Na\u010d\xedtanie\u2026",noOptionsText:"\u017diadne mo\u017enosti",openText:"Otvori\u0165"},MuiAlert:{closeText:"Zavrie\u0165"}}};var u={props:{MuiBreadcrumbs:{expandText:"Yolu g\xf6ster"},MuiTablePagination:{backIconButtonText:"\xd6nceki sayfa",labelRowsPerPage:"Sayfa ba\u015f\u0131na sat\u0131r:",labelDisplayedRows:function(e){var t=e.from,n=e.to,r=e.count;return"".concat(t,"-").concat(n," tanesinden ").concat(-1!==r?r:"more than ".concat(n))},nextIconButtonText:"Sonraki sayfa"},MuiRating:{getLabelText:function(e){return"".concat(e," Y\u0131ld\u0131z")},emptyLabelText:"Bo\u015f"},MuiAutocomplete:{clearText:"Temizle",closeText:"Kapat",loadingText:"Y\xfckleniyor\u2026",noOptionsText:"Se\xe7enek yok",openText:"A\xe7"},MuiAlert:{closeText:"Kapat"},MuiPagination:{"aria-label":"Sayfa navigasyonu",getItemAriaLabel:function(e,t,n){return"page"===e?"".concat(t,". ").concat(n?"sayfa":"sayfaya git"):"first"===e?"\u0130lk sayfaya git":"last"===e?"Son sayfaya git":"next"===e?"Sonraki sayfaya git":"previous"===e?"\xd6nceki sayfaya git":void 0}}}};t.Xl=u;var d={props:{MuiBreadcrumbs:{expandText:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u0438 \u0448\u043b\u044f\u0445 \u0441\u0442\u043e\u0440\u0456\u043d\u043e\u043a"},MuiTablePagination:{backIconButtonText:"\u041f\u043e\u043f\u0435\u0440\u0435\u0434\u043d\u044f \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0430",labelRowsPerPage:"\u0420\u044f\u0434\u043a\u0456\u0432 \u043d\u0430 \u0441\u0442\u043e\u0440\u0456\u043d\u0446\u0456:",labelDisplayedRows:function(e){var t=e.from,n=e.to,r=e.count;return"".concat(t,"-").concat(n," \u0437 ").concat(-1!==r?r:"\u043f\u043e\u043d\u0430\u0434 ".concat(n))},nextIconButtonText:"\u041d\u0430\u0441\u0442\u0443\u043f\u043d\u0430 \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0430"},MuiRating:{getLabelText:function(e){var t="\u0417\u0456\u0440\u043e\u043a",n=e%10;return n>1&&n<5?t="\u0417\u0456\u0440\u043a\u0438":1===n&&(t="\u0417\u0456\u0440\u043a\u0430"),"".concat(e," ").concat(t)},emptyLabelText:"\u0420\u0435\u0439\u0442\u0438\u043d\u0433 \u0432\u0456\u0434\u0441\u0443\u0442\u043d\u0456\u0439"},MuiAutocomplete:{clearText:"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u0438",closeText:"\u0417\u0433\u043e\u0440\u043d\u0443\u0442\u0438",loadingText:"\u0417\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f\u2026",noOptionsText:"\u041d\u0435\u043c\u0430\u0454 \u0432\u0430\u0440\u0456\u0430\u043d\u0442\u0456\u0432",openText:"\u0420\u043e\u0437\u0433\u043e\u0440\u043d\u0443\u0442\u0438"},MuiAlert:{closeText:"\u0417\u0433\u043e\u0440\u043d\u0443\u0442\u0438"},MuiPagination:{"aria-label":"\u041d\u0430\u0432\u0456\u0433\u0430\u0446\u0456\u044f \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0430\u043c\u0438",getItemAriaLabel:function(e,t,n){return"page"===e?"".concat(n?"":"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 ","\u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0443 ").concat(t):"first"===e?"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u043f\u0435\u0440\u0448\u0443 \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0443":"last"===e?"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u043e\u0441\u0442\u0430\u043d\u043d\u044e \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0443":"next"===e?"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443 \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0443":"previous"===e?"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u043f\u043e\u043f\u0435\u0440\u0435\u0434\u043d\u044e \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0443":void 0}}}};t.mP=d},24779:function(e,t,n){"use strict";n.d(t,{_$r:function(){return gs},zJo:function(){return ss}});var r={};n.r(r),n.d(r,{MuiThemeProvider:function(){return $.Z},ServerStyleSheets:function(){return H},StylesProvider:function(){return Z.ZP},ThemeProvider:function(){return $.Z},alpha:function(){return m.Fq},createGenerateClassName:function(){return W.Z},createMuiTheme:function(){return g.A},createStyles:function(){return M.Z},createTheme:function(){return g.Z},darken:function(){return m._j},decomposeColor:function(){return m.tB},duration:function(){return N.x9},easing:function(){return N.Ui},emphasize:function(){return m._4},fade:function(){return m.U1},getContrastRatio:function(){return m.mi},getLuminance:function(){return m.H3},hexToRgb:function(){return m.oo},hslToRgb:function(){return m.ve},jssPreset:function(){return F.Z},lighten:function(){return m.$n},makeStyles:function(){return O.Z},recomposeColor:function(){return m.wy},responsiveFontSizes:function(){return k},rgbToHex:function(){return m.vq},styled:function(){return D.Z},unstable_createMuiStrictModeTheme:function(){return y},useTheme:function(){return T.Z},withStyles:function(){return j.Z},withTheme:function(){return I}});var o=n(15671),i=n(43144),a=n(60136),s=n(29388),l=n(29439),c=n(93433),u=n(47313),d=n(83061),p="NOT_FOUND";var f=function(e,t){return e===t};function h(e,t){var n="object"===typeof t?t:{equalityCheck:t},r=n.equalityCheck,o=void 0===r?f:r,i=n.maxSize,a=void 0===i?1:i,s=n.resultEqualityCheck,l=function(e){return function(t,n){if(null===t||null===n||t.length!==n.length)return!1;for(var r=t.length,o=0;o<r;o++)if(!e(t[o],n[o]))return!1;return!0}}(o),c=1===a?function(e){var t;return{get:function(n){return t&&e(t.key,n)?t.value:p},put:function(e,n){t={key:e,value:n}},getEntries:function(){return t?[t]:[]},clear:function(){t=void 0}}}(l):function(e,t){var n=[];function r(e){var r=n.findIndex((function(n){return t(e,n.key)}));if(r>-1){var o=n[r];return r>0&&(n.splice(r,1),n.unshift(o)),o.value}return p}return{get:r,put:function(t,o){r(t)===p&&(n.unshift({key:t,value:o}),n.length>e&&n.pop())},getEntries:function(){return n},clear:function(){n=[]}}}(a,l);function u(){var t=c.get(arguments);if(t===p){if(t=e.apply(null,arguments),s){var n=c.getEntries().find((function(e){return s(e.value,t)}));n&&(t=n.value)}c.put(arguments,t)}return t}return u.clearCache=function(){return c.clear()},u}function b(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];var i,a=0,s={memoizeOptions:void 0},l=r.pop();if("object"===typeof l&&(s=l,l=r.pop()),"function"!==typeof l)throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof l+"]");var c=s.memoizeOptions,u=void 0===c?n:c,d=Array.isArray(u)?u:[u],p=function(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every((function(e){return"function"===typeof e}))){var n=t.map((function(e){return"function"===typeof e?"function "+(e.name||"unnamed")+"()":typeof e})).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+n+"]")}return t}(r),f=e.apply(void 0,[function(){return a++,l.apply(null,arguments)}].concat(d)),h=e((function(){for(var e=[],t=p.length,n=0;n<t;n++)e.push(p[n].apply(null,arguments));return i=f.apply(null,e)}));return Object.assign(h,{resultFunc:l,memoizedResultFunc:f,dependencies:p,lastResult:function(){return i},recomputations:function(){return a},resetRecomputations:function(){return a=0}}),h}}var A=b(h),m=n(13644),g=n(96908),v=n(68272);function y(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return g.Z.apply(void 0,[(0,v.Z)({unstable_strictMode:!0},e)].concat(n))}var M=n(88137),O=n(97241),_=n(87462),z=n(803),x=n(4942);function w(e){return String(parseFloat(e)).length===String(e).length}function C(e){return parseFloat(e)}function S(e){return function(t,n){var r=String(t).match(/[\d.\-+]*\s*(.*)/)[1]||"";if(r===n)return t;var o=C(t);if("px"!==r)if("em"===r)o=C(t)*C(e);else if("rem"===r)return o=C(t)*C(e),t;var i=o;if("px"!==n)if("em"===n)i=o/C(e);else{if("rem"!==n)return t;i=o/C(e)}return parseFloat(i.toFixed(5))+n}}function E(e){var t=e.lineHeight;return e.pixels/(t*e.htmlFontSize)}function k(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.breakpoints,r=void 0===n?["sm","md","lg"]:n,o=t.disableAlign,i=void 0!==o&&o,a=t.factor,s=void 0===a?2:a,l=t.variants,c=void 0===l?["h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","caption","button","overline"]:l,u=(0,_.Z)({},e);u.typography=(0,_.Z)({},u.typography);var d=u.typography,p=S(d.htmlFontSize),f=r.map((function(e){return u.breakpoints.values[e]}));return c.forEach((function(e){var t=d[e],n=parseFloat(p(t.fontSize,"rem"));if(!(n<=1)){var r=n,o=1+(r-1)/s,a=t.lineHeight;if(!w(a)&&!i)throw new Error((0,z.Z)(6));w(a)||(a=parseFloat(p(a,"rem"))/parseFloat(n));var l=null;i||(l=function(e){return function(e){var t=e.size,n=e.grid,r=t-t%n,o=r+n;return t-r<o-t?r:o}({size:e,grid:E({pixels:4,lineHeight:a,htmlFontSize:d.htmlFontSize})})}),d[e]=(0,_.Z)({},t,function(e){var t=e.cssProperty,n=e.min,r=e.max,o=e.unit,i=void 0===o?"rem":o,a=e.breakpoints,s=void 0===a?[600,960,1280]:a,l=e.transform,c=void 0===l?null:l,u=(0,x.Z)({},t,"".concat(n).concat(i)),d=(r-n)/s[s.length-1];return s.forEach((function(e){var r=n+d*e;null!==c&&(r=c(r)),u["@media (min-width:".concat(e,"px)")]=(0,x.Z)({},t,"".concat(Math.round(1e4*r)/1e4).concat(i))})),u}({cssProperty:"fontSize",min:o,max:r,unit:"rem",breakpoints:f,transform:l}))}})),u}var D=n(34093),N=n(44006),T=n(31385),j=n(52376),B=n(45987),L=n(67861),R=n.n(L),q=n(37420);function P(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).defaultTheme;return function(t){var n=u.forwardRef((function(n,r){var o=n.innerRef,i=(0,B.Z)(n,["innerRef"]),a=(0,q.Z)()||e;return u.createElement(t,(0,_.Z)({theme:a,ref:o||r},i))}));return R()(n,t),n}}P();var I=P({defaultTheme:n(31187).Z}),W=n(85383),F=n(35698),U=n(60792),Z=n(93324),H=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,o.Z)(this,e),this.options=t}return(0,i.Z)(e,[{key:"collect",value:function(e){var t=new Map;this.sheetsRegistry=new U.xE;var n=(0,W.Z)();return u.createElement(Z.ZP,(0,_.Z)({sheetsManager:t,serverGenerateClassName:n,sheetsRegistry:this.sheetsRegistry},this.options),e)}},{key:"toString",value:function(){return this.sheetsRegistry?this.sheetsRegistry.toString():""}},{key:"getStyleElement",value:function(e){return u.createElement("style",(0,_.Z)({id:"jss-server-side",key:"jss-server-side",dangerouslySetInnerHTML:{__html:this.toString()}},e))}}]),e}(),$=n(27010),V=n(72705),X=n(38088),Q=n(14214),Y=n(62531),G=n(63958),K=n(79685),J=n(10516),ee=n(10670),te=n(10091),ne=n(83621),re=n(93015),oe=n(72728),ie=n(34960),ae=n(73002),se=n(14636),le=u.forwardRef((function(e,t){var n=e.anchorOrigin,r=void 0===n?{vertical:"top",horizontal:"right"}:n,o=e.badgeContent,i=e.children,a=e.classes,s=e.className,l=e.color,c=void 0===l?"default":l,p=e.component,f=void 0===p?"span":p,h=e.invisible,b=e.max,A=void 0===b?99:b,m=e.overlap,g=void 0===m?"rectangle":m,v=e.showZero,y=void 0!==v&&v,M=e.variant,O=void 0===M?"standard":M,z=(0,B.Z)(e,["anchorOrigin","badgeContent","children","classes","className","color","component","invisible","max","overlap","showZero","variant"]),x=h;null==h&&(0===o&&!y||null==o&&"dot"!==O)&&(x=!0);var w="";return"dot"!==O&&(w=o>A?"".concat(A,"+"):o),u.createElement(f,(0,_.Z)({className:(0,d.Z)(a.root,s),ref:t},z),i,u.createElement("span",{className:(0,d.Z)(a.badge,a["".concat(r.horizontal).concat((0,K.Z)(r.vertical),"}")],a["anchorOrigin".concat((0,K.Z)(r.vertical)).concat((0,K.Z)(r.horizontal)).concat((0,K.Z)(g))],"default"!==c&&a["color".concat((0,K.Z)(c))],x&&a.invisible,"dot"===O&&a.dot)},w))})),ce=(0,j.Z)((function(e){return{root:{position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0},badge:{display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen})},colorPrimary:{backgroundColor:e.palette.primary.main,color:e.palette.primary.contrastText},colorSecondary:{backgroundColor:e.palette.secondary.main,color:e.palette.secondary.contrastText},colorError:{backgroundColor:e.palette.error.main,color:e.palette.error.contrastText},dot:{borderRadius:4,height:8,minWidth:8,padding:0},anchorOriginTopRightRectangle:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%","&$invisible":{transform:"scale(0) translate(50%, -50%)"}},anchorOriginTopRightRectangular:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%","&$invisible":{transform:"scale(0) translate(50%, -50%)"}},anchorOriginBottomRightRectangle:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%","&$invisible":{transform:"scale(0) translate(50%, 50%)"}},anchorOriginBottomRightRectangular:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%","&$invisible":{transform:"scale(0) translate(50%, 50%)"}},anchorOriginTopLeftRectangle:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%","&$invisible":{transform:"scale(0) translate(-50%, -50%)"}},anchorOriginTopLeftRectangular:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%","&$invisible":{transform:"scale(0) translate(-50%, -50%)"}},anchorOriginBottomLeftRectangle:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%","&$invisible":{transform:"scale(0) translate(-50%, 50%)"}},anchorOriginBottomLeftRectangular:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%","&$invisible":{transform:"scale(0) translate(-50%, 50%)"}},anchorOriginTopRightCircle:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%","&$invisible":{transform:"scale(0) translate(50%, -50%)"}},anchorOriginTopRightCircular:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%","&$invisible":{transform:"scale(0) translate(50%, -50%)"}},anchorOriginBottomRightCircle:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%","&$invisible":{transform:"scale(0) translate(50%, 50%)"}},anchorOriginBottomRightCircular:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%","&$invisible":{transform:"scale(0) translate(50%, 50%)"}},anchorOriginTopLeftCircle:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%","&$invisible":{transform:"scale(0) translate(-50%, -50%)"}},anchorOriginTopLeftCircular:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%","&$invisible":{transform:"scale(0) translate(-50%, -50%)"}},anchorOriginBottomLeftCircle:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%","&$invisible":{transform:"scale(0) translate(-50%, 50%)"}},anchorOriginBottomLeftCircular:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%","&$invisible":{transform:"scale(0) translate(-50%, 50%)"}},invisible:{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}}}),{name:"MuiBadge"})(le),ue=n(54070),de=n(34882),pe=n(19828),fe=n(67695),he=n(82277),be=n(85616),Ae="undefined"!==typeof window?u.useLayoutEffect:u.useEffect;var me,ge=function(e){var t=e.children,n=e.defer,r=void 0!==n&&n,o=e.fallback,i=void 0===o?null:o,a=u.useState(!1),s=a[0],l=a[1];return Ae((function(){r||l(!0)}),[r]),u.useEffect((function(){r&&l(!0)}),[r]),u.createElement(u.Fragment,null,s?t:i)},ve=n(70476),ye=n(90431),Me=n(20337),Oe=n(56446),_e=n(35814),ze=n(6085),xe=n(2297),we=n(88340),Ce=u.forwardRef((function(e,t){var n=e.classes,r=e.className,o=(0,B.Z)(e,["classes","className"]),i=u.useContext(we.Z);return u.createElement("div",(0,_.Z)({className:(0,d.Z)(n.root,r,"flex-start"===i.alignItems&&n.alignItemsFlexStart),ref:t},o))})),Se=(0,j.Z)((function(e){return{root:{minWidth:56,color:e.palette.action.active,flexShrink:0,display:"inline-flex"},alignItemsFlexStart:{marginTop:8}}}),{name:"MuiListItemIcon"})(Ce),Ee=n(3873),ke=n(8441),De=n(6143),Ne=n(75192),Te=n.n(Ne);e=n.hmd(e),function(e){e.resize="resize",e.debouncedResize="debouncedResize",e.componentError="componentError",e.unmount="unmount",e.cellModeChange="cellModeChange",e.cellClick="cellClick",e.cellDoubleClick="cellDoubleClick",e.cellMouseDown="cellMouseDown",e.cellMouseUp="cellMouseUp",e.cellOver="cellOver",e.cellOut="cellOut",e.cellEnter="cellEnter",e.cellLeave="cellLeave",e.cellKeyDown="cellKeyDown",e.cellBlur="cellBlur",e.cellFocus="cellFocus",e.cellFocusOut="cellFocusOut",e.cellDragStart="cellDragStart",e.cellDragEnter="cellDragEnter",e.cellDragOver="cellDragOver",e.cellDragEnd="cellDragEnd",e.editCellPropsChange="editCellPropsChange",e.cellEditCommit="cellEditCommit",e.cellEditStart="cellEditStart",e.cellEditStop="cellEditStop",e.cellNavigationKeyDown="cellNavigationKeyDown",e.rowClick="rowClick",e.rowDoubleClick="rowDoubleClick",e.rowOver="rowOver",e.rowOut="rowOut",e.rowEnter="rowEnter",e.rowLeave="rowLeave",e.editRowsModelChange="editRowsModelChange",e.columnHeaderBlur="columnHeaderBlur",e.columnHeaderFocus="columnHeaderFocus",e.columnHeaderNavigationKeyDown="columnHeaderNavigationKeyDown",e.columnHeaderKeyDown="columnHeaderKeyDown",e.columnHeaderClick="columnHeaderClick",e.columnHeaderDoubleClick="columnHeaderDoubleClick",e.columnHeaderOver="columnHeaderOver",e.columnHeaderOut="columnHeaderOut",e.columnHeaderEnter="columnHeaderEnter",e.columnHeaderLeave="columnHeaderLeave",e.columnHeaderDragStart="columnHeaderDragStart",e.columnHeaderDragOver="columnHeaderDragOver",e.columnHeaderDragEnter="columnHeaderDragEnter",e.columnHeaderDragEnd="columnHeaderDragEnd",e.selectionChange="selectionChange",e.pageChange="pageChange",e.pageSizeChange="pageSizeChange",e.rowsScroll="rowsScroll",e.rowsScrollEnd="rowsScrollEnd",e.columnSeparatorMouseDown="columnSeparatorMouseDown",e.columnResize="columnResize",e.columnWidthChange="columnWidthChange",e.columnResizeStart="columnResizeStart",e.columnResizeStop="columnResizeStop",e.columnOrderChange="columnOrderChange",e.rowsUpdate="rowsUpdate",e.rowsSet="rowsSet",e.rowsClear="rowsClear",e.columnsChange="columnsChange",e.sortModelChange="sortModelChange",e.filterModelChange="filterModelChange",e.stateChange="stateChange",e.columnVisibilityChange="columnVisibilityChange",e.viewportRowsChange="viewportRowsChange"}(me||(me={}));var je=u.createContext(void 0);function Be(){var e=u.useContext(je);if(void 0===e)throw new Error(["Material-UI X: Could not find the data grid context.","It looks like you rendered your component outside of a DataGrid or XGrid parent component.","This can also happen if you are bundling multiple versions of the data grid."].join("\n"));return e}var Le=function(e){return e.columns.lookup},Re=A((function(e){return e.columns.all}),Le,(function(e,t){return e.map((function(e){return t[e]}))})),qe=A(Re,(function(e){return e.filter((function(e){return null!=e.field&&!e.hide}))})),Pe=A(qe,(function(e){var t=[];return{totalWidth:e.reduce((function(e,n){return t.push(e),e+n.computedWidth}),0),positions:t}})),Ie=A(Re,(function(e){return e.filter((function(e){return e.filterable}))})),We=A(Ie,(function(e){return e.map((function(e){return e.field}))})),Fe=A(qe,(function(e){return e.length})),Ue=A(Pe,(function(e){return e.totalWidth}));function Ze(e,t){return e===t||e!=e&&t!=t}function He(e,t){for(var n=e.length;n--;)if(Ze(e[n][0],t))return n;return-1}var $e=Array.prototype.splice;function Ve(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Ve.prototype.clear=function(){this.__data__=[],this.size=0},Ve.prototype.delete=function(e){var t=this.__data__,n=He(t,e);return!(n<0)&&(n==t.length-1?t.pop():$e.call(t,n,1),--this.size,!0)},Ve.prototype.get=function(e){var t=this.__data__,n=He(t,e);return n<0?void 0:t[n][1]},Ve.prototype.has=function(e){return He(this.__data__,e)>-1},Ve.prototype.set=function(e,t){var n=this.__data__,r=He(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};var Xe="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,Qe="object"==typeof self&&self&&self.Object===Object&&self,Ye=Xe||Qe||Function("return this")(),Ge=Ye.Symbol,Ke=Object.prototype,Je=Ke.hasOwnProperty,et=Ke.toString,tt=Ge?Ge.toStringTag:void 0,nt=Object.prototype.toString,rt=Ge?Ge.toStringTag:void 0;function ot(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":rt&&rt in Object(e)?function(e){var t=Je.call(e,tt),n=e[tt];try{e[tt]=void 0;var r=!0}catch(e){}var o=et.call(e);return r&&(t?e[tt]=n:delete e[tt]),o}(e):function(e){return nt.call(e)}(e)}function it(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function at(e){if(!it(e))return!1;var t=ot(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}var st,lt=Ye["__core-js_shared__"],ct=(st=/[^.]+$/.exec(lt&&lt.keys&&lt.keys.IE_PROTO||""))?"Symbol(src)_1."+st:"",ut=Function.prototype.toString;function dt(e){if(null!=e){try{return ut.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var pt=/^\[object .+?Constructor\]$/,ft=Function.prototype,ht=Object.prototype,bt=ft.toString,At=ht.hasOwnProperty,mt=RegExp("^"+bt.call(At).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function gt(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!it(e)||(t=e,ct&&ct in t))&&(at(e)?mt:pt).test(dt(e));var t}(n)?n:void 0}var vt=gt(Ye,"Map"),yt=gt(Object,"create"),Mt=Object.prototype.hasOwnProperty,Ot=Object.prototype.hasOwnProperty;function _t(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function zt(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function xt(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function wt(e){var t=this.__data__=new Ve(e);this.size=t.size}function Ct(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new xt;++t<n;)this.add(e[t])}function St(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function Et(e,t,n,r,o,i){var a=1&n,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var c=i.get(e);if(c&&i.get(t))return c==t;var u=-1,d=!0,p=2&n?new Ct:void 0;for(i.set(e,t),i.set(t,e);++u<s;){var f=e[u],h=t[u];if(r)var b=a?r(h,f,u,t,e,i):r(f,h,u,e,t,i);if(void 0!==b){if(b)continue;d=!1;break}if(p){if(!St(t,(function(e,t){if(a=t,!p.has(a)&&(f===e||o(f,e,n,r,i)))return p.push(t);var a}))){d=!1;break}}else if(f!==h&&!o(f,h,n,r,i)){d=!1;break}}return i.delete(e),i.delete(t),d}_t.prototype.clear=function(){this.__data__=yt?yt(null):{},this.size=0},_t.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},_t.prototype.get=function(e){var t=this.__data__;if(yt){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return Mt.call(t,e)?t[e]:void 0},_t.prototype.has=function(e){var t=this.__data__;return yt?void 0!==t[e]:Ot.call(t,e)},_t.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=yt&&void 0===t?"__lodash_hash_undefined__":t,this},xt.prototype.clear=function(){this.size=0,this.__data__={hash:new _t,map:new(vt||Ve),string:new _t}},xt.prototype.delete=function(e){var t=zt(this,e).delete(e);return this.size-=t?1:0,t},xt.prototype.get=function(e){return zt(this,e).get(e)},xt.prototype.has=function(e){return zt(this,e).has(e)},xt.prototype.set=function(e,t){var n=zt(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},wt.prototype.clear=function(){this.__data__=new Ve,this.size=0},wt.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},wt.prototype.get=function(e){return this.__data__.get(e)},wt.prototype.has=function(e){return this.__data__.has(e)},wt.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Ve){var r=n.__data__;if(!vt||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new xt(r)}return n.set(e,t),this.size=n.size,this},Ct.prototype.add=Ct.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},Ct.prototype.has=function(e){return this.__data__.has(e)};var kt=Ye.Uint8Array;function Dt(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function Nt(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var Tt=Ge?Ge.prototype:void 0,jt=Tt?Tt.valueOf:void 0,Bt=Array.isArray,Lt=Object.prototype.propertyIsEnumerable,Rt=Object.getOwnPropertySymbols,qt=Rt?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a)&&(i[o++]=a)}return i}(Rt(e),(function(t){return Lt.call(e,t)})))}:function(){return[]};function Pt(e){return null!=e&&"object"==typeof e}function It(e){return Pt(e)&&"[object Arguments]"==ot(e)}var Wt=Object.prototype,Ft=Wt.hasOwnProperty,Ut=Wt.propertyIsEnumerable,Zt=It(function(){return arguments}())?It:function(e){return Pt(e)&&Ft.call(e,"callee")&&!Ut.call(e,"callee")},Ht="object"==typeof exports&&exports&&!exports.nodeType&&exports,$t=Ht&&e&&!e.nodeType&&e,Vt=$t&&$t.exports===Ht?Ye.Buffer:void 0,Xt=(Vt?Vt.isBuffer:void 0)||function(){return!1},Qt=/^(?:0|[1-9]\d*)$/;function Yt(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&Qt.test(e))&&e>-1&&e%1==0&&e<t}function Gt(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}var Kt={};Kt["[object Float32Array]"]=Kt["[object Float64Array]"]=Kt["[object Int8Array]"]=Kt["[object Int16Array]"]=Kt["[object Int32Array]"]=Kt["[object Uint8Array]"]=Kt["[object Uint8ClampedArray]"]=Kt["[object Uint16Array]"]=Kt["[object Uint32Array]"]=!0,Kt["[object Arguments]"]=Kt["[object Array]"]=Kt["[object ArrayBuffer]"]=Kt["[object Boolean]"]=Kt["[object DataView]"]=Kt["[object Date]"]=Kt["[object Error]"]=Kt["[object Function]"]=Kt["[object Map]"]=Kt["[object Number]"]=Kt["[object Object]"]=Kt["[object RegExp]"]=Kt["[object Set]"]=Kt["[object String]"]=Kt["[object WeakMap]"]=!1;var Jt,en="object"==typeof exports&&exports&&!exports.nodeType&&exports,tn=en&&e&&!e.nodeType&&e,nn=tn&&tn.exports===en&&Xe.process,rn=function(){try{return nn&&nn.binding&&nn.binding("util")}catch(e){}}(),on=rn&&rn.isTypedArray,an=on?(Jt=on,function(e){return Jt(e)}):function(e){return Pt(e)&&Gt(e.length)&&!!Kt[ot(e)]},sn=Object.prototype.hasOwnProperty;var ln=Object.prototype,cn=function(e,t){return function(n){return e(t(n))}}(Object.keys,Object),un=Object.prototype.hasOwnProperty;function dn(e){return null!=(t=e)&&Gt(t.length)&&!at(t)?function(e,t){var n=Bt(e),r=!n&&Zt(e),o=!n&&!r&&Xt(e),i=!n&&!r&&!o&&an(e),a=n||r||o||i,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=s.length;for(var c in e)!t&&!sn.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Yt(c,l))||s.push(c);return s}(e):function(e){if(n=(t=e)&&t.constructor,t!==("function"==typeof n&&n.prototype||ln))return cn(e);var t,n,r=[];for(var o in Object(e))un.call(e,o)&&"constructor"!=o&&r.push(o);return r}(e);var t}function pn(e){return function(e,t,n){var r=t(e);return Bt(e)?r:function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}(r,n(e))}(e,dn,qt)}var fn=Object.prototype.hasOwnProperty,hn=gt(Ye,"DataView"),bn=gt(Ye,"Promise"),An=gt(Ye,"Set"),mn=gt(Ye,"WeakMap"),gn=dt(hn),vn=dt(vt),yn=dt(bn),Mn=dt(An),On=dt(mn),_n=ot;(hn&&"[object DataView]"!=_n(new hn(new ArrayBuffer(1)))||vt&&"[object Map]"!=_n(new vt)||bn&&"[object Promise]"!=_n(bn.resolve())||An&&"[object Set]"!=_n(new An)||mn&&"[object WeakMap]"!=_n(new mn))&&(_n=function(e){var t=ot(e),n="[object Object]"==t?e.constructor:void 0,r=n?dt(n):"";if(r)switch(r){case gn:return"[object DataView]";case vn:return"[object Map]";case yn:return"[object Promise]";case Mn:return"[object Set]";case On:return"[object WeakMap]"}return t});var zn=_n,xn="[object Object]",wn=Object.prototype.hasOwnProperty;function Cn(e,t,n,r,o){return e===t||(null==e||null==t||!Pt(e)&&!Pt(t)?e!=e&&t!=t:function(e,t,n,r,o,i){var a=Bt(e),s=Bt(t),l=a?"[object Array]":zn(e),c=s?"[object Array]":zn(t),u=(l="[object Arguments]"==l?xn:l)==xn,d=(c="[object Arguments]"==c?xn:c)==xn,p=l==c;if(p&&Xt(e)){if(!Xt(t))return!1;a=!0,u=!1}if(p&&!u)return i||(i=new wt),a||an(e)?Et(e,t,n,r,o,i):function(e,t,n,r,o,i,a){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!i(new kt(e),new kt(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Ze(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var s=Dt;case"[object Set]":var l=1&r;if(s||(s=Nt),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;r|=2,a.set(e,t);var u=Et(s(e),s(t),r,o,i,a);return a.delete(e),u;case"[object Symbol]":if(jt)return jt.call(e)==jt.call(t)}return!1}(e,t,l,n,r,o,i);if(!(1&n)){var f=u&&wn.call(e,"__wrapped__"),h=d&&wn.call(t,"__wrapped__");if(f||h){var b=f?e.value():e,A=h?t.value():t;return i||(i=new wt),o(b,A,n,r,i)}}return!!p&&(i||(i=new wt),function(e,t,n,r,o,i){var a=1&n,s=pn(e),l=s.length;if(l!=pn(t).length&&!a)return!1;for(var c=l;c--;){var u=s[c];if(!(a?u in t:fn.call(t,u)))return!1}var d=i.get(e);if(d&&i.get(t))return d==t;var p=!0;i.set(e,t),i.set(t,e);for(var f=a;++c<l;){var h=e[u=s[c]],b=t[u];if(r)var A=a?r(b,h,u,t,e,i):r(h,b,u,e,t,i);if(!(void 0===A?h===b||o(h,b,n,r,i):A)){p=!1;break}f||(f="constructor"==u)}if(p&&!f){var m=e.constructor,g=t.constructor;m==g||!("constructor"in e)||!("constructor"in t)||"function"==typeof m&&m instanceof m&&"function"==typeof g&&g instanceof g||(p=!1)}return i.delete(e),i.delete(t),p}(e,t,n,r,o,i))}(e,t,n,r,Cn,o))}function Sn(e,t){return Cn(e,t)}function En(e){return(0,V.Z)(e)}var kn="undefined"!=typeof window?u.useLayoutEffect:u.useEffect;function Dn(e,t,n){var r={};return Object.keys(e).forEach((function(o){r[o]=e[o].reduce((function(e,r){return r&&(n&&n[r]&&e.push(n[r]),e.push(t(r))),e}),[]).join(" ")})),r}var Nn={active:"Mui-active",checked:"Mui-checked",disabled:"Mui-disabled",error:"Mui-error",focused:"Mui-focused",focusVisible:"Mui-focusVisible",required:"Mui-required",expanded:"Mui-expanded",selected:"Mui-selected"};function Tn(e,t){return Nn[t]||"".concat(e,"-").concat(t)}function jn(e){return"function"==typeof e}function Bn(e){return e.type||e.mode}function Ln(e,t){var n,o,i;return(null===(n=r)||void 0===n?void 0:n.alpha)?null===(o=r)||void 0===o?void 0:o.alpha(e,t):null===(i=r)||void 0===i?void 0:i.fade(e,t)}function Rn(){var e,t,n;return(null===(e=r)||void 0===e?void 0:e.createTheme)?null===(t=r)||void 0===t?void 0:t.createTheme():null===(n=r)||void 0===n?void 0:n.createMuiTheme()}function qn(){try{var e="__some_random_key_you_are_not_going_to_use__";return window.localStorage.setItem(e,e),window.localStorage.removeItem(e),!0}catch(t){return!1}}function Pn(e){return Tn("MuiDataGrid",e)}function In(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}var Wn=qn()&&null!=window.localStorage.getItem("DEBUG"),Fn=function(){},Un={debug:Fn,info:Fn,warn:Fn,error:Fn},Zn=["debug","info","warn","error"];function Hn(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:console,r=Zn.indexOf(t);if(-1===r)throw new Error("Material-UI: Log level ".concat(t," not recognized."));return Zn.reduce((function(t,o,i){return t[o]=i>=r?function(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];var a=r[0],s=r.slice(1);n[o].apply(n,["Material-UI: ".concat(e," - ").concat(a)].concat((0,c.Z)(s)))}:Fn,t}),{})}var $n,Vn=function(e){return function(t){return Hn(t,e)}};function Xn(e){return u.useRef($n?$n(e):Un).current}function Qn(e,t,n){var r=Xn("useGridApiMethod"),o=u.useRef(t),i=u.useState(Object.keys(t)),a=(0,l.Z)(i,1)[0],s=u.useCallback((function(){e.current&&a.forEach((function(t){e.current.hasOwnProperty(t)||(r.debug("Adding ".concat(n,".").concat(t," to apiRef")),e.current[t]=function(){var e;return(e=o.current)[t].apply(e,arguments)})}))}),[a,n,e,r]);u.useEffect((function(){o.current=t}),[t]),u.useEffect((function(){s()}),[s]),s()}var Yn,Gn={noRowsLabel:"No rows",noResultsOverlayLabel:"No results found.",errorOverlayDefaultLabel:"An error occurred.",toolbarDensity:"Density",toolbarDensityLabel:"Density",toolbarDensityCompact:"Compact",toolbarDensityStandard:"Standard",toolbarDensityComfortable:"Comfortable",toolbarColumns:"Columns",toolbarColumnsLabel:"Select columns",toolbarFilters:"Filters",toolbarFiltersLabel:"Show filters",toolbarFiltersTooltipHide:"Hide filters",toolbarFiltersTooltipShow:"Show filters",toolbarFiltersTooltipActive:function(e){return"".concat(e,1!==e?" active filters":" active filter")},toolbarExport:"Export",toolbarExportLabel:"Export",toolbarExportCSV:"Download as CSV",columnsPanelTextFieldLabel:"Find column",columnsPanelTextFieldPlaceholder:"Column title",columnsPanelDragIconLabel:"Reorder column",columnsPanelShowAllButton:"Show all",columnsPanelHideAllButton:"Hide all",filterPanelAddFilter:"Add filter",filterPanelDeleteIconLabel:"Delete",filterPanelOperators:"Operators",filterPanelOperatorAnd:"And",filterPanelOperatorOr:"Or",filterPanelColumns:"Columns",filterPanelInputLabel:"Value",filterPanelInputPlaceholder:"Filter value",filterOperatorContains:"contains",filterOperatorEquals:"equals",filterOperatorStartsWith:"starts with",filterOperatorEndsWith:"ends with",filterOperatorIs:"is",filterOperatorNot:"is not",filterOperatorAfter:"is after",filterOperatorOnOrAfter:"is on or after",filterOperatorBefore:"is before",filterOperatorOnOrBefore:"is on or before",filterOperatorIsEmpty:"is empty",filterOperatorIsNotEmpty:"is not empty",filterValueAny:"any",filterValueTrue:"true",filterValueFalse:"false",columnMenuLabel:"Menu",columnMenuShowColumns:"Show columns",columnMenuFilter:"Filter",columnMenuHideColumn:"Hide",columnMenuUnsort:"Unsort",columnMenuSortAsc:"Sort by ASC",columnMenuSortDesc:"Sort by DESC",columnHeaderFiltersTooltipActive:function(e){return"".concat(e,1!==e?" active filters":" active filter")},columnHeaderFiltersLabel:"Show filters",columnHeaderSortIconLabel:"Sort",footerRowSelected:function(e){return"".concat(e.toLocaleString(),1!==e?" rows selected":" row selected")},footerTotalRows:"Total Rows:",footerTotalVisibleRows:function(e,t){return"".concat(e.toLocaleString()," of ").concat(t.toLocaleString())},checkboxSelectionHeaderName:"Checkbox selection",booleanCellTrueLabel:"true",booleanCellFalseLabel:"false",MuiTablePagination:{}};!function(e){e.Compact="compact",e.Standard="standard",e.Comfortable="comfortable"}(Yn||(Yn={}));var Kn,Jn="client",er="server",tr={columnBuffer:2,density:Yn.Standard,filterMode:Jn,headerHeight:56,paginationMode:Jn,rowHeight:52,rowsPerPageOptions:[25,50,100],scrollEndThreshold:80,sortingMode:Jn,sortingOrder:["asc","desc",null],logger:console,logLevel:"error"},nr=Object.assign(Object.assign({},tr),{localeText:Gn});!function(e){e.And="and",e.Or="or"}(Kn||(Kn={}));var rr=function(){return{items:[],linkOperator:Kn.And}};var or,ir=function(e){var t=Xn("useGridApi"),n=u.useState(),r=(0,l.Z)(n,2)[1];e.current.state||(t.info("Initialising state."),e.current.state={rows:{idRowsLookup:{},allRows:[],totalRowCount:0},editRows:{},pagination:{page:0,pageCount:0,rowCount:0,pageSize:100},options:nr,isScrolling:!1,columns:{all:[],lookup:{}},columnReorder:{dragCol:""},columnResize:{resizingColumnField:""},rendering:{realScroll:{left:0,top:0},renderContext:null,renderingZoneScroll:{left:0,top:0},virtualPage:0,virtualRowsCount:0},containerSizes:null,scrollBar:{hasScrollX:!1,hasScrollY:!1,scrollBarSize:{x:0,y:0}},viewportSizes:{width:0,height:1},sorting:{sortedRows:[],sortModel:[]},focus:{cell:null,columnHeader:null},tabIndex:{cell:null,columnHeader:null},selection:[],filter:rr(),columnMenu:{open:!1},preferencePanel:{open:!1},visibleRows:{visibleRowsLookup:{}},density:{value:Yn.Standard,rowHeight:52,headerHeight:56}},e.current.forceUpdate=r);var o=u.useCallback((function(){return e.current.state}),[e]),i=u.useCallback((function(t){var n;n=jn(t)?t(e.current.state):t,e.current.state=n,r((function(){return n}));var o={api:e.current,state:n};e.current.publishEvent(me.stateChange,o)}),[e]);return Qn(e,{getState:o,setState:i},"GridStateApi"),e.current},ar=function(e){ir(e);var t=u.useCallback((function(){return e.current.forceUpdate((function(){return e.current.state}))}),[e]),n=u.useCallback((function(t){var n=t(e.current.state);if(e.current.state===n)return!1;var r=e.current.applyControlStateConstraint(n),o=r.ignoreSetState,i=r.postUpdate;if(!o&&(e.current.state=n,e.current.publishEvent)){var a={api:e.current,state:n};e.current.publishEvent(me.stateChange,a)}return i(),!o}),[e]);return[e.current.state,n,t]},sr=function(e,t){var n=ar(e);return t((0,l.Z)(n,1)[0])},lr=function(e){return e.rendering},cr=A(lr,(function(e){return e.realScroll})),ur=u.memo((function(e){var t=e.width,n=e.height;return t&&n?u.createElement("div",{style:{minWidth:t,maxWidth:t,lineHeight:n-1+"px",minHeight:n,maxHeight:n},className:"MuiDataGrid-cell"}):null})),dr=function(e){return e.options};function pr(e,t,n,r){var o=Xn("useGridApiEventHandler"),i=sr(e,dr).signature;u.useEffect((function(){if(n&&t){return e.current.subscribeEvent(t,(function(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};i===or.XGrid&&(o.api=e.current),r.defaultMuiPrevented||n(t,r,o)}),r)}}),[e,o,t,n,r,i])}!function(e){e.DataGrid="DataGrid",e.XGrid="XGrid"}(or||(or={}));var fr={isFirst:!0};function hr(e,t,n){pr(e,t,n,fr)}var br=u.memo((function(e){var t=e.scrollDirection,n=u.useRef(null),r=Be(),o=u.useRef(),i=u.useState(!1),a=(0,l.Z)(i,2),s=a[0],c=a[1],p=u.useRef({left:0,top:0}),f=u.useCallback((function(e){p.current=e}),[]),h=u.useCallback((function(e){var i;if("left"===t)i=e.clientX-n.current.getBoundingClientRect().right;else{if("right"!==t)throw new Error("wrong dir");i=Math.max(1,e.clientX-n.current.getBoundingClientRect().left)}i=1.5*(i-1)+1,clearTimeout(o.current),o.current=setTimeout((function(){r.current.scroll({left:p.current.left+i,top:p.current.top})}))}),[t,r]);u.useEffect((function(){return function(){clearTimeout(o.current)}}),[]);var b=u.useCallback((function(){c((function(e){return!e}))}),[]);return pr(r,me.rowsScroll,f),pr(r,me.columnHeaderDragStart,b),pr(r,me.columnHeaderDragEnd,b),s?u.createElement("div",{ref:n,className:(0,d.Z)("MuiDataGrid-scrollArea","MuiDataGrid-scrollArea--".concat(t)),onDragOver:h}):null})),Ar=A((function(e){return e.columnReorder}),(function(e){return e.dragCol})),mr=A((function(e){return e.columnResize}),(function(e){return e.resizingColumnField})),gr=function(e){return e.rows},vr=A(gr,(function(e){return e&&e.totalRowCount})),yr=A(gr,(function(e){return e&&e.idRowsLookup})),Mr=A(gr,(function(e){return e.allRows})),Or=A(gr,(function(e){return e.allRows.map((function(t){return e.idRowsLookup[t]}))})),_r=function(e){return e.sorting},zr=A(_r,Mr,(function(e,t){return e.sortedRows.length?e.sortedRows:t})),xr=A(zr,yr,(function(e,t){var n=new Map;return e.forEach((function(e){n.set(e,t[e])})),n})),wr=A(_r,(function(e){return e.sortModel})),Cr=A(wr,(function(e){return e.reduce((function(t,n,r){return t[n.field]={sortDirection:n.sort,sortIndex:e.length>1?r+1:void 0},t}),{})})),Sr=function(e){return e.visibleRows},Er=A(Sr,xr,(function(e,t){var n=new Map;return t.forEach((function(t,r){!1!==e.visibleRowsLookup[r]&&n.set(r,t)})),n})),kr=A(Er,(function(e){return(0,c.Z)(e.entries())})),Dr=A(Er,(function(e){return(0,c.Z)(e.keys())})),Nr=A(Sr,vr,(function(e,t){return null==e.visibleRows?t:e.visibleRows.length})),Tr=A((function(e){return e.filter}),Le,(function(e,t){var n;return null===(n=e.items)||void 0===n?void 0:n.filter((function(e){var n,r;if(!e.columnField)return!1;var o=t[e.columnField];if(!(null==o?void 0:o.filterOperators)||0===(null===(n=null==o?void 0:o.filterOperators)||void 0===n?void 0:n.length))return!1;var i=o.filterOperators.find((function(t){return t.value===e.operatorValue}));return!!i&&(!i.InputComponent||null!=e.value&&""!==(null===(r=e.value)||void 0===r?void 0:r.toString()))}))})),jr=A(Tr,(function(e){return e.length})),Br=A(Tr,(function(e){return e.reduce((function(e,t){return e[t.columnField]?e[t.columnField].push(t):e[t.columnField]=[t],e}),{})})),Lr=function(e){return e.focus},Rr=A(Lr,(function(e){return e.cell})),qr=A(Lr,(function(e){return e.columnHeader})),Pr=function(e){return e.tabIndex},Ir=A(Pr,(function(e){return e.cell})),Wr=A(Pr,(function(e){return e.columnHeader})),Fr=function(e){return e.density},Ur=A(Fr,(function(e){return e.value})),Zr=A(Fr,(function(e){return e.rowHeight})),Hr=A(Fr,(function(e){return e.headerHeight})),$r=function(e){return e.columnMenu},Vr=function(e){return"Escape"===e},Xr=function(e){return"Enter"===e},Qr=function(e){return"Tab"===e},Yr=function(e){return" "===e},Gr=function(e){return 0===e.indexOf("Arrow")},Kr=function(e){return"Home"===e||"End"===e},Jr=function(e){return 0===e.indexOf("Page")},eo=function(e){return"Delete"===e||"Backspace"===e},to=/^((?:[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC30-\uDC6D\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDCD0-\uDCEB\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])|(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u180F\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDEFD-\uDEFF\uDF46-\uDF50\uDF82-\uDF85]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC70\uDC73\uDC74\uDC7F-\uDC82\uDCB0-\uDCBA\uDCC2\uDD00-\uDD02\uDD27-\uDD34\uDD45\uDD46\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDDC9-\uDDCC\uDDCE\uDDCF\uDE2C-\uDE37\uDE3E\uDE41\uDEDF-\uDEEA\uDF00-\uDF03\uDF3B\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC35-\uDC46\uDC5E\uDCB0-\uDCC3\uDDAF-\uDDB5\uDDB8-\uDDC0\uDDDC\uDDDD\uDE30-\uDE40\uDEAB-\uDEB7\uDF1D-\uDF2B]|\uD806[\uDC2C-\uDC3A\uDD30-\uDD35\uDD37\uDD38\uDD3B-\uDD3E\uDD40\uDD42\uDD43\uDDD1-\uDDD7\uDDDA-\uDDE0\uDDE4\uDE01-\uDE0A\uDE33-\uDE39\uDE3B-\uDE3E\uDE47\uDE51-\uDE5B\uDE8A-\uDE99]|\uD807[\uDC2F-\uDC36\uDC38-\uDC3F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD8A-\uDD8E\uDD90\uDD91\uDD93-\uDD97\uDEF3-\uDEF6\uDF00\uDF01\uDF03\uDF34-\uDF3A\uDF3E-\uDF42]|\uD80D[\uDC40\uDC47-\uDC55]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF51-\uDF87\uDF8F-\uDF92\uDFE4\uDFF0\uDFF1]|\uD82F[\uDC9D\uDC9E]|\uD833[\uDF00-\uDF2D\uDF30-\uDF46]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDC8F\uDD30-\uDD36\uDEAE\uDEEC-\uDEEF]|\uD839[\uDCEC-\uDCEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uDB40[\uDD00-\uDDEF])(?:[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC30-\uDC6D\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDCD0-\uDCEB\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])|(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u180F\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDEFD-\uDEFF\uDF46-\uDF50\uDF82-\uDF85]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC70\uDC73\uDC74\uDC7F-\uDC82\uDCB0-\uDCBA\uDCC2\uDD00-\uDD02\uDD27-\uDD34\uDD45\uDD46\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDDC9-\uDDCC\uDDCE\uDDCF\uDE2C-\uDE37\uDE3E\uDE41\uDEDF-\uDEEA\uDF00-\uDF03\uDF3B\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC35-\uDC46\uDC5E\uDCB0-\uDCC3\uDDAF-\uDDB5\uDDB8-\uDDC0\uDDDC\uDDDD\uDE30-\uDE40\uDEAB-\uDEB7\uDF1D-\uDF2B]|\uD806[\uDC2C-\uDC3A\uDD30-\uDD35\uDD37\uDD38\uDD3B-\uDD3E\uDD40\uDD42\uDD43\uDDD1-\uDDD7\uDDDA-\uDDE0\uDDE4\uDE01-\uDE0A\uDE33-\uDE39\uDE3B-\uDE3E\uDE47\uDE51-\uDE5B\uDE8A-\uDE99]|\uD807[\uDC2F-\uDC36\uDC38-\uDC3F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD8A-\uDD8E\uDD90\uDD91\uDD93-\uDD97\uDEF3-\uDEF6\uDF00\uDF01\uDF03\uDF34-\uDF3A\uDF3E-\uDF42]|\uD80D[\uDC40\uDC47-\uDC55]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF51-\uDF87\uDF8F-\uDF92\uDFE4\uDFF0\uDFF1]|\uD82F[\uDC9D\uDC9E]|\uD833[\uDF00-\uDF2D\uDF30-\uDF46]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDC8F\uDD30-\uDD36\uDEAE\uDEEC-\uDEEF]|\uD839[\uDCEC-\uDCEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uDB40[\uDD00-\uDDEF])|(?:[0-9\xB2\xB3\xB9\xBC-\xBE\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u09F4-\u09F9\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0B72-\u0B77\u0BE6-\u0BF2\u0C66-\u0C6F\u0C78-\u0C7E\u0CE6-\u0CEF\u0D58-\u0D5E\u0D66-\u0D78\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F33\u1040-\u1049\u1090-\u1099\u1369-\u137C\u16EE-\u16F0\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1946-\u194F\u19D0-\u19DA\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\u2070\u2074-\u2079\u2080-\u2089\u2150-\u2182\u2185-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3007\u3021-\u3029\u3038-\u303A\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA620-\uA629\uA6E6-\uA6EF\uA830-\uA835\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19]|\uD800[\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDEE1-\uDEFB\uDF20-\uDF23\uDF41\uDF4A\uDFD1-\uDFD5]|\uD801[\uDCA0-\uDCA9]|\uD802[\uDC58-\uDC5F\uDC79-\uDC7F\uDCA7-\uDCAF\uDCFB-\uDCFF\uDD16-\uDD1B\uDDBC\uDDBD\uDDC0-\uDDCF\uDDD2-\uDDFF\uDE40-\uDE48\uDE7D\uDE7E\uDE9D-\uDE9F\uDEEB-\uDEEF\uDF58-\uDF5F\uDF78-\uDF7F\uDFA9-\uDFAF]|\uD803[\uDCFA-\uDCFF\uDD30-\uDD39\uDE60-\uDE7E\uDF1D-\uDF26\uDF51-\uDF54\uDFC5-\uDFCB]|\uD804[\uDC52-\uDC6F\uDCF0-\uDCF9\uDD36-\uDD3F\uDDD0-\uDDD9\uDDE1-\uDDF4\uDEF0-\uDEF9]|\uD805[\uDC50-\uDC59\uDCD0-\uDCD9\uDE50-\uDE59\uDEC0-\uDEC9\uDF30-\uDF3B]|\uD806[\uDCE0-\uDCF2\uDD50-\uDD59]|\uD807[\uDC50-\uDC6C\uDD50-\uDD59\uDDA0-\uDDA9\uDF50-\uDF59\uDFC0-\uDFD4]|\uD809[\uDC00-\uDC6E]|\uD81A[\uDE60-\uDE69\uDEC0-\uDEC9\uDF50-\uDF59\uDF5B-\uDF61]|\uD81B[\uDE80-\uDE96]|\uD834[\uDEC0-\uDED3\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDFCE-\uDFFF]|\uD838[\uDD40-\uDD49\uDEF0-\uDEF9]|\uD839[\uDCF0-\uDCF9]|\uD83A[\uDCC7-\uDCCF\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9])|[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]|(?:[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA])|(?:[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]))$/i,no=function(e){return to.test(e)},ro=["Enter","Escape","Tab"],oo=["Enter","Tab"],io=function(e){return oo.indexOf(e)>-1},ao=function(e){return Kr(e)||Gr(e)||Jr(e)||Yr(e)},so=function(e){return!!e.key},lo=function(e){return Qr(e)||Vr(e)},co=u.createContext(void 0),uo=function(){var e=u.useContext(co);if(!e)throw new Error("Material-UI: useGridRootProps should only be used inside the DataGrid/XGrid component.");return e},po=u.forwardRef((function(e,t){var n,r=e.field,o=e.id,i=e.value,a=e.tabIndex,s=e.hasFocus,l=Be(),c=uo(),d=u.useRef(null),p=(0,X.Z)(d,t),f=e.api.getCellElement(o,r);u.useLayoutEffect((function(){0===a&&f&&(f.tabIndex=-1)}),[f,a]),u.useLayoutEffect((function(){s&&d.current&&d.current.querySelector("input").focus()}),[s]);var h=u.useCallback((function(t){Yr(t.key)&&t.stopPropagation(),ao(t.key)&&!t.shiftKey&&l.current.publishEvent(me.cellNavigationKeyDown,e,t)}),[l,e]),b=null==l?void 0:l.current.components.Checkbox,A=!c.isRowSelectable||c.isRowSelectable(l.current.getRowParams(o));return u.createElement(b,Object.assign({ref:p,tabIndex:a,checked:!!i,onChange:function(e){l.current.selectRow(o,e.target.checked,!0)},onClick:function(e){e.stopPropagation()},className:"MuiDataGrid-checkboxInput",color:"primary",inputProps:{"aria-label":"Select Row checkbox"},onKeyDown:h,disabled:!A},null===(n=null==l?void 0:l.current.componentsProps)||void 0===n?void 0:n.checkbox))})),fo=u.memo(po),ho=function(e){return e.pagination},bo=A(ho,Dr,(function(e,t){var n=e.page*e.pageSize,r=n+e.pageSize;return t.slice(n,r)})),Ao=function(e){return e.selection},mo=A(Ao,(function(e){return e.length})),go=A(Ao,yr,(function(e,t){return new Map(e.map((function(e){return[e,t[e]]})))})),vo=A(Ao,(function(e){return e.reduce((function(e,t){return e[t]=t,e}),{})})),yo=u.forwardRef((function(e,t){var n,r=u.useState(!1),o=(0,l.Z)(r,2)[1],i=Be(),a=sr(i,dr),s=sr(i,Wr),c=sr(i,mo),d=sr(i,vr),p=c>0&&c!==d,f=c>0&&c===d||p,h=null!==s&&s.field===e.field?0:-1;u.useLayoutEffect((function(){var t=i.current.getColumnHeaderElement(e.field);0===h&&t&&(t.tabIndex=-1)}),[h,i,e.field]);var b=u.useCallback((function(t){Yr(t.key)&&t.stopPropagation(),ao(t.key)&&!t.shiftKey&&i.current.publishEvent(me.columnHeaderNavigationKeyDown,e,t)}),[i,e]),A=u.useCallback((function(){o((function(e){return!e}))}),[]);u.useEffect((function(){return null==i?void 0:i.current.subscribeEvent(me.selectionChange,A)}),[i,A]);var m=null==i?void 0:i.current.components.Checkbox;return u.createElement(m,Object.assign({ref:t,indeterminate:p,checked:f,onChange:function(e){var t=e.target.checked,n=a.checkboxSelectionVisibleOnly?bo(i.current.state):Dr(i.current.state);i.current.selectRows(n,t,!e.target.indeterminate)},className:"MuiDataGrid-checkboxInput",color:"primary",inputProps:{"aria-label":"Select All Rows checkbox"},tabIndex:h,onKeyDown:b},null===(n=null==i?void 0:i.current.componentsProps)||void 0===n?void 0:n.checkbox))}));function Mo(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function Oo(e){var t=e.id,n=e.value,r=(e.formattedValue,e.api),o=e.field,i=(e.row,e.colDef),a=(e.cellMode,e.isEditable,e.tabIndex,e.hasFocus),s=(e.getValue,Mo(e,["id","value","formattedValue","api","field","row","colDef","cellMode","isEditable","tabIndex","hasFocus","getValue"])),c=u.useRef(),d=u.useState(n),p=(0,l.Z)(d,2),f=p[0],h=p[1],b=u.useCallback((function(e){var n=e.target.value;h(n),r.setEditCellValue({id:t,field:o,value:n},e)}),[r,o,t]);return u.useEffect((function(){h(n)}),[n]),kn((function(){a&&c.current.focus()}),[a]),u.createElement(re.Z,Object.assign({inputRef:c,className:"MuiDataGrid-editInputCell",fullWidth:!0,type:"number"===i.type?i.type:"text",value:f||"",onChange:b},s))}var _o=function(e,t){var n=e.indexOf(t);return t&&-1!==n&&n+1!==e.length?e[n+1]:e[0]},zo=function(e,t){return null==e&&null!=t?-1:null==t&&null!=e?1:null==e&&null==t?0:null},xo=new Intl.Collator,wo=function(e,t){var n=zo(e,t);return null!==n?n:Number(e)-Number(t)},Co=function(e,t){var n=zo(e,t);return null!==n?n:e>t?1:e<t?-1:0},So=(0,Q.Z)(u.createElement("path",{d:"M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z"}),"ArrowUpward"),Eo=(0,Q.Z)(u.createElement("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),"ArrowDownward"),ko=(0,Q.Z)(u.createElement("path",{d:"M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"}),"FilterList"),Do=(0,Q.Z)(u.createElement("path",{d:"M4.25 5.61C6.27 8.2 10 13 10 13v6c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-6s3.72-4.8 5.74-7.39c.51-.66.04-1.61-.79-1.61H5.04c-.83 0-1.3.95-.79 1.61z"}),"FilterAlt"),No=((0,Q.Z)(u.createElement("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),"Search"),(0,Q.Z)(u.createElement("path",{d:"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"}),"Menu"),(0,Q.Z)(u.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckCircle"),(0,Q.Z)(u.createElement("path",{d:"M6 5H3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h3c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zm14 0h-3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h3c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zm-7 0h-3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h3c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1z"}),"ColumnIcon")),To=(0,Q.Z)(u.createElement("path",{d:"M11 19V5h2v14z"}),"Separator"),jo=(0,Q.Z)(u.createElement("path",{d:"M4 15h16v-2H4v2zm0 4h16v-2H4v2zm0-8h16V9H4v2zm0-6v2h16V5H4z"}),"ViewHeadline"),Bo=(0,Q.Z)(u.createElement("path",{d:"M21,8H3V4h18V8z M21,10H3v4h18V10z M21,16H3v4h18V16z"}),"TableRows"),Lo=(0,Q.Z)(u.createElement("path",{d:"M4 18h17v-6H4v6zM4 5v6h17V5H4z"}),"ViewStream"),Ro=(0,Q.Z)(u.createElement("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"TripleDotsVertical"),qo=(0,Q.Z)(u.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),Po=(0,Q.Z)(u.createElement("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add"),Io=(0,Q.Z)(u.createElement("path",{d:"M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4v3z"}),"Load"),Wo=(0,Q.Z)(u.createElement("path",{d:"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"Drag"),Fo=(0,Q.Z)(u.createElement("path",{d:"M19 12v7H5v-7H3v7c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zm-6 .67l2.59-2.58L17 11.5l-5 5-5-5 1.41-1.41L11 12.67V3h2z"}),"SaveAlt"),Uo=(0,Q.Z)(u.createElement("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check"),Zo=function(e){var t=e.valueOptions;return(t?[""].concat((0,c.Z)(t)):[""]).map((function(e){return"object"==typeof e?u.createElement("option",{key:e.value,value:e.value},e.label):u.createElement("option",{key:e,value:e},e)}))};function Ho(e){var t=e.item,n=e.applyValue,r=e.type,o=e.apiRef,i=Mo(e,["item","applyValue","type","apiRef"]),a=u.useRef(),s=u.useState(t.value||""),c=(0,l.Z)(s,2),d=c[0],p=c[1],f=u.useState(!1),h=(0,l.Z)(f,2),b=h[0],A=h[1],m=(0,Y.Z)(),g="singleSelect"===r?{select:!0,SelectProps:{native:!0},children:Zo(o.current.getColumn(t.columnField))}:{},v=u.useCallback((function(e){var i=e.target.value;if("singleSelect"===r){var s=o.current.getColumn(t.columnField);i=s.valueOptions.map((function(e){return"object"==typeof e?e.value:e})).find((function(e){return String(e)===i}))}clearTimeout(a.current),p(i),A(!0),a.current=setTimeout((function(){n(Object.assign(Object.assign({},t),{value:i})),A(!1)}),500)}),[o,n,t,r]);u.useEffect((function(){return function(){clearTimeout(a.current)}}),[]),u.useEffect((function(){p(t.value||"")}),[t.value]);var y=b?{endAdornment:u.createElement(Io,null)}:i.InputProps;return u.createElement(oe.Z,Object.assign({id:m,label:o.current.getLocaleText("filterPanelInputLabel"),placeholder:o.current.getLocaleText("filterPanelInputPlaceholder"),value:d,onChange:v,type:r||"text",variant:"standard",InputProps:y,InputLabelProps:{shrink:!0}},g,i))}var $o={width:100,minWidth:50,hide:!1,sortable:!0,resizable:!0,filterable:!0,sortComparator:function(e,t){var n=zo(e,t);return null!==n?n:"string"==typeof e?xo.compare(e.toString(),t.toString()):e-t},type:"string",align:"left",filterOperators:[{value:"contains",getApplyFilterFn:function(e){if(!e.value)return null;var t=new RegExp(In(e.value),"i");return function(e){var n=e.value;return t.test(n&&n.toString()||"")}},InputComponent:Ho},{value:"equals",getApplyFilterFn:function(e){if(!e.value)return null;var t=new Intl.Collator(void 0,{sensitivity:"base",usage:"search"});return function(n){var r=n.value;return 0===t.compare(e.value,r&&r.toString()||"")}},InputComponent:Ho},{value:"startsWith",getApplyFilterFn:function(e){if(!e.value)return null;var t=new RegExp("^".concat(In(e.value),".*$"),"i");return function(e){var n=e.value;return t.test(n&&n.toString()||"")}},InputComponent:Ho},{value:"endsWith",getApplyFilterFn:function(e){if(!e.value)return null;var t=new RegExp(".*".concat(In(e.value),"$"),"i");return function(e){var n=e.value;return t.test(n&&n.toString()||"")}},InputComponent:Ho},{value:"isEmpty",getApplyFilterFn:function(){return function(e){var t=e.value;return""===t||null==t}}},{value:"isNotEmpty",getApplyFilterFn:function(){return function(e){var t=e.value;return""!==t&&null!=t}}}],renderEditCell:function(e){return u.createElement(Oo,Object.assign({},e))}},Vo=u.memo((function(e){e.id;var t=e.value,n=(e.formattedValue,e.api),r=(e.field,e.row,e.colDef,e.cellMode,e.isEditable,e.hasFocus,e.tabIndex,e.getValue,Mo(e,["id","value","formattedValue","api","field","row","colDef","cellMode","isEditable","hasFocus","tabIndex","getValue"])),o=u.useMemo((function(){return t?n.components.BooleanCellTrueIcon:n.components.BooleanCellFalseIcon}),[n.components.BooleanCellFalseIcon,n.components.BooleanCellTrueIcon,t]);return u.createElement(o,Object.assign({fontSize:"small",className:"MuiDataGrid-booleanCell",titleAccess:n.getLocaleText(t?"booleanCellTrueLabel":"booleanCellFalseLabel"),"data-value":Boolean(t)},r))}));function Xo(e){var t=e.id,n=e.value,r=(e.formattedValue,e.api),o=e.field,i=(e.row,e.colDef,e.cellMode,e.isEditable,e.tabIndex,e.className),a=(e.getValue,e.hasFocus),s=Mo(e,["id","value","formattedValue","api","field","row","colDef","cellMode","isEditable","tabIndex","className","getValue","hasFocus"]),c=u.useRef(null),p=(0,Y.Z)(),f=u.useState(n),h=(0,l.Z)(f,2),b=h[0],A=h[1],m=u.useCallback((function(e){var n=e.target.checked;A(n),r.setEditCellValue({id:t,field:o,value:n},e)}),[r,o,t]);return u.useEffect((function(){A(n)}),[n]),kn((function(){a&&c.current.focus()}),[a]),u.createElement("label",Object.assign({htmlFor:p,className:(0,d.Z)("MuiDataGrid-editBooleanCell",i)},s),u.createElement(ie.Z,{id:p,inputRef:c,checked:Boolean(b),onChange:m,size:"small"}))}var Qo=Object.assign(Object.assign({},$o),{type:"boolean",align:"center",headerAlign:"center",renderCell:function(e){return u.createElement(Vo,Object.assign({},e))},renderEditCell:function(e){return u.createElement(Xo,Object.assign({},e))},sortComparator:wo,valueFormatter:function(e){var t=e.value,n=e.api;return t?n.getLocaleText("booleanCellTrueLabel"):n.getLocaleText("booleanCellFalseLabel")},filterOperators:[{value:"is",getApplyFilterFn:function(e){if(!e.value)return null;var t="true"===e.value;return function(e){var n=e.value;return Boolean(n)===t}},InputComponent:function(e){var t=e.item,n=e.applyValue,r=e.apiRef,o=Mo(e,["item","applyValue","apiRef"]),i=u.useState(t.value||""),a=(0,l.Z)(i,2),s=a[0],c=a[1],d=u.useCallback((function(e){var r=e.target.value;c(r),n(Object.assign(Object.assign({},t),{value:r}))}),[n,t]);return u.useEffect((function(){c(t.value||"")}),[t.value]),u.createElement(oe.Z,Object.assign({label:r.current.getLocaleText("filterPanelInputLabel"),value:s,onChange:d,variant:"standard",select:!0,SelectProps:{native:!0},InputLabelProps:{shrink:!0}},o),u.createElement("option",{value:""},r.current.getLocaleText("filterValueAny")),u.createElement("option",{value:"true"},r.current.getLocaleText("filterValueTrue")),u.createElement("option",{value:"false"},r.current.getLocaleText("filterValueFalse")))}}]}),Yo=Object.assign(Object.assign({},Qo),{field:"__check__",type:"checkboxSelection",width:50,resizable:!1,sortable:!1,filterable:!1,disableColumnMenu:!0,disableReorder:!0,valueGetter:function(e){return void 0!==vo(e.api.state)[e.id]},renderHeader:function(e){return u.createElement(yo,Object.assign({},e))},renderCell:function(e){return u.createElement(fo,Object.assign({},e))},cellClassName:"MuiDataGrid-cellCheckbox",headerClassName:"MuiDataGrid-columnHeaderCheckbox"}),Go=Object.assign(Object.assign({},$o),{type:"number",align:"right",headerAlign:"right",sortComparator:wo,valueParser:function(e){return Number(e)},valueFormatter:function(e){var t=e.value;return t&&function(e){return"number"==typeof e}(t)&&t.toLocaleString()||t},filterOperators:[{label:"=",value:"=",getApplyFilterFn:function(e){return e.value?function(t){var n=t.value;return Number(n)===e.value}:null},InputComponent:Ho,InputComponentProps:{type:"number"}},{label:"!=",value:"!=",getApplyFilterFn:function(e){return e.value?function(t){var n=t.value;return Number(n)!==e.value}:null},InputComponent:Ho,InputComponentProps:{type:"number"}},{label:">",value:">",getApplyFilterFn:function(e){return e.value?function(t){var n=t.value;return Number(n)>e.value}:null},InputComponent:Ho,InputComponentProps:{type:"number"}},{label:">=",value:">=",getApplyFilterFn:function(e){return e.value?function(t){var n=t.value;return Number(n)>=e.value}:null},InputComponent:Ho,InputComponentProps:{type:"number"}},{label:"<",value:"<",getApplyFilterFn:function(e){return e.value?function(t){var n=t.value;return Number(n)<e.value}:null},InputComponent:Ho,InputComponentProps:{type:"number"}},{label:"<=",value:"<=",getApplyFilterFn:function(e){return e.value?function(t){var n=t.value;return Number(n)<=e.value}:null},InputComponent:Ho,InputComponentProps:{type:"number"}},{value:"isEmpty",getApplyFilterFn:function(){return function(e){return null==e.value}}},{value:"isNotEmpty",getApplyFilterFn:function(){return function(e){return null!=e.value}}}]}),Ko=/(\d+)-(\d+)-(\d+)/,Jo=/(\d+)-(\d+)-(\d+)T(\d+):(\d+)/;function ei(e,t,n,r){if(!e.value)return null;var o=e.value.match(n?Jo:Ko).slice(1).map(Number),i=(0,l.Z)(o,5),a=i[0],s=i[1],c=i[2],u=i[3],d=i[4],p=new Date(a,s-1,c,u||0,d||0).getTime();return function(e){var o=e.value;if(!o)return!1;var i=o instanceof Date?o:new Date(o.toString());if(r)return t(i.getTime(),p);var a=(o instanceof Date?new Date(i):i).setHours(n?i.getHours():0,n?i.getMinutes():0,0,0);return t(a,p)}}var ti=function(e){return[{value:"is",getApplyFilterFn:function(t){return ei(t,(function(e,t){return e===t}),e)},InputComponent:Ho,InputComponentProps:{type:e?"datetime-local":"date"}},{value:"not",getApplyFilterFn:function(t){return ei(t,(function(e,t){return e!==t}),e)},InputComponent:Ho,InputComponentProps:{type:e?"datetime-local":"date"}},{value:"after",getApplyFilterFn:function(t){return ei(t,(function(e,t){return e>t}),e)},InputComponent:Ho,InputComponentProps:{type:e?"datetime-local":"date"}},{value:"onOrAfter",getApplyFilterFn:function(t){return ei(t,(function(e,t){return e>=t}),e)},InputComponent:Ho,InputComponentProps:{type:e?"datetime-local":"date"}},{value:"before",getApplyFilterFn:function(t){return ei(t,(function(e,t){return e<t}),e,!e)},InputComponent:Ho,InputComponentProps:{type:e?"datetime-local":"date"}},{value:"onOrBefore",getApplyFilterFn:function(t){return ei(t,(function(e,t){return e<=t}),e)},InputComponent:Ho,InputComponentProps:{type:e?"datetime-local":"date"}},{value:"isEmpty",getApplyFilterFn:function(){return function(e){return null==e.value}}},{value:"isNotEmpty",getApplyFilterFn:function(){return function(e){return null!=e.value}}}]};function ni(e){var t=e.id,n=e.value,r=(e.formattedValue,e.api),o=e.field,i=(e.row,e.colDef),a=(e.cellMode,e.isEditable,e.tabIndex,e.hasFocus),s=(e.getValue,Mo(e,["id","value","formattedValue","api","field","row","colDef","cellMode","isEditable","tabIndex","hasFocus","getValue"])),c=u.useRef(),d=u.useState(n),p=(0,l.Z)(d,2),f=p[0],h=p[1],b=u.useCallback((function(e){var n=e.target.value;if(h(n),""!==n){var i=n.split("T"),a=(0,l.Z)(i,2),s=a[0],c=a[1],u=s.split("-"),d=(0,l.Z)(u,3),p=d[0],f=d[1],b=d[2],A=new Date;if(A.setFullYear(Number(p)),A.setMonth(Number(f)-1),A.setDate(Number(b)),A.setHours(0,0,0,0),c){var m=c.split(":"),g=(0,l.Z)(m,2),v=g[0],y=g[1];A.setHours(Number(v),Number(y),0,0)}r.setEditCellValue({id:t,field:o,value:A},e)}else r.setEditCellValue({id:t,field:o,value:null},e)}),[r,o,t]),A="dateTime"===i.type;u.useEffect((function(){h(n)}),[n]),kn((function(){a&&c.current.focus()}),[a]);var m=f||"";if(f instanceof Date){var g=f.getTimezoneOffset();m=new Date(f.getTime()-60*g*1e3).toISOString().substr(0,A?16:10)}return u.createElement(re.Z,Object.assign({inputRef:c,fullWidth:!0,className:"MuiDataGrid-editInputCell",type:A?"datetime-local":"date",value:m,onChange:b},s))}var ri=function(e){return u.createElement(ni,Object.assign({},e))};var oi=Object.assign(Object.assign({},$o),{type:"date",sortComparator:Co,valueFormatter:function(e){var t=e.value;return t instanceof Date?t.toLocaleDateString():t},filterOperators:ti(),renderEditCell:ri}),ii=Object.assign(Object.assign({},$o),{type:"dateTime",sortComparator:Co,valueFormatter:function(e){var t=e.value;return t instanceof Date?t.toLocaleString():t},filterOperators:ti(!0),renderEditCell:ri}),ai=function(e){return"object"==typeof e?u.createElement(se.Z,{key:e.value,value:e.value},e.label):u.createElement(se.Z,{key:e,value:e},e)};function si(e){var t,n=e.id,r=e.value,o=(e.formattedValue,e.api),i=e.field,a=(e.row,e.colDef),s=(e.cellMode,e.isEditable,e.tabIndex,e.className,e.getValue,e.hasFocus),l=Mo(e,["id","value","formattedValue","api","field","row","colDef","cellMode","isEditable","tabIndex","className","getValue","hasFocus"]),c=u.useRef();return kn((function(){s&&c.current.querySelector('[role="button"]').focus()}),[s]),u.createElement(ae.Z,Object.assign({ref:c,value:r,onChange:function(e){o.setEditCellValue({id:n,field:i,value:e.target.value},e),e.key||(o.commitCellChange({id:n,field:i},e),o.setCellMode(n,i,"view"))},MenuProps:{onClose:function(e,t){("backdropClick"===t||Vr(e.key))&&o.setCellMode(n,i,"view")}},fullWidth:!0,open:!0},l),null===(t=a.valueOptions)||void 0===t?void 0:t.map(ai))}var li=Object.assign(Object.assign({},$o),{type:"singleSelect",renderEditCell:function(e){return u.createElement(si,Object.assign({},e))},filterOperators:[{value:"is",getApplyFilterFn:function(e){return null==e.value||""===e.value?null:function(t){var n=t.value;return"object"==typeof n?e.value===n.value:e.value===n}},InputComponent:Ho,InputComponentProps:{type:"singleSelect"}},{value:"not",getApplyFilterFn:function(e){return null==e.value||""===e.value?null:function(t){var n=t.value;return"object"==typeof n?e.value!==n.value:e.value!==n}},InputComponent:Ho,InputComponentProps:{type:"singleSelect"}}]}),ci=function(){var e={string:$o,number:Go,date:oi,dateTime:ii,boolean:Qo,singleSelect:li};return e.__default__=$o,e},ui=function(e,t){return t?e[t]:e.__default__},di=u.memo((function(e){var t=e.direction,n=e.index,r=Be(),o=r.current.components.ColumnUnsortedIcon;if(null==t&&null===o)return null;var i=u.createElement(ue.Z,{tabIndex:-1,"aria-label":r.current.getLocaleText("columnHeaderSortIconLabel"),title:r.current.getLocaleText("columnHeaderSortIconLabel"),size:"small"},function(e,t){var n=e.ColumnUnsortedIcon;return"asc"===t?n=e.ColumnSortedAscendingIcon:"desc"===t&&(n=e.ColumnSortedDescendingIcon),u.createElement(n,{fontSize:"small",className:"MuiDataGrid-sortIcon"})}(r.current.components,t));return u.createElement("div",{className:"MuiDataGrid-iconButtonContainer"},null!=n&&u.createElement(ce,{badgeContent:n,color:"default"},i),null==n&&i)}));function pi(e,t){return e.closest(".".concat(t))}function fi(e){return null!=e&&e.classList.contains("MuiDataGrid-columnHeader")}function hi(e){var t=e.getAttribute("data-field"),n=pi(e,"MuiDataGrid-root");if(!n)throw new Error("Material-UI: The root element is not found.");return n.querySelectorAll('.MuiDataGrid-cell[data-field="'.concat(t,'"]'))}function bi(e){return e.replace(/["\\]/g,"\\$&")}function Ai(e,t){return e.querySelector('.MuiDataGrid-row[data-id="'.concat(bi(String(t)),'"]'))}var mi=u.forwardRef((function(e,t){var n=e.className,r=Mo(e,["className"]);return u.createElement("div",Object.assign({ref:t,className:(0,d.Z)("MuiDataGrid-columnHeaderTitle",n)},r))}));function gi(e){var t=e.label,n=e.description,r=e.columnWidth,o=u.useRef(null),i=u.useState(""),a=(0,l.Z)(i,2),s=a[0],c=a[1];return u.useEffect((function(){if(!n&&o&&o.current){var e=(r=o.current).scrollHeight>r.clientHeight||r.scrollWidth>r.clientWidth;c(e?t:"")}var r}),[o,r,n,t]),u.createElement(de.ZP,{title:n||s},u.createElement(mi,{ref:o},t))}var vi=!1;"undefined"!=typeof process&&void 0!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_STRIPE_PUBLIC_KEY:"pk_live_51LPMPQLuStyVivuvJoKJU2JQFmFuVdvBB2TV4cmdY8g29ME4fqUEQsH25zKTvNTVga3QzQCE6Gi9E4BCWRLUIuC0003eyqqqRH",REACT_APP_SHA:"5fdfcccf20bfda563f5e09c678f489cbd56e4fca",REACT_APP_MAPBOX:"pk.eyJ1Ijoic2dvbGRpayIsImEiOiJjbDJoY29iYmkwY2twM2RxaG01ZmdrMzRhIn0.8UV6n5zz6Z2ARO7fSLzWBg",REACT_APP_DOMAINS_REDIRECT_TO_WWW:"aesthetidocs.com",REACT_APP_API_URL:"https://api.aesthetidocs.com"}.GRID_EXPERIMENTAL_ENABLED&&qn()&&window.localStorage.getItem("GRID_EXPERIMENTAL_ENABLED")?vi="true"===window.localStorage.getItem("GRID_EXPERIMENTAL_ENABLED"):"undefined"!=typeof process&&(vi="true"==={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_STRIPE_PUBLIC_KEY:"pk_live_51LPMPQLuStyVivuvJoKJU2JQFmFuVdvBB2TV4cmdY8g29ME4fqUEQsH25zKTvNTVga3QzQCE6Gi9E4BCWRLUIuC0003eyqqqRH",REACT_APP_SHA:"5fdfcccf20bfda563f5e09c678f489cbd56e4fca",REACT_APP_MAPBOX:"pk.eyJ1Ijoic2dvbGRpayIsImEiOiJjbDJoY29iYmkwY2twM2RxaG01ZmdrMzRhIn0.8UV6n5zz6Z2ARO7fSLzWBg",REACT_APP_DOMAINS_REDIRECT_TO_WWW:"aesthetidocs.com",REACT_APP_API_URL:"https://api.aesthetidocs.com"}.GRID_EXPERIMENTAL_ENABLED);var yi,Mi=vi,Oi=u.memo((function(e){var t=e.resizable,n=e.resizing,r=e.height,o=Mo(e,["resizable","resizing","height"]),i=Be(),a=sr(i,dr).showColumnRightBorder,s=i.current.components.ColumnResizeIcon,l=u.useCallback((function(e){e.preventDefault(),e.stopPropagation()}),[]);return u.createElement("div",Object.assign({className:(0,d.Z)("MuiDataGrid-columnSeparator",{"MuiDataGrid-columnSeparator--resizable":t,"Mui-resizing":n}),style:{minHeight:r,opacity:a?0:1}},o,{onClick:l}),u.createElement(s,{className:"MuiDataGrid-iconSeparator"}))})),_i=u.memo((function(e){var t=e.column,n=e.open,r=e.columnMenuId,o=e.columnMenuButtonId,i=e.iconButtonRef,a=Be(),s=a.current.components.ColumnMenuIcon,l=u.useCallback((function(e){e.preventDefault(),e.stopPropagation(),a.current.toggleColumnMenu(t.field)}),[a,t.field]);return u.createElement("div",{className:(0,d.Z)("MuiDataGrid-menuIcon",{"MuiDataGrid-menuOpen":n})},u.createElement(ue.Z,{ref:i,tabIndex:-1,className:"MuiDataGrid-menuIconButton","aria-label":a.current.getLocaleText("columnMenuLabel"),title:a.current.getLocaleText("columnMenuLabel"),size:"small",onClick:l,"aria-expanded":n?"true":void 0,"aria-haspopup":"true","aria-controls":r,id:o},u.createElement(s,{fontSize:"small"})))})),zi=function(e){return e.preferencePanel};function xi(e){var t=e.counter,n=Be(),r=n.current.components.ColumnFilteredIcon,o=u.useCallback((function(e){e.preventDefault(),e.stopPropagation();var t=zi(n.current.state),r=t.open,o=t.openedPanelValue;r&&o===yi.filters?n.current.hideFilterPanel():n.current.showFilterPanel()}),[n]);if(!t)return null;var i=u.createElement(ue.Z,{onClick:o,color:"default","aria-label":n.current.getLocaleText("columnHeaderFiltersLabel"),size:"small",tabIndex:-1},u.createElement(r,{className:"MuiDataGrid-filterIcon",fontSize:"small"}));return u.createElement(de.ZP,{title:n.current.getLocaleText("columnHeaderFiltersTooltipActive")(t),enterDelay:1e3},u.createElement("div",{className:"MuiDataGrid-iconButtonContainer"},t>1&&u.createElement(ce,{badgeContent:t,color:"default"},i),1===t&&i))}!function(e){e.filters="filters",e.columns="columns"}(yi||(yi={}));var wi=(0,te.Z)((function(e){return{root:{zIndex:e.zIndex.modal,"& .MuiDataGrid-gridMenuList":{outline:0}}}}),{name:"MuiGridMenu",defaultTheme:Rn()}),Ci={"bottom-start":"top left","bottom-end":"top right"},Si=function(e){var t=e.open,n=e.target,r=e.onClickAway,o=e.children,i=e.position,a=Mo(e,["open","target","onClickAway","children","position"]),s=u.useRef(n),l=u.useRef(t),c=wi();return u.useEffect((function(){l.current&&s.current&&s.current.focus(),l.current=t,s.current=n}),[t,n]),u.createElement(be.Z,Object.assign({className:c.root,open:t,anchorEl:n,transition:!0,placement:i},a),(function(e){var t=e.TransitionProps,n=e.placement;return u.createElement(pe.Z,{onClickAway:r},u.createElement(fe.Z,Object.assign({},t,{style:{transformOrigin:Ci[n]}}),u.createElement(he.Z,null,o)))}))};function Ei(e){var t=e.columnMenuId,n=e.columnMenuButtonId,r=e.ContentComponent,o=e.contentComponentProps,i=e.field,a=e.open,s=e.target,l=Be(),c=null==l?void 0:l.current.getColumn(i),d=u.useCallback((function(e){e.stopPropagation(),null==l||l.current.hideColumnMenu()}),[l]);return s?u.createElement(Si,{placement:"bottom-"+("right"===c.align?"start":"end"),open:a,target:s,onClickAway:d},u.createElement(r,Object.assign({currentColumn:c,hideMenu:d,open:a,id:t,labelledby:n},o))):null}function ki(e){var t,n=e.column,r=e.columnMenuOpen,o=e.colIndex,i=e.headerHeight,a=e.isDragging,s=e.isResizing,l=e.sortDirection,c=e.sortIndex,p=e.options,f=e.filterItemsCounter,h=e.hasFocus,b=e.tabIndex,A=Be(),m=u.useRef(null),g=(0,Y.Z)(),v=(0,Y.Z)(),y=u.useRef(null),M=p.classes,O=p.disableColumnReorder,_=p.showColumnRightBorder,z=p.disableColumnResize,x=p.disableColumnMenu,w=p.disableColumnFilter,C=null!=l,S="number"===n.type,E=null;n.renderHeader&&A.current&&(E=n.renderHeader(A.current.getColumnHeaderParams(n.field)));var k=u.useCallback((function(e){return function(t){return A.current.publishEvent(e,A.current.getColumnHeaderParams(n.field),t)}}),[A,n.field]),D=u.useMemo((function(){return{onClick:k(me.columnHeaderClick),onDoubleClick:k(me.columnHeaderDoubleClick),onMouseOver:k(me.columnHeaderOver),onMouseOut:k(me.columnHeaderOut),onMouseEnter:k(me.columnHeaderEnter),onMouseLeave:k(me.columnHeaderLeave),onKeyDown:k(me.columnHeaderKeyDown),onFocus:k(me.columnHeaderFocus),onBlur:k(me.columnHeaderBlur)}}),[k]),N=u.useMemo((function(){return{onDragStart:k(me.columnHeaderDragStart),onDragEnter:k(me.columnHeaderDragEnter),onDragOver:k(me.columnHeaderDragOver),onDragEnd:k(me.columnHeaderDragEnd)}}),[k]),T=u.useMemo((function(){return{onMouseDown:k(me.columnSeparatorMouseDown)}}),[k]),j=[null==M?void 0:M.columnHeader];if(n.headerClassName){var B=jn(n.headerClassName)?n.headerClassName({field:n.field,colDef:n,api:A.current}):n.headerClassName;j.push(B)}var L,R=d.Z.apply(void 0,["center"===n.headerAlign&&"MuiDataGrid-columnHeader--alignCenter","right"===n.headerAlign&&"MuiDataGrid-columnHeader--alignRight",{"MuiDataGrid-columnHeader--sortable":n.sortable,"MuiDataGrid-columnHeader--moving":a,"MuiDataGrid-columnHeader--sorted":C,"MuiDataGrid-columnHeader--numeric":S,"MuiDataGrid-withBorder":_}].concat(j)),q=n.computedWidth;null!=l&&(L={"aria-sort":"asc"===l?"ascending":"descending"});var P=!x&&!n.disableColumnMenu&&u.createElement(_i,{column:n,columnMenuId:g,columnMenuButtonId:v,open:r,iconButtonRef:y}),I=u.createElement(u.Fragment,null,!w&&u.createElement(xi,{counter:f}),n.sortable&&!n.hideSortIcons&&u.createElement(di,{direction:l,index:c}));return u.useLayoutEffect((function(){var e=A.current.state.columnMenu;if(h&&!e.open){var t=m.current.querySelector('[tabindex="0"]');t?t.focus():m.current.focus()}})),u.createElement("div",Object.assign({ref:m,className:R,key:n.field,"data-field":n.field,style:{width:q,minWidth:q,maxWidth:q},role:"columnheader",tabIndex:b,"aria-colindex":o+1},L,D),u.createElement("div",Object.assign({className:"MuiDataGrid-columnHeaderDraggableContainer",draggable:!O&&!n.disableReorder},N),u.createElement("div",{className:"MuiDataGrid-columnHeaderTitleContainer"},E||u.createElement(gi,{label:n.headerName||n.field,description:n.description,columnWidth:q}),I),P),u.createElement(Oi,Object.assign({resizable:!z&&!!n.resizable,resizing:s,height:i},T)),u.createElement(Ei,{columnMenuId:g,columnMenuButtonId:v,field:n.field,open:r,target:y.current,ContentComponent:A.current.components.ColumnMenu,contentComponentProps:null===(t=A.current.componentsProps)||void 0===t?void 0:t.columnMenu}))}function Di(e){var t=e.columns,n=Be(),r=sr(n,dr),o=sr(n,Cr),i=sr(n,Br),a=sr(n,Ar),s=sr(n,mr),l=sr(n,qr),c=sr(n,lr).renderContext,d=sr(n,Wr),p=sr(n,Ir),f=sr(n,Hr),h=sr(n,$r),b=t.map((function(e,t){var n,b=(n=t,null==c?n:n+c.firstColIdx),A=0===b,m=!(null===d&&null===p),g=null!==d&&d.field===e.field||A&&!m?0:-1,v=null!==l&&l.field===e.field,y=h.open&&h.field===e.field;return u.createElement(ki,Object.assign({key:e.field},o[e.field],{columnMenuOpen:y,filterItemsCounter:i[e.field]&&i[e.field].length,options:r,headerHeight:f,isDragging:e.field===a,column:e,colIndex:b,isResizing:s===e.field,hasFocus:v,tabIndex:g}))}));return u.createElement(u.Fragment,null,b)}var Ni=function(e){return e.containerSizes},Ti=function(e){return e.viewportSizes},ji=function(e){return e.scrollBar},Bi=A(Ni,(function(e){return null==e?null:e.dataContainerSizes})),Li=A(Ni,(function(e){return null==e?0:e.dataContainerSizes.height})),Ri=function(e){return e.scrollBar},qi=u.forwardRef((function(e,t){var n,r=Be(),o=sr(r,qe),i=sr(r,Ni),a=sr(r,Hr),s=sr(r,lr).renderContext,l=sr(r,Ri).hasScrollX,c=sr(r,Ar),p=(0,d.Z)("MuiDataGrid-columnHeaderWrapper",{scroll:l,"MuiDataGrid-columnHeaderDropZone":c}),f=u.useMemo((function(){return null==s?[]:o.slice(s.firstColIdx,s.lastColIdx+1)}),[o,s]);return u.createElement(u.Fragment,null,u.createElement(br,{scrollDirection:"left"}),u.createElement("div",{ref:t,className:p,"aria-rowindex":1,role:"row",style:{minWidth:null===(n=null==i?void 0:i.totalSizes)||void 0===n?void 0:n.width}},u.createElement(ur,{width:null==s?void 0:s.leftEmptyWidth,height:a}),u.createElement(Di,{columns:f}),u.createElement(ur,{width:null==s?void 0:s.rightEmptyWidth,height:a})),u.createElement(br,{scrollDirection:"right"}))})),Pi=u.forwardRef((function(e,t){var n=e.className,r=e.style,o=Mo(e,["className","style"]),i=Be(),a=sr(i,Hr);return u.createElement("div",Object.assign({ref:t,className:(0,d.Z)("MuiDataGrid-columnsContainer",n)},o,{style:Object.assign({minHeight:a,maxHeight:a,lineHeight:"".concat(a,"px")},r)}))}));function Ii(e){return u.createElement("div",{className:"MuiDataGrid-main"},e.children)}var Wi=u.forwardRef((function(e,t){var n=e.className,r=e.size,o=Mo(e,["className","size"]),i=Be(),a=sr(i,dr).autoHeight,s=sr(i,Hr),l=sr(i,Zr),c=sr(i,Li);u.useEffect((function(){i.current.resize()}),[i]);var p=u.useMemo((function(){return a?s+(c<l?2*l:c):r.height}),[a,c,s,l,r.height]);return u.createElement("div",{className:"MuiDataGrid-windowContainer",style:{width:r.width,height:p}},u.createElement("div",Object.assign({ref:t,className:(0,d.Z)("MuiDataGrid-window",n)},o,{style:{top:s,overflowY:a?"hidden":"auto"}})))}));var Fi=u.forwardRef((function(e,t){var n=e.children,r=e.defaultHeight,o=void 0===r?null:r,i=e.defaultWidth,a=void 0===i?null:i,s=e.disableHeight,c=void 0!==s&&s,d=e.disableWidth,p=void 0!==d&&d,f=e.nonce,h=e.onResize,b=e.style,A=Mo(e,["children","defaultHeight","defaultWidth","disableHeight","disableWidth","nonce","onResize","style"]),m=u.useState({height:o,width:a}),g=(0,l.Z)(m,2),v=g[0],y=g[1],M=u.useRef(null),O=u.useRef(null),_=En((function(){if(O.current){var e=O.current.offsetHeight||0,t=O.current.offsetWidth||0,n=(0,G.Z)(O.current).getComputedStyle(O.current),r=parseInt(n.paddingLeft,10)||0,o=parseInt(n.paddingRight,10)||0,i=e-(parseInt(n.paddingTop,10)||0)-(parseInt(n.paddingBottom,10)||0),a=t-r-o;(!c&&v.height!==i||!p&&v.width!==a)&&(y({height:i,width:a}),h&&h({height:i,width:a}))}}));kn((function(){var e;if(O.current=M.current.parentElement,O){var t=(0,G.Z)(null!==(e=O.current)&&void 0!==e?e:void 0),n=function(e,t){var n=function(e){var t=e.__resizeTriggers__,n=t.firstElementChild,r=t.lastElementChild,o=n.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,o.style.width=n.offsetWidth+1+"px",o.style.height=n.offsetHeight+1+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight},r=function(e){if(!(e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)){var r=this;n(this),this.__resizeRAF__&&t.cancelAnimationFrame(this.__resizeRAF__),this.__resizeRAF__=t.requestAnimationFrame((function(){(function(e){return e.offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height})(r)&&(r.__resizeLast__.width=r.offsetWidth,r.__resizeLast__.height=r.offsetHeight,r.__resizeListeners__.forEach((function(t){t.call(r,e)})))}))}},o=!1,i="",a="animationstart",s="Webkit Moz O ms".split(" "),l="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),c=document.createElement("fakeelement");if(void 0!==c.style.animationName&&(o=!0),!1===o)for(var u=0;u<s.length;u++)if(void 0!==c.style[s[u]+"AnimationName"]){i="-"+s[u].toLowerCase()+"-",a=l[u],o=!0;break}var d="@"+i+"keyframes resizeanim { from { opacity: 0; } to { opacity: 0; } } ",p=i+"animation: 1ms resizeanim; ";return{addResizeListener:function(o,i){if(!o.__resizeTriggers__){var s=o.ownerDocument,l=t.getComputedStyle(o);l&&"static"==l.position&&(o.style.position="relative"),function(t){if(!t.getElementById("muiDetectElementResize")){var n=(d||"")+".Mui-resizeTriggers { "+(p||"")+'visibility: hidden; opacity: 0; } .Mui-resizeTriggers, .Mui-resizeTriggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .Mui-resizeTriggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',r=t.head||t.getElementsByTagName("head")[0],o=t.createElement("style");o.id="muiDetectElementResize",o.type="text/css",null!=e&&o.setAttribute("nonce",e),o.styleSheet?o.styleSheet.cssText=n:o.appendChild(t.createTextNode(n)),r.appendChild(o)}}(s),o.__resizeLast__={},o.__resizeListeners__=[],(o.__resizeTriggers__=s.createElement("div")).className="Mui-resizeTriggers",o.__resizeTriggers__.innerHTML='<div class="expand-trigger"><div></div></div><div class="contract-trigger"></div>',o.appendChild(o.__resizeTriggers__),n(o),o.addEventListener("scroll",r,!0),a&&(o.__resizeTriggers__.__animationListener__=function(e){"resizeanim"==e.animationName&&n(o)},o.__resizeTriggers__.addEventListener(a,o.__resizeTriggers__.__animationListener__))}o.__resizeListeners__.push(i)},removeResizeListener:function(e,t){if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",r,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(a,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}(f,t);return n.addResizeListener(O.current,_),_(),function(){n.removeResizeListener(O.current,_)}}}),[f,_]);var z={overflow:"visible"},x={};c||(z.height=0,x.height=v.height),p||(z.width=0,x.width=v.width);var w=(0,X.Z)(M,t);return u.createElement("div",Object.assign({ref:w,style:Object.assign(Object.assign({},z),b)},A),null===v.height&&null===v.width?null:n(x))})),Ui=function(e){return e.editRows};function Zi(e){var t=e.className,n=Mo(e,["className"]),r=Be(),o=sr(r,Bi),i={minWidth:null==o?void 0:o.width,minHeight:null==o?void 0:o.height};return u.createElement("div",Object.assign({className:(0,d.Z)("MuiDataGrid-dataContainer",t),style:i},n))}var Hi=u.forwardRef((function(e,t){var n=e.height,r=e.width,o=e.children;return u.createElement("div",{ref:t,className:"MuiDataGrid-renderingZone",style:{maxHeight:n,width:r}},o)}));function $i(e){var t=e.selected,n=e.id,r=e.className,o=e.rowIndex,i=e.children,a=o+2,s=Be(),l=sr(s,Zr),c=sr(s,dr),p=c.classes,f=c.getRowClassName,h=u.useCallback((function(e){return function(t){(1!==t.target.nodeType||t.currentTarget.contains(t.target))&&s.current.publishEvent(e,null==s?void 0:s.current.getRowParams(n),t)}}),[s,n]),b=u.useMemo((function(){return{onClick:h(me.rowClick),onDoubleClick:h(me.rowDoubleClick),onMouseOver:h(me.rowOver),onMouseOut:h(me.rowOut),onMouseEnter:h(me.rowEnter),onMouseLeave:h(me.rowLeave)}}),[h]),A={maxHeight:l,minHeight:l},m=jn(f)&&f(s.current.getRowParams(n)),g=(0,d.Z)(r,m,null==p?void 0:p.row,{"Mui-selected":t});return u.createElement("div",Object.assign({key:n,"data-id":n,"data-rowindex":o,role:"row",className:g,"aria-rowindex":a,"aria-selected":t,style:A},b),i)}var Vi=u.memo((function(e){var t=e.align,n=e.className,r=e.children,o=e.colIndex,i=e.cellMode,a=e.field,s=e.formattedValue,l=e.hasFocus,c=e.height,p=e.isEditable,f=e.isSelected,h=e.rowIndex,b=e.rowId,A=e.showRightBorder,m=e.tabIndex,g=e.value,v=e.width,y=null==s?g:s,M=u.useRef(null),O=Be(),_=(0,d.Z)(n,"MuiDataGrid-cell--text".concat((0,K.Z)(t)),{"MuiDataGrid-withBorder":A,"MuiDataGrid-cell--editable":p}),z=u.useCallback((function(e){return function(t){if(!t.relatedTarget||!t.currentTarget.contains(t.relatedTarget)){var n=O.current.getCellParams(b,a||"");O.current.publishEvent(e,n,t)}}}),[O,a,b]),x=u.useCallback((function(e){return function(t){var n=O.current.getCellParams(b,a||"");O.current.publishEvent(e,n,t)}}),[O,a,b]),w=u.useCallback((function(e){return function(t){(1!==t.target.nodeType||t.currentTarget.contains(t.target))&&O.current.publishEvent(e,O.current.getCellParams(b,a||""),t)}}),[O,a,b]),C=u.useMemo((function(){return{onClick:w(me.cellClick),onDoubleClick:w(me.cellDoubleClick),onMouseDown:w(me.cellMouseDown),onMouseUp:x(me.cellMouseUp),onMouseOver:w(me.cellOver),onMouseOut:w(me.cellOut),onMouseEnter:w(me.cellEnter),onMouseLeave:w(me.cellLeave),onKeyDown:w(me.cellKeyDown),onBlur:z(me.cellBlur),onFocus:w(me.cellFocus),onDragStart:w(me.cellDragStart),onDragEnter:w(me.cellDragEnter),onDragOver:w(me.cellDragOver)}}),[w,z,x]),S={minWidth:v,maxWidth:v,lineHeight:c-1+"px",minHeight:c,maxHeight:c};return u.useLayoutEffect((function(){if(l&&"edit"!==i){var e=(0,J.Z)(O.current.rootElementRef.current);if(M.current&&!M.current.contains(e.activeElement)){var t=M.current.querySelector('[tabindex="0"]');t?t.focus():M.current.focus()}}})),u.createElement("div",Object.assign({ref:M,className:_,role:"cell","data-value":g,"data-field":a,"data-rowindex":h,"data-colindex":o,"data-rowselected":f,"data-editable":p,"data-mode":i,"aria-colindex":o+1,style:S,tabIndex:m},C),null!=r?r:null==y?void 0:y.toString())})),Xi=u.memo((function(e){var t=e.columns,n=e.firstColIdx,r=e.hasScrollX,o=e.hasScrollY,i=e.height,a=e.id,s=e.getCellClassName,l=e.lastColIdx,c=e.rowIndex,p=e.cellFocus,f=e.cellTabIndex,h=e.showCellRightBorder,b=e.isSelected,A=e.editRowState,m=e.cellClassName,g=Mo(e,["columns","firstColIdx","hasScrollX","hasScrollY","height","id","getCellClassName","lastColIdx","rowIndex","cellFocus","cellTabIndex","showCellRightBorder","isSelected","editRowState","cellClassName"]),v=Be(),y=t.slice(n,l+1).map((function(l,u){var y=n+u,M=y===t.length-1,O=M?!(M&&r&&!o)&&!e.extendRowFullWidth:h,_=v.current.getCellParams(a,l.field),z=[m];l.cellClassName&&z.push((0,d.Z)(jn(l.cellClassName)?l.cellClassName(_):l.cellClassName));var x=A&&A[l.field],w=null;if(null==x&&l.renderCell&&(w=l.renderCell(_),z.push("MuiDataGrid-cell--withRenderer")),null!=x&&l.renderEditCell){var C=Object.assign(Object.assign({},_),x);w=l.renderEditCell(C),z.push("MuiDataGrid-cell--editing")}return s&&z.push(s(_)),Object.assign({value:_.value,field:l.field,width:l.computedWidth,rowId:a,height:i,showRightBorder:O,formattedValue:_.formattedValue,align:l.align||"left",rowIndex:c,cellMode:_.cellMode,colIndex:y,children:w,isEditable:_.isEditable,isSelected:b,hasFocus:null!==p&&p.id===a&&p.field===l.field,tabIndex:null!==f&&f.id===a&&f.field===l.field&&"view"===_.cellMode?0:-1,className:(0,d.Z)(z)},g)}));return u.createElement(u.Fragment,null,y.map((function(e){return u.createElement(Vi,Object.assign({key:e.field},e))})))}));function Qi(e){var t=e.height,n=e.width,r=e.children;return u.createElement("div",{className:"MuiDataGrid-viewport",style:{minWidth:n,maxWidth:n,maxHeight:t}},r)}var Yi=u.forwardRef((function(e,t){var n=Be(),r=uo(),o=sr(n,dr),i=sr(n,Ni),a=sr(n,Ti),s=sr(n,ji),c=sr(n,qe),d=sr(n,lr),p=sr(n,Rr),f=sr(n,Ir),h=sr(n,vo),b=sr(n,kr),A=sr(n,Zr),m=sr(n,Ui);return u.createElement(Zi,null,u.createElement(Qi,Object.assign({},a),u.createElement(Hi,Object.assign({ref:t},(null==i?void 0:i.renderingZone)||{width:0,height:0}),null==d.renderContext?null:b.slice(d.renderContext.firstRowIdx,d.renderContext.lastRowIdx).map((function(e,t){var n,i=(0,l.Z)(e,2),a=i[0],b=i[1];return u.createElement($i,{className:(d.renderContext.firstRowIdx+t)%2==0?"Mui-even":"Mui-odd",key:a,id:a,selected:void 0!==h[a],rowIndex:d.renderContext.firstRowIdx+t},u.createElement(ur,{width:d.renderContext.leftEmptyWidth,height:A}),u.createElement(Xi,{columns:c,row:b,id:a,height:A,firstColIdx:d.renderContext.firstColIdx,lastColIdx:d.renderContext.lastColIdx,hasScrollX:s.hasScrollX,hasScrollY:s.hasScrollY,showCellRightBorder:!!r.showCellRightBorder,extendRowFullWidth:!r.disableExtendRowFullWidth,rowIndex:d.renderContext.firstRowIdx+t,cellFocus:p,cellTabIndex:f,isSelected:void 0!==h[a],editRowState:m[a],cellClassName:null===(n=o.classes)||void 0===n?void 0:n.cell,getCellClassName:r.getCellClassName}),u.createElement(ur,{width:d.renderContext.rightEmptyWidth,height:A}))})))))}));function Gi(){var e,t,n,r=Be(),o=uo(),i=sr(r,vr),a=sr(r,Nr),s=!o.loading&&0===i,l=!o.loading&&i>0&&0===a;return s?u.createElement(r.current.components.NoRowsOverlay,Object.assign({},null===(e=o.componentsProps)||void 0===e?void 0:e.noRowsOverlay)):l?u.createElement(r.current.components.NoResultsOverlay,Object.assign({},null===(t=o.componentsProps)||void 0===t?void 0:t.noResultsOverlay)):o.loading?u.createElement(r.current.components.LoadingOverlay,Object.assign({},null===(n=o.componentsProps)||void 0===n?void 0:n.loadingOverlay)):null}function Ki(e){var t=e.children,n=Be(),r=uo(),o=u.useRef(null),i=u.useRef(null),a=u.useRef(null),s=u.useRef(null);n.current.columnHeadersContainerElementRef=i,n.current.columnHeadersElementRef=o,n.current.windowRef=a,n.current.renderingZoneRef=s;var l=u.useCallback((function(e){return n.current.publishEvent(me.resize,e)}),[n]);return u.createElement(Ii,null,u.createElement(Gi,null),u.createElement(Pi,{ref:i},u.createElement(qi,{ref:o})),u.createElement(Fi,{nonce:r.nonce,disableHeight:r.autoHeight,onResize:l},(function(e){return u.createElement(Wi,{ref:a,size:e},u.createElement(Yi,{ref:s}))})),t)}var Ji=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(){return(0,o.Z)(this,n),t.apply(this,arguments)}return(0,i.Z)(n,[{key:"componentDidCatch",value:function(e,t){this.props.api.current&&(this.logError(e),this.props.api.current.showError({error:e,errorInfo:t}))}},{key:"logError",value:function(e,t){this.props.logger.error("An unexpected error occurred. Error: ".concat(e&&e.message,". "),e,t)}},{key:"render",value:function(){var e;return this.props.hasError||(null===(e=this.state)||void 0===e?void 0:e.hasError)?this.props.render(this.props.componentProps||this.state):this.props.children}}],[{key:"getDerivedStateFromError",value:function(e){return{hasError:!0,error:e}}}]),n}(u.Component);function ea(e){var t=e.children,n=Xn("GridErrorHandler"),r=Be(),o=uo(),i=ar(r),a=(0,l.Z)(i,1)[0];return u.createElement(Ji,{hasError:null!=a.error,componentProps:a.error,api:r,logger:n,render:function(e){var t;return u.createElement(Ii,null,u.createElement(r.current.components.ErrorOverlay,Object.assign({},e,null===(t=o.componentsProps)||void 0===t?void 0:t.errorOverlay)))}},t)}function ta(){var e,t=Be(),n=uo(),r=u.useRef(null);return t.current.footerRef=r,n.hideFooter?null:u.createElement("div",{ref:r},u.createElement(t.current.components.Footer,Object.assign({},null===(e=n.componentsProps)||void 0===e?void 0:e.footer)))}function na(){var e,t=Be(),n=uo(),r=u.useRef(null);return t.current.headerRef=r,u.createElement("div",{ref:r},u.createElement(t.current.components.Header,Object.assign({},null===(e=n.componentsProps)||void 0===e?void 0:e.header)))}var ra=(0,te.Z)((function(e){var t="light"===Bn(e.palette)?(0,m.$n)(Ln(e.palette.divider,1),.88):(0,m._j)(Ln(e.palette.divider,1),.68),n={root:Object.assign(Object.assign({flex:1,boxSizing:"border-box",position:"relative",border:"1px solid ".concat(t),borderRadius:e.shape.borderRadius,color:e.palette.text.primary},e.typography.body2),{outline:"none",height:"100%",display:"flex",flexDirection:"column","& *, & *::before, & *::after":{boxSizing:"inherit"},"&.MuiDataGrid-autoHeight":{height:"auto"},"& .MuiDataGrid-main":{position:"relative",flexGrow:1,display:"flex",flexDirection:"column"},"& .MuiDataGrid-overlay":{display:"flex",position:"absolute",top:0,left:0,right:0,bottom:0,alignSelf:"center",alignItems:"center",justifyContent:"center",backgroundColor:Ln(e.palette.background.default,e.palette.action.disabledOpacity)},"& .MuiDataGrid-toolbarContainer":{display:"flex",alignItems:"center",padding:"4px 4px 0"},"& .MuiDataGrid-columnsContainer":{position:"absolute",top:0,left:0,right:0,overflow:"hidden",display:"flex",flexDirection:"column",borderBottom:"1px solid ".concat(t)},"& .MuiDataGrid-scrollArea":{position:"absolute",top:0,zIndex:101,width:20,bottom:0},"& .MuiDataGrid-scrollArea--left":{left:0},"& .MuiDataGrid-scrollArea--right":{right:0},"& .MuiDataGrid-columnHeaderWrapper":{display:"flex",width:"100%",alignItems:"center",overflow:"hidden"},"& .MuiDataGrid-columnHeader, & .MuiDataGrid-cell":{WebkitTapHighlightColor:"transparent",lineHeight:null,padding:"0 10px"},"& .MuiDataGrid-columnHeader:focus-within, & .MuiDataGrid-cell:focus-within":{outline:"solid ".concat(Ln(e.palette.primary.main,.5)," 1px"),outlineWidth:1,outlineOffset:-1},"& .MuiDataGrid-columnHeader:focus, & .MuiDataGrid-cell:focus":{outline:"solid ".concat(e.palette.primary.main," 1px")},"& .MuiDataGrid-columnHeaderCheckbox, & .MuiDataGrid-cellCheckbox":{padding:0,justifyContent:"center",alignItems:"center"},"& .MuiDataGrid-columnHeader":{position:"relative",display:"flex",alignItems:"center"},"& .MuiDataGrid-columnHeader:not(.MuiDataGrid-columnHeader--sorted) .MuiDataGrid-sortIcon":{opacity:0,transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.shorter})},"& .MuiDataGrid-columnHeader:not(.MuiDataGrid-columnHeader--sorted):hover .MuiDataGrid-sortIcon":{opacity:.5},"& .MuiDataGrid-columnHeaderTitleContainer":{display:"flex",alignItems:"center",minWidth:0,flex:1,whiteSpace:"nowrap",overflow:"hidden",padding:"0 6px"},"& .MuiDataGrid-sortIcon, & .MuiDataGrid-filterIcon":{fontSize:"inherit"},"& .MuiDataGrid-columnHeader--sortable":{cursor:"pointer"},"& .MuiDataGrid-columnHeader--alignCenter .MuiDataGrid-columnHeaderTitleContainer":{justifyContent:"center"},"& .MuiDataGrid-columnHeader--alignRight .MuiDataGrid-columnHeaderDraggableContainer, & .MuiDataGrid-columnHeader--alignRight .MuiDataGrid-columnHeaderTitleContainer":{flexDirection:"row-reverse"},"& .MuiDataGrid-columnHeader--alignCenter .MuiDataGrid-menuIcon, & .MuiDataGrid-columnHeader--alignRight .MuiDataGrid-menuIcon":{marginRight:"auto",marginLeft:-6},"& .MuiDataGrid-columnHeaderTitle":{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",fontWeight:e.typography.fontWeightMedium},"& .MuiDataGrid-columnHeader--moving":{backgroundColor:e.palette.action.hover},"& .MuiDataGrid-columnSeparator":{position:"absolute",right:-12,zIndex:100,display:"flex",flexDirection:"column",justifyContent:"center",color:t},"& .MuiDataGrid-columnSeparator--resizable":{cursor:"col-resize",touchAction:"none","&:hover":{color:e.palette.text.primary,"@media (hover: none)":{color:t}},"&.Mui-resizing":{color:e.palette.text.primary}},"& .MuiDataGrid-iconSeparator":{color:"inherit"},"& .MuiDataGrid-menuIcon":{visibility:"hidden",fontSize:20,marginRight:-6,display:"flex",alignItems:"center"},"& .MuiDataGrid-columnHeader:hover .MuiDataGrid-menuIcon, .MuiDataGrid-menuOpen":{visibility:"visible"},"& .MuiDataGrid-columnHeaderWrapper.scroll .MuiDataGrid-columnHeader:last-child":{borderRight:"none"},"& .MuiDataGrid-dataContainer":{position:"relative",flexGrow:1,display:"flex",flexDirection:"column"},"& .MuiDataGrid-window":{position:"absolute",bottom:0,left:0,right:0,overflowX:"auto"},"& .MuiDataGrid-viewport":{position:"sticky",top:0,left:0,display:"flex",flexDirection:"column",overflow:"hidden"},"& .MuiDataGrid-row":{display:"flex",width:"fit-content","&:hover":{backgroundColor:e.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},"&.Mui-selected":{backgroundColor:Ln(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:Ln(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:Ln(e.palette.primary.main,e.palette.action.selectedOpacity)}}}},"& .MuiDataGrid-cell":{display:"block",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",borderBottom:"1px solid ".concat(t)},"& .MuiDataGrid-cell.MuiDataGrid-cell--editing":{padding:1,display:"flex",boxShadow:e.shadows[2],backgroundColor:e.palette.background.paper,"&:focus-within":{outline:"solid ".concat(e.palette.primary.main," 1px"),outlineOffset:"-1px"}},"& .MuiDataGrid-editInputCell":Object.assign(Object.assign({},e.typography.body2),{padding:"1px 0","& input":{padding:"0 16px",height:"100%"}}),"& .MuiDataGrid-editBooleanCell":{display:"flex",height:"100%",width:"100%",alignItems:"center",justifyContent:"center"},'& .MuiDataGrid-booleanCell[data-value="true"]':{color:e.palette.text.secondary},'& .MuiDataGrid-booleanCell[data-value="false"]':{color:e.palette.text.disabled},"& .MuiDataGrid-columnHeaderWrapper .MuiDataGrid-cell":{borderBottom:"none"},"& .MuiDataGrid-cell--withRenderer":{display:"flex",alignItems:"center"},"& .MuiDataGrid-withBorder":{borderRight:"1px solid ".concat(t)},"& .MuiDataGrid-cell--textLeft":{textAlign:"left"},"& .MuiDataGrid-cell--textLeft.MuiDataGrid-cell--withRenderer, & .MuiDataGrid-cell--textLeft.MuiDataGrid-cell--editing":{justifyContent:"flex-start"},"& .MuiDataGrid-cell--textRight":{textAlign:"right"},"& .MuiDataGrid-cell--textRight.MuiDataGrid-cell--withRenderer, & .MuiDataGrid-cell--textRight.MuiDataGrid-cell--editing":{justifyContent:"flex-end"},"& .MuiDataGrid-cell--textCenter":{textAlign:"center"},"& .MuiDataGrid-cell--textCenter.MuiDataGrid-cell--withRenderer, & .MuiDataGrid-cell--textCenter.MuiDataGrid-cell--editing":{justifyContent:"center"},"& .MuiDataGrid-rowCount, & .MuiDataGrid-selectedRowCount":{alignItems:"center",display:"flex",margin:e.spacing(0,2)},"& .MuiDataGrid-footerContainer":{display:"flex",justifyContent:"space-between",alignItems:"center",minHeight:52,"& .MuiDataGrid-selectedRowCount":{visibility:"hidden",width:0,height:0,[e.breakpoints.up("sm")]:{visibility:"visible",width:"auto",height:"auto"}}},"& .MuiDataGrid-columnHeaderDropZone .MuiDataGrid-columnHeaderDraggableContainer":{cursor:"move"},"& .MuiDataGrid-columnHeaderDraggableContainer":{display:"flex",width:"100%"},"& .MuiDataGrid-columnHeader--dragging":{background:e.palette.background.paper,padding:"0 12px",borderRadius:e.shape.borderRadius,opacity:e.palette.action.disabledOpacity}})};if("dark"===Bn(e.palette)){var r="#202022",o="#585859",i="#838384";n.root=Object.assign(Object.assign({},n.root),{scrollbarColor:"".concat(o," ").concat(r),"& *::-webkit-scrollbar":{backgroundColor:r},"& *::-webkit-scrollbar-thumb":{borderRadius:8,backgroundColor:o,minHeight:24,border:"3px solid ".concat(r)},"& *::-webkit-scrollbar-thumb:focus":{backgroundColor:i},"& *::-webkit-scrollbar-thumb:active":{backgroundColor:i},"& *::-webkit-scrollbar-thumb:hover":{backgroundColor:i},"& *::-webkit-scrollbar-corner":{backgroundColor:r}})}return n}),{name:"MuiDataGrid",defaultTheme:Rn()}),oa=u.forwardRef((function(e,t){var n,r=ra(),o=Be(),i=uo(),a=e.children,s=e.className,c=Mo(e,["children","className"]),p=sr(o,Fe),f=ar(o),h=(0,l.Z)(f,1)[0],b=sr(o,dr),A=u.useRef(null),m=(0,X.Z)(A,t);return o.current.rootElementRef=A,u.createElement(ge,null,u.createElement("div",Object.assign({ref:m,className:(0,d.Z)(r.root,null===(n=b.classes)||void 0===n?void 0:n.root,i.className,s,{"MuiDataGrid-autoHeight":i.autoHeight}),role:"grid","aria-colcount":p,"aria-rowcount":h.rows.totalRowCount,"aria-multiselectable":!i.disableMultipleSelection,"aria-label":i["aria-label"],"aria-labelledby":i["aria-labelledby"],style:i.style},c),a))})),ia=u.forwardRef((function(e,t){var n=e.className,r=Mo(e,["className"]);return u.createElement("div",Object.assign({ref:t,className:(0,d.Z)("MuiDataGrid-footerContainer",n)},r))})),aa=u.forwardRef((function(e,t){var n=e.className,r=e.style,o=Mo(e,["className","style"]),i=Be(),a=sr(i,Hr);return u.createElement("div",Object.assign({ref:t,className:(0,d.Z)("MuiDataGrid-overlay",n),style:Object.assign({top:a},r)},o))})),sa=u.forwardRef((function(e,t){var n=e.className,r=e.children,o=Mo(e,["className","children"]);return r?u.createElement("div",Object.assign({ref:t,className:(0,d.Z)("MuiDataGrid-toolbarContainer",n)},o),r):null})),la=function(e){var t=e.onClick,n=Be(),r=uo(),o=u.useCallback((function(e){t(e),n.current.showPreferences(yi.columns)}),[n,t]);return r.disableColumnSelector?null:u.createElement(se.Z,{onClick:o},n.current.getLocaleText("columnMenuShowColumns"))},ca=function(e){var t=e.column,n=e.onClick,r=Be(),o=uo(),i=u.useCallback((function(e){n(e),r.current.showFilterPanel(null==t?void 0:t.field)}),[r,null==t?void 0:t.field,n]);return o.disableColumnFilter||!(null==t?void 0:t.filterable)?null:u.createElement(se.Z,{onClick:i},r.current.getLocaleText("columnMenuFilter"))},ua=u.forwardRef((function(e,t){var n=e.hideMenu,r=(e.currentColumn,e.open),o=e.id,i=e.labelledby,a=e.className,s=e.children,l=Mo(e,["hideMenu","currentColumn","open","id","labelledby","className","children"]),c=u.useCallback((function(e){Qr(e.key)&&e.preventDefault(),lo(e.key)&&n()}),[n]);return u.createElement(ve.Z,Object.assign({id:o,ref:t,className:(0,d.Z)("MuiDataGrid-gridMenuList",a),"aria-labelledby":i,onKeyDown:c,autoFocus:r},l),s)})),da=function(e){var t=e.column,n=e.onClick,r=Be(),o=uo(),i=u.useRef(),a=u.useCallback((function(e){n(e),i.current=setTimeout((function(){r.current.setColumnVisibility(null==t?void 0:t.field,!1)}),100)}),[r,null==t?void 0:t.field,n]);return u.useEffect((function(){return function(){return clearTimeout(i.current)}}),[]),o.disableColumnSelector?null:u.createElement(se.Z,{onClick:a},r.current.getLocaleText("columnMenuHideColumn"))},pa=function(e){var t=e.column,n=e.onClick,r=Be(),o=sr(r,wr),i=u.useMemo((function(){if(!t)return null;var e=o.find((function(e){return e.field===t.field}));return null==e?void 0:e.sort}),[t,o]),a=u.useCallback((function(e){n(e);var o=e.currentTarget.getAttribute("data-value")||null;null==r||r.current.sortColumn(t,o)}),[r,t,n]);return t&&t.sortable?u.createElement(u.Fragment,null,u.createElement(se.Z,{onClick:a,disabled:null==i},r.current.getLocaleText("columnMenuUnsort")),u.createElement(se.Z,{onClick:a,"data-value":"asc",disabled:"asc"===i},r.current.getLocaleText("columnMenuSortAsc")),u.createElement(se.Z,{onClick:a,"data-value":"desc",disabled:"desc"===i},r.current.getLocaleText("columnMenuSortDesc"))):null},fa=u.forwardRef((function(e,t){var n=e.hideMenu,r=e.currentColumn;return u.createElement(ua,Object.assign({ref:t},e),u.createElement(pa,{onClick:n,column:r}),u.createElement(ca,{onClick:n,column:r}),u.createElement(da,{onClick:n,column:r}),u.createElement(la,{onClick:n,column:r}))})),ha=(0,te.Z)((function(){return{root:{display:"flex",flexDirection:"column",overflow:"auto",flex:"1 1",maxHeight:400}}}),{name:"MuiGridPanelContent"});function ba(e){var t=ha(),n=e.className,r=Mo(e,["className"]);return u.createElement("div",Object.assign({className:(0,d.Z)(t.root,n)},r))}var Aa=(0,te.Z)((function(){return{root:{padding:4,display:"flex",justifyContent:"space-between"}}}),{name:"MuiGridPanelFooter"});function ma(e){var t=Aa(),n=e.className,r=Mo(e,["className"]);return u.createElement("div",Object.assign({className:(0,d.Z)(t.root,n)},r))}var ga=(0,te.Z)((function(e){return{root:{padding:e.spacing(1)}}}),{name:"MuiDataGridPanelHeader",defaultTheme:Rn()});function va(e){var t=ga(),n=e.className,r=Mo(e,["className"]);return u.createElement("div",Object.assign({className:(0,d.Z)(t.root,n)},r))}var ya=(0,te.Z)((function(){return{root:{display:"flex",flexDirection:"column",flex:1,"&:focus":{outline:0}}}}),{name:"MuiGridPanelWrapper"}),Ma=function(){return!0};function Oa(e){var t=ya(),n=e.className,r=Mo(e,["className"]),o="v4.12".startsWith("v4")?{getDoc:function(){return document}}:{};return u.createElement(_e.Z,Object.assign({open:!0,disableEnforceFocus:!0,isEnabled:Ma},o),u.createElement("div",Object.assign({tabIndex:-1,className:(0,d.Z)(t.root,n)},r)))}var _a=(0,te.Z)({container:{padding:"8px 0px 8px 8px"},column:{display:"flex",justifyContent:"space-between",padding:"1px 8px 1px 7px"},switch:{marginRight:4},dragIcon:{justifyContent:"flex-end"}},{name:"MuiDataGridColumnsPanel"});var za=(0,te.Z)((function(e){return{root:{zIndex:e.zIndex.modal},paper:{backgroundColor:e.palette.background.paper,minWidth:300,maxHeight:450,display:"flex"}}}),{name:"MuiGridPanel",defaultTheme:Rn()}),xa=(function(e,t){var n={};["root","paper"].forEach((function(e){n[e]=Tn("MuiGridPanel",e)}))}(),u.forwardRef((function(e,t){var n,r=e.children,o=e.className,i=e.open,a=Mo(e,["children","className","open"]),s=za(a),l=Be(),c=u.useCallback((function(){l.current.hidePreferences()}),[l]),p=u.useCallback((function(e){Vr(e.key)&&l.current.hidePreferences()}),[l]),f=null===(n=null==l?void 0:l.current.columnHeadersContainerElementRef)||void 0===n?void 0:n.current;return f?u.createElement(be.Z,Object.assign({ref:t,placement:"bottom-start",className:(0,d.Z)(o,s.root),open:i,anchorEl:f,modifiers:{flip:{enabled:!1}}},a),u.createElement(pe.Z,{onClickAway:c},u.createElement(he.Z,{className:s.paper,elevation:8,onKeyDown:p},r))):null}))),wa=u.forwardRef((function(e,t){var n,r,o,i=Be(),a=sr(i,Re),s=uo(),l=sr(i,zi),c=l.openedPanelValue===yi.columns,d=!l.openedPanelValue||!c,p=i.current.components.ColumnsPanel,f=i.current.components.FilterPanel,h=i.current.components.Panel;return u.createElement(h,Object.assign({ref:t,open:a.length>0&&l.open},null===(n=null==i?void 0:i.current.componentsProps)||void 0===n?void 0:n.panel,e),!s.disableColumnSelector&&c&&u.createElement(p,Object.assign({},null===(r=null==i?void 0:i.current.componentsProps)||void 0===r?void 0:r.columnsPanel)),!s.disableColumnFilter&&d&&u.createElement(f,Object.assign({},null===(o=null==i?void 0:i.current.componentsProps)||void 0===o?void 0:o.filterPanel)))})),Ca=(0,te.Z)({root:{display:"flex",justifyContent:"space-around",padding:8},linkOperatorSelect:{minWidth:60},columnSelect:{width:150},operatorSelect:{width:120},filterValueInput:{width:190},closeIcon:{flexShrink:0,justifyContent:"flex-end",marginRight:6,marginBottom:2}},{name:"MuiGridFilterForm"});function Sa(e){var t,n,r=e.item,o=e.hasMultipleFilters,i=e.deleteFilter,a=e.applyFilterChanges,s=e.multiFilterOperator,l=e.showMultiFilterOperators,c=e.disableMultiFilterOperator,d=e.applyMultiFilterOperatorChanges,p=Ca(),f=Be(),h=sr(f,Ie),b=(0,Y.Z)(),A=(0,Y.Z)(),m=(0,Y.Z)(),g=(0,Y.Z)(),v=(0,Y.Z)(),y=(0,Y.Z)(),M=u.useCallback((function(){return r.columnField?f.current.getColumn(r.columnField):null}),[f,r]),O=u.useCallback((function(){var e,t=M();return r.operatorValue&&t?null===(e=t.filterOperators)||void 0===e?void 0:e.find((function(e){return e.value===r.operatorValue})):null}),[r,M]),_=u.useCallback((function(e){var t=e.target.value,n=f.current.getColumn(t).filterOperators[0];a(Object.assign(Object.assign({},r),{value:void 0,columnField:t,operatorValue:n.value}))}),[f,a,r]),z=u.useCallback((function(e){var t=e.target.value;a(Object.assign(Object.assign({},r),{operatorValue:t}))}),[a,r]),x=u.useCallback((function(e){var t=e.target.value===Kn.And.toString()?Kn.And:Kn.Or;d(t)}),[d]),w=u.useCallback((function(){i(r)}),[i,r]),C=O();return u.createElement("div",{className:p.root},u.createElement(ze.Z,{variant:"standard",className:p.closeIcon},u.createElement(ue.Z,{"aria-label":f.current.getLocaleText("filterPanelDeleteIconLabel"),title:f.current.getLocaleText("filterPanelDeleteIconLabel"),onClick:w,size:"small"},u.createElement(qo,{fontSize:"small"}))),u.createElement(ze.Z,{variant:"standard",className:p.linkOperatorSelect,style:{display:o?"block":"none",visibility:l?"visible":"hidden"}},u.createElement(xe.Z,{htmlFor:b,id:A},f.current.getLocaleText("filterPanelOperators")),u.createElement(ae.Z,{labelId:A,id:b,value:s,onChange:x,disabled:!!c,native:!0},u.createElement("option",{key:Kn.And.toString(),value:Kn.And.toString()},f.current.getLocaleText("filterPanelOperatorAnd")),u.createElement("option",{key:Kn.Or.toString(),value:Kn.Or.toString()},f.current.getLocaleText("filterPanelOperatorOr")))),u.createElement(ze.Z,{variant:"standard",className:p.columnSelect},u.createElement(xe.Z,{htmlFor:m,id:g},f.current.getLocaleText("filterPanelColumns")),u.createElement(ae.Z,{labelId:g,id:m,value:r.columnField||"",onChange:_,native:!0},h.map((function(e){return u.createElement("option",{key:e.field,value:e.field},e.headerName||e.field)})))),u.createElement(ze.Z,{variant:"standard",className:p.operatorSelect},u.createElement(xe.Z,{htmlFor:v,id:y},f.current.getLocaleText("filterPanelOperators")),u.createElement(ae.Z,{labelId:y,id:v,value:r.operatorValue,onChange:z,native:!0},null===(n=null===(t=M())||void 0===t?void 0:t.filterOperators)||void 0===n?void 0:n.map((function(e){return u.createElement("option",{key:e.value,value:e.value},e.label||f.current.getLocaleText("filterOperator".concat((0,K.Z)(e.value))))})))),u.createElement(ze.Z,{variant:"standard",className:p.filterValueInput},(null==C?void 0:C.InputComponent)?u.createElement(C.InputComponent,Object.assign({apiRef:f,item:r,applyValue:a},C.InputComponentProps)):null))}var Ea=u.forwardRef((function(e,t){var n=e.onClick,r=Mo(e,["onClick"]),o=Be(),i=uo(),a=o.current.components.ColumnSelectorIcon,s=sr(o,zi),l=s.open,c=s.openedPanelValue;return i.disableColumnSelector?null:u.createElement(Me.Z,Object.assign({ref:t,size:"small",color:"primary","aria-label":o.current.getLocaleText("toolbarColumnsLabel"),startIcon:u.createElement(a,null)},r,{onClick:function(e){l&&c===yi.columns?o.current.hidePreferences():o.current.showPreferences(yi.columns),null==n||n(e)}}),o.current.getLocaleText("toolbarColumns"))})),ka=u.forwardRef((function(e,t){var n=e.onClick,r=Mo(e,["onClick"]),o=Be(),i=uo(),a=sr(o,Ur),s=(0,Y.Z)(),c=(0,Y.Z)(),d=u.useState(null),p=(0,l.Z)(d,2),f=p[0],h=p[1],b=o.current.components.DensityCompactIcon,A=o.current.components.DensityStandardIcon,m=o.current.components.DensityComfortableIcon,g=[{icon:u.createElement(b,null),label:o.current.getLocaleText("toolbarDensityCompact"),value:Yn.Compact},{icon:u.createElement(A,null),label:o.current.getLocaleText("toolbarDensityStandard"),value:Yn.Standard},{icon:u.createElement(m,null),label:o.current.getLocaleText("toolbarDensityComfortable"),value:Yn.Comfortable}],v=u.useCallback((function(){switch(a){case Yn.Compact:return u.createElement(b,null);case Yn.Comfortable:return u.createElement(m,null);default:return u.createElement(A,null)}}),[a,b,m,A]),y=function(){return h(null)};if(i.disableDensitySelector)return null;var M=g.map((function(e,t){return u.createElement(se.Z,{key:t,onClick:function(){return t=e.value,o.current.setDensity(t),void h(null);var t},selected:e.value===a},u.createElement(Se,null,e.icon),e.label)}));return u.createElement(u.Fragment,null,u.createElement(Me.Z,Object.assign({ref:t,color:"primary",size:"small",startIcon:v(),"aria-label":o.current.getLocaleText("toolbarDensityLabel"),"aria-expanded":f?"true":void 0,"aria-haspopup":"menu","aria-labelledby":c,id:s},r,{onClick:function(e){h(e.currentTarget),null==n||n(e)}}),o.current.getLocaleText("toolbarDensity")),u.createElement(Si,{open:Boolean(f),target:f,onClickAway:y,position:"bottom-start"},u.createElement(ve.Z,{id:c,className:"MuiDataGrid-gridMenuList","aria-labelledby":s,onKeyDown:function(e){Qr(e.key)&&e.preventDefault(),lo(e.key)&&y()},autoFocusItem:Boolean(f)},M)))})),Da=(0,te.Z)((function(e){return{list:{margin:e.spacing(1,1,.5),padding:e.spacing(0,1)}}}),{name:"MuiGridToolbarFilterButton",defaultTheme:Rn()}),Na=u.forwardRef((function(e,t){var n=e.componentsProps,r=void 0===n?{}:n,o=Mo(e,["componentsProps"]),i=r.button||{},a=Da(),s=Be(),l=uo(),c=sr(s,jr),d=sr(s,Tr),p=sr(s,Le),f=sr(s,zi),h=u.useMemo((function(){return f.open?s.current.getLocaleText("toolbarFiltersTooltipHide"):0===c?s.current.getLocaleText("toolbarFiltersTooltipShow"):u.createElement("div",null,s.current.getLocaleText("toolbarFiltersTooltipActive")(c),u.createElement("ul",{className:a.list},d.map((function(e,t){return Object.assign({},p[e.columnField]&&u.createElement("li",{key:t},"".concat(p[e.columnField].headerName||e.columnField,"\n                  ").concat(function(e){return p[e.columnField].filterOperators.find((function(t){return t.value===e.operatorValue})).label||s.current.getLocaleText("filterOperator".concat((0,K.Z)(e.operatorValue))).toString()}(e),"\n                  ").concat(e.value)))}))))}),[s,f.open,c,d,p,a]);if(l.disableColumnFilter)return null;var b=s.current.components.OpenFilterButtonIcon;return u.createElement(de.ZP,Object.assign({title:h,enterDelay:1e3},o),u.createElement(Me.Z,Object.assign({ref:t,size:"small",color:"primary","aria-label":s.current.getLocaleText("toolbarFiltersLabel"),startIcon:u.createElement(ce,{badgeContent:c,color:"primary"},u.createElement(b,null))},i,{onClick:function(e){var t,n=f.open,r=f.openedPanelValue;n&&r===yi.filters?s.current.hideFilterPanel():s.current.showFilterPanel(),null===(t=i.onClick)||void 0===t||t.call(i,e)}}),s.current.getLocaleText("toolbarFilters")))})),Ta=u.forwardRef((function(e,t){var n=e.csvOptions,r=e.onClick,o=Mo(e,["csvOptions","onClick"]),i=Be(),a=(0,Y.Z)(),s=(0,Y.Z)(),c=u.useState(null),d=(0,l.Z)(c,2),p=d[0],f=d[1],h=i.current.components.ExportIcon,b=[];b.push({label:i.current.getLocaleText("toolbarExportCSV"),format:"csv",formatOptions:n});var A=function(){return f(null)},m=function(e){return function(){"csv"===e.format&&i.current.exportDataAsCsv(e.formatOptions),f(null)}};return u.createElement(u.Fragment,null,u.createElement(Me.Z,Object.assign({ref:t,color:"primary",size:"small",startIcon:u.createElement(h,null),"aria-expanded":p?"true":void 0,"aria-label":i.current.getLocaleText("toolbarExportLabel"),"aria-haspopup":"menu","aria-labelledby":s,id:a},o,{onClick:function(e){f(e.currentTarget),null==r||r(e)}}),i.current.getLocaleText("toolbarExport")),u.createElement(Si,{open:Boolean(p),target:p,onClickAway:A,position:"bottom-start"},u.createElement(ve.Z,{id:s,className:"MuiDataGrid-gridMenuList","aria-labelledby":a,onKeyDown:function(e){Qr(e.key)&&e.preventDefault(),lo(e.key)&&A()},autoFocusItem:Boolean(p)},b.map((function(e,t){return u.createElement(se.Z,{key:t,onClick:m(e)},e.label)})))))})),ja=(u.forwardRef((function(e,t){var n=uo();return n.disableColumnFilter&&n.disableColumnSelector&&n.disableDensitySelector?null:u.createElement(sa,Object.assign({ref:t},e),u.createElement(Ea,null),u.createElement(Na,null),u.createElement(ka,null),u.createElement(Ta,null))})),u.forwardRef((function(e,t){var n=e.className,r=e.rowCount,o=e.visibleRowCount,i=Mo(e,["className","rowCount","visibleRowCount"]),a=Be();if(0===r)return null;var s=o<r?a.current.getLocaleText("footerTotalVisibleRows")(o,r):r.toLocaleString();return u.createElement("div",Object.assign({ref:t,className:(0,d.Z)("MuiDataGrid-rowCount",n)},i),a.current.getLocaleText("footerTotalRows")," ",s)}))),Ba=u.forwardRef((function(e,t){var n=e.className,r=e.selectedRowCount,o=Mo(e,["className","selectedRowCount"]),i=Be().current.getLocaleText("footerRowSelected")(r);return u.createElement("div",Object.assign({ref:t,className:(0,d.Z)("MuiDataGrid-selectedRowCount",n)},o),i)})),La=u.forwardRef((function(e,t){var n,r=Be(),o=uo(),i=sr(r,vr),a=sr(r,mo),s=sr(r,ho),l=sr(r,Nr),c=!o.hideFooterSelectedRowCount&&a>0?u.createElement(Ba,{selectedRowCount:a}):u.createElement("div",null),d=o.hideFooterRowCount||o.pagination?null:u.createElement(ja,{rowCount:i,visibleRowCount:l}),p=!!o.pagination&&null!=s.pageSize&&!o.hideFooterPagination&&(null==r?void 0:r.current.components.Pagination),f=p&&u.createElement(p,Object.assign({},null===(n=null==r?void 0:r.current.componentsProps)||void 0===n?void 0:n.pagination));return u.createElement(ia,Object.assign({ref:t},e),c,d,f)})),Ra=u.forwardRef((function(e,t){var n,r,o=Be(),i=null==o?void 0:o.current.components.PreferencesPanel,a=i&&u.createElement(i,Object.assign({},null===(n=null==o?void 0:o.current.componentsProps)||void 0===n?void 0:n.preferencesPanel)),s=null==o?void 0:o.current.components.Toolbar,l=s&&u.createElement(s,Object.assign({},null===(r=null==o?void 0:o.current.componentsProps)||void 0===r?void 0:r.toolbar));return u.createElement("div",Object.assign({ref:t},e),a,l)})),qa=u.forwardRef((function(e,t){return u.createElement(aa,Object.assign({ref:t},e),u.createElement(Ee.Z,null))})),Pa=u.forwardRef((function(e,t){var n=Be().current.getLocaleText("noRowsLabel");return u.createElement(aa,Object.assign({ref:t},e),n)})),Ia=(0,te.Z)((function(e){return{selectLabel:{display:"none",[e.breakpoints.up("md")]:{display:"block"}},caption:{"&[id]":{display:"none",[e.breakpoints.up("md")]:{display:"block"}}},input:{display:"none",[e.breakpoints.up("md")]:{display:"inline-flex"}}}}),{defaultTheme:Rn()}),Wa=u.forwardRef((function(e,t){var n,r=Ia(),o=Be(),i=uo(),a=sr(o,ho),s=u.useMemo((function(){return Math.floor(a.rowCount/(a.pageSize||1))}),[a.rowCount,a.pageSize]),l=u.useCallback((function(e){var t=Number(e.target.value);o.current.setPageSize(t)}),[o]),c=u.useCallback((function(e,t){o.current.setPage(t)}),[o]);return u.createElement(ke.Z,Object.assign({ref:t,classes:Object.assign(Object.assign({},{caption:r.caption}),{input:r.input}),component:"div",count:a.rowCount,page:a.page<=s?a.page:s,rowsPerPageOptions:(null===(n=i.rowsPerPageOptions)||void 0===n?void 0:n.includes(a.pageSize))?i.rowsPerPageOptions:[],rowsPerPage:a.pageSize},o.current.getLocaleText("MuiTablePagination"),{onPageChange:c,onRowsPerPageChange:l},e))}));var Fa=function(e,t,n,r,o){var i=Xn("useNativeEventListener"),a=u.useState(!1),s=(0,l.Z)(a,2),c=s[0],d=s[1],p=u.useRef(r),f=u.useCallback((function(e){return p.current&&p.current(e)}),[]);u.useEffect((function(){p.current=r}),[r]),u.useEffect((function(){var r;if((r=jn(t)?t():t&&t.current?t.current:null)&&f&&n&&!c){i.debug("Binding native ".concat(n," event")),r.addEventListener(n,f,o);var a=r;d(!0);e.current.subscribeEvent(me.unmount,(function(){i.debug("Clearing native ".concat(n," event")),a.removeEventListener(n,f,o)}))}}),[t,f,n,c,i,o,e])};function Ua(e,t){return e.debug("Building columns lookup"),t.reduce((function(e,t){return e[t.field]=t,e}),{})}var Za=function(e,t){var n,r,o={all:(0,c.Z)(null!==(n=null==t?void 0:t.all)&&void 0!==n?n:[]),lookup:Object.assign({},null!==(r=null==t?void 0:t.lookup)&&void 0!==r?r:{})};return e.forEach((function(e){null==o.lookup[e.field]?(o.lookup[e.field]=e,o.all.push(e.field)):o.lookup[e.field]=Object.assign(Object.assign({},o.lookup[e.field]),e)})),o};function Ha(e,t){var n=Xn("useGridColumns"),r=ar(e),o=(0,l.Z)(r,3),i=o[0],a=o[1],s=o[2],d=sr(e,Pe),p=sr(e,Re),f=sr(e,qe),h=u.useCallback((function(t){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];n.debug("Updating columns state."),a((function(e){return Object.assign(Object.assign({},e),{columns:t})})),s(),e.current&&r&&e.current.publishEvent(me.columnsChange,t.all)}),[n,a,s,e]),b=u.useCallback((function(t){return e.current.state.columns.lookup[t]}),[e]),A=u.useCallback((function(){return p}),[p]),m=u.useCallback((function(){return f}),[f]),g=u.useCallback((function(){return d}),[d]),v=u.useCallback((function(e){return!(arguments.length>1&&void 0!==arguments[1])||arguments[1]?f.findIndex((function(t){return t.field===e})):p.findIndex((function(t){return t.field===e}))}),[p,f]),y=u.useCallback((function(e){var t=v(e);return d.positions[t]}),[d.positions,v]),M=u.useCallback((function(t,r){n.debug("updating GridColumns with new state");var o=e.current.state,i=function(e,t){for(var n,r,o=0,i=t,a=[],s=0;s<e.length;s+=1){var l=Object.assign({},e[s]);if(l.hide)l.computedWidth=0;else{var c=null!==(n=l.minWidth)&&void 0!==n?n:$o.minWidth;if(l.flex&&l.flex>0)o+=l.flex,l.computedWidth=c;else{var u=Math.max(null!==(r=l.width)&&void 0!==r?r:$o.width,c);l.computedWidth=u,i-=u}}a.push(l)}if(o&&i>0)for(var d=o>0?i/o:0,p=0;p<a.length;p+=1){var f=a[p];!f.hide&&f.flex&&f.flex>0&&(a[p].computedWidth=Math.max(d*f.flex,f.computedWidth))}return a}(t.all.map((function(e){return t.lookup[e]})),o.viewportSizes.width),a={all:i.map((function(e){return e.field})),lookup:Ua(n,i)};h(a,r)}),[e,n,h]),O=u.useCallback((function(t){var n=Za(t,e.current.state.columns);M(n,!1)}),[e,M]),_=u.useCallback((function(e){return O([e])}),[O]),z=u.useCallback((function(t,n){var r=b(t),o=Object.assign(Object.assign({},r),{hide:!n});O([o]),s(),e.current.publishEvent(me.columnVisibilityChange,{field:t,colDef:o,api:e,isVisible:n})}),[e,s,b,O]),x=u.useCallback((function(t,r){var o=i.columns.all.findIndex((function(e){return e===t}));if(o!==r){n.debug("Moving column ".concat(t," to index ").concat(r));var a={field:t,element:e.current.getColumnHeaderElement(t),colDef:e.current.getColumn(t),targetIndex:r,oldIndex:o,api:e.current};e.current.publishEvent(me.columnOrderChange,a);var s=(0,c.Z)(i.columns.all);s.splice(r,0,s.splice(o,1)[0]),h(Object.assign(Object.assign({},i.columns),{all:s}))}}),[e,i.columns,n,h]),w=u.useCallback((function(t,r){n.debug("Updating column ".concat(t," width to ").concat(r));var o=e.current.getColumn(t);e.current.updateColumn(Object.assign(Object.assign({},o),{width:r})),e.current.publishEvent(me.columnWidthChange,{element:e.current.getColumnHeaderElement(t),colDef:o,api:e,width:r})}),[e,n]);Qn(e,{getColumn:b,getAllColumns:A,getColumnIndex:v,getColumnPosition:y,getVisibleColumns:m,getColumnsMeta:g,updateColumn:_,updateColumns:O,setColumnVisibility:z,setColumnIndex:x,setColumnWidth:w},"ColApi"),u.useEffect((function(){if(n.info("GridColumns have changed, new length ".concat(t.columns.length)),t.columns.length>0){var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=arguments.length>4?arguments[4]:void 0;(arguments.length>3?arguments[3]:void 0).debug("Hydrating GridColumns with default definitions");var o=function(e,t){var n=Object.assign(Object.assign({},e),t),r={};return Object.entries(n).forEach((function(e){var t=(0,l.Z)(e,2),o=t[0],i=t[1];i=Object.assign(Object.assign({},n[i.extendType||"__default__"]),i),r[o]=i})),r}(ci(),t),i=e.map((function(e){return Object.assign(Object.assign({},ui(o,e.type)),e)}));if(n){var a=Object.assign({},Yo);return a.headerName=r("checkboxSelectionHeaderName"),[a].concat((0,c.Z)(i))}return i}(t.columns,t.columnTypes,!!t.checkboxSelection,n,e.current.getLocaleText),o=Za(r);M(o)}else h({all:[],lookup:{}})}),[n,e,t.columns,t.columnTypes,t.checkboxSelection,h,M]),u.useEffect((function(){n.debug("GridColumns gridState.viewportSizes.width, changed ".concat(i.viewportSizes.width));var t=Re(e.current.state);e.current.updateColumns(t)}),[e,i.viewportSizes.width,n]),hr(e,me.columnVisibilityChange,t.onColumnVisibilityChange)}var $a=function(e,t){return t>0&&e>0?Math.ceil(e/t):0},Va=function(e){return e.pageCount?Object.assign(Object.assign({},e),{page:Math.max(Math.min(e.page,e.pageCount-1),0)}):e};function Xa(e,t,n){var r=t?t(e):e.id;return function(e,t,n){if(null==e)throw new Error(["Material-UI: The data grid component requires all rows to have a unique id property.",n||"A row was provided without id in the rows prop:",JSON.stringify(t)].join("\n"))}(r,e,n),r}var Qa=function(e,t){var n=Xn("useGridRows"),r=ar(e),o=(0,l.Z)(r,3),i=o[1],a=o[2],s=sr(e,gr),d=u.useRef(),p=u.useCallback((function(e){null==d.current&&(d.current=setTimeout((function(){n.debug("Updating component"),d.current=null,e&&e(),a()}),100))}),[n,a]),f=u.useRef(s);u.useEffect((function(){return function(){return clearTimeout(d.current)}}),[]),u.useEffect((function(){i((function(e){return f.current=function(e,t,n){var r=Object.assign(Object.assign({},{idRowsLookup:{},allRows:[],totalRowCount:0}),{totalRowCount:t&&t>e.length?t:e.length});return e.forEach((function(e){var t=Xa(e,n);r.allRows.push(t),r.idRowsLookup[t]=e})),r}(t.rows,t.rowCount,t.getRowId),Object.assign(Object.assign({},e),{rows:f.current})}))}),[t.getRowId,t.rows,t.rowCount,i]);var h=u.useCallback((function(t){return e.current.getSortedRowIds?e.current.getSortedRowIds().indexOf(t):e.current.state.rows.allRows.indexOf(t)}),[e]),b=u.useCallback((function(t){return e.current.getSortedRowIds?e.current.getSortedRowIds()[t]:e.current.state.rows.allRows[t]}),[e]),A=u.useCallback((function(t){var n;return null!==(n=e.current.state.rows.idRowsLookup[t])&&void 0!==n?n:null}),[e]),m=u.useCallback((function(r){n.debug("updating all rows, new length ".concat(r.length)),f.current.allRows.length>0&&e.current.publishEvent(me.rowsClear);var o=[],a=r.reduce((function(e,n){var r=Xa(n,t.getRowId);return e[r]=n,o.push(r),e}),{}),s=t.rowCount&&t.rowCount>o.length?t.rowCount:o.length;f.current={idRowsLookup:a,allRows:o,totalRowCount:s},i((function(e){return Object.assign(Object.assign({},e),{rows:f.current})})),p((function(){return e.current.publishEvent(me.rowsSet)}))}),[n,i,p,e,t.getRowId,t.rowCount]),g=u.useCallback((function(n){var r=n.reduce((function(e,n){var r=Xa(n,t.getRowId,"A row was provided without id when calling updateRows():");return e[r]=null!=e[r]?Object.assign(Object.assign({},e[r]),n):n,e}),{}),o=[],a=[],s=null;if(Object.entries(r).forEach((function(e){var t=(0,l.Z)(e,2),n=t[0],r=t[1];if("delete"!==r._action){var i=A(n);i?(s||(s=Object.assign({},f.current.idRowsLookup)),s[n]=Object.assign(Object.assign({},i),r)):o.push(r)}else a.push(n)})),s&&(f.current.idRowsLookup=s,i((function(e){return Object.assign(Object.assign({},e),{rows:Object.assign({},f.current)})}))),a.length>0||o.length>0){a.forEach((function(e){delete f.current.idRowsLookup[e]}));var u=[].concat((0,c.Z)(Object.values(f.current.idRowsLookup)),o);m(u)}p((function(){return e.current.publishEvent(me.rowsUpdate)}))}),[e,p,A,t.getRowId,i,m]),v=u.useCallback((function(){return new Map(e.current.state.rows.allRows.map((function(t){return[t,e.current.state.rows.idRowsLookup[t]]})))}),[e]),y=u.useCallback((function(){return e.current.state.rows.totalRowCount}),[e]),M=u.useCallback((function(){return e.current.state.rows.allRows}),[e]);Qn(e,{getRowIndex:h,getRowIdFromRowIndex:b,getRow:A,getRowModels:v,getRowsCount:y,getAllRowIds:M,setRows:m,updateRows:g},"GridRowApi")};function Ya(e){var t=e.clientHeight,n=e.scrollTop,r=e.offsetHeight,o=e.offsetTop,i=o+r;return i-t>n?i-t:o<n?o:void 0}function Ga(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.length;if(t.length<=0)return-1;if(n>=r)return n;var o=n+Math.floor((r-n)/2);return e<=t[o]?Ga(e,t,n,o):Ga(e,t,o+1,r)}var Ka=function(e){var t,n=Xn("useGridVirtualRows"),r=e.current.columnHeadersElementRef,o=e.current.windowRef,i=e.current.renderingZoneRef,a=ar(e),s=(0,l.Z)(a,3),c=s[0],d=s[1],p=s[2],f=sr(e,dr),h=sr(e,Zr),b=sr(e,ho),A=sr(e,vr),m=sr(e,qe),g=sr(e,Pe),v=u.useRef(null),y=u.useRef(null),M=u.useRef(0),O=function(e,t){var n=Xn("useGridScrollFn"),r=u.useRef();return[u.useCallback((function(o){var i;o.left===(null===(i=r.current)||void 0===i?void 0:i.left)&&o.top===r.current.top||e&&e.current&&(n.debug("Moving ".concat(e.current.className," to: ").concat(o.left,"-").concat(o.top)),e.current.style.transform="translate3d(-".concat(o.left,"px, -").concat(o.top,"px, 0)"),t.current.style.transform="translate3d(-".concat(o.left,"px, 0, 0)"),r.current=o)}),[e,n,t])]}(i,r),_=(0,l.Z)(O,1)[0],z=u.useCallback((function(e){var t=!1;return d((function(n){var r=Object.assign(Object.assign({},n.rendering),e);return Sn(n.rendering,r)?n:(t=!0,Object.assign(Object.assign({},n),{rendering:r}))})),t}),[d]),x=u.useCallback((function(t){if(null==e.current.state.containerSizes)return null;var n=0;f.pagination&&null!=b.pageSize&&"client"===f.paginationMode&&(n=b.pageSize*b.page);var r=t*e.current.state.containerSizes.viewportPageSize+n,o=r+e.current.state.containerSizes.renderingZonePageSize,i=e.current.state.containerSizes.virtualRowsCount+n;return o>i&&(o=i),{page:t,firstRowIdx:r,lastRowIdx:o}}),[e,f.pagination,b.pageSize,f.paginationMode,b.page]),w=u.useCallback((function(){return null==e.current.state.containerSizes?null:Object.assign(Object.assign(Object.assign({},v.current),x(e.current.state.rendering.virtualPage)),{paginationCurrentPage:b.page,pageSize:b.pageSize})}),[v,x,e,b.page,b.pageSize]),C=u.useCallback((function(){var e=w();z({renderContext:e})&&(n.debug("reRender: trigger rendering"),p())}),[w,n,p,z]),S=u.useCallback((function(e){return Ga(e,g.positions)}),[g.positions]),E=u.useCallback((function(e){return m.length?m[S(e)]:null}),[S,m]),k=u.useCallback((function(t,r){var o,i,a,s;if(!t)return!1;y.current=t;var l=t.windowSizes.width;M.current=r,n.debug("GridColumns from ".concat(null===(o=E(r))||void 0===o?void 0:o.field," to ").concat(null===(i=E(r+l))||void 0===i?void 0:i.field));var c=S(r),u=S(r+l),d=(null===(a=null==v?void 0:v.current)||void 0===a?void 0:a.firstColIdx)||0,p=(null===(s=null==v?void 0:v.current)||void 0===s?void 0:s.lastColIdx)||0,h=f.columnBuffer,b=h>1?h-1:h,A=Math.abs(c-b-d),O=Math.abs(u+b-p);n.debug("Column buffer: ".concat(h,", tolerance: ").concat(b)),n.debug("Previous values  => first: ".concat(d,", last: ").concat(p)),n.debug("Current displayed values  => first: ".concat(c,", last: ").concat(u)),n.debug("Difference with first: ".concat(A," and last: ").concat(O," "));var _=m.length>0?m.length-1:0,z=c-h>=0?c-h:0,x={leftEmptyWidth:g.positions[z],rightEmptyWidth:0,firstColIdx:z,lastColIdx:u+h>=_?_:u+h};return e.current.state.scrollBar.hasScrollX?x.rightEmptyWidth=g.totalWidth-g.positions[x.lastColIdx]-m[x.lastColIdx].computedWidth:f.disableExtendRowFullWidth||(x.rightEmptyWidth=e.current.state.viewportSizes.width-g.totalWidth),Sn(x,v.current)?(n.debug("No rendering needed on columns"),!1):(v.current=x,n.debug("New columns state to render",x),!0)}),[e,g.positions,g.totalWidth,E,S,n,f.columnBuffer,f.disableExtendRowFullWidth,m]),D=u.useCallback((function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=e.current.state,i=r.containerSizes;if(o&&o.current&&i){var a=r.scrollBar,s=o.current,l=s.scrollLeft,c=s.scrollTop;n.debug("Handling scroll Left: ".concat(l," Top: ").concat(c));var u=k(i,l),d=l,p=r.containerSizes.renderingZoneScrollHeight,f=r.rendering.virtualPage,h=p>0?Math.floor(c/p):0,A=c%p,m={left:a.hasScrollX?d:0,top:i.isVirtualized?A:c};i.isVirtualized&&f!==h?(z({virtualPage:h}),n.debug("Changing page from ".concat(f," to ").concat(h)),u=!0):(!i.isVirtualized&&f>0&&(n.debug("Virtualization disabled, setting virtualPage to 0"),z({virtualPage:0})),_(m)),z({renderingZoneScroll:m,realScroll:{left:o.current.scrollLeft,top:o.current.scrollTop}}),e.current.publishEvent(me.rowsScroll,m);var g=r.rendering.renderContext&&r.rendering.renderContext.paginationCurrentPage!==b.page;(t||u||g)&&C()}}),[e,n,b.page,C,_,z,k,o]),N=u.useCallback((function(t){if(0===A||0===m.length)return!1;n.debug("Scrolling to cell at row ".concat(t.rowIndex,", col: ").concat(t.colIndex," "));var r={};if(null!=t.colIndex&&(r.left=Ya({clientHeight:o.current.clientWidth,scrollTop:o.current.scrollLeft,offsetHeight:m[t.colIndex].computedWidth,offsetTop:g.positions[t.colIndex]})),null!=t.rowIndex){var i=f.pagination?t.rowIndex-b.page*b.pageSize:t.rowIndex;r.top=Ya({clientHeight:o.current.clientHeight,scrollTop:o.current.scrollTop,offsetHeight:h,offsetTop:h*i})}return(void 0!==typeof r.left||void 0!==typeof r.top)&&(e.current.scroll(r),!0)}),[A,m,n,e,f.pagination,b.page,b.pageSize,o,g.positions,h]),T=u.useCallback((function(){_({left:0,top:0}),z({virtualPage:0}),o&&o.current&&(o.current.scrollTop=0,o.current.scrollLeft=0),z({renderingZoneScroll:{left:0,top:0}})}),[_,z,o]),j=u.useRef(null),B=u.useCallback((function(){o.current.scrollLeft<0||o.current.scrollTop<0||(j.current||d((function(e){return Object.assign(Object.assign({},e),{isScrolling:!0})})),clearTimeout(j.current),j.current=setTimeout((function(){j.current=null,d((function(e){return Object.assign(Object.assign({},e),{isScrolling:!1})})),p()}),300),e.current.updateViewport&&e.current.updateViewport())}),[o,e,d,p]),L=u.useCallback((function(e){o.current&&null!=e.left&&r.current&&(r.current.scrollLeft=e.left,o.current.scrollLeft=e.left,n.debug("Scrolling left: ".concat(e.left))),o.current&&null!=e.top&&(o.current.scrollTop=e.top,n.debug("Scrolling top: ".concat(e.top))),n.debug("Scrolling, updating container, and viewport")}),[o,r,n]),R=u.useCallback((function(){return cr(e.current.state)}),[e]),q=u.useCallback((function(){return c.containerSizes}),[c.containerSizes]),P=u.useCallback((function(){return c.rendering.renderContext||void 0}),[c.rendering.renderContext]);kn((function(){i&&i.current&&(n.debug("applying scrollTop ",c.rendering.renderingZoneScroll.top),_(c.rendering.renderingZoneScroll))})),Qn(e,{scroll:L,scrollToIndexes:N,getContainerPropsState:q,getRenderContextState:P,getScrollPosition:R,updateViewport:D},"GridVirtualizationApi"),u.useEffect((function(){var t;(null===(t=c.rendering.renderContext)||void 0===t?void 0:t.paginationCurrentPage)!==b.page&&e.current.updateViewport&&(n.debug("State paginationState.page changed to ".concat(b.page,". ")),e.current.updateViewport(!0),T())}),[e,b.page,null===(t=c.rendering.renderContext)||void 0===t?void 0:t.paginationCurrentPage,n,T]),u.useEffect((function(){return e.current.updateViewport&&(n.debug("totalRowCount has changed to ".concat(A,", updating viewport.")),e.current.updateViewport(!0)),function(){clearTimeout(j.current)}}),[n,A,c.viewportSizes,c.scrollBar,c.containerSizes,e]);var I=u.useCallback((function(e){e.target.scrollLeft=0,e.target.scrollTop=0}),[]);Fa(e,o,"scroll",B,{passive:!0}),Fa(e,(function(){var t,n,r;return null===(r=null===(n=null===(t=e.current)||void 0===t?void 0:t.renderingZoneRef)||void 0===n?void 0:n.current)||void 0===r?void 0:r.parentElement}),"scroll",I),Fa(e,(function(){var t,n;return null===(n=null===(t=e.current)||void 0===t?void 0:t.columnHeadersContainerElementRef)||void 0===n?void 0:n.current}),"scroll",I);var W=u.useCallback((function(){n.debug("Clearing previous renderedColRef"),v.current=null}),[n,v]);pr(e,me.columnsChange,W),pr(e,me.debouncedResize,W)},Ja=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(){return(0,o.Z)(this,n),t.apply(this,arguments)}return(0,i.Z)(n,[{key:"on",value:function(e,t,n){Array.isArray(this.events[e])||(this.events[e]=[]),n&&n.isFirst?this.events[e].splice(0,0,t):this.events[e].push(t)}}]),n}(function(){function e(){(0,o.Z)(this,e),this.maxListeners=10,this.warnOnce=!1,this.events={}}return(0,i.Z)(e,[{key:"on",value:function(e,t){Array.isArray(this.events[e])||(this.events[e]=[]),this.events[e].push(t)}},{key:"removeListener",value:function(e,t){if(Array.isArray(this.events[e])){var n=this.events[e].indexOf(t);n>-1&&this.events[e].splice(n,1)}}},{key:"removeAllListeners",value:function(e){e?Array.isArray(this.events[e])&&(this.events[e]=[]):this.events={}}},{key:"emit",value:function(e){if(Array.isArray(this.events[e])){for(var t=this.events[e].slice(),n=t.length,r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];for(var a=0;a<n;a+=1)t[a].apply(this,o)}}},{key:"once",value:function(e,t){var n=this;this.on(e,(function r(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];n.removeListener(e,r),t.apply(n,i)}))}}]),e}());var es=!1;function ts(){if("undefined"==typeof document)return es;if(!es){var e=document.createElement("div");e.style.touchAction="none",document.body.appendChild(e),es="none"===window.getComputedStyle(e).touchAction,e.parentElement.removeChild(e)}return es}function ns(e,t){if(void 0!==t&&e.changedTouches){for(var n=0;n<e.changedTouches.length;n+=1){var r=e.changedTouches[n];if(r.identifier===t)return{x:r.clientX,y:r.clientY}}return!1}return{x:e.clientX,y:e.clientY}}var rs=u.memo((function(e){var t=Be(),n=uo(),r="asc"===(0,l.Z)(n.sortingOrder,1)[0]?null==t?void 0:t.current.components.ColumnSortedAscendingIcon:null==t?void 0:t.current.components.ColumnSortedDescendingIcon;return r?u.createElement(r,Object.assign({},e)):null})),os=u.forwardRef((function(e,t){var n=e.message,r=Mo(e,["message"]),o=Be().current.getLocaleText("errorOverlayDefaultLabel");return u.createElement(aa,Object.assign({ref:t},r),n||o)})),is=u.forwardRef((function(e,t){var n=Be().current.getLocaleText("noResultsOverlayLabel");return u.createElement(aa,Object.assign({ref:t},e),n)})),as={BooleanCellFalseIcon:qo,BooleanCellTrueIcon:Uo,Checkbox:ie.Z,ColumnFilteredIcon:Do,ColumnMenu:fa,ColumnMenuIcon:Ro,ColumnResizeIcon:To,ColumnSelectorIcon:No,ColumnSortedAscendingIcon:So,ColumnSortedDescendingIcon:Eo,ColumnsPanel:function(){var e=_a(),t=Be(),n=u.useRef(null),r=sr(t,Re),o=sr(t,dr).disableColumnReorder,i=u.useState(""),a=(0,l.Z)(i,2),s=a[0],c=a[1],d=u.useCallback((function(e){var n=e.target.name,r=t.current.getColumn(n);t.current.setColumnVisibility(n,!!r.hide)}),[t]),p=u.useCallback((function(e){t.current.updateColumns(r.map((function(t){return t.hide=e,t})))}),[t,r]),f=u.useCallback((function(){return p(!1)}),[p]),h=u.useCallback((function(){return p(!0)}),[p]),b=u.useCallback((function(e){c(e.target.value)}),[]),A=u.useMemo((function(){return s?r.filter((function(e){return e.field.toLowerCase().indexOf(s.toLowerCase())>-1||e.headerName&&e.headerName.toLowerCase().indexOf(s.toLowerCase())>-1})):r}),[r,s]);return u.useEffect((function(){n.current.focus()}),[]),u.createElement(Oa,null,u.createElement(va,null,u.createElement(oe.Z,{label:t.current.getLocaleText("columnsPanelTextFieldLabel"),placeholder:t.current.getLocaleText("columnsPanelTextFieldPlaceholder"),inputRef:n,value:s,onChange:b,variant:"standard",fullWidth:!0})),u.createElement(ba,null,u.createElement("div",{className:e.container},A.map((function(n){return u.createElement("div",{key:n.field,className:e.column},u.createElement(Oe.Z,{control:u.createElement(ye.Z,{className:e.switch,checked:!n.hide,onClick:d,name:n.field,color:"primary",size:"small"}),label:n.headerName||n.field}),!o&&Mi&&u.createElement(ue.Z,{draggable:!0,className:e.dragIcon,"aria-label":t.current.getLocaleText("columnsPanelDragIconLabel"),title:t.current.getLocaleText("columnsPanelDragIconLabel"),size:"small",disabled:!0},u.createElement(Wo,null)))})))),u.createElement(ma,null,u.createElement(Me.Z,{onClick:h,color:"primary"},t.current.getLocaleText("columnsPanelHideAllButton")),u.createElement(Me.Z,{onClick:f,color:"primary"},t.current.getLocaleText("columnsPanelShowAllButton"))))},ColumnUnsortedIcon:rs,DensityComfortableIcon:Lo,DensityCompactIcon:jo,DensityStandardIcon:Bo,ErrorOverlay:os,ExportIcon:Fo,FilterPanel:function(){var e=Be(),t=ar(e),n=(0,l.Z)(t,1)[0],r=sr(e,dr).disableMultipleColumnsFiltering,o=u.useMemo((function(){return n.filter.items.length>1}),[n.filter.items.length]),i=u.useCallback((function(t){e.current.upsertFilter(t)}),[e]),a=u.useCallback((function(t){e.current.applyFilterLinkOperator(t)}),[e]),s=u.useCallback((function(){e.current.upsertFilter({})}),[e]),c=u.useCallback((function(t){e.current.deleteFilter(t)}),[e]);return u.useEffect((function(){0===n.filter.items.length&&s()}),[s,n.filter.items.length]),u.createElement(Oa,null,u.createElement(ba,null,n.filter.items.map((function(e,t){return u.createElement(Sa,{key:null==e.id?t:e.id,item:e,applyFilterChanges:i,deleteFilter:c,hasMultipleFilters:o,showMultiFilterOperators:t>0,multiFilterOperator:n.filter.linkOperator,disableMultiFilterOperator:1!==t,applyMultiFilterOperatorChanges:a})}))),!r&&u.createElement(ma,null,u.createElement(Me.Z,{onClick:s,startIcon:u.createElement(Po,null),color:"primary"},e.current.getLocaleText("filterPanelAddFilter"))))},Footer:La,Header:Ra,LoadingOverlay:qa,NoResultsOverlay:is,NoRowsOverlay:Pa,OpenFilterButtonIcon:ko,Pagination:Wa,Panel:xa,PreferencesPanel:wa},ss=function(){var e=Be(),t=sr(e,dr),n=sr(e,Or),r=sr(e,qe),o=ar(e),i=(0,l.Z)(o,1)[0];return u.useMemo((function(){return{state:i,rows:n,columns:r,options:t,apiRef:e,rootElement:e.current.rootElementRef}}),[i,n,r,t,e])},ls=function(e,t){var n;return{props:{MuiDataGrid:{localeText:Object.assign(Object.assign({},e),{MuiTablePagination:(null===(n=null==t?void 0:t.props)||void 0===n?void 0:n.MuiTablePagination)||{}})}}}},cs=(ls({noRowsLabel:"\u0644\u0627 \u062a\u0648\u062c\u062f \u0635\u0641\u0648\u0641",noResultsOverlayLabel:"\u0644\u0645 \u064a\u062a\u0645 \u0627\u0644\u0639\u062b\u0648\u0631 \u0639\u0644\u0649 \u0646\u062a\u0627\u0626\u062c.",errorOverlayDefaultLabel:"\u062d\u062f\u062b \u062e\u0637\u0623.",toolbarDensity:"\u0643\u062b\u0627\u0641\u0629",toolbarDensityLabel:"\u0643\u062b\u0627\u0641\u0629",toolbarDensityCompact:"\u0645\u062f\u0645\u062c",toolbarDensityStandard:"\u0627\u0644\u0645\u0639\u064a\u0627\u0631",toolbarDensityComfortable:"\u0645\u0631\u064a\u062d",toolbarColumns:"\u0627\u0644\u0623\u0639\u0645\u062f\u0629",toolbarColumnsLabel:"\u062d\u062f\u062f \u0627\u0644\u0623\u0639\u0645\u062f\u0629",toolbarFilters:"\u0627\u0644\u0641\u0644\u0627\u062a\u0631",toolbarFiltersLabel:"\u0627\u0638\u0647\u0631 \u0627\u0644\u0641\u0644\u0627\u062a\u0631",toolbarFiltersTooltipHide:"\u0625\u062e\u0641\u0627\u0621 \u0627\u0644\u0641\u0644\u0627\u062a\u0631",toolbarFiltersTooltipShow:"\u0627\u0638\u0647\u0631 \u0627\u0644\u0641\u0644\u0627\u062a\u0631",toolbarFiltersTooltipActive:function(e){return"".concat(e," \u0641\u0644\u0627\u062a\u0631 \u0646\u0634\u0637\u0629")},toolbarExport:"\u062a\u0635\u062f\u064a\u0631",toolbarExportLabel:"\u062a\u0635\u062f\u064a\u0631",toolbarExportCSV:"\u062a\u0646\u0632\u064a\u0644 \u0643\u0645\u0644\u0641 CSV",columnsPanelTextFieldLabel:"\u0627\u064a\u062c\u0627\u062f \u0639\u0645\u0648\u062f",columnsPanelTextFieldPlaceholder:"\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0639\u0645\u0648\u062f",columnsPanelDragIconLabel:"\u0625\u0639\u0627\u062f\u0629 \u062a\u0631\u062a\u064a\u0628 \u0627\u0644\u0639\u0645\u0648\u062f",columnsPanelShowAllButton:"\u0639\u0631\u0636 \u0627\u0644\u0643\u0644",columnsPanelHideAllButton:"\u0627\u062e\u0641\u0627\u0621 \u0627\u0644\u0643\u0644",filterPanelAddFilter:"\u0627\u0636\u0641 \u0641\u0644\u062a\u0631",filterPanelDeleteIconLabel:"\u062d\u0630\u0641",filterPanelOperators:"\u0627\u0644\u0639\u0627\u0645\u0644\u064a\u0646",filterPanelOperatorAnd:"\u0648",filterPanelOperatorOr:"\u0627\u0648",filterPanelColumns:"\u0627\u0644\u0623\u0639\u0645\u062f\u0629",filterPanelInputLabel:"\u0642\u064a\u0645\u0629",filterPanelInputPlaceholder:"\u0642\u064a\u0645\u0629 \u0627\u0644\u062a\u0635\u0641\u064a\u0629",filterOperatorContains:"\u064a\u062d\u062a\u0648\u064a \u0639\u0644\u0649",filterOperatorEquals:"\u064a\u0633\u0627\u0648\u064a",filterOperatorStartsWith:"\u064a\u0628\u062f\u0623 \u0628",filterOperatorEndsWith:"\u064a\u0646\u062a\u0647\u064a \u0628\u0640",filterOperatorIs:"\u064a\u0643\u0648\u0646",filterOperatorNot:"\u0644\u064a\u0633",filterOperatorAfter:"\u064a\u0643\u0648\u0646 \u0628\u0639\u062f",filterOperatorOnOrAfter:"\u0641\u064a \u0623\u0648 \u0628\u0639\u062f",filterOperatorBefore:"\u064a\u0643\u0648\u0646",filterOperatorOnOrBefore:"\u0641\u064a \u0623\u0648 \u0642\u0628\u0644",filterOperatorIsEmpty:"\u0641\u0627\u0631\u063a",filterOperatorIsNotEmpty:"\u0644\u064a\u0633 \u0641\u0627\u0631\u063a\u0627",filterValueAny:"\u0623\u064a",filterValueTrue:"\u0635\u062d\u064a\u062d",filterValueFalse:"\u062e\u0627\u0637\u0626\u0629",columnMenuLabel:"\u0627\u0644\u0642\u0627\u0626\u0645\u0629",columnMenuShowColumns:"\u0625\u0638\u0647\u0627\u0631 \u0627\u0644\u0623\u0639\u0645\u062f\u0629",columnMenuFilter:"\u0641\u0644\u062a\u0631",columnMenuHideColumn:"\u0625\u062e\u0641\u0627\u0621",columnMenuUnsort:"\u063a\u064a\u0631 \u0645\u0631\u062a\u0628",columnMenuSortAsc:"\u0627\u0644\u062a\u0631\u062a\u064a\u0628 \u062d\u0633\u0628 ASC",columnMenuSortDesc:"\u0627\u0644\u062a\u0631\u062a\u064a\u0628 \u062d\u0633\u0628 DESC",columnHeaderFiltersTooltipActive:function(e){return"".concat(e," \u0641\u0644\u0627\u062a\u0631 \u0646\u0634\u0637\u0629")},columnHeaderFiltersLabel:"\u0627\u0638\u0647\u0631 \u0627\u0644\u0641\u0644\u0627\u062a\u0631",columnHeaderSortIconLabel:"\u062a\u0631\u062a\u064a\u0628",footerRowSelected:function(e){return"".concat(e.toLocaleString()," \u0635\u0641\u0648\u0641 \u0645\u062e\u062a\u0627\u0631\u0629")},footerTotalRows:"\u0625\u062c\u0645\u0627\u0644\u064a \u0627\u0644\u0635\u0641\u0648\u0641:",footerTotalVisibleRows:function(e,t){return"".concat(e.toLocaleString()," \u0645\u0646 ").concat(t.toLocaleString())},checkboxSelectionHeaderName:"\u062a\u062d\u062f\u064a\u062f",booleanCellTrueLabel:"\u0635\u062d\u064a\u062d",booleanCellFalseLabel:"\u062e\u0627\u0637\u0626\u0629"},De._z),ls({noRowsLabel:"\u041d\u044f\u043c\u0430 \u0440\u0435\u0434\u043e\u0432\u0435",errorOverlayDefaultLabel:"\u0412\u044a\u0437\u043d\u0438\u043a\u043d\u0430 \u0433\u0440\u0435\u0448\u043a\u0430.",toolbarDensity:"\u0413\u044a\u0441\u0442\u043e\u0442\u0430",toolbarDensityLabel:"\u0413\u044a\u0441\u0442\u043e\u0442\u0430",toolbarDensityCompact:"\u041a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u0430",toolbarDensityStandard:"\u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u0430",toolbarDensityComfortable:"\u041a\u043e\u043c\u0444\u043e\u0440\u0442\u043d\u0430",toolbarColumns:"\u041a\u043e\u043b\u043e\u043d\u0438",toolbarColumnsLabel:"\u041f\u043e\u043a\u0430\u0436\u0438 \u0441\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0430 \u043d\u0430 \u043a\u043e\u043b\u043e\u043d\u0438",toolbarFilters:"\u0424\u0438\u043b\u0442\u0440\u0438",toolbarFiltersLabel:"\u041f\u043e\u043a\u0430\u0436\u0438 \u0424\u0438\u043b\u0442\u0440\u0438\u0442\u0435",toolbarFiltersTooltipHide:"\u0421\u043a\u0440\u0438\u0439 \u0424\u0438\u043b\u0442\u0440\u0438\u0442\u0435",toolbarFiltersTooltipShow:"\u041f\u043e\u043a\u0430\u0436\u0438 \u0424\u0438\u043b\u0442\u0440\u0438\u0442\u0435",toolbarFiltersTooltipActive:function(e){return"".concat(e," \u0430\u043a\u0442\u0438\u0432\u043d\u0438 \u0444\u0438\u043b\u0442\u0440\u0438")},columnsPanelTextFieldLabel:"\u041d\u0430\u043c\u0435\u0440\u0438 \u043a\u043e\u043b\u043e\u043d\u0430",columnsPanelTextFieldPlaceholder:"\u0417\u0430\u0433\u043b\u0430\u0432\u0438\u0435 \u043d\u0430 \u043a\u043e\u043b\u043e\u043d\u0430",columnsPanelDragIconLabel:"\u041f\u0440\u0435\u043d\u0430\u0440\u0435\u0434\u0438 \u043d\u0430 \u043a\u043e\u043b\u043e\u043d\u0430",columnsPanelShowAllButton:"\u041f\u043e\u043a\u0430\u0436\u0438 \u0412\u0441\u0438\u0447\u043a\u0438",columnsPanelHideAllButton:"\u0421\u043a\u0440\u0438\u0439 \u0412\u0441\u0438\u0447\u043a\u0438",filterPanelAddFilter:"\u0414\u043e\u0431\u0430\u0432\u0438 \u0424\u0438\u043b\u0442\u044a\u0440",filterPanelDeleteIconLabel:"\u0418\u0437\u0442\u0440\u0438\u0439",filterPanelOperators:"\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0438",filterPanelOperatorAnd:"\u0418",filterPanelOperatorOr:"\u0418\u043b\u0438",filterPanelColumns:"\u041a\u043e\u043b\u043e\u043d\u0438",filterOperatorContains:"\u0441\u044a\u0434\u044a\u0440\u0436\u0430",filterOperatorEquals:"\u0440\u0430\u0432\u043d\u043e",filterOperatorStartsWith:"\u0437\u0430\u043f\u043e\u0447\u0432\u0430 \u0441",filterOperatorEndsWith:"\u0437\u0430\u0432\u044a\u0440\u0448\u0432\u0430 \u0441",filterOperatorIs:"\u0435",filterOperatorNot:"\u043d\u0435 \u0435",filterOperatorAfter:"\u0435 \u0441\u043b\u0435\u0434",filterOperatorOnOrAfter:"\u0435 \u043d\u0430 \u0438\u043b\u0438 \u0441\u043b\u0435\u0434",filterOperatorBefore:"\u0435 \u043f\u0440\u0435\u0434\u0438",filterOperatorOnOrBefore:"\u0435 \u043d\u0430 \u0438\u043b\u0438 \u043f\u0440\u0435\u0434\u0438",filterPanelInputLabel:"\u0421\u0442\u043e\u0439\u043d\u043e\u0441\u0442",filterPanelInputPlaceholder:"\u0421\u0442\u043e\u0439\u043d\u043e\u0441\u0442 \u043d\u0430 \u0444\u0438\u043b\u0442\u044a\u0440\u0430",columnMenuLabel:"\u041c\u0435\u043d\u044e",columnMenuShowColumns:"\u041f\u043e\u043a\u0430\u0436\u0438 \u043a\u043e\u043b\u043e\u043d\u0438\u0442\u0435",columnMenuFilter:"\u0424\u0438\u043b\u0442\u0440\u0438",columnMenuHideColumn:"\u0421\u043a\u0440\u0438\u0439",columnMenuUnsort:"\u041e\u0442\u043c\u0435\u043d\u0438 \u0441\u043e\u0440\u0442\u0438\u0440\u0430\u043d\u0435\u0442\u043e",columnMenuSortAsc:"\u0421\u043e\u0440\u0442\u0438\u0440\u0430\u0439 \u043f\u043e \u0432\u044a\u0437\u0445\u043e\u0434\u044f\u0449 \u0440\u0435\u0434",columnMenuSortDesc:"\u0421\u043e\u0440\u0442\u0438\u0440\u0430\u0439 \u043f\u043e \u043d\u0438\u0437\u0445\u043e\u0434\u044f\u0449 \u0440\u0435\u0434",columnHeaderFiltersTooltipActive:function(e){return"".concat(e," \u0430\u043a\u0442\u0438\u0432\u043d\u0438 \u0444\u0438\u043b\u0442\u0440\u0438")},columnHeaderFiltersLabel:"\u041f\u043e\u043a\u0430\u0436\u0438 \u0424\u0438\u043b\u0442\u0440\u0438\u0442\u0435",columnHeaderSortIconLabel:"\u0421\u043e\u0440\u0442\u0438\u0440\u0430\u0439",footerRowSelected:function(e){return"".concat(e.toLocaleString(),1!==e?" \u0438\u0437\u0431\u0440\u0430\u043d\u0438 \u0440\u0435\u0434\u043e\u0432\u0435":" \u0438\u0437\u0431\u0440\u0430\u043d \u0440\u0435\u0434")},footerTotalRows:"\u041e\u0431\u0449\u043e R\u0435\u0434\u043e\u0432\u0435:"},De.i$),ls({noRowsLabel:"\u017d\xe1dn\xe9 z\xe1znamy",noResultsOverlayLabel:"Nena\u0161li se \u017eadn\xe9 v\xfdsledky.",errorOverlayDefaultLabel:"Stala sa nep\u0159edv\xeddan\xe1 chyba.",toolbarDensity:"Hustota",toolbarDensityLabel:"Hustota",toolbarDensityCompact:"Kompaktn\xed",toolbarDensityStandard:"Standartn\xed",toolbarDensityComfortable:"Komfortn\xed",toolbarColumns:"Sloupce",toolbarColumnsLabel:"Vybrat sloupec",toolbarFilters:"Filtry",toolbarFiltersLabel:"Zobrazit filtry",toolbarFiltersTooltipHide:"Skr\xfdt filtry",toolbarFiltersTooltipShow:"Zobrazit filtry",toolbarFiltersTooltipActive:function(e){var t="aktivn\xedch filtr\u016f";return e>1&&e<5?t="aktivn\xed filtry":1===e&&(t="aktivn\xed filtr"),"".concat(e," ").concat(t)},toolbarExport:"Export",toolbarExportLabel:"Export",toolbarExportCSV:"St\xe1hnout jako CSV",columnsPanelTextFieldLabel:"Naj\xedt sloupec",columnsPanelTextFieldPlaceholder:"N\xe1zev sloupce",columnsPanelDragIconLabel:"Uspo\u0159\xe1dat sloupce",columnsPanelShowAllButton:"Zobrazit v\u0161e",columnsPanelHideAllButton:"Skr\xfdt v\u0161e",filterPanelAddFilter:"P\u0159idat filtr",filterPanelDeleteIconLabel:"Odstranit",filterPanelOperators:"Oper\xe1tory",filterPanelOperatorAnd:"A",filterPanelOperatorOr:"Nebo",filterPanelColumns:"Sloupce",filterPanelInputLabel:"Hodnota",filterPanelInputPlaceholder:"Hodnota filtru",filterOperatorContains:"obsahuje",filterOperatorEquals:"rovn\xe1 se",filterOperatorStartsWith:"za\u010d\xedn\xe1 s",filterOperatorEndsWith:"kon\u010d\xed na",filterOperatorIs:"je",filterOperatorNot:"nen\xed",filterOperatorAfter:"je po",filterOperatorOnOrAfter:"je na nebo po",filterOperatorBefore:"je p\u0159ed",filterOperatorOnOrBefore:"je na nebo d\u0159\xedve",filterValueAny:"jak\xfdkoliv",filterValueTrue:"ano",filterValueFalse:"ne",columnMenuLabel:"Menu",columnMenuShowColumns:"Zobrazit sloupce",columnMenuFilter:"Filtr",columnMenuHideColumn:"Skr\xfdt",columnMenuUnsort:"Zru\u0161it filtry",columnMenuSortAsc:"Se\u0159adit vzestupn\u011b",columnMenuSortDesc:"Se\u0159adit sestupn\u011b",columnHeaderFiltersTooltipActive:function(e){var t="aktivn\xedch filtr\u016f";return e>1&&e<5?t="aktivn\xed filtry":1===e&&(t="aktivn\xed filtr"),"".concat(e," ").concat(t)},columnHeaderFiltersLabel:"Zobrazit filtry",columnHeaderSortIconLabel:"Filtrovat",footerRowSelected:function(e){var t="vybran\xfdch z\xe1znam\u016f";return e>1&&e<5?t="vybran\xe9 z\xe1znamy":1===e&&(t="vybran\xfd z\xe1znam"),"".concat(e," ").concat(t)},footerTotalRows:"Celkem \u0159\xe1dk\u016f:",checkboxSelectionHeaderName:"V\xfdb\u011br \u0159\xe1dku",booleanCellTrueLabel:"ano",booleanCellFalseLabel:"ne"},De.lt),ls({noRowsLabel:"Keine Eintr\xe4ge",noResultsOverlayLabel:"Keine Ergebnisse gefunden.",errorOverlayDefaultLabel:"Ein unerwarteter Fehler ist aufgetreten.",toolbarDensity:"Zeilenh\xf6he",toolbarDensityLabel:"Zeilenh\xf6he",toolbarDensityCompact:"Kompakt",toolbarDensityStandard:"Standard",toolbarDensityComfortable:"Breit",toolbarColumns:"Spalten",toolbarColumnsLabel:"Zeige Spaltenauswahl",toolbarFilters:"Filter",toolbarFiltersLabel:"Zeige Filter",toolbarFiltersTooltipHide:"Verberge Filter",toolbarFiltersTooltipShow:"Zeige Filter",toolbarFiltersTooltipActive:function(e){return"".concat(e,1!==e?" aktive Filter":" aktiver Filter")},toolbarExport:"Exportieren",toolbarExportLabel:"Exportieren",toolbarExportCSV:"Download als CSV",columnsPanelTextFieldLabel:"Finde Spalte",columnsPanelTextFieldPlaceholder:"Spalten\xfcberschrift",columnsPanelDragIconLabel:"Spalte umsortieren",columnsPanelShowAllButton:"Zeige alle",columnsPanelHideAllButton:"Verberge alle",filterPanelAddFilter:"Filter hinzuf\xfcgen",filterPanelDeleteIconLabel:"L\xf6schen",filterPanelOperators:"Operatoren",filterPanelOperatorAnd:"Und",filterPanelOperatorOr:"Oder",filterPanelColumns:"Spalten",filterPanelInputLabel:"Wert",filterPanelInputPlaceholder:"Wert filtern",filterOperatorContains:"beinhaltet",filterOperatorEquals:"ist gleich",filterOperatorStartsWith:"beginnt mit",filterOperatorEndsWith:"endet mit",filterOperatorIs:"ist",filterOperatorNot:"ist nicht",filterOperatorOnOrAfter:"ist an oder nach",filterOperatorBefore:"ist vor",filterOperatorOnOrBefore:"ist an oder vor",filterOperatorAfter:"ist nach",filterOperatorIsEmpty:"ist leer",filterOperatorIsNotEmpty:"ist nicht leer",columnMenuLabel:"Men\xfc",columnMenuShowColumns:"Zeige alle Spalten",columnMenuFilter:"Filter",columnMenuHideColumn:"Verbergen",columnMenuUnsort:"Sortierung deaktivieren",columnMenuSortAsc:"Sortiere aufsteigend",columnMenuSortDesc:"Sortiere absteigend",columnHeaderFiltersTooltipActive:function(e){return"".concat(e,1!==e?" aktive Filter":" aktiver Filter")},columnHeaderFiltersLabel:"Zeige Filter",columnHeaderSortIconLabel:"Sortieren",footerRowSelected:function(e){return"".concat(e.toLocaleString(),1!==e?" Eintr\xe4ge ausgew\xe4hlt":" Eintrag ausgew\xe4hlt")},footerTotalRows:"Gesamt:",footerTotalVisibleRows:function(e,t){return"".concat(e.toLocaleString()," von ").concat(t.toLocaleString())}},De.y1),ls({noRowsLabel:"\u0394\u03b5\u03bd \u03c5\u03c0\u03ac\u03c1\u03c7\u03bf\u03c5\u03bd \u03ba\u03b1\u03c4\u03b1\u03c7\u03c9\u03c1\u03ae\u03c3\u03b5\u03b9\u03c2",errorOverlayDefaultLabel:"\u03a0\u03b1\u03c1\u03bf\u03c5\u03c3\u03b9\u03ac\u03c3\u03c4\u03b7\u03ba\u03b5 \u03b1\u03c0\u03c1\u03cc\u03b2\u03bb\u03b5\u03c0\u03c4\u03bf \u03c3\u03c6\u03ac\u03bb\u03bc\u03b1.",toolbarDensity:"\u038e\u03c8\u03bf\u03c2 \u03c3\u03b5\u03b9\u03c1\u03ac\u03c2",toolbarDensityLabel:"\u038e\u03c8\u03bf\u03c2 \u03c3\u03b5\u03b9\u03c1\u03ac\u03c2",toolbarDensityCompact:"\u03a3\u03c5\u03bc\u03c0\u03b1\u03b3\u03ae\u03c2",toolbarDensityStandard:"\u03a0\u03c1\u03bf\u03ba\u03b1\u03b8\u03bf\u03c1\u03b9\u03c3\u03bc\u03ad\u03bd\u03bf",toolbarDensityComfortable:"\u03a0\u03bb\u03b1\u03c4\u03cd",toolbarColumns:"\u03a3\u03c4\u03ae\u03bb\u03b5\u03c2",toolbarColumnsLabel:"\u0395\u03c0\u03b9\u03bb\u03ad\u03be\u03c4\u03b5 \u03c3\u03c4\u03ae\u03bb\u03b5\u03c2",toolbarFilters:"\u03a6\u03af\u03bb\u03c4\u03c1\u03b1",toolbarFiltersLabel:"\u0395\u03bc\u03c6\u03ac\u03bd\u03b9\u03c3\u03b7 \u03c6\u03af\u03bb\u03c4\u03c1\u03c9\u03bd",toolbarFiltersTooltipHide:"\u0391\u03c0\u03cc\u03ba\u03c1\u03c5\u03c8\u03b7 \u03c6\u03af\u03bb\u03c4\u03c1\u03c9\u03bd",toolbarFiltersTooltipShow:"\u0395\u03bc\u03c6\u03ac\u03bd\u03b9\u03c3\u03b7 \u03c6\u03af\u03bb\u03c4\u03c1\u03c9\u03bd",toolbarFiltersTooltipActive:function(e){return"".concat(e,1!==e?" \u03b5\u03bd\u03b5\u03c1\u03b3\u03ac \u03c6\u03af\u03bb\u03c4\u03c1\u03b1":" \u03b5\u03bd\u03b5\u03c1\u03b3\u03cc \u03c6\u03af\u03bb\u03c4\u03c1\u03bf")},toolbarExport:"\u0395\u03be\u03b1\u03b3\u03c9\u03b3\u03ae",toolbarExportLabel:"\u0395\u03be\u03b1\u03b3\u03c9\u03b3\u03ae",toolbarExportCSV:"\u039b\u03ae\u03c8\u03b7 \u03c9\u03c2 CSV",columnsPanelTextFieldLabel:"\u0395\u03cd\u03c1\u03b5\u03c3\u03b7 \u03c3\u03c4\u03ae\u03bb\u03b7\u03c2",columnsPanelTextFieldPlaceholder:"\u0395\u03c0\u03b9\u03ba\u03b5\u03c6\u03b1\u03bb\u03af\u03b4\u03b1 \u03c3\u03c4\u03ae\u03bb\u03b7\u03c2",columnsPanelDragIconLabel:"\u0391\u03bd\u03b1\u03b4\u03b9\u03ac\u03c4\u03b1\u03be\u03b7 \u03c3\u03c4\u03ae\u03bb\u03b7\u03c2",columnsPanelShowAllButton:"\u03a0\u03c1\u03bf\u03b2\u03bf\u03bb\u03ae \u03cc\u03bb\u03c9\u03bd",columnsPanelHideAllButton:"\u0391\u03c0\u03cc\u03ba\u03c1\u03c5\u03c8\u03b7 \u03cc\u03bb\u03c9\u03bd",filterPanelAddFilter:"\u03a0\u03c1\u03bf\u03c3\u03b8\u03ae\u03ba\u03b7 \u03c6\u03af\u03bb\u03c4\u03c1\u03bf\u03c5",filterPanelDeleteIconLabel:"\u0394\u03b9\u03b1\u03b3\u03c1\u03b1\u03c6\u03ae",filterPanelOperators:"\u03a4\u03b5\u03bb\u03b5\u03c3\u03c4\u03ad\u03c2",filterPanelOperatorAnd:"\u039a\u03b1\u03af",filterPanelOperatorOr:"\u0389",filterPanelColumns:"\u03a3\u03c4\u03ae\u03bb\u03b5\u03c2",filterPanelInputLabel:"\u03a4\u03b9\u03bc\u03ae",filterPanelInputPlaceholder:"\u03a4\u03b9\u03bc\u03ae \u03c6\u03af\u03bb\u03c4\u03c1\u03bf\u03c5",filterOperatorContains:"\u03c0\u03b5\u03c1\u03b9\u03ad\u03c7\u03b5\u03b9",filterOperatorEquals:"\u03b9\u03c3\u03bf\u03cd\u03c4\u03b1\u03b9",filterOperatorStartsWith:"\u03be\u03b5\u03ba\u03b9\u03bd\u03ac\u03b5\u03b9 \u03bc\u03b5",filterOperatorEndsWith:"\u03c4\u03b5\u03bb\u03b5\u03b9\u03ce\u03bd\u03b5\u03b9 \u03bc\u03b5",filterOperatorIs:"\u03b5\u03af\u03bd\u03b1\u03b9",filterOperatorNot:"\u03b4\u03b5\u03bd \u03b5\u03af\u03bd\u03b1\u03b9",filterOperatorAfter:"\u03b5\u03af\u03bd\u03b1\u03b9 \u03bc\u03b5\u03c4\u03ac",filterOperatorOnOrAfter:"\u03b5\u03af\u03bd\u03b1\u03b9 \u03af\u03c3\u03bf \u03ae \u03bc\u03b5\u03c4\u03ac",filterOperatorBefore:"\u03b5\u03af\u03bd\u03b1\u03b9 \u03c0\u03c1\u03b9\u03bd",filterOperatorOnOrBefore:"\u03b5\u03af\u03bd\u03b1\u03b9 \u03af\u03c3\u03bf \u03ae \u03c0\u03c1\u03b9\u03bd",columnMenuLabel:"\u039c\u03b5\u03bd\u03bf\u03cd",columnMenuShowColumns:"\u0395\u03bc\u03c6\u03ac\u03bd\u03b9\u03c3\u03b7 \u03c3\u03c4\u03b7\u03bb\u03ce\u03bd",columnMenuFilter:"\u03a6\u03af\u03bb\u03c4\u03c1\u03bf",columnMenuHideColumn:"\u0391\u03c0\u03cc\u03ba\u03c1\u03c5\u03c8\u03b7",columnMenuUnsort:"\u0391\u03c0\u03b5\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7 \u03c4\u03b1\u03be\u03b9\u03bd\u03cc\u03bc\u03b7\u03c3\u03b7\u03c2",columnMenuSortAsc:"\u03a4\u03b1\u03be\u03b9\u03bd\u03cc\u03bc\u03b7\u03c3\u03b7 \u03c3\u03b5 \u03b1\u03cd\u03be\u03bf\u03c5\u03c3\u03b1 \u03c3\u03b5\u03b9\u03c1\u03ac",columnMenuSortDesc:"\u03a4\u03b1\u03be\u03b9\u03bd\u03cc\u03bc\u03b7\u03c3\u03b7 \u03c3\u03b5 \u03c6\u03b8\u03af\u03bd\u03bf\u03c5\u03c3\u03b1 \u03c3\u03b5\u03b9\u03c1\u03ac",columnHeaderFiltersTooltipActive:function(e){return"".concat(e,1!==e?" \u03b5\u03bd\u03b5\u03c1\u03b3\u03ac \u03c6\u03af\u03bb\u03c4\u03c1\u03b1":" \u03b5\u03bd\u03b5\u03c1\u03b3\u03cc \u03c6\u03af\u03bb\u03c4\u03c1\u03bf")},columnHeaderFiltersLabel:"\u0395\u03bc\u03c6\u03ac\u03bd\u03b9\u03c3\u03b7 \u03c6\u03af\u03bb\u03c4\u03c1\u03c9\u03bd",columnHeaderSortIconLabel:"\u03a4\u03b1\u03be\u03b9\u03bd\u03cc\u03bc\u03b7\u03c3\u03b7",footerRowSelected:function(e){return"".concat(e.toLocaleString(),1!==e?" \u03b5\u03c0\u03b9\u03bb\u03b5\u03b3\u03bc\u03ad\u03bd\u03b5\u03c2 \u03b3\u03c1\u03b1\u03bc\u03bc\u03ad\u03c2":" \u03b5\u03c0\u03b9\u03bb\u03b5\u03b3\u03bc\u03ad\u03bd\u03b7 \u03b3\u03c1\u03b1\u03bc\u03bc\u03ae")},footerTotalRows:"\u03a3\u03cd\u03bd\u03bf\u03bb\u03bf \u0393\u03c1\u03b1\u03bc\u03bc\u03ce\u03bd:"}),ls(Gn,De._z),ls({noRowsLabel:"Sin filas",errorOverlayDefaultLabel:"Ha ocurrido un error.",toolbarDensity:"Densidad",toolbarDensityLabel:"Densidad",toolbarDensityCompact:"Compacta",toolbarDensityStandard:"Standard",toolbarDensityComfortable:"Comoda",toolbarColumns:"Columnas",toolbarColumnsLabel:"Seleccionar columnas",toolbarFilters:"Filtros",toolbarFiltersLabel:"Mostrar filtros",toolbarFiltersTooltipHide:"Ocultar filtros",toolbarFiltersTooltipShow:"Mostrar filtros",toolbarFiltersTooltipActive:function(e){return"".concat(e,e>1?" filtros activos":" filtro activo")},toolbarExport:"Exportar",toolbarExportLabel:"Exportar",toolbarExportCSV:"Descargar como CSV",columnsPanelTextFieldLabel:"Columna de b\xfasqueda",columnsPanelTextFieldPlaceholder:"T\xedtulo de columna",columnsPanelDragIconLabel:"Reorder columna",columnsPanelShowAllButton:"Mostrar todo",columnsPanelHideAllButton:"Ocultar todo",filterPanelAddFilter:"Agregar filtro",filterPanelDeleteIconLabel:"Borrar",filterPanelOperators:"Operadores",filterPanelOperatorAnd:"Y",filterPanelOperatorOr:"O",filterPanelColumns:"Columnas",filterPanelInputLabel:"Valor",filterPanelInputPlaceholder:"Valor de filtro",filterOperatorContains:"contiene",filterOperatorEquals:"es igual",filterOperatorStartsWith:"comienza con",filterOperatorEndsWith:"termina con",filterOperatorIs:"es",filterOperatorNot:"no es",filterOperatorAfter:"es posterior",filterOperatorOnOrAfter:"es en o posterior",filterOperatorBefore:"es anterior",filterOperatorOnOrBefore:"es en o anterior",filterOperatorIsEmpty:"est\xe1 vac\xedo",filterOperatorIsNotEmpty:"no esta vac\xedo",columnMenuLabel:"Men\xfa",columnMenuShowColumns:"Mostrar columnas",columnMenuFilter:"Filtro",columnMenuHideColumn:"Ocultar",columnMenuUnsort:"Desordenar",columnMenuSortAsc:"Ordenar ASC",columnMenuSortDesc:"Ordenar DESC",columnHeaderFiltersTooltipActive:function(e){return"".concat(e,e>1?" filtros activos":" filtro activo")},columnHeaderFiltersLabel:"Mostrar filtros",columnHeaderSortIconLabel:"Ordenar",footerRowSelected:function(e){return"".concat(e.toLocaleString(),e>1?" filas seleccionadas":" fila seleccionada")},footerTotalRows:"Filas Totales:",footerTotalVisibleRows:function(e,t){return"".concat(e.toLocaleString()," de ").concat(t.toLocaleString())}},De._Y),ls({noRowsLabel:"Pas de r\xe9sultats",noResultsOverlayLabel:"Aucun r\xe9sultat.",errorOverlayDefaultLabel:"Une erreur est apparue.",toolbarDensity:"Densit\xe9",toolbarDensityLabel:"Densit\xe9",toolbarDensityCompact:"Compact",toolbarDensityStandard:"Standard",toolbarDensityComfortable:"Confortable",toolbarColumns:"Colonnes",toolbarColumnsLabel:"Choisir les colonnes",toolbarFilters:"Filtres",toolbarFiltersLabel:"Afficher les filtres",toolbarFiltersTooltipHide:"Cacher les filtres",toolbarFiltersTooltipShow:"Afficher les filtres",toolbarFiltersTooltipActive:function(e){return"".concat(e,e>1?" filtres actifs":" filtre actif")},toolbarExport:"Exporter",toolbarExportLabel:"Exporter",toolbarExportCSV:"T\xe9l\xe9charger en CSV",columnsPanelTextFieldLabel:"Chercher colonne",columnsPanelTextFieldPlaceholder:"Titre de la colonne",columnsPanelDragIconLabel:"R\xe9organiser la colonne",columnsPanelShowAllButton:"Tout afficher",columnsPanelHideAllButton:"Tout cacher",filterPanelAddFilter:"Ajouter un filtre",filterPanelDeleteIconLabel:"Supprimer",filterPanelOperators:"Op\xe9rateurs",filterPanelOperatorAnd:"Et",filterPanelOperatorOr:"Ou",filterPanelColumns:"Colonnes",filterPanelInputLabel:"Valeur",filterPanelInputPlaceholder:"Filtrer la valeur",filterOperatorContains:"contient",filterOperatorEquals:"\xe9gal \xe0",filterOperatorStartsWith:"commence par",filterOperatorEndsWith:"se termine par",filterOperatorIs:"est",filterOperatorNot:"n'est pas",filterOperatorOnOrAfter:"\xe9gal ou post\xe9rieur",filterOperatorAfter:"post\xe9rieur",filterOperatorOnOrBefore:"\xe9gal ou ant\xe9rieur",filterOperatorBefore:"ant\xe9rieur",filterOperatorIsEmpty:"est vide",filterOperatorIsNotEmpty:"n'est pas vide",columnMenuLabel:"Menu",columnMenuShowColumns:"Afficher les colonnes",columnMenuFilter:"Filtrer",columnMenuHideColumn:"Cacher",columnMenuUnsort:"Annuler le tri",columnMenuSortAsc:"Tri ascendant",columnMenuSortDesc:"Tri descendant",columnHeaderFiltersTooltipActive:function(e){return"".concat(e,e>1?" filtres actifs":" filtre actif")},columnHeaderFiltersLabel:"Afficher les filtres",columnHeaderSortIconLabel:"Trier",footerRowSelected:function(e){return"".concat(e.toLocaleString(),e>1?" lignes s\xe9lectionn\xe9es":" ligne s\xe9lectionn\xe9e")},footerTotalRows:"Lignes totales :",footerTotalVisibleRows:function(e,t){return"".concat(e.toLocaleString()," sur ").concat(t.toLocaleString())},checkboxSelectionHeaderName:"S\xe9lection"},De.gQ),ls({noRowsLabel:"Nessun record",noResultsOverlayLabel:"Nessun record trovato.",errorOverlayDefaultLabel:"Si \xe8 verificato un errore.",toolbarDensity:"Densit\xe0",toolbarDensityLabel:"Densit\xe0",toolbarDensityCompact:"Compact",toolbarDensityStandard:"Standard",toolbarDensityComfortable:"Confortable",toolbarColumns:"Colonne",toolbarColumnsLabel:"Seleziona le colonne",toolbarFilters:"Filtri",toolbarFiltersLabel:"Mostra i filtri",toolbarFiltersTooltipHide:"Nascondi i filtri",toolbarFiltersTooltipShow:"Mostra i filtri",toolbarFiltersTooltipActive:function(e){return"".concat(e,e>1?" filtri attivi":" filtro attivo")},columnsPanelTextFieldLabel:"Cerca colonna",columnsPanelTextFieldPlaceholder:"Titolo della colonna",columnsPanelDragIconLabel:"Riordina la colonna",columnsPanelShowAllButton:"Mostra tutto",columnsPanelHideAllButton:"Nascondi tutto",filterPanelAddFilter:"Aggiungi un filtro",filterPanelDeleteIconLabel:"Rimuovi",filterPanelOperators:"Operatori",filterPanelOperatorAnd:"E (and)",filterPanelOperatorOr:"O (or)",filterPanelColumns:"Colonne",filterPanelInputLabel:"Valore",filterPanelInputPlaceholder:"Filtra il valore",filterOperatorContains:"contiene",filterOperatorEquals:"uguale a",filterOperatorStartsWith:"comincia per",filterOperatorEndsWith:"termina per",filterOperatorIs:"uguale a",filterOperatorNot:"diversa da",filterOperatorOnOrAfter:"a partire dal",filterOperatorAfter:"dopo il",filterOperatorOnOrBefore:"fino al",filterOperatorBefore:"prima del",filterOperatorIsEmpty:"\xe8 vuoto",filterOperatorIsNotEmpty:"non \xe8 vuoto",columnMenuLabel:"Menu",columnMenuShowColumns:"Mostra le colonne",columnMenuFilter:"Filtra",columnMenuHideColumn:"Nascondi",columnMenuUnsort:"Annulla l'ordinamento",columnMenuSortAsc:"Ordinamento crescente",columnMenuSortDesc:"Ordinamento decrescente",columnHeaderFiltersTooltipActive:function(e){return"".concat(e,e>1?" filtri attivi":" filtro attivo")},columnHeaderFiltersLabel:"Mostra i filtri",columnHeaderSortIconLabel:"Ordina",footerRowSelected:function(e){return"".concat(e.toLocaleString(),e>1?" record selezionati":" record selezionato")},footerTotalRows:"Record totali :",footerTotalVisibleRows:function(e,t){return"".concat(e.toLocaleString()," di ").concat(t.toLocaleString())},checkboxSelectionHeaderName:"Seleziona"},De.KL),ls({noRowsLabel:"\u884c\u304c\u3042\u308a\u307e\u305b\u3093",errorOverlayDefaultLabel:"\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002",toolbarDensity:"\u884c\u9593\u9694",toolbarDensityLabel:"\u884c\u9593\u9694",toolbarDensityCompact:"\u30b3\u30f3\u30d1\u30af\u30c8",toolbarDensityStandard:"\u6a19\u6e96",toolbarDensityComfortable:"\u3072\u308d\u3081",toolbarColumns:"\u5217\u4e00\u89a7",toolbarColumnsLabel:"\u5217\u9078\u629e",toolbarFilters:"\u30d5\u30a3\u30eb\u30bf\u30fc",toolbarFiltersLabel:"\u30d5\u30a3\u30eb\u30bf\u30fc\u8868\u793a",toolbarFiltersTooltipHide:"\u30d5\u30a3\u30eb\u30bf\u30fc\u975e\u8868\u793a",toolbarFiltersTooltipShow:"\u30d5\u30a3\u30eb\u30bf\u30fc\u8868\u793a",toolbarFiltersTooltipActive:function(e){return"".concat(e,"\u4ef6\u306e\u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u9069\u7528\u4e2d")},toolbarExport:"\u30a8\u30af\u30b9\u30dd\u30fc\u30c8",toolbarExportLabel:"\u30a8\u30af\u30b9\u30dd\u30fc\u30c8",toolbarExportCSV:"CSV\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9",columnsPanelTextFieldLabel:"\u5217\u691c\u7d22",columnsPanelTextFieldPlaceholder:"\u691c\u7d22\u30af\u30a8\u30ea\u3092\u5165\u529b...",columnsPanelDragIconLabel:"\u5217\u4e26\u3079\u66ff\u3048",columnsPanelShowAllButton:"\u3059\u3079\u3066\u8868\u793a",columnsPanelHideAllButton:"\u3059\u3079\u3066\u975e\u8868\u793a",filterPanelAddFilter:"\u30d5\u30a3\u30eb\u30bf\u30fc\u8ffd\u52a0",filterPanelDeleteIconLabel:"\u524a\u9664",filterPanelOperators:"\u30aa\u30da\u30ec\u30fc\u30bf",filterPanelOperatorAnd:"And",filterPanelOperatorOr:"Or",filterPanelColumns:"\u5217",filterPanelInputLabel:"\u5024",filterPanelInputPlaceholder:"\u5024\u3092\u5165\u529b...",filterOperatorContains:"...\u3092\u542b\u3080",filterOperatorEquals:"...\u306b\u7b49\u3057\u3044",filterOperatorStartsWith:"...\u3067\u59cb\u307e\u308b",filterOperatorEndsWith:"...\u3067\u7d42\u308f\u308b",filterOperatorIs:"...\u3067\u3042\u308b",filterOperatorNot:"...\u3067\u306a\u3044",filterOperatorAfter:"...\u3088\u308a\u5f8c\u308d",filterOperatorOnOrAfter:"...\u4ee5\u964d",filterOperatorBefore:"...\u3088\u308a\u524d",filterOperatorOnOrBefore:"...\u4ee5\u524d",columnMenuLabel:"\u30e1\u30cb\u30e5\u30fc",columnMenuShowColumns:"\u5217\u8868\u793a",columnMenuFilter:"\u30d5\u30a3\u30eb\u30bf\u30fc",columnMenuHideColumn:"\u5217\u975e\u8868\u793a",columnMenuUnsort:"\u30bd\u30fc\u30c8\u89e3\u9664",columnMenuSortAsc:"\u6607\u9806\u30bd\u30fc\u30c8",columnMenuSortDesc:"\u964d\u9806\u30bd\u30fc\u30c8",columnHeaderFiltersTooltipActive:function(e){return"".concat(e,"\u4ef6\u306e\u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u9069\u7528\u4e2d")},columnHeaderFiltersLabel:"\u30d5\u30a3\u30eb\u30bf\u30fc\u8868\u793a",columnHeaderSortIconLabel:"\u30bd\u30fc\u30c8",footerRowSelected:function(e){return"".concat(e,"\u884c\u3092\u9078\u629e\u4e2d")},footerTotalRows:"\u7dcf\u884c\u6570:"},De.jz),ls({noRowsLabel:"Geen resultaten.",errorOverlayDefaultLabel:"Er deed zich een fout voor.",toolbarDensity:"Grootte",toolbarDensityLabel:"Grootte",toolbarDensityCompact:"Compact",toolbarDensityStandard:"Normaal",toolbarDensityComfortable:"Breed",toolbarColumns:"Kolommen",toolbarColumnsLabel:"Kies kolommen",toolbarFilters:"Filters",toolbarFiltersLabel:"Toon filters",toolbarFiltersTooltipHide:"Verberg filters",toolbarFiltersTooltipShow:"Toon filters",toolbarFiltersTooltipActive:function(e){return"".concat(e,e>1?" actieve filters":" filter actief")},columnsPanelTextFieldLabel:"Zoek kolom",columnsPanelTextFieldPlaceholder:"Kolomtitel",columnsPanelDragIconLabel:"Kolom herschikken",columnsPanelShowAllButton:"Alles tonen",columnsPanelHideAllButton:"Alles verbergen",filterPanelAddFilter:"Filter toevoegen",filterPanelDeleteIconLabel:"Verwijderen",filterPanelOperators:"Operatoren",filterPanelOperatorAnd:"En",filterPanelOperatorOr:"Of",filterPanelColumns:"Kolommen",filterPanelInputLabel:"Waarde",filterPanelInputPlaceholder:"Filter waarde",filterOperatorContains:"bevat",filterOperatorEquals:"gelijk aan",filterOperatorStartsWith:"begint met",filterOperatorEndsWith:"eindigt met",filterOperatorIs:"is",filterOperatorNot:"is niet",filterOperatorOnOrAfter:"is gelijk of er voor",filterOperatorAfter:"is voor",filterOperatorOnOrBefore:"is gelijk of er na",filterOperatorBefore:"is na",columnMenuLabel:"Menu",columnMenuShowColumns:"Toon kolommen",columnMenuFilter:"Filteren",columnMenuHideColumn:"Verbergen",columnMenuUnsort:"Annuleer sortering",columnMenuSortAsc:"Oplopend sorteren",columnMenuSortDesc:"Aflopend sorteren",columnHeaderFiltersTooltipActive:function(e){return"".concat(e,e>1?" actieve filters":" filter actief")},columnHeaderFiltersLabel:"Toon filters",columnHeaderSortIconLabel:"Sorteren",footerRowSelected:function(e){return"".concat(e.toLocaleString(),e>1?" rijen geselecteerd":" rij geselecteerd")},footerTotalRows:"Totaal:"},De.Rb),ls({noRowsLabel:"Brak danych",errorOverlayDefaultLabel:"Wyst\u0105pi\u0142 b\u0142\u0105d.",toolbarDensity:"Wysoko\u015b\u0107 rz\u0119du",toolbarDensityLabel:"Wysoko\u015b\u0107 rz\u0119du",toolbarDensityCompact:"Kompakt",toolbarDensityStandard:"Standard",toolbarDensityComfortable:"Komfort",toolbarColumns:"Kolumny",toolbarColumnsLabel:"Zaznacz kolumny",toolbarFilters:"Filtry",toolbarFiltersLabel:"Poka\u017c filtry",toolbarFiltersTooltipHide:"Ukryj filtry",toolbarFiltersTooltipShow:"Poka\u017c filtry",toolbarFiltersTooltipActive:function(e){return"Liczba aktywnych filtr\xf3w: ".concat(e)},toolbarExport:"Eksportuj",toolbarExportLabel:"Eksportuj",toolbarExportCSV:"Pobierz jako plik CSV",columnsPanelTextFieldLabel:"Znajd\u017a kolumn\u0119",columnsPanelTextFieldPlaceholder:"Tytu\u0142 kolumny",columnsPanelDragIconLabel:"Zmie\u0144 kolejno\u015b\u0107 kolumn",columnsPanelShowAllButton:"Poka\u017c wszystko",columnsPanelHideAllButton:"Ukryj wszystko",filterPanelAddFilter:"Dodaj filtr",filterPanelDeleteIconLabel:"Usu\u0144",filterPanelOperators:"Operator",filterPanelOperatorAnd:"I",filterPanelOperatorOr:"Lub",filterPanelColumns:"Kolumny",filterPanelInputLabel:"Warto\u015b\u0107",filterPanelInputPlaceholder:"Filtrowana warto\u015b\u0107",filterOperatorContains:"zawiera",filterOperatorEquals:"r\xf3wna si\u0119",filterOperatorStartsWith:"zaczyna si\u0119 od",filterOperatorEndsWith:"ko\u0144czy si\u0119 na",filterOperatorIs:"r\xf3wna si\u0119",filterOperatorNot:"r\xf3\u017cne",filterOperatorAfter:"wi\u0119ksze ni\u017c",filterOperatorOnOrAfter:"wi\u0119ksze lub r\xf3wne",filterOperatorBefore:"mniejsze ni\u017c",filterOperatorOnOrBefore:"mniejsze lub r\xf3wne",columnMenuLabel:"Menu",columnMenuShowColumns:"Poka\u017c wszystkie kolumny",columnMenuFilter:"Filtr",columnMenuHideColumn:"Ukryj",columnMenuUnsort:"Anuluj sortowanie",columnMenuSortAsc:"Sortuj rosn\u0105co",columnMenuSortDesc:"Sortuj malej\u0105co",columnHeaderFiltersTooltipActive:function(e){return"Liczba aktywnych filtr\xf3w: ".concat(e)},columnHeaderFiltersLabel:"Poka\u017c filtry",columnHeaderSortIconLabel:"Sortuj",footerRowSelected:function(e){return"Liczba wybranych wierszy: ".concat(e.toLocaleString())},footerTotalRows:"\u0141\u0105czna liczba wierszy:"},De.sv),ls({noRowsLabel:"Nenhuma linha",noResultsOverlayLabel:"Nenhum resultado encontrado.",errorOverlayDefaultLabel:"Ocorreu um erro.",toolbarDensity:"Densidade",toolbarDensityLabel:"Densidade",toolbarDensityCompact:"Compacto",toolbarDensityStandard:"Padr\xe3o",toolbarDensityComfortable:"Confort\xe1vel",toolbarColumns:"Colunas",toolbarColumnsLabel:"Exibir seletor de colunas",toolbarFilters:"Filtros",toolbarFiltersLabel:"Exibir filtros",toolbarFiltersTooltipHide:"Ocultar filtros",toolbarFiltersTooltipShow:"Exibir filtros",toolbarFiltersTooltipActive:function(e){return"".concat(e," ").concat(1!==e?"filtros":"filtro"," ").concat(1!==e?"ativos":"ativo")},toolbarExport:"Exportar",toolbarExportLabel:"Exportar",toolbarExportCSV:"Baixar como CSV",columnsPanelTextFieldLabel:"Localizar coluna",columnsPanelTextFieldPlaceholder:"T\xedtulo da coluna",columnsPanelDragIconLabel:"Reordenar Coluna",columnsPanelShowAllButton:"Mostrar todas",columnsPanelHideAllButton:"Ocultar todas",filterPanelAddFilter:"Adicionar filtro",filterPanelDeleteIconLabel:"Excluir",filterPanelOperators:"Operadores",filterPanelOperatorAnd:"E",filterPanelOperatorOr:"Ou",filterPanelColumns:"Colunas",filterPanelInputLabel:"Valor",filterPanelInputPlaceholder:"Filtrar valor",filterOperatorContains:"cont\xe9m",filterOperatorEquals:"\xe9 igual a",filterOperatorStartsWith:"come\xe7a com",filterOperatorEndsWith:"termina com",filterOperatorIs:"\xe9",filterOperatorNot:"n\xe3o \xe9",filterOperatorOnOrAfter:"em ou ap\xf3s",filterOperatorBefore:"antes de",filterOperatorOnOrBefore:"em ou antes de",filterOperatorAfter:"ap\xf3s",filterOperatorIsEmpty:"est\xe1 vazio",filterOperatorIsNotEmpty:"n\xe3o est\xe1 vazio",columnMenuLabel:"Menu",columnMenuShowColumns:"Exibir colunas",columnMenuFilter:"Filtrar",columnMenuHideColumn:"Ocultar",columnMenuUnsort:"Desfazer ordena\xe7\xe3o",columnMenuSortAsc:"Ordenar do menor para o maior",columnMenuSortDesc:"Ordenar do maior para o menor",columnHeaderFiltersTooltipActive:function(e){return"".concat(e," ").concat(1!==e?"filtros":"filtro"," ").concat(1!==e?"ativos":"ativo")},columnHeaderFiltersLabel:"Exibir Filtros",columnHeaderSortIconLabel:"Ordenar",footerRowSelected:function(e){return"".concat(e.toLocaleString(),1!==e?" linhas selecionadas":" linha selecionada")},footerTotalRows:"Total de linhas:",footerTotalVisibleRows:function(e,t){return"".concat(e.toLocaleString()," de ").concat(t.toLocaleString())},checkboxSelectionHeaderName:"Sele\xe7\xe3o",booleanCellTrueLabel:"sim",booleanCellFalseLabel:"n\xe3o"},De.FY),ls({noRowsLabel:"\u041d\u0435\u0442 \u0441\u0442\u0440\u043e\u043a",errorOverlayDefaultLabel:"\u041e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u0430 \u043e\u0448\u0438\u0431\u043a\u0430.",toolbarDensity:"\u0412\u044b\u0441\u043e\u0442\u0430 \u0441\u0442\u0440\u043e\u043a\u0438",toolbarDensityLabel:"\u0412\u044b\u0441\u043e\u0442\u0430 \u0441\u0442\u0440\u043e\u043a\u0438",toolbarDensityCompact:"\u041a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u0430\u044f",toolbarDensityStandard:"\u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u0430\u044f",toolbarDensityComfortable:"\u041a\u043e\u043c\u0444\u043e\u0440\u0442\u043d\u0430\u044f",toolbarColumns:"\u0421\u0442\u043e\u043b\u0431\u0446\u044b",toolbarColumnsLabel:"\u0412\u044b\u0434\u0435\u043b\u0438\u0442\u0435 \u0441\u0442\u043e\u043b\u0431\u0446\u044b",toolbarFilters:"\u0424\u0438\u043b\u044c\u0442\u0440\u044b",toolbarFiltersLabel:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0444\u0438\u043b\u044c\u0442\u0440\u044b",toolbarFiltersTooltipHide:"\u0421\u043a\u0440\u044b\u0442\u044c \u0444\u0438\u043b\u044c\u0442\u0440\u044b",toolbarFiltersTooltipShow:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0444\u0438\u043b\u044c\u0442\u0440\u044b",toolbarFiltersTooltipActive:function(e){var t="\u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0445 \u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432",n=e%10;return n>1&&n<5?t="\u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0445 \u0444\u0438\u043b\u044c\u0442\u0440\u0430":1===n&&(t="\u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0439 \u0444\u0438\u043b\u044c\u0442\u0440"),"".concat(e," ").concat(t)},toolbarExport:"\u042d\u043a\u0441\u043f\u043e\u0440\u0442",toolbarExportLabel:"\u042d\u043a\u0441\u043f\u043e\u0440\u0442",toolbarExportCSV:"\u0421\u043a\u0430\u0447\u0430\u0442\u044c \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 CSV",columnsPanelTextFieldLabel:"\u041d\u0430\u0439\u0442\u0438 \u0441\u0442\u043e\u043b\u0431\u0435\u0446",columnsPanelTextFieldPlaceholder:"\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u0441\u0442\u043e\u043b\u0431\u0446\u0430",columnsPanelDragIconLabel:"\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u043f\u043e\u0440\u044f\u0434\u043e\u043a \u0441\u0442\u043e\u043b\u0431\u0446\u0430",columnsPanelShowAllButton:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0432\u0441\u0435",columnsPanelHideAllButton:"\u0421\u043a\u0440\u044b\u0442\u044c \u0432\u0441\u0435",filterPanelAddFilter:"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0444\u0438\u043b\u044c\u0442\u0440",filterPanelDeleteIconLabel:"\u0423\u0434\u0430\u043b\u0438\u0442\u044c",filterPanelOperators:"\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b",filterPanelOperatorAnd:"\u0418",filterPanelOperatorOr:"\u0418\u043b\u0438",filterPanelColumns:"\u0421\u0442\u043e\u043b\u0431\u0446\u044b",filterPanelInputLabel:"\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435",filterPanelInputPlaceholder:"\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0444\u0438\u043b\u044c\u0442\u0440\u0430",filterOperatorContains:"\u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442",filterOperatorEquals:"\u0440\u0430\u0432\u0435\u043d",filterOperatorStartsWith:"\u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u0441",filterOperatorEndsWith:"\u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043d\u0430",filterOperatorIs:"\u0440\u0430\u0432\u0435\u043d",filterOperatorNot:"\u043d\u0435 \u0440\u0430\u0432\u0435\u043d",filterOperatorAfter:"\u0431\u043e\u043b\u044c\u0448\u0435 \u0447\u0435\u043c",filterOperatorOnOrAfter:"\u0431\u043e\u043b\u044c\u0448\u0435 \u0438\u043b\u0438 \u0440\u0430\u0432\u043d\u043e",filterOperatorBefore:"\u043c\u0435\u043d\u044c\u0448\u0435 \u0447\u0435\u043c",filterOperatorOnOrBefore:"\u043c\u0435\u043d\u044c\u0448\u0435 \u0438\u043b\u0438 \u0440\u0430\u0432\u043d\u043e",filterValueAny:"\u043b\u044e\u0431\u043e\u0439",filterValueTrue:"\u0438\u0441\u0442\u0438\u043d\u0430",filterValueFalse:"\u043b\u043e\u0436\u044c",columnMenuLabel:"\u041c\u0435\u043d\u044e",columnMenuShowColumns:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0441\u0442\u043e\u043b\u0431\u0446\u044b",columnMenuFilter:"\u0424\u0438\u043b\u044c\u0442\u0440",columnMenuHideColumn:"\u0421\u043a\u0440\u044b\u0442\u044c",columnMenuUnsort:"\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0443",columnMenuSortAsc:"\u0421\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e \u0432\u043e\u0437\u0440\u0430\u0441\u0442\u0430\u043d\u0438\u044e",columnMenuSortDesc:"\u0421\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e \u0443\u0431\u044b\u0432\u0430\u043d\u0438\u044e",columnHeaderFiltersTooltipActive:function(e){var t="\u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0445 \u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432",n=e%10;return n>1&&n<5?t="\u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0445 \u0444\u0438\u043b\u044c\u0442\u0440\u0430":1===n&&(t="\u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0439 \u0444\u0438\u043b\u044c\u0442\u0440"),"".concat(e," ").concat(t)},columnHeaderFiltersLabel:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0444\u0438\u043b\u044c\u0442\u0440\u044b",columnHeaderSortIconLabel:"\u0421\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c",footerRowSelected:function(e){var t="\u0441\u0442\u0440\u043e\u043a \u0432\u044b\u0431\u0440\u0430\u043d\u043e",n=e%10;return n>1&&n<5?t="\u0441\u0442\u0440\u043e\u043a\u0438 \u0432\u044b\u0431\u0440\u0430\u043d\u044b":1===n&&(t="\u0441\u0442\u0440\u043e\u043a\u0430 \u0432\u044b\u0431\u0440\u0430\u043d\u0430"),"".concat(e," ").concat(t)},footerTotalRows:"\u0412\u0441\u0435\u0433\u043e \u0441\u0442\u0440\u043e\u043a:",checkboxSelectionHeaderName:"\u0412\u044b\u0431\u043e\u0440 \u0444\u043b\u0430\u0436\u043a\u0430",booleanCellTrueLabel:"\u0438\u0441\u0442\u0438\u043d\u0430",booleanCellFalseLabel:"\u043b\u043e\u0436\u044c"},De.nx),ls({noRowsLabel:"\u017diadne z\xe1znamy",noResultsOverlayLabel:"Nena\u0161li sa \u017eadne v\xfdsledky.",errorOverlayDefaultLabel:"Stala sa nepredv\xeddan\xe1 chyba.",toolbarDensity:"Hustota",toolbarDensityLabel:"Hustota",toolbarDensityCompact:"Kompaktn\xe1",toolbarDensityStandard:"\u0160tandartn\xe1",toolbarDensityComfortable:"Komfortn\xe1",toolbarColumns:"St\u013apce",toolbarColumnsLabel:"Vybra\u0165 st\u013apce",toolbarFilters:"Filtre",toolbarFiltersLabel:"Zobrazi\u0165 filtre",toolbarFiltersTooltipHide:"Skry\u0165 filtre ",toolbarFiltersTooltipShow:"Zobrazi\u0165 filtre",toolbarFiltersTooltipActive:function(e){var t="akt\xedvnych filtrov";return e>1&&e<5?t="akt\xedvne filtre":1===e&&(t="akt\xedvny filter"),"".concat(e," ").concat(t)},toolbarExport:"Export",toolbarExportLabel:"Export",toolbarExportCSV:"Stiahnu\u0165 ako CSV",columnsPanelTextFieldLabel:"N\xe1js\u0165 st\u013apec",columnsPanelTextFieldPlaceholder:"N\xe1zov st\u013apca",columnsPanelDragIconLabel:"Usporiad\u0165 st\u013apce",columnsPanelShowAllButton:"Zobrazi\u0165 v\u0161etko",columnsPanelHideAllButton:"Skry\u0165 v\u0161etko",filterPanelAddFilter:"Prida\u0165 filter",filterPanelDeleteIconLabel:"Odstr\xe1ni\u0165",filterPanelOperators:"Oper\xe1tory",filterPanelOperatorAnd:"A",filterPanelOperatorOr:"Alebo",filterPanelColumns:"St\u013apce",filterPanelInputLabel:"Hodnota",filterPanelInputPlaceholder:"Hodnota filtra",filterOperatorContains:"obsahuje",filterOperatorEquals:"rovn\xe1 sa",filterOperatorStartsWith:"za\u010d\xedna s",filterOperatorEndsWith:"kon\u010d\xed na",filterOperatorIs:"je",filterOperatorNot:"nie je",filterOperatorAfter:"je po",filterOperatorOnOrAfter:"je na alebo po",filterOperatorBefore:"je pred",filterOperatorOnOrBefore:"je na alebo sk\xf4r",filterValueAny:"ak\xfdko\u013evek",filterValueTrue:"\xe1no",filterValueFalse:"nie",columnMenuLabel:"Menu",columnMenuShowColumns:"Zobrazi\u0165 st\u013apce",columnMenuFilter:"Filter",columnMenuHideColumn:"Skry\u0165",columnMenuUnsort:"Zru\u0161i\u0165 filtre",columnMenuSortAsc:"Zoradi\u0165 vzostupne",columnMenuSortDesc:"Zoradi\u0165 zostupne",columnHeaderFiltersTooltipActive:function(e){var t="akt\xedvnych filtrov";return e>1&&e<5?t="akt\xedvne filtre":1===e&&(t="akt\xedvny filter"),"".concat(e," ").concat(t)},columnHeaderFiltersLabel:"Zobrazi\u0165 filtre",columnHeaderSortIconLabel:"Filtrova\u0165",footerRowSelected:function(e){var t="vybran\xfdch z\xe1znamov";return e>1&&e<5?t="vybran\xe9 z\xe1znamy":1===e&&(t="vybran\xfd z\xe1znam"),"".concat(e," ").concat(t)},footerTotalRows:"Riadkov spolu:",checkboxSelectionHeaderName:"V\xfdber riadku",booleanCellTrueLabel:"\xe1no",booleanCellFalseLabel:"nie"},De.Go),ls({noRowsLabel:"Sat\u0131r yok",errorOverlayDefaultLabel:"Bir hata olu\u015ftu.",toolbarDensity:"Yo\u011funluk",toolbarDensityLabel:"Yo\u011funluk",toolbarDensityCompact:"S\u0131k\u0131",toolbarDensityStandard:"Standart",toolbarDensityComfortable:"Rahat",toolbarColumns:"S\xfctunlar",toolbarColumnsLabel:"S\xfctun se\xe7",toolbarFilters:"Filtreler",toolbarFiltersLabel:"Filtreleri g\xf6ster",toolbarFiltersTooltipHide:"Filtreleri gizle",toolbarFiltersTooltipShow:"Filtreleri g\xf6ster",toolbarFiltersTooltipActive:function(e){return"".concat(e," aktif filtre")},toolbarExport:"D\u0131\u015fa aktar",toolbarExportLabel:"D\u0131\u015fa aktar",toolbarExportCSV:"CSV olarak aktar",columnsPanelTextFieldLabel:"S\xfctun ara",columnsPanelTextFieldPlaceholder:"S\xfctun ad\u0131",columnsPanelDragIconLabel:"S\xfctunlar\u0131 yeniden s\u0131rala",columnsPanelShowAllButton:"Hepsini g\xf6ster",columnsPanelHideAllButton:"Hepsini gizle",filterPanelAddFilter:"Filtre Ekle",filterPanelDeleteIconLabel:"Kald\u0131r",filterPanelOperators:"Operat\xf6r",filterPanelOperatorAnd:"Ve",filterPanelOperatorOr:"Veya",filterPanelColumns:"S\xfctunlar",filterPanelInputLabel:"De\u011fer",filterPanelInputPlaceholder:"Filtre de\u011feri",filterOperatorContains:"i\xe7erir",filterOperatorEquals:"e\u015fittir",filterOperatorStartsWith:"ile ba\u015flar",filterOperatorEndsWith:"ile biter",filterOperatorIs:"e\u015fittir",filterOperatorNot:"e\u015fit de\u011fildir",filterOperatorAfter:"b\xfcy\xfck",filterOperatorOnOrAfter:"b\xfcy\xfck e\u015fit",filterOperatorBefore:"k\xfc\xe7\xfck",filterOperatorOnOrBefore:"k\xfc\xe7\xfck e\u015fit",filterOperatorIsEmpty:"bo\u015f",filterOperatorIsNotEmpty:"dolu",columnMenuLabel:"Men\xfc",columnMenuShowColumns:"S\xfctunlar\u0131 g\xf6ster",columnMenuFilter:"Filtre uygula",columnMenuHideColumn:"Gizle",columnMenuUnsort:"S\u0131ralama",columnMenuSortAsc:"S\u0131rala - Artan",columnMenuSortDesc:"S\u0131rala - Azalan",columnHeaderFiltersTooltipActive:function(e){return"".concat(e," filtre aktif")},columnHeaderFiltersLabel:"Filtreleri g\xf6ster",columnHeaderSortIconLabel:"S\u0131rala",footerRowSelected:function(e){return"".concat(e.toLocaleString()," sat\u0131r se\xe7ildi")},footerTotalRows:"Toplam Sat\u0131r:",footerTotalVisibleRows:function(e,t){return"".concat(e.toLocaleString()," / ").concat(t.toLocaleString())}},De.Xl),ls({noRowsLabel:"\u041d\u0435\u043c\u0430\u0454 \u0440\u044f\u0434\u043a\u0456\u0432",errorOverlayDefaultLabel:"\u0412\u0438\u044f\u0432\u043b\u0435\u043d\u043e \u043f\u043e\u043c\u0438\u043b\u043a\u0443.",toolbarDensity:"\u0412\u0438\u0441\u043e\u0442\u0430 \u0440\u044f\u0434\u043a\u0430",toolbarDensityLabel:"\u0412\u0438\u0441\u043e\u0442\u0430 \u0440\u044f\u0434\u043a\u0430",toolbarDensityCompact:"\u041a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u0438\u0439",toolbarDensityStandard:"\u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u0438\u0439",toolbarDensityComfortable:"\u041a\u043e\u043c\u0444\u043e\u0440\u0442\u043d\u0438\u0439",toolbarColumns:"\u0421\u0442\u043e\u0432\u043f\u0446\u0456",toolbarColumnsLabel:"\u0412\u0438\u0434\u0456\u043b\u0456\u0442\u044c \u0441\u0442\u043e\u0432\u043f\u0446\u0456",toolbarFilters:"\u0424\u0456\u043b\u044c\u0442\u0440\u0438",toolbarFiltersLabel:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u0438 \u0444\u0456\u043b\u044c\u0442\u0440\u0438",toolbarFiltersTooltipHide:"\u0421\u0445\u043e\u0432\u0430\u0442\u0438 \u0444\u0456\u043b\u044c\u0442\u0440\u0438",toolbarFiltersTooltipShow:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u0438 \u0444\u0456\u043b\u044c\u0442\u0440\u0438",toolbarFiltersTooltipActive:function(e){return"".concat(e,1!==e?" \u0430\u043a\u0442\u0438\u0432\u043d\u0456 \u0444\u0456\u043b\u044c\u0442\u0440\u0438":" \u0430\u043a\u0442\u0438\u0432\u043d\u0438\u0439 \u0444\u0456\u043b\u044c\u0442\u0440")},toolbarExport:"\u0415\u043a\u0441\u043f\u043e\u0440\u0442",toolbarExportLabel:"\u0415\u043a\u0441\u043f\u043e\u0440\u0442",toolbarExportCSV:"\u0417\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0438\u0442\u0438 \u0443 \u0444\u043e\u0440\u043c\u0430\u0442\u0456 CSV",columnsPanelTextFieldLabel:"\u0417\u043d\u0430\u0439\u0442\u0438 \u0441\u0442\u043e\u0432\u043f\u0435\u0446\u044c",columnsPanelTextFieldPlaceholder:"\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u0441\u0442\u043e\u0432\u043f\u0446\u044f",columnsPanelDragIconLabel:"\u0417\u043c\u0456\u043d\u0438\u0442\u0438 \u043f\u043e\u0440\u044f\u0434\u043e\u043a \u0441\u0442\u043e\u0432\u043f\u0446\u044f",columnsPanelShowAllButton:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u0438 \u0443\u0441\u0456",columnsPanelHideAllButton:"\u0421\u0445\u043e\u0432\u0430\u0442\u0438 \u0443\u0441\u0456",filterPanelAddFilter:"\u0414\u043e\u0434\u0430\u0442\u0438 \u0444\u0456\u043b\u044c\u0442\u0440",filterPanelDeleteIconLabel:"\u0412\u0438\u0434\u0430\u043b\u0438\u0442\u0438",filterPanelOperators:"\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0438",filterPanelOperatorAnd:"\u0406",filterPanelOperatorOr:"\u0410\u0431\u043e",filterPanelColumns:"\u0421\u0442\u043e\u0432\u043f\u0446\u0456",filterPanelInputLabel:"\u0417\u043d\u0430\u0447\u0435\u043d\u043d\u044f",filterPanelInputPlaceholder:"\u0417\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0444\u0456\u043b\u044c\u0442\u0440\u0430",filterOperatorContains:"\u043c\u0456\u0441\u0442\u0438\u0442\u044c",filterOperatorEquals:"\u0434\u043e\u0440\u0456\u0432\u043d\u044e\u0454",filterOperatorStartsWith:"\u043f\u043e\u0447\u0438\u043d\u0430\u0454\u0442\u044c\u0441\u044f \u0437",filterOperatorEndsWith:"\u0437\u0430\u043a\u0456\u043d\u0447\u0443\u0454\u0442\u044c\u0441\u044f \u043d\u0430",filterOperatorIs:"\u0434\u043e\u0440\u0456\u0432\u043d\u044e\u0454",filterOperatorNot:"\u043d\u0435",filterOperatorAfter:"\u0431\u0456\u043b\u044c\u0448\u0435 \u043d\u0456\u0436",filterOperatorOnOrAfter:"\u0431\u0456\u043b\u044c\u0448\u0435 \u0430\u0431\u043e \u0434\u043e\u0440\u0456\u0432\u043d\u044e\u0454",filterOperatorBefore:"\u043c\u0435\u043d\u0448\u0435 \u043d\u0456\u0436",filterOperatorOnOrBefore:"\u043c\u0435\u043d\u0448\u0435 \u0430\u0431\u043e \u0434\u043e\u0440\u0456\u0432\u043d\u044e\u0454",filterValueAny:"\u0431\u0443\u0434\u044c-\u044f\u043a\u0438\u0439",filterValueTrue:"\u043f\u0440\u0430\u0432\u0434\u0430",filterValueFalse:"\u043f\u043e\u043c\u0438\u043b\u043a\u043e\u0432\u0438\u0439",columnMenuLabel:"\u041c\u0435\u043d\u044e",columnMenuShowColumns:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u0438 \u0441\u0442\u043e\u0432\u043f\u0446\u0456",columnMenuFilter:"\u0424\u0456\u043b\u044c\u0442\u0440",columnMenuHideColumn:"\u0421\u0445\u043e\u0432\u0430\u0442\u0438",columnMenuUnsort:"\u0421\u043a\u0430\u0441\u0443\u0432\u0430\u0442\u0438 \u0441\u043e\u0440\u0442\u0443\u0432\u0430\u043d\u043d\u044f",columnMenuSortAsc:"\u0421\u043e\u0440\u0442\u0443\u0432\u0430\u0442\u0438 \u0437\u0430 \u0437\u0440\u043e\u0441\u0442\u0430\u043d\u043d\u044f\u043c",columnMenuSortDesc:"\u0421\u043e\u0440\u0442\u0443\u0432\u0430\u0442\u0438 \u0437\u0430 \u0441\u043f\u0430\u0434\u0430\u043d\u043d\u044f\u043c",columnHeaderFiltersTooltipActive:function(e){return"".concat(e,1!==e?" \u0430\u043a\u0442\u0438\u0432\u043d\u0456 \u0444\u0456\u043b\u044c\u0442\u0440\u0438":" \u0430\u043a\u0442\u0438\u0432\u043d\u0438\u0439 \u0444\u0456\u043b\u044c\u0442\u0440")},columnHeaderFiltersLabel:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u0438 \u0444\u0456\u043b\u044c\u0442\u0440\u0438",columnHeaderSortIconLabel:"\u0421\u043e\u0440\u0442\u0443\u0432\u0430\u0442\u0438",footerRowSelected:function(e){return"".concat(e.toLocaleString(),1!==e?" \u0432\u0438\u0431\u0440\u0430\u043d\u0456 \u0440\u044f\u0434\u043a\u0438":" \u0432\u0438\u0431\u0440\u0430\u043d\u0438\u0439 \u0440\u044f\u0434\u043e\u043a")},footerTotalRows:"\u0412\u0441\u044c\u043e\u0433\u043e \u0440\u044f\u0434\u043a\u0456\u0432:",checkboxSelectionHeaderName:"\u0412\u0438\u0431\u0456\u0440 \u043f\u0440\u0430\u043f\u043e\u0440\u0446\u044f",booleanCellTrueLabel:"\u043f\u0440\u0430\u0432\u0434\u0430",booleanCellFalseLabel:"\u043f\u043e\u043c\u0438\u043b\u043a\u043e\u0432\u0438\u0439"},De.mP),{apiRef:(Te().any,function(){return null}),checkboxSelectionVisibleOnly:(Te().bool,function(){return null}),columns:(Te().array.isRequired,function(){return null}),disableColumnReorder:(Te().bool,function(){return null}),disableColumnResize:(Te().bool,function(){return null}),disableMultipleColumnsFiltering:(Te().bool,function(){return null}),disableMultipleColumnsSorting:(Te().bool,function(){return null}),disableMultipleSelection:(Te().bool,function(){return null}),filterModel:(Te().any,function(){return null}),onRowsScrollEnd:(Te().any,function(){return null}),onViewportRowsChange:(Te().any,function(){return null}),pageSize:(Te().number,function(){return null}),pagination:function(e){return!1===e.pagination?new Error(["Material-UI: `<DataGrid pagination={false} />` is not a valid prop.","Infinite scrolling is not available in the MIT version.","","You need to upgrade to the XGrid component to disable the pagination."].join("\n")):null},rows:Te().array.isRequired,scrollEndThreshold:(Te().number,function(){return null}),selectionModel:(Te().oneOfType([Te().number,Te().string,Te().array]),function(){return null})}),us=function(e){var t=e.apiRef,n=e.props,r=e.children;return u.createElement(co.Provider,{value:n},u.createElement(je.Provider,{value:t},r))},ds=function(e,t){if("string"==typeof e){var n=e.replace(/"/g,'""');return n.includes(t)?'"'.concat(n,'"'):n}return e};function ps(e){var t=e.columns,n=e.rows,r=e.selectedRowIds,o=e.getCellParams,i=e.delimiterCharacter,a=e.includeHeaders,s=void 0===a||a,l=(0,c.Z)(n.keys());r.length&&(l=l.filter((function(e){return r.includes(e)})));var u=l.reduce((function(e,n){return"".concat(e).concat(function(e,t,n,r){var o=[];return t.forEach((function(t){return t.field!==Yo.field&&o.push(ds(n(e,t.field).formattedValue,r))})),o}(n,t,o,i).join(i),"\r\n")}),"").trim();return s?"".concat("".concat(t.filter((function(e){return e.field!==Yo.field})).map((function(e){return ds(e.headerName||e.field,i)})).join(i),"\r\n"),u).trim():u}function fs(e){var t=document.createElement("span");t.style.whiteSpace="pre",t.style.userSelect="all",t.style.opacity="0px",t.textContent=e,document.body.appendChild(t);var n=document.createRange();n.selectNode(t);var r=window.getSelection();r.removeAllRanges(),r.addRange(n);try{document.execCommand("copy")}finally{document.body.removeChild(t)}}function hs(e,t){if("options::UPDATE"===t.type)return function(e,t){return t=function(e){var t=Object.assign({},e);return Object.keys(e).forEach((function(n){e.hasOwnProperty(n)&&void 0===e[n]&&delete t[n]})),t}(t),Object.assign(Object.assign({},e),t)}(e,t.payload);throw new Error("Material-UI: Action ".concat(t.type," not found."))}var bs=function(e,t){(function(e,t){$n=Wn?Vn("debug"):t.logger?t.logLevel?function(e){return Hn(e,t.logLevel.toString(),t.logger)}:null:t.logLevel?Vn(t.logLevel.toString()):null})(0,t),function(e,t){var n=Xn("useApi"),r=u.useCallback((function(n,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(o.defaultMuiPrevented=!1,!(o&&function(e){return void 0!==e.isPropagationStopped}(o)&&o.isPropagationStopped())){var i=t.signature===or.XGrid?{api:e.current}:{};e.current.emit(n,r,o,i)}}),[e,t.signature]),o=u.useCallback((function(t,r,o){n.debug("Binding ".concat(t," event")),e.current.on(t,r,o);var i=e.current;return function(){n.debug("Clearing ".concat(t," event")),i.removeListener(t,r)}}),[e,n]),i=u.useCallback((function(t){e.current.publishEvent(me.componentError,t)}),[e]);u.useEffect((function(){n.debug("Initializing grid api.");var t=e.current;return function(){n.info("Unmounting Grid component. Clearing all events listeners."),t.emit(me.unmount),t.removeAllListeners()}}),[n,e]),Qn(e,{subscribeEvent:o,publishEvent:r,showError:i},"GridCoreApi")}(e,t),function(e,t){var n=ar(e),r=(0,l.Z)(n,2)[1],o=u.useCallback((function(e){r((function(t){return Object.assign(Object.assign({},t),{error:e})}))}),[r]);u.useEffect((function(){o(t.error)}),[o,t.error]),pr(e,me.componentError,o)}(e,t),function(e,t){var n=u.useRef({}),r=u.useCallback((function(e){var t=e.stateId,r=e.stateSelector,o=Mo(e,["stateId","stateSelector"]);n.current[t]=Object.assign(Object.assign({},o),{stateId:t,stateSelector:r||function(e){return e[t]}})}),[]),o=u.useCallback((function(r){var o=!1,i=[],a=n.current;if(Object.keys(a).forEach((function(t){var n=a[t],s=n.stateSelector(e.current.state),l=n.stateSelector(r);l!==s&&l!==n.propModel&&i.push(n.stateId),void 0!==n.propModel&&l!==n.propModel&&(o=!0)})),i.length>1)throw new Error("You're not allowed to update several sub-state in one transaction. You already updated ".concat(i[0],", therefore, you're not allowed to update ").concat(i.join(", ")," in the same transaction."));return{ignoreSetState:o,postUpdate:function(){i.forEach((function(n){var o=a[n],i=a[n].stateSelector(r);if(o.propOnChange){var s=t.signature===or.XGrid?{api:e.current}:{};o.propOnChange(i,s)}e.current.publishEvent(o.changeEvent,i)}))}}}),[e,t.signature]);Qn(e,{updateControlState:r,applyControlStateConstraint:o},"controlStateApi")}(e,t),function(e,t){var n=t.scrollbarSize,r=Xn("useGridScrollbarSizeDetector"),o=u.useState(0),i=(0,l.Z)(o,2),a=i[0],s=i[1],c=ar(e),d=(0,l.Z)(c,2)[1],p=sr(e,Re).length>0,f=u.useCallback((function(){var t,n,o=0;(null===(n=null===(t=e.current)||void 0===t?void 0:t.rootElementRef)||void 0===n?void 0:n.current)&&(o=function(e,t){var n=e.createElement("div");n.style.width="99px",n.style.height="99px",n.style.position="absolute",n.style.overflow="scroll",n.className="scrollDiv",t.appendChild(n);var r=n.offsetWidth-n.clientWidth;return t.removeChild(n),r}((0,J.Z)(e.current.rootElementRef.current),e.current.rootElementRef.current),r.debug("Detected scroll bar size ".concat(o,"."))),s(o)}),[e,r]);kn((function(){p&&null==n&&f()}),[f,p,n]),u.useEffect((function(){null==n&&d((function(e){return Object.assign(Object.assign({},e),{options:Object.assign(Object.assign({},e.options),{scrollbarSize:a})})}))}),[n,a,d])}(e,t),function(e,t){var n=Xn("useOptionsProp"),r=u.useMemo((function(){return Object.assign(Object.assign({},t),{classes:Dn({root:["root"],columnHeader:["columnHeader"],row:["row"],cell:["cell"]},Pn,t.classes),localeText:Object.assign(Object.assign({},Gn),t.localeText)})}),[t]),o=function(e,t,n,r){var o=ir(e),i=ar(e),a=(0,l.Z)(i,3),s=a[0],c=a[1],d=a[2],p=u.useCallback((function(e){void 0===s[t]&&(s[t]=r),c((function(r){var o=Object.assign({},r);return o[t]=n(r[t],e),o})),d()}),[d,s,r,n,c,t]),f=u.useRef(p);u.useEffect((function(){f.current=p}),[p]);var h=u.useCallback((function(e){return f.current(e)}),[]);return{gridState:s,dispatch:h,gridApi:o}}(e,"options",hs,Object.assign({},nr)),i=o.gridState,a=o.dispatch,s=u.useCallback((function(e){n.debug("updating options state."),a({type:"options::UPDATE",payload:e})}),[a,n]);u.useEffect((function(){s(r)}),[r,s]),i.options}(e,t),function(e,t){hr(e,me.columnHeaderClick,t.onColumnHeaderClick),hr(e,me.columnHeaderDoubleClick,t.onColumnHeaderDoubleClick),hr(e,me.columnHeaderOver,t.onColumnHeaderOver),hr(e,me.columnHeaderOut,t.onColumnHeaderOut),hr(e,me.columnHeaderEnter,t.onColumnHeaderEnter),hr(e,me.columnHeaderLeave,t.onColumnHeaderLeave),hr(e,me.columnOrderChange,t.onColumnOrderChange),hr(e,me.cellClick,t.onCellClick),hr(e,me.cellDoubleClick,t.onCellDoubleClick),hr(e,me.cellOver,t.onCellOver),hr(e,me.cellOut,t.onCellOut),hr(e,me.cellEnter,t.onCellEnter),hr(e,me.cellLeave,t.onCellLeave),hr(e,me.cellKeyDown,t.onCellKeyDown),hr(e,me.cellBlur,t.onCellBlur),hr(e,me.cellFocusOut,t.onCellFocusOut),hr(e,me.rowDoubleClick,t.onRowDoubleClick),hr(e,me.rowClick,t.onRowClick),hr(e,me.rowOver,t.onRowOver),hr(e,me.rowOut,t.onRowOut),hr(e,me.rowEnter,t.onRowEnter),hr(e,me.rowLeave,t.onRowLeave),hr(e,me.componentError,t.onError),hr(e,me.stateChange,t.onStateChange)}(e,t),function(e){var t=sr(e,dr).localeText;Qn(e,{getLocaleText:u.useCallback((function(e){if(null==t[e])throw new Error("Missing translation for key ".concat(e,"."));return t[e]}),[t])},"LocaleTextApi")}(e),function(e,t){var n=Xn("useResizeContainer"),r=u.useRef(!1),o=u.useCallback((function(){var t;n.debug("resizing..."),e.current.publishEvent(me.debouncedResize,{containerSize:null===(t=e.current.state.containerSizes)||void 0===t?void 0:t.windowSizes})}),[e,n]);Qn(e,{resize:o},"GridEventsApi");var i=u.useMemo((function(){return(0,ee.Z)(o,60)}),[o]),a=u.useCallback((function(e){var o=/jsdom/.test(window.navigator.userAgent);0!==e.height||r.current||t.autoHeight||o||(n.warn(["The parent of the grid has an empty height.","You need to make sure the container has an intrinsic height.","The grid displays with a height of 0px.","","You can find a solution in the docs:","https://material-ui.com/components/data-grid/layout/"].join("\n")),r.current=!0),0!==e.width||r.current||o||(n.warn(["The parent of the grid has an empty width.","You need to make sure the container has an intrinsic width.","The grid displays with a width of 0px.","","You can find a solution in the docs:","https://material-ui.com/components/data-grid/layout/"].join("\n")),r.current=!0),i()}),[t.autoHeight,i,n,o]);u.useEffect((function(){return function(){n.info("canceling resize..."),i.clear()}}),[n,i]),u.useEffect((function(){n.info("canceling resize..."),i.clear()}),[t.rows,i,n]),pr(e,me.resize,a),hr(e,me.debouncedResize,t.onResize)}(e,t),t.rows,Ha(e,t),function(e){var t=u.useCallback((function(t){return{field:t,colDef:e.current.getColumn(t),api:e.current}}),[e]),n=u.useCallback((function(t){var n=e.current.getRow(t);if(!n)throw new Error("No row with id #".concat(t," found"));return{id:t,columns:e.current.getAllColumns(),row:n,api:e.current,getValue:e.current.getCellValue}}),[e]),r=u.useCallback((function(t,n){var r=e.current.getRow(t);if(!r)throw new Error("No row with id #".concat(t," found"));var o=Rr(e.current.state),i=Ir(e.current.state);return{id:t,field:n,row:r,value:r[n],colDef:e.current.getColumn(n),cellMode:e.current.getCellMode(t,n),getValue:e.current.getCellValue,api:e.current,hasFocus:null!==o&&o.field===n&&o.id===t,tabIndex:i&&i.field===n&&i.id===t?0:-1}}),[e]),o=u.useCallback((function(t,n){var r=e.current.getColumn(n),o=e.current.getCellValue(t,n),i=e.current.getRow(t);if(!i)throw new Error("No row with id #".concat(t," found"));var a=Rr(e.current.state),s=Ir(e.current.state),l={id:t,field:n,row:i,colDef:r,cellMode:e.current.getCellMode(t,n),getValue:e.current.getCellValue,api:e.current,hasFocus:null!==a&&a.field===n&&a.id===t,tabIndex:s&&s.field===n&&s.id===t?0:-1,value:o,formattedValue:o};return r.valueFormatter&&(l.formattedValue=r.valueFormatter(l)),l.isEditable=r&&e.current.isCellEditable(l),l}),[e]),i=u.useCallback((function(t,n){var o=e.current.getColumn(n);if(!o||!o.valueGetter){var i=e.current.getRow(t);if(!i)throw new Error("No row with id #".concat(t," found"));return i[n]}return o.valueGetter(r(t,n))}),[e,r]),a=u.useCallback((function(t){return e.current.rootElementRef.current?function(e,t){return e.querySelector('[role="columnheader"][data-field="'.concat(bi(t),'"]'))}(e.current.rootElementRef.current,t):null}),[e]),s=u.useCallback((function(t){return e.current.rootElementRef.current?Ai(e.current.rootElementRef.current,t):null}),[e]),l=u.useCallback((function(t,n){return e.current.rootElementRef.current?function(e,t){var n=t.field,r=Ai(e,t.id);return r?r.querySelector('.MuiDataGrid-cell[data-field="'.concat(bi(n),'"]')):null}(e.current.rootElementRef.current,{id:t,field:n}):null}),[e]);Qn(e,{getCellValue:i,getCellParams:o,getCellElement:l,getRowParams:n,getRowElement:s,getColumnHeaderParams:t,getColumnHeaderElement:a},"GridParamsApi")}(e),Qa(e,t),function(e,t){var n=Xn("useGridEditRows"),r=ar(e),o=(0,l.Z)(r,3),i=o[1],a=o[2],s=function(t,n){"view"!==t.cellMode&&(e.current.commitCellChange(t,n),e.current.publishEvent(me.cellEditStop,t,n))},c=En((function(e,t){s(e,t)})),d=En((function(t){var n=e.current.state.focus.cell;if(n){var r=e.current.getCellParams(n.id,n.field);s(r,t)}})),p=u.useCallback((function(t,r,o){var s="edit"===e.current.getCellMode(t,r);"edit"===o&&s||"view"===o&&!s||(n.debug("Switching cell id: ".concat(t," field: ").concat(r," to mode: ").concat(o)),i((function(n){var i=Object.assign({},n.editRows);return i[t]=Object.assign({},i[t]),"edit"===o?i[t][r]={value:e.current.getCellValue(t,r)}:(delete i[t][r],Object.keys(i[t]).length||delete i[t]),Object.assign(Object.assign({},n),{editRows:i})})),a(),e.current.publishEvent(me.cellModeChange,{id:t,field:r,mode:o,api:e.current}))}),[e,a,n,i]),f=u.useCallback((function(t,n){var r=e.current.state.editRows;return r[t]&&r[t][n]?"edit":"view"}),[e]),h=u.useCallback((function(e){return!!e.colDef.editable&&!!e.colDef.renderEditCell&&(!t.isCellEditable||t.isCellEditable(e))}),[t.isCellEditable]),b=u.useCallback((function(t,n){var r={id:t.id,field:t.field,props:{value:t.value}};e.current.publishEvent(me.editCellPropsChange,r,n)}),[e]),A=u.useCallback((function(t){var r=t.id,o=t.field,s=t.props;n.debug("Setting cell props on id: ".concat(r," field: ").concat(o)),i((function(t){var n=e.current.getColumn(o),i=n.valueParser?n.valueParser(s.value,e.current.getCellParams(r,o)):s.value,a=Object.assign({},t.editRows);return a[r]=Object.assign({},t.editRows[r]),a[r][o]=Object.assign(Object.assign({},s),{value:i}),Object.assign(Object.assign({},t),{editRows:a})})),a()}),[e,a,n,i]),m=u.useCallback((function(e){A(e)}),[A]),g=u.useCallback((function(e){n.debug("Setting row model"),i((function(t){return Object.assign(Object.assign({},t),{editRows:e})})),a()}),[a,n,i]),v=u.useCallback((function(){return e.current.state.editRows}),[e]),y=u.useCallback((function(t,n){var r=t.id,o=t.field,i=e.current.getEditRowsModel();if(!i[r]||!i[r][o])throw new Error("Cell at id: ".concat(r," and field: ").concat(o," is not in edit mode"));var a=i[r][o],s=a.error,l=a.value;if(!s){var c=Object.assign(Object.assign({},t),{value:l});return e.current.publishEvent(me.cellEditCommit,c,n),!0}return!1}),[e]),M=u.useCallback((function(t){var r=t.id,o=t.field,i=e.current.getEditRowsModel()[r][o].value;n.debug("Setting cell id: ".concat(r," field: ").concat(o," to value: ").concat(null==i?void 0:i.toString()));var a=e.current.getRow(r),s=Object.assign(Object.assign({},a),{[o]:i});e.current.updateRows([s])}),[e,n]),O=u.useCallback((function(e,t){e.isEditable&&(p(e.id,e.field,"edit"),so(t)&&no(t.key)&&A({id:e.id,field:e.field,props:{value:""}}))}),[A,p]),_=u.useCallback((function(e,t){var n=t.detail>1;e.isEditable&&"view"===e.cellMode&&n&&t.preventDefault()}),[]),z=u.useCallback((function(t,n){var r=t.id,o=t.field,i=t.cellMode;if(t.isEditable){var a,s="edit"===i,l=n.ctrlKey||n.metaKey||n.altKey;if(!s&&(a=n.key,Xr(a)||eo(a)||no(a))&&!l&&e.current.publishEvent(me.cellEditStart,t,n),!s&&eo(n.key)&&(e.current.setEditCellValue({id:r,field:o,value:""}),e.current.commitCellChange({id:r,field:o},n),e.current.publishEvent(me.cellEditStop,t,n)),s&&io(n.key)){var c={id:r,field:o};if(!e.current.commitCellChange(c,n))return}s&&function(e){return ro.indexOf(e)>-1}(n.key)&&e.current.publishEvent(me.cellEditStop,t,n)}}),[e]),x=u.useCallback((function(t,n){p(t.id,t.field,"view"),n&&so(n)&&(io(n.key)?e.current.publishEvent(me.cellNavigationKeyDown,t,n):("Escape"===n.key||eo(n.key))&&e.current.setCellFocus(t.id,t.field))}),[e,p]),w=u.useCallback((function(t,n){t.isEditable&&e.current.publishEvent(me.cellEditStart,t,n)}),[e]);pr(e,me.cellKeyDown,z),pr(e,me.cellMouseDown,_),pr(e,me.cellDoubleClick,w),pr(e,me.cellFocusOut,c),pr(e,me.columnHeaderDragStart,d),pr(e,me.cellEditStart,O),pr(e,me.cellEditStop,x),pr(e,me.cellEditCommit,M),pr(e,me.editCellPropsChange,m),hr(e,me.cellEditCommit,t.onCellEditCommit),hr(e,me.editCellPropsChange,t.onEditCellPropsChange),hr(e,me.cellEditStart,t.onCellEditStart),hr(e,me.cellEditStop,t.onCellEditStop),Qn(e,{setCellMode:p,getCellMode:f,isCellEditable:h,commitCellChange:y,setEditRowsModel:g,getEditRowsModel:v,setEditCellValue:b},"EditRowApi"),u.useEffect((function(){e.current.updateControlState({stateId:"editRows",propModel:t.editRowsModel,propOnChange:t.onEditRowsModelChange,stateSelector:function(e){return e.editRows},changeEvent:me.editRowsModelChange})}),[e,t.editRowsModel,t.onEditRowsModelChange]),u.useEffect((function(){var n=e.current.state.editRows;void 0!==t.editRowsModel&&t.editRowsModel!==n&&e.current.setEditRowsModel(t.editRowsModel||{})}),[e,t.editRowsModel])}(e,t),function(e,t){var n=Xn("useGridFocus"),r=ar(e),o=(0,l.Z)(r,3),i=o[1],a=o[2],s=u.useRef(null),c=u.useCallback((function(e,t){i((function(r){return n.debug("Focusing on cell with id=".concat(e," and field=").concat(t)),Object.assign(Object.assign({},r),{tabIndex:{cell:{id:e,field:t},columnHeader:null},focus:{cell:{id:e,field:t},columnHeader:null}})})),a()}),[a,n,i]),d=u.useCallback((function(t,r){var o=e.current.state.focus.cell;o&&e.current.publishEvent(me.cellFocusOut,e.current.getCellParams(o.id,o.field),r),i((function(e){return n.debug("Focusing on column header with colIndex=".concat(t)),Object.assign(Object.assign({},e),{tabIndex:{columnHeader:{field:t},cell:null},focus:{columnHeader:{field:t},cell:null}})})),a()}),[e,a,n,i]),p=u.useCallback((function(t){var n=t.id,r=t.field;e.current.setCellFocus(n,r)}),[e]),f=u.useCallback((function(t,n){"Enter"===n.key||"Tab"===n.key||ao(n.key)||e.current.setCellFocus(t.id,t.field)}),[e]),h=u.useCallback((function(t,n){var r=t.field;n.target===n.currentTarget&&e.current.setColumnHeaderFocus(r,n)}),[e]),b=u.useCallback((function(){n.debug("Clearing focus"),i((function(e){return Object.assign(Object.assign({},e),{focus:{cell:null,columnHeader:null}})}))}),[n,i]),A=u.useCallback((function(e){s.current=e}),[]),m=u.useCallback((function(t){var n=s.current;s.current=null;var r=e.current.state.focus.cell;if(r){if((null==n?void 0:n.id)!==r.id||(null==n?void 0:n.field)!==r.field){var o=e.current.getCellElement(r.id,r.field);(null==o?void 0:o.contains(t.target))||(e.current.publishEvent(me.cellFocusOut,e.current.getCellParams(r.id,r.field),t),n?e.current.setCellFocus(n.id,n.field):(i((function(e){return Object.assign(Object.assign({},e),{focus:{cell:null,columnHeader:null}})})),a()))}}else n&&e.current.setCellFocus(n.id,n.field)}),[e,a,i]),g=u.useCallback((function(t){if("view"!==t.cellMode){var n=e.current.state.focus.cell;(null==n?void 0:n.id)===t.id&&(null==n?void 0:n.field)===t.field||e.current.setCellFocus(t.id,t.field)}}),[e]);Qn(e,{setCellFocus:c,setColumnHeaderFocus:d},"GridFocusApi"),u.useEffect((function(){var t=e.current.state.focus.cell;t&&(e.current.getRow(t.id)||i((function(e){return Object.assign(Object.assign({},e),{focus:{cell:null,columnHeader:null}})})))}),[e,i,t.rows]),u.useEffect((function(){var t=(0,J.Z)(e.current.rootElementRef.current);return t.addEventListener("click",m),function(){t.removeEventListener("click",m)}}),[e,m]),pr(e,me.columnHeaderBlur,b),pr(e,me.cellDoubleClick,p),pr(e,me.cellMouseUp,A),pr(e,me.cellKeyDown,f),pr(e,me.cellModeChange,g),pr(e,me.columnHeaderFocus,h)}(e,t),function(e){var t=Xn("useGridKeyboard"),n=u.useCallback((function(n,r){var o=pi(r.target,"MuiDataGrid-row"),i=Number(o.getAttribute("data-rowindex")),a=i,s=(0,c.Z)(e.current.getSelectedRows().keys());if(s.length>0){var l=s.map((function(t){return e.current.getRowIndex(t)})),u=l.map((function(e){return Math.abs(i-e)})),d=Math.max.apply(Math,(0,c.Z)(u));a=l[u.indexOf(d)]}e.current.publishEvent(me.cellNavigationKeyDown,n,r);var p=e.current.state.focus.cell,f=e.current.getRowIndex(p.id),h=Array(Math.abs(f-a)+1).fill(f>a?a:f);t.debug("Selecting rows "),e.current.selectRows(h,!0,!0)}),[t,e]),r=u.useCallback((function(t,r){if(1!==r.target.nodeType||null!=(o=r.target)&&o.classList.contains("MuiDataGrid-cell")){var o,i=e.current.getCellParams(t.id,t.field);if("edit"!==i.cellMode){if(Yr(r.key)&&r.shiftKey)return r.preventDefault(),void e.current.selectRow(i.id);if(!ao(r.key)||r.shiftKey)return ao(r.key)&&r.shiftKey?(r.preventDefault(),void n(i,r)):void("c"===r.key.toLowerCase()&&(r.ctrlKey||r.metaKey)||"a"===r.key.toLowerCase()&&(r.ctrlKey||r.metaKey)&&(r.preventDefault(),e.current.selectRows(e.current.getAllRowIds(),!0)));e.current.publishEvent(me.cellNavigationKeyDown,i,r)}}}),[e,n]),o=u.useCallback((function(t,n){fi(n.target)&&(Yr(n.key)&&fi(n.target)&&n.preventDefault(),!ao(n.key)||Yr(n.key)||n.shiftKey?Xr(n.key)&&(n.ctrlKey||n.metaKey)&&e.current.toggleColumnMenu(t.field):e.current.publishEvent(me.cellNavigationKeyDown,t,n))}),[e]);pr(e,me.cellKeyDown,r),pr(e,me.columnHeaderKeyDown,o)}(e),function(e,t){var n=Xn("useGridKeyboardNavigation"),r=sr(e,ho),o=sr(e,vr),i=sr(e,Fe),a=sr(e,Ni),s=function(e){return Xr(e.key)?"ArrowDown":Qr(e.key)?e.shiftKey?"ArrowLeft":"ArrowRight":e.key},l=u.useCallback((function(l,c){c.preventDefault();var u,d=e.current.getColumnIndex(l.field),p=e.current.getRowIndex(l.id),f=s(c),h=c.ctrlKey||c.metaKey||c.shiftKey,b=o;if(t.pagination&&o>r.pageSize&&(b=r.pageSize*(r.page+1)),Gr(f))u=function(e,t){if(!Gr(e))throw new Error("Material-UI: The first argument (key) should be an arrow key code.");switch(e){case"ArrowLeft":return Object.assign(Object.assign({},t),{colIndex:t.colIndex-1});case"ArrowRight":return Object.assign(Object.assign({},t),{colIndex:t.colIndex+1});case"ArrowUp":return Object.assign(Object.assign({},t),{rowIndex:t.rowIndex-1});default:return Object.assign(Object.assign({},t),{rowIndex:t.rowIndex+1})}}(f,{colIndex:d,rowIndex:p});else if(Kr(f)){var A="Home"===f?0:i-1;u=h?{colIndex:A,rowIndex:0===A?t.pagination?b-r.pageSize:0:b-1}:{colIndex:A,rowIndex:p}}else{if(!Jr(f)&&!Yr(f))throw new Error("Material-UI. Key not mapped to navigation behavior.");u={colIndex:d,rowIndex:p+(f.indexOf("Down")>-1||Yr(f)?a.viewportPageSize:-1*a.viewportPageSize)}}if(u.rowIndex<0){var m=e.current.getVisibleColumns()[u.colIndex].field;e.current.setColumnHeaderFocus(m,c)}else{u.rowIndex=u.rowIndex>=b&&b>0?b-1:u.rowIndex,u.colIndex=u.colIndex<=0?0:u.colIndex,u.colIndex=u.colIndex>=i?i-1:u.colIndex,n.debug("Navigating to next cell row ".concat(u.rowIndex,", col ").concat(u.colIndex)),e.current.scrollToIndexes(u);var g=e.current.getVisibleColumns()[u.colIndex].field,v=e.current.getRowIdFromRowIndex(u.rowIndex);e.current.setCellFocus(v,g)}}),[o,t.pagination,r.pageSize,r.page,i,n,e,a]),c=u.useCallback((function(t,r){var o;r.preventDefault();var l=e.current.getColumnIndex(t.field),c=s(r);if(Gr(c))o=function(e,t){if(!Gr(e))throw new Error("Material-UI: The first argument (key) should be an arrow key code.");switch(e){case"ArrowLeft":return{colIndex:t.colIndex-1};case"ArrowRight":return{colIndex:t.colIndex+1};case"ArrowDown":return null;default:return Object.assign({},t)}}(c,{colIndex:l});else{if(!Kr(c)){if(Jr(c)){if(c.indexOf("Down")>-1){var u=e.current.getVisibleColumns()[l].field,d=e.current.getRowIdFromRowIndex(a.viewportPageSize-1);e.current.setCellFocus(d,u)}return}throw new Error("Material-UI. Key not mapped to navigation behavior.")}o={colIndex:"Home"===c?0:i-1}}if(o){o.colIndex=Math.max(0,o.colIndex),o.colIndex=o.colIndex>=i?i-1:o.colIndex,n.debug("Navigating to next column row ".concat(o.colIndex)),e.current.scrollToIndexes(o);var p=e.current.getVisibleColumns()[o.colIndex].field;e.current.setColumnHeaderFocus(p,r)}else{var f=e.current.getVisibleColumns()[l].field,h=e.current.getRowIdFromRowIndex(0);e.current.setCellFocus(h,f)}}),[e,i,a,n]);pr(e,me.cellNavigationKeyDown,l),pr(e,me.columnHeaderNavigationKeyDown,c)}(e,t),function(e,t){var n=Xn("useGridSelection"),r=ar(e),o=(0,l.Z)(r,3),i=o[1],a=o[2],s=sr(e,dr),d=sr(e,yr),p=u.useMemo((function(){return null==t.selectionModel||Array.isArray(t.selectionModel)?t.selectionModel:[t.selectionModel]}),[t.selectionModel]),f=s.checkboxSelection,h=s.disableMultipleSelection,b=s.disableSelectionOnClick,A=s.isRowSelectable,m=u.useCallback((function(){return go(e.current.state)}),[e]),g=u.useCallback((function(t){var r=t.id,o=t.allowMultipleOverride,s=t.isSelected,l=t.isMultipleKey;A&&!A(e.current.getRowParams(r))||(n.debug("Selecting row ".concat(r)),i((function(e){var t=vo(e);if(o||!h&&l||f)(null==s?void 0===t[r]:s)?t[r]=r:delete t[r];else{var n=null==s?!l||void 0===t[r]:s;t={},n&&(t[r]=r)}return Object.assign(Object.assign({},e),{selection:Object.values(t)})})),a())}),[A,h,e,n,f,a,i]),v=u.useCallback((function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=e.current.getRow(t);o&&g({id:t,row:o,allowMultipleOverride:r,isSelected:n})}),[e,g]),y=u.useCallback((function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=A?t.filter((function(t){return A(e.current.getRowParams(t))})):t;h&&o.length>1&&!f||(i((function(e){var t=r?{}:vo(e);return o.forEach((function(e){n?t[e]=e:void 0!==t[e]&&delete t[e]})),Object.assign(Object.assign({},e),{selection:Object.values(t)})})),a())}),[A,h,f,i,a,e]),M=u.useCallback((function(t){e.current.state.selection!==t&&i((function(e){return Object.assign(Object.assign({},e),{selection:t})}))}),[i,e]),O=u.useCallback((function(e,t){b||g({id:e.id,row:e.row,isMultipleKey:t.metaKey||t.ctrlKey})}),[b,g]);pr(e,me.rowClick,O),Qn(e,{selectRow:v,getSelectedRows:m,selectRows:y,setSelectionModel:M},"GridSelectionApi"),u.useEffect((function(){e.current.updateControlState({stateId:"selection",propModel:p,propOnChange:t.onSelectionModelChange,stateSelector:Ao,changeEvent:me.selectionChange})}),[e,t.onSelectionModelChange,p]),u.useEffect((function(){i((function(e){var t=Ao(e),n=vo(e),r=!1;return t.forEach((function(e){d[e]||(delete n[e],r=!0)})),r?Object.assign(Object.assign({},e),{selection:Object.values(n)}):e})),a()}),[d,e,i,a]),u.useEffect((function(){void 0!==p&&e.current.setSelectionModel(p)}),[e,p,i]),u.useEffect((function(){i((function(t){var n=(0,c.Z)(t.selection),r=vo(t),o=!1;return n.forEach((function(t){!A||A(e.current.getRowParams(t))||(delete r[t],o=!0)})),o?Object.assign(Object.assign({},t),{selection:Object.values(r)}):t})),a()}),[e,i,a,A])}(e,t),function(e,t){var n=Xn("useGridSorting"),r=ar(e),o=(0,l.Z)(r,3),i=o[0],a=o[1],s=o[2],d=sr(e,vr),p=u.useCallback((function(e,t){var n=i.sorting.sortModel.findIndex((function(t){return t.field===e})),r=(0,c.Z)(i.sorting.sortModel);return n>-1?t?r.splice(n,1,t):r.splice(n,1):r=[].concat((0,c.Z)(i.sorting.sortModel),[t]),r}),[i.sorting.sortModel]),f=u.useCallback((function(e,n){var r=i.sorting.sortModel.find((function(t){return t.field===e.field}));if(r){var o=void 0===n?_o(t.sortingOrder,r.sort):n;return null==o?void 0:Object.assign(Object.assign({},r),{sort:o})}return{field:e.field,sort:void 0===n?_o(t.sortingOrder):n}}),[i.sorting.sortModel,t.sortingOrder]),h=u.useCallback((function(t,n){return{id:t,field:n,value:e.current.getCellValue(t,n),api:e.current}}),[e]),b=u.useCallback((function(e){return function(t,n){return e.reduce((function(e,r,o){if(0!==e)return e;var i=r.comparator,a=t[o],s=n[o];return i(a.value,s.value,a,s)}),0)}}),[]),A=u.useCallback((function(t){return t.map((function(t){var n=e.current.getColumn(t.field);if(!n)throw new Error("Error sorting: column with field '".concat(t.field,"' not found. "));var r="desc"===t.sort?function(e,t,r,o){return-1*n.sortComparator(e,t,r,o)}:n.sortComparator;return{field:n.field,comparator:r}}))}),[e]),m=u.useCallback((function(){var r=e.current.getAllRowIds();if(t.sortingMode===er)return n.debug("Skipping sorting rows as sortingMode = server"),void a((function(e){return Object.assign(Object.assign({},e),{sorting:Object.assign(Object.assign({},e.sorting),{sortedRows:r})})}));var o=e.current.state.sorting.sortModel;if(o.length>0){var i=A(o);n.debug("Sorting rows with ",o),r=r.map((function(e){return i.map((function(t){return h(e,t.field)}))})).sort(b(i)).map((function(e){return e[0].id}))}a((function(e){return Object.assign(Object.assign({},e),{sorting:Object.assign(Object.assign({},e.sorting),{sortedRows:r})})})),s()}),[e,n,h,a,s,A,b,t.sortingMode]),g=u.useCallback((function(t){a((function(e){return Object.assign(Object.assign({},e),{sorting:Object.assign(Object.assign({},e.sorting),{sortModel:t})})})),s(),e.current.applySorting()}),[a,s,e]),v=u.useCallback((function(e,n,r){if(e.sortable){var o,i=f(e,n);o=!r||t.disableMultipleColumnsSorting?i?[i]:[]:p(e.field,i),g(o)}}),[p,g,f,t.disableMultipleColumnsSorting]),y=u.useCallback((function(e,t){var n=e.colDef,r=t.shiftKey||t.metaKey||t.ctrlKey;v(n,void 0,r)}),[v]),M=u.useCallback((function(e,t){var n=e.colDef;!Xr(t.key)||t.ctrlKey||t.metaKey||v(n,void 0,t.shiftKey)}),[v]),O=u.useCallback((function(){a((function(e){return Object.assign(Object.assign({},e),{sorting:Object.assign(Object.assign({},e.sorting),{sortedRows:[]})})}))}),[a]),_=u.useCallback((function(){return i.sorting.sortModel}),[i.sorting.sortModel]),z=u.useCallback((function(){return Object.values(xr(e.current.state))}),[e]),x=u.useCallback((function(){return zr(e.current.state)}),[e]),w=u.useCallback((function(){a((function(e){var t=e.sorting.sortModel,n=Re(e),r=t;return t.length>0&&(r=t.reduce((function(e,t){return n.find((function(e){return e.field===t.field}))&&e.push(t),e}),[])),Object.assign(Object.assign({},e),{sorting:Object.assign(Object.assign({},e.sorting),{sortModel:r})})}))}),[a]);pr(e,me.columnHeaderClick,y),pr(e,me.columnHeaderKeyDown,M),pr(e,me.rowsSet,e.current.applySorting),pr(e,me.rowsClear,O),pr(e,me.rowsUpdate,e.current.applySorting),pr(e,me.columnsChange,w),Qn(e,{getSortModel:_,getSortedRows:z,getSortedRowIds:x,setSortModel:g,sortColumn:v,applySorting:m},"GridSortApi"),u.useEffect((function(){e.current.applySorting()}),[e,t.rows]),u.useEffect((function(){d>0&&(n.debug("row changed, applying sortModel"),e.current.applySorting())}),[d,e,n]),u.useEffect((function(){e.current.updateControlState({stateId:"sortModel",propModel:t.sortModel,propOnChange:t.onSortModelChange,stateSelector:function(e){return e.sorting.sortModel},changeEvent:me.sortModelChange})}),[e,t.sortModel,t.onSortModelChange]),u.useEffect((function(){var n=e.current.state.sorting.sortModel;void 0!==t.sortModel&&t.sortModel!==n&&g(t.sortModel)}),[t.sortModel,e,g])}(e,t),function(e){var t=Xn("useGridColumnMenu"),n=ar(e),r=(0,l.Z)(n,3),o=r[0],i=r[1],a=r[2],s=u.useCallback((function(n){t.debug("Opening Column Menu"),i((function(e){return Object.assign(Object.assign({},e),{columnMenu:{open:!0,field:n}})})),e.current.hidePreferences(),a()}),[e,a,t,i]),c=u.useCallback((function(){t.debug("Hiding Column Menu"),i((function(e){return Object.assign(Object.assign({},e),{columnMenu:Object.assign(Object.assign({},e.columnMenu),{open:!1,field:void 0})})})),a()}),[a,t,i]),d=u.useCallback((function(e){t.debug("Toggle Column Menu"),o.columnMenu.open&&o.columnMenu.field===e?c():s(e)}),[t,s,c,o]),p=u.useCallback((function(){i((function(e){return e.columnMenu.open?Object.assign(Object.assign({},e),{columnMenu:Object.assign(Object.assign({},e.columnMenu),{open:!1})}):e}))}),[i]);u.useEffect((function(){o.isScrolling&&c()}),[o.isScrolling,c]),Qn(e,{showColumnMenu:s,hideColumnMenu:c,toggleColumnMenu:d},"ColumnMenuApi"),pr(e,me.columnResizeStart,p)}(e),function(e){var t=Xn("useGridPreferencesPanel"),n=ar(e),r=(0,l.Z)(n,3),o=r[1],i=r[2],a=u.useRef(),s=u.useRef(),c=u.useCallback((function(){t.debug("Hiding Preferences Panel"),o((function(e){return Object.assign(Object.assign({},e),{preferencePanel:{open:!1}})})),i()}),[i,t,o]),d=u.useCallback((function(){s.current=setTimeout((function(){return clearTimeout(a.current)}),0)}),[]),p=u.useCallback((function(){a.current=setTimeout(c,100)}),[c]);Qn(e,{showPreferences:u.useCallback((function(e){t.debug("Opening Preferences Panel"),d(),o((function(t){return Object.assign(Object.assign({},t),{preferencePanel:Object.assign(Object.assign({},t.preferencePanel),{open:!0,openedPanelValue:e})})})),i()}),[d,i,t,o]),hidePreferences:p},"ColumnMenuApi"),u.useEffect((function(){return function(){clearTimeout(a.current),clearTimeout(s.current)}}),[])}(e),function(e,t){var n=Xn("useGridFilter"),r=ar(e),o=(0,l.Z)(r,3),i=o[0],a=o[1],s=o[2],d=sr(e,We),p=u.useCallback((function(){n.debug("clearing filtered rows"),a((function(e){return Object.assign(Object.assign({},e),{visibleRows:{visibleRowsLookup:{}}})}))}),[n,a]),f=u.useCallback((function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Kn.And;if(t.columnField&&t.operatorValue){var o=e.current.getColumn(t.columnField);if(o){var i=o.valueParser?o.valueParser(t.value):t.value,c=Object.assign(Object.assign({},t),{value:i});n.debug("Filtering column: ".concat(c.columnField," ").concat(c.operatorValue," ").concat(c.value," "));var u=o.filterOperators;if(!(null==u?void 0:u.length))throw new Error("Material-UI: No filter operators found for column '".concat(o.field,"'."));var d=u.find((function(e){return e.value===c.operatorValue}));if(!d)throw new Error("Material-UI: No filter operator found for column '".concat(o.field,"' and operator value '").concat(c.operatorValue,"'."));var p=d.getApplyFilterFn(c,o);"function"==typeof p&&(a((function(t){var n=Object.assign({},t.visibleRows.visibleRowsLookup);return xr(t).forEach((function(t,o){var i=e.current.getCellParams(o,c.columnField),a=p(i);null==n[o]?n[o]=a:n[o]=r===Kn.And?n[o]&&a:n[o]||a})),Object.assign(Object.assign({},t),{visibleRows:Object.assign(Object.assign({},t.visibleRows),{visibleRowsLookup:n,visibleRows:Object.entries(n).filter((function(e){return(0,l.Z)(e,2)[1]})).map((function(e){return(0,l.Z)(e,1)[0]}))})})})),s())}}}),[e,s,n,a]),h=u.useCallback((function(){if(t.filterMode!==er){p();var n=e.current.state.filter,r=n.items,o=n.linkOperator;r.forEach((function(t){e.current.applyFilter(t,o)})),s()}else s()}),[e,p,s,t.filterMode]),b=u.useCallback((function(r){n.debug("Upserting filter"),a((function(n){var o=(0,c.Z)(n.filter.items),i=Object.assign({},r),a=o.findIndex((function(e){return e.id===i.id}));if(1===o.length&&Sn(o[0],{})?o[0]=i:-1===a?o.push(i):o[a]=i,null==i.id&&(i.id=Math.round(1e5*Math.random())),null==i.columnField&&(i.columnField=d[0]),null!=i.columnField&&null==i.operatorValue){var s=e.current.getColumn(i.columnField);i.operatorValue=s&&s.filterOperators[0].value}return t.disableMultipleColumnsFiltering&&o.length>1&&(o.length=1),Object.assign(Object.assign({},n),{filter:Object.assign(Object.assign({},n.filter),{items:o})})})),h()}),[n,a,e,h,t.disableMultipleColumnsFiltering,d]),A=u.useCallback((function(t){n.debug("Deleting filter on column ".concat(t.columnField," with value ").concat(t.value)),a((function(e){var n=(0,c.Z)(e.filter.items.filter((function(e){return e.id!==t.id})));return Object.assign(Object.assign({},e),{filter:Object.assign(Object.assign({},e.filter),{items:n})})})),0===e.current.state.filter.items.length&&e.current.upsertFilter({}),h()}),[e,h,n,a]),m=u.useCallback((function(t){if(n.debug("Displaying filter panel"),t){var r=i.filter.items.length>0?i.filter.items[i.filter.items.length-1]:null;r&&r.columnField===t||e.current.upsertFilter({columnField:t})}e.current.showPreferences(yi.filters)}),[e,i.filter.items,n]),g=u.useCallback((function(){n.debug("Hiding filter panel"),null==e||e.current.hidePreferences()}),[e,n]),v=u.useCallback((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Kn.And;n.debug("Applying filter link operator"),a((function(t){return Object.assign(Object.assign({},t),{filter:Object.assign(Object.assign({},t.filter),{linkOperator:e})})})),h()}),[h,n,a]),y=u.useCallback((function(){p(),n.debug("Clearing filter model"),a((function(e){return Object.assign(Object.assign({},e),{filter:rr()})}))}),[p,n,a]),M=u.useCallback((function(e){y(),n.debug("Setting filter model"),v(e.linkOperator),e.items.forEach((function(e){return b(e)}))}),[v,y,n,b]),O=u.useCallback((function(){return Er(e.current.state)}),[e]);Qn(e,{applyFilterLinkOperator:v,applyFilters:h,applyFilter:f,deleteFilter:A,upsertFilter:b,setFilterModel:M,showFilterPanel:m,hideFilterPanel:g,getVisibleRowModels:O},"FilterApi"),u.useEffect((function(){e.current&&(n.debug("Rows prop changed, applying filters"),p(),e.current.applyFilters())}),[e,p,n,t.rows]);var _=u.useCallback((function(){n.debug("onColUpdated - GridColumns changed, applying filters");var t=e.current.state.filter,r=We(e.current.state);n.debug("GridColumns changed, applying filters"),t.items.forEach((function(t){r.find((function(e){return e===t.columnField}))||e.current.deleteFilter(t)})),e.current.applyFilters()}),[e,n]);u.useEffect((function(){e.current.updateControlState({stateId:"filter",propModel:t.filterModel,propOnChange:t.onFilterModelChange,stateSelector:function(e){return e.filter},changeEvent:me.filterModelChange})}),[e,t.filterModel,t.onFilterModelChange]),u.useEffect((function(){if(void 0!==t.filterModel&&t.filterModel.items.length>1&&t.filterModel.items.find((function(e){return null==e.id})))throw new Error("The 'id' field is required on filterModel.items when you use multiple filters.");var r=e.current.state.filter;void 0!==t.filterModel&&t.filterModel!==r&&(n.debug("filterModel prop changed, applying filters"),a((function(e){return Object.assign(Object.assign({},e),{filter:t.filterModel||rr()})})),e.current.applyFilters())}),[e,n,t.filterModel,a]),pr(e,me.rowsSet,e.current.applyFilters),pr(e,me.rowsUpdate,e.current.applyFilters),pr(e,me.columnsChange,_)}(e,t),function(e){var t=Xn("useGridContainerProps"),n=ar(e),r=(0,l.Z)(n,3),o=r[0],i=r[1],a=r[2],s=u.useRef({width:0,height:0}),c=sr(e,dr),d=sr(e,Zr),p=sr(e,Ue),f=sr(e,Nr),h=sr(e,ho),b=e.current.windowRef,A=u.useCallback((function(){if(t.debug("Calculating virtual row count."),c.pagination&&(!c.autoPageSize||c.pageSize)){var e=f-h.page*h.pageSize;return e>h.pageSize?h.pageSize:e}return f}),[t,c.autoPageSize,c.pagination,c.pageSize,h.page,h.pageSize,f]),m=u.useCallback((function(e){t.debug("Calculating scrollbar sizes.");var n=p>s.current.width,r={y:0,x:n?c.scrollbarSize:0};if(0===e)return{hasScrollX:n,hasScrollY:!1,scrollBarSize:r};var o=e*d,i=!c.autoPageSize&&!c.autoHeight&&o+r.x>s.current.height;return r.y=i?c.scrollbarSize:0,n=p+r.y>s.current.width,r.x=n?c.scrollbarSize:0,t.debug("Scrollbar size on axis x: ".concat(r.x,", y: ").concat(r.y)),{hasScrollX:n,hasScrollY:i,scrollBarSize:r}}),[t,p,c.autoPageSize,c.autoHeight,d,c.scrollbarSize]),g=u.useCallback((function(e,n){if(!(null==b?void 0:b.current))return null;t.debug("Calculating container sizes.");var r=b.current.getBoundingClientRect();return s.current={width:r.width,height:r.height},t.debug("window Size - W: ".concat(s.current.width," H: ").concat(s.current.height," ")),{width:s.current.width-n.scrollBarSize.y,height:c.autoHeight?e*d:s.current.height-n.scrollBarSize.x}}),[t,c.autoHeight,d,b]),v=u.useCallback((function(e,n,r){if(!b||!b.current||0===p||Number.isNaN(p))return null;var o=e*d-s.current.height>2*d;if(c.autoPageSize||c.autoHeight||!o){var i=Math.floor(n.height/d),a=r.hasScrollY||e<i?e:i,l=Math.max(a*d+(c.autoHeight?r.scrollBarSize.x:0),1),u={isVirtualized:!1,virtualRowsCount:a,renderingZonePageSize:a,viewportPageSize:a,totalSizes:{width:p,height:l},dataContainerSizes:{width:p,height:l},renderingZoneScrollHeight:l-n.height,renderingZone:{width:p,height:l},windowSizes:s.current,lastPage:1};return t.debug("Fixed container props",u),u}var f=Math.floor(n.height/d),h=f>0?Math.ceil(e/f)-1:0,A=2*f,m=A*d,g=m-n.height,v=h*g+n.height,y=e%f;y>0&&(v=v-g+y*d);var M={isVirtualized:o,virtualRowsCount:e,viewportPageSize:f,totalSizes:{width:p,height:v},dataContainerSizes:{width:p,height:v},renderingZonePageSize:A,renderingZone:{width:p,height:m},renderingZoneScrollHeight:g,windowSizes:s.current,lastPage:h};return t.debug("virtualized container props",M),M}),[b,p,d,c.autoPageSize,c.autoHeight,t]),y=u.useCallback((function(e,t){var n=!1;i((function(r){return(n=e(r))?t(r):r})),n&&a()}),[a,i]),M=u.useCallback((function(){t.debug("Refreshing container sizes");var e=A(),n=m(e),r=g(e,n);if(r){y((function(e){return e.scrollBar!==n}),(function(e){return Object.assign(Object.assign({},e),{scrollBar:n})})),y((function(e){return e.viewportSizes!==r}),(function(e){return Object.assign(Object.assign({},e),{viewportSizes:r})}));var o=v(e,r,n);y((function(e){return!Sn(e.containerSizes,o)}),(function(e){return Object.assign(Object.assign({},e),{containerSizes:o})}))}}),[v,m,g,A,t,y]);u.useEffect((function(){M()}),[o.columns,o.options.hideFooter,M,f]),pr(e,me.debouncedResize,M)}(e),function(e,t){var n=Xn("useDensity"),r=ar(e),o=(0,l.Z)(r,3),i=o[1],a=o[2],s=u.useCallback((function(e,t,n){switch(e){case Yn.Compact:return{value:e,headerHeight:Math.floor(.7*t),rowHeight:Math.floor(.7*n)};case Yn.Comfortable:return{value:e,headerHeight:Math.floor(1.3*t),rowHeight:Math.floor(1.3*n)};default:return{value:e,headerHeight:t,rowHeight:n}}}),[]),c=u.useCallback((function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.headerHeight,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.rowHeight;n.debug("Set grid density to ".concat(e)),i((function(t){return Object.assign(Object.assign({},t),{density:Object.assign(Object.assign({},t.density),s(e,r,o))})})),a()}),[n,i,a,s,t.headerHeight,t.rowHeight]);u.useEffect((function(){c(t.density,t.headerHeight,t.rowHeight)}),[c,t.density,t.rowHeight,t.headerHeight]),Qn(e,{setDensity:c},"GridDensityApi")}(e,t),Ka(e),function(e,t){var n=Xn("useGridColumnResize"),r=ar(e),o=(0,l.Z)(r,3),i=o[1],a=o[2],s=u.useRef(),c=u.useRef(),d=u.useRef(),p=u.useRef(),f=u.useRef(),h=u.useRef(),b=function(e){n.debug("Updating width to ".concat(e," for col ").concat(s.current.field)),s.current.computedWidth=e,s.current.width=e,s.current.flex=void 0,c.current.style.width="".concat(e,"px"),c.current.style.minWidth="".concat(e,"px"),c.current.style.maxWidth="".concat(e,"px"),d.current.forEach((function(t){var n=t;n.style.width="".concat(e,"px"),n.style.minWidth="".concat(e,"px"),n.style.maxWidth="".concat(e,"px")}))},A=En((function(t){O(),e.current.updateColumn(s.current),clearTimeout(f.current),f.current=setTimeout((function(){var n;e.current.publishEvent(me.columnResizeStop,null,t),e.current.publishEvent(me.columnWidthChange,{element:c.current,colDef:s.current,api:e,width:null===(n=s.current)||void 0===n?void 0:n.computedWidth},t)})),n.debug("Updating col ".concat(s.current.field," with new width: ").concat(s.current.width))})),m=En((function(t){var n;if(0!==t.buttons){var r=p.current+t.clientX-c.current.getBoundingClientRect().left;r=Math.max(null===(n=s.current)||void 0===n?void 0:n.minWidth,r),b(r),e.current.publishEvent(me.columnResize,{element:c.current,colDef:s.current,api:e,width:r},t)}else A(t)})),g=En((function(t,r){var o,i=t.colDef;if(0===r.button&&r.currentTarget.classList.contains("MuiDataGrid-columnSeparator--resizable")){r.preventDefault(),c.current=pi(r.currentTarget,"MuiDataGrid-columnHeader"),n.debug("Start Resize on col ".concat(i.field)),e.current.publishEvent(me.columnResizeStart,{field:i.field},r),s.current=i,c.current=null===(o=e.current.columnHeadersElementRef)||void 0===o?void 0:o.current.querySelector('[data-field="'.concat(i.field,'"]')),d.current=hi(c.current);var a=(0,J.Z)(e.current.rootElementRef.current);a.body.style.cursor="col-resize",p.current=s.current.computedWidth-(r.clientX-c.current.getBoundingClientRect().left),a.addEventListener("mousemove",m),a.addEventListener("mouseup",A)}})),v=En((function(t){ns(t,h.current)&&(O(),e.current.updateColumn(s.current),clearTimeout(f.current),f.current=setTimeout((function(){e.current.publishEvent(me.columnResizeStop,null,t)})),n.debug("Updating col ".concat(s.current.field," with new width: ").concat(s.current.width)))})),y=En((function(t){var n,r=ns(t,h.current);if(r)if("mousemove"!==t.type||0!==t.buttons){var o=p.current+r.x-c.current.getBoundingClientRect().left;o=Math.max(null===(n=s.current)||void 0===n?void 0:n.minWidth,o),b(o),e.current.publishEvent(me.columnResize,{element:c.current,colDef:s.current,api:e,width:o},t)}else v(t)})),M=En((function(t){var r;if(pi(t.target,"MuiDataGrid-columnSeparator--resizable")){ts()||t.preventDefault();var o=t.changedTouches[0];null!=o&&(h.current=o.identifier),c.current=pi(t.target,"MuiDataGrid-columnHeader");var i=c.current.getAttribute("data-field"),a=e.current.getColumn(i);n.debug("Start Resize on col ".concat(a.field)),e.current.publishEvent(me.columnResizeStart,{field:i},t),s.current=a,c.current=function(e,t){return e.querySelector('[data-field="'.concat(t,'"]'))}(null===(r=e.current.columnHeadersElementRef)||void 0===r?void 0:r.current,a.field),d.current=hi(c.current),p.current=s.current.computedWidth-(o.clientX-c.current.getBoundingClientRect().left);var l=(0,J.Z)(t.currentTarget);l.addEventListener("touchmove",y),l.addEventListener("touchend",v)}})),O=u.useCallback((function(){var t=(0,J.Z)(e.current.rootElementRef.current);t.body.style.removeProperty("cursor"),t.removeEventListener("mousemove",m),t.removeEventListener("mouseup",A),t.removeEventListener("touchmove",y),t.removeEventListener("touchend",v)}),[e,m,A,y,v]),_=u.useCallback((function(e){var t=e.field;i((function(e){return Object.assign(Object.assign({},e),{columnResize:Object.assign(Object.assign({},e.columnResize),{resizingColumnField:t})})})),a()}),[i,a]),z=u.useCallback((function(){i((function(e){return Object.assign(Object.assign({},e),{columnResize:Object.assign(Object.assign({},e.columnResize),{resizingColumnField:""})})})),a()}),[i,a]);u.useEffect((function(){return function(){clearTimeout(f.current),O()}}),[e,M,O]),Fa(e,(function(){var t,n;return null===(n=null===(t=e.current)||void 0===t?void 0:t.columnHeadersElementRef)||void 0===n?void 0:n.current}),"touchstart",M,{passive:ts()}),pr(e,me.columnSeparatorMouseDown,g),pr(e,me.columnResizeStart,_),pr(e,me.columnResizeStop,z),hr(e,me.columnResize,t.onColumnResize),hr(e,me.columnWidthChange,t.onColumnWidthChange)}(e,t),function(e,t){var n=Xn("useGridPageSize"),r=ar(e),o=(0,l.Z)(r,3),i=o[1],a=o[2],s=sr(e,Nr),c=sr(e,Ni),d=u.useCallback((function(e){n.debug("Setting page size to ".concat(e)),i((function(t){return Object.assign(Object.assign({},t),{pagination:Object.assign(Object.assign({},t.pagination),{pageSize:e})})})),a()}),[i,a,n]);u.useEffect((function(){e.current.updateControlState({stateId:"pageSize",propModel:t.pageSize,propOnChange:t.onPageSizeChange,stateSelector:function(e){return e.pagination.pageSize},changeEvent:me.pageSizeChange})}),[e,t.pageSize,t.onPageSizeChange]),u.useEffect((function(){var n=null==c?void 0:c.viewportPageSize,r=e.current.state.pagination.pageSize,o=r;null!=t.pageSize?o=t.pageSize:t.autoPageSize&&(o=null!=n?n:0),o!==r&&(t.autoPageSize&&e.current.publishEvent(me.pageSizeChange,n),i((function(e){return Object.assign(Object.assign({},e),{pagination:Object.assign(Object.assign({},e.pagination),{pageSize:o})})})),a())}),[e,i,a,s,t.autoPageSize,t.pageSize,null==c?void 0:c.viewportPageSize]),Qn(e,{setPageSize:d},"GridPageSizeApi")}(e,t),function(e,t){var n=Xn("useGridPage"),r=ar(e),o=(0,l.Z)(r,3),i=o[1],a=o[2],s=sr(e,Nr),c=u.useCallback((function(e){n.debug("Setting page to ".concat(e)),i((function(t){return Object.assign(Object.assign({},t),{pagination:Va(Object.assign(Object.assign({},t.pagination),{page:e}))})})),a()}),[i,a,n]);u.useEffect((function(){e.current.updateControlState({stateId:"page",propModel:t.page,propOnChange:t.onPageChange,stateSelector:function(e){return e.pagination.page},changeEvent:me.pageChange})}),[e,t.page,t.onPageChange]),u.useEffect((function(){i((function(e){var n=void 0!==t.rowCount?t.rowCount:s,r=$a(n,e.pagination.pageSize),o=null==t.page?e.pagination.page:t.page;return Object.assign(Object.assign({},e),{pagination:Va(Object.assign(Object.assign({},e.pagination),{page:o,rowCount:n,pageCount:r}))})})),a()}),[i,a,s,t.rowCount,t.page,e]);var d=u.useCallback((function(e){i((function(t){var n=$a(t.pagination.rowCount,e);return Object.assign(Object.assign({},t),{pagination:Va(Object.assign(Object.assign({},t.pagination),{pageCount:n,page:t.pagination.page}))})})),a()}),[i,a]);pr(e,me.pageSizeChange,d),Qn(e,{setPage:c},"GridPageApi")}(e,t),function(e){var t=Xn("useGridCsvExport"),n=sr(e,qe),r=sr(e,Re),o=sr(e,Er),i=sr(e,Ao),a=u.useCallback((function(a){var s;return t.debug("Get data as CSV"),s=(null==a?void 0:a.fields)?a.fields.map((function(e){return r.find((function(t){return t.field===e}))})).filter((function(e){return!!e})):((null==a?void 0:a.allColumns)?r:n).filter((function(e){return!e.disableExport})),ps({columns:s,rows:o,selectedRowIds:i,getCellParams:e.current.getCellParams,delimiterCharacter:(null==a?void 0:a.delimiter)||","})}),[t,n,r,o,i,e]),s=u.useCallback((function(e){t.debug("Export data as CSV");var n=a(e);!function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"csv",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document.title,r="".concat(n,".").concat(t);if("download"in HTMLAnchorElement.prototype){var o=URL.createObjectURL(e),i=document.createElement("a");return i.href=o,i.download=r,i.click(),void setTimeout((function(){URL.revokeObjectURL(o)}))}throw new Error("exportAs not supported")}(new Blob([(null==e?void 0:e.utf8WithBom)?new Uint8Array([239,187,191]):"",n],{type:"text/csv"}),"csv",null==e?void 0:e.fileName)}),[t,a]);Qn(e,{getDataAsCsv:a,exportDataAsCsv:s},"GridCsvExportApi")}(e),function(e,t){var n=sr(e,Ni),r=sr(e,qe),o=u.useRef(!1),i=sr(e,lr),a=u.useRef(null),s=u.useCallback((function(i){if(n){var a=i.top+n.windowSizes.height+t.scrollEndThreshold;if(a<n.dataContainerSizes.height&&(o.current=!1),a>=n.dataContainerSizes.height&&!o.current){var s={api:e,visibleColumns:r,viewportPageSize:n.viewportPageSize,virtualRowsCount:n.virtualRowsCount};e.current.publishEvent(me.rowsScrollEnd,s),o.current=!0}}}),[e,t.scrollEndThreshold,r,n]),l=u.useCallback((function(){var t=e.current.getScrollPosition();s(t)}),[e,s]);u.useEffect((function(){var t=i.renderContext;if(t){if(!a.current||t.firstRowIdx!==a.current.firstRowIndex||t.lastRowIdx!==a.current.lastRowIndex){var n={firstRowIndex:t.firstRowIdx,lastRowIndex:t.lastRowIdx};e.current.publishEvent(me.viewportRowsChange,n)}a.current={firstRowIndex:t.firstRowIdx,lastRowIndex:t.lastRowIdx}}}),[e,t.onViewportRowsChange,i]),pr(e,me.rowsScroll,l),hr(e,me.rowsScrollEnd,t.onRowsScrollEnd),hr(e,me.viewportRowsChange,t.onViewportRowsChange)}(e,t),function(e){var t=sr(e,qe),n=u.useCallback((function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=e.current.getSelectedRows(),o=t.filter((function(e){return e.field!==Yo.field}));if(0!==r.size&&0!==o.length){var i=ps({columns:t,rows:r,selectedRowIds:[],includeHeaders:n,getCellParams:e.current.getCellParams,delimiterCharacter:"\t"});navigator.clipboard?navigator.clipboard.writeText(i).catch((function(){fs(i)})):fs(i)}}),[e,t]),r=u.useCallback((function(t){var n,r=t.ctrlKey||t.metaKey||t.altKey;"c"===t.key.toLowerCase()&&r&&""===(null===(n=window.getSelection())||void 0===n?void 0:n.toString())&&e.current.copySelectedRowsToClipboard(t.altKey)}),[e]);Fa(e,e.current.rootElementRef,"keydown",r),Qn(e,{copySelectedRowsToClipboard:n},"GridClipboardApi")}(e),function(e,t){var n=u.useMemo((function(){var e,n;return{BooleanCellTrueIcon:t.components&&t.components.BooleanCellTrueIcon||as.BooleanCellTrueIcon,BooleanCellFalseIcon:t.components&&t.components.BooleanCellFalseIcon||as.BooleanCellFalseIcon,ColumnFilteredIcon:t.components&&t.components.ColumnFilteredIcon||as.ColumnFilteredIcon,ColumnMenuIcon:t.components&&t.components.ColumnMenuIcon||as.ColumnMenuIcon,ColumnResizeIcon:t.components&&t.components.ColumnResizeIcon||as.ColumnResizeIcon,ColumnSelectorIcon:t.components&&t.components.ColumnSelectorIcon||as.ColumnSelectorIcon,ColumnUnsortedIcon:void 0===(null===(e=t.components)||void 0===e?void 0:e.ColumnUnsortedIcon)?as.ColumnUnsortedIcon:null===(n=t.components)||void 0===n?void 0:n.ColumnUnsortedIcon,ColumnSortedAscendingIcon:t.components&&t.components.ColumnSortedAscendingIcon||as.ColumnSortedAscendingIcon,ColumnSortedDescendingIcon:t.components&&t.components.ColumnSortedDescendingIcon||as.ColumnSortedDescendingIcon,DensityComfortableIcon:t.components&&t.components.DensityComfortableIcon||as.DensityComfortableIcon,DensityCompactIcon:t.components&&t.components.DensityCompactIcon||as.DensityCompactIcon,DensityStandardIcon:t.components&&t.components.DensityStandardIcon||as.DensityStandardIcon,ExportIcon:t.components&&t.components.ExportIcon||as.ExportIcon,OpenFilterButtonIcon:t.components&&t.components.OpenFilterButtonIcon||as.OpenFilterButtonIcon,Checkbox:t.components&&t.components.Checkbox||as.Checkbox,ColumnMenu:t.components&&t.components.ColumnMenu||as.ColumnMenu,ErrorOverlay:t.components&&t.components.ErrorOverlay||as.ErrorOverlay,Footer:t.components&&t.components.Footer||as.Footer,Header:t.components&&t.components.Header||as.Header,Toolbar:t.components&&t.components.Toolbar,PreferencesPanel:t.components&&t.components.PreferencesPanel||as.PreferencesPanel,LoadingOverlay:t.components&&t.components.LoadingOverlay||as.LoadingOverlay,NoResultsOverlay:t.components&&t.components.NoResultsOverlay||as.NoResultsOverlay,NoRowsOverlay:t.components&&t.components.NoRowsOverlay||as.NoRowsOverlay,Pagination:t.components&&t.components.Pagination||as.Pagination,FilterPanel:t.components&&t.components.FilterPanel||as.FilterPanel,ColumnsPanel:t.components&&t.components.ColumnsPanel||as.ColumnsPanel,Panel:t.components&&t.components.Panel||as.Panel}}),[t.components]);e.current.components=n,e.current.componentsProps=t.componentsProps}(e,t),function(e,t){var n=t.state,r=ar(e),o=(0,l.Z)(r,3),i=o[1],a=o[2],s=Xn("useStateProp");u.useEffect((function(){null!=n&&e.current.state!==n&&(s.debug("Overriding state with props.state"),i((function(e){return Object.assign(Object.assign({},e),n)})),a())}),[e,a,s,n,i])}(e,t),function(e){var t=ar(e),n=(0,l.Z)(t,1)[0],r=Xn("useRenderInfoLog");if(null!=n.rendering.renderContext){var o=n.rendering.renderContext,i=o.page,a=o.firstColIdx,s=o.lastColIdx,c=o.firstRowIdx,u=o.lastRowIdx;r.info("Rendering, page: ".concat(i,", col: ").concat(a,"-").concat(s,", row: ").concat(c,"-").concat(u))}}(e)},As={apiRef:void 0,disableColumnResize:!0,disableColumnReorder:!0,disableMultipleColumnsFiltering:!0,disableMultipleColumnsSorting:!0,disableMultipleSelection:!0,pagination:!0,onRowsScrollEnd:void 0,onViewportRowsChange:void 0,checkboxSelectionVisibleOnly:!1,signature:"DataGrid"},ms=u.forwardRef((function(e,t){var n=function(e){if(e.pageSize>100)throw new Error("'props.pageSize' cannot exceed 100 in DataGrid.");var t=function(e){var t=e.props,n=e.name,r=(0,T.Z)();return u.useMemo((function(){var e=Object.assign({},t),o=(0,ne.Z)({theme:r,name:n,props:e}),i=o.theme||r,a="rtl"===i.direction;return Object.assign({theme:i,isRtl:a},o)}),[t,n,r])}({props:e,name:"MuiDataGrid"});return u.useMemo((function(){return Object.assign(Object.assign({},t),As)}),[t])}(e),r=function(){var e=arguments.length<=0?void 0:arguments[0],t=u.useRef(new Ja);return u.useImperativeHandle(e,(function(){return t.current}),[t]),t}();return bs(r,n),u.createElement(us,{apiRef:r,props:n},u.createElement(oa,{ref:t},u.createElement(ea,null,u.createElement(na,null),u.createElement(Ki,null),u.createElement(ta,null))))}));ms.defaultProps=tr;var gs=u.memo(ms);gs.propTypes=cs},18574:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement(i.Fragment,null,i.createElement("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),i.createElement("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"})),"AccessTime");t.Z=a},22857:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM7.07 18.28c.43-.9 3.05-1.78 4.93-1.78s4.51.88 4.93 1.78C15.57 19.36 13.86 20 12 20s-3.57-.64-4.93-1.72zm11.29-1.45c-1.43-1.74-4.9-2.33-6.36-2.33s-4.93.59-6.36 2.33C4.62 15.49 4 13.82 4 12c0-4.41 3.59-8 8-8s8 3.59 8 8c0 1.82-.62 3.49-1.64 4.83zM12 6c-1.94 0-3.5 1.56-3.5 3.5S10.06 13 12 13s3.5-1.56 3.5-3.5S13.94 6 12 6zm0 5c-.83 0-1.5-.67-1.5-1.5S11.17 8 12 8s1.5.67 1.5 1.5S12.83 11 12 11z"}),"AccountCircleOutlined");t.Z=a},9930:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add");t.Z=a},56038:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11h-4v4h-2v-4H7v-2h4V7h2v4h4v2z"}),"AddCircle");t.Z=a},32804:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"}),"AddCircleOutline");t.Z=a},71693:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M17 11V3H7v4H3v14h8v-4h2v4h8V11h-4zM7 19H5v-2h2v2zm0-4H5v-2h2v2zm0-4H5V9h2v2zm4 4H9v-2h2v2zm0-4H9V9h2v2zm0-4H9V5h2v2zm4 8h-2v-2h2v2zm0-4h-2V9h2v2zm0-4h-2V5h2v2zm4 12h-2v-2h2v2zm0-4h-2v-2h2v2z"}),"Apartment");t.Z=a},24983:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M20.54 5.23l-1.39-1.68C18.88 3.21 18.47 3 18 3H6c-.47 0-.88.21-1.16.55L3.46 5.23C3.17 5.57 3 6.02 3 6.5V19c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6.5c0-.48-.17-.93-.46-1.27zM12 17.5L6.5 12H10v-2h4v2h3.5L12 17.5zM5.12 5l.81-1h12l.94 1H5.12z"}),"Archive");t.Z=a},99747:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M11.67 3.87L9.9 2.1 0 12l9.9 9.9 1.77-1.77L3.54 12z"}),"ArrowBackIos");t.Z=a},69297:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward");t.Z=a},14539:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M5.88 4.12L13.76 12l-7.88 7.88L8 22l10-10L8 2z"}),"ArrowForwardIos");t.Z=a},74920:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm2 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z"}),"Assignment");t.Z=a},52469:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M11 17c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1zm0-14v4h2V5.08c3.39.49 6 3.39 6 6.92 0 3.87-3.13 7-7 7s-7-3.13-7-7c0-1.68.59-3.22 1.58-4.42L12 13l1.41-1.41-6.8-6.8v.02C4.42 6.45 3 9.05 3 12c0 4.97 4.02 9 9 9 4.97 0 9-4.03 9-9s-4.03-9-9-9h-1zm7 9c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1zM6 12c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1z"}),"AvTimer");t.Z=a},35862:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM4 12c0-4.42 3.58-8 8-8 1.85 0 3.55.63 4.9 1.69L5.69 16.9C4.63 15.55 4 13.85 4 12zm8 8c-1.85 0-3.55-.63-4.9-1.69L18.31 7.1C19.37 8.45 20 10.15 20 12c0 4.42-3.58 8-8 8z"}),"Block");t.Z=a},43746:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M19 8l-4 4h3c0 3.31-2.69 6-6 6-1.01 0-1.97-.25-2.8-.7l-1.46 1.46C8.97 19.54 10.43 20 12 20c4.42 0 8-3.58 8-8h3l-4-4zM6 12c0-3.31 2.69-6 6-6 1.01 0 1.97.25 2.8.7l1.46-1.46C15.03 4.46 13.57 4 12 4c-4.42 0-8 3.58-8 8H1l4 4 4-4H6z"}),"Cached");t.Z=a},5690:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 18H4V8h16v13z"}),"CalendarToday");t.Z=a},5607:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5z"}),"CallMade");t.Z=a},3847:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");t.Z=a},63630:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox");t.Z=a},78611:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank");t.Z=a},85888:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckCircle");t.Z=a},90374:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M16.59 7.58L10 14.17l-3.59-3.58L5 12l5 5 8-8zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"CheckCircleOutline");t.Z=a},20971:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm4.59-12.42L10 14.17l-2.59-2.58L6 13l4 4 8-8z"}),"CheckCircleOutlined");t.Z=a},34018:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"ChevronLeft");t.Z=a},69184:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"ChevronRight");t.Z=a},28190:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear");t.Z=a},4058:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");t.Z=a},12441:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z"}),"CloudUpload");t.Z=a},48253:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M10 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h5v2h2V1h-2v2zm0 15H5l5-6v6zm9-15h-5v2h5v13l-5-6v9h5c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"Compare");t.Z=a},69124:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"}),"Delete");t.Z=a},77152:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z"}),"Description");t.Z=a},53350:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}),"Done");t.Z=a},53838:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 00-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"}),"Edit");t.Z=a},75513:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"}),"Email");t.Z=a},75816:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"}),"EmailOutlined");t.Z=a},80590:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline");t.Z=a},20888:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M11 15h2v2h-2v-2zm0-8h2v6h-2V7zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutlineOutlined");t.Z=a},1238:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M10.09 15.59L11.5 17l5-5-5-5-1.41 1.41L12.67 11H3v2h9.67l-2.58 2.59zM19 3H5c-1.11 0-2 .9-2 2v4h2V5h14v14H5v-4H3v4c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"ExitToAppOutlined");t.Z=a},72294:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"}),"ExpandLess");t.Z=a},16108:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");t.Z=a},23252:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2m13 2h-2.5A3.5 3.5 0 0 0 12 8.5V11h-2v3h2v7h3v-7h3v-3h-3V9a1 1 0 0 1 1-1h2V5z"}),"Facebook");t.Z=a},85388:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("circle",{cx:"12",cy:"12",r:"8"}),"FiberManualRecord");t.Z=a},86708:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm-1 4l6 6v10c0 1.1-.9 2-2 2H7.99C6.89 23 6 22.1 6 21l.01-14c0-1.1.89-2 1.99-2h7zm-1 7h5.5L14 6.5V12z"}),"FileCopy");t.Z=a},80307:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement(i.Fragment,null,i.createElement("path",{d:"M15 11V4H4v8.17L5.17 11H6z",opacity:".3"}),i.createElement("path",{d:"M16 13c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14l4-4h10zm-12-.83V4h11v7H5.17L4 12.17zM22 7c0-.55-.45-1-1-1h-2v9H6v2c0 .55.45 1 1 1h11l4 4V7z"})),"ForumTwoTone");t.Z=a},58318:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M14.59 8L12 10.59 9.41 8 8 9.41 10.59 12 8 14.59 9.41 16 12 13.41 14.59 16 16 14.59 13.41 12 16 9.41 14.59 8zM12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"}),"HighlightOff");t.Z=a},85375:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"}),"Info");t.Z=a},25162:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6H6zm7 7V3.5L18.5 9H13z"}),"InsertDriveFile");t.Z=a},43386:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M7.8 2h8.4C19.4 2 22 4.6 22 7.8v8.4a5.8 5.8 0 0 1-5.8 5.8H7.8C4.6 22 2 19.4 2 16.2V7.8A5.8 5.8 0 0 1 7.8 2m-.2 2A3.6 3.6 0 0 0 4 7.6v8.8C4 18.39 5.61 20 7.6 20h8.8a3.6 3.6 0 0 0 3.6-3.6V7.6C20 5.61 18.39 4 16.4 4H7.6m9.65 1.5a1.25 1.25 0 0 1 1.25 1.25A1.25 1.25 0 0 1 17.25 8 1.25 1.25 0 0 1 16 6.75a1.25 1.25 0 0 1 1.25-1.25M12 7a5 5 0 0 1 5 5 5 5 0 0 1-5 5 5 5 0 0 1-5-5 5 5 0 0 1 5-5m0 2a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3z"}),"Instagram");t.Z=a},20392:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z"}),"KeyboardArrowUp");t.Z=a},32015:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M21 11H6.83l3.58-3.59L9 6l-6 6 6 6 1.41-1.41L6.83 13H21z"}),"KeyboardBackspace");t.Z=a},75269:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M19.5 9.5c-1.03 0-1.9.62-2.29 1.5h-2.92c-.39-.88-1.26-1.5-2.29-1.5s-1.9.62-2.29 1.5H6.79c-.39-.88-1.26-1.5-2.29-1.5C3.12 9.5 2 10.62 2 12s1.12 2.5 2.5 2.5c1.03 0 1.9-.62 2.29-1.5h2.92c.39.88 1.26 1.5 2.29 1.5s1.9-.62 2.29-1.5h2.92c.39.88 1.26 1.5 2.29 1.5 1.38 0 2.5-1.12 2.5-2.5s-1.12-2.5-2.5-2.5z"}),"LinearScale");t.Z=a},76123:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"}),"Link");t.Z=a},29060:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M19 5v14H5V5h14m1.1-2H3.9c-.5 0-.9.4-.9.9v16.2c0 .4.4.9.9.9h16.2c.4 0 .9-.5.9-.9V3.9c0-.5-.5-.9-.9-.9zM11 7h6v2h-6V7zm0 4h6v2h-6v-2zm0 4h6v2h-6zM7 7h2v2H7zm0 4h2v2H7zm0 4h2v2H7z"}),"ListAlt");t.Z=a},73481:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"}),"Menu");t.Z=a},83630:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreVert");t.Z=a},59484:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"}),"Payment");t.Z=a},18018:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");t.Z=a},98282:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M15.5 1h-8C6.12 1 5 2.12 5 3.5v17C5 21.88 6.12 23 7.5 23h8c1.38 0 2.5-1.12 2.5-2.5v-17C18 2.12 16.88 1 15.5 1zm-4 21c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm4.5-4H7V4h9v14z"}),"PhoneIphoneOutlined");t.Z=a},17468:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-8.5 7.5c0 .83-.67 1.5-1.5 1.5H9v2H7.5V7H10c.83 0 1.5.67 1.5 1.5v1zm5 2c0 .83-.67 1.5-1.5 1.5h-2.5V7H15c.83 0 1.5.67 1.5 1.5v3zm4-3H19v1h1.5V11H19v2h-1.5V7h3v1.5zM9 9.5h1v-1H9v1zM4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm10 5.5h1v-3h-1v3z"}),"PictureAsPdf");t.Z=a},23308:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M19 8H5c-1.66 0-3 1.34-3 3v6h4v4h12v-4h4v-6c0-1.66-1.34-3-3-3zm-3 11H8v-5h8v5zm3-7c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm-1-9H6v4h12V3z"}),"Print");t.Z=a},80154:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonChecked");t.Z=a},77083:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked");t.Z=a},78689:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUncheckedOutlined");t.Z=a},29278:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M18 17H6v-2h12v2zm0-4H6v-2h12v2zm0-4H6V7h12v2zM3 22l1.5-1.5L6 22l1.5-1.5L9 22l1.5-1.5L12 22l1.5-1.5L15 22l1.5-1.5L18 22l1.5-1.5L21 22V2l-1.5 1.5L18 2l-1.5 1.5L15 2l-1.5 1.5L12 2l-1.5 1.5L9 2 7.5 3.5 6 2 4.5 3.5 3 2v20z"}),"Receipt");t.Z=a},37745:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M21 5v14h2V5h-2zm-4 14h2V5h-2v14zM14 5H2c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zM8 7.75c1.24 0 2.25 1.01 2.25 2.25S9.24 12.25 8 12.25 5.75 11.24 5.75 10 6.76 7.75 8 7.75zM12.5 17h-9v-.75c0-1.5 3-2.25 4.5-2.25s4.5.75 4.5 2.25V17z"}),"RecentActors");t.Z=a},39402:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M19 13H5v-2h14v2z"}),"Remove");t.Z=a},84058:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M15.73 3H8.27L3 8.27v7.46L8.27 21h7.46L21 15.73V8.27L15.73 3zM12 17.3c-.72 0-1.3-.58-1.3-1.3 0-.72.58-1.3 1.3-1.3.72 0 1.3.58 1.3 1.3 0 .72-.58 1.3-1.3 1.3zm1-4.3h-2V7h2v6z"}),"Report");t.Z=a},66772:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7l-4-4zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3zm3-10H5V5h10v4z"}),"Save");t.Z=a},18550:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),"Search");t.Z=a},16286:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M2.01 21L23 12 2.01 3 2 10l15 2-15 2z"}),"Send");t.Z=a},37341:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z"}),"Settings");t.Z=a},98690:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"}),"VisibilityOff");t.Z=a},29708:function(e,t,n){"use strict";var r=n(64836),o=n(75263);t.Z=void 0;var i=o(n(47313)),a=(0,r(n(52293)).default)(i.createElement(i.Fragment,null,i.createElement("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),i.createElement("path",{d:"M12 10h-2v2H9v-2H7V9h2V7h1v2h2v1z"})),"ZoomIn");t.Z=a},52293:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=n(84063)},93324:function(e,t,n){"use strict";n.d(t,{NU:function(){return p},ZP:function(){return f}});var r,o=n(87462),i=n(45987),a=n(47313),s=n(85383),l=n(60792),c=n(35698),u=(0,l.Ue)((0,c.Z)()),d={disableGeneration:!1,generateClassName:(0,s.Z)(),jss:u,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},p=a.createContext(d);function f(e){var t=e.children,n=e.injectFirst,s=void 0!==n&&n,u=e.disableGeneration,d=void 0!==u&&u,f=(0,i.Z)(e,["children","injectFirst","disableGeneration"]),h=a.useContext(p),b=(0,o.Z)({},h,{disableGeneration:d},f);if(!b.jss.options.insertionPoint&&s&&"undefined"!==typeof window){if(!r){var A=document.head;r=document.createComment("mui-inject-first"),A.insertBefore(r,A.firstChild)}b.jss=(0,l.Ue)({plugins:(0,c.Z)().plugins,insertionPoint:r})}return a.createElement(p.Provider,{value:b},t)}},27010:function(e,t,n){"use strict";var r=n(87462),o=n(47313),i=n(53203),a=n(37420),s=n(61994);t.Z=function(e){var t=e.children,n=e.theme,l=(0,a.Z)(),c=o.useMemo((function(){var e=null===l?n:function(e,t){return"function"===typeof t?t(e):(0,r.Z)({},e,t)}(l,n);return null!=e&&(e[s.Z]=null!==l),e}),[n,l]);return o.createElement(i.Z.Provider,{value:c},t)}},61994:function(e,t){"use strict";var n="function"===typeof Symbol&&Symbol.for;t.Z=n?Symbol.for("mui.nested"):"__THEME_NESTED__"},85383:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(61994),o=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.disableGlobal,n=void 0!==t&&t,i=e.productionPrefix,a=void 0===i?"jss":i,s=e.seed,l=void 0===s?"":s,c=""===l?"":"".concat(l,"-"),u=0,d=function(){return u+=1};return function(e,t){var i=t.options.name;if(i&&0===i.indexOf("Mui")&&!t.options.link&&!n){if(-1!==o.indexOf(e.key))return"Mui-".concat(e.key);var s="".concat(c).concat(i,"-").concat(e.key);return t.options.theme[r.Z]&&""===l?"".concat(s,"-").concat(d()):s}return"".concat(c).concat(a).concat(d())}}},83621:function(e,t,n){"use strict";function r(e){var t=e.theme,n=e.name,r=e.props;if(!t||!t.props||!t.props[n])return r;var o,i=t.props[n];for(o in i)void 0===r[o]&&(r[o]=i[o]);return r}n.d(t,{Z:function(){return r}})},35698:function(e,t,n){"use strict";n.d(t,{Z:function(){return De}});var r=n(60792),o=Date.now(),i="fnValues"+o,a="fnStyle"+ ++o,s=function(){return{onCreateRule:function(e,t,n){if("function"!==typeof t)return null;var o=(0,r.JH)(e,{},n);return o[a]=t,o},onProcessStyle:function(e,t){if(i in t||a in t)return e;var n={};for(var r in e){var o=e[r];"function"===typeof o&&(delete e[r],n[r]=o)}return t[i]=n,e},onUpdate:function(e,t,n,r){var o=t,s=o[a];s&&(o.style=s(e)||{});var l=o[i];if(l)for(var c in l)o.prop(c,l[c](e),r)}}},l=n(87462),c="@global",u="@global ",d=function(){function e(e,t,n){for(var o in this.type="global",this.at=c,this.isProcessed=!1,this.key=e,this.options=n,this.rules=new r.RB((0,l.Z)({},n,{parent:this})),t)this.rules.add(o,t[o]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.replaceRule=function(e,t,n){var r=this.rules.replace(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(e){return this.rules.toString(e)},e}(),p=function(){function e(e,t,n){this.type="global",this.at=c,this.isProcessed=!1,this.key=e,this.options=n;var r=e.substr(u.length);this.rule=n.jss.createRule(r,t,(0,l.Z)({},n,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),f=/\s*,\s*/g;function h(e,t){for(var n=e.split(f),r="",o=0;o<n.length;o++)r+=t+" "+n[o].trim(),n[o+1]&&(r+=", ");return r}var b=function(){return{onCreateRule:function(e,t,n){if(!e)return null;if(e===c)return new d(e,t,n);if("@"===e[0]&&e.substr(0,u.length)===u)return new p(e,t,n);var r=n.parent;return r&&("global"===r.type||r.options.parent&&"global"===r.options.parent.type)&&(n.scoped=!1),n.selector||!1!==n.scoped||(n.selector=e),null},onProcessRule:function(e,t){"style"===e.type&&t&&(function(e,t){var n=e.options,r=e.style,o=r?r[c]:null;if(o){for(var i in o)t.addRule(i,o[i],(0,l.Z)({},n,{selector:h(i,e.selector)}));delete r[c]}}(e,t),function(e,t){var n=e.options,r=e.style;for(var o in r)if("@"===o[0]&&o.substr(0,c.length)===c){var i=h(o.substr(c.length),e.selector);t.addRule(i,r[o],(0,l.Z)({},n,{selector:i})),delete r[o]}}(e,t))}}},A=/\s*,\s*/g,m=/&/g,g=/\$([\w-]+)/g;var v=function(){function e(e,t){return function(n,r){var o=e.getRule(r)||t&&t.getRule(r);return o?o.selector:r}}function t(e,t){for(var n=t.split(A),r=e.split(A),o="",i=0;i<n.length;i++)for(var a=n[i],s=0;s<r.length;s++){var l=r[s];o&&(o+=", "),o+=-1!==l.indexOf("&")?l.replace(m,a):a+" "+l}return o}function n(e,t,n){if(n)return(0,l.Z)({},n,{index:n.index+1});var r=e.options.nestingLevel;r=void 0===r?1:r+1;var o=(0,l.Z)({},e.options,{nestingLevel:r,index:t.indexOf(e)+1});return delete o.name,o}return{onProcessStyle:function(r,o,i){if("style"!==o.type)return r;var a,s,c=o,u=c.options.parent;for(var d in r){var p=-1!==d.indexOf("&"),f="@"===d[0];if(p||f){if(a=n(c,u,a),p){var h=t(d,c.selector);s||(s=e(u,i)),h=h.replace(g,s);var b=c.key+"-"+d;"replaceRule"in u?u.replaceRule(b,r[d],(0,l.Z)({},a,{selector:h})):u.addRule(b,r[d],(0,l.Z)({},a,{selector:h}))}else f&&u.addRule(d,{},a).addRule(c.key,r[d],{selector:c.selector});delete r[d]}}return r}}},y=/[A-Z]/g,M=/^ms-/,O={};function _(e){return"-"+e.toLowerCase()}var z=function(e){if(O.hasOwnProperty(e))return O[e];var t=e.replace(y,_);return O[e]=M.test(t)?"-"+t:t};function x(e){var t={};for(var n in e){t[0===n.indexOf("--")?n:z(n)]=e[n]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(x):t.fallbacks=x(e.fallbacks)),t}var w=function(){return{onProcessStyle:function(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=x(e[t]);return e}return x(e)},onChangeValue:function(e,t,n){if(0===t.indexOf("--"))return e;var r=z(t);return t===r?e:(n.prop(r,e),null)}}},C=r.HZ&&CSS?CSS.px:"px",S=r.HZ&&CSS?CSS.ms:"ms",E=r.HZ&&CSS?CSS.percent:"%";function k(e){var t=/(-[a-z])/g,n=function(e){return e[1].toUpperCase()},r={};for(var o in e)r[o]=e[o],r[o.replace(t,n)]=e[o];return r}var D=k({"animation-delay":S,"animation-duration":S,"background-position":C,"background-position-x":C,"background-position-y":C,"background-size":C,border:C,"border-bottom":C,"border-bottom-left-radius":C,"border-bottom-right-radius":C,"border-bottom-width":C,"border-left":C,"border-left-width":C,"border-radius":C,"border-right":C,"border-right-width":C,"border-top":C,"border-top-left-radius":C,"border-top-right-radius":C,"border-top-width":C,"border-width":C,"border-block":C,"border-block-end":C,"border-block-end-width":C,"border-block-start":C,"border-block-start-width":C,"border-block-width":C,"border-inline":C,"border-inline-end":C,"border-inline-end-width":C,"border-inline-start":C,"border-inline-start-width":C,"border-inline-width":C,"border-start-start-radius":C,"border-start-end-radius":C,"border-end-start-radius":C,"border-end-end-radius":C,margin:C,"margin-bottom":C,"margin-left":C,"margin-right":C,"margin-top":C,"margin-block":C,"margin-block-end":C,"margin-block-start":C,"margin-inline":C,"margin-inline-end":C,"margin-inline-start":C,padding:C,"padding-bottom":C,"padding-left":C,"padding-right":C,"padding-top":C,"padding-block":C,"padding-block-end":C,"padding-block-start":C,"padding-inline":C,"padding-inline-end":C,"padding-inline-start":C,"mask-position-x":C,"mask-position-y":C,"mask-size":C,height:C,width:C,"min-height":C,"max-height":C,"min-width":C,"max-width":C,bottom:C,left:C,top:C,right:C,inset:C,"inset-block":C,"inset-block-end":C,"inset-block-start":C,"inset-inline":C,"inset-inline-end":C,"inset-inline-start":C,"box-shadow":C,"text-shadow":C,"column-gap":C,"column-rule":C,"column-rule-width":C,"column-width":C,"font-size":C,"font-size-delta":C,"letter-spacing":C,"text-decoration-thickness":C,"text-indent":C,"text-stroke":C,"text-stroke-width":C,"word-spacing":C,motion:C,"motion-offset":C,outline:C,"outline-offset":C,"outline-width":C,perspective:C,"perspective-origin-x":E,"perspective-origin-y":E,"transform-origin":E,"transform-origin-x":E,"transform-origin-y":E,"transform-origin-z":E,"transition-delay":S,"transition-duration":S,"vertical-align":C,"flex-basis":C,"shape-margin":C,size:C,gap:C,grid:C,"grid-gap":C,"row-gap":C,"grid-row-gap":C,"grid-column-gap":C,"grid-template-rows":C,"grid-template-columns":C,"grid-auto-rows":C,"grid-auto-columns":C,"box-shadow-x":C,"box-shadow-y":C,"box-shadow-blur":C,"box-shadow-spread":C,"font-line-height":C,"text-shadow-x":C,"text-shadow-y":C,"text-shadow-blur":C});function N(e,t,n){if(null==t)return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]=N(e,t[r],n);else if("object"===typeof t)if("fallbacks"===e)for(var o in t)t[o]=N(o,t[o],n);else for(var i in t)t[i]=N(e+"-"+i,t[i],n);else if("number"===typeof t&&!1===isNaN(t)){var a=n[e]||D[e];return!a||0===t&&a===C?t.toString():"function"===typeof a?a(t).toString():""+t+a}return t}var T=function(e){void 0===e&&(e={});var t=k(e);return{onProcessStyle:function(e,n){if("style"!==n.type)return e;for(var r in e)e[r]=N(r,e[r],t);return e},onChangeValue:function(e,n){return N(n,e,t)}}},j=n(31728),B=n(93433),L="",R="",q="",P="",I=j.Z&&"ontouchstart"in document.documentElement;if(j.Z){var W={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},F=document.createElement("p").style;for(var U in W)if(U+"Transform"in F){L=U,R=W[U];break}"Webkit"===L&&"msHyphens"in F&&(L="ms",R=W.ms,P="edge"),"Webkit"===L&&"-apple-trailing-word"in F&&(q="apple")}var Z={js:L,css:R,vendor:q,browser:P,isTouch:I};var H={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===Z.js?"-webkit-"+e:Z.css+e)}},$={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===Z.js?Z.css+"print-"+e:e)}},V=/[-\s]+(.)?/g;function X(e,t){return t?t.toUpperCase():""}function Q(e){return e.replace(V,X)}function Y(e){return Q("-"+e)}var G,K={noPrefill:["mask"],supportedProperty:function(e,t){if(!/^mask/.test(e))return!1;if("Webkit"===Z.js){var n="mask-image";if(Q(n)in t)return e;if(Z.js+Y(n)in t)return Z.css+e}return e}},J={noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==Z.vendor||Z.isTouch?e:Z.css+e)}},ee={noPrefill:["transform"],supportedProperty:function(e,t,n){return"transform"===e&&(n.transform?e:Z.css+e)}},te={noPrefill:["transition"],supportedProperty:function(e,t,n){return"transition"===e&&(n.transition?e:Z.css+e)}},ne={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===Z.js||"ms"===Z.js&&"edge"!==Z.browser?Z.css+e:e)}},re={noPrefill:["user-select"],supportedProperty:function(e){return"user-select"===e&&("Moz"===Z.js||"ms"===Z.js||"apple"===Z.vendor?Z.css+e:e)}},oe={supportedProperty:function(e,t){return!!/^break-/.test(e)&&("Webkit"===Z.js?"WebkitColumn"+Y(e)in t&&Z.css+"column-"+e:"Moz"===Z.js&&("page"+Y(e)in t&&"page-"+e))}},ie={supportedProperty:function(e,t){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===Z.js)return e;var n=e.replace("-inline","");return Z.js+Y(n)in t&&Z.css+n}},ae={supportedProperty:function(e,t){return Q(e)in t&&e}},se={supportedProperty:function(e,t){var n=Y(e);return"-"===e[0]||"-"===e[0]&&"-"===e[1]?e:Z.js+n in t?Z.css+e:"Webkit"!==Z.js&&"Webkit"+n in t&&"-webkit-"+e}},le={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===Z.js?""+Z.css+e:e)}},ce={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===Z.js?Z.css+"scroll-chaining":e)}},ue={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},de={supportedProperty:function(e,t){var n=ue[e];return!!n&&(Z.js+Y(n)in t&&Z.css+n)}},pe={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},fe=Object.keys(pe),he=function(e){return Z.css+e},be={supportedProperty:function(e,t,n){var r=n.multiple;if(fe.indexOf(e)>-1){var o=pe[e];if(!Array.isArray(o))return Z.js+Y(o)in t&&Z.css+o;if(!r)return!1;for(var i=0;i<o.length;i++)if(!(Z.js+Y(o[0])in t))return!1;return o.map(he)}return!1}},Ae=[H,$,K,J,ee,te,ne,re,oe,ie,ae,se,le,ce,de,be],me=Ae.filter((function(e){return e.supportedProperty})).map((function(e){return e.supportedProperty})),ge=Ae.filter((function(e){return e.noPrefill})).reduce((function(e,t){return e.push.apply(e,(0,B.Z)(t.noPrefill)),e}),[]),ve={};if(j.Z){G=document.createElement("p");var ye=window.getComputedStyle(document.documentElement,"");for(var Me in ye)isNaN(Me)||(ve[ye[Me]]=ye[Me]);ge.forEach((function(e){return delete ve[e]}))}function Oe(e,t){if(void 0===t&&(t={}),!G)return e;if(null!=ve[e])return ve[e];"transition"!==e&&"transform"!==e||(t[e]=e in G.style);for(var n=0;n<me.length&&(ve[e]=me[n](e,G.style,t),!ve[e]);n++);try{G.style[e]=""}catch(r){return!1}return ve[e]}var _e,ze={},xe={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},we=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function Ce(e,t,n){if("var"===t)return"var";if("all"===t)return"all";if("all"===n)return", all";var r=t?Oe(t):", "+Oe(n);return r||(t||n)}function Se(e,t){var n=t;if(!_e||"content"===e)return t;if("string"!==typeof n||!isNaN(parseInt(n,10)))return n;var r=e+n;if(null!=ze[r])return ze[r];try{_e.style[e]=n}catch(o){return ze[r]=!1,!1}if(xe[e])n=n.replace(we,Ce);else if(""===_e.style[e]&&("-ms-flex"===(n=Z.css+n)&&(_e.style[e]="-ms-flexbox"),_e.style[e]=n,""===_e.style[e]))return ze[r]=!1,!1;return _e.style[e]="",ze[r]=n,ze[r]}j.Z&&(_e=document.createElement("p"));var Ee=function(){function e(t){for(var n in t){var o=t[n];if("fallbacks"===n&&Array.isArray(o))t[n]=o.map(e);else{var i=!1,a=Oe(n);a&&a!==n&&(i=!0);var s=!1,l=Se(a,(0,r.EK)(o));l&&l!==o&&(s=!0),(i||s)&&(i&&delete t[n],t[a||n]=l||o)}}return t}return{onProcessRule:function(e){if("keyframes"===e.type){var t=e;t.at=function(e){return"-"===e[1]||"ms"===Z.js?e:"@"+Z.css+"keyframes"+e.substr(10)}(t.at)}},onProcessStyle:function(t,n){return"style"!==n.type?t:e(t)},onChangeValue:function(e,t){return Se(t,(0,r.EK)(e))||e}}};var ke=function(){var e=function(e,t){return e.length===t.length?e>t?1:-1:e.length-t.length};return{onProcessStyle:function(t,n){if("style"!==n.type)return t;for(var r={},o=Object.keys(t).sort(e),i=0;i<o.length;i++)r[o[i]]=t[o[i]];return r}}};function De(){return{plugins:[s(),b(),v(),w(),T(),"undefined"===typeof window?null:Ee(),ke()]}}},10091:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(45987),o=n(87462),i=n(47313),a=n(60792),s=n(88427),l={set:function(e,t,n,r){var o=e.get(t);o||(o=new Map,e.set(t,o)),o.set(n,r)},get:function(e,t,n){var r=e.get(t);return r?r.get(n):void 0},delete:function(e,t,n){e.get(t).delete(n)}},c=n(37420),u=n(93324),d=-1e9;var p=n(68272);var f={};function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.name,h=t.classNamePrefix,b=t.Component,A=t.defaultTheme,m=void 0===A?f:A,g=(0,r.Z)(t,["name","classNamePrefix","Component","defaultTheme"]),v=function(e){var t="function"===typeof e;return{create:function(n,r){var i;try{i=t?e(n):e}catch(l){throw l}if(!r||!n.overrides||!n.overrides[r])return i;var a=n.overrides[r],s=(0,o.Z)({},i);return Object.keys(a).forEach((function(e){s[e]=(0,p.Z)(s[e],a[e])})),s},options:{}}}(e),y=n||h||"makeStyles";v.options={index:d+=1,name:n,meta:y,classNamePrefix:y};return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,c.Z)()||m,r=(0,o.Z)({},i.useContext(u.NU),g),d=i.useRef(),p=i.useRef();!function(e,t){var n,r=i.useRef([]),o=i.useMemo((function(){return{}}),t);r.current!==o&&(r.current=o,n=e()),i.useEffect((function(){return function(){n&&n()}}),[o])}((function(){var i={name:n,state:{},stylesCreator:v,stylesOptions:r,theme:t};return function(e,t){var n=e.state,r=e.theme,i=e.stylesOptions,c=e.stylesCreator,u=e.name;if(!i.disableGeneration){var d=l.get(i.sheetsManager,c,r);d||(d={refs:0,staticSheet:null,dynamicStyles:null},l.set(i.sheetsManager,c,r,d));var p=(0,o.Z)({},c.options,i,{theme:r,flip:"boolean"===typeof i.flip?i.flip:"rtl"===r.direction});p.generateId=p.serverGenerateClassName||p.generateClassName;var f=i.sheetsRegistry;if(0===d.refs){var h;i.sheetsCache&&(h=l.get(i.sheetsCache,c,r));var b=c.create(r,u);h||((h=i.jss.createStyleSheet(b,(0,o.Z)({link:!1},p))).attach(),i.sheetsCache&&l.set(i.sheetsCache,c,r,h)),f&&f.add(h),d.staticSheet=h,d.dynamicStyles=(0,a._$)(b)}if(d.dynamicStyles){var A=i.jss.createStyleSheet(d.dynamicStyles,(0,o.Z)({link:!0},p));A.update(t),A.attach(),n.dynamicSheet=A,n.classes=(0,s.Z)({baseClasses:d.staticSheet.classes,newClasses:A.classes}),f&&f.add(A)}else n.classes=d.staticSheet.classes;d.refs+=1}}(i,e),p.current=!1,d.current=i,function(){!function(e){var t=e.state,n=e.theme,r=e.stylesOptions,o=e.stylesCreator;if(!r.disableGeneration){var i=l.get(r.sheetsManager,o,n);i.refs-=1;var a=r.sheetsRegistry;0===i.refs&&(l.delete(r.sheetsManager,o,n),r.jss.removeStyleSheet(i.staticSheet),a&&a.remove(i.staticSheet)),t.dynamicSheet&&(r.jss.removeStyleSheet(t.dynamicSheet),a&&a.remove(t.dynamicSheet))}}(i)}}),[t,v]),i.useEffect((function(){p.current&&function(e,t){var n=e.state;n.dynamicSheet&&n.dynamicSheet.update(t)}(d.current,e),p.current=!0}));var f=function(e,t,n){var r=e.state;if(e.stylesOptions.disableGeneration)return t||{};r.cacheClasses||(r.cacheClasses={value:null,lastProp:null,lastJSS:{}});var o=!1;return r.classes!==r.cacheClasses.lastJSS&&(r.cacheClasses.lastJSS=r.classes,o=!0),t!==r.cacheClasses.lastProp&&(r.cacheClasses.lastProp=t,o=!0),o&&(r.cacheClasses.value=(0,s.Z)({baseClasses:r.cacheClasses.lastJSS,newClasses:t,Component:n})),r.cacheClasses.value}(d.current,e.classes,b);return f}}},88427:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(87462);function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseClasses,n=e.newClasses;e.Component;if(!n)return t;var o=(0,r.Z)({},t);return Object.keys(n).forEach((function(e){n[e]&&(o[e]="".concat(t[e]," ").concat(n[e]))})),o}},53203:function(e,t,n){"use strict";var r=n(47313).createContext(null);t.Z=r},37420:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(47313),o=n(53203);function i(){return r.useContext(o.Z)}},30358:function(e,t,n){"use strict";var r=n(87462),o=n(45987),i=n(47313),a=n(67861),s=n.n(a),l=n(10091),c=n(83621),u=n(37420);t.Z=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var a=t.defaultTheme,d=t.withTheme,p=void 0!==d&&d,f=t.name,h=(0,o.Z)(t,["defaultTheme","withTheme","name"]);var b=f,A=(0,l.Z)(e,(0,r.Z)({defaultTheme:a,Component:n,name:f||n.displayName,classNamePrefix:b},h)),m=i.forwardRef((function(e,t){e.classes;var s,l=e.innerRef,d=(0,o.Z)(e,["classes","innerRef"]),h=A((0,r.Z)({},n.defaultProps,e)),b=d;return("string"===typeof f||p)&&(s=(0,u.Z)()||a,f&&(b=(0,c.Z)({theme:s,name:f,props:d})),p&&!b.theme&&(b.theme=s)),i.createElement(n,(0,r.Z)({ref:l||t,classes:h},b))}));return s()(m,n),m}}},32749:function(e,t,n){"use strict";n.d(t,{k:function(){return a}});var r=n(71002),o={xs:0,sm:600,md:960,lg:1280,xl:1920},i={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(o[e],"px)")}};function a(e,t,n){if(Array.isArray(t)){var o=e.theme.breakpoints||i;return t.reduce((function(e,r,i){return e[o.up(o.keys[i])]=n(t[i]),e}),{})}if("object"===(0,r.Z)(t)){var a=e.theme.breakpoints||i;return Object.keys(t).reduce((function(e,r){return e[a.up(r)]=n(t[r]),e}),{})}return n(t)}},47166:function(e,t,n){"use strict";var r=n(68272);t.Z=function(e,t){return t?(0,r.Z)(e,t,{clone:!1}):e}},91349:function(e,t,n){"use strict";n.d(t,{h:function(){return d},Z:function(){return h}});var r=n(29439),o=n(32749),i=n(47166);var a={m:"margin",p:"padding"},s={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},l={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},c=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){if(e.length>2){if(!l[e])return[e];e=l[e]}var t=e.split(""),n=(0,r.Z)(t,2),o=n[0],i=n[1],c=a[o],u=s[i]||"";return Array.isArray(u)?u.map((function(e){return c+e})):[c+u]})),u=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function d(e){var t=e.spacing||8;return"number"===typeof t?function(e){return t*e}:Array.isArray(t)?function(e){return t[e]}:"function"===typeof t?t:function(){}}function p(e,t){return function(n){return e.reduce((function(e,r){return e[r]=function(e,t){if("string"===typeof t||null==t)return t;var n=e(Math.abs(t));return t>=0?n:"number"===typeof n?-n:"-".concat(n)}(t,n),e}),{})}}function f(e){var t=d(e.theme);return Object.keys(e).map((function(n){if(-1===u.indexOf(n))return null;var r=p(c(n),t),i=e[n];return(0,o.k)(e,i,r)})).reduce(i.Z,{})}f.propTypes={},f.filterProps=u;var h=f},68272:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(87462),o=n(71002);function i(e){return e&&"object"===(0,o.Z)(e)&&e.constructor===Object}function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},o=n.clone?(0,r.Z)({},e):e;return i(e)&&i(t)&&Object.keys(t).forEach((function(r){"__proto__"!==r&&(i(t[r])&&r in e?o[r]=a(e[r],t[r],n):o[r]=t[r])})),o}},803:function(e,t,n){"use strict";function r(e){for(var t="https://mui.com/production-error/?code="+e,n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified Material-UI error #"+e+"; visit "+t+" for the full message."}n.d(t,{Z:function(){return r}})},66895:function(e,t,n){"use strict";function r(){return"undefined"!==typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}function o(){return"npm"}n.d(t,{S:function(){return o},n:function(){return r}})},63331:function(e,t,n){"use strict";n.d(t,{KV:function(){return o},l$:function(){return i}});var r=n(66895);function o(){return!(0,r.n)()&&"[object process]"===Object.prototype.toString.call("undefined"!==typeof process?process:0)}function i(e,t){return e.require(t)}e=n.hmd(e)},11048:function(e,t,n){"use strict";n.d(t,{Z1:function(){return d},ph:function(){return u},yW:function(){return c}});var r=n(63331),o=n(10076);e=n.hmd(e);var i=(0,o.Rf)(),a={nowSeconds:function(){return Date.now()/1e3}};var s=(0,r.KV)()?function(){try{return(0,r.l$)(e,"perf_hooks").performance}catch(t){return}}():function(){var e=i.performance;if(e&&e.now)return{now:function(){return e.now()},timeOrigin:Date.now()-e.now()}}(),l=void 0===s?a:{nowSeconds:function(){return(s.timeOrigin+s.now())/1e3}},c=a.nowSeconds.bind(a),u=l.nowSeconds.bind(l),d=function(){var e=i.performance;if(e&&e.now){var t=36e5,n=e.now(),r=Date.now(),o=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,a=o<t,s=e.timing&&e.timing.navigationStart,l="number"===typeof s?Math.abs(s+n-r):t;return a||l<t?o<=l?("timeOrigin",e.timeOrigin):("navigationStart",s):("dateNow",r)}"none"}()},10076:function(e,t,n){"use strict";function r(e){return e&&e.Math==Math?e:void 0}n.d(t,{Rf:function(){return i},YO:function(){return a},n2:function(){return o}});var o="object"==typeof globalThis&&r(globalThis)||"object"==typeof window&&r(window)||"object"==typeof self&&r(self)||"object"==typeof n.g&&r(n.g)||function(){return this}()||{};function i(){return o}function a(e,t,n){var r=n||o,i=r.__SENTRY__=r.__SENTRY__||{};return i[e]||(i[e]=t())}},14696:function(e,t,n){!function(e,t){"use strict";function n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function r(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function o(e){return o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){return s(e)||l(e,t)||c(e,t)||d()}function s(e){if(Array.isArray(e))return e}function l(e,t){var n=e&&("undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(l){s=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}function c(e,t){if(e){if("string"===typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function d(){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 p(e,t){return e(t={exports:{}},t.exports),t.exports}t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t;var f="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";function h(){}function b(){}b.resetWarningCache=h;var A=function(){function e(e,t,n,r,o,i){if(i!==f){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:b,resetWarningCache:h};return n.PropTypes=n,n},m=p((function(e){e.exports=A()})),g=function(e){var n=t.useRef(e);return t.useEffect((function(){n.current=e}),[e]),n.current},v=function(e){return null!==e&&"object"===o(e)},y=function(e){return v(e)&&"function"===typeof e.then},M=function(e){return v(e)&&"function"===typeof e.elements&&"function"===typeof e.createToken&&"function"===typeof e.createPaymentMethod&&"function"===typeof e.confirmCardPayment},O="[object Object]",_=function e(t,n){if(!v(t)||!v(n))return t===n;var r=Array.isArray(t);if(r!==Array.isArray(n))return!1;var o=Object.prototype.toString.call(t)===O;if(o!==(Object.prototype.toString.call(n)===O))return!1;if(!o&&!r)return t===n;var i=Object.keys(t),a=Object.keys(n);if(i.length!==a.length)return!1;for(var s={},l=0;l<i.length;l+=1)s[i[l]]=!0;for(var c=0;c<a.length;c+=1)s[a[c]]=!0;var u=Object.keys(s);if(u.length!==i.length)return!1;var d=t,p=n,f=function(t){return e(d[t],p[t])};return u.every(f)},z=function(e,t,n){return v(e)?Object.keys(e).reduce((function(o,a){var s=!v(t)||!_(e[a],t[a]);return n.includes(a)?(s&&console.warn("Unsupported prop change: options.".concat(a," is not a mutable property.")),o):s?r(r({},o||{}),{},i({},a,e[a])):o}),null):null},x="Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.",w=function(e){if(null===e||M(e))return e;throw new Error(x)},C=function(e){if(y(e))return{tag:"async",stripePromise:Promise.resolve(e).then(w)};var t=w(e);return null===t?{tag:"empty"}:{tag:"sync",stripe:t}},S=t.createContext(null);S.displayName="ElementsContext";var E=function(e,t){if(!e)throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(t," in an <Elements> provider."));return e},k=t.createContext(null);k.displayName="CartElementContext";var D=function(e,t){if(!e)throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(t," in an <Elements> provider."));return e},N=function(e){var n=e.stripe,r=e.options,o=e.children,i=t.useMemo((function(){return C(n)}),[n]),s=a(t.useState(null),2),l=s[0],c=s[1],u=a(t.useState(null),2),d=u[0],p=u[1],f=a(t.useState((function(){return{stripe:"sync"===i.tag?i.stripe:null,elements:"sync"===i.tag?i.stripe.elements(r):null}})),2),h=f[0],b=f[1];t.useEffect((function(){var e=!0,t=function(e){b((function(t){return t.stripe?t:{stripe:e,elements:e.elements(r)}}))};return"async"!==i.tag||h.stripe?"sync"!==i.tag||h.stripe||t(i.stripe):i.stripePromise.then((function(n){n&&e&&t(n)})),function(){e=!1}}),[i,h,r]);var A=g(n);t.useEffect((function(){null!==A&&A!==n&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it.")}),[A,n]);var m=g(r);return t.useEffect((function(){if(h.elements){var e=z(r,m,["clientSecret","fonts"]);e&&h.elements.update(e)}}),[r,m,h.elements]),t.useEffect((function(){var e=h.stripe;e&&e._registerWrapper&&e.registerAppInfo&&(e._registerWrapper({name:"react-stripe-js",version:"1.16.5"}),e.registerAppInfo({name:"react-stripe-js",version:"1.16.5",url:"https://stripe.com/docs/stripe-js/react"}))}),[h.stripe]),t.createElement(S.Provider,{value:h},t.createElement(k.Provider,{value:{cart:l,setCart:c,cartState:d,setCartState:p}},o))};N.propTypes={stripe:m.any,options:m.object};var T=function(e){var n=t.useContext(S);return E(n,e)},j=function(e){var n=t.useContext(k);return D(n,e)},B=function(){return T("calls useElements()").elements},L=function(){return T("calls useStripe()").stripe},R=function(){return j("calls useCartElement()").cart},q=function(){return j("calls useCartElementState()").cartState},P=function(e){return(0,e.children)(T("mounts <ElementsConsumer>"))};P.propTypes={children:m.func.isRequired};var I=function(e,n,r){var o=!!r,i=t.useRef(r);t.useEffect((function(){i.current=r}),[r]),t.useEffect((function(){if(!o||!e)return function(){};var t=function(){i.current&&i.current.apply(i,arguments)};return e.on(n,t),function(){e.off(n,t)}}),[o,n,e,i])},W=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},F=function(e,n){var r="".concat(W(e),"Element"),o=n?function(e){T("mounts <".concat(r,">")),j("mounts <".concat(r,">"));var n=e.id,o=e.className;return t.createElement("div",{id:n,className:o})}:function(n){var o,i=n.id,s=n.className,l=n.options,c=void 0===l?{}:l,u=n.onBlur,d=n.onFocus,p=n.onReady,f=n.onChange,h=n.onEscape,b=n.onClick,A=n.onLoadError,m=n.onLoaderStart,v=n.onNetworksChange,y=n.onCheckout,M=n.onLineItemClick,O=n.onConfirm,_=n.onCancel,x=n.onShippingAddressChange,w=n.onShippingRateChange,C=T("mounts <".concat(r,">")).elements,S=a(t.useState(null),2),E=S[0],k=S[1],D=t.useRef(null),N=t.useRef(null),B=j("mounts <".concat(r,">")),L=B.setCart,R=B.setCartState;I(E,"blur",u),I(E,"focus",d),I(E,"escape",h),I(E,"click",b),I(E,"loaderror",A),I(E,"loaderstart",m),I(E,"networkschange",v),I(E,"lineitemclick",M),I(E,"confirm",O),I(E,"cancel",_),I(E,"shippingaddresschange",x),I(E,"shippingratechange",w),"cart"===e?o=function(e){R(e),p&&p(e)}:p&&(o="payButton"===e?p:function(){p(E)}),I(E,"ready",o),I(E,"change","cart"===e?function(e){R(e),f&&f(e)}:f),I(E,"checkout","cart"===e?function(e){R(e),y&&y(e)}:y),t.useLayoutEffect((function(){if(null===D.current&&C&&null!==N.current){var t=C.create(e,c);"cart"===e&&L&&L(t),D.current=t,k(t),t.mount(N.current)}}),[C,c,L]);var q=g(c);return t.useEffect((function(){if(D.current){var e=z(c,q,["paymentRequest"]);e&&D.current.update(e)}}),[c,q]),t.useLayoutEffect((function(){return function(){D.current&&(D.current.destroy(),D.current=null)}}),[]),t.createElement("div",{id:i,className:s,ref:N})};return o.propTypes={id:m.string,className:m.string,onChange:m.func,onBlur:m.func,onFocus:m.func,onReady:m.func,onEscape:m.func,onClick:m.func,onLoadError:m.func,onLoaderStart:m.func,onNetworksChange:m.func,onCheckout:m.func,onLineItemClick:m.func,onConfirm:m.func,onCancel:m.func,onShippingAddressChange:m.func,onShippingRateChange:m.func,options:m.object},o.displayName=r,o.__elementType=e,o},U="undefined"===typeof window,Z=F("auBankAccount",U),H=F("card",U),$=F("cardNumber",U),V=F("cardExpiry",U),X=F("cardCvc",U),Q=F("fpxBank",U),Y=F("iban",U),G=F("idealBank",U),K=F("p24Bank",U),J=F("epsBank",U),ee=F("payment",U),te=F("payButton",U),ne=F("paymentRequestButton",U),re=F("linkAuthentication",U),oe=F("address",U),ie=F("shippingAddress",U),ae=F("cart",U),se=F("paymentMethodMessaging",U),le=F("affirmMessage",U),ce=F("afterpayClearpayMessage",U);e.AddressElement=oe,e.AffirmMessageElement=le,e.AfterpayClearpayMessageElement=ce,e.AuBankAccountElement=Z,e.CardCvcElement=X,e.CardElement=H,e.CardExpiryElement=V,e.CardNumberElement=$,e.CartElement=ae,e.Elements=N,e.ElementsConsumer=P,e.EpsBankElement=J,e.FpxBankElement=Q,e.IbanElement=Y,e.IdealBankElement=G,e.LinkAuthenticationElement=re,e.P24BankElement=K,e.PayButtonElement=te,e.PaymentElement=ee,e.PaymentMethodMessagingElement=se,e.PaymentRequestButtonElement=ne,e.ShippingAddressElement=ie,e.useCartElement=R,e.useCartElementState=q,e.useElements=B,e.useStripe=L,Object.defineProperty(e,"__esModule",{value:!0})}(t,n(47313))},46138:function(e,t){"use strict";function n(e){return n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}var r,o="https://js.stripe.com/v3",i=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,a="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used",s=null,l=function(e){return null!==s||(s=new Promise((function(t,n){if("undefined"!==typeof window&&"undefined"!==typeof document)if(window.Stripe&&e&&console.warn(a),window.Stripe)t(window.Stripe);else try{var r=function(){for(var e=document.querySelectorAll('script[src^="'.concat(o,'"]')),t=0;t<e.length;t++){var n=e[t];if(i.test(n.src))return n}return null}();r&&e?console.warn(a):r||(r=function(e){var t=e&&!e.advancedFraudSignals?"?advancedFraudSignals=false":"",n=document.createElement("script");n.src="".concat(o).concat(t);var r=document.head||document.body;if(!r)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return r.appendChild(n),n}(e)),r.addEventListener("load",(function(){window.Stripe?t(window.Stripe):n(new Error("Stripe.js not available"))})),r.addEventListener("error",(function(){n(new Error("Failed to load Stripe.js"))}))}catch(s){return void n(s)}else t(null)}))),s},c=function(e){var t="invalid load parameters; expected object of shape\n\n    {advancedFraudSignals: boolean}\n\nbut received\n\n    ".concat(JSON.stringify(e),"\n");if(null===e||"object"!==n(e))throw new Error(t);if(1===Object.keys(e).length&&"boolean"===typeof e.advancedFraudSignals)return e;throw new Error(t)},u=!1,d=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];u=!0;var o=Date.now();return l(r).then((function(e){return function(e,t,n){if(null===e)return null;var r=e.apply(void 0,t);return function(e,t){e&&e._registerWrapper&&e._registerWrapper({name:"stripe-js",version:"1.52.1",startTime:t})}(r,n),r}(e,t,o)}))};d.setLoadParameters=function(e){if(u&&r){var t=c(e);if(Object.keys(t).reduce((function(t,n){var o;return t&&e[n]===(null===(o=r)||void 0===o?void 0:o[n])}),!0))return}if(u)throw new Error("You cannot change load parameters after calling loadStripe");r=c(e)},t.loadStripe=d},60298:function(e,t,n){e.exports=n(46138)},50749:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){if("string"===typeof t)return t;if("function"===typeof t)return t.displayName||(0,o.default)(t);if((0,i.isForwardRef)({type:t,$$typeof:i.Element}))return t.displayName;if((0,i.isMemo)(t))return e(t.type);return null};var r,o=(r=n(61999))&&r.__esModule?r:{default:r},i=n(64723)},29826:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=((r=n(89836))&&r.__esModule?r:{default:r}).default;t.default=o},58665:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return(0,o.default)(e.bind(),{typeName:t,typeChecker:n,isRequired:(0,o.default)(e.isRequired.bind(),{typeName:t,typeChecker:n,typeRequired:!0})})};var r,o=(r=n(22979))&&r.__esModule?r:{default:r}},24592:function(e){"use strict";function t(){return null}function n(){return t}t.isRequired=t,e.exports={and:n,between:n,booleanSome:n,childrenHavePropXorChildren:n,childrenOf:n,childrenOfType:n,childrenSequenceOf:n,componentWithName:n,disallowedIf:n,elementType:n,empty:n,explicitNull:n,forbidExtraProps:Object,integer:n,keysOf:n,mutuallyExclusiveProps:n,mutuallyExclusiveTrueProps:n,nChildren:n,nonNegativeInteger:t,nonNegativeNumber:n,numericString:n,object:n,or:n,predicate:n,range:n,ref:n,requiredBy:n,restrictedProp:n,sequenceOf:n,shape:n,stringEndsWith:n,stringStartsWith:n,uniqueArray:n,uniqueArrayOf:n,valuesOf:n,withShape:n}},59610:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(47313),o=a(n(29826)),i=a(n(58665));function a(e){return e&&e.__esModule?e:{default:e}}var s=Object.prototype.isPrototypeOf;function l(e,t,n){var i,a=e[t];return("function"!==typeof(i=a)||s.call(r.Component,i)||r.PureComponent&&s.call(r.PureComponent,i))&&!function(e){if(!(0,o.default)(e))return!1;var t=Object.keys(e);return 1===t.length&&"current"===t[0]}(a)?new TypeError("".concat(t," in ").concat(n," must be a ref")):null}function c(e,t,n){if(null==e[t])return null;for(var r=arguments.length,o=new Array(r>3?r-3:0),i=3;i<r;i++)o[i-3]=arguments[i];return l.apply(void 0,[e,t,n].concat(o))}c.isRequired=l;t.default=function(){return(0,i.default)(c,"ref")}},96095:function(e,t,n){e.exports=n(24592)},67934:function(e,t){"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,b=n?Symbol.for("react.memo"):60115,A=n?Symbol.for("react.lazy"):60116,m=n?Symbol.for("react.block"):60121,g=n?Symbol.for("react.fundamental"):60117,v=n?Symbol.for("react.responder"):60118,y=n?Symbol.for("react.scope"):60119;function M(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case i:case s:case a:case f:return e;default:switch(e=e&&e.$$typeof){case c:case p:case A:case b:case l:return e;default:return t}}case o:return t}}}function O(e){return M(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=p,t.Fragment=i,t.Lazy=A,t.Memo=b,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=f,t.isAsyncMode=function(e){return O(e)||M(e)===u},t.isConcurrentMode=O,t.isContextConsumer=function(e){return M(e)===c},t.isContextProvider=function(e){return M(e)===l},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return M(e)===p},t.isFragment=function(e){return M(e)===i},t.isLazy=function(e){return M(e)===A},t.isMemo=function(e){return M(e)===b},t.isPortal=function(e){return M(e)===o},t.isProfiler=function(e){return M(e)===s},t.isStrictMode=function(e){return M(e)===a},t.isSuspense=function(e){return M(e)===f},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===i||e===d||e===s||e===a||e===f||e===h||"object"===typeof e&&null!==e&&(e.$$typeof===A||e.$$typeof===b||e.$$typeof===l||e.$$typeof===c||e.$$typeof===p||e.$$typeof===g||e.$$typeof===v||e.$$typeof===y||e.$$typeof===m)},t.typeOf=M},64723:function(e,t,n){"use strict";e.exports=n(67934)},1226:function(e,t,n){"use strict";var r=n(13339),o=n(94077),i=n(39538),a=n(81279),s=n(34283),l=n(64504);e.exports=function(){var e=l(this),t=s(i(e,"length")),n=1;arguments.length>0&&"undefined"!==typeof arguments[0]&&(n=a(arguments[0]));var c=r(e,0);return o(c,e,t,0,n),c}},77857:function(e,t,n){"use strict";var r=n(89959),o=n(59962),i=n(1226),a=n(15747),s=a(),l=n(91113),c=o(s);r(c,{getPolyfill:a,implementation:i,shim:l}),e.exports=c},15747:function(e,t,n){"use strict";var r=n(1226);e.exports=function(){return Array.prototype.flat||r}},91113:function(e,t,n){"use strict";var r=n(89959),o=n(31620),i=n(15747);e.exports=function(){var e=i();return r(Array.prototype,{flat:e},{flat:function(){return Array.prototype.flat!==e}}),o("flat"),e}},31881:function(e,t,n){e.exports=n(46948)},47570:function(e,t,n){"use strict";var r=n(899),o=n(48980),i=n(22508),a=n(43917),s=n(96551),l=n(87652),c=n(48652),u=n(50775),d=n(12487),p=n(37691);e.exports=function(e){return new Promise((function(t,n){var f,h=e.data,b=e.headers,A=e.responseType;function m(){e.cancelToken&&e.cancelToken.unsubscribe(f),e.signal&&e.signal.removeEventListener("abort",f)}r.isFormData(h)&&delete b["Content-Type"];var g=new XMLHttpRequest;if(e.auth){var v=e.auth.username||"",y=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";b.Authorization="Basic "+btoa(v+":"+y)}var M=s(e.baseURL,e.url);function O(){if(g){var r="getAllResponseHeaders"in g?l(g.getAllResponseHeaders()):null,i={data:A&&"text"!==A&&"json"!==A?g.response:g.responseText,status:g.status,statusText:g.statusText,headers:r,config:e,request:g};o((function(e){t(e),m()}),(function(e){n(e),m()}),i),g=null}}if(g.open(e.method.toUpperCase(),a(M,e.params,e.paramsSerializer),!0),g.timeout=e.timeout,"onloadend"in g?g.onloadend=O:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(O)},g.onabort=function(){g&&(n(u("Request aborted",e,"ECONNABORTED",g)),g=null)},g.onerror=function(){n(u("Network Error",e,null,g)),g=null},g.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||d;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(u(t,e,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",g)),g=null},r.isStandardBrowserEnv()){var _=(e.withCredentials||c(M))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;_&&(b[e.xsrfHeaderName]=_)}"setRequestHeader"in g&&r.forEach(b,(function(e,t){"undefined"===typeof h&&"content-type"===t.toLowerCase()?delete b[t]:g.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(g.withCredentials=!!e.withCredentials),A&&"json"!==A&&(g.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&g.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&g.upload&&g.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(f=function(e){g&&(n(!e||e&&e.type?new p("canceled"):e),g.abort(),g=null)},e.cancelToken&&e.cancelToken.subscribe(f),e.signal&&(e.signal.aborted?f():e.signal.addEventListener("abort",f))),h||(h=null),g.send(h)}))}},46948:function(e,t,n){"use strict";var r=n(899),o=n(28813),i=n(55141),a=n(36276);var s=function e(t){var n=new i(t),s=o(i.prototype.request,n);return r.extend(s,i.prototype,n),r.extend(s,n),s.create=function(n){return e(a(t,n))},s}(n(6063));s.Axios=i,s.Cancel=n(37691),s.CancelToken=n(13914),s.isCancel=n(17797),s.VERSION=n(2102).version,s.all=function(e){return Promise.all(e)},s.spread=n(62922),s.isAxiosError=n(60534),e.exports=s,e.exports.default=s},37691:function(e){"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},13914:function(e,t,n){"use strict";var r=n(37691);function o(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;this.promise.then((function(e){if(n._listeners){var t,r=n._listeners.length;for(t=0;t<r;t++)n._listeners[t](e);n._listeners=null}})),this.promise.then=function(e){var t,r=new Promise((function(e){n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},o.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},17797:function(e){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},55141:function(e,t,n){"use strict";var r=n(899),o=n(43917),i=n(2564),a=n(11253),s=n(36276),l=n(87828),c=l.validators;function u(e){this.defaults=e,this.interceptors={request:new i,response:new i}}u.prototype.request=function(e,t){"string"===typeof e?(t=t||{}).url=e:t=e||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;void 0!==n&&l.assertOptions(n,{silentJSONParsing:c.transitional(c.boolean),forcedJSONParsing:c.transitional(c.boolean),clarifyTimeoutError:c.transitional(c.boolean)},!1);var r=[],o=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(o=o&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var i,u=[];if(this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)})),!o){var d=[a,void 0];for(Array.prototype.unshift.apply(d,r),d=d.concat(u),i=Promise.resolve(t);d.length;)i=i.then(d.shift(),d.shift());return i}for(var p=t;r.length;){var f=r.shift(),h=r.shift();try{p=f(p)}catch(b){h(b);break}}try{i=a(p)}catch(b){return Promise.reject(b)}for(;u.length;)i=i.then(u.shift(),u.shift());return i},u.prototype.getUri=function(e){return e=s(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,n,r){return this.request(s(r||{},{method:e,url:t,data:n}))}})),e.exports=u},2564:function(e,t,n){"use strict";var r=n(899);function o(){this.handlers=[]}o.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},96551:function(e,t,n){"use strict";var r=n(67826),o=n(60572);e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},50775:function(e,t,n){"use strict";var r=n(6813);e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},11253:function(e,t,n){"use strict";var r=n(899),o=n(79486),i=n(17797),a=n(6063),s=n(37691);function l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s("canceled")}e.exports=function(e){return l(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return l(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(l(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},6813:function(e){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},36276:function(e,t,n){"use strict";var r=n(899);e.exports=function(e,t){t=t||{};var n={};function o(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function i(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:o(void 0,e[n]):o(e[n],t[n])}function a(e){if(!r.isUndefined(t[e]))return o(void 0,t[e])}function s(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:o(void 0,e[n]):o(void 0,t[n])}function l(n){return n in t?o(e[n],t[n]):n in e?o(void 0,e[n]):void 0}var c={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l};return r.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||i,o=t(e);r.isUndefined(o)&&t!==l||(n[e]=o)})),n}},48980:function(e,t,n){"use strict";var r=n(50775);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},79486:function(e,t,n){"use strict";var r=n(899),o=n(6063);e.exports=function(e,t,n){var i=this||o;return r.forEach(n,(function(n){e=n.call(i,e,t)})),e}},6063:function(e,t,n){"use strict";var r=n(899),o=n(29428),i=n(6813),a=n(12487),s={"Content-Type":"application/x-www-form-urlencoded"};function l(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var c={transitional:a,adapter:function(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(e=n(47570)),e}(),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(l(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)||t&&"application/json"===t["Content-Type"]?(l(t,"application/json"),function(e,t,n){if(r.isString(e))try{return(t||JSON.parse)(e),r.trim(e)}catch(o){if("SyntaxError"!==o.name)throw o}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||c.transitional,n=t&&t.silentJSONParsing,o=t&&t.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||o&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(s){if(a){if("SyntaxError"===s.name)throw i(s,this,"E_JSON_PARSE");throw s}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){c.headers[e]=r.merge(s)})),e.exports=c},12487:function(e){"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},2102:function(e){e.exports={version:"0.26.1"}},28813:function(e){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},43917:function(e,t,n){"use strict";var r=n(899);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(r.isURLSearchParams(t))i=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))})))})),i=a.join("&")}if(i){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},60572:function(e){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},22508:function(e,t,n){"use strict";var r=n(899);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},67826:function(e){"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},60534:function(e,t,n){"use strict";var r=n(899);e.exports=function(e){return r.isObject(e)&&!0===e.isAxiosError}},48652:function(e,t,n){"use strict";var r=n(899);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},29428:function(e,t,n){"use strict";var r=n(899);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},87652:function(e,t,n){"use strict";var r=n(899),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,i,a={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},62922:function(e){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},87828:function(e,t,n){"use strict";var r=n(2102).version,o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var i={};o.transitional=function(e,t,n){function o(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,a){if(!1===e)throw new Error(o(r," has been removed"+(t?" in "+t:"")));return t&&!i[r]&&(i[r]=!0,console.warn(o(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,a)}},e.exports={assertOptions:function(e,t,n){if("object"!==typeof e)throw new TypeError("options must be an object");for(var r=Object.keys(e),o=r.length;o-- >0;){var i=r[o],a=t[i];if(a){var s=e[i],l=void 0===s||a(s,i,e);if(!0!==l)throw new TypeError("option "+i+" must be "+l)}else if(!0!==n)throw Error("Unknown option "+i)}},validators:o}},899:function(e,t,n){"use strict";var r=n(28813),o=Object.prototype.toString;function i(e){return Array.isArray(e)}function a(e){return"undefined"===typeof e}function s(e){return"[object ArrayBuffer]"===o.call(e)}function l(e){return null!==e&&"object"===typeof e}function c(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function u(e){return"[object Function]"===o.call(e)}function d(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),i(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:i,isArrayBuffer:s,isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"[object FormData]"===o.call(e)},isArrayBufferView:function(e){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&s(e.buffer)},isString:function(e){return"string"===typeof e},isNumber:function(e){return"number"===typeof e},isObject:l,isPlainObject:c,isUndefined:a,isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:u,isStream:function(e){return l(e)&&u(e.pipe)},isURLSearchParams:function(e){return"[object URLSearchParams]"===o.call(e)},isStandardBrowserEnv:function(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)},forEach:d,merge:function e(){var t={};function n(n,r){c(t[r])&&c(n)?t[r]=e(t[r],n):c(n)?t[r]=e({},n):i(n)?t[r]=n.slice():t[r]=n}for(var r=0,o=arguments.length;r<o;r++)d(arguments[r],n);return t},extend:function(e,t,n){return d(t,(function(t,o){e[o]=n&&"function"===typeof t?r(t,n):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},44680:function(e,t,n){"use strict";var r=n(28476),o=n(59962),i=o(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"===typeof n&&i(e,".prototype.")>-1?o(n):n}},59962:function(e,t,n){"use strict";var r=n(1199),o=n(28476),i=o("%Function.prototype.apply%"),a=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||r.call(a,i),l=o("%Object.getOwnPropertyDescriptor%",!0),c=o("%Object.defineProperty%",!0),u=o("%Math.max%");if(c)try{c({},"a",{value:1})}catch(p){c=null}e.exports=function(e){var t=s(r,a,arguments);l&&c&&(l(t,"length").configurable&&c(t,"length",{value:1+u(0,e.length-(arguments.length-1))}));return t};var d=function(){return s(r,i,arguments)};c?c(e.exports,"apply",{value:d}):e.exports.apply=d},46123:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var a=o.apply(null,n);a&&e.push(a)}}else if("object"===i){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var s in n)r.call(n,s)&&n[s]&&e.push(s)}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},83061:function(e,t,n){"use strict";function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(o&&(o+=" "),o+=n);else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}t.Z=function(){for(var e,t,n=0,o="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(o&&(o+=" "),o+=t);return o}},67105:function(e,t,n){"use strict";n.r(t),n.d(t,{addEventListener:function(){return c}});var r=!("undefined"===typeof window||!window.document||!window.document.createElement);var o=void 0;function i(){return void 0===o&&(o=function(){if(!r)return!1;if(!window.addEventListener||!window.removeEventListener||!Object.defineProperty)return!1;var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}}),n=function(){};window.addEventListener("testPassiveEventSupport",n,t),window.removeEventListener("testPassiveEventSupport",n,t)}catch(o){}return e}()),o}function a(e){e.handlers===e.nextHandlers&&(e.nextHandlers=e.handlers.slice())}function s(e){this.target=e,this.events={}}s.prototype.getEventHandlers=function(e,t){var n,r=String(e)+" "+String((n=t)?!0===n?100:(n.capture<<0)+(n.passive<<1)+(n.once<<2):0);return this.events[r]||(this.events[r]={handlers:[],handleEvent:void 0},this.events[r].nextHandlers=this.events[r].handlers),this.events[r]},s.prototype.handleEvent=function(e,t,n){var r=this.getEventHandlers(e,t);r.handlers=r.nextHandlers,r.handlers.forEach((function(e){e&&e(n)}))},s.prototype.add=function(e,t,n){var r=this,o=this.getEventHandlers(e,n);a(o),0===o.nextHandlers.length&&(o.handleEvent=this.handleEvent.bind(this,e,n),this.target.addEventListener(e,o.handleEvent,n)),o.nextHandlers.push(t);var i=!0;return function(){if(i){i=!1,a(o);var s=o.nextHandlers.indexOf(t);o.nextHandlers.splice(s,1),0===o.nextHandlers.length&&(r.target&&r.target.removeEventListener(e,o.handleEvent,n),o.handleEvent=void 0)}}};var l="__consolidated_events_handlers__";function c(e,t,n,r){e[l]||(e[l]=new s(e));var o=function(e){if(e)return i()?e:!!e.capture}(r);return e[l].add(t,n,o)}},94989:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},o=function(e,t,n){var o,i=r[e];return o="string"===typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),null!==n&&void 0!==n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+o:o+" ago":o};function i(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}var a={date:i({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:i({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:i({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"},l=function(e,t,n,r){return s[e]};function c(e){return function(t,n){var r;if("formatting"===(null!==n&&void 0!==n&&n.context?String(n.context):"standalone")&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,i=null!==n&&void 0!==n&&n.width?String(n.width):o;r=e.formattingValues[i]||e.formattingValues[o]}else{var a=e.defaultWidth,s=null!==n&&void 0!==n&&n.width?String(n.width):e.defaultWidth;r=e.values[s]||e.values[a]}return r[e.argumentCallback?e.argumentCallback(t):t]}}var u={ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:c({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:c({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:c({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:c({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:c({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"})};function d(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(o);if(!i)return null;var a,s=i[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(l)?function(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n;return}(l,(function(e){return e.test(s)})):function(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n;return}(l,(function(e){return e.test(s)}));return a=e.valueCallback?e.valueCallback(c):c,{value:a=n.valueCallback?n.valueCallback(a):a,rest:t.slice(s.length)}}}var p,f={ordinalNumber:(p={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.match(p.matchPattern);if(!n)return null;var r=n[0],o=e.match(p.parsePattern);if(!o)return null;var i=p.valueCallback?p.valueCallback(o[0]):o[0];return{value:i=t.valueCallback?t.valueCallback(i):i,rest:e.slice(r.length)}}),era:d({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:d({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(e){return e+1}}),month:d({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:d({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:d({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"})},h={code:"en-US",formatDistance:o,formatLong:a,formatRelative:l,localize:u,match:f,options:{weekStartsOn:0,firstWeekContainsDate:1}}},73149:function(e,t,n){"use strict";n.d(t,{j:function(){return o}});var r={};function o(){return r}},97882:function(e,t){"use strict";var n=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},r=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},o={p:r,P:function(e,t){var o,i=e.match(/(P+)(p+)?/)||[],a=i[1],s=i[2];if(!s)return n(e,t);switch(a){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;default:o=t.dateTime({width:"full"})}return o.replace("{{date}}",n(a,t)).replace("{{time}}",r(s,t))}};t.Z=o},5025:function(e,t,n){"use strict";function r(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}n.d(t,{Z:function(){return r}})},96738:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(93601),o=n(43276),i=n(18363),a=n(34800);var s=6048e5;function l(e){(0,a.Z)(1,arguments);var t=(0,r.default)(e),n=(0,o.Z)(t).getTime()-function(e){(0,a.Z)(1,arguments);var t=(0,i.Z)(e),n=new Date(0);return n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0),(0,o.Z)(n)}(t).getTime();return Math.round(n/s)+1}},18363:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(93601),o=n(34800),i=n(43276);function a(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e),n=t.getUTCFullYear(),a=new Date(0);a.setUTCFullYear(n+1,0,4),a.setUTCHours(0,0,0,0);var s=(0,i.Z)(a),l=new Date(0);l.setUTCFullYear(n,0,4),l.setUTCHours(0,0,0,0);var c=(0,i.Z)(l);return t.getTime()>=s.getTime()?n+1:t.getTime()>=c.getTime()?n:n-1}},33969:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(93601),o=n(89489),i=n(59057),a=n(34800),s=n(68627),l=n(73149);var c=6048e5;function u(e,t){(0,a.Z)(1,arguments);var n=(0,r.default)(e),u=(0,o.Z)(n,t).getTime()-function(e,t){var n,r,c,u,d,p,f,h;(0,a.Z)(1,arguments);var b=(0,l.j)(),A=(0,s.Z)(null!==(n=null!==(r=null!==(c=null!==(u=null===t||void 0===t?void 0:t.firstWeekContainsDate)&&void 0!==u?u:null===t||void 0===t||null===(d=t.locale)||void 0===d||null===(p=d.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==c?c:b.firstWeekContainsDate)&&void 0!==r?r:null===(f=b.locale)||void 0===f||null===(h=f.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==n?n:1),m=(0,i.Z)(e,t),g=new Date(0);return g.setUTCFullYear(m,0,A),g.setUTCHours(0,0,0,0),(0,o.Z)(g,t)}(n,t).getTime();return Math.round(u/c)+1}},59057:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(93601),o=n(34800),i=n(89489),a=n(68627),s=n(73149);function l(e,t){var n,l,c,u,d,p,f,h;(0,o.Z)(1,arguments);var b=(0,r.default)(e),A=b.getUTCFullYear(),m=(0,s.j)(),g=(0,a.Z)(null!==(n=null!==(l=null!==(c=null!==(u=null===t||void 0===t?void 0:t.firstWeekContainsDate)&&void 0!==u?u:null===t||void 0===t||null===(d=t.locale)||void 0===d||null===(p=d.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==c?c:m.firstWeekContainsDate)&&void 0!==l?l:null===(f=m.locale)||void 0===f||null===(h=f.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==n?n:1);if(!(g>=1&&g<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var v=new Date(0);v.setUTCFullYear(A+1,0,g),v.setUTCHours(0,0,0,0);var y=(0,i.Z)(v,t),M=new Date(0);M.setUTCFullYear(A,0,g),M.setUTCHours(0,0,0,0);var O=(0,i.Z)(M,t);return b.getTime()>=y.getTime()?A+1:b.getTime()>=O.getTime()?A:A-1}},57552:function(e,t,n){"use strict";n.d(t,{Do:function(){return a},Iu:function(){return i},qp:function(){return s}});var r=["D","DD"],o=["YY","YYYY"];function i(e){return-1!==r.indexOf(e)}function a(e){return-1!==o.indexOf(e)}function s(e,t,n){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}},34800:function(e,t,n){"use strict";function r(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}n.d(t,{Z:function(){return r}})},43276:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(93601),o=n(34800);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e),n=t.getUTCDay(),i=(n<1?7:0)+n-1;return t.setUTCDate(t.getUTCDate()-i),t.setUTCHours(0,0,0,0),t}},89489:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(93601),o=n(34800),i=n(68627),a=n(73149);function s(e,t){var n,s,l,c,u,d,p,f;(0,o.Z)(1,arguments);var h=(0,a.j)(),b=(0,i.Z)(null!==(n=null!==(s=null!==(l=null!==(c=null===t||void 0===t?void 0:t.weekStartsOn)&&void 0!==c?c:null===t||void 0===t||null===(u=t.locale)||void 0===u||null===(d=u.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==l?l:h.weekStartsOn)&&void 0!==s?s:null===(p=h.locale)||void 0===p||null===(f=p.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==n?n:0);if(!(b>=0&&b<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var A=(0,r.default)(e),m=A.getUTCDay(),g=(m<b?7:0)+m-b;return A.setUTCDate(A.getUTCDate()-g),A.setUTCHours(0,0,0,0),A}},68627:function(e,t,n){"use strict";function r(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}n.d(t,{Z:function(){return r}})},99004:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(68627),o=n(93601),i=n(34800);function a(e,t){(0,i.Z)(2,arguments);var n=(0,o.default)(e),a=(0,r.Z)(t);return isNaN(a)?new Date(NaN):a?(n.setDate(n.getDate()+a),n):n}},60206:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return s}});var r=n(68627),o=n(84485),i=n(34800),a=36e5;function s(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(t);return(0,o.Z)(e,n*a)}},84485:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(68627),o=n(93601),i=n(34800);function a(e,t){(0,i.Z)(2,arguments);var n=(0,o.default)(e).getTime(),a=(0,r.Z)(t);return new Date(n+a)}},91469:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return s}});var r=n(68627),o=n(84485),i=n(34800),a=6e4;function s(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(t);return(0,o.Z)(e,n*a)}},79254:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(68627),o=n(93601),i=n(34800);function a(e,t){(0,i.Z)(2,arguments);var n=(0,o.default)(e),a=(0,r.Z)(t);if(isNaN(a))return new Date(NaN);if(!a)return n;var s=n.getDate(),l=new Date(n.getTime());return l.setMonth(n.getMonth()+a+1,0),s>=l.getDate()?l:(n.setFullYear(l.getFullYear(),l.getMonth(),s),n)}},46866:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(68627),o=n(79254),i=n(34800);function a(e,t){(0,i.Z)(2,arguments);var n=3*(0,r.Z)(t);return(0,o.default)(e,n)}},78392:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(68627),o=n(99004),i=n(34800);function a(e,t){(0,i.Z)(2,arguments);var n=7*(0,r.Z)(t);return(0,o.default)(e,n)}},83618:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(68627),o=n(79254),i=n(34800);function a(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(t);return(0,o.default)(e,12*n)}},47332:function(e,t,n){"use strict";n.d(t,{qk:function(){return i},vh:function(){return o},yJ:function(){return r}});Math.pow(10,8);var r=6e4,o=36e5,i=1e3},81419:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return s}});var r=n(5025),o=n(6021),i=n(34800),a=864e5;function s(e,t){(0,i.Z)(2,arguments);var n=(0,o.default)(e),s=(0,o.default)(t),l=n.getTime()-(0,r.Z)(n),c=s.getTime()-(0,r.Z)(s);return Math.round((l-c)/a)}},70943:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(93601),o=n(34800);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t);return 12*(n.getFullYear()-i.getFullYear())+(n.getMonth()-i.getMonth())}},38898:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return s}});var r=n(59376),o=n(5025),i=n(34800),a=6048e5;function s(e,t,n){(0,i.Z)(2,arguments);var s=(0,r.default)(e,n),l=(0,r.default)(t,n),c=s.getTime()-(0,o.Z)(s),u=l.getTime()-(0,o.Z)(l);return Math.round((c-u)/a)}},57033:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(93601),o=n(34800);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t);return n.getFullYear()-i.getFullYear()}},56148:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(93601),o=n(34800);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e);return t.setHours(23,59,59,999),t}},98589:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(93601),o=n(34800);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}},34605:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return s}});var r=n(73149),o=n(93601),i=n(68627),a=n(34800);function s(e,t){var n,s,l,c,u,d,p,f;(0,a.Z)(1,arguments);var h=(0,r.j)(),b=(0,i.Z)(null!==(n=null!==(s=null!==(l=null!==(c=null===t||void 0===t?void 0:t.weekStartsOn)&&void 0!==c?c:null===t||void 0===t||null===(u=t.locale)||void 0===u||null===(d=u.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==l?l:h.weekStartsOn)&&void 0!==s?s:null===(p=h.locale)||void 0===p||null===(f=p.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==n?n:0);if(!(b>=0&&b<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var A=(0,o.default)(e),m=A.getDay(),g=6+(m<b?-7:0)-(m-b);return A.setDate(A.getDate()+g),A.setHours(23,59,59,999),A}},26537:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(93601),o=n(34800);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(23,59,59,999),t}},89434:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return B}});var r=n(8859),o=n(88076),i=n(93601),a=n(34800);var s=n(96738),l=n(18363),c=n(33969),u=n(59057);function d(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length<t;)r="0"+r;return n+r}var p={y:function(e,t){var n=e.getUTCFullYear(),r=n>0?n:1-n;return d("yy"===t?r%100:r,t.length)},M:function(e,t){var n=e.getUTCMonth();return"M"===t?String(n+1):d(n+1,2)},d:function(e,t){return d(e.getUTCDate(),t.length)},a:function(e,t){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:function(e,t){return d(e.getUTCHours()%12||12,t.length)},H:function(e,t){return d(e.getUTCHours(),t.length)},m:function(e,t){return d(e.getUTCMinutes(),t.length)},s:function(e,t){return d(e.getUTCSeconds(),t.length)},S:function(e,t){var n=t.length,r=e.getUTCMilliseconds();return d(Math.floor(r*Math.pow(10,n-3)),t.length)}},f="midnight",h="noon",b="morning",A="afternoon",m="evening",g="night",v={G:function(e,t,n){var r=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){var r=e.getUTCFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return p.y(e,t)},Y:function(e,t,n,r){var o=(0,u.Z)(e,r),i=o>0?o:1-o;return"YY"===t?d(i%100,2):"Yo"===t?n.ordinalNumber(i,{unit:"year"}):d(i,t.length)},R:function(e,t){return d((0,l.Z)(e),t.length)},u:function(e,t){return d(e.getUTCFullYear(),t.length)},Q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return d(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return d(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){var r=e.getUTCMonth();switch(t){case"M":case"MM":return p.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){var r=e.getUTCMonth();switch(t){case"L":return String(r+1);case"LL":return d(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){var o=(0,c.Z)(e,r);return"wo"===t?n.ordinalNumber(o,{unit:"week"}):d(o,t.length)},I:function(e,t,n){var r=(0,s.Z)(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):d(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):p.d(e,t)},D:function(e,t,n){var r=function(e){(0,a.Z)(1,arguments);var t=(0,i.default)(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=n-t.getTime();return Math.floor(r/864e5)+1}(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):d(r,t.length)},E:function(e,t,n){var r=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){var o=e.getUTCDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return d(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){var o=e.getUTCDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return d(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){var r=e.getUTCDay(),o=0===r?7:r;switch(t){case"i":return String(o);case"ii":return d(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){var r,o=e.getUTCHours();switch(r=12===o?h:0===o?f:o/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){var r,o=e.getUTCHours();switch(r=o>=17?m:o>=12?A:o>=4?b:g,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){var r=e.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return p.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):p.H(e,t)},K:function(e,t,n){var r=e.getUTCHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):d(r,t.length)},k:function(e,t,n){var r=e.getUTCHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):d(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):p.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):p.s(e,t)},S:function(e,t){return p.S(e,t)},X:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();if(0===o)return"Z";switch(t){case"X":return M(o);case"XXXX":case"XX":return O(o);default:return O(o,":")}},x:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"x":return M(o);case"xxxx":case"xx":return O(o);default:return O(o,":")}},O:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+y(o,":");default:return"GMT"+O(o,":")}},z:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+y(o,":");default:return"GMT"+O(o,":")}},t:function(e,t,n,r){var o=r._originalDate||e;return d(Math.floor(o.getTime()/1e3),t.length)},T:function(e,t,n,r){return d((r._originalDate||e).getTime(),t.length)}};function y(e,t){var n=e>0?"-":"+",r=Math.abs(e),o=Math.floor(r/60),i=r%60;if(0===i)return n+String(o);var a=t||"";return n+String(o)+a+d(i,2)}function M(e,t){return e%60===0?(e>0?"-":"+")+d(Math.abs(e)/60,2):O(e,t)}function O(e,t){var n=t||"",r=e>0?"-":"+",o=Math.abs(e);return r+d(Math.floor(o/60),2)+n+d(o%60,2)}var _=v,z=n(97882),x=n(5025),w=n(57552),C=n(68627),S=n(73149),E=n(94989),k=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,D=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,N=/^'([^]*?)'?$/,T=/''/g,j=/[a-zA-Z]/;function B(e,t,n){var s,l,c,u,d,p,f,h,b,A,m,g,v,y,M,O,B,L;(0,a.Z)(2,arguments);var R=String(t),q=(0,S.j)(),P=null!==(s=null!==(l=null===n||void 0===n?void 0:n.locale)&&void 0!==l?l:q.locale)&&void 0!==s?s:E.Z,I=(0,C.Z)(null!==(c=null!==(u=null!==(d=null!==(p=null===n||void 0===n?void 0:n.firstWeekContainsDate)&&void 0!==p?p:null===n||void 0===n||null===(f=n.locale)||void 0===f||null===(h=f.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==d?d:q.firstWeekContainsDate)&&void 0!==u?u:null===(b=q.locale)||void 0===b||null===(A=b.options)||void 0===A?void 0:A.firstWeekContainsDate)&&void 0!==c?c:1);if(!(I>=1&&I<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var W=(0,C.Z)(null!==(m=null!==(g=null!==(v=null!==(y=null===n||void 0===n?void 0:n.weekStartsOn)&&void 0!==y?y:null===n||void 0===n||null===(M=n.locale)||void 0===M||null===(O=M.options)||void 0===O?void 0:O.weekStartsOn)&&void 0!==v?v:q.weekStartsOn)&&void 0!==g?g:null===(B=q.locale)||void 0===B||null===(L=B.options)||void 0===L?void 0:L.weekStartsOn)&&void 0!==m?m:0);if(!(W>=0&&W<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!P.localize)throw new RangeError("locale must contain localize property");if(!P.formatLong)throw new RangeError("locale must contain formatLong property");var F=(0,i.default)(e);if(!(0,r.default)(F))throw new RangeError("Invalid time value");var U=(0,x.Z)(F),Z=(0,o.Z)(F,U),H={firstWeekContainsDate:I,weekStartsOn:W,locale:P,_originalDate:F};return R.match(D).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,z.Z[t])(e,P.formatLong):e})).join("").match(k).map((function(r){if("''"===r)return"'";var o=r[0];if("'"===o)return function(e){var t=e.match(N);if(!t)return e;return t[1].replace(T,"'")}(r);var i=_[o];if(i)return null!==n&&void 0!==n&&n.useAdditionalWeekYearTokens||!(0,w.Do)(r)||(0,w.qp)(r,t,String(e)),null!==n&&void 0!==n&&n.useAdditionalDayOfYearTokens||!(0,w.Iu)(r)||(0,w.qp)(r,t,String(e)),i(Z,r,P.localize,H);if(o.match(j))throw new RangeError("Format string contains an unescaped latin alphabet character `"+o+"`");return r})).join("")}},94836:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(93601),o=n(34800);function i(e){return(0,o.Z)(1,arguments),(0,r.default)(e).getDate()}},76127:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(93601),o=n(34800);function i(e){return(0,o.Z)(1,arguments),(0,r.default)(e).getDay()}},49593:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(93601),o=n(34800);function i(e){return(0,o.Z)(1,arguments),(0,r.default)(e).getHours()}},80042:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return c}});var r=n(93601),o=n(59376),i=n(34800);function a(e){return(0,i.Z)(1,arguments),(0,o.default)(e,{weekStartsOn:1})}function s(e){(0,i.Z)(1,arguments);var t=function(e){(0,i.Z)(1,arguments);var t=(0,r.default)(e),n=t.getFullYear(),o=new Date(0);o.setFullYear(n+1,0,4),o.setHours(0,0,0,0);var s=a(o),l=new Date(0);l.setFullYear(n,0,4),l.setHours(0,0,0,0);var c=a(l);return t.getTime()>=s.getTime()?n+1:t.getTime()>=c.getTime()?n:n-1}(e),n=new Date(0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),a(n)}var l=6048e5;function c(e){(0,i.Z)(1,arguments);var t=(0,r.default)(e),n=a(t).getTime()-s(t).getTime();return Math.round(n/l)+1}},66110:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(93601),o=n(34800);function i(e){return(0,o.Z)(1,arguments),(0,r.default)(e).getMinutes()}},87910:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(93601),o=n(34800);function i(e){return(0,o.Z)(1,arguments),(0,r.default)(e).getMonth()}},68834:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(93601),o=n(34800);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e);return Math.floor(t.getMonth()/3)+1}},47403:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(93601),o=n(34800);function i(e){return(0,o.Z)(1,arguments),(0,r.default)(e).getSeconds()}},42026:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(93601),o=n(34800);function i(e){return(0,o.Z)(1,arguments),(0,r.default)(e).getTime()}},8121:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(93601),o=n(34800);function i(e){return(0,o.Z)(1,arguments),(0,r.default)(e).getFullYear()}},50567:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(93601),o=n(34800);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t);return n.getTime()>i.getTime()}},33532:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(93601),o=n(34800);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t);return n.getTime()<i.getTime()}},403:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(34800);function o(e){return o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e){return(0,r.Z)(1,arguments),e instanceof Date||"object"===o(e)&&"[object Date]"===Object.prototype.toString.call(e)}},88502:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(93601),o=n(34800);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t);return n.getTime()===i.getTime()}},3051:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(6021),o=n(34800);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t);return n.getTime()===i.getTime()}},98789:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(93601),o=n(34800);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t);return n.getFullYear()===i.getFullYear()&&n.getMonth()===i.getMonth()}},11454:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(54497),o=n(34800);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t);return n.getTime()===i.getTime()}},49301:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(93601),o=n(34800);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t);return n.getFullYear()===i.getFullYear()}},8859:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(403),o=n(93601),i=n(34800);function a(e){if((0,i.Z)(1,arguments),!(0,r.default)(e)&&"number"!==typeof e)return!1;var t=(0,o.default)(e);return!isNaN(Number(t))}},31700:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(93601),o=n(34800);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e).getTime(),i=(0,r.default)(t.start).getTime(),a=(0,r.default)(t.end).getTime();if(!(i<=a))throw new RangeError("Invalid interval");return n>=i&&n<=a}},32288:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(93601),o=n(34800);function i(e){return i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e){var t,n;if((0,o.Z)(1,arguments),e&&"function"===typeof e.forEach)t=e;else{if("object"!==i(e)||null===e)return new Date(NaN);t=Array.prototype.slice.call(e)}return t.forEach((function(e){var t=(0,r.default)(e);(void 0===n||n<t||isNaN(Number(t)))&&(n=t)})),n||new Date(NaN)}},34193:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(93601),o=n(34800);function i(e){return i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e){var t,n;if((0,o.Z)(1,arguments),e&&"function"===typeof e.forEach)t=e;else{if("object"!==i(e)||null===e)return new Date(NaN);t=Array.prototype.slice.call(e)}return t.forEach((function(e){var t=(0,r.default)(e);(void 0===n||n>t||isNaN(t.getDate()))&&(n=t)})),n||new Date(NaN)}},92197:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return Fo}});var r=n(94989),o=n(88076),i=n(93601);function a(e,t){if(null==e)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}var s=n(97882),l=n(5025),c=n(57552),u=n(68627),d=n(34800);function p(e){return p="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function f(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function b(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m(e);if(t){var o=m(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===p(t)||"function"===typeof t))return t;return A(e)}(this,n)}}function A(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t,n){return t&&v(e.prototype,t),n&&v(e,n),e}function M(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var O=function(){function e(){g(this,e),M(this,"subPriority",0)}return y(e,[{key:"validate",value:function(e,t){return!0}}]),e}(),_=function(e){f(n,e);var t=b(n);function n(e,r,o,i,a){var s;return g(this,n),(s=t.call(this)).value=e,s.validateValue=r,s.setValue=o,s.priority=i,a&&(s.subPriority=a),s}return y(n,[{key:"validate",value:function(e,t){return this.validateValue(e,this.value,t)}},{key:"set",value:function(e,t,n){return this.setValue(e,t,this.value,n)}}]),n}(O),z=function(e){f(n,e);var t=b(n);function n(){var e;g(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return M(A(e=t.call.apply(t,[this].concat(o))),"priority",10),M(A(e),"subPriority",-1),e}return y(n,[{key:"set",value:function(e,t){if(t.timestampIsSet)return e;var n=new Date(0);return n.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),n.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),n}}]),n}(O);function x(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var w=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,(n=[{key:"run",value:function(e,t,n,r){var o=this.parse(e,t,n,r);return o?{setter:new _(o.value,this.validate,this.set,this.priority,this.subPriority),rest:o.rest}:null}},{key:"validate",value:function(e,t,n){return!0}}])&&x(t.prototype,n),r&&x(t,r),e}();function C(e){return C="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},C(e)}function S(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function E(e,t){return E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},E(e,t)}function k(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=N(e);if(t){var o=N(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===C(t)||"function"===typeof t))return t;return D(e)}(this,n)}}function D(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N(e){return N=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},N(e)}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var j=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&E(e,t)}(i,e);var t,n,r,o=k(i);function i(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return T(D(e=o.call.apply(o,[this].concat(n))),"priority",140),T(D(e),"incompatibleTokens",["R","u","t","T"]),e}return t=i,(n=[{key:"parse",value:function(e,t,n){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}}},{key:"set",value:function(e,t,n){return t.era=n,e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e}}])&&S(t.prototype,n),r&&S(t,r),i}(w),B=n(47332),L={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},R=/^([+-])(\d{2})(\d{2})?|Z/,q=/^([+-])(\d{2})(\d{2})|Z/,P=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,I=/^([+-])(\d{2}):(\d{2})|Z/,W=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function F(e,t){return e?{value:t(e.value),rest:e.rest}:e}function U(e,t){var n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function Z(e,t){var n=t.match(e);if(!n)return null;if("Z"===n[0])return{value:0,rest:t.slice(1)};var r="+"===n[1]?1:-1,o=n[2]?parseInt(n[2],10):0,i=n[3]?parseInt(n[3],10):0,a=n[5]?parseInt(n[5],10):0;return{value:r*(o*B.vh+i*B.yJ+a*B.qk),rest:t.slice(n[0].length)}}function H(e){return U(L.anyDigitsSigned,e)}function $(e,t){switch(e){case 1:return U(L.singleDigit,t);case 2:return U(L.twoDigits,t);case 3:return U(L.threeDigits,t);case 4:return U(L.fourDigits,t);default:return U(new RegExp("^\\d{1,"+e+"}"),t)}}function V(e,t){switch(e){case 1:return U(L.singleDigitSigned,t);case 2:return U(L.twoDigitsSigned,t);case 3:return U(L.threeDigitsSigned,t);case 4:return U(L.fourDigitsSigned,t);default:return U(new RegExp("^-?\\d{1,"+e+"}"),t)}}function X(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function Q(e,t){var n,r=t>0,o=r?t:1-t;if(o<=50)n=e||100;else{var i=o+50;n=e+100*Math.floor(i/100)-(e>=i%100?100:0)}return r?n:1-n}function Y(e){return e%400===0||e%4===0&&e%100!==0}function G(e){return G="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},G(e)}function K(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function J(e,t){return J=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},J(e,t)}function ee(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ne(e);if(t){var o=ne(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===G(t)||"function"===typeof t))return t;return te(e)}(this,n)}}function te(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ne(e){return ne=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ne(e)}function re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var oe=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&J(e,t)}(i,e);var t,n,r,o=ee(i);function i(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return re(te(e=o.call.apply(o,[this].concat(n))),"priority",130),re(te(e),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),e}return t=i,(n=[{key:"parse",value:function(e,t,n){var r=function(e){return{year:e,isTwoDigitYear:"yy"===t}};switch(t){case"y":return F($(4,e),r);case"yo":return F(n.ordinalNumber(e,{unit:"year"}),r);default:return F($(t.length,e),r)}}},{key:"validate",value:function(e,t){return t.isTwoDigitYear||t.year>0}},{key:"set",value:function(e,t,n){var r=e.getUTCFullYear();if(n.isTwoDigitYear){var o=Q(n.year,r);return e.setUTCFullYear(o,0,1),e.setUTCHours(0,0,0,0),e}var i="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(i,0,1),e.setUTCHours(0,0,0,0),e}}])&&K(t.prototype,n),r&&K(t,r),i}(w),ie=n(59057),ae=n(89489);function se(e){return se="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},se(e)}function le(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ce(e,t){return ce=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},ce(e,t)}function ue(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=pe(e);if(t){var o=pe(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===se(t)||"function"===typeof t))return t;return de(e)}(this,n)}}function de(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pe(e){return pe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},pe(e)}function fe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var he=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ce(e,t)}(i,e);var t,n,r,o=ue(i);function i(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return fe(de(e=o.call.apply(o,[this].concat(n))),"priority",130),fe(de(e),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),e}return t=i,(n=[{key:"parse",value:function(e,t,n){var r=function(e){return{year:e,isTwoDigitYear:"YY"===t}};switch(t){case"Y":return F($(4,e),r);case"Yo":return F(n.ordinalNumber(e,{unit:"year"}),r);default:return F($(t.length,e),r)}}},{key:"validate",value:function(e,t){return t.isTwoDigitYear||t.year>0}},{key:"set",value:function(e,t,n,r){var o=(0,ie.Z)(e,r);if(n.isTwoDigitYear){var i=Q(n.year,o);return e.setUTCFullYear(i,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),(0,ae.Z)(e,r)}var a="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(a,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),(0,ae.Z)(e,r)}}])&&le(t.prototype,n),r&&le(t,r),i}(w),be=n(43276);function Ae(e){return Ae="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ae(e)}function me(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ge(e,t){return ge=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},ge(e,t)}function ve(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Me(e);if(t){var o=Me(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===Ae(t)||"function"===typeof t))return t;return ye(e)}(this,n)}}function ye(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Me(e){return Me=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Me(e)}function Oe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _e=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ge(e,t)}(i,e);var t,n,r,o=ve(i);function i(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Oe(ye(e=o.call.apply(o,[this].concat(n))),"priority",130),Oe(ye(e),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),e}return t=i,(n=[{key:"parse",value:function(e,t){return V("R"===t?4:t.length,e)}},{key:"set",value:function(e,t,n){var r=new Date(0);return r.setUTCFullYear(n,0,4),r.setUTCHours(0,0,0,0),(0,be.Z)(r)}}])&&me(t.prototype,n),r&&me(t,r),i}(w);function ze(e){return ze="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ze(e)}function xe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function we(e,t){return we=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},we(e,t)}function Ce(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ee(e);if(t){var o=Ee(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===ze(t)||"function"===typeof t))return t;return Se(e)}(this,n)}}function Se(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ee(e){return Ee=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Ee(e)}function ke(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var De=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&we(e,t)}(i,e);var t,n,r,o=Ce(i);function i(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return ke(Se(e=o.call.apply(o,[this].concat(n))),"priority",130),ke(Se(e),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),e}return t=i,(n=[{key:"parse",value:function(e,t){return V("u"===t?4:t.length,e)}},{key:"set",value:function(e,t,n){return e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e}}])&&xe(t.prototype,n),r&&xe(t,r),i}(w);function Ne(e){return Ne="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ne(e)}function Te(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function je(e,t){return je=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},je(e,t)}function Be(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Re(e);if(t){var o=Re(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===Ne(t)||"function"===typeof t))return t;return Le(e)}(this,n)}}function Le(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Re(e){return Re=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Re(e)}function qe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Pe=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&je(e,t)}(i,e);var t,n,r,o=Be(i);function i(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return qe(Le(e=o.call.apply(o,[this].concat(n))),"priority",120),qe(Le(e),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),e}return t=i,(n=[{key:"parse",value:function(e,t,n){switch(t){case"Q":case"QQ":return $(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=1&&t<=4}},{key:"set",value:function(e,t,n){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e}}])&&Te(t.prototype,n),r&&Te(t,r),i}(w);function Ie(e){return Ie="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ie(e)}function We(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Fe(e,t){return Fe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Fe(e,t)}function Ue(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=He(e);if(t){var o=He(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===Ie(t)||"function"===typeof t))return t;return Ze(e)}(this,n)}}function Ze(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function He(e){return He=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},He(e)}function $e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ve=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fe(e,t)}(i,e);var t,n,r,o=Ue(i);function i(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return $e(Ze(e=o.call.apply(o,[this].concat(n))),"priority",120),$e(Ze(e),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),e}return t=i,(n=[{key:"parse",value:function(e,t,n){switch(t){case"q":case"qq":return $(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,t){return t>=1&&t<=4}},{key:"set",value:function(e,t,n){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e}}])&&We(t.prototype,n),r&&We(t,r),i}(w);function Xe(e){return Xe="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Xe(e)}function Qe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ye(e,t){return Ye=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Ye(e,t)}function Ge(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Je(e);if(t){var o=Je(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===Xe(t)||"function"===typeof t))return t;return Ke(e)}(this,n)}}function Ke(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Je(e){return Je=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Je(e)}function et(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var tt=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ye(e,t)}(i,e);var t,n,r,o=Ge(i);function i(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return et(Ke(e=o.call.apply(o,[this].concat(n))),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),et(Ke(e),"priority",110),e}return t=i,(n=[{key:"parse",value:function(e,t,n){var r=function(e){return e-1};switch(t){case"M":return F(U(L.month,e),r);case"MM":return F($(2,e),r);case"Mo":return F(n.ordinalNumber(e,{unit:"month"}),r);case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=11}},{key:"set",value:function(e,t,n){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e}}])&&Qe(t.prototype,n),r&&Qe(t,r),i}(w);function nt(e){return nt="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},nt(e)}function rt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ot(e,t){return ot=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},ot(e,t)}function it(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=st(e);if(t){var o=st(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===nt(t)||"function"===typeof t))return t;return at(e)}(this,n)}}function at(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function st(e){return st=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},st(e)}function lt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ct=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ot(e,t)}(i,e);var t,n,r,o=it(i);function i(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return lt(at(e=o.call.apply(o,[this].concat(n))),"priority",110),lt(at(e),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),e}return t=i,(n=[{key:"parse",value:function(e,t,n){var r=function(e){return e-1};switch(t){case"L":return F(U(L.month,e),r);case"LL":return F($(2,e),r);case"Lo":return F(n.ordinalNumber(e,{unit:"month"}),r);case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=11}},{key:"set",value:function(e,t,n){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e}}])&&rt(t.prototype,n),r&&rt(t,r),i}(w),ut=n(33969);function dt(e){return dt="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},dt(e)}function pt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ft(e,t){return ft=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},ft(e,t)}function ht(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=At(e);if(t){var o=At(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===dt(t)||"function"===typeof t))return t;return bt(e)}(this,n)}}function bt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function At(e){return At=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},At(e)}function mt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var gt=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ft(e,t)}(a,e);var t,n,r,o=ht(a);function a(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return mt(bt(e=o.call.apply(o,[this].concat(n))),"priority",100),mt(bt(e),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),e}return t=a,n=[{key:"parse",value:function(e,t,n){switch(t){case"w":return U(L.week,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return $(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=53}},{key:"set",value:function(e,t,n,r){return(0,ae.Z)(function(e,t,n){(0,d.Z)(2,arguments);var r=(0,i.default)(e),o=(0,u.Z)(t),a=(0,ut.Z)(r,n)-o;return r.setUTCDate(r.getUTCDate()-7*a),r}(e,n,r),r)}}],n&&pt(t.prototype,n),r&&pt(t,r),a}(w),vt=n(96738);function yt(e){return yt="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yt(e)}function Mt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ot(e,t){return Ot=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Ot(e,t)}function _t(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=xt(e);if(t){var o=xt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===yt(t)||"function"===typeof t))return t;return zt(e)}(this,n)}}function zt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xt(e){return xt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},xt(e)}function wt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ct=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ot(e,t)}(a,e);var t,n,r,o=_t(a);function a(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return wt(zt(e=o.call.apply(o,[this].concat(n))),"priority",100),wt(zt(e),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),e}return t=a,n=[{key:"parse",value:function(e,t,n){switch(t){case"I":return U(L.week,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return $(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=53}},{key:"set",value:function(e,t,n){return(0,be.Z)(function(e,t){(0,d.Z)(2,arguments);var n=(0,i.default)(e),r=(0,u.Z)(t),o=(0,vt.Z)(n)-r;return n.setUTCDate(n.getUTCDate()-7*o),n}(e,n))}}],n&&Mt(t.prototype,n),r&&Mt(t,r),a}(w);function St(e){return St="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},St(e)}function Et(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function kt(e,t){return kt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},kt(e,t)}function Dt(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Tt(e);if(t){var o=Tt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===St(t)||"function"===typeof t))return t;return Nt(e)}(this,n)}}function Nt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tt(e){return Tt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Tt(e)}function jt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Bt=[31,28,31,30,31,30,31,31,30,31,30,31],Lt=[31,29,31,30,31,30,31,31,30,31,30,31],Rt=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kt(e,t)}(i,e);var t,n,r,o=Dt(i);function i(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return jt(Nt(e=o.call.apply(o,[this].concat(n))),"priority",90),jt(Nt(e),"subPriority",1),jt(Nt(e),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),e}return t=i,(n=[{key:"parse",value:function(e,t,n){switch(t){case"d":return U(L.date,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return $(t.length,e)}}},{key:"validate",value:function(e,t){var n=Y(e.getUTCFullYear()),r=e.getUTCMonth();return n?t>=1&&t<=Lt[r]:t>=1&&t<=Bt[r]}},{key:"set",value:function(e,t,n){return e.setUTCDate(n),e.setUTCHours(0,0,0,0),e}}])&&Et(t.prototype,n),r&&Et(t,r),i}(w);function qt(e){return qt="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qt(e)}function Pt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function It(e,t){return It=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},It(e,t)}function Wt(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ut(e);if(t){var o=Ut(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===qt(t)||"function"===typeof t))return t;return Ft(e)}(this,n)}}function Ft(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ut(e){return Ut=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Ut(e)}function Zt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ht=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&It(e,t)}(i,e);var t,n,r,o=Wt(i);function i(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Zt(Ft(e=o.call.apply(o,[this].concat(n))),"priority",90),Zt(Ft(e),"subpriority",1),Zt(Ft(e),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),e}return t=i,(n=[{key:"parse",value:function(e,t,n){switch(t){case"D":case"DD":return U(L.dayOfYear,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return $(t.length,e)}}},{key:"validate",value:function(e,t){return Y(e.getUTCFullYear())?t>=1&&t<=366:t>=1&&t<=365}},{key:"set",value:function(e,t,n){return e.setUTCMonth(0,n),e.setUTCHours(0,0,0,0),e}}])&&Pt(t.prototype,n),r&&Pt(t,r),i}(w),$t=n(73149);function Vt(e,t,n){var r,o,a,s,l,c,p,f;(0,d.Z)(2,arguments);var h=(0,$t.j)(),b=(0,u.Z)(null!==(r=null!==(o=null!==(a=null!==(s=null===n||void 0===n?void 0:n.weekStartsOn)&&void 0!==s?s:null===n||void 0===n||null===(l=n.locale)||void 0===l||null===(c=l.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==a?a:h.weekStartsOn)&&void 0!==o?o:null===(p=h.locale)||void 0===p||null===(f=p.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==r?r:0);if(!(b>=0&&b<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var A=(0,i.default)(e),m=(0,u.Z)(t),g=((m%7+7)%7<b?7:0)+m-A.getUTCDay();return A.setUTCDate(A.getUTCDate()+g),A}function Xt(e){return Xt="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Xt(e)}function Qt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Yt(e,t){return Yt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Yt(e,t)}function Gt(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Jt(e);if(t){var o=Jt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===Xt(t)||"function"===typeof t))return t;return Kt(e)}(this,n)}}function Kt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jt(e){return Jt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Jt(e)}function en(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var tn=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yt(e,t)}(i,e);var t,n,r,o=Gt(i);function i(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return en(Kt(e=o.call.apply(o,[this].concat(n))),"priority",90),en(Kt(e),"incompatibleTokens",["D","i","e","c","t","T"]),e}return t=i,(n=[{key:"parse",value:function(e,t,n){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=6}},{key:"set",value:function(e,t,n,r){return(e=Vt(e,n,r)).setUTCHours(0,0,0,0),e}}])&&Qt(t.prototype,n),r&&Qt(t,r),i}(w);function nn(e){return nn="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},nn(e)}function rn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function on(e,t){return on=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},on(e,t)}function an(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ln(e);if(t){var o=ln(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===nn(t)||"function"===typeof t))return t;return sn(e)}(this,n)}}function sn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ln(e){return ln=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ln(e)}function cn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var un=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&on(e,t)}(i,e);var t,n,r,o=an(i);function i(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return cn(sn(e=o.call.apply(o,[this].concat(n))),"priority",90),cn(sn(e),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),e}return t=i,(n=[{key:"parse",value:function(e,t,n,r){var o=function(e){var t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return F($(t.length,e),o);case"eo":return F(n.ordinalNumber(e,{unit:"day"}),o);case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=6}},{key:"set",value:function(e,t,n,r){return(e=Vt(e,n,r)).setUTCHours(0,0,0,0),e}}])&&rn(t.prototype,n),r&&rn(t,r),i}(w);function dn(e){return dn="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},dn(e)}function pn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function fn(e,t){return fn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},fn(e,t)}function hn(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=An(e);if(t){var o=An(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===dn(t)||"function"===typeof t))return t;return bn(e)}(this,n)}}function bn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function An(e){return An=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},An(e)}function mn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var gn=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fn(e,t)}(i,e);var t,n,r,o=hn(i);function i(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return mn(bn(e=o.call.apply(o,[this].concat(n))),"priority",90),mn(bn(e),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),e}return t=i,(n=[{key:"parse",value:function(e,t,n,r){var o=function(e){var t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return F($(t.length,e),o);case"co":return F(n.ordinalNumber(e,{unit:"day"}),o);case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=6}},{key:"set",value:function(e,t,n,r){return(e=Vt(e,n,r)).setUTCHours(0,0,0,0),e}}])&&pn(t.prototype,n),r&&pn(t,r),i}(w);function vn(e){return vn="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vn(e)}function yn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Mn(e,t){return Mn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Mn(e,t)}function On(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=zn(e);if(t){var o=zn(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===vn(t)||"function"===typeof t))return t;return _n(e)}(this,n)}}function _n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zn(e){return zn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},zn(e)}function xn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var wn=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mn(e,t)}(a,e);var t,n,r,o=On(a);function a(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return xn(_n(e=o.call.apply(o,[this].concat(n))),"priority",90),xn(_n(e),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),e}return t=a,n=[{key:"parse",value:function(e,t,n){var r=function(e){return 0===e?7:e};switch(t){case"i":case"ii":return $(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return F(n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r);case"iiiii":return F(n.day(e,{width:"narrow",context:"formatting"}),r);case"iiiiii":return F(n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r);default:return F(n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r)}}},{key:"validate",value:function(e,t){return t>=1&&t<=7}},{key:"set",value:function(e,t,n){return e=function(e,t){(0,d.Z)(2,arguments);var n=(0,u.Z)(t);n%7===0&&(n-=7);var r=(0,i.default)(e),o=((n%7+7)%7<1?7:0)+n-r.getUTCDay();return r.setUTCDate(r.getUTCDate()+o),r}(e,n),e.setUTCHours(0,0,0,0),e}}],n&&yn(t.prototype,n),r&&yn(t,r),a}(w);function Cn(e){return Cn="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Cn(e)}function Sn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function En(e,t){return En=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},En(e,t)}function kn(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Nn(e);if(t){var o=Nn(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===Cn(t)||"function"===typeof t))return t;return Dn(e)}(this,n)}}function Dn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nn(e){return Nn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Nn(e)}function Tn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var jn=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&En(e,t)}(i,e);var t,n,r,o=kn(i);function i(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Tn(Dn(e=o.call.apply(o,[this].concat(n))),"priority",80),Tn(Dn(e),"incompatibleTokens",["b","B","H","k","t","T"]),e}return t=i,(n=[{key:"parse",value:function(e,t,n){switch(t){case"a":case"aa":case"aaa":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,n){return e.setUTCHours(X(n),0,0,0),e}}])&&Sn(t.prototype,n),r&&Sn(t,r),i}(w);function Bn(e){return Bn="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Bn(e)}function Ln(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Rn(e,t){return Rn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Rn(e,t)}function qn(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=In(e);if(t){var o=In(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===Bn(t)||"function"===typeof t))return t;return Pn(e)}(this,n)}}function Pn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function In(e){return In=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},In(e)}function Wn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Fn=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rn(e,t)}(i,e);var t,n,r,o=qn(i);function i(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Wn(Pn(e=o.call.apply(o,[this].concat(n))),"priority",80),Wn(Pn(e),"incompatibleTokens",["a","B","H","k","t","T"]),e}return t=i,(n=[{key:"parse",value:function(e,t,n){switch(t){case"b":case"bb":case"bbb":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,n){return e.setUTCHours(X(n),0,0,0),e}}])&&Ln(t.prototype,n),r&&Ln(t,r),i}(w);function Un(e){return Un="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Un(e)}function Zn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Hn(e,t){return Hn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Hn(e,t)}function $n(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Xn(e);if(t){var o=Xn(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===Un(t)||"function"===typeof t))return t;return Vn(e)}(this,n)}}function Vn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xn(e){return Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Xn(e)}function Qn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Yn=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hn(e,t)}(i,e);var t,n,r,o=$n(i);function i(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Qn(Vn(e=o.call.apply(o,[this].concat(n))),"priority",80),Qn(Vn(e),"incompatibleTokens",["a","b","t","T"]),e}return t=i,(n=[{key:"parse",value:function(e,t,n){switch(t){case"B":case"BB":case"BBB":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,n){return e.setUTCHours(X(n),0,0,0),e}}])&&Zn(t.prototype,n),r&&Zn(t,r),i}(w);function Gn(e){return Gn="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Gn(e)}function Kn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Jn(e,t){return Jn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Jn(e,t)}function er(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=nr(e);if(t){var o=nr(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===Gn(t)||"function"===typeof t))return t;return tr(e)}(this,n)}}function tr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nr(e){return nr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},nr(e)}function rr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var or=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jn(e,t)}(i,e);var t,n,r,o=er(i);function i(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return rr(tr(e=o.call.apply(o,[this].concat(n))),"priority",70),rr(tr(e),"incompatibleTokens",["H","K","k","t","T"]),e}return t=i,(n=[{key:"parse",value:function(e,t,n){switch(t){case"h":return U(L.hour12h,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return $(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=12}},{key:"set",value:function(e,t,n){var r=e.getUTCHours()>=12;return r&&n<12?e.setUTCHours(n+12,0,0,0):r||12!==n?e.setUTCHours(n,0,0,0):e.setUTCHours(0,0,0,0),e}}])&&Kn(t.prototype,n),r&&Kn(t,r),i}(w);function ir(e){return ir="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ir(e)}function ar(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function sr(e,t){return sr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},sr(e,t)}function lr(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ur(e);if(t){var o=ur(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===ir(t)||"function"===typeof t))return t;return cr(e)}(this,n)}}function cr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ur(e){return ur=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ur(e)}function dr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var pr=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sr(e,t)}(i,e);var t,n,r,o=lr(i);function i(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return dr(cr(e=o.call.apply(o,[this].concat(n))),"priority",70),dr(cr(e),"incompatibleTokens",["a","b","h","K","k","t","T"]),e}return t=i,(n=[{key:"parse",value:function(e,t,n){switch(t){case"H":return U(L.hour23h,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return $(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=23}},{key:"set",value:function(e,t,n){return e.setUTCHours(n,0,0,0),e}}])&&ar(t.prototype,n),r&&ar(t,r),i}(w);function fr(e){return fr="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fr(e)}function hr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function br(e,t){return br=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},br(e,t)}function Ar(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=gr(e);if(t){var o=gr(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===fr(t)||"function"===typeof t))return t;return mr(e)}(this,n)}}function mr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gr(e){return gr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},gr(e)}function vr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var yr=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&br(e,t)}(i,e);var t,n,r,o=Ar(i);function i(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return vr(mr(e=o.call.apply(o,[this].concat(n))),"priority",70),vr(mr(e),"incompatibleTokens",["h","H","k","t","T"]),e}return t=i,(n=[{key:"parse",value:function(e,t,n){switch(t){case"K":return U(L.hour11h,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return $(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=11}},{key:"set",value:function(e,t,n){return e.getUTCHours()>=12&&n<12?e.setUTCHours(n+12,0,0,0):e.setUTCHours(n,0,0,0),e}}])&&hr(t.prototype,n),r&&hr(t,r),i}(w);function Mr(e){return Mr="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Mr(e)}function Or(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _r(e,t){return _r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},_r(e,t)}function zr(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=wr(e);if(t){var o=wr(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===Mr(t)||"function"===typeof t))return t;return xr(e)}(this,n)}}function xr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wr(e){return wr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},wr(e)}function Cr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Sr=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_r(e,t)}(i,e);var t,n,r,o=zr(i);function i(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Cr(xr(e=o.call.apply(o,[this].concat(n))),"priority",70),Cr(xr(e),"incompatibleTokens",["a","b","h","H","K","t","T"]),e}return t=i,(n=[{key:"parse",value:function(e,t,n){switch(t){case"k":return U(L.hour24h,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return $(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=24}},{key:"set",value:function(e,t,n){var r=n<=24?n%24:n;return e.setUTCHours(r,0,0,0),e}}])&&Or(t.prototype,n),r&&Or(t,r),i}(w);function Er(e){return Er="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Er(e)}function kr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Dr(e,t){return Dr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Dr(e,t)}function Nr(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=jr(e);if(t){var o=jr(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===Er(t)||"function"===typeof t))return t;return Tr(e)}(this,n)}}function Tr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jr(e){return jr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},jr(e)}function Br(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Lr=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dr(e,t)}(i,e);var t,n,r,o=Nr(i);function i(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Br(Tr(e=o.call.apply(o,[this].concat(n))),"priority",60),Br(Tr(e),"incompatibleTokens",["t","T"]),e}return t=i,(n=[{key:"parse",value:function(e,t,n){switch(t){case"m":return U(L.minute,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return $(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=59}},{key:"set",value:function(e,t,n){return e.setUTCMinutes(n,0,0),e}}])&&kr(t.prototype,n),r&&kr(t,r),i}(w);function Rr(e){return Rr="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Rr(e)}function qr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Pr(e,t){return Pr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Pr(e,t)}function Ir(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Fr(e);if(t){var o=Fr(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===Rr(t)||"function"===typeof t))return t;return Wr(e)}(this,n)}}function Wr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fr(e){return Fr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Fr(e)}function Ur(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Zr=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pr(e,t)}(i,e);var t,n,r,o=Ir(i);function i(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Ur(Wr(e=o.call.apply(o,[this].concat(n))),"priority",50),Ur(Wr(e),"incompatibleTokens",["t","T"]),e}return t=i,(n=[{key:"parse",value:function(e,t,n){switch(t){case"s":return U(L.second,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return $(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=59}},{key:"set",value:function(e,t,n){return e.setUTCSeconds(n,0),e}}])&&qr(t.prototype,n),r&&qr(t,r),i}(w);function Hr(e){return Hr="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Hr(e)}function $r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Vr(e,t){return Vr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Vr(e,t)}function Xr(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Yr(e);if(t){var o=Yr(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===Hr(t)||"function"===typeof t))return t;return Qr(e)}(this,n)}}function Qr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yr(e){return Yr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Yr(e)}function Gr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Kr=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vr(e,t)}(i,e);var t,n,r,o=Xr(i);function i(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Gr(Qr(e=o.call.apply(o,[this].concat(n))),"priority",30),Gr(Qr(e),"incompatibleTokens",["t","T"]),e}return t=i,(n=[{key:"parse",value:function(e,t){return F($(t.length,e),(function(e){return Math.floor(e*Math.pow(10,3-t.length))}))}},{key:"set",value:function(e,t,n){return e.setUTCMilliseconds(n),e}}])&&$r(t.prototype,n),r&&$r(t,r),i}(w);function Jr(e){return Jr="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Jr(e)}function eo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function to(e,t){return to=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},to(e,t)}function no(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=oo(e);if(t){var o=oo(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===Jr(t)||"function"===typeof t))return t;return ro(e)}(this,n)}}function ro(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oo(e){return oo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},oo(e)}function io(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ao=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&to(e,t)}(i,e);var t,n,r,o=no(i);function i(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return io(ro(e=o.call.apply(o,[this].concat(n))),"priority",10),io(ro(e),"incompatibleTokens",["t","T","x"]),e}return t=i,(n=[{key:"parse",value:function(e,t){switch(t){case"X":return Z(R,e);case"XX":return Z(q,e);case"XXXX":return Z(P,e);case"XXXXX":return Z(W,e);default:return Z(I,e)}}},{key:"set",value:function(e,t,n){return t.timestampIsSet?e:new Date(e.getTime()-n)}}])&&eo(t.prototype,n),r&&eo(t,r),i}(w);function so(e){return so="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},so(e)}function lo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function co(e,t){return co=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},co(e,t)}function uo(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=fo(e);if(t){var o=fo(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===so(t)||"function"===typeof t))return t;return po(e)}(this,n)}}function po(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fo(e){return fo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},fo(e)}function ho(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var bo=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&co(e,t)}(i,e);var t,n,r,o=uo(i);function i(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return ho(po(e=o.call.apply(o,[this].concat(n))),"priority",10),ho(po(e),"incompatibleTokens",["t","T","X"]),e}return t=i,(n=[{key:"parse",value:function(e,t){switch(t){case"x":return Z(R,e);case"xx":return Z(q,e);case"xxxx":return Z(P,e);case"xxxxx":return Z(W,e);default:return Z(I,e)}}},{key:"set",value:function(e,t,n){return t.timestampIsSet?e:new Date(e.getTime()-n)}}])&&lo(t.prototype,n),r&&lo(t,r),i}(w);function Ao(e){return Ao="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ao(e)}function mo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function go(e,t){return go=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},go(e,t)}function vo(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Mo(e);if(t){var o=Mo(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===Ao(t)||"function"===typeof t))return t;return yo(e)}(this,n)}}function yo(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mo(e){return Mo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Mo(e)}function Oo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _o=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&go(e,t)}(i,e);var t,n,r,o=vo(i);function i(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Oo(yo(e=o.call.apply(o,[this].concat(n))),"priority",40),Oo(yo(e),"incompatibleTokens","*"),e}return t=i,(n=[{key:"parse",value:function(e){return H(e)}},{key:"set",value:function(e,t,n){return[new Date(1e3*n),{timestampIsSet:!0}]}}])&&mo(t.prototype,n),r&&mo(t,r),i}(w);function zo(e){return zo="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},zo(e)}function xo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function wo(e,t){return wo=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},wo(e,t)}function Co(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Eo(e);if(t){var o=Eo(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===zo(t)||"function"===typeof t))return t;return So(e)}(this,n)}}function So(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Eo(e){return Eo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Eo(e)}function ko(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Do=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wo(e,t)}(i,e);var t,n,r,o=Co(i);function i(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return ko(So(e=o.call.apply(o,[this].concat(n))),"priority",20),ko(So(e),"incompatibleTokens","*"),e}return t=i,(n=[{key:"parse",value:function(e){return H(e)}},{key:"set",value:function(e,t,n){return[new Date(n),{timestampIsSet:!0}]}}])&&xo(t.prototype,n),r&&xo(t,r),i}(w),No={G:new j,y:new oe,Y:new he,R:new _e,u:new De,Q:new Pe,q:new Ve,M:new tt,L:new ct,w:new gt,I:new Ct,d:new Rt,D:new Ht,E:new tn,e:new un,c:new gn,i:new wn,a:new jn,b:new Fn,B:new Yn,h:new or,H:new pr,K:new yr,k:new Sr,m:new Lr,s:new Zr,S:new Kr,X:new ao,x:new bo,t:new _o,T:new Do};function To(e){return To="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},To(e)}function jo(e,t){var n;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return Bo(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Bo(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},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 i,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function Bo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Lo=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ro=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,qo=/^'([^]*?)'?$/,Po=/''/g,Io=/\S/,Wo=/[a-zA-Z]/;function Fo(e,t,n,p){var f,h,b,A,m,g,v,y,M,O,_,x,w,C,S,E,k,D;(0,d.Z)(3,arguments);var N=String(e),T=String(t),j=(0,$t.j)(),B=null!==(f=null!==(h=null===p||void 0===p?void 0:p.locale)&&void 0!==h?h:j.locale)&&void 0!==f?f:r.Z;if(!B.match)throw new RangeError("locale must contain match property");var L=(0,u.Z)(null!==(b=null!==(A=null!==(m=null!==(g=null===p||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==g?g:null===p||void 0===p||null===(v=p.locale)||void 0===v||null===(y=v.options)||void 0===y?void 0:y.firstWeekContainsDate)&&void 0!==m?m:j.firstWeekContainsDate)&&void 0!==A?A:null===(M=j.locale)||void 0===M||null===(O=M.options)||void 0===O?void 0:O.firstWeekContainsDate)&&void 0!==b?b:1);if(!(L>=1&&L<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var R=(0,u.Z)(null!==(_=null!==(x=null!==(w=null!==(C=null===p||void 0===p?void 0:p.weekStartsOn)&&void 0!==C?C:null===p||void 0===p||null===(S=p.locale)||void 0===S||null===(E=S.options)||void 0===E?void 0:E.weekStartsOn)&&void 0!==w?w:j.weekStartsOn)&&void 0!==x?x:null===(k=j.locale)||void 0===k||null===(D=k.options)||void 0===D?void 0:D.weekStartsOn)&&void 0!==_?_:0);if(!(R>=0&&R<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===T)return""===N?(0,i.default)(n):new Date(NaN);var q,P={firstWeekContainsDate:L,weekStartsOn:R,locale:B},I=[new z],W=T.match(Ro).map((function(e){var t=e[0];return t in s.Z?(0,s.Z[t])(e,B.formatLong):e})).join("").match(Lo),F=[],U=jo(W);try{var Z=function(){var t=q.value;null!==p&&void 0!==p&&p.useAdditionalWeekYearTokens||!(0,c.Do)(t)||(0,c.qp)(t,T,e),null!==p&&void 0!==p&&p.useAdditionalDayOfYearTokens||!(0,c.Iu)(t)||(0,c.qp)(t,T,e);var n=t[0],r=No[n];if(r){var o=r.incompatibleTokens;if(Array.isArray(o)){var i=F.find((function(e){return o.includes(e.token)||e.token===n}));if(i)throw new RangeError("The format string mustn't contain `".concat(i.fullToken,"` and `").concat(t,"` at the same time"))}else if("*"===r.incompatibleTokens&&F.length>0)throw new RangeError("The format string mustn't contain `".concat(t,"` and any other token at the same time"));F.push({token:n,fullToken:t});var a=r.run(N,t,B.match,P);if(!a)return{v:new Date(NaN)};I.push(a.setter),N=a.rest}else{if(n.match(Wo))throw new RangeError("Format string contains an unescaped latin alphabet character `"+n+"`");if("''"===t?t="'":"'"===n&&(t=t.match(qo)[1].replace(Po,"'")),0!==N.indexOf(t))return{v:new Date(NaN)};N=N.slice(t.length)}};for(U.s();!(q=U.n()).done;){var H=Z();if("object"===To(H))return H.v}}catch(ee){U.e(ee)}finally{U.f()}if(N.length>0&&Io.test(N))return new Date(NaN);var $=I.map((function(e){return e.priority})).sort((function(e,t){return t-e})).filter((function(e,t,n){return n.indexOf(e)===t})).map((function(e){return I.filter((function(t){return t.priority===e})).sort((function(e,t){return t.subPriority-e.subPriority}))})).map((function(e){return e[0]})),V=(0,i.default)(n);if(isNaN(V.getTime()))return new Date(NaN);var X,Q=(0,o.Z)(V,(0,l.Z)(V)),Y={},G=jo($);try{for(G.s();!(X=G.n()).done;){var K=X.value;if(!K.validate(Q,P))return new Date(NaN);var J=K.set(Q,Y,P);Array.isArray(J)?(Q=J[0],a(Y,J[1])):Q=J}}catch(ee){G.e(ee)}finally{G.f()}return Q}},50514:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(47332),o=n(34800),i=n(68627);function a(e,t){var n;(0,o.Z)(1,arguments);var a=(0,i.Z)(null!==(n=null===t||void 0===t?void 0:t.additionalDigits)&&void 0!==n?n:2);if(2!==a&&1!==a&&0!==a)throw new RangeError("additionalDigits must be 0, 1 or 2");if("string"!==typeof e&&"[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);var b,A=function(e){var t,n={},r=e.split(s.dateTimeDelimiter);if(r.length>2)return n;/:/.test(r[0])?t=r[0]:(n.date=r[0],t=r[1],s.timeZoneDelimiter.test(n.date)&&(n.date=e.split(s.timeZoneDelimiter)[0],t=e.substr(n.date.length,e.length)));if(t){var o=s.timezone.exec(t);o?(n.time=t.replace(o[1],""),n.timezone=o[1]):n.time=t}return n}(e);if(A.date){var m=function(e,t){var n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};var o=r[1]?parseInt(r[1]):null,i=r[2]?parseInt(r[2]):null;return{year:null===i?o:100*i,restDateString:e.slice((r[1]||r[2]).length)}}(A.date,a);b=function(e,t){if(null===t)return new Date(NaN);var n=e.match(l);if(!n)return new Date(NaN);var r=!!n[4],o=d(n[1]),i=d(n[2])-1,a=d(n[3]),s=d(n[4]),c=d(n[5])-1;if(r)return function(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}(0,s,c)?function(e,t,n){var r=new Date(0);r.setUTCFullYear(e,0,4);var o=r.getUTCDay()||7,i=7*(t-1)+n+1-o;return r.setUTCDate(r.getUTCDate()+i),r}(t,s,c):new Date(NaN);var u=new Date(0);return function(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(f[t]||(h(e)?29:28))}(t,i,a)&&function(e,t){return t>=1&&t<=(h(e)?366:365)}(t,o)?(u.setUTCFullYear(t,i,Math.max(o,a)),u):new Date(NaN)}(m.restDateString,m.year)}if(!b||isNaN(b.getTime()))return new Date(NaN);var g,v=b.getTime(),y=0;if(A.time&&(y=function(e){var t=e.match(c);if(!t)return NaN;var n=p(t[1]),o=p(t[2]),i=p(t[3]);if(!function(e,t,n){if(24===e)return 0===t&&0===n;return n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}(n,o,i))return NaN;return n*r.vh+o*r.yJ+1e3*i}(A.time),isNaN(y)))return new Date(NaN);if(!A.timezone){var M=new Date(v+y),O=new Date(0);return O.setFullYear(M.getUTCFullYear(),M.getUTCMonth(),M.getUTCDate()),O.setHours(M.getUTCHours(),M.getUTCMinutes(),M.getUTCSeconds(),M.getUTCMilliseconds()),O}return g=function(e){if("Z"===e)return 0;var t=e.match(u);if(!t)return 0;var n="+"===t[1]?-1:1,o=parseInt(t[2]),i=t[3]&&parseInt(t[3])||0;if(!function(e,t){return t>=0&&t<=59}(0,i))return NaN;return n*(o*r.vh+i*r.yJ)}(A.timezone),isNaN(g)?new Date(NaN):new Date(v+y+g)}var s={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},l=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,c=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,u=/^([+-])(\d{2})(?::?(\d{2}))?$/;function d(e){return e?parseInt(e):1}function p(e){return e&&parseFloat(e.replace(",","."))||0}var f=[31,null,31,30,31,30,31,31,30,31,30,31];function h(e){return e%400===0||e%4===0&&e%100!==0}},10586:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return l}});var r=n(93601),o=n(68659),i=n(68627),a=n(34800);function s(e){return s="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(e,t){if((0,a.Z)(2,arguments),"object"!==s(t)||null===t)throw new RangeError("values parameter must be an object");var n=(0,r.default)(e);return isNaN(n.getTime())?new Date(NaN):(null!=t.year&&n.setFullYear(t.year),null!=t.month&&(n=(0,o.default)(n,t.month)),null!=t.date&&n.setDate((0,i.Z)(t.date)),null!=t.hours&&n.setHours((0,i.Z)(t.hours)),null!=t.minutes&&n.setMinutes((0,i.Z)(t.minutes)),null!=t.seconds&&n.setSeconds((0,i.Z)(t.seconds)),null!=t.milliseconds&&n.setMilliseconds((0,i.Z)(t.milliseconds)),n)}},79364:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(68627),o=n(93601),i=n(34800);function a(e,t){(0,i.Z)(2,arguments);var n=(0,o.default)(e),a=(0,r.Z)(t);return n.setHours(a),n}},77275:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(68627),o=n(93601),i=n(34800);function a(e,t){(0,i.Z)(2,arguments);var n=(0,o.default)(e),a=(0,r.Z)(t);return n.setMinutes(a),n}},68659:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(68627),o=n(93601),i=n(34800);function a(e,t){(0,i.Z)(2,arguments);var n=(0,o.default)(e),a=(0,r.Z)(t),s=n.getFullYear(),l=n.getDate(),c=new Date(0);c.setFullYear(s,a,15),c.setHours(0,0,0,0);var u=function(e){(0,i.Z)(1,arguments);var t=(0,o.default)(e),n=t.getFullYear(),r=t.getMonth(),a=new Date(0);return a.setFullYear(n,r+1,0),a.setHours(0,0,0,0),a.getDate()}(c);return n.setMonth(a,Math.min(l,u)),n}},33897:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return s}});var r=n(68627),o=n(93601),i=n(68659),a=n(34800);function s(e,t){(0,a.Z)(2,arguments);var n=(0,o.default)(e),s=(0,r.Z)(t)-(Math.floor(n.getMonth()/3)+1);return(0,i.default)(n,n.getMonth()+3*s)}},14228:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(68627),o=n(93601),i=n(34800);function a(e,t){(0,i.Z)(2,arguments);var n=(0,o.default)(e),a=(0,r.Z)(t);return n.setSeconds(a),n}},20644:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(68627),o=n(93601),i=n(34800);function a(e,t){(0,i.Z)(2,arguments);var n=(0,o.default)(e),a=(0,r.Z)(t);return isNaN(n.getTime())?new Date(NaN):(n.setFullYear(a),n)}},6021:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(93601),o=n(34800);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e);return t.setHours(0,0,0,0),t}},41156:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(93601),o=n(34800);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e);return t.setDate(1),t.setHours(0,0,0,0),t}},54497:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(93601),o=n(34800);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e),n=t.getMonth(),i=n-n%3;return t.setMonth(i,1),t.setHours(0,0,0,0),t}},59376:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return s}});var r=n(93601),o=n(68627),i=n(34800),a=n(73149);function s(e,t){var n,s,l,c,u,d,p,f;(0,i.Z)(1,arguments);var h=(0,a.j)(),b=(0,o.Z)(null!==(n=null!==(s=null!==(l=null!==(c=null===t||void 0===t?void 0:t.weekStartsOn)&&void 0!==c?c:null===t||void 0===t||null===(u=t.locale)||void 0===u||null===(d=u.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==l?l:h.weekStartsOn)&&void 0!==s?s:null===(p=h.locale)||void 0===p||null===(f=p.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==n?n:0);if(!(b>=0&&b<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var A=(0,r.default)(e),m=A.getDay(),g=(m<b?7:0)+m-b;return A.setDate(A.getDate()-g),A.setHours(0,0,0,0),A}},9519:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(93601),o=n(34800);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e),n=new Date(0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}},85825:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(99004),o=n(34800),i=n(68627);function a(e,t){(0,o.Z)(2,arguments);var n=(0,i.Z)(t);return(0,r.default)(e,-n)}},15574:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(60206),o=n(34800),i=n(68627);function a(e,t){(0,o.Z)(2,arguments);var n=(0,i.Z)(t);return(0,r.default)(e,-n)}},88076:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(84485),o=n(34800),i=n(68627);function a(e,t){(0,o.Z)(2,arguments);var n=(0,i.Z)(t);return(0,r.Z)(e,-n)}},35563:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(91469),o=n(34800),i=n(68627);function a(e,t){(0,o.Z)(2,arguments);var n=(0,i.Z)(t);return(0,r.default)(e,-n)}},66874:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(68627),o=n(79254),i=n(34800);function a(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(t);return(0,o.default)(e,-n)}},77801:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(68627),o=n(46866),i=n(34800);function a(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(t);return(0,o.default)(e,-n)}},75160:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(68627),o=n(78392),i=n(34800);function a(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(t);return(0,o.default)(e,-n)}},1711:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(68627),o=n(83618),i=n(34800);function a(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(t);return(0,o.default)(e,-n)}},93601:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(34800);function o(e){return o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e){(0,r.Z)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===o(e)&&"[object Date]"===t?new Date(e.getTime()):"number"===typeof e||"[object Number]"===t?new Date(e):("string"!==typeof e&&"[object String]"!==t||"undefined"===typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}},89959:function(e,t,n){"use strict";var r=n(66328),o="function"===typeof Symbol&&"symbol"===typeof Symbol("foo"),i=Object.prototype.toString,a=Array.prototype.concat,s=Object.defineProperty,l=n(82926)(),c=s&&l,u=function(e,t,n,r){if(t in e)if(!0===r){if(e[t]===n)return}else if("function"!==typeof(o=r)||"[object Function]"!==i.call(o)||!r())return;var o;c?s(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n},d=function(e,t){var n=arguments.length>2?arguments[2]:{},i=r(t);o&&(i=a.call(i,Object.getOwnPropertySymbols(t)));for(var s=0;s<i.length;s+=1)u(e,i[s],t[i[s]],n[i[s]])};d.supportsDescriptors=!!c,e.exports=d},31190:function(e){"use strict";e.exports=function(e){if(arguments.length<1)throw new TypeError("1 argument is required");if("object"!==typeof e)throw new TypeError("Argument 1 (\u201dother\u201c) to Node.contains must be an instance of Node");var t=e;do{if(this===t)return!0;t&&(t=t.parentNode)}while(t);return!1}},90418:function(e,t,n){"use strict";var r=n(89959),o=n(31190),i=n(53503),a=i(),s=function(e,t){return a.apply(e,[t])};r(s,{getPolyfill:i,implementation:o,shim:n(90566)}),e.exports=s},53503:function(e,t,n){"use strict";var r=n(31190);e.exports=function(){if("undefined"!==typeof document){if(document.contains)return document.contains;if(document.body&&document.body.contains)try{if("boolean"===typeof document.body.contains.call(document,""))return document.body.contains}catch(e){}}return r}},90566:function(e,t,n){"use strict";var r=n(89959),o=n(53503);e.exports=function(){var e=o();return"undefined"!==typeof document&&(r(document,{contains:e},{contains:function(){return document.contains!==e}}),"undefined"!==typeof Element&&r(Element.prototype,{contains:e},{contains:function(){return Element.prototype.contains!==e}})),e}},313:function(e){e.exports=function(){"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,n){return t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},t(e,n)}function n(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function r(e,o,i){return r=n()?Reflect.construct:function(e,n,r){var o=[null];o.push.apply(o,n);var i=new(Function.bind.apply(e,o));return r&&t(i,r.prototype),i},r.apply(null,arguments)}function o(e){return i(e)||a(e)||s(e)||c()}function i(e){if(Array.isArray(e))return l(e)}function a(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function s(e,t){if(e){if("string"===typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u=Object.hasOwnProperty,d=Object.setPrototypeOf,p=Object.isFrozen,f=Object.getPrototypeOf,h=Object.getOwnPropertyDescriptor,b=Object.freeze,A=Object.seal,m=Object.create,g="undefined"!==typeof Reflect&&Reflect,v=g.apply,y=g.construct;v||(v=function(e,t,n){return e.apply(t,n)}),b||(b=function(e){return e}),A||(A=function(e){return e}),y||(y=function(e,t){return r(e,o(t))});var M=N(Array.prototype.forEach),O=N(Array.prototype.pop),_=N(Array.prototype.push),z=N(String.prototype.toLowerCase),x=N(String.prototype.toString),w=N(String.prototype.match),C=N(String.prototype.replace),S=N(String.prototype.indexOf),E=N(String.prototype.trim),k=N(RegExp.prototype.test),D=T(TypeError);function N(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return v(e,t,r)}}function T(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return y(e,n)}}function j(e,t,n){var r;n=null!==(r=n)&&void 0!==r?r:z,d&&d(e,null);for(var o=t.length;o--;){var i=t[o];if("string"===typeof i){var a=n(i);a!==i&&(p(t)||(t[o]=a),i=a)}e[i]=!0}return e}function B(e){var t,n=m(null);for(t in e)!0===v(u,e,[t])&&(n[t]=e[t]);return n}function L(e,t){for(;null!==e;){var n=h(e,t);if(n){if(n.get)return N(n.get);if("function"===typeof n.value)return N(n.value)}e=f(e)}function r(e){return console.warn("fallback value for",e),null}return r}var R=b(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),q=b(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),P=b(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),I=b(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),W=b(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),F=b(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),U=b(["#text"]),Z=b(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),H=b(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),$=b(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),V=b(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),X=A(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Q=A(/<%[\w\W]*|[\w\W]*%>/gm),Y=A(/\${[\w\W]*}/gm),G=A(/^data-[\-\w.\u00B7-\uFFFF]/),K=A(/^aria-[\-\w]+$/),J=A(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ee=A(/^(?:\w+script|data):/i),te=A(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ne=A(/^html$/i),re=function(){return"undefined"===typeof window?null:window},oe=function(t,n){if("object"!==e(t)||"function"!==typeof t.createPolicy)return null;var r=null,o="data-tt-policy-suffix";n.currentScript&&n.currentScript.hasAttribute(o)&&(r=n.currentScript.getAttribute(o));var i="dompurify"+(r?"#"+r:"");try{return t.createPolicy(i,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(a){return console.warn("TrustedTypes policy "+i+" could not be created."),null}};function ie(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:re(),n=function(e){return ie(e)};if(n.version="2.4.7",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var r=t.document,i=t.document,a=t.DocumentFragment,s=t.HTMLTemplateElement,l=t.Node,c=t.Element,u=t.NodeFilter,d=t.NamedNodeMap,p=void 0===d?t.NamedNodeMap||t.MozNamedAttrMap:d,f=t.HTMLFormElement,h=t.DOMParser,A=t.trustedTypes,m=c.prototype,g=L(m,"cloneNode"),v=L(m,"nextSibling"),y=L(m,"childNodes"),N=L(m,"parentNode");if("function"===typeof s){var T=i.createElement("template");T.content&&T.content.ownerDocument&&(i=T.content.ownerDocument)}var ae=oe(A,r),se=ae?ae.createHTML(""):"",le=i,ce=le.implementation,ue=le.createNodeIterator,de=le.createDocumentFragment,pe=le.getElementsByTagName,fe=r.importNode,he={};try{he=B(i).documentMode?i.documentMode:{}}catch(Tt){}var be={};n.isSupported="function"===typeof N&&ce&&void 0!==ce.createHTMLDocument&&9!==he;var Ae,me,ge=X,ve=Q,ye=Y,Me=G,Oe=K,_e=ee,ze=te,xe=J,we=null,Ce=j({},[].concat(o(R),o(q),o(P),o(W),o(U))),Se=null,Ee=j({},[].concat(o(Z),o(H),o($),o(V))),ke=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),De=null,Ne=null,Te=!0,je=!0,Be=!1,Le=!0,Re=!1,qe=!1,Pe=!1,Ie=!1,We=!1,Fe=!1,Ue=!1,Ze=!0,He=!1,$e="user-content-",Ve=!0,Xe=!1,Qe={},Ye=null,Ge=j({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Ke=null,Je=j({},["audio","video","img","source","image","track"]),et=null,tt=j({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),nt="http://www.w3.org/1998/Math/MathML",rt="http://www.w3.org/2000/svg",ot="http://www.w3.org/1999/xhtml",it=ot,at=!1,st=null,lt=j({},[nt,rt,ot],x),ct=["application/xhtml+xml","text/html"],ut="text/html",dt=null,pt=i.createElement("form"),ft=function(e){return e instanceof RegExp||e instanceof Function},ht=function(t){dt&&dt===t||(t&&"object"===e(t)||(t={}),t=B(t),Ae=Ae=-1===ct.indexOf(t.PARSER_MEDIA_TYPE)?ut:t.PARSER_MEDIA_TYPE,me="application/xhtml+xml"===Ae?x:z,we="ALLOWED_TAGS"in t?j({},t.ALLOWED_TAGS,me):Ce,Se="ALLOWED_ATTR"in t?j({},t.ALLOWED_ATTR,me):Ee,st="ALLOWED_NAMESPACES"in t?j({},t.ALLOWED_NAMESPACES,x):lt,et="ADD_URI_SAFE_ATTR"in t?j(B(tt),t.ADD_URI_SAFE_ATTR,me):tt,Ke="ADD_DATA_URI_TAGS"in t?j(B(Je),t.ADD_DATA_URI_TAGS,me):Je,Ye="FORBID_CONTENTS"in t?j({},t.FORBID_CONTENTS,me):Ge,De="FORBID_TAGS"in t?j({},t.FORBID_TAGS,me):{},Ne="FORBID_ATTR"in t?j({},t.FORBID_ATTR,me):{},Qe="USE_PROFILES"in t&&t.USE_PROFILES,Te=!1!==t.ALLOW_ARIA_ATTR,je=!1!==t.ALLOW_DATA_ATTR,Be=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Le=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,Re=t.SAFE_FOR_TEMPLATES||!1,qe=t.WHOLE_DOCUMENT||!1,We=t.RETURN_DOM||!1,Fe=t.RETURN_DOM_FRAGMENT||!1,Ue=t.RETURN_TRUSTED_TYPE||!1,Ie=t.FORCE_BODY||!1,Ze=!1!==t.SANITIZE_DOM,He=t.SANITIZE_NAMED_PROPS||!1,Ve=!1!==t.KEEP_CONTENT,Xe=t.IN_PLACE||!1,xe=t.ALLOWED_URI_REGEXP||xe,it=t.NAMESPACE||ot,ke=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&ft(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ke.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&ft(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ke.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"===typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(ke.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Re&&(je=!1),Fe&&(We=!0),Qe&&(we=j({},o(U)),Se=[],!0===Qe.html&&(j(we,R),j(Se,Z)),!0===Qe.svg&&(j(we,q),j(Se,H),j(Se,V)),!0===Qe.svgFilters&&(j(we,P),j(Se,H),j(Se,V)),!0===Qe.mathMl&&(j(we,W),j(Se,$),j(Se,V))),t.ADD_TAGS&&(we===Ce&&(we=B(we)),j(we,t.ADD_TAGS,me)),t.ADD_ATTR&&(Se===Ee&&(Se=B(Se)),j(Se,t.ADD_ATTR,me)),t.ADD_URI_SAFE_ATTR&&j(et,t.ADD_URI_SAFE_ATTR,me),t.FORBID_CONTENTS&&(Ye===Ge&&(Ye=B(Ye)),j(Ye,t.FORBID_CONTENTS,me)),Ve&&(we["#text"]=!0),qe&&j(we,["html","head","body"]),we.table&&(j(we,["tbody"]),delete De.tbody),b&&b(t),dt=t)},bt=j({},["mi","mo","mn","ms","mtext"]),At=j({},["foreignobject","desc","title","annotation-xml"]),mt=j({},["title","style","font","a","script"]),gt=j({},q);j(gt,P),j(gt,I);var vt=j({},W);j(vt,F);var yt=function(e){var t=N(e);t&&t.tagName||(t={namespaceURI:it,tagName:"template"});var n=z(e.tagName),r=z(t.tagName);return!!st[e.namespaceURI]&&(e.namespaceURI===rt?t.namespaceURI===ot?"svg"===n:t.namespaceURI===nt?"svg"===n&&("annotation-xml"===r||bt[r]):Boolean(gt[n]):e.namespaceURI===nt?t.namespaceURI===ot?"math"===n:t.namespaceURI===rt?"math"===n&&At[r]:Boolean(vt[n]):e.namespaceURI===ot?!(t.namespaceURI===rt&&!At[r])&&!(t.namespaceURI===nt&&!bt[r])&&!vt[n]&&(mt[n]||!gt[n]):!("application/xhtml+xml"!==Ae||!st[e.namespaceURI]))},Mt=function(e){_(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(Tt){try{e.outerHTML=se}catch(Tt){e.remove()}}},Ot=function(e,t){try{_(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(Tt){_(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Se[e])if(We||Fe)try{Mt(t)}catch(Tt){}else try{t.setAttribute(e,"")}catch(Tt){}},_t=function(e){var t,n;if(Ie)e="<remove></remove>"+e;else{var r=w(e,/^[\r\n\t ]+/);n=r&&r[0]}"application/xhtml+xml"===Ae&&it===ot&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var o=ae?ae.createHTML(e):e;if(it===ot)try{t=(new h).parseFromString(o,Ae)}catch(Tt){}if(!t||!t.documentElement){t=ce.createDocument(it,"template",null);try{t.documentElement.innerHTML=at?se:o}catch(Tt){}}var a=t.body||t.documentElement;return e&&n&&a.insertBefore(i.createTextNode(n),a.childNodes[0]||null),it===ot?pe.call(t,qe?"html":"body")[0]:qe?t.documentElement:a},zt=function(e){return ue.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT,null,!1)},xt=function(e){return e instanceof f&&("string"!==typeof e.nodeName||"string"!==typeof e.textContent||"function"!==typeof e.removeChild||!(e.attributes instanceof p)||"function"!==typeof e.removeAttribute||"function"!==typeof e.setAttribute||"string"!==typeof e.namespaceURI||"function"!==typeof e.insertBefore||"function"!==typeof e.hasChildNodes)},wt=function(t){return"object"===e(l)?t instanceof l:t&&"object"===e(t)&&"number"===typeof t.nodeType&&"string"===typeof t.nodeName},Ct=function(e,t,r){be[e]&&M(be[e],(function(e){e.call(n,t,r,dt)}))},St=function(e){var t;if(Ct("beforeSanitizeElements",e,null),xt(e))return Mt(e),!0;if(k(/[\u0080-\uFFFF]/,e.nodeName))return Mt(e),!0;var r=me(e.nodeName);if(Ct("uponSanitizeElement",e,{tagName:r,allowedTags:we}),e.hasChildNodes()&&!wt(e.firstElementChild)&&(!wt(e.content)||!wt(e.content.firstElementChild))&&k(/<[/\w]/g,e.innerHTML)&&k(/<[/\w]/g,e.textContent))return Mt(e),!0;if("select"===r&&k(/<template/i,e.innerHTML))return Mt(e),!0;if(!we[r]||De[r]){if(!De[r]&&kt(r)){if(ke.tagNameCheck instanceof RegExp&&k(ke.tagNameCheck,r))return!1;if(ke.tagNameCheck instanceof Function&&ke.tagNameCheck(r))return!1}if(Ve&&!Ye[r]){var o=N(e)||e.parentNode,i=y(e)||e.childNodes;if(i&&o)for(var a=i.length-1;a>=0;--a)o.insertBefore(g(i[a],!0),v(e))}return Mt(e),!0}return e instanceof c&&!yt(e)?(Mt(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!k(/<\/no(script|embed|frames)/i,e.innerHTML)?(Re&&3===e.nodeType&&(t=e.textContent,t=C(t,ge," "),t=C(t,ve," "),t=C(t,ye," "),e.textContent!==t&&(_(n.removed,{element:e.cloneNode()}),e.textContent=t)),Ct("afterSanitizeElements",e,null),!1):(Mt(e),!0)},Et=function(e,t,n){if(Ze&&("id"===t||"name"===t)&&(n in i||n in pt))return!1;if(je&&!Ne[t]&&k(Me,t));else if(Te&&k(Oe,t));else if(!Se[t]||Ne[t]){if(!(kt(e)&&(ke.tagNameCheck instanceof RegExp&&k(ke.tagNameCheck,e)||ke.tagNameCheck instanceof Function&&ke.tagNameCheck(e))&&(ke.attributeNameCheck instanceof RegExp&&k(ke.attributeNameCheck,t)||ke.attributeNameCheck instanceof Function&&ke.attributeNameCheck(t))||"is"===t&&ke.allowCustomizedBuiltInElements&&(ke.tagNameCheck instanceof RegExp&&k(ke.tagNameCheck,n)||ke.tagNameCheck instanceof Function&&ke.tagNameCheck(n))))return!1}else if(et[t]);else if(k(xe,C(n,ze,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==S(n,"data:")||!Ke[e])if(Be&&!k(_e,C(n,ze,"")));else if(n)return!1;return!0},kt=function(e){return e.indexOf("-")>0},Dt=function(t){var r,o,i,a;Ct("beforeSanitizeAttributes",t,null);var s=t.attributes;if(s){var l={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Se};for(a=s.length;a--;){var c=r=s[a],u=c.name,d=c.namespaceURI;if(o="value"===u?r.value:E(r.value),i=me(u),l.attrName=i,l.attrValue=o,l.keepAttr=!0,l.forceKeepAttr=void 0,Ct("uponSanitizeAttribute",t,l),o=l.attrValue,!l.forceKeepAttr&&(Ot(u,t),l.keepAttr))if(Le||!k(/\/>/i,o)){Re&&(o=C(o,ge," "),o=C(o,ve," "),o=C(o,ye," "));var p=me(t.nodeName);if(Et(p,i,o)){if(!He||"id"!==i&&"name"!==i||(Ot(u,t),o=$e+o),ae&&"object"===e(A)&&"function"===typeof A.getAttributeType)if(d);else switch(A.getAttributeType(p,i)){case"TrustedHTML":o=ae.createHTML(o);break;case"TrustedScriptURL":o=ae.createScriptURL(o)}try{d?t.setAttributeNS(d,u,o):t.setAttribute(u,o),O(n.removed)}catch(Tt){}}}else Ot(u,t)}Ct("afterSanitizeAttributes",t,null)}},Nt=function e(t){var n,r=zt(t);for(Ct("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)Ct("uponSanitizeShadowNode",n,null),St(n)||(n.content instanceof a&&e(n.content),Dt(n));Ct("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(o){var i,s,c,u,d,p=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((at=!o)&&(o="\x3c!--\x3e"),"string"!==typeof o&&!wt(o)){if("function"!==typeof o.toString)throw D("toString is not a function");if("string"!==typeof(o=o.toString()))throw D("dirty is not a string, aborting")}if(!n.isSupported){if("object"===e(t.toStaticHTML)||"function"===typeof t.toStaticHTML){if("string"===typeof o)return t.toStaticHTML(o);if(wt(o))return t.toStaticHTML(o.outerHTML)}return o}if(Pe||ht(p),n.removed=[],"string"===typeof o&&(Xe=!1),Xe){if(o.nodeName){var f=me(o.nodeName);if(!we[f]||De[f])throw D("root node is forbidden and cannot be sanitized in-place")}}else if(o instanceof l)1===(s=(i=_t("\x3c!----\x3e")).ownerDocument.importNode(o,!0)).nodeType&&"BODY"===s.nodeName||"HTML"===s.nodeName?i=s:i.appendChild(s);else{if(!We&&!Re&&!qe&&-1===o.indexOf("<"))return ae&&Ue?ae.createHTML(o):o;if(!(i=_t(o)))return We?null:Ue?se:""}i&&Ie&&Mt(i.firstChild);for(var h=zt(Xe?o:i);c=h.nextNode();)3===c.nodeType&&c===u||St(c)||(c.content instanceof a&&Nt(c.content),Dt(c),u=c);if(u=null,Xe)return o;if(We){if(Fe)for(d=de.call(i.ownerDocument);i.firstChild;)d.appendChild(i.firstChild);else d=i;return(Se.shadowroot||Se.shadowrootmod)&&(d=fe.call(r,d,!0)),d}var b=qe?i.outerHTML:i.innerHTML;return qe&&we["!doctype"]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&k(ne,i.ownerDocument.doctype.name)&&(b="<!DOCTYPE "+i.ownerDocument.doctype.name+">\n"+b),Re&&(b=C(b,ge," "),b=C(b,ve," "),b=C(b,ye," ")),ae&&Ue?ae.createHTML(b):b},n.setConfig=function(e){ht(e),Pe=!0},n.clearConfig=function(){dt=null,Pe=!1},n.isValidAttribute=function(e,t,n){dt||ht({});var r=me(e),o=me(t);return Et(r,o,n)},n.addHook=function(e,t){"function"===typeof t&&(be[e]=be[e]||[],_(be[e],t))},n.removeHook=function(e){if(be[e])return O(be[e])},n.removeHooks=function(e){be[e]&&(be[e]=[])},n.removeAllHooks=function(){be={}},n}return ie()}()},18005:function(e,t,n){"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){o(e,t,n[t])}))}return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=n(3980),a=n(21866),s=n(35038),l=n(34615),c=n(13284),u=n(89690),d=n(34354),p=n(86137),f=n(15986),h=n(14126),b=p("draft_tree_data_support"),A=b?l:s,m=f.List,g=f.Repeat,v={insertAtomicBlock:function(e,t,n){var o=e.getCurrentContent(),s=e.getSelection(),l=c.removeRange(o,s,"backward"),p=l.getSelectionAfter(),f=c.splitBlock(l,p),h=f.getSelectionAfter(),v=c.setBlockType(f,h,"atomic"),y=a.create({entity:t}),M={key:d(),type:"atomic",text:n,characterList:m(g(y,n.length))},O={key:d(),type:"unstyled"};b&&(M=r({},M,{nextSibling:O.key}),O=r({},O,{prevSibling:M.key}));var _=[new A(M),new A(O)],z=i.createFromArray(_),x=c.replaceWithFragment(v,h,z),w=x.merge({selectionBefore:s,selectionAfter:x.getSelectionAfter().set("hasFocus",!0)});return u.push(e,w,"insert-fragment")},moveAtomicBlock:function(e,t,n,r){var o,i=e.getCurrentContent(),a=e.getSelection();if("before"===r||"after"===r){var s=i.getBlockForKey("before"===r?n.getStartKey():n.getEndKey());o=h(i,t,s,r)}else{var l=c.removeRange(i,n,"backward"),d=l.getSelectionAfter(),p=l.getBlockForKey(d.getFocusKey());if(0===d.getStartOffset())o=h(l,t,p,"before");else if(d.getEndOffset()===p.getLength())o=h(l,t,p,"after");else{var f=c.splitBlock(l,d),b=f.getSelectionAfter(),A=f.getBlockForKey(b.getFocusKey());o=h(f,t,A,"before")}}var m=o.merge({selectionBefore:a,selectionAfter:o.getSelectionAfter().set("hasFocus",!0)});return u.push(e,m,"move-block")}};e.exports=v},3980:function(e,t,n){"use strict";var r=n(15986).OrderedMap,o={createFromArray:function(e){return r(e.map((function(e){return[e.getKey(),e]})))}};e.exports=o},994:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(81111),i=n(60526),a=n(15986),s=a.List,l=a.Repeat,c=a.Record,u=function(){return!0},d=c({start:null,end:null}),p=c({start:null,end:null,decoratorKey:null,leaves:null}),f={generate:function(e,t,n){var r=t.getLength();if(!r)return s.of(new p({start:0,end:0,decoratorKey:null,leaves:s.of(new d({start:0,end:0}))}));var i=[],a=n?n.getDecorations(t,e):s(l(null,r)),c=t.getCharacterList();return o(a,b,u,(function(e,t){i.push(new p({start:e,end:t,decoratorKey:a.get(e),leaves:h(c.slice(e,t).toList(),e)}))})),s(i)},fromJS:function(e){var t=e.leaves,n=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["leaves"]);return new p(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){r(e,t,n[t])}))}return e}({},n,{leaves:null!=t?s(Array.isArray(t)?t:i(t)).map((function(e){return d(e)})):null}))}};function h(e,t){var n=[],r=e.map((function(e){return e.getStyle()})).toList();return o(r,b,u,(function(e,r){n.push(new d({start:e+t,end:r+t}))})),s(n)}function b(e,t){return e===t}e.exports=f},21866:function(e,t,n){"use strict";var r=n(15986),o=r.Map,i=r.OrderedSet,a=r.Record,s=i(),l={style:s,entity:null},c=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var a=r.prototype;return a.getStyle=function(){return this.get("style")},a.getEntity=function(){return this.get("entity")},a.hasStyle=function(e){return this.getStyle().includes(e)},r.applyStyle=function(e,t){var n=e.set("style",e.getStyle().add(t));return r.create(n)},r.removeStyle=function(e,t){var n=e.set("style",e.getStyle().remove(t));return r.create(n)},r.applyEntity=function(e,t){var n=e.getEntity()===t?e:e.set("entity",t);return r.create(n)},r.create=function(e){if(!e)return u;var t=o({style:s,entity:null}).merge(e),n=d.get(t);if(n)return n;var i=new r(t);return d=d.set(t,i),i},r.fromJS=function(e){var t=e.style,n=e.entity;return new r({style:Array.isArray(t)?i(t):t,entity:Array.isArray(n)?i(n):n})},r}(a(l)),u=new c,d=o([[o(l),u]]);c.EMPTY=u,e.exports=c},21993:function(e,t,n){"use strict";var r=n(15986).List,o=function(){function e(e){var t,n,r;r=void 0,(n="_decorators")in(t=this)?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,this._decorators=e.slice()}var t=e.prototype;return t.getDecorations=function(e,t){var n=Array(e.getText().length).fill(null);return this._decorators.forEach((function(r,o){var i=0;(0,r.strategy)(e,(function(e,t){(function(e,t,n){for(var r=t;r<n;r++)if(null!=e[r])return!1;return!0})(n,e,t)&&(!function(e,t,n,r){for(var o=t;o<n;o++)e[o]=r}(n,e,t,o+"."+i),i++)}),t)})),r(n)},t.getComponentForKey=function(e){var t=parseInt(e.split(".")[0],10);return this._decorators[t].component},t.getPropsForKey=function(e){var t=parseInt(e.split(".")[0],10);return this._decorators[t].props},e}();e.exports=o},35038:function(e,t,n){"use strict";var r=n(21866),o=n(81111),i=n(15986),a=i.List,s=i.Map,l=i.OrderedSet,c=i.Record,u=i.Repeat,d=l(),p=c({key:"",type:"unstyled",text:"",characterList:a(),depth:0,data:s()}),f=function(e){var t,n;function i(t){return e.call(this,function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=a(u(r.EMPTY,n.length))),e}(t))||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var s=i.prototype;return s.getKey=function(){return this.get("key")},s.getType=function(){return this.get("type")},s.getText=function(){return this.get("text")},s.getCharacterList=function(){return this.get("characterList")},s.getLength=function(){return this.getText().length},s.getDepth=function(){return this.get("depth")},s.getData=function(){return this.get("data")},s.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():d},s.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},s.findStyleRanges=function(e,t){o(this.getCharacterList(),h,e,t)},s.findEntityRanges=function(e,t){o(this.getCharacterList(),b,e,t)},i}(p);function h(e,t){return e.getStyle()===t.getStyle()}function b(e,t){return e.getEntity()===t.getEntity()}e.exports=f},34615:function(e,t,n){"use strict";var r=n(21866),o=n(81111),i=n(15986),a=i.List,s=i.Map,l=i.OrderedSet,c=i.Record,u=i.Repeat,d=l(),p={parent:null,characterList:a(),data:s(),depth:0,key:"",text:"",type:"unstyled",children:a(),prevSibling:null,nextSibling:null},f=function(e,t){return e.getStyle()===t.getStyle()},h=function(e,t){return e.getEntity()===t.getEntity()},b=function(e){var t,n;function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p;return e.call(this,function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=a(u(r.EMPTY,n.length))),e}(t))||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var s=i.prototype;return s.getKey=function(){return this.get("key")},s.getType=function(){return this.get("type")},s.getText=function(){return this.get("text")},s.getCharacterList=function(){return this.get("characterList")},s.getLength=function(){return this.getText().length},s.getDepth=function(){return this.get("depth")},s.getData=function(){return this.get("data")},s.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():d},s.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},s.getChildKeys=function(){return this.get("children")},s.getParentKey=function(){return this.get("parent")},s.getPrevSiblingKey=function(){return this.get("prevSibling")},s.getNextSiblingKey=function(){return this.get("nextSibling")},s.findStyleRanges=function(e,t){o(this.getCharacterList(),f,e,t)},s.findEntityRanges=function(e,t){o(this.getCharacterList(),h,e,t)},i}(c(p));e.exports=b},43281:function(e,t,n){"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){o(e,t,n[t])}))}return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=n(3980),a=n(21866),s=n(35038),l=n(34615),c=n(5112),u=n(58977),d=n(34354),p=n(60526),f=n(86137),h=n(15986),b=n(28720),A=h.List,m=h.Record,g=h.Repeat,v=h.Map,y=h.OrderedMap,M=m({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),O=f("draft_tree_data_support")?l:s,_=function(e){var t,n;function o(){return e.apply(this,arguments)||this}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var s=o.prototype;return s.getEntityMap=function(){return c},s.getBlockMap=function(){return this.get("blockMap")},s.getSelectionBefore=function(){return this.get("selectionBefore")},s.getSelectionAfter=function(){return this.get("selectionAfter")},s.getBlockForKey=function(e){return this.getBlockMap().get(e)},s.getKeyBefore=function(e){return this.getBlockMap().reverse().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},s.getKeyAfter=function(e){return this.getBlockMap().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},s.getBlockAfter=function(e){return this.getBlockMap().skipUntil((function(t,n){return n===e})).skip(1).first()},s.getBlockBefore=function(e){return this.getBlockMap().reverse().skipUntil((function(t,n){return n===e})).skip(1).first()},s.getBlocksAsArray=function(){return this.getBlockMap().toArray()},s.getFirstBlock=function(){return this.getBlockMap().first()},s.getLastBlock=function(){return this.getBlockMap().last()},s.getPlainText=function(e){return this.getBlockMap().map((function(e){return e?e.getText():""})).join(e||"\n")},s.getLastCreatedEntityKey=function(){return c.__getLastCreatedEntityKey()},s.hasText=function(){var e=this.getBlockMap();return e.size>1||escape(e.first().getText()).replace(/%u200B/g,"").length>0},s.createEntity=function(e,t,n){return c.__create(e,t,n),this},s.mergeEntityData=function(e,t){return c.__mergeData(e,t),this},s.replaceEntityData=function(e,t){return c.__replaceData(e,t),this},s.addEntity=function(e){return c.__add(e),this},s.getEntity=function(e){return c.__get(e)},s.getAllEntities=function(){return c.__getAll()},s.loadWithEntities=function(e){return c.__loadWithEntities(e)},o.createFromBlockArray=function(e,t){var n=Array.isArray(e)?e:e.contentBlocks,r=i.createFromArray(n),a=r.isEmpty()?new u:u.createEmpty(r.first().getKey());return new o({blockMap:r,entityMap:t||c,selectionBefore:a,selectionAfter:a})},o.createFromText=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,n=e.split(t).map((function(e){return e=b(e),new O({key:d(),text:e,type:"unstyled",characterList:A(g(a.EMPTY,e.length))})}));return o.createFromBlockArray(n)},o.fromJS=function(e){return new o(r({},e,{blockMap:y(e.blockMap).map(o.createContentBlockFromJS),selectionBefore:new u(e.selectionBefore),selectionAfter:new u(e.selectionAfter)}))},o.createContentBlockFromJS=function(e){var t=e.characterList;return new O(r({},e,{data:v(e.data),characterList:null!=t?A((Array.isArray(t)?t:p(t)).map((function(e){return a.fromJS(e)}))):void 0}))},o}(M);e.exports=_},2254:function(e,t,n){"use strict";var r=n(21866),o=n(15986).Map,i={add:function(e,t,n){return a(e,t,n,!0)},remove:function(e,t,n){return a(e,t,n,!1)}};function a(e,t,n,i){var a=e.getBlockMap(),s=t.getStartKey(),l=t.getStartOffset(),c=t.getEndKey(),u=t.getEndOffset(),d=a.skipUntil((function(e,t){return t===s})).takeUntil((function(e,t){return t===c})).concat(o([[c,a.get(c)]])).map((function(e,t){var o,a;s===c?(o=l,a=u):(o=t===s?l:0,a=t===c?u:e.getLength());for(var d,p=e.getCharacterList();o<a;)d=p.get(o),p=p.set(o,i?r.applyStyle(d,n):r.removeStyle(d,n)),o++;return e.set("characterList",p)}));return e.merge({blockMap:a.merge(d),selectionBefore:t,selectionAfter:t})}e.exports=i},89978:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(18258),i=n(84117),a=n(56620),s=n(15986),l=n(87405),c=n(45338),u=s.Map,d={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},p=o.isBrowser("IE <= 11"),f=function(){function e(e){var t=this;r(this,"observer",void 0),r(this,"container",void 0),r(this,"mutations",void 0),r(this,"onCharData",void 0),this.container=e,this.mutations=u();var n=a(e);n.MutationObserver&&!p?this.observer=new n.MutationObserver((function(e){return t.registerMutations(e)})):this.onCharData=function(e){e.target instanceof Node||l(!1),t.registerMutation({type:"characterData",target:e.target})}}var t=e.prototype;return t.start=function(){this.observer?this.observer.observe(this.container,d):this.container.addEventListener("DOMCharacterDataModified",this.onCharData)},t.stopAndFlushMutations=function(){var e=this.observer;e?(this.registerMutations(e.takeRecords()),e.disconnect()):this.container.removeEventListener("DOMCharacterDataModified",this.onCharData);var t=this.mutations;return this.mutations=u(),t},t.registerMutations=function(e){for(var t=0;t<e.length;t++)this.registerMutation(e[t])},t.getMutationTextContent=function(e){var t=e.type,n=e.target,r=e.removedNodes;if("characterData"===t){if(""!==n.textContent)return p?n.textContent.replace("\n",""):n.textContent}else if("childList"===t){if(r&&r.length)return"";if(""!==n.textContent)return n.textContent}return null},t.registerMutation=function(e){var t=this.getMutationTextContent(e);if(null!=t){var n=c(i(e.target));this.mutations=this.mutations.set(n,t)}},e}();e.exports=f},60128:function(e,t,n){"use strict";var r=n(47313),o=n(37827),i=(0,n(15986).Map)({"header-one":{element:"h1"},"header-two":{element:"h2"},"header-three":{element:"h3"},"header-four":{element:"h4"},"header-five":{element:"h5"},"header-six":{element:"h6"},section:{element:"section"},article:{element:"article"},"unordered-list-item":{element:"li",wrapper:r.createElement("ul",{className:o("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:r.createElement("ol",{className:o("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:r.createElement("pre",{className:o("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}});e.exports=i},10269:function(e){"use strict";e.exports={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}}},52500:function(e,t,n){"use strict";var r=n(18005),o=n(3980),i=n(21866),a=n(21993),s=n(35038),l=n(43281),c=n(60128),u=n(10269),d=n(97496),p=n(21795),f=n(5112),h=n(13284),b=n(50842),A=n(89690),m=n(17293),g=n(41943),v=n(84859),y=n(58977),M=n(17348),O=n(95741),_=n(34354),z=n(18498),x=n(30640),w={Editor:d,EditorBlock:p,EditorState:A,CompositeDecorator:a,Entity:f,EntityInstance:b,BlockMapBuilder:o,CharacterMetadata:i,ContentBlock:s,ContentState:l,RawDraftContentState:g,SelectionState:y,AtomicBlockUtils:r,KeyBindingUtil:m,Modifier:h,RichUtils:v,DefaultDraftBlockRenderMap:c,DefaultDraftInlineStyle:u,convertFromHTML:n(76189),convertFromRaw:O,convertToRaw:M,genKey:_,getDefaultKeyBinding:z,getVisibleSelectionRect:x};e.exports=w},97496:function(e,t,n){"use strict";var r=n(71843);function o(){return o=r||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){s(e,t,n[t])}))}return e}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var c=n(60128),u=n(10269),d=n(53207),p=n(98219),f=n(41985),h=n(71413),b=n(76255),A=n(30776),m=n(36221),g=n(89690),v=n(47313),y=n(17219),M=n(9026),O=n(18258),_=n(37827),z=n(34354),x=n(18498),w=n(37541),C=n(86137),S=n(87405),E=n(17719),k=n(45338),D=O.isBrowser("IE"),N=!D,T={edit:h,composite:d,drag:f,cut:null,render:null},j=!1,B=function(e){function t(){return e.apply(this,arguments)||this}l(t,e);var n=t.prototype;return n.render=function(){return null},n.componentDidMount=function(){this._update()},n.componentDidUpdate=function(){this._update()},n._update=function(){var e=this.props.editor;e._latestEditorState=this.props.editorState,e._blockSelectEvents=!0},t}(v.Component),L=function(e){function t(t){var n;return s(a(n=e.call(this,t)||this),"_blockSelectEvents",void 0),s(a(n),"_clipboard",void 0),s(a(n),"_handler",void 0),s(a(n),"_dragCount",void 0),s(a(n),"_internalDrag",void 0),s(a(n),"_editorKey",void 0),s(a(n),"_placeholderAccessibilityID",void 0),s(a(n),"_latestEditorState",void 0),s(a(n),"_latestCommittedEditorState",void 0),s(a(n),"_pendingStateFromBeforeInput",void 0),s(a(n),"_onBeforeInput",void 0),s(a(n),"_onBlur",void 0),s(a(n),"_onCharacterData",void 0),s(a(n),"_onCompositionEnd",void 0),s(a(n),"_onCompositionStart",void 0),s(a(n),"_onCopy",void 0),s(a(n),"_onCut",void 0),s(a(n),"_onDragEnd",void 0),s(a(n),"_onDragOver",void 0),s(a(n),"_onDragStart",void 0),s(a(n),"_onDrop",void 0),s(a(n),"_onInput",void 0),s(a(n),"_onFocus",void 0),s(a(n),"_onKeyDown",void 0),s(a(n),"_onKeyPress",void 0),s(a(n),"_onKeyUp",void 0),s(a(n),"_onMouseDown",void 0),s(a(n),"_onMouseUp",void 0),s(a(n),"_onPaste",void 0),s(a(n),"_onSelect",void 0),s(a(n),"editor",void 0),s(a(n),"editorContainer",void 0),s(a(n),"focus",void 0),s(a(n),"blur",void 0),s(a(n),"setMode",void 0),s(a(n),"exitCurrentMode",void 0),s(a(n),"restoreEditorDOM",void 0),s(a(n),"setClipboard",void 0),s(a(n),"getClipboard",void 0),s(a(n),"getEditorKey",void 0),s(a(n),"update",void 0),s(a(n),"onDragEnter",void 0),s(a(n),"onDragLeave",void 0),s(a(n),"_handleEditorContainerRef",(function(e){n.editorContainer=e,n.editor=null!==e?e.firstChild:null})),s(a(n),"focus",(function(e){var t=n.props.editorState,r=t.getSelection().getHasFocus(),o=n.editor;if(o){var i=M.getScrollParent(o),a=e||w(i),s=a.x,l=a.y;E(o)||S(!1),o.focus(),i===window?window.scrollTo(s,l):y.setTop(i,l),r||n.update(g.forceSelection(t,t.getSelection()))}})),s(a(n),"blur",(function(){var e=n.editor;e&&(E(e)||S(!1),e.blur())})),s(a(n),"setMode",(function(e){var t=n.props,r=t.onPaste,o=t.onCut,a=t.onCopy,s=i({},T.edit);r&&(s.onPaste=r),o&&(s.onCut=o),a&&(s.onCopy=a);var l=i({},T,{edit:s});n._handler=l[e]})),s(a(n),"exitCurrentMode",(function(){n.setMode("edit")})),s(a(n),"restoreEditorDOM",(function(e){n.setState({contentsKey:n.state.contentsKey+1},(function(){n.focus(e)}))})),s(a(n),"setClipboard",(function(e){n._clipboard=e})),s(a(n),"getClipboard",(function(){return n._clipboard})),s(a(n),"update",(function(e){n._latestEditorState=e,n.props.onChange(e)})),s(a(n),"onDragEnter",(function(){n._dragCount++})),s(a(n),"onDragLeave",(function(){n._dragCount--,0===n._dragCount&&n.exitCurrentMode()})),n._blockSelectEvents=!1,n._clipboard=null,n._handler=null,n._dragCount=0,n._editorKey=t.editorKey||z(),n._placeholderAccessibilityID="placeholder-"+n._editorKey,n._latestEditorState=t.editorState,n._latestCommittedEditorState=t.editorState,n._onBeforeInput=n._buildHandler("onBeforeInput"),n._onBlur=n._buildHandler("onBlur"),n._onCharacterData=n._buildHandler("onCharacterData"),n._onCompositionEnd=n._buildHandler("onCompositionEnd"),n._onCompositionStart=n._buildHandler("onCompositionStart"),n._onCopy=n._buildHandler("onCopy"),n._onCut=n._buildHandler("onCut"),n._onDragEnd=n._buildHandler("onDragEnd"),n._onDragOver=n._buildHandler("onDragOver"),n._onDragStart=n._buildHandler("onDragStart"),n._onDrop=n._buildHandler("onDrop"),n._onInput=n._buildHandler("onInput"),n._onFocus=n._buildHandler("onFocus"),n._onKeyDown=n._buildHandler("onKeyDown"),n._onKeyPress=n._buildHandler("onKeyPress"),n._onKeyUp=n._buildHandler("onKeyUp"),n._onMouseDown=n._buildHandler("onMouseDown"),n._onMouseUp=n._buildHandler("onMouseUp"),n._onPaste=n._buildHandler("onPaste"),n._onSelect=n._buildHandler("onSelect"),n.getEditorKey=function(){return n._editorKey},n.state={contentsKey:0},n}l(t,e);var r=t.prototype;return r._buildHandler=function(e){var t=this;return function(n){if(!t.props.readOnly){var r=t._handler&&t._handler[e];r&&(b?b((function(){return r(t,n)})):r(t,n))}}},r._showPlaceholder=function(){return!!this.props.placeholder&&!this.props.editorState.isInCompositionMode()&&!this.props.editorState.getCurrentContent().hasText()},r._renderPlaceholder=function(){if(this._showPlaceholder()){var e={text:k(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return v.createElement(A,e)}return null},r._renderARIADescribedBy=function(){var e=this.props.ariaDescribedBy||"",t=this._showPlaceholder()?this._placeholderAccessibilityID:"";return e.replace("{{editor_id_placeholder}}",t)||void 0},r.render=function(){var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,r=e.blockStyleFn,a=e.customStyleFn,s=e.customStyleMap,l=e.editorState,c=e.preventScroll,d=e.readOnly,f=e.textAlignment,h=e.textDirectionality,b=_({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===f,"DraftEditor/alignRight":"right"===f,"DraftEditor/alignCenter":"center"===f}),A=this.props.role||"textbox",m="combobox"===A?!!this.props.ariaExpanded:null,g={blockRenderMap:t,blockRendererFn:n,blockStyleFn:r,customStyleMap:i({},u,s),customStyleFn:a,editorKey:this._editorKey,editorState:l,preventScroll:c,textDirectionality:h};return v.createElement("div",{className:b},this._renderPlaceholder(),v.createElement("div",{className:_("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},v.createElement("div",{"aria-activedescendant":d?null:this.props.ariaActiveDescendantID,"aria-autocomplete":d?null:this.props.ariaAutoComplete,"aria-controls":d?null:this.props.ariaControls,"aria-describedby":this._renderARIADescribedBy(),"aria-expanded":d?null:m,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,"aria-owns":d?null:this.props.ariaOwneeID,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:_({notranslate:!d,"public/DraftEditor/content":!0}),contentEditable:!d,"data-testid":this.props.webDriverTestID,onBeforeInput:this._onBeforeInput,onBlur:this._onBlur,onCompositionEnd:this._onCompositionEnd,onCompositionStart:this._onCompositionStart,onCopy:this._onCopy,onCut:this._onCut,onDragEnd:this._onDragEnd,onDragEnter:this.onDragEnter,onDragLeave:this.onDragLeave,onDragOver:this._onDragOver,onDragStart:this._onDragStart,onDrop:this._onDrop,onFocus:this._onFocus,onInput:this._onInput,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseUp:this._onMouseUp,onPaste:this._onPaste,onSelect:this._onSelect,ref:this.props.editorRef,role:d?null:A,spellCheck:N&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},v.createElement(B,{editor:this,editorState:l}),v.createElement(p,o({},g,{key:"contents"+this.state.contentsKey})))))},r.componentDidMount=function(){this._blockSelectEvents=!1,!j&&C("draft_ods_enabled")&&(j=!0,m.initODS()),this.setMode("edit"),D&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):n.g.execCommand("AutoUrlDetect",!1,!1))},r.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},t}(v.Component);s(L,"defaultProps",{ariaDescribedBy:"{{editor_id_placeholder}}",blockRenderMap:c,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:x,readOnly:!1,spellCheck:!1,stripPastedStyles:!1}),e.exports=L},21795:function(e,t,n){"use strict";var r=n(71843);function o(){return o=r||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}var i=n(18389),a=n(44519),s=n(47313),l=n(17219),c=n(9026),u=n(13014),d=n(47821),p=n(37827),f=n(21604),h=n(37541),b=n(39349),A=n(87405),m=n(17719),g=n(45338),v=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},y=function(e){var t,n;function r(){for(var t,n,r,o,i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];return t=e.call.apply(e,[this].concat(a))||this,n=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(t),o=void 0,(r="_node")in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var y=r.prototype;return y.shouldComponentUpdate=function(e){return this.props.block!==e.block||this.props.tree!==e.tree||this.props.direction!==e.direction||v(e.selection,e.block.getKey())&&e.forceSelection},y.componentDidMount=function(){if(!this.props.preventScroll){var e=this.props.selection,t=e.getEndKey();if(e.getHasFocus()&&t===this.props.block.getKey()){var n=this._node;if(null!=n){var r,o=c.getScrollParent(n),i=h(o);if(o===window){var a=f(n);(r=a.y+a.height-b().height)>0&&window.scrollTo(i.x,i.y+r+10)}else{m(n)||A(!1),(r=n.offsetHeight+n.offsetTop-(o.offsetTop+o.offsetHeight+i.y))>0&&l.setTop(o,l.getTop(o)+r+10)}}}}},y._renderChildren=function(){var e=this,t=this.props.block,n=t.getKey(),r=t.getText(),l=this.props.tree.size-1,c=v(this.props.selection,n);return this.props.tree.map((function(p,f){var h=p.get("leaves");if(0===h.size)return null;var b=h.size-1,A=h.map((function(o,u){var d=a.encode(n,f,u),p=o.get("start"),h=o.get("end");return s.createElement(i,{key:d,offsetKey:d,block:t,start:p,selection:c?e.props.selection:null,forceSelection:e.props.forceSelection,text:r.slice(p,h),styleSet:t.getInlineStyleAt(p),customStyleMap:e.props.customStyleMap,customStyleFn:e.props.customStyleFn,isLast:f===l&&u===b})})).toArray(),m=p.get("decoratorKey");if(null==m)return A;if(!e.props.decorator)return A;var v=g(e.props.decorator),y=v.getComponentForKey(m);if(!y)return A;var M=v.getPropsForKey(m),O=a.encode(n,f,0),_=h.first().get("start"),z=h.last().get("end"),x=r.slice(_,z),w=t.getEntityAt(p.get("start")),C=d.getHTMLDirIfDifferent(u.getDirection(x),e.props.direction),S={contentState:e.props.contentState,decoratedText:x,dir:C,start:_,end:z,blockKey:n,entityKey:w,offsetKey:O};return s.createElement(y,o({},M,S,{key:O}),A)})).toArray()},y.render=function(){var e=this,t=this.props,n=t.direction,r=t.offsetKey,o=p({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return s.createElement("div",{"data-offset-key":r,className:o,ref:function(t){return e._node=t}},this._renderChildren())},r}(s.Component);e.exports=y},37808:function(e,t,n){"use strict";var r=n(71843);function o(){return o=r||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){a(e,t,n[t])}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=n(6080),l=n(44519),c=n(47313),u=n(17219),d=n(9026),p=n(21604),f=n(37541),h=n(39349),b=n(15986),A=n(87405),m=n(17719),g=(b.List,function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t}),v=function(e,t){var n=t.get(e.getType())||t.get("unstyled"),r=n.wrapper;return{Element:n.element||t.get("unstyled").element,wrapperTemplate:r}},y=function(e,t){var n=t(e);return n?{CustomComponent:n.component,customProps:n.props,customEditable:n.editable}:{}},M=function(e,t,n,r,o,a){var s={"data-block":!0,"data-editor":t,"data-offset-key":n,key:e.getKey(),ref:a},l=r(e);return l&&(s.className=l),void 0!==o.customEditable&&(s=i({},s,{contentEditable:o.customEditable,suppressContentEditableWarning:!0})),s},O=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return a(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(t=e.call.apply(e,[this].concat(r))||this),"wrapperRef",c.createRef()),t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var b=r.prototype;return b.shouldComponentUpdate=function(e){var t=this.props,n=t.block,r=t.direction,o=t.tree,i=!n.getChildKeys().isEmpty(),a=n!==e.block||o!==e.tree||r!==e.direction||g(e.selection,e.block.getKey())&&e.forceSelection;return i||a},b.componentDidMount=function(){var e=this.props.selection,t=e.getEndKey();if(e.getHasFocus()&&t===this.props.block.getKey()){var n=this.wrapperRef.current;if(n){var r,o=d.getScrollParent(n),i=f(o);if(o===window){var a=p(n);(r=a.y+a.height-h().height)>0&&window.scrollTo(i.x,i.y+r+10)}else{m(n)||A(!1);var s=n;(r=s.offsetHeight+s.offsetTop-(o.offsetHeight+i.y))>0&&u.setTop(o,u.getTop(o)+r+10)}}}},b.render=function(){var e=this,t=this.props,n=t.block,a=t.blockRenderMap,u=t.blockRendererFn,d=t.blockStyleFn,p=t.contentState,f=t.decorator,h=t.editorKey,b=t.editorState,A=t.customStyleFn,m=t.customStyleMap,O=t.direction,_=t.forceSelection,z=t.selection,x=t.tree,w=null;n.children.size&&(w=n.children.reduce((function(t,n){var o=l.encode(n,0,0),s=p.getBlockForKey(n),f=y(s,u),A=f.CustomComponent||r,m=v(s,a),g=m.Element,O=m.wrapperTemplate,_=M(s,h,o,d,f,null),z=i({},e.props,{tree:b.getBlockTree(n),blockProps:f.customProps,offsetKey:o,block:s});return t.push(c.createElement(g,_,c.createElement(A,z))),!O||function(e,t){var n=e.getNextSiblingKey();return!!n&&t.getBlockForKey(n).getType()===e.getType()}(s,p)||function(e,t,n){var r=[],o=!0,i=!1,a=void 0;try{for(var s,u=n.reverse()[Symbol.iterator]();!(o=(s=u.next()).done);o=!0){var d=s.value;if(d.type!==t)break;r.push(d)}}catch(h){i=!0,a=h}finally{try{o||null==u.return||u.return()}finally{if(i)throw a}}n.splice(n.indexOf(r[0]),r.length+1);var p=r.reverse(),f=p[0].key;n.push(c.cloneElement(e,{key:"".concat(f,"-wrap"),"data-offset-key":l.encode(f,0,0)},p))}(O,g,t),t}),[]));var C=n.getKey(),S=l.encode(C,0,0),E=y(n,u),k=E.CustomComponent,D=null!=k?c.createElement(k,o({},this.props,{tree:b.getBlockTree(C),blockProps:E.customProps,offsetKey:S,block:n})):c.createElement(s,{block:n,children:w,contentState:p,customStyleFn:A,customStyleMap:m,decorator:f,direction:O,forceSelection:_,hasSelection:g(z,C),selection:z,tree:x});if(n.getParentKey())return D;var N=v(n,a).Element,T=M(n,h,S,d,E,this.wrapperRef);return c.createElement(N,T,D)},r}(c.Component);e.exports=O},53207:function(e,t,n){"use strict";var r=n(89978),o=n(13284),i=n(44519),a=n(89690),s=n(43058),l=n(18258),c=n(35518),u=n(80047),d=n(57785),p=n(33574),f=n(45338),h=l.isBrowser("IE"),b=!1,A=!1,m=null;var g={onCompositionStart:function(e){A=!0,function(e){m||(m=new r(u(e))).start()}(e)},onCompositionEnd:function(e){b=!1,A=!1,setTimeout((function(){b||g.resolveComposition(e)}),20)},onSelect:c,onKeyDown:function(e,t){if(!A)return g.resolveComposition(e),void e._onKeyDown(t);t.which!==s.RIGHT&&t.which!==s.LEFT||t.preventDefault()},onKeyPress:function(e,t){t.which===s.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!A){var t=f(m).stopAndFlushMutations();m=null,b=!0;var n=a.set(e._latestEditorState,{inCompositionMode:!1});if(e.exitCurrentMode(),t.size){var r=n.getCurrentContent();t.forEach((function(e,t){var s=i.decode(t),l=s.blockKey,c=s.decoratorKey,u=s.leafKey,d=n.getBlockTree(l).getIn([c,"leaves",u]),f=d.start,h=d.end,b=n.getSelection().merge({anchorKey:l,focusKey:l,anchorOffset:f,focusOffset:h,isBackward:!1}),A=p(r,b),m=r.getBlockForKey(l).getInlineStyleAt(f);r=o.replaceText(r,b,e,m,A),n=a.set(n,{currentContent:r})}));var s=d(n,u(e)).selectionState;e.restoreEditorDOM();var l=h?a.forceSelection(n,s):a.acceptSelection(n,s);e.update(a.push(l,r,"insert-characters"))}else e.update(n)}}};e.exports=g},51635:function(e,t,n){"use strict";var r=n(71843);function o(){return o=r||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){a(e,t,n[t])}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=n(21795),l=n(44519),c=n(47313),u=n(37827),d=n(66005),p=n(45338),f=function(e,t,n,r){return u({"public/DraftStyleDefault/unorderedListItem":"unordered-list-item"===e,"public/DraftStyleDefault/orderedListItem":"ordered-list-item"===e,"public/DraftStyleDefault/reset":n,"public/DraftStyleDefault/depth0":0===t,"public/DraftStyleDefault/depth1":1===t,"public/DraftStyleDefault/depth2":2===t,"public/DraftStyleDefault/depth3":3===t,"public/DraftStyleDefault/depth4":t>=4,"public/DraftStyleDefault/listLTR":"LTR"===r,"public/DraftStyleDefault/listRTL":"RTL"===r})},h=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var a=r.prototype;return a.shouldComponentUpdate=function(e){var t=this.props.editorState,n=e.editorState;if(t.getDirectionMap()!==n.getDirectionMap())return!0;if(t.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var r=n.getNativelyRenderedContent(),o=t.isInCompositionMode(),i=n.isInCompositionMode();if(t===n||null!==r&&n.getCurrentContent()===r||o&&i)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),l=t.getDecorator(),c=n.getDecorator();return o!==i||a!==s||l!==c||n.mustForceSelection()},a.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,r=e.blockStyleFn,a=e.customStyleMap,u=e.customStyleFn,h=e.editorState,b=e.editorKey,A=e.preventScroll,m=e.textDirectionality,g=h.getCurrentContent(),v=h.getSelection(),y=h.mustForceSelection(),M=h.getDecorator(),O=p(h.getDirectionMap()),_=g.getBlocksAsArray(),z=[],x=null,w=null,C=0;C<_.length;C++){var S=_[C],E=S.getKey(),k=S.getType(),D=n(S),N=void 0,T=void 0,j=void 0;D&&(N=D.component,T=D.props,j=D.editable);var B=m||O.get(E),L=l.encode(E,0,0),R={contentState:g,block:S,blockProps:T,blockStyleFn:r,customStyleMap:a,customStyleFn:u,decorator:M,direction:B,forceSelection:y,offsetKey:L,preventScroll:A,selection:v,tree:h.getBlockTree(E)},q=t.get(k)||t.get("unstyled"),P=q.wrapper,I=q.element||t.get("unstyled").element,W=S.getDepth(),F="";if(r&&(F=r(S)),"li"===I)F=d(F,f(k,W,w!==P||null===x||W>x,B));var U=N||s,Z={className:F,"data-block":!0,"data-editor":b,"data-offset-key":L,key:E};void 0!==j&&(Z=i({},Z,{contentEditable:j,suppressContentEditableWarning:!0}));var H=c.createElement(I,Z,c.createElement(U,o({},R,{key:E})));z.push({block:H,wrapperTemplate:P,key:E,offsetKey:L}),x=P?S.getDepth():null,w=P}for(var $=[],V=0;V<z.length;){var X=z[V];if(X.wrapperTemplate){var Q=[];do{Q.push(z[V].block),V++}while(V<z.length&&z[V].wrapperTemplate===X.wrapperTemplate);var Y=c.cloneElement(X.wrapperTemplate,{key:X.key+"-wrap","data-offset-key":X.offsetKey},Q);$.push(Y)}else $.push(X.block),V++}return c.createElement("div",{"data-contents":"true"},$)},r}(c.Component);e.exports=h},98219:function(e,t,n){"use strict";var r=n(86137)("draft_tree_data_support");e.exports=n(r?36142:51635)},36142:function(e,t,n){"use strict";var r=n(71843);function o(){return o=r||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}var i=n(37808),a=n(44519),s=n(47313),l=n(45338),c=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var c=r.prototype;return c.shouldComponentUpdate=function(e){var t=this.props.editorState,n=e.editorState;if(t.getDirectionMap()!==n.getDirectionMap())return!0;if(t.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var r=n.getNativelyRenderedContent(),o=t.isInCompositionMode(),i=n.isInCompositionMode();if(t===n||null!==r&&n.getCurrentContent()===r||o&&i)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),l=t.getDecorator(),c=n.getDecorator();return o!==i||a!==s||l!==c||n.mustForceSelection()},c.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,r=e.blockStyleFn,c=e.customStyleMap,u=e.customStyleFn,d=e.editorState,p=e.editorKey,f=e.textDirectionality,h=d.getCurrentContent(),b=d.getSelection(),A=d.mustForceSelection(),m=d.getDecorator(),g=l(d.getDirectionMap()),v=[],y=h.getBlocksAsArray()[0];y;){var M=y.getKey(),O={blockRenderMap:t,blockRendererFn:n,blockStyleFn:r,contentState:h,customStyleFn:u,customStyleMap:c,decorator:m,editorKey:p,editorState:d,forceSelection:A,selection:b,block:y,direction:f||g.get(M),tree:d.getBlockTree(M)},_=(t.get(y.getType())||t.get("unstyled")).wrapper;v.push({block:s.createElement(i,o({key:M},O)),wrapperTemplate:_,key:M,offsetKey:a.encode(M,0,0)});var z=y.getNextSiblingKey();y=z?h.getBlockForKey(z):null}for(var x=[],w=0;w<v.length;){var C=v[w];if(C.wrapperTemplate){var S=[];do{S.push(v[w].block),w++}while(w<v.length&&v[w].wrapperTemplate===C.wrapperTemplate);var E=s.cloneElement(C.wrapperTemplate,{key:C.key+"-wrap","data-offset-key":C.offsetKey},S);x.push(E)}else x.push(C.block),w++}return s.createElement("div",{"data-contents":"true"},x)},r}(s.Component);e.exports=c},38158:function(e,t,n){"use strict";var r=n(71843);function o(){return o=r||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}var i=n(44519),a=n(47313),s=n(13014),l=n(47821),c=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r.prototype.render=function(){var e=this.props,t=e.block,n=e.children,r=e.contentState,c=e.decorator,u=e.decoratorKey,d=e.direction,p=e.leafSet,f=e.text,h=t.getKey(),b=p.get("leaves"),A=c.getComponentForKey(u),m=c.getPropsForKey(u),g=i.encode(h,parseInt(u,10),0),v=f.slice(b.first().get("start"),b.last().get("end")),y=l.getHTMLDirIfDifferent(s.getDirection(v),d);return a.createElement(A,o({},m,{contentState:r,decoratedText:v,dir:y,key:g,entityKey:t.getEntityAt(p.get("start")),offsetKey:g}),n)},r}(a.Component);e.exports=c},41985:function(e,t,n){"use strict";var r=n(61767),o=n(13284),i=n(89690),a=n(84117),s=n(87803),l=n(4763),c=n(97685),u=n(56620),d=n(97146),p=n(45338);var f={onDragEnd:function(e){e.exitCurrentMode(),h(e)},onDrop:function(e,t){var n=new r(t.nativeEvent.dataTransfer),u=e._latestEditorState,f=function(e,t){var n=null,r=null,o=s(e.currentTarget);if("function"===typeof o.caretRangeFromPoint){var i=o.caretRangeFromPoint(e.x,e.y);n=i.startContainer,r=i.startOffset}else{if(!e.rangeParent)return null;n=e.rangeParent,r=e.rangeOffset}n=p(n),r=p(r);var l=p(a(n));return c(t,l,r,l,r)}(t.nativeEvent,u);if(t.preventDefault(),e._dragCount=0,e.exitCurrentMode(),null!=f){var A=n.getFiles();if(A.length>0){if(e.props.handleDroppedFiles&&d(e.props.handleDroppedFiles(f,A)))return;l(A,(function(t){t&&e.update(b(u,f,t))}))}else{var m=e._internalDrag?"internal":"external";e.props.handleDrop&&d(e.props.handleDrop(f,n,m))||(e._internalDrag?e.update(function(e,t){var n=o.moveText(e.getCurrentContent(),e.getSelection(),t);return i.push(e,n,"insert-fragment")}(u,f)):e.update(b(u,f,n.getText()))),h(e)}}}};function h(e){e._internalDrag=!1;var t=e.editorContainer;if(t){var n=new MouseEvent("mouseup",{view:u(t),bubbles:!0,cancelable:!0});t.dispatchEvent(n)}}function b(e,t,n){var r=o.insertText(e.getCurrentContent(),t,n,e.getCurrentInlineStyle());return i.push(e,r,"insert-fragment")}e.exports=f},71413:function(e,t,n){"use strict";var r=n(18258),o=n(35352),i=n(92258),a=n(20678),s=n(74977),l=n(70076),c=n(74844),u=n(80110),d=n(49914),p=n(13774),f=n(12196),h=n(19358),b=n(35518),A=r.isBrowser("Chrome"),m=r.isBrowser("Firefox"),g=A||m?b:function(e){},v={onBeforeInput:o,onBlur:i,onCompositionStart:a,onCopy:s,onCut:l,onDragOver:c,onDragStart:u,onFocus:d,onInput:p,onKeyDown:f,onPaste:h,onSelect:b,onMouseUp:g,onKeyUp:g};e.exports=v},76255:function(e,t,n){"use strict";var r=n(1168).unstable_flushControlled;e.exports=r},18389:function(e,t,n){"use strict";var r=n(71843);var o=n(27439),i=n(47313),a=n(87405),s=n(35801),l=n(53413).setDraftEditorSelection,c=function(e){var t,n;function c(){for(var t,n,r,o,i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];return t=e.call.apply(e,[this].concat(a))||this,n=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(t),o=void 0,(r="leaf")in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,t}n=e,(t=c).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var u=c.prototype;return u._setSelection=function(){var e=this.props.selection;if(null!=e&&e.getHasFocus()){var t=this.props,n=t.block,r=t.start,o=t.text,i=n.getKey(),c=r+o.length;if(e.hasEdgeWithin(i,r,c)){var u=this.leaf;u||a(!1);var d,p=u.firstChild;p||a(!1),p.nodeType===Node.TEXT_NODE?d=p:s(p)?d=u:(d=p.firstChild)||a(!1),l(e,d,i,r,c)}}},u.shouldComponentUpdate=function(e){var t=this.leaf;return t||a(!1),t.textContent!==e.text||e.styleSet!==this.props.styleSet||e.forceSelection},u.componentDidUpdate=function(){this._setSelection()},u.componentDidMount=function(){this._setSelection()},u.render=function(){var e=this,t=this.props.block,n=this.props.text;n.endsWith("\n")&&this.props.isLast&&(n+="\n");var a=this.props,s=a.customStyleMap,l=a.customStyleFn,c=a.offsetKey,u=a.styleSet,d=u.reduce((function(e,t){var n={},o=s[t];return void 0!==o&&e.textDecoration!==o.textDecoration&&(n.textDecoration=[e.textDecoration,o.textDecoration].join(" ").trim()),r(e,o,n)}),{});if(l){var p=l(u,t);d=r(d,p)}return i.createElement("span",{"data-offset-key":c,ref:function(t){return e.leaf=t},style:d},i.createElement(o,null,n))},c}(i.Component);e.exports=c},6080:function(e,t,n){"use strict";var r=n(38158),o=n(18389),i=n(44519),a=n(15986),s=n(47313),l=n(37827),c=(a.List,function(e){var t,n;function a(){return e.apply(this,arguments)||this}return n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,a.prototype.render=function(){var e=this.props,t=e.block,n=e.contentState,a=e.customStyleFn,c=e.customStyleMap,u=e.decorator,d=e.direction,p=e.forceSelection,f=e.hasSelection,h=e.selection,b=e.tree,A=t.getKey(),m=t.getText(),g=b.size-1,v=this.props.children||b.map((function(e,l){var b=e.get("decoratorKey"),v=e.get("leaves"),y=v.size-1,M=v.map((function(e,n){var r=i.encode(A,l,n),u=e.get("start"),d=e.get("end");return s.createElement(o,{key:r,offsetKey:r,block:t,start:u,selection:f?h:null,forceSelection:p,text:m.slice(u,d),styleSet:t.getInlineStyleAt(u),customStyleMap:c,customStyleFn:a,isLast:b===g&&n===y})})).toArray();return b&&u?s.createElement(r,{block:t,children:M,contentState:n,decorator:u,decoratorKey:b,direction:d,leafSet:e,text:m,key:l}):M})).toArray();return s.createElement("div",{"data-offset-key":i.encode(A,0,0),className:l({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===d,"public/DraftStyleDefault/rtl":"RTL"===d})},v)},a}(s.Component));e.exports=c},30776:function(e,t,n){"use strict";var r=n(47313),o=n(37827),i=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var a=i.prototype;return a.shouldComponentUpdate=function(e){return this.props.text!==e.text||this.props.editorState.getSelection().getHasFocus()!==e.editorState.getSelection().getHasFocus()},a.render=function(){var e=this.props.editorState.getSelection().getHasFocus(),t=o({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":e});return r.createElement("div",{className:t},r.createElement("div",{className:o("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},i}(r.Component);e.exports=i},27439:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=n(47313),a=n(18258),s=n(87405),l=n(5914),c=a.isBrowser("IE <= 11");var u=function(e){var t,n;function a(t){var n;return o(r(n=e.call(this,t)||this),"_forceFlag",void 0),o(r(n),"_node",void 0),n._forceFlag=!1,n}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var u=a.prototype;return u.shouldComponentUpdate=function(e){var t=this._node,n=""===e.children;l(t)||s(!1);var r=t;return n?!function(e){return c?"\n"===e.textContent:"BR"===e.tagName}(r):r.textContent!==e.children},u.componentDidMount=function(){this._forceFlag=!this._forceFlag},u.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},u.render=function(){var e,t=this;return""===this.props.children?this._forceFlag?(e=function(e){return t._node=e},c?i.createElement("span",{key:"A","data-text":"true",ref:e},"\n"):i.createElement("br",{key:"A","data-text":"true",ref:e})):function(e){return c?i.createElement("span",{key:"B","data-text":"true",ref:e},"\n"):i.createElement("br",{key:"B","data-text":"true",ref:e})}((function(e){return t._node=e})):i.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(e){return t._node=e}},this.props.children)},a}(i.Component);e.exports=u},36221:function(e){"use strict";e.exports={initODS:function(){},handleExtensionCausedError:function(){}}},5112:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(50842),i=n(15986),a=n(87405),s=n(48820),l=(0,i.Map)(),c=s();function u(e,t){console.warn("WARNING: "+e+' will be deprecated soon!\nPlease use "'+t+'" instead.')}var d={getLastCreatedEntityKey:function(){return u("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),d.__getLastCreatedEntityKey()},create:function(e,t,n){return u("DraftEntity.create","contentState.createEntity"),d.__create(e,t,n)},add:function(e){return u("DraftEntity.add","contentState.addEntity"),d.__add(e)},get:function(e){return u("DraftEntity.get","contentState.getEntity"),d.__get(e)},__getAll:function(){return l},__loadWithEntities:function(e){l=e,c=s()},mergeData:function(e,t){return u("DraftEntity.mergeData","contentState.mergeEntityData"),d.__mergeData(e,t)},replaceData:function(e,t){return u("DraftEntity.replaceData","contentState.replaceEntityData"),d.__replaceData(e,t)},__getLastCreatedEntityKey:function(){return c},__create:function(e,t,n){return d.__add(new o({type:e,mutability:t,data:n||{}}))},__add:function(e){return c=s(),l=l.set(c,e),c},__get:function(e){var t=l.get(e);return t||a(!1),t},__mergeData:function(e,t){var n=d.__get(e),o=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){r(e,t,n[t])}))}return e}({},n.getData(),t),i=n.set("data",o);return l=l.set(e,i),i},__replaceData:function(e,t){var n=d.__get(e).set("data",t);return l=l.set(e,n),n}};e.exports=d},50842:function(e,t,n){"use strict";var r=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var o=r.prototype;return o.getType=function(){return this.get("type")},o.getMutability=function(){return this.get("mutability")},o.getData=function(){return this.get("data")},r}((0,n(15986).Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object}));e.exports=r},54178:function(e){"use strict";e.exports={getRemovalRange:function(e,t,n,r,o){var i=n.split(" ");i=i.map((function(e,t){if("forward"===o){if(t>0)return" "+e}else if(t<i.length-1)return e+" ";return e}));for(var a,s=r,l=null,c=null,u=0;u<i.length;u++){if(e<(a=s+i[u].length)&&s<t)null!==l||(l=s),c=a;else if(null!==l)break;s=a}var d=r+n.length,p=l===r,f=c===d;return(!p&&f||p&&!f)&&("forward"===o?c!==d&&c++:l!==r&&l--),{start:l,end:c}}}},45203:function(e){"use strict";e.exports={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}}},13284:function(e,t,n){"use strict";var r=n(21866),o=n(2254),i=n(82063),a=n(61311),s=n(81363),l=n(15986),c=n(59167),u=n(53574),d=n(87405),p=n(62614),f=n(49839),h=n(57429),b=n(65288),A=l.OrderedSet,m={replaceText:function(e,t,n,o,i){var a=f(e,t),s=h(a,t),l=r.create({style:o||A(),entity:i||null});return u(s,s.getSelectionAfter(),n,l)},insertText:function(e,t,n,r,o){return t.isCollapsed()||d(!1),m.replaceText(e,t,n,r,o)},moveText:function(e,t,n){var r=s(e,t),o=m.removeRange(e,t,"backward");return m.replaceWithFragment(o,n,r)},replaceWithFragment:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA",o=f(e,t),i=h(o,t);return c(i,i.getSelectionAfter(),n,r)},removeRange:function(e,t,n){var r,o,i,s;t.getIsBackward()&&(t=t.merge({anchorKey:t.getFocusKey(),anchorOffset:t.getFocusOffset(),focusKey:t.getAnchorKey(),focusOffset:t.getAnchorOffset(),isBackward:!1})),r=t.getAnchorKey(),o=t.getFocusKey(),i=e.getBlockForKey(r),s=e.getBlockForKey(o);var l=t.getStartOffset(),c=t.getEndOffset(),u=i.getEntityAt(l),d=s.getEntityAt(c-1);if(r===o&&u&&u===d){var p=a(e.getEntityMap(),i,s,t,n);return h(e,p)}var b=f(e,t);return h(b,t)},splitBlock:function(e,t){var n=f(e,t),r=h(n,t);return b(r,r.getSelectionAfter())},applyInlineStyle:function(e,t,n){return o.add(e,t,n)},removeInlineStyle:function(e,t,n){return o.remove(e,t,n)},setBlockType:function(e,t,n){return p(e,t,(function(e){return e.merge({type:n,depth:0})}))},setBlockData:function(e,t,n){return p(e,t,(function(e){return e.merge({data:n})}))},mergeBlockData:function(e,t,n){return p(e,t,(function(e){return e.merge({data:e.getData().merge(n)})}))},applyEntity:function(e,t,n){var r=f(e,t);return i(r,t,n)}};e.exports=m},44519:function(e){"use strict";var t="-",n={encode:function(e,n,r){return e+t+n+t+r},decode:function(e){var n=e.split(t).reverse(),r=n[0],o=n[1];return{blockKey:n.slice(2).reverse().join(t),decoratorKey:parseInt(o,10),leafKey:parseInt(r,10)}}};e.exports=n},46604:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(35038),i=n(34615),a=n(76189),s=n(34354),l=n(11501),c=n(86137),u=n(15986),d=n(28720),p=u.List,f=u.Repeat,h=c("draft_tree_data_support"),b=h?i:o,A={processHTML:function(e,t){return a(e,l,t)},processText:function(e,t,n){return e.reduce((function(e,o,i){o=d(o);var a=s(),l={key:a,type:n,text:o,characterList:p(f(t,o.length))};if(h&&0!==i){var c=i-1;l=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){r(e,t,n[t])}))}return e}({},l,{prevSibling:(e[c]=e[c].merge({nextSibling:a})).getKey()})}return e.push(new b(l)),e}),[])}};e.exports=A},36068:function(e,t,n){"use strict";var r="['\u2018\u2019]",o="\\s|(?![_])"+n(71495).getPunctuation(),i=new RegExp("^(?:"+o+")*(?:"+r+"|(?!"+o+").)*(?:(?!"+o+").)"),a=new RegExp("(?:(?!"+o+").)(?:"+r+"|(?!"+o+").)*(?:"+o+")*$");function s(e,t){var n=t?a.exec(e):i.exec(e);return n?n[0]:e}var l={getBackward:function(e){return s(e,!0)},getForward:function(e){return s(e,!1)}};e.exports=l},97596:function(e){"use strict";var t={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}};e.exports=t},88364:function(e,t,n){"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){o(e,t,n[t])}))}return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=n(34354),a=n(87405),s=function(e){if(!e||!e.type)return!1;var t=e.type;return"unordered-list-item"===t||"ordered-list-item"===t},l={fromRawTreeStateToRawState:function(e){var t=e.blocks,n=[];return Array.isArray(t)||a(!1),Array.isArray(t)&&t.length?(function(e,t){for(var n=[].concat(e).reverse();n.length;){var r=n.pop();t(r);var o=r.children;Array.isArray(o)||a(!1),n=n.concat([].concat(o.reverse()))}}(t,(function(e){var t=r({},e);s(e)&&(t.depth=t.depth||0,function(e){Array.isArray(e.children)&&(e.children=e.children.map((function(t){return t.type===e.type?r({},t,{depth:(e.depth||0)+1}):t})))}(e),null!=e.children&&e.children.length>0)||(delete t.children,n.push(t))})),e.blocks=n,r({},e,{blocks:n})):e},fromRawStateToRawTreeState:function(e){var t=[],n=[];return e.blocks.forEach((function(e){var o=s(e),a=e.depth||0,l=r({},e,{children:[]});if(o){var c=n[0];if(null==c&&0===a)t.push(l);else if(null==c||c.depth<a-1){var u={key:i(),text:"",depth:a-1,type:e.type,children:[],entityRanges:[],inlineStyleRanges:[]};n.unshift(u),1===a?t.push(u):null!=c&&c.children.push(u),u.children.push(l)}else if(c.depth===a-1)c.children.push(l);else{for(;null!=c&&c.depth>=a;)n.shift(),c=n[0];a>0?c.children.push(l):t.push(l)}}else t.push(l)})),r({},e,{blocks:t})}};e.exports=l},32768:function(e,t,n){"use strict";n(64265);e.exports={isValidBlock:function(e,t){var n=e.getKey(),r=e.getParentKey();if(null!=r&&!t.get(r).getChildKeys().includes(n))return!1;if(!e.getChildKeys().map((function(e){return t.get(e)})).every((function(e){return e.getParentKey()===n})))return!1;var o=e.getPrevSiblingKey();if(null!=o&&t.get(o).getNextSiblingKey()!==n)return!1;var i=e.getNextSiblingKey();if(null!=i&&t.get(i).getPrevSiblingKey()!==n)return!1;return(null===i||null===o||o!==i)&&!(""!=e.text&&e.getChildKeys().size>0)},isConnectedTree:function(e){var t=e.toArray().filter((function(e){return null==e.getParentKey()&&null==e.getPrevSiblingKey()}));if(1!==t.length)return!1;for(var n=0,r=t.shift().getKey(),o=[];null!=r;){var i=e.get(r),a=i.getChildKeys(),s=i.getNextSiblingKey();if(a.size>0){null!=s&&o.unshift(s);var l=a.map((function(t){return e.get(t)})).find((function(e){return null==e.getPrevSiblingKey()}));if(null==l)return!1;r=l.getKey()}else r=null!=i.getNextSiblingKey()?i.getNextSiblingKey():o.shift();n++}return n===e.size},isValidTree:function(e){var t=this;return!!e.toArray().every((function(n){return t.isValidBlock(n,e)}))&&this.isConnectedTree(e)}}},98964:function(e,t,n){"use strict";var r,o=n(56757),i=n(15986),a=n(45338),s=i.OrderedMap,l={getDirectionMap:function(e,t){r?r.reset():r=new o;var n=e.getBlockMap(),l=n.valueSeq().map((function(e){return a(r).getDirection(e.getText())})),c=s(n.keySeq().zip(l));return null!=t&&i.is(t,c)?t:c}};e.exports=l},89690:function(e,t,n){"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){o(e,t,n[t])}))}return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=n(994),a=n(43281),s=n(98964),l=n(58977),c=n(15986),u=c.OrderedSet,d=c.Record,p=c.Stack,f=c.OrderedMap,h=c.List,b=d({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:p(),selection:null,treeMap:null,undoStack:p()}),A=function(){t.createEmpty=function(e){return this.createWithText("",e)},t.createWithText=function(e,n){return t.createWithContent(a.createFromText(e),n)},t.createWithContent=function(e,n){if(0===e.getBlockMap().count())return t.createEmpty(n);var r=e.getBlockMap().first().getKey();return t.create({currentContent:e,undoStack:p(),redoStack:p(),decorator:n||null,selection:l.createEmpty(r)})},t.create=function(e){var n=e.currentContent,o=r({},e,{treeMap:g(n,e.decorator),directionMap:s.getDirectionMap(n)});return new t(new b(o))},t.fromJS=function(e){return new t(new b(r({},e,{directionMap:null!=e.directionMap?f(e.directionMap):e.directionMap,inlineStyleOverride:null!=e.inlineStyleOverride?u(e.inlineStyleOverride):e.inlineStyleOverride,nativelyRenderedContent:null!=e.nativelyRenderedContent?a.fromJS(e.nativelyRenderedContent):e.nativelyRenderedContent,redoStack:null!=e.redoStack?p(e.redoStack.map((function(e){return a.fromJS(e)}))):e.redoStack,selection:null!=e.selection?new l(e.selection):e.selection,treeMap:null!=e.treeMap?f(e.treeMap).map((function(e){return h(e).map((function(e){return i.fromJS(e)}))})):e.treeMap,undoStack:null!=e.undoStack?p(e.undoStack.map((function(e){return a.fromJS(e)}))):e.undoStack,currentContent:a.fromJS(e.currentContent)})))},t.set=function(e,n){return new t(e.getImmutable().withMutations((function(t){var r=t.get("decorator"),o=r;null===n.decorator?o=null:n.decorator&&(o=n.decorator);var a=n.currentContent||e.getCurrentContent();if(o!==r){var s,l=t.get("treeMap");return s=o&&r?function(e,t,n,r,o){return n.merge(t.toSeq().filter((function(t){return r.getDecorations(t,e)!==o.getDecorations(t,e)})).map((function(t){return i.generate(e,t,r)})))}(a,a.getBlockMap(),l,o,r):g(a,o),void t.merge({decorator:o,treeMap:s,nativelyRenderedContent:null})}a!==e.getCurrentContent()&&t.set("treeMap",function(e,t,n,r){var o=e.getCurrentContent().set("entityMap",n),a=o.getBlockMap(),s=e.getImmutable().get("treeMap");return s.merge(t.toSeq().filter((function(e,t){return e!==a.get(t)})).map((function(e){return i.generate(o,e,r)})))}(e,a.getBlockMap(),a.getEntityMap(),o)),t.merge(n)})))};var e=t.prototype;function t(e){o(this,"_immutable",void 0),this._immutable=e}return e.toJS=function(){return this.getImmutable().toJS()},e.getAllowUndo=function(){return this.getImmutable().get("allowUndo")},e.getCurrentContent=function(){return this.getImmutable().get("currentContent")},e.getUndoStack=function(){return this.getImmutable().get("undoStack")},e.getRedoStack=function(){return this.getImmutable().get("redoStack")},e.getSelection=function(){return this.getImmutable().get("selection")},e.getDecorator=function(){return this.getImmutable().get("decorator")},e.isInCompositionMode=function(){return this.getImmutable().get("inCompositionMode")},e.mustForceSelection=function(){return this.getImmutable().get("forceSelection")},e.getNativelyRenderedContent=function(){return this.getImmutable().get("nativelyRenderedContent")},e.getLastChangeType=function(){return this.getImmutable().get("lastChangeType")},e.getInlineStyleOverride=function(){return this.getImmutable().get("inlineStyleOverride")},t.setInlineStyleOverride=function(e,n){return t.set(e,{inlineStyleOverride:n})},e.getCurrentInlineStyle=function(){var e=this.getInlineStyleOverride();if(null!=e)return e;var t=this.getCurrentContent(),n=this.getSelection();return n.isCollapsed()?function(e,t){var n=t.getStartKey(),r=t.getStartOffset(),o=e.getBlockForKey(n);if(r>0)return o.getInlineStyleAt(r-1);if(o.getLength())return o.getInlineStyleAt(0);return v(e,n)}(t,n):function(e,t){var n=t.getStartKey(),r=t.getStartOffset(),o=e.getBlockForKey(n);if(r<o.getLength())return o.getInlineStyleAt(r);if(r>0)return o.getInlineStyleAt(r-1);return v(e,n)}(t,n)},e.getBlockTree=function(e){return this.getImmutable().getIn(["treeMap",e])},e.isSelectionAtStartOfContent=function(){var e=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(e,0,0)},e.isSelectionAtEndOfContent=function(){var e=this.getCurrentContent().getBlockMap().last(),t=e.getLength();return this.getSelection().hasEdgeWithin(e.getKey(),t,t)},e.getDirectionMap=function(){return this.getImmutable().get("directionMap")},t.acceptSelection=function(e,t){return m(e,t,!1)},t.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),m(e,t,!0)},t.moveSelectionToEnd=function(e){var n=e.getCurrentContent().getLastBlock(),r=n.getKey(),o=n.getLength();return t.acceptSelection(e,new l({anchorKey:r,anchorOffset:o,focusKey:r,focusOffset:o,isBackward:!1}))},t.moveFocusToEnd=function(e){var n=t.moveSelectionToEnd(e);return t.forceSelection(n,n.getSelection())},t.push=function(e,n,r){var o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(e.getCurrentContent()===n)return e;var i=s.getDirectionMap(n,e.getDirectionMap());if(!e.getAllowUndo())return t.set(e,{currentContent:n,directionMap:i,lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:o,inlineStyleOverride:null});var a=e.getSelection(),l=e.getCurrentContent(),c=e.getUndoStack(),u=n;a!==l.getSelectionAfter()||function(e,t){var n=e.getLastChangeType();return t!==n||"insert-characters"!==t&&"backspace-character"!==t&&"delete-character"!==t}(e,r)?(c=c.push(l),u=u.set("selectionBefore",a)):"insert-characters"!==r&&"backspace-character"!==r&&"delete-character"!==r||(u=u.set("selectionBefore",l.getSelectionBefore()));var d=e.getInlineStyleOverride();-1===["adjust-depth","change-block-type","split-block"].indexOf(r)&&(d=null);var f={currentContent:u,directionMap:i,undoStack:c,redoStack:p(),lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:o,inlineStyleOverride:d};return t.set(e,f)},t.undo=function(e){if(!e.getAllowUndo())return e;var n=e.getUndoStack(),r=n.peek();if(!r)return e;var o=e.getCurrentContent(),i=s.getDirectionMap(r,e.getDirectionMap());return t.set(e,{currentContent:r,directionMap:i,undoStack:n.shift(),redoStack:e.getRedoStack().push(o),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:o.getSelectionBefore()})},t.redo=function(e){if(!e.getAllowUndo())return e;var n=e.getRedoStack(),r=n.peek();if(!r)return e;var o=e.getCurrentContent(),i=s.getDirectionMap(r,e.getDirectionMap());return t.set(e,{currentContent:r,directionMap:i,undoStack:e.getUndoStack().push(o),redoStack:n.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:r.getSelectionAfter()})},e.getImmutable=function(){return this._immutable},t}();function m(e,t,n){return A.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function g(e,t){return e.getBlockMap().map((function(n){return i.generate(e,n,t)})).toOrderedMap()}function v(e,t){var n=e.getBlockMap().reverse().skipUntil((function(e,n){return n===t})).skip(1).skipUntil((function(e,t){return e.getLength()})).first();return n?n.getInlineStyleAt(n.getLength()-1):u()}e.exports=A},17293:function(e,t,n){"use strict";var r=n(18258),o=n(19862),i=r.isPlatform("Mac OS X"),a={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return i&&e.altKey},usesMacOSHeuristics:function(){return i},hasCommandModifier:function(e){return i?!!e.metaKey&&!e.altKey:a.isCtrlKeyCommand(e)},isSoftNewlineEvent:o};e.exports=a},41943:function(){},84859:function(e,t,n){"use strict";var r=n(13284),o=n(89690),i=n(23707),a=n(45338),s={currentBlockContainsLink:function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=n.getEntityMap();return n.getBlockForKey(t.getAnchorKey()).getCharacterList().slice(t.getStartOffset(),t.getEndOffset()).some((function(e){var t=e.getEntity();return!!t&&"LINK"===r.__get(t).getType()}))},getCurrentBlockType:function(e){var t=e.getSelection();return e.getCurrentContent().getBlockForKey(t.getStartKey()).getType()},getDataObjectForLinkURL:function(e){return{url:e.toString()}},handleKeyCommand:function(e,t,n){switch(t){case"bold":return s.toggleInlineStyle(e,"BOLD");case"italic":return s.toggleInlineStyle(e,"ITALIC");case"underline":return s.toggleInlineStyle(e,"UNDERLINE");case"code":return s.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return s.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return s.onDelete(e);default:return null}},insertSoftNewline:function(e){var t=r.insertText(e.getCurrentContent(),e.getSelection(),"\n",e.getCurrentInlineStyle(),null),n=o.push(e,t,"insert-characters");return o.forceSelection(n,t.getSelectionAfter())},onBackspace:function(e){var t=e.getSelection();if(!t.isCollapsed()||t.getAnchorOffset()||t.getFocusOffset())return null;var n=e.getCurrentContent(),r=t.getStartKey(),i=n.getBlockBefore(r);if(i&&"atomic"===i.getType()){var a=n.getBlockMap().delete(i.getKey()),l=n.merge({blockMap:a,selectionAfter:t});if(l!==n)return o.push(e,l,"remove-range")}var c=s.tryToRemoveBlockStyle(e);return c?o.push(e,c,"change-block-type"):null},onDelete:function(e){var t=e.getSelection();if(!t.isCollapsed())return null;var n=e.getCurrentContent(),i=t.getStartKey(),a=n.getBlockForKey(i).getLength();if(t.getStartOffset()<a)return null;var s=n.getBlockAfter(i);if(!s||"atomic"!==s.getType())return null;var l=t.merge({focusKey:s.getKey(),focusOffset:s.getLength()}),c=r.removeRange(n,l,"forward");return c!==n?o.push(e,c,"remove-range"):null},onTab:function(e,t,n){var r=t.getSelection(),a=r.getAnchorKey();if(a!==r.getFocusKey())return t;var s=t.getCurrentContent(),l=s.getBlockForKey(a),c=l.getType();if("unordered-list-item"!==c&&"ordered-list-item"!==c)return t;e.preventDefault();var u=l.getDepth();if(!e.shiftKey&&u===n)return t;var d=i(s,r,e.shiftKey?-1:1,n);return o.push(t,d,"adjust-depth")},toggleBlockType:function(e,t){var n=e.getSelection(),i=n.getStartKey(),s=n.getEndKey(),l=e.getCurrentContent(),c=n;if(i!==s&&0===n.getEndOffset()){var u=a(l.getBlockBefore(s));s=u.getKey(),c=c.merge({anchorKey:i,anchorOffset:n.getStartOffset(),focusKey:s,focusOffset:u.getLength(),isBackward:!1})}if(l.getBlockMap().skipWhile((function(e,t){return t!==i})).reverse().skipWhile((function(e,t){return t!==s})).some((function(e){return"atomic"===e.getType()})))return e;var d=l.getBlockForKey(i).getType()===t?"unstyled":t;return o.push(e,r.setBlockType(l,c,d),"change-block-type")},toggleCode:function(e){var t=e.getSelection(),n=t.getAnchorKey(),r=t.getFocusKey();return t.isCollapsed()||n!==r?s.toggleBlockType(e,"code-block"):s.toggleInlineStyle(e,"CODE")},toggleInlineStyle:function(e,t){var n=e.getSelection(),i=e.getCurrentInlineStyle();if(n.isCollapsed())return o.setInlineStyleOverride(e,i.has(t)?i.remove(t):i.add(t));var a,s=e.getCurrentContent();return a=i.has(t)?r.removeInlineStyle(s,n,t):r.applyInlineStyle(s,n,t),o.push(e,a,"change-inline-style")},toggleLink:function(e,t,n){var i=r.applyEntity(e.getCurrentContent(),t,n);return o.push(e,i,"apply-entity")},tryToRemoveBlockStyle:function(e){var t=e.getSelection(),n=t.getAnchorOffset();if(t.isCollapsed()&&0===n){var o=t.getAnchorKey(),i=e.getCurrentContent(),a=i.getBlockForKey(o).getType(),s=i.getBlockBefore(o);if("code-block"===a&&s&&"code-block"===s.getType()&&0!==s.getLength())return null;if("unstyled"!==a)return r.setBlockType(i,t,"unstyled")}return null}};e.exports=s},84017:function(e,t,n){"use strict";var r=n(13284),o=n(89690),i=n(81363),a=n(45338),s=null,l={cut:function(e){var t=e.getCurrentContent(),n=e.getSelection(),l=null;if(n.isCollapsed()){var c=n.getAnchorKey(),u=t.getBlockForKey(c).getLength();if(u===n.getAnchorOffset()){var d=t.getKeyAfter(c);if(null==d)return e;l=n.set("focusKey",d).set("focusOffset",0)}else l=n.set("focusOffset",u)}else l=n;l=a(l),s=i(t,l);var p=r.removeRange(t,l,"forward");return p===t?e:o.push(e,p,"remove-range")},paste:function(e){if(!s)return e;var t=r.replaceWithFragment(e.getCurrentContent(),e.getSelection(),s);return o.push(e,t,"insert-fragment")}};e.exports=l},58977:function(e,t,n){"use strict";var r=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var o=r.prototype;return o.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},o.getAnchorKey=function(){return this.get("anchorKey")},o.getAnchorOffset=function(){return this.get("anchorOffset")},o.getFocusKey=function(){return this.get("focusKey")},o.getFocusOffset=function(){return this.get("focusOffset")},o.getIsBackward=function(){return this.get("isBackward")},o.getHasFocus=function(){return this.get("hasFocus")},o.hasEdgeWithin=function(e,t,n){var r=this.getAnchorKey(),o=this.getFocusKey();if(r===o&&r===e){var i=this.getStartOffset(),a=this.getEndOffset();return t<=i&&i<=n||t<=a&&a<=n}if(e!==r&&e!==o)return!1;var s=e===r?this.getAnchorOffset():this.getFocusOffset();return t<=s&&n>=s},o.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},o.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},o.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},o.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},o.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},r.createEmpty=function(e){return new r({anchorKey:e,anchorOffset:0,focusKey:e,focusOffset:0,isBackward:!1,hasFocus:!1})},r}((0,n(15986).Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1}));e.exports=r},23707:function(e){"use strict";e.exports=function(e,t,n,r){var o=t.getStartKey(),i=t.getEndKey(),a=e.getBlockMap(),s=a.toSeq().skipUntil((function(e,t){return t===o})).takeUntil((function(e,t){return t===i})).concat([[i,a.get(i)]]).map((function(e){var t=e.getDepth()+n;return t=Math.max(0,Math.min(t,r)),e.set("depth",t)}));return a=a.merge(s),e.merge({blockMap:a,selectionBefore:t,selectionAfter:t})}},78449:function(e,t,n){"use strict";var r=n(21866);e.exports=function(e,t,n,o){for(var i=t,a=e.getCharacterList();i<n;)a=a.set(i,r.applyEntity(a.get(i),o)),i++;return e.set("characterList",a)}},82063:function(e,t,n){"use strict";var r=n(78449),o=n(15986);e.exports=function(e,t,n){var i=e.getBlockMap(),a=t.getStartKey(),s=t.getStartOffset(),l=t.getEndKey(),c=t.getEndOffset(),u=i.skipUntil((function(e,t){return t===a})).takeUntil((function(e,t){return t===l})).toOrderedMap().merge(o.OrderedMap([[l,i.get(l)]])).map((function(e,t){var o=t===a?s:0,i=t===l?c:e.getLength();return r(e,o,i,n)}));return e.merge({blockMap:i.merge(u),selectionBefore:t,selectionAfter:t})}},17348:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(35038),i=n(34615),a=n(97596),s=n(63791),l=n(62878),c=n(87405),u=function(e,t){return{key:e.getKey(),text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:l(e),entityRanges:s(e,t),data:e.getData().toObject()}},d=function(e,t,n,a){if(e instanceof o)n.push(u(e,t));else{e instanceof i||c(!1);var s=e.getParentKey(),l=a[e.getKey()]=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){r(e,t,n[t])}))}return e}({},u(e,t),{children:[]});s?a[s].children.push(l):n.push(l)}};e.exports=function(e){var t={entityMap:{},blocks:[]};return t=function(e,t){var n=t.entityMap,r=[],o={},i={},s=0;return e.getBlockMap().forEach((function(e){e.findEntityRanges((function(e){return null!==e.getEntity()}),(function(t){var r=e.getEntityAt(t),o=a.stringify(r);i[o]||(i[o]=r,n[o]="".concat(s),s++)})),d(e,n,r,o)})),{blocks:r,entityMap:n}}(e,t),t=function(e,t){var n=t.blocks,r=t.entityMap,o={};return Object.keys(r).forEach((function(t,n){var r=e.getEntity(a.unstringify(t));o[n]={type:r.getType(),mutability:r.getMutability(),data:r.getData()}})),{blocks:n,entityMap:o}}(e,t),t}},76189:function(e,t,n){"use strict";var r;function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){i(e,t,n[t])}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=n(21866),s=n(35038),l=n(34615),c=n(60128),u=n(5112),d=n(92636),p=n(37827),f=n(34354),h=n(11501),b=n(86137),A=n(15986),m=A.List,g=A.Map,v=A.OrderedSet,y=n(89134),M=n(35801),O=n(17719),_=n(3864),z=b("draft_tree_data_support"),x=new RegExp("\r","g"),w=new RegExp("\n","g"),C=new RegExp("^\n","g"),S=new RegExp("&nbsp;","g"),E=new RegExp("&#13;?","g"),k=new RegExp("&#8203;?","g"),D=["bold","bolder","500","600","700","800","900"],N=["light","lighter","normal","100","200","300","400"],T=["className","href","rel","target","title"],j=["alt","className","height","src","width"],B=(i(r={},p("public/DraftStyleDefault/depth0"),0),i(r,p("public/DraftStyleDefault/depth1"),1),i(r,p("public/DraftStyleDefault/depth2"),2),i(r,p("public/DraftStyleDefault/depth3"),3),i(r,p("public/DraftStyleDefault/depth4"),4),r),L=g({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),R=function(e){if(O(e)&&e.style.fontFamily.includes("monospace"))return"CODE";return null},q=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(B).some((function(n){e.classList.contains(n)&&(t=B[n])})),t},P=function(e){if(!y(e))return!1;var t=e;if(!t.href||"http:"!==t.protocol&&"https:"!==t.protocol&&"mailto:"!==t.protocol&&"tel:"!==t.protocol)return!1;try{new d(t.href);return!0}catch(n){return!1}},I=function(e){if(!_(e))return!1;var t=e;return!(!t.attributes.getNamedItem("src")||!t.attributes.getNamedItem("src").value)},W=function(e,t){if(!O(e))return t;var n=e,r=n.style.fontWeight,o=n.style.fontStyle,i=n.style.textDecoration;return t.withMutations((function(e){D.indexOf(r)>=0?e.add("BOLD"):N.indexOf(r)>=0&&e.remove("BOLD"),"italic"===o?e.add("ITALIC"):"normal"===o&&e.remove("ITALIC"),"underline"===i&&e.add("UNDERLINE"),"line-through"===i&&e.add("STRIKETHROUGH"),"none"===i&&(e.remove("UNDERLINE"),e.remove("STRIKETHROUGH"))}))},F=function(e){return"ul"===e||"ol"===e},U=function(){function e(e,t){i(this,"characterList",m()),i(this,"currentBlockType","unstyled"),i(this,"currentDepth",0),i(this,"currentEntity",null),i(this,"currentText",""),i(this,"wrapper",null),i(this,"blockConfigs",[]),i(this,"contentBlocks",[]),i(this,"entityMap",u),i(this,"blockTypeMap",void 0),i(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=e,this.disambiguate=t}var t=e.prototype;return t.clear=function(){this.characterList=m(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=u,this.wrapper=null,this.contentBlocks=[]},t.addDOMNode=function(e){var t;return this.contentBlocks=[],this.currentDepth=0,(t=this.blockConfigs).push.apply(t,this._toBlockConfigs([e],v())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},t.getContentBlocks=function(){return 0===this.contentBlocks.length&&(z?this._toContentBlocks(this.blockConfigs):this._toFlatContentBlocks(this.blockConfigs)),{contentBlocks:this.contentBlocks,entityMap:this.entityMap}},t._makeBlockConfig=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=o({key:e.key||f(),type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:m(),prevSibling:null,nextSibling:null,childConfigs:[]},e);return this.characterList=m(),this.currentBlockType="unstyled",this.currentText="",t},t._toBlockConfigs=function(e,t){for(var n=[],r=0;r<e.length;r++){var o=e[r],i=o.nodeName.toLowerCase();if("body"===i||F(i)){this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var a=this.currentDepth,s=this.wrapper;F(i)&&(this.wrapper=i,F(s)&&this.currentDepth++),n.push.apply(n,this._toBlockConfigs(Array.from(o.childNodes),t)),this.currentDepth=a,this.wrapper=s}else{var l=this.blockTypeMap.get(i);if(void 0===l)if("#text"!==i)if("br"!==i)if(I(o))this._addImgNode(o,t);else if(P(o))this._addAnchorNode(o,n,t);else{var c=t;L.has(i)&&(c=c.add(L.get(i))),c=W(o,c);var u=R(o);null!=u&&(c=c.add(u)),n.push.apply(n,this._toBlockConfigs(Array.from(o.childNodes),c))}else this._addBreakNode(o,t);else this._addTextNode(o,t);else{this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var d=this.currentDepth,p=this.wrapper;if(this.wrapper="pre"===i?"pre":this.wrapper,"string"!==typeof l&&(l=this.disambiguate(i,this.wrapper)||l[0]||"unstyled"),!z&&O(o)&&("unordered-list-item"===l||"ordered-list-item"===l)){var h=o;this.currentDepth=q(h,this.currentDepth)}var b=f(),A=this._toBlockConfigs(Array.from(o.childNodes),t);this._trimCurrentText(),n.push(this._makeBlockConfig({key:b,childConfigs:A,type:l})),this.currentDepth=d,this.wrapper=p}}}return n},t._appendText=function(e,t){var n;this.currentText+=e;var r=a.create({style:t,entity:this.currentEntity});this.characterList=(n=this.characterList).push.apply(n,Array(e.length).fill(r))},t._trimCurrentText=function(){var e=this.currentText.length,t=e-this.currentText.trimLeft().length,n=this.currentText.trimRight().length,r=this.characterList.findEntry((function(e){return null!==e.getEntity()}));(t=void 0!==r?Math.min(t,r[0]):t)>(n=void 0!==(r=this.characterList.reverse().findEntry((function(e){return null!==e.getEntity()})))?Math.max(n,e-r[0]):n)?(this.currentText="",this.characterList=m()):(this.currentText=this.currentText.slice(t,n),this.characterList=this.characterList.slice(t,n))},t._addTextNode=function(e,t){var n=e.textContent;""===n.trim()&&"pre"!==this.wrapper&&(n=" "),"pre"!==this.wrapper&&(n=(n=n.replace(C,"")).replace(w," ")),this._appendText(n,t)},t._addBreakNode=function(e,t){M(e)&&this._appendText("\n",t)},t._addImgNode=function(e,t){if(_(e)){var n=e,r={};j.forEach((function(e){var t=n.getAttribute(e);t&&(r[e]=t)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",r),b("draftjs_fix_paste_for_img")?"presentation"!==n.getAttribute("role")&&this._appendText("\ud83d\udcf7",t):this._appendText("\ud83d\udcf7",t),this.currentEntity=null}},t._addAnchorNode=function(e,t,n){if(y(e)){var r=e,o={};T.forEach((function(e){var t=r.getAttribute(e);t&&(o[e]=t)})),o.url=new d(r.href).toString(),this.currentEntity=this.entityMap.__create("LINK","MUTABLE",o||{}),t.push.apply(t,this._toBlockConfigs(Array.from(e.childNodes),n)),this.currentEntity=null}},t._toContentBlocks=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=e.length-1,r=0;r<=n;r++){var i=e[r];i.parent=t,i.prevSibling=r>0?e[r-1].key:null,i.nextSibling=r<n?e[r+1].key:null,i.children=m(i.childConfigs.map((function(e){return e.key}))),this.contentBlocks.push(new l(o({},i))),this._toContentBlocks(i.childConfigs,i.key)}},t._hoistContainersInBlockConfigs=function(e){var t=this;return m(e).flatMap((function(e){return"unstyled"!==e.type||""!==e.text?[e]:t._hoistContainersInBlockConfigs(e.childConfigs)}))},t._toFlatContentBlocks=function(e){var t=this;this._hoistContainersInBlockConfigs(e).forEach((function(e){var n=t._extractTextFromBlockConfigs(e.childConfigs),r=n.text,i=n.characterList;t.contentBlocks.push(new s(o({},e,{text:e.text+r,characterList:e.characterList.concat(i)})))}))},t._extractTextFromBlockConfigs=function(e){for(var t=e.length-1,n="",r=m(),o=0;o<=t;o++){var i=e[o];n+=i.text,r=r.concat(i.characterList),""!==n&&"unstyled"!==i.type&&(n+="\n",r=r.push(r.last()));var a=this._extractTextFromBlockConfigs(i.childConfigs);n+=a.text,r=r.concat(a.characterList)}return{text:n,characterList:r}},e}();e.exports=function(e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:h)(e=e.trim().replace(x,"").replace(S," ").replace(E,"").replace(k,""));if(!n)return null;var r=function(e){var t={};return e.mapKeys((function(e,n){var r=[n.element];void 0!==n.aliasedElements&&r.push.apply(r,n.aliasedElements),r.forEach((function(n){void 0===t[n]?t[n]=e:"string"===typeof t[n]?t[n]=[t[n],e]:t[n].push(e)}))})),g(t)}(t);return new U(r,(function(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null})).addDOMNode(n).getContentBlocks()}},95741:function(e,t,n){"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){o(e,t,n[t])}))}return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=n(35038),a=n(34615),s=n(43281),l=n(5112),c=n(88364),u=(n(32768),n(58977)),d=n(38708),p=n(39033),f=n(29802),h=n(34354),b=n(86137),A=n(15986),m=n(87405),g=b("draft_tree_data_support"),v=A.List,y=A.Map,M=A.OrderedMap,O=function(e,t){var n=e.key,r=e.type,o=e.data;return{text:e.text,depth:e.depth||0,type:r||"unstyled",key:n||h(),data:y(o),characterList:_(e,t)}},_=function(e,t){var n=e.text,o=e.entityRanges,i=e.inlineStyleRanges,a=o||[];return d(f(n,i||[]),p(n,a.filter((function(e){return t.hasOwnProperty(e.key)})).map((function(e){return r({},e,{key:t[e.key]})}))))},z=function(e){return r({},e,{key:e.key||h()})},x=function(e,t,n){var o=t.map((function(e){return r({},e,{parentRef:n})}));return e.concat(o.reverse())},w=function(e,t){var n=e.blocks.find((function(e){return Array.isArray(e.children)&&e.children.length>0})),o=g&&!n?c.fromRawStateToRawTreeState(e).blocks:e.blocks;if(!g)return function(e,t){return M(e.map((function(e){var n=new i(O(e,t));return[n.getKey(),n]})))}(n?c.fromRawTreeStateToRawState(e).blocks:o,t);var s=function(e,t){return e.map(z).reduce((function(n,o,i){Array.isArray(o.children)||m(!1);var s=o.children.map(z),l=new a(r({},O(o,t),{prevSibling:0===i?null:e[i-1].key,nextSibling:i===e.length-1?null:e[i+1].key,children:v(s.map((function(e){return e.key})))}));n=n.set(l.getKey(),l);for(var c=x([],s,l);c.length>0;){var u=c.pop(),d=u.parentRef,p=d.getChildKeys(),f=p.indexOf(u.key),h=Array.isArray(u.children);if(!h){h||m(!1);break}var b=u.children.map(z),A=new a(r({},O(u,t),{parent:d.getKey(),children:v(b.map((function(e){return e.key}))),prevSibling:0===f?null:p.get(f-1),nextSibling:f===p.size-1?null:p.get(f+1)}));n=n.set(A.getKey(),A),c=x(c,b,A)}return n}),M())}(o,t);return s};e.exports=function(e){Array.isArray(e.blocks)||m(!1);var t=function(e){var t=e.entityMap,n={};return Object.keys(t).forEach((function(e){var r=t[e],o=r.type,i=r.mutability,a=r.data;n[e]=l.__create(o,i,a||{})})),n}(e),n=w(e,t),r=n.isEmpty()?new u:u.createEmpty(n.first().getKey());return new s({blockMap:n,entityMap:t,selectionBefore:r,selectionAfter:r})}},38708:function(e,t,n){"use strict";var r=n(21866),o=n(15986).List;e.exports=function(e,t){var n=e.map((function(e,n){var o=t[n];return r.create({style:e,entity:o})}));return o(n)}},39033:function(e,t,n){"use strict";var r=n(82577).substr;e.exports=function(e,t){var n=Array(e.length).fill(null);return t&&t.forEach((function(t){for(var o=r(e,0,t.offset).length,i=o+r(e,t.offset,t.length).length,a=o;a<i;a++)n[a]=t.key})),n}},29802:function(e,t,n){"use strict";var r=n(82577),o=n(15986).OrderedSet,i=r.substr,a=o();e.exports=function(e,t){var n=Array(e.length).fill(a);return t&&t.forEach((function(t){for(var r=i(e,0,t.offset).length,o=r+i(e,t.offset,t.length).length;r<o;)n[r]=n[r].add(t.style),r++})),n}},67261:function(e){"use strict";e.exports={notEmptyKey:function(e){return null!=e&&""!=e}}},35352:function(e,t,n){"use strict";var r=n(13284),o=n(89690),i=n(18258),a=n(33574),s=n(97146),l=n(62165),c=n(45338),u=n(47617),d="'",p="/",f=i.isBrowser("Firefox");function h(e,t,n,i,a){var s=r.replaceText(e.getCurrentContent(),e.getSelection(),t,n,i);return o.push(e,s,"insert-characters",a)}e.exports=function(e,t){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=e._latestEditorState,r=t.data;if(r)if(e.props.handleBeforeInput&&s(e.props.handleBeforeInput(r,n,t.timeStamp)))t.preventDefault();else{var i=n.getSelection(),b=i.getStartOffset(),A=i.getAnchorKey();if(!i.isCollapsed())return t.preventDefault(),void e.update(h(n,r,n.getCurrentInlineStyle(),a(n.getCurrentContent(),n.getSelection()),!0));var m,g=h(n,r,n.getCurrentInlineStyle(),a(n.getCurrentContent(),n.getSelection()),!1),v=!1;if(v||(v=l(e._latestCommittedEditorState)),!v){var y=n.getBlockTree(A),M=g.getBlockTree(A);v=y.size!==M.size||y.zip(M).some((function(e){var t=e[0],n=e[1],o=t.get("start"),i=o+(o>=b?r.length:0),a=t.get("end"),s=a+(a>=b?r.length:0),l=n.get("start"),c=n.get("end"),u=n.get("decoratorKey");return t.get("decoratorKey")!==u||t.get("leaves").size!==n.get("leaves").size||i!==l||s!==c||null!=u&&c-l!==a-o}))}if(v||(m=r,v=f&&(m==d||m==p)),v||(v=c(g.getDirectionMap()).get(A)!==c(n.getDirectionMap()).get(A)),v)return t.preventDefault(),g=o.set(g,{forceSelection:!0}),void e.update(g);g=o.set(g,{nativelyRenderedContent:g.getCurrentContent()}),e._pendingStateFromBeforeInput=g,u((function(){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)}))}}},92258:function(e,t,n){"use strict";var r=n(89690),o=n(42804),i=n(13459);e.exports=function(e,t){var n=t.currentTarget.ownerDocument;if(!Boolean(e.props.preserveSelectionOnBlur)&&i(n)===n.body){var a=n.defaultView.getSelection(),s=e.editor;1===a.rangeCount&&o(s,a.anchorNode)&&o(s,a.focusNode)&&a.removeAllRanges()}var l=e._latestEditorState,c=l.getSelection();if(c.getHasFocus()){var u=c.set("hasFocus",!1);e.props.onBlur&&e.props.onBlur(t),e.update(r.acceptSelection(l,u))}}},20678:function(e,t,n){"use strict";var r=n(89690);e.exports=function(e,t){e.setMode("composite"),e.update(r.set(e._latestEditorState,{inCompositionMode:!0})),e._onCompositionStart(t)}},74977:function(e,t,n){"use strict";var r=n(5212);e.exports=function(e,t){e._latestEditorState.getSelection().isCollapsed()?t.preventDefault():e.setClipboard(r(e._latestEditorState))}},70076:function(e,t,n){"use strict";var r=n(13284),o=n(89690),i=n(9026),a=n(5212),s=n(37541),l=n(6460);e.exports=function(e,t){var n,c=e._latestEditorState,u=c.getSelection(),d=t.target;if(u.isCollapsed())t.preventDefault();else{if(l(d)){var p=d;n=s(i.getScrollParent(p))}var f=a(c);e.setClipboard(f),e.setMode("cut"),setTimeout((function(){e.restoreEditorDOM(n),e.exitCurrentMode(),e.update(function(e){var t=r.removeRange(e.getCurrentContent(),e.getSelection(),"forward");return o.push(e,t,"remove-range")}(c))}),0)}}},74844:function(e){"use strict";e.exports=function(e,t){e.setMode("drag"),t.preventDefault()}},80110:function(e){"use strict";e.exports=function(e){e._internalDrag=!0,e.setMode("drag")}},49914:function(e,t,n){"use strict";var r=n(89690),o=n(18258);e.exports=function(e,t){var n=e._latestEditorState,i=n.getSelection();if(!i.getHasFocus()){var a=i.set("hasFocus",!0);e.props.onFocus&&e.props.onFocus(t),o.isBrowser("Chrome < 60.0.3081.0")?e.update(r.forceSelection(n,a)):e.update(r.acceptSelection(n,a))}}},13774:function(e,t,n){"use strict";var r=n(13284),o=n(44519),i=n(89690),a=n(18258),s=n(67261).notEmptyKey,l=n(84117),c=n(23332),u=n(45338),d=a.isEngine("Gecko");e.exports=function(e,t){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=e.editor.ownerDocument.defaultView.getSelection(),a=n.anchorNode,p=n.isCollapsed,f=(null===a||void 0===a?void 0:a.nodeType)!==Node.TEXT_NODE&&(null===a||void 0===a?void 0:a.nodeType)!==Node.ELEMENT_NODE;if(null!=a&&!f){if(a.nodeType===Node.TEXT_NODE&&(null!==a.previousSibling||null!==a.nextSibling)){var h=a.parentNode;if(null==h)return;a.nodeValue=h.textContent;for(var b=h.firstChild;null!=b;b=b.nextSibling)b!==a&&h.removeChild(b)}var A=a.textContent,m=e._latestEditorState,g=u(l(a)),v=o.decode(g),y=v.blockKey,M=v.decoratorKey,O=v.leafKey,_=m.getBlockTree(y).getIn([M,"leaves",O]),z=_.start,x=_.end,w=m.getCurrentContent(),C=w.getBlockForKey(y),S=C.getText().slice(z,x);if(A.endsWith("\n\n")&&(A=A.slice(0,-1)),A!==S){var E,k,D,N,T=m.getSelection(),j=T.merge({anchorOffset:z,focusOffset:x,isBackward:!1}),B=C.getEntityAt(z),L=s(B)?w.getEntity(B):null,R="MUTABLE"===(null!=L?L.getMutability():null),q=R?"spellcheck-change":"apply-entity",P=r.replaceText(w,j,A,C.getInlineStyleAt(z),R?C.getEntityAt(z):null);if(d)E=n.anchorOffset,k=n.focusOffset,N=(D=z+Math.min(E,k))+Math.abs(E-k),E=D,k=N;else{var I=A.length-S.length;D=T.getStartOffset(),N=T.getEndOffset(),E=p?N+I:D,k=N+I}var W=P.merge({selectionBefore:w.getSelectionAfter(),selectionAfter:T.merge({anchorOffset:E,focusOffset:k})});e.update(i.push(m,W,q))}else{var F=t.nativeEvent.inputType;if(F){var U=function(e,t){return"deleteContentBackward"===e?c(t):t}(F,m);if(U!==m)return e.restoreEditorDOM(),void e.update(U)}}}}},12196:function(e,t,n){"use strict";var r=n(13284),o=n(89690),i=n(17293),a=n(43058),s=n(84017),l=n(18258),c=n(97146),u=n(51559),d=n(90182),p=n(75400),f=n(42617),h=n(56338),b=n(16741),A=n(23332),m=n(93815),g=n(92319),v=n(62640),y=i.isOptionKeyCommand,M=l.isBrowser("Chrome");e.exports=function(e,t){var n=t.which,i=e._latestEditorState;function l(n){var r=e.props[n];return!!r&&(r(t),!0)}switch(n){case a.RETURN:if(t.preventDefault(),e.props.handleReturn&&c(e.props.handleReturn(t,i)))return;break;case a.ESC:if(t.preventDefault(),l("onEscape"))return;break;case a.TAB:if(l("onTab"))return;break;case a.UP:if(l("onUpArrow"))return;break;case a.RIGHT:if(l("onRightArrow"))return;break;case a.DOWN:if(l("onDownArrow"))return;break;case a.LEFT:if(l("onLeftArrow"))return;break;case a.SPACE:M&&y(t)&&t.preventDefault()}var O=e.props.keyBindingFn(t);if(null!=O&&""!==O)if("undo"!==O){if(t.preventDefault(),!e.props.handleKeyCommand||!c(e.props.handleKeyCommand(O,i,t.timeStamp))){var _=function(e,t,n){switch(e){case"redo":return o.redo(t);case"delete":return m(t);case"delete-word":return p(t);case"backspace":return A(t);case"backspace-word":return d(t);case"backspace-to-start-of-line":return u(t,n);case"split-block":return f(t);case"transpose-characters":return g(t);case"move-selection-to-start-of-block":return b(t);case"move-selection-to-end-of-block":return h(t);case"secondary-cut":return s.cut(t);case"secondary-paste":return s.paste(t);default:return t}}(O,i,t);_!==i&&e.update(_)}}else v(t,i,e.update);else if(n===a.SPACE&&M&&y(t)){var z=r.replaceText(i.getCurrentContent(),i.getSelection(),"\xa0");e.update(o.push(i,z,"insert-characters"))}}},19358:function(e,t,n){"use strict";var r=n(3980),o=n(21866),i=n(61767),a=n(13284),s=n(46604),l=n(89690),c=n(84859),u=n(33574),d=n(4763),p=n(97146),f=n(93409);function h(e,t,n){var r=a.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return l.push(e,r.set("entityMap",n),"insert-fragment")}e.exports=function(e,t){t.preventDefault();var n=new i(t.clipboardData);if(!n.isRichText()){var b=n.getFiles(),A=n.getText();if(b.length>0){if(e.props.handlePastedFiles&&p(e.props.handlePastedFiles(b)))return;return void d(b,(function(t){if(t=t||A){var n=e._latestEditorState,i=f(t),d=o.create({style:n.getCurrentInlineStyle(),entity:u(n.getCurrentContent(),n.getSelection())}),p=c.getCurrentBlockType(n),h=s.processText(i,d,p),b=r.createFromArray(h),m=a.replaceWithFragment(n.getCurrentContent(),n.getSelection(),b);e.update(l.push(n,m,"insert-fragment"))}}))}}var m=[],g=n.getText(),v=n.getHTML(),y=e._latestEditorState;if(e.props.formatPastedText){var M=e.props.formatPastedText(g,v);g=M.text,v=M.html}if(!e.props.handlePastedText||!p(e.props.handlePastedText(g,v,y))){if(g&&(m=f(g)),!e.props.stripPastedStyles){var O,_=e.getClipboard();if(!e.props.formatPastedText&&n.isRichText()&&_){if(-1!==(null===(O=v)||void 0===O?void 0:O.indexOf(e.getEditorKey()))||1===m.length&&1===_.size&&_.first().getText()===g)return void e.update(h(e._latestEditorState,_))}else if(_&&n.types.includes("com.apple.webarchive")&&!n.types.includes("text/html")&&function(e,t){return e.length===t.size&&t.valueSeq().every((function(t,n){return t.getText()===e[n]}))}(m,_))return void e.update(h(e._latestEditorState,_));if(v){var z=s.processHTML(v,e.props.blockRenderMap);if(z){var x=z.contentBlocks,w=z.entityMap;if(x){var C=r.createFromArray(x);return void e.update(h(e._latestEditorState,C,w))}}}e.setClipboard(null)}if(m.length){var S=o.create({style:y.getCurrentInlineStyle(),entity:u(y.getCurrentContent(),y.getSelection())}),E=c.getCurrentBlockType(y),k=s.processText(m,S,E),D=r.createFromArray(k);e.update(h(e._latestEditorState,D))}}}},35518:function(e,t,n){"use strict";var r=n(45203),o=n(89690),i=n(80047),a=n(57785);e.exports=function(e){if(e._blockSelectEvents||e._latestEditorState!==e.props.editorState){if(e._blockSelectEvents){var t=e.props.editorState.getSelection();r.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(t.toJS())})}}else{var n=e.props.editorState,s=a(n,i(e)),l=s.selectionState;l!==n.getSelection()&&(n=s.needsRecovery?o.forceSelection(n,l):o.acceptSelection(n,l),e.update(n))}}},63791:function(e,t,n){"use strict";var r=n(97596),o=n(82577).strlen;e.exports=function(e,t){var n=[];return e.findEntityRanges((function(e){return!!e.getEntity()}),(function(i,a){var s=e.getText(),l=e.getEntityAt(i);n.push({offset:o(s.slice(0,i)),length:o(s.slice(i,a)),key:Number(t[r.stringify(l)])})})),n}},62878:function(e,t,n){"use strict";var r=n(82577),o=n(81111),i=function(e,t){return e===t},a=function(e){return!!e},s=[];e.exports=function(e){var t=e.getCharacterList().map((function(e){return e.getStyle()})).toList(),n=t.flatten().toSet().map((function(n){return function(e,t,n){var s=[],l=t.map((function(e){return e.has(n)})).toList();return o(l,i,a,(function(t,o){var i=e.getText();s.push({offset:r.strlen(i.slice(0,t)),length:r.strlen(i.slice(t,o)),style:n})})),s}(e,t,n)}));return Array.prototype.concat.apply(s,n.toJS())}},50926:function(e,t,n){"use strict";var r=n(82577),o=n(87803),i=n(88175),a=n(87405);function s(e,t){for(var n=1/0,r=1/0,o=-1/0,i=-1/0,a=0;a<e.length;a++){var s=e[a];0!==s.width&&1!==s.width&&(n=Math.min(n,s.top),r=Math.min(r,s.bottom),o=Math.max(o,s.top),i=Math.max(i,s.bottom))}return o<=r&&o-n<t&&i-r<t}function l(e){switch(e.nodeType){case Node.DOCUMENT_TYPE_NODE:return 0;case Node.TEXT_NODE:case Node.PROCESSING_INSTRUCTION_NODE:case Node.COMMENT_NODE:return e.length;default:return e.childNodes.length}}e.exports=function(e){e.collapsed||a(!1);var t=(e=e.cloneRange()).startContainer;1!==t.nodeType&&(t=t.parentNode);var n=function(e){var t=getComputedStyle(e),n=o(e),r=n.createElement("div");r.style.fontFamily=t.fontFamily,r.style.fontSize=t.fontSize,r.style.fontStyle=t.fontStyle,r.style.fontWeight=t.fontWeight,r.style.lineHeight=t.lineHeight,r.style.position="absolute",r.textContent="M";var i=n.body;i||a(!1),i.appendChild(r);var s=r.getBoundingClientRect();return i.removeChild(r),s.height}(t),c=e.endContainer,u=e.endOffset;for(e.setStart(e.startContainer,0);s(i(e),n)&&(c=e.startContainer,u=e.startOffset,c.parentNode||a(!1),e.setStartBefore(c),1!==c.nodeType||"inline"===getComputedStyle(c).display););for(var d=c,p=u-1;;){for(var f=d.nodeValue,h=p;h>=0;h--)if(!(null!=f&&h>0&&r.isSurrogatePair(f,h-1))){if(e.setStart(d,h),!s(i(e),n))break;c=d,u=h}if(-1===h||0===d.childNodes.length)break;p=l(d=d.childNodes[h])}return e.setStart(c,u),e}},84117:function(e,t,n){"use strict";var r=n(87803),o=n(54707);e.exports=function(e){for(var t=e;t&&t!==r(e).documentElement;){var n=o(t);if(null!=n)return n;t=t.parentNode}return null}},81111:function(e){"use strict";e.exports=function(e,t,n,r){if(e.size){var o=0;e.reduce((function(e,i,a){return t(e,i)||(n(e)&&r(o,a),o=a),i})),n(e.last())&&r(o,e.count())}}},34354:function(e){"use strict";var t={},n=Math.pow(2,24);e.exports=function(){for(var e;void 0===e||t.hasOwnProperty(e)||!isNaN(+e);)e=Math.floor(Math.random()*n).toString(32);return t[e]=!0,e}},61311:function(e,t,n){"use strict";var r=n(54178),o=n(19264),i=n(87405);function a(e,t,n,a,s,l,c){var u=n.getStartOffset(),d=n.getEndOffset(),p=e.__get(s).getMutability(),f=c?u:d;if("MUTABLE"===p)return n;var h=o(t,s).filter((function(e){return f<=e.end&&f>=e.start}));1!=h.length&&i(!1);var b=h[0];if("IMMUTABLE"===p)return n.merge({anchorOffset:b.start,focusOffset:b.end,isBackward:!1});l||(c?d=b.end:u=b.start);var A=r.getRemovalRange(u,d,t.getText().slice(b.start,b.end),b.start,a);return n.merge({anchorOffset:A.start,focusOffset:A.end,isBackward:!1})}e.exports=function(e,t,n,r,o){var i=r.getStartOffset(),s=r.getEndOffset(),l=t.getEntityAt(i),c=n.getEntityAt(s-1);if(!l&&!c)return r;var u=r;if(l&&l===c)u=a(e,t,u,o,l,!0,!0);else if(l&&c){var d=a(e,t,u,o,l,!1,!0),p=a(e,n,u,o,c,!1,!1);u=u.merge({anchorOffset:d.getAnchorOffset(),focusOffset:p.getFocusOffset(),isBackward:!1})}else if(l){var f=a(e,t,u,o,l,!1,!0);u=u.merge({anchorOffset:f.getStartOffset(),isBackward:!1})}else if(c){var h=a(e,n,u,o,c,!1,!1);u=u.merge({focusOffset:h.getEndOffset(),isBackward:!1})}return u}},80047:function(e,t,n){"use strict";var r=n(87405),o=n(17719);e.exports=function(e){var t=e.editorContainer;return t||r(!1),o(t.firstChild)||r(!1),t.firstChild}},81363:function(e,t,n){"use strict";var r=n(10118),o=n(49839);e.exports=function(e,t){var n=t.getStartKey(),i=t.getStartOffset(),a=t.getEndKey(),s=t.getEndOffset(),l=o(e,t).getBlockMap(),c=l.keySeq(),u=c.indexOf(n),d=c.indexOf(a)+1;return r(l.slice(u,d).map((function(e,t){var r=e.getText(),o=e.getCharacterList();return n===a?e.merge({text:r.slice(i,s),characterList:o.slice(i,s)}):t===n?e.merge({text:r.slice(i),characterList:o.slice(i)}):t===a?e.merge({text:r.slice(0,s),characterList:o.slice(0,s)}):e})))}},87803:function(e){"use strict";e.exports=function(e){return e&&e.ownerDocument?e.ownerDocument:document}},18498:function(e,t,n){"use strict";var r=n(17293),o=n(43058),i=n(18258),a=i.isPlatform("Mac OS X"),s=a&&i.isBrowser("Firefox < 29"),l=r.hasCommandModifier,c=r.isCtrlKeyCommand;function u(e){return a&&e.altKey||c(e)}e.exports=function(e){switch(e.keyCode){case 66:return l(e)?"bold":null;case 68:return c(e)?"delete":null;case 72:return c(e)?"backspace":null;case 73:return l(e)?"italic":null;case 74:return l(e)?"code":null;case 75:return a&&c(e)?"secondary-cut":null;case 77:case 79:return c(e)?"split-block":null;case 84:return a&&c(e)?"transpose-characters":null;case 85:return l(e)?"underline":null;case 87:return a&&c(e)?"backspace-word":null;case 89:return c(e)?a?"secondary-paste":"redo":null;case 90:return function(e){return l(e)?e.shiftKey?"redo":"undo":null}(e)||null;case o.RETURN:return"split-block";case o.DELETE:return function(e){return!a&&e.shiftKey?null:u(e)?"delete-word":"delete"}(e);case o.BACKSPACE:return function(e){return l(e)&&a?"backspace-to-start-of-line":u(e)?"backspace-word":"backspace"}(e);case o.LEFT:return s&&l(e)?"move-selection-to-start-of-block":null;case o.RIGHT:return s&&l(e)?"move-selection-to-end-of-block":null;default:return null}}},57785:function(e,t,n){"use strict";var r=n(18896);e.exports=function(e,t){var n=t.ownerDocument.defaultView.getSelection(),o=n.anchorNode,i=n.anchorOffset,a=n.focusNode,s=n.focusOffset;return 0===n.rangeCount||null==o||null==a?{selectionState:e.getSelection().set("hasFocus",!1),needsRecovery:!1}:r(e,t,o,i,a,s)}},18896:function(e,t,n){"use strict";var r=n(84117),o=n(54707),i=n(97685),a=n(87405),s=n(5914),l=n(45338);function c(e,t,n){var i=t,c=r(i);(null!=c||e&&(e===i||e.firstChild===i)||a(!1),e===i)&&(i=i.firstChild,s(i)||a(!1),"true"!==(i=i).getAttribute("data-contents")&&a(!1),n>0&&(n=i.childNodes.length));if(0===n){var d=null;if(null!=c)d=c;else{var p=function(e){for(;e.firstChild&&(s(e.firstChild)&&"true"===e.firstChild.getAttribute("data-blocks")||o(e.firstChild));)e=e.firstChild;return e}(i);d=l(o(p))}return{key:d,offset:0}}var f=i.childNodes[n-1],h=null,b=null;if(o(f)){var A=function(e){for(;e.lastChild&&(s(e.lastChild)&&"true"===e.lastChild.getAttribute("data-blocks")||o(e.lastChild));)e=e.lastChild;return e}(f);h=l(o(A)),b=u(A)}else h=l(c),b=u(f);return{key:h,offset:b}}function u(e){var t=e.textContent;return"\n"===t?0:t.length}e.exports=function(e,t,n,o,a,s){var u=n.nodeType===Node.TEXT_NODE,d=a.nodeType===Node.TEXT_NODE;if(u&&d)return{selectionState:i(e,l(r(n)),o,l(r(a)),s),needsRecovery:!1};var p=null,f=null,h=!0;return u?(p={key:l(r(n)),offset:o},f=c(t,a,s)):d?(f={key:l(r(a)),offset:s},p=c(t,n,o)):(p=c(t,n,o),f=c(t,a,s),n===a&&o===s&&(h=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:i(e,p.key,p.offset,f.key,f.offset),needsRecovery:h}}},33574:function(e,t,n){"use strict";var r=n(67261).notEmptyKey;function o(e,t){return r(t)&&"MUTABLE"===e.__get(t).getMutability()?t:null}e.exports=function(e,t){var n;if(t.isCollapsed()){var r=t.getAnchorKey(),i=t.getAnchorOffset();return i>0?(n=e.getBlockForKey(r).getEntityAt(i-1))!==e.getBlockForKey(r).getEntityAt(i)?null:o(e.getEntityMap(),n):null}var a=t.getStartKey(),s=t.getStartOffset(),l=e.getBlockForKey(a);return n=s===l.getLength()?null:l.getEntityAt(s),o(e.getEntityMap(),n)}},5212:function(e,t,n){"use strict";var r=n(81363);e.exports=function(e){var t=e.getSelection();return t.isCollapsed()?null:r(e.getCurrentContent(),t)}},48254:function(e,t,n){"use strict";var r=n(34615);e.exports=function(e,t){if(!(e instanceof r))return null;var n=e.getNextSiblingKey();if(n)return n;var o=e.getParentKey();if(!o)return null;for(var i=t.get(o);i&&!i.getNextSiblingKey();){var a=i.getParentKey();i=a?t.get(a):null}return i?i.getNextSiblingKey():null}},60526:function(e){"use strict";e.exports=function(e){return Object.keys(e).map((function(t){return e[t]}))}},71545:function(e,t,n){"use strict";var r=n(88175);e.exports=function(e){var t=r(e),n=0,o=0,i=0,a=0;if(t.length){if(t.length>1&&0===t[0].width){var s=t[1];n=s.top,o=s.right,i=s.bottom,a=s.left}else{var l=t[0];n=l.top,o=l.right,i=l.bottom,a=l.left}for(var c=1;c<t.length;c++){var u=t[c];0!==u.height&&0!==u.width&&(n=Math.min(n,u.top),o=Math.max(o,u.right),i=Math.max(i,u.bottom),a=Math.min(a,u.left))}}return{top:n,right:o,bottom:i,left:a,width:o-a,height:i-n}}},88175:function(e,t,n){"use strict";var r=n(18258),o=n(87405);var i=r.isBrowser("Chrome")?function(e){for(var t=e.cloneRange(),n=[],r=e.endContainer;null!=r;r=r.parentNode){var i=r===e.commonAncestorContainer;i?t.setStart(e.startContainer,e.startOffset):t.setStart(t.endContainer,0);var a,s=Array.from(t.getClientRects());if(n.push(s),i)return n.reverse(),(a=[]).concat.apply(a,n);t.setEndBefore(r)}o(!1)}:function(e){return Array.from(e.getClientRects())};e.exports=i},19264:function(e,t,n){"use strict";var r=n(87405);e.exports=function(e,t){var n=[];return e.findEntityRanges((function(e){return e.getEntity()===t}),(function(e,t){n.push({start:e,end:t})})),n.length||r(!1),n}},11501:function(e,t,n){"use strict";var r=n(18258),o=n(87405),i=r.isBrowser("IE <= 9");e.exports=function(e){var t,n=null;return!i&&document.implementation&&document.implementation.createHTMLDocument&&((t=document.implementation.createHTMLDocument("foo")).documentElement||o(!1),t.documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n}},54707:function(e,t,n){"use strict";var r=n(5914);e.exports=function e(t){if(r(t)){var n=t,o=n.getAttribute("data-offset-key");if(o)return o;for(var i=0;i<n.childNodes.length;i++){var a=e(n.childNodes[i]);if(a)return a}}return null}},4763:function(e,t,n){"use strict";var r=n(87405),o=/\.textClipping$/,i={"text/plain":!0,"text/html":!0,"text/rtf":!0};e.exports=function(e,t){var a=0,s=[];e.forEach((function(l){!function(e,t){if(!n.g.FileReader||e.type&&!(e.type in i))return void t("");if(""===e.type){var a="";return o.test(e.name)&&(a=e.name.replace(o,"")),void t(a)}var s=new FileReader;s.onload=function(){var e=s.result;"string"!==typeof e&&r(!1),t(e)},s.onerror=function(){t("")},s.readAsText(e)}(l,(function(n){a++,n&&s.push(n.slice(0,5e3)),a==e.length&&t(s.join("\r"))}))}))}},97685:function(e,t,n){"use strict";var r=n(44519),o=n(45338);e.exports=function(e,t,n,i,a){var s=o(e.getSelection());if(!t||!i)return s;var l=r.decode(t),c=l.blockKey,u=e.getBlockTree(c),d=u&&u.getIn([l.decoratorKey,"leaves",l.leafKey]),p=r.decode(i),f=p.blockKey,h=e.getBlockTree(f),b=h&&h.getIn([p.decoratorKey,"leaves",p.leafKey]);if(!d||!b)return s;var A=d.get("start"),m=b.get("start"),g=d?A+n:null,v=b?m+a:null;if(s.getAnchorKey()===c&&s.getAnchorOffset()===g&&s.getFocusKey()===f&&s.getFocusOffset()===v)return s;var y=!1;if(c===f){var M=d.get("end"),O=b.get("end");y=m===A&&O===M?a<n:m<A}else{y=e.getCurrentContent().getBlockMap().keySeq().skipUntil((function(e){return e===c||e===f})).first()===f}return s.merge({anchorKey:c,anchorOffset:g,focusKey:f,focusOffset:v,isBackward:y})}},30640:function(e,t,n){"use strict";var r=n(71545);e.exports=function(e){var t=e.getSelection();if(!t.rangeCount)return null;var n=t.getRangeAt(0),o=r(n),i=o.top,a=o.right,s=o.bottom,l=o.left;return 0===i&&0===a&&0===s&&0===l?null:o}},56620:function(e){"use strict";e.exports=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window}},86137:function(e){"use strict";e.exports=function(e){return!("undefined"===typeof window||!window.__DRAFT_GKX)&&!!window.__DRAFT_GKX[e]}},59167:function(e,t,n){"use strict";var r=n(3980),o=n(34615),i=n(15986),a=n(9223),s=n(87405),l=n(10118),c=i.List,u=function(e,t,n,i,a,s){var l=n.first()instanceof o,u=[],d=i.size,p=n.get(a),f=i.first(),h=i.last(),b=h.getLength(),A=h.getKey(),m=l&&(!p.getChildKeys().isEmpty()||!f.getChildKeys().isEmpty());n.forEach((function(e,t){t===a?(m?u.push(e):u.push(function(e,t,n){var r=e.getText(),o=e.getCharacterList(),i=r.slice(0,t),a=o.slice(0,t),s=n.first();return e.merge({text:i+s.getText(),characterList:a.concat(s.getCharacterList()),type:i?e.getType():s.getType(),data:s.getData()})}(e,s,i)),i.slice(m?0:1,d-1).forEach((function(e){return u.push(e)})),u.push(function(e,t,n){var r=e.getText(),o=e.getCharacterList(),i=r.length,a=r.slice(t,i),s=o.slice(t,i),l=n.last();return l.merge({text:l.getText()+a,characterList:l.getCharacterList().concat(s),data:l.getData()})}(e,s,i))):u.push(e)}));var g=r.createFromArray(u);return l&&(g=function(e,t,n,r){return e.withMutations((function(t){var o=n.getKey(),i=r.getKey(),a=n.getNextSiblingKey(),s=n.getParentKey(),l=function(e,t){var n=e.getKey(),r=e,o=[];for(t.get(n)&&o.push(n);r&&r.getNextSiblingKey();){var i=r.getNextSiblingKey();if(!i)break;o.push(i),r=t.get(i)}return o}(r,e),u=l[l.length-1];if(t.get(i)?(t.setIn([o,"nextSibling"],i),t.setIn([i,"prevSibling"],o)):(t.setIn([o,"nextSibling"],r.getNextSiblingKey()),t.setIn([r.getNextSiblingKey(),"prevSibling"],o)),t.setIn([u,"nextSibling"],a),a&&t.setIn([a,"prevSibling"],u),l.forEach((function(e){return t.setIn([e,"parent"],s)})),s){var d=e.get(s).getChildKeys(),p=d.indexOf(o)+1,f=d.toArray();f.splice.apply(f,[p,0].concat(l)),t.setIn([s,"children"],c(f))}}))}(g,0,p,f)),e.merge({blockMap:g,selectionBefore:t,selectionAfter:t.merge({anchorKey:A,anchorOffset:b,focusKey:A,focusOffset:b,isBackward:!1})})};e.exports=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";t.isCollapsed()||s(!1);var i=e.getBlockMap(),c=l(n),d=t.getStartKey(),p=t.getStartOffset(),f=i.get(d);return f instanceof o&&(f.getChildKeys().isEmpty()||s(!1)),1===c.size?function(e,t,n,r,o,i){var s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"REPLACE_WITH_NEW_DATA",l=n.get(o),c=l.getText(),u=l.getCharacterList(),d=o,p=i+r.getText().length,f=null;switch(s){case"MERGE_OLD_DATA_TO_NEW_DATA":f=r.getData().merge(l.getData());break;case"REPLACE_WITH_NEW_DATA":f=r.getData()}var h=l.getType();c&&"unstyled"===h&&(h=r.getType());var b=l.merge({text:c.slice(0,i)+r.getText()+c.slice(i),characterList:a(u,r.getCharacterList(),i),type:h,data:f});return e.merge({blockMap:n.set(o,b),selectionBefore:t,selectionAfter:t.merge({anchorKey:d,anchorOffset:p,focusKey:d,focusOffset:p,isBackward:!1})})}(e,t,i,c.first(),d,p,r):u(e,t,i,c,d,p)}},9223:function(e){"use strict";e.exports=function(e,t,n){var r=e;if(n===r.count())t.forEach((function(e){r=r.push(e)}));else if(0===n)t.reverse().forEach((function(e){r=r.unshift(e)}));else{var o=r.slice(0,n),i=r.slice(n);r=o.concat(t,i).toList()}return r}},53574:function(e,t,n){"use strict";var r=n(15986),o=n(9223),i=n(87405),a=r.Repeat;e.exports=function(e,t,n,r){t.isCollapsed()||i(!1);var s=null;if(null!=n&&(s=n.length),null==s||0===s)return e;var l=e.getBlockMap(),c=t.getStartKey(),u=t.getStartOffset(),d=l.get(c),p=d.getText(),f=d.merge({text:p.slice(0,u)+n+p.slice(u,d.getLength()),characterList:o(d.getCharacterList(),a(r,s).toList(),u)}),h=u+s;return e.merge({blockMap:l.set(c,f),selectionAfter:t.merge({anchorOffset:h,focusOffset:h})})}},5914:function(e){"use strict";e.exports=function(e){return!(!e||!e.ownerDocument)&&e.nodeType===Node.ELEMENT_NODE}},97146:function(e){"use strict";e.exports=function(e){return"handled"===e||!0===e}},89134:function(e,t,n){"use strict";var r=n(5914);e.exports=function(e){return!(!e||!e.ownerDocument)&&(r(e)&&"A"===e.nodeName)}},35801:function(e,t,n){"use strict";var r=n(5914);e.exports=function(e){return!(!e||!e.ownerDocument)&&(r(e)&&"BR"===e.nodeName)}},17719:function(e){"use strict";e.exports=function(e){return!(!e||!e.ownerDocument)&&(e.ownerDocument.defaultView?e instanceof e.ownerDocument.defaultView.HTMLElement:e instanceof HTMLElement)}},3864:function(e,t,n){"use strict";var r=n(5914);e.exports=function(e){return!(!e||!e.ownerDocument)&&(r(e)&&"IMG"===e.nodeName)}},6460:function(e){"use strict";e.exports=function(e){if(!e||!("ownerDocument"in e))return!1;if("ownerDocument"in e){var t=e;if(!t.ownerDocument.defaultView)return t instanceof Node;if(t instanceof t.ownerDocument.defaultView.Node)return!0}return!1}},62165:function(e){"use strict";e.exports=function(e){var t=e.getSelection(),n=t.getAnchorKey(),r=e.getBlockTree(n),o=t.getStartOffset(),i=!1;return r.some((function(e){return o===e.get("start")?(i=!0,!0):o<e.get("end")&&e.get("leaves").some((function(e){var t=e.get("start");return o===t&&(i=!0,!0)}))})),i}},19862:function(e,t,n){"use strict";var r=n(43058);e.exports=function(e){return e.which===r.RETURN&&(e.getModifierState("Shift")||e.getModifierState("Alt")||e.getModifierState("Control"))}},51559:function(e,t,n){"use strict";var r=n(89690),o=n(50926),i=n(18896),a=n(99979),s=n(42250);e.exports=function(e,t){var n=s(e,(function(e){var n=e.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return a(e,1);var r=t.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return r=o(r),i(e,null,r.endContainer,r.endOffset,r.startContainer,r.startOffset).selectionState}),"backward");return n===e.getCurrentContent()?e:r.push(e,n,"remove-range")}},90182:function(e,t,n){"use strict";var r=n(36068),o=n(89690),i=n(99979),a=n(42250);e.exports=function(e){var t=a(e,(function(e){var t=e.getSelection(),n=t.getStartOffset();if(0===n)return i(e,1);var o=t.getStartKey(),a=e.getCurrentContent().getBlockForKey(o).getText().slice(0,n),s=r.getBackward(a);return i(e,s.length||1)}),"backward");return t===e.getCurrentContent()?e:o.push(e,t,"remove-range")}},75400:function(e,t,n){"use strict";var r=n(36068),o=n(89690),i=n(38817),a=n(42250);e.exports=function(e){var t=a(e,(function(e){var t=e.getSelection(),n=t.getStartOffset(),o=t.getStartKey(),a=e.getCurrentContent().getBlockForKey(o).getText().slice(n),s=r.getForward(a);return i(e,s.length||1)}),"forward");return t===e.getCurrentContent()?e:o.push(e,t,"remove-range")}},42617:function(e,t,n){"use strict";var r=n(13284),o=n(89690);e.exports=function(e){var t=r.splitBlock(e.getCurrentContent(),e.getSelection());return o.push(e,t,"split-block")}},56338:function(e,t,n){"use strict";var r=n(89690);e.exports=function(e){var t=e.getSelection(),n=t.getEndKey(),o=e.getCurrentContent().getBlockForKey(n).getLength();return r.set(e,{selection:t.merge({anchorKey:n,anchorOffset:o,focusKey:n,focusOffset:o,isBackward:!1}),forceSelection:!0})}},16741:function(e,t,n){"use strict";var r=n(89690);e.exports=function(e){var t=e.getSelection(),n=t.getStartKey();return r.set(e,{selection:t.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})}},23332:function(e,t,n){"use strict";var r=n(89690),o=n(82577),i=n(99979),a=n(42250);e.exports=function(e){var t=a(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getAnchorKey(),a=t.getAnchorOffset(),s=n.getBlockForKey(r).getText()[a-1];return i(e,s?o.getUTF16Length(s,0):1)}),"backward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return r.push(e,t.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")}},93815:function(e,t,n){"use strict";var r=n(89690),o=n(82577),i=n(38817),a=n(42250);e.exports=function(e){var t=a(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getAnchorKey(),a=t.getAnchorOffset(),s=n.getBlockForKey(r).getText()[a];return i(e,s?o.getUTF16Length(s,0):1)}),"forward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return r.push(e,t.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")}},92319:function(e,t,n){"use strict";var r=n(13284),o=n(89690),i=n(81363);e.exports=function(e){var t=e.getSelection();if(!t.isCollapsed())return e;var n=t.getAnchorOffset();if(0===n)return e;var a,s,l=t.getAnchorKey(),c=e.getCurrentContent(),u=c.getBlockForKey(l).getLength();if(u<=1)return e;n===u?(a=t.set("anchorOffset",n-1),s=t):s=(a=t.set("focusOffset",n+1)).set("anchorOffset",n+1);var d=i(c,a),p=r.removeRange(c,a,"backward"),f=p.getSelectionAfter(),h=f.getAnchorOffset()-1,b=f.merge({anchorOffset:h,focusOffset:h}),A=r.replaceWithFragment(p,b,d),m=o.push(e,A,"insert-fragment");return o.acceptSelection(m,s)}},62640:function(e,t,n){"use strict";var r=n(89690);e.exports=function(e,t,n){var o=r.undo(t);if("spellcheck-change"!==t.getLastChangeType())e.preventDefault(),t.getNativelyRenderedContent()?(n(r.set(t,{nativelyRenderedContent:null})),setTimeout((function(){n(o)}),0)):n(o);else{var i=o.getCurrentContent();n(r.set(o,{nativelyRenderedContent:i}))}}},62614:function(e,t,n){"use strict";var r=n(15986).Map;e.exports=function(e,t,n){var o=t.getStartKey(),i=t.getEndKey(),a=e.getBlockMap(),s=a.toSeq().skipUntil((function(e,t){return t===o})).takeUntil((function(e,t){return t===i})).concat(r([[i,a.get(i)]])).map(n);return e.merge({blockMap:a.merge(s),selectionBefore:t,selectionAfter:t})}},14126:function(e,t,n){"use strict";var r=n(34615),o=n(48254),i=n(15986),a=n(87405),s=i.OrderedMap,l=i.List,c=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},u=function(e,t,n,r,o){if(!o)return e;var i="after"===r,a=t.getKey(),s=n.getKey(),u=t.getParentKey(),d=t.getNextSiblingKey(),p=t.getPrevSiblingKey(),f=n.getParentKey(),h=i?n.getNextSiblingKey():s,b=i?s:n.getPrevSiblingKey();return e.withMutations((function(e){c(u,e,(function(e){var t=e.getChildKeys();return e.merge({children:t.delete(t.indexOf(a))})})),c(p,e,(function(e){return e.merge({nextSibling:d})})),c(d,e,(function(e){return e.merge({prevSibling:p})})),c(h,e,(function(e){return e.merge({prevSibling:a})})),c(b,e,(function(e){return e.merge({nextSibling:a})})),c(f,e,(function(e){var t=e.getChildKeys(),n=t.indexOf(s),r=i?n+1:0!==n?n-1:0,o=t.toArray();return o.splice(r,0,a),e.merge({children:l(o)})})),c(a,e,(function(e){return e.merge({nextSibling:h,prevSibling:b,parent:f})}))}))};e.exports=function(e,t,n,i){"replace"===i&&a(!1);var l=n.getKey(),c=t.getKey();c===l&&a(!1);var d=e.getBlockMap(),p=t instanceof r,f=[t],h=d.delete(c);p&&(f=[],h=d.withMutations((function(e){var n=t.getNextSiblingKey(),r=o(t,e);e.toSeq().skipUntil((function(e){return e.getKey()===c})).takeWhile((function(e){var t=e.getKey(),o=t===c,i=n&&t!==n,a=!n&&e.getParentKey()&&(!r||t!==r);return!!(o||i||a)})).forEach((function(t){f.push(t),e.delete(t.getKey())}))})));var b=h.toSeq().takeUntil((function(e){return e===n})),A=h.toSeq().skipUntil((function(e){return e===n})).skip(1),m=f.map((function(e){return[e.getKey(),e]})),g=s();if("before"===i){var v=e.getBlockBefore(l);v&&v.getKey()===t.getKey()&&a(!1),g=b.concat([].concat(m,[[l,n]]),A).toOrderedMap()}else if("after"===i){var y=e.getBlockAfter(l);y&&y.getKey()===c&&a(!1),g=b.concat([[l,n]].concat(m),A).toOrderedMap()}return e.merge({blockMap:u(g,t,n,i,p),selectionBefore:e.getSelectionAfter(),selectionAfter:e.getSelectionAfter().merge({anchorKey:c,focusKey:c})})}},99979:function(e,t,n){"use strict";n(64265);e.exports=function(e,t){var n=e.getSelection(),r=e.getCurrentContent(),o=n.getStartKey(),i=n.getStartOffset(),a=o,s=0;if(t>i){var l=r.getKeyBefore(o);if(null==l)a=o;else a=l,s=r.getBlockForKey(l).getText().length}else s=i-t;return n.merge({focusKey:a,focusOffset:s,isBackward:!0})}},38817:function(e,t,n){"use strict";n(64265);e.exports=function(e,t){var n,r=e.getSelection(),o=r.getStartKey(),i=r.getStartOffset(),a=e.getCurrentContent(),s=o;return t>a.getBlockForKey(o).getText().length-i?(s=a.getKeyAfter(o),n=0):n=i+t,r.merge({focusKey:s,focusOffset:n})}},10118:function(e,t,n){"use strict";var r=n(34615),o=n(34354),i=n(15986).OrderedMap;e.exports=function(e){return e.first()instanceof r?function(e){var t,n={};return i(e.withMutations((function(e){e.forEach((function(r,i){var a=r.getKey(),s=r.getNextSiblingKey(),l=r.getPrevSiblingKey(),c=r.getChildKeys(),u=r.getParentKey(),d=o();if(n[a]=d,s&&(e.get(s)?e.setIn([s,"prevSibling"],d):e.setIn([a,"nextSibling"],null)),l&&(e.get(l)?e.setIn([l,"nextSibling"],d):e.setIn([a,"prevSibling"],null)),u&&e.get(u)){var p=e.get(u).getChildKeys();e.setIn([u,"children"],p.set(p.indexOf(r.getKey()),d))}else e.setIn([a,"parent"],null),t&&(e.setIn([t.getKey(),"nextSibling"],d),e.setIn([a,"prevSibling"],n[t.getKey()])),t=e.get(a);c.forEach((function(t){e.get(t)?e.setIn([t,"parent"],d):e.setIn([a,"children"],r.getChildKeys().filter((function(e){return e!==t})))}))}))})).toArray().map((function(e){return[n[e.getKey()],e.set("key",n[e.getKey()])]})))}(e):function(e){return i(e.toArray().map((function(e){var t=o();return[t,e.set("key",t)]})))}(e)}},49839:function(e,t,n){"use strict";var r=n(21866),o=n(81111),i=n(87405);function a(e,t,n){var a=t.getCharacterList(),s=n>0?a.get(n-1):void 0,l=n<a.count()?a.get(n):void 0,c=s?s.getEntity():void 0,u=l?l.getEntity():void 0;if(u&&u===c&&"MUTABLE"!==e.__get(u).getMutability()){for(var d,p=function(e,t,n){var r;return o(e,(function(e,t){return e.getEntity()===t.getEntity()}),(function(e){return e.getEntity()===t}),(function(e,t){e<=n&&t>=n&&(r={start:e,end:t})})),"object"!==typeof r&&i(!1),r}(a,u,n),f=p.start,h=p.end;f<h;)d=a.get(f),a=a.set(f,r.applyEntity(d,null)),f++;return t.set("characterList",a)}return t}e.exports=function(e,t){var n=e.getBlockMap(),r=e.getEntityMap(),o={},i=t.getStartKey(),s=t.getStartOffset(),l=n.get(i),c=a(r,l,s);c!==l&&(o[i]=c);var u=t.getEndKey(),d=t.getEndOffset(),p=n.get(u);i===u&&(p=c);var f=a(r,p,d);return f!==p&&(o[u]=f),Object.keys(o).length?e.merge({blockMap:n.merge(o),selectionAfter:t}):e.set("selectionAfter",t)}},57429:function(e,t,n){"use strict";var r=n(34615),o=n(48254),i=n(15986),a=(i.List,i.Map),s=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},l=function(e,t){var n=[];if(!e)return n;for(var r=t.get(e);r&&r.getParentKey();){var o=r.getParentKey();o&&n.push(o),r=o?t.get(o):null}return n},c=function(e,t,n){if(!e)return null;for(var r=n.get(e.getKey()).getNextSiblingKey();r&&!t.get(r);)r=n.get(r).getNextSiblingKey()||null;return r},u=function(e,t,n){if(!e)return null;for(var r=n.get(e.getKey()).getPrevSiblingKey();r&&!t.get(r);)r=n.get(r).getPrevSiblingKey()||null;return r},d=function(e,t,n,r){return e.withMutations((function(i){if(s(t.getKey(),i,(function(e){return e.merge({nextSibling:c(e,i,r),prevSibling:u(e,i,r)})})),s(n.getKey(),i,(function(e){return e.merge({nextSibling:c(e,i,r),prevSibling:u(e,i,r)})})),l(t.getKey(),r).forEach((function(e){return s(e,i,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return i.get(e)})),nextSibling:c(e,i,r),prevSibling:u(e,i,r)})}))})),s(t.getNextSiblingKey(),i,(function(e){return e.merge({prevSibling:t.getPrevSiblingKey()})})),s(t.getPrevSiblingKey(),i,(function(e){return e.merge({nextSibling:c(e,i,r)})})),s(n.getNextSiblingKey(),i,(function(e){return e.merge({prevSibling:u(e,i,r)})})),s(n.getPrevSiblingKey(),i,(function(e){return e.merge({nextSibling:n.getNextSiblingKey()})})),l(n.getKey(),r).forEach((function(e){s(e,i,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return i.get(e)})),nextSibling:c(e,i,r),prevSibling:u(e,i,r)})}))})),function(e,t){var n=[];if(!e)return n;for(var r=o(e,t);r&&t.get(r);){var i=t.get(r);n.push(r),r=i.getParentKey()?o(i,t):null}return n}(n,r).forEach((function(e){return s(e,i,(function(e){return e.merge({nextSibling:c(e,i,r),prevSibling:u(e,i,r)})}))})),null==e.get(t.getKey())&&null!=e.get(n.getKey())&&n.getParentKey()===t.getKey()&&null==n.getPrevSiblingKey()){var a=t.getPrevSiblingKey();s(n.getKey(),i,(function(e){return e.merge({prevSibling:a})})),s(a,i,(function(e){return e.merge({nextSibling:n.getKey()})}));var d=a?e.get(a):null,p=d?d.getParentKey():null;if(t.getChildKeys().forEach((function(e){s(e,i,(function(e){return e.merge({parent:p})}))})),null!=p){var f=e.get(p);s(p,i,(function(e){return e.merge({children:f.getChildKeys().concat(t.getChildKeys())})}))}s(t.getChildKeys().find((function(t){return null===e.get(t).getNextSiblingKey()})),i,(function(e){return e.merge({nextSibling:t.getNextSiblingKey()})}))}}))},p=function(e,t,n){if(0===t)for(;t<n;)e=e.shift(),t++;else if(n===e.count())for(;n>t;)e=e.pop(),n--;else{var r=e.slice(0,t),o=e.slice(n);e=r.concat(o).toList()}return e};e.exports=function(e,t){if(t.isCollapsed())return e;var n,i=e.getBlockMap(),s=t.getStartKey(),c=t.getStartOffset(),u=t.getEndKey(),f=t.getEndOffset(),h=i.get(s),b=i.get(u),A=h instanceof r,m=[];if(A){var g=b.getChildKeys(),v=l(u,i);b.getNextSiblingKey()&&(m=m.concat(v)),g.isEmpty()||(m=m.concat(v.concat([u]))),m=m.concat(l(o(b,i),i))}n=h===b?p(h.getCharacterList(),c,f):h.getCharacterList().slice(0,c).concat(b.getCharacterList().slice(f));var y=h.merge({text:h.getText().slice(0,c)+b.getText().slice(f),characterList:n}),M=A&&0===c&&0===f&&b.getParentKey()===s&&null==b.getPrevSiblingKey()?a([[s,null]]):i.toSeq().skipUntil((function(e,t){return t===s})).takeUntil((function(e,t){return t===u})).filter((function(e,t){return-1===m.indexOf(t)})).concat(a([[u,null]])).map((function(e,t){return t===s?y:null})),O=i.merge(M).filter((function(e){return!!e}));return A&&h!==b&&(O=d(O,h,b,i)),e.merge({blockMap:O,selectionBefore:t,selectionAfter:t.merge({anchorKey:s,anchorOffset:c,focusKey:s,focusOffset:c,isBackward:!1})})}},42250:function(e,t,n){"use strict";var r=n(13284),o=n(86137)("draft_tree_data_support");e.exports=function(e,t,n){var i=e.getSelection(),a=e.getCurrentContent(),s=i,l=i.getAnchorKey(),c=i.getFocusKey(),u=a.getBlockForKey(l);if(o&&"forward"===n&&l!==c)return a;if(i.isCollapsed()){if("forward"===n){if(e.isSelectionAtEndOfContent())return a;if(o)if(i.getAnchorOffset()===a.getBlockForKey(l).getLength()){var d=a.getBlockForKey(u.nextSibling);if(!d||0===d.getLength())return a}}else if(e.isSelectionAtStartOfContent())return a;if((s=t(e))===i)return a}return r.removeRange(a,s,n)}},28720:function(e){"use strict";var t=new RegExp("\r","g");e.exports=function(e){return e.replace(t,"")}},53413:function(e,t,n){"use strict";var r=n(36221),o=n(45203),i=n(18258),a=n(42804),s=n(13459),l=n(87803),c=n(87405),u=n(5914),d=i.isBrowser("IE");function p(e,t){if(!e)return"[empty]";var n=f(e,t);return n.nodeType===Node.TEXT_NODE?n.textContent:(u(n)||c(!1),n.outerHTML)}function f(e,t){var n=void 0!==t?t(e):[];if(e.nodeType===Node.TEXT_NODE){var r=e.textContent.length;return l(e).createTextNode("[text "+r+(n.length?" | "+n.join(", "):"")+"]")}var o=e.cloneNode();1===o.nodeType&&n.length&&o.setAttribute("data-labels",n.join(", "));for(var i=e.childNodes,a=0;a<i.length;a++)o.appendChild(f(i[a],t));return o}function h(e,t){for(var n=e,r=n;n;){if(u(n)&&r.hasAttribute("contenteditable"))return p(n,t);r=n=n.parentNode}return"Could not find contentEditable parent of node"}function b(e){return null===e.nodeValue?e.childNodes.length:e.nodeValue.length}function A(e,t,n,r){var i=s();if(e.extend&&null!=t&&a(i,t)){n>b(t)&&o.logSelectionStateFailure({anonymizedDom:h(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(r.toJS())});var l=t===e.focusNode;try{e.rangeCount>0&&e.extend&&e.extend(t,n)}catch(u){throw o.logSelectionStateFailure({anonymizedDom:h(t,(function(t){var n=[];return t===i&&n.push("active element"),t===e.anchorNode&&n.push("selection anchor node"),t===e.focusNode&&n.push("selection focus node"),n})),extraParams:JSON.stringify({activeElementName:i?i.nodeName:null,nodeIsFocus:t===e.focusNode,nodeWasFocus:l,selectionRangeCount:e.rangeCount,selectionAnchorNodeName:e.anchorNode?e.anchorNode.nodeName:null,selectionAnchorOffset:e.anchorOffset,selectionFocusNodeName:e.focusNode?e.focusNode.nodeName:null,selectionFocusOffset:e.focusOffset,message:u?""+u:null,offset:n},null,2),selectionState:JSON.stringify(r.toJS(),null,2)}),u}}else if(t&&e.rangeCount>0){var c=e.getRangeAt(0);c.setEnd(t,n),e.addRange(c.cloneRange())}}function m(e,t,n,i){var a=l(t).createRange();if(n>b(t)&&(o.logSelectionStateFailure({anonymizedDom:h(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(i.toJS())}),r.handleExtensionCausedError()),a.setStart(t,n),d)try{e.addRange(a)}catch(s){0}else e.addRange(a)}e.exports={setDraftEditorSelection:function(e,t,n,r,o){var i=l(t);if(a(i.documentElement,t)){var s=i.defaultView.getSelection(),c=e.getAnchorKey(),u=e.getAnchorOffset(),d=e.getFocusKey(),p=e.getFocusOffset(),f=e.getIsBackward();if(!s.extend&&f){var h=c,b=u;c=d,u=p,d=h,p=b,f=!1}var g=c===n&&r<=u&&o>=u,v=d===n&&r<=p&&o>=p;if(g&&v)return s.removeAllRanges(),m(s,t,u-r,e),void A(s,t,p-r,e);if(f){if(v&&(s.removeAllRanges(),m(s,t,p-r,e)),g){var y=s.focusNode,M=s.focusOffset;s.removeAllRanges(),m(s,t,u-r,e),A(s,y,M,e)}}else g&&(s.removeAllRanges(),m(s,t,u-r,e)),v&&A(s,t,p-r,e)}},addFocusToSelection:A}},65288:function(e,t,n){"use strict";var r=n(34615),o=n(34354),i=n(15986),a=n(87405),s=n(62614),l=i.List,c=i.Map,u=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}};e.exports=function(e,t){t.isCollapsed()||a(!1);var n=t.getAnchorKey(),i=e.getBlockMap(),d=i.get(n),p=d.getText();if(!p){var f=d.getType();if("unordered-list-item"===f||"ordered-list-item"===f)return s(e,t,(function(e){return e.merge({type:"unstyled",depth:0})}))}var h=t.getAnchorOffset(),b=d.getCharacterList(),A=o(),m=d instanceof r,g=d.merge({text:p.slice(0,h),characterList:b.slice(0,h)}),v=g.merge({key:A,text:p.slice(h),characterList:b.slice(h),data:c()}),y=i.toSeq().takeUntil((function(e){return e===d})),M=i.toSeq().skipUntil((function(e){return e===d})).rest(),O=y.concat([[n,g],[A,v]],M).toOrderedMap();return m&&(d.getChildKeys().isEmpty()||a(!1),O=function(e,t,n){return e.withMutations((function(e){var r=t.getKey(),o=n.getKey();u(t.getParentKey(),e,(function(e){var t=e.getChildKeys(),n=t.indexOf(r)+1,i=t.toArray();return i.splice(n,0,o),e.merge({children:l(i)})})),u(t.getNextSiblingKey(),e,(function(e){return e.merge({prevSibling:o})})),u(r,e,(function(e){return e.merge({nextSibling:o})})),u(o,e,(function(e){return e.merge({prevSibling:r})}))}))}(O,g,v)),e.merge({blockMap:O,selectionBefore:t,selectionAfter:t.merge({anchorKey:A,anchorOffset:0,focusKey:A,focusOffset:0,isBackward:!1})})}},93409:function(e){"use strict";var t=/\r\n?|\n/g;e.exports=function(e){return e.split(t)}},48820:function(e){"use strict";e.exports=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))}},82190:function(e){e.exports=function(){"use strict";function e(e,t){if(e)for(var n in e)({}).hasOwnProperty.call(e,n)&&t(n,e[n])}function t(e){return void 0===e||null===e||0===e.length||0===e.trim().length}var n={unstyled:"p","header-one":"h1","header-two":"h2","header-three":"h3","header-four":"h4","header-five":"h5","header-six":"h6","unordered-list-item":"ul","ordered-list-item":"ol",blockquote:"blockquote",code:"pre"};function r(e){return e&&n[e]}function o(t){var n="";return e(t,(function(e,t){t&&(n+="".concat(e,":").concat(t,";"))})),n}function i(e,t){var n=[];if(t)for(var r=0,o=0,i=e,a=t.trigger||"#",s=t.separator||" ";i.length>0&&o>=0;)if(i[0]===a?(o=0,r=0,i=i.substr(a.length)):(o=i.indexOf(s+a))>=0&&(i=i.substr(o+(s+a).length),r+=o+s.length),o>=0){var l=i.indexOf(s)>=0?i.indexOf(s):i.length,c=i.substr(0,l);c&&c.length>0&&n.push({offset:r,length:c.length+a.length,type:"HASHTAG"}),r+=a.length}return n}function a(e,t){var n=[],r=0,o=e.entityRanges.map((function(e){return{offset:e.offset,length:e.length,key:e.key,type:"ENTITY"}}));return(o=(o=o.concat(i(e.text,t))).sort((function(e,t){return e.offset-t.offset}))).forEach((function(e){e.offset>r&&n.push({start:r,end:e.offset}),n.push({start:e.offset,end:e.offset+e.length,entityKey:e.key,type:e.type}),r=e.offset+e.length})),r<e.text.length&&n.push({start:r,end:e.text.length}),n}function s(e){return!(!(e.entityRanges.length>0)||!t(e.text)&&"atomic"!==e.type)}function l(e){var t=e.text,n=e.inlineStyleRanges,r={BOLD:new Array(t.length),ITALIC:new Array(t.length),UNDERLINE:new Array(t.length),STRIKETHROUGH:new Array(t.length),CODE:new Array(t.length),SUPERSCRIPT:new Array(t.length),SUBSCRIPT:new Array(t.length),COLOR:new Array(t.length),BGCOLOR:new Array(t.length),FONTSIZE:new Array(t.length),FONTFAMILY:new Array(t.length),length:t.length};return n&&n.length>0&&n.forEach((function(e){for(var t=e.offset,n=t+e.length,o=t;o<n;o+=1)0===e.style.indexOf("color-")?r.COLOR[o]=e.style.substring(6):0===e.style.indexOf("bgcolor-")?r.BGCOLOR[o]=e.style.substring(8):0===e.style.indexOf("fontsize-")?r.FONTSIZE[o]=e.style.substring(9):0===e.style.indexOf("fontfamily-")?r.FONTFAMILY[o]=e.style.substring(11):r[e.style]&&(r[e.style][o]=!0)})),r}function c(e,t){var n={};return e.COLOR[t]&&(n.COLOR=e.COLOR[t]),e.BGCOLOR[t]&&(n.BGCOLOR=e.BGCOLOR[t]),e.FONTSIZE[t]&&(n.FONTSIZE=e.FONTSIZE[t]),e.FONTFAMILY[t]&&(n.FONTFAMILY=e.FONTFAMILY[t]),e.UNDERLINE[t]&&(n.UNDERLINE=!0),e.ITALIC[t]&&(n.ITALIC=!0),e.BOLD[t]&&(n.BOLD=!0),e.STRIKETHROUGH[t]&&(n.STRIKETHROUGH=!0),e.CODE[t]&&(n.CODE=!0),e.SUBSCRIPT[t]&&(n.SUBSCRIPT=!0),e.SUPERSCRIPT[t]&&(n.SUPERSCRIPT=!0),n}function u(e,t,n){var r=!0;return n>0&&n<e.length?t.forEach((function(t){r=r&&e[t][n]===e[t][n-1]})):r=!1,r}function d(e,t){return"BOLD"===e?"<strong>".concat(t,"</strong>"):"ITALIC"===e?"<em>".concat(t,"</em>"):"UNDERLINE"===e?"<ins>".concat(t,"</ins>"):"STRIKETHROUGH"===e?"<del>".concat(t,"</del>"):"CODE"===e?"<code>".concat(t,"</code>"):"SUPERSCRIPT"===e?"<sup>".concat(t,"</sup>"):"SUBSCRIPT"===e?"<sub>".concat(t,"</sub>"):t}function p(e){return e&&e.length>0?e.map((function(e){switch(e){case"\n":return"<br>";case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";default:return e}})).join(""):""}function f(e,t){if(e&&(e.COLOR||e.BGCOLOR||e.FONTSIZE||e.FONTFAMILY)){var n='style="';return e.COLOR&&(n+="color: ".concat(e.COLOR,";")),e.BGCOLOR&&(n+="background-color: ".concat(e.BGCOLOR,";")),e.FONTSIZE&&(n+="font-size: ".concat(e.FONTSIZE).concat(/^\d+$/.test(e.FONTSIZE)?"px":"",";")),e.FONTFAMILY&&(n+="font-family: ".concat(e.FONTFAMILY,";")),"<span ".concat(n+='"',">").concat(t,"</span>")}return t}function h(e,t,n,r){var o=e[t];if("function"===typeof r){var i=r(o,n);if(i)return i}if("MENTION"===o.type)return'<a href="'.concat(o.data.url,'" class="wysiwyg-mention" data-mention data-value="').concat(o.data.value,'">').concat(n,"</a>");if("LINK"===o.type){var a=o.data.targetOption||"_self";return'<a href="'.concat(o.data.url,'" target="').concat(a,'">').concat(n,"</a>")}if("IMAGE"===o.type){var s=o.data.alignment;return s&&s.length?'<div style="text-align:'.concat(s,';"><img src="').concat(o.data.src,'" alt="').concat(o.data.alt,'" style="height: ').concat(o.data.height,";width: ").concat(o.data.width,'"/></div>'):'<img src="'.concat(o.data.src,'" alt="').concat(o.data.alt,'" style="height: ').concat(o.data.height,";width: ").concat(o.data.width,'"/>')}return"EMBEDDED_LINK"===o.type?'<iframe width="'.concat(o.data.width,'" height="').concat(o.data.height,'" src="').concat(o.data.src,'" frameBorder="0"></iframe>'):n}function b(e,t,n,r){var o=[],i=Array.from(e.text);if(i.length>0)for(var a,s=l(e),d=n;d<r;d+=1)d!==n&&u(s,t,d)?(a.text.push(i[d]),a.end=d+1):(a={styles:c(s,d),text:[i[d]],start:d,end:d+1},o.push(a));return o}function A(e){if(e){for(var t=e,n=0;n<t.length&&" "===e[n];n+=1)t=t.replace(" ","&nbsp;");return t}return e}function m(e){if(e){for(var t=e,n=t.length-1;n>=0&&" "===t[n];n-=1)t="".concat(t.substring(0,n),"&nbsp;").concat(t.substring(n+1));return t}return e}function g(t){var n=t.styles,r=p(t.text);return e(n,(function(e,t){r=d(e,r)})),r}function v(e,t){var n=b(e,["BOLD","ITALIC","UNDERLINE","STRIKETHROUGH","CODE","SUPERSCRIPT","SUBSCRIPT"],t.start,t.end),r="";return n.forEach((function(e){r+=g(e)})),r=f(t.styles,r)}function y(e,t,n,r){var o=[];b(e,["COLOR","BGCOLOR","FONTSIZE","FONTFAMILY"],n.start,n.end).forEach((function(t){o.push(v(e,t))}));var i=o.join("");return"ENTITY"===n.type?void 0!==n.entityKey&&null!==n.entityKey&&(i=h(t,n.entityKey,i,r)):"HASHTAG"===n.type&&(i='<a href="'.concat(i,'" class="wysiwyg-hashtag">').concat(i,"</a>")),i}function M(e,t,n,r){var o=[],i=a(e,n);return i.forEach((function(n,a){var s=y(e,t,n,r);0===a&&(s=A(s)),a===i.length-1&&(s=m(s)),o.push(s)})),o.join("")}function O(e,t,n,i,a){var l=[];if(s(e))l.push(h(t,e.entityRanges[0].key,void 0,a));else{var c=r(e.type);if(c){l.push("<".concat(c));var u=o(e.data);u&&l.push(' style="'.concat(u,'"')),i&&l.push(' dir = "auto"'),l.push(">"),l.push(M(e,t,n,a)),l.push("</".concat(c,">"))}}return l.push("\n"),l.join("")}function _(e){return"unordered-list-item"===e||"ordered-list-item"===e}function z(e,t,n,i,a){var s,l=[],c=[];return e.forEach((function(e){var u=!1;if(s?s.type!==e.type?(l.push("</".concat(r(s.type),">\n")),l.push("<".concat(r(e.type),">\n"))):s.depth===e.depth?c&&c.length>0&&(l.push(z(c,t,n,i,a)),c=[]):(u=!0,c.push(e)):l.push("<".concat(r(e.type),">\n")),!u){l.push("<li");var d=o(e.data);d&&l.push(' style="'.concat(d,'"')),i&&l.push(' dir = "auto"'),l.push(">"),l.push(M(e,t,n,a)),l.push("</li>\n"),s=e}})),c&&c.length>0&&l.push(z(c,t,n,i,a)),l.push("</".concat(r(s.type),">\n")),l.join("")}function x(e,t,n,r){var o=[];if(e){var i=e.blocks,a=e.entityMap;if(i&&i.length>0){var s=[];if(i.forEach((function(e){if(_(e.type))s.push(e);else{if(s.length>0){var i=z(s,a,t,r);o.push(i),s=[]}var l=O(e,a,t,n,r);o.push(l)}})),s.length>0){var l=z(s,a,t,n,r);o.push(l),s=[]}}}return o.join("")}return x}()},45016:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,r.default)(e,t))return!0;if(!e||!t||"object"!==a(e)||"object"!==a(t))return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;n.sort(),i.sort();for(var s=0;s<n.length;s+=1)if(!(0,o.default)(t,n[s])||!(0,r.default)(e[n[s]],t[n[s]]))return!1;return!0};var r=i(n(28199)),o=i(n(37838));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}e.exports=t.default},31620:function(e,t,n){"use strict";var r=n(37838),o="function"===typeof Symbol&&"symbol"===typeof Symbol.unscopables,i=o&&Array.prototype[Symbol.unscopables],a=TypeError;e.exports=function(e){if("string"!==typeof e||!e)throw new a("method must be a non-empty string");if(!r(Array.prototype,e))throw new a("method must be on Array.prototype");o&&(i[e]=!0)}},44401:function(e,t,n){"use strict";var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator,o=n(76931),i=n(8866),a=n(22039),s=n(43156);e.exports=function(e){if(o(e))return e;var t,n="default";if(arguments.length>1&&(arguments[1]===String?n="string":arguments[1]===Number&&(n="number")),r&&(Symbol.toPrimitive?t=function(e,t){var n=e[t];if(null!==n&&"undefined"!==typeof n){if(!i(n))throw new TypeError(n+" returned for property "+t+" of object "+e+" is not a function");return n}}(e,Symbol.toPrimitive):s(e)&&(t=Symbol.prototype.valueOf)),"undefined"!==typeof t){var l=t.call(e,n);if(o(l))return l;throw new TypeError("unable to convert exotic object to primitive")}return"default"===n&&(a(e)||s(e))&&(n="string"),function(e,t){if("undefined"===typeof e||null===e)throw new TypeError("Cannot call method on "+e);if("string"!==typeof t||"number"!==t&&"string"!==t)throw new TypeError('hint must be "string" or "number"');var n,r,a,s="string"===t?["toString","valueOf"]:["valueOf","toString"];for(a=0;a<s.length;++a)if(n=e[s[a]],i(n)&&(r=n.call(e),o(r)))return r;throw new TypeError("No default value")}(e,"default"===n?"number":n)}},76931:function(e){"use strict";e.exports=function(e){return null===e||"function"!==typeof e&&"object"!==typeof e}},23131:function(e,t,n){var r,o=o||{version:"5.3.0"};if(t.fabric=o,"undefined"!==typeof document&&"undefined"!==typeof window)document instanceof("undefined"!==typeof HTMLDocument?HTMLDocument:Document)?o.document=document:o.document=document.implementation.createHTMLDocument(""),o.window=window;else{var i=new(n(24960).JSDOM)(decodeURIComponent("%3C!DOCTYPE%20html%3E%3Chtml%3E%3Chead%3E%3C%2Fhead%3E%3Cbody%3E%3C%2Fbody%3E%3C%2Fhtml%3E"),{features:{FetchExternalResources:["img"]},resources:"usable"}).window;o.document=i.document,o.jsdomImplForWrapper=n(26759).implForWrapper,o.nodeCanvas=n(56272).Canvas,o.window=i,DOMParser=o.window.DOMParser}function a(e,t){var n=e.canvas,r=t.targetCanvas,o=r.getContext("2d");o.translate(0,r.height),o.scale(1,-1);var i=n.height-r.height;o.drawImage(n,0,i,r.width,r.height,0,0,r.width,r.height)}function s(e,t){var n=t.targetCanvas.getContext("2d"),r=t.destinationWidth,o=t.destinationHeight,i=r*o*4,a=new Uint8Array(this.imageBuffer,0,i),s=new Uint8ClampedArray(this.imageBuffer,0,i);e.readPixels(0,0,r,o,e.RGBA,e.UNSIGNED_BYTE,a);var l=new ImageData(s,r,o);n.putImageData(l,0,0)}o.isTouchSupported="ontouchstart"in o.window||"ontouchstart"in o.document||o.window&&o.window.navigator&&o.window.navigator.maxTouchPoints>0,o.isLikelyNode="undefined"!==typeof Buffer&&"undefined"===typeof window,o.SHARED_ATTRIBUTES=["display","transform","fill","fill-opacity","fill-rule","opacity","stroke","stroke-dasharray","stroke-linecap","stroke-dashoffset","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","id","paint-order","vector-effect","instantiated_by_use","clip-path"],o.DPI=96,o.reNum="(?:[-+]?(?:\\d+|\\d*\\.\\d+)(?:[eE][-+]?\\d+)?)",o.commaWsp="(?:\\s+,?\\s*|,\\s*)",o.rePathCommand=/([-+]?((\d+\.\d+)|((\d+)|(\.\d+)))(?:[eE][-+]?\d+)?)/gi,o.reNonWord=/[ \n\.,;!\?\-]/,o.fontPaths={},o.iMatrix=[1,0,0,1,0,0],o.svgNS="http://www.w3.org/2000/svg",o.perfLimitSizeTotal=2097152,o.maxCacheSideLimit=4096,o.minCacheSideLimit=256,o.charWidthsCache={},o.textureSize=2048,o.disableStyleCopyPaste=!1,o.enableGLFiltering=!0,o.devicePixelRatio=o.window.devicePixelRatio||o.window.webkitDevicePixelRatio||o.window.mozDevicePixelRatio||1,o.browserShadowBlurConstant=1,o.arcToSegmentsCache={},o.boundsOfCurveCache={},o.cachesBoundsOfCurve=!0,o.forceGLPutImageData=!1,o.initFilterBackend=function(){return o.enableGLFiltering&&o.isWebglSupported&&o.isWebglSupported(o.textureSize)?(console.log("max texture size: "+o.maxTextureSize),new o.WebglFilterBackend({tileSize:o.textureSize})):o.Canvas2dFilterBackend?new o.Canvas2dFilterBackend:void 0},"undefined"!==typeof document&&"undefined"!==typeof window&&(window.fabric=o),function(){function e(e,t){if(this.__eventListeners[e]){var n=this.__eventListeners[e];t?n[n.indexOf(t)]=!1:o.util.array.fill(n,!1)}}function t(e,t){var n=function(){t.apply(this,arguments),this.off(e,n)}.bind(this);this.on(e,n)}o.Observable={fire:function(e,t){if(!this.__eventListeners)return this;var n=this.__eventListeners[e];if(!n)return this;for(var r=0,o=n.length;r<o;r++)n[r]&&n[r].call(this,t||{});return this.__eventListeners[e]=n.filter((function(e){return!1!==e})),this},on:function(e,t){if(this.__eventListeners||(this.__eventListeners={}),1===arguments.length)for(var n in e)this.on(n,e[n]);else this.__eventListeners[e]||(this.__eventListeners[e]=[]),this.__eventListeners[e].push(t);return this},once:function(e,n){if(1===arguments.length)for(var r in e)t.call(this,r,e[r]);else t.call(this,e,n);return this},off:function(t,n){if(!this.__eventListeners)return this;if(0===arguments.length)for(t in this.__eventListeners)e.call(this,t);else if(1===arguments.length&&"object"===typeof arguments[0])for(var r in t)e.call(this,r,t[r]);else e.call(this,t,n);return this}}}(),o.Collection={_objects:[],add:function(){if(this._objects.push.apply(this._objects,arguments),this._onObjectAdded)for(var e=0,t=arguments.length;e<t;e++)this._onObjectAdded(arguments[e]);return this.renderOnAddRemove&&this.requestRenderAll(),this},insertAt:function(e,t,n){var r=this._objects;return n?r[t]=e:r.splice(t,0,e),this._onObjectAdded&&this._onObjectAdded(e),this.renderOnAddRemove&&this.requestRenderAll(),this},remove:function(){for(var e,t=this._objects,n=!1,r=0,o=arguments.length;r<o;r++)-1!==(e=t.indexOf(arguments[r]))&&(n=!0,t.splice(e,1),this._onObjectRemoved&&this._onObjectRemoved(arguments[r]));return this.renderOnAddRemove&&n&&this.requestRenderAll(),this},forEachObject:function(e,t){for(var n=this.getObjects(),r=0,o=n.length;r<o;r++)e.call(t,n[r],r,n);return this},getObjects:function(e){return"undefined"===typeof e?this._objects.concat():this._objects.filter((function(t){return t.type===e}))},item:function(e){return this._objects[e]},isEmpty:function(){return 0===this._objects.length},size:function(){return this._objects.length},contains:function(e,t){return this._objects.indexOf(e)>-1||!!t&&this._objects.some((function(t){return"function"===typeof t.contains&&t.contains(e,!0)}))},complexity:function(){return this._objects.reduce((function(e,t){return e+=t.complexity?t.complexity():0}),0)}},o.CommonMethods={_setOptions:function(e){for(var t in e)this.set(t,e[t])},_initGradient:function(e,t){!e||!e.colorStops||e instanceof o.Gradient||this.set(t,new o.Gradient(e))},_initPattern:function(e,t,n){!e||!e.source||e instanceof o.Pattern?n&&n():this.set(t,new o.Pattern(e,n))},_setObject:function(e){for(var t in e)this._set(t,e[t])},set:function(e,t){return"object"===typeof e?this._setObject(e):this._set(e,t),this},_set:function(e,t){this[e]=t},toggle:function(e){var t=this.get(e);return"boolean"===typeof t&&this.set(e,!t),this},get:function(e){return this[e]}},function(e){var t=Math.sqrt,n=Math.atan2,r=Math.pow,i=Math.PI/180,a=Math.PI/2;o.util={cos:function(e){if(0===e)return 1;switch(e<0&&(e=-e),e/a){case 1:case 3:return 0;case 2:return-1}return Math.cos(e)},sin:function(e){if(0===e)return 0;var t=1;switch(e<0&&(t=-1),e/a){case 1:return t;case 2:return 0;case 3:return-t}return Math.sin(e)},removeFromArray:function(e,t){var n=e.indexOf(t);return-1!==n&&e.splice(n,1),e},getRandomInt:function(e,t){return Math.floor(Math.random()*(t-e+1))+e},degreesToRadians:function(e){return e*i},radiansToDegrees:function(e){return e/i},rotatePoint:function(e,t,n){var r=new o.Point(e.x-t.x,e.y-t.y),i=o.util.rotateVector(r,n);return new o.Point(i.x,i.y).addEquals(t)},rotateVector:function(e,t){var n=o.util.sin(t),r=o.util.cos(t);return{x:e.x*r-e.y*n,y:e.x*n+e.y*r}},createVector:function(e,t){return new o.Point(t.x-e.x,t.y-e.y)},calcAngleBetweenVectors:function(e,t){return Math.acos((e.x*t.x+e.y*t.y)/(Math.hypot(e.x,e.y)*Math.hypot(t.x,t.y)))},getHatVector:function(e){return new o.Point(e.x,e.y).multiply(1/Math.hypot(e.x,e.y))},getBisector:function(e,t,n){var r=o.util.createVector(e,t),i=o.util.createVector(e,n),a=o.util.calcAngleBetweenVectors(r,i),s=a*(0===o.util.calcAngleBetweenVectors(o.util.rotateVector(r,a),i)?1:-1)/2;return{vector:o.util.getHatVector(o.util.rotateVector(r,s)),angle:a}},projectStrokeOnPoints:function(e,t,n){var r=[],i=t.strokeWidth/2,a=t.strokeUniform?new o.Point(1/t.scaleX,1/t.scaleY):new o.Point(1,1),s=function(e){var t=i/Math.hypot(e.x,e.y);return new o.Point(e.x*t*a.x,e.y*t*a.y)};return e.length<=1||e.forEach((function(l,c){var u,d,p=new o.Point(l.x,l.y);0===c?(d=e[c+1],u=n?s(o.util.createVector(d,p)).addEquals(p):e[e.length-1]):c===e.length-1?(u=e[c-1],d=n?s(o.util.createVector(u,p)).addEquals(p):e[0]):(u=e[c-1],d=e[c+1]);var f,h,b=o.util.getBisector(p,u,d),A=b.vector,m=b.angle;if("miter"===t.strokeLineJoin&&(f=-i/Math.sin(m/2),h=new o.Point(A.x*f*a.x,A.y*f*a.y),Math.hypot(h.x,h.y)/i<=t.strokeMiterLimit))return r.push(p.add(h)),void r.push(p.subtract(h));f=-i*Math.SQRT2,h=new o.Point(A.x*f*a.x,A.y*f*a.y),r.push(p.add(h)),r.push(p.subtract(h))})),r},transformPoint:function(e,t,n){return n?new o.Point(t[0]*e.x+t[2]*e.y,t[1]*e.x+t[3]*e.y):new o.Point(t[0]*e.x+t[2]*e.y+t[4],t[1]*e.x+t[3]*e.y+t[5])},makeBoundingBoxFromPoints:function(e,t){if(t)for(var n=0;n<e.length;n++)e[n]=o.util.transformPoint(e[n],t);var r=[e[0].x,e[1].x,e[2].x,e[3].x],i=o.util.array.min(r),a=o.util.array.max(r)-i,s=[e[0].y,e[1].y,e[2].y,e[3].y],l=o.util.array.min(s);return{left:i,top:l,width:a,height:o.util.array.max(s)-l}},invertTransform:function(e){var t=1/(e[0]*e[3]-e[1]*e[2]),n=[t*e[3],-t*e[1],-t*e[2],t*e[0]],r=o.util.transformPoint({x:e[4],y:e[5]},n,!0);return n[4]=-r.x,n[5]=-r.y,n},toFixed:function(e,t){return parseFloat(Number(e).toFixed(t))},parseUnit:function(e,t){var n=/\D{0,2}$/.exec(e),r=parseFloat(e);switch(t||(t=o.Text.DEFAULT_SVG_FONT_SIZE),n[0]){case"mm":return r*o.DPI/25.4;case"cm":return r*o.DPI/2.54;case"in":return r*o.DPI;case"pt":return r*o.DPI/72;case"pc":return r*o.DPI/72*12;case"em":return r*t;default:return r}},falseFunction:function(){return!1},getKlass:function(e,t){return e=o.util.string.camelize(e.charAt(0).toUpperCase()+e.slice(1)),o.util.resolveNamespace(t)[e]},getSvgAttributes:function(e){var t=["instantiated_by_use","style","id","class"];switch(e){case"linearGradient":t=t.concat(["x1","y1","x2","y2","gradientUnits","gradientTransform"]);break;case"radialGradient":t=t.concat(["gradientUnits","gradientTransform","cx","cy","r","fx","fy","fr"]);break;case"stop":t=t.concat(["offset","stop-color","stop-opacity"])}return t},resolveNamespace:function(t){if(!t)return o;var n,r=t.split("."),i=r.length,a=e||o.window;for(n=0;n<i;++n)a=a[r[n]];return a},loadImage:function(e,t,n,r){if(e){var i=o.util.createImage(),a=function(){t&&t.call(n,i,!1),i=i.onload=i.onerror=null};i.onload=a,i.onerror=function(){o.log("Error loading "+i.src),t&&t.call(n,null,!0),i=i.onload=i.onerror=null},0!==e.indexOf("data")&&void 0!==r&&null!==r&&(i.crossOrigin=r),"data:image/svg"===e.substring(0,14)&&(i.onload=null,o.util.loadImageInDom(i,a)),i.src=e}else t&&t.call(n,e)},loadImageInDom:function(e,t){var n=o.document.createElement("div");n.style.width=n.style.height="1px",n.style.left=n.style.top="-100%",n.style.position="absolute",n.appendChild(e),o.document.querySelector("body").appendChild(n),e.onload=function(){t(),n.parentNode.removeChild(n),n=null}},enlivenObjects:function(e,t,n,r){var i=[],a=0,s=(e=e||[]).length;function l(){++a===s&&t&&t(i.filter((function(e){return e})))}s?e.forEach((function(e,t){e&&e.type?o.util.getKlass(e.type,n).fromObject(e,(function(n,o){o||(i[t]=n),r&&r(e,n,o),l()})):l()})):t&&t(i)},enlivenObjectEnlivables:function(e,t,n){var r=o.Object.ENLIVEN_PROPS.filter((function(t){return!!e[t]}));o.util.enlivenObjects(r.map((function(t){return e[t]})),(function(e){var o={};r.forEach((function(n,r){o[n]=e[r],t&&(t[n]=e[r])})),n&&n(o)}))},enlivenPatterns:function(e,t){function n(){++i===a&&t&&t(r)}var r=[],i=0,a=(e=e||[]).length;a?e.forEach((function(e,t){e&&e.source?new o.Pattern(e,(function(e){r[t]=e,n()})):(r[t]=e,n())})):t&&t(r)},groupSVGElements:function(e,t,n){var r;return e&&1===e.length?("undefined"!==typeof n&&(e[0].sourcePath=n),e[0]):(t&&(t.width&&t.height?t.centerPoint={x:t.width/2,y:t.height/2}:(delete t.width,delete t.height)),r=new o.Group(e,t),"undefined"!==typeof n&&(r.sourcePath=n),r)},populateWithProperties:function(e,t,n){if(n&&Array.isArray(n))for(var r=0,o=n.length;r<o;r++)n[r]in e&&(t[n[r]]=e[n[r]])},createCanvasElement:function(){return o.document.createElement("canvas")},copyCanvasElement:function(e){var t=o.util.createCanvasElement();return t.width=e.width,t.height=e.height,t.getContext("2d").drawImage(e,0,0),t},toDataURL:function(e,t,n){return e.toDataURL("image/"+t,n)},createImage:function(){return o.document.createElement("img")},multiplyTransformMatrices:function(e,t,n){return[e[0]*t[0]+e[2]*t[1],e[1]*t[0]+e[3]*t[1],e[0]*t[2]+e[2]*t[3],e[1]*t[2]+e[3]*t[3],n?0:e[0]*t[4]+e[2]*t[5]+e[4],n?0:e[1]*t[4]+e[3]*t[5]+e[5]]},qrDecompose:function(e){var o=n(e[1],e[0]),a=r(e[0],2)+r(e[1],2),s=t(a),l=(e[0]*e[3]-e[2]*e[1])/s,c=n(e[0]*e[2]+e[1]*e[3],a);return{angle:o/i,scaleX:s,scaleY:l,skewX:c/i,skewY:0,translateX:e[4],translateY:e[5]}},calcRotateMatrix:function(e){if(!e.angle)return o.iMatrix.concat();var t=o.util.degreesToRadians(e.angle),n=o.util.cos(t),r=o.util.sin(t);return[n,r,-r,n,0,0]},calcDimensionsMatrix:function(e){var t="undefined"===typeof e.scaleX?1:e.scaleX,n="undefined"===typeof e.scaleY?1:e.scaleY,r=[e.flipX?-t:t,0,0,e.flipY?-n:n,0,0],i=o.util.multiplyTransformMatrices,a=o.util.degreesToRadians;return e.skewX&&(r=i(r,[1,0,Math.tan(a(e.skewX)),1],!0)),e.skewY&&(r=i(r,[1,Math.tan(a(e.skewY)),0,1],!0)),r},composeMatrix:function(e){var t=[1,0,0,1,e.translateX||0,e.translateY||0],n=o.util.multiplyTransformMatrices;return e.angle&&(t=n(t,o.util.calcRotateMatrix(e))),(1!==e.scaleX||1!==e.scaleY||e.skewX||e.skewY||e.flipX||e.flipY)&&(t=n(t,o.util.calcDimensionsMatrix(e))),t},resetObjectTransform:function(e){e.scaleX=1,e.scaleY=1,e.skewX=0,e.skewY=0,e.flipX=!1,e.flipY=!1,e.rotate(0)},saveObjectTransform:function(e){return{scaleX:e.scaleX,scaleY:e.scaleY,skewX:e.skewX,skewY:e.skewY,angle:e.angle,left:e.left,flipX:e.flipX,flipY:e.flipY,top:e.top}},isTransparent:function(e,t,n,r){r>0&&(t>r?t-=r:t=0,n>r?n-=r:n=0);var o,i=!0,a=e.getImageData(t,n,2*r||1,2*r||1),s=a.data.length;for(o=3;o<s&&!1!==(i=a.data[o]<=0);o+=4);return a=null,i},parsePreserveAspectRatioAttribute:function(e){var t,n="meet",r=e.split(" ");return r&&r.length&&("meet"!==(n=r.pop())&&"slice"!==n?(t=n,n="meet"):r.length&&(t=r.pop())),{meetOrSlice:n,alignX:"none"!==t?t.slice(1,4):"none",alignY:"none"!==t?t.slice(5,8):"none"}},clearFabricFontCache:function(e){(e=(e||"").toLowerCase())?o.charWidthsCache[e]&&delete o.charWidthsCache[e]:o.charWidthsCache={}},limitDimsByArea:function(e,t){var n=Math.sqrt(t*e),r=Math.floor(t/n);return{x:Math.floor(n),y:r}},capValue:function(e,t,n){return Math.max(e,Math.min(t,n))},findScaleToFit:function(e,t){return Math.min(t.width/e.width,t.height/e.height)},findScaleToCover:function(e,t){return Math.max(t.width/e.width,t.height/e.height)},matrixToSVG:function(e){return"matrix("+e.map((function(e){return o.util.toFixed(e,o.Object.NUM_FRACTION_DIGITS)})).join(" ")+")"},removeTransformFromObject:function(e,t){var n=o.util.invertTransform(t),r=o.util.multiplyTransformMatrices(n,e.calcOwnMatrix());o.util.applyTransformToObject(e,r)},addTransformToObject:function(e,t){o.util.applyTransformToObject(e,o.util.multiplyTransformMatrices(t,e.calcOwnMatrix()))},applyTransformToObject:function(e,t){var n=o.util.qrDecompose(t),r=new o.Point(n.translateX,n.translateY);e.flipX=!1,e.flipY=!1,e.set("scaleX",n.scaleX),e.set("scaleY",n.scaleY),e.skewX=n.skewX,e.skewY=n.skewY,e.angle=n.angle,e.setPositionByOrigin(r,"center","center")},sizeAfterTransform:function(e,t,n){var r=e/2,i=t/2,a=[{x:-r,y:-i},{x:r,y:-i},{x:-r,y:i},{x:r,y:i}],s=o.util.calcDimensionsMatrix(n),l=o.util.makeBoundingBoxFromPoints(a,s);return{x:l.width,y:l.height}},mergeClipPaths:function(e,t){var n=e,r=t;n.inverted&&!r.inverted&&(n=t,r=e),o.util.applyTransformToObject(r,o.util.multiplyTransformMatrices(o.util.invertTransform(n.calcTransformMatrix()),r.calcTransformMatrix()));var i=n.inverted&&r.inverted;return i&&(n.inverted=r.inverted=!1),new o.Group([n],{clipPath:r,inverted:i})},hasStyleChanged:function(e,t,n){return n=n||!1,e.fill!==t.fill||e.stroke!==t.stroke||e.strokeWidth!==t.strokeWidth||e.fontSize!==t.fontSize||e.fontFamily!==t.fontFamily||e.fontWeight!==t.fontWeight||e.fontStyle!==t.fontStyle||e.textBackgroundColor!==t.textBackgroundColor||e.deltaY!==t.deltaY||n&&(e.overline!==t.overline||e.underline!==t.underline||e.linethrough!==t.linethrough)},stylesToArray:function(e,t){e=o.util.object.clone(e,!0);for(var n=t.split("\n"),r=-1,i={},a=[],s=0;s<n.length;s++)if(e[s])for(var l=0;l<n[s].length;l++){r++;var c=e[s][l];if(c&&Object.keys(c).length>0)o.util.hasStyleChanged(i,c,!0)?a.push({start:r,end:r+1,style:c}):a[a.length-1].end++;i=c||{}}else r+=n[s].length;return a},stylesFromArray:function(e,t){if(!Array.isArray(e))return e;for(var n=t.split("\n"),r=-1,o=0,i={},a=0;a<n.length;a++)for(var s=0;s<n[a].length;s++)r++,e[o]&&e[o].start<=r&&r<e[o].end&&(i[a]=i[a]||{},i[a][s]=Object.assign({},e[o].style),r===e[o].end-1&&o++);return i}}}(t),function(){var e=Array.prototype.join,t={m:2,l:2,h:1,v:1,c:6,s:4,q:4,t:2,a:7},n={m:"l",M:"L"};function r(e,t,n,r,i,a,s,l,c,u,d){var p=o.util.cos(e),f=o.util.sin(e),h=o.util.cos(t),b=o.util.sin(t),A=n*i*h-r*a*b+s,m=r*i*h+n*a*b+l;return["C",u+c*(-n*i*f-r*a*p),d+c*(-r*i*f+n*a*p),A+c*(n*i*b+r*a*h),m+c*(r*i*b-n*a*h),A,m]}function i(e,t,n,r){var o=Math.atan2(t,e),i=Math.atan2(r,n);return i>=o?i-o:2*Math.PI-(o-i)}function a(e,t,n){for(var a=n[1],s=n[2],l=n[3],c=n[4],u=n[5],d=function(e,t,n,a,s,l,c){var u=Math.PI,d=c*u/180,p=o.util.sin(d),f=o.util.cos(d),h=0,b=0,A=-f*e*.5-p*t*.5,m=-f*t*.5+p*e*.5,g=(n=Math.abs(n))*n,v=(a=Math.abs(a))*a,y=m*m,M=A*A,O=g*v-g*y-v*M,_=0;if(O<0){var z=Math.sqrt(1-O/(g*v));n*=z,a*=z}else _=(s===l?-1:1)*Math.sqrt(O/(g*y+v*M));var x=_*n*m/a,w=-_*a*A/n,C=f*x-p*w+.5*e,S=p*x+f*w+.5*t,E=i(1,0,(A-x)/n,(m-w)/a),k=i((A-x)/n,(m-w)/a,(-A-x)/n,(-m-w)/a);0===l&&k>0?k-=2*u:1===l&&k<0&&(k+=2*u);for(var D=Math.ceil(Math.abs(k/u*2)),N=[],T=k/D,j=8/3*Math.sin(T/4)*Math.sin(T/4)/Math.sin(T/2),B=E+T,L=0;L<D;L++)N[L]=r(E,B,f,p,n,a,C,S,j,h,b),h=N[L][5],b=N[L][6],E=B,B+=T;return N}(n[6]-e,n[7]-t,a,s,c,u,l),p=0,f=d.length;p<f;p++)d[p][1]+=e,d[p][2]+=t,d[p][3]+=e,d[p][4]+=t,d[p][5]+=e,d[p][6]+=t;return d}function s(e,t,n,r){return Math.sqrt((n-e)*(n-e)+(r-t)*(r-t))}function l(e,t,n,r,o,i,a,s){return function(l){var c,u=(c=l)*c*c,d=function(e){return 3*e*e*(1-e)}(l),p=function(e){return 3*e*(1-e)*(1-e)}(l),f=function(e){return(1-e)*(1-e)*(1-e)}(l);return{x:a*u+o*d+n*p+e*f,y:s*u+i*d+r*p+t*f}}}function c(e,t,n,r,o,i,a,s){return function(l){var c=1-l,u=3*c*c*(n-e)+6*c*l*(o-n)+3*l*l*(a-o),d=3*c*c*(r-t)+6*c*l*(i-r)+3*l*l*(s-i);return Math.atan2(d,u)}}function u(e,t,n,r,o,i){return function(a){var s,l=(s=a)*s,c=function(e){return 2*e*(1-e)}(a),u=function(e){return(1-e)*(1-e)}(a);return{x:o*l+n*c+e*u,y:i*l+r*c+t*u}}}function d(e,t,n,r,o,i){return function(a){var s=1-a,l=2*s*(n-e)+2*a*(o-n),c=2*s*(r-t)+2*a*(i-r);return Math.atan2(c,l)}}function p(e,t,n){var r,o,i={x:t,y:n},a=0;for(o=1;o<=100;o+=1)r=e(o/100),a+=s(i.x,i.y,r.x,r.y),i=r;return a}function f(e,t){for(var n,r,o,i=0,a=0,l=e.iterator,c={x:e.x,y:e.y},u=.01,d=e.angleFinder;a<t&&u>1e-4;)n=l(i),o=i,(r=s(c.x,c.y,n.x,n.y))+a>t?(i-=u,u/=2):(c=n,i+=u,a+=r);return n.angle=d(o),n}function h(e){for(var t,n,r,o,i=0,a=e.length,f=0,h=0,b=0,A=0,m=[],g=0;g<a;g++){switch(r={x:f,y:h,command:(t=e[g])[0]},t[0]){case"M":r.length=0,b=f=t[1],A=h=t[2];break;case"L":r.length=s(f,h,t[1],t[2]),f=t[1],h=t[2];break;case"C":n=l(f,h,t[1],t[2],t[3],t[4],t[5],t[6]),o=c(f,h,t[1],t[2],t[3],t[4],t[5],t[6]),r.iterator=n,r.angleFinder=o,r.length=p(n,f,h),f=t[5],h=t[6];break;case"Q":n=u(f,h,t[1],t[2],t[3],t[4]),o=d(f,h,t[1],t[2],t[3],t[4]),r.iterator=n,r.angleFinder=o,r.length=p(n,f,h),f=t[3],h=t[4];break;case"Z":case"z":r.destX=b,r.destY=A,r.length=s(f,h,b,A),f=b,h=A}i+=r.length,m.push(r)}return m.push({length:i,x:f,y:h}),m}o.util.joinPath=function(e){return e.map((function(e){return e.join(" ")})).join(" ")},o.util.parsePath=function(e){var r,i,a,s,l,c=[],u=[],d=o.rePathCommand,p="[-+]?(?:\\d*\\.\\d+|\\d+\\.?)(?:[eE][-+]?\\d+)?\\s*",f="("+p+")"+o.commaWsp,h="([01])"+o.commaWsp+"?",b=new RegExp(f+"?"+f+"?"+f+h+h+f+"?("+p+")","g");if(!e||!e.match)return c;for(var A,m=0,g=(l=e.match(/[mzlhvcsqta][^mzlhvcsqta]*/gi)).length;m<g;m++){s=(r=l[m]).slice(1).trim(),u.length=0;var v=r.charAt(0);if(A=[v],"a"===v.toLowerCase())for(var y;y=b.exec(s);)for(var M=1;M<y.length;M++)u.push(y[M]);else for(;a=d.exec(s);)u.push(a[0]);M=0;for(var O=u.length;M<O;M++)i=parseFloat(u[M]),isNaN(i)||A.push(i);var _=t[v.toLowerCase()],z=n[v]||v;if(A.length-1>_)for(var x=1,w=A.length;x<w;x+=_)c.push([v].concat(A.slice(x,x+_))),v=z;else c.push(A)}return c},o.util.makePathSimpler=function(e){var t,n,r,o,i,s,l=0,c=0,u=e.length,d=0,p=0,f=[];for(n=0;n<u;++n){switch(r=!1,(t=e[n].slice(0))[0]){case"l":t[0]="L",t[1]+=l,t[2]+=c;case"L":l=t[1],c=t[2];break;case"h":t[1]+=l;case"H":t[0]="L",t[2]=c,l=t[1];break;case"v":t[1]+=c;case"V":t[0]="L",c=t[1],t[1]=l,t[2]=c;break;case"m":t[0]="M",t[1]+=l,t[2]+=c;case"M":l=t[1],c=t[2],d=t[1],p=t[2];break;case"c":t[0]="C",t[1]+=l,t[2]+=c,t[3]+=l,t[4]+=c,t[5]+=l,t[6]+=c;case"C":i=t[3],s=t[4],l=t[5],c=t[6];break;case"s":t[0]="S",t[1]+=l,t[2]+=c,t[3]+=l,t[4]+=c;case"S":"C"===o?(i=2*l-i,s=2*c-s):(i=l,s=c),l=t[3],c=t[4],t[0]="C",t[5]=t[3],t[6]=t[4],t[3]=t[1],t[4]=t[2],t[1]=i,t[2]=s,i=t[3],s=t[4];break;case"q":t[0]="Q",t[1]+=l,t[2]+=c,t[3]+=l,t[4]+=c;case"Q":i=t[1],s=t[2],l=t[3],c=t[4];break;case"t":t[0]="T",t[1]+=l,t[2]+=c;case"T":"Q"===o?(i=2*l-i,s=2*c-s):(i=l,s=c),t[0]="Q",l=t[1],c=t[2],t[1]=i,t[2]=s,t[3]=l,t[4]=c;break;case"a":t[0]="A",t[6]+=l,t[7]+=c;case"A":r=!0,f=f.concat(a(l,c,t)),l=t[6],c=t[7];break;case"z":case"Z":l=d,c=p}r||f.push(t),o=t[0]}return f},o.util.getSmoothPathFromPoints=function(e,t){var n,r=[],i=new o.Point(e[0].x,e[0].y),a=new o.Point(e[1].x,e[1].y),s=e.length,l=1,c=0,u=s>2;for(t=t||0,u&&(l=e[2].x<a.x?-1:e[2].x===a.x?0:1,c=e[2].y<a.y?-1:e[2].y===a.y?0:1),r.push(["M",i.x-l*t,i.y-c*t]),n=1;n<s;n++){if(!i.eq(a)){var d=i.midPointFrom(a);r.push(["Q",i.x,i.y,d.x,d.y])}i=e[n],n+1<e.length&&(a=e[n+1])}return u&&(l=i.x>e[n-2].x?1:i.x===e[n-2].x?0:-1,c=i.y>e[n-2].y?1:i.y===e[n-2].y?0:-1),r.push(["L",i.x+l*t,i.y+c*t]),r},o.util.getPathSegmentsInfo=h,o.util.getBoundsOfCurve=function(t,n,r,i,a,s,l,c){var u;if(o.cachesBoundsOfCurve&&(u=e.call(arguments),o.boundsOfCurveCache[u]))return o.boundsOfCurveCache[u];var d,p,f,h,b,A,m,g,v=Math.sqrt,y=Math.min,M=Math.max,O=Math.abs,_=[],z=[[],[]];p=6*t-12*r+6*a,d=-3*t+9*r-9*a+3*l,f=3*r-3*t;for(var x=0;x<2;++x)if(x>0&&(p=6*n-12*i+6*s,d=-3*n+9*i-9*s+3*c,f=3*i-3*n),O(d)<1e-12){if(O(p)<1e-12)continue;0<(h=-f/p)&&h<1&&_.push(h)}else(m=p*p-4*f*d)<0||(0<(b=(-p+(g=v(m)))/(2*d))&&b<1&&_.push(b),0<(A=(-p-g)/(2*d))&&A<1&&_.push(A));for(var w,C,S,E=_.length,k=E;E--;)w=(S=1-(h=_[E]))*S*S*t+3*S*S*h*r+3*S*h*h*a+h*h*h*l,z[0][E]=w,C=S*S*S*n+3*S*S*h*i+3*S*h*h*s+h*h*h*c,z[1][E]=C;z[0][k]=t,z[1][k]=n,z[0][k+1]=l,z[1][k+1]=c;var D=[{x:y.apply(null,z[0]),y:y.apply(null,z[1])},{x:M.apply(null,z[0]),y:M.apply(null,z[1])}];return o.cachesBoundsOfCurve&&(o.boundsOfCurveCache[u]=D),D},o.util.getPointOnPath=function(e,t,n){n||(n=h(e));for(var r=0;t-n[r].length>0&&r<n.length-2;)t-=n[r].length,r++;var i,a=n[r],s=t/a.length,l=a.command,c=e[r];switch(l){case"M":return{x:a.x,y:a.y,angle:0};case"Z":case"z":return(i=new o.Point(a.x,a.y).lerp(new o.Point(a.destX,a.destY),s)).angle=Math.atan2(a.destY-a.y,a.destX-a.x),i;case"L":return(i=new o.Point(a.x,a.y).lerp(new o.Point(c[1],c[2]),s)).angle=Math.atan2(c[2]-a.y,c[1]-a.x),i;case"C":case"Q":return f(a,t)}},o.util.transformPath=function(e,t,n){return n&&(t=o.util.multiplyTransformMatrices(t,[1,0,0,1,-n.x,-n.y])),e.map((function(e){for(var n=e.slice(0),r={},i=1;i<e.length-1;i+=2)r.x=e[i],r.y=e[i+1],r=o.util.transformPoint(r,t),n[i]=r.x,n[i+1]=r.y;return n}))}}(),function(){var e=Array.prototype.slice;function t(e,t,n){if(e&&0!==e.length){var r=e.length-1,o=t?e[r][t]:e[r];if(t)for(;r--;)n(e[r][t],o)&&(o=e[r][t]);else for(;r--;)n(e[r],o)&&(o=e[r]);return o}}o.util.array={fill:function(e,t){for(var n=e.length;n--;)e[n]=t;return e},invoke:function(t,n){for(var r=e.call(arguments,2),o=[],i=0,a=t.length;i<a;i++)o[i]=r.length?t[i][n].apply(t[i],r):t[i][n].call(t[i]);return o},min:function(e,n){return t(e,n,(function(e,t){return e<t}))},max:function(e,n){return t(e,n,(function(e,t){return e>=t}))}}}(),function(){function e(t,n,r){if(r)if(!o.isLikelyNode&&n instanceof Element)t=n;else if(n instanceof Array){t=[];for(var i=0,a=n.length;i<a;i++)t[i]=e({},n[i],r)}else if(n&&"object"===typeof n)for(var s in n)"canvas"===s||"group"===s?t[s]=null:n.hasOwnProperty(s)&&(t[s]=e({},n[s],r));else t=n;else for(var s in n)t[s]=n[s];return t}o.util.object={extend:e,clone:function(t,n){return e({},t,n)}},o.util.object.extend(o.util,o.Observable)}(),function(){function e(e,t){var n=e.charCodeAt(t);if(isNaN(n))return"";if(n<55296||n>57343)return e.charAt(t);if(55296<=n&&n<=56319){if(e.length<=t+1)throw"High surrogate without following low surrogate";var r=e.charCodeAt(t+1);if(56320>r||r>57343)throw"High surrogate without following low surrogate";return e.charAt(t)+e.charAt(t+1)}if(0===t)throw"Low surrogate without preceding high surrogate";var o=e.charCodeAt(t-1);if(55296>o||o>56319)throw"Low surrogate without preceding high surrogate";return!1}o.util.string={camelize:function(e){return e.replace(/-+(.)?/g,(function(e,t){return t?t.toUpperCase():""}))},capitalize:function(e,t){return e.charAt(0).toUpperCase()+(t?e.slice(1):e.slice(1).toLowerCase())},escapeXml:function(e){return e.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/</g,"&lt;").replace(/>/g,"&gt;")},graphemeSplit:function(t){var n,r=0,o=[];for(r=0;r<t.length;r++)!1!==(n=e(t,r))&&o.push(n);return o}}}(),function(){var e=Array.prototype.slice,t=function(){},n=function(){for(var e in{toString:1})if("toString"===e)return!1;return!0}(),r=function(e,t,r){for(var o in t)o in e.prototype&&"function"===typeof e.prototype[o]&&(t[o]+"").indexOf("callSuper")>-1?e.prototype[o]=function(e){return function(){var n=this.constructor.superclass;this.constructor.superclass=r;var o=t[e].apply(this,arguments);if(this.constructor.superclass=n,"initialize"!==e)return o}}(o):e.prototype[o]=t[o],n&&(t.toString!==Object.prototype.toString&&(e.prototype.toString=t.toString),t.valueOf!==Object.prototype.valueOf&&(e.prototype.valueOf=t.valueOf))};function i(){}function a(t){for(var n=null,r=this;r.constructor.superclass;){var o=r.constructor.superclass.prototype[t];if(r[t]!==o){n=o;break}r=r.constructor.superclass.prototype}return n?arguments.length>1?n.apply(this,e.call(arguments,1)):n.call(this):console.log("tried to callSuper "+t+", method not found in prototype chain",this)}o.util.createClass=function(){var n=null,o=e.call(arguments,0);function s(){this.initialize.apply(this,arguments)}"function"===typeof o[0]&&(n=o.shift()),s.superclass=n,s.subclasses=[],n&&(i.prototype=n.prototype,s.prototype=new i,n.subclasses.push(s));for(var l=0,c=o.length;l<c;l++)r(s,o[l],n);return s.prototype.initialize||(s.prototype.initialize=t),s.prototype.constructor=s,s.prototype.callSuper=a,s}}(),function(){var e=!!o.document.createElement("div").attachEvent,t=["touchstart","touchmove","touchend"];o.util.addListener=function(t,n,r,o){t&&t.addEventListener(n,r,!e&&o)},o.util.removeListener=function(t,n,r,o){t&&t.removeEventListener(n,r,!e&&o)},o.util.getPointer=function(e){var t=e.target,n=o.util.getScrollLeftTop(t),r=function(e){var t=e.changedTouches;return t&&t[0]?t[0]:e}(e);return{x:r.clientX+n.left,y:r.clientY+n.top}},o.util.isTouchEvent=function(e){return t.indexOf(e.type)>-1||"touch"===e.pointerType}}(),function(){var e=o.document.createElement("div"),t="string"===typeof e.style.opacity,n="string"===typeof e.style.filter,r=/alpha\s*\(\s*opacity\s*=\s*([^\)]+)\)/,i=function(e){return e};t?i=function(e,t){return e.style.opacity=t,e}:n&&(i=function(e,t){var n=e.style;return e.currentStyle&&!e.currentStyle.hasLayout&&(n.zoom=1),r.test(n.filter)?(t=t>=.9999?"":"alpha(opacity="+100*t+")",n.filter=n.filter.replace(r,t)):n.filter+=" alpha(opacity="+100*t+")",e}),o.util.setStyle=function(e,t){var n=e.style;if(!n)return e;if("string"===typeof t)return e.style.cssText+=";"+t,t.indexOf("opacity")>-1?i(e,t.match(/opacity:\s*(\d?\.?\d*)/)[1]):e;for(var r in t)if("opacity"===r)i(e,t[r]);else{var o="float"===r||"cssFloat"===r?"undefined"===typeof n.styleFloat?"cssFloat":"styleFloat":r;n.setProperty(o,t[r])}return e}}(),function(){var e=Array.prototype.slice;var t,n,r=function(t){return e.call(t,0)};try{t=r(o.document.childNodes)instanceof Array}catch(s){}function i(e,t){var n=o.document.createElement(e);for(var r in t)"class"===r?n.className=t[r]:"for"===r?n.htmlFor=t[r]:n.setAttribute(r,t[r]);return n}function a(e){for(var t=0,n=0,r=o.document.documentElement,i=o.document.body||{scrollLeft:0,scrollTop:0};e&&(e.parentNode||e.host)&&((e=e.parentNode||e.host)===o.document?(t=i.scrollLeft||r.scrollLeft||0,n=i.scrollTop||r.scrollTop||0):(t+=e.scrollLeft||0,n+=e.scrollTop||0),1!==e.nodeType||"fixed"!==e.style.position););return{left:t,top:n}}t||(r=function(e){for(var t=new Array(e.length),n=e.length;n--;)t[n]=e[n];return t}),n=o.document.defaultView&&o.document.defaultView.getComputedStyle?function(e,t){var n=o.document.defaultView.getComputedStyle(e,null);return n?n[t]:void 0}:function(e,t){var n=e.style[t];return!n&&e.currentStyle&&(n=e.currentStyle[t]),n},function(){var e=o.document.documentElement.style,t="userSelect"in e?"userSelect":"MozUserSelect"in e?"MozUserSelect":"WebkitUserSelect"in e?"WebkitUserSelect":"KhtmlUserSelect"in e?"KhtmlUserSelect":"";o.util.makeElementUnselectable=function(e){return"undefined"!==typeof e.onselectstart&&(e.onselectstart=o.util.falseFunction),t?e.style[t]="none":"string"===typeof e.unselectable&&(e.unselectable="on"),e},o.util.makeElementSelectable=function(e){return"undefined"!==typeof e.onselectstart&&(e.onselectstart=null),t?e.style[t]="":"string"===typeof e.unselectable&&(e.unselectable=""),e}}(),o.util.setImageSmoothing=function(e,t){e.imageSmoothingEnabled=e.imageSmoothingEnabled||e.webkitImageSmoothingEnabled||e.mozImageSmoothingEnabled||e.msImageSmoothingEnabled||e.oImageSmoothingEnabled,e.imageSmoothingEnabled=t},o.util.getById=function(e){return"string"===typeof e?o.document.getElementById(e):e},o.util.toArray=r,o.util.addClass=function(e,t){e&&-1===(" "+e.className+" ").indexOf(" "+t+" ")&&(e.className+=(e.className?" ":"")+t)},o.util.makeElement=i,o.util.wrapElement=function(e,t,n){return"string"===typeof t&&(t=i(t,n)),e.parentNode&&e.parentNode.replaceChild(t,e),t.appendChild(e),t},o.util.getScrollLeftTop=a,o.util.getElementOffset=function(e){var t,r,o=e&&e.ownerDocument,i={left:0,top:0},s={left:0,top:0},l={borderLeftWidth:"left",borderTopWidth:"top",paddingLeft:"left",paddingTop:"top"};if(!o)return s;for(var c in l)s[l[c]]+=parseInt(n(e,c),10)||0;return t=o.documentElement,"undefined"!==typeof e.getBoundingClientRect&&(i=e.getBoundingClientRect()),r=a(e),{left:i.left+r.left-(t.clientLeft||0)+s.left,top:i.top+r.top-(t.clientTop||0)+s.top}},o.util.getNodeCanvas=function(e){var t=o.jsdomImplForWrapper(e);return t._canvas||t._image},o.util.cleanUpJsdomNode=function(e){if(o.isLikelyNode){var t=o.jsdomImplForWrapper(e);t&&(t._image=null,t._canvas=null,t._currentSrc=null,t._attributes=null,t._classList=null)}}}(),function(){function e(){}o.util.request=function(t,n){n||(n={});var r=n.method?n.method.toUpperCase():"GET",i=n.onComplete||function(){},a=new o.window.XMLHttpRequest,s=n.body||n.parameters;return a.onreadystatechange=function(){4===a.readyState&&(i(a),a.onreadystatechange=e)},"GET"===r&&(s=null,"string"===typeof n.parameters&&(t=function(e,t){return e+(/\?/.test(e)?"&":"?")+t}(t,n.parameters))),a.open(r,t,!0),"POST"!==r&&"PUT"!==r||a.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),a.send(s),a}}(),o.log=console.log,o.warn=console.warn,function(){var e=o.util.object.extend,t=o.util.object.clone,n=[];function r(){return!1}function i(e,t,n,r){return-n*Math.cos(e/r*(Math.PI/2))+n+t}o.util.object.extend(n,{cancelAll:function(){var e=this.splice(0);return e.forEach((function(e){e.cancel()})),e},cancelByCanvas:function(e){if(!e)return[];var t=this.filter((function(t){return"object"===typeof t.target&&t.target.canvas===e}));return t.forEach((function(e){e.cancel()})),t},cancelByTarget:function(e){var t=this.findAnimationsByTarget(e);return t.forEach((function(e){e.cancel()})),t},findAnimationIndex:function(e){return this.indexOf(this.findAnimation(e))},findAnimation:function(e){return this.find((function(t){return t.cancel===e}))},findAnimationsByTarget:function(e){return e?this.filter((function(t){return t.target===e})):[]}});var a=o.window.requestAnimationFrame||o.window.webkitRequestAnimationFrame||o.window.mozRequestAnimationFrame||o.window.oRequestAnimationFrame||o.window.msRequestAnimationFrame||function(e){return o.window.setTimeout(e,1e3/60)},s=o.window.cancelAnimationFrame||o.window.clearTimeout;function l(){return a.apply(o.window,arguments)}o.util.animate=function(n){n||(n={});var a,s=!1,c=function(){var e=o.runningAnimations.indexOf(a);return e>-1&&o.runningAnimations.splice(e,1)[0]};return a=e(t(n),{cancel:function(){return s=!0,c()},currentValue:"startValue"in n?n.startValue:0,completionRate:0,durationRate:0}),o.runningAnimations.push(a),l((function(e){var t,o=e||+new Date,u=n.duration||500,d=o+u,p=n.onChange||r,f=n.abort||r,h=n.onComplete||r,b=n.easing||i,A="startValue"in n&&n.startValue.length>0,m="startValue"in n?n.startValue:0,g="endValue"in n?n.endValue:100,v=n.byValue||(A?m.map((function(e,t){return g[t]-m[t]})):g-m);n.onStart&&n.onStart(),function e(n){var r=(t=n||+new Date)>d?u:t-o,i=r/u,y=A?m.map((function(e,t){return b(r,m[t],v[t],u)})):b(r,m,v,u),M=A?Math.abs((y[0]-m[0])/v[0]):Math.abs((y-m)/v);if(a.currentValue=A?y.slice():y,a.completionRate=M,a.durationRate=i,!s){if(!f(y,M,i))return t>d?(a.currentValue=A?g.slice():g,a.completionRate=1,a.durationRate=1,p(A?g.slice():g,1,1),h(g,1,1),void c()):(p(y,M,i),void l(e));c()}}(o)})),a.cancel},o.util.requestAnimFrame=l,o.util.cancelAnimFrame=function(){return s.apply(o.window,arguments)},o.runningAnimations=n}(),function(){function e(e,t,n){var r="rgba("+parseInt(e[0]+n*(t[0]-e[0]),10)+","+parseInt(e[1]+n*(t[1]-e[1]),10)+","+parseInt(e[2]+n*(t[2]-e[2]),10);return r+=","+(e&&t?parseFloat(e[3]+n*(t[3]-e[3])):1),r+=")"}o.util.animateColor=function(t,n,r,i){var a=new o.Color(t).getSource(),s=new o.Color(n).getSource(),l=i.onComplete,c=i.onChange;return i=i||{},o.util.animate(o.util.object.extend(i,{duration:r||500,startValue:a,endValue:s,byValue:s,easing:function(t,n,r,o){return e(n,r,i.colorEasing?i.colorEasing(t,o):1-Math.cos(t/o*(Math.PI/2)))},onComplete:function(t,n,r){if(l)return l(e(s,s,0),n,r)},onChange:function(t,n,r){if(c){if(Array.isArray(t))return c(e(t,t,0),n,r);c(t,n,r)}}}))}}(),function(){function e(e,t,n,r){return e<Math.abs(t)?(e=t,r=n/4):r=0===t&&0===e?n/(2*Math.PI)*Math.asin(1):n/(2*Math.PI)*Math.asin(t/e),{a:e,c:t,p:n,s:r}}function t(e,t,n){return e.a*Math.pow(2,10*(t-=1))*Math.sin((t*n-e.s)*(2*Math.PI)/e.p)}function n(e,t,n,o){return n-r(o-e,0,n,o)+t}function r(e,t,n,r){return(e/=r)<1/2.75?n*(7.5625*e*e)+t:e<2/2.75?n*(7.5625*(e-=1.5/2.75)*e+.75)+t:e<2.5/2.75?n*(7.5625*(e-=2.25/2.75)*e+.9375)+t:n*(7.5625*(e-=2.625/2.75)*e+.984375)+t}o.util.ease={easeInQuad:function(e,t,n,r){return n*(e/=r)*e+t},easeOutQuad:function(e,t,n,r){return-n*(e/=r)*(e-2)+t},easeInOutQuad:function(e,t,n,r){return(e/=r/2)<1?n/2*e*e+t:-n/2*(--e*(e-2)-1)+t},easeInCubic:function(e,t,n,r){return n*(e/=r)*e*e+t},easeOutCubic:function(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t},easeInOutCubic:function(e,t,n,r){return(e/=r/2)<1?n/2*e*e*e+t:n/2*((e-=2)*e*e+2)+t},easeInQuart:function(e,t,n,r){return n*(e/=r)*e*e*e+t},easeOutQuart:function(e,t,n,r){return-n*((e=e/r-1)*e*e*e-1)+t},easeInOutQuart:function(e,t,n,r){return(e/=r/2)<1?n/2*e*e*e*e+t:-n/2*((e-=2)*e*e*e-2)+t},easeInQuint:function(e,t,n,r){return n*(e/=r)*e*e*e*e+t},easeOutQuint:function(e,t,n,r){return n*((e=e/r-1)*e*e*e*e+1)+t},easeInOutQuint:function(e,t,n,r){return(e/=r/2)<1?n/2*e*e*e*e*e+t:n/2*((e-=2)*e*e*e*e+2)+t},easeInSine:function(e,t,n,r){return-n*Math.cos(e/r*(Math.PI/2))+n+t},easeOutSine:function(e,t,n,r){return n*Math.sin(e/r*(Math.PI/2))+t},easeInOutSine:function(e,t,n,r){return-n/2*(Math.cos(Math.PI*e/r)-1)+t},easeInExpo:function(e,t,n,r){return 0===e?t:n*Math.pow(2,10*(e/r-1))+t},easeOutExpo:function(e,t,n,r){return e===r?t+n:n*(1-Math.pow(2,-10*e/r))+t},easeInOutExpo:function(e,t,n,r){return 0===e?t:e===r?t+n:(e/=r/2)<1?n/2*Math.pow(2,10*(e-1))+t:n/2*(2-Math.pow(2,-10*--e))+t},easeInCirc:function(e,t,n,r){return-n*(Math.sqrt(1-(e/=r)*e)-1)+t},easeOutCirc:function(e,t,n,r){return n*Math.sqrt(1-(e=e/r-1)*e)+t},easeInOutCirc:function(e,t,n,r){return(e/=r/2)<1?-n/2*(Math.sqrt(1-e*e)-1)+t:n/2*(Math.sqrt(1-(e-=2)*e)+1)+t},easeInElastic:function(n,r,o,i){var a=0;return 0===n?r:1===(n/=i)?r+o:(a||(a=.3*i),-t(e(o,o,a,1.70158),n,i)+r)},easeOutElastic:function(t,n,r,o){var i=0;if(0===t)return n;if(1===(t/=o))return n+r;i||(i=.3*o);var a=e(r,r,i,1.70158);return a.a*Math.pow(2,-10*t)*Math.sin((t*o-a.s)*(2*Math.PI)/a.p)+a.c+n},easeInOutElastic:function(n,r,o,i){var a=0;if(0===n)return r;if(2===(n/=i/2))return r+o;a||(a=i*(.3*1.5));var s=e(o,o,a,1.70158);return n<1?-.5*t(s,n,i)+r:s.a*Math.pow(2,-10*(n-=1))*Math.sin((n*i-s.s)*(2*Math.PI)/s.p)*.5+s.c+r},easeInBack:function(e,t,n,r,o){return void 0===o&&(o=1.70158),n*(e/=r)*e*((o+1)*e-o)+t},easeOutBack:function(e,t,n,r,o){return void 0===o&&(o=1.70158),n*((e=e/r-1)*e*((o+1)*e+o)+1)+t},easeInOutBack:function(e,t,n,r,o){return void 0===o&&(o=1.70158),(e/=r/2)<1?n/2*(e*e*((1+(o*=1.525))*e-o))+t:n/2*((e-=2)*e*((1+(o*=1.525))*e+o)+2)+t},easeInBounce:n,easeOutBounce:r,easeInOutBounce:function(e,t,o,i){return e<i/2?.5*n(2*e,0,o,i)+t:.5*r(2*e-i,0,o,i)+.5*o+t}}}(),function(e){"use strict";var t=e.fabric||(e.fabric={}),n=t.util.object.extend,r=t.util.object.clone,o=t.util.toFixed,i=t.util.parseUnit,a=t.util.multiplyTransformMatrices,s={cx:"left",x:"left",r:"radius",cy:"top",y:"top",display:"visible",visibility:"visible",transform:"transformMatrix","fill-opacity":"fillOpacity","fill-rule":"fillRule","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","letter-spacing":"charSpacing","paint-order":"paintFirst","stroke-dasharray":"strokeDashArray","stroke-dashoffset":"strokeDashOffset","stroke-linecap":"strokeLineCap","stroke-linejoin":"strokeLineJoin","stroke-miterlimit":"strokeMiterLimit","stroke-opacity":"strokeOpacity","stroke-width":"strokeWidth","text-decoration":"textDecoration","text-anchor":"textAnchor",opacity:"opacity","clip-path":"clipPath","clip-rule":"clipRule","vector-effect":"strokeUniform","image-rendering":"imageSmoothing"},l={stroke:"strokeOpacity",fill:"fillOpacity"},c="font-size",u="clip-path";function d(e){return e in s?s[e]:e}function p(e,n,r,o){var s,l=Array.isArray(n);if("fill"!==e&&"stroke"!==e||"none"!==n){if("strokeUniform"===e)return"non-scaling-stroke"===n;if("strokeDashArray"===e)n="none"===n?null:n.replace(/,/g," ").split(/\s+/).map(parseFloat);else if("transformMatrix"===e)n=r&&r.transformMatrix?a(r.transformMatrix,t.parseTransformAttribute(n)):t.parseTransformAttribute(n);else if("visible"===e)n="none"!==n&&"hidden"!==n,r&&!1===r.visible&&(n=!1);else if("opacity"===e)n=parseFloat(n),r&&"undefined"!==typeof r.opacity&&(n*=r.opacity);else if("textAnchor"===e)n="start"===n?"left":"end"===n?"right":"center";else if("charSpacing"===e)s=i(n,o)/o*1e3;else if("paintFirst"===e){var c=n.indexOf("fill"),u=n.indexOf("stroke");n="fill";(c>-1&&u>-1&&u<c||-1===c&&u>-1)&&(n="stroke")}else{if("href"===e||"xlink:href"===e||"font"===e)return n;if("imageSmoothing"===e)return"optimizeQuality"===n;s=l?n.map(i):i(n,o)}}else n="";return!l&&isNaN(s)?n:s}function f(e){return new RegExp("^("+e.join("|")+")\\b","i")}function h(e,t){var n,r,o,i,a=[];for(o=0,i=t.length;o<i;o++)n=t[o],r=e.getElementsByTagName(n),a=a.concat(Array.prototype.slice.call(r));return a}function b(e,t){var n,r=!0;return(n=A(e,t.pop()))&&t.length&&(r=function(e,t){var n,r=!0;for(;e.parentNode&&1===e.parentNode.nodeType&&t.length;)r&&(n=t.pop()),r=A(e=e.parentNode,n);return 0===t.length}(e,t)),n&&r&&0===t.length}function A(e,t){var n,r,o=e.nodeName,i=e.getAttribute("class"),a=e.getAttribute("id");if(n=new RegExp("^"+o,"i"),t=t.replace(n,""),a&&t.length&&(n=new RegExp("#"+a+"(?![a-zA-Z\\-]+)","i"),t=t.replace(n,"")),i&&t.length)for(r=(i=i.split(" ")).length;r--;)n=new RegExp("\\."+i[r]+"(?![a-zA-Z\\-]+)","i"),t=t.replace(n,"");return 0===t.length}function m(e,t){var n;if(e.getElementById&&(n=e.getElementById(t)),n)return n;var r,o,i,a=e.getElementsByTagName("*");for(o=0,i=a.length;o<i;o++)if(t===(r=a[o]).getAttribute("id"))return r}t.svgValidTagNamesRegEx=f(["path","circle","polygon","polyline","ellipse","rect","line","image","text"]),t.svgViewBoxElementsRegEx=f(["symbol","image","marker","pattern","view","svg"]),t.svgInvalidAncestorsRegEx=f(["pattern","defs","symbol","metadata","clipPath","mask","desc"]),t.svgValidParentsRegEx=f(["symbol","g","a","svg","clipPath","defs"]),t.cssRules={},t.gradientDefs={},t.clipPaths={},t.parseTransformAttribute=function(){function e(e,n,r){e[r]=Math.tan(t.util.degreesToRadians(n[0]))}var n=t.iMatrix,r=t.reNum,o=t.commaWsp,i="(?:"+("(?:(matrix)\\s*\\(\\s*("+r+")"+o+"("+r+")"+o+"("+r+")"+o+"("+r+")"+o+"("+r+")"+o+"("+r+")\\s*\\))")+"|"+("(?:(translate)\\s*\\(\\s*("+r+")(?:"+o+"("+r+"))?\\s*\\))")+"|"+("(?:(scale)\\s*\\(\\s*("+r+")(?:"+o+"("+r+"))?\\s*\\))")+"|"+("(?:(rotate)\\s*\\(\\s*("+r+")(?:"+o+"("+r+")"+o+"("+r+"))?\\s*\\))")+"|"+("(?:(skewX)\\s*\\(\\s*("+r+")\\s*\\))")+"|"+("(?:(skewY)\\s*\\(\\s*("+r+")\\s*\\))")+")",a=new RegExp("^\\s*(?:"+("(?:"+i+"(?:"+o+"*"+i+")*)")+"?)\\s*$"),s=new RegExp(i,"g");return function(r){var o=n.concat(),l=[];if(!r||r&&!a.test(r))return o;r.replace(s,(function(r){var a=new RegExp(i).exec(r).filter((function(e){return!!e})),s=a[1],c=a.slice(2).map(parseFloat);switch(s){case"translate":!function(e,t){e[4]=t[0],2===t.length&&(e[5]=t[1])}(o,c);break;case"rotate":c[0]=t.util.degreesToRadians(c[0]),function(e,n){var r=t.util.cos(n[0]),o=t.util.sin(n[0]),i=0,a=0;3===n.length&&(i=n[1],a=n[2]),e[0]=r,e[1]=o,e[2]=-o,e[3]=r,e[4]=i-(r*i-o*a),e[5]=a-(o*i+r*a)}(o,c);break;case"scale":!function(e,t){var n=t[0],r=2===t.length?t[1]:t[0];e[0]=n,e[3]=r}(o,c);break;case"skewX":e(o,c,2);break;case"skewY":e(o,c,1);break;case"matrix":o=c}l.push(o.concat()),o=n.concat()}));for(var c=l[0];l.length>1;)l.shift(),c=t.util.multiplyTransformMatrices(c,l[0]);return c}}();var g=new RegExp("^\\s*("+t.reNum+"+)\\s*,?\\s*("+t.reNum+"+)\\s*,?\\s*("+t.reNum+"+)\\s*,?\\s*("+t.reNum+"+)\\s*$");function v(e){if(!t.svgViewBoxElementsRegEx.test(e.nodeName))return{};var n,r,o,a,s,l,c=e.getAttribute("viewBox"),u=1,d=1,p=e.getAttribute("width"),f=e.getAttribute("height"),h=e.getAttribute("x")||0,b=e.getAttribute("y")||0,A=e.getAttribute("preserveAspectRatio")||"",m=!c||!(c=c.match(g)),v=!p||!f||"100%"===p||"100%"===f,y=m&&v,M={},O="",_=0,z=0;if(M.width=0,M.height=0,M.toBeParsed=y,m&&(h||b)&&e.parentNode&&"#document"!==e.parentNode.nodeName&&(O=" translate("+i(h)+" "+i(b)+") ",s=(e.getAttribute("transform")||"")+O,e.setAttribute("transform",s),e.removeAttribute("x"),e.removeAttribute("y")),y)return M;if(m)return M.width=i(p),M.height=i(f),M;if(n=-parseFloat(c[1]),r=-parseFloat(c[2]),o=parseFloat(c[3]),a=parseFloat(c[4]),M.minX=n,M.minY=r,M.viewBoxWidth=o,M.viewBoxHeight=a,v?(M.width=o,M.height=a):(M.width=i(p),M.height=i(f),u=M.width/o,d=M.height/a),"none"!==(A=t.util.parsePreserveAspectRatioAttribute(A)).alignX&&("meet"===A.meetOrSlice&&(d=u=u>d?d:u),"slice"===A.meetOrSlice&&(d=u=u>d?u:d),_=M.width-o*u,z=M.height-a*u,"Mid"===A.alignX&&(_/=2),"Mid"===A.alignY&&(z/=2),"Min"===A.alignX&&(_=0),"Min"===A.alignY&&(z=0)),1===u&&1===d&&0===n&&0===r&&0===h&&0===b)return M;if((h||b)&&"#document"!==e.parentNode.nodeName&&(O=" translate("+i(h)+" "+i(b)+") "),s=O+" matrix("+u+" 0 0 "+d+" "+(n*u+_)+" "+(r*d+z)+") ","svg"===e.nodeName){for(l=e.ownerDocument.createElementNS(t.svgNS,"g");e.firstChild;)l.appendChild(e.firstChild);e.appendChild(l)}else(l=e).removeAttribute("x"),l.removeAttribute("y"),s=l.getAttribute("transform")+s;return l.setAttribute("transform",s),M}function y(e,t){var n="xlink:href",r=m(e,t.getAttribute(n).slice(1));if(r&&r.getAttribute(n)&&y(e,r),["gradientTransform","x1","x2","y1","y2","gradientUnits","cx","cy","r","fx","fy"].forEach((function(e){r&&!t.hasAttribute(e)&&r.hasAttribute(e)&&t.setAttribute(e,r.getAttribute(e))})),!t.children.length)for(var o=r.cloneNode(!0);o.firstChild;)t.appendChild(o.firstChild);t.removeAttribute(n)}t.parseSVGDocument=function(e,n,o,i){if(e){!function(e){for(var n=h(e,["use","svg:use"]),r=0;n.length&&r<n.length;){var o=n[r],i=o.getAttribute("xlink:href")||o.getAttribute("href");if(null===i)return;var a,s,l,c,u=i.slice(1),d=o.getAttribute("x")||0,p=o.getAttribute("y")||0,f=m(e,u).cloneNode(!0),b=(f.getAttribute("transform")||"")+" translate("+d+", "+p+")",A=n.length,g=t.svgNS;if(v(f),/^svg$/i.test(f.nodeName)){var y=f.ownerDocument.createElementNS(g,"g");for(s=0,c=(l=f.attributes).length;s<c;s++)a=l.item(s),y.setAttributeNS(g,a.nodeName,a.nodeValue);for(;f.firstChild;)y.appendChild(f.firstChild);f=y}for(s=0,c=(l=o.attributes).length;s<c;s++)"x"!==(a=l.item(s)).nodeName&&"y"!==a.nodeName&&"xlink:href"!==a.nodeName&&"href"!==a.nodeName&&("transform"===a.nodeName?b=a.nodeValue+" "+b:f.setAttribute(a.nodeName,a.nodeValue));f.setAttribute("transform",b),f.setAttribute("instantiated_by_use","1"),f.removeAttribute("id"),o.parentNode.replaceChild(f,o),n.length===A&&r++}}(e);var a,s,l=t.Object.__uid++,c=v(e),u=t.util.toArray(e.getElementsByTagName("*"));if(c.crossOrigin=i&&i.crossOrigin,c.svgUid=l,0===u.length&&t.isLikelyNode){var d=[];for(a=0,s=(u=e.selectNodes('//*[name(.)!="svg"]')).length;a<s;a++)d[a]=u[a];u=d}var p=u.filter((function(e){return v(e),t.svgValidTagNamesRegEx.test(e.nodeName.replace("svg:",""))&&!function(e,t){for(;e&&(e=e.parentNode);)if(e.nodeName&&t.test(e.nodeName.replace("svg:",""))&&!e.getAttribute("instantiated_by_use"))return!0;return!1}(e,t.svgInvalidAncestorsRegEx)}));if(!p||p&&!p.length)n&&n([],{});else{var f={};u.filter((function(e){return"clipPath"===e.nodeName.replace("svg:","")})).forEach((function(e){var n=e.getAttribute("id");f[n]=t.util.toArray(e.getElementsByTagName("*")).filter((function(e){return t.svgValidTagNamesRegEx.test(e.nodeName.replace("svg:",""))}))})),t.gradientDefs[l]=t.getGradientDefs(e),t.cssRules[l]=t.getCSSRules(e),t.clipPaths[l]=f,t.parseElements(p,(function(e,r){n&&(n(e,c,r,u),delete t.gradientDefs[l],delete t.cssRules[l],delete t.clipPaths[l])}),r(c),o,i)}}};var M=new RegExp("(normal|italic)?\\s*(normal|small-caps)?\\s*(normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900)?\\s*("+t.reNum+"(?:px|cm|mm|em|pt|pc|in)*)(?:\\/(normal|"+t.reNum+"))?\\s+(.*)");n(t,{parseFontDeclaration:function(e,t){var n=e.match(M);if(n){var r=n[1],o=n[3],a=n[4],s=n[5],l=n[6];r&&(t.fontStyle=r),o&&(t.fontWeight=isNaN(parseFloat(o))?o:parseFloat(o)),a&&(t.fontSize=i(a)),l&&(t.fontFamily=l),s&&(t.lineHeight="normal"===s?1:s)}},getGradientDefs:function(e){var t,n=h(e,["linearGradient","radialGradient","svg:linearGradient","svg:radialGradient"]),r=0,o={};for(r=n.length;r--;)(t=n[r]).getAttribute("xlink:href")&&y(e,t),o[t.getAttribute("id")]=t;return o},parseAttributes:function(e,r,a){if(e){var s,f,h,A={};"undefined"===typeof a&&(a=e.getAttribute("svgUid")),e.parentNode&&t.svgValidParentsRegEx.test(e.parentNode.nodeName)&&(A=t.parseAttributes(e.parentNode,r,a));var m=r.reduce((function(t,n){return(s=e.getAttribute(n))&&(t[n]=s),t}),{}),g=n(function(e,n){var r={};for(var o in t.cssRules[n])if(b(e,o.split(" ")))for(var i in t.cssRules[n][o])r[i]=t.cssRules[n][o][i];return r}(e,a),t.parseStyleAttribute(e));m=n(m,g),g[u]&&e.setAttribute(u,g[u]),f=h=A.fontSize||t.Text.DEFAULT_SVG_FONT_SIZE,m[c]&&(m[c]=f=i(m[c],h));var v,y,M={};for(var O in m)y=p(v=d(O),m[O],A,f),M[v]=y;M&&M.font&&t.parseFontDeclaration(M.font,M);var _=n(A,M);return t.svgValidParentsRegEx.test(e.nodeName)?_:function(e){for(var n in l)if("undefined"!==typeof e[l[n]]&&""!==e[n]){if("undefined"===typeof e[n]){if(!t.Object.prototype[n])continue;e[n]=t.Object.prototype[n]}if(0!==e[n].indexOf("url(")){var r=new t.Color(e[n]);e[n]=r.setAlpha(o(r.getAlpha()*e[l[n]],2)).toRgba()}}return e}(_)}},parseElements:function(e,n,r,o,i){new t.ElementsParser(e,n,r,o,i).parse()},parseStyleAttribute:function(e){var t={},n=e.getAttribute("style");return n?("string"===typeof n?function(e,t){var n,r;e.replace(/;\s*$/,"").split(";").forEach((function(e){var o=e.split(":");n=o[0].trim().toLowerCase(),r=o[1].trim(),t[n]=r}))}(n,t):function(e,t){var n,r;for(var o in e)"undefined"!==typeof e[o]&&(n=o.toLowerCase(),r=e[o],t[n]=r)}(n,t),t):t},parsePointsAttribute:function(e){if(!e)return null;var t,n,r=[];for(t=0,n=(e=(e=e.replace(/,/g," ").trim()).split(/\s+/)).length;t<n;t+=2)r.push({x:parseFloat(e[t]),y:parseFloat(e[t+1])});return r},getCSSRules:function(e){var n,r,o=e.getElementsByTagName("style"),i={};for(n=0,r=o.length;n<r;n++){var a=o[n].textContent;""!==(a=a.replace(/\/\*[\s\S]*?\*\//g,"")).trim()&&a.split("}").filter((function(e){return e.trim()})).forEach((function(e){var o=e.split("{"),a={},s=o[1].trim().split(";").filter((function(e){return e.trim()}));for(n=0,r=s.length;n<r;n++){var l=s[n].split(":"),c=l[0].trim(),u=l[1].trim();a[c]=u}(e=o[0].trim()).split(",").forEach((function(e){""!==(e=e.replace(/^svg/i,"").trim())&&(i[e]?t.util.object.extend(i[e],a):i[e]=t.util.object.clone(a))}))}))}return i},loadSVGFromURL:function(e,n,r,o){e=e.replace(/^\n\s*/,"").trim(),new t.util.request(e,{method:"get",onComplete:function(e){var i=e.responseXML;if(!i||!i.documentElement)return n&&n(null),!1;t.parseSVGDocument(i.documentElement,(function(e,t,r,o){n&&n(e,t,r,o)}),r,o)}})},loadSVGFromString:function(e,n,r,o){var i=(new t.window.DOMParser).parseFromString(e.trim(),"text/xml");t.parseSVGDocument(i.documentElement,(function(e,t,r,o){n(e,t,r,o)}),r,o)}})}(t),o.ElementsParser=function(e,t,n,r,o,i){this.elements=e,this.callback=t,this.options=n,this.reviver=r,this.svgUid=n&&n.svgUid||0,this.parsingOptions=o,this.regexUrl=/^url\(['"]?#([^'"]+)['"]?\)/g,this.doc=i},(r=o.ElementsParser.prototype).parse=function(){this.instances=new Array(this.elements.length),this.numElements=this.elements.length,this.createObjects()},r.createObjects=function(){var e=this;this.elements.forEach((function(t,n){t.setAttribute("svgUid",e.svgUid),e.createObject(t,n)}))},r.findTag=function(e){return o[o.util.string.capitalize(e.tagName.replace("svg:",""))]},r.createObject=function(e,t){var n=this.findTag(e);if(n&&n.fromElement)try{n.fromElement(e,this.createCallback(t,e),this.options)}catch(r){o.log(r)}else this.checkIfDone()},r.createCallback=function(e,t){var n=this;return function(r){var i;n.resolveGradient(r,t,"fill"),n.resolveGradient(r,t,"stroke"),r instanceof o.Image&&r._originalElement&&(i=r.parsePreserveAspectRatioAttribute(t)),r._removeTransformMatrix(i),n.resolveClipPath(r,t),n.reviver&&n.reviver(t,r),n.instances[e]=r,n.checkIfDone()}},r.extractPropertyDefinition=function(e,t,n){var r=e[t],i=this.regexUrl;if(i.test(r)){i.lastIndex=0;var a=i.exec(r)[1];return i.lastIndex=0,o[n][this.svgUid][a]}},r.resolveGradient=function(e,t,n){var r=this.extractPropertyDefinition(e,n,"gradientDefs");if(r){var i=t.getAttribute(n+"-opacity"),a=o.Gradient.fromElement(r,e,i,this.options);e.set(n,a)}},r.createClipPathCallback=function(e,t){return function(e){e._removeTransformMatrix(),e.fillRule=e.clipRule,t.push(e)}},r.resolveClipPath=function(e,t){var n,r,i,a,s=this.extractPropertyDefinition(e,"clipPath","clipPaths");if(s){i=[],r=o.util.invertTransform(e.calcTransformMatrix());for(var l=s[0].parentNode,c=t;c.parentNode&&c.getAttribute("clip-path")!==e.clipPath;)c=c.parentNode;c.parentNode.appendChild(l);for(var u=0;u<s.length;u++)n=s[u],this.findTag(n).fromElement(n,this.createClipPathCallback(e,i),this.options);s=1===i.length?i[0]:new o.Group(i),a=o.util.multiplyTransformMatrices(r,s.calcTransformMatrix()),s.clipPath&&this.resolveClipPath(s,c);var d=o.util.qrDecompose(a);s.flipX=!1,s.flipY=!1,s.set("scaleX",d.scaleX),s.set("scaleY",d.scaleY),s.angle=d.angle,s.skewX=d.skewX,s.skewY=0,s.setPositionByOrigin({x:d.translateX,y:d.translateY},"center","center"),e.clipPath=s}else delete e.clipPath},r.checkIfDone=function(){0===--this.numElements&&(this.instances=this.instances.filter((function(e){return null!=e})),this.callback(this.instances,this.elements))},function(e){"use strict";var t=e.fabric||(e.fabric={});function n(e,t){this.x=e,this.y=t}t.Point?t.warn("fabric.Point is already defined"):(t.Point=n,n.prototype={type:"point",constructor:n,add:function(e){return new n(this.x+e.x,this.y+e.y)},addEquals:function(e){return this.x+=e.x,this.y+=e.y,this},scalarAdd:function(e){return new n(this.x+e,this.y+e)},scalarAddEquals:function(e){return this.x+=e,this.y+=e,this},subtract:function(e){return new n(this.x-e.x,this.y-e.y)},subtractEquals:function(e){return this.x-=e.x,this.y-=e.y,this},scalarSubtract:function(e){return new n(this.x-e,this.y-e)},scalarSubtractEquals:function(e){return this.x-=e,this.y-=e,this},multiply:function(e){return new n(this.x*e,this.y*e)},multiplyEquals:function(e){return this.x*=e,this.y*=e,this},divide:function(e){return new n(this.x/e,this.y/e)},divideEquals:function(e){return this.x/=e,this.y/=e,this},eq:function(e){return this.x===e.x&&this.y===e.y},lt:function(e){return this.x<e.x&&this.y<e.y},lte:function(e){return this.x<=e.x&&this.y<=e.y},gt:function(e){return this.x>e.x&&this.y>e.y},gte:function(e){return this.x>=e.x&&this.y>=e.y},lerp:function(e,t){return"undefined"===typeof t&&(t=.5),t=Math.max(Math.min(1,t),0),new n(this.x+(e.x-this.x)*t,this.y+(e.y-this.y)*t)},distanceFrom:function(e){var t=this.x-e.x,n=this.y-e.y;return Math.sqrt(t*t+n*n)},midPointFrom:function(e){return this.lerp(e)},min:function(e){return new n(Math.min(this.x,e.x),Math.min(this.y,e.y))},max:function(e){return new n(Math.max(this.x,e.x),Math.max(this.y,e.y))},toString:function(){return this.x+","+this.y},setXY:function(e,t){return this.x=e,this.y=t,this},setX:function(e){return this.x=e,this},setY:function(e){return this.y=e,this},setFromPoint:function(e){return this.x=e.x,this.y=e.y,this},swap:function(e){var t=this.x,n=this.y;this.x=e.x,this.y=e.y,e.x=t,e.y=n},clone:function(){return new n(this.x,this.y)}})}(t),function(e){"use strict";var t=e.fabric||(e.fabric={});function n(e){this.status=e,this.points=[]}t.Intersection?t.warn("fabric.Intersection is already defined"):(t.Intersection=n,t.Intersection.prototype={constructor:n,appendPoint:function(e){return this.points.push(e),this},appendPoints:function(e){return this.points=this.points.concat(e),this}},t.Intersection.intersectLineLine=function(e,r,o,i){var a,s=(i.x-o.x)*(e.y-o.y)-(i.y-o.y)*(e.x-o.x),l=(r.x-e.x)*(e.y-o.y)-(r.y-e.y)*(e.x-o.x),c=(i.y-o.y)*(r.x-e.x)-(i.x-o.x)*(r.y-e.y);if(0!==c){var u=s/c,d=l/c;0<=u&&u<=1&&0<=d&&d<=1?(a=new n("Intersection")).appendPoint(new t.Point(e.x+u*(r.x-e.x),e.y+u*(r.y-e.y))):a=new n}else a=new n(0===s||0===l?"Coincident":"Parallel");return a},t.Intersection.intersectLinePolygon=function(e,t,r){var o,i,a,s,l=new n,c=r.length;for(s=0;s<c;s++)o=r[s],i=r[(s+1)%c],a=n.intersectLineLine(e,t,o,i),l.appendPoints(a.points);return l.points.length>0&&(l.status="Intersection"),l},t.Intersection.intersectPolygonPolygon=function(e,t){var r,o=new n,i=e.length;for(r=0;r<i;r++){var a=e[r],s=e[(r+1)%i],l=n.intersectLinePolygon(a,s,t);o.appendPoints(l.points)}return o.points.length>0&&(o.status="Intersection"),o},t.Intersection.intersectPolygonRectangle=function(e,r,o){var i=r.min(o),a=r.max(o),s=new t.Point(a.x,i.y),l=new t.Point(i.x,a.y),c=n.intersectLinePolygon(i,s,e),u=n.intersectLinePolygon(s,a,e),d=n.intersectLinePolygon(a,l,e),p=n.intersectLinePolygon(l,i,e),f=new n;return f.appendPoints(c.points),f.appendPoints(u.points),f.appendPoints(d.points),f.appendPoints(p.points),f.points.length>0&&(f.status="Intersection"),f})}(t),function(e){"use strict";var t=e.fabric||(e.fabric={});function n(e){e?this._tryParsingColor(e):this.setSource([0,0,0,1])}function r(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}t.Color?t.warn("fabric.Color is already defined."):(t.Color=n,t.Color.prototype={_tryParsingColor:function(e){var t;e in n.colorNameMap&&(e=n.colorNameMap[e]),"transparent"===e&&(t=[255,255,255,0]),t||(t=n.sourceFromHex(e)),t||(t=n.sourceFromRgb(e)),t||(t=n.sourceFromHsl(e)),t||(t=[0,0,0,1]),t&&this.setSource(t)},_rgbToHsl:function(e,n,r){e/=255,n/=255,r/=255;var o,i,a,s=t.util.array.max([e,n,r]),l=t.util.array.min([e,n,r]);if(a=(s+l)/2,s===l)o=i=0;else{var c=s-l;switch(i=a>.5?c/(2-s-l):c/(s+l),s){case e:o=(n-r)/c+(n<r?6:0);break;case n:o=(r-e)/c+2;break;case r:o=(e-n)/c+4}o/=6}return[Math.round(360*o),Math.round(100*i),Math.round(100*a)]},getSource:function(){return this._source},setSource:function(e){this._source=e},toRgb:function(){var e=this.getSource();return"rgb("+e[0]+","+e[1]+","+e[2]+")"},toRgba:function(){var e=this.getSource();return"rgba("+e[0]+","+e[1]+","+e[2]+","+e[3]+")"},toHsl:function(){var e=this.getSource(),t=this._rgbToHsl(e[0],e[1],e[2]);return"hsl("+t[0]+","+t[1]+"%,"+t[2]+"%)"},toHsla:function(){var e=this.getSource(),t=this._rgbToHsl(e[0],e[1],e[2]);return"hsla("+t[0]+","+t[1]+"%,"+t[2]+"%,"+e[3]+")"},toHex:function(){var e,t,n,r=this.getSource();return e=1===(e=r[0].toString(16)).length?"0"+e:e,t=1===(t=r[1].toString(16)).length?"0"+t:t,n=1===(n=r[2].toString(16)).length?"0"+n:n,e.toUpperCase()+t.toUpperCase()+n.toUpperCase()},toHexa:function(){var e,t=this.getSource();return e=1===(e=(e=Math.round(255*t[3])).toString(16)).length?"0"+e:e,this.toHex()+e.toUpperCase()},getAlpha:function(){return this.getSource()[3]},setAlpha:function(e){var t=this.getSource();return t[3]=e,this.setSource(t),this},toGrayscale:function(){var e=this.getSource(),t=parseInt((.3*e[0]+.59*e[1]+.11*e[2]).toFixed(0),10),n=e[3];return this.setSource([t,t,t,n]),this},toBlackWhite:function(e){var t=this.getSource(),n=(.3*t[0]+.59*t[1]+.11*t[2]).toFixed(0),r=t[3];return e=e||127,n=Number(n)<Number(e)?0:255,this.setSource([n,n,n,r]),this},overlayWith:function(e){e instanceof n||(e=new n(e));var t,r=[],o=this.getAlpha(),i=this.getSource(),a=e.getSource();for(t=0;t<3;t++)r.push(Math.round(.5*i[t]+.5*a[t]));return r[3]=o,this.setSource(r),this}},t.Color.reRGBa=/^rgba?\(\s*(\d{1,3}(?:\.\d+)?\%?)\s*,\s*(\d{1,3}(?:\.\d+)?\%?)\s*,\s*(\d{1,3}(?:\.\d+)?\%?)\s*(?:\s*,\s*((?:\d*\.?\d+)?)\s*)?\)$/i,t.Color.reHSLa=/^hsla?\(\s*(\d{1,3})\s*,\s*(\d{1,3}\%)\s*,\s*(\d{1,3}\%)\s*(?:\s*,\s*(\d+(?:\.\d+)?)\s*)?\)$/i,t.Color.reHex=/^#?([0-9a-f]{8}|[0-9a-f]{6}|[0-9a-f]{4}|[0-9a-f]{3})$/i,t.Color.colorNameMap={aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aqua:"#00FFFF",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",bisque:"#FFE4C4",black:"#000000",blanchedalmond:"#FFEBCD",blue:"#0000FF",blueviolet:"#8A2BE2",brown:"#A52A2A",burlywood:"#DEB887",cadetblue:"#5F9EA0",chartreuse:"#7FFF00",chocolate:"#D2691E",coral:"#FF7F50",cornflowerblue:"#6495ED",cornsilk:"#FFF8DC",crimson:"#DC143C",cyan:"#00FFFF",darkblue:"#00008B",darkcyan:"#008B8B",darkgoldenrod:"#B8860B",darkgray:"#A9A9A9",darkgrey:"#A9A9A9",darkgreen:"#006400",darkkhaki:"#BDB76B",darkmagenta:"#8B008B",darkolivegreen:"#556B2F",darkorange:"#FF8C00",darkorchid:"#9932CC",darkred:"#8B0000",darksalmon:"#E9967A",darkseagreen:"#8FBC8F",darkslateblue:"#483D8B",darkslategray:"#2F4F4F",darkslategrey:"#2F4F4F",darkturquoise:"#00CED1",darkviolet:"#9400D3",deeppink:"#FF1493",deepskyblue:"#00BFFF",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1E90FF",firebrick:"#B22222",floralwhite:"#FFFAF0",forestgreen:"#228B22",fuchsia:"#FF00FF",gainsboro:"#DCDCDC",ghostwhite:"#F8F8FF",gold:"#FFD700",goldenrod:"#DAA520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#ADFF2F",honeydew:"#F0FFF0",hotpink:"#FF69B4",indianred:"#CD5C5C",indigo:"#4B0082",ivory:"#FFFFF0",khaki:"#F0E68C",lavender:"#E6E6FA",lavenderblush:"#FFF0F5",lawngreen:"#7CFC00",lemonchiffon:"#FFFACD",lightblue:"#ADD8E6",lightcoral:"#F08080",lightcyan:"#E0FFFF",lightgoldenrodyellow:"#FAFAD2",lightgray:"#D3D3D3",lightgrey:"#D3D3D3",lightgreen:"#90EE90",lightpink:"#FFB6C1",lightsalmon:"#FFA07A",lightseagreen:"#20B2AA",lightskyblue:"#87CEFA",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#B0C4DE",lightyellow:"#FFFFE0",lime:"#00FF00",limegreen:"#32CD32",linen:"#FAF0E6",magenta:"#FF00FF",maroon:"#800000",mediumaquamarine:"#66CDAA",mediumblue:"#0000CD",mediumorchid:"#BA55D3",mediumpurple:"#9370DB",mediumseagreen:"#3CB371",mediumslateblue:"#7B68EE",mediumspringgreen:"#00FA9A",mediumturquoise:"#48D1CC",mediumvioletred:"#C71585",midnightblue:"#191970",mintcream:"#F5FFFA",mistyrose:"#FFE4E1",moccasin:"#FFE4B5",navajowhite:"#FFDEAD",navy:"#000080",oldlace:"#FDF5E6",olive:"#808000",olivedrab:"#6B8E23",orange:"#FFA500",orangered:"#FF4500",orchid:"#DA70D6",palegoldenrod:"#EEE8AA",palegreen:"#98FB98",paleturquoise:"#AFEEEE",palevioletred:"#DB7093",papayawhip:"#FFEFD5",peachpuff:"#FFDAB9",peru:"#CD853F",pink:"#FFC0CB",plum:"#DDA0DD",powderblue:"#B0E0E6",purple:"#800080",rebeccapurple:"#663399",red:"#FF0000",rosybrown:"#BC8F8F",royalblue:"#4169E1",saddlebrown:"#8B4513",salmon:"#FA8072",sandybrown:"#F4A460",seagreen:"#2E8B57",seashell:"#FFF5EE",sienna:"#A0522D",silver:"#C0C0C0",skyblue:"#87CEEB",slateblue:"#6A5ACD",slategray:"#708090",slategrey:"#708090",snow:"#FFFAFA",springgreen:"#00FF7F",steelblue:"#4682B4",tan:"#D2B48C",teal:"#008080",thistle:"#D8BFD8",tomato:"#FF6347",turquoise:"#40E0D0",violet:"#EE82EE",wheat:"#F5DEB3",white:"#FFFFFF",whitesmoke:"#F5F5F5",yellow:"#FFFF00",yellowgreen:"#9ACD32"},t.Color.fromRgb=function(e){return n.fromSource(n.sourceFromRgb(e))},t.Color.sourceFromRgb=function(e){var t=e.match(n.reRGBa);if(t){var r=parseInt(t[1],10)/(/%$/.test(t[1])?100:1)*(/%$/.test(t[1])?255:1),o=parseInt(t[2],10)/(/%$/.test(t[2])?100:1)*(/%$/.test(t[2])?255:1),i=parseInt(t[3],10)/(/%$/.test(t[3])?100:1)*(/%$/.test(t[3])?255:1);return[parseInt(r,10),parseInt(o,10),parseInt(i,10),t[4]?parseFloat(t[4]):1]}},t.Color.fromRgba=n.fromRgb,t.Color.fromHsl=function(e){return n.fromSource(n.sourceFromHsl(e))},t.Color.sourceFromHsl=function(e){var t=e.match(n.reHSLa);if(t){var o,i,a,s=(parseFloat(t[1])%360+360)%360/360,l=parseFloat(t[2])/(/%$/.test(t[2])?100:1),c=parseFloat(t[3])/(/%$/.test(t[3])?100:1);if(0===l)o=i=a=c;else{var u=c<=.5?c*(l+1):c+l-c*l,d=2*c-u;o=r(d,u,s+1/3),i=r(d,u,s),a=r(d,u,s-1/3)}return[Math.round(255*o),Math.round(255*i),Math.round(255*a),t[4]?parseFloat(t[4]):1]}},t.Color.fromHsla=n.fromHsl,t.Color.fromHex=function(e){return n.fromSource(n.sourceFromHex(e))},t.Color.sourceFromHex=function(e){if(e.match(n.reHex)){var t=e.slice(e.indexOf("#")+1),r=3===t.length||4===t.length,o=8===t.length||4===t.length,i=r?t.charAt(0)+t.charAt(0):t.substring(0,2),a=r?t.charAt(1)+t.charAt(1):t.substring(2,4),s=r?t.charAt(2)+t.charAt(2):t.substring(4,6),l=o?r?t.charAt(3)+t.charAt(3):t.substring(6,8):"FF";return[parseInt(i,16),parseInt(a,16),parseInt(s,16),parseFloat((parseInt(l,16)/255).toFixed(2))]}},t.Color.fromSource=function(e){var t=new n;return t.setSource(e),t})}(t),function(e){"use strict";var t=e.fabric||(e.fabric={}),n=["e","se","s","sw","w","nw","n","ne","e"],r=["ns","nesw","ew","nwse"],o={},i="left",a="top",s="right",l="bottom",c="center",u={top:l,bottom:a,left:s,right:i,center:c},d=t.util.radiansToDegrees,p=Math.sign||function(e){return(e>0)-(e<0)||+e};function f(e,t){var n=e.angle+d(Math.atan2(t.y,t.x))+360;return Math.round(n%360/45)}function h(e,n){var r=n.transform.target,o=r.canvas,i=t.util.object.clone(n);i.target=r,o&&o.fire("object:"+e,i),r.fire(e,n)}function b(e,t){var n=t.canvas,r=e[n.uniScaleKey];return n.uniformScaling&&!r||!n.uniformScaling&&r}function A(e){return e.originX===c&&e.originY===c}function m(e,t,n){var r=e.lockScalingX,o=e.lockScalingY;return!(!r||!o)||(!(t||!r&&!o||!n)||(!(!r||"x"!==t)||!(!o||"y"!==t)))}function g(e,t,n,r){return{e:e,transform:t,pointer:{x:n,y:r}}}function v(e){return function(t,n,r,o){var i=n.target,a=i.getCenterPoint(),s=i.translateToOriginPoint(a,n.originX,n.originY),l=e(t,n,r,o);return i.setPositionByOrigin(s,n.originX,n.originY),l}}function y(e,t){return function(n,r,o,i){var a=t(n,r,o,i);return a&&h(e,g(n,r,o,i)),a}}function M(e,n,r,o,i){var a=e.target,s=a.controls[e.corner],l=a.canvas.getZoom(),c=a.padding/l,u=a.toLocalPoint(new t.Point(o,i),n,r);return u.x>=c&&(u.x-=c),u.x<=-c&&(u.x+=c),u.y>=c&&(u.y-=c),u.y<=c&&(u.y+=c),u.x-=s.offsetX,u.y-=s.offsetY,u}function O(e){return e.flipX!==e.flipY}function _(e,t,n,r,o){if(0!==e[t]){var i=o/e._getTransformedDimensions()[r]*e[n];e.set(n,i)}}function z(e,t,n,r){var o,c=t.target,u=c._getTransformedDimensions(0,c.skewY),p=M(t,t.originX,t.originY,n,r),f=Math.abs(2*p.x)-u.x,h=c.skewX;f<2?o=0:(o=d(Math.atan2(f/c.scaleX,u.y/c.scaleY)),t.originX===i&&t.originY===l&&(o=-o),t.originX===s&&t.originY===a&&(o=-o),O(c)&&(o=-o));var b=h!==o;if(b){var A=c._getTransformedDimensions().y;c.set("skewX",o),_(c,"skewY","scaleY","y",A)}return b}function x(e,t,n,r){var o,c=t.target,u=c._getTransformedDimensions(c.skewX,0),p=M(t,t.originX,t.originY,n,r),f=Math.abs(2*p.y)-u.y,h=c.skewY;f<2?o=0:(o=d(Math.atan2(f/c.scaleY,u.x/c.scaleX)),t.originX===i&&t.originY===l&&(o=-o),t.originX===s&&t.originY===a&&(o=-o),O(c)&&(o=-o));var b=h!==o;if(b){var A=c._getTransformedDimensions().x;c.set("skewY",o),_(c,"skewX","scaleX","x",A)}return b}function w(e,t,n,r,o){o=o||{};var i,a,s,l,c,d,f=t.target,h=f.lockScalingX,g=f.lockScalingY,v=o.by,y=b(e,f),O=m(f,v,y),_=t.gestureScale;if(O)return!1;if(_)a=t.scaleX*_,s=t.scaleY*_;else{if(i=M(t,t.originX,t.originY,n,r),c="y"!==v?p(i.x):1,d="x"!==v?p(i.y):1,t.signX||(t.signX=c),t.signY||(t.signY=d),f.lockScalingFlip&&(t.signX!==c||t.signY!==d))return!1;if(l=f._getTransformedDimensions(),y&&!v){var z=Math.abs(i.x)+Math.abs(i.y),x=t.original,w=z/(Math.abs(l.x*x.scaleX/f.scaleX)+Math.abs(l.y*x.scaleY/f.scaleY));a=x.scaleX*w,s=x.scaleY*w}else a=Math.abs(i.x*f.scaleX/l.x),s=Math.abs(i.y*f.scaleY/l.y);A(t)&&(a*=2,s*=2),t.signX!==c&&"y"!==v&&(t.originX=u[t.originX],a*=-1,t.signX=c),t.signY!==d&&"x"!==v&&(t.originY=u[t.originY],s*=-1,t.signY=d)}var C=f.scaleX,S=f.scaleY;return v?("x"===v&&f.set("scaleX",a),"y"===v&&f.set("scaleY",s)):(!h&&f.set("scaleX",a),!g&&f.set("scaleY",s)),C!==f.scaleX||S!==f.scaleY}o.scaleCursorStyleHandler=function(e,t,r){var o=b(e,r),i="";if(0!==t.x&&0===t.y?i="x":0===t.x&&0!==t.y&&(i="y"),m(r,i,o))return"not-allowed";var a=f(r,t);return n[a]+"-resize"},o.skewCursorStyleHandler=function(e,t,n){var o="not-allowed";if(0!==t.x&&n.lockSkewingY)return o;if(0!==t.y&&n.lockSkewingX)return o;var i=f(n,t)%4;return r[i]+"-resize"},o.scaleSkewCursorStyleHandler=function(e,t,n){return e[n.canvas.altActionKey]?o.skewCursorStyleHandler(e,t,n):o.scaleCursorStyleHandler(e,t,n)},o.rotationWithSnapping=y("rotating",v((function(e,t,n,r){var o=t,i=o.target,a=i.translateToOriginPoint(i.getCenterPoint(),o.originX,o.originY);if(i.lockRotation)return!1;var s,l=Math.atan2(o.ey-a.y,o.ex-a.x),c=Math.atan2(r-a.y,n-a.x),u=d(c-l+o.theta);if(i.snapAngle>0){var p=i.snapAngle,f=i.snapThreshold||p,h=Math.ceil(u/p)*p,b=Math.floor(u/p)*p;Math.abs(u-b)<f?u=b:Math.abs(u-h)<f&&(u=h)}return u<0&&(u=360+u),u%=360,s=i.angle!==u,i.angle=u,s}))),o.scalingEqually=y("scaling",v((function(e,t,n,r){return w(e,t,n,r)}))),o.scalingX=y("scaling",v((function(e,t,n,r){return w(e,t,n,r,{by:"x"})}))),o.scalingY=y("scaling",v((function(e,t,n,r){return w(e,t,n,r,{by:"y"})}))),o.scalingYOrSkewingX=function(e,t,n,r){return e[t.target.canvas.altActionKey]?o.skewHandlerX(e,t,n,r):o.scalingY(e,t,n,r)},o.scalingXOrSkewingY=function(e,t,n,r){return e[t.target.canvas.altActionKey]?o.skewHandlerY(e,t,n,r):o.scalingX(e,t,n,r)},o.changeWidth=y("resizing",v((function(e,t,n,r){var o=t.target,i=M(t,t.originX,t.originY,n,r),a=o.strokeWidth/(o.strokeUniform?o.scaleX:1),s=A(t)?2:1,l=o.width,c=Math.abs(i.x*s/o.scaleX)-a;return o.set("width",Math.max(c,0)),l!==c}))),o.skewHandlerX=function(e,t,n,r){var o,l=t.target,u=l.skewX,d=t.originY;return!l.lockSkewingX&&(0===u?o=M(t,c,c,n,r).x>0?i:s:(u>0&&(o=d===a?i:s),u<0&&(o=d===a?s:i),O(l)&&(o=o===i?s:i)),t.originX=o,y("skewing",v(z))(e,t,n,r))},o.skewHandlerY=function(e,t,n,r){var o,s=t.target,u=s.skewY,d=t.originX;return!s.lockSkewingY&&(0===u?o=M(t,c,c,n,r).y>0?a:l:(u>0&&(o=d===i?a:l),u<0&&(o=d===i?l:a),O(s)&&(o=o===a?l:a)),t.originY=o,y("skewing",v(x))(e,t,n,r))},o.dragHandler=function(e,t,n,r){var o=t.target,i=n-t.offsetX,a=r-t.offsetY,s=!o.get("lockMovementX")&&o.left!==i,l=!o.get("lockMovementY")&&o.top!==a;return s&&o.set("left",i),l&&o.set("top",a),(s||l)&&h("moving",g(e,t,n,r)),s||l},o.scaleOrSkewActionName=function(e,t,n){var r=e[n.canvas.altActionKey];return 0===t.x?r?"skewX":"scaleY":0===t.y?r?"skewY":"scaleX":void 0},o.rotationStyleHandler=function(e,t,n){return n.lockRotation?"not-allowed":t.cursorStyle},o.fireEvent=h,o.wrapWithFixedAnchor=v,o.wrapWithFireEvent=y,o.getLocalPoint=M,t.controlsUtils=o}(t),function(e){"use strict";var t=e.fabric||(e.fabric={}),n=t.util.degreesToRadians,r=t.controlsUtils;r.renderCircleControl=function(e,t,n,r,o){r=r||{};var i,a=this.sizeX||r.cornerSize||o.cornerSize,s=this.sizeY||r.cornerSize||o.cornerSize,l="undefined"!==typeof r.transparentCorners?r.transparentCorners:o.transparentCorners,c=l?"stroke":"fill",u=!l&&(r.cornerStrokeColor||o.cornerStrokeColor),d=t,p=n;e.save(),e.fillStyle=r.cornerColor||o.cornerColor,e.strokeStyle=r.cornerStrokeColor||o.cornerStrokeColor,a>s?(i=a,e.scale(1,s/a),p=n*a/s):s>a?(i=s,e.scale(a/s,1),d=t*s/a):i=a,e.lineWidth=1,e.beginPath(),e.arc(d,p,i/2,0,2*Math.PI,!1),e[c](),u&&e.stroke(),e.restore()},r.renderSquareControl=function(e,t,r,o,i){o=o||{};var a=this.sizeX||o.cornerSize||i.cornerSize,s=this.sizeY||o.cornerSize||i.cornerSize,l="undefined"!==typeof o.transparentCorners?o.transparentCorners:i.transparentCorners,c=l?"stroke":"fill",u=!l&&(o.cornerStrokeColor||i.cornerStrokeColor),d=a/2,p=s/2;e.save(),e.fillStyle=o.cornerColor||i.cornerColor,e.strokeStyle=o.cornerStrokeColor||i.cornerStrokeColor,e.lineWidth=1,e.translate(t,r),e.rotate(n(i.angle)),e[c+"Rect"](-d,-p,a,s),u&&e.strokeRect(-d,-p,a,s),e.restore()}}(t),function(e){"use strict";var t=e.fabric||(e.fabric={});t.Control=function(e){for(var t in e)this[t]=e[t]},t.Control.prototype={visible:!0,actionName:"scale",angle:0,x:0,y:0,offsetX:0,offsetY:0,sizeX:null,sizeY:null,touchSizeX:null,touchSizeY:null,cursorStyle:"crosshair",withConnection:!1,actionHandler:function(){},mouseDownHandler:function(){},mouseUpHandler:function(){},getActionHandler:function(){return this.actionHandler},getMouseDownHandler:function(){return this.mouseDownHandler},getMouseUpHandler:function(){return this.mouseUpHandler},cursorStyleHandler:function(e,t){return t.cursorStyle},getActionName:function(e,t){return t.actionName},getVisibility:function(e,t){var n=e._controlsVisibility;return n&&"undefined"!==typeof n[t]?n[t]:this.visible},setVisibility:function(e){this.visible=e},positionHandler:function(e,n){return t.util.transformPoint({x:this.x*e.x+this.offsetX,y:this.y*e.y+this.offsetY},n)},calcCornerCoords:function(e,n,r,o,i){var a,s,l,c,u=i?this.touchSizeX:this.sizeX,d=i?this.touchSizeY:this.sizeY;if(u&&d&&u!==d){var p=Math.atan2(d,u),f=Math.sqrt(u*u+d*d)/2,h=p-t.util.degreesToRadians(e),b=Math.PI/2-p-t.util.degreesToRadians(e);a=f*t.util.cos(h),s=f*t.util.sin(h),l=f*t.util.cos(b),c=f*t.util.sin(b)}else{f=.7071067812*(u&&d?u:n);h=t.util.degreesToRadians(45-e);a=l=f*t.util.cos(h),s=c=f*t.util.sin(h)}return{tl:{x:r-c,y:o-l},tr:{x:r+a,y:o-s},bl:{x:r-a,y:o+s},br:{x:r+c,y:o+l}}},render:function(e,n,r,o,i){if("circle"===((o=o||{}).cornerStyle||i.cornerStyle))t.controlsUtils.renderCircleControl.call(this,e,n,r,o,i);else t.controlsUtils.renderSquareControl.call(this,e,n,r,o,i)}}}(t),function(){function e(e,t){var n,r,i,a,s=e.getAttribute("style"),l=e.getAttribute("offset")||0;if(l=(l=parseFloat(l)/(/%$/.test(l)?100:1))<0?0:l>1?1:l,s){var c=s.split(/\s*;\s*/);for(""===c[c.length-1]&&c.pop(),a=c.length;a--;){var u=c[a].split(/\s*:\s*/),d=u[0].trim(),p=u[1].trim();"stop-color"===d?n=p:"stop-opacity"===d&&(i=p)}}return n||(n=e.getAttribute("stop-color")||"rgb(0,0,0)"),i||(i=e.getAttribute("stop-opacity")),r=(n=new o.Color(n)).getAlpha(),i=isNaN(parseFloat(i))?1:parseFloat(i),i*=r*t,{offset:l,color:n.toRgb(),opacity:i}}var t=o.util.object.clone;o.Gradient=o.util.createClass({offsetX:0,offsetY:0,gradientTransform:null,gradientUnits:"pixels",type:"linear",initialize:function(e){e||(e={}),e.coords||(e.coords={});var t,n=this;Object.keys(e).forEach((function(t){n[t]=e[t]})),this.id?this.id+="_"+o.Object.__uid++:this.id=o.Object.__uid++,t={x1:e.coords.x1||0,y1:e.coords.y1||0,x2:e.coords.x2||0,y2:e.coords.y2||0},"radial"===this.type&&(t.r1=e.coords.r1||0,t.r2=e.coords.r2||0),this.coords=t,this.colorStops=e.colorStops.slice()},addColorStop:function(e){for(var t in e){var n=new o.Color(e[t]);this.colorStops.push({offset:parseFloat(t),color:n.toRgb(),opacity:n.getAlpha()})}return this},toObject:function(e){var t={type:this.type,coords:this.coords,colorStops:this.colorStops,offsetX:this.offsetX,offsetY:this.offsetY,gradientUnits:this.gradientUnits,gradientTransform:this.gradientTransform?this.gradientTransform.concat():this.gradientTransform};return o.util.populateWithProperties(this,t,e),t},toSVG:function(e,n){var r,i,a,s,l=t(this.coords,!0),c=(n=n||{},t(this.colorStops,!0)),u=l.r1>l.r2,d=this.gradientTransform?this.gradientTransform.concat():o.iMatrix.concat(),p=-this.offsetX,f=-this.offsetY,h=!!n.additionalTransform,b="pixels"===this.gradientUnits?"userSpaceOnUse":"objectBoundingBox";if(c.sort((function(e,t){return e.offset-t.offset})),"objectBoundingBox"===b?(p/=e.width,f/=e.height):(p+=e.width/2,f+=e.height/2),"path"===e.type&&"percentage"!==this.gradientUnits&&(p-=e.pathOffset.x,f-=e.pathOffset.y),d[4]-=p,d[5]-=f,s='id="SVGID_'+this.id+'" gradientUnits="'+b+'"',s+=' gradientTransform="'+(h?n.additionalTransform+" ":"")+o.util.matrixToSVG(d)+'" ',"linear"===this.type?a=["<linearGradient ",s,' x1="',l.x1,'" y1="',l.y1,'" x2="',l.x2,'" y2="',l.y2,'">\n']:"radial"===this.type&&(a=["<radialGradient ",s,' cx="',u?l.x1:l.x2,'" cy="',u?l.y1:l.y2,'" r="',u?l.r1:l.r2,'" fx="',u?l.x2:l.x1,'" fy="',u?l.y2:l.y1,'">\n']),"radial"===this.type){if(u)for((c=c.concat()).reverse(),r=0,i=c.length;r<i;r++)c[r].offset=1-c[r].offset;var A=Math.min(l.r1,l.r2);if(A>0){var m=A/Math.max(l.r1,l.r2);for(r=0,i=c.length;r<i;r++)c[r].offset+=m*(1-c[r].offset)}}for(r=0,i=c.length;r<i;r++){var g=c[r];a.push("<stop ",'offset="',100*g.offset+"%",'" style="stop-color:',g.color,"undefined"!==typeof g.opacity?";stop-opacity: "+g.opacity:";",'"/>\n')}return a.push("linear"===this.type?"</linearGradient>\n":"</radialGradient>\n"),a.join("")},toLive:function(e){var t,n,r,i=o.util.object.clone(this.coords);if(this.type){for("linear"===this.type?t=e.createLinearGradient(i.x1,i.y1,i.x2,i.y2):"radial"===this.type&&(t=e.createRadialGradient(i.x1,i.y1,i.r1,i.x2,i.y2,i.r2)),n=0,r=this.colorStops.length;n<r;n++){var a=this.colorStops[n].color,s=this.colorStops[n].opacity,l=this.colorStops[n].offset;"undefined"!==typeof s&&(a=new o.Color(a).setAlpha(s).toRgba()),t.addColorStop(l,a)}return t}}}),o.util.object.extend(o.Gradient,{fromElement:function(t,n,r,i){var a=parseFloat(r)/(/%$/.test(r)?100:1);a=a<0?0:a>1?1:a,isNaN(a)&&(a=1);var s,l,c,u,d=t.getElementsByTagName("stop"),p="userSpaceOnUse"===t.getAttribute("gradientUnits")?"pixels":"percentage",f=t.getAttribute("gradientTransform")||"",h=[],b=0,A=0;for("linearGradient"===t.nodeName||"LINEARGRADIENT"===t.nodeName?(s="linear",l=function(e){return{x1:e.getAttribute("x1")||0,y1:e.getAttribute("y1")||0,x2:e.getAttribute("x2")||"100%",y2:e.getAttribute("y2")||0}}(t)):(s="radial",l=function(e){return{x1:e.getAttribute("fx")||e.getAttribute("cx")||"50%",y1:e.getAttribute("fy")||e.getAttribute("cy")||"50%",r1:0,x2:e.getAttribute("cx")||"50%",y2:e.getAttribute("cy")||"50%",r2:e.getAttribute("r")||"50%"}}(t)),c=d.length;c--;)h.push(e(d[c],a));return u=o.parseTransformAttribute(f),function(e,t,n,r){var o,i;Object.keys(t).forEach((function(e){"Infinity"===(o=t[e])?i=1:"-Infinity"===o?i=0:(i=parseFloat(t[e],10),"string"===typeof o&&/^(\d+\.\d+)%|(\d+)%$/.test(o)&&(i*=.01,"pixels"===r&&("x1"!==e&&"x2"!==e&&"r2"!==e||(i*=n.viewBoxWidth||n.width),"y1"!==e&&"y2"!==e||(i*=n.viewBoxHeight||n.height)))),t[e]=i}))}(0,l,i,p),"pixels"===p&&(b=-n.left,A=-n.top),new o.Gradient({id:t.getAttribute("id"),type:s,coords:l,colorStops:h,gradientUnits:p,gradientTransform:u,offsetX:b,offsetY:A})}})}(),function(){"use strict";var e=o.util.toFixed;o.Pattern=o.util.createClass({repeat:"repeat",offsetX:0,offsetY:0,crossOrigin:"",patternTransform:null,initialize:function(e,t){if(e||(e={}),this.id=o.Object.__uid++,this.setOptions(e),!e.source||e.source&&"string"!==typeof e.source)t&&t(this);else{var n=this;this.source=o.util.createImage(),o.util.loadImage(e.source,(function(e,r){n.source=e,t&&t(n,r)}),null,this.crossOrigin)}},toObject:function(t){var n,r,i=o.Object.NUM_FRACTION_DIGITS;return"string"===typeof this.source.src?n=this.source.src:"object"===typeof this.source&&this.source.toDataURL&&(n=this.source.toDataURL()),r={type:"pattern",source:n,repeat:this.repeat,crossOrigin:this.crossOrigin,offsetX:e(this.offsetX,i),offsetY:e(this.offsetY,i),patternTransform:this.patternTransform?this.patternTransform.concat():null},o.util.populateWithProperties(this,r,t),r},toSVG:function(e){var t="function"===typeof this.source?this.source():this.source,n=t.width/e.width,r=t.height/e.height,o=this.offsetX/e.width,i=this.offsetY/e.height,a="";return"repeat-x"!==this.repeat&&"no-repeat"!==this.repeat||(r=1,i&&(r+=Math.abs(i))),"repeat-y"!==this.repeat&&"no-repeat"!==this.repeat||(n=1,o&&(n+=Math.abs(o))),t.src?a=t.src:t.toDataURL&&(a=t.toDataURL()),'<pattern id="SVGID_'+this.id+'" x="'+o+'" y="'+i+'" width="'+n+'" height="'+r+'">\n<image x="0" y="0" width="'+t.width+'" height="'+t.height+'" xlink:href="'+a+'"></image>\n</pattern>\n'},setOptions:function(e){for(var t in e)this[t]=e[t]},toLive:function(e){var t=this.source;if(!t)return"";if("undefined"!==typeof t.src){if(!t.complete)return"";if(0===t.naturalWidth||0===t.naturalHeight)return""}return e.createPattern(t,this.repeat)}})}(),function(e){"use strict";var t=e.fabric||(e.fabric={}),n=t.util.toFixed;t.Shadow?t.warn("fabric.Shadow is already defined."):(t.Shadow=t.util.createClass({color:"rgb(0,0,0)",blur:0,offsetX:0,offsetY:0,affectStroke:!1,includeDefaultValues:!0,nonScaling:!1,initialize:function(e){for(var n in"string"===typeof e&&(e=this._parseShadow(e)),e)this[n]=e[n];this.id=t.Object.__uid++},_parseShadow:function(e){var n=e.trim(),r=t.Shadow.reOffsetsAndBlur.exec(n)||[];return{color:(n.replace(t.Shadow.reOffsetsAndBlur,"")||"rgb(0,0,0)").trim(),offsetX:parseFloat(r[1],10)||0,offsetY:parseFloat(r[2],10)||0,blur:parseFloat(r[3],10)||0}},toString:function(){return[this.offsetX,this.offsetY,this.blur,this.color].join("px ")},toSVG:function(e){var r=40,o=40,i=t.Object.NUM_FRACTION_DIGITS,a=t.util.rotateVector({x:this.offsetX,y:this.offsetY},t.util.degreesToRadians(-e.angle)),s=new t.Color(this.color);return e.width&&e.height&&(r=100*n((Math.abs(a.x)+this.blur)/e.width,i)+20,o=100*n((Math.abs(a.y)+this.blur)/e.height,i)+20),e.flipX&&(a.x*=-1),e.flipY&&(a.y*=-1),'<filter id="SVGID_'+this.id+'" y="-'+o+'%" height="'+(100+2*o)+'%" x="-'+r+'%" width="'+(100+2*r)+'%" >\n\t<feGaussianBlur in="SourceAlpha" stdDeviation="'+n(this.blur?this.blur/2:0,i)+'"></feGaussianBlur>\n\t<feOffset dx="'+n(a.x,i)+'" dy="'+n(a.y,i)+'" result="oBlur" ></feOffset>\n\t<feFlood flood-color="'+s.toRgb()+'" flood-opacity="'+s.getAlpha()+'"/>\n\t<feComposite in2="oBlur" operator="in" />\n\t<feMerge>\n\t\t<feMergeNode></feMergeNode>\n\t\t<feMergeNode in="SourceGraphic"></feMergeNode>\n\t</feMerge>\n</filter>\n'},toObject:function(){if(this.includeDefaultValues)return{color:this.color,blur:this.blur,offsetX:this.offsetX,offsetY:this.offsetY,affectStroke:this.affectStroke,nonScaling:this.nonScaling};var e={},n=t.Shadow.prototype;return["color","blur","offsetX","offsetY","affectStroke","nonScaling"].forEach((function(t){this[t]!==n[t]&&(e[t]=this[t])}),this),e}}),t.Shadow.reOffsetsAndBlur=/(?:\s|^)(-?\d+(?:\.\d*)?(?:px)?(?:\s?|$))?(-?\d+(?:\.\d*)?(?:px)?(?:\s?|$))?(\d+(?:\.\d*)?(?:px)?)?(?:\s?|$)(?:$|\s)/)}(t),function(){"use strict";if(o.StaticCanvas)o.warn("fabric.StaticCanvas is already defined.");else{var e=o.util.object.extend,t=o.util.getElementOffset,n=o.util.removeFromArray,r=o.util.toFixed,i=o.util.transformPoint,a=o.util.invertTransform,s=o.util.getNodeCanvas,l=o.util.createCanvasElement,c=new Error("Could not initialize `canvas` element");o.StaticCanvas=o.util.createClass(o.CommonMethods,{initialize:function(e,t){t||(t={}),this.renderAndResetBound=this.renderAndReset.bind(this),this.requestRenderAllBound=this.requestRenderAll.bind(this),this._initStatic(e,t)},backgroundColor:"",backgroundImage:null,overlayColor:"",overlayImage:null,includeDefaultValues:!0,stateful:!1,renderOnAddRemove:!0,controlsAboveOverlay:!1,allowTouchScrolling:!1,imageSmoothingEnabled:!0,viewportTransform:o.iMatrix.concat(),backgroundVpt:!0,overlayVpt:!0,enableRetinaScaling:!0,vptCoords:{},skipOffscreen:!0,clipPath:void 0,_initStatic:function(e,t){var n=this.requestRenderAllBound;this._objects=[],this._createLowerCanvas(e),this._initOptions(t),this.interactive||this._initRetinaScaling(),t.overlayImage&&this.setOverlayImage(t.overlayImage,n),t.backgroundImage&&this.setBackgroundImage(t.backgroundImage,n),t.backgroundColor&&this.setBackgroundColor(t.backgroundColor,n),t.overlayColor&&this.setOverlayColor(t.overlayColor,n),this.calcOffset()},_isRetinaScaling:function(){return o.devicePixelRatio>1&&this.enableRetinaScaling},getRetinaScaling:function(){return this._isRetinaScaling()?Math.max(1,o.devicePixelRatio):1},_initRetinaScaling:function(){if(this._isRetinaScaling()){var e=o.devicePixelRatio;this.__initRetinaScaling(e,this.lowerCanvasEl,this.contextContainer),this.upperCanvasEl&&this.__initRetinaScaling(e,this.upperCanvasEl,this.contextTop)}},__initRetinaScaling:function(e,t,n){t.setAttribute("width",this.width*e),t.setAttribute("height",this.height*e),n.scale(e,e)},calcOffset:function(){return this._offset=t(this.lowerCanvasEl),this},setOverlayImage:function(e,t,n){return this.__setBgOverlayImage("overlayImage",e,t,n)},setBackgroundImage:function(e,t,n){return this.__setBgOverlayImage("backgroundImage",e,t,n)},setOverlayColor:function(e,t){return this.__setBgOverlayColor("overlayColor",e,t)},setBackgroundColor:function(e,t){return this.__setBgOverlayColor("backgroundColor",e,t)},__setBgOverlayImage:function(e,t,n,r){return"string"===typeof t?o.util.loadImage(t,(function(t,i){if(t){var a=new o.Image(t,r);this[e]=a,a.canvas=this}n&&n(t,i)}),this,r&&r.crossOrigin):(r&&t.setOptions(r),this[e]=t,t&&(t.canvas=this),n&&n(t,!1)),this},__setBgOverlayColor:function(e,t,n){return this[e]=t,this._initGradient(t,e),this._initPattern(t,e,n),this},_createCanvasElement:function(){var e=l();if(!e)throw c;if(e.style||(e.style={}),"undefined"===typeof e.getContext)throw c;return e},_initOptions:function(e){var t=this.lowerCanvasEl;this._setOptions(e),this.width=this.width||parseInt(t.width,10)||0,this.height=this.height||parseInt(t.height,10)||0,this.lowerCanvasEl.style&&(t.width=this.width,t.height=this.height,t.style.width=this.width+"px",t.style.height=this.height+"px",this.viewportTransform=this.viewportTransform.slice())},_createLowerCanvas:function(e){e&&e.getContext?this.lowerCanvasEl=e:this.lowerCanvasEl=o.util.getById(e)||this._createCanvasElement(),o.util.addClass(this.lowerCanvasEl,"lower-canvas"),this._originalCanvasStyle=this.lowerCanvasEl.style,this.interactive&&this._applyCanvasStyle(this.lowerCanvasEl),this.contextContainer=this.lowerCanvasEl.getContext("2d")},getWidth:function(){return this.width},getHeight:function(){return this.height},setWidth:function(e,t){return this.setDimensions({width:e},t)},setHeight:function(e,t){return this.setDimensions({height:e},t)},setDimensions:function(e,t){var n;for(var r in t=t||{},e)n=e[r],t.cssOnly||(this._setBackstoreDimension(r,e[r]),n+="px",this.hasLostContext=!0),t.backstoreOnly||this._setCssDimension(r,n);return this._isCurrentlyDrawing&&this.freeDrawingBrush&&this.freeDrawingBrush._setBrushStyles(this.contextTop),this._initRetinaScaling(),this.calcOffset(),t.cssOnly||this.requestRenderAll(),this},_setBackstoreDimension:function(e,t){return this.lowerCanvasEl[e]=t,this.upperCanvasEl&&(this.upperCanvasEl[e]=t),this.cacheCanvasEl&&(this.cacheCanvasEl[e]=t),this[e]=t,this},_setCssDimension:function(e,t){return this.lowerCanvasEl.style[e]=t,this.upperCanvasEl&&(this.upperCanvasEl.style[e]=t),this.wrapperEl&&(this.wrapperEl.style[e]=t),this},getZoom:function(){return this.viewportTransform[0]},setViewportTransform:function(e){var t,n,r,o=this._activeObject,i=this.backgroundImage,a=this.overlayImage;for(this.viewportTransform=e,n=0,r=this._objects.length;n<r;n++)(t=this._objects[n]).group||t.setCoords(!0);return o&&o.setCoords(),i&&i.setCoords(!0),a&&a.setCoords(!0),this.calcViewportBoundaries(),this.renderOnAddRemove&&this.requestRenderAll(),this},zoomToPoint:function(e,t){var n=e,r=this.viewportTransform.slice(0);e=i(e,a(this.viewportTransform)),r[0]=t,r[3]=t;var o=i(e,r);return r[4]+=n.x-o.x,r[5]+=n.y-o.y,this.setViewportTransform(r)},setZoom:function(e){return this.zoomToPoint(new o.Point(0,0),e),this},absolutePan:function(e){var t=this.viewportTransform.slice(0);return t[4]=-e.x,t[5]=-e.y,this.setViewportTransform(t)},relativePan:function(e){return this.absolutePan(new o.Point(-e.x-this.viewportTransform[4],-e.y-this.viewportTransform[5]))},getElement:function(){return this.lowerCanvasEl},_onObjectAdded:function(e){this.stateful&&e.setupState(),e._set("canvas",this),e.setCoords(),this.fire("object:added",{target:e}),e.fire("added")},_onObjectRemoved:function(e){this.fire("object:removed",{target:e}),e.fire("removed"),delete e.canvas},clearContext:function(e){return e.clearRect(0,0,this.width,this.height),this},getContext:function(){return this.contextContainer},clear:function(){return this.remove.apply(this,this.getObjects()),this.backgroundImage=null,this.overlayImage=null,this.backgroundColor="",this.overlayColor="",this._hasITextHandlers&&(this.off("mouse:up",this._mouseUpITextHandler),this._iTextInstances=null,this._hasITextHandlers=!1),this.clearContext(this.contextContainer),this.fire("canvas:cleared"),this.renderOnAddRemove&&this.requestRenderAll(),this},renderAll:function(){var e=this.contextContainer;return this.renderCanvas(e,this._objects),this},renderAndReset:function(){this.isRendering=0,this.renderAll()},requestRenderAll:function(){return this.isRendering||(this.isRendering=o.util.requestAnimFrame(this.renderAndResetBound)),this},calcViewportBoundaries:function(){var e={},t=this.width,n=this.height,r=a(this.viewportTransform);return e.tl=i({x:0,y:0},r),e.br=i({x:t,y:n},r),e.tr=new o.Point(e.br.x,e.tl.y),e.bl=new o.Point(e.tl.x,e.br.y),this.vptCoords=e,e},cancelRequestedRender:function(){this.isRendering&&(o.util.cancelAnimFrame(this.isRendering),this.isRendering=0)},renderCanvas:function(e,t){var n=this.viewportTransform,r=this.clipPath;this.cancelRequestedRender(),this.calcViewportBoundaries(),this.clearContext(e),o.util.setImageSmoothing(e,this.imageSmoothingEnabled),this.fire("before:render",{ctx:e}),this._renderBackground(e),e.save(),e.transform(n[0],n[1],n[2],n[3],n[4],n[5]),this._renderObjects(e,t),e.restore(),!this.controlsAboveOverlay&&this.interactive&&this.drawControls(e),r&&(r.canvas=this,r.shouldCache(),r._transformDone=!0,r.renderCache({forClipping:!0}),this.drawClipPathOnCanvas(e)),this._renderOverlay(e),this.controlsAboveOverlay&&this.interactive&&this.drawControls(e),this.fire("after:render",{ctx:e})},drawClipPathOnCanvas:function(e){var t=this.viewportTransform,n=this.clipPath;e.save(),e.transform(t[0],t[1],t[2],t[3],t[4],t[5]),e.globalCompositeOperation="destination-in",n.transform(e),e.scale(1/n.zoomX,1/n.zoomY),e.drawImage(n._cacheCanvas,-n.cacheTranslationX,-n.cacheTranslationY),e.restore()},_renderObjects:function(e,t){var n,r;for(n=0,r=t.length;n<r;++n)t[n]&&t[n].render(e)},_renderBackgroundOrOverlay:function(e,t){var n=this[t+"Color"],r=this[t+"Image"],o=this.viewportTransform,i=this[t+"Vpt"];if(n||r){if(n){e.save(),e.beginPath(),e.moveTo(0,0),e.lineTo(this.width,0),e.lineTo(this.width,this.height),e.lineTo(0,this.height),e.closePath(),e.fillStyle=n.toLive?n.toLive(e,this):n,i&&e.transform(o[0],o[1],o[2],o[3],o[4],o[5]),e.transform(1,0,0,1,n.offsetX||0,n.offsetY||0);var a=n.gradientTransform||n.patternTransform;a&&e.transform(a[0],a[1],a[2],a[3],a[4],a[5]),e.fill(),e.restore()}r&&(e.save(),i&&e.transform(o[0],o[1],o[2],o[3],o[4],o[5]),r.render(e),e.restore())}},_renderBackground:function(e){this._renderBackgroundOrOverlay(e,"background")},_renderOverlay:function(e){this._renderBackgroundOrOverlay(e,"overlay")},getCenter:function(){return{top:this.height/2,left:this.width/2}},getCenterPoint:function(){return new o.Point(this.width/2,this.height/2)},centerObjectH:function(e){return this._centerObject(e,new o.Point(this.getCenterPoint().x,e.getCenterPoint().y))},centerObjectV:function(e){return this._centerObject(e,new o.Point(e.getCenterPoint().x,this.getCenterPoint().y))},centerObject:function(e){var t=this.getCenterPoint();return this._centerObject(e,t)},viewportCenterObject:function(e){var t=this.getVpCenter();return this._centerObject(e,t)},viewportCenterObjectH:function(e){var t=this.getVpCenter();return this._centerObject(e,new o.Point(t.x,e.getCenterPoint().y)),this},viewportCenterObjectV:function(e){var t=this.getVpCenter();return this._centerObject(e,new o.Point(e.getCenterPoint().x,t.y))},getVpCenter:function(){var e=this.getCenterPoint(),t=a(this.viewportTransform);return i(e,t)},_centerObject:function(e,t){return e.setPositionByOrigin(t,"center","center"),e.setCoords(),this.renderOnAddRemove&&this.requestRenderAll(),this},toDatalessJSON:function(e){return this.toDatalessObject(e)},toObject:function(e){return this._toObjectMethod("toObject",e)},toDatalessObject:function(e){return this._toObjectMethod("toDatalessObject",e)},_toObjectMethod:function(t,n){var r=this.clipPath,i={version:o.version,objects:this._toObjects(t,n)};return r&&!r.excludeFromExport&&(i.clipPath=this._toObject(this.clipPath,t,n)),e(i,this.__serializeBgOverlay(t,n)),o.util.populateWithProperties(this,i,n),i},_toObjects:function(e,t){return this._objects.filter((function(e){return!e.excludeFromExport})).map((function(n){return this._toObject(n,e,t)}),this)},_toObject:function(e,t,n){var r;this.includeDefaultValues||(r=e.includeDefaultValues,e.includeDefaultValues=!1);var o=e[t](n);return this.includeDefaultValues||(e.includeDefaultValues=r),o},__serializeBgOverlay:function(e,t){var n={},r=this.backgroundImage,o=this.overlayImage,i=this.backgroundColor,a=this.overlayColor;return i&&i.toObject?i.excludeFromExport||(n.background=i.toObject(t)):i&&(n.background=i),a&&a.toObject?a.excludeFromExport||(n.overlay=a.toObject(t)):a&&(n.overlay=a),r&&!r.excludeFromExport&&(n.backgroundImage=this._toObject(r,e,t)),o&&!o.excludeFromExport&&(n.overlayImage=this._toObject(o,e,t)),n},svgViewportTransformation:!0,toSVG:function(e,t){e||(e={}),e.reviver=t;var n=[];return this._setSVGPreamble(n,e),this._setSVGHeader(n,e),this.clipPath&&n.push('<g clip-path="url(#'+this.clipPath.clipPathId+')" >\n'),this._setSVGBgOverlayColor(n,"background"),this._setSVGBgOverlayImage(n,"backgroundImage",t),this._setSVGObjects(n,t),this.clipPath&&n.push("</g>\n"),this._setSVGBgOverlayColor(n,"overlay"),this._setSVGBgOverlayImage(n,"overlayImage",t),n.push("</svg>"),n.join("")},_setSVGPreamble:function(e,t){t.suppressPreamble||e.push('<?xml version="1.0" encoding="',t.encoding||"UTF-8",'" standalone="no" ?>\n','<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" ','"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">\n')},_setSVGHeader:function(e,t){var n,i=t.width||this.width,a=t.height||this.height,s='viewBox="0 0 '+this.width+" "+this.height+'" ',l=o.Object.NUM_FRACTION_DIGITS;t.viewBox?s='viewBox="'+t.viewBox.x+" "+t.viewBox.y+" "+t.viewBox.width+" "+t.viewBox.height+'" ':this.svgViewportTransformation&&(n=this.viewportTransform,s='viewBox="'+r(-n[4]/n[0],l)+" "+r(-n[5]/n[3],l)+" "+r(this.width/n[0],l)+" "+r(this.height/n[3],l)+'" '),e.push("<svg ",'xmlns="http://www.w3.org/2000/svg" ','xmlns:xlink="http://www.w3.org/1999/xlink" ','version="1.1" ','width="',i,'" ','height="',a,'" ',s,'xml:space="preserve">\n',"<desc>Created with Fabric.js ",o.version,"</desc>\n","<defs>\n",this.createSVGFontFacesMarkup(),this.createSVGRefElementsMarkup(),this.createSVGClipPathMarkup(t),"</defs>\n")},createSVGClipPathMarkup:function(e){var t=this.clipPath;return t?(t.clipPathId="CLIPPATH_"+o.Object.__uid++,'<clipPath id="'+t.clipPathId+'" >\n'+this.clipPath.toClipPathSVG(e.reviver)+"</clipPath>\n"):""},createSVGRefElementsMarkup:function(){var e=this;return["background","overlay"].map((function(t){var n=e[t+"Color"];if(n&&n.toLive){var r=e[t+"Vpt"],i=e.viewportTransform,a={width:e.width/(r?i[0]:1),height:e.height/(r?i[3]:1)};return n.toSVG(a,{additionalTransform:r?o.util.matrixToSVG(i):""})}})).join("")},createSVGFontFacesMarkup:function(){var e,t,n,r,i,a,s,l,c="",u={},d=o.fontPaths,p=[];for(this._objects.forEach((function e(t){p.push(t),t._objects&&t._objects.forEach(e)})),s=0,l=p.length;s<l;s++)if(t=(e=p[s]).fontFamily,-1!==e.type.indexOf("text")&&!u[t]&&d[t]&&(u[t]=!0,e.styles))for(i in n=e.styles)for(a in r=n[i])!u[t=r[a].fontFamily]&&d[t]&&(u[t]=!0);for(var f in u)c+=["\t\t@font-face {\n","\t\t\tfont-family: '",f,"';\n","\t\t\tsrc: url('",d[f],"');\n","\t\t}\n"].join("");return c&&(c=['\t<style type="text/css">',"<![CDATA[\n",c,"]]>","</style>\n"].join("")),c},_setSVGObjects:function(e,t){var n,r,o,i=this._objects;for(r=0,o=i.length;r<o;r++)(n=i[r]).excludeFromExport||this._setSVGObject(e,n,t)},_setSVGObject:function(e,t,n){e.push(t.toSVG(n))},_setSVGBgOverlayImage:function(e,t,n){this[t]&&!this[t].excludeFromExport&&this[t].toSVG&&e.push(this[t].toSVG(n))},_setSVGBgOverlayColor:function(e,t){var n=this[t+"Color"],r=this.viewportTransform,i=this.width,a=this.height;if(n)if(n.toLive){var s=n.repeat,l=o.util.invertTransform(r),c=this[t+"Vpt"]?o.util.matrixToSVG(l):"";e.push('<rect transform="'+c+" translate(",i/2,",",a/2,')"',' x="',n.offsetX-i/2,'" y="',n.offsetY-a/2,'" ','width="',"repeat-y"===s||"no-repeat"===s?n.source.width:i,'" height="',"repeat-x"===s||"no-repeat"===s?n.source.height:a,'" fill="url(#SVGID_'+n.id+')"',"></rect>\n")}else e.push('<rect x="0" y="0" width="100%" height="100%" ','fill="',n,'"',"></rect>\n")},sendToBack:function(e){if(!e)return this;var t,r,o,i=this._activeObject;if(e===i&&"activeSelection"===e.type)for(t=(o=i._objects).length;t--;)r=o[t],n(this._objects,r),this._objects.unshift(r);else n(this._objects,e),this._objects.unshift(e);return this.renderOnAddRemove&&this.requestRenderAll(),this},bringToFront:function(e){if(!e)return this;var t,r,o,i=this._activeObject;if(e===i&&"activeSelection"===e.type)for(o=i._objects,t=0;t<o.length;t++)r=o[t],n(this._objects,r),this._objects.push(r);else n(this._objects,e),this._objects.push(e);return this.renderOnAddRemove&&this.requestRenderAll(),this},sendBackwards:function(e,t){if(!e)return this;var r,o,i,a,s,l=this._activeObject,c=0;if(e===l&&"activeSelection"===e.type)for(s=l._objects,r=0;r<s.length;r++)o=s[r],(i=this._objects.indexOf(o))>0+c&&(a=i-1,n(this._objects,o),this._objects.splice(a,0,o)),c++;else 0!==(i=this._objects.indexOf(e))&&(a=this._findNewLowerIndex(e,i,t),n(this._objects,e),this._objects.splice(a,0,e));return this.renderOnAddRemove&&this.requestRenderAll(),this},_findNewLowerIndex:function(e,t,n){var r,o;if(n)for(r=t,o=t-1;o>=0;--o){if(e.intersectsWithObject(this._objects[o])||e.isContainedWithinObject(this._objects[o])||this._objects[o].isContainedWithinObject(e)){r=o;break}}else r=t-1;return r},bringForward:function(e,t){if(!e)return this;var r,o,i,a,s,l=this._activeObject,c=0;if(e===l&&"activeSelection"===e.type)for(r=(s=l._objects).length;r--;)o=s[r],(i=this._objects.indexOf(o))<this._objects.length-1-c&&(a=i+1,n(this._objects,o),this._objects.splice(a,0,o)),c++;else(i=this._objects.indexOf(e))!==this._objects.length-1&&(a=this._findNewUpperIndex(e,i,t),n(this._objects,e),this._objects.splice(a,0,e));return this.renderOnAddRemove&&this.requestRenderAll(),this},_findNewUpperIndex:function(e,t,n){var r,o,i;if(n)for(r=t,o=t+1,i=this._objects.length;o<i;++o){if(e.intersectsWithObject(this._objects[o])||e.isContainedWithinObject(this._objects[o])||this._objects[o].isContainedWithinObject(e)){r=o;break}}else r=t+1;return r},moveTo:function(e,t){return n(this._objects,e),this._objects.splice(t,0,e),this.renderOnAddRemove&&this.requestRenderAll()},dispose:function(){return this.isRendering&&(o.util.cancelAnimFrame(this.isRendering),this.isRendering=0),this.forEachObject((function(e){e.dispose&&e.dispose()})),this._objects=[],this.backgroundImage&&this.backgroundImage.dispose&&this.backgroundImage.dispose(),this.backgroundImage=null,this.overlayImage&&this.overlayImage.dispose&&this.overlayImage.dispose(),this.overlayImage=null,this._iTextInstances=null,this.contextContainer=null,this.lowerCanvasEl.classList.remove("lower-canvas"),o.util.setStyle(this.lowerCanvasEl,this._originalCanvasStyle),delete this._originalCanvasStyle,this.lowerCanvasEl.setAttribute("width",this.width),this.lowerCanvasEl.setAttribute("height",this.height),o.util.cleanUpJsdomNode(this.lowerCanvasEl),this.lowerCanvasEl=void 0,this},toString:function(){return"#<fabric.Canvas ("+this.complexity()+"): { objects: "+this._objects.length+" }>"}}),e(o.StaticCanvas.prototype,o.Observable),e(o.StaticCanvas.prototype,o.Collection),e(o.StaticCanvas.prototype,o.DataURLExporter),e(o.StaticCanvas,{EMPTY_JSON:'{"objects": [], "background": "white"}',supports:function(e){var t=l();if(!t||!t.getContext)return null;var n=t.getContext("2d");return n&&"setLineDash"===e?"undefined"!==typeof n.setLineDash:null}}),o.StaticCanvas.prototype.toJSON=o.StaticCanvas.prototype.toObject,o.isLikelyNode&&(o.StaticCanvas.prototype.createPNGStream=function(){var e=s(this.lowerCanvasEl);return e&&e.createPNGStream()},o.StaticCanvas.prototype.createJPEGStream=function(e){var t=s(this.lowerCanvasEl);return t&&t.createJPEGStream(e)})}}(),o.BaseBrush=o.util.createClass({color:"rgb(0, 0, 0)",width:1,shadow:null,strokeLineCap:"round",strokeLineJoin:"round",strokeMiterLimit:10,strokeDashArray:null,limitedToCanvasSize:!1,_setBrushStyles:function(e){e.strokeStyle=this.color,e.lineWidth=this.width,e.lineCap=this.strokeLineCap,e.miterLimit=this.strokeMiterLimit,e.lineJoin=this.strokeLineJoin,e.setLineDash(this.strokeDashArray||[])},_saveAndTransform:function(e){var t=this.canvas.viewportTransform;e.save(),e.transform(t[0],t[1],t[2],t[3],t[4],t[5])},_setShadow:function(){if(this.shadow){var e=this.canvas,t=this.shadow,n=e.contextTop,r=e.getZoom();e&&e._isRetinaScaling()&&(r*=o.devicePixelRatio),n.shadowColor=t.color,n.shadowBlur=t.blur*r,n.shadowOffsetX=t.offsetX*r,n.shadowOffsetY=t.offsetY*r}},needsFullRender:function(){return new o.Color(this.color).getAlpha()<1||!!this.shadow},_resetShadow:function(){var e=this.canvas.contextTop;e.shadowColor="",e.shadowBlur=e.shadowOffsetX=e.shadowOffsetY=0},_isOutSideCanvas:function(e){return e.x<0||e.x>this.canvas.getWidth()||e.y<0||e.y>this.canvas.getHeight()}}),o.PencilBrush=o.util.createClass(o.BaseBrush,{decimate:.4,drawStraightLine:!1,straightLineKey:"shiftKey",initialize:function(e){this.canvas=e,this._points=[]},needsFullRender:function(){return this.callSuper("needsFullRender")||this._hasStraightLine},_drawSegment:function(e,t,n){var r=t.midPointFrom(n);return e.quadraticCurveTo(t.x,t.y,r.x,r.y),r},onMouseDown:function(e,t){this.canvas._isMainEvent(t.e)&&(this.drawStraightLine=t.e[this.straightLineKey],this._prepareForDrawing(e),this._captureDrawingPath(e),this._render())},onMouseMove:function(e,t){if(this.canvas._isMainEvent(t.e)&&(this.drawStraightLine=t.e[this.straightLineKey],(!0!==this.limitedToCanvasSize||!this._isOutSideCanvas(e))&&this._captureDrawingPath(e)&&this._points.length>1))if(this.needsFullRender())this.canvas.clearContext(this.canvas.contextTop),this._render();else{var n=this._points,r=n.length,o=this.canvas.contextTop;this._saveAndTransform(o),this.oldEnd&&(o.beginPath(),o.moveTo(this.oldEnd.x,this.oldEnd.y)),this.oldEnd=this._drawSegment(o,n[r-2],n[r-1],!0),o.stroke(),o.restore()}},onMouseUp:function(e){return!this.canvas._isMainEvent(e.e)||(this.drawStraightLine=!1,this.oldEnd=void 0,this._finalizeAndAddPath(),!1)},_prepareForDrawing:function(e){var t=new o.Point(e.x,e.y);this._reset(),this._addPoint(t),this.canvas.contextTop.moveTo(t.x,t.y)},_addPoint:function(e){return!(this._points.length>1&&e.eq(this._points[this._points.length-1]))&&(this.drawStraightLine&&this._points.length>1&&(this._hasStraightLine=!0,this._points.pop()),this._points.push(e),!0)},_reset:function(){this._points=[],this._setBrushStyles(this.canvas.contextTop),this._setShadow(),this._hasStraightLine=!1},_captureDrawingPath:function(e){var t=new o.Point(e.x,e.y);return this._addPoint(t)},_render:function(e){var t,n,r=this._points[0],i=this._points[1];if(e=e||this.canvas.contextTop,this._saveAndTransform(e),e.beginPath(),2===this._points.length&&r.x===i.x&&r.y===i.y){var a=this.width/1e3;r=new o.Point(r.x,r.y),i=new o.Point(i.x,i.y),r.x-=a,i.x+=a}for(e.moveTo(r.x,r.y),t=1,n=this._points.length;t<n;t++)this._drawSegment(e,r,i),r=this._points[t],i=this._points[t+1];e.lineTo(r.x,r.y),e.stroke(),e.restore()},convertPointsToSVGPath:function(e){var t=this.width/1e3;return o.util.getSmoothPathFromPoints(e,t)},_isEmptySVGPath:function(e){return"M 0 0 Q 0 0 0 0 L 0 0"===o.util.joinPath(e)},createPath:function(e){var t=new o.Path(e,{fill:null,stroke:this.color,strokeWidth:this.width,strokeLineCap:this.strokeLineCap,strokeMiterLimit:this.strokeMiterLimit,strokeLineJoin:this.strokeLineJoin,strokeDashArray:this.strokeDashArray});return this.shadow&&(this.shadow.affectStroke=!0,t.shadow=new o.Shadow(this.shadow)),t},decimatePoints:function(e,t){if(e.length<=2)return e;var n,r=this.canvas.getZoom(),o=Math.pow(t/r,2),i=e.length-1,a=e[0],s=[a];for(n=1;n<i-1;n++)Math.pow(a.x-e[n].x,2)+Math.pow(a.y-e[n].y,2)>=o&&(a=e[n],s.push(a));return s.push(e[i]),s},_finalizeAndAddPath:function(){this.canvas.contextTop.closePath(),this.decimate&&(this._points=this.decimatePoints(this._points,this.decimate));var e=this.convertPointsToSVGPath(this._points);if(this._isEmptySVGPath(e))this.canvas.requestRenderAll();else{var t=this.createPath(e);this.canvas.clearContext(this.canvas.contextTop),this.canvas.fire("before:path:created",{path:t}),this.canvas.add(t),this.canvas.requestRenderAll(),t.setCoords(),this._resetShadow(),this.canvas.fire("path:created",{path:t})}}}),o.CircleBrush=o.util.createClass(o.BaseBrush,{width:10,initialize:function(e){this.canvas=e,this.points=[]},drawDot:function(e){var t=this.addPoint(e),n=this.canvas.contextTop;this._saveAndTransform(n),this.dot(n,t),n.restore()},dot:function(e,t){e.fillStyle=t.fill,e.beginPath(),e.arc(t.x,t.y,t.radius,0,2*Math.PI,!1),e.closePath(),e.fill()},onMouseDown:function(e){this.points.length=0,this.canvas.clearContext(this.canvas.contextTop),this._setShadow(),this.drawDot(e)},_render:function(){var e,t,n=this.canvas.contextTop,r=this.points;for(this._saveAndTransform(n),e=0,t=r.length;e<t;e++)this.dot(n,r[e]);n.restore()},onMouseMove:function(e){!0===this.limitedToCanvasSize&&this._isOutSideCanvas(e)||(this.needsFullRender()?(this.canvas.clearContext(this.canvas.contextTop),this.addPoint(e),this._render()):this.drawDot(e))},onMouseUp:function(){var e,t,n=this.canvas.renderOnAddRemove;this.canvas.renderOnAddRemove=!1;var r=[];for(e=0,t=this.points.length;e<t;e++){var i=this.points[e],a=new o.Circle({radius:i.radius,left:i.x,top:i.y,originX:"center",originY:"center",fill:i.fill});this.shadow&&(a.shadow=new o.Shadow(this.shadow)),r.push(a)}var s=new o.Group(r);s.canvas=this.canvas,this.canvas.fire("before:path:created",{path:s}),this.canvas.add(s),this.canvas.fire("path:created",{path:s}),this.canvas.clearContext(this.canvas.contextTop),this._resetShadow(),this.canvas.renderOnAddRemove=n,this.canvas.requestRenderAll()},addPoint:function(e){var t=new o.Point(e.x,e.y),n=o.util.getRandomInt(Math.max(0,this.width-20),this.width+20)/2,r=new o.Color(this.color).setAlpha(o.util.getRandomInt(0,100)/100).toRgba();return t.radius=n,t.fill=r,this.points.push(t),t}}),o.SprayBrush=o.util.createClass(o.BaseBrush,{width:10,density:20,dotWidth:1,dotWidthVariance:1,randomOpacity:!1,optimizeOverlapping:!0,initialize:function(e){this.canvas=e,this.sprayChunks=[]},onMouseDown:function(e){this.sprayChunks.length=0,this.canvas.clearContext(this.canvas.contextTop),this._setShadow(),this.addSprayChunk(e),this.render(this.sprayChunkPoints)},onMouseMove:function(e){!0===this.limitedToCanvasSize&&this._isOutSideCanvas(e)||(this.addSprayChunk(e),this.render(this.sprayChunkPoints))},onMouseUp:function(){var e=this.canvas.renderOnAddRemove;this.canvas.renderOnAddRemove=!1;for(var t=[],n=0,r=this.sprayChunks.length;n<r;n++)for(var i=this.sprayChunks[n],a=0,s=i.length;a<s;a++){var l=new o.Rect({width:i[a].width,height:i[a].width,left:i[a].x+1,top:i[a].y+1,originX:"center",originY:"center",fill:this.color});t.push(l)}this.optimizeOverlapping&&(t=this._getOptimizedRects(t));var c=new o.Group(t);this.shadow&&c.set("shadow",new o.Shadow(this.shadow)),this.canvas.fire("before:path:created",{path:c}),this.canvas.add(c),this.canvas.fire("path:created",{path:c}),this.canvas.clearContext(this.canvas.contextTop),this._resetShadow(),this.canvas.renderOnAddRemove=e,this.canvas.requestRenderAll()},_getOptimizedRects:function(e){var t,n,r,o={};for(n=0,r=e.length;n<r;n++)o[t=e[n].left+""+e[n].top]||(o[t]=e[n]);var i=[];for(t in o)i.push(o[t]);return i},render:function(e){var t,n,r=this.canvas.contextTop;for(r.fillStyle=this.color,this._saveAndTransform(r),t=0,n=e.length;t<n;t++){var o=e[t];"undefined"!==typeof o.opacity&&(r.globalAlpha=o.opacity),r.fillRect(o.x,o.y,o.width,o.width)}r.restore()},_render:function(){var e,t,n=this.canvas.contextTop;for(n.fillStyle=this.color,this._saveAndTransform(n),e=0,t=this.sprayChunks.length;e<t;e++)this.render(this.sprayChunks[e]);n.restore()},addSprayChunk:function(e){this.sprayChunkPoints=[];var t,n,r,i,a=this.width/2;for(i=0;i<this.density;i++){t=o.util.getRandomInt(e.x-a,e.x+a),n=o.util.getRandomInt(e.y-a,e.y+a),r=this.dotWidthVariance?o.util.getRandomInt(Math.max(1,this.dotWidth-this.dotWidthVariance),this.dotWidth+this.dotWidthVariance):this.dotWidth;var s=new o.Point(t,n);s.width=r,this.randomOpacity&&(s.opacity=o.util.getRandomInt(0,100)/100),this.sprayChunkPoints.push(s)}this.sprayChunks.push(this.sprayChunkPoints)}}),o.PatternBrush=o.util.createClass(o.PencilBrush,{getPatternSrc:function(){var e=o.util.createCanvasElement(),t=e.getContext("2d");return e.width=e.height=25,t.fillStyle=this.color,t.beginPath(),t.arc(10,10,10,0,2*Math.PI,!1),t.closePath(),t.fill(),e},getPatternSrcFunction:function(){return String(this.getPatternSrc).replace("this.color",'"'+this.color+'"')},getPattern:function(e){return e.createPattern(this.source||this.getPatternSrc(),"repeat")},_setBrushStyles:function(e){this.callSuper("_setBrushStyles",e),e.strokeStyle=this.getPattern(e)},createPath:function(e){var t=this.callSuper("createPath",e),n=t._getLeftTopCoords().scalarAdd(t.strokeWidth/2);return t.stroke=new o.Pattern({source:this.source||this.getPatternSrcFunction(),offsetX:-n.x,offsetY:-n.y}),t}}),function(){var e=o.util.getPointer,t=o.util.degreesToRadians,n=o.util.isTouchEvent;for(var r in o.Canvas=o.util.createClass(o.StaticCanvas,{initialize:function(e,t){t||(t={}),this.renderAndResetBound=this.renderAndReset.bind(this),this.requestRenderAllBound=this.requestRenderAll.bind(this),this._initStatic(e,t),this._initInteractive(),this._createCacheCanvas()},uniformScaling:!0,uniScaleKey:"shiftKey",centeredScaling:!1,centeredRotation:!1,centeredKey:"altKey",altActionKey:"shiftKey",interactive:!0,selection:!0,selectionKey:"shiftKey",altSelectionKey:null,selectionColor:"rgba(100, 100, 255, 0.3)",selectionDashArray:[],selectionBorderColor:"rgba(255, 255, 255, 0.3)",selectionLineWidth:1,selectionFullyContained:!1,hoverCursor:"move",moveCursor:"move",defaultCursor:"default",freeDrawingCursor:"crosshair",notAllowedCursor:"not-allowed",containerClass:"canvas-container",perPixelTargetFind:!1,targetFindTolerance:0,skipTargetFind:!1,isDrawingMode:!1,preserveObjectStacking:!1,snapAngle:0,snapThreshold:null,stopContextMenu:!1,fireRightClick:!1,fireMiddleClick:!1,targets:[],enablePointerEvents:!1,_hoveredTarget:null,_hoveredTargets:[],_initInteractive:function(){this._currentTransform=null,this._groupSelector=null,this._initWrapperElement(),this._createUpperCanvas(),this._initEventListeners(),this._initRetinaScaling(),this.freeDrawingBrush=o.PencilBrush&&new o.PencilBrush(this),this.calcOffset()},_chooseObjectsToRender:function(){var e,t,n,r=this.getActiveObjects();if(r.length>0&&!this.preserveObjectStacking){t=[],n=[];for(var o=0,i=this._objects.length;o<i;o++)e=this._objects[o],-1===r.indexOf(e)?t.push(e):n.push(e);r.length>1&&(this._activeObject._objects=n),t.push.apply(t,n)}else t=this._objects;return t},renderAll:function(){!this.contextTopDirty||this._groupSelector||this.isDrawingMode||(this.clearContext(this.contextTop),this.contextTopDirty=!1),this.hasLostContext&&(this.renderTopLayer(this.contextTop),this.hasLostContext=!1);var e=this.contextContainer;return this.renderCanvas(e,this._chooseObjectsToRender()),this},renderTopLayer:function(e){e.save(),this.isDrawingMode&&this._isCurrentlyDrawing&&(this.freeDrawingBrush&&this.freeDrawingBrush._render(),this.contextTopDirty=!0),this.selection&&this._groupSelector&&(this._drawSelection(e),this.contextTopDirty=!0),e.restore()},renderTop:function(){var e=this.contextTop;return this.clearContext(e),this.renderTopLayer(e),this.fire("after:render"),this},_normalizePointer:function(e,t){var n=e.calcTransformMatrix(),r=o.util.invertTransform(n),i=this.restorePointerVpt(t);return o.util.transformPoint(i,r)},isTargetTransparent:function(e,t,n){if(e.shouldCache()&&e._cacheCanvas&&e!==this._activeObject){var r=this._normalizePointer(e,{x:t,y:n}),i=Math.max(e.cacheTranslationX+r.x*e.zoomX,0),a=Math.max(e.cacheTranslationY+r.y*e.zoomY,0);return o.util.isTransparent(e._cacheContext,Math.round(i),Math.round(a),this.targetFindTolerance)}var s=this.contextCache,l=e.selectionBackgroundColor,c=this.viewportTransform;return e.selectionBackgroundColor="",this.clearContext(s),s.save(),s.transform(c[0],c[1],c[2],c[3],c[4],c[5]),e.render(s),s.restore(),e.selectionBackgroundColor=l,o.util.isTransparent(s,t,n,this.targetFindTolerance)},_isSelectionKeyPressed:function(e){return Array.isArray(this.selectionKey)?!!this.selectionKey.find((function(t){return!0===e[t]})):e[this.selectionKey]},_shouldClearSelection:function(e,t){var n=this.getActiveObjects(),r=this._activeObject;return!t||t&&r&&n.length>1&&-1===n.indexOf(t)&&r!==t&&!this._isSelectionKeyPressed(e)||t&&!t.evented||t&&!t.selectable&&r&&r!==t},_shouldCenterTransform:function(e,t,n){var r;if(e)return"scale"===t||"scaleX"===t||"scaleY"===t||"resizing"===t?r=this.centeredScaling||e.centeredScaling:"rotate"===t&&(r=this.centeredRotation||e.centeredRotation),r?!n:n},_getOriginFromCorner:function(e,t){var n={x:e.originX,y:e.originY};return"ml"===t||"tl"===t||"bl"===t?n.x="right":"mr"!==t&&"tr"!==t&&"br"!==t||(n.x="left"),"tl"===t||"mt"===t||"tr"===t?n.y="bottom":"bl"!==t&&"mb"!==t&&"br"!==t||(n.y="top"),n},_getActionFromCorner:function(e,t,n,r){if(!t||!e)return"drag";var o=r.controls[t];return o.getActionName(n,o,r)},_setupCurrentTransform:function(e,n,r){if(n){var i=this.getPointer(e),a=n.__corner,s=n.controls[a],l=r&&a?s.getActionHandler(e,n,s):o.controlsUtils.dragHandler,c=this._getActionFromCorner(r,a,e,n),u=this._getOriginFromCorner(n,a),d=e[this.centeredKey],p={target:n,action:c,actionHandler:l,corner:a,scaleX:n.scaleX,scaleY:n.scaleY,skewX:n.skewX,skewY:n.skewY,offsetX:i.x-n.left,offsetY:i.y-n.top,originX:u.x,originY:u.y,ex:i.x,ey:i.y,lastX:i.x,lastY:i.y,theta:t(n.angle),width:n.width*n.scaleX,shiftKey:e.shiftKey,altKey:d,original:o.util.saveObjectTransform(n)};this._shouldCenterTransform(n,c,d)&&(p.originX="center",p.originY="center"),p.original.originX=u.x,p.original.originY=u.y,this._currentTransform=p,this._beforeTransform(e)}},setCursor:function(e){this.upperCanvasEl.style.cursor=e},_drawSelection:function(e){var t=this._groupSelector,n=new o.Point(t.ex,t.ey),r=o.util.transformPoint(n,this.viewportTransform),i=new o.Point(t.ex+t.left,t.ey+t.top),a=o.util.transformPoint(i,this.viewportTransform),s=Math.min(r.x,a.x),l=Math.min(r.y,a.y),c=Math.max(r.x,a.x),u=Math.max(r.y,a.y),d=this.selectionLineWidth/2;this.selectionColor&&(e.fillStyle=this.selectionColor,e.fillRect(s,l,c-s,u-l)),this.selectionLineWidth&&this.selectionBorderColor&&(e.lineWidth=this.selectionLineWidth,e.strokeStyle=this.selectionBorderColor,s+=d,l+=d,c-=d,u-=d,o.Object.prototype._setLineDash.call(this,e,this.selectionDashArray),e.strokeRect(s,l,c-s,u-l))},findTarget:function(e,t){if(!this.skipTargetFind){var r,o,i=this.getPointer(e,!0),a=this._activeObject,s=this.getActiveObjects(),l=n(e),c=s.length>1&&!t||1===s.length;if(this.targets=[],c&&a._findTargetCorner(i,l))return a;if(s.length>1&&!t&&a===this._searchPossibleTargets([a],i))return a;if(1===s.length&&a===this._searchPossibleTargets([a],i)){if(!this.preserveObjectStacking)return a;r=a,o=this.targets,this.targets=[]}var u=this._searchPossibleTargets(this._objects,i);return e[this.altSelectionKey]&&u&&r&&u!==r&&(u=r,this.targets=o),u}},_checkTarget:function(e,t,n){if(t&&t.visible&&t.evented&&t.containsPoint(e)){if(!this.perPixelTargetFind&&!t.perPixelTargetFind||t.isEditing)return!0;if(!this.isTargetTransparent(t,n.x,n.y))return!0}},_searchPossibleTargets:function(e,t){for(var n,r,i=e.length;i--;){var a=e[i],s=a.group?this._normalizePointer(a.group,t):t;if(this._checkTarget(s,a,t)){(n=e[i]).subTargetCheck&&n instanceof o.Group&&(r=this._searchPossibleTargets(n._objects,t))&&this.targets.push(r);break}}return n},restorePointerVpt:function(e){return o.util.transformPoint(e,o.util.invertTransform(this.viewportTransform))},getPointer:function(t,n){if(this._absolutePointer&&!n)return this._absolutePointer;if(this._pointer&&n)return this._pointer;var r,o=e(t),i=this.upperCanvasEl,a=i.getBoundingClientRect(),s=a.width||0,l=a.height||0;s&&l||("top"in a&&"bottom"in a&&(l=Math.abs(a.top-a.bottom)),"right"in a&&"left"in a&&(s=Math.abs(a.right-a.left))),this.calcOffset(),o.x=o.x-this._offset.left,o.y=o.y-this._offset.top,n||(o=this.restorePointerVpt(o));var c=this.getRetinaScaling();return 1!==c&&(o.x/=c,o.y/=c),r=0===s||0===l?{width:1,height:1}:{width:i.width/s,height:i.height/l},{x:o.x*r.width,y:o.y*r.height}},_createUpperCanvas:function(){var e=this.lowerCanvasEl.className.replace(/\s*lower-canvas\s*/,""),t=this.lowerCanvasEl,n=this.upperCanvasEl;n?n.className="":(n=this._createCanvasElement(),this.upperCanvasEl=n),o.util.addClass(n,"upper-canvas "+e),this.wrapperEl.appendChild(n),this._copyCanvasStyle(t,n),this._applyCanvasStyle(n),this.contextTop=n.getContext("2d")},getTopContext:function(){return this.contextTop},_createCacheCanvas:function(){this.cacheCanvasEl=this._createCanvasElement(),this.cacheCanvasEl.setAttribute("width",this.width),this.cacheCanvasEl.setAttribute("height",this.height),this.contextCache=this.cacheCanvasEl.getContext("2d")},_initWrapperElement:function(){this.wrapperEl=o.util.wrapElement(this.lowerCanvasEl,"div",{class:this.containerClass}),o.util.setStyle(this.wrapperEl,{width:this.width+"px",height:this.height+"px",position:"relative"}),o.util.makeElementUnselectable(this.wrapperEl)},_applyCanvasStyle:function(e){var t=this.width||e.width,n=this.height||e.height;o.util.setStyle(e,{position:"absolute",width:t+"px",height:n+"px",left:0,top:0,"touch-action":this.allowTouchScrolling?"manipulation":"none","-ms-touch-action":this.allowTouchScrolling?"manipulation":"none"}),e.width=t,e.height=n,o.util.makeElementUnselectable(e)},_copyCanvasStyle:function(e,t){t.style.cssText=e.style.cssText},getSelectionContext:function(){return this.contextTop},getSelectionElement:function(){return this.upperCanvasEl},getActiveObject:function(){return this._activeObject},getActiveObjects:function(){var e=this._activeObject;return e?"activeSelection"===e.type&&e._objects?e._objects.slice(0):[e]:[]},_onObjectRemoved:function(e){e===this._activeObject&&(this.fire("before:selection:cleared",{target:e}),this._discardActiveObject(),this.fire("selection:cleared",{target:e}),e.fire("deselected")),e===this._hoveredTarget&&(this._hoveredTarget=null,this._hoveredTargets=[]),this.callSuper("_onObjectRemoved",e)},_fireSelectionEvents:function(e,t){var n=!1,r=this.getActiveObjects(),o=[],i=[];e.forEach((function(e){-1===r.indexOf(e)&&(n=!0,e.fire("deselected",{e:t,target:e}),i.push(e))})),r.forEach((function(r){-1===e.indexOf(r)&&(n=!0,r.fire("selected",{e:t,target:r}),o.push(r))})),e.length>0&&r.length>0?n&&this.fire("selection:updated",{e:t,selected:o,deselected:i}):r.length>0?this.fire("selection:created",{e:t,selected:o}):e.length>0&&this.fire("selection:cleared",{e:t,deselected:i})},setActiveObject:function(e,t){var n=this.getActiveObjects();return this._setActiveObject(e,t),this._fireSelectionEvents(n,t),this},_setActiveObject:function(e,t){return this._activeObject!==e&&(!!this._discardActiveObject(t,e)&&(!e.onSelect({e:t})&&(this._activeObject=e,!0)))},_discardActiveObject:function(e,t){var n=this._activeObject;if(n){if(n.onDeselect({e:e,object:t}))return!1;this._activeObject=null}return!0},discardActiveObject:function(e){var t=this.getActiveObjects(),n=this.getActiveObject();return t.length&&this.fire("before:selection:cleared",{target:n,e:e}),this._discardActiveObject(e),this._fireSelectionEvents(t,e),this},dispose:function(){var e=this.wrapperEl;return this.removeListeners(),e.removeChild(this.upperCanvasEl),e.removeChild(this.lowerCanvasEl),this.contextCache=null,this.contextTop=null,["upperCanvasEl","cacheCanvasEl"].forEach(function(e){o.util.cleanUpJsdomNode(this[e]),this[e]=void 0}.bind(this)),e.parentNode&&e.parentNode.replaceChild(this.lowerCanvasEl,this.wrapperEl),delete this.wrapperEl,o.StaticCanvas.prototype.dispose.call(this),this},clear:function(){return this.discardActiveObject(),this.clearContext(this.contextTop),this.callSuper("clear")},drawControls:function(e){var t=this._activeObject;t&&t._renderControls(e)},_toObject:function(e,t,n){var r=this._realizeGroupTransformOnObject(e),o=this.callSuper("_toObject",e,t,n);return this._unwindGroupTransformOnObject(e,r),o},_realizeGroupTransformOnObject:function(e){if(e.group&&"activeSelection"===e.group.type&&this._activeObject===e.group){var t={};return["angle","flipX","flipY","left","scaleX","scaleY","skewX","skewY","top"].forEach((function(n){t[n]=e[n]})),o.util.addTransformToObject(e,this._activeObject.calcOwnMatrix()),t}return null},_unwindGroupTransformOnObject:function(e,t){t&&e.set(t)},_setSVGObject:function(e,t,n){var r=this._realizeGroupTransformOnObject(t);this.callSuper("_setSVGObject",e,t,n),this._unwindGroupTransformOnObject(t,r)},setViewportTransform:function(e){this.renderOnAddRemove&&this._activeObject&&this._activeObject.isEditing&&this._activeObject.clearContextTop(),o.StaticCanvas.prototype.setViewportTransform.call(this,e)}}),o.StaticCanvas)"prototype"!==r&&(o.Canvas[r]=o.StaticCanvas[r])}(),function(){var e=o.util.addListener,t=o.util.removeListener,n={passive:!1};function r(e,t){return e.button&&e.button===t-1}o.util.object.extend(o.Canvas.prototype,{mainTouchId:null,_initEventListeners:function(){this.removeListeners(),this._bindEvents(),this.addOrRemove(e,"add")},_getEventPrefix:function(){return this.enablePointerEvents?"pointer":"mouse"},addOrRemove:function(e,t){var r=this.upperCanvasEl,i=this._getEventPrefix();e(o.window,"resize",this._onResize),e(r,i+"down",this._onMouseDown),e(r,i+"move",this._onMouseMove,n),e(r,i+"out",this._onMouseOut),e(r,i+"enter",this._onMouseEnter),e(r,"wheel",this._onMouseWheel),e(r,"contextmenu",this._onContextMenu),e(r,"dblclick",this._onDoubleClick),e(r,"dragover",this._onDragOver),e(r,"dragenter",this._onDragEnter),e(r,"dragleave",this._onDragLeave),e(r,"drop",this._onDrop),this.enablePointerEvents||e(r,"touchstart",this._onTouchStart,n),"undefined"!==typeof eventjs&&t in eventjs&&(eventjs[t](r,"gesture",this._onGesture),eventjs[t](r,"drag",this._onDrag),eventjs[t](r,"orientation",this._onOrientationChange),eventjs[t](r,"shake",this._onShake),eventjs[t](r,"longpress",this._onLongPress))},removeListeners:function(){this.addOrRemove(t,"remove");var e=this._getEventPrefix();t(o.document,e+"up",this._onMouseUp),t(o.document,"touchend",this._onTouchEnd,n),t(o.document,e+"move",this._onMouseMove,n),t(o.document,"touchmove",this._onMouseMove,n)},_bindEvents:function(){this.eventsBound||(this._onMouseDown=this._onMouseDown.bind(this),this._onTouchStart=this._onTouchStart.bind(this),this._onMouseMove=this._onMouseMove.bind(this),this._onMouseUp=this._onMouseUp.bind(this),this._onTouchEnd=this._onTouchEnd.bind(this),this._onResize=this._onResize.bind(this),this._onGesture=this._onGesture.bind(this),this._onDrag=this._onDrag.bind(this),this._onShake=this._onShake.bind(this),this._onLongPress=this._onLongPress.bind(this),this._onOrientationChange=this._onOrientationChange.bind(this),this._onMouseWheel=this._onMouseWheel.bind(this),this._onMouseOut=this._onMouseOut.bind(this),this._onMouseEnter=this._onMouseEnter.bind(this),this._onContextMenu=this._onContextMenu.bind(this),this._onDoubleClick=this._onDoubleClick.bind(this),this._onDragOver=this._onDragOver.bind(this),this._onDragEnter=this._simpleEventHandler.bind(this,"dragenter"),this._onDragLeave=this._simpleEventHandler.bind(this,"dragleave"),this._onDrop=this._onDrop.bind(this),this.eventsBound=!0)},_onGesture:function(e,t){this.__onTransformGesture&&this.__onTransformGesture(e,t)},_onDrag:function(e,t){this.__onDrag&&this.__onDrag(e,t)},_onMouseWheel:function(e){this.__onMouseWheel(e)},_onMouseOut:function(e){var t=this._hoveredTarget;this.fire("mouse:out",{target:t,e:e}),this._hoveredTarget=null,t&&t.fire("mouseout",{e:e});var n=this;this._hoveredTargets.forEach((function(r){n.fire("mouse:out",{target:t,e:e}),r&&t.fire("mouseout",{e:e})})),this._hoveredTargets=[]},_onMouseEnter:function(e){this._currentTransform||this.findTarget(e)||(this.fire("mouse:over",{target:null,e:e}),this._hoveredTarget=null,this._hoveredTargets=[])},_onOrientationChange:function(e,t){this.__onOrientationChange&&this.__onOrientationChange(e,t)},_onShake:function(e,t){this.__onShake&&this.__onShake(e,t)},_onLongPress:function(e,t){this.__onLongPress&&this.__onLongPress(e,t)},_onDragOver:function(e){e.preventDefault();var t=this._simpleEventHandler("dragover",e);this._fireEnterLeaveEvents(t,e)},_onDrop:function(e){return this._simpleEventHandler("drop:before",e),this._simpleEventHandler("drop",e)},_onContextMenu:function(e){return this.stopContextMenu&&(e.stopPropagation(),e.preventDefault()),!1},_onDoubleClick:function(e){this._cacheTransformEventData(e),this._handleEvent(e,"dblclick"),this._resetTransformEventData(e)},getPointerId:function(e){var t=e.changedTouches;return t?t[0]&&t[0].identifier:this.enablePointerEvents?e.pointerId:-1},_isMainEvent:function(e){return!0===e.isPrimary||!1!==e.isPrimary&&("touchend"===e.type&&0===e.touches.length||(!e.changedTouches||e.changedTouches[0].identifier===this.mainTouchId))},_onTouchStart:function(r){r.preventDefault(),null===this.mainTouchId&&(this.mainTouchId=this.getPointerId(r)),this.__onMouseDown(r),this._resetTransformEventData();var i=this.upperCanvasEl,a=this._getEventPrefix();e(o.document,"touchend",this._onTouchEnd,n),e(o.document,"touchmove",this._onMouseMove,n),t(i,a+"down",this._onMouseDown)},_onMouseDown:function(r){this.__onMouseDown(r),this._resetTransformEventData();var i=this.upperCanvasEl,a=this._getEventPrefix();t(i,a+"move",this._onMouseMove,n),e(o.document,a+"up",this._onMouseUp),e(o.document,a+"move",this._onMouseMove,n)},_onTouchEnd:function(r){if(!(r.touches.length>0)){this.__onMouseUp(r),this._resetTransformEventData(),this.mainTouchId=null;var i=this._getEventPrefix();t(o.document,"touchend",this._onTouchEnd,n),t(o.document,"touchmove",this._onMouseMove,n);var a=this;this._willAddMouseDown&&clearTimeout(this._willAddMouseDown),this._willAddMouseDown=setTimeout((function(){e(a.upperCanvasEl,i+"down",a._onMouseDown),a._willAddMouseDown=0}),400)}},_onMouseUp:function(r){this.__onMouseUp(r),this._resetTransformEventData();var i=this.upperCanvasEl,a=this._getEventPrefix();this._isMainEvent(r)&&(t(o.document,a+"up",this._onMouseUp),t(o.document,a+"move",this._onMouseMove,n),e(i,a+"move",this._onMouseMove,n))},_onMouseMove:function(e){!this.allowTouchScrolling&&e.preventDefault&&e.preventDefault(),this.__onMouseMove(e)},_onResize:function(){this.calcOffset()},_shouldRender:function(e){var t=this._activeObject;return!!(!!t!==!!e||t&&e&&t!==e)||(t&&t.isEditing,!1)},__onMouseUp:function(e){var t,n=this._currentTransform,i=this._groupSelector,a=!1,s=!i||0===i.left&&0===i.top;if(this._cacheTransformEventData(e),t=this._target,this._handleEvent(e,"up:before"),r(e,3))this.fireRightClick&&this._handleEvent(e,"up",3,s);else{if(r(e,2))return this.fireMiddleClick&&this._handleEvent(e,"up",2,s),void this._resetTransformEventData();if(this.isDrawingMode&&this._isCurrentlyDrawing)this._onMouseUpInDrawingMode(e);else if(this._isMainEvent(e)){if(n&&(this._finalizeCurrentTransform(e),a=n.actionPerformed),!s){var l=t===this._activeObject;this._maybeGroupObjects(e),a||(a=this._shouldRender(t)||!l&&t===this._activeObject)}var c,u;if(t){if(c=t._findTargetCorner(this.getPointer(e,!0),o.util.isTouchEvent(e)),t.selectable&&t!==this._activeObject&&"up"===t.activeOn)this.setActiveObject(t,e),a=!0;else{var d=t.controls[c],p=d&&d.getMouseUpHandler(e,t,d);p&&p(e,n,(u=this.getPointer(e)).x,u.y)}t.isMoving=!1}if(n&&(n.target!==t||n.corner!==c)){var f=n.target&&n.target.controls[n.corner],h=f&&f.getMouseUpHandler(e,t,d);u=u||this.getPointer(e),h&&h(e,n,u.x,u.y)}this._setCursorFromEvent(e,t),this._handleEvent(e,"up",1,s),this._groupSelector=null,this._currentTransform=null,t&&(t.__corner=0),a?this.requestRenderAll():s||this.renderTop()}}},_simpleEventHandler:function(e,t){var n=this.findTarget(t),r=this.targets,o={e:t,target:n,subTargets:r};if(this.fire(e,o),n&&n.fire(e,o),!r)return n;for(var i=0;i<r.length;i++)r[i].fire(e,o);return n},_handleEvent:function(e,t,n,r){var o=this._target,i=this.targets||[],a={e:e,target:o,subTargets:i,button:n||1,isClick:r||!1,pointer:this._pointer,absolutePointer:this._absolutePointer,transform:this._currentTransform};"up"===t&&(a.currentTarget=this.findTarget(e),a.currentSubTargets=this.targets),this.fire("mouse:"+t,a),o&&o.fire("mouse"+t,a);for(var s=0;s<i.length;s++)i[s].fire("mouse"+t,a)},_finalizeCurrentTransform:function(e){var t=this._currentTransform,n=t.target,r={e:e,target:n,transform:t,action:t.action};n._scaling&&(n._scaling=!1),n.setCoords(),(t.actionPerformed||this.stateful&&n.hasStateChanged())&&this._fire("modified",r)},_onMouseDownInDrawingMode:function(e){this._isCurrentlyDrawing=!0,this.getActiveObject()&&this.discardActiveObject(e).requestRenderAll();var t=this.getPointer(e);this.freeDrawingBrush.onMouseDown(t,{e:e,pointer:t}),this._handleEvent(e,"down")},_onMouseMoveInDrawingMode:function(e){if(this._isCurrentlyDrawing){var t=this.getPointer(e);this.freeDrawingBrush.onMouseMove(t,{e:e,pointer:t})}this.setCursor(this.freeDrawingCursor),this._handleEvent(e,"move")},_onMouseUpInDrawingMode:function(e){var t=this.getPointer(e);this._isCurrentlyDrawing=this.freeDrawingBrush.onMouseUp({e:e,pointer:t}),this._handleEvent(e,"up")},__onMouseDown:function(e){this._cacheTransformEventData(e),this._handleEvent(e,"down:before");var t=this._target;if(r(e,3))this.fireRightClick&&this._handleEvent(e,"down",3);else if(r(e,2))this.fireMiddleClick&&this._handleEvent(e,"down",2);else if(this.isDrawingMode)this._onMouseDownInDrawingMode(e);else if(this._isMainEvent(e)&&!this._currentTransform){var n=this._pointer;this._previousPointer=n;var i=this._shouldRender(t),a=this._shouldGroup(e,t);if(this._shouldClearSelection(e,t)?this.discardActiveObject(e):a&&(this._handleGrouping(e,t),t=this._activeObject),!this.selection||t&&(t.selectable||t.isEditing||t===this._activeObject)||(this._groupSelector={ex:this._absolutePointer.x,ey:this._absolutePointer.y,top:0,left:0}),t){var s=t===this._activeObject;t.selectable&&"down"===t.activeOn&&this.setActiveObject(t,e);var l=t._findTargetCorner(this.getPointer(e,!0),o.util.isTouchEvent(e));if(t.__corner=l,t===this._activeObject&&(l||!a)){this._setupCurrentTransform(e,t,s);var c=t.controls[l],u=(n=this.getPointer(e),c&&c.getMouseDownHandler(e,t,c));u&&u(e,this._currentTransform,n.x,n.y)}}this._handleEvent(e,"down"),(i||a)&&this.requestRenderAll()}},_resetTransformEventData:function(){this._target=null,this._pointer=null,this._absolutePointer=null},_cacheTransformEventData:function(e){this._resetTransformEventData(),this._pointer=this.getPointer(e,!0),this._absolutePointer=this.restorePointerVpt(this._pointer),this._target=this._currentTransform?this._currentTransform.target:this.findTarget(e)||null},_beforeTransform:function(e){var t=this._currentTransform;this.stateful&&t.target.saveState(),this.fire("before:transform",{e:e,transform:t})},__onMouseMove:function(e){var t,n;if(this._handleEvent(e,"move:before"),this._cacheTransformEventData(e),this.isDrawingMode)this._onMouseMoveInDrawingMode(e);else if(this._isMainEvent(e)){var r=this._groupSelector;r?(n=this._absolutePointer,r.left=n.x-r.ex,r.top=n.y-r.ey,this.renderTop()):this._currentTransform?this._transformObject(e):(t=this.findTarget(e)||null,this._setCursorFromEvent(e,t),this._fireOverOutEvents(t,e)),this._handleEvent(e,"move"),this._resetTransformEventData()}},_fireOverOutEvents:function(e,t){var n=this._hoveredTarget,r=this._hoveredTargets,o=this.targets,i=Math.max(r.length,o.length);this.fireSyntheticInOutEvents(e,t,{oldTarget:n,evtOut:"mouseout",canvasEvtOut:"mouse:out",evtIn:"mouseover",canvasEvtIn:"mouse:over"});for(var a=0;a<i;a++)this.fireSyntheticInOutEvents(o[a],t,{oldTarget:r[a],evtOut:"mouseout",evtIn:"mouseover"});this._hoveredTarget=e,this._hoveredTargets=this.targets.concat()},_fireEnterLeaveEvents:function(e,t){var n=this._draggedoverTarget,r=this._hoveredTargets,o=this.targets,i=Math.max(r.length,o.length);this.fireSyntheticInOutEvents(e,t,{oldTarget:n,evtOut:"dragleave",evtIn:"dragenter"});for(var a=0;a<i;a++)this.fireSyntheticInOutEvents(o[a],t,{oldTarget:r[a],evtOut:"dragleave",evtIn:"dragenter"});this._draggedoverTarget=e},fireSyntheticInOutEvents:function(e,t,n){var r,o,i,a=n.oldTarget,s=a!==e,l=n.canvasEvtIn,c=n.canvasEvtOut;s&&(r={e:t,target:e,previousTarget:a},o={e:t,target:a,nextTarget:e}),i=e&&s,a&&s&&(c&&this.fire(c,o),a.fire(n.evtOut,o)),i&&(l&&this.fire(l,r),e.fire(n.evtIn,r))},__onMouseWheel:function(e){this._cacheTransformEventData(e),this._handleEvent(e,"wheel"),this._resetTransformEventData()},_transformObject:function(e){var t=this.getPointer(e),n=this._currentTransform;n.reset=!1,n.shiftKey=e.shiftKey,n.altKey=e[this.centeredKey],this._performTransformAction(e,n,t),n.actionPerformed&&this.requestRenderAll()},_performTransformAction:function(e,t,n){var r=n.x,o=n.y,i=t.action,a=!1,s=t.actionHandler;s&&(a=s(e,t,r,o)),"drag"===i&&a&&(t.target.isMoving=!0,this.setCursor(t.target.moveCursor||this.moveCursor)),t.actionPerformed=t.actionPerformed||a},_fire:o.controlsUtils.fireEvent,_setCursorFromEvent:function(e,t){if(!t)return this.setCursor(this.defaultCursor),!1;var n=t.hoverCursor||this.hoverCursor,r=this._activeObject&&"activeSelection"===this._activeObject.type?this._activeObject:null,o=(!r||!r.contains(t))&&t._findTargetCorner(this.getPointer(e,!0));o?this.setCursor(this.getCornerCursor(o,t,e)):(t.subTargetCheck&&this.targets.concat().reverse().map((function(e){n=e.hoverCursor||n})),this.setCursor(n))},getCornerCursor:function(e,t,n){var r=t.controls[e];return r.cursorStyleHandler(n,r,t)}})}(),function(){var e=Math.min,t=Math.max;o.util.object.extend(o.Canvas.prototype,{_shouldGroup:function(e,t){var n=this._activeObject;return n&&this._isSelectionKeyPressed(e)&&t&&t.selectable&&this.selection&&(n!==t||"activeSelection"===n.type)&&!t.onSelect({e:e})},_handleGrouping:function(e,t){var n=this._activeObject;n.__corner||(t!==n||(t=this.findTarget(e,!0))&&t.selectable)&&(n&&"activeSelection"===n.type?this._updateActiveSelection(t,e):this._createActiveSelection(t,e))},_updateActiveSelection:function(e,t){var n=this._activeObject,r=n._objects.slice(0);n.contains(e)?(n.removeWithUpdate(e),this._hoveredTarget=e,this._hoveredTargets=this.targets.concat(),1===n.size()&&this._setActiveObject(n.item(0),t)):(n.addWithUpdate(e),this._hoveredTarget=n,this._hoveredTargets=this.targets.concat()),this._fireSelectionEvents(r,t)},_createActiveSelection:function(e,t){var n=this.getActiveObjects(),r=this._createGroup(e);this._hoveredTarget=r,this._setActiveObject(r,t),this._fireSelectionEvents(n,t)},_createGroup:function(e){var t=this._objects,n=t.indexOf(this._activeObject)<t.indexOf(e)?[this._activeObject,e]:[e,this._activeObject];return this._activeObject.isEditing&&this._activeObject.exitEditing(),new o.ActiveSelection(n,{canvas:this})},_groupSelectedObjects:function(e){var t,n=this._collectObjects(e);1===n.length?this.setActiveObject(n[0],e):n.length>1&&(t=new o.ActiveSelection(n.reverse(),{canvas:this}),this.setActiveObject(t,e))},_collectObjects:function(n){for(var r,i=[],a=this._groupSelector.ex,s=this._groupSelector.ey,l=a+this._groupSelector.left,c=s+this._groupSelector.top,u=new o.Point(e(a,l),e(s,c)),d=new o.Point(t(a,l),t(s,c)),p=!this.selectionFullyContained,f=a===l&&s===c,h=this._objects.length;h--&&!((r=this._objects[h])&&r.selectable&&r.visible&&(p&&r.intersectsWithRect(u,d,!0)||r.isContainedWithinRect(u,d,!0)||p&&r.containsPoint(u,null,!0)||p&&r.containsPoint(d,null,!0))&&(i.push(r),f)););return i.length>1&&(i=i.filter((function(e){return!e.onSelect({e:n})}))),i},_maybeGroupObjects:function(e){this.selection&&this._groupSelector&&this._groupSelectedObjects(e),this.setCursor(this.defaultCursor),this._groupSelector=null}})}(),o.util.object.extend(o.StaticCanvas.prototype,{toDataURL:function(e){e||(e={});var t=e.format||"png",n=e.quality||1,r=(e.multiplier||1)*(e.enableRetinaScaling?this.getRetinaScaling():1),i=this.toCanvasElement(r,e);return o.util.toDataURL(i,t,n)},toCanvasElement:function(e,t){e=e||1;var n=((t=t||{}).width||this.width)*e,r=(t.height||this.height)*e,i=this.getZoom(),a=this.width,s=this.height,l=i*e,c=this.viewportTransform,u=(c[4]-(t.left||0))*e,d=(c[5]-(t.top||0))*e,p=this.interactive,f=[l,0,0,l,u,d],h=this.enableRetinaScaling,b=o.util.createCanvasElement(),A=this.contextTop;return b.width=n,b.height=r,this.contextTop=null,this.enableRetinaScaling=!1,this.interactive=!1,this.viewportTransform=f,this.width=n,this.height=r,this.calcViewportBoundaries(),this.renderCanvas(b.getContext("2d"),this._objects),this.viewportTransform=c,this.width=a,this.height=s,this.calcViewportBoundaries(),this.interactive=p,this.enableRetinaScaling=h,this.contextTop=A,b}}),o.util.object.extend(o.StaticCanvas.prototype,{loadFromJSON:function(e,t,n){if(e){var r="string"===typeof e?JSON.parse(e):o.util.object.clone(e),i=this,a=r.clipPath,s=this.renderOnAddRemove;return this.renderOnAddRemove=!1,delete r.clipPath,this._enlivenObjects(r.objects,(function(e){i.clear(),i._setBgOverlay(r,(function(){a?i._enlivenObjects([a],(function(n){i.clipPath=n[0],i.__setupCanvas.call(i,r,e,s,t)})):i.__setupCanvas.call(i,r,e,s,t)}))}),n),this}},__setupCanvas:function(e,t,n,r){var o=this;t.forEach((function(e,t){o.insertAt(e,t)})),this.renderOnAddRemove=n,delete e.objects,delete e.backgroundImage,delete e.overlayImage,delete e.background,delete e.overlay,this._setOptions(e),this.renderAll(),r&&r()},_setBgOverlay:function(e,t){var n={backgroundColor:!1,overlayColor:!1,backgroundImage:!1,overlayImage:!1};if(e.backgroundImage||e.overlayImage||e.background||e.overlay){var r=function(){n.backgroundImage&&n.overlayImage&&n.backgroundColor&&n.overlayColor&&t&&t()};this.__setBgOverlay("backgroundImage",e.backgroundImage,n,r),this.__setBgOverlay("overlayImage",e.overlayImage,n,r),this.__setBgOverlay("backgroundColor",e.background,n,r),this.__setBgOverlay("overlayColor",e.overlay,n,r)}else t&&t()},__setBgOverlay:function(e,t,n,r){var i=this;if(!t)return n[e]=!0,void(r&&r());"backgroundImage"===e||"overlayImage"===e?o.util.enlivenObjects([t],(function(t){i[e]=t[0],n[e]=!0,r&&r()})):this["set"+o.util.string.capitalize(e,!0)](t,(function(){n[e]=!0,r&&r()}))},_enlivenObjects:function(e,t,n){e&&0!==e.length?o.util.enlivenObjects(e,(function(e){t&&t(e)}),null,n):t&&t([])},_toDataURL:function(e,t){this.clone((function(n){t(n.toDataURL(e))}))},_toDataURLWithMultiplier:function(e,t,n){this.clone((function(r){n(r.toDataURLWithMultiplier(e,t))}))},clone:function(e,t){var n=JSON.stringify(this.toJSON(t));this.cloneWithoutData((function(t){t.loadFromJSON(n,(function(){e&&e(t)}))}))},cloneWithoutData:function(e){var t=o.util.createCanvasElement();t.width=this.width,t.height=this.height;var n=new o.Canvas(t);this.backgroundImage?(n.setBackgroundImage(this.backgroundImage.src,(function(){n.renderAll(),e&&e(n)})),n.backgroundImageOpacity=this.backgroundImageOpacity,n.backgroundImageStretch=this.backgroundImageStretch):e&&e(n)}}),function(e){"use strict";var t=e.fabric||(e.fabric={}),n=t.util.object.extend,r=t.util.object.clone,o=t.util.toFixed,i=t.util.string.capitalize,a=t.util.degreesToRadians,s=!t.isLikelyNode;t.Object||(t.Object=t.util.createClass(t.CommonMethods,{type:"object",originX:"left",originY:"top",top:0,left:0,width:0,height:0,scaleX:1,scaleY:1,flipX:!1,flipY:!1,opacity:1,angle:0,skewX:0,skewY:0,cornerSize:13,touchCornerSize:24,transparentCorners:!0,hoverCursor:null,moveCursor:null,padding:0,borderColor:"rgb(178,204,255)",borderDashArray:null,cornerColor:"rgb(178,204,255)",cornerStrokeColor:null,cornerStyle:"rect",cornerDashArray:null,centeredScaling:!1,centeredRotation:!0,fill:"rgb(0,0,0)",fillRule:"nonzero",globalCompositeOperation:"source-over",backgroundColor:"",selectionBackgroundColor:"",stroke:null,strokeWidth:1,strokeDashArray:null,strokeDashOffset:0,strokeLineCap:"butt",strokeLineJoin:"miter",strokeMiterLimit:4,shadow:null,borderOpacityWhenMoving:.4,borderScaleFactor:1,minScaleLimit:0,selectable:!0,evented:!0,visible:!0,hasControls:!0,hasBorders:!0,perPixelTargetFind:!1,includeDefaultValues:!0,lockMovementX:!1,lockMovementY:!1,lockRotation:!1,lockScalingX:!1,lockScalingY:!1,lockSkewingX:!1,lockSkewingY:!1,lockScalingFlip:!1,excludeFromExport:!1,objectCaching:s,statefullCache:!1,noScaleCache:!0,strokeUniform:!1,dirty:!0,__corner:0,paintFirst:"fill",activeOn:"down",stateProperties:"top left width height scaleX scaleY flipX flipY originX originY transformMatrix stroke strokeWidth strokeDashArray strokeLineCap strokeDashOffset strokeLineJoin strokeMiterLimit angle opacity fill globalCompositeOperation shadow visible backgroundColor skewX skewY fillRule paintFirst clipPath strokeUniform".split(" "),cacheProperties:"fill stroke strokeWidth strokeDashArray width height paintFirst strokeUniform strokeLineCap strokeDashOffset strokeLineJoin strokeMiterLimit backgroundColor clipPath".split(" "),colorProperties:"fill stroke backgroundColor".split(" "),clipPath:void 0,inverted:!1,absolutePositioned:!1,initialize:function(e){e&&this.setOptions(e)},_createCacheCanvas:function(){this._cacheProperties={},this._cacheCanvas=t.util.createCanvasElement(),this._cacheContext=this._cacheCanvas.getContext("2d"),this._updateCacheCanvas(),this.dirty=!0},_limitCacheSize:function(e){var n=t.perfLimitSizeTotal,r=e.width,o=e.height,i=t.maxCacheSideLimit,a=t.minCacheSideLimit;if(r<=i&&o<=i&&r*o<=n)return r<a&&(e.width=a),o<a&&(e.height=a),e;var s=r/o,l=t.util.limitDimsByArea(s,n),c=t.util.capValue,u=c(a,l.x,i),d=c(a,l.y,i);return r>u&&(e.zoomX/=r/u,e.width=u,e.capped=!0),o>d&&(e.zoomY/=o/d,e.height=d,e.capped=!0),e},_getCacheCanvasDimensions:function(){var e=this.getTotalObjectScaling(),t=this._getTransformedDimensions(0,0),n=t.x*e.scaleX/this.scaleX,r=t.y*e.scaleY/this.scaleY;return{width:n+2,height:r+2,zoomX:e.scaleX,zoomY:e.scaleY,x:n,y:r}},_updateCacheCanvas:function(){var e=this.canvas;if(this.noScaleCache&&e&&e._currentTransform){var n=e._currentTransform.target,r=e._currentTransform.action;if(this===n&&r.slice&&"scale"===r.slice(0,5))return!1}var o,i,a=this._cacheCanvas,s=this._limitCacheSize(this._getCacheCanvasDimensions()),l=t.minCacheSideLimit,c=s.width,u=s.height,d=s.zoomX,p=s.zoomY,f=c!==this.cacheWidth||u!==this.cacheHeight,h=this.zoomX!==d||this.zoomY!==p,b=f||h,A=0,m=0,g=!1;if(f){var v=this._cacheCanvas.width,y=this._cacheCanvas.height,M=c>v||u>y;g=M||(c<.9*v||u<.9*y)&&v>l&&y>l,M&&!s.capped&&(c>l||u>l)&&(A=.1*c,m=.1*u)}return this instanceof t.Text&&this.path&&(b=!0,g=!0,A+=this.getHeightOfLine(0)*this.zoomX,m+=this.getHeightOfLine(0)*this.zoomY),!!b&&(g?(a.width=Math.ceil(c+A),a.height=Math.ceil(u+m)):(this._cacheContext.setTransform(1,0,0,1,0,0),this._cacheContext.clearRect(0,0,a.width,a.height)),o=s.x/2,i=s.y/2,this.cacheTranslationX=Math.round(a.width/2-o)+o,this.cacheTranslationY=Math.round(a.height/2-i)+i,this.cacheWidth=c,this.cacheHeight=u,this._cacheContext.translate(this.cacheTranslationX,this.cacheTranslationY),this._cacheContext.scale(d,p),this.zoomX=d,this.zoomY=p,!0)},setOptions:function(e){this._setOptions(e),this._initGradient(e.fill,"fill"),this._initGradient(e.stroke,"stroke"),this._initPattern(e.fill,"fill"),this._initPattern(e.stroke,"stroke")},transform:function(e){var t=this.group&&!this.group._transformDone||this.group&&this.canvas&&e===this.canvas.contextTop,n=this.calcTransformMatrix(!t);e.transform(n[0],n[1],n[2],n[3],n[4],n[5])},toObject:function(e){var n=t.Object.NUM_FRACTION_DIGITS,r={type:this.type,version:t.version,originX:this.originX,originY:this.originY,left:o(this.left,n),top:o(this.top,n),width:o(this.width,n),height:o(this.height,n),fill:this.fill&&this.fill.toObject?this.fill.toObject():this.fill,stroke:this.stroke&&this.stroke.toObject?this.stroke.toObject():this.stroke,strokeWidth:o(this.strokeWidth,n),strokeDashArray:this.strokeDashArray?this.strokeDashArray.concat():this.strokeDashArray,strokeLineCap:this.strokeLineCap,strokeDashOffset:this.strokeDashOffset,strokeLineJoin:this.strokeLineJoin,strokeUniform:this.strokeUniform,strokeMiterLimit:o(this.strokeMiterLimit,n),scaleX:o(this.scaleX,n),scaleY:o(this.scaleY,n),angle:o(this.angle,n),flipX:this.flipX,flipY:this.flipY,opacity:o(this.opacity,n),shadow:this.shadow&&this.shadow.toObject?this.shadow.toObject():this.shadow,visible:this.visible,backgroundColor:this.backgroundColor,fillRule:this.fillRule,paintFirst:this.paintFirst,globalCompositeOperation:this.globalCompositeOperation,skewX:o(this.skewX,n),skewY:o(this.skewY,n)};return this.clipPath&&!this.clipPath.excludeFromExport&&(r.clipPath=this.clipPath.toObject(e),r.clipPath.inverted=this.clipPath.inverted,r.clipPath.absolutePositioned=this.clipPath.absolutePositioned),t.util.populateWithProperties(this,r,e),this.includeDefaultValues||(r=this._removeDefaultValues(r)),r},toDatalessObject:function(e){return this.toObject(e)},_removeDefaultValues:function(e){var n=t.util.getKlass(e.type).prototype;return n.stateProperties.forEach((function(t){"left"!==t&&"top"!==t&&(e[t]===n[t]&&delete e[t],Array.isArray(e[t])&&Array.isArray(n[t])&&0===e[t].length&&0===n[t].length&&delete e[t])})),e},toString:function(){return"#<fabric."+i(this.type)+">"},getObjectScaling:function(){if(!this.group)return{scaleX:this.scaleX,scaleY:this.scaleY};var e=t.util.qrDecompose(this.calcTransformMatrix());return{scaleX:Math.abs(e.scaleX),scaleY:Math.abs(e.scaleY)}},getTotalObjectScaling:function(){var e=this.getObjectScaling(),t=e.scaleX,n=e.scaleY;if(this.canvas){var r=this.canvas.getZoom(),o=this.canvas.getRetinaScaling();t*=r*o,n*=r*o}return{scaleX:t,scaleY:n}},getObjectOpacity:function(){var e=this.opacity;return this.group&&(e*=this.group.getObjectOpacity()),e},_set:function(e,n){var r="scaleX"===e||"scaleY"===e,o=this[e]!==n,i=!1;return r&&(n=this._constrainScale(n)),"scaleX"===e&&n<0?(this.flipX=!this.flipX,n*=-1):"scaleY"===e&&n<0?(this.flipY=!this.flipY,n*=-1):"shadow"!==e||!n||n instanceof t.Shadow?"dirty"===e&&this.group&&this.group.set("dirty",n):n=new t.Shadow(n),this[e]=n,o&&(i=this.group&&this.group.isOnACache(),this.cacheProperties.indexOf(e)>-1?(this.dirty=!0,i&&this.group.set("dirty",!0)):i&&this.stateProperties.indexOf(e)>-1&&this.group.set("dirty",!0)),this},setOnGroup:function(){},getViewportTransform:function(){return this.canvas&&this.canvas.viewportTransform?this.canvas.viewportTransform:t.iMatrix.concat()},isNotVisible:function(){return 0===this.opacity||!this.width&&!this.height&&0===this.strokeWidth||!this.visible},render:function(e){this.isNotVisible()||this.canvas&&this.canvas.skipOffscreen&&!this.group&&!this.isOnScreen()||(e.save(),this._setupCompositeOperation(e),this.drawSelectionBackground(e),this.transform(e),this._setOpacity(e),this._setShadow(e,this),this.shouldCache()?(this.renderCache(),this.drawCacheOnCanvas(e)):(this._removeCacheCanvas(),this.dirty=!1,this.drawObject(e),this.objectCaching&&this.statefullCache&&this.saveState({propertySet:"cacheProperties"})),e.restore())},renderCache:function(e){e=e||{},this._cacheCanvas&&this._cacheContext||this._createCacheCanvas(),this.isCacheDirty()&&(this.statefullCache&&this.saveState({propertySet:"cacheProperties"}),this.drawObject(this._cacheContext,e.forClipping),this.dirty=!1)},_removeCacheCanvas:function(){this._cacheCanvas=null,this._cacheContext=null,this.cacheWidth=0,this.cacheHeight=0},hasStroke:function(){return this.stroke&&"transparent"!==this.stroke&&0!==this.strokeWidth},hasFill:function(){return this.fill&&"transparent"!==this.fill},needsItsOwnCache:function(){return!("stroke"!==this.paintFirst||!this.hasFill()||!this.hasStroke()||"object"!==typeof this.shadow)||!!this.clipPath},shouldCache:function(){return this.ownCaching=this.needsItsOwnCache()||this.objectCaching&&(!this.group||!this.group.isOnACache()),this.ownCaching},willDrawShadow:function(){return!!this.shadow&&(0!==this.shadow.offsetX||0!==this.shadow.offsetY)},drawClipPathOnCache:function(e,n){if(e.save(),n.inverted?e.globalCompositeOperation="destination-out":e.globalCompositeOperation="destination-in",n.absolutePositioned){var r=t.util.invertTransform(this.calcTransformMatrix());e.transform(r[0],r[1],r[2],r[3],r[4],r[5])}n.transform(e),e.scale(1/n.zoomX,1/n.zoomY),e.drawImage(n._cacheCanvas,-n.cacheTranslationX,-n.cacheTranslationY),e.restore()},drawObject:function(e,t){var n=this.fill,r=this.stroke;t?(this.fill="black",this.stroke="",this._setClippingProperties(e)):this._renderBackground(e),this._render(e),this._drawClipPath(e,this.clipPath),this.fill=n,this.stroke=r},_drawClipPath:function(e,t){t&&(t.canvas=this.canvas,t.shouldCache(),t._transformDone=!0,t.renderCache({forClipping:!0}),this.drawClipPathOnCache(e,t))},drawCacheOnCanvas:function(e){e.scale(1/this.zoomX,1/this.zoomY),e.drawImage(this._cacheCanvas,-this.cacheTranslationX,-this.cacheTranslationY)},isCacheDirty:function(e){if(this.isNotVisible())return!1;if(this._cacheCanvas&&this._cacheContext&&!e&&this._updateCacheCanvas())return!0;if(this.dirty||this.clipPath&&this.clipPath.absolutePositioned||this.statefullCache&&this.hasStateChanged("cacheProperties")){if(this._cacheCanvas&&this._cacheContext&&!e){var t=this.cacheWidth/this.zoomX,n=this.cacheHeight/this.zoomY;this._cacheContext.clearRect(-t/2,-n/2,t,n)}return!0}return!1},_renderBackground:function(e){if(this.backgroundColor){var t=this._getNonTransformedDimensions();e.fillStyle=this.backgroundColor,e.fillRect(-t.x/2,-t.y/2,t.x,t.y),this._removeShadow(e)}},_setOpacity:function(e){this.group&&!this.group._transformDone?e.globalAlpha=this.getObjectOpacity():e.globalAlpha*=this.opacity},_setStrokeStyles:function(e,t){var n=t.stroke;n&&(e.lineWidth=t.strokeWidth,e.lineCap=t.strokeLineCap,e.lineDashOffset=t.strokeDashOffset,e.lineJoin=t.strokeLineJoin,e.miterLimit=t.strokeMiterLimit,n.toLive?"percentage"===n.gradientUnits||n.gradientTransform||n.patternTransform?this._applyPatternForTransformedGradient(e,n):(e.strokeStyle=n.toLive(e,this),this._applyPatternGradientTransform(e,n)):e.strokeStyle=t.stroke)},_setFillStyles:function(e,t){var n=t.fill;n&&(n.toLive?(e.fillStyle=n.toLive(e,this),this._applyPatternGradientTransform(e,t.fill)):e.fillStyle=n)},_setClippingProperties:function(e){e.globalAlpha=1,e.strokeStyle="transparent",e.fillStyle="#000000"},_setLineDash:function(e,t){t&&0!==t.length&&(1&t.length&&t.push.apply(t,t),e.setLineDash(t))},_renderControls:function(e,n){var r,o,i,s=this.getViewportTransform(),l=this.calcTransformMatrix();o="undefined"!==typeof(n=n||{}).hasBorders?n.hasBorders:this.hasBorders,i="undefined"!==typeof n.hasControls?n.hasControls:this.hasControls,l=t.util.multiplyTransformMatrices(s,l),r=t.util.qrDecompose(l),e.save(),e.translate(r.translateX,r.translateY),e.lineWidth=1*this.borderScaleFactor,this.group||(e.globalAlpha=this.isMoving?this.borderOpacityWhenMoving:1),this.flipX&&(r.angle-=180),e.rotate(a(this.group?r.angle:this.angle)),n.forActiveSelection||this.group?o&&this.drawBordersInGroup(e,r,n):o&&this.drawBorders(e,n),i&&this.drawControls(e,n),e.restore()},_setShadow:function(e){if(this.shadow){var n,r=this.shadow,o=this.canvas,i=o&&o.viewportTransform[0]||1,a=o&&o.viewportTransform[3]||1;n=r.nonScaling?{scaleX:1,scaleY:1}:this.getObjectScaling(),o&&o._isRetinaScaling()&&(i*=t.devicePixelRatio,a*=t.devicePixelRatio),e.shadowColor=r.color,e.shadowBlur=r.blur*t.browserShadowBlurConstant*(i+a)*(n.scaleX+n.scaleY)/4,e.shadowOffsetX=r.offsetX*i*n.scaleX,e.shadowOffsetY=r.offsetY*a*n.scaleY}},_removeShadow:function(e){this.shadow&&(e.shadowColor="",e.shadowBlur=e.shadowOffsetX=e.shadowOffsetY=0)},_applyPatternGradientTransform:function(e,t){if(!t||!t.toLive)return{offsetX:0,offsetY:0};var n=t.gradientTransform||t.patternTransform,r=-this.width/2+t.offsetX||0,o=-this.height/2+t.offsetY||0;return"percentage"===t.gradientUnits?e.transform(this.width,0,0,this.height,r,o):e.transform(1,0,0,1,r,o),n&&e.transform(n[0],n[1],n[2],n[3],n[4],n[5]),{offsetX:r,offsetY:o}},_renderPaintInOrder:function(e){"stroke"===this.paintFirst?(this._renderStroke(e),this._renderFill(e)):(this._renderFill(e),this._renderStroke(e))},_render:function(){},_renderFill:function(e){this.fill&&(e.save(),this._setFillStyles(e,this),"evenodd"===this.fillRule?e.fill("evenodd"):e.fill(),e.restore())},_renderStroke:function(e){if(this.stroke&&0!==this.strokeWidth){if(this.shadow&&!this.shadow.affectStroke&&this._removeShadow(e),e.save(),this.strokeUniform&&this.group){var t=this.getObjectScaling();e.scale(1/t.scaleX,1/t.scaleY)}else this.strokeUniform&&e.scale(1/this.scaleX,1/this.scaleY);this._setLineDash(e,this.strokeDashArray),this._setStrokeStyles(e,this),e.stroke(),e.restore()}},_applyPatternForTransformedGradient:function(e,n){var r,o=this._limitCacheSize(this._getCacheCanvasDimensions()),i=t.util.createCanvasElement(),a=this.canvas.getRetinaScaling(),s=o.x/this.scaleX/a,l=o.y/this.scaleY/a;i.width=s,i.height=l,(r=i.getContext("2d")).beginPath(),r.moveTo(0,0),r.lineTo(s,0),r.lineTo(s,l),r.lineTo(0,l),r.closePath(),r.translate(s/2,l/2),r.scale(o.zoomX/this.scaleX/a,o.zoomY/this.scaleY/a),this._applyPatternGradientTransform(r,n),r.fillStyle=n.toLive(e),r.fill(),e.translate(-this.width/2-this.strokeWidth/2,-this.height/2-this.strokeWidth/2),e.scale(a*this.scaleX/o.zoomX,a*this.scaleY/o.zoomY),e.strokeStyle=r.createPattern(i,"no-repeat")},_findCenterFromElement:function(){return{x:this.left+this.width/2,y:this.top+this.height/2}},_assignTransformMatrixProps:function(){if(this.transformMatrix){var e=t.util.qrDecompose(this.transformMatrix);this.flipX=!1,this.flipY=!1,this.set("scaleX",e.scaleX),this.set("scaleY",e.scaleY),this.angle=e.angle,this.skewX=e.skewX,this.skewY=0}},_removeTransformMatrix:function(e){var n=this._findCenterFromElement();this.transformMatrix&&(this._assignTransformMatrixProps(),n=t.util.transformPoint(n,this.transformMatrix)),this.transformMatrix=null,e&&(this.scaleX*=e.scaleX,this.scaleY*=e.scaleY,this.cropX=e.cropX,this.cropY=e.cropY,n.x+=e.offsetLeft,n.y+=e.offsetTop,this.width=e.width,this.height=e.height),this.setPositionByOrigin(n,"center","center")},clone:function(e,n){var r=this.toObject(n);this.constructor.fromObject?this.constructor.fromObject(r,e):t.Object._fromObject("Object",r,e)},cloneAsImage:function(e,n){var r=this.toCanvasElement(n);return e&&e(new t.Image(r)),this},toCanvasElement:function(e){e||(e={});var n=t.util,r=n.saveObjectTransform(this),o=this.group,i=this.shadow,a=Math.abs,s=(e.multiplier||1)*(e.enableRetinaScaling?t.devicePixelRatio:1);delete this.group,e.withoutTransform&&n.resetObjectTransform(this),e.withoutShadow&&(this.shadow=null);var l,c,u,d,p=t.util.createCanvasElement(),f=this.getBoundingRect(!0,!0),h=this.shadow,b={x:0,y:0};h&&(c=h.blur,l=h.nonScaling?{scaleX:1,scaleY:1}:this.getObjectScaling(),b.x=2*Math.round(a(h.offsetX)+c)*a(l.scaleX),b.y=2*Math.round(a(h.offsetY)+c)*a(l.scaleY)),u=f.width+b.x,d=f.height+b.y,p.width=Math.ceil(u),p.height=Math.ceil(d);var A=new t.StaticCanvas(p,{enableRetinaScaling:!1,renderOnAddRemove:!1,skipOffscreen:!1});"jpeg"===e.format&&(A.backgroundColor="#fff"),this.setPositionByOrigin(new t.Point(A.width/2,A.height/2),"center","center");var m=this.canvas;A.add(this);var g=A.toCanvasElement(s||1,e);return this.shadow=i,this.set("canvas",m),o&&(this.group=o),this.set(r).setCoords(),A._objects=[],A.dispose(),A=null,g},toDataURL:function(e){return e||(e={}),t.util.toDataURL(this.toCanvasElement(e),e.format||"png",e.quality||1)},isType:function(e){return arguments.length>1?Array.from(arguments).includes(this.type):this.type===e},complexity:function(){return 1},toJSON:function(e){return this.toObject(e)},rotate:function(e){var t=("center"!==this.originX||"center"!==this.originY)&&this.centeredRotation;return t&&this._setOriginToCenter(),this.set("angle",e),t&&this._resetOrigin(),this},centerH:function(){return this.canvas&&this.canvas.centerObjectH(this),this},viewportCenterH:function(){return this.canvas&&this.canvas.viewportCenterObjectH(this),this},centerV:function(){return this.canvas&&this.canvas.centerObjectV(this),this},viewportCenterV:function(){return this.canvas&&this.canvas.viewportCenterObjectV(this),this},center:function(){return this.canvas&&this.canvas.centerObject(this),this},viewportCenter:function(){return this.canvas&&this.canvas.viewportCenterObject(this),this},getLocalPointer:function(e,n){n=n||this.canvas.getPointer(e);var r=new t.Point(n.x,n.y),o=this._getLeftTopCoords();return this.angle&&(r=t.util.rotatePoint(r,o,a(-this.angle))),{x:r.x-o.x,y:r.y-o.y}},_setupCompositeOperation:function(e){this.globalCompositeOperation&&(e.globalCompositeOperation=this.globalCompositeOperation)},dispose:function(){t.runningAnimations&&t.runningAnimations.cancelByTarget(this)}}),t.util.createAccessors&&t.util.createAccessors(t.Object),n(t.Object.prototype,t.Observable),t.Object.NUM_FRACTION_DIGITS=2,t.Object.ENLIVEN_PROPS=["clipPath"],t.Object._fromObject=function(e,n,o,i){var a=t[e];n=r(n,!0),t.util.enlivenPatterns([n.fill,n.stroke],(function(e){"undefined"!==typeof e[0]&&(n.fill=e[0]),"undefined"!==typeof e[1]&&(n.stroke=e[1]),t.util.enlivenObjectEnlivables(n,n,(function(){var e=i?new a(n[i],n):new a(n);o&&o(e)}))}))},t.Object.__uid=0)}(t),function(){var e=o.util.degreesToRadians,t={left:-.5,center:0,right:.5},n={top:-.5,center:0,bottom:.5};o.util.object.extend(o.Object.prototype,{translateToGivenOrigin:function(e,r,i,a,s){var l,c,u,d=e.x,p=e.y;return"string"===typeof r?r=t[r]:r-=.5,"string"===typeof a?a=t[a]:a-=.5,"string"===typeof i?i=n[i]:i-=.5,"string"===typeof s?s=n[s]:s-=.5,c=s-i,((l=a-r)||c)&&(u=this._getTransformedDimensions(),d=e.x+l*u.x,p=e.y+c*u.y),new o.Point(d,p)},translateToCenterPoint:function(t,n,r){var i=this.translateToGivenOrigin(t,n,r,"center","center");return this.angle?o.util.rotatePoint(i,t,e(this.angle)):i},translateToOriginPoint:function(t,n,r){var i=this.translateToGivenOrigin(t,"center","center",n,r);return this.angle?o.util.rotatePoint(i,t,e(this.angle)):i},getCenterPoint:function(){var e=new o.Point(this.left,this.top);return this.translateToCenterPoint(e,this.originX,this.originY)},getPointByOrigin:function(e,t){var n=this.getCenterPoint();return this.translateToOriginPoint(n,e,t)},toLocalPoint:function(t,n,r){var i,a,s=this.getCenterPoint();return i="undefined"!==typeof n&&"undefined"!==typeof r?this.translateToGivenOrigin(s,"center","center",n,r):new o.Point(this.left,this.top),a=new o.Point(t.x,t.y),this.angle&&(a=o.util.rotatePoint(a,s,-e(this.angle))),a.subtractEquals(i)},setPositionByOrigin:function(e,t,n){var r=this.translateToCenterPoint(e,t,n),o=this.translateToOriginPoint(r,this.originX,this.originY);this.set("left",o.x),this.set("top",o.y)},adjustPosition:function(n){var r,i,a=e(this.angle),s=this.getScaledWidth(),l=o.util.cos(a)*s,c=o.util.sin(a)*s;r="string"===typeof this.originX?t[this.originX]:this.originX-.5,i="string"===typeof n?t[n]:n-.5,this.left+=l*(i-r),this.top+=c*(i-r),this.setCoords(),this.originX=n},_setOriginToCenter:function(){this._originalOriginX=this.originX,this._originalOriginY=this.originY;var e=this.getCenterPoint();this.originX="center",this.originY="center",this.left=e.x,this.top=e.y},_resetOrigin:function(){var e=this.translateToOriginPoint(this.getCenterPoint(),this._originalOriginX,this._originalOriginY);this.originX=this._originalOriginX,this.originY=this._originalOriginY,this.left=e.x,this.top=e.y,this._originalOriginX=null,this._originalOriginY=null},_getLeftTopCoords:function(){return this.translateToOriginPoint(this.getCenterPoint(),"left","top")}})}(),function(){var e=o.util,t=e.degreesToRadians,n=e.multiplyTransformMatrices,r=e.transformPoint;e.object.extend(o.Object.prototype,{oCoords:null,aCoords:null,lineCoords:null,ownMatrixCache:null,matrixCache:null,controls:{},_getCoords:function(e,t){return t?e?this.calcACoords():this.calcLineCoords():(this.aCoords&&this.lineCoords||this.setCoords(!0),e?this.aCoords:this.lineCoords)},getCoords:function(e,t){return n=this._getCoords(e,t),[new o.Point(n.tl.x,n.tl.y),new o.Point(n.tr.x,n.tr.y),new o.Point(n.br.x,n.br.y),new o.Point(n.bl.x,n.bl.y)];var n},intersectsWithRect:function(e,t,n,r){var i=this.getCoords(n,r);return"Intersection"===o.Intersection.intersectPolygonRectangle(i,e,t).status},intersectsWithObject:function(e,t,n){return"Intersection"===o.Intersection.intersectPolygonPolygon(this.getCoords(t,n),e.getCoords(t,n)).status||e.isContainedWithinObject(this,t,n)||this.isContainedWithinObject(e,t,n)},isContainedWithinObject:function(e,t,n){for(var r=this.getCoords(t,n),o=t?e.aCoords:e.lineCoords,i=0,a=e._getImageLines(o);i<4;i++)if(!e.containsPoint(r[i],a))return!1;return!0},isContainedWithinRect:function(e,t,n,r){var o=this.getBoundingRect(n,r);return o.left>=e.x&&o.left+o.width<=t.x&&o.top>=e.y&&o.top+o.height<=t.y},containsPoint:function(e,t,n,r){var o=this._getCoords(n,r),i=(t=t||this._getImageLines(o),this._findCrossPoints(e,t));return 0!==i&&i%2===1},isOnScreen:function(e){if(!this.canvas)return!1;var t=this.canvas.vptCoords.tl,n=this.canvas.vptCoords.br;return!!this.getCoords(!0,e).some((function(e){return e.x<=n.x&&e.x>=t.x&&e.y<=n.y&&e.y>=t.y}))||(!!this.intersectsWithRect(t,n,!0,e)||this._containsCenterOfCanvas(t,n,e))},_containsCenterOfCanvas:function(e,t,n){var r={x:(e.x+t.x)/2,y:(e.y+t.y)/2};return!!this.containsPoint(r,null,!0,n)},isPartiallyOnScreen:function(e){if(!this.canvas)return!1;var t=this.canvas.vptCoords.tl,n=this.canvas.vptCoords.br;return!!this.intersectsWithRect(t,n,!0,e)||this.getCoords(!0,e).every((function(e){return(e.x>=n.x||e.x<=t.x)&&(e.y>=n.y||e.y<=t.y)}))&&this._containsCenterOfCanvas(t,n,e)},_getImageLines:function(e){return{topline:{o:e.tl,d:e.tr},rightline:{o:e.tr,d:e.br},bottomline:{o:e.br,d:e.bl},leftline:{o:e.bl,d:e.tl}}},_findCrossPoints:function(e,t){var n,r,o,i=0;for(var a in t)if(!((o=t[a]).o.y<e.y&&o.d.y<e.y)&&!(o.o.y>=e.y&&o.d.y>=e.y)&&(o.o.x===o.d.x&&o.o.x>=e.x?r=o.o.x:(0,n=(o.d.y-o.o.y)/(o.d.x-o.o.x),r=-(e.y-0*e.x-(o.o.y-n*o.o.x))/(0-n)),r>=e.x&&(i+=1),2===i))break;return i},getBoundingRect:function(t,n){var r=this.getCoords(t,n);return e.makeBoundingBoxFromPoints(r)},getScaledWidth:function(){return this._getTransformedDimensions().x},getScaledHeight:function(){return this._getTransformedDimensions().y},_constrainScale:function(e){return Math.abs(e)<this.minScaleLimit?e<0?-this.minScaleLimit:this.minScaleLimit:0===e?1e-4:e},scale:function(e){return this._set("scaleX",e),this._set("scaleY",e),this.setCoords()},scaleToWidth:function(e,t){var n=this.getBoundingRect(t).width/this.getScaledWidth();return this.scale(e/this.width/n)},scaleToHeight:function(e,t){var n=this.getBoundingRect(t).height/this.getScaledHeight();return this.scale(e/this.height/n)},calcLineCoords:function(){var n=this.getViewportTransform(),o=this.padding,i=t(this.angle),a=e.cos(i)*o,s=e.sin(i)*o,l=a+s,c=a-s,u=this.calcACoords(),d={tl:r(u.tl,n),tr:r(u.tr,n),bl:r(u.bl,n),br:r(u.br,n)};return o&&(d.tl.x-=c,d.tl.y-=l,d.tr.x+=l,d.tr.y-=c,d.bl.x-=l,d.bl.y+=c,d.br.x+=c,d.br.y+=l),d},calcOCoords:function(){var e=this._calcRotateMatrix(),t=this._calcTranslateMatrix(),r=this.getViewportTransform(),o=n(r,t),i=n(o,e),a=(i=n(i,[1/r[0],0,0,1/r[3],0,0]),this._calculateCurrentDimensions()),s={};return this.forEachControl((function(e,t,n){s[t]=e.positionHandler(a,i,n)})),s},calcACoords:function(){var e=this._calcRotateMatrix(),t=this._calcTranslateMatrix(),o=n(t,e),i=this._getTransformedDimensions(),a=i.x/2,s=i.y/2;return{tl:r({x:-a,y:-s},o),tr:r({x:a,y:-s},o),bl:r({x:-a,y:s},o),br:r({x:a,y:s},o)}},setCoords:function(e){return this.aCoords=this.calcACoords(),this.lineCoords=this.group?this.aCoords:this.calcLineCoords(),e||(this.oCoords=this.calcOCoords(),this._setCornerCoords&&this._setCornerCoords()),this},_calcRotateMatrix:function(){return e.calcRotateMatrix(this)},_calcTranslateMatrix:function(){var e=this.getCenterPoint();return[1,0,0,1,e.x,e.y]},transformMatrixKey:function(e){var t="_",n="";return!e&&this.group&&(n=this.group.transformMatrixKey(e)+t),n+this.top+t+this.left+t+this.scaleX+t+this.scaleY+t+this.skewX+t+this.skewY+t+this.angle+t+this.originX+t+this.originY+t+this.width+t+this.height+t+this.strokeWidth+this.flipX+this.flipY},calcTransformMatrix:function(e){var t=this.calcOwnMatrix();if(e||!this.group)return t;var r=this.transformMatrixKey(e),o=this.matrixCache||(this.matrixCache={});return o.key===r?o.value:(this.group&&(t=n(this.group.calcTransformMatrix(!1),t)),o.key=r,o.value=t,t)},calcOwnMatrix:function(){var t=this.transformMatrixKey(!0),n=this.ownMatrixCache||(this.ownMatrixCache={});if(n.key===t)return n.value;var r=this._calcTranslateMatrix(),o={angle:this.angle,translateX:r[4],translateY:r[5],scaleX:this.scaleX,scaleY:this.scaleY,skewX:this.skewX,skewY:this.skewY,flipX:this.flipX,flipY:this.flipY};return n.key=t,n.value=e.composeMatrix(o),n.value},_getNonTransformedDimensions:function(){var e=this.strokeWidth;return{x:this.width+e,y:this.height+e}},_getTransformedDimensions:function(t,n){"undefined"===typeof t&&(t=this.skewX),"undefined"===typeof n&&(n=this.skewY);var r,o,i,a=0===t&&0===n;if(this.strokeUniform?(o=this.width,i=this.height):(o=(r=this._getNonTransformedDimensions()).x,i=r.y),a)return this._finalizeDimensions(o*this.scaleX,i*this.scaleY);var s=e.sizeAfterTransform(o,i,{scaleX:this.scaleX,scaleY:this.scaleY,skewX:t,skewY:n});return this._finalizeDimensions(s.x,s.y)},_finalizeDimensions:function(e,t){return this.strokeUniform?{x:e+this.strokeWidth,y:t+this.strokeWidth}:{x:e,y:t}},_calculateCurrentDimensions:function(){var e=this.getViewportTransform(),t=this._getTransformedDimensions();return r(t,e,!0).scalarAdd(2*this.padding)}})}(),o.util.object.extend(o.Object.prototype,{sendToBack:function(){return this.group?o.StaticCanvas.prototype.sendToBack.call(this.group,this):this.canvas&&this.canvas.sendToBack(this),this},bringToFront:function(){return this.group?o.StaticCanvas.prototype.bringToFront.call(this.group,this):this.canvas&&this.canvas.bringToFront(this),this},sendBackwards:function(e){return this.group?o.StaticCanvas.prototype.sendBackwards.call(this.group,this,e):this.canvas&&this.canvas.sendBackwards(this,e),this},bringForward:function(e){return this.group?o.StaticCanvas.prototype.bringForward.call(this.group,this,e):this.canvas&&this.canvas.bringForward(this,e),this},moveTo:function(e){return this.group&&"activeSelection"!==this.group.type?o.StaticCanvas.prototype.moveTo.call(this.group,this,e):this.canvas&&this.canvas.moveTo(this,e),this}}),function(){function e(e,t){if(t){if(t.toLive)return e+": url(#SVGID_"+t.id+"); ";var n=new o.Color(t),r=e+": "+n.toRgb()+"; ",i=n.getAlpha();return 1!==i&&(r+=e+"-opacity: "+i.toString()+"; "),r}return e+": none; "}var t=o.util.toFixed;o.util.object.extend(o.Object.prototype,{getSvgStyles:function(t){var n=this.fillRule?this.fillRule:"nonzero",r=this.strokeWidth?this.strokeWidth:"0",o=this.strokeDashArray?this.strokeDashArray.join(" "):"none",i=this.strokeDashOffset?this.strokeDashOffset:"0",a=this.strokeLineCap?this.strokeLineCap:"butt",s=this.strokeLineJoin?this.strokeLineJoin:"miter",l=this.strokeMiterLimit?this.strokeMiterLimit:"4",c="undefined"!==typeof this.opacity?this.opacity:"1",u=this.visible?"":" visibility: hidden;",d=t?"":this.getSvgFilter(),p=e("fill",this.fill);return[e("stroke",this.stroke),"stroke-width: ",r,"; ","stroke-dasharray: ",o,"; ","stroke-linecap: ",a,"; ","stroke-dashoffset: ",i,"; ","stroke-linejoin: ",s,"; ","stroke-miterlimit: ",l,"; ",p,"fill-rule: ",n,"; ","opacity: ",c,";",d,u].join("")},getSvgSpanStyles:function(t,n){var r="; ",o=t.fontFamily?"font-family: "+(-1===t.fontFamily.indexOf("'")&&-1===t.fontFamily.indexOf('"')?"'"+t.fontFamily+"'":t.fontFamily)+r:"",i=t.strokeWidth?"stroke-width: "+t.strokeWidth+r:"",a=(o=o,t.fontSize?"font-size: "+t.fontSize+"px"+r:""),s=t.fontStyle?"font-style: "+t.fontStyle+r:"",l=t.fontWeight?"font-weight: "+t.fontWeight+r:"",c=t.fill?e("fill",t.fill):"",u=t.stroke?e("stroke",t.stroke):"",d=this.getSvgTextDecoration(t);return d&&(d="text-decoration: "+d+r),[u,i,o,a,s,l,d,c,t.deltaY?"baseline-shift: "+-t.deltaY+"; ":"",n?"white-space: pre; ":""].join("")},getSvgTextDecoration:function(e){return["overline","underline","line-through"].filter((function(t){return e[t.replace("-","")]})).join(" ")},getSvgFilter:function(){return this.shadow?"filter: url(#SVGID_"+this.shadow.id+");":""},getSvgCommons:function(){return[this.id?'id="'+this.id+'" ':"",this.clipPath?'clip-path="url(#'+this.clipPath.clipPathId+')" ':""].join("")},getSvgTransform:function(e,t){var n=e?this.calcTransformMatrix():this.calcOwnMatrix();return'transform="'+o.util.matrixToSVG(n)+(t||"")+'" '},_setSVGBg:function(e){if(this.backgroundColor){var n=o.Object.NUM_FRACTION_DIGITS;e.push("\t\t<rect ",this._getFillAttributes(this.backgroundColor),' x="',t(-this.width/2,n),'" y="',t(-this.height/2,n),'" width="',t(this.width,n),'" height="',t(this.height,n),'"></rect>\n')}},toSVG:function(e){return this._createBaseSVGMarkup(this._toSVG(e),{reviver:e})},toClipPathSVG:function(e){return"\t"+this._createBaseClipPathSVGMarkup(this._toSVG(e),{reviver:e})},_createBaseClipPathSVGMarkup:function(e,t){var n=(t=t||{}).reviver,r=t.additionalTransform||"",o=[this.getSvgTransform(!0,r),this.getSvgCommons()].join(""),i=e.indexOf("COMMON_PARTS");return e[i]=o,n?n(e.join("")):e.join("")},_createBaseSVGMarkup:function(e,t){var n,r,i=(t=t||{}).noStyle,a=t.reviver,s=i?"":'style="'+this.getSvgStyles()+'" ',l=t.withShadow?'style="'+this.getSvgFilter()+'" ':"",c=this.clipPath,u=this.strokeUniform?'vector-effect="non-scaling-stroke" ':"",d=c&&c.absolutePositioned,p=this.stroke,f=this.fill,h=this.shadow,b=[],A=e.indexOf("COMMON_PARTS"),m=t.additionalTransform;return c&&(c.clipPathId="CLIPPATH_"+o.Object.__uid++,r='<clipPath id="'+c.clipPathId+'" >\n'+c.toClipPathSVG(a)+"</clipPath>\n"),d&&b.push("<g ",l,this.getSvgCommons()," >\n"),b.push("<g ",this.getSvgTransform(!1),d?"":l+this.getSvgCommons()," >\n"),n=[s,u,i?"":this.addPaintOrder()," ",m?'transform="'+m+'" ':""].join(""),e[A]=n,f&&f.toLive&&b.push(f.toSVG(this)),p&&p.toLive&&b.push(p.toSVG(this)),h&&b.push(h.toSVG(this)),c&&b.push(r),b.push(e.join("")),b.push("</g>\n"),d&&b.push("</g>\n"),a?a(b.join("")):b.join("")},addPaintOrder:function(){return"fill"!==this.paintFirst?' paint-order="'+this.paintFirst+'" ':""}})}(),function(){var e=o.util.object.extend,t="stateProperties";function n(t,n,r){var o={};r.forEach((function(e){o[e]=t[e]})),e(t[n],o,!0)}function r(e,t,n){if(e===t)return!0;if(Array.isArray(e)){if(!Array.isArray(t)||e.length!==t.length)return!1;for(var o=0,i=e.length;o<i;o++)if(!r(e[o],t[o]))return!1;return!0}if(e&&"object"===typeof e){var a,s=Object.keys(e);if(!t||"object"!==typeof t||!n&&s.length!==Object.keys(t).length)return!1;for(o=0,i=s.length;o<i;o++)if("canvas"!==(a=s[o])&&"group"!==a&&!r(e[a],t[a]))return!1;return!0}}o.util.object.extend(o.Object.prototype,{hasStateChanged:function(e){var n="_"+(e=e||t);return Object.keys(this[n]).length<this[e].length||!r(this[n],this,!0)},saveState:function(e){var r=e&&e.propertySet||t,o="_"+r;return this[o]?(n(this,o,this[r]),e&&e.stateProperties&&n(this,o,e.stateProperties),this):this.setupState(e)},setupState:function(e){var n=(e=e||{}).propertySet||t;return e.propertySet=n,this["_"+n]={},this.saveState(e),this}})}(),function(){var e=o.util.degreesToRadians;o.util.object.extend(o.Object.prototype,{_findTargetCorner:function(e,t){if(!this.hasControls||this.group||!this.canvas||this.canvas._activeObject!==this)return!1;var n,r,o,i=e.x,a=e.y,s=Object.keys(this.oCoords),l=s.length-1;for(this.__corner=0;l>=0;l--)if(o=s[l],this.isControlVisible(o)&&(r=this._getImageLines(t?this.oCoords[o].touchCorner:this.oCoords[o].corner),0!==(n=this._findCrossPoints({x:i,y:a},r))&&n%2===1))return this.__corner=o,o;return!1},forEachControl:function(e){for(var t in this.controls)e(this.controls[t],t,this)},_setCornerCoords:function(){var e=this.oCoords;for(var t in e){var n=this.controls[t];e[t].corner=n.calcCornerCoords(this.angle,this.cornerSize,e[t].x,e[t].y,!1),e[t].touchCorner=n.calcCornerCoords(this.angle,this.touchCornerSize,e[t].x,e[t].y,!0)}},drawSelectionBackground:function(t){if(!this.selectionBackgroundColor||this.canvas&&!this.canvas.interactive||this.canvas&&this.canvas._activeObject!==this)return this;t.save();var n=this.getCenterPoint(),r=this._calculateCurrentDimensions(),o=this.canvas.viewportTransform;return t.translate(n.x,n.y),t.scale(1/o[0],1/o[3]),t.rotate(e(this.angle)),t.fillStyle=this.selectionBackgroundColor,t.fillRect(-r.x/2,-r.y/2,r.x,r.y),t.restore(),this},drawBorders:function(e,t){t=t||{};var n=this._calculateCurrentDimensions(),r=this.borderScaleFactor,o=n.x+r,i=n.y+r,a="undefined"!==typeof t.hasControls?t.hasControls:this.hasControls,s=!1;return e.save(),e.strokeStyle=t.borderColor||this.borderColor,this._setLineDash(e,t.borderDashArray||this.borderDashArray),e.strokeRect(-o/2,-i/2,o,i),a&&(e.beginPath(),this.forEachControl((function(t,n,r){t.withConnection&&t.getVisibility(r,n)&&(s=!0,e.moveTo(t.x*o,t.y*i),e.lineTo(t.x*o+t.offsetX,t.y*i+t.offsetY))})),s&&e.stroke()),e.restore(),this},drawBordersInGroup:function(e,t,n){n=n||{};var r=o.util.sizeAfterTransform(this.width,this.height,t),i=this.strokeWidth,a=this.strokeUniform,s=this.borderScaleFactor,l=r.x+i*(a?this.canvas.getZoom():t.scaleX)+s,c=r.y+i*(a?this.canvas.getZoom():t.scaleY)+s;return e.save(),this._setLineDash(e,n.borderDashArray||this.borderDashArray),e.strokeStyle=n.borderColor||this.borderColor,e.strokeRect(-l/2,-c/2,l,c),e.restore(),this},drawControls:function(e,t){t=t||{},e.save();var n,r,i=this.canvas.getRetinaScaling();return e.setTransform(i,0,0,i,0,0),e.strokeStyle=e.fillStyle=t.cornerColor||this.cornerColor,this.transparentCorners||(e.strokeStyle=t.cornerStrokeColor||this.cornerStrokeColor),this._setLineDash(e,t.cornerDashArray||this.cornerDashArray),this.setCoords(),this.group&&(n=this.group.calcTransformMatrix()),this.forEachControl((function(i,a,s){r=s.oCoords[a],i.getVisibility(s,a)&&(n&&(r=o.util.transformPoint(r,n)),i.render(e,r.x,r.y,t,s))})),e.restore(),this},isControlVisible:function(e){return this.controls[e]&&this.controls[e].getVisibility(this,e)},setControlVisible:function(e,t){return this._controlsVisibility||(this._controlsVisibility={}),this._controlsVisibility[e]=t,this},setControlsVisibility:function(e){for(var t in e||(e={}),e)this.setControlVisible(t,e[t]);return this},onDeselect:function(){},onSelect:function(){}})}(),o.util.object.extend(o.StaticCanvas.prototype,{FX_DURATION:500,fxCenterObjectH:function(e,t){var n=function(){},r=(t=t||{}).onComplete||n,i=t.onChange||n,a=this;return o.util.animate({target:this,startValue:e.left,endValue:this.getCenterPoint().x,duration:this.FX_DURATION,onChange:function(t){e.set("left",t),a.requestRenderAll(),i()},onComplete:function(){e.setCoords(),r()}})},fxCenterObjectV:function(e,t){var n=function(){},r=(t=t||{}).onComplete||n,i=t.onChange||n,a=this;return o.util.animate({target:this,startValue:e.top,endValue:this.getCenterPoint().y,duration:this.FX_DURATION,onChange:function(t){e.set("top",t),a.requestRenderAll(),i()},onComplete:function(){e.setCoords(),r()}})},fxRemove:function(e,t){var n=function(){},r=(t=t||{}).onComplete||n,i=t.onChange||n,a=this;return o.util.animate({target:this,startValue:e.opacity,endValue:0,duration:this.FX_DURATION,onChange:function(t){e.set("opacity",t),a.requestRenderAll(),i()},onComplete:function(){a.remove(e),r()}})}}),o.util.object.extend(o.Object.prototype,{animate:function(){if(arguments[0]&&"object"===typeof arguments[0]){var e,t,n=[],r=[];for(e in arguments[0])n.push(e);for(var o=0,i=n.length;o<i;o++)e=n[o],t=o!==i-1,r.push(this._animate(e,arguments[0][e],arguments[1],t));return r}return this._animate.apply(this,arguments)},_animate:function(e,t,n,r){var i,a=this;t=t.toString(),n=n?o.util.object.clone(n):{},~e.indexOf(".")&&(i=e.split("."));var s=a.colorProperties.indexOf(e)>-1||i&&a.colorProperties.indexOf(i[1])>-1,l=i?this.get(i[0])[i[1]]:this.get(e);"from"in n||(n.from=l),s||(t=~t.indexOf("=")?l+parseFloat(t.replace("=","")):parseFloat(t));var c={target:this,startValue:n.from,endValue:t,byValue:n.by,easing:n.easing,duration:n.duration,abort:n.abort&&function(e,t,r){return n.abort.call(a,e,t,r)},onChange:function(t,o,s){i?a[i[0]][i[1]]=t:a.set(e,t),r||n.onChange&&n.onChange(t,o,s)},onComplete:function(e,t,o){r||(a.setCoords(),n.onComplete&&n.onComplete(e,t,o))}};return s?o.util.animateColor(c.startValue,c.endValue,c.duration,c):o.util.animate(c)}}),function(e){"use strict";var t=e.fabric||(e.fabric={}),n=t.util.object.extend,r=t.util.object.clone,o={x1:1,x2:1,y1:1,y2:1};function i(e,t){var n=e.origin,r=e.axis1,o=e.axis2,i=e.dimension,a=t.nearest,s=t.center,l=t.farthest;return function(){switch(this.get(n)){case a:return Math.min(this.get(r),this.get(o));case s:return Math.min(this.get(r),this.get(o))+.5*this.get(i);case l:return Math.max(this.get(r),this.get(o))}}}t.Line?t.warn("fabric.Line is already defined"):(t.Line=t.util.createClass(t.Object,{type:"line",x1:0,y1:0,x2:0,y2:0,cacheProperties:t.Object.prototype.cacheProperties.concat("x1","x2","y1","y2"),initialize:function(e,t){e||(e=[0,0,0,0]),this.callSuper("initialize",t),this.set("x1",e[0]),this.set("y1",e[1]),this.set("x2",e[2]),this.set("y2",e[3]),this._setWidthHeight(t)},_setWidthHeight:function(e){e||(e={}),this.width=Math.abs(this.x2-this.x1),this.height=Math.abs(this.y2-this.y1),this.left="left"in e?e.left:this._getLeftToOriginX(),this.top="top"in e?e.top:this._getTopToOriginY()},_set:function(e,t){return this.callSuper("_set",e,t),"undefined"!==typeof o[e]&&this._setWidthHeight(),this},_getLeftToOriginX:i({origin:"originX",axis1:"x1",axis2:"x2",dimension:"width"},{nearest:"left",center:"center",farthest:"right"}),_getTopToOriginY:i({origin:"originY",axis1:"y1",axis2:"y2",dimension:"height"},{nearest:"top",center:"center",farthest:"bottom"}),_render:function(e){e.beginPath();var t=this.calcLinePoints();e.moveTo(t.x1,t.y1),e.lineTo(t.x2,t.y2),e.lineWidth=this.strokeWidth;var n=e.strokeStyle;e.strokeStyle=this.stroke||e.fillStyle,this.stroke&&this._renderStroke(e),e.strokeStyle=n},_findCenterFromElement:function(){return{x:(this.x1+this.x2)/2,y:(this.y1+this.y2)/2}},toObject:function(e){return n(this.callSuper("toObject",e),this.calcLinePoints())},_getNonTransformedDimensions:function(){var e=this.callSuper("_getNonTransformedDimensions");return"butt"===this.strokeLineCap&&(0===this.width&&(e.y-=this.strokeWidth),0===this.height&&(e.x-=this.strokeWidth)),e},calcLinePoints:function(){var e=this.x1<=this.x2?-1:1,t=this.y1<=this.y2?-1:1,n=e*this.width*.5,r=t*this.height*.5;return{x1:n,x2:e*this.width*-.5,y1:r,y2:t*this.height*-.5}},_toSVG:function(){var e=this.calcLinePoints();return["<line ","COMMON_PARTS",'x1="',e.x1,'" y1="',e.y1,'" x2="',e.x2,'" y2="',e.y2,'" />\n']}}),t.Line.ATTRIBUTE_NAMES=t.SHARED_ATTRIBUTES.concat("x1 y1 x2 y2".split(" ")),t.Line.fromElement=function(e,r,o){o=o||{};var i=t.parseAttributes(e,t.Line.ATTRIBUTE_NAMES),a=[i.x1||0,i.y1||0,i.x2||0,i.y2||0];r(new t.Line(a,n(i,o)))},t.Line.fromObject=function(e,n){var o=r(e,!0);o.points=[e.x1,e.y1,e.x2,e.y2],t.Object._fromObject("Line",o,(function(e){delete e.points,n&&n(e)}),"points")})}(t),function(e){"use strict";var t=e.fabric||(e.fabric={}),n=t.util.degreesToRadians;t.Circle?t.warn("fabric.Circle is already defined."):(t.Circle=t.util.createClass(t.Object,{type:"circle",radius:0,startAngle:0,endAngle:360,cacheProperties:t.Object.prototype.cacheProperties.concat("radius","startAngle","endAngle"),_set:function(e,t){return this.callSuper("_set",e,t),"radius"===e&&this.setRadius(t),this},toObject:function(e){return this.callSuper("toObject",["radius","startAngle","endAngle"].concat(e))},_toSVG:function(){var e,r=(this.endAngle-this.startAngle)%360;if(0===r)e=["<circle ","COMMON_PARTS",'cx="0" cy="0" ','r="',this.radius,'" />\n'];else{var o=n(this.startAngle),i=n(this.endAngle),a=this.radius;e=['<path d="M '+t.util.cos(o)*a+" "+t.util.sin(o)*a," A "+a+" "+a," 0 ",+(r>180?"1":"0")+" 1"," "+t.util.cos(i)*a+" "+t.util.sin(i)*a,'" ',"COMMON_PARTS"," />\n"]}return e},_render:function(e){e.beginPath(),e.arc(0,0,this.radius,n(this.startAngle),n(this.endAngle),!1),this._renderPaintInOrder(e)},getRadiusX:function(){return this.get("radius")*this.get("scaleX")},getRadiusY:function(){return this.get("radius")*this.get("scaleY")},setRadius:function(e){return this.radius=e,this.set("width",2*e).set("height",2*e)}}),t.Circle.ATTRIBUTE_NAMES=t.SHARED_ATTRIBUTES.concat("cx cy r".split(" ")),t.Circle.fromElement=function(e,n){var r,o=t.parseAttributes(e,t.Circle.ATTRIBUTE_NAMES);if(!("radius"in(r=o)&&r.radius>=0))throw new Error("value of `r` attribute is required and can not be negative");o.left=(o.left||0)-o.radius,o.top=(o.top||0)-o.radius,n(new t.Circle(o))},t.Circle.fromObject=function(e,n){t.Object._fromObject("Circle",e,n)})}(t),function(e){"use strict";var t=e.fabric||(e.fabric={});t.Triangle?t.warn("fabric.Triangle is already defined"):(t.Triangle=t.util.createClass(t.Object,{type:"triangle",width:100,height:100,_render:function(e){var t=this.width/2,n=this.height/2;e.beginPath(),e.moveTo(-t,n),e.lineTo(0,-n),e.lineTo(t,n),e.closePath(),this._renderPaintInOrder(e)},_toSVG:function(){var e=this.width/2,t=this.height/2;return["<polygon ","COMMON_PARTS",'points="',[-e+" "+t,"0 "+-t,e+" "+t].join(","),'" />']}}),t.Triangle.fromObject=function(e,n){return t.Object._fromObject("Triangle",e,n)})}(t),function(e){"use strict";var t=e.fabric||(e.fabric={}),n=2*Math.PI;t.Ellipse?t.warn("fabric.Ellipse is already defined."):(t.Ellipse=t.util.createClass(t.Object,{type:"ellipse",rx:0,ry:0,cacheProperties:t.Object.prototype.cacheProperties.concat("rx","ry"),initialize:function(e){this.callSuper("initialize",e),this.set("rx",e&&e.rx||0),this.set("ry",e&&e.ry||0)},_set:function(e,t){switch(this.callSuper("_set",e,t),e){case"rx":this.rx=t,this.set("width",2*t);break;case"ry":this.ry=t,this.set("height",2*t)}return this},getRx:function(){return this.get("rx")*this.get("scaleX")},getRy:function(){return this.get("ry")*this.get("scaleY")},toObject:function(e){return this.callSuper("toObject",["rx","ry"].concat(e))},_toSVG:function(){return["<ellipse ","COMMON_PARTS",'cx="0" cy="0" ','rx="',this.rx,'" ry="',this.ry,'" />\n']},_render:function(e){e.beginPath(),e.save(),e.transform(1,0,0,this.ry/this.rx,0,0),e.arc(0,0,this.rx,0,n,!1),e.restore(),this._renderPaintInOrder(e)}}),t.Ellipse.ATTRIBUTE_NAMES=t.SHARED_ATTRIBUTES.concat("cx cy rx ry".split(" ")),t.Ellipse.fromElement=function(e,n){var r=t.parseAttributes(e,t.Ellipse.ATTRIBUTE_NAMES);r.left=(r.left||0)-r.rx,r.top=(r.top||0)-r.ry,n(new t.Ellipse(r))},t.Ellipse.fromObject=function(e,n){t.Object._fromObject("Ellipse",e,n)})}(t),function(e){"use strict";var t=e.fabric||(e.fabric={}),n=t.util.object.extend;t.Rect?t.warn("fabric.Rect is already defined"):(t.Rect=t.util.createClass(t.Object,{stateProperties:t.Object.prototype.stateProperties.concat("rx","ry"),type:"rect",rx:0,ry:0,cacheProperties:t.Object.prototype.cacheProperties.concat("rx","ry"),initialize:function(e){this.callSuper("initialize",e),this._initRxRy()},_initRxRy:function(){this.rx&&!this.ry?this.ry=this.rx:this.ry&&!this.rx&&(this.rx=this.ry)},_render:function(e){var t=this.rx?Math.min(this.rx,this.width/2):0,n=this.ry?Math.min(this.ry,this.height/2):0,r=this.width,o=this.height,i=-this.width/2,a=-this.height/2,s=0!==t||0!==n,l=.4477152502;e.beginPath(),e.moveTo(i+t,a),e.lineTo(i+r-t,a),s&&e.bezierCurveTo(i+r-l*t,a,i+r,a+l*n,i+r,a+n),e.lineTo(i+r,a+o-n),s&&e.bezierCurveTo(i+r,a+o-l*n,i+r-l*t,a+o,i+r-t,a+o),e.lineTo(i+t,a+o),s&&e.bezierCurveTo(i+l*t,a+o,i,a+o-l*n,i,a+o-n),e.lineTo(i,a+n),s&&e.bezierCurveTo(i,a+l*n,i+l*t,a,i+t,a),e.closePath(),this._renderPaintInOrder(e)},toObject:function(e){return this.callSuper("toObject",["rx","ry"].concat(e))},_toSVG:function(){return["<rect ","COMMON_PARTS",'x="',-this.width/2,'" y="',-this.height/2,'" rx="',this.rx,'" ry="',this.ry,'" width="',this.width,'" height="',this.height,'" />\n']}}),t.Rect.ATTRIBUTE_NAMES=t.SHARED_ATTRIBUTES.concat("x y rx ry width height".split(" ")),t.Rect.fromElement=function(e,r,o){if(!e)return r(null);o=o||{};var i=t.parseAttributes(e,t.Rect.ATTRIBUTE_NAMES);i.left=i.left||0,i.top=i.top||0,i.height=i.height||0,i.width=i.width||0;var a=new t.Rect(n(o?t.util.object.clone(o):{},i));a.visible=a.visible&&a.width>0&&a.height>0,r(a)},t.Rect.fromObject=function(e,n){return t.Object._fromObject("Rect",e,n)})}(t),function(e){"use strict";var t=e.fabric||(e.fabric={}),n=t.util.object.extend,r=t.util.array.min,o=t.util.array.max,i=t.util.toFixed,a=t.util.projectStrokeOnPoints;t.Polyline?t.warn("fabric.Polyline is already defined"):(t.Polyline=t.util.createClass(t.Object,{type:"polyline",points:null,exactBoundingBox:!1,cacheProperties:t.Object.prototype.cacheProperties.concat("points"),initialize:function(e,t){t=t||{},this.points=e||[],this.callSuper("initialize",t),this._setPositionDimensions(t)},_projectStrokeOnPoints:function(){return a(this.points,this,!0)},_setPositionDimensions:function(e){var t,n=this._calcDimensions(e),r=this.exactBoundingBox?this.strokeWidth:0;this.width=n.width-r,this.height=n.height-r,e.fromSVG||(t=this.translateToGivenOrigin({x:n.left-this.strokeWidth/2+r/2,y:n.top-this.strokeWidth/2+r/2},"left","top",this.originX,this.originY)),"undefined"===typeof e.left&&(this.left=e.fromSVG?n.left:t.x),"undefined"===typeof e.top&&(this.top=e.fromSVG?n.top:t.y),this.pathOffset={x:n.left+this.width/2+r/2,y:n.top+this.height/2+r/2}},_calcDimensions:function(){var e=this.exactBoundingBox?this._projectStrokeOnPoints():this.points,t=r(e,"x")||0,n=r(e,"y")||0;return{left:t,top:n,width:(o(e,"x")||0)-t,height:(o(e,"y")||0)-n}},toObject:function(e){return n(this.callSuper("toObject",e),{points:this.points.concat()})},_toSVG:function(){for(var e=[],n=this.pathOffset.x,r=this.pathOffset.y,o=t.Object.NUM_FRACTION_DIGITS,a=0,s=this.points.length;a<s;a++)e.push(i(this.points[a].x-n,o),",",i(this.points[a].y-r,o)," ");return["<"+this.type+" ","COMMON_PARTS",'points="',e.join(""),'" />\n']},commonRender:function(e){var t,n=this.points.length,r=this.pathOffset.x,o=this.pathOffset.y;if(!n||isNaN(this.points[n-1].y))return!1;e.beginPath(),e.moveTo(this.points[0].x-r,this.points[0].y-o);for(var i=0;i<n;i++)t=this.points[i],e.lineTo(t.x-r,t.y-o);return!0},_render:function(e){this.commonRender(e)&&this._renderPaintInOrder(e)},complexity:function(){return this.get("points").length}}),t.Polyline.ATTRIBUTE_NAMES=t.SHARED_ATTRIBUTES.concat(),t.Polyline.fromElementGenerator=function(e){return function(r,o,i){if(!r)return o(null);i||(i={});var a=t.parsePointsAttribute(r.getAttribute("points")),s=t.parseAttributes(r,t[e].ATTRIBUTE_NAMES);s.fromSVG=!0,o(new t[e](a,n(s,i)))}},t.Polyline.fromElement=t.Polyline.fromElementGenerator("Polyline"),t.Polyline.fromObject=function(e,n){return t.Object._fromObject("Polyline",e,n,"points")})}(t),function(e){"use strict";var t=e.fabric||(e.fabric={}),n=t.util.projectStrokeOnPoints;t.Polygon?t.warn("fabric.Polygon is already defined"):(t.Polygon=t.util.createClass(t.Polyline,{type:"polygon",_projectStrokeOnPoints:function(){return n(this.points,this)},_render:function(e){this.commonRender(e)&&(e.closePath(),this._renderPaintInOrder(e))}}),t.Polygon.ATTRIBUTE_NAMES=t.SHARED_ATTRIBUTES.concat(),t.Polygon.fromElement=t.Polyline.fromElementGenerator("Polygon"),t.Polygon.fromObject=function(e,n){t.Object._fromObject("Polygon",e,n,"points")})}(t),function(e){"use strict";var t=e.fabric||(e.fabric={}),n=t.util.array.min,r=t.util.array.max,o=t.util.object.extend,i=t.util.object.clone,a=t.util.toFixed;t.Path?t.warn("fabric.Path is already defined"):(t.Path=t.util.createClass(t.Object,{type:"path",path:null,cacheProperties:t.Object.prototype.cacheProperties.concat("path","fillRule"),stateProperties:t.Object.prototype.stateProperties.concat("path"),initialize:function(e,t){delete(t=i(t||{})).path,this.callSuper("initialize",t),this._setPath(e||[],t)},_setPath:function(e,n){this.path=t.util.makePathSimpler(Array.isArray(e)?e:t.util.parsePath(e)),t.Polyline.prototype._setPositionDimensions.call(this,n||{})},_renderPathCommands:function(e){var t,n=0,r=0,o=0,i=0,a=0,s=0,l=-this.pathOffset.x,c=-this.pathOffset.y;e.beginPath();for(var u=0,d=this.path.length;u<d;++u)switch((t=this.path[u])[0]){case"L":o=t[1],i=t[2],e.lineTo(o+l,i+c);break;case"M":n=o=t[1],r=i=t[2],e.moveTo(o+l,i+c);break;case"C":o=t[5],i=t[6],a=t[3],s=t[4],e.bezierCurveTo(t[1]+l,t[2]+c,a+l,s+c,o+l,i+c);break;case"Q":e.quadraticCurveTo(t[1]+l,t[2]+c,t[3]+l,t[4]+c),o=t[3],i=t[4],a=t[1],s=t[2];break;case"z":case"Z":o=n,i=r,e.closePath()}},_render:function(e){this._renderPathCommands(e),this._renderPaintInOrder(e)},toString:function(){return"#<fabric.Path ("+this.complexity()+'): { "top": '+this.top+', "left": '+this.left+" }>"},toObject:function(e){return o(this.callSuper("toObject",e),{path:this.path.map((function(e){return e.slice()}))})},toDatalessObject:function(e){var t=this.toObject(["sourcePath"].concat(e));return t.sourcePath&&delete t.path,t},_toSVG:function(){return["<path ","COMMON_PARTS",'d="',t.util.joinPath(this.path),'" stroke-linecap="round" ',"/>\n"]},_getOffsetTransform:function(){var e=t.Object.NUM_FRACTION_DIGITS;return" translate("+a(-this.pathOffset.x,e)+", "+a(-this.pathOffset.y,e)+")"},toClipPathSVG:function(e){var t=this._getOffsetTransform();return"\t"+this._createBaseClipPathSVGMarkup(this._toSVG(),{reviver:e,additionalTransform:t})},toSVG:function(e){var t=this._getOffsetTransform();return this._createBaseSVGMarkup(this._toSVG(),{reviver:e,additionalTransform:t})},complexity:function(){return this.path.length},_calcDimensions:function(){for(var e,o,i=[],a=[],s=0,l=0,c=0,u=0,d=0,p=this.path.length;d<p;++d){switch((e=this.path[d])[0]){case"L":c=e[1],u=e[2],o=[];break;case"M":s=c=e[1],l=u=e[2],o=[];break;case"C":o=t.util.getBoundsOfCurve(c,u,e[1],e[2],e[3],e[4],e[5],e[6]),c=e[5],u=e[6];break;case"Q":o=t.util.getBoundsOfCurve(c,u,e[1],e[2],e[1],e[2],e[3],e[4]),c=e[3],u=e[4];break;case"z":case"Z":c=s,u=l}o.forEach((function(e){i.push(e.x),a.push(e.y)})),i.push(c),a.push(u)}var f=n(i)||0,h=n(a)||0;return{left:f,top:h,width:(r(i)||0)-f,height:(r(a)||0)-h}}}),t.Path.fromObject=function(e,n){if("string"===typeof e.sourcePath){var r=e.sourcePath;t.loadSVGFromURL(r,(function(r){var o=r[0];o.setOptions(e),e.clipPath?t.util.enlivenObjects([e.clipPath],(function(e){o.clipPath=e[0],n&&n(o)})):n&&n(o)}))}else t.Object._fromObject("Path",e,n,"path")},t.Path.ATTRIBUTE_NAMES=t.SHARED_ATTRIBUTES.concat(["d"]),t.Path.fromElement=function(e,n,r){var i=t.parseAttributes(e,t.Path.ATTRIBUTE_NAMES);i.fromSVG=!0,n(new t.Path(i.d,o(i,r)))})}(t),function(e){"use strict";var t=e.fabric||(e.fabric={}),n=t.util.array.min,r=t.util.array.max;t.Group||(t.Group=t.util.createClass(t.Object,t.Collection,{type:"group",strokeWidth:0,subTargetCheck:!1,cacheProperties:[],useSetOnGroup:!1,initialize:function(e,t,n){t=t||{},this._objects=[],n&&this.callSuper("initialize",t),this._objects=e||[];for(var r=this._objects.length;r--;)this._objects[r].group=this;if(n)this._updateObjectsACoords();else{var o=t&&t.centerPoint;void 0!==t.originX&&(this.originX=t.originX),void 0!==t.originY&&(this.originY=t.originY),o||this._calcBounds(),this._updateObjectsCoords(o),delete t.centerPoint,this.callSuper("initialize",t)}this.setCoords()},_updateObjectsACoords:function(){for(var e=this._objects.length;e--;)this._objects[e].setCoords(true)},_updateObjectsCoords:function(e){e=e||this.getCenterPoint();for(var t=this._objects.length;t--;)this._updateObjectCoords(this._objects[t],e)},_updateObjectCoords:function(e,t){var n=e.left,r=e.top;e.set({left:n-t.x,top:r-t.y}),e.group=this,e.setCoords(!0)},toString:function(){return"#<fabric.Group: ("+this.complexity()+")>"},addWithUpdate:function(e){var n=!!this.group;return this._restoreObjectsState(),t.util.resetObjectTransform(this),e&&(n&&t.util.removeTransformFromObject(e,this.group.calcTransformMatrix()),this._objects.push(e),e.group=this,e._set("canvas",this.canvas)),this._calcBounds(),this._updateObjectsCoords(),this.dirty=!0,n?this.group.addWithUpdate():this.setCoords(),this},removeWithUpdate:function(e){return this._restoreObjectsState(),t.util.resetObjectTransform(this),this.remove(e),this._calcBounds(),this._updateObjectsCoords(),this.setCoords(),this.dirty=!0,this},_onObjectAdded:function(e){this.dirty=!0,e.group=this,e._set("canvas",this.canvas)},_onObjectRemoved:function(e){this.dirty=!0,delete e.group},_set:function(e,n){var r=this._objects.length;if(this.useSetOnGroup)for(;r--;)this._objects[r].setOnGroup(e,n);if("canvas"===e)for(;r--;)this._objects[r]._set(e,n);t.Object.prototype._set.call(this,e,n)},toObject:function(e){var n=this.includeDefaultValues,r=this._objects.filter((function(e){return!e.excludeFromExport})).map((function(t){var r=t.includeDefaultValues;t.includeDefaultValues=n;var o=t.toObject(e);return t.includeDefaultValues=r,o})),o=t.Object.prototype.toObject.call(this,e);return o.objects=r,o},toDatalessObject:function(e){var n,r=this.sourcePath;if(r)n=r;else{var o=this.includeDefaultValues;n=this._objects.map((function(t){var n=t.includeDefaultValues;t.includeDefaultValues=o;var r=t.toDatalessObject(e);return t.includeDefaultValues=n,r}))}var i=t.Object.prototype.toDatalessObject.call(this,e);return i.objects=n,i},render:function(e){this._transformDone=!0,this.callSuper("render",e),this._transformDone=!1},shouldCache:function(){var e=t.Object.prototype.shouldCache.call(this);if(e)for(var n=0,r=this._objects.length;n<r;n++)if(this._objects[n].willDrawShadow())return this.ownCaching=!1,!1;return e},willDrawShadow:function(){if(t.Object.prototype.willDrawShadow.call(this))return!0;for(var e=0,n=this._objects.length;e<n;e++)if(this._objects[e].willDrawShadow())return!0;return!1},isOnACache:function(){return this.ownCaching||this.group&&this.group.isOnACache()},drawObject:function(e){for(var t=0,n=this._objects.length;t<n;t++)this._objects[t].render(e);this._drawClipPath(e,this.clipPath)},isCacheDirty:function(e){if(this.callSuper("isCacheDirty",e))return!0;if(!this.statefullCache)return!1;for(var t=0,n=this._objects.length;t<n;t++)if(this._objects[t].isCacheDirty(!0)){if(this._cacheCanvas){var r=this.cacheWidth/this.zoomX,o=this.cacheHeight/this.zoomY;this._cacheContext.clearRect(-r/2,-o/2,r,o)}return!0}return!1},_restoreObjectsState:function(){var e=this.calcOwnMatrix();return this._objects.forEach((function(n){t.util.addTransformToObject(n,e),delete n.group,n.setCoords()})),this},destroy:function(){return this._objects.forEach((function(e){e.set("dirty",!0)})),this._restoreObjectsState()},dispose:function(){this.callSuper("dispose"),this.forEachObject((function(e){e.dispose&&e.dispose()})),this._objects=[]},toActiveSelection:function(){if(this.canvas){var e=this._objects,n=this.canvas;this._objects=[];var r=this.toObject();delete r.objects;var o=new t.ActiveSelection([]);return o.set(r),o.type="activeSelection",n.remove(this),e.forEach((function(e){e.group=o,e.dirty=!0,n.add(e)})),o.canvas=n,o._objects=e,n._activeObject=o,o.setCoords(),o}},ungroupOnCanvas:function(){return this._restoreObjectsState()},setObjectsCoords:function(){return this.forEachObject((function(e){e.setCoords(true)})),this},_calcBounds:function(e){for(var t,n,r,o,i=[],a=[],s=["tr","br","bl","tl"],l=0,c=this._objects.length,u=s.length;l<c;++l){for(r=(t=this._objects[l]).calcACoords(),o=0;o<u;o++)n=s[o],i.push(r[n].x),a.push(r[n].y);t.aCoords=r}this._getBounds(i,a,e)},_getBounds:function(e,o,i){var a=new t.Point(n(e),n(o)),s=new t.Point(r(e),r(o)),l=a.y||0,c=a.x||0,u=s.x-a.x||0,d=s.y-a.y||0;this.width=u,this.height=d,i||this.setPositionByOrigin({x:c,y:l},"left","top")},_toSVG:function(e){for(var t=["<g ","COMMON_PARTS"," >\n"],n=0,r=this._objects.length;n<r;n++)t.push("\t\t",this._objects[n].toSVG(e));return t.push("</g>\n"),t},getSvgStyles:function(){var e="undefined"!==typeof this.opacity&&1!==this.opacity?"opacity: "+this.opacity+";":"",t=this.visible?"":" visibility: hidden;";return[e,this.getSvgFilter(),t].join("")},toClipPathSVG:function(e){for(var t=[],n=0,r=this._objects.length;n<r;n++)t.push("\t",this._objects[n].toClipPathSVG(e));return this._createBaseClipPathSVGMarkup(t,{reviver:e})}}),t.Group.fromObject=function(e,n){var r=e.objects,o=t.util.object.clone(e,!0);delete o.objects,"string"!==typeof r?t.util.enlivenObjects(r,(function(r){t.util.enlivenObjectEnlivables(e,o,(function(){n&&n(new t.Group(r,o,!0))}))})):t.loadSVGFromURL(r,(function(i){var a=t.util.groupSVGElements(i,e,r),s=o.clipPath;delete o.clipPath,a.set(o),s?t.util.enlivenObjects([s],(function(e){a.clipPath=e[0],n&&n(a)})):n&&n(a)}))})}(t),function(e){"use strict";var t=e.fabric||(e.fabric={});t.ActiveSelection||(t.ActiveSelection=t.util.createClass(t.Group,{type:"activeSelection",initialize:function(e,n){n=n||{},this._objects=e||[];for(var r=this._objects.length;r--;)this._objects[r].group=this;n.originX&&(this.originX=n.originX),n.originY&&(this.originY=n.originY),this._calcBounds(),this._updateObjectsCoords(),t.Object.prototype.initialize.call(this,n),this.setCoords()},toGroup:function(){var e=this._objects.concat();this._objects=[];var n=t.Object.prototype.toObject.call(this),r=new t.Group([]);if(delete n.type,r.set(n),e.forEach((function(e){e.canvas.remove(e),e.group=r})),r._objects=e,!this.canvas)return r;var o=this.canvas;return o.add(r),o._activeObject=r,r.setCoords(),r},onDeselect:function(){return this.destroy(),!1},toString:function(){return"#<fabric.ActiveSelection: ("+this.complexity()+")>"},shouldCache:function(){return!1},isOnACache:function(){return!1},_renderControls:function(e,t,n){e.save(),e.globalAlpha=this.isMoving?this.borderOpacityWhenMoving:1,this.callSuper("_renderControls",e,t),"undefined"===typeof(n=n||{}).hasControls&&(n.hasControls=!1),n.forActiveSelection=!0;for(var r=0,o=this._objects.length;r<o;r++)this._objects[r]._renderControls(e,n);e.restore()}}),t.ActiveSelection.fromObject=function(e,n){t.util.enlivenObjects(e.objects,(function(r){delete e.objects,n&&n(new t.ActiveSelection(r,e,!0))}))})}(t),function(e){"use strict";var t=o.util.object.extend;e.fabric||(e.fabric={}),e.fabric.Image?o.warn("fabric.Image is already defined."):(o.Image=o.util.createClass(o.Object,{type:"image",strokeWidth:0,srcFromAttribute:!1,_lastScaleX:1,_lastScaleY:1,_filterScalingX:1,_filterScalingY:1,minimumScaleTrigger:.5,stateProperties:o.Object.prototype.stateProperties.concat("cropX","cropY"),cacheProperties:o.Object.prototype.cacheProperties.concat("cropX","cropY"),cacheKey:"",cropX:0,cropY:0,imageSmoothing:!0,initialize:function(e,t){t||(t={}),this.filters=[],this.cacheKey="texture"+o.Object.__uid++,this.callSuper("initialize",t),this._initElement(e,t)},getElement:function(){return this._element||{}},setElement:function(e,t){return this.removeTexture(this.cacheKey),this.removeTexture(this.cacheKey+"_filtered"),this._element=e,this._originalElement=e,this._initConfig(t),0!==this.filters.length&&this.applyFilters(),this.resizeFilter&&this.applyResizeFilters(),this},removeTexture:function(e){var t=o.filterBackend;t&&t.evictCachesForKey&&t.evictCachesForKey(e)},dispose:function(){this.callSuper("dispose"),this.removeTexture(this.cacheKey),this.removeTexture(this.cacheKey+"_filtered"),this._cacheContext=void 0,["_originalElement","_element","_filteredEl","_cacheCanvas"].forEach(function(e){o.util.cleanUpJsdomNode(this[e]),this[e]=void 0}.bind(this))},getCrossOrigin:function(){return this._originalElement&&(this._originalElement.crossOrigin||null)},getOriginalSize:function(){var e=this.getElement();return{width:e.naturalWidth||e.width,height:e.naturalHeight||e.height}},_stroke:function(e){if(this.stroke&&0!==this.strokeWidth){var t=this.width/2,n=this.height/2;e.beginPath(),e.moveTo(-t,-n),e.lineTo(t,-n),e.lineTo(t,n),e.lineTo(-t,n),e.lineTo(-t,-n),e.closePath()}},toObject:function(e){var n=[];this.filters.forEach((function(e){e&&n.push(e.toObject())}));var r=t(this.callSuper("toObject",["cropX","cropY"].concat(e)),{src:this.getSrc(),crossOrigin:this.getCrossOrigin(),filters:n});return this.resizeFilter&&(r.resizeFilter=this.resizeFilter.toObject()),r},hasCrop:function(){return this.cropX||this.cropY||this.width<this._element.width||this.height<this._element.height},_toSVG:function(){var e,t=[],n=[],r=this._element,i=-this.width/2,a=-this.height/2,s="",l="";if(!r)return[];if(this.hasCrop()){var c=o.Object.__uid++;t.push('<clipPath id="imageCrop_'+c+'">\n','\t<rect x="'+i+'" y="'+a+'" width="'+this.width+'" height="'+this.height+'" />\n',"</clipPath>\n"),s=' clip-path="url(#imageCrop_'+c+')" '}if(this.imageSmoothing||(l='" image-rendering="optimizeSpeed'),n.push("\t<image ","COMMON_PARTS",'xlink:href="',this.getSvgSrc(!0),'" x="',i-this.cropX,'" y="',a-this.cropY,'" width="',r.width||r.naturalWidth,'" height="',r.height||r.height,l,'"',s,"></image>\n"),this.stroke||this.strokeDashArray){var u=this.fill;this.fill=null,e=["\t<rect ",'x="',i,'" y="',a,'" width="',this.width,'" height="',this.height,'" style="',this.getSvgStyles(),'"/>\n'],this.fill=u}return t="fill"!==this.paintFirst?t.concat(e,n):t.concat(n,e)},getSrc:function(e){var t=e?this._element:this._originalElement;return t?t.toDataURL?t.toDataURL():this.srcFromAttribute?t.getAttribute("src"):t.src:this.src||""},setSrc:function(e,t,n){return o.util.loadImage(e,(function(e,r){this.setElement(e,n),this._setWidthHeight(),t&&t(this,r)}),this,n&&n.crossOrigin),this},toString:function(){return'#<fabric.Image: { src: "'+this.getSrc()+'" }>'},applyResizeFilters:function(){var e=this.resizeFilter,t=this.minimumScaleTrigger,n=this.getTotalObjectScaling(),r=n.scaleX,i=n.scaleY,a=this._filteredEl||this._originalElement;if(this.group&&this.set("dirty",!0),!e||r>t&&i>t)return this._element=a,this._filterScalingX=1,this._filterScalingY=1,this._lastScaleX=r,void(this._lastScaleY=i);o.filterBackend||(o.filterBackend=o.initFilterBackend());var s=o.util.createCanvasElement(),l=this._filteredEl?this.cacheKey+"_filtered":this.cacheKey,c=a.width,u=a.height;s.width=c,s.height=u,this._element=s,this._lastScaleX=e.scaleX=r,this._lastScaleY=e.scaleY=i,o.filterBackend.applyFilters([e],a,c,u,this._element,l),this._filterScalingX=s.width/this._originalElement.width,this._filterScalingY=s.height/this._originalElement.height},applyFilters:function(e){if(e=(e=e||this.filters||[]).filter((function(e){return e&&!e.isNeutralState()})),this.set("dirty",!0),this.removeTexture(this.cacheKey+"_filtered"),0===e.length)return this._element=this._originalElement,this._filteredEl=null,this._filterScalingX=1,this._filterScalingY=1,this;var t=this._originalElement,n=t.naturalWidth||t.width,r=t.naturalHeight||t.height;if(this._element===this._originalElement){var i=o.util.createCanvasElement();i.width=n,i.height=r,this._element=i,this._filteredEl=i}else this._element=this._filteredEl,this._filteredEl.getContext("2d").clearRect(0,0,n,r),this._lastScaleX=1,this._lastScaleY=1;return o.filterBackend||(o.filterBackend=o.initFilterBackend()),o.filterBackend.applyFilters(e,this._originalElement,n,r,this._element,this.cacheKey),this._originalElement.width===this._element.width&&this._originalElement.height===this._element.height||(this._filterScalingX=this._element.width/this._originalElement.width,this._filterScalingY=this._element.height/this._originalElement.height),this},_render:function(e){o.util.setImageSmoothing(e,this.imageSmoothing),!0!==this.isMoving&&this.resizeFilter&&this._needsResize()&&this.applyResizeFilters(),this._stroke(e),this._renderPaintInOrder(e)},drawCacheOnCanvas:function(e){o.util.setImageSmoothing(e,this.imageSmoothing),o.Object.prototype.drawCacheOnCanvas.call(this,e)},shouldCache:function(){return this.needsItsOwnCache()},_renderFill:function(e){var t=this._element;if(t){var n=this._filterScalingX,r=this._filterScalingY,o=this.width,i=this.height,a=Math.min,s=Math.max,l=s(this.cropX,0),c=s(this.cropY,0),u=t.naturalWidth||t.width,d=t.naturalHeight||t.height,p=l*n,f=c*r,h=a(o*n,u-p),b=a(i*r,d-f),A=-o/2,m=-i/2,g=a(o,u/n-l),v=a(i,d/r-c);t&&e.drawImage(t,p,f,h,b,A,m,g,v)}},_needsResize:function(){var e=this.getTotalObjectScaling();return e.scaleX!==this._lastScaleX||e.scaleY!==this._lastScaleY},_resetWidthHeight:function(){this.set(this.getOriginalSize())},_initElement:function(e,t){this.setElement(o.util.getById(e),t),o.util.addClass(this.getElement(),o.Image.CSS_CANVAS)},_initConfig:function(e){e||(e={}),this.setOptions(e),this._setWidthHeight(e)},_initFilters:function(e,t){e&&e.length?o.util.enlivenObjects(e,(function(e){t&&t(e)}),"fabric.Image.filters"):t&&t()},_setWidthHeight:function(e){e||(e={});var t=this.getElement();this.width=e.width||t.naturalWidth||t.width||0,this.height=e.height||t.naturalHeight||t.height||0},parsePreserveAspectRatioAttribute:function(){var e,t=o.util.parsePreserveAspectRatioAttribute(this.preserveAspectRatio||""),n=this._element.width,r=this._element.height,i=1,a=1,s=0,l=0,c=0,u=0,d=this.width,p=this.height,f={width:d,height:p};return!t||"none"===t.alignX&&"none"===t.alignY?(i=d/n,a=p/r):("meet"===t.meetOrSlice&&(e=(d-n*(i=a=o.util.findScaleToFit(this._element,f)))/2,"Min"===t.alignX&&(s=-e),"Max"===t.alignX&&(s=e),e=(p-r*a)/2,"Min"===t.alignY&&(l=-e),"Max"===t.alignY&&(l=e)),"slice"===t.meetOrSlice&&(e=n-d/(i=a=o.util.findScaleToCover(this._element,f)),"Mid"===t.alignX&&(c=e/2),"Max"===t.alignX&&(c=e),e=r-p/a,"Mid"===t.alignY&&(u=e/2),"Max"===t.alignY&&(u=e),n=d/i,r=p/a)),{width:n,height:r,scaleX:i,scaleY:a,offsetLeft:s,offsetTop:l,cropX:c,cropY:u}}}),o.Image.CSS_CANVAS="canvas-img",o.Image.prototype.getSvgSrc=o.Image.prototype.getSrc,o.Image.fromObject=function(e,t){var n=o.util.object.clone(e);o.util.loadImage(n.src,(function(e,r){r?t&&t(null,!0):o.Image.prototype._initFilters.call(n,n.filters,(function(r){n.filters=r||[],o.Image.prototype._initFilters.call(n,[n.resizeFilter],(function(r){n.resizeFilter=r[0],o.util.enlivenObjectEnlivables(n,n,(function(){var r=new o.Image(e,n);t(r,!1)}))}))}))}),null,n.crossOrigin)},o.Image.fromURL=function(e,t,n){o.util.loadImage(e,(function(e,r){t&&t(new o.Image(e,n),r)}),null,n&&n.crossOrigin)},o.Image.ATTRIBUTE_NAMES=o.SHARED_ATTRIBUTES.concat("x y width height preserveAspectRatio xlink:href crossOrigin image-rendering".split(" ")),o.Image.fromElement=function(e,n,r){var i=o.parseAttributes(e,o.Image.ATTRIBUTE_NAMES);o.Image.fromURL(i["xlink:href"],n,t(r?o.util.object.clone(r):{},i))})}(t),o.util.object.extend(o.Object.prototype,{_getAngleValueForStraighten:function(){var e=this.angle%360;return e>0?90*Math.round((e-1)/90):90*Math.round(e/90)},straighten:function(){return this.rotate(this._getAngleValueForStraighten())},fxStraighten:function(e){var t=function(){},n=(e=e||{}).onComplete||t,r=e.onChange||t,i=this;return o.util.animate({target:this,startValue:this.get("angle"),endValue:this._getAngleValueForStraighten(),duration:this.FX_DURATION,onChange:function(e){i.rotate(e),r()},onComplete:function(){i.setCoords(),n()}})}}),o.util.object.extend(o.StaticCanvas.prototype,{straightenObject:function(e){return e.straighten(),this.requestRenderAll(),this},fxStraightenObject:function(e){return e.fxStraighten({onChange:this.requestRenderAllBound})}}),function(){"use strict";function e(e,t){var n="precision "+t+" float;\nvoid main(){}",r=e.createShader(e.FRAGMENT_SHADER);return e.shaderSource(r,n),e.compileShader(r),!!e.getShaderParameter(r,e.COMPILE_STATUS)}function t(e){e&&e.tileSize&&(this.tileSize=e.tileSize),this.setupGLContext(this.tileSize,this.tileSize),this.captureGPUInfo()}o.isWebglSupported=function(t){if(o.isLikelyNode)return!1;t=t||o.WebglFilterBackend.prototype.tileSize;var n=document.createElement("canvas"),r=n.getContext("webgl")||n.getContext("experimental-webgl"),i=!1;if(r){o.maxTextureSize=r.getParameter(r.MAX_TEXTURE_SIZE),i=o.maxTextureSize>=t;for(var a=["highp","mediump","lowp"],s=0;s<3;s++)if(e(r,a[s])){o.webGlPrecision=a[s];break}}return this.isSupported=i,i},o.WebglFilterBackend=t,t.prototype={tileSize:2048,resources:{},setupGLContext:function(e,t){this.dispose(),this.createWebGLCanvas(e,t),this.aPosition=new Float32Array([0,0,0,1,1,0,1,1]),this.chooseFastestCopyGLTo2DMethod(e,t)},chooseFastestCopyGLTo2DMethod:function(e,t){var n,r="undefined"!==typeof window.performance;try{new ImageData(1,1),n=!0}catch(h){n=!1}var i="undefined"!==typeof ArrayBuffer,l="undefined"!==typeof Uint8ClampedArray;if(r&&n&&i&&l){var c=o.util.createCanvasElement(),u=new ArrayBuffer(e*t*4);if(o.forceGLPutImageData)return this.imageBuffer=u,void(this.copyGLTo2D=s);var d,p,f={imageBuffer:u,destinationWidth:e,destinationHeight:t,targetCanvas:c};c.width=e,c.height=t,d=window.performance.now(),a.call(f,this.gl,f),p=window.performance.now()-d,d=window.performance.now(),s.call(f,this.gl,f),p>window.performance.now()-d?(this.imageBuffer=u,this.copyGLTo2D=s):this.copyGLTo2D=a}},createWebGLCanvas:function(e,t){var n=o.util.createCanvasElement();n.width=e,n.height=t;var r={alpha:!0,premultipliedAlpha:!1,depth:!1,stencil:!1,antialias:!1},i=n.getContext("webgl",r);i||(i=n.getContext("experimental-webgl",r)),i&&(i.clearColor(0,0,0,0),this.canvas=n,this.gl=i)},applyFilters:function(e,t,n,r,o,i){var a,s=this.gl;i&&(a=this.getCachedTexture(i,t));var l={originalWidth:t.width||t.originalWidth,originalHeight:t.height||t.originalHeight,sourceWidth:n,sourceHeight:r,destinationWidth:n,destinationHeight:r,context:s,sourceTexture:this.createTexture(s,n,r,!a&&t),targetTexture:this.createTexture(s,n,r),originalTexture:a||this.createTexture(s,n,r,!a&&t),passes:e.length,webgl:!0,aPosition:this.aPosition,programCache:this.programCache,pass:0,filterBackend:this,targetCanvas:o},c=s.createFramebuffer();return s.bindFramebuffer(s.FRAMEBUFFER,c),e.forEach((function(e){e&&e.applyTo(l)})),function(e){var t=e.targetCanvas,n=t.width,r=t.height,o=e.destinationWidth,i=e.destinationHeight;n===o&&r===i||(t.width=o,t.height=i)}(l),this.copyGLTo2D(s,l),s.bindTexture(s.TEXTURE_2D,null),s.deleteTexture(l.sourceTexture),s.deleteTexture(l.targetTexture),s.deleteFramebuffer(c),o.getContext("2d").setTransform(1,0,0,1,0,0),l},dispose:function(){this.canvas&&(this.canvas=null,this.gl=null),this.clearWebGLCaches()},clearWebGLCaches:function(){this.programCache={},this.textureCache={}},createTexture:function(e,t,n,r,o){var i=e.createTexture();return e.bindTexture(e.TEXTURE_2D,i),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MAG_FILTER,o||e.NEAREST),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,o||e.NEAREST),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),r?e.texImage2D(e.TEXTURE_2D,0,e.RGBA,e.RGBA,e.UNSIGNED_BYTE,r):e.texImage2D(e.TEXTURE_2D,0,e.RGBA,t,n,0,e.RGBA,e.UNSIGNED_BYTE,null),i},getCachedTexture:function(e,t){if(this.textureCache[e])return this.textureCache[e];var n=this.createTexture(this.gl,t.width,t.height,t);return this.textureCache[e]=n,n},evictCachesForKey:function(e){this.textureCache[e]&&(this.gl.deleteTexture(this.textureCache[e]),delete this.textureCache[e])},copyGLTo2D:a,captureGPUInfo:function(){if(this.gpuInfo)return this.gpuInfo;var e=this.gl,t={renderer:"",vendor:""};if(!e)return t;var n=e.getExtension("WEBGL_debug_renderer_info");if(n){var r=e.getParameter(n.UNMASKED_RENDERER_WEBGL),o=e.getParameter(n.UNMASKED_VENDOR_WEBGL);r&&(t.renderer=r.toLowerCase()),o&&(t.vendor=o.toLowerCase())}return this.gpuInfo=t,t}}}(),function(){"use strict";var e=function(){};function t(){}o.Canvas2dFilterBackend=t,t.prototype={evictCachesForKey:e,dispose:e,clearWebGLCaches:e,resources:{},applyFilters:function(e,t,n,r,o){var i=o.getContext("2d");i.drawImage(t,0,0,n,r);var a={sourceWidth:n,sourceHeight:r,imageData:i.getImageData(0,0,n,r),originalEl:t,originalImageData:i.getImageData(0,0,n,r),canvasEl:o,ctx:i,filterBackend:this};return e.forEach((function(e){e.applyTo(a)})),a.imageData.width===n&&a.imageData.height===r||(o.width=a.imageData.width,o.height=a.imageData.height),i.putImageData(a.imageData,0,0),a}}}(),o.Image=o.Image||{},o.Image.filters=o.Image.filters||{},o.Image.filters.BaseFilter=o.util.createClass({type:"BaseFilter",vertexSource:"attribute vec2 aPosition;\nvarying vec2 vTexCoord;\nvoid main() {\nvTexCoord = aPosition;\ngl_Position = vec4(aPosition * 2.0 - 1.0, 0.0, 1.0);\n}",fragmentSource:"precision highp float;\nvarying vec2 vTexCoord;\nuniform sampler2D uTexture;\nvoid main() {\ngl_FragColor = texture2D(uTexture, vTexCoord);\n}",initialize:function(e){e&&this.setOptions(e)},setOptions:function(e){for(var t in e)this[t]=e[t]},createProgram:function(e,t,n){t=t||this.fragmentSource,n=n||this.vertexSource,"highp"!==o.webGlPrecision&&(t=t.replace(/precision highp float/g,"precision "+o.webGlPrecision+" float"));var r=e.createShader(e.VERTEX_SHADER);if(e.shaderSource(r,n),e.compileShader(r),!e.getShaderParameter(r,e.COMPILE_STATUS))throw new Error("Vertex shader compile error for "+this.type+": "+e.getShaderInfoLog(r));var i=e.createShader(e.FRAGMENT_SHADER);if(e.shaderSource(i,t),e.compileShader(i),!e.getShaderParameter(i,e.COMPILE_STATUS))throw new Error("Fragment shader compile error for "+this.type+": "+e.getShaderInfoLog(i));var a=e.createProgram();if(e.attachShader(a,r),e.attachShader(a,i),e.linkProgram(a),!e.getProgramParameter(a,e.LINK_STATUS))throw new Error('Shader link error for "${this.type}" '+e.getProgramInfoLog(a));var s=this.getAttributeLocations(e,a),l=this.getUniformLocations(e,a)||{};return l.uStepW=e.getUniformLocation(a,"uStepW"),l.uStepH=e.getUniformLocation(a,"uStepH"),{program:a,attributeLocations:s,uniformLocations:l}},getAttributeLocations:function(e,t){return{aPosition:e.getAttribLocation(t,"aPosition")}},getUniformLocations:function(){return{}},sendAttributeData:function(e,t,n){var r=t.aPosition,o=e.createBuffer();e.bindBuffer(e.ARRAY_BUFFER,o),e.enableVertexAttribArray(r),e.vertexAttribPointer(r,2,e.FLOAT,!1,0,0),e.bufferData(e.ARRAY_BUFFER,n,e.STATIC_DRAW)},_setupFrameBuffer:function(e){var t,n,r=e.context;e.passes>1?(t=e.destinationWidth,n=e.destinationHeight,e.sourceWidth===t&&e.sourceHeight===n||(r.deleteTexture(e.targetTexture),e.targetTexture=e.filterBackend.createTexture(r,t,n)),r.framebufferTexture2D(r.FRAMEBUFFER,r.COLOR_ATTACHMENT0,r.TEXTURE_2D,e.targetTexture,0)):(r.bindFramebuffer(r.FRAMEBUFFER,null),r.finish())},_swapTextures:function(e){e.passes--,e.pass++;var t=e.targetTexture;e.targetTexture=e.sourceTexture,e.sourceTexture=t},isNeutralState:function(){var e=this.mainParameter,t=o.Image.filters[this.type].prototype;if(e){if(Array.isArray(t[e])){for(var n=t[e].length;n--;)if(this[e][n]!==t[e][n])return!1;return!0}return t[e]===this[e]}return!1},applyTo:function(e){e.webgl?(this._setupFrameBuffer(e),this.applyToWebGL(e),this._swapTextures(e)):this.applyTo2d(e)},retrieveShader:function(e){return e.programCache.hasOwnProperty(this.type)||(e.programCache[this.type]=this.createProgram(e.context)),e.programCache[this.type]},applyToWebGL:function(e){var t=e.context,n=this.retrieveShader(e);0===e.pass&&e.originalTexture?t.bindTexture(t.TEXTURE_2D,e.originalTexture):t.bindTexture(t.TEXTURE_2D,e.sourceTexture),t.useProgram(n.program),this.sendAttributeData(t,n.attributeLocations,e.aPosition),t.uniform1f(n.uniformLocations.uStepW,1/e.sourceWidth),t.uniform1f(n.uniformLocations.uStepH,1/e.sourceHeight),this.sendUniformData(t,n.uniformLocations),t.viewport(0,0,e.destinationWidth,e.destinationHeight),t.drawArrays(t.TRIANGLE_STRIP,0,4)},bindAdditionalTexture:function(e,t,n){e.activeTexture(n),e.bindTexture(e.TEXTURE_2D,t),e.activeTexture(e.TEXTURE0)},unbindAdditionalTexture:function(e,t){e.activeTexture(t),e.bindTexture(e.TEXTURE_2D,null),e.activeTexture(e.TEXTURE0)},getMainParameter:function(){return this[this.mainParameter]},setMainParameter:function(e){this[this.mainParameter]=e},sendUniformData:function(){},createHelpLayer:function(e){if(!e.helpLayer){var t=document.createElement("canvas");t.width=e.sourceWidth,t.height=e.sourceHeight,e.helpLayer=t}},toObject:function(){var e={type:this.type},t=this.mainParameter;return t&&(e[t]=this[t]),e},toJSON:function(){return this.toObject()}}),o.Image.filters.BaseFilter.fromObject=function(e,t){var n=new o.Image.filters[e.type](e);return t&&t(n),n},function(e){"use strict";var t=e.fabric||(e.fabric={}),n=t.Image.filters,r=t.util.createClass;n.ColorMatrix=r(n.BaseFilter,{type:"ColorMatrix",fragmentSource:"precision highp float;\nuniform sampler2D uTexture;\nvarying vec2 vTexCoord;\nuniform mat4 uColorMatrix;\nuniform vec4 uConstants;\nvoid main() {\nvec4 color = texture2D(uTexture, vTexCoord);\ncolor *= uColorMatrix;\ncolor += uConstants;\ngl_FragColor = color;\n}",matrix:[1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0],mainParameter:"matrix",colorsOnly:!0,initialize:function(e){this.callSuper("initialize",e),this.matrix=this.matrix.slice(0)},applyTo2d:function(e){var t,n,r,o,i,a=e.imageData.data,s=a.length,l=this.matrix,c=this.colorsOnly;for(i=0;i<s;i+=4)t=a[i],n=a[i+1],r=a[i+2],c?(a[i]=t*l[0]+n*l[1]+r*l[2]+255*l[4],a[i+1]=t*l[5]+n*l[6]+r*l[7]+255*l[9],a[i+2]=t*l[10]+n*l[11]+r*l[12]+255*l[14]):(o=a[i+3],a[i]=t*l[0]+n*l[1]+r*l[2]+o*l[3]+255*l[4],a[i+1]=t*l[5]+n*l[6]+r*l[7]+o*l[8]+255*l[9],a[i+2]=t*l[10]+n*l[11]+r*l[12]+o*l[13]+255*l[14],a[i+3]=t*l[15]+n*l[16]+r*l[17]+o*l[18]+255*l[19])},getUniformLocations:function(e,t){return{uColorMatrix:e.getUniformLocation(t,"uColorMatrix"),uConstants:e.getUniformLocation(t,"uConstants")}},sendUniformData:function(e,t){var n=this.matrix,r=[n[0],n[1],n[2],n[3],n[5],n[6],n[7],n[8],n[10],n[11],n[12],n[13],n[15],n[16],n[17],n[18]],o=[n[4],n[9],n[14],n[19]];e.uniformMatrix4fv(t.uColorMatrix,!1,r),e.uniform4fv(t.uConstants,o)}}),t.Image.filters.ColorMatrix.fromObject=t.Image.filters.BaseFilter.fromObject}(t),function(e){"use strict";var t=e.fabric||(e.fabric={}),n=t.Image.filters,r=t.util.createClass;n.Brightness=r(n.BaseFilter,{type:"Brightness",fragmentSource:"precision highp float;\nuniform sampler2D uTexture;\nuniform float uBrightness;\nvarying vec2 vTexCoord;\nvoid main() {\nvec4 color = texture2D(uTexture, vTexCoord);\ncolor.rgb += uBrightness;\ngl_FragColor = color;\n}",brightness:0,mainParameter:"brightness",applyTo2d:function(e){if(0!==this.brightness){var t,n=e.imageData.data,r=n.length,o=Math.round(255*this.brightness);for(t=0;t<r;t+=4)n[t]=n[t]+o,n[t+1]=n[t+1]+o,n[t+2]=n[t+2]+o}},getUniformLocations:function(e,t){return{uBrightness:e.getUniformLocation(t,"uBrightness")}},sendUniformData:function(e,t){e.uniform1f(t.uBrightness,this.brightness)}}),t.Image.filters.Brightness.fromObject=t.Image.filters.BaseFilter.fromObject}(t),function(e){"use strict";var t=e.fabric||(e.fabric={}),n=t.util.object.extend,r=t.Image.filters,o=t.util.createClass;r.Convolute=o(r.BaseFilter,{type:"Convolute",opaque:!1,matrix:[0,0,0,0,1,0,0,0,0],fragmentSource:{Convolute_3_1:"precision highp float;\nuniform sampler2D uTexture;\nuniform float uMatrix[9];\nuniform float uStepW;\nuniform float uStepH;\nvarying vec2 vTexCoord;\nvoid main() {\nvec4 color = vec4(0, 0, 0, 0);\nfor (float h = 0.0; h < 3.0; h+=1.0) {\nfor (float w = 0.0; w < 3.0; w+=1.0) {\nvec2 matrixPos = vec2(uStepW * (w - 1), uStepH * (h - 1));\ncolor += texture2D(uTexture, vTexCoord + matrixPos) * uMatrix[int(h * 3.0 + w)];\n}\n}\ngl_FragColor = color;\n}",Convolute_3_0:"precision highp float;\nuniform sampler2D uTexture;\nuniform float uMatrix[9];\nuniform float uStepW;\nuniform float uStepH;\nvarying vec2 vTexCoord;\nvoid main() {\nvec4 color = vec4(0, 0, 0, 1);\nfor (float h = 0.0; h < 3.0; h+=1.0) {\nfor (float w = 0.0; w < 3.0; w+=1.0) {\nvec2 matrixPos = vec2(uStepW * (w - 1.0), uStepH * (h - 1.0));\ncolor.rgb += texture2D(uTexture, vTexCoord + matrixPos).rgb * uMatrix[int(h * 3.0 + w)];\n}\n}\nfloat alpha = texture2D(uTexture, vTexCoord).a;\ngl_FragColor = color;\ngl_FragColor.a = alpha;\n}",Convolute_5_1:"precision highp float;\nuniform sampler2D uTexture;\nuniform float uMatrix[25];\nuniform float uStepW;\nuniform float uStepH;\nvarying vec2 vTexCoord;\nvoid main() {\nvec4 color = vec4(0, 0, 0, 0);\nfor (float h = 0.0; h < 5.0; h+=1.0) {\nfor (float w = 0.0; w < 5.0; w+=1.0) {\nvec2 matrixPos = vec2(uStepW * (w - 2.0), uStepH * (h - 2.0));\ncolor += texture2D(uTexture, vTexCoord + matrixPos) * uMatrix[int(h * 5.0 + w)];\n}\n}\ngl_FragColor = color;\n}",Convolute_5_0:"precision highp float;\nuniform sampler2D uTexture;\nuniform float uMatrix[25];\nuniform float uStepW;\nuniform float uStepH;\nvarying vec2 vTexCoord;\nvoid main() {\nvec4 color = vec4(0, 0, 0, 1);\nfor (float h = 0.0; h < 5.0; h+=1.0) {\nfor (float w = 0.0; w < 5.0; w+=1.0) {\nvec2 matrixPos = vec2(uStepW * (w - 2.0), uStepH * (h - 2.0));\ncolor.rgb += texture2D(uTexture, vTexCoord + matrixPos).rgb * uMatrix[int(h * 5.0 + w)];\n}\n}\nfloat alpha = texture2D(uTexture, vTexCoord).a;\ngl_FragColor = color;\ngl_FragColor.a = alpha;\n}",Convolute_7_1:"precision highp float;\nuniform sampler2D uTexture;\nuniform float uMatrix[49];\nuniform float uStepW;\nuniform float uStepH;\nvarying vec2 vTexCoord;\nvoid main() {\nvec4 color = vec4(0, 0, 0, 0);\nfor (float h = 0.0; h < 7.0; h+=1.0) {\nfor (float w = 0.0; w < 7.0; w+=1.0) {\nvec2 matrixPos = vec2(uStepW * (w - 3.0), uStepH * (h - 3.0));\ncolor += texture2D(uTexture, vTexCoord + matrixPos) * uMatrix[int(h * 7.0 + w)];\n}\n}\ngl_FragColor = color;\n}",Convolute_7_0:"precision highp float;\nuniform sampler2D uTexture;\nuniform float uMatrix[49];\nuniform float uStepW;\nuniform float uStepH;\nvarying vec2 vTexCoord;\nvoid main() {\nvec4 color = vec4(0, 0, 0, 1);\nfor (float h = 0.0; h < 7.0; h+=1.0) {\nfor (float w = 0.0; w < 7.0; w+=1.0) {\nvec2 matrixPos = vec2(uStepW * (w - 3.0), uStepH * (h - 3.0));\ncolor.rgb += texture2D(uTexture, vTexCoord + matrixPos).rgb * uMatrix[int(h * 7.0 + w)];\n}\n}\nfloat alpha = texture2D(uTexture, vTexCoord).a;\ngl_FragColor = color;\ngl_FragColor.a = alpha;\n}",Convolute_9_1:"precision highp float;\nuniform sampler2D uTexture;\nuniform float uMatrix[81];\nuniform float uStepW;\nuniform float uStepH;\nvarying vec2 vTexCoord;\nvoid main() {\nvec4 color = vec4(0, 0, 0, 0);\nfor (float h = 0.0; h < 9.0; h+=1.0) {\nfor (float w = 0.0; w < 9.0; w+=1.0) {\nvec2 matrixPos = vec2(uStepW * (w - 4.0), uStepH * (h - 4.0));\ncolor += texture2D(uTexture, vTexCoord + matrixPos) * uMatrix[int(h * 9.0 + w)];\n}\n}\ngl_FragColor = color;\n}",Convolute_9_0:"precision highp float;\nuniform sampler2D uTexture;\nuniform float uMatrix[81];\nuniform float uStepW;\nuniform float uStepH;\nvarying vec2 vTexCoord;\nvoid main() {\nvec4 color = vec4(0, 0, 0, 1);\nfor (float h = 0.0; h < 9.0; h+=1.0) {\nfor (float w = 0.0; w < 9.0; w+=1.0) {\nvec2 matrixPos = vec2(uStepW * (w - 4.0), uStepH * (h - 4.0));\ncolor.rgb += texture2D(uTexture, vTexCoord + matrixPos).rgb * uMatrix[int(h * 9.0 + w)];\n}\n}\nfloat alpha = texture2D(uTexture, vTexCoord).a;\ngl_FragColor = color;\ngl_FragColor.a = alpha;\n}"},retrieveShader:function(e){var t=Math.sqrt(this.matrix.length),n=this.type+"_"+t+"_"+(this.opaque?1:0),r=this.fragmentSource[n];return e.programCache.hasOwnProperty(n)||(e.programCache[n]=this.createProgram(e.context,r)),e.programCache[n]},applyTo2d:function(e){var t,n,r,o,i,a,s,l,c,u,d,p,f,h=e.imageData,b=h.data,A=this.matrix,m=Math.round(Math.sqrt(A.length)),g=Math.floor(m/2),v=h.width,y=h.height,M=e.ctx.createImageData(v,y),O=M.data,_=this.opaque?1:0;for(d=0;d<y;d++)for(u=0;u<v;u++){for(i=4*(d*v+u),t=0,n=0,r=0,o=0,f=0;f<m;f++)for(p=0;p<m;p++)a=u+p-g,(s=d+f-g)<0||s>=y||a<0||a>=v||(l=4*(s*v+a),c=A[f*m+p],t+=b[l]*c,n+=b[l+1]*c,r+=b[l+2]*c,_||(o+=b[l+3]*c));O[i]=t,O[i+1]=n,O[i+2]=r,O[i+3]=_?b[i+3]:o}e.imageData=M},getUniformLocations:function(e,t){return{uMatrix:e.getUniformLocation(t,"uMatrix"),uOpaque:e.getUniformLocation(t,"uOpaque"),uHalfSize:e.getUniformLocation(t,"uHalfSize"),uSize:e.getUniformLocation(t,"uSize")}},sendUniformData:function(e,t){e.uniform1fv(t.uMatrix,this.matrix)},toObject:function(){return n(this.callSuper("toObject"),{opaque:this.opaque,matrix:this.matrix})}}),t.Image.filters.Convolute.fromObject=t.Image.filters.BaseFilter.fromObject}(t),function(e){"use strict";var t=e.fabric||(e.fabric={}),n=t.Image.filters,r=t.util.createClass;n.Grayscale=r(n.BaseFilter,{type:"Grayscale",fragmentSource:{average:"precision highp float;\nuniform sampler2D uTexture;\nvarying vec2 vTexCoord;\nvoid main() {\nvec4 color = texture2D(uTexture, vTexCoord);\nfloat average = (color.r + color.b + color.g) / 3.0;\ngl_FragColor = vec4(average, average, average, color.a);\n}",lightness:"precision highp float;\nuniform sampler2D uTexture;\nuniform int uMode;\nvarying vec2 vTexCoord;\nvoid main() {\nvec4 col = texture2D(uTexture, vTexCoord);\nfloat average = (max(max(col.r, col.g),col.b) + min(min(col.r, col.g),col.b)) / 2.0;\ngl_FragColor = vec4(average, average, average, col.a);\n}",luminosity:"precision highp float;\nuniform sampler2D uTexture;\nuniform int uMode;\nvarying vec2 vTexCoord;\nvoid main() {\nvec4 col = texture2D(uTexture, vTexCoord);\nfloat average = 0.21 * col.r + 0.72 * col.g + 0.07 * col.b;\ngl_FragColor = vec4(average, average, average, col.a);\n}"},mode:"average",mainParameter:"mode",applyTo2d:function(e){var t,n,r=e.imageData.data,o=r.length,i=this.mode;for(t=0;t<o;t+=4)"average"===i?n=(r[t]+r[t+1]+r[t+2])/3:"lightness"===i?n=(Math.min(r[t],r[t+1],r[t+2])+Math.max(r[t],r[t+1],r[t+2]))/2:"luminosity"===i&&(n=.21*r[t]+.72*r[t+1]+.07*r[t+2]),r[t]=n,r[t+1]=n,r[t+2]=n},retrieveShader:function(e){var t=this.type+"_"+this.mode;if(!e.programCache.hasOwnProperty(t)){var n=this.fragmentSource[this.mode];e.programCache[t]=this.createProgram(e.context,n)}return e.programCache[t]},getUniformLocations:function(e,t){return{uMode:e.getUniformLocation(t,"uMode")}},sendUniformData:function(e,t){e.uniform1i(t.uMode,1)},isNeutralState:function(){return!1}}),t.Image.filters.Grayscale.fromObject=t.Image.filters.BaseFilter.fromObject}(t),function(e){"use strict";var t=e.fabric||(e.fabric={}),n=t.Image.filters,r=t.util.createClass;n.Invert=r(n.BaseFilter,{type:"Invert",fragmentSource:"precision highp float;\nuniform sampler2D uTexture;\nuniform int uInvert;\nvarying vec2 vTexCoord;\nvoid main() {\nvec4 color = texture2D(uTexture, vTexCoord);\nif (uInvert == 1) {\ngl_FragColor = vec4(1.0 - color.r,1.0 -color.g,1.0 -color.b,color.a);\n} else {\ngl_FragColor = color;\n}\n}",invert:!0,mainParameter:"invert",applyTo2d:function(e){var t,n=e.imageData.data,r=n.length;for(t=0;t<r;t+=4)n[t]=255-n[t],n[t+1]=255-n[t+1],n[t+2]=255-n[t+2]},isNeutralState:function(){return!this.invert},getUniformLocations:function(e,t){return{uInvert:e.getUniformLocation(t,"uInvert")}},sendUniformData:function(e,t){e.uniform1i(t.uInvert,this.invert)}}),t.Image.filters.Invert.fromObject=t.Image.filters.BaseFilter.fromObject}(t),function(e){"use strict";var t=e.fabric||(e.fabric={}),n=t.util.object.extend,r=t.Image.filters,o=t.util.createClass;r.Noise=o(r.BaseFilter,{type:"Noise",fragmentSource:"precision highp float;\nuniform sampler2D uTexture;\nuniform float uStepH;\nuniform float uNoise;\nuniform float uSeed;\nvarying vec2 vTexCoord;\nfloat rand(vec2 co, float seed, float vScale) {\nreturn fract(sin(dot(co.xy * vScale ,vec2(12.9898 , 78.233))) * 43758.5453 * (seed + 0.01) / 2.0);\n}\nvoid main() {\nvec4 color = texture2D(uTexture, vTexCoord);\ncolor.rgb += (0.5 - rand(vTexCoord, uSeed, 0.1 / uStepH)) * uNoise;\ngl_FragColor = color;\n}",mainParameter:"noise",noise:0,applyTo2d:function(e){if(0!==this.noise){var t,n,r=e.imageData.data,o=r.length,i=this.noise;for(t=0,o=r.length;t<o;t+=4)n=(.5-Math.random())*i,r[t]+=n,r[t+1]+=n,r[t+2]+=n}},getUniformLocations:function(e,t){return{uNoise:e.getUniformLocation(t,"uNoise"),uSeed:e.getUniformLocation(t,"uSeed")}},sendUniformData:function(e,t){e.uniform1f(t.uNoise,this.noise/255),e.uniform1f(t.uSeed,Math.random())},toObject:function(){return n(this.callSuper("toObject"),{noise:this.noise})}}),t.Image.filters.Noise.fromObject=t.Image.filters.BaseFilter.fromObject}(t),function(e){"use strict";var t=e.fabric||(e.fabric={}),n=t.Image.filters,r=t.util.createClass;n.Pixelate=r(n.BaseFilter,{type:"Pixelate",blocksize:4,mainParameter:"blocksize",fragmentSource:"precision highp float;\nuniform sampler2D uTexture;\nuniform float uBlocksize;\nuniform float uStepW;\nuniform float uStepH;\nvarying vec2 vTexCoord;\nvoid main() {\nfloat blockW = uBlocksize * uStepW;\nfloat blockH = uBlocksize * uStepW;\nint posX = int(vTexCoord.x / blockW);\nint posY = int(vTexCoord.y / blockH);\nfloat fposX = float(posX);\nfloat fposY = float(posY);\nvec2 squareCoords = vec2(fposX * blockW, fposY * blockH);\nvec4 color = texture2D(uTexture, squareCoords);\ngl_FragColor = color;\n}",applyTo2d:function(e){var t,n,r,o,i,a,s,l,c,u,d,p=e.imageData,f=p.data,h=p.height,b=p.width;for(n=0;n<h;n+=this.blocksize)for(r=0;r<b;r+=this.blocksize)for(o=f[t=4*n*b+4*r],i=f[t+1],a=f[t+2],s=f[t+3],u=Math.min(n+this.blocksize,h),d=Math.min(r+this.blocksize,b),l=n;l<u;l++)for(c=r;c<d;c++)f[t=4*l*b+4*c]=o,f[t+1]=i,f[t+2]=a,f[t+3]=s},isNeutralState:function(){return 1===this.blocksize},getUniformLocations:function(e,t){return{uBlocksize:e.getUniformLocation(t,"uBlocksize"),uStepW:e.getUniformLocation(t,"uStepW"),uStepH:e.getUniformLocation(t,"uStepH")}},sendUniformData:function(e,t){e.uniform1f(t.uBlocksize,this.blocksize)}}),t.Image.filters.Pixelate.fromObject=t.Image.filters.BaseFilter.fromObject}(t),function(e){"use strict";var t=e.fabric||(e.fabric={}),n=t.util.object.extend,r=t.Image.filters,o=t.util.createClass;r.RemoveColor=o(r.BaseFilter,{type:"RemoveColor",color:"#FFFFFF",fragmentSource:"precision highp float;\nuniform sampler2D uTexture;\nuniform vec4 uLow;\nuniform vec4 uHigh;\nvarying vec2 vTexCoord;\nvoid main() {\ngl_FragColor = texture2D(uTexture, vTexCoord);\nif(all(greaterThan(gl_FragColor.rgb,uLow.rgb)) && all(greaterThan(uHigh.rgb,gl_FragColor.rgb))) {\ngl_FragColor.a = 0.0;\n}\n}",distance:.02,useAlpha:!1,applyTo2d:function(e){var n,r,o,i,a=e.imageData.data,s=255*this.distance,l=new t.Color(this.color).getSource(),c=[l[0]-s,l[1]-s,l[2]-s],u=[l[0]+s,l[1]+s,l[2]+s];for(n=0;n<a.length;n+=4)r=a[n],o=a[n+1],i=a[n+2],r>c[0]&&o>c[1]&&i>c[2]&&r<u[0]&&o<u[1]&&i<u[2]&&(a[n+3]=0)},getUniformLocations:function(e,t){return{uLow:e.getUniformLocation(t,"uLow"),uHigh:e.getUniformLocation(t,"uHigh")}},sendUniformData:function(e,n){var r=new t.Color(this.color).getSource(),o=parseFloat(this.distance),i=[0+r[0]/255-o,0+r[1]/255-o,0+r[2]/255-o,1],a=[r[0]/255+o,r[1]/255+o,r[2]/255+o,1];e.uniform4fv(n.uLow,i),e.uniform4fv(n.uHigh,a)},toObject:function(){return n(this.callSuper("toObject"),{color:this.color,distance:this.distance})}}),t.Image.filters.RemoveColor.fromObject=t.Image.filters.BaseFilter.fromObject}(t),function(e){"use strict";var t=e.fabric||(e.fabric={}),n=t.Image.filters,r=t.util.createClass,o={Brownie:[.5997,.34553,-.27082,0,.186,-.0377,.86095,.15059,0,-.1449,.24113,-.07441,.44972,0,-.02965,0,0,0,1,0],Vintage:[.62793,.32021,-.03965,0,.03784,.02578,.64411,.03259,0,.02926,.0466,-.08512,.52416,0,.02023,0,0,0,1,0],Kodachrome:[1.12855,-.39673,-.03992,0,.24991,-.16404,1.08352,-.05498,0,.09698,-.16786,-.56034,1.60148,0,.13972,0,0,0,1,0],Technicolor:[1.91252,-.85453,-.09155,0,.04624,-.30878,1.76589,-.10601,0,-.27589,-.2311,-.75018,1.84759,0,.12137,0,0,0,1,0],Polaroid:[1.438,-.062,-.062,0,0,-.122,1.378,-.122,0,0,-.016,-.016,1.483,0,0,0,0,0,1,0],Sepia:[.393,.769,.189,0,0,.349,.686,.168,0,0,.272,.534,.131,0,0,0,0,0,1,0],BlackWhite:[1.5,1.5,1.5,0,-1,1.5,1.5,1.5,0,-1,1.5,1.5,1.5,0,-1,0,0,0,1,0]};for(var i in o)n[i]=r(n.ColorMatrix,{type:i,matrix:o[i],mainParameter:!1,colorsOnly:!0}),t.Image.filters[i].fromObject=t.Image.filters.BaseFilter.fromObject}(t),function(e){"use strict";var t=e.fabric,n=t.Image.filters,r=t.util.createClass;n.BlendColor=r(n.BaseFilter,{type:"BlendColor",color:"#F95C63",mode:"multiply",alpha:1,fragmentSource:{multiply:"gl_FragColor.rgb *= uColor.rgb;\n",screen:"gl_FragColor.rgb = 1.0 - (1.0 - gl_FragColor.rgb) * (1.0 - uColor.rgb);\n",add:"gl_FragColor.rgb += uColor.rgb;\n",diff:"gl_FragColor.rgb = abs(gl_FragColor.rgb - uColor.rgb);\n",subtract:"gl_FragColor.rgb -= uColor.rgb;\n",lighten:"gl_FragColor.rgb = max(gl_FragColor.rgb, uColor.rgb);\n",darken:"gl_FragColor.rgb = min(gl_FragColor.rgb, uColor.rgb);\n",exclusion:"gl_FragColor.rgb += uColor.rgb - 2.0 * (uColor.rgb * gl_FragColor.rgb);\n",overlay:"if (uColor.r < 0.5) {\ngl_FragColor.r *= 2.0 * uColor.r;\n} else {\ngl_FragColor.r = 1.0 - 2.0 * (1.0 - gl_FragColor.r) * (1.0 - uColor.r);\n}\nif (uColor.g < 0.5) {\ngl_FragColor.g *= 2.0 * uColor.g;\n} else {\ngl_FragColor.g = 1.0 - 2.0 * (1.0 - gl_FragColor.g) * (1.0 - uColor.g);\n}\nif (uColor.b < 0.5) {\ngl_FragColor.b *= 2.0 * uColor.b;\n} else {\ngl_FragColor.b = 1.0 - 2.0 * (1.0 - gl_FragColor.b) * (1.0 - uColor.b);\n}\n",tint:"gl_FragColor.rgb *= (1.0 - uColor.a);\ngl_FragColor.rgb += uColor.rgb;\n"},buildSource:function(e){return"precision highp float;\nuniform sampler2D uTexture;\nuniform vec4 uColor;\nvarying vec2 vTexCoord;\nvoid main() {\nvec4 color = texture2D(uTexture, vTexCoord);\ngl_FragColor = color;\nif (color.a > 0.0) {\n"+this.fragmentSource[e]+"}\n}"},retrieveShader:function(e){var t,n=this.type+"_"+this.mode;return e.programCache.hasOwnProperty(n)||(t=this.buildSource(this.mode),e.programCache[n]=this.createProgram(e.context,t)),e.programCache[n]},applyTo2d:function(e){var n,r,o,i,a,s,l,c=e.imageData.data,u=c.length,d=1-this.alpha;n=(l=new t.Color(this.color).getSource())[0]*this.alpha,r=l[1]*this.alpha,o=l[2]*this.alpha;for(var p=0;p<u;p+=4)switch(i=c[p],a=c[p+1],s=c[p+2],this.mode){case"multiply":c[p]=i*n/255,c[p+1]=a*r/255,c[p+2]=s*o/255;break;case"screen":c[p]=255-(255-i)*(255-n)/255,c[p+1]=255-(255-a)*(255-r)/255,c[p+2]=255-(255-s)*(255-o)/255;break;case"add":c[p]=i+n,c[p+1]=a+r,c[p+2]=s+o;break;case"diff":case"difference":c[p]=Math.abs(i-n),c[p+1]=Math.abs(a-r),c[p+2]=Math.abs(s-o);break;case"subtract":c[p]=i-n,c[p+1]=a-r,c[p+2]=s-o;break;case"darken":c[p]=Math.min(i,n),c[p+1]=Math.min(a,r),c[p+2]=Math.min(s,o);break;case"lighten":c[p]=Math.max(i,n),c[p+1]=Math.max(a,r),c[p+2]=Math.max(s,o);break;case"overlay":c[p]=n<128?2*i*n/255:255-2*(255-i)*(255-n)/255,c[p+1]=r<128?2*a*r/255:255-2*(255-a)*(255-r)/255,c[p+2]=o<128?2*s*o/255:255-2*(255-s)*(255-o)/255;break;case"exclusion":c[p]=n+i-2*n*i/255,c[p+1]=r+a-2*r*a/255,c[p+2]=o+s-2*o*s/255;break;case"tint":c[p]=n+i*d,c[p+1]=r+a*d,c[p+2]=o+s*d}},getUniformLocations:function(e,t){return{uColor:e.getUniformLocation(t,"uColor")}},sendUniformData:function(e,n){var r=new t.Color(this.color).getSource();r[0]=this.alpha*r[0]/255,r[1]=this.alpha*r[1]/255,r[2]=this.alpha*r[2]/255,r[3]=this.alpha,e.uniform4fv(n.uColor,r)},toObject:function(){return{type:this.type,color:this.color,mode:this.mode,alpha:this.alpha}}}),t.Image.filters.BlendColor.fromObject=t.Image.filters.BaseFilter.fromObject}(t),function(e){"use strict";var t=e.fabric,n=t.Image.filters,r=t.util.createClass;n.BlendImage=r(n.BaseFilter,{type:"BlendImage",image:null,mode:"multiply",alpha:1,vertexSource:"attribute vec2 aPosition;\nvarying vec2 vTexCoord;\nvarying vec2 vTexCoord2;\nuniform mat3 uTransformMatrix;\nvoid main() {\nvTexCoord = aPosition;\nvTexCoord2 = (uTransformMatrix * vec3(aPosition, 1.0)).xy;\ngl_Position = vec4(aPosition * 2.0 - 1.0, 0.0, 1.0);\n}",fragmentSource:{multiply:"precision highp float;\nuniform sampler2D uTexture;\nuniform sampler2D uImage;\nuniform vec4 uColor;\nvarying vec2 vTexCoord;\nvarying vec2 vTexCoord2;\nvoid main() {\nvec4 color = texture2D(uTexture, vTexCoord);\nvec4 color2 = texture2D(uImage, vTexCoord2);\ncolor.rgba *= color2.rgba;\ngl_FragColor = color;\n}",mask:"precision highp float;\nuniform sampler2D uTexture;\nuniform sampler2D uImage;\nuniform vec4 uColor;\nvarying vec2 vTexCoord;\nvarying vec2 vTexCoord2;\nvoid main() {\nvec4 color = texture2D(uTexture, vTexCoord);\nvec4 color2 = texture2D(uImage, vTexCoord2);\ncolor.a = color2.a;\ngl_FragColor = color;\n}"},retrieveShader:function(e){var t=this.type+"_"+this.mode,n=this.fragmentSource[this.mode];return e.programCache.hasOwnProperty(t)||(e.programCache[t]=this.createProgram(e.context,n)),e.programCache[t]},applyToWebGL:function(e){var t=e.context,n=this.createTexture(e.filterBackend,this.image);this.bindAdditionalTexture(t,n,t.TEXTURE1),this.callSuper("applyToWebGL",e),this.unbindAdditionalTexture(t,t.TEXTURE1)},createTexture:function(e,t){return e.getCachedTexture(t.cacheKey,t._element)},calculateMatrix:function(){var e=this.image,t=e._element.width,n=e._element.height;return[1/e.scaleX,0,0,0,1/e.scaleY,0,-e.left/t,-e.top/n,1]},applyTo2d:function(e){var n,r,o,i,a,s,l,c,u,d,p,f=e.imageData,h=e.filterBackend.resources,b=f.data,A=b.length,m=f.width,g=f.height,v=this.image;h.blendImage||(h.blendImage=t.util.createCanvasElement()),d=(u=h.blendImage).getContext("2d"),u.width!==m||u.height!==g?(u.width=m,u.height=g):d.clearRect(0,0,m,g),d.setTransform(v.scaleX,0,0,v.scaleY,v.left,v.top),d.drawImage(v._element,0,0,m,g),p=d.getImageData(0,0,m,g).data;for(var y=0;y<A;y+=4)switch(a=b[y],s=b[y+1],l=b[y+2],c=b[y+3],n=p[y],r=p[y+1],o=p[y+2],i=p[y+3],this.mode){case"multiply":b[y]=a*n/255,b[y+1]=s*r/255,b[y+2]=l*o/255,b[y+3]=c*i/255;break;case"mask":b[y+3]=i}},getUniformLocations:function(e,t){return{uTransformMatrix:e.getUniformLocation(t,"uTransformMatrix"),uImage:e.getUniformLocation(t,"uImage")}},sendUniformData:function(e,t){var n=this.calculateMatrix();e.uniform1i(t.uImage,1),e.uniformMatrix3fv(t.uTransformMatrix,!1,n)},toObject:function(){return{type:this.type,image:this.image&&this.image.toObject(),mode:this.mode,alpha:this.alpha}}}),t.Image.filters.BlendImage.fromObject=function(e,n){t.Image.fromObject(e.image,(function(r){var o=t.util.object.clone(e);o.image=r,n(new t.Image.filters.BlendImage(o))}))}}(t),function(e){"use strict";var t=e.fabric||(e.fabric={}),n=Math.pow,r=Math.floor,o=Math.sqrt,i=Math.abs,a=Math.round,s=Math.sin,l=Math.ceil,c=t.Image.filters,u=t.util.createClass;c.Resize=u(c.BaseFilter,{type:"Resize",resizeType:"hermite",scaleX:1,scaleY:1,lanczosLobes:3,getUniformLocations:function(e,t){return{uDelta:e.getUniformLocation(t,"uDelta"),uTaps:e.getUniformLocation(t,"uTaps")}},sendUniformData:function(e,t){e.uniform2fv(t.uDelta,this.horizontal?[1/this.width,0]:[0,1/this.height]),e.uniform1fv(t.uTaps,this.taps)},retrieveShader:function(e){var t=this.getFilterWindow(),n=this.type+"_"+t;if(!e.programCache.hasOwnProperty(n)){var r=this.generateShader(t);e.programCache[n]=this.createProgram(e.context,r)}return e.programCache[n]},getFilterWindow:function(){var e=this.tempScale;return Math.ceil(this.lanczosLobes/e)},getTaps:function(){for(var e=this.lanczosCreate(this.lanczosLobes),t=this.tempScale,n=this.getFilterWindow(),r=new Array(n),o=1;o<=n;o++)r[o-1]=e(o*t);return r},generateShader:function(e){for(var t=new Array(e),n=this.fragmentSourceTOP,r=1;r<=e;r++)t[r-1]=r+".0 * uDelta";return n+="uniform float uTaps["+e+"];\n",n+="void main() {\n",n+="  vec4 color = texture2D(uTexture, vTexCoord);\n",n+="  float sum = 1.0;\n",t.forEach((function(e,t){n+="  color += texture2D(uTexture, vTexCoord + "+e+") * uTaps["+t+"];\n",n+="  color += texture2D(uTexture, vTexCoord - "+e+") * uTaps["+t+"];\n",n+="  sum += 2.0 * uTaps["+t+"];\n"})),n+="  gl_FragColor = color / sum;\n",n+="}"},fragmentSourceTOP:"precision highp float;\nuniform sampler2D uTexture;\nuniform vec2 uDelta;\nvarying vec2 vTexCoord;\n",applyTo:function(e){e.webgl?(e.passes++,this.width=e.sourceWidth,this.horizontal=!0,this.dW=Math.round(this.width*this.scaleX),this.dH=e.sourceHeight,this.tempScale=this.dW/this.width,this.taps=this.getTaps(),e.destinationWidth=this.dW,this._setupFrameBuffer(e),this.applyToWebGL(e),this._swapTextures(e),e.sourceWidth=e.destinationWidth,this.height=e.sourceHeight,this.horizontal=!1,this.dH=Math.round(this.height*this.scaleY),this.tempScale=this.dH/this.height,this.taps=this.getTaps(),e.destinationHeight=this.dH,this._setupFrameBuffer(e),this.applyToWebGL(e),this._swapTextures(e),e.sourceHeight=e.destinationHeight):this.applyTo2d(e)},isNeutralState:function(){return 1===this.scaleX&&1===this.scaleY},lanczosCreate:function(e){return function(t){if(t>=e||t<=-e)return 0;if(t<1.1920929e-7&&t>-1.1920929e-7)return 1;var n=(t*=Math.PI)/e;return s(t)/t*s(n)/n}},applyTo2d:function(e){var t=e.imageData,n=this.scaleX,r=this.scaleY;this.rcpScaleX=1/n,this.rcpScaleY=1/r;var o,i=t.width,s=t.height,l=a(i*n),c=a(s*r);"sliceHack"===this.resizeType?o=this.sliceByTwo(e,i,s,l,c):"hermite"===this.resizeType?o=this.hermiteFastResize(e,i,s,l,c):"bilinear"===this.resizeType?o=this.bilinearFiltering(e,i,s,l,c):"lanczos"===this.resizeType&&(o=this.lanczosResize(e,i,s,l,c)),e.imageData=o},sliceByTwo:function(e,n,o,i,a){var s,l,c=e.imageData,u=.5,d=!1,p=!1,f=n*u,h=o*u,b=t.filterBackend.resources,A=0,m=0,g=n,v=0;for(b.sliceByTwo||(b.sliceByTwo=document.createElement("canvas")),((s=b.sliceByTwo).width<1.5*n||s.height<o)&&(s.width=1.5*n,s.height=o),(l=s.getContext("2d")).clearRect(0,0,1.5*n,o),l.putImageData(c,0,0),i=r(i),a=r(a);!d||!p;)n=f,o=h,i<r(f*u)?f=r(f*u):(f=i,d=!0),a<r(h*u)?h=r(h*u):(h=a,p=!0),l.drawImage(s,A,m,n,o,g,v,f,h),A=g,m=v,v+=h;return l.getImageData(A,m,i,a)},lanczosResize:function(e,t,a,s,c){var u=e.imageData.data,d=e.ctx.createImageData(s,c),p=d.data,f=this.lanczosCreate(this.lanczosLobes),h=this.rcpScaleX,b=this.rcpScaleY,A=2/this.rcpScaleX,m=2/this.rcpScaleY,g=l(h*this.lanczosLobes/2),v=l(b*this.lanczosLobes/2),y={},M={},O={};return function e(l){var _,z,x,w,C,S,E,k,D,N,T;for(M.x=(l+.5)*h,O.x=r(M.x),_=0;_<c;_++){for(M.y=(_+.5)*b,O.y=r(M.y),C=0,S=0,E=0,k=0,D=0,z=O.x-g;z<=O.x+g;z++)if(!(z<0||z>=t)){N=r(1e3*i(z-M.x)),y[N]||(y[N]={});for(var j=O.y-v;j<=O.y+v;j++)j<0||j>=a||(T=r(1e3*i(j-M.y)),y[N][T]||(y[N][T]=f(o(n(N*A,2)+n(T*m,2))/1e3)),(x=y[N][T])>0&&(C+=x,S+=x*u[w=4*(j*t+z)],E+=x*u[w+1],k+=x*u[w+2],D+=x*u[w+3]))}p[w=4*(_*s+l)]=S/C,p[w+1]=E/C,p[w+2]=k/C,p[w+3]=D/C}return++l<s?e(l):d}(0)},bilinearFiltering:function(e,t,n,o,i){var a,s,l,c,u,d,p,f,h,b=0,A=this.rcpScaleX,m=this.rcpScaleY,g=4*(t-1),v=e.imageData.data,y=e.ctx.createImageData(o,i),M=y.data;for(l=0;l<i;l++)for(c=0;c<o;c++)for(u=A*c-(a=r(A*c)),d=m*l-(s=r(m*l)),h=4*(s*t+a),p=0;p<4;p++)f=v[h+p]*(1-u)*(1-d)+v[h+4+p]*u*(1-d)+v[h+g+p]*d*(1-u)+v[h+g+4+p]*u*d,M[b++]=f;return y},hermiteFastResize:function(e,t,n,a,s){for(var c=this.rcpScaleX,u=this.rcpScaleY,d=l(c/2),p=l(u/2),f=e.imageData.data,h=e.ctx.createImageData(a,s),b=h.data,A=0;A<s;A++)for(var m=0;m<a;m++){for(var g=4*(m+A*a),v=0,y=0,M=0,O=0,_=0,z=0,x=0,w=(A+.5)*u,C=r(A*u);C<(A+1)*u;C++)for(var S=i(w-(C+.5))/p,E=(m+.5)*c,k=S*S,D=r(m*c);D<(m+1)*c;D++){var N=i(E-(D+.5))/d,T=o(k+N*N);T>1&&T<-1||(v=2*T*T*T-3*T*T+1)>0&&(x+=v*f[(N=4*(D+C*t))+3],M+=v,f[N+3]<255&&(v=v*f[N+3]/250),O+=v*f[N],_+=v*f[N+1],z+=v*f[N+2],y+=v)}b[g]=O/y,b[g+1]=_/y,b[g+2]=z/y,b[g+3]=x/M}return h},toObject:function(){return{type:this.type,scaleX:this.scaleX,scaleY:this.scaleY,resizeType:this.resizeType,lanczosLobes:this.lanczosLobes}}}),t.Image.filters.Resize.fromObject=t.Image.filters.BaseFilter.fromObject}(t),function(e){"use strict";var t=e.fabric||(e.fabric={}),n=t.Image.filters,r=t.util.createClass;n.Contrast=r(n.BaseFilter,{type:"Contrast",fragmentSource:"precision highp float;\nuniform sampler2D uTexture;\nuniform float uContrast;\nvarying vec2 vTexCoord;\nvoid main() {\nvec4 color = texture2D(uTexture, vTexCoord);\nfloat contrastF = 1.015 * (uContrast + 1.0) / (1.0 * (1.015 - uContrast));\ncolor.rgb = contrastF * (color.rgb - 0.5) + 0.5;\ngl_FragColor = color;\n}",contrast:0,mainParameter:"contrast",applyTo2d:function(e){if(0!==this.contrast){var t,n=e.imageData.data,r=n.length,o=Math.floor(255*this.contrast),i=259*(o+255)/(255*(259-o));for(t=0;t<r;t+=4)n[t]=i*(n[t]-128)+128,n[t+1]=i*(n[t+1]-128)+128,n[t+2]=i*(n[t+2]-128)+128}},getUniformLocations:function(e,t){return{uContrast:e.getUniformLocation(t,"uContrast")}},sendUniformData:function(e,t){e.uniform1f(t.uContrast,this.contrast)}}),t.Image.filters.Contrast.fromObject=t.Image.filters.BaseFilter.fromObject}(t),function(e){"use strict";var t=e.fabric||(e.fabric={}),n=t.Image.filters,r=t.util.createClass;n.Saturation=r(n.BaseFilter,{type:"Saturation",fragmentSource:"precision highp float;\nuniform sampler2D uTexture;\nuniform float uSaturation;\nvarying vec2 vTexCoord;\nvoid main() {\nvec4 color = texture2D(uTexture, vTexCoord);\nfloat rgMax = max(color.r, color.g);\nfloat rgbMax = max(rgMax, color.b);\ncolor.r += rgbMax != color.r ? (rgbMax - color.r) * uSaturation : 0.00;\ncolor.g += rgbMax != color.g ? (rgbMax - color.g) * uSaturation : 0.00;\ncolor.b += rgbMax != color.b ? (rgbMax - color.b) * uSaturation : 0.00;\ngl_FragColor = color;\n}",saturation:0,mainParameter:"saturation",applyTo2d:function(e){if(0!==this.saturation){var t,n,r=e.imageData.data,o=r.length,i=-this.saturation;for(t=0;t<o;t+=4)n=Math.max(r[t],r[t+1],r[t+2]),r[t]+=n!==r[t]?(n-r[t])*i:0,r[t+1]+=n!==r[t+1]?(n-r[t+1])*i:0,r[t+2]+=n!==r[t+2]?(n-r[t+2])*i:0}},getUniformLocations:function(e,t){return{uSaturation:e.getUniformLocation(t,"uSaturation")}},sendUniformData:function(e,t){e.uniform1f(t.uSaturation,-this.saturation)}}),t.Image.filters.Saturation.fromObject=t.Image.filters.BaseFilter.fromObject}(t),function(e){"use strict";var t=e.fabric||(e.fabric={}),n=t.Image.filters,r=t.util.createClass;n.Vibrance=r(n.BaseFilter,{type:"Vibrance",fragmentSource:"precision highp float;\nuniform sampler2D uTexture;\nuniform float uVibrance;\nvarying vec2 vTexCoord;\nvoid main() {\nvec4 color = texture2D(uTexture, vTexCoord);\nfloat max = max(color.r, max(color.g, color.b));\nfloat avg = (color.r + color.g + color.b) / 3.0;\nfloat amt = (abs(max - avg) * 2.0) * uVibrance;\ncolor.r += max != color.r ? (max - color.r) * amt : 0.00;\ncolor.g += max != color.g ? (max - color.g) * amt : 0.00;\ncolor.b += max != color.b ? (max - color.b) * amt : 0.00;\ngl_FragColor = color;\n}",vibrance:0,mainParameter:"vibrance",applyTo2d:function(e){if(0!==this.vibrance){var t,n,r,o,i=e.imageData.data,a=i.length,s=-this.vibrance;for(t=0;t<a;t+=4)n=Math.max(i[t],i[t+1],i[t+2]),r=(i[t]+i[t+1]+i[t+2])/3,o=2*Math.abs(n-r)/255*s,i[t]+=n!==i[t]?(n-i[t])*o:0,i[t+1]+=n!==i[t+1]?(n-i[t+1])*o:0,i[t+2]+=n!==i[t+2]?(n-i[t+2])*o:0}},getUniformLocations:function(e,t){return{uVibrance:e.getUniformLocation(t,"uVibrance")}},sendUniformData:function(e,t){e.uniform1f(t.uVibrance,-this.vibrance)}}),t.Image.filters.Vibrance.fromObject=t.Image.filters.BaseFilter.fromObject}(t),function(e){"use strict";var t=e.fabric||(e.fabric={}),n=t.Image.filters,r=t.util.createClass;n.Blur=r(n.BaseFilter,{type:"Blur",fragmentSource:"precision highp float;\nuniform sampler2D uTexture;\nuniform vec2 uDelta;\nvarying vec2 vTexCoord;\nconst float nSamples = 15.0;\nvec3 v3offset = vec3(12.9898, 78.233, 151.7182);\nfloat random(vec3 scale) {\nreturn fract(sin(dot(gl_FragCoord.xyz, scale)) * 43758.5453);\n}\nvoid main() {\nvec4 color = vec4(0.0);\nfloat total = 0.0;\nfloat offset = random(v3offset);\nfor (float t = -nSamples; t <= nSamples; t++) {\nfloat percent = (t + offset - 0.5) / nSamples;\nfloat weight = 1.0 - abs(percent);\ncolor += texture2D(uTexture, vTexCoord + uDelta * percent) * weight;\ntotal += weight;\n}\ngl_FragColor = color / total;\n}",blur:0,mainParameter:"blur",applyTo:function(e){e.webgl?(this.aspectRatio=e.sourceWidth/e.sourceHeight,e.passes++,this._setupFrameBuffer(e),this.horizontal=!0,this.applyToWebGL(e),this._swapTextures(e),this._setupFrameBuffer(e),this.horizontal=!1,this.applyToWebGL(e),this._swapTextures(e)):this.applyTo2d(e)},applyTo2d:function(e){e.imageData=this.simpleBlur(e)},simpleBlur:function(e){var n,r,o=e.filterBackend.resources,i=e.imageData.width,a=e.imageData.height;o.blurLayer1||(o.blurLayer1=t.util.createCanvasElement(),o.blurLayer2=t.util.createCanvasElement()),n=o.blurLayer1,r=o.blurLayer2,n.width===i&&n.height===a||(r.width=n.width=i,r.height=n.height=a);var s,l,c,u,d=n.getContext("2d"),p=r.getContext("2d"),f=15,h=.06*this.blur*.5;for(d.putImageData(e.imageData,0,0),p.clearRect(0,0,i,a),u=-15;u<=f;u++)c=h*(l=u/f)*i+(s=(Math.random()-.5)/4),p.globalAlpha=1-Math.abs(l),p.drawImage(n,c,s),d.drawImage(r,0,0),p.globalAlpha=1,p.clearRect(0,0,r.width,r.height);for(u=-15;u<=f;u++)c=h*(l=u/f)*a+(s=(Math.random()-.5)/4),p.globalAlpha=1-Math.abs(l),p.drawImage(n,s,c),d.drawImage(r,0,0),p.globalAlpha=1,p.clearRect(0,0,r.width,r.height);e.ctx.drawImage(n,0,0);var b=e.ctx.getImageData(0,0,n.width,n.height);return d.globalAlpha=1,d.clearRect(0,0,n.width,n.height),b},getUniformLocations:function(e,t){return{delta:e.getUniformLocation(t,"uDelta")}},sendUniformData:function(e,t){var n=this.chooseRightDelta();e.uniform2fv(t.delta,n)},chooseRightDelta:function(){var e,t=1,n=[0,0];return this.horizontal?this.aspectRatio>1&&(t=1/this.aspectRatio):this.aspectRatio<1&&(t=this.aspectRatio),e=t*this.blur*.12,this.horizontal?n[0]=e:n[1]=e,n}}),n.Blur.fromObject=t.Image.filters.BaseFilter.fromObject}(t),function(e){"use strict";var t=e.fabric||(e.fabric={}),n=t.Image.filters,r=t.util.createClass;n.Gamma=r(n.BaseFilter,{type:"Gamma",fragmentSource:"precision highp float;\nuniform sampler2D uTexture;\nuniform vec3 uGamma;\nvarying vec2 vTexCoord;\nvoid main() {\nvec4 color = texture2D(uTexture, vTexCoord);\nvec3 correction = (1.0 / uGamma);\ncolor.r = pow(color.r, correction.r);\ncolor.g = pow(color.g, correction.g);\ncolor.b = pow(color.b, correction.b);\ngl_FragColor = color;\ngl_FragColor.rgb *= color.a;\n}",gamma:[1,1,1],mainParameter:"gamma",initialize:function(e){this.gamma=[1,1,1],n.BaseFilter.prototype.initialize.call(this,e)},applyTo2d:function(e){var t,n=e.imageData.data,r=this.gamma,o=n.length,i=1/r[0],a=1/r[1],s=1/r[2];for(this.rVals||(this.rVals=new Uint8Array(256),this.gVals=new Uint8Array(256),this.bVals=new Uint8Array(256)),t=0,o=256;t<o;t++)this.rVals[t]=255*Math.pow(t/255,i),this.gVals[t]=255*Math.pow(t/255,a),this.bVals[t]=255*Math.pow(t/255,s);for(t=0,o=n.length;t<o;t+=4)n[t]=this.rVals[n[t]],n[t+1]=this.gVals[n[t+1]],n[t+2]=this.bVals[n[t+2]]},getUniformLocations:function(e,t){return{uGamma:e.getUniformLocation(t,"uGamma")}},sendUniformData:function(e,t){e.uniform3fv(t.uGamma,this.gamma)}}),t.Image.filters.Gamma.fromObject=t.Image.filters.BaseFilter.fromObject}(t),function(e){"use strict";var t=e.fabric||(e.fabric={}),n=t.Image.filters,r=t.util.createClass;n.Composed=r(n.BaseFilter,{type:"Composed",subFilters:[],initialize:function(e){this.callSuper("initialize",e),this.subFilters=this.subFilters.slice(0)},applyTo:function(e){e.passes+=this.subFilters.length-1,this.subFilters.forEach((function(t){t.applyTo(e)}))},toObject:function(){return t.util.object.extend(this.callSuper("toObject"),{subFilters:this.subFilters.map((function(e){return e.toObject()}))})},isNeutralState:function(){return!this.subFilters.some((function(e){return!e.isNeutralState()}))}}),t.Image.filters.Composed.fromObject=function(e,n){var r=(e.subFilters||[]).map((function(e){return new t.Image.filters[e.type](e)})),o=new t.Image.filters.Composed({subFilters:r});return n&&n(o),o}}(t),function(e){"use strict";var t=e.fabric||(e.fabric={}),n=t.Image.filters,r=t.util.createClass;n.HueRotation=r(n.ColorMatrix,{type:"HueRotation",rotation:0,mainParameter:"rotation",calculateMatrix:function(){var e=this.rotation*Math.PI,n=t.util.cos(e),r=t.util.sin(e),o=1/3,i=Math.sqrt(o)*r,a=1-n;this.matrix=[1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0],this.matrix[0]=n+a/3,this.matrix[1]=o*a-i,this.matrix[2]=o*a+i,this.matrix[5]=o*a+i,this.matrix[6]=n+o*a,this.matrix[7]=o*a-i,this.matrix[10]=o*a-i,this.matrix[11]=o*a+i,this.matrix[12]=n+o*a},isNeutralState:function(e){return this.calculateMatrix(),n.BaseFilter.prototype.isNeutralState.call(this,e)},applyTo:function(e){this.calculateMatrix(),n.BaseFilter.prototype.applyTo.call(this,e)}}),t.Image.filters.HueRotation.fromObject=t.Image.filters.BaseFilter.fromObject}(t),function(e){"use strict";var t=e.fabric||(e.fabric={}),n=t.util.object.clone;if(t.Text)t.warn("fabric.Text is already defined");else{var r="fontFamily fontWeight fontSize text underline overline linethrough textAlign fontStyle lineHeight textBackgroundColor charSpacing styles direction path pathStartOffset pathSide pathAlign".split(" ");t.Text=t.util.createClass(t.Object,{_dimensionAffectingProps:["fontSize","fontWeight","fontFamily","fontStyle","lineHeight","text","charSpacing","textAlign","styles","path","pathStartOffset","pathSide","pathAlign"],_reNewline:/\r?\n/,_reSpacesAndTabs:/[ \t\r]/g,_reSpaceAndTab:/[ \t\r]/,_reWords:/\S+/g,type:"text",fontSize:40,fontWeight:"normal",fontFamily:"Times New Roman",underline:!1,overline:!1,linethrough:!1,textAlign:"left",fontStyle:"normal",lineHeight:1.16,superscript:{size:.6,baseline:-.35},subscript:{size:.6,baseline:.11},textBackgroundColor:"",stateProperties:t.Object.prototype.stateProperties.concat(r),cacheProperties:t.Object.prototype.cacheProperties.concat(r),stroke:null,shadow:null,path:null,pathStartOffset:0,pathSide:"left",pathAlign:"baseline",_fontSizeFraction:.222,offsets:{underline:.1,linethrough:-.315,overline:-.88},_fontSizeMult:1.13,charSpacing:0,styles:null,_measuringContext:null,deltaY:0,direction:"ltr",_styleProperties:["stroke","strokeWidth","fill","fontFamily","fontSize","fontWeight","fontStyle","underline","overline","linethrough","deltaY","textBackgroundColor"],__charBounds:[],CACHE_FONT_SIZE:400,MIN_TEXT_WIDTH:2,initialize:function(e,t){this.styles=t&&t.styles||{},this.text=e,this.__skipDimension=!0,this.callSuper("initialize",t),this.path&&this.setPathInfo(),this.__skipDimension=!1,this.initDimensions(),this.setCoords(),this.setupState({propertySet:"_dimensionAffectingProps"})},setPathInfo:function(){var e=this.path;e&&(e.segmentsInfo=t.util.getPathSegmentsInfo(e.path))},getMeasuringContext:function(){return t._measuringContext||(t._measuringContext=this.canvas&&this.canvas.contextCache||t.util.createCanvasElement().getContext("2d")),t._measuringContext},_splitText:function(){var e=this._splitTextIntoLines(this.text);return this.textLines=e.lines,this._textLines=e.graphemeLines,this._unwrappedTextLines=e._unwrappedLines,this._text=e.graphemeText,e},initDimensions:function(){this.__skipDimension||(this._splitText(),this._clearCache(),this.path?(this.width=this.path.width,this.height=this.path.height):(this.width=this.calcTextWidth()||this.cursorWidth||this.MIN_TEXT_WIDTH,this.height=this.calcTextHeight()),-1!==this.textAlign.indexOf("justify")&&this.enlargeSpaces(),this.saveState({propertySet:"_dimensionAffectingProps"}))},enlargeSpaces:function(){for(var e,t,n,r,o,i,a,s=0,l=this._textLines.length;s<l;s++)if(("justify"===this.textAlign||s!==l-1&&!this.isEndOfWrapping(s))&&(r=0,o=this._textLines[s],(t=this.getLineWidth(s))<this.width&&(a=this.textLines[s].match(this._reSpacesAndTabs)))){n=a.length,e=(this.width-t)/n;for(var c=0,u=o.length;c<=u;c++)i=this.__charBounds[s][c],this._reSpaceAndTab.test(o[c])?(i.width+=e,i.kernedWidth+=e,i.left+=r,r+=e):i.left+=r}},isEndOfWrapping:function(e){return e===this._textLines.length-1},missingNewlineOffset:function(){return 1},toString:function(){return"#<fabric.Text ("+this.complexity()+'): { "text": "'+this.text+'", "fontFamily": "'+this.fontFamily+'" }>'},_getCacheCanvasDimensions:function(){var e=this.callSuper("_getCacheCanvasDimensions"),t=this.fontSize;return e.width+=t*e.zoomX,e.height+=t*e.zoomY,e},_render:function(e){var t=this.path;t&&!t.isNotVisible()&&t._render(e),this._setTextStyles(e),this._renderTextLinesBackground(e),this._renderTextDecoration(e,"underline"),this._renderText(e),this._renderTextDecoration(e,"overline"),this._renderTextDecoration(e,"linethrough")},_renderText:function(e){"stroke"===this.paintFirst?(this._renderTextStroke(e),this._renderTextFill(e)):(this._renderTextFill(e),this._renderTextStroke(e))},_setTextStyles:function(e,t,n){if(e.textBaseline="alphabetical",this.path)switch(this.pathAlign){case"center":e.textBaseline="middle";break;case"ascender":e.textBaseline="top";break;case"descender":e.textBaseline="bottom"}e.font=this._getFontDeclaration(t,n)},calcTextWidth:function(){for(var e=this.getLineWidth(0),t=1,n=this._textLines.length;t<n;t++){var r=this.getLineWidth(t);r>e&&(e=r)}return e},_renderTextLine:function(e,t,n,r,o,i){this._renderChars(e,t,n,r,o,i)},_renderTextLinesBackground:function(e){if(this.textBackgroundColor||this.styleHas("textBackgroundColor")){for(var t,n,r,o,i,a,s,l=e.fillStyle,c=this._getLeftOffset(),u=this._getTopOffset(),d=0,p=0,f=this.path,h=0,b=this._textLines.length;h<b;h++)if(t=this.getHeightOfLine(h),this.textBackgroundColor||this.styleHas("textBackgroundColor",h)){r=this._textLines[h],n=this._getLineLeftOffset(h),p=0,d=0,o=this.getValueOfPropertyAt(h,0,"textBackgroundColor");for(var A=0,m=r.length;A<m;A++)i=this.__charBounds[h][A],a=this.getValueOfPropertyAt(h,A,"textBackgroundColor"),f?(e.save(),e.translate(i.renderLeft,i.renderTop),e.rotate(i.angle),e.fillStyle=a,a&&e.fillRect(-i.width/2,-t/this.lineHeight*(1-this._fontSizeFraction),i.width,t/this.lineHeight),e.restore()):a!==o?(s=c+n+d,"rtl"===this.direction&&(s=this.width-s-p),e.fillStyle=o,o&&e.fillRect(s,u,p,t/this.lineHeight),d=i.left,p=i.width,o=a):p+=i.kernedWidth;a&&!f&&(s=c+n+d,"rtl"===this.direction&&(s=this.width-s-p),e.fillStyle=a,e.fillRect(s,u,p,t/this.lineHeight)),u+=t}else u+=t;e.fillStyle=l,this._removeShadow(e)}},getFontCache:function(e){var n=e.fontFamily.toLowerCase();t.charWidthsCache[n]||(t.charWidthsCache[n]={});var r=t.charWidthsCache[n],o=e.fontStyle.toLowerCase()+"_"+(e.fontWeight+"").toLowerCase();return r[o]||(r[o]={}),r[o]},_measureChar:function(e,t,n,r){var o,i,a,s,l=this.getFontCache(t),c=n+e,u=this._getFontDeclaration(t)===this._getFontDeclaration(r),d=t.fontSize/this.CACHE_FONT_SIZE;if(n&&void 0!==l[n]&&(a=l[n]),void 0!==l[e]&&(s=o=l[e]),u&&void 0!==l[c]&&(s=(i=l[c])-a),void 0===o||void 0===a||void 0===i){var p=this.getMeasuringContext();this._setTextStyles(p,t,!0)}return void 0===o&&(s=o=p.measureText(e).width,l[e]=o),void 0===a&&u&&n&&(a=p.measureText(n).width,l[n]=a),u&&void 0===i&&(i=p.measureText(c).width,l[c]=i,s=i-a),{width:o*d,kernedWidth:s*d}},getHeightOfChar:function(e,t){return this.getValueOfPropertyAt(e,t,"fontSize")},measureLine:function(e){var t=this._measureLine(e);return 0!==this.charSpacing&&(t.width-=this._getWidthOfCharSpacing()),t.width<0&&(t.width=0),t},_measureLine:function(e){var n,r,o,i,a,s,l=0,c=this._textLines[e],u=new Array(c.length),d=0,p=this.path,f="right"===this.pathSide;for(this.__charBounds[e]=u,n=0;n<c.length;n++)r=c[n],i=this._getGraphemeBox(r,e,n,o),u[n]=i,l+=i.kernedWidth,o=r;if(u[n]={left:i?i.left+i.width:0,width:0,kernedWidth:0,height:this.fontSize},p){switch(s=p.segmentsInfo[p.segmentsInfo.length-1].length,(a=t.util.getPointOnPath(p.path,0,p.segmentsInfo)).x+=p.pathOffset.x,a.y+=p.pathOffset.y,this.textAlign){case"left":d=f?s-l:0;break;case"center":d=(s-l)/2;break;case"right":d=f?0:s-l}for(d+=this.pathStartOffset*(f?-1:1),n=f?c.length-1:0;f?n>=0:n<c.length;f?n--:n++)i=u[n],d>s?d%=s:d<0&&(d+=s),this._setGraphemeOnPath(d,i,a),d+=i.kernedWidth}return{width:l,numOfSpaces:0}},_setGraphemeOnPath:function(e,n,r){var o=e+n.kernedWidth/2,i=this.path,a=t.util.getPointOnPath(i.path,o,i.segmentsInfo);n.renderLeft=a.x-r.x,n.renderTop=a.y-r.y,n.angle=a.angle+("right"===this.pathSide?Math.PI:0)},_getGraphemeBox:function(e,t,n,r,o){var i,a=this.getCompleteStyleDeclaration(t,n),s=r?this.getCompleteStyleDeclaration(t,n-1):{},l=this._measureChar(e,a,r,s),c=l.kernedWidth,u=l.width;0!==this.charSpacing&&(u+=i=this._getWidthOfCharSpacing(),c+=i);var d={width:u,left:0,height:a.fontSize,kernedWidth:c,deltaY:a.deltaY};if(n>0&&!o){var p=this.__charBounds[t][n-1];d.left=p.left+p.width+l.kernedWidth-l.width}return d},getHeightOfLine:function(e){if(this.__lineHeights[e])return this.__lineHeights[e];for(var t=this._textLines[e],n=this.getHeightOfChar(e,0),r=1,o=t.length;r<o;r++)n=Math.max(this.getHeightOfChar(e,r),n);return this.__lineHeights[e]=n*this.lineHeight*this._fontSizeMult},calcTextHeight:function(){for(var e,t=0,n=0,r=this._textLines.length;n<r;n++)e=this.getHeightOfLine(n),t+=n===r-1?e/this.lineHeight:e;return t},_getLeftOffset:function(){return"ltr"===this.direction?-this.width/2:this.width/2},_getTopOffset:function(){return-this.height/2},_renderTextCommon:function(e,t){e.save();for(var n=0,r=this._getLeftOffset(),o=this._getTopOffset(),i=0,a=this._textLines.length;i<a;i++){var s=this.getHeightOfLine(i),l=s/this.lineHeight,c=this._getLineLeftOffset(i);this._renderTextLine(t,e,this._textLines[i],r+c,o+n+l,i),n+=s}e.restore()},_renderTextFill:function(e){(this.fill||this.styleHas("fill"))&&this._renderTextCommon(e,"fillText")},_renderTextStroke:function(e){(this.stroke&&0!==this.strokeWidth||!this.isEmptyStyles())&&(this.shadow&&!this.shadow.affectStroke&&this._removeShadow(e),e.save(),this._setLineDash(e,this.strokeDashArray),e.beginPath(),this._renderTextCommon(e,"strokeText"),e.closePath(),e.restore())},_renderChars:function(e,n,r,o,i,a){var s,l,c,u,d,p=this.getHeightOfLine(a),f=-1!==this.textAlign.indexOf("justify"),h="",b=0,A=this.path,m=!f&&0===this.charSpacing&&this.isEmptyStyles(a)&&!A,g="ltr"===this.direction,v="ltr"===this.direction?1:-1,y=n.canvas.getAttribute("dir");if(n.save(),y!==this.direction&&(n.canvas.setAttribute("dir",g?"ltr":"rtl"),n.direction=g?"ltr":"rtl",n.textAlign=g?"left":"right"),i-=p*this._fontSizeFraction/this.lineHeight,m)return this._renderChar(e,n,a,0,r.join(""),o,i,p),void n.restore();for(var M=0,O=r.length-1;M<=O;M++)u=M===O||this.charSpacing||A,h+=r[M],c=this.__charBounds[a][M],0===b?(o+=v*(c.kernedWidth-c.width),b+=c.width):b+=c.kernedWidth,f&&!u&&this._reSpaceAndTab.test(r[M])&&(u=!0),u||(s=s||this.getCompleteStyleDeclaration(a,M),l=this.getCompleteStyleDeclaration(a,M+1),u=t.util.hasStyleChanged(s,l,!1)),u&&(A?(n.save(),n.translate(c.renderLeft,c.renderTop),n.rotate(c.angle),this._renderChar(e,n,a,M,h,-b/2,0,p),n.restore()):(d=o,this._renderChar(e,n,a,M,h,d,i,p)),h="",s=l,o+=v*b,b=0);n.restore()},_applyPatternGradientTransformText:function(e){var n,r=t.util.createCanvasElement(),o=this.width+this.strokeWidth,i=this.height+this.strokeWidth;return r.width=o,r.height=i,(n=r.getContext("2d")).beginPath(),n.moveTo(0,0),n.lineTo(o,0),n.lineTo(o,i),n.lineTo(0,i),n.closePath(),n.translate(o/2,i/2),n.fillStyle=e.toLive(n),this._applyPatternGradientTransform(n,e),n.fill(),n.createPattern(r,"no-repeat")},handleFiller:function(e,t,n){var r,o;return n.toLive?"percentage"===n.gradientUnits||n.gradientTransform||n.patternTransform?(r=-this.width/2,o=-this.height/2,e.translate(r,o),e[t]=this._applyPatternGradientTransformText(n),{offsetX:r,offsetY:o}):(e[t]=n.toLive(e,this),this._applyPatternGradientTransform(e,n)):(e[t]=n,{offsetX:0,offsetY:0})},_setStrokeStyles:function(e,t){return e.lineWidth=t.strokeWidth,e.lineCap=this.strokeLineCap,e.lineDashOffset=this.strokeDashOffset,e.lineJoin=this.strokeLineJoin,e.miterLimit=this.strokeMiterLimit,this.handleFiller(e,"strokeStyle",t.stroke)},_setFillStyles:function(e,t){return this.handleFiller(e,"fillStyle",t.fill)},_renderChar:function(e,t,n,r,o,i,a){var s,l,c=this._getStyleDeclaration(n,r),u=this.getCompleteStyleDeclaration(n,r),d="fillText"===e&&u.fill,p="strokeText"===e&&u.stroke&&u.strokeWidth;(p||d)&&(t.save(),d&&(s=this._setFillStyles(t,u)),p&&(l=this._setStrokeStyles(t,u)),t.font=this._getFontDeclaration(u),c&&c.textBackgroundColor&&this._removeShadow(t),c&&c.deltaY&&(a+=c.deltaY),d&&t.fillText(o,i-s.offsetX,a-s.offsetY),p&&t.strokeText(o,i-l.offsetX,a-l.offsetY),t.restore())},setSuperscript:function(e,t){return this._setScript(e,t,this.superscript)},setSubscript:function(e,t){return this._setScript(e,t,this.subscript)},_setScript:function(e,t,n){var r=this.get2DCursorLocation(e,!0),o=this.getValueOfPropertyAt(r.lineIndex,r.charIndex,"fontSize"),i=this.getValueOfPropertyAt(r.lineIndex,r.charIndex,"deltaY"),a={fontSize:o*n.size,deltaY:i+o*n.baseline};return this.setSelectionStyles(a,e,t),this},_getLineLeftOffset:function(e){var t=this.getLineWidth(e),n=this.width-t,r=this.textAlign,o=this.direction,i=0,a=this.isEndOfWrapping(e);return"justify"===r||"justify-center"===r&&!a||"justify-right"===r&&!a||"justify-left"===r&&!a?0:("center"===r&&(i=n/2),"right"===r&&(i=n),"justify-center"===r&&(i=n/2),"justify-right"===r&&(i=n),"rtl"===o&&(i-=n),i)},_clearCache:function(){this.__lineWidths=[],this.__lineHeights=[],this.__charBounds=[]},_shouldClearDimensionCache:function(){var e=this._forceClearCache;return e||(e=this.hasStateChanged("_dimensionAffectingProps")),e&&(this.dirty=!0,this._forceClearCache=!1),e},getLineWidth:function(e){if(void 0!==this.__lineWidths[e])return this.__lineWidths[e];var t=this.measureLine(e).width;return this.__lineWidths[e]=t,t},_getWidthOfCharSpacing:function(){return 0!==this.charSpacing?this.fontSize*this.charSpacing/1e3:0},getValueOfPropertyAt:function(e,t,n){var r=this._getStyleDeclaration(e,t);return r&&"undefined"!==typeof r[n]?r[n]:this[n]},_renderTextDecoration:function(e,t){if(this[t]||this.styleHas(t)){for(var n,r,o,i,a,s,l,c,u,d,p,f,h,b,A,m,g=this._getLeftOffset(),v=this._getTopOffset(),y=this.path,M=this._getWidthOfCharSpacing(),O=this.offsets[t],_=0,z=this._textLines.length;_<z;_++)if(n=this.getHeightOfLine(_),this[t]||this.styleHas(t,_)){l=this._textLines[_],b=n/this.lineHeight,i=this._getLineLeftOffset(_),d=0,p=0,c=this.getValueOfPropertyAt(_,0,t),m=this.getValueOfPropertyAt(_,0,"fill"),u=v+b*(1-this._fontSizeFraction),r=this.getHeightOfChar(_,0),a=this.getValueOfPropertyAt(_,0,"deltaY");for(var x=0,w=l.length;x<w;x++)if(f=this.__charBounds[_][x],h=this.getValueOfPropertyAt(_,x,t),A=this.getValueOfPropertyAt(_,x,"fill"),o=this.getHeightOfChar(_,x),s=this.getValueOfPropertyAt(_,x,"deltaY"),y&&h&&A)e.save(),e.fillStyle=m,e.translate(f.renderLeft,f.renderTop),e.rotate(f.angle),e.fillRect(-f.kernedWidth/2,O*o+s,f.kernedWidth,this.fontSize/15),e.restore();else if((h!==c||A!==m||o!==r||s!==a)&&p>0){var C=g+i+d;"rtl"===this.direction&&(C=this.width-C-p),c&&m&&(e.fillStyle=m,e.fillRect(C,u+O*r+a,p,this.fontSize/15)),d=f.left,p=f.width,c=h,m=A,r=o,a=s}else p+=f.kernedWidth;C=g+i+d;"rtl"===this.direction&&(C=this.width-C-p),e.fillStyle=A,h&&A&&e.fillRect(C,u+O*r+a,p-M,this.fontSize/15),v+=n}else v+=n;this._removeShadow(e)}},_getFontDeclaration:function(e,n){var r=e||this,o=this.fontFamily,i=t.Text.genericFonts.indexOf(o.toLowerCase())>-1,a=void 0===o||o.indexOf("'")>-1||o.indexOf(",")>-1||o.indexOf('"')>-1||i?r.fontFamily:'"'+r.fontFamily+'"';return[t.isLikelyNode?r.fontWeight:r.fontStyle,t.isLikelyNode?r.fontStyle:r.fontWeight,n?this.CACHE_FONT_SIZE+"px":r.fontSize+"px",a].join(" ")},render:function(e){this.visible&&(this.canvas&&this.canvas.skipOffscreen&&!this.group&&!this.isOnScreen()||(this._shouldClearDimensionCache()&&this.initDimensions(),this.callSuper("render",e)))},_splitTextIntoLines:function(e){for(var n=e.split(this._reNewline),r=new Array(n.length),o=["\n"],i=[],a=0;a<n.length;a++)r[a]=t.util.string.graphemeSplit(n[a]),i=i.concat(r[a],o);return i.pop(),{_unwrappedLines:r,lines:n,graphemeText:i,graphemeLines:r}},toObject:function(e){var n=r.concat(e),o=this.callSuper("toObject",n);return o.styles=t.util.stylesToArray(this.styles,this.text),o.path&&(o.path=this.path.toObject()),o},set:function(e,t){this.callSuper("set",e,t);var n=!1,r=!1;if("object"===typeof e)for(var o in e)"path"===o&&this.setPathInfo(),n=n||-1!==this._dimensionAffectingProps.indexOf(o),r=r||"path"===o;else n=-1!==this._dimensionAffectingProps.indexOf(e),r="path"===e;return r&&this.setPathInfo(),n&&(this.initDimensions(),this.setCoords()),this},complexity:function(){return 1}}),t.Text.ATTRIBUTE_NAMES=t.SHARED_ATTRIBUTES.concat("x y dx dy font-family font-style font-weight font-size letter-spacing text-decoration text-anchor".split(" ")),t.Text.DEFAULT_SVG_FONT_SIZE=16,t.Text.fromElement=function(e,r,o){if(!e)return r(null);var i=t.parseAttributes(e,t.Text.ATTRIBUTE_NAMES),a=i.textAnchor||"left";if((o=t.util.object.extend(o?n(o):{},i)).top=o.top||0,o.left=o.left||0,i.textDecoration){var s=i.textDecoration;-1!==s.indexOf("underline")&&(o.underline=!0),-1!==s.indexOf("overline")&&(o.overline=!0),-1!==s.indexOf("line-through")&&(o.linethrough=!0),delete o.textDecoration}"dx"in i&&(o.left+=i.dx),"dy"in i&&(o.top+=i.dy),"fontSize"in o||(o.fontSize=t.Text.DEFAULT_SVG_FONT_SIZE);var l="";"textContent"in e?l=e.textContent:"firstChild"in e&&null!==e.firstChild&&"data"in e.firstChild&&null!==e.firstChild.data&&(l=e.firstChild.data),l=l.replace(/^\s+|\s+$|\n+/g,"").replace(/\s+/g," ");var c=o.strokeWidth;o.strokeWidth=0;var u=new t.Text(l,o),d=u.getScaledHeight()/u.height,p=((u.height+u.strokeWidth)*u.lineHeight-u.height)*d,f=u.getScaledHeight()+p,h=0;"center"===a&&(h=u.getScaledWidth()/2),"right"===a&&(h=u.getScaledWidth()),u.set({left:u.left-h,top:u.top-(f-u.fontSize*(.07+u._fontSizeFraction))/u.lineHeight,strokeWidth:"undefined"!==typeof c?c:1}),r(u)},t.Text.fromObject=function(e,r){var o=n(e),i=e.path;return delete o.path,t.Object._fromObject("Text",o,(function(n){n.styles=t.util.stylesFromArray(e.styles,e.text),i?t.Object._fromObject("Path",i,(function(e){n.set("path",e),r(n)}),"path"):r(n)}),"text")},t.Text.genericFonts=["sans-serif","serif","cursive","fantasy","monospace"],t.util.createAccessors&&t.util.createAccessors(t.Text)}}(t),o.util.object.extend(o.Text.prototype,{isEmptyStyles:function(e){if(!this.styles)return!0;if("undefined"!==typeof e&&!this.styles[e])return!0;var t="undefined"===typeof e?this.styles:{line:this.styles[e]};for(var n in t)for(var r in t[n])for(var o in t[n][r])return!1;return!0},styleHas:function(e,t){if(!this.styles||!e||""===e)return!1;if("undefined"!==typeof t&&!this.styles[t])return!1;var n="undefined"===typeof t?this.styles:{0:this.styles[t]};for(var r in n)for(var o in n[r])if("undefined"!==typeof n[r][o][e])return!0;return!1},cleanStyle:function(e){if(!this.styles||!e||""===e)return!1;var t,n,r=this.styles,o=0,i=!0,a=0;for(var s in r){for(var l in t=0,r[s]){var c;o++,(c=r[s][l]).hasOwnProperty(e)?(n?c[e]!==n&&(i=!1):n=c[e],c[e]===this[e]&&delete c[e]):i=!1,0!==Object.keys(c).length?t++:delete r[s][l]}0===t&&delete r[s]}for(var u=0;u<this._textLines.length;u++)a+=this._textLines[u].length;i&&o===a&&(this[e]=n,this.removeStyle(e))},removeStyle:function(e){if(this.styles&&e&&""!==e){var t,n,r,o=this.styles;for(n in o){for(r in t=o[n])delete t[r][e],0===Object.keys(t[r]).length&&delete t[r];0===Object.keys(t).length&&delete o[n]}}},_extendStyles:function(e,t){var n=this.get2DCursorLocation(e);this._getLineStyle(n.lineIndex)||this._setLineStyle(n.lineIndex),this._getStyleDeclaration(n.lineIndex,n.charIndex)||this._setStyleDeclaration(n.lineIndex,n.charIndex,{}),o.util.object.extend(this._getStyleDeclaration(n.lineIndex,n.charIndex),t)},get2DCursorLocation:function(e,t){"undefined"===typeof e&&(e=this.selectionStart);for(var n=t?this._unwrappedTextLines:this._textLines,r=n.length,o=0;o<r;o++){if(e<=n[o].length)return{lineIndex:o,charIndex:e};e-=n[o].length+this.missingNewlineOffset(o)}return{lineIndex:o-1,charIndex:n[o-1].length<e?n[o-1].length:e}},getSelectionStyles:function(e,t,n){"undefined"===typeof e&&(e=this.selectionStart||0),"undefined"===typeof t&&(t=this.selectionEnd||e);for(var r=[],o=e;o<t;o++)r.push(this.getStyleAtPosition(o,n));return r},getStyleAtPosition:function(e,t){var n=this.get2DCursorLocation(e);return(t?this.getCompleteStyleDeclaration(n.lineIndex,n.charIndex):this._getStyleDeclaration(n.lineIndex,n.charIndex))||{}},setSelectionStyles:function(e,t,n){"undefined"===typeof t&&(t=this.selectionStart||0),"undefined"===typeof n&&(n=this.selectionEnd||t);for(var r=t;r<n;r++)this._extendStyles(r,e);return this._forceClearCache=!0,this},_getStyleDeclaration:function(e,t){var n=this.styles&&this.styles[e];return n?n[t]:null},getCompleteStyleDeclaration:function(e,t){for(var n,r=this._getStyleDeclaration(e,t)||{},o={},i=0;i<this._styleProperties.length;i++)o[n=this._styleProperties[i]]="undefined"===typeof r[n]?this[n]:r[n];return o},_setStyleDeclaration:function(e,t,n){this.styles[e][t]=n},_deleteStyleDeclaration:function(e,t){delete this.styles[e][t]},_getLineStyle:function(e){return!!this.styles[e]},_setLineStyle:function(e){this.styles[e]={}},_deleteLineStyle:function(e){delete this.styles[e]}}),function(){function e(e){e.textDecoration&&(e.textDecoration.indexOf("underline")>-1&&(e.underline=!0),e.textDecoration.indexOf("line-through")>-1&&(e.linethrough=!0),e.textDecoration.indexOf("overline")>-1&&(e.overline=!0),delete e.textDecoration)}o.IText=o.util.createClass(o.Text,o.Observable,{type:"i-text",selectionStart:0,selectionEnd:0,selectionColor:"rgba(17,119,255,0.3)",isEditing:!1,editable:!0,editingBorderColor:"rgba(102,153,255,0.25)",cursorWidth:2,cursorColor:"",cursorDelay:1e3,cursorDuration:600,caching:!0,hiddenTextareaContainer:null,_reSpace:/\s|\n/,_currentCursorOpacity:0,_selectionDirection:null,_abortCursorAnimation:!1,__widthOfSpace:[],inCompositionMode:!1,initialize:function(e,t){this.callSuper("initialize",e,t),this.initBehavior()},setSelectionStart:function(e){e=Math.max(e,0),this._updateAndFire("selectionStart",e)},setSelectionEnd:function(e){e=Math.min(e,this.text.length),this._updateAndFire("selectionEnd",e)},_updateAndFire:function(e,t){this[e]!==t&&(this._fireSelectionChanged(),this[e]=t),this._updateTextarea()},_fireSelectionChanged:function(){this.fire("selection:changed"),this.canvas&&this.canvas.fire("text:selection:changed",{target:this})},initDimensions:function(){this.isEditing&&this.initDelayedCursor(),this.clearContextTop(),this.callSuper("initDimensions")},render:function(e){this.clearContextTop(),this.callSuper("render",e),this.cursorOffsetCache={},this.renderCursorOrSelection()},_render:function(e){this.callSuper("_render",e)},clearContextTop:function(e){if(this.isEditing&&this.canvas&&this.canvas.contextTop){var t=this.canvas.contextTop,n=this.canvas.viewportTransform;t.save(),t.transform(n[0],n[1],n[2],n[3],n[4],n[5]),this.transform(t),this._clearTextArea(t),e||t.restore()}},renderCursorOrSelection:function(){if(this.isEditing&&this.canvas&&this.canvas.contextTop){var e=this._getCursorBoundaries(),t=this.canvas.contextTop;this.clearContextTop(!0),this.selectionStart===this.selectionEnd?this.renderCursor(e,t):this.renderSelection(e,t),t.restore()}},_clearTextArea:function(e){var t=this.width+4,n=this.height+4;e.clearRect(-t/2,-n/2,t,n)},_getCursorBoundaries:function(e){"undefined"===typeof e&&(e=this.selectionStart);var t=this._getLeftOffset(),n=this._getTopOffset(),r=this._getCursorBoundariesOffsets(e);return{left:t,top:n,leftOffset:r.left,topOffset:r.top}},_getCursorBoundariesOffsets:function(e){if(this.cursorOffsetCache&&"top"in this.cursorOffsetCache)return this.cursorOffsetCache;var t,n,r,o,i=0,a=0,s=this.get2DCursorLocation(e);r=s.charIndex,n=s.lineIndex;for(var l=0;l<n;l++)i+=this.getHeightOfLine(l);t=this._getLineLeftOffset(n);var c=this.__charBounds[n][r];return c&&(a=c.left),0!==this.charSpacing&&r===this._textLines[n].length&&(a-=this._getWidthOfCharSpacing()),o={top:i,left:t+(a>0?a:0)},"rtl"===this.direction&&(o.left*=-1),this.cursorOffsetCache=o,this.cursorOffsetCache},renderCursor:function(e,t){var n=this.get2DCursorLocation(),r=n.lineIndex,o=n.charIndex>0?n.charIndex-1:0,i=this.getValueOfPropertyAt(r,o,"fontSize"),a=this.scaleX*this.canvas.getZoom(),s=this.cursorWidth/a,l=e.topOffset,c=this.getValueOfPropertyAt(r,o,"deltaY");l+=(1-this._fontSizeFraction)*this.getHeightOfLine(r)/this.lineHeight-i*(1-this._fontSizeFraction),this.inCompositionMode&&this.renderSelection(e,t),t.fillStyle=this.cursorColor||this.getValueOfPropertyAt(r,o,"fill"),t.globalAlpha=this.__isMousedown?1:this._currentCursorOpacity,t.fillRect(e.left+e.leftOffset-s/2,l+e.top+c,s,i)},renderSelection:function(e,t){for(var n=this.inCompositionMode?this.hiddenTextarea.selectionStart:this.selectionStart,r=this.inCompositionMode?this.hiddenTextarea.selectionEnd:this.selectionEnd,o=-1!==this.textAlign.indexOf("justify"),i=this.get2DCursorLocation(n),a=this.get2DCursorLocation(r),s=i.lineIndex,l=a.lineIndex,c=i.charIndex<0?0:i.charIndex,u=a.charIndex<0?0:a.charIndex,d=s;d<=l;d++){var p,f=this._getLineLeftOffset(d)||0,h=this.getHeightOfLine(d),b=0,A=0;if(d===s&&(b=this.__charBounds[s][c].left),d>=s&&d<l)A=o&&!this.isEndOfWrapping(d)?this.width:this.getLineWidth(d)||5;else if(d===l)if(0===u)A=this.__charBounds[l][u].left;else{var m=this._getWidthOfCharSpacing();A=this.__charBounds[l][u-1].left+this.__charBounds[l][u-1].width-m}p=h,(this.lineHeight<1||d===l&&this.lineHeight>1)&&(h/=this.lineHeight);var g=e.left+f+b,v=A-b,y=h,M=0;this.inCompositionMode?(t.fillStyle=this.compositionColor||"black",y=1,M=h):t.fillStyle=this.selectionColor,"rtl"===this.direction&&(g=this.width-g-v),t.fillRect(g,e.top+e.topOffset+M,v,y),e.topOffset+=p}},getCurrentCharFontSize:function(){var e=this._getCurrentCharIndex();return this.getValueOfPropertyAt(e.l,e.c,"fontSize")},getCurrentCharColor:function(){var e=this._getCurrentCharIndex();return this.getValueOfPropertyAt(e.l,e.c,"fill")},_getCurrentCharIndex:function(){var e=this.get2DCursorLocation(this.selectionStart,!0),t=e.charIndex>0?e.charIndex-1:0;return{l:e.lineIndex,c:t}}}),o.IText.fromObject=function(t,n){var r=o.util.stylesFromArray(t.styles,t.text),i=Object.assign({},t,{styles:r});if(e(i),i.styles)for(var a in i.styles)for(var s in i.styles[a])e(i.styles[a][s]);o.Object._fromObject("IText",i,n,"text")}}(),function(){var e=o.util.object.clone;o.util.object.extend(o.IText.prototype,{initBehavior:function(){this.initAddedHandler(),this.initRemovedHandler(),this.initCursorSelectionHandlers(),this.initDoubleClickSimulation(),this.mouseMoveHandler=this.mouseMoveHandler.bind(this)},onDeselect:function(){this.isEditing&&this.exitEditing(),this.selected=!1},initAddedHandler:function(){var e=this;this.on("added",(function(){var t=e.canvas;t&&(t._hasITextHandlers||(t._hasITextHandlers=!0,e._initCanvasHandlers(t)),t._iTextInstances=t._iTextInstances||[],t._iTextInstances.push(e))}))},initRemovedHandler:function(){var e=this;this.on("removed",(function(){var t=e.canvas;t&&(t._iTextInstances=t._iTextInstances||[],o.util.removeFromArray(t._iTextInstances,e),0===t._iTextInstances.length&&(t._hasITextHandlers=!1,e._removeCanvasHandlers(t)))}))},_initCanvasHandlers:function(e){e._mouseUpITextHandler=function(){e._iTextInstances&&e._iTextInstances.forEach((function(e){e.__isMousedown=!1}))},e.on("mouse:up",e._mouseUpITextHandler)},_removeCanvasHandlers:function(e){e.off("mouse:up",e._mouseUpITextHandler)},_tick:function(){this._currentTickState=this._animateCursor(this,1,this.cursorDuration,"_onTickComplete")},_animateCursor:function(e,t,n,r){var o;return o={isAborted:!1,abort:function(){this.isAborted=!0}},e.animate("_currentCursorOpacity",t,{duration:n,onComplete:function(){o.isAborted||e[r]()},onChange:function(){e.canvas&&e.selectionStart===e.selectionEnd&&e.renderCursorOrSelection()},abort:function(){return o.isAborted}}),o},_onTickComplete:function(){var e=this;this._cursorTimeout1&&clearTimeout(this._cursorTimeout1),this._cursorTimeout1=setTimeout((function(){e._currentTickCompleteState=e._animateCursor(e,0,this.cursorDuration/2,"_tick")}),100)},initDelayedCursor:function(e){var t=this,n=e?0:this.cursorDelay;this.abortCursorAnimation(),this._currentCursorOpacity=1,this._cursorTimeout2=setTimeout((function(){t._tick()}),n)},abortCursorAnimation:function(){var e=this._currentTickState||this._currentTickCompleteState,t=this.canvas;this._currentTickState&&this._currentTickState.abort(),this._currentTickCompleteState&&this._currentTickCompleteState.abort(),clearTimeout(this._cursorTimeout1),clearTimeout(this._cursorTimeout2),this._currentCursorOpacity=0,e&&t&&t.clearContext(t.contextTop||t.contextContainer)},selectAll:function(){return this.selectionStart=0,this.selectionEnd=this._text.length,this._fireSelectionChanged(),this._updateTextarea(),this},getSelectedText:function(){return this._text.slice(this.selectionStart,this.selectionEnd).join("")},findWordBoundaryLeft:function(e){var t=0,n=e-1;if(this._reSpace.test(this._text[n]))for(;this._reSpace.test(this._text[n]);)t++,n--;for(;/\S/.test(this._text[n])&&n>-1;)t++,n--;return e-t},findWordBoundaryRight:function(e){var t=0,n=e;if(this._reSpace.test(this._text[n]))for(;this._reSpace.test(this._text[n]);)t++,n++;for(;/\S/.test(this._text[n])&&n<this._text.length;)t++,n++;return e+t},findLineBoundaryLeft:function(e){for(var t=0,n=e-1;!/\n/.test(this._text[n])&&n>-1;)t++,n--;return e-t},findLineBoundaryRight:function(e){for(var t=0,n=e;!/\n/.test(this._text[n])&&n<this._text.length;)t++,n++;return e+t},searchWordBoundary:function(e,t){for(var n=this._text,r=this._reSpace.test(n[e])?e-1:e,i=n[r],a=o.reNonWord;!a.test(i)&&r>0&&r<n.length;)i=n[r+=t];return a.test(i)&&(r+=1===t?0:1),r},selectWord:function(e){e=e||this.selectionStart;var t=this.searchWordBoundary(e,-1),n=this.searchWordBoundary(e,1);this.selectionStart=t,this.selectionEnd=n,this._fireSelectionChanged(),this._updateTextarea(),this.renderCursorOrSelection()},selectLine:function(e){e=e||this.selectionStart;var t=this.findLineBoundaryLeft(e),n=this.findLineBoundaryRight(e);return this.selectionStart=t,this.selectionEnd=n,this._fireSelectionChanged(),this._updateTextarea(),this},enterEditing:function(e){if(!this.isEditing&&this.editable)return this.canvas&&(this.canvas.calcOffset(),this.exitEditingOnOthers(this.canvas)),this.isEditing=!0,this.initHiddenTextarea(e),this.hiddenTextarea.focus(),this.hiddenTextarea.value=this.text,this._updateTextarea(),this._saveEditingProps(),this._setEditingProps(),this._textBeforeEdit=this.text,this._tick(),this.fire("editing:entered"),this._fireSelectionChanged(),this.canvas?(this.canvas.fire("text:editing:entered",{target:this}),this.initMouseMoveHandler(),this.canvas.requestRenderAll(),this):this},exitEditingOnOthers:function(e){e._iTextInstances&&e._iTextInstances.forEach((function(e){e.selected=!1,e.isEditing&&e.exitEditing()}))},initMouseMoveHandler:function(){this.canvas.on("mouse:move",this.mouseMoveHandler)},mouseMoveHandler:function(e){if(this.__isMousedown&&this.isEditing){document.activeElement!==this.hiddenTextarea&&this.hiddenTextarea.focus();var t=this.getSelectionStartFromPointer(e.e),n=this.selectionStart,r=this.selectionEnd;(t===this.__selectionStartOnMouseDown&&n!==r||n!==t&&r!==t)&&(t>this.__selectionStartOnMouseDown?(this.selectionStart=this.__selectionStartOnMouseDown,this.selectionEnd=t):(this.selectionStart=t,this.selectionEnd=this.__selectionStartOnMouseDown),this.selectionStart===n&&this.selectionEnd===r||(this.restartCursorIfNeeded(),this._fireSelectionChanged(),this._updateTextarea(),this.renderCursorOrSelection()))}},_setEditingProps:function(){this.hoverCursor="text",this.canvas&&(this.canvas.defaultCursor=this.canvas.moveCursor="text"),this.borderColor=this.editingBorderColor,this.hasControls=this.selectable=!1,this.lockMovementX=this.lockMovementY=!0},fromStringToGraphemeSelection:function(e,t,n){var r=n.slice(0,e),i=o.util.string.graphemeSplit(r).length;if(e===t)return{selectionStart:i,selectionEnd:i};var a=n.slice(e,t);return{selectionStart:i,selectionEnd:i+o.util.string.graphemeSplit(a).length}},fromGraphemeToStringSelection:function(e,t,n){var r=n.slice(0,e).join("").length;return e===t?{selectionStart:r,selectionEnd:r}:{selectionStart:r,selectionEnd:r+n.slice(e,t).join("").length}},_updateTextarea:function(){if(this.cursorOffsetCache={},this.hiddenTextarea){if(!this.inCompositionMode){var e=this.fromGraphemeToStringSelection(this.selectionStart,this.selectionEnd,this._text);this.hiddenTextarea.selectionStart=e.selectionStart,this.hiddenTextarea.selectionEnd=e.selectionEnd}this.updateTextareaPosition()}},updateFromTextArea:function(){if(this.hiddenTextarea){this.cursorOffsetCache={},this.text=this.hiddenTextarea.value,this._shouldClearDimensionCache()&&(this.initDimensions(),this.setCoords());var e=this.fromStringToGraphemeSelection(this.hiddenTextarea.selectionStart,this.hiddenTextarea.selectionEnd,this.hiddenTextarea.value);this.selectionEnd=this.selectionStart=e.selectionEnd,this.inCompositionMode||(this.selectionStart=e.selectionStart),this.updateTextareaPosition()}},updateTextareaPosition:function(){if(this.selectionStart===this.selectionEnd){var e=this._calcTextareaPosition();this.hiddenTextarea.style.left=e.left,this.hiddenTextarea.style.top=e.top}},_calcTextareaPosition:function(){if(!this.canvas)return{x:1,y:1};var e=this.inCompositionMode?this.compositionStart:this.selectionStart,t=this._getCursorBoundaries(e),n=this.get2DCursorLocation(e),r=n.lineIndex,i=n.charIndex,a=this.getValueOfPropertyAt(r,i,"fontSize")*this.lineHeight,s=t.leftOffset,l=this.calcTransformMatrix(),c={x:t.left+s,y:t.top+t.topOffset+a},u=this.canvas.getRetinaScaling(),d=this.canvas.upperCanvasEl,p=d.width/u,f=d.height/u,h=p-a,b=f-a,A=d.clientWidth/p,m=d.clientHeight/f;return c=o.util.transformPoint(c,l),(c=o.util.transformPoint(c,this.canvas.viewportTransform)).x*=A,c.y*=m,c.x<0&&(c.x=0),c.x>h&&(c.x=h),c.y<0&&(c.y=0),c.y>b&&(c.y=b),c.x+=this.canvas._offset.left,c.y+=this.canvas._offset.top,{left:c.x+"px",top:c.y+"px",fontSize:a+"px",charHeight:a}},_saveEditingProps:function(){this._savedProps={hasControls:this.hasControls,borderColor:this.borderColor,lockMovementX:this.lockMovementX,lockMovementY:this.lockMovementY,hoverCursor:this.hoverCursor,selectable:this.selectable,defaultCursor:this.canvas&&this.canvas.defaultCursor,moveCursor:this.canvas&&this.canvas.moveCursor}},_restoreEditingProps:function(){this._savedProps&&(this.hoverCursor=this._savedProps.hoverCursor,this.hasControls=this._savedProps.hasControls,this.borderColor=this._savedProps.borderColor,this.selectable=this._savedProps.selectable,this.lockMovementX=this._savedProps.lockMovementX,this.lockMovementY=this._savedProps.lockMovementY,this.canvas&&(this.canvas.defaultCursor=this._savedProps.defaultCursor,this.canvas.moveCursor=this._savedProps.moveCursor))},exitEditing:function(){var e=this._textBeforeEdit!==this.text,t=this.hiddenTextarea;return this.selected=!1,this.isEditing=!1,this.selectionEnd=this.selectionStart,t&&(t.blur&&t.blur(),t.parentNode&&t.parentNode.removeChild(t)),this.hiddenTextarea=null,this.abortCursorAnimation(),this._restoreEditingProps(),this._currentCursorOpacity=0,this._shouldClearDimensionCache()&&(this.initDimensions(),this.setCoords()),this.fire("editing:exited"),e&&this.fire("modified"),this.canvas&&(this.canvas.off("mouse:move",this.mouseMoveHandler),this.canvas.fire("text:editing:exited",{target:this}),e&&this.canvas.fire("object:modified",{target:this})),this},_removeExtraneousStyles:function(){for(var e in this.styles)this._textLines[e]||delete this.styles[e]},removeStyleFromTo:function(e,t){var n,r,o=this.get2DCursorLocation(e,!0),i=this.get2DCursorLocation(t,!0),a=o.lineIndex,s=o.charIndex,l=i.lineIndex,c=i.charIndex;if(a!==l){if(this.styles[a])for(n=s;n<this._unwrappedTextLines[a].length;n++)delete this.styles[a][n];if(this.styles[l])for(n=c;n<this._unwrappedTextLines[l].length;n++)(r=this.styles[l][n])&&(this.styles[a]||(this.styles[a]={}),this.styles[a][s+n-c]=r);for(n=a+1;n<=l;n++)delete this.styles[n];this.shiftLineStyles(l,a-l)}else if(this.styles[a]){r=this.styles[a];var u,d,p=c-s;for(n=s;n<c;n++)delete r[n];for(d in this.styles[a])(u=parseInt(d,10))>=c&&(r[u-p]=r[d],delete r[d])}},shiftLineStyles:function(t,n){var r=e(this.styles);for(var o in this.styles){var i=parseInt(o,10);i>t&&(this.styles[i+n]=r[i],r[i-n]||delete this.styles[i])}},restartCursorIfNeeded:function(){this._currentTickState&&!this._currentTickState.isAborted&&this._currentTickCompleteState&&!this._currentTickCompleteState.isAborted||this.initDelayedCursor()},insertNewlineStyleObject:function(t,n,r,o){var i,a={},s=!1,l=this._unwrappedTextLines[t].length===n;for(var c in r||(r=1),this.shiftLineStyles(t,r),this.styles[t]&&(i=this.styles[t][0===n?n:n-1]),this.styles[t]){var u=parseInt(c,10);u>=n&&(s=!0,a[u-n]=this.styles[t][c],l&&0===n||delete this.styles[t][c])}var d=!1;for(s&&!l&&(this.styles[t+r]=a,d=!0),d&&r--;r>0;)o&&o[r-1]?this.styles[t+r]={0:e(o[r-1])}:i?this.styles[t+r]={0:e(i)}:delete this.styles[t+r],r--;this._forceClearCache=!0},insertCharStyleObject:function(t,n,r,o){this.styles||(this.styles={});var i=this.styles[t],a=i?e(i):{};for(var s in r||(r=1),a){var l=parseInt(s,10);l>=n&&(i[l+r]=a[l],a[l-r]||delete i[l])}if(this._forceClearCache=!0,o)for(;r--;)Object.keys(o[r]).length&&(this.styles[t]||(this.styles[t]={}),this.styles[t][n+r]=e(o[r]));else if(i)for(var c=i[n?n-1:1];c&&r--;)this.styles[t][n+r]=e(c)},insertNewStyleBlock:function(e,t,n){for(var r=this.get2DCursorLocation(t,!0),o=[0],i=0,a=0;a<e.length;a++)"\n"===e[a]?o[++i]=0:o[i]++;o[0]>0&&(this.insertCharStyleObject(r.lineIndex,r.charIndex,o[0],n),n=n&&n.slice(o[0]+1)),i&&this.insertNewlineStyleObject(r.lineIndex,r.charIndex+o[0],i);for(a=1;a<i;a++)o[a]>0?this.insertCharStyleObject(r.lineIndex+a,0,o[a],n):n&&this.styles[r.lineIndex+a]&&n[0]&&(this.styles[r.lineIndex+a][0]=n[0]),n=n&&n.slice(o[a]+1);o[a]>0&&this.insertCharStyleObject(r.lineIndex+a,0,o[a],n)},setSelectionStartEndWithShift:function(e,t,n){n<=e?(t===e?this._selectionDirection="left":"right"===this._selectionDirection&&(this._selectionDirection="left",this.selectionEnd=e),this.selectionStart=n):n>e&&n<t?"right"===this._selectionDirection?this.selectionEnd=n:this.selectionStart=n:(t===e?this._selectionDirection="right":"left"===this._selectionDirection&&(this._selectionDirection="right",this.selectionStart=t),this.selectionEnd=n)},setSelectionInBoundaries:function(){var e=this.text.length;this.selectionStart>e?this.selectionStart=e:this.selectionStart<0&&(this.selectionStart=0),this.selectionEnd>e?this.selectionEnd=e:this.selectionEnd<0&&(this.selectionEnd=0)}})}(),o.util.object.extend(o.IText.prototype,{initDoubleClickSimulation:function(){this.__lastClickTime=+new Date,this.__lastLastClickTime=+new Date,this.__lastPointer={},this.on("mousedown",this.onMouseDown)},onMouseDown:function(e){if(this.canvas){this.__newClickTime=+new Date;var t=e.pointer;this.isTripleClick(t)&&(this.fire("tripleclick",e),this._stopEvent(e.e)),this.__lastLastClickTime=this.__lastClickTime,this.__lastClickTime=this.__newClickTime,this.__lastPointer=t,this.__lastIsEditing=this.isEditing,this.__lastSelected=this.selected}},isTripleClick:function(e){return this.__newClickTime-this.__lastClickTime<500&&this.__lastClickTime-this.__lastLastClickTime<500&&this.__lastPointer.x===e.x&&this.__lastPointer.y===e.y},_stopEvent:function(e){e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation()},initCursorSelectionHandlers:function(){this.initMousedownHandler(),this.initMouseupHandler(),this.initClicks()},doubleClickHandler:function(e){this.isEditing&&this.selectWord(this.getSelectionStartFromPointer(e.e))},tripleClickHandler:function(e){this.isEditing&&this.selectLine(this.getSelectionStartFromPointer(e.e))},initClicks:function(){this.on("mousedblclick",this.doubleClickHandler),this.on("tripleclick",this.tripleClickHandler)},_mouseDownHandler:function(e){!this.canvas||!this.editable||e.e.button&&1!==e.e.button||(this.__isMousedown=!0,this.selected&&(this.inCompositionMode=!1,this.setCursorByClick(e.e)),this.isEditing&&(this.__selectionStartOnMouseDown=this.selectionStart,this.selectionStart===this.selectionEnd&&this.abortCursorAnimation(),this.renderCursorOrSelection()))},_mouseDownHandlerBefore:function(e){!this.canvas||!this.editable||e.e.button&&1!==e.e.button||(this.selected=this===this.canvas._activeObject)},initMousedownHandler:function(){this.on("mousedown",this._mouseDownHandler),this.on("mousedown:before",this._mouseDownHandlerBefore)},initMouseupHandler:function(){this.on("mouseup",this.mouseUpHandler)},mouseUpHandler:function(e){if(this.__isMousedown=!1,!(!this.editable||this.group||e.transform&&e.transform.actionPerformed||e.e.button&&1!==e.e.button)){if(this.canvas){var t=this.canvas._activeObject;if(t&&t!==this)return}this.__lastSelected&&!this.__corner?(this.selected=!1,this.__lastSelected=!1,this.enterEditing(e.e),this.selectionStart===this.selectionEnd?this.initDelayedCursor(!0):this.renderCursorOrSelection()):this.selected=!0}},setCursorByClick:function(e){var t=this.getSelectionStartFromPointer(e),n=this.selectionStart,r=this.selectionEnd;e.shiftKey?this.setSelectionStartEndWithShift(n,r,t):(this.selectionStart=t,this.selectionEnd=t),this.isEditing&&(this._fireSelectionChanged(),this._updateTextarea())},getSelectionStartFromPointer:function(e){for(var t,n=this.getLocalPointer(e),r=0,o=0,i=0,a=0,s=0,l=0,c=this._textLines.length;l<c&&i<=n.y;l++)i+=this.getHeightOfLine(l)*this.scaleY,s=l,l>0&&(a+=this._textLines[l-1].length+this.missingNewlineOffset(l-1));o=this._getLineLeftOffset(s)*this.scaleX,t=this._textLines[s],"rtl"===this.direction&&(n.x=this.width*this.scaleX-n.x+o);for(var u=0,d=t.length;u<d&&(r=o,(o+=this.__charBounds[s][u].kernedWidth*this.scaleX)<=n.x);u++)a++;return this._getNewSelectionStartFromOffset(n,r,o,a,d)},_getNewSelectionStartFromOffset:function(e,t,n,r,o){var i=e.x-t,a=n-e.x,s=r+(a>i||a<0?0:1);return this.flipX&&(s=o-s),s>this._text.length&&(s=this._text.length),s}}),o.util.object.extend(o.IText.prototype,{initHiddenTextarea:function(){this.hiddenTextarea=o.document.createElement("textarea"),this.hiddenTextarea.setAttribute("autocapitalize","off"),this.hiddenTextarea.setAttribute("autocorrect","off"),this.hiddenTextarea.setAttribute("autocomplete","off"),this.hiddenTextarea.setAttribute("spellcheck","false"),this.hiddenTextarea.setAttribute("data-fabric-hiddentextarea",""),this.hiddenTextarea.setAttribute("wrap","off");var e=this._calcTextareaPosition();this.hiddenTextarea.style.cssText="position: absolute; top: "+e.top+"; left: "+e.left+"; z-index: -999; opacity: 0; width: 1px; height: 1px; font-size: 1px; padding-top: "+e.fontSize+";",this.hiddenTextareaContainer?this.hiddenTextareaContainer.appendChild(this.hiddenTextarea):o.document.body.appendChild(this.hiddenTextarea),o.util.addListener(this.hiddenTextarea,"keydown",this.onKeyDown.bind(this)),o.util.addListener(this.hiddenTextarea,"keyup",this.onKeyUp.bind(this)),o.util.addListener(this.hiddenTextarea,"input",this.onInput.bind(this)),o.util.addListener(this.hiddenTextarea,"copy",this.copy.bind(this)),o.util.addListener(this.hiddenTextarea,"cut",this.copy.bind(this)),o.util.addListener(this.hiddenTextarea,"paste",this.paste.bind(this)),o.util.addListener(this.hiddenTextarea,"compositionstart",this.onCompositionStart.bind(this)),o.util.addListener(this.hiddenTextarea,"compositionupdate",this.onCompositionUpdate.bind(this)),o.util.addListener(this.hiddenTextarea,"compositionend",this.onCompositionEnd.bind(this)),!this._clickHandlerInitialized&&this.canvas&&(o.util.addListener(this.canvas.upperCanvasEl,"click",this.onClick.bind(this)),this._clickHandlerInitialized=!0)},keysMap:{9:"exitEditing",27:"exitEditing",33:"moveCursorUp",34:"moveCursorDown",35:"moveCursorRight",36:"moveCursorLeft",37:"moveCursorLeft",38:"moveCursorUp",39:"moveCursorRight",40:"moveCursorDown"},keysMapRtl:{9:"exitEditing",27:"exitEditing",33:"moveCursorUp",34:"moveCursorDown",35:"moveCursorLeft",36:"moveCursorRight",37:"moveCursorRight",38:"moveCursorUp",39:"moveCursorLeft",40:"moveCursorDown"},ctrlKeysMapUp:{67:"copy",88:"cut"},ctrlKeysMapDown:{65:"selectAll"},onClick:function(){this.hiddenTextarea&&this.hiddenTextarea.focus()},onKeyDown:function(e){if(this.isEditing){var t="rtl"===this.direction?this.keysMapRtl:this.keysMap;if(e.keyCode in t)this[t[e.keyCode]](e);else{if(!(e.keyCode in this.ctrlKeysMapDown)||!e.ctrlKey&&!e.metaKey)return;this[this.ctrlKeysMapDown[e.keyCode]](e)}e.stopImmediatePropagation(),e.preventDefault(),e.keyCode>=33&&e.keyCode<=40?(this.inCompositionMode=!1,this.clearContextTop(),this.renderCursorOrSelection()):this.canvas&&this.canvas.requestRenderAll()}},onKeyUp:function(e){!this.isEditing||this._copyDone||this.inCompositionMode?this._copyDone=!1:e.keyCode in this.ctrlKeysMapUp&&(e.ctrlKey||e.metaKey)&&(this[this.ctrlKeysMapUp[e.keyCode]](e),e.stopImmediatePropagation(),e.preventDefault(),this.canvas&&this.canvas.requestRenderAll())},onInput:function(e){var t=this.fromPaste;if(this.fromPaste=!1,e&&e.stopPropagation(),this.isEditing){var n,r,i,a,s,l=this._splitTextIntoLines(this.hiddenTextarea.value).graphemeText,c=this._text.length,u=l.length,d=u-c,p=this.selectionStart,f=this.selectionEnd,h=p!==f;if(""===this.hiddenTextarea.value)return this.styles={},this.updateFromTextArea(),this.fire("changed"),void(this.canvas&&(this.canvas.fire("text:changed",{target:this}),this.canvas.requestRenderAll()));var b=this.fromStringToGraphemeSelection(this.hiddenTextarea.selectionStart,this.hiddenTextarea.selectionEnd,this.hiddenTextarea.value),A=p>b.selectionStart;h?(n=this._text.slice(p,f),d+=f-p):u<c&&(n=A?this._text.slice(f+d,f):this._text.slice(p,p-d)),r=l.slice(b.selectionEnd-d,b.selectionEnd),n&&n.length&&(r.length&&(i=this.getSelectionStyles(p,p+1,!1),i=r.map((function(){return i[0]}))),h?(a=p,s=f):A?(a=f-n.length,s=f):(a=f,s=f+n.length),this.removeStyleFromTo(a,s)),r.length&&(t&&r.join("")===o.copiedText&&!o.disableStyleCopyPaste&&(i=o.copiedTextStyle),this.insertNewStyleBlock(r,p,i)),this.updateFromTextArea(),this.fire("changed"),this.canvas&&(this.canvas.fire("text:changed",{target:this}),this.canvas.requestRenderAll())}},onCompositionStart:function(){this.inCompositionMode=!0},onCompositionEnd:function(){this.inCompositionMode=!1},onCompositionUpdate:function(e){this.compositionStart=e.target.selectionStart,this.compositionEnd=e.target.selectionEnd,this.updateTextareaPosition()},copy:function(){this.selectionStart!==this.selectionEnd&&(o.copiedText=this.getSelectedText(),o.disableStyleCopyPaste?o.copiedTextStyle=null:o.copiedTextStyle=this.getSelectionStyles(this.selectionStart,this.selectionEnd,!0),this._copyDone=!0)},paste:function(){this.fromPaste=!0},_getClipboardData:function(e){return e&&e.clipboardData||o.window.clipboardData},_getWidthBeforeCursor:function(e,t){var n,r=this._getLineLeftOffset(e);return t>0&&(r+=(n=this.__charBounds[e][t-1]).left+n.width),r},getDownCursorOffset:function(e,t){var n=this._getSelectionForOffset(e,t),r=this.get2DCursorLocation(n),o=r.lineIndex;if(o===this._textLines.length-1||e.metaKey||34===e.keyCode)return this._text.length-n;var i=r.charIndex,a=this._getWidthBeforeCursor(o,i),s=this._getIndexOnLine(o+1,a);return this._textLines[o].slice(i).length+s+1+this.missingNewlineOffset(o)},_getSelectionForOffset:function(e,t){return e.shiftKey&&this.selectionStart!==this.selectionEnd&&t?this.selectionEnd:this.selectionStart},getUpCursorOffset:function(e,t){var n=this._getSelectionForOffset(e,t),r=this.get2DCursorLocation(n),o=r.lineIndex;if(0===o||e.metaKey||33===e.keyCode)return-n;var i=r.charIndex,a=this._getWidthBeforeCursor(o,i),s=this._getIndexOnLine(o-1,a),l=this._textLines[o].slice(0,i),c=this.missingNewlineOffset(o-1);return-this._textLines[o-1].length+s-l.length+(1-c)},_getIndexOnLine:function(e,t){for(var n,r,o=this._textLines[e],i=this._getLineLeftOffset(e),a=0,s=0,l=o.length;s<l;s++)if((i+=n=this.__charBounds[e][s].width)>t){r=!0;var c=i-n,u=i,d=Math.abs(c-t);a=Math.abs(u-t)<d?s:s-1;break}return r||(a=o.length-1),a},moveCursorDown:function(e){this.selectionStart>=this._text.length&&this.selectionEnd>=this._text.length||this._moveCursorUpOrDown("Down",e)},moveCursorUp:function(e){0===this.selectionStart&&0===this.selectionEnd||this._moveCursorUpOrDown("Up",e)},_moveCursorUpOrDown:function(e,t){var n=this["get"+e+"CursorOffset"](t,"right"===this._selectionDirection);t.shiftKey?this.moveCursorWithShift(n):this.moveCursorWithoutShift(n),0!==n&&(this.setSelectionInBoundaries(),this.abortCursorAnimation(),this._currentCursorOpacity=1,this.initDelayedCursor(),this._fireSelectionChanged(),this._updateTextarea())},moveCursorWithShift:function(e){var t="left"===this._selectionDirection?this.selectionStart+e:this.selectionEnd+e;return this.setSelectionStartEndWithShift(this.selectionStart,this.selectionEnd,t),0!==e},moveCursorWithoutShift:function(e){return e<0?(this.selectionStart+=e,this.selectionEnd=this.selectionStart):(this.selectionEnd+=e,this.selectionStart=this.selectionEnd),0!==e},moveCursorLeft:function(e){0===this.selectionStart&&0===this.selectionEnd||this._moveCursorLeftOrRight("Left",e)},_move:function(e,t,n){var r;if(e.altKey)r=this["findWordBoundary"+n](this[t]);else{if(!e.metaKey&&35!==e.keyCode&&36!==e.keyCode)return this[t]+="Left"===n?-1:1,!0;r=this["findLineBoundary"+n](this[t])}if("undefined"!==typeof r&&this[t]!==r)return this[t]=r,!0},_moveLeft:function(e,t){return this._move(e,t,"Left")},_moveRight:function(e,t){return this._move(e,t,"Right")},moveCursorLeftWithoutShift:function(e){var t=!0;return this._selectionDirection="left",this.selectionEnd===this.selectionStart&&0!==this.selectionStart&&(t=this._moveLeft(e,"selectionStart")),this.selectionEnd=this.selectionStart,t},moveCursorLeftWithShift:function(e){return"right"===this._selectionDirection&&this.selectionStart!==this.selectionEnd?this._moveLeft(e,"selectionEnd"):0!==this.selectionStart?(this._selectionDirection="left",this._moveLeft(e,"selectionStart")):void 0},moveCursorRight:function(e){this.selectionStart>=this._text.length&&this.selectionEnd>=this._text.length||this._moveCursorLeftOrRight("Right",e)},_moveCursorLeftOrRight:function(e,t){var n="moveCursor"+e+"With";this._currentCursorOpacity=1,t.shiftKey?n+="Shift":n+="outShift",this[n](t)&&(this.abortCursorAnimation(),this.initDelayedCursor(),this._fireSelectionChanged(),this._updateTextarea())},moveCursorRightWithShift:function(e){return"left"===this._selectionDirection&&this.selectionStart!==this.selectionEnd?this._moveRight(e,"selectionStart"):this.selectionEnd!==this._text.length?(this._selectionDirection="right",this._moveRight(e,"selectionEnd")):void 0},moveCursorRightWithoutShift:function(e){var t=!0;return this._selectionDirection="right",this.selectionStart===this.selectionEnd?(t=this._moveRight(e,"selectionStart"),this.selectionEnd=this.selectionStart):this.selectionStart=this.selectionEnd,t},removeChars:function(e,t){"undefined"===typeof t&&(t=e+1),this.removeStyleFromTo(e,t),this._text.splice(e,t-e),this.text=this._text.join(""),this.set("dirty",!0),this._shouldClearDimensionCache()&&(this.initDimensions(),this.setCoords()),this._removeExtraneousStyles()},insertChars:function(e,t,n,r){"undefined"===typeof r&&(r=n),r>n&&this.removeStyleFromTo(n,r);var i=o.util.string.graphemeSplit(e);this.insertNewStyleBlock(i,n,t),this._text=[].concat(this._text.slice(0,n),i,this._text.slice(r)),this.text=this._text.join(""),this.set("dirty",!0),this._shouldClearDimensionCache()&&(this.initDimensions(),this.setCoords()),this._removeExtraneousStyles()}}),function(){var e=o.util.toFixed,t=/  +/g;o.util.object.extend(o.Text.prototype,{_toSVG:function(){var e=this._getSVGLeftTopOffsets(),t=this._getSVGTextAndBg(e.textTop,e.textLeft);return this._wrapSVGTextAndBg(t)},toSVG:function(e){return this._createBaseSVGMarkup(this._toSVG(),{reviver:e,noStyle:!0,withShadow:!0})},_getSVGLeftTopOffsets:function(){return{textLeft:-this.width/2,textTop:-this.height/2,lineTop:this.getHeightOfLine(0)}},_wrapSVGTextAndBg:function(e){var t=this.getSvgTextDecoration(this);return[e.textBgRects.join(""),'\t\t<text xml:space="preserve" ',this.fontFamily?'font-family="'+this.fontFamily.replace(/"/g,"'")+'" ':"",this.fontSize?'font-size="'+this.fontSize+'" ':"",this.fontStyle?'font-style="'+this.fontStyle+'" ':"",this.fontWeight?'font-weight="'+this.fontWeight+'" ':"",t?'text-decoration="'+t+'" ':"",'style="',this.getSvgStyles(!0),'"',this.addPaintOrder()," >",e.textSpans.join(""),"</text>\n"]},_getSVGTextAndBg:function(e,t){var n,r=[],o=[],i=e;this._setSVGBg(o);for(var a=0,s=this._textLines.length;a<s;a++)n=this._getLineLeftOffset(a),(this.textBackgroundColor||this.styleHas("textBackgroundColor",a))&&this._setSVGTextLineBg(o,a,t+n,i),this._setSVGTextLineText(r,a,t+n,i),i+=this.getHeightOfLine(a);return{textSpans:r,textBgRects:o}},_createTextCharSpan:function(n,r,i,a){var s=n!==n.trim()||n.match(t),l=this.getSvgSpanStyles(r,s),c=l?'style="'+l+'"':"",u=r.deltaY,d="",p=o.Object.NUM_FRACTION_DIGITS;return u&&(d=' dy="'+e(u,p)+'" '),['<tspan x="',e(i,p),'" y="',e(a,p),'" ',d,c,">",o.util.string.escapeXml(n),"</tspan>"].join("")},_setSVGTextLineText:function(e,t,n,r){var i,a,s,l,c,u=this.getHeightOfLine(t),d=-1!==this.textAlign.indexOf("justify"),p="",f=0,h=this._textLines[t];r+=u*(1-this._fontSizeFraction)/this.lineHeight;for(var b=0,A=h.length-1;b<=A;b++)c=b===A||this.charSpacing,p+=h[b],s=this.__charBounds[t][b],0===f?(n+=s.kernedWidth-s.width,f+=s.width):f+=s.kernedWidth,d&&!c&&this._reSpaceAndTab.test(h[b])&&(c=!0),c||(i=i||this.getCompleteStyleDeclaration(t,b),a=this.getCompleteStyleDeclaration(t,b+1),c=o.util.hasStyleChanged(i,a,!0)),c&&(l=this._getStyleDeclaration(t,b)||{},e.push(this._createTextCharSpan(p,l,n,r)),p="",i=a,n+=f,f=0)},_pushTextBgRect:function(t,n,r,i,a,s){var l=o.Object.NUM_FRACTION_DIGITS;t.push("\t\t<rect ",this._getFillAttributes(n),' x="',e(r,l),'" y="',e(i,l),'" width="',e(a,l),'" height="',e(s,l),'"></rect>\n')},_setSVGTextLineBg:function(e,t,n,r){for(var o,i,a=this._textLines[t],s=this.getHeightOfLine(t)/this.lineHeight,l=0,c=0,u=this.getValueOfPropertyAt(t,0,"textBackgroundColor"),d=0,p=a.length;d<p;d++)o=this.__charBounds[t][d],(i=this.getValueOfPropertyAt(t,d,"textBackgroundColor"))!==u?(u&&this._pushTextBgRect(e,u,n+c,r,l,s),c=o.left,l=o.width,u=i):l+=o.kernedWidth;i&&this._pushTextBgRect(e,i,n+c,r,l,s)},_getFillAttributes:function(e){var t=e&&"string"===typeof e?new o.Color(e):"";return t&&t.getSource()&&1!==t.getAlpha()?'opacity="'+t.getAlpha()+'" fill="'+t.setAlpha(1).toRgb()+'"':'fill="'+e+'"'},_getSVGLineTopOffset:function(e){for(var t,n=0,r=0;r<e;r++)n+=this.getHeightOfLine(r);return t=this.getHeightOfLine(r),{lineTop:n,offset:(this._fontSizeMult-this._fontSizeFraction)*t/(this.lineHeight*this._fontSizeMult)}},getSvgStyles:function(e){return o.Object.prototype.getSvgStyles.call(this,e)+" white-space: pre;"}})}(),function(e){"use strict";var t=e.fabric||(e.fabric={});t.Textbox=t.util.createClass(t.IText,t.Observable,{type:"textbox",minWidth:20,dynamicMinWidth:2,__cachedLines:null,lockScalingFlip:!0,noScaleCache:!1,_dimensionAffectingProps:t.Text.prototype._dimensionAffectingProps.concat("width"),_wordJoiners:/[ \t\r]/,splitByGrapheme:!1,initDimensions:function(){this.__skipDimension||(this.isEditing&&this.initDelayedCursor(),this.clearContextTop(),this._clearCache(),this.dynamicMinWidth=0,this._styleMap=this._generateStyleMap(this._splitText()),this.dynamicMinWidth>this.width&&this._set("width",this.dynamicMinWidth),-1!==this.textAlign.indexOf("justify")&&this.enlargeSpaces(),this.height=this.calcTextHeight(),this.saveState({propertySet:"_dimensionAffectingProps"}))},_generateStyleMap:function(e){for(var t=0,n=0,r=0,o={},i=0;i<e.graphemeLines.length;i++)"\n"===e.graphemeText[r]&&i>0?(n=0,r++,t++):!this.splitByGrapheme&&this._reSpaceAndTab.test(e.graphemeText[r])&&i>0&&(n++,r++),o[i]={line:t,offset:n},r+=e.graphemeLines[i].length,n+=e.graphemeLines[i].length;return o},styleHas:function(e,n){if(this._styleMap&&!this.isWrapping){var r=this._styleMap[n];r&&(n=r.line)}return t.Text.prototype.styleHas.call(this,e,n)},isEmptyStyles:function(e){if(!this.styles)return!0;var t,n,r=0,o=!1,i=this._styleMap[e],a=this._styleMap[e+1];for(var s in i&&(e=i.line,r=i.offset),a&&(o=a.line===e,t=a.offset),n="undefined"===typeof e?this.styles:{line:this.styles[e]})for(var l in n[s])if(l>=r&&(!o||l<t))for(var c in n[s][l])return!1;return!0},_getStyleDeclaration:function(e,t){if(this._styleMap&&!this.isWrapping){var n=this._styleMap[e];if(!n)return null;e=n.line,t=n.offset+t}return this.callSuper("_getStyleDeclaration",e,t)},_setStyleDeclaration:function(e,t,n){var r=this._styleMap[e];e=r.line,t=r.offset+t,this.styles[e][t]=n},_deleteStyleDeclaration:function(e,t){var n=this._styleMap[e];e=n.line,t=n.offset+t,delete this.styles[e][t]},_getLineStyle:function(e){var t=this._styleMap[e];return!!this.styles[t.line]},_setLineStyle:function(e){var t=this._styleMap[e];this.styles[t.line]={}},_wrapText:function(e,t){var n,r=[];for(this.isWrapping=!0,n=0;n<e.length;n++)r=r.concat(this._wrapLine(e[n],n,t));return this.isWrapping=!1,r},_measureWord:function(e,t,n){var r,o=0;n=n||0;for(var i=0,a=e.length;i<a;i++){o+=this._getGraphemeBox(e[i],t,i+n,r,true).kernedWidth,r=e[i]}return o},_wrapLine:function(e,n,r,o){var i=0,a=this.splitByGrapheme,s=[],l=[],c=a?t.util.string.graphemeSplit(e):e.split(this._wordJoiners),u="",d=0,p=a?"":" ",f=0,h=0,b=0,A=!0,m=this._getWidthOfCharSpacing();o=o||0;0===c.length&&c.push([]),r-=o;for(var g=0;g<c.length;g++)u=a?c[g]:t.util.string.graphemeSplit(c[g]),f=this._measureWord(u,n,d),d+=u.length,(i+=h+f-m)>r&&!A?(s.push(l),l=[],i=f,A=!0):i+=m,A||a||l.push(p),l=l.concat(u),h=a?0:this._measureWord([p],n,d),d++,A=!1,f>b&&(b=f);return g&&s.push(l),b+o>this.dynamicMinWidth&&(this.dynamicMinWidth=b-m+o),s},isEndOfWrapping:function(e){return!this._styleMap[e+1]||this._styleMap[e+1].line!==this._styleMap[e].line},missingNewlineOffset:function(e){return this.splitByGrapheme?this.isEndOfWrapping(e)?1:0:1},_splitTextIntoLines:function(e){for(var n=t.Text.prototype._splitTextIntoLines.call(this,e),r=this._wrapText(n.lines,this.width),o=new Array(r.length),i=0;i<r.length;i++)o[i]=r[i].join("");return n.lines=o,n.graphemeLines=r,n},getMinWidth:function(){return Math.max(this.minWidth,this.dynamicMinWidth)},_removeExtraneousStyles:function(){var e={};for(var t in this._styleMap)this._textLines[t]&&(e[this._styleMap[t].line]=1);for(var t in this.styles)e[t]||delete this.styles[t]},toObject:function(e){return this.callSuper("toObject",["minWidth","splitByGrapheme"].concat(e))}}),t.Textbox.fromObject=function(e,n){var r=t.util.stylesFromArray(e.styles,e.text),o=Object.assign({},e,{styles:r});return t.Object._fromObject("Textbox",o,n,"text")}}(t),function(){var e=o.controlsUtils,t=e.scaleSkewCursorStyleHandler,n=e.scaleCursorStyleHandler,r=e.scalingEqually,i=e.scalingYOrSkewingX,a=e.scalingXOrSkewingY,s=e.scaleOrSkewActionName,l=o.Object.prototype.controls;if(l.ml=new o.Control({x:-.5,y:0,cursorStyleHandler:t,actionHandler:a,getActionName:s}),l.mr=new o.Control({x:.5,y:0,cursorStyleHandler:t,actionHandler:a,getActionName:s}),l.mb=new o.Control({x:0,y:.5,cursorStyleHandler:t,actionHandler:i,getActionName:s}),l.mt=new o.Control({x:0,y:-.5,cursorStyleHandler:t,actionHandler:i,getActionName:s}),l.tl=new o.Control({x:-.5,y:-.5,cursorStyleHandler:n,actionHandler:r}),l.tr=new o.Control({x:.5,y:-.5,cursorStyleHandler:n,actionHandler:r}),l.bl=new o.Control({x:-.5,y:.5,cursorStyleHandler:n,actionHandler:r}),l.br=new o.Control({x:.5,y:.5,cursorStyleHandler:n,actionHandler:r}),l.mtr=new o.Control({x:0,y:-.5,actionHandler:e.rotationWithSnapping,cursorStyleHandler:e.rotationStyleHandler,offsetY:-40,withConnection:!0,actionName:"rotate"}),o.Textbox){var c=o.Textbox.prototype.controls={};c.mtr=l.mtr,c.tr=l.tr,c.br=l.br,c.tl=l.tl,c.bl=l.bl,c.mt=l.mt,c.mb=l.mb,c.mr=new o.Control({x:.5,y:0,actionHandler:e.changeWidth,cursorStyleHandler:t,actionName:"resizing"}),c.ml=new o.Control({x:-.5,y:0,actionHandler:e.changeWidth,cursorStyleHandler:t,actionName:"resizing"})}}()},61767:function(e,t,n){"use strict";var r=n(92421),o=n(88408),i=n(840),a=new RegExp("\r\n","g"),s={"text/rtf":1,"text/html":1};function l(e){if("file"==e.kind)return e.getAsFile()}var c=function(){function e(e){this.data=e,this.types=e.types?o(e.types):[]}var t=e.prototype;return t.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(e){return s[e]}))},t.getText=function(){var e;return this.data.getData&&(this.types.length?-1!=this.types.indexOf("text/plain")&&(e=this.data.getData("text/plain")):e=this.data.getData("Text")),e?e.replace(a,"\n"):null},t.getHTML=function(){if(this.data.getData){if(!this.types.length)return this.data.getData("Text");if(-1!=this.types.indexOf("text/html"))return this.data.getData("text/html")}},t.isLink=function(){return this.types.some((function(e){return-1!=e.indexOf("Url")||-1!=e.indexOf("text/uri-list")||e.indexOf("text/x-moz-url")}))},t.getLink=function(){return this.data.getData?-1!=this.types.indexOf("text/x-moz-url")?this.data.getData("text/x-moz-url").split("\n")[0]:-1!=this.types.indexOf("text/uri-list")?this.data.getData("text/uri-list"):this.data.getData("url"):null},t.isImage=function(){var e=this.types.some((function(e){return-1!=e.indexOf("application/x-moz-file")}));if(e)return!0;for(var t=this.getFiles(),n=0;n<t.length;n++){var o=t[n].type;if(!r.isImage(o))return!1}return!0},t.getCount=function(){return this.data.hasOwnProperty("items")?this.data.items.length:this.data.hasOwnProperty("mozItemCount")?this.data.mozItemCount:this.data.files?this.data.files.length:null},t.getFiles=function(){return this.data.items?Array.prototype.slice.call(this.data.items).map(l).filter(i.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},t.hasFiles=function(){return this.getFiles().length>0},e}();e.exports=c},43058:function(e){"use strict";e.exports={BACKSPACE:8,TAB:9,RETURN:13,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,COMMA:188,PERIOD:190,A:65,Z:90,ZERO:48,NUMPAD_0:96,NUMPAD_9:105}},92421:function(e){"use strict";var t={isImage:function(e){return"image"===n(e)[0]},isJpeg:function(e){var r=n(e);return t.isImage(e)&&("jpeg"===r[1]||"pjpeg"===r[1])}};function n(e){return e.split("/")}e.exports=t},17219:function(e){"use strict";function t(e,t){return!!t&&(e===t.documentElement||e===t.body)}var n={getTop:function(e){var n=e.ownerDocument;return t(e,n)?n.body.scrollTop||n.documentElement.scrollTop:e.scrollTop},setTop:function(e,n){var r=e.ownerDocument;t(e,r)?r.body.scrollTop=r.documentElement.scrollTop=n:e.scrollTop=n},getLeft:function(e){var n=e.ownerDocument;return t(e,n)?n.body.scrollLeft||n.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,n){var r=e.ownerDocument;t(e,r)?r.body.scrollLeft=r.documentElement.scrollLeft=n:e.scrollLeft=n}};e.exports=n},9026:function(e,t,n){"use strict";function r(e,t){var n=o.get(e,t);return"auto"===n||"scroll"===n}var o={get:n(46989),getScrollParent:function(e){if(!e)return null;for(var t=e.ownerDocument;e&&e!==t.body;){if(r(e,"overflow")||r(e,"overflowY")||r(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}};e.exports=o},71495:function(e){"use strict";e.exports={getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;\u30fb\u3001\u3002\u3008-\u3011\u3014-\u301f\uff1a-\uff1f\uff01-\uff0f\uff3b-\uff40\uff5b-\uff65\u2e2e\u061f\u066a-\u066c\u061b\u060c\u060d\ufd3e\ufd3f\u1801\u0964\u104a\u104b\u2010-\u2027\u2030-\u205e\xa1-\xb1\xb4-\xb8\xba\xbb\xbf]"}}},92636:function(e){"use strict";var t=function(){function e(e){var t,n,r;r=void 0,(n="_uri")in(t=this)?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,this._uri=e}return e.prototype.toString=function(){return this._uri},e}();e.exports=t},13014:function(e,t,n){"use strict";var r=n(47821),o=n(87405),i="\u0590\u05be\u05c0\u05c3\u05c6\u05c8-\u05cf\u05d0-\u05ea\u05eb-\u05ef\u05f0-\u05f2\u05f3-\u05f4\u05f5-\u05ff\u07c0-\u07c9\u07ca-\u07ea\u07f4-\u07f5\u07fa\u07fb-\u07ff\u0800-\u0815\u081a\u0824\u0828\u082e-\u082f\u0830-\u083e\u083f\u0840-\u0858\u085c-\u085d\u085e\u085f-\u089f\u200f\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb37\ufb38-\ufb3c\ufb3d\ufb3e\ufb3f\ufb40-\ufb41\ufb42\ufb43-\ufb44\ufb45\ufb46-\ufb4f",a="\u0608\u060b\u060d\u061b\u061c\u061d\u061e-\u061f\u0620-\u063f\u0640\u0641-\u064a\u066d\u066e-\u066f\u0671-\u06d3\u06d4\u06d5\u06e5-\u06e6\u06ee-\u06ef\u06fa-\u06fc\u06fd-\u06fe\u06ff\u0700-\u070d\u070e\u070f\u0710\u0712-\u072f\u074b-\u074c\u074d-\u07a5\u07b1\u07b2-\u07bf\u08a0-\u08b2\u08b3-\u08e3\ufb50-\ufbb1\ufbb2-\ufbc1\ufbc2-\ufbd2\ufbd3-\ufd3d\ufd40-\ufd4f\ufd50-\ufd8f\ufd90-\ufd91\ufd92-\ufdc7\ufdc8-\ufdcf\ufdf0-\ufdfb\ufdfc\ufdfe-\ufdff\ufe70-\ufe74\ufe75\ufe76-\ufefc\ufefd-\ufefe",s=new RegExp("["+"A-Za-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u01ba\u01bb\u01bc-\u01bf\u01c0-\u01c3\u01c4-\u0293\u0294\u0295-\u02af\u02b0-\u02b8\u02bb-\u02c1\u02d0-\u02d1\u02e0-\u02e4\u02ee\u0370-\u0373\u0376-\u0377\u037a\u037b-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u0482\u048a-\u052f\u0531-\u0556\u0559\u055a-\u055f\u0561-\u0587\u0589\u0903\u0904-\u0939\u093b\u093d\u093e-\u0940\u0949-\u094c\u094e-\u094f\u0950\u0958-\u0961\u0964-\u0965\u0966-\u096f\u0970\u0971\u0972-\u0980\u0982-\u0983\u0985-\u098c\u098f-\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09be-\u09c0\u09c7-\u09c8\u09cb-\u09cc\u09ce\u09d7\u09dc-\u09dd\u09df-\u09e1\u09e6-\u09ef\u09f0-\u09f1\u09f4-\u09f9\u09fa\u0a03\u0a05-\u0a0a\u0a0f-\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32-\u0a33\u0a35-\u0a36\u0a38-\u0a39\u0a3e-\u0a40\u0a59-\u0a5c\u0a5e\u0a66-\u0a6f\u0a72-\u0a74\u0a83\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2-\u0ab3\u0ab5-\u0ab9\u0abd\u0abe-\u0ac0\u0ac9\u0acb-\u0acc\u0ad0\u0ae0-\u0ae1\u0ae6-\u0aef\u0af0\u0b02-\u0b03\u0b05-\u0b0c\u0b0f-\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32-\u0b33\u0b35-\u0b39\u0b3d\u0b3e\u0b40\u0b47-\u0b48\u0b4b-\u0b4c\u0b57\u0b5c-\u0b5d\u0b5f-\u0b61\u0b66-\u0b6f\u0b70\u0b71\u0b72-\u0b77\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99-\u0b9a\u0b9c\u0b9e-\u0b9f\u0ba3-\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bbe-\u0bbf\u0bc1-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcc\u0bd0\u0bd7\u0be6-\u0bef\u0bf0-\u0bf2\u0c01-\u0c03\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c41-\u0c44\u0c58-\u0c59\u0c60-\u0c61\u0c66-\u0c6f\u0c7f\u0c82-\u0c83\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cbe\u0cbf\u0cc0-\u0cc4\u0cc6\u0cc7-\u0cc8\u0cca-\u0ccb\u0cd5-\u0cd6\u0cde\u0ce0-\u0ce1\u0ce6-\u0cef\u0cf1-\u0cf2\u0d02-\u0d03\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d3e-\u0d40\u0d46-\u0d48\u0d4a-\u0d4c\u0d4e\u0d57\u0d60-\u0d61\u0d66-\u0d6f\u0d70-\u0d75\u0d79\u0d7a-\u0d7f\u0d82-\u0d83\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0dcf-\u0dd1\u0dd8-\u0ddf\u0de6-\u0def\u0df2-\u0df3\u0df4\u0e01-\u0e30\u0e32-\u0e33\u0e40-\u0e45\u0e46\u0e4f\u0e50-\u0e59\u0e5a-\u0e5b\u0e81-\u0e82\u0e84\u0e87-\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa-\u0eab\u0ead-\u0eb0\u0eb2-\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0ed0-\u0ed9\u0edc-\u0edf\u0f00\u0f01-\u0f03\u0f04-\u0f12\u0f13\u0f14\u0f15-\u0f17\u0f1a-\u0f1f\u0f20-\u0f29\u0f2a-\u0f33\u0f34\u0f36\u0f38\u0f3e-\u0f3f\u0f40-\u0f47\u0f49-\u0f6c\u0f7f\u0f85\u0f88-\u0f8c\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce-\u0fcf\u0fd0-\u0fd4\u0fd5-\u0fd8\u0fd9-\u0fda\u1000-\u102a\u102b-\u102c\u1031\u1038\u103b-\u103c\u103f\u1040-\u1049\u104a-\u104f\u1050-\u1055\u1056-\u1057\u105a-\u105d\u1061\u1062-\u1064\u1065-\u1066\u1067-\u106d\u106e-\u1070\u1075-\u1081\u1083-\u1084\u1087-\u108c\u108e\u108f\u1090-\u1099\u109a-\u109c\u109e-\u109f\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fb\u10fc\u10fd-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1360-\u1368\u1369-\u137c\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166d-\u166e\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16eb-\u16ed\u16ee-\u16f0\u16f1-\u16f8\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1735-\u1736\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17b6\u17be-\u17c5\u17c7-\u17c8\u17d4-\u17d6\u17d7\u17d8-\u17da\u17dc\u17e0-\u17e9\u1810-\u1819\u1820-\u1842\u1843\u1844-\u1877\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1923-\u1926\u1929-\u192b\u1930-\u1931\u1933-\u1938\u1946-\u194f\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c0\u19c1-\u19c7\u19c8-\u19c9\u19d0-\u19d9\u19da\u1a00-\u1a16\u1a19-\u1a1a\u1a1e-\u1a1f\u1a20-\u1a54\u1a55\u1a57\u1a61\u1a63-\u1a64\u1a6d-\u1a72\u1a80-\u1a89\u1a90-\u1a99\u1aa0-\u1aa6\u1aa7\u1aa8-\u1aad\u1b04\u1b05-\u1b33\u1b35\u1b3b\u1b3d-\u1b41\u1b43-\u1b44\u1b45-\u1b4b\u1b50-\u1b59\u1b5a-\u1b60\u1b61-\u1b6a\u1b74-\u1b7c\u1b82\u1b83-\u1ba0\u1ba1\u1ba6-\u1ba7\u1baa\u1bae-\u1baf\u1bb0-\u1bb9\u1bba-\u1be5\u1be7\u1bea-\u1bec\u1bee\u1bf2-\u1bf3\u1bfc-\u1bff\u1c00-\u1c23\u1c24-\u1c2b\u1c34-\u1c35\u1c3b-\u1c3f\u1c40-\u1c49\u1c4d-\u1c4f\u1c50-\u1c59\u1c5a-\u1c77\u1c78-\u1c7d\u1c7e-\u1c7f\u1cc0-\u1cc7\u1cd3\u1ce1\u1ce9-\u1cec\u1cee-\u1cf1\u1cf2-\u1cf3\u1cf5-\u1cf6\u1d00-\u1d2b\u1d2c-\u1d6a\u1d6b-\u1d77\u1d78\u1d79-\u1d9a\u1d9b-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u200e\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2134\u2135-\u2138\u2139\u213c-\u213f\u2145-\u2149\u214e\u214f\u2160-\u2182\u2183-\u2184\u2185-\u2188\u2336-\u237a\u2395\u249c-\u24e9\u26ac\u2800-\u28ff\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2c7b\u2c7c-\u2c7d\u2c7e-\u2ce4\u2ceb-\u2cee\u2cf2-\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d70\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005\u3006\u3007\u3021-\u3029\u302e-\u302f\u3031-\u3035\u3038-\u303a\u303b\u303c\u3041-\u3096\u309d-\u309e\u309f\u30a1-\u30fa\u30fc-\u30fe\u30ff\u3105-\u312d\u3131-\u318e\u3190-\u3191\u3192-\u3195\u3196-\u319f\u31a0-\u31ba\u31f0-\u31ff\u3200-\u321c\u3220-\u3229\u322a-\u3247\u3248-\u324f\u3260-\u327b\u327f\u3280-\u3289\u328a-\u32b0\u32c0-\u32cb\u32d0-\u32fe\u3300-\u3376\u337b-\u33dd\u33e0-\u33fe\u3400-\u4db5\u4e00-\u9fcc\ua000-\ua014\ua015\ua016-\ua48c\ua4d0-\ua4f7\ua4f8-\ua4fd\ua4fe-\ua4ff\ua500-\ua60b\ua60c\ua610-\ua61f\ua620-\ua629\ua62a-\ua62b\ua640-\ua66d\ua66e\ua680-\ua69b\ua69c-\ua69d\ua6a0-\ua6e5\ua6e6-\ua6ef\ua6f2-\ua6f7\ua722-\ua76f\ua770\ua771-\ua787\ua789-\ua78a\ua78b-\ua78e\ua790-\ua7ad\ua7b0-\ua7b1\ua7f7\ua7f8-\ua7f9\ua7fa\ua7fb-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua823-\ua824\ua827\ua830-\ua835\ua836-\ua837\ua840-\ua873\ua880-\ua881\ua882-\ua8b3\ua8b4-\ua8c3\ua8ce-\ua8cf\ua8d0-\ua8d9\ua8f2-\ua8f7\ua8f8-\ua8fa\ua8fb\ua900-\ua909\ua90a-\ua925\ua92e-\ua92f\ua930-\ua946\ua952-\ua953\ua95f\ua960-\ua97c\ua983\ua984-\ua9b2\ua9b4-\ua9b5\ua9ba-\ua9bb\ua9bd-\ua9c0\ua9c1-\ua9cd\ua9cf\ua9d0-\ua9d9\ua9de-\ua9df\ua9e0-\ua9e4\ua9e6\ua9e7-\ua9ef\ua9f0-\ua9f9\ua9fa-\ua9fe\uaa00-\uaa28\uaa2f-\uaa30\uaa33-\uaa34\uaa40-\uaa42\uaa44-\uaa4b\uaa4d\uaa50-\uaa59\uaa5c-\uaa5f\uaa60-\uaa6f\uaa70\uaa71-\uaa76\uaa77-\uaa79\uaa7a\uaa7b\uaa7d\uaa7e-\uaaaf\uaab1\uaab5-\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadc\uaadd\uaade-\uaadf\uaae0-\uaaea\uaaeb\uaaee-\uaaef\uaaf0-\uaaf1\uaaf2\uaaf3-\uaaf4\uaaf5\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5b\uab5c-\uab5f\uab64-\uab65\uabc0-\uabe2\uabe3-\uabe4\uabe6-\uabe7\uabe9-\uabea\uabeb\uabec\uabf0-\uabf9\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\ue000-\uf8ff\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\uff21-\uff3a\uff41-\uff5a\uff66-\uff6f\uff70\uff71-\uff9d\uff9e-\uff9f\uffa0-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc"+i+a+"]"),l=new RegExp("["+i+a+"]");function c(e){var t=s.exec(e);return null==t?null:t[0]}function u(e){var t=c(e);return null==t?r.NEUTRAL:l.exec(t)?r.RTL:r.LTR}function d(e,t){if(t=t||r.NEUTRAL,!e.length)return t;var n=u(e);return n===r.NEUTRAL?t:n}function p(e,t){return t||(t=r.getGlobalDir()),r.isStrong(t)||o(!1),d(e,t)}var f={firstStrongChar:c,firstStrongCharDir:u,resolveBlockDir:d,getDirection:p,isDirectionLTR:function(e,t){return p(e,t)===r.LTR},isDirectionRTL:function(e,t){return p(e,t)===r.RTL}};e.exports=f},47821:function(e,t,n){"use strict";var r=n(87405),o="LTR",i="RTL",a=null;function s(e){return e===o||e===i}function l(e){return s(e)||r(!1),e===o?"ltr":"rtl"}function c(e){a=e}var u={NEUTRAL:"NEUTRAL",LTR:o,RTL:i,isStrong:s,getHTMLDir:l,getHTMLDirIfDifferent:function(e,t){return s(e)||r(!1),s(t)||r(!1),e===t?null:l(e)},setGlobalDir:c,initGlobalDir:function(){c(o)},getGlobalDir:function(){return a||this.initGlobalDir(),a||r(!1),a}};e.exports=u},56757:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(13014),i=n(47821),a=n(87405),s=function(){function e(e){r(this,"_defaultDir",void 0),r(this,"_lastDir",void 0),e?i.isStrong(e)||a(!1):e=i.getGlobalDir(),this._defaultDir=e,this.reset()}var t=e.prototype;return t.reset=function(){this._lastDir=this._defaultDir},t.getDirection=function(e){return this._lastDir=o.getDirection(e,this._lastDir),this._lastDir},e}();e.exports=s},82577:function(e,t,n){"use strict";var r=n(87405),o=55296,i=57343,a=/[\uD800-\uDFFF]/;function s(e){return o<=e&&e<=i}function l(e){return a.test(e)}function c(e,t){return 1+s(e.charCodeAt(t))}function u(e,t,n){if(t=t||0,n=void 0===n?1/0:n||0,!l(e))return e.substr(t,n);var r=e.length;if(r<=0||t>r||n<=0)return"";var o=0;if(t>0){for(;t>0&&o<r;t--)o+=c(e,o);if(o>=r)return""}else if(t<0){for(o=r;t<0&&0<o;t++)o-=c(e,o-1);o<0&&(o=0)}var i=r;if(n<r)for(i=o;n>0&&i<r;n--)i+=c(e,i);return e.substring(o,i)}var d={getCodePoints:function(e){for(var t=[],n=0;n<e.length;n+=c(e,n))t.push(e.codePointAt(n));return t},getUTF16Length:c,hasSurrogateUnit:l,isCodeUnitInSurrogateRange:s,isSurrogatePair:function(e,t){if(0<=t&&t<e.length||r(!1),t+1===e.length)return!1;var n=e.charCodeAt(t),a=e.charCodeAt(t+1);return o<=n&&n<=56319&&56320<=a&&a<=i},strlen:function(e){if(!l(e))return e.length;for(var t=0,n=0;n<e.length;n+=c(e,n))t++;return t},substring:function(e,t,n){(t=t||0)<0&&(t=0),(n=void 0===n?1/0:n||0)<0&&(n=0);var r=Math.abs(n-t);return u(e,t=t<n?t:n,r)},substr:u};e.exports=d},18258:function(e,t,n){"use strict";var r=n(7894),o=n(73729),i=n(7972),a=n(63786);function s(e,t,n,r){if(e===n)return!0;if(!n.startsWith(e))return!1;var i=n.slice(e.length);return!!t&&(i=r?r(i):i,o.contains(i,t))}function l(e){return"Windows"===r.platformName?e.replace(/^\s*NT/,""):e}var c={isBrowser:function(e){return s(r.browserName,r.browserFullVersion,e)},isBrowserArchitecture:function(e){return s(r.browserArchitecture,null,e)},isDevice:function(e){return s(r.deviceName,null,e)},isEngine:function(e){return s(r.engineName,r.engineVersion,e)},isPlatform:function(e){return s(r.platformName,r.platformFullVersion,e,l)},isPlatformArchitecture:function(e){return s(r.platformArchitecture,null,e)}};e.exports=i(c,a)},7894:function(e,t,n){"use strict";var r=n(91318),o="Unknown",i={"Mac OS":"Mac OS X"};var a=(new r).getResult(),s=function(e){if(!e)return{major:"",minor:""};var t=e.split(".");return{major:t[0],minor:t[1]}}(a.browser.version),l={browserArchitecture:a.cpu.architecture||o,browserFullVersion:a.browser.version||o,browserMinorVersion:s.minor||o,browserName:a.browser.name||o,browserVersion:a.browser.major||o,deviceName:a.device.model||o,engineName:a.engine.name||o,engineVersion:a.engine.version||o,platformArchitecture:a.cpu.architecture||o,platformName:function(e){return i[e]||e}(a.os.name)||o,platformVersion:a.os.version||o,platformFullVersion:a.os.version||o};e.exports=l},73729:function(e,t,n){"use strict";var r=n(87405),o=/\./,i=/\|\|/,a=/\s+\-\s+/,s=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,l=/^(\d*)(.*)/;function c(e,t){var n=e.split(i);return n.length>1?n.some((function(e){return y.contains(e,t)})):function(e,t){var n=e.split(a);if(n.length>0&&n.length<=2||r(!1),1===n.length)return u(n[0],t);var o=n[0],i=n[1];return b(o)&&b(i)||r(!1),u(">="+o,t)&&u("<="+i,t)}(e=n[0].trim(),t)}function u(e,t){if(""===(e=e.trim()))return!0;var n=t.split(o),r=f(e),i=r.modifier,a=r.rangeComponents;switch(i){case"<":return d(n,a);case"<=":return function(e,t){var n=v(e,t);return-1===n||0===n}(n,a);case">=":return p(n,a);case">":return 1===v(n,a);case"~":case"~>":return function(e,t){var n=t.slice(),r=t.slice();r.length>1&&r.pop();var o=r.length-1,i=parseInt(r[o],10);h(i)&&(r[o]=i+1+"");return p(e,n)&&d(e,r)}(n,a);default:return function(e,t){return 0===v(e,t)}(n,a)}}function d(e,t){return-1===v(e,t)}function p(e,t){var n=v(e,t);return 1===n||0===n}function f(e){var t=e.split(o),n=t[0].match(s);return n||r(!1),{modifier:n[1],rangeComponents:[n[2]].concat(t.slice(1))}}function h(e){return!isNaN(e)&&isFinite(e)}function b(e){return!f(e).modifier}function A(e,t){for(var n=e.length;n<t;n++)e[n]="0"}function m(e,t){var n=e.match(l)[1],r=t.match(l)[1],o=parseInt(n,10),i=parseInt(r,10);return h(o)&&h(i)&&o!==i?g(o,i):g(e,t)}function g(e,t){return typeof e!==typeof t&&r(!1),e>t?1:e<t?-1:0}function v(e,t){for(var n=function(e,t){A(e=e.slice(),(t=t.slice()).length);for(var n=0;n<t.length;n++){var r=t[n].match(/^[x*]$/i);if(r&&(t[n]=e[n]="0","*"===r[0]&&n===t.length-1))for(var o=n;o<e.length;o++)e[o]="0"}return A(t,e.length),[e,t]}(e,t),r=n[0],o=n[1],i=0;i<o.length;i++){var a=m(r[i],o[i]);if(a)return a}return 0}var y={contains:function(e,t){return c(e.trim(),t.trim())}};e.exports=y},74700:function(e){"use strict";var t=/-(.)/g;e.exports=function(e){return e.replace(t,(function(e,t){return t.toUpperCase()}))}},42804:function(e,t,n){"use strict";var r=n(35186);e.exports=function e(t,n){return!(!t||!n)&&(t===n||!r(t)&&(r(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}},88408:function(e,t,n){"use strict";var r=n(87405);e.exports=function(e){return function(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"length"in e&&!("setInterval"in e)&&"number"!=typeof e.nodeType&&(Array.isArray(e)||"callee"in e||"item"in e)}(e)?Array.isArray(e)?e.slice():function(e){var t=e.length;if((Array.isArray(e)||"object"!==typeof e&&"function"!==typeof e)&&r(!1),"number"!==typeof t&&r(!1),0===t||t-1 in e||r(!1),"function"===typeof e.callee&&r(!1),e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(i){}for(var n=Array(t),o=0;o<t;o++)n[o]=e[o];return n}(e):[e]}},37827:function(e){"use strict";function t(e){return e.replace(/\//g,"-")}e.exports=function(e){return"object"==typeof e?Object.keys(e).filter((function(t){return e[t]})).map(t).join(" "):Array.prototype.map.call(arguments,t).join(" ")}},840:function(e){"use strict";function t(e){return function(){return e}}var n=function(){};n.thatReturns=t,n.thatReturnsFalse=t(!1),n.thatReturnsTrue=t(!0),n.thatReturnsNull=t(null),n.thatReturnsThis=function(){return this},n.thatReturnsArgument=function(e){return e},e.exports=n},13459:function(e){"use strict";e.exports=function(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}},26935:function(e){"use strict";var t="undefined"!==typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;e.exports=function(e){return(e=e||document).scrollingElement?e.scrollingElement:t||"CSS1Compat"!==e.compatMode?e.body:e.documentElement}},21604:function(e,t,n){"use strict";var r=n(48967);e.exports=function(e){var t=r(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}}},48967:function(e,t,n){"use strict";var r=n(42804);e.exports=function(e){var t=e.ownerDocument.documentElement;if(!("getBoundingClientRect"in e)||!r(t,e))return{left:0,right:0,top:0,bottom:0};var n=e.getBoundingClientRect();return{left:Math.round(n.left)-t.clientLeft,right:Math.round(n.right)-t.clientLeft,top:Math.round(n.top)-t.clientTop,bottom:Math.round(n.bottom)-t.clientTop}}},37541:function(e,t,n){"use strict";var r=n(26935),o=n(24536);e.exports=function(e){var t=r(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var n=o(e),i=e===t?e.ownerDocument.documentElement:e,a=e.scrollWidth-i.clientWidth,s=e.scrollHeight-i.clientHeight;return n.x=Math.max(0,Math.min(n.x,a)),n.y=Math.max(0,Math.min(n.y,s)),n}},46989:function(e,t,n){"use strict";var r=n(74700),o=n(68415);function i(e){return null==e?e:String(e)}e.exports=function(e,t){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(e,null)))return i(n.getPropertyValue(o(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(e,null))return i(n.getPropertyValue(o(t)));if("display"===t)return"none"}return e.currentStyle?i("float"===t?e.currentStyle.cssFloat||e.currentStyle.styleFloat:e.currentStyle[r(t)]):i(e.style&&e.style[r(t)])}},24536:function(e){"use strict";e.exports=function(e){return e.Window&&e instanceof e.Window?{x:e.pageXOffset||e.document.documentElement.scrollLeft,y:e.pageYOffset||e.document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}}},39349:function(e){"use strict";function t(){var e;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function n(){var e;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function r(){return{width:window.innerWidth||t(),height:window.innerHeight||n()}}r.withoutScrollbars=function(){return{width:t(),height:n()}},e.exports=r},68415:function(e){"use strict";var t=/([A-Z])/g;e.exports=function(e){return e.replace(t,"-$1").toLowerCase()}},87405:function(e){"use strict";var t=function(e){};e.exports=function(e,n){for(var r=arguments.length,o=new Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];if(t(n),!e){var a;if(void 0===n)a=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=0;(a=new Error(n.replace(/%s/g,(function(){return String(o[s++])})))).name="Invariant Violation"}throw a.framesToPop=1,a}}},76736:function(e){"use strict";e.exports=function(e){var t=(e?e.ownerDocument||e:document).defaultView||window;return!(!e||!("function"===typeof t.Node?e instanceof t.Node:"object"===typeof e&&"number"===typeof e.nodeType&&"string"===typeof e.nodeName))}},35186:function(e,t,n){"use strict";var r=n(76736);e.exports=function(e){return r(e)&&3==e.nodeType}},66005:function(e){"use strict";e.exports=function(e){var t=e||"",n=arguments.length;if(n>1)for(var r=1;r<n;r++){var o=arguments[r];o&&(t=(t?t+" ":"")+o)}return t}},7972:function(e){"use strict";var t=Object.prototype.hasOwnProperty;e.exports=function(e,n,r){if(!e)return null;var o={};for(var i in e)t.call(e,i)&&(o[i]=n.call(r,e[i],i,e));return o}},63786:function(e){"use strict";e.exports=function(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}}},45338:function(e){"use strict";e.exports=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")}},47617:function(e,t,n){"use strict";n(39e3),e.exports=n.g.setImmediate},64265:function(e,t,n){"use strict";var r=n(840);e.exports=r},2781:function(e){"use strict";var t=Array.prototype.slice,n=Object.prototype.toString;e.exports=function(e){var r=this;if("function"!==typeof r||"[object Function]"!==n.call(r))throw new TypeError("Function.prototype.bind called on incompatible "+r);for(var o,i=t.call(arguments,1),a=Math.max(0,r.length-i.length),s=[],l=0;l<a;l++)s.push("$"+l);if(o=Function("binder","return function ("+s.join(",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof o){var n=r.apply(this,i.concat(t.call(arguments)));return Object(n)===n?n:this}return r.apply(e,i.concat(t.call(arguments)))})),r.prototype){var c=function(){};c.prototype=r.prototype,o.prototype=new c,c.prototype=null}return o}},1199:function(e,t,n){"use strict";var r=n(2781);e.exports=Function.prototype.bind||r},46689:function(e,t,n){"use strict";var r=n(94156),o=n(16889)(),i=n(44680),a=i("Function.prototype.toString"),s=i("String.prototype.match"),l=/^class /,c=/\s*function\s+([^(\s]*)\s*/,u=Function.prototype;e.exports=function(){if(!function(e){if(r(e))return!1;if("function"!==typeof e)return!1;try{return!!s(a(e),l)}catch(t){}return!1}(this)&&!r(this))throw new TypeError("Function.prototype.name sham getter called on non-function");if(o)return this.name;if(this===u)return"";var e=a(this),t=s(e,c);return t&&t[1]}},61999:function(e,t,n){"use strict";var r=n(89959),o=n(59962),i=n(46689),a=n(13405),s=n(98482),l=o(i);r(l,{getPolyfill:a,implementation:i,shim:s}),e.exports=l},13405:function(e,t,n){"use strict";var r=n(46689);e.exports=function(){return r}},98482:function(e,t,n){"use strict";var r=n(89959).supportsDescriptors,o=n(16889)(),i=n(13405),a=Object.defineProperty,s=TypeError;e.exports=function(){var e=i();if(o)return e;if(!r)throw new s("Shimming Function.prototype.name support requires ES5 property descriptor support.");var t=Function.prototype;return a(t,"name",{configurable:!0,enumerable:!1,get:function(){var n=e.call(this);return this!==t&&a(this,"name",{configurable:!0,enumerable:!1,value:n,writable:!1}),n}}),e}},16889:function(e){"use strict";var t=function(){return"string"===typeof function(){}.name},n=Object.getOwnPropertyDescriptor;if(n)try{n([],"length")}catch(o){n=null}t.functionsHaveConfigurableNames=function(){if(!t()||!n)return!1;var e=n((function(){}),"name");return!!e&&!!e.configurable};var r=Function.prototype.bind;t.boundFunctionsHaveNames=function(){return t()&&"function"===typeof r&&""!==function(){}.bind().name},e.exports=t},28476:function(e,t,n){"use strict";var r,o=SyntaxError,i=Function,a=TypeError,s=function(e){try{return i('"use strict"; return ('+e+").constructor;")()}catch(t){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(E){l=null}var c=function(){throw new a},u=l?function(){try{return c}catch(e){try{return l(arguments,"callee").get}catch(t){return c}}}():c,d=n(95520)(),p=Object.getPrototypeOf||function(e){return e.__proto__},f={},h="undefined"===typeof Uint8Array?r:p(Uint8Array),b={"%AggregateError%":"undefined"===typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":d?p([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":f,"%AsyncGenerator%":f,"%AsyncGeneratorFunction%":f,"%AsyncIteratorPrototype%":f,"%Atomics%":"undefined"===typeof Atomics?r:Atomics,"%BigInt%":"undefined"===typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"===typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"===typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"===typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"===typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"===typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"===typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":f,"%Int8Array%":"undefined"===typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"===typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"===typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?p(p([][Symbol.iterator]())):r,"%JSON%":"object"===typeof JSON?JSON:r,"%Map%":"undefined"===typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&d?p((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"===typeof Promise?r:Promise,"%Proxy%":"undefined"===typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"===typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"===typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!==typeof Set&&d?p((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?p(""[Symbol.iterator]()):r,"%Symbol%":d?Symbol:r,"%SyntaxError%":o,"%ThrowTypeError%":u,"%TypedArray%":h,"%TypeError%":a,"%Uint8Array%":"undefined"===typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"===typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"===typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"===typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"===typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"===typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"===typeof WeakSet?r:WeakSet};try{null.error}catch(E){var A=p(p(E));b["%Error.prototype%"]=A}var m=function e(t){var n;if("%AsyncFunction%"===t)n=s("async function () {}");else if("%GeneratorFunction%"===t)n=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=s("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&(n=p(o.prototype))}return b[t]=n,n},g={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},v=n(1199),y=n(37838),M=v.call(Function.call,Array.prototype.concat),O=v.call(Function.apply,Array.prototype.splice),_=v.call(Function.call,String.prototype.replace),z=v.call(Function.call,String.prototype.slice),x=v.call(Function.call,RegExp.prototype.exec),w=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,C=/\\(\\)?/g,S=function(e,t){var n,r=e;if(y(g,r)&&(r="%"+(n=g[r])[0]+"%"),y(b,r)){var i=b[r];if(i===f&&(i=m(r)),"undefined"===typeof i&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:i}}throw new o("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!==typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!==typeof t)throw new a('"allowMissing" argument must be a boolean');if(null===x(/^%?[^%]*%?$/,e))throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=z(e,0,1),n=z(e,-1);if("%"===t&&"%"!==n)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new o("invalid intrinsic syntax, expected opening `%`");var r=[];return _(e,w,(function(e,t,n,o){r[r.length]=n?_(o,C,"$1"):t||e})),r}(e),r=n.length>0?n[0]:"",i=S("%"+r+"%",t),s=i.name,c=i.value,u=!1,d=i.alias;d&&(r=d[0],O(n,M([0,1],d)));for(var p=1,f=!0;p<n.length;p+=1){var h=n[p],A=z(h,0,1),m=z(h,-1);if(('"'===A||"'"===A||"`"===A||'"'===m||"'"===m||"`"===m)&&A!==m)throw new o("property names with quotes must have matching quotes");if("constructor"!==h&&f||(u=!0),y(b,s="%"+(r+="."+h)+"%"))c=b[s];else if(null!=c){if(!(h in c)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(l&&p+1>=n.length){var g=l(c,h);c=(f=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:c[h]}else f=y(c,h),c=c[h];f&&!u&&(b[s]=c)}}return c}},74072:function(e,t,n){"use strict";var r=n(89959),o=n(43156),i="__ global cache key __";"function"===typeof Symbol&&o(Symbol("foo"))&&"function"===typeof Symbol.for&&(i=Symbol.for(i));var a=function(){return!0},s=function(){if(!n.g[i]){var e={};e[i]={};var t={};t[i]=a,r(n.g,e,t)}return n.g[i]},l=s(),c=function(e){return o(e)?Symbol.prototype.valueOf.call(e):typeof e+" | "+String(e)},u=function(e){if(!function(e){return null===e||"object"!==typeof e&&"function"!==typeof e}(e))throw new TypeError("key must not be an object")},d={clear:function(){delete n.g[i],l=s()},delete:function(e){return u(e),delete l[c(e)],!d.has(e)},get:function(e){return u(e),l[c(e)]},has:function(e){return u(e),c(e)in l},set:function(e,t){u(e);var n=c(e),o={};o[n]=t;var i={};return i[n]=a,r(l,o,i),d.has(e)},setIfMissingThenGet:function(e,t){if(d.has(e))return d.get(e);var n=t();return d.set(e,n),n}};e.exports=d},56103:function(e,t,n){"use strict";var r=n(28476)("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch(o){r=null}e.exports=r},63197:function(e,t,n){var r;!function(o,i,a,s){"use strict";var l,c=["","webkit","Moz","MS","ms","o"],u=i.createElement("div"),d="function",p=Math.round,f=Math.abs,h=Date.now;function b(e,t,n){return setTimeout(O(e,n),t)}function A(e,t,n){return!!Array.isArray(e)&&(m(e,n[t],n),!0)}function m(e,t,n){var r;if(e)if(e.forEach)e.forEach(t,n);else if(e.length!==s)for(r=0;r<e.length;)t.call(n,e[r],r,e),r++;else for(r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r,e)}function g(e,t,n){var r="DEPRECATED METHOD: "+t+"\n"+n+" AT \n";return function(){var t=new Error("get-stack-trace"),n=t&&t.stack?t.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",i=o.console&&(o.console.warn||o.console.log);return i&&i.call(o.console,r,n),e.apply(this,arguments)}}l="function"!==typeof Object.assign?function(e){if(e===s||null===e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n<arguments.length;n++){var r=arguments[n];if(r!==s&&null!==r)for(var o in r)r.hasOwnProperty(o)&&(t[o]=r[o])}return t}:Object.assign;var v=g((function(e,t,n){for(var r=Object.keys(t),o=0;o<r.length;)(!n||n&&e[r[o]]===s)&&(e[r[o]]=t[r[o]]),o++;return e}),"extend","Use `assign`."),y=g((function(e,t){return v(e,t,!0)}),"merge","Use `assign`.");function M(e,t,n){var r,o=t.prototype;(r=e.prototype=Object.create(o)).constructor=e,r._super=o,n&&l(r,n)}function O(e,t){return function(){return e.apply(t,arguments)}}function _(e,t){return typeof e==d?e.apply(t&&t[0]||s,t):e}function z(e,t){return e===s?t:e}function x(e,t,n){m(E(t),(function(t){e.addEventListener(t,n,!1)}))}function w(e,t,n){m(E(t),(function(t){e.removeEventListener(t,n,!1)}))}function C(e,t){for(;e;){if(e==t)return!0;e=e.parentNode}return!1}function S(e,t){return e.indexOf(t)>-1}function E(e){return e.trim().split(/\s+/g)}function k(e,t,n){if(e.indexOf&&!n)return e.indexOf(t);for(var r=0;r<e.length;){if(n&&e[r][n]==t||!n&&e[r]===t)return r;r++}return-1}function D(e){return Array.prototype.slice.call(e,0)}function N(e,t,n){for(var r=[],o=[],i=0;i<e.length;){var a=t?e[i][t]:e[i];k(o,a)<0&&r.push(e[i]),o[i]=a,i++}return n&&(r=t?r.sort((function(e,n){return e[t]>n[t]})):r.sort()),r}function T(e,t){for(var n,r,o=t[0].toUpperCase()+t.slice(1),i=0;i<c.length;){if((r=(n=c[i])?n+o:t)in e)return r;i++}return s}var j=1;function B(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow||o}var L="ontouchstart"in o,R=T(o,"PointerEvent")!==s,q=L&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),P="touch",I="mouse",W=25,F=1,U=2,Z=4,H=8,$=1,V=2,X=4,Q=8,Y=16,G=V|X,K=Q|Y,J=G|K,ee=["x","y"],te=["clientX","clientY"];function ne(e,t){var n=this;this.manager=e,this.callback=t,this.element=e.element,this.target=e.options.inputTarget,this.domHandler=function(t){_(e.options.enable,[e])&&n.handler(t)},this.init()}function re(e,t,n){var r=n.pointers.length,o=n.changedPointers.length,i=t&F&&r-o===0,a=t&(Z|H)&&r-o===0;n.isFirst=!!i,n.isFinal=!!a,i&&(e.session={}),n.eventType=t,function(e,t){var n=e.session,r=t.pointers,o=r.length;n.firstInput||(n.firstInput=oe(t));o>1&&!n.firstMultiple?n.firstMultiple=oe(t):1===o&&(n.firstMultiple=!1);var i=n.firstInput,a=n.firstMultiple,l=a?a.center:i.center,c=t.center=ie(r);t.timeStamp=h(),t.deltaTime=t.timeStamp-i.timeStamp,t.angle=ce(l,c),t.distance=le(l,c),function(e,t){var n=t.center,r=e.offsetDelta||{},o=e.prevDelta||{},i=e.prevInput||{};t.eventType!==F&&i.eventType!==Z||(o=e.prevDelta={x:i.deltaX||0,y:i.deltaY||0},r=e.offsetDelta={x:n.x,y:n.y});t.deltaX=o.x+(n.x-r.x),t.deltaY=o.y+(n.y-r.y)}(n,t),t.offsetDirection=se(t.deltaX,t.deltaY);var u=ae(t.deltaTime,t.deltaX,t.deltaY);t.overallVelocityX=u.x,t.overallVelocityY=u.y,t.overallVelocity=f(u.x)>f(u.y)?u.x:u.y,t.scale=a?(d=a.pointers,p=r,le(p[0],p[1],te)/le(d[0],d[1],te)):1,t.rotation=a?function(e,t){return ce(t[1],t[0],te)+ce(e[1],e[0],te)}(a.pointers,r):0,t.maxPointers=n.prevInput?t.pointers.length>n.prevInput.maxPointers?t.pointers.length:n.prevInput.maxPointers:t.pointers.length,function(e,t){var n,r,o,i,a=e.lastInterval||t,l=t.timeStamp-a.timeStamp;if(t.eventType!=H&&(l>W||a.velocity===s)){var c=t.deltaX-a.deltaX,u=t.deltaY-a.deltaY,d=ae(l,c,u);r=d.x,o=d.y,n=f(d.x)>f(d.y)?d.x:d.y,i=se(c,u),e.lastInterval=t}else n=a.velocity,r=a.velocityX,o=a.velocityY,i=a.direction;t.velocity=n,t.velocityX=r,t.velocityY=o,t.direction=i}(n,t);var d,p;var b=e.element;C(t.srcEvent.target,b)&&(b=t.srcEvent.target);t.target=b}(e,n),e.emit("hammer.input",n),e.recognize(n),e.session.prevInput=n}function oe(e){for(var t=[],n=0;n<e.pointers.length;)t[n]={clientX:p(e.pointers[n].clientX),clientY:p(e.pointers[n].clientY)},n++;return{timeStamp:h(),pointers:t,center:ie(t),deltaX:e.deltaX,deltaY:e.deltaY}}function ie(e){var t=e.length;if(1===t)return{x:p(e[0].clientX),y:p(e[0].clientY)};for(var n=0,r=0,o=0;o<t;)n+=e[o].clientX,r+=e[o].clientY,o++;return{x:p(n/t),y:p(r/t)}}function ae(e,t,n){return{x:t/e||0,y:n/e||0}}function se(e,t){return e===t?$:f(e)>=f(t)?e<0?V:X:t<0?Q:Y}function le(e,t,n){n||(n=ee);var r=t[n[0]]-e[n[0]],o=t[n[1]]-e[n[1]];return Math.sqrt(r*r+o*o)}function ce(e,t,n){n||(n=ee);var r=t[n[0]]-e[n[0]],o=t[n[1]]-e[n[1]];return 180*Math.atan2(o,r)/Math.PI}ne.prototype={handler:function(){},init:function(){this.evEl&&x(this.element,this.evEl,this.domHandler),this.evTarget&&x(this.target,this.evTarget,this.domHandler),this.evWin&&x(B(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&w(this.element,this.evEl,this.domHandler),this.evTarget&&w(this.target,this.evTarget,this.domHandler),this.evWin&&w(B(this.element),this.evWin,this.domHandler)}};var ue={mousedown:F,mousemove:U,mouseup:Z},de="mousedown",pe="mousemove mouseup";function fe(){this.evEl=de,this.evWin=pe,this.pressed=!1,ne.apply(this,arguments)}M(fe,ne,{handler:function(e){var t=ue[e.type];t&F&&0===e.button&&(this.pressed=!0),t&U&&1!==e.which&&(t=Z),this.pressed&&(t&Z&&(this.pressed=!1),this.callback(this.manager,t,{pointers:[e],changedPointers:[e],pointerType:I,srcEvent:e}))}});var he={pointerdown:F,pointermove:U,pointerup:Z,pointercancel:H,pointerout:H},be={2:P,3:"pen",4:I,5:"kinect"},Ae="pointerdown",me="pointermove pointerup pointercancel";function ge(){this.evEl=Ae,this.evWin=me,ne.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}o.MSPointerEvent&&!o.PointerEvent&&(Ae="MSPointerDown",me="MSPointerMove MSPointerUp MSPointerCancel"),M(ge,ne,{handler:function(e){var t=this.store,n=!1,r=e.type.toLowerCase().replace("ms",""),o=he[r],i=be[e.pointerType]||e.pointerType,a=i==P,s=k(t,e.pointerId,"pointerId");o&F&&(0===e.button||a)?s<0&&(t.push(e),s=t.length-1):o&(Z|H)&&(n=!0),s<0||(t[s]=e,this.callback(this.manager,o,{pointers:t,changedPointers:[e],pointerType:i,srcEvent:e}),n&&t.splice(s,1))}});var ve={touchstart:F,touchmove:U,touchend:Z,touchcancel:H};function ye(){this.evTarget="touchstart",this.evWin="touchstart touchmove touchend touchcancel",this.started=!1,ne.apply(this,arguments)}function Me(e,t){var n=D(e.touches),r=D(e.changedTouches);return t&(Z|H)&&(n=N(n.concat(r),"identifier",!0)),[n,r]}M(ye,ne,{handler:function(e){var t=ve[e.type];if(t===F&&(this.started=!0),this.started){var n=Me.call(this,e,t);t&(Z|H)&&n[0].length-n[1].length===0&&(this.started=!1),this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:P,srcEvent:e})}}});var Oe={touchstart:F,touchmove:U,touchend:Z,touchcancel:H},_e="touchstart touchmove touchend touchcancel";function ze(){this.evTarget=_e,this.targetIds={},ne.apply(this,arguments)}function xe(e,t){var n=D(e.touches),r=this.targetIds;if(t&(F|U)&&1===n.length)return r[n[0].identifier]=!0,[n,n];var o,i,a=D(e.changedTouches),s=[],l=this.target;if(i=n.filter((function(e){return C(e.target,l)})),t===F)for(o=0;o<i.length;)r[i[o].identifier]=!0,o++;for(o=0;o<a.length;)r[a[o].identifier]&&s.push(a[o]),t&(Z|H)&&delete r[a[o].identifier],o++;return s.length?[N(i.concat(s),"identifier",!0),s]:void 0}M(ze,ne,{handler:function(e){var t=Oe[e.type],n=xe.call(this,e,t);n&&this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:P,srcEvent:e})}});var we=2500;function Ce(){ne.apply(this,arguments);var e=O(this.handler,this);this.touch=new ze(this.manager,e),this.mouse=new fe(this.manager,e),this.primaryTouch=null,this.lastTouches=[]}function Se(e,t){e&F?(this.primaryTouch=t.changedPointers[0].identifier,Ee.call(this,t)):e&(Z|H)&&Ee.call(this,t)}function Ee(e){var t=e.changedPointers[0];if(t.identifier===this.primaryTouch){var n={x:t.clientX,y:t.clientY};this.lastTouches.push(n);var r=this.lastTouches;setTimeout((function(){var e=r.indexOf(n);e>-1&&r.splice(e,1)}),we)}}function ke(e){for(var t=e.srcEvent.clientX,n=e.srcEvent.clientY,r=0;r<this.lastTouches.length;r++){var o=this.lastTouches[r],i=Math.abs(t-o.x),a=Math.abs(n-o.y);if(i<=25&&a<=25)return!0}return!1}M(Ce,ne,{handler:function(e,t,n){var r=n.pointerType==P,o=n.pointerType==I;if(!(o&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if(r)Se.call(this,t,n);else if(o&&ke.call(this,n))return;this.callback(e,t,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var De=T(u.style,"touchAction"),Ne=De!==s,Te="compute",je="auto",Be="manipulation",Le="none",Re="pan-x",qe="pan-y",Pe=function(){if(!Ne)return!1;var e={},t=o.CSS&&o.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(n){e[n]=!t||o.CSS.supports("touch-action",n)})),e}();function Ie(e,t){this.manager=e,this.set(t)}Ie.prototype={set:function(e){e==Te&&(e=this.compute()),Ne&&this.manager.element.style&&Pe[e]&&(this.manager.element.style[De]=e),this.actions=e.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var e=[];return m(this.manager.recognizers,(function(t){_(t.options.enable,[t])&&(e=e.concat(t.getTouchAction()))})),function(e){if(S(e,Le))return Le;var t=S(e,Re),n=S(e,qe);if(t&&n)return Le;if(t||n)return t?Re:qe;if(S(e,Be))return Be;return je}(e.join(" "))},preventDefaults:function(e){var t=e.srcEvent,n=e.offsetDirection;if(this.manager.session.prevented)t.preventDefault();else{var r=this.actions,o=S(r,Le)&&!Pe[Le],i=S(r,qe)&&!Pe[qe],a=S(r,Re)&&!Pe[Re];if(o){var s=1===e.pointers.length,l=e.distance<2,c=e.deltaTime<250;if(s&&l&&c)return}if(!a||!i)return o||i&&n&G||a&&n&K?this.preventSrc(t):void 0}},preventSrc:function(e){this.manager.session.prevented=!0,e.preventDefault()}};var We=1,Fe=2,Ue=4,Ze=8,He=Ze,$e=16,Ve=32;function Xe(e){this.options=l({},this.defaults,e||{}),this.id=j++,this.manager=null,this.options.enable=z(this.options.enable,!0),this.state=We,this.simultaneous={},this.requireFail=[]}function Qe(e){return e&$e?"cancel":e&Ze?"end":e&Ue?"move":e&Fe?"start":""}function Ye(e){return e==Y?"down":e==Q?"up":e==V?"left":e==X?"right":""}function Ge(e,t){var n=t.manager;return n?n.get(e):e}function Ke(){Xe.apply(this,arguments)}function Je(){Ke.apply(this,arguments),this.pX=null,this.pY=null}function et(){Ke.apply(this,arguments)}function tt(){Xe.apply(this,arguments),this._timer=null,this._input=null}function nt(){Ke.apply(this,arguments)}function rt(){Ke.apply(this,arguments)}function ot(){Xe.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function it(e,t){return(t=t||{}).recognizers=z(t.recognizers,it.defaults.preset),new at(e,t)}Xe.prototype={defaults:{},set:function(e){return l(this.options,e),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(e){if(A(e,"recognizeWith",this))return this;var t=this.simultaneous;return t[(e=Ge(e,this)).id]||(t[e.id]=e,e.recognizeWith(this)),this},dropRecognizeWith:function(e){return A(e,"dropRecognizeWith",this)||(e=Ge(e,this),delete this.simultaneous[e.id]),this},requireFailure:function(e){if(A(e,"requireFailure",this))return this;var t=this.requireFail;return-1===k(t,e=Ge(e,this))&&(t.push(e),e.requireFailure(this)),this},dropRequireFailure:function(e){if(A(e,"dropRequireFailure",this))return this;e=Ge(e,this);var t=k(this.requireFail,e);return t>-1&&this.requireFail.splice(t,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(e){return!!this.simultaneous[e.id]},emit:function(e){var t=this,n=this.state;function r(n){t.manager.emit(n,e)}n<Ze&&r(t.options.event+Qe(n)),r(t.options.event),e.additionalEvent&&r(e.additionalEvent),n>=Ze&&r(t.options.event+Qe(n))},tryEmit:function(e){if(this.canEmit())return this.emit(e);this.state=Ve},canEmit:function(){for(var e=0;e<this.requireFail.length;){if(!(this.requireFail[e].state&(Ve|We)))return!1;e++}return!0},recognize:function(e){var t=l({},e);if(!_(this.options.enable,[this,t]))return this.reset(),void(this.state=Ve);this.state&(He|$e|Ve)&&(this.state=We),this.state=this.process(t),this.state&(Fe|Ue|Ze|$e)&&this.tryEmit(t)},process:function(e){},getTouchAction:function(){},reset:function(){}},M(Ke,Xe,{defaults:{pointers:1},attrTest:function(e){var t=this.options.pointers;return 0===t||e.pointers.length===t},process:function(e){var t=this.state,n=e.eventType,r=t&(Fe|Ue),o=this.attrTest(e);return r&&(n&H||!o)?t|$e:r||o?n&Z?t|Ze:t&Fe?t|Ue:Fe:Ve}}),M(Je,Ke,{defaults:{event:"pan",threshold:10,pointers:1,direction:J},getTouchAction:function(){var e=this.options.direction,t=[];return e&G&&t.push(qe),e&K&&t.push(Re),t},directionTest:function(e){var t=this.options,n=!0,r=e.distance,o=e.direction,i=e.deltaX,a=e.deltaY;return o&t.direction||(t.direction&G?(o=0===i?$:i<0?V:X,n=i!=this.pX,r=Math.abs(e.deltaX)):(o=0===a?$:a<0?Q:Y,n=a!=this.pY,r=Math.abs(e.deltaY))),e.direction=o,n&&r>t.threshold&&o&t.direction},attrTest:function(e){return Ke.prototype.attrTest.call(this,e)&&(this.state&Fe||!(this.state&Fe)&&this.directionTest(e))},emit:function(e){this.pX=e.deltaX,this.pY=e.deltaY;var t=Ye(e.direction);t&&(e.additionalEvent=this.options.event+t),this._super.emit.call(this,e)}}),M(et,Ke,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Le]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.scale-1)>this.options.threshold||this.state&Fe)},emit:function(e){if(1!==e.scale){var t=e.scale<1?"in":"out";e.additionalEvent=this.options.event+t}this._super.emit.call(this,e)}}),M(tt,Xe,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[je]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,r=e.distance<t.threshold,o=e.deltaTime>t.time;if(this._input=e,!r||!n||e.eventType&(Z|H)&&!o)this.reset();else if(e.eventType&F)this.reset(),this._timer=b((function(){this.state=He,this.tryEmit()}),t.time,this);else if(e.eventType&Z)return He;return Ve},reset:function(){clearTimeout(this._timer)},emit:function(e){this.state===He&&(e&&e.eventType&Z?this.manager.emit(this.options.event+"up",e):(this._input.timeStamp=h(),this.manager.emit(this.options.event,this._input)))}}),M(nt,Ke,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Le]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.rotation)>this.options.threshold||this.state&Fe)}}),M(rt,Ke,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:G|K,pointers:1},getTouchAction:function(){return Je.prototype.getTouchAction.call(this)},attrTest:function(e){var t,n=this.options.direction;return n&(G|K)?t=e.overallVelocity:n&G?t=e.overallVelocityX:n&K&&(t=e.overallVelocityY),this._super.attrTest.call(this,e)&&n&e.offsetDirection&&e.distance>this.options.threshold&&e.maxPointers==this.options.pointers&&f(t)>this.options.velocity&&e.eventType&Z},emit:function(e){var t=Ye(e.offsetDirection);t&&this.manager.emit(this.options.event+t,e),this.manager.emit(this.options.event,e)}}),M(ot,Xe,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Be]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,r=e.distance<t.threshold,o=e.deltaTime<t.time;if(this.reset(),e.eventType&F&&0===this.count)return this.failTimeout();if(r&&o&&n){if(e.eventType!=Z)return this.failTimeout();var i=!this.pTime||e.timeStamp-this.pTime<t.interval,a=!this.pCenter||le(this.pCenter,e.center)<t.posThreshold;if(this.pTime=e.timeStamp,this.pCenter=e.center,a&&i?this.count+=1:this.count=1,this._input=e,0===this.count%t.taps)return this.hasRequireFailures()?(this._timer=b((function(){this.state=He,this.tryEmit()}),t.interval,this),Fe):He}return Ve},failTimeout:function(){return this._timer=b((function(){this.state=Ve}),this.options.interval,this),Ve},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==He&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),it.VERSION="2.0.7",it.defaults={domEvents:!1,touchAction:Te,enable:!0,inputTarget:null,inputClass:null,preset:[[nt,{enable:!1}],[et,{enable:!1},["rotate"]],[rt,{direction:G}],[Je,{direction:G},["swipe"]],[ot],[ot,{event:"doubletap",taps:2},["tap"]],[tt]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};function at(e,t){var n;this.options=l({},it.defaults,t||{}),this.options.inputTarget=this.options.inputTarget||e,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=e,this.input=new((n=this).options.inputClass||(R?ge:q?ze:L?Ce:fe))(n,re),this.touchAction=new Ie(this,this.options.touchAction),st(this,!0),m(this.options.recognizers,(function(e){var t=this.add(new e[0](e[1]));e[2]&&t.recognizeWith(e[2]),e[3]&&t.requireFailure(e[3])}),this)}function st(e,t){var n,r=e.element;r.style&&(m(e.options.cssProps,(function(o,i){n=T(r.style,i),t?(e.oldCssProps[n]=r.style[n],r.style[n]=o):r.style[n]=e.oldCssProps[n]||""})),t||(e.oldCssProps={}))}at.prototype={set:function(e){return l(this.options,e),e.touchAction&&this.touchAction.update(),e.inputTarget&&(this.input.destroy(),this.input.target=e.inputTarget,this.input.init()),this},stop:function(e){this.session.stopped=e?2:1},recognize:function(e){var t=this.session;if(!t.stopped){var n;this.touchAction.preventDefaults(e);var r=this.recognizers,o=t.curRecognizer;(!o||o&&o.state&He)&&(o=t.curRecognizer=null);for(var i=0;i<r.length;)n=r[i],2===t.stopped||o&&n!=o&&!n.canRecognizeWith(o)?n.reset():n.recognize(e),!o&&n.state&(Fe|Ue|Ze)&&(o=t.curRecognizer=n),i++}},get:function(e){if(e instanceof Xe)return e;for(var t=this.recognizers,n=0;n<t.length;n++)if(t[n].options.event==e)return t[n];return null},add:function(e){if(A(e,"add",this))return this;var t=this.get(e.options.event);return t&&this.remove(t),this.recognizers.push(e),e.manager=this,this.touchAction.update(),e},remove:function(e){if(A(e,"remove",this))return this;if(e=this.get(e)){var t=this.recognizers,n=k(t,e);-1!==n&&(t.splice(n,1),this.touchAction.update())}return this},on:function(e,t){if(e!==s&&t!==s){var n=this.handlers;return m(E(e),(function(e){n[e]=n[e]||[],n[e].push(t)})),this}},off:function(e,t){if(e!==s){var n=this.handlers;return m(E(e),(function(e){t?n[e]&&n[e].splice(k(n[e],t),1):delete n[e]})),this}},emit:function(e,t){this.options.domEvents&&function(e,t){var n=i.createEvent("Event");n.initEvent(e,!0,!0),n.gesture=t,t.target.dispatchEvent(n)}(e,t);var n=this.handlers[e]&&this.handlers[e].slice();if(n&&n.length){t.type=e,t.preventDefault=function(){t.srcEvent.preventDefault()};for(var r=0;r<n.length;)n[r](t),r++}},destroy:function(){this.element&&st(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},l(it,{INPUT_START:F,INPUT_MOVE:U,INPUT_END:Z,INPUT_CANCEL:H,STATE_POSSIBLE:We,STATE_BEGAN:Fe,STATE_CHANGED:Ue,STATE_ENDED:Ze,STATE_RECOGNIZED:He,STATE_CANCELLED:$e,STATE_FAILED:Ve,DIRECTION_NONE:$,DIRECTION_LEFT:V,DIRECTION_RIGHT:X,DIRECTION_UP:Q,DIRECTION_DOWN:Y,DIRECTION_HORIZONTAL:G,DIRECTION_VERTICAL:K,DIRECTION_ALL:J,Manager:at,Input:ne,TouchAction:Ie,TouchInput:ze,MouseInput:fe,PointerEventInput:ge,TouchMouseInput:Ce,SingleTouchInput:ye,Recognizer:Xe,AttrRecognizer:Ke,Tap:ot,Pan:Je,Swipe:rt,Pinch:et,Rotate:nt,Press:tt,on:x,off:w,each:m,merge:y,extend:v,assign:l,inherit:M,bindFn:O,prefixed:T}),("undefined"!==typeof o?o:"undefined"!==typeof self?self:{}).Hammer=it,(r=function(){return it}.call(t,n,t,e))===s||(e.exports=r)}(window,document)},82926:function(e,t,n){"use strict";var r=n(28476)("%Object.defineProperty%",!0),o=function(){if(r)try{return r({},"a",{value:1}),!0}catch(e){return!1}return!1};o.hasArrayLengthDefineBug=function(){if(!o())return null;try{return 1!==r([],"length",{value:1}).length}catch(e){return!0}},e.exports=o},87593:function(e){"use strict";var t={foo:{}},n=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!({__proto__:null}instanceof n)}},95520:function(e,t,n){"use strict";var r="undefined"!==typeof Symbol&&Symbol,o=n(80541);e.exports=function(){return"function"===typeof r&&("function"===typeof Symbol&&("symbol"===typeof r("foo")&&("symbol"===typeof Symbol("bar")&&o())))}},80541:function(e){"use strict";e.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"===typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"===typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},48857:function(e,t,n){"use strict";var r=n(80541);e.exports=function(){return r()&&!!Symbol.toStringTag}},37838:function(e,t,n){"use strict";var r=n(1199);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},67861:function(e,t,n){"use strict";var r=n(89456),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var o=f(n);o&&o!==h&&e(t,o,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=l(t),b=l(n),A=0;A<a.length;++A){var m=a[A];if(!i[m]&&(!r||!r[m])&&(!b||!b[m])&&(!s||!s[m])){var g=p(n,m);try{c(t,m,g)}catch(v){}}}}return t}},20229:function(e,t){"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,b=n?Symbol.for("react.memo"):60115,A=n?Symbol.for("react.lazy"):60116,m=n?Symbol.for("react.block"):60121,g=n?Symbol.for("react.fundamental"):60117,v=n?Symbol.for("react.responder"):60118,y=n?Symbol.for("react.scope"):60119;function M(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case i:case s:case a:case f:return e;default:switch(e=e&&e.$$typeof){case c:case p:case A:case b:case l:return e;default:return t}}case o:return t}}}function O(e){return M(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=p,t.Fragment=i,t.Lazy=A,t.Memo=b,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=f,t.isAsyncMode=function(e){return O(e)||M(e)===u},t.isConcurrentMode=O,t.isContextConsumer=function(e){return M(e)===c},t.isContextProvider=function(e){return M(e)===l},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return M(e)===p},t.isFragment=function(e){return M(e)===i},t.isLazy=function(e){return M(e)===A},t.isMemo=function(e){return M(e)===b},t.isPortal=function(e){return M(e)===o},t.isProfiler=function(e){return M(e)===s},t.isStrictMode=function(e){return M(e)===a},t.isSuspense=function(e){return M(e)===f},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===i||e===d||e===s||e===a||e===f||e===h||"object"===typeof e&&null!==e&&(e.$$typeof===A||e.$$typeof===b||e.$$typeof===l||e.$$typeof===c||e.$$typeof===p||e.$$typeof===g||e.$$typeof===v||e.$$typeof===y||e.$$typeof===m)},t.typeOf=M},89456:function(e,t,n){"use strict";e.exports=n(20229)},67282:function(e,t,n){window,e.exports=function(e,t){return o={},n.m=r=[function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){e.exports=n(3)},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(0),i=function(e){var t,n=null;return document.implementation&&document.implementation.createHTMLDocument&&((t=document.implementation.createHTMLDocument("foo")).documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n},a=function(e,t,n){var r,i=e.textContent;return""===i.trim()?{chunk:(r=n,{text:" ",inlines:[new o.OrderedSet],entities:[r],blocks:[]})}:{chunk:{text:i,inlines:Array(i.length).fill(t),entities:Array(i.length).fill(n),blocks:[]}}},s=function(){return{text:"\n",inlines:[new o.OrderedSet],entities:new Array(1),blocks:[]}},l=function(){return{text:"",inlines:[],entities:[],blocks:[]}},c=function(e,t){return{text:"",inlines:[],entities:[],blocks:[{type:e,depth:0,data:t||new o.Map({})}]}},u=function(e,t,n){return{text:"\r",inlines:[],entities:[],blocks:[{type:e,depth:Math.max(0,Math.min(4,t)),data:n||new o.Map({})}]}},d=function(e){return{text:"\r ",inlines:[new o.OrderedSet],entities:[e],blocks:[{type:"atomic",depth:0,data:new o.Map({})}]}},p=function(e,t){return{text:e.text+t.text,inlines:e.inlines.concat(t.inlines),entities:e.entities.concat(t.entities),blocks:e.blocks.concat(t.blocks)}},f=new o.Map({"header-one":{element:"h1"},"header-two":{element:"h2"},"header-three":{element:"h3"},"header-four":{element:"h4"},"header-five":{element:"h5"},"header-six":{element:"h6"},"unordered-list-item":{element:"li",wrapper:"ul"},"ordered-list-item":{element:"li",wrapper:"ol"},blockquote:{element:"blockquote"},code:{element:"pre"},atomic:{element:"figure"},unstyled:{element:"p",aliasedElements:["div"]}}),h={code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",strong:"BOLD",ins:"UNDERLINE",sub:"SUBSCRIPT",sup:"SUPERSCRIPT"};function b(e){return e.style.textAlign?new o.Map({"text-align":e.style.textAlign}):e.style.marginLeft?new o.Map({"margin-left":e.style.marginLeft}):void 0}var A=function(e){var t=void 0;if(e instanceof HTMLAnchorElement){var n={};t=e.dataset&&void 0!==e.dataset.mention?(n.url=e.href,n.text=e.innerHTML,n.value=e.dataset.value,r.Entity.__create("MENTION","IMMUTABLE",n)):(n.url=e.getAttribute&&e.getAttribute("href")||e.href,n.title=e.innerHTML,n.targetOption=e.target,r.Entity.__create("LINK","MUTABLE",n))}return t};n.d(t,"default",(function(){return M}));var m=" ",g=new RegExp("&nbsp;","g"),v=!0;function y(e,t,n,o,i,m){var g=e.nodeName.toLowerCase();if(m){var M=m(g,e);if(M){var O=r.Entity.__create(M.type,M.mutability,M.data||{});return{chunk:d(O)}}}if("#text"===g&&"\n"!==e.textContent)return a(e,t,i);if("br"===g)return{chunk:s()};if("img"===g&&e instanceof HTMLImageElement){var _={};_.src=e.getAttribute&&e.getAttribute("src")||e.src,_.alt=e.alt,_.height=e.style.height,_.width=e.style.width,e.style.float&&(_.alignment=e.style.float);var z=r.Entity.__create("IMAGE","MUTABLE",_);return{chunk:d(z)}}if("video"===g&&e instanceof HTMLVideoElement){var x={};x.src=e.getAttribute&&e.getAttribute("src")||e.src,x.alt=e.alt,x.height=e.style.height,x.width=e.style.width,e.style.float&&(x.alignment=e.style.float);var w=r.Entity.__create("VIDEO","MUTABLE",x);return{chunk:d(w)}}if("iframe"===g&&e instanceof HTMLIFrameElement){var C={};C.src=e.getAttribute&&e.getAttribute("src")||e.src,C.height=e.height,C.width=e.width;var S=r.Entity.__create("EMBEDDED_LINK","MUTABLE",C);return{chunk:d(S)}}var E,k=function(e,t){var n=f.filter((function(n){return n.element===e&&(!n.wrapper||n.wrapper===t)||n.wrapper===e||n.aliasedElements&&-1<n.aliasedElements.indexOf(e)})).keySeq().toSet().toArray();if(1===n.length)return n[0]}(g,o);k&&("ul"===g||"ol"===g?(o=g,n+=1):("unordered-list-item"!==k&&"ordered-list-item"!==k&&(o="",n=-1),v?(E=c(k,b(e)),v=!1):E=u(k,n,b(e)))),E=E||l(),t=function(e,t,n){var r,o=h[e];if(o)r=n.add(o).toOrderedSet();else if(t instanceof HTMLElement){var i=t;r=(r=n).withMutations((function(e){var t=i.style.color,n=i.style.backgroundColor,r=i.style.fontSize,o=i.style.fontFamily.replace(/^"|"$/g,""),a=i.style.fontWeight,s=i.style.textDecoration,l=i.style.fontStyle;t&&e.add("color-".concat(t.replace(/ /g,""))),n&&e.add("bgcolor-".concat(n.replace(/ /g,""))),r&&e.add("fontsize-".concat(r.replace(/px$/g,""))),o&&e.add("fontfamily-".concat(o)),"bold"===a&&e.add(h.strong),"underline"===s&&e.add(h.ins),"italic"===l&&e.add(h.em)})).toOrderedSet()}return r}(g,e,t);for(var D=e.firstChild;D;){var N=y(D,t,n,o,A(D)||i,m).chunk;E=p(E,N),D=D.nextSibling}return{chunk:E}}function M(e,t){var n,a,s,l=(n=t,a=e.trim().replace(g,m),(s=i(a))?(v=!0,{chunk:y(s,new o.OrderedSet,-1,"",void 0,n).chunk}):null);if(l){var c=l.chunk,u=new o.OrderedMap({});c.entities&&c.entities.forEach((function(e){e&&(u=u.set(e,r.Entity.__get(e)))}));var d=0;return{contentBlocks:c.text.split("\r").map((function(e,t){var n=d+e.length,i=c&&c.inlines.slice(d,n),a=c&&c.entities.slice(d,n),s=new o.List(i.map((function(e,t){var n={style:e,entity:null};return a[t]&&(n.entity=a[t]),r.CharacterMetadata.create(n)})));return d=n,new r.ContentBlock({key:Object(r.genKey)(),type:c&&c.blocks[t]&&c.blocks[t].type||"unstyled",depth:c&&c.blocks[t]&&c.blocks[t].depth,data:c&&c.blocks[t]&&c.blocks[t].data||new o.Map({}),text:e,characterList:s})})),entityMap:u}}return null}}],n.c=o,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=2);function n(e){if(o[e])return o[e].exports;var t=o[e]={i:e,l:!1,exports:{}};return r[e].call(t.exports,t,t.exports,n),t.l=!0,t.exports}var r,o}(n(15986),n(52500))},1905:function(e){e.exports=function(){"use strict";var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};function t(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}var n=function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)};function r(e,t,n,r){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function a(e){try{l(r.next(e))}catch(Rt){i(Rt)}}function s(e){try{l(r.throw(e))}catch(Rt){i(Rt)}}function l(e){e.done?n(e.value):o(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))}function o(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(e){return function(t){return l([e,t])}}function l(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(Rt){i=[6,Rt],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}}function i(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||t)}for(var a=function(){function e(e,t,n,r){this.left=e,this.top=t,this.width=n,this.height=r}return e.prototype.add=function(t,n,r,o){return new e(this.left+t,this.top+n,this.width+r,this.height+o)},e.fromClientRect=function(t,n){return new e(n.left+t.windowBounds.left,n.top+t.windowBounds.top,n.width,n.height)},e.fromDOMRectList=function(t,n){var r=Array.from(n).find((function(e){return 0!==e.width}));return r?new e(r.left+t.windowBounds.left,r.top+t.windowBounds.top,r.width,r.height):e.EMPTY},e.EMPTY=new e(0,0,0,0),e}(),s=function(e,t){return a.fromClientRect(e,t.getBoundingClientRect())},l=function(e){var t=e.body,n=e.documentElement;if(!t||!n)throw new Error("Unable to get document size");var r=Math.max(Math.max(t.scrollWidth,n.scrollWidth),Math.max(t.offsetWidth,n.offsetWidth),Math.max(t.clientWidth,n.clientWidth)),o=Math.max(Math.max(t.scrollHeight,n.scrollHeight),Math.max(t.offsetHeight,n.offsetHeight),Math.max(t.clientHeight,n.clientHeight));return new a(0,0,r,o)},c=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=e.charCodeAt(n++);56320===(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),n--)}else t.push(o)}return t},u=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var n=e.length;if(!n)return"";for(var r=[],o=-1,i="";++o<n;){var a=e[o];a<=65535?r.push(a):(a-=65536,r.push(55296+(a>>10),a%1024+56320)),(o+1===n||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p="undefined"===typeof Uint8Array?[]:new Uint8Array(256),f=0;f<d.length;f++)p[d.charCodeAt(f)]=f;for(var h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",b="undefined"===typeof Uint8Array?[]:new Uint8Array(256),A=0;A<h.length;A++)b[h.charCodeAt(A)]=A;for(var m=function(e){var t,n,r,o,i,a=.75*e.length,s=e.length,l=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);var c="undefined"!==typeof ArrayBuffer&&"undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint8Array.prototype.slice?new ArrayBuffer(a):new Array(a),u=Array.isArray(c)?c:new Uint8Array(c);for(t=0;t<s;t+=4)n=b[e.charCodeAt(t)],r=b[e.charCodeAt(t+1)],o=b[e.charCodeAt(t+2)],i=b[e.charCodeAt(t+3)],u[l++]=n<<2|r>>4,u[l++]=(15&r)<<4|o>>2,u[l++]=(3&o)<<6|63&i;return c},g=function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n.push(e[r+1]<<8|e[r]);return n},v=function(e){for(var t=e.length,n=[],r=0;r<t;r+=4)n.push(e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]);return n},y=5,M=11,O=2,_=65536>>y,z=(1<<y)-1,x=_+(1024>>y)+32,w=65536>>M,C=(1<<M-y)-1,S=function(e,t,n){return e.slice?e.slice(t,n):new Uint16Array(Array.prototype.slice.call(e,t,n))},E=function(e,t,n){return e.slice?e.slice(t,n):new Uint32Array(Array.prototype.slice.call(e,t,n))},k=function(e,t){var n=m(e),r=Array.isArray(n)?v(n):new Uint32Array(n),o=Array.isArray(n)?g(n):new Uint16Array(n),i=24,a=S(o,i/2,r[4]/2),s=2===r[5]?S(o,(i+r[4])/2):E(r,Math.ceil((i+r[4])/4));return new D(r[0],r[1],r[2],r[3],a,s)},D=function(){function e(e,t,n,r,o,i){this.initialValue=e,this.errorValue=t,this.highStart=n,this.highValueIndex=r,this.index=o,this.data=i}return e.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=((t=this.index[e>>y])<<O)+(e&z),this.data[t];if(e<=65535)return t=((t=this.index[_+(e-55296>>y)])<<O)+(e&z),this.data[t];if(e<this.highStart)return t=x-w+(e>>M),t=this.index[t],t+=e>>y&C,t=((t=this.index[t])<<O)+(e&z),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),N="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",T="undefined"===typeof Uint8Array?[]:new Uint8Array(256),j=0;j<N.length;j++)T[N.charCodeAt(j)]=j;var B=50,L=1,R=2,q=3,P=4,I=5,W=7,F=8,U=9,Z=10,H=11,$=12,V=13,X=14,Q=15,Y=16,G=17,K=18,J=19,ee=20,te=21,ne=22,re=23,oe=24,ie=25,ae=26,se=27,le=28,ce=29,ue=30,de=31,pe=32,fe=33,he=34,be=35,Ae=36,me=37,ge=38,ve=39,ye=40,Me=41,Oe=42,_e=43,ze=[9001,65288],xe="!",we="\xd7",Ce="\xf7",Se=k("KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA=="),Ee=[ue,Ae],ke=[L,R,q,I],De=[Z,F],Ne=[se,ae],Te=ke.concat(De),je=[ge,ve,ye,he,be],Be=[Q,V],Le=function(e,t){void 0===t&&(t="strict");var n=[],r=[],o=[];return e.forEach((function(e,i){var a=Se.get(e);if(a>B?(o.push(!0),a-=B):o.push(!1),-1!==["normal","auto","loose"].indexOf(t)&&-1!==[8208,8211,12316,12448].indexOf(e))return r.push(i),n.push(Y);if(a===P||a===H){if(0===i)return r.push(i),n.push(ue);var s=n[i-1];return-1===Te.indexOf(s)?(r.push(r[i-1]),n.push(s)):(r.push(i),n.push(ue))}return r.push(i),a===de?n.push("strict"===t?te:me):a===Oe||a===ce?n.push(ue):a===_e?e>=131072&&e<=196605||e>=196608&&e<=262141?n.push(me):n.push(ue):void n.push(a)})),[r,n,o]},Re=function(e,t,n,r){var o=r[n];if(Array.isArray(e)?-1!==e.indexOf(o):e===o)for(var i=n;i<=r.length;){if((l=r[++i])===t)return!0;if(l!==Z)break}if(o===Z)for(i=n;i>0;){var a=r[--i];if(Array.isArray(e)?-1!==e.indexOf(a):e===a)for(var s=n;s<=r.length;){var l;if((l=r[++s])===t)return!0;if(l!==Z)break}if(a!==Z)break}return!1},qe=function(e,t){for(var n=e;n>=0;){var r=t[n];if(r!==Z)return r;n--}return 0},Pe=function(e,t,n,r,o){if(0===n[r])return we;var i=r-1;if(Array.isArray(o)&&!0===o[i])return we;var a=i-1,s=i+1,l=t[i],c=a>=0?t[a]:0,u=t[s];if(l===R&&u===q)return we;if(-1!==ke.indexOf(l))return xe;if(-1!==ke.indexOf(u))return we;if(-1!==De.indexOf(u))return we;if(qe(i,t)===F)return Ce;if(Se.get(e[i])===H)return we;if((l===pe||l===fe)&&Se.get(e[s])===H)return we;if(l===W||u===W)return we;if(l===U)return we;if(-1===[Z,V,Q].indexOf(l)&&u===U)return we;if(-1!==[G,K,J,oe,le].indexOf(u))return we;if(qe(i,t)===ne)return we;if(Re(re,ne,i,t))return we;if(Re([G,K],te,i,t))return we;if(Re($,$,i,t))return we;if(l===Z)return Ce;if(l===re||u===re)return we;if(u===Y||l===Y)return Ce;if(-1!==[V,Q,te].indexOf(u)||l===X)return we;if(c===Ae&&-1!==Be.indexOf(l))return we;if(l===le&&u===Ae)return we;if(u===ee)return we;if(-1!==Ee.indexOf(u)&&l===ie||-1!==Ee.indexOf(l)&&u===ie)return we;if(l===se&&-1!==[me,pe,fe].indexOf(u)||-1!==[me,pe,fe].indexOf(l)&&u===ae)return we;if(-1!==Ee.indexOf(l)&&-1!==Ne.indexOf(u)||-1!==Ne.indexOf(l)&&-1!==Ee.indexOf(u))return we;if(-1!==[se,ae].indexOf(l)&&(u===ie||-1!==[ne,Q].indexOf(u)&&t[s+1]===ie)||-1!==[ne,Q].indexOf(l)&&u===ie||l===ie&&-1!==[ie,le,oe].indexOf(u))return we;if(-1!==[ie,le,oe,G,K].indexOf(u))for(var d=i;d>=0;){if((p=t[d])===ie)return we;if(-1===[le,oe].indexOf(p))break;d--}if(-1!==[se,ae].indexOf(u))for(d=-1!==[G,K].indexOf(l)?a:i;d>=0;){var p;if((p=t[d])===ie)return we;if(-1===[le,oe].indexOf(p))break;d--}if(ge===l&&-1!==[ge,ve,he,be].indexOf(u)||-1!==[ve,he].indexOf(l)&&-1!==[ve,ye].indexOf(u)||-1!==[ye,be].indexOf(l)&&u===ye)return we;if(-1!==je.indexOf(l)&&-1!==[ee,ae].indexOf(u)||-1!==je.indexOf(u)&&l===se)return we;if(-1!==Ee.indexOf(l)&&-1!==Ee.indexOf(u))return we;if(l===oe&&-1!==Ee.indexOf(u))return we;if(-1!==Ee.concat(ie).indexOf(l)&&u===ne&&-1===ze.indexOf(e[s])||-1!==Ee.concat(ie).indexOf(u)&&l===K)return we;if(l===Me&&u===Me){for(var f=n[i],h=1;f>0&&t[--f]===Me;)h++;if(h%2!==0)return we}return l===pe&&u===fe?we:Ce},Ie=function(e,t){t||(t={lineBreak:"normal",wordBreak:"normal"});var n=Le(e,t.lineBreak),r=n[0],o=n[1],i=n[2];"break-all"!==t.wordBreak&&"break-word"!==t.wordBreak||(o=o.map((function(e){return-1!==[ie,ue,Oe].indexOf(e)?me:e})));var a="keep-all"===t.wordBreak?i.map((function(t,n){return t&&e[n]>=19968&&e[n]<=40959})):void 0;return[r,o,a]},We=function(){function e(e,t,n,r){this.codePoints=e,this.required=t===xe,this.start=n,this.end=r}return e.prototype.slice=function(){return u.apply(void 0,this.codePoints.slice(this.start,this.end))},e}(),Fe=function(e,t){var n=c(e),r=Ie(n,t),o=r[0],i=r[1],a=r[2],s=n.length,l=0,u=0;return{next:function(){if(u>=s)return{done:!0,value:null};for(var e=we;u<s&&(e=Pe(n,i,o,++u,a))===we;);if(e!==we||u===s){var t=new We(n,e,l,u);return l=u,{value:t,done:!1}}return{done:!0,value:null}}}},Ue=1,Ze=2,He=4,$e=8,Ve=10,Xe=47,Qe=92,Ye=9,Ge=32,Ke=34,Je=61,et=35,tt=36,nt=37,rt=39,ot=40,it=41,at=95,st=45,lt=33,ct=60,ut=62,dt=64,pt=91,ft=93,ht=61,bt=123,At=63,mt=125,gt=124,vt=126,yt=128,Mt=65533,Ot=42,_t=43,zt=44,xt=58,wt=59,Ct=46,St=0,Et=8,kt=11,Dt=14,Nt=31,Tt=127,jt=-1,Bt=48,Lt=97,Rt=101,qt=102,Pt=117,It=122,Wt=65,Ft=69,Ut=70,Zt=85,Ht=90,$t=function(e){return e>=Bt&&e<=57},Vt=function(e){return e>=55296&&e<=57343},Xt=function(e){return $t(e)||e>=Wt&&e<=Ut||e>=Lt&&e<=qt},Qt=function(e){return e>=Lt&&e<=It},Yt=function(e){return e>=Wt&&e<=Ht},Gt=function(e){return Qt(e)||Yt(e)},Kt=function(e){return e>=yt},Jt=function(e){return e===Ve||e===Ye||e===Ge},en=function(e){return Gt(e)||Kt(e)||e===at},tn=function(e){return en(e)||$t(e)||e===st},nn=function(e){return e>=St&&e<=Et||e===kt||e>=Dt&&e<=Nt||e===Tt},rn=function(e,t){return e===Qe&&t!==Ve},on=function(e,t,n){return e===st?en(t)||rn(t,n):!!en(e)||!(e!==Qe||!rn(e,t))},an=function(e,t,n){return e===_t||e===st?!!$t(t)||t===Ct&&$t(n):$t(e===Ct?t:e)},sn=function(e){var t=0,n=1;e[t]!==_t&&e[t]!==st||(e[t]===st&&(n=-1),t++);for(var r=[];$t(e[t]);)r.push(e[t++]);var o=r.length?parseInt(u.apply(void 0,r),10):0;e[t]===Ct&&t++;for(var i=[];$t(e[t]);)i.push(e[t++]);var a=i.length,s=a?parseInt(u.apply(void 0,i),10):0;e[t]!==Ft&&e[t]!==Rt||t++;var l=1;e[t]!==_t&&e[t]!==st||(e[t]===st&&(l=-1),t++);for(var c=[];$t(e[t]);)c.push(e[t++]);var d=c.length?parseInt(u.apply(void 0,c),10):0;return n*(o+s*Math.pow(10,-a))*Math.pow(10,l*d)},ln={type:2},cn={type:3},un={type:4},dn={type:13},pn={type:8},fn={type:21},hn={type:9},bn={type:10},An={type:11},mn={type:12},gn={type:14},vn={type:23},yn={type:1},Mn={type:25},On={type:24},_n={type:26},zn={type:27},xn={type:28},wn={type:29},Cn={type:31},Sn={type:32},En=function(){function e(){this._value=[]}return e.prototype.write=function(e){this._value=this._value.concat(c(e))},e.prototype.read=function(){for(var e=[],t=this.consumeToken();t!==Sn;)e.push(t),t=this.consumeToken();return e},e.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case Ke:return this.consumeStringToken(Ke);case et:var t=this.peekCodePoint(0),n=this.peekCodePoint(1),r=this.peekCodePoint(2);if(tn(t)||rn(n,r)){var o=on(t,n,r)?Ze:Ue;return{type:5,value:this.consumeName(),flags:o}}break;case tt:if(this.peekCodePoint(0)===Je)return this.consumeCodePoint(),dn;break;case rt:return this.consumeStringToken(rt);case ot:return ln;case it:return cn;case Ot:if(this.peekCodePoint(0)===Je)return this.consumeCodePoint(),gn;break;case _t:if(an(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case zt:return un;case st:var i=e,a=this.peekCodePoint(0),s=this.peekCodePoint(1);if(an(i,a,s))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(on(i,a,s))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(a===st&&s===ut)return this.consumeCodePoint(),this.consumeCodePoint(),On;break;case Ct:if(an(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case Xe:if(this.peekCodePoint(0)===Ot)for(this.consumeCodePoint();;){var l=this.consumeCodePoint();if(l===Ot&&(l=this.consumeCodePoint())===Xe)return this.consumeToken();if(l===jt)return this.consumeToken()}break;case xt:return _n;case wt:return zn;case ct:if(this.peekCodePoint(0)===lt&&this.peekCodePoint(1)===st&&this.peekCodePoint(2)===st)return this.consumeCodePoint(),this.consumeCodePoint(),Mn;break;case dt:var c=this.peekCodePoint(0),d=this.peekCodePoint(1),p=this.peekCodePoint(2);if(on(c,d,p))return{type:7,value:this.consumeName()};break;case pt:return xn;case Qe:if(rn(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case ft:return wn;case ht:if(this.peekCodePoint(0)===Je)return this.consumeCodePoint(),pn;break;case bt:return An;case mt:return mn;case Pt:case Zt:var f=this.peekCodePoint(0),h=this.peekCodePoint(1);return f!==_t||!Xt(h)&&h!==At||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case gt:if(this.peekCodePoint(0)===Je)return this.consumeCodePoint(),hn;if(this.peekCodePoint(0)===gt)return this.consumeCodePoint(),fn;break;case vt:if(this.peekCodePoint(0)===Je)return this.consumeCodePoint(),bn;break;case jt:return Sn}return Jt(e)?(this.consumeWhiteSpace(),Cn):$t(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):en(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:u(e)}},e.prototype.consumeCodePoint=function(){var e=this._value.shift();return"undefined"===typeof e?-1:e},e.prototype.reconsumeCodePoint=function(e){this._value.unshift(e)},e.prototype.peekCodePoint=function(e){return e>=this._value.length?-1:this._value[e]},e.prototype.consumeUnicodeRangeToken=function(){for(var e=[],t=this.consumeCodePoint();Xt(t)&&e.length<6;)e.push(t),t=this.consumeCodePoint();for(var n=!1;t===At&&e.length<6;)e.push(t),t=this.consumeCodePoint(),n=!0;if(n)return{type:30,start:parseInt(u.apply(void 0,e.map((function(e){return e===At?Bt:e}))),16),end:parseInt(u.apply(void 0,e.map((function(e){return e===At?Ut:e}))),16)};var r=parseInt(u.apply(void 0,e),16);if(this.peekCodePoint(0)===st&&Xt(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var o=[];Xt(t)&&o.length<6;)o.push(t),t=this.consumeCodePoint();return{type:30,start:r,end:parseInt(u.apply(void 0,o),16)}}return{type:30,start:r,end:r}},e.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return"url"===e.toLowerCase()&&this.peekCodePoint(0)===ot?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===ot?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}},e.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===jt)return{type:22,value:""};var t=this.peekCodePoint(0);if(t===rt||t===Ke){var n=this.consumeStringToken(this.consumeCodePoint());return 0===n.type&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===jt||this.peekCodePoint(0)===it)?(this.consumeCodePoint(),{type:22,value:n.value}):(this.consumeBadUrlRemnants(),vn)}for(;;){var r=this.consumeCodePoint();if(r===jt||r===it)return{type:22,value:u.apply(void 0,e)};if(Jt(r))return this.consumeWhiteSpace(),this.peekCodePoint(0)===jt||this.peekCodePoint(0)===it?(this.consumeCodePoint(),{type:22,value:u.apply(void 0,e)}):(this.consumeBadUrlRemnants(),vn);if(r===Ke||r===rt||r===ot||nn(r))return this.consumeBadUrlRemnants(),vn;if(r===Qe){if(!rn(r,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),vn;e.push(this.consumeEscapedCodePoint())}else e.push(r)}},e.prototype.consumeWhiteSpace=function(){for(;Jt(this.peekCodePoint(0));)this.consumeCodePoint()},e.prototype.consumeBadUrlRemnants=function(){for(;;){var e=this.consumeCodePoint();if(e===it||e===jt)return;rn(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},e.prototype.consumeStringSlice=function(e){for(var t=5e4,n="";e>0;){var r=Math.min(t,e);n+=u.apply(void 0,this._value.splice(0,r)),e-=r}return this._value.shift(),n},e.prototype.consumeStringToken=function(e){for(var t="",n=0;;){var r=this._value[n];if(r===jt||void 0===r||r===e)return{type:0,value:t+=this.consumeStringSlice(n)};if(r===Ve)return this._value.splice(0,n),yn;if(r===Qe){var o=this._value[n+1];o!==jt&&void 0!==o&&(o===Ve?(t+=this.consumeStringSlice(n),n=-1,this._value.shift()):rn(r,o)&&(t+=this.consumeStringSlice(n),t+=u(this.consumeEscapedCodePoint()),n=-1))}n++}},e.prototype.consumeNumber=function(){var e=[],t=He,n=this.peekCodePoint(0);for(n!==_t&&n!==st||e.push(this.consumeCodePoint());$t(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0);var r=this.peekCodePoint(1);if(n===Ct&&$t(r))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=$e;$t(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0),r=this.peekCodePoint(1);var o=this.peekCodePoint(2);if((n===Ft||n===Rt)&&((r===_t||r===st)&&$t(o)||$t(r)))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=$e;$t(this.peekCodePoint(0));)e.push(this.consumeCodePoint());return[sn(e),t]},e.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),t=e[0],n=e[1],r=this.peekCodePoint(0),o=this.peekCodePoint(1),i=this.peekCodePoint(2);return on(r,o,i)?{type:15,number:t,flags:n,unit:this.consumeName()}:r===nt?(this.consumeCodePoint(),{type:16,number:t,flags:n}):{type:17,number:t,flags:n}},e.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(Xt(e)){for(var t=u(e);Xt(this.peekCodePoint(0))&&t.length<6;)t+=u(this.consumeCodePoint());Jt(this.peekCodePoint(0))&&this.consumeCodePoint();var n=parseInt(t,16);return 0===n||Vt(n)||n>1114111?Mt:n}return e===jt?Mt:e},e.prototype.consumeName=function(){for(var e="";;){var t=this.consumeCodePoint();if(tn(t))e+=u(t);else{if(!rn(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),e;e+=u(this.consumeEscapedCodePoint())}}},e}(),kn=function(){function e(e){this._tokens=e}return e.create=function(t){var n=new En;return n.write(t),new e(n.read())},e.parseValue=function(t){return e.create(t).parseComponentValue()},e.parseValues=function(t){return e.create(t).parseComponentValues()},e.prototype.parseComponentValue=function(){for(var e=this.consumeToken();31===e.type;)e=this.consumeToken();if(32===e.type)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(e);var t=this.consumeComponentValue();do{e=this.consumeToken()}while(31===e.type);if(32===e.type)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},e.prototype.parseComponentValues=function(){for(var e=[];;){var t=this.consumeComponentValue();if(32===t.type)return e;e.push(t),e.push()}},e.prototype.consumeComponentValue=function(){var e=this.consumeToken();switch(e.type){case 11:case 28:case 2:return this.consumeSimpleBlock(e.type);case 19:return this.consumeFunction(e)}return e},e.prototype.consumeSimpleBlock=function(e){for(var t={type:e,values:[]},n=this.consumeToken();;){if(32===n.type||Pn(n,e))return t;this.reconsumeToken(n),t.values.push(this.consumeComponentValue()),n=this.consumeToken()}},e.prototype.consumeFunction=function(e){for(var t={name:e.value,values:[],type:18};;){var n=this.consumeToken();if(32===n.type||3===n.type)return t;this.reconsumeToken(n),t.values.push(this.consumeComponentValue())}},e.prototype.consumeToken=function(){var e=this._tokens.shift();return"undefined"===typeof e?Sn:e},e.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},e}(),Dn=function(e){return 15===e.type},Nn=function(e){return 17===e.type},Tn=function(e){return 20===e.type},jn=function(e){return 0===e.type},Bn=function(e,t){return Tn(e)&&e.value===t},Ln=function(e){return 31!==e.type},Rn=function(e){return 31!==e.type&&4!==e.type},qn=function(e){var t=[],n=[];return e.forEach((function(e){if(4===e.type){if(0===n.length)throw new Error("Error parsing function args, zero tokens for arg");return t.push(n),void(n=[])}31!==e.type&&n.push(e)})),n.length&&t.push(n),t},Pn=function(e,t){return 11===t&&12===e.type||28===t&&29===e.type||2===t&&3===e.type},In=function(e){return 17===e.type||15===e.type},Wn=function(e){return 16===e.type||In(e)},Fn=function(e){return e.length>1?[e[0],e[1]]:[e[0]]},Un={type:17,number:0,flags:He},Zn={type:16,number:50,flags:He},Hn={type:16,number:100,flags:He},$n=function(e,t,n){var r=e[0],o=e[1];return[Vn(r,t),Vn("undefined"!==typeof o?o:r,n)]},Vn=function(e,t){if(16===e.type)return e.number/100*t;if(Dn(e))switch(e.unit){case"rem":case"em":return 16*e.number;default:return e.number}return e.number},Xn="deg",Qn="grad",Yn="rad",Gn="turn",Kn={name:"angle",parse:function(e,t){if(15===t.type)switch(t.unit){case Xn:return Math.PI*t.number/180;case Qn:return Math.PI/200*t.number;case Yn:return t.number;case Gn:return 2*Math.PI*t.number}throw new Error("Unsupported angle type")}},Jn=function(e){return 15===e.type&&(e.unit===Xn||e.unit===Qn||e.unit===Yn||e.unit===Gn)},er=function(e){switch(e.filter(Tn).map((function(e){return e.value})).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Un,Un];case"to top":case"bottom":return tr(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Un,Hn];case"to right":case"left":return tr(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Hn,Hn];case"to bottom":case"top":return tr(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Hn,Un];case"to left":case"right":return tr(270)}return 0},tr=function(e){return Math.PI*e/180},nr={name:"color",parse:function(e,t){if(18===t.type){var n=ur[t.name];if("undefined"===typeof n)throw new Error('Attempting to parse an unsupported color function "'+t.name+'"');return n(e,t.values)}if(5===t.type){if(3===t.value.length){var r=t.value.substring(0,1),o=t.value.substring(1,2),i=t.value.substring(2,3);return ir(parseInt(r+r,16),parseInt(o+o,16),parseInt(i+i,16),1)}if(4===t.value.length){r=t.value.substring(0,1),o=t.value.substring(1,2),i=t.value.substring(2,3);var a=t.value.substring(3,4);return ir(parseInt(r+r,16),parseInt(o+o,16),parseInt(i+i,16),parseInt(a+a,16)/255)}if(6===t.value.length)return r=t.value.substring(0,2),o=t.value.substring(2,4),i=t.value.substring(4,6),ir(parseInt(r,16),parseInt(o,16),parseInt(i,16),1);if(8===t.value.length)return r=t.value.substring(0,2),o=t.value.substring(2,4),i=t.value.substring(4,6),a=t.value.substring(6,8),ir(parseInt(r,16),parseInt(o,16),parseInt(i,16),parseInt(a,16)/255)}if(20===t.type){var s=pr[t.value.toUpperCase()];if("undefined"!==typeof s)return s}return pr.TRANSPARENT}},rr=function(e){return 0===(255&e)},or=function(e){var t=255&e,n=255&e>>8,r=255&e>>16,o=255&e>>24;return t<255?"rgba("+o+","+r+","+n+","+t/255+")":"rgb("+o+","+r+","+n+")"},ir=function(e,t,n,r){return(e<<24|t<<16|n<<8|Math.round(255*r)<<0)>>>0},ar=function(e,t){if(17===e.type)return e.number;if(16===e.type){var n=3===t?1:255;return 3===t?e.number/100*n:Math.round(e.number/100*n)}return 0},sr=function(e,t){var n=t.filter(Rn);if(3===n.length){var r=n.map(ar),o=r[0],i=r[1],a=r[2];return ir(o,i,a,1)}if(4===n.length){var s=n.map(ar),l=(o=s[0],i=s[1],a=s[2],s[3]);return ir(o,i,a,l)}return 0};function lr(e,t,n){return n<0&&(n+=1),n>=1&&(n-=1),n<1/6?(t-e)*n*6+e:n<.5?t:n<2/3?6*(t-e)*(2/3-n)+e:e}var cr=function(e,t){var n=t.filter(Rn),r=n[0],o=n[1],i=n[2],a=n[3],s=(17===r.type?tr(r.number):Kn.parse(e,r))/(2*Math.PI),l=Wn(o)?o.number/100:0,c=Wn(i)?i.number/100:0,u="undefined"!==typeof a&&Wn(a)?Vn(a,1):1;if(0===l)return ir(255*c,255*c,255*c,1);var d=c<=.5?c*(l+1):c+l-c*l,p=2*c-d,f=lr(p,d,s+1/3),h=lr(p,d,s),b=lr(p,d,s-1/3);return ir(255*f,255*h,255*b,u)},ur={hsl:cr,hsla:cr,rgb:sr,rgba:sr},dr=function(e,t){return nr.parse(e,kn.create(t).parseComponentValue())},pr={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},fr={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(e,t){return t.map((function(e){if(Tn(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},hr={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},br=function(e,t){var n=nr.parse(e,t[0]),r=t[1];return r&&Wn(r)?{color:n,stop:r}:{color:n,stop:null}},Ar=function(e,t){var n=e[0],r=e[e.length-1];null===n.stop&&(n.stop=Un),null===r.stop&&(r.stop=Hn);for(var o=[],i=0,a=0;a<e.length;a++){var s=e[a].stop;if(null!==s){var l=Vn(s,t);l>i?o.push(l):o.push(i),i=l}else o.push(null)}var c=null;for(a=0;a<o.length;a++){var u=o[a];if(null===u)null===c&&(c=a);else if(null!==c){for(var d=a-c,p=(u-o[c-1])/(d+1),f=1;f<=d;f++)o[c+f-1]=p*f;c=null}}return e.map((function(e,n){return{color:e.color,stop:Math.max(Math.min(1,o[n]/t),0)}}))},mr=function(e,t,n){var r=t/2,o=n/2,i=Vn(e[0],t)-r,a=o-Vn(e[1],n);return(Math.atan2(a,i)+2*Math.PI)%(2*Math.PI)},gr=function(e,t,n){var r="number"===typeof e?e:mr(e,t,n),o=Math.abs(t*Math.sin(r))+Math.abs(n*Math.cos(r)),i=t/2,a=n/2,s=o/2,l=Math.sin(r-Math.PI/2)*s,c=Math.cos(r-Math.PI/2)*s;return[o,i-c,i+c,a-l,a+l]},vr=function(e,t){return Math.sqrt(e*e+t*t)},yr=function(e,t,n,r,o){return[[0,0],[0,t],[e,0],[e,t]].reduce((function(e,t){var i=t[0],a=t[1],s=vr(n-i,r-a);return(o?s<e.optimumDistance:s>e.optimumDistance)?{optimumCorner:t,optimumDistance:s}:e}),{optimumDistance:o?1/0:-1/0,optimumCorner:null}).optimumCorner},Mr=function(e,t,n,r,o){var i=0,a=0;switch(e.size){case 0:0===e.shape?i=a=Math.min(Math.abs(t),Math.abs(t-r),Math.abs(n),Math.abs(n-o)):1===e.shape&&(i=Math.min(Math.abs(t),Math.abs(t-r)),a=Math.min(Math.abs(n),Math.abs(n-o)));break;case 2:if(0===e.shape)i=a=Math.min(vr(t,n),vr(t,n-o),vr(t-r,n),vr(t-r,n-o));else if(1===e.shape){var s=Math.min(Math.abs(n),Math.abs(n-o))/Math.min(Math.abs(t),Math.abs(t-r)),l=yr(r,o,t,n,!0),c=l[0],u=l[1];a=s*(i=vr(c-t,(u-n)/s))}break;case 1:0===e.shape?i=a=Math.max(Math.abs(t),Math.abs(t-r),Math.abs(n),Math.abs(n-o)):1===e.shape&&(i=Math.max(Math.abs(t),Math.abs(t-r)),a=Math.max(Math.abs(n),Math.abs(n-o)));break;case 3:if(0===e.shape)i=a=Math.max(vr(t,n),vr(t,n-o),vr(t-r,n),vr(t-r,n-o));else if(1===e.shape){s=Math.max(Math.abs(n),Math.abs(n-o))/Math.max(Math.abs(t),Math.abs(t-r));var d=yr(r,o,t,n,!1);c=d[0],u=d[1],a=s*(i=vr(c-t,(u-n)/s))}}return Array.isArray(e.size)&&(i=Vn(e.size[0],r),a=2===e.size.length?Vn(e.size[1],o):i),[i,a]},Or=function(e,t){var n=tr(180),r=[];return qn(t).forEach((function(t,o){if(0===o){var i=t[0];if(20===i.type&&-1!==["top","left","right","bottom"].indexOf(i.value))return void(n=er(t));if(Jn(i))return void(n=(Kn.parse(e,i)+tr(270))%tr(360))}var a=br(e,t);r.push(a)})),{angle:n,stops:r,type:1}},_r="closest-side",zr="farthest-side",xr="closest-corner",wr="farthest-corner",Cr="circle",Sr="ellipse",Er="cover",kr="contain",Dr=function(e,t){var n=0,r=3,o=[],i=[];return qn(t).forEach((function(t,a){var s=!0;if(0===a?s=t.reduce((function(e,t){if(Tn(t))switch(t.value){case"center":return i.push(Zn),!1;case"top":case"left":return i.push(Un),!1;case"right":case"bottom":return i.push(Hn),!1}else if(Wn(t)||In(t))return i.push(t),!1;return e}),s):1===a&&(s=t.reduce((function(e,t){if(Tn(t))switch(t.value){case Cr:return n=0,!1;case Sr:return n=1,!1;case kr:case _r:return r=0,!1;case zr:return r=1,!1;case xr:return r=2,!1;case Er:case wr:return r=3,!1}else if(In(t)||Wn(t))return Array.isArray(r)||(r=[]),r.push(t),!1;return e}),s)),s){var l=br(e,t);o.push(l)}})),{size:r,shape:n,stops:o,position:i,type:2}},Nr=function(e){return 1===e.type},Tr=function(e){return 2===e.type},jr={name:"image",parse:function(e,t){if(22===t.type){var n={url:t.value,type:0};return e.cache.addImage(t.value),n}if(18===t.type){var r=Rr[t.name];if("undefined"===typeof r)throw new Error('Attempting to parse an unsupported image function "'+t.name+'"');return r(e,t.values)}throw new Error("Unsupported image type "+t.type)}};function Br(e){return!(20===e.type&&"none"===e.value)&&(18!==e.type||!!Rr[e.name])}var Lr,Rr={"linear-gradient":function(e,t){var n=tr(180),r=[];return qn(t).forEach((function(t,o){if(0===o){var i=t[0];if(20===i.type&&"to"===i.value)return void(n=er(t));if(Jn(i))return void(n=Kn.parse(e,i))}var a=br(e,t);r.push(a)})),{angle:n,stops:r,type:1}},"-moz-linear-gradient":Or,"-ms-linear-gradient":Or,"-o-linear-gradient":Or,"-webkit-linear-gradient":Or,"radial-gradient":function(e,t){var n=0,r=3,o=[],i=[];return qn(t).forEach((function(t,a){var s=!0;if(0===a){var l=!1;s=t.reduce((function(e,t){if(l)if(Tn(t))switch(t.value){case"center":return i.push(Zn),e;case"top":case"left":return i.push(Un),e;case"right":case"bottom":return i.push(Hn),e}else(Wn(t)||In(t))&&i.push(t);else if(Tn(t))switch(t.value){case Cr:return n=0,!1;case Sr:return n=1,!1;case"at":return l=!0,!1;case _r:return r=0,!1;case Er:case zr:return r=1,!1;case kr:case xr:return r=2,!1;case wr:return r=3,!1}else if(In(t)||Wn(t))return Array.isArray(r)||(r=[]),r.push(t),!1;return e}),s)}if(s){var c=br(e,t);o.push(c)}})),{size:r,shape:n,stops:o,position:i,type:2}},"-moz-radial-gradient":Dr,"-ms-radial-gradient":Dr,"-o-radial-gradient":Dr,"-webkit-radial-gradient":Dr,"-webkit-gradient":function(e,t){var n=tr(180),r=[],o=1,i=0,a=3,s=[];return qn(t).forEach((function(t,n){var i=t[0];if(0===n){if(Tn(i)&&"linear"===i.value)return void(o=1);if(Tn(i)&&"radial"===i.value)return void(o=2)}if(18===i.type)if("from"===i.name){var a=nr.parse(e,i.values[0]);r.push({stop:Un,color:a})}else if("to"===i.name)a=nr.parse(e,i.values[0]),r.push({stop:Hn,color:a});else if("color-stop"===i.name){var s=i.values.filter(Rn);if(2===s.length){a=nr.parse(e,s[1]);var l=s[0];Nn(l)&&r.push({stop:{type:16,number:100*l.number,flags:l.flags},color:a})}}})),1===o?{angle:(n+tr(180))%tr(360),stops:r,type:o}:{size:a,shape:i,stops:r,position:s,type:o}}},qr={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(e,t){if(0===t.length)return[];var n=t[0];return 20===n.type&&"none"===n.value?[]:t.filter((function(e){return Rn(e)&&Br(e)})).map((function(t){return jr.parse(e,t)}))}},Pr={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(e,t){return t.map((function(e){if(Tn(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},Ir={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(e,t){return qn(t).map((function(e){return e.filter(Wn)})).map(Fn)}},Wr={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(e,t){return qn(t).map((function(e){return e.filter(Tn).map((function(e){return e.value})).join(" ")})).map(Fr)}},Fr=function(e){switch(e){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;default:return 0}};!function(e){e.AUTO="auto",e.CONTAIN="contain",e.COVER="cover"}(Lr||(Lr={}));var Ur,Zr={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(e,t){return qn(t).map((function(e){return e.filter(Hr)}))}},Hr=function(e){return Tn(e)||Wn(e)},$r=function(e){return{name:"border-"+e+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Vr=$r("top"),Xr=$r("right"),Qr=$r("bottom"),Yr=$r("left"),Gr=function(e){return{name:"border-radius-"+e,initialValue:"0 0",prefix:!1,type:1,parse:function(e,t){return Fn(t.filter(Wn))}}},Kr=Gr("top-left"),Jr=Gr("top-right"),eo=Gr("bottom-right"),to=Gr("bottom-left"),no=function(e){return{name:"border-"+e+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(e,t){switch(t){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},ro=no("top"),oo=no("right"),io=no("bottom"),ao=no("left"),so=function(e){return{name:"border-"+e+"-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return Dn(t)?t.number:0}}},lo=so("top"),co=so("right"),uo=so("bottom"),po=so("left"),fo={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},ho={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(e,t){return"rtl"===t?1:0}},bo={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(e,t){return t.filter(Tn).reduce((function(e,t){return e|Ao(t.value)}),0)}},Ao=function(e){switch(e){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},mo={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},go={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(e,t){return 20===t.type&&"normal"===t.value?0:17===t.type||15===t.type?t.number:0}};!function(e){e.NORMAL="normal",e.STRICT="strict"}(Ur||(Ur={}));var vo,yo={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){return"strict"===t?Ur.STRICT:Ur.NORMAL}},Mo={name:"line-height",initialValue:"normal",prefix:!1,type:4},Oo=function(e,t){return Tn(e)&&"normal"===e.value?1.2*t:17===e.type?t*e.number:Wn(e)?Vn(e,t):t},_o={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(e,t){return 20===t.type&&"none"===t.value?null:jr.parse(e,t)}},zo={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(e,t){return"inside"===t?0:1}},xo={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;default:return-1}}},wo=function(e){return{name:"margin-"+e,initialValue:"0",prefix:!1,type:4}},Co=wo("top"),So=wo("right"),Eo=wo("bottom"),ko=wo("left"),Do={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(e,t){return t.filter(Tn).map((function(e){switch(e.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}}))}},No={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){return"break-word"===t?"break-word":"normal"}},To=function(e){return{name:"padding-"+e,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},jo=To("top"),Bo=To("right"),Lo=To("bottom"),Ro=To("left"),qo={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(e,t){switch(t){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},Po={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(e,t){switch(t){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Io={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return 1===t.length&&Bn(t[0],"none")?[]:qn(t).map((function(t){for(var n={color:pr.TRANSPARENT,offsetX:Un,offsetY:Un,blur:Un},r=0,o=0;o<t.length;o++){var i=t[o];In(i)?(0===r?n.offsetX=i:1===r?n.offsetY=i:n.blur=i,r++):n.color=nr.parse(e,i)}return n}))}},Wo={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},Fo={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(e,t){if(20===t.type&&"none"===t.value)return null;if(18===t.type){var n=Uo[t.name];if("undefined"===typeof n)throw new Error('Attempting to parse an unsupported transform function "'+t.name+'"');return n(t.values)}return null}},Uo={matrix:function(e){var t=e.filter((function(e){return 17===e.type})).map((function(e){return e.number}));return 6===t.length?t:null},matrix3d:function(e){var t=e.filter((function(e){return 17===e.type})).map((function(e){return e.number})),n=t[0],r=t[1];t[2],t[3];var o=t[4],i=t[5];t[6],t[7],t[8],t[9],t[10],t[11];var a=t[12],s=t[13];return t[14],t[15],16===t.length?[n,r,o,i,a,s]:null}},Zo={type:16,number:50,flags:He},Ho=[Zo,Zo],$o={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(e,t){var n=t.filter(Wn);return 2!==n.length?Ho:[n[0],n[1]]}},Vo={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"hidden":return 1;case"collapse":return 2;default:return 0}}};!function(e){e.NORMAL="normal",e.BREAK_ALL="break-all",e.KEEP_ALL="keep-all"}(vo||(vo={}));for(var Xo={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"break-all":return vo.BREAK_ALL;case"keep-all":return vo.KEEP_ALL;default:return vo.NORMAL}}},Qo={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(e,t){if(20===t.type)return{auto:!0,order:0};if(Nn(t))return{auto:!1,order:t.number};throw new Error("Invalid z-index number parsed")}},Yo={name:"time",parse:function(e,t){if(15===t.type)switch(t.unit.toLowerCase()){case"s":return 1e3*t.number;case"ms":return t.number}throw new Error("Unsupported time type")}},Go={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(e,t){return Nn(t)?t.number:1}},Ko={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Jo={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(e,t){return t.filter(Tn).map((function(e){switch(e.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0})).filter((function(e){return 0!==e}))}},ei={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(e,t){var n=[],r=[];return t.forEach((function(e){switch(e.type){case 20:case 0:n.push(e.value);break;case 17:n.push(e.number.toString());break;case 4:r.push(n.join(" ")),n.length=0}})),n.length&&r.push(n.join(" ")),r.map((function(e){return-1===e.indexOf(" ")?e:"'"+e+"'"}))}},ti={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},ni={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(e,t){return Nn(t)?t.number:Tn(t)&&"bold"===t.value?700:400}},ri={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return t.filter(Tn).map((function(e){return e.value}))}},oi={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"oblique":return"oblique";case"italic":return"italic";default:return"normal"}}},ii=function(e,t){return 0!==(e&t)},ai={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(e,t){if(0===t.length)return[];var n=t[0];return 20===n.type&&"none"===n.value?[]:t}},si={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(0===t.length)return null;var n=t[0];if(20===n.type&&"none"===n.value)return null;for(var r=[],o=t.filter(Ln),i=0;i<o.length;i++){var a=o[i],s=o[i+1];if(20===a.type){var l=s&&Nn(s)?s.number:1;r.push({counter:a.value,increment:l})}}return r}},li={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(0===t.length)return[];for(var n=[],r=t.filter(Ln),o=0;o<r.length;o++){var i=r[o],a=r[o+1];if(Tn(i)&&"none"!==i.value){var s=a&&Nn(a)?a.number:0;n.push({counter:i.value,reset:s})}}return n}},ci={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(e,t){return t.filter(Dn).map((function(t){return Yo.parse(e,t)}))}},ui={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(0===t.length)return null;var n=t[0];if(20===n.type&&"none"===n.value)return null;var r=[],o=t.filter(jn);if(o.length%2!==0)return null;for(var i=0;i<o.length;i+=2){var a=o[i].value,s=o[i+1].value;r.push({open:a,close:s})}return r}},di=function(e,t,n){if(!e)return"";var r=e[Math.min(t,e.length-1)];return r?n?r.open:r.close:""},pi={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return 1===t.length&&Bn(t[0],"none")?[]:qn(t).map((function(t){for(var n={color:255,offsetX:Un,offsetY:Un,blur:Un,spread:Un,inset:!1},r=0,o=0;o<t.length;o++){var i=t[o];Bn(i,"inset")?n.inset=!0:In(i)?(0===r?n.offsetX=i:1===r?n.offsetY=i:2===r?n.blur=i:n.spread=i,r++):n.color=nr.parse(e,i)}return n}))}},fi={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(e,t){var n=[0,1,2],r=[];return t.filter(Tn).forEach((function(e){switch(e.value){case"stroke":r.push(1);break;case"fill":r.push(0);break;case"markers":r.push(2)}})),n.forEach((function(e){-1===r.indexOf(e)&&r.push(e)})),r}},hi={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},bi={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return Dn(t)?t.number:0}},Ai=function(){function e(e,t){var n,r;this.animationDuration=vi(e,ci,t.animationDuration),this.backgroundClip=vi(e,fr,t.backgroundClip),this.backgroundColor=vi(e,hr,t.backgroundColor),this.backgroundImage=vi(e,qr,t.backgroundImage),this.backgroundOrigin=vi(e,Pr,t.backgroundOrigin),this.backgroundPosition=vi(e,Ir,t.backgroundPosition),this.backgroundRepeat=vi(e,Wr,t.backgroundRepeat),this.backgroundSize=vi(e,Zr,t.backgroundSize),this.borderTopColor=vi(e,Vr,t.borderTopColor),this.borderRightColor=vi(e,Xr,t.borderRightColor),this.borderBottomColor=vi(e,Qr,t.borderBottomColor),this.borderLeftColor=vi(e,Yr,t.borderLeftColor),this.borderTopLeftRadius=vi(e,Kr,t.borderTopLeftRadius),this.borderTopRightRadius=vi(e,Jr,t.borderTopRightRadius),this.borderBottomRightRadius=vi(e,eo,t.borderBottomRightRadius),this.borderBottomLeftRadius=vi(e,to,t.borderBottomLeftRadius),this.borderTopStyle=vi(e,ro,t.borderTopStyle),this.borderRightStyle=vi(e,oo,t.borderRightStyle),this.borderBottomStyle=vi(e,io,t.borderBottomStyle),this.borderLeftStyle=vi(e,ao,t.borderLeftStyle),this.borderTopWidth=vi(e,lo,t.borderTopWidth),this.borderRightWidth=vi(e,co,t.borderRightWidth),this.borderBottomWidth=vi(e,uo,t.borderBottomWidth),this.borderLeftWidth=vi(e,po,t.borderLeftWidth),this.boxShadow=vi(e,pi,t.boxShadow),this.color=vi(e,fo,t.color),this.direction=vi(e,ho,t.direction),this.display=vi(e,bo,t.display),this.float=vi(e,mo,t.cssFloat),this.fontFamily=vi(e,ei,t.fontFamily),this.fontSize=vi(e,ti,t.fontSize),this.fontStyle=vi(e,oi,t.fontStyle),this.fontVariant=vi(e,ri,t.fontVariant),this.fontWeight=vi(e,ni,t.fontWeight),this.letterSpacing=vi(e,go,t.letterSpacing),this.lineBreak=vi(e,yo,t.lineBreak),this.lineHeight=vi(e,Mo,t.lineHeight),this.listStyleImage=vi(e,_o,t.listStyleImage),this.listStylePosition=vi(e,zo,t.listStylePosition),this.listStyleType=vi(e,xo,t.listStyleType),this.marginTop=vi(e,Co,t.marginTop),this.marginRight=vi(e,So,t.marginRight),this.marginBottom=vi(e,Eo,t.marginBottom),this.marginLeft=vi(e,ko,t.marginLeft),this.opacity=vi(e,Go,t.opacity);var o=vi(e,Do,t.overflow);this.overflowX=o[0],this.overflowY=o[o.length>1?1:0],this.overflowWrap=vi(e,No,t.overflowWrap),this.paddingTop=vi(e,jo,t.paddingTop),this.paddingRight=vi(e,Bo,t.paddingRight),this.paddingBottom=vi(e,Lo,t.paddingBottom),this.paddingLeft=vi(e,Ro,t.paddingLeft),this.paintOrder=vi(e,fi,t.paintOrder),this.position=vi(e,Po,t.position),this.textAlign=vi(e,qo,t.textAlign),this.textDecorationColor=vi(e,Ko,null!==(n=t.textDecorationColor)&&void 0!==n?n:t.color),this.textDecorationLine=vi(e,Jo,null!==(r=t.textDecorationLine)&&void 0!==r?r:t.textDecoration),this.textShadow=vi(e,Io,t.textShadow),this.textTransform=vi(e,Wo,t.textTransform),this.transform=vi(e,Fo,t.transform),this.transformOrigin=vi(e,$o,t.transformOrigin),this.visibility=vi(e,Vo,t.visibility),this.webkitTextStrokeColor=vi(e,hi,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=vi(e,bi,t.webkitTextStrokeWidth),this.wordBreak=vi(e,Xo,t.wordBreak),this.zIndex=vi(e,Qo,t.zIndex)}return e.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&0===this.visibility},e.prototype.isTransparent=function(){return rr(this.backgroundColor)},e.prototype.isTransformed=function(){return null!==this.transform},e.prototype.isPositioned=function(){return 0!==this.position},e.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},e.prototype.isFloating=function(){return 0!==this.float},e.prototype.isInlineLevel=function(){return ii(this.display,4)||ii(this.display,33554432)||ii(this.display,268435456)||ii(this.display,536870912)||ii(this.display,67108864)||ii(this.display,134217728)},e}(),mi=function(){function e(e,t){this.content=vi(e,ai,t.content),this.quotes=vi(e,ui,t.quotes)}return e}(),gi=function(){function e(e,t){this.counterIncrement=vi(e,si,t.counterIncrement),this.counterReset=vi(e,li,t.counterReset)}return e}(),vi=function(e,t,n){var r=new En,o=null!==n&&"undefined"!==typeof n?n.toString():t.initialValue;r.write(o);var i=new kn(r.read());switch(t.type){case 2:var a=i.parseComponentValue();return t.parse(e,Tn(a)?a.value:t.initialValue);case 0:return t.parse(e,i.parseComponentValue());case 1:return t.parse(e,i.parseComponentValues());case 4:return i.parseComponentValue();case 3:switch(t.format){case"angle":return Kn.parse(e,i.parseComponentValue());case"color":return nr.parse(e,i.parseComponentValue());case"image":return jr.parse(e,i.parseComponentValue());case"length":var s=i.parseComponentValue();return In(s)?s:Un;case"length-percentage":var l=i.parseComponentValue();return Wn(l)?l:Un;case"time":return Yo.parse(e,i.parseComponentValue())}}},yi="data-html2canvas-debug",Mi=function(e){switch(e.getAttribute(yi)){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Oi=function(e,t){var n=Mi(e);return 1===n||t===n},_i=function(){function e(e,t){this.context=e,this.textNodes=[],this.elements=[],this.flags=0,Oi(t,3),this.styles=new Ai(e,window.getComputedStyle(t,null)),us(t)&&(this.styles.animationDuration.some((function(e){return e>0}))&&(t.style.animationDuration="0s"),null!==this.styles.transform&&(t.style.transform="none")),this.bounds=s(this.context,t),Oi(t,4)&&(this.flags|=16)}return e}(),zi="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",xi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",wi="undefined"===typeof Uint8Array?[]:new Uint8Array(256),Ci=0;Ci<xi.length;Ci++)wi[xi.charCodeAt(Ci)]=Ci;for(var Si=function(e){var t,n,r,o,i,a=.75*e.length,s=e.length,l=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);var c="undefined"!==typeof ArrayBuffer&&"undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint8Array.prototype.slice?new ArrayBuffer(a):new Array(a),u=Array.isArray(c)?c:new Uint8Array(c);for(t=0;t<s;t+=4)n=wi[e.charCodeAt(t)],r=wi[e.charCodeAt(t+1)],o=wi[e.charCodeAt(t+2)],i=wi[e.charCodeAt(t+3)],u[l++]=n<<2|r>>4,u[l++]=(15&r)<<4|o>>2,u[l++]=(3&o)<<6|63&i;return c},Ei=function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n.push(e[r+1]<<8|e[r]);return n},ki=function(e){for(var t=e.length,n=[],r=0;r<t;r+=4)n.push(e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]);return n},Di=5,Ni=11,Ti=2,ji=65536>>Di,Bi=(1<<Di)-1,Li=ji+(1024>>Di)+32,Ri=65536>>Ni,qi=(1<<Ni-Di)-1,Pi=function(e,t,n){return e.slice?e.slice(t,n):new Uint16Array(Array.prototype.slice.call(e,t,n))},Ii=function(e,t,n){return e.slice?e.slice(t,n):new Uint32Array(Array.prototype.slice.call(e,t,n))},Wi=function(e,t){var n=Si(e),r=Array.isArray(n)?ki(n):new Uint32Array(n),o=Array.isArray(n)?Ei(n):new Uint16Array(n),i=24,a=Pi(o,i/2,r[4]/2),s=2===r[5]?Pi(o,(i+r[4])/2):Ii(r,Math.ceil((i+r[4])/4));return new Fi(r[0],r[1],r[2],r[3],a,s)},Fi=function(){function e(e,t,n,r,o,i){this.initialValue=e,this.errorValue=t,this.highStart=n,this.highValueIndex=r,this.index=o,this.data=i}return e.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=((t=this.index[e>>Di])<<Ti)+(e&Bi),this.data[t];if(e<=65535)return t=((t=this.index[ji+(e-55296>>Di)])<<Ti)+(e&Bi),this.data[t];if(e<this.highStart)return t=Li-Ri+(e>>Ni),t=this.index[t],t+=e>>Di&qi,t=((t=this.index[t])<<Ti)+(e&Bi),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),Ui="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Zi="undefined"===typeof Uint8Array?[]:new Uint8Array(256),Hi=0;Hi<Ui.length;Hi++)Zi[Ui.charCodeAt(Hi)]=Hi;var $i,Vi=1,Xi=2,Qi=3,Yi=4,Gi=5,Ki=7,Ji=8,ea=9,ta=10,na=11,ra=12,oa=13,ia=14,aa=15,sa=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=e.charCodeAt(n++);56320===(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),n--)}else t.push(o)}return t},la=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var n=e.length;if(!n)return"";for(var r=[],o=-1,i="";++o<n;){var a=e[o];a<=65535?r.push(a):(a-=65536,r.push(55296+(a>>10),a%1024+56320)),(o+1===n||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},ca=Wi(zi),ua="\xd7",da="\xf7",pa=function(e){return ca.get(e)},fa=function(e,t,n){var r=n-2,o=t[r],i=t[n-1],a=t[n];if(i===Xi&&a===Qi)return ua;if(i===Xi||i===Qi||i===Yi)return da;if(a===Xi||a===Qi||a===Yi)return da;if(i===Ji&&-1!==[Ji,ea,na,ra].indexOf(a))return ua;if((i===na||i===ea)&&(a===ea||a===ta))return ua;if((i===ra||i===ta)&&a===ta)return ua;if(a===oa||a===Gi)return ua;if(a===Ki)return ua;if(i===Vi)return ua;if(i===oa&&a===ia){for(;o===Gi;)o=t[--r];if(o===ia)return ua}if(i===aa&&a===aa){for(var s=0;o===aa;)s++,o=t[--r];if(s%2===0)return ua}return da},ha=function(e){var t=sa(e),n=t.length,r=0,o=0,i=t.map(pa);return{next:function(){if(r>=n)return{done:!0,value:null};for(var e=ua;r<n&&(e=fa(t,i,++r))===ua;);if(e!==ua||r===n){var a=la.apply(null,t.slice(o,r));return o=r,{value:a,done:!1}}return{done:!0,value:null}}}},ba=function(e){for(var t,n=ha(e),r=[];!(t=n.next()).done;)t.value&&r.push(t.value.slice());return r},Aa=function(e){var t=123;if(e.createRange){var n=e.createRange();if(n.getBoundingClientRect){var r=e.createElement("boundtest");r.style.height=t+"px",r.style.display="block",e.body.appendChild(r),n.selectNode(r);var o=n.getBoundingClientRect(),i=Math.round(o.height);if(e.body.removeChild(r),i===t)return!0}}return!1},ma=function(e){var t=e.createElement("boundtest");t.style.width="50px",t.style.display="block",t.style.fontSize="12px",t.style.letterSpacing="0px",t.style.wordSpacing="0px",e.body.appendChild(t);var n=e.createRange();t.innerHTML="function"===typeof"".repeat?"&#128104;".repeat(10):"";var r=t.firstChild,o=c(r.data).map((function(e){return u(e)})),i=0,a={},s=o.every((function(e,t){n.setStart(r,i),n.setEnd(r,i+e.length);var o=n.getBoundingClientRect();i+=e.length;var s=o.x>a.x||o.y>a.y;return a=o,0===t||s}));return e.body.removeChild(t),s},ga=function(){return"undefined"!==typeof(new Image).crossOrigin},va=function(){return"string"===typeof(new XMLHttpRequest).responseType},ya=function(e){var t=new Image,n=e.createElement("canvas"),r=n.getContext("2d");if(!r)return!1;t.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{r.drawImage(t,0,0),n.toDataURL()}catch(Rt){return!1}return!0},Ma=function(e){return 0===e[0]&&255===e[1]&&0===e[2]&&255===e[3]},Oa=function(e){var t=e.createElement("canvas"),n=100;t.width=n,t.height=n;var r=t.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,n,n);var o=new Image,i=t.toDataURL();o.src=i;var a=_a(n,n,0,0,o);return r.fillStyle="red",r.fillRect(0,0,n,n),za(a).then((function(t){r.drawImage(t,0,0);var o=r.getImageData(0,0,n,n).data;r.fillStyle="red",r.fillRect(0,0,n,n);var a=e.createElement("div");return a.style.backgroundImage="url("+i+")",a.style.height=n+"px",Ma(o)?za(_a(n,n,0,0,a)):Promise.reject(!1)})).then((function(e){return r.drawImage(e,0,0),Ma(r.getImageData(0,0,n,n).data)})).catch((function(){return!1}))},_a=function(e,t,n,r,o){var i="http://www.w3.org/2000/svg",a=document.createElementNS(i,"svg"),s=document.createElementNS(i,"foreignObject");return a.setAttributeNS(null,"width",e.toString()),a.setAttributeNS(null,"height",t.toString()),s.setAttributeNS(null,"width","100%"),s.setAttributeNS(null,"height","100%"),s.setAttributeNS(null,"x",n.toString()),s.setAttributeNS(null,"y",r.toString()),s.setAttributeNS(null,"externalResourcesRequired","true"),a.appendChild(s),s.appendChild(o),a},za=function(e){return new Promise((function(t,n){var r=new Image;r.onload=function(){return t(r)},r.onerror=n,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(e))}))},xa={get SUPPORT_RANGE_BOUNDS(){var e=Aa(document);return Object.defineProperty(xa,"SUPPORT_RANGE_BOUNDS",{value:e}),e},get SUPPORT_WORD_BREAKING(){var e=xa.SUPPORT_RANGE_BOUNDS&&ma(document);return Object.defineProperty(xa,"SUPPORT_WORD_BREAKING",{value:e}),e},get SUPPORT_SVG_DRAWING(){var e=ya(document);return Object.defineProperty(xa,"SUPPORT_SVG_DRAWING",{value:e}),e},get SUPPORT_FOREIGNOBJECT_DRAWING(){var e="function"===typeof Array.from&&"function"===typeof window.fetch?Oa(document):Promise.resolve(!1);return Object.defineProperty(xa,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:e}),e},get SUPPORT_CORS_IMAGES(){var e=ga();return Object.defineProperty(xa,"SUPPORT_CORS_IMAGES",{value:e}),e},get SUPPORT_RESPONSE_TYPE(){var e=va();return Object.defineProperty(xa,"SUPPORT_RESPONSE_TYPE",{value:e}),e},get SUPPORT_CORS_XHR(){var e="withCredentials"in new XMLHttpRequest;return Object.defineProperty(xa,"SUPPORT_CORS_XHR",{value:e}),e},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var e=!("undefined"===typeof Intl||!Intl.Segmenter);return Object.defineProperty(xa,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:e}),e}},wa=function(){function e(e,t){this.text=e,this.bounds=t}return e}(),Ca=function(e,t,n,r){var o=Na(t,n),i=[],s=0;return o.forEach((function(t){if(n.textDecorationLine.length||t.trim().length>0)if(xa.SUPPORT_RANGE_BOUNDS){var o=Ea(r,s,t.length).getClientRects();if(o.length>1){var l=ka(t),c=0;l.forEach((function(t){i.push(new wa(t,a.fromDOMRectList(e,Ea(r,c+s,t.length).getClientRects()))),c+=t.length}))}else i.push(new wa(t,a.fromDOMRectList(e,o)))}else{var u=r.splitText(t.length);i.push(new wa(t,Sa(e,r))),r=u}else xa.SUPPORT_RANGE_BOUNDS||(r=r.splitText(t.length));s+=t.length})),i},Sa=function(e,t){var n=t.ownerDocument;if(n){var r=n.createElement("html2canvaswrapper");r.appendChild(t.cloneNode(!0));var o=t.parentNode;if(o){o.replaceChild(r,t);var i=s(e,r);return r.firstChild&&o.replaceChild(r.firstChild,r),i}}return a.EMPTY},Ea=function(e,t,n){var r=e.ownerDocument;if(!r)throw new Error("Node has no owner document");var o=r.createRange();return o.setStart(e,t),o.setEnd(e,t+n),o},ka=function(e){if(xa.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(t.segment(e)).map((function(e){return e.segment}))}return ba(e)},Da=function(e,t){if(xa.SUPPORT_NATIVE_TEXT_SEGMENTATION){var n=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(n.segment(e)).map((function(e){return e.segment}))}return ja(e,t)},Na=function(e,t){return 0!==t.letterSpacing?ka(e):Da(e,t)},Ta=[32,160,4961,65792,65793,4153,4241],ja=function(e,t){for(var n,r=Fe(e,{lineBreak:t.lineBreak,wordBreak:"break-word"===t.overflowWrap?"break-word":t.wordBreak}),o=[],i=function(){if(n.value){var e=n.value.slice(),t=c(e),r="";t.forEach((function(e){-1===Ta.indexOf(e)?r+=u(e):(r.length&&o.push(r),o.push(u(e)),r="")})),r.length&&o.push(r)}};!(n=r.next()).done;)i();return o},Ba=function(){function e(e,t,n){this.text=La(t.data,n.textTransform),this.textBounds=Ca(e,this.text,n,t)}return e}(),La=function(e,t){switch(t){case 1:return e.toLowerCase();case 3:return e.replace(Ra,qa);case 2:return e.toUpperCase();default:return e}},Ra=/(^|\s|:|-|\(|\))([a-z])/g,qa=function(e,t,n){return e.length>0?t+n.toUpperCase():e},Pa=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.src=n.currentSrc||n.src,r.intrinsicWidth=n.naturalWidth,r.intrinsicHeight=n.naturalHeight,r.context.cache.addImage(r.src),r}return t(n,e),n}(_i),Ia=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.canvas=n,r.intrinsicWidth=n.width,r.intrinsicHeight=n.height,r}return t(n,e),n}(_i),Wa=function(e){function n(t,n){var r=e.call(this,t,n)||this,o=new XMLSerializer,i=s(t,n);return n.setAttribute("width",i.width+"px"),n.setAttribute("height",i.height+"px"),r.svg="data:image/svg+xml,"+encodeURIComponent(o.serializeToString(n)),r.intrinsicWidth=n.width.baseVal.value,r.intrinsicHeight=n.height.baseVal.value,r.context.cache.addImage(r.svg),r}return t(n,e),n}(_i),Fa=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.value=n.value,r}return t(n,e),n}(_i),Ua=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.start=n.start,r.reversed="boolean"===typeof n.reversed&&!0===n.reversed,r}return t(n,e),n}(_i),Za=[{type:15,flags:0,unit:"px",number:3}],Ha=[{type:16,flags:0,number:50}],$a=function(e){return e.width>e.height?new a(e.left+(e.width-e.height)/2,e.top,e.height,e.height):e.width<e.height?new a(e.left,e.top+(e.height-e.width)/2,e.width,e.width):e},Va=function(e){var t=e.type===Ya?new Array(e.value.length+1).join("\u2022"):e.value;return 0===t.length?e.placeholder||"":t},Xa="checkbox",Qa="radio",Ya="password",Ga=707406591,Ka=function(e){function n(t,n){var r=e.call(this,t,n)||this;switch(r.type=n.type.toLowerCase(),r.checked=n.checked,r.value=Va(n),r.type!==Xa&&r.type!==Qa||(r.styles.backgroundColor=3739148031,r.styles.borderTopColor=r.styles.borderRightColor=r.styles.borderBottomColor=r.styles.borderLeftColor=2779096575,r.styles.borderTopWidth=r.styles.borderRightWidth=r.styles.borderBottomWidth=r.styles.borderLeftWidth=1,r.styles.borderTopStyle=r.styles.borderRightStyle=r.styles.borderBottomStyle=r.styles.borderLeftStyle=1,r.styles.backgroundClip=[0],r.styles.backgroundOrigin=[0],r.bounds=$a(r.bounds)),r.type){case Xa:r.styles.borderTopRightRadius=r.styles.borderTopLeftRadius=r.styles.borderBottomRightRadius=r.styles.borderBottomLeftRadius=Za;break;case Qa:r.styles.borderTopRightRadius=r.styles.borderTopLeftRadius=r.styles.borderBottomRightRadius=r.styles.borderBottomLeftRadius=Ha}return r}return t(n,e),n}(_i),Ja=function(e){function n(t,n){var r=e.call(this,t,n)||this,o=n.options[n.selectedIndex||0];return r.value=o&&o.text||"",r}return t(n,e),n}(_i),es=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.value=n.value,r}return t(n,e),n}(_i),ts=function(e){function n(t,n){var r=e.call(this,t,n)||this;r.src=n.src,r.width=parseInt(n.width,10)||0,r.height=parseInt(n.height,10)||0,r.backgroundColor=r.styles.backgroundColor;try{if(n.contentWindow&&n.contentWindow.document&&n.contentWindow.document.documentElement){r.tree=is(t,n.contentWindow.document.documentElement);var o=n.contentWindow.document.documentElement?dr(t,getComputedStyle(n.contentWindow.document.documentElement).backgroundColor):pr.TRANSPARENT,i=n.contentWindow.document.body?dr(t,getComputedStyle(n.contentWindow.document.body).backgroundColor):pr.TRANSPARENT;r.backgroundColor=rr(o)?rr(i)?r.styles.backgroundColor:i:o}}catch(Rt){}return r}return t(n,e),n}(_i),ns=["OL","UL","MENU"],rs=function e(t,n,r,o){for(var i=n.firstChild,a=void 0;i;i=a)if(a=i.nextSibling,ls(i)&&i.data.trim().length>0)r.textNodes.push(new Ba(t,i,r.styles));else if(cs(i))if(ws(i)&&i.assignedNodes)i.assignedNodes().forEach((function(n){return e(t,n,r,o)}));else{var s=os(t,i);s.styles.isVisible()&&(as(i,s,o)?s.flags|=4:ss(s.styles)&&(s.flags|=2),-1!==ns.indexOf(i.tagName)&&(s.flags|=8),r.elements.push(s),i.slot,i.shadowRoot?e(t,i.shadowRoot,s,o):zs(i)||As(i)||xs(i)||e(t,i,s,o))}},os=function(e,t){return ys(t)?new Pa(e,t):gs(t)?new Ia(e,t):As(t)?new Wa(e,t):ps(t)?new Fa(e,t):fs(t)?new Ua(e,t):hs(t)?new Ka(e,t):xs(t)?new Ja(e,t):zs(t)?new es(e,t):Ms(t)?new ts(e,t):new _i(e,t)},is=function(e,t){var n=os(e,t);return n.flags|=4,rs(e,t,n,n),n},as=function(e,t,n){return t.styles.isPositionedWithZIndex()||t.styles.opacity<1||t.styles.isTransformed()||ms(e)&&n.styles.isTransparent()},ss=function(e){return e.isPositioned()||e.isFloating()},ls=function(e){return e.nodeType===Node.TEXT_NODE},cs=function(e){return e.nodeType===Node.ELEMENT_NODE},us=function(e){return cs(e)&&"undefined"!==typeof e.style&&!ds(e)},ds=function(e){return"object"===typeof e.className},ps=function(e){return"LI"===e.tagName},fs=function(e){return"OL"===e.tagName},hs=function(e){return"INPUT"===e.tagName},bs=function(e){return"HTML"===e.tagName},As=function(e){return"svg"===e.tagName},ms=function(e){return"BODY"===e.tagName},gs=function(e){return"CANVAS"===e.tagName},vs=function(e){return"VIDEO"===e.tagName},ys=function(e){return"IMG"===e.tagName},Ms=function(e){return"IFRAME"===e.tagName},Os=function(e){return"STYLE"===e.tagName},_s=function(e){return"SCRIPT"===e.tagName},zs=function(e){return"TEXTAREA"===e.tagName},xs=function(e){return"SELECT"===e.tagName},ws=function(e){return"SLOT"===e.tagName},Cs=function(e){return e.tagName.indexOf("-")>0},Ss=function(){function e(){this.counters={}}return e.prototype.getCounterValue=function(e){var t=this.counters[e];return t&&t.length?t[t.length-1]:1},e.prototype.getCounterValues=function(e){var t=this.counters[e];return t||[]},e.prototype.pop=function(e){var t=this;e.forEach((function(e){return t.counters[e].pop()}))},e.prototype.parse=function(e){var t=this,n=e.counterIncrement,r=e.counterReset,o=!0;null!==n&&n.forEach((function(e){var n=t.counters[e.counter];n&&0!==e.increment&&(o=!1,n.length||n.push(1),n[Math.max(0,n.length-1)]+=e.increment)}));var i=[];return o&&r.forEach((function(e){var n=t.counters[e.counter];i.push(e.counter),n||(n=t.counters[e.counter]=[]),n.push(e.reset)})),i},e}(),Es={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},ks={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054f","\u054e","\u054d","\u054c","\u054b","\u054a","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053f","\u053e","\u053d","\u053c","\u053b","\u053a","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},Ds={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05d9\u05f3","\u05d8\u05f3","\u05d7\u05f3","\u05d6\u05f3","\u05d5\u05f3","\u05d4\u05f3","\u05d3\u05f3","\u05d2\u05f3","\u05d1\u05f3","\u05d0\u05f3","\u05ea","\u05e9","\u05e8","\u05e7","\u05e6","\u05e4","\u05e2","\u05e1","\u05e0","\u05de","\u05dc","\u05db","\u05d9\u05d8","\u05d9\u05d7","\u05d9\u05d6","\u05d8\u05d6","\u05d8\u05d5","\u05d9","\u05d8","\u05d7","\u05d6","\u05d5","\u05d4","\u05d3","\u05d2","\u05d1","\u05d0"]},Ns={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10f5","\u10f0","\u10ef","\u10f4","\u10ee","\u10ed","\u10ec","\u10eb","\u10ea","\u10e9","\u10e8","\u10e7","\u10e6","\u10e5","\u10e4","\u10f3","\u10e2","\u10e1","\u10e0","\u10df","\u10de","\u10dd","\u10f2","\u10dc","\u10db","\u10da","\u10d9","\u10d8","\u10d7","\u10f1","\u10d6","\u10d5","\u10d4","\u10d3","\u10d2","\u10d1","\u10d0"]},Ts=function(e,t,n,r,o,i){return e<t||e>n?$s(e,o,i.length>0):r.integers.reduce((function(t,n,o){for(;e>=n;)e-=n,t+=r.values[o];return t}),"")+i},js=function(e,t,n,r){var o="";do{n||e--,o=r(e)+o,e/=t}while(e*t>=t);return o},Bs=function(e,t,n,r,o){var i=n-t+1;return(e<0?"-":"")+(js(Math.abs(e),i,r,(function(e){return u(Math.floor(e%i)+t)}))+o)},Ls=function(e,t,n){void 0===n&&(n=". ");var r=t.length;return js(Math.abs(e),r,!1,(function(e){return t[Math.floor(e%r)]}))+n},Rs=1,qs=2,Ps=4,Is=8,Ws=function(e,t,n,r,o,i){if(e<-9999||e>9999)return $s(e,4,o.length>0);var a=Math.abs(e),s=o;if(0===a)return t[0]+s;for(var l=0;a>0&&l<=4;l++){var c=a%10;0===c&&ii(i,Rs)&&""!==s?s=t[c]+s:c>1||1===c&&0===l||1===c&&1===l&&ii(i,qs)||1===c&&1===l&&ii(i,Ps)&&e>100||1===c&&l>1&&ii(i,Is)?s=t[c]+(l>0?n[l-1]:"")+s:1===c&&l>0&&(s=n[l-1]+s),a=Math.floor(a/10)}return(e<0?r:"")+s},Fs="\u5341\u767e\u5343\u842c",Us="\u62fe\u4f70\u4edf\u842c",Zs="\u30de\u30a4\u30ca\u30b9",Hs="\ub9c8\uc774\ub108\uc2a4",$s=function(e,t,n){var r=n?". ":"",o=n?"\u3001":"",i=n?", ":"",a=n?" ":"";switch(t){case 0:return"\u2022"+a;case 1:return"\u25e6"+a;case 2:return"\u25fe"+a;case 5:var s=Bs(e,48,57,!0,r);return s.length<4?"0"+s:s;case 4:return Ls(e,"\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d",o);case 6:return Ts(e,1,3999,Es,3,r).toLowerCase();case 7:return Ts(e,1,3999,Es,3,r);case 8:return Bs(e,945,969,!1,r);case 9:return Bs(e,97,122,!1,r);case 10:return Bs(e,65,90,!1,r);case 11:return Bs(e,1632,1641,!0,r);case 12:case 49:return Ts(e,1,9999,ks,3,r);case 35:return Ts(e,1,9999,ks,3,r).toLowerCase();case 13:return Bs(e,2534,2543,!0,r);case 14:case 30:return Bs(e,6112,6121,!0,r);case 15:return Ls(e,"\u5b50\u4e11\u5bc5\u536f\u8fb0\u5df3\u5348\u672a\u7533\u9149\u620c\u4ea5",o);case 16:return Ls(e,"\u7532\u4e59\u4e19\u4e01\u620a\u5df1\u5e9a\u8f9b\u58ec\u7678",o);case 17:case 48:return Ws(e,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d",Fs,"\u8ca0",o,qs|Ps|Is);case 47:return Ws(e,"\u96f6\u58f9\u8cb3\u53c3\u8086\u4f0d\u9678\u67d2\u634c\u7396",Us,"\u8ca0",o,Rs|qs|Ps|Is);case 42:return Ws(e,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d",Fs,"\u8d1f",o,qs|Ps|Is);case 41:return Ws(e,"\u96f6\u58f9\u8d30\u53c1\u8086\u4f0d\u9646\u67d2\u634c\u7396",Us,"\u8d1f",o,Rs|qs|Ps|Is);case 26:return Ws(e,"\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u4e07",Zs,o,0);case 25:return Ws(e,"\u96f6\u58f1\u5f10\u53c2\u56db\u4f0d\u516d\u4e03\u516b\u4e5d","\u62fe\u767e\u5343\u4e07",Zs,o,Rs|qs|Ps);case 31:return Ws(e,"\uc601\uc77c\uc774\uc0bc\uc0ac\uc624\uc721\uce60\ud314\uad6c","\uc2ed\ubc31\ucc9c\ub9cc",Hs,i,Rs|qs|Ps);case 33:return Ws(e,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u842c",Hs,i,0);case 32:return Ws(e,"\u96f6\u58f9\u8cb3\u53c3\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u62fe\u767e\u5343",Hs,i,Rs|qs|Ps);case 18:return Bs(e,2406,2415,!0,r);case 20:return Ts(e,1,19999,Ns,3,r);case 21:return Bs(e,2790,2799,!0,r);case 22:return Bs(e,2662,2671,!0,r);case 22:return Ts(e,1,10999,Ds,3,r);case 23:return Ls(e,"\u3042\u3044\u3046\u3048\u304a\u304b\u304d\u304f\u3051\u3053\u3055\u3057\u3059\u305b\u305d\u305f\u3061\u3064\u3066\u3068\u306a\u306b\u306c\u306d\u306e\u306f\u3072\u3075\u3078\u307b\u307e\u307f\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308a\u308b\u308c\u308d\u308f\u3090\u3091\u3092\u3093");case 24:return Ls(e,"\u3044\u308d\u306f\u306b\u307b\u3078\u3068\u3061\u308a\u306c\u308b\u3092\u308f\u304b\u3088\u305f\u308c\u305d\u3064\u306d\u306a\u3089\u3080\u3046\u3090\u306e\u304a\u304f\u3084\u307e\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304d\u3086\u3081\u307f\u3057\u3091\u3072\u3082\u305b\u3059");case 27:return Bs(e,3302,3311,!0,r);case 28:return Ls(e,"\u30a2\u30a4\u30a6\u30a8\u30aa\u30ab\u30ad\u30af\u30b1\u30b3\u30b5\u30b7\u30b9\u30bb\u30bd\u30bf\u30c1\u30c4\u30c6\u30c8\u30ca\u30cb\u30cc\u30cd\u30ce\u30cf\u30d2\u30d5\u30d8\u30db\u30de\u30df\u30e0\u30e1\u30e2\u30e4\u30e6\u30e8\u30e9\u30ea\u30eb\u30ec\u30ed\u30ef\u30f0\u30f1\u30f2\u30f3",o);case 29:return Ls(e,"\u30a4\u30ed\u30cf\u30cb\u30db\u30d8\u30c8\u30c1\u30ea\u30cc\u30eb\u30f2\u30ef\u30ab\u30e8\u30bf\u30ec\u30bd\u30c4\u30cd\u30ca\u30e9\u30e0\u30a6\u30f0\u30ce\u30aa\u30af\u30e4\u30de\u30b1\u30d5\u30b3\u30a8\u30c6\u30a2\u30b5\u30ad\u30e6\u30e1\u30df\u30b7\u30f1\u30d2\u30e2\u30bb\u30b9",o);case 34:return Bs(e,3792,3801,!0,r);case 37:return Bs(e,6160,6169,!0,r);case 38:return Bs(e,4160,4169,!0,r);case 39:return Bs(e,2918,2927,!0,r);case 40:return Bs(e,1776,1785,!0,r);case 43:return Bs(e,3046,3055,!0,r);case 44:return Bs(e,3174,3183,!0,r);case 45:return Bs(e,3664,3673,!0,r);case 46:return Bs(e,3872,3881,!0,r);default:return Bs(e,48,57,!0,r)}},Vs="data-html2canvas-ignore",Xs=function(){function e(e,t,n){if(this.context=e,this.options=n,this.scrolledElements=[],this.referenceElement=t,this.counters=new Ss,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return e.prototype.toIFrame=function(e,t){var n=this,i=Ys(e,t);if(!i.contentWindow)return Promise.reject("Unable to find iframe window");var a=e.defaultView.pageXOffset,s=e.defaultView.pageYOffset,l=i.contentWindow,c=l.document,u=Js(i).then((function(){return r(n,void 0,void 0,(function(){var e,n;return o(this,(function(r){switch(r.label){case 0:return this.scrolledElements.forEach(ol),l&&(l.scrollTo(t.left,t.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||l.scrollY===t.top&&l.scrollX===t.left||(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(l.scrollX-t.left,l.scrollY-t.top,0,0))),e=this.options.onclone,"undefined"===typeof(n=this.clonedReferenceElement)?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:c.fonts&&c.fonts.ready?[4,c.fonts.ready]:[3,2];case 1:r.sent(),r.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Ks(c)]:[3,4];case 3:r.sent(),r.label=4;case 4:return"function"===typeof e?[2,Promise.resolve().then((function(){return e(c,n)})).then((function(){return i}))]:[2,i]}}))}))}));return c.open(),c.write(nl(document.doctype)+"<html></html>"),rl(this.referenceElement.ownerDocument,a,s),c.replaceChild(c.adoptNode(this.documentElement),c.documentElement),c.close(),u},e.prototype.createElementClone=function(e){if(Oi(e,2),gs(e))return this.createCanvasClone(e);if(vs(e))return this.createVideoClone(e);if(Os(e))return this.createStyleClone(e);var t=e.cloneNode(!1);return ys(t)&&(ys(e)&&e.currentSrc&&e.currentSrc!==e.src&&(t.src=e.currentSrc,t.srcset=""),"lazy"===t.loading&&(t.loading="eager")),Cs(t)?this.createCustomElementClone(t):t},e.prototype.createCustomElementClone=function(e){var t=document.createElement("html2canvascustomelement");return tl(e.style,t),t},e.prototype.createStyleClone=function(e){try{var t=e.sheet;if(t&&t.cssRules){var n=[].slice.call(t.cssRules,0).reduce((function(e,t){return t&&"string"===typeof t.cssText?e+t.cssText:e}),""),r=e.cloneNode(!1);return r.textContent=n,r}}catch(Rt){if(this.context.logger.error("Unable to access cssRules property",Rt),"SecurityError"!==Rt.name)throw Rt}return e.cloneNode(!1)},e.prototype.createCanvasClone=function(e){var t;if(this.options.inlineImages&&e.ownerDocument){var n=e.ownerDocument.createElement("img");try{return n.src=e.toDataURL(),n}catch(Rt){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",e)}}var r=e.cloneNode(!1);try{r.width=e.width,r.height=e.height;var o=e.getContext("2d"),i=r.getContext("2d");if(i)if(!this.options.allowTaint&&o)i.putImageData(o.getImageData(0,0,e.width,e.height),0,0);else{var a=null!==(t=e.getContext("webgl2"))&&void 0!==t?t:e.getContext("webgl");if(a){var s=a.getContextAttributes();!1===(null===s||void 0===s?void 0:s.preserveDrawingBuffer)&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",e)}i.drawImage(e,0,0)}return r}catch(Rt){this.context.logger.info("Unable to clone canvas as it is tainted",e)}return r},e.prototype.createVideoClone=function(e){var t=e.ownerDocument.createElement("canvas");t.width=e.offsetWidth,t.height=e.offsetHeight;var n=t.getContext("2d");try{return n&&(n.drawImage(e,0,0,t.width,t.height),this.options.allowTaint||n.getImageData(0,0,t.width,t.height)),t}catch(Rt){this.context.logger.info("Unable to clone video as it is tainted",e)}var r=e.ownerDocument.createElement("canvas");return r.width=e.offsetWidth,r.height=e.offsetHeight,r},e.prototype.appendChildNode=function(e,t,n){cs(t)&&(_s(t)||t.hasAttribute(Vs)||"function"===typeof this.options.ignoreElements&&this.options.ignoreElements(t))||this.options.copyStyles&&cs(t)&&Os(t)||e.appendChild(this.cloneNode(t,n))},e.prototype.cloneChildNodes=function(e,t,n){for(var r=this,o=e.shadowRoot?e.shadowRoot.firstChild:e.firstChild;o;o=o.nextSibling)if(cs(o)&&ws(o)&&"function"===typeof o.assignedNodes){var i=o.assignedNodes();i.length&&i.forEach((function(e){return r.appendChildNode(t,e,n)}))}else this.appendChildNode(t,o,n)},e.prototype.cloneNode=function(e,t){if(ls(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var n=e.ownerDocument.defaultView;if(n&&cs(e)&&(us(e)||ds(e))){var r=this.createElementClone(e);r.style.transitionProperty="none";var o=n.getComputedStyle(e),i=n.getComputedStyle(e,":before"),a=n.getComputedStyle(e,":after");this.referenceElement===e&&us(r)&&(this.clonedReferenceElement=r),ms(r)&&ul(r);var s=this.counters.parse(new gi(this.context,o)),l=this.resolvePseudoContent(e,r,i,$i.BEFORE);Cs(e)&&(t=!0),vs(e)||this.cloneChildNodes(e,r,t),l&&r.insertBefore(l,r.firstChild);var c=this.resolvePseudoContent(e,r,a,$i.AFTER);return c&&r.appendChild(c),this.counters.pop(s),(o&&(this.options.copyStyles||ds(e))&&!Ms(e)||t)&&tl(o,r),0===e.scrollTop&&0===e.scrollLeft||this.scrolledElements.push([r,e.scrollLeft,e.scrollTop]),(zs(e)||xs(e))&&(zs(r)||xs(r))&&(r.value=e.value),r}return e.cloneNode(!1)},e.prototype.resolvePseudoContent=function(e,t,n,r){var o=this;if(n){var i=n.content,a=t.ownerDocument;if(a&&i&&"none"!==i&&"-moz-alt-content"!==i&&"none"!==n.display){this.counters.parse(new gi(this.context,n));var s=new mi(this.context,n),l=a.createElement("html2canvaspseudoelement");tl(n,l),s.content.forEach((function(t){if(0===t.type)l.appendChild(a.createTextNode(t.value));else if(22===t.type){var n=a.createElement("img");n.src=t.value,n.style.opacity="1",l.appendChild(n)}else if(18===t.type){if("attr"===t.name){var r=t.values.filter(Tn);r.length&&l.appendChild(a.createTextNode(e.getAttribute(r[0].value)||""))}else if("counter"===t.name){var i=t.values.filter(Rn),c=i[0],u=i[1];if(c&&Tn(c)){var d=o.counters.getCounterValue(c.value),p=u&&Tn(u)?xo.parse(o.context,u.value):3;l.appendChild(a.createTextNode($s(d,p,!1)))}}else if("counters"===t.name){var f=t.values.filter(Rn),h=(c=f[0],f[1]);if(u=f[2],c&&Tn(c)){var b=o.counters.getCounterValues(c.value),A=u&&Tn(u)?xo.parse(o.context,u.value):3,m=h&&0===h.type?h.value:"",g=b.map((function(e){return $s(e,A,!1)})).join(m);l.appendChild(a.createTextNode(g))}}}else if(20===t.type)switch(t.value){case"open-quote":l.appendChild(a.createTextNode(di(s.quotes,o.quoteDepth++,!0)));break;case"close-quote":l.appendChild(a.createTextNode(di(s.quotes,--o.quoteDepth,!1)));break;default:l.appendChild(a.createTextNode(t.value))}})),l.className=sl+" "+ll;var c=r===$i.BEFORE?" "+sl:" "+ll;return ds(t)?t.className.baseValue+=c:t.className+=c,l}}},e.destroy=function(e){return!!e.parentNode&&(e.parentNode.removeChild(e),!0)},e}();!function(e){e[e.BEFORE=0]="BEFORE",e[e.AFTER=1]="AFTER"}($i||($i={}));var Qs,Ys=function(e,t){var n=e.createElement("iframe");return n.className="html2canvas-container",n.style.visibility="hidden",n.style.position="fixed",n.style.left="-10000px",n.style.top="0px",n.style.border="0",n.width=t.width.toString(),n.height=t.height.toString(),n.scrolling="no",n.setAttribute(Vs,"true"),e.body.appendChild(n),n},Gs=function(e){return new Promise((function(t){e.complete?t():e.src?(e.onload=t,e.onerror=t):t()}))},Ks=function(e){return Promise.all([].slice.call(e.images,0).map(Gs))},Js=function(e){return new Promise((function(t,n){var r=e.contentWindow;if(!r)return n("No window assigned for iframe");var o=r.document;r.onload=e.onload=function(){r.onload=e.onload=null;var n=setInterval((function(){o.body.childNodes.length>0&&"complete"===o.readyState&&(clearInterval(n),t(e))}),50)}}))},el=["all","d","content"],tl=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e.item(n);-1===el.indexOf(r)&&t.style.setProperty(r,e.getPropertyValue(r))}return t},nl=function(e){var t="";return e&&(t+="<!DOCTYPE ",e.name&&(t+=e.name),e.internalSubset&&(t+=e.internalSubset),e.publicId&&(t+='"'+e.publicId+'"'),e.systemId&&(t+='"'+e.systemId+'"'),t+=">"),t},rl=function(e,t,n){e&&e.defaultView&&(t!==e.defaultView.pageXOffset||n!==e.defaultView.pageYOffset)&&e.defaultView.scrollTo(t,n)},ol=function(e){var t=e[0],n=e[1],r=e[2];t.scrollLeft=n,t.scrollTop=r},il=":before",al=":after",sl="___html2canvas___pseudoelement_before",ll="___html2canvas___pseudoelement_after",cl='{\n    content: "" !important;\n    display: none !important;\n}',ul=function(e){dl(e,"."+sl+il+cl+"\n         ."+ll+al+cl)},dl=function(e,t){var n=e.ownerDocument;if(n){var r=n.createElement("style");r.textContent=t,e.appendChild(r)}},pl=function(){function e(){}return e.getOrigin=function(t){var n=e._link;return n?(n.href=t,n.href=n.href,n.protocol+n.hostname+n.port):"about:blank"},e.isSameOrigin=function(t){return e.getOrigin(t)===e._origin},e.setContext=function(t){e._link=t.document.createElement("a"),e._origin=e.getOrigin(t.location.href)},e._origin="about:blank",e}(),fl=function(){function e(e,t){this.context=e,this._options=t,this._cache={}}return e.prototype.addImage=function(e){var t=Promise.resolve();return this.has(e)?t:yl(e)||ml(e)?((this._cache[e]=this.loadImage(e)).catch((function(){})),t):t},e.prototype.match=function(e){return this._cache[e]},e.prototype.loadImage=function(e){return r(this,void 0,void 0,(function(){var t,n,r,i,a=this;return o(this,(function(o){switch(o.label){case 0:return t=pl.isSameOrigin(e),n=!gl(e)&&!0===this._options.useCORS&&xa.SUPPORT_CORS_IMAGES&&!t,r=!gl(e)&&!t&&!yl(e)&&"string"===typeof this._options.proxy&&xa.SUPPORT_CORS_XHR&&!n,t||!1!==this._options.allowTaint||gl(e)||yl(e)||r||n?(i=e,r?[4,this.proxy(i)]:[3,2]):[2];case 1:i=o.sent(),o.label=2;case 2:return this.context.logger.debug("Added image "+e.substring(0,256)),[4,new Promise((function(e,t){var r=new Image;r.onload=function(){return e(r)},r.onerror=t,(vl(i)||n)&&(r.crossOrigin="anonymous"),r.src=i,!0===r.complete&&setTimeout((function(){return e(r)}),500),a._options.imageTimeout>0&&setTimeout((function(){return t("Timed out ("+a._options.imageTimeout+"ms) loading image")}),a._options.imageTimeout)}))];case 3:return[2,o.sent()]}}))}))},e.prototype.has=function(e){return"undefined"!==typeof this._cache[e]},e.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},e.prototype.proxy=function(e){var t=this,n=this._options.proxy;if(!n)throw new Error("No proxy defined");var r=e.substring(0,256);return new Promise((function(o,i){var a=xa.SUPPORT_RESPONSE_TYPE?"blob":"text",s=new XMLHttpRequest;s.onload=function(){if(200===s.status)if("text"===a)o(s.response);else{var e=new FileReader;e.addEventListener("load",(function(){return o(e.result)}),!1),e.addEventListener("error",(function(e){return i(e)}),!1),e.readAsDataURL(s.response)}else i("Failed to proxy resource "+r+" with status code "+s.status)},s.onerror=i;var l=n.indexOf("?")>-1?"&":"?";if(s.open("GET",""+n+l+"url="+encodeURIComponent(e)+"&responseType="+a),"text"!==a&&s instanceof XMLHttpRequest&&(s.responseType=a),t._options.imageTimeout){var c=t._options.imageTimeout;s.timeout=c,s.ontimeout=function(){return i("Timed out ("+c+"ms) proxying "+r)}}s.send()}))},e}(),hl=/^data:image\/svg\+xml/i,bl=/^data:image\/.*;base64,/i,Al=/^data:image\/.*/i,ml=function(e){return xa.SUPPORT_SVG_DRAWING||!Ml(e)},gl=function(e){return Al.test(e)},vl=function(e){return bl.test(e)},yl=function(e){return"blob"===e.substr(0,4)},Ml=function(e){return"svg"===e.substr(-3).toLowerCase()||hl.test(e)},Ol=function(){function e(e,t){this.type=0,this.x=e,this.y=t}return e.prototype.add=function(t,n){return new e(this.x+t,this.y+n)},e}(),_l=function(e,t,n){return new Ol(e.x+(t.x-e.x)*n,e.y+(t.y-e.y)*n)},zl=function(){function e(e,t,n,r){this.type=1,this.start=e,this.startControl=t,this.endControl=n,this.end=r}return e.prototype.subdivide=function(t,n){var r=_l(this.start,this.startControl,t),o=_l(this.startControl,this.endControl,t),i=_l(this.endControl,this.end,t),a=_l(r,o,t),s=_l(o,i,t),l=_l(a,s,t);return n?new e(this.start,r,a,l):new e(l,s,i,this.end)},e.prototype.add=function(t,n){return new e(this.start.add(t,n),this.startControl.add(t,n),this.endControl.add(t,n),this.end.add(t,n))},e.prototype.reverse=function(){return new e(this.end,this.endControl,this.startControl,this.start)},e}(),xl=function(e){return 1===e.type},wl=function(){function e(e){var t=e.styles,n=e.bounds,r=$n(t.borderTopLeftRadius,n.width,n.height),o=r[0],i=r[1],a=$n(t.borderTopRightRadius,n.width,n.height),s=a[0],l=a[1],c=$n(t.borderBottomRightRadius,n.width,n.height),u=c[0],d=c[1],p=$n(t.borderBottomLeftRadius,n.width,n.height),f=p[0],h=p[1],b=[];b.push((o+s)/n.width),b.push((f+u)/n.width),b.push((i+h)/n.height),b.push((l+d)/n.height);var A=Math.max.apply(Math,b);A>1&&(o/=A,i/=A,s/=A,l/=A,u/=A,d/=A,f/=A,h/=A);var m=n.width-s,g=n.height-d,v=n.width-u,y=n.height-h,M=t.borderTopWidth,O=t.borderRightWidth,_=t.borderBottomWidth,z=t.borderLeftWidth,x=Vn(t.paddingTop,e.bounds.width),w=Vn(t.paddingRight,e.bounds.width),C=Vn(t.paddingBottom,e.bounds.width),S=Vn(t.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=o>0||i>0?Cl(n.left+z/3,n.top+M/3,o-z/3,i-M/3,Qs.TOP_LEFT):new Ol(n.left+z/3,n.top+M/3),this.topRightBorderDoubleOuterBox=o>0||i>0?Cl(n.left+m,n.top+M/3,s-O/3,l-M/3,Qs.TOP_RIGHT):new Ol(n.left+n.width-O/3,n.top+M/3),this.bottomRightBorderDoubleOuterBox=u>0||d>0?Cl(n.left+v,n.top+g,u-O/3,d-_/3,Qs.BOTTOM_RIGHT):new Ol(n.left+n.width-O/3,n.top+n.height-_/3),this.bottomLeftBorderDoubleOuterBox=f>0||h>0?Cl(n.left+z/3,n.top+y,f-z/3,h-_/3,Qs.BOTTOM_LEFT):new Ol(n.left+z/3,n.top+n.height-_/3),this.topLeftBorderDoubleInnerBox=o>0||i>0?Cl(n.left+2*z/3,n.top+2*M/3,o-2*z/3,i-2*M/3,Qs.TOP_LEFT):new Ol(n.left+2*z/3,n.top+2*M/3),this.topRightBorderDoubleInnerBox=o>0||i>0?Cl(n.left+m,n.top+2*M/3,s-2*O/3,l-2*M/3,Qs.TOP_RIGHT):new Ol(n.left+n.width-2*O/3,n.top+2*M/3),this.bottomRightBorderDoubleInnerBox=u>0||d>0?Cl(n.left+v,n.top+g,u-2*O/3,d-2*_/3,Qs.BOTTOM_RIGHT):new Ol(n.left+n.width-2*O/3,n.top+n.height-2*_/3),this.bottomLeftBorderDoubleInnerBox=f>0||h>0?Cl(n.left+2*z/3,n.top+y,f-2*z/3,h-2*_/3,Qs.BOTTOM_LEFT):new Ol(n.left+2*z/3,n.top+n.height-2*_/3),this.topLeftBorderStroke=o>0||i>0?Cl(n.left+z/2,n.top+M/2,o-z/2,i-M/2,Qs.TOP_LEFT):new Ol(n.left+z/2,n.top+M/2),this.topRightBorderStroke=o>0||i>0?Cl(n.left+m,n.top+M/2,s-O/2,l-M/2,Qs.TOP_RIGHT):new Ol(n.left+n.width-O/2,n.top+M/2),this.bottomRightBorderStroke=u>0||d>0?Cl(n.left+v,n.top+g,u-O/2,d-_/2,Qs.BOTTOM_RIGHT):new Ol(n.left+n.width-O/2,n.top+n.height-_/2),this.bottomLeftBorderStroke=f>0||h>0?Cl(n.left+z/2,n.top+y,f-z/2,h-_/2,Qs.BOTTOM_LEFT):new Ol(n.left+z/2,n.top+n.height-_/2),this.topLeftBorderBox=o>0||i>0?Cl(n.left,n.top,o,i,Qs.TOP_LEFT):new Ol(n.left,n.top),this.topRightBorderBox=s>0||l>0?Cl(n.left+m,n.top,s,l,Qs.TOP_RIGHT):new Ol(n.left+n.width,n.top),this.bottomRightBorderBox=u>0||d>0?Cl(n.left+v,n.top+g,u,d,Qs.BOTTOM_RIGHT):new Ol(n.left+n.width,n.top+n.height),this.bottomLeftBorderBox=f>0||h>0?Cl(n.left,n.top+y,f,h,Qs.BOTTOM_LEFT):new Ol(n.left,n.top+n.height),this.topLeftPaddingBox=o>0||i>0?Cl(n.left+z,n.top+M,Math.max(0,o-z),Math.max(0,i-M),Qs.TOP_LEFT):new Ol(n.left+z,n.top+M),this.topRightPaddingBox=s>0||l>0?Cl(n.left+Math.min(m,n.width-O),n.top+M,m>n.width+O?0:Math.max(0,s-O),Math.max(0,l-M),Qs.TOP_RIGHT):new Ol(n.left+n.width-O,n.top+M),this.bottomRightPaddingBox=u>0||d>0?Cl(n.left+Math.min(v,n.width-z),n.top+Math.min(g,n.height-_),Math.max(0,u-O),Math.max(0,d-_),Qs.BOTTOM_RIGHT):new Ol(n.left+n.width-O,n.top+n.height-_),this.bottomLeftPaddingBox=f>0||h>0?Cl(n.left+z,n.top+Math.min(y,n.height-_),Math.max(0,f-z),Math.max(0,h-_),Qs.BOTTOM_LEFT):new Ol(n.left+z,n.top+n.height-_),this.topLeftContentBox=o>0||i>0?Cl(n.left+z+S,n.top+M+x,Math.max(0,o-(z+S)),Math.max(0,i-(M+x)),Qs.TOP_LEFT):new Ol(n.left+z+S,n.top+M+x),this.topRightContentBox=s>0||l>0?Cl(n.left+Math.min(m,n.width+z+S),n.top+M+x,m>n.width+z+S?0:s-z+S,l-(M+x),Qs.TOP_RIGHT):new Ol(n.left+n.width-(O+w),n.top+M+x),this.bottomRightContentBox=u>0||d>0?Cl(n.left+Math.min(v,n.width-(z+S)),n.top+Math.min(g,n.height+M+x),Math.max(0,u-(O+w)),d-(_+C),Qs.BOTTOM_RIGHT):new Ol(n.left+n.width-(O+w),n.top+n.height-(_+C)),this.bottomLeftContentBox=f>0||h>0?Cl(n.left+z+S,n.top+y,Math.max(0,f-(z+S)),h-(_+C),Qs.BOTTOM_LEFT):new Ol(n.left+z+S,n.top+n.height-(_+C))}return e}();!function(e){e[e.TOP_LEFT=0]="TOP_LEFT",e[e.TOP_RIGHT=1]="TOP_RIGHT",e[e.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",e[e.BOTTOM_LEFT=3]="BOTTOM_LEFT"}(Qs||(Qs={}));var Cl=function(e,t,n,r,o){var i=(Math.sqrt(2)-1)/3*4,a=n*i,s=r*i,l=e+n,c=t+r;switch(o){case Qs.TOP_LEFT:return new zl(new Ol(e,c),new Ol(e,c-s),new Ol(l-a,t),new Ol(l,t));case Qs.TOP_RIGHT:return new zl(new Ol(e,t),new Ol(e+a,t),new Ol(l,c-s),new Ol(l,c));case Qs.BOTTOM_RIGHT:return new zl(new Ol(l,t),new Ol(l,t+s),new Ol(e+a,c),new Ol(e,c));case Qs.BOTTOM_LEFT:default:return new zl(new Ol(l,c),new Ol(l-a,c),new Ol(e,t+s),new Ol(e,t))}},Sl=function(e){return[e.topLeftBorderBox,e.topRightBorderBox,e.bottomRightBorderBox,e.bottomLeftBorderBox]},El=function(e){return[e.topLeftContentBox,e.topRightContentBox,e.bottomRightContentBox,e.bottomLeftContentBox]},kl=function(e){return[e.topLeftPaddingBox,e.topRightPaddingBox,e.bottomRightPaddingBox,e.bottomLeftPaddingBox]},Dl=function(){function e(e,t,n){this.offsetX=e,this.offsetY=t,this.matrix=n,this.type=0,this.target=6}return e}(),Nl=function(){function e(e,t){this.path=e,this.target=t,this.type=1}return e}(),Tl=function(){function e(e){this.opacity=e,this.type=2,this.target=6}return e}(),jl=function(e){return 0===e.type},Bl=function(e){return 1===e.type},Ll=function(e){return 2===e.type},Rl=function(e,t){return e.length===t.length&&e.some((function(e,n){return e===t[n]}))},ql=function(e,t,n,r,o){return e.map((function(e,i){switch(i){case 0:return e.add(t,n);case 1:return e.add(t+r,n);case 2:return e.add(t+r,n+o);case 3:return e.add(t,n+o)}return e}))},Pl=function(){function e(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return e}(),Il=function(){function e(e,t){if(this.container=e,this.parent=t,this.effects=[],this.curves=new wl(this.container),this.container.styles.opacity<1&&this.effects.push(new Tl(this.container.styles.opacity)),null!==this.container.styles.transform){var n=this.container.bounds.left+this.container.styles.transformOrigin[0].number,r=this.container.bounds.top+this.container.styles.transformOrigin[1].number,o=this.container.styles.transform;this.effects.push(new Dl(n,r,o))}if(0!==this.container.styles.overflowX){var i=Sl(this.curves),a=kl(this.curves);Rl(i,a)?this.effects.push(new Nl(i,6)):(this.effects.push(new Nl(i,2)),this.effects.push(new Nl(a,4)))}}return e.prototype.getEffects=function(e){for(var t=-1===[2,3].indexOf(this.container.styles.position),n=this.parent,r=this.effects.slice(0);n;){var o=n.effects.filter((function(e){return!Bl(e)}));if(t||0!==n.container.styles.position||!n.parent){if(r.unshift.apply(r,o),t=-1===[2,3].indexOf(n.container.styles.position),0!==n.container.styles.overflowX){var i=Sl(n.curves),a=kl(n.curves);Rl(i,a)||r.unshift(new Nl(a,6))}}else r.unshift.apply(r,o);n=n.parent}return r.filter((function(t){return ii(t.target,e)}))},e}(),Wl=function e(t,n,r,o){t.container.elements.forEach((function(i){var a=ii(i.flags,4),s=ii(i.flags,2),l=new Il(i,t);ii(i.styles.display,2048)&&o.push(l);var c=ii(i.flags,8)?[]:o;if(a||s){var u=a||i.styles.isPositioned()?r:n,d=new Pl(l);if(i.styles.isPositioned()||i.styles.opacity<1||i.styles.isTransformed()){var p=i.styles.zIndex.order;if(p<0){var f=0;u.negativeZIndex.some((function(e,t){return p>e.element.container.styles.zIndex.order?(f=t,!1):f>0})),u.negativeZIndex.splice(f,0,d)}else if(p>0){var h=0;u.positiveZIndex.some((function(e,t){return p>=e.element.container.styles.zIndex.order?(h=t+1,!1):h>0})),u.positiveZIndex.splice(h,0,d)}else u.zeroOrAutoZIndexOrTransformedOrOpacity.push(d)}else i.styles.isFloating()?u.nonPositionedFloats.push(d):u.nonPositionedInlineLevel.push(d);e(l,d,a?d:r,c)}else i.styles.isInlineLevel()?n.inlineLevel.push(l):n.nonInlineLevel.push(l),e(l,n,r,c);ii(i.flags,8)&&Fl(i,c)}))},Fl=function(e,t){for(var n=e instanceof Ua?e.start:1,r=e instanceof Ua&&e.reversed,o=0;o<t.length;o++){var i=t[o];i.container instanceof Fa&&"number"===typeof i.container.value&&0!==i.container.value&&(n=i.container.value),i.listValue=$s(n,i.container.styles.listStyleType,!0),n+=r?-1:1}},Ul=function(e){var t=new Il(e,null),n=new Pl(t),r=[];return Wl(t,n,n,r),Fl(t.container,r),n},Zl=function(e,t){switch(t){case 0:return Ql(e.topLeftBorderBox,e.topLeftPaddingBox,e.topRightBorderBox,e.topRightPaddingBox);case 1:return Ql(e.topRightBorderBox,e.topRightPaddingBox,e.bottomRightBorderBox,e.bottomRightPaddingBox);case 2:return Ql(e.bottomRightBorderBox,e.bottomRightPaddingBox,e.bottomLeftBorderBox,e.bottomLeftPaddingBox);default:return Ql(e.bottomLeftBorderBox,e.bottomLeftPaddingBox,e.topLeftBorderBox,e.topLeftPaddingBox)}},Hl=function(e,t){switch(t){case 0:return Ql(e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox,e.topRightBorderBox,e.topRightBorderDoubleOuterBox);case 1:return Ql(e.topRightBorderBox,e.topRightBorderDoubleOuterBox,e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox);case 2:return Ql(e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox,e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox);default:return Ql(e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox,e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox)}},$l=function(e,t){switch(t){case 0:return Ql(e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox,e.topRightBorderDoubleInnerBox,e.topRightPaddingBox);case 1:return Ql(e.topRightBorderDoubleInnerBox,e.topRightPaddingBox,e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox);case 2:return Ql(e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox,e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox);default:return Ql(e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox,e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox)}},Vl=function(e,t){switch(t){case 0:return Xl(e.topLeftBorderStroke,e.topRightBorderStroke);case 1:return Xl(e.topRightBorderStroke,e.bottomRightBorderStroke);case 2:return Xl(e.bottomRightBorderStroke,e.bottomLeftBorderStroke);default:return Xl(e.bottomLeftBorderStroke,e.topLeftBorderStroke)}},Xl=function(e,t){var n=[];return xl(e)?n.push(e.subdivide(.5,!1)):n.push(e),xl(t)?n.push(t.subdivide(.5,!0)):n.push(t),n},Ql=function(e,t,n,r){var o=[];return xl(e)?o.push(e.subdivide(.5,!1)):o.push(e),xl(n)?o.push(n.subdivide(.5,!0)):o.push(n),xl(r)?o.push(r.subdivide(.5,!0).reverse()):o.push(r),xl(t)?o.push(t.subdivide(.5,!1).reverse()):o.push(t),o},Yl=function(e){var t=e.bounds,n=e.styles;return t.add(n.borderLeftWidth,n.borderTopWidth,-(n.borderRightWidth+n.borderLeftWidth),-(n.borderTopWidth+n.borderBottomWidth))},Gl=function(e){var t=e.styles,n=e.bounds,r=Vn(t.paddingLeft,n.width),o=Vn(t.paddingRight,n.width),i=Vn(t.paddingTop,n.width),a=Vn(t.paddingBottom,n.width);return n.add(r+t.borderLeftWidth,i+t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth+r+o),-(t.borderTopWidth+t.borderBottomWidth+i+a))},Kl=function(e,t){return 0===e?t.bounds:2===e?Gl(t):Yl(t)},Jl=function(e,t){return 0===e?t.bounds:2===e?Gl(t):Yl(t)},ec=function(e,t,n){var r=Kl(oc(e.styles.backgroundOrigin,t),e),o=Jl(oc(e.styles.backgroundClip,t),e),i=rc(oc(e.styles.backgroundSize,t),n,r),a=i[0],s=i[1],l=$n(oc(e.styles.backgroundPosition,t),r.width-a,r.height-s);return[ic(oc(e.styles.backgroundRepeat,t),l,i,r,o),Math.round(r.left+l[0]),Math.round(r.top+l[1]),a,s]},tc=function(e){return Tn(e)&&e.value===Lr.AUTO},nc=function(e){return"number"===typeof e},rc=function(e,t,n){var r=t[0],o=t[1],i=t[2],a=e[0],s=e[1];if(!a)return[0,0];if(Wn(a)&&s&&Wn(s))return[Vn(a,n.width),Vn(s,n.height)];var l=nc(i);if(Tn(a)&&(a.value===Lr.CONTAIN||a.value===Lr.COVER))return nc(i)?n.width/n.height<i!==(a.value===Lr.COVER)?[n.width,n.width/i]:[n.height*i,n.height]:[n.width,n.height];var c=nc(r),u=nc(o),d=c||u;if(tc(a)&&(!s||tc(s)))return c&&u?[r,o]:l||d?d&&l?[c?r:o*i,u?o:r/i]:[c?r:n.width,u?o:n.height]:[n.width,n.height];if(l){var p=0,f=0;return Wn(a)?p=Vn(a,n.width):Wn(s)&&(f=Vn(s,n.height)),tc(a)?p=f*i:s&&!tc(s)||(f=p/i),[p,f]}var h=null,b=null;if(Wn(a)?h=Vn(a,n.width):s&&Wn(s)&&(b=Vn(s,n.height)),null===h||s&&!tc(s)||(b=c&&u?h/r*o:n.height),null!==b&&tc(a)&&(h=c&&u?b/o*r:n.width),null!==h&&null!==b)return[h,b];throw new Error("Unable to calculate background-size for element")},oc=function(e,t){var n=e[t];return"undefined"===typeof n?e[0]:n},ic=function(e,t,n,r,o){var i=t[0],a=t[1],s=n[0],l=n[1];switch(e){case 2:return[new Ol(Math.round(r.left),Math.round(r.top+a)),new Ol(Math.round(r.left+r.width),Math.round(r.top+a)),new Ol(Math.round(r.left+r.width),Math.round(l+r.top+a)),new Ol(Math.round(r.left),Math.round(l+r.top+a))];case 3:return[new Ol(Math.round(r.left+i),Math.round(r.top)),new Ol(Math.round(r.left+i+s),Math.round(r.top)),new Ol(Math.round(r.left+i+s),Math.round(r.height+r.top)),new Ol(Math.round(r.left+i),Math.round(r.height+r.top))];case 1:return[new Ol(Math.round(r.left+i),Math.round(r.top+a)),new Ol(Math.round(r.left+i+s),Math.round(r.top+a)),new Ol(Math.round(r.left+i+s),Math.round(r.top+a+l)),new Ol(Math.round(r.left+i),Math.round(r.top+a+l))];default:return[new Ol(Math.round(o.left),Math.round(o.top)),new Ol(Math.round(o.left+o.width),Math.round(o.top)),new Ol(Math.round(o.left+o.width),Math.round(o.height+o.top)),new Ol(Math.round(o.left),Math.round(o.height+o.top))]}},ac="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",sc="Hidden Text",lc=function(){function e(e){this._data={},this._document=e}return e.prototype.parseMetrics=function(e,t){var n=this._document.createElement("div"),r=this._document.createElement("img"),o=this._document.createElement("span"),i=this._document.body;n.style.visibility="hidden",n.style.fontFamily=e,n.style.fontSize=t,n.style.margin="0",n.style.padding="0",n.style.whiteSpace="nowrap",i.appendChild(n),r.src=ac,r.width=1,r.height=1,r.style.margin="0",r.style.padding="0",r.style.verticalAlign="baseline",o.style.fontFamily=e,o.style.fontSize=t,o.style.margin="0",o.style.padding="0",o.appendChild(this._document.createTextNode(sc)),n.appendChild(o),n.appendChild(r);var a=r.offsetTop-o.offsetTop+2;n.removeChild(o),n.appendChild(this._document.createTextNode(sc)),n.style.lineHeight="normal",r.style.verticalAlign="super";var s=r.offsetTop-n.offsetTop+2;return i.removeChild(n),{baseline:a,middle:s}},e.prototype.getMetrics=function(e,t){var n=e+" "+t;return"undefined"===typeof this._data[n]&&(this._data[n]=this.parseMetrics(e,t)),this._data[n]},e}(),cc=function(){function e(e,t){this.context=e,this.options=t}return e}(),uc=1e4,dc=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r._activeEffects=[],r.canvas=n.canvas?n.canvas:document.createElement("canvas"),r.ctx=r.canvas.getContext("2d"),n.canvas||(r.canvas.width=Math.floor(n.width*n.scale),r.canvas.height=Math.floor(n.height*n.scale),r.canvas.style.width=n.width+"px",r.canvas.style.height=n.height+"px"),r.fontMetrics=new lc(document),r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-n.x,-n.y),r.ctx.textBaseline="bottom",r._activeEffects=[],r.context.logger.debug("Canvas renderer initialized ("+n.width+"x"+n.height+") with scale "+n.scale),r}return t(n,e),n.prototype.applyEffects=function(e){for(var t=this;this._activeEffects.length;)this.popEffect();e.forEach((function(e){return t.applyEffect(e)}))},n.prototype.applyEffect=function(e){this.ctx.save(),Ll(e)&&(this.ctx.globalAlpha=e.opacity),jl(e)&&(this.ctx.translate(e.offsetX,e.offsetY),this.ctx.transform(e.matrix[0],e.matrix[1],e.matrix[2],e.matrix[3],e.matrix[4],e.matrix[5]),this.ctx.translate(-e.offsetX,-e.offsetY)),Bl(e)&&(this.path(e.path),this.ctx.clip()),this._activeEffects.push(e)},n.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},n.prototype.renderStack=function(e){return r(this,void 0,void 0,(function(){return o(this,(function(t){switch(t.label){case 0:return e.element.container.styles.isVisible()?[4,this.renderStackContent(e)]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2]}}))}))},n.prototype.renderNode=function(e){return r(this,void 0,void 0,(function(){return o(this,(function(t){switch(t.label){case 0:return ii(e.container.flags,16),e.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(e)]:[3,3];case 1:return t.sent(),[4,this.renderNodeContent(e)];case 2:t.sent(),t.label=3;case 3:return[2]}}))}))},n.prototype.renderTextWithLetterSpacing=function(e,t,n){var r=this;0===t?this.ctx.fillText(e.text,e.bounds.left,e.bounds.top+n):ka(e.text).reduce((function(t,o){return r.ctx.fillText(o,t,e.bounds.top+n),t+r.ctx.measureText(o).width}),e.bounds.left)},n.prototype.createFontStyle=function(e){var t=e.fontVariant.filter((function(e){return"normal"===e||"small-caps"===e})).join(""),n=Ac(e.fontFamily).join(", "),r=Dn(e.fontSize)?""+e.fontSize.number+e.fontSize.unit:e.fontSize.number+"px";return[[e.fontStyle,t,e.fontWeight,r,n].join(" "),n,r]},n.prototype.renderTextNode=function(e,t){return r(this,void 0,void 0,(function(){var n,r,i,a,s,l,c,u,d=this;return o(this,(function(o){return n=this.createFontStyle(t),r=n[0],i=n[1],a=n[2],this.ctx.font=r,this.ctx.direction=1===t.direction?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",s=this.fontMetrics.getMetrics(i,a),l=s.baseline,c=s.middle,u=t.paintOrder,e.textBounds.forEach((function(e){u.forEach((function(n){switch(n){case 0:d.ctx.fillStyle=or(t.color),d.renderTextWithLetterSpacing(e,t.letterSpacing,l);var r=t.textShadow;r.length&&e.text.trim().length&&(r.slice(0).reverse().forEach((function(n){d.ctx.shadowColor=or(n.color),d.ctx.shadowOffsetX=n.offsetX.number*d.options.scale,d.ctx.shadowOffsetY=n.offsetY.number*d.options.scale,d.ctx.shadowBlur=n.blur.number,d.renderTextWithLetterSpacing(e,t.letterSpacing,l)})),d.ctx.shadowColor="",d.ctx.shadowOffsetX=0,d.ctx.shadowOffsetY=0,d.ctx.shadowBlur=0),t.textDecorationLine.length&&(d.ctx.fillStyle=or(t.textDecorationColor||t.color),t.textDecorationLine.forEach((function(t){switch(t){case 1:d.ctx.fillRect(e.bounds.left,Math.round(e.bounds.top+l),e.bounds.width,1);break;case 2:d.ctx.fillRect(e.bounds.left,Math.round(e.bounds.top),e.bounds.width,1);break;case 3:d.ctx.fillRect(e.bounds.left,Math.ceil(e.bounds.top+c),e.bounds.width,1)}})));break;case 1:t.webkitTextStrokeWidth&&e.text.trim().length&&(d.ctx.strokeStyle=or(t.webkitTextStrokeColor),d.ctx.lineWidth=t.webkitTextStrokeWidth,d.ctx.lineJoin=window.chrome?"miter":"round",d.ctx.strokeText(e.text,e.bounds.left,e.bounds.top+l)),d.ctx.strokeStyle="",d.ctx.lineWidth=0,d.ctx.lineJoin="miter"}}))})),[2]}))}))},n.prototype.renderReplacedElement=function(e,t,n){if(n&&e.intrinsicWidth>0&&e.intrinsicHeight>0){var r=Gl(e),o=kl(t);this.path(o),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,e.intrinsicWidth,e.intrinsicHeight,r.left,r.top,r.width,r.height),this.ctx.restore()}},n.prototype.renderNodeContent=function(e){return r(this,void 0,void 0,(function(){var t,r,i,s,l,c,u,d,p,f,h,b,A,m,g,v,y,M;return o(this,(function(o){switch(o.label){case 0:this.applyEffects(e.getEffects(4)),t=e.container,r=e.curves,i=t.styles,s=0,l=t.textNodes,o.label=1;case 1:return s<l.length?(c=l[s],[4,this.renderTextNode(c,i)]):[3,4];case 2:o.sent(),o.label=3;case 3:return s++,[3,1];case 4:if(!(t instanceof Pa))return[3,8];o.label=5;case 5:return o.trys.push([5,7,,8]),[4,this.context.cache.match(t.src)];case 6:return g=o.sent(),this.renderReplacedElement(t,r,g),[3,8];case 7:return o.sent(),this.context.logger.error("Error loading image "+t.src),[3,8];case 8:if(t instanceof Ia&&this.renderReplacedElement(t,r,t.canvas),!(t instanceof Wa))return[3,12];o.label=9;case 9:return o.trys.push([9,11,,12]),[4,this.context.cache.match(t.svg)];case 10:return g=o.sent(),this.renderReplacedElement(t,r,g),[3,12];case 11:return o.sent(),this.context.logger.error("Error loading svg "+t.svg.substring(0,255)),[3,12];case 12:return t instanceof ts&&t.tree?[4,new n(this.context,{scale:this.options.scale,backgroundColor:t.backgroundColor,x:0,y:0,width:t.width,height:t.height}).render(t.tree)]:[3,14];case 13:u=o.sent(),t.width&&t.height&&this.ctx.drawImage(u,0,0,t.width,t.height,t.bounds.left,t.bounds.top,t.bounds.width,t.bounds.height),o.label=14;case 14:if(t instanceof Ka&&(d=Math.min(t.bounds.width,t.bounds.height),t.type===Xa?t.checked&&(this.ctx.save(),this.path([new Ol(t.bounds.left+.39363*d,t.bounds.top+.79*d),new Ol(t.bounds.left+.16*d,t.bounds.top+.5549*d),new Ol(t.bounds.left+.27347*d,t.bounds.top+.44071*d),new Ol(t.bounds.left+.39694*d,t.bounds.top+.5649*d),new Ol(t.bounds.left+.72983*d,t.bounds.top+.23*d),new Ol(t.bounds.left+.84*d,t.bounds.top+.34085*d),new Ol(t.bounds.left+.39363*d,t.bounds.top+.79*d)]),this.ctx.fillStyle=or(Ga),this.ctx.fill(),this.ctx.restore()):t.type===Qa&&t.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(t.bounds.left+d/2,t.bounds.top+d/2,d/4,0,2*Math.PI,!0),this.ctx.fillStyle=or(Ga),this.ctx.fill(),this.ctx.restore())),pc(t)&&t.value.length){switch(p=this.createFontStyle(i),y=p[0],f=p[1],h=this.fontMetrics.getMetrics(y,f).baseline,this.ctx.font=y,this.ctx.fillStyle=or(i.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=hc(t.styles.textAlign),M=Gl(t),b=0,t.styles.textAlign){case 1:b+=M.width/2;break;case 2:b+=M.width}A=M.add(b,0,0,-M.height/2+1),this.ctx.save(),this.path([new Ol(M.left,M.top),new Ol(M.left+M.width,M.top),new Ol(M.left+M.width,M.top+M.height),new Ol(M.left,M.top+M.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new wa(t.value,A),i.letterSpacing,h),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!ii(t.styles.display,2048))return[3,20];if(null===t.styles.listStyleImage)return[3,19];if(0!==(m=t.styles.listStyleImage).type)return[3,18];g=void 0,v=m.url,o.label=15;case 15:return o.trys.push([15,17,,18]),[4,this.context.cache.match(v)];case 16:return g=o.sent(),this.ctx.drawImage(g,t.bounds.left-(g.width+10),t.bounds.top),[3,18];case 17:return o.sent(),this.context.logger.error("Error loading list-style-image "+v),[3,18];case 18:return[3,20];case 19:e.listValue&&-1!==t.styles.listStyleType&&(y=this.createFontStyle(i)[0],this.ctx.font=y,this.ctx.fillStyle=or(i.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",M=new a(t.bounds.left,t.bounds.top+Vn(t.styles.paddingTop,t.bounds.width),t.bounds.width,Oo(i.lineHeight,i.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new wa(e.listValue,M),i.letterSpacing,Oo(i.lineHeight,i.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),o.label=20;case 20:return[2]}}))}))},n.prototype.renderStackContent=function(e){return r(this,void 0,void 0,(function(){var t,n,r,i,a,s,l,c,u,d,p,f,h,b,A;return o(this,(function(o){switch(o.label){case 0:return ii(e.element.container.flags,16),[4,this.renderNodeBackgroundAndBorders(e.element)];case 1:o.sent(),t=0,n=e.negativeZIndex,o.label=2;case 2:return t<n.length?(A=n[t],[4,this.renderStack(A)]):[3,5];case 3:o.sent(),o.label=4;case 4:return t++,[3,2];case 5:return[4,this.renderNodeContent(e.element)];case 6:o.sent(),r=0,i=e.nonInlineLevel,o.label=7;case 7:return r<i.length?(A=i[r],[4,this.renderNode(A)]):[3,10];case 8:o.sent(),o.label=9;case 9:return r++,[3,7];case 10:a=0,s=e.nonPositionedFloats,o.label=11;case 11:return a<s.length?(A=s[a],[4,this.renderStack(A)]):[3,14];case 12:o.sent(),o.label=13;case 13:return a++,[3,11];case 14:l=0,c=e.nonPositionedInlineLevel,o.label=15;case 15:return l<c.length?(A=c[l],[4,this.renderStack(A)]):[3,18];case 16:o.sent(),o.label=17;case 17:return l++,[3,15];case 18:u=0,d=e.inlineLevel,o.label=19;case 19:return u<d.length?(A=d[u],[4,this.renderNode(A)]):[3,22];case 20:o.sent(),o.label=21;case 21:return u++,[3,19];case 22:p=0,f=e.zeroOrAutoZIndexOrTransformedOrOpacity,o.label=23;case 23:return p<f.length?(A=f[p],[4,this.renderStack(A)]):[3,26];case 24:o.sent(),o.label=25;case 25:return p++,[3,23];case 26:h=0,b=e.positiveZIndex,o.label=27;case 27:return h<b.length?(A=b[h],[4,this.renderStack(A)]):[3,30];case 28:o.sent(),o.label=29;case 29:return h++,[3,27];case 30:return[2]}}))}))},n.prototype.mask=function(e){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(e.slice(0).reverse()),this.ctx.closePath()},n.prototype.path=function(e){this.ctx.beginPath(),this.formatPath(e),this.ctx.closePath()},n.prototype.formatPath=function(e){var t=this;e.forEach((function(e,n){var r=xl(e)?e.start:e;0===n?t.ctx.moveTo(r.x,r.y):t.ctx.lineTo(r.x,r.y),xl(e)&&t.ctx.bezierCurveTo(e.startControl.x,e.startControl.y,e.endControl.x,e.endControl.y,e.end.x,e.end.y)}))},n.prototype.renderRepeat=function(e,t,n,r){this.path(e),this.ctx.fillStyle=t,this.ctx.translate(n,r),this.ctx.fill(),this.ctx.translate(-n,-r)},n.prototype.resizeImage=function(e,t,n){var r;if(e.width===t&&e.height===n)return e;var o=(null!==(r=this.canvas.ownerDocument)&&void 0!==r?r:document).createElement("canvas");return o.width=Math.max(1,t),o.height=Math.max(1,n),o.getContext("2d").drawImage(e,0,0,e.width,e.height,0,0,t,n),o},n.prototype.renderBackgroundImage=function(e){return r(this,void 0,void 0,(function(){var t,n,r,i,a,s;return o(this,(function(l){switch(l.label){case 0:t=e.styles.backgroundImage.length-1,n=function(n){var i,a,s,l,c,u,d,p,f,h,b,A,m,g,v,y,M,O,_,z,x,w,C,S,E,k,D,N,T,j,B;return o(this,(function(o){switch(o.label){case 0:if(0!==n.type)return[3,5];i=void 0,a=n.url,o.label=1;case 1:return o.trys.push([1,3,,4]),[4,r.context.cache.match(a)];case 2:return i=o.sent(),[3,4];case 3:return o.sent(),r.context.logger.error("Error loading background-image "+a),[3,4];case 4:return i&&(s=ec(e,t,[i.width,i.height,i.width/i.height]),y=s[0],w=s[1],C=s[2],_=s[3],z=s[4],g=r.ctx.createPattern(r.resizeImage(i,_,z),"repeat"),r.renderRepeat(y,g,w,C)),[3,6];case 5:Nr(n)?(l=ec(e,t,[null,null,null]),y=l[0],w=l[1],C=l[2],_=l[3],z=l[4],c=gr(n.angle,_,z),u=c[0],d=c[1],p=c[2],f=c[3],h=c[4],(b=document.createElement("canvas")).width=_,b.height=z,A=b.getContext("2d"),m=A.createLinearGradient(d,f,p,h),Ar(n.stops,u).forEach((function(e){return m.addColorStop(e.stop,or(e.color))})),A.fillStyle=m,A.fillRect(0,0,_,z),_>0&&z>0&&(g=r.ctx.createPattern(b,"repeat"),r.renderRepeat(y,g,w,C))):Tr(n)&&(v=ec(e,t,[null,null,null]),y=v[0],M=v[1],O=v[2],_=v[3],z=v[4],x=0===n.position.length?[Zn]:n.position,w=Vn(x[0],_),C=Vn(x[x.length-1],z),S=Mr(n,w,C,_,z),E=S[0],k=S[1],E>0&&k>0&&(D=r.ctx.createRadialGradient(M+w,O+C,0,M+w,O+C,E),Ar(n.stops,2*E).forEach((function(e){return D.addColorStop(e.stop,or(e.color))})),r.path(y),r.ctx.fillStyle=D,E!==k?(N=e.bounds.left+.5*e.bounds.width,T=e.bounds.top+.5*e.bounds.height,B=1/(j=k/E),r.ctx.save(),r.ctx.translate(N,T),r.ctx.transform(1,0,0,j,0,0),r.ctx.translate(-N,-T),r.ctx.fillRect(M,B*(O-T)+T,_,z*B),r.ctx.restore()):r.ctx.fill())),o.label=6;case 6:return t--,[2]}}))},r=this,i=0,a=e.styles.backgroundImage.slice(0).reverse(),l.label=1;case 1:return i<a.length?(s=a[i],[5,n(s)]):[3,4];case 2:l.sent(),l.label=3;case 3:return i++,[3,1];case 4:return[2]}}))}))},n.prototype.renderSolidBorder=function(e,t,n){return r(this,void 0,void 0,(function(){return o(this,(function(r){return this.path(Zl(n,t)),this.ctx.fillStyle=or(e),this.ctx.fill(),[2]}))}))},n.prototype.renderDoubleBorder=function(e,t,n,i){return r(this,void 0,void 0,(function(){var r,a;return o(this,(function(o){switch(o.label){case 0:return t<3?[4,this.renderSolidBorder(e,n,i)]:[3,2];case 1:return o.sent(),[2];case 2:return r=Hl(i,n),this.path(r),this.ctx.fillStyle=or(e),this.ctx.fill(),a=$l(i,n),this.path(a),this.ctx.fill(),[2]}}))}))},n.prototype.renderNodeBackgroundAndBorders=function(e){return r(this,void 0,void 0,(function(){var t,n,r,i,a,s,l,c,u=this;return o(this,(function(o){switch(o.label){case 0:return this.applyEffects(e.getEffects(2)),t=e.container.styles,n=!rr(t.backgroundColor)||t.backgroundImage.length,r=[{style:t.borderTopStyle,color:t.borderTopColor,width:t.borderTopWidth},{style:t.borderRightStyle,color:t.borderRightColor,width:t.borderRightWidth},{style:t.borderBottomStyle,color:t.borderBottomColor,width:t.borderBottomWidth},{style:t.borderLeftStyle,color:t.borderLeftColor,width:t.borderLeftWidth}],i=fc(oc(t.backgroundClip,0),e.curves),n||t.boxShadow.length?(this.ctx.save(),this.path(i),this.ctx.clip(),rr(t.backgroundColor)||(this.ctx.fillStyle=or(t.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(e.container)]):[3,2];case 1:o.sent(),this.ctx.restore(),t.boxShadow.slice(0).reverse().forEach((function(t){u.ctx.save();var n=Sl(e.curves),r=t.inset?0:uc,o=ql(n,-r+(t.inset?1:-1)*t.spread.number,(t.inset?1:-1)*t.spread.number,t.spread.number*(t.inset?-2:2),t.spread.number*(t.inset?-2:2));t.inset?(u.path(n),u.ctx.clip(),u.mask(o)):(u.mask(n),u.ctx.clip(),u.path(o)),u.ctx.shadowOffsetX=t.offsetX.number+r,u.ctx.shadowOffsetY=t.offsetY.number,u.ctx.shadowColor=or(t.color),u.ctx.shadowBlur=t.blur.number,u.ctx.fillStyle=t.inset?or(t.color):"rgba(0,0,0,1)",u.ctx.fill(),u.ctx.restore()})),o.label=2;case 2:a=0,s=0,l=r,o.label=3;case 3:return s<l.length?0!==(c=l[s]).style&&!rr(c.color)&&c.width>0?2!==c.style?[3,5]:[4,this.renderDashedDottedBorder(c.color,c.width,a,e.curves,2)]:[3,11]:[3,13];case 4:return o.sent(),[3,11];case 5:return 3!==c.style?[3,7]:[4,this.renderDashedDottedBorder(c.color,c.width,a,e.curves,3)];case 6:return o.sent(),[3,11];case 7:return 4!==c.style?[3,9]:[4,this.renderDoubleBorder(c.color,c.width,a,e.curves)];case 8:return o.sent(),[3,11];case 9:return[4,this.renderSolidBorder(c.color,a,e.curves)];case 10:o.sent(),o.label=11;case 11:a++,o.label=12;case 12:return s++,[3,3];case 13:return[2]}}))}))},n.prototype.renderDashedDottedBorder=function(e,t,n,i,a){return r(this,void 0,void 0,(function(){var r,s,l,c,u,d,p,f,h,b,A,m,g,v,y,M;return o(this,(function(o){return this.ctx.save(),r=Vl(i,n),s=Zl(i,n),2===a&&(this.path(s),this.ctx.clip()),xl(s[0])?(l=s[0].start.x,c=s[0].start.y):(l=s[0].x,c=s[0].y),xl(s[1])?(u=s[1].end.x,d=s[1].end.y):(u=s[1].x,d=s[1].y),p=0===n||2===n?Math.abs(l-u):Math.abs(c-d),this.ctx.beginPath(),3===a?this.formatPath(r):this.formatPath(s.slice(0,2)),f=t<3?3*t:2*t,h=t<3?2*t:t,3===a&&(f=t,h=t),b=!0,p<=2*f?b=!1:p<=2*f+h?(f*=A=p/(2*f+h),h*=A):(m=Math.floor((p+h)/(f+h)),g=(p-m*f)/(m-1),h=(v=(p-(m+1)*f)/m)<=0||Math.abs(h-g)<Math.abs(h-v)?g:v),b&&(3===a?this.ctx.setLineDash([0,f+h]):this.ctx.setLineDash([f,h])),3===a?(this.ctx.lineCap="round",this.ctx.lineWidth=t):this.ctx.lineWidth=2*t+1.1,this.ctx.strokeStyle=or(e),this.ctx.stroke(),this.ctx.setLineDash([]),2===a&&(xl(s[0])&&(y=s[3],M=s[0],this.ctx.beginPath(),this.formatPath([new Ol(y.end.x,y.end.y),new Ol(M.start.x,M.start.y)]),this.ctx.stroke()),xl(s[1])&&(y=s[1],M=s[2],this.ctx.beginPath(),this.formatPath([new Ol(y.end.x,y.end.y),new Ol(M.start.x,M.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]}))}))},n.prototype.render=function(e){return r(this,void 0,void 0,(function(){var t;return o(this,(function(n){switch(n.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=or(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),t=Ul(e),[4,this.renderStack(t)];case 1:return n.sent(),this.applyEffects([]),[2,this.canvas]}}))}))},n}(cc),pc=function(e){return e instanceof es||e instanceof Ja||e instanceof Ka&&e.type!==Qa&&e.type!==Xa},fc=function(e,t){switch(e){case 0:return Sl(t);case 2:return El(t);default:return kl(t)}},hc=function(e){switch(e){case 1:return"center";case 2:return"right";default:return"left"}},bc=["-apple-system","system-ui"],Ac=function(e){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?e.filter((function(e){return-1===bc.indexOf(e)})):e},mc=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.canvas=n.canvas?n.canvas:document.createElement("canvas"),r.ctx=r.canvas.getContext("2d"),r.options=n,r.canvas.width=Math.floor(n.width*n.scale),r.canvas.height=Math.floor(n.height*n.scale),r.canvas.style.width=n.width+"px",r.canvas.style.height=n.height+"px",r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-n.x,-n.y),r.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+n.width+"x"+n.height+" at "+n.x+","+n.y+") with scale "+n.scale),r}return t(n,e),n.prototype.render=function(e){return r(this,void 0,void 0,(function(){var t,n;return o(this,(function(r){switch(r.label){case 0:return t=_a(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,e),[4,gc(t)];case 1:return n=r.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=or(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(n,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}}))}))},n}(cc),gc=function(e){return new Promise((function(t,n){var r=new Image;r.onload=function(){t(r)},r.onerror=n,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(e))}))},vc=function(){function e(e){var t=e.id,n=e.enabled;this.id=t,this.enabled=n,this.start=Date.now()}return e.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&("undefined"!==typeof window&&window.console&&"function"===typeof console.debug?console.debug.apply(console,i([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},e.prototype.getTime=function(){return Date.now()-this.start},e.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&"undefined"!==typeof window&&window.console&&"function"===typeof console.info&&console.info.apply(console,i([this.id,this.getTime()+"ms"],e))},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&("undefined"!==typeof window&&window.console&&"function"===typeof console.warn?console.warn.apply(console,i([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&("undefined"!==typeof window&&window.console&&"function"===typeof console.error?console.error.apply(console,i([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},e.instances={},e}(),yc=function(){function e(t,n){var r;this.windowBounds=n,this.instanceName="#"+e.instanceCount++,this.logger=new vc({id:this.instanceName,enabled:t.logging}),this.cache=null!==(r=t.cache)&&void 0!==r?r:new fl(this,t)}return e.instanceCount=1,e}(),Mc=function(e,t){return void 0===t&&(t={}),Oc(e,t)};"undefined"!==typeof window&&pl.setContext(window);var Oc=function(e,t){return r(void 0,void 0,void 0,(function(){var r,i,c,u,d,p,f,h,b,A,m,g,v,y,M,O,_,z,x,w,C,S,E,k,D,N,T,j,B,L,R,q,P,I,W,F,U,Z;return o(this,(function(o){switch(o.label){case 0:if(!e||"object"!==typeof e)return[2,Promise.reject("Invalid element provided as first argument")];if(!(r=e.ownerDocument))throw new Error("Element is not attached to a Document");if(!(i=r.defaultView))throw new Error("Document is not attached to a Window");return c={allowTaint:null!==(S=t.allowTaint)&&void 0!==S&&S,imageTimeout:null!==(E=t.imageTimeout)&&void 0!==E?E:15e3,proxy:t.proxy,useCORS:null!==(k=t.useCORS)&&void 0!==k&&k},u=n({logging:null===(D=t.logging)||void 0===D||D,cache:t.cache},c),d={windowWidth:null!==(N=t.windowWidth)&&void 0!==N?N:i.innerWidth,windowHeight:null!==(T=t.windowHeight)&&void 0!==T?T:i.innerHeight,scrollX:null!==(j=t.scrollX)&&void 0!==j?j:i.pageXOffset,scrollY:null!==(B=t.scrollY)&&void 0!==B?B:i.pageYOffset},p=new a(d.scrollX,d.scrollY,d.windowWidth,d.windowHeight),f=new yc(u,p),h=null!==(L=t.foreignObjectRendering)&&void 0!==L&&L,b={allowTaint:null!==(R=t.allowTaint)&&void 0!==R&&R,onclone:t.onclone,ignoreElements:t.ignoreElements,inlineImages:h,copyStyles:h},f.logger.debug("Starting document clone with size "+p.width+"x"+p.height+" scrolled to "+-p.left+","+-p.top),A=new Xs(f,e,b),(m=A.clonedReferenceElement)?[4,A.toIFrame(r,p)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return g=o.sent(),v=ms(m)||bs(m)?l(m.ownerDocument):s(f,m),y=v.width,M=v.height,O=v.left,_=v.top,z=_c(f,m,t.backgroundColor),x={canvas:t.canvas,backgroundColor:z,scale:null!==(P=null!==(q=t.scale)&&void 0!==q?q:i.devicePixelRatio)&&void 0!==P?P:1,x:(null!==(I=t.x)&&void 0!==I?I:0)+O,y:(null!==(W=t.y)&&void 0!==W?W:0)+_,width:null!==(F=t.width)&&void 0!==F?F:Math.ceil(y),height:null!==(U=t.height)&&void 0!==U?U:Math.ceil(M)},h?(f.logger.debug("Document cloned, using foreign object rendering"),[4,new mc(f,x).render(m)]):[3,3];case 2:return w=o.sent(),[3,5];case 3:return f.logger.debug("Document cloned, element located at "+O+","+_+" with size "+y+"x"+M+" using computed rendering"),f.logger.debug("Starting DOM parsing"),C=is(f,m),z===C.styles.backgroundColor&&(C.styles.backgroundColor=pr.TRANSPARENT),f.logger.debug("Starting renderer for element at "+x.x+","+x.y+" with size "+x.width+"x"+x.height),[4,new dc(f,x).render(C)];case 4:w=o.sent(),o.label=5;case 5:return(null===(Z=t.removeContainer)||void 0===Z||Z)&&(Xs.destroy(g)||f.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),f.logger.debug("Finished rendering"),[2,w]}}))}))},_c=function(e,t,n){var r=t.ownerDocument,o=r.documentElement?dr(e,getComputedStyle(r.documentElement).backgroundColor):pr.TRANSPARENT,i=r.body?dr(e,getComputedStyle(r.body).backgroundColor):pr.TRANSPARENT,a="string"===typeof n?dr(e,n):null===n?pr.TRANSPARENT:4294967295;return t===r.documentElement?rr(o)?rr(i)?a:i:o:a};return Mc}()},40651:function(e,t,n){self,e.exports=function(e,t){return function(){var r={"./src/plugin/hyperlinks.js":function(e,t,n){"use strict";n.r(t),n("./node_modules/core-js/modules/web.dom-collections.for-each.js"),n("./node_modules/core-js/modules/es.string.link.js");var r=n("./src/worker.js"),o=n("./src/utils.js"),i=[],a={toContainer:r.default.prototype.toContainer,toPdf:r.default.prototype.toPdf};r.default.prototype.toContainer=function(){return a.toContainer.call(this).then((function(){if(this.opt.enableLinks){var e=this.prop.container,t=e.querySelectorAll("a"),n=(0,o.unitConvert)(e.getBoundingClientRect(),this.prop.pageSize.k);i=[],Array.prototype.forEach.call(t,(function(e){for(var t=e.getClientRects(),r=0;r<t.length;r++){var a=(0,o.unitConvert)(t[r],this.prop.pageSize.k);a.left-=n.left,a.top-=n.top;var s=Math.floor(a.top/this.prop.pageSize.inner.height)+1,l=this.opt.margin[0]+a.top%this.prop.pageSize.inner.height,c=this.opt.margin[1]+a.left;i.push({page:s,top:l,left:c,clientRect:a,link:e})}}),this)}}))},r.default.prototype.toPdf=function(){return a.toPdf.call(this).then((function(){if(this.opt.enableLinks){i.forEach((function(e){this.prop.pdf.setPage(e.page),this.prop.pdf.link(e.left,e.top,e.clientRect.width,e.clientRect.height,{url:e.link.href})}),this);var e=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(e)}}))}},"./src/plugin/jspdf-plugin.js":function(e,t,n){"use strict";n.r(t),n("./node_modules/core-js/modules/es.symbol.js"),n("./node_modules/core-js/modules/es.symbol.description.js"),n("./node_modules/core-js/modules/es.object.to-string.js"),n("./node_modules/core-js/modules/es.symbol.iterator.js"),n("./node_modules/core-js/modules/es.array.iterator.js"),n("./node_modules/core-js/modules/es.string.iterator.js"),n("./node_modules/core-js/modules/web.dom-collections.iterator.js");var r=n("jspdf");function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}r.jsPDF.getPageSize=function(e,t,n){if("object"===o(e)){var r=e;e=r.orientation,t=r.unit||t,n=r.format||n}t=t||"mm",n=n||"a4",e=(""+(e||"P")).toLowerCase();var i=(""+n).toLowerCase(),a={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(t){case"pt":var s=1;break;case"mm":s=72/25.4;break;case"cm":s=72/2.54;break;case"in":s=72;break;case"px":s=.75;break;case"pc":case"em":s=12;break;case"ex":s=6;break;default:throw"Invalid unit: "+t}if(a.hasOwnProperty(i))var l=a[i][1]/s,c=a[i][0]/s;else try{l=n[1],c=n[0]}catch(e){throw new Error("Invalid format: "+n)}if("p"===e||"portrait"===e){if(e="p",c>l){var u=c;c=l,l=u}}else{if("l"!==e&&"landscape"!==e)throw"Invalid orientation: "+e;e="l",l>c&&(u=c,c=l,l=u)}return{width:c,height:l,unit:t,k:s}},t.default=r.jsPDF},"./src/plugin/pagebreaks.js":function(e,t,n){"use strict";n.r(t),n("./node_modules/core-js/modules/es.array.concat.js"),n("./node_modules/core-js/modules/es.array.slice.js"),n("./node_modules/core-js/modules/es.array.join.js"),n("./node_modules/core-js/modules/web.dom-collections.for-each.js"),n("./node_modules/core-js/modules/es.object.keys.js");var r=n("./src/worker.js"),o=n("./src/utils.js"),i={toContainer:r.default.prototype.toContainer};r.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},r.default.prototype.toContainer=function(){return i.toContainer.call(this).then((function(){var e=this.prop.container,t=this.prop.pageSize.inner.px.height,n=[].concat(this.opt.pagebreak.mode),r={avoidAll:-1!==n.indexOf("avoid-all"),css:-1!==n.indexOf("css"),legacy:-1!==n.indexOf("legacy")},i={},a=this;["before","after","avoid"].forEach((function(t){var n=r.avoidAll&&"avoid"===t;i[t]=n?[]:[].concat(a.opt.pagebreak[t]||[]),i[t].length>0&&(i[t]=Array.prototype.slice.call(e.querySelectorAll(i[t].join(", "))))}));var s=e.querySelectorAll(".html2pdf__page-break");s=Array.prototype.slice.call(s);var l=e.querySelectorAll("*");Array.prototype.forEach.call(l,(function(e){var n={before:!1,after:r.legacy&&-1!==s.indexOf(e),avoid:r.avoidAll};if(r.css){var a=window.getComputedStyle(e),l=["always","page","left","right"];n={before:n.before||-1!==l.indexOf(a.breakBefore||a.pageBreakBefore),after:n.after||-1!==l.indexOf(a.breakAfter||a.pageBreakAfter),avoid:n.avoid||-1!==["avoid","avoid-page"].indexOf(a.breakInside||a.pageBreakInside)}}Object.keys(n).forEach((function(t){n[t]=n[t]||-1!==i[t].indexOf(e)}));var c=e.getBoundingClientRect();if(n.avoid&&!n.before){var u=Math.floor(c.top/t),d=Math.floor(c.bottom/t),p=Math.abs(c.bottom-c.top)/t;d!==u&&p<=1&&(n.before=!0)}if(n.before){var f=(0,o.createElement)("div",{style:{display:"block",height:t-c.top%t+"px"}});e.parentNode.insertBefore(f,e)}n.after&&(f=(0,o.createElement)("div",{style:{display:"block",height:t-c.bottom%t+"px"}}),e.parentNode.insertBefore(f,e.nextSibling))}))}))}},"./src/utils.js":function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.r(t),n.d(t,{objType:function(){return o},createElement:function(){return i},cloneNode:function(){return a},unitConvert:function(){return s},toPx:function(){return l}}),n("./node_modules/core-js/modules/es.number.constructor.js"),n("./node_modules/core-js/modules/es.symbol.js"),n("./node_modules/core-js/modules/es.symbol.description.js"),n("./node_modules/core-js/modules/es.object.to-string.js"),n("./node_modules/core-js/modules/es.symbol.iterator.js"),n("./node_modules/core-js/modules/es.array.iterator.js"),n("./node_modules/core-js/modules/es.string.iterator.js"),n("./node_modules/core-js/modules/web.dom-collections.iterator.js");var o=function(e){var t=r(e);return"undefined"===t?"undefined":"string"===t||e instanceof String?"string":"number"===t||e instanceof Number?"number":"function"===t||e instanceof Function?"function":e&&e.constructor===Array?"array":e&&1===e.nodeType?"element":"object"===t?"object":"unknown"},i=function(e,t){var n=document.createElement(e);if(t.className&&(n.className=t.className),t.innerHTML){n.innerHTML=t.innerHTML;for(var r=n.getElementsByTagName("script"),o=r.length;o-- >0;null)r[o].parentNode.removeChild(r[o])}for(var i in t.style)n.style[i]=t.style[i];return n},a=function e(t,n){for(var r=3===t.nodeType?document.createTextNode(t.nodeValue):t.cloneNode(!1),o=t.firstChild;o;o=o.nextSibling)!0!==n&&1===o.nodeType&&"SCRIPT"===o.nodeName||r.appendChild(e(o,n));return 1===t.nodeType&&("CANVAS"===t.nodeName?(r.width=t.width,r.height=t.height,r.getContext("2d").drawImage(t,0,0)):"TEXTAREA"!==t.nodeName&&"SELECT"!==t.nodeName||(r.value=t.value),r.addEventListener("load",(function(){r.scrollTop=t.scrollTop,r.scrollLeft=t.scrollLeft}),!0)),r},s=function(e,t){if("number"===o(e))return 72*e/96/t;var n={};for(var r in e)n[r]=72*e[r]/96/t;return n},l=function(e,t){return Math.floor(e*t/72*96)}},"./src/worker.js":function(e,t,n){"use strict";n.r(t),n("./node_modules/core-js/modules/es.object.assign.js"),n("./node_modules/core-js/modules/es.array.map.js"),n("./node_modules/core-js/modules/es.object.keys.js"),n("./node_modules/core-js/modules/es.array.concat.js"),n("./node_modules/core-js/modules/es.object.to-string.js"),n("./node_modules/core-js/modules/es.regexp.to-string.js"),n("./node_modules/core-js/modules/es.function.name.js"),n("./node_modules/core-js/modules/web.dom-collections.for-each.js");var r=n("jspdf"),o=n("html2canvas"),i=n("./src/utils.js"),a=n("./node_modules/es6-promise/dist/es6-promise.js"),s=n.n(a)().Promise,l=function e(t){var n=Object.assign(e.convert(s.resolve()),JSON.parse(JSON.stringify(e.template))),r=e.convert(s.resolve(),n);return(r=r.setProgress(1,e,1,[e])).set(t)};(l.prototype=Object.create(s.prototype)).constructor=l,l.convert=function(e,t){return e.__proto__=t||l.prototype,e},l.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],image:{type:"jpeg",quality:.95},enableLinks:!0,html2canvas:{},jsPDF:{}}},l.prototype.from=function(e,t){return this.then((function(){switch(t=t||function(e){switch((0,i.objType)(e)){case"string":return"string";case"element":return"canvas"===e.nodeName.toLowerCase?"canvas":"element";default:return"unknown"}}(e)){case"string":return this.set({src:(0,i.createElement)("div",{innerHTML:e})});case"element":return this.set({src:e});case"canvas":return this.set({canvas:e});case"img":return this.set({img:e});default:return this.error("Unknown source type.")}}))},l.prototype.to=function(e){switch(e){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},l.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then((function(){var e={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},t={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};e.opacity=0;var n=(0,i.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,i.createElement)("div",{className:"html2pdf__overlay",style:e}),this.prop.container=(0,i.createElement)("div",{className:"html2pdf__container",style:t}),this.prop.container.appendChild(n),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)}))},l.prototype.toCanvas=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then((function(){var e=Object.assign({},this.opt.html2canvas);return delete e.onrendered,o(this.prop.container,e)})).then((function(e){(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)}))},l.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then((function(){var e=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=e}))},l.prototype.toPdf=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then((function(){var e=this.prop.canvas,t=this.opt,n=e.height,o=Math.floor(e.width*this.prop.pageSize.inner.ratio),i=Math.ceil(n/o),a=this.prop.pageSize.inner.height,s=document.createElement("canvas"),l=s.getContext("2d");s.width=e.width,s.height=o,this.prop.pdf=this.prop.pdf||new r.jsPDF(t.jsPDF);for(var c=0;c<i;c++){c===i-1&&n%o!=0&&(s.height=n%o,a=s.height*this.prop.pageSize.inner.width/s.width);var u=s.width,d=s.height;l.fillStyle="white",l.fillRect(0,0,u,d),l.drawImage(e,0,c*o,u,d,0,0,u,d),c&&this.prop.pdf.addPage();var p=s.toDataURL("image/"+t.image.type,t.image.quality);this.prop.pdf.addImage(p,t.image.type,t.margin[1],t.margin[0],this.prop.pageSize.inner.width,a)}}))},l.prototype.output=function(e,t,n){return"img"===(n=n||"pdf").toLowerCase()||"image"===n.toLowerCase()?this.outputImg(e,t):this.outputPdf(e,t)},l.prototype.outputPdf=function(e,t){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){return this.prop.pdf.output(e,t)}))},l.prototype.outputImg=function(e,t){return this.thenList([function(){return this.prop.img||this.toImg()}]).then((function(){switch(e){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+e+'" is not supported.'}}))},l.prototype.save=function(e){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(e?{filename:e}:null).then((function(){this.prop.pdf.save(this.opt.filename)}))},l.prototype.set=function(e){if("object"!==(0,i.objType)(e))return this;var t=Object.keys(e||{}).map((function(t){switch(t){case"margin":return this.setMargin.bind(this,e.margin);case"jsPDF":return function(){return this.opt.jsPDF=e.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,e.pageSize);default:return t in l.template.prop?function(){this.prop[t]=e[t]}:function(){this.opt[t]=e[t]}}}),this);return this.then((function(){return this.thenList(t)}))},l.prototype.get=function(e,t){return this.then((function(){var n=e in l.template.prop?this.prop[e]:this.opt[e];return t?t(n):n}))},l.prototype.setMargin=function(e){return this.then((function(){switch((0,i.objType)(e)){case"number":e=[e,e,e,e];case"array":if(2===e.length&&(e=[e[0],e[1],e[0],e[1]]),4===e.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=e})).then(this.setPageSize)},l.prototype.setPageSize=function(e){return this.then((function(){(e=e||r.jsPDF.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(e.inner={width:e.width-this.opt.margin[1]-this.opt.margin[3],height:e.height-this.opt.margin[0]-this.opt.margin[2]},e.inner.px={width:(0,i.toPx)(e.inner.width,e.k),height:(0,i.toPx)(e.inner.height,e.k)},e.inner.ratio=e.inner.height/e.inner.width),this.prop.pageSize=e}))},l.prototype.setProgress=function(e,t,n,r){return null!=e&&(this.progress.val=e),null!=t&&(this.progress.state=t),null!=n&&(this.progress.n=n),null!=r&&(this.progress.stack=r),this.progress.ratio=this.progress.val/this.progress.state,this},l.prototype.updateProgress=function(e,t,n,r){return this.setProgress(e?this.progress.val+e:null,t||null,n?this.progress.n+n:null,r?this.progress.stack.concat(r):null)},l.prototype.then=function(e,t){var n=this;return this.thenCore(e,t,(function(e,t){return n.updateProgress(null,null,1,[e]),s.prototype.then.call(this,(function(t){return n.updateProgress(null,e),t})).then(e,t).then((function(e){return n.updateProgress(1),e}))}))},l.prototype.thenCore=function(e,t,n){n=n||s.prototype.then;var r=this;e&&(e=e.bind(r)),t&&(t=t.bind(r));var o=-1!==s.toString().indexOf("[native code]")&&"Promise"===s.name?r:l.convert(Object.assign({},r),s.prototype),i=n.call(o,e,t);return l.convert(i,r.__proto__)},l.prototype.thenExternal=function(e,t){return s.prototype.then.call(this,e,t)},l.prototype.thenList=function(e){var t=this;return e.forEach((function(e){t=t.thenCore(e)})),t},l.prototype.catch=function(e){e&&(e=e.bind(this));var t=s.prototype.catch.call(this,e);return l.convert(t,this)},l.prototype.catchExternal=function(e){return s.prototype.catch.call(this,e)},l.prototype.error=function(e){return this.then((function(){throw new Error(e)}))},l.prototype.using=l.prototype.set,l.prototype.saveAs=l.prototype.save,l.prototype.export=l.prototype.output,l.prototype.run=l.prototype.then,t.default=l},"./node_modules/core-js/internals/a-function.js":function(e){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},"./node_modules/core-js/internals/a-possible-prototype.js":function(e,t,n){var r=n("./node_modules/core-js/internals/is-object.js");e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},"./node_modules/core-js/internals/add-to-unscopables.js":function(e,t,n){var r=n("./node_modules/core-js/internals/well-known-symbol.js"),o=n("./node_modules/core-js/internals/object-create.js"),i=n("./node_modules/core-js/internals/object-define-property.js"),a=r("unscopables"),s=Array.prototype;null==s[a]&&i.f(s,a,{configurable:!0,value:o(null)}),e.exports=function(e){s[a][e]=!0}},"./node_modules/core-js/internals/an-object.js":function(e,t,n){var r=n("./node_modules/core-js/internals/is-object.js");e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},"./node_modules/core-js/internals/array-for-each.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/internals/array-iteration.js").forEach,o=n("./node_modules/core-js/internals/array-method-is-strict.js")("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(e,t,n){var r=n("./node_modules/core-js/internals/to-indexed-object.js"),o=n("./node_modules/core-js/internals/to-length.js"),i=n("./node_modules/core-js/internals/to-absolute-index.js"),a=function(e){return function(t,n,a){var s,l=r(t),c=o(l.length),u=i(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(e,t,n){var r=n("./node_modules/core-js/internals/function-bind-context.js"),o=n("./node_modules/core-js/internals/indexed-object.js"),i=n("./node_modules/core-js/internals/to-object.js"),a=n("./node_modules/core-js/internals/to-length.js"),s=n("./node_modules/core-js/internals/array-species-create.js"),l=[].push,c=function(e){var t=1==e,n=2==e,c=3==e,u=4==e,d=6==e,p=7==e,f=5==e||d;return function(h,b,A,m){for(var g,v,y=i(h),M=o(y),O=r(b,A,3),_=a(M.length),z=0,x=m||s,w=t?x(h,_):n||p?x(h,0):void 0;_>z;z++)if((f||z in M)&&(v=O(g=M[z],z,y),e))if(t)w[z]=v;else if(v)switch(e){case 3:return!0;case 5:return g;case 6:return z;case 2:l.call(w,g)}else switch(e){case 4:return!1;case 7:l.call(w,g)}return d?-1:c||u?u:w}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(e,t,n){var r=n("./node_modules/core-js/internals/fails.js"),o=n("./node_modules/core-js/internals/well-known-symbol.js"),i=n("./node_modules/core-js/internals/engine-v8-version.js"),a=o("species");e.exports=function(e){return i>=51||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},"./node_modules/core-js/internals/array-method-is-strict.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/internals/fails.js");e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},"./node_modules/core-js/internals/array-species-constructor.js":function(e,t,n){var r=n("./node_modules/core-js/internals/is-object.js"),o=n("./node_modules/core-js/internals/is-array.js"),i=n("./node_modules/core-js/internals/well-known-symbol.js")("species");e.exports=function(e){var t;return o(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!o(t.prototype)?r(t)&&null===(t=t[i])&&(t=void 0):t=void 0),void 0===t?Array:t}},"./node_modules/core-js/internals/array-species-create.js":function(e,t,n){var r=n("./node_modules/core-js/internals/array-species-constructor.js");e.exports=function(e,t){return new(r(e))(0===t?0:t)}},"./node_modules/core-js/internals/classof-raw.js":function(e){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(e,t,n){var r=n("./node_modules/core-js/internals/to-string-tag-support.js"),o=n("./node_modules/core-js/internals/classof-raw.js"),i=n("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag"),a="Arguments"==o(function(){return arguments}());e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:a?o(t):"Object"==(r=o(t))&&"function"==typeof t.callee?"Arguments":r}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(e,t,n){var r=n("./node_modules/core-js/internals/has.js"),o=n("./node_modules/core-js/internals/own-keys.js"),i=n("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),a=n("./node_modules/core-js/internals/object-define-property.js");e.exports=function(e,t){for(var n=o(t),s=a.f,l=i.f,c=0;c<n.length;c++){var u=n[c];r(e,u)||s(e,u,l(t,u))}}},"./node_modules/core-js/internals/correct-prototype-getter.js":function(e,t,n){var r=n("./node_modules/core-js/internals/fails.js");e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},"./node_modules/core-js/internals/create-html.js":function(e,t,n){var r=n("./node_modules/core-js/internals/require-object-coercible.js"),o=n("./node_modules/core-js/internals/to-string.js"),i=/"/g;e.exports=function(e,t,n,a){var s=o(r(e)),l="<"+t;return""!==n&&(l+=" "+n+'="'+o(a).replace(i,"&quot;")+'"'),l+">"+s+"</"+t+">"}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,o=n("./node_modules/core-js/internals/object-create.js"),i=n("./node_modules/core-js/internals/create-property-descriptor.js"),a=n("./node_modules/core-js/internals/set-to-string-tag.js"),s=n("./node_modules/core-js/internals/iterators.js"),l=function(){return this};e.exports=function(e,t,n){var c=t+" Iterator";return e.prototype=o(r,{next:i(1,n)}),a(e,c,!1,!0),s[c]=l,e}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(e,t,n){var r=n("./node_modules/core-js/internals/descriptors.js"),o=n("./node_modules/core-js/internals/object-define-property.js"),i=n("./node_modules/core-js/internals/create-property-descriptor.js");e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},"./node_modules/core-js/internals/create-property-descriptor.js":function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"./node_modules/core-js/internals/create-property.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/internals/to-property-key.js"),o=n("./node_modules/core-js/internals/object-define-property.js"),i=n("./node_modules/core-js/internals/create-property-descriptor.js");e.exports=function(e,t,n){var a=r(t);a in e?o.f(e,a,i(0,n)):e[a]=n}},"./node_modules/core-js/internals/define-iterator.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/create-iterator-constructor.js"),i=n("./node_modules/core-js/internals/object-get-prototype-of.js"),a=n("./node_modules/core-js/internals/object-set-prototype-of.js"),s=n("./node_modules/core-js/internals/set-to-string-tag.js"),l=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),c=n("./node_modules/core-js/internals/redefine.js"),u=n("./node_modules/core-js/internals/well-known-symbol.js"),d=n("./node_modules/core-js/internals/is-pure.js"),p=n("./node_modules/core-js/internals/iterators.js"),f=n("./node_modules/core-js/internals/iterators-core.js"),h=f.IteratorPrototype,b=f.BUGGY_SAFARI_ITERATORS,A=u("iterator"),m="keys",g="values",v="entries",y=function(){return this};e.exports=function(e,t,n,u,f,M,O){o(n,t,u);var _,z,x,w=function(e){if(e===f&&D)return D;if(!b&&e in E)return E[e];switch(e){case m:case g:case v:return function(){return new n(this,e)}}return function(){return new n(this)}},C=t+" Iterator",S=!1,E=e.prototype,k=E[A]||E["@@iterator"]||f&&E[f],D=!b&&k||w(f),N="Array"==t&&E.entries||k;if(N&&(_=i(N.call(new e)),h!==Object.prototype&&_.next&&(d||i(_)===h||(a?a(_,h):"function"!=typeof _[A]&&l(_,A,y)),s(_,C,!0,!0),d&&(p[C]=y))),f==g&&k&&k.name!==g&&(S=!0,D=function(){return k.call(this)}),d&&!O||E[A]===D||l(E,A,D),p[t]=D,f)if(z={values:w(g),keys:M?D:w(m),entries:w(v)},O)for(x in z)(b||S||!(x in E))&&c(E,x,z[x]);else r({target:t,proto:!0,forced:b||S},z);return z}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(e,t,n){var r=n("./node_modules/core-js/internals/path.js"),o=n("./node_modules/core-js/internals/has.js"),i=n("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),a=n("./node_modules/core-js/internals/object-define-property.js").f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},"./node_modules/core-js/internals/descriptors.js":function(e,t,n){var r=n("./node_modules/core-js/internals/fails.js");e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"./node_modules/core-js/internals/document-create-element.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global.js"),o=n("./node_modules/core-js/internals/is-object.js"),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},"./node_modules/core-js/internals/dom-iterables.js":function(e){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"./node_modules/core-js/internals/engine-user-agent.js":function(e,t,n){var r=n("./node_modules/core-js/internals/get-built-in.js");e.exports=r("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(e,t,n){var r,o,i=n("./node_modules/core-js/internals/global.js"),a=n("./node_modules/core-js/internals/engine-user-agent.js"),s=i.process,l=i.Deno,c=s&&s.versions||l&&l.version,u=c&&c.v8;u?o=(r=u.split("."))[0]<4?1:r[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),e.exports=o&&+o},"./node_modules/core-js/internals/enum-bug-keys.js":function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global.js"),o=n("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,i=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),a=n("./node_modules/core-js/internals/redefine.js"),s=n("./node_modules/core-js/internals/set-global.js"),l=n("./node_modules/core-js/internals/copy-constructor-properties.js"),c=n("./node_modules/core-js/internals/is-forced.js");e.exports=function(e,t){var n,u,d,p,f,h=e.target,b=e.global,A=e.stat;if(n=b?r:A?r[h]||s(h,{}):(r[h]||{}).prototype)for(u in t){if(p=t[u],d=e.noTargetGet?(f=o(n,u))&&f.value:n[u],!c(b?u:h+(A?".":"#")+u,e.forced)&&void 0!==d){if(typeof p==typeof d)continue;l(p,d)}(e.sham||d&&d.sham)&&i(p,"sham",!0),a(n,u,p,e)}}},"./node_modules/core-js/internals/fails.js":function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(e,t,n){var r=n("./node_modules/core-js/internals/a-function.js");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global.js"),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e]):r[e]&&r[e][t]}},"./node_modules/core-js/internals/global.js":function(e){var t=function(e){return e&&e.Math==Math&&e};e.exports=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(e,t,n){var r=n("./node_modules/core-js/internals/to-object.js"),o={}.hasOwnProperty;e.exports=Object.hasOwn||function(e,t){return o.call(r(e),t)}},"./node_modules/core-js/internals/hidden-keys.js":function(e){e.exports={}},"./node_modules/core-js/internals/html.js":function(e,t,n){var r=n("./node_modules/core-js/internals/get-built-in.js");e.exports=r("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(e,t,n){var r=n("./node_modules/core-js/internals/descriptors.js"),o=n("./node_modules/core-js/internals/fails.js"),i=n("./node_modules/core-js/internals/document-create-element.js");e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},"./node_modules/core-js/internals/indexed-object.js":function(e,t,n){var r=n("./node_modules/core-js/internals/fails.js"),o=n("./node_modules/core-js/internals/classof-raw.js"),i="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(e,t,n){var r=n("./node_modules/core-js/internals/is-object.js"),o=n("./node_modules/core-js/internals/object-set-prototype-of.js");e.exports=function(e,t,n){var i,a;return o&&"function"==typeof(i=t.constructor)&&i!==n&&r(a=i.prototype)&&a!==n.prototype&&o(e,a),e}},"./node_modules/core-js/internals/inspect-source.js":function(e,t,n){var r=n("./node_modules/core-js/internals/shared-store.js"),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return o.call(e)}),e.exports=r.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(e,t,n){var r,o,i,a=n("./node_modules/core-js/internals/native-weak-map.js"),s=n("./node_modules/core-js/internals/global.js"),l=n("./node_modules/core-js/internals/is-object.js"),c=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),u=n("./node_modules/core-js/internals/has.js"),d=n("./node_modules/core-js/internals/shared-store.js"),p=n("./node_modules/core-js/internals/shared-key.js"),f=n("./node_modules/core-js/internals/hidden-keys.js"),h="Object already initialized",b=s.WeakMap;if(a||d.state){var A=d.state||(d.state=new b),m=A.get,g=A.has,v=A.set;r=function(e,t){if(g.call(A,e))throw new TypeError(h);return t.facade=e,v.call(A,e,t),t},o=function(e){return m.call(A,e)||{}},i=function(e){return g.call(A,e)}}else{var y=p("state");f[y]=!0,r=function(e,t){if(u(e,y))throw new TypeError(h);return t.facade=e,c(e,y,t),t},o=function(e){return u(e,y)?e[y]:{}},i=function(e){return u(e,y)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},"./node_modules/core-js/internals/is-array.js":function(e,t,n){var r=n("./node_modules/core-js/internals/classof-raw.js");e.exports=Array.isArray||function(e){return"Array"==r(e)}},"./node_modules/core-js/internals/is-forced.js":function(e,t,n){var r=n("./node_modules/core-js/internals/fails.js"),o=/#|\.prototype\./,i=function(e,t){var n=s[a(e)];return n==c||n!=l&&("function"==typeof t?r(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},s=i.data={},l=i.NATIVE="N",c=i.POLYFILL="P";e.exports=i},"./node_modules/core-js/internals/is-object.js":function(e){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},"./node_modules/core-js/internals/is-pure.js":function(e){e.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(e,t,n){var r=n("./node_modules/core-js/internals/get-built-in.js"),o=n("./node_modules/core-js/internals/use-symbol-as-uid.js");e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return"function"==typeof t&&Object(e)instanceof t}},"./node_modules/core-js/internals/iterators-core.js":function(e,t,n){"use strict";var r,o,i,a=n("./node_modules/core-js/internals/fails.js"),s=n("./node_modules/core-js/internals/object-get-prototype-of.js"),l=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),c=n("./node_modules/core-js/internals/has.js"),u=n("./node_modules/core-js/internals/well-known-symbol.js"),d=n("./node_modules/core-js/internals/is-pure.js"),p=u("iterator"),f=!1;[].keys&&("next"in(i=[].keys())?(o=s(s(i)))!==Object.prototype&&(r=o):f=!0);var h=null==r||a((function(){var e={};return r[p].call(e)!==e}));h&&(r={}),d&&!h||c(r,p)||l(r,p,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:f}},"./node_modules/core-js/internals/iterators.js":function(e){e.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(e,t,n){var r=n("./node_modules/core-js/internals/engine-v8-version.js"),o=n("./node_modules/core-js/internals/fails.js");e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},"./node_modules/core-js/internals/native-weak-map.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global.js"),o=n("./node_modules/core-js/internals/inspect-source.js"),i=r.WeakMap;e.exports="function"==typeof i&&/native code/.test(o(i))},"./node_modules/core-js/internals/object-assign.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/internals/descriptors.js"),o=n("./node_modules/core-js/internals/fails.js"),i=n("./node_modules/core-js/internals/object-keys.js"),a=n("./node_modules/core-js/internals/object-get-own-property-symbols.js"),s=n("./node_modules/core-js/internals/object-property-is-enumerable.js"),l=n("./node_modules/core-js/internals/to-object.js"),c=n("./node_modules/core-js/internals/indexed-object.js"),u=Object.assign,d=Object.defineProperty;e.exports=!u||o((function(){if(r&&1!==u({b:1},u(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||i(u({},t)).join("")!=o}))?function(e,t){for(var n=l(e),o=arguments.length,u=1,d=a.f,p=s.f;o>u;)for(var f,h=c(arguments[u++]),b=d?i(h).concat(d(h)):i(h),A=b.length,m=0;A>m;)f=b[m++],r&&!p.call(h,f)||(n[f]=h[f]);return n}:u},"./node_modules/core-js/internals/object-create.js":function(e,t,n){var r,o=n("./node_modules/core-js/internals/an-object.js"),i=n("./node_modules/core-js/internals/object-define-properties.js"),a=n("./node_modules/core-js/internals/enum-bug-keys.js"),s=n("./node_modules/core-js/internals/hidden-keys.js"),l=n("./node_modules/core-js/internals/html.js"),c=n("./node_modules/core-js/internals/document-create-element.js"),u=n("./node_modules/core-js/internals/shared-key.js")("IE_PROTO"),d=function(){},p=function(e){return"<script>"+e+"<\/script>"},f=function(e){e.write(p("")),e.close();var t=e.parentWindow.Object;return e=null,t},h=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}h=document.domain&&r?f(r):function(){var e,t=c("iframe");if(t.style)return t.style.display="none",l.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(p("document.F=Object")),e.close(),e.F}()||f(r);for(var e=a.length;e--;)delete h.prototype[a[e]];return h()};s[u]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(d.prototype=o(e),n=new d,d.prototype=null,n[u]=e):n=h(),void 0===t?n:i(n,t)}},"./node_modules/core-js/internals/object-define-properties.js":function(e,t,n){var r=n("./node_modules/core-js/internals/descriptors.js"),o=n("./node_modules/core-js/internals/object-define-property.js"),i=n("./node_modules/core-js/internals/an-object.js"),a=n("./node_modules/core-js/internals/object-keys.js");e.exports=r?Object.defineProperties:function(e,t){i(e);for(var n,r=a(t),s=r.length,l=0;s>l;)o.f(e,n=r[l++],t[n]);return e}},"./node_modules/core-js/internals/object-define-property.js":function(e,t,n){var r=n("./node_modules/core-js/internals/descriptors.js"),o=n("./node_modules/core-js/internals/ie8-dom-define.js"),i=n("./node_modules/core-js/internals/an-object.js"),a=n("./node_modules/core-js/internals/to-property-key.js"),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(i(e),t=a(t),i(n),o)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(e,t,n){var r=n("./node_modules/core-js/internals/descriptors.js"),o=n("./node_modules/core-js/internals/object-property-is-enumerable.js"),i=n("./node_modules/core-js/internals/create-property-descriptor.js"),a=n("./node_modules/core-js/internals/to-indexed-object.js"),s=n("./node_modules/core-js/internals/to-property-key.js"),l=n("./node_modules/core-js/internals/has.js"),c=n("./node_modules/core-js/internals/ie8-dom-define.js"),u=Object.getOwnPropertyDescriptor;t.f=r?u:function(e,t){if(e=a(e),t=s(t),c)try{return u(e,t)}catch(e){}if(l(e,t))return i(!o.f.call(e,t),e[t])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(e,t,n){var r=n("./node_modules/core-js/internals/to-indexed-object.js"),o=n("./node_modules/core-js/internals/object-get-own-property-names.js").f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(e,t,n){var r=n("./node_modules/core-js/internals/object-keys-internal.js"),o=n("./node_modules/core-js/internals/enum-bug-keys.js").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(e,t){t.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(e,t,n){var r=n("./node_modules/core-js/internals/has.js"),o=n("./node_modules/core-js/internals/to-object.js"),i=n("./node_modules/core-js/internals/shared-key.js"),a=n("./node_modules/core-js/internals/correct-prototype-getter.js"),s=i("IE_PROTO"),l=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=o(e),r(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(e,t,n){var r=n("./node_modules/core-js/internals/has.js"),o=n("./node_modules/core-js/internals/to-indexed-object.js"),i=n("./node_modules/core-js/internals/array-includes.js").indexOf,a=n("./node_modules/core-js/internals/hidden-keys.js");e.exports=function(e,t){var n,s=o(e),l=0,c=[];for(n in s)!r(a,n)&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~i(c,n)||c.push(n));return c}},"./node_modules/core-js/internals/object-keys.js":function(e,t,n){var r=n("./node_modules/core-js/internals/object-keys-internal.js"),o=n("./node_modules/core-js/internals/enum-bug-keys.js");e.exports=Object.keys||function(e){return r(e,o)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(e,t){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},"./node_modules/core-js/internals/object-set-prototype-of.js":function(e,t,n){var r=n("./node_modules/core-js/internals/an-object.js"),o=n("./node_modules/core-js/internals/a-possible-prototype.js");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,i){return r(n),o(i),t?e.call(n,i):n.__proto__=i,n}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/internals/to-string-tag-support.js"),o=n("./node_modules/core-js/internals/classof.js");e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(e,t,n){var r=n("./node_modules/core-js/internals/is-object.js");e.exports=function(e,t){var n,o;if("string"===t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if("string"!==t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(e,t,n){var r=n("./node_modules/core-js/internals/get-built-in.js"),o=n("./node_modules/core-js/internals/object-get-own-property-names.js"),i=n("./node_modules/core-js/internals/object-get-own-property-symbols.js"),a=n("./node_modules/core-js/internals/an-object.js");e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},"./node_modules/core-js/internals/path.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global.js");e.exports=r},"./node_modules/core-js/internals/redefine.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global.js"),o=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),i=n("./node_modules/core-js/internals/has.js"),a=n("./node_modules/core-js/internals/set-global.js"),s=n("./node_modules/core-js/internals/inspect-source.js"),l=n("./node_modules/core-js/internals/internal-state.js"),c=l.get,u=l.enforce,d=String(String).split("String");(e.exports=function(e,t,n,s){var l,c=!!s&&!!s.unsafe,p=!!s&&!!s.enumerable,f=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||i(n,"name")||o(n,"name",t),(l=u(n)).source||(l.source=d.join("string"==typeof t?t:""))),e!==r?(c?!f&&e[t]&&(p=!0):delete e[t],p?e[t]=n:o(e,t,n)):p?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||s(this)}))},"./node_modules/core-js/internals/regexp-flags.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/internals/an-object.js");e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},"./node_modules/core-js/internals/require-object-coercible.js":function(e){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},"./node_modules/core-js/internals/set-global.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global.js");e.exports=function(e,t){try{Object.defineProperty(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},"./node_modules/core-js/internals/set-to-string-tag.js":function(e,t,n){var r=n("./node_modules/core-js/internals/object-define-property.js").f,o=n("./node_modules/core-js/internals/has.js"),i=n("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},"./node_modules/core-js/internals/shared-key.js":function(e,t,n){var r=n("./node_modules/core-js/internals/shared.js"),o=n("./node_modules/core-js/internals/uid.js"),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},"./node_modules/core-js/internals/shared-store.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global.js"),o=n("./node_modules/core-js/internals/set-global.js"),i="__core-js_shared__",a=r[i]||o(i,{});e.exports=a},"./node_modules/core-js/internals/shared.js":function(e,t,n){var r=n("./node_modules/core-js/internals/is-pure.js"),o=n("./node_modules/core-js/internals/shared-store.js");(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.16.0",mode:r?"pure":"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(e,t,n){var r=n("./node_modules/core-js/internals/fails.js");e.exports=function(e){return r((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},"./node_modules/core-js/internals/string-multibyte.js":function(e,t,n){var r=n("./node_modules/core-js/internals/to-integer.js"),o=n("./node_modules/core-js/internals/to-string.js"),i=n("./node_modules/core-js/internals/require-object-coercible.js"),a=function(e){return function(t,n){var a,s,l=o(i(t)),c=r(n),u=l.length;return c<0||c>=u?e?"":void 0:(a=l.charCodeAt(c))<55296||a>56319||c+1===u||(s=l.charCodeAt(c+1))<56320||s>57343?e?l.charAt(c):a:e?l.slice(c,c+2):s-56320+(a-55296<<10)+65536}};e.exports={codeAt:a(!1),charAt:a(!0)}},"./node_modules/core-js/internals/string-trim.js":function(e,t,n){var r=n("./node_modules/core-js/internals/require-object-coercible.js"),o=n("./node_modules/core-js/internals/to-string.js"),i="["+n("./node_modules/core-js/internals/whitespaces.js")+"]",a=RegExp("^"+i+i+"*"),s=RegExp(i+i+"*$"),l=function(e){return function(t){var n=o(r(t));return 1&e&&(n=n.replace(a,"")),2&e&&(n=n.replace(s,"")),n}};e.exports={start:l(1),end:l(2),trim:l(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(e,t,n){var r=n("./node_modules/core-js/internals/to-integer.js"),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},"./node_modules/core-js/internals/to-indexed-object.js":function(e,t,n){var r=n("./node_modules/core-js/internals/indexed-object.js"),o=n("./node_modules/core-js/internals/require-object-coercible.js");e.exports=function(e){return r(o(e))}},"./node_modules/core-js/internals/to-integer.js":function(e){var t=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:t)(e)}},"./node_modules/core-js/internals/to-length.js":function(e,t,n){var r=n("./node_modules/core-js/internals/to-integer.js"),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(e,t,n){var r=n("./node_modules/core-js/internals/require-object-coercible.js");e.exports=function(e){return Object(r(e))}},"./node_modules/core-js/internals/to-primitive.js":function(e,t,n){var r=n("./node_modules/core-js/internals/is-object.js"),o=n("./node_modules/core-js/internals/is-symbol.js"),i=n("./node_modules/core-js/internals/ordinary-to-primitive.js"),a=n("./node_modules/core-js/internals/well-known-symbol.js")("toPrimitive");e.exports=function(e,t){if(!r(e)||o(e))return e;var n,s=e[a];if(void 0!==s){if(void 0===t&&(t="default"),n=s.call(e,t),!r(n)||o(n))return n;throw TypeError("Can't convert object to primitive value")}return void 0===t&&(t="number"),i(e,t)}},"./node_modules/core-js/internals/to-property-key.js":function(e,t,n){var r=n("./node_modules/core-js/internals/to-primitive.js"),o=n("./node_modules/core-js/internals/is-symbol.js");e.exports=function(e){var t=r(e,"string");return o(t)?t:String(t)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(e,t,n){var r={};r[n("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag")]="z",e.exports="[object z]"===String(r)},"./node_modules/core-js/internals/to-string.js":function(e,t,n){var r=n("./node_modules/core-js/internals/is-symbol.js");e.exports=function(e){if(r(e))throw TypeError("Cannot convert a Symbol value to a string");return String(e)}},"./node_modules/core-js/internals/uid.js":function(e){var t=0,n=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++t+n).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(e,t,n){var r=n("./node_modules/core-js/internals/native-symbol.js");e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(e,t,n){var r=n("./node_modules/core-js/internals/well-known-symbol.js");t.f=r},"./node_modules/core-js/internals/well-known-symbol.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global.js"),o=n("./node_modules/core-js/internals/shared.js"),i=n("./node_modules/core-js/internals/has.js"),a=n("./node_modules/core-js/internals/uid.js"),s=n("./node_modules/core-js/internals/native-symbol.js"),l=n("./node_modules/core-js/internals/use-symbol-as-uid.js"),c=o("wks"),u=r.Symbol,d=l?u:u&&u.withoutSetter||a;e.exports=function(e){return i(c,e)&&(s||"string"==typeof c[e])||(s&&i(u,e)?c[e]=u[e]:c[e]=d("Symbol."+e)),c[e]}},"./node_modules/core-js/internals/whitespaces.js":function(e){e.exports="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},"./node_modules/core-js/modules/es.array.concat.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/fails.js"),i=n("./node_modules/core-js/internals/is-array.js"),a=n("./node_modules/core-js/internals/is-object.js"),s=n("./node_modules/core-js/internals/to-object.js"),l=n("./node_modules/core-js/internals/to-length.js"),c=n("./node_modules/core-js/internals/create-property.js"),u=n("./node_modules/core-js/internals/array-species-create.js"),d=n("./node_modules/core-js/internals/array-method-has-species-support.js"),p=n("./node_modules/core-js/internals/well-known-symbol.js"),f=n("./node_modules/core-js/internals/engine-v8-version.js"),h=p("isConcatSpreadable"),b=9007199254740991,A="Maximum allowed index exceeded",m=f>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),g=d("concat"),v=function(e){if(!a(e))return!1;var t=e[h];return void 0!==t?!!t:i(e)};r({target:"Array",proto:!0,forced:!m||!g},{concat:function(e){var t,n,r,o,i,a=s(this),d=u(a,0),p=0;for(t=-1,r=arguments.length;t<r;t++)if(v(i=-1===t?a:arguments[t])){if(p+(o=l(i.length))>b)throw TypeError(A);for(n=0;n<o;n++,p++)n in i&&c(d,p,i[n])}else{if(p>=b)throw TypeError(A);c(d,p++,i)}return d.length=p,d}})},"./node_modules/core-js/modules/es.array.iterator.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/internals/to-indexed-object.js"),o=n("./node_modules/core-js/internals/add-to-unscopables.js"),i=n("./node_modules/core-js/internals/iterators.js"),a=n("./node_modules/core-js/internals/internal-state.js"),s=n("./node_modules/core-js/internals/define-iterator.js"),l="Array Iterator",c=a.set,u=a.getterFor(l);e.exports=s(Array,"Array",(function(e,t){c(this,{type:l,target:r(e),index:0,kind:t})}),(function(){var e=u(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},"./node_modules/core-js/modules/es.array.join.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/indexed-object.js"),i=n("./node_modules/core-js/internals/to-indexed-object.js"),a=n("./node_modules/core-js/internals/array-method-is-strict.js"),s=[].join,l=o!=Object,c=a("join",",");r({target:"Array",proto:!0,forced:l||!c},{join:function(e){return s.call(i(this),void 0===e?",":e)}})},"./node_modules/core-js/modules/es.array.map.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/array-iteration.js").map;r({target:"Array",proto:!0,forced:!n("./node_modules/core-js/internals/array-method-has-species-support.js")("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/is-object.js"),i=n("./node_modules/core-js/internals/is-array.js"),a=n("./node_modules/core-js/internals/to-absolute-index.js"),s=n("./node_modules/core-js/internals/to-length.js"),l=n("./node_modules/core-js/internals/to-indexed-object.js"),c=n("./node_modules/core-js/internals/create-property.js"),u=n("./node_modules/core-js/internals/well-known-symbol.js"),d=n("./node_modules/core-js/internals/array-method-has-species-support.js")("slice"),p=u("species"),f=[].slice,h=Math.max;r({target:"Array",proto:!0,forced:!d},{slice:function(e,t){var n,r,u,d=l(this),b=s(d.length),A=a(e,b),m=a(void 0===t?b:t,b);if(i(d)&&("function"!=typeof(n=d.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[p])&&(n=void 0):n=void 0,n===Array||void 0===n))return f.call(d,A,m);for(r=new(void 0===n?Array:n)(h(m-A,0)),u=0;A<m;A++,u++)A in d&&c(r,u,d[A]);return r.length=u,r}})},"./node_modules/core-js/modules/es.function.name.js":function(e,t,n){var r=n("./node_modules/core-js/internals/descriptors.js"),o=n("./node_modules/core-js/internals/object-define-property.js").f,i=Function.prototype,a=i.toString,s=/^\s*function ([^ (]*)/,l="name";r&&!(l in i)&&o(i,l,{configurable:!0,get:function(){try{return a.call(this).match(s)[1]}catch(e){return""}}})},"./node_modules/core-js/modules/es.number.constructor.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/internals/descriptors.js"),o=n("./node_modules/core-js/internals/global.js"),i=n("./node_modules/core-js/internals/is-forced.js"),a=n("./node_modules/core-js/internals/redefine.js"),s=n("./node_modules/core-js/internals/has.js"),l=n("./node_modules/core-js/internals/classof-raw.js"),c=n("./node_modules/core-js/internals/inherit-if-required.js"),u=n("./node_modules/core-js/internals/is-symbol.js"),d=n("./node_modules/core-js/internals/to-primitive.js"),p=n("./node_modules/core-js/internals/fails.js"),f=n("./node_modules/core-js/internals/object-create.js"),h=n("./node_modules/core-js/internals/object-get-own-property-names.js").f,b=n("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,A=n("./node_modules/core-js/internals/object-define-property.js").f,m=n("./node_modules/core-js/internals/string-trim.js").trim,g="Number",v=o.Number,y=v.prototype,M=l(f(y))==g,O=function(e){if(u(e))throw TypeError("Cannot convert a Symbol value to a number");var t,n,r,o,i,a,s,l,c=d(e,"number");if("string"==typeof c&&c.length>2)if(43===(t=(c=m(c)).charCodeAt(0))||45===t){if(88===(n=c.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(c.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+c}for(a=(i=c.slice(2)).length,s=0;s<a;s++)if((l=i.charCodeAt(s))<48||l>o)return NaN;return parseInt(i,r)}return+c};if(i(g,!v(" 0o1")||!v("0b1")||v("+0x1"))){for(var _,z=function e(t){var n=arguments.length<1?0:t,r=this;return r instanceof e&&(M?p((function(){y.valueOf.call(r)})):l(r)!=g)?c(new v(O(n)),r,e):O(n)},x=r?h(v):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),w=0;x.length>w;w++)s(v,_=x[w])&&!s(z,_)&&A(z,_,b(v,_));z.prototype=y,y.constructor=z,a(o,g,z)}},"./node_modules/core-js/modules/es.object.assign.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/object-assign.js");r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},"./node_modules/core-js/modules/es.object.keys.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/to-object.js"),i=n("./node_modules/core-js/internals/object-keys.js");r({target:"Object",stat:!0,forced:n("./node_modules/core-js/internals/fails.js")((function(){i(1)}))},{keys:function(e){return i(o(e))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(e,t,n){var r=n("./node_modules/core-js/internals/to-string-tag-support.js"),o=n("./node_modules/core-js/internals/redefine.js"),i=n("./node_modules/core-js/internals/object-to-string.js");r||o(Object.prototype,"toString",i,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/internals/redefine.js"),o=n("./node_modules/core-js/internals/an-object.js"),i=n("./node_modules/core-js/internals/to-string.js"),a=n("./node_modules/core-js/internals/fails.js"),s=n("./node_modules/core-js/internals/regexp-flags.js"),l="toString",c=RegExp.prototype,u=c.toString,d=a((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),p=u.name!=l;(d||p)&&r(RegExp.prototype,l,(function(){var e=o(this),t=i(e.source),n=e.flags;return"/"+t+"/"+i(void 0===n&&e instanceof RegExp&&!("flags"in c)?s.call(e):n)}),{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/internals/string-multibyte.js").charAt,o=n("./node_modules/core-js/internals/to-string.js"),i=n("./node_modules/core-js/internals/internal-state.js"),a=n("./node_modules/core-js/internals/define-iterator.js"),s="String Iterator",l=i.set,c=i.getterFor(s);a(String,"String",(function(e){l(this,{type:s,string:o(e),index:0})}),(function(){var e,t=c(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=r(n,o),t.index+=e.length,{value:e,done:!1})}))},"./node_modules/core-js/modules/es.string.link.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/create-html.js");r({target:"String",proto:!0,forced:n("./node_modules/core-js/internals/string-html-forced.js")("link")},{link:function(e){return o(this,"a","href",e)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/descriptors.js"),i=n("./node_modules/core-js/internals/global.js"),a=n("./node_modules/core-js/internals/has.js"),s=n("./node_modules/core-js/internals/is-object.js"),l=n("./node_modules/core-js/internals/object-define-property.js").f,c=n("./node_modules/core-js/internals/copy-constructor-properties.js"),u=i.Symbol;if(o&&"function"==typeof u&&(!("description"in u.prototype)||void 0!==u().description)){var d={},p=function e(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),n=this instanceof e?new u(t):void 0===t?u():u(t);return""===t&&(d[n]=!0),n};c(p,u);var f=p.prototype=u.prototype;f.constructor=p;var h=f.toString,b="Symbol(test)"==String(u("test")),A=/^Symbol\((.*)\)[^)]+$/;l(f,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,t=h.call(e);if(a(d,e))return"";var n=b?t.slice(7,-1):t.replace(A,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:p})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(e,t,n){n("./node_modules/core-js/internals/define-well-known-symbol.js")("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/global.js"),i=n("./node_modules/core-js/internals/get-built-in.js"),a=n("./node_modules/core-js/internals/is-pure.js"),s=n("./node_modules/core-js/internals/descriptors.js"),l=n("./node_modules/core-js/internals/native-symbol.js"),c=n("./node_modules/core-js/internals/fails.js"),u=n("./node_modules/core-js/internals/has.js"),d=n("./node_modules/core-js/internals/is-array.js"),p=n("./node_modules/core-js/internals/is-object.js"),f=n("./node_modules/core-js/internals/is-symbol.js"),h=n("./node_modules/core-js/internals/an-object.js"),b=n("./node_modules/core-js/internals/to-object.js"),A=n("./node_modules/core-js/internals/to-indexed-object.js"),m=n("./node_modules/core-js/internals/to-property-key.js"),g=n("./node_modules/core-js/internals/to-string.js"),v=n("./node_modules/core-js/internals/create-property-descriptor.js"),y=n("./node_modules/core-js/internals/object-create.js"),M=n("./node_modules/core-js/internals/object-keys.js"),O=n("./node_modules/core-js/internals/object-get-own-property-names.js"),_=n("./node_modules/core-js/internals/object-get-own-property-names-external.js"),z=n("./node_modules/core-js/internals/object-get-own-property-symbols.js"),x=n("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),w=n("./node_modules/core-js/internals/object-define-property.js"),C=n("./node_modules/core-js/internals/object-property-is-enumerable.js"),S=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),E=n("./node_modules/core-js/internals/redefine.js"),k=n("./node_modules/core-js/internals/shared.js"),D=n("./node_modules/core-js/internals/shared-key.js"),N=n("./node_modules/core-js/internals/hidden-keys.js"),T=n("./node_modules/core-js/internals/uid.js"),j=n("./node_modules/core-js/internals/well-known-symbol.js"),B=n("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),L=n("./node_modules/core-js/internals/define-well-known-symbol.js"),R=n("./node_modules/core-js/internals/set-to-string-tag.js"),q=n("./node_modules/core-js/internals/internal-state.js"),P=n("./node_modules/core-js/internals/array-iteration.js").forEach,I=D("hidden"),W="Symbol",F=j("toPrimitive"),U=q.set,Z=q.getterFor(W),H=Object.prototype,$=o.Symbol,V=i("JSON","stringify"),X=x.f,Q=w.f,Y=_.f,G=C.f,K=k("symbols"),J=k("op-symbols"),ee=k("string-to-symbol-registry"),te=k("symbol-to-string-registry"),ne=k("wks"),re=o.QObject,oe=!re||!re.prototype||!re.prototype.findChild,ie=s&&c((function(){return 7!=y(Q({},"a",{get:function(){return Q(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=X(H,t);r&&delete H[t],Q(e,t,n),r&&e!==H&&Q(H,t,r)}:Q,ae=function(e,t){var n=K[e]=y($.prototype);return U(n,{type:W,tag:e,description:t}),s||(n.description=t),n},se=function e(t,n,r){t===H&&e(J,n,r),h(t);var o=m(n);return h(r),u(K,o)?(r.enumerable?(u(t,I)&&t[I][o]&&(t[I][o]=!1),r=y(r,{enumerable:v(0,!1)})):(u(t,I)||Q(t,I,v(1,{})),t[I][o]=!0),ie(t,o,r)):Q(t,o,r)},le=function(e,t){h(e);var n=A(t),r=M(n).concat(pe(n));return P(r,(function(t){s&&!ce.call(n,t)||se(e,t,n[t])})),e},ce=function(e){var t=m(e),n=G.call(this,t);return!(this===H&&u(K,t)&&!u(J,t))&&(!(n||!u(this,t)||!u(K,t)||u(this,I)&&this[I][t])||n)},ue=function(e,t){var n=A(e),r=m(t);if(n!==H||!u(K,r)||u(J,r)){var o=X(n,r);return!o||!u(K,r)||u(n,I)&&n[I][r]||(o.enumerable=!0),o}},de=function(e){var t=Y(A(e)),n=[];return P(t,(function(e){u(K,e)||u(N,e)||n.push(e)})),n},pe=function(e){var t=e===H,n=Y(t?J:A(e)),r=[];return P(n,(function(e){!u(K,e)||t&&!u(H,e)||r.push(K[e])})),r};l||(E(($=function(){if(this instanceof $)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?g(arguments[0]):void 0,t=T(e),n=function e(n){this===H&&e.call(J,n),u(this,I)&&u(this[I],t)&&(this[I][t]=!1),ie(this,t,v(1,n))};return s&&oe&&ie(H,t,{configurable:!0,set:n}),ae(t,e)}).prototype,"toString",(function(){return Z(this).tag})),E($,"withoutSetter",(function(e){return ae(T(e),e)})),C.f=ce,w.f=se,x.f=ue,O.f=_.f=de,z.f=pe,B.f=function(e){return ae(j(e),e)},s&&(Q($.prototype,"description",{configurable:!0,get:function(){return Z(this).description}}),a||E(H,"propertyIsEnumerable",ce,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:$}),P(M(ne),(function(e){L(e)})),r({target:W,stat:!0,forced:!l},{for:function(e){var t=g(e);if(u(ee,t))return ee[t];var n=$(t);return ee[t]=n,te[n]=t,n},keyFor:function(e){if(!f(e))throw TypeError(e+" is not a symbol");if(u(te,e))return te[e]},useSetter:function(){oe=!0},useSimple:function(){oe=!1}}),r({target:"Object",stat:!0,forced:!l,sham:!s},{create:function(e,t){return void 0===t?y(e):le(y(e),t)},defineProperty:se,defineProperties:le,getOwnPropertyDescriptor:ue}),r({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:de,getOwnPropertySymbols:pe}),r({target:"Object",stat:!0,forced:c((function(){z.f(1)}))},{getOwnPropertySymbols:function(e){return z.f(b(e))}}),V&&r({target:"JSON",stat:!0,forced:!l||c((function(){var e=$();return"[null]"!=V([e])||"{}"!=V({a:e})||"{}"!=V(Object(e))}))},{stringify:function(e,t,n){for(var r,o=[e],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=t,(p(t)||void 0!==e)&&!f(e))return d(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!f(t))return t}),o[1]=t,V.apply(null,o)}}),$.prototype[F]||S($.prototype,F,$.prototype.valueOf),R($,W),N[I]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global.js"),o=n("./node_modules/core-js/internals/dom-iterables.js"),i=n("./node_modules/core-js/internals/array-for-each.js"),a=n("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var s in o){var l=r[s],c=l&&l.prototype;if(c&&c.forEach!==i)try{a(c,"forEach",i)}catch(e){c.forEach=i}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global.js"),o=n("./node_modules/core-js/internals/dom-iterables.js"),i=n("./node_modules/core-js/modules/es.array.iterator.js"),a=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),s=n("./node_modules/core-js/internals/well-known-symbol.js"),l=s("iterator"),c=s("toStringTag"),u=i.values;for(var d in o){var p=r[d],f=p&&p.prototype;if(f){if(f[l]!==u)try{a(f,l,u)}catch(e){f[l]=u}if(f[c]||a(f,c,d),o[d])for(var h in i)if(f[h]!==i[h])try{a(f,h,i[h])}catch(e){f[h]=i[h]}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(e){var t;t=function(){"use strict";function e(e){return"function"==typeof e}var t=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},r=0,o=void 0,i=void 0,a=function(e,t){f[r]=e,f[r+1]=t,2===(r+=2)&&(i?i(h):v())},s="undefined"!=typeof window?window:void 0,l=s||{},c=l.MutationObserver||l.WebKitMutationObserver,u="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process),d="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function p(){var e=setTimeout;return function(){return e(h,1)}}var f=new Array(1e3);function h(){for(var e=0;e<r;e+=2)(0,f[e])(f[e+1]),f[e]=void 0,f[e+1]=void 0;r=0}var b,A,m,g,v=void 0;function y(e,t){var n=this,r=new this.constructor(_);void 0===r[O]&&j(r);var o=n._state;if(o){var i=arguments[o-1];a((function(){return N(o,r,i,n._result)}))}else k(n,r,e,t);return r}function M(e){if(e&&"object"==typeof e&&e.constructor===this)return e;var t=new this(_);return w(t,e),t}u?v=function(){return process.nextTick(h)}:c?(A=0,m=new c(h),g=document.createTextNode(""),m.observe(g,{characterData:!0}),v=function(){g.data=A=++A%2}):d?((b=new MessageChannel).port1.onmessage=h,v=function(){return b.port2.postMessage(0)}):v=void 0===s?function(){try{var e=Function("return this")().require("vertx");return void 0!==(o=e.runOnLoop||e.runOnContext)?function(){o(h)}:p()}catch(e){return p()}}():p();var O=Math.random().toString(36).substring(2);function _(){}var z=void 0;function x(t,n,r){n.constructor===t.constructor&&r===y&&n.constructor.resolve===M?function(e,t){1===t._state?S(e,t._result):2===t._state?E(e,t._result):k(t,void 0,(function(t){return w(e,t)}),(function(t){return E(e,t)}))}(t,n):void 0===r?S(t,n):e(r)?function(e,t,n){a((function(e){var r=!1,o=function(n,o,i,a){try{n.call(o,(function(n){r||(r=!0,t!==n?w(e,n):S(e,n))}),(function(t){r||(r=!0,E(e,t))}))}catch(e){return e}}(n,t,0,0,e._label);!r&&o&&(r=!0,E(e,o))}),e)}(t,n,r):S(t,n)}function w(e,t){if(e===t)E(e,new TypeError("You cannot resolve a promise with itself"));else if(o=typeof(r=t),null===r||"object"!==o&&"function"!==o)S(e,t);else{var n=void 0;try{n=t.then}catch(t){return void E(e,t)}x(e,t,n)}var r,o}function C(e){e._onerror&&e._onerror(e._result),D(e)}function S(e,t){e._state===z&&(e._result=t,e._state=1,0!==e._subscribers.length&&a(D,e))}function E(e,t){e._state===z&&(e._state=2,e._result=t,a(C,e))}function k(e,t,n,r){var o=e._subscribers,i=o.length;e._onerror=null,o[i]=t,o[i+1]=n,o[i+2]=r,0===i&&e._state&&a(D,e)}function D(e){var t=e._subscribers,n=e._state;if(0!==t.length){for(var r=void 0,o=void 0,i=e._result,a=0;a<t.length;a+=3)r=t[a],o=t[a+n],r?N(n,r,o,i):o(i);e._subscribers.length=0}}function N(t,n,r,o){var i=e(r),a=void 0,s=void 0,l=!0;if(i){try{a=r(o)}catch(e){l=!1,s=e}if(n===a)return void E(n,new TypeError("A promises callback cannot return that same promise."))}else a=o;n._state!==z||(i&&l?w(n,a):!1===l?E(n,s):1===t?S(n,a):2===t&&E(n,a))}var T=0;function j(e){e[O]=T++,e._state=void 0,e._result=void 0,e._subscribers=[]}var B=function(){function e(e,n){this._instanceConstructor=e,this.promise=new e(_),this.promise[O]||j(this.promise),t(n)?(this.length=n.length,this._remaining=n.length,this._result=new Array(this.length),0===this.length?S(this.promise,this._result):(this.length=this.length||0,this._enumerate(n),0===this._remaining&&S(this.promise,this._result))):E(this.promise,new Error("Array Methods must be provided an Array"))}return e.prototype._enumerate=function(e){for(var t=0;this._state===z&&t<e.length;t++)this._eachEntry(e[t],t)},e.prototype._eachEntry=function(e,t){var n=this._instanceConstructor,r=n.resolve;if(r===M){var o=void 0,i=void 0,a=!1;try{o=e.then}catch(e){a=!0,i=e}if(o===y&&e._state!==z)this._settledAt(e._state,t,e._result);else if("function"!=typeof o)this._remaining--,this._result[t]=e;else if(n===L){var s=new n(_);a?E(s,i):x(s,e,o),this._willSettleAt(s,t)}else this._willSettleAt(new n((function(t){return t(e)})),t)}else this._willSettleAt(r(e),t)},e.prototype._settledAt=function(e,t,n){var r=this.promise;r._state===z&&(this._remaining--,2===e?E(r,n):this._result[t]=n),0===this._remaining&&S(r,this._result)},e.prototype._willSettleAt=function(e,t){var n=this;k(e,void 0,(function(e){return n._settledAt(1,t,e)}),(function(e){return n._settledAt(2,t,e)}))},e}(),L=function(){function t(e){this[O]=T++,this._result=this._state=void 0,this._subscribers=[],_!==e&&("function"!=typeof e&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof t?function(e,t){try{t((function(t){w(e,t)}),(function(t){E(e,t)}))}catch(t){E(e,t)}}(this,e):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}return t.prototype.catch=function(e){return this.then(null,e)},t.prototype.finally=function(t){var n=this,r=n.constructor;return e(t)?n.then((function(e){return r.resolve(t()).then((function(){return e}))}),(function(e){return r.resolve(t()).then((function(){throw e}))})):n.then(t,t)},t}();return L.prototype.then=y,L.all=function(e){return new B(this,e).promise},L.race=function(e){var n=this;return t(e)?new n((function(t,r){for(var o=e.length,i=0;i<o;i++)n.resolve(e[i]).then(t,r)})):new n((function(e,t){return t(new TypeError("You must pass an array to race."))}))},L.resolve=M,L.reject=function(e){var t=new this(_);return E(t,e),t},L._setScheduler=function(e){i=e},L._setAsap=function(e){a=e},L._asap=a,L.polyfill=function(){var e=void 0;if("undefined"!=typeof n.g)e=n.g;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var r=null;try{r=Object.prototype.toString.call(t.resolve())}catch(e){}if("[object Promise]"===r&&!t.cast)return}e.Promise=L},L.Promise=L,L},e.exports=t()},html2canvas:function(e){"use strict";e.exports=t},jspdf:function(t){"use strict";t.exports=e}},o={};function i(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={exports:{}};return r[e].call(n.exports,n,n.exports,i),n.exports}i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,{a:t}),t},i.d=function(e,t){for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return function(){"use strict";i.r(a);var e=i("./src/worker.js"),t=(i("./src/plugin/jspdf-plugin.js"),i("./src/plugin/pagebreaks.js"),i("./src/plugin/hyperlinks.js"),function e(t,n){var r=new e.Worker(n);return t?r.from(t).save():r});t.Worker=e.default,a.default=t}(),a.default}()}(n(35508),n(1905))},90194:function(e,t,n){e.exports=function(e){"use strict";function t(e,t,r,o){return void 0===t&&(t={}),Object.keys(t).reduce((function(i,a){if(/^on.*/.test(a))return i;var s=a;/^(data|aria)-/.test(a)||0===r.filter((function(e){return e instanceof RegExp?e.test(a):e===a})).length&&(s=n(a));var l,c,u=o(e,s);if("style"===u.name)i[u.name]=(l=t.style,c={},l.split(";").filter((function(e){return""!==e.trim()})).forEach((function(e){var t,r=e.split(":");if(r.length>1){var o=function(e){return/^-ms-/.test(e)&&(e=e.substr(1)),e.startsWith("--")?e:n(e)}(r[0].trim()),i=(t=r.slice(1).join(":").trim(),/^\d+$/.test(t)?Number(t):t.replace(/'/g,'"'));c[o]=i}})),c);else{var d=t[a],p=""===d||String(d).toLowerCase()===s.toLowerCase();i[u.name]=u.isBoolean?p:d}return i}),{})}function n(e){return e.replace(/(-|:)(.)/g,(function(e,t,n){return n.toUpperCase()}))}e=e&&e.hasOwnProperty("default")?e.default:e;var r=["table","tbody","thead","tfoot","tr"],o={for:"htmlFor",class:"className",allowfullscreen:["allowFullScreen","allowFullscreen"],autocomplete:"autoComplete",autofocus:["autoFocus"],contenteditable:"contentEditable",spellcheck:"spellCheck",srcdoc:"srcDoc",srcset:"srcSet",itemscope:"itemScope",itemprop:"itemProp",itemtype:"itemType"};function i(e,t){var n=o[t],r=document.createElement(e);if(n)return{name:Array.isArray(n)?n[0]:n,isBoolean:a(r,Array.isArray(n)?n[1]||t:n)};for(var i in r)if(i.toLowerCase()===t.toLowerCase())return{name:i,isBoolean:a(r,i)};return{name:t,isBoolean:a(r,t)}}function a(e,t){return e.setAttribute(t,""),!0===e[t]||s.indexOf(t)>-1}var s=["itemScope"];function l(t,n,r,o){void 0===o&&(o=null);var i=r[t],a=r._;return i?e.createElement(i,n,o):a?a(t,n,o):e.createElement(t,n,o)}return function(e,n){if(void 0===n&&(n={}),"string"!=typeof e)throw new TypeError("Expected HTML string");var o=document.createElement("div");o.innerHTML=e.trim();var a=Array.from(o.childNodes).map((function(e,o){return function e(n,o,a){var s=a.transform||{},c=a.preserveAttributes||[],u=a.dangerouslySetChildren||["style"],d=s._;if(8===n.nodeType)return null;if(3===n.nodeType){var p=n.textContent;return d?d(p):p}for(var f={},h=n.attributes,b=0;b<h.length;b++)f[h[b].name]=h[b].value;f.key=o.toString();var A=n.tagName.toLowerCase(),m=t(A,f,c,i),g=Array.from(n.childNodes).map((function(t,n){return r.indexOf(A)>-1&&3===t.nodeType&&(t.textContent=t.textContent.trim(),""===t.textContent)?null:e(t,o+"."+n,a)})).filter(Boolean);if(u.indexOf(A)>-1){var v=n.innerHTML;return v&&("style"!==A&&"script"!==A&&(v=v.replace(/"/g,"&quot;")),m.dangerouslySetInnerHTML={__html:v.trim()}),l(A,m,s)}var y=0===g.length?null:g;return l(A,m,s,y)}(e,String(o),n)})).filter(Boolean);return 1===a.length?a[0]:a}}(n(47313))},15986:function(e){e.exports=function(){"use strict";var e=Array.prototype.slice;function t(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function n(e){return a(e)?e:V(e)}function r(e){return s(e)?e:X(e)}function o(e){return l(e)?e:Q(e)}function i(e){return a(e)&&!c(e)?e:Y(e)}function a(e){return!(!e||!e[d])}function s(e){return!(!e||!e[p])}function l(e){return!(!e||!e[f])}function c(e){return s(e)||l(e)}function u(e){return!(!e||!e[h])}t(r,n),t(o,n),t(i,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=l,n.isAssociative=c,n.isOrdered=u,n.Keyed=r,n.Indexed=o,n.Set=i;var d="@@__IMMUTABLE_ITERABLE__@@",p="@@__IMMUTABLE_KEYED__@@",f="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",b="delete",A=5,m=1<<A,g=m-1,v={},y={value:!1},M={value:!1};function O(e){return e.value=!1,e}function _(e){e&&(e.value=!0)}function z(){}function x(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),o=0;o<n;o++)r[o]=e[o+t];return r}function w(e){return void 0===e.size&&(e.size=e.__iterate(S)),e.size}function C(e,t){if("number"!==typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?w(e)+t:t}function S(){return!0}function E(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function k(e,t){return N(e,t,0)}function D(e,t){return N(e,t,t)}function N(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var T=0,j=1,B=2,L="function"===typeof Symbol&&Symbol.iterator,R="@@iterator",q=L||R;function P(e){this.next=e}function I(e,t,n,r){var o=0===e?t:1===e?n:[t,n];return r?r.value=o:r={value:o,done:!1},r}function W(){return{value:void 0,done:!0}}function F(e){return!!H(e)}function U(e){return e&&"function"===typeof e.next}function Z(e){var t=H(e);return t&&t.call(e)}function H(e){var t=e&&(L&&e[L]||e[R]);if("function"===typeof t)return t}function $(e){return e&&"number"===typeof e.length}function V(e){return null===e||void 0===e?ae():a(e)?e.toSeq():ce(e)}function X(e){return null===e||void 0===e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function Q(e){return null===e||void 0===e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function Y(e){return(null===e||void 0===e?ae():a(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}P.prototype.toString=function(){return"[Iterator]"},P.KEYS=T,P.VALUES=j,P.ENTRIES=B,P.prototype.inspect=P.prototype.toSource=function(){return this.toString()},P.prototype[q]=function(){return this},t(V,n),V.of=function(){return V(arguments)},V.prototype.toSeq=function(){return this},V.prototype.toString=function(){return this.__toString("Seq {","}")},V.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},V.prototype.__iterate=function(e,t){return de(this,e,t,!0)},V.prototype.__iterator=function(e,t){return pe(this,e,t,!0)},t(X,V),X.prototype.toKeyedSeq=function(){return this},t(Q,V),Q.of=function(){return Q(arguments)},Q.prototype.toIndexedSeq=function(){return this},Q.prototype.toString=function(){return this.__toString("Seq [","]")},Q.prototype.__iterate=function(e,t){return de(this,e,t,!1)},Q.prototype.__iterator=function(e,t){return pe(this,e,t,!1)},t(Y,V),Y.of=function(){return Y(arguments)},Y.prototype.toSetSeq=function(){return this},V.isSeq=ie,V.Keyed=X,V.Set=Y,V.Indexed=Q;var G,K,J,ee="@@__IMMUTABLE_SEQ__@@";function te(e){this._array=e,this.size=e.length}function ne(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function re(e){this._iterable=e,this.size=e.length||e.size}function oe(e){this._iterator=e,this._iteratorCache=[]}function ie(e){return!(!e||!e[ee])}function ae(){return G||(G=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():U(e)?new oe(e).fromEntrySeq():F(e)?new re(e).fromEntrySeq():"object"===typeof e?new ne(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function le(e){var t=ue(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ce(e){var t=ue(e)||"object"===typeof e&&new ne(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function ue(e){return $(e)?new te(e):U(e)?new oe(e):F(e)?new re(e):void 0}function de(e,t,n,r){var o=e._cache;if(o){for(var i=o.length-1,a=0;a<=i;a++){var s=o[n?i-a:a];if(!1===t(s[1],r?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function pe(e,t,n,r){var o=e._cache;if(o){var i=o.length-1,a=0;return new P((function(){var e=o[n?i-a:a];return a++>i?W():I(t,r?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function fe(e,t){return t?he(t,e,"",{"":e}):be(e)}function he(e,t,n,r){return Array.isArray(t)?e.call(r,n,Q(t).map((function(n,r){return he(e,n,r,t)}))):Ae(t)?e.call(r,n,X(t).map((function(n,r){return he(e,n,r,t)}))):t}function be(e){return Array.isArray(e)?Q(e).map(be).toList():Ae(e)?X(e).map(be).toMap():e}function Ae(e){return e&&(e.constructor===Object||void 0===e.constructor)}function me(e,t){if(e===t||e!==e&&t!==t)return!0;if(!e||!t)return!1;if("function"===typeof e.valueOf&&"function"===typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!==e&&t!==t)return!0;if(!e||!t)return!1}return!("function"!==typeof e.equals||"function"!==typeof t.equals||!e.equals(t))}function ge(e,t){if(e===t)return!0;if(!a(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||s(e)!==s(t)||l(e)!==l(t)||u(e)!==u(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!c(e);if(u(e)){var r=e.entries();return t.every((function(e,t){var o=r.next().value;return o&&me(o[1],e)&&(n||me(o[0],t))}))&&r.next().done}var o=!1;if(void 0===e.size)if(void 0===t.size)"function"===typeof e.cacheResult&&e.cacheResult();else{o=!0;var i=e;e=t,t=i}var d=!0,p=t.__iterate((function(t,r){if(n?!e.has(t):o?!me(t,e.get(r,v)):!me(e.get(r,v),t))return d=!1,!1}));return d&&e.size===p}function ve(e,t){if(!(this instanceof ve))return new ve(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(K)return K;K=this}}function ye(e,t){if(!e)throw new Error(t)}function Me(e,t,n){if(!(this instanceof Me))return new Me(e,t,n);if(ye(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),t<e&&(n=-n),this._start=e,this._end=t,this._step=n,this.size=Math.max(0,Math.ceil((t-e)/n-1)+1),0===this.size){if(J)return J;J=this}}function Oe(){throw TypeError("Abstract")}function _e(){}function ze(){}function xe(){}V.prototype[ee]=!0,t(te,Q),te.prototype.get=function(e,t){return this.has(e)?this._array[C(this,e)]:t},te.prototype.__iterate=function(e,t){for(var n=this._array,r=n.length-1,o=0;o<=r;o++)if(!1===e(n[t?r-o:o],o,this))return o+1;return o},te.prototype.__iterator=function(e,t){var n=this._array,r=n.length-1,o=0;return new P((function(){return o>r?W():I(e,o,n[t?r-o++:o++])}))},t(ne,X),ne.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},ne.prototype.has=function(e){return this._object.hasOwnProperty(e)},ne.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,o=r.length-1,i=0;i<=o;i++){var a=r[t?o-i:i];if(!1===e(n[a],a,this))return i+1}return i},ne.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,o=r.length-1,i=0;return new P((function(){var a=r[t?o-i:i];return i++>o?W():I(e,a,n[a])}))},ne.prototype[h]=!0,t(re,Q),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=Z(this._iterable),r=0;if(U(n))for(var o;!(o=n.next()).done&&!1!==e(o.value,r++,this););return r},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=Z(this._iterable);if(!U(n))return new P(W);var r=0;return new P((function(){var t=n.next();return t.done?t:I(e,r++,t.value)}))},t(oe,Q),oe.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,r=this._iterator,o=this._iteratorCache,i=0;i<o.length;)if(!1===e(o[i],i++,this))return i;for(;!(n=r.next()).done;){var a=n.value;if(o[i]=a,!1===e(a,i++,this))break}return i},oe.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,r=this._iteratorCache,o=0;return new P((function(){if(o>=r.length){var t=n.next();if(t.done)return t;r[o]=t.value}return I(e,o,r[o++])}))},t(ve,Q),ve.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},ve.prototype.get=function(e,t){return this.has(e)?this._value:t},ve.prototype.includes=function(e){return me(this._value,e)},ve.prototype.slice=function(e,t){var n=this.size;return E(e,t,n)?this:new ve(this._value,D(t,n)-k(e,n))},ve.prototype.reverse=function(){return this},ve.prototype.indexOf=function(e){return me(this._value,e)?0:-1},ve.prototype.lastIndexOf=function(e){return me(this._value,e)?this.size:-1},ve.prototype.__iterate=function(e,t){for(var n=0;n<this.size;n++)if(!1===e(this._value,n,this))return n+1;return n},ve.prototype.__iterator=function(e,t){var n=this,r=0;return new P((function(){return r<n.size?I(e,r++,n._value):W()}))},ve.prototype.equals=function(e){return e instanceof ve?me(this._value,e._value):ge(e)},t(Me,Q),Me.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},Me.prototype.get=function(e,t){return this.has(e)?this._start+C(this,e)*this._step:t},Me.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},Me.prototype.slice=function(e,t){return E(e,t,this.size)?this:(e=k(e,this.size),(t=D(t,this.size))<=e?new Me(0,0):new Me(this.get(e,this._end),this.get(t,this._end),this._step))},Me.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step===0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},Me.prototype.lastIndexOf=function(e){return this.indexOf(e)},Me.prototype.__iterate=function(e,t){for(var n=this.size-1,r=this._step,o=t?this._start+n*r:this._start,i=0;i<=n;i++){if(!1===e(o,i,this))return i+1;o+=t?-r:r}return i},Me.prototype.__iterator=function(e,t){var n=this.size-1,r=this._step,o=t?this._start+n*r:this._start,i=0;return new P((function(){var a=o;return o+=t?-r:r,i>n?W():I(e,i++,a)}))},Me.prototype.equals=function(e){return e instanceof Me?this._start===e._start&&this._end===e._end&&this._step===e._step:ge(this,e)},t(Oe,n),t(_e,Oe),t(ze,Oe),t(xe,Oe),Oe.Keyed=_e,Oe.Indexed=ze,Oe.Set=xe;var we="function"===typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),r=65535&(t|=0);return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0};function Ce(e){return e>>>1&1073741824|3221225471&e}function Se(e){if(!1===e||null===e||void 0===e)return 0;if("function"===typeof e.valueOf&&(!1===(e=e.valueOf())||null===e||void 0===e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)n^=e/=4294967295;return Ce(n)}if("string"===t)return e.length>Pe?Ee(e):ke(e);if("function"===typeof e.hashCode)return e.hashCode();if("object"===t)return De(e);if("function"===typeof e.toString)return ke(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Ee(e){var t=Fe[e];return void 0===t&&(t=ke(e),We===Ie&&(We=0,Fe={}),We++,Fe[e]=t),t}function ke(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Ce(t)}function De(e){var t;if(Le&&void 0!==(t=Be.get(e)))return t;if(void 0!==(t=e[qe]))return t;if(!Te){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[qe]))return t;if(void 0!==(t=je(e)))return t}if(t=++Re,1073741824&Re&&(Re=0),Le)Be.set(e,t);else{if(void 0!==Ne&&!1===Ne(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Te)Object.defineProperty(e,qe,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[qe]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[qe]=t}}return t}var Ne=Object.isExtensible,Te=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function je(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var Be,Le="function"===typeof WeakMap;Le&&(Be=new WeakMap);var Re=0,qe="__immutablehash__";"function"===typeof Symbol&&(qe=Symbol(qe));var Pe=16,Ie=255,We=0,Fe={};function Ue(e){ye(e!==1/0,"Cannot perform this action with an infinite size.")}function Ze(e){return null===e||void 0===e?ot():He(e)&&!u(e)?e:ot().withMutations((function(t){var n=r(e);Ue(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function He(e){return!(!e||!e[Ve])}t(Ze,_e),Ze.prototype.toString=function(){return this.__toString("Map {","}")},Ze.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},Ze.prototype.set=function(e,t){return it(this,e,t)},Ze.prototype.setIn=function(e,t){return this.updateIn(e,v,(function(){return t}))},Ze.prototype.remove=function(e){return it(this,e,v)},Ze.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return v}))},Ze.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},Ze.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=At(this,On(e),t,n);return r===v?void 0:r},Ze.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):ot()},Ze.prototype.merge=function(){return pt(this,void 0,arguments)},Ze.prototype.mergeWith=function(t){return pt(this,t,e.call(arguments,1))},Ze.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,ot(),(function(e){return"function"===typeof e.merge?e.merge.apply(e,n):n[n.length-1]}))},Ze.prototype.mergeDeep=function(){return pt(this,ft,arguments)},Ze.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return pt(this,ht(t),n)},Ze.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,ot(),(function(e){return"function"===typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]}))},Ze.prototype.sort=function(e){return Ft(dn(this,e))},Ze.prototype.sortBy=function(e,t){return Ft(dn(this,t,e))},Ze.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},Ze.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new z)},Ze.prototype.asImmutable=function(){return this.__ensureOwner()},Ze.prototype.wasAltered=function(){return this.__altered},Ze.prototype.__iterator=function(e,t){return new et(this,e,t)},Ze.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate((function(t){return r++,e(t[1],t[0],n)}),t),r},Ze.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?rt(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Ze.isMap=He;var $e,Ve="@@__IMMUTABLE_MAP__@@",Xe=Ze.prototype;function Qe(e,t){this.ownerID=e,this.entries=t}function Ye(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function Ge(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function Ke(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function Je(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function et(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&nt(e._root)}function tt(e,t){return I(e,t[0],t[1])}function nt(e,t){return{node:e,index:0,__prev:t}}function rt(e,t,n,r){var o=Object.create(Xe);return o.size=e,o._root=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function ot(){return $e||($e=rt(0))}function it(e,t,n){var r,o;if(e._root){var i=O(y),a=O(M);if(r=at(e._root,e.__ownerID,0,void 0,t,n,i,a),!a.value)return e;o=e.size+(i.value?n===v?-1:1:0)}else{if(n===v)return e;o=1,r=new Qe(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=o,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?rt(o,r):ot()}function at(e,t,n,r,o,i,a,s){return e?e.update(t,n,r,o,i,a,s):i===v?e:(_(s),_(a),new Je(t,r,[o,i]))}function st(e){return e.constructor===Je||e.constructor===Ke}function lt(e,t,n,r,o){if(e.keyHash===r)return new Ke(t,r,[e.entry,o]);var i,a=(0===n?e.keyHash:e.keyHash>>>n)&g,s=(0===n?r:r>>>n)&g;return new Ye(t,1<<a|1<<s,a===s?[lt(e,t,n+A,r,o)]:(i=new Je(t,r,o),a<s?[e,i]:[i,e]))}function ct(e,t,n,r){e||(e=new z);for(var o=new Je(e,Se(n),[n,r]),i=0;i<t.length;i++){var a=t[i];o=o.update(e,0,void 0,a[0],a[1])}return o}function ut(e,t,n,r){for(var o=0,i=0,a=new Array(n),s=0,l=1,c=t.length;s<c;s++,l<<=1){var u=t[s];void 0!==u&&s!==r&&(o|=l,a[i++]=u)}return new Ye(e,o,a)}function dt(e,t,n,r,o){for(var i=0,a=new Array(m),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[i++]:void 0;return a[r]=o,new Ge(e,i+1,a)}function pt(e,t,n){for(var o=[],i=0;i<n.length;i++){var s=n[i],l=r(s);a(s)||(l=l.map((function(e){return fe(e)}))),o.push(l)}return bt(e,t,o)}function ft(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):me(e,t)?e:t}function ht(e){return function(t,n,r){if(t&&t.mergeDeepWith&&a(n))return t.mergeDeepWith(e,n);var o=e(t,n,r);return me(t,o)?t:o}}function bt(e,t,n){return 0===(n=n.filter((function(e){return 0!==e.size}))).length?e:0!==e.size||e.__ownerID||1!==n.length?e.withMutations((function(e){for(var r=t?function(n,r){e.update(r,v,(function(e){return e===v?n:t(e,n,r)}))}:function(t,n){e.set(n,t)},o=0;o<n.length;o++)n[o].forEach(r)})):e.constructor(n[0])}function At(e,t,n,r){var o=e===v,i=t.next();if(i.done){var a=o?n:e,s=r(a);return s===a?e:s}ye(o||e&&e.set,"invalid keyPath");var l=i.value,c=o?v:e.get(l,v),u=At(c,t,n,r);return u===c?e:u===v?e.remove(l):(o?ot():e).set(l,u)}function mt(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function gt(e,t,n,r){var o=r?e:x(e);return o[t]=n,o}function vt(e,t,n,r){var o=e.length+1;if(r&&t+1===o)return e[t]=n,e;for(var i=new Array(o),a=0,s=0;s<o;s++)s===t?(i[s]=n,a=-1):i[s]=e[s+a];return i}function yt(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var o=new Array(r),i=0,a=0;a<r;a++)a===t&&(i=1),o[a]=e[a+i];return o}Xe[Ve]=!0,Xe[b]=Xe.remove,Xe.removeIn=Xe.deleteIn,Qe.prototype.get=function(e,t,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(me(n,o[i][0]))return o[i][1];return r},Qe.prototype.update=function(e,t,n,r,o,i,a){for(var s=o===v,l=this.entries,c=0,u=l.length;c<u&&!me(r,l[c][0]);c++);var d=c<u;if(d?l[c][1]===o:s)return this;if(_(a),(s||!d)&&_(i),!s||1!==l.length){if(!d&&!s&&l.length>=Mt)return ct(e,l,r,o);var p=e&&e===this.ownerID,f=p?l:x(l);return d?s?c===u-1?f.pop():f[c]=f.pop():f[c]=[r,o]:f.push([r,o]),p?(this.entries=f,this):new Qe(e,f)}},Ye.prototype.get=function(e,t,n,r){void 0===t&&(t=Se(n));var o=1<<((0===e?t:t>>>e)&g),i=this.bitmap;return 0===(i&o)?r:this.nodes[mt(i&o-1)].get(e+A,t,n,r)},Ye.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=Se(r));var s=(0===t?n:n>>>t)&g,l=1<<s,c=this.bitmap,u=0!==(c&l);if(!u&&o===v)return this;var d=mt(c&l-1),p=this.nodes,f=u?p[d]:void 0,h=at(f,e,t+A,n,r,o,i,a);if(h===f)return this;if(!u&&h&&p.length>=Ot)return dt(e,p,c,s,h);if(u&&!h&&2===p.length&&st(p[1^d]))return p[1^d];if(u&&h&&1===p.length&&st(h))return h;var b=e&&e===this.ownerID,m=u?h?c:c^l:c|l,y=u?h?gt(p,d,h,b):yt(p,d,b):vt(p,d,h,b);return b?(this.bitmap=m,this.nodes=y,this):new Ye(e,m,y)},Ge.prototype.get=function(e,t,n,r){void 0===t&&(t=Se(n));var o=(0===e?t:t>>>e)&g,i=this.nodes[o];return i?i.get(e+A,t,n,r):r},Ge.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=Se(r));var s=(0===t?n:n>>>t)&g,l=o===v,c=this.nodes,u=c[s];if(l&&!u)return this;var d=at(u,e,t+A,n,r,o,i,a);if(d===u)return this;var p=this.count;if(u){if(!d&&--p<_t)return ut(e,c,p,s)}else p++;var f=e&&e===this.ownerID,h=gt(c,s,d,f);return f?(this.count=p,this.nodes=h,this):new Ge(e,p,h)},Ke.prototype.get=function(e,t,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(me(n,o[i][0]))return o[i][1];return r},Ke.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=Se(r));var s=o===v;if(n!==this.keyHash)return s?this:(_(a),_(i),lt(this,e,t,n,[r,o]));for(var l=this.entries,c=0,u=l.length;c<u&&!me(r,l[c][0]);c++);var d=c<u;if(d?l[c][1]===o:s)return this;if(_(a),(s||!d)&&_(i),s&&2===u)return new Je(e,this.keyHash,l[1^c]);var p=e&&e===this.ownerID,f=p?l:x(l);return d?s?c===u-1?f.pop():f[c]=f.pop():f[c]=[r,o]:f.push([r,o]),p?(this.entries=f,this):new Ke(e,this.keyHash,f)},Je.prototype.get=function(e,t,n,r){return me(n,this.entry[0])?this.entry[1]:r},Je.prototype.update=function(e,t,n,r,o,i,a){var s=o===v,l=me(r,this.entry[0]);return(l?o===this.entry[1]:s)?this:(_(a),s?void _(i):l?e&&e===this.ownerID?(this.entry[1]=o,this):new Je(e,this.keyHash,[r,o]):(_(i),lt(this,e,t,Se(r),[r,o])))},Qe.prototype.iterate=Ke.prototype.iterate=function(e,t){for(var n=this.entries,r=0,o=n.length-1;r<=o;r++)if(!1===e(n[t?o-r:r]))return!1},Ye.prototype.iterate=Ge.prototype.iterate=function(e,t){for(var n=this.nodes,r=0,o=n.length-1;r<=o;r++){var i=n[t?o-r:r];if(i&&!1===i.iterate(e,t))return!1}},Je.prototype.iterate=function(e,t){return e(this.entry)},t(et,P),et.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var n,r=t.node,o=t.index++;if(r.entry){if(0===o)return tt(e,r.entry)}else if(r.entries){if(o<=(n=r.entries.length-1))return tt(e,r.entries[this._reverse?n-o:o])}else if(o<=(n=r.nodes.length-1)){var i=r.nodes[this._reverse?n-o:o];if(i){if(i.entry)return tt(e,i.entry);t=this._stack=nt(i,t)}continue}t=this._stack=this._stack.__prev}return W()};var Mt=m/4,Ot=m/2,_t=m/4;function zt(e){var t=jt();if(null===e||void 0===e)return t;if(xt(e))return e;var n=o(e),r=n.size;return 0===r?t:(Ue(r),r>0&&r<m?Tt(0,r,A,null,new St(n.toArray())):t.withMutations((function(e){e.setSize(r),n.forEach((function(t,n){return e.set(n,t)}))})))}function xt(e){return!(!e||!e[wt])}t(zt,ze),zt.of=function(){return this(arguments)},zt.prototype.toString=function(){return this.__toString("List [","]")},zt.prototype.get=function(e,t){if((e=C(this,e))>=0&&e<this.size){var n=qt(this,e+=this._origin);return n&&n.array[e&g]}return t},zt.prototype.set=function(e,t){return Bt(this,e,t)},zt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},zt.prototype.insert=function(e,t){return this.splice(e,0,t)},zt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=A,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):jt()},zt.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){Pt(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])}))},zt.prototype.pop=function(){return Pt(this,0,-1)},zt.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){Pt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},zt.prototype.shift=function(){return Pt(this,1)},zt.prototype.merge=function(){return It(this,void 0,arguments)},zt.prototype.mergeWith=function(t){return It(this,t,e.call(arguments,1))},zt.prototype.mergeDeep=function(){return It(this,ft,arguments)},zt.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return It(this,ht(t),n)},zt.prototype.setSize=function(e){return Pt(this,0,e)},zt.prototype.slice=function(e,t){var n=this.size;return E(e,t,n)?this:Pt(this,k(e,n),D(t,n))},zt.prototype.__iterator=function(e,t){var n=0,r=Nt(this,t);return new P((function(){var t=r();return t===Dt?W():I(e,n++,t)}))},zt.prototype.__iterate=function(e,t){for(var n,r=0,o=Nt(this,t);(n=o())!==Dt&&!1!==e(n,r++,this););return r},zt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Tt(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},zt.isList=xt;var wt="@@__IMMUTABLE_LIST__@@",Ct=zt.prototype;function St(e,t){this.array=e,this.ownerID=t}Ct[wt]=!0,Ct[b]=Ct.remove,Ct.setIn=Xe.setIn,Ct.deleteIn=Ct.removeIn=Xe.removeIn,Ct.update=Xe.update,Ct.updateIn=Xe.updateIn,Ct.mergeIn=Xe.mergeIn,Ct.mergeDeepIn=Xe.mergeDeepIn,Ct.withMutations=Xe.withMutations,Ct.asMutable=Xe.asMutable,Ct.asImmutable=Xe.asImmutable,Ct.wasAltered=Xe.wasAltered,St.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var r=n>>>t&g;if(r>=this.array.length)return new St([],e);var o,i=0===r;if(t>0){var a=this.array[r];if((o=a&&a.removeBefore(e,t-A,n))===a&&i)return this}if(i&&!o)return this;var s=Rt(this,e);if(!i)for(var l=0;l<r;l++)s.array[l]=void 0;return o&&(s.array[r]=o),s},St.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var r,o=n-1>>>t&g;if(o>=this.array.length)return this;if(t>0){var i=this.array[o];if((r=i&&i.removeAfter(e,t-A,n))===i&&o===this.array.length-1)return this}var a=Rt(this,e);return a.array.splice(o+1),r&&(a.array[o]=r),a};var Et,kt,Dt={};function Nt(e,t){var n=e._origin,r=e._capacity,o=Wt(r),i=e._tail;return a(e._root,e._level,0);function a(e,t,n){return 0===t?s(e,n):l(e,t,n)}function s(e,a){var s=a===o?i&&i.array:e&&e.array,l=a>n?0:n-a,c=r-a;return c>m&&(c=m),function(){if(l===c)return Dt;var e=t?--c:l++;return s&&s[e]}}function l(e,o,i){var s,l=e&&e.array,c=i>n?0:n-i>>o,u=1+(r-i>>o);return u>m&&(u=m),function(){for(;;){if(s){var e=s();if(e!==Dt)return e;s=null}if(c===u)return Dt;var n=t?--u:c++;s=a(l&&l[n],o-A,i+(n<<o))}}}}function Tt(e,t,n,r,o,i,a){var s=Object.create(Ct);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=r,s._tail=o,s.__ownerID=i,s.__hash=a,s.__altered=!1,s}function jt(){return Et||(Et=Tt(0,0,A))}function Bt(e,t,n){if((t=C(e,t))!==t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?Pt(e,t).set(0,n):Pt(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,o=e._root,i=O(M);return t>=Wt(e._capacity)?r=Lt(r,e.__ownerID,0,t,n,i):o=Lt(o,e.__ownerID,e._level,t,n,i),i.value?e.__ownerID?(e._root=o,e._tail=r,e.__hash=void 0,e.__altered=!0,e):Tt(e._origin,e._capacity,e._level,o,r):e}function Lt(e,t,n,r,o,i){var a,s=r>>>n&g,l=e&&s<e.array.length;if(!l&&void 0===o)return e;if(n>0){var c=e&&e.array[s],u=Lt(c,t,n-A,r,o,i);return u===c?e:((a=Rt(e,t)).array[s]=u,a)}return l&&e.array[s]===o?e:(_(i),a=Rt(e,t),void 0===o&&s===a.array.length-1?a.array.pop():a.array[s]=o,a)}function Rt(e,t){return t&&e&&t===e.ownerID?e:new St(e?e.array.slice():[],t)}function qt(e,t){if(t>=Wt(e._capacity))return e._tail;if(t<1<<e._level+A){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&g],r-=A;return n}}function Pt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new z,o=e._origin,i=e._capacity,a=o+t,s=void 0===n?i:n<0?i+n:o+n;if(a===o&&s===i)return e;if(a>=s)return e.clear();for(var l=e._level,c=e._root,u=0;a+u<0;)c=new St(c&&c.array.length?[void 0,c]:[],r),u+=1<<(l+=A);u&&(a+=u,o+=u,s+=u,i+=u);for(var d=Wt(i),p=Wt(s);p>=1<<l+A;)c=new St(c&&c.array.length?[c]:[],r),l+=A;var f=e._tail,h=p<d?qt(e,s-1):p>d?new St([],r):f;if(f&&p>d&&a<i&&f.array.length){for(var b=c=Rt(c,r),m=l;m>A;m-=A){var v=d>>>m&g;b=b.array[v]=Rt(b.array[v],r)}b.array[d>>>A&g]=f}if(s<i&&(h=h&&h.removeAfter(r,0,s)),a>=p)a-=p,s-=p,l=A,c=null,h=h&&h.removeBefore(r,0,a);else if(a>o||p<d){for(u=0;c;){var y=a>>>l&g;if(y!==p>>>l&g)break;y&&(u+=(1<<l)*y),l-=A,c=c.array[y]}c&&a>o&&(c=c.removeBefore(r,l,a-u)),c&&p<d&&(c=c.removeAfter(r,l,p-u)),u&&(a-=u,s-=u)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=l,e._root=c,e._tail=h,e.__hash=void 0,e.__altered=!0,e):Tt(a,s,l,c,h)}function It(e,t,n){for(var r=[],i=0,s=0;s<n.length;s++){var l=n[s],c=o(l);c.size>i&&(i=c.size),a(l)||(c=c.map((function(e){return fe(e)}))),r.push(c)}return i>e.size&&(e=e.setSize(i)),bt(e,t,r)}function Wt(e){return e<m?0:e-1>>>A<<A}function Ft(e){return null===e||void 0===e?Ht():Ut(e)?e:Ht().withMutations((function(t){var n=r(e);Ue(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Ut(e){return He(e)&&u(e)}function Zt(e,t,n,r){var o=Object.create(Ft.prototype);return o.size=e?e.size:0,o._map=e,o._list=t,o.__ownerID=n,o.__hash=r,o}function Ht(){return kt||(kt=Zt(ot(),jt()))}function $t(e,t,n){var r,o,i=e._map,a=e._list,s=i.get(t),l=void 0!==s;if(n===v){if(!l)return e;a.size>=m&&a.size>=2*i.size?(r=(o=a.filter((function(e,t){return void 0!==e&&s!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(r.__ownerID=o.__ownerID=e.__ownerID)):(r=i.remove(t),o=s===a.size-1?a.pop():a.set(s,void 0))}else if(l){if(n===a.get(s)[1])return e;r=i,o=a.set(s,[t,n])}else r=i.set(t,a.size),o=a.set(a.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=o,e.__hash=void 0,e):Zt(r,o)}function Vt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Xt(e){this._iter=e,this.size=e.size}function Qt(e){this._iter=e,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Gt(e){var t=vn(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=yn,t.__iterateUncached=function(t,n){var r=this;return e.__iterate((function(e,n){return!1!==t(n,e,r)}),n)},t.__iteratorUncached=function(t,n){if(t===B){var r=e.__iterator(t,n);return new P((function(){var e=r.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(t===j?T:j,n)},t}function Kt(e,t,n){var r=vn(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,o){var i=e.get(r,v);return i===v?o:t.call(n,i,r,e)},r.__iterateUncached=function(r,o){var i=this;return e.__iterate((function(e,o,a){return!1!==r(t.call(n,e,o,a),o,i)}),o)},r.__iteratorUncached=function(r,o){var i=e.__iterator(B,o);return new P((function(){var o=i.next();if(o.done)return o;var a=o.value,s=a[0];return I(r,s,t.call(n,a[1],s,e),o)}))},r}function Jt(e,t){var n=vn(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=Gt(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,r){return e.get(t?n:-1-n,r)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=yn,n.__iterate=function(t,n){var r=this;return e.__iterate((function(e,n){return t(e,n,r)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function en(e,t,n,r){var o=vn(e);return r&&(o.has=function(r){var o=e.get(r,v);return o!==v&&!!t.call(n,o,r,e)},o.get=function(r,o){var i=e.get(r,v);return i!==v&&t.call(n,i,r,e)?i:o}),o.__iterateUncached=function(o,i){var a=this,s=0;return e.__iterate((function(e,i,l){if(t.call(n,e,i,l))return s++,o(e,r?i:s-1,a)}),i),s},o.__iteratorUncached=function(o,i){var a=e.__iterator(B,i),s=0;return new P((function(){for(;;){var i=a.next();if(i.done)return i;var l=i.value,c=l[0],u=l[1];if(t.call(n,u,c,e))return I(o,r?c:s++,u,i)}}))},o}function tn(e,t,n){var r=Ze().asMutable();return e.__iterate((function(o,i){r.update(t.call(n,o,i,e),0,(function(e){return e+1}))})),r.asImmutable()}function nn(e,t,n){var r=s(e),o=(u(e)?Ft():Ze()).asMutable();e.__iterate((function(i,a){o.update(t.call(n,i,a,e),(function(e){return(e=e||[]).push(r?[a,i]:i),e}))}));var i=gn(e);return o.map((function(t){return bn(e,i(t))}))}function rn(e,t,n,r){var o=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),E(t,n,o))return e;var i=k(t,o),a=D(n,o);if(i!==i||a!==a)return rn(e.toSeq().cacheResult(),t,n,r);var s,l=a-i;l===l&&(s=l<0?0:l);var c=vn(e);return c.size=0===s?s:e.size&&s||void 0,!r&&ie(e)&&s>=0&&(c.get=function(t,n){return(t=C(this,t))>=0&&t<s?e.get(t+i,n):n}),c.__iterateUncached=function(t,n){var o=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,l=!0,c=0;return e.__iterate((function(e,n){if(!l||!(l=a++<i))return c++,!1!==t(e,r?n:c-1,o)&&c!==s})),c},c.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var o=0!==s&&e.__iterator(t,n),a=0,l=0;return new P((function(){for(;a++<i;)o.next();if(++l>s)return W();var e=o.next();return r||t===j?e:I(t,l-1,t===T?void 0:e.value[1],e)}))},c}function on(e,t,n){var r=vn(e);return r.__iterateUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterate(r,o);var a=0;return e.__iterate((function(e,o,s){return t.call(n,e,o,s)&&++a&&r(e,o,i)})),a},r.__iteratorUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterator(r,o);var a=e.__iterator(B,o),s=!0;return new P((function(){if(!s)return W();var e=a.next();if(e.done)return e;var o=e.value,l=o[0],c=o[1];return t.call(n,c,l,i)?r===B?e:I(r,l,c,e):(s=!1,W())}))},r}function an(e,t,n,r){var o=vn(e);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,l=0;return e.__iterate((function(e,i,c){if(!s||!(s=t.call(n,e,i,c)))return l++,o(e,r?i:l-1,a)})),l},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=e.__iterator(B,i),l=!0,c=0;return new P((function(){var e,i,u;do{if((e=s.next()).done)return r||o===j?e:I(o,c++,o===T?void 0:e.value[1],e);var d=e.value;i=d[0],u=d[1],l&&(l=t.call(n,u,i,a))}while(l);return o===B?e:I(o,i,u,e)}))},o}function sn(e,t){var n=s(e),o=[e].concat(t).map((function(e){return a(e)?n&&(e=r(e)):e=n?se(e):le(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===o.length)return e;if(1===o.length){var i=o[0];if(i===e||n&&s(i)||l(e)&&l(i))return i}var c=new te(o);return n?c=c.toKeyedSeq():l(e)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=o.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),c}function ln(e,t,n){var r=vn(e);return r.__iterateUncached=function(r,o){var i=0,s=!1;function l(e,c){var u=this;e.__iterate((function(e,o){return(!t||c<t)&&a(e)?l(e,c+1):!1===r(e,n?o:i++,u)&&(s=!0),!s}),o)}return l(e,0),i},r.__iteratorUncached=function(r,o){var i=e.__iterator(r,o),s=[],l=0;return new P((function(){for(;i;){var e=i.next();if(!1===e.done){var c=e.value;if(r===B&&(c=c[1]),t&&!(s.length<t)||!a(c))return n?e:I(r,l++,c,e);s.push(i),i=c.__iterator(r,o)}else i=s.pop()}return W()}))},r}function cn(e,t,n){var r=gn(e);return e.toSeq().map((function(o,i){return r(t.call(n,o,i,e))})).flatten(!0)}function un(e,t){var n=vn(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,r){var o=this,i=0;return e.__iterate((function(e,r){return(!i||!1!==n(t,i++,o))&&!1!==n(e,i++,o)}),r),i},n.__iteratorUncached=function(n,r){var o,i=e.__iterator(j,r),a=0;return new P((function(){return(!o||a%2)&&(o=i.next()).done?o:a%2?I(n,a++,t):I(n,a++,o.value,o)}))},n}function dn(e,t,n){t||(t=Mn);var r=s(e),o=0,i=e.toSeq().map((function(t,r){return[r,t,o++,n?n(t,r,e):t]})).toArray();return i.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(r?function(e,t){i[t].length=2}:function(e,t){i[t]=e[1]}),r?X(i):l(e)?Q(i):Y(i)}function pn(e,t,n){if(t||(t=Mn),n){var r=e.toSeq().map((function(t,r){return[t,n(t,r,e)]})).reduce((function(e,n){return fn(t,e[1],n[1])?n:e}));return r&&r[0]}return e.reduce((function(e,n){return fn(t,e,n)?n:e}))}function fn(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(void 0===n||null===n||n!==n)||r>0}function hn(e,t,r){var o=vn(e);return o.size=new te(r).map((function(e){return e.size})).min(),o.__iterate=function(e,t){for(var n,r=this.__iterator(j,t),o=0;!(n=r.next()).done&&!1!==e(n.value,o++,this););return o},o.__iteratorUncached=function(e,o){var i=r.map((function(e){return e=n(e),Z(o?e.reverse():e)})),a=0,s=!1;return new P((function(){var n;return s||(n=i.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?W():I(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},o}function bn(e,t){return ie(e)?t:e.constructor(t)}function An(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function mn(e){return Ue(e.size),w(e)}function gn(e){return s(e)?r:l(e)?o:i}function vn(e){return Object.create((s(e)?X:l(e)?Q:Y).prototype)}function yn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):V.prototype.cacheResult.call(this)}function Mn(e,t){return e>t?1:e<t?-1:0}function On(e){var t=Z(e);if(!t){if(!$(e))throw new TypeError("Expected iterable or array-like: "+e);t=Z(n(e))}return t}function _n(e,t){var n,r=function(i){if(i instanceof r)return i;if(!(this instanceof r))return new r(i);if(!n){n=!0;var a=Object.keys(e);Cn(o,a),o.size=a.length,o._name=t,o._keys=a,o._defaultValues=e}this._map=Ze(i)},o=r.prototype=Object.create(zn);return o.constructor=r,r}t(Ft,Ze),Ft.of=function(){return this(arguments)},Ft.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Ft.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Ft.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Ht()},Ft.prototype.set=function(e,t){return $t(this,e,t)},Ft.prototype.remove=function(e){return $t(this,e,v)},Ft.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Ft.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},Ft.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Ft.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?Zt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Ft.isOrderedMap=Ut,Ft.prototype[h]=!0,Ft.prototype[b]=Ft.prototype.remove,t(Vt,X),Vt.prototype.get=function(e,t){return this._iter.get(e,t)},Vt.prototype.has=function(e){return this._iter.has(e)},Vt.prototype.valueSeq=function(){return this._iter.valueSeq()},Vt.prototype.reverse=function(){var e=this,t=Jt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Vt.prototype.map=function(e,t){var n=this,r=Kt(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},Vt.prototype.__iterate=function(e,t){var n,r=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,r)}:(n=t?mn(this):0,function(o){return e(o,t?--n:n++,r)}),t)},Vt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(j,t),r=t?mn(this):0;return new P((function(){var o=n.next();return o.done?o:I(e,t?--r:r++,o.value,o)}))},Vt.prototype[h]=!0,t(Xt,Q),Xt.prototype.includes=function(e){return this._iter.includes(e)},Xt.prototype.__iterate=function(e,t){var n=this,r=0;return this._iter.__iterate((function(t){return e(t,r++,n)}),t)},Xt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(j,t),r=0;return new P((function(){var t=n.next();return t.done?t:I(e,r++,t.value,t)}))},t(Qt,Y),Qt.prototype.has=function(e){return this._iter.includes(e)},Qt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Qt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(j,t);return new P((function(){var t=n.next();return t.done?t:I(e,t.value,t.value,t)}))},t(Yt,X),Yt.prototype.entrySeq=function(){return this._iter.toSeq()},Yt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){An(t);var r=a(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}}),t)},Yt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(j,t);return new P((function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){An(r);var o=a(r);return I(e,o?r.get(0):r[0],o?r.get(1):r[1],t)}}}))},Xt.prototype.cacheResult=Vt.prototype.cacheResult=Qt.prototype.cacheResult=Yt.prototype.cacheResult=yn,t(_n,_e),_n.prototype.toString=function(){return this.__toString(wn(this)+" {","}")},_n.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},_n.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},_n.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=xn(this,ot()))},_n.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+wn(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:xn(this,n)},_n.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:xn(this,t)},_n.prototype.wasAltered=function(){return this._map.wasAltered()},_n.prototype.__iterator=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},_n.prototype.__iterate=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},_n.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?xn(this,t,e):(this.__ownerID=e,this._map=t,this)};var zn=_n.prototype;function xn(e,t,n){var r=Object.create(Object.getPrototypeOf(e));return r._map=t,r.__ownerID=n,r}function wn(e){return e._name||e.constructor.name||"Record"}function Cn(e,t){try{t.forEach(Sn.bind(void 0,e))}catch(n){}}function Sn(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){ye(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function En(e){return null===e||void 0===e?Ln():kn(e)&&!u(e)?e:Ln().withMutations((function(t){var n=i(e);Ue(n.size),n.forEach((function(e){return t.add(e)}))}))}function kn(e){return!(!e||!e[Nn])}zn[b]=zn.remove,zn.deleteIn=zn.removeIn=Xe.removeIn,zn.merge=Xe.merge,zn.mergeWith=Xe.mergeWith,zn.mergeIn=Xe.mergeIn,zn.mergeDeep=Xe.mergeDeep,zn.mergeDeepWith=Xe.mergeDeepWith,zn.mergeDeepIn=Xe.mergeDeepIn,zn.setIn=Xe.setIn,zn.update=Xe.update,zn.updateIn=Xe.updateIn,zn.withMutations=Xe.withMutations,zn.asMutable=Xe.asMutable,zn.asImmutable=Xe.asImmutable,t(En,xe),En.of=function(){return this(arguments)},En.fromKeys=function(e){return this(r(e).keySeq())},En.prototype.toString=function(){return this.__toString("Set {","}")},En.prototype.has=function(e){return this._map.has(e)},En.prototype.add=function(e){return jn(this,this._map.set(e,!0))},En.prototype.remove=function(e){return jn(this,this._map.remove(e))},En.prototype.clear=function(){return jn(this,this._map.clear())},En.prototype.union=function(){var t=e.call(arguments,0);return 0===(t=t.filter((function(e){return 0!==e.size}))).length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(e){for(var n=0;n<t.length;n++)i(t[n]).forEach((function(t){return e.add(t)}))})):this.constructor(t[0])},En.prototype.intersect=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return i(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.every((function(e){return e.includes(n)}))||e.remove(n)}))}))},En.prototype.subtract=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return i(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.some((function(e){return e.includes(n)}))&&e.remove(n)}))}))},En.prototype.merge=function(){return this.union.apply(this,arguments)},En.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},En.prototype.sort=function(e){return Rn(dn(this,e))},En.prototype.sortBy=function(e,t){return Rn(dn(this,t,e))},En.prototype.wasAltered=function(){return this._map.wasAltered()},En.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,r){return e(r,r,n)}),t)},En.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},En.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):(this.__ownerID=e,this._map=t,this)},En.isSet=kn;var Dn,Nn="@@__IMMUTABLE_SET__@@",Tn=En.prototype;function jn(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._map?e:0===t.size?e.__empty():e.__make(t)}function Bn(e,t){var n=Object.create(Tn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Ln(){return Dn||(Dn=Bn(ot()))}function Rn(e){return null===e||void 0===e?Fn():qn(e)?e:Fn().withMutations((function(t){var n=i(e);Ue(n.size),n.forEach((function(e){return t.add(e)}))}))}function qn(e){return kn(e)&&u(e)}Tn[Nn]=!0,Tn[b]=Tn.remove,Tn.mergeDeep=Tn.merge,Tn.mergeDeepWith=Tn.mergeWith,Tn.withMutations=Xe.withMutations,Tn.asMutable=Xe.asMutable,Tn.asImmutable=Xe.asImmutable,Tn.__empty=Ln,Tn.__make=Bn,t(Rn,En),Rn.of=function(){return this(arguments)},Rn.fromKeys=function(e){return this(r(e).keySeq())},Rn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Rn.isOrderedSet=qn;var Pn,In=Rn.prototype;function Wn(e,t){var n=Object.create(In);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Fn(){return Pn||(Pn=Wn(Ht()))}function Un(e){return null===e||void 0===e?Qn():Zn(e)?e:Qn().unshiftAll(e)}function Zn(e){return!(!e||!e[$n])}In[h]=!0,In.__empty=Fn,In.__make=Wn,t(Un,ze),Un.of=function(){return this(arguments)},Un.prototype.toString=function(){return this.__toString("Stack [","]")},Un.prototype.get=function(e,t){var n=this._head;for(e=C(this,e);n&&e--;)n=n.next;return n?n.value:t},Un.prototype.peek=function(){return this._head&&this._head.value},Un.prototype.push=function(){if(0===arguments.length)return this;for(var e=this.size+arguments.length,t=this._head,n=arguments.length-1;n>=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Xn(e,t)},Un.prototype.pushAll=function(e){if(0===(e=o(e)).size)return this;Ue(e.size);var t=this.size,n=this._head;return e.reverse().forEach((function(e){t++,n={value:e,next:n}})),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Xn(t,n)},Un.prototype.pop=function(){return this.slice(1)},Un.prototype.unshift=function(){return this.push.apply(this,arguments)},Un.prototype.unshiftAll=function(e){return this.pushAll(e)},Un.prototype.shift=function(){return this.pop.apply(this,arguments)},Un.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Qn()},Un.prototype.slice=function(e,t){if(E(e,t,this.size))return this;var n=k(e,this.size);if(D(t,this.size)!==this.size)return ze.prototype.slice.call(this,e,t);for(var r=this.size-n,o=this._head;n--;)o=o.next;return this.__ownerID?(this.size=r,this._head=o,this.__hash=void 0,this.__altered=!0,this):Xn(r,o)},Un.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Xn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Un.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,r=this._head;r&&!1!==e(r.value,n++,this);)r=r.next;return n},Un.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new P((function(){if(r){var t=r.value;return r=r.next,I(e,n++,t)}return W()}))},Un.isStack=Zn;var Hn,$n="@@__IMMUTABLE_STACK__@@",Vn=Un.prototype;function Xn(e,t,n,r){var o=Object.create(Vn);return o.size=e,o._head=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Qn(){return Hn||(Hn=Xn(0))}function Yn(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}Vn[$n]=!0,Vn.withMutations=Xe.withMutations,Vn.asMutable=Xe.asMutable,Vn.asImmutable=Xe.asImmutable,Vn.wasAltered=Xe.wasAltered,n.Iterator=P,Yn(n,{toArray:function(){Ue(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Xt(this)},toJS:function(){return this.toSeq().map((function(e){return e&&"function"===typeof e.toJS?e.toJS():e})).__toJS()},toJSON:function(){return this.toSeq().map((function(e){return e&&"function"===typeof e.toJSON?e.toJSON():e})).__toJS()},toKeyedSeq:function(){return new Vt(this,!0)},toMap:function(){return Ze(this.toKeyedSeq())},toObject:function(){Ue(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return Ft(this.toKeyedSeq())},toOrderedSet:function(){return Rn(s(this)?this.valueSeq():this)},toSet:function(){return En(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Qt(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Un(s(this)?this.valueSeq():this)},toList:function(){return zt(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return bn(this,sn(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return me(t,e)}))},entries:function(){return this.__iterator(B)},every:function(e,t){Ue(this.size);var n=!0;return this.__iterate((function(r,o,i){if(!e.call(t,r,o,i))return n=!1,!1})),n},filter:function(e,t){return bn(this,en(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},findEntry:function(e,t){var n;return this.__iterate((function(r,o,i){if(e.call(t,r,o,i))return n=[o,r],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return Ue(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Ue(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(r){n?n=!1:t+=e,t+=null!==r&&void 0!==r?r.toString():""})),t},keys:function(){return this.__iterator(T)},map:function(e,t){return bn(this,Kt(this,e,t))},reduce:function(e,t,n){var r,o;return Ue(this.size),arguments.length<2?o=!0:r=t,this.__iterate((function(t,i,a){o?(o=!1,r=t):r=e.call(n,r,t,i,a)})),r},reduceRight:function(e,t,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return bn(this,Jt(this,!0))},slice:function(e,t){return bn(this,rn(this,e,t,!0))},some:function(e,t){return!this.every(tr(e),t)},sort:function(e){return bn(this,dn(this,e))},values:function(){return this.__iterator(j)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(e,t){return w(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return tn(this,e,t)},equals:function(e){return ge(this,e)},entrySeq:function(){var e=this;if(e._cache)return new te(e._cache);var t=e.toSeq().map(er).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(tr(e),t)},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},first:function(){return this.find(S)},flatMap:function(e,t){return bn(this,cn(this,e,t))},flatten:function(e){return bn(this,ln(this,e,!0))},fromEntrySeq:function(){return new Yt(this)},get:function(e,t){return this.find((function(t,n){return me(n,e)}),void 0,t)},getIn:function(e,t){for(var n,r=this,o=On(e);!(n=o.next()).done;){var i=n.value;if((r=r&&r.get?r.get(i,v):v)===v)return t}return r},groupBy:function(e,t){return nn(this,e,t)},has:function(e){return this.get(e,v)!==v},hasIn:function(e){return this.getIn(e,v)!==v},isSubset:function(e){return e="function"===typeof e.includes?e:n(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"===typeof e.isSubset?e:n(e)).isSubset(this)},keySeq:function(){return this.toSeq().map(Jn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return pn(this,e)},maxBy:function(e,t){return pn(this,t,e)},min:function(e){return pn(this,e?nr(e):ir)},minBy:function(e,t){return pn(this,t?nr(t):ir,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return bn(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return bn(this,an(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(tr(e),t)},sortBy:function(e,t){return bn(this,dn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return bn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return bn(this,on(this,e,t))},takeUntil:function(e,t){return this.takeWhile(tr(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=ar(this))}});var Gn=n.prototype;Gn[d]=!0,Gn[q]=Gn.values,Gn.__toJS=Gn.toArray,Gn.__toStringMapper=rr,Gn.inspect=Gn.toSource=function(){return this.toString()},Gn.chain=Gn.flatMap,Gn.contains=Gn.includes,function(){try{Object.defineProperty(Gn,"length",{get:function(){if(!n.noLengthWarning){var e;try{throw new Error}catch(t){e=t.stack}if(-1===e.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+e),this.size}}})}catch(e){}}(),Yn(r,{flip:function(){return bn(this,Gt(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey((function(t){return me(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return me(t,e)}))},mapEntries:function(e,t){var n=this,r=0;return bn(this,this.toSeq().map((function(o,i){return e.call(t,[i,o],r++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return bn(this,this.toSeq().flip().map((function(r,o){return e.call(t,r,o,n)})).flip())}});var Kn=r.prototype;function Jn(e,t){return t}function er(e,t){return[t,e]}function tr(e){return function(){return!e.apply(this,arguments)}}function nr(e){return function(){return-e.apply(this,arguments)}}function rr(e){return"string"===typeof e?JSON.stringify(e):e}function or(){return x(arguments)}function ir(e,t){return e<t?1:e>t?-1:0}function ar(e){if(e.size===1/0)return 0;var t=u(e),n=s(e),r=t?1:0;return sr(e.__iterate(n?t?function(e,t){r=31*r+lr(Se(e),Se(t))|0}:function(e,t){r=r+lr(Se(e),Se(t))|0}:t?function(e){r=31*r+Se(e)|0}:function(e){r=r+Se(e)|0}),r)}function sr(e,t){return t=we(t,3432918353),t=we(t<<15|t>>>-15,461845907),t=we(t<<13|t>>>-13,5),t=we((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Ce((t=we(t^t>>>13,3266489909))^t>>>16)}function lr(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Kn[p]=!0,Kn[q]=Gn.entries,Kn.__toJS=Gn.toObject,Kn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+rr(e)},Yn(o,{toKeyedSeq:function(){return new Vt(this,!1)},filter:function(e,t){return bn(this,en(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.toKeyedSeq().keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.toKeyedSeq().reverse().keyOf(e);return void 0===t?-1:t},reverse:function(){return bn(this,Jt(this,!1))},slice:function(e,t){return bn(this,rn(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=k(e,e<0?this.count():this.size);var r=this.slice(0,e);return bn(this,1===n?r:r.concat(x(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.toKeyedSeq().findLastKey(e,t);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(e){return bn(this,ln(this,e,!1))},get:function(e,t){return(e=C(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,n){return n===e}),void 0,t)},has:function(e){return(e=C(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return bn(this,un(this,e))},interleave:function(){var e=[this].concat(x(arguments)),t=hn(this.toSeq(),Q.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),bn(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return bn(this,an(this,e,t,!1))},zip:function(){return bn(this,hn(this,or,[this].concat(x(arguments))))},zipWith:function(e){var t=x(arguments);return t[0]=this,bn(this,hn(this,e,t))}}),o.prototype[f]=!0,o.prototype[h]=!0,Yn(i,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),i.prototype.has=Gn.includes,Yn(X,r.prototype),Yn(Q,o.prototype),Yn(Y,i.prototype),Yn(_e,r.prototype),Yn(ze,o.prototype),Yn(xe,i.prototype),{Iterable:n,Seq:V,Collection:Oe,Map:Ze,OrderedMap:Ft,List:zt,Stack:Un,Set:En,OrderedSet:Rn,Record:_n,Range:Me,Repeat:ve,is:me,fromJS:fe}}()},8866:function(e){"use strict";var t,n,r=Function.prototype.toString,o="object"===typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"===typeof o&&"function"===typeof Object.defineProperty)try{t=Object.defineProperty({},"length",{get:function(){throw n}}),n={},o((function(){throw 42}),null,t)}catch(f){f!==n&&(o=null)}else o=null;var i=/^\s*class\b/,a=function(e){try{var t=r.call(e);return i.test(t)}catch(n){return!1}},s=function(e){try{return!a(e)&&(r.call(e),!0)}catch(t){return!1}},l=Object.prototype.toString,c="function"===typeof Symbol&&!!Symbol.toStringTag,u=!(0 in[,]),d=function(){return!1};if("object"===typeof document){var p=document.all;l.call(p)===l.call(document.all)&&(d=function(e){if((u||!e)&&("undefined"===typeof e||"object"===typeof e))try{var t=l.call(e);return("[object HTMLAllCollection]"===t||"[object HTML document.all class]"===t||"[object HTMLCollection]"===t||"[object Object]"===t)&&null==e("")}catch(n){}return!1})}e.exports=o?function(e){if(d(e))return!0;if(!e)return!1;if("function"!==typeof e&&"object"!==typeof e)return!1;try{o(e,null,t)}catch(r){if(r!==n)return!1}return!a(e)&&s(e)}:function(e){if(d(e))return!0;if(!e)return!1;if("function"!==typeof e&&"object"!==typeof e)return!1;if(c)return s(e);if(a(e))return!1;var t=l.call(e);return!("[object Function]"!==t&&"[object GeneratorFunction]"!==t&&!/^\[object HTML/.test(t))&&s(e)}},22039:function(e,t,n){"use strict";var r=Date.prototype.getDay,o=Object.prototype.toString,i=n(48857)();e.exports=function(e){return"object"===typeof e&&null!==e&&(i?function(e){try{return r.call(e),!0}catch(t){return!1}}(e):"[object Date]"===o.call(e))}},31728:function(e,t,n){"use strict";var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o="object"===("undefined"===typeof window?"undefined":r(window))&&"object"===("undefined"===typeof document?"undefined":r(document))&&9===document.nodeType;t.Z=o},27503:function(e,t,n){"use strict";var r,o,i,a,s=n(44680),l=n(48857)();if(l){r=s("Object.prototype.hasOwnProperty"),o=s("RegExp.prototype.exec"),i={};var c=function(){throw i};a={toString:c,valueOf:c},"symbol"===typeof Symbol.toPrimitive&&(a[Symbol.toPrimitive]=c)}var u=s("Object.prototype.toString"),d=Object.getOwnPropertyDescriptor;e.exports=l?function(e){if(!e||"object"!==typeof e)return!1;var t=d(e,"lastIndex");if(!(t&&r(t,"value")))return!1;try{o(e,a)}catch(n){return n===i}}:function(e){return!(!e||"object"!==typeof e&&"function"!==typeof e)&&"[object RegExp]"===u(e)}},43156:function(e,t,n){"use strict";var r=Object.prototype.toString;if(n(95520)()){var o=Symbol.prototype.toString,i=/^Symbol\(.*\)$/;e.exports=function(e){if("symbol"===typeof e)return!0;if("[object Symbol]"!==r.call(e))return!1;try{return function(e){return"symbol"===typeof e.valueOf()&&i.test(o.call(e))}(e)}catch(t){return!1}}}else e.exports=function(e){return!1}},64163:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return!("undefined"===typeof window||!("ontouchstart"in window||window.DocumentTouch&&"undefined"!==typeof document&&document instanceof window.DocumentTouch))||!("undefined"===typeof navigator||!navigator.maxTouchPoints&&!navigator.msMaxTouchPoints)},e.exports=t.default},35508:function(e,t,n){"use strict";n.r(t),n.d(t,{AcroForm:function(){return gt},AcroFormAppearance:function(){return At},AcroFormButton:function(){return ct},AcroFormCheckBox:function(){return ft},AcroFormChoiceField:function(){return it},AcroFormComboBox:function(){return st},AcroFormEditBox:function(){return lt},AcroFormListBox:function(){return at},AcroFormPasswordField:function(){return bt},AcroFormPushButton:function(){return ut},AcroFormRadioButton:function(){return dt},AcroFormTextField:function(){return ht},GState:function(){return we},ShadingPattern:function(){return Se},TilingPattern:function(){return Ee},default:function(){return mn},jsPDF:function(){return ke}});var r=n(71002),o=Uint8Array,i=Uint16Array,a=Uint32Array,s=new o([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),l=new o([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),c=new o([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),u=function(e,t){for(var n=new i(31),r=0;r<31;++r)n[r]=t+=1<<e[r-1];var o=new a(n[30]);for(r=1;r<30;++r)for(var s=n[r];s<n[r+1];++s)o[s]=s-n[r]<<5|r;return[n,o]},d=u(s,2),p=d[0],f=d[1];p[28]=258,f[258]=28;for(var h=u(l,0),b=h[0],A=h[1],m=new i(32768),g=0;g<32768;++g){var v=(43690&g)>>>1|(21845&g)<<1;v=(61680&(v=(52428&v)>>>2|(13107&v)<<2))>>>4|(3855&v)<<4,m[g]=((65280&v)>>>8|(255&v)<<8)>>>1}var y=function(e,t,n){for(var r=e.length,o=0,a=new i(t);o<r;++o)++a[e[o]-1];var s,l=new i(t);for(o=0;o<t;++o)l[o]=l[o-1]+a[o-1]<<1;if(n){s=new i(1<<t);var c=15-t;for(o=0;o<r;++o)if(e[o])for(var u=o<<4|e[o],d=t-e[o],p=l[e[o]-1]++<<d,f=p|(1<<d)-1;p<=f;++p)s[m[p]>>>c]=u}else for(s=new i(r),o=0;o<r;++o)s[o]=m[l[e[o]-1]++]>>>15-e[o];return s},M=new o(288);for(g=0;g<144;++g)M[g]=8;for(g=144;g<256;++g)M[g]=9;for(g=256;g<280;++g)M[g]=7;for(g=280;g<288;++g)M[g]=8;var O=new o(32);for(g=0;g<32;++g)O[g]=5;var _=y(M,9,0),z=y(M,9,1),x=y(O,5,0),w=y(O,5,1),C=function(e){for(var t=e[0],n=1;n<e.length;++n)e[n]>t&&(t=e[n]);return t},S=function(e,t,n){var r=t/8>>0;return(e[r]|e[r+1]<<8)>>>(7&t)&n},E=function(e,t){var n=t/8>>0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>>(7&t)},k=function(e){return(e/8>>0)+(7&e&&1)},D=function(e,t,n){(null==t||t<0)&&(t=0),(null==n||n>e.length)&&(n=e.length);var r=new(e instanceof i?i:e instanceof a?a:o)(n-t);return r.set(e.subarray(t,n)),r},N=function(e,t,n){var r=e.length,i=!t||n,a=!n||n.i;n||(n={}),t||(t=new o(3*r));var u=function(e){var n=t.length;if(e>n){var r=new o(Math.max(2*n,e));r.set(t),t=r}},d=n.f||0,f=n.p||0,h=n.b||0,A=n.l,m=n.d,g=n.m,v=n.n,M=8*r;do{if(!A){n.f=d=S(e,f,1);var O=S(e,f+1,3);if(f+=3,!O){var _=e[(W=k(f)+4)-4]|e[W-3]<<8,x=W+_;if(x>r){if(a)throw"unexpected EOF";break}i&&u(h+_),t.set(e.subarray(W,x),h),n.b=h+=_,n.p=f=8*x;continue}if(1==O)A=z,m=w,g=9,v=5;else{if(2!=O)throw"invalid block type";var N=S(e,f,31)+257,T=S(e,f+10,15)+4,j=N+S(e,f+5,31)+1;f+=14;for(var B=new o(j),L=new o(19),R=0;R<T;++R)L[c[R]]=S(e,f+3*R,7);f+=3*T;var q=C(L),P=(1<<q)-1;if(!a&&f+j*(q+7)>M)break;var I=y(L,q,1);for(R=0;R<j;){var W,F=I[S(e,f,P)];if(f+=15&F,(W=F>>>4)<16)B[R++]=W;else{var U=0,Z=0;for(16==W?(Z=3+S(e,f,3),f+=2,U=B[R-1]):17==W?(Z=3+S(e,f,7),f+=3):18==W&&(Z=11+S(e,f,127),f+=7);Z--;)B[R++]=U}}var H=B.subarray(0,N),$=B.subarray(N);g=C(H),v=C($),A=y(H,g,1),m=y($,v,1)}if(f>M)throw"unexpected EOF"}i&&u(h+131072);for(var V=(1<<g)-1,X=(1<<v)-1,Q=g+v+18;a||f+Q<M;){var Y=(U=A[E(e,f)&V])>>>4;if((f+=15&U)>M)throw"unexpected EOF";if(!U)throw"invalid length/literal";if(Y<256)t[h++]=Y;else{if(256==Y){A=null;break}var G=Y-254;if(Y>264){var K=s[R=Y-257];G=S(e,f,(1<<K)-1)+p[R],f+=K}var J=m[E(e,f)&X],ee=J>>>4;if(!J)throw"invalid distance";f+=15&J;$=b[ee];if(ee>3){K=l[ee];$+=E(e,f)&(1<<K)-1,f+=K}if(f>M)throw"unexpected EOF";i&&u(h+131072);for(var te=h+G;h<te;h+=4)t[h]=t[h-$],t[h+1]=t[h+1-$],t[h+2]=t[h+2-$],t[h+3]=t[h+3-$];h=te}}n.l=A,n.p=f,n.b=h,A&&(d=1,n.m=g,n.d=m,n.n=v)}while(!d);return h==t.length?t:D(t,0,h)},T=function(e,t,n){n<<=7&t;var r=t/8>>0;e[r]|=n,e[r+1]|=n>>>8},j=function(e,t,n){n<<=7&t;var r=t/8>>0;e[r]|=n,e[r+1]|=n>>>8,e[r+2]|=n>>>16},B=function(e,t){for(var n=[],r=0;r<e.length;++r)e[r]&&n.push({s:r,f:e[r]});var a=n.length,s=n.slice();if(!a)return[new o(0),0];if(1==a){var l=new o(n[0].s+1);return l[n[0].s]=1,[l,1]}n.sort((function(e,t){return e.f-t.f})),n.push({s:-1,f:25001});var c=n[0],u=n[1],d=0,p=1,f=2;for(n[0]={s:-1,f:c.f+u.f,l:c,r:u};p!=a-1;)c=n[n[d].f<n[f].f?d++:f++],u=n[d!=p&&n[d].f<n[f].f?d++:f++],n[p++]={s:-1,f:c.f+u.f,l:c,r:u};var h=s[0].s;for(r=1;r<a;++r)s[r].s>h&&(h=s[r].s);var b=new i(h+1),A=L(n[p-1],b,0);if(A>t){r=0;var m=0,g=A-t,v=1<<g;for(s.sort((function(e,t){return b[t.s]-b[e.s]||e.f-t.f}));r<a;++r){var y=s[r].s;if(!(b[y]>t))break;m+=v-(1<<A-b[y]),b[y]=t}for(m>>>=g;m>0;){var M=s[r].s;b[M]<t?m-=1<<t-b[M]++-1:++r}for(;r>=0&&m;--r){var O=s[r].s;b[O]==t&&(--b[O],++m)}A=t}return[new o(b),A]},L=function e(t,n,r){return-1==t.s?Math.max(e(t.l,n,r+1),e(t.r,n,r+1)):n[t.s]=r},R=function(e){for(var t=e.length;t&&!e[--t];);for(var n=new i(++t),r=0,o=e[0],a=1,s=function(e){n[r++]=e},l=1;l<=t;++l)if(e[l]==o&&l!=t)++a;else{if(!o&&a>2){for(;a>138;a-=138)s(32754);a>2&&(s(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(s(o),--a;a>6;a-=6)s(8304);a>2&&(s(a-3<<5|8208),a=0)}for(;a--;)s(o);a=1,o=e[l]}return[n.subarray(0,r),t]},q=function(e,t){for(var n=0,r=0;r<t.length;++r)n+=e[r]*t[r];return n},P=function(e,t,n){var r=n.length,o=k(t+2);e[o]=255&r,e[o+1]=r>>>8,e[o+2]=255^e[o],e[o+3]=255^e[o+1];for(var i=0;i<r;++i)e[o+i+4]=n[i];return 8*(o+4+r)},I=function(e,t,n,r,o,a,u,d,p,f,h){T(t,h++,n),++o[256];for(var b=B(o,15),A=b[0],m=b[1],g=B(a,15),v=g[0],z=g[1],w=R(A),C=w[0],S=w[1],E=R(v),k=E[0],D=E[1],N=new i(19),L=0;L<C.length;++L)N[31&C[L]]++;for(L=0;L<k.length;++L)N[31&k[L]]++;for(var I=B(N,7),W=I[0],F=I[1],U=19;U>4&&!W[c[U-1]];--U);var Z,H,$,V,X=f+5<<3,Q=q(o,M)+q(a,O)+u,Y=q(o,A)+q(a,v)+u+14+3*U+q(N,W)+(2*N[16]+3*N[17]+7*N[18]);if(X<=Q&&X<=Y)return P(t,h,e.subarray(p,p+f));if(T(t,h,1+(Y<Q)),h+=2,Y<Q){Z=y(A,m,0),H=A,$=y(v,z,0),V=v;var G=y(W,F,0);T(t,h,S-257),T(t,h+5,D-1),T(t,h+10,U-4),h+=14;for(L=0;L<U;++L)T(t,h+3*L,W[c[L]]);h+=3*U;for(var K=[C,k],J=0;J<2;++J){var ee=K[J];for(L=0;L<ee.length;++L){var te=31&ee[L];T(t,h,G[te]),h+=W[te],te>15&&(T(t,h,ee[L]>>>5&127),h+=ee[L]>>>12)}}}else Z=_,H=M,$=x,V=O;for(L=0;L<d;++L)if(r[L]>255){te=r[L]>>>18&31;j(t,h,Z[te+257]),h+=H[te+257],te>7&&(T(t,h,r[L]>>>23&31),h+=s[te]);var ne=31&r[L];j(t,h,$[ne]),h+=V[ne],ne>3&&(j(t,h,r[L]>>>5&8191),h+=l[ne])}else j(t,h,Z[r[L]]),h+=H[r[L]];return j(t,h,Z[256]),h+H[256]},W=new a([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),F=new o(0),U=function(e,t,n,r,c,u){var d=e.length,p=new o(r+d+5*(1+Math.floor(d/7e3))+c),h=p.subarray(r,p.length-c),b=0;if(!t||d<8)for(var m=0;m<=d;m+=65535){var g=m+65535;g<d?b=P(h,b,e.subarray(m,g)):(h[m]=u,b=P(h,b,e.subarray(m,d)))}else{for(var v=W[t-1],y=v>>>13,M=8191&v,O=(1<<n)-1,_=new i(32768),z=new i(O+1),x=Math.ceil(n/3),w=2*x,C=function(t){return(e[t]^e[t+1]<<x^e[t+2]<<w)&O},S=new a(25e3),E=new i(288),N=new i(32),T=0,j=0,B=(m=0,0),L=0,R=0;m<d;++m){var q=C(m),U=32767&m,Z=z[q];if(_[U]=Z,z[q]=U,L<=m){var H=d-m;if((T>7e3||B>24576)&&H>423){b=I(e,h,0,S,E,N,j,B,R,m-R,b),B=T=j=0,R=m;for(var $=0;$<286;++$)E[$]=0;for($=0;$<30;++$)N[$]=0}var V=2,X=0,Q=M,Y=U-Z&32767;if(H>2&&q==C(m-Y))for(var G=Math.min(y,H)-1,K=Math.min(32767,m),J=Math.min(258,H);Y<=K&&--Q&&U!=Z;){if(e[m+V]==e[m+V-Y]){for(var ee=0;ee<J&&e[m+ee]==e[m+ee-Y];++ee);if(ee>V){if(V=ee,X=Y,ee>G)break;var te=Math.min(Y,ee-2),ne=0;for($=0;$<te;++$){var re=m-Y+$+32768&32767,oe=re-_[re]+32768&32767;oe>ne&&(ne=oe,Z=re)}}}Y+=(U=Z)-(Z=_[U])+32768&32767}if(X){S[B++]=268435456|f[V]<<18|A[X];var ie=31&f[V],ae=31&A[X];j+=s[ie]+l[ae],++E[257+ie],++N[ae],L=m+V,++T}else S[B++]=e[m],++E[e[m]]}}b=I(e,h,u,S,E,N,j,B,R,m-R,b),u||(b=P(h,b,F))}return D(p,0,r+k(b)+c)},Z=function(){var e=1,t=0;return{p:function(n){for(var r=e,o=t,i=n.length,a=0;a!=i;){for(var s=Math.min(a+5552,i);a<s;++a)o+=r+=n[a];r%=65521,o%=65521}e=r,t=o},d:function(){return(e>>>8<<16|(255&t)<<8|t>>>8)+2*((255&e)<<23)}}},H=function(e,t,n,r,o){return U(e,null==t.level?6:t.level,null==t.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):12+t.mem,n,r,!o)},$=function(e,t,n){for(;n;++t)e[t]=n,n>>>=8},V=function(e,t){var n=t.level,r=0==n?0:n<6?1:9==n?3:2;e[0]=120,e[1]=r<<6|(r?32-2*r:1)},X=function(e){if(8!=(15&e[0])||e[0]>>>4>7||(e[0]<<8|e[1])%31)throw"invalid zlib data";if(32&e[1])throw"invalid zlib data: preset dictionaries not supported"};function Q(e,t){void 0===t&&(t={});var n=Z();n.p(e);var r=H(e,t,2,4);return V(r,t),$(r,r.length-4,n.d()),r}function Y(e,t){return N((X(e),e.subarray(2,-4)),t)}var G=function(){return"undefined"!=typeof window?window:"undefined"!=typeof n.g?n.g:"undefined"!=typeof self?self:this}();function K(){G.console&&"function"==typeof G.console.log&&G.console.log.apply(G.console,arguments)}var J={log:K,warn:function(e){G.console&&("function"==typeof G.console.warn?G.console.warn.apply(G.console,arguments):K.call(null,arguments))},error:function(e){G.console&&("function"==typeof G.console.error?G.console.error.apply(G.console,arguments):K(e))}};function ee(e,t,n){var r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){ie(r.response,t,n)},r.onerror=function(){J.error("could not download file")},r.send()}function te(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return t.status>=200&&t.status<=299}function ne(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(n){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var re,oe,ie=G.saveAs||("object"!==("undefined"==typeof window?"undefined":(0,r.Z)(window))||window!==G?function(){}:"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype?function(e,t,n){var r=G.URL||G.webkitURL,o=document.createElement("a");t=t||e.name||"download",o.download=t,o.rel="noopener","string"==typeof e?(o.href=e,o.origin!==location.origin?te(o.href)?ee(e,t,n):ne(o,o.target="_blank"):ne(o)):(o.href=r.createObjectURL(e),setTimeout((function(){r.revokeObjectURL(o.href)}),4e4),setTimeout((function(){ne(o)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,t,n){if(t=t||e.name||"download","string"==typeof e)if(te(e))ee(e,t,n);else{var o=document.createElement("a");o.href=e,o.target="_blank",setTimeout((function(){ne(o)}))}else navigator.msSaveOrOpenBlob(function(e,t){return void 0===t?t={autoBom:!1}:"object"!==(0,r.Z)(t)&&(J.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e}(e,n),t)}:function(e,t,n,o){if((o=o||open("","_blank"))&&(o.document.title=o.document.body.innerText="downloading..."),"string"==typeof e)return ee(e,t,n);var i="application/octet-stream"===e.type,a=/constructor/i.test(G.HTMLElement)||G.safari,s=/CriOS\/[\d]+/.test(navigator.userAgent);if((s||i&&a)&&"object"===("undefined"==typeof FileReader?"undefined":(0,r.Z)(FileReader))){var l=new FileReader;l.onloadend=function(){var e=l.result;e=s?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=e:location=e,o=null},l.readAsDataURL(e)}else{var c=G.URL||G.webkitURL,u=c.createObjectURL(e);o?o.location=u:location.href=u,o=null,setTimeout((function(){c.revokeObjectURL(u)}),4e4)}});function ae(e){var t;e=e||"",this.ok=!1,"#"==e.charAt(0)&&(e=e.substr(1,6)),e={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[e=(e=e.replace(/ /g,"")).toLowerCase()]||e;for(var n=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}}],r=0;r<n.length;r++){var o=n[r].re,i=n[r].process,a=o.exec(e);a&&(t=i(a),this.r=t[0],this.g=t[1],this.b=t[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var e=this.r.toString(16),t=this.g.toString(16),n=this.b.toString(16);return 1==e.length&&(e="0"+e),1==t.length&&(t="0"+t),1==n.length&&(n="0"+n),"#"+e+t+n}}function se(e,t){var n=e[0],r=e[1],o=e[2],i=e[3];n=ce(n,r,o,i,t[0],7,-680876936),i=ce(i,n,r,o,t[1],12,-389564586),o=ce(o,i,n,r,t[2],17,606105819),r=ce(r,o,i,n,t[3],22,-1044525330),n=ce(n,r,o,i,t[4],7,-176418897),i=ce(i,n,r,o,t[5],12,1200080426),o=ce(o,i,n,r,t[6],17,-1473231341),r=ce(r,o,i,n,t[7],22,-45705983),n=ce(n,r,o,i,t[8],7,1770035416),i=ce(i,n,r,o,t[9],12,-1958414417),o=ce(o,i,n,r,t[10],17,-42063),r=ce(r,o,i,n,t[11],22,-1990404162),n=ce(n,r,o,i,t[12],7,1804603682),i=ce(i,n,r,o,t[13],12,-40341101),o=ce(o,i,n,r,t[14],17,-1502002290),n=ue(n,r=ce(r,o,i,n,t[15],22,1236535329),o,i,t[1],5,-165796510),i=ue(i,n,r,o,t[6],9,-1069501632),o=ue(o,i,n,r,t[11],14,643717713),r=ue(r,o,i,n,t[0],20,-373897302),n=ue(n,r,o,i,t[5],5,-701558691),i=ue(i,n,r,o,t[10],9,38016083),o=ue(o,i,n,r,t[15],14,-660478335),r=ue(r,o,i,n,t[4],20,-405537848),n=ue(n,r,o,i,t[9],5,568446438),i=ue(i,n,r,o,t[14],9,-1019803690),o=ue(o,i,n,r,t[3],14,-187363961),r=ue(r,o,i,n,t[8],20,1163531501),n=ue(n,r,o,i,t[13],5,-1444681467),i=ue(i,n,r,o,t[2],9,-51403784),o=ue(o,i,n,r,t[7],14,1735328473),n=de(n,r=ue(r,o,i,n,t[12],20,-1926607734),o,i,t[5],4,-378558),i=de(i,n,r,o,t[8],11,-2022574463),o=de(o,i,n,r,t[11],16,1839030562),r=de(r,o,i,n,t[14],23,-35309556),n=de(n,r,o,i,t[1],4,-1530992060),i=de(i,n,r,o,t[4],11,1272893353),o=de(o,i,n,r,t[7],16,-155497632),r=de(r,o,i,n,t[10],23,-1094730640),n=de(n,r,o,i,t[13],4,681279174),i=de(i,n,r,o,t[0],11,-358537222),o=de(o,i,n,r,t[3],16,-722521979),r=de(r,o,i,n,t[6],23,76029189),n=de(n,r,o,i,t[9],4,-640364487),i=de(i,n,r,o,t[12],11,-421815835),o=de(o,i,n,r,t[15],16,530742520),n=pe(n,r=de(r,o,i,n,t[2],23,-995338651),o,i,t[0],6,-198630844),i=pe(i,n,r,o,t[7],10,1126891415),o=pe(o,i,n,r,t[14],15,-1416354905),r=pe(r,o,i,n,t[5],21,-57434055),n=pe(n,r,o,i,t[12],6,1700485571),i=pe(i,n,r,o,t[3],10,-1894986606),o=pe(o,i,n,r,t[10],15,-1051523),r=pe(r,o,i,n,t[1],21,-2054922799),n=pe(n,r,o,i,t[8],6,1873313359),i=pe(i,n,r,o,t[15],10,-30611744),o=pe(o,i,n,r,t[6],15,-1560198380),r=pe(r,o,i,n,t[13],21,1309151649),n=pe(n,r,o,i,t[4],6,-145523070),i=pe(i,n,r,o,t[11],10,-1120210379),o=pe(o,i,n,r,t[2],15,718787259),r=pe(r,o,i,n,t[9],21,-343485551),e[0]=ye(n,e[0]),e[1]=ye(r,e[1]),e[2]=ye(o,e[2]),e[3]=ye(i,e[3])}function le(e,t,n,r,o,i){return t=ye(ye(t,e),ye(r,i)),ye(t<<o|t>>>32-o,n)}function ce(e,t,n,r,o,i,a){return le(t&n|~t&r,e,t,o,i,a)}function ue(e,t,n,r,o,i,a){return le(t&r|n&~r,e,t,o,i,a)}function de(e,t,n,r,o,i,a){return le(t^n^r,e,t,o,i,a)}function pe(e,t,n,r,o,i,a){return le(n^(t|~r),e,t,o,i,a)}function fe(e){var t,n=e.length,r=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=e.length;t+=64)se(r,he(e.substring(t-64,t)));e=e.substring(t-64);var o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<e.length;t++)o[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(o[t>>2]|=128<<(t%4<<3),t>55)for(se(r,o),t=0;t<16;t++)o[t]=0;return o[14]=8*n,se(r,o),r}function he(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return n}re=G.atob.bind(G),oe=G.btoa.bind(G);var be="0123456789abcdef".split("");function Ae(e){for(var t="",n=0;n<4;n++)t+=be[e>>8*n+4&15]+be[e>>8*n&15];return t}function me(e){return String.fromCharCode((255&e)>>0,(65280&e)>>8,(16711680&e)>>16,(4278190080&e)>>24)}function ge(e){return fe(e).map(me).join("")}var ve="5d41402abc4b2a76b9719d911017c592"!=function(e){for(var t=0;t<e.length;t++)e[t]=Ae(e[t]);return e.join("")}(fe("hello"));function ye(e,t){if(ve){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}return e+t&4294967295}function Me(e,t){var n,r,o,i;if(e!==n){for(var a=(o=e,i=1+(256/e.length>>0),new Array(i+1).join(o)),s=[],l=0;l<256;l++)s[l]=l;var c=0;for(l=0;l<256;l++){var u=s[l];c=(c+u+a.charCodeAt(l))%256,s[l]=s[c],s[c]=u}n=e,r=s}else s=r;var d=t.length,p=0,f=0,h="";for(l=0;l<d;l++)f=(f+(u=s[p=(p+1)%256]))%256,s[p]=s[f],s[f]=u,a=s[(s[p]+s[f])%256],h+=String.fromCharCode(t.charCodeAt(l)^a);return h}var Oe={print:4,modify:8,copy:16,"annot-forms":32};function _e(e,t,n,r){this.v=1,this.r=2;var o=192;e.forEach((function(e){if(void 0!==Oe.perm)throw new Error("Invalid permission: "+e);o+=Oe[e]})),this.padding="(\xbfN^Nu\x8aAd\0NV\xff\xfa\x01\b..\0\xb6\xd0h>\x80/\f\xa9\xfedSiz";var i=(t+this.padding).substr(0,32),a=(n+this.padding).substr(0,32);this.O=this.processOwnerPassword(i,a),this.P=-(1+(255^o)),this.encryptionKey=ge(i+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(r)).substr(0,5),this.U=Me(this.encryptionKey,this.padding)}function ze(e){if(/[^\u0000-\u00ff]/.test(e))throw new Error("Invalid PDF Name Object: "+e+", Only accept ASCII characters.");for(var t="",n=e.length,r=0;r<n;r++){var o=e.charCodeAt(r);t+=o<33||35===o||37===o||40===o||41===o||47===o||60===o||62===o||91===o||93===o||123===o||125===o||o>126?"#"+("0"+o.toString(16)).slice(-2):e[r]}return t}function xe(e){if("object"!==(0,r.Z)(e))throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var t={};this.subscribe=function(e,n,r){if(r=r||!1,"string"!=typeof e||"function"!=typeof n||"boolean"!=typeof r)throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");t.hasOwnProperty(e)||(t[e]={});var o=Math.random().toString(35);return t[e][o]=[n,!!r],o},this.unsubscribe=function(e){for(var n in t)if(t[n][e])return delete t[n][e],0===Object.keys(t[n]).length&&delete t[n],!0;return!1},this.publish=function(n){if(t.hasOwnProperty(n)){var r=Array.prototype.slice.call(arguments,1),o=[];for(var i in t[n]){var a=t[n][i];try{a[0].apply(e,r)}catch(n){G.console&&J.error("jsPDF PubSub Error",n.message,n)}a[1]&&o.push(i)}o.length&&o.forEach(this.unsubscribe)}},this.getTopics=function(){return t}}function we(e){if(!(this instanceof we))return new we(e);var t="opacity,stroke-opacity".split(",");for(var n in e)e.hasOwnProperty(n)&&t.indexOf(n)>=0&&(this[n]=e[n]);this.id="",this.objectNumber=-1}function Ce(e,t){this.gState=e,this.matrix=t,this.id="",this.objectNumber=-1}function Se(e,t,n,r,o){if(!(this instanceof Se))return new Se(e,t,n,r,o);this.type="axial"===e?2:3,this.coords=t,this.colors=n,Ce.call(this,r,o)}function Ee(e,t,n,r,o){if(!(this instanceof Ee))return new Ee(e,t,n,r,o);this.boundingBox=e,this.xStep=t,this.yStep=n,this.stream="",this.cloneIndex=0,Ce.call(this,r,o)}function ke(e){var t,n="string"==typeof arguments[0]?arguments[0]:"p",o=arguments[1],i=arguments[2],a=arguments[3],s=[],l=1,c=16,u="S",d=null;"object"===(0,r.Z)(e=e||{})&&(n=e.orientation,o=e.unit||o,i=e.format||i,a=e.compress||e.compressPdf||a,null!==(d=e.encryption||null)&&(d.userPassword=d.userPassword||"",d.ownerPassword=d.ownerPassword||"",d.userPermissions=d.userPermissions||[]),l="number"==typeof e.userUnit?Math.abs(e.userUnit):1,void 0!==e.precision&&(t=e.precision),void 0!==e.floatPrecision&&(c=e.floatPrecision),u=e.defaultPathOperation||"S"),s=e.filters||(!0===a?["FlateEncode"]:s),o=o||"mm",n=(""+(n||"P")).toLowerCase();var p=e.putOnlyUsedFonts||!1,f={},h={internal:{},__private__:{}};h.__private__.PubSub=xe;var b="1.3",A=h.__private__.getPdfVersion=function(){return b};h.__private__.setPdfVersion=function(e){b=e};var m={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};h.__private__.getPageFormats=function(){return m};var g=h.__private__.getPageFormat=function(e){return m[e]};i=i||"a4";var v={COMPAT:"compat",ADVANCED:"advanced"},y=v.COMPAT;function M(){this.saveGraphicsState(),K(new Ue(me,0,0,-me,0,On()*me).toString()+" cm"),this.setFontSize(this.getFontSize()/me),u="n",y=v.ADVANCED}function O(){this.restoreGraphicsState(),u="S",y=v.COMPAT}var _=h.__private__.combineFontStyleAndFontWeight=function(e,t){if("bold"==e&&"normal"==t||"bold"==e&&400==t||"normal"==e&&"italic"==t||"bold"==e&&"italic"==t)throw new Error("Invalid Combination of fontweight and fontstyle");return t&&(e=400==t||"normal"===t?"italic"===e?"italic":"normal":700!=t&&"bold"!==t||"normal"!==e?(700==t?"bold":t)+""+e:"bold"),e};h.advancedAPI=function(e){var t=y===v.COMPAT;return t&&M.call(this),"function"!=typeof e||(e(this),t&&O.call(this)),this},h.compatAPI=function(e){var t=y===v.ADVANCED;return t&&O.call(this),"function"!=typeof e||(e(this),t&&M.call(this)),this},h.isAdvancedAPI=function(){return y===v.ADVANCED};var z,x=function(e){if(y!==v.ADVANCED)throw new Error(e+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},w=h.roundToPrecision=h.__private__.roundToPrecision=function(e,n){var r=t||n;if(isNaN(e)||isNaN(r))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return e.toFixed(r).replace(/0+$/,"")};z=h.hpf=h.__private__.hpf="number"==typeof c?function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return w(e,c)}:"smart"===c?function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return w(e,e>-1&&e<1?16:5)}:function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return w(e,16)};var C=h.f2=h.__private__.f2=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f2");return w(e,2)},S=h.__private__.f3=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f3");return w(e,3)},E=h.scale=h.__private__.scale=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.scale");return y===v.COMPAT?e*me:y===v.ADVANCED?e:void 0},k=function(e){return E(function(e){return y===v.COMPAT?On()-e:y===v.ADVANCED?e:void 0}(e))};h.__private__.setPrecision=h.setPrecision=function(e){"number"==typeof parseInt(e,10)&&(t=parseInt(e,10))};var D,N="00000000000000000000000000000000",T=h.__private__.getFileId=function(){return N},j=h.__private__.setFileId=function(e){return N=void 0!==e&&/^[a-fA-F0-9]{32}$/.test(e)?e.toUpperCase():N.split("").map((function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))})).join(""),null!==d&&(Dt=new _e(d.userPermissions,d.userPassword,d.ownerPassword,N)),N};h.setFileId=function(e){return j(e),this},h.getFileId=function(){return T()};var B=h.__private__.convertDateToPDFDate=function(e){var t=e.getTimezoneOffset(),n=t<0?"+":"-",r=Math.floor(Math.abs(t/60)),o=Math.abs(t%60),i=[n,I(r),"'",I(o),"'"].join("");return["D:",e.getFullYear(),I(e.getMonth()+1),I(e.getDate()),I(e.getHours()),I(e.getMinutes()),I(e.getSeconds()),i].join("")},L=h.__private__.convertPDFDateToDate=function(e){var t=parseInt(e.substr(2,4),10),n=parseInt(e.substr(6,2),10)-1,r=parseInt(e.substr(8,2),10),o=parseInt(e.substr(10,2),10),i=parseInt(e.substr(12,2),10),a=parseInt(e.substr(14,2),10);return new Date(t,n,r,o,i,a,0)},R=h.__private__.setCreationDate=function(e){var t;if(void 0===e&&(e=new Date),e instanceof Date)t=B(e);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(e))throw new Error("Invalid argument passed to jsPDF.setCreationDate");t=e}return D=t},q=h.__private__.getCreationDate=function(e){var t=D;return"jsDate"===e&&(t=L(D)),t};h.setCreationDate=function(e){return R(e),this},h.getCreationDate=function(e){return q(e)};var P,I=h.__private__.padd2=function(e){return("0"+parseInt(e)).slice(-2)},W=h.__private__.padd2Hex=function(e){return("00"+(e=e.toString())).substr(e.length)},F=0,U=[],Z=[],H=0,$=[],V=[],X=!1,Q=Z;h.__private__.setCustomOutputDestination=function(e){X=!0,Q=e};var Y=function(e){X||(Q=e)};h.__private__.resetCustomOutputDestination=function(){X=!1,Q=Z};var K=h.__private__.out=function(e){return e=e.toString(),H+=e.length+1,Q.push(e),Q},ee=h.__private__.write=function(e){return K(1===arguments.length?e.toString():Array.prototype.join.call(arguments," "))},te=h.__private__.getArrayBuffer=function(e){for(var t=e.length,n=new ArrayBuffer(t),r=new Uint8Array(n);t--;)r[t]=e.charCodeAt(t);return n},ne=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];h.__private__.getStandardFonts=function(){return ne};var re=e.fontSize||16;h.__private__.setFontSize=h.setFontSize=function(e){return re=y===v.ADVANCED?e/me:e,this};var se,le=h.__private__.getFontSize=h.getFontSize=function(){return y===v.COMPAT?re:re*me},ce=e.R2L||!1;h.__private__.setR2L=h.setR2L=function(e){return ce=e,this},h.__private__.getR2L=h.getR2L=function(){return ce};var ue,de=h.__private__.setZoomMode=function(e){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(e))se=e;else if(isNaN(e)){if(-1===[void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(e))throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+e+'" is not recognized.');se=e}else se=parseInt(e,10)};h.__private__.getZoomMode=function(){return se};var pe,fe=h.__private__.setPageMode=function(e){if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(e))throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+e+'" is not recognized.');ue=e};h.__private__.getPageMode=function(){return ue};var he=h.__private__.setLayoutMode=function(e){if(-1==[void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(e))throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+e+'" is not recognized.');pe=e};h.__private__.getLayoutMode=function(){return pe},h.__private__.setDisplayMode=h.setDisplayMode=function(e,t,n){return de(e),he(t),fe(n),this};var be={title:"",subject:"",author:"",keywords:"",creator:""};h.__private__.getDocumentProperty=function(e){if(-1===Object.keys(be).indexOf(e))throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return be[e]},h.__private__.getDocumentProperties=function(){return be},h.__private__.setDocumentProperties=h.setProperties=h.setDocumentProperties=function(e){for(var t in be)be.hasOwnProperty(t)&&e[t]&&(be[t]=e[t]);return this},h.__private__.setDocumentProperty=function(e,t){if(-1===Object.keys(be).indexOf(e))throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return be[e]=t};var Ae,me,ge,ve,ye,Me={},Oe={},Ce=[],De={},Ne={},Te={},je={},Be=null,Le=0,Re=[],qe=new xe(h),Pe=e.hotfixes||[],Ie={},We={},Fe=[],Ue=function e(t,n,r,o,i,a){if(!(this instanceof e))return new e(t,n,r,o,i,a);isNaN(t)&&(t=1),isNaN(n)&&(n=0),isNaN(r)&&(r=0),isNaN(o)&&(o=1),isNaN(i)&&(i=0),isNaN(a)&&(a=0),this._matrix=[t,n,r,o,i,a]};Object.defineProperty(Ue.prototype,"sx",{get:function(){return this._matrix[0]},set:function(e){this._matrix[0]=e}}),Object.defineProperty(Ue.prototype,"shy",{get:function(){return this._matrix[1]},set:function(e){this._matrix[1]=e}}),Object.defineProperty(Ue.prototype,"shx",{get:function(){return this._matrix[2]},set:function(e){this._matrix[2]=e}}),Object.defineProperty(Ue.prototype,"sy",{get:function(){return this._matrix[3]},set:function(e){this._matrix[3]=e}}),Object.defineProperty(Ue.prototype,"tx",{get:function(){return this._matrix[4]},set:function(e){this._matrix[4]=e}}),Object.defineProperty(Ue.prototype,"ty",{get:function(){return this._matrix[5]},set:function(e){this._matrix[5]=e}}),Object.defineProperty(Ue.prototype,"a",{get:function(){return this._matrix[0]},set:function(e){this._matrix[0]=e}}),Object.defineProperty(Ue.prototype,"b",{get:function(){return this._matrix[1]},set:function(e){this._matrix[1]=e}}),Object.defineProperty(Ue.prototype,"c",{get:function(){return this._matrix[2]},set:function(e){this._matrix[2]=e}}),Object.defineProperty(Ue.prototype,"d",{get:function(){return this._matrix[3]},set:function(e){this._matrix[3]=e}}),Object.defineProperty(Ue.prototype,"e",{get:function(){return this._matrix[4]},set:function(e){this._matrix[4]=e}}),Object.defineProperty(Ue.prototype,"f",{get:function(){return this._matrix[5]},set:function(e){this._matrix[5]=e}}),Object.defineProperty(Ue.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Ue.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Ue.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Ue.prototype,"isIdentity",{get:function(){return 1===this.sx&&0===this.shy&&0===this.shx&&1===this.sy&&0===this.tx&&0===this.ty}}),Ue.prototype.join=function(e){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(z).join(e)},Ue.prototype.multiply=function(e){var t=e.sx*this.sx+e.shy*this.shx,n=e.sx*this.shy+e.shy*this.sy,r=e.shx*this.sx+e.sy*this.shx,o=e.shx*this.shy+e.sy*this.sy,i=e.tx*this.sx+e.ty*this.shx+this.tx,a=e.tx*this.shy+e.ty*this.sy+this.ty;return new Ue(t,n,r,o,i,a)},Ue.prototype.decompose=function(){var e=this.sx,t=this.shy,n=this.shx,r=this.sy,o=this.tx,i=this.ty,a=Math.sqrt(e*e+t*t),s=(e/=a)*n+(t/=a)*r;n-=e*s,r-=t*s;var l=Math.sqrt(n*n+r*r);return s/=l,e*(r/=l)<t*(n/=l)&&(e=-e,t=-t,s=-s,a=-a),{scale:new Ue(a,0,0,l,0,0),translate:new Ue(1,0,0,1,o,i),rotate:new Ue(e,t,-t,e,0,0),skew:new Ue(1,0,s,1,0,0)}},Ue.prototype.toString=function(e){return this.join(" ")},Ue.prototype.inversed=function(){var e=this.sx,t=this.shy,n=this.shx,r=this.sy,o=this.tx,i=this.ty,a=1/(e*r-t*n),s=r*a,l=-t*a,c=-n*a,u=e*a;return new Ue(s,l,c,u,-s*o-c*i,-l*o-u*i)},Ue.prototype.applyToPoint=function(e){var t=e.x*this.sx+e.y*this.shx+this.tx,n=e.x*this.shy+e.y*this.sy+this.ty;return new bn(t,n)},Ue.prototype.applyToRectangle=function(e){var t=this.applyToPoint(e),n=this.applyToPoint(new bn(e.x+e.w,e.y+e.h));return new An(t.x,t.y,n.x-t.x,n.y-t.y)},Ue.prototype.clone=function(){var e=this.sx,t=this.shy,n=this.shx,r=this.sy,o=this.tx,i=this.ty;return new Ue(e,t,n,r,o,i)},h.Matrix=Ue;var Ze=h.matrixMult=function(e,t){return t.multiply(e)},He=new Ue(1,0,0,1,0,0);h.unitMatrix=h.identityMatrix=He;var $e=function(e,t){if(!Ne[e]){var n=(t instanceof Se?"Sh":"P")+(Object.keys(De).length+1).toString(10);t.id=n,Ne[e]=n,De[n]=t,qe.publish("addPattern",t)}};h.ShadingPattern=Se,h.TilingPattern=Ee,h.addShadingPattern=function(e,t){return x("addShadingPattern()"),$e(e,t),this},h.beginTilingPattern=function(e){x("beginTilingPattern()"),gn(e.boundingBox[0],e.boundingBox[1],e.boundingBox[2]-e.boundingBox[0],e.boundingBox[3]-e.boundingBox[1],e.matrix)},h.endTilingPattern=function(e,t){x("endTilingPattern()"),t.stream=V[P].join("\n"),$e(e,t),qe.publish("endTilingPattern",t),Fe.pop().restore()};var Ve,Xe=h.__private__.newObject=function(){var e=Qe();return Ye(e,!0),e},Qe=h.__private__.newObjectDeferred=function(){return F++,U[F]=function(){return H},F},Ye=function(e,t){return t="boolean"==typeof t&&t,U[e]=H,t&&K(e+" 0 obj"),e},Ge=h.__private__.newAdditionalObject=function(){var e={objId:Qe(),content:""};return $.push(e),e},Ke=Qe(),Je=Qe(),et=h.__private__.decodeColorString=function(e){var t=e.split(" ");if(2!==t.length||"g"!==t[1]&&"G"!==t[1])5!==t.length||"k"!==t[4]&&"K"!==t[4]||(t=[(1-t[0])*(1-t[3]),(1-t[1])*(1-t[3]),(1-t[2])*(1-t[3]),"r"]);else{var n=parseFloat(t[0]);t=[n,n,n,"r"]}for(var r="#",o=0;o<3;o++)r+=("0"+Math.floor(255*parseFloat(t[o])).toString(16)).slice(-2);return r},tt=h.__private__.encodeColorString=function(e){var t;"string"==typeof e&&(e={ch1:e});var n=e.ch1,o=e.ch2,i=e.ch3,a=e.ch4,s="draw"===e.pdfColorType?["G","RG","K"]:["g","rg","k"];if("string"==typeof n&&"#"!==n.charAt(0)){var l=new ae(n);if(l.ok)n=l.toHex();else if(!/^\d*\.?\d*$/.test(n))throw new Error('Invalid color "'+n+'" passed to jsPDF.encodeColorString.')}if("string"==typeof n&&/^#[0-9A-Fa-f]{3}$/.test(n)&&(n="#"+n[1]+n[1]+n[2]+n[2]+n[3]+n[3]),"string"==typeof n&&/^#[0-9A-Fa-f]{6}$/.test(n)){var c=parseInt(n.substr(1),16);n=c>>16&255,o=c>>8&255,i=255&c}if(void 0===o||void 0===a&&n===o&&o===i)if("string"==typeof n)t=n+" "+s[0];else if(2===e.precision)t=C(n/255)+" "+s[0];else t=S(n/255)+" "+s[0];else if(void 0===a||"object"===(0,r.Z)(a)){if(a&&!isNaN(a.a)&&0===a.a)return["1.","1.","1.",s[1]].join(" ");if("string"==typeof n)t=[n,o,i,s[1]].join(" ");else if(2===e.precision)t=[C(n/255),C(o/255),C(i/255),s[1]].join(" ");else t=[S(n/255),S(o/255),S(i/255),s[1]].join(" ")}else if("string"==typeof n)t=[n,o,i,a,s[2]].join(" ");else if(2===e.precision)t=[C(n),C(o),C(i),C(a),s[2]].join(" ");else t=[S(n),S(o),S(i),S(a),s[2]].join(" ");return t},nt=h.__private__.getFilters=function(){return s},rt=h.__private__.putStream=function(e){var t=(e=e||{}).data||"",n=e.filters||nt(),r=e.alreadyAppliedFilters||[],o=e.addLength1||!1,i=t.length,a=e.objectId,s=function(e){return e};if(null!==d&&void 0===a)throw new Error("ObjectId must be passed to putStream for file encryption");null!==d&&(s=Dt.encryptor(a,0));var l={};!0===n&&(n=["FlateEncode"]);var c=e.additionalKeyValues||[],u=(l=void 0!==ke.API.processDataByFilters?ke.API.processDataByFilters(t,n):{data:t,reverseChain:[]}).reverseChain+(Array.isArray(r)?r.join(" "):r.toString());if(0!==l.data.length&&(c.push({key:"Length",value:l.data.length}),!0===o&&c.push({key:"Length1",value:i})),0!=u.length)if(u.split("/").length-1==1)c.push({key:"Filter",value:u});else{c.push({key:"Filter",value:"["+u+"]"});for(var p=0;p<c.length;p+=1)if("DecodeParms"===c[p].key){for(var f=[],h=0;h<l.reverseChain.split("/").length-1;h+=1)f.push("null");f.push(c[p].value),c[p].value="["+f.join(" ")+"]"}}K("<<");for(var b=0;b<c.length;b++)K("/"+c[b].key+" "+c[b].value);K(">>"),0!==l.data.length&&(K("stream"),K(s(l.data)),K("endstream"))},ot=h.__private__.putPage=function(e){var t=e.number,n=e.data,r=e.objId,o=e.contentsObjId;Ye(r,!0),K("<</Type /Page"),K("/Parent "+e.rootDictionaryObjId+" 0 R"),K("/Resources "+e.resourceDictionaryObjId+" 0 R"),K("/MediaBox ["+parseFloat(z(e.mediaBox.bottomLeftX))+" "+parseFloat(z(e.mediaBox.bottomLeftY))+" "+z(e.mediaBox.topRightX)+" "+z(e.mediaBox.topRightY)+"]"),null!==e.cropBox&&K("/CropBox ["+z(e.cropBox.bottomLeftX)+" "+z(e.cropBox.bottomLeftY)+" "+z(e.cropBox.topRightX)+" "+z(e.cropBox.topRightY)+"]"),null!==e.bleedBox&&K("/BleedBox ["+z(e.bleedBox.bottomLeftX)+" "+z(e.bleedBox.bottomLeftY)+" "+z(e.bleedBox.topRightX)+" "+z(e.bleedBox.topRightY)+"]"),null!==e.trimBox&&K("/TrimBox ["+z(e.trimBox.bottomLeftX)+" "+z(e.trimBox.bottomLeftY)+" "+z(e.trimBox.topRightX)+" "+z(e.trimBox.topRightY)+"]"),null!==e.artBox&&K("/ArtBox ["+z(e.artBox.bottomLeftX)+" "+z(e.artBox.bottomLeftY)+" "+z(e.artBox.topRightX)+" "+z(e.artBox.topRightY)+"]"),"number"==typeof e.userUnit&&1!==e.userUnit&&K("/UserUnit "+e.userUnit),qe.publish("putPage",{objId:r,pageContext:Re[t],pageNumber:t,page:n}),K("/Contents "+o+" 0 R"),K(">>"),K("endobj");var i=n.join("\n");return y===v.ADVANCED&&(i+="\nQ"),Ye(o,!0),rt({data:i,filters:nt(),objectId:o}),K("endobj"),r},it=h.__private__.putPages=function(){var e,t,n=[];for(e=1;e<=Le;e++)Re[e].objId=Qe(),Re[e].contentsObjId=Qe();for(e=1;e<=Le;e++)n.push(ot({number:e,data:V[e],objId:Re[e].objId,contentsObjId:Re[e].contentsObjId,mediaBox:Re[e].mediaBox,cropBox:Re[e].cropBox,bleedBox:Re[e].bleedBox,trimBox:Re[e].trimBox,artBox:Re[e].artBox,userUnit:Re[e].userUnit,rootDictionaryObjId:Ke,resourceDictionaryObjId:Je}));Ye(Ke,!0),K("<</Type /Pages");var r="/Kids [";for(t=0;t<Le;t++)r+=n[t]+" 0 R ";K(r+"]"),K("/Count "+Le),K(">>"),K("endobj"),qe.publish("postPutPages")},at=function(e){qe.publish("putFont",{font:e,out:K,newObject:Xe,putStream:rt}),!0!==e.isAlreadyPutted&&(e.objectNumber=Xe(),K("<<"),K("/Type /Font"),K("/BaseFont /"+ze(e.postScriptName)),K("/Subtype /Type1"),"string"==typeof e.encoding&&K("/Encoding /"+e.encoding),K("/FirstChar 32"),K("/LastChar 255"),K(">>"),K("endobj"))},st=function(e){e.objectNumber=Xe();var t=[];t.push({key:"Type",value:"/XObject"}),t.push({key:"Subtype",value:"/Form"}),t.push({key:"BBox",value:"["+[z(e.x),z(e.y),z(e.x+e.width),z(e.y+e.height)].join(" ")+"]"}),t.push({key:"Matrix",value:"["+e.matrix.toString()+"]"});var n=e.pages[1].join("\n");rt({data:n,additionalKeyValues:t,objectId:e.objectNumber}),K("endobj")},lt=function(e,t){t||(t=21);var n=Xe(),r=function(e,t){var n,r=[],o=1/(t-1);for(n=0;n<1;n+=o)r.push(n);if(r.push(1),0!=e[0].offset){var i={offset:0,color:e[0].color};e.unshift(i)}if(1!=e[e.length-1].offset){var a={offset:1,color:e[e.length-1].color};e.push(a)}for(var s="",l=0,c=0;c<r.length;c++){for(n=r[c];n>e[l+1].offset;)l++;var u=e[l].offset,d=(n-u)/(e[l+1].offset-u),p=e[l].color,f=e[l+1].color;s+=W(Math.round((1-d)*p[0]+d*f[0]).toString(16))+W(Math.round((1-d)*p[1]+d*f[1]).toString(16))+W(Math.round((1-d)*p[2]+d*f[2]).toString(16))}return s.trim()}(e.colors,t),o=[];o.push({key:"FunctionType",value:"0"}),o.push({key:"Domain",value:"[0.0 1.0]"}),o.push({key:"Size",value:"["+t+"]"}),o.push({key:"BitsPerSample",value:"8"}),o.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),o.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),rt({data:r,additionalKeyValues:o,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:n}),K("endobj"),e.objectNumber=Xe(),K("<< /ShadingType "+e.type),K("/ColorSpace /DeviceRGB");var i="/Coords ["+z(parseFloat(e.coords[0]))+" "+z(parseFloat(e.coords[1]))+" ";2===e.type?i+=z(parseFloat(e.coords[2]))+" "+z(parseFloat(e.coords[3])):i+=z(parseFloat(e.coords[2]))+" "+z(parseFloat(e.coords[3]))+" "+z(parseFloat(e.coords[4]))+" "+z(parseFloat(e.coords[5])),K(i+="]"),e.matrix&&K("/Matrix ["+e.matrix.toString()+"]"),K("/Function "+n+" 0 R"),K("/Extend [true true]"),K(">>"),K("endobj")},ct=function(e,t){var n=Qe(),r=Xe();t.push({resourcesOid:n,objectOid:r}),e.objectNumber=r;var o=[];o.push({key:"Type",value:"/Pattern"}),o.push({key:"PatternType",value:"1"}),o.push({key:"PaintType",value:"1"}),o.push({key:"TilingType",value:"1"}),o.push({key:"BBox",value:"["+e.boundingBox.map(z).join(" ")+"]"}),o.push({key:"XStep",value:z(e.xStep)}),o.push({key:"YStep",value:z(e.yStep)}),o.push({key:"Resources",value:n+" 0 R"}),e.matrix&&o.push({key:"Matrix",value:"["+e.matrix.toString()+"]"}),rt({data:e.stream,additionalKeyValues:o,objectId:e.objectNumber}),K("endobj")},ut=function(e){for(var t in e.objectNumber=Xe(),K("<<"),e)switch(t){case"opacity":K("/ca "+C(e[t]));break;case"stroke-opacity":K("/CA "+C(e[t]))}K(">>"),K("endobj")},dt=function(e){Ye(e.resourcesOid,!0),K("<<"),K("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var e in K("/Font <<"),Me)Me.hasOwnProperty(e)&&(!1===p||!0===p&&f.hasOwnProperty(e))&&K("/"+e+" "+Me[e].objectNumber+" 0 R");K(">>")}(),function(){if(Object.keys(De).length>0){for(var e in K("/Shading <<"),De)De.hasOwnProperty(e)&&De[e]instanceof Se&&De[e].objectNumber>=0&&K("/"+e+" "+De[e].objectNumber+" 0 R");qe.publish("putShadingPatternDict"),K(">>")}}(),function(e){if(Object.keys(De).length>0){for(var t in K("/Pattern <<"),De)De.hasOwnProperty(t)&&De[t]instanceof h.TilingPattern&&De[t].objectNumber>=0&&De[t].objectNumber<e&&K("/"+t+" "+De[t].objectNumber+" 0 R");qe.publish("putTilingPatternDict"),K(">>")}}(e.objectOid),function(){if(Object.keys(Te).length>0){var e;for(e in K("/ExtGState <<"),Te)Te.hasOwnProperty(e)&&Te[e].objectNumber>=0&&K("/"+e+" "+Te[e].objectNumber+" 0 R");qe.publish("putGStateDict"),K(">>")}}(),function(){for(var e in K("/XObject <<"),Ie)Ie.hasOwnProperty(e)&&Ie[e].objectNumber>=0&&K("/"+e+" "+Ie[e].objectNumber+" 0 R");qe.publish("putXobjectDict"),K(">>")}(),K(">>"),K("endobj")},pt=function(){var e=[];(function(){for(var e in Me)Me.hasOwnProperty(e)&&(!1===p||!0===p&&f.hasOwnProperty(e))&&at(Me[e])})(),function(){var e;for(e in Te)Te.hasOwnProperty(e)&&ut(Te[e])}(),function(){for(var e in Ie)Ie.hasOwnProperty(e)&&st(Ie[e])}(),function(e){var t;for(t in De)De.hasOwnProperty(t)&&(De[t]instanceof Se?lt(De[t]):De[t]instanceof Ee&&ct(De[t],e))}(e),qe.publish("putResources"),e.forEach(dt),dt({resourcesOid:Je,objectOid:Number.MAX_SAFE_INTEGER}),qe.publish("postPutResources")},ft=function(e){Oe[e.fontName]=Oe[e.fontName]||{},Oe[e.fontName][e.fontStyle]=e.id},ht=function(e,t,n,r,o){var i={id:"F"+(Object.keys(Me).length+1).toString(10),postScriptName:e,fontName:t,fontStyle:n,encoding:r,isStandardFont:o||!1,metadata:{}};return qe.publish("addFont",{font:i,instance:this}),Me[i.id]=i,ft(i),i.id},bt=h.__private__.pdfEscape=h.pdfEscape=function(e,t){return function(e,t){var n,r,o,i,a,s,l,c,u;if(o=(t=t||{}).sourceEncoding||"Unicode",a=t.outputEncoding,(t.autoencode||a)&&Me[Ae].metadata&&Me[Ae].metadata[o]&&Me[Ae].metadata[o].encoding&&(i=Me[Ae].metadata[o].encoding,!a&&Me[Ae].encoding&&(a=Me[Ae].encoding),!a&&i.codePages&&(a=i.codePages[0]),"string"==typeof a&&(a=i[a]),a)){for(l=!1,s=[],n=0,r=e.length;n<r;n++)(c=a[e.charCodeAt(n)])?s.push(String.fromCharCode(c)):s.push(e[n]),s[n].charCodeAt(0)>>8&&(l=!0);e=s.join("")}for(n=e.length;void 0===l&&0!==n;)e.charCodeAt(n-1)>>8&&(l=!0),n--;if(!l)return e;for(s=t.noBOM?[]:[254,255],n=0,r=e.length;n<r;n++){if((u=(c=e.charCodeAt(n))>>8)>>8)throw new Error("Character at position "+n+" of string '"+e+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");s.push(u),s.push(c-(u<<8))}return String.fromCharCode.apply(void 0,s)}(e,t).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},At=h.__private__.beginPage=function(e){V[++Le]=[],Re[Le]={objId:0,contentsObjId:0,userUnit:Number(l),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(e[0]),topRightY:Number(e[1])}},vt(Le),Y(V[P])},mt=function(e,t){var r,o,a;switch(n=t||n,"string"==typeof e&&(r=g(e.toLowerCase()),Array.isArray(r)&&(o=r[0],a=r[1])),Array.isArray(e)&&(o=e[0]*me,a=e[1]*me),isNaN(o)&&(o=i[0],a=i[1]),(o>14400||a>14400)&&(J.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),o=Math.min(14400,o),a=Math.min(14400,a)),i=[o,a],n.substr(0,1)){case"l":a>o&&(i=[a,o]);break;case"p":o>a&&(i=[a,o])}At(i),Gt(Qt),K(an),0!==pn&&K(pn+" J"),0!==fn&&K(fn+" j"),qe.publish("addPage",{pageNumber:Le})},gt=function(e){e>0&&e<=Le&&(V.splice(e,1),Re.splice(e,1),Le--,P>Le&&(P=Le),this.setPage(P))},vt=function(e){e>0&&e<=Le&&(P=e)},yt=h.__private__.getNumberOfPages=h.getNumberOfPages=function(){return V.length-1},Mt=function(e,t,n){var r,o=void 0;return n=n||{},e=void 0!==e?e:Me[Ae].fontName,t=void 0!==t?t:Me[Ae].fontStyle,r=e.toLowerCase(),void 0!==Oe[r]&&void 0!==Oe[r][t]?o=Oe[r][t]:void 0!==Oe[e]&&void 0!==Oe[e][t]?o=Oe[e][t]:!1===n.disableWarning&&J.warn("Unable to look up font label for font '"+e+"', '"+t+"'. Refer to getFontList() for available fonts."),o||n.noFallback||null==(o=Oe.times[t])&&(o=Oe.times.normal),o},Ot=h.__private__.putInfo=function(){var e=Xe(),t=function(e){return e};for(var n in null!==d&&(t=Dt.encryptor(e,0)),K("<<"),K("/Producer ("+bt(t("jsPDF "+ke.version))+")"),be)be.hasOwnProperty(n)&&be[n]&&K("/"+n.substr(0,1).toUpperCase()+n.substr(1)+" ("+bt(t(be[n]))+")");K("/CreationDate ("+bt(t(D))+")"),K(">>"),K("endobj")},_t=h.__private__.putCatalog=function(e){var t=(e=e||{}).rootDictionaryObjId||Ke;switch(Xe(),K("<<"),K("/Type /Catalog"),K("/Pages "+t+" 0 R"),se||(se="fullwidth"),se){case"fullwidth":K("/OpenAction [3 0 R /FitH null]");break;case"fullheight":K("/OpenAction [3 0 R /FitV null]");break;case"fullpage":K("/OpenAction [3 0 R /Fit]");break;case"original":K("/OpenAction [3 0 R /XYZ null null 1]");break;default:var n=""+se;"%"===n.substr(n.length-1)&&(se=parseInt(se)/100),"number"==typeof se&&K("/OpenAction [3 0 R /XYZ null null "+C(se)+"]")}switch(pe||(pe="continuous"),pe){case"continuous":K("/PageLayout /OneColumn");break;case"single":K("/PageLayout /SinglePage");break;case"two":case"twoleft":K("/PageLayout /TwoColumnLeft");break;case"tworight":K("/PageLayout /TwoColumnRight")}ue&&K("/PageMode /"+ue),qe.publish("putCatalog"),K(">>"),K("endobj")},zt=h.__private__.putTrailer=function(){K("trailer"),K("<<"),K("/Size "+(F+1)),K("/Root "+F+" 0 R"),K("/Info "+(F-1)+" 0 R"),null!==d&&K("/Encrypt "+Dt.oid+" 0 R"),K("/ID [ <"+N+"> <"+N+"> ]"),K(">>")},xt=h.__private__.putHeader=function(){K("%PDF-"+b),K("%\xba\xdf\xac\xe0")},wt=h.__private__.putXRef=function(){var e="0000000000";K("xref"),K("0 "+(F+1)),K("0000000000 65535 f ");for(var t=1;t<=F;t++)"function"==typeof U[t]?K((e+U[t]()).slice(-10)+" 00000 n "):void 0!==U[t]?K((e+U[t]).slice(-10)+" 00000 n "):K("0000000000 00000 n ")},Ct=h.__private__.buildDocument=function(){F=0,H=0,Z=[],U=[],$=[],Ke=Qe(),Je=Qe(),Y(Z),qe.publish("buildDocument"),xt(),it(),function(){qe.publish("putAdditionalObjects");for(var e=0;e<$.length;e++){var t=$[e];Ye(t.objId,!0),K(t.content),K("endobj")}qe.publish("postPutAdditionalObjects")}(),pt(),null!==d&&(Dt.oid=Xe(),K("<<"),K("/Filter /Standard"),K("/V "+Dt.v),K("/R "+Dt.r),K("/U <"+Dt.toHexString(Dt.U)+">"),K("/O <"+Dt.toHexString(Dt.O)+">"),K("/P "+Dt.P),K(">>"),K("endobj")),Ot(),_t();var e=H;return wt(),zt(),K("startxref"),K(""+e),K("%%EOF"),Y(V[P]),Z.join("\n")},St=h.__private__.getBlob=function(e){return new Blob([te(e)],{type:"application/pdf"})},Et=h.output=h.__private__.output=(Ve=function(e,t){switch("string"==typeof(t=t||{})?t={filename:t}:t.filename=t.filename||"generated.pdf",e){case void 0:return Ct();case"save":h.save(t.filename);break;case"arraybuffer":return te(Ct());case"blob":return St(Ct());case"bloburi":case"bloburl":if(void 0!==G.URL&&"function"==typeof G.URL.createObjectURL)return G.URL&&G.URL.createObjectURL(St(Ct()))||void 0;J.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var n="",r=Ct();try{n=oe(r)}catch(e){n=oe(unescape(encodeURIComponent(r)))}return"data:application/pdf;filename="+t.filename+";base64,"+n;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call(G)){var o="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",i=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';t.pdfObjectUrl&&(o=t.pdfObjectUrl,i="");var a='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}  </style><body><script src="'+o+'"'+i+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(t)+");<\/script></body></html>",s=G.open();return null!==s&&s.document.write(a),s}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if("[object Window]"===Object.prototype.toString.call(G)){var l='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}  </style><body><iframe id="pdfViewer" src="'+(t.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+t.filename+'" width="500px" height="400px" /></body></html>',c=G.open();if(null!==c){c.document.write(l);var u=this;c.document.documentElement.querySelector("#pdfViewer").onload=function(){c.document.title=t.filename,c.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(u.output("bloburl"))}}return c}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if("[object Window]"!==Object.prototype.toString.call(G))throw new Error("The option dataurlnewwindow just works in a browser-environment.");var d='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}  </style><body><iframe src="'+this.output("datauristring",t)+'"></iframe></body></html>',p=G.open();if(null!==p&&(p.document.write(d),p.document.title=t.filename),p||"undefined"==typeof safari)return p;break;case"datauri":case"dataurl":return G.document.location.href=this.output("datauristring",t);default:return null}},Ve.foo=function(){try{return Ve.apply(this,arguments)}catch(Ve){var e=Ve.stack||"";~e.indexOf(" at ")&&(e=e.split(" at ")[1]);var t="Error in function "+e.split("\n")[0].split("<")[0]+": "+Ve.message;if(!G.console)throw new Error(t);G.console.error(t,Ve),G.alert&&alert(t)}},Ve.foo.bar=Ve,Ve.foo),kt=function(e){return!0===Array.isArray(Pe)&&Pe.indexOf(e)>-1};switch(o){case"pt":me=1;break;case"mm":me=72/25.4;break;case"cm":me=72/2.54;break;case"in":me=72;break;case"px":me=1==kt("px_scaling")?.75:96/72;break;case"pc":case"em":me=12;break;case"ex":me=6;break;default:if("number"!=typeof o)throw new Error("Invalid unit: "+o);me=o}var Dt=null;R(),j();var Nt=h.__private__.getPageInfo=h.getPageInfo=function(e){if(isNaN(e)||e%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:Re[e].objId,pageNumber:e,pageContext:Re[e]}},Tt=h.__private__.getPageInfoByObjId=function(e){if(isNaN(e)||e%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var t in Re)if(Re[t].objId===e)break;return Nt(t)},jt=h.__private__.getCurrentPageInfo=h.getCurrentPageInfo=function(){return{objId:Re[P].objId,pageNumber:P,pageContext:Re[P]}};h.addPage=function(){return mt.apply(this,arguments),this},h.setPage=function(){return vt.apply(this,arguments),Y.call(this,V[P]),this},h.insertPage=function(e){return this.addPage(),this.movePage(P,e),this},h.movePage=function(e,t){var n,r;if(e>t){n=V[e],r=Re[e];for(var o=e;o>t;o--)V[o]=V[o-1],Re[o]=Re[o-1];V[t]=n,Re[t]=r,this.setPage(t)}else if(e<t){n=V[e],r=Re[e];for(var i=e;i<t;i++)V[i]=V[i+1],Re[i]=Re[i+1];V[t]=n,Re[t]=r,this.setPage(t)}return this},h.deletePage=function(){return gt.apply(this,arguments),this},h.__private__.text=h.text=function(e,t,n,o,i){var a,s,l,c,u,d,p,h,b,A=(o=o||{}).scope||this;if("number"==typeof e&&"number"==typeof t&&("string"==typeof n||Array.isArray(n))){var m=n;n=t,t=e,e=m}if(arguments[3]instanceof Ue==0?(l=arguments[4],c=arguments[5],"object"===(0,r.Z)(p=arguments[3])&&null!==p||("string"==typeof l&&(c=l,l=null),"string"==typeof p&&(c=p,p=null),"number"==typeof p&&(l=p,p=null),o={flags:p,angle:l,align:c})):(x("The transform parameter of text() with a Matrix value"),b=i),isNaN(t)||isNaN(n)||null==e)throw new Error("Invalid arguments passed to jsPDF.text");if(0===e.length)return A;var g,M="",O="number"==typeof o.lineHeightFactor?o.lineHeightFactor:Xt,_=A.internal.scaleFactor;function w(e){return e=e.split("\t").join(Array(o.TabLen||9).join(" ")),bt(e,p)}function C(e){for(var t,n=e.concat(),r=[],o=n.length;o--;)"string"==typeof(t=n.shift())?r.push(t):Array.isArray(e)&&(1===t.length||void 0===t[1]&&void 0===t[2])?r.push(t[0]):r.push([t[0],t[1],t[2]]);return r}function S(e,t){var n;if("string"==typeof e)n=t(e)[0];else if(Array.isArray(e)){for(var r,o,i=e.concat(),a=[],s=i.length;s--;)"string"==typeof(r=i.shift())?a.push(t(r)[0]):Array.isArray(r)&&"string"==typeof r[0]&&(o=t(r[0],r[1],r[2]),a.push([o[0],o[1],o[2]]));n=a}return n}var k=!1,D=!0;if("string"==typeof e)k=!0;else if(Array.isArray(e)){var N=e.concat();s=[];for(var T,j=N.length;j--;)("string"!=typeof(T=N.shift())||Array.isArray(T)&&"string"!=typeof T[0])&&(D=!1);k=D}if(!1===k)throw new Error('Type of text must be string or Array. "'+e+'" is not recognized.');"string"==typeof e&&(e=e.match(/[\r?\n]/)?e.split(/\r\n|\r|\n/g):[e]);var B=re/A.internal.scaleFactor,L=B*(O-1);switch(o.baseline){case"bottom":n-=L;break;case"top":n+=B-L;break;case"hanging":n+=B-2*L;break;case"middle":n+=B/2-L}if((d=o.maxWidth||0)>0&&("string"==typeof e?e=A.splitTextToSize(e,d):"[object Array]"===Object.prototype.toString.call(e)&&(e=e.reduce((function(e,t){return e.concat(A.splitTextToSize(t,d))}),[]))),a={text:e,x:t,y:n,options:o,mutex:{pdfEscape:bt,activeFontKey:Ae,fonts:Me,activeFontSize:re}},qe.publish("preProcessText",a),e=a.text,l=(o=a.options).angle,b instanceof Ue==0&&l&&"number"==typeof l){l*=Math.PI/180,0===o.rotationDirection&&(l=-l),y===v.ADVANCED&&(l=-l);var R=Math.cos(l),q=Math.sin(l);b=new Ue(R,q,-q,R,0,0)}else l&&l instanceof Ue&&(b=l);y!==v.ADVANCED||b||(b=He),void 0!==(u=o.charSpace||un)&&(M+=z(E(u))+" Tc\n",this.setCharSpace(this.getCharSpace()||0)),void 0!==(h=o.horizontalScale)&&(M+=z(100*h)+" Tz\n"),o.lang;var P=-1,I=void 0!==o.renderingMode?o.renderingMode:o.stroke,W=A.internal.getCurrentPageInfo().pageContext;switch(I){case 0:case!1:case"fill":P=0;break;case 1:case!0:case"stroke":P=1;break;case 2:case"fillThenStroke":P=2;break;case 3:case"invisible":P=3;break;case 4:case"fillAndAddForClipping":P=4;break;case 5:case"strokeAndAddPathForClipping":P=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":P=6;break;case 7:case"addToPathForClipping":P=7}var F=void 0!==W.usedRenderingMode?W.usedRenderingMode:-1;-1!==P?M+=P+" Tr\n":-1!==F&&(M+="0 Tr\n"),-1!==P&&(W.usedRenderingMode=P),c=o.align||"left";var U,Z=re*O,H=A.internal.pageSize.getWidth(),$=Me[Ae];u=o.charSpace||un,d=o.maxWidth||0,p=Object.assign({autoencode:!0,noBOM:!0},o.flags);var V=[];if("[object Array]"===Object.prototype.toString.call(e)){var X;s=C(e),"left"!==c&&(U=s.map((function(e){return A.getStringUnitWidth(e,{font:$,charSpace:u,fontSize:re,doKerning:!1})*re/_})));var Q,Y=0;if("right"===c){t-=U[0],e=[],j=s.length;for(var G=0;G<j;G++)0===G?(Q=tn(t),X=nn(n)):(Q=E(Y-U[G]),X=-Z),e.push([s[G],Q,X]),Y=U[G]}else if("center"===c){t-=U[0]/2,e=[],j=s.length;for(var J=0;J<j;J++)0===J?(Q=tn(t),X=nn(n)):(Q=E((Y-U[J])/2),X=-Z),e.push([s[J],Q,X]),Y=U[J]}else if("left"===c){e=[],j=s.length;for(var ee=0;ee<j;ee++)e.push(s[ee])}else{if("justify"!==c)throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');e=[],j=s.length,d=0!==d?d:H;for(var te=0;te<j;te++)X=0===te?nn(n):-Z,Q=0===te?tn(t):0,te<j-1?V.push(z(E((d-U[te])/(s[te].split(" ").length-1)))):V.push(0),e.push([s[te],Q,X])}}!0===("boolean"==typeof o.R2L?o.R2L:ce)&&(e=S(e,(function(e,t,n){return[e.split("").reverse().join(""),t,n]}))),a={text:e,x:t,y:n,options:o,mutex:{pdfEscape:bt,activeFontKey:Ae,fonts:Me,activeFontSize:re}},qe.publish("postProcessText",a),e=a.text,g=a.mutex.isHex||!1;var ne=Me[Ae].encoding;"WinAnsiEncoding"!==ne&&"StandardEncoding"!==ne||(e=S(e,(function(e,t,n){return[w(e),t,n]}))),s=C(e),e=[];for(var oe,ie,ae,se=Array.isArray(s[0])?1:0,le="",ue=function(e,t,n){var r="";return n instanceof Ue?(n="number"==typeof o.angle?Ze(n,new Ue(1,0,0,1,e,t)):Ze(new Ue(1,0,0,1,e,t),n),y===v.ADVANCED&&(n=Ze(new Ue(1,0,0,-1,0,0),n)),r=n.join(" ")+" Tm\n"):r=z(e)+" "+z(t)+" Td\n",r},de=0;de<s.length;de++){switch(le="",se){case 1:ae=(g?"<":"(")+s[de][0]+(g?">":")"),oe=parseFloat(s[de][1]),ie=parseFloat(s[de][2]);break;case 0:ae=(g?"<":"(")+s[de]+(g?">":")"),oe=tn(t),ie=nn(n)}void 0!==V&&void 0!==V[de]&&(le=V[de]+" Tw\n"),0===de?e.push(le+ue(oe,ie,b)+ae):0===se?e.push(le+ae):1===se&&e.push(le+ue(oe,ie,b)+ae)}e=0===se?e.join(" Tj\nT* "):e.join(" Tj\n"),e+=" Tj\n";var pe="BT\n/";return pe+=Ae+" "+re+" Tf\n",pe+=z(re*O)+" TL\n",pe+=ln+"\n",pe+=M,pe+=e,K(pe+="ET"),f[Ae]=!0,A};var Bt=h.__private__.clip=h.clip=function(e){return K("evenodd"===e?"W*":"W"),this};h.clipEvenOdd=function(){return Bt("evenodd")},h.__private__.discardPath=h.discardPath=function(){return K("n"),this};var Lt=h.__private__.isValidStyle=function(e){var t=!1;return-1!==[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(e)&&(t=!0),t};h.__private__.setDefaultPathOperation=h.setDefaultPathOperation=function(e){return Lt(e)&&(u=e),this};var Rt=h.__private__.getStyle=h.getStyle=function(e){var t=u;switch(e){case"D":case"S":t="S";break;case"F":t="f";break;case"FD":case"DF":t="B";break;case"f":case"f*":case"B":case"B*":t=e}return t},qt=h.close=function(){return K("h"),this};h.stroke=function(){return K("S"),this},h.fill=function(e){return Pt("f",e),this},h.fillEvenOdd=function(e){return Pt("f*",e),this},h.fillStroke=function(e){return Pt("B",e),this},h.fillStrokeEvenOdd=function(e){return Pt("B*",e),this};var Pt=function(e,t){"object"===(0,r.Z)(t)?Ft(t,e):K(e)},It=function(e){null===e||y===v.ADVANCED&&void 0===e||(e=Rt(e),K(e))};function Wt(e,t,n,r,o){var i=new Ee(t||this.boundingBox,n||this.xStep,r||this.yStep,this.gState,o||this.matrix);i.stream=this.stream;var a=e+"$$"+this.cloneIndex+++"$$";return $e(a,i),i}var Ft=function(e,t){var n=Ne[e.key],r=De[n];if(r instanceof Se)K("q"),K(Ut(t)),r.gState&&h.setGState(r.gState),K(e.matrix.toString()+" cm"),K("/"+n+" sh"),K("Q");else if(r instanceof Ee){var o=new Ue(1,0,0,-1,0,On());e.matrix&&(o=o.multiply(e.matrix||He),n=Wt.call(r,e.key,e.boundingBox,e.xStep,e.yStep,o).id),K("q"),K("/Pattern cs"),K("/"+n+" scn"),r.gState&&h.setGState(r.gState),K(t),K("Q")}},Ut=function(e){switch(e){case"f":case"F":case"n":return"W n";case"f*":return"W* n";case"B":case"S":return"W S";case"B*":return"W* S"}},Zt=h.moveTo=function(e,t){return K(z(E(e))+" "+z(k(t))+" m"),this},Ht=h.lineTo=function(e,t){return K(z(E(e))+" "+z(k(t))+" l"),this},$t=h.curveTo=function(e,t,n,r,o,i){return K([z(E(e)),z(k(t)),z(E(n)),z(k(r)),z(E(o)),z(k(i)),"c"].join(" ")),this};h.__private__.line=h.line=function(e,t,n,r,o){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||!Lt(o))throw new Error("Invalid arguments passed to jsPDF.line");return y===v.COMPAT?this.lines([[n-e,r-t]],e,t,[1,1],o||"S"):this.lines([[n-e,r-t]],e,t,[1,1]).stroke()},h.__private__.lines=h.lines=function(e,t,n,r,o,i){var a,s,l,c,u,d,p,f,h,b,A,m;if("number"==typeof e&&(m=n,n=t,t=e,e=m),r=r||[1,1],i=i||!1,isNaN(t)||isNaN(n)||!Array.isArray(e)||!Array.isArray(r)||!Lt(o)||"boolean"!=typeof i)throw new Error("Invalid arguments passed to jsPDF.lines");for(Zt(t,n),a=r[0],s=r[1],c=e.length,b=t,A=n,l=0;l<c;l++)2===(u=e[l]).length?(b=u[0]*a+b,A=u[1]*s+A,Ht(b,A)):(d=u[0]*a+b,p=u[1]*s+A,f=u[2]*a+b,h=u[3]*s+A,b=u[4]*a+b,A=u[5]*s+A,$t(d,p,f,h,b,A));return i&&qt(),It(o),this},h.path=function(e){for(var t=0;t<e.length;t++){var n=e[t],r=n.c;switch(n.op){case"m":Zt(r[0],r[1]);break;case"l":Ht(r[0],r[1]);break;case"c":$t.apply(this,r);break;case"h":qt()}}return this},h.__private__.rect=h.rect=function(e,t,n,r,o){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||!Lt(o))throw new Error("Invalid arguments passed to jsPDF.rect");return y===v.COMPAT&&(r=-r),K([z(E(e)),z(k(t)),z(E(n)),z(E(r)),"re"].join(" ")),It(o),this},h.__private__.triangle=h.triangle=function(e,t,n,r,o,i,a){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(o)||isNaN(i)||!Lt(a))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[n-e,r-t],[o-n,i-r],[e-o,t-i]],e,t,[1,1],a,!0),this},h.__private__.roundedRect=h.roundedRect=function(e,t,n,r,o,i,a){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(o)||isNaN(i)||!Lt(a))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var s=4/3*(Math.SQRT2-1);return o=Math.min(o,.5*n),i=Math.min(i,.5*r),this.lines([[n-2*o,0],[o*s,0,o,i-i*s,o,i],[0,r-2*i],[0,i*s,-o*s,i,-o,i],[2*o-n,0],[-o*s,0,-o,-i*s,-o,-i],[0,2*i-r],[0,-i*s,o*s,-i,o,-i]],e+o,t,[1,1],a,!0),this},h.__private__.ellipse=h.ellipse=function(e,t,n,r,o){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||!Lt(o))throw new Error("Invalid arguments passed to jsPDF.ellipse");var i=4/3*(Math.SQRT2-1)*n,a=4/3*(Math.SQRT2-1)*r;return Zt(e+n,t),$t(e+n,t-a,e+i,t-r,e,t-r),$t(e-i,t-r,e-n,t-a,e-n,t),$t(e-n,t+a,e-i,t+r,e,t+r),$t(e+i,t+r,e+n,t+a,e+n,t),It(o),this},h.__private__.circle=h.circle=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||!Lt(r))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(e,t,n,n,r)},h.setFont=function(e,t,n){return n&&(t=_(t,n)),Ae=Mt(e,t,{disableWarning:!1}),this};var Vt=h.__private__.getFont=h.getFont=function(){return Me[Mt.apply(h,arguments)]};h.__private__.getFontList=h.getFontList=function(){var e,t,n={};for(e in Oe)if(Oe.hasOwnProperty(e))for(t in n[e]=[],Oe[e])Oe[e].hasOwnProperty(t)&&n[e].push(t);return n},h.addFont=function(e,t,n,r,o){var i=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&-1!==i.indexOf(arguments[3])?o=arguments[3]:arguments[3]&&-1==i.indexOf(arguments[3])&&(n=_(n,r)),ht.call(this,e,t,n,o=o||"Identity-H")};var Xt,Qt=e.lineWidth||.200025,Yt=h.__private__.getLineWidth=h.getLineWidth=function(){return Qt},Gt=h.__private__.setLineWidth=h.setLineWidth=function(e){return Qt=e,K(z(E(e))+" w"),this};h.__private__.setLineDash=ke.API.setLineDash=ke.API.setLineDashPattern=function(e,t){if(e=e||[],t=t||0,isNaN(t)||!Array.isArray(e))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return e=e.map((function(e){return z(E(e))})).join(" "),t=z(E(t)),K("["+e+"] "+t+" d"),this};var Kt=h.__private__.getLineHeight=h.getLineHeight=function(){return re*Xt};h.__private__.getLineHeight=h.getLineHeight=function(){return re*Xt};var Jt=h.__private__.setLineHeightFactor=h.setLineHeightFactor=function(e){return"number"==typeof(e=e||1.15)&&(Xt=e),this},en=h.__private__.getLineHeightFactor=h.getLineHeightFactor=function(){return Xt};Jt(e.lineHeight);var tn=h.__private__.getHorizontalCoordinate=function(e){return E(e)},nn=h.__private__.getVerticalCoordinate=function(e){return y===v.ADVANCED?e:Re[P].mediaBox.topRightY-Re[P].mediaBox.bottomLeftY-E(e)},rn=h.__private__.getHorizontalCoordinateString=h.getHorizontalCoordinateString=function(e){return z(tn(e))},on=h.__private__.getVerticalCoordinateString=h.getVerticalCoordinateString=function(e){return z(nn(e))},an=e.strokeColor||"0 G";h.__private__.getStrokeColor=h.getDrawColor=function(){return et(an)},h.__private__.setStrokeColor=h.setDrawColor=function(e,t,n,r){return an=tt({ch1:e,ch2:t,ch3:n,ch4:r,pdfColorType:"draw",precision:2}),K(an),this};var sn=e.fillColor||"0 g";h.__private__.getFillColor=h.getFillColor=function(){return et(sn)},h.__private__.setFillColor=h.setFillColor=function(e,t,n,r){return sn=tt({ch1:e,ch2:t,ch3:n,ch4:r,pdfColorType:"fill",precision:2}),K(sn),this};var ln=e.textColor||"0 g",cn=h.__private__.getTextColor=h.getTextColor=function(){return et(ln)};h.__private__.setTextColor=h.setTextColor=function(e,t,n,r){return ln=tt({ch1:e,ch2:t,ch3:n,ch4:r,pdfColorType:"text",precision:3}),this};var un=e.charSpace,dn=h.__private__.getCharSpace=h.getCharSpace=function(){return parseFloat(un||0)};h.__private__.setCharSpace=h.setCharSpace=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return un=e,this};var pn=0;h.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},h.__private__.setLineCap=h.setLineCap=function(e){var t=h.CapJoinStyles[e];if(void 0===t)throw new Error("Line cap style of '"+e+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return pn=t,K(t+" J"),this};var fn=0;h.__private__.setLineJoin=h.setLineJoin=function(e){var t=h.CapJoinStyles[e];if(void 0===t)throw new Error("Line join style of '"+e+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return fn=t,K(t+" j"),this},h.__private__.setLineMiterLimit=h.__private__.setMiterLimit=h.setLineMiterLimit=h.setMiterLimit=function(e){if(e=e||0,isNaN(e))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return K(z(E(e))+" M"),this},h.GState=we,h.setGState=function(e){(e="string"==typeof e?Te[je[e]]:hn(null,e)).equals(Be)||(K("/"+e.id+" gs"),Be=e)};var hn=function(e,t){if(!e||!je[e]){var n=!1;for(var r in Te)if(Te.hasOwnProperty(r)&&Te[r].equals(t)){n=!0;break}if(n)t=Te[r];else{var o="GS"+(Object.keys(Te).length+1).toString(10);Te[o]=t,t.id=o}return e&&(je[e]=t.id),qe.publish("addGState",t),t}};h.addGState=function(e,t){return hn(e,t),this},h.saveGraphicsState=function(){return K("q"),Ce.push({key:Ae,size:re,color:ln}),this},h.restoreGraphicsState=function(){K("Q");var e=Ce.pop();return Ae=e.key,re=e.size,ln=e.color,Be=null,this},h.setCurrentTransformationMatrix=function(e){return K(e.toString()+" cm"),this},h.comment=function(e){return K("#"+e),this};var bn=function(e,t){var n=e||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return n},set:function(e){isNaN(e)||(n=parseFloat(e))}});var r=t||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return r},set:function(e){isNaN(e)||(r=parseFloat(e))}});var o="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return o},set:function(e){o=e.toString()}}),this},An=function(e,t,n,r){bn.call(this,e,t),this.type="rect";var o=n||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return o},set:function(e){isNaN(e)||(o=parseFloat(e))}});var i=r||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return i},set:function(e){isNaN(e)||(i=parseFloat(e))}}),this},mn=function(){this.page=Le,this.currentPage=P,this.pages=V.slice(0),this.pagesContext=Re.slice(0),this.x=ge,this.y=ve,this.matrix=ye,this.width=yn(P),this.height=On(P),this.outputDestination=Q,this.id="",this.objectNumber=-1};mn.prototype.restore=function(){Le=this.page,P=this.currentPage,Re=this.pagesContext,V=this.pages,ge=this.x,ve=this.y,ye=this.matrix,Mn(P,this.width),_n(P,this.height),Q=this.outputDestination};var gn=function(e,t,n,r,o){Fe.push(new mn),Le=P=0,V=[],ge=e,ve=t,ye=o,At([n,r])};for(var vn in h.beginFormObject=function(e,t,n,r,o){return gn(e,t,n,r,o),this},h.endFormObject=function(e){return function(e){if(We[e])Fe.pop().restore();else{var t=new mn,n="Xo"+(Object.keys(Ie).length+1).toString(10);t.id=n,We[e]=n,Ie[n]=t,qe.publish("addFormObject",t),Fe.pop().restore()}}(e),this},h.doFormObject=function(e,t){var n=Ie[We[e]];return K("q"),K(t.toString()+" cm"),K("/"+n.id+" Do"),K("Q"),this},h.getFormObject=function(e){var t=Ie[We[e]];return{x:t.x,y:t.y,width:t.width,height:t.height,matrix:t.matrix}},h.save=function(e,t){return e=e||"generated.pdf",(t=t||{}).returnPromise=t.returnPromise||!1,!1===t.returnPromise?(ie(St(Ct()),e),"function"==typeof ie.unload&&G.setTimeout&&setTimeout(ie.unload,911),this):new Promise((function(t,n){try{var r=ie(St(Ct()),e);"function"==typeof ie.unload&&G.setTimeout&&setTimeout(ie.unload,911),t(r)}catch(e){n(e.message)}}))},ke.API)ke.API.hasOwnProperty(vn)&&("events"===vn&&ke.API.events.length?function(e,t){var n,r,o;for(o=t.length-1;-1!==o;o--)n=t[o][0],r=t[o][1],e.subscribe.apply(e,[n].concat("function"==typeof r?[r]:r))}(qe,ke.API.events):h[vn]=ke.API[vn]);var yn=h.getPageWidth=function(e){return(Re[e=e||P].mediaBox.topRightX-Re[e].mediaBox.bottomLeftX)/me},Mn=h.setPageWidth=function(e,t){Re[e].mediaBox.topRightX=t*me+Re[e].mediaBox.bottomLeftX},On=h.getPageHeight=function(e){return(Re[e=e||P].mediaBox.topRightY-Re[e].mediaBox.bottomLeftY)/me},_n=h.setPageHeight=function(e,t){Re[e].mediaBox.topRightY=t*me+Re[e].mediaBox.bottomLeftY};return h.internal={pdfEscape:bt,getStyle:Rt,getFont:Vt,getFontSize:le,getCharSpace:dn,getTextColor:cn,getLineHeight:Kt,getLineHeightFactor:en,getLineWidth:Yt,write:ee,getHorizontalCoordinate:tn,getVerticalCoordinate:nn,getCoordinateString:rn,getVerticalCoordinateString:on,collections:{},newObject:Xe,newAdditionalObject:Ge,newObjectDeferred:Qe,newObjectDeferredBegin:Ye,getFilters:nt,putStream:rt,events:qe,scaleFactor:me,pageSize:{getWidth:function(){return yn(P)},setWidth:function(e){Mn(P,e)},getHeight:function(){return On(P)},setHeight:function(e){_n(P,e)}},encryptionOptions:d,encryption:Dt,getEncryptor:function(e){return null!==d?Dt.encryptor(e,0):function(e){return e}},output:Et,getNumberOfPages:yt,pages:V,out:K,f2:C,f3:S,getPageInfo:Nt,getPageInfoByObjId:Tt,getCurrentPageInfo:jt,getPDFVersion:A,Point:bn,Rectangle:An,Matrix:Ue,hasHotfix:kt},Object.defineProperty(h.internal.pageSize,"width",{get:function(){return yn(P)},set:function(e){Mn(P,e)},enumerable:!0,configurable:!0}),Object.defineProperty(h.internal.pageSize,"height",{get:function(){return On(P)},set:function(e){_n(P,e)},enumerable:!0,configurable:!0}),function(e){for(var t=0,n=ne.length;t<n;t++){var r=ht.call(this,e[t][0],e[t][1],e[t][2],ne[t][3],!0);!1===p&&(f[r]=!0);var o=e[t][0].split("-");ft({id:r,fontName:o[0],fontStyle:o[1]||""})}qe.publish("addFonts",{fonts:Me,dictionary:Oe})}.call(h,ne),Ae="F1",mt(i,n),qe.publish("initialized"),h}_e.prototype.lsbFirstWord=function(e){return String.fromCharCode(e>>0&255,e>>8&255,e>>16&255,e>>24&255)},_e.prototype.toHexString=function(e){return e.split("").map((function(e){return("0"+(255&e.charCodeAt(0)).toString(16)).slice(-2)})).join("")},_e.prototype.hexToBytes=function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(String.fromCharCode(parseInt(e.substr(n,2),16)));return t.join("")},_e.prototype.processOwnerPassword=function(e,t){return Me(ge(t).substr(0,5),e)},_e.prototype.encryptor=function(e,t){var n=ge(this.encryptionKey+String.fromCharCode(255&e,e>>8&255,e>>16&255,255&t,t>>8&255)).substr(0,10);return function(e){return Me(n,e)}},we.prototype.equals=function(e){var t,n="id,objectNumber,equals";if(!e||(0,r.Z)(e)!==(0,r.Z)(this))return!1;var o=0;for(t in this)if(!(n.indexOf(t)>=0)){if(this.hasOwnProperty(t)&&!e.hasOwnProperty(t))return!1;if(this[t]!==e[t])return!1;o++}for(t in e)e.hasOwnProperty(t)&&n.indexOf(t)<0&&o--;return 0===o},ke.API={events:[]},ke.version="2.5.1";var De=ke.API,Ne=1,Te=function(e){return e.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},je=function(e){return e.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},Be=function(e){return e.toFixed(2)},Le=function(e){return e.toFixed(5)};De.__acroform__={};var Re=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e},qe=function(e){return e*Ne},Pe=function(e){var t=new nt,n=At.internal.getHeight(e)||0,r=At.internal.getWidth(e)||0;return t.BBox=[0,0,Number(Be(r)),Number(Be(n))],t},Ie=De.__acroform__.setBit=function(e,t){if(e=e||0,t=t||0,isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return e|1<<t},We=De.__acroform__.clearBit=function(e,t){if(e=e||0,t=t||0,isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return e&~(1<<t)},Fe=De.__acroform__.getBit=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return 0==(e&1<<t)?0:1},Ue=De.__acroform__.getBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return Fe(e,t-1)},Ze=De.__acroform__.setBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return Ie(e,t-1)},He=De.__acroform__.clearBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return We(e,t-1)},$e=De.__acroform__.calculateCoordinates=function(e,t){var n=t.internal.getHorizontalCoordinate,r=t.internal.getVerticalCoordinate,o=e[0],i=e[1],a=e[2],s=e[3],l={};return l.lowerLeft_X=n(o)||0,l.lowerLeft_Y=r(i+s)||0,l.upperRight_X=n(o+a)||0,l.upperRight_Y=r(i)||0,[Number(Be(l.lowerLeft_X)),Number(Be(l.lowerLeft_Y)),Number(Be(l.upperRight_X)),Number(Be(l.upperRight_Y))]},Ve=function(e){if(e.appearanceStreamContent)return e.appearanceStreamContent;if(e.V||e.DV){var t=[],n=e._V||e.DV,r=Xe(e,n),o=e.scope.internal.getFont(e.fontName,e.fontStyle).id;t.push("/Tx BMC"),t.push("q"),t.push("BT"),t.push(e.scope.__private__.encodeColorString(e.color)),t.push("/"+o+" "+Be(r.fontSize)+" Tf"),t.push("1 0 0 1 0 0 Tm"),t.push(r.text),t.push("ET"),t.push("Q"),t.push("EMC");var i=Pe(e);return i.scope=e.scope,i.stream=t.join("\n"),i}},Xe=function(e,t){var n=0===e.fontSize?e.maxFontSize:e.fontSize,r={text:"",fontSize:""},o=(t=")"==(t="("==t.substr(0,1)?t.substr(1):t).substr(t.length-1)?t.substr(0,t.length-1):t).split(" ");o=e.multiline?o.map((function(e){return e.split("\n")})):o.map((function(e){return[e]}));var i=n,a=At.internal.getHeight(e)||0;a=a<0?-a:a;var s=At.internal.getWidth(e)||0;s=s<0?-s:s;var l=function(t,n,r){if(t+1<o.length){var i=n+" "+o[t+1][0];return Qe(i,e,r).width<=s-4}return!1};i++;e:for(;i>0;){t="",i--;var c,u,d=Qe("3",e,i).height,p=e.multiline?a-i:(a-d)/2,f=p+=2,h=0,b=0,A=0;if(i<=0){t="(...) Tj\n",t+="% Width of Text: "+Qe(t,e,i=12).width+", FieldWidth:"+s+"\n";break}for(var m="",g=0,v=0;v<o.length;v++)if(o.hasOwnProperty(v)){var y=!1;if(1!==o[v].length&&A!==o[v].length-1){if((d+2)*(g+2)+2>a)continue e;m+=o[v][A],y=!0,b=v,v--}else{m=" "==(m+=o[v][A]+" ").substr(m.length-1)?m.substr(0,m.length-1):m;var M=parseInt(v),O=l(M,m,i),_=v>=o.length-1;if(O&&!_){m+=" ",A=0;continue}if(O||_){if(_)b=M;else if(e.multiline&&(d+2)*(g+2)+2>a)continue e}else{if(!e.multiline)continue e;if((d+2)*(g+2)+2>a)continue e;b=M}}for(var z="",x=h;x<=b;x++){var w=o[x];if(e.multiline){if(x===b){z+=w[A]+" ",A=(A+1)%w.length;continue}if(x===h){z+=w[w.length-1]+" ";continue}}z+=w[0]+" "}switch(z=" "==z.substr(z.length-1)?z.substr(0,z.length-1):z,u=Qe(z,e,i).width,e.textAlign){case"right":c=s-u-2;break;case"center":c=(s-u)/2;break;default:c=2}t+=Be(c)+" "+Be(f)+" Td\n",t+="("+Te(z)+") Tj\n",t+=-Be(c)+" 0 Td\n",f=-(i+2),u=0,h=y?b:b+1,g++,m=""}break}return r.text=t,r.fontSize=i,r},Qe=function(e,t,n){var r=t.scope.internal.getFont(t.fontName,t.fontStyle),o=t.scope.getStringUnitWidth(e,{font:r,fontSize:parseFloat(n),charSpace:0})*parseFloat(n);return{height:t.scope.getStringUnitWidth("3",{font:r,fontSize:parseFloat(n),charSpace:0})*parseFloat(n)*1.5,width:o}},Ye={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},Ge=function(e,t){var n={type:"reference",object:e};void 0===t.internal.getPageInfo(e.page).pageContext.annotations.find((function(e){return e.type===n.type&&e.object===n.object}))&&t.internal.getPageInfo(e.page).pageContext.annotations.push(n)},Ke=function(e,t){if(t.scope=e,void 0!==e.internal&&(void 0===e.internal.acroformPlugin||!1===e.internal.acroformPlugin.isInitialized)){if(ot.FieldNum=0,e.internal.acroformPlugin=JSON.parse(JSON.stringify(Ye)),e.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");Ne=e.internal.scaleFactor,e.internal.acroformPlugin.acroFormDictionaryRoot=new rt,e.internal.acroformPlugin.acroFormDictionaryRoot.scope=e,e.internal.acroformPlugin.acroFormDictionaryRoot._eventID=e.internal.events.subscribe("postPutResources",(function(){var t;(t=e).internal.events.unsubscribe(t.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete t.internal.acroformPlugin.acroFormDictionaryRoot._eventID,t.internal.acroformPlugin.printedOut=!0})),e.internal.events.subscribe("buildDocument",(function(){!function(e){e.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var t=e.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];r.objId=void 0,r.hasAnnotation&&Ge(r,e)}}(e)})),e.internal.events.subscribe("putCatalog",(function(){!function(e){if(void 0===e.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("putCatalogCallback: Root missing.");e.internal.write("/AcroForm "+e.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")}(e)})),e.internal.events.subscribe("postPutPages",(function(t){!function(e,t){var n=!e;for(var o in e||(t.internal.newObjectDeferredBegin(t.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),t.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),e=e||t.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(e.hasOwnProperty(o)){var i=e[o],a=[],s=i.Rect;if(i.Rect&&(i.Rect=$e(i.Rect,t)),t.internal.newObjectDeferredBegin(i.objId,!0),i.DA=At.createDefaultAppearanceStream(i),"object"===(0,r.Z)(i)&&"function"==typeof i.getKeyValueListForStream&&(a=i.getKeyValueListForStream()),i.Rect=s,i.hasAppearanceStream&&!i.appearanceStreamContent){var l=Ve(i);a.push({key:"AP",value:"<</N "+l+">>"}),t.internal.acroformPlugin.xForms.push(l)}if(i.appearanceStreamContent){var c="";for(var u in i.appearanceStreamContent)if(i.appearanceStreamContent.hasOwnProperty(u)){var d=i.appearanceStreamContent[u];if(c+="/"+u+" ",c+="<<",Object.keys(d).length>=1||Array.isArray(d)){for(var o in d)if(d.hasOwnProperty(o)){var p=d[o];"function"==typeof p&&(p=p.call(t,i)),c+="/"+o+" "+p+" ",t.internal.acroformPlugin.xForms.indexOf(p)>=0||t.internal.acroformPlugin.xForms.push(p)}}else"function"==typeof(p=d)&&(p=p.call(t,i)),c+="/"+o+" "+p,t.internal.acroformPlugin.xForms.indexOf(p)>=0||t.internal.acroformPlugin.xForms.push(p);c+=">>"}a.push({key:"AP",value:"<<\n"+c+">>"})}t.internal.putStream({additionalKeyValues:a,objectId:i.objId}),t.internal.out("endobj")}n&&function(e,t){for(var n in e)if(e.hasOwnProperty(n)){var o=n,i=e[n];t.internal.newObjectDeferredBegin(i.objId,!0),"object"===(0,r.Z)(i)&&"function"==typeof i.putStream&&i.putStream(),delete e[o]}}(t.internal.acroformPlugin.xForms,t)}(t,e)})),e.internal.acroformPlugin.isInitialized=!0}},Je=De.__acroform__.arrayToPdfArray=function(e,t,n){var o=function(e){return e};if(Array.isArray(e)){for(var i="[",a=0;a<e.length;a++)switch(0!==a&&(i+=" "),(0,r.Z)(e[a])){case"boolean":case"number":case"object":i+=e[a].toString();break;case"string":"/"!==e[a].substr(0,1)?(void 0!==t&&n&&(o=n.internal.getEncryptor(t)),i+="("+Te(o(e[a].toString()))+")"):i+=e[a].toString()}return i+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},et=function(e,t,n){var r=function(e){return e};return void 0!==t&&n&&(r=n.internal.getEncryptor(t)),(e=e||"").toString(),"("+Te(r(e))+")"},tt=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(void 0===this._objId){if(void 0===this.scope)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(e){this._objId=e}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};tt.prototype.toString=function(){return this.objId+" 0 R"},tt.prototype.putStream=function(){var e=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:e,objectId:this.objId}),this.scope.internal.out("endobj")},tt.prototype.getKeyValueListForStream=function(){var e=[],t=Object.getOwnPropertyNames(this).filter((function(e){return"content"!=e&&"appearanceStreamContent"!=e&&"scope"!=e&&"objId"!=e&&"_"!=e.substring(0,1)}));for(var n in t)if(!1===Object.getOwnPropertyDescriptor(this,t[n]).configurable){var r=t[n],o=this[r];o&&(Array.isArray(o)?e.push({key:r,value:Je(o,this.objId,this.scope)}):o instanceof tt?(o.scope=this.scope,e.push({key:r,value:o.objId+" 0 R"})):"function"!=typeof o&&e.push({key:r,value:o}))}return e};var nt=function(){tt.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var e,t=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(t){e=t.trim()},get:function(){return e||null}})};Re(nt,tt);var rt=function(){tt.call(this);var e,t=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return t.length>0?t:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return t}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(e){var t=function(e){return e};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+Te(t(e))+")"}},set:function(t){e=t}})};Re(rt,tt);var ot=function e(){tt.call(this);var t=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){if(isNaN(e))throw new Error('Invalid value "'+e+'" for attribute F supplied.');t=e}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ue(t,3))},set:function(e){!0===Boolean(e)?this.F=Ze(t,3):this.F=He(t,3)}});var n=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return n},set:function(e){if(isNaN(e))throw new Error('Invalid value "'+e+'" for attribute Ff supplied.');n=e}});var r=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(0!==r.length)return r},set:function(e){r=void 0!==e?e:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[0])?0:r[0]},set:function(e){r[0]=e}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[1])?0:r[1]},set:function(e){r[1]=e}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[2])?0:r[2]},set:function(e){r[2]=e}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[3])?0:r[3]},set:function(e){r[3]=e}});var o="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return o},set:function(e){switch(e){case"/Btn":case"/Tx":case"/Ch":case"/Sig":o=e;break;default:throw new Error('Invalid value "'+e+'" for attribute FT supplied.')}}});var i=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!i||i.length<1){if(this instanceof pt)return;i="FieldObject"+e.FieldNum++}var t=function(e){return e};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+Te(t(i))+")"},set:function(e){i=e.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return i},set:function(e){i=e}});var a="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return a},set:function(e){a=e}});var s="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return s},set:function(e){s=e}});var l=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return l},set:function(e){l=e}});var c=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return void 0===c?50/Ne:c},set:function(e){c=e}});var u="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return u},set:function(e){u=e}});var d="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!d||this instanceof pt||this instanceof ht))return et(d,this.objId,this.scope)},set:function(e){e=e.toString(),d=e}});var p=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(p)return this instanceof ct==0?et(p,this.objId,this.scope):p},set:function(e){e=e.toString(),p=this instanceof ct==0?"("===e.substr(0,1)?je(e.substr(1,e.length-2)):je(e):e}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof ct==1?je(p.substr(1,p.length-1)):p},set:function(e){e=e.toString(),p=this instanceof ct==1?"/"+e:e}});var f=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(f)return f},set:function(e){this.V=e}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(f)return this instanceof ct==0?et(f,this.objId,this.scope):f},set:function(e){e=e.toString(),f=this instanceof ct==0?"("===e.substr(0,1)?je(e.substr(1,e.length-2)):je(e):e}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof ct==1?je(f.substr(1,f.length-1)):f},set:function(e){e=e.toString(),f=this instanceof ct==1?"/"+e:e}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var h,b=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return b},set:function(e){e=Boolean(e),b=e}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(h)return h},set:function(e){h=e}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ue(this.Ff,1))},set:function(e){!0===Boolean(e)?this.Ff=Ze(this.Ff,1):this.Ff=He(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ue(this.Ff,2))},set:function(e){!0===Boolean(e)?this.Ff=Ze(this.Ff,2):this.Ff=He(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ue(this.Ff,3))},set:function(e){!0===Boolean(e)?this.Ff=Ze(this.Ff,3):this.Ff=He(this.Ff,3)}});var A=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(null!==A)return A},set:function(e){if(-1===[0,1,2].indexOf(e))throw new Error('Invalid value "'+e+'" for attribute Q supplied.');A=e}}),Object.defineProperty(this,"textAlign",{get:function(){var e;switch(A){case 0:default:e="left";break;case 1:e="center";break;case 2:e="right"}return e},configurable:!0,enumerable:!0,set:function(e){switch(e){case"right":case 2:A=2;break;case"center":case 1:A=1;break;default:A=0}}})};Re(ot,tt);var it=function(){ot.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var e=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){e=t}});var t=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return Je(t,this.objId,this.scope)},set:function(e){var n,r;r=[],"string"==typeof(n=e)&&(r=function(e,t,n){n||(n=1);for(var r,o=[];r=t.exec(e);)o.push(r[n]);return o}(n,/\((.*?)\)/g)),t=r}}),this.getOptions=function(){return t},this.setOptions=function(e){t=e,this.sort&&t.sort()},this.addOption=function(e){e=(e=e||"").toString(),t.push(e),this.sort&&t.sort()},this.removeOption=function(e,n){for(n=n||!1,e=(e=e||"").toString();-1!==t.indexOf(e)&&(t.splice(t.indexOf(e),1),!1!==n););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ue(this.Ff,18))},set:function(e){!0===Boolean(e)?this.Ff=Ze(this.Ff,18):this.Ff=He(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ue(this.Ff,19))},set:function(e){!0===this.combo&&(!0===Boolean(e)?this.Ff=Ze(this.Ff,19):this.Ff=He(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ue(this.Ff,20))},set:function(e){!0===Boolean(e)?(this.Ff=Ze(this.Ff,20),t.sort()):this.Ff=He(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ue(this.Ff,22))},set:function(e){!0===Boolean(e)?this.Ff=Ze(this.Ff,22):this.Ff=He(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ue(this.Ff,23))},set:function(e){!0===Boolean(e)?this.Ff=Ze(this.Ff,23):this.Ff=He(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ue(this.Ff,27))},set:function(e){!0===Boolean(e)?this.Ff=Ze(this.Ff,27):this.Ff=He(this.Ff,27)}}),this.hasAppearanceStream=!1};Re(it,ot);var at=function(){it.call(this),this.fontName="helvetica",this.combo=!1};Re(at,it);var st=function(){at.call(this),this.combo=!0};Re(st,at);var lt=function(){st.call(this),this.edit=!0};Re(lt,st);var ct=function(){ot.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ue(this.Ff,15))},set:function(e){!0===Boolean(e)?this.Ff=Ze(this.Ff,15):this.Ff=He(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ue(this.Ff,16))},set:function(e){!0===Boolean(e)?this.Ff=Ze(this.Ff,16):this.Ff=He(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ue(this.Ff,17))},set:function(e){!0===Boolean(e)?this.Ff=Ze(this.Ff,17):this.Ff=He(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ue(this.Ff,26))},set:function(e){!0===Boolean(e)?this.Ff=Ze(this.Ff,26):this.Ff=He(this.Ff,26)}});var e,t={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e=function(e){return e};if(this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),0!==Object.keys(t).length){var n,r=[];for(n in r.push("<<"),t)r.push("/"+n+" ("+Te(e(t[n]))+")");return r.push(">>"),r.join("\n")}},set:function(e){"object"===(0,r.Z)(e)&&(t=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return t.CA||""},set:function(e){"string"==typeof e&&(t.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return e.substr(1,e.length-1)},set:function(t){e="/"+t}})};Re(ct,ot);var ut=function(){ct.call(this),this.pushButton=!0};Re(ut,ct);var dt=function(){ct.call(this),this.radio=!0,this.pushButton=!1;var e=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=void 0!==t?t:[]}})};Re(dt,ct);var pt=function(){var e,t;ot.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(e){t=e}});var n,o={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e=function(e){return e};this.scope&&(e=this.scope.internal.getEncryptor(this.objId));var t,n=[];for(t in n.push("<<"),o)n.push("/"+t+" ("+Te(e(o[t]))+")");return n.push(">>"),n.join("\n")},set:function(e){"object"===(0,r.Z)(e)&&(o=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return o.CA||""},set:function(e){"string"==typeof e&&(o.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return n},set:function(e){n=e}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return n.substr(1,n.length-1)},set:function(e){n="/"+e}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=At.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};Re(pt,ot),dt.prototype.setAppearance=function(e){if(!("createAppearanceStream"in e)||!("getCA"in e))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var t in this.Kids)if(this.Kids.hasOwnProperty(t)){var n=this.Kids[t];n.appearanceStreamContent=e.createAppearanceStream(n.optionName),n.caption=e.getCA()}},dt.prototype.createOption=function(e){var t=new pt;return t.Parent=this,t.optionName=e,this.Kids.push(t),mt.call(this.scope,t),t};var ft=function(){ct.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=At.CheckBox.createAppearanceStream()};Re(ft,ct);var ht=function(){ot.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ue(this.Ff,13))},set:function(e){!0===Boolean(e)?this.Ff=Ze(this.Ff,13):this.Ff=He(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ue(this.Ff,21))},set:function(e){!0===Boolean(e)?this.Ff=Ze(this.Ff,21):this.Ff=He(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ue(this.Ff,23))},set:function(e){!0===Boolean(e)?this.Ff=Ze(this.Ff,23):this.Ff=He(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ue(this.Ff,24))},set:function(e){!0===Boolean(e)?this.Ff=Ze(this.Ff,24):this.Ff=He(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ue(this.Ff,25))},set:function(e){!0===Boolean(e)?this.Ff=Ze(this.Ff,25):this.Ff=He(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ue(this.Ff,26))},set:function(e){!0===Boolean(e)?this.Ff=Ze(this.Ff,26):this.Ff=He(this.Ff,26)}});var e=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){Number.isInteger(t)&&(e=t)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};Re(ht,ot);var bt=function(){ht.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ue(this.Ff,14))},set:function(e){!0===Boolean(e)?this.Ff=Ze(this.Ff,14):this.Ff=He(this.Ff,14)}}),this.password=!0};Re(bt,ht);var At={CheckBox:{createAppearanceStream:function(){return{N:{On:At.CheckBox.YesNormal},D:{On:At.CheckBox.YesPushDown,Off:At.CheckBox.OffPushDown}}},YesPushDown:function(e){var t=Pe(e);t.scope=e.scope;var n=[],r=e.scope.internal.getFont(e.fontName,e.fontStyle).id,o=e.scope.__private__.encodeColorString(e.color),i=Xe(e,e.caption);return n.push("0.749023 g"),n.push("0 0 "+Be(At.internal.getWidth(e))+" "+Be(At.internal.getHeight(e))+" re"),n.push("f"),n.push("BMC"),n.push("q"),n.push("0 0 1 rg"),n.push("/"+r+" "+Be(i.fontSize)+" Tf "+o),n.push("BT"),n.push(i.text),n.push("ET"),n.push("Q"),n.push("EMC"),t.stream=n.join("\n"),t},YesNormal:function(e){var t=Pe(e);t.scope=e.scope;var n=e.scope.internal.getFont(e.fontName,e.fontStyle).id,r=e.scope.__private__.encodeColorString(e.color),o=[],i=At.internal.getHeight(e),a=At.internal.getWidth(e),s=Xe(e,e.caption);return o.push("1 g"),o.push("0 0 "+Be(a)+" "+Be(i)+" re"),o.push("f"),o.push("q"),o.push("0 0 1 rg"),o.push("0 0 "+Be(a-1)+" "+Be(i-1)+" re"),o.push("W"),o.push("n"),o.push("0 g"),o.push("BT"),o.push("/"+n+" "+Be(s.fontSize)+" Tf "+r),o.push(s.text),o.push("ET"),o.push("Q"),t.stream=o.join("\n"),t},OffPushDown:function(e){var t=Pe(e);t.scope=e.scope;var n=[];return n.push("0.749023 g"),n.push("0 0 "+Be(At.internal.getWidth(e))+" "+Be(At.internal.getHeight(e))+" re"),n.push("f"),t.stream=n.join("\n"),t}},RadioButton:{Circle:{createAppearanceStream:function(e){var t={D:{Off:At.RadioButton.Circle.OffPushDown},N:{}};return t.N[e]=At.RadioButton.Circle.YesNormal,t.D[e]=At.RadioButton.Circle.YesPushDown,t},getCA:function(){return"l"},YesNormal:function(e){var t=Pe(e);t.scope=e.scope;var n=[],r=At.internal.getWidth(e)<=At.internal.getHeight(e)?At.internal.getWidth(e)/4:At.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var o=At.internal.Bezier_C,i=Number((r*o).toFixed(5));return n.push("q"),n.push("1 0 0 1 "+Le(At.internal.getWidth(e)/2)+" "+Le(At.internal.getHeight(e)/2)+" cm"),n.push(r+" 0 m"),n.push(r+" "+i+" "+i+" "+r+" 0 "+r+" c"),n.push("-"+i+" "+r+" -"+r+" "+i+" -"+r+" 0 c"),n.push("-"+r+" -"+i+" -"+i+" -"+r+" 0 -"+r+" c"),n.push(i+" -"+r+" "+r+" -"+i+" "+r+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t},YesPushDown:function(e){var t=Pe(e);t.scope=e.scope;var n=[],r=At.internal.getWidth(e)<=At.internal.getHeight(e)?At.internal.getWidth(e)/4:At.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var o=Number((2*r).toFixed(5)),i=Number((o*At.internal.Bezier_C).toFixed(5)),a=Number((r*At.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+Le(At.internal.getWidth(e)/2)+" "+Le(At.internal.getHeight(e)/2)+" cm"),n.push(o+" 0 m"),n.push(o+" "+i+" "+i+" "+o+" 0 "+o+" c"),n.push("-"+i+" "+o+" -"+o+" "+i+" -"+o+" 0 c"),n.push("-"+o+" -"+i+" -"+i+" -"+o+" 0 -"+o+" c"),n.push(i+" -"+o+" "+o+" -"+i+" "+o+" 0 c"),n.push("f"),n.push("Q"),n.push("0 g"),n.push("q"),n.push("1 0 0 1 "+Le(At.internal.getWidth(e)/2)+" "+Le(At.internal.getHeight(e)/2)+" cm"),n.push(r+" 0 m"),n.push(r+" "+a+" "+a+" "+r+" 0 "+r+" c"),n.push("-"+a+" "+r+" -"+r+" "+a+" -"+r+" 0 c"),n.push("-"+r+" -"+a+" -"+a+" -"+r+" 0 -"+r+" c"),n.push(a+" -"+r+" "+r+" -"+a+" "+r+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t},OffPushDown:function(e){var t=Pe(e);t.scope=e.scope;var n=[],r=At.internal.getWidth(e)<=At.internal.getHeight(e)?At.internal.getWidth(e)/4:At.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var o=Number((2*r).toFixed(5)),i=Number((o*At.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+Le(At.internal.getWidth(e)/2)+" "+Le(At.internal.getHeight(e)/2)+" cm"),n.push(o+" 0 m"),n.push(o+" "+i+" "+i+" "+o+" 0 "+o+" c"),n.push("-"+i+" "+o+" -"+o+" "+i+" -"+o+" 0 c"),n.push("-"+o+" -"+i+" -"+i+" -"+o+" 0 -"+o+" c"),n.push(i+" -"+o+" "+o+" -"+i+" "+o+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t}},Cross:{createAppearanceStream:function(e){var t={D:{Off:At.RadioButton.Cross.OffPushDown},N:{}};return t.N[e]=At.RadioButton.Cross.YesNormal,t.D[e]=At.RadioButton.Cross.YesPushDown,t},getCA:function(){return"8"},YesNormal:function(e){var t=Pe(e);t.scope=e.scope;var n=[],r=At.internal.calculateCross(e);return n.push("q"),n.push("1 1 "+Be(At.internal.getWidth(e)-2)+" "+Be(At.internal.getHeight(e)-2)+" re"),n.push("W"),n.push("n"),n.push(Be(r.x1.x)+" "+Be(r.x1.y)+" m"),n.push(Be(r.x2.x)+" "+Be(r.x2.y)+" l"),n.push(Be(r.x4.x)+" "+Be(r.x4.y)+" m"),n.push(Be(r.x3.x)+" "+Be(r.x3.y)+" l"),n.push("s"),n.push("Q"),t.stream=n.join("\n"),t},YesPushDown:function(e){var t=Pe(e);t.scope=e.scope;var n=At.internal.calculateCross(e),r=[];return r.push("0.749023 g"),r.push("0 0 "+Be(At.internal.getWidth(e))+" "+Be(At.internal.getHeight(e))+" re"),r.push("f"),r.push("q"),r.push("1 1 "+Be(At.internal.getWidth(e)-2)+" "+Be(At.internal.getHeight(e)-2)+" re"),r.push("W"),r.push("n"),r.push(Be(n.x1.x)+" "+Be(n.x1.y)+" m"),r.push(Be(n.x2.x)+" "+Be(n.x2.y)+" l"),r.push(Be(n.x4.x)+" "+Be(n.x4.y)+" m"),r.push(Be(n.x3.x)+" "+Be(n.x3.y)+" l"),r.push("s"),r.push("Q"),t.stream=r.join("\n"),t},OffPushDown:function(e){var t=Pe(e);t.scope=e.scope;var n=[];return n.push("0.749023 g"),n.push("0 0 "+Be(At.internal.getWidth(e))+" "+Be(At.internal.getHeight(e))+" re"),n.push("f"),t.stream=n.join("\n"),t}}},createDefaultAppearanceStream:function(e){var t=e.scope.internal.getFont(e.fontName,e.fontStyle).id,n=e.scope.__private__.encodeColorString(e.color);return"/"+t+" "+e.fontSize+" Tf "+n}};At.internal={Bezier_C:.551915024494,calculateCross:function(e){var t=At.internal.getWidth(e),n=At.internal.getHeight(e),r=Math.min(t,n);return{x1:{x:(t-r)/2,y:(n-r)/2+r},x2:{x:(t-r)/2+r,y:(n-r)/2},x3:{x:(t-r)/2,y:(n-r)/2},x4:{x:(t-r)/2+r,y:(n-r)/2+r}}}},At.internal.getWidth=function(e){var t=0;return"object"===(0,r.Z)(e)&&(t=qe(e.Rect[2])),t},At.internal.getHeight=function(e){var t=0;return"object"===(0,r.Z)(e)&&(t=qe(e.Rect[3])),t};var mt=De.addField=function(e){if(Ke(this,e),!(e instanceof ot))throw new Error("Invalid argument passed to jsPDF.addField.");var t;return(t=e).scope.internal.acroformPlugin.printedOut&&(t.scope.internal.acroformPlugin.printedOut=!1,t.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),t.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(t),e.page=e.scope.internal.getCurrentPageInfo().pageNumber,this};De.AcroFormChoiceField=it,De.AcroFormListBox=at,De.AcroFormComboBox=st,De.AcroFormEditBox=lt,De.AcroFormButton=ct,De.AcroFormPushButton=ut,De.AcroFormRadioButton=dt,De.AcroFormCheckBox=ft,De.AcroFormTextField=ht,De.AcroFormPasswordField=bt,De.AcroFormAppearance=At,De.AcroForm={ChoiceField:it,ListBox:at,ComboBox:st,EditBox:lt,Button:ct,PushButton:ut,RadioButton:dt,CheckBox:ft,TextField:ht,PasswordField:bt,Appearance:At},ke.AcroForm={ChoiceField:it,ListBox:at,ComboBox:st,EditBox:lt,Button:ct,PushButton:ut,RadioButton:dt,CheckBox:ft,TextField:ht,PasswordField:bt,Appearance:At};var gt=ke.AcroForm;function vt(e){return e.reduce((function(e,t,n){return e[t]=n,e}),{})}!function(e){e.__addimage__={};var t="UNKNOWN",n={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},o=e.__addimage__.getImageFileTypeByImageData=function(e,r){var o,i,a,s,l,c=t;if("RGBA"===(r=r||t)||void 0!==e.data&&e.data instanceof Uint8ClampedArray&&"height"in e&&"width"in e)return"RGBA";if(_(e))for(l in n)for(a=n[l],o=0;o<a.length;o+=1){for(s=!0,i=0;i<a[o].length;i+=1)if(void 0!==a[o][i]&&a[o][i]!==e[i]){s=!1;break}if(!0===s){c=l;break}}else for(l in n)for(a=n[l],o=0;o<a.length;o+=1){for(s=!0,i=0;i<a[o].length;i+=1)if(void 0!==a[o][i]&&a[o][i]!==e.charCodeAt(i)){s=!1;break}if(!0===s){c=l;break}}return c===t&&r!==t&&(c=r),c},i=function e(t){for(var n=this.internal.write,r=this.internal.putStream,o=(0,this.internal.getFilters)();-1!==o.indexOf("FlateEncode");)o.splice(o.indexOf("FlateEncode"),1);t.objectId=this.internal.newObject();var i=[];if(i.push({key:"Type",value:"/XObject"}),i.push({key:"Subtype",value:"/Image"}),i.push({key:"Width",value:t.width}),i.push({key:"Height",value:t.height}),t.colorSpace===m.INDEXED?i.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(t.palette.length/3-1)+" "+("sMask"in t&&void 0!==t.sMask?t.objectId+2:t.objectId+1)+" 0 R]"}):(i.push({key:"ColorSpace",value:"/"+t.colorSpace}),t.colorSpace===m.DEVICE_CMYK&&i.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),i.push({key:"BitsPerComponent",value:t.bitsPerComponent}),"decodeParameters"in t&&void 0!==t.decodeParameters&&i.push({key:"DecodeParms",value:"<<"+t.decodeParameters+">>"}),"transparency"in t&&Array.isArray(t.transparency)){for(var a="",s=0,l=t.transparency.length;s<l;s++)a+=t.transparency[s]+" "+t.transparency[s]+" ";i.push({key:"Mask",value:"["+a+"]"})}void 0!==t.sMask&&i.push({key:"SMask",value:t.objectId+1+" 0 R"});var c=void 0!==t.filter?["/"+t.filter]:void 0;if(r({data:t.data,additionalKeyValues:i,alreadyAppliedFilters:c,objectId:t.objectId}),n("endobj"),"sMask"in t&&void 0!==t.sMask){var u="/Predictor "+t.predictor+" /Colors 1 /BitsPerComponent "+t.bitsPerComponent+" /Columns "+t.width,d={width:t.width,height:t.height,colorSpace:"DeviceGray",bitsPerComponent:t.bitsPerComponent,decodeParameters:u,data:t.sMask};"filter"in t&&(d.filter=t.filter),e.call(this,d)}if(t.colorSpace===m.INDEXED){var p=this.internal.newObject();r({data:x(new Uint8Array(t.palette)),objectId:p}),n("endobj")}},a=function(){var e=this.internal.collections.addImage_images;for(var t in e)i.call(this,e[t])},s=function(){var e,t=this.internal.collections.addImage_images,n=this.internal.write;for(var r in t)n("/I"+(e=t[r]).index,e.objectId,"0","R")},l=function(){this.internal.collections.addImage_images||(this.internal.collections.addImage_images={},this.internal.events.subscribe("putResources",a),this.internal.events.subscribe("putXobjectDict",s))},c=function(){var e=this.internal.collections.addImage_images;return l.call(this),e},u=function(){return Object.keys(this.internal.collections.addImage_images).length},d=function(t){return"function"==typeof e["process"+t.toUpperCase()]},p=function(e){return"object"===(0,r.Z)(e)&&1===e.nodeType},f=function(t,n){if("IMG"===t.nodeName&&t.hasAttribute("src")){var r=""+t.getAttribute("src");if(0===r.indexOf("data:image/"))return re(unescape(r).split("base64,").pop());var o=e.loadFile(r,!0);if(void 0!==o)return o}if("CANVAS"===t.nodeName){if(0===t.width||0===t.height)throw new Error("Given canvas must have data. Canvas width: "+t.width+", height: "+t.height);var i;switch(n){case"PNG":i="image/png";break;case"WEBP":i="image/webp";break;default:i="image/jpeg"}return re(t.toDataURL(i,1).split("base64,").pop())}},h=function(e){var t=this.internal.collections.addImage_images;if(t)for(var n in t)if(e===t[n].alias)return t[n]},b=function(e,t,n){return e||t||(e=-96,t=-96),e<0&&(e=-1*n.width*72/e/this.internal.scaleFactor),t<0&&(t=-1*n.height*72/t/this.internal.scaleFactor),0===e&&(e=t*n.width/n.height),0===t&&(t=e*n.height/n.width),[e,t]},A=function(e,t,n,r,o,i){var a=b.call(this,n,r,o),s=this.internal.getCoordinateString,l=this.internal.getVerticalCoordinateString,u=c.call(this);if(n=a[0],r=a[1],u[o.index]=o,i){i*=Math.PI/180;var d=Math.cos(i),p=Math.sin(i),f=function(e){return e.toFixed(4)},h=[f(d),f(p),f(-1*p),f(d),0,0,"cm"]}this.internal.write("q"),i?(this.internal.write([1,"0","0",1,s(e),l(t+r),"cm"].join(" ")),this.internal.write(h.join(" ")),this.internal.write([s(n),"0","0",s(r),"0","0","cm"].join(" "))):this.internal.write([s(n),"0","0",s(r),s(e),l(t+r),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+o.index+" Do"),this.internal.write("Q")},m=e.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};e.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var g=e.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},v=e.__addimage__.sHashCode=function(e){var t,n,r=0;if("string"==typeof e)for(n=e.length,t=0;t<n;t++)r=(r<<5)-r+e.charCodeAt(t),r|=0;else if(_(e))for(n=e.byteLength/2,t=0;t<n;t++)r=(r<<5)-r+e[t],r|=0;return r},y=e.__addimage__.validateStringAsBase64=function(e){(e=e||"").toString().trim();var t=!0;return 0===e.length&&(t=!1),e.length%4!=0&&(t=!1),!1===/^[A-Za-z0-9+/]+$/.test(e.substr(0,e.length-2))&&(t=!1),!1===/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(e.substr(-2))&&(t=!1),t},M=e.__addimage__.extractImageFromDataUrl=function(e){var t=(e=e||"").split("base64,"),n=null;if(2===t.length){var r=/^data:(\w*\/\w*);*(charset=(?!charset=)[\w=-]*)*;*$/.exec(t[0]);Array.isArray(r)&&(n={mimeType:r[1],charset:r[2],data:t[1]})}return n},O=e.__addimage__.supportsArrayBuffer=function(){return"undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array};e.__addimage__.isArrayBuffer=function(e){return O()&&e instanceof ArrayBuffer};var _=e.__addimage__.isArrayBufferView=function(e){return O()&&"undefined"!=typeof Uint32Array&&(e instanceof Int8Array||e instanceof Uint8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)},z=e.__addimage__.binaryStringToUint8Array=function(e){for(var t=e.length,n=new Uint8Array(t),r=0;r<t;r++)n[r]=e.charCodeAt(r);return n},x=e.__addimage__.arrayBufferToBinaryString=function(e){for(var t="",n=_(e)?e:new Uint8Array(e),r=0;r<n.length;r+=8192)t+=String.fromCharCode.apply(null,n.subarray(r,r+8192));return t};e.addImage=function(){var e,n,o,i,a,s,c,u,d;if("number"==typeof arguments[1]?(n=t,o=arguments[1],i=arguments[2],a=arguments[3],s=arguments[4],c=arguments[5],u=arguments[6],d=arguments[7]):(n=arguments[1],o=arguments[2],i=arguments[3],a=arguments[4],s=arguments[5],c=arguments[6],u=arguments[7],d=arguments[8]),"object"===(0,r.Z)(e=arguments[0])&&!p(e)&&"imageData"in e){var f=e;e=f.imageData,n=f.format||n||t,o=f.x||o||0,i=f.y||i||0,a=f.w||f.width||a,s=f.h||f.height||s,c=f.alias||c,u=f.compression||u,d=f.rotation||f.angle||d}var h=this.internal.getFilters();if(void 0===u&&-1!==h.indexOf("FlateEncode")&&(u="SLOW"),isNaN(o)||isNaN(i))throw new Error("Invalid coordinates passed to jsPDF.addImage");l.call(this);var b=w.call(this,e,n,c,u);return A.call(this,o,i,a,s,b,d),this};var w=function(n,r,i,a){var s,l,c;if("string"==typeof n&&o(n)===t){n=unescape(n);var b=C(n,!1);(""!==b||void 0!==(b=e.loadFile(n,!0)))&&(n=b)}if(p(n)&&(n=f(n,r)),r=o(n,r),!d(r))throw new Error("addImage does not support files of type '"+r+"', please ensure that a plugin for '"+r+"' support is added.");if((null==(c=i)||0===c.length)&&(i=function(e){return"string"==typeof e||_(e)?v(e):_(e.data)?v(e.data):null}(n)),(s=h.call(this,i))||(O()&&(n instanceof Uint8Array||"RGBA"===r||(l=n,n=z(n))),s=this["process"+r.toUpperCase()](n,u.call(this),i,function(t){return t&&"string"==typeof t&&(t=t.toUpperCase()),t in e.image_compression?t:g.NONE}(a),l)),!s)throw new Error("An unknown error occurred whilst processing the image.");return s},C=e.__addimage__.convertBase64ToBinaryString=function(e,t){var n;t="boolean"!=typeof t||t;var r,o="";if("string"==typeof e){r=null!==(n=M(e))?n.data:e;try{o=re(r)}catch(e){if(t)throw y(r)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+e.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return o};e.getImageProperties=function(n){var r,i,a="";if(p(n)&&(n=f(n)),"string"==typeof n&&o(n)===t&&(""===(a=C(n,!1))&&(a=e.loadFile(n)||""),n=a),i=o(n),!d(i))throw new Error("addImage does not support files of type '"+i+"', please ensure that a plugin for '"+i+"' support is added.");if(!O()||n instanceof Uint8Array||(n=z(n)),!(r=this["process"+i.toUpperCase()](n)))throw new Error("An unknown error occurred whilst processing the image");return r.fileType=i,r}}(ke.API),function(e){var t=function(e){if(void 0!==e&&""!=e)return!0};ke.API.events.push(["addPage",function(e){this.internal.getPageInfo(e.pageNumber).pageContext.annotations=[]}]),e.events.push(["putPage",function(e){for(var n,r,o,i=this.internal.getCoordinateString,a=this.internal.getVerticalCoordinateString,s=this.internal.getPageInfoByObjId(e.objId),l=e.pageContext.annotations,c=!1,u=0;u<l.length&&!c;u++)switch((n=l[u]).type){case"link":(t(n.options.url)||t(n.options.pageNumber))&&(c=!0);break;case"reference":case"text":case"freetext":c=!0}if(0!=c){this.internal.write("/Annots [");for(var d=0;d<l.length;d++){n=l[d];var p=this.internal.pdfEscape,f=this.internal.getEncryptor(e.objId);switch(n.type){case"reference":this.internal.write(" "+n.object.objId+" 0 R ");break;case"text":var h=this.internal.newAdditionalObject(),b=this.internal.newAdditionalObject(),A=this.internal.getEncryptor(h.objId),m=n.title||"Note";o="<</Type /Annot /Subtype /Text "+(r="/Rect ["+i(n.bounds.x)+" "+a(n.bounds.y+n.bounds.h)+" "+i(n.bounds.x+n.bounds.w)+" "+a(n.bounds.y)+"] ")+"/Contents ("+p(A(n.contents))+")",o+=" /Popup "+b.objId+" 0 R",o+=" /P "+s.objId+" 0 R",o+=" /T ("+p(A(m))+") >>",h.content=o;var g=h.objId+" 0 R";o="<</Type /Annot /Subtype /Popup "+(r="/Rect ["+i(n.bounds.x+30)+" "+a(n.bounds.y+n.bounds.h)+" "+i(n.bounds.x+n.bounds.w+30)+" "+a(n.bounds.y)+"] ")+" /Parent "+g,n.open&&(o+=" /Open true"),o+=" >>",b.content=o,this.internal.write(h.objId,"0 R",b.objId,"0 R");break;case"freetext":r="/Rect ["+i(n.bounds.x)+" "+a(n.bounds.y)+" "+i(n.bounds.x+n.bounds.w)+" "+a(n.bounds.y+n.bounds.h)+"] ";var v=n.color||"#000000";o="<</Type /Annot /Subtype /FreeText "+r+"/Contents ("+p(f(n.contents))+")",o+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+v+")",o+=" /Border [0 0 0]",o+=" >>",this.internal.write(o);break;case"link":if(n.options.name){var y=this.annotations._nameMap[n.options.name];n.options.pageNumber=y.page,n.options.top=y.y}else n.options.top||(n.options.top=0);if(r="/Rect ["+n.finalBounds.x+" "+n.finalBounds.y+" "+n.finalBounds.w+" "+n.finalBounds.h+"] ",o="",n.options.url)o="<</Type /Annot /Subtype /Link "+r+"/Border [0 0 0] /A <</S /URI /URI ("+p(f(n.options.url))+") >>";else if(n.options.pageNumber)switch(o="<</Type /Annot /Subtype /Link "+r+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(n.options.pageNumber).objId+" 0 R",n.options.magFactor=n.options.magFactor||"XYZ",n.options.magFactor){case"Fit":o+=" /Fit]";break;case"FitH":o+=" /FitH "+n.options.top+"]";break;case"FitV":n.options.left=n.options.left||0,o+=" /FitV "+n.options.left+"]";break;default:var M=a(n.options.top);n.options.left=n.options.left||0,void 0===n.options.zoom&&(n.options.zoom=0),o+=" /XYZ "+n.options.left+" "+M+" "+n.options.zoom+"]"}""!=o&&(o+=" >>",this.internal.write(o))}}this.internal.write("]")}}]),e.createAnnotation=function(e){var t=this.internal.getCurrentPageInfo();switch(e.type){case"link":this.link(e.bounds.x,e.bounds.y,e.bounds.w,e.bounds.h,e);break;case"text":case"freetext":t.pageContext.annotations.push(e)}},e.link=function(e,t,n,r,o){var i=this.internal.getCurrentPageInfo(),a=this.internal.getCoordinateString,s=this.internal.getVerticalCoordinateString;i.pageContext.annotations.push({finalBounds:{x:a(e),y:s(t),w:a(e+n),h:s(t+r)},options:o,type:"link"})},e.textWithLink=function(e,t,n,r){var o,i,a=this.getTextWidth(e),s=this.internal.getLineHeight()/this.internal.scaleFactor;if(void 0!==r.maxWidth){i=r.maxWidth;var l=this.splitTextToSize(e,i).length;o=Math.ceil(s*l)}else i=a,o=s;return this.text(e,t,n,r),n+=.2*s,"center"===r.align&&(t-=a/2),"right"===r.align&&(t-=a),this.link(t,n-s,i,o,r),a},e.getTextWidth=function(e){var t=this.internal.getFontSize();return this.getStringUnitWidth(e)*t/this.internal.scaleFactor}}(ke.API),function(e){var t={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},n={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},r={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},o=[1570,1571,1573,1575];e.__arabicParser__={};var i=e.__arabicParser__.isInArabicSubstitutionA=function(e){return void 0!==t[e.charCodeAt(0)]},a=e.__arabicParser__.isArabicLetter=function(e){return"string"==typeof e&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(e)},s=e.__arabicParser__.isArabicEndLetter=function(e){return a(e)&&i(e)&&t[e.charCodeAt(0)].length<=2},l=e.__arabicParser__.isArabicAlfLetter=function(e){return a(e)&&o.indexOf(e.charCodeAt(0))>=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(e){return a(e)&&i(e)&&t[e.charCodeAt(0)].length>=1};var c=e.__arabicParser__.arabicLetterHasFinalForm=function(e){return a(e)&&i(e)&&t[e.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(e){return a(e)&&i(e)&&t[e.charCodeAt(0)].length>=3};var u=e.__arabicParser__.arabicLetterHasMedialForm=function(e){return a(e)&&i(e)&&4==t[e.charCodeAt(0)].length},d=e.__arabicParser__.resolveLigatures=function(e){var t=0,r=n,o="",i=0;for(t=0;t<e.length;t+=1)void 0!==r[e.charCodeAt(t)]?(i++,"number"==typeof(r=r[e.charCodeAt(t)])&&(o+=String.fromCharCode(r),r=n,i=0),t===e.length-1&&(r=n,o+=e.charAt(t-(i-1)),t-=i-1,i=0)):(r=n,o+=e.charAt(t-i),t-=i,i=0);return o};e.__arabicParser__.isArabicDiacritic=function(e){return void 0!==e&&void 0!==r[e.charCodeAt(0)]};var p=e.__arabicParser__.getCorrectForm=function(e,t,n){return a(e)?!1===i(e)?-1:!c(e)||!a(t)&&!a(n)||!a(n)&&s(t)||s(e)&&!a(t)||s(e)&&l(t)||s(e)&&s(t)?0:u(e)&&a(t)&&!s(t)&&a(n)&&c(n)?3:s(e)||!a(n)?1:2:-1},f=function(e){var n=0,r=0,o=0,i="",s="",l="",c=(e=e||"").split("\\s+"),u=[];for(n=0;n<c.length;n+=1){for(u.push(""),r=0;r<c[n].length;r+=1)i=c[n][r],s=c[n][r-1],l=c[n][r+1],a(i)?(o=p(i,s,l),u[n]+=-1!==o?String.fromCharCode(t[i.charCodeAt(0)][o]):i):u[n]+=i;u[n]=d(u[n])}return u.join(" ")},h=e.__arabicParser__.processArabic=e.processArabic=function(){var e,t="string"==typeof arguments[0]?arguments[0]:arguments[0].text,n=[];if(Array.isArray(t)){var r=0;for(n=[],r=0;r<t.length;r+=1)Array.isArray(t[r])?n.push([f(t[r][0]),t[r][1],t[r][2]]):n.push([f(t[r])]);e=n}else e=f(t);return"string"==typeof arguments[0]?e:(arguments[0].text=e,arguments[0])};e.events.push(["preProcessText",h])}(ke.API),ke.API.autoPrint=function(e){var t;if("javascript"===((e=e||{}).variant=e.variant||"non-conform",e.variant))this.addJS("print({});");else this.internal.events.subscribe("postPutResources",(function(){t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){this.internal.out("/OpenAction "+t+" 0 R")}));return this},function(e){var t=function(){var e=void 0;Object.defineProperty(this,"pdf",{get:function(){return e},set:function(t){e=t}});var t=150;Object.defineProperty(this,"width",{get:function(){return t},set:function(e){t=isNaN(e)||!1===Number.isInteger(e)||e<0?150:e,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=t+1)}});var n=300;Object.defineProperty(this,"height",{get:function(){return n},set:function(e){n=isNaN(e)||!1===Number.isInteger(e)||e<0?300:e,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=n+1)}});var r=[];Object.defineProperty(this,"childNodes",{get:function(){return r},set:function(e){r=e}});var o={};Object.defineProperty(this,"style",{get:function(){return o},set:function(e){o=e}}),Object.defineProperty(this,"parentNode",{})};t.prototype.getContext=function(e,t){var n;if("2d"!==(e=e||"2d"))return null;for(n in t)this.pdf.context2d.hasOwnProperty(n)&&(this.pdf.context2d[n]=t[n]);return this.pdf.context2d._canvas=this,this.pdf.context2d},t.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},e.events.push(["initialized",function(){this.canvas=new t,this.canvas.pdf=this}])}(ke.API),function(e){var t={left:0,top:0,bottom:0,right:0},n=!1,o=function(){void 0===this.internal.__cell__&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},t),this.internal.__cell__.margins.width=this.getPageWidth(),i.call(this))},i=function(){this.internal.__cell__.lastCell=new a,this.internal.__cell__.pages=1},a=function(){var e=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return e},set:function(t){e=t}});var t=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return t},set:function(e){t=e}});var n=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return n},set:function(e){n=e}});var r=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return r},set:function(e){r=e}});var o=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return o},set:function(e){o=e}});var i=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return i},set:function(e){i=e}});var a=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return a},set:function(e){a=e}}),this};a.prototype.clone=function(){return new a(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},a.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},e.setHeaderFunction=function(e){return o.call(this),this.internal.__cell__.headerFunction="function"==typeof e?e:void 0,this},e.getTextDimensions=function(e,t){o.call(this);var n=(t=t||{}).fontSize||this.getFontSize(),r=t.font||this.getFont(),i=t.scaleFactor||this.internal.scaleFactor,a=0,s=0,l=0,c=this;if(!Array.isArray(e)&&"string"!=typeof e){if("number"!=typeof e)throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");e=String(e)}var u=t.maxWidth;u>0?"string"==typeof e?e=this.splitTextToSize(e,u):"[object Array]"===Object.prototype.toString.call(e)&&(e=e.reduce((function(e,t){return e.concat(c.splitTextToSize(t,u))}),[])):e=Array.isArray(e)?e:[e];for(var d=0;d<e.length;d++)a<(l=this.getStringUnitWidth(e[d],{font:r})*n)&&(a=l);return 0!==a&&(s=e.length),{w:a/=i,h:Math.max((s*n*this.getLineHeightFactor()-n*(this.getLineHeightFactor()-1))/i,0)}},e.cellAddPage=function(){o.call(this),this.addPage();var e=this.internal.__cell__.margins||t;return this.internal.__cell__.lastCell=new a(e.left,e.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var s=e.cell=function(){var e;e=arguments[0]instanceof a?arguments[0]:new a(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),o.call(this);var r=this.internal.__cell__.lastCell,i=this.internal.__cell__.padding,s=this.internal.__cell__.margins||t,l=this.internal.__cell__.tableHeaderRow,c=this.internal.__cell__.printHeaders;return void 0!==r.lineNumber&&(r.lineNumber===e.lineNumber?(e.x=(r.x||0)+(r.width||0),e.y=r.y||0):r.y+r.height+e.height+s.bottom>this.getPageHeight()?(this.cellAddPage(),e.y=s.top,c&&l&&(this.printHeaderRow(e.lineNumber,!0),e.y+=l[0].height)):e.y=r.y+r.height||e.y),void 0!==e.text[0]&&(this.rect(e.x,e.y,e.width,e.height,!0===n?"FD":void 0),"right"===e.align?this.text(e.text,e.x+e.width-i,e.y+i,{align:"right",baseline:"top"}):"center"===e.align?this.text(e.text,e.x+e.width/2,e.y+i,{align:"center",baseline:"top",maxWidth:e.width-i-i}):this.text(e.text,e.x+i,e.y+i,{align:"left",baseline:"top",maxWidth:e.width-i-i})),this.internal.__cell__.lastCell=e,this};e.table=function(e,n,c,u,d){if(o.call(this),!c)throw new Error("No data for PDF table.");var p,f,h,b,A=[],m=[],g=[],v={},y={},M=[],O=[],_=(d=d||{}).autoSize||!1,z=!1!==d.printHeaders,x=d.css&&void 0!==d.css["font-size"]?16*d.css["font-size"]:d.fontSize||12,w=d.margins||Object.assign({width:this.getPageWidth()},t),C="number"==typeof d.padding?d.padding:3,S=d.headerBackgroundColor||"#c8c8c8",E=d.headerTextColor||"#000";if(i.call(this),this.internal.__cell__.printHeaders=z,this.internal.__cell__.margins=w,this.internal.__cell__.table_font_size=x,this.internal.__cell__.padding=C,this.internal.__cell__.headerBackgroundColor=S,this.internal.__cell__.headerTextColor=E,this.setFontSize(x),null==u)m=A=Object.keys(c[0]),g=A.map((function(){return"left"}));else if(Array.isArray(u)&&"object"===(0,r.Z)(u[0]))for(A=u.map((function(e){return e.name})),m=u.map((function(e){return e.prompt||e.name||""})),g=u.map((function(e){return e.align||"left"})),p=0;p<u.length;p+=1)y[u[p].name]=u[p].width*(19.049976/25.4);else Array.isArray(u)&&"string"==typeof u[0]&&(m=A=u,g=A.map((function(){return"left"})));if(_||Array.isArray(u)&&"string"==typeof u[0])for(p=0;p<A.length;p+=1){for(v[b=A[p]]=c.map((function(e){return e[b]})),this.setFont(void 0,"bold"),M.push(this.getTextDimensions(m[p],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),f=v[b],this.setFont(void 0,"normal"),h=0;h<f.length;h+=1)M.push(this.getTextDimensions(f[h],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);y[b]=Math.max.apply(null,M)+C+C,M=[]}if(z){var k={};for(p=0;p<A.length;p+=1)k[A[p]]={},k[A[p]].text=m[p],k[A[p]].align=g[p];var D=l.call(this,k,y);O=A.map((function(t){return new a(e,n,y[t],D,k[t].text,void 0,k[t].align)})),this.setTableHeaderRow(O),this.printHeaderRow(1,!1)}var N=u.reduce((function(e,t){return e[t.name]=t.align,e}),{});for(p=0;p<c.length;p+=1){"rowStart"in d&&d.rowStart instanceof Function&&d.rowStart({row:p,data:c[p]},this);var T=l.call(this,c[p],y);for(h=0;h<A.length;h+=1){var j=c[p][A[h]];"cellStart"in d&&d.cellStart instanceof Function&&d.cellStart({row:p,col:h,data:j},this),s.call(this,new a(e,n,y[A[h]],T,j,p+2,N[A[h]]))}}return this.internal.__cell__.table_x=e,this.internal.__cell__.table_y=n,this};var l=function(e,t){var n=this.internal.__cell__.padding,r=this.internal.__cell__.table_font_size,o=this.internal.scaleFactor;return Object.keys(e).map((function(r){var o=e[r];return this.splitTextToSize(o.hasOwnProperty("text")?o.text:o,t[r]-n-n)}),this).map((function(e){return this.getLineHeightFactor()*e.length*r/o+n+n}),this).reduce((function(e,t){return Math.max(e,t)}),0)};e.setTableHeaderRow=function(e){o.call(this),this.internal.__cell__.tableHeaderRow=e},e.printHeaderRow=function(e,t){if(o.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var r;if(n=!0,"function"==typeof this.internal.__cell__.headerFunction){var i=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new a(i[0],i[1],i[2],i[3],void 0,-1)}this.setFont(void 0,"bold");for(var l=[],c=0;c<this.internal.__cell__.tableHeaderRow.length;c+=1){r=this.internal.__cell__.tableHeaderRow[c].clone(),t&&(r.y=this.internal.__cell__.margins.top||0,l.push(r)),r.lineNumber=e;var u=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),s.call(this,r),this.setTextColor(u)}l.length>0&&this.setTableHeaderRow(l),this.setFont(void 0,"normal"),n=!1}}(ke.API);var yt={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Mt=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Ot=vt(Mt),_t=[100,200,300,400,500,600,700,800,900],zt=vt(_t);function xt(e){var t=e.family.replace(/"|'/g,"").toLowerCase(),n=function(e){return yt[e=e||"normal"]?e:"normal"}(e.style),r=function(e){return e?"number"==typeof e?e>=100&&e<=900&&e%100==0?e:400:/^\d00$/.test(e)?parseInt(e):"bold"===e?700:400:400}(e.weight),o=function(e){return"number"==typeof Ot[e=e||"normal"]?e:"normal"}(e.stretch);return{family:t,style:n,weight:r,stretch:o,src:e.src||[],ref:e.ref||{name:t,style:[o,n,r].join(" ")}}}function wt(e,t,n,r){var o;for(o=n;o>=0&&o<t.length;o+=r)if(e[t[o]])return e[t[o]];for(o=n;o>=0&&o<t.length;o-=r)if(e[t[o]])return e[t[o]]}var Ct={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},St={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function Et(e){return[e.stretch,e.style,e.weight,e.family].join(" ")}function kt(e){return e.trimLeft()}function Dt(e,t){for(var n=0;n<e.length;){if(e.charAt(n)===t)return[e.substring(0,n),e.substring(n+1)];n+=1}return null}function Nt(e){var t=e.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return null===t?null:[t[0],e.substring(t[0].length)]}var Tt,jt,Bt,Lt,Rt=["times"];!function(e){var t,n,o,i,a,s,l,c,u,d=function(e){return e=e||{},this.isStrokeTransparent=e.isStrokeTransparent||!1,this.strokeOpacity=e.strokeOpacity||1,this.strokeStyle=e.strokeStyle||"#000000",this.fillStyle=e.fillStyle||"#000000",this.isFillTransparent=e.isFillTransparent||!1,this.fillOpacity=e.fillOpacity||1,this.font=e.font||"10px sans-serif",this.textBaseline=e.textBaseline||"alphabetic",this.textAlign=e.textAlign||"left",this.lineWidth=e.lineWidth||1,this.lineJoin=e.lineJoin||"miter",this.lineCap=e.lineCap||"butt",this.path=e.path||[],this.transform=void 0!==e.transform?e.transform.clone():new c,this.globalCompositeOperation=e.globalCompositeOperation||"normal",this.globalAlpha=e.globalAlpha||1,this.clip_path=e.clip_path||[],this.currentPoint=e.currentPoint||new s,this.miterLimit=e.miterLimit||10,this.lastPoint=e.lastPoint||new s,this.lineDashOffset=e.lineDashOffset||0,this.lineDash=e.lineDash||[],this.margin=e.margin||[0,0,0,0],this.prevPageLastElemOffset=e.prevPageLastElemOffset||0,this.ignoreClearRect="boolean"!=typeof e.ignoreClearRect||e.ignoreClearRect,this};e.events.push(["initialized",function(){this.context2d=new p(this),t=this.internal.f2,n=this.internal.getCoordinateString,o=this.internal.getVerticalCoordinateString,i=this.internal.getHorizontalCoordinate,a=this.internal.getVerticalCoordinate,s=this.internal.Point,l=this.internal.Rectangle,c=this.internal.Matrix,u=new d}]);var p=function(e){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var t=e;Object.defineProperty(this,"pdf",{get:function(){return t}});var n=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return n},set:function(e){n=Boolean(e)}});var r=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return r},set:function(e){r=Boolean(e)}});var o=0;Object.defineProperty(this,"posX",{get:function(){return o},set:function(e){isNaN(e)||(o=e)}});var i=0;Object.defineProperty(this,"posY",{get:function(){return i},set:function(e){isNaN(e)||(i=e)}}),Object.defineProperty(this,"margin",{get:function(){return u.margin},set:function(e){var t;"number"==typeof e?t=[e,e,e,e]:((t=new Array(4))[0]=e[0],t[1]=e.length>=2?e[1]:t[0],t[2]=e.length>=3?e[2]:t[0],t[3]=e.length>=4?e[3]:t[1]),u.margin=t}});var a=!1;Object.defineProperty(this,"autoPaging",{get:function(){return a},set:function(e){a=e}});var s=0;Object.defineProperty(this,"lastBreak",{get:function(){return s},set:function(e){s=e}});var l=[];Object.defineProperty(this,"pageBreaks",{get:function(){return l},set:function(e){l=e}}),Object.defineProperty(this,"ctx",{get:function(){return u},set:function(e){e instanceof d&&(u=e)}}),Object.defineProperty(this,"path",{get:function(){return u.path},set:function(e){u.path=e}});var c=[];Object.defineProperty(this,"ctxStack",{get:function(){return c},set:function(e){c=e}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(e){var t;t=f(e),this.ctx.fillStyle=t.style,this.ctx.isFillTransparent=0===t.a,this.ctx.fillOpacity=t.a,this.pdf.setFillColor(t.r,t.g,t.b,{a:t.a}),this.pdf.setTextColor(t.r,t.g,t.b,{a:t.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(e){var t=f(e);this.ctx.strokeStyle=t.style,this.ctx.isStrokeTransparent=0===t.a,this.ctx.strokeOpacity=t.a,0===t.a?this.pdf.setDrawColor(255,255,255):(t.a,this.pdf.setDrawColor(t.r,t.g,t.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(e){-1!==["butt","round","square"].indexOf(e)&&(this.ctx.lineCap=e,this.pdf.setLineCap(e))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(e){isNaN(e)||(this.ctx.lineWidth=e,this.pdf.setLineWidth(e))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(e){-1!==["bevel","round","miter"].indexOf(e)&&(this.ctx.lineJoin=e,this.pdf.setLineJoin(e))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(e){isNaN(e)||(this.ctx.miterLimit=e,this.pdf.setMiterLimit(e))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(e){this.ctx.textBaseline=e}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(e){-1!==["right","end","center","left","start"].indexOf(e)&&(this.ctx.textAlign=e)}});var p=null;function h(e,t){if(null===p){var n=function(e){var t=[];return Object.keys(e).forEach((function(n){e[n].forEach((function(e){var r=null;switch(e){case"bold":r={family:n,weight:"bold"};break;case"italic":r={family:n,style:"italic"};break;case"bolditalic":r={family:n,weight:"bold",style:"italic"};break;case"":case"normal":r={family:n}}null!==r&&(r.ref={name:n,style:e},t.push(r))}))})),t}(e.getFontList());p=function(e){for(var t={},n=0;n<e.length;++n){var r=xt(e[n]),o=r.family,i=r.stretch,a=r.style,s=r.weight;t[o]=t[o]||{},t[o][i]=t[o][i]||{},t[o][i][a]=t[o][i][a]||{},t[o][i][a][s]=r}return t}(n.concat(t))}return p}var b=null;Object.defineProperty(this,"fontFaces",{get:function(){return b},set:function(e){p=null,b=e}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(e){var t;if(this.ctx.font=e,null!==(t=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z]+?)\s*$/i.exec(e))){var n=t[1],r=(t[2],t[3]),o=t[4],i=(t[5],t[6]),a=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(o)[2];o="px"===a?Math.floor(parseFloat(o)*this.pdf.internal.scaleFactor):"em"===a?Math.floor(parseFloat(o)*this.pdf.getFontSize()):Math.floor(parseFloat(o)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(o);var s=function(e){var t,n,r=[],o=e.trim();if(""===o)return Rt;if(o in St)return[St[o]];for(;""!==o;){switch(n=null,t=(o=kt(o)).charAt(0)){case'"':case"'":n=Dt(o.substring(1),t);break;default:n=Nt(o)}if(null===n)return Rt;if(r.push(n[0]),""!==(o=kt(n[1]))&&","!==o.charAt(0))return Rt;o=o.replace(/^,/,"")}return r}(i);if(this.fontFaces){var l=function(e,t,n){for(var r=(n=n||{}).defaultFontFamily||"times",o=Object.assign({},Ct,n.genericFontFamilies||{}),i=null,a=null,s=0;s<t.length;++s)if(o[(i=xt(t[s])).family]&&(i.family=o[i.family]),e.hasOwnProperty(i.family)){a=e[i.family];break}if(!(a=a||e[r]))throw new Error("Could not find a font-family for the rule '"+Et(i)+"' and default family '"+r+"'.");if(a=function(e,t){if(t[e])return t[e];var n=Ot[e],r=n<=Ot.normal?-1:1,o=wt(t,Mt,n,r);if(!o)throw new Error("Could not find a matching font-stretch value for "+e);return o}(i.stretch,a),a=function(e,t){if(t[e])return t[e];for(var n=yt[e],r=0;r<n.length;++r)if(t[n[r]])return t[n[r]];throw new Error("Could not find a matching font-style for "+e)}(i.style,a),!(a=function(e,t){if(t[e])return t[e];if(400===e&&t[500])return t[500];if(500===e&&t[400])return t[400];var n=zt[e],r=wt(t,_t,n,e<400?-1:1);if(!r)throw new Error("Could not find a matching font-weight for value "+e);return r}(i.weight,a)))throw new Error("Failed to resolve a font for the rule '"+Et(i)+"'.");return a}(h(this.pdf,this.fontFaces),s.map((function(e){return{family:e,stretch:"normal",weight:r,style:n}})));this.pdf.setFont(l.ref.name,l.ref.style)}else{var c="";("bold"===r||parseInt(r,10)>=700||"bold"===n)&&(c="bold"),"italic"===n&&(c+="italic"),0===c.length&&(c="normal");for(var u="",d={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},p=0;p<s.length;p++){if(void 0!==this.pdf.internal.getFont(s[p],c,{noFallback:!0,disableWarning:!0})){u=s[p];break}if("bolditalic"===c&&void 0!==this.pdf.internal.getFont(s[p],"bold",{noFallback:!0,disableWarning:!0}))u=s[p],c="bold";else if(void 0!==this.pdf.internal.getFont(s[p],"normal",{noFallback:!0,disableWarning:!0})){u=s[p],c="normal";break}}if(""===u)for(var f=0;f<s.length;f++)if(d[s[f]]){u=d[s[f]];break}u=""===u?"Times":u,this.pdf.setFont(u,c)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(e){this.ctx.globalCompositeOperation=e}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(e){this.ctx.globalAlpha=e}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(e){this.ctx.lineDashOffset=e,q.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(e){this.ctx.lineDash=e,q.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(e){this.ctx.ignoreClearRect=Boolean(e)}})};p.prototype.setLineDash=function(e){this.lineDash=e},p.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},p.prototype.fill=function(){M.call(this,"fill",!1)},p.prototype.stroke=function(){M.call(this,"stroke",!1)},p.prototype.beginPath=function(){this.path=[{type:"begin"}]},p.prototype.moveTo=function(e,t){if(isNaN(e)||isNaN(t))throw J.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var n=this.ctx.transform.applyToPoint(new s(e,t));this.path.push({type:"mt",x:n.x,y:n.y}),this.ctx.lastPoint=new s(e,t)},p.prototype.closePath=function(){var e=new s(0,0),t=0;for(t=this.path.length-1;-1!==t;t--)if("begin"===this.path[t].type&&"object"===(0,r.Z)(this.path[t+1])&&"number"==typeof this.path[t+1].x){e=new s(this.path[t+1].x,this.path[t+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new s(e.x,e.y)},p.prototype.lineTo=function(e,t){if(isNaN(e)||isNaN(t))throw J.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var n=this.ctx.transform.applyToPoint(new s(e,t));this.path.push({type:"lt",x:n.x,y:n.y}),this.ctx.lastPoint=new s(n.x,n.y)},p.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),M.call(this,null,!0)},p.prototype.quadraticCurveTo=function(e,t,n,r){if(isNaN(n)||isNaN(r)||isNaN(e)||isNaN(t))throw J.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var o=this.ctx.transform.applyToPoint(new s(n,r)),i=this.ctx.transform.applyToPoint(new s(e,t));this.path.push({type:"qct",x1:i.x,y1:i.y,x:o.x,y:o.y}),this.ctx.lastPoint=new s(o.x,o.y)},p.prototype.bezierCurveTo=function(e,t,n,r,o,i){if(isNaN(o)||isNaN(i)||isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw J.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var a=this.ctx.transform.applyToPoint(new s(o,i)),l=this.ctx.transform.applyToPoint(new s(e,t)),c=this.ctx.transform.applyToPoint(new s(n,r));this.path.push({type:"bct",x1:l.x,y1:l.y,x2:c.x,y2:c.y,x:a.x,y:a.y}),this.ctx.lastPoint=new s(a.x,a.y)},p.prototype.arc=function(e,t,n,r,o,i){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(o))throw J.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(i=Boolean(i),!this.ctx.transform.isIdentity){var a=this.ctx.transform.applyToPoint(new s(e,t));e=a.x,t=a.y;var l=this.ctx.transform.applyToPoint(new s(0,n)),c=this.ctx.transform.applyToPoint(new s(0,0));n=Math.sqrt(Math.pow(l.x-c.x,2)+Math.pow(l.y-c.y,2))}Math.abs(o-r)>=2*Math.PI&&(r=0,o=2*Math.PI),this.path.push({type:"arc",x:e,y:t,radius:n,startAngle:r,endAngle:o,counterclockwise:i})},p.prototype.arcTo=function(e,t,n,r,o){throw new Error("arcTo not implemented.")},p.prototype.rect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw J.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(e,t),this.lineTo(e+n,t),this.lineTo(e+n,t+r),this.lineTo(e,t+r),this.lineTo(e,t),this.lineTo(e+n,t),this.lineTo(e,t)},p.prototype.fillRect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw J.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!h.call(this)){var o={};"butt"!==this.lineCap&&(o.lineCap=this.lineCap,this.lineCap="butt"),"miter"!==this.lineJoin&&(o.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(e,t,n,r),this.fill(),o.hasOwnProperty("lineCap")&&(this.lineCap=o.lineCap),o.hasOwnProperty("lineJoin")&&(this.lineJoin=o.lineJoin)}},p.prototype.strokeRect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw J.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");b.call(this)||(this.beginPath(),this.rect(e,t,n,r),this.stroke())},p.prototype.clearRect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw J.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(e,t,n,r))},p.prototype.save=function(e){e="boolean"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,n=0;n<this.pdf.internal.getNumberOfPages();n++)this.pdf.setPage(n+1),this.pdf.internal.out("q");if(this.pdf.setPage(t),e){this.ctx.fontSize=this.pdf.internal.getFontSize();var r=new d(this.ctx);this.ctxStack.push(this.ctx),this.ctx=r}},p.prototype.restore=function(e){e="boolean"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,n=0;n<this.pdf.internal.getNumberOfPages();n++)this.pdf.setPage(n+1),this.pdf.internal.out("Q");this.pdf.setPage(t),e&&0!==this.ctxStack.length&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},p.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var f=function(e){var t,n,r,o;if(!0===e.isCanvasGradient&&(e=e.getColor()),!e)return{r:0,g:0,b:0,a:0,style:e};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(e))t=0,n=0,r=0,o=0;else{var i=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(e);if(null!==i)t=parseInt(i[1]),n=parseInt(i[2]),r=parseInt(i[3]),o=1;else if(null!==(i=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(e)))t=parseInt(i[1]),n=parseInt(i[2]),r=parseInt(i[3]),o=parseFloat(i[4]);else{if(o=1,"string"==typeof e&&"#"!==e.charAt(0)){var a=new ae(e);e=a.ok?a.toHex():"#000000"}4===e.length?(t=e.substring(1,2),t+=t,n=e.substring(2,3),n+=n,r=e.substring(3,4),r+=r):(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7)),t=parseInt(t,16),n=parseInt(n,16),r=parseInt(r,16)}}return{r:t,g:n,b:r,a:o,style:e}},h=function(){return this.ctx.isFillTransparent||0==this.globalAlpha},b=function(){return Boolean(this.ctx.isStrokeTransparent||0==this.globalAlpha)};p.prototype.fillText=function(e,t,n,r){if(isNaN(t)||isNaN(n)||"string"!=typeof e)throw J.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(r=isNaN(r)?void 0:r,!h.call(this)){var o=B(this.ctx.transform.rotation),i=this.ctx.transform.scaleX;E.call(this,{text:e,x:t,y:n,scale:i,angle:o,align:this.textAlign,maxWidth:r})}},p.prototype.strokeText=function(e,t,n,r){if(isNaN(t)||isNaN(n)||"string"!=typeof e)throw J.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!b.call(this)){r=isNaN(r)?void 0:r;var o=B(this.ctx.transform.rotation),i=this.ctx.transform.scaleX;E.call(this,{text:e,x:t,y:n,scale:i,renderingMode:"stroke",angle:o,align:this.textAlign,maxWidth:r})}},p.prototype.measureText=function(e){if("string"!=typeof e)throw J.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var t=this.pdf,n=this.pdf.internal.scaleFactor,r=t.internal.getFontSize(),o=t.getStringUnitWidth(e)*r/t.internal.scaleFactor;return new function(e){var t=(e=e||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return t}}),this}({width:o*=Math.round(96*n/72*1e4)/1e4})},p.prototype.scale=function(e,t){if(isNaN(e)||isNaN(t))throw J.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var n=new c(e,0,0,t,0,0);this.ctx.transform=this.ctx.transform.multiply(n)},p.prototype.rotate=function(e){if(isNaN(e))throw J.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var t=new c(Math.cos(e),Math.sin(e),-Math.sin(e),Math.cos(e),0,0);this.ctx.transform=this.ctx.transform.multiply(t)},p.prototype.translate=function(e,t){if(isNaN(e)||isNaN(t))throw J.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var n=new c(1,0,0,1,e,t);this.ctx.transform=this.ctx.transform.multiply(n)},p.prototype.transform=function(e,t,n,r,o,i){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(o)||isNaN(i))throw J.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var a=new c(e,t,n,r,o,i);this.ctx.transform=this.ctx.transform.multiply(a)},p.prototype.setTransform=function(e,t,n,r,o,i){e=isNaN(e)?1:e,t=isNaN(t)?0:t,n=isNaN(n)?0:n,r=isNaN(r)?1:r,o=isNaN(o)?0:o,i=isNaN(i)?0:i,this.ctx.transform=new c(e,t,n,r,o,i)};var A=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};p.prototype.drawImage=function(e,t,n,r,o,i,a,s,u){var d=this.pdf.getImageProperties(e),p=1,f=1,h=1,b=1;void 0!==r&&void 0!==s&&(h=s/r,b=u/o,p=d.width/r*s/r,f=d.height/o*u/o),void 0===i&&(i=t,a=n,t=0,n=0),void 0!==r&&void 0===s&&(s=r,u=o),void 0===r&&void 0===s&&(s=d.width,u=d.height);for(var g,M=this.ctx.transform.decompose(),_=B(M.rotate.shx),z=new c,x=(z=(z=(z=z.multiply(M.translate)).multiply(M.skew)).multiply(M.scale)).applyToRectangle(new l(i-t*h,a-n*b,r*p,o*f)),w=m.call(this,x),C=[],S=0;S<w.length;S+=1)-1===C.indexOf(w[S])&&C.push(w[S]);if(y(C),this.autoPaging)for(var E=C[0],k=C[C.length-1],D=E;D<k+1;D++){this.pdf.setPage(D);var N=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],T=1===D?this.posY+this.margin[0]:this.margin[0],j=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],L=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],R=1===D?0:j+(D-2)*L;if(0!==this.ctx.clip_path.length){var q=this.path;g=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=v(g,this.posX+this.margin[3],-R+T+this.ctx.prevPageLastElemOffset),O.call(this,"fill",!0),this.path=q}var P=JSON.parse(JSON.stringify(x));P=v([P],this.posX+this.margin[3],-R+T+this.ctx.prevPageLastElemOffset)[0];var I=(D>E||D<k)&&A.call(this);I&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],N,L,null).clip().discardPath()),this.pdf.addImage(e,"JPEG",P.x,P.y,P.w,P.h,null,null,_),I&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(e,"JPEG",x.x,x.y,x.w,x.h,null,null,_)};var m=function(e,t,n){var r=[];t=t||this.pdf.internal.pageSize.width,n=n||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var o=this.posY+this.ctx.prevPageLastElemOffset;switch(e.type){default:case"mt":case"lt":r.push(Math.floor((e.y+o)/n)+1);break;case"arc":r.push(Math.floor((e.y+o-e.radius)/n)+1),r.push(Math.floor((e.y+o+e.radius)/n)+1);break;case"qct":var i=L(this.ctx.lastPoint.x,this.ctx.lastPoint.y,e.x1,e.y1,e.x,e.y);r.push(Math.floor((i.y+o)/n)+1),r.push(Math.floor((i.y+i.h+o)/n)+1);break;case"bct":var a=R(this.ctx.lastPoint.x,this.ctx.lastPoint.y,e.x1,e.y1,e.x2,e.y2,e.x,e.y);r.push(Math.floor((a.y+o)/n)+1),r.push(Math.floor((a.y+a.h+o)/n)+1);break;case"rect":r.push(Math.floor((e.y+o)/n)+1),r.push(Math.floor((e.y+e.h+o)/n)+1)}for(var s=0;s<r.length;s+=1)for(;this.pdf.internal.getNumberOfPages()<r[s];)g.call(this);return r},g=function(){var e=this.fillStyle,t=this.strokeStyle,n=this.font,r=this.lineCap,o=this.lineWidth,i=this.lineJoin;this.pdf.addPage(),this.fillStyle=e,this.strokeStyle=t,this.font=n,this.lineCap=r,this.lineWidth=o,this.lineJoin=i},v=function(e,t,n){for(var r=0;r<e.length;r++)switch(e[r].type){case"bct":e[r].x2+=t,e[r].y2+=n;case"qct":e[r].x1+=t,e[r].y1+=n;default:e[r].x+=t,e[r].y+=n}return e},y=function(e){return e.sort((function(e,t){return e-t}))},M=function(e,t){for(var n,r,o=this.fillStyle,i=this.strokeStyle,a=this.lineCap,s=this.lineWidth,l=Math.abs(s*this.ctx.transform.scaleX),c=this.lineJoin,u=JSON.parse(JSON.stringify(this.path)),d=JSON.parse(JSON.stringify(this.path)),p=[],f=0;f<d.length;f++)if(void 0!==d[f].x)for(var h=m.call(this,d[f]),b=0;b<h.length;b+=1)-1===p.indexOf(h[b])&&p.push(h[b]);for(var M=0;M<p.length;M++)for(;this.pdf.internal.getNumberOfPages()<p[M];)g.call(this);if(y(p),this.autoPaging)for(var _=p[0],z=p[p.length-1],x=_;x<z+1;x++){this.pdf.setPage(x),this.fillStyle=o,this.strokeStyle=i,this.lineCap=a,this.lineWidth=l,this.lineJoin=c;var w=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],C=1===x?this.posY+this.margin[0]:this.margin[0],S=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],E=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],k=1===x?0:S+(x-2)*E;if(0!==this.ctx.clip_path.length){var D=this.path;n=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=v(n,this.posX+this.margin[3],-k+C+this.ctx.prevPageLastElemOffset),O.call(this,e,!0),this.path=D}if(r=JSON.parse(JSON.stringify(u)),this.path=v(r,this.posX+this.margin[3],-k+C+this.ctx.prevPageLastElemOffset),!1===t||0===x){var N=(x>_||x<z)&&A.call(this);N&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],w,E,null).clip().discardPath()),O.call(this,e,t),N&&this.pdf.restoreGraphicsState()}this.lineWidth=s}else this.lineWidth=l,O.call(this,e,t),this.lineWidth=s;this.path=u},O=function(e,t){if(("stroke"!==e||t||!b.call(this))&&("stroke"===e||t||!h.call(this))){for(var n,r,o=[],i=this.path,a=0;a<i.length;a++){var s=i[a];switch(s.type){case"begin":o.push({begin:!0});break;case"close":o.push({close:!0});break;case"mt":o.push({start:s,deltas:[],abs:[]});break;case"lt":var l=o.length;if(i[a-1]&&!isNaN(i[a-1].x)&&(n=[s.x-i[a-1].x,s.y-i[a-1].y],l>0))for(;l>=0;l--)if(!0!==o[l-1].close&&!0!==o[l-1].begin){o[l-1].deltas.push(n),o[l-1].abs.push(s);break}break;case"bct":n=[s.x1-i[a-1].x,s.y1-i[a-1].y,s.x2-i[a-1].x,s.y2-i[a-1].y,s.x-i[a-1].x,s.y-i[a-1].y],o[o.length-1].deltas.push(n);break;case"qct":var c=i[a-1].x+2/3*(s.x1-i[a-1].x),u=i[a-1].y+2/3*(s.y1-i[a-1].y),d=s.x+2/3*(s.x1-s.x),p=s.y+2/3*(s.y1-s.y),f=s.x,A=s.y;n=[c-i[a-1].x,u-i[a-1].y,d-i[a-1].x,p-i[a-1].y,f-i[a-1].x,A-i[a-1].y],o[o.length-1].deltas.push(n);break;case"arc":o.push({deltas:[],abs:[],arc:!0}),Array.isArray(o[o.length-1].abs)&&o[o.length-1].abs.push(s)}}r=t?null:"stroke"===e?"stroke":"fill";for(var m=!1,g=0;g<o.length;g++)if(o[g].arc)for(var v=o[g].abs,y=0;y<v.length;y++){var M=v[y];"arc"===M.type?x.call(this,M.x,M.y,M.radius,M.startAngle,M.endAngle,M.counterclockwise,void 0,t,!m):k.call(this,M.x,M.y),m=!0}else if(!0===o[g].close)this.pdf.internal.out("h"),m=!1;else if(!0!==o[g].begin){var O=o[g].start.x,_=o[g].start.y;D.call(this,o[g].deltas,O,_),m=!0}r&&w.call(this,r),t&&C.call(this)}},_=function(e){var t=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,n=t*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return e-n;case"top":return e+t-n;case"hanging":return e+t-2*n;case"middle":return e+t/2-n;default:return e}},z=function(e){return e+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};p.prototype.createLinearGradient=function(){var e=function(){};return e.colorStops=[],e.addColorStop=function(e,t){this.colorStops.push([e,t])},e.getColor=function(){return 0===this.colorStops.length?"#000000":this.colorStops[0][1]},e.isCanvasGradient=!0,e},p.prototype.createPattern=function(){return this.createLinearGradient()},p.prototype.createRadialGradient=function(){return this.createLinearGradient()};var x=function(e,t,n,r,o,i,a,s,l){for(var c=T.call(this,n,r,o,i),u=0;u<c.length;u++){var d=c[u];0===u&&(l?S.call(this,d.x1+e,d.y1+t):k.call(this,d.x1+e,d.y1+t)),N.call(this,e,t,d.x2,d.y2,d.x3,d.y3,d.x4,d.y4)}s?C.call(this):w.call(this,a)},w=function(e){switch(e){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},C=function(){this.pdf.clip(),this.pdf.discardPath()},S=function(e,t){this.pdf.internal.out(n(e)+" "+o(t)+" m")},E=function(e){var t;switch(e.align){case"right":case"end":t="right";break;case"center":t="center";break;default:t="left"}var n=this.pdf.getTextDimensions(e.text),r=_.call(this,e.y),o=z.call(this,r)-n.h,i=this.ctx.transform.applyToPoint(new s(e.x,r)),a=this.ctx.transform.decompose(),u=new c;u=(u=(u=u.multiply(a.translate)).multiply(a.skew)).multiply(a.scale);for(var d,p,f,h=this.ctx.transform.applyToRectangle(new l(e.x,r,n.w,n.h)),b=u.applyToRectangle(new l(e.x,o,n.w,n.h)),g=m.call(this,b),M=[],x=0;x<g.length;x+=1)-1===M.indexOf(g[x])&&M.push(g[x]);if(y(M),this.autoPaging)for(var w=M[0],C=M[M.length-1],S=w;S<C+1;S++){this.pdf.setPage(S);var E=1===S?this.posY+this.margin[0]:this.margin[0],k=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],D=this.pdf.internal.pageSize.height-this.margin[2],N=D-this.margin[0],T=this.pdf.internal.pageSize.width-this.margin[1],j=T-this.margin[3],B=1===S?0:k+(S-2)*N;if(0!==this.ctx.clip_path.length){var L=this.path;d=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=v(d,this.posX+this.margin[3],-1*B+E),O.call(this,"fill",!0),this.path=L}var R=v([JSON.parse(JSON.stringify(b))],this.posX+this.margin[3],-B+E+this.ctx.prevPageLastElemOffset)[0];e.scale>=.01&&(p=this.pdf.internal.getFontSize(),this.pdf.setFontSize(p*e.scale),f=this.lineWidth,this.lineWidth=f*e.scale);var q="text"!==this.autoPaging;if(q||R.y+R.h<=D){if(q||R.y>=E&&R.x<=T){var P=q?e.text:this.pdf.splitTextToSize(e.text,e.maxWidth||T-R.x)[0],I=v([JSON.parse(JSON.stringify(h))],this.posX+this.margin[3],-B+E+this.ctx.prevPageLastElemOffset)[0],W=q&&(S>w||S<C)&&A.call(this);W&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],j,N,null).clip().discardPath()),this.pdf.text(P,I.x,I.y,{angle:e.angle,align:t,renderingMode:e.renderingMode}),W&&this.pdf.restoreGraphicsState()}}else R.y<D&&(this.ctx.prevPageLastElemOffset+=D-R.y);e.scale>=.01&&(this.pdf.setFontSize(p),this.lineWidth=f)}else e.scale>=.01&&(p=this.pdf.internal.getFontSize(),this.pdf.setFontSize(p*e.scale),f=this.lineWidth,this.lineWidth=f*e.scale),this.pdf.text(e.text,i.x+this.posX,i.y+this.posY,{angle:e.angle,align:t,renderingMode:e.renderingMode,maxWidth:e.maxWidth}),e.scale>=.01&&(this.pdf.setFontSize(p),this.lineWidth=f)},k=function(e,t,r,i){r=r||0,i=i||0,this.pdf.internal.out(n(e+r)+" "+o(t+i)+" l")},D=function(e,t,n){return this.pdf.lines(e,t,n,null,null)},N=function(e,n,r,o,s,l,c,u){this.pdf.internal.out([t(i(r+e)),t(a(o+n)),t(i(s+e)),t(a(l+n)),t(i(c+e)),t(a(u+n)),"c"].join(" "))},T=function(e,t,n,r){for(var o=2*Math.PI,i=Math.PI/2;t>n;)t-=o;var a=Math.abs(n-t);a<o&&r&&(a=o-a);for(var s=[],l=r?-1:1,c=t;a>1e-5;){var u=c+l*Math.min(a,i);s.push(j.call(this,e,c,u)),a-=Math.abs(u-c),c=u}return s},j=function(e,t,n){var r=(n-t)/2,o=e*Math.cos(r),i=e*Math.sin(r),a=o,s=-i,l=a*a+s*s,c=l+a*o+s*i,u=4/3*(Math.sqrt(2*l*c)-c)/(a*i-s*o),d=a-u*s,p=s+u*a,f=d,h=-p,b=r+t,A=Math.cos(b),m=Math.sin(b);return{x1:e*Math.cos(t),y1:e*Math.sin(t),x2:d*A-p*m,y2:d*m+p*A,x3:f*A-h*m,y3:f*m+h*A,x4:e*Math.cos(n),y4:e*Math.sin(n)}},B=function(e){return 180*e/Math.PI},L=function(e,t,n,r,o,i){var a=e+.5*(n-e),s=t+.5*(r-t),c=o+.5*(n-o),u=i+.5*(r-i),d=Math.min(e,o,a,c),p=Math.max(e,o,a,c),f=Math.min(t,i,s,u),h=Math.max(t,i,s,u);return new l(d,f,p-d,h-f)},R=function(e,t,n,r,o,i,a,s){var c,u,d,p,f,h,b,A,m,g,v,y,M,O,_=n-e,z=r-t,x=o-n,w=i-r,C=a-o,S=s-i;for(u=0;u<41;u++)m=(b=(d=e+(c=u/40)*_)+c*((f=n+c*x)-d))+c*(f+c*(o+c*C-f)-b),g=(A=(p=t+c*z)+c*((h=r+c*w)-p))+c*(h+c*(i+c*S-h)-A),0==u?(v=m,y=g,M=m,O=g):(v=Math.min(v,m),y=Math.min(y,g),M=Math.max(M,m),O=Math.max(O,g));return new l(Math.round(v),Math.round(y),Math.round(M-v),Math.round(O-y))},q=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var e,t,n=(e=this.ctx.lineDash,t=this.ctx.lineDashOffset,JSON.stringify({lineDash:e,lineDashOffset:t}));this.prevLineDash!==n&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=n)}}}(ke.API),function(e){var t=function(e){var t,n,r,o,i,a,s,l,c,u;for(/[^\x00-\xFF]/.test(e),n=[],r=0,o=(e+=t="\0\0\0\0".slice(e.length%4||4)).length;o>r;r+=4)0!==(i=(e.charCodeAt(r)<<24)+(e.charCodeAt(r+1)<<16)+(e.charCodeAt(r+2)<<8)+e.charCodeAt(r+3))?(a=(i=((i=((i=((i=(i-(u=i%85))/85)-(c=i%85))/85)-(l=i%85))/85)-(s=i%85))/85)%85,n.push(a+33,s+33,l+33,c+33,u+33)):n.push(122);return function(e,t){for(var n=t;n>0;n--)e.pop()}(n,t.length),String.fromCharCode.apply(String,n)+"~>"},n=function(e){var t,n,r,o,i,a=String,s="length",l=255,c="charCodeAt",u="slice",d="replace";for(e[u](-2),e=e[u](0,-2)[d](/\s/g,"")[d]("z","!!!!!"),r=[],o=0,i=(e+=t="uuuuu"[u](e[s]%5||5))[s];i>o;o+=5)n=52200625*(e[c](o)-33)+614125*(e[c](o+1)-33)+7225*(e[c](o+2)-33)+85*(e[c](o+3)-33)+(e[c](o+4)-33),r.push(l&n>>24,l&n>>16,l&n>>8,l&n);return function(e,t){for(var n=t;n>0;n--)e.pop()}(r,t[s]),a.fromCharCode.apply(a,r)},r=function(e){var t=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(e=e.replace(/\s/g,"")).indexOf(">")&&(e=e.substr(0,e.indexOf(">"))),e.length%2&&(e+="0"),!1===t.test(e))return"";for(var n="",r=0;r<e.length;r+=2)n+=String.fromCharCode("0x"+(e[r]+e[r+1]));return n},o=function(e){for(var t=new Uint8Array(e.length),n=e.length;n--;)t[n]=e.charCodeAt(n);return(t=Q(t)).reduce((function(e,t){return e+String.fromCharCode(t)}),"")};e.processDataByFilters=function(e,i){var a=0,s=e||"",l=[];for("string"==typeof(i=i||[])&&(i=[i]),a=0;a<i.length;a+=1)switch(i[a]){case"ASCII85Decode":case"/ASCII85Decode":s=n(s),l.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":s=t(s),l.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":s=r(s),l.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":s=s.split("").map((function(e){return("0"+e.charCodeAt().toString(16)).slice(-2)})).join("")+">",l.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":s=o(s),l.push("/FlateDecode");break;default:throw new Error('The filter: "'+i[a]+'" is not implemented')}return{data:s,reverseChain:l.reverse().join(" ")}}}(ke.API),(Lt=ke.API).loadFile=function(e,t,n){return function(e,t,n){t=!1!==t,n="function"==typeof n?n:function(){};var r=void 0;try{r=function(e,t,n){var r=new XMLHttpRequest,o=0,i=function(e){var t=e.length,n=[],r=String.fromCharCode;for(o=0;o<t;o+=1)n.push(r(255&e.charCodeAt(o)));return n.join("")};if(r.open("GET",e,!t),r.overrideMimeType("text/plain; charset=x-user-defined"),!1===t&&(r.onload=function(){200===r.status?n(i(this.responseText)):n(void 0)}),r.send(null),t&&200===r.status)return i(r.responseText)}(e,t,n)}catch(e){}return r}(e,t,n)},Lt.loadImageFile=Lt.loadFile,function(e){function t(){return(G.html2canvas?Promise.resolve(G.html2canvas):Promise.resolve().then(n.t.bind(n,1905,23))).catch((function(e){return Promise.reject(new Error("Could not load html2canvas: "+e))})).then((function(e){return e.default?e.default:e}))}function o(){return(G.DOMPurify?Promise.resolve(G.DOMPurify):n.e(718).then(n.t.bind(n,37718,23))).catch((function(e){return Promise.reject(new Error("Could not load dompurify: "+e))})).then((function(e){return e.default?e.default:e}))}var i=function(e){var t=(0,r.Z)(e);return"undefined"===t?"undefined":"string"===t||e instanceof String?"string":"number"===t||e instanceof Number?"number":"function"===t||e instanceof Function?"function":e&&e.constructor===Array?"array":e&&1===e.nodeType?"element":"object"===t?"object":"unknown"},a=function(e,t){var n=document.createElement(e);for(var r in t.className&&(n.className=t.className),t.innerHTML&&t.dompurify&&(n.innerHTML=t.dompurify.sanitize(t.innerHTML)),t.style)n.style[r]=t.style[r];return n},s=function e(t){var n=Object.assign(e.convert(Promise.resolve()),JSON.parse(JSON.stringify(e.template))),r=e.convert(Promise.resolve(),n);return(r=r.setProgress(1,e,1,[e])).set(t)};(s.prototype=Object.create(Promise.prototype)).constructor=s,s.convert=function(e,t){return e.__proto__=t||s.prototype,e},s.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},s.prototype.from=function(e,t){return this.then((function(){switch(t=t||function(e){switch(i(e)){case"string":return"string";case"element":return"canvas"===e.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(e)){case"string":return this.then(o).then((function(t){return this.set({src:a("div",{innerHTML:e,dompurify:t})})}));case"element":return this.set({src:e});case"canvas":return this.set({canvas:e});case"img":return this.set({img:e});default:return this.error("Unknown source type.")}}))},s.prototype.to=function(e){switch(e){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},s.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then((function(){var e={position:"relative",display:"inline-block",width:("number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},t=function e(t,n){for(var r=3===t.nodeType?document.createTextNode(t.nodeValue):t.cloneNode(!1),o=t.firstChild;o;o=o.nextSibling)!0!==n&&1===o.nodeType&&"SCRIPT"===o.nodeName||r.appendChild(e(o,n));return 1===t.nodeType&&("CANVAS"===t.nodeName?(r.width=t.width,r.height=t.height,r.getContext("2d").drawImage(t,0,0)):"TEXTAREA"!==t.nodeName&&"SELECT"!==t.nodeName||(r.value=t.value),r.addEventListener("load",(function(){r.scrollTop=t.scrollTop,r.scrollLeft=t.scrollLeft}),!0)),r}(this.prop.src,this.opt.html2canvas.javascriptEnabled);"BODY"===t.tagName&&(e.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=a("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=a("div",{className:"html2pdf__container",style:e}),this.prop.container.appendChild(t),this.prop.container.firstChild.appendChild(a("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"}))},s.prototype.toCanvas=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then(t).then((function(e){var t=Object.assign({},this.opt.html2canvas);return delete t.onrendered,e(this.prop.container,t)})).then((function(e){(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)}))},s.prototype.toContext2d=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then(t).then((function(e){var t=this.opt.jsPDF,n=this.opt.fontFaces,r="number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,o=Object.assign({async:!0,allowTaint:!0,scale:r,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete o.onrendered,t.context2d.autoPaging=void 0===this.opt.autoPaging||this.opt.autoPaging,t.context2d.posX=this.opt.x,t.context2d.posY=this.opt.y,t.context2d.margin=this.opt.margin,t.context2d.fontFaces=n,n)for(var i=0;i<n.length;++i){var a=n[i],s=a.src.find((function(e){return"truetype"===e.format}));s&&t.addFont(s.url,a.ref.name,a.ref.style)}return o.windowHeight=o.windowHeight||0,o.windowHeight=0==o.windowHeight?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):o.windowHeight,t.context2d.save(!0),e(this.prop.container,o)})).then((function(e){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)}))},s.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then((function(){var e=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=e}))},s.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then((function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF}))},s.prototype.output=function(e,t,n){return"img"===(n=n||"pdf").toLowerCase()||"image"===n.toLowerCase()?this.outputImg(e,t):this.outputPdf(e,t)},s.prototype.outputPdf=function(e,t){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){return this.prop.pdf.output(e,t)}))},s.prototype.outputImg=function(e){return this.thenList([function(){return this.prop.img||this.toImg()}]).then((function(){switch(e){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+e+'" is not supported.'}}))},s.prototype.save=function(e){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(e?{filename:e}:null).then((function(){this.prop.pdf.save(this.opt.filename)}))},s.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){this.prop.callback(this.prop.pdf)}))},s.prototype.set=function(e){if("object"!==i(e))return this;var t=Object.keys(e||{}).map((function(t){if(t in s.template.prop)return function(){this.prop[t]=e[t]};switch(t){case"margin":return this.setMargin.bind(this,e.margin);case"jsPDF":return function(){return this.opt.jsPDF=e.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,e.pageSize);default:return function(){this.opt[t]=e[t]}}}),this);return this.then((function(){return this.thenList(t)}))},s.prototype.get=function(e,t){return this.then((function(){var n=e in s.template.prop?this.prop[e]:this.opt[e];return t?t(n):n}))},s.prototype.setMargin=function(e){return this.then((function(){switch(i(e)){case"number":e=[e,e,e,e];case"array":if(2===e.length&&(e=[e[0],e[1],e[0],e[1]]),4===e.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=e})).then(this.setPageSize)},s.prototype.setPageSize=function(e){function t(e,t){return Math.floor(e*t/72*96)}return this.then((function(){(e=e||ke.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(e.inner={width:e.width-this.opt.margin[1]-this.opt.margin[3],height:e.height-this.opt.margin[0]-this.opt.margin[2]},e.inner.px={width:t(e.inner.width,e.k),height:t(e.inner.height,e.k)},e.inner.ratio=e.inner.height/e.inner.width),this.prop.pageSize=e}))},s.prototype.setProgress=function(e,t,n,r){return null!=e&&(this.progress.val=e),null!=t&&(this.progress.state=t),null!=n&&(this.progress.n=n),null!=r&&(this.progress.stack=r),this.progress.ratio=this.progress.val/this.progress.state,this},s.prototype.updateProgress=function(e,t,n,r){return this.setProgress(e?this.progress.val+e:null,t||null,n?this.progress.n+n:null,r?this.progress.stack.concat(r):null)},s.prototype.then=function(e,t){var n=this;return this.thenCore(e,t,(function(e,t){return n.updateProgress(null,null,1,[e]),Promise.prototype.then.call(this,(function(t){return n.updateProgress(null,e),t})).then(e,t).then((function(e){return n.updateProgress(1),e}))}))},s.prototype.thenCore=function(e,t,n){n=n||Promise.prototype.then,e&&(e=e.bind(this)),t&&(t=t.bind(this));var r=-1!==Promise.toString().indexOf("[native code]")&&"Promise"===Promise.name?this:s.convert(Object.assign({},this),Promise.prototype),o=n.call(r,e,t);return s.convert(o,this.__proto__)},s.prototype.thenExternal=function(e,t){return Promise.prototype.then.call(this,e,t)},s.prototype.thenList=function(e){var t=this;return e.forEach((function(e){t=t.thenCore(e)})),t},s.prototype.catch=function(e){e&&(e=e.bind(this));var t=Promise.prototype.catch.call(this,e);return s.convert(t,this)},s.prototype.catchExternal=function(e){return Promise.prototype.catch.call(this,e)},s.prototype.error=function(e){return this.then((function(){throw new Error(e)}))},s.prototype.using=s.prototype.set,s.prototype.saveAs=s.prototype.save,s.prototype.export=s.prototype.output,s.prototype.run=s.prototype.then,ke.getPageSize=function(e,t,n){if("object"===(0,r.Z)(e)){var o=e;e=o.orientation,t=o.unit||t,n=o.format||n}t=t||"mm",n=n||"a4",e=(""+(e||"P")).toLowerCase();var i,a=(""+n).toLowerCase(),s={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(t){case"pt":i=1;break;case"mm":i=72/25.4;break;case"cm":i=72/2.54;break;case"in":i=72;break;case"px":i=.75;break;case"pc":case"em":i=12;break;case"ex":i=6;break;default:throw"Invalid unit: "+t}var l,c=0,u=0;if(s.hasOwnProperty(a))c=s[a][1]/i,u=s[a][0]/i;else try{c=n[1],u=n[0]}catch(Lt){throw new Error("Invalid format: "+n)}if("p"===e||"portrait"===e)e="p",u>c&&(l=u,u=c,c=l);else{if("l"!==e&&"landscape"!==e)throw"Invalid orientation: "+e;e="l",c>u&&(l=u,u=c,c=l)}return{width:u,height:c,unit:t,k:i,orientation:e}},e.html=function(e,t){(t=t||{}).callback=t.callback||function(){},t.html2canvas=t.html2canvas||{},t.html2canvas.canvas=t.html2canvas.canvas||this.canvas,t.jsPDF=t.jsPDF||this,t.fontFaces=t.fontFaces?t.fontFaces.map(xt):null;var n=new s(t);return t.worker?n:n.from(e).doCallback()}}(ke.API),ke.API.addJS=function(e){return Bt=e,this.internal.events.subscribe("postPutResources",(function(){Tt=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Tt+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),jt=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Bt+")"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){void 0!==Tt&&void 0!==jt&&this.internal.out("/Names <</JavaScript "+Tt+" 0 R>>")})),this},function(e){var t;e.events.push(["postPutResources",function(){var e=this,n=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var r=e.outline.render().split(/\r\n/),o=0;o<r.length;o++){var i=r[o],a=n.exec(i);if(null!=a){var s=a[1];e.internal.newObjectDeferredBegin(s,!1)}e.internal.write(i)}if(this.outline.createNamedDestinations){var l=this.internal.pages.length,c=[];for(o=0;o<l;o++){var u=e.internal.newObject();c.push(u);var d=e.internal.getPageInfo(o+1);e.internal.write("<< /D["+d.objId+" 0 R /XYZ null null null]>> endobj")}var p=e.internal.newObject();for(e.internal.write("<< /Names [ "),o=0;o<c.length;o++)e.internal.write("(page_"+(o+1)+")"+c[o]+" 0 R");e.internal.write(" ] >>","endobj"),t=e.internal.newObject(),e.internal.write("<< /Dests "+p+" 0 R"),e.internal.write(">>","endobj")}}]),e.events.push(["putCatalog",function(){this.outline.root.children.length>0&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+t+" 0 R"))}]),e.events.push(["initialized",function(){var e=this;e.outline={createNamedDestinations:!1,root:{children:[]}},e.outline.add=function(e,t,n){var r={title:t,options:n,children:[]};return null==e&&(e=this.root),e.children.push(r),r},e.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=e,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},e.outline.genIds_r=function(t){t.id=e.internal.newObjectDeferred();for(var n=0;n<t.children.length;n++)this.genIds_r(t.children[n])},e.outline.renderRoot=function(e){this.objStart(e),this.line("/Type /Outlines"),e.children.length>0&&(this.line("/First "+this.makeRef(e.children[0])),this.line("/Last "+this.makeRef(e.children[e.children.length-1]))),this.line("/Count "+this.count_r({count:0},e)),this.objEnd()},e.outline.renderItems=function(t){for(var n=this.ctx.pdf.internal.getVerticalCoordinateString,r=0;r<t.children.length;r++){var o=t.children[r];this.objStart(o),this.line("/Title "+this.makeString(o.title)),this.line("/Parent "+this.makeRef(t)),r>0&&this.line("/Prev "+this.makeRef(t.children[r-1])),r<t.children.length-1&&this.line("/Next "+this.makeRef(t.children[r+1])),o.children.length>0&&(this.line("/First "+this.makeRef(o.children[0])),this.line("/Last "+this.makeRef(o.children[o.children.length-1])));var i=this.count=this.count_r({count:0},o);if(i>0&&this.line("/Count "+i),o.options&&o.options.pageNumber){var a=e.internal.getPageInfo(o.options.pageNumber);this.line("/Dest ["+a.objId+" 0 R /XYZ 0 "+n(0)+" 0]")}this.objEnd()}for(var s=0;s<t.children.length;s++)this.renderItems(t.children[s])},e.outline.line=function(e){this.ctx.val+=e+"\r\n"},e.outline.makeRef=function(e){return e.id+" 0 R"},e.outline.makeString=function(t){return"("+e.internal.pdfEscape(t)+")"},e.outline.objStart=function(e){this.ctx.val+="\r\n"+e.id+" 0 obj\r\n<<\r\n"},e.outline.objEnd=function(){this.ctx.val+=">> \r\nendobj\r\n"},e.outline.count_r=function(e,t){for(var n=0;n<t.children.length;n++)e.count++,this.count_r(e,t.children[n]);return e.count}}])}(ke.API),function(e){var t=[192,193,194,195,196,197,198,199];e.processJPEG=function(e,n,r,o,i,a){var s,l=this.decode.DCT_DECODE,c=null;if("string"==typeof e||this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e)){switch(e=i||e,e=this.__addimage__.isArrayBuffer(e)?new Uint8Array(e):e,(s=function(e){for(var n,r=256*e.charCodeAt(4)+e.charCodeAt(5),o=e.length,i={width:0,height:0,numcomponents:1},a=4;a<o;a+=2){if(a+=r,-1!==t.indexOf(e.charCodeAt(a+1))){n=256*e.charCodeAt(a+5)+e.charCodeAt(a+6),i={width:256*e.charCodeAt(a+7)+e.charCodeAt(a+8),height:n,numcomponents:e.charCodeAt(a+9)};break}r=256*e.charCodeAt(a+2)+e.charCodeAt(a+3)}return i}(e=this.__addimage__.isArrayBufferView(e)?this.__addimage__.arrayBufferToBinaryString(e):e)).numcomponents){case 1:a=this.color_spaces.DEVICE_GRAY;break;case 4:a=this.color_spaces.DEVICE_CMYK;break;case 3:a=this.color_spaces.DEVICE_RGB}c={data:e,width:s.width,height:s.height,colorSpace:a,bitsPerComponent:8,filter:l,index:n,alias:r}}return c}}(ke.API);var qt,Pt,It,Wt,Ft,Ut=function(){var e,t,n;function r(e){var t,n,r,o,i,a,s,l,c,u,d,p,f,h;for(this.data=e,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},a=null;;){switch(t=this.readUInt32(),c=function(){var e,t;for(t=[],e=0;e<4;++e)t.push(String.fromCharCode(this.data[this.pos++]));return t}.call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(t);break;case"fcTL":a&&this.animation.frames.push(a),this.pos+=4,a={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},i=this.readUInt16(),o=this.readUInt16()||100,a.delay=1e3*i/o,a.disposeOp=this.data[this.pos++],a.blendOp=this.data[this.pos++],a.data=[];break;case"IDAT":case"fdAT":for("fdAT"===c&&(this.pos+=4,t-=4),e=(null!=a?a.data:void 0)||this.imgData,p=0;0<=t?p<t:p>t;0<=t?++p:--p)e.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(r=this.palette.length/3,this.transparency.indexed=this.read(t),this.transparency.indexed.length>r)throw new Error("More transparent colors than palette size");if((u=r-this.transparency.indexed.length)>0)for(f=0;0<=u?f<u:f>u;0<=u?++f:--f)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(t)[0];break;case 2:this.transparency.rgb=this.read(t)}break;case"tEXt":s=(d=this.read(t)).indexOf(0),l=String.fromCharCode.apply(String,d.slice(0,s)),this.text[l]=String.fromCharCode.apply(String,d.slice(s+1));break;case"IEND":return a&&this.animation.frames.push(a),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=4===(h=this.colorType)||6===h,n=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*n,this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=t}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}r.prototype.read=function(e){var t,n;for(n=[],t=0;0<=e?t<e:t>e;0<=e?++t:--t)n.push(this.data[this.pos++]);return n},r.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},r.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},r.prototype.decodePixels=function(e){var t=this.pixelBitlength/8,n=new Uint8Array(this.width*this.height*t),r=0,o=this;if(null==e&&(e=this.imgData),0===e.length)return new Uint8Array(0);function i(i,a,s,l){var c,u,d,p,f,h,b,A,m,g,v,y,M,O,_,z,x,w,C,S,E,k=Math.ceil((o.width-i)/s),D=Math.ceil((o.height-a)/l),N=o.width==k&&o.height==D;for(O=t*k,y=N?n:new Uint8Array(O*D),h=e.length,M=0,u=0;M<D&&r<h;){switch(e[r++]){case 0:for(p=x=0;x<O;p=x+=1)y[u++]=e[r++];break;case 1:for(p=w=0;w<O;p=w+=1)c=e[r++],f=p<t?0:y[u-t],y[u++]=(c+f)%256;break;case 2:for(p=C=0;C<O;p=C+=1)c=e[r++],d=(p-p%t)/t,_=M&&y[(M-1)*O+d*t+p%t],y[u++]=(_+c)%256;break;case 3:for(p=S=0;S<O;p=S+=1)c=e[r++],d=(p-p%t)/t,f=p<t?0:y[u-t],_=M&&y[(M-1)*O+d*t+p%t],y[u++]=(c+Math.floor((f+_)/2))%256;break;case 4:for(p=E=0;E<O;p=E+=1)c=e[r++],d=(p-p%t)/t,f=p<t?0:y[u-t],0===M?_=z=0:(_=y[(M-1)*O+d*t+p%t],z=d&&y[(M-1)*O+(d-1)*t+p%t]),b=f+_-z,A=Math.abs(b-f),g=Math.abs(b-_),v=Math.abs(b-z),m=A<=g&&A<=v?f:g<=v?_:z,y[u++]=(c+m)%256;break;default:throw new Error("Invalid filter algorithm: "+e[r-1])}if(!N){var T=((a+M*l)*o.width+i)*t,j=M*O;for(p=0;p<k;p+=1){for(var B=0;B<t;B+=1)n[T++]=y[j++];T+=(s-1)*t}}M++}}return e=Y(e),1==o.interlaceMethod?(i(0,0,8,8),i(4,0,8,8),i(0,4,4,8),i(2,0,4,4),i(0,2,2,4),i(1,0,2,2),i(0,1,1,2)):i(0,0,1,1),n},r.prototype.decodePalette=function(){var e,t,n,r,o,i,a,s,l;for(n=this.palette,i=this.transparency.indexed||[],o=new Uint8Array((i.length||0)+n.length),r=0,e=0,t=a=0,s=n.length;a<s;t=a+=3)o[r++]=n[t],o[r++]=n[t+1],o[r++]=n[t+2],o[r++]=null!=(l=i[e++])?l:255;return o},r.prototype.copyToImageData=function(e,t){var n,r,o,i,a,s,l,c,u,d,p;if(r=this.colors,u=null,n=this.hasAlphaChannel,this.palette.length&&(u=null!=(p=this._decodedPalette)?p:this._decodedPalette=this.decodePalette(),r=4,n=!0),c=(o=e.data||e).length,a=u||t,i=s=0,1===r)for(;i<c;)l=u?4*t[i/4]:s,d=a[l++],o[i++]=d,o[i++]=d,o[i++]=d,o[i++]=n?a[l++]:255,s=l;else for(;i<c;)l=u?4*t[i/4]:s,o[i++]=a[l++],o[i++]=a[l++],o[i++]=a[l++],o[i++]=n?a[l++]:255,s=l},r.prototype.decode=function(){var e;return e=new Uint8Array(this.width*this.height*4),this.copyToImageData(e,this.decodePixels()),e};var o=function(){if("[object Window]"===Object.prototype.toString.call(G)){try{t=G.document.createElement("canvas"),n=t.getContext("2d")}catch(e){return!1}return!0}return!1};return o(),e=function(e){var r;if(!0===o())return n.width=e.width,n.height=e.height,n.clearRect(0,0,e.width,e.height),n.putImageData(e,0,0),(r=new Image).src=t.toDataURL(),r;throw new Error("This method requires a Browser with Canvas-capability.")},r.prototype.decodeFrames=function(t){var n,r,o,i,a,s,l,c;if(this.animation){for(c=[],r=a=0,s=(l=this.animation.frames).length;a<s;r=++a)n=l[r],o=t.createImageData(n.width,n.height),i=this.decodePixels(new Uint8Array(n.data)),this.copyToImageData(o,i),n.imageData=o,c.push(n.image=e(o));return c}},r.prototype.renderFrame=function(e,t){var n,r,o;return n=(r=this.animation.frames)[t],o=r[t-1],0===t&&e.clearRect(0,0,this.width,this.height),1===(null!=o?o.disposeOp:void 0)?e.clearRect(o.xOffset,o.yOffset,o.width,o.height):2===(null!=o?o.disposeOp:void 0)&&e.putImageData(o.imageData,o.xOffset,o.yOffset),0===n.blendOp&&e.clearRect(n.xOffset,n.yOffset,n.width,n.height),e.drawImage(n.image,n.xOffset,n.yOffset)},r.prototype.animate=function(e){var t,n,r,o,i,a,s=this;return n=0,a=this.animation,o=a.numFrames,r=a.frames,i=a.numPlays,(t=function(){var a,l;if(a=n++%o,l=r[a],s.renderFrame(e,a),o>1&&n/o<i)return s.animation._timeout=setTimeout(t,l.delay)})()},r.prototype.stopAnimation=function(){var e;return clearTimeout(null!=(e=this.animation)?e._timeout:void 0)},r.prototype.render=function(e){var t,n;return e._png&&e._png.stopAnimation(),e._png=this,e.width=this.width,e.height=this.height,t=e.getContext("2d"),this.animation?(this.decodeFrames(t),this.animate(t)):(n=t.createImageData(this.width,this.height),this.copyToImageData(n,this.decodePixels()),t.putImageData(n,0,0))},r}();function Zt(e){var t=0;if(71!==e[t++]||73!==e[t++]||70!==e[t++]||56!==e[t++]||56!=(e[t++]+1&253)||97!==e[t++])throw new Error("Invalid GIF 87a/89a header.");var n=e[t++]|e[t++]<<8,r=e[t++]|e[t++]<<8,o=e[t++],i=o>>7,a=1<<1+(7&o);e[t++],e[t++];var s=null,l=null;i&&(s=t,l=a,t+=3*a);var c=!0,u=[],d=0,p=null,f=0,h=null;for(this.width=n,this.height=r;c&&t<e.length;)switch(e[t++]){case 33:switch(e[t++]){case 255:if(11!==e[t]||78==e[t+1]&&69==e[t+2]&&84==e[t+3]&&83==e[t+4]&&67==e[t+5]&&65==e[t+6]&&80==e[t+7]&&69==e[t+8]&&50==e[t+9]&&46==e[t+10]&&48==e[t+11]&&3==e[t+12]&&1==e[t+13]&&0==e[t+16])t+=14,h=e[t++]|e[t++]<<8,t++;else for(t+=12;;){if(!((C=e[t++])>=0))throw Error("Invalid block size");if(0===C)break;t+=C}break;case 249:if(4!==e[t++]||0!==e[t+4])throw new Error("Invalid graphics extension block.");var b=e[t++];d=e[t++]|e[t++]<<8,p=e[t++],0==(1&b)&&(p=null),f=b>>2&7,t++;break;case 254:for(;;){if(!((C=e[t++])>=0))throw Error("Invalid block size");if(0===C)break;t+=C}break;default:throw new Error("Unknown graphic control label: 0x"+e[t-1].toString(16))}break;case 44:var A=e[t++]|e[t++]<<8,m=e[t++]|e[t++]<<8,g=e[t++]|e[t++]<<8,v=e[t++]|e[t++]<<8,y=e[t++],M=y>>6&1,O=1<<1+(7&y),_=s,z=l,x=!1;y>>7&&(x=!0,_=t,z=O,t+=3*O);var w=t;for(t++;;){var C;if(!((C=e[t++])>=0))throw Error("Invalid block size");if(0===C)break;t+=C}u.push({x:A,y:m,width:g,height:v,has_local_palette:x,palette_offset:_,palette_size:z,data_offset:w,data_length:t-w,transparent_index:p,interlaced:!!M,delay:d,disposal:f});break;case 59:c=!1;break;default:throw new Error("Unknown gif block: 0x"+e[t-1].toString(16))}this.numFrames=function(){return u.length},this.loopCount=function(){return h},this.frameInfo=function(e){if(e<0||e>=u.length)throw new Error("Frame index out of range.");return u[e]},this.decodeAndBlitFrameBGRA=function(t,r){var o=this.frameInfo(t),i=o.width*o.height,a=new Uint8Array(i);Ht(e,o.data_offset,a,i);var s=o.palette_offset,l=o.transparent_index;null===l&&(l=256);var c=o.width,u=n-c,d=c,p=4*(o.y*n+o.x),f=4*((o.y+o.height)*n+o.x),h=p,b=4*u;!0===o.interlaced&&(b+=4*n*7);for(var A=8,m=0,g=a.length;m<g;++m){var v=a[m];if(0===d&&(d=c,(h+=b)>=f&&(b=4*u+4*n*(A-1),h=p+(c+u)*(A<<1),A>>=1)),v===l)h+=4;else{var y=e[s+3*v],M=e[s+3*v+1],O=e[s+3*v+2];r[h++]=O,r[h++]=M,r[h++]=y,r[h++]=255}--d}},this.decodeAndBlitFrameRGBA=function(t,r){var o=this.frameInfo(t),i=o.width*o.height,a=new Uint8Array(i);Ht(e,o.data_offset,a,i);var s=o.palette_offset,l=o.transparent_index;null===l&&(l=256);var c=o.width,u=n-c,d=c,p=4*(o.y*n+o.x),f=4*((o.y+o.height)*n+o.x),h=p,b=4*u;!0===o.interlaced&&(b+=4*n*7);for(var A=8,m=0,g=a.length;m<g;++m){var v=a[m];if(0===d&&(d=c,(h+=b)>=f&&(b=4*u+4*n*(A-1),h=p+(c+u)*(A<<1),A>>=1)),v===l)h+=4;else{var y=e[s+3*v],M=e[s+3*v+1],O=e[s+3*v+2];r[h++]=y,r[h++]=M,r[h++]=O,r[h++]=255}--d}}}function Ht(e,t,n,r){for(var o=e[t++],i=1<<o,a=i+1,s=a+1,l=o+1,c=(1<<l)-1,u=0,d=0,p=0,f=e[t++],h=new Int32Array(4096),b=null;;){for(;u<16&&0!==f;)d|=e[t++]<<u,u+=8,1===f?f=e[t++]:--f;if(u<l)break;var A=d&c;if(d>>=l,u-=l,A!==i){if(A===a)break;for(var m=A<s?A:b,g=0,v=m;v>i;)v=h[v]>>8,++g;var y=v;if(p+g+(m!==A?1:0)>r)return void J.log("Warning, gif stream longer than expected.");n[p++]=y;var M=p+=g;for(m!==A&&(n[p++]=y),v=m;g--;)v=h[v],n[--M]=255&v,v>>=8;null!==b&&s<4096&&(h[s++]=b<<8|y,s>=c+1&&l<12&&(++l,c=c<<1|1)),b=A}else s=a+1,c=(1<<(l=o+1))-1,b=null}return p!==r&&J.log("Warning, gif stream shorter than expected."),n}function $t(e){var t,n,r,o,i,a=Math.floor,s=new Array(64),l=new Array(64),c=new Array(64),u=new Array(64),d=new Array(65535),p=new Array(65535),f=new Array(64),h=new Array(64),b=[],A=0,m=7,g=new Array(64),v=new Array(64),y=new Array(64),M=new Array(256),O=new Array(2048),_=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],z=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],x=[0,1,2,3,4,5,6,7,8,9,10,11],w=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],C=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],S=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],E=[0,1,2,3,4,5,6,7,8,9,10,11],k=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],D=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function N(e,t){for(var n=0,r=0,o=new Array,i=1;i<=16;i++){for(var a=1;a<=e[i];a++)o[t[r]]=[],o[t[r]][0]=n,o[t[r]][1]=i,r++,n++;n*=2}return o}function T(e){for(var t=e[0],n=e[1]-1;n>=0;)t&1<<n&&(A|=1<<m),n--,--m<0&&(255==A?(j(255),j(0)):j(A),m=7,A=0)}function j(e){b.push(e)}function B(e){j(e>>8&255),j(255&e)}function L(e,t,n,r,o){for(var i,a=o[0],s=o[240],l=function(e,t){var n,r,o,i,a,s,l,c,u,d,p=0;for(u=0;u<8;++u){n=e[p],r=e[p+1],o=e[p+2],i=e[p+3],a=e[p+4],s=e[p+5],l=e[p+6];var h=n+(c=e[p+7]),b=n-c,A=r+l,m=r-l,g=o+s,v=o-s,y=i+a,M=i-a,O=h+y,_=h-y,z=A+g,x=A-g;e[p]=O+z,e[p+4]=O-z;var w=.707106781*(x+_);e[p+2]=_+w,e[p+6]=_-w;var C=.382683433*((O=M+v)-(x=m+b)),S=.5411961*O+C,E=1.306562965*x+C,k=.707106781*(z=v+m),D=b+k,N=b-k;e[p+5]=N+S,e[p+3]=N-S,e[p+1]=D+E,e[p+7]=D-E,p+=8}for(p=0,u=0;u<8;++u){n=e[p],r=e[p+8],o=e[p+16],i=e[p+24],a=e[p+32],s=e[p+40],l=e[p+48];var T=n+(c=e[p+56]),j=n-c,B=r+l,L=r-l,R=o+s,q=o-s,P=i+a,I=i-a,W=T+P,F=T-P,U=B+R,Z=B-R;e[p]=W+U,e[p+32]=W-U;var H=.707106781*(Z+F);e[p+16]=F+H,e[p+48]=F-H;var $=.382683433*((W=I+q)-(Z=L+j)),V=.5411961*W+$,X=1.306562965*Z+$,Q=.707106781*(U=q+L),Y=j+Q,G=j-Q;e[p+40]=G+V,e[p+24]=G-V,e[p+8]=Y+X,e[p+56]=Y-X,p++}for(u=0;u<64;++u)d=e[u]*t[u],f[u]=d>0?d+.5|0:d-.5|0;return f}(e,t),c=0;c<64;++c)h[_[c]]=l[c];var u=h[0]-n;n=h[0],0==u?T(r[0]):(T(r[p[i=32767+u]]),T(d[i]));for(var b=63;b>0&&0==h[b];)b--;if(0==b)return T(a),n;for(var A,m=1;m<=b;){for(var g=m;0==h[m]&&m<=b;)++m;var v=m-g;if(v>=16){A=v>>4;for(var y=1;y<=A;++y)T(s);v&=15}i=32767+h[m],T(o[(v<<4)+p[i]]),T(d[i]),m++}return 63!=b&&T(a),n}function R(e){e=Math.min(Math.max(e,1),100),i!=e&&(function(e){for(var t=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],n=0;n<64;n++){var r=a((t[n]*e+50)/100);r=Math.min(Math.max(r,1),255),s[_[n]]=r}for(var o=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],i=0;i<64;i++){var d=a((o[i]*e+50)/100);d=Math.min(Math.max(d,1),255),l[_[i]]=d}for(var p=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],f=0,h=0;h<8;h++)for(var b=0;b<8;b++)c[f]=1/(s[_[f]]*p[h]*p[b]*8),u[f]=1/(l[_[f]]*p[h]*p[b]*8),f++}(e<50?Math.floor(5e3/e):Math.floor(200-2*e)),i=e)}this.encode=function(e,i){i&&R(i),b=new Array,A=0,m=7,B(65496),B(65504),B(16),j(74),j(70),j(73),j(70),j(0),j(1),j(1),j(0),B(1),B(1),j(0),j(0),function(){B(65499),B(132),j(0);for(var e=0;e<64;e++)j(s[e]);j(1);for(var t=0;t<64;t++)j(l[t])}(),function(e,t){B(65472),B(17),j(8),B(t),B(e),j(3),j(1),j(17),j(0),j(2),j(17),j(1),j(3),j(17),j(1)}(e.width,e.height),function(){B(65476),B(418),j(0);for(var e=0;e<16;e++)j(z[e+1]);for(var t=0;t<=11;t++)j(x[t]);j(16);for(var n=0;n<16;n++)j(w[n+1]);for(var r=0;r<=161;r++)j(C[r]);j(1);for(var o=0;o<16;o++)j(S[o+1]);for(var i=0;i<=11;i++)j(E[i]);j(17);for(var a=0;a<16;a++)j(k[a+1]);for(var s=0;s<=161;s++)j(D[s])}(),B(65498),B(12),j(3),j(1),j(0),j(2),j(17),j(3),j(17),j(0),j(63),j(0);var a=0,d=0,p=0;A=0,m=7,this.encode.displayName="_encode_";for(var f,h,M,_,N,q,P,I,W,F=e.data,U=e.width,Z=e.height,H=4*U,$=0;$<Z;){for(f=0;f<H;){for(N=H*$+f,P=-1,I=0,W=0;W<64;W++)q=N+(I=W>>3)*H+(P=4*(7&W)),$+I>=Z&&(q-=H*($+1+I-Z)),f+P>=H&&(q-=f+P-H+4),h=F[q++],M=F[q++],_=F[q++],g[W]=(O[h]+O[M+256>>0]+O[_+512>>0]>>16)-128,v[W]=(O[h+768>>0]+O[M+1024>>0]+O[_+1280>>0]>>16)-128,y[W]=(O[h+1280>>0]+O[M+1536>>0]+O[_+1792>>0]>>16)-128;a=L(g,c,a,t,r),d=L(v,u,d,n,o),p=L(y,u,p,n,o),f+=32}$+=8}if(m>=0){var V=[];V[1]=m+1,V[0]=(1<<m+1)-1,T(V)}return B(65497),new Uint8Array(b)},e=e||50,function(){for(var e=String.fromCharCode,t=0;t<256;t++)M[t]=e(t)}(),t=N(z,x),n=N(S,E),r=N(w,C),o=N(k,D),function(){for(var e=1,t=2,n=1;n<=15;n++){for(var r=e;r<t;r++)p[32767+r]=n,d[32767+r]=[],d[32767+r][1]=n,d[32767+r][0]=r;for(var o=-(t-1);o<=-e;o++)p[32767+o]=n,d[32767+o]=[],d[32767+o][1]=n,d[32767+o][0]=t-1+o;e<<=1,t<<=1}}(),function(){for(var e=0;e<256;e++)O[e]=19595*e,O[e+256>>0]=38470*e,O[e+512>>0]=7471*e+32768,O[e+768>>0]=-11059*e,O[e+1024>>0]=-21709*e,O[e+1280>>0]=32768*e+8421375,O[e+1536>>0]=-27439*e,O[e+1792>>0]=-5329*e}(),R(e)}function Vt(e,t){if(this.pos=0,this.buffer=e,this.datav=new DataView(e.buffer),this.is_with_alpha=!!t,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,-1===["BM","BA","CI","CP","IC","PT"].indexOf(this.flag))throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function Xt(e){function t(e){if(!e)throw Error("assert :P")}function n(e,t,n){for(var r=0;4>r;r++)if(e[t+r]!=n.charCodeAt(r))return!0;return!1}function r(e,t,n,r,o){for(var i=0;i<o;i++)e[t+i]=n[r+i]}function o(e,t,n,r){for(var o=0;o<r;o++)e[t+o]=n}function i(e){return new Int32Array(e)}function a(e,t){for(var n=[],r=0;r<e;r++)n.push(new t);return n}function s(e,t){var n=[];return function e(n,r,o){for(var i=o[r],a=0;a<i&&(n.push(o.length>r+1?[]:new t),!(o.length<r+1));a++)e(n[a],r+1,o)}(n,0,e),n}var l=function(){var e=this;function l(e,t){for(var n=1<<t-1>>>0;e&n;)n>>>=1;return n?(e&n-1)+n:e}function c(e,n,r,o,i){t(!(o%r));do{e[n+(o-=r)]=i}while(0<o)}function u(e,n,r,o,a){if(t(2328>=a),512>=a)var s=i(512);else if(null==(s=i(a)))return 0;return function(e,n,r,o,a,s){var u,p,f=n,h=1<<r,b=i(16),A=i(16);for(t(0!=a),t(null!=o),t(null!=e),t(0<r),p=0;p<a;++p){if(15<o[p])return 0;++b[o[p]]}if(b[0]==a)return 0;for(A[1]=0,u=1;15>u;++u){if(b[u]>1<<u)return 0;A[u+1]=A[u]+b[u]}for(p=0;p<a;++p)u=o[p],0<o[p]&&(s[A[u]++]=p);if(1==A[15])return(o=new d).g=0,o.value=s[0],c(e,f,1,h,o),h;var m,g=-1,v=h-1,y=0,M=1,O=1,_=1<<r;for(p=0,u=1,a=2;u<=r;++u,a<<=1){if(M+=O<<=1,0>(O-=b[u]))return 0;for(;0<b[u];--b[u])(o=new d).g=u,o.value=s[p++],c(e,f+y,a,_,o),y=l(y,u)}for(u=r+1,a=2;15>=u;++u,a<<=1){if(M+=O<<=1,0>(O-=b[u]))return 0;for(;0<b[u];--b[u]){if(o=new d,(y&v)!=g){for(f+=_,m=1<<(g=u)-r;15>g&&!(0>=(m-=b[g]));)++g,m<<=1;h+=_=1<<(m=g-r),e[n+(g=y&v)].g=m+r,e[n+g].value=f-n-g}o.g=u-r,o.value=s[p++],c(e,f+(y>>r),a,_,o),y=l(y,u)}}return M!=2*A[15]-1?0:h}(e,n,r,o,a,s)}function d(){this.value=this.g=0}function p(){this.value=this.g=0}function f(){this.G=a(5,d),this.H=i(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=a(Pn,p)}function h(e,n,r,o){t(null!=e),t(null!=n),t(2147483648>o),e.Ca=254,e.I=0,e.b=-8,e.Ka=0,e.oa=n,e.pa=r,e.Jd=n,e.Yc=r+o,e.Zc=4<=o?r+o-4+1:r,w(e)}function b(e,t){for(var n=0;0<t--;)n|=S(e,128)<<t;return n}function A(e,t){var n=b(e,t);return C(e)?-n:n}function m(e,n,r,o){var i,a=0;for(t(null!=e),t(null!=n),t(4294967288>o),e.Sb=o,e.Ra=0,e.u=0,e.h=0,4<o&&(o=4),i=0;i<o;++i)a+=n[r+i]<<8*i;e.Ra=a,e.bb=o,e.oa=n,e.pa=r}function g(e){for(;8<=e.u&&e.bb<e.Sb;)e.Ra>>>=8,e.Ra+=e.oa[e.pa+e.bb]<<Fn-8>>>0,++e.bb,e.u-=8;_(e)&&(e.h=1,e.u=0)}function v(e,n){if(t(0<=n),!e.h&&n<=Wn){var r=O(e)&In[n];return e.u+=n,g(e),r}return e.h=1,e.u=0}function y(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function M(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function O(e){return e.Ra>>>(e.u&Fn-1)>>>0}function _(e){return t(e.bb<=e.Sb),e.h||e.bb==e.Sb&&e.u>Fn}function z(e,t){e.u=t,e.h=_(e)}function x(e){e.u>=Un&&(t(e.u>=Un),g(e))}function w(e){t(null!=e&&null!=e.oa),e.pa<e.Zc?(e.I=(e.oa[e.pa++]|e.I<<8)>>>0,e.b+=8):(t(null!=e&&null!=e.oa),e.pa<e.Yc?(e.b+=8,e.I=e.oa[e.pa++]|e.I<<8):e.Ka?e.b=0:(e.I<<=8,e.b+=8,e.Ka=1))}function C(e){return b(e,1)}function S(e,t){var n=e.Ca;0>e.b&&w(e);var r=e.b,o=n*t>>>8,i=(e.I>>>r>o)+0;for(i?(n-=o,e.I-=o+1<<r>>>0):n=o+1,r=n,o=0;256<=r;)o+=8,r>>=8;return r=7^o+Zn[r],e.b-=r,e.Ca=(n<<r)-1,i}function E(e,t,n){e[t+0]=n>>24&255,e[t+1]=n>>16&255,e[t+2]=n>>8&255,e[t+3]=n>>0&255}function k(e,t){return e[t+0]<<0|e[t+1]<<8}function D(e,t){return k(e,t)|e[t+2]<<16}function N(e,t){return k(e,t)|k(e,t+2)<<16}function T(e,n){var r=1<<n;return t(null!=e),t(0<n),e.X=i(r),null==e.X?0:(e.Mb=32-n,e.Xa=n,1)}function j(e,n){t(null!=e),t(null!=n),t(e.Xa==n.Xa),r(n.X,0,e.X,0,1<<n.Xa)}function B(){this.X=[],this.Xa=this.Mb=0}function L(e,n,r,o){t(null!=r),t(null!=o);var i=r[0],a=o[0];return 0==i&&(i=(e*a+n/2)/n),0==a&&(a=(n*i+e/2)/e),0>=i||0>=a?0:(r[0]=i,o[0]=a,1)}function R(e,t){return e+(1<<t)-1>>>t}function q(e,t){return((4278255360&e)+(4278255360&t)>>>0&4278255360)+((16711935&e)+(16711935&t)>>>0&16711935)>>>0}function P(t,n){e[n]=function(n,r,o,i,a,s,l){var c;for(c=0;c<a;++c){var u=e[t](s[l+c-1],o,i+c);s[l+c]=q(n[r+c],u)}}}function I(){this.ud=this.hd=this.jd=0}function W(e,t){return((4278124286&(e^t))>>>1)+(e&t)>>>0}function F(e){return 0<=e&&256>e?e:0>e?0:255<e?255:void 0}function U(e,t){return F(e+(e-t+.5>>1))}function Z(e,t,n){return Math.abs(t-n)-Math.abs(e-n)}function H(e,t,n,r,o,i,a){for(r=i[a-1],n=0;n<o;++n)i[a+n]=r=q(e[t+n],r)}function $(e,t,n,r,o){var i;for(i=0;i<n;++i){var a=e[t+i],s=a>>8&255,l=16711935&(l=(l=16711935&a)+((s<<16)+s));r[o+i]=(4278255360&a)+l>>>0}}function V(e,t){t.jd=e>>0&255,t.hd=e>>8&255,t.ud=e>>16&255}function X(e,t,n,r,o,i){var a;for(a=0;a<r;++a){var s=t[n+a],l=s>>>8,c=s,u=255&(u=(u=s>>>16)+((e.jd<<24>>24)*(l<<24>>24)>>>5));c=255&(c=(c+=(e.hd<<24>>24)*(l<<24>>24)>>>5)+((e.ud<<24>>24)*(u<<24>>24)>>>5)),o[i+a]=(4278255360&s)+(u<<16)+c}}function Q(t,n,r,o,i){e[n]=function(e,t,n,r,a,s,l,c,u){for(r=l;r<c;++r)for(l=0;l<u;++l)a[s++]=i(n[o(e[t++])])},e[t]=function(t,n,a,s,l,c,u){var d=8>>t.b,p=t.Ea,f=t.K[0],h=t.w;if(8>d)for(t=(1<<t.b)-1,h=(1<<d)-1;n<a;++n){var b,A=0;for(b=0;b<p;++b)b&t||(A=o(s[l++])),c[u++]=i(f[A&h]),A>>=d}else e["VP8LMapColor"+r](s,l,f,h,c,u,n,a,p)}}function Y(e,t,n,r,o){for(n=t+n;t<n;){var i=e[t++];r[o++]=i>>16&255,r[o++]=i>>8&255,r[o++]=i>>0&255}}function G(e,t,n,r,o){for(n=t+n;t<n;){var i=e[t++];r[o++]=i>>16&255,r[o++]=i>>8&255,r[o++]=i>>0&255,r[o++]=i>>24&255}}function K(e,t,n,r,o){for(n=t+n;t<n;){var i=(a=e[t++])>>16&240|a>>12&15,a=a>>0&240|a>>28&15;r[o++]=i,r[o++]=a}}function J(e,t,n,r,o){for(n=t+n;t<n;){var i=(a=e[t++])>>16&248|a>>13&7,a=a>>5&224|a>>3&31;r[o++]=i,r[o++]=a}}function ee(e,t,n,r,o){for(n=t+n;t<n;){var i=e[t++];r[o++]=i>>0&255,r[o++]=i>>8&255,r[o++]=i>>16&255}}function te(e,t,n,o,i,a){if(0==a)for(n=t+n;t<n;)E(o,((a=e[t++])[0]>>24|a[1]>>8&65280|a[2]<<8&16711680|a[3]<<24)>>>0),i+=32;else r(o,i,e,t,n)}function ne(t,n){e[n][0]=e[t+"0"],e[n][1]=e[t+"1"],e[n][2]=e[t+"2"],e[n][3]=e[t+"3"],e[n][4]=e[t+"4"],e[n][5]=e[t+"5"],e[n][6]=e[t+"6"],e[n][7]=e[t+"7"],e[n][8]=e[t+"8"],e[n][9]=e[t+"9"],e[n][10]=e[t+"10"],e[n][11]=e[t+"11"],e[n][12]=e[t+"12"],e[n][13]=e[t+"13"],e[n][14]=e[t+"0"],e[n][15]=e[t+"0"]}function re(e){return e==Ur||e==Zr||e==Hr||e==$r}function oe(){this.eb=[],this.size=this.A=this.fb=0}function ie(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function ae(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new oe,this.f.kb=new ie,this.sd=null}function se(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function le(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function ce(e){return alert("todo:WebPSamplerProcessPlane"),e.T}function ue(e,t){var n=e.T,o=t.ba.f.RGBA,i=o.eb,a=o.fb+e.ka*o.A,s=go[t.ba.S],l=e.y,c=e.O,u=e.f,d=e.N,p=e.ea,f=e.W,h=t.cc,b=t.dc,A=t.Mc,m=t.Nc,g=e.ka,v=e.ka+e.T,y=e.U,M=y+1>>1;for(0==g?s(l,c,null,null,u,d,p,f,u,d,p,f,i,a,null,null,y):(s(t.ec,t.fc,l,c,h,b,A,m,u,d,p,f,i,a-o.A,i,a,y),++n);g+2<v;g+=2)h=u,b=d,A=p,m=f,d+=e.Rc,f+=e.Rc,a+=2*o.A,s(l,(c+=2*e.fa)-e.fa,l,c,h,b,A,m,u,d,p,f,i,a-o.A,i,a,y);return c+=e.fa,e.j+v<e.o?(r(t.ec,t.fc,l,c,y),r(t.cc,t.dc,u,d,M),r(t.Mc,t.Nc,p,f,M),n--):1&v||s(l,c,null,null,u,d,p,f,u,d,p,f,i,a+o.A,null,null,y),n}function de(e,n,r){var o=e.F,i=[e.J];if(null!=o){var a=e.U,s=n.ba.S,l=s==Ir||s==Hr;n=n.ba.f.RGBA;var c=[0],u=e.ka;c[0]=e.T,e.Kb&&(0==u?--c[0]:(--u,i[0]-=e.width),e.j+e.ka+e.T==e.o&&(c[0]=e.o-e.j-u));var d=n.eb;u=n.fb+u*n.A,e=xr(o,i[0],e.width,a,c,d,u+(l?0:3),n.A),t(r==c),e&&re(s)&&_r(d,u,l,a,c,n.A)}return 0}function pe(e){var t=e.ma,n=t.ba.S,r=11>n,o=n==Rr||n==Pr||n==Ir||n==Wr||12==n||re(n);if(t.memory=null,t.Ib=null,t.Jb=null,t.Nd=null,!Ln(t.Oa,e,o?11:12))return 0;if(o&&re(n)&&vn(),e.da)alert("todo:use_scaling");else{if(r){if(t.Ib=ce,e.Kb){if(n=e.U+1>>1,t.memory=i(e.U+2*n),null==t.memory)return 0;t.ec=t.memory,t.fc=0,t.cc=t.ec,t.dc=t.fc+e.U,t.Mc=t.cc,t.Nc=t.dc+n,t.Ib=ue,vn()}}else alert("todo:EmitYUV");o&&(t.Jb=de,r&&mn())}if(r&&!No){for(e=0;256>e;++e)To[e]=89858*(e-128)+Co>>wo,Lo[e]=-22014*(e-128)+Co,Bo[e]=-45773*(e-128),jo[e]=113618*(e-128)+Co>>wo;for(e=So;e<Eo;++e)t=76283*(e-16)+Co>>wo,Ro[e-So]=He(t,255),qo[e-So]=He(t+8>>4,15);No=1}return 1}function fe(e){var n=e.ma,r=e.U,o=e.T;return t(!(1&e.ka)),0>=r||0>=o?0:(r=n.Ib(e,n),null!=n.Jb&&n.Jb(e,n,r),n.Dc+=r,1)}function he(e){e.ma.memory=null}function be(e,t,n,r){return 47!=v(e,8)?0:(t[0]=v(e,14)+1,n[0]=v(e,14)+1,r[0]=v(e,1),0!=v(e,3)?0:!e.h)}function Ae(e,t){if(4>e)return e+1;var n=e-2>>1;return(2+(1&e)<<n)+v(t,n)+1}function me(e,t){return 120<t?t-120:1<=(n=((n=Kr[t-1])>>4)*e+(8-(15&n)))?n:1;var n}function ge(e,t,n){var r=O(n),o=e[t+=255&r].g-8;return 0<o&&(z(n,n.u+8),r=O(n),t+=e[t].value,t+=r&(1<<o)-1),z(n,n.u+e[t].g),e[t].value}function ve(e,n,r){return r.g+=e.g,r.value+=e.value<<n>>>0,t(8>=r.g),e.g}function ye(e,n,r){var o=e.xc;return t((n=0==o?0:e.vc[e.md*(r>>o)+(n>>o)])<e.Wb),e.Ya[n]}function Me(e,n,o,i){var a=e.ab,s=e.c*n,l=e.C;n=l+n;var c=o,u=i;for(i=e.Ta,o=e.Ua;0<a--;){var d=e.gc[a],p=l,f=n,h=c,b=u,A=(u=i,c=o,d.Ea);switch(t(p<f),t(f<=d.nc),d.hc){case 2:Vn(h,b,(f-p)*A,u,c);break;case 0:var m=p,g=f,v=u,y=c,M=(w=d).Ea;0==m&&(Hn(h,b,null,null,1,v,y),H(h,b+1,0,0,M-1,v,y+1),b+=M,y+=M,++m);for(var O=1<<w.b,_=O-1,z=R(M,w.b),x=w.K,w=w.w+(m>>w.b)*z;m<g;){var C=x,S=w,E=1;for($n(h,b,v,y-M,1,v,y);E<M;){var k=(E&~_)+O;k>M&&(k=M),(0,Kn[C[S++]>>8&15])(h,b+ +E,v,y+E-M,k-E,v,y+E),E=k}b+=M,y+=M,++m&_||(w+=z)}f!=d.nc&&r(u,c-A,u,c+(f-p-1)*A,A);break;case 1:for(A=h,g=b,M=(h=d.Ea)-(y=h&~(v=(b=1<<d.b)-1)),m=R(h,d.b),O=d.K,d=d.w+(p>>d.b)*m;p<f;){for(_=O,z=d,x=new I,w=g+y,C=g+h;g<w;)V(_[z++],x),Jn(x,A,g,b,u,c),g+=b,c+=b;g<C&&(V(_[z++],x),Jn(x,A,g,M,u,c),g+=M,c+=M),++p&v||(d+=m)}break;case 3:if(h==u&&b==c&&0<d.b){for(g=u,h=A=c+(f-p)*A-(y=(f-p)*R(d.Ea,d.b)),b=u,v=c,m=[],y=(M=y)-1;0<=y;--y)m[y]=b[v+y];for(y=M-1;0<=y;--y)g[h+y]=m[y];Xn(d,p,f,u,A,u,c)}else Xn(d,p,f,h,b,u,c)}c=i,u=o}u!=o&&r(i,o,c,u,s)}function Oe(e,n){var r=e.V,o=e.Ba+e.c*e.C,i=n-e.C;if(t(n<=e.l.o),t(16>=i),0<i){var a=e.l,s=e.Ta,l=e.Ua,c=a.width;if(Me(e,i,r,o),i=l=[l],t((r=e.C)<(o=n)),t(a.v<a.va),o>a.o&&(o=a.o),r<a.j){var u=a.j-r;r=a.j,i[0]+=u*c}if(r>=o?r=0:(i[0]+=4*a.v,a.ka=r-a.j,a.U=a.va-a.v,a.T=o-r,r=1),r){if(l=l[0],11>(r=e.ca).S){var d=r.f.RGBA,p=(o=r.S,i=a.U,a=a.T,u=d.eb,d.A),f=a;for(d=d.fb+e.Ma*d.A;0<f--;){var h=s,b=l,A=i,m=u,g=d;switch(o){case Lr:er(h,b,A,m,g);break;case Rr:tr(h,b,A,m,g);break;case Ur:tr(h,b,A,m,g),_r(m,g,0,A,1,0);break;case qr:or(h,b,A,m,g);break;case Pr:te(h,b,A,m,g,1);break;case Zr:te(h,b,A,m,g,1),_r(m,g,0,A,1,0);break;case Ir:te(h,b,A,m,g,0);break;case Hr:te(h,b,A,m,g,0),_r(m,g,1,A,1,0);break;case Wr:nr(h,b,A,m,g);break;case $r:nr(h,b,A,m,g),zr(m,g,A,1,0);break;case Fr:rr(h,b,A,m,g);break;default:t(0)}l+=c,d+=p}e.Ma+=a}else alert("todo:EmitRescaledRowsYUVA");t(e.Ma<=r.height)}}e.C=n,t(e.C<=e.i)}function _e(e){var t;if(0<e.ua)return 0;for(t=0;t<e.Wb;++t){var n=e.Ya[t].G,r=e.Ya[t].H;if(0<n[1][r[1]+0].g||0<n[2][r[2]+0].g||0<n[3][r[3]+0].g)return 0}return 1}function ze(e,n,r,o,i,a){if(0!=e.Z){var s=e.qd,l=e.rd;for(t(null!=mo[e.Z]);n<r;++n)mo[e.Z](s,l,o,i,o,i,a),s=o,l=i,i+=a;e.qd=s,e.rd=l}}function xe(e,n){var r=e.l.ma,o=0==r.Z||1==r.Z?e.l.j:e.C;if(o=e.C<o?o:e.C,t(n<=e.l.o),n>o){var i=e.l.width,a=r.ca,s=r.tb+i*o,l=e.V,c=e.Ba+e.c*o,u=e.gc;t(1==e.ab),t(3==u[0].hc),Yn(u[0],o,n,l,c,a,s),ze(r,o,n,a,s,i)}e.C=e.Ma=n}function we(e,n,r,o,i,a,s){var l=e.$/o,c=e.$%o,u=e.m,d=e.s,p=r+e.$,f=p;i=r+o*i;var h=r+o*a,b=280+d.ua,A=e.Pb?l:16777216,m=0<d.ua?d.Wa:null,g=d.wc,v=p<h?ye(d,c,l):null;t(e.C<a),t(h<=i);var y=!1;e:for(;;){for(;y||p<h;){var M=0;if(l>=A){var w=p-r;t((A=e).Pb),A.wd=A.m,A.xd=w,0<A.s.ua&&j(A.s.Wa,A.s.vb),A=l+eo}if(c&g||(v=ye(d,c,l)),t(null!=v),v.Qb&&(n[p]=v.qb,y=!0),!y)if(x(u),v.jc){M=u,w=n;var C=p,S=v.pd[O(M)&Pn-1];t(v.jc),256>S.g?(z(M,M.u+S.g),w[C]=S.value,M=0):(z(M,M.u+S.g-256),t(256<=S.value),M=S.value),0==M&&(y=!0)}else M=ge(v.G[0],v.H[0],u);if(u.h)break;if(y||256>M){if(!y)if(v.nd)n[p]=(v.qb|M<<8)>>>0;else{if(x(u),y=ge(v.G[1],v.H[1],u),x(u),w=ge(v.G[2],v.H[2],u),C=ge(v.G[3],v.H[3],u),u.h)break;n[p]=(C<<24|y<<16|M<<8|w)>>>0}if(y=!1,++p,++c>=o&&(c=0,++l,null!=s&&l<=a&&!(l%16)&&s(e,l),null!=m))for(;f<p;)M=n[f++],m.X[(506832829*M&4294967295)>>>m.Mb]=M}else if(280>M){if(M=Ae(M-256,u),w=ge(v.G[4],v.H[4],u),x(u),w=me(o,w=Ae(w,u)),u.h)break;if(p-r<w||i-p<M)break e;for(C=0;C<M;++C)n[p+C]=n[p+C-w];for(p+=M,c+=M;c>=o;)c-=o,++l,null!=s&&l<=a&&!(l%16)&&s(e,l);if(t(p<=i),c&g&&(v=ye(d,c,l)),null!=m)for(;f<p;)M=n[f++],m.X[(506832829*M&4294967295)>>>m.Mb]=M}else{if(!(M<b))break e;for(y=M-280,t(null!=m);f<p;)M=n[f++],m.X[(506832829*M&4294967295)>>>m.Mb]=M;M=p,t(!(y>>>(w=m).Xa)),n[M]=w.X[y],y=!0}y||t(u.h==_(u))}if(e.Pb&&u.h&&p<i)t(e.m.h),e.a=5,e.m=e.wd,e.$=e.xd,0<e.s.ua&&j(e.s.vb,e.s.Wa);else{if(u.h)break e;null!=s&&s(e,l>a?a:l),e.a=0,e.$=p-r}return 1}return e.a=3,0}function Ce(e){t(null!=e),e.vc=null,e.yc=null,e.Ya=null;var n=e.Wa;null!=n&&(n.X=null),e.vb=null,t(null!=e)}function Se(){var t=new sn;return null==t?null:(t.a=0,t.xb=Ao,ne("Predictor","VP8LPredictors"),ne("Predictor","VP8LPredictors_C"),ne("PredictorAdd","VP8LPredictorsAdd"),ne("PredictorAdd","VP8LPredictorsAdd_C"),Vn=$,Jn=X,er=Y,tr=G,nr=K,rr=J,or=ee,e.VP8LMapColor32b=Qn,e.VP8LMapColor8b=Gn,t)}function Ee(e,n,r,s,l){var c=1,p=[e],h=[n],b=s.m,A=s.s,m=null,g=0;e:for(;;){if(r)for(;c&&v(b,1);){var y=p,M=h,_=s,w=1,C=_.m,S=_.gc[_.ab],E=v(C,2);if(_.Oc&1<<E)c=0;else{switch(_.Oc|=1<<E,S.hc=E,S.Ea=y[0],S.nc=M[0],S.K=[null],++_.ab,t(4>=_.ab),E){case 0:case 1:S.b=v(C,3)+2,w=Ee(R(S.Ea,S.b),R(S.nc,S.b),0,_,S.K),S.K=S.K[0];break;case 3:var k,D=v(C,8)+1,N=16<D?0:4<D?1:2<D?2:3;if(y[0]=R(S.Ea,N),S.b=N,k=w=Ee(D,1,0,_,S.K)){var j,B=D,L=S,P=1<<(8>>L.b),I=i(P);if(null==I)k=0;else{var W=L.K[0],F=L.w;for(I[0]=L.K[0][0],j=1;j<1*B;++j)I[j]=q(W[F+j],I[j-1]);for(;j<4*P;++j)I[j]=0;L.K[0]=null,L.K[0]=I,k=1}}w=k;break;case 2:break;default:t(0)}c=w}}if(p=p[0],h=h[0],c&&v(b,1)&&!(c=1<=(g=v(b,4))&&11>=g)){s.a=3;break e}var U;if(U=c)t:{var Z,H,$,V=s,X=p,Q=h,Y=g,G=r,K=V.m,J=V.s,ee=[null],te=1,ne=0,re=Jr[Y];n:for(;;){if(G&&v(K,1)){var oe=v(K,3)+2,ie=R(X,oe),ae=R(Q,oe),se=ie*ae;if(!Ee(ie,ae,0,V,ee))break n;for(ee=ee[0],J.xc=oe,Z=0;Z<se;++Z){var le=ee[Z]>>8&65535;ee[Z]=le,le>=te&&(te=le+1)}}if(K.h)break n;for(H=0;5>H;++H){var ce=Qr[H];!H&&0<Y&&(ce+=1<<Y),ne<ce&&(ne=ce)}var ue=a(te*re,d),de=te,pe=a(de,f);if(null==pe)var fe=null;else t(65536>=de),fe=pe;var he=i(ne);if(null==fe||null==he||null==ue){V.a=1;break n}var be=ue;for(Z=$=0;Z<te;++Z){var Ae=fe[Z],me=Ae.G,ge=Ae.H,ye=0,Me=1,Oe=0;for(H=0;5>H;++H){ce=Qr[H],me[H]=be,ge[H]=$,!H&&0<Y&&(ce+=1<<Y);r:{var _e,ze=ce,xe=V,Se=he,ke=be,De=$,Ne=0,Te=xe.m,je=v(Te,1);if(o(Se,0,0,ze),je){var Be=v(Te,1)+1,Le=v(Te,1),Re=v(Te,0==Le?1:8);Se[Re]=1,2==Be&&(Se[Re=v(Te,8)]=1);var qe=1}else{var Pe=i(19),Ie=v(Te,4)+4;if(19<Ie){xe.a=3;var We=0;break r}for(_e=0;_e<Ie;++_e)Pe[Gr[_e]]=v(Te,3);var Fe=void 0,Ue=void 0,Ze=xe,He=Pe,$e=ze,Ve=Se,Xe=0,Qe=Ze.m,Ye=8,Ge=a(128,d);o:for(;u(Ge,0,7,He,19);){if(v(Qe,1)){var Ke=2+2*v(Qe,3);if((Fe=2+v(Qe,Ke))>$e)break o}else Fe=$e;for(Ue=0;Ue<$e&&Fe--;){x(Qe);var Je=Ge[0+(127&O(Qe))];z(Qe,Qe.u+Je.g);var et=Je.value;if(16>et)Ve[Ue++]=et,0!=et&&(Ye=et);else{var tt=16==et,nt=et-16,rt=Xr[nt],ot=v(Qe,Vr[nt])+rt;if(Ue+ot>$e)break o;for(var it=tt?Ye:0;0<ot--;)Ve[Ue++]=it}}Xe=1;break o}Xe||(Ze.a=3),qe=Xe}(qe=qe&&!Te.h)&&(Ne=u(ke,De,8,Se,ze)),qe&&0!=Ne?We=Ne:(xe.a=3,We=0)}if(0==We)break n;if(Me&&1==Yr[H]&&(Me=0==be[$].g),ye+=be[$].g,$+=We,3>=H){var at,st=he[0];for(at=1;at<ce;++at)he[at]>st&&(st=he[at]);Oe+=st}}if(Ae.nd=Me,Ae.Qb=0,Me&&(Ae.qb=(me[3][ge[3]+0].value<<24|me[1][ge[1]+0].value<<16|me[2][ge[2]+0].value)>>>0,0==ye&&256>me[0][ge[0]+0].value&&(Ae.Qb=1,Ae.qb+=me[0][ge[0]+0].value<<8)),Ae.jc=!Ae.Qb&&6>Oe,Ae.jc){var lt,ct=Ae;for(lt=0;lt<Pn;++lt){var ut=lt,dt=ct.pd[ut],pt=ct.G[0][ct.H[0]+ut];256<=pt.value?(dt.g=pt.g+256,dt.value=pt.value):(dt.g=0,dt.value=0,ut>>=ve(pt,8,dt),ut>>=ve(ct.G[1][ct.H[1]+ut],16,dt),ut>>=ve(ct.G[2][ct.H[2]+ut],0,dt),ve(ct.G[3][ct.H[3]+ut],24,dt))}}}J.vc=ee,J.Wb=te,J.Ya=fe,J.yc=ue,U=1;break t}U=0}if(!(c=U)){s.a=3;break e}if(0<g){if(A.ua=1<<g,!T(A.Wa,g)){s.a=1,c=0;break e}}else A.ua=0;var ft=s,ht=p,bt=h,At=ft.s,mt=At.xc;if(ft.c=ht,ft.i=bt,At.md=R(ht,mt),At.wc=0==mt?-1:(1<<mt)-1,r){s.xb=bo;break e}if(null==(m=i(p*h))){s.a=1,c=0;break e}c=(c=we(s,m,0,p,h,h,null))&&!b.h;break e}return c?(null!=l?l[0]=m:(t(null==m),t(r)),s.$=0,r||Ce(A)):Ce(A),c}function ke(e,n){var r=e.c*e.i,o=r+n+16*n;return t(e.c<=n),e.V=i(o),null==e.V?(e.Ta=null,e.Ua=0,e.a=1,0):(e.Ta=e.V,e.Ua=e.Ba+r+n,1)}function De(e,n){var r=e.C,o=n-r,i=e.V,a=e.Ba+e.c*r;for(t(n<=e.l.o);0<o;){var s=16<o?16:o,l=e.l.ma,c=e.l.width,u=c*s,d=l.ca,p=l.tb+c*r,f=e.Ta,h=e.Ua;Me(e,s,i,a),wr(f,h,d,p,u),ze(l,r,r+s,d,p,c),o-=s,i+=s*e.c,r+=s}t(r==n),e.C=e.Ma=n}function Ne(){this.ub=this.yd=this.td=this.Rb=0}function Te(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function je(){this.Fb=this.Bb=this.Cb=0,this.Zb=i(4),this.Lb=i(4)}function Be(){this.Yb=function(){var e=[];return function e(t,n,r){for(var o=r[n],i=0;i<o&&(t.push(r.length>n+1?[]:0),!(r.length<n+1));i++)e(t[i],n+1,r)}(e,0,[3,11]),e}()}function Le(){this.jb=i(3),this.Wc=s([4,8],Be),this.Xc=s([4,17],Be)}function Re(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new i(4),this.od=new i(4)}function qe(){this.ld=this.La=this.dd=this.tc=0}function Pe(){this.Na=this.la=0}function Ie(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function We(){this.ad=i(384),this.Za=0,this.Ob=i(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function Fe(){this.uc=this.M=this.Nb=0,this.wa=Array(new qe),this.Y=0,this.ya=Array(new We),this.aa=0,this.l=new $e}function Ue(){this.y=i(16),this.f=i(8),this.ea=i(8)}function Ze(){this.cb=this.a=0,this.sc="",this.m=new y,this.Od=new Ne,this.Kc=new Te,this.ed=new Re,this.Qa=new je,this.Ic=this.$c=this.Aa=0,this.D=new Fe,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=a(8,y),this.ia=0,this.pb=a(4,Ie),this.Pa=new Le,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new Ue),this.Hd=0,this.rb=Array(new Pe),this.sb=0,this.wa=Array(new qe),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new We),this.L=this.aa=0,this.gd=s([4,2],qe),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function He(e,t){return 0>e?0:e>t?t:e}function $e(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Ve(){var e=new Ze;return null!=e&&(e.a=0,e.sc="OK",e.cb=0,e.Xb=0,ro||(ro=Ge)),e}function Xe(e,t,n){return 0==e.a&&(e.a=t,e.sc=n,e.cb=0),0}function Qe(e,t,n){return 3<=n&&157==e[t+0]&&1==e[t+1]&&42==e[t+2]}function Ye(e,n){if(null==e)return 0;if(e.a=0,e.sc="OK",null==n)return Xe(e,2,"null VP8Io passed to VP8GetHeaders()");var r=n.data,i=n.w,a=n.ha;if(4>a)return Xe(e,7,"Truncated header.");var s=r[i+0]|r[i+1]<<8|r[i+2]<<16,l=e.Od;if(l.Rb=!(1&s),l.td=s>>1&7,l.yd=s>>4&1,l.ub=s>>5,3<l.td)return Xe(e,3,"Incorrect keyframe parameters.");if(!l.yd)return Xe(e,4,"Frame not displayable.");i+=3,a-=3;var c=e.Kc;if(l.Rb){if(7>a)return Xe(e,7,"cannot parse picture header");if(!Qe(r,i,a))return Xe(e,3,"Bad code word");c.c=16383&(r[i+4]<<8|r[i+3]),c.Td=r[i+4]>>6,c.i=16383&(r[i+6]<<8|r[i+5]),c.Ud=r[i+6]>>6,i+=7,a-=7,e.za=c.c+15>>4,e.Ub=c.i+15>>4,n.width=c.c,n.height=c.i,n.Da=0,n.j=0,n.v=0,n.va=n.width,n.o=n.height,n.da=0,n.ib=n.width,n.hb=n.height,n.U=n.width,n.T=n.height,o((s=e.Pa).jb,0,255,s.jb.length),t(null!=(s=e.Qa)),s.Cb=0,s.Bb=0,s.Fb=1,o(s.Zb,0,0,s.Zb.length),o(s.Lb,0,0,s.Lb)}if(l.ub>a)return Xe(e,7,"bad partition length");h(s=e.m,r,i,l.ub),i+=l.ub,a-=l.ub,l.Rb&&(c.Ld=C(s),c.Kd=C(s)),c=e.Qa;var u,d=e.Pa;if(t(null!=s),t(null!=c),c.Cb=C(s),c.Cb){if(c.Bb=C(s),C(s)){for(c.Fb=C(s),u=0;4>u;++u)c.Zb[u]=C(s)?A(s,7):0;for(u=0;4>u;++u)c.Lb[u]=C(s)?A(s,6):0}if(c.Bb)for(u=0;3>u;++u)d.jb[u]=C(s)?b(s,8):255}else c.Bb=0;if(s.Ka)return Xe(e,3,"cannot parse segment header");if((c=e.ed).zd=C(s),c.Tb=b(s,6),c.wb=b(s,3),c.Pc=C(s),c.Pc&&C(s)){for(d=0;4>d;++d)C(s)&&(c.vd[d]=A(s,6));for(d=0;4>d;++d)C(s)&&(c.od[d]=A(s,6))}if(e.L=0==c.Tb?0:c.zd?1:2,s.Ka)return Xe(e,3,"cannot parse filter header");var p=a;if(a=u=i,i=u+p,c=p,e.Xb=(1<<b(e.m,2))-1,p<3*(d=e.Xb))r=7;else{for(u+=3*d,c-=3*d,p=0;p<d;++p){var f=r[a+0]|r[a+1]<<8|r[a+2]<<16;f>c&&(f=c),h(e.Jc[+p],r,u,f),u+=f,c-=f,a+=3}h(e.Jc[+d],r,u,c),r=u<i?0:5}if(0!=r)return Xe(e,r,"cannot parse partitions");for(r=b(u=e.m,7),a=C(u)?A(u,4):0,i=C(u)?A(u,4):0,c=C(u)?A(u,4):0,d=C(u)?A(u,4):0,u=C(u)?A(u,4):0,p=e.Qa,f=0;4>f;++f){if(p.Cb){var m=p.Zb[f];p.Fb||(m+=r)}else{if(0<f){e.pb[f]=e.pb[0];continue}m=r}var g=e.pb[f];g.Sc[0]=to[He(m+a,127)],g.Sc[1]=no[He(m+0,127)],g.Eb[0]=2*to[He(m+i,127)],g.Eb[1]=101581*no[He(m+c,127)]>>16,8>g.Eb[1]&&(g.Eb[1]=8),g.Qc[0]=to[He(m+d,117)],g.Qc[1]=no[He(m+u,127)],g.lc=m+u}if(!l.Rb)return Xe(e,4,"Not a key frame.");for(C(s),l=e.Pa,r=0;4>r;++r){for(a=0;8>a;++a)for(i=0;3>i;++i)for(c=0;11>c;++c)d=S(s,co[r][a][i][c])?b(s,8):so[r][a][i][c],l.Wc[r][a].Yb[i][c]=d;for(a=0;17>a;++a)l.Xc[r][a]=l.Wc[r][uo[a]]}return e.kc=C(s),e.kc&&(e.Bd=b(s,8)),e.cb=1}function Ge(e,t,n,r,o,i,a){var s=t[o].Yb[n];for(n=0;16>o;++o){if(!S(e,s[n+0]))return o;for(;!S(e,s[n+1]);)if(s=t[++o].Yb[0],n=0,16==o)return 16;var l=t[o+1].Yb;if(S(e,s[n+2])){var c=e,u=0;if(S(c,(p=s)[(d=n)+3]))if(S(c,p[d+6])){for(s=0,d=2*(u=S(c,p[d+8]))+(p=S(c,p[d+9+u])),u=0,p=oo[d];p[s];++s)u+=u+S(c,p[s]);u+=3+(8<<d)}else S(c,p[d+7])?(u=7+2*S(c,165),u+=S(c,145)):u=5+S(c,159);else u=S(c,p[d+4])?3+S(c,p[d+5]):2;s=l[2]}else u=1,s=l[1];l=a+io[o],0>(c=e).b&&w(c);var d,p=c.b,f=(d=c.Ca>>1)-(c.I>>p)>>31;--c.b,c.Ca+=f,c.Ca|=1,c.I-=(d+1&f)<<p,i[l]=((u^f)-f)*r[(0<o)+0]}return 16}function Ke(e){var t=e.rb[e.sb-1];t.la=0,t.Na=0,o(e.zc,0,0,e.zc.length),e.ja=0}function Je(e,n){if(null==e)return 0;if(null==n)return Xe(e,2,"NULL VP8Io parameter in VP8Decode().");if(!e.cb&&!Ye(e,n))return 0;if(t(e.cb),null==n.ac||n.ac(n)){n.ob&&(e.L=0);var s=Io[e.L];if(2==e.L?(e.yb=0,e.zb=0):(e.yb=n.v-s>>4,e.zb=n.j-s>>4,0>e.yb&&(e.yb=0),0>e.zb&&(e.zb=0)),e.Va=n.o+15+s>>4,e.Hb=n.va+15+s>>4,e.Hb>e.za&&(e.Hb=e.za),e.Va>e.Ub&&(e.Va=e.Ub),0<e.L){var l=e.ed;for(s=0;4>s;++s){var c;if(e.Qa.Cb){var u=e.Qa.Lb[s];e.Qa.Fb||(u+=l.Tb)}else u=l.Tb;for(c=0;1>=c;++c){var d=e.gd[s][c],p=u;if(l.Pc&&(p+=l.vd[0],c&&(p+=l.od[0])),0<(p=0>p?0:63<p?63:p)){var f=p;0<l.wb&&(f=4<l.wb?f>>2:f>>1)>9-l.wb&&(f=9-l.wb),1>f&&(f=1),d.dd=f,d.tc=2*p+f,d.ld=40<=p?2:15<=p?1:0}else d.tc=0;d.La=c}}}s=0}else Xe(e,6,"Frame setup failed"),s=e.a;if(s=0==s){if(s){e.$c=0,0<e.Aa||(e.Ic=Fo);e:{s=e.Ic,l=4*(f=e.za);var h=32*f,b=f+1,A=0<e.L?f*(0<e.Aa?2:1):0,m=(2==e.Aa?2:1)*f;if((d=l+832+(c=3*(16*s+Io[e.L])/2*h)+(u=null!=e.Fa&&0<e.Fa.length?e.Kc.c*e.Kc.i:0))!=d)s=0;else{if(d>e.Vb){if(e.Vb=0,e.Ec=i(d),e.Fc=0,null==e.Ec){s=Xe(e,1,"no memory during frame initialization.");break e}e.Vb=d}d=e.Ec,p=e.Fc,e.Ac=d,e.Bc=p,p+=l,e.Gd=a(h,Ue),e.Hd=0,e.rb=a(b+1,Pe),e.sb=1,e.wa=A?a(A,qe):null,e.Y=0,e.D.Nb=0,e.D.wa=e.wa,e.D.Y=e.Y,0<e.Aa&&(e.D.Y+=f),t(!0),e.oc=d,e.pc=p,p+=832,e.ya=a(m,We),e.aa=0,e.D.ya=e.ya,e.D.aa=e.aa,2==e.Aa&&(e.D.aa+=f),e.R=16*f,e.B=8*f,f=(h=Io[e.L])*e.R,h=h/2*e.B,e.sa=d,e.ta=p+f,e.qa=e.sa,e.ra=e.ta+16*s*e.R+h,e.Ha=e.qa,e.Ia=e.ra+8*s*e.B+h,e.$c=0,p+=c,e.mb=u?d:null,e.nb=u?p:null,t(p+u<=e.Fc+e.Vb),Ke(e),o(e.Ac,e.Bc,0,l),s=1}}if(s){if(n.ka=0,n.y=e.sa,n.O=e.ta,n.f=e.qa,n.N=e.ra,n.ea=e.Ha,n.Vd=e.Ia,n.fa=e.R,n.Rc=e.B,n.F=null,n.J=0,!Dr){for(s=-255;255>=s;++s)Cr[255+s]=0>s?-s:s;for(s=-1020;1020>=s;++s)Sr[1020+s]=-128>s?-128:127<s?127:s;for(s=-112;112>=s;++s)Er[112+s]=-16>s?-16:15<s?15:s;for(s=-255;510>=s;++s)kr[255+s]=0>s?0:255<s?255:s;Dr=1}ir=ct,ar=it,lr=at,cr=st,ur=lt,sr=ot,dr=Xt,pr=Qt,fr=Kt,hr=Jt,br=Yt,Ar=Gt,mr=en,gr=tn,vr=Ft,yr=Ut,Mr=Zt,Or=Ht,fo[0]=zt,fo[1]=dt,fo[2]=Ot,fo[3]=_t,fo[4]=xt,fo[5]=Ct,fo[6]=wt,fo[7]=St,fo[8]=kt,fo[9]=Et,po[0]=mt,po[1]=ft,po[2]=ht,po[3]=bt,po[4]=gt,po[5]=vt,po[6]=yt,ho[0]=jt,ho[1]=pt,ho[2]=Dt,ho[3]=Nt,ho[4]=Lt,ho[5]=Bt,ho[6]=Rt,s=1}else s=0}s&&(s=function(e,n){for(e.M=0;e.M<e.Va;++e.M){var a,s=e.Jc[e.M&e.Xb],l=e.m,c=e;for(a=0;a<c.za;++a){var u=l,d=c,p=d.Ac,f=d.Bc+4*a,h=d.zc,b=d.ya[d.aa+a];if(d.Qa.Bb?b.$b=S(u,d.Pa.jb[0])?2+S(u,d.Pa.jb[2]):S(u,d.Pa.jb[1]):b.$b=0,d.kc&&(b.Ad=S(u,d.Bd)),b.Za=!S(u,145)+0,b.Za){var A=b.Ob,m=0;for(d=0;4>d;++d){var g,v=h[0+d];for(g=0;4>g;++g){v=lo[p[f+g]][v];for(var y=ao[S(u,v[0])];0<y;)y=ao[2*y+S(u,v[y])];v=-y,p[f+g]=v}r(A,m,p,f,4),m+=4,h[0+d]=v}}else v=S(u,156)?S(u,128)?1:3:S(u,163)?2:0,b.Ob[0]=v,o(p,f,v,4),o(h,0,v,4);b.Dd=S(u,142)?S(u,114)?S(u,183)?1:3:2:0}if(c.m.Ka)return Xe(e,7,"Premature end-of-partition0 encountered.");for(;e.ja<e.za;++e.ja){if(c=s,u=(l=e).rb[l.sb-1],p=l.rb[l.sb+l.ja],a=l.ya[l.aa+l.ja],f=l.kc?a.Ad:0)u.la=p.la=0,a.Za||(u.Na=p.Na=0),a.Hc=0,a.Gc=0,a.ia=0;else{var M,O;if(u=p,p=c,f=l.Pa.Xc,h=l.ya[l.aa+l.ja],b=l.pb[h.$b],d=h.ad,A=0,m=l.rb[l.sb-1],v=g=0,o(d,A,0,384),h.Za)var _=0,z=f[3];else{y=i(16);var x=u.Na+m.Na;if(x=ro(p,f[1],x,b.Eb,0,y,0),u.Na=m.Na=(0<x)+0,1<x)ir(y,0,d,A);else{var w=y[0]+3>>3;for(y=0;256>y;y+=16)d[A+y]=w}_=1,z=f[0]}var C=15&u.la,E=15&m.la;for(y=0;4>y;++y){var k=1&E;for(w=O=0;4>w;++w)C=C>>1|(k=(x=ro(p,z,x=k+(1&C),b.Sc,_,d,A))>_)<<7,O=O<<2|(3<x?3:1<x?2:0!=d[A+0]),A+=16;C>>=4,E=E>>1|k<<7,g=(g<<8|O)>>>0}for(z=C,_=E>>4,M=0;4>M;M+=2){for(O=0,C=u.la>>4+M,E=m.la>>4+M,y=0;2>y;++y){for(k=1&E,w=0;2>w;++w)x=k+(1&C),C=C>>1|(k=0<(x=ro(p,f[2],x,b.Qc,0,d,A)))<<3,O=O<<2|(3<x?3:1<x?2:0!=d[A+0]),A+=16;C>>=2,E=E>>1|k<<5}v|=O<<4*M,z|=C<<4<<M,_|=(240&E)<<M}u.la=z,m.la=_,h.Hc=g,h.Gc=v,h.ia=43690&v?0:b.ia,f=!(g|v)}if(0<l.L&&(l.wa[l.Y+l.ja]=l.gd[a.$b][a.Za],l.wa[l.Y+l.ja].La|=!f),c.Ka)return Xe(e,7,"Premature end-of-file encountered.")}if(Ke(e),l=n,c=1,a=(s=e).D,u=0<s.L&&s.M>=s.zb&&s.M<=s.Va,0==s.Aa)e:{if(a.M=s.M,a.uc=u,jn(s,a),c=1,a=(O=s.D).Nb,u=(v=Io[s.L])*s.R,p=v/2*s.B,y=16*a*s.R,w=8*a*s.B,f=s.sa,h=s.ta-u+y,b=s.qa,d=s.ra-p+w,A=s.Ha,m=s.Ia-p+w,E=0==(C=O.M),g=C>=s.Va-1,2==s.Aa&&jn(s,O),O.uc)for(k=(x=s).D.M,t(x.D.uc),O=x.yb;O<x.Hb;++O){_=O,z=k;var D=(N=(W=x).D).Nb;M=W.R;var N=N.wa[N.Y+_],T=W.sa,j=W.ta+16*D*M+16*_,B=N.dd,L=N.tc;if(0!=L)if(t(3<=L),1==W.L)0<_&&yr(T,j,M,L+4),N.La&&Or(T,j,M,L),0<z&&vr(T,j,M,L+4),N.La&&Mr(T,j,M,L);else{var R=W.B,q=W.qa,P=W.ra+8*D*R+8*_,I=W.Ha,W=W.Ia+8*D*R+8*_;D=N.ld,0<_&&(pr(T,j,M,L+4,B,D),hr(q,P,I,W,R,L+4,B,D)),N.La&&(Ar(T,j,M,L,B,D),gr(q,P,I,W,R,L,B,D)),0<z&&(dr(T,j,M,L+4,B,D),fr(q,P,I,W,R,L+4,B,D)),N.La&&(br(T,j,M,L,B,D),mr(q,P,I,W,R,L,B,D))}}if(s.ia&&alert("todo:DitherRow"),null!=l.put){if(O=16*C,C=16*(C+1),E?(l.y=s.sa,l.O=s.ta+y,l.f=s.qa,l.N=s.ra+w,l.ea=s.Ha,l.W=s.Ia+w):(O-=v,l.y=f,l.O=h,l.f=b,l.N=d,l.ea=A,l.W=m),g||(C-=v),C>l.o&&(C=l.o),l.F=null,l.J=null,null!=s.Fa&&0<s.Fa.length&&O<C&&(l.J=pn(s,l,O,C-O),l.F=s.mb,null==l.F&&0==l.F.length)){c=Xe(s,3,"Could not decode alpha data.");break e}O<l.j&&(v=l.j-O,O=l.j,t(!(1&v)),l.O+=s.R*v,l.N+=s.B*(v>>1),l.W+=s.B*(v>>1),null!=l.F&&(l.J+=l.width*v)),O<C&&(l.O+=l.v,l.N+=l.v>>1,l.W+=l.v>>1,null!=l.F&&(l.J+=l.v),l.ka=O-l.j,l.U=l.va-l.v,l.T=C-O,c=l.put(l))}a+1!=s.Ic||g||(r(s.sa,s.ta-u,f,h+16*s.R,u),r(s.qa,s.ra-p,b,d+8*s.B,p),r(s.Ha,s.Ia-p,A,m+8*s.B,p))}if(!c)return Xe(e,6,"Output aborted.")}return 1}(e,n)),null!=n.bc&&n.bc(n),s&=1}return s?(e.cb=0,s):0}function et(e,t,n,r,o){o=e[t+n+32*r]+(o>>3),e[t+n+32*r]=-256&o?0>o?0:255:o}function tt(e,t,n,r,o,i){et(e,t,0,n,r+o),et(e,t,1,n,r+i),et(e,t,2,n,r-i),et(e,t,3,n,r-o)}function nt(e){return(20091*e>>16)+e}function rt(e,t,n,r){var o,a=0,s=i(16);for(o=0;4>o;++o){var l=e[t+0]+e[t+8],c=e[t+0]-e[t+8],u=(35468*e[t+4]>>16)-nt(e[t+12]),d=nt(e[t+4])+(35468*e[t+12]>>16);s[a+0]=l+d,s[a+1]=c+u,s[a+2]=c-u,s[a+3]=l-d,a+=4,t++}for(o=a=0;4>o;++o)l=(e=s[a+0]+4)+s[a+8],c=e-s[a+8],u=(35468*s[a+4]>>16)-nt(s[a+12]),et(n,r,0,0,l+(d=nt(s[a+4])+(35468*s[a+12]>>16))),et(n,r,1,0,c+u),et(n,r,2,0,c-u),et(n,r,3,0,l-d),a++,r+=32}function ot(e,t,n,r){var o=e[t+0]+4,i=35468*e[t+4]>>16,a=nt(e[t+4]),s=35468*e[t+1]>>16;tt(n,r,0,o+a,e=nt(e[t+1]),s),tt(n,r,1,o+i,e,s),tt(n,r,2,o-i,e,s),tt(n,r,3,o-a,e,s)}function it(e,t,n,r,o){rt(e,t,n,r),o&&rt(e,t+16,n,r+4)}function at(e,t,n,r){ar(e,t+0,n,r,1),ar(e,t+32,n,r+128,1)}function st(e,t,n,r){var o;for(e=e[t+0]+4,o=0;4>o;++o)for(t=0;4>t;++t)et(n,r,t,o,e)}function lt(e,t,n,r){e[t+0]&&cr(e,t+0,n,r),e[t+16]&&cr(e,t+16,n,r+4),e[t+32]&&cr(e,t+32,n,r+128),e[t+48]&&cr(e,t+48,n,r+128+4)}function ct(e,t,n,r){var o,a=i(16);for(o=0;4>o;++o){var s=e[t+0+o]+e[t+12+o],l=e[t+4+o]+e[t+8+o],c=e[t+4+o]-e[t+8+o],u=e[t+0+o]-e[t+12+o];a[0+o]=s+l,a[8+o]=s-l,a[4+o]=u+c,a[12+o]=u-c}for(o=0;4>o;++o)s=(e=a[0+4*o]+3)+a[3+4*o],l=a[1+4*o]+a[2+4*o],c=a[1+4*o]-a[2+4*o],u=e-a[3+4*o],n[r+0]=s+l>>3,n[r+16]=u+c>>3,n[r+32]=s-l>>3,n[r+48]=u-c>>3,r+=64}function ut(e,t,n){var r,o=t-32,i=jr,a=255-e[o-1];for(r=0;r<n;++r){var s,l=i,c=a+e[t-1];for(s=0;s<n;++s)e[t+s]=l[c+e[o+s]];t+=32}}function dt(e,t){ut(e,t,4)}function pt(e,t){ut(e,t,8)}function ft(e,t){ut(e,t,16)}function ht(e,t){var n;for(n=0;16>n;++n)r(e,t+32*n,e,t-32,16)}function bt(e,t){var n;for(n=16;0<n;--n)o(e,t,e[t-1],16),t+=32}function At(e,t,n){var r;for(r=0;16>r;++r)o(t,n+32*r,e,16)}function mt(e,t){var n,r=16;for(n=0;16>n;++n)r+=e[t-1+32*n]+e[t+n-32];At(r>>5,e,t)}function gt(e,t){var n,r=8;for(n=0;16>n;++n)r+=e[t-1+32*n];At(r>>4,e,t)}function vt(e,t){var n,r=8;for(n=0;16>n;++n)r+=e[t+n-32];At(r>>4,e,t)}function yt(e,t){At(128,e,t)}function Mt(e,t,n){return e+2*t+n+2>>2}function Ot(e,t){var n,o=t-32;for(o=new Uint8Array([Mt(e[o-1],e[o+0],e[o+1]),Mt(e[o+0],e[o+1],e[o+2]),Mt(e[o+1],e[o+2],e[o+3]),Mt(e[o+2],e[o+3],e[o+4])]),n=0;4>n;++n)r(e,t+32*n,o,0,o.length)}function _t(e,t){var n=e[t-1],r=e[t-1+32],o=e[t-1+64],i=e[t-1+96];E(e,t+0,16843009*Mt(e[t-1-32],n,r)),E(e,t+32,16843009*Mt(n,r,o)),E(e,t+64,16843009*Mt(r,o,i)),E(e,t+96,16843009*Mt(o,i,i))}function zt(e,t){var n,r=4;for(n=0;4>n;++n)r+=e[t+n-32]+e[t-1+32*n];for(r>>=3,n=0;4>n;++n)o(e,t+32*n,r,4)}function xt(e,t){var n=e[t-1+0],r=e[t-1+32],o=e[t-1+64],i=e[t-1-32],a=e[t+0-32],s=e[t+1-32],l=e[t+2-32],c=e[t+3-32];e[t+0+96]=Mt(r,o,e[t-1+96]),e[t+1+96]=e[t+0+64]=Mt(n,r,o),e[t+2+96]=e[t+1+64]=e[t+0+32]=Mt(i,n,r),e[t+3+96]=e[t+2+64]=e[t+1+32]=e[t+0+0]=Mt(a,i,n),e[t+3+64]=e[t+2+32]=e[t+1+0]=Mt(s,a,i),e[t+3+32]=e[t+2+0]=Mt(l,s,a),e[t+3+0]=Mt(c,l,s)}function wt(e,t){var n=e[t+1-32],r=e[t+2-32],o=e[t+3-32],i=e[t+4-32],a=e[t+5-32],s=e[t+6-32],l=e[t+7-32];e[t+0+0]=Mt(e[t+0-32],n,r),e[t+1+0]=e[t+0+32]=Mt(n,r,o),e[t+2+0]=e[t+1+32]=e[t+0+64]=Mt(r,o,i),e[t+3+0]=e[t+2+32]=e[t+1+64]=e[t+0+96]=Mt(o,i,a),e[t+3+32]=e[t+2+64]=e[t+1+96]=Mt(i,a,s),e[t+3+64]=e[t+2+96]=Mt(a,s,l),e[t+3+96]=Mt(s,l,l)}function Ct(e,t){var n=e[t-1+0],r=e[t-1+32],o=e[t-1+64],i=e[t-1-32],a=e[t+0-32],s=e[t+1-32],l=e[t+2-32],c=e[t+3-32];e[t+0+0]=e[t+1+64]=i+a+1>>1,e[t+1+0]=e[t+2+64]=a+s+1>>1,e[t+2+0]=e[t+3+64]=s+l+1>>1,e[t+3+0]=l+c+1>>1,e[t+0+96]=Mt(o,r,n),e[t+0+64]=Mt(r,n,i),e[t+0+32]=e[t+1+96]=Mt(n,i,a),e[t+1+32]=e[t+2+96]=Mt(i,a,s),e[t+2+32]=e[t+3+96]=Mt(a,s,l),e[t+3+32]=Mt(s,l,c)}function St(e,t){var n=e[t+0-32],r=e[t+1-32],o=e[t+2-32],i=e[t+3-32],a=e[t+4-32],s=e[t+5-32],l=e[t+6-32],c=e[t+7-32];e[t+0+0]=n+r+1>>1,e[t+1+0]=e[t+0+64]=r+o+1>>1,e[t+2+0]=e[t+1+64]=o+i+1>>1,e[t+3+0]=e[t+2+64]=i+a+1>>1,e[t+0+32]=Mt(n,r,o),e[t+1+32]=e[t+0+96]=Mt(r,o,i),e[t+2+32]=e[t+1+96]=Mt(o,i,a),e[t+3+32]=e[t+2+96]=Mt(i,a,s),e[t+3+64]=Mt(a,s,l),e[t+3+96]=Mt(s,l,c)}function Et(e,t){var n=e[t-1+0],r=e[t-1+32],o=e[t-1+64],i=e[t-1+96];e[t+0+0]=n+r+1>>1,e[t+2+0]=e[t+0+32]=r+o+1>>1,e[t+2+32]=e[t+0+64]=o+i+1>>1,e[t+1+0]=Mt(n,r,o),e[t+3+0]=e[t+1+32]=Mt(r,o,i),e[t+3+32]=e[t+1+64]=Mt(o,i,i),e[t+3+64]=e[t+2+64]=e[t+0+96]=e[t+1+96]=e[t+2+96]=e[t+3+96]=i}function kt(e,t){var n=e[t-1+0],r=e[t-1+32],o=e[t-1+64],i=e[t-1+96],a=e[t-1-32],s=e[t+0-32],l=e[t+1-32],c=e[t+2-32];e[t+0+0]=e[t+2+32]=n+a+1>>1,e[t+0+32]=e[t+2+64]=r+n+1>>1,e[t+0+64]=e[t+2+96]=o+r+1>>1,e[t+0+96]=i+o+1>>1,e[t+3+0]=Mt(s,l,c),e[t+2+0]=Mt(a,s,l),e[t+1+0]=e[t+3+32]=Mt(n,a,s),e[t+1+32]=e[t+3+64]=Mt(r,n,a),e[t+1+64]=e[t+3+96]=Mt(o,r,n),e[t+1+96]=Mt(i,o,r)}function Dt(e,t){var n;for(n=0;8>n;++n)r(e,t+32*n,e,t-32,8)}function Nt(e,t){var n;for(n=0;8>n;++n)o(e,t,e[t-1],8),t+=32}function Tt(e,t,n){var r;for(r=0;8>r;++r)o(t,n+32*r,e,8)}function jt(e,t){var n,r=8;for(n=0;8>n;++n)r+=e[t+n-32]+e[t-1+32*n];Tt(r>>4,e,t)}function Bt(e,t){var n,r=4;for(n=0;8>n;++n)r+=e[t+n-32];Tt(r>>3,e,t)}function Lt(e,t){var n,r=4;for(n=0;8>n;++n)r+=e[t-1+32*n];Tt(r>>3,e,t)}function Rt(e,t){Tt(128,e,t)}function qt(e,t,n){var r=e[t-n],o=e[t+0],i=3*(o-r)+Nr[1020+e[t-2*n]-e[t+n]],a=Tr[112+(i+4>>3)];e[t-n]=jr[255+r+Tr[112+(i+3>>3)]],e[t+0]=jr[255+o-a]}function Pt(e,t,n,r){var o=e[t+0],i=e[t+n];return Br[255+e[t-2*n]-e[t-n]]>r||Br[255+i-o]>r}function It(e,t,n,r){return 4*Br[255+e[t-n]-e[t+0]]+Br[255+e[t-2*n]-e[t+n]]<=r}function Wt(e,t,n,r,o){var i=e[t-3*n],a=e[t-2*n],s=e[t-n],l=e[t+0],c=e[t+n],u=e[t+2*n],d=e[t+3*n];return 4*Br[255+s-l]+Br[255+a-c]>r?0:Br[255+e[t-4*n]-i]<=o&&Br[255+i-a]<=o&&Br[255+a-s]<=o&&Br[255+d-u]<=o&&Br[255+u-c]<=o&&Br[255+c-l]<=o}function Ft(e,t,n,r){var o=2*r+1;for(r=0;16>r;++r)It(e,t+r,n,o)&&qt(e,t+r,n)}function Ut(e,t,n,r){var o=2*r+1;for(r=0;16>r;++r)It(e,t+r*n,1,o)&&qt(e,t+r*n,1)}function Zt(e,t,n,r){var o;for(o=3;0<o;--o)Ft(e,t+=4*n,n,r)}function Ht(e,t,n,r){var o;for(o=3;0<o;--o)Ut(e,t+=4,n,r)}function $t(e,t,n,r,o,i,a,s){for(i=2*i+1;0<o--;){if(Wt(e,t,n,i,a))if(Pt(e,t,n,s))qt(e,t,n);else{var l=e,c=t,u=n,d=l[c-2*u],p=l[c-u],f=l[c+0],h=l[c+u],b=l[c+2*u],A=27*(g=Nr[1020+3*(f-p)+Nr[1020+d-h]])+63>>7,m=18*g+63>>7,g=9*g+63>>7;l[c-3*u]=jr[255+l[c-3*u]+g],l[c-2*u]=jr[255+d+m],l[c-u]=jr[255+p+A],l[c+0]=jr[255+f-A],l[c+u]=jr[255+h-m],l[c+2*u]=jr[255+b-g]}t+=r}}function Vt(e,t,n,r,o,i,a,s){for(i=2*i+1;0<o--;){if(Wt(e,t,n,i,a))if(Pt(e,t,n,s))qt(e,t,n);else{var l=e,c=t,u=n,d=l[c-u],p=l[c+0],f=l[c+u],h=Tr[112+(4+(b=3*(p-d))>>3)],b=Tr[112+(b+3>>3)],A=h+1>>1;l[c-2*u]=jr[255+l[c-2*u]+A],l[c-u]=jr[255+d+b],l[c+0]=jr[255+p-h],l[c+u]=jr[255+f-A]}t+=r}}function Xt(e,t,n,r,o,i){$t(e,t,n,1,16,r,o,i)}function Qt(e,t,n,r,o,i){$t(e,t,1,n,16,r,o,i)}function Yt(e,t,n,r,o,i){var a;for(a=3;0<a;--a)Vt(e,t+=4*n,n,1,16,r,o,i)}function Gt(e,t,n,r,o,i){var a;for(a=3;0<a;--a)Vt(e,t+=4,1,n,16,r,o,i)}function Kt(e,t,n,r,o,i,a,s){$t(e,t,o,1,8,i,a,s),$t(n,r,o,1,8,i,a,s)}function Jt(e,t,n,r,o,i,a,s){$t(e,t,1,o,8,i,a,s),$t(n,r,1,o,8,i,a,s)}function en(e,t,n,r,o,i,a,s){Vt(e,t+4*o,o,1,8,i,a,s),Vt(n,r+4*o,o,1,8,i,a,s)}function tn(e,t,n,r,o,i,a,s){Vt(e,t+4,1,o,8,i,a,s),Vt(n,r+4,1,o,8,i,a,s)}function nn(){this.ba=new ae,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new le,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function rn(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function on(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function an(){this.ua=0,this.Wa=new B,this.vb=new B,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new f,this.yc=new d}function sn(){this.xb=this.a=0,this.l=new $e,this.ca=new ae,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new M,this.Pb=0,this.wd=new M,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new an,this.ab=0,this.gc=a(4,on),this.Oc=0}function ln(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new $e,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function cn(e,t,n,r,o,i,a){for(e=null==e?0:e[t+0],t=0;t<a;++t)o[i+t]=e+n[r+t]&255,e=o[i+t]}function un(e,t,n,r,o,i,a){var s;if(null==e)cn(null,null,n,r,o,i,a);else for(s=0;s<a;++s)o[i+s]=e[t+s]+n[r+s]&255}function dn(e,t,n,r,o,i,a){if(null==e)cn(null,null,n,r,o,i,a);else{var s,l=e[t+0],c=l,u=l;for(s=0;s<a;++s)c=u+(l=e[t+s])-c,u=n[r+s]+(-256&c?0>c?0:255:c)&255,c=l,o[i+s]=u}}function pn(e,n,o,a){var s=n.width,l=n.o;if(t(null!=e&&null!=n),0>o||0>=a||o+a>l)return null;if(!e.Cc){if(null==e.ga){var c;if(e.ga=new ln,(c=null==e.ga)||(c=n.width*n.o,t(0==e.Gb.length),e.Gb=i(c),e.Uc=0,null==e.Gb?c=0:(e.mb=e.Gb,e.nb=e.Uc,e.rc=null,c=1),c=!c),!c){c=e.ga;var u=e.Fa,d=e.P,p=e.qc,f=e.mb,h=e.nb,b=d+1,A=p-1,g=c.l;if(t(null!=u&&null!=f&&null!=n),mo[0]=null,mo[1]=cn,mo[2]=un,mo[3]=dn,c.ca=f,c.tb=h,c.c=n.width,c.i=n.height,t(0<c.c&&0<c.i),1>=p)n=0;else if(c.$a=u[d+0]>>0&3,c.Z=u[d+0]>>2&3,c.Lc=u[d+0]>>4&3,d=u[d+0]>>6&3,0>c.$a||1<c.$a||4<=c.Z||1<c.Lc||d)n=0;else if(g.put=fe,g.ac=pe,g.bc=he,g.ma=c,g.width=n.width,g.height=n.height,g.Da=n.Da,g.v=n.v,g.va=n.va,g.j=n.j,g.o=n.o,c.$a)e:{t(1==c.$a),n=Se();t:for(;;){if(null==n){n=0;break e}if(t(null!=c),c.mc=n,n.c=c.c,n.i=c.i,n.l=c.l,n.l.ma=c,n.l.width=c.c,n.l.height=c.i,n.a=0,m(n.m,u,b,A),!Ee(c.c,c.i,1,n,null))break t;if(1==n.ab&&3==n.gc[0].hc&&_e(n.s)?(c.ic=1,u=n.c*n.i,n.Ta=null,n.Ua=0,n.V=i(u),n.Ba=0,null==n.V?(n.a=1,n=0):n=1):(c.ic=0,n=ke(n,c.c)),!n)break t;n=1;break e}c.mc=null,n=0}else n=A>=c.c*c.i;c=!n}if(c)return null;1!=e.ga.Lc?e.Ga=0:a=l-o}t(null!=e.ga),t(o+a<=l);e:{if(n=(u=e.ga).c,l=u.l.o,0==u.$a){if(b=e.rc,A=e.Vc,g=e.Fa,d=e.P+1+o*n,p=e.mb,f=e.nb+o*n,t(d<=e.P+e.qc),0!=u.Z)for(t(null!=mo[u.Z]),c=0;c<a;++c)mo[u.Z](b,A,g,d,p,f,n),b=p,A=f,f+=n,d+=n;else for(c=0;c<a;++c)r(p,f,g,d,n),b=p,A=f,f+=n,d+=n;e.rc=b,e.Vc=A}else{if(t(null!=u.mc),n=o+a,t(null!=(c=u.mc)),t(n<=c.i),c.C>=n)n=1;else if(u.ic||mn(),u.ic){u=c.V,b=c.Ba,A=c.c;var v=c.i,y=(g=1,d=c.$/A,p=c.$%A,f=c.m,h=c.s,c.$),M=A*v,O=A*n,z=h.wc,w=y<O?ye(h,p,d):null;t(y<=M),t(n<=v),t(_e(h));t:for(;;){for(;!f.h&&y<O;){if(p&z||(w=ye(h,p,d)),t(null!=w),x(f),256>(v=ge(w.G[0],w.H[0],f)))u[b+y]=v,++y,++p>=A&&(p=0,++d<=n&&!(d%16)&&xe(c,d));else{if(!(280>v)){g=0;break t}v=Ae(v-256,f);var C,S=ge(w.G[4],w.H[4],f);if(x(f),!(y>=(S=me(A,S=Ae(S,f)))&&M-y>=v)){g=0;break t}for(C=0;C<v;++C)u[b+y+C]=u[b+y+C-S];for(y+=v,p+=v;p>=A;)p-=A,++d<=n&&!(d%16)&&xe(c,d);y<O&&p&z&&(w=ye(h,p,d))}t(f.h==_(f))}xe(c,d>n?n:d);break t}!g||f.h&&y<M?(g=0,c.a=f.h?5:3):c.$=y,n=g}else n=we(c,c.V,c.Ba,c.c,c.i,n,De);if(!n){a=0;break e}}o+a>=l&&(e.Cc=1),a=1}if(!a)return null;if(e.Cc&&(null!=(a=e.ga)&&(a.mc=null),e.ga=null,0<e.Ga))return alert("todo:WebPDequantizeLevels"),null}return e.nb+o*s}function fn(e,t,n,r,o,i){for(;0<o--;){var a,s=e,l=t+(n?1:0),c=e,u=t+(n?0:3);for(a=0;a<r;++a){var d=c[u+4*a];255!=d&&(d*=32897,s[l+4*a+0]=s[l+4*a+0]*d>>23,s[l+4*a+1]=s[l+4*a+1]*d>>23,s[l+4*a+2]=s[l+4*a+2]*d>>23)}t+=i}}function hn(e,t,n,r,o){for(;0<r--;){var i;for(i=0;i<n;++i){var a=e[t+2*i+0],s=15&(c=e[t+2*i+1]),l=4369*s,c=(240&c|c>>4)*l>>16;e[t+2*i+0]=(240&a|a>>4)*l>>16&240|(15&a|a<<4)*l>>16>>4&15,e[t+2*i+1]=240&c|s}t+=o}}function bn(e,t,n,r,o,i,a,s){var l,c,u=255;for(c=0;c<o;++c){for(l=0;l<r;++l){var d=e[t+l];i[a+4*l]=d,u&=d}t+=n,a+=s}return 255!=u}function An(e,t,n,r,o){var i;for(i=0;i<o;++i)n[r+i]=e[t+i]>>8}function mn(){_r=fn,zr=hn,xr=bn,wr=An}function gn(n,r,o){e[n]=function(e,n,i,a,s,l,c,u,d,p,f,h,b,A,m,g,v){var y,M=v-1>>1,O=s[l+0]|c[u+0]<<16,_=d[p+0]|f[h+0]<<16;t(null!=e);var z=3*O+_+131074>>2;for(r(e[n+0],255&z,z>>16,b,A),null!=i&&(z=3*_+O+131074>>2,r(i[a+0],255&z,z>>16,m,g)),y=1;y<=M;++y){var x=s[l+y]|c[u+y]<<16,w=d[p+y]|f[h+y]<<16,C=O+x+_+w+524296,S=C+2*(x+_)>>3;z=S+O>>1,O=(C=C+2*(O+w)>>3)+x>>1,r(e[n+2*y-1],255&z,z>>16,b,A+(2*y-1)*o),r(e[n+2*y-0],255&O,O>>16,b,A+(2*y-0)*o),null!=i&&(z=C+_>>1,O=S+w>>1,r(i[a+2*y-1],255&z,z>>16,m,g+(2*y-1)*o),r(i[a+2*y+0],255&O,O>>16,m,g+(2*y+0)*o)),O=x,_=w}1&v||(z=3*O+_+131074>>2,r(e[n+v-1],255&z,z>>16,b,A+(v-1)*o),null!=i&&(z=3*_+O+131074>>2,r(i[a+v-1],255&z,z>>16,m,g+(v-1)*o)))}}function vn(){go[Lr]=vo,go[Rr]=Mo,go[qr]=yo,go[Pr]=Oo,go[Ir]=_o,go[Wr]=zo,go[Fr]=xo,go[Ur]=Mo,go[Zr]=Oo,go[Hr]=_o,go[$r]=zo}function yn(e){return e&~Do?0>e?0:255:e>>ko}function Mn(e,t){return yn((19077*e>>8)+(26149*t>>8)-14234)}function On(e,t,n){return yn((19077*e>>8)-(6419*t>>8)-(13320*n>>8)+8708)}function _n(e,t){return yn((19077*e>>8)+(33050*t>>8)-17685)}function zn(e,t,n,r,o){r[o+0]=Mn(e,n),r[o+1]=On(e,t,n),r[o+2]=_n(e,t)}function xn(e,t,n,r,o){r[o+0]=_n(e,t),r[o+1]=On(e,t,n),r[o+2]=Mn(e,n)}function wn(e,t,n,r,o){var i=On(e,t,n);t=i<<3&224|_n(e,t)>>3,r[o+0]=248&Mn(e,n)|i>>5,r[o+1]=t}function Cn(e,t,n,r,o){var i=240&_n(e,t)|15;r[o+0]=240&Mn(e,n)|On(e,t,n)>>4,r[o+1]=i}function Sn(e,t,n,r,o){r[o+0]=255,zn(e,t,n,r,o+1)}function En(e,t,n,r,o){xn(e,t,n,r,o),r[o+3]=255}function kn(e,t,n,r,o){zn(e,t,n,r,o),r[o+3]=255}function He(e,t){return 0>e?0:e>t?t:e}function Dn(t,n,r){e[t]=function(e,t,o,i,a,s,l,c,u){for(var d=c+(-2&u)*r;c!=d;)n(e[t+0],o[i+0],a[s+0],l,c),n(e[t+1],o[i+0],a[s+0],l,c+r),t+=2,++i,++s,c+=2*r;1&u&&n(e[t+0],o[i+0],a[s+0],l,c)}}function Nn(e,t,n){return 0==n?0==e?0==t?6:5:0==t?4:0:n}function Tn(e,t,n,r,o){switch(e>>>30){case 3:ar(t,n,r,o,0);break;case 2:sr(t,n,r,o);break;case 1:cr(t,n,r,o)}}function jn(e,t){var n,i,a=t.M,s=t.Nb,l=e.oc,c=e.pc+40,u=e.oc,d=e.pc+584,p=e.oc,f=e.pc+600;for(n=0;16>n;++n)l[c+32*n-1]=129;for(n=0;8>n;++n)u[d+32*n-1]=129,p[f+32*n-1]=129;for(0<a?l[c-1-32]=u[d-1-32]=p[f-1-32]=129:(o(l,c-32-1,127,21),o(u,d-32-1,127,9),o(p,f-32-1,127,9)),i=0;i<e.za;++i){var h=t.ya[t.aa+i];if(0<i){for(n=-1;16>n;++n)r(l,c+32*n-4,l,c+32*n+12,4);for(n=-1;8>n;++n)r(u,d+32*n-4,u,d+32*n+4,4),r(p,f+32*n-4,p,f+32*n+4,4)}var b=e.Gd,A=e.Hd+i,m=h.ad,g=h.Hc;if(0<a&&(r(l,c-32,b[A].y,0,16),r(u,d-32,b[A].f,0,8),r(p,f-32,b[A].ea,0,8)),h.Za){var v=l,y=c-32+16;for(0<a&&(i>=e.za-1?o(v,y,b[A].y[15],4):r(v,y,b[A+1].y,0,4)),n=0;4>n;n++)v[y+128+n]=v[y+256+n]=v[y+384+n]=v[y+0+n];for(n=0;16>n;++n,g<<=2)v=l,y=c+Po[n],fo[h.Ob[n]](v,y),Tn(g,m,16*+n,v,y)}else if(v=Nn(i,a,h.Ob[0]),po[v](l,c),0!=g)for(n=0;16>n;++n,g<<=2)Tn(g,m,16*+n,l,c+Po[n]);for(n=h.Gc,v=Nn(i,a,h.Dd),ho[v](u,d),ho[v](p,f),g=m,v=u,y=d,255&(h=n>>0)&&(170&h?lr(g,256,v,y):ur(g,256,v,y)),h=p,g=f,255&(n>>=8)&&(170&n?lr(m,320,h,g):ur(m,320,h,g)),a<e.Ub-1&&(r(b[A].y,0,l,c+480,16),r(b[A].f,0,u,d+224,8),r(b[A].ea,0,p,f+224,8)),n=8*s*e.B,b=e.sa,A=e.ta+16*i+16*s*e.R,m=e.qa,h=e.ra+8*i+n,g=e.Ha,v=e.Ia+8*i+n,n=0;16>n;++n)r(b,A+n*e.R,l,c+32*n,16);for(n=0;8>n;++n)r(m,h+n*e.B,u,d+32*n,8),r(g,v+n*e.B,p,f+32*n,8)}}function Bn(e,r,o,i,a,s,l,c,u){var d=[0],p=[0],f=0,h=null!=u?u.kd:0,b=null!=u?u:new rn;if(null==e||12>o)return 7;b.data=e,b.w=r,b.ha=o,r=[r],o=[o],b.gb=[b.gb];e:{var A=r,g=o,v=b.gb;if(t(null!=e),t(null!=g),t(null!=v),v[0]=0,12<=g[0]&&!n(e,A[0],"RIFF")){if(n(e,A[0]+8,"WEBP")){v=3;break e}var y=N(e,A[0]+4);if(12>y||4294967286<y){v=3;break e}if(h&&y>g[0]-8){v=7;break e}v[0]=y,A[0]+=12,g[0]-=12}v=0}if(0!=v)return v;for(y=0<b.gb[0],o=o[0];;){e:{var O=e;g=r,v=o;var _=d,z=p,x=A=[0];if((S=f=[f])[0]=0,8>v[0])v=7;else{if(!n(O,g[0],"VP8X")){if(10!=N(O,g[0]+4)){v=3;break e}if(18>v[0]){v=7;break e}var w=N(O,g[0]+8),C=1+D(O,g[0]+12);if(2147483648<=C*(O=1+D(O,g[0]+15))){v=3;break e}null!=x&&(x[0]=w),null!=_&&(_[0]=C),null!=z&&(z[0]=O),g[0]+=18,v[0]-=18,S[0]=1}v=0}}if(f=f[0],A=A[0],0!=v)return v;if(g=!!(2&A),!y&&f)return 3;if(null!=s&&(s[0]=!!(16&A)),null!=l&&(l[0]=g),null!=c&&(c[0]=0),l=d[0],A=p[0],f&&g&&null==u){v=0;break}if(4>o){v=7;break}if(y&&f||!y&&!f&&!n(e,r[0],"ALPH")){o=[o],b.na=[b.na],b.P=[b.P],b.Sa=[b.Sa];e:{w=e,v=r,y=o;var S=b.gb;_=b.na,z=b.P,x=b.Sa,C=22,t(null!=w),t(null!=y),O=v[0];var E=y[0];for(t(null!=_),t(null!=x),_[0]=null,z[0]=null,x[0]=0;;){if(v[0]=O,y[0]=E,8>E){v=7;break e}var k=N(w,O+4);if(4294967286<k){v=3;break e}var T=8+k+1&-2;if(C+=T,0<S&&C>S){v=3;break e}if(!n(w,O,"VP8 ")||!n(w,O,"VP8L")){v=0;break e}if(E[0]<T){v=7;break e}n(w,O,"ALPH")||(_[0]=w,z[0]=O+8,x[0]=k),O+=T,E-=T}}if(o=o[0],b.na=b.na[0],b.P=b.P[0],b.Sa=b.Sa[0],0!=v)break}o=[o],b.Ja=[b.Ja],b.xa=[b.xa];e:if(S=e,v=r,y=o,_=b.gb[0],z=b.Ja,x=b.xa,w=v[0],O=!n(S,w,"VP8 "),C=!n(S,w,"VP8L"),t(null!=S),t(null!=y),t(null!=z),t(null!=x),8>y[0])v=7;else{if(O||C){if(S=N(S,w+4),12<=_&&S>_-12){v=3;break e}if(h&&S>y[0]-8){v=7;break e}z[0]=S,v[0]+=8,y[0]-=8,x[0]=C}else x[0]=5<=y[0]&&47==S[w+0]&&!(S[w+4]>>5),z[0]=y[0];v=0}if(o=o[0],b.Ja=b.Ja[0],b.xa=b.xa[0],r=r[0],0!=v)break;if(4294967286<b.Ja)return 3;if(null==c||g||(c[0]=b.xa?2:1),l=[l],A=[A],b.xa){if(5>o){v=7;break}c=l,h=A,g=s,null==e||5>o?e=0:5<=o&&47==e[r+0]&&!(e[r+4]>>5)?(y=[0],S=[0],_=[0],m(z=new M,e,r,o),be(z,y,S,_)?(null!=c&&(c[0]=y[0]),null!=h&&(h[0]=S[0]),null!=g&&(g[0]=_[0]),e=1):e=0):e=0}else{if(10>o){v=7;break}c=A,null==e||10>o||!Qe(e,r+3,o-3)?e=0:(h=e[r+0]|e[r+1]<<8|e[r+2]<<16,g=16383&(e[r+7]<<8|e[r+6]),e=16383&(e[r+9]<<8|e[r+8]),1&h||3<(h>>1&7)||!(h>>4&1)||h>>5>=b.Ja||!g||!e?e=0:(l&&(l[0]=g),c&&(c[0]=e),e=1))}if(!e)return 3;if(l=l[0],A=A[0],f&&(d[0]!=l||p[0]!=A))return 3;null!=u&&(u[0]=b,u.offset=r-u.w,t(4294967286>r-u.w),t(u.offset==u.ha-o));break}return 0==v||7==v&&f&&null==u?(null!=s&&(s[0]|=null!=b.na&&0<b.na.length),null!=i&&(i[0]=l),null!=a&&(a[0]=A),0):v}function Ln(e,t,n){var r=t.width,o=t.height,i=0,a=0,s=r,l=o;if(t.Da=null!=e&&0<e.Da,t.Da&&(s=e.cd,l=e.bd,i=e.v,a=e.j,11>n||(i&=-2,a&=-2),0>i||0>a||0>=s||0>=l||i+s>r||a+l>o))return 0;if(t.v=i,t.j=a,t.va=i+s,t.o=a+l,t.U=s,t.T=l,t.da=null!=e&&0<e.da,t.da){if(!L(s,l,n=[e.ib],i=[e.hb]))return 0;t.ib=n[0],t.hb=i[0]}return t.ob=null!=e&&e.ob,t.Kb=null==e||!e.Sd,t.da&&(t.ob=t.ib<3*r/4&&t.hb<3*o/4,t.Kb=0),1}function Rn(e){if(null==e)return 2;if(11>e.S){var t=e.f.RGBA;t.fb+=(e.height-1)*t.A,t.A=-t.A}else t=e.f.kb,e=e.height,t.O+=(e-1)*t.fa,t.fa=-t.fa,t.N+=(e-1>>1)*t.Ab,t.Ab=-t.Ab,t.W+=(e-1>>1)*t.Db,t.Db=-t.Db,null!=t.F&&(t.J+=(e-1)*t.lb,t.lb=-t.lb);return 0}function qn(e,t,n,r){if(null==r||0>=e||0>=t)return 2;if(null!=n){if(n.Da){var o=n.cd,a=n.bd,s=-2&n.v,l=-2&n.j;if(0>s||0>l||0>=o||0>=a||s+o>e||l+a>t)return 2;e=o,t=a}if(n.da){if(!L(e,t,o=[n.ib],a=[n.hb]))return 2;e=o[0],t=a[0]}}r.width=e,r.height=t;e:{var c=r.width,u=r.height;if(e=r.S,0>=c||0>=u||!(e>=Lr&&13>e))e=2;else{if(0>=r.Rd&&null==r.sd){s=a=o=t=0;var d=(l=c*Uo[e])*u;if(11>e||(a=(u+1)/2*(t=(c+1)/2),12==e&&(s=(o=c)*u)),null==(u=i(d+2*a+s))){e=1;break e}r.sd=u,11>e?((c=r.f.RGBA).eb=u,c.fb=0,c.A=l,c.size=d):((c=r.f.kb).y=u,c.O=0,c.fa=l,c.Fd=d,c.f=u,c.N=0+d,c.Ab=t,c.Cd=a,c.ea=u,c.W=0+d+a,c.Db=t,c.Ed=a,12==e&&(c.F=u,c.J=0+d+2*a),c.Tc=s,c.lb=o)}if(t=1,o=r.S,a=r.width,s=r.height,o>=Lr&&13>o)if(11>o)e=r.f.RGBA,t&=(l=Math.abs(e.A))*(s-1)+a<=e.size,t&=l>=a*Uo[o],t&=null!=e.eb;else{e=r.f.kb,l=(a+1)/2,d=(s+1)/2,c=Math.abs(e.fa),u=Math.abs(e.Ab);var p=Math.abs(e.Db),f=Math.abs(e.lb),h=f*(s-1)+a;t&=c*(s-1)+a<=e.Fd,t&=u*(d-1)+l<=e.Cd,t=(t&=p*(d-1)+l<=e.Ed)&c>=a&u>=l&p>=l,t&=null!=e.y,t&=null!=e.f,t&=null!=e.ea,12==o&&(t&=f>=a,t&=h<=e.Tc,t&=null!=e.F)}else t=0;e=t?0:2}}return 0!=e||null!=n&&n.fd&&(e=Rn(r)),e}var Pn=64,In=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Wn=24,Fn=32,Un=8,Zn=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];P("Predictor0","PredictorAdd0"),e.Predictor0=function(){return 4278190080},e.Predictor1=function(e){return e},e.Predictor2=function(e,t,n){return t[n+0]},e.Predictor3=function(e,t,n){return t[n+1]},e.Predictor4=function(e,t,n){return t[n-1]},e.Predictor5=function(e,t,n){return W(W(e,t[n+1]),t[n+0])},e.Predictor6=function(e,t,n){return W(e,t[n-1])},e.Predictor7=function(e,t,n){return W(e,t[n+0])},e.Predictor8=function(e,t,n){return W(t[n-1],t[n+0])},e.Predictor9=function(e,t,n){return W(t[n+0],t[n+1])},e.Predictor10=function(e,t,n){return W(W(e,t[n-1]),W(t[n+0],t[n+1]))},e.Predictor11=function(e,t,n){var r=t[n+0];return 0>=Z(r>>24&255,e>>24&255,(t=t[n-1])>>24&255)+Z(r>>16&255,e>>16&255,t>>16&255)+Z(r>>8&255,e>>8&255,t>>8&255)+Z(255&r,255&e,255&t)?r:e},e.Predictor12=function(e,t,n){var r=t[n+0];return(F((e>>24&255)+(r>>24&255)-((t=t[n-1])>>24&255))<<24|F((e>>16&255)+(r>>16&255)-(t>>16&255))<<16|F((e>>8&255)+(r>>8&255)-(t>>8&255))<<8|F((255&e)+(255&r)-(255&t)))>>>0},e.Predictor13=function(e,t,n){var r=t[n-1];return(U((e=W(e,t[n+0]))>>24&255,r>>24&255)<<24|U(e>>16&255,r>>16&255)<<16|U(e>>8&255,r>>8&255)<<8|U(e>>0&255,r>>0&255))>>>0};var Hn=e.PredictorAdd0;e.PredictorAdd1=H,P("Predictor2","PredictorAdd2"),P("Predictor3","PredictorAdd3"),P("Predictor4","PredictorAdd4"),P("Predictor5","PredictorAdd5"),P("Predictor6","PredictorAdd6"),P("Predictor7","PredictorAdd7"),P("Predictor8","PredictorAdd8"),P("Predictor9","PredictorAdd9"),P("Predictor10","PredictorAdd10"),P("Predictor11","PredictorAdd11"),P("Predictor12","PredictorAdd12"),P("Predictor13","PredictorAdd13");var $n=e.PredictorAdd2;Q("ColorIndexInverseTransform","MapARGB","32b",(function(e){return e>>8&255}),(function(e){return e})),Q("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",(function(e){return e}),(function(e){return e>>8&255}));var Vn,Xn=e.ColorIndexInverseTransform,Qn=e.MapARGB,Yn=e.VP8LColorIndexInverseTransformAlpha,Gn=e.MapAlpha,Kn=e.VP8LPredictorsAdd=[];Kn.length=16,(e.VP8LPredictors=[]).length=16,(e.VP8LPredictorsAdd_C=[]).length=16,(e.VP8LPredictors_C=[]).length=16;var Jn,er,tr,nr,rr,or,ir,ar,sr,lr,cr,ur,dr,pr,fr,hr,br,Ar,mr,gr,vr,yr,Mr,Or,_r,zr,xr,wr,Cr=i(511),Sr=i(2041),Er=i(225),kr=i(767),Dr=0,Nr=Sr,Tr=Er,jr=kr,Br=Cr,Lr=0,Rr=1,qr=2,Pr=3,Ir=4,Wr=5,Fr=6,Ur=7,Zr=8,Hr=9,$r=10,Vr=[2,3,7],Xr=[3,3,11],Qr=[280,256,256,256,40],Yr=[0,1,1,1,0],Gr=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Kr=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],Jr=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],eo=8,to=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],no=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],ro=null,oo=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],io=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],ao=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],so=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],lo=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],co=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],uo=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],po=[],fo=[],ho=[],bo=1,Ao=2,mo=[],go=[];gn("UpsampleRgbLinePair",zn,3),gn("UpsampleBgrLinePair",xn,3),gn("UpsampleRgbaLinePair",kn,4),gn("UpsampleBgraLinePair",En,4),gn("UpsampleArgbLinePair",Sn,4),gn("UpsampleRgba4444LinePair",Cn,2),gn("UpsampleRgb565LinePair",wn,2);var vo=e.UpsampleRgbLinePair,yo=e.UpsampleBgrLinePair,Mo=e.UpsampleRgbaLinePair,Oo=e.UpsampleBgraLinePair,_o=e.UpsampleArgbLinePair,zo=e.UpsampleRgba4444LinePair,xo=e.UpsampleRgb565LinePair,wo=16,Co=1<<wo-1,So=-227,Eo=482,ko=6,Do=(256<<ko)-1,No=0,To=i(256),jo=i(256),Bo=i(256),Lo=i(256),Ro=i(Eo-So),qo=i(Eo-So);Dn("YuvToRgbRow",zn,3),Dn("YuvToBgrRow",xn,3),Dn("YuvToRgbaRow",kn,4),Dn("YuvToBgraRow",En,4),Dn("YuvToArgbRow",Sn,4),Dn("YuvToRgba4444Row",Cn,2),Dn("YuvToRgb565Row",wn,2);var Po=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Io=[0,2,8],Wo=[8,7,6,4,4,2,2,2,1,1,1,1],Fo=1;this.WebPDecodeRGBA=function(e,n,r,o,i){var a=Rr,s=new nn,l=new ae;s.ba=l,l.S=a,l.width=[l.width],l.height=[l.height];var c=l.width,u=l.height,d=new se;if(null==d||null==e)var p=2;else t(null!=d),p=Bn(e,n,r,d.width,d.height,d.Pd,d.Qd,d.format,null);if(0!=p?c=0:(null!=c&&(c[0]=d.width[0]),null!=u&&(u[0]=d.height[0]),c=1),c){l.width=l.width[0],l.height=l.height[0],null!=o&&(o[0]=l.width),null!=i&&(i[0]=l.height);e:{if(o=new $e,(i=new rn).data=e,i.w=n,i.ha=r,i.kd=1,n=[0],t(null!=i),(0==(e=Bn(i.data,i.w,i.ha,null,null,null,n,null,i))||7==e)&&n[0]&&(e=4),0==(n=e)){if(t(null!=s),o.data=i.data,o.w=i.w+i.offset,o.ha=i.ha-i.offset,o.put=fe,o.ac=pe,o.bc=he,o.ma=s,i.xa){if(null==(e=Se())){s=1;break e}if(function(e,n){var r=[0],o=[0],i=[0];t:for(;;){if(null==e)return 0;if(null==n)return e.a=2,0;if(e.l=n,e.a=0,m(e.m,n.data,n.w,n.ha),!be(e.m,r,o,i)){e.a=3;break t}if(e.xb=Ao,n.width=r[0],n.height=o[0],!Ee(r[0],o[0],1,e,null))break t;return 1}return t(0!=e.a),0}(e,o)){if(o=0==(n=qn(o.width,o.height,s.Oa,s.ba))){t:{o=e;n:for(;;){if(null==o){o=0;break t}if(t(null!=o.s.yc),t(null!=o.s.Ya),t(0<o.s.Wb),t(null!=(r=o.l)),t(null!=(i=r.ma)),0!=o.xb){if(o.ca=i.ba,o.tb=i.tb,t(null!=o.ca),!Ln(i.Oa,r,Pr)){o.a=2;break n}if(!ke(o,r.width))break n;if(r.da)break n;if((r.da||re(o.ca.S))&&mn(),11>o.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),null!=o.ca.f.kb.F&&mn()),o.Pb&&0<o.s.ua&&null==o.s.vb.X&&!T(o.s.vb,o.s.Wa.Xa)){o.a=1;break n}o.xb=0}if(!we(o,o.V,o.Ba,o.c,o.i,r.o,Oe))break n;i.Dc=o.Ma,o=1;break t}t(0!=o.a),o=0}o=!o}o&&(n=e.a)}else n=e.a}else{if(null==(e=new Ve)){s=1;break e}if(e.Fa=i.na,e.P=i.P,e.qc=i.Sa,Ye(e,o)){if(0==(n=qn(o.width,o.height,s.Oa,s.ba))){if(e.Aa=0,r=s.Oa,t(null!=(i=e)),null!=r){if(0<(c=0>(c=r.Md)?0:100<c?255:255*c/100)){for(u=d=0;4>u;++u)12>(p=i.pb[u]).lc&&(p.ia=c*Wo[0>p.lc?0:p.lc]>>3),d|=p.ia;d&&(alert("todo:VP8InitRandom"),i.ia=1)}i.Ga=r.Id,100<i.Ga?i.Ga=100:0>i.Ga&&(i.Ga=0)}Je(e,o)||(n=e.a)}}else n=e.a}0==n&&null!=s.Oa&&s.Oa.fd&&(n=Rn(s.ba))}s=n}a=0!=s?null:11>a?l.f.RGBA.eb:l.f.kb.y}else a=null;return a};var Uo=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function c(e,t){for(var n="",r=0;r<4;r++)n+=String.fromCharCode(e[t++]);return n}function u(e,t){return(e[t+0]<<0|e[t+1]<<8|e[t+2]<<16)>>>0}function d(e,t){return(e[t+0]<<0|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}new l;var p=[0],f=[0],h=[],b=new l,A=e,m=function(e,t){var n={},r=0,o=!1,i=0,a=0;if(n.frames=[],!function(e,t,n,r){for(var o=0;o<4;o++)if(e[t+o]!="RIFF".charCodeAt(o))return!0;return!1}(e,t)){var s,l;for(d(e,t+=4),t+=8;t<e.length;){var p=c(e,t),f=d(e,t+=4);t+=4;var h=f+(1&f);switch(p){case"VP8 ":case"VP8L":void 0===n.frames[r]&&(n.frames[r]={}),(m=n.frames[r]).src_off=o?a:t-8,m.src_size=i+f+8,r++,o&&(o=!1,i=0,a=0);break;case"VP8X":(m=n.header={}).feature_flags=e[t];var b=t+4;m.canvas_width=1+u(e,b),b+=3,m.canvas_height=1+u(e,b),b+=3;break;case"ALPH":o=!0,i=h+8,a=t-8;break;case"ANIM":(m=n.header).bgcolor=d(e,t),b=t+4,m.loop_count=(s=e)[(l=b)+0]<<0|s[l+1]<<8,b+=2;break;case"ANMF":var A,m;(m=n.frames[r]={}).offset_x=2*u(e,t),t+=3,m.offset_y=2*u(e,t),t+=3,m.width=1+u(e,t),t+=3,m.height=1+u(e,t),t+=3,m.duration=u(e,t),t+=3,A=e[t++],m.dispose=1&A,m.blend=A>>1&1}"ANMF"!=p&&(t+=h)}return n}}(A,0);m.response=A,m.rgbaoutput=!0,m.dataurl=!1;var g=m.header?m.header:null,v=m.frames?m.frames:null;if(g){g.loop_counter=g.loop_count,p=[g.canvas_height],f=[g.canvas_width];for(var y=0;y<v.length&&0!=v[y].blend;y++);}var M=v[0],O=b.WebPDecodeRGBA(A,M.src_off,M.src_size,f,p);M.rgba=O,M.imgwidth=f[0],M.imgheight=p[0];for(var _=0;_<f[0]*p[0]*4;_++)h[_]=O[_];return this.width=f,this.height=p,this.data=h,this}!function(e){var t=function(t,r,l,c){var u=4,d=i;switch(c){case e.image_compression.FAST:u=1,d=o;break;case e.image_compression.MEDIUM:u=6,d=a;break;case e.image_compression.SLOW:u=9,d=s}var p=Q(t=n(t,r,l,d),{level:u});return e.__addimage__.arrayBufferToBinaryString(p)},n=function(e,t,n,r){for(var o,i,a,s=e.length/t,l=new Uint8Array(e.length+s),d=c(),p=0;p<s;p+=1){if(a=p*t,o=e.subarray(a,a+t),r)l.set(r(o,n,i),a+p);else{for(var f,h=d.length,b=[];f<h;f+=1)b[f]=d[f](o,n,i);var A=u(b.concat());l.set(b[A],a+p)}i=o}return l},r=function(e){var t=Array.apply([],e);return t.unshift(0),t},o=function(e,t){var n,r=[],o=e.length;r[0]=1;for(var i=0;i<o;i+=1)n=e[i-t]||0,r[i+1]=e[i]-n+256&255;return r},i=function(e,t,n){var r,o=[],i=e.length;o[0]=2;for(var a=0;a<i;a+=1)r=n&&n[a]||0,o[a+1]=e[a]-r+256&255;return o},a=function(e,t,n){var r,o,i=[],a=e.length;i[0]=3;for(var s=0;s<a;s+=1)r=e[s-t]||0,o=n&&n[s]||0,i[s+1]=e[s]+256-(r+o>>>1)&255;return i},s=function(e,t,n){var r,o,i,a,s=[],c=e.length;s[0]=4;for(var u=0;u<c;u+=1)r=e[u-t]||0,o=n&&n[u]||0,i=n&&n[u-t]||0,a=l(r,o,i),s[u+1]=e[u]-a+256&255;return s},l=function(e,t,n){if(e===t&&t===n)return e;var r=Math.abs(t-n),o=Math.abs(e-n),i=Math.abs(e+t-n-n);return r<=o&&r<=i?e:o<=i?t:n},c=function(){return[r,o,i,a,s]},u=function(e){var t=e.map((function(e){return e.reduce((function(e,t){return e+Math.abs(t)}),0)}));return t.indexOf(Math.min.apply(null,t))};e.processPNG=function(n,r,o,i){var a,s,l,c,u,d,p,f,h,b,A,m,g,v,y,M=this.decode.FLATE_DECODE,O="";if(this.__addimage__.isArrayBuffer(n)&&(n=new Uint8Array(n)),this.__addimage__.isArrayBufferView(n)){if(n=(l=new Ut(n)).imgData,s=l.bits,a=l.colorSpace,u=l.colors,-1!==[4,6].indexOf(l.colorType)){if(8===l.bits){h=(f=32==l.pixelBitlength?new Uint32Array(l.decodePixels().buffer):16==l.pixelBitlength?new Uint16Array(l.decodePixels().buffer):new Uint8Array(l.decodePixels().buffer)).length,A=new Uint8Array(h*l.colors),b=new Uint8Array(h);var _,z=l.pixelBitlength-l.bits;for(v=0,y=0;v<h;v++){for(g=f[v],_=0;_<z;)A[y++]=g>>>_&255,_+=l.bits;b[v]=g>>>_&255}}if(16===l.bits){h=(f=new Uint32Array(l.decodePixels().buffer)).length,A=new Uint8Array(h*(32/l.pixelBitlength)*l.colors),b=new Uint8Array(h*(32/l.pixelBitlength)),m=l.colors>1,v=0,y=0;for(var x=0;v<h;)g=f[v++],A[y++]=g>>>0&255,m&&(A[y++]=g>>>16&255,g=f[v++],A[y++]=g>>>0&255),b[x++]=g>>>16&255;s=8}i!==e.image_compression.NONE?(n=t(A,l.width*l.colors,l.colors,i),p=t(b,l.width,1,i)):(n=A,p=b,M=void 0)}if(3===l.colorType&&(a=this.color_spaces.INDEXED,d=l.palette,l.transparency.indexed)){var w=l.transparency.indexed,C=0;for(v=0,h=w.length;v<h;++v)C+=w[v];if((C/=255)===h-1&&-1!==w.indexOf(0))c=[w.indexOf(0)];else if(C!==h){for(f=l.decodePixels(),b=new Uint8Array(f.length),v=0,h=f.length;v<h;v++)b[v]=w[f[v]];p=t(b,l.width,1)}}var S=function(t){var n;switch(t){case e.image_compression.FAST:n=11;break;case e.image_compression.MEDIUM:n=13;break;case e.image_compression.SLOW:n=14;break;default:n=12}return n}(i);return M===this.decode.FLATE_DECODE&&(O="/Predictor "+S+" "),O+="/Colors "+u+" /BitsPerComponent "+s+" /Columns "+l.width,(this.__addimage__.isArrayBuffer(n)||this.__addimage__.isArrayBufferView(n))&&(n=this.__addimage__.arrayBufferToBinaryString(n)),(p&&this.__addimage__.isArrayBuffer(p)||this.__addimage__.isArrayBufferView(p))&&(p=this.__addimage__.arrayBufferToBinaryString(p)),{alias:o,data:n,index:r,filter:M,decodeParameters:O,transparency:c,palette:d,sMask:p,predictor:S,width:l.width,height:l.height,bitsPerComponent:s,colorSpace:a}}}}(ke.API),function(e){e.processGIF89A=function(t,n,r,o){var i=new Zt(t),a=i.width,s=i.height,l=[];i.decodeAndBlitFrameRGBA(0,l);var c={data:l,width:a,height:s},u=new $t(100).encode(c,100);return e.processJPEG.call(this,u,n,r,o)},e.processGIF87A=e.processGIF89A}(ke.API),Vt.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,16===this.bitPP&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var e=0===this.colors?1<<this.bitPP:this.colors;this.palette=new Array(e);for(var t=0;t<e;t++){var n=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0);this.palette[t]={red:o,green:r,blue:n,quad:i}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},Vt.prototype.parseBGR=function(){this.pos=this.offset;try{var e="bit"+this.bitPP,t=this.width*this.height*4;this.data=new Uint8Array(t),this[e]()}catch(e){J.log("bit decode error:"+e)}},Vt.prototype.bit1=function(){var e,t=Math.ceil(this.width/8),n=t%4;for(e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,o=0;o<t;o++)for(var i=this.datav.getUint8(this.pos++,!0),a=r*this.width*4+8*o*4,s=0;s<8&&8*o+s<this.width;s++){var l=this.palette[i>>7-s&1];this.data[a+4*s]=l.blue,this.data[a+4*s+1]=l.green,this.data[a+4*s+2]=l.red,this.data[a+4*s+3]=255}0!==n&&(this.pos+=4-n)}},Vt.prototype.bit4=function(){for(var e=Math.ceil(this.width/2),t=e%4,n=this.height-1;n>=0;n--){for(var r=this.bottom_up?n:this.height-1-n,o=0;o<e;o++){var i=this.datav.getUint8(this.pos++,!0),a=r*this.width*4+2*o*4,s=i>>4,l=15&i,c=this.palette[s];if(this.data[a]=c.blue,this.data[a+1]=c.green,this.data[a+2]=c.red,this.data[a+3]=255,2*o+1>=this.width)break;c=this.palette[l],this.data[a+4]=c.blue,this.data[a+4+1]=c.green,this.data[a+4+2]=c.red,this.data[a+4+3]=255}0!==t&&(this.pos+=4-t)}},Vt.prototype.bit8=function(){for(var e=this.width%4,t=this.height-1;t>=0;t--){for(var n=this.bottom_up?t:this.height-1-t,r=0;r<this.width;r++){var o=this.datav.getUint8(this.pos++,!0),i=n*this.width*4+4*r;if(o<this.palette.length){var a=this.palette[o];this.data[i]=a.red,this.data[i+1]=a.green,this.data[i+2]=a.blue,this.data[i+3]=255}else this.data[i]=255,this.data[i+1]=255,this.data[i+2]=255,this.data[i+3]=255}0!==e&&(this.pos+=4-e)}},Vt.prototype.bit15=function(){for(var e=this.width%3,t=parseInt("11111",2),n=this.height-1;n>=0;n--){for(var r=this.bottom_up?n:this.height-1-n,o=0;o<this.width;o++){var i=this.datav.getUint16(this.pos,!0);this.pos+=2;var a=(i&t)/t*255|0,s=(i>>5&t)/t*255|0,l=(i>>10&t)/t*255|0,c=i>>15?255:0,u=r*this.width*4+4*o;this.data[u]=l,this.data[u+1]=s,this.data[u+2]=a,this.data[u+3]=c}this.pos+=e}},Vt.prototype.bit16=function(){for(var e=this.width%3,t=parseInt("11111",2),n=parseInt("111111",2),r=this.height-1;r>=0;r--){for(var o=this.bottom_up?r:this.height-1-r,i=0;i<this.width;i++){var a=this.datav.getUint16(this.pos,!0);this.pos+=2;var s=(a&t)/t*255|0,l=(a>>5&n)/n*255|0,c=(a>>11)/t*255|0,u=o*this.width*4+4*i;this.data[u]=c,this.data[u+1]=l,this.data[u+2]=s,this.data[u+3]=255}this.pos+=e}},Vt.prototype.bit24=function(){for(var e=this.height-1;e>=0;e--){for(var t=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var r=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=t*this.width*4+4*n;this.data[a]=i,this.data[a+1]=o,this.data[a+2]=r,this.data[a+3]=255}this.pos+=this.width%4}},Vt.prototype.bit32=function(){for(var e=this.height-1;e>=0;e--)for(var t=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var r=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),s=t*this.width*4+4*n;this.data[s]=i,this.data[s+1]=o,this.data[s+2]=r,this.data[s+3]=a}},Vt.prototype.getData=function(){return this.data},function(e){e.processBMP=function(t,n,r,o){var i=new Vt(t,!1),a=i.width,s=i.height,l={data:i.getData(),width:a,height:s},c=new $t(100).encode(l,100);return e.processJPEG.call(this,c,n,r,o)}}(ke.API),Xt.prototype.getData=function(){return this.data},function(e){e.processWEBP=function(t,n,r,o){var i=new Xt(t,!1),a=i.width,s=i.height,l={data:i.getData(),width:a,height:s},c=new $t(100).encode(l,100);return e.processJPEG.call(this,c,n,r,o)}}(ke.API),ke.API.processRGBA=function(e,t,n){for(var r=e.data,o=r.length,i=new Uint8Array(o/4*3),a=new Uint8Array(o/4),s=0,l=0,c=0;c<o;c+=4){var u=r[c],d=r[c+1],p=r[c+2],f=r[c+3];i[s++]=u,i[s++]=d,i[s++]=p,a[l++]=f}var h=this.__addimage__.arrayBufferToBinaryString(i);return{alpha:this.__addimage__.arrayBufferToBinaryString(a),data:h,index:t,alias:n,colorSpace:"DeviceRGB",bitsPerComponent:8,width:e.width,height:e.height}},ke.API.setLanguage=function(e){return void 0===this.internal.languageSettings&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),void 0!=={af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[e]&&(this.internal.languageSettings.languageCode=e,!1===this.internal.languageSettings.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")})),this.internal.languageSettings.isSubscribed=!0)),this},qt=ke.API,Pt=qt.getCharWidthsArray=function(e,t){var n,o,i=(t=t||{}).font||this.internal.getFont(),a=t.fontSize||this.internal.getFontSize(),s=t.charSpace||this.internal.getCharSpace(),l=t.widths?t.widths:i.metadata.Unicode.widths,c=l.fof?l.fof:1,u=t.kerning?t.kerning:i.metadata.Unicode.kerning,d=u.fof?u.fof:1,p=!1!==t.doKerning,f=0,h=e.length,b=0,A=l[0]||c,m=[];for(n=0;n<h;n++)o=e.charCodeAt(n),"function"==typeof i.metadata.widthOfString?m.push((i.metadata.widthOfGlyph(i.metadata.characterToGlyph(o))+s*(1e3/a)||0)/1e3):(f=p&&"object"===(0,r.Z)(u[o])&&!isNaN(parseInt(u[o][b],10))?u[o][b]/d:0,m.push((l[o]||A)/c+f)),b=o;return m},It=qt.getStringUnitWidth=function(e,t){var n=(t=t||{}).fontSize||this.internal.getFontSize(),r=t.font||this.internal.getFont(),o=t.charSpace||this.internal.getCharSpace();return qt.processArabic&&(e=qt.processArabic(e)),"function"==typeof r.metadata.widthOfString?r.metadata.widthOfString(e,n,o)/n:Pt.apply(this,arguments).reduce((function(e,t){return e+t}),0)},Wt=function(e,t,n,r){for(var o=[],i=0,a=e.length,s=0;i!==a&&s+t[i]<n;)s+=t[i],i++;o.push(e.slice(0,i));var l=i;for(s=0;i!==a;)s+t[i]>r&&(o.push(e.slice(l,i)),s=0,l=i),s+=t[i],i++;return l!==i&&o.push(e.slice(l,i)),o},Ft=function(e,t,n){n||(n={});var r,o,i,a,s,l,c,u=[],d=[u],p=n.textIndent||0,f=0,h=0,b=e.split(" "),A=Pt.apply(this,[" ",n])[0];if(l=-1===n.lineIndent?b[0].length+2:n.lineIndent||0){var m=Array(l).join(" "),g=[];b.map((function(e){(e=e.split(/\s*\n/)).length>1?g=g.concat(e.map((function(e,t){return(t&&e.length?"\n":"")+e}))):g.push(e[0])})),b=g,l=It.apply(this,[m,n])}for(i=0,a=b.length;i<a;i++){var v=0;if(r=b[i],l&&"\n"==r[0]&&(r=r.substr(1),v=1),p+f+(h=(o=Pt.apply(this,[r,n])).reduce((function(e,t){return e+t}),0))>t||v){if(h>t){for(s=Wt.apply(this,[r,o,t-(p+f),t]),u.push(s.shift()),u=[s.pop()];s.length;)d.push([s.shift()]);h=o.slice(r.length-(u[0]?u[0].length:0)).reduce((function(e,t){return e+t}),0)}else u=[r];d.push(u),p=h+l,f=A}else u.push(r),p+=f+h,f=A}return c=l?function(e,t){return(t?m:"")+e.join(" ")}:function(e){return e.join(" ")},d.map(c)},qt.splitTextToSize=function(e,t,n){var r,o=(n=n||{}).fontSize||this.internal.getFontSize(),i=function(e){if(e.widths&&e.kerning)return{widths:e.widths,kerning:e.kerning};var t=this.internal.getFont(e.fontName,e.fontStyle);return t.metadata.Unicode?{widths:t.metadata.Unicode.widths||{0:1},kerning:t.metadata.Unicode.kerning||{}}:{font:t.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,n);r=Array.isArray(e)?e:String(e).split(/\r?\n/);var a=1*this.internal.scaleFactor*t/o;i.textIndent=n.textIndent?1*n.textIndent*this.internal.scaleFactor/o:0,i.lineIndent=n.lineIndent;var s,l,c=[];for(s=0,l=r.length;s<l;s++)c=c.concat(Ft.apply(this,[r[s],a,i]));return c},function(e){e.__fontmetrics__=e.__fontmetrics__||{};for(var t="klmnopqrstuvwxyz",n={},o={},i=0;i<t.length;i++)n[t[i]]="0123456789abcdef"[i],o["0123456789abcdef"[i]]=t[i];var a=function(e){return"0x"+parseInt(e,10).toString(16)},s=e.__fontmetrics__.compress=function(e){var t,n,i,l,c=["{"];for(var u in e){if(t=e[u],isNaN(parseInt(u,10))?n="'"+u+"'":(u=parseInt(u,10),n=(n=a(u).slice(2)).slice(0,-1)+o[n.slice(-1)]),"number"==typeof t)t<0?(i=a(t).slice(3),l="-"):(i=a(t).slice(2),l=""),i=l+i.slice(0,-1)+o[i.slice(-1)];else{if("object"!==(0,r.Z)(t))throw new Error("Don't know what to do with value type "+(0,r.Z)(t)+".");i=s(t)}c.push(n+i)}return c.push("}"),c.join("")},l=e.__fontmetrics__.uncompress=function(e){if("string"!=typeof e)throw new Error("Invalid argument passed to uncompress.");for(var t,r,o,i,a={},s=1,l=a,c=[],u="",d="",p=e.length-1,f=1;f<p;f+=1)"'"==(i=e[f])?t?(o=t.join(""),t=void 0):t=[]:t?t.push(i):"{"==i?(c.push([l,o]),l={},o=void 0):"}"==i?((r=c.pop())[0][r[1]]=l,o=void 0,l=r[0]):"-"==i?s=-1:void 0===o?n.hasOwnProperty(i)?(u+=n[i],o=parseInt(u,16)*s,s=1,u=""):u+=i:n.hasOwnProperty(i)?(d+=n[i],l[o]=parseInt(d,16)*s,s=1,o=void 0,d=""):d+=i;return a},c={codePages:["WinAnsiEncoding"],WinAnsiEncoding:l("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},u={Unicode:{Courier:c,"Courier-Bold":c,"Courier-BoldOblique":c,"Courier-Oblique":c,Helvetica:c,"Helvetica-Bold":c,"Helvetica-BoldOblique":c,"Helvetica-Oblique":c,"Times-Roman":c,"Times-Bold":c,"Times-BoldItalic":c,"Times-Italic":c}},d={Unicode:{"Courier-Oblique":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":l("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":l("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":l("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:l("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:l("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":l("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:l("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":l("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":l("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":l("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};e.events.push(["addFont",function(e){var t=e.font,n=d.Unicode[t.postScriptName];n&&(t.metadata.Unicode={},t.metadata.Unicode.widths=n.widths,t.metadata.Unicode.kerning=n.kerning);var r=u.Unicode[t.postScriptName];r&&(t.metadata.Unicode.encoding=r,t.encoding=r.codePages[0])}])}(ke.API),function(e){var t=function(e){for(var t=e.length,n=new Uint8Array(t),r=0;r<t;r++)n[r]=e.charCodeAt(r);return n};e.API.events.push(["addFont",function(n){var r=void 0,o=n.font,i=n.instance;if(!o.isStandardFont){if(void 0===i)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+o.postScriptName+"').");if("string"!=typeof(r=!1===i.existsFileInVFS(o.postScriptName)?i.loadFile(o.postScriptName):i.getFileFromVFS(o.postScriptName)))throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+o.postScriptName+"').");!function(n,r){r=/^\x00\x01\x00\x00/.test(r)?t(r):t(re(r)),n.metadata=e.API.TTFFont.open(r),n.metadata.Unicode=n.metadata.Unicode||{encoding:{},kerning:{},widths:[]},n.metadata.glyIdsUsed=[0]}(o,r)}}])}(ke),function(e){function t(){return(G.canvg?Promise.resolve(G.canvg):n.e(867).then(n.bind(n,35867))).catch((function(e){return Promise.reject(new Error("Could not load canvg: "+e))})).then((function(e){return e.default?e.default:e}))}ke.API.addSvgAsImage=function(e,n,r,o,i,a,s,l){if(isNaN(n)||isNaN(r))throw J.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(o)||isNaN(i))throw J.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var c=document.createElement("canvas");c.width=o,c.height=i;var u=c.getContext("2d");u.fillStyle="#fff",u.fillRect(0,0,c.width,c.height);var d={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},p=this;return t().then((function(t){return t.fromString(u,e,d)}),(function(){return Promise.reject(new Error("Could not load canvg."))})).then((function(e){return e.render(d)})).then((function(){p.addImage(c.toDataURL("image/jpeg",1),n,r,o,i,s,l)}))}}(),ke.API.putTotalPages=function(e){var t,n=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(t=new RegExp(e,"g"),n=this.internal.getNumberOfPages()):(t=new RegExp(this.pdfEscape16(e,this.internal.getFont()),"g"),n=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var r=1;r<=this.internal.getNumberOfPages();r++)for(var o=0;o<this.internal.pages[r].length;o++)this.internal.pages[r][o]=this.internal.pages[r][o].replace(t,n);return this},ke.API.viewerPreferences=function(e,t){var n;e=e||{},t=t||!1;var o,i,a,s={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},l=Object.keys(s),c=[],u=0,d=0,p=0;function f(e,t){var n,r=!1;for(n=0;n<e.length;n+=1)e[n]===t&&(r=!0);return r}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(s)),this.internal.viewerpreferences.isSubscribed=!1),n=this.internal.viewerpreferences.configuration,"reset"===e||!0===t){var h=l.length;for(p=0;p<h;p+=1)n[l[p]].value=n[l[p]].defaultValue,n[l[p]].explicitSet=!1}if("object"===(0,r.Z)(e))for(i in e)if(a=e[i],f(l,i)&&void 0!==a){if("boolean"===n[i].type&&"boolean"==typeof a)n[i].value=a;else if("name"===n[i].type&&f(n[i].valueSet,a))n[i].value=a;else if("integer"===n[i].type&&Number.isInteger(a))n[i].value=a;else if("array"===n[i].type){for(u=0;u<a.length;u+=1)if(o=!0,1===a[u].length&&"number"==typeof a[u][0])c.push(String(a[u]-1));else if(a[u].length>1){for(d=0;d<a[u].length;d+=1)"number"!=typeof a[u][d]&&(o=!1);!0===o&&c.push([a[u][0]-1,a[u][1]-1].join(" "))}n[i].value="["+c.join(" ")+"]"}else n[i].value=n[i].defaultValue;n[i].explicitSet=!0}return!1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){var e,t=[];for(e in n)!0===n[e].explicitSet&&("name"===n[e].type?t.push("/"+e+" /"+n[e].value):t.push("/"+e+" "+n[e].value));0!==t.length&&this.internal.write("/ViewerPreferences\n<<\n"+t.join("\n")+"\n>>")})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=n,this},function(e){var t=function(){var e='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceuri+'"><jspdf:metadata>',t=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),n=unescape(encodeURIComponent(e)),r=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),o=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),i=unescape(encodeURIComponent("</x:xmpmeta>")),a=n.length+r.length+o.length+t.length+i.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+a+" >>"),this.internal.write("stream"),this.internal.write(t+n+r+o+i),this.internal.write("endstream"),this.internal.write("endobj")},n=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};e.addMetadata=function(e,r){return void 0===this.internal.__metadata__&&(this.internal.__metadata__={metadata:e,namespaceuri:r||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",n),this.internal.events.subscribe("postPutResources",t)),this}}(ke.API),function(e){var t=e.API,n=t.pdfEscape16=function(e,t){for(var n,r=t.metadata.Unicode.widths,o=["","0","00","000","0000"],i=[""],a=0,s=e.length;a<s;++a){if(n=t.metadata.characterToGlyph(e.charCodeAt(a)),t.metadata.glyIdsUsed.push(n),t.metadata.toUnicode[n]=e.charCodeAt(a),-1==r.indexOf(n)&&(r.push(n),r.push([parseInt(t.metadata.widthOfGlyph(n),10)])),"0"==n)return i.join("");n=n.toString(16),i.push(o[4-n.length],n)}return i.join("")},r=function(e){var t,n,r,o,i,a,s;for(i="/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo <<\n  /Registry (Adobe)\n  /Ordering (UCS)\n  /Supplement 0\n>> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000><ffff>\nendcodespacerange",r=[],a=0,s=(n=Object.keys(e).sort((function(e,t){return e-t}))).length;a<s;a++)t=n[a],r.length>=100&&(i+="\n"+r.length+" beginbfchar\n"+r.join("\n")+"\nendbfchar",r=[]),void 0!==e[t]&&null!==e[t]&&"function"==typeof e[t].toString&&(o=("0000"+e[t].toString(16)).slice(-4),t=("0000"+(+t).toString(16)).slice(-4),r.push("<"+t+"><"+o+">"));return r.length&&(i+="\n"+r.length+" beginbfchar\n"+r.join("\n")+"\nendbfchar\n"),i+"endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"};t.events.push(["putFont",function(t){!function(t){var n=t.font,o=t.out,i=t.newObject,a=t.putStream;if(n.metadata instanceof e.API.TTFFont&&"Identity-H"===n.encoding){for(var s=n.metadata.Unicode.widths,l=n.metadata.subset.encode(n.metadata.glyIdsUsed,1),c="",u=0;u<l.length;u++)c+=String.fromCharCode(l[u]);var d=i();a({data:c,addLength1:!0,objectId:d}),o("endobj");var p=i();a({data:r(n.metadata.toUnicode),addLength1:!0,objectId:p}),o("endobj");var f=i();o("<<"),o("/Type /FontDescriptor"),o("/FontName /"+ze(n.fontName)),o("/FontFile2 "+d+" 0 R"),o("/FontBBox "+e.API.PDFObject.convert(n.metadata.bbox)),o("/Flags "+n.metadata.flags),o("/StemV "+n.metadata.stemV),o("/ItalicAngle "+n.metadata.italicAngle),o("/Ascent "+n.metadata.ascender),o("/Descent "+n.metadata.decender),o("/CapHeight "+n.metadata.capHeight),o(">>"),o("endobj");var h=i();o("<<"),o("/Type /Font"),o("/BaseFont /"+ze(n.fontName)),o("/FontDescriptor "+f+" 0 R"),o("/W "+e.API.PDFObject.convert(s)),o("/CIDToGIDMap /Identity"),o("/DW 1000"),o("/Subtype /CIDFontType2"),o("/CIDSystemInfo"),o("<<"),o("/Supplement 0"),o("/Registry (Adobe)"),o("/Ordering ("+n.encoding+")"),o(">>"),o(">>"),o("endobj"),n.objectNumber=i(),o("<<"),o("/Type /Font"),o("/Subtype /Type0"),o("/ToUnicode "+p+" 0 R"),o("/BaseFont /"+ze(n.fontName)),o("/Encoding /"+n.encoding),o("/DescendantFonts ["+h+" 0 R]"),o(">>"),o("endobj"),n.isAlreadyPutted=!0}}(t)}]),t.events.push(["putFont",function(t){!function(t){var n=t.font,o=t.out,i=t.newObject,a=t.putStream;if(n.metadata instanceof e.API.TTFFont&&"WinAnsiEncoding"===n.encoding){for(var s=n.metadata.rawData,l="",c=0;c<s.length;c++)l+=String.fromCharCode(s[c]);var u=i();a({data:l,addLength1:!0,objectId:u}),o("endobj");var d=i();a({data:r(n.metadata.toUnicode),addLength1:!0,objectId:d}),o("endobj");var p=i();o("<<"),o("/Descent "+n.metadata.decender),o("/CapHeight "+n.metadata.capHeight),o("/StemV "+n.metadata.stemV),o("/Type /FontDescriptor"),o("/FontFile2 "+u+" 0 R"),o("/Flags 96"),o("/FontBBox "+e.API.PDFObject.convert(n.metadata.bbox)),o("/FontName /"+ze(n.fontName)),o("/ItalicAngle "+n.metadata.italicAngle),o("/Ascent "+n.metadata.ascender),o(">>"),o("endobj"),n.objectNumber=i();for(var f=0;f<n.metadata.hmtx.widths.length;f++)n.metadata.hmtx.widths[f]=parseInt(n.metadata.hmtx.widths[f]*(1e3/n.metadata.head.unitsPerEm));o("<</Subtype/TrueType/Type/Font/ToUnicode "+d+" 0 R/BaseFont/"+ze(n.fontName)+"/FontDescriptor "+p+" 0 R/Encoding/"+n.encoding+" /FirstChar 29 /LastChar 255 /Widths "+e.API.PDFObject.convert(n.metadata.hmtx.widths)+">>"),o("endobj"),n.isAlreadyPutted=!0}}(t)}]);var o=function(e){var t,r=e.text||"",o=e.x,i=e.y,a=e.options||{},s=e.mutex||{},l=s.pdfEscape,c=s.activeFontKey,u=s.fonts,d=c,p="",f=0,h="",b=u[d].encoding;if("Identity-H"!==u[d].encoding)return{text:r,x:o,y:i,options:a,mutex:s};for(h=r,d=c,Array.isArray(r)&&(h=r[0]),f=0;f<h.length;f+=1)u[d].metadata.hasOwnProperty("cmap")&&(t=u[d].metadata.cmap.unicode.codeMap[h[f].charCodeAt(0)]),t||h[f].charCodeAt(0)<256&&u[d].metadata.hasOwnProperty("Unicode")?p+=h[f]:p+="";var A="";return parseInt(d.slice(1))<14||"WinAnsiEncoding"===b?A=l(p,d).split("").map((function(e){return e.charCodeAt(0).toString(16)})).join(""):"Identity-H"===b&&(A=n(p,u[d])),s.isHex=!0,{text:A,x:o,y:i,options:a,mutex:s}};t.events.push(["postProcessText",function(e){var t=e.text||"",n=[],r={text:t,x:e.x,y:e.y,options:e.options,mutex:e.mutex};if(Array.isArray(t)){var i=0;for(i=0;i<t.length;i+=1)Array.isArray(t[i])&&3===t[i].length?n.push([o(Object.assign({},r,{text:t[i][0]})).text,t[i][1],t[i][2]]):n.push(o(Object.assign({},r,{text:t[i]})).text);e.text=n}else e.text=o(Object.assign({},r,{text:t})).text}])}(ke),function(e){var t=function(){return void 0===this.internal.vFS&&(this.internal.vFS={}),!0};e.existsFileInVFS=function(e){return t.call(this),void 0!==this.internal.vFS[e]},e.addFileToVFS=function(e,n){return t.call(this),this.internal.vFS[e]=n,this},e.getFileFromVFS=function(e){return t.call(this),void 0!==this.internal.vFS[e]?this.internal.vFS[e]:null}}(ke.API),function(e){e.__bidiEngine__=e.prototype.__bidiEngine__=function(e){var n,r,o,i,a,s,l,c=t,u=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],d=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],p={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},f={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},h=["(",")","(","<",">","<","[","]","[","{","}","{","\xab","\xbb","\xab","\u2039","\u203a","\u2039","\u2045","\u2046","\u2045","\u207d","\u207e","\u207d","\u208d","\u208e","\u208d","\u2264","\u2265","\u2264","\u2329","\u232a","\u2329","\ufe59","\ufe5a","\ufe59","\ufe5b","\ufe5c","\ufe5b","\ufe5d","\ufe5e","\ufe5d","\ufe64","\ufe65","\ufe64"],b=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),A=!1,m=0;this.__bidiEngine__={};var g=function(e){var t=e.charCodeAt(),n=t>>8,r=f[n];return void 0!==r?c[256*r+(255&t)]:252===n||253===n?"AL":b.test(n)?"L":8===n?"R":"N"},v=function(e){for(var t,n=0;n<e.length;n++){if("L"===(t=g(e.charAt(n))))return!1;if("R"===t)return!0}return!1},y=function(e,t,a,s){var l,c,u,d,p=t[s];switch(p){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":A=!1;break;case"N":case"AN":break;case"EN":A&&(p="AN");break;case"AL":A=!0,p="R";break;case"WS":case"BN":p="N";break;case"CS":s<1||s+1>=t.length||"EN"!==(l=a[s-1])&&"AN"!==l||"EN"!==(c=t[s+1])&&"AN"!==c?p="N":A&&(c="AN"),p=c===l?c:"N";break;case"ES":p="EN"===(l=s>0?a[s-1]:"B")&&s+1<t.length&&"EN"===t[s+1]?"EN":"N";break;case"ET":if(s>0&&"EN"===a[s-1]){p="EN";break}if(A){p="N";break}for(u=s+1,d=t.length;u<d&&"ET"===t[u];)u++;p=u<d&&"EN"===t[u]?"EN":"N";break;case"NSM":if(o&&!i){for(d=t.length,u=s+1;u<d&&"NSM"===t[u];)u++;if(u<d){var f=e[s],h=f>=1425&&f<=2303||64286===f;if(l=t[u],h&&("R"===l||"AL"===l)){p="R";break}}}p=s<1||"B"===(l=t[s-1])?"N":a[s-1];break;case"B":A=!1,n=!0,p=m;break;case"S":r=!0,p="N"}return p},M=function(e,t,n){var r=e.split("");return n&&O(r,n,{hiLevel:m}),r.reverse(),t&&t.reverse(),r.join("")},O=function(e,t,o){var i,a,s,l,c,f=-1,h=e.length,b=0,v=[],M=m?d:u,O=[];for(A=!1,n=!1,r=!1,a=0;a<h;a++)O[a]=g(e[a]);for(s=0;s<h;s++){if(c=b,v[s]=y(e,O,v,s),i=240&(b=M[c][p[v[s]]]),b&=15,t[s]=l=M[b][5],i>0)if(16===i){for(a=f;a<s;a++)t[a]=1;f=-1}else f=-1;if(M[b][6])-1===f&&(f=s);else if(f>-1){for(a=f;a<s;a++)t[a]=l;f=-1}"B"===O[s]&&(t[s]=0),o.hiLevel|=l}r&&function(e,t,n){for(var r=0;r<n;r++)if("S"===e[r]){t[r]=m;for(var o=r-1;o>=0&&"WS"===e[o];o--)t[o]=m}}(O,t,h)},_=function(e,t,r,o,i){if(!(i.hiLevel<e)){if(1===e&&1===m&&!n)return t.reverse(),void(r&&r.reverse());for(var a,s,l,c,u=t.length,d=0;d<u;){if(o[d]>=e){for(l=d+1;l<u&&o[l]>=e;)l++;for(c=d,s=l-1;c<s;c++,s--)a=t[c],t[c]=t[s],t[s]=a,r&&(a=r[c],r[c]=r[s],r[s]=a);d=l}d++}}},z=function(e,t,n){var r=e.split(""),o={hiLevel:m};return n||(n=[]),O(r,n,o),function(e,t,n){if(0!==n.hiLevel&&l)for(var r,o=0;o<e.length;o++)1===t[o]&&(r=h.indexOf(e[o]))>=0&&(e[o]=h[r+1])}(r,n,o),_(2,r,t,n,o),_(1,r,t,n,o),r.join("")};return this.__bidiEngine__.doBidiReorder=function(e,t,n){if(function(e,t){if(t)for(var n=0;n<e.length;n++)t[n]=n;void 0===i&&(i=v(e)),void 0===s&&(s=v(e))}(e,t),o||!a||s)if(o&&a&&i^s)m=i?1:0,e=M(e,t,n);else if(!o&&a&&s)m=i?1:0,e=z(e,t,n),e=M(e,t);else if(!o||i||a||s){if(o&&!a&&i^s)e=M(e,t),i?(m=0,e=z(e,t,n)):(m=1,e=z(e,t,n),e=M(e,t));else if(o&&i&&!a&&s)m=1,e=z(e,t,n),e=M(e,t);else if(!o&&!a&&i^s){var r=l;i?(m=1,e=z(e,t,n),m=0,l=!1,e=z(e,t,n),l=r):(m=0,e=z(e,t,n),e=M(e,t),m=1,l=!1,e=z(e,t,n),l=r,e=M(e,t))}}else m=0,e=z(e,t,n);else m=i?1:0,e=z(e,t,n);return e},this.__bidiEngine__.setOptions=function(e){e&&(o=e.isInputVisual,a=e.isOutputVisual,i=e.isInputRtl,s=e.isOutputRtl,l=e.isSymmetricSwapping)},this.__bidiEngine__.setOptions(e),this.__bidiEngine__};var t=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],n=new e.__bidiEngine__({isInputVisual:!0});e.API.events.push(["postProcessText",function(e){var t=e.text,r=(e.x,e.y,e.options||{}),o=(e.mutex,r.lang,[]);if(r.isInputVisual="boolean"!=typeof r.isInputVisual||r.isInputVisual,n.setOptions(r),"[object Array]"===Object.prototype.toString.call(t)){var i=0;for(o=[],i=0;i<t.length;i+=1)"[object Array]"===Object.prototype.toString.call(t[i])?o.push([n.doBidiReorder(t[i][0]),t[i][1],t[i][2]]):o.push([n.doBidiReorder(t[i])]);e.text=o}else e.text=n.doBidiReorder(t);n.setOptions({isInputVisual:!0})}])}(ke),ke.API.TTFFont=function(){function e(e){var t;if(this.rawData=e,t=this.contents=new Yt(e),this.contents.pos=4,"ttcf"===t.readString(4))throw new Error("TTCF not supported.");t.pos=0,this.parse(),this.subset=new An(this),this.registerTTF()}return e.open=function(t){return new e(t)},e.prototype.parse=function(){return this.directory=new Gt(this.contents),this.head=new en(this),this.name=new ln(this),this.cmap=new nn(this),this.toUnicode={},this.hhea=new rn(this),this.maxp=new cn(this),this.hmtx=new un(this),this.post=new an(this),this.os2=new on(this),this.loca=new bn(this),this.glyf=new pn(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},e.prototype.registerTTF=function(){var e,t,n,r,o;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var t,n,r,o;for(o=[],t=0,n=(r=this.bbox).length;t<n;t++)e=r[t],o.push(Math.round(e*this.scaleFactor));return o}.call(this),this.stemV=0,this.post.exists?(n=255&(r=this.post.italic_angle),0!=(32768&(t=r>>16))&&(t=-(1+(65535^t))),this.italicAngle=+(t+"."+n)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=1===(o=this.familyClass)||2===o||3===o||4===o||5===o||7===o,this.isScript=10===this.familyClass,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),0!==this.italicAngle&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},e.prototype.characterToGlyph=function(e){var t;return(null!=(t=this.cmap.unicode)?t.codeMap[e]:void 0)||0},e.prototype.widthOfGlyph=function(e){var t;return t=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(e).advance*t},e.prototype.widthOfString=function(e,t,n){var r,o,i,a;for(i=0,o=0,a=(e=""+e).length;0<=a?o<a:o>a;o=0<=a?++o:--o)r=e.charCodeAt(o),i+=this.widthOfGlyph(this.characterToGlyph(r))+n*(1e3/t)||0;return i*(t/1e3)},e.prototype.lineHeight=function(e,t){var n;return null==t&&(t=!1),n=t?this.lineGap:0,(this.ascender+n-this.decender)/1e3*e},e}();var Qt,Yt=function(){function e(e){this.data=null!=e?e:[],this.pos=0,this.length=this.data.length}return e.prototype.readByte=function(){return this.data[this.pos++]},e.prototype.writeByte=function(e){return this.data[this.pos++]=e},e.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},e.prototype.writeUInt32=function(e){return this.writeByte(e>>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt32=function(){var e;return(e=this.readUInt32())>=2147483648?e-4294967296:e},e.prototype.writeInt32=function(e){return e<0&&(e+=4294967296),this.writeUInt32(e)},e.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},e.prototype.writeUInt16=function(e){return this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt16=function(){var e;return(e=this.readUInt16())>=32768?e-65536:e},e.prototype.writeInt16=function(e){return e<0&&(e+=65536),this.writeUInt16(e)},e.prototype.readString=function(e){var t,n;for(n=[],t=0;0<=e?t<e:t>e;t=0<=e?++t:--t)n[t]=String.fromCharCode(this.readByte());return n.join("")},e.prototype.writeString=function(e){var t,n,r;for(r=[],t=0,n=e.length;0<=n?t<n:t>n;t=0<=n?++t:--t)r.push(this.writeByte(e.charCodeAt(t)));return r},e.prototype.readShort=function(){return this.readInt16()},e.prototype.writeShort=function(e){return this.writeInt16(e)},e.prototype.readLongLong=function(){var e,t,n,r,o,i,a,s;return e=this.readByte(),t=this.readByte(),n=this.readByte(),r=this.readByte(),o=this.readByte(),i=this.readByte(),a=this.readByte(),s=this.readByte(),128&e?-1*(72057594037927940*(255^e)+281474976710656*(255^t)+1099511627776*(255^n)+4294967296*(255^r)+16777216*(255^o)+65536*(255^i)+256*(255^a)+(255^s)+1):72057594037927940*e+281474976710656*t+1099511627776*n+4294967296*r+16777216*o+65536*i+256*a+s},e.prototype.writeLongLong=function(e){var t,n;return t=Math.floor(e/4294967296),n=4294967295&e,this.writeByte(t>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t),this.writeByte(n>>24&255),this.writeByte(n>>16&255),this.writeByte(n>>8&255),this.writeByte(255&n)},e.prototype.readInt=function(){return this.readInt32()},e.prototype.writeInt=function(e){return this.writeInt32(e)},e.prototype.read=function(e){var t,n;for(t=[],n=0;0<=e?n<e:n>e;n=0<=e?++n:--n)t.push(this.readByte());return t},e.prototype.write=function(e){var t,n,r,o;for(o=[],n=0,r=e.length;n<r;n++)t=e[n],o.push(this.writeByte(t));return o},e}(),Gt=function(){var e;function t(e){var t,n,r;for(this.scalarType=e.readInt(),this.tableCount=e.readShort(),this.searchRange=e.readShort(),this.entrySelector=e.readShort(),this.rangeShift=e.readShort(),this.tables={},n=0,r=this.tableCount;0<=r?n<r:n>r;n=0<=r?++n:--n)t={tag:e.readString(4),checksum:e.readInt(),offset:e.readInt(),length:e.readInt()},this.tables[t.tag]=t}return t.prototype.encode=function(t){var n,r,o,i,a,s,l,c,u,d,p,f,h;for(h in p=Object.keys(t).length,s=Math.log(2),u=16*Math.floor(Math.log(p)/s),i=Math.floor(u/s),c=16*p-u,(r=new Yt).writeInt(this.scalarType),r.writeShort(p),r.writeShort(u),r.writeShort(i),r.writeShort(c),o=16*p,l=r.pos+o,a=null,f=[],t)for(d=t[h],r.writeString(h),r.writeInt(e(d)),r.writeInt(l),r.writeInt(d.length),f=f.concat(d),"head"===h&&(a=l),l+=d.length;l%4;)f.push(0),l++;return r.write(f),n=2981146554-e(r.data),r.pos=a+8,r.writeUInt32(n),r.data},e=function(e){var t,n,r,o;for(e=dn.call(e);e.length%4;)e.push(0);for(r=new Yt(e),n=0,t=0,o=e.length;t<o;t=t+=4)n+=r.readUInt32();return 4294967295&n},t}(),Kt={}.hasOwnProperty,Jt=function(e,t){for(var n in t)Kt.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e};Qt=function(){function e(e){var t;this.file=e,t=this.file.directory.tables[this.tag],this.exists=!!t,t&&(this.offset=t.offset,this.length=t.length,this.parse(this.file.contents))}return e.prototype.parse=function(){},e.prototype.encode=function(){},e.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},e}();var en=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Jt(t,Qt),t.prototype.tag="head",t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.revision=e.readInt(),this.checkSumAdjustment=e.readInt(),this.magicNumber=e.readInt(),this.flags=e.readShort(),this.unitsPerEm=e.readShort(),this.created=e.readLongLong(),this.modified=e.readLongLong(),this.xMin=e.readShort(),this.yMin=e.readShort(),this.xMax=e.readShort(),this.yMax=e.readShort(),this.macStyle=e.readShort(),this.lowestRecPPEM=e.readShort(),this.fontDirectionHint=e.readShort(),this.indexToLocFormat=e.readShort(),this.glyphDataFormat=e.readShort()},t.prototype.encode=function(e){var t;return(t=new Yt).writeInt(this.version),t.writeInt(this.revision),t.writeInt(this.checkSumAdjustment),t.writeInt(this.magicNumber),t.writeShort(this.flags),t.writeShort(this.unitsPerEm),t.writeLongLong(this.created),t.writeLongLong(this.modified),t.writeShort(this.xMin),t.writeShort(this.yMin),t.writeShort(this.xMax),t.writeShort(this.yMax),t.writeShort(this.macStyle),t.writeShort(this.lowestRecPPEM),t.writeShort(this.fontDirectionHint),t.writeShort(e),t.writeShort(this.glyphDataFormat),t.data},t}(),tn=function(){function e(e,t){var n,r,o,i,a,s,l,c,u,d,p,f,h,b,A,m,g;switch(this.platformID=e.readUInt16(),this.encodingID=e.readShort(),this.offset=t+e.readInt(),u=e.pos,e.pos=this.offset,this.format=e.readUInt16(),this.length=e.readUInt16(),this.language=e.readUInt16(),this.isUnicode=3===this.platformID&&1===this.encodingID&&4===this.format||0===this.platformID&&4===this.format,this.codeMap={},this.format){case 0:for(s=0;s<256;++s)this.codeMap[s]=e.readByte();break;case 4:for(p=e.readUInt16(),d=p/2,e.pos+=6,o=function(){var t,n;for(n=[],s=t=0;0<=d?t<d:t>d;s=0<=d?++t:--t)n.push(e.readUInt16());return n}(),e.pos+=2,h=function(){var t,n;for(n=[],s=t=0;0<=d?t<d:t>d;s=0<=d?++t:--t)n.push(e.readUInt16());return n}(),l=function(){var t,n;for(n=[],s=t=0;0<=d?t<d:t>d;s=0<=d?++t:--t)n.push(e.readUInt16());return n}(),c=function(){var t,n;for(n=[],s=t=0;0<=d?t<d:t>d;s=0<=d?++t:--t)n.push(e.readUInt16());return n}(),r=(this.length-e.pos+this.offset)/2,a=function(){var t,n;for(n=[],s=t=0;0<=r?t<r:t>r;s=0<=r?++t:--t)n.push(e.readUInt16());return n}(),s=A=0,g=o.length;A<g;s=++A)for(b=o[s],n=m=f=h[s];f<=b?m<=b:m>=b;n=f<=b?++m:--m)0===c[s]?i=n+l[s]:0!==(i=a[c[s]/2+(n-f)-(d-s)]||0)&&(i+=l[s]),this.codeMap[n]=65535&i}e.pos=u}return e.encode=function(e,t){var n,r,o,i,a,s,l,c,u,d,p,f,h,b,A,m,g,v,y,M,O,_,z,x,w,C,S,E,k,D,N,T,j,B,L,R,q,P,I,W,F,U,Z,H,$,V;switch(E=new Yt,i=Object.keys(e).sort((function(e,t){return e-t})),t){case"macroman":for(h=0,b=function(){var e=[];for(f=0;f<256;++f)e.push(0);return e}(),m={0:0},o={},k=0,j=i.length;k<j;k++)null==m[Z=e[r=i[k]]]&&(m[Z]=++h),o[r]={old:e[r],new:m[e[r]]},b[r]=m[e[r]];return E.writeUInt16(1),E.writeUInt16(0),E.writeUInt32(12),E.writeUInt16(0),E.writeUInt16(262),E.writeUInt16(0),E.write(b),{charMap:o,subtable:E.data,maxGlyphID:h+1};case"unicode":for(C=[],u=[],g=0,m={},n={},A=l=null,D=0,B=i.length;D<B;D++)null==m[y=e[r=i[D]]]&&(m[y]=++g),n[r]={old:y,new:m[y]},a=m[y]-r,null!=A&&a===l||(A&&u.push(A),C.push(r),l=a),A=r;for(A&&u.push(A),u.push(65535),C.push(65535),x=2*(z=C.length),_=2*Math.pow(Math.log(z)/Math.LN2,2),d=Math.log(_/2)/Math.LN2,O=2*z-_,s=[],M=[],p=[],f=N=0,L=C.length;N<L;f=++N){if(w=C[f],c=u[f],65535===w){s.push(0),M.push(0);break}if(w-(S=n[w].new)>=32768)for(s.push(0),M.push(2*(p.length+z-f)),r=T=w;w<=c?T<=c:T>=c;r=w<=c?++T:--T)p.push(n[r].new);else s.push(S-w),M.push(0)}for(E.writeUInt16(3),E.writeUInt16(1),E.writeUInt32(12),E.writeUInt16(4),E.writeUInt16(16+8*z+2*p.length),E.writeUInt16(0),E.writeUInt16(x),E.writeUInt16(_),E.writeUInt16(d),E.writeUInt16(O),F=0,R=u.length;F<R;F++)r=u[F],E.writeUInt16(r);for(E.writeUInt16(0),U=0,q=C.length;U<q;U++)r=C[U],E.writeUInt16(r);for(H=0,P=s.length;H<P;H++)a=s[H],E.writeUInt16(a);for($=0,I=M.length;$<I;$++)v=M[$],E.writeUInt16(v);for(V=0,W=p.length;V<W;V++)h=p[V],E.writeUInt16(h);return{charMap:n,subtable:E.data,maxGlyphID:g+1}}},e}(),nn=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Jt(t,Qt),t.prototype.tag="cmap",t.prototype.parse=function(e){var t,n,r;for(e.pos=this.offset,this.version=e.readUInt16(),r=e.readUInt16(),this.tables=[],this.unicode=null,n=0;0<=r?n<r:n>r;n=0<=r?++n:--n)t=new tn(e,this.offset),this.tables.push(t),t.isUnicode&&null==this.unicode&&(this.unicode=t);return!0},t.encode=function(e,t){var n,r;return null==t&&(t="macroman"),n=tn.encode(e,t),(r=new Yt).writeUInt16(0),r.writeUInt16(1),n.table=r.data.concat(n.subtable),n},t}(),rn=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Jt(t,Qt),t.prototype.tag="hhea",t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.ascender=e.readShort(),this.decender=e.readShort(),this.lineGap=e.readShort(),this.advanceWidthMax=e.readShort(),this.minLeftSideBearing=e.readShort(),this.minRightSideBearing=e.readShort(),this.xMaxExtent=e.readShort(),this.caretSlopeRise=e.readShort(),this.caretSlopeRun=e.readShort(),this.caretOffset=e.readShort(),e.pos+=8,this.metricDataFormat=e.readShort(),this.numberOfMetrics=e.readUInt16()},t}(),on=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Jt(t,Qt),t.prototype.tag="OS/2",t.prototype.parse=function(e){if(e.pos=this.offset,this.version=e.readUInt16(),this.averageCharWidth=e.readShort(),this.weightClass=e.readUInt16(),this.widthClass=e.readUInt16(),this.type=e.readShort(),this.ySubscriptXSize=e.readShort(),this.ySubscriptYSize=e.readShort(),this.ySubscriptXOffset=e.readShort(),this.ySubscriptYOffset=e.readShort(),this.ySuperscriptXSize=e.readShort(),this.ySuperscriptYSize=e.readShort(),this.ySuperscriptXOffset=e.readShort(),this.ySuperscriptYOffset=e.readShort(),this.yStrikeoutSize=e.readShort(),this.yStrikeoutPosition=e.readShort(),this.familyClass=e.readShort(),this.panose=function(){var t,n;for(n=[],t=0;t<10;++t)n.push(e.readByte());return n}(),this.charRange=function(){var t,n;for(n=[],t=0;t<4;++t)n.push(e.readInt());return n}(),this.vendorID=e.readString(4),this.selection=e.readShort(),this.firstCharIndex=e.readShort(),this.lastCharIndex=e.readShort(),this.version>0&&(this.ascent=e.readShort(),this.descent=e.readShort(),this.lineGap=e.readShort(),this.winAscent=e.readShort(),this.winDescent=e.readShort(),this.codePageRange=function(){var t,n;for(n=[],t=0;t<2;t=++t)n.push(e.readInt());return n}(),this.version>1))return this.xHeight=e.readShort(),this.capHeight=e.readShort(),this.defaultChar=e.readShort(),this.breakChar=e.readShort(),this.maxContext=e.readShort()},t}(),an=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Jt(t,Qt),t.prototype.tag="post",t.prototype.parse=function(e){var t,n,r;switch(e.pos=this.offset,this.format=e.readInt(),this.italicAngle=e.readInt(),this.underlinePosition=e.readShort(),this.underlineThickness=e.readShort(),this.isFixedPitch=e.readInt(),this.minMemType42=e.readInt(),this.maxMemType42=e.readInt(),this.minMemType1=e.readInt(),this.maxMemType1=e.readInt(),this.format){case 65536:case 196608:break;case 131072:var o;for(n=e.readUInt16(),this.glyphNameIndex=[],o=0;0<=n?o<n:o>n;o=0<=n?++o:--o)this.glyphNameIndex.push(e.readUInt16());for(this.names=[],r=[];e.pos<this.offset+this.length;)t=e.readByte(),r.push(this.names.push(e.readString(t)));return r;case 151552:return n=e.readUInt16(),this.offsets=e.read(n);case 262144:return this.map=function(){var t,n,r;for(r=[],o=t=0,n=this.file.maxp.numGlyphs;0<=n?t<n:t>n;o=0<=n?++t:--t)r.push(e.readUInt32());return r}.call(this)}},t}(),sn=function(e,t){this.raw=e,this.length=e.length,this.platformID=t.platformID,this.encodingID=t.encodingID,this.languageID=t.languageID},ln=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Jt(t,Qt),t.prototype.tag="name",t.prototype.parse=function(e){var t,n,r,o,i,a,s,l,c,u,d;for(e.pos=this.offset,e.readShort(),t=e.readShort(),a=e.readShort(),n=[],o=0;0<=t?o<t:o>t;o=0<=t?++o:--o)n.push({platformID:e.readShort(),encodingID:e.readShort(),languageID:e.readShort(),nameID:e.readShort(),length:e.readShort(),offset:this.offset+a+e.readShort()});for(s={},o=c=0,u=n.length;c<u;o=++c)r=n[o],e.pos=r.offset,l=e.readString(r.length),i=new sn(l,r),null==s[d=r.nameID]&&(s[d]=[]),s[r.nameID].push(i);this.strings=s,this.copyright=s[0],this.fontFamily=s[1],this.fontSubfamily=s[2],this.uniqueSubfamily=s[3],this.fontName=s[4],this.version=s[5];try{this.postscriptName=s[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(e){this.postscriptName=s[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=s[7],this.manufacturer=s[8],this.designer=s[9],this.description=s[10],this.vendorUrl=s[11],this.designerUrl=s[12],this.license=s[13],this.licenseUrl=s[14],this.preferredFamily=s[15],this.preferredSubfamily=s[17],this.compatibleFull=s[18],this.sampleText=s[19]},t}(),cn=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Jt(t,Qt),t.prototype.tag="maxp",t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.numGlyphs=e.readUInt16(),this.maxPoints=e.readUInt16(),this.maxContours=e.readUInt16(),this.maxCompositePoints=e.readUInt16(),this.maxComponentContours=e.readUInt16(),this.maxZones=e.readUInt16(),this.maxTwilightPoints=e.readUInt16(),this.maxStorage=e.readUInt16(),this.maxFunctionDefs=e.readUInt16(),this.maxInstructionDefs=e.readUInt16(),this.maxStackElements=e.readUInt16(),this.maxSizeOfInstructions=e.readUInt16(),this.maxComponentElements=e.readUInt16(),this.maxComponentDepth=e.readUInt16()},t}(),un=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Jt(t,Qt),t.prototype.tag="hmtx",t.prototype.parse=function(e){var t,n,r,o,i,a,s;for(e.pos=this.offset,this.metrics=[],t=0,a=this.file.hhea.numberOfMetrics;0<=a?t<a:t>a;t=0<=a?++t:--t)this.metrics.push({advance:e.readUInt16(),lsb:e.readInt16()});for(r=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var n,o;for(o=[],t=n=0;0<=r?n<r:n>r;t=0<=r?++n:--n)o.push(e.readInt16());return o}(),this.widths=function(){var e,t,n,r;for(r=[],e=0,t=(n=this.metrics).length;e<t;e++)o=n[e],r.push(o.advance);return r}.call(this),n=this.widths[this.widths.length-1],s=[],t=i=0;0<=r?i<r:i>r;t=0<=r?++i:--i)s.push(this.widths.push(n));return s},t.prototype.forGlyph=function(e){return e in this.metrics?this.metrics[e]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[e-this.metrics.length]}},t}(),dn=[].slice,pn=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Jt(t,Qt),t.prototype.tag="glyf",t.prototype.parse=function(){return this.cache={}},t.prototype.glyphFor=function(e){var t,n,r,o,i,a,s,l,c,u;return e in this.cache?this.cache[e]:(o=this.file.loca,t=this.file.contents,n=o.indexOf(e),0===(r=o.lengthOf(e))?this.cache[e]=null:(t.pos=this.offset+n,i=(a=new Yt(t.read(r))).readShort(),l=a.readShort(),u=a.readShort(),s=a.readShort(),c=a.readShort(),this.cache[e]=-1===i?new hn(a,l,u,s,c):new fn(a,i,l,u,s,c),this.cache[e]))},t.prototype.encode=function(e,t,n){var r,o,i,a,s;for(i=[],o=[],a=0,s=t.length;a<s;a++)r=e[t[a]],o.push(i.length),r&&(i=i.concat(r.encode(n)));return o.push(i.length),{table:i,offsets:o}},t}(),fn=function(){function e(e,t,n,r,o,i){this.raw=e,this.numberOfContours=t,this.xMin=n,this.yMin=r,this.xMax=o,this.yMax=i,this.compound=!1}return e.prototype.encode=function(){return this.raw.data},e}(),hn=function(){function e(e,t,n,r,o){var i,a;for(this.raw=e,this.xMin=t,this.yMin=n,this.xMax=r,this.yMax=o,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],i=this.raw;a=i.readShort(),this.glyphOffsets.push(i.pos),this.glyphIDs.push(i.readUInt16()),32&a;)i.pos+=1&a?4:2,128&a?i.pos+=8:64&a?i.pos+=4:8&a&&(i.pos+=2)}return e.prototype.encode=function(){var e,t,n;for(t=new Yt(dn.call(this.raw.data)),e=0,n=this.glyphIDs.length;e<n;++e)t.pos=this.glyphOffsets[e];return t.data},e}(),bn=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Jt(t,Qt),t.prototype.tag="loca",t.prototype.parse=function(e){var t,n;return e.pos=this.offset,t=this.file.head.indexToLocFormat,this.offsets=0===t?function(){var t,r;for(r=[],n=0,t=this.length;n<t;n+=2)r.push(2*e.readUInt16());return r}.call(this):function(){var t,r;for(r=[],n=0,t=this.length;n<t;n+=4)r.push(e.readUInt32());return r}.call(this)},t.prototype.indexOf=function(e){return this.offsets[e]},t.prototype.lengthOf=function(e){return this.offsets[e+1]-this.offsets[e]},t.prototype.encode=function(e,t){for(var n=new Uint32Array(this.offsets.length),r=0,o=0,i=0;i<n.length;++i)if(n[i]=r,o<t.length&&t[o]==i){++o,n[i]=r;var a=this.offsets[i],s=this.offsets[i+1]-a;s>0&&(r+=s)}for(var l=new Array(4*n.length),c=0;c<n.length;++c)l[4*c+3]=255&n[c],l[4*c+2]=(65280&n[c])>>8,l[4*c+1]=(16711680&n[c])>>16,l[4*c]=(4278190080&n[c])>>24;return l},t}(),An=function(){function e(e){this.font=e,this.subset={},this.unicodes={},this.next=33}return e.prototype.generateCmap=function(){var e,t,n,r,o;for(t in r=this.font.cmap.tables[0].codeMap,e={},o=this.subset)n=o[t],e[t]=r[n];return e},e.prototype.glyphsFor=function(e){var t,n,r,o,i,a,s;for(r={},i=0,a=e.length;i<a;i++)r[o=e[i]]=this.font.glyf.glyphFor(o);for(o in t=[],r)(null!=(n=r[o])?n.compound:void 0)&&t.push.apply(t,n.glyphIDs);if(t.length>0)for(o in s=this.glyphsFor(t))n=s[o],r[o]=n;return r},e.prototype.encode=function(e,t){var n,r,o,i,a,s,l,c,u,d,p,f,h,b,A;for(r in n=nn.encode(this.generateCmap(),"unicode"),i=this.glyphsFor(e),p={0:0},A=n.charMap)p[(s=A[r]).old]=s.new;for(f in d=n.maxGlyphID,i)f in p||(p[f]=d++);return c=function(e){var t,n;for(t in n={},e)n[e[t]]=t;return n}(p),u=Object.keys(c).sort((function(e,t){return e-t})),h=function(){var e,t,n;for(n=[],e=0,t=u.length;e<t;e++)a=u[e],n.push(c[a]);return n}(),o=this.font.glyf.encode(i,h,p),l=this.font.loca.encode(o.offsets,h),b={cmap:this.font.cmap.raw(),glyf:o.table,loca:l,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(t)},this.font.os2.exists&&(b["OS/2"]=this.font.os2.raw()),this.font.directory.encode(b)},e}();ke.API.PDFObject=function(){var e;function t(){}return e=function(e,t){return(Array(t+1).join("0")+e).slice(-t)},t.convert=function(n){var r,o,i,a;if(Array.isArray(n))return"["+function(){var e,o,i;for(i=[],e=0,o=n.length;e<o;e++)r=n[e],i.push(t.convert(r));return i}().join(" ")+"]";if("string"==typeof n)return"/"+n;if(null!=n?n.isString:void 0)return"("+n+")";if(n instanceof Date)return"(D:"+e(n.getUTCFullYear(),4)+e(n.getUTCMonth(),2)+e(n.getUTCDate(),2)+e(n.getUTCHours(),2)+e(n.getUTCMinutes(),2)+e(n.getUTCSeconds(),2)+"Z)";if("[object Object]"==={}.toString.call(n)){for(o in i=["<<"],n)a=n[o],i.push("/"+o+" "+t.convert(a));return i.push(">>"),i.join("\n")}return""+n},t}();var mn=ke},60792:function(e,t,n){"use strict";n.d(t,{EK:function(){return f},HZ:function(){return me},JH:function(){return d},RB:function(){return X},Ue:function(){return Ae},_$:function(){return ge},xE:function(){return G}});var r=n(87462),o=n(31728),i=n(43144),a=n(94578),s=n(97326),l=n(63366),c={}.constructor;function u(e){if(null==e||"object"!==typeof e)return e;if(Array.isArray(e))return e.map(u);if(e.constructor!==c)return e;var t={};for(var n in e)t[n]=u(e[n]);return t}function d(e,t,n){void 0===e&&(e="unnamed");var r=n.jss,o=u(t),i=r.plugins.onCreateRule(e,o,n);return i||(e[0],null)}var p=function(e,t){for(var n="",r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=t),n+=e[r];return n},f=function(e){if(!Array.isArray(e))return e;var t="";if(Array.isArray(e[0]))for(var n=0;n<e.length&&"!important"!==e[n];n++)t&&(t+=", "),t+=p(e[n]," ");else t=p(e,", ");return"!important"===e[e.length-1]&&(t+=" !important"),t};function h(e){return e&&!1===e.format?{linebreak:"",space:""}:{linebreak:"\n",space:" "}}function b(e,t){for(var n="",r=0;r<t;r++)n+="  ";return n+e}function A(e,t,n){void 0===n&&(n={});var r="";if(!t)return r;var o=n.indent,i=void 0===o?0:o,a=t.fallbacks;!1===n.format&&(i=-1/0);var s=h(n),l=s.linebreak,c=s.space;if(e&&i++,a)if(Array.isArray(a))for(var u=0;u<a.length;u++){var d=a[u];for(var p in d){var A=d[p];null!=A&&(r&&(r+=l),r+=b(p+":"+c+f(A)+";",i))}}else for(var m in a){var g=a[m];null!=g&&(r&&(r+=l),r+=b(m+":"+c+f(g)+";",i))}for(var v in t){var y=t[v];null!=y&&"fallbacks"!==v&&(r&&(r+=l),r+=b(v+":"+c+f(y)+";",i))}return(r||n.allowEmpty)&&e?(r&&(r=""+l+r+l),b(""+e+c+"{"+r,--i)+b("}",i)):r}var m=/([[\].#*$><+~=|^:(),"'`\s])/g,g="undefined"!==typeof CSS&&CSS.escape,v=function(e){return g?g(e):e.replace(m,"\\$1")},y=function(){function e(e,t,n){this.type="style",this.isProcessed=!1;var r=n.sheet,o=n.Renderer;this.key=e,this.options=n,this.style=t,r?this.renderer=r.renderer:o&&(this.renderer=new o)}return e.prototype.prop=function(e,t,n){if(void 0===t)return this.style[e];var r=!!n&&n.force;if(!r&&this.style[e]===t)return this;var o=t;n&&!1===n.process||(o=this.options.jss.plugins.onChangeValue(t,e,this));var i=null==o||!1===o,a=e in this.style;if(i&&!a&&!r)return this;var s=i&&a;if(s?delete this.style[e]:this.style[e]=o,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,o),this;var l=this.options.sheet;return l&&l.attached,this},e}(),M=function(e){function t(t,n,r){var o;o=e.call(this,t,n,r)||this;var i=r.selector,a=r.scoped,l=r.sheet,c=r.generateId;return i?o.selectorText=i:!1!==a&&(o.id=c((0,s.Z)((0,s.Z)(o)),l),o.selectorText="."+v(o.id)),o}(0,a.Z)(t,e);var n=t.prototype;return n.applyTo=function(e){var t=this.renderer;if(t){var n=this.toJSON();for(var r in n)t.setProperty(e,r,n[r])}return this},n.toJSON=function(){var e={};for(var t in this.style){var n=this.style[t];"object"!==typeof n?e[t]=n:Array.isArray(n)&&(e[t]=f(n))}return e},n.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?(0,r.Z)({},e,{allowEmpty:!0}):e;return A(this.selectorText,this.style,n)},(0,i.Z)(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,n=this.renderable;if(n&&t)t.setSelector(n,e)||t.replaceRule(n,this)}},get:function(){return this.selectorText}}]),t}(y),O={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new M(e,t,n)}},_={indent:1,children:!0},z=/@([\w-]+)/,x=function(){function e(e,t,n){this.type="conditional",this.isProcessed=!1,this.key=e;var o=e.match(z);for(var i in this.at=o?o[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new X((0,r.Z)({},n,{parent:this})),t)this.rules.add(i,t[i]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},t.replaceRule=function(e,t,n){var r=this.rules.replace(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.toString=function(e){void 0===e&&(e=_);var t=h(e).linebreak;if(null==e.indent&&(e.indent=_.indent),null==e.children&&(e.children=_.children),!1===e.children)return this.query+" {}";var n=this.rules.toString(e);return n?this.query+" {"+t+n+t+"}":""},e}(),w=/@container|@media|@supports\s+/,C={onCreateRule:function(e,t,n){return w.test(e)?new x(e,t,n):null}},S={indent:1,children:!0},E=/@keyframes\s+([\w-]+)/,k=function(){function e(e,t,n){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var o=e.match(E);o&&o[1]?this.name=o[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var i=n.scoped,a=n.sheet,s=n.generateId;for(var l in this.id=!1===i?this.name:v(s(this,a)),this.rules=new X((0,r.Z)({},n,{parent:this})),t)this.rules.add(l,t[l],(0,r.Z)({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){void 0===e&&(e=S);var t=h(e).linebreak;if(null==e.indent&&(e.indent=S.indent),null==e.children&&(e.children=S.children),!1===e.children)return this.at+" "+this.id+" {}";var n=this.rules.toString(e);return n&&(n=""+t+n+t),this.at+" "+this.id+" {"+n+"}"},e}(),D=/@keyframes\s+/,N=/\$([\w-]+)/g,T=function(e,t){return"string"===typeof e?e.replace(N,(function(e,n){return n in t?t[n]:e})):e},j=function(e,t,n){var r=e[t],o=T(r,n);o!==r&&(e[t]=o)},B={onCreateRule:function(e,t,n){return"string"===typeof e&&D.test(e)?new k(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&j(e,"animation-name",n.keyframes),"animation"in e&&j(e,"animation",n.keyframes),e):e},onChangeValue:function(e,t,n){var r=n.options.sheet;if(!r)return e;switch(t){case"animation":case"animation-name":return T(e,r.keyframes);default:return e}}},L=function(e){function t(){return e.apply(this,arguments)||this}return(0,a.Z)(t,e),t.prototype.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?(0,r.Z)({},e,{allowEmpty:!0}):e;return A(this.key,this.style,n)},t}(y),R={onCreateRule:function(e,t,n){return n.parent&&"keyframes"===n.parent.type?new L(e,t,n):null}},q=function(){function e(e,t,n){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){var t=h(e).linebreak;if(Array.isArray(this.style)){for(var n="",r=0;r<this.style.length;r++)n+=A(this.at,this.style[r]),this.style[r+1]&&(n+=t);return n}return A(this.at,this.style,e)},e}(),P=/@font-face/,I={onCreateRule:function(e,t,n){return P.test(e)?new q(e,t,n):null}},W=function(){function e(e,t,n){this.type="viewport",this.at="@viewport",this.isProcessed=!1,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){return A(this.key,this.style,e)},e}(),F={onCreateRule:function(e,t,n){return"@viewport"===e||"@-ms-viewport"===e?new W(e,t,n):null}},U=function(){function e(e,t,n){this.type="simple",this.isProcessed=!1,this.key=e,this.value=t,this.options=n}return e.prototype.toString=function(e){if(Array.isArray(this.value)){for(var t="",n=0;n<this.value.length;n++)t+=this.key+" "+this.value[n]+";",this.value[n+1]&&(t+="\n");return t}return this.key+" "+this.value+";"},e}(),Z={"@charset":!0,"@import":!0,"@namespace":!0},H=[O,C,B,R,I,F,{onCreateRule:function(e,t,n){return e in Z?new U(e,t,n):null}}],$={process:!0},V={force:!0,process:!0},X=function(){function e(e){this.map={},this.raw={},this.index=[],this.counter=0,this.options=e,this.classes=e.classes,this.keyframes=e.keyframes}var t=e.prototype;return t.add=function(e,t,n){var o=this.options,i=o.parent,a=o.sheet,s=o.jss,l=o.Renderer,c=o.generateId,u=o.scoped,p=(0,r.Z)({classes:this.classes,parent:i,sheet:a,jss:s,Renderer:l,generateId:c,scoped:u,name:e,keyframes:this.keyframes,selector:void 0},n),f=e;e in this.raw&&(f=e+"-d"+this.counter++),this.raw[f]=t,f in this.classes&&(p.selector="."+v(this.classes[f]));var h=d(f,t,p);if(!h)return null;this.register(h);var b=void 0===p.index?this.index.length:p.index;return this.index.splice(b,0,h),h},t.replace=function(e,t,n){var o=this.get(e),i=this.index.indexOf(o);o&&this.remove(o);var a=n;return-1!==i&&(a=(0,r.Z)({},n,{index:i})),this.add(e,t,a)},t.get=function(e){return this.map[e]},t.remove=function(e){this.unregister(e),delete this.raw[e.key],this.index.splice(this.index.indexOf(e),1)},t.indexOf=function(e){return this.index.indexOf(e)},t.process=function(){var e=this.options.jss.plugins;this.index.slice(0).forEach(e.onProcessRule,e)},t.register=function(e){this.map[e.key]=e,e instanceof M?(this.map[e.selector]=e,e.id&&(this.classes[e.key]=e.id)):e instanceof k&&this.keyframes&&(this.keyframes[e.name]=e.id)},t.unregister=function(e){delete this.map[e.key],e instanceof M?(delete this.map[e.selector],delete this.classes[e.key]):e instanceof k&&delete this.keyframes[e.name]},t.update=function(){var e,t,n;if("string"===typeof(arguments.length<=0?void 0:arguments[0])?(e=arguments.length<=0?void 0:arguments[0],t=arguments.length<=1?void 0:arguments[1],n=arguments.length<=2?void 0:arguments[2]):(t=arguments.length<=0?void 0:arguments[0],n=arguments.length<=1?void 0:arguments[1],e=null),e)this.updateOne(this.get(e),t,n);else for(var r=0;r<this.index.length;r++)this.updateOne(this.index[r],t,n)},t.updateOne=function(t,n,r){void 0===r&&(r=$);var o=this.options,i=o.jss.plugins,a=o.sheet;if(t.rules instanceof e)t.rules.update(n,r);else{var s=t.style;if(i.onUpdate(n,t,a,r),r.process&&s&&s!==t.style){for(var l in i.onProcessStyle(t.style,t,a),t.style){var c=t.style[l];c!==s[l]&&t.prop(l,c,V)}for(var u in s){var d=t.style[u],p=s[u];null==d&&d!==p&&t.prop(u,null,V)}}}},t.toString=function(e){for(var t="",n=this.options.sheet,r=!!n&&n.options.link,o=h(e).linebreak,i=0;i<this.index.length;i++){var a=this.index[i].toString(e);(a||r)&&(t&&(t+=o),t+=a)}return t},e}(),Q=function(){function e(e,t){for(var n in this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=(0,r.Z)({},t,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),t.Renderer&&(this.renderer=new t.Renderer(this)),this.rules=new X(this.options),e)this.rules.add(n,e[n]);this.rules.process()}var t=e.prototype;return t.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},t.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},t.addRule=function(e,t,n){var r=this.queue;this.attached&&!r&&(this.queue=[]);var o=this.rules.add(e,t,n);return o?(this.options.jss.plugins.onProcessRule(o),this.attached?this.deployed?(r?r.push(o):(this.insertRule(o),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),o):o:(this.deployed=!1,o)):null},t.replaceRule=function(e,t,n){var r=this.rules.get(e);if(!r)return this.addRule(e,t,n);var o=this.rules.replace(e,t,n);return o&&this.options.jss.plugins.onProcessRule(o),this.attached?this.deployed?(this.renderer&&(o?r.renderable&&this.renderer.replaceRule(r.renderable,o):this.renderer.deleteRule(r)),o):o:(this.deployed=!1,o)},t.insertRule=function(e){this.renderer&&this.renderer.insertRule(e)},t.addRules=function(e,t){var n=[];for(var r in e){var o=this.addRule(r,e[r],t);o&&n.push(o)}return n},t.getRule=function(e){return this.rules.get(e)},t.deleteRule=function(e){var t="object"===typeof e?e:this.rules.get(e);return!(!t||this.attached&&!t.renderable)&&(this.rules.remove(t),!(this.attached&&t.renderable&&this.renderer)||this.renderer.deleteRule(t.renderable))},t.indexOf=function(e){return this.rules.indexOf(e)},t.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},t.update=function(){var e;return(e=this.rules).update.apply(e,arguments),this},t.updateOne=function(e,t,n){return this.rules.updateOne(e,t,n),this},t.toString=function(e){return this.rules.toString(e)},e}(),Y=function(){function e(){this.plugins={internal:[],external:[]},this.registry={}}var t=e.prototype;return t.onCreateRule=function(e,t,n){for(var r=0;r<this.registry.onCreateRule.length;r++){var o=this.registry.onCreateRule[r](e,t,n);if(o)return o}return null},t.onProcessRule=function(e){if(!e.isProcessed){for(var t=e.options.sheet,n=0;n<this.registry.onProcessRule.length;n++)this.registry.onProcessRule[n](e,t);e.style&&this.onProcessStyle(e.style,e,t),e.isProcessed=!0}},t.onProcessStyle=function(e,t,n){for(var r=0;r<this.registry.onProcessStyle.length;r++)t.style=this.registry.onProcessStyle[r](t.style,t,n)},t.onProcessSheet=function(e){for(var t=0;t<this.registry.onProcessSheet.length;t++)this.registry.onProcessSheet[t](e)},t.onUpdate=function(e,t,n,r){for(var o=0;o<this.registry.onUpdate.length;o++)this.registry.onUpdate[o](e,t,n,r)},t.onChangeValue=function(e,t,n){for(var r=e,o=0;o<this.registry.onChangeValue.length;o++)r=this.registry.onChangeValue[o](r,t,n);return r},t.use=function(e,t){void 0===t&&(t={queue:"external"});var n=this.plugins[t.queue];-1===n.indexOf(e)&&(n.push(e),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(e,t){for(var n in t)n in e&&e[n].push(t[n]);return e}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),G=function(){function e(){this.registry=[]}var t=e.prototype;return t.add=function(e){var t=this.registry,n=e.options.index;if(-1===t.indexOf(e))if(0===t.length||n>=this.index)t.push(e);else for(var r=0;r<t.length;r++)if(t[r].options.index>n)return void t.splice(r,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,n=t.attached,r=(0,l.Z)(t,["attached"]),o=h(r).linebreak,i="",a=0;a<this.registry.length;a++){var s=this.registry[a];null!=n&&s.attached!==n||(i&&(i+=o),i+=s.toString(r))}return i},(0,i.Z)(e,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}(),K=new G,J="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window&&window.Math===Math?window:"undefined"!==typeof self&&self.Math===Math?self:Function("return this")(),ee="2f1acc6c3a606b082e5eef5e54414ffb";null==J[ee]&&(J[ee]=0);var te=J[ee]++,ne=function(e){void 0===e&&(e={});var t=0;return function(n,r){t+=1;var o="",i="";return r&&(r.options.classNamePrefix&&(i=r.options.classNamePrefix),null!=r.options.jss.id&&(o=String(r.options.jss.id))),e.minify?""+(i||"c")+te+o+t:i+n.key+"-"+te+(o?"-"+o:"")+"-"+t}},re=function(e){var t;return function(){return t||(t=e()),t}},oe=function(e,t){try{return e.attributeStyleMap?e.attributeStyleMap.get(t):e.style.getPropertyValue(t)}catch(n){return""}},ie=function(e,t,n){try{var r=n;if(Array.isArray(n)&&(r=f(n)),e.attributeStyleMap)e.attributeStyleMap.set(t,r);else{var o=r?r.indexOf("!important"):-1,i=o>-1?r.substr(0,o-1):r;e.style.setProperty(t,i,o>-1?"important":"")}}catch(a){return!1}return!0},ae=function(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(n){}},se=function(e,t){return e.selectorText=t,e.selectorText===t},le=re((function(){return document.querySelector("head")}));function ce(e){var t=K.registry;if(t.length>0){var n=function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.attached&&r.options.index>t.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if(n=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e),n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=e.insertionPoint;if(r&&"string"===typeof r){var o=function(e){for(var t=le(),n=0;n<t.childNodes.length;n++){var r=t.childNodes[n];if(8===r.nodeType&&r.nodeValue.trim()===e)return r}return null}(r);if(o)return{parent:o.parentNode,node:o.nextSibling}}return!1}var ue=re((function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null})),de=function(e,t,n){try{"insertRule"in e?e.insertRule(t,n):"appendRule"in e&&e.appendRule(t)}catch(r){return!1}return e.cssRules[n]},pe=function(e,t){var n=e.cssRules.length;return void 0===t||t>n?n:t},fe=function(){function e(e){this.getPropertyValue=oe,this.setProperty=ie,this.removeProperty=ae,this.setSelector=se,this.hasInsertedRules=!1,this.cssRules=[],e&&K.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},n=t.media,r=t.meta,o=t.element;this.element=o||function(){var e=document.createElement("style");return e.textContent="\n",e}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var i=ue();i&&this.element.setAttribute("nonce",i)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var n=t.insertionPoint,r=ce(t);if(!1!==r&&r.parent)r.parent.insertBefore(e,r.node);else if(n&&"number"===typeof n.nodeType){var o=n,i=o.parentNode;i&&i.insertBefore(e,o.nextSibling)}else le().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var n=0;n<e.index.length;n++)this.insertRule(e.index[n],n,t)},t.insertRule=function(e,t,n){if(void 0===n&&(n=this.element.sheet),e.rules){var r=e,o=n;if("conditional"===e.type||"keyframes"===e.type){var i=pe(n,t);if(!1===(o=de(n,r.toString({children:!1}),i)))return!1;this.refCssRule(e,i,o)}return this.insertRules(r.rules,o),o}var a=e.toString();if(!a)return!1;var s=pe(n,t),l=de(n,a,s);return!1!==l&&(this.hasInsertedRules=!0,this.refCssRule(e,s,l),l)},t.refCssRule=function(e,t,n){e.renderable=n,e.options.parent instanceof Q&&this.cssRules.splice(t,0,n)},t.deleteRule=function(e){var t=this.element.sheet,n=this.indexOf(e);return-1!==n&&(t.deleteRule(n),this.cssRules.splice(n,1),!0)},t.indexOf=function(e){return this.cssRules.indexOf(e)},t.replaceRule=function(e,t){var n=this.indexOf(e);return-1!==n&&(this.element.sheet.deleteRule(n),this.cssRules.splice(n,1),this.insertRule(t,n))},t.getRules=function(){return this.element.sheet.cssRules},e}(),he=0,be=function(){function e(e){this.id=he++,this.version="10.10.0",this.plugins=new Y,this.options={id:{minify:!1},createGenerateId:ne,Renderer:o.Z?fe:null,plugins:[]},this.generateId=ne({minify:!1});for(var t=0;t<H.length;t++)this.plugins.use(H[t],{queue:"internal"});this.setup(e)}var t=e.prototype;return t.setup=function(e){return void 0===e&&(e={}),e.createGenerateId&&(this.options.createGenerateId=e.createGenerateId),e.id&&(this.options.id=(0,r.Z)({},this.options.id,e.id)),(e.createGenerateId||e.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),"Renderer"in e&&(this.options.Renderer=e.Renderer),e.plugins&&this.use.apply(this,e.plugins),this},t.createStyleSheet=function(e,t){void 0===t&&(t={});var n=t.index;"number"!==typeof n&&(n=0===K.index?0:K.index+1);var o=new Q(e,(0,r.Z)({},t,{jss:this,generateId:t.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:n}));return this.plugins.onProcessSheet(o),o},t.removeStyleSheet=function(e){return e.detach(),K.remove(e),this},t.createRule=function(e,t,n){if(void 0===t&&(t={}),void 0===n&&(n={}),"object"===typeof e)return this.createRule(void 0,e,t);var o=(0,r.Z)({},n,{name:e,jss:this,Renderer:this.options.Renderer});o.generateId||(o.generateId=this.generateId),o.classes||(o.classes={}),o.keyframes||(o.keyframes={});var i=d(e,t,o);return i&&this.plugins.onProcessRule(i),i},t.use=function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach((function(t){e.plugins.use(t)})),this},e}(),Ae=function(e){return new be(e)},me="object"===typeof CSS&&null!=CSS&&"number"in CSS;function ge(e){var t=null;for(var n in e){var r=e[n],o=typeof r;if("function"===o)t||(t={}),t[n]=r;else if("object"===o&&null!==r&&!Array.isArray(r)){var i=ge(r);i&&(t||(t={}),t[n]=i)}}return t}Ae()},81725:function(e,t,n){var r=n(70781)(n(7289),"DataView");e.exports=r},69748:function(e,t,n){var r=n(56545),o=n(69843),i=n(86266),a=n(17364),s=n(74156);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},95745:function(e,t,n){var r=n(20329),o=n(39666),i=n(2523),a=n(24397),s=n(73316);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},18579:function(e,t,n){var r=n(70781)(n(7289),"Map");e.exports=r},13109:function(e,t,n){var r=n(79e3),o=n(37240),i=n(63414),a=n(17140),s=n(85429);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},59946:function(e,t,n){var r=n(70781)(n(7289),"Promise");e.exports=r},4199:function(e,t,n){var r=n(70781)(n(7289),"Set");e.exports=r},44526:function(e,t,n){var r=n(13109),o=n(85845),i=n(35544);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},17016:function(e,t,n){var r=n(95745),o=n(23653),i=n(43359),a=n(92571),s=n(31698),l=n(85883);function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=s,c.prototype.set=l,e.exports=c},68624:function(e,t,n){var r=n(7289).Symbol;e.exports=r},6759:function(e,t,n){var r=n(7289).Uint8Array;e.exports=r},13289:function(e,t,n){var r=n(70781)(n(7289),"WeakMap");e.exports=r},44235:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},74951:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}},83200:function(e,t,n){var r=n(94499),o=n(52794),i=n(95585),a=n(70667),s=n(30674),l=n(53153),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),u=!n&&o(e),d=!n&&!u&&a(e),p=!n&&!u&&!d&&l(e),f=n||u||d||p,h=f?r(e.length,String):[],b=h.length;for(var A in e)!t&&!c.call(e,A)||f&&("length"==A||d&&("offset"==A||"parent"==A)||p&&("buffer"==A||"byteLength"==A||"byteOffset"==A)||s(A,b))||h.push(A);return h}},95434:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},45349:function(e){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},25364:function(e){e.exports=function(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}},29330:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},61044:function(e){e.exports=function(e){return e.split("")}},80556:function(e){var t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(t)||[]}},87347:function(e,t,n){var r=n(46351),o=n(83666),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];i.call(e,t)&&o(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},69194:function(e,t,n){var r=n(83666);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},93035:function(e,t,n){var r=n(67538),o=n(56385);e.exports=function(e,t){return e&&r(t,o(t),e)}},56045:function(e,t,n){var r=n(67538),o=n(67086);e.exports=function(e,t){return e&&r(t,o(t),e)}},46351:function(e,t,n){var r=n(31438);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},46476:function(e,t,n){var r=n(17016),o=n(44235),i=n(87347),a=n(93035),s=n(56045),l=n(28087),c=n(52594),u=n(42497),d=n(14742),p=n(87253),f=n(15508),h=n(68466),b=n(47633),A=n(57355),m=n(16484),g=n(95585),v=n(70667),y=n(15874),M=n(91845),O=n(41859),_=n(56385),z=n(67086),x="[object Arguments]",w="[object Function]",C="[object Object]",S={};S[x]=S["[object Array]"]=S["[object ArrayBuffer]"]=S["[object DataView]"]=S["[object Boolean]"]=S["[object Date]"]=S["[object Float32Array]"]=S["[object Float64Array]"]=S["[object Int8Array]"]=S["[object Int16Array]"]=S["[object Int32Array]"]=S["[object Map]"]=S["[object Number]"]=S[C]=S["[object RegExp]"]=S["[object Set]"]=S["[object String]"]=S["[object Symbol]"]=S["[object Uint8Array]"]=S["[object Uint8ClampedArray]"]=S["[object Uint16Array]"]=S["[object Uint32Array]"]=!0,S["[object Error]"]=S[w]=S["[object WeakMap]"]=!1,e.exports=function e(t,n,E,k,D,N){var T,j=1&n,B=2&n,L=4&n;if(E&&(T=D?E(t,k,D,N):E(t)),void 0!==T)return T;if(!M(t))return t;var R=g(t);if(R){if(T=b(t),!j)return c(t,T)}else{var q=h(t),P=q==w||"[object GeneratorFunction]"==q;if(v(t))return l(t,j);if(q==C||q==x||P&&!D){if(T=B||P?{}:m(t),!j)return B?d(t,s(T,t)):u(t,a(T,t))}else{if(!S[q])return D?t:{};T=A(t,q,j)}}N||(N=new r);var I=N.get(t);if(I)return I;N.set(t,T),O(t)?t.forEach((function(r){T.add(e(r,n,E,r,t,N))})):y(t)&&t.forEach((function(r,o){T.set(o,e(r,n,E,o,t,N))}));var W=R?void 0:(L?B?f:p:B?z:_)(t);return o(W||t,(function(r,o){W&&(r=t[o=r]),i(T,o,e(r,n,E,o,t,N))})),T}},98303:function(e,t,n){var r=n(91845),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},2785:function(e,t,n){var r=n(35705),o=n(36428)(r);e.exports=o},15461:function(e,t,n){var r=n(62550)();e.exports=r},35705:function(e,t,n){var r=n(15461),o=n(56385);e.exports=function(e,t){return e&&r(e,t,o)}},30207:function(e,t,n){var r=n(14534),o=n(60925);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},92606:function(e,t,n){var r=n(45349),o=n(95585);e.exports=function(e,t,n){var i=t(e);return o(e)?i:r(i,n(e))}},18665:function(e,t,n){var r=n(68624),o=n(23596),i=n(78186),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},39473:function(e){var t=Object.prototype.hasOwnProperty;e.exports=function(e,n){return null!=e&&t.call(e,n)}},21966:function(e){e.exports=function(e,t){return null!=e&&t in Object(e)}},51276:function(e,t,n){var r=n(18665),o=n(89752);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},7081:function(e,t,n){var r=n(89110),o=n(89752);e.exports=function e(t,n,i,a,s){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!==t&&n!==n:r(t,n,i,a,e,s))}},89110:function(e,t,n){var r=n(17016),o=n(94132),i=n(89820),a=n(6353),s=n(68466),l=n(95585),c=n(70667),u=n(53153),d="[object Arguments]",p="[object Array]",f="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,b,A,m){var g=l(e),v=l(t),y=g?p:s(e),M=v?p:s(t),O=(y=y==d?f:y)==f,_=(M=M==d?f:M)==f,z=y==M;if(z&&c(e)){if(!c(t))return!1;g=!0,O=!1}if(z&&!O)return m||(m=new r),g||u(e)?o(e,t,n,b,A,m):i(e,t,y,n,b,A,m);if(!(1&n)){var x=O&&h.call(e,"__wrapped__"),w=_&&h.call(t,"__wrapped__");if(x||w){var C=x?e.value():e,S=w?t.value():t;return m||(m=new r),A(C,S,n,b,m)}}return!!z&&(m||(m=new r),a(e,t,n,b,A,m))}},37094:function(e,t,n){var r=n(68466),o=n(89752);e.exports=function(e){return o(e)&&"[object Map]"==r(e)}},19280:function(e,t,n){var r=n(17016),o=n(7081);e.exports=function(e,t,n,i){var a=n.length,s=a,l=!i;if(null==e)return!s;for(e=Object(e);a--;){var c=n[a];if(l&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<s;){var u=(c=n[a])[0],d=e[u],p=c[1];if(l&&c[2]){if(void 0===d&&!(u in e))return!1}else{var f=new r;if(i)var h=i(d,p,u,e,t,f);if(!(void 0===h?o(p,d,3,i,f):h))return!1}}return!0}},33186:function(e,t,n){var r=n(50375),o=n(65401),i=n(91845),a=n(92043),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,p=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?p:s).test(a(e))}},18711:function(e,t,n){var r=n(68466),o=n(89752);e.exports=function(e){return o(e)&&"[object Set]"==r(e)}},77499:function(e,t,n){var r=n(18665),o=n(44276),i=n(89752),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},81186:function(e,t,n){var r=n(85662),o=n(98768),i=n(19908),a=n(95585),s=n(34445);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?o(e[0],e[1]):r(e):s(e)}},23409:function(e,t,n){var r=n(46132),o=n(8723),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},89130:function(e,t,n){var r=n(91845),o=n(46132),i=n(3481),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=o(e),n=[];for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&n.push(s);return n}},71839:function(e,t,n){var r=n(2785),o=n(2114);e.exports=function(e,t){var n=-1,i=o(e)?Array(e.length):[];return r(e,(function(e,r,o){i[++n]=t(e,r,o)})),i}},85662:function(e,t,n){var r=n(19280),o=n(95113),i=n(22093);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},98768:function(e,t,n){var r=n(7081),o=n(69706),i=n(89775),a=n(98939),s=n(99253),l=n(22093),c=n(60925);e.exports=function(e,t){return a(e)&&s(t)?l(c(e),t):function(n){var a=o(n,e);return void 0===a&&a===t?i(n,e):r(t,a,3)}}},61125:function(e){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},80171:function(e,t,n){var r=n(30207);e.exports=function(e){return function(t){return r(t,e)}}},30559:function(e){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},64339:function(e){e.exports=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}},94499:function(e){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},21612:function(e,t,n){var r=n(68624),o=n(95434),i=n(95585),a=n(72060),s=r?r.prototype:void 0,l=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return l?l.call(t):"";var n=t+"";return"0"==n&&1/t==-Infinity?"-0":n}},2306:function(e,t,n){var r=n(5510),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},36902:function(e){e.exports=function(e){return function(t){return e(t)}}},88905:function(e){e.exports=function(e,t){return e.has(t)}},97169:function(e,t,n){var r=n(19908);e.exports=function(e){return"function"==typeof e?e:r}},14534:function(e,t,n){var r=n(95585),o=n(98939),i=n(3002),a=n(11822);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},73325:function(e,t,n){var r=n(64339);e.exports=function(e,t,n){var o=e.length;return n=void 0===n?o:n,!t&&n>=o?e:r(e,t,n)}},72604:function(e,t,n){var r=n(6759);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},28087:function(e,t,n){e=n.nmd(e);var r=n(7289),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}},81893:function(e,t,n){var r=n(72604);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},73360:function(e){var t=/\w*$/;e.exports=function(e){var n=new e.constructor(e.source,t.exec(e));return n.lastIndex=e.lastIndex,n}},47981:function(e,t,n){var r=n(68624),o=r?r.prototype:void 0,i=o?o.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},55888:function(e,t,n){var r=n(72604);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},52594:function(e){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},67538:function(e,t,n){var r=n(87347),o=n(46351);e.exports=function(e,t,n,i){var a=!n;n||(n={});for(var s=-1,l=t.length;++s<l;){var c=t[s],u=i?i(n[c],e[c],c,n,e):void 0;void 0===u&&(u=e[c]),a?o(n,c,u):r(n,c,u)}return n}},42497:function(e,t,n){var r=n(67538),o=n(66504);e.exports=function(e,t){return r(e,o(e),t)}},14742:function(e,t,n){var r=n(67538),o=n(42757);e.exports=function(e,t){return r(e,o(e),t)}},47683:function(e,t,n){var r=n(7289)["__core-js_shared__"];e.exports=r},36428:function(e,t,n){var r=n(2114);e.exports=function(e,t){return function(n,o){if(null==n)return n;if(!r(n))return e(n,o);for(var i=n.length,a=t?i:-1,s=Object(n);(t?a--:++a<i)&&!1!==o(s[a],a,s););return n}}},62550:function(e){e.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),s=a.length;s--;){var l=a[e?s:++o];if(!1===n(i[l],l,i))break}return t}}},62797:function(e,t,n){var r=n(73325),o=n(65101),i=n(14817),a=n(11822);e.exports=function(e){return function(t){t=a(t);var n=o(t)?i(t):void 0,s=n?n[0]:t.charAt(0),l=n?r(n,1).join(""):t.slice(1);return s[e]()+l}}},38012:function(e,t,n){var r=n(25364),o=n(36110),i=n(8771),a=RegExp("['\u2019]","g");e.exports=function(e){return function(t){return r(i(o(t).replace(a,"")),e,"")}}},85443:function(e,t,n){var r=n(30559)({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"});e.exports=r},31438:function(e,t,n){var r=n(70781),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();e.exports=o},94132:function(e,t,n){var r=n(44526),o=n(29330),i=n(88905);e.exports=function(e,t,n,a,s,l){var c=1&n,u=e.length,d=t.length;if(u!=d&&!(c&&d>u))return!1;var p=l.get(e),f=l.get(t);if(p&&f)return p==t&&f==e;var h=-1,b=!0,A=2&n?new r:void 0;for(l.set(e,t),l.set(t,e);++h<u;){var m=e[h],g=t[h];if(a)var v=c?a(g,m,h,t,e,l):a(m,g,h,e,t,l);if(void 0!==v){if(v)continue;b=!1;break}if(A){if(!o(t,(function(e,t){if(!i(A,t)&&(m===e||s(m,e,n,a,l)))return A.push(t)}))){b=!1;break}}else if(m!==g&&!s(m,g,n,a,l)){b=!1;break}}return l.delete(e),l.delete(t),b}},89820:function(e,t,n){var r=n(68624),o=n(6759),i=n(83666),a=n(94132),s=n(258),l=n(73671),c=r?r.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,n,r,c,d,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!d(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var f=s;case"[object Set]":var h=1&r;if(f||(f=l),e.size!=t.size&&!h)return!1;var b=p.get(e);if(b)return b==t;r|=2,p.set(e,t);var A=a(f(e),f(t),r,c,d,p);return p.delete(e),A;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},6353:function(e,t,n){var r=n(87253),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,a,s){var l=1&n,c=r(e),u=c.length;if(u!=r(t).length&&!l)return!1;for(var d=u;d--;){var p=c[d];if(!(l?p in t:o.call(t,p)))return!1}var f=s.get(e),h=s.get(t);if(f&&h)return f==t&&h==e;var b=!0;s.set(e,t),s.set(t,e);for(var A=l;++d<u;){var m=e[p=c[d]],g=t[p];if(i)var v=l?i(g,m,p,t,e,s):i(m,g,p,e,t,s);if(!(void 0===v?m===g||a(m,g,n,i,s):v)){b=!1;break}A||(A="constructor"==p)}if(b&&!A){var y=e.constructor,M=t.constructor;y==M||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof M&&M instanceof M||(b=!1)}return s.delete(e),s.delete(t),b}},32692:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},87253:function(e,t,n){var r=n(92606),o=n(66504),i=n(56385);e.exports=function(e){return r(e,i,o)}},15508:function(e,t,n){var r=n(92606),o=n(42757),i=n(67086);e.exports=function(e){return r(e,i,o)}},16911:function(e,t,n){var r=n(81591);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},95113:function(e,t,n){var r=n(99253),o=n(56385);e.exports=function(e){for(var t=o(e),n=t.length;n--;){var i=t[n],a=e[i];t[n]=[i,a,r(a)]}return t}},70781:function(e,t,n){var r=n(33186),o=n(80760);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},96116:function(e,t,n){var r=n(9698)(Object.getPrototypeOf,Object);e.exports=r},23596:function(e,t,n){var r=n(68624),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(l){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},66504:function(e,t,n){var r=n(74951),o=n(72554),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=s},42757:function(e,t,n){var r=n(45349),o=n(96116),i=n(66504),a=n(72554),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,i(e)),e=o(e);return t}:a;e.exports=s},68466:function(e,t,n){var r=n(81725),o=n(18579),i=n(59946),a=n(4199),s=n(13289),l=n(18665),c=n(92043),u="[object Map]",d="[object Promise]",p="[object Set]",f="[object WeakMap]",h="[object DataView]",b=c(r),A=c(o),m=c(i),g=c(a),v=c(s),y=l;(r&&y(new r(new ArrayBuffer(1)))!=h||o&&y(new o)!=u||i&&y(i.resolve())!=d||a&&y(new a)!=p||s&&y(new s)!=f)&&(y=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case b:return h;case A:return u;case m:return d;case g:return p;case v:return f}return t}),e.exports=y},80760:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},81898:function(e,t,n){var r=n(14534),o=n(52794),i=n(95585),a=n(30674),s=n(44276),l=n(60925);e.exports=function(e,t,n){for(var c=-1,u=(t=r(t,e)).length,d=!1;++c<u;){var p=l(t[c]);if(!(d=null!=e&&n(e,p)))break;e=e[p]}return d||++c!=u?d:!!(u=null==e?0:e.length)&&s(u)&&a(p,u)&&(i(e)||o(e))}},65101:function(e){var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},83771:function(e){var t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return t.test(e)}},56545:function(e,t,n){var r=n(11353);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},69843:function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},86266:function(e,t,n){var r=n(11353),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},17364:function(e,t,n){var r=n(11353),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},74156:function(e,t,n){var r=n(11353);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},47633:function(e){var t=Object.prototype.hasOwnProperty;e.exports=function(e){var n=e.length,r=new e.constructor(n);return n&&"string"==typeof e[0]&&t.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},57355:function(e,t,n){var r=n(72604),o=n(81893),i=n(73360),a=n(47981),s=n(55888);e.exports=function(e,t,n){var l=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new l(+e);case"[object DataView]":return o(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,n);case"[object Map]":case"[object Set]":return new l;case"[object Number]":case"[object String]":return new l(e);case"[object RegExp]":return i(e);case"[object Symbol]":return a(e)}}},16484:function(e,t,n){var r=n(98303),o=n(96116),i=n(46132);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(o(e))}},30674:function(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},98939:function(e,t,n){var r=n(95585),o=n(72060),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(a.test(e)||!i.test(e)||null!=t&&e in Object(t))}},81591:function(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},65401:function(e,t,n){var r=n(47683),o=function(){var e=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=function(e){return!!o&&o in e}},46132:function(e){var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},99253:function(e,t,n){var r=n(91845);e.exports=function(e){return e===e&&!r(e)}},20329:function(e){e.exports=function(){this.__data__=[],this.size=0}},39666:function(e,t,n){var r=n(69194),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},2523:function(e,t,n){var r=n(69194);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},24397:function(e,t,n){var r=n(69194);e.exports=function(e){return r(this.__data__,e)>-1}},73316:function(e,t,n){var r=n(69194);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},79e3:function(e,t,n){var r=n(69748),o=n(95745),i=n(18579);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},37240:function(e,t,n){var r=n(16911);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},63414:function(e,t,n){var r=n(16911);e.exports=function(e){return r(this,e).get(e)}},17140:function(e,t,n){var r=n(16911);e.exports=function(e){return r(this,e).has(e)}},85429:function(e,t,n){var r=n(16911);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},258:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},22093:function(e){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},83679:function(e,t,n){var r=n(92736);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},11353:function(e,t,n){var r=n(70781)(Object,"create");e.exports=r},8723:function(e,t,n){var r=n(9698)(Object.keys,Object);e.exports=r},3481:function(e){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},47785:function(e,t,n){e=n.nmd(e);var r=n(32692),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(t){}}();e.exports=s},78186:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},9698:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},7289:function(e,t,n){var r=n(32692),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},85845:function(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},35544:function(e){e.exports=function(e){return this.__data__.has(e)}},73671:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},23653:function(e,t,n){var r=n(95745);e.exports=function(){this.__data__=new r,this.size=0}},43359:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},92571:function(e){e.exports=function(e){return this.__data__.get(e)}},31698:function(e){e.exports=function(e){return this.__data__.has(e)}},85883:function(e,t,n){var r=n(95745),o=n(18579),i=n(13109);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},14817:function(e,t,n){var r=n(61044),o=n(65101),i=n(10694);e.exports=function(e){return o(e)?i(e):r(e)}},3002:function(e,t,n){var r=n(83679),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)})),t}));e.exports=a},60925:function(e,t,n){var r=n(72060);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t}},92043:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(n){}try{return e+""}catch(n){}}return""}},5510:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},10694:function(e){var t="\\ud800-\\udfff",n="["+t+"]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="[^"+t+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",l="(?:"+r+"|"+o+")"+"?",c="[\\ufe0e\\ufe0f]?",u=c+l+("(?:\\u200d(?:"+[i,a,s].join("|")+")"+c+l+")*"),d="(?:"+[i+r+"?",r,a,s,n].join("|")+")",p=RegExp(o+"(?="+o+")|"+d+u,"g");e.exports=function(e){return e.match(p)||[]}},78043:function(e){var t="\\ud800-\\udfff",n="\\u2700-\\u27bf",r="a-z\\xdf-\\xf6\\xf8-\\xff",o="A-Z\\xc0-\\xd6\\xd8-\\xde",i="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",a="["+i+"]",s="\\d+",l="["+n+"]",c="["+r+"]",u="[^"+t+i+s+n+r+o+"]",d="(?:\\ud83c[\\udde6-\\uddff]){2}",p="[\\ud800-\\udbff][\\udc00-\\udfff]",f="["+o+"]",h="(?:"+c+"|"+u+")",b="(?:"+f+"|"+u+")",A="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",m="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",g="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",v="[\\ufe0e\\ufe0f]?",y=v+g+("(?:\\u200d(?:"+["[^"+t+"]",d,p].join("|")+")"+v+g+")*"),M="(?:"+[l,d,p].join("|")+")"+y,O=RegExp([f+"?"+c+"+"+A+"(?="+[a,f,"$"].join("|")+")",b+"+"+m+"(?="+[a,f+h,"$"].join("|")+")",f+"?"+h+"+"+A,f+"+"+m,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",s,M].join("|"),"g");e.exports=function(e){return e.match(O)||[]}},49746:function(e,t,n){var r=n(64608),o=n(38012)((function(e,t,n){return t=t.toLowerCase(),e+(n?r(t):t)}));e.exports=o},64608:function(e,t,n){var r=n(11822),o=n(24569);e.exports=function(e){return o(r(e).toLowerCase())}},38504:function(e,t,n){var r=n(46476);e.exports=function(e){return r(e,5)}},12279:function(e,t,n){var r=n(91845),o=n(46170),i=n(57923),a=Math.max,s=Math.min;e.exports=function(e,t,n){var l,c,u,d,p,f,h=0,b=!1,A=!1,m=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function g(t){var n=l,r=c;return l=c=void 0,h=t,d=e.apply(r,n)}function v(e){var n=e-f;return void 0===f||n>=t||n<0||A&&e-h>=u}function y(){var e=o();if(v(e))return M(e);p=setTimeout(y,function(e){var n=t-(e-f);return A?s(n,u-(e-h)):n}(e))}function M(e){return p=void 0,m&&l?g(e):(l=c=void 0,d)}function O(){var e=o(),n=v(e);if(l=arguments,c=this,f=e,n){if(void 0===p)return function(e){return h=e,p=setTimeout(y,t),b?g(e):d}(f);if(A)return clearTimeout(p),p=setTimeout(y,t),g(f)}return void 0===p&&(p=setTimeout(y,t)),d}return t=i(t)||0,r(n)&&(b=!!n.leading,u=(A="maxWait"in n)?a(i(n.maxWait)||0,t):u,m="trailing"in n?!!n.trailing:m),O.cancel=function(){void 0!==p&&clearTimeout(p),h=0,l=f=c=p=void 0},O.flush=function(){return void 0===p?d:M(o())},O}},36110:function(e,t,n){var r=n(85443),o=n(11822),i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=o(e))&&e.replace(i,r).replace(a,"")}},83666:function(e){e.exports=function(e,t){return e===t||e!==e&&t!==t}},57827:function(e,t,n){var r=n(35705),o=n(97169);e.exports=function(e,t){return e&&r(e,o(t))}},69706:function(e,t,n){var r=n(30207);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},51912:function(e,t,n){var r=n(39473),o=n(81898);e.exports=function(e,t){return null!=e&&o(e,t,r)}},89775:function(e,t,n){var r=n(21966),o=n(81898);e.exports=function(e,t){return null!=e&&o(e,t,r)}},19908:function(e){e.exports=function(e){return e}},52794:function(e,t,n){var r=n(51276),o=n(89752),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},95585:function(e){var t=Array.isArray;e.exports=t},2114:function(e,t,n){var r=n(50375),o=n(44276);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},70667:function(e,t,n){e=n.nmd(e);var r=n(7289),o=n(95535),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.Buffer:void 0,l=(s?s.isBuffer:void 0)||o;e.exports=l},50375:function(e,t,n){var r=n(18665),o=n(91845);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},44276:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},15874:function(e,t,n){var r=n(37094),o=n(36902),i=n(47785),a=i&&i.isMap,s=a?o(a):r;e.exports=s},91845:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},89752:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},40634:function(e,t,n){var r=n(18665),o=n(96116),i=n(89752),a=Function.prototype,s=Object.prototype,l=a.toString,c=s.hasOwnProperty,u=l.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==u}},41859:function(e,t,n){var r=n(18711),o=n(36902),i=n(47785),a=i&&i.isSet,s=a?o(a):r;e.exports=s},65406:function(e,t,n){var r=n(18665),o=n(95585),i=n(89752);e.exports=function(e){return"string"==typeof e||!o(e)&&i(e)&&"[object String]"==r(e)}},72060:function(e,t,n){var r=n(18665),o=n(89752);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},53153:function(e,t,n){var r=n(77499),o=n(36902),i=n(47785),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},56385:function(e,t,n){var r=n(83200),o=n(23409),i=n(2114);e.exports=function(e){return i(e)?r(e):o(e)}},67086:function(e,t,n){var r=n(83200),o=n(89130),i=n(2114);e.exports=function(e){return i(e)?r(e,!0):o(e)}},16031:function(e,t,n){var r;e=n.nmd(e),function(){var o,i="Expected a function",a="__lodash_hash_undefined__",s="__lodash_placeholder__",l=16,c=32,u=64,d=128,p=256,f=1/0,h=9007199254740991,b=NaN,A=4294967295,m=[["ary",d],["bind",1],["bindKey",2],["curry",8],["curryRight",l],["flip",512],["partial",c],["partialRight",u],["rearg",p]],g="[object Arguments]",v="[object Array]",y="[object Boolean]",M="[object Date]",O="[object Error]",_="[object Function]",z="[object GeneratorFunction]",x="[object Map]",w="[object Number]",C="[object Object]",S="[object Promise]",E="[object RegExp]",k="[object Set]",D="[object String]",N="[object Symbol]",T="[object WeakMap]",j="[object ArrayBuffer]",B="[object DataView]",L="[object Float32Array]",R="[object Float64Array]",q="[object Int8Array]",P="[object Int16Array]",I="[object Int32Array]",W="[object Uint8Array]",F="[object Uint8ClampedArray]",U="[object Uint16Array]",Z="[object Uint32Array]",H=/\b__p \+= '';/g,$=/\b(__p \+=) '' \+/g,V=/(__e\(.*?\)|\b__t\)) \+\n'';/g,X=/&(?:amp|lt|gt|quot|#39);/g,Q=/[&<>"']/g,Y=RegExp(X.source),G=RegExp(Q.source),K=/<%-([\s\S]+?)%>/g,J=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ne=/^\w*$/,re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,oe=/[\\^$.*+?()[\]{}|]/g,ie=RegExp(oe.source),ae=/^\s+/,se=/\s/,le=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ce=/\{\n\/\* \[wrapped with (.+)\] \*/,ue=/,? & /,de=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,pe=/[()=,{}\[\]\/\s]/,fe=/\\(\\)?/g,he=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,be=/\w*$/,Ae=/^[-+]0x[0-9a-f]+$/i,me=/^0b[01]+$/i,ge=/^\[object .+?Constructor\]$/,ve=/^0o[0-7]+$/i,ye=/^(?:0|[1-9]\d*)$/,Me=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Oe=/($^)/,_e=/['\n\r\u2028\u2029\\]/g,ze="\\ud800-\\udfff",xe="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",we="\\u2700-\\u27bf",Ce="a-z\\xdf-\\xf6\\xf8-\\xff",Se="A-Z\\xc0-\\xd6\\xd8-\\xde",Ee="\\ufe0e\\ufe0f",ke="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",De="['\u2019]",Ne="["+ze+"]",Te="["+ke+"]",je="["+xe+"]",Be="\\d+",Le="["+we+"]",Re="["+Ce+"]",qe="[^"+ze+ke+Be+we+Ce+Se+"]",Pe="\\ud83c[\\udffb-\\udfff]",Ie="[^"+ze+"]",We="(?:\\ud83c[\\udde6-\\uddff]){2}",Fe="[\\ud800-\\udbff][\\udc00-\\udfff]",Ue="["+Se+"]",Ze="\\u200d",He="(?:"+Re+"|"+qe+")",$e="(?:"+Ue+"|"+qe+")",Ve="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Xe="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",Qe="(?:"+je+"|"+Pe+")"+"?",Ye="["+Ee+"]?",Ge=Ye+Qe+("(?:"+Ze+"(?:"+[Ie,We,Fe].join("|")+")"+Ye+Qe+")*"),Ke="(?:"+[Le,We,Fe].join("|")+")"+Ge,Je="(?:"+[Ie+je+"?",je,We,Fe,Ne].join("|")+")",et=RegExp(De,"g"),tt=RegExp(je,"g"),nt=RegExp(Pe+"(?="+Pe+")|"+Je+Ge,"g"),rt=RegExp([Ue+"?"+Re+"+"+Ve+"(?="+[Te,Ue,"$"].join("|")+")",$e+"+"+Xe+"(?="+[Te,Ue+He,"$"].join("|")+")",Ue+"?"+He+"+"+Ve,Ue+"+"+Xe,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Be,Ke].join("|"),"g"),ot=RegExp("["+Ze+ze+xe+Ee+"]"),it=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,at=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],st=-1,lt={};lt[L]=lt[R]=lt[q]=lt[P]=lt[I]=lt[W]=lt[F]=lt[U]=lt[Z]=!0,lt[g]=lt[v]=lt[j]=lt[y]=lt[B]=lt[M]=lt[O]=lt[_]=lt[x]=lt[w]=lt[C]=lt[E]=lt[k]=lt[D]=lt[T]=!1;var ct={};ct[g]=ct[v]=ct[j]=ct[B]=ct[y]=ct[M]=ct[L]=ct[R]=ct[q]=ct[P]=ct[I]=ct[x]=ct[w]=ct[C]=ct[E]=ct[k]=ct[D]=ct[N]=ct[W]=ct[F]=ct[U]=ct[Z]=!0,ct[O]=ct[_]=ct[T]=!1;var ut={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},dt=parseFloat,pt=parseInt,ft="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,ht="object"==typeof self&&self&&self.Object===Object&&self,bt=ft||ht||Function("return this")(),At=t&&!t.nodeType&&t,mt=At&&e&&!e.nodeType&&e,gt=mt&&mt.exports===At,vt=gt&&ft.process,yt=function(){try{var e=mt&&mt.require&&mt.require("util").types;return e||vt&&vt.binding&&vt.binding("util")}catch(t){}}(),Mt=yt&&yt.isArrayBuffer,Ot=yt&&yt.isDate,_t=yt&&yt.isMap,zt=yt&&yt.isRegExp,xt=yt&&yt.isSet,wt=yt&&yt.isTypedArray;function Ct(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function St(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}function Et(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function kt(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Dt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Nt(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function Tt(e,t){return!!(null==e?0:e.length)&&Ut(e,t,0)>-1}function jt(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function Bt(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function Lt(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function Rt(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function qt(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function Pt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var It=Vt("length");function Wt(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}function Ft(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function Ut(e,t,n){return t===t?function(e,t,n){var r=n-1,o=e.length;for(;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):Ft(e,Ht,n)}function Zt(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function Ht(e){return e!==e}function $t(e,t){var n=null==e?0:e.length;return n?Yt(e,t)/n:b}function Vt(e){return function(t){return null==t?o:t[e]}}function Xt(e){return function(t){return null==e?o:e[t]}}function Qt(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}function Yt(e,t){for(var n,r=-1,i=e.length;++r<i;){var a=t(e[r]);a!==o&&(n=n===o?a:n+a)}return n}function Gt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Kt(e){return e?e.slice(0,An(e)+1).replace(ae,""):e}function Jt(e){return function(t){return e(t)}}function en(e,t){return Bt(t,(function(t){return e[t]}))}function tn(e,t){return e.has(t)}function nn(e,t){for(var n=-1,r=e.length;++n<r&&Ut(t,e[n],0)>-1;);return n}function rn(e,t){for(var n=e.length;n--&&Ut(t,e[n],0)>-1;);return n}var on=Xt({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),an=Xt({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function sn(e){return"\\"+ut[e]}function ln(e){return ot.test(e)}function cn(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function un(e,t){return function(n){return e(t(n))}}function dn(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n];a!==t&&a!==s||(e[n]=s,i[o++]=n)}return i}function pn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function fn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function hn(e){return ln(e)?function(e){var t=nt.lastIndex=0;for(;nt.test(e);)++t;return t}(e):It(e)}function bn(e){return ln(e)?function(e){return e.match(nt)||[]}(e):function(e){return e.split("")}(e)}function An(e){for(var t=e.length;t--&&se.test(e.charAt(t)););return t}var mn=Xt({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var gn=function e(t){var n=(t=null==t?bt:gn.defaults(bt.Object(),t,gn.pick(bt,at))).Array,r=t.Date,se=t.Error,ze=t.Function,xe=t.Math,we=t.Object,Ce=t.RegExp,Se=t.String,Ee=t.TypeError,ke=n.prototype,De=ze.prototype,Ne=we.prototype,Te=t["__core-js_shared__"],je=De.toString,Be=Ne.hasOwnProperty,Le=0,Re=function(){var e=/[^.]+$/.exec(Te&&Te.keys&&Te.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),qe=Ne.toString,Pe=je.call(we),Ie=bt._,We=Ce("^"+je.call(Be).replace(oe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Fe=gt?t.Buffer:o,Ue=t.Symbol,Ze=t.Uint8Array,He=Fe?Fe.allocUnsafe:o,$e=un(we.getPrototypeOf,we),Ve=we.create,Xe=Ne.propertyIsEnumerable,Qe=ke.splice,Ye=Ue?Ue.isConcatSpreadable:o,Ge=Ue?Ue.iterator:o,Ke=Ue?Ue.toStringTag:o,Je=function(){try{var e=pi(we,"defineProperty");return e({},"",{}),e}catch(t){}}(),nt=t.clearTimeout!==bt.clearTimeout&&t.clearTimeout,ot=r&&r.now!==bt.Date.now&&r.now,ut=t.setTimeout!==bt.setTimeout&&t.setTimeout,ft=xe.ceil,ht=xe.floor,At=we.getOwnPropertySymbols,mt=Fe?Fe.isBuffer:o,vt=t.isFinite,yt=ke.join,It=un(we.keys,we),Xt=xe.max,vn=xe.min,yn=r.now,Mn=t.parseInt,On=xe.random,_n=ke.reverse,zn=pi(t,"DataView"),xn=pi(t,"Map"),wn=pi(t,"Promise"),Cn=pi(t,"Set"),Sn=pi(t,"WeakMap"),En=pi(we,"create"),kn=Sn&&new Sn,Dn={},Nn=qi(zn),Tn=qi(xn),jn=qi(wn),Bn=qi(Cn),Ln=qi(Sn),Rn=Ue?Ue.prototype:o,qn=Rn?Rn.valueOf:o,Pn=Rn?Rn.toString:o;function In(e){if(ts(e)&&!Za(e)&&!(e instanceof Zn)){if(e instanceof Un)return e;if(Be.call(e,"__wrapped__"))return Pi(e)}return new Un(e)}var Wn=function(){function e(){}return function(t){if(!es(t))return{};if(Ve)return Ve(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function Fn(){}function Un(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function Zn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=A,this.__views__=[]}function Hn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function $n(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Vn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Xn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Vn;++t<n;)this.add(e[t])}function Qn(e){var t=this.__data__=new $n(e);this.size=t.size}function Yn(e,t){var n=Za(e),r=!n&&Ua(e),o=!n&&!r&&Xa(e),i=!n&&!r&&!o&&cs(e),a=n||r||o||i,s=a?Gt(e.length,Se):[],l=s.length;for(var c in e)!t&&!Be.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||vi(c,l))||s.push(c);return s}function Gn(e){var t=e.length;return t?e[Xr(0,t-1)]:o}function Kn(e,t){return Bi(ko(e),sr(t,0,e.length))}function Jn(e){return Bi(ko(e))}function er(e,t,n){(n!==o&&!Ia(e[t],n)||n===o&&!(t in e))&&ir(e,t,n)}function tr(e,t,n){var r=e[t];Be.call(e,t)&&Ia(r,n)&&(n!==o||t in e)||ir(e,t,n)}function nr(e,t){for(var n=e.length;n--;)if(Ia(e[n][0],t))return n;return-1}function rr(e,t,n,r){return pr(e,(function(e,o,i){t(r,e,n(e),i)})),r}function or(e,t){return e&&Do(t,Ds(t),e)}function ir(e,t,n){"__proto__"==t&&Je?Je(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function ar(e,t){for(var r=-1,i=t.length,a=n(i),s=null==e;++r<i;)a[r]=s?o:ws(e,t[r]);return a}function sr(e,t,n){return e===e&&(n!==o&&(e=e<=n?e:n),t!==o&&(e=e>=t?e:t)),e}function lr(e,t,n,r,i,a){var s,l=1&t,c=2&t,u=4&t;if(n&&(s=i?n(e,r,i,a):n(e)),s!==o)return s;if(!es(e))return e;var d=Za(e);if(d){if(s=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Be.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!l)return ko(e,s)}else{var p=bi(e),f=p==_||p==z;if(Xa(e))return zo(e,l);if(p==C||p==g||f&&!i){if(s=c||f?{}:mi(e),!l)return c?function(e,t){return Do(e,hi(e),t)}(e,function(e,t){return e&&Do(t,Ns(t),e)}(s,e)):function(e,t){return Do(e,fi(e),t)}(e,or(s,e))}else{if(!ct[p])return i?e:{};s=function(e,t,n){var r=e.constructor;switch(t){case j:return xo(e);case y:case M:return new r(+e);case B:return function(e,t){var n=t?xo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case L:case R:case q:case P:case I:case W:case F:case U:case Z:return wo(e,n);case x:return new r;case w:case D:return new r(e);case E:return function(e){var t=new e.constructor(e.source,be.exec(e));return t.lastIndex=e.lastIndex,t}(e);case k:return new r;case N:return o=e,qn?we(qn.call(o)):{}}var o}(e,p,l)}}a||(a=new Qn);var h=a.get(e);if(h)return h;a.set(e,s),as(e)?e.forEach((function(r){s.add(lr(r,t,n,r,e,a))})):ns(e)&&e.forEach((function(r,o){s.set(o,lr(r,t,n,o,e,a))}));var b=d?o:(u?c?ii:oi:c?Ns:Ds)(e);return Et(b||e,(function(r,o){b&&(r=e[o=r]),tr(s,o,lr(r,t,n,o,e,a))})),s}function cr(e,t,n){var r=n.length;if(null==e)return!r;for(e=we(e);r--;){var i=n[r],a=t[i],s=e[i];if(s===o&&!(i in e)||!a(s))return!1}return!0}function ur(e,t,n){if("function"!=typeof e)throw new Ee(i);return Di((function(){e.apply(o,n)}),t)}function dr(e,t,n,r){var o=-1,i=Tt,a=!0,s=e.length,l=[],c=t.length;if(!s)return l;n&&(t=Bt(t,Jt(n))),r?(i=jt,a=!1):t.length>=200&&(i=tn,a=!1,t=new Xn(t));e:for(;++o<s;){var u=e[o],d=null==n?u:n(u);if(u=r||0!==u?u:0,a&&d===d){for(var p=c;p--;)if(t[p]===d)continue e;l.push(u)}else i(t,d,r)||l.push(u)}return l}In.templateSettings={escape:K,evaluate:J,interpolate:ee,variable:"",imports:{_:In}},In.prototype=Fn.prototype,In.prototype.constructor=In,Un.prototype=Wn(Fn.prototype),Un.prototype.constructor=Un,Zn.prototype=Wn(Fn.prototype),Zn.prototype.constructor=Zn,Hn.prototype.clear=function(){this.__data__=En?En(null):{},this.size=0},Hn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Hn.prototype.get=function(e){var t=this.__data__;if(En){var n=t[e];return n===a?o:n}return Be.call(t,e)?t[e]:o},Hn.prototype.has=function(e){var t=this.__data__;return En?t[e]!==o:Be.call(t,e)},Hn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=En&&t===o?a:t,this},$n.prototype.clear=function(){this.__data__=[],this.size=0},$n.prototype.delete=function(e){var t=this.__data__,n=nr(t,e);return!(n<0)&&(n==t.length-1?t.pop():Qe.call(t,n,1),--this.size,!0)},$n.prototype.get=function(e){var t=this.__data__,n=nr(t,e);return n<0?o:t[n][1]},$n.prototype.has=function(e){return nr(this.__data__,e)>-1},$n.prototype.set=function(e,t){var n=this.__data__,r=nr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Vn.prototype.clear=function(){this.size=0,this.__data__={hash:new Hn,map:new(xn||$n),string:new Hn}},Vn.prototype.delete=function(e){var t=ui(this,e).delete(e);return this.size-=t?1:0,t},Vn.prototype.get=function(e){return ui(this,e).get(e)},Vn.prototype.has=function(e){return ui(this,e).has(e)},Vn.prototype.set=function(e,t){var n=ui(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Xn.prototype.add=Xn.prototype.push=function(e){return this.__data__.set(e,a),this},Xn.prototype.has=function(e){return this.__data__.has(e)},Qn.prototype.clear=function(){this.__data__=new $n,this.size=0},Qn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Qn.prototype.get=function(e){return this.__data__.get(e)},Qn.prototype.has=function(e){return this.__data__.has(e)},Qn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof $n){var r=n.__data__;if(!xn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Vn(r)}return n.set(e,t),this.size=n.size,this};var pr=jo(yr),fr=jo(Mr,!0);function hr(e,t){var n=!0;return pr(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function br(e,t,n){for(var r=-1,i=e.length;++r<i;){var a=e[r],s=t(a);if(null!=s&&(l===o?s===s&&!ls(s):n(s,l)))var l=s,c=a}return c}function Ar(e,t){var n=[];return pr(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function mr(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=gi),o||(o=[]);++i<a;){var s=e[i];t>0&&n(s)?t>1?mr(s,t-1,n,r,o):Lt(o,s):r||(o[o.length]=s)}return o}var gr=Bo(),vr=Bo(!0);function yr(e,t){return e&&gr(e,t,Ds)}function Mr(e,t){return e&&vr(e,t,Ds)}function Or(e,t){return Nt(t,(function(t){return Ga(e[t])}))}function _r(e,t){for(var n=0,r=(t=yo(t,e)).length;null!=e&&n<r;)e=e[Ri(t[n++])];return n&&n==r?e:o}function zr(e,t,n){var r=t(e);return Za(e)?r:Lt(r,n(e))}function xr(e){return null==e?e===o?"[object Undefined]":"[object Null]":Ke&&Ke in we(e)?function(e){var t=Be.call(e,Ke),n=e[Ke];try{e[Ke]=o;var r=!0}catch(a){}var i=qe.call(e);r&&(t?e[Ke]=n:delete e[Ke]);return i}(e):function(e){return qe.call(e)}(e)}function wr(e,t){return e>t}function Cr(e,t){return null!=e&&Be.call(e,t)}function Sr(e,t){return null!=e&&t in we(e)}function Er(e,t,r){for(var i=r?jt:Tt,a=e[0].length,s=e.length,l=s,c=n(s),u=1/0,d=[];l--;){var p=e[l];l&&t&&(p=Bt(p,Jt(t))),u=vn(p.length,u),c[l]=!r&&(t||a>=120&&p.length>=120)?new Xn(l&&p):o}p=e[0];var f=-1,h=c[0];e:for(;++f<a&&d.length<u;){var b=p[f],A=t?t(b):b;if(b=r||0!==b?b:0,!(h?tn(h,A):i(d,A,r))){for(l=s;--l;){var m=c[l];if(!(m?tn(m,A):i(e[l],A,r)))continue e}h&&h.push(A),d.push(b)}}return d}function kr(e,t,n){var r=null==(e=Si(e,t=yo(t,e)))?e:e[Ri(Yi(t))];return null==r?o:Ct(r,e,n)}function Dr(e){return ts(e)&&xr(e)==g}function Nr(e,t,n,r,i){return e===t||(null==e||null==t||!ts(e)&&!ts(t)?e!==e&&t!==t:function(e,t,n,r,i,a){var s=Za(e),l=Za(t),c=s?v:bi(e),u=l?v:bi(t),d=(c=c==g?C:c)==C,p=(u=u==g?C:u)==C,f=c==u;if(f&&Xa(e)){if(!Xa(t))return!1;s=!0,d=!1}if(f&&!d)return a||(a=new Qn),s||cs(e)?ni(e,t,n,r,i,a):function(e,t,n,r,o,i,a){switch(n){case B:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case j:return!(e.byteLength!=t.byteLength||!i(new Ze(e),new Ze(t)));case y:case M:case w:return Ia(+e,+t);case O:return e.name==t.name&&e.message==t.message;case E:case D:return e==t+"";case x:var s=cn;case k:var l=1&r;if(s||(s=pn),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;r|=2,a.set(e,t);var u=ni(s(e),s(t),r,o,i,a);return a.delete(e),u;case N:if(qn)return qn.call(e)==qn.call(t)}return!1}(e,t,c,n,r,i,a);if(!(1&n)){var h=d&&Be.call(e,"__wrapped__"),b=p&&Be.call(t,"__wrapped__");if(h||b){var A=h?e.value():e,m=b?t.value():t;return a||(a=new Qn),i(A,m,n,r,a)}}if(!f)return!1;return a||(a=new Qn),function(e,t,n,r,i,a){var s=1&n,l=oi(e),c=l.length,u=oi(t),d=u.length;if(c!=d&&!s)return!1;var p=c;for(;p--;){var f=l[p];if(!(s?f in t:Be.call(t,f)))return!1}var h=a.get(e),b=a.get(t);if(h&&b)return h==t&&b==e;var A=!0;a.set(e,t),a.set(t,e);var m=s;for(;++p<c;){var g=e[f=l[p]],v=t[f];if(r)var y=s?r(v,g,f,t,e,a):r(g,v,f,e,t,a);if(!(y===o?g===v||i(g,v,n,r,a):y)){A=!1;break}m||(m="constructor"==f)}if(A&&!m){var M=e.constructor,O=t.constructor;M==O||!("constructor"in e)||!("constructor"in t)||"function"==typeof M&&M instanceof M&&"function"==typeof O&&O instanceof O||(A=!1)}return a.delete(e),a.delete(t),A}(e,t,n,r,i,a)}(e,t,n,r,Nr,i))}function Tr(e,t,n,r){var i=n.length,a=i,s=!r;if(null==e)return!a;for(e=we(e);i--;){var l=n[i];if(s&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++i<a;){var c=(l=n[i])[0],u=e[c],d=l[1];if(s&&l[2]){if(u===o&&!(c in e))return!1}else{var p=new Qn;if(r)var f=r(u,d,c,e,t,p);if(!(f===o?Nr(d,u,3,r,p):f))return!1}}return!0}function jr(e){return!(!es(e)||(t=e,Re&&Re in t))&&(Ga(e)?We:ge).test(qi(e));var t}function Br(e){return"function"==typeof e?e:null==e?rl:"object"==typeof e?Za(e)?Wr(e[0],e[1]):Ir(e):pl(e)}function Lr(e){if(!zi(e))return It(e);var t=[];for(var n in we(e))Be.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Rr(e){if(!es(e))return function(e){var t=[];if(null!=e)for(var n in we(e))t.push(n);return t}(e);var t=zi(e),n=[];for(var r in e)("constructor"!=r||!t&&Be.call(e,r))&&n.push(r);return n}function qr(e,t){return e<t}function Pr(e,t){var r=-1,o=$a(e)?n(e.length):[];return pr(e,(function(e,n,i){o[++r]=t(e,n,i)})),o}function Ir(e){var t=di(e);return 1==t.length&&t[0][2]?wi(t[0][0],t[0][1]):function(n){return n===e||Tr(n,e,t)}}function Wr(e,t){return Mi(e)&&xi(t)?wi(Ri(e),t):function(n){var r=ws(n,e);return r===o&&r===t?Cs(n,e):Nr(t,r,3)}}function Fr(e,t,n,r,i){e!==t&&gr(t,(function(a,s){if(i||(i=new Qn),es(a))!function(e,t,n,r,i,a,s){var l=Ei(e,n),c=Ei(t,n),u=s.get(c);if(u)return void er(e,n,u);var d=a?a(l,c,n+"",e,t,s):o,p=d===o;if(p){var f=Za(c),h=!f&&Xa(c),b=!f&&!h&&cs(c);d=c,f||h||b?Za(l)?d=l:Va(l)?d=ko(l):h?(p=!1,d=zo(c,!0)):b?(p=!1,d=wo(c,!0)):d=[]:os(c)||Ua(c)?(d=l,Ua(l)?d=ms(l):es(l)&&!Ga(l)||(d=mi(c))):p=!1}p&&(s.set(c,d),i(d,c,r,a,s),s.delete(c));er(e,n,d)}(e,t,s,n,Fr,r,i);else{var l=r?r(Ei(e,s),a,s+"",e,t,i):o;l===o&&(l=a),er(e,s,l)}}),Ns)}function Ur(e,t){var n=e.length;if(n)return vi(t+=t<0?n:0,n)?e[t]:o}function Zr(e,t,n){t=t.length?Bt(t,(function(e){return Za(e)?function(t){return _r(t,1===e.length?e[0]:e)}:e})):[rl];var r=-1;t=Bt(t,Jt(ci()));var o=Pr(e,(function(e,n,o){var i=Bt(t,(function(t){return t(e)}));return{criteria:i,index:++r,value:e}}));return function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(o,(function(e,t){return function(e,t,n){var r=-1,o=e.criteria,i=t.criteria,a=o.length,s=n.length;for(;++r<a;){var l=Co(o[r],i[r]);if(l)return r>=s?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function Hr(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],s=_r(e,a);n(s,a)&&Jr(i,yo(a,e),s)}return i}function $r(e,t,n,r){var o=r?Zt:Ut,i=-1,a=t.length,s=e;for(e===t&&(t=ko(t)),n&&(s=Bt(e,Jt(n)));++i<a;)for(var l=0,c=t[i],u=n?n(c):c;(l=o(s,u,l,r))>-1;)s!==e&&Qe.call(s,l,1),Qe.call(e,l,1);return e}function Vr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;vi(o)?Qe.call(e,o,1):po(e,o)}}return e}function Xr(e,t){return e+ht(On()*(t-e+1))}function Qr(e,t){var n="";if(!e||t<1||t>h)return n;do{t%2&&(n+=e),(t=ht(t/2))&&(e+=e)}while(t);return n}function Yr(e,t){return Ni(Ci(e,t,rl),e+"")}function Gr(e){return Gn(Is(e))}function Kr(e,t){var n=Is(e);return Bi(n,sr(t,0,n.length))}function Jr(e,t,n,r){if(!es(e))return e;for(var i=-1,a=(t=yo(t,e)).length,s=a-1,l=e;null!=l&&++i<a;){var c=Ri(t[i]),u=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(i!=s){var d=l[c];(u=r?r(d,c,l):o)===o&&(u=es(d)?d:vi(t[i+1])?[]:{})}tr(l,c,u),l=l[c]}return e}var eo=kn?function(e,t){return kn.set(e,t),e}:rl,to=Je?function(e,t){return Je(e,"toString",{configurable:!0,enumerable:!1,value:el(t),writable:!0})}:rl;function no(e){return Bi(Is(e))}function ro(e,t,r){var o=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var a=n(i);++o<i;)a[o]=e[o+t];return a}function oo(e,t){var n;return pr(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}function io(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t===t&&o<=2147483647){for(;r<o;){var i=r+o>>>1,a=e[i];null!==a&&!ls(a)&&(n?a<=t:a<t)?r=i+1:o=i}return o}return ao(e,t,rl,n)}function ao(e,t,n,r){var i=0,a=null==e?0:e.length;if(0===a)return 0;for(var s=(t=n(t))!==t,l=null===t,c=ls(t),u=t===o;i<a;){var d=ht((i+a)/2),p=n(e[d]),f=p!==o,h=null===p,b=p===p,A=ls(p);if(s)var m=r||b;else m=u?b&&(r||f):l?b&&f&&(r||!h):c?b&&f&&!h&&(r||!A):!h&&!A&&(r?p<=t:p<t);m?i=d+1:a=d}return vn(a,4294967294)}function so(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n],s=t?t(a):a;if(!n||!Ia(s,l)){var l=s;i[o++]=0===a?0:a}}return i}function lo(e){return"number"==typeof e?e:ls(e)?b:+e}function co(e){if("string"==typeof e)return e;if(Za(e))return Bt(e,co)+"";if(ls(e))return Pn?Pn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function uo(e,t,n){var r=-1,o=Tt,i=e.length,a=!0,s=[],l=s;if(n)a=!1,o=jt;else if(i>=200){var c=t?null:Yo(e);if(c)return pn(c);a=!1,o=tn,l=new Xn}else l=t?[]:s;e:for(;++r<i;){var u=e[r],d=t?t(u):u;if(u=n||0!==u?u:0,a&&d===d){for(var p=l.length;p--;)if(l[p]===d)continue e;t&&l.push(d),s.push(u)}else o(l,d,n)||(l!==s&&l.push(d),s.push(u))}return s}function po(e,t){return null==(e=Si(e,t=yo(t,e)))||delete e[Ri(Yi(t))]}function fo(e,t,n,r){return Jr(e,t,n(_r(e,t)),r)}function ho(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?ro(e,r?0:i,r?i+1:o):ro(e,r?i+1:0,r?o:i)}function bo(e,t){var n=e;return n instanceof Zn&&(n=n.value()),Rt(t,(function(e,t){return t.func.apply(t.thisArg,Lt([e],t.args))}),n)}function Ao(e,t,r){var o=e.length;if(o<2)return o?uo(e[0]):[];for(var i=-1,a=n(o);++i<o;)for(var s=e[i],l=-1;++l<o;)l!=i&&(a[i]=dr(a[i]||s,e[l],t,r));return uo(mr(a,1),t,r)}function mo(e,t,n){for(var r=-1,i=e.length,a=t.length,s={};++r<i;){var l=r<a?t[r]:o;n(s,e[r],l)}return s}function go(e){return Va(e)?e:[]}function vo(e){return"function"==typeof e?e:rl}function yo(e,t){return Za(e)?e:Mi(e,t)?[e]:Li(gs(e))}var Mo=Yr;function Oo(e,t,n){var r=e.length;return n=n===o?r:n,!t&&n>=r?e:ro(e,t,n)}var _o=nt||function(e){return bt.clearTimeout(e)};function zo(e,t){if(t)return e.slice();var n=e.length,r=He?He(n):new e.constructor(n);return e.copy(r),r}function xo(e){var t=new e.constructor(e.byteLength);return new Ze(t).set(new Ze(e)),t}function wo(e,t){var n=t?xo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Co(e,t){if(e!==t){var n=e!==o,r=null===e,i=e===e,a=ls(e),s=t!==o,l=null===t,c=t===t,u=ls(t);if(!l&&!u&&!a&&e>t||a&&s&&c&&!l&&!u||r&&s&&c||!n&&c||!i)return 1;if(!r&&!a&&!u&&e<t||u&&n&&i&&!r&&!a||l&&n&&i||!s&&i||!c)return-1}return 0}function So(e,t,r,o){for(var i=-1,a=e.length,s=r.length,l=-1,c=t.length,u=Xt(a-s,0),d=n(c+u),p=!o;++l<c;)d[l]=t[l];for(;++i<s;)(p||i<a)&&(d[r[i]]=e[i]);for(;u--;)d[l++]=e[i++];return d}function Eo(e,t,r,o){for(var i=-1,a=e.length,s=-1,l=r.length,c=-1,u=t.length,d=Xt(a-l,0),p=n(d+u),f=!o;++i<d;)p[i]=e[i];for(var h=i;++c<u;)p[h+c]=t[c];for(;++s<l;)(f||i<a)&&(p[h+r[s]]=e[i++]);return p}function ko(e,t){var r=-1,o=e.length;for(t||(t=n(o));++r<o;)t[r]=e[r];return t}function Do(e,t,n,r){var i=!n;n||(n={});for(var a=-1,s=t.length;++a<s;){var l=t[a],c=r?r(n[l],e[l],l,n,e):o;c===o&&(c=e[l]),i?ir(n,l,c):tr(n,l,c)}return n}function No(e,t){return function(n,r){var o=Za(n)?St:rr,i=t?t():{};return o(n,e,ci(r,2),i)}}function To(e){return Yr((function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:o,s=i>2?n[2]:o;for(a=e.length>3&&"function"==typeof a?(i--,a):o,s&&yi(n[0],n[1],s)&&(a=i<3?o:a,i=1),t=we(t);++r<i;){var l=n[r];l&&e(t,l,r,a)}return t}))}function jo(e,t){return function(n,r){if(null==n)return n;if(!$a(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=we(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}}function Bo(e){return function(t,n,r){for(var o=-1,i=we(t),a=r(t),s=a.length;s--;){var l=a[e?s:++o];if(!1===n(i[l],l,i))break}return t}}function Lo(e){return function(t){var n=ln(t=gs(t))?bn(t):o,r=n?n[0]:t.charAt(0),i=n?Oo(n,1).join(""):t.slice(1);return r[e]()+i}}function Ro(e){return function(t){return Rt(Gs(Us(t).replace(et,"")),e,"")}}function qo(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Wn(e.prototype),r=e.apply(n,t);return es(r)?r:n}}function Po(e){return function(t,n,r){var i=we(t);if(!$a(t)){var a=ci(n,3);t=Ds(t),n=function(e){return a(i[e],e,i)}}var s=e(t,n,r);return s>-1?i[a?t[s]:s]:o}}function Io(e){return ri((function(t){var n=t.length,r=n,a=Un.prototype.thru;for(e&&t.reverse();r--;){var s=t[r];if("function"!=typeof s)throw new Ee(i);if(a&&!l&&"wrapper"==si(s))var l=new Un([],!0)}for(r=l?r:n;++r<n;){var c=si(s=t[r]),u="wrapper"==c?ai(s):o;l=u&&Oi(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?l[si(u[0])].apply(l,u[3]):1==s.length&&Oi(s)?l[c]():l.thru(s)}return function(){var e=arguments,r=e[0];if(l&&1==e.length&&Za(r))return l.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}}))}function Wo(e,t,r,i,a,s,l,c,u,p){var f=t&d,h=1&t,b=2&t,A=24&t,m=512&t,g=b?o:qo(e);return function d(){for(var v=arguments.length,y=n(v),M=v;M--;)y[M]=arguments[M];if(A)var O=li(d),_=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(y,O);if(i&&(y=So(y,i,a,A)),s&&(y=Eo(y,s,l,A)),v-=_,A&&v<p){var z=dn(y,O);return Xo(e,t,Wo,d.placeholder,r,y,z,c,u,p-v)}var x=h?r:this,w=b?x[e]:e;return v=y.length,c?y=function(e,t){var n=e.length,r=vn(t.length,n),i=ko(e);for(;r--;){var a=t[r];e[r]=vi(a,n)?i[a]:o}return e}(y,c):m&&v>1&&y.reverse(),f&&u<v&&(y.length=u),this&&this!==bt&&this instanceof d&&(w=g||qo(w)),w.apply(x,y)}}function Fo(e,t){return function(n,r){return function(e,t,n,r){return yr(e,(function(e,o,i){t(r,n(e),o,i)})),r}(n,e,t(r),{})}}function Uo(e,t){return function(n,r){var i;if(n===o&&r===o)return t;if(n!==o&&(i=n),r!==o){if(i===o)return r;"string"==typeof n||"string"==typeof r?(n=co(n),r=co(r)):(n=lo(n),r=lo(r)),i=e(n,r)}return i}}function Zo(e){return ri((function(t){return t=Bt(t,Jt(ci())),Yr((function(n){var r=this;return e(t,(function(e){return Ct(e,r,n)}))}))}))}function Ho(e,t){var n=(t=t===o?" ":co(t)).length;if(n<2)return n?Qr(t,e):t;var r=Qr(t,ft(e/hn(t)));return ln(t)?Oo(bn(r),0,e).join(""):r.slice(0,e)}function $o(e){return function(t,r,i){return i&&"number"!=typeof i&&yi(t,r,i)&&(r=i=o),t=fs(t),r===o?(r=t,t=0):r=fs(r),function(e,t,r,o){for(var i=-1,a=Xt(ft((t-e)/(r||1)),0),s=n(a);a--;)s[o?a:++i]=e,e+=r;return s}(t,r,i=i===o?t<r?1:-1:fs(i),e)}}function Vo(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=As(t),n=As(n)),e(t,n)}}function Xo(e,t,n,r,i,a,s,l,d,p){var f=8&t;t|=f?c:u,4&(t&=~(f?u:c))||(t&=-4);var h=[e,t,i,f?a:o,f?s:o,f?o:a,f?o:s,l,d,p],b=n.apply(o,h);return Oi(e)&&ki(b,h),b.placeholder=r,Ti(b,e,t)}function Qo(e){var t=xe[e];return function(e,n){if(e=As(e),(n=null==n?0:vn(hs(n),292))&&vt(e)){var r=(gs(e)+"e").split("e");return+((r=(gs(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Yo=Cn&&1/pn(new Cn([,-0]))[1]==f?function(e){return new Cn(e)}:ll;function Go(e){return function(t){var n=bi(t);return n==x?cn(t):n==k?fn(t):function(e,t){return Bt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Ko(e,t,r,a,f,h,b,A){var m=2&t;if(!m&&"function"!=typeof e)throw new Ee(i);var g=a?a.length:0;if(g||(t&=-97,a=f=o),b=b===o?b:Xt(hs(b),0),A=A===o?A:hs(A),g-=f?f.length:0,t&u){var v=a,y=f;a=f=o}var M=m?o:ai(e),O=[e,t,r,a,f,v,y,h,b,A];if(M&&function(e,t){var n=e[1],r=t[1],o=n|r,i=o<131,a=r==d&&8==n||r==d&&n==p&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!i&&!a)return e;1&r&&(e[2]=t[2],o|=1&n?0:4);var l=t[3];if(l){var c=e[3];e[3]=c?So(c,l,t[4]):l,e[4]=c?dn(e[3],s):t[4]}(l=t[5])&&(c=e[5],e[5]=c?Eo(c,l,t[6]):l,e[6]=c?dn(e[5],s):t[6]);(l=t[7])&&(e[7]=l);r&d&&(e[8]=null==e[8]?t[8]:vn(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=o}(O,M),e=O[0],t=O[1],r=O[2],a=O[3],f=O[4],!(A=O[9]=O[9]===o?m?0:e.length:Xt(O[9]-g,0))&&24&t&&(t&=-25),t&&1!=t)_=8==t||t==l?function(e,t,r){var i=qo(e);return function a(){for(var s=arguments.length,l=n(s),c=s,u=li(a);c--;)l[c]=arguments[c];var d=s<3&&l[0]!==u&&l[s-1]!==u?[]:dn(l,u);return(s-=d.length)<r?Xo(e,t,Wo,a.placeholder,o,l,d,o,o,r-s):Ct(this&&this!==bt&&this instanceof a?i:e,this,l)}}(e,t,A):t!=c&&33!=t||f.length?Wo.apply(o,O):function(e,t,r,o){var i=1&t,a=qo(e);return function t(){for(var s=-1,l=arguments.length,c=-1,u=o.length,d=n(u+l),p=this&&this!==bt&&this instanceof t?a:e;++c<u;)d[c]=o[c];for(;l--;)d[c++]=arguments[++s];return Ct(p,i?r:this,d)}}(e,t,r,a);else var _=function(e,t,n){var r=1&t,o=qo(e);return function t(){return(this&&this!==bt&&this instanceof t?o:e).apply(r?n:this,arguments)}}(e,t,r);return Ti((M?eo:ki)(_,O),e,t)}function Jo(e,t,n,r){return e===o||Ia(e,Ne[n])&&!Be.call(r,n)?t:e}function ei(e,t,n,r,i,a){return es(e)&&es(t)&&(a.set(t,e),Fr(e,t,o,ei,a),a.delete(t)),e}function ti(e){return os(e)?o:e}function ni(e,t,n,r,i,a){var s=1&n,l=e.length,c=t.length;if(l!=c&&!(s&&c>l))return!1;var u=a.get(e),d=a.get(t);if(u&&d)return u==t&&d==e;var p=-1,f=!0,h=2&n?new Xn:o;for(a.set(e,t),a.set(t,e);++p<l;){var b=e[p],A=t[p];if(r)var m=s?r(A,b,p,t,e,a):r(b,A,p,e,t,a);if(m!==o){if(m)continue;f=!1;break}if(h){if(!Pt(t,(function(e,t){if(!tn(h,t)&&(b===e||i(b,e,n,r,a)))return h.push(t)}))){f=!1;break}}else if(b!==A&&!i(b,A,n,r,a)){f=!1;break}}return a.delete(e),a.delete(t),f}function ri(e){return Ni(Ci(e,o,Hi),e+"")}function oi(e){return zr(e,Ds,fi)}function ii(e){return zr(e,Ns,hi)}var ai=kn?function(e){return kn.get(e)}:ll;function si(e){for(var t=e.name+"",n=Dn[t],r=Be.call(Dn,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function li(e){return(Be.call(In,"placeholder")?In:e).placeholder}function ci(){var e=In.iteratee||ol;return e=e===ol?Br:e,arguments.length?e(arguments[0],arguments[1]):e}function ui(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map}function di(e){for(var t=Ds(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,xi(o)]}return t}function pi(e,t){var n=function(e,t){return null==e?o:e[t]}(e,t);return jr(n)?n:o}var fi=At?function(e){return null==e?[]:(e=we(e),Nt(At(e),(function(t){return Xe.call(e,t)})))}:bl,hi=At?function(e){for(var t=[];e;)Lt(t,fi(e)),e=$e(e);return t}:bl,bi=xr;function Ai(e,t,n){for(var r=-1,o=(t=yo(t,e)).length,i=!1;++r<o;){var a=Ri(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&Ja(o)&&vi(a,o)&&(Za(e)||Ua(e))}function mi(e){return"function"!=typeof e.constructor||zi(e)?{}:Wn($e(e))}function gi(e){return Za(e)||Ua(e)||!!(Ye&&e&&e[Ye])}function vi(e,t){var n=typeof e;return!!(t=null==t?h:t)&&("number"==n||"symbol"!=n&&ye.test(e))&&e>-1&&e%1==0&&e<t}function yi(e,t,n){if(!es(n))return!1;var r=typeof t;return!!("number"==r?$a(n)&&vi(t,n.length):"string"==r&&t in n)&&Ia(n[t],e)}function Mi(e,t){if(Za(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!ls(e))||(ne.test(e)||!te.test(e)||null!=t&&e in we(t))}function Oi(e){var t=si(e),n=In[t];if("function"!=typeof n||!(t in Zn.prototype))return!1;if(e===n)return!0;var r=ai(n);return!!r&&e===r[0]}(zn&&bi(new zn(new ArrayBuffer(1)))!=B||xn&&bi(new xn)!=x||wn&&bi(wn.resolve())!=S||Cn&&bi(new Cn)!=k||Sn&&bi(new Sn)!=T)&&(bi=function(e){var t=xr(e),n=t==C?e.constructor:o,r=n?qi(n):"";if(r)switch(r){case Nn:return B;case Tn:return x;case jn:return S;case Bn:return k;case Ln:return T}return t});var _i=Te?Ga:Al;function zi(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Ne)}function xi(e){return e===e&&!es(e)}function wi(e,t){return function(n){return null!=n&&(n[e]===t&&(t!==o||e in we(n)))}}function Ci(e,t,r){return t=Xt(t===o?e.length-1:t,0),function(){for(var o=arguments,i=-1,a=Xt(o.length-t,0),s=n(a);++i<a;)s[i]=o[t+i];i=-1;for(var l=n(t+1);++i<t;)l[i]=o[i];return l[t]=r(s),Ct(e,this,l)}}function Si(e,t){return t.length<2?e:_r(e,ro(t,0,-1))}function Ei(e,t){if(("constructor"!==t||"function"!==typeof e[t])&&"__proto__"!=t)return e[t]}var ki=ji(eo),Di=ut||function(e,t){return bt.setTimeout(e,t)},Ni=ji(to);function Ti(e,t,n){var r=t+"";return Ni(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(le,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return Et(m,(function(n){var r="_."+n[0];t&n[1]&&!Tt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(ce);return t?t[1].split(ue):[]}(r),n)))}function ji(e){var t=0,n=0;return function(){var r=yn(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(o,arguments)}}function Bi(e,t){var n=-1,r=e.length,i=r-1;for(t=t===o?r:t;++n<t;){var a=Xr(n,i),s=e[a];e[a]=e[n],e[n]=s}return e.length=t,e}var Li=function(e){var t=ja(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(re,(function(e,n,r,o){t.push(r?o.replace(fe,"$1"):n||e)})),t}));function Ri(e){if("string"==typeof e||ls(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function qi(e){if(null!=e){try{return je.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function Pi(e){if(e instanceof Zn)return e.clone();var t=new Un(e.__wrapped__,e.__chain__);return t.__actions__=ko(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Ii=Yr((function(e,t){return Va(e)?dr(e,mr(t,1,Va,!0)):[]})),Wi=Yr((function(e,t){var n=Yi(t);return Va(n)&&(n=o),Va(e)?dr(e,mr(t,1,Va,!0),ci(n,2)):[]})),Fi=Yr((function(e,t){var n=Yi(t);return Va(n)&&(n=o),Va(e)?dr(e,mr(t,1,Va,!0),o,n):[]}));function Ui(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:hs(n);return o<0&&(o=Xt(r+o,0)),Ft(e,ci(t,3),o)}function Zi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return n!==o&&(i=hs(n),i=n<0?Xt(r+i,0):vn(i,r-1)),Ft(e,ci(t,3),i,!0)}function Hi(e){return(null==e?0:e.length)?mr(e,1):[]}function $i(e){return e&&e.length?e[0]:o}var Vi=Yr((function(e){var t=Bt(e,go);return t.length&&t[0]===e[0]?Er(t):[]})),Xi=Yr((function(e){var t=Yi(e),n=Bt(e,go);return t===Yi(n)?t=o:n.pop(),n.length&&n[0]===e[0]?Er(n,ci(t,2)):[]})),Qi=Yr((function(e){var t=Yi(e),n=Bt(e,go);return(t="function"==typeof t?t:o)&&n.pop(),n.length&&n[0]===e[0]?Er(n,o,t):[]}));function Yi(e){var t=null==e?0:e.length;return t?e[t-1]:o}var Gi=Yr(Ki);function Ki(e,t){return e&&e.length&&t&&t.length?$r(e,t):e}var Ji=ri((function(e,t){var n=null==e?0:e.length,r=ar(e,t);return Vr(e,Bt(t,(function(e){return vi(e,n)?+e:e})).sort(Co)),r}));function ea(e){return null==e?e:_n.call(e)}var ta=Yr((function(e){return uo(mr(e,1,Va,!0))})),na=Yr((function(e){var t=Yi(e);return Va(t)&&(t=o),uo(mr(e,1,Va,!0),ci(t,2))})),ra=Yr((function(e){var t=Yi(e);return t="function"==typeof t?t:o,uo(mr(e,1,Va,!0),o,t)}));function oa(e){if(!e||!e.length)return[];var t=0;return e=Nt(e,(function(e){if(Va(e))return t=Xt(e.length,t),!0})),Gt(t,(function(t){return Bt(e,Vt(t))}))}function ia(e,t){if(!e||!e.length)return[];var n=oa(e);return null==t?n:Bt(n,(function(e){return Ct(t,o,e)}))}var aa=Yr((function(e,t){return Va(e)?dr(e,t):[]})),sa=Yr((function(e){return Ao(Nt(e,Va))})),la=Yr((function(e){var t=Yi(e);return Va(t)&&(t=o),Ao(Nt(e,Va),ci(t,2))})),ca=Yr((function(e){var t=Yi(e);return t="function"==typeof t?t:o,Ao(Nt(e,Va),o,t)})),ua=Yr(oa);var da=Yr((function(e){var t=e.length,n=t>1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,ia(e,n)}));function pa(e){var t=In(e);return t.__chain__=!0,t}function fa(e,t){return t(e)}var ha=ri((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return ar(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Zn&&vi(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:fa,args:[i],thisArg:o}),new Un(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(o),e}))):this.thru(i)}));var ba=No((function(e,t,n){Be.call(e,n)?++e[n]:ir(e,n,1)}));var Aa=Po(Ui),ma=Po(Zi);function ga(e,t){return(Za(e)?Et:pr)(e,ci(t,3))}function va(e,t){return(Za(e)?kt:fr)(e,ci(t,3))}var ya=No((function(e,t,n){Be.call(e,n)?e[n].push(t):ir(e,n,[t])}));var Ma=Yr((function(e,t,r){var o=-1,i="function"==typeof t,a=$a(e)?n(e.length):[];return pr(e,(function(e){a[++o]=i?Ct(t,e,r):kr(e,t,r)})),a})),Oa=No((function(e,t,n){ir(e,n,t)}));function _a(e,t){return(Za(e)?Bt:Pr)(e,ci(t,3))}var za=No((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var xa=Yr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&yi(e,t[0],t[1])?t=[]:n>2&&yi(t[0],t[1],t[2])&&(t=[t[0]]),Zr(e,mr(t,1),[])})),wa=ot||function(){return bt.Date.now()};function Ca(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,Ko(e,d,o,o,o,o,t)}function Sa(e,t){var n;if("function"!=typeof t)throw new Ee(i);return e=hs(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var Ea=Yr((function(e,t,n){var r=1;if(n.length){var o=dn(n,li(Ea));r|=c}return Ko(e,r,t,n,o)})),ka=Yr((function(e,t,n){var r=3;if(n.length){var o=dn(n,li(ka));r|=c}return Ko(t,r,e,n,o)}));function Da(e,t,n){var r,a,s,l,c,u,d=0,p=!1,f=!1,h=!0;if("function"!=typeof e)throw new Ee(i);function b(t){var n=r,i=a;return r=a=o,d=t,l=e.apply(i,n)}function A(e){var n=e-u;return u===o||n>=t||n<0||f&&e-d>=s}function m(){var e=wa();if(A(e))return g(e);c=Di(m,function(e){var n=t-(e-u);return f?vn(n,s-(e-d)):n}(e))}function g(e){return c=o,h&&r?b(e):(r=a=o,l)}function v(){var e=wa(),n=A(e);if(r=arguments,a=this,u=e,n){if(c===o)return function(e){return d=e,c=Di(m,t),p?b(e):l}(u);if(f)return _o(c),c=Di(m,t),b(u)}return c===o&&(c=Di(m,t)),l}return t=As(t)||0,es(n)&&(p=!!n.leading,s=(f="maxWait"in n)?Xt(As(n.maxWait)||0,t):s,h="trailing"in n?!!n.trailing:h),v.cancel=function(){c!==o&&_o(c),d=0,r=u=a=c=o},v.flush=function(){return c===o?l:g(wa())},v}var Na=Yr((function(e,t){return ur(e,1,t)})),Ta=Yr((function(e,t,n){return ur(e,As(t)||0,n)}));function ja(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Ee(i);var n=function n(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(ja.Cache||Vn),n}function Ba(e){if("function"!=typeof e)throw new Ee(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}ja.Cache=Vn;var La=Mo((function(e,t){var n=(t=1==t.length&&Za(t[0])?Bt(t[0],Jt(ci())):Bt(mr(t,1),Jt(ci()))).length;return Yr((function(r){for(var o=-1,i=vn(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return Ct(e,this,r)}))})),Ra=Yr((function(e,t){var n=dn(t,li(Ra));return Ko(e,c,o,t,n)})),qa=Yr((function(e,t){var n=dn(t,li(qa));return Ko(e,u,o,t,n)})),Pa=ri((function(e,t){return Ko(e,p,o,o,o,t)}));function Ia(e,t){return e===t||e!==e&&t!==t}var Wa=Vo(wr),Fa=Vo((function(e,t){return e>=t})),Ua=Dr(function(){return arguments}())?Dr:function(e){return ts(e)&&Be.call(e,"callee")&&!Xe.call(e,"callee")},Za=n.isArray,Ha=Mt?Jt(Mt):function(e){return ts(e)&&xr(e)==j};function $a(e){return null!=e&&Ja(e.length)&&!Ga(e)}function Va(e){return ts(e)&&$a(e)}var Xa=mt||Al,Qa=Ot?Jt(Ot):function(e){return ts(e)&&xr(e)==M};function Ya(e){if(!ts(e))return!1;var t=xr(e);return t==O||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!os(e)}function Ga(e){if(!es(e))return!1;var t=xr(e);return t==_||t==z||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ka(e){return"number"==typeof e&&e==hs(e)}function Ja(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=h}function es(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ts(e){return null!=e&&"object"==typeof e}var ns=_t?Jt(_t):function(e){return ts(e)&&bi(e)==x};function rs(e){return"number"==typeof e||ts(e)&&xr(e)==w}function os(e){if(!ts(e)||xr(e)!=C)return!1;var t=$e(e);if(null===t)return!0;var n=Be.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&je.call(n)==Pe}var is=zt?Jt(zt):function(e){return ts(e)&&xr(e)==E};var as=xt?Jt(xt):function(e){return ts(e)&&bi(e)==k};function ss(e){return"string"==typeof e||!Za(e)&&ts(e)&&xr(e)==D}function ls(e){return"symbol"==typeof e||ts(e)&&xr(e)==N}var cs=wt?Jt(wt):function(e){return ts(e)&&Ja(e.length)&&!!lt[xr(e)]};var us=Vo(qr),ds=Vo((function(e,t){return e<=t}));function ps(e){if(!e)return[];if($a(e))return ss(e)?bn(e):ko(e);if(Ge&&e[Ge])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Ge]());var t=bi(e);return(t==x?cn:t==k?pn:Is)(e)}function fs(e){return e?(e=As(e))===f||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0}function hs(e){var t=fs(e),n=t%1;return t===t?n?t-n:t:0}function bs(e){return e?sr(hs(e),0,A):0}function As(e){if("number"==typeof e)return e;if(ls(e))return b;if(es(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=es(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Kt(e);var n=me.test(e);return n||ve.test(e)?pt(e.slice(2),n?2:8):Ae.test(e)?b:+e}function ms(e){return Do(e,Ns(e))}function gs(e){return null==e?"":co(e)}var vs=To((function(e,t){if(zi(t)||$a(t))Do(t,Ds(t),e);else for(var n in t)Be.call(t,n)&&tr(e,n,t[n])})),ys=To((function(e,t){Do(t,Ns(t),e)})),Ms=To((function(e,t,n,r){Do(t,Ns(t),e,r)})),Os=To((function(e,t,n,r){Do(t,Ds(t),e,r)})),_s=ri(ar);var zs=Yr((function(e,t){e=we(e);var n=-1,r=t.length,i=r>2?t[2]:o;for(i&&yi(t[0],t[1],i)&&(r=1);++n<r;)for(var a=t[n],s=Ns(a),l=-1,c=s.length;++l<c;){var u=s[l],d=e[u];(d===o||Ia(d,Ne[u])&&!Be.call(e,u))&&(e[u]=a[u])}return e})),xs=Yr((function(e){return e.push(o,ei),Ct(js,o,e)}));function ws(e,t,n){var r=null==e?o:_r(e,t);return r===o?n:r}function Cs(e,t){return null!=e&&Ai(e,t,Sr)}var Ss=Fo((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=qe.call(t)),e[t]=n}),el(rl)),Es=Fo((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=qe.call(t)),Be.call(e,t)?e[t].push(n):e[t]=[n]}),ci),ks=Yr(kr);function Ds(e){return $a(e)?Yn(e):Lr(e)}function Ns(e){return $a(e)?Yn(e,!0):Rr(e)}var Ts=To((function(e,t,n){Fr(e,t,n)})),js=To((function(e,t,n,r){Fr(e,t,n,r)})),Bs=ri((function(e,t){var n={};if(null==e)return n;var r=!1;t=Bt(t,(function(t){return t=yo(t,e),r||(r=t.length>1),t})),Do(e,ii(e),n),r&&(n=lr(n,7,ti));for(var o=t.length;o--;)po(n,t[o]);return n}));var Ls=ri((function(e,t){return null==e?{}:function(e,t){return Hr(e,t,(function(t,n){return Cs(e,n)}))}(e,t)}));function Rs(e,t){if(null==e)return{};var n=Bt(ii(e),(function(e){return[e]}));return t=ci(t),Hr(e,n,(function(e,n){return t(e,n[0])}))}var qs=Go(Ds),Ps=Go(Ns);function Is(e){return null==e?[]:en(e,Ds(e))}var Ws=Ro((function(e,t,n){return t=t.toLowerCase(),e+(n?Fs(t):t)}));function Fs(e){return Ys(gs(e).toLowerCase())}function Us(e){return(e=gs(e))&&e.replace(Me,on).replace(tt,"")}var Zs=Ro((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Hs=Ro((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),$s=Lo("toLowerCase");var Vs=Ro((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Xs=Ro((function(e,t,n){return e+(n?" ":"")+Ys(t)}));var Qs=Ro((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Ys=Lo("toUpperCase");function Gs(e,t,n){return e=gs(e),(t=n?o:t)===o?function(e){return it.test(e)}(e)?function(e){return e.match(rt)||[]}(e):function(e){return e.match(de)||[]}(e):e.match(t)||[]}var Ks=Yr((function(e,t){try{return Ct(e,o,t)}catch(n){return Ya(n)?n:new se(n)}})),Js=ri((function(e,t){return Et(t,(function(t){t=Ri(t),ir(e,t,Ea(e[t],e))})),e}));function el(e){return function(){return e}}var tl=Io(),nl=Io(!0);function rl(e){return e}function ol(e){return Br("function"==typeof e?e:lr(e,1))}var il=Yr((function(e,t){return function(n){return kr(n,e,t)}})),al=Yr((function(e,t){return function(n){return kr(e,n,t)}}));function sl(e,t,n){var r=Ds(t),o=Or(t,r);null!=n||es(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=Or(t,Ds(t)));var i=!(es(n)&&"chain"in n)||!!n.chain,a=Ga(e);return Et(o,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__);return(n.__actions__=ko(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Lt([this.value()],arguments))})})),e}function ll(){}var cl=Zo(Bt),ul=Zo(Dt),dl=Zo(Pt);function pl(e){return Mi(e)?Vt(Ri(e)):function(e){return function(t){return _r(t,e)}}(e)}var fl=$o(),hl=$o(!0);function bl(){return[]}function Al(){return!1}var ml=Uo((function(e,t){return e+t}),0),gl=Qo("ceil"),vl=Uo((function(e,t){return e/t}),1),yl=Qo("floor");var Ml=Uo((function(e,t){return e*t}),1),Ol=Qo("round"),_l=Uo((function(e,t){return e-t}),0);return In.after=function(e,t){if("function"!=typeof t)throw new Ee(i);return e=hs(e),function(){if(--e<1)return t.apply(this,arguments)}},In.ary=Ca,In.assign=vs,In.assignIn=ys,In.assignInWith=Ms,In.assignWith=Os,In.at=_s,In.before=Sa,In.bind=Ea,In.bindAll=Js,In.bindKey=ka,In.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Za(e)?e:[e]},In.chain=pa,In.chunk=function(e,t,r){t=(r?yi(e,t,r):t===o)?1:Xt(hs(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var a=0,s=0,l=n(ft(i/t));a<i;)l[s++]=ro(e,a,a+=t);return l},In.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o},In.concat=function(){var e=arguments.length;if(!e)return[];for(var t=n(e-1),r=arguments[0],o=e;o--;)t[o-1]=arguments[o];return Lt(Za(r)?ko(r):[r],mr(t,1))},In.cond=function(e){var t=null==e?0:e.length,n=ci();return e=t?Bt(e,(function(e){if("function"!=typeof e[1])throw new Ee(i);return[n(e[0]),e[1]]})):[],Yr((function(n){for(var r=-1;++r<t;){var o=e[r];if(Ct(o[0],this,n))return Ct(o[1],this,n)}}))},In.conforms=function(e){return function(e){var t=Ds(e);return function(n){return cr(n,e,t)}}(lr(e,1))},In.constant=el,In.countBy=ba,In.create=function(e,t){var n=Wn(e);return null==t?n:or(n,t)},In.curry=function e(t,n,r){var i=Ko(t,8,o,o,o,o,o,n=r?o:n);return i.placeholder=e.placeholder,i},In.curryRight=function e(t,n,r){var i=Ko(t,l,o,o,o,o,o,n=r?o:n);return i.placeholder=e.placeholder,i},In.debounce=Da,In.defaults=zs,In.defaultsDeep=xs,In.defer=Na,In.delay=Ta,In.difference=Ii,In.differenceBy=Wi,In.differenceWith=Fi,In.drop=function(e,t,n){var r=null==e?0:e.length;return r?ro(e,(t=n||t===o?1:hs(t))<0?0:t,r):[]},In.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?ro(e,0,(t=r-(t=n||t===o?1:hs(t)))<0?0:t):[]},In.dropRightWhile=function(e,t){return e&&e.length?ho(e,ci(t,3),!0,!0):[]},In.dropWhile=function(e,t){return e&&e.length?ho(e,ci(t,3),!0):[]},In.fill=function(e,t,n,r){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&yi(e,t,n)&&(n=0,r=i),function(e,t,n,r){var i=e.length;for((n=hs(n))<0&&(n=-n>i?0:i+n),(r=r===o||r>i?i:hs(r))<0&&(r+=i),r=n>r?0:bs(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},In.filter=function(e,t){return(Za(e)?Nt:Ar)(e,ci(t,3))},In.flatMap=function(e,t){return mr(_a(e,t),1)},In.flatMapDeep=function(e,t){return mr(_a(e,t),f)},In.flatMapDepth=function(e,t,n){return n=n===o?1:hs(n),mr(_a(e,t),n)},In.flatten=Hi,In.flattenDeep=function(e){return(null==e?0:e.length)?mr(e,f):[]},In.flattenDepth=function(e,t){return(null==e?0:e.length)?mr(e,t=t===o?1:hs(t)):[]},In.flip=function(e){return Ko(e,512)},In.flow=tl,In.flowRight=nl,In.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},In.functions=function(e){return null==e?[]:Or(e,Ds(e))},In.functionsIn=function(e){return null==e?[]:Or(e,Ns(e))},In.groupBy=ya,In.initial=function(e){return(null==e?0:e.length)?ro(e,0,-1):[]},In.intersection=Vi,In.intersectionBy=Xi,In.intersectionWith=Qi,In.invert=Ss,In.invertBy=Es,In.invokeMap=Ma,In.iteratee=ol,In.keyBy=Oa,In.keys=Ds,In.keysIn=Ns,In.map=_a,In.mapKeys=function(e,t){var n={};return t=ci(t,3),yr(e,(function(e,r,o){ir(n,t(e,r,o),e)})),n},In.mapValues=function(e,t){var n={};return t=ci(t,3),yr(e,(function(e,r,o){ir(n,r,t(e,r,o))})),n},In.matches=function(e){return Ir(lr(e,1))},In.matchesProperty=function(e,t){return Wr(e,lr(t,1))},In.memoize=ja,In.merge=Ts,In.mergeWith=js,In.method=il,In.methodOf=al,In.mixin=sl,In.negate=Ba,In.nthArg=function(e){return e=hs(e),Yr((function(t){return Ur(t,e)}))},In.omit=Bs,In.omitBy=function(e,t){return Rs(e,Ba(ci(t)))},In.once=function(e){return Sa(2,e)},In.orderBy=function(e,t,n,r){return null==e?[]:(Za(t)||(t=null==t?[]:[t]),Za(n=r?o:n)||(n=null==n?[]:[n]),Zr(e,t,n))},In.over=cl,In.overArgs=La,In.overEvery=ul,In.overSome=dl,In.partial=Ra,In.partialRight=qa,In.partition=za,In.pick=Ls,In.pickBy=Rs,In.property=pl,In.propertyOf=function(e){return function(t){return null==e?o:_r(e,t)}},In.pull=Gi,In.pullAll=Ki,In.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?$r(e,t,ci(n,2)):e},In.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?$r(e,t,o,n):e},In.pullAt=Ji,In.range=fl,In.rangeRight=hl,In.rearg=Pa,In.reject=function(e,t){return(Za(e)?Nt:Ar)(e,Ba(ci(t,3)))},In.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=ci(t,3);++r<i;){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return Vr(e,o),n},In.rest=function(e,t){if("function"!=typeof e)throw new Ee(i);return Yr(e,t=t===o?t:hs(t))},In.reverse=ea,In.sampleSize=function(e,t,n){return t=(n?yi(e,t,n):t===o)?1:hs(t),(Za(e)?Kn:Kr)(e,t)},In.set=function(e,t,n){return null==e?e:Jr(e,t,n)},In.setWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:Jr(e,t,n,r)},In.shuffle=function(e){return(Za(e)?Jn:no)(e)},In.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&yi(e,t,n)?(t=0,n=r):(t=null==t?0:hs(t),n=n===o?r:hs(n)),ro(e,t,n)):[]},In.sortBy=xa,In.sortedUniq=function(e){return e&&e.length?so(e):[]},In.sortedUniqBy=function(e,t){return e&&e.length?so(e,ci(t,2)):[]},In.split=function(e,t,n){return n&&"number"!=typeof n&&yi(e,t,n)&&(t=n=o),(n=n===o?A:n>>>0)?(e=gs(e))&&("string"==typeof t||null!=t&&!is(t))&&!(t=co(t))&&ln(e)?Oo(bn(e),0,n):e.split(t,n):[]},In.spread=function(e,t){if("function"!=typeof e)throw new Ee(i);return t=null==t?0:Xt(hs(t),0),Yr((function(n){var r=n[t],o=Oo(n,0,t);return r&&Lt(o,r),Ct(e,this,o)}))},In.tail=function(e){var t=null==e?0:e.length;return t?ro(e,1,t):[]},In.take=function(e,t,n){return e&&e.length?ro(e,0,(t=n||t===o?1:hs(t))<0?0:t):[]},In.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?ro(e,(t=r-(t=n||t===o?1:hs(t)))<0?0:t,r):[]},In.takeRightWhile=function(e,t){return e&&e.length?ho(e,ci(t,3),!1,!0):[]},In.takeWhile=function(e,t){return e&&e.length?ho(e,ci(t,3)):[]},In.tap=function(e,t){return t(e),e},In.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new Ee(i);return es(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Da(e,t,{leading:r,maxWait:t,trailing:o})},In.thru=fa,In.toArray=ps,In.toPairs=qs,In.toPairsIn=Ps,In.toPath=function(e){return Za(e)?Bt(e,Ri):ls(e)?[e]:ko(Li(gs(e)))},In.toPlainObject=ms,In.transform=function(e,t,n){var r=Za(e),o=r||Xa(e)||cs(e);if(t=ci(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:es(e)&&Ga(i)?Wn($e(e)):{}}return(o?Et:yr)(e,(function(e,r,o){return t(n,e,r,o)})),n},In.unary=function(e){return Ca(e,1)},In.union=ta,In.unionBy=na,In.unionWith=ra,In.uniq=function(e){return e&&e.length?uo(e):[]},In.uniqBy=function(e,t){return e&&e.length?uo(e,ci(t,2)):[]},In.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?uo(e,o,t):[]},In.unset=function(e,t){return null==e||po(e,t)},In.unzip=oa,In.unzipWith=ia,In.update=function(e,t,n){return null==e?e:fo(e,t,vo(n))},In.updateWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:fo(e,t,vo(n),r)},In.values=Is,In.valuesIn=function(e){return null==e?[]:en(e,Ns(e))},In.without=aa,In.words=Gs,In.wrap=function(e,t){return Ra(vo(t),e)},In.xor=sa,In.xorBy=la,In.xorWith=ca,In.zip=ua,In.zipObject=function(e,t){return mo(e||[],t||[],tr)},In.zipObjectDeep=function(e,t){return mo(e||[],t||[],Jr)},In.zipWith=da,In.entries=qs,In.entriesIn=Ps,In.extend=ys,In.extendWith=Ms,sl(In,In),In.add=ml,In.attempt=Ks,In.camelCase=Ws,In.capitalize=Fs,In.ceil=gl,In.clamp=function(e,t,n){return n===o&&(n=t,t=o),n!==o&&(n=(n=As(n))===n?n:0),t!==o&&(t=(t=As(t))===t?t:0),sr(As(e),t,n)},In.clone=function(e){return lr(e,4)},In.cloneDeep=function(e){return lr(e,5)},In.cloneDeepWith=function(e,t){return lr(e,5,t="function"==typeof t?t:o)},In.cloneWith=function(e,t){return lr(e,4,t="function"==typeof t?t:o)},In.conformsTo=function(e,t){return null==t||cr(e,t,Ds(t))},In.deburr=Us,In.defaultTo=function(e,t){return null==e||e!==e?t:e},In.divide=vl,In.endsWith=function(e,t,n){e=gs(e),t=co(t);var r=e.length,i=n=n===o?r:sr(hs(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},In.eq=Ia,In.escape=function(e){return(e=gs(e))&&G.test(e)?e.replace(Q,an):e},In.escapeRegExp=function(e){return(e=gs(e))&&ie.test(e)?e.replace(oe,"\\$&"):e},In.every=function(e,t,n){var r=Za(e)?Dt:hr;return n&&yi(e,t,n)&&(t=o),r(e,ci(t,3))},In.find=Aa,In.findIndex=Ui,In.findKey=function(e,t){return Wt(e,ci(t,3),yr)},In.findLast=ma,In.findLastIndex=Zi,In.findLastKey=function(e,t){return Wt(e,ci(t,3),Mr)},In.floor=yl,In.forEach=ga,In.forEachRight=va,In.forIn=function(e,t){return null==e?e:gr(e,ci(t,3),Ns)},In.forInRight=function(e,t){return null==e?e:vr(e,ci(t,3),Ns)},In.forOwn=function(e,t){return e&&yr(e,ci(t,3))},In.forOwnRight=function(e,t){return e&&Mr(e,ci(t,3))},In.get=ws,In.gt=Wa,In.gte=Fa,In.has=function(e,t){return null!=e&&Ai(e,t,Cr)},In.hasIn=Cs,In.head=$i,In.identity=rl,In.includes=function(e,t,n,r){e=$a(e)?e:Is(e),n=n&&!r?hs(n):0;var o=e.length;return n<0&&(n=Xt(o+n,0)),ss(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&Ut(e,t,n)>-1},In.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:hs(n);return o<0&&(o=Xt(r+o,0)),Ut(e,t,o)},In.inRange=function(e,t,n){return t=fs(t),n===o?(n=t,t=0):n=fs(n),function(e,t,n){return e>=vn(t,n)&&e<Xt(t,n)}(e=As(e),t,n)},In.invoke=ks,In.isArguments=Ua,In.isArray=Za,In.isArrayBuffer=Ha,In.isArrayLike=$a,In.isArrayLikeObject=Va,In.isBoolean=function(e){return!0===e||!1===e||ts(e)&&xr(e)==y},In.isBuffer=Xa,In.isDate=Qa,In.isElement=function(e){return ts(e)&&1===e.nodeType&&!os(e)},In.isEmpty=function(e){if(null==e)return!0;if($a(e)&&(Za(e)||"string"==typeof e||"function"==typeof e.splice||Xa(e)||cs(e)||Ua(e)))return!e.length;var t=bi(e);if(t==x||t==k)return!e.size;if(zi(e))return!Lr(e).length;for(var n in e)if(Be.call(e,n))return!1;return!0},In.isEqual=function(e,t){return Nr(e,t)},In.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:o)?n(e,t):o;return r===o?Nr(e,t,o,n):!!r},In.isError=Ya,In.isFinite=function(e){return"number"==typeof e&&vt(e)},In.isFunction=Ga,In.isInteger=Ka,In.isLength=Ja,In.isMap=ns,In.isMatch=function(e,t){return e===t||Tr(e,t,di(t))},In.isMatchWith=function(e,t,n){return n="function"==typeof n?n:o,Tr(e,t,di(t),n)},In.isNaN=function(e){return rs(e)&&e!=+e},In.isNative=function(e){if(_i(e))throw new se("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return jr(e)},In.isNil=function(e){return null==e},In.isNull=function(e){return null===e},In.isNumber=rs,In.isObject=es,In.isObjectLike=ts,In.isPlainObject=os,In.isRegExp=is,In.isSafeInteger=function(e){return Ka(e)&&e>=-9007199254740991&&e<=h},In.isSet=as,In.isString=ss,In.isSymbol=ls,In.isTypedArray=cs,In.isUndefined=function(e){return e===o},In.isWeakMap=function(e){return ts(e)&&bi(e)==T},In.isWeakSet=function(e){return ts(e)&&"[object WeakSet]"==xr(e)},In.join=function(e,t){return null==e?"":yt.call(e,t)},In.kebabCase=Zs,In.last=Yi,In.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return n!==o&&(i=(i=hs(n))<0?Xt(r+i,0):vn(i,r-1)),t===t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):Ft(e,Ht,i,!0)},In.lowerCase=Hs,In.lowerFirst=$s,In.lt=us,In.lte=ds,In.max=function(e){return e&&e.length?br(e,rl,wr):o},In.maxBy=function(e,t){return e&&e.length?br(e,ci(t,2),wr):o},In.mean=function(e){return $t(e,rl)},In.meanBy=function(e,t){return $t(e,ci(t,2))},In.min=function(e){return e&&e.length?br(e,rl,qr):o},In.minBy=function(e,t){return e&&e.length?br(e,ci(t,2),qr):o},In.stubArray=bl,In.stubFalse=Al,In.stubObject=function(){return{}},In.stubString=function(){return""},In.stubTrue=function(){return!0},In.multiply=Ml,In.nth=function(e,t){return e&&e.length?Ur(e,hs(t)):o},In.noConflict=function(){return bt._===this&&(bt._=Ie),this},In.noop=ll,In.now=wa,In.pad=function(e,t,n){e=gs(e);var r=(t=hs(t))?hn(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Ho(ht(o),n)+e+Ho(ft(o),n)},In.padEnd=function(e,t,n){e=gs(e);var r=(t=hs(t))?hn(e):0;return t&&r<t?e+Ho(t-r,n):e},In.padStart=function(e,t,n){e=gs(e);var r=(t=hs(t))?hn(e):0;return t&&r<t?Ho(t-r,n)+e:e},In.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),Mn(gs(e).replace(ae,""),t||0)},In.random=function(e,t,n){if(n&&"boolean"!=typeof n&&yi(e,t,n)&&(t=n=o),n===o&&("boolean"==typeof t?(n=t,t=o):"boolean"==typeof e&&(n=e,e=o)),e===o&&t===o?(e=0,t=1):(e=fs(e),t===o?(t=e,e=0):t=fs(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=On();return vn(e+i*(t-e+dt("1e-"+((i+"").length-1))),t)}return Xr(e,t)},In.reduce=function(e,t,n){var r=Za(e)?Rt:Qt,o=arguments.length<3;return r(e,ci(t,4),n,o,pr)},In.reduceRight=function(e,t,n){var r=Za(e)?qt:Qt,o=arguments.length<3;return r(e,ci(t,4),n,o,fr)},In.repeat=function(e,t,n){return t=(n?yi(e,t,n):t===o)?1:hs(t),Qr(gs(e),t)},In.replace=function(){var e=arguments,t=gs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},In.result=function(e,t,n){var r=-1,i=(t=yo(t,e)).length;for(i||(i=1,e=o);++r<i;){var a=null==e?o:e[Ri(t[r])];a===o&&(r=i,a=n),e=Ga(a)?a.call(e):a}return e},In.round=Ol,In.runInContext=e,In.sample=function(e){return(Za(e)?Gn:Gr)(e)},In.size=function(e){if(null==e)return 0;if($a(e))return ss(e)?hn(e):e.length;var t=bi(e);return t==x||t==k?e.size:Lr(e).length},In.snakeCase=Vs,In.some=function(e,t,n){var r=Za(e)?Pt:oo;return n&&yi(e,t,n)&&(t=o),r(e,ci(t,3))},In.sortedIndex=function(e,t){return io(e,t)},In.sortedIndexBy=function(e,t,n){return ao(e,t,ci(n,2))},In.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=io(e,t);if(r<n&&Ia(e[r],t))return r}return-1},In.sortedLastIndex=function(e,t){return io(e,t,!0)},In.sortedLastIndexBy=function(e,t,n){return ao(e,t,ci(n,2),!0)},In.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=io(e,t,!0)-1;if(Ia(e[n],t))return n}return-1},In.startCase=Xs,In.startsWith=function(e,t,n){return e=gs(e),n=null==n?0:sr(hs(n),0,e.length),t=co(t),e.slice(n,n+t.length)==t},In.subtract=_l,In.sum=function(e){return e&&e.length?Yt(e,rl):0},In.sumBy=function(e,t){return e&&e.length?Yt(e,ci(t,2)):0},In.template=function(e,t,n){var r=In.templateSettings;n&&yi(e,t,n)&&(t=o),e=gs(e),t=Ms({},t,r,Jo);var i,a,s=Ms({},t.imports,r.imports,Jo),l=Ds(s),c=en(s,l),u=0,d=t.interpolate||Oe,p="__p += '",f=Ce((t.escape||Oe).source+"|"+d.source+"|"+(d===ee?he:Oe).source+"|"+(t.evaluate||Oe).source+"|$","g"),h="//# sourceURL="+(Be.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++st+"]")+"\n";e.replace(f,(function(t,n,r,o,s,l){return r||(r=o),p+=e.slice(u,l).replace(_e,sn),n&&(i=!0,p+="' +\n__e("+n+") +\n'"),s&&(a=!0,p+="';\n"+s+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),u=l+t.length,t})),p+="';\n";var b=Be.call(t,"variable")&&t.variable;if(b){if(pe.test(b))throw new se("Invalid `variable` option passed into `_.template`")}else p="with (obj) {\n"+p+"\n}\n";p=(a?p.replace(H,""):p).replace($,"$1").replace(V,"$1;"),p="function("+(b||"obj")+") {\n"+(b?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var A=Ks((function(){return ze(l,h+"return "+p).apply(o,c)}));if(A.source=p,Ya(A))throw A;return A},In.times=function(e,t){if((e=hs(e))<1||e>h)return[];var n=A,r=vn(e,A);t=ci(t),e-=A;for(var o=Gt(r,t);++n<e;)t(n);return o},In.toFinite=fs,In.toInteger=hs,In.toLength=bs,In.toLower=function(e){return gs(e).toLowerCase()},In.toNumber=As,In.toSafeInteger=function(e){return e?sr(hs(e),-9007199254740991,h):0===e?e:0},In.toString=gs,In.toUpper=function(e){return gs(e).toUpperCase()},In.trim=function(e,t,n){if((e=gs(e))&&(n||t===o))return Kt(e);if(!e||!(t=co(t)))return e;var r=bn(e),i=bn(t);return Oo(r,nn(r,i),rn(r,i)+1).join("")},In.trimEnd=function(e,t,n){if((e=gs(e))&&(n||t===o))return e.slice(0,An(e)+1);if(!e||!(t=co(t)))return e;var r=bn(e);return Oo(r,0,rn(r,bn(t))+1).join("")},In.trimStart=function(e,t,n){if((e=gs(e))&&(n||t===o))return e.replace(ae,"");if(!e||!(t=co(t)))return e;var r=bn(e);return Oo(r,nn(r,bn(t))).join("")},In.truncate=function(e,t){var n=30,r="...";if(es(t)){var i="separator"in t?t.separator:i;n="length"in t?hs(t.length):n,r="omission"in t?co(t.omission):r}var a=(e=gs(e)).length;if(ln(e)){var s=bn(e);a=s.length}if(n>=a)return e;var l=n-hn(r);if(l<1)return r;var c=s?Oo(s,0,l).join(""):e.slice(0,l);if(i===o)return c+r;if(s&&(l+=c.length-l),is(i)){if(e.slice(l).search(i)){var u,d=c;for(i.global||(i=Ce(i.source,gs(be.exec(i))+"g")),i.lastIndex=0;u=i.exec(d);)var p=u.index;c=c.slice(0,p===o?l:p)}}else if(e.indexOf(co(i),l)!=l){var f=c.lastIndexOf(i);f>-1&&(c=c.slice(0,f))}return c+r},In.unescape=function(e){return(e=gs(e))&&Y.test(e)?e.replace(X,mn):e},In.uniqueId=function(e){var t=++Le;return gs(e)+t},In.upperCase=Qs,In.upperFirst=Ys,In.each=ga,In.eachRight=va,In.first=$i,sl(In,function(){var e={};return yr(In,(function(t,n){Be.call(In.prototype,n)||(e[n]=t)})),e}(),{chain:!1}),In.VERSION="4.17.21",Et(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){In[e].placeholder=In})),Et(["drop","take"],(function(e,t){Zn.prototype[e]=function(n){n=n===o?1:Xt(hs(n),0);var r=this.__filtered__&&!t?new Zn(this):this.clone();return r.__filtered__?r.__takeCount__=vn(n,r.__takeCount__):r.__views__.push({size:vn(n,A),type:e+(r.__dir__<0?"Right":"")}),r},Zn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Et(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Zn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ci(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),Et(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Zn.prototype[e]=function(){return this[n](1).value()[0]}})),Et(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Zn.prototype[e]=function(){return this.__filtered__?new Zn(this):this[n](1)}})),Zn.prototype.compact=function(){return this.filter(rl)},Zn.prototype.find=function(e){return this.filter(e).head()},Zn.prototype.findLast=function(e){return this.reverse().find(e)},Zn.prototype.invokeMap=Yr((function(e,t){return"function"==typeof e?new Zn(this):this.map((function(n){return kr(n,e,t)}))})),Zn.prototype.reject=function(e){return this.filter(Ba(ci(e)))},Zn.prototype.slice=function(e,t){e=hs(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Zn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(n=(t=hs(t))<0?n.dropRight(-t):n.take(t-e)),n)},Zn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Zn.prototype.toArray=function(){return this.take(A)},yr(Zn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=In[r?"take"+("last"==t?"Right":""):t],a=r||/^find/.test(t);i&&(In.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,l=t instanceof Zn,c=s[0],u=l||Za(t),d=function(e){var t=i.apply(In,Lt([e],s));return r&&p?t[0]:t};u&&n&&"function"==typeof c&&1!=c.length&&(l=u=!1);var p=this.__chain__,f=!!this.__actions__.length,h=a&&!p,b=l&&!f;if(!a&&u){t=b?t:new Zn(this);var A=e.apply(t,s);return A.__actions__.push({func:fa,args:[d],thisArg:o}),new Un(A,p)}return h&&b?e.apply(this,s):(A=this.thru(d),h?r?A.value()[0]:A.value():A)})})),Et(["pop","push","shift","sort","splice","unshift"],(function(e){var t=ke[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);In.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Za(o)?o:[],e)}return this[n]((function(n){return t.apply(Za(n)?n:[],e)}))}})),yr(Zn.prototype,(function(e,t){var n=In[t];if(n){var r=n.name+"";Be.call(Dn,r)||(Dn[r]=[]),Dn[r].push({name:t,func:n})}})),Dn[Wo(o,2).name]=[{name:"wrapper",func:o}],Zn.prototype.clone=function(){var e=new Zn(this.__wrapped__);return e.__actions__=ko(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=ko(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=ko(this.__views__),e},Zn.prototype.reverse=function(){if(this.__filtered__){var e=new Zn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Zn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Za(e),r=t<0,o=n?e.length:0,i=function(e,t,n){var r=-1,o=n.length;for(;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=vn(t,e+a);break;case"takeRight":e=Xt(e,t-a)}}return{start:e,end:t}}(0,o,this.__views__),a=i.start,s=i.end,l=s-a,c=r?s:a-1,u=this.__iteratees__,d=u.length,p=0,f=vn(l,this.__takeCount__);if(!n||!r&&o==l&&f==l)return bo(e,this.__actions__);var h=[];e:for(;l--&&p<f;){for(var b=-1,A=e[c+=t];++b<d;){var m=u[b],g=m.iteratee,v=m.type,y=g(A);if(2==v)A=y;else if(!y){if(1==v)continue e;break e}}h[p++]=A}return h},In.prototype.at=ha,In.prototype.chain=function(){return pa(this)},In.prototype.commit=function(){return new Un(this.value(),this.__chain__)},In.prototype.next=function(){this.__values__===o&&(this.__values__=ps(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?o:this.__values__[this.__index__++]}},In.prototype.plant=function(e){for(var t,n=this;n instanceof Fn;){var r=Pi(n);r.__index__=0,r.__values__=o,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},In.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Zn){var t=e;return this.__actions__.length&&(t=new Zn(this)),(t=t.reverse()).__actions__.push({func:fa,args:[ea],thisArg:o}),new Un(t,this.__chain__)}return this.thru(ea)},In.prototype.toJSON=In.prototype.valueOf=In.prototype.value=function(){return bo(this.__wrapped__,this.__actions__)},In.prototype.first=In.prototype.head,Ge&&(In.prototype[Ge]=function(){return this}),In}();bt._=gn,(r=function(){return gn}.call(t,n,t,e))===o||(e.exports=r)}.call(this)},93428:function(e,t,n){var r=n(95434),o=n(81186),i=n(71839),a=n(95585);e.exports=function(e,t){return(a(e)?r:i)(e,o(t,3))}},84129:function(e,t,n){var r=n(46351),o=n(35705),i=n(81186);e.exports=function(e,t){var n={};return t=i(t,3),o(e,(function(e,o,i){r(n,t(e,o,i),e)})),n}},28463:function(e,t,n){var r=n(46351),o=n(35705),i=n(81186);e.exports=function(e,t){var n={};return t=i(t,3),o(e,(function(e,o,i){r(n,o,t(e,o,i))})),n}},92736:function(e,t,n){var r=n(13109);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function n(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},46170:function(e,t,n){var r=n(7289);e.exports=function(){return r.Date.now()}},34445:function(e,t,n){var r=n(61125),o=n(80171),i=n(98939),a=n(60925);e.exports=function(e){return i(e)?r(a(e)):o(e)}},63796:function(e,t,n){var r=n(38012)((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));e.exports=r},72554:function(e){e.exports=function(){return[]}},95535:function(e){e.exports=function(){return!1}},91909:function(e,t,n){var r=n(12279),o=n(91845);e.exports=function(e,t,n){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:i,maxWait:t,trailing:a})}},57923:function(e,t,n){var r=n(2306),o=n(91845),i=n(72060),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=s.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):a.test(e)?NaN:+e}},11822:function(e,t,n){var r=n(21612);e.exports=function(e){return null==e?"":r(e)}},24569:function(e,t,n){var r=n(62797)("toUpperCase");e.exports=r},8771:function(e,t,n){var r=n(80556),o=n(83771),i=n(11822),a=n(78043);e.exports=function(e,t,n){return e=i(e),void 0===(t=n?void 0:t)?o(e)?a(e):r(e):e.match(t)||[]}},25056:function(e){e.exports=function(){"use strict";var e,t,n;function r(r,o){if(e)if(t){var i="var sharedChunk = {}; ("+e+")(sharedChunk); ("+t+")(sharedChunk);",a={};e(a),n=o(a),"undefined"!==typeof window&&(n.workerUrl=window.URL.createObjectURL(new Blob([i],{type:"text/javascript"})))}else t=o;else e=o}return r(["exports"],(function(e){function t(e,t){return e(t={exports:{}},t.exports),t.exports}var n=r;function r(e,t,n,r){this.cx=3*e,this.bx=3*(n-e)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*t,this.by=3*(r-t)-this.cy,this.ay=1-this.cy-this.by,this.p1x=e,this.p1y=r,this.p2x=n,this.p2y=r}r.prototype.sampleCurveX=function(e){return((this.ax*e+this.bx)*e+this.cx)*e},r.prototype.sampleCurveY=function(e){return((this.ay*e+this.by)*e+this.cy)*e},r.prototype.sampleCurveDerivativeX=function(e){return(3*this.ax*e+2*this.bx)*e+this.cx},r.prototype.solveCurveX=function(e,t){var n,r,o,i,a;for(void 0===t&&(t=1e-6),o=e,a=0;a<8;a++){if(i=this.sampleCurveX(o)-e,Math.abs(i)<t)return o;var s=this.sampleCurveDerivativeX(o);if(Math.abs(s)<1e-6)break;o-=i/s}if((o=e)<(n=0))return n;if(o>(r=1))return r;for(;n<r;){if(i=this.sampleCurveX(o),Math.abs(i-e)<t)return o;e>i?n=o:r=o,o=.5*(r-n)+n}return o},r.prototype.solve=function(e,t){return this.sampleCurveY(this.solveCurveX(e,t))};var o=i;function i(e,t){this.x=e,this.y=t}i.prototype={clone:function(){return new i(this.x,this.y)},add:function(e){return this.clone()._add(e)},sub:function(e){return this.clone()._sub(e)},multByPoint:function(e){return this.clone()._multByPoint(e)},divByPoint:function(e){return this.clone()._divByPoint(e)},mult:function(e){return this.clone()._mult(e)},div:function(e){return this.clone()._div(e)},rotate:function(e){return this.clone()._rotate(e)},rotateAround:function(e,t){return this.clone()._rotateAround(e,t)},matMult:function(e){return this.clone()._matMult(e)},unit:function(){return this.clone()._unit()},perp:function(){return this.clone()._perp()},round:function(){return this.clone()._round()},mag:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals:function(e){return this.x===e.x&&this.y===e.y},dist:function(e){return Math.sqrt(this.distSqr(e))},distSqr:function(e){var t=e.x-this.x,n=e.y-this.y;return t*t+n*n},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(e){return Math.atan2(this.y-e.y,this.x-e.x)},angleWith:function(e){return this.angleWithSep(e.x,e.y)},angleWithSep:function(e,t){return Math.atan2(this.x*t-this.y*e,this.x*e+this.y*t)},_matMult:function(e){var t=e[2]*this.x+e[3]*this.y;return this.x=e[0]*this.x+e[1]*this.y,this.y=t,this},_add:function(e){return this.x+=e.x,this.y+=e.y,this},_sub:function(e){return this.x-=e.x,this.y-=e.y,this},_mult:function(e){return this.x*=e,this.y*=e,this},_div:function(e){return this.x/=e,this.y/=e,this},_multByPoint:function(e){return this.x*=e.x,this.y*=e.y,this},_divByPoint:function(e){return this.x/=e.x,this.y/=e.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var e=this.y;return this.y=this.x,this.x=-e,this},_rotate:function(e){var t=Math.cos(e),n=Math.sin(e),r=n*this.x+t*this.y;return this.x=t*this.x-n*this.y,this.y=r,this},_rotateAround:function(e,t){var n=Math.cos(e),r=Math.sin(e),o=t.y+r*(this.x-t.x)+n*(this.y-t.y);return this.x=t.x+n*(this.x-t.x)-r*(this.y-t.y),this.y=o,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},i.convert=function(e){return e instanceof i?e:Array.isArray(e)?new i(e[0],e[1]):e};var a="undefined"!=typeof self?self:{},s=Math.pow(2,53)-1;function l(e,t,r,o){var i=new n(e,t,r,o);return function(e){return i.solve(e)}}var c=l(.25,.1,.25,1);function u(e,t,n){return Math.min(n,Math.max(t,e))}function d(e,t,n){var r=n-t,o=((e-t)%r+r)%r+t;return o===t?n:o}function p(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];for(var r=0,o=t;r<o.length;r+=1){var i=o[r];for(var a in i)e[a]=i[a]}return e}var f=1;function h(){return f++}function b(){return function e(t){return t?(t^16*Math.random()>>t/4).toString(16):([1e7]+-[1e3]+-4e3+-8e3+-1e11).replace(/[018]/g,e)}()}function A(e){return!!e&&/^[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(e)}function m(e,t){e.forEach((function(e){t[e]&&(t[e]=t[e].bind(t))}))}function g(e,t){return-1!==e.indexOf(t,e.length-t.length)}function v(e,t,n){var r={};for(var o in e)r[o]=t.call(n||this,e[o],o,e);return r}function y(e,t,n){var r={};for(var o in e)t.call(n||this,e[o],o,e)&&(r[o]=e[o]);return r}function M(e){return Array.isArray(e)?e.map(M):"object"==typeof e&&e?v(e,M):e}var O={};function _(e){O[e]||("undefined"!=typeof console&&console.warn(e),O[e]=!0)}function z(e,t,n){return(n.y-e.y)*(t.x-e.x)>(t.y-e.y)*(n.x-e.x)}function x(e){for(var t=0,n=0,r=e.length,o=r-1,i=void 0,a=void 0;n<r;o=n++)t+=((a=e[o]).x-(i=e[n]).x)*(i.y+a.y);return t}function w(){return"undefined"!=typeof WorkerGlobalScope&&"undefined"!=typeof self&&self instanceof WorkerGlobalScope}function C(e){var t={};if(e.replace(/(?:^|(?:\s*\,\s*))([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g,(function(e,n,r,o){var i=r||o;return t[n]=!i||i.toLowerCase(),""})),t["max-age"]){var n=parseInt(t["max-age"],10);isNaN(n)?delete t["max-age"]:t["max-age"]=n}return t}var S=null;function E(e){if(null==S){var t=e.navigator?e.navigator.userAgent:null;S=!!e.safari||!(!t||!(/\b(iPad|iPhone|iPod)\b/.test(t)||t.match("Safari")&&!t.match("Chrome")))}return S}function k(e){try{var t=a[e];return t.setItem("_mapbox_test_",1),t.removeItem("_mapbox_test_"),!0}catch(e){return!1}}var D,N,T,j,B=a.performance&&a.performance.now?a.performance.now.bind(a.performance):Date.now.bind(Date),L=a.requestAnimationFrame||a.mozRequestAnimationFrame||a.webkitRequestAnimationFrame||a.msRequestAnimationFrame,R=a.cancelAnimationFrame||a.mozCancelAnimationFrame||a.webkitCancelAnimationFrame||a.msCancelAnimationFrame,q={now:B,frame:function(e){var t=L(e);return{cancel:function(){return R(t)}}},getImageData:function(e,t){void 0===t&&(t=0);var n=a.document.createElement("canvas"),r=n.getContext("2d");if(!r)throw new Error("failed to create canvas 2d context");return n.width=e.width,n.height=e.height,r.drawImage(e,0,0,e.width,e.height),r.getImageData(-t,-t,e.width+2*t,e.height+2*t)},resolveURL:function(e){return D||(D=a.document.createElement("a")),D.href=e,D.href},hardwareConcurrency:a.navigator&&a.navigator.hardwareConcurrency||4,get devicePixelRatio(){return a.devicePixelRatio},get prefersReducedMotion(){return!!a.matchMedia&&(null==N&&(N=a.matchMedia("(prefers-reduced-motion: reduce)")),N.matches)}},P={API_URL:"https://api.mapbox.com",get EVENTS_URL(){return this.API_URL?0===this.API_URL.indexOf("https://api.mapbox.cn")?"https://events.mapbox.cn/events/v2":0===this.API_URL.indexOf("https://api.mapbox.com")?"https://events.mapbox.com/events/v2":null:null},FEEDBACK_URL:"https://apps.mapbox.com/feedback",REQUIRE_ACCESS_TOKEN:!0,ACCESS_TOKEN:null,MAX_PARALLEL_IMAGE_REQUESTS:16},I={supported:!1,testSupport:function(e){!W&&j&&(F?U(e):T=e)}},W=!1,F=!1;function U(e){var t=e.createTexture();e.bindTexture(e.TEXTURE_2D,t);try{if(e.texImage2D(e.TEXTURE_2D,0,e.RGBA,e.RGBA,e.UNSIGNED_BYTE,j),e.isContextLost())return;I.supported=!0}catch(e){}e.deleteTexture(t),W=!0}a.document&&((j=a.document.createElement("img")).onload=function(){T&&U(T),T=null,F=!0},j.onerror=function(){W=!0,T=null},j.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA=");var Z="01",H=function(e,t){this._transformRequestFn=e,this._customAccessToken=t,this._createSkuToken()};function $(e){return 0===e.indexOf("mapbox:")}H.prototype._createSkuToken=function(){var e=function(){for(var e="",t=0;t<10;t++)e+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[Math.floor(62*Math.random())];return{token:["1",Z,e].join(""),tokenExpiresAt:Date.now()+432e5}}();this._skuToken=e.token,this._skuTokenExpiresAt=e.tokenExpiresAt},H.prototype._isSkuTokenExpired=function(){return Date.now()>this._skuTokenExpiresAt},H.prototype.transformRequest=function(e,t){return this._transformRequestFn&&this._transformRequestFn(e,t)||{url:e}},H.prototype.normalizeStyleURL=function(e,t){if(!$(e))return e;var n=Y(e);return n.path="/styles/v1"+n.path,this._makeAPIURL(n,this._customAccessToken||t)},H.prototype.normalizeGlyphsURL=function(e,t){if(!$(e))return e;var n=Y(e);return n.path="/fonts/v1"+n.path,this._makeAPIURL(n,this._customAccessToken||t)},H.prototype.normalizeSourceURL=function(e,t){if(!$(e))return e;var n=Y(e);return n.path="/v4/"+n.authority+".json",n.params.push("secure"),this._makeAPIURL(n,this._customAccessToken||t)},H.prototype.normalizeSpriteURL=function(e,t,n,r){var o=Y(e);return $(e)?(o.path="/styles/v1"+o.path+"/sprite"+t+n,this._makeAPIURL(o,this._customAccessToken||r)):(o.path+=""+t+n,G(o))},H.prototype.normalizeTileURL=function(e,t){if(this._isSkuTokenExpired()&&this._createSkuToken(),e&&!$(e))return e;var n=Y(e);n.path=n.path.replace(/(\.(png|jpg)\d*)(?=$)/,(q.devicePixelRatio>=2||512===t?"@2x":"")+(I.supported?".webp":"$1")),n.path=n.path.replace(/^.+\/v4\//,"/"),n.path="/v4"+n.path;var r=this._customAccessToken||function(e){for(var t=0,n=e;t<n.length;t+=1){var r=n[t].match(/^access_token=(.*)$/);if(r)return r[1]}return null}(n.params)||P.ACCESS_TOKEN;return P.REQUIRE_ACCESS_TOKEN&&r&&this._skuToken&&n.params.push("sku="+this._skuToken),this._makeAPIURL(n,r)},H.prototype.canonicalizeTileURL=function(e,t){var n=Y(e);if(!n.path.match(/(^\/v4\/)/)||!n.path.match(/\.[\w]+$/))return e;var r="mapbox://tiles/";r+=n.path.replace("/v4/","");var o=n.params;return t&&(o=o.filter((function(e){return!e.match(/^access_token=/)}))),o.length&&(r+="?"+o.join("&")),r},H.prototype.canonicalizeTileset=function(e,t){for(var n=!!t&&$(t),r=[],o=0,i=e.tiles||[];o<i.length;o+=1){var a=i[o];X(a)?r.push(this.canonicalizeTileURL(a,n)):r.push(a)}return r},H.prototype._makeAPIURL=function(e,t){var n="See https://www.mapbox.com/api-documentation/#access-tokens-and-token-scopes",r=Y(P.API_URL);if(e.protocol=r.protocol,e.authority=r.authority,"http"===e.protocol){var o=e.params.indexOf("secure");o>=0&&e.params.splice(o,1)}if("/"!==r.path&&(e.path=""+r.path+e.path),!P.REQUIRE_ACCESS_TOKEN)return G(e);if(!(t=t||P.ACCESS_TOKEN))throw new Error("An API access token is required to use Mapbox GL. "+n);if("s"===t[0])throw new Error("Use a public access token (pk.*) with Mapbox GL, not a secret access token (sk.*). "+n);return e.params=e.params.filter((function(e){return-1===e.indexOf("access_token")})),e.params.push("access_token="+t),G(e)};var V=/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/|\?|$)/i;function X(e){return V.test(e)}var Q=/^(\w+):\/\/([^/?]*)(\/[^?]+)?\??(.+)?/;function Y(e){var t=e.match(Q);if(!t)throw new Error("Unable to parse URL object");return{protocol:t[1],authority:t[2],path:t[3]||"/",params:t[4]?t[4].split("&"):[]}}function G(e){var t=e.params.length?"?"+e.params.join("&"):"";return e.protocol+"://"+e.authority+e.path+t}function K(e){if(!e)return null;var t=e.split(".");if(!t||3!==t.length)return null;try{return JSON.parse(decodeURIComponent(a.atob(t[1]).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join("")))}catch(e){return null}}var J=function(e){this.type=e,this.anonId=null,this.eventData={},this.queue=[],this.pendingRequest=null};J.prototype.getStorageKey=function(e){var t,n=K(P.ACCESS_TOKEN);return t=n&&n.u?a.btoa(encodeURIComponent(n.u).replace(/%([0-9A-F]{2})/g,(function(e,t){return String.fromCharCode(Number("0x"+t))}))):P.ACCESS_TOKEN||"",e?"mapbox.eventData."+e+":"+t:"mapbox.eventData:"+t},J.prototype.fetchEventData=function(){var e=k("localStorage"),t=this.getStorageKey(),n=this.getStorageKey("uuid");if(e)try{var r=a.localStorage.getItem(t);r&&(this.eventData=JSON.parse(r));var o=a.localStorage.getItem(n);o&&(this.anonId=o)}catch(e){_("Unable to read from LocalStorage")}},J.prototype.saveEventData=function(){var e=k("localStorage"),t=this.getStorageKey(),n=this.getStorageKey("uuid");if(e)try{a.localStorage.setItem(n,this.anonId),Object.keys(this.eventData).length>=1&&a.localStorage.setItem(t,JSON.stringify(this.eventData))}catch(e){_("Unable to write to LocalStorage")}},J.prototype.processRequests=function(e){},J.prototype.postEvent=function(e,t,n,r){var o=this;if(P.EVENTS_URL){var i=Y(P.EVENTS_URL);i.params.push("access_token="+(r||P.ACCESS_TOKEN||""));var a={event:this.type,created:new Date(e).toISOString(),sdkIdentifier:"mapbox-gl-js",sdkVersion:"1.13.3",skuId:Z,userId:this.anonId},s=t?p(a,t):a,l={url:G(i),headers:{"Content-Type":"text/plain"},body:JSON.stringify([s])};this.pendingRequest=Me(l,(function(e){o.pendingRequest=null,n(e),o.saveEventData(),o.processRequests(r)}))}},J.prototype.queueRequest=function(e,t){this.queue.push(e),this.processRequests(t)};var ee,te,ne=function(e){function t(){e.call(this,"map.load"),this.success={},this.skuToken=""}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.postMapLoadEvent=function(e,t,n,r){this.skuToken=n;var o=!(!r&&!P.ACCESS_TOKEN),i=Array.isArray(e)&&e.some((function(e){return $(e)||X(e)}));P.EVENTS_URL&&o&&i&&this.queueRequest({id:t,timestamp:Date.now()},r)},t.prototype.processRequests=function(e){var t=this;if(!this.pendingRequest&&0!==this.queue.length){var n=this.queue.shift(),r=n.id,o=n.timestamp;r&&this.success[r]||(this.anonId||this.fetchEventData(),A(this.anonId)||(this.anonId=b()),this.postEvent(o,{skuToken:this.skuToken},(function(e){e||r&&(t.success[r]=!0)}),e))}},t}(J),re=new(function(e){function t(t){e.call(this,"appUserTurnstile"),this._customAccessToken=t}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.postTurnstileEvent=function(e,t){P.EVENTS_URL&&P.ACCESS_TOKEN&&Array.isArray(e)&&e.some((function(e){return $(e)||X(e)}))&&this.queueRequest(Date.now(),t)},t.prototype.processRequests=function(e){var t=this;if(!this.pendingRequest&&0!==this.queue.length){this.anonId&&this.eventData.lastSuccess&&this.eventData.tokenU||this.fetchEventData();var n=K(P.ACCESS_TOKEN),r=n?n.u:P.ACCESS_TOKEN,o=r!==this.eventData.tokenU;A(this.anonId)||(this.anonId=b(),o=!0);var i=this.queue.shift();if(this.eventData.lastSuccess){var a=new Date(this.eventData.lastSuccess),s=new Date(i),l=(i-this.eventData.lastSuccess)/864e5;o=o||l>=1||l<-1||a.getDate()!==s.getDate()}else o=!0;if(!o)return this.processRequests();this.postEvent(i,{"enabled.telemetry":!1},(function(e){e||(t.eventData.lastSuccess=i,t.eventData.tokenU=r)}),e)}},t}(J)),oe=re.postTurnstileEvent.bind(re),ie=new ne,ae=ie.postMapLoadEvent.bind(ie),se=500,le=50;function ce(){a.caches&&!ee&&(ee=a.caches.open("mapbox-tiles"))}function ue(e){var t=e.indexOf("?");return t<0?e:e.slice(0,t)}var de,pe=1/0;function fe(){return null==de&&(de=a.OffscreenCanvas&&new a.OffscreenCanvas(1,1).getContext("2d")&&"function"==typeof a.createImageBitmap),de}var he={Unknown:"Unknown",Style:"Style",Source:"Source",Tile:"Tile",Glyphs:"Glyphs",SpriteImage:"SpriteImage",SpriteJSON:"SpriteJSON",Image:"Image"};"function"==typeof Object.freeze&&Object.freeze(he);var be,Ae,me=function(e){function t(t,n,r){401===n&&X(r)&&(t+=": you may have provided an invalid Mapbox access token. See https://www.mapbox.com/api-documentation/#access-tokens-and-token-scopes"),e.call(this,t),this.status=n,this.url=r,this.name=this.constructor.name,this.message=t}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.toString=function(){return this.name+": "+this.message+" ("+this.status+"): "+this.url},t}(Error),ge=w()?function(){return self.worker&&self.worker.referrer}:function(){return("blob:"===a.location.protocol?a.parent:a).location.href},ve=function(e,t){if(!(/^file:/.test(n=e.url)||/^file:/.test(ge())&&!/^\w+:/.test(n))){if(a.fetch&&a.Request&&a.AbortController&&a.Request.prototype.hasOwnProperty("signal"))return function(e,t){var n,r=new a.AbortController,o=new a.Request(e.url,{method:e.method||"GET",body:e.body,credentials:e.credentials,headers:e.headers,referrer:ge(),signal:r.signal}),i=!1,s=!1,l=(n=o.url).indexOf("sku=")>0&&X(n);"json"===e.type&&o.headers.set("Accept","application/json");var c=function(n,r,i){if(!s){if(n&&"SecurityError"!==n.message&&_(n),r&&i)return u(r);var c=Date.now();a.fetch(o).then((function(n){if(n.ok){var r=l?n.clone():null;return u(n,r,c)}return t(new me(n.statusText,n.status,e.url))})).catch((function(e){20!==e.code&&t(new Error(e.message))}))}},u=function(n,r,l){("arrayBuffer"===e.type?n.arrayBuffer():"json"===e.type?n.json():n.text()).then((function(e){s||(r&&l&&function(e,t,n){if(ce(),ee){var r={status:t.status,statusText:t.statusText,headers:new a.Headers};t.headers.forEach((function(e,t){return r.headers.set(t,e)}));var o=C(t.headers.get("Cache-Control")||"");o["no-store"]||(o["max-age"]&&r.headers.set("Expires",new Date(n+1e3*o["max-age"]).toUTCString()),new Date(r.headers.get("Expires")).getTime()-n<42e4||function(e,t){if(void 0===te)try{new Response(new ReadableStream),te=!0}catch(e){te=!1}te?t(e.body):e.blob().then(t)}(t,(function(t){var n=new a.Response(t,r);ce(),ee&&ee.then((function(t){return t.put(ue(e.url),n)})).catch((function(e){return _(e.message)}))})))}}(o,r,l),i=!0,t(null,e,n.headers.get("Cache-Control"),n.headers.get("Expires")))})).catch((function(e){s||t(new Error(e.message))}))};return l?function(e,t){if(ce(),!ee)return t(null);var n=ue(e.url);ee.then((function(e){e.match(n).then((function(r){var o=function(e){if(!e)return!1;var t=new Date(e.headers.get("Expires")||0),n=C(e.headers.get("Cache-Control")||"");return t>Date.now()&&!n["no-cache"]}(r);e.delete(n),o&&e.put(n,r.clone()),t(null,r,o)})).catch(t)})).catch(t)}(o,c):c(null,null),{cancel:function(){s=!0,i||r.abort()}}}(e,t);if(w()&&self.worker&&self.worker.actor)return self.worker.actor.send("getResource",e,t,void 0,!0)}var n;return function(e,t){var n=new a.XMLHttpRequest;for(var r in n.open(e.method||"GET",e.url,!0),"arrayBuffer"===e.type&&(n.responseType="arraybuffer"),e.headers)n.setRequestHeader(r,e.headers[r]);return"json"===e.type&&(n.responseType="text",n.setRequestHeader("Accept","application/json")),n.withCredentials="include"===e.credentials,n.onerror=function(){t(new Error(n.statusText))},n.onload=function(){if((n.status>=200&&n.status<300||0===n.status)&&null!==n.response){var r=n.response;if("json"===e.type)try{r=JSON.parse(n.response)}catch(e){return t(e)}t(null,r,n.getResponseHeader("Cache-Control"),n.getResponseHeader("Expires"))}else t(new me(n.statusText,n.status,e.url))},n.send(e.body),{cancel:function(){return n.abort()}}}(e,t)},ye=function(e,t){return ve(p(e,{type:"arrayBuffer"}),t)},Me=function(e,t){return ve(p(e,{method:"POST"}),t)},Oe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=";be=[],Ae=0;var _e=function e(t,n){if(I.supported&&(t.headers||(t.headers={}),t.headers.accept="image/webp,*/*"),Ae>=P.MAX_PARALLEL_IMAGE_REQUESTS){var r={requestParameters:t,callback:n,cancelled:!1,cancel:function(){this.cancelled=!0}};return be.push(r),r}Ae++;var o=!1,i=function(){if(!o)for(o=!0,Ae--;be.length&&Ae<P.MAX_PARALLEL_IMAGE_REQUESTS;){var t=be.shift();t.cancelled||(t.cancel=e(t.requestParameters,t.callback).cancel)}},s=ye(t,(function(e,t,r,o){i(),e?n(e):t&&(fe()?function(e,t){var n=new a.Blob([new Uint8Array(e)],{type:"image/png"});a.createImageBitmap(n).then((function(e){t(null,e)})).catch((function(e){t(new Error("Could not load image because of "+e.message+". Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."))}))}(t,n):function(e,t,n,r){var o=new a.Image,i=a.URL;o.onload=function(){t(null,o),i.revokeObjectURL(o.src),o.onload=null,a.requestAnimationFrame((function(){o.src=Oe}))},o.onerror=function(){return t(new Error("Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."))};var s=new a.Blob([new Uint8Array(e)],{type:"image/png"});o.cacheControl=n,o.expires=r,o.src=e.byteLength?i.createObjectURL(s):Oe}(t,n,r,o))}));return{cancel:function(){s.cancel(),i()}}};function ze(e,t,n){n[e]&&-1!==n[e].indexOf(t)||(n[e]=n[e]||[],n[e].push(t))}function xe(e,t,n){if(n&&n[e]){var r=n[e].indexOf(t);-1!==r&&n[e].splice(r,1)}}var we=function(e,t){void 0===t&&(t={}),p(this,t),this.type=e},Ce=function(e){function t(t,n){void 0===n&&(n={}),e.call(this,"error",p({error:t},n))}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t}(we),Se=function(){};Se.prototype.on=function(e,t){return this._listeners=this._listeners||{},ze(e,t,this._listeners),this},Se.prototype.off=function(e,t){return xe(e,t,this._listeners),xe(e,t,this._oneTimeListeners),this},Se.prototype.once=function(e,t){return this._oneTimeListeners=this._oneTimeListeners||{},ze(e,t,this._oneTimeListeners),this},Se.prototype.fire=function(e,t){"string"==typeof e&&(e=new we(e,t||{}));var n=e.type;if(this.listens(n)){e.target=this;for(var r=0,o=this._listeners&&this._listeners[n]?this._listeners[n].slice():[];r<o.length;r+=1)o[r].call(this,e);for(var i=0,a=this._oneTimeListeners&&this._oneTimeListeners[n]?this._oneTimeListeners[n].slice():[];i<a.length;i+=1){var s=a[i];xe(n,s,this._oneTimeListeners),s.call(this,e)}var l=this._eventedParent;l&&(p(e,"function"==typeof this._eventedParentData?this._eventedParentData():this._eventedParentData),l.fire(e))}else e instanceof Ce&&console.error(e.error);return this},Se.prototype.listens=function(e){return this._listeners&&this._listeners[e]&&this._listeners[e].length>0||this._oneTimeListeners&&this._oneTimeListeners[e]&&this._oneTimeListeners[e].length>0||this._eventedParent&&this._eventedParent.listens(e)},Se.prototype.setEventedParent=function(e,t){return this._eventedParent=e,this._eventedParentData=t,this};var Ee={$version:8,$root:{version:{required:!0,type:"enum",values:[8]},name:{type:"string"},metadata:{type:"*"},center:{type:"array",value:"number"},zoom:{type:"number"},bearing:{type:"number",default:0,period:360,units:"degrees"},pitch:{type:"number",default:0,units:"degrees"},light:{type:"light"},sources:{required:!0,type:"sources"},sprite:{type:"string"},glyphs:{type:"string"},transition:{type:"transition"},layers:{required:!0,type:"array",value:"layer"}},sources:{"*":{type:"source"}},source:["source_vector","source_raster","source_raster_dem","source_geojson","source_video","source_image"],source_vector:{type:{required:!0,type:"enum",values:{vector:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},attribution:{type:"string"},promoteId:{type:"promoteId"},volatile:{type:"boolean",default:!1},"*":{type:"*"}},source_raster:{type:{required:!0,type:"enum",values:{raster:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},attribution:{type:"string"},volatile:{type:"boolean",default:!1},"*":{type:"*"}},source_raster_dem:{type:{required:!0,type:"enum",values:{"raster-dem":{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},attribution:{type:"string"},encoding:{type:"enum",values:{terrarium:{},mapbox:{}},default:"mapbox"},volatile:{type:"boolean",default:!1},"*":{type:"*"}},source_geojson:{type:{required:!0,type:"enum",values:{geojson:{}}},data:{type:"*"},maxzoom:{type:"number",default:18},attribution:{type:"string"},buffer:{type:"number",default:128,maximum:512,minimum:0},filter:{type:"*"},tolerance:{type:"number",default:.375},cluster:{type:"boolean",default:!1},clusterRadius:{type:"number",default:50,minimum:0},clusterMaxZoom:{type:"number"},clusterMinPoints:{type:"number"},clusterProperties:{type:"*"},lineMetrics:{type:"boolean",default:!1},generateId:{type:"boolean",default:!1},promoteId:{type:"promoteId"}},source_video:{type:{required:!0,type:"enum",values:{video:{}}},urls:{required:!0,type:"array",value:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},source_image:{type:{required:!0,type:"enum",values:{image:{}}},url:{required:!0,type:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},layer:{id:{type:"string",required:!0},type:{type:"enum",values:{fill:{},line:{},symbol:{},circle:{},heatmap:{},"fill-extrusion":{},raster:{},hillshade:{},background:{}},required:!0},metadata:{type:"*"},source:{type:"string"},"source-layer":{type:"string"},minzoom:{type:"number",minimum:0,maximum:24},maxzoom:{type:"number",minimum:0,maximum:24},filter:{type:"filter"},layout:{type:"layout"},paint:{type:"paint"}},layout:["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_background"],layout_background:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_fill:{"fill-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_circle:{"circle-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_heatmap:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},"layout_fill-extrusion":{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_line:{"line-cap":{type:"enum",values:{butt:{},round:{},square:{}},default:"butt",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-join":{type:"enum",values:{bevel:{},round:{},miter:{}},default:"miter",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{type:"number",default:2,requires:[{"line-join":"miter"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-round-limit":{type:"number",default:1.05,requires:[{"line-join":"round"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_symbol:{"symbol-placement":{type:"enum",values:{point:{},line:{},"line-center":{}},default:"point",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-spacing":{type:"number",default:250,minimum:1,units:"pixels",requires:[{"symbol-placement":"line"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{type:"boolean",default:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{type:"enum",values:{auto:{},"viewport-y":{},source:{}},default:"auto",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-optional":{type:"boolean",default:!1,requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-size":{type:"number",default:1,minimum:0,units:"factor of the original icon size",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{type:"enum",values:{none:{},width:{},height:{},both:{}},default:"none",requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-text-fit-padding":{type:"array",value:"number",length:4,default:[0,0,0,0],units:"pixels",requires:["icon-image","text-field",{"icon-text-fit":["both","width","height"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-image":{type:"resolvedImage",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-keep-upright":{type:"boolean",default:!1,requires:["icon-image",{"icon-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-offset":{type:"array",value:"number",length:2,default:[0,0],requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-field":{type:"formatted",default:"",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-font":{type:"array",value:"string",default:["Open Sans Regular","Arial Unicode MS Regular"],requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-size":{type:"number",default:16,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{type:"number",default:10,minimum:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{type:"number",default:1.2,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-letter-spacing":{type:"number",default:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-justify":{type:"enum",values:{auto:{},left:{},center:{},right:{}},default:"center",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{type:"number",units:"ems",default:0,requires:["text-field"],"property-type":"data-driven",expression:{interpolated:!0,parameters:["zoom","feature"]}},"text-variable-anchor":{type:"array",value:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["text-field",{"!":"text-variable-anchor"}],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{type:"number",default:45,units:"degrees",requires:["text-field",{"symbol-placement":["line","line-center"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-writing-mode":{type:"array",value:"enum",values:{horizontal:{},vertical:{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-keep-upright":{type:"boolean",default:!0,requires:["text-field",{"text-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-transform":{type:"enum",values:{none:{},uppercase:{},lowercase:{}},default:"none",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-offset":{type:"array",value:"number",units:"ems",length:2,default:[0,0],requires:["text-field",{"!":"text-radial-offset"}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-optional":{type:"boolean",default:!1,requires:["text-field","icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_raster:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_hillshade:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},filter:{type:"array",value:"*"},filter_operator:{type:"enum",values:{"==":{},"!=":{},">":{},">=":{},"<":{},"<=":{},in:{},"!in":{},all:{},any:{},none:{},has:{},"!has":{},within:{}}},geometry_type:{type:"enum",values:{Point:{},LineString:{},Polygon:{}}},function:{expression:{type:"expression"},stops:{type:"array",value:"function_stop"},base:{type:"number",default:1,minimum:0},property:{type:"string",default:"$zoom"},type:{type:"enum",values:{identity:{},exponential:{},interval:{},categorical:{}},default:"exponential"},colorSpace:{type:"enum",values:{rgb:{},lab:{},hcl:{}},default:"rgb"},default:{type:"*",required:!1}},function_stop:{type:"array",minimum:0,maximum:24,value:["number","color"],length:2},expression:{type:"array",value:"*",minimum:1},light:{anchor:{type:"enum",default:"viewport",values:{map:{},viewport:{}},"property-type":"data-constant",transition:!1,expression:{interpolated:!1,parameters:["zoom"]}},position:{type:"array",default:[1.15,210,30],length:3,value:"number","property-type":"data-constant",transition:!0,expression:{interpolated:!0,parameters:["zoom"]}},color:{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},intensity:{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0}},paint:["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_background"],paint_fill:{"fill-antialias":{type:"boolean",default:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-outline-color":{type:"color",transition:!0,requires:[{"!":"fill-pattern"},{"fill-antialias":!0}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"}},"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-extrusion-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",transition:!0,requires:["fill-extrusion-height"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,transition:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_line:{"line-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"line-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["line-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-width":{type:"number",default:1,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-gap-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-offset":{type:"number",default:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-dasharray":{type:"array",value:"number",minimum:0,transition:!0,units:"line widths",requires:[{"!":"line-pattern"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"line-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"line-gradient":{type:"color",transition:!1,requires:[{"!":"line-dasharray"},{"!":"line-pattern"},{source:"geojson",has:{lineMetrics:!0}}],expression:{interpolated:!0,parameters:["line-progress"]},"property-type":"color-ramp"}},paint_circle:{"circle-radius":{type:"number",default:5,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-blur":{type:"number",default:0,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["circle-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{type:"enum",values:{map:{},viewport:{}},default:"map",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"}},paint_heatmap:{"heatmap-radius":{type:"number",default:30,minimum:1,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-weight":{type:"number",default:1,minimum:0,transition:!1,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-intensity":{type:"number",default:1,minimum:0,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"heatmap-color":{type:"color",default:["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",.1,"royalblue",.3,"cyan",.5,"lime",.7,"yellow",1,"red"],transition:!1,expression:{interpolated:!0,parameters:["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_symbol:{"icon-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-color":{type:"color",default:"#000000",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["icon-image","icon-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-color":{type:"color",default:"#000000",transition:!0,overridable:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["text-field","text-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_raster:{"raster-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-hue-rotate":{type:"number",default:0,period:360,transition:!0,units:"degrees",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{type:"number",default:0,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-saturation":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-contrast":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-resampling":{type:"enum",values:{linear:{},nearest:{}},default:"linear",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{type:"number",default:300,minimum:0,transition:!1,units:"milliseconds",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_hillshade:{"hillshade-illumination-direction":{type:"number",default:335,minimum:0,maximum:359,transition:!1,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{type:"number",default:.5,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-highlight-color":{type:"color",default:"#FFFFFF",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-accent-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_background:{"background-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"background-pattern"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"background-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"background-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},transition:{duration:{type:"number",default:300,minimum:0,units:"milliseconds"},delay:{type:"number",default:0,minimum:0,units:"milliseconds"}},"property-type":{"data-driven":{type:"property-type"},"cross-faded":{type:"property-type"},"cross-faded-data-driven":{type:"property-type"},"color-ramp":{type:"property-type"},"data-constant":{type:"property-type"},constant:{type:"property-type"}},promoteId:{"*":{type:"string"}}},ke=function(e,t,n,r){this.message=(e?e+": ":"")+n,r&&(this.identifier=r),null!=t&&t.__line__&&(this.line=t.__line__)};function De(e){var t=e.value;return t?[new ke(e.key,t,"constants have been deprecated as of v8")]:[]}function Ne(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];for(var r=0,o=t;r<o.length;r+=1){var i=o[r];for(var a in i)e[a]=i[a]}return e}function Te(e){return e instanceof Number||e instanceof String||e instanceof Boolean?e.valueOf():e}function je(e){if(Array.isArray(e))return e.map(je);if(e instanceof Object&&!(e instanceof Number||e instanceof String||e instanceof Boolean)){var t={};for(var n in e)t[n]=je(e[n]);return t}return Te(e)}var Be=function(e){function t(t,n){e.call(this,n),this.message=n,this.key=t}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t}(Error),Le=function(e,t){void 0===t&&(t=[]),this.parent=e,this.bindings={};for(var n=0,r=t;n<r.length;n+=1){var o=r[n];this.bindings[o[0]]=o[1]}};Le.prototype.concat=function(e){return new Le(this,e)},Le.prototype.get=function(e){if(this.bindings[e])return this.bindings[e];if(this.parent)return this.parent.get(e);throw new Error(e+" not found in scope.")},Le.prototype.has=function(e){return!!this.bindings[e]||!!this.parent&&this.parent.has(e)};var Re={kind:"null"},qe={kind:"number"},Pe={kind:"string"},Ie={kind:"boolean"},We={kind:"color"},Fe={kind:"object"},Ue={kind:"value"},Ze={kind:"collator"},He={kind:"formatted"},$e={kind:"resolvedImage"};function Ve(e,t){return{kind:"array",itemType:e,N:t}}function Xe(e){if("array"===e.kind){var t=Xe(e.itemType);return"number"==typeof e.N?"array<"+t+", "+e.N+">":"value"===e.itemType.kind?"array":"array<"+t+">"}return e.kind}var Qe=[Re,qe,Pe,Ie,We,He,Fe,Ve(Ue),$e];function Ye(e,t){if("error"===t.kind)return null;if("array"===e.kind){if("array"===t.kind&&(0===t.N&&"value"===t.itemType.kind||!Ye(e.itemType,t.itemType))&&("number"!=typeof e.N||e.N===t.N))return null}else{if(e.kind===t.kind)return null;if("value"===e.kind)for(var n=0,r=Qe;n<r.length;n+=1)if(!Ye(r[n],t))return null}return"Expected "+Xe(e)+" but found "+Xe(t)+" instead."}function Ge(e,t){return t.some((function(t){return t.kind===e.kind}))}function Ke(e,t){return t.some((function(t){return"null"===t?null===e:"array"===t?Array.isArray(e):"object"===t?e&&!Array.isArray(e)&&"object"==typeof e:t===typeof e}))}var Je=t((function(e,t){var n={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],rebeccapurple:[102,51,153,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function r(e){return(e=Math.round(e))<0?0:e>255?255:e}function o(e){return r("%"===e[e.length-1]?parseFloat(e)/100*255:parseInt(e))}function i(e){return(t="%"===e[e.length-1]?parseFloat(e)/100:parseFloat(e))<0?0:t>1?1:t;var t}function a(e,t,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?e+(t-e)*n*6:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}try{t.parseCSSColor=function(e){var t,s=e.replace(/ /g,"").toLowerCase();if(s in n)return n[s].slice();if("#"===s[0])return 4===s.length?(t=parseInt(s.substr(1),16))>=0&&t<=4095?[(3840&t)>>4|(3840&t)>>8,240&t|(240&t)>>4,15&t|(15&t)<<4,1]:null:7===s.length&&(t=parseInt(s.substr(1),16))>=0&&t<=16777215?[(16711680&t)>>16,(65280&t)>>8,255&t,1]:null;var l=s.indexOf("("),c=s.indexOf(")");if(-1!==l&&c+1===s.length){var u=s.substr(0,l),d=s.substr(l+1,c-(l+1)).split(","),p=1;switch(u){case"rgba":if(4!==d.length)return null;p=i(d.pop());case"rgb":return 3!==d.length?null:[o(d[0]),o(d[1]),o(d[2]),p];case"hsla":if(4!==d.length)return null;p=i(d.pop());case"hsl":if(3!==d.length)return null;var f=(parseFloat(d[0])%360+360)%360/360,h=i(d[1]),b=i(d[2]),A=b<=.5?b*(h+1):b+h-b*h,m=2*b-A;return[r(255*a(m,A,f+1/3)),r(255*a(m,A,f)),r(255*a(m,A,f-1/3)),p];default:return null}}return null}}catch(e){}})).parseCSSColor,et=function(e,t,n,r){void 0===r&&(r=1),this.r=e,this.g=t,this.b=n,this.a=r};et.parse=function(e){if(e){if(e instanceof et)return e;if("string"==typeof e){var t=Je(e);if(t)return new et(t[0]/255*t[3],t[1]/255*t[3],t[2]/255*t[3],t[3])}}},et.prototype.toString=function(){var e=this.toArray(),t=e[1],n=e[2],r=e[3];return"rgba("+Math.round(e[0])+","+Math.round(t)+","+Math.round(n)+","+r+")"},et.prototype.toArray=function(){var e=this.a;return 0===e?[0,0,0,0]:[255*this.r/e,255*this.g/e,255*this.b/e,e]},et.black=new et(0,0,0,1),et.white=new et(1,1,1,1),et.transparent=new et(0,0,0,0),et.red=new et(1,0,0,1);var tt=function(e,t,n){this.sensitivity=e?t?"variant":"case":t?"accent":"base",this.locale=n,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})};tt.prototype.compare=function(e,t){return this.collator.compare(e,t)},tt.prototype.resolvedLocale=function(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale};var nt=function(e,t,n,r,o){this.text=e,this.image=t,this.scale=n,this.fontStack=r,this.textColor=o},rt=function(e){this.sections=e};rt.fromString=function(e){return new rt([new nt(e,null,null,null,null)])},rt.prototype.isEmpty=function(){return 0===this.sections.length||!this.sections.some((function(e){return 0!==e.text.length||e.image&&0!==e.image.name.length}))},rt.factory=function(e){return e instanceof rt?e:rt.fromString(e)},rt.prototype.toString=function(){return 0===this.sections.length?"":this.sections.map((function(e){return e.text})).join("")},rt.prototype.serialize=function(){for(var e=["format"],t=0,n=this.sections;t<n.length;t+=1){var r=n[t];if(r.image)e.push(["image",r.image.name]);else{e.push(r.text);var o={};r.fontStack&&(o["text-font"]=["literal",r.fontStack.split(",")]),r.scale&&(o["font-scale"]=r.scale),r.textColor&&(o["text-color"]=["rgba"].concat(r.textColor.toArray())),e.push(o)}}return e};var ot=function(e){this.name=e.name,this.available=e.available};function it(e,t,n,r){return"number"==typeof e&&e>=0&&e<=255&&"number"==typeof t&&t>=0&&t<=255&&"number"==typeof n&&n>=0&&n<=255?void 0===r||"number"==typeof r&&r>=0&&r<=1?null:"Invalid rgba value ["+[e,t,n,r].join(", ")+"]: 'a' must be between 0 and 1.":"Invalid rgba value ["+("number"==typeof r?[e,t,n,r]:[e,t,n]).join(", ")+"]: 'r', 'g', and 'b' must be between 0 and 255."}function at(e){if(null===e)return!0;if("string"==typeof e)return!0;if("boolean"==typeof e)return!0;if("number"==typeof e)return!0;if(e instanceof et)return!0;if(e instanceof tt)return!0;if(e instanceof rt)return!0;if(e instanceof ot)return!0;if(Array.isArray(e)){for(var t=0,n=e;t<n.length;t+=1)if(!at(n[t]))return!1;return!0}if("object"==typeof e){for(var r in e)if(!at(e[r]))return!1;return!0}return!1}function st(e){if(null===e)return Re;if("string"==typeof e)return Pe;if("boolean"==typeof e)return Ie;if("number"==typeof e)return qe;if(e instanceof et)return We;if(e instanceof tt)return Ze;if(e instanceof rt)return He;if(e instanceof ot)return $e;if(Array.isArray(e)){for(var t,n=e.length,r=0,o=e;r<o.length;r+=1){var i=st(o[r]);if(t){if(t===i)continue;t=Ue;break}t=i}return Ve(t||Ue,n)}return Fe}function lt(e){var t=typeof e;return null===e?"":"string"===t||"number"===t||"boolean"===t?String(e):e instanceof et||e instanceof rt||e instanceof ot?e.toString():JSON.stringify(e)}ot.prototype.toString=function(){return this.name},ot.fromString=function(e){return e?new ot({name:e,available:!1}):null},ot.prototype.serialize=function(){return["image",this.name]};var ct=function(e,t){this.type=e,this.value=t};ct.parse=function(e,t){if(2!==e.length)return t.error("'literal' expression requires exactly one argument, but found "+(e.length-1)+" instead.");if(!at(e[1]))return t.error("invalid value");var n=e[1],r=st(n),o=t.expectedType;return"array"!==r.kind||0!==r.N||!o||"array"!==o.kind||"number"==typeof o.N&&0!==o.N||(r=o),new ct(r,n)},ct.prototype.evaluate=function(){return this.value},ct.prototype.eachChild=function(){},ct.prototype.outputDefined=function(){return!0},ct.prototype.serialize=function(){return"array"===this.type.kind||"object"===this.type.kind?["literal",this.value]:this.value instanceof et?["rgba"].concat(this.value.toArray()):this.value instanceof rt?this.value.serialize():this.value};var ut=function(e){this.name="ExpressionEvaluationError",this.message=e};ut.prototype.toJSON=function(){return this.message};var dt={string:Pe,number:qe,boolean:Ie,object:Fe},pt=function(e,t){this.type=e,this.args=t};pt.parse=function(e,t){if(e.length<2)return t.error("Expected at least one argument.");var n,r=1,o=e[0];if("array"===o){var i,a;if(e.length>2){var s=e[1];if("string"!=typeof s||!(s in dt)||"object"===s)return t.error('The item type argument of "array" must be one of string, number, boolean',1);i=dt[s],r++}else i=Ue;if(e.length>3){if(null!==e[2]&&("number"!=typeof e[2]||e[2]<0||e[2]!==Math.floor(e[2])))return t.error('The length argument to "array" must be a positive integer literal',2);a=e[2],r++}n=Ve(i,a)}else n=dt[o];for(var l=[];r<e.length;r++){var c=t.parse(e[r],r,Ue);if(!c)return null;l.push(c)}return new pt(n,l)},pt.prototype.evaluate=function(e){for(var t=0;t<this.args.length;t++){var n=this.args[t].evaluate(e);if(!Ye(this.type,st(n)))return n;if(t===this.args.length-1)throw new ut("Expected value to be of type "+Xe(this.type)+", but found "+Xe(st(n))+" instead.")}return null},pt.prototype.eachChild=function(e){this.args.forEach(e)},pt.prototype.outputDefined=function(){return this.args.every((function(e){return e.outputDefined()}))},pt.prototype.serialize=function(){var e=this.type,t=[e.kind];if("array"===e.kind){var n=e.itemType;if("string"===n.kind||"number"===n.kind||"boolean"===n.kind){t.push(n.kind);var r=e.N;("number"==typeof r||this.args.length>1)&&t.push(r)}}return t.concat(this.args.map((function(e){return e.serialize()})))};var ft=function(e){this.type=He,this.sections=e};ft.parse=function(e,t){if(e.length<2)return t.error("Expected at least one argument.");var n=e[1];if(!Array.isArray(n)&&"object"==typeof n)return t.error("First argument must be an image or text section.");for(var r=[],o=!1,i=1;i<=e.length-1;++i){var a=e[i];if(o&&"object"==typeof a&&!Array.isArray(a)){o=!1;var s=null;if(a["font-scale"]&&!(s=t.parse(a["font-scale"],1,qe)))return null;var l=null;if(a["text-font"]&&!(l=t.parse(a["text-font"],1,Ve(Pe))))return null;var c=null;if(a["text-color"]&&!(c=t.parse(a["text-color"],1,We)))return null;var u=r[r.length-1];u.scale=s,u.font=l,u.textColor=c}else{var d=t.parse(e[i],1,Ue);if(!d)return null;var p=d.type.kind;if("string"!==p&&"value"!==p&&"null"!==p&&"resolvedImage"!==p)return t.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");o=!0,r.push({content:d,scale:null,font:null,textColor:null})}}return new ft(r)},ft.prototype.evaluate=function(e){return new rt(this.sections.map((function(t){var n=t.content.evaluate(e);return st(n)===$e?new nt("",n,null,null,null):new nt(lt(n),null,t.scale?t.scale.evaluate(e):null,t.font?t.font.evaluate(e).join(","):null,t.textColor?t.textColor.evaluate(e):null)})))},ft.prototype.eachChild=function(e){for(var t=0,n=this.sections;t<n.length;t+=1){var r=n[t];e(r.content),r.scale&&e(r.scale),r.font&&e(r.font),r.textColor&&e(r.textColor)}},ft.prototype.outputDefined=function(){return!1},ft.prototype.serialize=function(){for(var e=["format"],t=0,n=this.sections;t<n.length;t+=1){var r=n[t];e.push(r.content.serialize());var o={};r.scale&&(o["font-scale"]=r.scale.serialize()),r.font&&(o["text-font"]=r.font.serialize()),r.textColor&&(o["text-color"]=r.textColor.serialize()),e.push(o)}return e};var ht=function(e){this.type=$e,this.input=e};ht.parse=function(e,t){if(2!==e.length)return t.error("Expected two arguments.");var n=t.parse(e[1],1,Pe);return n?new ht(n):t.error("No image name provided.")},ht.prototype.evaluate=function(e){var t=this.input.evaluate(e),n=ot.fromString(t);return n&&e.availableImages&&(n.available=e.availableImages.indexOf(t)>-1),n},ht.prototype.eachChild=function(e){e(this.input)},ht.prototype.outputDefined=function(){return!1},ht.prototype.serialize=function(){return["image",this.input.serialize()]};var bt={"to-boolean":Ie,"to-color":We,"to-number":qe,"to-string":Pe},At=function(e,t){this.type=e,this.args=t};At.parse=function(e,t){if(e.length<2)return t.error("Expected at least one argument.");var n=e[0];if(("to-boolean"===n||"to-string"===n)&&2!==e.length)return t.error("Expected one argument.");for(var r=bt[n],o=[],i=1;i<e.length;i++){var a=t.parse(e[i],i,Ue);if(!a)return null;o.push(a)}return new At(r,o)},At.prototype.evaluate=function(e){if("boolean"===this.type.kind)return Boolean(this.args[0].evaluate(e));if("color"===this.type.kind){for(var t,n,r=0,o=this.args;r<o.length;r+=1){if(n=null,(t=o[r].evaluate(e))instanceof et)return t;if("string"==typeof t){var i=e.parseColor(t);if(i)return i}else if(Array.isArray(t)&&!(n=t.length<3||t.length>4?"Invalid rbga value "+JSON.stringify(t)+": expected an array containing either three or four numeric values.":it(t[0],t[1],t[2],t[3])))return new et(t[0]/255,t[1]/255,t[2]/255,t[3])}throw new ut(n||"Could not parse color from value '"+("string"==typeof t?t:String(JSON.stringify(t)))+"'")}if("number"===this.type.kind){for(var a=null,s=0,l=this.args;s<l.length;s+=1){if(null===(a=l[s].evaluate(e)))return 0;var c=Number(a);if(!isNaN(c))return c}throw new ut("Could not convert "+JSON.stringify(a)+" to number.")}return"formatted"===this.type.kind?rt.fromString(lt(this.args[0].evaluate(e))):"resolvedImage"===this.type.kind?ot.fromString(lt(this.args[0].evaluate(e))):lt(this.args[0].evaluate(e))},At.prototype.eachChild=function(e){this.args.forEach(e)},At.prototype.outputDefined=function(){return this.args.every((function(e){return e.outputDefined()}))},At.prototype.serialize=function(){if("formatted"===this.type.kind)return new ft([{content:this.args[0],scale:null,font:null,textColor:null}]).serialize();if("resolvedImage"===this.type.kind)return new ht(this.args[0]).serialize();var e=["to-"+this.type.kind];return this.eachChild((function(t){e.push(t.serialize())})),e};var mt=["Unknown","Point","LineString","Polygon"],gt=function(){this.globals=null,this.feature=null,this.featureState=null,this.formattedSection=null,this._parseColorCache={},this.availableImages=null,this.canonical=null};gt.prototype.id=function(){return this.feature&&"id"in this.feature?this.feature.id:null},gt.prototype.geometryType=function(){return this.feature?"number"==typeof this.feature.type?mt[this.feature.type]:this.feature.type:null},gt.prototype.geometry=function(){return this.feature&&"geometry"in this.feature?this.feature.geometry:null},gt.prototype.canonicalID=function(){return this.canonical},gt.prototype.properties=function(){return this.feature&&this.feature.properties||{}},gt.prototype.parseColor=function(e){var t=this._parseColorCache[e];return t||(t=this._parseColorCache[e]=et.parse(e)),t};var vt=function(e,t,n,r){this.name=e,this.type=t,this._evaluate=n,this.args=r};vt.prototype.evaluate=function(e){return this._evaluate(e,this.args)},vt.prototype.eachChild=function(e){this.args.forEach(e)},vt.prototype.outputDefined=function(){return!1},vt.prototype.serialize=function(){return[this.name].concat(this.args.map((function(e){return e.serialize()})))},vt.parse=function(e,t){var n,r=e[0],o=vt.definitions[r];if(!o)return t.error('Unknown expression "'+r+'". If you wanted a literal array, use ["literal", [...]].',0);for(var i=Array.isArray(o)?o[0]:o.type,a=Array.isArray(o)?[[o[1],o[2]]]:o.overloads,s=a.filter((function(t){var n=t[0];return!Array.isArray(n)||n.length===e.length-1})),l=null,c=0,u=s;c<u.length;c+=1){var d=u[c],p=d[0],f=d[1];l=new Wt(t.registry,t.path,null,t.scope);for(var h=[],b=!1,A=1;A<e.length;A++){var m=e[A],g=Array.isArray(p)?p[A-1]:p.type,v=l.parse(m,1+h.length,g);if(!v){b=!0;break}h.push(v)}if(!b)if(Array.isArray(p)&&p.length!==h.length)l.error("Expected "+p.length+" arguments, but found "+h.length+" instead.");else{for(var y=0;y<h.length;y++){var M=Array.isArray(p)?p[y]:p.type,O=h[y];l.concat(y+1).checkSubtype(M,O.type)}if(0===l.errors.length)return new vt(r,i,f,h)}}if(1===s.length)(n=t.errors).push.apply(n,l.errors);else{for(var _=(s.length?s:a).map((function(e){var t;return t=e[0],Array.isArray(t)?"("+t.map(Xe).join(", ")+")":"("+Xe(t.type)+"...)"})).join(" | "),z=[],x=1;x<e.length;x++){var w=t.parse(e[x],1+z.length);if(!w)return null;z.push(Xe(w.type))}t.error("Expected arguments of type "+_+", but found ("+z.join(", ")+") instead.")}return null},vt.register=function(e,t){for(var n in vt.definitions=t,t)e[n]=vt};var yt=function(e,t,n){this.type=Ze,this.locale=n,this.caseSensitive=e,this.diacriticSensitive=t};function Mt(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.max(e[2],t[0]),e[3]=Math.max(e[3],t[1])}function Ot(e,t){return!(e[0]<=t[0]||e[2]>=t[2]||e[1]<=t[1]||e[3]>=t[3])}function _t(e,t){var n=(180+e[0])/360,r=(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+e[1]*Math.PI/360)))/360,o=Math.pow(2,t.z);return[Math.round(n*o*8192),Math.round(r*o*8192)]}function zt(e,t,n){return t[1]>e[1]!=n[1]>e[1]&&e[0]<(n[0]-t[0])*(e[1]-t[1])/(n[1]-t[1])+t[0]}function xt(e,t){for(var n,r,o,i,a,s,l,c=!1,u=0,d=t.length;u<d;u++)for(var p=t[u],f=0,h=p.length;f<h-1;f++){if((i=(n=e)[0]-(r=p[f])[0])*(l=n[1]-(o=p[f+1])[1])-(s=n[0]-o[0])*(a=n[1]-r[1])==0&&i*s<=0&&a*l<=0)return!1;zt(e,p[f],p[f+1])&&(c=!c)}return c}function wt(e,t){for(var n=0;n<t.length;n++)if(xt(e,t[n]))return!0;return!1}function Ct(e,t,n,r){var o=r[0]-n[0],i=r[1]-n[1],a=(e[0]-n[0])*i-o*(e[1]-n[1]),s=(t[0]-n[0])*i-o*(t[1]-n[1]);return a>0&&s<0||a<0&&s>0}function St(e,t,n){for(var r=0,o=n;r<o.length;r+=1)for(var i=o[r],a=0;a<i.length-1;++a)if(0!=(d=[(u=i[a+1])[0]-(c=i[a])[0],u[1]-c[1]])[0]*(p=[(l=t)[0]-(s=e)[0],l[1]-s[1]])[1]-d[1]*p[0]&&Ct(s,l,c,u)&&Ct(c,u,s,l))return!0;var s,l,c,u,d,p;return!1}function Et(e,t){for(var n=0;n<e.length;++n)if(!xt(e[n],t))return!1;for(var r=0;r<e.length-1;++r)if(St(e[r],e[r+1],t))return!1;return!0}function kt(e,t){for(var n=0;n<t.length;n++)if(Et(e,t[n]))return!0;return!1}function Dt(e,t,n){for(var r=[],o=0;o<e.length;o++){for(var i=[],a=0;a<e[o].length;a++){var s=_t(e[o][a],n);Mt(t,s),i.push(s)}r.push(i)}return r}function Nt(e,t,n){for(var r=[],o=0;o<e.length;o++){var i=Dt(e[o],t,n);r.push(i)}return r}function Tt(e,t,n,r){if(e[0]<n[0]||e[0]>n[2]){var o=.5*r,i=e[0]-n[0]>o?-r:n[0]-e[0]>o?r:0;0===i&&(i=e[0]-n[2]>o?-r:n[2]-e[0]>o?r:0),e[0]+=i}Mt(t,e)}function jt(e,t,n,r){for(var o=8192*Math.pow(2,r.z),i=[8192*r.x,8192*r.y],a=[],s=0,l=e;s<l.length;s+=1)for(var c=0,u=l[s];c<u.length;c+=1){var d=u[c],p=[d.x+i[0],d.y+i[1]];Tt(p,t,n,o),a.push(p)}return a}function Bt(e,t,n,r){for(var o,i=8192*Math.pow(2,r.z),a=[8192*r.x,8192*r.y],s=[],l=0,c=e;l<c.length;l+=1){for(var u=[],d=0,p=c[l];d<p.length;d+=1){var f=p[d],h=[f.x+a[0],f.y+a[1]];Mt(t,h),u.push(h)}s.push(u)}if(t[2]-t[0]<=i/2){(o=t)[0]=o[1]=1/0,o[2]=o[3]=-1/0;for(var b=0,A=s;b<A.length;b+=1)for(var m=0,g=A[b];m<g.length;m+=1)Tt(g[m],t,n,i)}return s}yt.parse=function(e,t){if(2!==e.length)return t.error("Expected one argument.");var n=e[1];if("object"!=typeof n||Array.isArray(n))return t.error("Collator options argument must be an object.");var r=t.parse(void 0!==n["case-sensitive"]&&n["case-sensitive"],1,Ie);if(!r)return null;var o=t.parse(void 0!==n["diacritic-sensitive"]&&n["diacritic-sensitive"],1,Ie);if(!o)return null;var i=null;return n.locale&&!(i=t.parse(n.locale,1,Pe))?null:new yt(r,o,i)},yt.prototype.evaluate=function(e){return new tt(this.caseSensitive.evaluate(e),this.diacriticSensitive.evaluate(e),this.locale?this.locale.evaluate(e):null)},yt.prototype.eachChild=function(e){e(this.caseSensitive),e(this.diacriticSensitive),this.locale&&e(this.locale)},yt.prototype.outputDefined=function(){return!1},yt.prototype.serialize=function(){var e={};return e["case-sensitive"]=this.caseSensitive.serialize(),e["diacritic-sensitive"]=this.diacriticSensitive.serialize(),this.locale&&(e.locale=this.locale.serialize()),["collator",e]};var Lt=function(e,t){this.type=Ie,this.geojson=e,this.geometries=t};function Rt(e){if(e instanceof vt){if("get"===e.name&&1===e.args.length)return!1;if("feature-state"===e.name)return!1;if("has"===e.name&&1===e.args.length)return!1;if("properties"===e.name||"geometry-type"===e.name||"id"===e.name)return!1;if(/^filter-/.test(e.name))return!1}if(e instanceof Lt)return!1;var t=!0;return e.eachChild((function(e){t&&!Rt(e)&&(t=!1)})),t}function qt(e){if(e instanceof vt&&"feature-state"===e.name)return!1;var t=!0;return e.eachChild((function(e){t&&!qt(e)&&(t=!1)})),t}function Pt(e,t){if(e instanceof vt&&t.indexOf(e.name)>=0)return!1;var n=!0;return e.eachChild((function(e){n&&!Pt(e,t)&&(n=!1)})),n}Lt.parse=function(e,t){if(2!==e.length)return t.error("'within' expression requires exactly one argument, but found "+(e.length-1)+" instead.");if(at(e[1])){var n=e[1];if("FeatureCollection"===n.type)for(var r=0;r<n.features.length;++r){var o=n.features[r].geometry.type;if("Polygon"===o||"MultiPolygon"===o)return new Lt(n,n.features[r].geometry)}else if("Feature"===n.type){var i=n.geometry.type;if("Polygon"===i||"MultiPolygon"===i)return new Lt(n,n.geometry)}else if("Polygon"===n.type||"MultiPolygon"===n.type)return new Lt(n,n)}return t.error("'within' expression requires valid geojson object that contains polygon geometry type.")},Lt.prototype.evaluate=function(e){if(null!=e.geometry()&&null!=e.canonicalID()){if("Point"===e.geometryType())return function(e,t){var n=[1/0,1/0,-1/0,-1/0],r=[1/0,1/0,-1/0,-1/0],o=e.canonicalID();if("Polygon"===t.type){var i=Dt(t.coordinates,r,o),a=jt(e.geometry(),n,r,o);if(!Ot(n,r))return!1;for(var s=0,l=a;s<l.length;s+=1)if(!xt(l[s],i))return!1}if("MultiPolygon"===t.type){var c=Nt(t.coordinates,r,o),u=jt(e.geometry(),n,r,o);if(!Ot(n,r))return!1;for(var d=0,p=u;d<p.length;d+=1)if(!wt(p[d],c))return!1}return!0}(e,this.geometries);if("LineString"===e.geometryType())return function(e,t){var n=[1/0,1/0,-1/0,-1/0],r=[1/0,1/0,-1/0,-1/0],o=e.canonicalID();if("Polygon"===t.type){var i=Dt(t.coordinates,r,o),a=Bt(e.geometry(),n,r,o);if(!Ot(n,r))return!1;for(var s=0,l=a;s<l.length;s+=1)if(!Et(l[s],i))return!1}if("MultiPolygon"===t.type){var c=Nt(t.coordinates,r,o),u=Bt(e.geometry(),n,r,o);if(!Ot(n,r))return!1;for(var d=0,p=u;d<p.length;d+=1)if(!kt(p[d],c))return!1}return!0}(e,this.geometries)}return!1},Lt.prototype.eachChild=function(){},Lt.prototype.outputDefined=function(){return!0},Lt.prototype.serialize=function(){return["within",this.geojson]};var It=function(e,t){this.type=t.type,this.name=e,this.boundExpression=t};It.parse=function(e,t){if(2!==e.length||"string"!=typeof e[1])return t.error("'var' expression requires exactly one string literal argument.");var n=e[1];return t.scope.has(n)?new It(n,t.scope.get(n)):t.error('Unknown variable "'+n+'". Make sure "'+n+'" has been bound in an enclosing "let" expression before using it.',1)},It.prototype.evaluate=function(e){return this.boundExpression.evaluate(e)},It.prototype.eachChild=function(){},It.prototype.outputDefined=function(){return!1},It.prototype.serialize=function(){return["var",this.name]};var Wt=function(e,t,n,r,o){void 0===t&&(t=[]),void 0===r&&(r=new Le),void 0===o&&(o=[]),this.registry=e,this.path=t,this.key=t.map((function(e){return"["+e+"]"})).join(""),this.scope=r,this.errors=o,this.expectedType=n};function Ft(e,t){for(var n,r=e.length-1,o=0,i=r,a=0;o<=i;)if((n=e[a=Math.floor((o+i)/2)])<=t){if(a===r||t<e[a+1])return a;o=a+1}else{if(!(n>t))throw new ut("Input is not a number.");i=a-1}return 0}Wt.prototype.parse=function(e,t,n,r,o){return void 0===o&&(o={}),t?this.concat(t,n,r)._parse(e,o):this._parse(e,o)},Wt.prototype._parse=function(e,t){function n(e,t,n){return"assert"===n?new pt(t,[e]):"coerce"===n?new At(t,[e]):e}if(null!==e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e||(e=["literal",e]),Array.isArray(e)){if(0===e.length)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');var r=e[0];if("string"!=typeof r)return this.error("Expression name must be a string, but found "+typeof r+' instead. If you wanted a literal array, use ["literal", [...]].',0),null;var o=this.registry[r];if(o){var i=o.parse(e,this);if(!i)return null;if(this.expectedType){var a=this.expectedType,s=i.type;if("string"!==a.kind&&"number"!==a.kind&&"boolean"!==a.kind&&"object"!==a.kind&&"array"!==a.kind||"value"!==s.kind)if("color"!==a.kind&&"formatted"!==a.kind&&"resolvedImage"!==a.kind||"value"!==s.kind&&"string"!==s.kind){if(this.checkSubtype(a,s))return null}else i=n(i,a,t.typeAnnotation||"coerce");else i=n(i,a,t.typeAnnotation||"assert")}if(!(i instanceof ct)&&"resolvedImage"!==i.type.kind&&function e(t){if(t instanceof It)return e(t.boundExpression);if(t instanceof vt&&"error"===t.name)return!1;if(t instanceof yt)return!1;if(t instanceof Lt)return!1;var n=t instanceof At||t instanceof pt,r=!0;return t.eachChild((function(t){r=n?r&&e(t):r&&t instanceof ct})),!!r&&Rt(t)&&Pt(t,["zoom","heatmap-density","line-progress","accumulated","is-supported-script"])}(i)){var l=new gt;try{i=new ct(i.type,i.evaluate(l))}catch(e){return this.error(e.message),null}}return i}return this.error('Unknown expression "'+r+'". If you wanted a literal array, use ["literal", [...]].',0)}return this.error(void 0===e?"'undefined' value invalid. Use null instead.":"object"==typeof e?'Bare objects invalid. Use ["literal", {...}] instead.':"Expected an array, but found "+typeof e+" instead.")},Wt.prototype.concat=function(e,t,n){var r="number"==typeof e?this.path.concat(e):this.path,o=n?this.scope.concat(n):this.scope;return new Wt(this.registry,r,t||null,o,this.errors)},Wt.prototype.error=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];var r=""+this.key+t.map((function(e){return"["+e+"]"})).join("");this.errors.push(new Be(r,e))},Wt.prototype.checkSubtype=function(e,t){var n=Ye(e,t);return n&&this.error(n),n};var Ut=function(e,t,n){this.type=e,this.input=t,this.labels=[],this.outputs=[];for(var r=0,o=n;r<o.length;r+=1){var i=o[r],a=i[1];this.labels.push(i[0]),this.outputs.push(a)}};function Zt(e,t,n){return e*(1-n)+t*n}Ut.parse=function(e,t){if(e.length-1<4)return t.error("Expected at least 4 arguments, but found only "+(e.length-1)+".");if((e.length-1)%2!=0)return t.error("Expected an even number of arguments.");var n=t.parse(e[1],1,qe);if(!n)return null;var r=[],o=null;t.expectedType&&"value"!==t.expectedType.kind&&(o=t.expectedType);for(var i=1;i<e.length;i+=2){var a=1===i?-1/0:e[i],s=e[i+1],l=i,c=i+1;if("number"!=typeof a)return t.error('Input/output pairs for "step" expressions must be defined using literal numeric values (not computed expressions) for the input values.',l);if(r.length&&r[r.length-1][0]>=a)return t.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',l);var u=t.parse(s,c,o);if(!u)return null;o=o||u.type,r.push([a,u])}return new Ut(o,n,r)},Ut.prototype.evaluate=function(e){var t=this.labels,n=this.outputs;if(1===t.length)return n[0].evaluate(e);var r=this.input.evaluate(e);if(r<=t[0])return n[0].evaluate(e);var o=t.length;return r>=t[o-1]?n[o-1].evaluate(e):n[Ft(t,r)].evaluate(e)},Ut.prototype.eachChild=function(e){e(this.input);for(var t=0,n=this.outputs;t<n.length;t+=1)e(n[t])},Ut.prototype.outputDefined=function(){return this.outputs.every((function(e){return e.outputDefined()}))},Ut.prototype.serialize=function(){for(var e=["step",this.input.serialize()],t=0;t<this.labels.length;t++)t>0&&e.push(this.labels[t]),e.push(this.outputs[t].serialize());return e};var Ht=Object.freeze({__proto__:null,number:Zt,color:function(e,t,n){return new et(Zt(e.r,t.r,n),Zt(e.g,t.g,n),Zt(e.b,t.b,n),Zt(e.a,t.a,n))},array:function(e,t,n){return e.map((function(e,r){return Zt(e,t[r],n)}))}}),$t=6/29*3*(6/29),Vt=Math.PI/180,Xt=180/Math.PI;function Qt(e){return e>.008856451679035631?Math.pow(e,1/3):e/$t+4/29}function Yt(e){return e>6/29?e*e*e:$t*(e-4/29)}function Gt(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function Kt(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function Jt(e){var t=Kt(e.r),n=Kt(e.g),r=Kt(e.b),o=Qt((.4124564*t+.3575761*n+.1804375*r)/.95047),i=Qt((.2126729*t+.7151522*n+.072175*r)/1);return{l:116*i-16,a:500*(o-i),b:200*(i-Qt((.0193339*t+.119192*n+.9503041*r)/1.08883)),alpha:e.a}}function en(e){var t=(e.l+16)/116,n=isNaN(e.a)?t:t+e.a/500,r=isNaN(e.b)?t:t-e.b/200;return t=1*Yt(t),n=.95047*Yt(n),r=1.08883*Yt(r),new et(Gt(3.2404542*n-1.5371385*t-.4985314*r),Gt(-.969266*n+1.8760108*t+.041556*r),Gt(.0556434*n-.2040259*t+1.0572252*r),e.alpha)}function tn(e,t,n){var r=t-e;return e+n*(r>180||r<-180?r-360*Math.round(r/360):r)}var nn={forward:Jt,reverse:en,interpolate:function(e,t,n){return{l:Zt(e.l,t.l,n),a:Zt(e.a,t.a,n),b:Zt(e.b,t.b,n),alpha:Zt(e.alpha,t.alpha,n)}}},rn={forward:function(e){var t=Jt(e),n=t.l,r=t.a,o=t.b,i=Math.atan2(o,r)*Xt;return{h:i<0?i+360:i,c:Math.sqrt(r*r+o*o),l:n,alpha:e.a}},reverse:function(e){var t=e.h*Vt,n=e.c;return en({l:e.l,a:Math.cos(t)*n,b:Math.sin(t)*n,alpha:e.alpha})},interpolate:function(e,t,n){return{h:tn(e.h,t.h,n),c:Zt(e.c,t.c,n),l:Zt(e.l,t.l,n),alpha:Zt(e.alpha,t.alpha,n)}}},on=Object.freeze({__proto__:null,lab:nn,hcl:rn}),an=function(e,t,n,r,o){this.type=e,this.operator=t,this.interpolation=n,this.input=r,this.labels=[],this.outputs=[];for(var i=0,a=o;i<a.length;i+=1){var s=a[i],l=s[1];this.labels.push(s[0]),this.outputs.push(l)}};function sn(e,t,n,r){var o=r-n,i=e-n;return 0===o?0:1===t?i/o:(Math.pow(t,i)-1)/(Math.pow(t,o)-1)}an.interpolationFactor=function(e,t,r,o){var i=0;if("exponential"===e.name)i=sn(t,e.base,r,o);else if("linear"===e.name)i=sn(t,1,r,o);else if("cubic-bezier"===e.name){var a=e.controlPoints;i=new n(a[0],a[1],a[2],a[3]).solve(sn(t,1,r,o))}return i},an.parse=function(e,t){var n=e[0],r=e[1],o=e[2],i=e.slice(3);if(!Array.isArray(r)||0===r.length)return t.error("Expected an interpolation type expression.",1);if("linear"===r[0])r={name:"linear"};else if("exponential"===r[0]){var a=r[1];if("number"!=typeof a)return t.error("Exponential interpolation requires a numeric base.",1,1);r={name:"exponential",base:a}}else{if("cubic-bezier"!==r[0])return t.error("Unknown interpolation type "+String(r[0]),1,0);var s=r.slice(1);if(4!==s.length||s.some((function(e){return"number"!=typeof e||e<0||e>1})))return t.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);r={name:"cubic-bezier",controlPoints:s}}if(e.length-1<4)return t.error("Expected at least 4 arguments, but found only "+(e.length-1)+".");if((e.length-1)%2!=0)return t.error("Expected an even number of arguments.");if(!(o=t.parse(o,2,qe)))return null;var l=[],c=null;"interpolate-hcl"===n||"interpolate-lab"===n?c=We:t.expectedType&&"value"!==t.expectedType.kind&&(c=t.expectedType);for(var u=0;u<i.length;u+=2){var d=i[u],p=i[u+1],f=u+3,h=u+4;if("number"!=typeof d)return t.error('Input/output pairs for "interpolate" expressions must be defined using literal numeric values (not computed expressions) for the input values.',f);if(l.length&&l[l.length-1][0]>=d)return t.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',f);var b=t.parse(p,h,c);if(!b)return null;c=c||b.type,l.push([d,b])}return"number"===c.kind||"color"===c.kind||"array"===c.kind&&"number"===c.itemType.kind&&"number"==typeof c.N?new an(c,n,r,o,l):t.error("Type "+Xe(c)+" is not interpolatable.")},an.prototype.evaluate=function(e){var t=this.labels,n=this.outputs;if(1===t.length)return n[0].evaluate(e);var r=this.input.evaluate(e);if(r<=t[0])return n[0].evaluate(e);var o=t.length;if(r>=t[o-1])return n[o-1].evaluate(e);var i=Ft(t,r),a=an.interpolationFactor(this.interpolation,r,t[i],t[i+1]),s=n[i].evaluate(e),l=n[i+1].evaluate(e);return"interpolate"===this.operator?Ht[this.type.kind.toLowerCase()](s,l,a):"interpolate-hcl"===this.operator?rn.reverse(rn.interpolate(rn.forward(s),rn.forward(l),a)):nn.reverse(nn.interpolate(nn.forward(s),nn.forward(l),a))},an.prototype.eachChild=function(e){e(this.input);for(var t=0,n=this.outputs;t<n.length;t+=1)e(n[t])},an.prototype.outputDefined=function(){return this.outputs.every((function(e){return e.outputDefined()}))},an.prototype.serialize=function(){var e;e="linear"===this.interpolation.name?["linear"]:"exponential"===this.interpolation.name?1===this.interpolation.base?["linear"]:["exponential",this.interpolation.base]:["cubic-bezier"].concat(this.interpolation.controlPoints);for(var t=[this.operator,e,this.input.serialize()],n=0;n<this.labels.length;n++)t.push(this.labels[n],this.outputs[n].serialize());return t};var ln=function(e,t){this.type=e,this.args=t};ln.parse=function(e,t){if(e.length<2)return t.error("Expectected at least one argument.");var n=null,r=t.expectedType;r&&"value"!==r.kind&&(n=r);for(var o=[],i=0,a=e.slice(1);i<a.length;i+=1){var s=t.parse(a[i],1+o.length,n,void 0,{typeAnnotation:"omit"});if(!s)return null;n=n||s.type,o.push(s)}var l=r&&o.some((function(e){return Ye(r,e.type)}));return new ln(l?Ue:n,o)},ln.prototype.evaluate=function(e){for(var t,n=null,r=0,o=0,i=this.args;o<i.length&&(r++,(n=i[o].evaluate(e))&&n instanceof ot&&!n.available&&(t||(t=n.name),n=null,r===this.args.length&&(n=t)),null===n);o+=1);return n},ln.prototype.eachChild=function(e){this.args.forEach(e)},ln.prototype.outputDefined=function(){return this.args.every((function(e){return e.outputDefined()}))},ln.prototype.serialize=function(){var e=["coalesce"];return this.eachChild((function(t){e.push(t.serialize())})),e};var cn=function(e,t){this.type=t.type,this.bindings=[].concat(e),this.result=t};cn.prototype.evaluate=function(e){return this.result.evaluate(e)},cn.prototype.eachChild=function(e){for(var t=0,n=this.bindings;t<n.length;t+=1)e(n[t][1]);e(this.result)},cn.parse=function(e,t){if(e.length<4)return t.error("Expected at least 3 arguments, but found "+(e.length-1)+" instead.");for(var n=[],r=1;r<e.length-1;r+=2){var o=e[r];if("string"!=typeof o)return t.error("Expected string, but found "+typeof o+" instead.",r);if(/[^a-zA-Z0-9_]/.test(o))return t.error("Variable names must contain only alphanumeric characters or '_'.",r);var i=t.parse(e[r+1],r+1);if(!i)return null;n.push([o,i])}var a=t.parse(e[e.length-1],e.length-1,t.expectedType,n);return a?new cn(n,a):null},cn.prototype.outputDefined=function(){return this.result.outputDefined()},cn.prototype.serialize=function(){for(var e=["let"],t=0,n=this.bindings;t<n.length;t+=1){var r=n[t];e.push(r[0],r[1].serialize())}return e.push(this.result.serialize()),e};var un=function(e,t,n){this.type=e,this.index=t,this.input=n};un.parse=function(e,t){if(3!==e.length)return t.error("Expected 2 arguments, but found "+(e.length-1)+" instead.");var n=t.parse(e[1],1,qe),r=t.parse(e[2],2,Ve(t.expectedType||Ue));return n&&r?new un(r.type.itemType,n,r):null},un.prototype.evaluate=function(e){var t=this.index.evaluate(e),n=this.input.evaluate(e);if(t<0)throw new ut("Array index out of bounds: "+t+" < 0.");if(t>=n.length)throw new ut("Array index out of bounds: "+t+" > "+(n.length-1)+".");if(t!==Math.floor(t))throw new ut("Array index must be an integer, but found "+t+" instead.");return n[t]},un.prototype.eachChild=function(e){e(this.index),e(this.input)},un.prototype.outputDefined=function(){return!1},un.prototype.serialize=function(){return["at",this.index.serialize(),this.input.serialize()]};var dn=function(e,t){this.type=Ie,this.needle=e,this.haystack=t};dn.parse=function(e,t){if(3!==e.length)return t.error("Expected 2 arguments, but found "+(e.length-1)+" instead.");var n=t.parse(e[1],1,Ue),r=t.parse(e[2],2,Ue);return n&&r?Ge(n.type,[Ie,Pe,qe,Re,Ue])?new dn(n,r):t.error("Expected first argument to be of type boolean, string, number or null, but found "+Xe(n.type)+" instead"):null},dn.prototype.evaluate=function(e){var t=this.needle.evaluate(e),n=this.haystack.evaluate(e);if(!n)return!1;if(!Ke(t,["boolean","string","number","null"]))throw new ut("Expected first argument to be of type boolean, string, number or null, but found "+Xe(st(t))+" instead.");if(!Ke(n,["string","array"]))throw new ut("Expected second argument to be of type array or string, but found "+Xe(st(n))+" instead.");return n.indexOf(t)>=0},dn.prototype.eachChild=function(e){e(this.needle),e(this.haystack)},dn.prototype.outputDefined=function(){return!0},dn.prototype.serialize=function(){return["in",this.needle.serialize(),this.haystack.serialize()]};var pn=function(e,t,n){this.type=qe,this.needle=e,this.haystack=t,this.fromIndex=n};pn.parse=function(e,t){if(e.length<=2||e.length>=5)return t.error("Expected 3 or 4 arguments, but found "+(e.length-1)+" instead.");var n=t.parse(e[1],1,Ue),r=t.parse(e[2],2,Ue);if(!n||!r)return null;if(!Ge(n.type,[Ie,Pe,qe,Re,Ue]))return t.error("Expected first argument to be of type boolean, string, number or null, but found "+Xe(n.type)+" instead");if(4===e.length){var o=t.parse(e[3],3,qe);return o?new pn(n,r,o):null}return new pn(n,r)},pn.prototype.evaluate=function(e){var t=this.needle.evaluate(e),n=this.haystack.evaluate(e);if(!Ke(t,["boolean","string","number","null"]))throw new ut("Expected first argument to be of type boolean, string, number or null, but found "+Xe(st(t))+" instead.");if(!Ke(n,["string","array"]))throw new ut("Expected second argument to be of type array or string, but found "+Xe(st(n))+" instead.");if(this.fromIndex){var r=this.fromIndex.evaluate(e);return n.indexOf(t,r)}return n.indexOf(t)},pn.prototype.eachChild=function(e){e(this.needle),e(this.haystack),this.fromIndex&&e(this.fromIndex)},pn.prototype.outputDefined=function(){return!1},pn.prototype.serialize=function(){if(null!=this.fromIndex&&void 0!==this.fromIndex){var e=this.fromIndex.serialize();return["index-of",this.needle.serialize(),this.haystack.serialize(),e]}return["index-of",this.needle.serialize(),this.haystack.serialize()]};var fn=function(e,t,n,r,o,i){this.inputType=e,this.type=t,this.input=n,this.cases=r,this.outputs=o,this.otherwise=i};fn.parse=function(e,t){if(e.length<5)return t.error("Expected at least 4 arguments, but found only "+(e.length-1)+".");if(e.length%2!=1)return t.error("Expected an even number of arguments.");var n,r;t.expectedType&&"value"!==t.expectedType.kind&&(r=t.expectedType);for(var o={},i=[],a=2;a<e.length-1;a+=2){var s=e[a],l=e[a+1];Array.isArray(s)||(s=[s]);var c=t.concat(a);if(0===s.length)return c.error("Expected at least one branch label.");for(var u=0,d=s;u<d.length;u+=1){var p=d[u];if("number"!=typeof p&&"string"!=typeof p)return c.error("Branch labels must be numbers or strings.");if("number"==typeof p&&Math.abs(p)>Number.MAX_SAFE_INTEGER)return c.error("Branch labels must be integers no larger than "+Number.MAX_SAFE_INTEGER+".");if("number"==typeof p&&Math.floor(p)!==p)return c.error("Numeric branch labels must be integer values.");if(n){if(c.checkSubtype(n,st(p)))return null}else n=st(p);if(void 0!==o[String(p)])return c.error("Branch labels must be unique.");o[String(p)]=i.length}var f=t.parse(l,a,r);if(!f)return null;r=r||f.type,i.push(f)}var h=t.parse(e[1],1,Ue);if(!h)return null;var b=t.parse(e[e.length-1],e.length-1,r);return b?"value"!==h.type.kind&&t.concat(1).checkSubtype(n,h.type)?null:new fn(n,r,h,o,i,b):null},fn.prototype.evaluate=function(e){var t=this.input.evaluate(e);return(st(t)===this.inputType&&this.outputs[this.cases[t]]||this.otherwise).evaluate(e)},fn.prototype.eachChild=function(e){e(this.input),this.outputs.forEach(e),e(this.otherwise)},fn.prototype.outputDefined=function(){return this.outputs.every((function(e){return e.outputDefined()}))&&this.otherwise.outputDefined()},fn.prototype.serialize=function(){for(var e=this,t=["match",this.input.serialize()],n=[],r={},o=0,i=Object.keys(this.cases).sort();o<i.length;o+=1){var a=i[o];void 0===(d=r[this.cases[a]])?(r[this.cases[a]]=n.length,n.push([this.cases[a],[a]])):n[d][1].push(a)}for(var s=function(t){return"number"===e.inputType.kind?Number(t):t},l=0,c=n;l<c.length;l+=1){var u=c[l],d=u[0],p=u[1];t.push(1===p.length?s(p[0]):p.map(s)),t.push(this.outputs[outputIndex$1].serialize())}return t.push(this.otherwise.serialize()),t};var hn=function(e,t,n){this.type=e,this.branches=t,this.otherwise=n};hn.parse=function(e,t){if(e.length<4)return t.error("Expected at least 3 arguments, but found only "+(e.length-1)+".");if(e.length%2!=0)return t.error("Expected an odd number of arguments.");var n;t.expectedType&&"value"!==t.expectedType.kind&&(n=t.expectedType);for(var r=[],o=1;o<e.length-1;o+=2){var i=t.parse(e[o],o,Ie);if(!i)return null;var a=t.parse(e[o+1],o+1,n);if(!a)return null;r.push([i,a]),n=n||a.type}var s=t.parse(e[e.length-1],e.length-1,n);return s?new hn(n,r,s):null},hn.prototype.evaluate=function(e){for(var t=0,n=this.branches;t<n.length;t+=1){var r=n[t],o=r[1];if(r[0].evaluate(e))return o.evaluate(e)}return this.otherwise.evaluate(e)},hn.prototype.eachChild=function(e){for(var t=0,n=this.branches;t<n.length;t+=1){var r=n[t],o=r[1];e(r[0]),e(o)}e(this.otherwise)},hn.prototype.outputDefined=function(){return this.branches.every((function(e){return e[1].outputDefined()}))&&this.otherwise.outputDefined()},hn.prototype.serialize=function(){var e=["case"];return this.eachChild((function(t){e.push(t.serialize())})),e};var bn=function(e,t,n,r){this.type=e,this.input=t,this.beginIndex=n,this.endIndex=r};function An(e,t){return"=="===e||"!="===e?"boolean"===t.kind||"string"===t.kind||"number"===t.kind||"null"===t.kind||"value"===t.kind:"string"===t.kind||"number"===t.kind||"value"===t.kind}function mn(e,t,n,r){return 0===r.compare(t,n)}function gn(e,t,n){var r="=="!==e&&"!="!==e;return function(){function o(e,t,n){this.type=Ie,this.lhs=e,this.rhs=t,this.collator=n,this.hasUntypedArgument="value"===e.type.kind||"value"===t.type.kind}return o.parse=function(e,t){if(3!==e.length&&4!==e.length)return t.error("Expected two or three arguments.");var n=e[0],i=t.parse(e[1],1,Ue);if(!i)return null;if(!An(n,i.type))return t.concat(1).error('"'+n+"\" comparisons are not supported for type '"+Xe(i.type)+"'.");var a=t.parse(e[2],2,Ue);if(!a)return null;if(!An(n,a.type))return t.concat(2).error('"'+n+"\" comparisons are not supported for type '"+Xe(a.type)+"'.");if(i.type.kind!==a.type.kind&&"value"!==i.type.kind&&"value"!==a.type.kind)return t.error("Cannot compare types '"+Xe(i.type)+"' and '"+Xe(a.type)+"'.");r&&("value"===i.type.kind&&"value"!==a.type.kind?i=new pt(a.type,[i]):"value"!==i.type.kind&&"value"===a.type.kind&&(a=new pt(i.type,[a])));var s=null;if(4===e.length){if("string"!==i.type.kind&&"string"!==a.type.kind&&"value"!==i.type.kind&&"value"!==a.type.kind)return t.error("Cannot use collator to compare non-string types.");if(!(s=t.parse(e[3],3,Ze)))return null}return new o(i,a,s)},o.prototype.evaluate=function(o){var i=this.lhs.evaluate(o),a=this.rhs.evaluate(o);if(r&&this.hasUntypedArgument){var s=st(i),l=st(a);if(s.kind!==l.kind||"string"!==s.kind&&"number"!==s.kind)throw new ut('Expected arguments for "'+e+'" to be (string, string) or (number, number), but found ('+s.kind+", "+l.kind+") instead.")}if(this.collator&&!r&&this.hasUntypedArgument){var c=st(i),u=st(a);if("string"!==c.kind||"string"!==u.kind)return t(o,i,a)}return this.collator?n(o,i,a,this.collator.evaluate(o)):t(o,i,a)},o.prototype.eachChild=function(e){e(this.lhs),e(this.rhs),this.collator&&e(this.collator)},o.prototype.outputDefined=function(){return!0},o.prototype.serialize=function(){var t=[e];return this.eachChild((function(e){t.push(e.serialize())})),t},o}()}bn.parse=function(e,t){if(e.length<=2||e.length>=5)return t.error("Expected 3 or 4 arguments, but found "+(e.length-1)+" instead.");var n=t.parse(e[1],1,Ue),r=t.parse(e[2],2,qe);if(!n||!r)return null;if(!Ge(n.type,[Ve(Ue),Pe,Ue]))return t.error("Expected first argument to be of type array or string, but found "+Xe(n.type)+" instead");if(4===e.length){var o=t.parse(e[3],3,qe);return o?new bn(n.type,n,r,o):null}return new bn(n.type,n,r)},bn.prototype.evaluate=function(e){var t=this.input.evaluate(e),n=this.beginIndex.evaluate(e);if(!Ke(t,["string","array"]))throw new ut("Expected first argument to be of type array or string, but found "+Xe(st(t))+" instead.");if(this.endIndex){var r=this.endIndex.evaluate(e);return t.slice(n,r)}return t.slice(n)},bn.prototype.eachChild=function(e){e(this.input),e(this.beginIndex),this.endIndex&&e(this.endIndex)},bn.prototype.outputDefined=function(){return!1},bn.prototype.serialize=function(){if(null!=this.endIndex&&void 0!==this.endIndex){var e=this.endIndex.serialize();return["slice",this.input.serialize(),this.beginIndex.serialize(),e]}return["slice",this.input.serialize(),this.beginIndex.serialize()]};var vn=gn("==",(function(e,t,n){return t===n}),mn),yn=gn("!=",(function(e,t,n){return t!==n}),(function(e,t,n,r){return!mn(0,t,n,r)})),Mn=gn("<",(function(e,t,n){return t<n}),(function(e,t,n,r){return r.compare(t,n)<0})),On=gn(">",(function(e,t,n){return t>n}),(function(e,t,n,r){return r.compare(t,n)>0})),_n=gn("<=",(function(e,t,n){return t<=n}),(function(e,t,n,r){return r.compare(t,n)<=0})),zn=gn(">=",(function(e,t,n){return t>=n}),(function(e,t,n,r){return r.compare(t,n)>=0})),xn=function(e,t,n,r,o){this.type=Pe,this.number=e,this.locale=t,this.currency=n,this.minFractionDigits=r,this.maxFractionDigits=o};xn.parse=function(e,t){if(3!==e.length)return t.error("Expected two arguments.");var n=t.parse(e[1],1,qe);if(!n)return null;var r=e[2];if("object"!=typeof r||Array.isArray(r))return t.error("NumberFormat options argument must be an object.");var o=null;if(r.locale&&!(o=t.parse(r.locale,1,Pe)))return null;var i=null;if(r.currency&&!(i=t.parse(r.currency,1,Pe)))return null;var a=null;if(r["min-fraction-digits"]&&!(a=t.parse(r["min-fraction-digits"],1,qe)))return null;var s=null;return r["max-fraction-digits"]&&!(s=t.parse(r["max-fraction-digits"],1,qe))?null:new xn(n,o,i,a,s)},xn.prototype.evaluate=function(e){return new Intl.NumberFormat(this.locale?this.locale.evaluate(e):[],{style:this.currency?"currency":"decimal",currency:this.currency?this.currency.evaluate(e):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(e):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(e):void 0}).format(this.number.evaluate(e))},xn.prototype.eachChild=function(e){e(this.number),this.locale&&e(this.locale),this.currency&&e(this.currency),this.minFractionDigits&&e(this.minFractionDigits),this.maxFractionDigits&&e(this.maxFractionDigits)},xn.prototype.outputDefined=function(){return!1},xn.prototype.serialize=function(){var e={};return this.locale&&(e.locale=this.locale.serialize()),this.currency&&(e.currency=this.currency.serialize()),this.minFractionDigits&&(e["min-fraction-digits"]=this.minFractionDigits.serialize()),this.maxFractionDigits&&(e["max-fraction-digits"]=this.maxFractionDigits.serialize()),["number-format",this.number.serialize(),e]};var wn=function(e){this.type=qe,this.input=e};wn.parse=function(e,t){if(2!==e.length)return t.error("Expected 1 argument, but found "+(e.length-1)+" instead.");var n=t.parse(e[1],1);return n?"array"!==n.type.kind&&"string"!==n.type.kind&&"value"!==n.type.kind?t.error("Expected argument of type string or array, but found "+Xe(n.type)+" instead."):new wn(n):null},wn.prototype.evaluate=function(e){var t=this.input.evaluate(e);if("string"==typeof t)return t.length;if(Array.isArray(t))return t.length;throw new ut("Expected value to be of type string or array, but found "+Xe(st(t))+" instead.")},wn.prototype.eachChild=function(e){e(this.input)},wn.prototype.outputDefined=function(){return!1},wn.prototype.serialize=function(){var e=["length"];return this.eachChild((function(t){e.push(t.serialize())})),e};var Cn={"==":vn,"!=":yn,">":On,"<":Mn,">=":zn,"<=":_n,array:pt,at:un,boolean:pt,case:hn,coalesce:ln,collator:yt,format:ft,image:ht,in:dn,"index-of":pn,interpolate:an,"interpolate-hcl":an,"interpolate-lab":an,length:wn,let:cn,literal:ct,match:fn,number:pt,"number-format":xn,object:pt,slice:bn,step:Ut,string:pt,"to-boolean":At,"to-color":At,"to-number":At,"to-string":At,var:It,within:Lt};function Sn(e,t){var n=t[0],r=t[1],o=t[2],i=t[3];n=n.evaluate(e),r=r.evaluate(e),o=o.evaluate(e);var a=i?i.evaluate(e):1,s=it(n,r,o,a);if(s)throw new ut(s);return new et(n/255*a,r/255*a,o/255*a,a)}function En(e,t){return e in t}function kn(e,t){var n=t[e];return void 0===n?null:n}function Dn(e){return{type:e}}function Nn(e){return{result:"success",value:e}}function Tn(e){return{result:"error",value:e}}function jn(e){return"data-driven"===e["property-type"]||"cross-faded-data-driven"===e["property-type"]}function Bn(e){return!!e.expression&&e.expression.parameters.indexOf("zoom")>-1}function Ln(e){return!!e.expression&&e.expression.interpolated}function Rn(e){return e instanceof Number?"number":e instanceof String?"string":e instanceof Boolean?"boolean":Array.isArray(e)?"array":null===e?"null":typeof e}function qn(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}function Pn(e){return e}function In(e,t,n){return void 0!==e?e:void 0!==t?t:void 0!==n?n:void 0}function Wn(e,t,n,r,o){return In(typeof n===o?r[n]:void 0,e.default,t.default)}function Fn(e,t,n){if("number"!==Rn(n))return In(e.default,t.default);var r=e.stops.length;if(1===r)return e.stops[0][1];if(n<=e.stops[0][0])return e.stops[0][1];if(n>=e.stops[r-1][0])return e.stops[r-1][1];var o=Ft(e.stops.map((function(e){return e[0]})),n);return e.stops[o][1]}function Un(e,t,n){var r=void 0!==e.base?e.base:1;if("number"!==Rn(n))return In(e.default,t.default);var o=e.stops.length;if(1===o)return e.stops[0][1];if(n<=e.stops[0][0])return e.stops[0][1];if(n>=e.stops[o-1][0])return e.stops[o-1][1];var i=Ft(e.stops.map((function(e){return e[0]})),n),a=function(e,t,n,r){var o=r-n,i=e-n;return 0===o?0:1===t?i/o:(Math.pow(t,i)-1)/(Math.pow(t,o)-1)}(n,r,e.stops[i][0],e.stops[i+1][0]),s=e.stops[i][1],l=e.stops[i+1][1],c=Ht[t.type]||Pn;if(e.colorSpace&&"rgb"!==e.colorSpace){var u=on[e.colorSpace];c=function(e,t){return u.reverse(u.interpolate(u.forward(e),u.forward(t),a))}}return"function"==typeof s.evaluate?{evaluate:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=s.evaluate.apply(void 0,e),r=l.evaluate.apply(void 0,e);if(void 0!==n&&void 0!==r)return c(n,r,a)}}:c(s,l,a)}function Zn(e,t,n){return"color"===t.type?n=et.parse(n):"formatted"===t.type?n=rt.fromString(n.toString()):"resolvedImage"===t.type?n=ot.fromString(n.toString()):Rn(n)===t.type||"enum"===t.type&&t.values[n]||(n=void 0),In(n,e.default,t.default)}vt.register(Cn,{error:[{kind:"error"},[Pe],function(e,t){throw new ut(t[0].evaluate(e))}],typeof:[Pe,[Ue],function(e,t){return Xe(st(t[0].evaluate(e)))}],"to-rgba":[Ve(qe,4),[We],function(e,t){return t[0].evaluate(e).toArray()}],rgb:[We,[qe,qe,qe],Sn],rgba:[We,[qe,qe,qe,qe],Sn],has:{type:Ie,overloads:[[[Pe],function(e,t){return En(t[0].evaluate(e),e.properties())}],[[Pe,Fe],function(e,t){var n=t[1];return En(t[0].evaluate(e),n.evaluate(e))}]]},get:{type:Ue,overloads:[[[Pe],function(e,t){return kn(t[0].evaluate(e),e.properties())}],[[Pe,Fe],function(e,t){var n=t[1];return kn(t[0].evaluate(e),n.evaluate(e))}]]},"feature-state":[Ue,[Pe],function(e,t){return kn(t[0].evaluate(e),e.featureState||{})}],properties:[Fe,[],function(e){return e.properties()}],"geometry-type":[Pe,[],function(e){return e.geometryType()}],id:[Ue,[],function(e){return e.id()}],zoom:[qe,[],function(e){return e.globals.zoom}],"heatmap-density":[qe,[],function(e){return e.globals.heatmapDensity||0}],"line-progress":[qe,[],function(e){return e.globals.lineProgress||0}],accumulated:[Ue,[],function(e){return void 0===e.globals.accumulated?null:e.globals.accumulated}],"+":[qe,Dn(qe),function(e,t){for(var n=0,r=0,o=t;r<o.length;r+=1)n+=o[r].evaluate(e);return n}],"*":[qe,Dn(qe),function(e,t){for(var n=1,r=0,o=t;r<o.length;r+=1)n*=o[r].evaluate(e);return n}],"-":{type:qe,overloads:[[[qe,qe],function(e,t){var n=t[1];return t[0].evaluate(e)-n.evaluate(e)}],[[qe],function(e,t){return-t[0].evaluate(e)}]]},"/":[qe,[qe,qe],function(e,t){var n=t[1];return t[0].evaluate(e)/n.evaluate(e)}],"%":[qe,[qe,qe],function(e,t){var n=t[1];return t[0].evaluate(e)%n.evaluate(e)}],ln2:[qe,[],function(){return Math.LN2}],pi:[qe,[],function(){return Math.PI}],e:[qe,[],function(){return Math.E}],"^":[qe,[qe,qe],function(e,t){var n=t[1];return Math.pow(t[0].evaluate(e),n.evaluate(e))}],sqrt:[qe,[qe],function(e,t){return Math.sqrt(t[0].evaluate(e))}],log10:[qe,[qe],function(e,t){return Math.log(t[0].evaluate(e))/Math.LN10}],ln:[qe,[qe],function(e,t){return Math.log(t[0].evaluate(e))}],log2:[qe,[qe],function(e,t){return Math.log(t[0].evaluate(e))/Math.LN2}],sin:[qe,[qe],function(e,t){return Math.sin(t[0].evaluate(e))}],cos:[qe,[qe],function(e,t){return Math.cos(t[0].evaluate(e))}],tan:[qe,[qe],function(e,t){return Math.tan(t[0].evaluate(e))}],asin:[qe,[qe],function(e,t){return Math.asin(t[0].evaluate(e))}],acos:[qe,[qe],function(e,t){return Math.acos(t[0].evaluate(e))}],atan:[qe,[qe],function(e,t){return Math.atan(t[0].evaluate(e))}],min:[qe,Dn(qe),function(e,t){return Math.min.apply(Math,t.map((function(t){return t.evaluate(e)})))}],max:[qe,Dn(qe),function(e,t){return Math.max.apply(Math,t.map((function(t){return t.evaluate(e)})))}],abs:[qe,[qe],function(e,t){return Math.abs(t[0].evaluate(e))}],round:[qe,[qe],function(e,t){var n=t[0].evaluate(e);return n<0?-Math.round(-n):Math.round(n)}],floor:[qe,[qe],function(e,t){return Math.floor(t[0].evaluate(e))}],ceil:[qe,[qe],function(e,t){return Math.ceil(t[0].evaluate(e))}],"filter-==":[Ie,[Pe,Ue],function(e,t){var n=t[0],r=t[1];return e.properties()[n.value]===r.value}],"filter-id-==":[Ie,[Ue],function(e,t){var n=t[0];return e.id()===n.value}],"filter-type-==":[Ie,[Pe],function(e,t){var n=t[0];return e.geometryType()===n.value}],"filter-<":[Ie,[Pe,Ue],function(e,t){var n=t[0],r=t[1],o=e.properties()[n.value],i=r.value;return typeof o==typeof i&&o<i}],"filter-id-<":[Ie,[Ue],function(e,t){var n=t[0],r=e.id(),o=n.value;return typeof r==typeof o&&r<o}],"filter->":[Ie,[Pe,Ue],function(e,t){var n=t[0],r=t[1],o=e.properties()[n.value],i=r.value;return typeof o==typeof i&&o>i}],"filter-id->":[Ie,[Ue],function(e,t){var n=t[0],r=e.id(),o=n.value;return typeof r==typeof o&&r>o}],"filter-<=":[Ie,[Pe,Ue],function(e,t){var n=t[0],r=t[1],o=e.properties()[n.value],i=r.value;return typeof o==typeof i&&o<=i}],"filter-id-<=":[Ie,[Ue],function(e,t){var n=t[0],r=e.id(),o=n.value;return typeof r==typeof o&&r<=o}],"filter->=":[Ie,[Pe,Ue],function(e,t){var n=t[0],r=t[1],o=e.properties()[n.value],i=r.value;return typeof o==typeof i&&o>=i}],"filter-id->=":[Ie,[Ue],function(e,t){var n=t[0],r=e.id(),o=n.value;return typeof r==typeof o&&r>=o}],"filter-has":[Ie,[Ue],function(e,t){return t[0].value in e.properties()}],"filter-has-id":[Ie,[],function(e){return null!==e.id()&&void 0!==e.id()}],"filter-type-in":[Ie,[Ve(Pe)],function(e,t){return t[0].value.indexOf(e.geometryType())>=0}],"filter-id-in":[Ie,[Ve(Ue)],function(e,t){return t[0].value.indexOf(e.id())>=0}],"filter-in-small":[Ie,[Pe,Ve(Ue)],function(e,t){var n=t[0];return t[1].value.indexOf(e.properties()[n.value])>=0}],"filter-in-large":[Ie,[Pe,Ve(Ue)],function(e,t){var n=t[0],r=t[1];return function(e,t,n,r){for(;n<=r;){var o=n+r>>1;if(t[o]===e)return!0;t[o]>e?r=o-1:n=o+1}return!1}(e.properties()[n.value],r.value,0,r.value.length-1)}],all:{type:Ie,overloads:[[[Ie,Ie],function(e,t){var n=t[1];return t[0].evaluate(e)&&n.evaluate(e)}],[Dn(Ie),function(e,t){for(var n=0,r=t;n<r.length;n+=1)if(!r[n].evaluate(e))return!1;return!0}]]},any:{type:Ie,overloads:[[[Ie,Ie],function(e,t){var n=t[1];return t[0].evaluate(e)||n.evaluate(e)}],[Dn(Ie),function(e,t){for(var n=0,r=t;n<r.length;n+=1)if(r[n].evaluate(e))return!0;return!1}]]},"!":[Ie,[Ie],function(e,t){return!t[0].evaluate(e)}],"is-supported-script":[Ie,[Pe],function(e,t){var n=e.globals&&e.globals.isSupportedScript;return!n||n(t[0].evaluate(e))}],upcase:[Pe,[Pe],function(e,t){return t[0].evaluate(e).toUpperCase()}],downcase:[Pe,[Pe],function(e,t){return t[0].evaluate(e).toLowerCase()}],concat:[Pe,Dn(Ue),function(e,t){return t.map((function(t){return lt(t.evaluate(e))})).join("")}],"resolved-locale":[Pe,[Ze],function(e,t){return t[0].evaluate(e).resolvedLocale()}]});var Hn=function(e,t){this.expression=e,this._warningHistory={},this._evaluator=new gt,this._defaultValue=t?function(e){return"color"===e.type&&qn(e.default)?new et(0,0,0,0):"color"===e.type?et.parse(e.default)||null:void 0===e.default?null:e.default}(t):null,this._enumValues=t&&"enum"===t.type?t.values:null};function $n(e){return Array.isArray(e)&&e.length>0&&"string"==typeof e[0]&&e[0]in Cn}function Vn(e,t){var n=new Wt(Cn,[],t?function(e){var t={color:We,string:Pe,number:qe,enum:Pe,boolean:Ie,formatted:He,resolvedImage:$e};return"array"===e.type?Ve(t[e.value]||Ue,e.length):t[e.type]}(t):void 0),r=n.parse(e,void 0,void 0,void 0,t&&"string"===t.type?{typeAnnotation:"coerce"}:void 0);return r?Nn(new Hn(r,t)):Tn(n.errors)}Hn.prototype.evaluateWithoutErrorHandling=function(e,t,n,r,o,i){return this._evaluator.globals=e,this._evaluator.feature=t,this._evaluator.featureState=n,this._evaluator.canonical=r,this._evaluator.availableImages=o||null,this._evaluator.formattedSection=i,this.expression.evaluate(this._evaluator)},Hn.prototype.evaluate=function(e,t,n,r,o,i){this._evaluator.globals=e,this._evaluator.feature=t||null,this._evaluator.featureState=n||null,this._evaluator.canonical=r,this._evaluator.availableImages=o||null,this._evaluator.formattedSection=i||null;try{var a=this.expression.evaluate(this._evaluator);if(null==a||"number"==typeof a&&a!=a)return this._defaultValue;if(this._enumValues&&!(a in this._enumValues))throw new ut("Expected value to be one of "+Object.keys(this._enumValues).map((function(e){return JSON.stringify(e)})).join(", ")+", but found "+JSON.stringify(a)+" instead.");return a}catch(e){return this._warningHistory[e.message]||(this._warningHistory[e.message]=!0,"undefined"!=typeof console&&console.warn(e.message)),this._defaultValue}};var Xn=function(e,t){this.kind=e,this._styleExpression=t,this.isStateDependent="constant"!==e&&!qt(t.expression)};Xn.prototype.evaluateWithoutErrorHandling=function(e,t,n,r,o,i){return this._styleExpression.evaluateWithoutErrorHandling(e,t,n,r,o,i)},Xn.prototype.evaluate=function(e,t,n,r,o,i){return this._styleExpression.evaluate(e,t,n,r,o,i)};var Qn=function(e,t,n,r){this.kind=e,this.zoomStops=n,this._styleExpression=t,this.isStateDependent="camera"!==e&&!qt(t.expression),this.interpolationType=r};function Yn(e,t){if("error"===(e=Vn(e,t)).result)return e;var n=e.value.expression,r=Rt(n);if(!r&&!jn(t))return Tn([new Be("","data expressions not supported")]);var o=Pt(n,["zoom"]);if(!o&&!Bn(t))return Tn([new Be("","zoom expressions not supported")]);var i=function e(t){var n=null;if(t instanceof cn)n=e(t.result);else if(t instanceof ln)for(var r=0,o=t.args;r<o.length&&!(n=e(o[r]));r+=1);else(t instanceof Ut||t instanceof an)&&t.input instanceof vt&&"zoom"===t.input.name&&(n=t);return n instanceof Be||t.eachChild((function(t){var r=e(t);r instanceof Be?n=r:!n&&r?n=new Be("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.'):n&&r&&n!==r&&(n=new Be("",'Only one zoom-based "step" or "interpolate" subexpression may be used in an expression.'))})),n}(n);return i||o?i instanceof Be?Tn([i]):i instanceof an&&!Ln(t)?Tn([new Be("",'"interpolate" expressions cannot be used with this property')]):Nn(i?new Qn(r?"camera":"composite",e.value,i.labels,i instanceof an?i.interpolation:void 0):new Xn(r?"constant":"source",e.value)):Tn([new Be("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')])}Qn.prototype.evaluateWithoutErrorHandling=function(e,t,n,r,o,i){return this._styleExpression.evaluateWithoutErrorHandling(e,t,n,r,o,i)},Qn.prototype.evaluate=function(e,t,n,r,o,i){return this._styleExpression.evaluate(e,t,n,r,o,i)},Qn.prototype.interpolationFactor=function(e,t,n){return this.interpolationType?an.interpolationFactor(this.interpolationType,e,t,n):0};var Gn=function(e,t){this._parameters=e,this._specification=t,Ne(this,function e(t,n){var r,o,i,a="color"===n.type,s=t.stops&&"object"==typeof t.stops[0][0],l=s||!(s||void 0!==t.property),c=t.type||(Ln(n)?"exponential":"interval");if(a&&((t=Ne({},t)).stops&&(t.stops=t.stops.map((function(e){return[e[0],et.parse(e[1])]}))),t.default=et.parse(t.default?t.default:n.default)),t.colorSpace&&"rgb"!==t.colorSpace&&!on[t.colorSpace])throw new Error("Unknown color space: "+t.colorSpace);if("exponential"===c)r=Un;else if("interval"===c)r=Fn;else if("categorical"===c){r=Wn,o=Object.create(null);for(var u=0,d=t.stops;u<d.length;u+=1){var p=d[u];o[p[0]]=p[1]}i=typeof t.stops[0][0]}else{if("identity"!==c)throw new Error('Unknown function type "'+c+'"');r=Zn}if(s){for(var f={},h=[],b=0;b<t.stops.length;b++){var A=t.stops[b],m=A[0].zoom;void 0===f[m]&&(f[m]={zoom:m,type:t.type,property:t.property,default:t.default,stops:[]},h.push(m)),f[m].stops.push([A[0].value,A[1]])}for(var g=[],v=0,y=h;v<y.length;v+=1){var M=y[v];g.push([f[M].zoom,e(f[M],n)])}var O={name:"linear"};return{kind:"composite",interpolationType:O,interpolationFactor:an.interpolationFactor.bind(void 0,O),zoomStops:g.map((function(e){return e[0]})),evaluate:function(e,r){var o=e.zoom;return Un({stops:g,base:t.base},n,o).evaluate(o,r)}}}if(l){var _="exponential"===c?{name:"exponential",base:void 0!==t.base?t.base:1}:null;return{kind:"camera",interpolationType:_,interpolationFactor:an.interpolationFactor.bind(void 0,_),zoomStops:t.stops.map((function(e){return e[0]})),evaluate:function(e){return r(t,n,e.zoom,o,i)}}}return{kind:"source",evaluate:function(e,a){var s=a&&a.properties?a.properties[t.property]:void 0;return void 0===s?In(t.default,n.default):r(t,n,s,o,i)}}}(this._parameters,this._specification))};function Kn(e){var t=e.key,n=e.value,r=e.valueSpec||{},o=e.objectElementValidators||{},i=e.style,a=e.styleSpec,s=[],l=Rn(n);if("object"!==l)return[new ke(t,n,"object expected, "+l+" found")];for(var c in n){var u=c.split(".")[0],d=r[u]||r["*"],p=void 0;if(o[u])p=o[u];else if(r[u])p=_r;else if(o["*"])p=o["*"];else{if(!r["*"]){s.push(new ke(t,n[c],'unknown property "'+c+'"'));continue}p=_r}s=s.concat(p({key:(t?t+".":t)+c,value:n[c],valueSpec:d,style:i,styleSpec:a,object:n,objectKey:c},n))}for(var f in r)o[f]||r[f].required&&void 0===r[f].default&&void 0===n[f]&&s.push(new ke(t,n,'missing required property "'+f+'"'));return s}function Jn(e){var t=e.value,n=e.valueSpec,r=e.style,o=e.styleSpec,i=e.key,a=e.arrayElementValidator||_r;if("array"!==Rn(t))return[new ke(i,t,"array expected, "+Rn(t)+" found")];if(n.length&&t.length!==n.length)return[new ke(i,t,"array length "+n.length+" expected, length "+t.length+" found")];if(n["min-length"]&&t.length<n["min-length"])return[new ke(i,t,"array length at least "+n["min-length"]+" expected, length "+t.length+" found")];var s={type:n.value,values:n.values};o.$version<7&&(s.function=n.function),"object"===Rn(n.value)&&(s=n.value);for(var l=[],c=0;c<t.length;c++)l=l.concat(a({array:t,arrayIndex:c,value:t[c],valueSpec:s,style:r,styleSpec:o,key:i+"["+c+"]"}));return l}function er(e){var t=e.key,n=e.value,r=e.valueSpec,o=Rn(n);return"number"===o&&n!=n&&(o="NaN"),"number"!==o?[new ke(t,n,"number expected, "+o+" found")]:"minimum"in r&&n<r.minimum?[new ke(t,n,n+" is less than the minimum value "+r.minimum)]:"maximum"in r&&n>r.maximum?[new ke(t,n,n+" is greater than the maximum value "+r.maximum)]:[]}function tr(e){var t,n,r,o=e.valueSpec,i=Te(e.value.type),a={},s="categorical"!==i&&void 0===e.value.property,l=!s,c="array"===Rn(e.value.stops)&&"array"===Rn(e.value.stops[0])&&"object"===Rn(e.value.stops[0][0]),u=Kn({key:e.key,value:e.value,valueSpec:e.styleSpec.function,style:e.style,styleSpec:e.styleSpec,objectElementValidators:{stops:function(e){if("identity"===i)return[new ke(e.key,e.value,'identity function may not have a "stops" property')];var t=[],n=e.value;return t=t.concat(Jn({key:e.key,value:n,valueSpec:e.valueSpec,style:e.style,styleSpec:e.styleSpec,arrayElementValidator:d})),"array"===Rn(n)&&0===n.length&&t.push(new ke(e.key,n,"array must have at least one stop")),t},default:function(e){return _r({key:e.key,value:e.value,valueSpec:o,style:e.style,styleSpec:e.styleSpec})}}});return"identity"===i&&s&&u.push(new ke(e.key,e.value,'missing required property "property"')),"identity"===i||e.value.stops||u.push(new ke(e.key,e.value,'missing required property "stops"')),"exponential"===i&&e.valueSpec.expression&&!Ln(e.valueSpec)&&u.push(new ke(e.key,e.value,"exponential functions not supported")),e.styleSpec.$version>=8&&(l&&!jn(e.valueSpec)?u.push(new ke(e.key,e.value,"property functions not supported")):s&&!Bn(e.valueSpec)&&u.push(new ke(e.key,e.value,"zoom functions not supported"))),"categorical"!==i&&!c||void 0!==e.value.property||u.push(new ke(e.key,e.value,'"property" property is required')),u;function d(e){var t=[],i=e.value,s=e.key;if("array"!==Rn(i))return[new ke(s,i,"array expected, "+Rn(i)+" found")];if(2!==i.length)return[new ke(s,i,"array length 2 expected, length "+i.length+" found")];if(c){if("object"!==Rn(i[0]))return[new ke(s,i,"object expected, "+Rn(i[0])+" found")];if(void 0===i[0].zoom)return[new ke(s,i,"object stop key must have zoom")];if(void 0===i[0].value)return[new ke(s,i,"object stop key must have value")];if(r&&r>Te(i[0].zoom))return[new ke(s,i[0].zoom,"stop zoom values must appear in ascending order")];Te(i[0].zoom)!==r&&(r=Te(i[0].zoom),n=void 0,a={}),t=t.concat(Kn({key:s+"[0]",value:i[0],valueSpec:{zoom:{}},style:e.style,styleSpec:e.styleSpec,objectElementValidators:{zoom:er,value:p}}))}else t=t.concat(p({key:s+"[0]",value:i[0],valueSpec:{},style:e.style,styleSpec:e.styleSpec},i));return $n(je(i[1]))?t.concat([new ke(s+"[1]",i[1],"expressions are not allowed in function stops.")]):t.concat(_r({key:s+"[1]",value:i[1],valueSpec:o,style:e.style,styleSpec:e.styleSpec}))}function p(e,r){var s=Rn(e.value),l=Te(e.value),c=null!==e.value?e.value:r;if(t){if(s!==t)return[new ke(e.key,c,s+" stop domain type must match previous stop domain type "+t)]}else t=s;if("number"!==s&&"string"!==s&&"boolean"!==s)return[new ke(e.key,c,"stop domain value must be a number, string, or boolean")];if("number"!==s&&"categorical"!==i){var u="number expected, "+s+" found";return jn(o)&&void 0===i&&(u+='\nIf you intended to use a categorical function, specify `"type": "categorical"`.'),[new ke(e.key,c,u)]}return"categorical"!==i||"number"!==s||isFinite(l)&&Math.floor(l)===l?"categorical"!==i&&"number"===s&&void 0!==n&&l<n?[new ke(e.key,c,"stop domain values must appear in ascending order")]:(n=l,"categorical"===i&&l in a?[new ke(e.key,c,"stop domain values must be unique")]:(a[l]=!0,[])):[new ke(e.key,c,"integer expected, found "+l)]}}function nr(e){var t=("property"===e.expressionContext?Yn:Vn)(je(e.value),e.valueSpec);if("error"===t.result)return t.value.map((function(t){return new ke(""+e.key+t.key,e.value,t.message)}));var n=t.value.expression||t.value._styleExpression.expression;if("property"===e.expressionContext&&"text-font"===e.propertyKey&&!n.outputDefined())return[new ke(e.key,e.value,'Invalid data expression for "'+e.propertyKey+'". Output values must be contained as literals within the expression.')];if("property"===e.expressionContext&&"layout"===e.propertyType&&!qt(n))return[new ke(e.key,e.value,'"feature-state" data expressions are not supported with layout properties.')];if("filter"===e.expressionContext&&!qt(n))return[new ke(e.key,e.value,'"feature-state" data expressions are not supported with filters.')];if(e.expressionContext&&0===e.expressionContext.indexOf("cluster")){if(!Pt(n,["zoom","feature-state"]))return[new ke(e.key,e.value,'"zoom" and "feature-state" expressions are not supported with cluster properties.')];if("cluster-initial"===e.expressionContext&&!Rt(n))return[new ke(e.key,e.value,"Feature data expressions are not supported with initial expression part of cluster properties.")]}return[]}function rr(e){var t=e.key,n=e.value,r=e.valueSpec,o=[];return Array.isArray(r.values)?-1===r.values.indexOf(Te(n))&&o.push(new ke(t,n,"expected one of ["+r.values.join(", ")+"], "+JSON.stringify(n)+" found")):-1===Object.keys(r.values).indexOf(Te(n))&&o.push(new ke(t,n,"expected one of ["+Object.keys(r.values).join(", ")+"], "+JSON.stringify(n)+" found")),o}function or(e){if(!0===e||!1===e)return!0;if(!Array.isArray(e)||0===e.length)return!1;switch(e[0]){case"has":return e.length>=2&&"$id"!==e[1]&&"$type"!==e[1];case"in":return e.length>=3&&("string"!=typeof e[1]||Array.isArray(e[2]));case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return 3!==e.length||Array.isArray(e[1])||Array.isArray(e[2]);case"any":case"all":for(var t=0,n=e.slice(1);t<n.length;t+=1){var r=n[t];if(!or(r)&&"boolean"!=typeof r)return!1}return!0;default:return!0}}Gn.deserialize=function(e){return new Gn(e._parameters,e._specification)},Gn.serialize=function(e){return{_parameters:e._parameters,_specification:e._specification}};var ir={type:"boolean",default:!1,transition:!1,"property-type":"data-driven",expression:{interpolated:!1,parameters:["zoom","feature"]}};function ar(e){if(null==e)return{filter:function(){return!0},needGeometry:!1};or(e)||(e=lr(e));var t=Vn(e,ir);if("error"===t.result)throw new Error(t.value.map((function(e){return e.key+": "+e.message})).join(", "));return{filter:function(e,n,r){return t.value.evaluate(e,n,{},r)},needGeometry:function e(t){if(!Array.isArray(t))return!1;if("within"===t[0])return!0;for(var n=1;n<t.length;n++)if(e(t[n]))return!0;return!1}(e)}}function sr(e,t){return e<t?-1:e>t?1:0}function lr(e){if(!e)return!0;var t,n=e[0];return e.length<=1?"any"!==n:"=="===n?cr(e[1],e[2],"=="):"!="===n?pr(cr(e[1],e[2],"==")):"<"===n||">"===n||"<="===n||">="===n?cr(e[1],e[2],n):"any"===n?(t=e.slice(1),["any"].concat(t.map(lr))):"all"===n?["all"].concat(e.slice(1).map(lr)):"none"===n?["all"].concat(e.slice(1).map(lr).map(pr)):"in"===n?ur(e[1],e.slice(2)):"!in"===n?pr(ur(e[1],e.slice(2))):"has"===n?dr(e[1]):"!has"===n?pr(dr(e[1])):"within"!==n||e}function cr(e,t,n){switch(e){case"$type":return["filter-type-"+n,t];case"$id":return["filter-id-"+n,t];default:return["filter-"+n,e,t]}}function ur(e,t){if(0===t.length)return!1;switch(e){case"$type":return["filter-type-in",["literal",t]];case"$id":return["filter-id-in",["literal",t]];default:return t.length>200&&!t.some((function(e){return typeof e!=typeof t[0]}))?["filter-in-large",e,["literal",t.sort(sr)]]:["filter-in-small",e,["literal",t]]}}function dr(e){switch(e){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",e]}}function pr(e){return["!",e]}function fr(e){return or(je(e.value))?nr(Ne({},e,{expressionContext:"filter",valueSpec:{value:"boolean"}})):function e(t){var n=t.value,r=t.key;if("array"!==Rn(n))return[new ke(r,n,"array expected, "+Rn(n)+" found")];var o,i=t.styleSpec,a=[];if(n.length<1)return[new ke(r,n,"filter array must have at least 1 element")];switch(a=a.concat(rr({key:r+"[0]",value:n[0],valueSpec:i.filter_operator,style:t.style,styleSpec:t.styleSpec})),Te(n[0])){case"<":case"<=":case">":case">=":n.length>=2&&"$type"===Te(n[1])&&a.push(new ke(r,n,'"$type" cannot be use with operator "'+n[0]+'"'));case"==":case"!=":3!==n.length&&a.push(new ke(r,n,'filter array for operator "'+n[0]+'" must have 3 elements'));case"in":case"!in":n.length>=2&&"string"!==(o=Rn(n[1]))&&a.push(new ke(r+"[1]",n[1],"string expected, "+o+" found"));for(var s=2;s<n.length;s++)o=Rn(n[s]),"$type"===Te(n[1])?a=a.concat(rr({key:r+"["+s+"]",value:n[s],valueSpec:i.geometry_type,style:t.style,styleSpec:t.styleSpec})):"string"!==o&&"number"!==o&&"boolean"!==o&&a.push(new ke(r+"["+s+"]",n[s],"string, number, or boolean expected, "+o+" found"));break;case"any":case"all":case"none":for(var l=1;l<n.length;l++)a=a.concat(e({key:r+"["+l+"]",value:n[l],style:t.style,styleSpec:t.styleSpec}));break;case"has":case"!has":o=Rn(n[1]),2!==n.length?a.push(new ke(r,n,'filter array for "'+n[0]+'" operator must have 2 elements')):"string"!==o&&a.push(new ke(r+"[1]",n[1],"string expected, "+o+" found"));break;case"within":o=Rn(n[1]),2!==n.length?a.push(new ke(r,n,'filter array for "'+n[0]+'" operator must have 2 elements')):"object"!==o&&a.push(new ke(r+"[1]",n[1],"object expected, "+o+" found"))}return a}(e)}function hr(e,t){var n=e.key,r=e.style,o=e.styleSpec,i=e.value,a=e.objectKey,s=o[t+"_"+e.layerType];if(!s)return[];var l=a.match(/^(.*)-transition$/);if("paint"===t&&l&&s[l[1]]&&s[l[1]].transition)return _r({key:n,value:i,valueSpec:o.transition,style:r,styleSpec:o});var c,u=e.valueSpec||s[a];if(!u)return[new ke(n,i,'unknown property "'+a+'"')];if("string"===Rn(i)&&jn(u)&&!u.tokens&&(c=/^{([^}]+)}$/.exec(i)))return[new ke(n,i,'"'+a+'" does not support interpolation syntax\nUse an identity property function instead: `{ "type": "identity", "property": '+JSON.stringify(c[1])+" }`.")];var d=[];return"symbol"===e.layerType&&("text-field"===a&&r&&!r.glyphs&&d.push(new ke(n,i,'use of "text-field" requires a style "glyphs" property')),"text-font"===a&&qn(je(i))&&"identity"===Te(i.type)&&d.push(new ke(n,i,'"text-font" does not support identity functions'))),d.concat(_r({key:e.key,value:i,valueSpec:u,style:r,styleSpec:o,expressionContext:"property",propertyType:t,propertyKey:a}))}function br(e){return hr(e,"paint")}function Ar(e){return hr(e,"layout")}function mr(e){var t=[],n=e.value,r=e.key,o=e.style,i=e.styleSpec;n.type||n.ref||t.push(new ke(r,n,'either "type" or "ref" is required'));var a,s=Te(n.type),l=Te(n.ref);if(n.id)for(var c=Te(n.id),u=0;u<e.arrayIndex;u++){var d=o.layers[u];Te(d.id)===c&&t.push(new ke(r,n.id,'duplicate layer id "'+n.id+'", previously used at line '+d.id.__line__))}if("ref"in n)["type","source","source-layer","filter","layout"].forEach((function(e){e in n&&t.push(new ke(r,n[e],'"'+e+'" is prohibited for ref layers'))})),o.layers.forEach((function(e){Te(e.id)===l&&(a=e)})),a?a.ref?t.push(new ke(r,n.ref,"ref cannot reference another ref layer")):s=Te(a.type):t.push(new ke(r,n.ref,'ref layer "'+l+'" not found'));else if("background"!==s)if(n.source){var p=o.sources&&o.sources[n.source],f=p&&Te(p.type);p?"vector"===f&&"raster"===s?t.push(new ke(r,n.source,'layer "'+n.id+'" requires a raster source')):"raster"===f&&"raster"!==s?t.push(new ke(r,n.source,'layer "'+n.id+'" requires a vector source')):"vector"!==f||n["source-layer"]?"raster-dem"===f&&"hillshade"!==s?t.push(new ke(r,n.source,"raster-dem source can only be used with layer type 'hillshade'.")):"line"!==s||!n.paint||!n.paint["line-gradient"]||"geojson"===f&&p.lineMetrics||t.push(new ke(r,n,'layer "'+n.id+'" specifies a line-gradient, which requires a GeoJSON source with `lineMetrics` enabled.')):t.push(new ke(r,n,'layer "'+n.id+'" must specify a "source-layer"')):t.push(new ke(r,n.source,'source "'+n.source+'" not found'))}else t.push(new ke(r,n,'missing required property "source"'));return t=t.concat(Kn({key:r,value:n,valueSpec:i.layer,style:e.style,styleSpec:e.styleSpec,objectElementValidators:{"*":function(){return[]},type:function(){return _r({key:r+".type",value:n.type,valueSpec:i.layer.type,style:e.style,styleSpec:e.styleSpec,object:n,objectKey:"type"})},filter:fr,layout:function(e){return Kn({layer:n,key:e.key,value:e.value,style:e.style,styleSpec:e.styleSpec,objectElementValidators:{"*":function(e){return Ar(Ne({layerType:s},e))}}})},paint:function(e){return Kn({layer:n,key:e.key,value:e.value,style:e.style,styleSpec:e.styleSpec,objectElementValidators:{"*":function(e){return br(Ne({layerType:s},e))}}})}}}))}function gr(e){var t=e.value,n=e.key,r=Rn(t);return"string"!==r?[new ke(n,t,"string expected, "+r+" found")]:[]}var vr={promoteId:function(e){var t=e.key,n=e.value;if("string"===Rn(n))return gr({key:t,value:n});var r=[];for(var o in n)r.push.apply(r,gr({key:t+"."+o,value:n[o]}));return r}};function yr(e){var t=e.value,n=e.key,r=e.styleSpec,o=e.style;if(!t.type)return[new ke(n,t,'"type" is required')];var i,a=Te(t.type);switch(a){case"vector":case"raster":case"raster-dem":return Kn({key:n,value:t,valueSpec:r["source_"+a.replace("-","_")],style:e.style,styleSpec:r,objectElementValidators:vr});case"geojson":if(i=Kn({key:n,value:t,valueSpec:r.source_geojson,style:o,styleSpec:r,objectElementValidators:vr}),t.cluster)for(var s in t.clusterProperties){var l=t.clusterProperties[s],c=l[0],u="string"==typeof c?[c,["accumulated"],["get",s]]:c;i.push.apply(i,nr({key:n+"."+s+".map",value:l[1],expressionContext:"cluster-map"})),i.push.apply(i,nr({key:n+"."+s+".reduce",value:u,expressionContext:"cluster-reduce"}))}return i;case"video":return Kn({key:n,value:t,valueSpec:r.source_video,style:o,styleSpec:r});case"image":return Kn({key:n,value:t,valueSpec:r.source_image,style:o,styleSpec:r});case"canvas":return[new ke(n,null,"Please use runtime APIs to add canvas sources, rather than including them in stylesheets.","source.canvas")];default:return rr({key:n+".type",value:t.type,valueSpec:{values:["vector","raster","raster-dem","geojson","video","image"]},style:o,styleSpec:r})}}function Mr(e){var t=e.value,n=e.styleSpec,r=n.light,o=e.style,i=[],a=Rn(t);if(void 0===t)return i;if("object"!==a)return i.concat([new ke("light",t,"object expected, "+a+" found")]);for(var s in t){var l=s.match(/^(.*)-transition$/);i=i.concat(l&&r[l[1]]&&r[l[1]].transition?_r({key:s,value:t[s],valueSpec:n.transition,style:o,styleSpec:n}):r[s]?_r({key:s,value:t[s],valueSpec:r[s],style:o,styleSpec:n}):[new ke(s,t[s],'unknown property "'+s+'"')])}return i}var Or={"*":function(){return[]},array:Jn,boolean:function(e){var t=e.value,n=e.key,r=Rn(t);return"boolean"!==r?[new ke(n,t,"boolean expected, "+r+" found")]:[]},number:er,color:function(e){var t=e.key,n=e.value,r=Rn(n);return"string"!==r?[new ke(t,n,"color expected, "+r+" found")]:null===Je(n)?[new ke(t,n,'color expected, "'+n+'" found')]:[]},constants:De,enum:rr,filter:fr,function:tr,layer:mr,object:Kn,source:yr,light:Mr,string:gr,formatted:function(e){return 0===gr(e).length?[]:nr(e)},resolvedImage:function(e){return 0===gr(e).length?[]:nr(e)}};function _r(e){var t=e.value,n=e.valueSpec,r=e.styleSpec;return n.expression&&qn(Te(t))?tr(e):n.expression&&$n(je(t))?nr(e):n.type&&Or[n.type]?Or[n.type](e):Kn(Ne({},e,{valueSpec:n.type?r[n.type]:n}))}function zr(e){var t=e.value,n=e.key,r=gr(e);return r.length||(-1===t.indexOf("{fontstack}")&&r.push(new ke(n,t,'"glyphs" url must include a "{fontstack}" token')),-1===t.indexOf("{range}")&&r.push(new ke(n,t,'"glyphs" url must include a "{range}" token'))),r}function xr(e,t){void 0===t&&(t=Ee);var n=[];return n=n.concat(_r({key:"",value:e,valueSpec:t.$root,styleSpec:t,style:e,objectElementValidators:{glyphs:zr,"*":function(){return[]}}})),e.constants&&(n=n.concat(De({key:"constants",value:e.constants,style:e,styleSpec:t}))),wr(n)}function wr(e){return[].concat(e).sort((function(e,t){return e.line-t.line}))}function Cr(e){return function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return wr(e.apply(this,t))}}xr.source=Cr(yr),xr.light=Cr(Mr),xr.layer=Cr(mr),xr.filter=Cr(fr),xr.paintProperty=Cr(br),xr.layoutProperty=Cr(Ar);var Sr=xr,Er=Sr.light,kr=Sr.paintProperty,Dr=Sr.layoutProperty;function Nr(e,t){var n=!1;if(t&&t.length)for(var r=0,o=t;r<o.length;r+=1)e.fire(new Ce(new Error(o[r].message))),n=!0;return n}var Tr=jr;function jr(e,t,n){var r=this.cells=[];if(e instanceof ArrayBuffer){this.arrayBuffer=e;var o=new Int32Array(this.arrayBuffer);e=o[0],this.d=(t=o[1])+2*(n=o[2]);for(var i=0;i<this.d*this.d;i++){var a=o[3+i],s=o[3+i+1];r.push(a===s?null:o.subarray(a,s))}var l=o[3+r.length+1];this.keys=o.subarray(o[3+r.length],l),this.bboxes=o.subarray(l),this.insert=this._insertReadonly}else{this.d=t+2*n;for(var c=0;c<this.d*this.d;c++)r.push([]);this.keys=[],this.bboxes=[]}this.n=t,this.extent=e,this.padding=n,this.scale=t/e,this.uid=0;var u=n/t*e;this.min=-u,this.max=e+u}jr.prototype.insert=function(e,t,n,r,o){this._forEachCell(t,n,r,o,this._insertCell,this.uid++),this.keys.push(e),this.bboxes.push(t),this.bboxes.push(n),this.bboxes.push(r),this.bboxes.push(o)},jr.prototype._insertReadonly=function(){throw"Cannot insert into a GridIndex created from an ArrayBuffer."},jr.prototype._insertCell=function(e,t,n,r,o,i){this.cells[o].push(i)},jr.prototype.query=function(e,t,n,r,o){var i=this.min,a=this.max;if(e<=i&&t<=i&&a<=n&&a<=r&&!o)return Array.prototype.slice.call(this.keys);var s=[];return this._forEachCell(e,t,n,r,this._queryCell,s,{},o),s},jr.prototype._queryCell=function(e,t,n,r,o,i,a,s){var l=this.cells[o];if(null!==l)for(var c=this.keys,u=this.bboxes,d=0;d<l.length;d++){var p=l[d];if(void 0===a[p]){var f=4*p;(s?s(u[f+0],u[f+1],u[f+2],u[f+3]):e<=u[f+2]&&t<=u[f+3]&&n>=u[f+0]&&r>=u[f+1])?(a[p]=!0,i.push(c[p])):a[p]=!1}}},jr.prototype._forEachCell=function(e,t,n,r,o,i,a,s){for(var l=this._convertToCellCoord(e),c=this._convertToCellCoord(t),u=this._convertToCellCoord(n),d=this._convertToCellCoord(r),p=l;p<=u;p++)for(var f=c;f<=d;f++){var h=this.d*f+p;if((!s||s(this._convertFromCellCoord(p),this._convertFromCellCoord(f),this._convertFromCellCoord(p+1),this._convertFromCellCoord(f+1)))&&o.call(this,e,t,n,r,h,i,a,s))return}},jr.prototype._convertFromCellCoord=function(e){return(e-this.padding)/this.scale},jr.prototype._convertToCellCoord=function(e){return Math.max(0,Math.min(this.d-1,Math.floor(e*this.scale)+this.padding))},jr.prototype.toArrayBuffer=function(){if(this.arrayBuffer)return this.arrayBuffer;for(var e=this.cells,t=3+this.cells.length+1+1,n=0,r=0;r<this.cells.length;r++)n+=this.cells[r].length;var o=new Int32Array(t+n+this.keys.length+this.bboxes.length);o[0]=this.extent,o[1]=this.n,o[2]=this.padding;for(var i=t,a=0;a<e.length;a++){var s=e[a];o[3+a]=i,o.set(s,i),i+=s.length}return o[3+e.length]=i,o.set(this.keys,i),o[3+e.length+1]=i+=this.keys.length,o.set(this.bboxes,i),i+=this.bboxes.length,o.buffer};var Br=a.ImageData,Lr=a.ImageBitmap,Rr={};function qr(e,t,n){void 0===n&&(n={}),Object.defineProperty(t,"_classRegistryKey",{value:e,writeable:!1}),Rr[e]={klass:t,omit:n.omit||[],shallow:n.shallow||[]}}for(var Pr in qr("Object",Object),Tr.serialize=function(e,t){var n=e.toArrayBuffer();return t&&t.push(n),{buffer:n}},Tr.deserialize=function(e){return new Tr(e.buffer)},qr("Grid",Tr),qr("Color",et),qr("Error",Error),qr("ResolvedImage",ot),qr("StylePropertyFunction",Gn),qr("StyleExpression",Hn,{omit:["_evaluator"]}),qr("ZoomDependentExpression",Qn),qr("ZoomConstantExpression",Xn),qr("CompoundExpression",vt,{omit:["_evaluate"]}),Cn)Cn[Pr]._classRegistryKey||qr("Expression_"+Pr,Cn[Pr]);function Ir(e){return e&&"undefined"!=typeof ArrayBuffer&&(e instanceof ArrayBuffer||e.constructor&&"ArrayBuffer"===e.constructor.name)}function Wr(e){return Lr&&e instanceof Lr}function Fr(e,t){if(null==e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||e instanceof Boolean||e instanceof Number||e instanceof String||e instanceof Date||e instanceof RegExp)return e;if(Ir(e)||Wr(e))return t&&t.push(e),e;if(ArrayBuffer.isView(e)){var n=e;return t&&t.push(n.buffer),n}if(e instanceof Br)return t&&t.push(e.data.buffer),e;if(Array.isArray(e)){for(var r=[],o=0,i=e;o<i.length;o+=1)r.push(Fr(i[o],t));return r}if("object"==typeof e){var a=e.constructor,s=a._classRegistryKey;if(!s)throw new Error("can't serialize object of unregistered class");var l=a.serialize?a.serialize(e,t):{};if(!a.serialize){for(var c in e)if(e.hasOwnProperty(c)&&!(Rr[s].omit.indexOf(c)>=0)){var u=e[c];l[c]=Rr[s].shallow.indexOf(c)>=0?u:Fr(u,t)}e instanceof Error&&(l.message=e.message)}if(l.$name)throw new Error("$name property is reserved for worker serialization logic.");return"Object"!==s&&(l.$name=s),l}throw new Error("can't serialize object of type "+typeof e)}function Ur(e){if(null==e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||e instanceof Boolean||e instanceof Number||e instanceof String||e instanceof Date||e instanceof RegExp||Ir(e)||Wr(e)||ArrayBuffer.isView(e)||e instanceof Br)return e;if(Array.isArray(e))return e.map(Ur);if("object"==typeof e){var t=e.$name||"Object",n=Rr[t].klass;if(!n)throw new Error("can't deserialize unregistered class "+t);if(n.deserialize)return n.deserialize(e);for(var r=Object.create(n.prototype),o=0,i=Object.keys(e);o<i.length;o+=1){var a=i[o];if("$name"!==a){var s=e[a];r[a]=Rr[t].shallow.indexOf(a)>=0?s:Ur(s)}}return r}throw new Error("can't deserialize object of type "+typeof e)}var Zr=function(){this.first=!0};Zr.prototype.update=function(e,t){var n=Math.floor(e);return this.first?(this.first=!1,this.lastIntegerZoom=n,this.lastIntegerZoomTime=0,this.lastZoom=e,this.lastFloorZoom=n,!0):(this.lastFloorZoom>n?(this.lastIntegerZoom=n+1,this.lastIntegerZoomTime=t):this.lastFloorZoom<n&&(this.lastIntegerZoom=n,this.lastIntegerZoomTime=t),e!==this.lastZoom&&(this.lastZoom=e,this.lastFloorZoom=n,!0))};var Hr={"Latin-1 Supplement":function(e){return e>=128&&e<=255},Arabic:function(e){return e>=1536&&e<=1791},"Arabic Supplement":function(e){return e>=1872&&e<=1919},"Arabic Extended-A":function(e){return e>=2208&&e<=2303},"Hangul Jamo":function(e){return e>=4352&&e<=4607},"Unified Canadian Aboriginal Syllabics":function(e){return e>=5120&&e<=5759},Khmer:function(e){return e>=6016&&e<=6143},"Unified Canadian Aboriginal Syllabics Extended":function(e){return e>=6320&&e<=6399},"General Punctuation":function(e){return e>=8192&&e<=8303},"Letterlike Symbols":function(e){return e>=8448&&e<=8527},"Number Forms":function(e){return e>=8528&&e<=8591},"Miscellaneous Technical":function(e){return e>=8960&&e<=9215},"Control Pictures":function(e){return e>=9216&&e<=9279},"Optical Character Recognition":function(e){return e>=9280&&e<=9311},"Enclosed Alphanumerics":function(e){return e>=9312&&e<=9471},"Geometric Shapes":function(e){return e>=9632&&e<=9727},"Miscellaneous Symbols":function(e){return e>=9728&&e<=9983},"Miscellaneous Symbols and Arrows":function(e){return e>=11008&&e<=11263},"CJK Radicals Supplement":function(e){return e>=11904&&e<=12031},"Kangxi Radicals":function(e){return e>=12032&&e<=12255},"Ideographic Description Characters":function(e){return e>=12272&&e<=12287},"CJK Symbols and Punctuation":function(e){return e>=12288&&e<=12351},Hiragana:function(e){return e>=12352&&e<=12447},Katakana:function(e){return e>=12448&&e<=12543},Bopomofo:function(e){return e>=12544&&e<=12591},"Hangul Compatibility Jamo":function(e){return e>=12592&&e<=12687},Kanbun:function(e){return e>=12688&&e<=12703},"Bopomofo Extended":function(e){return e>=12704&&e<=12735},"CJK Strokes":function(e){return e>=12736&&e<=12783},"Katakana Phonetic Extensions":function(e){return e>=12784&&e<=12799},"Enclosed CJK Letters and Months":function(e){return e>=12800&&e<=13055},"CJK Compatibility":function(e){return e>=13056&&e<=13311},"CJK Unified Ideographs Extension A":function(e){return e>=13312&&e<=19903},"Yijing Hexagram Symbols":function(e){return e>=19904&&e<=19967},"CJK Unified Ideographs":function(e){return e>=19968&&e<=40959},"Yi Syllables":function(e){return e>=40960&&e<=42127},"Yi Radicals":function(e){return e>=42128&&e<=42191},"Hangul Jamo Extended-A":function(e){return e>=43360&&e<=43391},"Hangul Syllables":function(e){return e>=44032&&e<=55215},"Hangul Jamo Extended-B":function(e){return e>=55216&&e<=55295},"Private Use Area":function(e){return e>=57344&&e<=63743},"CJK Compatibility Ideographs":function(e){return e>=63744&&e<=64255},"Arabic Presentation Forms-A":function(e){return e>=64336&&e<=65023},"Vertical Forms":function(e){return e>=65040&&e<=65055},"CJK Compatibility Forms":function(e){return e>=65072&&e<=65103},"Small Form Variants":function(e){return e>=65104&&e<=65135},"Arabic Presentation Forms-B":function(e){return e>=65136&&e<=65279},"Halfwidth and Fullwidth Forms":function(e){return e>=65280&&e<=65519}};function $r(e){for(var t=0,n=e;t<n.length;t+=1)if(Vr(n[t].charCodeAt(0)))return!0;return!1}function Vr(e){return!(746!==e&&747!==e&&(e<4352||!(Hr["Bopomofo Extended"](e)||Hr.Bopomofo(e)||Hr["CJK Compatibility Forms"](e)&&!(e>=65097&&e<=65103)||Hr["CJK Compatibility Ideographs"](e)||Hr["CJK Compatibility"](e)||Hr["CJK Radicals Supplement"](e)||Hr["CJK Strokes"](e)||!(!Hr["CJK Symbols and Punctuation"](e)||e>=12296&&e<=12305||e>=12308&&e<=12319||12336===e)||Hr["CJK Unified Ideographs Extension A"](e)||Hr["CJK Unified Ideographs"](e)||Hr["Enclosed CJK Letters and Months"](e)||Hr["Hangul Compatibility Jamo"](e)||Hr["Hangul Jamo Extended-A"](e)||Hr["Hangul Jamo Extended-B"](e)||Hr["Hangul Jamo"](e)||Hr["Hangul Syllables"](e)||Hr.Hiragana(e)||Hr["Ideographic Description Characters"](e)||Hr.Kanbun(e)||Hr["Kangxi Radicals"](e)||Hr["Katakana Phonetic Extensions"](e)||Hr.Katakana(e)&&12540!==e||!(!Hr["Halfwidth and Fullwidth Forms"](e)||65288===e||65289===e||65293===e||e>=65306&&e<=65310||65339===e||65341===e||65343===e||e>=65371&&e<=65503||65507===e||e>=65512&&e<=65519)||!(!Hr["Small Form Variants"](e)||e>=65112&&e<=65118||e>=65123&&e<=65126)||Hr["Unified Canadian Aboriginal Syllabics"](e)||Hr["Unified Canadian Aboriginal Syllabics Extended"](e)||Hr["Vertical Forms"](e)||Hr["Yijing Hexagram Symbols"](e)||Hr["Yi Syllables"](e)||Hr["Yi Radicals"](e))))}function Xr(e){return!(Vr(e)||function(e){return!!(Hr["Latin-1 Supplement"](e)&&(167===e||169===e||174===e||177===e||188===e||189===e||190===e||215===e||247===e)||Hr["General Punctuation"](e)&&(8214===e||8224===e||8225===e||8240===e||8241===e||8251===e||8252===e||8258===e||8263===e||8264===e||8265===e||8273===e)||Hr["Letterlike Symbols"](e)||Hr["Number Forms"](e)||Hr["Miscellaneous Technical"](e)&&(e>=8960&&e<=8967||e>=8972&&e<=8991||e>=8996&&e<=9e3||9003===e||e>=9085&&e<=9114||e>=9150&&e<=9165||9167===e||e>=9169&&e<=9179||e>=9186&&e<=9215)||Hr["Control Pictures"](e)&&9251!==e||Hr["Optical Character Recognition"](e)||Hr["Enclosed Alphanumerics"](e)||Hr["Geometric Shapes"](e)||Hr["Miscellaneous Symbols"](e)&&!(e>=9754&&e<=9759)||Hr["Miscellaneous Symbols and Arrows"](e)&&(e>=11026&&e<=11055||e>=11088&&e<=11097||e>=11192&&e<=11243)||Hr["CJK Symbols and Punctuation"](e)||Hr.Katakana(e)||Hr["Private Use Area"](e)||Hr["CJK Compatibility Forms"](e)||Hr["Small Form Variants"](e)||Hr["Halfwidth and Fullwidth Forms"](e)||8734===e||8756===e||8757===e||e>=9984&&e<=10087||e>=10102&&e<=10131||65532===e||65533===e)}(e))}function Qr(e){return e>=1424&&e<=2303||Hr["Arabic Presentation Forms-A"](e)||Hr["Arabic Presentation Forms-B"](e)}function Yr(e,t){return!(!t&&Qr(e)||e>=2304&&e<=3583||e>=3840&&e<=4255||Hr.Khmer(e))}function Gr(e){for(var t=0,n=e;t<n.length;t+=1)if(Qr(n[t].charCodeAt(0)))return!0;return!1}var Kr=null,Jr="unavailable",eo=null,to=function(e){e&&"string"==typeof e&&e.indexOf("NetworkError")>-1&&(Jr="error"),Kr&&Kr(e)};function no(){ro.fire(new we("pluginStateChange",{pluginStatus:Jr,pluginURL:eo}))}var ro=new Se,oo=function(){return Jr},io=function(){if("deferred"!==Jr||!eo)throw new Error("rtl-text-plugin cannot be downloaded unless a pluginURL is specified");Jr="loading",no(),eo&&ye({url:eo},(function(e){e?to(e):(Jr="loaded",no())}))},ao={applyArabicShaping:null,processBidirectionalText:null,processStyledBidirectionalText:null,isLoaded:function(){return"loaded"===Jr||null!=ao.applyArabicShaping},isLoading:function(){return"loading"===Jr},setState:function(e){Jr=e.pluginStatus,eo=e.pluginURL},isParsed:function(){return null!=ao.applyArabicShaping&&null!=ao.processBidirectionalText&&null!=ao.processStyledBidirectionalText},getPluginURL:function(){return eo}},so=function(e,t){this.zoom=e,t?(this.now=t.now,this.fadeDuration=t.fadeDuration,this.zoomHistory=t.zoomHistory,this.transition=t.transition):(this.now=0,this.fadeDuration=0,this.zoomHistory=new Zr,this.transition={})};so.prototype.isSupportedScript=function(e){return function(e,t){for(var n=0,r=e;n<r.length;n+=1)if(!Yr(r[n].charCodeAt(0),t))return!1;return!0}(e,ao.isLoaded())},so.prototype.crossFadingFactor=function(){return 0===this.fadeDuration?1:Math.min((this.now-this.zoomHistory.lastIntegerZoomTime)/this.fadeDuration,1)},so.prototype.getCrossfadeParameters=function(){var e=this.zoom,t=e-Math.floor(e),n=this.crossFadingFactor();return e>this.zoomHistory.lastIntegerZoom?{fromScale:2,toScale:1,t:t+(1-t)*n}:{fromScale:.5,toScale:1,t:1-(1-n)*t}};var lo=function(e,t){this.property=e,this.value=t,this.expression=function(e,t){if(qn(e))return new Gn(e,t);if($n(e)){var n=Yn(e,t);if("error"===n.result)throw new Error(n.value.map((function(e){return e.key+": "+e.message})).join(", "));return n.value}var r=e;return"string"==typeof e&&"color"===t.type&&(r=et.parse(e)),{kind:"constant",evaluate:function(){return r}}}(void 0===t?e.specification.default:t,e.specification)};lo.prototype.isDataDriven=function(){return"source"===this.expression.kind||"composite"===this.expression.kind},lo.prototype.possiblyEvaluate=function(e,t,n){return this.property.possiblyEvaluate(this,e,t,n)};var co=function(e){this.property=e,this.value=new lo(e,void 0)};co.prototype.transitioned=function(e,t){return new po(this.property,this.value,t,p({},e.transition,this.transition),e.now)},co.prototype.untransitioned=function(){return new po(this.property,this.value,null,{},0)};var uo=function(e){this._properties=e,this._values=Object.create(e.defaultTransitionablePropertyValues)};uo.prototype.getValue=function(e){return M(this._values[e].value.value)},uo.prototype.setValue=function(e,t){this._values.hasOwnProperty(e)||(this._values[e]=new co(this._values[e].property)),this._values[e].value=new lo(this._values[e].property,null===t?void 0:M(t))},uo.prototype.getTransition=function(e){return M(this._values[e].transition)},uo.prototype.setTransition=function(e,t){this._values.hasOwnProperty(e)||(this._values[e]=new co(this._values[e].property)),this._values[e].transition=M(t)||void 0},uo.prototype.serialize=function(){for(var e={},t=0,n=Object.keys(this._values);t<n.length;t+=1){var r=n[t],o=this.getValue(r);void 0!==o&&(e[r]=o);var i=this.getTransition(r);void 0!==i&&(e[r+"-transition"]=i)}return e},uo.prototype.transitioned=function(e,t){for(var n=new fo(this._properties),r=0,o=Object.keys(this._values);r<o.length;r+=1){var i=o[r];n._values[i]=this._values[i].transitioned(e,t._values[i])}return n},uo.prototype.untransitioned=function(){for(var e=new fo(this._properties),t=0,n=Object.keys(this._values);t<n.length;t+=1){var r=n[t];e._values[r]=this._values[r].untransitioned()}return e};var po=function(e,t,n,r,o){this.property=e,this.value=t,this.begin=o+r.delay||0,this.end=this.begin+r.duration||0,e.specification.transition&&(r.delay||r.duration)&&(this.prior=n)};po.prototype.possiblyEvaluate=function(e,t,n){var r=e.now||0,o=this.value.possiblyEvaluate(e,t,n),i=this.prior;if(i){if(r>this.end)return this.prior=null,o;if(this.value.isDataDriven())return this.prior=null,o;if(r<this.begin)return i.possiblyEvaluate(e,t,n);var a=(r-this.begin)/(this.end-this.begin);return this.property.interpolate(i.possiblyEvaluate(e,t,n),o,function(e){if(e<=0)return 0;if(e>=1)return 1;var t=e*e,n=t*e;return 4*(e<.5?n:3*(e-t)+n-.75)}(a))}return o};var fo=function(e){this._properties=e,this._values=Object.create(e.defaultTransitioningPropertyValues)};fo.prototype.possiblyEvaluate=function(e,t,n){for(var r=new Ao(this._properties),o=0,i=Object.keys(this._values);o<i.length;o+=1){var a=i[o];r._values[a]=this._values[a].possiblyEvaluate(e,t,n)}return r},fo.prototype.hasTransition=function(){for(var e=0,t=Object.keys(this._values);e<t.length;e+=1)if(this._values[t[e]].prior)return!0;return!1};var ho=function(e){this._properties=e,this._values=Object.create(e.defaultPropertyValues)};ho.prototype.getValue=function(e){return M(this._values[e].value)},ho.prototype.setValue=function(e,t){this._values[e]=new lo(this._values[e].property,null===t?void 0:M(t))},ho.prototype.serialize=function(){for(var e={},t=0,n=Object.keys(this._values);t<n.length;t+=1){var r=n[t],o=this.getValue(r);void 0!==o&&(e[r]=o)}return e},ho.prototype.possiblyEvaluate=function(e,t,n){for(var r=new Ao(this._properties),o=0,i=Object.keys(this._values);o<i.length;o+=1){var a=i[o];r._values[a]=this._values[a].possiblyEvaluate(e,t,n)}return r};var bo=function(e,t,n){this.property=e,this.value=t,this.parameters=n};bo.prototype.isConstant=function(){return"constant"===this.value.kind},bo.prototype.constantOr=function(e){return"constant"===this.value.kind?this.value.value:e},bo.prototype.evaluate=function(e,t,n,r){return this.property.evaluate(this.value,this.parameters,e,t,n,r)};var Ao=function(e){this._properties=e,this._values=Object.create(e.defaultPossiblyEvaluatedValues)};Ao.prototype.get=function(e){return this._values[e]};var mo=function(e){this.specification=e};mo.prototype.possiblyEvaluate=function(e,t){return e.expression.evaluate(t)},mo.prototype.interpolate=function(e,t,n){var r=Ht[this.specification.type];return r?r(e,t,n):e};var go=function(e,t){this.specification=e,this.overrides=t};go.prototype.possiblyEvaluate=function(e,t,n,r){return new bo(this,"constant"===e.expression.kind||"camera"===e.expression.kind?{kind:"constant",value:e.expression.evaluate(t,null,{},n,r)}:e.expression,t)},go.prototype.interpolate=function(e,t,n){if("constant"!==e.value.kind||"constant"!==t.value.kind)return e;if(void 0===e.value.value||void 0===t.value.value)return new bo(this,{kind:"constant",value:void 0},e.parameters);var r=Ht[this.specification.type];return r?new bo(this,{kind:"constant",value:r(e.value.value,t.value.value,n)},e.parameters):e},go.prototype.evaluate=function(e,t,n,r,o,i){return"constant"===e.kind?e.value:e.evaluate(t,n,r,o,i)};var vo=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.possiblyEvaluate=function(e,t,n,r){if(void 0===e.value)return new bo(this,{kind:"constant",value:void 0},t);if("constant"===e.expression.kind){var o=e.expression.evaluate(t,null,{},n,r),i="resolvedImage"===e.property.specification.type&&"string"!=typeof o?o.name:o,a=this._calculate(i,i,i,t);return new bo(this,{kind:"constant",value:a},t)}if("camera"===e.expression.kind){var s=this._calculate(e.expression.evaluate({zoom:t.zoom-1}),e.expression.evaluate({zoom:t.zoom}),e.expression.evaluate({zoom:t.zoom+1}),t);return new bo(this,{kind:"constant",value:s},t)}return new bo(this,e.expression,t)},t.prototype.evaluate=function(e,t,n,r,o,i){if("source"===e.kind){var a=e.evaluate(t,n,r,o,i);return this._calculate(a,a,a,t)}return"composite"===e.kind?this._calculate(e.evaluate({zoom:Math.floor(t.zoom)-1},n,r),e.evaluate({zoom:Math.floor(t.zoom)},n,r),e.evaluate({zoom:Math.floor(t.zoom)+1},n,r),t):e.value},t.prototype._calculate=function(e,t,n,r){return r.zoom>r.zoomHistory.lastIntegerZoom?{from:e,to:t}:{from:n,to:t}},t.prototype.interpolate=function(e){return e},t}(go),yo=function(e){this.specification=e};yo.prototype.possiblyEvaluate=function(e,t,n,r){if(void 0!==e.value){if("constant"===e.expression.kind){var o=e.expression.evaluate(t,null,{},n,r);return this._calculate(o,o,o,t)}return this._calculate(e.expression.evaluate(new so(Math.floor(t.zoom-1),t)),e.expression.evaluate(new so(Math.floor(t.zoom),t)),e.expression.evaluate(new so(Math.floor(t.zoom+1),t)),t)}},yo.prototype._calculate=function(e,t,n,r){return r.zoom>r.zoomHistory.lastIntegerZoom?{from:e,to:t}:{from:n,to:t}},yo.prototype.interpolate=function(e){return e};var Mo=function(e){this.specification=e};Mo.prototype.possiblyEvaluate=function(e,t,n,r){return!!e.expression.evaluate(t,null,{},n,r)},Mo.prototype.interpolate=function(){return!1};var Oo=function(e){for(var t in this.properties=e,this.defaultPropertyValues={},this.defaultTransitionablePropertyValues={},this.defaultTransitioningPropertyValues={},this.defaultPossiblyEvaluatedValues={},this.overridableProperties=[],e){var n=e[t];n.specification.overridable&&this.overridableProperties.push(t);var r=this.defaultPropertyValues[t]=new lo(n,void 0),o=this.defaultTransitionablePropertyValues[t]=new co(n);this.defaultTransitioningPropertyValues[t]=o.untransitioned(),this.defaultPossiblyEvaluatedValues[t]=r.possiblyEvaluate({})}};qr("DataDrivenProperty",go),qr("DataConstantProperty",mo),qr("CrossFadedDataDrivenProperty",vo),qr("CrossFadedProperty",yo),qr("ColorRampProperty",Mo);var _o=function(e){function t(t,n){if(e.call(this),this.id=t.id,this.type=t.type,this._featureFilter={filter:function(){return!0},needGeometry:!1},"custom"!==t.type&&(this.metadata=t.metadata,this.minzoom=t.minzoom,this.maxzoom=t.maxzoom,"background"!==t.type&&(this.source=t.source,this.sourceLayer=t["source-layer"],this.filter=t.filter),n.layout&&(this._unevaluatedLayout=new ho(n.layout)),n.paint)){for(var r in this._transitionablePaint=new uo(n.paint),t.paint)this.setPaintProperty(r,t.paint[r],{validate:!1});for(var o in t.layout)this.setLayoutProperty(o,t.layout[o],{validate:!1});this._transitioningPaint=this._transitionablePaint.untransitioned(),this.paint=new Ao(n.paint)}}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getCrossfadeParameters=function(){return this._crossfadeParameters},t.prototype.getLayoutProperty=function(e){return"visibility"===e?this.visibility:this._unevaluatedLayout.getValue(e)},t.prototype.setLayoutProperty=function(e,t,n){void 0===n&&(n={}),null!=t&&this._validate(Dr,"layers."+this.id+".layout."+e,e,t,n)||("visibility"!==e?this._unevaluatedLayout.setValue(e,t):this.visibility=t)},t.prototype.getPaintProperty=function(e){return g(e,"-transition")?this._transitionablePaint.getTransition(e.slice(0,-"-transition".length)):this._transitionablePaint.getValue(e)},t.prototype.setPaintProperty=function(e,t,n){if(void 0===n&&(n={}),null!=t&&this._validate(kr,"layers."+this.id+".paint."+e,e,t,n))return!1;if(g(e,"-transition"))return this._transitionablePaint.setTransition(e.slice(0,-"-transition".length),t||void 0),!1;var r=this._transitionablePaint._values[e],o="cross-faded-data-driven"===r.property.specification["property-type"],i=r.value.isDataDriven(),a=r.value;this._transitionablePaint.setValue(e,t),this._handleSpecialPaintPropertyUpdate(e);var s=this._transitionablePaint._values[e].value;return s.isDataDriven()||i||o||this._handleOverridablePaintPropertyUpdate(e,a,s)},t.prototype._handleSpecialPaintPropertyUpdate=function(e){},t.prototype._handleOverridablePaintPropertyUpdate=function(e,t,n){return!1},t.prototype.isHidden=function(e){return!!(this.minzoom&&e<this.minzoom)||!!(this.maxzoom&&e>=this.maxzoom)||"none"===this.visibility},t.prototype.updateTransitions=function(e){this._transitioningPaint=this._transitionablePaint.transitioned(e,this._transitioningPaint)},t.prototype.hasTransition=function(){return this._transitioningPaint.hasTransition()},t.prototype.recalculate=function(e,t){e.getCrossfadeParameters&&(this._crossfadeParameters=e.getCrossfadeParameters()),this._unevaluatedLayout&&(this.layout=this._unevaluatedLayout.possiblyEvaluate(e,void 0,t)),this.paint=this._transitioningPaint.possiblyEvaluate(e,void 0,t)},t.prototype.serialize=function(){var e={id:this.id,type:this.type,source:this.source,"source-layer":this.sourceLayer,metadata:this.metadata,minzoom:this.minzoom,maxzoom:this.maxzoom,filter:this.filter,layout:this._unevaluatedLayout&&this._unevaluatedLayout.serialize(),paint:this._transitionablePaint&&this._transitionablePaint.serialize()};return this.visibility&&(e.layout=e.layout||{},e.layout.visibility=this.visibility),y(e,(function(e,t){return!(void 0===e||"layout"===t&&!Object.keys(e).length||"paint"===t&&!Object.keys(e).length)}))},t.prototype._validate=function(e,t,n,r,o){return void 0===o&&(o={}),(!o||!1!==o.validate)&&Nr(this,e.call(Sr,{key:t,layerType:this.type,objectKey:n,value:r,styleSpec:Ee,style:{glyphs:!0,sprite:!0}}))},t.prototype.is3D=function(){return!1},t.prototype.isTileClipped=function(){return!1},t.prototype.hasOffscreenPass=function(){return!1},t.prototype.resize=function(){},t.prototype.isStateDependent=function(){for(var e in this.paint._values){var t=this.paint.get(e);if(t instanceof bo&&jn(t.property.specification)&&("source"===t.value.kind||"composite"===t.value.kind)&&t.value.isStateDependent)return!0}return!1},t}(Se),zo={Int8:Int8Array,Uint8:Uint8Array,Int16:Int16Array,Uint16:Uint16Array,Int32:Int32Array,Uint32:Uint32Array,Float32:Float32Array},xo=function(e,t){this._structArray=e,this._pos1=t*this.size,this._pos2=this._pos1/2,this._pos4=this._pos1/4,this._pos8=this._pos1/8},wo=function(){this.isTransferred=!1,this.capacity=-1,this.resize(0)};function Co(e,t){void 0===t&&(t=1);var n=0,r=0;return{members:e.map((function(e){var o=zo[e.type].BYTES_PER_ELEMENT,i=n=So(n,Math.max(t,o)),a=e.components||1;return r=Math.max(r,o),n+=o*a,{name:e.name,type:e.type,components:a,offset:i}})),size:So(n,Math.max(r,t)),alignment:t}}function So(e,t){return Math.ceil(e/t)*t}wo.serialize=function(e,t){return e._trim(),t&&(e.isTransferred=!0,t.push(e.arrayBuffer)),{length:e.length,arrayBuffer:e.arrayBuffer}},wo.deserialize=function(e){var t=Object.create(this.prototype);return t.arrayBuffer=e.arrayBuffer,t.length=e.length,t.capacity=e.arrayBuffer.byteLength/t.bytesPerElement,t._refreshViews(),t},wo.prototype._trim=function(){this.length!==this.capacity&&(this.capacity=this.length,this.arrayBuffer=this.arrayBuffer.slice(0,this.length*this.bytesPerElement),this._refreshViews())},wo.prototype.clear=function(){this.length=0},wo.prototype.resize=function(e){this.reserve(e),this.length=e},wo.prototype.reserve=function(e){if(e>this.capacity){this.capacity=Math.max(e,Math.floor(5*this.capacity),128),this.arrayBuffer=new ArrayBuffer(this.capacity*this.bytesPerElement);var t=this.uint8;this._refreshViews(),t&&this.uint8.set(t)}},wo.prototype._refreshViews=function(){throw new Error("_refreshViews() must be implemented by each concrete StructArray layout")};var Eo=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t){var n=this.length;return this.resize(n+1),this.emplace(n,e,t)},t.prototype.emplace=function(e,t,n){var r=2*e;return this.int16[r+0]=t,this.int16[r+1]=n,e},t}(wo);Eo.prototype.bytesPerElement=4,qr("StructArrayLayout2i4",Eo);var ko=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,n,r){var o=this.length;return this.resize(o+1),this.emplace(o,e,t,n,r)},t.prototype.emplace=function(e,t,n,r,o){var i=4*e;return this.int16[i+0]=t,this.int16[i+1]=n,this.int16[i+2]=r,this.int16[i+3]=o,e},t}(wo);ko.prototype.bytesPerElement=8,qr("StructArrayLayout4i8",ko);var Do=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,n,r,o,i){var a=this.length;return this.resize(a+1),this.emplace(a,e,t,n,r,o,i)},t.prototype.emplace=function(e,t,n,r,o,i,a){var s=6*e;return this.int16[s+0]=t,this.int16[s+1]=n,this.int16[s+2]=r,this.int16[s+3]=o,this.int16[s+4]=i,this.int16[s+5]=a,e},t}(wo);Do.prototype.bytesPerElement=12,qr("StructArrayLayout2i4i12",Do);var No=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,n,r,o,i){var a=this.length;return this.resize(a+1),this.emplace(a,e,t,n,r,o,i)},t.prototype.emplace=function(e,t,n,r,o,i,a){var s=4*e,l=8*e;return this.int16[s+0]=t,this.int16[s+1]=n,this.uint8[l+4]=r,this.uint8[l+5]=o,this.uint8[l+6]=i,this.uint8[l+7]=a,e},t}(wo);No.prototype.bytesPerElement=8,qr("StructArrayLayout2i4ub8",No);var To=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t){var n=this.length;return this.resize(n+1),this.emplace(n,e,t)},t.prototype.emplace=function(e,t,n){var r=2*e;return this.float32[r+0]=t,this.float32[r+1]=n,e},t}(wo);To.prototype.bytesPerElement=8,qr("StructArrayLayout2f8",To);var jo=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,n,r,o,i,a,s,l,c){var u=this.length;return this.resize(u+1),this.emplace(u,e,t,n,r,o,i,a,s,l,c)},t.prototype.emplace=function(e,t,n,r,o,i,a,s,l,c,u){var d=10*e;return this.uint16[d+0]=t,this.uint16[d+1]=n,this.uint16[d+2]=r,this.uint16[d+3]=o,this.uint16[d+4]=i,this.uint16[d+5]=a,this.uint16[d+6]=s,this.uint16[d+7]=l,this.uint16[d+8]=c,this.uint16[d+9]=u,e},t}(wo);jo.prototype.bytesPerElement=20,qr("StructArrayLayout10ui20",jo);var Bo=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,n,r,o,i,a,s,l,c,u,d){var p=this.length;return this.resize(p+1),this.emplace(p,e,t,n,r,o,i,a,s,l,c,u,d)},t.prototype.emplace=function(e,t,n,r,o,i,a,s,l,c,u,d,p){var f=12*e;return this.int16[f+0]=t,this.int16[f+1]=n,this.int16[f+2]=r,this.int16[f+3]=o,this.uint16[f+4]=i,this.uint16[f+5]=a,this.uint16[f+6]=s,this.uint16[f+7]=l,this.int16[f+8]=c,this.int16[f+9]=u,this.int16[f+10]=d,this.int16[f+11]=p,e},t}(wo);Bo.prototype.bytesPerElement=24,qr("StructArrayLayout4i4ui4i24",Bo);var Lo=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,n){var r=this.length;return this.resize(r+1),this.emplace(r,e,t,n)},t.prototype.emplace=function(e,t,n,r){var o=3*e;return this.float32[o+0]=t,this.float32[o+1]=n,this.float32[o+2]=r,e},t}(wo);Lo.prototype.bytesPerElement=12,qr("StructArrayLayout3f12",Lo);var Ro=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e){var t=this.length;return this.resize(t+1),this.emplace(t,e)},t.prototype.emplace=function(e,t){return this.uint32[1*e+0]=t,e},t}(wo);Ro.prototype.bytesPerElement=4,qr("StructArrayLayout1ul4",Ro);var qo=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,n,r,o,i,a,s,l){var c=this.length;return this.resize(c+1),this.emplace(c,e,t,n,r,o,i,a,s,l)},t.prototype.emplace=function(e,t,n,r,o,i,a,s,l,c){var u=10*e,d=5*e;return this.int16[u+0]=t,this.int16[u+1]=n,this.int16[u+2]=r,this.int16[u+3]=o,this.int16[u+4]=i,this.int16[u+5]=a,this.uint32[d+3]=s,this.uint16[u+8]=l,this.uint16[u+9]=c,e},t}(wo);qo.prototype.bytesPerElement=20,qr("StructArrayLayout6i1ul2ui20",qo);var Po=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,n,r,o,i){var a=this.length;return this.resize(a+1),this.emplace(a,e,t,n,r,o,i)},t.prototype.emplace=function(e,t,n,r,o,i,a){var s=6*e;return this.int16[s+0]=t,this.int16[s+1]=n,this.int16[s+2]=r,this.int16[s+3]=o,this.int16[s+4]=i,this.int16[s+5]=a,e},t}(wo);Po.prototype.bytesPerElement=12,qr("StructArrayLayout2i2i2i12",Po);var Io=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,n,r,o){var i=this.length;return this.resize(i+1),this.emplace(i,e,t,n,r,o)},t.prototype.emplace=function(e,t,n,r,o,i){var a=4*e,s=8*e;return this.float32[a+0]=t,this.float32[a+1]=n,this.float32[a+2]=r,this.int16[s+6]=o,this.int16[s+7]=i,e},t}(wo);Io.prototype.bytesPerElement=16,qr("StructArrayLayout2f1f2i16",Io);var Wo=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,n,r){var o=this.length;return this.resize(o+1),this.emplace(o,e,t,n,r)},t.prototype.emplace=function(e,t,n,r,o){var i=12*e,a=3*e;return this.uint8[i+0]=t,this.uint8[i+1]=n,this.float32[a+1]=r,this.float32[a+2]=o,e},t}(wo);Wo.prototype.bytesPerElement=12,qr("StructArrayLayout2ub2f12",Wo);var Fo=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,n){var r=this.length;return this.resize(r+1),this.emplace(r,e,t,n)},t.prototype.emplace=function(e,t,n,r){var o=3*e;return this.uint16[o+0]=t,this.uint16[o+1]=n,this.uint16[o+2]=r,e},t}(wo);Fo.prototype.bytesPerElement=6,qr("StructArrayLayout3ui6",Fo);var Uo=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,n,r,o,i,a,s,l,c,u,d,p,f,h,b,A){var m=this.length;return this.resize(m+1),this.emplace(m,e,t,n,r,o,i,a,s,l,c,u,d,p,f,h,b,A)},t.prototype.emplace=function(e,t,n,r,o,i,a,s,l,c,u,d,p,f,h,b,A,m){var g=24*e,v=12*e,y=48*e;return this.int16[g+0]=t,this.int16[g+1]=n,this.uint16[g+2]=r,this.uint16[g+3]=o,this.uint32[v+2]=i,this.uint32[v+3]=a,this.uint32[v+4]=s,this.uint16[g+10]=l,this.uint16[g+11]=c,this.uint16[g+12]=u,this.float32[v+7]=d,this.float32[v+8]=p,this.uint8[y+36]=f,this.uint8[y+37]=h,this.uint8[y+38]=b,this.uint32[v+10]=A,this.int16[g+22]=m,e},t}(wo);Uo.prototype.bytesPerElement=48,qr("StructArrayLayout2i2ui3ul3ui2f3ub1ul1i48",Uo);var Zo=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,n,r,o,i,a,s,l,c,u,d,p,f,h,b,A,m,g,v,y,M,O,_,z,x,w,C){var S=this.length;return this.resize(S+1),this.emplace(S,e,t,n,r,o,i,a,s,l,c,u,d,p,f,h,b,A,m,g,v,y,M,O,_,z,x,w,C)},t.prototype.emplace=function(e,t,n,r,o,i,a,s,l,c,u,d,p,f,h,b,A,m,g,v,y,M,O,_,z,x,w,C,S){var E=34*e,k=17*e;return this.int16[E+0]=t,this.int16[E+1]=n,this.int16[E+2]=r,this.int16[E+3]=o,this.int16[E+4]=i,this.int16[E+5]=a,this.int16[E+6]=s,this.int16[E+7]=l,this.uint16[E+8]=c,this.uint16[E+9]=u,this.uint16[E+10]=d,this.uint16[E+11]=p,this.uint16[E+12]=f,this.uint16[E+13]=h,this.uint16[E+14]=b,this.uint16[E+15]=A,this.uint16[E+16]=m,this.uint16[E+17]=g,this.uint16[E+18]=v,this.uint16[E+19]=y,this.uint16[E+20]=M,this.uint16[E+21]=O,this.uint16[E+22]=_,this.uint32[k+12]=z,this.float32[k+13]=x,this.float32[k+14]=w,this.float32[k+15]=C,this.float32[k+16]=S,e},t}(wo);Zo.prototype.bytesPerElement=68,qr("StructArrayLayout8i15ui1ul4f68",Zo);var Ho=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e){var t=this.length;return this.resize(t+1),this.emplace(t,e)},t.prototype.emplace=function(e,t){return this.float32[1*e+0]=t,e},t}(wo);Ho.prototype.bytesPerElement=4,qr("StructArrayLayout1f4",Ho);var $o=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,n){var r=this.length;return this.resize(r+1),this.emplace(r,e,t,n)},t.prototype.emplace=function(e,t,n,r){var o=3*e;return this.int16[o+0]=t,this.int16[o+1]=n,this.int16[o+2]=r,e},t}(wo);$o.prototype.bytesPerElement=6,qr("StructArrayLayout3i6",$o);var Vo=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,n){var r=this.length;return this.resize(r+1),this.emplace(r,e,t,n)},t.prototype.emplace=function(e,t,n,r){var o=4*e;return this.uint32[2*e+0]=t,this.uint16[o+2]=n,this.uint16[o+3]=r,e},t}(wo);Vo.prototype.bytesPerElement=8,qr("StructArrayLayout1ul2ui8",Vo);var Xo=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t){var n=this.length;return this.resize(n+1),this.emplace(n,e,t)},t.prototype.emplace=function(e,t,n){var r=2*e;return this.uint16[r+0]=t,this.uint16[r+1]=n,e},t}(wo);Xo.prototype.bytesPerElement=4,qr("StructArrayLayout2ui4",Xo);var Qo=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e){var t=this.length;return this.resize(t+1),this.emplace(t,e)},t.prototype.emplace=function(e,t){return this.uint16[1*e+0]=t,e},t}(wo);Qo.prototype.bytesPerElement=2,qr("StructArrayLayout1ui2",Qo);var Yo=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,n,r){var o=this.length;return this.resize(o+1),this.emplace(o,e,t,n,r)},t.prototype.emplace=function(e,t,n,r,o){var i=4*e;return this.float32[i+0]=t,this.float32[i+1]=n,this.float32[i+2]=r,this.float32[i+3]=o,e},t}(wo);Yo.prototype.bytesPerElement=16,qr("StructArrayLayout4f16",Yo);var Go=function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t;var n={anchorPointX:{configurable:!0},anchorPointY:{configurable:!0},x1:{configurable:!0},y1:{configurable:!0},x2:{configurable:!0},y2:{configurable:!0},featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0},anchorPoint:{configurable:!0}};return n.anchorPointX.get=function(){return this._structArray.int16[this._pos2+0]},n.anchorPointY.get=function(){return this._structArray.int16[this._pos2+1]},n.x1.get=function(){return this._structArray.int16[this._pos2+2]},n.y1.get=function(){return this._structArray.int16[this._pos2+3]},n.x2.get=function(){return this._structArray.int16[this._pos2+4]},n.y2.get=function(){return this._structArray.int16[this._pos2+5]},n.featureIndex.get=function(){return this._structArray.uint32[this._pos4+3]},n.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+8]},n.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+9]},n.anchorPoint.get=function(){return new o(this.anchorPointX,this.anchorPointY)},Object.defineProperties(t.prototype,n),t}(xo);Go.prototype.size=20;var Ko=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.get=function(e){return new Go(this,e)},t}(qo);qr("CollisionBoxArray",Ko);var Jo=function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t;var n={anchorX:{configurable:!0},anchorY:{configurable:!0},glyphStartIndex:{configurable:!0},numGlyphs:{configurable:!0},vertexStartIndex:{configurable:!0},lineStartIndex:{configurable:!0},lineLength:{configurable:!0},segment:{configurable:!0},lowerSize:{configurable:!0},upperSize:{configurable:!0},lineOffsetX:{configurable:!0},lineOffsetY:{configurable:!0},writingMode:{configurable:!0},placedOrientation:{configurable:!0},hidden:{configurable:!0},crossTileID:{configurable:!0},associatedIconIndex:{configurable:!0}};return n.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},n.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},n.glyphStartIndex.get=function(){return this._structArray.uint16[this._pos2+2]},n.numGlyphs.get=function(){return this._structArray.uint16[this._pos2+3]},n.vertexStartIndex.get=function(){return this._structArray.uint32[this._pos4+2]},n.lineStartIndex.get=function(){return this._structArray.uint32[this._pos4+3]},n.lineLength.get=function(){return this._structArray.uint32[this._pos4+4]},n.segment.get=function(){return this._structArray.uint16[this._pos2+10]},n.lowerSize.get=function(){return this._structArray.uint16[this._pos2+11]},n.upperSize.get=function(){return this._structArray.uint16[this._pos2+12]},n.lineOffsetX.get=function(){return this._structArray.float32[this._pos4+7]},n.lineOffsetY.get=function(){return this._structArray.float32[this._pos4+8]},n.writingMode.get=function(){return this._structArray.uint8[this._pos1+36]},n.placedOrientation.get=function(){return this._structArray.uint8[this._pos1+37]},n.placedOrientation.set=function(e){this._structArray.uint8[this._pos1+37]=e},n.hidden.get=function(){return this._structArray.uint8[this._pos1+38]},n.hidden.set=function(e){this._structArray.uint8[this._pos1+38]=e},n.crossTileID.get=function(){return this._structArray.uint32[this._pos4+10]},n.crossTileID.set=function(e){this._structArray.uint32[this._pos4+10]=e},n.associatedIconIndex.get=function(){return this._structArray.int16[this._pos2+22]},Object.defineProperties(t.prototype,n),t}(xo);Jo.prototype.size=48;var ei=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.get=function(e){return new Jo(this,e)},t}(Uo);qr("PlacedSymbolArray",ei);var ti=function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t;var n={anchorX:{configurable:!0},anchorY:{configurable:!0},rightJustifiedTextSymbolIndex:{configurable:!0},centerJustifiedTextSymbolIndex:{configurable:!0},leftJustifiedTextSymbolIndex:{configurable:!0},verticalPlacedTextSymbolIndex:{configurable:!0},placedIconSymbolIndex:{configurable:!0},verticalPlacedIconSymbolIndex:{configurable:!0},key:{configurable:!0},textBoxStartIndex:{configurable:!0},textBoxEndIndex:{configurable:!0},verticalTextBoxStartIndex:{configurable:!0},verticalTextBoxEndIndex:{configurable:!0},iconBoxStartIndex:{configurable:!0},iconBoxEndIndex:{configurable:!0},verticalIconBoxStartIndex:{configurable:!0},verticalIconBoxEndIndex:{configurable:!0},featureIndex:{configurable:!0},numHorizontalGlyphVertices:{configurable:!0},numVerticalGlyphVertices:{configurable:!0},numIconVertices:{configurable:!0},numVerticalIconVertices:{configurable:!0},useRuntimeCollisionCircles:{configurable:!0},crossTileID:{configurable:!0},textBoxScale:{configurable:!0},textOffset0:{configurable:!0},textOffset1:{configurable:!0},collisionCircleDiameter:{configurable:!0}};return n.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},n.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},n.rightJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+2]},n.centerJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+3]},n.leftJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+4]},n.verticalPlacedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+5]},n.placedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+6]},n.verticalPlacedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+7]},n.key.get=function(){return this._structArray.uint16[this._pos2+8]},n.textBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+9]},n.textBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+10]},n.verticalTextBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+11]},n.verticalTextBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+12]},n.iconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+13]},n.iconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+14]},n.verticalIconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+15]},n.verticalIconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+16]},n.featureIndex.get=function(){return this._structArray.uint16[this._pos2+17]},n.numHorizontalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+18]},n.numVerticalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+19]},n.numIconVertices.get=function(){return this._structArray.uint16[this._pos2+20]},n.numVerticalIconVertices.get=function(){return this._structArray.uint16[this._pos2+21]},n.useRuntimeCollisionCircles.get=function(){return this._structArray.uint16[this._pos2+22]},n.crossTileID.get=function(){return this._structArray.uint32[this._pos4+12]},n.crossTileID.set=function(e){this._structArray.uint32[this._pos4+12]=e},n.textBoxScale.get=function(){return this._structArray.float32[this._pos4+13]},n.textOffset0.get=function(){return this._structArray.float32[this._pos4+14]},n.textOffset1.get=function(){return this._structArray.float32[this._pos4+15]},n.collisionCircleDiameter.get=function(){return this._structArray.float32[this._pos4+16]},Object.defineProperties(t.prototype,n),t}(xo);ti.prototype.size=68;var ni=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.get=function(e){return new ti(this,e)},t}(Zo);qr("SymbolInstanceArray",ni);var ri=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getoffsetX=function(e){return this.float32[1*e+0]},t}(Ho);qr("GlyphOffsetArray",ri);var oi=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getx=function(e){return this.int16[3*e+0]},t.prototype.gety=function(e){return this.int16[3*e+1]},t.prototype.gettileUnitDistanceFromAnchor=function(e){return this.int16[3*e+2]},t}($o);qr("SymbolLineVertexArray",oi);var ii=function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t;var n={featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0}};return n.featureIndex.get=function(){return this._structArray.uint32[this._pos4+0]},n.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+2]},n.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+3]},Object.defineProperties(t.prototype,n),t}(xo);ii.prototype.size=8;var ai=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.get=function(e){return new ii(this,e)},t}(Vo);qr("FeatureIndexArray",ai);var si=Co([{name:"a_pos",components:2,type:"Int16"}],4).members,li=function(e){void 0===e&&(e=[]),this.segments=e};function ci(e,t){return 256*(e=u(Math.floor(e),0,255))+u(Math.floor(t),0,255)}li.prototype.prepareSegment=function(e,t,n,r){var o=this.segments[this.segments.length-1];return e>li.MAX_VERTEX_ARRAY_LENGTH&&_("Max vertices per segment is "+li.MAX_VERTEX_ARRAY_LENGTH+": bucket requested "+e),(!o||o.vertexLength+e>li.MAX_VERTEX_ARRAY_LENGTH||o.sortKey!==r)&&(o={vertexOffset:t.length,primitiveOffset:n.length,vertexLength:0,primitiveLength:0},void 0!==r&&(o.sortKey=r),this.segments.push(o)),o},li.prototype.get=function(){return this.segments},li.prototype.destroy=function(){for(var e=0,t=this.segments;e<t.length;e+=1){var n=t[e];for(var r in n.vaos)n.vaos[r].destroy()}},li.simpleSegment=function(e,t,n,r){return new li([{vertexOffset:e,primitiveOffset:t,vertexLength:n,primitiveLength:r,vaos:{},sortKey:0}])},li.MAX_VERTEX_ARRAY_LENGTH=Math.pow(2,16)-1,qr("SegmentVector",li);var ui=Co([{name:"a_pattern_from",components:4,type:"Uint16"},{name:"a_pattern_to",components:4,type:"Uint16"},{name:"a_pixel_ratio_from",components:1,type:"Uint16"},{name:"a_pixel_ratio_to",components:1,type:"Uint16"}]),di=t((function(e){e.exports=function(e,t){var n,r,o,i,a,s,l,c;for(r=e.length-(n=3&e.length),o=t,a=3432918353,s=461845907,c=0;c<r;)l=255&e.charCodeAt(c)|(255&e.charCodeAt(++c))<<8|(255&e.charCodeAt(++c))<<16|(255&e.charCodeAt(++c))<<24,++c,o=27492+(65535&(i=5*(65535&(o=(o^=l=(65535&(l=(l=(65535&l)*a+(((l>>>16)*a&65535)<<16)&4294967295)<<15|l>>>17))*s+(((l>>>16)*s&65535)<<16)&4294967295)<<13|o>>>19))+((5*(o>>>16)&65535)<<16)&4294967295))+((58964+(i>>>16)&65535)<<16);switch(l=0,n){case 3:l^=(255&e.charCodeAt(c+2))<<16;case 2:l^=(255&e.charCodeAt(c+1))<<8;case 1:o^=l=(65535&(l=(l=(65535&(l^=255&e.charCodeAt(c)))*a+(((l>>>16)*a&65535)<<16)&4294967295)<<15|l>>>17))*s+(((l>>>16)*s&65535)<<16)&4294967295}return o^=e.length,o=2246822507*(65535&(o^=o>>>16))+((2246822507*(o>>>16)&65535)<<16)&4294967295,o=3266489909*(65535&(o^=o>>>13))+((3266489909*(o>>>16)&65535)<<16)&4294967295,(o^=o>>>16)>>>0}})),pi=t((function(e){e.exports=function(e,t){for(var n,r=e.length,o=t^r,i=0;r>=4;)n=1540483477*(65535&(n=255&e.charCodeAt(i)|(255&e.charCodeAt(++i))<<8|(255&e.charCodeAt(++i))<<16|(255&e.charCodeAt(++i))<<24))+((1540483477*(n>>>16)&65535)<<16),o=1540483477*(65535&o)+((1540483477*(o>>>16)&65535)<<16)^(n=1540483477*(65535&(n^=n>>>24))+((1540483477*(n>>>16)&65535)<<16)),r-=4,++i;switch(r){case 3:o^=(255&e.charCodeAt(i+2))<<16;case 2:o^=(255&e.charCodeAt(i+1))<<8;case 1:o=1540483477*(65535&(o^=255&e.charCodeAt(i)))+((1540483477*(o>>>16)&65535)<<16)}return o=1540483477*(65535&(o^=o>>>13))+((1540483477*(o>>>16)&65535)<<16),(o^=o>>>15)>>>0}})),fi=di,hi=pi;fi.murmur3=di,fi.murmur2=hi;var bi=function(){this.ids=[],this.positions=[],this.indexed=!1};bi.prototype.add=function(e,t,n,r){this.ids.push(mi(e)),this.positions.push(t,n,r)},bi.prototype.getPositions=function(e){for(var t=mi(e),n=0,r=this.ids.length-1;n<r;){var o=n+r>>1;this.ids[o]>=t?r=o:n=o+1}for(var i=[];this.ids[n]===t;)i.push({index:this.positions[3*n],start:this.positions[3*n+1],end:this.positions[3*n+2]}),n++;return i},bi.serialize=function(e,t){var n=new Float64Array(e.ids),r=new Uint32Array(e.positions);return function e(t,n,r,o){for(;r<o;){for(var i=t[r+o>>1],a=r-1,s=o+1;;){do{a++}while(t[a]<i);do{s--}while(t[s]>i);if(a>=s)break;gi(t,a,s),gi(n,3*a,3*s),gi(n,3*a+1,3*s+1),gi(n,3*a+2,3*s+2)}s-r<o-s?(e(t,n,r,s),r=s+1):(e(t,n,s+1,o),o=s)}}(n,r,0,n.length-1),t&&t.push(n.buffer,r.buffer),{ids:n,positions:r}},bi.deserialize=function(e){var t=new bi;return t.ids=e.ids,t.positions=e.positions,t.indexed=!0,t};var Ai=Math.pow(2,53)-1;function mi(e){var t=+e;return!isNaN(t)&&t<=Ai?t:fi(String(e))}function gi(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}qr("FeaturePositionMap",bi);var vi=function(e,t){this.gl=e.gl,this.location=t},yi=function(e){function t(t,n){e.call(this,t,n),this.current=0}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.set=function(e){this.current!==e&&(this.current=e,this.gl.uniform1i(this.location,e))},t}(vi),Mi=function(e){function t(t,n){e.call(this,t,n),this.current=0}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.set=function(e){this.current!==e&&(this.current=e,this.gl.uniform1f(this.location,e))},t}(vi),Oi=function(e){function t(t,n){e.call(this,t,n),this.current=[0,0]}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.set=function(e){e[0]===this.current[0]&&e[1]===this.current[1]||(this.current=e,this.gl.uniform2f(this.location,e[0],e[1]))},t}(vi),_i=function(e){function t(t,n){e.call(this,t,n),this.current=[0,0,0]}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.set=function(e){e[0]===this.current[0]&&e[1]===this.current[1]&&e[2]===this.current[2]||(this.current=e,this.gl.uniform3f(this.location,e[0],e[1],e[2]))},t}(vi),zi=function(e){function t(t,n){e.call(this,t,n),this.current=[0,0,0,0]}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.set=function(e){e[0]===this.current[0]&&e[1]===this.current[1]&&e[2]===this.current[2]&&e[3]===this.current[3]||(this.current=e,this.gl.uniform4f(this.location,e[0],e[1],e[2],e[3]))},t}(vi),xi=function(e){function t(t,n){e.call(this,t,n),this.current=et.transparent}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.set=function(e){e.r===this.current.r&&e.g===this.current.g&&e.b===this.current.b&&e.a===this.current.a||(this.current=e,this.gl.uniform4f(this.location,e.r,e.g,e.b,e.a))},t}(vi),wi=new Float32Array(16),Ci=function(e){function t(t,n){e.call(this,t,n),this.current=wi}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.set=function(e){if(e[12]!==this.current[12]||e[0]!==this.current[0])return this.current=e,void this.gl.uniformMatrix4fv(this.location,!1,e);for(var t=1;t<16;t++)if(e[t]!==this.current[t]){this.current=e,this.gl.uniformMatrix4fv(this.location,!1,e);break}},t}(vi);function Si(e){return[ci(255*e.r,255*e.g),ci(255*e.b,255*e.a)]}var Ei=function(e,t,n){this.value=e,this.uniformNames=t.map((function(e){return"u_"+e})),this.type=n};Ei.prototype.setUniform=function(e,t,n){e.set(n.constantOr(this.value))},Ei.prototype.getBinding=function(e,t,n){return"color"===this.type?new xi(e,t):new Mi(e,t)};var ki=function(e,t){this.uniformNames=t.map((function(e){return"u_"+e})),this.patternFrom=null,this.patternTo=null,this.pixelRatioFrom=1,this.pixelRatioTo=1};ki.prototype.setConstantPatternPositions=function(e,t){this.pixelRatioFrom=t.pixelRatio,this.pixelRatioTo=e.pixelRatio,this.patternFrom=t.tlbr,this.patternTo=e.tlbr},ki.prototype.setUniform=function(e,t,n,r){var o="u_pattern_to"===r?this.patternTo:"u_pattern_from"===r?this.patternFrom:"u_pixel_ratio_to"===r?this.pixelRatioTo:"u_pixel_ratio_from"===r?this.pixelRatioFrom:null;o&&e.set(o)},ki.prototype.getBinding=function(e,t,n){return"u_pattern"===n.substr(0,9)?new zi(e,t):new Mi(e,t)};var Di=function(e,t,n,r){this.expression=e,this.type=n,this.maxValue=0,this.paintVertexAttributes=t.map((function(e){return{name:"a_"+e,type:"Float32",components:"color"===n?2:1,offset:0}})),this.paintVertexArray=new r};Di.prototype.populatePaintArray=function(e,t,n,r,o){var i=this.paintVertexArray.length,a=this.expression.evaluate(new so(0),t,{},r,[],o);this.paintVertexArray.resize(e),this._setPaintValue(i,e,a)},Di.prototype.updatePaintArray=function(e,t,n,r){var o=this.expression.evaluate({zoom:0},n,r);this._setPaintValue(e,t,o)},Di.prototype._setPaintValue=function(e,t,n){if("color"===this.type)for(var r=Si(n),o=e;o<t;o++)this.paintVertexArray.emplace(o,r[0],r[1]);else{for(var i=e;i<t;i++)this.paintVertexArray.emplace(i,n);this.maxValue=Math.max(this.maxValue,Math.abs(n))}},Di.prototype.upload=function(e){this.paintVertexArray&&this.paintVertexArray.arrayBuffer&&(this.paintVertexBuffer&&this.paintVertexBuffer.buffer?this.paintVertexBuffer.updateData(this.paintVertexArray):this.paintVertexBuffer=e.createVertexBuffer(this.paintVertexArray,this.paintVertexAttributes,this.expression.isStateDependent))},Di.prototype.destroy=function(){this.paintVertexBuffer&&this.paintVertexBuffer.destroy()};var Ni=function(e,t,n,r,o,i){this.expression=e,this.uniformNames=t.map((function(e){return"u_"+e+"_t"})),this.type=n,this.useIntegerZoom=r,this.zoom=o,this.maxValue=0,this.paintVertexAttributes=t.map((function(e){return{name:"a_"+e,type:"Float32",components:"color"===n?4:2,offset:0}})),this.paintVertexArray=new i};Ni.prototype.populatePaintArray=function(e,t,n,r,o){var i=this.expression.evaluate(new so(this.zoom),t,{},r,[],o),a=this.expression.evaluate(new so(this.zoom+1),t,{},r,[],o),s=this.paintVertexArray.length;this.paintVertexArray.resize(e),this._setPaintValue(s,e,i,a)},Ni.prototype.updatePaintArray=function(e,t,n,r){var o=this.expression.evaluate({zoom:this.zoom},n,r),i=this.expression.evaluate({zoom:this.zoom+1},n,r);this._setPaintValue(e,t,o,i)},Ni.prototype._setPaintValue=function(e,t,n,r){if("color"===this.type)for(var o=Si(n),i=Si(r),a=e;a<t;a++)this.paintVertexArray.emplace(a,o[0],o[1],i[0],i[1]);else{for(var s=e;s<t;s++)this.paintVertexArray.emplace(s,n,r);this.maxValue=Math.max(this.maxValue,Math.abs(n),Math.abs(r))}},Ni.prototype.upload=function(e){this.paintVertexArray&&this.paintVertexArray.arrayBuffer&&(this.paintVertexBuffer&&this.paintVertexBuffer.buffer?this.paintVertexBuffer.updateData(this.paintVertexArray):this.paintVertexBuffer=e.createVertexBuffer(this.paintVertexArray,this.paintVertexAttributes,this.expression.isStateDependent))},Ni.prototype.destroy=function(){this.paintVertexBuffer&&this.paintVertexBuffer.destroy()},Ni.prototype.setUniform=function(e,t){var n=this.useIntegerZoom?Math.floor(t.zoom):t.zoom,r=u(this.expression.interpolationFactor(n,this.zoom,this.zoom+1),0,1);e.set(r)},Ni.prototype.getBinding=function(e,t,n){return new Mi(e,t)};var Ti=function(e,t,n,r,o,i){this.expression=e,this.type=t,this.useIntegerZoom=n,this.zoom=r,this.layerId=i,this.zoomInPaintVertexArray=new o,this.zoomOutPaintVertexArray=new o};Ti.prototype.populatePaintArray=function(e,t,n){var r=this.zoomInPaintVertexArray.length;this.zoomInPaintVertexArray.resize(e),this.zoomOutPaintVertexArray.resize(e),this._setPaintValues(r,e,t.patterns&&t.patterns[this.layerId],n)},Ti.prototype.updatePaintArray=function(e,t,n,r,o){this._setPaintValues(e,t,n.patterns&&n.patterns[this.layerId],o)},Ti.prototype._setPaintValues=function(e,t,n,r){if(r&&n){var o=r[n.min],i=r[n.mid],a=r[n.max];if(o&&i&&a)for(var s=e;s<t;s++)this.zoomInPaintVertexArray.emplace(s,i.tl[0],i.tl[1],i.br[0],i.br[1],o.tl[0],o.tl[1],o.br[0],o.br[1],i.pixelRatio,o.pixelRatio),this.zoomOutPaintVertexArray.emplace(s,i.tl[0],i.tl[1],i.br[0],i.br[1],a.tl[0],a.tl[1],a.br[0],a.br[1],i.pixelRatio,a.pixelRatio)}},Ti.prototype.upload=function(e){this.zoomInPaintVertexArray&&this.zoomInPaintVertexArray.arrayBuffer&&this.zoomOutPaintVertexArray&&this.zoomOutPaintVertexArray.arrayBuffer&&(this.zoomInPaintVertexBuffer=e.createVertexBuffer(this.zoomInPaintVertexArray,ui.members,this.expression.isStateDependent),this.zoomOutPaintVertexBuffer=e.createVertexBuffer(this.zoomOutPaintVertexArray,ui.members,this.expression.isStateDependent))},Ti.prototype.destroy=function(){this.zoomOutPaintVertexBuffer&&this.zoomOutPaintVertexBuffer.destroy(),this.zoomInPaintVertexBuffer&&this.zoomInPaintVertexBuffer.destroy()};var ji=function(e,t,n){this.binders={},this._buffers=[];var r=[];for(var o in e.paint._values)if(n(o)){var i=e.paint.get(o);if(i instanceof bo&&jn(i.property.specification)){var a=Li(o,e.type),s=i.value,l=i.property.specification.type,c=i.property.useIntegerZoom,u=i.property.specification["property-type"],d="cross-faded"===u||"cross-faded-data-driven"===u;if("constant"===s.kind)this.binders[o]=d?new ki(s.value,a):new Ei(s.value,a,l),r.push("/u_"+o);else if("source"===s.kind||d){var p=Ri(o,l,"source");this.binders[o]=d?new Ti(s,l,c,t,p,e.id):new Di(s,a,l,p),r.push("/a_"+o)}else{var f=Ri(o,l,"composite");this.binders[o]=new Ni(s,a,l,c,t,f),r.push("/z_"+o)}}}this.cacheKey=r.sort().join("")};ji.prototype.getMaxValue=function(e){var t=this.binders[e];return t instanceof Di||t instanceof Ni?t.maxValue:0},ji.prototype.populatePaintArrays=function(e,t,n,r,o){for(var i in this.binders){var a=this.binders[i];(a instanceof Di||a instanceof Ni||a instanceof Ti)&&a.populatePaintArray(e,t,n,r,o)}},ji.prototype.setConstantPatternPositions=function(e,t){for(var n in this.binders){var r=this.binders[n];r instanceof ki&&r.setConstantPatternPositions(e,t)}},ji.prototype.updatePaintArrays=function(e,t,n,r,o){var i=!1;for(var a in e)for(var s=0,l=t.getPositions(a);s<l.length;s+=1){var c=l[s],u=n.feature(c.index);for(var d in this.binders){var p=this.binders[d];if((p instanceof Di||p instanceof Ni||p instanceof Ti)&&!0===p.expression.isStateDependent){var f=r.paint.get(d);p.expression=f.value,p.updatePaintArray(c.start,c.end,u,e[a],o),i=!0}}}return i},ji.prototype.defines=function(){var e=[];for(var t in this.binders){var n=this.binders[t];(n instanceof Ei||n instanceof ki)&&e.push.apply(e,n.uniformNames.map((function(e){return"#define HAS_UNIFORM_"+e})))}return e},ji.prototype.getBinderAttributes=function(){var e=[];for(var t in this.binders){var n=this.binders[t];if(n instanceof Di||n instanceof Ni)for(var r=0;r<n.paintVertexAttributes.length;r++)e.push(n.paintVertexAttributes[r].name);else if(n instanceof Ti)for(var o=0;o<ui.members.length;o++)e.push(ui.members[o].name)}return e},ji.prototype.getBinderUniforms=function(){var e=[];for(var t in this.binders){var n=this.binders[t];if(n instanceof Ei||n instanceof ki||n instanceof Ni)for(var r=0,o=n.uniformNames;r<o.length;r+=1)e.push(o[r])}return e},ji.prototype.getPaintVertexBuffers=function(){return this._buffers},ji.prototype.getUniforms=function(e,t){var n=[];for(var r in this.binders){var o=this.binders[r];if(o instanceof Ei||o instanceof ki||o instanceof Ni)for(var i=0,a=o.uniformNames;i<a.length;i+=1){var s=a[i];if(t[s]){var l=o.getBinding(e,t[s],s);n.push({name:s,property:r,binding:l})}}}return n},ji.prototype.setUniforms=function(e,t,n,r){for(var o=0,i=t;o<i.length;o+=1){var a=i[o],s=a.name,l=a.property;this.binders[l].setUniform(a.binding,r,n.get(l),s)}},ji.prototype.updatePaintBuffers=function(e){for(var t in this._buffers=[],this.binders){var n=this.binders[t];if(e&&n instanceof Ti){var r=2===e.fromScale?n.zoomInPaintVertexBuffer:n.zoomOutPaintVertexBuffer;r&&this._buffers.push(r)}else(n instanceof Di||n instanceof Ni)&&n.paintVertexBuffer&&this._buffers.push(n.paintVertexBuffer)}},ji.prototype.upload=function(e){for(var t in this.binders){var n=this.binders[t];(n instanceof Di||n instanceof Ni||n instanceof Ti)&&n.upload(e)}this.updatePaintBuffers()},ji.prototype.destroy=function(){for(var e in this.binders){var t=this.binders[e];(t instanceof Di||t instanceof Ni||t instanceof Ti)&&t.destroy()}};var Bi=function(e,t,n){void 0===n&&(n=function(){return!0}),this.programConfigurations={};for(var r=0,o=e;r<o.length;r+=1){var i=o[r];this.programConfigurations[i.id]=new ji(i,t,n)}this.needsUpload=!1,this._featureMap=new bi,this._bufferOffset=0};function Li(e,t){return{"text-opacity":["opacity"],"icon-opacity":["opacity"],"text-color":["fill_color"],"icon-color":["fill_color"],"text-halo-color":["halo_color"],"icon-halo-color":["halo_color"],"text-halo-blur":["halo_blur"],"icon-halo-blur":["halo_blur"],"text-halo-width":["halo_width"],"icon-halo-width":["halo_width"],"line-gap-width":["gapwidth"],"line-pattern":["pattern_to","pattern_from","pixel_ratio_to","pixel_ratio_from"],"fill-pattern":["pattern_to","pattern_from","pixel_ratio_to","pixel_ratio_from"],"fill-extrusion-pattern":["pattern_to","pattern_from","pixel_ratio_to","pixel_ratio_from"]}[e]||[e.replace(t+"-","").replace(/-/g,"_")]}function Ri(e,t,n){var r={color:{source:To,composite:Yo},number:{source:Ho,composite:To}},o=function(e){return{"line-pattern":{source:jo,composite:jo},"fill-pattern":{source:jo,composite:jo},"fill-extrusion-pattern":{source:jo,composite:jo}}[e]}(e);return o&&o[n]||r[t][n]}Bi.prototype.populatePaintArrays=function(e,t,n,r,o,i){for(var a in this.programConfigurations)this.programConfigurations[a].populatePaintArrays(e,t,r,o,i);void 0!==t.id&&this._featureMap.add(t.id,n,this._bufferOffset,e),this._bufferOffset=e,this.needsUpload=!0},Bi.prototype.updatePaintArrays=function(e,t,n,r){for(var o=0,i=n;o<i.length;o+=1){var a=i[o];this.needsUpload=this.programConfigurations[a.id].updatePaintArrays(e,this._featureMap,t,a,r)||this.needsUpload}},Bi.prototype.get=function(e){return this.programConfigurations[e]},Bi.prototype.upload=function(e){if(this.needsUpload){for(var t in this.programConfigurations)this.programConfigurations[t].upload(e);this.needsUpload=!1}},Bi.prototype.destroy=function(){for(var e in this.programConfigurations)this.programConfigurations[e].destroy()},qr("ConstantBinder",Ei),qr("CrossFadedConstantBinder",ki),qr("SourceExpressionBinder",Di),qr("CrossFadedCompositeBinder",Ti),qr("CompositeExpressionBinder",Ni),qr("ProgramConfiguration",ji,{omit:["_buffers"]}),qr("ProgramConfigurationSet",Bi);var qi=Math.pow(2,14)-1,Pi=-qi-1;function Ii(e){for(var t=8192/e.extent,n=e.loadGeometry(),r=0;r<n.length;r++)for(var o=n[r],i=0;i<o.length;i++){var a=o[i],s=Math.round(a.x*t),l=Math.round(a.y*t);a.x=u(s,Pi,qi),a.y=u(l,Pi,qi),(s<a.x||s>a.x+1||l<a.y||l>a.y+1)&&_("Geometry exceeds allowed extent, reduce your vector tile buffer size")}return n}function Wi(e,t){return{type:e.type,id:e.id,properties:e.properties,geometry:t?Ii(e):[]}}function Fi(e,t,n,r,o){e.emplaceBack(2*t+(r+1)/2,2*n+(o+1)/2)}var Ui=function(e){this.zoom=e.zoom,this.overscaling=e.overscaling,this.layers=e.layers,this.layerIds=this.layers.map((function(e){return e.id})),this.index=e.index,this.hasPattern=!1,this.layoutVertexArray=new Eo,this.indexArray=new Fo,this.segments=new li,this.programConfigurations=new Bi(e.layers,e.zoom),this.stateDependentLayerIds=this.layers.filter((function(e){return e.isStateDependent()})).map((function(e){return e.id}))};function Zi(e,t){for(var n=0;n<e.length;n++)if(Ji(t,e[n]))return!0;for(var r=0;r<t.length;r++)if(Ji(e,t[r]))return!0;return!!Xi(e,t)}function Hi(e,t,n){return!!Ji(e,t)||!!Yi(t,e,n)}function $i(e,t){if(1===e.length)return Ki(t,e[0]);for(var n=0;n<t.length;n++)for(var r=t[n],o=0;o<r.length;o++)if(Ji(e,r[o]))return!0;for(var i=0;i<e.length;i++)if(Ki(t,e[i]))return!0;for(var a=0;a<t.length;a++)if(Xi(e,t[a]))return!0;return!1}function Vi(e,t,n){if(e.length>1){if(Xi(e,t))return!0;for(var r=0;r<t.length;r++)if(Yi(t[r],e,n))return!0}for(var o=0;o<e.length;o++)if(Yi(e[o],t,n))return!0;return!1}function Xi(e,t){if(0===e.length||0===t.length)return!1;for(var n=0;n<e.length-1;n++)for(var r=e[n],o=e[n+1],i=0;i<t.length-1;i++)if(Qi(r,o,t[i],t[i+1]))return!0;return!1}function Qi(e,t,n,r){return z(e,n,r)!==z(t,n,r)&&z(e,t,n)!==z(e,t,r)}function Yi(e,t,n){var r=n*n;if(1===t.length)return e.distSqr(t[0])<r;for(var o=1;o<t.length;o++)if(Gi(e,t[o-1],t[o])<r)return!0;return!1}function Gi(e,t,n){var r=t.distSqr(n);if(0===r)return e.distSqr(t);var o=((e.x-t.x)*(n.x-t.x)+(e.y-t.y)*(n.y-t.y))/r;return e.distSqr(o<0?t:o>1?n:n.sub(t)._mult(o)._add(t))}function Ki(e,t){for(var n,r,o,i=!1,a=0;a<e.length;a++)for(var s=0,l=(n=e[a]).length-1;s<n.length;l=s++)(r=n[s]).y>t.y!=(o=n[l]).y>t.y&&t.x<(o.x-r.x)*(t.y-r.y)/(o.y-r.y)+r.x&&(i=!i);return i}function Ji(e,t){for(var n=!1,r=0,o=e.length-1;r<e.length;o=r++){var i=e[r],a=e[o];i.y>t.y!=a.y>t.y&&t.x<(a.x-i.x)*(t.y-i.y)/(a.y-i.y)+i.x&&(n=!n)}return n}function ea(e,t,n){var r=n[0],o=n[2];if(e.x<r.x&&t.x<r.x||e.x>o.x&&t.x>o.x||e.y<r.y&&t.y<r.y||e.y>o.y&&t.y>o.y)return!1;var i=z(e,t,n[0]);return i!==z(e,t,n[1])||i!==z(e,t,n[2])||i!==z(e,t,n[3])}function ta(e,t,n){var r=t.paint.get(e).value;return"constant"===r.kind?r.value:n.programConfigurations.get(t.id).getMaxValue(e)}function na(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])}function ra(e,t,n,r,i){if(!t[0]&&!t[1])return e;var a=o.convert(t)._mult(i);"viewport"===n&&a._rotate(-r);for(var s=[],l=0;l<e.length;l++)s.push(e[l].sub(a));return s}Ui.prototype.populate=function(e,t,n){var r=this.layers[0],o=[],i=null;"circle"===r.type&&(i=r.layout.get("circle-sort-key"));for(var a=0,s=e;a<s.length;a+=1){var l=s[a],c=l.feature,u=l.id,d=l.index,p=l.sourceLayerIndex,f=this.layers[0]._featureFilter.needGeometry,h=Wi(c,f);if(this.layers[0]._featureFilter.filter(new so(this.zoom),h,n)){var b=i?i.evaluate(h,{},n):void 0,A={id:u,properties:c.properties,type:c.type,sourceLayerIndex:p,index:d,geometry:f?h.geometry:Ii(c),patterns:{},sortKey:b};o.push(A)}}i&&o.sort((function(e,t){return e.sortKey-t.sortKey}));for(var m=0,g=o;m<g.length;m+=1){var v=g[m],y=v.geometry,M=v.index,O=v.sourceLayerIndex,_=e[M].feature;this.addFeature(v,y,M,n),t.featureIndex.insert(_,y,M,O,this.index)}},Ui.prototype.update=function(e,t,n){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(e,t,this.stateDependentLayers,n)},Ui.prototype.isEmpty=function(){return 0===this.layoutVertexArray.length},Ui.prototype.uploadPending=function(){return!this.uploaded||this.programConfigurations.needsUpload},Ui.prototype.upload=function(e){this.uploaded||(this.layoutVertexBuffer=e.createVertexBuffer(this.layoutVertexArray,si),this.indexBuffer=e.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(e),this.uploaded=!0},Ui.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())},Ui.prototype.addFeature=function(e,t,n,r){for(var o=0,i=t;o<i.length;o+=1)for(var a=0,s=i[o];a<s.length;a+=1){var l=s[a],c=l.x,u=l.y;if(!(c<0||c>=8192||u<0||u>=8192)){var d=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray,e.sortKey),p=d.vertexLength;Fi(this.layoutVertexArray,c,u,-1,-1),Fi(this.layoutVertexArray,c,u,1,-1),Fi(this.layoutVertexArray,c,u,1,1),Fi(this.layoutVertexArray,c,u,-1,1),this.indexArray.emplaceBack(p,p+1,p+2),this.indexArray.emplaceBack(p,p+3,p+2),d.vertexLength+=4,d.primitiveLength+=2}}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,e,n,{},r)},qr("CircleBucket",Ui,{omit:["layers"]});var oa=new Oo({"circle-sort-key":new go(Ee.layout_circle["circle-sort-key"])}),ia={paint:new Oo({"circle-radius":new go(Ee.paint_circle["circle-radius"]),"circle-color":new go(Ee.paint_circle["circle-color"]),"circle-blur":new go(Ee.paint_circle["circle-blur"]),"circle-opacity":new go(Ee.paint_circle["circle-opacity"]),"circle-translate":new mo(Ee.paint_circle["circle-translate"]),"circle-translate-anchor":new mo(Ee.paint_circle["circle-translate-anchor"]),"circle-pitch-scale":new mo(Ee.paint_circle["circle-pitch-scale"]),"circle-pitch-alignment":new mo(Ee.paint_circle["circle-pitch-alignment"]),"circle-stroke-width":new go(Ee.paint_circle["circle-stroke-width"]),"circle-stroke-color":new go(Ee.paint_circle["circle-stroke-color"]),"circle-stroke-opacity":new go(Ee.paint_circle["circle-stroke-opacity"])}),layout:oa},aa="undefined"!=typeof Float32Array?Float32Array:Array;function sa(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}function la(e,t,n){var r=t[0],o=t[1],i=t[2],a=t[3],s=t[4],l=t[5],c=t[6],u=t[7],d=t[8],p=t[9],f=t[10],h=t[11],b=t[12],A=t[13],m=t[14],g=t[15],v=n[0],y=n[1],M=n[2],O=n[3];return e[0]=v*r+y*s+M*d+O*b,e[1]=v*o+y*l+M*p+O*A,e[2]=v*i+y*c+M*f+O*m,e[3]=v*a+y*u+M*h+O*g,e[4]=(v=n[4])*r+(y=n[5])*s+(M=n[6])*d+(O=n[7])*b,e[5]=v*o+y*l+M*p+O*A,e[6]=v*i+y*c+M*f+O*m,e[7]=v*a+y*u+M*h+O*g,e[8]=(v=n[8])*r+(y=n[9])*s+(M=n[10])*d+(O=n[11])*b,e[9]=v*o+y*l+M*p+O*A,e[10]=v*i+y*c+M*f+O*m,e[11]=v*a+y*u+M*h+O*g,e[12]=(v=n[12])*r+(y=n[13])*s+(M=n[14])*d+(O=n[15])*b,e[13]=v*o+y*l+M*p+O*A,e[14]=v*i+y*c+M*f+O*m,e[15]=v*a+y*u+M*h+O*g,e}Math.hypot||(Math.hypot=function(){for(var e=arguments,t=0,n=arguments.length;n--;)t+=e[n]*e[n];return Math.sqrt(t)});var ca,ua=la;function da(e,t,n){var r=t[0],o=t[1],i=t[2],a=t[3];return e[0]=n[0]*r+n[4]*o+n[8]*i+n[12]*a,e[1]=n[1]*r+n[5]*o+n[9]*i+n[13]*a,e[2]=n[2]*r+n[6]*o+n[10]*i+n[14]*a,e[3]=n[3]*r+n[7]*o+n[11]*i+n[15]*a,e}ca=new aa(3),aa!=Float32Array&&(ca[0]=0,ca[1]=0,ca[2]=0),function(){var e=new aa(4);aa!=Float32Array&&(e[0]=0,e[1]=0,e[2]=0,e[3]=0)}();var pa=(function(){var e=new aa(2);aa!=Float32Array&&(e[0]=0,e[1]=0)}(),function(e){function t(t){e.call(this,t,ia)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.createBucket=function(e){return new Ui(e)},t.prototype.queryRadius=function(e){var t=e;return ta("circle-radius",this,t)+ta("circle-stroke-width",this,t)+na(this.paint.get("circle-translate"))},t.prototype.queryIntersectsFeature=function(e,t,n,r,o,i,a,s){for(var l=ra(e,this.paint.get("circle-translate"),this.paint.get("circle-translate-anchor"),i.angle,a),c=this.paint.get("circle-radius").evaluate(t,n)+this.paint.get("circle-stroke-width").evaluate(t,n),u="map"===this.paint.get("circle-pitch-alignment"),d=u?l:function(e,t){return e.map((function(e){return fa(e,t)}))}(l,s),p=u?c*a:c,f=0,h=r;f<h.length;f+=1)for(var b=0,A=h[f];b<A.length;b+=1){var m=A[b],g=u?m:fa(m,s),v=p,y=da([],[m.x,m.y,0,1],s);if("viewport"===this.paint.get("circle-pitch-scale")&&"map"===this.paint.get("circle-pitch-alignment")?v*=y[3]/i.cameraToCenterDistance:"map"===this.paint.get("circle-pitch-scale")&&"viewport"===this.paint.get("circle-pitch-alignment")&&(v*=i.cameraToCenterDistance/y[3]),Hi(d,g,v))return!0}return!1},t}(_o));function fa(e,t){var n=da([],[e.x,e.y,0,1],t);return new o(n[0]/n[3],n[1]/n[3])}var ha=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t}(Ui);function ba(e,t,n,r){var o=t.width,i=t.height;if(r){if(r instanceof Uint8ClampedArray)r=new Uint8Array(r.buffer);else if(r.length!==o*i*n)throw new RangeError("mismatched image size")}else r=new Uint8Array(o*i*n);return e.width=o,e.height=i,e.data=r,e}function Aa(e,t,n){var r=t.width,o=t.height;if(r!==e.width||o!==e.height){var i=ba({},{width:r,height:o},n);ma(e,i,{x:0,y:0},{x:0,y:0},{width:Math.min(e.width,r),height:Math.min(e.height,o)},n),e.width=r,e.height=o,e.data=i.data}}function ma(e,t,n,r,o,i){if(0===o.width||0===o.height)return t;if(o.width>e.width||o.height>e.height||n.x>e.width-o.width||n.y>e.height-o.height)throw new RangeError("out of range source coordinates for image copy");if(o.width>t.width||o.height>t.height||r.x>t.width-o.width||r.y>t.height-o.height)throw new RangeError("out of range destination coordinates for image copy");for(var a=e.data,s=t.data,l=0;l<o.height;l++)for(var c=((n.y+l)*e.width+n.x)*i,u=((r.y+l)*t.width+r.x)*i,d=0;d<o.width*i;d++)s[u+d]=a[c+d];return t}qr("HeatmapBucket",ha,{omit:["layers"]});var ga=function(e,t){ba(this,e,1,t)};ga.prototype.resize=function(e){Aa(this,e,1)},ga.prototype.clone=function(){return new ga({width:this.width,height:this.height},new Uint8Array(this.data))},ga.copy=function(e,t,n,r,o){ma(e,t,n,r,o,1)};var va=function(e,t){ba(this,e,4,t)};va.prototype.resize=function(e){Aa(this,e,4)},va.prototype.replace=function(e,t){t?this.data.set(e):this.data=e instanceof Uint8ClampedArray?new Uint8Array(e.buffer):e},va.prototype.clone=function(){return new va({width:this.width,height:this.height},new Uint8Array(this.data))},va.copy=function(e,t,n,r,o){ma(e,t,n,r,o,4)},qr("AlphaImage",ga),qr("RGBAImage",va);var ya={paint:new Oo({"heatmap-radius":new go(Ee.paint_heatmap["heatmap-radius"]),"heatmap-weight":new go(Ee.paint_heatmap["heatmap-weight"]),"heatmap-intensity":new mo(Ee.paint_heatmap["heatmap-intensity"]),"heatmap-color":new Mo(Ee.paint_heatmap["heatmap-color"]),"heatmap-opacity":new mo(Ee.paint_heatmap["heatmap-opacity"])})};function Ma(e){var t={},n=e.resolution||256,r=e.clips?e.clips.length:1,o=e.image||new va({width:n,height:r}),i=function(n,r,i){t[e.evaluationKey]=i;var a=e.expression.evaluate(t);o.data[n+r+0]=Math.floor(255*a.r/a.a),o.data[n+r+1]=Math.floor(255*a.g/a.a),o.data[n+r+2]=Math.floor(255*a.b/a.a),o.data[n+r+3]=Math.floor(255*a.a)};if(e.clips)for(var a=0,s=0;a<r;++a,s+=4*n)for(var l=0,c=0;l<n;l++,c+=4){var u=l/(n-1),d=e.clips[a];i(s,c,d.start*(1-u)+d.end*u)}else for(var p=0,f=0;p<n;p++,f+=4)i(0,f,p/(n-1));return o}var Oa=function(e){function t(t){e.call(this,t,ya),this._updateColorRamp()}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.createBucket=function(e){return new ha(e)},t.prototype._handleSpecialPaintPropertyUpdate=function(e){"heatmap-color"===e&&this._updateColorRamp()},t.prototype._updateColorRamp=function(){this.colorRamp=Ma({expression:this._transitionablePaint._values["heatmap-color"].value.expression,evaluationKey:"heatmapDensity",image:this.colorRamp}),this.colorRampTexture=null},t.prototype.resize=function(){this.heatmapFbo&&(this.heatmapFbo.destroy(),this.heatmapFbo=null)},t.prototype.queryRadius=function(){return 0},t.prototype.queryIntersectsFeature=function(){return!1},t.prototype.hasOffscreenPass=function(){return 0!==this.paint.get("heatmap-opacity")&&"none"!==this.visibility},t}(_o),_a={paint:new Oo({"hillshade-illumination-direction":new mo(Ee.paint_hillshade["hillshade-illumination-direction"]),"hillshade-illumination-anchor":new mo(Ee.paint_hillshade["hillshade-illumination-anchor"]),"hillshade-exaggeration":new mo(Ee.paint_hillshade["hillshade-exaggeration"]),"hillshade-shadow-color":new mo(Ee.paint_hillshade["hillshade-shadow-color"]),"hillshade-highlight-color":new mo(Ee.paint_hillshade["hillshade-highlight-color"]),"hillshade-accent-color":new mo(Ee.paint_hillshade["hillshade-accent-color"])})},za=function(e){function t(t){e.call(this,t,_a)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.hasOffscreenPass=function(){return 0!==this.paint.get("hillshade-exaggeration")&&"none"!==this.visibility},t}(_o),xa=Co([{name:"a_pos",components:2,type:"Int16"}],4).members,wa=Sa,Ca=Sa;function Sa(e,t,n){n=n||2;var r,o,i,a,s,l,c,u=t&&t.length,d=u?t[0]*n:e.length,p=Ea(e,0,d,n,!0),f=[];if(!p||p.next===p.prev)return f;if(u&&(p=function(e,t,n,r){var o,i,a,s=[];for(o=0,i=t.length;o<i;o++)(a=Ea(e,t[o]*r,o<i-1?t[o+1]*r:e.length,r,!1))===a.next&&(a.steiner=!0),s.push(Ia(a));for(s.sort(La),o=0;o<s.length;o++)Ra(s[o],n),n=ka(n,n.next);return n}(e,t,p,n)),e.length>80*n){r=i=e[0],o=a=e[1];for(var h=n;h<d;h+=n)(s=e[h])<r&&(r=s),(l=e[h+1])<o&&(o=l),s>i&&(i=s),l>a&&(a=l);c=0!==(c=Math.max(i-r,a-o))?1/c:0}return Da(p,f,n,r,o,c),f}function Ea(e,t,n,r,o){var i,a;if(o===Ja(e,t,n,r)>0)for(i=t;i<n;i+=r)a=Ya(i,e[i],e[i+1],a);else for(i=n-r;i>=t;i-=r)a=Ya(i,e[i],e[i+1],a);return a&&Za(a,a.next)&&(Ga(a),a=a.next),a}function ka(e,t){if(!e)return e;t||(t=e);var n,r=e;do{if(n=!1,r.steiner||!Za(r,r.next)&&0!==Ua(r.prev,r,r.next))r=r.next;else{if(Ga(r),(r=t=r.prev)===r.next)break;n=!0}}while(n||r!==t);return t}function Da(e,t,n,r,o,i,a){if(e){!a&&i&&function(e,t,n,r){var o=e;do{null===o.z&&(o.z=Pa(o.x,o.y,t,n,r)),o.prevZ=o.prev,o.nextZ=o.next,o=o.next}while(o!==e);o.prevZ.nextZ=null,o.prevZ=null,function(e){var t,n,r,o,i,a,s,l,c=1;do{for(n=e,e=null,i=null,a=0;n;){for(a++,r=n,s=0,t=0;t<c&&(s++,r=r.nextZ);t++);for(l=c;s>0||l>0&&r;)0!==s&&(0===l||!r||n.z<=r.z)?(o=n,n=n.nextZ,s--):(o=r,r=r.nextZ,l--),i?i.nextZ=o:e=o,o.prevZ=i,i=o;n=r}i.nextZ=null,c*=2}while(a>1)}(o)}(e,r,o,i);for(var s,l,c=e;e.prev!==e.next;)if(s=e.prev,l=e.next,i?Ta(e,r,o,i):Na(e))t.push(s.i/n),t.push(e.i/n),t.push(l.i/n),Ga(e),e=l.next,c=l.next;else if((e=l)===c){a?1===a?Da(e=ja(ka(e),t,n),t,n,r,o,i,2):2===a&&Ba(e,t,n,r,o,i):Da(ka(e),t,n,r,o,i,1);break}}}function Na(e){var t=e.prev,n=e,r=e.next;if(Ua(t,n,r)>=0)return!1;for(var o=e.next.next;o!==e.prev;){if(Wa(t.x,t.y,n.x,n.y,r.x,r.y,o.x,o.y)&&Ua(o.prev,o,o.next)>=0)return!1;o=o.next}return!0}function Ta(e,t,n,r){var o=e.prev,i=e,a=e.next;if(Ua(o,i,a)>=0)return!1;for(var s=o.x>i.x?o.x>a.x?o.x:a.x:i.x>a.x?i.x:a.x,l=o.y>i.y?o.y>a.y?o.y:a.y:i.y>a.y?i.y:a.y,c=Pa(o.x<i.x?o.x<a.x?o.x:a.x:i.x<a.x?i.x:a.x,o.y<i.y?o.y<a.y?o.y:a.y:i.y<a.y?i.y:a.y,t,n,r),u=Pa(s,l,t,n,r),d=e.prevZ,p=e.nextZ;d&&d.z>=c&&p&&p.z<=u;){if(d!==e.prev&&d!==e.next&&Wa(o.x,o.y,i.x,i.y,a.x,a.y,d.x,d.y)&&Ua(d.prev,d,d.next)>=0)return!1;if(d=d.prevZ,p!==e.prev&&p!==e.next&&Wa(o.x,o.y,i.x,i.y,a.x,a.y,p.x,p.y)&&Ua(p.prev,p,p.next)>=0)return!1;p=p.nextZ}for(;d&&d.z>=c;){if(d!==e.prev&&d!==e.next&&Wa(o.x,o.y,i.x,i.y,a.x,a.y,d.x,d.y)&&Ua(d.prev,d,d.next)>=0)return!1;d=d.prevZ}for(;p&&p.z<=u;){if(p!==e.prev&&p!==e.next&&Wa(o.x,o.y,i.x,i.y,a.x,a.y,p.x,p.y)&&Ua(p.prev,p,p.next)>=0)return!1;p=p.nextZ}return!0}function ja(e,t,n){var r=e;do{var o=r.prev,i=r.next.next;!Za(o,i)&&Ha(o,r,r.next,i)&&Xa(o,i)&&Xa(i,o)&&(t.push(o.i/n),t.push(r.i/n),t.push(i.i/n),Ga(r),Ga(r.next),r=e=i),r=r.next}while(r!==e);return ka(r)}function Ba(e,t,n,r,o,i){var a=e;do{for(var s=a.next.next;s!==a.prev;){if(a.i!==s.i&&Fa(a,s)){var l=Qa(a,s);return a=ka(a,a.next),l=ka(l,l.next),Da(a,t,n,r,o,i),void Da(l,t,n,r,o,i)}s=s.next}a=a.next}while(a!==e)}function La(e,t){return e.x-t.x}function Ra(e,t){if(t=function(e,t){var n,r=t,o=e.x,i=e.y,a=-1/0;do{if(i<=r.y&&i>=r.next.y&&r.next.y!==r.y){var s=r.x+(i-r.y)*(r.next.x-r.x)/(r.next.y-r.y);if(s<=o&&s>a){if(a=s,s===o){if(i===r.y)return r;if(i===r.next.y)return r.next}n=r.x<r.next.x?r:r.next}}r=r.next}while(r!==t);if(!n)return null;if(o===a)return n;var l,c=n,u=n.x,d=n.y,p=1/0;r=n;do{o>=r.x&&r.x>=u&&o!==r.x&&Wa(i<d?o:a,i,u,d,i<d?a:o,i,r.x,r.y)&&(l=Math.abs(i-r.y)/(o-r.x),Xa(r,e)&&(l<p||l===p&&(r.x>n.x||r.x===n.x&&qa(n,r)))&&(n=r,p=l)),r=r.next}while(r!==c);return n}(e,t)){var n=Qa(t,e);ka(t,t.next),ka(n,n.next)}}function qa(e,t){return Ua(e.prev,e,t.prev)<0&&Ua(t.next,e,e.next)<0}function Pa(e,t,n,r,o){return(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=32767*(e-n)*o)|e<<8))|e<<4))|e<<2))|e<<1))|(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=32767*(t-r)*o)|t<<8))|t<<4))|t<<2))|t<<1))<<1}function Ia(e){var t=e,n=e;do{(t.x<n.x||t.x===n.x&&t.y<n.y)&&(n=t),t=t.next}while(t!==e);return n}function Wa(e,t,n,r,o,i,a,s){return(o-a)*(t-s)-(e-a)*(i-s)>=0&&(e-a)*(r-s)-(n-a)*(t-s)>=0&&(n-a)*(i-s)-(o-a)*(r-s)>=0}function Fa(e,t){return e.next.i!==t.i&&e.prev.i!==t.i&&!function(e,t){var n=e;do{if(n.i!==e.i&&n.next.i!==e.i&&n.i!==t.i&&n.next.i!==t.i&&Ha(n,n.next,e,t))return!0;n=n.next}while(n!==e);return!1}(e,t)&&(Xa(e,t)&&Xa(t,e)&&function(e,t){var n=e,r=!1,o=(e.x+t.x)/2,i=(e.y+t.y)/2;do{n.y>i!=n.next.y>i&&n.next.y!==n.y&&o<(n.next.x-n.x)*(i-n.y)/(n.next.y-n.y)+n.x&&(r=!r),n=n.next}while(n!==e);return r}(e,t)&&(Ua(e.prev,e,t.prev)||Ua(e,t.prev,t))||Za(e,t)&&Ua(e.prev,e,e.next)>0&&Ua(t.prev,t,t.next)>0)}function Ua(e,t,n){return(t.y-e.y)*(n.x-t.x)-(t.x-e.x)*(n.y-t.y)}function Za(e,t){return e.x===t.x&&e.y===t.y}function Ha(e,t,n,r){var o=Va(Ua(e,t,n)),i=Va(Ua(e,t,r)),a=Va(Ua(n,r,e)),s=Va(Ua(n,r,t));return o!==i&&a!==s||!(0!==o||!$a(e,n,t))||!(0!==i||!$a(e,r,t))||!(0!==a||!$a(n,e,r))||!(0!==s||!$a(n,t,r))}function $a(e,t,n){return t.x<=Math.max(e.x,n.x)&&t.x>=Math.min(e.x,n.x)&&t.y<=Math.max(e.y,n.y)&&t.y>=Math.min(e.y,n.y)}function Va(e){return e>0?1:e<0?-1:0}function Xa(e,t){return Ua(e.prev,e,e.next)<0?Ua(e,t,e.next)>=0&&Ua(e,e.prev,t)>=0:Ua(e,t,e.prev)<0||Ua(e,e.next,t)<0}function Qa(e,t){var n=new Ka(e.i,e.x,e.y),r=new Ka(t.i,t.x,t.y),o=e.next,i=t.prev;return e.next=t,t.prev=e,n.next=o,o.prev=n,r.next=n,n.prev=r,i.next=r,r.prev=i,r}function Ya(e,t,n,r){var o=new Ka(e,t,n);return r?(o.next=r.next,o.prev=r,r.next.prev=o,r.next=o):(o.prev=o,o.next=o),o}function Ga(e){e.next.prev=e.prev,e.prev.next=e.next,e.prevZ&&(e.prevZ.nextZ=e.nextZ),e.nextZ&&(e.nextZ.prevZ=e.prevZ)}function Ka(e,t,n){this.i=e,this.x=t,this.y=n,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function Ja(e,t,n,r){for(var o=0,i=t,a=n-r;i<n;i+=r)o+=(e[a]-e[i])*(e[i+1]+e[a+1]),a=i;return o}function es(e,t,n,r,o){!function e(t,n,r,o,i){for(;o>r;){if(o-r>600){var a=o-r+1,s=n-r+1,l=Math.log(a),c=.5*Math.exp(2*l/3),u=.5*Math.sqrt(l*c*(a-c)/a)*(s-a/2<0?-1:1);e(t,n,Math.max(r,Math.floor(n-s*c/a+u)),Math.min(o,Math.floor(n+(a-s)*c/a+u)),i)}var d=t[n],p=r,f=o;for(ts(t,r,n),i(t[o],d)>0&&ts(t,r,o);p<f;){for(ts(t,p,f),p++,f--;i(t[p],d)<0;)p++;for(;i(t[f],d)>0;)f--}0===i(t[r],d)?ts(t,r,f):ts(t,++f,o),f<=n&&(r=f+1),n<=f&&(o=f-1)}}(e,t,n||0,r||e.length-1,o||ns)}function ts(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function ns(e,t){return e<t?-1:e>t?1:0}function rs(e,t){var n=e.length;if(n<=1)return[e];for(var r,o,i=[],a=0;a<n;a++){var s=x(e[a]);0!==s&&(e[a].area=Math.abs(s),void 0===o&&(o=s<0),o===s<0?(r&&i.push(r),r=[e[a]]):r.push(e[a]))}if(r&&i.push(r),t>1)for(var l=0;l<i.length;l++)i[l].length<=t||(es(i[l],t,1,i[l].length-1,os),i[l]=i[l].slice(0,t));return i}function os(e,t){return t.area-e.area}function is(e,t,n){for(var r=n.patternDependencies,o=!1,i=0,a=t;i<a.length;i+=1){var s=a[i].paint.get(e+"-pattern");s.isConstant()||(o=!0);var l=s.constantOr(null);l&&(o=!0,r[l.to]=!0,r[l.from]=!0)}return o}function as(e,t,n,r,o){for(var i=o.patternDependencies,a=0,s=t;a<s.length;a+=1){var l=s[a],c=l.paint.get(e+"-pattern").value;if("constant"!==c.kind){var u=c.evaluate({zoom:r-1},n,{},o.availableImages),d=c.evaluate({zoom:r},n,{},o.availableImages),p=c.evaluate({zoom:r+1},n,{},o.availableImages);d=d&&d.name?d.name:d,p=p&&p.name?p.name:p,i[u=u&&u.name?u.name:u]=!0,i[d]=!0,i[p]=!0,n.patterns[l.id]={min:u,mid:d,max:p}}}return n}Sa.deviation=function(e,t,n,r){var o=t&&t.length,i=Math.abs(Ja(e,0,o?t[0]*n:e.length,n));if(o)for(var a=0,s=t.length;a<s;a++)i-=Math.abs(Ja(e,t[a]*n,a<s-1?t[a+1]*n:e.length,n));var l=0;for(a=0;a<r.length;a+=3){var c=r[a]*n,u=r[a+1]*n,d=r[a+2]*n;l+=Math.abs((e[c]-e[d])*(e[u+1]-e[c+1])-(e[c]-e[u])*(e[d+1]-e[c+1]))}return 0===i&&0===l?0:Math.abs((l-i)/i)},Sa.flatten=function(e){for(var t=e[0][0].length,n={vertices:[],holes:[],dimensions:t},r=0,o=0;o<e.length;o++){for(var i=0;i<e[o].length;i++)for(var a=0;a<t;a++)n.vertices.push(e[o][i][a]);o>0&&n.holes.push(r+=e[o-1].length)}return n},wa.default=Ca;var ss=function(e){this.zoom=e.zoom,this.overscaling=e.overscaling,this.layers=e.layers,this.layerIds=this.layers.map((function(e){return e.id})),this.index=e.index,this.hasPattern=!1,this.patternFeatures=[],this.layoutVertexArray=new Eo,this.indexArray=new Fo,this.indexArray2=new Xo,this.programConfigurations=new Bi(e.layers,e.zoom),this.segments=new li,this.segments2=new li,this.stateDependentLayerIds=this.layers.filter((function(e){return e.isStateDependent()})).map((function(e){return e.id}))};ss.prototype.populate=function(e,t,n){this.hasPattern=is("fill",this.layers,t);for(var r=this.layers[0].layout.get("fill-sort-key"),o=[],i=0,a=e;i<a.length;i+=1){var s=a[i],l=s.feature,c=s.id,u=s.index,d=s.sourceLayerIndex,p=this.layers[0]._featureFilter.needGeometry,f=Wi(l,p);if(this.layers[0]._featureFilter.filter(new so(this.zoom),f,n)){var h=r?r.evaluate(f,{},n,t.availableImages):void 0,b={id:c,properties:l.properties,type:l.type,sourceLayerIndex:d,index:u,geometry:p?f.geometry:Ii(l),patterns:{},sortKey:h};o.push(b)}}r&&o.sort((function(e,t){return e.sortKey-t.sortKey}));for(var A=0,m=o;A<m.length;A+=1){var g=m[A],v=g.geometry,y=g.index,M=g.sourceLayerIndex;if(this.hasPattern){var O=as("fill",this.layers,g,this.zoom,t);this.patternFeatures.push(O)}else this.addFeature(g,v,y,n,{});t.featureIndex.insert(e[y].feature,v,y,M,this.index)}},ss.prototype.update=function(e,t,n){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(e,t,this.stateDependentLayers,n)},ss.prototype.addFeatures=function(e,t,n){for(var r=0,o=this.patternFeatures;r<o.length;r+=1){var i=o[r];this.addFeature(i,i.geometry,i.index,t,n)}},ss.prototype.isEmpty=function(){return 0===this.layoutVertexArray.length},ss.prototype.uploadPending=function(){return!this.uploaded||this.programConfigurations.needsUpload},ss.prototype.upload=function(e){this.uploaded||(this.layoutVertexBuffer=e.createVertexBuffer(this.layoutVertexArray,xa),this.indexBuffer=e.createIndexBuffer(this.indexArray),this.indexBuffer2=e.createIndexBuffer(this.indexArray2)),this.programConfigurations.upload(e),this.uploaded=!0},ss.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.indexBuffer2.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.segments2.destroy())},ss.prototype.addFeature=function(e,t,n,r,o){for(var i=0,a=rs(t,500);i<a.length;i+=1){for(var s=a[i],l=0,c=0,u=s;c<u.length;c+=1)l+=u[c].length;for(var d=this.segments.prepareSegment(l,this.layoutVertexArray,this.indexArray),p=d.vertexLength,f=[],h=[],b=0,A=s;b<A.length;b+=1){var m=A[b];if(0!==m.length){m!==s[0]&&h.push(f.length/2);var g=this.segments2.prepareSegment(m.length,this.layoutVertexArray,this.indexArray2),v=g.vertexLength;this.layoutVertexArray.emplaceBack(m[0].x,m[0].y),this.indexArray2.emplaceBack(v+m.length-1,v),f.push(m[0].x),f.push(m[0].y);for(var y=1;y<m.length;y++)this.layoutVertexArray.emplaceBack(m[y].x,m[y].y),this.indexArray2.emplaceBack(v+y-1,v+y),f.push(m[y].x),f.push(m[y].y);g.vertexLength+=m.length,g.primitiveLength+=m.length}}for(var M=wa(f,h),O=0;O<M.length;O+=3)this.indexArray.emplaceBack(p+M[O],p+M[O+1],p+M[O+2]);d.vertexLength+=l,d.primitiveLength+=M.length/3}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,e,n,o,r)},qr("FillBucket",ss,{omit:["layers","patternFeatures"]});var ls=new Oo({"fill-sort-key":new go(Ee.layout_fill["fill-sort-key"])}),cs={paint:new Oo({"fill-antialias":new mo(Ee.paint_fill["fill-antialias"]),"fill-opacity":new go(Ee.paint_fill["fill-opacity"]),"fill-color":new go(Ee.paint_fill["fill-color"]),"fill-outline-color":new go(Ee.paint_fill["fill-outline-color"]),"fill-translate":new mo(Ee.paint_fill["fill-translate"]),"fill-translate-anchor":new mo(Ee.paint_fill["fill-translate-anchor"]),"fill-pattern":new vo(Ee.paint_fill["fill-pattern"])}),layout:ls},us=function(e){function t(t){e.call(this,t,cs)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.recalculate=function(t,n){e.prototype.recalculate.call(this,t,n);var r=this.paint._values["fill-outline-color"];"constant"===r.value.kind&&void 0===r.value.value&&(this.paint._values["fill-outline-color"]=this.paint._values["fill-color"])},t.prototype.createBucket=function(e){return new ss(e)},t.prototype.queryRadius=function(){return na(this.paint.get("fill-translate"))},t.prototype.queryIntersectsFeature=function(e,t,n,r,o,i,a){return $i(ra(e,this.paint.get("fill-translate"),this.paint.get("fill-translate-anchor"),i.angle,a),r)},t.prototype.isTileClipped=function(){return!0},t}(_o),ds=Co([{name:"a_pos",components:2,type:"Int16"},{name:"a_normal_ed",components:4,type:"Int16"}],4).members,ps=fs;function fs(e,t,n,r,o){this.properties={},this.extent=n,this.type=0,this._pbf=e,this._geometry=-1,this._keys=r,this._values=o,e.readFields(hs,this,t)}function hs(e,t,n){1==e?t.id=n.readVarint():2==e?function(e,t){for(var n=e.readVarint()+e.pos;e.pos<n;){var r=t._keys[e.readVarint()],o=t._values[e.readVarint()];t.properties[r]=o}}(n,t):3==e?t.type=n.readVarint():4==e&&(t._geometry=n.pos)}function bs(e){for(var t,n,r=0,o=0,i=e.length,a=i-1;o<i;a=o++)r+=((n=e[a]).x-(t=e[o]).x)*(t.y+n.y);return r}fs.types=["Unknown","Point","LineString","Polygon"],fs.prototype.loadGeometry=function(){var e=this._pbf;e.pos=this._geometry;for(var t,n=e.readVarint()+e.pos,r=1,i=0,a=0,s=0,l=[];e.pos<n;){if(i<=0){var c=e.readVarint();r=7&c,i=c>>3}if(i--,1===r||2===r)a+=e.readSVarint(),s+=e.readSVarint(),1===r&&(t&&l.push(t),t=[]),t.push(new o(a,s));else{if(7!==r)throw new Error("unknown command "+r);t&&t.push(t[0].clone())}}return t&&l.push(t),l},fs.prototype.bbox=function(){var e=this._pbf;e.pos=this._geometry;for(var t=e.readVarint()+e.pos,n=1,r=0,o=0,i=0,a=1/0,s=-1/0,l=1/0,c=-1/0;e.pos<t;){if(r<=0){var u=e.readVarint();n=7&u,r=u>>3}if(r--,1===n||2===n)(o+=e.readSVarint())<a&&(a=o),o>s&&(s=o),(i+=e.readSVarint())<l&&(l=i),i>c&&(c=i);else if(7!==n)throw new Error("unknown command "+n)}return[a,l,s,c]},fs.prototype.toGeoJSON=function(e,t,n){var r,o,i=this.extent*Math.pow(2,n),a=this.extent*e,s=this.extent*t,l=this.loadGeometry(),c=fs.types[this.type];function u(e){for(var t=0;t<e.length;t++){var n=e[t];e[t]=[360*(n.x+a)/i-180,360/Math.PI*Math.atan(Math.exp((180-360*(n.y+s)/i)*Math.PI/180))-90]}}switch(this.type){case 1:var d=[];for(r=0;r<l.length;r++)d[r]=l[r][0];u(l=d);break;case 2:for(r=0;r<l.length;r++)u(l[r]);break;case 3:for(l=function(e){var t=e.length;if(t<=1)return[e];for(var n,r,o=[],i=0;i<t;i++){var a=bs(e[i]);0!==a&&(void 0===r&&(r=a<0),r===a<0?(n&&o.push(n),n=[e[i]]):n.push(e[i]))}return n&&o.push(n),o}(l),r=0;r<l.length;r++)for(o=0;o<l[r].length;o++)u(l[r][o])}1===l.length?l=l[0]:c="Multi"+c;var p={type:"Feature",geometry:{type:c,coordinates:l},properties:this.properties};return"id"in this&&(p.id=this.id),p};var As=ms;function ms(e,t){this.version=1,this.name=null,this.extent=4096,this.length=0,this._pbf=e,this._keys=[],this._values=[],this._features=[],e.readFields(gs,this,t),this.length=this._features.length}function gs(e,t,n){15===e?t.version=n.readVarint():1===e?t.name=n.readString():5===e?t.extent=n.readVarint():2===e?t._features.push(n.pos):3===e?t._keys.push(n.readString()):4===e&&t._values.push(function(e){for(var t=null,n=e.readVarint()+e.pos;e.pos<n;){var r=e.readVarint()>>3;t=1===r?e.readString():2===r?e.readFloat():3===r?e.readDouble():4===r?e.readVarint64():5===r?e.readVarint():6===r?e.readSVarint():7===r?e.readBoolean():null}return t}(n))}function vs(e,t,n){if(3===e){var r=new As(n,n.readVarint()+n.pos);r.length&&(t[r.name]=r)}}ms.prototype.feature=function(e){if(e<0||e>=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[e];var t=this._pbf.readVarint()+this._pbf.pos;return new ps(this._pbf,t,this.extent,this._keys,this._values)};var ys={VectorTile:function(e,t){this.layers=e.readFields(vs,{},t)},VectorTileFeature:ps,VectorTileLayer:As},Ms=ys.VectorTileFeature.types,Os=Math.pow(2,13);function _s(e,t,n,r,o,i,a,s){e.emplaceBack(t,n,2*Math.floor(r*Os)+a,o*Os*2,i*Os*2,Math.round(s))}var zs=function(e){this.zoom=e.zoom,this.overscaling=e.overscaling,this.layers=e.layers,this.layerIds=this.layers.map((function(e){return e.id})),this.index=e.index,this.hasPattern=!1,this.layoutVertexArray=new Do,this.indexArray=new Fo,this.programConfigurations=new Bi(e.layers,e.zoom),this.segments=new li,this.stateDependentLayerIds=this.layers.filter((function(e){return e.isStateDependent()})).map((function(e){return e.id}))};function xs(e,t){return e.x===t.x&&(e.x<0||e.x>8192)||e.y===t.y&&(e.y<0||e.y>8192)}zs.prototype.populate=function(e,t,n){this.features=[],this.hasPattern=is("fill-extrusion",this.layers,t);for(var r=0,o=e;r<o.length;r+=1){var i=o[r],a=i.feature,s=i.id,l=i.index,c=i.sourceLayerIndex,u=this.layers[0]._featureFilter.needGeometry,d=Wi(a,u);if(this.layers[0]._featureFilter.filter(new so(this.zoom),d,n)){var p={id:s,sourceLayerIndex:c,index:l,geometry:u?d.geometry:Ii(a),properties:a.properties,type:a.type,patterns:{}};this.hasPattern?this.features.push(as("fill-extrusion",this.layers,p,this.zoom,t)):this.addFeature(p,p.geometry,l,n,{}),t.featureIndex.insert(a,p.geometry,l,c,this.index,!0)}}},zs.prototype.addFeatures=function(e,t,n){for(var r=0,o=this.features;r<o.length;r+=1){var i=o[r];this.addFeature(i,i.geometry,i.index,t,n)}},zs.prototype.update=function(e,t,n){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(e,t,this.stateDependentLayers,n)},zs.prototype.isEmpty=function(){return 0===this.layoutVertexArray.length},zs.prototype.uploadPending=function(){return!this.uploaded||this.programConfigurations.needsUpload},zs.prototype.upload=function(e){this.uploaded||(this.layoutVertexBuffer=e.createVertexBuffer(this.layoutVertexArray,ds),this.indexBuffer=e.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(e),this.uploaded=!0},zs.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())},zs.prototype.addFeature=function(e,t,n,r,o){for(var i=0,a=rs(t,500);i<a.length;i+=1){for(var s=a[i],l=0,c=0,u=s;c<u.length;c+=1)l+=u[c].length;for(var d=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray),p=0,f=s;p<f.length;p+=1){var h=f[p];if(0!==h.length&&!((N=h).every((function(e){return e.x<0}))||N.every((function(e){return e.x>8192}))||N.every((function(e){return e.y<0}))||N.every((function(e){return e.y>8192}))))for(var b=0,A=0;A<h.length;A++){var m=h[A];if(A>=1){var g=h[A-1];if(!xs(m,g)){d.vertexLength+4>li.MAX_VERTEX_ARRAY_LENGTH&&(d=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray));var v=m.sub(g)._perp()._unit(),y=g.dist(m);b+y>32768&&(b=0),_s(this.layoutVertexArray,m.x,m.y,v.x,v.y,0,0,b),_s(this.layoutVertexArray,m.x,m.y,v.x,v.y,0,1,b),_s(this.layoutVertexArray,g.x,g.y,v.x,v.y,0,0,b+=y),_s(this.layoutVertexArray,g.x,g.y,v.x,v.y,0,1,b);var M=d.vertexLength;this.indexArray.emplaceBack(M,M+2,M+1),this.indexArray.emplaceBack(M+1,M+2,M+3),d.vertexLength+=4,d.primitiveLength+=2}}}}if(d.vertexLength+l>li.MAX_VERTEX_ARRAY_LENGTH&&(d=this.segments.prepareSegment(l,this.layoutVertexArray,this.indexArray)),"Polygon"===Ms[e.type]){for(var O=[],_=[],z=d.vertexLength,x=0,w=s;x<w.length;x+=1){var C=w[x];if(0!==C.length){C!==s[0]&&_.push(O.length/2);for(var S=0;S<C.length;S++){var E=C[S];_s(this.layoutVertexArray,E.x,E.y,0,0,1,1,0),O.push(E.x),O.push(E.y)}}}for(var k=wa(O,_),D=0;D<k.length;D+=3)this.indexArray.emplaceBack(z+k[D],z+k[D+2],z+k[D+1]);d.primitiveLength+=k.length/3,d.vertexLength+=l}}var N;this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,e,n,o,r)},qr("FillExtrusionBucket",zs,{omit:["layers","features"]});var ws={paint:new Oo({"fill-extrusion-opacity":new mo(Ee["paint_fill-extrusion"]["fill-extrusion-opacity"]),"fill-extrusion-color":new go(Ee["paint_fill-extrusion"]["fill-extrusion-color"]),"fill-extrusion-translate":new mo(Ee["paint_fill-extrusion"]["fill-extrusion-translate"]),"fill-extrusion-translate-anchor":new mo(Ee["paint_fill-extrusion"]["fill-extrusion-translate-anchor"]),"fill-extrusion-pattern":new vo(Ee["paint_fill-extrusion"]["fill-extrusion-pattern"]),"fill-extrusion-height":new go(Ee["paint_fill-extrusion"]["fill-extrusion-height"]),"fill-extrusion-base":new go(Ee["paint_fill-extrusion"]["fill-extrusion-base"]),"fill-extrusion-vertical-gradient":new mo(Ee["paint_fill-extrusion"]["fill-extrusion-vertical-gradient"])})},Cs=function(e){function t(t){e.call(this,t,ws)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.createBucket=function(e){return new zs(e)},t.prototype.queryRadius=function(){return na(this.paint.get("fill-extrusion-translate"))},t.prototype.is3D=function(){return!0},t.prototype.queryIntersectsFeature=function(e,t,n,r,i,a,s,l){var c=ra(e,this.paint.get("fill-extrusion-translate"),this.paint.get("fill-extrusion-translate-anchor"),a.angle,s),u=this.paint.get("fill-extrusion-height").evaluate(t,n),d=this.paint.get("fill-extrusion-base").evaluate(t,n),p=function(e,t,n,r){for(var i=[],a=0,s=e;a<s.length;a+=1){var l=s[a],c=[l.x,l.y,0,1];da(c,c,t),i.push(new o(c[0]/c[3],c[1]/c[3]))}return i}(c,l),f=function(e,t,n,r){for(var i=[],a=[],s=r[8]*t,l=r[9]*t,c=r[10]*t,u=r[11]*t,d=r[8]*n,p=r[9]*n,f=r[10]*n,h=r[11]*n,b=0,A=e;b<A.length;b+=1){for(var m=[],g=[],v=0,y=A[b];v<y.length;v+=1){var M=y[v],O=M.x,_=M.y,z=r[0]*O+r[4]*_+r[12],x=r[1]*O+r[5]*_+r[13],w=r[2]*O+r[6]*_+r[14],C=r[3]*O+r[7]*_+r[15],S=w+c,E=C+u,k=z+d,D=x+p,N=w+f,T=C+h,j=new o((z+s)/E,(x+l)/E);j.z=S/E,m.push(j);var B=new o(k/T,D/T);B.z=N/T,g.push(B)}i.push(m),a.push(g)}return[i,a]}(r,d,u,l);return function(e,t,n){var r=1/0;$i(n,t)&&(r=Es(n,t[0]));for(var o=0;o<t.length;o++)for(var i=t[o],a=e[o],s=0;s<i.length-1;s++){var l=i[s],c=[l,i[s+1],a[s+1],a[s],l];Zi(n,c)&&(r=Math.min(r,Es(n,c)))}return r!==1/0&&r}(f[0],f[1],p)},t}(_o);function Ss(e,t){return e.x*t.x+e.y*t.y}function Es(e,t){if(1===e.length){for(var n,r=0,o=t[r++];!n||o.equals(n);)if(!(n=t[r++]))return 1/0;for(;r<t.length;r++){var i=t[r],a=e[0],s=n.sub(o),l=i.sub(o),c=a.sub(o),u=Ss(s,s),d=Ss(s,l),p=Ss(l,l),f=Ss(c,s),h=Ss(c,l),b=u*p-d*d,A=(p*f-d*h)/b,m=(u*h-d*f)/b,g=o.z*(1-A-m)+n.z*A+i.z*m;if(isFinite(g))return g}return 1/0}for(var v=1/0,y=0,M=t;y<M.length;y+=1)v=Math.min(v,M[y].z);return v}var ks=Co([{name:"a_pos_normal",components:2,type:"Int16"},{name:"a_data",components:4,type:"Uint8"}],4).members,Ds=Co([{name:"a_uv_x",components:1,type:"Float32"},{name:"a_split_index",components:1,type:"Float32"}]).members,Ns=ys.VectorTileFeature.types,Ts=Math.cos(Math.PI/180*37.5),js=Math.pow(2,14)/.5,Bs=function(e){var t=this;this.zoom=e.zoom,this.overscaling=e.overscaling,this.layers=e.layers,this.layerIds=this.layers.map((function(e){return e.id})),this.index=e.index,this.hasPattern=!1,this.patternFeatures=[],this.lineClipsArray=[],this.gradients={},this.layers.forEach((function(e){t.gradients[e.id]={}})),this.layoutVertexArray=new No,this.layoutVertexArray2=new To,this.indexArray=new Fo,this.programConfigurations=new Bi(e.layers,e.zoom),this.segments=new li,this.maxLineLength=0,this.stateDependentLayerIds=this.layers.filter((function(e){return e.isStateDependent()})).map((function(e){return e.id}))};Bs.prototype.populate=function(e,t,n){this.hasPattern=is("line",this.layers,t);for(var r=this.layers[0].layout.get("line-sort-key"),o=[],i=0,a=e;i<a.length;i+=1){var s=a[i],l=s.feature,c=s.id,u=s.index,d=s.sourceLayerIndex,p=this.layers[0]._featureFilter.needGeometry,f=Wi(l,p);if(this.layers[0]._featureFilter.filter(new so(this.zoom),f,n)){var h=r?r.evaluate(f,{},n):void 0,b={id:c,properties:l.properties,type:l.type,sourceLayerIndex:d,index:u,geometry:p?f.geometry:Ii(l),patterns:{},sortKey:h};o.push(b)}}r&&o.sort((function(e,t){return e.sortKey-t.sortKey}));for(var A=0,m=o;A<m.length;A+=1){var g=m[A],v=g.geometry,y=g.index,M=g.sourceLayerIndex;if(this.hasPattern){var O=as("line",this.layers,g,this.zoom,t);this.patternFeatures.push(O)}else this.addFeature(g,v,y,n,{});t.featureIndex.insert(e[y].feature,v,y,M,this.index)}},Bs.prototype.update=function(e,t,n){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(e,t,this.stateDependentLayers,n)},Bs.prototype.addFeatures=function(e,t,n){for(var r=0,o=this.patternFeatures;r<o.length;r+=1){var i=o[r];this.addFeature(i,i.geometry,i.index,t,n)}},Bs.prototype.isEmpty=function(){return 0===this.layoutVertexArray.length},Bs.prototype.uploadPending=function(){return!this.uploaded||this.programConfigurations.needsUpload},Bs.prototype.upload=function(e){this.uploaded||(0!==this.layoutVertexArray2.length&&(this.layoutVertexBuffer2=e.createVertexBuffer(this.layoutVertexArray2,Ds)),this.layoutVertexBuffer=e.createVertexBuffer(this.layoutVertexArray,ks),this.indexBuffer=e.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(e),this.uploaded=!0},Bs.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())},Bs.prototype.lineFeatureClips=function(e){if(e.properties&&e.properties.hasOwnProperty("mapbox_clip_start")&&e.properties.hasOwnProperty("mapbox_clip_end"))return{start:+e.properties.mapbox_clip_start,end:+e.properties.mapbox_clip_end}},Bs.prototype.addFeature=function(e,t,n,r,o){var i=this.layers[0].layout,a=i.get("line-join").evaluate(e,{}),s=i.get("line-cap"),l=i.get("line-miter-limit"),c=i.get("line-round-limit");this.lineClips=this.lineFeatureClips(e);for(var u=0,d=t;u<d.length;u+=1)this.addLine(d[u],e,a,s,l,c);this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,e,n,o,r)},Bs.prototype.addLine=function(e,t,n,r,o,i){if(this.distance=0,this.scaledDistance=0,this.totalDistance=0,this.lineClips){this.lineClipsArray.push(this.lineClips);for(var a=0;a<e.length-1;a++)this.totalDistance+=e[a].dist(e[a+1]);this.updateScaledDistance(),this.maxLineLength=Math.max(this.maxLineLength,this.totalDistance)}for(var s="Polygon"===Ns[t.type],l=e.length;l>=2&&e[l-1].equals(e[l-2]);)l--;for(var c=0;c<l-1&&e[c].equals(e[c+1]);)c++;if(!(l<(s?3:2))){"bevel"===n&&(o=1.05);var u,d=this.overscaling<=16?122880/(512*this.overscaling):0,p=this.segments.prepareSegment(10*l,this.layoutVertexArray,this.indexArray),f=void 0,h=void 0,b=void 0,A=void 0;this.e1=this.e2=-1,s&&(A=e[c].sub(u=e[l-2])._unit()._perp());for(var m=c;m<l;m++)if(!(h=m===l-1?s?e[c+1]:void 0:e[m+1])||!e[m].equals(h)){A&&(b=A),u&&(f=u),u=e[m],A=h?h.sub(u)._unit()._perp():b;var g=(b=b||A).add(A);0===g.x&&0===g.y||g._unit();var v=b.x*A.x+b.y*A.y,y=g.x*A.x+g.y*A.y,M=0!==y?1/y:1/0,O=2*Math.sqrt(2-2*y),_=y<Ts&&f&&h,z=b.x*A.y-b.y*A.x>0;if(_&&m>c){var x=u.dist(f);if(x>2*d){var w=u.sub(u.sub(f)._mult(d/x)._round());this.updateDistance(f,w),this.addCurrentVertex(w,b,0,0,p),f=w}}var C=f&&h,S=C?n:s?"butt":r;if(C&&"round"===S&&(M<i?S="miter":M<=2&&(S="fakeround")),"miter"===S&&M>o&&(S="bevel"),"bevel"===S&&(M>2&&(S="flipbevel"),M<o&&(S="miter")),f&&this.updateDistance(f,u),"miter"===S)g._mult(M),this.addCurrentVertex(u,g,0,0,p);else if("flipbevel"===S){if(M>100)g=A.mult(-1);else{var E=M*b.add(A).mag()/b.sub(A).mag();g._perp()._mult(E*(z?-1:1))}this.addCurrentVertex(u,g,0,0,p),this.addCurrentVertex(u,g.mult(-1),0,0,p)}else if("bevel"===S||"fakeround"===S){var k=-Math.sqrt(M*M-1),D=z?k:0,N=z?0:k;if(f&&this.addCurrentVertex(u,b,D,N,p),"fakeround"===S)for(var T=Math.round(180*O/Math.PI/20),j=1;j<T;j++){var B=j/T;if(.5!==B){var L=B-.5;B+=B*L*(B-1)*((1.0904+v*(v*(3.55645-1.43519*v)-3.2452))*L*L+(.848013+v*(.215638*v-1.06021)))}var R=A.sub(b)._mult(B)._add(b)._unit()._mult(z?-1:1);this.addHalfVertex(u,R.x,R.y,!1,z,0,p)}h&&this.addCurrentVertex(u,A,-D,-N,p)}else if("butt"===S)this.addCurrentVertex(u,g,0,0,p);else if("square"===S){var q=f?1:-1;this.addCurrentVertex(u,g,q,q,p)}else"round"===S&&(f&&(this.addCurrentVertex(u,b,0,0,p),this.addCurrentVertex(u,b,1,1,p,!0)),h&&(this.addCurrentVertex(u,A,-1,-1,p,!0),this.addCurrentVertex(u,A,0,0,p)));if(_&&m<l-1){var P=u.dist(h);if(P>2*d){var I=u.add(h.sub(u)._mult(d/P)._round());this.updateDistance(u,I),this.addCurrentVertex(I,A,0,0,p),u=I}}}}},Bs.prototype.addCurrentVertex=function(e,t,n,r,o,i){void 0===i&&(i=!1);var a=t.y*r-t.x,s=-t.y-t.x*r;this.addHalfVertex(e,t.x+t.y*n,t.y-t.x*n,i,!1,n,o),this.addHalfVertex(e,a,s,i,!0,-r,o),this.distance>js/2&&0===this.totalDistance&&(this.distance=0,this.addCurrentVertex(e,t,n,r,o,i))},Bs.prototype.addHalfVertex=function(e,t,n,r,o,i,a){var s=.5*(this.lineClips?this.scaledDistance*(js-1):this.scaledDistance);this.layoutVertexArray.emplaceBack((e.x<<1)+(r?1:0),(e.y<<1)+(o?1:0),Math.round(63*t)+128,Math.round(63*n)+128,1+(0===i?0:i<0?-1:1)|(63&s)<<2,s>>6),this.lineClips&&this.layoutVertexArray2.emplaceBack((this.scaledDistance-this.lineClips.start)/(this.lineClips.end-this.lineClips.start),this.lineClipsArray.length);var l=a.vertexLength++;this.e1>=0&&this.e2>=0&&(this.indexArray.emplaceBack(this.e1,this.e2,l),a.primitiveLength++),o?this.e2=l:this.e1=l},Bs.prototype.updateScaledDistance=function(){this.scaledDistance=this.lineClips?this.lineClips.start+(this.lineClips.end-this.lineClips.start)*this.distance/this.totalDistance:this.distance},Bs.prototype.updateDistance=function(e,t){this.distance+=e.dist(t),this.updateScaledDistance()},qr("LineBucket",Bs,{omit:["layers","patternFeatures"]});var Ls=new Oo({"line-cap":new mo(Ee.layout_line["line-cap"]),"line-join":new go(Ee.layout_line["line-join"]),"line-miter-limit":new mo(Ee.layout_line["line-miter-limit"]),"line-round-limit":new mo(Ee.layout_line["line-round-limit"]),"line-sort-key":new go(Ee.layout_line["line-sort-key"])}),Rs={paint:new Oo({"line-opacity":new go(Ee.paint_line["line-opacity"]),"line-color":new go(Ee.paint_line["line-color"]),"line-translate":new mo(Ee.paint_line["line-translate"]),"line-translate-anchor":new mo(Ee.paint_line["line-translate-anchor"]),"line-width":new go(Ee.paint_line["line-width"]),"line-gap-width":new go(Ee.paint_line["line-gap-width"]),"line-offset":new go(Ee.paint_line["line-offset"]),"line-blur":new go(Ee.paint_line["line-blur"]),"line-dasharray":new yo(Ee.paint_line["line-dasharray"]),"line-pattern":new vo(Ee.paint_line["line-pattern"]),"line-gradient":new Mo(Ee.paint_line["line-gradient"])}),layout:Ls},qs=new(function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.possiblyEvaluate=function(t,n){return n=new so(Math.floor(n.zoom),{now:n.now,fadeDuration:n.fadeDuration,zoomHistory:n.zoomHistory,transition:n.transition}),e.prototype.possiblyEvaluate.call(this,t,n)},t.prototype.evaluate=function(t,n,r,o){return n=p({},n,{zoom:Math.floor(n.zoom)}),e.prototype.evaluate.call(this,t,n,r,o)},t}(go))(Rs.paint.properties["line-width"].specification);qs.useIntegerZoom=!0;var Ps=function(e){function t(t){e.call(this,t,Rs),this.gradientVersion=0}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._handleSpecialPaintPropertyUpdate=function(e){"line-gradient"===e&&(this.stepInterpolant=this._transitionablePaint._values["line-gradient"].value.expression._styleExpression.expression instanceof Ut,this.gradientVersion=(this.gradientVersion+1)%s)},t.prototype.gradientExpression=function(){return this._transitionablePaint._values["line-gradient"].value.expression},t.prototype.recalculate=function(t,n){e.prototype.recalculate.call(this,t,n),this.paint._values["line-floorwidth"]=qs.possiblyEvaluate(this._transitioningPaint._values["line-width"].value,t)},t.prototype.createBucket=function(e){return new Bs(e)},t.prototype.queryRadius=function(e){var t=e,n=Is(ta("line-width",this,t),ta("line-gap-width",this,t)),r=ta("line-offset",this,t);return n/2+Math.abs(r)+na(this.paint.get("line-translate"))},t.prototype.queryIntersectsFeature=function(e,t,n,r,i,a,s){var l=ra(e,this.paint.get("line-translate"),this.paint.get("line-translate-anchor"),a.angle,s),c=s/2*Is(this.paint.get("line-width").evaluate(t,n),this.paint.get("line-gap-width").evaluate(t,n)),u=this.paint.get("line-offset").evaluate(t,n);return u&&(r=function(e,t){for(var n=[],r=new o(0,0),i=0;i<e.length;i++){for(var a=e[i],s=[],l=0;l<a.length;l++){var c=a[l],u=a[l+1],d=0===l?r:c.sub(a[l-1])._unit()._perp(),p=l===a.length-1?r:u.sub(c)._unit()._perp(),f=d._add(p)._unit();f._mult(1/(f.x*p.x+f.y*p.y)),s.push(f._mult(t)._add(c))}n.push(s)}return n}(r,u*s)),function(e,t,n){for(var r=0;r<t.length;r++){var o=t[r];if(e.length>=3)for(var i=0;i<o.length;i++)if(Ji(e,o[i]))return!0;if(Vi(e,o,n))return!0}return!1}(l,r,c)},t.prototype.isTileClipped=function(){return!0},t}(_o);function Is(e,t){return t>0?t+2*e:e}var Ws=Co([{name:"a_pos_offset",components:4,type:"Int16"},{name:"a_data",components:4,type:"Uint16"},{name:"a_pixeloffset",components:4,type:"Int16"}],4),Fs=Co([{name:"a_projected_pos",components:3,type:"Float32"}],4),Us=(Co([{name:"a_fade_opacity",components:1,type:"Uint32"}],4),Co([{name:"a_placed",components:2,type:"Uint8"},{name:"a_shift",components:2,type:"Float32"}])),Zs=(Co([{type:"Int16",name:"anchorPointX"},{type:"Int16",name:"anchorPointY"},{type:"Int16",name:"x1"},{type:"Int16",name:"y1"},{type:"Int16",name:"x2"},{type:"Int16",name:"y2"},{type:"Uint32",name:"featureIndex"},{type:"Uint16",name:"sourceLayerIndex"},{type:"Uint16",name:"bucketIndex"}]),Co([{name:"a_pos",components:2,type:"Int16"},{name:"a_anchor_pos",components:2,type:"Int16"},{name:"a_extrude",components:2,type:"Int16"}],4)),Hs=Co([{name:"a_pos",components:2,type:"Float32"},{name:"a_radius",components:1,type:"Float32"},{name:"a_flags",components:2,type:"Int16"}],4);function $s(e,t,n){return e.sections.forEach((function(e){e.text=function(e,t,n){var r=t.layout.get("text-transform").evaluate(n,{});return"uppercase"===r?e=e.toLocaleUpperCase():"lowercase"===r&&(e=e.toLocaleLowerCase()),ao.applyArabicShaping&&(e=ao.applyArabicShaping(e)),e}(e.text,t,n)})),e}Co([{name:"triangle",components:3,type:"Uint16"}]),Co([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Uint16",name:"glyphStartIndex"},{type:"Uint16",name:"numGlyphs"},{type:"Uint32",name:"vertexStartIndex"},{type:"Uint32",name:"lineStartIndex"},{type:"Uint32",name:"lineLength"},{type:"Uint16",name:"segment"},{type:"Uint16",name:"lowerSize"},{type:"Uint16",name:"upperSize"},{type:"Float32",name:"lineOffsetX"},{type:"Float32",name:"lineOffsetY"},{type:"Uint8",name:"writingMode"},{type:"Uint8",name:"placedOrientation"},{type:"Uint8",name:"hidden"},{type:"Uint32",name:"crossTileID"},{type:"Int16",name:"associatedIconIndex"}]),Co([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Int16",name:"rightJustifiedTextSymbolIndex"},{type:"Int16",name:"centerJustifiedTextSymbolIndex"},{type:"Int16",name:"leftJustifiedTextSymbolIndex"},{type:"Int16",name:"verticalPlacedTextSymbolIndex"},{type:"Int16",name:"placedIconSymbolIndex"},{type:"Int16",name:"verticalPlacedIconSymbolIndex"},{type:"Uint16",name:"key"},{type:"Uint16",name:"textBoxStartIndex"},{type:"Uint16",name:"textBoxEndIndex"},{type:"Uint16",name:"verticalTextBoxStartIndex"},{type:"Uint16",name:"verticalTextBoxEndIndex"},{type:"Uint16",name:"iconBoxStartIndex"},{type:"Uint16",name:"iconBoxEndIndex"},{type:"Uint16",name:"verticalIconBoxStartIndex"},{type:"Uint16",name:"verticalIconBoxEndIndex"},{type:"Uint16",name:"featureIndex"},{type:"Uint16",name:"numHorizontalGlyphVertices"},{type:"Uint16",name:"numVerticalGlyphVertices"},{type:"Uint16",name:"numIconVertices"},{type:"Uint16",name:"numVerticalIconVertices"},{type:"Uint16",name:"useRuntimeCollisionCircles"},{type:"Uint32",name:"crossTileID"},{type:"Float32",name:"textBoxScale"},{type:"Float32",components:2,name:"textOffset"},{type:"Float32",name:"collisionCircleDiameter"}]),Co([{type:"Float32",name:"offsetX"}]),Co([{type:"Int16",name:"x"},{type:"Int16",name:"y"},{type:"Int16",name:"tileUnitDistanceFromAnchor"}]);var Vs={"!":"\ufe15","#":"\uff03",$:"\uff04","%":"\uff05","&":"\uff06","(":"\ufe35",")":"\ufe36","*":"\uff0a","+":"\uff0b",",":"\ufe10","-":"\ufe32",".":"\u30fb","/":"\uff0f",":":"\ufe13",";":"\ufe14","<":"\ufe3f","=":"\uff1d",">":"\ufe40","?":"\ufe16","@":"\uff20","[":"\ufe47","\\":"\uff3c","]":"\ufe48","^":"\uff3e",_:"\ufe33","`":"\uff40","{":"\ufe37","|":"\u2015","}":"\ufe38","~":"\uff5e","\xa2":"\uffe0","\xa3":"\uffe1","\xa5":"\uffe5","\xa6":"\uffe4","\xac":"\uffe2","\xaf":"\uffe3","\u2013":"\ufe32","\u2014":"\ufe31","\u2018":"\ufe43","\u2019":"\ufe44","\u201c":"\ufe41","\u201d":"\ufe42","\u2026":"\ufe19","\u2027":"\u30fb","\u20a9":"\uffe6","\u3001":"\ufe11","\u3002":"\ufe12","\u3008":"\ufe3f","\u3009":"\ufe40","\u300a":"\ufe3d","\u300b":"\ufe3e","\u300c":"\ufe41","\u300d":"\ufe42","\u300e":"\ufe43","\u300f":"\ufe44","\u3010":"\ufe3b","\u3011":"\ufe3c","\u3014":"\ufe39","\u3015":"\ufe3a","\u3016":"\ufe17","\u3017":"\ufe18","\uff01":"\ufe15","\uff08":"\ufe35","\uff09":"\ufe36","\uff0c":"\ufe10","\uff0d":"\ufe32","\uff0e":"\u30fb","\uff1a":"\ufe13","\uff1b":"\ufe14","\uff1c":"\ufe3f","\uff1e":"\ufe40","\uff1f":"\ufe16","\uff3b":"\ufe47","\uff3d":"\ufe48","\uff3f":"\ufe33","\uff5b":"\ufe37","\uff5c":"\u2015","\uff5d":"\ufe38","\uff5f":"\ufe35","\uff60":"\ufe36","\uff61":"\ufe12","\uff62":"\ufe41","\uff63":"\ufe42"},Xs=function(e,t,n,r,o){var i,a,s=8*o-r-1,l=(1<<s)-1,c=l>>1,u=-7,d=n?o-1:0,p=n?-1:1,f=e[t+d];for(d+=p,i=f&(1<<-u)-1,f>>=-u,u+=s;u>0;i=256*i+e[t+d],d+=p,u-=8);for(a=i&(1<<-u)-1,i>>=-u,u+=r;u>0;a=256*a+e[t+d],d+=p,u-=8);if(0===i)i=1-c;else{if(i===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,r),i-=c}return(f?-1:1)*a*Math.pow(2,i-r)},Qs=function(e,t,n,r,o,i){var a,s,l,c=8*i-o-1,u=(1<<c)-1,d=u>>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:i-1,h=r?1:-1,b=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+d>=1?p/l:p*Math.pow(2,1-d))*l>=2&&(a++,l/=2),a+d>=u?(s=0,a=u):a+d>=1?(s=(t*l-1)*Math.pow(2,o),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,o),a=0));o>=8;e[n+f]=255&s,f+=h,s/=256,o-=8);for(a=a<<o|s,c+=o;c>0;e[n+f]=255&a,f+=h,a/=256,c-=8);e[n+f-h]|=128*b},Ys=Gs;function Gs(e){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(e)?e:new Uint8Array(e||0),this.pos=0,this.type=0,this.length=this.buf.length}Gs.Varint=0,Gs.Fixed64=1,Gs.Bytes=2,Gs.Fixed32=5;var Ks="undefined"==typeof TextDecoder?null:new TextDecoder("utf8");function Js(e){return e.type===Gs.Bytes?e.readVarint()+e.pos:e.pos+1}function el(e,t,n){return n?4294967296*t+(e>>>0):4294967296*(t>>>0)+(e>>>0)}function tl(e,t,n){var r=t<=16383?1:t<=2097151?2:t<=268435455?3:Math.floor(Math.log(t)/(7*Math.LN2));n.realloc(r);for(var o=n.pos-1;o>=e;o--)n.buf[o+r]=n.buf[o]}function nl(e,t){for(var n=0;n<e.length;n++)t.writeVarint(e[n])}function rl(e,t){for(var n=0;n<e.length;n++)t.writeSVarint(e[n])}function ol(e,t){for(var n=0;n<e.length;n++)t.writeFloat(e[n])}function il(e,t){for(var n=0;n<e.length;n++)t.writeDouble(e[n])}function al(e,t){for(var n=0;n<e.length;n++)t.writeBoolean(e[n])}function sl(e,t){for(var n=0;n<e.length;n++)t.writeFixed32(e[n])}function ll(e,t){for(var n=0;n<e.length;n++)t.writeSFixed32(e[n])}function cl(e,t){for(var n=0;n<e.length;n++)t.writeFixed64(e[n])}function ul(e,t){for(var n=0;n<e.length;n++)t.writeSFixed64(e[n])}function dl(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16)+16777216*e[t+3]}function pl(e,t,n){e[n]=t,e[n+1]=t>>>8,e[n+2]=t>>>16,e[n+3]=t>>>24}function fl(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16)+(e[t+3]<<24)}function hl(e,t,n){1===e&&n.readMessage(bl,t)}function bl(e,t,n){if(3===e){var r=n.readMessage(Al,{}),o=r.width,i=r.height,a=r.left,s=r.top,l=r.advance;t.push({id:r.id,bitmap:new ga({width:o+6,height:i+6},r.bitmap),metrics:{width:o,height:i,left:a,top:s,advance:l}})}}function Al(e,t,n){1===e?t.id=n.readVarint():2===e?t.bitmap=n.readBytes():3===e?t.width=n.readVarint():4===e?t.height=n.readVarint():5===e?t.left=n.readSVarint():6===e?t.top=n.readSVarint():7===e&&(t.advance=n.readVarint())}function ml(e){for(var t=0,n=0,r=0,o=e;r<o.length;r+=1){var i=o[r];t+=i.w*i.h,n=Math.max(n,i.w)}e.sort((function(e,t){return t.h-e.h}));for(var a=[{x:0,y:0,w:Math.max(Math.ceil(Math.sqrt(t/.95)),n),h:1/0}],s=0,l=0,c=0,u=e;c<u.length;c+=1)for(var d=u[c],p=a.length-1;p>=0;p--){var f=a[p];if(!(d.w>f.w||d.h>f.h)){if(d.x=f.x,d.y=f.y,l=Math.max(l,d.y+d.h),s=Math.max(s,d.x+d.w),d.w===f.w&&d.h===f.h){var h=a.pop();p<a.length&&(a[p]=h)}else d.h===f.h?(f.x+=d.w,f.w-=d.w):d.w===f.w?(f.y+=d.h,f.h-=d.h):(a.push({x:f.x+d.w,y:f.y,w:f.w-d.w,h:d.h}),f.y+=d.h,f.h-=d.h);break}}return{w:s,h:l,fill:t/(s*l)||0}}Gs.prototype={destroy:function(){this.buf=null},readFields:function(e,t,n){for(n=n||this.length;this.pos<n;){var r=this.readVarint(),o=r>>3,i=this.pos;this.type=7&r,e(o,t,this),this.pos===i&&this.skip(r)}return t},readMessage:function(e,t){return this.readFields(e,t,this.readVarint()+this.pos)},readFixed32:function(){var e=dl(this.buf,this.pos);return this.pos+=4,e},readSFixed32:function(){var e=fl(this.buf,this.pos);return this.pos+=4,e},readFixed64:function(){var e=dl(this.buf,this.pos)+4294967296*dl(this.buf,this.pos+4);return this.pos+=8,e},readSFixed64:function(){var e=dl(this.buf,this.pos)+4294967296*fl(this.buf,this.pos+4);return this.pos+=8,e},readFloat:function(){var e=Xs(this.buf,this.pos,!0,23,4);return this.pos+=4,e},readDouble:function(){var e=Xs(this.buf,this.pos,!0,52,8);return this.pos+=8,e},readVarint:function(e){var t,n,r=this.buf;return t=127&(n=r[this.pos++]),n<128?t:(t|=(127&(n=r[this.pos++]))<<7,n<128?t:(t|=(127&(n=r[this.pos++]))<<14,n<128?t:(t|=(127&(n=r[this.pos++]))<<21,n<128?t:function(e,t,n){var r,o,i=n.buf;if(r=(112&(o=i[n.pos++]))>>4,o<128)return el(e,r,t);if(r|=(127&(o=i[n.pos++]))<<3,o<128)return el(e,r,t);if(r|=(127&(o=i[n.pos++]))<<10,o<128)return el(e,r,t);if(r|=(127&(o=i[n.pos++]))<<17,o<128)return el(e,r,t);if(r|=(127&(o=i[n.pos++]))<<24,o<128)return el(e,r,t);if(r|=(1&(o=i[n.pos++]))<<31,o<128)return el(e,r,t);throw new Error("Expected varint not more than 10 bytes")}(t|=(15&(n=r[this.pos]))<<28,e,this))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var e=this.readVarint();return e%2==1?(e+1)/-2:e/2},readBoolean:function(){return Boolean(this.readVarint())},readString:function(){var e=this.readVarint()+this.pos,t=this.pos;return this.pos=e,e-t>=12&&Ks?function(e,t,n){return Ks.decode(e.subarray(t,n))}(this.buf,t,e):function(e,t,n){for(var r="",o=t;o<n;){var i,a,s,l=e[o],c=null,u=l>239?4:l>223?3:l>191?2:1;if(o+u>n)break;1===u?l<128&&(c=l):2===u?128==(192&(i=e[o+1]))&&(c=(31&l)<<6|63&i)<=127&&(c=null):3===u?(a=e[o+2],128==(192&(i=e[o+1]))&&128==(192&a)&&((c=(15&l)<<12|(63&i)<<6|63&a)<=2047||c>=55296&&c<=57343)&&(c=null)):4===u&&(a=e[o+2],s=e[o+3],128==(192&(i=e[o+1]))&&128==(192&a)&&128==(192&s)&&((c=(15&l)<<18|(63&i)<<12|(63&a)<<6|63&s)<=65535||c>=1114112)&&(c=null)),null===c?(c=65533,u=1):c>65535&&(c-=65536,r+=String.fromCharCode(c>>>10&1023|55296),c=56320|1023&c),r+=String.fromCharCode(c),o+=u}return r}(this.buf,t,e)},readBytes:function(){var e=this.readVarint()+this.pos,t=this.buf.subarray(this.pos,e);return this.pos=e,t},readPackedVarint:function(e,t){if(this.type!==Gs.Bytes)return e.push(this.readVarint(t));var n=Js(this);for(e=e||[];this.pos<n;)e.push(this.readVarint(t));return e},readPackedSVarint:function(e){if(this.type!==Gs.Bytes)return e.push(this.readSVarint());var t=Js(this);for(e=e||[];this.pos<t;)e.push(this.readSVarint());return e},readPackedBoolean:function(e){if(this.type!==Gs.Bytes)return e.push(this.readBoolean());var t=Js(this);for(e=e||[];this.pos<t;)e.push(this.readBoolean());return e},readPackedFloat:function(e){if(this.type!==Gs.Bytes)return e.push(this.readFloat());var t=Js(this);for(e=e||[];this.pos<t;)e.push(this.readFloat());return e},readPackedDouble:function(e){if(this.type!==Gs.Bytes)return e.push(this.readDouble());var t=Js(this);for(e=e||[];this.pos<t;)e.push(this.readDouble());return e},readPackedFixed32:function(e){if(this.type!==Gs.Bytes)return e.push(this.readFixed32());var t=Js(this);for(e=e||[];this.pos<t;)e.push(this.readFixed32());return e},readPackedSFixed32:function(e){if(this.type!==Gs.Bytes)return e.push(this.readSFixed32());var t=Js(this);for(e=e||[];this.pos<t;)e.push(this.readSFixed32());return e},readPackedFixed64:function(e){if(this.type!==Gs.Bytes)return e.push(this.readFixed64());var t=Js(this);for(e=e||[];this.pos<t;)e.push(this.readFixed64());return e},readPackedSFixed64:function(e){if(this.type!==Gs.Bytes)return e.push(this.readSFixed64());var t=Js(this);for(e=e||[];this.pos<t;)e.push(this.readSFixed64());return e},skip:function(e){var t=7&e;if(t===Gs.Varint)for(;this.buf[this.pos++]>127;);else if(t===Gs.Bytes)this.pos=this.readVarint()+this.pos;else if(t===Gs.Fixed32)this.pos+=4;else{if(t!==Gs.Fixed64)throw new Error("Unimplemented type: "+t);this.pos+=8}},writeTag:function(e,t){this.writeVarint(e<<3|t)},realloc:function(e){for(var t=this.length||16;t<this.pos+e;)t*=2;if(t!==this.length){var n=new Uint8Array(t);n.set(this.buf),this.buf=n,this.length=t}},finish:function(){return this.length=this.pos,this.pos=0,this.buf.subarray(0,this.length)},writeFixed32:function(e){this.realloc(4),pl(this.buf,e,this.pos),this.pos+=4},writeSFixed32:function(e){this.realloc(4),pl(this.buf,e,this.pos),this.pos+=4},writeFixed64:function(e){this.realloc(8),pl(this.buf,-1&e,this.pos),pl(this.buf,Math.floor(e*(1/4294967296)),this.pos+4),this.pos+=8},writeSFixed64:function(e){this.realloc(8),pl(this.buf,-1&e,this.pos),pl(this.buf,Math.floor(e*(1/4294967296)),this.pos+4),this.pos+=8},writeVarint:function(e){(e=+e||0)>268435455||e<0?function(e,t){var n,r;if(e>=0?(n=e%4294967296|0,r=e/4294967296|0):(r=~(-e/4294967296),4294967295^(n=~(-e%4294967296))?n=n+1|0:(n=0,r=r+1|0)),e>=0x10000000000000000||e<-0x10000000000000000)throw new Error("Given varint doesn't fit into 10 bytes");t.realloc(10),function(e,t,n){n.buf[n.pos++]=127&e|128,e>>>=7,n.buf[n.pos++]=127&e|128,e>>>=7,n.buf[n.pos++]=127&e|128,e>>>=7,n.buf[n.pos++]=127&e|128,n.buf[n.pos]=127&(e>>>=7)}(n,0,t),function(e,t){var n=(7&e)<<4;t.buf[t.pos++]|=n|((e>>>=3)?128:0),e&&(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),e&&(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),e&&(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),e&&(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),e&&(t.buf[t.pos++]=127&e)))))}(r,t)}(e,this):(this.realloc(4),this.buf[this.pos++]=127&e|(e>127?128:0),e<=127||(this.buf[this.pos++]=127&(e>>>=7)|(e>127?128:0),e<=127||(this.buf[this.pos++]=127&(e>>>=7)|(e>127?128:0),e<=127||(this.buf[this.pos++]=e>>>7&127))))},writeSVarint:function(e){this.writeVarint(e<0?2*-e-1:2*e)},writeBoolean:function(e){this.writeVarint(Boolean(e))},writeString:function(e){e=String(e),this.realloc(4*e.length),this.pos++;var t=this.pos;this.pos=function(e,t,n){for(var r,o,i=0;i<t.length;i++){if((r=t.charCodeAt(i))>55295&&r<57344){if(!o){r>56319||i+1===t.length?(e[n++]=239,e[n++]=191,e[n++]=189):o=r;continue}if(r<56320){e[n++]=239,e[n++]=191,e[n++]=189,o=r;continue}r=o-55296<<10|r-56320|65536,o=null}else o&&(e[n++]=239,e[n++]=191,e[n++]=189,o=null);r<128?e[n++]=r:(r<2048?e[n++]=r>>6|192:(r<65536?e[n++]=r>>12|224:(e[n++]=r>>18|240,e[n++]=r>>12&63|128),e[n++]=r>>6&63|128),e[n++]=63&r|128)}return n}(this.buf,e,this.pos);var n=this.pos-t;n>=128&&tl(t,n,this),this.pos=t-1,this.writeVarint(n),this.pos+=n},writeFloat:function(e){this.realloc(4),Qs(this.buf,e,this.pos,!0,23,4),this.pos+=4},writeDouble:function(e){this.realloc(8),Qs(this.buf,e,this.pos,!0,52,8),this.pos+=8},writeBytes:function(e){var t=e.length;this.writeVarint(t),this.realloc(t);for(var n=0;n<t;n++)this.buf[this.pos++]=e[n]},writeRawMessage:function(e,t){this.pos++;var n=this.pos;e(t,this);var r=this.pos-n;r>=128&&tl(n,r,this),this.pos=n-1,this.writeVarint(r),this.pos+=r},writeMessage:function(e,t,n){this.writeTag(e,Gs.Bytes),this.writeRawMessage(t,n)},writePackedVarint:function(e,t){t.length&&this.writeMessage(e,nl,t)},writePackedSVarint:function(e,t){t.length&&this.writeMessage(e,rl,t)},writePackedBoolean:function(e,t){t.length&&this.writeMessage(e,al,t)},writePackedFloat:function(e,t){t.length&&this.writeMessage(e,ol,t)},writePackedDouble:function(e,t){t.length&&this.writeMessage(e,il,t)},writePackedFixed32:function(e,t){t.length&&this.writeMessage(e,sl,t)},writePackedSFixed32:function(e,t){t.length&&this.writeMessage(e,ll,t)},writePackedFixed64:function(e,t){t.length&&this.writeMessage(e,cl,t)},writePackedSFixed64:function(e,t){t.length&&this.writeMessage(e,ul,t)},writeBytesField:function(e,t){this.writeTag(e,Gs.Bytes),this.writeBytes(t)},writeFixed32Field:function(e,t){this.writeTag(e,Gs.Fixed32),this.writeFixed32(t)},writeSFixed32Field:function(e,t){this.writeTag(e,Gs.Fixed32),this.writeSFixed32(t)},writeFixed64Field:function(e,t){this.writeTag(e,Gs.Fixed64),this.writeFixed64(t)},writeSFixed64Field:function(e,t){this.writeTag(e,Gs.Fixed64),this.writeSFixed64(t)},writeVarintField:function(e,t){this.writeTag(e,Gs.Varint),this.writeVarint(t)},writeSVarintField:function(e,t){this.writeTag(e,Gs.Varint),this.writeSVarint(t)},writeStringField:function(e,t){this.writeTag(e,Gs.Bytes),this.writeString(t)},writeFloatField:function(e,t){this.writeTag(e,Gs.Fixed32),this.writeFloat(t)},writeDoubleField:function(e,t){this.writeTag(e,Gs.Fixed64),this.writeDouble(t)},writeBooleanField:function(e,t){this.writeVarintField(e,Boolean(t))}};var gl=function(e,t){var n=t.pixelRatio,r=t.version,o=t.stretchX,i=t.stretchY,a=t.content;this.paddedRect=e,this.pixelRatio=n,this.stretchX=o,this.stretchY=i,this.content=a,this.version=r},vl={tl:{configurable:!0},br:{configurable:!0},tlbr:{configurable:!0},displaySize:{configurable:!0}};vl.tl.get=function(){return[this.paddedRect.x+1,this.paddedRect.y+1]},vl.br.get=function(){return[this.paddedRect.x+this.paddedRect.w-1,this.paddedRect.y+this.paddedRect.h-1]},vl.tlbr.get=function(){return this.tl.concat(this.br)},vl.displaySize.get=function(){return[(this.paddedRect.w-2)/this.pixelRatio,(this.paddedRect.h-2)/this.pixelRatio]},Object.defineProperties(gl.prototype,vl);var yl=function(e,t){var n={},r={};this.haveRenderCallbacks=[];var o=[];this.addImages(e,n,o),this.addImages(t,r,o);var i=ml(o),a=new va({width:i.w||1,height:i.h||1});for(var s in e){var l=e[s],c=n[s].paddedRect;va.copy(l.data,a,{x:0,y:0},{x:c.x+1,y:c.y+1},l.data)}for(var u in t){var d=t[u],p=r[u].paddedRect,f=p.x+1,h=p.y+1,b=d.data.width,A=d.data.height;va.copy(d.data,a,{x:0,y:0},{x:f,y:h},d.data),va.copy(d.data,a,{x:0,y:A-1},{x:f,y:h-1},{width:b,height:1}),va.copy(d.data,a,{x:0,y:0},{x:f,y:h+A},{width:b,height:1}),va.copy(d.data,a,{x:b-1,y:0},{x:f-1,y:h},{width:1,height:A}),va.copy(d.data,a,{x:0,y:0},{x:f+b,y:h},{width:1,height:A})}this.image=a,this.iconPositions=n,this.patternPositions=r};yl.prototype.addImages=function(e,t,n){for(var r in e){var o=e[r],i={x:0,y:0,w:o.data.width+2,h:o.data.height+2};n.push(i),t[r]=new gl(i,o),o.hasRenderCallback&&this.haveRenderCallbacks.push(r)}},yl.prototype.patchUpdatedImages=function(e,t){for(var n in e.dispatchRenderCallbacks(this.haveRenderCallbacks),e.updatedImages)this.patchUpdatedImage(this.iconPositions[n],e.getImage(n),t),this.patchUpdatedImage(this.patternPositions[n],e.getImage(n),t)},yl.prototype.patchUpdatedImage=function(e,t,n){if(e&&t&&e.version!==t.version){e.version=t.version;var r=e.tl;n.update(t.data,void 0,{x:r[0],y:r[1]})}},qr("ImagePosition",gl),qr("ImageAtlas",yl);var Ml={horizontal:1,vertical:2,horizontalOnly:3},Ol=function(){this.scale=1,this.fontStack="",this.imageName=null};Ol.forText=function(e,t){var n=new Ol;return n.scale=e||1,n.fontStack=t,n},Ol.forImage=function(e){var t=new Ol;return t.imageName=e,t};var _l=function(){this.text="",this.sectionIndex=[],this.sections=[],this.imageSectionID=null};function zl(e,t,n,r,o,i,a,s,l,c,u,d,p,f,h,b){var A,m=_l.fromFeature(e,o);d===Ml.vertical&&m.verticalizePunctuation();var g=ao.processBidirectionalText,v=ao.processStyledBidirectionalText;if(g&&1===m.sections.length){A=[];for(var y=0,M=g(m.toString(),Dl(m,c,i,t,r,f,h));y<M.length;y+=1){var O=M[y],_=new _l;_.text=O,_.sections=m.sections;for(var z=0;z<O.length;z++)_.sectionIndex.push(0);A.push(_)}}else if(v){A=[];for(var x=0,w=v(m.text,m.sectionIndex,Dl(m,c,i,t,r,f,h));x<w.length;x+=1){var C=w[x],S=new _l;S.text=C[0],S.sectionIndex=C[1],S.sections=m.sections,A.push(S)}}else A=function(e,t){for(var n=[],r=e.text,o=0,i=0,a=t;i<a.length;i+=1){var s=a[i];n.push(e.substring(o,s)),o=s}return o<r.length&&n.push(e.substring(o,r.length)),n}(m,Dl(m,c,i,t,r,f,h));var E=[],k={positionedLines:E,text:m.toString(),top:u[1],bottom:u[1],left:u[0],right:u[0],writingMode:d,iconsInText:!1,verticalizable:!1};return function(e,t,n,r,o,i,a,s,l,c,u,d){for(var p=0,f=-17,h=0,b=0,A="right"===s?1:"left"===s?0:.5,m=0,g=0,v=o;g<v.length;g+=1){var y=v[g];y.trim();var M=y.getMaxScale(),O=24*(M-1),_={positionedGlyphs:[],lineOffset:0};e.positionedLines[m]=_;var z=_.positionedGlyphs,x=0;if(y.length()){for(var w=0;w<y.length();w++){var C=y.getSection(w),S=y.getSectionIndex(w),E=y.getCharCode(w),k=0,D=null,N=null,T=null,j=24,B=!(l===Ml.horizontal||!u&&!Vr(E)||u&&(xl[E]||(Z=E,Hr.Arabic(Z)||Hr["Arabic Supplement"](Z)||Hr["Arabic Extended-A"](Z)||Hr["Arabic Presentation Forms-A"](Z)||Hr["Arabic Presentation Forms-B"](Z))));if(C.imageName){var L=r[C.imageName];if(!L)continue;T=C.imageName,e.iconsInText=e.iconsInText||!0,N=L.paddedRect;var R=L.displaySize;C.scale=24*C.scale/d,k=O+(24-R[1]*C.scale),j=(D={width:R[0],height:R[1],left:1,top:-3,advance:B?R[1]:R[0]}).advance;var q=B?R[0]*C.scale-24*M:R[1]*C.scale-24*M;q>0&&q>x&&(x=q)}else{var P=n[C.fontStack],I=P&&P[E];if(I&&I.rect)N=I.rect,D=I.metrics;else{var W=t[C.fontStack],F=W&&W[E];if(!F)continue;D=F.metrics}k=24*(M-C.scale)}B?(e.verticalizable=!0,z.push({glyph:E,imageName:T,x:p,y:f+k,vertical:B,scale:C.scale,fontStack:C.fontStack,sectionIndex:S,metrics:D,rect:N}),p+=j*C.scale+c):(z.push({glyph:E,imageName:T,x:p,y:f+k,vertical:B,scale:C.scale,fontStack:C.fontStack,sectionIndex:S,metrics:D,rect:N}),p+=D.advance*C.scale+c)}0!==z.length&&(h=Math.max(p-c,h),Tl(z,0,z.length-1,A,x)),p=0;var U=i*M+x;_.lineOffset=Math.max(x,O),f+=U,b=Math.max(U,b),++m}else f+=i,++m}var Z,H=f- -17,$=Nl(a),V=$.horizontalAlign,X=$.verticalAlign;(function(e,t,n,r,o,i,a,s,l){var c,u=(t-n)*o;c=i!==a?-s*r- -17:(-r*l+.5)*a;for(var d=0,p=e;d<p.length;d+=1)for(var f=0,h=p[d].positionedGlyphs;f<h.length;f+=1){var b=h[f];b.x+=u,b.y+=c}})(e.positionedLines,A,V,X,h,b,i,H,o.length),e.top+=-X*H,e.bottom=e.top+H,e.left+=-V*h,e.right=e.left+h}(k,t,n,r,A,a,s,l,d,c,p,b),!function(e){for(var t=0,n=e;t<n.length;t+=1)if(0!==n[t].positionedGlyphs.length)return!1;return!0}(E)&&k}_l.fromFeature=function(e,t){for(var n=new _l,r=0;r<e.sections.length;r++){var o=e.sections[r];o.image?n.addImageSection(o):n.addTextSection(o,t)}return n},_l.prototype.length=function(){return this.text.length},_l.prototype.getSection=function(e){return this.sections[this.sectionIndex[e]]},_l.prototype.getSectionIndex=function(e){return this.sectionIndex[e]},_l.prototype.getCharCode=function(e){return this.text.charCodeAt(e)},_l.prototype.verticalizePunctuation=function(){this.text=function(e){for(var t="",n=0;n<e.length;n++){var r=e.charCodeAt(n+1)||null,o=e.charCodeAt(n-1)||null;t+=r&&Xr(r)&&!Vs[e[n+1]]||o&&Xr(o)&&!Vs[e[n-1]]||!Vs[e[n]]?e[n]:Vs[e[n]]}return t}(this.text)},_l.prototype.trim=function(){for(var e=0,t=0;t<this.text.length&&xl[this.text.charCodeAt(t)];t++)e++;for(var n=this.text.length,r=this.text.length-1;r>=0&&r>=e&&xl[this.text.charCodeAt(r)];r--)n--;this.text=this.text.substring(e,n),this.sectionIndex=this.sectionIndex.slice(e,n)},_l.prototype.substring=function(e,t){var n=new _l;return n.text=this.text.substring(e,t),n.sectionIndex=this.sectionIndex.slice(e,t),n.sections=this.sections,n},_l.prototype.toString=function(){return this.text},_l.prototype.getMaxScale=function(){var e=this;return this.sectionIndex.reduce((function(t,n){return Math.max(t,e.sections[n].scale)}),0)},_l.prototype.addTextSection=function(e,t){this.text+=e.text,this.sections.push(Ol.forText(e.scale,e.fontStack||t));for(var n=this.sections.length-1,r=0;r<e.text.length;++r)this.sectionIndex.push(n)},_l.prototype.addImageSection=function(e){var t=e.image?e.image.name:"";if(0!==t.length){var n=this.getNextImageSectionCharCode();n?(this.text+=String.fromCharCode(n),this.sections.push(Ol.forImage(t)),this.sectionIndex.push(this.sections.length-1)):_("Reached maximum number of images 6401")}else _("Can't add FormattedSection with an empty image.")},_l.prototype.getNextImageSectionCharCode=function(){return this.imageSectionID?this.imageSectionID>=63743?null:++this.imageSectionID:(this.imageSectionID=57344,this.imageSectionID)};var xl={9:!0,10:!0,11:!0,12:!0,13:!0,32:!0},wl={};function Cl(e,t,n,r,o,i){if(t.imageName){var a=r[t.imageName];return a?a.displaySize[0]*t.scale*24/i+o:0}var s=n[t.fontStack],l=s&&s[e];return l?l.metrics.advance*t.scale+o:0}function Sl(e,t,n,r){var o=Math.pow(e-t,2);return r?e<t?o/2:2*o:o+Math.abs(n)*n}function El(e,t,n){var r=0;return 10===e&&(r-=1e4),n&&(r+=150),40!==e&&65288!==e||(r+=50),41!==t&&65289!==t||(r+=50),r}function kl(e,t,n,r,o,i){for(var a=null,s=Sl(t,n,o,i),l=0,c=r;l<c.length;l+=1){var u=c[l],d=Sl(t-u.x,n,o,i)+u.badness;d<=s&&(a=u,s=d)}return{index:e,x:t,priorBreak:a,badness:s}}function Dl(e,t,n,r,o,i,a){if("point"!==i)return[];if(!e)return[];for(var s,l=[],c=function(e,t,n,r,o,i){for(var a=0,s=0;s<e.length();s++){var l=e.getSection(s);a+=Cl(e.getCharCode(s),l,r,o,t,i)}return a/Math.max(1,Math.ceil(a/n))}(e,t,n,r,o,a),u=e.text.indexOf("\u200b")>=0,d=0,p=0;p<e.length();p++){var f=e.getSection(p),h=e.getCharCode(p);if(xl[h]||(d+=Cl(h,f,r,o,t,a)),p<e.length()-1){var b=!((s=h)<11904||!(Hr["Bopomofo Extended"](s)||Hr.Bopomofo(s)||Hr["CJK Compatibility Forms"](s)||Hr["CJK Compatibility Ideographs"](s)||Hr["CJK Compatibility"](s)||Hr["CJK Radicals Supplement"](s)||Hr["CJK Strokes"](s)||Hr["CJK Symbols and Punctuation"](s)||Hr["CJK Unified Ideographs Extension A"](s)||Hr["CJK Unified Ideographs"](s)||Hr["Enclosed CJK Letters and Months"](s)||Hr["Halfwidth and Fullwidth Forms"](s)||Hr.Hiragana(s)||Hr["Ideographic Description Characters"](s)||Hr["Kangxi Radicals"](s)||Hr["Katakana Phonetic Extensions"](s)||Hr.Katakana(s)||Hr["Vertical Forms"](s)||Hr["Yi Radicals"](s)||Hr["Yi Syllables"](s)));(wl[h]||b||f.imageName)&&l.push(kl(p+1,d,c,l,El(h,e.getCharCode(p+1),b&&u),!1))}}return function e(t){return t?e(t.priorBreak).concat(t.index):[]}(kl(e.length(),d,c,l,0,!0))}function Nl(e){var t=.5,n=.5;switch(e){case"right":case"top-right":case"bottom-right":t=1;break;case"left":case"top-left":case"bottom-left":t=0}switch(e){case"bottom":case"bottom-right":case"bottom-left":n=1;break;case"top":case"top-right":case"top-left":n=0}return{horizontalAlign:t,verticalAlign:n}}function Tl(e,t,n,r,o){if(r||o)for(var i=e[n],a=(e[n].x+i.metrics.advance*i.scale)*r,s=t;s<=n;s++)e[s].x-=a,e[s].y+=o}function jl(e,t,n,r,o,i){var a,s=e.image;if(s.content){var l=s.content,c=s.pixelRatio||1;a=[l[0]/c,l[1]/c,s.displaySize[0]-l[2]/c,s.displaySize[1]-l[3]/c]}var u,d,p,f,h=t.left*i,b=t.right*i;"width"===n||"both"===n?(f=o[0]+h-r[3],d=o[0]+b+r[1]):d=(f=o[0]+(h+b-s.displaySize[0])/2)+s.displaySize[0];var A=t.top*i,m=t.bottom*i;return"height"===n||"both"===n?(u=o[1]+A-r[0],p=o[1]+m+r[2]):p=(u=o[1]+(A+m-s.displaySize[1])/2)+s.displaySize[1],{image:s,top:u,right:d,bottom:p,left:f,collisionPadding:a}}wl[10]=!0,wl[32]=!0,wl[38]=!0,wl[40]=!0,wl[41]=!0,wl[43]=!0,wl[45]=!0,wl[47]=!0,wl[173]=!0,wl[183]=!0,wl[8203]=!0,wl[8208]=!0,wl[8211]=!0,wl[8231]=!0;var Bl=function(e){function t(t,n,r,o){e.call(this,t,n),this.angle=r,void 0!==o&&(this.segment=o)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.clone=function(){return new t(this.x,this.y,this.angle,this.segment)},t}(o);function Ll(e,t){var n=t.expression;if("constant"===n.kind)return{kind:"constant",layoutSize:n.evaluate(new so(e+1))};if("source"===n.kind)return{kind:"source"};for(var r=n.zoomStops,o=n.interpolationType,i=0;i<r.length&&r[i]<=e;)i++;for(var a=i=Math.max(0,i-1);a<r.length&&r[a]<e+1;)a++;a=Math.min(r.length-1,a);var s=r[i],l=r[a];return"composite"===n.kind?{kind:"composite",minZoom:s,maxZoom:l,interpolationType:o}:{kind:"camera",minZoom:s,maxZoom:l,minSize:n.evaluate(new so(s)),maxSize:n.evaluate(new so(l)),interpolationType:o}}function Rl(e,t,n){var r=t.uSize,o=n.lowerSize;return"source"===e.kind?o/128:"composite"===e.kind?Zt(o/128,n.upperSize/128,t.uSizeT):r}function ql(e,t){var n=0,r=0;if("constant"===e.kind)r=e.layoutSize;else if("source"!==e.kind){var o=e.interpolationType,i=o?u(an.interpolationFactor(o,t,e.minZoom,e.maxZoom),0,1):0;"camera"===e.kind?r=Zt(e.minSize,e.maxSize,i):n=i}return{uSizeT:n,uSize:r}}qr("Anchor",Bl);var Pl=Object.freeze({__proto__:null,getSizeData:Ll,evaluateSizeForFeature:Rl,evaluateSizeForZoom:ql,SIZE_PACK_FACTOR:128});function Il(e,t,n,r,o){if(void 0===t.segment)return!0;for(var i=t,a=t.segment+1,s=0;s>-n/2;){if(--a<0)return!1;s-=e[a].dist(i),i=e[a]}s+=e[a].dist(e[a+1]),a++;for(var l=[],c=0;s<n/2;){var u=e[a],d=e[a+1];if(!d)return!1;var p=e[a-1].angleTo(u)-u.angleTo(d);for(p=Math.abs((p+3*Math.PI)%(2*Math.PI)-Math.PI),l.push({distance:s,angleDelta:p}),c+=p;s-l[0].distance>r;)c-=l.shift().angleDelta;if(c>o)return!1;a++,s+=u.dist(d)}return!0}function Wl(e){for(var t=0,n=0;n<e.length-1;n++)t+=e[n].dist(e[n+1]);return t}function Fl(e,t,n){return e?.6*t*n:0}function Ul(e,t){return Math.max(e?e.right-e.left:0,t?t.right-t.left:0)}function Zl(e,t,n,r,o,i){for(var a=Fl(n,o,i),s=Ul(n,r)*i,l=0,c=Wl(e)/2,u=0;u<e.length-1;u++){var d=e[u],p=e[u+1],f=d.dist(p);if(l+f>c){var h=(c-l)/f,b=Zt(d.x,p.x,h),A=Zt(d.y,p.y,h),m=new Bl(b,A,p.angleTo(d),u);return m._round(),!a||Il(e,m,s,a,t)?m:void 0}l+=f}}function Hl(e,t,n,r,o,i,a,s,l){var c=Fl(r,i,a),u=Ul(r,o),d=u*a,p=0===e[0].x||e[0].x===l||0===e[0].y||e[0].y===l;return t-d<t/4&&(t=d+t/4),function e(t,n,r,o,i,a,s,l,c){for(var u=a/2,d=Wl(t),p=0,f=n-r,h=[],b=0;b<t.length-1;b++){for(var A=t[b],m=t[b+1],g=A.dist(m),v=m.angleTo(A);f+r<p+g;){var y=((f+=r)-p)/g,M=Zt(A.x,m.x,y),O=Zt(A.y,m.y,y);if(M>=0&&M<c&&O>=0&&O<c&&f-u>=0&&f+u<=d){var _=new Bl(M,O,v,b);_._round(),o&&!Il(t,_,a,o,i)||h.push(_)}}p+=g}return l||h.length||s||(h=e(t,p/2,r,o,i,a,s,!0,c)),h}(e,p?t/2*s%t:(u/2+2*i)*a*s%t,t,c,n,d,p,!1,l)}function $l(e,t,n,r,i){for(var a=[],s=0;s<e.length;s++)for(var l=e[s],c=void 0,u=0;u<l.length-1;u++){var d=l[u],p=l[u+1];d.x<t&&p.x<t||(d.x<t?d=new o(t,d.y+(t-d.x)/(p.x-d.x)*(p.y-d.y))._round():p.x<t&&(p=new o(t,d.y+(t-d.x)/(p.x-d.x)*(p.y-d.y))._round()),d.y<n&&p.y<n||(d.y<n?d=new o(d.x+(n-d.y)/(p.y-d.y)*(p.x-d.x),n)._round():p.y<n&&(p=new o(d.x+(n-d.y)/(p.y-d.y)*(p.x-d.x),n)._round()),d.x>=r&&p.x>=r||(d.x>=r?d=new o(r,d.y+(r-d.x)/(p.x-d.x)*(p.y-d.y))._round():p.x>=r&&(p=new o(r,d.y+(r-d.x)/(p.x-d.x)*(p.y-d.y))._round()),d.y>=i&&p.y>=i||(d.y>=i?d=new o(d.x+(i-d.y)/(p.y-d.y)*(p.x-d.x),i)._round():p.y>=i&&(p=new o(d.x+(i-d.y)/(p.y-d.y)*(p.x-d.x),i)._round()),c&&d.equals(c[c.length-1])||a.push(c=[d]),c.push(p)))))}return a}function Vl(e,t,n,r){var i=[],a=e.image,s=a.pixelRatio,l=a.paddedRect.w-2,c=a.paddedRect.h-2,u=e.right-e.left,d=e.bottom-e.top,p=a.stretchX||[[0,l]],f=a.stretchY||[[0,c]],h=function(e,t){return e+t[1]-t[0]},b=p.reduce(h,0),A=f.reduce(h,0),m=l-b,g=c-A,v=0,y=b,M=0,O=A,_=0,z=m,x=0,w=g;if(a.content&&r){var C=a.content;v=Xl(p,0,C[0]),M=Xl(f,0,C[1]),y=Xl(p,C[0],C[2]),O=Xl(f,C[1],C[3]),_=C[0]-v,x=C[1]-M,z=C[2]-C[0]-y,w=C[3]-C[1]-O}var S=function(r,i,l,c){var p=Yl(r.stretch-v,y,u,e.left),f=Gl(r.fixed-_,z,r.stretch,b),h=Yl(i.stretch-M,O,d,e.top),m=Gl(i.fixed-x,w,i.stretch,A),g=Yl(l.stretch-v,y,u,e.left),C=Gl(l.fixed-_,z,l.stretch,b),S=Yl(c.stretch-M,O,d,e.top),E=Gl(c.fixed-x,w,c.stretch,A),k=new o(p,h),D=new o(g,h),N=new o(g,S),T=new o(p,S),j=new o(f/s,m/s),B=new o(C/s,E/s),L=t*Math.PI/180;if(L){var R=Math.sin(L),q=Math.cos(L),P=[q,-R,R,q];k._matMult(P),D._matMult(P),T._matMult(P),N._matMult(P)}var I=r.stretch+r.fixed,W=i.stretch+i.fixed;return{tl:k,tr:D,bl:T,br:N,tex:{x:a.paddedRect.x+1+I,y:a.paddedRect.y+1+W,w:l.stretch+l.fixed-I,h:c.stretch+c.fixed-W},writingMode:void 0,glyphOffset:[0,0],sectionIndex:0,pixelOffsetTL:j,pixelOffsetBR:B,minFontScaleX:z/s/u,minFontScaleY:w/s/d,isSDF:n}};if(r&&(a.stretchX||a.stretchY))for(var E=Ql(p,m,b),k=Ql(f,g,A),D=0;D<E.length-1;D++)for(var N=E[D],T=E[D+1],j=0;j<k.length-1;j++)i.push(S(N,k[j],T,k[j+1]));else i.push(S({fixed:0,stretch:-1},{fixed:0,stretch:-1},{fixed:0,stretch:l+1},{fixed:0,stretch:c+1}));return i}function Xl(e,t,n){for(var r=0,o=0,i=e;o<i.length;o+=1){var a=i[o];r+=Math.max(t,Math.min(n,a[1]))-Math.max(t,Math.min(n,a[0]))}return r}function Ql(e,t,n){for(var r=[{fixed:-1,stretch:0}],o=0,i=e;o<i.length;o+=1){var a=i[o],s=a[0],l=a[1],c=r[r.length-1];r.push({fixed:s-c.stretch,stretch:c.stretch}),r.push({fixed:s-c.stretch,stretch:c.stretch+(l-s)})}return r.push({fixed:t+1,stretch:n}),r}function Yl(e,t,n,r){return e/t*n+r}function Gl(e,t,n,r){return e-t*n/r}var Kl=function(e,t,n,r,i,a,s,l,c,u){if(this.boxStartIndex=e.length,c){var d=a.top,p=a.bottom,f=a.collisionPadding;f&&(d-=f[1],p+=f[3]);var h=p-d;h>0&&(h=Math.max(10,h),this.circleDiameter=h)}else{var b=a.top*s-l,A=a.bottom*s+l,m=a.left*s-l,g=a.right*s+l,v=a.collisionPadding;if(v&&(m-=v[0]*s,b-=v[1]*s,g+=v[2]*s,A+=v[3]*s),u){var y=new o(m,b),M=new o(g,b),O=new o(m,A),_=new o(g,A),z=u*Math.PI/180;y._rotate(z),M._rotate(z),O._rotate(z),_._rotate(z),m=Math.min(y.x,M.x,O.x,_.x),g=Math.max(y.x,M.x,O.x,_.x),b=Math.min(y.y,M.y,O.y,_.y),A=Math.max(y.y,M.y,O.y,_.y)}e.emplaceBack(t.x,t.y,m,b,g,A,n,r,i)}this.boxEndIndex=e.length},Jl=function(e,t){if(void 0===e&&(e=[]),void 0===t&&(t=ec),this.data=e,this.length=this.data.length,this.compare=t,this.length>0)for(var n=(this.length>>1)-1;n>=0;n--)this._down(n)};function ec(e,t){return e<t?-1:e>t?1:0}function tc(e,t,n){void 0===t&&(t=1),void 0===n&&(n=!1);for(var r=1/0,i=1/0,a=-1/0,s=-1/0,l=e[0],c=0;c<l.length;c++){var u=l[c];(!c||u.x<r)&&(r=u.x),(!c||u.y<i)&&(i=u.y),(!c||u.x>a)&&(a=u.x),(!c||u.y>s)&&(s=u.y)}var d=Math.min(a-r,s-i),p=d/2,f=new Jl([],nc);if(0===d)return new o(r,i);for(var h=r;h<a;h+=d)for(var b=i;b<s;b+=d)f.push(new rc(h+p,b+p,p,e));for(var A=function(e){for(var t=0,n=0,r=0,o=e[0],i=0,a=o.length,s=a-1;i<a;s=i++){var l=o[i],c=o[s],u=l.x*c.y-c.x*l.y;n+=(l.x+c.x)*u,r+=(l.y+c.y)*u,t+=3*u}return new rc(n/t,r/t,0,e)}(e),m=f.length;f.length;){var g=f.pop();(g.d>A.d||!A.d)&&(A=g,n&&console.log("found best %d after %d probes",Math.round(1e4*g.d)/1e4,m)),g.max-A.d<=t||(f.push(new rc(g.p.x-(p=g.h/2),g.p.y-p,p,e)),f.push(new rc(g.p.x+p,g.p.y-p,p,e)),f.push(new rc(g.p.x-p,g.p.y+p,p,e)),f.push(new rc(g.p.x+p,g.p.y+p,p,e)),m+=4)}return n&&(console.log("num probes: "+m),console.log("best distance: "+A.d)),A.p}function nc(e,t){return t.max-e.max}function rc(e,t,n,r){this.p=new o(e,t),this.h=n,this.d=function(e,t){for(var n=!1,r=1/0,o=0;o<t.length;o++)for(var i=t[o],a=0,s=i.length,l=s-1;a<s;l=a++){var c=i[a],u=i[l];c.y>e.y!=u.y>e.y&&e.x<(u.x-c.x)*(e.y-c.y)/(u.y-c.y)+c.x&&(n=!n),r=Math.min(r,Gi(e,c,u))}return(n?1:-1)*Math.sqrt(r)}(this.p,r),this.max=this.d+this.h*Math.SQRT2}Jl.prototype.push=function(e){this.data.push(e),this.length++,this._up(this.length-1)},Jl.prototype.pop=function(){if(0!==this.length){var e=this.data[0],t=this.data.pop();return this.length--,this.length>0&&(this.data[0]=t,this._down(0)),e}},Jl.prototype.peek=function(){return this.data[0]},Jl.prototype._up=function(e){for(var t=this.data,n=this.compare,r=t[e];e>0;){var o=e-1>>1,i=t[o];if(n(r,i)>=0)break;t[e]=i,e=o}t[e]=r},Jl.prototype._down=function(e){for(var t=this.data,n=this.compare,r=this.length>>1,o=t[e];e<r;){var i=1+(e<<1),a=t[i],s=i+1;if(s<this.length&&n(t[s],a)<0&&(i=s,a=t[s]),n(a,o)>=0)break;t[e]=a,e=i}t[e]=o};var oc=Number.POSITIVE_INFINITY;function ic(e,t){return t[1]!==oc?function(e,t,n){var r=0,o=0;switch(t=Math.abs(t),n=Math.abs(n),e){case"top-right":case"top-left":case"top":o=n-7;break;case"bottom-right":case"bottom-left":case"bottom":o=7-n}switch(e){case"top-right":case"bottom-right":case"right":r=-t;break;case"top-left":case"bottom-left":case"left":r=t}return[r,o]}(e,t[0],t[1]):function(e,t){var n=0,r=0;t<0&&(t=0);var o=t/Math.sqrt(2);switch(e){case"top-right":case"top-left":r=o-7;break;case"bottom-right":case"bottom-left":r=7-o;break;case"bottom":r=7-t;break;case"top":r=t-7}switch(e){case"top-right":case"bottom-right":n=-o;break;case"top-left":case"bottom-left":n=o;break;case"left":n=t;break;case"right":n=-t}return[n,r]}(e,t[0])}function ac(e){switch(e){case"right":case"top-right":case"bottom-right":return"right";case"left":case"top-left":case"bottom-left":return"left"}return"center"}function sc(e,t,n,r,i,a,s,l,c,u,d,p,f,h,b){var A=function(e,t,n,r,i,a,s,l){for(var c=r.layout.get("text-rotate").evaluate(a,{})*Math.PI/180,u=[],d=0,p=t.positionedLines;d<p.length;d+=1)for(var f=p[d],h=0,b=f.positionedGlyphs;h<b.length;h+=1){var A=b[h];if(A.rect){var m=A.rect||{},g=4,v=!0,y=1,M=0,O=(i||l)&&A.vertical,_=A.metrics.advance*A.scale/2;if(l&&t.verticalizable&&(M=f.lineOffset/2-(A.imageName?-(24-A.metrics.width*A.scale)/2:24*(A.scale-1))),A.imageName){var z=s[A.imageName];v=z.sdf,g=1/(y=z.pixelRatio)}var x=i?[A.x+_,A.y]:[0,0],w=i?[0,0]:[A.x+_+n[0],A.y+n[1]-M],C=[0,0];O&&(C=w,w=[0,0]);var S=(A.metrics.left-g)*A.scale-_+w[0],E=(-A.metrics.top-g)*A.scale+w[1],k=S+m.w*A.scale/y,D=E+m.h*A.scale/y,N=new o(S,E),T=new o(k,E),j=new o(S,D),B=new o(k,D);if(O){var L=new o(-_,_- -17),R=-Math.PI/2,q=12-_,P=new o(22-q,-(A.imageName?q:0)),I=new(Function.prototype.bind.apply(o,[null].concat(C)));N._rotateAround(R,L)._add(P)._add(I),T._rotateAround(R,L)._add(P)._add(I),j._rotateAround(R,L)._add(P)._add(I),B._rotateAround(R,L)._add(P)._add(I)}if(c){var W=Math.sin(c),F=Math.cos(c),U=[F,-W,W,F];N._matMult(U),T._matMult(U),j._matMult(U),B._matMult(U)}var Z=new o(0,0),H=new o(0,0);u.push({tl:N,tr:T,bl:j,br:B,tex:m,writingMode:t.writingMode,glyphOffset:x,sectionIndex:A.sectionIndex,isSDF:v,pixelOffsetTL:Z,pixelOffsetBR:H,minFontScaleX:0,minFontScaleY:0})}}return u}(0,n,l,i,a,s,r,e.allowVerticalPlacement),m=e.textSizeData,g=null;"source"===m.kind?(g=[128*i.layout.get("text-size").evaluate(s,{})])[0]>32640&&_(e.layerIds[0]+': Value for "text-size" is >= 255. Reduce your "text-size".'):"composite"===m.kind&&((g=[128*h.compositeTextSizes[0].evaluate(s,{},b),128*h.compositeTextSizes[1].evaluate(s,{},b)])[0]>32640||g[1]>32640)&&_(e.layerIds[0]+': Value for "text-size" is >= 255. Reduce your "text-size".'),e.addSymbols(e.text,A,g,l,a,s,u,t,c.lineStartIndex,c.lineLength,f,b);for(var v=0,y=d;v<y.length;v+=1)p[y[v]]=e.text.placedSymbolArray.length-1;return 4*A.length}function lc(e){for(var t in e)return e[t];return null}function cc(e,t,n,r){var o=e.compareText;if(t in o){for(var i=o[t],a=i.length-1;a>=0;a--)if(r.dist(i[a])<n)return!0}else o[t]=[];return o[t].push(r),!1}var uc=ys.VectorTileFeature.types,dc=[{name:"a_fade_opacity",components:1,type:"Uint8",offset:0}];function pc(e,t,n,r,o,i,a,s,l,c,u,d,p){var f=s?Math.min(32640,Math.round(s[0])):0,h=s?Math.min(32640,Math.round(s[1])):0;e.emplaceBack(t,n,Math.round(32*r),Math.round(32*o),i,a,(f<<1)+(l?1:0),h,16*c,16*u,256*d,256*p)}function fc(e,t,n){e.emplaceBack(t.x,t.y,n),e.emplaceBack(t.x,t.y,n),e.emplaceBack(t.x,t.y,n),e.emplaceBack(t.x,t.y,n)}function hc(e){for(var t=0,n=e.sections;t<n.length;t+=1)if(Gr(n[t].text))return!0;return!1}var bc=function(e){this.layoutVertexArray=new Bo,this.indexArray=new Fo,this.programConfigurations=e,this.segments=new li,this.dynamicLayoutVertexArray=new Lo,this.opacityVertexArray=new Ro,this.placedSymbolArray=new ei};bc.prototype.isEmpty=function(){return 0===this.layoutVertexArray.length&&0===this.indexArray.length&&0===this.dynamicLayoutVertexArray.length&&0===this.opacityVertexArray.length},bc.prototype.upload=function(e,t,n,r){this.isEmpty()||(n&&(this.layoutVertexBuffer=e.createVertexBuffer(this.layoutVertexArray,Ws.members),this.indexBuffer=e.createIndexBuffer(this.indexArray,t),this.dynamicLayoutVertexBuffer=e.createVertexBuffer(this.dynamicLayoutVertexArray,Fs.members,!0),this.opacityVertexBuffer=e.createVertexBuffer(this.opacityVertexArray,dc,!0),this.opacityVertexBuffer.itemSize=1),(n||r)&&this.programConfigurations.upload(e))},bc.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.dynamicLayoutVertexBuffer.destroy(),this.opacityVertexBuffer.destroy())},qr("SymbolBuffers",bc);var Ac=function(e,t,n){this.layoutVertexArray=new e,this.layoutAttributes=t,this.indexArray=new n,this.segments=new li,this.collisionVertexArray=new Wo};Ac.prototype.upload=function(e){this.layoutVertexBuffer=e.createVertexBuffer(this.layoutVertexArray,this.layoutAttributes),this.indexBuffer=e.createIndexBuffer(this.indexArray),this.collisionVertexBuffer=e.createVertexBuffer(this.collisionVertexArray,Us.members,!0)},Ac.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.segments.destroy(),this.collisionVertexBuffer.destroy())},qr("CollisionBuffers",Ac);var mc=function(e){this.collisionBoxArray=e.collisionBoxArray,this.zoom=e.zoom,this.overscaling=e.overscaling,this.layers=e.layers,this.layerIds=this.layers.map((function(e){return e.id})),this.index=e.index,this.pixelRatio=e.pixelRatio,this.sourceLayerIndex=e.sourceLayerIndex,this.hasPattern=!1,this.hasRTLText=!1,this.sortKeyRanges=[],this.collisionCircleArray=[],this.placementInvProjMatrix=sa([]),this.placementViewportMatrix=sa([]);var t=this.layers[0]._unevaluatedLayout._values;this.textSizeData=Ll(this.zoom,t["text-size"]),this.iconSizeData=Ll(this.zoom,t["icon-size"]);var n=this.layers[0].layout,r=n.get("symbol-sort-key"),o=n.get("symbol-z-order");this.canOverlap=n.get("text-allow-overlap")||n.get("icon-allow-overlap")||n.get("text-ignore-placement")||n.get("icon-ignore-placement"),this.sortFeaturesByKey="viewport-y"!==o&&void 0!==r.constantOr(1),this.sortFeaturesByY=("viewport-y"===o||"auto"===o&&!this.sortFeaturesByKey)&&this.canOverlap,"point"===n.get("symbol-placement")&&(this.writingModes=n.get("text-writing-mode").map((function(e){return Ml[e]}))),this.stateDependentLayerIds=this.layers.filter((function(e){return e.isStateDependent()})).map((function(e){return e.id})),this.sourceID=e.sourceID};mc.prototype.createArrays=function(){this.text=new bc(new Bi(this.layers,this.zoom,(function(e){return/^text/.test(e)}))),this.icon=new bc(new Bi(this.layers,this.zoom,(function(e){return/^icon/.test(e)}))),this.glyphOffsetArray=new ri,this.lineVertexArray=new oi,this.symbolInstances=new ni},mc.prototype.calculateGlyphDependencies=function(e,t,n,r,o){for(var i=0;i<e.length;i++)if(t[e.charCodeAt(i)]=!0,(n||r)&&o){var a=Vs[e.charAt(i)];a&&(t[a.charCodeAt(0)]=!0)}},mc.prototype.populate=function(e,t,n){var r=this.layers[0],o=r.layout,i=o.get("text-font"),a=o.get("text-field"),s=o.get("icon-image"),l=("constant"!==a.value.kind||a.value.value instanceof rt&&!a.value.value.isEmpty()||a.value.value.toString().length>0)&&("constant"!==i.value.kind||i.value.value.length>0),c="constant"!==s.value.kind||!!s.value.value||Object.keys(s.parameters).length>0,u=o.get("symbol-sort-key");if(this.features=[],l||c){for(var d=t.iconDependencies,p=t.glyphDependencies,f=t.availableImages,h=new so(this.zoom),b=0,A=e;b<A.length;b+=1){var m=A[b],g=m.feature,v=m.id,y=m.index,M=m.sourceLayerIndex,O=r._featureFilter.needGeometry,_=Wi(g,O);if(r._featureFilter.filter(h,_,n)){O||(_.geometry=Ii(g));var z=void 0;if(l){var x=r.getValueAndResolveTokens("text-field",_,n,f),w=rt.factory(x);hc(w)&&(this.hasRTLText=!0),(!this.hasRTLText||"unavailable"===oo()||this.hasRTLText&&ao.isParsed())&&(z=$s(w,r,_))}var C=void 0;if(c){var S=r.getValueAndResolveTokens("icon-image",_,n,f);C=S instanceof ot?S:ot.fromString(S)}if(z||C){var E=this.sortFeaturesByKey?u.evaluate(_,{},n):void 0;if(this.features.push({id:v,text:z,icon:C,index:y,sourceLayerIndex:M,geometry:_.geometry,properties:g.properties,type:uc[g.type],sortKey:E}),C&&(d[C.name]=!0),z){var k=i.evaluate(_,{},n).join(","),D="map"===o.get("text-rotation-alignment")&&"point"!==o.get("symbol-placement");this.allowVerticalPlacement=this.writingModes&&this.writingModes.indexOf(Ml.vertical)>=0;for(var N=0,T=z.sections;N<T.length;N+=1){var j=T[N];if(j.image)d[j.image.name]=!0;else{var B=$r(z.toString()),L=j.fontStack||k,R=p[L]=p[L]||{};this.calculateGlyphDependencies(j.text,R,D,this.allowVerticalPlacement,B)}}}}}}"line"===o.get("symbol-placement")&&(this.features=function(e){var t={},n={},r=[],o=0;function i(t){r.push(e[t]),o++}function a(e,t,o){var i=n[e];return delete n[e],n[t]=i,r[i].geometry[0].pop(),r[i].geometry[0]=r[i].geometry[0].concat(o[0]),i}function s(e,n,o){var i=t[n];return delete t[n],t[e]=i,r[i].geometry[0].shift(),r[i].geometry[0]=o[0].concat(r[i].geometry[0]),i}function l(e,t,n){var r=n?t[0][t[0].length-1]:t[0][0];return e+":"+r.x+":"+r.y}for(var c=0;c<e.length;c++){var u=e[c],d=u.geometry,p=u.text?u.text.toString():null;if(p){var f=l(p,d),h=l(p,d,!0);if(f in n&&h in t&&n[f]!==t[h]){var b=s(f,h,d),A=a(f,h,r[b].geometry);delete t[f],delete n[h],n[l(p,r[A].geometry,!0)]=A,r[b].geometry=null}else f in n?a(f,h,d):h in t?s(f,h,d):(i(c),t[f]=o-1,n[h]=o-1)}else i(c)}return r.filter((function(e){return e.geometry}))}(this.features)),this.sortFeaturesByKey&&this.features.sort((function(e,t){return e.sortKey-t.sortKey}))}},mc.prototype.update=function(e,t,n){this.stateDependentLayers.length&&(this.text.programConfigurations.updatePaintArrays(e,t,this.layers,n),this.icon.programConfigurations.updatePaintArrays(e,t,this.layers,n))},mc.prototype.isEmpty=function(){return 0===this.symbolInstances.length&&!this.hasRTLText},mc.prototype.uploadPending=function(){return!this.uploaded||this.text.programConfigurations.needsUpload||this.icon.programConfigurations.needsUpload},mc.prototype.upload=function(e){!this.uploaded&&this.hasDebugData()&&(this.textCollisionBox.upload(e),this.iconCollisionBox.upload(e)),this.text.upload(e,this.sortFeaturesByY,!this.uploaded,this.text.programConfigurations.needsUpload),this.icon.upload(e,this.sortFeaturesByY,!this.uploaded,this.icon.programConfigurations.needsUpload),this.uploaded=!0},mc.prototype.destroyDebugData=function(){this.textCollisionBox.destroy(),this.iconCollisionBox.destroy()},mc.prototype.destroy=function(){this.text.destroy(),this.icon.destroy(),this.hasDebugData()&&this.destroyDebugData()},mc.prototype.addToLineVertexArray=function(e,t){var n=this.lineVertexArray.length;if(void 0!==e.segment){for(var r=e.dist(t[e.segment+1]),o=e.dist(t[e.segment]),i={},a=e.segment+1;a<t.length;a++)i[a]={x:t[a].x,y:t[a].y,tileUnitDistanceFromAnchor:r},a<t.length-1&&(r+=t[a+1].dist(t[a]));for(var s=e.segment||0;s>=0;s--)i[s]={x:t[s].x,y:t[s].y,tileUnitDistanceFromAnchor:o},s>0&&(o+=t[s-1].dist(t[s]));for(var l=0;l<t.length;l++){var c=i[l];this.lineVertexArray.emplaceBack(c.x,c.y,c.tileUnitDistanceFromAnchor)}}return{lineStartIndex:n,lineLength:this.lineVertexArray.length-n}},mc.prototype.addSymbols=function(e,t,n,r,o,i,a,s,l,c,u,d){for(var p=e.indexArray,f=e.layoutVertexArray,h=e.segments.prepareSegment(4*t.length,f,p,this.canOverlap?i.sortKey:void 0),b=this.glyphOffsetArray.length,A=h.vertexLength,m=this.allowVerticalPlacement&&a===Ml.vertical?Math.PI/2:0,g=i.text&&i.text.sections,v=0;v<t.length;v++){var y=t[v],M=y.tl,O=y.tr,_=y.bl,z=y.br,x=y.tex,w=y.pixelOffsetTL,C=y.pixelOffsetBR,S=y.minFontScaleX,E=y.minFontScaleY,k=y.glyphOffset,D=y.isSDF,N=y.sectionIndex,T=h.vertexLength,j=k[1];pc(f,s.x,s.y,M.x,j+M.y,x.x,x.y,n,D,w.x,w.y,S,E),pc(f,s.x,s.y,O.x,j+O.y,x.x+x.w,x.y,n,D,C.x,w.y,S,E),pc(f,s.x,s.y,_.x,j+_.y,x.x,x.y+x.h,n,D,w.x,C.y,S,E),pc(f,s.x,s.y,z.x,j+z.y,x.x+x.w,x.y+x.h,n,D,C.x,C.y,S,E),fc(e.dynamicLayoutVertexArray,s,m),p.emplaceBack(T,T+1,T+2),p.emplaceBack(T+1,T+2,T+3),h.vertexLength+=4,h.primitiveLength+=2,this.glyphOffsetArray.emplaceBack(k[0]),v!==t.length-1&&N===t[v+1].sectionIndex||e.programConfigurations.populatePaintArrays(f.length,i,i.index,{},d,g&&g[N])}e.placedSymbolArray.emplaceBack(s.x,s.y,b,this.glyphOffsetArray.length-b,A,l,c,s.segment,n?n[0]:0,n?n[1]:0,r[0],r[1],a,0,!1,0,u)},mc.prototype._addCollisionDebugVertex=function(e,t,n,r,o,i){return t.emplaceBack(0,0),e.emplaceBack(n.x,n.y,r,o,Math.round(i.x),Math.round(i.y))},mc.prototype.addCollisionDebugVertices=function(e,t,n,r,i,a,s){var l=i.segments.prepareSegment(4,i.layoutVertexArray,i.indexArray),c=l.vertexLength,u=i.layoutVertexArray,d=i.collisionVertexArray,p=s.anchorX,f=s.anchorY;this._addCollisionDebugVertex(u,d,a,p,f,new o(e,t)),this._addCollisionDebugVertex(u,d,a,p,f,new o(n,t)),this._addCollisionDebugVertex(u,d,a,p,f,new o(n,r)),this._addCollisionDebugVertex(u,d,a,p,f,new o(e,r)),l.vertexLength+=4;var h=i.indexArray;h.emplaceBack(c,c+1),h.emplaceBack(c+1,c+2),h.emplaceBack(c+2,c+3),h.emplaceBack(c+3,c),l.primitiveLength+=4},mc.prototype.addDebugCollisionBoxes=function(e,t,n,r){for(var o=e;o<t;o++){var i=this.collisionBoxArray.get(o);this.addCollisionDebugVertices(i.x1,i.y1,i.x2,i.y2,r?this.textCollisionBox:this.iconCollisionBox,i.anchorPoint,n)}},mc.prototype.generateCollisionDebugBuffers=function(){this.hasDebugData()&&this.destroyDebugData(),this.textCollisionBox=new Ac(Po,Zs.members,Xo),this.iconCollisionBox=new Ac(Po,Zs.members,Xo);for(var e=0;e<this.symbolInstances.length;e++){var t=this.symbolInstances.get(e);this.addDebugCollisionBoxes(t.textBoxStartIndex,t.textBoxEndIndex,t,!0),this.addDebugCollisionBoxes(t.verticalTextBoxStartIndex,t.verticalTextBoxEndIndex,t,!0),this.addDebugCollisionBoxes(t.iconBoxStartIndex,t.iconBoxEndIndex,t,!1),this.addDebugCollisionBoxes(t.verticalIconBoxStartIndex,t.verticalIconBoxEndIndex,t,!1)}},mc.prototype._deserializeCollisionBoxesForSymbol=function(e,t,n,r,o,i,a,s,l){for(var c={},u=t;u<n;u++){var d=e.get(u);c.textBox={x1:d.x1,y1:d.y1,x2:d.x2,y2:d.y2,anchorPointX:d.anchorPointX,anchorPointY:d.anchorPointY},c.textFeatureIndex=d.featureIndex;break}for(var p=r;p<o;p++){var f=e.get(p);c.verticalTextBox={x1:f.x1,y1:f.y1,x2:f.x2,y2:f.y2,anchorPointX:f.anchorPointX,anchorPointY:f.anchorPointY},c.verticalTextFeatureIndex=f.featureIndex;break}for(var h=i;h<a;h++){var b=e.get(h);c.iconBox={x1:b.x1,y1:b.y1,x2:b.x2,y2:b.y2,anchorPointX:b.anchorPointX,anchorPointY:b.anchorPointY},c.iconFeatureIndex=b.featureIndex;break}for(var A=s;A<l;A++){var m=e.get(A);c.verticalIconBox={x1:m.x1,y1:m.y1,x2:m.x2,y2:m.y2,anchorPointX:m.anchorPointX,anchorPointY:m.anchorPointY},c.verticalIconFeatureIndex=m.featureIndex;break}return c},mc.prototype.deserializeCollisionBoxes=function(e){this.collisionArrays=[];for(var t=0;t<this.symbolInstances.length;t++){var n=this.symbolInstances.get(t);this.collisionArrays.push(this._deserializeCollisionBoxesForSymbol(e,n.textBoxStartIndex,n.textBoxEndIndex,n.verticalTextBoxStartIndex,n.verticalTextBoxEndIndex,n.iconBoxStartIndex,n.iconBoxEndIndex,n.verticalIconBoxStartIndex,n.verticalIconBoxEndIndex))}},mc.prototype.hasTextData=function(){return this.text.segments.get().length>0},mc.prototype.hasIconData=function(){return this.icon.segments.get().length>0},mc.prototype.hasDebugData=function(){return this.textCollisionBox&&this.iconCollisionBox},mc.prototype.hasTextCollisionBoxData=function(){return this.hasDebugData()&&this.textCollisionBox.segments.get().length>0},mc.prototype.hasIconCollisionBoxData=function(){return this.hasDebugData()&&this.iconCollisionBox.segments.get().length>0},mc.prototype.addIndicesForPlacedSymbol=function(e,t){for(var n=e.placedSymbolArray.get(t),r=n.vertexStartIndex+4*n.numGlyphs,o=n.vertexStartIndex;o<r;o+=4)e.indexArray.emplaceBack(o,o+1,o+2),e.indexArray.emplaceBack(o+1,o+2,o+3)},mc.prototype.getSortedSymbolIndexes=function(e){if(this.sortedAngle===e&&void 0!==this.symbolInstanceIndexes)return this.symbolInstanceIndexes;for(var t=Math.sin(e),n=Math.cos(e),r=[],o=[],i=[],a=0;a<this.symbolInstances.length;++a){i.push(a);var s=this.symbolInstances.get(a);r.push(0|Math.round(t*s.anchorX+n*s.anchorY)),o.push(s.featureIndex)}return i.sort((function(e,t){return r[e]-r[t]||o[t]-o[e]})),i},mc.prototype.addToSortKeyRanges=function(e,t){var n=this.sortKeyRanges[this.sortKeyRanges.length-1];n&&n.sortKey===t?n.symbolInstanceEnd=e+1:this.sortKeyRanges.push({sortKey:t,symbolInstanceStart:e,symbolInstanceEnd:e+1})},mc.prototype.sortFeatures=function(e){var t=this;if(this.sortFeaturesByY&&this.sortedAngle!==e&&!(this.text.segments.get().length>1||this.icon.segments.get().length>1)){this.symbolInstanceIndexes=this.getSortedSymbolIndexes(e),this.sortedAngle=e,this.text.indexArray.clear(),this.icon.indexArray.clear(),this.featureSortOrder=[];for(var n=0,r=this.symbolInstanceIndexes;n<r.length;n+=1){var o=this.symbolInstances.get(r[n]);this.featureSortOrder.push(o.featureIndex),[o.rightJustifiedTextSymbolIndex,o.centerJustifiedTextSymbolIndex,o.leftJustifiedTextSymbolIndex].forEach((function(e,n,r){e>=0&&r.indexOf(e)===n&&t.addIndicesForPlacedSymbol(t.text,e)})),o.verticalPlacedTextSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.text,o.verticalPlacedTextSymbolIndex),o.placedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,o.placedIconSymbolIndex),o.verticalPlacedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,o.verticalPlacedIconSymbolIndex)}this.text.indexBuffer&&this.text.indexBuffer.updateData(this.text.indexArray),this.icon.indexBuffer&&this.icon.indexBuffer.updateData(this.icon.indexArray)}},qr("SymbolBucket",mc,{omit:["layers","collisionBoxArray","features","compareText"]}),mc.MAX_GLYPHS=65535,mc.addDynamicAttributes=fc;var gc=new Oo({"symbol-placement":new mo(Ee.layout_symbol["symbol-placement"]),"symbol-spacing":new mo(Ee.layout_symbol["symbol-spacing"]),"symbol-avoid-edges":new mo(Ee.layout_symbol["symbol-avoid-edges"]),"symbol-sort-key":new go(Ee.layout_symbol["symbol-sort-key"]),"symbol-z-order":new mo(Ee.layout_symbol["symbol-z-order"]),"icon-allow-overlap":new mo(Ee.layout_symbol["icon-allow-overlap"]),"icon-ignore-placement":new mo(Ee.layout_symbol["icon-ignore-placement"]),"icon-optional":new mo(Ee.layout_symbol["icon-optional"]),"icon-rotation-alignment":new mo(Ee.layout_symbol["icon-rotation-alignment"]),"icon-size":new go(Ee.layout_symbol["icon-size"]),"icon-text-fit":new mo(Ee.layout_symbol["icon-text-fit"]),"icon-text-fit-padding":new mo(Ee.layout_symbol["icon-text-fit-padding"]),"icon-image":new go(Ee.layout_symbol["icon-image"]),"icon-rotate":new go(Ee.layout_symbol["icon-rotate"]),"icon-padding":new mo(Ee.layout_symbol["icon-padding"]),"icon-keep-upright":new mo(Ee.layout_symbol["icon-keep-upright"]),"icon-offset":new go(Ee.layout_symbol["icon-offset"]),"icon-anchor":new go(Ee.layout_symbol["icon-anchor"]),"icon-pitch-alignment":new mo(Ee.layout_symbol["icon-pitch-alignment"]),"text-pitch-alignment":new mo(Ee.layout_symbol["text-pitch-alignment"]),"text-rotation-alignment":new mo(Ee.layout_symbol["text-rotation-alignment"]),"text-field":new go(Ee.layout_symbol["text-field"]),"text-font":new go(Ee.layout_symbol["text-font"]),"text-size":new go(Ee.layout_symbol["text-size"]),"text-max-width":new go(Ee.layout_symbol["text-max-width"]),"text-line-height":new mo(Ee.layout_symbol["text-line-height"]),"text-letter-spacing":new go(Ee.layout_symbol["text-letter-spacing"]),"text-justify":new go(Ee.layout_symbol["text-justify"]),"text-radial-offset":new go(Ee.layout_symbol["text-radial-offset"]),"text-variable-anchor":new mo(Ee.layout_symbol["text-variable-anchor"]),"text-anchor":new go(Ee.layout_symbol["text-anchor"]),"text-max-angle":new mo(Ee.layout_symbol["text-max-angle"]),"text-writing-mode":new mo(Ee.layout_symbol["text-writing-mode"]),"text-rotate":new go(Ee.layout_symbol["text-rotate"]),"text-padding":new mo(Ee.layout_symbol["text-padding"]),"text-keep-upright":new mo(Ee.layout_symbol["text-keep-upright"]),"text-transform":new go(Ee.layout_symbol["text-transform"]),"text-offset":new go(Ee.layout_symbol["text-offset"]),"text-allow-overlap":new mo(Ee.layout_symbol["text-allow-overlap"]),"text-ignore-placement":new mo(Ee.layout_symbol["text-ignore-placement"]),"text-optional":new mo(Ee.layout_symbol["text-optional"])}),vc={paint:new Oo({"icon-opacity":new go(Ee.paint_symbol["icon-opacity"]),"icon-color":new go(Ee.paint_symbol["icon-color"]),"icon-halo-color":new go(Ee.paint_symbol["icon-halo-color"]),"icon-halo-width":new go(Ee.paint_symbol["icon-halo-width"]),"icon-halo-blur":new go(Ee.paint_symbol["icon-halo-blur"]),"icon-translate":new mo(Ee.paint_symbol["icon-translate"]),"icon-translate-anchor":new mo(Ee.paint_symbol["icon-translate-anchor"]),"text-opacity":new go(Ee.paint_symbol["text-opacity"]),"text-color":new go(Ee.paint_symbol["text-color"],{runtimeType:We,getOverride:function(e){return e.textColor},hasOverride:function(e){return!!e.textColor}}),"text-halo-color":new go(Ee.paint_symbol["text-halo-color"]),"text-halo-width":new go(Ee.paint_symbol["text-halo-width"]),"text-halo-blur":new go(Ee.paint_symbol["text-halo-blur"]),"text-translate":new mo(Ee.paint_symbol["text-translate"]),"text-translate-anchor":new mo(Ee.paint_symbol["text-translate-anchor"])}),layout:gc},yc=function(e){this.type=e.property.overrides?e.property.overrides.runtimeType:Re,this.defaultValue=e};yc.prototype.evaluate=function(e){if(e.formattedSection){var t=this.defaultValue.property.overrides;if(t&&t.hasOverride(e.formattedSection))return t.getOverride(e.formattedSection)}return e.feature&&e.featureState?this.defaultValue.evaluate(e.feature,e.featureState):this.defaultValue.property.specification.default},yc.prototype.eachChild=function(e){this.defaultValue.isConstant()||e(this.defaultValue.value._styleExpression.expression)},yc.prototype.outputDefined=function(){return!1},yc.prototype.serialize=function(){return null},qr("FormatSectionOverride",yc,{omit:["defaultValue"]});var Mc=function(e){function t(t){e.call(this,t,vc)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.recalculate=function(t,n){if(e.prototype.recalculate.call(this,t,n),"auto"===this.layout.get("icon-rotation-alignment")&&(this.layout._values["icon-rotation-alignment"]="point"!==this.layout.get("symbol-placement")?"map":"viewport"),"auto"===this.layout.get("text-rotation-alignment")&&(this.layout._values["text-rotation-alignment"]="point"!==this.layout.get("symbol-placement")?"map":"viewport"),"auto"===this.layout.get("text-pitch-alignment")&&(this.layout._values["text-pitch-alignment"]=this.layout.get("text-rotation-alignment")),"auto"===this.layout.get("icon-pitch-alignment")&&(this.layout._values["icon-pitch-alignment"]=this.layout.get("icon-rotation-alignment")),"point"===this.layout.get("symbol-placement")){var r=this.layout.get("text-writing-mode");if(r){for(var o=[],i=0,a=r;i<a.length;i+=1){var s=a[i];o.indexOf(s)<0&&o.push(s)}this.layout._values["text-writing-mode"]=o}else this.layout._values["text-writing-mode"]=["horizontal"]}this._setPaintOverrides()},t.prototype.getValueAndResolveTokens=function(e,t,n,r){var o=this.layout.get(e).evaluate(t,{},n,r),i=this._unevaluatedLayout._values[e];return i.isDataDriven()||$n(i.value)||!o?o:function(e,t){return t.replace(/{([^{}]+)}/g,(function(t,n){return n in e?String(e[n]):""}))}(t.properties,o)},t.prototype.createBucket=function(e){return new mc(e)},t.prototype.queryRadius=function(){return 0},t.prototype.queryIntersectsFeature=function(){return!1},t.prototype._setPaintOverrides=function(){for(var e=0,n=vc.paint.overridableProperties;e<n.length;e+=1){var r=n[e];if(t.hasPaintOverride(this.layout,r)){var o,i=this.paint.get(r),a=new yc(i),s=new Hn(a,i.property.specification);o="constant"===i.value.kind||"source"===i.value.kind?new Xn("source",s):new Qn("composite",s,i.value.zoomStops,i.value._interpolationType),this.paint._values[r]=new bo(i.property,o,i.parameters)}}},t.prototype._handleOverridablePaintPropertyUpdate=function(e,n,r){return!(!this.layout||n.isDataDriven()||r.isDataDriven())&&t.hasPaintOverride(this.layout,e)},t.hasPaintOverride=function(e,t){var n=e.get("text-field"),r=vc.paint.properties[t],o=!1,i=function(e){for(var t=0,n=e;t<n.length;t+=1)if(r.overrides&&r.overrides.hasOverride(n[t]))return void(o=!0)};if("constant"===n.value.kind&&n.value.value instanceof rt)i(n.value.value.sections);else if("source"===n.value.kind){var a=function e(t){o||(t instanceof ct&&st(t.value)===He?i(t.value.sections):t instanceof ft?i(t.sections):t.eachChild(e))},s=n.value;s._styleExpression&&a(s._styleExpression.expression)}return o},t}(_o),Oc={paint:new Oo({"background-color":new mo(Ee.paint_background["background-color"]),"background-pattern":new yo(Ee.paint_background["background-pattern"]),"background-opacity":new mo(Ee.paint_background["background-opacity"])})},_c=function(e){function t(t){e.call(this,t,Oc)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t}(_o),zc={paint:new Oo({"raster-opacity":new mo(Ee.paint_raster["raster-opacity"]),"raster-hue-rotate":new mo(Ee.paint_raster["raster-hue-rotate"]),"raster-brightness-min":new mo(Ee.paint_raster["raster-brightness-min"]),"raster-brightness-max":new mo(Ee.paint_raster["raster-brightness-max"]),"raster-saturation":new mo(Ee.paint_raster["raster-saturation"]),"raster-contrast":new mo(Ee.paint_raster["raster-contrast"]),"raster-resampling":new mo(Ee.paint_raster["raster-resampling"]),"raster-fade-duration":new mo(Ee.paint_raster["raster-fade-duration"])})},xc=function(e){function t(t){e.call(this,t,zc)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t}(_o),wc=function(e){function t(t){e.call(this,t,{}),this.implementation=t}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.is3D=function(){return"3d"===this.implementation.renderingMode},t.prototype.hasOffscreenPass=function(){return void 0!==this.implementation.prerender},t.prototype.recalculate=function(){},t.prototype.updateTransitions=function(){},t.prototype.hasTransition=function(){},t.prototype.serialize=function(){},t.prototype.onAdd=function(e){this.implementation.onAdd&&this.implementation.onAdd(e,e.painter.context.gl)},t.prototype.onRemove=function(e){this.implementation.onRemove&&this.implementation.onRemove(e,e.painter.context.gl)},t}(_o),Cc={circle:pa,heatmap:Oa,hillshade:za,fill:us,"fill-extrusion":Cs,line:Ps,symbol:Mc,background:_c,raster:xc},Sc=a.HTMLImageElement,Ec=a.HTMLCanvasElement,kc=a.HTMLVideoElement,Dc=a.ImageData,Nc=a.ImageBitmap,Tc=function(e,t,n,r){this.context=e,this.format=n,this.texture=e.gl.createTexture(),this.update(t,r)};Tc.prototype.update=function(e,t,n){var r=e.width,o=e.height,i=!(this.size&&this.size[0]===r&&this.size[1]===o||n),a=this.context,s=a.gl;if(this.useMipmap=Boolean(t&&t.useMipmap),s.bindTexture(s.TEXTURE_2D,this.texture),a.pixelStoreUnpackFlipY.set(!1),a.pixelStoreUnpack.set(1),a.pixelStoreUnpackPremultiplyAlpha.set(this.format===s.RGBA&&(!t||!1!==t.premultiply)),i)this.size=[r,o],e instanceof Sc||e instanceof Ec||e instanceof kc||e instanceof Dc||Nc&&e instanceof Nc?s.texImage2D(s.TEXTURE_2D,0,this.format,this.format,s.UNSIGNED_BYTE,e):s.texImage2D(s.TEXTURE_2D,0,this.format,r,o,0,this.format,s.UNSIGNED_BYTE,e.data);else{var l=n||{x:0,y:0},c=l.x,u=l.y;e instanceof Sc||e instanceof Ec||e instanceof kc||e instanceof Dc||Nc&&e instanceof Nc?s.texSubImage2D(s.TEXTURE_2D,0,c,u,s.RGBA,s.UNSIGNED_BYTE,e):s.texSubImage2D(s.TEXTURE_2D,0,c,u,r,o,s.RGBA,s.UNSIGNED_BYTE,e.data)}this.useMipmap&&this.isSizePowerOfTwo()&&s.generateMipmap(s.TEXTURE_2D)},Tc.prototype.bind=function(e,t,n){var r=this.context.gl;r.bindTexture(r.TEXTURE_2D,this.texture),n!==r.LINEAR_MIPMAP_NEAREST||this.isSizePowerOfTwo()||(n=r.LINEAR),e!==this.filter&&(r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MAG_FILTER,e),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MIN_FILTER,n||e),this.filter=e),t!==this.wrap&&(r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_S,t),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_T,t),this.wrap=t)},Tc.prototype.isSizePowerOfTwo=function(){return this.size[0]===this.size[1]&&Math.log(this.size[0])/Math.LN2%1==0},Tc.prototype.destroy=function(){this.context.gl.deleteTexture(this.texture),this.texture=null};var jc=function(e){var t=this;this._callback=e,this._triggered=!1,"undefined"!=typeof MessageChannel&&(this._channel=new MessageChannel,this._channel.port2.onmessage=function(){t._triggered=!1,t._callback()})};jc.prototype.trigger=function(){var e=this;this._triggered||(this._triggered=!0,this._channel?this._channel.port1.postMessage(!0):setTimeout((function(){e._triggered=!1,e._callback()}),0))},jc.prototype.remove=function(){delete this._channel,this._callback=function(){}};var Bc=function(e,t,n){this.target=e,this.parent=t,this.mapId=n,this.callbacks={},this.tasks={},this.taskQueue=[],this.cancelCallbacks={},m(["receive","process"],this),this.invoker=new jc(this.process),this.target.addEventListener("message",this.receive,!1),this.globalScope=w()?e:a};function Lc(e,t,n){var r=2*Math.PI*6378137/256/Math.pow(2,n);return[e*r-2*Math.PI*6378137/2,t*r-2*Math.PI*6378137/2]}Bc.prototype.send=function(e,t,n,r,o){var i=this;void 0===o&&(o=!1);var a=Math.round(1e18*Math.random()).toString(36).substring(0,10);n&&(this.callbacks[a]=n);var s=E(this.globalScope)?void 0:[];return this.target.postMessage({id:a,type:e,hasCallback:!!n,targetMapId:r,mustQueue:o,sourceMapId:this.mapId,data:Fr(t,s)},s),{cancel:function(){n&&delete i.callbacks[a],i.target.postMessage({id:a,type:"<cancel>",targetMapId:r,sourceMapId:i.mapId})}}},Bc.prototype.receive=function(e){var t=e.data,n=t.id;if(n&&(!t.targetMapId||this.mapId===t.targetMapId))if("<cancel>"===t.type){delete this.tasks[n];var r=this.cancelCallbacks[n];delete this.cancelCallbacks[n],r&&r()}else w()||t.mustQueue?(this.tasks[n]=t,this.taskQueue.push(n),this.invoker.trigger()):this.processTask(n,t)},Bc.prototype.process=function(){if(this.taskQueue.length){var e=this.taskQueue.shift(),t=this.tasks[e];delete this.tasks[e],this.taskQueue.length&&this.invoker.trigger(),t&&this.processTask(e,t)}},Bc.prototype.processTask=function(e,t){var n=this;if("<response>"===t.type){var r=this.callbacks[e];delete this.callbacks[e],r&&(t.error?r(Ur(t.error)):r(null,Ur(t.data)))}else{var o=!1,i=E(this.globalScope)?void 0:[],a=t.hasCallback?function(t,r){o=!0,delete n.cancelCallbacks[e],n.target.postMessage({id:e,type:"<response>",sourceMapId:n.mapId,error:t?Fr(t):null,data:Fr(r,i)},i)}:function(e){o=!0},s=null,l=Ur(t.data);if(this.parent[t.type])s=this.parent[t.type](t.sourceMapId,l,a);else if(this.parent.getWorkerSource){var c=t.type.split(".");s=this.parent.getWorkerSource(t.sourceMapId,c[0],l.source)[c[1]](l,a)}else a(new Error("Could not find function "+t.type));!o&&s&&s.cancel&&(this.cancelCallbacks[e]=s.cancel)}},Bc.prototype.remove=function(){this.invoker.remove(),this.target.removeEventListener("message",this.receive,!1)};var Rc=function(e,t){e&&(t?this.setSouthWest(e).setNorthEast(t):4===e.length?this.setSouthWest([e[0],e[1]]).setNorthEast([e[2],e[3]]):this.setSouthWest(e[0]).setNorthEast(e[1]))};Rc.prototype.setNorthEast=function(e){return this._ne=e instanceof qc?new qc(e.lng,e.lat):qc.convert(e),this},Rc.prototype.setSouthWest=function(e){return this._sw=e instanceof qc?new qc(e.lng,e.lat):qc.convert(e),this},Rc.prototype.extend=function(e){var t,n,r=this._sw,o=this._ne;if(e instanceof qc)t=e,n=e;else{if(!(e instanceof Rc))return Array.isArray(e)?4===e.length||e.every(Array.isArray)?this.extend(Rc.convert(e)):this.extend(qc.convert(e)):this;if(n=e._ne,!(t=e._sw)||!n)return this}return r||o?(r.lng=Math.min(t.lng,r.lng),r.lat=Math.min(t.lat,r.lat),o.lng=Math.max(n.lng,o.lng),o.lat=Math.max(n.lat,o.lat)):(this._sw=new qc(t.lng,t.lat),this._ne=new qc(n.lng,n.lat)),this},Rc.prototype.getCenter=function(){return new qc((this._sw.lng+this._ne.lng)/2,(this._sw.lat+this._ne.lat)/2)},Rc.prototype.getSouthWest=function(){return this._sw},Rc.prototype.getNorthEast=function(){return this._ne},Rc.prototype.getNorthWest=function(){return new qc(this.getWest(),this.getNorth())},Rc.prototype.getSouthEast=function(){return new qc(this.getEast(),this.getSouth())},Rc.prototype.getWest=function(){return this._sw.lng},Rc.prototype.getSouth=function(){return this._sw.lat},Rc.prototype.getEast=function(){return this._ne.lng},Rc.prototype.getNorth=function(){return this._ne.lat},Rc.prototype.toArray=function(){return[this._sw.toArray(),this._ne.toArray()]},Rc.prototype.toString=function(){return"LngLatBounds("+this._sw.toString()+", "+this._ne.toString()+")"},Rc.prototype.isEmpty=function(){return!(this._sw&&this._ne)},Rc.prototype.contains=function(e){var t=qc.convert(e),n=t.lng,r=t.lat,o=this._sw.lng<=n&&n<=this._ne.lng;return this._sw.lng>this._ne.lng&&(o=this._sw.lng>=n&&n>=this._ne.lng),this._sw.lat<=r&&r<=this._ne.lat&&o},Rc.convert=function(e){return!e||e instanceof Rc?e:new Rc(e)};var qc=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid LngLat object: ("+e+", "+t+")");if(this.lng=+e,this.lat=+t,this.lat>90||this.lat<-90)throw new Error("Invalid LngLat latitude value: must be between -90 and 90")};qc.prototype.wrap=function(){return new qc(d(this.lng,-180,180),this.lat)},qc.prototype.toArray=function(){return[this.lng,this.lat]},qc.prototype.toString=function(){return"LngLat("+this.lng+", "+this.lat+")"},qc.prototype.distanceTo=function(e){var t=Math.PI/180,n=this.lat*t,r=e.lat*t,o=Math.sin(n)*Math.sin(r)+Math.cos(n)*Math.cos(r)*Math.cos((e.lng-this.lng)*t);return 6371008.8*Math.acos(Math.min(o,1))},qc.prototype.toBounds=function(e){void 0===e&&(e=0);var t=360*e/40075017,n=t/Math.cos(Math.PI/180*this.lat);return new Rc(new qc(this.lng-n,this.lat-t),new qc(this.lng+n,this.lat+t))},qc.convert=function(e){if(e instanceof qc)return e;if(Array.isArray(e)&&(2===e.length||3===e.length))return new qc(Number(e[0]),Number(e[1]));if(!Array.isArray(e)&&"object"==typeof e&&null!==e)return new qc(Number("lng"in e?e.lng:e.lon),Number(e.lat));throw new Error("`LngLatLike` argument must be specified as a LngLat instance, an object {lng: <lng>, lat: <lat>}, an object {lon: <lng>, lat: <lat>}, or an array of [<lng>, <lat>]")};var Pc=2*Math.PI*6371008.8;function Ic(e){return Pc*Math.cos(e*Math.PI/180)}function Wc(e){return(180+e)/360}function Fc(e){return(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+e*Math.PI/360)))/360}function Uc(e,t){return e/Ic(t)}function Zc(e){return 360/Math.PI*Math.atan(Math.exp((180-360*e)*Math.PI/180))-90}var Hc=function(e,t,n){void 0===n&&(n=0),this.x=+e,this.y=+t,this.z=+n};Hc.fromLngLat=function(e,t){void 0===t&&(t=0);var n=qc.convert(e);return new Hc(Wc(n.lng),Fc(n.lat),Uc(t,n.lat))},Hc.prototype.toLngLat=function(){return new qc(360*this.x-180,Zc(this.y))},Hc.prototype.toAltitude=function(){return this.z*Ic(Zc(this.y))},Hc.prototype.meterInMercatorCoordinateUnits=function(){return 1/Pc*(e=Zc(this.y),1/Math.cos(e*Math.PI/180));var e};var $c=function(e,t,n){this.z=e,this.x=t,this.y=n,this.key=Qc(0,e,e,t,n)};$c.prototype.equals=function(e){return this.z===e.z&&this.x===e.x&&this.y===e.y},$c.prototype.url=function(e,t){var n,r,o,i,a,s=(r=this.y,o=this.z,i=Lc(256*(n=this.x),256*(r=Math.pow(2,o)-r-1),o),a=Lc(256*(n+1),256*(r+1),o),i[0]+","+i[1]+","+a[0]+","+a[1]),l=function(e,t,n){for(var r,o="",i=e;i>0;i--)o+=(t&(r=1<<i-1)?1:0)+(n&r?2:0);return o}(this.z,this.x,this.y);return e[(this.x+this.y)%e.length].replace("{prefix}",(this.x%16).toString(16)+(this.y%16).toString(16)).replace("{z}",String(this.z)).replace("{x}",String(this.x)).replace("{y}",String("tms"===t?Math.pow(2,this.z)-this.y-1:this.y)).replace("{quadkey}",l).replace("{bbox-epsg-3857}",s)},$c.prototype.getTilePoint=function(e){var t=Math.pow(2,this.z);return new o(8192*(e.x*t-this.x),8192*(e.y*t-this.y))},$c.prototype.toString=function(){return this.z+"/"+this.x+"/"+this.y};var Vc=function(e,t){this.wrap=e,this.canonical=t,this.key=Qc(e,t.z,t.z,t.x,t.y)},Xc=function(e,t,n,r,o){this.overscaledZ=e,this.wrap=t,this.canonical=new $c(n,+r,+o),this.key=Qc(t,e,n,r,o)};function Qc(e,t,n,r,o){(e*=2)<0&&(e=-1*e-1);var i=1<<n;return(i*i*e+i*o+r).toString(36)+n.toString(36)+t.toString(36)}Xc.prototype.equals=function(e){return this.overscaledZ===e.overscaledZ&&this.wrap===e.wrap&&this.canonical.equals(e.canonical)},Xc.prototype.scaledTo=function(e){var t=this.canonical.z-e;return e>this.canonical.z?new Xc(e,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y):new Xc(e,this.wrap,e,this.canonical.x>>t,this.canonical.y>>t)},Xc.prototype.calculateScaledKey=function(e,t){var n=this.canonical.z-e;return e>this.canonical.z?Qc(this.wrap*+t,e,this.canonical.z,this.canonical.x,this.canonical.y):Qc(this.wrap*+t,e,e,this.canonical.x>>n,this.canonical.y>>n)},Xc.prototype.isChildOf=function(e){if(e.wrap!==this.wrap)return!1;var t=this.canonical.z-e.canonical.z;return 0===e.overscaledZ||e.overscaledZ<this.overscaledZ&&e.canonical.x===this.canonical.x>>t&&e.canonical.y===this.canonical.y>>t},Xc.prototype.children=function(e){if(this.overscaledZ>=e)return[new Xc(this.overscaledZ+1,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)];var t=this.canonical.z+1,n=2*this.canonical.x,r=2*this.canonical.y;return[new Xc(t,this.wrap,t,n,r),new Xc(t,this.wrap,t,n+1,r),new Xc(t,this.wrap,t,n,r+1),new Xc(t,this.wrap,t,n+1,r+1)]},Xc.prototype.isLessThan=function(e){return this.wrap<e.wrap||!(this.wrap>e.wrap)&&(this.overscaledZ<e.overscaledZ||!(this.overscaledZ>e.overscaledZ)&&(this.canonical.x<e.canonical.x||!(this.canonical.x>e.canonical.x)&&this.canonical.y<e.canonical.y))},Xc.prototype.wrapped=function(){return new Xc(this.overscaledZ,0,this.canonical.z,this.canonical.x,this.canonical.y)},Xc.prototype.unwrapTo=function(e){return new Xc(this.overscaledZ,e,this.canonical.z,this.canonical.x,this.canonical.y)},Xc.prototype.overscaleFactor=function(){return Math.pow(2,this.overscaledZ-this.canonical.z)},Xc.prototype.toUnwrapped=function(){return new Vc(this.wrap,this.canonical)},Xc.prototype.toString=function(){return this.overscaledZ+"/"+this.canonical.x+"/"+this.canonical.y},Xc.prototype.getTilePoint=function(e){return this.canonical.getTilePoint(new Hc(e.x-this.wrap,e.y))},qr("CanonicalTileID",$c),qr("OverscaledTileID",Xc,{omit:["posMatrix"]});var Yc=function(e,t,n){if(this.uid=e,t.height!==t.width)throw new RangeError("DEM tiles must be square");if(n&&"mapbox"!==n&&"terrarium"!==n)return _('"'+n+'" is not a valid encoding type. Valid types include "mapbox" and "terrarium".');this.stride=t.height;var r=this.dim=t.height-2;this.data=new Uint32Array(t.data.buffer),this.encoding=n||"mapbox";for(var o=0;o<r;o++)this.data[this._idx(-1,o)]=this.data[this._idx(0,o)],this.data[this._idx(r,o)]=this.data[this._idx(r-1,o)],this.data[this._idx(o,-1)]=this.data[this._idx(o,0)],this.data[this._idx(o,r)]=this.data[this._idx(o,r-1)];this.data[this._idx(-1,-1)]=this.data[this._idx(0,0)],this.data[this._idx(r,-1)]=this.data[this._idx(r-1,0)],this.data[this._idx(-1,r)]=this.data[this._idx(0,r-1)],this.data[this._idx(r,r)]=this.data[this._idx(r-1,r-1)]};Yc.prototype.get=function(e,t){var n=new Uint8Array(this.data.buffer),r=4*this._idx(e,t);return("terrarium"===this.encoding?this._unpackTerrarium:this._unpackMapbox)(n[r],n[r+1],n[r+2])},Yc.prototype.getUnpackVector=function(){return"terrarium"===this.encoding?[256,1,1/256,32768]:[6553.6,25.6,.1,1e4]},Yc.prototype._idx=function(e,t){if(e<-1||e>=this.dim+1||t<-1||t>=this.dim+1)throw new RangeError("out of range source coordinates for DEM data");return(t+1)*this.stride+(e+1)},Yc.prototype._unpackMapbox=function(e,t,n){return(256*e*256+256*t+n)/10-1e4},Yc.prototype._unpackTerrarium=function(e,t,n){return 256*e+t+n/256-32768},Yc.prototype.getPixels=function(){return new va({width:this.stride,height:this.stride},new Uint8Array(this.data.buffer))},Yc.prototype.backfillBorder=function(e,t,n){if(this.dim!==e.dim)throw new Error("dem dimension mismatch");var r=t*this.dim,o=t*this.dim+this.dim,i=n*this.dim,a=n*this.dim+this.dim;switch(t){case-1:r=o-1;break;case 1:o=r+1}switch(n){case-1:i=a-1;break;case 1:a=i+1}for(var s=-t*this.dim,l=-n*this.dim,c=i;c<a;c++)for(var u=r;u<o;u++)this.data[this._idx(u,c)]=e.data[this._idx(u+s,c+l)]},qr("DEMData",Yc);var Gc=function(e){this._stringToNumber={},this._numberToString=[];for(var t=0;t<e.length;t++){var n=e[t];this._stringToNumber[n]=t,this._numberToString[t]=n}};Gc.prototype.encode=function(e){return this._stringToNumber[e]},Gc.prototype.decode=function(e){return this._numberToString[e]};var Kc=function(e,t,n,r,o){this.type="Feature",this._vectorTileFeature=e,e._z=t,e._x=n,e._y=r,this.properties=e.properties,this.id=o},Jc={geometry:{configurable:!0}};Jc.geometry.get=function(){return void 0===this._geometry&&(this._geometry=this._vectorTileFeature.toGeoJSON(this._vectorTileFeature._x,this._vectorTileFeature._y,this._vectorTileFeature._z).geometry),this._geometry},Jc.geometry.set=function(e){this._geometry=e},Kc.prototype.toJSON=function(){var e={geometry:this.geometry};for(var t in this)"_geometry"!==t&&"_vectorTileFeature"!==t&&(e[t]=this[t]);return e},Object.defineProperties(Kc.prototype,Jc);var eu=function(){this.state={},this.stateChanges={},this.deletedStates={}};eu.prototype.updateState=function(e,t,n){var r=String(t);if(this.stateChanges[e]=this.stateChanges[e]||{},this.stateChanges[e][r]=this.stateChanges[e][r]||{},p(this.stateChanges[e][r],n),null===this.deletedStates[e])for(var o in this.deletedStates[e]={},this.state[e])o!==r&&(this.deletedStates[e][o]=null);else if(this.deletedStates[e]&&null===this.deletedStates[e][r])for(var i in this.deletedStates[e][r]={},this.state[e][r])n[i]||(this.deletedStates[e][r][i]=null);else for(var a in n)this.deletedStates[e]&&this.deletedStates[e][r]&&null===this.deletedStates[e][r][a]&&delete this.deletedStates[e][r][a]},eu.prototype.removeFeatureState=function(e,t,n){if(null!==this.deletedStates[e]){var r=String(t);if(this.deletedStates[e]=this.deletedStates[e]||{},n&&void 0!==t)null!==this.deletedStates[e][r]&&(this.deletedStates[e][r]=this.deletedStates[e][r]||{},this.deletedStates[e][r][n]=null);else if(void 0!==t)if(this.stateChanges[e]&&this.stateChanges[e][r])for(n in this.deletedStates[e][r]={},this.stateChanges[e][r])this.deletedStates[e][r][n]=null;else this.deletedStates[e][r]=null;else this.deletedStates[e]=null}},eu.prototype.getState=function(e,t){var n=String(t),r=p({},(this.state[e]||{})[n],(this.stateChanges[e]||{})[n]);if(null===this.deletedStates[e])return{};if(this.deletedStates[e]){var o=this.deletedStates[e][t];if(null===o)return{};for(var i in o)delete r[i]}return r},eu.prototype.initializeTileState=function(e,t){e.setFeatureState(this.state,t)},eu.prototype.coalesceChanges=function(e,t){var n={};for(var r in this.stateChanges){this.state[r]=this.state[r]||{};var o={};for(var i in this.stateChanges[r])this.state[r][i]||(this.state[r][i]={}),p(this.state[r][i],this.stateChanges[r][i]),o[i]=this.state[r][i];n[r]=o}for(var a in this.deletedStates){this.state[a]=this.state[a]||{};var s={};if(null===this.deletedStates[a])for(var l in this.state[a])s[l]={},this.state[a][l]={};else for(var c in this.deletedStates[a]){if(null===this.deletedStates[a][c])this.state[a][c]={};else for(var u=0,d=Object.keys(this.deletedStates[a][c]);u<d.length;u+=1)delete this.state[a][c][d[u]];s[c]=this.state[a][c]}n[a]=n[a]||{},p(n[a],s)}if(this.stateChanges={},this.deletedStates={},0!==Object.keys(n).length)for(var f in e)e[f].setFeatureState(n,t)};var tu=function(e,t){this.tileID=e,this.x=e.canonical.x,this.y=e.canonical.y,this.z=e.canonical.z,this.grid=new Tr(8192,16,0),this.grid3D=new Tr(8192,16,0),this.featureIndexArray=new ai,this.promoteId=t};function nu(e,t,n,r,o){return v(e,(function(e,i){var a=t instanceof Ao?t.get(i):null;return a&&a.evaluate?a.evaluate(n,r,o):a}))}function ru(e){for(var t=1/0,n=1/0,r=-1/0,o=-1/0,i=0,a=e;i<a.length;i+=1){var s=a[i];t=Math.min(t,s.x),n=Math.min(n,s.y),r=Math.max(r,s.x),o=Math.max(o,s.y)}return{minX:t,minY:n,maxX:r,maxY:o}}function ou(e,t){return t-e}tu.prototype.insert=function(e,t,n,r,o,i){var a=this.featureIndexArray.length;this.featureIndexArray.emplaceBack(n,r,o);for(var s=i?this.grid3D:this.grid,l=0;l<t.length;l++){for(var c=t[l],u=[1/0,1/0,-1/0,-1/0],d=0;d<c.length;d++){var p=c[d];u[0]=Math.min(u[0],p.x),u[1]=Math.min(u[1],p.y),u[2]=Math.max(u[2],p.x),u[3]=Math.max(u[3],p.y)}u[0]<8192&&u[1]<8192&&u[2]>=0&&u[3]>=0&&s.insert(a,u[0],u[1],u[2],u[3])}},tu.prototype.loadVTLayers=function(){return this.vtLayers||(this.vtLayers=new ys.VectorTile(new Ys(this.rawTileData)).layers,this.sourceLayerCoder=new Gc(this.vtLayers?Object.keys(this.vtLayers).sort():["_geojsonTileLayer"])),this.vtLayers},tu.prototype.query=function(e,t,n,r){var i=this;this.loadVTLayers();for(var a=e.params||{},s=8192/e.tileSize/e.scale,l=ar(a.filter),c=e.queryGeometry,u=e.queryPadding*s,d=ru(c),p=this.grid.query(d.minX-u,d.minY-u,d.maxX+u,d.maxY+u),f=ru(e.cameraQueryGeometry),h=this.grid3D.query(f.minX-u,f.minY-u,f.maxX+u,f.maxY+u,(function(t,n,r,i){return function(e,t,n,r,i){for(var a=0,s=e;a<s.length;a+=1){var l=s[a];if(t<=l.x&&n<=l.y&&r>=l.x&&i>=l.y)return!0}var c=[new o(t,n),new o(t,i),new o(r,i),new o(r,n)];if(e.length>2)for(var u=0,d=c;u<d.length;u+=1)if(Ji(e,d[u]))return!0;for(var p=0;p<e.length-1;p++)if(ea(e[p],e[p+1],c))return!0;return!1}(e.cameraQueryGeometry,t-u,n-u,r+u,i+u)})),b=0,A=h;b<A.length;b+=1)p.push(A[b]);p.sort(ou);for(var m,g={},v=function(o){var u=p[o];if(u!==m){m=u;var d=i.featureIndexArray.get(u),f=null;i.loadMatchingFeature(g,d.bucketIndex,d.sourceLayerIndex,d.featureIndex,l,a.layers,a.availableImages,t,n,r,(function(t,n,r){return f||(f=Ii(t)),n.queryIntersectsFeature(c,t,r,f,i.z,e.transform,s,e.pixelPosMatrix)}))}},y=0;y<p.length;y++)v(y);return g},tu.prototype.loadMatchingFeature=function(e,t,n,r,o,i,a,s,l,c,u){var d=this.bucketLayerIDs[t];if(!i||function(e,t){for(var n=0;n<e.length;n++)if(t.indexOf(e[n])>=0)return!0;return!1}(i,d)){var f=this.sourceLayerCoder.decode(n),h=this.vtLayers[f].feature(r);if(o.needGeometry){var b=Wi(h,!0);if(!o.filter(new so(this.tileID.overscaledZ),b,this.tileID.canonical))return}else if(!o.filter(new so(this.tileID.overscaledZ),h))return;for(var A=this.getId(h,f),m=0;m<d.length;m++){var g=d[m];if(!(i&&i.indexOf(g)<0)){var v=s[g];if(v){var y={};void 0!==A&&c&&(y=c.getState(v.sourceLayer||"_geojsonTileLayer",A));var M=p({},l[g]);M.paint=nu(M.paint,v.paint,h,y,a),M.layout=nu(M.layout,v.layout,h,y,a);var O=!u||u(h,v,y);if(O){var _=new Kc(h,this.z,this.x,this.y,A);_.layer=M;var z=e[g];void 0===z&&(z=e[g]=[]),z.push({featureIndex:r,feature:_,intersectionZ:O})}}}}}},tu.prototype.lookupSymbolFeatures=function(e,t,n,r,o,i,a,s){var l={};this.loadVTLayers();for(var c=ar(o),u=0,d=e;u<d.length;u+=1)this.loadMatchingFeature(l,n,r,d[u],c,i,a,s,t);return l},tu.prototype.hasLayer=function(e){for(var t=0,n=this.bucketLayerIDs;t<n.length;t+=1)for(var r=0,o=n[t];r<o.length;r+=1)if(e===o[r])return!0;return!1},tu.prototype.getId=function(e,t){var n=e.id;return this.promoteId&&"boolean"==typeof(n=e.properties["string"==typeof this.promoteId?this.promoteId:this.promoteId[t]])&&(n=Number(n)),n},qr("FeatureIndex",tu,{omit:["rawTileData","sourceLayerCoder"]});var iu=function(e,t){this.tileID=e,this.uid=h(),this.uses=0,this.tileSize=t,this.buckets={},this.expirationTime=null,this.queryPadding=0,this.hasSymbolBuckets=!1,this.hasRTLText=!1,this.dependencies={},this.expiredRequestCount=0,this.state="loading"};iu.prototype.registerFadeDuration=function(e){var t=e+this.timeAdded;t<q.now()||this.fadeEndTime&&t<this.fadeEndTime||(this.fadeEndTime=t)},iu.prototype.wasRequested=function(){return"errored"===this.state||"loaded"===this.state||"reloading"===this.state},iu.prototype.loadVectorData=function(e,t,n){if(this.hasData()&&this.unloadVectorData(),this.state="loaded",e){for(var r in e.featureIndex&&(this.latestFeatureIndex=e.featureIndex,e.rawTileData?(this.latestRawTileData=e.rawTileData,this.latestFeatureIndex.rawTileData=e.rawTileData):this.latestRawTileData&&(this.latestFeatureIndex.rawTileData=this.latestRawTileData)),this.collisionBoxArray=e.collisionBoxArray,this.buckets=function(e,t){var n={};if(!t)return n;for(var r=function(){var e=i[o],r=e.layerIds.map((function(e){return t.getLayer(e)})).filter(Boolean);if(0!==r.length){e.layers=r,e.stateDependentLayerIds&&(e.stateDependentLayers=e.stateDependentLayerIds.map((function(e){return r.filter((function(t){return t.id===e}))[0]})));for(var a=0,s=r;a<s.length;a+=1)n[s[a].id]=e}},o=0,i=e;o<i.length;o+=1)r();return n}(e.buckets,t.style),this.hasSymbolBuckets=!1,this.buckets){var o=this.buckets[r];if(o instanceof mc){if(this.hasSymbolBuckets=!0,!n)break;o.justReloaded=!0}}if(this.hasRTLText=!1,this.hasSymbolBuckets)for(var i in this.buckets){var a=this.buckets[i];if(a instanceof mc&&a.hasRTLText){this.hasRTLText=!0,ao.isLoading()||ao.isLoaded()||"deferred"!==oo()||io();break}}for(var s in this.queryPadding=0,this.buckets){var l=this.buckets[s];this.queryPadding=Math.max(this.queryPadding,t.style.getLayer(s).queryRadius(l))}e.imageAtlas&&(this.imageAtlas=e.imageAtlas),e.glyphAtlasImage&&(this.glyphAtlasImage=e.glyphAtlasImage)}else this.collisionBoxArray=new Ko},iu.prototype.unloadVectorData=function(){for(var e in this.buckets)this.buckets[e].destroy();this.buckets={},this.imageAtlasTexture&&this.imageAtlasTexture.destroy(),this.imageAtlas&&(this.imageAtlas=null),this.glyphAtlasTexture&&this.glyphAtlasTexture.destroy(),this.latestFeatureIndex=null,this.state="unloaded"},iu.prototype.getBucket=function(e){return this.buckets[e.id]},iu.prototype.upload=function(e){for(var t in this.buckets){var n=this.buckets[t];n.uploadPending()&&n.upload(e)}var r=e.gl;this.imageAtlas&&!this.imageAtlas.uploaded&&(this.imageAtlasTexture=new Tc(e,this.imageAtlas.image,r.RGBA),this.imageAtlas.uploaded=!0),this.glyphAtlasImage&&(this.glyphAtlasTexture=new Tc(e,this.glyphAtlasImage,r.ALPHA),this.glyphAtlasImage=null)},iu.prototype.prepare=function(e){this.imageAtlas&&this.imageAtlas.patchUpdatedImages(e,this.imageAtlasTexture)},iu.prototype.queryRenderedFeatures=function(e,t,n,r,o,i,a,s,l,c){return this.latestFeatureIndex&&this.latestFeatureIndex.rawTileData?this.latestFeatureIndex.query({queryGeometry:r,cameraQueryGeometry:o,scale:i,tileSize:this.tileSize,pixelPosMatrix:c,transform:s,params:a,queryPadding:this.queryPadding*l},e,t,n):{}},iu.prototype.querySourceFeatures=function(e,t){var n=this.latestFeatureIndex;if(n&&n.rawTileData){var r=n.loadVTLayers(),o=t?t.sourceLayer:"",i=r._geojsonTileLayer||r[o];if(i)for(var a=ar(t&&t.filter),s=this.tileID.canonical,l=s.z,c=s.x,u=s.y,d={z:l,x:c,y:u},p=0;p<i.length;p++){var f=i.feature(p);if(a.needGeometry){var h=Wi(f,!0);if(!a.filter(new so(this.tileID.overscaledZ),h,this.tileID.canonical))continue}else if(!a.filter(new so(this.tileID.overscaledZ),f))continue;var b=n.getId(f,o),A=new Kc(f,l,c,u,b);A.tile=d,e.push(A)}}},iu.prototype.hasData=function(){return"loaded"===this.state||"reloading"===this.state||"expired"===this.state},iu.prototype.patternsLoaded=function(){return this.imageAtlas&&!!Object.keys(this.imageAtlas.patternPositions).length},iu.prototype.setExpiryData=function(e){var t=this.expirationTime;if(e.cacheControl){var n=C(e.cacheControl);n["max-age"]&&(this.expirationTime=Date.now()+1e3*n["max-age"])}else e.expires&&(this.expirationTime=new Date(e.expires).getTime());if(this.expirationTime){var r=Date.now(),o=!1;if(this.expirationTime>r)o=!1;else if(t)if(this.expirationTime<t)o=!0;else{var i=this.expirationTime-t;i?this.expirationTime=r+Math.max(i,3e4):o=!0}else o=!0;o?(this.expiredRequestCount++,this.state="expired"):this.expiredRequestCount=0}},iu.prototype.getExpiryTimeout=function(){if(this.expirationTime)return this.expiredRequestCount?1e3*(1<<Math.min(this.expiredRequestCount-1,31)):Math.min(this.expirationTime-(new Date).getTime(),Math.pow(2,31)-1)},iu.prototype.setFeatureState=function(e,t){if(this.latestFeatureIndex&&this.latestFeatureIndex.rawTileData&&0!==Object.keys(e).length){var n=this.latestFeatureIndex.loadVTLayers();for(var r in this.buckets)if(t.style.hasLayer(r)){var o=this.buckets[r],i=o.layers[0].sourceLayer||"_geojsonTileLayer",a=n[i],s=e[i];if(a&&s&&0!==Object.keys(s).length){o.update(s,a,this.imageAtlas&&this.imageAtlas.patternPositions||{});var l=t&&t.style&&t.style.getLayer(r);l&&(this.queryPadding=Math.max(this.queryPadding,l.queryRadius(o)))}}}},iu.prototype.holdingForFade=function(){return void 0!==this.symbolFadeHoldUntil},iu.prototype.symbolFadeFinished=function(){return!this.symbolFadeHoldUntil||this.symbolFadeHoldUntil<q.now()},iu.prototype.clearFadeHold=function(){this.symbolFadeHoldUntil=void 0},iu.prototype.setHoldDuration=function(e){this.symbolFadeHoldUntil=q.now()+e},iu.prototype.setDependencies=function(e,t){for(var n={},r=0,o=t;r<o.length;r+=1)n[o[r]]=!0;this.dependencies[e]=n},iu.prototype.hasDependency=function(e,t){for(var n=0,r=e;n<r.length;n+=1){var o=this.dependencies[r[n]];if(o)for(var i=0,a=t;i<a.length;i+=1)if(o[a[i]])return!0}return!1};var au=a.performance,su=function(e){this._marks={start:[e.url,"start"].join("#"),end:[e.url,"end"].join("#"),measure:e.url.toString()},au.mark(this._marks.start)};su.prototype.finish=function(){au.mark(this._marks.end);var e=au.getEntriesByName(this._marks.measure);return 0===e.length&&(au.measure(this._marks.measure,this._marks.start,this._marks.end),e=au.getEntriesByName(this._marks.measure),au.clearMarks(this._marks.start),au.clearMarks(this._marks.end),au.clearMeasures(this._marks.measure)),e},e.Actor=Bc,e.AlphaImage=ga,e.CanonicalTileID=$c,e.CollisionBoxArray=Ko,e.Color=et,e.DEMData=Yc,e.DataConstantProperty=mo,e.DictionaryCoder=Gc,e.EXTENT=8192,e.ErrorEvent=Ce,e.EvaluationParameters=so,e.Event=we,e.Evented=Se,e.FeatureIndex=tu,e.FillBucket=ss,e.FillExtrusionBucket=zs,e.ImageAtlas=yl,e.ImagePosition=gl,e.LineBucket=Bs,e.LngLat=qc,e.LngLatBounds=Rc,e.MercatorCoordinate=Hc,e.ONE_EM=24,e.OverscaledTileID=Xc,e.Point=o,e.Point$1=o,e.Properties=Oo,e.Protobuf=Ys,e.RGBAImage=va,e.RequestManager=H,e.RequestPerformance=su,e.ResourceType=he,e.SegmentVector=li,e.SourceFeatureState=eu,e.StructArrayLayout1ui2=Qo,e.StructArrayLayout2f1f2i16=Io,e.StructArrayLayout2i4=Eo,e.StructArrayLayout3ui6=Fo,e.StructArrayLayout4i8=ko,e.SymbolBucket=mc,e.Texture=Tc,e.Tile=iu,e.Transitionable=uo,e.Uniform1f=Mi,e.Uniform1i=yi,e.Uniform2f=Oi,e.Uniform3f=_i,e.Uniform4f=zi,e.UniformColor=xi,e.UniformMatrix4f=Ci,e.UnwrappedTileID=Vc,e.ValidationError=ke,e.WritingMode=Ml,e.ZoomHistory=Zr,e.add=function(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e},e.addDynamicAttributes=fc,e.asyncAll=function(e,t,n){if(!e.length)return n(null,[]);var r=e.length,o=new Array(e.length),i=null;e.forEach((function(e,a){t(e,(function(e,t){e&&(i=e),o[a]=t,0==--r&&n(i,o)}))}))},e.bezier=l,e.bindAll=m,e.browser=q,e.cacheEntryPossiblyAdded=function(e){++pe>le&&(e.getActor().send("enforceCacheSizeLimit",se),pe=0)},e.clamp=u,e.clearTileCache=function(e){var t=a.caches.delete("mapbox-tiles");e&&t.catch(e).then((function(){return e()}))},e.clipLine=$l,e.clone=function(e){var t=new aa(16);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t},e.clone$1=M,e.clone$2=function(e){var t=new aa(3);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t},e.collisionCircleLayout=Hs,e.config=P,e.create=function(){var e=new aa(16);return aa!=Float32Array&&(e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[11]=0,e[12]=0,e[13]=0,e[14]=0),e[0]=1,e[5]=1,e[10]=1,e[15]=1,e},e.create$1=function(){var e=new aa(9);return aa!=Float32Array&&(e[1]=0,e[2]=0,e[3]=0,e[5]=0,e[6]=0,e[7]=0),e[0]=1,e[4]=1,e[8]=1,e},e.create$2=function(){var e=new aa(4);return aa!=Float32Array&&(e[1]=0,e[2]=0),e[0]=1,e[3]=1,e},e.createCommonjsModule=t,e.createExpression=Vn,e.createLayout=Co,e.createStyleLayer=function(e){return"custom"===e.type?new wc(e):new Cc[e.type](e)},e.cross=function(e,t,n){var r=t[0],o=t[1],i=t[2],a=n[0],s=n[1],l=n[2];return e[0]=o*l-i*s,e[1]=i*a-r*l,e[2]=r*s-o*a,e},e.deepEqual=function e(t,n){if(Array.isArray(t)){if(!Array.isArray(n)||t.length!==n.length)return!1;for(var r=0;r<t.length;r++)if(!e(t[r],n[r]))return!1;return!0}if("object"==typeof t&&null!==t&&null!==n){if("object"!=typeof n)return!1;if(Object.keys(t).length!==Object.keys(n).length)return!1;for(var o in t)if(!e(t[o],n[o]))return!1;return!0}return t===n},e.dot=function(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]},e.dot$1=function(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]+e[3]*t[3]},e.ease=c,e.emitValidationErrors=Nr,e.endsWith=g,e.enforceCacheSizeLimit=function(e){ce(),ee&&ee.then((function(t){t.keys().then((function(n){for(var r=0;r<n.length-e;r++)t.delete(n[r])}))}))},e.evaluateSizeForFeature=Rl,e.evaluateSizeForZoom=ql,e.evaluateVariableOffset=ic,e.evented=ro,e.extend=p,e.featureFilter=ar,e.filterObject=y,e.fromRotation=function(e,t){var n=Math.sin(t),r=Math.cos(t);return e[0]=r,e[1]=n,e[2]=0,e[3]=-n,e[4]=r,e[5]=0,e[6]=0,e[7]=0,e[8]=1,e},e.getAnchorAlignment=Nl,e.getAnchorJustification=ac,e.getArrayBuffer=ye,e.getImage=_e,e.getJSON=function(e,t){return ve(p(e,{type:"json"}),t)},e.getRTLTextPluginStatus=oo,e.getReferrer=ge,e.getVideo=function(e,t){var n,r,o=a.document.createElement("video");o.muted=!0,o.onloadstart=function(){t(null,o)};for(var i=0;i<e.length;i++){var s=a.document.createElement("source");n=e[i],r=void 0,(r=a.document.createElement("a")).href=n,(r.protocol!==a.document.location.protocol||r.host!==a.document.location.host)&&(o.crossOrigin="Anonymous"),s.src=e[i],o.appendChild(s)}return{cancel:function(){}}},e.identity=sa,e.invert=function(e,t){var n=t[0],r=t[1],o=t[2],i=t[3],a=t[4],s=t[5],l=t[6],c=t[7],u=t[8],d=t[9],p=t[10],f=t[11],h=t[12],b=t[13],A=t[14],m=t[15],g=n*s-r*a,v=n*l-o*a,y=n*c-i*a,M=r*l-o*s,O=r*c-i*s,_=o*c-i*l,z=u*b-d*h,x=u*A-p*h,w=u*m-f*h,C=d*A-p*b,S=d*m-f*b,E=p*m-f*A,k=g*E-v*S+y*C+M*w-O*x+_*z;return k?(e[0]=(s*E-l*S+c*C)*(k=1/k),e[1]=(o*S-r*E-i*C)*k,e[2]=(b*_-A*O+m*M)*k,e[3]=(p*O-d*_-f*M)*k,e[4]=(l*w-a*E-c*x)*k,e[5]=(n*E-o*w+i*x)*k,e[6]=(A*y-h*_-m*v)*k,e[7]=(u*_-p*y+f*v)*k,e[8]=(a*S-s*w+c*z)*k,e[9]=(r*w-n*S-i*z)*k,e[10]=(h*O-b*y+m*g)*k,e[11]=(d*y-u*O-f*g)*k,e[12]=(s*x-a*C-l*z)*k,e[13]=(n*C-r*x+o*z)*k,e[14]=(b*v-h*M-A*g)*k,e[15]=(u*M-d*v+p*g)*k,e):null},e.isChar=Hr,e.isMapboxURL=$,e.keysDifference=function(e,t){var n=[];for(var r in e)r in t||n.push(r);return n},e.makeRequest=ve,e.mapObject=v,e.mercatorXfromLng=Wc,e.mercatorYfromLat=Fc,e.mercatorZfromAltitude=Uc,e.mul=ua,e.multiply=la,e.mvt=ys,e.nextPowerOfTwo=function(e){return e<=1?1:Math.pow(2,Math.ceil(Math.log(e)/Math.LN2))},e.normalize=function(e,t){var n=t[0],r=t[1],o=t[2],i=n*n+r*r+o*o;return i>0&&(i=1/Math.sqrt(i)),e[0]=t[0]*i,e[1]=t[1]*i,e[2]=t[2]*i,e},e.number=Zt,e.offscreenCanvasSupported=fe,e.ortho=function(e,t,n,r,o,i,a){var s=1/(t-n),l=1/(r-o),c=1/(i-a);return e[0]=-2*s,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=-2*l,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=2*c,e[11]=0,e[12]=(t+n)*s,e[13]=(o+r)*l,e[14]=(a+i)*c,e[15]=1,e},e.parseGlyphPBF=function(e){return new Ys(e).readFields(hl,[])},e.pbf=Ys,e.performSymbolLayout=function(e,t,n,r,o,i,a){e.createArrays(),e.tilePixelRatio=8192/(512*e.overscaling),e.compareText={},e.iconsNeedLinear=!1;var s=e.layers[0].layout,l=e.layers[0]._unevaluatedLayout._values,c={};if("composite"===e.textSizeData.kind){var u=e.textSizeData,d=u.maxZoom;c.compositeTextSizes=[l["text-size"].possiblyEvaluate(new so(u.minZoom),a),l["text-size"].possiblyEvaluate(new so(d),a)]}if("composite"===e.iconSizeData.kind){var p=e.iconSizeData,f=p.maxZoom;c.compositeIconSizes=[l["icon-size"].possiblyEvaluate(new so(p.minZoom),a),l["icon-size"].possiblyEvaluate(new so(f),a)]}c.layoutTextSize=l["text-size"].possiblyEvaluate(new so(e.zoom+1),a),c.layoutIconSize=l["icon-size"].possiblyEvaluate(new so(e.zoom+1),a),c.textMaxSize=l["text-size"].possiblyEvaluate(new so(18));for(var h=24*s.get("text-line-height"),b="map"===s.get("text-rotation-alignment")&&"point"!==s.get("symbol-placement"),A=s.get("text-keep-upright"),m=s.get("text-size"),g=function(){var i=y[v],l=s.get("text-font").evaluate(i,{},a).join(","),u=m.evaluate(i,{},a),d=c.layoutTextSize.evaluate(i,{},a),p=c.layoutIconSize.evaluate(i,{},a),f={horizontal:{},vertical:void 0},g=i.text,M=[0,0];if(g){var O=g.toString(),z=24*s.get("text-letter-spacing").evaluate(i,{},a),x=function(e){for(var t=0,n=e;t<n.length;t+=1)if(r=n[t].charCodeAt(0),Hr.Arabic(r)||Hr["Arabic Supplement"](r)||Hr["Arabic Extended-A"](r)||Hr["Arabic Presentation Forms-A"](r)||Hr["Arabic Presentation Forms-B"](r))return!1;var r;return!0}(O)?z:0,w=s.get("text-anchor").evaluate(i,{},a),C=s.get("text-variable-anchor");if(!C){var S=s.get("text-radial-offset").evaluate(i,{},a);M=S?ic(w,[24*S,oc]):s.get("text-offset").evaluate(i,{},a).map((function(e){return 24*e}))}var E=b?"center":s.get("text-justify").evaluate(i,{},a),k=s.get("symbol-placement"),D="point"===k?24*s.get("text-max-width").evaluate(i,{},a):0,N=function(){e.allowVerticalPlacement&&$r(O)&&(f.vertical=zl(g,t,n,o,l,D,h,w,"left",x,M,Ml.vertical,!0,k,d,u))};if(!b&&C){for(var T="auto"===E?C.map((function(e){return ac(e)})):[E],j=!1,B=0;B<T.length;B++){var L=T[B];if(!f.horizontal[L])if(j)f.horizontal[L]=f.horizontal[0];else{var R=zl(g,t,n,o,l,D,h,"center",L,x,M,Ml.horizontal,!1,k,d,u);R&&(f.horizontal[L]=R,j=1===R.positionedLines.length)}}N()}else{"auto"===E&&(E=ac(w));var q=zl(g,t,n,o,l,D,h,w,E,x,M,Ml.horizontal,!1,k,d,u);q&&(f.horizontal[E]=q),N(),$r(O)&&b&&A&&(f.vertical=zl(g,t,n,o,l,D,h,w,E,x,M,Ml.vertical,!1,k,d,u))}}var P=void 0,I=!1;if(i.icon&&i.icon.name){var W=r[i.icon.name];W&&(P=function(e,t,n){var r=Nl(n),o=t[0]-e.displaySize[0]*r.horizontalAlign,i=t[1]-e.displaySize[1]*r.verticalAlign;return{image:e,top:i,bottom:i+e.displaySize[1],left:o,right:o+e.displaySize[0]}}(o[i.icon.name],s.get("icon-offset").evaluate(i,{},a),s.get("icon-anchor").evaluate(i,{},a)),I=W.sdf,void 0===e.sdfIcons?e.sdfIcons=W.sdf:e.sdfIcons!==W.sdf&&_("Style sheet warning: Cannot mix SDF and non-SDF icons in one buffer"),(W.pixelRatio!==e.pixelRatio||0!==s.get("icon-rotate").constantOr(1))&&(e.iconsNeedLinear=!0))}var F=lc(f.horizontal)||f.vertical;e.iconsInText=!!F&&F.iconsInText,(F||P)&&function(e,t,n,r,o,i,a,s,l,c,u){var d=i.textMaxSize.evaluate(t,{});void 0===d&&(d=a);var p,f=e.layers[0].layout,h=f.get("icon-offset").evaluate(t,{},u),b=lc(n.horizontal),A=a/24,m=e.tilePixelRatio*A,g=e.tilePixelRatio*d/24,v=e.tilePixelRatio*s,y=e.tilePixelRatio*f.get("symbol-spacing"),M=f.get("text-padding")*e.tilePixelRatio,O=f.get("icon-padding")*e.tilePixelRatio,z=f.get("text-max-angle")/180*Math.PI,x="map"===f.get("text-rotation-alignment")&&"point"!==f.get("symbol-placement"),w="map"===f.get("icon-rotation-alignment")&&"point"!==f.get("symbol-placement"),C=f.get("symbol-placement"),S=y/2,E=f.get("icon-text-fit");r&&"none"!==E&&(e.allowVerticalPlacement&&n.vertical&&(p=jl(r,n.vertical,E,f.get("icon-text-fit-padding"),h,A)),b&&(r=jl(r,b,E,f.get("icon-text-fit-padding"),h,A)));var k=function(s,d){d.x<0||d.x>=8192||d.y<0||d.y>=8192||function(e,t,n,r,o,i,a,s,l,c,u,d,p,f,h,b,A,m,g,v,y,M,O,z,x){var w,C,S,E,k,D=e.addToLineVertexArray(t,n),N=0,T=0,j=0,B=0,L=-1,R=-1,q={},P=fi(""),I=0,W=0;if(void 0===s._unevaluatedLayout.getValue("text-radial-offset")?(I=(w=s.layout.get("text-offset").evaluate(y,{},z).map((function(e){return 24*e})))[0],W=w[1]):(I=24*s.layout.get("text-radial-offset").evaluate(y,{},z),W=oc),e.allowVerticalPlacement&&r.vertical){var F=s.layout.get("text-rotate").evaluate(y,{},z)+90;E=new Kl(l,t,c,u,d,r.vertical,p,f,h,F),a&&(k=new Kl(l,t,c,u,d,a,A,m,h,F))}if(o){var U=s.layout.get("icon-rotate").evaluate(y,{}),Z="none"!==s.layout.get("icon-text-fit"),H=Vl(o,U,O,Z),$=a?Vl(a,U,O,Z):void 0;S=new Kl(l,t,c,u,d,o,A,m,!1,U),N=4*H.length;var V=e.iconSizeData,X=null;"source"===V.kind?(X=[128*s.layout.get("icon-size").evaluate(y,{})])[0]>32640&&_(e.layerIds[0]+': Value for "icon-size" is >= 255. Reduce your "icon-size".'):"composite"===V.kind&&((X=[128*M.compositeIconSizes[0].evaluate(y,{},z),128*M.compositeIconSizes[1].evaluate(y,{},z)])[0]>32640||X[1]>32640)&&_(e.layerIds[0]+': Value for "icon-size" is >= 255. Reduce your "icon-size".'),e.addSymbols(e.icon,H,X,v,g,y,!1,t,D.lineStartIndex,D.lineLength,-1,z),L=e.icon.placedSymbolArray.length-1,$&&(T=4*$.length,e.addSymbols(e.icon,$,X,v,g,y,Ml.vertical,t,D.lineStartIndex,D.lineLength,-1,z),R=e.icon.placedSymbolArray.length-1)}for(var Q in r.horizontal){var Y=r.horizontal[Q];if(!C){P=fi(Y.text);var G=s.layout.get("text-rotate").evaluate(y,{},z);C=new Kl(l,t,c,u,d,Y,p,f,h,G)}var K=1===Y.positionedLines.length;if(j+=sc(e,t,Y,i,s,h,y,b,D,r.vertical?Ml.horizontal:Ml.horizontalOnly,K?Object.keys(r.horizontal):[Q],q,L,M,z),K)break}r.vertical&&(B+=sc(e,t,r.vertical,i,s,h,y,b,D,Ml.vertical,["vertical"],q,R,M,z));var J=C?C.boxStartIndex:e.collisionBoxArray.length,ee=C?C.boxEndIndex:e.collisionBoxArray.length,te=E?E.boxStartIndex:e.collisionBoxArray.length,ne=E?E.boxEndIndex:e.collisionBoxArray.length,re=S?S.boxStartIndex:e.collisionBoxArray.length,oe=S?S.boxEndIndex:e.collisionBoxArray.length,ie=k?k.boxStartIndex:e.collisionBoxArray.length,ae=k?k.boxEndIndex:e.collisionBoxArray.length,se=-1,le=function(e,t){return e&&e.circleDiameter?Math.max(e.circleDiameter,t):t};se=le(C,se),se=le(E,se),se=le(S,se);var ce=(se=le(k,se))>-1?1:0;ce&&(se*=x/24),e.glyphOffsetArray.length>=mc.MAX_GLYPHS&&_("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"),void 0!==y.sortKey&&e.addToSortKeyRanges(e.symbolInstances.length,y.sortKey),e.symbolInstances.emplaceBack(t.x,t.y,q.right>=0?q.right:-1,q.center>=0?q.center:-1,q.left>=0?q.left:-1,q.vertical||-1,L,R,P,J,ee,te,ne,re,oe,ie,ae,c,j,B,N,T,ce,0,p,I,W,se)}(e,d,s,n,r,o,p,e.layers[0],e.collisionBoxArray,t.index,t.sourceLayerIndex,e.index,m,M,x,l,v,O,w,h,t,i,c,u,a)};if("line"===C)for(var D=0,N=$l(t.geometry,0,0,8192,8192);D<N.length;D+=1)for(var T=N[D],j=0,B=Hl(T,y,z,n.vertical||b,r,24,g,e.overscaling,8192);j<B.length;j+=1){var L=B[j];b&&cc(e,b.text,S,L)||k(T,L)}else if("line-center"===C)for(var R=0,q=t.geometry;R<q.length;R+=1){var P=q[R];if(P.length>1){var I=Zl(P,z,n.vertical||b,r,24,g);I&&k(P,I)}}else if("Polygon"===t.type)for(var W=0,F=rs(t.geometry,0);W<F.length;W+=1){var U=F[W],Z=tc(U,16);k(U[0],new Bl(Z.x,Z.y,0))}else if("LineString"===t.type)for(var H=0,$=t.geometry;H<$.length;H+=1){var V=$[H];k(V,new Bl(V[0].x,V[0].y,0))}else if("Point"===t.type)for(var X=0,Q=t.geometry;X<Q.length;X+=1)for(var Y=0,G=Q[X];Y<G.length;Y+=1){var K=G[Y];k([K],new Bl(K.x,K.y,0))}}(e,i,f,P,r,c,d,p,M,I,a)},v=0,y=e.features;v<y.length;v+=1)g();i&&e.generateCollisionDebugBuffers()},e.perspective=function(e,t,n,r,o){var i,a=1/Math.tan(t/2);return e[0]=a/n,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=a,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[11]=-1,e[12]=0,e[13]=0,e[15]=0,null!=o&&o!==1/0?(e[10]=(o+r)*(i=1/(r-o)),e[14]=2*o*r*i):(e[10]=-1,e[14]=-2*r),e},e.pick=function(e,t){for(var n={},r=0;r<t.length;r++){var o=t[r];o in e&&(n[o]=e[o])}return n},e.plugin=ao,e.polygonIntersectsPolygon=Zi,e.postMapLoadEvent=ae,e.postTurnstileEvent=oe,e.potpack=ml,e.refProperties=["type","source","source-layer","minzoom","maxzoom","filter","layout"],e.register=qr,e.registerForPluginStateChange=function(e){return e({pluginStatus:Jr,pluginURL:eo}),ro.on("pluginStateChange",e),e},e.renderColorRamp=Ma,e.rotate=function(e,t,n){var r=t[0],o=t[1],i=t[2],a=t[3],s=Math.sin(n),l=Math.cos(n);return e[0]=r*l+i*s,e[1]=o*l+a*s,e[2]=r*-s+i*l,e[3]=o*-s+a*l,e},e.rotateX=function(e,t,n){var r=Math.sin(n),o=Math.cos(n),i=t[4],a=t[5],s=t[6],l=t[7],c=t[8],u=t[9],d=t[10],p=t[11];return t!==e&&(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[4]=i*o+c*r,e[5]=a*o+u*r,e[6]=s*o+d*r,e[7]=l*o+p*r,e[8]=c*o-i*r,e[9]=u*o-a*r,e[10]=d*o-s*r,e[11]=p*o-l*r,e},e.rotateZ=function(e,t,n){var r=Math.sin(n),o=Math.cos(n),i=t[0],a=t[1],s=t[2],l=t[3],c=t[4],u=t[5],d=t[6],p=t[7];return t!==e&&(e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[0]=i*o+c*r,e[1]=a*o+u*r,e[2]=s*o+d*r,e[3]=l*o+p*r,e[4]=c*o-i*r,e[5]=u*o-a*r,e[6]=d*o-s*r,e[7]=p*o-l*r,e},e.scale=function(e,t,n){var r=n[0],o=n[1],i=n[2];return e[0]=t[0]*r,e[1]=t[1]*r,e[2]=t[2]*r,e[3]=t[3]*r,e[4]=t[4]*o,e[5]=t[5]*o,e[6]=t[6]*o,e[7]=t[7]*o,e[8]=t[8]*i,e[9]=t[9]*i,e[10]=t[10]*i,e[11]=t[11]*i,e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e},e.scale$1=function(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e[3]=t[3]*n,e},e.scale$2=function(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e},e.setCacheLimits=function(e,t){se=e,le=t},e.setRTLTextPlugin=function(e,t,n){if(void 0===n&&(n=!1),"deferred"===Jr||"loading"===Jr||"loaded"===Jr)throw new Error("setRTLTextPlugin cannot be called multiple times.");eo=q.resolveURL(e),Jr="deferred",Kr=t,no(),n||io()},e.sphericalToCartesian=function(e){var t=e[0],n=e[1],r=e[2];return n+=90,n*=Math.PI/180,r*=Math.PI/180,{x:t*Math.cos(n)*Math.sin(r),y:t*Math.sin(n)*Math.sin(r),z:t*Math.cos(r)}},e.sqrLen=function(e){var t=e[0],n=e[1];return t*t+n*n},e.styleSpec=Ee,e.sub=function(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e},e.symbolSize=Pl,e.transformMat3=function(e,t,n){var r=t[0],o=t[1],i=t[2];return e[0]=r*n[0]+o*n[3]+i*n[6],e[1]=r*n[1]+o*n[4]+i*n[7],e[2]=r*n[2]+o*n[5]+i*n[8],e},e.transformMat4=da,e.translate=function(e,t,n){var r,o,i,a,s,l,c,u,d,p,f,h,b=n[0],A=n[1],m=n[2];return t===e?(e[12]=t[0]*b+t[4]*A+t[8]*m+t[12],e[13]=t[1]*b+t[5]*A+t[9]*m+t[13],e[14]=t[2]*b+t[6]*A+t[10]*m+t[14],e[15]=t[3]*b+t[7]*A+t[11]*m+t[15]):(o=t[1],i=t[2],a=t[3],s=t[4],l=t[5],c=t[6],u=t[7],d=t[8],p=t[9],f=t[10],h=t[11],e[0]=r=t[0],e[1]=o,e[2]=i,e[3]=a,e[4]=s,e[5]=l,e[6]=c,e[7]=u,e[8]=d,e[9]=p,e[10]=f,e[11]=h,e[12]=r*b+s*A+d*m+t[12],e[13]=o*b+l*A+p*m+t[13],e[14]=i*b+c*A+f*m+t[14],e[15]=a*b+u*A+h*m+t[15]),e},e.triggerPluginCompletionEvent=to,e.uniqueId=h,e.validateCustomStyleLayer=function(e){var t=[],n=e.id;return void 0===n&&t.push({message:"layers."+n+': missing required property "id"'}),void 0===e.render&&t.push({message:"layers."+n+': missing required method "render"'}),e.renderingMode&&"2d"!==e.renderingMode&&"3d"!==e.renderingMode&&t.push({message:"layers."+n+': property "renderingMode" must be either "2d" or "3d"'}),t},e.validateLight=Er,e.validateStyle=Sr,e.values=function(e){var t=[];for(var n in e)t.push(e[n]);return t},e.vectorTile=ys,e.version="1.13.3",e.warnOnce=_,e.webpSupported=I,e.window=a,e.wrap=d})),r(["./shared"],(function(e){function t(e){var n=typeof e;if("number"===n||"boolean"===n||"string"===n||null==e)return JSON.stringify(e);if(Array.isArray(e)){for(var r="[",o=0,i=e;o<i.length;o+=1)r+=t(i[o])+",";return r+"]"}for(var a=Object.keys(e).sort(),s="{",l=0;l<a.length;l++)s+=JSON.stringify(a[l])+":"+t(e[a[l]])+",";return s+"}"}function n(n){for(var r="",o=0,i=e.refProperties;o<i.length;o+=1)r+="/"+t(n[i[o]]);return r}var r=function(e){this.keyCache={},e&&this.replace(e)};r.prototype.replace=function(e){this._layerConfigs={},this._layers={},this.update(e,[])},r.prototype.update=function(t,r){for(var o=this,i=0,a=t;i<a.length;i+=1){var s=a[i];this._layerConfigs[s.id]=s;var l=this._layers[s.id]=e.createStyleLayer(s);l._featureFilter=e.featureFilter(l.filter),this.keyCache[s.id]&&delete this.keyCache[s.id]}for(var c=0,u=r;c<u.length;c+=1){var d=u[c];delete this.keyCache[d],delete this._layerConfigs[d],delete this._layers[d]}this.familiesBySource={};for(var p=0,f=function(e,t){for(var r={},o=0;o<e.length;o++){var i=t&&t[e[o].id]||n(e[o]);t&&(t[e[o].id]=i);var a=r[i];a||(a=r[i]=[]),a.push(e[o])}var s=[];for(var l in r)s.push(r[l]);return s}(e.values(this._layerConfigs),this.keyCache);p<f.length;p+=1){var h=f[p].map((function(e){return o._layers[e.id]})),b=h[0];if("none"!==b.visibility){var A=b.source||"",m=this.familiesBySource[A];m||(m=this.familiesBySource[A]={});var g=b.sourceLayer||"_geojsonTileLayer",v=m[g];v||(v=m[g]=[]),v.push(h)}}};var o=function(t){var n={},r=[];for(var o in t){var i=t[o],a=n[o]={};for(var s in i){var l=i[+s];if(l&&0!==l.bitmap.width&&0!==l.bitmap.height){var c={x:0,y:0,w:l.bitmap.width+2,h:l.bitmap.height+2};r.push(c),a[s]={rect:c,metrics:l.metrics}}}}var u=e.potpack(r),d=new e.AlphaImage({width:u.w||1,height:u.h||1});for(var p in t){var f=t[p];for(var h in f){var b=f[+h];if(b&&0!==b.bitmap.width&&0!==b.bitmap.height){var A=n[p][h].rect;e.AlphaImage.copy(b.bitmap,d,{x:0,y:0},{x:A.x+1,y:A.y+1},b.bitmap)}}}this.image=d,this.positions=n};e.register("GlyphAtlas",o);var i=function(t){this.tileID=new e.OverscaledTileID(t.tileID.overscaledZ,t.tileID.wrap,t.tileID.canonical.z,t.tileID.canonical.x,t.tileID.canonical.y),this.uid=t.uid,this.zoom=t.zoom,this.pixelRatio=t.pixelRatio,this.tileSize=t.tileSize,this.source=t.source,this.overscaling=this.tileID.overscaleFactor(),this.showCollisionBoxes=t.showCollisionBoxes,this.collectResourceTiming=!!t.collectResourceTiming,this.returnDependencies=!!t.returnDependencies,this.promoteId=t.promoteId};function a(t,n,r){for(var o=new e.EvaluationParameters(n),i=0,a=t;i<a.length;i+=1)a[i].recalculate(o,r)}function s(t,n){var r=e.getArrayBuffer(t.request,(function(t,r,o,i){t?n(t):r&&n(null,{vectorTile:new e.vectorTile.VectorTile(new e.pbf(r)),rawData:r,cacheControl:o,expires:i})}));return function(){r.cancel(),n()}}i.prototype.parse=function(t,n,r,i,s){var l=this;this.status="parsing",this.data=t,this.collisionBoxArray=new e.CollisionBoxArray;var c=new e.DictionaryCoder(Object.keys(t.layers).sort()),u=new e.FeatureIndex(this.tileID,this.promoteId);u.bucketLayerIDs=[];var d,p,f,h,b={},A={featureIndex:u,iconDependencies:{},patternDependencies:{},glyphDependencies:{},availableImages:r},m=n.familiesBySource[this.source];for(var g in m){var v=t.layers[g];if(v){1===v.version&&e.warnOnce('Vector tile source "'+this.source+'" layer "'+g+'" does not use vector tile spec v2 and therefore may have some rendering errors.');for(var y=c.encode(g),M=[],O=0;O<v.length;O++){var _=v.feature(O),z=u.getId(_,g);M.push({feature:_,id:z,index:O,sourceLayerIndex:y})}for(var x=0,w=m[g];x<w.length;x+=1){var C=w[x],S=C[0];S.minzoom&&this.zoom<Math.floor(S.minzoom)||S.maxzoom&&this.zoom>=S.maxzoom||"none"!==S.visibility&&(a(C,this.zoom,r),(b[S.id]=S.createBucket({index:u.bucketLayerIDs.length,layers:C,zoom:this.zoom,pixelRatio:this.pixelRatio,overscaling:this.overscaling,collisionBoxArray:this.collisionBoxArray,sourceLayerIndex:y,sourceID:this.source})).populate(M,A,this.tileID.canonical),u.bucketLayerIDs.push(C.map((function(e){return e.id}))))}}}var E=e.mapObject(A.glyphDependencies,(function(e){return Object.keys(e).map(Number)}));Object.keys(E).length?i.send("getGlyphs",{uid:this.uid,stacks:E},(function(e,t){d||(d=e,p=t,N.call(l))})):p={};var k=Object.keys(A.iconDependencies);k.length?i.send("getImages",{icons:k,source:this.source,tileID:this.tileID,type:"icons"},(function(e,t){d||(d=e,f=t,N.call(l))})):f={};var D=Object.keys(A.patternDependencies);function N(){if(d)return s(d);if(p&&f&&h){var t=new o(p),n=new e.ImageAtlas(f,h);for(var i in b){var l=b[i];l instanceof e.SymbolBucket?(a(l.layers,this.zoom,r),e.performSymbolLayout(l,p,t.positions,f,n.iconPositions,this.showCollisionBoxes,this.tileID.canonical)):l.hasPattern&&(l instanceof e.LineBucket||l instanceof e.FillBucket||l instanceof e.FillExtrusionBucket)&&(a(l.layers,this.zoom,r),l.addFeatures(A,this.tileID.canonical,n.patternPositions))}this.status="done",s(null,{buckets:e.values(b).filter((function(e){return!e.isEmpty()})),featureIndex:u,collisionBoxArray:this.collisionBoxArray,glyphAtlasImage:t.image,imageAtlas:n,glyphMap:this.returnDependencies?p:null,iconMap:this.returnDependencies?f:null,glyphPositions:this.returnDependencies?t.positions:null})}}D.length?i.send("getImages",{icons:D,source:this.source,tileID:this.tileID,type:"patterns"},(function(e,t){d||(d=e,h=t,N.call(l))})):h={},N.call(this)};var l=function(e,t,n,r){this.actor=e,this.layerIndex=t,this.availableImages=n,this.loadVectorData=r||s,this.loading={},this.loaded={}};l.prototype.loadTile=function(t,n){var r=this,o=t.uid;this.loading||(this.loading={});var a=!!(t&&t.request&&t.request.collectResourceTiming)&&new e.RequestPerformance(t.request),s=this.loading[o]=new i(t);s.abort=this.loadVectorData(t,(function(t,i){if(delete r.loading[o],t||!i)return s.status="done",r.loaded[o]=s,n(t);var l=i.rawData,c={};i.expires&&(c.expires=i.expires),i.cacheControl&&(c.cacheControl=i.cacheControl);var u={};if(a){var d=a.finish();d&&(u.resourceTiming=JSON.parse(JSON.stringify(d)))}s.vectorTile=i.vectorTile,s.parse(i.vectorTile,r.layerIndex,r.availableImages,r.actor,(function(t,r){if(t||!r)return n(t);n(null,e.extend({rawTileData:l.slice(0)},r,c,u))})),r.loaded=r.loaded||{},r.loaded[o]=s}))},l.prototype.reloadTile=function(e,t){var n=this,r=this.loaded,o=e.uid,i=this;if(r&&r[o]){var a=r[o];a.showCollisionBoxes=e.showCollisionBoxes;var s=function(e,r){var o=a.reloadCallback;o&&(delete a.reloadCallback,a.parse(a.vectorTile,i.layerIndex,n.availableImages,i.actor,o)),t(e,r)};"parsing"===a.status?a.reloadCallback=s:"done"===a.status&&(a.vectorTile?a.parse(a.vectorTile,this.layerIndex,this.availableImages,this.actor,s):s())}},l.prototype.abortTile=function(e,t){var n=this.loading,r=e.uid;n&&n[r]&&n[r].abort&&(n[r].abort(),delete n[r]),t()},l.prototype.removeTile=function(e,t){var n=this.loaded,r=e.uid;n&&n[r]&&delete n[r],t()};var c=e.window.ImageBitmap,u=function(){this.loaded={}};function d(e,t){if(0!==e.length){p(e[0],t);for(var n=1;n<e.length;n++)p(e[n],!t)}}function p(e,t){for(var n=0,r=0,o=0,i=e.length,a=i-1;o<i;a=o++){var s=(e[o][0]-e[a][0])*(e[a][1]+e[o][1]),l=n+s;r+=Math.abs(n)>=Math.abs(s)?n-l+s:s-l+n,n=l}n+r>=0!=!!t&&e.reverse()}u.prototype.loadTile=function(t,n){var r=t.uid,o=t.encoding,i=t.rawImageData,a=c&&i instanceof c?this.getImageData(i):i,s=new e.DEMData(r,a,o);this.loaded=this.loaded||{},this.loaded[r]=s,n(null,s)},u.prototype.getImageData=function(t){this.offscreenCanvas&&this.offscreenCanvasContext||(this.offscreenCanvas=new OffscreenCanvas(t.width,t.height),this.offscreenCanvasContext=this.offscreenCanvas.getContext("2d")),this.offscreenCanvas.width=t.width,this.offscreenCanvas.height=t.height,this.offscreenCanvasContext.drawImage(t,0,0,t.width,t.height);var n=this.offscreenCanvasContext.getImageData(-1,-1,t.width+2,t.height+2);return this.offscreenCanvasContext.clearRect(0,0,this.offscreenCanvas.width,this.offscreenCanvas.height),new e.RGBAImage({width:n.width,height:n.height},n.data)},u.prototype.removeTile=function(e){var t=this.loaded,n=e.uid;t&&t[n]&&delete t[n]};var f=e.vectorTile.VectorTileFeature.prototype.toGeoJSON,h=function(t){this._feature=t,this.extent=e.EXTENT,this.type=t.type,this.properties=t.tags,"id"in t&&!isNaN(t.id)&&(this.id=parseInt(t.id,10))};h.prototype.loadGeometry=function(){if(1===this._feature.type){for(var t=[],n=0,r=this._feature.geometry;n<r.length;n+=1){var o=r[n];t.push([new e.Point$1(o[0],o[1])])}return t}for(var i=[],a=0,s=this._feature.geometry;a<s.length;a+=1){for(var l=[],c=0,u=s[a];c<u.length;c+=1){var d=u[c];l.push(new e.Point$1(d[0],d[1]))}i.push(l)}return i},h.prototype.toGeoJSON=function(e,t,n){return f.call(this,e,t,n)};var b=function(t){this.layers={_geojsonTileLayer:this},this.name="_geojsonTileLayer",this.extent=e.EXTENT,this.length=t.length,this._features=t};b.prototype.feature=function(e){return new h(this._features[e])};var A=e.vectorTile.VectorTileFeature,m=g;function g(e,t){this.options=t||{},this.features=e,this.length=e.length}function v(e,t){this.id="number"==typeof e.id?e.id:void 0,this.type=e.type,this.rawGeometry=1===e.type?[e.geometry]:e.geometry,this.properties=e.tags,this.extent=t||4096}g.prototype.feature=function(e){return new v(this.features[e],this.options.extent)},v.prototype.loadGeometry=function(){var t=this.rawGeometry;this.geometry=[];for(var n=0;n<t.length;n++){for(var r=t[n],o=[],i=0;i<r.length;i++)o.push(new e.Point$1(r[i][0],r[i][1]));this.geometry.push(o)}return this.geometry},v.prototype.bbox=function(){this.geometry||this.loadGeometry();for(var e=this.geometry,t=1/0,n=-1/0,r=1/0,o=-1/0,i=0;i<e.length;i++)for(var a=e[i],s=0;s<a.length;s++){var l=a[s];t=Math.min(t,l.x),n=Math.max(n,l.x),r=Math.min(r,l.y),o=Math.max(o,l.y)}return[t,r,n,o]},v.prototype.toGeoJSON=A.prototype.toGeoJSON;var y=O,M=m;function O(t){var n=new e.pbf;return function(e,t){for(var n in e.layers)t.writeMessage(3,_,e.layers[n])}(t,n),n.finish()}function _(e,t){var n;t.writeVarintField(15,e.version||1),t.writeStringField(1,e.name||""),t.writeVarintField(5,e.extent||4096);var r={keys:[],values:[],keycache:{},valuecache:{}};for(n=0;n<e.length;n++)r.feature=e.feature(n),t.writeMessage(2,z,r);var o=r.keys;for(n=0;n<o.length;n++)t.writeStringField(3,o[n]);var i=r.values;for(n=0;n<i.length;n++)t.writeMessage(4,E,i[n])}function z(e,t){var n=e.feature;void 0!==n.id&&t.writeVarintField(1,n.id),t.writeMessage(2,x,e),t.writeVarintField(3,n.type),t.writeMessage(4,S,n)}function x(e,t){var n=e.feature,r=e.keys,o=e.values,i=e.keycache,a=e.valuecache;for(var s in n.properties){var l=i[s];void 0===l&&(r.push(s),i[s]=l=r.length-1),t.writeVarint(l);var c=n.properties[s],u=typeof c;"string"!==u&&"boolean"!==u&&"number"!==u&&(c=JSON.stringify(c));var d=u+":"+c,p=a[d];void 0===p&&(o.push(c),a[d]=p=o.length-1),t.writeVarint(p)}}function w(e,t){return(t<<3)+(7&e)}function C(e){return e<<1^e>>31}function S(e,t){for(var n=e.loadGeometry(),r=e.type,o=0,i=0,a=n.length,s=0;s<a;s++){var l=n[s],c=1;1===r&&(c=l.length),t.writeVarint(w(1,c));for(var u=3===r?l.length-1:l.length,d=0;d<u;d++){1===d&&1!==r&&t.writeVarint(w(2,u-1));var p=l[d].x-o,f=l[d].y-i;t.writeVarint(C(p)),t.writeVarint(C(f)),o+=p,i+=f}3===r&&t.writeVarint(w(7,1))}}function E(e,t){var n=typeof e;"string"===n?t.writeStringField(1,e):"boolean"===n?t.writeBooleanField(7,e):"number"===n&&(e%1!=0?t.writeDoubleField(3,e):e<0?t.writeSVarintField(6,e):t.writeVarintField(5,e))}function k(e,t,n,r){D(e,n,r),D(t,2*n,2*r),D(t,2*n+1,2*r+1)}function D(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function N(e,t,n,r){var o=e-n,i=t-r;return o*o+i*i}y.fromVectorTileJs=O,y.fromGeojsonVt=function(e,t){t=t||{};var n={};for(var r in e)n[r]=new m(e[r].features,t),n[r].name=r,n[r].version=t.version,n[r].extent=t.extent;return O({layers:n})},y.GeoJSONWrapper=M;var T=function(e){return e[0]},j=function(e){return e[1]},B=function(e,t,n,r,o){void 0===t&&(t=T),void 0===n&&(n=j),void 0===r&&(r=64),void 0===o&&(o=Float64Array),this.nodeSize=r,this.points=e;for(var i=e.length<65536?Uint16Array:Uint32Array,a=this.ids=new i(e.length),s=this.coords=new o(2*e.length),l=0;l<e.length;l++)a[l]=l,s[2*l]=t(e[l]),s[2*l+1]=n(e[l]);!function e(t,n,r,o,i,a){if(!(i-o<=r)){var s=o+i>>1;!function e(t,n,r,o,i,a){for(;i>o;){if(i-o>600){var s=i-o+1,l=r-o+1,c=Math.log(s),u=.5*Math.exp(2*c/3),d=.5*Math.sqrt(c*u*(s-u)/s)*(l-s/2<0?-1:1);e(t,n,r,Math.max(o,Math.floor(r-l*u/s+d)),Math.min(i,Math.floor(r+(s-l)*u/s+d)),a)}var p=n[2*r+a],f=o,h=i;for(k(t,n,o,r),n[2*i+a]>p&&k(t,n,o,i);f<h;){for(k(t,n,f,h),f++,h--;n[2*f+a]<p;)f++;for(;n[2*h+a]>p;)h--}n[2*o+a]===p?k(t,n,o,h):k(t,n,++h,i),h<=r&&(o=h+1),r<=h&&(i=h-1)}}(t,n,s,o,i,a%2),e(t,n,r,o,s-1,a+1),e(t,n,r,s+1,i,a+1)}}(a,s,r,0,a.length-1,0)};B.prototype.range=function(e,t,n,r){return function(e,t,n,r,o,i,a){for(var s,l,c=[0,e.length-1,0],u=[];c.length;){var d=c.pop(),p=c.pop(),f=c.pop();if(p-f<=a)for(var h=f;h<=p;h++)l=t[2*h+1],(s=t[2*h])>=n&&s<=o&&l>=r&&l<=i&&u.push(e[h]);else{var b=Math.floor((f+p)/2);l=t[2*b+1],(s=t[2*b])>=n&&s<=o&&l>=r&&l<=i&&u.push(e[b]);var A=(d+1)%2;(0===d?n<=s:r<=l)&&(c.push(f),c.push(b-1),c.push(A)),(0===d?o>=s:i>=l)&&(c.push(b+1),c.push(p),c.push(A))}}return u}(this.ids,this.coords,e,t,n,r,this.nodeSize)},B.prototype.within=function(e,t,n){return function(e,t,n,r,o,i){for(var a=[0,e.length-1,0],s=[],l=o*o;a.length;){var c=a.pop(),u=a.pop(),d=a.pop();if(u-d<=i)for(var p=d;p<=u;p++)N(t[2*p],t[2*p+1],n,r)<=l&&s.push(e[p]);else{var f=Math.floor((d+u)/2),h=t[2*f],b=t[2*f+1];N(h,b,n,r)<=l&&s.push(e[f]);var A=(c+1)%2;(0===c?n-o<=h:r-o<=b)&&(a.push(d),a.push(f-1),a.push(A)),(0===c?n+o>=h:r+o>=b)&&(a.push(f+1),a.push(u),a.push(A))}}return s}(this.ids,this.coords,e,t,n,this.nodeSize)};var L={minZoom:0,maxZoom:16,minPoints:2,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:function(e){return e}},R=function(e){this.options=Z(Object.create(L),e),this.trees=new Array(this.options.maxZoom+1)};function q(e,t,n,r,o){return{x:e,y:t,zoom:1/0,id:n,parentId:-1,numPoints:r,properties:o}}function P(e,t){var n=e.geometry.coordinates,r=n[1];return{x:F(n[0]),y:U(r),zoom:1/0,index:t,parentId:-1}}function I(e){return{type:"Feature",id:e.id,properties:W(e),geometry:{type:"Point",coordinates:[(r=e.x,360*(r-.5)),(t=e.y,n=(180-360*t)*Math.PI/180,360*Math.atan(Math.exp(n))/Math.PI-90)]}};var t,n,r}function W(e){var t=e.numPoints,n=t>=1e4?Math.round(t/1e3)+"k":t>=1e3?Math.round(t/100)/10+"k":t;return Z(Z({},e.properties),{cluster:!0,cluster_id:e.id,point_count:t,point_count_abbreviated:n})}function F(e){return e/360+.5}function U(e){var t=Math.sin(e*Math.PI/180),n=.5-.25*Math.log((1+t)/(1-t))/Math.PI;return n<0?0:n>1?1:n}function Z(e,t){for(var n in t)e[n]=t[n];return e}function H(e){return e.x}function $(e){return e.y}function V(e,t,n,r,o,i){var a=o-n,s=i-r;if(0!==a||0!==s){var l=((e-n)*a+(t-r)*s)/(a*a+s*s);l>1?(n=o,r=i):l>0&&(n+=a*l,r+=s*l)}return(a=e-n)*a+(s=t-r)*s}function X(e,t,n,r){var o={id:void 0===e?null:e,type:t,geometry:n,tags:r,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};return function(e){var t=e.geometry,n=e.type;if("Point"===n||"MultiPoint"===n||"LineString"===n)Q(e,t);else if("Polygon"===n||"MultiLineString"===n)for(var r=0;r<t.length;r++)Q(e,t[r]);else if("MultiPolygon"===n)for(r=0;r<t.length;r++)for(var o=0;o<t[r].length;o++)Q(e,t[r][o])}(o),o}function Q(e,t){for(var n=0;n<t.length;n+=3)e.minX=Math.min(e.minX,t[n]),e.minY=Math.min(e.minY,t[n+1]),e.maxX=Math.max(e.maxX,t[n]),e.maxY=Math.max(e.maxY,t[n+1])}function Y(e,t,n,r){if(t.geometry){var o=t.geometry.coordinates,i=t.geometry.type,a=Math.pow(n.tolerance/((1<<n.maxZoom)*n.extent),2),s=[],l=t.id;if(n.promoteId?l=t.properties[n.promoteId]:n.generateId&&(l=r||0),"Point"===i)G(o,s);else if("MultiPoint"===i)for(var c=0;c<o.length;c++)G(o[c],s);else if("LineString"===i)K(o,s,a,!1);else if("MultiLineString"===i){if(n.lineMetrics){for(c=0;c<o.length;c++)K(o[c],s=[],a,!1),e.push(X(l,"LineString",s,t.properties));return}J(o,s,a,!1)}else if("Polygon"===i)J(o,s,a,!0);else{if("MultiPolygon"!==i){if("GeometryCollection"===i){for(c=0;c<t.geometry.geometries.length;c++)Y(e,{id:l,geometry:t.geometry.geometries[c],properties:t.properties},n,r);return}throw new Error("Input data is not a valid GeoJSON object.")}for(c=0;c<o.length;c++){var u=[];J(o[c],u,a,!0),s.push(u)}}e.push(X(l,i,s,t.properties))}}function G(e,t){t.push(ee(e[0])),t.push(te(e[1])),t.push(0)}function K(e,t,n,r){for(var o,i,a=0,s=0;s<e.length;s++){var l=ee(e[s][0]),c=te(e[s][1]);t.push(l),t.push(c),t.push(0),s>0&&(a+=r?(o*c-l*i)/2:Math.sqrt(Math.pow(l-o,2)+Math.pow(c-i,2))),o=l,i=c}var u=t.length-3;t[2]=1,function e(t,n,r,o){for(var i,a=o,s=r-n>>1,l=r-n,c=t[n],u=t[n+1],d=t[r],p=t[r+1],f=n+3;f<r;f+=3){var h=V(t[f],t[f+1],c,u,d,p);if(h>a)i=f,a=h;else if(h===a){var b=Math.abs(f-s);b<l&&(i=f,l=b)}}a>o&&(i-n>3&&e(t,n,i,o),t[i+2]=a,r-i>3&&e(t,i,r,o))}(t,0,u,n),t[u+2]=1,t.size=Math.abs(a),t.start=0,t.end=t.size}function J(e,t,n,r){for(var o=0;o<e.length;o++){var i=[];K(e[o],i,n,r),t.push(i)}}function ee(e){return e/360+.5}function te(e){var t=Math.sin(e*Math.PI/180),n=.5-.25*Math.log((1+t)/(1-t))/Math.PI;return n<0?0:n>1?1:n}function ne(e,t,n,r,o,i,a,s){if(r/=t,i>=(n/=t)&&a<r)return e;if(a<n||i>=r)return null;for(var l=[],c=0;c<e.length;c++){var u=e[c],d=u.geometry,p=u.type,f=0===o?u.minX:u.minY,h=0===o?u.maxX:u.maxY;if(f>=n&&h<r)l.push(u);else if(!(h<n||f>=r)){var b=[];if("Point"===p||"MultiPoint"===p)re(d,b,n,r,o);else if("LineString"===p)oe(d,b,n,r,o,!1,s.lineMetrics);else if("MultiLineString"===p)ae(d,b,n,r,o,!1);else if("Polygon"===p)ae(d,b,n,r,o,!0);else if("MultiPolygon"===p)for(var A=0;A<d.length;A++){var m=[];ae(d[A],m,n,r,o,!0),m.length&&b.push(m)}if(b.length){if(s.lineMetrics&&"LineString"===p){for(A=0;A<b.length;A++)l.push(X(u.id,p,b[A],u.tags));continue}"LineString"!==p&&"MultiLineString"!==p||(1===b.length?(p="LineString",b=b[0]):p="MultiLineString"),"Point"!==p&&"MultiPoint"!==p||(p=3===b.length?"Point":"MultiPoint"),l.push(X(u.id,p,b,u.tags))}}}return l.length?l:null}function re(e,t,n,r,o){for(var i=0;i<e.length;i+=3){var a=e[i+o];a>=n&&a<=r&&(t.push(e[i]),t.push(e[i+1]),t.push(e[i+2]))}}function oe(e,t,n,r,o,i,a){for(var s,l,c=ie(e),u=0===o?le:ce,d=e.start,p=0;p<e.length-3;p+=3){var f=e[p],h=e[p+1],b=e[p+2],A=e[p+3],m=e[p+4],g=0===o?f:h,v=0===o?A:m,y=!1;a&&(s=Math.sqrt(Math.pow(f-A,2)+Math.pow(h-m,2))),g<n?v>n&&(l=u(c,f,h,A,m,n),a&&(c.start=d+s*l)):g>r?v<r&&(l=u(c,f,h,A,m,r),a&&(c.start=d+s*l)):se(c,f,h,b),v<n&&g>=n&&(l=u(c,f,h,A,m,n),y=!0),v>r&&g<=r&&(l=u(c,f,h,A,m,r),y=!0),!i&&y&&(a&&(c.end=d+s*l),t.push(c),c=ie(e)),a&&(d+=s)}var M=e.length-3;f=e[M],h=e[M+1],b=e[M+2],(g=0===o?f:h)>=n&&g<=r&&se(c,f,h,b),M=c.length-3,i&&M>=3&&(c[M]!==c[0]||c[M+1]!==c[1])&&se(c,c[0],c[1],c[2]),c.length&&t.push(c)}function ie(e){var t=[];return t.size=e.size,t.start=e.start,t.end=e.end,t}function ae(e,t,n,r,o,i){for(var a=0;a<e.length;a++)oe(e[a],t,n,r,o,i,!1)}function se(e,t,n,r){e.push(t),e.push(n),e.push(r)}function le(e,t,n,r,o,i){var a=(i-t)/(r-t);return e.push(i),e.push(n+(o-n)*a),e.push(1),a}function ce(e,t,n,r,o,i){var a=(i-n)/(o-n);return e.push(t+(r-t)*a),e.push(i),e.push(1),a}function ue(e,t){for(var n=[],r=0;r<e.length;r++){var o,i=e[r],a=i.type;if("Point"===a||"MultiPoint"===a||"LineString"===a)o=de(i.geometry,t);else if("MultiLineString"===a||"Polygon"===a){o=[];for(var s=0;s<i.geometry.length;s++)o.push(de(i.geometry[s],t))}else if("MultiPolygon"===a)for(o=[],s=0;s<i.geometry.length;s++){for(var l=[],c=0;c<i.geometry[s].length;c++)l.push(de(i.geometry[s][c],t));o.push(l)}n.push(X(i.id,a,o,i.tags))}return n}function de(e,t){var n=[];n.size=e.size,void 0!==e.start&&(n.start=e.start,n.end=e.end);for(var r=0;r<e.length;r+=3)n.push(e[r]+t,e[r+1],e[r+2]);return n}function pe(e,t){if(e.transformed)return e;var n,r,o,i=1<<e.z,a=e.x,s=e.y;for(n=0;n<e.features.length;n++){var l=e.features[n],c=l.geometry,u=l.type;if(l.geometry=[],1===u)for(r=0;r<c.length;r+=2)l.geometry.push(fe(c[r],c[r+1],t,i,a,s));else for(r=0;r<c.length;r++){var d=[];for(o=0;o<c[r].length;o+=2)d.push(fe(c[r][o],c[r][o+1],t,i,a,s));l.geometry.push(d)}}return e.transformed=!0,e}function fe(e,t,n,r,o,i){return[Math.round(n*(e*r-o)),Math.round(n*(t*r-i))]}function he(e,t,n,r,o){for(var i=t===o.maxZoom?0:o.tolerance/((1<<t)*o.extent),a={features:[],numPoints:0,numSimplified:0,numFeatures:0,source:null,x:n,y:r,z:t,transformed:!1,minX:2,minY:1,maxX:-1,maxY:0},s=0;s<e.length;s++){a.numFeatures++,be(a,e[s],i,o);var l=e[s].minX,c=e[s].minY,u=e[s].maxX,d=e[s].maxY;l<a.minX&&(a.minX=l),c<a.minY&&(a.minY=c),u>a.maxX&&(a.maxX=u),d>a.maxY&&(a.maxY=d)}return a}function be(e,t,n,r){var o=t.geometry,i=t.type,a=[];if("Point"===i||"MultiPoint"===i)for(var s=0;s<o.length;s+=3)a.push(o[s]),a.push(o[s+1]),e.numPoints++,e.numSimplified++;else if("LineString"===i)Ae(a,o,e,n,!1,!1);else if("MultiLineString"===i||"Polygon"===i)for(s=0;s<o.length;s++)Ae(a,o[s],e,n,"Polygon"===i,0===s);else if("MultiPolygon"===i)for(var l=0;l<o.length;l++){var c=o[l];for(s=0;s<c.length;s++)Ae(a,c[s],e,n,!0,0===s)}if(a.length){var u=t.tags||null;if("LineString"===i&&r.lineMetrics){for(var d in u={},t.tags)u[d]=t.tags[d];u.mapbox_clip_start=o.start/o.size,u.mapbox_clip_end=o.end/o.size}var p={geometry:a,type:"Polygon"===i||"MultiPolygon"===i?3:"LineString"===i||"MultiLineString"===i?2:1,tags:u};null!==t.id&&(p.id=t.id),e.features.push(p)}}function Ae(e,t,n,r,o,i){var a=r*r;if(r>0&&t.size<(o?a:r))n.numPoints+=t.length/3;else{for(var s=[],l=0;l<t.length;l+=3)(0===r||t[l+2]>a)&&(n.numSimplified++,s.push(t[l]),s.push(t[l+1])),n.numPoints++;o&&function(e,t){for(var n=0,r=0,o=e.length,i=o-2;r<o;i=r,r+=2)n+=(e[r]-e[i])*(e[r+1]+e[i+1]);if(n>0===t)for(r=0,o=e.length;r<o/2;r+=2){var a=e[r],s=e[r+1];e[r]=e[o-2-r],e[r+1]=e[o-1-r],e[o-2-r]=a,e[o-1-r]=s}}(s,i),e.push(s)}}function me(e,t){var n=(t=this.options=function(e,t){for(var n in t)e[n]=t[n];return e}(Object.create(this.options),t)).debug;if(n&&console.time("preprocess data"),t.maxZoom<0||t.maxZoom>24)throw new Error("maxZoom should be in the 0-24 range");if(t.promoteId&&t.generateId)throw new Error("promoteId and generateId cannot be used together.");var r=function(e,t){var n=[];if("FeatureCollection"===e.type)for(var r=0;r<e.features.length;r++)Y(n,e.features[r],t,r);else Y(n,"Feature"===e.type?e:{geometry:e},t);return n}(e,t);this.tiles={},this.tileCoords=[],n&&(console.timeEnd("preprocess data"),console.log("index: maxZoom: %d, maxPoints: %d",t.indexMaxZoom,t.indexMaxPoints),console.time("generate tiles"),this.stats={},this.total=0),(r=function(e,t){var n=t.buffer/t.extent,r=e,o=ne(e,1,-1-n,n,0,-1,2,t),i=ne(e,1,1-n,2+n,0,-1,2,t);return(o||i)&&(r=ne(e,1,-n,1+n,0,-1,2,t)||[],o&&(r=ue(o,1).concat(r)),i&&(r=r.concat(ue(i,-1)))),r}(r,t)).length&&this.splitTile(r,0,0,0),n&&(r.length&&console.log("features: %d, points: %d",this.tiles[0].numFeatures,this.tiles[0].numPoints),console.timeEnd("generate tiles"),console.log("tiles generated:",this.total,JSON.stringify(this.stats)))}function ge(e,t,n){return 32*((1<<e)*n+t)+e}function ve(e,t){var n=e.tileID.canonical;if(!this._geoJSONIndex)return t(null,null);var r=this._geoJSONIndex.getTile(n.z,n.x,n.y);if(!r)return t(null,null);var o=new b(r.features),i=y(o);0===i.byteOffset&&i.byteLength===i.buffer.byteLength||(i=new Uint8Array(i)),t(null,{vectorTile:o,rawData:i.buffer})}R.prototype.load=function(e){var t=this.options,n=t.log,r=t.minZoom,o=t.maxZoom,i=t.nodeSize;n&&console.time("total time");var a="prepare "+e.length+" points";n&&console.time(a),this.points=e;for(var s=[],l=0;l<e.length;l++)e[l].geometry&&s.push(P(e[l],l));this.trees[o+1]=new B(s,H,$,i,Float32Array),n&&console.timeEnd(a);for(var c=o;c>=r;c--){var u=+Date.now();s=this._cluster(s,c),this.trees[c]=new B(s,H,$,i,Float32Array),n&&console.log("z%d: %d clusters in %dms",c,s.length,+Date.now()-u)}return n&&console.timeEnd("total time"),this},R.prototype.getClusters=function(e,t){var n=((e[0]+180)%360+360)%360-180,r=Math.max(-90,Math.min(90,e[1])),o=180===e[2]?180:((e[2]+180)%360+360)%360-180,i=Math.max(-90,Math.min(90,e[3]));if(e[2]-e[0]>=360)n=-180,o=180;else if(n>o){var a=this.getClusters([n,r,180,i],t),s=this.getClusters([-180,r,o,i],t);return a.concat(s)}for(var l=this.trees[this._limitZoom(t)],c=[],u=0,d=l.range(F(n),U(i),F(o),U(r));u<d.length;u+=1){var p=l.points[d[u]];c.push(p.numPoints?I(p):this.points[p.index])}return c},R.prototype.getChildren=function(e){var t=this._getOriginId(e),n=this._getOriginZoom(e),r="No cluster with the specified id.",o=this.trees[n];if(!o)throw new Error(r);var i=o.points[t];if(!i)throw new Error(r);for(var a=this.options.radius/(this.options.extent*Math.pow(2,n-1)),s=[],l=0,c=o.within(i.x,i.y,a);l<c.length;l+=1){var u=o.points[c[l]];u.parentId===e&&s.push(u.numPoints?I(u):this.points[u.index])}if(0===s.length)throw new Error(r);return s},R.prototype.getLeaves=function(e,t,n){var r=[];return this._appendLeaves(r,e,t=t||10,n=n||0,0),r},R.prototype.getTile=function(e,t,n){var r=this.trees[this._limitZoom(e)],o=Math.pow(2,e),i=this.options,a=i.radius/i.extent,s=(n-a)/o,l=(n+1+a)/o,c={features:[]};return this._addTileFeatures(r.range((t-a)/o,s,(t+1+a)/o,l),r.points,t,n,o,c),0===t&&this._addTileFeatures(r.range(1-a/o,s,1,l),r.points,o,n,o,c),t===o-1&&this._addTileFeatures(r.range(0,s,a/o,l),r.points,-1,n,o,c),c.features.length?c:null},R.prototype.getClusterExpansionZoom=function(e){for(var t=this._getOriginZoom(e)-1;t<=this.options.maxZoom;){var n=this.getChildren(e);if(t++,1!==n.length)break;e=n[0].properties.cluster_id}return t},R.prototype._appendLeaves=function(e,t,n,r,o){for(var i=0,a=this.getChildren(t);i<a.length;i+=1){var s=a[i],l=s.properties;if(l&&l.cluster?o+l.point_count<=r?o+=l.point_count:o=this._appendLeaves(e,l.cluster_id,n,r,o):o<r?o++:e.push(s),e.length===n)break}return o},R.prototype._addTileFeatures=function(e,t,n,r,o,i){for(var a=0,s=e;a<s.length;a+=1){var l=t[s[a]],c=l.numPoints,u={type:1,geometry:[[Math.round(this.options.extent*(l.x*o-n)),Math.round(this.options.extent*(l.y*o-r))]],tags:c?W(l):this.points[l.index].properties},d=void 0;c?d=l.id:this.options.generateId?d=l.index:this.points[l.index].id&&(d=this.points[l.index].id),void 0!==d&&(u.id=d),i.features.push(u)}},R.prototype._limitZoom=function(e){return Math.max(this.options.minZoom,Math.min(+e,this.options.maxZoom+1))},R.prototype._cluster=function(e,t){for(var n=[],r=this.options,o=r.reduce,i=r.minPoints,a=r.radius/(r.extent*Math.pow(2,t)),s=0;s<e.length;s++){var l=e[s];if(!(l.zoom<=t)){l.zoom=t;for(var c=this.trees[t+1],u=c.within(l.x,l.y,a),d=l.numPoints||1,p=d,f=0,h=u;f<h.length;f+=1){var b=c.points[h[f]];b.zoom>t&&(p+=b.numPoints||1)}if(p>=i){for(var A=l.x*d,m=l.y*d,g=o&&d>1?this._map(l,!0):null,v=(s<<5)+(t+1)+this.points.length,y=0,M=u;y<M.length;y+=1){var O=c.points[M[y]];if(!(O.zoom<=t)){O.zoom=t;var _=O.numPoints||1;A+=O.x*_,m+=O.y*_,O.parentId=v,o&&(g||(g=this._map(l,!0)),o(g,this._map(O)))}}l.parentId=v,n.push(q(A/p,m/p,v,p,g))}else if(n.push(l),p>1)for(var z=0,x=u;z<x.length;z+=1){var w=c.points[x[z]];w.zoom<=t||(w.zoom=t,n.push(w))}}}return n},R.prototype._getOriginId=function(e){return e-this.points.length>>5},R.prototype._getOriginZoom=function(e){return(e-this.points.length)%32},R.prototype._map=function(e,t){if(e.numPoints)return t?Z({},e.properties):e.properties;var n=this.points[e.index].properties,r=this.options.map(n);return t&&r===n?Z({},r):r},me.prototype.options={maxZoom:14,indexMaxZoom:5,indexMaxPoints:1e5,tolerance:3,extent:4096,buffer:64,lineMetrics:!1,promoteId:null,generateId:!1,debug:0},me.prototype.splitTile=function(e,t,n,r,o,i,a){for(var s=[e,t,n,r],l=this.options,c=l.debug;s.length;){r=s.pop(),n=s.pop(),t=s.pop(),e=s.pop();var u=1<<t,d=ge(t,n,r),p=this.tiles[d];if(!p&&(c>1&&console.time("creation"),p=this.tiles[d]=he(e,t,n,r,l),this.tileCoords.push({z:t,x:n,y:r}),c)){c>1&&(console.log("tile z%d-%d-%d (features: %d, points: %d, simplified: %d)",t,n,r,p.numFeatures,p.numPoints,p.numSimplified),console.timeEnd("creation"));var f="z"+t;this.stats[f]=(this.stats[f]||0)+1,this.total++}if(p.source=e,o){if(t===l.maxZoom||t===o)continue;var h=1<<o-t;if(n!==Math.floor(i/h)||r!==Math.floor(a/h))continue}else if(t===l.indexMaxZoom||p.numPoints<=l.indexMaxPoints)continue;if(p.source=null,0!==e.length){c>1&&console.time("clipping");var b,A,m,g,v,y,M=.5*l.buffer/l.extent,O=.5-M,_=.5+M,z=1+M;b=A=m=g=null,v=ne(e,u,n-M,n+_,0,p.minX,p.maxX,l),y=ne(e,u,n+O,n+z,0,p.minX,p.maxX,l),e=null,v&&(b=ne(v,u,r-M,r+_,1,p.minY,p.maxY,l),A=ne(v,u,r+O,r+z,1,p.minY,p.maxY,l),v=null),y&&(m=ne(y,u,r-M,r+_,1,p.minY,p.maxY,l),g=ne(y,u,r+O,r+z,1,p.minY,p.maxY,l),y=null),c>1&&console.timeEnd("clipping"),s.push(b||[],t+1,2*n,2*r),s.push(A||[],t+1,2*n,2*r+1),s.push(m||[],t+1,2*n+1,2*r),s.push(g||[],t+1,2*n+1,2*r+1)}}},me.prototype.getTile=function(e,t,n){var r=this.options,o=r.extent,i=r.debug;if(e<0||e>24)return null;var a=1<<e,s=ge(e,t=(t%a+a)%a,n);if(this.tiles[s])return pe(this.tiles[s],o);i>1&&console.log("drilling down to z%d-%d-%d",e,t,n);for(var l,c=e,u=t,d=n;!l&&c>0;)c--,u=Math.floor(u/2),d=Math.floor(d/2),l=this.tiles[ge(c,u,d)];return l&&l.source?(i>1&&console.log("found parent tile z%d-%d-%d",c,u,d),i>1&&console.time("drilling down"),this.splitTile(l.source,c,u,d,e,t,n),i>1&&console.timeEnd("drilling down"),this.tiles[s]?pe(this.tiles[s],o):null):null};var ye=function(t){function n(e,n,r,o){t.call(this,e,n,r,ve),o&&(this.loadGeoJSON=o)}return t&&(n.__proto__=t),(n.prototype=Object.create(t&&t.prototype)).constructor=n,n.prototype.loadData=function(e,t){this._pendingCallback&&this._pendingCallback(null,{abandoned:!0}),this._pendingCallback=t,this._pendingLoadDataParams=e,this._state&&"Idle"!==this._state?this._state="NeedsLoadData":(this._state="Coalescing",this._loadData())},n.prototype._loadData=function(){var t=this;if(this._pendingCallback&&this._pendingLoadDataParams){var n=this._pendingCallback,r=this._pendingLoadDataParams;delete this._pendingCallback,delete this._pendingLoadDataParams;var o=!!(r&&r.request&&r.request.collectResourceTiming)&&new e.RequestPerformance(r.request);this.loadGeoJSON(r,(function(i,a){if(i||!a)return n(i);if("object"!=typeof a)return n(new Error("Input data given to '"+r.source+"' is not a valid GeoJSON object."));!function e(t,n){var r,o=t&&t.type;if("FeatureCollection"===o)for(r=0;r<t.features.length;r++)e(t.features[r],n);else if("GeometryCollection"===o)for(r=0;r<t.geometries.length;r++)e(t.geometries[r],n);else if("Feature"===o)e(t.geometry,n);else if("Polygon"===o)d(t.coordinates,n);else if("MultiPolygon"===o)for(r=0;r<t.coordinates.length;r++)d(t.coordinates[r],n);return t}(a,!0);try{if(r.filter){var s=e.createExpression(r.filter,{type:"boolean","property-type":"data-driven",overridable:!1,transition:!1});if("error"===s.result)throw new Error(s.value.map((function(e){return e.key+": "+e.message})).join(", "));var l=a.features.filter((function(e){return s.value.evaluate({zoom:0},e)}));a={type:"FeatureCollection",features:l}}t._geoJSONIndex=r.cluster?new R(function(t){var n=t.superclusterOptions,r=t.clusterProperties;if(!r||!n)return n;for(var o={},i={},a={accumulated:null,zoom:0},s={properties:null},l=Object.keys(r),c=0,u=l;c<u.length;c+=1){var d=u[c],p=r[d],f=p[0],h=e.createExpression(p[1]),b=e.createExpression("string"==typeof f?[f,["accumulated"],["get",d]]:f);o[d]=h.value,i[d]=b.value}return n.map=function(e){s.properties=e;for(var t={},n=0,r=l;n<r.length;n+=1){var i=r[n];t[i]=o[i].evaluate(a,s)}return t},n.reduce=function(e,t){s.properties=t;for(var n=0,r=l;n<r.length;n+=1){var o=r[n];a.accumulated=e[o],e[o]=i[o].evaluate(a,s)}},n}(r)).load(a.features):function(e,t){return new me(e,t)}(a,r.geojsonVtOptions)}catch(i){return n(i)}t.loaded={};var c={};if(o){var u=o.finish();u&&(c.resourceTiming={},c.resourceTiming[r.source]=JSON.parse(JSON.stringify(u)))}n(null,c)}))}},n.prototype.coalesce=function(){"Coalescing"===this._state?this._state="Idle":"NeedsLoadData"===this._state&&(this._state="Coalescing",this._loadData())},n.prototype.reloadTile=function(e,n){var r=this.loaded;return r&&r[e.uid]?t.prototype.reloadTile.call(this,e,n):this.loadTile(e,n)},n.prototype.loadGeoJSON=function(t,n){if(t.request)e.getJSON(t.request,n);else{if("string"!=typeof t.data)return n(new Error("Input data given to '"+t.source+"' is not a valid GeoJSON object."));try{return n(null,JSON.parse(t.data))}catch(e){return n(new Error("Input data given to '"+t.source+"' is not a valid GeoJSON object."))}}},n.prototype.removeSource=function(e,t){this._pendingCallback&&this._pendingCallback(null,{abandoned:!0}),t()},n.prototype.getClusterExpansionZoom=function(e,t){try{t(null,this._geoJSONIndex.getClusterExpansionZoom(e.clusterId))}catch(e){t(e)}},n.prototype.getClusterChildren=function(e,t){try{t(null,this._geoJSONIndex.getChildren(e.clusterId))}catch(e){t(e)}},n.prototype.getClusterLeaves=function(e,t){try{t(null,this._geoJSONIndex.getLeaves(e.clusterId,e.limit,e.offset))}catch(e){t(e)}},n}(l),Me=function(t){var n=this;this.self=t,this.actor=new e.Actor(t,this),this.layerIndexes={},this.availableImages={},this.workerSourceTypes={vector:l,geojson:ye},this.workerSources={},this.demWorkerSources={},this.self.registerWorkerSource=function(e,t){if(n.workerSourceTypes[e])throw new Error('Worker source with name "'+e+'" already registered.');n.workerSourceTypes[e]=t},this.self.registerRTLTextPlugin=function(t){if(e.plugin.isParsed())throw new Error("RTL text plugin already registered.");e.plugin.applyArabicShaping=t.applyArabicShaping,e.plugin.processBidirectionalText=t.processBidirectionalText,e.plugin.processStyledBidirectionalText=t.processStyledBidirectionalText}};return Me.prototype.setReferrer=function(e,t){this.referrer=t},Me.prototype.setImages=function(e,t,n){for(var r in this.availableImages[e]=t,this.workerSources[e]){var o=this.workerSources[e][r];for(var i in o)o[i].availableImages=t}n()},Me.prototype.setLayers=function(e,t,n){this.getLayerIndex(e).replace(t),n()},Me.prototype.updateLayers=function(e,t,n){this.getLayerIndex(e).update(t.layers,t.removedIds),n()},Me.prototype.loadTile=function(e,t,n){this.getWorkerSource(e,t.type,t.source).loadTile(t,n)},Me.prototype.loadDEMTile=function(e,t,n){this.getDEMWorkerSource(e,t.source).loadTile(t,n)},Me.prototype.reloadTile=function(e,t,n){this.getWorkerSource(e,t.type,t.source).reloadTile(t,n)},Me.prototype.abortTile=function(e,t,n){this.getWorkerSource(e,t.type,t.source).abortTile(t,n)},Me.prototype.removeTile=function(e,t,n){this.getWorkerSource(e,t.type,t.source).removeTile(t,n)},Me.prototype.removeDEMTile=function(e,t){this.getDEMWorkerSource(e,t.source).removeTile(t)},Me.prototype.removeSource=function(e,t,n){if(this.workerSources[e]&&this.workerSources[e][t.type]&&this.workerSources[e][t.type][t.source]){var r=this.workerSources[e][t.type][t.source];delete this.workerSources[e][t.type][t.source],void 0!==r.removeSource?r.removeSource(t,n):n()}},Me.prototype.loadWorkerSource=function(e,t,n){try{this.self.importScripts(t.url),n()}catch(e){n(e.toString())}},Me.prototype.syncRTLPluginState=function(t,n,r){try{e.plugin.setState(n);var o=e.plugin.getPluginURL();if(e.plugin.isLoaded()&&!e.plugin.isParsed()&&null!=o){this.self.importScripts(o);var i=e.plugin.isParsed();r(i?void 0:new Error("RTL Text Plugin failed to import scripts from "+o),i)}}catch(e){r(e.toString())}},Me.prototype.getAvailableImages=function(e){var t=this.availableImages[e];return t||(t=[]),t},Me.prototype.getLayerIndex=function(e){var t=this.layerIndexes[e];return t||(t=this.layerIndexes[e]=new r),t},Me.prototype.getWorkerSource=function(e,t,n){var r=this;return this.workerSources[e]||(this.workerSources[e]={}),this.workerSources[e][t]||(this.workerSources[e][t]={}),this.workerSources[e][t][n]||(this.workerSources[e][t][n]=new this.workerSourceTypes[t]({send:function(t,n,o){r.actor.send(t,n,o,e)}},this.getLayerIndex(e),this.getAvailableImages(e))),this.workerSources[e][t][n]},Me.prototype.getDEMWorkerSource=function(e,t){return this.demWorkerSources[e]||(this.demWorkerSources[e]={}),this.demWorkerSources[e][t]||(this.demWorkerSources[e][t]=new u),this.demWorkerSources[e][t]},Me.prototype.enforceCacheSizeLimit=function(t,n){e.enforceCacheSizeLimit(n)},"undefined"!=typeof WorkerGlobalScope&&"undefined"!=typeof self&&self instanceof WorkerGlobalScope&&(self.worker=new Me(self)),Me})),r(["./shared"],(function(e){var t=e.createCommonjsModule((function(e){function t(e){return!n(e)}function n(e){return"undefined"==typeof window||"undefined"==typeof document?"not a browser":Array.prototype&&Array.prototype.every&&Array.prototype.filter&&Array.prototype.forEach&&Array.prototype.indexOf&&Array.prototype.lastIndexOf&&Array.prototype.map&&Array.prototype.some&&Array.prototype.reduce&&Array.prototype.reduceRight&&Array.isArray?Function.prototype&&Function.prototype.bind?Object.keys&&Object.create&&Object.getPrototypeOf&&Object.getOwnPropertyNames&&Object.isSealed&&Object.isFrozen&&Object.isExtensible&&Object.getOwnPropertyDescriptor&&Object.defineProperty&&Object.defineProperties&&Object.seal&&Object.freeze&&Object.preventExtensions?"JSON"in window&&"parse"in JSON&&"stringify"in JSON?function(){if(!("Worker"in window&&"Blob"in window&&"URL"in window))return!1;var e,t,n=new Blob([""],{type:"text/javascript"}),r=URL.createObjectURL(n);try{t=new Worker(r),e=!0}catch(t){e=!1}return t&&t.terminate(),URL.revokeObjectURL(r),e}()?"Uint8ClampedArray"in window?ArrayBuffer.isView?function(){var e=document.createElement("canvas");e.width=e.height=1;var t=e.getContext("2d");if(!t)return!1;var n=t.getImageData(0,0,1,1);return n&&n.width===e.width}()?(void 0===r[n=e&&e.failIfMajorPerformanceCaveat]&&(r[n]=function(e){var n=function(e){var n=document.createElement("canvas"),r=Object.create(t.webGLContextAttributes);return r.failIfMajorPerformanceCaveat=e,n.probablySupportsContext?n.probablySupportsContext("webgl",r)||n.probablySupportsContext("experimental-webgl",r):n.supportsContext?n.supportsContext("webgl",r)||n.supportsContext("experimental-webgl",r):n.getContext("webgl",r)||n.getContext("experimental-webgl",r)}(e);if(!n)return!1;var r=n.createShader(n.VERTEX_SHADER);return!(!r||n.isContextLost())&&(n.shaderSource(r,"void main() {}"),n.compileShader(r),!0===n.getShaderParameter(r,n.COMPILE_STATUS))}(n)),r[n]?void 0:"insufficient WebGL support"):"insufficient Canvas/getImageData support":"insufficient ArrayBuffer support":"insufficient Uint8ClampedArray support":"insufficient worker support":"insufficient JSON support":"insufficient Object support":"insufficient Function support":"insufficent Array support";var n}e.exports?e.exports=t:window&&(window.mapboxgl=window.mapboxgl||{},window.mapboxgl.supported=t,window.mapboxgl.notSupportedReason=n);var r={};t.webGLContextAttributes={antialias:!1,alpha:!0,stencil:!0,depth:!0}})),n={create:function(t,n,r){var o=e.window.document.createElement(t);return void 0!==n&&(o.className=n),r&&r.appendChild(o),o},createNS:function(t,n){return e.window.document.createElementNS(t,n)}},r=e.window.document&&e.window.document.documentElement.style;function o(e){if(!r)return e[0];for(var t=0;t<e.length;t++)if(e[t]in r)return e[t];return e[0]}var i,a=o(["userSelect","MozUserSelect","WebkitUserSelect","msUserSelect"]);n.disableDrag=function(){r&&a&&(i=r[a],r[a]="none")},n.enableDrag=function(){r&&a&&(r[a]=i)};var s=o(["transform","WebkitTransform"]);n.setTransform=function(e,t){e.style[s]=t};var l=!1;try{var c=Object.defineProperty({},"passive",{get:function(){l=!0}});e.window.addEventListener("test",c,c),e.window.removeEventListener("test",c,c)}catch(e){l=!1}n.addEventListener=function(e,t,n,r){void 0===r&&(r={}),e.addEventListener(t,n,"passive"in r&&l?r:r.capture)},n.removeEventListener=function(e,t,n,r){void 0===r&&(r={}),e.removeEventListener(t,n,"passive"in r&&l?r:r.capture)};var u=function t(n){n.preventDefault(),n.stopPropagation(),e.window.removeEventListener("click",t,!0)};function d(e){var t=e.userImage;return!!(t&&t.render&&t.render())&&(e.data.replace(new Uint8Array(t.data.buffer)),!0)}n.suppressClick=function(){e.window.addEventListener("click",u,!0),e.window.setTimeout((function(){e.window.removeEventListener("click",u,!0)}),0)},n.mousePos=function(t,n){var r=t.getBoundingClientRect();return new e.Point(n.clientX-r.left-t.clientLeft,n.clientY-r.top-t.clientTop)},n.touchPos=function(t,n){for(var r=t.getBoundingClientRect(),o=[],i=0;i<n.length;i++)o.push(new e.Point(n[i].clientX-r.left-t.clientLeft,n[i].clientY-r.top-t.clientTop));return o},n.mouseButton=function(t){return void 0!==e.window.InstallTrigger&&2===t.button&&t.ctrlKey&&e.window.navigator.platform.toUpperCase().indexOf("MAC")>=0?0:t.button},n.remove=function(e){e.parentNode&&e.parentNode.removeChild(e)};var p=function(t){function n(){t.call(this),this.images={},this.updatedImages={},this.callbackDispatchedThisFrame={},this.loaded=!1,this.requestors=[],this.patterns={},this.atlasImage=new e.RGBAImage({width:1,height:1}),this.dirty=!0}return t&&(n.__proto__=t),(n.prototype=Object.create(t&&t.prototype)).constructor=n,n.prototype.isLoaded=function(){return this.loaded},n.prototype.setLoaded=function(e){if(this.loaded!==e&&(this.loaded=e,e)){for(var t=0,n=this.requestors;t<n.length;t+=1){var r=n[t];this._notify(r.ids,r.callback)}this.requestors=[]}},n.prototype.getImage=function(e){return this.images[e]},n.prototype.addImage=function(e,t){this._validate(e,t)&&(this.images[e]=t)},n.prototype._validate=function(t,n){var r=!0;return this._validateStretch(n.stretchX,n.data&&n.data.width)||(this.fire(new e.ErrorEvent(new Error('Image "'+t+'" has invalid "stretchX" value'))),r=!1),this._validateStretch(n.stretchY,n.data&&n.data.height)||(this.fire(new e.ErrorEvent(new Error('Image "'+t+'" has invalid "stretchY" value'))),r=!1),this._validateContent(n.content,n)||(this.fire(new e.ErrorEvent(new Error('Image "'+t+'" has invalid "content" value'))),r=!1),r},n.prototype._validateStretch=function(e,t){if(!e)return!0;for(var n=0,r=0,o=e;r<o.length;r+=1){var i=o[r];if(i[0]<n||i[1]<i[0]||t<i[1])return!1;n=i[1]}return!0},n.prototype._validateContent=function(e,t){return!(e&&(4!==e.length||e[0]<0||t.data.width<e[0]||e[1]<0||t.data.height<e[1]||e[2]<0||t.data.width<e[2]||e[3]<0||t.data.height<e[3]||e[2]<e[0]||e[3]<e[1]))},n.prototype.updateImage=function(e,t){t.version=this.images[e].version+1,this.images[e]=t,this.updatedImages[e]=!0},n.prototype.removeImage=function(e){var t=this.images[e];delete this.images[e],delete this.patterns[e],t.userImage&&t.userImage.onRemove&&t.userImage.onRemove()},n.prototype.listImages=function(){return Object.keys(this.images)},n.prototype.getImages=function(e,t){var n=!0;if(!this.isLoaded())for(var r=0,o=e;r<o.length;r+=1)this.images[o[r]]||(n=!1);this.isLoaded()||n?this._notify(e,t):this.requestors.push({ids:e,callback:t})},n.prototype._notify=function(t,n){for(var r={},o=0,i=t;o<i.length;o+=1){var a=i[o];this.images[a]||this.fire(new e.Event("styleimagemissing",{id:a}));var s=this.images[a];s?r[a]={data:s.data.clone(),pixelRatio:s.pixelRatio,sdf:s.sdf,version:s.version,stretchX:s.stretchX,stretchY:s.stretchY,content:s.content,hasRenderCallback:Boolean(s.userImage&&s.userImage.render)}:e.warnOnce('Image "'+a+'" could not be loaded. Please make sure you have added the image with map.addImage() or a "sprite" property in your style. You can provide missing images by listening for the "styleimagemissing" map event.')}n(null,r)},n.prototype.getPixelSize=function(){var e=this.atlasImage;return{width:e.width,height:e.height}},n.prototype.getPattern=function(t){var n=this.patterns[t],r=this.getImage(t);if(!r)return null;if(n&&n.position.version===r.version)return n.position;if(n)n.position.version=r.version;else{var o={w:r.data.width+2,h:r.data.height+2,x:0,y:0},i=new e.ImagePosition(o,r);this.patterns[t]={bin:o,position:i}}return this._updatePatternAtlas(),this.patterns[t].position},n.prototype.bind=function(t){var n=t.gl;this.atlasTexture?this.dirty&&(this.atlasTexture.update(this.atlasImage),this.dirty=!1):this.atlasTexture=new e.Texture(t,this.atlasImage,n.RGBA),this.atlasTexture.bind(n.LINEAR,n.CLAMP_TO_EDGE)},n.prototype._updatePatternAtlas=function(){var t=[];for(var n in this.patterns)t.push(this.patterns[n].bin);var r=e.potpack(t),o=r.w,i=r.h,a=this.atlasImage;for(var s in a.resize({width:o||1,height:i||1}),this.patterns){var l=this.patterns[s].bin,c=l.x+1,u=l.y+1,d=this.images[s].data,p=d.width,f=d.height;e.RGBAImage.copy(d,a,{x:0,y:0},{x:c,y:u},{width:p,height:f}),e.RGBAImage.copy(d,a,{x:0,y:f-1},{x:c,y:u-1},{width:p,height:1}),e.RGBAImage.copy(d,a,{x:0,y:0},{x:c,y:u+f},{width:p,height:1}),e.RGBAImage.copy(d,a,{x:p-1,y:0},{x:c-1,y:u},{width:1,height:f}),e.RGBAImage.copy(d,a,{x:0,y:0},{x:c+p,y:u},{width:1,height:f})}this.dirty=!0},n.prototype.beginFrame=function(){this.callbackDispatchedThisFrame={}},n.prototype.dispatchRenderCallbacks=function(e){for(var t=0,n=e;t<n.length;t+=1){var r=n[t];if(!this.callbackDispatchedThisFrame[r]){this.callbackDispatchedThisFrame[r]=!0;var o=this.images[r];d(o)&&this.updateImage(r,o)}}},n}(e.Evented),f=A,h=A,b=1e20;function A(e,t,n,r,o,i){this.fontSize=e||24,this.buffer=void 0===t?3:t,this.cutoff=r||.25,this.fontFamily=o||"sans-serif",this.fontWeight=i||"normal",this.radius=n||8;var a=this.size=this.fontSize+2*this.buffer;this.canvas=document.createElement("canvas"),this.canvas.width=this.canvas.height=a,this.ctx=this.canvas.getContext("2d"),this.ctx.font=this.fontWeight+" "+this.fontSize+"px "+this.fontFamily,this.ctx.textBaseline="middle",this.ctx.fillStyle="black",this.gridOuter=new Float64Array(a*a),this.gridInner=new Float64Array(a*a),this.f=new Float64Array(a),this.d=new Float64Array(a),this.z=new Float64Array(a+1),this.v=new Int16Array(a),this.middle=Math.round(a/2*(navigator.userAgent.indexOf("Gecko/")>=0?1.2:1))}function m(e,t,n,r,o,i,a){for(var s=0;s<t;s++){for(var l=0;l<n;l++)r[l]=e[l*t+s];for(g(r,o,i,a,n),l=0;l<n;l++)e[l*t+s]=o[l]}for(l=0;l<n;l++){for(s=0;s<t;s++)r[s]=e[l*t+s];for(g(r,o,i,a,t),s=0;s<t;s++)e[l*t+s]=Math.sqrt(o[s])}}function g(e,t,n,r,o){n[0]=0,r[0]=-b,r[1]=+b;for(var i=1,a=0;i<o;i++){for(var s=(e[i]+i*i-(e[n[a]]+n[a]*n[a]))/(2*i-2*n[a]);s<=r[a];)a--,s=(e[i]+i*i-(e[n[a]]+n[a]*n[a]))/(2*i-2*n[a]);n[++a]=i,r[a]=s,r[a+1]=+b}for(i=0,a=0;i<o;i++){for(;r[a+1]<i;)a++;t[i]=(i-n[a])*(i-n[a])+e[n[a]]}}A.prototype.draw=function(e){this.ctx.clearRect(0,0,this.size,this.size),this.ctx.fillText(e,this.buffer,this.middle);for(var t=this.ctx.getImageData(0,0,this.size,this.size),n=new Uint8ClampedArray(this.size*this.size),r=0;r<this.size*this.size;r++){var o=t.data[4*r+3]/255;this.gridOuter[r]=1===o?0:0===o?b:Math.pow(Math.max(0,.5-o),2),this.gridInner[r]=1===o?b:0===o?0:Math.pow(Math.max(0,o-.5),2)}for(m(this.gridOuter,this.size,this.size,this.f,this.d,this.v,this.z),m(this.gridInner,this.size,this.size,this.f,this.d,this.v,this.z),r=0;r<this.size*this.size;r++)n[r]=Math.max(0,Math.min(255,Math.round(255-255*((this.gridOuter[r]-this.gridInner[r])/this.radius+this.cutoff))));return n},f.default=h;var v=function(e,t){this.requestManager=e,this.localIdeographFontFamily=t,this.entries={}};v.prototype.setURL=function(e){this.url=e},v.prototype.getGlyphs=function(t,n){var r=this,o=[];for(var i in t)for(var a=0,s=t[i];a<s.length;a+=1)o.push({stack:i,id:s[a]});e.asyncAll(o,(function(e,t){var n=e.stack,o=e.id,i=r.entries[n];i||(i=r.entries[n]={glyphs:{},requests:{},ranges:{}});var a=i.glyphs[o];if(void 0===a){if(a=r._tinySDF(i,n,o))return i.glyphs[o]=a,void t(null,{stack:n,id:o,glyph:a});var s=Math.floor(o/256);if(256*s>65535)t(new Error("glyphs > 65535 not supported"));else if(i.ranges[s])t(null,{stack:n,id:o,glyph:a});else{var l=i.requests[s];l||(l=i.requests[s]=[],v.loadGlyphRange(n,s,r.url,r.requestManager,(function(e,t){if(t){for(var n in t)r._doesCharSupportLocalGlyph(+n)||(i.glyphs[+n]=t[+n]);i.ranges[s]=!0}for(var o=0,a=l;o<a.length;o+=1)(0,a[o])(e,t);delete i.requests[s]}))),l.push((function(e,r){e?t(e):r&&t(null,{stack:n,id:o,glyph:r[o]||null})}))}}else t(null,{stack:n,id:o,glyph:a})}),(function(e,t){if(e)n(e);else if(t){for(var r={},o=0,i=t;o<i.length;o+=1){var a=i[o],s=a.stack,l=a.id,c=a.glyph;(r[s]||(r[s]={}))[l]=c&&{id:c.id,bitmap:c.bitmap.clone(),metrics:c.metrics}}n(null,r)}}))},v.prototype._doesCharSupportLocalGlyph=function(t){return!!this.localIdeographFontFamily&&(e.isChar["CJK Unified Ideographs"](t)||e.isChar["Hangul Syllables"](t)||e.isChar.Hiragana(t)||e.isChar.Katakana(t))},v.prototype._tinySDF=function(t,n,r){var o=this.localIdeographFontFamily;if(o&&this._doesCharSupportLocalGlyph(r)){var i=t.tinySDF;if(!i){var a="400";/bold/i.test(n)?a="900":/medium/i.test(n)?a="500":/light/i.test(n)&&(a="200"),i=t.tinySDF=new v.TinySDF(24,3,8,.25,o,a)}return{id:r,bitmap:new e.AlphaImage({width:30,height:30},i.draw(String.fromCharCode(r))),metrics:{width:24,height:24,left:0,top:-8,advance:24}}}},v.loadGlyphRange=function(t,n,r,o,i){var a=256*n,s=a+255,l=o.transformRequest(o.normalizeGlyphsURL(r).replace("{fontstack}",t).replace("{range}",a+"-"+s),e.ResourceType.Glyphs);e.getArrayBuffer(l,(function(t,n){if(t)i(t);else if(n){for(var r={},o=0,a=e.parseGlyphPBF(n);o<a.length;o+=1){var s=a[o];r[s.id]=s}i(null,r)}}))},v.TinySDF=f;var y=function(){this.specification=e.styleSpec.light.position};y.prototype.possiblyEvaluate=function(t,n){return e.sphericalToCartesian(t.expression.evaluate(n))},y.prototype.interpolate=function(t,n,r){return{x:e.number(t.x,n.x,r),y:e.number(t.y,n.y,r),z:e.number(t.z,n.z,r)}};var M=new e.Properties({anchor:new e.DataConstantProperty(e.styleSpec.light.anchor),position:new y,color:new e.DataConstantProperty(e.styleSpec.light.color),intensity:new e.DataConstantProperty(e.styleSpec.light.intensity)}),O=function(t){function n(n){t.call(this),this._transitionable=new e.Transitionable(M),this.setLight(n),this._transitioning=this._transitionable.untransitioned()}return t&&(n.__proto__=t),(n.prototype=Object.create(t&&t.prototype)).constructor=n,n.prototype.getLight=function(){return this._transitionable.serialize()},n.prototype.setLight=function(t,n){if(void 0===n&&(n={}),!this._validate(e.validateLight,t,n))for(var r in t){var o=t[r];e.endsWith(r,"-transition")?this._transitionable.setTransition(r.slice(0,-"-transition".length),o):this._transitionable.setValue(r,o)}},n.prototype.updateTransitions=function(e){this._transitioning=this._transitionable.transitioned(e,this._transitioning)},n.prototype.hasTransition=function(){return this._transitioning.hasTransition()},n.prototype.recalculate=function(e){this.properties=this._transitioning.possiblyEvaluate(e)},n.prototype._validate=function(t,n,r){return(!r||!1!==r.validate)&&e.emitValidationErrors(this,t.call(e.validateStyle,e.extend({value:n,style:{glyphs:!0,sprite:!0},styleSpec:e.styleSpec})))},n}(e.Evented),_=function(e,t){this.width=e,this.height=t,this.nextRow=0,this.data=new Uint8Array(this.width*this.height),this.dashEntry={}};_.prototype.getDash=function(e,t){var n=e.join(",")+String(t);return this.dashEntry[n]||(this.dashEntry[n]=this.addDash(e,t)),this.dashEntry[n]},_.prototype.getDashRanges=function(e,t,n){var r=[],o=e.length%2==1?-e[e.length-1]*n:0,i=e[0]*n,a=!0;r.push({left:o,right:i,isDash:a,zeroLength:0===e[0]});for(var s=e[0],l=1;l<e.length;l++){var c=e[l];r.push({left:o=s*n,right:i=(s+=c)*n,isDash:a=!a,zeroLength:0===c})}return r},_.prototype.addRoundDash=function(e,t,n){for(var r=t/2,o=-n;o<=n;o++)for(var i=this.width*(this.nextRow+n+o),a=0,s=e[a],l=0;l<this.width;l++){l/s.right>1&&(s=e[++a]);var c=Math.abs(l-s.left),u=Math.abs(l-s.right),d=Math.min(c,u),p=void 0,f=o/n*(r+1);if(s.isDash){var h=r-Math.abs(f);p=Math.sqrt(d*d+h*h)}else p=r-Math.sqrt(d*d+f*f);this.data[i+l]=Math.max(0,Math.min(255,p+128))}},_.prototype.addRegularDash=function(e){for(var t=e.length-1;t>=0;--t){var n=e[t],r=e[t+1];n.zeroLength?e.splice(t,1):r&&r.isDash===n.isDash&&(r.left=n.left,e.splice(t,1))}var o=e[0],i=e[e.length-1];o.isDash===i.isDash&&(o.left=i.left-this.width,i.right=o.right+this.width);for(var a=this.width*this.nextRow,s=0,l=e[s],c=0;c<this.width;c++){c/l.right>1&&(l=e[++s]);var u=Math.abs(c-l.left),d=Math.abs(c-l.right),p=Math.min(u,d);this.data[a+c]=Math.max(0,Math.min(255,(l.isDash?p:-p)+128))}},_.prototype.addDash=function(t,n){var r=n?7:0,o=2*r+1;if(this.nextRow+o>this.height)return e.warnOnce("LineAtlas out of space"),null;for(var i=0,a=0;a<t.length;a++)i+=t[a];if(0!==i){var s=this.width/i,l=this.getDashRanges(t,this.width,s);n?this.addRoundDash(l,s,r):this.addRegularDash(l)}var c={y:(this.nextRow+r+.5)/this.height,height:2*r/this.height,width:i};return this.nextRow+=o,this.dirty=!0,c},_.prototype.bind=function(e){var t=e.gl;this.texture?(t.bindTexture(t.TEXTURE_2D,this.texture),this.dirty&&(this.dirty=!1,t.texSubImage2D(t.TEXTURE_2D,0,0,0,this.width,this.height,t.ALPHA,t.UNSIGNED_BYTE,this.data))):(this.texture=t.createTexture(),t.bindTexture(t.TEXTURE_2D,this.texture),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_S,t.REPEAT),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_T,t.REPEAT),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MIN_FILTER,t.LINEAR),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MAG_FILTER,t.LINEAR),t.texImage2D(t.TEXTURE_2D,0,t.ALPHA,this.width,this.height,0,t.ALPHA,t.UNSIGNED_BYTE,this.data))};var z=function t(n,r){this.workerPool=n,this.actors=[],this.currentActor=0,this.id=e.uniqueId();for(var o=this.workerPool.acquire(this.id),i=0;i<o.length;i++){var a=new t.Actor(o[i],r,this.id);a.name="Worker "+i,this.actors.push(a)}};function x(t,n,r){var o=function(o,i){if(o)return r(o);if(i){var a=e.pick(e.extend(i,t),["tiles","minzoom","maxzoom","attribution","mapbox_logo","bounds","scheme","tileSize","encoding"]);i.vector_layers&&(a.vectorLayers=i.vector_layers,a.vectorLayerIds=a.vectorLayers.map((function(e){return e.id}))),a.tiles=n.canonicalizeTileset(a,t.url),r(null,a)}};return t.url?e.getJSON(n.transformRequest(n.normalizeSourceURL(t.url),e.ResourceType.Source),o):e.browser.frame((function(){return o(null,t)}))}z.prototype.broadcast=function(t,n,r){e.asyncAll(this.actors,(function(e,r){e.send(t,n,r)}),r=r||function(){})},z.prototype.getActor=function(){return this.currentActor=(this.currentActor+1)%this.actors.length,this.actors[this.currentActor]},z.prototype.remove=function(){this.actors.forEach((function(e){e.remove()})),this.actors=[],this.workerPool.release(this.id)},z.Actor=e.Actor;var w=function(t,n,r){this.bounds=e.LngLatBounds.convert(this.validateBounds(t)),this.minzoom=n||0,this.maxzoom=r||24};w.prototype.validateBounds=function(e){return Array.isArray(e)&&4===e.length?[Math.max(-180,e[0]),Math.max(-90,e[1]),Math.min(180,e[2]),Math.min(90,e[3])]:[-180,-90,180,90]},w.prototype.contains=function(t){var n=Math.pow(2,t.z),r=Math.floor(e.mercatorXfromLng(this.bounds.getWest())*n),o=Math.floor(e.mercatorYfromLat(this.bounds.getNorth())*n),i=Math.ceil(e.mercatorXfromLng(this.bounds.getEast())*n),a=Math.ceil(e.mercatorYfromLat(this.bounds.getSouth())*n);return t.x>=r&&t.x<i&&t.y>=o&&t.y<a};var C=function(t){function n(n,r,o,i){if(t.call(this),this.id=n,this.dispatcher=o,this.type="vector",this.minzoom=0,this.maxzoom=22,this.scheme="xyz",this.tileSize=512,this.reparseOverscaled=!0,this.isTileClipped=!0,this._loaded=!1,e.extend(this,e.pick(r,["url","scheme","tileSize","promoteId"])),this._options=e.extend({type:"vector"},r),this._collectResourceTiming=r.collectResourceTiming,512!==this.tileSize)throw new Error("vector tile sources must have a tileSize of 512");this.setEventedParent(i)}return t&&(n.__proto__=t),(n.prototype=Object.create(t&&t.prototype)).constructor=n,n.prototype.load=function(){var t=this;this._loaded=!1,this.fire(new e.Event("dataloading",{dataType:"source"})),this._tileJSONRequest=x(this._options,this.map._requestManager,(function(n,r){t._tileJSONRequest=null,t._loaded=!0,n?t.fire(new e.ErrorEvent(n)):r&&(e.extend(t,r),r.bounds&&(t.tileBounds=new w(r.bounds,t.minzoom,t.maxzoom)),e.postTurnstileEvent(r.tiles,t.map._requestManager._customAccessToken),e.postMapLoadEvent(r.tiles,t.map._getMapId(),t.map._requestManager._skuToken,t.map._requestManager._customAccessToken),t.fire(new e.Event("data",{dataType:"source",sourceDataType:"metadata"})),t.fire(new e.Event("data",{dataType:"source",sourceDataType:"content"})))}))},n.prototype.loaded=function(){return this._loaded},n.prototype.hasTile=function(e){return!this.tileBounds||this.tileBounds.contains(e.canonical)},n.prototype.onAdd=function(e){this.map=e,this.load()},n.prototype.setSourceProperty=function(e){this._tileJSONRequest&&this._tileJSONRequest.cancel(),e(),this.map.style.sourceCaches[this.id].clearTiles(),this.load()},n.prototype.setTiles=function(e){var t=this;return this.setSourceProperty((function(){t._options.tiles=e})),this},n.prototype.setUrl=function(e){var t=this;return this.setSourceProperty((function(){t.url=e,t._options.url=e})),this},n.prototype.onRemove=function(){this._tileJSONRequest&&(this._tileJSONRequest.cancel(),this._tileJSONRequest=null)},n.prototype.serialize=function(){return e.extend({},this._options)},n.prototype.loadTile=function(t,n){var r=this.map._requestManager.normalizeTileURL(t.tileID.canonical.url(this.tiles,this.scheme)),o={request:this.map._requestManager.transformRequest(r,e.ResourceType.Tile),uid:t.uid,tileID:t.tileID,zoom:t.tileID.overscaledZ,tileSize:this.tileSize*t.tileID.overscaleFactor(),type:this.type,source:this.id,pixelRatio:e.browser.devicePixelRatio,showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId};function i(r,o){return delete t.request,t.aborted?n(null):r&&404!==r.status?n(r):(o&&o.resourceTiming&&(t.resourceTiming=o.resourceTiming),this.map._refreshExpiredTiles&&o&&t.setExpiryData(o),t.loadVectorData(o,this.map.painter),e.cacheEntryPossiblyAdded(this.dispatcher),n(null),void(t.reloadCallback&&(this.loadTile(t,t.reloadCallback),t.reloadCallback=null)))}o.request.collectResourceTiming=this._collectResourceTiming,t.actor&&"expired"!==t.state?"loading"===t.state?t.reloadCallback=n:t.request=t.actor.send("reloadTile",o,i.bind(this)):(t.actor=this.dispatcher.getActor(),t.request=t.actor.send("loadTile",o,i.bind(this)))},n.prototype.abortTile=function(e){e.request&&(e.request.cancel(),delete e.request),e.actor&&e.actor.send("abortTile",{uid:e.uid,type:this.type,source:this.id},void 0)},n.prototype.unloadTile=function(e){e.unloadVectorData(),e.actor&&e.actor.send("removeTile",{uid:e.uid,type:this.type,source:this.id},void 0)},n.prototype.hasTransition=function(){return!1},n}(e.Evented),S=function(t){function n(n,r,o,i){t.call(this),this.id=n,this.dispatcher=o,this.setEventedParent(i),this.type="raster",this.minzoom=0,this.maxzoom=22,this.roundZoom=!0,this.scheme="xyz",this.tileSize=512,this._loaded=!1,this._options=e.extend({type:"raster"},r),e.extend(this,e.pick(r,["url","scheme","tileSize"]))}return t&&(n.__proto__=t),(n.prototype=Object.create(t&&t.prototype)).constructor=n,n.prototype.load=function(){var t=this;this._loaded=!1,this.fire(new e.Event("dataloading",{dataType:"source"})),this._tileJSONRequest=x(this._options,this.map._requestManager,(function(n,r){t._tileJSONRequest=null,t._loaded=!0,n?t.fire(new e.ErrorEvent(n)):r&&(e.extend(t,r),r.bounds&&(t.tileBounds=new w(r.bounds,t.minzoom,t.maxzoom)),e.postTurnstileEvent(r.tiles),e.postMapLoadEvent(r.tiles,t.map._getMapId(),t.map._requestManager._skuToken),t.fire(new e.Event("data",{dataType:"source",sourceDataType:"metadata"})),t.fire(new e.Event("data",{dataType:"source",sourceDataType:"content"})))}))},n.prototype.loaded=function(){return this._loaded},n.prototype.onAdd=function(e){this.map=e,this.load()},n.prototype.onRemove=function(){this._tileJSONRequest&&(this._tileJSONRequest.cancel(),this._tileJSONRequest=null)},n.prototype.serialize=function(){return e.extend({},this._options)},n.prototype.hasTile=function(e){return!this.tileBounds||this.tileBounds.contains(e.canonical)},n.prototype.loadTile=function(t,n){var r=this,o=this.map._requestManager.normalizeTileURL(t.tileID.canonical.url(this.tiles,this.scheme),this.tileSize);t.request=e.getImage(this.map._requestManager.transformRequest(o,e.ResourceType.Tile),(function(o,i){if(delete t.request,t.aborted)t.state="unloaded",n(null);else if(o)t.state="errored",n(o);else if(i){r.map._refreshExpiredTiles&&t.setExpiryData(i),delete i.cacheControl,delete i.expires;var a=r.map.painter.context,s=a.gl;t.texture=r.map.painter.getTileTexture(i.width),t.texture?t.texture.update(i,{useMipmap:!0}):(t.texture=new e.Texture(a,i,s.RGBA,{useMipmap:!0}),t.texture.bind(s.LINEAR,s.CLAMP_TO_EDGE,s.LINEAR_MIPMAP_NEAREST),a.extTextureFilterAnisotropic&&s.texParameterf(s.TEXTURE_2D,a.extTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT,a.extTextureFilterAnisotropicMax)),t.state="loaded",e.cacheEntryPossiblyAdded(r.dispatcher),n(null)}}))},n.prototype.abortTile=function(e,t){e.request&&(e.request.cancel(),delete e.request),t()},n.prototype.unloadTile=function(e,t){e.texture&&this.map.painter.saveTileTexture(e.texture),t()},n.prototype.hasTransition=function(){return!1},n}(e.Evented),E=function(t){function n(n,r,o,i){t.call(this,n,r,o,i),this.type="raster-dem",this.maxzoom=22,this._options=e.extend({type:"raster-dem"},r),this.encoding=r.encoding||"mapbox"}return t&&(n.__proto__=t),(n.prototype=Object.create(t&&t.prototype)).constructor=n,n.prototype.serialize=function(){return{type:"raster-dem",url:this.url,tileSize:this.tileSize,tiles:this.tiles,bounds:this.bounds,encoding:this.encoding}},n.prototype.loadTile=function(t,n){var r=this.map._requestManager.normalizeTileURL(t.tileID.canonical.url(this.tiles,this.scheme),this.tileSize);function o(e,r){e&&(t.state="errored",n(e)),r&&(t.dem=r,t.needsHillshadePrepare=!0,t.state="loaded",n(null))}t.request=e.getImage(this.map._requestManager.transformRequest(r,e.ResourceType.Tile),function(r,i){if(delete t.request,t.aborted)t.state="unloaded",n(null);else if(r)t.state="errored",n(r);else if(i){this.map._refreshExpiredTiles&&t.setExpiryData(i),delete i.cacheControl,delete i.expires;var a=e.window.ImageBitmap&&i instanceof e.window.ImageBitmap&&e.offscreenCanvasSupported()?i:e.browser.getImageData(i,1),s={uid:t.uid,coord:t.tileID,source:this.id,rawImageData:a,encoding:this.encoding};t.actor&&"expired"!==t.state||(t.actor=this.dispatcher.getActor(),t.actor.send("loadDEMTile",s,o.bind(this)))}}.bind(this)),t.neighboringTiles=this._getNeighboringTiles(t.tileID)},n.prototype._getNeighboringTiles=function(t){var n=t.canonical,r=Math.pow(2,n.z),o=(n.x-1+r)%r,i=0===n.x?t.wrap-1:t.wrap,a=(n.x+1+r)%r,s=n.x+1===r?t.wrap+1:t.wrap,l={};return l[new e.OverscaledTileID(t.overscaledZ,i,n.z,o,n.y).key]={backfilled:!1},l[new e.OverscaledTileID(t.overscaledZ,s,n.z,a,n.y).key]={backfilled:!1},n.y>0&&(l[new e.OverscaledTileID(t.overscaledZ,i,n.z,o,n.y-1).key]={backfilled:!1},l[new e.OverscaledTileID(t.overscaledZ,t.wrap,n.z,n.x,n.y-1).key]={backfilled:!1},l[new e.OverscaledTileID(t.overscaledZ,s,n.z,a,n.y-1).key]={backfilled:!1}),n.y+1<r&&(l[new e.OverscaledTileID(t.overscaledZ,i,n.z,o,n.y+1).key]={backfilled:!1},l[new e.OverscaledTileID(t.overscaledZ,t.wrap,n.z,n.x,n.y+1).key]={backfilled:!1},l[new e.OverscaledTileID(t.overscaledZ,s,n.z,a,n.y+1).key]={backfilled:!1}),l},n.prototype.unloadTile=function(e){e.demTexture&&this.map.painter.saveTileTexture(e.demTexture),e.fbo&&(e.fbo.destroy(),delete e.fbo),e.dem&&delete e.dem,delete e.neighboringTiles,e.state="unloaded",e.actor&&e.actor.send("removeDEMTile",{uid:e.uid,source:this.id})},n}(S),k=function(t){function n(n,r,o,i){t.call(this),this.id=n,this.type="geojson",this.minzoom=0,this.maxzoom=18,this.tileSize=512,this.isTileClipped=!0,this.reparseOverscaled=!0,this._removed=!1,this._loaded=!1,this.actor=o.getActor(),this.setEventedParent(i),this._data=r.data,this._options=e.extend({},r),this._collectResourceTiming=r.collectResourceTiming,this._resourceTiming=[],void 0!==r.maxzoom&&(this.maxzoom=r.maxzoom),r.type&&(this.type=r.type),r.attribution&&(this.attribution=r.attribution),this.promoteId=r.promoteId;var a=e.EXTENT/this.tileSize;this.workerOptions=e.extend({source:this.id,cluster:r.cluster||!1,geojsonVtOptions:{buffer:(void 0!==r.buffer?r.buffer:128)*a,tolerance:(void 0!==r.tolerance?r.tolerance:.375)*a,extent:e.EXTENT,maxZoom:this.maxzoom,lineMetrics:r.lineMetrics||!1,generateId:r.generateId||!1},superclusterOptions:{maxZoom:void 0!==r.clusterMaxZoom?Math.min(r.clusterMaxZoom,this.maxzoom-1):this.maxzoom-1,minPoints:Math.max(2,r.clusterMinPoints||2),extent:e.EXTENT,radius:(r.clusterRadius||50)*a,log:!1,generateId:r.generateId||!1},clusterProperties:r.clusterProperties,filter:r.filter},r.workerOptions)}return t&&(n.__proto__=t),(n.prototype=Object.create(t&&t.prototype)).constructor=n,n.prototype.load=function(){var t=this;this.fire(new e.Event("dataloading",{dataType:"source"})),this._updateWorkerData((function(n){if(n)t.fire(new e.ErrorEvent(n));else{var r={dataType:"source",sourceDataType:"metadata"};t._collectResourceTiming&&t._resourceTiming&&t._resourceTiming.length>0&&(r.resourceTiming=t._resourceTiming,t._resourceTiming=[]),t.fire(new e.Event("data",r))}}))},n.prototype.onAdd=function(e){this.map=e,this.load()},n.prototype.setData=function(t){var n=this;return this._data=t,this.fire(new e.Event("dataloading",{dataType:"source"})),this._updateWorkerData((function(t){if(t)n.fire(new e.ErrorEvent(t));else{var r={dataType:"source",sourceDataType:"content"};n._collectResourceTiming&&n._resourceTiming&&n._resourceTiming.length>0&&(r.resourceTiming=n._resourceTiming,n._resourceTiming=[]),n.fire(new e.Event("data",r))}})),this},n.prototype.getClusterExpansionZoom=function(e,t){return this.actor.send("geojson.getClusterExpansionZoom",{clusterId:e,source:this.id},t),this},n.prototype.getClusterChildren=function(e,t){return this.actor.send("geojson.getClusterChildren",{clusterId:e,source:this.id},t),this},n.prototype.getClusterLeaves=function(e,t,n,r){return this.actor.send("geojson.getClusterLeaves",{source:this.id,clusterId:e,limit:t,offset:n},r),this},n.prototype._updateWorkerData=function(t){var n=this;this._loaded=!1;var r=e.extend({},this.workerOptions),o=this._data;"string"==typeof o?(r.request=this.map._requestManager.transformRequest(e.browser.resolveURL(o),e.ResourceType.Source),r.request.collectResourceTiming=this._collectResourceTiming):r.data=JSON.stringify(o),this.actor.send(this.type+".loadData",r,(function(e,o){n._removed||o&&o.abandoned||(n._loaded=!0,o&&o.resourceTiming&&o.resourceTiming[n.id]&&(n._resourceTiming=o.resourceTiming[n.id].slice(0)),n.actor.send(n.type+".coalesce",{source:r.source},null),t(e))}))},n.prototype.loaded=function(){return this._loaded},n.prototype.loadTile=function(t,n){var r=this,o=t.actor?"reloadTile":"loadTile";t.actor=this.actor,t.request=this.actor.send(o,{type:this.type,uid:t.uid,tileID:t.tileID,zoom:t.tileID.overscaledZ,maxZoom:this.maxzoom,tileSize:this.tileSize,source:this.id,pixelRatio:e.browser.devicePixelRatio,showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId},(function(e,i){return delete t.request,t.unloadVectorData(),t.aborted?n(null):e?n(e):(t.loadVectorData(i,r.map.painter,"reloadTile"===o),n(null))}))},n.prototype.abortTile=function(e){e.request&&(e.request.cancel(),delete e.request),e.aborted=!0},n.prototype.unloadTile=function(e){e.unloadVectorData(),this.actor.send("removeTile",{uid:e.uid,type:this.type,source:this.id})},n.prototype.onRemove=function(){this._removed=!0,this.actor.send("removeSource",{type:this.type,source:this.id})},n.prototype.serialize=function(){return e.extend({},this._options,{type:this.type,data:this._data})},n.prototype.hasTransition=function(){return!1},n}(e.Evented),D=e.createLayout([{name:"a_pos",type:"Int16",components:2},{name:"a_texture_pos",type:"Int16",components:2}]),N=function(t){function n(e,n,r,o){t.call(this),this.id=e,this.dispatcher=r,this.coordinates=n.coordinates,this.type="image",this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.tiles={},this._loaded=!1,this.setEventedParent(o),this.options=n}return t&&(n.__proto__=t),(n.prototype=Object.create(t&&t.prototype)).constructor=n,n.prototype.load=function(t,n){var r=this;this._loaded=!1,this.fire(new e.Event("dataloading",{dataType:"source"})),this.url=this.options.url,e.getImage(this.map._requestManager.transformRequest(this.url,e.ResourceType.Image),(function(o,i){r._loaded=!0,o?r.fire(new e.ErrorEvent(o)):i&&(r.image=i,t&&(r.coordinates=t),n&&n(),r._finishLoading())}))},n.prototype.loaded=function(){return this._loaded},n.prototype.updateImage=function(e){var t=this;return this.image&&e.url?(this.options.url=e.url,this.load(e.coordinates,(function(){t.texture=null})),this):this},n.prototype._finishLoading=function(){this.map&&(this.setCoordinates(this.coordinates),this.fire(new e.Event("data",{dataType:"source",sourceDataType:"metadata"})))},n.prototype.onAdd=function(e){this.map=e,this.load()},n.prototype.setCoordinates=function(t){var n=this;this.coordinates=t;var r=t.map(e.MercatorCoordinate.fromLngLat);this.tileID=function(t){for(var n=1/0,r=1/0,o=-1/0,i=-1/0,a=0,s=t;a<s.length;a+=1){var l=s[a];n=Math.min(n,l.x),r=Math.min(r,l.y),o=Math.max(o,l.x),i=Math.max(i,l.y)}var c=Math.max(o-n,i-r),u=Math.max(0,Math.floor(-Math.log(c)/Math.LN2)),d=Math.pow(2,u);return new e.CanonicalTileID(u,Math.floor((n+o)/2*d),Math.floor((r+i)/2*d))}(r),this.minzoom=this.maxzoom=this.tileID.z;var o=r.map((function(e){return n.tileID.getTilePoint(e)._round()}));return this._boundsArray=new e.StructArrayLayout4i8,this._boundsArray.emplaceBack(o[0].x,o[0].y,0,0),this._boundsArray.emplaceBack(o[1].x,o[1].y,e.EXTENT,0),this._boundsArray.emplaceBack(o[3].x,o[3].y,0,e.EXTENT),this._boundsArray.emplaceBack(o[2].x,o[2].y,e.EXTENT,e.EXTENT),this.boundsBuffer&&(this.boundsBuffer.destroy(),delete this.boundsBuffer),this.fire(new e.Event("data",{dataType:"source",sourceDataType:"content"})),this},n.prototype.prepare=function(){if(0!==Object.keys(this.tiles).length&&this.image){var t=this.map.painter.context,n=t.gl;for(var r in this.boundsBuffer||(this.boundsBuffer=t.createVertexBuffer(this._boundsArray,D.members)),this.boundsSegments||(this.boundsSegments=e.SegmentVector.simpleSegment(0,0,4,2)),this.texture||(this.texture=new e.Texture(t,this.image,n.RGBA),this.texture.bind(n.LINEAR,n.CLAMP_TO_EDGE)),this.tiles){var o=this.tiles[r];"loaded"!==o.state&&(o.state="loaded",o.texture=this.texture)}}},n.prototype.loadTile=function(e,t){this.tileID&&this.tileID.equals(e.tileID.canonical)?(this.tiles[String(e.tileID.wrap)]=e,e.buckets={},t(null)):(e.state="errored",t(null))},n.prototype.serialize=function(){return{type:"image",url:this.options.url,coordinates:this.coordinates}},n.prototype.hasTransition=function(){return!1},n}(e.Evented),T=function(t){function n(e,n,r,o){t.call(this,e,n,r,o),this.roundZoom=!0,this.type="video",this.options=n}return t&&(n.__proto__=t),(n.prototype=Object.create(t&&t.prototype)).constructor=n,n.prototype.load=function(){var t=this;this._loaded=!1;var n=this.options;this.urls=[];for(var r=0,o=n.urls;r<o.length;r+=1)this.urls.push(this.map._requestManager.transformRequest(o[r],e.ResourceType.Source).url);e.getVideo(this.urls,(function(n,r){t._loaded=!0,n?t.fire(new e.ErrorEvent(n)):r&&(t.video=r,t.video.loop=!0,t.video.setAttribute("playsinline",""),t.video.addEventListener("playing",(function(){t.map.triggerRepaint()})),t.map&&t.video.play(),t._finishLoading())}))},n.prototype.pause=function(){this.video&&this.video.pause()},n.prototype.play=function(){this.video&&this.video.play()},n.prototype.seek=function(t){if(this.video){var n=this.video.seekable;t<n.start(0)||t>n.end(0)?this.fire(new e.ErrorEvent(new e.ValidationError("sources."+this.id,null,"Playback for this video can be set only between the "+n.start(0)+" and "+n.end(0)+"-second mark."))):this.video.currentTime=t}},n.prototype.getVideo=function(){return this.video},n.prototype.onAdd=function(e){this.map||(this.map=e,this.load(),this.video&&(this.video.play(),this.setCoordinates(this.coordinates)))},n.prototype.prepare=function(){if(!(0===Object.keys(this.tiles).length||this.video.readyState<2)){var t=this.map.painter.context,n=t.gl;for(var r in this.boundsBuffer||(this.boundsBuffer=t.createVertexBuffer(this._boundsArray,D.members)),this.boundsSegments||(this.boundsSegments=e.SegmentVector.simpleSegment(0,0,4,2)),this.texture?this.video.paused||(this.texture.bind(n.LINEAR,n.CLAMP_TO_EDGE),n.texSubImage2D(n.TEXTURE_2D,0,0,0,n.RGBA,n.UNSIGNED_BYTE,this.video)):(this.texture=new e.Texture(t,this.video,n.RGBA),this.texture.bind(n.LINEAR,n.CLAMP_TO_EDGE)),this.tiles){var o=this.tiles[r];"loaded"!==o.state&&(o.state="loaded",o.texture=this.texture)}}},n.prototype.serialize=function(){return{type:"video",urls:this.urls,coordinates:this.coordinates}},n.prototype.hasTransition=function(){return this.video&&!this.video.paused},n}(N),j=function(t){function n(n,r,o,i){t.call(this,n,r,o,i),r.coordinates?Array.isArray(r.coordinates)&&4===r.coordinates.length&&!r.coordinates.some((function(e){return!Array.isArray(e)||2!==e.length||e.some((function(e){return"number"!=typeof e}))}))||this.fire(new e.ErrorEvent(new e.ValidationError("sources."+n,null,'"coordinates" property must be an array of 4 longitude/latitude array pairs'))):this.fire(new e.ErrorEvent(new e.ValidationError("sources."+n,null,'missing required property "coordinates"'))),r.animate&&"boolean"!=typeof r.animate&&this.fire(new e.ErrorEvent(new e.ValidationError("sources."+n,null,'optional "animate" property must be a boolean value'))),r.canvas?"string"==typeof r.canvas||r.canvas instanceof e.window.HTMLCanvasElement||this.fire(new e.ErrorEvent(new e.ValidationError("sources."+n,null,'"canvas" must be either a string representing the ID of the canvas element from which to read, or an HTMLCanvasElement instance'))):this.fire(new e.ErrorEvent(new e.ValidationError("sources."+n,null,'missing required property "canvas"'))),this.options=r,this.animate=void 0===r.animate||r.animate}return t&&(n.__proto__=t),(n.prototype=Object.create(t&&t.prototype)).constructor=n,n.prototype.load=function(){this._loaded=!0,this.canvas||(this.canvas=this.options.canvas instanceof e.window.HTMLCanvasElement?this.options.canvas:e.window.document.getElementById(this.options.canvas)),this.width=this.canvas.width,this.height=this.canvas.height,this._hasInvalidDimensions()?this.fire(new e.ErrorEvent(new Error("Canvas dimensions cannot be less than or equal to zero."))):(this.play=function(){this._playing=!0,this.map.triggerRepaint()},this.pause=function(){this._playing&&(this.prepare(),this._playing=!1)},this._finishLoading())},n.prototype.getCanvas=function(){return this.canvas},n.prototype.onAdd=function(e){this.map=e,this.load(),this.canvas&&this.animate&&this.play()},n.prototype.onRemove=function(){this.pause()},n.prototype.prepare=function(){var t=!1;if(this.canvas.width!==this.width&&(this.width=this.canvas.width,t=!0),this.canvas.height!==this.height&&(this.height=this.canvas.height,t=!0),!this._hasInvalidDimensions()&&0!==Object.keys(this.tiles).length){var n=this.map.painter.context,r=n.gl;for(var o in this.boundsBuffer||(this.boundsBuffer=n.createVertexBuffer(this._boundsArray,D.members)),this.boundsSegments||(this.boundsSegments=e.SegmentVector.simpleSegment(0,0,4,2)),this.texture?(t||this._playing)&&this.texture.update(this.canvas,{premultiply:!0}):this.texture=new e.Texture(n,this.canvas,r.RGBA,{premultiply:!0}),this.tiles){var i=this.tiles[o];"loaded"!==i.state&&(i.state="loaded",i.texture=this.texture)}}},n.prototype.serialize=function(){return{type:"canvas",coordinates:this.coordinates}},n.prototype.hasTransition=function(){return this._playing},n.prototype._hasInvalidDimensions=function(){for(var e=0,t=[this.canvas.width,this.canvas.height];e<t.length;e+=1){var n=t[e];if(isNaN(n)||n<=0)return!0}return!1},n}(N),B={vector:C,raster:S,"raster-dem":E,geojson:k,video:T,image:N,canvas:j};function L(t,n){var r=e.identity([]);return e.translate(r,r,[1,1,0]),e.scale(r,r,[.5*t.width,.5*t.height,1]),e.multiply(r,r,t.calculatePosMatrix(n.toUnwrapped()))}function R(e,t,n,r,o,i){var a=function(e,t,n){if(e)for(var r=0,o=e;r<o.length;r+=1){var i=t[o[r]];if(i&&i.source===n&&"fill-extrusion"===i.type)return!0}else for(var a in t){var s=t[a];if(s.source===n&&"fill-extrusion"===s.type)return!0}return!1}(o&&o.layers,t,e.id),s=i.maxPitchScaleFactor(),l=e.tilesIn(r,s,a);l.sort(q);for(var c=[],u=0,d=l;u<d.length;u+=1){var p=d[u];c.push({wrappedTileID:p.tileID.wrapped().key,queryResults:p.tile.queryRenderedFeatures(t,n,e._state,p.queryGeometry,p.cameraQueryGeometry,p.scale,o,i,s,L(e.transform,p.tileID))})}var f=function(e){for(var t={},n={},r=0,o=e;r<o.length;r+=1){var i=o[r],a=i.queryResults,s=i.wrappedTileID,l=n[s]=n[s]||{};for(var c in a)for(var u=a[c],d=l[c]=l[c]||{},p=t[c]=t[c]||[],f=0,h=u;f<h.length;f+=1){var b=h[f];d[b.featureIndex]||(d[b.featureIndex]=!0,p.push(b))}}return t}(c);for(var h in f)f[h].forEach((function(t){var n=t.feature,r=e.getFeatureState(n.layer["source-layer"],n.id);n.source=n.layer.source,n.layer["source-layer"]&&(n.sourceLayer=n.layer["source-layer"]),n.state=r}));return f}function q(e,t){var n=e.tileID,r=t.tileID;return n.overscaledZ-r.overscaledZ||n.canonical.y-r.canonical.y||n.wrap-r.wrap||n.canonical.x-r.canonical.x}var P=function(e,t){this.max=e,this.onRemove=t,this.reset()};P.prototype.reset=function(){for(var e in this.data)for(var t=0,n=this.data[e];t<n.length;t+=1){var r=n[t];r.timeout&&clearTimeout(r.timeout),this.onRemove(r.value)}return this.data={},this.order=[],this},P.prototype.add=function(e,t,n){var r=this,o=e.wrapped().key;void 0===this.data[o]&&(this.data[o]=[]);var i={value:t,timeout:void 0};if(void 0!==n&&(i.timeout=setTimeout((function(){r.remove(e,i)}),n)),this.data[o].push(i),this.order.push(o),this.order.length>this.max){var a=this._getAndRemoveByKey(this.order[0]);a&&this.onRemove(a)}return this},P.prototype.has=function(e){return e.wrapped().key in this.data},P.prototype.getAndRemove=function(e){return this.has(e)?this._getAndRemoveByKey(e.wrapped().key):null},P.prototype._getAndRemoveByKey=function(e){var t=this.data[e].shift();return t.timeout&&clearTimeout(t.timeout),0===this.data[e].length&&delete this.data[e],this.order.splice(this.order.indexOf(e),1),t.value},P.prototype.getByKey=function(e){var t=this.data[e];return t?t[0].value:null},P.prototype.get=function(e){return this.has(e)?this.data[e.wrapped().key][0].value:null},P.prototype.remove=function(e,t){if(!this.has(e))return this;var n=e.wrapped().key,r=void 0===t?0:this.data[n].indexOf(t),o=this.data[n][r];return this.data[n].splice(r,1),o.timeout&&clearTimeout(o.timeout),0===this.data[n].length&&delete this.data[n],this.onRemove(o.value),this.order.splice(this.order.indexOf(n),1),this},P.prototype.setMaxSize=function(e){for(this.max=e;this.order.length>this.max;){var t=this._getAndRemoveByKey(this.order[0]);t&&this.onRemove(t)}return this},P.prototype.filter=function(e){var t=[];for(var n in this.data)for(var r=0,o=this.data[n];r<o.length;r+=1){var i=o[r];e(i.value)||t.push(i)}for(var a=0,s=t;a<s.length;a+=1){var l=s[a];this.remove(l.value.tileID,l)}};var I=function(e,t,n){this.context=e;var r=e.gl;this.buffer=r.createBuffer(),this.dynamicDraw=Boolean(n),this.context.unbindVAO(),e.bindElementBuffer.set(this.buffer),r.bufferData(r.ELEMENT_ARRAY_BUFFER,t.arrayBuffer,this.dynamicDraw?r.DYNAMIC_DRAW:r.STATIC_DRAW),this.dynamicDraw||delete t.arrayBuffer};I.prototype.bind=function(){this.context.bindElementBuffer.set(this.buffer)},I.prototype.updateData=function(e){var t=this.context.gl;this.context.unbindVAO(),this.bind(),t.bufferSubData(t.ELEMENT_ARRAY_BUFFER,0,e.arrayBuffer)},I.prototype.destroy=function(){this.buffer&&(this.context.gl.deleteBuffer(this.buffer),delete this.buffer)};var W={Int8:"BYTE",Uint8:"UNSIGNED_BYTE",Int16:"SHORT",Uint16:"UNSIGNED_SHORT",Int32:"INT",Uint32:"UNSIGNED_INT",Float32:"FLOAT"},F=function(e,t,n,r){this.length=t.length,this.attributes=n,this.itemSize=t.bytesPerElement,this.dynamicDraw=r,this.context=e;var o=e.gl;this.buffer=o.createBuffer(),e.bindVertexBuffer.set(this.buffer),o.bufferData(o.ARRAY_BUFFER,t.arrayBuffer,this.dynamicDraw?o.DYNAMIC_DRAW:o.STATIC_DRAW),this.dynamicDraw||delete t.arrayBuffer};F.prototype.bind=function(){this.context.bindVertexBuffer.set(this.buffer)},F.prototype.updateData=function(e){var t=this.context.gl;this.bind(),t.bufferSubData(t.ARRAY_BUFFER,0,e.arrayBuffer)},F.prototype.enableAttributes=function(e,t){for(var n=0;n<this.attributes.length;n++){var r=t.attributes[this.attributes[n].name];void 0!==r&&e.enableVertexAttribArray(r)}},F.prototype.setVertexAttribPointers=function(e,t,n){for(var r=0;r<this.attributes.length;r++){var o=this.attributes[r],i=t.attributes[o.name];void 0!==i&&e.vertexAttribPointer(i,o.components,e[W[o.type]],!1,this.itemSize,o.offset+this.itemSize*(n||0))}},F.prototype.destroy=function(){this.buffer&&(this.context.gl.deleteBuffer(this.buffer),delete this.buffer)};var U=function(e){this.gl=e.gl,this.default=this.getDefault(),this.current=this.default,this.dirty=!1};U.prototype.get=function(){return this.current},U.prototype.set=function(e){},U.prototype.getDefault=function(){return this.default},U.prototype.setDefault=function(){this.set(this.default)};var Z=function(t){function n(){t.apply(this,arguments)}return t&&(n.__proto__=t),(n.prototype=Object.create(t&&t.prototype)).constructor=n,n.prototype.getDefault=function(){return e.Color.transparent},n.prototype.set=function(e){var t=this.current;(e.r!==t.r||e.g!==t.g||e.b!==t.b||e.a!==t.a||this.dirty)&&(this.gl.clearColor(e.r,e.g,e.b,e.a),this.current=e,this.dirty=!1)},n}(U),H=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return 1},t.prototype.set=function(e){(e!==this.current||this.dirty)&&(this.gl.clearDepth(e),this.current=e,this.dirty=!1)},t}(U),$=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return 0},t.prototype.set=function(e){(e!==this.current||this.dirty)&&(this.gl.clearStencil(e),this.current=e,this.dirty=!1)},t}(U),V=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return[!0,!0,!0,!0]},t.prototype.set=function(e){var t=this.current;(e[0]!==t[0]||e[1]!==t[1]||e[2]!==t[2]||e[3]!==t[3]||this.dirty)&&(this.gl.colorMask(e[0],e[1],e[2],e[3]),this.current=e,this.dirty=!1)},t}(U),X=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return!0},t.prototype.set=function(e){(e!==this.current||this.dirty)&&(this.gl.depthMask(e),this.current=e,this.dirty=!1)},t}(U),Q=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return 255},t.prototype.set=function(e){(e!==this.current||this.dirty)&&(this.gl.stencilMask(e),this.current=e,this.dirty=!1)},t}(U),Y=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return{func:this.gl.ALWAYS,ref:0,mask:255}},t.prototype.set=function(e){var t=this.current;(e.func!==t.func||e.ref!==t.ref||e.mask!==t.mask||this.dirty)&&(this.gl.stencilFunc(e.func,e.ref,e.mask),this.current=e,this.dirty=!1)},t}(U),G=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){var e=this.gl;return[e.KEEP,e.KEEP,e.KEEP]},t.prototype.set=function(e){var t=this.current;(e[0]!==t[0]||e[1]!==t[1]||e[2]!==t[2]||this.dirty)&&(this.gl.stencilOp(e[0],e[1],e[2]),this.current=e,this.dirty=!1)},t}(U),K=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return!1},t.prototype.set=function(e){if(e!==this.current||this.dirty){var t=this.gl;e?t.enable(t.STENCIL_TEST):t.disable(t.STENCIL_TEST),this.current=e,this.dirty=!1}},t}(U),J=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return[0,1]},t.prototype.set=function(e){var t=this.current;(e[0]!==t[0]||e[1]!==t[1]||this.dirty)&&(this.gl.depthRange(e[0],e[1]),this.current=e,this.dirty=!1)},t}(U),ee=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return!1},t.prototype.set=function(e){if(e!==this.current||this.dirty){var t=this.gl;e?t.enable(t.DEPTH_TEST):t.disable(t.DEPTH_TEST),this.current=e,this.dirty=!1}},t}(U),te=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return this.gl.LESS},t.prototype.set=function(e){(e!==this.current||this.dirty)&&(this.gl.depthFunc(e),this.current=e,this.dirty=!1)},t}(U),ne=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return!1},t.prototype.set=function(e){if(e!==this.current||this.dirty){var t=this.gl;e?t.enable(t.BLEND):t.disable(t.BLEND),this.current=e,this.dirty=!1}},t}(U),re=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){var e=this.gl;return[e.ONE,e.ZERO]},t.prototype.set=function(e){var t=this.current;(e[0]!==t[0]||e[1]!==t[1]||this.dirty)&&(this.gl.blendFunc(e[0],e[1]),this.current=e,this.dirty=!1)},t}(U),oe=function(t){function n(){t.apply(this,arguments)}return t&&(n.__proto__=t),(n.prototype=Object.create(t&&t.prototype)).constructor=n,n.prototype.getDefault=function(){return e.Color.transparent},n.prototype.set=function(e){var t=this.current;(e.r!==t.r||e.g!==t.g||e.b!==t.b||e.a!==t.a||this.dirty)&&(this.gl.blendColor(e.r,e.g,e.b,e.a),this.current=e,this.dirty=!1)},n}(U),ie=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return this.gl.FUNC_ADD},t.prototype.set=function(e){(e!==this.current||this.dirty)&&(this.gl.blendEquation(e),this.current=e,this.dirty=!1)},t}(U),ae=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return!1},t.prototype.set=function(e){if(e!==this.current||this.dirty){var t=this.gl;e?t.enable(t.CULL_FACE):t.disable(t.CULL_FACE),this.current=e,this.dirty=!1}},t}(U),se=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return this.gl.BACK},t.prototype.set=function(e){(e!==this.current||this.dirty)&&(this.gl.cullFace(e),this.current=e,this.dirty=!1)},t}(U),le=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return this.gl.CCW},t.prototype.set=function(e){(e!==this.current||this.dirty)&&(this.gl.frontFace(e),this.current=e,this.dirty=!1)},t}(U),ce=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return null},t.prototype.set=function(e){(e!==this.current||this.dirty)&&(this.gl.useProgram(e),this.current=e,this.dirty=!1)},t}(U),ue=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return this.gl.TEXTURE0},t.prototype.set=function(e){(e!==this.current||this.dirty)&&(this.gl.activeTexture(e),this.current=e,this.dirty=!1)},t}(U),de=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){var e=this.gl;return[0,0,e.drawingBufferWidth,e.drawingBufferHeight]},t.prototype.set=function(e){var t=this.current;(e[0]!==t[0]||e[1]!==t[1]||e[2]!==t[2]||e[3]!==t[3]||this.dirty)&&(this.gl.viewport(e[0],e[1],e[2],e[3]),this.current=e,this.dirty=!1)},t}(U),pe=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return null},t.prototype.set=function(e){if(e!==this.current||this.dirty){var t=this.gl;t.bindFramebuffer(t.FRAMEBUFFER,e),this.current=e,this.dirty=!1}},t}(U),fe=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return null},t.prototype.set=function(e){if(e!==this.current||this.dirty){var t=this.gl;t.bindRenderbuffer(t.RENDERBUFFER,e),this.current=e,this.dirty=!1}},t}(U),he=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return null},t.prototype.set=function(e){if(e!==this.current||this.dirty){var t=this.gl;t.bindTexture(t.TEXTURE_2D,e),this.current=e,this.dirty=!1}},t}(U),be=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return null},t.prototype.set=function(e){if(e!==this.current||this.dirty){var t=this.gl;t.bindBuffer(t.ARRAY_BUFFER,e),this.current=e,this.dirty=!1}},t}(U),Ae=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return null},t.prototype.set=function(e){var t=this.gl;t.bindBuffer(t.ELEMENT_ARRAY_BUFFER,e),this.current=e,this.dirty=!1},t}(U),me=function(e){function t(t){e.call(this,t),this.vao=t.extVertexArrayObject}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return null},t.prototype.set=function(e){this.vao&&(e!==this.current||this.dirty)&&(this.vao.bindVertexArrayOES(e),this.current=e,this.dirty=!1)},t}(U),ge=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return 4},t.prototype.set=function(e){if(e!==this.current||this.dirty){var t=this.gl;t.pixelStorei(t.UNPACK_ALIGNMENT,e),this.current=e,this.dirty=!1}},t}(U),ve=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return!1},t.prototype.set=function(e){if(e!==this.current||this.dirty){var t=this.gl;t.pixelStorei(t.UNPACK_PREMULTIPLY_ALPHA_WEBGL,e),this.current=e,this.dirty=!1}},t}(U),ye=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return!1},t.prototype.set=function(e){if(e!==this.current||this.dirty){var t=this.gl;t.pixelStorei(t.UNPACK_FLIP_Y_WEBGL,e),this.current=e,this.dirty=!1}},t}(U),Me=function(e){function t(t,n){e.call(this,t),this.context=t,this.parent=n}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return null},t}(U),Oe=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.setDirty=function(){this.dirty=!0},t.prototype.set=function(e){if(e!==this.current||this.dirty){this.context.bindFramebuffer.set(this.parent);var t=this.gl;t.framebufferTexture2D(t.FRAMEBUFFER,t.COLOR_ATTACHMENT0,t.TEXTURE_2D,e,0),this.current=e,this.dirty=!1}},t}(Me),_e=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.set=function(e){if(e!==this.current||this.dirty){this.context.bindFramebuffer.set(this.parent);var t=this.gl;t.framebufferRenderbuffer(t.FRAMEBUFFER,t.DEPTH_ATTACHMENT,t.RENDERBUFFER,e),this.current=e,this.dirty=!1}},t}(Me),ze=function(e,t,n,r){this.context=e,this.width=t,this.height=n;var o=this.framebuffer=e.gl.createFramebuffer();this.colorAttachment=new Oe(e,o),r&&(this.depthAttachment=new _e(e,o))};ze.prototype.destroy=function(){var e=this.context.gl,t=this.colorAttachment.get();if(t&&e.deleteTexture(t),this.depthAttachment){var n=this.depthAttachment.get();n&&e.deleteRenderbuffer(n)}e.deleteFramebuffer(this.framebuffer)};var xe=function(e,t,n){this.func=e,this.mask=t,this.range=n};xe.ReadOnly=!1,xe.ReadWrite=!0,xe.disabled=new xe(519,xe.ReadOnly,[0,1]);var we=function(e,t,n,r,o,i){this.test=e,this.ref=t,this.mask=n,this.fail=r,this.depthFail=o,this.pass=i};we.disabled=new we({func:519,mask:0},0,0,7680,7680,7680);var Ce=function(e,t,n){this.blendFunction=e,this.blendColor=t,this.mask=n};Ce.disabled=new Ce(Ce.Replace=[1,0],e.Color.transparent,[!1,!1,!1,!1]),Ce.unblended=new Ce(Ce.Replace,e.Color.transparent,[!0,!0,!0,!0]),Ce.alphaBlended=new Ce([1,771],e.Color.transparent,[!0,!0,!0,!0]);var Se=function(e,t,n){this.enable=e,this.mode=t,this.frontFace=n};Se.disabled=new Se(!1,1029,2305),Se.backCCW=new Se(!0,1029,2305);var Ee=function(e){this.gl=e,this.extVertexArrayObject=this.gl.getExtension("OES_vertex_array_object"),this.clearColor=new Z(this),this.clearDepth=new H(this),this.clearStencil=new $(this),this.colorMask=new V(this),this.depthMask=new X(this),this.stencilMask=new Q(this),this.stencilFunc=new Y(this),this.stencilOp=new G(this),this.stencilTest=new K(this),this.depthRange=new J(this),this.depthTest=new ee(this),this.depthFunc=new te(this),this.blend=new ne(this),this.blendFunc=new re(this),this.blendColor=new oe(this),this.blendEquation=new ie(this),this.cullFace=new ae(this),this.cullFaceSide=new se(this),this.frontFace=new le(this),this.program=new ce(this),this.activeTexture=new ue(this),this.viewport=new de(this),this.bindFramebuffer=new pe(this),this.bindRenderbuffer=new fe(this),this.bindTexture=new he(this),this.bindVertexBuffer=new be(this),this.bindElementBuffer=new Ae(this),this.bindVertexArrayOES=this.extVertexArrayObject&&new me(this),this.pixelStoreUnpack=new ge(this),this.pixelStoreUnpackPremultiplyAlpha=new ve(this),this.pixelStoreUnpackFlipY=new ye(this),this.extTextureFilterAnisotropic=e.getExtension("EXT_texture_filter_anisotropic")||e.getExtension("MOZ_EXT_texture_filter_anisotropic")||e.getExtension("WEBKIT_EXT_texture_filter_anisotropic"),this.extTextureFilterAnisotropic&&(this.extTextureFilterAnisotropicMax=e.getParameter(this.extTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT)),this.extTextureHalfFloat=e.getExtension("OES_texture_half_float"),this.extTextureHalfFloat&&(e.getExtension("OES_texture_half_float_linear"),this.extRenderToTextureHalfFloat=e.getExtension("EXT_color_buffer_half_float")),this.extTimerQuery=e.getExtension("EXT_disjoint_timer_query"),this.maxTextureSize=e.getParameter(e.MAX_TEXTURE_SIZE)};Ee.prototype.setDefault=function(){this.unbindVAO(),this.clearColor.setDefault(),this.clearDepth.setDefault(),this.clearStencil.setDefault(),this.colorMask.setDefault(),this.depthMask.setDefault(),this.stencilMask.setDefault(),this.stencilFunc.setDefault(),this.stencilOp.setDefault(),this.stencilTest.setDefault(),this.depthRange.setDefault(),this.depthTest.setDefault(),this.depthFunc.setDefault(),this.blend.setDefault(),this.blendFunc.setDefault(),this.blendColor.setDefault(),this.blendEquation.setDefault(),this.cullFace.setDefault(),this.cullFaceSide.setDefault(),this.frontFace.setDefault(),this.program.setDefault(),this.activeTexture.setDefault(),this.bindFramebuffer.setDefault(),this.pixelStoreUnpack.setDefault(),this.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.pixelStoreUnpackFlipY.setDefault()},Ee.prototype.setDirty=function(){this.clearColor.dirty=!0,this.clearDepth.dirty=!0,this.clearStencil.dirty=!0,this.colorMask.dirty=!0,this.depthMask.dirty=!0,this.stencilMask.dirty=!0,this.stencilFunc.dirty=!0,this.stencilOp.dirty=!0,this.stencilTest.dirty=!0,this.depthRange.dirty=!0,this.depthTest.dirty=!0,this.depthFunc.dirty=!0,this.blend.dirty=!0,this.blendFunc.dirty=!0,this.blendColor.dirty=!0,this.blendEquation.dirty=!0,this.cullFace.dirty=!0,this.cullFaceSide.dirty=!0,this.frontFace.dirty=!0,this.program.dirty=!0,this.activeTexture.dirty=!0,this.viewport.dirty=!0,this.bindFramebuffer.dirty=!0,this.bindRenderbuffer.dirty=!0,this.bindTexture.dirty=!0,this.bindVertexBuffer.dirty=!0,this.bindElementBuffer.dirty=!0,this.extVertexArrayObject&&(this.bindVertexArrayOES.dirty=!0),this.pixelStoreUnpack.dirty=!0,this.pixelStoreUnpackPremultiplyAlpha.dirty=!0,this.pixelStoreUnpackFlipY.dirty=!0},Ee.prototype.createIndexBuffer=function(e,t){return new I(this,e,t)},Ee.prototype.createVertexBuffer=function(e,t,n){return new F(this,e,t,n)},Ee.prototype.createRenderbuffer=function(e,t,n){var r=this.gl,o=r.createRenderbuffer();return this.bindRenderbuffer.set(o),r.renderbufferStorage(r.RENDERBUFFER,e,t,n),this.bindRenderbuffer.set(null),o},Ee.prototype.createFramebuffer=function(e,t,n){return new ze(this,e,t,n)},Ee.prototype.clear=function(e){var t=e.color,n=e.depth,r=this.gl,o=0;t&&(o|=r.COLOR_BUFFER_BIT,this.clearColor.set(t),this.colorMask.set([!0,!0,!0,!0])),void 0!==n&&(o|=r.DEPTH_BUFFER_BIT,this.depthRange.set([0,1]),this.clearDepth.set(n),this.depthMask.set(!0)),r.clear(o)},Ee.prototype.setCullFace=function(e){!1===e.enable?this.cullFace.set(!1):(this.cullFace.set(!0),this.cullFaceSide.set(e.mode),this.frontFace.set(e.frontFace))},Ee.prototype.setDepthMode=function(e){e.func!==this.gl.ALWAYS||e.mask?(this.depthTest.set(!0),this.depthFunc.set(e.func),this.depthMask.set(e.mask),this.depthRange.set(e.range)):this.depthTest.set(!1)},Ee.prototype.setStencilMode=function(e){e.test.func!==this.gl.ALWAYS||e.mask?(this.stencilTest.set(!0),this.stencilMask.set(e.mask),this.stencilOp.set([e.fail,e.depthFail,e.pass]),this.stencilFunc.set({func:e.test.func,ref:e.ref,mask:e.test.mask})):this.stencilTest.set(!1)},Ee.prototype.setColorMode=function(t){e.deepEqual(t.blendFunction,Ce.Replace)?this.blend.set(!1):(this.blend.set(!0),this.blendFunc.set(t.blendFunction),this.blendColor.set(t.blendColor)),this.colorMask.set(t.mask)},Ee.prototype.unbindVAO=function(){this.extVertexArrayObject&&this.bindVertexArrayOES.set(null)};var ke=function(t){function n(n,r,o){var i=this;t.call(this),this.id=n,this.dispatcher=o,this.on("data",(function(e){"source"===e.dataType&&"metadata"===e.sourceDataType&&(i._sourceLoaded=!0),i._sourceLoaded&&!i._paused&&"source"===e.dataType&&"content"===e.sourceDataType&&(i.reload(),i.transform&&i.update(i.transform))})),this.on("error",(function(){i._sourceErrored=!0})),this._source=function(t,n,r,o){var i=new B[n.type](t,n,r,o);if(i.id!==t)throw new Error("Expected Source id to be "+t+" instead of "+i.id);return e.bindAll(["load","abort","unload","serialize","prepare"],i),i}(n,r,o,this),this._tiles={},this._cache=new P(0,this._unloadTile.bind(this)),this._timers={},this._cacheTimers={},this._maxTileCacheSize=null,this._loadedParentTiles={},this._coveredTiles={},this._state=new e.SourceFeatureState}return t&&(n.__proto__=t),(n.prototype=Object.create(t&&t.prototype)).constructor=n,n.prototype.onAdd=function(e){this.map=e,this._maxTileCacheSize=e?e._maxTileCacheSize:null,this._source&&this._source.onAdd&&this._source.onAdd(e)},n.prototype.onRemove=function(e){this._source&&this._source.onRemove&&this._source.onRemove(e)},n.prototype.loaded=function(){if(this._sourceErrored)return!0;if(!this._sourceLoaded)return!1;if(!this._source.loaded())return!1;for(var e in this._tiles){var t=this._tiles[e];if("loaded"!==t.state&&"errored"!==t.state)return!1}return!0},n.prototype.getSource=function(){return this._source},n.prototype.pause=function(){this._paused=!0},n.prototype.resume=function(){if(this._paused){var e=this._shouldReloadOnResume;this._paused=!1,this._shouldReloadOnResume=!1,e&&this.reload(),this.transform&&this.update(this.transform)}},n.prototype._loadTile=function(e,t){return this._source.loadTile(e,t)},n.prototype._unloadTile=function(e){if(this._source.unloadTile)return this._source.unloadTile(e,(function(){}))},n.prototype._abortTile=function(e){if(this._source.abortTile)return this._source.abortTile(e,(function(){}))},n.prototype.serialize=function(){return this._source.serialize()},n.prototype.prepare=function(e){for(var t in this._source.prepare&&this._source.prepare(),this._state.coalesceChanges(this._tiles,this.map?this.map.painter:null),this._tiles){var n=this._tiles[t];n.upload(e),n.prepare(this.map.style.imageManager)}},n.prototype.getIds=function(){return e.values(this._tiles).map((function(e){return e.tileID})).sort(De).map((function(e){return e.key}))},n.prototype.getRenderableIds=function(t){var n=this,r=[];for(var o in this._tiles)this._isIdRenderable(o,t)&&r.push(this._tiles[o]);return t?r.sort((function(t,r){var o=t.tileID,i=r.tileID,a=new e.Point(o.canonical.x,o.canonical.y)._rotate(n.transform.angle),s=new e.Point(i.canonical.x,i.canonical.y)._rotate(n.transform.angle);return o.overscaledZ-i.overscaledZ||s.y-a.y||s.x-a.x})).map((function(e){return e.tileID.key})):r.map((function(e){return e.tileID})).sort(De).map((function(e){return e.key}))},n.prototype.hasRenderableParent=function(e){var t=this.findLoadedParent(e,0);return!!t&&this._isIdRenderable(t.tileID.key)},n.prototype._isIdRenderable=function(e,t){return this._tiles[e]&&this._tiles[e].hasData()&&!this._coveredTiles[e]&&(t||!this._tiles[e].holdingForFade())},n.prototype.reload=function(){if(this._paused)this._shouldReloadOnResume=!0;else for(var e in this._cache.reset(),this._tiles)"errored"!==this._tiles[e].state&&this._reloadTile(e,"reloading")},n.prototype._reloadTile=function(e,t){var n=this._tiles[e];n&&("loading"!==n.state&&(n.state=t),this._loadTile(n,this._tileLoaded.bind(this,n,e,t)))},n.prototype._tileLoaded=function(t,n,r,o){if(o)return t.state="errored",void(404!==o.status?this._source.fire(new e.ErrorEvent(o,{tile:t})):this.update(this.transform));t.timeAdded=e.browser.now(),"expired"===r&&(t.refreshedUponExpiration=!0),this._setTileReloadTimer(n,t),"raster-dem"===this.getSource().type&&t.dem&&this._backfillDEM(t),this._state.initializeTileState(t,this.map?this.map.painter:null),this._source.fire(new e.Event("data",{dataType:"source",tile:t,coord:t.tileID}))},n.prototype._backfillDEM=function(e){for(var t=this.getRenderableIds(),n=0;n<t.length;n++){var r=t[n];if(e.neighboringTiles&&e.neighboringTiles[r]){var o=this.getTileByID(r);i(e,o),i(o,e)}}function i(e,t){e.needsHillshadePrepare=!0;var n=t.tileID.canonical.x-e.tileID.canonical.x,r=t.tileID.canonical.y-e.tileID.canonical.y,o=Math.pow(2,e.tileID.canonical.z),i=t.tileID.key;0===n&&0===r||Math.abs(r)>1||(Math.abs(n)>1&&(1===Math.abs(n+o)?n+=o:1===Math.abs(n-o)&&(n-=o)),t.dem&&e.dem&&(e.dem.backfillBorder(t.dem,n,r),e.neighboringTiles&&e.neighboringTiles[i]&&(e.neighboringTiles[i].backfilled=!0)))}},n.prototype.getTile=function(e){return this.getTileByID(e.key)},n.prototype.getTileByID=function(e){return this._tiles[e]},n.prototype._retainLoadedChildren=function(e,t,n,r){for(var o in this._tiles){var i=this._tiles[o];if(!(r[o]||!i.hasData()||i.tileID.overscaledZ<=t||i.tileID.overscaledZ>n)){for(var a=i.tileID;i&&i.tileID.overscaledZ>t+1;){var s=i.tileID.scaledTo(i.tileID.overscaledZ-1);(i=this._tiles[s.key])&&i.hasData()&&(a=s)}for(var l=a;l.overscaledZ>t;)if(e[(l=l.scaledTo(l.overscaledZ-1)).key]){r[a.key]=a;break}}}},n.prototype.findLoadedParent=function(e,t){if(e.key in this._loadedParentTiles){var n=this._loadedParentTiles[e.key];return n&&n.tileID.overscaledZ>=t?n:null}for(var r=e.overscaledZ-1;r>=t;r--){var o=e.scaledTo(r),i=this._getLoadedTile(o);if(i)return i}},n.prototype._getLoadedTile=function(e){var t=this._tiles[e.key];return t&&t.hasData()?t:this._cache.getByKey(e.wrapped().key)},n.prototype.updateCacheSize=function(e){var t=Math.ceil(e.width/this._source.tileSize)+1,n=Math.ceil(e.height/this._source.tileSize)+1,r=Math.floor(t*n*5),o="number"==typeof this._maxTileCacheSize?Math.min(this._maxTileCacheSize,r):r;this._cache.setMaxSize(o)},n.prototype.handleWrapJump=function(e){var t=Math.round((e-(void 0===this._prevLng?e:this._prevLng))/360);if(this._prevLng=e,t){var n={};for(var r in this._tiles){var o=this._tiles[r];o.tileID=o.tileID.unwrapTo(o.tileID.wrap+t),n[o.tileID.key]=o}for(var i in this._tiles=n,this._timers)clearTimeout(this._timers[i]),delete this._timers[i];for(var a in this._tiles)this._setTileReloadTimer(a,this._tiles[a])}},n.prototype.update=function(t){var r=this;if(this.transform=t,this._sourceLoaded&&!this._paused){var o;this.updateCacheSize(t),this.handleWrapJump(this.transform.center.lng),this._coveredTiles={},this.used?this._source.tileID?o=t.getVisibleUnwrappedCoordinates(this._source.tileID).map((function(t){return new e.OverscaledTileID(t.canonical.z,t.wrap,t.canonical.z,t.canonical.x,t.canonical.y)})):(o=t.coveringTiles({tileSize:this._source.tileSize,minzoom:this._source.minzoom,maxzoom:this._source.maxzoom,roundZoom:this._source.roundZoom,reparseOverscaled:this._source.reparseOverscaled}),this._source.hasTile&&(o=o.filter((function(e){return r._source.hasTile(e)})))):o=[];var i=t.coveringZoomLevel(this._source),a=Math.max(i-n.maxOverzooming,this._source.minzoom),s=Math.max(i+n.maxUnderzooming,this._source.minzoom),l=this._updateRetainedTiles(o,i);if(Ne(this._source.type)){for(var c={},u={},d=0,p=Object.keys(l);d<p.length;d+=1){var f=p[d],h=l[f],b=this._tiles[f];if(b&&!(b.fadeEndTime&&b.fadeEndTime<=e.browser.now())){var A=this.findLoadedParent(h,a);A&&(this._addTile(A.tileID),c[A.tileID.key]=A.tileID),u[f]=h}}for(var m in this._retainLoadedChildren(u,i,s,l),c)l[m]||(this._coveredTiles[m]=!0,l[m]=c[m])}for(var g in l)this._tiles[g].clearFadeHold();for(var v=0,y=e.keysDifference(this._tiles,l);v<y.length;v+=1){var M=y[v],O=this._tiles[M];O.hasSymbolBuckets&&!O.holdingForFade()?O.setHoldDuration(this.map._fadeDuration):O.hasSymbolBuckets&&!O.symbolFadeFinished()||this._removeTile(M)}this._updateLoadedParentTileCache()}},n.prototype.releaseSymbolFadeTiles=function(){for(var e in this._tiles)this._tiles[e].holdingForFade()&&this._removeTile(e)},n.prototype._updateRetainedTiles=function(e,t){for(var r={},o={},i=Math.max(t-n.maxOverzooming,this._source.minzoom),a=Math.max(t+n.maxUnderzooming,this._source.minzoom),s={},l=0,c=e;l<c.length;l+=1){var u=c[l],d=this._addTile(u);r[u.key]=u,d.hasData()||t<this._source.maxzoom&&(s[u.key]=u)}this._retainLoadedChildren(s,t,a,r);for(var p=0,f=e;p<f.length;p+=1){var h=f[p],b=this._tiles[h.key];if(!b.hasData()){if(t+1>this._source.maxzoom){var A=h.children(this._source.maxzoom)[0],m=this.getTile(A);if(m&&m.hasData()){r[A.key]=A;continue}}else{var g=h.children(this._source.maxzoom);if(r[g[0].key]&&r[g[1].key]&&r[g[2].key]&&r[g[3].key])continue}for(var v=b.wasRequested(),y=h.overscaledZ-1;y>=i;--y){var M=h.scaledTo(y);if(o[M.key])break;if(o[M.key]=!0,!(b=this.getTile(M))&&v&&(b=this._addTile(M)),b&&(r[M.key]=M,v=b.wasRequested(),b.hasData()))break}}}return r},n.prototype._updateLoadedParentTileCache=function(){for(var e in this._loadedParentTiles={},this._tiles){for(var t=[],n=void 0,r=this._tiles[e].tileID;r.overscaledZ>0;){if(r.key in this._loadedParentTiles){n=this._loadedParentTiles[r.key];break}t.push(r.key);var o=r.scaledTo(r.overscaledZ-1);if(n=this._getLoadedTile(o))break;r=o}for(var i=0,a=t;i<a.length;i+=1)this._loadedParentTiles[a[i]]=n}},n.prototype._addTile=function(t){var n=this._tiles[t.key];if(n)return n;(n=this._cache.getAndRemove(t))&&(this._setTileReloadTimer(t.key,n),n.tileID=t,this._state.initializeTileState(n,this.map?this.map.painter:null),this._cacheTimers[t.key]&&(clearTimeout(this._cacheTimers[t.key]),delete this._cacheTimers[t.key],this._setTileReloadTimer(t.key,n)));var r=Boolean(n);return r||(n=new e.Tile(t,this._source.tileSize*t.overscaleFactor()),this._loadTile(n,this._tileLoaded.bind(this,n,t.key,n.state))),n?(n.uses++,this._tiles[t.key]=n,r||this._source.fire(new e.Event("dataloading",{tile:n,coord:n.tileID,dataType:"source"})),n):null},n.prototype._setTileReloadTimer=function(e,t){var n=this;e in this._timers&&(clearTimeout(this._timers[e]),delete this._timers[e]);var r=t.getExpiryTimeout();r&&(this._timers[e]=setTimeout((function(){n._reloadTile(e,"expired"),delete n._timers[e]}),r))},n.prototype._removeTile=function(e){var t=this._tiles[e];t&&(t.uses--,delete this._tiles[e],this._timers[e]&&(clearTimeout(this._timers[e]),delete this._timers[e]),t.uses>0||(t.hasData()&&"reloading"!==t.state?this._cache.add(t.tileID,t,t.getExpiryTimeout()):(t.aborted=!0,this._abortTile(t),this._unloadTile(t))))},n.prototype.clearTiles=function(){for(var e in this._shouldReloadOnResume=!1,this._paused=!1,this._tiles)this._removeTile(e);this._cache.reset()},n.prototype.tilesIn=function(t,n,r){var o=this,i=[],a=this.transform;if(!a)return i;for(var s=r?a.getCameraQueryGeometry(t):t,l=t.map((function(e){return a.pointCoordinate(e)})),c=s.map((function(e){return a.pointCoordinate(e)})),u=this.getIds(),d=1/0,p=1/0,f=-1/0,h=-1/0,b=0,A=c;b<A.length;b+=1){var m=A[b];d=Math.min(d,m.x),p=Math.min(p,m.y),f=Math.max(f,m.x),h=Math.max(h,m.y)}for(var g=function(t){var r=o._tiles[u[t]];if(!r.holdingForFade()){var s=r.tileID,b=Math.pow(2,a.zoom-r.tileID.overscaledZ),A=n*r.queryPadding*e.EXTENT/r.tileSize/b,m=[s.getTilePoint(new e.MercatorCoordinate(d,p)),s.getTilePoint(new e.MercatorCoordinate(f,h))];if(m[0].x-A<e.EXTENT&&m[0].y-A<e.EXTENT&&m[1].x+A>=0&&m[1].y+A>=0){var g=l.map((function(e){return s.getTilePoint(e)})),v=c.map((function(e){return s.getTilePoint(e)}));i.push({tile:r,tileID:s,queryGeometry:g,cameraQueryGeometry:v,scale:b})}}},v=0;v<u.length;v++)g(v);return i},n.prototype.getVisibleCoordinates=function(e){for(var t=this,n=this.getRenderableIds(e).map((function(e){return t._tiles[e].tileID})),r=0,o=n;r<o.length;r+=1){var i=o[r];i.posMatrix=this.transform.calculatePosMatrix(i.toUnwrapped())}return n},n.prototype.hasTransition=function(){if(this._source.hasTransition())return!0;if(Ne(this._source.type))for(var t in this._tiles){var n=this._tiles[t];if(void 0!==n.fadeEndTime&&n.fadeEndTime>=e.browser.now())return!0}return!1},n.prototype.setFeatureState=function(e,t,n){this._state.updateState(e=e||"_geojsonTileLayer",t,n)},n.prototype.removeFeatureState=function(e,t,n){this._state.removeFeatureState(e=e||"_geojsonTileLayer",t,n)},n.prototype.getFeatureState=function(e,t){return this._state.getState(e=e||"_geojsonTileLayer",t)},n.prototype.setDependencies=function(e,t,n){var r=this._tiles[e];r&&r.setDependencies(t,n)},n.prototype.reloadTilesForDependencies=function(e,t){for(var n in this._tiles)this._tiles[n].hasDependency(e,t)&&this._reloadTile(n,"reloading");this._cache.filter((function(n){return!n.hasDependency(e,t)}))},n}(e.Evented);function De(e,t){var n=Math.abs(2*e.wrap)-+(e.wrap<0),r=Math.abs(2*t.wrap)-+(t.wrap<0);return e.overscaledZ-t.overscaledZ||r-n||t.canonical.y-e.canonical.y||t.canonical.x-e.canonical.x}function Ne(e){return"raster"===e||"image"===e||"video"===e}function Te(){return new e.window.Worker(Yo.workerUrl)}ke.maxOverzooming=10,ke.maxUnderzooming=3;var je="mapboxgl_preloaded_worker_pool",Be=function(){this.active={}};Be.prototype.acquire=function(e){if(!this.workers)for(this.workers=[];this.workers.length<Be.workerCount;)this.workers.push(new Te);return this.active[e]=!0,this.workers.slice()},Be.prototype.release=function(e){delete this.active[e],0===this.numActive()&&(this.workers.forEach((function(e){e.terminate()})),this.workers=null)},Be.prototype.isPreloaded=function(){return!!this.active[je]},Be.prototype.numActive=function(){return Object.keys(this.active).length};var Le,Re=Math.floor(e.browser.hardwareConcurrency/2);function qe(){return Le||(Le=new Be),Le}function Pe(t,n){var r={};for(var o in t)"ref"!==o&&(r[o]=t[o]);return e.refProperties.forEach((function(e){e in n&&(r[e]=n[e])})),r}function Ie(e){e=e.slice();for(var t=Object.create(null),n=0;n<e.length;n++)t[e[n].id]=e[n];for(var r=0;r<e.length;r++)"ref"in e[r]&&(e[r]=Pe(e[r],t[e[r].ref]));return e}Be.workerCount=Math.max(Math.min(Re,6),1);var We={setStyle:"setStyle",addLayer:"addLayer",removeLayer:"removeLayer",setPaintProperty:"setPaintProperty",setLayoutProperty:"setLayoutProperty",setFilter:"setFilter",addSource:"addSource",removeSource:"removeSource",setGeoJSONSourceData:"setGeoJSONSourceData",setLayerZoomRange:"setLayerZoomRange",setLayerProperty:"setLayerProperty",setCenter:"setCenter",setZoom:"setZoom",setBearing:"setBearing",setPitch:"setPitch",setSprite:"setSprite",setGlyphs:"setGlyphs",setTransition:"setTransition",setLight:"setLight"};function Fe(e,t,n){n.push({command:We.addSource,args:[e,t[e]]})}function Ue(e,t,n){t.push({command:We.removeSource,args:[e]}),n[e]=!0}function Ze(e,t,n,r){Ue(e,n,r),Fe(e,t,n)}function He(t,n,r){var o;for(o in t[r])if(t[r].hasOwnProperty(o)&&"data"!==o&&!e.deepEqual(t[r][o],n[r][o]))return!1;for(o in n[r])if(n[r].hasOwnProperty(o)&&"data"!==o&&!e.deepEqual(t[r][o],n[r][o]))return!1;return!0}function $e(t,n,r,o,i,a){var s;for(s in n=n||{},t=t||{})t.hasOwnProperty(s)&&(e.deepEqual(t[s],n[s])||r.push({command:a,args:[o,s,n[s],i]}));for(s in n)n.hasOwnProperty(s)&&!t.hasOwnProperty(s)&&(e.deepEqual(t[s],n[s])||r.push({command:a,args:[o,s,n[s],i]}))}function Ve(e){return e.id}function Xe(e,t){return e[t.id]=t,e}var Qe=function(e,t){this.reset(e,t)};Qe.prototype.reset=function(e,t){this.points=e||[],this._distances=[0];for(var n=1;n<this.points.length;n++)this._distances[n]=this._distances[n-1]+this.points[n].dist(this.points[n-1]);this.length=this._distances[this._distances.length-1],this.padding=Math.min(t||0,.5*this.length),this.paddedLength=this.length-2*this.padding},Qe.prototype.lerp=function(t){if(1===this.points.length)return this.points[0];t=e.clamp(t,0,1);for(var n=1,r=this._distances[n],o=t*this.paddedLength+this.padding;r<o&&n<this._distances.length;)r=this._distances[++n];var i=n-1,a=this._distances[i],s=r-a,l=s>0?(o-a)/s:0;return this.points[i].mult(1-l).add(this.points[n].mult(l))};var Ye=function(e,t,n){var r=this.boxCells=[],o=this.circleCells=[];this.xCellCount=Math.ceil(e/n),this.yCellCount=Math.ceil(t/n);for(var i=0;i<this.xCellCount*this.yCellCount;i++)r.push([]),o.push([]);this.circleKeys=[],this.boxKeys=[],this.bboxes=[],this.circles=[],this.width=e,this.height=t,this.xScale=this.xCellCount/e,this.yScale=this.yCellCount/t,this.boxUid=0,this.circleUid=0};function Ge(t,n,r,o,i){var a=e.create();return n?(e.scale(a,a,[1/i,1/i,1]),r||e.rotateZ(a,a,o.angle)):e.multiply(a,o.labelPlaneMatrix,t),a}function Ke(t,n,r,o,i){if(n){var a=e.clone(t);return e.scale(a,a,[i,i,1]),r||e.rotateZ(a,a,-o.angle),a}return o.glCoordMatrix}function Je(t,n){var r=[t.x,t.y,0,1];ut(r,r,n);var o=r[3];return{point:new e.Point(r[0]/o,r[1]/o),signedDistanceFromCamera:o}}function et(e,t){return.5+e/t*.5}function tt(e,t){var n=e[0]/e[3],r=e[1]/e[3];return n>=-t[0]&&n<=t[0]&&r>=-t[1]&&r<=t[1]}function nt(t,n,r,o,i,a,s,l){var c=o?t.textSizeData:t.iconSizeData,u=e.evaluateSizeForZoom(c,r.transform.zoom),d=[256/r.width*2+1,256/r.height*2+1],p=o?t.text.dynamicLayoutVertexArray:t.icon.dynamicLayoutVertexArray;p.clear();for(var f=t.lineVertexArray,h=o?t.text.placedSymbolArray:t.icon.placedSymbolArray,b=r.transform.width/r.transform.height,A=!1,m=0;m<h.length;m++){var g=h.get(m);if(g.hidden||g.writingMode===e.WritingMode.vertical&&!A)ct(g.numGlyphs,p);else{A=!1;var v=[g.anchorX,g.anchorY,0,1];if(e.transformMat4(v,v,n),tt(v,d)){var y=et(r.transform.cameraToCenterDistance,v[3]),M=e.evaluateSizeForFeature(c,u,g),O=s?M/y:M*y,_=new e.Point(g.anchorX,g.anchorY),z=Je(_,i).point,x={},w=it(g,O,!1,l,n,i,a,t.glyphOffsetArray,f,p,z,_,x,b);A=w.useVertical,(w.notEnoughRoom||A||w.needsFlipping&&it(g,O,!0,l,n,i,a,t.glyphOffsetArray,f,p,z,_,x,b).notEnoughRoom)&&ct(g.numGlyphs,p)}else ct(g.numGlyphs,p)}}o?t.text.dynamicLayoutVertexBuffer.updateData(p):t.icon.dynamicLayoutVertexBuffer.updateData(p)}function rt(e,t,n,r,o,i,a,s,l,c,u){var d=s.glyphStartIndex+s.numGlyphs,p=s.lineStartIndex,f=s.lineStartIndex+s.lineLength,h=t.getoffsetX(s.glyphStartIndex),b=t.getoffsetX(d-1),A=st(e*h,n,r,o,i,a,s.segment,p,f,l,c,u);if(!A)return null;var m=st(e*b,n,r,o,i,a,s.segment,p,f,l,c,u);return m?{first:A,last:m}:null}function ot(t,n,r,o){return t===e.WritingMode.horizontal&&Math.abs(r.y-n.y)>Math.abs(r.x-n.x)*o?{useVertical:!0}:(t===e.WritingMode.vertical?n.y<r.y:n.x>r.x)?{needsFlipping:!0}:null}function it(t,n,r,o,i,a,s,l,c,u,d,p,f,h){var b,A=n/24,m=t.lineOffsetX*A,g=t.lineOffsetY*A;if(t.numGlyphs>1){var v=t.glyphStartIndex+t.numGlyphs,y=t.lineStartIndex,M=t.lineStartIndex+t.lineLength,O=rt(A,l,m,g,r,d,p,t,c,a,f);if(!O)return{notEnoughRoom:!0};var _=Je(O.first.point,s).point,z=Je(O.last.point,s).point;if(o&&!r){var x=ot(t.writingMode,_,z,h);if(x)return x}b=[O.first];for(var w=t.glyphStartIndex+1;w<v-1;w++)b.push(st(A*l.getoffsetX(w),m,g,r,d,p,t.segment,y,M,c,a,f));b.push(O.last)}else{if(o&&!r){var C=Je(p,i).point,S=t.lineStartIndex+t.segment+1,E=new e.Point(c.getx(S),c.gety(S)),k=Je(E,i),D=k.signedDistanceFromCamera>0?k.point:at(p,E,C,1,i),N=ot(t.writingMode,C,D,h);if(N)return N}var T=st(A*l.getoffsetX(t.glyphStartIndex),m,g,r,d,p,t.segment,t.lineStartIndex,t.lineStartIndex+t.lineLength,c,a,f);if(!T)return{notEnoughRoom:!0};b=[T]}for(var j=0,B=b;j<B.length;j+=1){var L=B[j];e.addDynamicAttributes(u,L.point,L.angle)}return{}}function at(e,t,n,r,o){var i=Je(e.add(e.sub(t)._unit()),o).point,a=n.sub(i);return n.add(a._mult(r/a.mag()))}function st(t,n,r,o,i,a,s,l,c,u,d,p){var f=o?t-n:t+n,h=f>0?1:-1,b=0;o&&(h*=-1,b=Math.PI),h<0&&(b+=Math.PI);for(var A=h>0?l+s:l+s+1,m=i,g=i,v=0,y=0,M=Math.abs(f),O=[];v+y<=M;){if((A+=h)<l||A>=c)return null;if(g=m,O.push(m),void 0===(m=p[A])){var _=new e.Point(u.getx(A),u.gety(A)),z=Je(_,d);if(z.signedDistanceFromCamera>0)m=p[A]=z.point;else{var x=A-h;m=at(0===v?a:new e.Point(u.getx(x),u.gety(x)),_,g,M-v+1,d)}}v+=y,y=g.dist(m)}var w=(M-v)/y,C=m.sub(g),S=C.mult(w)._add(g);S._add(C._unit()._perp()._mult(r*h));var E=b+Math.atan2(m.y-g.y,m.x-g.x);return O.push(S),{point:S,angle:E,path:O}}Ye.prototype.keysLength=function(){return this.boxKeys.length+this.circleKeys.length},Ye.prototype.insert=function(e,t,n,r,o){this._forEachCell(t,n,r,o,this._insertBoxCell,this.boxUid++),this.boxKeys.push(e),this.bboxes.push(t),this.bboxes.push(n),this.bboxes.push(r),this.bboxes.push(o)},Ye.prototype.insertCircle=function(e,t,n,r){this._forEachCell(t-r,n-r,t+r,n+r,this._insertCircleCell,this.circleUid++),this.circleKeys.push(e),this.circles.push(t),this.circles.push(n),this.circles.push(r)},Ye.prototype._insertBoxCell=function(e,t,n,r,o,i){this.boxCells[o].push(i)},Ye.prototype._insertCircleCell=function(e,t,n,r,o,i){this.circleCells[o].push(i)},Ye.prototype._query=function(e,t,n,r,o,i){if(n<0||e>this.width||r<0||t>this.height)return!o&&[];var a=[];if(e<=0&&t<=0&&this.width<=n&&this.height<=r){if(o)return!0;for(var s=0;s<this.boxKeys.length;s++)a.push({key:this.boxKeys[s],x1:this.bboxes[4*s],y1:this.bboxes[4*s+1],x2:this.bboxes[4*s+2],y2:this.bboxes[4*s+3]});for(var l=0;l<this.circleKeys.length;l++){var c=this.circles[3*l],u=this.circles[3*l+1],d=this.circles[3*l+2];a.push({key:this.circleKeys[l],x1:c-d,y1:u-d,x2:c+d,y2:u+d})}return i?a.filter(i):a}return this._forEachCell(e,t,n,r,this._queryCell,a,{hitTest:o,seenUids:{box:{},circle:{}}},i),o?a.length>0:a},Ye.prototype._queryCircle=function(e,t,n,r,o){var i=e-n,a=e+n,s=t-n,l=t+n;if(a<0||i>this.width||l<0||s>this.height)return!r&&[];var c=[];return this._forEachCell(i,s,a,l,this._queryCellCircle,c,{hitTest:r,circle:{x:e,y:t,radius:n},seenUids:{box:{},circle:{}}},o),r?c.length>0:c},Ye.prototype.query=function(e,t,n,r,o){return this._query(e,t,n,r,!1,o)},Ye.prototype.hitTest=function(e,t,n,r,o){return this._query(e,t,n,r,!0,o)},Ye.prototype.hitTestCircle=function(e,t,n,r){return this._queryCircle(e,t,n,!0,r)},Ye.prototype._queryCell=function(e,t,n,r,o,i,a,s){var l=a.seenUids,c=this.boxCells[o];if(null!==c)for(var u=this.bboxes,d=0,p=c;d<p.length;d+=1){var f=p[d];if(!l.box[f]){l.box[f]=!0;var h=4*f;if(e<=u[h+2]&&t<=u[h+3]&&n>=u[h+0]&&r>=u[h+1]&&(!s||s(this.boxKeys[f]))){if(a.hitTest)return i.push(!0),!0;i.push({key:this.boxKeys[f],x1:u[h],y1:u[h+1],x2:u[h+2],y2:u[h+3]})}}}var b=this.circleCells[o];if(null!==b)for(var A=this.circles,m=0,g=b;m<g.length;m+=1){var v=g[m];if(!l.circle[v]){l.circle[v]=!0;var y=3*v;if(this._circleAndRectCollide(A[y],A[y+1],A[y+2],e,t,n,r)&&(!s||s(this.circleKeys[v]))){if(a.hitTest)return i.push(!0),!0;var M=A[y],O=A[y+1],_=A[y+2];i.push({key:this.circleKeys[v],x1:M-_,y1:O-_,x2:M+_,y2:O+_})}}}},Ye.prototype._queryCellCircle=function(e,t,n,r,o,i,a,s){var l=a.circle,c=a.seenUids,u=this.boxCells[o];if(null!==u)for(var d=this.bboxes,p=0,f=u;p<f.length;p+=1){var h=f[p];if(!c.box[h]){c.box[h]=!0;var b=4*h;if(this._circleAndRectCollide(l.x,l.y,l.radius,d[b+0],d[b+1],d[b+2],d[b+3])&&(!s||s(this.boxKeys[h])))return i.push(!0),!0}}var A=this.circleCells[o];if(null!==A)for(var m=this.circles,g=0,v=A;g<v.length;g+=1){var y=v[g];if(!c.circle[y]){c.circle[y]=!0;var M=3*y;if(this._circlesCollide(m[M],m[M+1],m[M+2],l.x,l.y,l.radius)&&(!s||s(this.circleKeys[y])))return i.push(!0),!0}}},Ye.prototype._forEachCell=function(e,t,n,r,o,i,a,s){for(var l=this._convertToXCellCoord(e),c=this._convertToYCellCoord(t),u=this._convertToXCellCoord(n),d=this._convertToYCellCoord(r),p=l;p<=u;p++)for(var f=c;f<=d;f++)if(o.call(this,e,t,n,r,this.xCellCount*f+p,i,a,s))return},Ye.prototype._convertToXCellCoord=function(e){return Math.max(0,Math.min(this.xCellCount-1,Math.floor(e*this.xScale)))},Ye.prototype._convertToYCellCoord=function(e){return Math.max(0,Math.min(this.yCellCount-1,Math.floor(e*this.yScale)))},Ye.prototype._circlesCollide=function(e,t,n,r,o,i){var a=r-e,s=o-t,l=n+i;return l*l>a*a+s*s},Ye.prototype._circleAndRectCollide=function(e,t,n,r,o,i,a){var s=(i-r)/2,l=Math.abs(e-(r+s));if(l>s+n)return!1;var c=(a-o)/2,u=Math.abs(t-(o+c));if(u>c+n)return!1;if(l<=s||u<=c)return!0;var d=l-s,p=u-c;return d*d+p*p<=n*n};var lt=new Float32Array([-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0]);function ct(e,t){for(var n=0;n<e;n++){var r=t.length;t.resize(r+4),t.float32.set(lt,3*r)}}function ut(e,t,n){var r=t[0],o=t[1];return e[0]=n[0]*r+n[4]*o+n[12],e[1]=n[1]*r+n[5]*o+n[13],e[3]=n[3]*r+n[7]*o+n[15],e}var dt=function(e,t,n){void 0===t&&(t=new Ye(e.width+200,e.height+200,25)),void 0===n&&(n=new Ye(e.width+200,e.height+200,25)),this.transform=e,this.grid=t,this.ignoredGrid=n,this.pitchfactor=Math.cos(e._pitch)*e.cameraToCenterDistance,this.screenRightBoundary=e.width+100,this.screenBottomBoundary=e.height+100,this.gridRightBoundary=e.width+200,this.gridBottomBoundary=e.height+200};function pt(t,n,r){return n*(e.EXTENT/(t.tileSize*Math.pow(2,r-t.tileID.overscaledZ)))}dt.prototype.placeCollisionBox=function(e,t,n,r,o){var i=this.projectAndGetPerspectiveRatio(r,e.anchorPointX,e.anchorPointY),a=n*i.perspectiveRatio,s=e.x1*a+i.point.x,l=e.y1*a+i.point.y,c=e.x2*a+i.point.x,u=e.y2*a+i.point.y;return!this.isInsideGrid(s,l,c,u)||!t&&this.grid.hitTest(s,l,c,u,o)?{box:[],offscreen:!1}:{box:[s,l,c,u],offscreen:this.isOffscreen(s,l,c,u)}},dt.prototype.placeCollisionCircles=function(t,n,r,o,i,a,s,l,c,u,d,p,f){var h=[],b=new e.Point(n.anchorX,n.anchorY),A=Je(b,a),m=et(this.transform.cameraToCenterDistance,A.signedDistanceFromCamera),g=(u?i/m:i*m)/e.ONE_EM,v=Je(b,s).point,y=rt(g,o,n.lineOffsetX*g,n.lineOffsetY*g,!1,v,b,n,r,s,{}),M=!1,O=!1,_=!0;if(y){for(var z=.5*p*m+f,x=new e.Point(-100,-100),w=new e.Point(this.screenRightBoundary,this.screenBottomBoundary),C=new Qe,S=y.first,E=y.last,k=[],D=S.path.length-1;D>=1;D--)k.push(S.path[D]);for(var N=1;N<E.path.length;N++)k.push(E.path[N]);var T=2.5*z;if(l){var j=k.map((function(e){return Je(e,l)}));k=j.some((function(e){return e.signedDistanceFromCamera<=0}))?[]:j.map((function(e){return e.point}))}var B=[];if(k.length>0){for(var L=k[0].clone(),R=k[0].clone(),q=1;q<k.length;q++)L.x=Math.min(L.x,k[q].x),L.y=Math.min(L.y,k[q].y),R.x=Math.max(R.x,k[q].x),R.y=Math.max(R.y,k[q].y);B=L.x>=x.x&&R.x<=w.x&&L.y>=x.y&&R.y<=w.y?[k]:R.x<x.x||L.x>w.x||R.y<x.y||L.y>w.y?[]:e.clipLine([k],x.x,x.y,w.x,w.y)}for(var P=0,I=B;P<I.length;P+=1){var W;C.reset(I[P],.25*z),W=C.length<=.5*z?1:Math.ceil(C.paddedLength/T)+1;for(var F=0;F<W;F++){var U=F/Math.max(W-1,1),Z=C.lerp(U),H=Z.x+100,$=Z.y+100;h.push(H,$,z,0);var V=H-z,X=$-z,Q=H+z,Y=$+z;if(_=_&&this.isOffscreen(V,X,Q,Y),O=O||this.isInsideGrid(V,X,Q,Y),!t&&this.grid.hitTestCircle(H,$,z,d)&&(M=!0,!c))return{circles:[],offscreen:!1,collisionDetected:M}}}}return{circles:!c&&M||!O?[]:h,offscreen:_,collisionDetected:M}},dt.prototype.queryRenderedSymbols=function(t){if(0===t.length||0===this.grid.keysLength()&&0===this.ignoredGrid.keysLength())return{};for(var n=[],r=1/0,o=1/0,i=-1/0,a=-1/0,s=0,l=t;s<l.length;s+=1){var c=l[s],u=new e.Point(c.x+100,c.y+100);r=Math.min(r,u.x),o=Math.min(o,u.y),i=Math.max(i,u.x),a=Math.max(a,u.y),n.push(u)}for(var d={},p={},f=0,h=this.grid.query(r,o,i,a).concat(this.ignoredGrid.query(r,o,i,a));f<h.length;f+=1){var b=h[f],A=b.key;if(void 0===d[A.bucketInstanceId]&&(d[A.bucketInstanceId]={}),!d[A.bucketInstanceId][A.featureIndex]){var m=[new e.Point(b.x1,b.y1),new e.Point(b.x2,b.y1),new e.Point(b.x2,b.y2),new e.Point(b.x1,b.y2)];e.polygonIntersectsPolygon(n,m)&&(d[A.bucketInstanceId][A.featureIndex]=!0,void 0===p[A.bucketInstanceId]&&(p[A.bucketInstanceId]=[]),p[A.bucketInstanceId].push(A.featureIndex))}}return p},dt.prototype.insertCollisionBox=function(e,t,n,r,o){(t?this.ignoredGrid:this.grid).insert({bucketInstanceId:n,featureIndex:r,collisionGroupID:o},e[0],e[1],e[2],e[3])},dt.prototype.insertCollisionCircles=function(e,t,n,r,o){for(var i=t?this.ignoredGrid:this.grid,a={bucketInstanceId:n,featureIndex:r,collisionGroupID:o},s=0;s<e.length;s+=4)i.insertCircle(a,e[s],e[s+1],e[s+2])},dt.prototype.projectAndGetPerspectiveRatio=function(t,n,r){var o=[n,r,0,1];return ut(o,o,t),{point:new e.Point((o[0]/o[3]+1)/2*this.transform.width+100,(-o[1]/o[3]+1)/2*this.transform.height+100),perspectiveRatio:.5+this.transform.cameraToCenterDistance/o[3]*.5}},dt.prototype.isOffscreen=function(e,t,n,r){return n<100||e>=this.screenRightBoundary||r<100||t>this.screenBottomBoundary},dt.prototype.isInsideGrid=function(e,t,n,r){return n>=0&&e<this.gridRightBoundary&&r>=0&&t<this.gridBottomBoundary},dt.prototype.getViewportMatrix=function(){var t=e.identity([]);return e.translate(t,t,[-100,-100,0]),t};var ft=function(e,t,n,r){this.opacity=e?Math.max(0,Math.min(1,e.opacity+(e.placed?t:-t))):r&&n?1:0,this.placed=n};ft.prototype.isHidden=function(){return 0===this.opacity&&!this.placed};var ht=function(e,t,n,r,o){this.text=new ft(e?e.text:null,t,n,o),this.icon=new ft(e?e.icon:null,t,r,o)};ht.prototype.isHidden=function(){return this.text.isHidden()&&this.icon.isHidden()};var bt=function(e,t,n){this.text=e,this.icon=t,this.skipFade=n},At=function(){this.invProjMatrix=e.create(),this.viewportMatrix=e.create(),this.circles=[]},mt=function(e,t,n,r,o){this.bucketInstanceId=e,this.featureIndex=t,this.sourceLayerIndex=n,this.bucketIndex=r,this.tileID=o},gt=function(e){this.crossSourceCollisions=e,this.maxGroupID=0,this.collisionGroups={}};function vt(t,n,r,o,i){var a=e.getAnchorAlignment(t),s=-(a.horizontalAlign-.5)*n,l=-(a.verticalAlign-.5)*r,c=e.evaluateVariableOffset(t,o);return new e.Point(s+c[0]*i,l+c[1]*i)}function yt(t,n,r,o,i,a){var s=t.x1,l=t.x2,c=t.y1,u=t.y2,d=t.anchorPointX,p=t.anchorPointY,f=new e.Point(n,r);return o&&f._rotate(i?a:-a),{x1:s+f.x,y1:c+f.y,x2:l+f.x,y2:u+f.y,anchorPointX:d,anchorPointY:p}}gt.prototype.get=function(e){if(this.crossSourceCollisions)return{ID:0,predicate:null};if(!this.collisionGroups[e]){var t=++this.maxGroupID;this.collisionGroups[e]={ID:t,predicate:function(e){return e.collisionGroupID===t}}}return this.collisionGroups[e]};var Mt=function(e,t,n,r){this.transform=e.clone(),this.collisionIndex=new dt(this.transform),this.placements={},this.opacities={},this.variableOffsets={},this.stale=!1,this.commitTime=0,this.fadeDuration=t,this.retainedQueryData={},this.collisionGroups=new gt(n),this.collisionCircleArrays={},this.prevPlacement=r,r&&(r.prevPlacement=void 0),this.placedOrientations={}};function Ot(e,t,n,r,o){e.emplaceBack(t?1:0,n?1:0,r||0,o||0),e.emplaceBack(t?1:0,n?1:0,r||0,o||0),e.emplaceBack(t?1:0,n?1:0,r||0,o||0),e.emplaceBack(t?1:0,n?1:0,r||0,o||0)}Mt.prototype.getBucketParts=function(t,n,r,o){var i=r.getBucket(n),a=r.latestFeatureIndex;if(i&&a&&n.id===i.layerIds[0]){var s=r.collisionBoxArray,l=i.layers[0].layout,c=Math.pow(2,this.transform.zoom-r.tileID.overscaledZ),u=r.tileSize/e.EXTENT,d=this.transform.calculatePosMatrix(r.tileID.toUnwrapped()),p="map"===l.get("text-pitch-alignment"),f="map"===l.get("text-rotation-alignment"),h=pt(r,1,this.transform.zoom),b=Ge(d,p,f,this.transform,h),A=null;if(p){var m=Ke(d,p,f,this.transform,h);A=e.multiply([],this.transform.labelPlaneMatrix,m)}this.retainedQueryData[i.bucketInstanceId]=new mt(i.bucketInstanceId,a,i.sourceLayerIndex,i.index,r.tileID);var g={bucket:i,layout:l,posMatrix:d,textLabelPlaneMatrix:b,labelToScreenMatrix:A,scale:c,textPixelRatio:u,holdingForFade:r.holdingForFade(),collisionBoxArray:s,partiallyEvaluatedTextSize:e.evaluateSizeForZoom(i.textSizeData,this.transform.zoom),collisionGroup:this.collisionGroups.get(i.sourceID)};if(o)for(var v=0,y=i.sortKeyRanges;v<y.length;v+=1){var M=y[v];t.push({sortKey:M.sortKey,symbolInstanceStart:M.symbolInstanceStart,symbolInstanceEnd:M.symbolInstanceEnd,parameters:g})}else t.push({symbolInstanceStart:0,symbolInstanceEnd:i.symbolInstances.length,parameters:g})}},Mt.prototype.attemptAnchorPlacement=function(e,t,n,r,o,i,a,s,l,c,u,d,p,f,h){var b,A=[d.textOffset0,d.textOffset1],m=vt(e,n,r,A,o),g=this.collisionIndex.placeCollisionBox(yt(t,m.x,m.y,i,a,this.transform.angle),u,s,l,c.predicate);if(!h||0!==this.collisionIndex.placeCollisionBox(yt(h,m.x,m.y,i,a,this.transform.angle),u,s,l,c.predicate).box.length)return g.box.length>0?(this.prevPlacement&&this.prevPlacement.variableOffsets[d.crossTileID]&&this.prevPlacement.placements[d.crossTileID]&&this.prevPlacement.placements[d.crossTileID].text&&(b=this.prevPlacement.variableOffsets[d.crossTileID].anchor),this.variableOffsets[d.crossTileID]={textOffset:A,width:n,height:r,anchor:e,textBoxScale:o,prevAnchor:b},this.markUsedJustification(p,e,d,f),p.allowVerticalPlacement&&(this.markUsedOrientation(p,f,d),this.placedOrientations[d.crossTileID]=f),{shift:m,placedGlyphBoxes:g}):void 0},Mt.prototype.placeLayerBucketPart=function(t,n,r){var o=this,i=t.parameters,a=i.bucket,s=i.layout,l=i.posMatrix,c=i.textLabelPlaneMatrix,u=i.labelToScreenMatrix,d=i.textPixelRatio,p=i.holdingForFade,f=i.collisionBoxArray,h=i.partiallyEvaluatedTextSize,b=i.collisionGroup,A=s.get("text-optional"),m=s.get("icon-optional"),g=s.get("text-allow-overlap"),v=s.get("icon-allow-overlap"),y="map"===s.get("text-rotation-alignment"),M="map"===s.get("text-pitch-alignment"),O="none"!==s.get("icon-text-fit"),_="viewport-y"===s.get("symbol-z-order"),z=g&&(v||!a.hasIconData()||m),x=v&&(g||!a.hasTextData()||A);!a.collisionArrays&&f&&a.deserializeCollisionBoxes(f);var w=function(t,i){if(!n[t.crossTileID])if(p)o.placements[t.crossTileID]=new bt(!1,!1,!1);else{var f,_=!1,w=!1,C=!0,S=null,E={box:null,offscreen:null},k={box:null,offscreen:null},D=null,N=null,T=0,j=0,B=0;i.textFeatureIndex?T=i.textFeatureIndex:t.useRuntimeCollisionCircles&&(T=t.featureIndex),i.verticalTextFeatureIndex&&(j=i.verticalTextFeatureIndex);var L=i.textBox;if(L){var R=function(n){var r=e.WritingMode.horizontal;if(a.allowVerticalPlacement&&!n&&o.prevPlacement){var i=o.prevPlacement.placedOrientations[t.crossTileID];i&&(o.placedOrientations[t.crossTileID]=i,o.markUsedOrientation(a,r=i,t))}return r},q=function(n,r){if(a.allowVerticalPlacement&&t.numVerticalGlyphVertices>0&&i.verticalTextBox)for(var o=0,s=a.writingModes;o<s.length&&(s[o]===e.WritingMode.vertical?(E=r(),k=E):E=n(),!(E&&E.box&&E.box.length));o+=1);else E=n()};if(s.get("text-variable-anchor")){var P=s.get("text-variable-anchor");if(o.prevPlacement&&o.prevPlacement.variableOffsets[t.crossTileID]){var I=o.prevPlacement.variableOffsets[t.crossTileID];P.indexOf(I.anchor)>0&&(P=P.filter((function(e){return e!==I.anchor}))).unshift(I.anchor)}var W=function(e,n,r){for(var i=e.x2-e.x1,s=e.y2-e.y1,c=t.textBoxScale,u=O&&!v?n:null,p={box:[],offscreen:!1},f=g?2*P.length:P.length,h=0;h<f;++h){var A=o.attemptAnchorPlacement(P[h%P.length],e,i,s,c,y,M,d,l,b,h>=P.length,t,a,r,u);if(A&&(p=A.placedGlyphBoxes)&&p.box&&p.box.length){_=!0,S=A.shift;break}}return p};q((function(){return W(L,i.iconBox,e.WritingMode.horizontal)}),(function(){var n=i.verticalTextBox;return a.allowVerticalPlacement&&!(E&&E.box&&E.box.length)&&t.numVerticalGlyphVertices>0&&n?W(n,i.verticalIconBox,e.WritingMode.vertical):{box:null,offscreen:null}})),E&&(_=E.box,C=E.offscreen);var F=R(E&&E.box);if(!_&&o.prevPlacement){var U=o.prevPlacement.variableOffsets[t.crossTileID];U&&(o.variableOffsets[t.crossTileID]=U,o.markUsedJustification(a,U.anchor,t,F))}}else{var Z=function(e,n){var r=o.collisionIndex.placeCollisionBox(e,g,d,l,b.predicate);return r&&r.box&&r.box.length&&(o.markUsedOrientation(a,n,t),o.placedOrientations[t.crossTileID]=n),r};q((function(){return Z(L,e.WritingMode.horizontal)}),(function(){var n=i.verticalTextBox;return a.allowVerticalPlacement&&t.numVerticalGlyphVertices>0&&n?Z(n,e.WritingMode.vertical):{box:null,offscreen:null}})),R(E&&E.box&&E.box.length)}}if(_=(f=E)&&f.box&&f.box.length>0,C=f&&f.offscreen,t.useRuntimeCollisionCircles){var H=a.text.placedSymbolArray.get(t.centerJustifiedTextSymbolIndex),$=e.evaluateSizeForFeature(a.textSizeData,h,H),V=s.get("text-padding");D=o.collisionIndex.placeCollisionCircles(g,H,a.lineVertexArray,a.glyphOffsetArray,$,l,c,u,r,M,b.predicate,t.collisionCircleDiameter,V),_=g||D.circles.length>0&&!D.collisionDetected,C=C&&D.offscreen}if(i.iconFeatureIndex&&(B=i.iconFeatureIndex),i.iconBox){var X=function(e){var t=O&&S?yt(e,S.x,S.y,y,M,o.transform.angle):e;return o.collisionIndex.placeCollisionBox(t,v,d,l,b.predicate)};w=k&&k.box&&k.box.length&&i.verticalIconBox?(N=X(i.verticalIconBox)).box.length>0:(N=X(i.iconBox)).box.length>0,C=C&&N.offscreen}var Q=A||0===t.numHorizontalGlyphVertices&&0===t.numVerticalGlyphVertices,Y=m||0===t.numIconVertices;if(Q||Y?Y?Q||(w=w&&_):_=w&&_:w=_=w&&_,_&&f&&f.box&&o.collisionIndex.insertCollisionBox(f.box,s.get("text-ignore-placement"),a.bucketInstanceId,k&&k.box&&j?j:T,b.ID),w&&N&&o.collisionIndex.insertCollisionBox(N.box,s.get("icon-ignore-placement"),a.bucketInstanceId,B,b.ID),D&&(_&&o.collisionIndex.insertCollisionCircles(D.circles,s.get("text-ignore-placement"),a.bucketInstanceId,T,b.ID),r)){var G=a.bucketInstanceId,K=o.collisionCircleArrays[G];void 0===K&&(K=o.collisionCircleArrays[G]=new At);for(var J=0;J<D.circles.length;J+=4)K.circles.push(D.circles[J+0]),K.circles.push(D.circles[J+1]),K.circles.push(D.circles[J+2]),K.circles.push(D.collisionDetected?1:0)}o.placements[t.crossTileID]=new bt(_||z,w||x,C||a.justReloaded),n[t.crossTileID]=!0}};if(_)for(var C=a.getSortedSymbolIndexes(this.transform.angle),S=C.length-1;S>=0;--S){var E=C[S];w(a.symbolInstances.get(E),a.collisionArrays[E])}else for(var k=t.symbolInstanceStart;k<t.symbolInstanceEnd;k++)w(a.symbolInstances.get(k),a.collisionArrays[k]);if(r&&a.bucketInstanceId in this.collisionCircleArrays){var D=this.collisionCircleArrays[a.bucketInstanceId];e.invert(D.invProjMatrix,l),D.viewportMatrix=this.collisionIndex.getViewportMatrix()}a.justReloaded=!1},Mt.prototype.markUsedJustification=function(t,n,r,o){var i;i=o===e.WritingMode.vertical?r.verticalPlacedTextSymbolIndex:{left:r.leftJustifiedTextSymbolIndex,center:r.centerJustifiedTextSymbolIndex,right:r.rightJustifiedTextSymbolIndex}[e.getAnchorJustification(n)];for(var a=0,s=[r.leftJustifiedTextSymbolIndex,r.centerJustifiedTextSymbolIndex,r.rightJustifiedTextSymbolIndex,r.verticalPlacedTextSymbolIndex];a<s.length;a+=1){var l=s[a];l>=0&&(t.text.placedSymbolArray.get(l).crossTileID=i>=0&&l!==i?0:r.crossTileID)}},Mt.prototype.markUsedOrientation=function(t,n,r){for(var o=n===e.WritingMode.horizontal||n===e.WritingMode.horizontalOnly?n:0,i=n===e.WritingMode.vertical?n:0,a=0,s=[r.leftJustifiedTextSymbolIndex,r.centerJustifiedTextSymbolIndex,r.rightJustifiedTextSymbolIndex];a<s.length;a+=1)t.text.placedSymbolArray.get(s[a]).placedOrientation=o;r.verticalPlacedTextSymbolIndex&&(t.text.placedSymbolArray.get(r.verticalPlacedTextSymbolIndex).placedOrientation=i)},Mt.prototype.commit=function(e){this.commitTime=e,this.zoomAtLastRecencyCheck=this.transform.zoom;var t=this.prevPlacement,n=!1;this.prevZoomAdjustment=t?t.zoomAdjustment(this.transform.zoom):0;var r=t?t.symbolFadeChange(e):1,o=t?t.opacities:{},i=t?t.variableOffsets:{},a=t?t.placedOrientations:{};for(var s in this.placements){var l=this.placements[s],c=o[s];c?(this.opacities[s]=new ht(c,r,l.text,l.icon),n=n||l.text!==c.text.placed||l.icon!==c.icon.placed):(this.opacities[s]=new ht(null,r,l.text,l.icon,l.skipFade),n=n||l.text||l.icon)}for(var u in o){var d=o[u];if(!this.opacities[u]){var p=new ht(d,r,!1,!1);p.isHidden()||(this.opacities[u]=p,n=n||d.text.placed||d.icon.placed)}}for(var f in i)this.variableOffsets[f]||!this.opacities[f]||this.opacities[f].isHidden()||(this.variableOffsets[f]=i[f]);for(var h in a)this.placedOrientations[h]||!this.opacities[h]||this.opacities[h].isHidden()||(this.placedOrientations[h]=a[h]);n?this.lastPlacementChangeTime=e:"number"!=typeof this.lastPlacementChangeTime&&(this.lastPlacementChangeTime=t?t.lastPlacementChangeTime:e)},Mt.prototype.updateLayerOpacities=function(e,t){for(var n={},r=0,o=t;r<o.length;r+=1){var i=o[r],a=i.getBucket(e);a&&i.latestFeatureIndex&&e.id===a.layerIds[0]&&this.updateBucketOpacities(a,n,i.collisionBoxArray)}},Mt.prototype.updateBucketOpacities=function(t,n,r){var o=this;t.hasTextData()&&t.text.opacityVertexArray.clear(),t.hasIconData()&&t.icon.opacityVertexArray.clear(),t.hasIconCollisionBoxData()&&t.iconCollisionBox.collisionVertexArray.clear(),t.hasTextCollisionBoxData()&&t.textCollisionBox.collisionVertexArray.clear();var i=t.layers[0].layout,a=new ht(null,0,!1,!1,!0),s=i.get("text-allow-overlap"),l=i.get("icon-allow-overlap"),c=i.get("text-variable-anchor"),u="map"===i.get("text-rotation-alignment"),d="map"===i.get("text-pitch-alignment"),p="none"!==i.get("icon-text-fit"),f=new ht(null,0,s&&(l||!t.hasIconData()||i.get("icon-optional")),l&&(s||!t.hasTextData()||i.get("text-optional")),!0);!t.collisionArrays&&r&&(t.hasIconCollisionBoxData()||t.hasTextCollisionBoxData())&&t.deserializeCollisionBoxes(r);for(var h=function(e,t,n){for(var r=0;r<t/4;r++)e.opacityVertexArray.emplaceBack(n)},b=function(r){var i=t.symbolInstances.get(r),s=i.numHorizontalGlyphVertices,l=i.numVerticalGlyphVertices,b=i.crossTileID,A=o.opacities[b];n[b]?A=a:A||(o.opacities[b]=A=f),n[b]=!0;var m=i.numIconVertices>0,g=o.placedOrientations[i.crossTileID],v=g===e.WritingMode.vertical,y=g===e.WritingMode.horizontal||g===e.WritingMode.horizontalOnly;if(s>0||l>0){var M=kt(A.text);h(t.text,s,v?Dt:M),h(t.text,l,y?Dt:M);var O=A.text.isHidden();[i.rightJustifiedTextSymbolIndex,i.centerJustifiedTextSymbolIndex,i.leftJustifiedTextSymbolIndex].forEach((function(e){e>=0&&(t.text.placedSymbolArray.get(e).hidden=O||v?1:0)})),i.verticalPlacedTextSymbolIndex>=0&&(t.text.placedSymbolArray.get(i.verticalPlacedTextSymbolIndex).hidden=O||y?1:0);var _=o.variableOffsets[i.crossTileID];_&&o.markUsedJustification(t,_.anchor,i,g);var z=o.placedOrientations[i.crossTileID];z&&(o.markUsedJustification(t,"left",i,z),o.markUsedOrientation(t,z,i))}if(m){var x=kt(A.icon),w=!(p&&i.verticalPlacedIconSymbolIndex&&v);i.placedIconSymbolIndex>=0&&(h(t.icon,i.numIconVertices,w?x:Dt),t.icon.placedSymbolArray.get(i.placedIconSymbolIndex).hidden=A.icon.isHidden()),i.verticalPlacedIconSymbolIndex>=0&&(h(t.icon,i.numVerticalIconVertices,w?Dt:x),t.icon.placedSymbolArray.get(i.verticalPlacedIconSymbolIndex).hidden=A.icon.isHidden())}if(t.hasIconCollisionBoxData()||t.hasTextCollisionBoxData()){var C=t.collisionArrays[r];if(C){var S=new e.Point(0,0);if(C.textBox||C.verticalTextBox){var E=!0;if(c){var k=o.variableOffsets[b];k?(S=vt(k.anchor,k.width,k.height,k.textOffset,k.textBoxScale),u&&S._rotate(d?o.transform.angle:-o.transform.angle)):E=!1}C.textBox&&Ot(t.textCollisionBox.collisionVertexArray,A.text.placed,!E||v,S.x,S.y),C.verticalTextBox&&Ot(t.textCollisionBox.collisionVertexArray,A.text.placed,!E||y,S.x,S.y)}var D=Boolean(!y&&C.verticalIconBox);C.iconBox&&Ot(t.iconCollisionBox.collisionVertexArray,A.icon.placed,D,p?S.x:0,p?S.y:0),C.verticalIconBox&&Ot(t.iconCollisionBox.collisionVertexArray,A.icon.placed,!D,p?S.x:0,p?S.y:0)}}},A=0;A<t.symbolInstances.length;A++)b(A);if(t.sortFeatures(this.transform.angle),this.retainedQueryData[t.bucketInstanceId]&&(this.retainedQueryData[t.bucketInstanceId].featureSortOrder=t.featureSortOrder),t.hasTextData()&&t.text.opacityVertexBuffer&&t.text.opacityVertexBuffer.updateData(t.text.opacityVertexArray),t.hasIconData()&&t.icon.opacityVertexBuffer&&t.icon.opacityVertexBuffer.updateData(t.icon.opacityVertexArray),t.hasIconCollisionBoxData()&&t.iconCollisionBox.collisionVertexBuffer&&t.iconCollisionBox.collisionVertexBuffer.updateData(t.iconCollisionBox.collisionVertexArray),t.hasTextCollisionBoxData()&&t.textCollisionBox.collisionVertexBuffer&&t.textCollisionBox.collisionVertexBuffer.updateData(t.textCollisionBox.collisionVertexArray),t.bucketInstanceId in this.collisionCircleArrays){var m=this.collisionCircleArrays[t.bucketInstanceId];t.placementInvProjMatrix=m.invProjMatrix,t.placementViewportMatrix=m.viewportMatrix,t.collisionCircleArray=m.circles,delete this.collisionCircleArrays[t.bucketInstanceId]}},Mt.prototype.symbolFadeChange=function(e){return 0===this.fadeDuration?1:(e-this.commitTime)/this.fadeDuration+this.prevZoomAdjustment},Mt.prototype.zoomAdjustment=function(e){return Math.max(0,(this.transform.zoom-e)/1.5)},Mt.prototype.hasTransitions=function(e){return this.stale||e-this.lastPlacementChangeTime<this.fadeDuration},Mt.prototype.stillRecent=function(e,t){var n=this.zoomAtLastRecencyCheck===t?1-this.zoomAdjustment(t):1;return this.zoomAtLastRecencyCheck=t,this.commitTime+this.fadeDuration*n>e},Mt.prototype.setStale=function(){this.stale=!0};var _t=Math.pow(2,25),zt=Math.pow(2,24),xt=Math.pow(2,17),wt=Math.pow(2,16),Ct=Math.pow(2,9),St=Math.pow(2,8),Et=Math.pow(2,1);function kt(e){if(0===e.opacity&&!e.placed)return 0;if(1===e.opacity&&e.placed)return 4294967295;var t=e.placed?1:0,n=Math.floor(127*e.opacity);return n*_t+t*zt+n*xt+t*wt+n*Ct+t*St+n*Et+t}var Dt=0,Nt=function(e){this._sortAcrossTiles="viewport-y"!==e.layout.get("symbol-z-order")&&void 0!==e.layout.get("symbol-sort-key").constantOr(1),this._currentTileIndex=0,this._currentPartIndex=0,this._seenCrossTileIDs={},this._bucketParts=[]};Nt.prototype.continuePlacement=function(e,t,n,r,o){for(var i=this._bucketParts;this._currentTileIndex<e.length;)if(t.getBucketParts(i,r,e[this._currentTileIndex],this._sortAcrossTiles),this._currentTileIndex++,o())return!0;for(this._sortAcrossTiles&&(this._sortAcrossTiles=!1,i.sort((function(e,t){return e.sortKey-t.sortKey})));this._currentPartIndex<i.length;)if(t.placeLayerBucketPart(i[this._currentPartIndex],this._seenCrossTileIDs,n),this._currentPartIndex++,o())return!0;return!1};var Tt=function(e,t,n,r,o,i,a){this.placement=new Mt(e,o,i,a),this._currentPlacementIndex=t.length-1,this._forceFullPlacement=n,this._showCollisionBoxes=r,this._done=!1};Tt.prototype.isDone=function(){return this._done},Tt.prototype.continuePlacement=function(t,n,r){for(var o=this,i=e.browser.now(),a=function(){var t=e.browser.now()-i;return!o._forceFullPlacement&&t>2};this._currentPlacementIndex>=0;){var s=n[t[this._currentPlacementIndex]],l=this.placement.collisionIndex.transform.zoom;if("symbol"===s.type&&(!s.minzoom||s.minzoom<=l)&&(!s.maxzoom||s.maxzoom>l)){if(this._inProgressLayer||(this._inProgressLayer=new Nt(s)),this._inProgressLayer.continuePlacement(r[s.source],this.placement,this._showCollisionBoxes,s,a))return;delete this._inProgressLayer}this._currentPlacementIndex--}this._done=!0},Tt.prototype.commit=function(e){return this.placement.commit(e),this.placement};var jt=512/e.EXTENT/2,Bt=function(e,t,n){this.tileID=e,this.indexedSymbolInstances={},this.bucketInstanceId=n;for(var r=0;r<t.length;r++){var o=t.get(r),i=o.key;this.indexedSymbolInstances[i]||(this.indexedSymbolInstances[i]=[]),this.indexedSymbolInstances[i].push({crossTileID:o.crossTileID,coord:this.getScaledCoordinates(o,e)})}};Bt.prototype.getScaledCoordinates=function(t,n){var r=jt/Math.pow(2,n.canonical.z-this.tileID.canonical.z);return{x:Math.floor((n.canonical.x*e.EXTENT+t.anchorX)*r),y:Math.floor((n.canonical.y*e.EXTENT+t.anchorY)*r)}},Bt.prototype.findMatches=function(e,t,n){for(var r=this.tileID.canonical.z<t.canonical.z?1:Math.pow(2,this.tileID.canonical.z-t.canonical.z),o=0;o<e.length;o++){var i=e.get(o);if(!i.crossTileID){var a=this.indexedSymbolInstances[i.key];if(a)for(var s=this.getScaledCoordinates(i,t),l=0,c=a;l<c.length;l+=1){var u=c[l];if(Math.abs(u.coord.x-s.x)<=r&&Math.abs(u.coord.y-s.y)<=r&&!n[u.crossTileID]){n[u.crossTileID]=!0,i.crossTileID=u.crossTileID;break}}}}};var Lt=function(){this.maxCrossTileID=0};Lt.prototype.generate=function(){return++this.maxCrossTileID};var Rt=function(){this.indexes={},this.usedCrossTileIDs={},this.lng=0};Rt.prototype.handleWrapJump=function(e){var t=Math.round((e-this.lng)/360);if(0!==t)for(var n in this.indexes){var r=this.indexes[n],o={};for(var i in r){var a=r[i];a.tileID=a.tileID.unwrapTo(a.tileID.wrap+t),o[a.tileID.key]=a}this.indexes[n]=o}this.lng=e},Rt.prototype.addBucket=function(e,t,n){if(this.indexes[e.overscaledZ]&&this.indexes[e.overscaledZ][e.key]){if(this.indexes[e.overscaledZ][e.key].bucketInstanceId===t.bucketInstanceId)return!1;this.removeBucketCrossTileIDs(e.overscaledZ,this.indexes[e.overscaledZ][e.key])}for(var r=0;r<t.symbolInstances.length;r++)t.symbolInstances.get(r).crossTileID=0;this.usedCrossTileIDs[e.overscaledZ]||(this.usedCrossTileIDs[e.overscaledZ]={});var o=this.usedCrossTileIDs[e.overscaledZ];for(var i in this.indexes){var a=this.indexes[i];if(Number(i)>e.overscaledZ)for(var s in a){var l=a[s];l.tileID.isChildOf(e)&&l.findMatches(t.symbolInstances,e,o)}else{var c=a[e.scaledTo(Number(i)).key];c&&c.findMatches(t.symbolInstances,e,o)}}for(var u=0;u<t.symbolInstances.length;u++){var d=t.symbolInstances.get(u);d.crossTileID||(d.crossTileID=n.generate(),o[d.crossTileID]=!0)}return void 0===this.indexes[e.overscaledZ]&&(this.indexes[e.overscaledZ]={}),this.indexes[e.overscaledZ][e.key]=new Bt(e,t.symbolInstances,t.bucketInstanceId),!0},Rt.prototype.removeBucketCrossTileIDs=function(e,t){for(var n in t.indexedSymbolInstances)for(var r=0,o=t.indexedSymbolInstances[n];r<o.length;r+=1)delete this.usedCrossTileIDs[e][o[r].crossTileID]},Rt.prototype.removeStaleBuckets=function(e){var t=!1;for(var n in this.indexes){var r=this.indexes[n];for(var o in r)e[r[o].bucketInstanceId]||(this.removeBucketCrossTileIDs(n,r[o]),delete r[o],t=!0)}return t};var qt=function(){this.layerIndexes={},this.crossTileIDs=new Lt,this.maxBucketInstanceId=0,this.bucketsInCurrentPlacement={}};qt.prototype.addLayer=function(e,t,n){var r=this.layerIndexes[e.id];void 0===r&&(r=this.layerIndexes[e.id]=new Rt);var o=!1,i={};r.handleWrapJump(n);for(var a=0,s=t;a<s.length;a+=1){var l=s[a],c=l.getBucket(e);c&&e.id===c.layerIds[0]&&(c.bucketInstanceId||(c.bucketInstanceId=++this.maxBucketInstanceId),r.addBucket(l.tileID,c,this.crossTileIDs)&&(o=!0),i[c.bucketInstanceId]=!0)}return r.removeStaleBuckets(i)&&(o=!0),o},qt.prototype.pruneUnusedLayers=function(e){var t={};for(var n in e.forEach((function(e){t[e]=!0})),this.layerIndexes)t[n]||delete this.layerIndexes[n]};var Pt=function(t,n){return e.emitValidationErrors(t,n&&n.filter((function(e){return"source.canvas"!==e.identifier})))},It=e.pick(We,["addLayer","removeLayer","setPaintProperty","setLayoutProperty","setFilter","addSource","removeSource","setLayerZoomRange","setLight","setTransition","setGeoJSONSourceData"]),Wt=e.pick(We,["setCenter","setZoom","setBearing","setPitch"]),Ft=function(){var t={},n=e.styleSpec.$version;for(var r in e.styleSpec.$root){var o,i=e.styleSpec.$root[r];i.required&&null!=(o="version"===r?n:"array"===i.type?[]:{})&&(t[r]=o)}return t}(),Ut=function(t){function n(r,o){var i=this;void 0===o&&(o={}),t.call(this),this.map=r,this.dispatcher=new z(qe(),this),this.imageManager=new p,this.imageManager.setEventedParent(this),this.glyphManager=new v(r._requestManager,o.localIdeographFontFamily),this.lineAtlas=new _(256,512),this.crossTileSymbolIndex=new qt,this._layers={},this._serializedLayers={},this._order=[],this.sourceCaches={},this.zoomHistory=new e.ZoomHistory,this._loaded=!1,this._availableImages=[],this._resetUpdates(),this.dispatcher.broadcast("setReferrer",e.getReferrer());var a=this;this._rtlTextPluginCallback=n.registerForPluginStateChange((function(t){a.dispatcher.broadcast("syncRTLPluginState",{pluginStatus:t.pluginStatus,pluginURL:t.pluginURL},(function(t,n){if(e.triggerPluginCompletionEvent(t),n&&n.every((function(e){return e})))for(var r in a.sourceCaches)a.sourceCaches[r].reload()}))})),this.on("data",(function(e){if("source"===e.dataType&&"metadata"===e.sourceDataType){var t=i.sourceCaches[e.sourceId];if(t){var n=t.getSource();if(n&&n.vectorLayerIds)for(var r in i._layers){var o=i._layers[r];o.source===n.id&&i._validateLayer(o)}}}}))}return t&&(n.__proto__=t),(n.prototype=Object.create(t&&t.prototype)).constructor=n,n.prototype.loadURL=function(t,n){var r=this;void 0===n&&(n={}),this.fire(new e.Event("dataloading",{dataType:"style"}));var o="boolean"==typeof n.validate?n.validate:!e.isMapboxURL(t);t=this.map._requestManager.normalizeStyleURL(t,n.accessToken);var i=this.map._requestManager.transformRequest(t,e.ResourceType.Style);this._request=e.getJSON(i,(function(t,n){r._request=null,t?r.fire(new e.ErrorEvent(t)):n&&r._load(n,o)}))},n.prototype.loadJSON=function(t,n){var r=this;void 0===n&&(n={}),this.fire(new e.Event("dataloading",{dataType:"style"})),this._request=e.browser.frame((function(){r._request=null,r._load(t,!1!==n.validate)}))},n.prototype.loadEmpty=function(){this.fire(new e.Event("dataloading",{dataType:"style"})),this._load(Ft,!1)},n.prototype._load=function(t,n){if(!n||!Pt(this,e.validateStyle(t))){for(var r in this._loaded=!0,this.stylesheet=t,t.sources)this.addSource(r,t.sources[r],{validate:!1});t.sprite?this._loadSprite(t.sprite):this.imageManager.setLoaded(!0),this.glyphManager.setURL(t.glyphs);var o=Ie(this.stylesheet.layers);this._order=o.map((function(e){return e.id})),this._layers={},this._serializedLayers={};for(var i=0,a=o;i<a.length;i+=1){var s=a[i];(s=e.createStyleLayer(s)).setEventedParent(this,{layer:{id:s.id}}),this._layers[s.id]=s,this._serializedLayers[s.id]=s.serialize()}this.dispatcher.broadcast("setLayers",this._serializeLayers(this._order)),this.light=new O(this.stylesheet.light),this.fire(new e.Event("data",{dataType:"style"})),this.fire(new e.Event("style.load"))}},n.prototype._loadSprite=function(t){var n=this;this._spriteRequest=function(t,n,r){var o,i,a,s=e.browser.devicePixelRatio>1?"@2x":"",l=e.getJSON(n.transformRequest(n.normalizeSpriteURL(t,s,".json"),e.ResourceType.SpriteJSON),(function(e,t){l=null,a||(a=e,o=t,u())})),c=e.getImage(n.transformRequest(n.normalizeSpriteURL(t,s,".png"),e.ResourceType.SpriteImage),(function(e,t){c=null,a||(a=e,i=t,u())}));function u(){if(a)r(a);else if(o&&i){var t=e.browser.getImageData(i),n={};for(var s in o){var l=o[s],c=l.width,u=l.height,d=l.x,p=l.y,f=l.sdf,h=l.pixelRatio,b=l.stretchX,A=l.stretchY,m=l.content,g=new e.RGBAImage({width:c,height:u});e.RGBAImage.copy(t,g,{x:d,y:p},{x:0,y:0},{width:c,height:u}),n[s]={data:g,pixelRatio:h,sdf:f,stretchX:b,stretchY:A,content:m}}r(null,n)}}return{cancel:function(){l&&(l.cancel(),l=null),c&&(c.cancel(),c=null)}}}(t,this.map._requestManager,(function(t,r){if(n._spriteRequest=null,t)n.fire(new e.ErrorEvent(t));else if(r)for(var o in r)n.imageManager.addImage(o,r[o]);n.imageManager.setLoaded(!0),n._availableImages=n.imageManager.listImages(),n.dispatcher.broadcast("setImages",n._availableImages),n.fire(new e.Event("data",{dataType:"style"}))}))},n.prototype._validateLayer=function(t){var n=this.sourceCaches[t.source];if(n){var r=t.sourceLayer;if(r){var o=n.getSource();("geojson"===o.type||o.vectorLayerIds&&-1===o.vectorLayerIds.indexOf(r))&&this.fire(new e.ErrorEvent(new Error('Source layer "'+r+'" does not exist on source "'+o.id+'" as specified by style layer "'+t.id+'"')))}}},n.prototype.loaded=function(){if(!this._loaded)return!1;if(Object.keys(this._updatedSources).length)return!1;for(var e in this.sourceCaches)if(!this.sourceCaches[e].loaded())return!1;return!!this.imageManager.isLoaded()},n.prototype._serializeLayers=function(e){for(var t=[],n=0,r=e;n<r.length;n+=1){var o=this._layers[r[n]];"custom"!==o.type&&t.push(o.serialize())}return t},n.prototype.hasTransitions=function(){if(this.light&&this.light.hasTransition())return!0;for(var e in this.sourceCaches)if(this.sourceCaches[e].hasTransition())return!0;for(var t in this._layers)if(this._layers[t].hasTransition())return!0;return!1},n.prototype._checkLoaded=function(){if(!this._loaded)throw new Error("Style is not done loading")},n.prototype.update=function(t){if(this._loaded){var n=this._changed;if(this._changed){var r=Object.keys(this._updatedLayers),o=Object.keys(this._removedLayers);for(var i in(r.length||o.length)&&this._updateWorkerLayers(r,o),this._updatedSources){var a=this._updatedSources[i];"reload"===a?this._reloadSource(i):"clear"===a&&this._clearSource(i)}for(var s in this._updateTilesForChangedImages(),this._updatedPaintProps)this._layers[s].updateTransitions(t);this.light.updateTransitions(t),this._resetUpdates()}var l={};for(var c in this.sourceCaches){var u=this.sourceCaches[c];l[c]=u.used,u.used=!1}for(var d=0,p=this._order;d<p.length;d+=1){var f=this._layers[p[d]];f.recalculate(t,this._availableImages),!f.isHidden(t.zoom)&&f.source&&(this.sourceCaches[f.source].used=!0)}for(var h in l){var b=this.sourceCaches[h];l[h]!==b.used&&b.fire(new e.Event("data",{sourceDataType:"visibility",dataType:"source",sourceId:h}))}this.light.recalculate(t),this.z=t.zoom,n&&this.fire(new e.Event("data",{dataType:"style"}))}},n.prototype._updateTilesForChangedImages=function(){var e=Object.keys(this._changedImages);if(e.length){for(var t in this.sourceCaches)this.sourceCaches[t].reloadTilesForDependencies(["icons","patterns"],e);this._changedImages={}}},n.prototype._updateWorkerLayers=function(e,t){this.dispatcher.broadcast("updateLayers",{layers:this._serializeLayers(e),removedIds:t})},n.prototype._resetUpdates=function(){this._changed=!1,this._updatedLayers={},this._removedLayers={},this._updatedSources={},this._updatedPaintProps={},this._changedImages={}},n.prototype.setState=function(t){var n=this;if(this._checkLoaded(),Pt(this,e.validateStyle(t)))return!1;(t=e.clone$1(t)).layers=Ie(t.layers);var r=function(t,n){if(!t)return[{command:We.setStyle,args:[n]}];var r=[];try{if(!e.deepEqual(t.version,n.version))return[{command:We.setStyle,args:[n]}];e.deepEqual(t.center,n.center)||r.push({command:We.setCenter,args:[n.center]}),e.deepEqual(t.zoom,n.zoom)||r.push({command:We.setZoom,args:[n.zoom]}),e.deepEqual(t.bearing,n.bearing)||r.push({command:We.setBearing,args:[n.bearing]}),e.deepEqual(t.pitch,n.pitch)||r.push({command:We.setPitch,args:[n.pitch]}),e.deepEqual(t.sprite,n.sprite)||r.push({command:We.setSprite,args:[n.sprite]}),e.deepEqual(t.glyphs,n.glyphs)||r.push({command:We.setGlyphs,args:[n.glyphs]}),e.deepEqual(t.transition,n.transition)||r.push({command:We.setTransition,args:[n.transition]}),e.deepEqual(t.light,n.light)||r.push({command:We.setLight,args:[n.light]});var o={},i=[];!function(t,n,r,o){var i;for(i in n=n||{},t=t||{})t.hasOwnProperty(i)&&(n.hasOwnProperty(i)||Ue(i,r,o));for(i in n)n.hasOwnProperty(i)&&(t.hasOwnProperty(i)?e.deepEqual(t[i],n[i])||("geojson"===t[i].type&&"geojson"===n[i].type&&He(t,n,i)?r.push({command:We.setGeoJSONSourceData,args:[i,n[i].data]}):Ze(i,n,r,o)):Fe(i,n,r))}(t.sources,n.sources,i,o);var a=[];t.layers&&t.layers.forEach((function(e){o[e.source]?r.push({command:We.removeLayer,args:[e.id]}):a.push(e)})),r=r.concat(i),function(t,n,r){n=n||[];var o,i,a,s,l,c,u,d=(t=t||[]).map(Ve),p=n.map(Ve),f=t.reduce(Xe,{}),h=n.reduce(Xe,{}),b=d.slice(),A=Object.create(null);for(o=0,i=0;o<d.length;o++)h.hasOwnProperty(a=d[o])?i++:(r.push({command:We.removeLayer,args:[a]}),b.splice(b.indexOf(a,i),1));for(o=0,i=0;o<p.length;o++)b[b.length-1-o]!==(a=p[p.length-1-o])&&(f.hasOwnProperty(a)?(r.push({command:We.removeLayer,args:[a]}),b.splice(b.lastIndexOf(a,b.length-i),1)):i++,r.push({command:We.addLayer,args:[h[a],c=b[b.length-o]]}),b.splice(b.length-o,0,a),A[a]=!0);for(o=0;o<p.length;o++)if(s=f[a=p[o]],l=h[a],!A[a]&&!e.deepEqual(s,l))if(e.deepEqual(s.source,l.source)&&e.deepEqual(s["source-layer"],l["source-layer"])&&e.deepEqual(s.type,l.type)){for(u in $e(s.layout,l.layout,r,a,null,We.setLayoutProperty),$e(s.paint,l.paint,r,a,null,We.setPaintProperty),e.deepEqual(s.filter,l.filter)||r.push({command:We.setFilter,args:[a,l.filter]}),e.deepEqual(s.minzoom,l.minzoom)&&e.deepEqual(s.maxzoom,l.maxzoom)||r.push({command:We.setLayerZoomRange,args:[a,l.minzoom,l.maxzoom]}),s)s.hasOwnProperty(u)&&"layout"!==u&&"paint"!==u&&"filter"!==u&&"metadata"!==u&&"minzoom"!==u&&"maxzoom"!==u&&(0===u.indexOf("paint.")?$e(s[u],l[u],r,a,u.slice(6),We.setPaintProperty):e.deepEqual(s[u],l[u])||r.push({command:We.setLayerProperty,args:[a,u,l[u]]}));for(u in l)l.hasOwnProperty(u)&&!s.hasOwnProperty(u)&&"layout"!==u&&"paint"!==u&&"filter"!==u&&"metadata"!==u&&"minzoom"!==u&&"maxzoom"!==u&&(0===u.indexOf("paint.")?$e(s[u],l[u],r,a,u.slice(6),We.setPaintProperty):e.deepEqual(s[u],l[u])||r.push({command:We.setLayerProperty,args:[a,u,l[u]]}))}else r.push({command:We.removeLayer,args:[a]}),c=b[b.lastIndexOf(a)+1],r.push({command:We.addLayer,args:[l,c]})}(a,n.layers,r)}catch(e){console.warn("Unable to compute style diff:",e),r=[{command:We.setStyle,args:[n]}]}return r}(this.serialize(),t).filter((function(e){return!(e.command in Wt)}));if(0===r.length)return!1;var o=r.filter((function(e){return!(e.command in It)}));if(o.length>0)throw new Error("Unimplemented: "+o.map((function(e){return e.command})).join(", ")+".");return r.forEach((function(e){"setTransition"!==e.command&&n[e.command].apply(n,e.args)})),this.stylesheet=t,!0},n.prototype.addImage=function(t,n){if(this.getImage(t))return this.fire(new e.ErrorEvent(new Error("An image with this name already exists.")));this.imageManager.addImage(t,n),this._afterImageUpdated(t)},n.prototype.updateImage=function(e,t){this.imageManager.updateImage(e,t)},n.prototype.getImage=function(e){return this.imageManager.getImage(e)},n.prototype.removeImage=function(t){if(!this.getImage(t))return this.fire(new e.ErrorEvent(new Error("No image with this name exists.")));this.imageManager.removeImage(t),this._afterImageUpdated(t)},n.prototype._afterImageUpdated=function(t){this._availableImages=this.imageManager.listImages(),this._changedImages[t]=!0,this._changed=!0,this.dispatcher.broadcast("setImages",this._availableImages),this.fire(new e.Event("data",{dataType:"style"}))},n.prototype.listImages=function(){return this._checkLoaded(),this.imageManager.listImages()},n.prototype.addSource=function(t,n,r){var o=this;if(void 0===r&&(r={}),this._checkLoaded(),void 0!==this.sourceCaches[t])throw new Error("There is already a source with this ID");if(!n.type)throw new Error("The type property must be defined, but only the following properties were given: "+Object.keys(n).join(", ")+".");if(!(["vector","raster","geojson","video","image"].indexOf(n.type)>=0&&this._validate(e.validateStyle.source,"sources."+t,n,null,r))){this.map&&this.map._collectResourceTiming&&(n.collectResourceTiming=!0);var i=this.sourceCaches[t]=new ke(t,n,this.dispatcher);i.style=this,i.setEventedParent(this,(function(){return{isSourceLoaded:o.loaded(),source:i.serialize(),sourceId:t}})),i.onAdd(this.map),this._changed=!0}},n.prototype.removeSource=function(t){if(this._checkLoaded(),void 0===this.sourceCaches[t])throw new Error("There is no source with this ID");for(var n in this._layers)if(this._layers[n].source===t)return this.fire(new e.ErrorEvent(new Error('Source "'+t+'" cannot be removed while layer "'+n+'" is using it.')));var r=this.sourceCaches[t];delete this.sourceCaches[t],delete this._updatedSources[t],r.fire(new e.Event("data",{sourceDataType:"metadata",dataType:"source",sourceId:t})),r.setEventedParent(null),r.clearTiles(),r.onRemove&&r.onRemove(this.map),this._changed=!0},n.prototype.setGeoJSONSourceData=function(e,t){this._checkLoaded(),this.sourceCaches[e].getSource().setData(t),this._changed=!0},n.prototype.getSource=function(e){return this.sourceCaches[e]&&this.sourceCaches[e].getSource()},n.prototype.addLayer=function(t,n,r){void 0===r&&(r={}),this._checkLoaded();var o=t.id;if(this.getLayer(o))this.fire(new e.ErrorEvent(new Error('Layer with id "'+o+'" already exists on this map')));else{var i;if("custom"===t.type){if(Pt(this,e.validateCustomStyleLayer(t)))return;i=e.createStyleLayer(t)}else{if("object"==typeof t.source&&(this.addSource(o,t.source),t=e.clone$1(t),t=e.extend(t,{source:o})),this._validate(e.validateStyle.layer,"layers."+o,t,{arrayIndex:-1},r))return;i=e.createStyleLayer(t),this._validateLayer(i),i.setEventedParent(this,{layer:{id:o}}),this._serializedLayers[i.id]=i.serialize()}var a=n?this._order.indexOf(n):this._order.length;if(n&&-1===a)this.fire(new e.ErrorEvent(new Error('Layer with id "'+n+'" does not exist on this map.')));else{if(this._order.splice(a,0,o),this._layerOrderChanged=!0,this._layers[o]=i,this._removedLayers[o]&&i.source&&"custom"!==i.type){var s=this._removedLayers[o];delete this._removedLayers[o],s.type!==i.type?this._updatedSources[i.source]="clear":(this._updatedSources[i.source]="reload",this.sourceCaches[i.source].pause())}this._updateLayer(i),i.onAdd&&i.onAdd(this.map)}}},n.prototype.moveLayer=function(t,n){if(this._checkLoaded(),this._changed=!0,this._layers[t]){if(t!==n){var r=this._order.indexOf(t);this._order.splice(r,1);var o=n?this._order.indexOf(n):this._order.length;n&&-1===o?this.fire(new e.ErrorEvent(new Error('Layer with id "'+n+'" does not exist on this map.'))):(this._order.splice(o,0,t),this._layerOrderChanged=!0)}}else this.fire(new e.ErrorEvent(new Error("The layer '"+t+"' does not exist in the map's style and cannot be moved.")))},n.prototype.removeLayer=function(t){this._checkLoaded();var n=this._layers[t];if(n){n.setEventedParent(null);var r=this._order.indexOf(t);this._order.splice(r,1),this._layerOrderChanged=!0,this._changed=!0,this._removedLayers[t]=n,delete this._layers[t],delete this._serializedLayers[t],delete this._updatedLayers[t],delete this._updatedPaintProps[t],n.onRemove&&n.onRemove(this.map)}else this.fire(new e.ErrorEvent(new Error("The layer '"+t+"' does not exist in the map's style and cannot be removed.")))},n.prototype.getLayer=function(e){return this._layers[e]},n.prototype.hasLayer=function(e){return e in this._layers},n.prototype.setLayerZoomRange=function(t,n,r){this._checkLoaded();var o=this.getLayer(t);o?o.minzoom===n&&o.maxzoom===r||(null!=n&&(o.minzoom=n),null!=r&&(o.maxzoom=r),this._updateLayer(o)):this.fire(new e.ErrorEvent(new Error("The layer '"+t+"' does not exist in the map's style and cannot have zoom extent.")))},n.prototype.setFilter=function(t,n,r){void 0===r&&(r={}),this._checkLoaded();var o=this.getLayer(t);if(o){if(!e.deepEqual(o.filter,n))return null==n?(o.filter=void 0,void this._updateLayer(o)):void(this._validate(e.validateStyle.filter,"layers."+o.id+".filter",n,null,r)||(o.filter=e.clone$1(n),this._updateLayer(o)))}else this.fire(new e.ErrorEvent(new Error("The layer '"+t+"' does not exist in the map's style and cannot be filtered.")))},n.prototype.getFilter=function(t){return e.clone$1(this.getLayer(t).filter)},n.prototype.setLayoutProperty=function(t,n,r,o){void 0===o&&(o={}),this._checkLoaded();var i=this.getLayer(t);i?e.deepEqual(i.getLayoutProperty(n),r)||(i.setLayoutProperty(n,r,o),this._updateLayer(i)):this.fire(new e.ErrorEvent(new Error("The layer '"+t+"' does not exist in the map's style and cannot be styled.")))},n.prototype.getLayoutProperty=function(t,n){var r=this.getLayer(t);if(r)return r.getLayoutProperty(n);this.fire(new e.ErrorEvent(new Error("The layer '"+t+"' does not exist in the map's style.")))},n.prototype.setPaintProperty=function(t,n,r,o){void 0===o&&(o={}),this._checkLoaded();var i=this.getLayer(t);i?e.deepEqual(i.getPaintProperty(n),r)||(i.setPaintProperty(n,r,o)&&this._updateLayer(i),this._changed=!0,this._updatedPaintProps[t]=!0):this.fire(new e.ErrorEvent(new Error("The layer '"+t+"' does not exist in the map's style and cannot be styled.")))},n.prototype.getPaintProperty=function(e,t){return this.getLayer(e).getPaintProperty(t)},n.prototype.setFeatureState=function(t,n){this._checkLoaded();var r=t.source,o=t.sourceLayer,i=this.sourceCaches[r];if(void 0!==i){var a=i.getSource().type;"geojson"===a&&o?this.fire(new e.ErrorEvent(new Error("GeoJSON sources cannot have a sourceLayer parameter."))):"vector"!==a||o?(void 0===t.id&&this.fire(new e.ErrorEvent(new Error("The feature id parameter must be provided."))),i.setFeatureState(o,t.id,n)):this.fire(new e.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new e.ErrorEvent(new Error("The source '"+r+"' does not exist in the map's style.")))},n.prototype.removeFeatureState=function(t,n){this._checkLoaded();var r=t.source,o=this.sourceCaches[r];if(void 0!==o){var i=o.getSource().type,a="vector"===i?t.sourceLayer:void 0;"vector"!==i||a?n&&"string"!=typeof t.id&&"number"!=typeof t.id?this.fire(new e.ErrorEvent(new Error("A feature id is required to remove its specific state property."))):o.removeFeatureState(a,t.id,n):this.fire(new e.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new e.ErrorEvent(new Error("The source '"+r+"' does not exist in the map's style.")))},n.prototype.getFeatureState=function(t){this._checkLoaded();var n=t.source,r=t.sourceLayer,o=this.sourceCaches[n];if(void 0!==o){if("vector"!==o.getSource().type||r)return void 0===t.id&&this.fire(new e.ErrorEvent(new Error("The feature id parameter must be provided."))),o.getFeatureState(r,t.id);this.fire(new e.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new e.ErrorEvent(new Error("The source '"+n+"' does not exist in the map's style.")))},n.prototype.getTransition=function(){return e.extend({duration:300,delay:0},this.stylesheet&&this.stylesheet.transition)},n.prototype.serialize=function(){return e.filterObject({version:this.stylesheet.version,name:this.stylesheet.name,metadata:this.stylesheet.metadata,light:this.stylesheet.light,center:this.stylesheet.center,zoom:this.stylesheet.zoom,bearing:this.stylesheet.bearing,pitch:this.stylesheet.pitch,sprite:this.stylesheet.sprite,glyphs:this.stylesheet.glyphs,transition:this.stylesheet.transition,sources:e.mapObject(this.sourceCaches,(function(e){return e.serialize()})),layers:this._serializeLayers(this._order)},(function(e){return void 0!==e}))},n.prototype._updateLayer=function(e){this._updatedLayers[e.id]=!0,e.source&&!this._updatedSources[e.source]&&"raster"!==this.sourceCaches[e.source].getSource().type&&(this._updatedSources[e.source]="reload",this.sourceCaches[e.source].pause()),this._changed=!0},n.prototype._flattenAndSortRenderedFeatures=function(e){for(var t=this,n=function(e){return"fill-extrusion"===t._layers[e].type},r={},o=[],i=this._order.length-1;i>=0;i--){var a=this._order[i];if(n(a)){r[a]=i;for(var s=0,l=e;s<l.length;s+=1){var c=l[s][a];if(c)for(var u=0,d=c;u<d.length;u+=1)o.push(d[u])}}}o.sort((function(e,t){return t.intersectionZ-e.intersectionZ}));for(var p=[],f=this._order.length-1;f>=0;f--){var h=this._order[f];if(n(h))for(var b=o.length-1;b>=0;b--){var A=o[b].feature;if(r[A.layer.id]<f)break;p.push(A),o.pop()}else for(var m=0,g=e;m<g.length;m+=1){var v=g[m][h];if(v)for(var y=0,M=v;y<M.length;y+=1)p.push(M[y].feature)}}return p},n.prototype.queryRenderedFeatures=function(t,n,r){n&&n.filter&&this._validate(e.validateStyle.filter,"queryRenderedFeatures.filter",n.filter,null,n);var o={};if(n&&n.layers){if(!Array.isArray(n.layers))return this.fire(new e.ErrorEvent(new Error("parameters.layers must be an Array."))),[];for(var i=0,a=n.layers;i<a.length;i+=1){var s=a[i],l=this._layers[s];if(!l)return this.fire(new e.ErrorEvent(new Error("The layer '"+s+"' does not exist in the map's style and cannot be queried for features."))),[];o[l.source]=!0}}var c=[];for(var u in n.availableImages=this._availableImages,this.sourceCaches)n.layers&&!o[u]||c.push(R(this.sourceCaches[u],this._layers,this._serializedLayers,t,n,r));return this.placement&&c.push(function(e,t,n,r,o,i,a){for(var s={},l=i.queryRenderedSymbols(r),c=[],u=0,d=Object.keys(l).map(Number);u<d.length;u+=1)c.push(a[d[u]]);c.sort(q);for(var p=function(){var n=h[f],r=n.featureIndex.lookupSymbolFeatures(l[n.bucketInstanceId],t,n.bucketIndex,n.sourceLayerIndex,o.filter,o.layers,o.availableImages,e);for(var i in r){var a=s[i]=s[i]||[],c=r[i];c.sort((function(e,t){var r=n.featureSortOrder;if(r){var o=r.indexOf(e.featureIndex);return r.indexOf(t.featureIndex)-o}return t.featureIndex-e.featureIndex}));for(var u=0,d=c;u<d.length;u+=1)a.push(d[u])}},f=0,h=c;f<h.length;f+=1)p();var b=function(t){s[t].forEach((function(r){var o=r.feature,i=n[e[t].source].getFeatureState(o.layer["source-layer"],o.id);o.source=o.layer.source,o.layer["source-layer"]&&(o.sourceLayer=o.layer["source-layer"]),o.state=i}))};for(var A in s)b(A);return s}(this._layers,this._serializedLayers,this.sourceCaches,t,n,this.placement.collisionIndex,this.placement.retainedQueryData)),this._flattenAndSortRenderedFeatures(c)},n.prototype.querySourceFeatures=function(t,n){n&&n.filter&&this._validate(e.validateStyle.filter,"querySourceFeatures.filter",n.filter,null,n);var r=this.sourceCaches[t];return r?function(e,t){for(var n=e.getRenderableIds().map((function(t){return e.getTileByID(t)})),r=[],o={},i=0;i<n.length;i++){var a=n[i],s=a.tileID.canonical.key;o[s]||(o[s]=!0,a.querySourceFeatures(r,t))}return r}(r,n):[]},n.prototype.addSourceType=function(e,t,r){return n.getSourceType(e)?r(new Error('A source type called "'+e+'" already exists.')):(n.setSourceType(e,t),t.workerSourceURL?void this.dispatcher.broadcast("loadWorkerSource",{name:e,url:t.workerSourceURL},r):r(null,null))},n.prototype.getLight=function(){return this.light.getLight()},n.prototype.setLight=function(t,n){void 0===n&&(n={}),this._checkLoaded();var r=this.light.getLight(),o=!1;for(var i in t)if(!e.deepEqual(t[i],r[i])){o=!0;break}if(o){var a={now:e.browser.now(),transition:e.extend({duration:300,delay:0},this.stylesheet.transition)};this.light.setLight(t,n),this.light.updateTransitions(a)}},n.prototype._validate=function(t,n,r,o,i){return void 0===i&&(i={}),(!i||!1!==i.validate)&&Pt(this,t.call(e.validateStyle,e.extend({key:n,style:this.serialize(),value:r,styleSpec:e.styleSpec},o)))},n.prototype._remove=function(){for(var t in this._request&&(this._request.cancel(),this._request=null),this._spriteRequest&&(this._spriteRequest.cancel(),this._spriteRequest=null),e.evented.off("pluginStateChange",this._rtlTextPluginCallback),this._layers)this._layers[t].setEventedParent(null);for(var n in this.sourceCaches)this.sourceCaches[n].clearTiles(),this.sourceCaches[n].setEventedParent(null);this.imageManager.setEventedParent(null),this.setEventedParent(null),this.dispatcher.remove()},n.prototype._clearSource=function(e){this.sourceCaches[e].clearTiles()},n.prototype._reloadSource=function(e){this.sourceCaches[e].resume(),this.sourceCaches[e].reload()},n.prototype._updateSources=function(e){for(var t in this.sourceCaches)this.sourceCaches[t].update(e)},n.prototype._generateCollisionBoxes=function(){for(var e in this.sourceCaches)this._reloadSource(e)},n.prototype._updatePlacement=function(t,n,r,o,i){void 0===i&&(i=!1);for(var a=!1,s=!1,l={},c=0,u=this._order;c<u.length;c+=1){var d=this._layers[u[c]];if("symbol"===d.type){if(!l[d.source]){var p=this.sourceCaches[d.source];l[d.source]=p.getRenderableIds(!0).map((function(e){return p.getTileByID(e)})).sort((function(e,t){return t.tileID.overscaledZ-e.tileID.overscaledZ||(e.tileID.isLessThan(t.tileID)?-1:1)}))}var f=this.crossTileSymbolIndex.addLayer(d,l[d.source],t.center.lng);a=a||f}}if(this.crossTileSymbolIndex.pruneUnusedLayers(this._order),((i=i||this._layerOrderChanged||0===r)||!this.pauseablePlacement||this.pauseablePlacement.isDone()&&!this.placement.stillRecent(e.browser.now(),t.zoom))&&(this.pauseablePlacement=new Tt(t,this._order,i,n,r,o,this.placement),this._layerOrderChanged=!1),this.pauseablePlacement.isDone()?this.placement.setStale():(this.pauseablePlacement.continuePlacement(this._order,this._layers,l),this.pauseablePlacement.isDone()&&(this.placement=this.pauseablePlacement.commit(e.browser.now()),s=!0),a&&this.pauseablePlacement.placement.setStale()),s||a)for(var h=0,b=this._order;h<b.length;h+=1){var A=this._layers[b[h]];"symbol"===A.type&&this.placement.updateLayerOpacities(A,l[A.source])}return!this.pauseablePlacement.isDone()||this.placement.hasTransitions(e.browser.now())},n.prototype._releaseSymbolFadeTiles=function(){for(var e in this.sourceCaches)this.sourceCaches[e].releaseSymbolFadeTiles()},n.prototype.getImages=function(e,t,n){this.imageManager.getImages(t.icons,n),this._updateTilesForChangedImages();var r=this.sourceCaches[t.source];r&&r.setDependencies(t.tileID.key,t.type,t.icons)},n.prototype.getGlyphs=function(e,t,n){this.glyphManager.getGlyphs(t.stacks,n)},n.prototype.getResource=function(t,n,r){return e.makeRequest(n,r)},n}(e.Evented);Ut.getSourceType=function(e){return B[e]},Ut.setSourceType=function(e,t){B[e]=t},Ut.registerForPluginStateChange=e.registerForPluginStateChange;var Zt=e.createLayout([{name:"a_pos",type:"Int16",components:2}]),Ht=gn("#ifdef GL_ES\nprecision mediump float;\n#else\n#if !defined(lowp)\n#define lowp\n#endif\n#if !defined(mediump)\n#define mediump\n#endif\n#if !defined(highp)\n#define highp\n#endif\n#endif","#ifdef GL_ES\nprecision highp float;\n#else\n#if !defined(lowp)\n#define lowp\n#endif\n#if !defined(mediump)\n#define mediump\n#endif\n#if !defined(highp)\n#define highp\n#endif\n#endif\nvec2 unpack_float(const float packedValue) {int packedIntValue=int(packedValue);int v0=packedIntValue/256;return vec2(v0,packedIntValue-v0*256);}vec2 unpack_opacity(const float packedOpacity) {int intOpacity=int(packedOpacity)/2;return vec2(float(intOpacity)/127.0,mod(packedOpacity,2.0));}vec4 decode_color(const vec2 encodedColor) {return vec4(unpack_float(encodedColor[0])/255.0,unpack_float(encodedColor[1])/255.0\n);}float unpack_mix_vec2(const vec2 packedValue,const float t) {return mix(packedValue[0],packedValue[1],t);}vec4 unpack_mix_color(const vec4 packedColors,const float t) {vec4 minColor=decode_color(vec2(packedColors[0],packedColors[1]));vec4 maxColor=decode_color(vec2(packedColors[2],packedColors[3]));return mix(minColor,maxColor,t);}vec2 get_pattern_pos(const vec2 pixel_coord_upper,const vec2 pixel_coord_lower,const vec2 pattern_size,const float tile_units_to_pixels,const vec2 pos) {vec2 offset=mod(mod(mod(pixel_coord_upper,pattern_size)*256.0,pattern_size)*256.0+pixel_coord_lower,pattern_size);return (tile_units_to_pixels*pos+offset)/pattern_size;}"),$t=gn("uniform vec4 u_color;uniform float u_opacity;void main() {gl_FragColor=u_color*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","attribute vec2 a_pos;uniform mat4 u_matrix;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);}"),Vt=gn("uniform vec2 u_pattern_tl_a;uniform vec2 u_pattern_br_a;uniform vec2 u_pattern_tl_b;uniform vec2 u_pattern_br_b;uniform vec2 u_texsize;uniform float u_mix;uniform float u_opacity;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;void main() {vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(u_pattern_tl_a/u_texsize,u_pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(u_pattern_tl_b/u_texsize,u_pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);gl_FragColor=mix(color1,color2,u_mix)*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_pattern_size_a;uniform vec2 u_pattern_size_b;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_scale_a;uniform float u_scale_b;uniform float u_tile_units_to_pixels;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,u_scale_a*u_pattern_size_a,u_tile_units_to_pixels,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,u_scale_b*u_pattern_size_b,u_tile_units_to_pixels,a_pos);}"),Xt=gn("varying vec3 v_data;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define mediump float radius\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define highp vec4 stroke_color\n#pragma mapbox: define mediump float stroke_width\n#pragma mapbox: define lowp float stroke_opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize mediump float radius\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize highp vec4 stroke_color\n#pragma mapbox: initialize mediump float stroke_width\n#pragma mapbox: initialize lowp float stroke_opacity\nvec2 extrude=v_data.xy;float extrude_length=length(extrude);lowp float antialiasblur=v_data.z;float antialiased_blur=-max(blur,antialiasblur);float opacity_t=smoothstep(0.0,antialiased_blur,extrude_length-1.0);float color_t=stroke_width < 0.01 ? 0.0 : smoothstep(antialiased_blur,0.0,extrude_length-radius/(radius+stroke_width));gl_FragColor=opacity_t*mix(color*opacity,stroke_color*stroke_opacity,color_t);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform bool u_scale_with_map;uniform bool u_pitch_with_map;uniform vec2 u_extrude_scale;uniform lowp float u_device_pixel_ratio;uniform highp float u_camera_to_center_distance;attribute vec2 a_pos;varying vec3 v_data;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define mediump float radius\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define highp vec4 stroke_color\n#pragma mapbox: define mediump float stroke_width\n#pragma mapbox: define lowp float stroke_opacity\nvoid main(void) {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize mediump float radius\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize highp vec4 stroke_color\n#pragma mapbox: initialize mediump float stroke_width\n#pragma mapbox: initialize lowp float stroke_opacity\nvec2 extrude=vec2(mod(a_pos,2.0)*2.0-1.0);vec2 circle_center=floor(a_pos*0.5);if (u_pitch_with_map) {vec2 corner_position=circle_center;if (u_scale_with_map) {corner_position+=extrude*(radius+stroke_width)*u_extrude_scale;} else {vec4 projected_center=u_matrix*vec4(circle_center,0,1);corner_position+=extrude*(radius+stroke_width)*u_extrude_scale*(projected_center.w/u_camera_to_center_distance);}gl_Position=u_matrix*vec4(corner_position,0,1);} else {gl_Position=u_matrix*vec4(circle_center,0,1);if (u_scale_with_map) {gl_Position.xy+=extrude*(radius+stroke_width)*u_extrude_scale*u_camera_to_center_distance;} else {gl_Position.xy+=extrude*(radius+stroke_width)*u_extrude_scale*gl_Position.w;}}lowp float antialiasblur=1.0/u_device_pixel_ratio/(radius+stroke_width);v_data=vec3(extrude.x,extrude.y,antialiasblur);}"),Qt=gn("void main() {gl_FragColor=vec4(1.0);}","attribute vec2 a_pos;uniform mat4 u_matrix;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);}"),Yt=gn("uniform highp float u_intensity;varying vec2 v_extrude;\n#pragma mapbox: define highp float weight\n#define GAUSS_COEF 0.3989422804014327\nvoid main() {\n#pragma mapbox: initialize highp float weight\nfloat d=-0.5*3.0*3.0*dot(v_extrude,v_extrude);float val=weight*u_intensity*GAUSS_COEF*exp(d);gl_FragColor=vec4(val,1.0,1.0,1.0);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform float u_extrude_scale;uniform float u_opacity;uniform float u_intensity;attribute vec2 a_pos;varying vec2 v_extrude;\n#pragma mapbox: define highp float weight\n#pragma mapbox: define mediump float radius\nconst highp float ZERO=1.0/255.0/16.0;\n#define GAUSS_COEF 0.3989422804014327\nvoid main(void) {\n#pragma mapbox: initialize highp float weight\n#pragma mapbox: initialize mediump float radius\nvec2 unscaled_extrude=vec2(mod(a_pos,2.0)*2.0-1.0);float S=sqrt(-2.0*log(ZERO/weight/u_intensity/GAUSS_COEF))/3.0;v_extrude=S*unscaled_extrude;vec2 extrude=v_extrude*radius*u_extrude_scale;vec4 pos=vec4(floor(a_pos*0.5)+extrude,0,1);gl_Position=u_matrix*pos;}"),Gt=gn("uniform sampler2D u_image;uniform sampler2D u_color_ramp;uniform float u_opacity;varying vec2 v_pos;void main() {float t=texture2D(u_image,v_pos).r;vec4 color=texture2D(u_color_ramp,vec2(t,0.5));gl_FragColor=color*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(0.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_world;attribute vec2 a_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos*u_world,0,1);v_pos.x=a_pos.x;v_pos.y=1.0-a_pos.y;}"),Kt=gn("varying float v_placed;varying float v_notUsed;void main() {float alpha=0.5;gl_FragColor=vec4(1.0,0.0,0.0,1.0)*alpha;if (v_placed > 0.5) {gl_FragColor=vec4(0.0,0.0,1.0,0.5)*alpha;}if (v_notUsed > 0.5) {gl_FragColor*=.1;}}","attribute vec2 a_pos;attribute vec2 a_anchor_pos;attribute vec2 a_extrude;attribute vec2 a_placed;attribute vec2 a_shift;uniform mat4 u_matrix;uniform vec2 u_extrude_scale;uniform float u_camera_to_center_distance;varying float v_placed;varying float v_notUsed;void main() {vec4 projectedPoint=u_matrix*vec4(a_anchor_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);gl_Position=u_matrix*vec4(a_pos,0.0,1.0);gl_Position.xy+=(a_extrude+a_shift)*u_extrude_scale*gl_Position.w*collision_perspective_ratio;v_placed=a_placed.x;v_notUsed=a_placed.y;}"),Jt=gn("varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;void main() {float alpha=0.5*min(v_perspective_ratio,1.0);float stroke_radius=0.9*max(v_perspective_ratio,1.0);float distance_to_center=length(v_extrude);float distance_to_edge=abs(distance_to_center-v_radius);float opacity_t=smoothstep(-stroke_radius,0.0,-distance_to_edge);vec4 color=mix(vec4(0.0,0.0,1.0,0.5),vec4(1.0,0.0,0.0,1.0),v_collision);gl_FragColor=color*alpha*opacity_t;}","attribute vec2 a_pos;attribute float a_radius;attribute vec2 a_flags;uniform mat4 u_matrix;uniform mat4 u_inv_matrix;uniform vec2 u_viewport_size;uniform float u_camera_to_center_distance;varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;vec3 toTilePosition(vec2 screenPos) {vec4 rayStart=u_inv_matrix*vec4(screenPos,-1.0,1.0);vec4 rayEnd  =u_inv_matrix*vec4(screenPos, 1.0,1.0);rayStart.xyz/=rayStart.w;rayEnd.xyz  /=rayEnd.w;highp float t=(0.0-rayStart.z)/(rayEnd.z-rayStart.z);return mix(rayStart.xyz,rayEnd.xyz,t);}void main() {vec2 quadCenterPos=a_pos;float radius=a_radius;float collision=a_flags.x;float vertexIdx=a_flags.y;vec2 quadVertexOffset=vec2(mix(-1.0,1.0,float(vertexIdx >=2.0)),mix(-1.0,1.0,float(vertexIdx >=1.0 && vertexIdx <=2.0)));vec2 quadVertexExtent=quadVertexOffset*radius;vec3 tilePos=toTilePosition(quadCenterPos);vec4 clipPos=u_matrix*vec4(tilePos,1.0);highp float camera_to_anchor_distance=clipPos.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);float padding_factor=1.2;v_radius=radius;v_extrude=quadVertexExtent*padding_factor;v_perspective_ratio=collision_perspective_ratio;v_collision=collision;gl_Position=vec4(clipPos.xyz/clipPos.w,1.0)+vec4(quadVertexExtent*padding_factor/u_viewport_size*2.0,0.0,0.0);}"),en=gn("uniform highp vec4 u_color;uniform sampler2D u_overlay;varying vec2 v_uv;void main() {vec4 overlay_color=texture2D(u_overlay,v_uv);gl_FragColor=mix(u_color,overlay_color,overlay_color.a);}","attribute vec2 a_pos;varying vec2 v_uv;uniform mat4 u_matrix;uniform float u_overlay_scale;void main() {v_uv=a_pos/8192.0;gl_Position=u_matrix*vec4(a_pos*u_overlay_scale,0,1);}"),tn=gn("#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float opacity\ngl_FragColor=color*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","attribute vec2 a_pos;uniform mat4 u_matrix;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float opacity\ngl_Position=u_matrix*vec4(a_pos,0,1);}"),nn=gn("varying vec2 v_pos;\n#pragma mapbox: define highp vec4 outline_color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 outline_color\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);gl_FragColor=outline_color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","attribute vec2 a_pos;uniform mat4 u_matrix;uniform vec2 u_world;varying vec2 v_pos;\n#pragma mapbox: define highp vec4 outline_color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 outline_color\n#pragma mapbox: initialize lowp float opacity\ngl_Position=u_matrix*vec4(a_pos,0,1);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}"),rn=gn("uniform vec2 u_texsize;uniform sampler2D u_image;uniform float u_fade;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec2 v_pos;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);float dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);gl_FragColor=mix(color1,color2,u_fade)*alpha*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_world;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec3 u_scale;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec2 v_pos;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;gl_Position=u_matrix*vec4(a_pos,0,1);vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,a_pos);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}"),on=gn("uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);gl_FragColor=mix(color1,color2,u_fade)*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec3 u_scale;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;gl_Position=u_matrix*vec4(a_pos,0,1);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileZoomRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileZoomRatio,a_pos);}"),an=gn("varying vec4 v_color;void main() {gl_FragColor=v_color;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;uniform float u_vertical_gradient;uniform lowp float u_opacity;attribute vec2 a_pos;attribute vec4 a_normal_ed;varying vec4 v_color;\n#pragma mapbox: define highp float base\n#pragma mapbox: define highp float height\n#pragma mapbox: define highp vec4 color\nvoid main() {\n#pragma mapbox: initialize highp float base\n#pragma mapbox: initialize highp float height\n#pragma mapbox: initialize highp vec4 color\nvec3 normal=a_normal_ed.xyz;base=max(0.0,base);height=max(0.0,height);float t=mod(normal.x,2.0);gl_Position=u_matrix*vec4(a_pos,t > 0.0 ? height : base,1);float colorvalue=color.r*0.2126+color.g*0.7152+color.b*0.0722;v_color=vec4(0.0,0.0,0.0,1.0);vec4 ambientlight=vec4(0.03,0.03,0.03,1.0);color+=ambientlight;float directional=clamp(dot(normal/16384.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((1.0-colorvalue+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_color.r+=clamp(color.r*directional*u_lightcolor.r,mix(0.0,0.3,1.0-u_lightcolor.r),1.0);v_color.g+=clamp(color.g*directional*u_lightcolor.g,mix(0.0,0.3,1.0-u_lightcolor.g),1.0);v_color.b+=clamp(color.b*directional*u_lightcolor.b,mix(0.0,0.3,1.0-u_lightcolor.b),1.0);v_color*=u_opacity;}"),sn=gn("uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting;\n#pragma mapbox: define lowp float base\n#pragma mapbox: define lowp float height\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float base\n#pragma mapbox: initialize lowp float height\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);vec4 mixedColor=mix(color1,color2,u_fade);gl_FragColor=mixedColor*v_lighting;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_height_factor;uniform vec3 u_scale;uniform float u_vertical_gradient;uniform lowp float u_opacity;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;attribute vec2 a_pos;attribute vec4 a_normal_ed;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting;\n#pragma mapbox: define lowp float base\n#pragma mapbox: define lowp float height\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float base\n#pragma mapbox: initialize lowp float height\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec3 normal=a_normal_ed.xyz;float edgedistance=a_normal_ed.w;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;base=max(0.0,base);height=max(0.0,height);float t=mod(normal.x,2.0);float z=t > 0.0 ? height : base;gl_Position=u_matrix*vec4(a_pos,z,1);vec2 pos=normal.x==1.0 && normal.y==0.0 && normal.z==16384.0\n? a_pos\n: vec2(edgedistance,z*u_height_factor);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,pos);v_lighting=vec4(0.0,0.0,0.0,1.0);float directional=clamp(dot(normal/16383.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((0.5+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_lighting.rgb+=clamp(directional*u_lightcolor,mix(vec3(0.0),vec3(0.3),1.0-u_lightcolor),vec3(1.0));v_lighting*=u_opacity;}"),ln=gn("#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_dimension;uniform float u_zoom;uniform vec4 u_unpack;float getElevation(vec2 coord,float bias) {vec4 data=texture2D(u_image,coord)*255.0;data.a=-1.0;return dot(data,u_unpack)/4.0;}void main() {vec2 epsilon=1.0/u_dimension;float a=getElevation(v_pos+vec2(-epsilon.x,-epsilon.y),0.0);float b=getElevation(v_pos+vec2(0,-epsilon.y),0.0);float c=getElevation(v_pos+vec2(epsilon.x,-epsilon.y),0.0);float d=getElevation(v_pos+vec2(-epsilon.x,0),0.0);float e=getElevation(v_pos,0.0);float f=getElevation(v_pos+vec2(epsilon.x,0),0.0);float g=getElevation(v_pos+vec2(-epsilon.x,epsilon.y),0.0);float h=getElevation(v_pos+vec2(0,epsilon.y),0.0);float i=getElevation(v_pos+vec2(epsilon.x,epsilon.y),0.0);float exaggerationFactor=u_zoom < 2.0 ? 0.4 : u_zoom < 4.5 ? 0.35 : 0.3;float exaggeration=u_zoom < 15.0 ? (u_zoom-15.0)*exaggerationFactor : 0.0;vec2 deriv=vec2((c+f+f+i)-(a+d+d+g),(g+h+h+i)-(a+b+b+c))/pow(2.0,exaggeration+(19.2562-u_zoom));gl_FragColor=clamp(vec4(deriv.x/2.0+0.5,deriv.y/2.0+0.5,1.0,1.0),0.0,1.0);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_dimension;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);highp vec2 epsilon=1.0/u_dimension;float scale=(u_dimension.x-2.0)/u_dimension.x;v_pos=(a_texture_pos/8192.0)*scale+epsilon;}"),cn=gn("uniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_latrange;uniform vec2 u_light;uniform vec4 u_shadow;uniform vec4 u_highlight;uniform vec4 u_accent;\n#define PI 3.141592653589793\nvoid main() {vec4 pixel=texture2D(u_image,v_pos);vec2 deriv=((pixel.rg*2.0)-1.0);float scaleFactor=cos(radians((u_latrange[0]-u_latrange[1])*(1.0-v_pos.y)+u_latrange[1]));float slope=atan(1.25*length(deriv)/scaleFactor);float aspect=deriv.x !=0.0 ? atan(deriv.y,-deriv.x) : PI/2.0*(deriv.y > 0.0 ? 1.0 :-1.0);float intensity=u_light.x;float azimuth=u_light.y+PI;float base=1.875-intensity*1.75;float maxValue=0.5*PI;float scaledSlope=intensity !=0.5 ? ((pow(base,slope)-1.0)/(pow(base,maxValue)-1.0))*maxValue : slope;float accent=cos(scaledSlope);vec4 accent_color=(1.0-accent)*u_accent*clamp(intensity*2.0,0.0,1.0);float shade=abs(mod((aspect+azimuth)/PI+0.5,2.0)-1.0);vec4 shade_color=mix(u_shadow,u_highlight,shade)*sin(scaledSlope)*clamp(intensity*2.0,0.0,1.0);gl_FragColor=accent_color*(1.0-shade_color.a)+shade_color;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos=a_texture_pos/8192.0;}"),un=gn("uniform lowp float u_device_pixel_ratio;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);gl_FragColor=color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform vec2 u_units_to_pixels;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp float v_linesofar;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;v_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*2.0;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_width2=vec2(outset,inset);}"),dn=gn("uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;varying highp vec2 v_uv;\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);vec4 color=texture2D(u_image,v_uv);gl_FragColor=color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\nattribute vec2 a_pos_normal;attribute vec4 a_data;attribute float a_uv_x;attribute float a_split_index;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_units_to_pixels;uniform float u_image_height;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp vec2 v_uv;\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;highp float texel_height=1.0/u_image_height;highp float half_texel_height=0.5*texel_height;v_uv=vec2(a_uv_x,a_split_index*texel_height-half_texel_height);vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_width2=vec2(outset,inset);}"),pn=gn("uniform lowp float u_device_pixel_ratio;uniform vec2 u_texsize;uniform float u_fade;uniform mediump vec3 u_scale;uniform sampler2D u_image;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width;\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;vec2 pattern_size_a=vec2(display_size_a.x*fromScale/tileZoomRatio,display_size_a.y);vec2 pattern_size_b=vec2(display_size_b.x*toScale/tileZoomRatio,display_size_b.y);float aspect_a=display_size_a.y/v_width;float aspect_b=display_size_b.y/v_width;float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float x_a=mod(v_linesofar/pattern_size_a.x*aspect_a,1.0);float x_b=mod(v_linesofar/pattern_size_b.x*aspect_b,1.0);float y=0.5*v_normal.y+0.5;vec2 texel_size=1.0/u_texsize;vec2 pos_a=mix(pattern_tl_a*texel_size-texel_size,pattern_br_a*texel_size+texel_size,vec2(x_a,y));vec2 pos_b=mix(pattern_tl_b*texel_size-texel_size,pattern_br_b*texel_size+texel_size,vec2(x_b,y));vec4 color=mix(texture2D(u_image,pos_a),texture2D(u_image,pos_b),u_fade);gl_FragColor=color*alpha*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\n#define LINE_DISTANCE_SCALE 2.0\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform vec2 u_units_to_pixels;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width;\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_linesofar=a_linesofar;v_width2=vec2(outset,inset);v_width=floorwidth;}"),fn=gn("uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;uniform float u_sdfgamma;uniform float u_mix;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float sdfdist_a=texture2D(u_image,v_tex_a).a;float sdfdist_b=texture2D(u_image,v_tex_b).a;float sdfdist=mix(sdfdist_a,sdfdist_b,u_mix);alpha*=smoothstep(0.5-u_sdfgamma/floorwidth,0.5+u_sdfgamma/floorwidth,sdfdist);gl_FragColor=color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\n#define LINE_DISTANCE_SCALE 2.0\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_patternscale_a;uniform float u_tex_y_a;uniform vec2 u_patternscale_b;uniform float u_tex_y_b;uniform vec2 u_units_to_pixels;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_tex_a=vec2(a_linesofar*u_patternscale_a.x/floorwidth,normal.y*u_patternscale_a.y+u_tex_y_a);v_tex_b=vec2(a_linesofar*u_patternscale_b.x/floorwidth,normal.y*u_patternscale_b.y+u_tex_y_b);v_width2=vec2(outset,inset);}"),hn=gn("uniform float u_fade_t;uniform float u_opacity;uniform sampler2D u_image0;uniform sampler2D u_image1;varying vec2 v_pos0;varying vec2 v_pos1;uniform float u_brightness_low;uniform float u_brightness_high;uniform float u_saturation_factor;uniform float u_contrast_factor;uniform vec3 u_spin_weights;void main() {vec4 color0=texture2D(u_image0,v_pos0);vec4 color1=texture2D(u_image1,v_pos1);if (color0.a > 0.0) {color0.rgb=color0.rgb/color0.a;}if (color1.a > 0.0) {color1.rgb=color1.rgb/color1.a;}vec4 color=mix(color0,color1,u_fade_t);color.a*=u_opacity;vec3 rgb=color.rgb;rgb=vec3(dot(rgb,u_spin_weights.xyz),dot(rgb,u_spin_weights.zxy),dot(rgb,u_spin_weights.yzx));float average=(color.r+color.g+color.b)/3.0;rgb+=(average-rgb)*u_saturation_factor;rgb=(rgb-0.5)*u_contrast_factor+0.5;vec3 u_high_vec=vec3(u_brightness_low,u_brightness_low,u_brightness_low);vec3 u_low_vec=vec3(u_brightness_high,u_brightness_high,u_brightness_high);gl_FragColor=vec4(mix(u_high_vec,u_low_vec,rgb)*color.a,color.a);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_tl_parent;uniform float u_scale_parent;uniform float u_buffer_scale;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos0;varying vec2 v_pos1;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos0=(((a_texture_pos/8192.0)-0.5)/u_buffer_scale )+0.5;v_pos1=(v_pos0*u_scale_parent)+u_tl_parent;}"),bn=gn("uniform sampler2D u_texture;varying vec2 v_tex;varying float v_fade_opacity;\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\nlowp float alpha=opacity*v_fade_opacity;gl_FragColor=texture2D(u_texture,v_tex)*alpha;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform highp float u_camera_to_center_distance;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform float u_fade_change;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform vec2 u_texsize;varying vec2 v_tex;varying float v_fade_opacity;\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;vec2 a_minFontScale=a_pixeloffset.zw/256.0;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*max(a_minFontScale,fontScale)+a_pxoffset/16.0),0.0,1.0);v_tex=a_tex/u_texsize;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;v_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));}"),An=gn("#define SDF_PX 8.0\nuniform bool u_is_halo;uniform sampler2D u_texture;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;uniform bool u_is_text;varying vec2 v_data0;varying vec3 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nfloat EDGE_GAMMA=0.105/u_device_pixel_ratio;vec2 tex=v_data0.xy;float gamma_scale=v_data1.x;float size=v_data1.y;float fade_opacity=v_data1[2];float fontScale=u_is_text ? size/24.0 : size;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);buff=(6.0-halo_width/fontScale)/SDF_PX;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);gl_FragColor=color*(alpha*opacity*fade_opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;varying vec2 v_data0;varying vec3 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale+a_pxoffset),0.0,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0=a_tex/u_texsize;v_data1=vec3(gamma_scale,size,interpolated_fade_opacity);}"),mn=gn("#define SDF_PX 8.0\n#define SDF 1.0\n#define ICON 0.0\nuniform bool u_is_halo;uniform sampler2D u_texture;uniform sampler2D u_texture_icon;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;varying vec4 v_data0;varying vec4 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nfloat fade_opacity=v_data1[2];if (v_data1.w==ICON) {vec2 tex_icon=v_data0.zw;lowp float alpha=opacity*fade_opacity;gl_FragColor=texture2D(u_texture_icon,tex_icon)*alpha;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\nreturn;}vec2 tex=v_data0.xy;float EDGE_GAMMA=0.105/u_device_pixel_ratio;float gamma_scale=v_data1.x;float size=v_data1.y;float fontScale=size/24.0;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);buff=(6.0-halo_width/fontScale)/SDF_PX;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);gl_FragColor=color*(alpha*opacity*fade_opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;uniform vec2 u_texsize_icon;varying vec4 v_data0;varying vec4 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);float is_sdf=a_size[0]-2.0*a_size_min;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=size/24.0;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale),0.0,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0.xy=a_tex/u_texsize;v_data0.zw=a_tex/u_texsize_icon;v_data1=vec4(gamma_scale,size,interpolated_fade_opacity,is_sdf);}");function gn(e,t){var n=/#pragma mapbox: ([\w]+) ([\w]+) ([\w]+) ([\w]+)/g,r=t.match(/attribute ([\w]+) ([\w]+)/g),o=e.match(/uniform ([\w]+) ([\w]+)([\s]*)([\w]*)/g),i=t.match(/uniform ([\w]+) ([\w]+)([\s]*)([\w]*)/g),a=i?i.concat(o):o,s={};return{fragmentSource:e=e.replace(n,(function(e,t,n,r,o){return s[o]=!0,"define"===t?"\n#ifndef HAS_UNIFORM_u_"+o+"\nvarying "+n+" "+r+" "+o+";\n#else\nuniform "+n+" "+r+" u_"+o+";\n#endif\n":"\n#ifdef HAS_UNIFORM_u_"+o+"\n    "+n+" "+r+" "+o+" = u_"+o+";\n#endif\n"})),vertexSource:t=t.replace(n,(function(e,t,n,r,o){var i="float"===r?"vec2":"vec4",a=o.match(/color/)?"color":i;return s[o]?"define"===t?"\n#ifndef HAS_UNIFORM_u_"+o+"\nuniform lowp float u_"+o+"_t;\nattribute "+n+" "+i+" a_"+o+";\nvarying "+n+" "+r+" "+o+";\n#else\nuniform "+n+" "+r+" u_"+o+";\n#endif\n":"vec4"===a?"\n#ifndef HAS_UNIFORM_u_"+o+"\n    "+o+" = a_"+o+";\n#else\n    "+n+" "+r+" "+o+" = u_"+o+";\n#endif\n":"\n#ifndef HAS_UNIFORM_u_"+o+"\n    "+o+" = unpack_mix_"+a+"(a_"+o+", u_"+o+"_t);\n#else\n    "+n+" "+r+" "+o+" = u_"+o+";\n#endif\n":"define"===t?"\n#ifndef HAS_UNIFORM_u_"+o+"\nuniform lowp float u_"+o+"_t;\nattribute "+n+" "+i+" a_"+o+";\n#else\nuniform "+n+" "+r+" u_"+o+";\n#endif\n":"vec4"===a?"\n#ifndef HAS_UNIFORM_u_"+o+"\n    "+n+" "+r+" "+o+" = a_"+o+";\n#else\n    "+n+" "+r+" "+o+" = u_"+o+";\n#endif\n":"\n#ifndef HAS_UNIFORM_u_"+o+"\n    "+n+" "+r+" "+o+" = unpack_mix_"+a+"(a_"+o+", u_"+o+"_t);\n#else\n    "+n+" "+r+" "+o+" = u_"+o+";\n#endif\n"})),staticAttributes:r,staticUniforms:a}}var vn=Object.freeze({__proto__:null,prelude:Ht,background:$t,backgroundPattern:Vt,circle:Xt,clippingMask:Qt,heatmap:Yt,heatmapTexture:Gt,collisionBox:Kt,collisionCircle:Jt,debug:en,fill:tn,fillOutline:nn,fillOutlinePattern:rn,fillPattern:on,fillExtrusion:an,fillExtrusionPattern:sn,hillshadePrepare:ln,hillshade:cn,line:un,lineGradient:dn,linePattern:pn,lineSDF:fn,raster:hn,symbolIcon:bn,symbolSDF:An,symbolTextAndIcon:mn}),yn=function(){this.boundProgram=null,this.boundLayoutVertexBuffer=null,this.boundPaintVertexBuffers=[],this.boundIndexBuffer=null,this.boundVertexOffset=null,this.boundDynamicVertexBuffer=null,this.vao=null};function Mn(e){for(var t=[],n=0;n<e.length;n++)if(null!==e[n]){var r=e[n].split(" ");t.push(r.pop())}return t}yn.prototype.bind=function(e,t,n,r,o,i,a,s){this.context=e;for(var l=this.boundPaintVertexBuffers.length!==r.length,c=0;!l&&c<r.length;c++)this.boundPaintVertexBuffers[c]!==r[c]&&(l=!0);e.extVertexArrayObject&&this.vao&&this.boundProgram===t&&this.boundLayoutVertexBuffer===n&&!l&&this.boundIndexBuffer===o&&this.boundVertexOffset===i&&this.boundDynamicVertexBuffer===a&&this.boundDynamicVertexBuffer2===s?(e.bindVertexArrayOES.set(this.vao),a&&a.bind(),o&&o.dynamicDraw&&o.bind(),s&&s.bind()):this.freshBind(t,n,r,o,i,a,s)},yn.prototype.freshBind=function(e,t,n,r,o,i,a){var s,l=e.numAttributes,c=this.context,u=c.gl;if(c.extVertexArrayObject)this.vao&&this.destroy(),this.vao=c.extVertexArrayObject.createVertexArrayOES(),c.bindVertexArrayOES.set(this.vao),s=0,this.boundProgram=e,this.boundLayoutVertexBuffer=t,this.boundPaintVertexBuffers=n,this.boundIndexBuffer=r,this.boundVertexOffset=o,this.boundDynamicVertexBuffer=i,this.boundDynamicVertexBuffer2=a;else{s=c.currentNumAttributes||0;for(var d=l;d<s;d++)u.disableVertexAttribArray(d)}t.enableAttributes(u,e);for(var p=0,f=n;p<f.length;p+=1)f[p].enableAttributes(u,e);i&&i.enableAttributes(u,e),a&&a.enableAttributes(u,e),t.bind(),t.setVertexAttribPointers(u,e,o);for(var h=0,b=n;h<b.length;h+=1){var A=b[h];A.bind(),A.setVertexAttribPointers(u,e,o)}i&&(i.bind(),i.setVertexAttribPointers(u,e,o)),r&&r.bind(),a&&(a.bind(),a.setVertexAttribPointers(u,e,o)),c.currentNumAttributes=l},yn.prototype.destroy=function(){this.vao&&(this.context.extVertexArrayObject.deleteVertexArrayOES(this.vao),this.vao=null)};var On=function(e,t,n,r,o,i){var a=e.gl;this.program=a.createProgram();for(var s=Mn(n.staticAttributes),l=r?r.getBinderAttributes():[],c=s.concat(l),u=n.staticUniforms?Mn(n.staticUniforms):[],d=r?r.getBinderUniforms():[],p=[],f=0,h=u.concat(d);f<h.length;f+=1){var b=h[f];p.indexOf(b)<0&&p.push(b)}var A=r?r.defines():[];i&&A.push("#define OVERDRAW_INSPECTOR;");var m=A.concat(Ht.fragmentSource,n.fragmentSource).join("\n"),g=A.concat(Ht.vertexSource,n.vertexSource).join("\n"),v=a.createShader(a.FRAGMENT_SHADER);if(a.isContextLost())this.failedToCreate=!0;else{a.shaderSource(v,m),a.compileShader(v),a.attachShader(this.program,v);var y=a.createShader(a.VERTEX_SHADER);if(a.isContextLost())this.failedToCreate=!0;else{a.shaderSource(y,g),a.compileShader(y),a.attachShader(this.program,y),this.attributes={};var M={};this.numAttributes=c.length;for(var O=0;O<this.numAttributes;O++)c[O]&&(a.bindAttribLocation(this.program,O,c[O]),this.attributes[c[O]]=O);a.linkProgram(this.program),a.deleteShader(y),a.deleteShader(v);for(var _=0;_<p.length;_++){var z=p[_];if(z&&!M[z]){var x=a.getUniformLocation(this.program,z);x&&(M[z]=x)}}this.fixedUniforms=o(e,M),this.binderUniforms=r?r.getUniforms(e,M):[]}}};function _n(e,t,n){var r=1/pt(n,1,t.transform.tileZoom),o=Math.pow(2,n.tileID.overscaledZ),i=n.tileSize*Math.pow(2,t.transform.tileZoom)/o,a=i*(n.tileID.canonical.x+n.tileID.wrap*o),s=i*n.tileID.canonical.y;return{u_image:0,u_texsize:n.imageAtlasTexture.size,u_scale:[r,e.fromScale,e.toScale],u_fade:e.t,u_pixel_coord_upper:[a>>16,s>>16],u_pixel_coord_lower:[65535&a,65535&s]}}On.prototype.draw=function(e,t,n,r,o,i,a,s,l,c,u,d,p,f,h,b){var A,m=e.gl;if(!this.failedToCreate){for(var g in e.program.set(this.program),e.setDepthMode(n),e.setStencilMode(r),e.setColorMode(o),e.setCullFace(i),this.fixedUniforms)this.fixedUniforms[g].set(a[g]);f&&f.setUniforms(e,this.binderUniforms,d,{zoom:p});for(var v=(A={},A[m.LINES]=2,A[m.TRIANGLES]=3,A[m.LINE_STRIP]=1,A)[t],y=0,M=u.get();y<M.length;y+=1){var O=M[y],_=O.vaos||(O.vaos={});(_[s]||(_[s]=new yn)).bind(e,this,l,f?f.getPaintVertexBuffers():[],c,O.vertexOffset,h,b),m.drawElements(t,O.primitiveLength*v,m.UNSIGNED_SHORT,O.primitiveOffset*v*2)}}};var zn=function(t,n,r,o){var i=n.style.light,a=i.properties.get("position"),s=[a.x,a.y,a.z],l=e.create$1();"viewport"===i.properties.get("anchor")&&e.fromRotation(l,-n.transform.angle),e.transformMat3(s,s,l);var c=i.properties.get("color");return{u_matrix:t,u_lightpos:s,u_lightintensity:i.properties.get("intensity"),u_lightcolor:[c.r,c.g,c.b],u_vertical_gradient:+r,u_opacity:o}},xn=function(t,n,r,o,i,a,s){return e.extend(zn(t,n,r,o),_n(a,n,s),{u_height_factor:-Math.pow(2,i.overscaledZ)/s.tileSize/8})},wn=function(e){return{u_matrix:e}},Cn=function(t,n,r,o){return e.extend(wn(t),_n(r,n,o))},Sn=function(e,t){return{u_matrix:e,u_world:t}},En=function(t,n,r,o,i){return e.extend(Cn(t,n,r,o),{u_world:i})},kn=function(t,n,r,o){var i,a,s=t.transform;if("map"===o.paint.get("circle-pitch-alignment")){var l=pt(r,1,s.zoom);i=!0,a=[l,l]}else i=!1,a=s.pixelsToGLUnits;return{u_camera_to_center_distance:s.cameraToCenterDistance,u_scale_with_map:+("map"===o.paint.get("circle-pitch-scale")),u_matrix:t.translatePosMatrix(n.posMatrix,r,o.paint.get("circle-translate"),o.paint.get("circle-translate-anchor")),u_pitch_with_map:+i,u_device_pixel_ratio:e.browser.devicePixelRatio,u_extrude_scale:a}},Dn=function(e,t,n){var r=pt(n,1,t.zoom),o=Math.pow(2,t.zoom-n.tileID.overscaledZ),i=n.tileID.overscaleFactor();return{u_matrix:e,u_camera_to_center_distance:t.cameraToCenterDistance,u_pixels_to_tile_units:r,u_extrude_scale:[t.pixelsToGLUnits[0]/(r*o),t.pixelsToGLUnits[1]/(r*o)],u_overscale_factor:i}},Nn=function(e,t,n){return{u_matrix:e,u_inv_matrix:t,u_camera_to_center_distance:n.cameraToCenterDistance,u_viewport_size:[n.width,n.height]}},Tn=function(e,t,n){return void 0===n&&(n=1),{u_matrix:e,u_color:t,u_overlay:0,u_overlay_scale:n}},jn=function(e){return{u_matrix:e}},Bn=function(e,t,n,r){return{u_matrix:e,u_extrude_scale:pt(t,1,n),u_intensity:r}},Ln=function(t,n,r){var o=t.transform;return{u_matrix:Wn(t,n,r),u_ratio:1/pt(n,1,o.zoom),u_device_pixel_ratio:e.browser.devicePixelRatio,u_units_to_pixels:[1/o.pixelsToGLUnits[0],1/o.pixelsToGLUnits[1]]}},Rn=function(t,n,r,o){return e.extend(Ln(t,n,r),{u_image:0,u_image_height:o})},qn=function(t,n,r,o){var i=t.transform,a=In(n,i);return{u_matrix:Wn(t,n,r),u_texsize:n.imageAtlasTexture.size,u_ratio:1/pt(n,1,i.zoom),u_device_pixel_ratio:e.browser.devicePixelRatio,u_image:0,u_scale:[a,o.fromScale,o.toScale],u_fade:o.t,u_units_to_pixels:[1/i.pixelsToGLUnits[0],1/i.pixelsToGLUnits[1]]}},Pn=function(t,n,r,o,i){var a=t.lineAtlas,s=In(n,t.transform),l="round"===r.layout.get("line-cap"),c=a.getDash(o.from,l),u=a.getDash(o.to,l),d=c.width*i.fromScale,p=u.width*i.toScale;return e.extend(Ln(t,n,r),{u_patternscale_a:[s/d,-c.height/2],u_patternscale_b:[s/p,-u.height/2],u_sdfgamma:a.width/(256*Math.min(d,p)*e.browser.devicePixelRatio)/2,u_image:0,u_tex_y_a:c.y,u_tex_y_b:u.y,u_mix:i.t})};function In(e,t){return 1/pt(e,1,t.tileZoom)}function Wn(e,t,n){return e.translatePosMatrix(t.tileID.posMatrix,t,n.paint.get("line-translate"),n.paint.get("line-translate-anchor"))}var Fn=function(e,t,n,r,o){return{u_matrix:e,u_tl_parent:t,u_scale_parent:n,u_buffer_scale:1,u_fade_t:r.mix,u_opacity:r.opacity*o.paint.get("raster-opacity"),u_image0:0,u_image1:1,u_brightness_low:o.paint.get("raster-brightness-min"),u_brightness_high:o.paint.get("raster-brightness-max"),u_saturation_factor:(a=o.paint.get("raster-saturation"),a>0?1-1/(1.001-a):-a),u_contrast_factor:(i=o.paint.get("raster-contrast"),i>0?1/(1-i):1+i),u_spin_weights:Un(o.paint.get("raster-hue-rotate"))};var i,a};function Un(e){e*=Math.PI/180;var t=Math.sin(e),n=Math.cos(e);return[(2*n+1)/3,(-Math.sqrt(3)*t-n+1)/3,(Math.sqrt(3)*t-n+1)/3]}var Zn,Hn=function(e,t,n,r,o,i,a,s,l,c){var u=o.transform;return{u_is_size_zoom_constant:+("constant"===e||"source"===e),u_is_size_feature_constant:+("constant"===e||"camera"===e),u_size_t:t?t.uSizeT:0,u_size:t?t.uSize:0,u_camera_to_center_distance:u.cameraToCenterDistance,u_pitch:u.pitch/360*2*Math.PI,u_rotate_symbol:+n,u_aspect_ratio:u.width/u.height,u_fade_change:o.options.fadeDuration?o.symbolFadeChange:1,u_matrix:i,u_label_plane_matrix:a,u_coord_matrix:s,u_is_text:+l,u_pitch_with_map:+r,u_texsize:c,u_texture:0}},$n=function(t,n,r,o,i,a,s,l,c,u,d){var p=i.transform;return e.extend(Hn(t,n,r,o,i,a,s,l,c,u),{u_gamma_scale:o?Math.cos(p._pitch)*p.cameraToCenterDistance:1,u_device_pixel_ratio:e.browser.devicePixelRatio,u_is_halo:+d})},Vn=function(t,n,r,o,i,a,s,l,c,u){return e.extend($n(t,n,r,o,i,a,s,l,!0,c,!0),{u_texsize_icon:u,u_texture_icon:1})},Xn=function(e,t,n){return{u_matrix:e,u_opacity:t,u_color:n}},Qn=function(t,n,r,o,i,a){return e.extend(function(e,t,n,r){var o=n.imageManager.getPattern(e.from.toString()),i=n.imageManager.getPattern(e.to.toString()),a=n.imageManager.getPixelSize(),s=a.width,l=a.height,c=Math.pow(2,r.tileID.overscaledZ),u=r.tileSize*Math.pow(2,n.transform.tileZoom)/c,d=u*(r.tileID.canonical.x+r.tileID.wrap*c),p=u*r.tileID.canonical.y;return{u_image:0,u_pattern_tl_a:o.tl,u_pattern_br_a:o.br,u_pattern_tl_b:i.tl,u_pattern_br_b:i.br,u_texsize:[s,l],u_mix:t.t,u_pattern_size_a:o.displaySize,u_pattern_size_b:i.displaySize,u_scale_a:t.fromScale,u_scale_b:t.toScale,u_tile_units_to_pixels:1/pt(r,1,n.transform.tileZoom),u_pixel_coord_upper:[d>>16,p>>16],u_pixel_coord_lower:[65535&d,65535&p]}}(o,a,r,i),{u_matrix:t,u_opacity:n})},Yn={fillExtrusion:function(t,n){return{u_matrix:new e.UniformMatrix4f(t,n.u_matrix),u_lightpos:new e.Uniform3f(t,n.u_lightpos),u_lightintensity:new e.Uniform1f(t,n.u_lightintensity),u_lightcolor:new e.Uniform3f(t,n.u_lightcolor),u_vertical_gradient:new e.Uniform1f(t,n.u_vertical_gradient),u_opacity:new e.Uniform1f(t,n.u_opacity)}},fillExtrusionPattern:function(t,n){return{u_matrix:new e.UniformMatrix4f(t,n.u_matrix),u_lightpos:new e.Uniform3f(t,n.u_lightpos),u_lightintensity:new e.Uniform1f(t,n.u_lightintensity),u_lightcolor:new e.Uniform3f(t,n.u_lightcolor),u_vertical_gradient:new e.Uniform1f(t,n.u_vertical_gradient),u_height_factor:new e.Uniform1f(t,n.u_height_factor),u_image:new e.Uniform1i(t,n.u_image),u_texsize:new e.Uniform2f(t,n.u_texsize),u_pixel_coord_upper:new e.Uniform2f(t,n.u_pixel_coord_upper),u_pixel_coord_lower:new e.Uniform2f(t,n.u_pixel_coord_lower),u_scale:new e.Uniform3f(t,n.u_scale),u_fade:new e.Uniform1f(t,n.u_fade),u_opacity:new e.Uniform1f(t,n.u_opacity)}},fill:function(t,n){return{u_matrix:new e.UniformMatrix4f(t,n.u_matrix)}},fillPattern:function(t,n){return{u_matrix:new e.UniformMatrix4f(t,n.u_matrix),u_image:new e.Uniform1i(t,n.u_image),u_texsize:new e.Uniform2f(t,n.u_texsize),u_pixel_coord_upper:new e.Uniform2f(t,n.u_pixel_coord_upper),u_pixel_coord_lower:new e.Uniform2f(t,n.u_pixel_coord_lower),u_scale:new e.Uniform3f(t,n.u_scale),u_fade:new e.Uniform1f(t,n.u_fade)}},fillOutline:function(t,n){return{u_matrix:new e.UniformMatrix4f(t,n.u_matrix),u_world:new e.Uniform2f(t,n.u_world)}},fillOutlinePattern:function(t,n){return{u_matrix:new e.UniformMatrix4f(t,n.u_matrix),u_world:new e.Uniform2f(t,n.u_world),u_image:new e.Uniform1i(t,n.u_image),u_texsize:new e.Uniform2f(t,n.u_texsize),u_pixel_coord_upper:new e.Uniform2f(t,n.u_pixel_coord_upper),u_pixel_coord_lower:new e.Uniform2f(t,n.u_pixel_coord_lower),u_scale:new e.Uniform3f(t,n.u_scale),u_fade:new e.Uniform1f(t,n.u_fade)}},circle:function(t,n){return{u_camera_to_center_distance:new e.Uniform1f(t,n.u_camera_to_center_distance),u_scale_with_map:new e.Uniform1i(t,n.u_scale_with_map),u_pitch_with_map:new e.Uniform1i(t,n.u_pitch_with_map),u_extrude_scale:new e.Uniform2f(t,n.u_extrude_scale),u_device_pixel_ratio:new e.Uniform1f(t,n.u_device_pixel_ratio),u_matrix:new e.UniformMatrix4f(t,n.u_matrix)}},collisionBox:function(t,n){return{u_matrix:new e.UniformMatrix4f(t,n.u_matrix),u_camera_to_center_distance:new e.Uniform1f(t,n.u_camera_to_center_distance),u_pixels_to_tile_units:new e.Uniform1f(t,n.u_pixels_to_tile_units),u_extrude_scale:new e.Uniform2f(t,n.u_extrude_scale),u_overscale_factor:new e.Uniform1f(t,n.u_overscale_factor)}},collisionCircle:function(t,n){return{u_matrix:new e.UniformMatrix4f(t,n.u_matrix),u_inv_matrix:new e.UniformMatrix4f(t,n.u_inv_matrix),u_camera_to_center_distance:new e.Uniform1f(t,n.u_camera_to_center_distance),u_viewport_size:new e.Uniform2f(t,n.u_viewport_size)}},debug:function(t,n){return{u_color:new e.UniformColor(t,n.u_color),u_matrix:new e.UniformMatrix4f(t,n.u_matrix),u_overlay:new e.Uniform1i(t,n.u_overlay),u_overlay_scale:new e.Uniform1f(t,n.u_overlay_scale)}},clippingMask:function(t,n){return{u_matrix:new e.UniformMatrix4f(t,n.u_matrix)}},heatmap:function(t,n){return{u_extrude_scale:new e.Uniform1f(t,n.u_extrude_scale),u_intensity:new e.Uniform1f(t,n.u_intensity),u_matrix:new e.UniformMatrix4f(t,n.u_matrix)}},heatmapTexture:function(t,n){return{u_matrix:new e.UniformMatrix4f(t,n.u_matrix),u_world:new e.Uniform2f(t,n.u_world),u_image:new e.Uniform1i(t,n.u_image),u_color_ramp:new e.Uniform1i(t,n.u_color_ramp),u_opacity:new e.Uniform1f(t,n.u_opacity)}},hillshade:function(t,n){return{u_matrix:new e.UniformMatrix4f(t,n.u_matrix),u_image:new e.Uniform1i(t,n.u_image),u_latrange:new e.Uniform2f(t,n.u_latrange),u_light:new e.Uniform2f(t,n.u_light),u_shadow:new e.UniformColor(t,n.u_shadow),u_highlight:new e.UniformColor(t,n.u_highlight),u_accent:new e.UniformColor(t,n.u_accent)}},hillshadePrepare:function(t,n){return{u_matrix:new e.UniformMatrix4f(t,n.u_matrix),u_image:new e.Uniform1i(t,n.u_image),u_dimension:new e.Uniform2f(t,n.u_dimension),u_zoom:new e.Uniform1f(t,n.u_zoom),u_unpack:new e.Uniform4f(t,n.u_unpack)}},line:function(t,n){return{u_matrix:new e.UniformMatrix4f(t,n.u_matrix),u_ratio:new e.Uniform1f(t,n.u_ratio),u_device_pixel_ratio:new e.Uniform1f(t,n.u_device_pixel_ratio),u_units_to_pixels:new e.Uniform2f(t,n.u_units_to_pixels)}},lineGradient:function(t,n){return{u_matrix:new e.UniformMatrix4f(t,n.u_matrix),u_ratio:new e.Uniform1f(t,n.u_ratio),u_device_pixel_ratio:new e.Uniform1f(t,n.u_device_pixel_ratio),u_units_to_pixels:new e.Uniform2f(t,n.u_units_to_pixels),u_image:new e.Uniform1i(t,n.u_image),u_image_height:new e.Uniform1f(t,n.u_image_height)}},linePattern:function(t,n){return{u_matrix:new e.UniformMatrix4f(t,n.u_matrix),u_texsize:new e.Uniform2f(t,n.u_texsize),u_ratio:new e.Uniform1f(t,n.u_ratio),u_device_pixel_ratio:new e.Uniform1f(t,n.u_device_pixel_ratio),u_image:new e.Uniform1i(t,n.u_image),u_units_to_pixels:new e.Uniform2f(t,n.u_units_to_pixels),u_scale:new e.Uniform3f(t,n.u_scale),u_fade:new e.Uniform1f(t,n.u_fade)}},lineSDF:function(t,n){return{u_matrix:new e.UniformMatrix4f(t,n.u_matrix),u_ratio:new e.Uniform1f(t,n.u_ratio),u_device_pixel_ratio:new e.Uniform1f(t,n.u_device_pixel_ratio),u_units_to_pixels:new e.Uniform2f(t,n.u_units_to_pixels),u_patternscale_a:new e.Uniform2f(t,n.u_patternscale_a),u_patternscale_b:new e.Uniform2f(t,n.u_patternscale_b),u_sdfgamma:new e.Uniform1f(t,n.u_sdfgamma),u_image:new e.Uniform1i(t,n.u_image),u_tex_y_a:new e.Uniform1f(t,n.u_tex_y_a),u_tex_y_b:new e.Uniform1f(t,n.u_tex_y_b),u_mix:new e.Uniform1f(t,n.u_mix)}},raster:function(t,n){return{u_matrix:new e.UniformMatrix4f(t,n.u_matrix),u_tl_parent:new e.Uniform2f(t,n.u_tl_parent),u_scale_parent:new e.Uniform1f(t,n.u_scale_parent),u_buffer_scale:new e.Uniform1f(t,n.u_buffer_scale),u_fade_t:new e.Uniform1f(t,n.u_fade_t),u_opacity:new e.Uniform1f(t,n.u_opacity),u_image0:new e.Uniform1i(t,n.u_image0),u_image1:new e.Uniform1i(t,n.u_image1),u_brightness_low:new e.Uniform1f(t,n.u_brightness_low),u_brightness_high:new e.Uniform1f(t,n.u_brightness_high),u_saturation_factor:new e.Uniform1f(t,n.u_saturation_factor),u_contrast_factor:new e.Uniform1f(t,n.u_contrast_factor),u_spin_weights:new e.Uniform3f(t,n.u_spin_weights)}},symbolIcon:function(t,n){return{u_is_size_zoom_constant:new e.Uniform1i(t,n.u_is_size_zoom_constant),u_is_size_feature_constant:new e.Uniform1i(t,n.u_is_size_feature_constant),u_size_t:new e.Uniform1f(t,n.u_size_t),u_size:new e.Uniform1f(t,n.u_size),u_camera_to_center_distance:new e.Uniform1f(t,n.u_camera_to_center_distance),u_pitch:new e.Uniform1f(t,n.u_pitch),u_rotate_symbol:new e.Uniform1i(t,n.u_rotate_symbol),u_aspect_ratio:new e.Uniform1f(t,n.u_aspect_ratio),u_fade_change:new e.Uniform1f(t,n.u_fade_change),u_matrix:new e.UniformMatrix4f(t,n.u_matrix),u_label_plane_matrix:new e.UniformMatrix4f(t,n.u_label_plane_matrix),u_coord_matrix:new e.UniformMatrix4f(t,n.u_coord_matrix),u_is_text:new e.Uniform1i(t,n.u_is_text),u_pitch_with_map:new e.Uniform1i(t,n.u_pitch_with_map),u_texsize:new e.Uniform2f(t,n.u_texsize),u_texture:new e.Uniform1i(t,n.u_texture)}},symbolSDF:function(t,n){return{u_is_size_zoom_constant:new e.Uniform1i(t,n.u_is_size_zoom_constant),u_is_size_feature_constant:new e.Uniform1i(t,n.u_is_size_feature_constant),u_size_t:new e.Uniform1f(t,n.u_size_t),u_size:new e.Uniform1f(t,n.u_size),u_camera_to_center_distance:new e.Uniform1f(t,n.u_camera_to_center_distance),u_pitch:new e.Uniform1f(t,n.u_pitch),u_rotate_symbol:new e.Uniform1i(t,n.u_rotate_symbol),u_aspect_ratio:new e.Uniform1f(t,n.u_aspect_ratio),u_fade_change:new e.Uniform1f(t,n.u_fade_change),u_matrix:new e.UniformMatrix4f(t,n.u_matrix),u_label_plane_matrix:new e.UniformMatrix4f(t,n.u_label_plane_matrix),u_coord_matrix:new e.UniformMatrix4f(t,n.u_coord_matrix),u_is_text:new e.Uniform1i(t,n.u_is_text),u_pitch_with_map:new e.Uniform1i(t,n.u_pitch_with_map),u_texsize:new e.Uniform2f(t,n.u_texsize),u_texture:new e.Uniform1i(t,n.u_texture),u_gamma_scale:new e.Uniform1f(t,n.u_gamma_scale),u_device_pixel_ratio:new e.Uniform1f(t,n.u_device_pixel_ratio),u_is_halo:new e.Uniform1i(t,n.u_is_halo)}},symbolTextAndIcon:function(t,n){return{u_is_size_zoom_constant:new e.Uniform1i(t,n.u_is_size_zoom_constant),u_is_size_feature_constant:new e.Uniform1i(t,n.u_is_size_feature_constant),u_size_t:new e.Uniform1f(t,n.u_size_t),u_size:new e.Uniform1f(t,n.u_size),u_camera_to_center_distance:new e.Uniform1f(t,n.u_camera_to_center_distance),u_pitch:new e.Uniform1f(t,n.u_pitch),u_rotate_symbol:new e.Uniform1i(t,n.u_rotate_symbol),u_aspect_ratio:new e.Uniform1f(t,n.u_aspect_ratio),u_fade_change:new e.Uniform1f(t,n.u_fade_change),u_matrix:new e.UniformMatrix4f(t,n.u_matrix),u_label_plane_matrix:new e.UniformMatrix4f(t,n.u_label_plane_matrix),u_coord_matrix:new e.UniformMatrix4f(t,n.u_coord_matrix),u_is_text:new e.Uniform1i(t,n.u_is_text),u_pitch_with_map:new e.Uniform1i(t,n.u_pitch_with_map),u_texsize:new e.Uniform2f(t,n.u_texsize),u_texsize_icon:new e.Uniform2f(t,n.u_texsize_icon),u_texture:new e.Uniform1i(t,n.u_texture),u_texture_icon:new e.Uniform1i(t,n.u_texture_icon),u_gamma_scale:new e.Uniform1f(t,n.u_gamma_scale),u_device_pixel_ratio:new e.Uniform1f(t,n.u_device_pixel_ratio),u_is_halo:new e.Uniform1i(t,n.u_is_halo)}},background:function(t,n){return{u_matrix:new e.UniformMatrix4f(t,n.u_matrix),u_opacity:new e.Uniform1f(t,n.u_opacity),u_color:new e.UniformColor(t,n.u_color)}},backgroundPattern:function(t,n){return{u_matrix:new e.UniformMatrix4f(t,n.u_matrix),u_opacity:new e.Uniform1f(t,n.u_opacity),u_image:new e.Uniform1i(t,n.u_image),u_pattern_tl_a:new e.Uniform2f(t,n.u_pattern_tl_a),u_pattern_br_a:new e.Uniform2f(t,n.u_pattern_br_a),u_pattern_tl_b:new e.Uniform2f(t,n.u_pattern_tl_b),u_pattern_br_b:new e.Uniform2f(t,n.u_pattern_br_b),u_texsize:new e.Uniform2f(t,n.u_texsize),u_mix:new e.Uniform1f(t,n.u_mix),u_pattern_size_a:new e.Uniform2f(t,n.u_pattern_size_a),u_pattern_size_b:new e.Uniform2f(t,n.u_pattern_size_b),u_scale_a:new e.Uniform1f(t,n.u_scale_a),u_scale_b:new e.Uniform1f(t,n.u_scale_b),u_pixel_coord_upper:new e.Uniform2f(t,n.u_pixel_coord_upper),u_pixel_coord_lower:new e.Uniform2f(t,n.u_pixel_coord_lower),u_tile_units_to_pixels:new e.Uniform1f(t,n.u_tile_units_to_pixels)}}};function Gn(t,n,r,o,i,a,s){for(var l=t.context,c=l.gl,u=t.useProgram("collisionBox"),d=[],p=0,f=0,h=0;h<o.length;h++){var b=o[h],A=n.getTile(b),m=A.getBucket(r);if(m){var g=b.posMatrix;0===i[0]&&0===i[1]||(g=t.translatePosMatrix(b.posMatrix,A,i,a));var v=s?m.textCollisionBox:m.iconCollisionBox,y=m.collisionCircleArray;if(y.length>0){var M=e.create(),O=g;e.mul(M,m.placementInvProjMatrix,t.transform.glCoordMatrix),e.mul(M,M,m.placementViewportMatrix),d.push({circleArray:y,circleOffset:f,transform:O,invTransform:M}),f=p+=y.length/4}v&&u.draw(l,c.LINES,xe.disabled,we.disabled,t.colorModeForRenderPass(),Se.disabled,Dn(g,t.transform,A),r.id,v.layoutVertexBuffer,v.indexBuffer,v.segments,null,t.transform.zoom,null,null,v.collisionVertexBuffer)}}if(s&&d.length){var _=t.useProgram("collisionCircle"),z=new e.StructArrayLayout2f1f2i16;z.resize(4*p),z._trim();for(var x=0,w=0,C=d;w<C.length;w+=1)for(var S=C[w],E=0;E<S.circleArray.length/4;E++){var k=4*E,D=S.circleArray[k+0],N=S.circleArray[k+1],T=S.circleArray[k+2],j=S.circleArray[k+3];z.emplace(x++,D,N,T,j,0),z.emplace(x++,D,N,T,j,1),z.emplace(x++,D,N,T,j,2),z.emplace(x++,D,N,T,j,3)}(!Zn||Zn.length<2*p)&&(Zn=function(t){var n=2*t,r=new e.StructArrayLayout3ui6;r.resize(n),r._trim();for(var o=0;o<n;o++){var i=6*o;r.uint16[i+0]=4*o+0,r.uint16[i+1]=4*o+1,r.uint16[i+2]=4*o+2,r.uint16[i+3]=4*o+2,r.uint16[i+4]=4*o+3,r.uint16[i+5]=4*o+0}return r}(p));for(var B=l.createIndexBuffer(Zn,!0),L=l.createVertexBuffer(z,e.collisionCircleLayout.members,!0),R=0,q=d;R<q.length;R+=1){var P=q[R],I=Nn(P.transform,P.invTransform,t.transform);_.draw(l,c.TRIANGLES,xe.disabled,we.disabled,t.colorModeForRenderPass(),Se.disabled,I,r.id,L,B,e.SegmentVector.simpleSegment(0,2*P.circleOffset,P.circleArray.length,P.circleArray.length/2),null,t.transform.zoom,null,null,null)}L.destroy(),B.destroy()}}var Kn=e.identity(new Float32Array(16));function Jn(t,n,r,o,i,a){var s=e.getAnchorAlignment(t),l=-(s.horizontalAlign-.5)*n,c=-(s.verticalAlign-.5)*r,u=e.evaluateVariableOffset(t,o);return new e.Point((l/i+u[0])*a,(c/i+u[1])*a)}function er(t,n,r,o,i,a,s,l,c,u,d){var p=t.text.placedSymbolArray,f=t.text.dynamicLayoutVertexArray,h=t.icon.dynamicLayoutVertexArray,b={};f.clear();for(var A=0;A<p.length;A++){var m=p.get(A),g=m.hidden||!m.crossTileID||t.allowVerticalPlacement&&!m.placedOrientation?null:o[m.crossTileID];if(g){var v=new e.Point(m.anchorX,m.anchorY),y=Je(v,r?l:s),M=et(a.cameraToCenterDistance,y.signedDistanceFromCamera),O=i.evaluateSizeForFeature(t.textSizeData,u,m)*M/e.ONE_EM;r&&(O*=t.tilePixelRatio/c);for(var _=Jn(g.anchor,g.width,g.height,g.textOffset,g.textBoxScale,O),z=r?Je(v.add(_),s).point:y.point.add(n?_.rotate(-a.angle):_),x=t.allowVerticalPlacement&&m.placedOrientation===e.WritingMode.vertical?Math.PI/2:0,w=0;w<m.numGlyphs;w++)e.addDynamicAttributes(f,z,x);d&&m.associatedIconIndex>=0&&(b[m.associatedIconIndex]={shiftedAnchor:z,angle:x})}else ct(m.numGlyphs,f)}if(d){h.clear();for(var C=t.icon.placedSymbolArray,S=0;S<C.length;S++){var E=C.get(S);if(E.hidden)ct(E.numGlyphs,h);else{var k=b[S];if(k)for(var D=0;D<E.numGlyphs;D++)e.addDynamicAttributes(h,k.shiftedAnchor,k.angle);else ct(E.numGlyphs,h)}}t.icon.dynamicLayoutVertexBuffer.updateData(h)}t.text.dynamicLayoutVertexBuffer.updateData(f)}function tr(e,t,n){return n.iconsInText&&t?"symbolTextAndIcon":e?"symbolSDF":"symbolIcon"}function nr(t,n,r,o,i,a,s,l,c,u,d,p){for(var f=t.context,h=f.gl,b=t.transform,A="map"===l,m="map"===c,g=A&&"point"!==r.layout.get("symbol-placement"),v=A&&!m&&!g,y=void 0!==r.layout.get("symbol-sort-key").constantOr(1),M=!1,O=t.depthModeForSublayer(0,xe.ReadOnly),_=r.layout.get("text-variable-anchor"),z=[],x=0,w=o;x<w.length;x+=1){var C=w[x],S=n.getTile(C),E=S.getBucket(r);if(E){var k=i?E.text:E.icon;if(k&&k.segments.get().length){var D=k.programConfigurations.get(r.id),N=i||E.sdfIcons,T=i?E.textSizeData:E.iconSizeData,j=m||0!==b.pitch,B=t.useProgram(tr(N,i,E),D),L=e.evaluateSizeForZoom(T,b.zoom),R=void 0,q=[0,0],P=void 0,I=void 0,W=null,F=void 0;if(i)P=S.glyphAtlasTexture,I=h.LINEAR,R=S.glyphAtlasTexture.size,E.iconsInText&&(q=S.imageAtlasTexture.size,W=S.imageAtlasTexture,F=j||t.options.rotating||t.options.zooming||"composite"===T.kind||"camera"===T.kind?h.LINEAR:h.NEAREST);else{var U=1!==r.layout.get("icon-size").constantOr(0)||E.iconsNeedLinear;P=S.imageAtlasTexture,I=N||t.options.rotating||t.options.zooming||U||j?h.LINEAR:h.NEAREST,R=S.imageAtlasTexture.size}var Z=pt(S,1,t.transform.zoom),H=Ge(C.posMatrix,m,A,t.transform,Z),$=Ke(C.posMatrix,m,A,t.transform,Z),V=_&&E.hasTextData(),X="none"!==r.layout.get("icon-text-fit")&&V&&E.hasIconData();g&&nt(E,C.posMatrix,t,i,H,$,m,u);var Q=t.translatePosMatrix(C.posMatrix,S,a,s),Y=g||i&&_||X?Kn:H,G=t.translatePosMatrix($,S,a,s,!0),K=N&&0!==r.paint.get(i?"text-halo-width":"icon-halo-width").constantOr(1),J={program:B,buffers:k,uniformValues:N?E.iconsInText?Vn(T.kind,L,v,m,t,Q,Y,G,R,q):$n(T.kind,L,v,m,t,Q,Y,G,i,R,!0):Hn(T.kind,L,v,m,t,Q,Y,G,i,R),atlasTexture:P,atlasTextureIcon:W,atlasInterpolation:I,atlasInterpolationIcon:F,isSDF:N,hasHalo:K};if(y&&E.canOverlap){M=!0;for(var ee=0,te=k.segments.get();ee<te.length;ee+=1){var ne=te[ee];z.push({segments:new e.SegmentVector([ne]),sortKey:ne.sortKey,state:J})}}else z.push({segments:k.segments,sortKey:0,state:J})}}}M&&z.sort((function(e,t){return e.sortKey-t.sortKey}));for(var re=0,oe=z;re<oe.length;re+=1){var ie=oe[re],ae=ie.state;if(f.activeTexture.set(h.TEXTURE0),ae.atlasTexture.bind(ae.atlasInterpolation,h.CLAMP_TO_EDGE),ae.atlasTextureIcon&&(f.activeTexture.set(h.TEXTURE1),ae.atlasTextureIcon&&ae.atlasTextureIcon.bind(ae.atlasInterpolationIcon,h.CLAMP_TO_EDGE)),ae.isSDF){var se=ae.uniformValues;ae.hasHalo&&(se.u_is_halo=1,rr(ae.buffers,ie.segments,r,t,ae.program,O,d,p,se)),se.u_is_halo=0}rr(ae.buffers,ie.segments,r,t,ae.program,O,d,p,ae.uniformValues)}}function rr(e,t,n,r,o,i,a,s,l){var c=r.context;o.draw(c,c.gl.TRIANGLES,i,a,s,Se.disabled,l,n.id,e.layoutVertexBuffer,e.indexBuffer,t,n.paint,r.transform.zoom,e.programConfigurations.get(n.id),e.dynamicLayoutVertexBuffer,e.opacityVertexBuffer)}function or(e,t,n,r,o,i,a){var s,l,c,u,d,p=e.context.gl,f=n.paint.get("fill-pattern"),h=f&&f.constantOr(1),b=n.getCrossfadeParameters();a?(l=h&&!n.getPaintProperty("fill-outline-color")?"fillOutlinePattern":"fillOutline",s=p.LINES):(l=h?"fillPattern":"fill",s=p.TRIANGLES);for(var A=0,m=r;A<m.length;A+=1){var g=m[A],v=t.getTile(g);if(!h||v.patternsLoaded()){var y=v.getBucket(n);if(y){var M=y.programConfigurations.get(n.id),O=e.useProgram(l,M);h&&(e.context.activeTexture.set(p.TEXTURE0),v.imageAtlasTexture.bind(p.LINEAR,p.CLAMP_TO_EDGE),M.updatePaintBuffers(b));var _=f.constantOr(null);if(_&&v.imageAtlas){var z=v.imageAtlas,x=z.patternPositions[_.to.toString()],w=z.patternPositions[_.from.toString()];x&&w&&M.setConstantPatternPositions(x,w)}var C=e.translatePosMatrix(g.posMatrix,v,n.paint.get("fill-translate"),n.paint.get("fill-translate-anchor"));if(a){u=y.indexBuffer2,d=y.segments2;var S=[p.drawingBufferWidth,p.drawingBufferHeight];c="fillOutlinePattern"===l&&h?En(C,e,b,v,S):Sn(C,S)}else u=y.indexBuffer,d=y.segments,c=h?Cn(C,e,b,v):wn(C);O.draw(e.context,s,o,e.stencilModeForClipping(g),i,Se.disabled,c,n.id,y.layoutVertexBuffer,u,d,n.paint,e.transform.zoom,M)}}}}function ir(e,t,n,r,o,i,a){for(var s=e.context,l=s.gl,c=n.paint.get("fill-extrusion-pattern"),u=c.constantOr(1),d=n.getCrossfadeParameters(),p=n.paint.get("fill-extrusion-opacity"),f=0,h=r;f<h.length;f+=1){var b=h[f],A=t.getTile(b),m=A.getBucket(n);if(m){var g=m.programConfigurations.get(n.id),v=e.useProgram(u?"fillExtrusionPattern":"fillExtrusion",g);u&&(e.context.activeTexture.set(l.TEXTURE0),A.imageAtlasTexture.bind(l.LINEAR,l.CLAMP_TO_EDGE),g.updatePaintBuffers(d));var y=c.constantOr(null);if(y&&A.imageAtlas){var M=A.imageAtlas,O=M.patternPositions[y.to.toString()],_=M.patternPositions[y.from.toString()];O&&_&&g.setConstantPatternPositions(O,_)}var z=e.translatePosMatrix(b.posMatrix,A,n.paint.get("fill-extrusion-translate"),n.paint.get("fill-extrusion-translate-anchor")),x=n.paint.get("fill-extrusion-vertical-gradient"),w=u?xn(z,e,x,p,b,d,A):zn(z,e,x,p);v.draw(s,s.gl.TRIANGLES,o,i,a,Se.backCCW,w,n.id,m.layoutVertexBuffer,m.indexBuffer,m.segments,n.paint,e.transform.zoom,g)}}}function ar(t,n,r,o,i,a){var s=t.context,l=s.gl,c=n.fbo;if(c){var u=t.useProgram("hillshade");s.activeTexture.set(l.TEXTURE0),l.bindTexture(l.TEXTURE_2D,c.colorAttachment.get());var d=function(t,n,r){var o=r.paint.get("hillshade-shadow-color"),i=r.paint.get("hillshade-highlight-color"),a=r.paint.get("hillshade-accent-color"),s=r.paint.get("hillshade-illumination-direction")*(Math.PI/180);"viewport"===r.paint.get("hillshade-illumination-anchor")&&(s-=t.transform.angle);var l,c,u,d=!t.options.moving;return{u_matrix:t.transform.calculatePosMatrix(n.tileID.toUnwrapped(),d),u_image:0,u_latrange:(l=n.tileID,c=Math.pow(2,l.canonical.z),u=l.canonical.y,[new e.MercatorCoordinate(0,u/c).toLngLat().lat,new e.MercatorCoordinate(0,(u+1)/c).toLngLat().lat]),u_light:[r.paint.get("hillshade-exaggeration"),s],u_shadow:o,u_highlight:i,u_accent:a}}(t,n,r);u.draw(s,l.TRIANGLES,o,i,a,Se.disabled,d,r.id,t.rasterBoundsBuffer,t.quadTriangleIndexBuffer,t.rasterBoundsSegments)}}function sr(t,n,r,o,i,a){var s=t.context,l=s.gl,c=n.dem;if(c&&c.data){var u=c.dim,d=c.stride,p=c.getPixels();if(s.activeTexture.set(l.TEXTURE1),s.pixelStoreUnpackPremultiplyAlpha.set(!1),n.demTexture=n.demTexture||t.getTileTexture(d),n.demTexture){var f=n.demTexture;f.update(p,{premultiply:!1}),f.bind(l.NEAREST,l.CLAMP_TO_EDGE)}else n.demTexture=new e.Texture(s,p,l.RGBA,{premultiply:!1}),n.demTexture.bind(l.NEAREST,l.CLAMP_TO_EDGE);s.activeTexture.set(l.TEXTURE0);var h=n.fbo;if(!h){var b=new e.Texture(s,{width:u,height:u,data:null},l.RGBA);b.bind(l.LINEAR,l.CLAMP_TO_EDGE),(h=n.fbo=s.createFramebuffer(u,u,!0)).colorAttachment.set(b.texture)}s.bindFramebuffer.set(h.framebuffer),s.viewport.set([0,0,u,u]),t.useProgram("hillshadePrepare").draw(s,l.TRIANGLES,o,i,a,Se.disabled,function(t,n){var r=n.stride,o=e.create();return e.ortho(o,0,e.EXTENT,-e.EXTENT,0,0,1),e.translate(o,o,[0,-e.EXTENT,0]),{u_matrix:o,u_image:1,u_dimension:[r,r],u_zoom:t.overscaledZ,u_unpack:n.getUnpackVector()}}(n.tileID,c),r.id,t.rasterBoundsBuffer,t.quadTriangleIndexBuffer,t.rasterBoundsSegments),n.needsHillshadePrepare=!1}}function lr(t,n,r,o,i){var a=o.paint.get("raster-fade-duration");if(a>0){var s=e.browser.now(),l=(s-t.timeAdded)/a,c=n?(s-n.timeAdded)/a:-1,u=r.getSource(),d=i.coveringZoomLevel({tileSize:u.tileSize,roundZoom:u.roundZoom}),p=!n||Math.abs(n.tileID.overscaledZ-d)>Math.abs(t.tileID.overscaledZ-d),f=p&&t.refreshedUponExpiration?1:e.clamp(p?l:1-c,0,1);return t.refreshedUponExpiration&&l>=1&&(t.refreshedUponExpiration=!1),n?{opacity:1,mix:1-f}:{opacity:f,mix:0}}return{opacity:1,mix:0}}var cr=new e.Color(1,0,0,1),ur=new e.Color(0,1,0,1),dr=new e.Color(0,0,1,1),pr=new e.Color(1,0,1,1),fr=new e.Color(0,1,1,1);function hr(e,t,n,r){Ar(e,0,t+n/2,e.transform.width,n,r)}function br(e,t,n,r){Ar(e,t-n/2,0,n,e.transform.height,r)}function Ar(t,n,r,o,i,a){var s=t.context,l=s.gl;l.enable(l.SCISSOR_TEST),l.scissor(n*e.browser.devicePixelRatio,r*e.browser.devicePixelRatio,o*e.browser.devicePixelRatio,i*e.browser.devicePixelRatio),s.clear({color:a}),l.disable(l.SCISSOR_TEST)}function mr(t,n,r){var o=t.context,i=o.gl,a=r.posMatrix,s=t.useProgram("debug"),l=xe.disabled,c=we.disabled,u=t.colorModeForRenderPass();o.activeTexture.set(i.TEXTURE0),t.emptyTexture.bind(i.LINEAR,i.CLAMP_TO_EDGE),s.draw(o,i.LINE_STRIP,l,c,u,Se.disabled,Tn(a,e.Color.red),"$debug",t.debugBuffer,t.tileBorderIndexBuffer,t.debugSegments);var d=n.getTileByID(r.key).latestRawTileData,p=Math.floor((d&&d.byteLength||0)/1024),f=n.getTile(r).tileSize,h=512/Math.min(f,512)*(r.overscaledZ/t.transform.zoom)*.5,b=r.canonical.toString();r.overscaledZ!==r.canonical.z&&(b+=" => "+r.overscaledZ),function(e,t){e.initDebugOverlayCanvas();var n=e.debugOverlayCanvas,r=e.context.gl,o=e.debugOverlayCanvas.getContext("2d");o.clearRect(0,0,n.width,n.height),o.shadowColor="white",o.shadowBlur=2,o.lineWidth=1.5,o.strokeStyle="white",o.textBaseline="top",o.font="bold 36px Open Sans, sans-serif",o.fillText(t,5,5),o.strokeText(t,5,5),e.debugOverlayTexture.update(n),e.debugOverlayTexture.bind(r.LINEAR,r.CLAMP_TO_EDGE)}(t,b+" "+p+"kb"),s.draw(o,i.TRIANGLES,l,c,Ce.alphaBlended,Se.disabled,Tn(a,e.Color.transparent,h),"$debug",t.debugBuffer,t.quadTriangleIndexBuffer,t.debugSegments)}var gr={symbol:function(t,n,r,o,i){if("translucent"===t.renderPass){var a=we.disabled,s=t.colorModeForRenderPass();r.layout.get("text-variable-anchor")&&function(t,n,r,o,i,a,s){for(var l=n.transform,c="map"===i,u="map"===a,d=0,p=t;d<p.length;d+=1){var f=p[d],h=o.getTile(f),b=h.getBucket(r);if(b&&b.text&&b.text.segments.get().length){var A=e.evaluateSizeForZoom(b.textSizeData,l.zoom),m=pt(h,1,n.transform.zoom),g=Ge(f.posMatrix,u,c,n.transform,m),v="none"!==r.layout.get("icon-text-fit")&&b.hasIconData();if(A){var y=Math.pow(2,l.zoom-h.tileID.overscaledZ);er(b,c,u,s,e.symbolSize,l,g,f.posMatrix,y,A,v)}}}}(o,t,r,n,r.layout.get("text-rotation-alignment"),r.layout.get("text-pitch-alignment"),i),0!==r.paint.get("icon-opacity").constantOr(1)&&nr(t,n,r,o,!1,r.paint.get("icon-translate"),r.paint.get("icon-translate-anchor"),r.layout.get("icon-rotation-alignment"),r.layout.get("icon-pitch-alignment"),r.layout.get("icon-keep-upright"),a,s),0!==r.paint.get("text-opacity").constantOr(1)&&nr(t,n,r,o,!0,r.paint.get("text-translate"),r.paint.get("text-translate-anchor"),r.layout.get("text-rotation-alignment"),r.layout.get("text-pitch-alignment"),r.layout.get("text-keep-upright"),a,s),n.map.showCollisionBoxes&&(Gn(t,n,r,o,r.paint.get("text-translate"),r.paint.get("text-translate-anchor"),!0),Gn(t,n,r,o,r.paint.get("icon-translate"),r.paint.get("icon-translate-anchor"),!1))}},circle:function(t,n,r,o){if("translucent"===t.renderPass){var i=r.paint.get("circle-opacity"),a=r.paint.get("circle-stroke-width"),s=r.paint.get("circle-stroke-opacity"),l=void 0!==r.layout.get("circle-sort-key").constantOr(1);if(0!==i.constantOr(1)||0!==a.constantOr(1)&&0!==s.constantOr(1)){for(var c=t.context,u=c.gl,d=t.depthModeForSublayer(0,xe.ReadOnly),p=we.disabled,f=t.colorModeForRenderPass(),h=[],b=0;b<o.length;b++){var A=o[b],m=n.getTile(A),g=m.getBucket(r);if(g){var v=g.programConfigurations.get(r.id),y={programConfiguration:v,program:t.useProgram("circle",v),layoutVertexBuffer:g.layoutVertexBuffer,indexBuffer:g.indexBuffer,uniformValues:kn(t,A,m,r)};if(l)for(var M=0,O=g.segments.get();M<O.length;M+=1){var _=O[M];h.push({segments:new e.SegmentVector([_]),sortKey:_.sortKey,state:y})}else h.push({segments:g.segments,sortKey:0,state:y})}}l&&h.sort((function(e,t){return e.sortKey-t.sortKey}));for(var z=0,x=h;z<x.length;z+=1){var w=x[z],C=w.state;C.program.draw(c,u.TRIANGLES,d,p,f,Se.disabled,C.uniformValues,r.id,C.layoutVertexBuffer,C.indexBuffer,w.segments,r.paint,t.transform.zoom,C.programConfiguration)}}}},heatmap:function(t,n,r,o){if(0!==r.paint.get("heatmap-opacity"))if("offscreen"===t.renderPass){var i=t.context,a=i.gl,s=we.disabled,l=new Ce([a.ONE,a.ONE],e.Color.transparent,[!0,!0,!0,!0]);!function(e,t,n){var r=e.gl;e.activeTexture.set(r.TEXTURE1),e.viewport.set([0,0,t.width/4,t.height/4]);var o=n.heatmapFbo;if(o)r.bindTexture(r.TEXTURE_2D,o.colorAttachment.get()),e.bindFramebuffer.set(o.framebuffer);else{var i=r.createTexture();r.bindTexture(r.TEXTURE_2D,i),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_S,r.CLAMP_TO_EDGE),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_T,r.CLAMP_TO_EDGE),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MIN_FILTER,r.LINEAR),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MAG_FILTER,r.LINEAR),o=n.heatmapFbo=e.createFramebuffer(t.width/4,t.height/4,!1),function(e,t,n,r){var o=e.gl;o.texImage2D(o.TEXTURE_2D,0,o.RGBA,t.width/4,t.height/4,0,o.RGBA,e.extRenderToTextureHalfFloat?e.extTextureHalfFloat.HALF_FLOAT_OES:o.UNSIGNED_BYTE,null),r.colorAttachment.set(n)}(e,t,i,o)}}(i,t,r),i.clear({color:e.Color.transparent});for(var c=0;c<o.length;c++){var u=o[c];if(!n.hasRenderableParent(u)){var d=n.getTile(u),p=d.getBucket(r);if(p){var f=p.programConfigurations.get(r.id);t.useProgram("heatmap",f).draw(i,a.TRIANGLES,xe.disabled,s,l,Se.disabled,Bn(u.posMatrix,d,t.transform.zoom,r.paint.get("heatmap-intensity")),r.id,p.layoutVertexBuffer,p.indexBuffer,p.segments,r.paint,t.transform.zoom,f)}}}i.viewport.set([0,0,t.width,t.height])}else"translucent"===t.renderPass&&(t.context.setColorMode(t.colorModeForRenderPass()),function(t,n){var r=t.context,o=r.gl,i=n.heatmapFbo;if(i){r.activeTexture.set(o.TEXTURE0),o.bindTexture(o.TEXTURE_2D,i.colorAttachment.get()),r.activeTexture.set(o.TEXTURE1);var a=n.colorRampTexture;a||(a=n.colorRampTexture=new e.Texture(r,n.colorRamp,o.RGBA)),a.bind(o.LINEAR,o.CLAMP_TO_EDGE),t.useProgram("heatmapTexture").draw(r,o.TRIANGLES,xe.disabled,we.disabled,t.colorModeForRenderPass(),Se.disabled,function(t,n,r,o){var i=e.create();e.ortho(i,0,t.width,t.height,0,0,1);var a=t.context.gl;return{u_matrix:i,u_world:[a.drawingBufferWidth,a.drawingBufferHeight],u_image:0,u_color_ramp:1,u_opacity:n.paint.get("heatmap-opacity")}}(t,n),n.id,t.viewportBuffer,t.quadTriangleIndexBuffer,t.viewportSegments,n.paint,t.transform.zoom)}}(t,r))},line:function(t,n,r,o){if("translucent"===t.renderPass){var i=r.paint.get("line-opacity"),a=r.paint.get("line-width");if(0!==i.constantOr(1)&&0!==a.constantOr(1))for(var s=t.depthModeForSublayer(0,xe.ReadOnly),l=t.colorModeForRenderPass(),c=r.paint.get("line-dasharray"),u=r.paint.get("line-pattern"),d=u.constantOr(1),p=r.paint.get("line-gradient"),f=r.getCrossfadeParameters(),h=d?"linePattern":c?"lineSDF":p?"lineGradient":"line",b=t.context,A=b.gl,m=!0,g=0,v=o;g<v.length;g+=1){var y=v[g],M=n.getTile(y);if(!d||M.patternsLoaded()){var O=M.getBucket(r);if(O){var _=O.programConfigurations.get(r.id),z=t.context.program.get(),x=t.useProgram(h,_),w=m||x.program!==z,C=u.constantOr(null);if(C&&M.imageAtlas){var S=M.imageAtlas,E=S.patternPositions[C.to.toString()],k=S.patternPositions[C.from.toString()];E&&k&&_.setConstantPatternPositions(E,k)}var D=d?qn(t,M,r,f):c?Pn(t,M,r,c,f):p?Rn(t,M,r,O.lineClipsArray.length):Ln(t,M,r);if(d)b.activeTexture.set(A.TEXTURE0),M.imageAtlasTexture.bind(A.LINEAR,A.CLAMP_TO_EDGE),_.updatePaintBuffers(f);else if(c&&(w||t.lineAtlas.dirty))b.activeTexture.set(A.TEXTURE0),t.lineAtlas.bind(b);else if(p){var N=O.gradients[r.id],T=N.texture;if(r.gradientVersion!==N.version){var j=256;if(r.stepInterpolant){var B=n.getSource().maxzoom,L=y.canonical.z===B?Math.ceil(1<<t.transform.maxZoom-y.canonical.z):1;j=e.clamp(e.nextPowerOfTwo(O.maxLineLength/e.EXTENT*1024*L),256,b.maxTextureSize)}N.gradient=e.renderColorRamp({expression:r.gradientExpression(),evaluationKey:"lineProgress",resolution:j,image:N.gradient||void 0,clips:O.lineClipsArray}),N.texture?N.texture.update(N.gradient):N.texture=new e.Texture(b,N.gradient,A.RGBA),N.version=r.gradientVersion,T=N.texture}b.activeTexture.set(A.TEXTURE0),T.bind(r.stepInterpolant?A.NEAREST:A.LINEAR,A.CLAMP_TO_EDGE)}x.draw(b,A.TRIANGLES,s,t.stencilModeForClipping(y),l,Se.disabled,D,r.id,O.layoutVertexBuffer,O.indexBuffer,O.segments,r.paint,t.transform.zoom,_,O.layoutVertexBuffer2),m=!1}}}}},fill:function(t,n,r,o){var i=r.paint.get("fill-color"),a=r.paint.get("fill-opacity");if(0!==a.constantOr(1)){var s=t.colorModeForRenderPass(),l=r.paint.get("fill-pattern"),c=t.opaquePassEnabledForLayer()&&!l.constantOr(1)&&1===i.constantOr(e.Color.transparent).a&&1===a.constantOr(0)?"opaque":"translucent";if(t.renderPass===c){var u=t.depthModeForSublayer(1,"opaque"===t.renderPass?xe.ReadWrite:xe.ReadOnly);or(t,n,r,o,u,s,!1)}if("translucent"===t.renderPass&&r.paint.get("fill-antialias")){var d=t.depthModeForSublayer(r.getPaintProperty("fill-outline-color")?2:0,xe.ReadOnly);or(t,n,r,o,d,s,!0)}}},"fill-extrusion":function(e,t,n,r){var o=n.paint.get("fill-extrusion-opacity");if(0!==o&&"translucent"===e.renderPass){var i=new xe(e.context.gl.LEQUAL,xe.ReadWrite,e.depthRangeFor3D);if(1!==o||n.paint.get("fill-extrusion-pattern").constantOr(1))ir(e,t,n,r,i,we.disabled,Ce.disabled),ir(e,t,n,r,i,e.stencilModeFor3D(),e.colorModeForRenderPass());else{var a=e.colorModeForRenderPass();ir(e,t,n,r,i,we.disabled,a)}}},hillshade:function(e,t,n,r){if("offscreen"===e.renderPass||"translucent"===e.renderPass){for(var o=e.context,i=e.depthModeForSublayer(0,xe.ReadOnly),a=e.colorModeForRenderPass(),s="translucent"===e.renderPass?e.stencilConfigForOverlap(r):[{},r],l=s[0],c=0,u=s[1];c<u.length;c+=1){var d=u[c],p=t.getTile(d);p.needsHillshadePrepare&&"offscreen"===e.renderPass?sr(e,p,n,i,we.disabled,a):"translucent"===e.renderPass&&ar(e,p,n,i,l[d.overscaledZ],a)}o.viewport.set([0,0,e.width,e.height])}},raster:function(e,t,n,r){if("translucent"===e.renderPass&&0!==n.paint.get("raster-opacity")&&r.length)for(var o=e.context,i=o.gl,a=t.getSource(),s=e.useProgram("raster"),l=e.colorModeForRenderPass(),c=a instanceof N?[{},r]:e.stencilConfigForOverlap(r),u=c[0],d=c[1],p=d[d.length-1].overscaledZ,f=!e.options.moving,h=0,b=d;h<b.length;h+=1){var A=b[h],m=e.depthModeForSublayer(A.overscaledZ-p,1===n.paint.get("raster-opacity")?xe.ReadWrite:xe.ReadOnly,i.LESS),g=t.getTile(A),v=e.transform.calculatePosMatrix(A.toUnwrapped(),f);g.registerFadeDuration(n.paint.get("raster-fade-duration"));var y=t.findLoadedParent(A,0),M=lr(g,y,t,n,e.transform),O=void 0,_=void 0,z="nearest"===n.paint.get("raster-resampling")?i.NEAREST:i.LINEAR;o.activeTexture.set(i.TEXTURE0),g.texture.bind(z,i.CLAMP_TO_EDGE,i.LINEAR_MIPMAP_NEAREST),o.activeTexture.set(i.TEXTURE1),y?(y.texture.bind(z,i.CLAMP_TO_EDGE,i.LINEAR_MIPMAP_NEAREST),O=Math.pow(2,y.tileID.overscaledZ-g.tileID.overscaledZ),_=[g.tileID.canonical.x*O%1,g.tileID.canonical.y*O%1]):g.texture.bind(z,i.CLAMP_TO_EDGE,i.LINEAR_MIPMAP_NEAREST);var x=Fn(v,_||[0,0],O||1,M,n);a instanceof N?s.draw(o,i.TRIANGLES,m,we.disabled,l,Se.disabled,x,n.id,a.boundsBuffer,e.quadTriangleIndexBuffer,a.boundsSegments):s.draw(o,i.TRIANGLES,m,u[A.overscaledZ],l,Se.disabled,x,n.id,e.rasterBoundsBuffer,e.quadTriangleIndexBuffer,e.rasterBoundsSegments)}},background:function(e,t,n){var r=n.paint.get("background-color"),o=n.paint.get("background-opacity");if(0!==o){var i=e.context,a=i.gl,s=e.transform,l=s.tileSize,c=n.paint.get("background-pattern");if(!e.isPatternMissing(c)){var u=!c&&1===r.a&&1===o&&e.opaquePassEnabledForLayer()?"opaque":"translucent";if(e.renderPass===u){var d=we.disabled,p=e.depthModeForSublayer(0,"opaque"===u?xe.ReadWrite:xe.ReadOnly),f=e.colorModeForRenderPass(),h=e.useProgram(c?"backgroundPattern":"background"),b=s.coveringTiles({tileSize:l});c&&(i.activeTexture.set(a.TEXTURE0),e.imageManager.bind(e.context));for(var A=n.getCrossfadeParameters(),m=0,g=b;m<g.length;m+=1){var v=g[m],y=e.transform.calculatePosMatrix(v.toUnwrapped()),M=c?Qn(y,o,e,c,{tileID:v,tileSize:l},A):Xn(y,o,r);h.draw(i,a.TRIANGLES,p,d,f,Se.disabled,M,n.id,e.tileExtentBuffer,e.quadTriangleIndexBuffer,e.tileExtentSegments)}}}}},debug:function(e,t,n){for(var r=0;r<n.length;r++)mr(e,t,n[r])},custom:function(e,t,n){var r=e.context,o=n.implementation;if("offscreen"===e.renderPass){var i=o.prerender;i&&(e.setCustomLayerDefaults(),r.setColorMode(e.colorModeForRenderPass()),i.call(o,r.gl,e.transform.customLayerMatrix()),r.setDirty(),e.setBaseState())}else if("translucent"===e.renderPass){e.setCustomLayerDefaults(),r.setColorMode(e.colorModeForRenderPass()),r.setStencilMode(we.disabled);var a="3d"===o.renderingMode?new xe(e.context.gl.LEQUAL,xe.ReadWrite,e.depthRangeFor3D):e.depthModeForSublayer(0,xe.ReadOnly);r.setDepthMode(a),o.render(r.gl,e.transform.customLayerMatrix()),r.setDirty(),e.setBaseState(),r.bindFramebuffer.set(null)}}},vr=function(e,t){this.context=new Ee(e),this.transform=t,this._tileTextures={},this.setup(),this.numSublayers=ke.maxUnderzooming+ke.maxOverzooming+1,this.depthEpsilon=1/Math.pow(2,16),this.crossTileSymbolIndex=new qt,this.gpuTimers={}};vr.prototype.resize=function(t,n){if(this.width=t*e.browser.devicePixelRatio,this.height=n*e.browser.devicePixelRatio,this.context.viewport.set([0,0,this.width,this.height]),this.style)for(var r=0,o=this.style._order;r<o.length;r+=1)this.style._layers[o[r]].resize()},vr.prototype.setup=function(){var t=this.context,n=new e.StructArrayLayout2i4;n.emplaceBack(0,0),n.emplaceBack(e.EXTENT,0),n.emplaceBack(0,e.EXTENT),n.emplaceBack(e.EXTENT,e.EXTENT),this.tileExtentBuffer=t.createVertexBuffer(n,Zt.members),this.tileExtentSegments=e.SegmentVector.simpleSegment(0,0,4,2);var r=new e.StructArrayLayout2i4;r.emplaceBack(0,0),r.emplaceBack(e.EXTENT,0),r.emplaceBack(0,e.EXTENT),r.emplaceBack(e.EXTENT,e.EXTENT),this.debugBuffer=t.createVertexBuffer(r,Zt.members),this.debugSegments=e.SegmentVector.simpleSegment(0,0,4,5);var o=new e.StructArrayLayout4i8;o.emplaceBack(0,0,0,0),o.emplaceBack(e.EXTENT,0,e.EXTENT,0),o.emplaceBack(0,e.EXTENT,0,e.EXTENT),o.emplaceBack(e.EXTENT,e.EXTENT,e.EXTENT,e.EXTENT),this.rasterBoundsBuffer=t.createVertexBuffer(o,D.members),this.rasterBoundsSegments=e.SegmentVector.simpleSegment(0,0,4,2);var i=new e.StructArrayLayout2i4;i.emplaceBack(0,0),i.emplaceBack(1,0),i.emplaceBack(0,1),i.emplaceBack(1,1),this.viewportBuffer=t.createVertexBuffer(i,Zt.members),this.viewportSegments=e.SegmentVector.simpleSegment(0,0,4,2);var a=new e.StructArrayLayout1ui2;a.emplaceBack(0),a.emplaceBack(1),a.emplaceBack(3),a.emplaceBack(2),a.emplaceBack(0),this.tileBorderIndexBuffer=t.createIndexBuffer(a);var s=new e.StructArrayLayout3ui6;s.emplaceBack(0,1,2),s.emplaceBack(2,1,3),this.quadTriangleIndexBuffer=t.createIndexBuffer(s),this.emptyTexture=new e.Texture(t,{width:1,height:1,data:new Uint8Array([0,0,0,0])},t.gl.RGBA);var l=this.context.gl;this.stencilClearMode=new we({func:l.ALWAYS,mask:0},0,255,l.ZERO,l.ZERO,l.ZERO)},vr.prototype.clearStencil=function(){var t=this.context,n=t.gl;this.nextStencilID=1,this.currentStencilSource=void 0;var r=e.create();e.ortho(r,0,this.width,this.height,0,0,1),e.scale(r,r,[n.drawingBufferWidth,n.drawingBufferHeight,0]),this.useProgram("clippingMask").draw(t,n.TRIANGLES,xe.disabled,this.stencilClearMode,Ce.disabled,Se.disabled,jn(r),"$clipping",this.viewportBuffer,this.quadTriangleIndexBuffer,this.viewportSegments)},vr.prototype._renderTileClippingMasks=function(e,t){if(this.currentStencilSource!==e.source&&e.isTileClipped()&&t&&t.length){this.currentStencilSource=e.source;var n=this.context,r=n.gl;this.nextStencilID+t.length>256&&this.clearStencil(),n.setColorMode(Ce.disabled),n.setDepthMode(xe.disabled);var o=this.useProgram("clippingMask");this._tileClippingMaskIDs={};for(var i=0,a=t;i<a.length;i+=1){var s=a[i],l=this._tileClippingMaskIDs[s.key]=this.nextStencilID++;o.draw(n,r.TRIANGLES,xe.disabled,new we({func:r.ALWAYS,mask:0},l,255,r.KEEP,r.KEEP,r.REPLACE),Ce.disabled,Se.disabled,jn(s.posMatrix),"$clipping",this.tileExtentBuffer,this.quadTriangleIndexBuffer,this.tileExtentSegments)}}},vr.prototype.stencilModeFor3D=function(){this.currentStencilSource=void 0,this.nextStencilID+1>256&&this.clearStencil();var e=this.nextStencilID++,t=this.context.gl;return new we({func:t.NOTEQUAL,mask:255},e,255,t.KEEP,t.KEEP,t.REPLACE)},vr.prototype.stencilModeForClipping=function(e){var t=this.context.gl;return new we({func:t.EQUAL,mask:255},this._tileClippingMaskIDs[e.key],0,t.KEEP,t.KEEP,t.REPLACE)},vr.prototype.stencilConfigForOverlap=function(e){var t,n=this.context.gl,r=e.sort((function(e,t){return t.overscaledZ-e.overscaledZ})),o=r[r.length-1].overscaledZ,i=r[0].overscaledZ-o+1;if(i>1){this.currentStencilSource=void 0,this.nextStencilID+i>256&&this.clearStencil();for(var a={},s=0;s<i;s++)a[s+o]=new we({func:n.GEQUAL,mask:255},s+this.nextStencilID,255,n.KEEP,n.KEEP,n.REPLACE);return this.nextStencilID+=i,[a,r]}return[(t={},t[o]=we.disabled,t),r]},vr.prototype.colorModeForRenderPass=function(){var t=this.context.gl;return this._showOverdrawInspector?new Ce([t.CONSTANT_COLOR,t.ONE],new e.Color(1/8,1/8,1/8,0),[!0,!0,!0,!0]):"opaque"===this.renderPass?Ce.unblended:Ce.alphaBlended},vr.prototype.depthModeForSublayer=function(e,t,n){if(!this.opaquePassEnabledForLayer())return xe.disabled;var r=1-((1+this.currentLayer)*this.numSublayers+e)*this.depthEpsilon;return new xe(n||this.context.gl.LEQUAL,t,[r,r])},vr.prototype.opaquePassEnabledForLayer=function(){return this.currentLayer<this.opaquePassCutoff},vr.prototype.render=function(t,n){var r=this;this.style=t,this.options=n,this.lineAtlas=t.lineAtlas,this.imageManager=t.imageManager,this.glyphManager=t.glyphManager,this.symbolFadeChange=t.placement.symbolFadeChange(e.browser.now()),this.imageManager.beginFrame();var o=this.style._order,i=this.style.sourceCaches;for(var a in i){var s=i[a];s.used&&s.prepare(this.context)}var l,c,u={},d={},p={};for(var f in i){var h=i[f];u[f]=h.getVisibleCoordinates(),d[f]=u[f].slice().reverse(),p[f]=h.getVisibleCoordinates(!0).reverse()}this.opaquePassCutoff=1/0;for(var b=0;b<o.length;b++)if(this.style._layers[o[b]].is3D()){this.opaquePassCutoff=b;break}this.renderPass="offscreen";for(var A=0,m=o;A<m.length;A+=1){var g=this.style._layers[m[A]];if(g.hasOffscreenPass()&&!g.isHidden(this.transform.zoom)){var v=d[g.source];("custom"===g.type||v.length)&&this.renderLayer(this,i[g.source],g,v)}}for(this.context.bindFramebuffer.set(null),this.context.clear({color:n.showOverdrawInspector?e.Color.black:e.Color.transparent,depth:1}),this.clearStencil(),this._showOverdrawInspector=n.showOverdrawInspector,this.depthRangeFor3D=[0,1-(t._order.length+2)*this.numSublayers*this.depthEpsilon],this.renderPass="opaque",this.currentLayer=o.length-1;this.currentLayer>=0;this.currentLayer--){var y=this.style._layers[o[this.currentLayer]],M=i[y.source],O=u[y.source];this._renderTileClippingMasks(y,O),this.renderLayer(this,M,y,O)}for(this.renderPass="translucent",this.currentLayer=0;this.currentLayer<o.length;this.currentLayer++){var _=this.style._layers[o[this.currentLayer]],z=i[_.source],x=("symbol"===_.type?p:d)[_.source];this._renderTileClippingMasks(_,u[_.source]),this.renderLayer(this,z,_,x)}this.options.showTileBoundaries&&(e.values(this.style._layers).forEach((function(e){e.source&&!e.isHidden(r.transform.zoom)&&(e.source!==(c&&c.id)&&(c=r.style.sourceCaches[e.source]),(!l||l.getSource().maxzoom<c.getSource().maxzoom)&&(l=c))})),l&&gr.debug(this,l,l.getVisibleCoordinates())),this.options.showPadding&&function(e){var t=e.transform.padding;hr(e,e.transform.height-(t.top||0),3,cr),hr(e,t.bottom||0,3,ur),br(e,t.left||0,3,dr),br(e,e.transform.width-(t.right||0),3,pr);var n=e.transform.centerPoint;!function(e,t,n,r){Ar(e,t-1,n-10,2,20,r),Ar(e,t-10,n-1,20,2,r)}(e,n.x,e.transform.height-n.y,fr)}(this),this.context.setDefault()},vr.prototype.renderLayer=function(e,t,n,r){n.isHidden(this.transform.zoom)||("background"===n.type||"custom"===n.type||r.length)&&(this.id=n.id,this.gpuTimingStart(n),gr[n.type](e,t,n,r,this.style.placement.variableOffsets),this.gpuTimingEnd())},vr.prototype.gpuTimingStart=function(e){if(this.options.gpuTiming){var t=this.context.extTimerQuery,n=this.gpuTimers[e.id];n||(n=this.gpuTimers[e.id]={calls:0,cpuTime:0,query:t.createQueryEXT()}),n.calls++,t.beginQueryEXT(t.TIME_ELAPSED_EXT,n.query)}},vr.prototype.gpuTimingEnd=function(){if(this.options.gpuTiming){var e=this.context.extTimerQuery;e.endQueryEXT(e.TIME_ELAPSED_EXT)}},vr.prototype.collectGpuTimers=function(){var e=this.gpuTimers;return this.gpuTimers={},e},vr.prototype.queryGpuTimers=function(e){var t={};for(var n in e){var r=e[n],o=this.context.extTimerQuery,i=o.getQueryObjectEXT(r.query,o.QUERY_RESULT_EXT)/1e6;o.deleteQueryEXT(r.query),t[n]=i}return t},vr.prototype.translatePosMatrix=function(t,n,r,o,i){if(!r[0]&&!r[1])return t;var a=i?"map"===o?this.transform.angle:0:"viewport"===o?-this.transform.angle:0;if(a){var s=Math.sin(a),l=Math.cos(a);r=[r[0]*l-r[1]*s,r[0]*s+r[1]*l]}var c=[i?r[0]:pt(n,r[0],this.transform.zoom),i?r[1]:pt(n,r[1],this.transform.zoom),0],u=new Float32Array(16);return e.translate(u,t,c),u},vr.prototype.saveTileTexture=function(e){var t=this._tileTextures[e.size[0]];t?t.push(e):this._tileTextures[e.size[0]]=[e]},vr.prototype.getTileTexture=function(e){var t=this._tileTextures[e];return t&&t.length>0?t.pop():null},vr.prototype.isPatternMissing=function(e){if(!e)return!1;if(!e.from||!e.to)return!0;var t=this.imageManager.getPattern(e.from.toString()),n=this.imageManager.getPattern(e.to.toString());return!t||!n},vr.prototype.useProgram=function(e,t){this.cache=this.cache||{};var n=""+e+(t?t.cacheKey:"")+(this._showOverdrawInspector?"/overdraw":"");return this.cache[n]||(this.cache[n]=new On(this.context,e,vn[e],t,Yn[e],this._showOverdrawInspector)),this.cache[n]},vr.prototype.setCustomLayerDefaults=function(){this.context.unbindVAO(),this.context.cullFace.setDefault(),this.context.activeTexture.setDefault(),this.context.pixelStoreUnpack.setDefault(),this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.context.pixelStoreUnpackFlipY.setDefault()},vr.prototype.setBaseState=function(){var e=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set(e.FUNC_ADD)},vr.prototype.initDebugOverlayCanvas=function(){null==this.debugOverlayCanvas&&(this.debugOverlayCanvas=e.window.document.createElement("canvas"),this.debugOverlayCanvas.width=512,this.debugOverlayCanvas.height=512,this.debugOverlayTexture=new e.Texture(this.context,this.debugOverlayCanvas,this.context.gl.RGBA))},vr.prototype.destroy=function(){this.emptyTexture.destroy(),this.debugOverlayTexture&&this.debugOverlayTexture.destroy()};var yr=function(e,t){this.points=e,this.planes=t};yr.fromInvProjectionMatrix=function(t,n,r){var o=Math.pow(2,r),i=[[-1,1,-1,1],[1,1,-1,1],[1,-1,-1,1],[-1,-1,-1,1],[-1,1,1,1],[1,1,1,1],[1,-1,1,1],[-1,-1,1,1]].map((function(n){return e.transformMat4([],n,t)})).map((function(t){return e.scale$1([],t,1/t[3]/n*o)})),a=[[0,1,2],[6,5,4],[0,3,7],[2,1,5],[3,2,6],[0,4,5]].map((function(t){var n=e.sub([],i[t[0]],i[t[1]]),r=e.sub([],i[t[2]],i[t[1]]),o=e.normalize([],e.cross([],n,r)),a=-e.dot(o,i[t[1]]);return o.concat(a)}));return new yr(i,a)};var Mr=function(t,n){this.min=t,this.max=n,this.center=e.scale$2([],e.add([],this.min,this.max),.5)};Mr.prototype.quadrant=function(t){for(var n=[t%2==0,t<2],r=e.clone$2(this.min),o=e.clone$2(this.max),i=0;i<n.length;i++)r[i]=n[i]?this.min[i]:this.center[i],o[i]=n[i]?this.center[i]:this.max[i];return o[2]=this.max[2],new Mr(r,o)},Mr.prototype.distanceX=function(e){return Math.max(Math.min(this.max[0],e[0]),this.min[0])-e[0]},Mr.prototype.distanceY=function(e){return Math.max(Math.min(this.max[1],e[1]),this.min[1])-e[1]},Mr.prototype.intersects=function(t){for(var n=[[this.min[0],this.min[1],0,1],[this.max[0],this.min[1],0,1],[this.max[0],this.max[1],0,1],[this.min[0],this.max[1],0,1]],r=!0,o=0;o<t.planes.length;o++){for(var i=t.planes[o],a=0,s=0;s<n.length;s++)a+=e.dot$1(i,n[s])>=0;if(0===a)return 0;a!==n.length&&(r=!1)}if(r)return 2;for(var l=0;l<3;l++){for(var c=Number.MAX_VALUE,u=-Number.MAX_VALUE,d=0;d<t.points.length;d++){var p=t.points[d][l]-this.min[l];c=Math.min(c,p),u=Math.max(u,p)}if(u<0||c>this.max[l]-this.min[l])return 0}return 1};var Or=function(e,t,n,r){if(void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=0),void 0===r&&(r=0),isNaN(e)||e<0||isNaN(t)||t<0||isNaN(n)||n<0||isNaN(r)||r<0)throw new Error("Invalid value for edge-insets, top, bottom, left and right must all be numbers");this.top=e,this.bottom=t,this.left=n,this.right=r};Or.prototype.interpolate=function(t,n,r){return null!=n.top&&null!=t.top&&(this.top=e.number(t.top,n.top,r)),null!=n.bottom&&null!=t.bottom&&(this.bottom=e.number(t.bottom,n.bottom,r)),null!=n.left&&null!=t.left&&(this.left=e.number(t.left,n.left,r)),null!=n.right&&null!=t.right&&(this.right=e.number(t.right,n.right,r)),this},Or.prototype.getCenter=function(t,n){var r=e.clamp((this.left+t-this.right)/2,0,t),o=e.clamp((this.top+n-this.bottom)/2,0,n);return new e.Point(r,o)},Or.prototype.equals=function(e){return this.top===e.top&&this.bottom===e.bottom&&this.left===e.left&&this.right===e.right},Or.prototype.clone=function(){return new Or(this.top,this.bottom,this.left,this.right)},Or.prototype.toJSON=function(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}};var _r=function(t,n,r,o,i){this.tileSize=512,this.maxValidLatitude=85.051129,this._renderWorldCopies=void 0===i||i,this._minZoom=t||0,this._maxZoom=n||22,this._minPitch=null==r?0:r,this._maxPitch=null==o?60:o,this.setMaxBounds(),this.width=0,this.height=0,this._center=new e.LngLat(0,0),this.zoom=0,this.angle=0,this._fov=.6435011087932844,this._pitch=0,this._unmodified=!0,this._edgeInsets=new Or,this._posMatrixCache={},this._alignedPosMatrixCache={}},zr={minZoom:{configurable:!0},maxZoom:{configurable:!0},minPitch:{configurable:!0},maxPitch:{configurable:!0},renderWorldCopies:{configurable:!0},worldSize:{configurable:!0},centerOffset:{configurable:!0},size:{configurable:!0},bearing:{configurable:!0},pitch:{configurable:!0},fov:{configurable:!0},zoom:{configurable:!0},center:{configurable:!0},padding:{configurable:!0},centerPoint:{configurable:!0},unmodified:{configurable:!0},point:{configurable:!0}};_r.prototype.clone=function(){var e=new _r(this._minZoom,this._maxZoom,this._minPitch,this.maxPitch,this._renderWorldCopies);return e.tileSize=this.tileSize,e.latRange=this.latRange,e.width=this.width,e.height=this.height,e._center=this._center,e.zoom=this.zoom,e.angle=this.angle,e._fov=this._fov,e._pitch=this._pitch,e._unmodified=this._unmodified,e._edgeInsets=this._edgeInsets.clone(),e._calcMatrices(),e},zr.minZoom.get=function(){return this._minZoom},zr.minZoom.set=function(e){this._minZoom!==e&&(this._minZoom=e,this.zoom=Math.max(this.zoom,e))},zr.maxZoom.get=function(){return this._maxZoom},zr.maxZoom.set=function(e){this._maxZoom!==e&&(this._maxZoom=e,this.zoom=Math.min(this.zoom,e))},zr.minPitch.get=function(){return this._minPitch},zr.minPitch.set=function(e){this._minPitch!==e&&(this._minPitch=e,this.pitch=Math.max(this.pitch,e))},zr.maxPitch.get=function(){return this._maxPitch},zr.maxPitch.set=function(e){this._maxPitch!==e&&(this._maxPitch=e,this.pitch=Math.min(this.pitch,e))},zr.renderWorldCopies.get=function(){return this._renderWorldCopies},zr.renderWorldCopies.set=function(e){void 0===e?e=!0:null===e&&(e=!1),this._renderWorldCopies=e},zr.worldSize.get=function(){return this.tileSize*this.scale},zr.centerOffset.get=function(){return this.centerPoint._sub(this.size._div(2))},zr.size.get=function(){return new e.Point(this.width,this.height)},zr.bearing.get=function(){return-this.angle/Math.PI*180},zr.bearing.set=function(t){var n=-e.wrap(t,-180,180)*Math.PI/180;this.angle!==n&&(this._unmodified=!1,this.angle=n,this._calcMatrices(),this.rotationMatrix=e.create$2(),e.rotate(this.rotationMatrix,this.rotationMatrix,this.angle))},zr.pitch.get=function(){return this._pitch/Math.PI*180},zr.pitch.set=function(t){var n=e.clamp(t,this.minPitch,this.maxPitch)/180*Math.PI;this._pitch!==n&&(this._unmodified=!1,this._pitch=n,this._calcMatrices())},zr.fov.get=function(){return this._fov/Math.PI*180},zr.fov.set=function(e){e=Math.max(.01,Math.min(60,e)),this._fov!==e&&(this._unmodified=!1,this._fov=e/180*Math.PI,this._calcMatrices())},zr.zoom.get=function(){return this._zoom},zr.zoom.set=function(e){var t=Math.min(Math.max(e,this.minZoom),this.maxZoom);this._zoom!==t&&(this._unmodified=!1,this._zoom=t,this.scale=this.zoomScale(t),this.tileZoom=Math.floor(t),this.zoomFraction=t-this.tileZoom,this._constrain(),this._calcMatrices())},zr.center.get=function(){return this._center},zr.center.set=function(e){e.lat===this._center.lat&&e.lng===this._center.lng||(this._unmodified=!1,this._center=e,this._constrain(),this._calcMatrices())},zr.padding.get=function(){return this._edgeInsets.toJSON()},zr.padding.set=function(e){this._edgeInsets.equals(e)||(this._unmodified=!1,this._edgeInsets.interpolate(this._edgeInsets,e,1),this._calcMatrices())},zr.centerPoint.get=function(){return this._edgeInsets.getCenter(this.width,this.height)},_r.prototype.isPaddingEqual=function(e){return this._edgeInsets.equals(e)},_r.prototype.interpolatePadding=function(e,t,n){this._unmodified=!1,this._edgeInsets.interpolate(e,t,n),this._constrain(),this._calcMatrices()},_r.prototype.coveringZoomLevel=function(e){var t=(e.roundZoom?Math.round:Math.floor)(this.zoom+this.scaleZoom(this.tileSize/e.tileSize));return Math.max(0,t)},_r.prototype.getVisibleUnwrappedCoordinates=function(t){var n=[new e.UnwrappedTileID(0,t)];if(this._renderWorldCopies)for(var r=this.pointCoordinate(new e.Point(0,0)),o=this.pointCoordinate(new e.Point(this.width,0)),i=this.pointCoordinate(new e.Point(this.width,this.height)),a=this.pointCoordinate(new e.Point(0,this.height)),s=Math.floor(Math.min(r.x,o.x,i.x,a.x)),l=Math.floor(Math.max(r.x,o.x,i.x,a.x)),c=s-1;c<=l+1;c++)0!==c&&n.push(new e.UnwrappedTileID(c,t));return n},_r.prototype.coveringTiles=function(t){var n=this.coveringZoomLevel(t),r=n;if(void 0!==t.minzoom&&n<t.minzoom)return[];void 0!==t.maxzoom&&n>t.maxzoom&&(n=t.maxzoom);var o=e.MercatorCoordinate.fromLngLat(this.center),i=Math.pow(2,n),a=[i*o.x,i*o.y,0],s=yr.fromInvProjectionMatrix(this.invProjMatrix,this.worldSize,n),l=t.minzoom||0;this.pitch<=60&&this._edgeInsets.top<.1&&(l=n);var c=function(e){return{aabb:new Mr([e*i,0,0],[(e+1)*i,i,0]),zoom:0,x:0,y:0,wrap:e,fullyVisible:!1}},u=[],d=[],p=n,f=t.reparseOverscaled?r:n;if(this._renderWorldCopies)for(var h=1;h<=3;h++)u.push(c(-h)),u.push(c(h));for(u.push(c(0));u.length>0;){var b=u.pop(),A=b.x,m=b.y,g=b.fullyVisible;if(!g){var v=b.aabb.intersects(s);if(0===v)continue;g=2===v}var y=b.aabb.distanceX(a),M=b.aabb.distanceY(a),O=Math.max(Math.abs(y),Math.abs(M));if(b.zoom===p||O>3+(1<<p-b.zoom)-2&&b.zoom>=l)d.push({tileID:new e.OverscaledTileID(b.zoom===p?f:b.zoom,b.wrap,b.zoom,A,m),distanceSq:e.sqrLen([a[0]-.5-A,a[1]-.5-m])});else for(var _=0;_<4;_++){var z=(A<<1)+_%2,x=(m<<1)+(_>>1);u.push({aabb:b.aabb.quadrant(_),zoom:b.zoom+1,x:z,y:x,wrap:b.wrap,fullyVisible:g})}}return d.sort((function(e,t){return e.distanceSq-t.distanceSq})).map((function(e){return e.tileID}))},_r.prototype.resize=function(e,t){this.width=e,this.height=t,this.pixelsToGLUnits=[2/e,-2/t],this._constrain(),this._calcMatrices()},zr.unmodified.get=function(){return this._unmodified},_r.prototype.zoomScale=function(e){return Math.pow(2,e)},_r.prototype.scaleZoom=function(e){return Math.log(e)/Math.LN2},_r.prototype.project=function(t){var n=e.clamp(t.lat,-this.maxValidLatitude,this.maxValidLatitude);return new e.Point(e.mercatorXfromLng(t.lng)*this.worldSize,e.mercatorYfromLat(n)*this.worldSize)},_r.prototype.unproject=function(t){return new e.MercatorCoordinate(t.x/this.worldSize,t.y/this.worldSize).toLngLat()},zr.point.get=function(){return this.project(this.center)},_r.prototype.setLocationAtPoint=function(t,n){var r=this.pointCoordinate(n),o=this.pointCoordinate(this.centerPoint),i=this.locationCoordinate(t),a=new e.MercatorCoordinate(i.x-(r.x-o.x),i.y-(r.y-o.y));this.center=this.coordinateLocation(a),this._renderWorldCopies&&(this.center=this.center.wrap())},_r.prototype.locationPoint=function(e){return this.coordinatePoint(this.locationCoordinate(e))},_r.prototype.pointLocation=function(e){return this.coordinateLocation(this.pointCoordinate(e))},_r.prototype.locationCoordinate=function(t){return e.MercatorCoordinate.fromLngLat(t)},_r.prototype.coordinateLocation=function(e){return e.toLngLat()},_r.prototype.pointCoordinate=function(t){var n=[t.x,t.y,0,1],r=[t.x,t.y,1,1];e.transformMat4(n,n,this.pixelMatrixInverse),e.transformMat4(r,r,this.pixelMatrixInverse);var o=n[3],i=r[3],a=n[1]/o,s=r[1]/i,l=n[2]/o,c=r[2]/i,u=l===c?0:(0-l)/(c-l);return new e.MercatorCoordinate(e.number(n[0]/o,r[0]/i,u)/this.worldSize,e.number(a,s,u)/this.worldSize)},_r.prototype.coordinatePoint=function(t){var n=[t.x*this.worldSize,t.y*this.worldSize,0,1];return e.transformMat4(n,n,this.pixelMatrix),new e.Point(n[0]/n[3],n[1]/n[3])},_r.prototype.getBounds=function(){return(new e.LngLatBounds).extend(this.pointLocation(new e.Point(0,0))).extend(this.pointLocation(new e.Point(this.width,0))).extend(this.pointLocation(new e.Point(this.width,this.height))).extend(this.pointLocation(new e.Point(0,this.height)))},_r.prototype.getMaxBounds=function(){return this.latRange&&2===this.latRange.length&&this.lngRange&&2===this.lngRange.length?new e.LngLatBounds([this.lngRange[0],this.latRange[0]],[this.lngRange[1],this.latRange[1]]):null},_r.prototype.setMaxBounds=function(e){e?(this.lngRange=[e.getWest(),e.getEast()],this.latRange=[e.getSouth(),e.getNorth()],this._constrain()):(this.lngRange=null,this.latRange=[-this.maxValidLatitude,this.maxValidLatitude])},_r.prototype.calculatePosMatrix=function(t,n){void 0===n&&(n=!1);var r=t.key,o=n?this._alignedPosMatrixCache:this._posMatrixCache;if(o[r])return o[r];var i=t.canonical,a=this.worldSize/this.zoomScale(i.z),s=i.x+Math.pow(2,i.z)*t.wrap,l=e.identity(new Float64Array(16));return e.translate(l,l,[s*a,i.y*a,0]),e.scale(l,l,[a/e.EXTENT,a/e.EXTENT,1]),e.multiply(l,n?this.alignedProjMatrix:this.projMatrix,l),o[r]=new Float32Array(l),o[r]},_r.prototype.customLayerMatrix=function(){return this.mercatorMatrix.slice()},_r.prototype._constrain=function(){if(this.center&&this.width&&this.height&&!this._constraining){this._constraining=!0;var t,n,r,o,i=-90,a=90,s=-180,l=180,c=this.size,u=this._unmodified;if(this.latRange){var d=this.latRange;i=e.mercatorYfromLat(d[1])*this.worldSize,t=(a=e.mercatorYfromLat(d[0])*this.worldSize)-i<c.y?c.y/(a-i):0}if(this.lngRange){var p=this.lngRange;s=e.mercatorXfromLng(p[0])*this.worldSize,n=(l=e.mercatorXfromLng(p[1])*this.worldSize)-s<c.x?c.x/(l-s):0}var f=this.point,h=Math.max(n||0,t||0);if(h)return this.center=this.unproject(new e.Point(n?(l+s)/2:f.x,t?(a+i)/2:f.y)),this.zoom+=this.scaleZoom(h),this._unmodified=u,void(this._constraining=!1);if(this.latRange){var b=f.y,A=c.y/2;b-A<i&&(o=i+A),b+A>a&&(o=a-A)}if(this.lngRange){var m=f.x,g=c.x/2;m-g<s&&(r=s+g),m+g>l&&(r=l-g)}void 0===r&&void 0===o||(this.center=this.unproject(new e.Point(void 0!==r?r:f.x,void 0!==o?o:f.y))),this._unmodified=u,this._constraining=!1}},_r.prototype._calcMatrices=function(){if(this.height){var t=this.centerOffset;this.cameraToCenterDistance=.5/Math.tan(this._fov/2)*this.height;var n=Math.PI/2+this._pitch,r=this._fov*(.5+t.y/this.height),o=Math.sin(r)*this.cameraToCenterDistance/Math.sin(e.clamp(Math.PI-n-r,.01,Math.PI-.01)),i=this.point,a=i.x,s=i.y,l=1.01*(Math.cos(Math.PI/2-this._pitch)*o+this.cameraToCenterDistance),c=this.height/50,u=new Float64Array(16);e.perspective(u,this._fov,this.width/this.height,c,l),u[8]=2*-t.x/this.width,u[9]=2*t.y/this.height,e.scale(u,u,[1,-1,1]),e.translate(u,u,[0,0,-this.cameraToCenterDistance]),e.rotateX(u,u,this._pitch),e.rotateZ(u,u,this.angle),e.translate(u,u,[-a,-s,0]),this.mercatorMatrix=e.scale([],u,[this.worldSize,this.worldSize,this.worldSize]),e.scale(u,u,[1,1,e.mercatorZfromAltitude(1,this.center.lat)*this.worldSize,1]),this.projMatrix=u,this.invProjMatrix=e.invert([],this.projMatrix);var d=this.width%2/2,p=this.height%2/2,f=Math.cos(this.angle),h=Math.sin(this.angle),b=a-Math.round(a)+f*d+h*p,A=s-Math.round(s)+f*p+h*d,m=new Float64Array(u);if(e.translate(m,m,[b>.5?b-1:b,A>.5?A-1:A,0]),this.alignedProjMatrix=m,u=e.create(),e.scale(u,u,[this.width/2,-this.height/2,1]),e.translate(u,u,[1,-1,0]),this.labelPlaneMatrix=u,u=e.create(),e.scale(u,u,[1,-1,1]),e.translate(u,u,[-1,-1,0]),e.scale(u,u,[2/this.width,2/this.height,1]),this.glCoordMatrix=u,this.pixelMatrix=e.multiply(new Float64Array(16),this.labelPlaneMatrix,this.projMatrix),!(u=e.invert(new Float64Array(16),this.pixelMatrix)))throw new Error("failed to invert matrix");this.pixelMatrixInverse=u,this._posMatrixCache={},this._alignedPosMatrixCache={}}},_r.prototype.maxPitchScaleFactor=function(){if(!this.pixelMatrixInverse)return 1;var t=this.pointCoordinate(new e.Point(0,0)),n=[t.x*this.worldSize,t.y*this.worldSize,0,1];return e.transformMat4(n,n,this.pixelMatrix)[3]/this.cameraToCenterDistance},_r.prototype.getCameraPoint=function(){var t=Math.tan(this._pitch)*(this.cameraToCenterDistance||1);return this.centerPoint.add(new e.Point(0,t))},_r.prototype.getCameraQueryGeometry=function(t){var n=this.getCameraPoint();if(1===t.length)return[t[0],n];for(var r=n.x,o=n.y,i=n.x,a=n.y,s=0,l=t;s<l.length;s+=1){var c=l[s];r=Math.min(r,c.x),o=Math.min(o,c.y),i=Math.max(i,c.x),a=Math.max(a,c.y)}return[new e.Point(r,o),new e.Point(i,o),new e.Point(i,a),new e.Point(r,a),new e.Point(r,o)]},Object.defineProperties(_r.prototype,zr);var xr=function(t){var n,r,o,i;this._hashName=t&&encodeURIComponent(t),e.bindAll(["_getCurrentHash","_onHashChange","_updateHash"],this),this._updateHash=(n=this._updateHashUnthrottled.bind(this),r=!1,o=null,i=function(){o=null,r&&(n(),o=setTimeout(i,300),r=!1)},function(){return r=!0,o||i(),o})};xr.prototype.addTo=function(t){return this._map=t,e.window.addEventListener("hashchange",this._onHashChange,!1),this._map.on("moveend",this._updateHash),this},xr.prototype.remove=function(){return e.window.removeEventListener("hashchange",this._onHashChange,!1),this._map.off("moveend",this._updateHash),clearTimeout(this._updateHash()),delete this._map,this},xr.prototype.getHashString=function(t){var n=this._map.getCenter(),r=Math.round(100*this._map.getZoom())/100,o=Math.ceil((r*Math.LN2+Math.log(512/360/.5))/Math.LN10),i=Math.pow(10,o),a=Math.round(n.lng*i)/i,s=Math.round(n.lat*i)/i,l=this._map.getBearing(),c=this._map.getPitch(),u="";if(u+=t?"/"+a+"/"+s+"/"+r:r+"/"+s+"/"+a,(l||c)&&(u+="/"+Math.round(10*l)/10),c&&(u+="/"+Math.round(c)),this._hashName){var d=this._hashName,p=!1,f=e.window.location.hash.slice(1).split("&").map((function(e){var t=e.split("=")[0];return t===d?(p=!0,t+"="+u):e})).filter((function(e){return e}));return p||f.push(d+"="+u),"#"+f.join("&")}return"#"+u},xr.prototype._getCurrentHash=function(){var t,n=this,r=e.window.location.hash.replace("#","");return this._hashName?(r.split("&").map((function(e){return e.split("=")})).forEach((function(e){e[0]===n._hashName&&(t=e)})),(t&&t[1]||"").split("/")):r.split("/")},xr.prototype._onHashChange=function(){var e=this._getCurrentHash();if(e.length>=3&&!e.some((function(e){return isNaN(e)}))){var t=this._map.dragRotate.isEnabled()&&this._map.touchZoomRotate.isEnabled()?+(e[3]||0):this._map.getBearing();return this._map.jumpTo({center:[+e[2],+e[1]],zoom:+e[0],bearing:t,pitch:+(e[4]||0)}),!0}return!1},xr.prototype._updateHashUnthrottled=function(){var t=e.window.location.href.replace(/(#.+)?$/,this.getHashString());try{e.window.history.replaceState(e.window.history.state,null,t)}catch(e){}};var wr={linearity:.3,easing:e.bezier(0,0,.3,1)},Cr=e.extend({deceleration:2500,maxSpeed:1400},wr),Sr=e.extend({deceleration:20,maxSpeed:1400},wr),Er=e.extend({deceleration:1e3,maxSpeed:360},wr),kr=e.extend({deceleration:1e3,maxSpeed:90},wr),Dr=function(e){this._map=e,this.clear()};function Nr(e,t){(!e.duration||e.duration<t.duration)&&(e.duration=t.duration,e.easing=t.easing)}function Tr(t,n,r){var o=r.maxSpeed,i=r.linearity,a=r.deceleration,s=e.clamp(t*i/(n/1e3),-o,o),l=Math.abs(s)/(a*i);return{easing:r.easing,duration:1e3*l,amount:s*(l/2)}}Dr.prototype.clear=function(){this._inertiaBuffer=[]},Dr.prototype.record=function(t){this._drainInertiaBuffer(),this._inertiaBuffer.push({time:e.browser.now(),settings:t})},Dr.prototype._drainInertiaBuffer=function(){for(var t=this._inertiaBuffer,n=e.browser.now();t.length>0&&n-t[0].time>160;)t.shift()},Dr.prototype._onMoveEnd=function(t){if(this._drainInertiaBuffer(),!(this._inertiaBuffer.length<2)){for(var n={zoom:0,bearing:0,pitch:0,pan:new e.Point(0,0),pinchAround:void 0,around:void 0},r=0,o=this._inertiaBuffer;r<o.length;r+=1){var i=o[r].settings;n.zoom+=i.zoomDelta||0,n.bearing+=i.bearingDelta||0,n.pitch+=i.pitchDelta||0,i.panDelta&&n.pan._add(i.panDelta),i.around&&(n.around=i.around),i.pinchAround&&(n.pinchAround=i.pinchAround)}var a=this._inertiaBuffer[this._inertiaBuffer.length-1].time-this._inertiaBuffer[0].time,s={};if(n.pan.mag()){var l=Tr(n.pan.mag(),a,e.extend({},Cr,t||{}));s.offset=n.pan.mult(l.amount/n.pan.mag()),s.center=this._map.transform.center,Nr(s,l)}if(n.zoom){var c=Tr(n.zoom,a,Sr);s.zoom=this._map.transform.zoom+c.amount,Nr(s,c)}if(n.bearing){var u=Tr(n.bearing,a,Er);s.bearing=this._map.transform.bearing+e.clamp(u.amount,-179,179),Nr(s,u)}if(n.pitch){var d=Tr(n.pitch,a,kr);s.pitch=this._map.transform.pitch+d.amount,Nr(s,d)}if(s.zoom||s.bearing){var p=void 0===n.pinchAround?n.around:n.pinchAround;s.around=p?this._map.unproject(p):this._map.getCenter()}return this.clear(),e.extend(s,{noMoveStart:!0})}};var jr=function(t){function r(r,o,i,a){void 0===a&&(a={});var s=n.mousePos(o.getCanvasContainer(),i),l=o.unproject(s);t.call(this,r,e.extend({point:s,lngLat:l,originalEvent:i},a)),this._defaultPrevented=!1,this.target=o}t&&(r.__proto__=t),(r.prototype=Object.create(t&&t.prototype)).constructor=r;var o={defaultPrevented:{configurable:!0}};return r.prototype.preventDefault=function(){this._defaultPrevented=!0},o.defaultPrevented.get=function(){return this._defaultPrevented},Object.defineProperties(r.prototype,o),r}(e.Event),Br=function(t){function r(r,o,i){var a="touchend"===r?i.changedTouches:i.touches,s=n.touchPos(o.getCanvasContainer(),a),l=s.map((function(e){return o.unproject(e)})),c=s.reduce((function(e,t,n,r){return e.add(t.div(r.length))}),new e.Point(0,0)),u=o.unproject(c);t.call(this,r,{points:s,point:c,lngLats:l,lngLat:u,originalEvent:i}),this._defaultPrevented=!1}t&&(r.__proto__=t),(r.prototype=Object.create(t&&t.prototype)).constructor=r;var o={defaultPrevented:{configurable:!0}};return r.prototype.preventDefault=function(){this._defaultPrevented=!0},o.defaultPrevented.get=function(){return this._defaultPrevented},Object.defineProperties(r.prototype,o),r}(e.Event),Lr=function(e){function t(t,n,r){e.call(this,t,{originalEvent:r}),this._defaultPrevented=!1}e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t;var n={defaultPrevented:{configurable:!0}};return t.prototype.preventDefault=function(){this._defaultPrevented=!0},n.defaultPrevented.get=function(){return this._defaultPrevented},Object.defineProperties(t.prototype,n),t}(e.Event),Rr=function(e,t){this._map=e,this._clickTolerance=t.clickTolerance};Rr.prototype.reset=function(){delete this._mousedownPos},Rr.prototype.wheel=function(e){return this._firePreventable(new Lr(e.type,this._map,e))},Rr.prototype.mousedown=function(e,t){return this._mousedownPos=t,this._firePreventable(new jr(e.type,this._map,e))},Rr.prototype.mouseup=function(e){this._map.fire(new jr(e.type,this._map,e))},Rr.prototype.click=function(e,t){this._mousedownPos&&this._mousedownPos.dist(t)>=this._clickTolerance||this._map.fire(new jr(e.type,this._map,e))},Rr.prototype.dblclick=function(e){return this._firePreventable(new jr(e.type,this._map,e))},Rr.prototype.mouseover=function(e){this._map.fire(new jr(e.type,this._map,e))},Rr.prototype.mouseout=function(e){this._map.fire(new jr(e.type,this._map,e))},Rr.prototype.touchstart=function(e){return this._firePreventable(new Br(e.type,this._map,e))},Rr.prototype.touchmove=function(e){this._map.fire(new Br(e.type,this._map,e))},Rr.prototype.touchend=function(e){this._map.fire(new Br(e.type,this._map,e))},Rr.prototype.touchcancel=function(e){this._map.fire(new Br(e.type,this._map,e))},Rr.prototype._firePreventable=function(e){if(this._map.fire(e),e.defaultPrevented)return{}},Rr.prototype.isEnabled=function(){return!0},Rr.prototype.isActive=function(){return!1},Rr.prototype.enable=function(){},Rr.prototype.disable=function(){};var qr=function(e){this._map=e};qr.prototype.reset=function(){this._delayContextMenu=!1,delete this._contextMenuEvent},qr.prototype.mousemove=function(e){this._map.fire(new jr(e.type,this._map,e))},qr.prototype.mousedown=function(){this._delayContextMenu=!0},qr.prototype.mouseup=function(){this._delayContextMenu=!1,this._contextMenuEvent&&(this._map.fire(new jr("contextmenu",this._map,this._contextMenuEvent)),delete this._contextMenuEvent)},qr.prototype.contextmenu=function(e){this._delayContextMenu?this._contextMenuEvent=e:this._map.fire(new jr(e.type,this._map,e)),this._map.listens("contextmenu")&&e.preventDefault()},qr.prototype.isEnabled=function(){return!0},qr.prototype.isActive=function(){return!1},qr.prototype.enable=function(){},qr.prototype.disable=function(){};var Pr=function(e,t){this._map=e,this._el=e.getCanvasContainer(),this._container=e.getContainer(),this._clickTolerance=t.clickTolerance||1};function Ir(e,t){for(var n={},r=0;r<e.length;r++)n[e[r].identifier]=t[r];return n}Pr.prototype.isEnabled=function(){return!!this._enabled},Pr.prototype.isActive=function(){return!!this._active},Pr.prototype.enable=function(){this.isEnabled()||(this._enabled=!0)},Pr.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},Pr.prototype.mousedown=function(e,t){this.isEnabled()&&e.shiftKey&&0===e.button&&(n.disableDrag(),this._startPos=this._lastPos=t,this._active=!0)},Pr.prototype.mousemoveWindow=function(e,t){if(this._active){var r=t;if(!(this._lastPos.equals(r)||!this._box&&r.dist(this._startPos)<this._clickTolerance)){var o=this._startPos;this._lastPos=r,this._box||(this._box=n.create("div","mapboxgl-boxzoom",this._container),this._container.classList.add("mapboxgl-crosshair"),this._fireEvent("boxzoomstart",e));var i=Math.min(o.x,r.x),a=Math.max(o.x,r.x),s=Math.min(o.y,r.y),l=Math.max(o.y,r.y);n.setTransform(this._box,"translate("+i+"px,"+s+"px)"),this._box.style.width=a-i+"px",this._box.style.height=l-s+"px"}}},Pr.prototype.mouseupWindow=function(t,r){var o=this;if(this._active&&0===t.button){var i=this._startPos,a=r;if(this.reset(),n.suppressClick(),i.x!==a.x||i.y!==a.y)return this._map.fire(new e.Event("boxzoomend",{originalEvent:t})),{cameraAnimation:function(e){return e.fitScreenCoordinates(i,a,o._map.getBearing(),{linear:!0})}};this._fireEvent("boxzoomcancel",t)}},Pr.prototype.keydown=function(e){this._active&&27===e.keyCode&&(this.reset(),this._fireEvent("boxzoomcancel",e))},Pr.prototype.blur=function(){this.reset()},Pr.prototype.reset=function(){this._active=!1,this._container.classList.remove("mapboxgl-crosshair"),this._box&&(n.remove(this._box),this._box=null),n.enableDrag(),delete this._startPos,delete this._lastPos},Pr.prototype._fireEvent=function(t,n){return this._map.fire(new e.Event(t,{originalEvent:n}))};var Wr=function(e){this.reset(),this.numTouches=e.numTouches};Wr.prototype.reset=function(){delete this.centroid,delete this.startTime,delete this.touches,this.aborted=!1},Wr.prototype.touchstart=function(t,n,r){(this.centroid||r.length>this.numTouches)&&(this.aborted=!0),this.aborted||(void 0===this.startTime&&(this.startTime=t.timeStamp),r.length===this.numTouches&&(this.centroid=function(t){for(var n=new e.Point(0,0),r=0,o=t;r<o.length;r+=1)n._add(o[r]);return n.div(t.length)}(n),this.touches=Ir(r,n)))},Wr.prototype.touchmove=function(e,t,n){if(!this.aborted&&this.centroid){var r=Ir(n,t);for(var o in this.touches){var i=r[o];(!i||i.dist(this.touches[o])>30)&&(this.aborted=!0)}}},Wr.prototype.touchend=function(e,t,n){if((!this.centroid||e.timeStamp-this.startTime>500)&&(this.aborted=!0),0===n.length){var r=!this.aborted&&this.centroid;if(this.reset(),r)return r}};var Fr=function(e){this.singleTap=new Wr(e),this.numTaps=e.numTaps,this.reset()};Fr.prototype.reset=function(){this.lastTime=1/0,delete this.lastTap,this.count=0,this.singleTap.reset()},Fr.prototype.touchstart=function(e,t,n){this.singleTap.touchstart(e,t,n)},Fr.prototype.touchmove=function(e,t,n){this.singleTap.touchmove(e,t,n)},Fr.prototype.touchend=function(e,t,n){var r=this.singleTap.touchend(e,t,n);if(r){var o=e.timeStamp-this.lastTime<500,i=!this.lastTap||this.lastTap.dist(r)<30;if(o&&i||this.reset(),this.count++,this.lastTime=e.timeStamp,this.lastTap=r,this.count===this.numTaps)return this.reset(),r}};var Ur=function(){this._zoomIn=new Fr({numTouches:1,numTaps:2}),this._zoomOut=new Fr({numTouches:2,numTaps:1}),this.reset()};Ur.prototype.reset=function(){this._active=!1,this._zoomIn.reset(),this._zoomOut.reset()},Ur.prototype.touchstart=function(e,t,n){this._zoomIn.touchstart(e,t,n),this._zoomOut.touchstart(e,t,n)},Ur.prototype.touchmove=function(e,t,n){this._zoomIn.touchmove(e,t,n),this._zoomOut.touchmove(e,t,n)},Ur.prototype.touchend=function(e,t,n){var r=this,o=this._zoomIn.touchend(e,t,n),i=this._zoomOut.touchend(e,t,n);return o?(this._active=!0,e.preventDefault(),setTimeout((function(){return r.reset()}),0),{cameraAnimation:function(t){return t.easeTo({duration:300,zoom:t.getZoom()+1,around:t.unproject(o)},{originalEvent:e})}}):i?(this._active=!0,e.preventDefault(),setTimeout((function(){return r.reset()}),0),{cameraAnimation:function(t){return t.easeTo({duration:300,zoom:t.getZoom()-1,around:t.unproject(i)},{originalEvent:e})}}):void 0},Ur.prototype.touchcancel=function(){this.reset()},Ur.prototype.enable=function(){this._enabled=!0},Ur.prototype.disable=function(){this._enabled=!1,this.reset()},Ur.prototype.isEnabled=function(){return this._enabled},Ur.prototype.isActive=function(){return this._active};var Zr={0:1,2:2},Hr=function(e){this.reset(),this._clickTolerance=e.clickTolerance||1};Hr.prototype.blur=function(){this.reset()},Hr.prototype.reset=function(){this._active=!1,this._moved=!1,delete this._lastPoint,delete this._eventButton},Hr.prototype._correctButton=function(e,t){return!1},Hr.prototype._move=function(e,t){return{}},Hr.prototype.mousedown=function(e,t){if(!this._lastPoint){var r=n.mouseButton(e);this._correctButton(e,r)&&(this._lastPoint=t,this._eventButton=r)}},Hr.prototype.mousemoveWindow=function(e,t){var n=this._lastPoint;if(n)if(e.preventDefault(),function(e,t){var n=Zr[t];return void 0===e.buttons||(e.buttons&n)!==n}(e,this._eventButton))this.reset();else if(this._moved||!(t.dist(n)<this._clickTolerance))return this._moved=!0,this._lastPoint=t,this._move(n,t)},Hr.prototype.mouseupWindow=function(e){this._lastPoint&&n.mouseButton(e)===this._eventButton&&(this._moved&&n.suppressClick(),this.reset())},Hr.prototype.enable=function(){this._enabled=!0},Hr.prototype.disable=function(){this._enabled=!1,this.reset()},Hr.prototype.isEnabled=function(){return this._enabled},Hr.prototype.isActive=function(){return this._active};var $r=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.mousedown=function(t,n){e.prototype.mousedown.call(this,t,n),this._lastPoint&&(this._active=!0)},t.prototype._correctButton=function(e,t){return 0===t&&!e.ctrlKey},t.prototype._move=function(e,t){return{around:t,panDelta:t.sub(e)}},t}(Hr),Vr=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._correctButton=function(e,t){return 0===t&&e.ctrlKey||2===t},t.prototype._move=function(e,t){var n=.8*(t.x-e.x);if(n)return this._active=!0,{bearingDelta:n}},t.prototype.contextmenu=function(e){e.preventDefault()},t}(Hr),Xr=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._correctButton=function(e,t){return 0===t&&e.ctrlKey||2===t},t.prototype._move=function(e,t){var n=-.5*(t.y-e.y);if(n)return this._active=!0,{pitchDelta:n}},t.prototype.contextmenu=function(e){e.preventDefault()},t}(Hr),Qr=function(e){this._minTouches=1,this._clickTolerance=e.clickTolerance||1,this.reset()};Qr.prototype.reset=function(){this._active=!1,this._touches={},this._sum=new e.Point(0,0)},Qr.prototype.touchstart=function(e,t,n){return this._calculateTransform(e,t,n)},Qr.prototype.touchmove=function(e,t,n){if(this._active&&!(n.length<this._minTouches))return e.preventDefault(),this._calculateTransform(e,t,n)},Qr.prototype.touchend=function(e,t,n){this._calculateTransform(e,t,n),this._active&&n.length<this._minTouches&&this.reset()},Qr.prototype.touchcancel=function(){this.reset()},Qr.prototype._calculateTransform=function(t,n,r){r.length>0&&(this._active=!0);var o=Ir(r,n),i=new e.Point(0,0),a=new e.Point(0,0),s=0;for(var l in o){var c=o[l],u=this._touches[l];u&&(i._add(c),a._add(c.sub(u)),s++,o[l]=c)}if(this._touches=o,!(s<this._minTouches)&&a.mag()){var d=a.div(s);if(this._sum._add(d),!(this._sum.mag()<this._clickTolerance))return{around:i.div(s),panDelta:d}}},Qr.prototype.enable=function(){this._enabled=!0},Qr.prototype.disable=function(){this._enabled=!1,this.reset()},Qr.prototype.isEnabled=function(){return this._enabled},Qr.prototype.isActive=function(){return this._active};var Yr=function(){this.reset()};function Gr(e,t,n){for(var r=0;r<e.length;r++)if(e[r].identifier===n)return t[r]}function Kr(e,t){return Math.log(e/t)/Math.LN2}Yr.prototype.reset=function(){this._active=!1,delete this._firstTwoTouches},Yr.prototype._start=function(e){},Yr.prototype._move=function(e,t,n){return{}},Yr.prototype.touchstart=function(e,t,n){this._firstTwoTouches||n.length<2||(this._firstTwoTouches=[n[0].identifier,n[1].identifier],this._start([t[0],t[1]]))},Yr.prototype.touchmove=function(e,t,n){if(this._firstTwoTouches){e.preventDefault();var r=this._firstTwoTouches,o=r[1],i=Gr(n,t,r[0]),a=Gr(n,t,o);if(i&&a){var s=this._aroundCenter?null:i.add(a).div(2);return this._move([i,a],s,e)}}},Yr.prototype.touchend=function(e,t,r){if(this._firstTwoTouches){var o=this._firstTwoTouches,i=o[1],a=Gr(r,t,o[0]),s=Gr(r,t,i);a&&s||(this._active&&n.suppressClick(),this.reset())}},Yr.prototype.touchcancel=function(){this.reset()},Yr.prototype.enable=function(e){this._enabled=!0,this._aroundCenter=!!e&&"center"===e.around},Yr.prototype.disable=function(){this._enabled=!1,this.reset()},Yr.prototype.isEnabled=function(){return this._enabled},Yr.prototype.isActive=function(){return this._active};var Jr=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.reset=function(){e.prototype.reset.call(this),delete this._distance,delete this._startDistance},t.prototype._start=function(e){this._startDistance=this._distance=e[0].dist(e[1])},t.prototype._move=function(e,t){var n=this._distance;if(this._distance=e[0].dist(e[1]),this._active||!(Math.abs(Kr(this._distance,this._startDistance))<.1))return this._active=!0,{zoomDelta:Kr(this._distance,n),pinchAround:t}},t}(Yr);function eo(e,t){return 180*e.angleWith(t)/Math.PI}var to=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.reset=function(){e.prototype.reset.call(this),delete this._minDiameter,delete this._startVector,delete this._vector},t.prototype._start=function(e){this._startVector=this._vector=e[0].sub(e[1]),this._minDiameter=e[0].dist(e[1])},t.prototype._move=function(e,t){var n=this._vector;if(this._vector=e[0].sub(e[1]),this._active||!this._isBelowThreshold(this._vector))return this._active=!0,{bearingDelta:eo(this._vector,n),pinchAround:t}},t.prototype._isBelowThreshold=function(e){this._minDiameter=Math.min(this._minDiameter,e.mag());var t=25/(Math.PI*this._minDiameter)*360,n=eo(e,this._startVector);return Math.abs(n)<t},t}(Yr);function no(e){return Math.abs(e.y)>Math.abs(e.x)}var ro=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.reset=function(){e.prototype.reset.call(this),this._valid=void 0,delete this._firstMove,delete this._lastPoints},t.prototype._start=function(e){this._lastPoints=e,no(e[0].sub(e[1]))&&(this._valid=!1)},t.prototype._move=function(e,t,n){var r=e[0].sub(this._lastPoints[0]),o=e[1].sub(this._lastPoints[1]);if(this._valid=this.gestureBeginsVertically(r,o,n.timeStamp),this._valid)return this._lastPoints=e,this._active=!0,{pitchDelta:(r.y+o.y)/2*-.5}},t.prototype.gestureBeginsVertically=function(e,t,n){if(void 0!==this._valid)return this._valid;var r=e.mag()>=2,o=t.mag()>=2;if(r||o){if(!r||!o)return void 0===this._firstMove&&(this._firstMove=n),n-this._firstMove<100&&void 0;var i=e.y>0==t.y>0;return no(e)&&no(t)&&i}},t}(Yr),oo={panStep:100,bearingStep:15,pitchStep:10},io=function(){var e=oo;this._panStep=e.panStep,this._bearingStep=e.bearingStep,this._pitchStep=e.pitchStep,this._rotationDisabled=!1};function ao(e){return e*(2-e)}io.prototype.blur=function(){this.reset()},io.prototype.reset=function(){this._active=!1},io.prototype.keydown=function(e){var t=this;if(!(e.altKey||e.ctrlKey||e.metaKey)){var n=0,r=0,o=0,i=0,a=0;switch(e.keyCode){case 61:case 107:case 171:case 187:n=1;break;case 189:case 109:case 173:n=-1;break;case 37:e.shiftKey?r=-1:(e.preventDefault(),i=-1);break;case 39:e.shiftKey?r=1:(e.preventDefault(),i=1);break;case 38:e.shiftKey?o=1:(e.preventDefault(),a=-1);break;case 40:e.shiftKey?o=-1:(e.preventDefault(),a=1);break;default:return}return this._rotationDisabled&&(r=0,o=0),{cameraAnimation:function(s){var l=s.getZoom();s.easeTo({duration:300,easeId:"keyboardHandler",easing:ao,zoom:n?Math.round(l)+n*(e.shiftKey?2:1):l,bearing:s.getBearing()+r*t._bearingStep,pitch:s.getPitch()+o*t._pitchStep,offset:[-i*t._panStep,-a*t._panStep],center:s.getCenter()},{originalEvent:e})}}}},io.prototype.enable=function(){this._enabled=!0},io.prototype.disable=function(){this._enabled=!1,this.reset()},io.prototype.isEnabled=function(){return this._enabled},io.prototype.isActive=function(){return this._active},io.prototype.disableRotation=function(){this._rotationDisabled=!0},io.prototype.enableRotation=function(){this._rotationDisabled=!1};var so=function(t,n){this._map=t,this._el=t.getCanvasContainer(),this._handler=n,this._delta=0,this._defaultZoomRate=.01,this._wheelZoomRate=1/450,e.bindAll(["_onTimeout"],this)};so.prototype.setZoomRate=function(e){this._defaultZoomRate=e},so.prototype.setWheelZoomRate=function(e){this._wheelZoomRate=e},so.prototype.isEnabled=function(){return!!this._enabled},so.prototype.isActive=function(){return!!this._active||void 0!==this._finishTimeout},so.prototype.isZooming=function(){return!!this._zooming},so.prototype.enable=function(e){this.isEnabled()||(this._enabled=!0,this._aroundCenter=e&&"center"===e.around)},so.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},so.prototype.wheel=function(t){if(this.isEnabled()){var n=t.deltaMode===e.window.WheelEvent.DOM_DELTA_LINE?40*t.deltaY:t.deltaY,r=e.browser.now(),o=r-(this._lastWheelEventTime||0);this._lastWheelEventTime=r,0!==n&&n%4.000244140625==0?this._type="wheel":0!==n&&Math.abs(n)<4?this._type="trackpad":o>400?(this._type=null,this._lastValue=n,this._timeout=setTimeout(this._onTimeout,40,t)):this._type||(this._type=Math.abs(o*n)<200?"trackpad":"wheel",this._timeout&&(clearTimeout(this._timeout),this._timeout=null,n+=this._lastValue)),t.shiftKey&&n&&(n/=4),this._type&&(this._lastWheelEvent=t,this._delta-=n,this._active||this._start(t)),t.preventDefault()}},so.prototype._onTimeout=function(e){this._type="wheel",this._delta-=this._lastValue,this._active||this._start(e)},so.prototype._start=function(t){if(this._delta){this._frameId&&(this._frameId=null),this._active=!0,this.isZooming()||(this._zooming=!0),this._finishTimeout&&(clearTimeout(this._finishTimeout),delete this._finishTimeout);var r=n.mousePos(this._el,t);this._around=e.LngLat.convert(this._aroundCenter?this._map.getCenter():this._map.unproject(r)),this._aroundPoint=this._map.transform.locationPoint(this._around),this._frameId||(this._frameId=!0,this._handler._triggerRenderFrame())}},so.prototype.renderFrame=function(){var t=this;if(this._frameId&&(this._frameId=null,this.isActive())){var n=this._map.transform;if(0!==this._delta){var r="wheel"===this._type&&Math.abs(this._delta)>4.000244140625?this._wheelZoomRate:this._defaultZoomRate,o=2/(1+Math.exp(-Math.abs(this._delta*r)));this._delta<0&&0!==o&&(o=1/o);var i="number"==typeof this._targetZoom?n.zoomScale(this._targetZoom):n.scale;this._targetZoom=Math.min(n.maxZoom,Math.max(n.minZoom,n.scaleZoom(i*o))),"wheel"===this._type&&(this._startZoom=n.zoom,this._easing=this._smoothOutEasing(200)),this._delta=0}var a,s="number"==typeof this._targetZoom?this._targetZoom:n.zoom,l=this._startZoom,c=this._easing,u=!1;if("wheel"===this._type&&l&&c){var d=Math.min((e.browser.now()-this._lastWheelEventTime)/200,1),p=c(d);a=e.number(l,s,p),d<1?this._frameId||(this._frameId=!0):u=!0}else a=s,u=!0;return this._active=!0,u&&(this._active=!1,this._finishTimeout=setTimeout((function(){t._zooming=!1,t._handler._triggerRenderFrame(),delete t._targetZoom,delete t._finishTimeout}),200)),{noInertia:!0,needsRenderFrame:!u,zoomDelta:a-n.zoom,around:this._aroundPoint,originalEvent:this._lastWheelEvent}}},so.prototype._smoothOutEasing=function(t){var n=e.ease;if(this._prevEase){var r=this._prevEase,o=(e.browser.now()-r.start)/r.duration,i=r.easing(o+.01)-r.easing(o),a=.27/Math.sqrt(i*i+1e-4)*.01,s=Math.sqrt(.0729-a*a);n=e.bezier(a,s,.25,1)}return this._prevEase={start:e.browser.now(),duration:t,easing:n},n},so.prototype.blur=function(){this.reset()},so.prototype.reset=function(){this._active=!1};var lo=function(e,t){this._clickZoom=e,this._tapZoom=t};lo.prototype.enable=function(){this._clickZoom.enable(),this._tapZoom.enable()},lo.prototype.disable=function(){this._clickZoom.disable(),this._tapZoom.disable()},lo.prototype.isEnabled=function(){return this._clickZoom.isEnabled()&&this._tapZoom.isEnabled()},lo.prototype.isActive=function(){return this._clickZoom.isActive()||this._tapZoom.isActive()};var co=function(){this.reset()};co.prototype.reset=function(){this._active=!1},co.prototype.blur=function(){this.reset()},co.prototype.dblclick=function(e,t){return e.preventDefault(),{cameraAnimation:function(n){n.easeTo({duration:300,zoom:n.getZoom()+(e.shiftKey?-1:1),around:n.unproject(t)},{originalEvent:e})}}},co.prototype.enable=function(){this._enabled=!0},co.prototype.disable=function(){this._enabled=!1,this.reset()},co.prototype.isEnabled=function(){return this._enabled},co.prototype.isActive=function(){return this._active};var uo=function(){this._tap=new Fr({numTouches:1,numTaps:1}),this.reset()};uo.prototype.reset=function(){this._active=!1,delete this._swipePoint,delete this._swipeTouch,delete this._tapTime,this._tap.reset()},uo.prototype.touchstart=function(e,t,n){this._swipePoint||(this._tapTime&&e.timeStamp-this._tapTime>500&&this.reset(),this._tapTime?n.length>0&&(this._swipePoint=t[0],this._swipeTouch=n[0].identifier):this._tap.touchstart(e,t,n))},uo.prototype.touchmove=function(e,t,n){if(this._tapTime){if(this._swipePoint){if(n[0].identifier!==this._swipeTouch)return;var r=t[0],o=r.y-this._swipePoint.y;return this._swipePoint=r,e.preventDefault(),this._active=!0,{zoomDelta:o/128}}}else this._tap.touchmove(e,t,n)},uo.prototype.touchend=function(e,t,n){this._tapTime?this._swipePoint&&0===n.length&&this.reset():this._tap.touchend(e,t,n)&&(this._tapTime=e.timeStamp)},uo.prototype.touchcancel=function(){this.reset()},uo.prototype.enable=function(){this._enabled=!0},uo.prototype.disable=function(){this._enabled=!1,this.reset()},uo.prototype.isEnabled=function(){return this._enabled},uo.prototype.isActive=function(){return this._active};var po=function(e,t,n){this._el=e,this._mousePan=t,this._touchPan=n};po.prototype.enable=function(e){this._inertiaOptions=e||{},this._mousePan.enable(),this._touchPan.enable(),this._el.classList.add("mapboxgl-touch-drag-pan")},po.prototype.disable=function(){this._mousePan.disable(),this._touchPan.disable(),this._el.classList.remove("mapboxgl-touch-drag-pan")},po.prototype.isEnabled=function(){return this._mousePan.isEnabled()&&this._touchPan.isEnabled()},po.prototype.isActive=function(){return this._mousePan.isActive()||this._touchPan.isActive()};var fo=function(e,t,n){this._pitchWithRotate=e.pitchWithRotate,this._mouseRotate=t,this._mousePitch=n};fo.prototype.enable=function(){this._mouseRotate.enable(),this._pitchWithRotate&&this._mousePitch.enable()},fo.prototype.disable=function(){this._mouseRotate.disable(),this._mousePitch.disable()},fo.prototype.isEnabled=function(){return this._mouseRotate.isEnabled()&&(!this._pitchWithRotate||this._mousePitch.isEnabled())},fo.prototype.isActive=function(){return this._mouseRotate.isActive()||this._mousePitch.isActive()};var ho=function(e,t,n,r){this._el=e,this._touchZoom=t,this._touchRotate=n,this._tapDragZoom=r,this._rotationDisabled=!1,this._enabled=!0};ho.prototype.enable=function(e){this._touchZoom.enable(e),this._rotationDisabled||this._touchRotate.enable(e),this._tapDragZoom.enable(),this._el.classList.add("mapboxgl-touch-zoom-rotate")},ho.prototype.disable=function(){this._touchZoom.disable(),this._touchRotate.disable(),this._tapDragZoom.disable(),this._el.classList.remove("mapboxgl-touch-zoom-rotate")},ho.prototype.isEnabled=function(){return this._touchZoom.isEnabled()&&(this._rotationDisabled||this._touchRotate.isEnabled())&&this._tapDragZoom.isEnabled()},ho.prototype.isActive=function(){return this._touchZoom.isActive()||this._touchRotate.isActive()||this._tapDragZoom.isActive()},ho.prototype.disableRotation=function(){this._rotationDisabled=!0,this._touchRotate.disable()},ho.prototype.enableRotation=function(){this._rotationDisabled=!1,this._touchZoom.isEnabled()&&this._touchRotate.enable()};var bo=function(e){return e.zoom||e.drag||e.pitch||e.rotate},Ao=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t}(e.Event);function mo(e){return e.panDelta&&e.panDelta.mag()||e.zoomDelta||e.bearingDelta||e.pitchDelta}var go=function(t,r){this._map=t,this._el=this._map.getCanvasContainer(),this._handlers=[],this._handlersById={},this._changes=[],this._inertia=new Dr(t),this._bearingSnap=r.bearingSnap,this._previousActiveHandlers={},this._eventsInProgress={},this._addDefaultHandlers(r),e.bindAll(["handleEvent","handleWindowEvent"],this);var o=this._el;this._listeners=[[o,"touchstart",{passive:!0}],[o,"touchmove",{passive:!1}],[o,"touchend",void 0],[o,"touchcancel",void 0],[o,"mousedown",void 0],[o,"mousemove",void 0],[o,"mouseup",void 0],[e.window.document,"mousemove",{capture:!0}],[e.window.document,"mouseup",void 0],[o,"mouseover",void 0],[o,"mouseout",void 0],[o,"dblclick",void 0],[o,"click",void 0],[o,"keydown",{capture:!1}],[o,"keyup",void 0],[o,"wheel",{passive:!1}],[o,"contextmenu",void 0],[e.window,"blur",void 0]];for(var i=0,a=this._listeners;i<a.length;i+=1){var s=a[i],l=s[0];n.addEventListener(l,s[1],l===e.window.document?this.handleWindowEvent:this.handleEvent,s[2])}};go.prototype.destroy=function(){for(var t=0,r=this._listeners;t<r.length;t+=1){var o=r[t],i=o[0];n.removeEventListener(i,o[1],i===e.window.document?this.handleWindowEvent:this.handleEvent,o[2])}},go.prototype._addDefaultHandlers=function(e){var t=this._map,n=t.getCanvasContainer();this._add("mapEvent",new Rr(t,e));var r=t.boxZoom=new Pr(t,e);this._add("boxZoom",r);var o=new Ur,i=new co;t.doubleClickZoom=new lo(i,o),this._add("tapZoom",o),this._add("clickZoom",i);var a=new uo;this._add("tapDragZoom",a);var s=t.touchPitch=new ro;this._add("touchPitch",s);var l=new Vr(e),c=new Xr(e);t.dragRotate=new fo(e,l,c),this._add("mouseRotate",l,["mousePitch"]),this._add("mousePitch",c,["mouseRotate"]);var u=new $r(e),d=new Qr(e);t.dragPan=new po(n,u,d),this._add("mousePan",u),this._add("touchPan",d,["touchZoom","touchRotate"]);var p=new to,f=new Jr;t.touchZoomRotate=new ho(n,f,p,a),this._add("touchRotate",p,["touchPan","touchZoom"]),this._add("touchZoom",f,["touchPan","touchRotate"]);var h=t.scrollZoom=new so(t,this);this._add("scrollZoom",h,["mousePan"]);var b=t.keyboard=new io;this._add("keyboard",b),this._add("blockableMapEvent",new qr(t));for(var A=0,m=["boxZoom","doubleClickZoom","tapDragZoom","touchPitch","dragRotate","dragPan","touchZoomRotate","scrollZoom","keyboard"];A<m.length;A+=1){var g=m[A];e.interactive&&e[g]&&t[g].enable(e[g])}},go.prototype._add=function(e,t,n){this._handlers.push({handlerName:e,handler:t,allowed:n}),this._handlersById[e]=t},go.prototype.stop=function(e){if(!this._updatingCamera){for(var t=0,n=this._handlers;t<n.length;t+=1)n[t].handler.reset();this._inertia.clear(),this._fireEvents({},{},e),this._changes=[]}},go.prototype.isActive=function(){for(var e=0,t=this._handlers;e<t.length;e+=1)if(t[e].handler.isActive())return!0;return!1},go.prototype.isZooming=function(){return!!this._eventsInProgress.zoom||this._map.scrollZoom.isZooming()},go.prototype.isRotating=function(){return!!this._eventsInProgress.rotate},go.prototype.isMoving=function(){return Boolean(bo(this._eventsInProgress))||this.isZooming()},go.prototype._blockedByActive=function(e,t,n){for(var r in e)if(r!==n&&(!t||t.indexOf(r)<0))return!0;return!1},go.prototype.handleWindowEvent=function(e){this.handleEvent(e,e.type+"Window")},go.prototype._getMapTouches=function(e){for(var t=[],n=0,r=e;n<r.length;n+=1){var o=r[n];this._el.contains(o.target)&&t.push(o)}return t},go.prototype.handleEvent=function(e,t){this._updatingCamera=!0;for(var r="renderFrame"===e.type?void 0:e,o={needsRenderFrame:!1},i={},a={},s=e.touches?this._getMapTouches(e.touches):void 0,l=s?n.touchPos(this._el,s):n.mousePos(this._el,e),c=0,u=this._handlers;c<u.length;c+=1){var d=u[c],p=d.handlerName,f=d.handler,h=d.allowed;if(f.isEnabled()){var b=void 0;this._blockedByActive(a,h,p)?f.reset():f[t||e.type]&&(b=f[t||e.type](e,l,s),this.mergeHandlerResult(o,i,b,p,r),b&&b.needsRenderFrame&&this._triggerRenderFrame()),(b||f.isActive())&&(a[p]=f)}}var A={};for(var m in this._previousActiveHandlers)a[m]||(A[m]=r);this._previousActiveHandlers=a,(Object.keys(A).length||mo(o))&&(this._changes.push([o,i,A]),this._triggerRenderFrame()),(Object.keys(a).length||mo(o))&&this._map._stop(!0),this._updatingCamera=!1;var g=o.cameraAnimation;g&&(this._inertia.clear(),this._fireEvents({},{},!0),this._changes=[],g(this._map))},go.prototype.mergeHandlerResult=function(t,n,r,o,i){if(r){e.extend(t,r);var a={handlerName:o,originalEvent:r.originalEvent||i};void 0!==r.zoomDelta&&(n.zoom=a),void 0!==r.panDelta&&(n.drag=a),void 0!==r.pitchDelta&&(n.pitch=a),void 0!==r.bearingDelta&&(n.rotate=a)}},go.prototype._applyChanges=function(){for(var t={},n={},r={},o=0,i=this._changes;o<i.length;o+=1){var a=i[o],s=a[0],l=a[1],c=a[2];s.panDelta&&(t.panDelta=(t.panDelta||new e.Point(0,0))._add(s.panDelta)),s.zoomDelta&&(t.zoomDelta=(t.zoomDelta||0)+s.zoomDelta),s.bearingDelta&&(t.bearingDelta=(t.bearingDelta||0)+s.bearingDelta),s.pitchDelta&&(t.pitchDelta=(t.pitchDelta||0)+s.pitchDelta),void 0!==s.around&&(t.around=s.around),void 0!==s.pinchAround&&(t.pinchAround=s.pinchAround),s.noInertia&&(t.noInertia=s.noInertia),e.extend(n,l),e.extend(r,c)}this._updateMapTransform(t,n,r),this._changes=[]},go.prototype._updateMapTransform=function(e,t,n){var r=this._map,o=r.transform;if(!mo(e))return this._fireEvents(t,n,!0);var i=e.panDelta,a=e.zoomDelta,s=e.bearingDelta,l=e.pitchDelta,c=e.around,u=e.pinchAround;void 0!==u&&(c=u),r._stop(!0),c=c||r.transform.centerPoint;var d=o.pointLocation(i?c.sub(i):c);s&&(o.bearing+=s),l&&(o.pitch+=l),a&&(o.zoom+=a),o.setLocationAtPoint(d,c),this._map._update(),e.noInertia||this._inertia.record(e),this._fireEvents(t,n,!0)},go.prototype._fireEvents=function(t,n,r){var o=this,i=bo(this._eventsInProgress),a=bo(t),s={};for(var l in t)this._eventsInProgress[l]||(s[l+"start"]=t[l].originalEvent),this._eventsInProgress[l]=t[l];for(var c in!i&&a&&this._fireEvent("movestart",a.originalEvent),s)this._fireEvent(c,s[c]);for(var u in a&&this._fireEvent("move",a.originalEvent),t)this._fireEvent(u,t[u].originalEvent);var d,p={};for(var f in this._eventsInProgress){var h=this._eventsInProgress[f],b=h.handlerName,A=h.originalEvent;this._handlersById[b].isActive()||(delete this._eventsInProgress[f],p[f+"end"]=d=n[b]||A)}for(var m in p)this._fireEvent(m,p[m]);var g=bo(this._eventsInProgress);if(r&&(i||a)&&!g){this._updatingCamera=!0;var v=this._inertia._onMoveEnd(this._map.dragPan._inertiaOptions),y=function(e){return 0!==e&&-o._bearingSnap<e&&e<o._bearingSnap};v?(y(v.bearing||this._map.getBearing())&&(v.bearing=0),this._map.easeTo(v,{originalEvent:d})):(this._map.fire(new e.Event("moveend",{originalEvent:d})),y(this._map.getBearing())&&this._map.resetNorth()),this._updatingCamera=!1}},go.prototype._fireEvent=function(t,n){this._map.fire(new e.Event(t,n?{originalEvent:n}:{}))},go.prototype._requestFrame=function(){var e=this;return this._map.triggerRepaint(),this._map._renderTaskQueue.add((function(t){delete e._frameId,e.handleEvent(new Ao("renderFrame",{timeStamp:t})),e._applyChanges()}))},go.prototype._triggerRenderFrame=function(){void 0===this._frameId&&(this._frameId=this._requestFrame())};var vo=function(t){function n(n,r){t.call(this),this._moving=!1,this._zooming=!1,this.transform=n,this._bearingSnap=r.bearingSnap,e.bindAll(["_renderFrameCallback"],this)}return t&&(n.__proto__=t),(n.prototype=Object.create(t&&t.prototype)).constructor=n,n.prototype.getCenter=function(){return new e.LngLat(this.transform.center.lng,this.transform.center.lat)},n.prototype.setCenter=function(e,t){return this.jumpTo({center:e},t)},n.prototype.panBy=function(t,n,r){return t=e.Point.convert(t).mult(-1),this.panTo(this.transform.center,e.extend({offset:t},n),r)},n.prototype.panTo=function(t,n,r){return this.easeTo(e.extend({center:t},n),r)},n.prototype.getZoom=function(){return this.transform.zoom},n.prototype.setZoom=function(e,t){return this.jumpTo({zoom:e},t),this},n.prototype.zoomTo=function(t,n,r){return this.easeTo(e.extend({zoom:t},n),r)},n.prototype.zoomIn=function(e,t){return this.zoomTo(this.getZoom()+1,e,t),this},n.prototype.zoomOut=function(e,t){return this.zoomTo(this.getZoom()-1,e,t),this},n.prototype.getBearing=function(){return this.transform.bearing},n.prototype.setBearing=function(e,t){return this.jumpTo({bearing:e},t),this},n.prototype.getPadding=function(){return this.transform.padding},n.prototype.setPadding=function(e,t){return this.jumpTo({padding:e},t),this},n.prototype.rotateTo=function(t,n,r){return this.easeTo(e.extend({bearing:t},n),r)},n.prototype.resetNorth=function(t,n){return this.rotateTo(0,e.extend({duration:1e3},t),n),this},n.prototype.resetNorthPitch=function(t,n){return this.easeTo(e.extend({bearing:0,pitch:0,duration:1e3},t),n),this},n.prototype.snapToNorth=function(e,t){return Math.abs(this.getBearing())<this._bearingSnap?this.resetNorth(e,t):this},n.prototype.getPitch=function(){return this.transform.pitch},n.prototype.setPitch=function(e,t){return this.jumpTo({pitch:e},t),this},n.prototype.cameraForBounds=function(t,n){t=e.LngLatBounds.convert(t);var r=n&&n.bearing||0;return this._cameraForBoxAndBearing(t.getNorthWest(),t.getSouthEast(),r,n)},n.prototype._cameraForBoxAndBearing=function(t,n,r,o){var i={top:0,bottom:0,right:0,left:0};if("number"==typeof(o=e.extend({padding:i,offset:[0,0],maxZoom:this.transform.maxZoom},o)).padding){var a=o.padding;o.padding={top:a,bottom:a,right:a,left:a}}o.padding=e.extend(i,o.padding);var s=this.transform,l=s.padding,c=s.project(e.LngLat.convert(t)),u=s.project(e.LngLat.convert(n)),d=c.rotate(-r*Math.PI/180),p=u.rotate(-r*Math.PI/180),f=new e.Point(Math.max(d.x,p.x),Math.max(d.y,p.y)),h=new e.Point(Math.min(d.x,p.x),Math.min(d.y,p.y)),b=f.sub(h),A=(s.width-(l.left+l.right+o.padding.left+o.padding.right))/b.x,m=(s.height-(l.top+l.bottom+o.padding.top+o.padding.bottom))/b.y;if(!(m<0||A<0)){var g=Math.min(s.scaleZoom(s.scale*Math.min(A,m)),o.maxZoom),v="number"==typeof o.offset.x?new e.Point(o.offset.x,o.offset.y):e.Point.convert(o.offset),y=new e.Point((o.padding.left-o.padding.right)/2,(o.padding.top-o.padding.bottom)/2).rotate(r*Math.PI/180),M=v.add(y).mult(s.scale/s.zoomScale(g));return{center:s.unproject(c.add(u).div(2).sub(M)),zoom:g,bearing:r}}e.warnOnce("Map cannot fit within canvas with the given bounds, padding, and/or offset.")},n.prototype.fitBounds=function(e,t,n){return this._fitInternal(this.cameraForBounds(e,t),t,n)},n.prototype.fitScreenCoordinates=function(t,n,r,o,i){return this._fitInternal(this._cameraForBoxAndBearing(this.transform.pointLocation(e.Point.convert(t)),this.transform.pointLocation(e.Point.convert(n)),r,o),o,i)},n.prototype._fitInternal=function(t,n,r){return t?(delete(n=e.extend(t,n)).padding,n.linear?this.easeTo(n,r):this.flyTo(n,r)):this},n.prototype.jumpTo=function(t,n){this.stop();var r=this.transform,o=!1,i=!1,a=!1;return"zoom"in t&&r.zoom!==+t.zoom&&(o=!0,r.zoom=+t.zoom),void 0!==t.center&&(r.center=e.LngLat.convert(t.center)),"bearing"in t&&r.bearing!==+t.bearing&&(i=!0,r.bearing=+t.bearing),"pitch"in t&&r.pitch!==+t.pitch&&(a=!0,r.pitch=+t.pitch),null==t.padding||r.isPaddingEqual(t.padding)||(r.padding=t.padding),this.fire(new e.Event("movestart",n)).fire(new e.Event("move",n)),o&&this.fire(new e.Event("zoomstart",n)).fire(new e.Event("zoom",n)).fire(new e.Event("zoomend",n)),i&&this.fire(new e.Event("rotatestart",n)).fire(new e.Event("rotate",n)).fire(new e.Event("rotateend",n)),a&&this.fire(new e.Event("pitchstart",n)).fire(new e.Event("pitch",n)).fire(new e.Event("pitchend",n)),this.fire(new e.Event("moveend",n))},n.prototype.easeTo=function(t,n){var r=this;this._stop(!1,t.easeId),(!1===(t=e.extend({offset:[0,0],duration:500,easing:e.ease},t)).animate||!t.essential&&e.browser.prefersReducedMotion)&&(t.duration=0);var o=this.transform,i=this.getZoom(),a=this.getBearing(),s=this.getPitch(),l=this.getPadding(),c="zoom"in t?+t.zoom:i,u="bearing"in t?this._normalizeBearing(t.bearing,a):a,d="pitch"in t?+t.pitch:s,p="padding"in t?t.padding:o.padding,f=e.Point.convert(t.offset),h=o.centerPoint.add(f),b=o.pointLocation(h),A=e.LngLat.convert(t.center||b);this._normalizeCenter(A);var m,g,v=o.project(b),y=o.project(A).sub(v),M=o.zoomScale(c-i);t.around&&(m=e.LngLat.convert(t.around),g=o.locationPoint(m));var O={moving:this._moving,zooming:this._zooming,rotating:this._rotating,pitching:this._pitching};return this._zooming=this._zooming||c!==i,this._rotating=this._rotating||a!==u,this._pitching=this._pitching||d!==s,this._padding=!o.isPaddingEqual(p),this._easeId=t.easeId,this._prepareEase(n,t.noMoveStart,O),this._ease((function(t){if(r._zooming&&(o.zoom=e.number(i,c,t)),r._rotating&&(o.bearing=e.number(a,u,t)),r._pitching&&(o.pitch=e.number(s,d,t)),r._padding&&(o.interpolatePadding(l,p,t),h=o.centerPoint.add(f)),m)o.setLocationAtPoint(m,g);else{var b=o.zoomScale(o.zoom-i),A=c>i?Math.min(2,M):Math.max(.5,M),O=Math.pow(A,1-t),_=o.unproject(v.add(y.mult(t*O)).mult(b));o.setLocationAtPoint(o.renderWorldCopies?_.wrap():_,h)}r._fireMoveEvents(n)}),(function(e){r._afterEase(n,e)}),t),this},n.prototype._prepareEase=function(t,n,r){void 0===r&&(r={}),this._moving=!0,n||r.moving||this.fire(new e.Event("movestart",t)),this._zooming&&!r.zooming&&this.fire(new e.Event("zoomstart",t)),this._rotating&&!r.rotating&&this.fire(new e.Event("rotatestart",t)),this._pitching&&!r.pitching&&this.fire(new e.Event("pitchstart",t))},n.prototype._fireMoveEvents=function(t){this.fire(new e.Event("move",t)),this._zooming&&this.fire(new e.Event("zoom",t)),this._rotating&&this.fire(new e.Event("rotate",t)),this._pitching&&this.fire(new e.Event("pitch",t))},n.prototype._afterEase=function(t,n){if(!this._easeId||!n||this._easeId!==n){delete this._easeId;var r=this._zooming,o=this._rotating,i=this._pitching;this._moving=!1,this._zooming=!1,this._rotating=!1,this._pitching=!1,this._padding=!1,r&&this.fire(new e.Event("zoomend",t)),o&&this.fire(new e.Event("rotateend",t)),i&&this.fire(new e.Event("pitchend",t)),this.fire(new e.Event("moveend",t))}},n.prototype.flyTo=function(t,n){var r=this;if(!t.essential&&e.browser.prefersReducedMotion){var o=e.pick(t,["center","zoom","bearing","pitch","around"]);return this.jumpTo(o,n)}this.stop(),t=e.extend({offset:[0,0],speed:1.2,curve:1.42,easing:e.ease},t);var i=this.transform,a=this.getZoom(),s=this.getBearing(),l=this.getPitch(),c=this.getPadding(),u="zoom"in t?e.clamp(+t.zoom,i.minZoom,i.maxZoom):a,d="bearing"in t?this._normalizeBearing(t.bearing,s):s,p="pitch"in t?+t.pitch:l,f="padding"in t?t.padding:i.padding,h=i.zoomScale(u-a),b=e.Point.convert(t.offset),A=i.centerPoint.add(b),m=i.pointLocation(A),g=e.LngLat.convert(t.center||m);this._normalizeCenter(g);var v=i.project(m),y=i.project(g).sub(v),M=t.curve,O=Math.max(i.width,i.height),_=O/h,z=y.mag();if("minZoom"in t){var x=e.clamp(Math.min(t.minZoom,a,u),i.minZoom,i.maxZoom),w=O/i.zoomScale(x-a);M=Math.sqrt(w/z*2)}var C=M*M;function S(e){var t=(_*_-O*O+(e?-1:1)*C*C*z*z)/(2*(e?_:O)*C*z);return Math.log(Math.sqrt(t*t+1)-t)}function E(e){return(Math.exp(e)-Math.exp(-e))/2}function k(e){return(Math.exp(e)+Math.exp(-e))/2}var D=S(0),N=function(e){return k(D)/k(D+M*e)},T=function(e){return O*((k(D)*(E(t=D+M*e)/k(t))-E(D))/C)/z;var t},j=(S(1)-D)/M;if(Math.abs(z)<1e-6||!isFinite(j)){if(Math.abs(O-_)<1e-6)return this.easeTo(t,n);var B=_<O?-1:1;j=Math.abs(Math.log(_/O))/M,T=function(){return 0},N=function(e){return Math.exp(B*M*e)}}return t.duration="duration"in t?+t.duration:1e3*j/("screenSpeed"in t?+t.screenSpeed/M:+t.speed),t.maxDuration&&t.duration>t.maxDuration&&(t.duration=0),this._zooming=!0,this._rotating=s!==d,this._pitching=p!==l,this._padding=!i.isPaddingEqual(f),this._prepareEase(n,!1),this._ease((function(t){var o=t*j,h=1/N(o);i.zoom=1===t?u:a+i.scaleZoom(h),r._rotating&&(i.bearing=e.number(s,d,t)),r._pitching&&(i.pitch=e.number(l,p,t)),r._padding&&(i.interpolatePadding(c,f,t),A=i.centerPoint.add(b));var m=1===t?g:i.unproject(v.add(y.mult(T(o))).mult(h));i.setLocationAtPoint(i.renderWorldCopies?m.wrap():m,A),r._fireMoveEvents(n)}),(function(){return r._afterEase(n)}),t),this},n.prototype.isEasing=function(){return!!this._easeFrameId},n.prototype.stop=function(){return this._stop()},n.prototype._stop=function(e,t){if(this._easeFrameId&&(this._cancelRenderFrame(this._easeFrameId),delete this._easeFrameId,delete this._onEaseFrame),this._onEaseEnd){var n=this._onEaseEnd;delete this._onEaseEnd,n.call(this,t)}if(!e){var r=this.handlers;r&&r.stop(!1)}return this},n.prototype._ease=function(t,n,r){!1===r.animate||0===r.duration?(t(1),n()):(this._easeStart=e.browser.now(),this._easeOptions=r,this._onEaseFrame=t,this._onEaseEnd=n,this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback))},n.prototype._renderFrameCallback=function(){var t=Math.min((e.browser.now()-this._easeStart)/this._easeOptions.duration,1);this._onEaseFrame(this._easeOptions.easing(t)),t<1?this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback):this.stop()},n.prototype._normalizeBearing=function(t,n){t=e.wrap(t,-180,180);var r=Math.abs(t-n);return Math.abs(t-360-n)<r&&(t-=360),Math.abs(t+360-n)<r&&(t+=360),t},n.prototype._normalizeCenter=function(e){var t=this.transform;if(t.renderWorldCopies&&!t.lngRange){var n=e.lng-t.center.lng;e.lng+=n>180?-360:n<-180?360:0}},n}(e.Evented),yo=function(t){void 0===t&&(t={}),this.options=t,e.bindAll(["_toggleAttribution","_updateEditLink","_updateData","_updateCompact"],this)};yo.prototype.getDefaultPosition=function(){return"bottom-right"},yo.prototype.onAdd=function(e){var t=this.options&&this.options.compact;return this._map=e,this._container=n.create("div","mapboxgl-ctrl mapboxgl-ctrl-attrib"),this._compactButton=n.create("button","mapboxgl-ctrl-attrib-button",this._container),this._compactButton.addEventListener("click",this._toggleAttribution),this._setElementTitle(this._compactButton,"ToggleAttribution"),this._innerContainer=n.create("div","mapboxgl-ctrl-attrib-inner",this._container),this._innerContainer.setAttribute("role","list"),t&&this._container.classList.add("mapboxgl-compact"),this._updateAttributions(),this._updateEditLink(),this._map.on("styledata",this._updateData),this._map.on("sourcedata",this._updateData),this._map.on("moveend",this._updateEditLink),void 0===t&&(this._map.on("resize",this._updateCompact),this._updateCompact()),this._container},yo.prototype.onRemove=function(){n.remove(this._container),this._map.off("styledata",this._updateData),this._map.off("sourcedata",this._updateData),this._map.off("moveend",this._updateEditLink),this._map.off("resize",this._updateCompact),this._map=void 0,this._attribHTML=void 0},yo.prototype._setElementTitle=function(e,t){var n=this._map._getUIString("AttributionControl."+t);e.title=n,e.setAttribute("aria-label",n)},yo.prototype._toggleAttribution=function(){this._container.classList.contains("mapboxgl-compact-show")?(this._container.classList.remove("mapboxgl-compact-show"),this._compactButton.setAttribute("aria-pressed","false")):(this._container.classList.add("mapboxgl-compact-show"),this._compactButton.setAttribute("aria-pressed","true"))},yo.prototype._updateEditLink=function(){var t=this._editLink;t||(t=this._editLink=this._container.querySelector(".mapbox-improve-map"));var n=[{key:"owner",value:this.styleOwner},{key:"id",value:this.styleId},{key:"access_token",value:this._map._requestManager._customAccessToken||e.config.ACCESS_TOKEN}];if(t){var r=n.reduce((function(e,t,r){return t.value&&(e+=t.key+"="+t.value+(r<n.length-1?"&":"")),e}),"?");t.href=e.config.FEEDBACK_URL+"/"+r+(this._map._hash?this._map._hash.getHashString(!0):""),t.rel="noopener nofollow",this._setElementTitle(t,"MapFeedback")}},yo.prototype._updateData=function(e){!e||"metadata"!==e.sourceDataType&&"visibility"!==e.sourceDataType&&"style"!==e.dataType||(this._updateAttributions(),this._updateEditLink())},yo.prototype._updateAttributions=function(){if(this._map.style){var e=[];if(this.options.customAttribution&&(Array.isArray(this.options.customAttribution)?e=e.concat(this.options.customAttribution.map((function(e){return"string"!=typeof e?"":e}))):"string"==typeof this.options.customAttribution&&e.push(this.options.customAttribution)),this._map.style.stylesheet){var t=this._map.style.stylesheet;this.styleOwner=t.owner,this.styleId=t.id}var n=this._map.style.sourceCaches;for(var r in n){var o=n[r];if(o.used){var i=o.getSource();i.attribution&&e.indexOf(i.attribution)<0&&e.push(i.attribution)}}e.sort((function(e,t){return e.length-t.length}));var a=(e=e.filter((function(t,n){for(var r=n+1;r<e.length;r++)if(e[r].indexOf(t)>=0)return!1;return!0}))).join(" | ");a!==this._attribHTML&&(this._attribHTML=a,e.length?(this._innerContainer.innerHTML=a,this._container.classList.remove("mapboxgl-attrib-empty")):this._container.classList.add("mapboxgl-attrib-empty"),this._editLink=null)}},yo.prototype._updateCompact=function(){this._map.getCanvasContainer().offsetWidth<=640?this._container.classList.add("mapboxgl-compact"):this._container.classList.remove("mapboxgl-compact","mapboxgl-compact-show")};var Mo=function(){e.bindAll(["_updateLogo"],this),e.bindAll(["_updateCompact"],this)};Mo.prototype.onAdd=function(e){this._map=e,this._container=n.create("div","mapboxgl-ctrl");var t=n.create("a","mapboxgl-ctrl-logo");return t.target="_blank",t.rel="noopener nofollow",t.href="https://www.mapbox.com/",t.setAttribute("aria-label",this._map._getUIString("LogoControl.Title")),t.setAttribute("rel","noopener nofollow"),this._container.appendChild(t),this._container.style.display="none",this._map.on("sourcedata",this._updateLogo),this._updateLogo(),this._map.on("resize",this._updateCompact),this._updateCompact(),this._container},Mo.prototype.onRemove=function(){n.remove(this._container),this._map.off("sourcedata",this._updateLogo),this._map.off("resize",this._updateCompact)},Mo.prototype.getDefaultPosition=function(){return"bottom-left"},Mo.prototype._updateLogo=function(e){e&&"metadata"!==e.sourceDataType||(this._container.style.display=this._logoRequired()?"block":"none")},Mo.prototype._logoRequired=function(){if(this._map.style){var e=this._map.style.sourceCaches;for(var t in e)if(e[t].getSource().mapbox_logo)return!0;return!1}},Mo.prototype._updateCompact=function(){var e=this._container.children;if(e.length){var t=e[0];this._map.getCanvasContainer().offsetWidth<250?t.classList.add("mapboxgl-compact"):t.classList.remove("mapboxgl-compact")}};var Oo=function(){this._queue=[],this._id=0,this._cleared=!1,this._currentlyRunning=!1};Oo.prototype.add=function(e){var t=++this._id;return this._queue.push({callback:e,id:t,cancelled:!1}),t},Oo.prototype.remove=function(e){for(var t=this._currentlyRunning,n=0,r=t?this._queue.concat(t):this._queue;n<r.length;n+=1){var o=r[n];if(o.id===e)return void(o.cancelled=!0)}},Oo.prototype.run=function(e){void 0===e&&(e=0);var t=this._currentlyRunning=this._queue;this._queue=[];for(var n=0,r=t;n<r.length;n+=1){var o=r[n];if(!o.cancelled&&(o.callback(e),this._cleared))break}this._cleared=!1,this._currentlyRunning=!1},Oo.prototype.clear=function(){this._currentlyRunning&&(this._cleared=!0),this._queue=[]};var _o={"AttributionControl.ToggleAttribution":"Toggle attribution","AttributionControl.MapFeedback":"Map feedback","FullscreenControl.Enter":"Enter fullscreen","FullscreenControl.Exit":"Exit fullscreen","GeolocateControl.FindMyLocation":"Find my location","GeolocateControl.LocationNotAvailable":"Location not available","LogoControl.Title":"Mapbox logo","NavigationControl.ResetBearing":"Reset bearing to north","NavigationControl.ZoomIn":"Zoom in","NavigationControl.ZoomOut":"Zoom out","ScaleControl.Feet":"ft","ScaleControl.Meters":"m","ScaleControl.Kilometers":"km","ScaleControl.Miles":"mi","ScaleControl.NauticalMiles":"nm"},zo=e.window.HTMLImageElement,xo=e.window.HTMLElement,wo=e.window.ImageBitmap,Co={center:[0,0],zoom:0,bearing:0,pitch:0,minZoom:-2,maxZoom:22,minPitch:0,maxPitch:60,interactive:!0,scrollZoom:!0,boxZoom:!0,dragRotate:!0,dragPan:!0,keyboard:!0,doubleClickZoom:!0,touchZoomRotate:!0,touchPitch:!0,bearingSnap:7,clickTolerance:3,pitchWithRotate:!0,hash:!1,attributionControl:!0,failIfMajorPerformanceCaveat:!1,preserveDrawingBuffer:!1,trackResize:!0,renderWorldCopies:!0,refreshExpiredTiles:!0,maxTileCacheSize:null,localIdeographFontFamily:"sans-serif",transformRequest:null,accessToken:null,fadeDuration:300,crossSourceCollisions:!0},So=function(r){function o(t){var n=this;if(null!=(t=e.extend({},Co,t)).minZoom&&null!=t.maxZoom&&t.minZoom>t.maxZoom)throw new Error("maxZoom must be greater than or equal to minZoom");if(null!=t.minPitch&&null!=t.maxPitch&&t.minPitch>t.maxPitch)throw new Error("maxPitch must be greater than or equal to minPitch");if(null!=t.minPitch&&t.minPitch<0)throw new Error("minPitch must be greater than or equal to 0");if(null!=t.maxPitch&&t.maxPitch>60)throw new Error("maxPitch must be less than or equal to 60");var o=new _r(t.minZoom,t.maxZoom,t.minPitch,t.maxPitch,t.renderWorldCopies);if(r.call(this,o,t),this._interactive=t.interactive,this._maxTileCacheSize=t.maxTileCacheSize,this._failIfMajorPerformanceCaveat=t.failIfMajorPerformanceCaveat,this._preserveDrawingBuffer=t.preserveDrawingBuffer,this._antialias=t.antialias,this._trackResize=t.trackResize,this._bearingSnap=t.bearingSnap,this._refreshExpiredTiles=t.refreshExpiredTiles,this._fadeDuration=t.fadeDuration,this._crossSourceCollisions=t.crossSourceCollisions,this._crossFadingFactor=1,this._collectResourceTiming=t.collectResourceTiming,this._renderTaskQueue=new Oo,this._controls=[],this._mapId=e.uniqueId(),this._locale=e.extend({},_o,t.locale),this._clickTolerance=t.clickTolerance,this._requestManager=new e.RequestManager(t.transformRequest,t.accessToken),"string"==typeof t.container){if(this._container=e.window.document.getElementById(t.container),!this._container)throw new Error("Container '"+t.container+"' not found.")}else{if(!(t.container instanceof xo))throw new Error("Invalid type: 'container' must be a String or HTMLElement.");this._container=t.container}if(t.maxBounds&&this.setMaxBounds(t.maxBounds),e.bindAll(["_onWindowOnline","_onWindowResize","_onMapScroll","_contextLost","_contextRestored"],this),this._setupContainer(),this._setupPainter(),void 0===this.painter)throw new Error("Failed to initialize WebGL.");this.on("move",(function(){return n._update(!1)})),this.on("moveend",(function(){return n._update(!1)})),this.on("zoom",(function(){return n._update(!0)})),void 0!==e.window&&(e.window.addEventListener("online",this._onWindowOnline,!1),e.window.addEventListener("resize",this._onWindowResize,!1),e.window.addEventListener("orientationchange",this._onWindowResize,!1)),this.handlers=new go(this,t),this._hash=t.hash&&new xr("string"==typeof t.hash&&t.hash||void 0).addTo(this),this._hash&&this._hash._onHashChange()||(this.jumpTo({center:t.center,zoom:t.zoom,bearing:t.bearing,pitch:t.pitch}),t.bounds&&(this.resize(),this.fitBounds(t.bounds,e.extend({},t.fitBoundsOptions,{duration:0})))),this.resize(),this._localIdeographFontFamily=t.localIdeographFontFamily,t.style&&this.setStyle(t.style,{localIdeographFontFamily:t.localIdeographFontFamily}),t.attributionControl&&this.addControl(new yo({customAttribution:t.customAttribution})),this.addControl(new Mo,t.logoPosition),this.on("style.load",(function(){n.transform.unmodified&&n.jumpTo(n.style.stylesheet)})),this.on("data",(function(t){n._update("style"===t.dataType),n.fire(new e.Event(t.dataType+"data",t))})),this.on("dataloading",(function(t){n.fire(new e.Event(t.dataType+"dataloading",t))}))}r&&(o.__proto__=r),(o.prototype=Object.create(r&&r.prototype)).constructor=o;var i={showTileBoundaries:{configurable:!0},showPadding:{configurable:!0},showCollisionBoxes:{configurable:!0},showOverdrawInspector:{configurable:!0},repaint:{configurable:!0},vertices:{configurable:!0},version:{configurable:!0}};return o.prototype._getMapId=function(){return this._mapId},o.prototype.addControl=function(t,n){if(void 0===n&&(n=t.getDefaultPosition?t.getDefaultPosition():"top-right"),!t||!t.onAdd)return this.fire(new e.ErrorEvent(new Error("Invalid argument to map.addControl(). Argument must be a control with onAdd and onRemove methods.")));var r=t.onAdd(this);this._controls.push(t);var o=this._controlPositions[n];return-1!==n.indexOf("bottom")?o.insertBefore(r,o.firstChild):o.appendChild(r),this},o.prototype.removeControl=function(t){if(!t||!t.onRemove)return this.fire(new e.ErrorEvent(new Error("Invalid argument to map.removeControl(). Argument must be a control with onAdd and onRemove methods.")));var n=this._controls.indexOf(t);return n>-1&&this._controls.splice(n,1),t.onRemove(this),this},o.prototype.hasControl=function(e){return this._controls.indexOf(e)>-1},o.prototype.resize=function(t){var n=this._containerDimensions(),r=n[0],o=n[1];if(r===this.transform.width&&o===this.transform.height)return this;this._resizeCanvas(r,o),this.transform.resize(r,o),this.painter.resize(r,o);var i=!this._moving;return i&&this.fire(new e.Event("movestart",t)).fire(new e.Event("move",t)),this.fire(new e.Event("resize",t)),i&&this.fire(new e.Event("moveend",t)),this},o.prototype.getBounds=function(){return this.transform.getBounds()},o.prototype.getMaxBounds=function(){return this.transform.getMaxBounds()},o.prototype.setMaxBounds=function(t){return this.transform.setMaxBounds(e.LngLatBounds.convert(t)),this._update()},o.prototype.setMinZoom=function(e){if((e=null==e?-2:e)>=-2&&e<=this.transform.maxZoom)return this.transform.minZoom=e,this._update(),this.getZoom()<e&&this.setZoom(e),this;throw new Error("minZoom must be between -2 and the current maxZoom, inclusive")},o.prototype.getMinZoom=function(){return this.transform.minZoom},o.prototype.setMaxZoom=function(e){if((e=null==e?22:e)>=this.transform.minZoom)return this.transform.maxZoom=e,this._update(),this.getZoom()>e&&this.setZoom(e),this;throw new Error("maxZoom must be greater than the current minZoom")},o.prototype.getMaxZoom=function(){return this.transform.maxZoom},o.prototype.setMinPitch=function(e){if((e=null==e?0:e)<0)throw new Error("minPitch must be greater than or equal to 0");if(e>=0&&e<=this.transform.maxPitch)return this.transform.minPitch=e,this._update(),this.getPitch()<e&&this.setPitch(e),this;throw new Error("minPitch must be between 0 and the current maxPitch, inclusive")},o.prototype.getMinPitch=function(){return this.transform.minPitch},o.prototype.setMaxPitch=function(e){if((e=null==e?60:e)>60)throw new Error("maxPitch must be less than or equal to 60");if(e>=this.transform.minPitch)return this.transform.maxPitch=e,this._update(),this.getPitch()>e&&this.setPitch(e),this;throw new Error("maxPitch must be greater than the current minPitch")},o.prototype.getMaxPitch=function(){return this.transform.maxPitch},o.prototype.getRenderWorldCopies=function(){return this.transform.renderWorldCopies},o.prototype.setRenderWorldCopies=function(e){return this.transform.renderWorldCopies=e,this._update()},o.prototype.project=function(t){return this.transform.locationPoint(e.LngLat.convert(t))},o.prototype.unproject=function(t){return this.transform.pointLocation(e.Point.convert(t))},o.prototype.isMoving=function(){return this._moving||this.handlers.isMoving()},o.prototype.isZooming=function(){return this._zooming||this.handlers.isZooming()},o.prototype.isRotating=function(){return this._rotating||this.handlers.isRotating()},o.prototype._createDelegatedListener=function(e,t,n){var r,o=this;if("mouseenter"===e||"mouseover"===e){var i=!1;return{layer:t,listener:n,delegates:{mousemove:function(r){var a=o.getLayer(t)?o.queryRenderedFeatures(r.point,{layers:[t]}):[];a.length?i||(i=!0,n.call(o,new jr(e,o,r.originalEvent,{features:a}))):i=!1},mouseout:function(){i=!1}}}}if("mouseleave"===e||"mouseout"===e){var a=!1;return{layer:t,listener:n,delegates:{mousemove:function(r){(o.getLayer(t)?o.queryRenderedFeatures(r.point,{layers:[t]}):[]).length?a=!0:a&&(a=!1,n.call(o,new jr(e,o,r.originalEvent)))},mouseout:function(t){a&&(a=!1,n.call(o,new jr(e,o,t.originalEvent)))}}}}return{layer:t,listener:n,delegates:(r={},r[e]=function(e){var r=o.getLayer(t)?o.queryRenderedFeatures(e.point,{layers:[t]}):[];r.length&&(e.features=r,n.call(o,e),delete e.features)},r)}},o.prototype.on=function(e,t,n){if(void 0===n)return r.prototype.on.call(this,e,t);var o=this._createDelegatedListener(e,t,n);for(var i in this._delegatedListeners=this._delegatedListeners||{},this._delegatedListeners[e]=this._delegatedListeners[e]||[],this._delegatedListeners[e].push(o),o.delegates)this.on(i,o.delegates[i]);return this},o.prototype.once=function(e,t,n){if(void 0===n)return r.prototype.once.call(this,e,t);var o=this._createDelegatedListener(e,t,n);for(var i in o.delegates)this.once(i,o.delegates[i]);return this},o.prototype.off=function(e,t,n){var o=this;return void 0===n?r.prototype.off.call(this,e,t):(this._delegatedListeners&&this._delegatedListeners[e]&&function(r){for(var i=r[e],a=0;a<i.length;a++){var s=i[a];if(s.layer===t&&s.listener===n){for(var l in s.delegates)o.off(l,s.delegates[l]);return i.splice(a,1),o}}}(this._delegatedListeners),this)},o.prototype.queryRenderedFeatures=function(t,n){if(!this.style)return[];var r;if(void 0!==n||void 0===t||t instanceof e.Point||Array.isArray(t)||(n=t,t=void 0),n=n||{},(t=t||[[0,0],[this.transform.width,this.transform.height]])instanceof e.Point||"number"==typeof t[0])r=[e.Point.convert(t)];else{var o=e.Point.convert(t[0]),i=e.Point.convert(t[1]);r=[o,new e.Point(i.x,o.y),i,new e.Point(o.x,i.y),o]}return this.style.queryRenderedFeatures(r,n,this.transform)},o.prototype.querySourceFeatures=function(e,t){return this.style.querySourceFeatures(e,t)},o.prototype.setStyle=function(t,n){return!1!==(n=e.extend({},{localIdeographFontFamily:this._localIdeographFontFamily},n)).diff&&n.localIdeographFontFamily===this._localIdeographFontFamily&&this.style&&t?(this._diffStyle(t,n),this):(this._localIdeographFontFamily=n.localIdeographFontFamily,this._updateStyle(t,n))},o.prototype._getUIString=function(e){var t=this._locale[e];if(null==t)throw new Error("Missing UI string '"+e+"'");return t},o.prototype._updateStyle=function(e,t){return this.style&&(this.style.setEventedParent(null),this.style._remove()),e?(this.style=new Ut(this,t||{}),this.style.setEventedParent(this,{style:this.style}),"string"==typeof e?this.style.loadURL(e):this.style.loadJSON(e),this):(delete this.style,this)},o.prototype._lazyInitEmptyStyle=function(){this.style||(this.style=new Ut(this,{}),this.style.setEventedParent(this,{style:this.style}),this.style.loadEmpty())},o.prototype._diffStyle=function(t,n){var r=this;if("string"==typeof t){var o=this._requestManager.normalizeStyleURL(t),i=this._requestManager.transformRequest(o,e.ResourceType.Style);e.getJSON(i,(function(t,o){t?r.fire(new e.ErrorEvent(t)):o&&r._updateDiff(o,n)}))}else"object"==typeof t&&this._updateDiff(t,n)},o.prototype._updateDiff=function(t,n){try{this.style.setState(t)&&this._update(!0)}catch(r){e.warnOnce("Unable to perform style diff: "+(r.message||r.error||r)+".  Rebuilding the style from scratch."),this._updateStyle(t,n)}},o.prototype.getStyle=function(){if(this.style)return this.style.serialize()},o.prototype.isStyleLoaded=function(){return this.style?this.style.loaded():e.warnOnce("There is no style added to the map.")},o.prototype.addSource=function(e,t){return this._lazyInitEmptyStyle(),this.style.addSource(e,t),this._update(!0)},o.prototype.isSourceLoaded=function(t){var n=this.style&&this.style.sourceCaches[t];if(void 0!==n)return n.loaded();this.fire(new e.ErrorEvent(new Error("There is no source with ID '"+t+"'")))},o.prototype.areTilesLoaded=function(){var e=this.style&&this.style.sourceCaches;for(var t in e){var n=e[t]._tiles;for(var r in n){var o=n[r];if("loaded"!==o.state&&"errored"!==o.state)return!1}}return!0},o.prototype.addSourceType=function(e,t,n){return this._lazyInitEmptyStyle(),this.style.addSourceType(e,t,n)},o.prototype.removeSource=function(e){return this.style.removeSource(e),this._update(!0)},o.prototype.getSource=function(e){return this.style.getSource(e)},o.prototype.addImage=function(t,n,r){void 0===r&&(r={});var o=r.pixelRatio;void 0===o&&(o=1);var i=r.sdf;void 0===i&&(i=!1);var a=r.stretchX,s=r.stretchY,l=r.content;if(this._lazyInitEmptyStyle(),n instanceof zo||wo&&n instanceof wo){var c=e.browser.getImageData(n);this.style.addImage(t,{data:new e.RGBAImage({width:c.width,height:c.height},c.data),pixelRatio:o,stretchX:a,stretchY:s,content:l,sdf:i,version:0})}else{if(void 0===n.width||void 0===n.height)return this.fire(new e.ErrorEvent(new Error("Invalid arguments to map.addImage(). The second argument must be an `HTMLImageElement`, `ImageData`, `ImageBitmap`, or object with `width`, `height`, and `data` properties with the same format as `ImageData`")));var u=n;this.style.addImage(t,{data:new e.RGBAImage({width:n.width,height:n.height},new Uint8Array(n.data)),pixelRatio:o,stretchX:a,stretchY:s,content:l,sdf:i,version:0,userImage:u}),u.onAdd&&u.onAdd(this,t)}},o.prototype.updateImage=function(t,n){var r=this.style.getImage(t);if(!r)return this.fire(new e.ErrorEvent(new Error("The map has no image with that id. If you are adding a new image use `map.addImage(...)` instead.")));var o=n instanceof zo||wo&&n instanceof wo?e.browser.getImageData(n):n,i=o.width,a=o.height,s=o.data;return void 0===i||void 0===a?this.fire(new e.ErrorEvent(new Error("Invalid arguments to map.updateImage(). The second argument must be an `HTMLImageElement`, `ImageData`, `ImageBitmap`, or object with `width`, `height`, and `data` properties with the same format as `ImageData`"))):i!==r.data.width||a!==r.data.height?this.fire(new e.ErrorEvent(new Error("The width and height of the updated image must be that same as the previous version of the image"))):(r.data.replace(s,!(n instanceof zo||wo&&n instanceof wo)),void this.style.updateImage(t,r))},o.prototype.hasImage=function(t){return t?!!this.style.getImage(t):(this.fire(new e.ErrorEvent(new Error("Missing required image id"))),!1)},o.prototype.removeImage=function(e){this.style.removeImage(e)},o.prototype.loadImage=function(t,n){e.getImage(this._requestManager.transformRequest(t,e.ResourceType.Image),n)},o.prototype.listImages=function(){return this.style.listImages()},o.prototype.addLayer=function(e,t){return this._lazyInitEmptyStyle(),this.style.addLayer(e,t),this._update(!0)},o.prototype.moveLayer=function(e,t){return this.style.moveLayer(e,t),this._update(!0)},o.prototype.removeLayer=function(e){return this.style.removeLayer(e),this._update(!0)},o.prototype.getLayer=function(e){return this.style.getLayer(e)},o.prototype.setLayerZoomRange=function(e,t,n){return this.style.setLayerZoomRange(e,t,n),this._update(!0)},o.prototype.setFilter=function(e,t,n){return void 0===n&&(n={}),this.style.setFilter(e,t,n),this._update(!0)},o.prototype.getFilter=function(e){return this.style.getFilter(e)},o.prototype.setPaintProperty=function(e,t,n,r){return void 0===r&&(r={}),this.style.setPaintProperty(e,t,n,r),this._update(!0)},o.prototype.getPaintProperty=function(e,t){return this.style.getPaintProperty(e,t)},o.prototype.setLayoutProperty=function(e,t,n,r){return void 0===r&&(r={}),this.style.setLayoutProperty(e,t,n,r),this._update(!0)},o.prototype.getLayoutProperty=function(e,t){return this.style.getLayoutProperty(e,t)},o.prototype.setLight=function(e,t){return void 0===t&&(t={}),this._lazyInitEmptyStyle(),this.style.setLight(e,t),this._update(!0)},o.prototype.getLight=function(){return this.style.getLight()},o.prototype.setFeatureState=function(e,t){return this.style.setFeatureState(e,t),this._update()},o.prototype.removeFeatureState=function(e,t){return this.style.removeFeatureState(e,t),this._update()},o.prototype.getFeatureState=function(e){return this.style.getFeatureState(e)},o.prototype.getContainer=function(){return this._container},o.prototype.getCanvasContainer=function(){return this._canvasContainer},o.prototype.getCanvas=function(){return this._canvas},o.prototype._containerDimensions=function(){var e=0,t=0;return this._container&&(e=this._container.clientWidth||400,t=this._container.clientHeight||300),[e,t]},o.prototype._detectMissingCSS=function(){"rgb(250, 128, 114)"!==e.window.getComputedStyle(this._missingCSSCanary).getPropertyValue("background-color")&&e.warnOnce("This page appears to be missing CSS declarations for Mapbox GL JS, which may cause the map to display incorrectly. Please ensure your page includes mapbox-gl.css, as described in https://www.mapbox.com/mapbox-gl-js/api/.")},o.prototype._setupContainer=function(){var e=this._container;e.classList.add("mapboxgl-map"),(this._missingCSSCanary=n.create("div","mapboxgl-canary",e)).style.visibility="hidden",this._detectMissingCSS();var t=this._canvasContainer=n.create("div","mapboxgl-canvas-container",e);this._interactive&&t.classList.add("mapboxgl-interactive"),this._canvas=n.create("canvas","mapboxgl-canvas",t),this._canvas.addEventListener("webglcontextlost",this._contextLost,!1),this._canvas.addEventListener("webglcontextrestored",this._contextRestored,!1),this._canvas.setAttribute("tabindex","0"),this._canvas.setAttribute("aria-label","Map"),this._canvas.setAttribute("role","region");var r=this._containerDimensions();this._resizeCanvas(r[0],r[1]);var o=this._controlContainer=n.create("div","mapboxgl-control-container",e),i=this._controlPositions={};["top-left","top-right","bottom-left","bottom-right"].forEach((function(e){i[e]=n.create("div","mapboxgl-ctrl-"+e,o)})),this._container.addEventListener("scroll",this._onMapScroll,!1)},o.prototype._resizeCanvas=function(t,n){var r=e.browser.devicePixelRatio||1;this._canvas.width=r*t,this._canvas.height=r*n,this._canvas.style.width=t+"px",this._canvas.style.height=n+"px"},o.prototype._setupPainter=function(){var n=e.extend({},t.webGLContextAttributes,{failIfMajorPerformanceCaveat:this._failIfMajorPerformanceCaveat,preserveDrawingBuffer:this._preserveDrawingBuffer,antialias:this._antialias||!1}),r=this._canvas.getContext("webgl",n)||this._canvas.getContext("experimental-webgl",n);r?(this.painter=new vr(r,this.transform),e.webpSupported.testSupport(r)):this.fire(new e.ErrorEvent(new Error("Failed to initialize WebGL")))},o.prototype._contextLost=function(t){t.preventDefault(),this._frame&&(this._frame.cancel(),this._frame=null),this.fire(new e.Event("webglcontextlost",{originalEvent:t}))},o.prototype._contextRestored=function(t){this._setupPainter(),this.resize(),this._update(),this.fire(new e.Event("webglcontextrestored",{originalEvent:t}))},o.prototype._onMapScroll=function(e){if(e.target===this._container)return this._container.scrollTop=0,this._container.scrollLeft=0,!1},o.prototype.loaded=function(){return!this._styleDirty&&!this._sourcesDirty&&!!this.style&&this.style.loaded()},o.prototype._update=function(e){return this.style?(this._styleDirty=this._styleDirty||e,this._sourcesDirty=!0,this.triggerRepaint(),this):this},o.prototype._requestRenderFrame=function(e){return this._update(),this._renderTaskQueue.add(e)},o.prototype._cancelRenderFrame=function(e){this._renderTaskQueue.remove(e)},o.prototype._render=function(t){var n,r=this,o=0,i=this.painter.context.extTimerQuery;if(this.listens("gpu-timing-frame")&&(n=i.createQueryEXT(),i.beginQueryEXT(i.TIME_ELAPSED_EXT,n),o=e.browser.now()),this.painter.context.setDirty(),this.painter.setBaseState(),this._renderTaskQueue.run(t),!this._removed){var a=!1;if(this.style&&this._styleDirty){this._styleDirty=!1;var s=this.transform.zoom,l=e.browser.now();this.style.zoomHistory.update(s,l);var c=new e.EvaluationParameters(s,{now:l,fadeDuration:this._fadeDuration,zoomHistory:this.style.zoomHistory,transition:this.style.getTransition()}),u=c.crossFadingFactor();1===u&&u===this._crossFadingFactor||(a=!0,this._crossFadingFactor=u),this.style.update(c)}if(this.style&&this._sourcesDirty&&(this._sourcesDirty=!1,this.style._updateSources(this.transform)),this._placementDirty=this.style&&this.style._updatePlacement(this.painter.transform,this.showCollisionBoxes,this._fadeDuration,this._crossSourceCollisions),this.painter.render(this.style,{showTileBoundaries:this.showTileBoundaries,showOverdrawInspector:this._showOverdrawInspector,rotating:this.isRotating(),zooming:this.isZooming(),moving:this.isMoving(),fadeDuration:this._fadeDuration,showPadding:this.showPadding,gpuTiming:!!this.listens("gpu-timing-layer")}),this.fire(new e.Event("render")),this.loaded()&&!this._loaded&&(this._loaded=!0,this.fire(new e.Event("load"))),this.style&&(this.style.hasTransitions()||a)&&(this._styleDirty=!0),this.style&&!this._placementDirty&&this.style._releaseSymbolFadeTiles(),this.listens("gpu-timing-frame")){var d=e.browser.now()-o;i.endQueryEXT(i.TIME_ELAPSED_EXT,n),setTimeout((function(){var t=i.getQueryObjectEXT(n,i.QUERY_RESULT_EXT)/1e6;i.deleteQueryEXT(n),r.fire(new e.Event("gpu-timing-frame",{cpuTime:d,gpuTime:t}))}),50)}if(this.listens("gpu-timing-layer")){var p=this.painter.collectGpuTimers();setTimeout((function(){var t=r.painter.queryGpuTimers(p);r.fire(new e.Event("gpu-timing-layer",{layerTimes:t}))}),50)}var f=this._sourcesDirty||this._styleDirty||this._placementDirty;return f||this._repaint?this.triggerRepaint():!this.isMoving()&&this.loaded()&&this.fire(new e.Event("idle")),!this._loaded||this._fullyLoaded||f||(this._fullyLoaded=!0),this}},o.prototype.remove=function(){this._hash&&this._hash.remove();for(var t=0,n=this._controls;t<n.length;t+=1)n[t].onRemove(this);this._controls=[],this._frame&&(this._frame.cancel(),this._frame=null),this._renderTaskQueue.clear(),this.painter.destroy(),this.handlers.destroy(),delete this.handlers,this.setStyle(null),void 0!==e.window&&(e.window.removeEventListener("resize",this._onWindowResize,!1),e.window.removeEventListener("orientationchange",this._onWindowResize,!1),e.window.removeEventListener("online",this._onWindowOnline,!1));var r=this.painter.context.gl.getExtension("WEBGL_lose_context");r&&r.loseContext(),Eo(this._canvasContainer),Eo(this._controlContainer),Eo(this._missingCSSCanary),this._container.classList.remove("mapboxgl-map"),this._removed=!0,this.fire(new e.Event("remove"))},o.prototype.triggerRepaint=function(){var t=this;this.style&&!this._frame&&(this._frame=e.browser.frame((function(e){t._frame=null,t._render(e)})))},o.prototype._onWindowOnline=function(){this._update()},o.prototype._onWindowResize=function(e){this._trackResize&&this.resize({originalEvent:e})._update()},i.showTileBoundaries.get=function(){return!!this._showTileBoundaries},i.showTileBoundaries.set=function(e){this._showTileBoundaries!==e&&(this._showTileBoundaries=e,this._update())},i.showPadding.get=function(){return!!this._showPadding},i.showPadding.set=function(e){this._showPadding!==e&&(this._showPadding=e,this._update())},i.showCollisionBoxes.get=function(){return!!this._showCollisionBoxes},i.showCollisionBoxes.set=function(e){this._showCollisionBoxes!==e&&(this._showCollisionBoxes=e,e?this.style._generateCollisionBoxes():this._update())},i.showOverdrawInspector.get=function(){return!!this._showOverdrawInspector},i.showOverdrawInspector.set=function(e){this._showOverdrawInspector!==e&&(this._showOverdrawInspector=e,this._update())},i.repaint.get=function(){return!!this._repaint},i.repaint.set=function(e){this._repaint!==e&&(this._repaint=e,this.triggerRepaint())},i.vertices.get=function(){return!!this._vertices},i.vertices.set=function(e){this._vertices=e,this._update()},o.prototype._setCacheLimits=function(t,n){e.setCacheLimits(t,n)},i.version.get=function(){return e.version},Object.defineProperties(o.prototype,i),o}(vo);function Eo(e){e.parentNode&&e.parentNode.removeChild(e)}var ko={showCompass:!0,showZoom:!0,visualizePitch:!1},Do=function(t){var r=this;this.options=e.extend({},ko,t),this._container=n.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),this._container.addEventListener("contextmenu",(function(e){return e.preventDefault()})),this.options.showZoom&&(e.bindAll(["_setButtonTitle","_updateZoomButtons"],this),this._zoomInButton=this._createButton("mapboxgl-ctrl-zoom-in",(function(e){return r._map.zoomIn({},{originalEvent:e})})),n.create("span","mapboxgl-ctrl-icon",this._zoomInButton).setAttribute("aria-hidden",!0),this._zoomOutButton=this._createButton("mapboxgl-ctrl-zoom-out",(function(e){return r._map.zoomOut({},{originalEvent:e})})),n.create("span","mapboxgl-ctrl-icon",this._zoomOutButton).setAttribute("aria-hidden",!0)),this.options.showCompass&&(e.bindAll(["_rotateCompassArrow"],this),this._compass=this._createButton("mapboxgl-ctrl-compass",(function(e){r.options.visualizePitch?r._map.resetNorthPitch({},{originalEvent:e}):r._map.resetNorth({},{originalEvent:e})})),this._compassIcon=n.create("span","mapboxgl-ctrl-icon",this._compass),this._compassIcon.setAttribute("aria-hidden",!0))};Do.prototype._updateZoomButtons=function(){var e=this._map.getZoom(),t=e===this._map.getMaxZoom(),n=e===this._map.getMinZoom();this._zoomInButton.disabled=t,this._zoomOutButton.disabled=n,this._zoomInButton.setAttribute("aria-disabled",t.toString()),this._zoomOutButton.setAttribute("aria-disabled",n.toString())},Do.prototype._rotateCompassArrow=function(){var e=this.options.visualizePitch?"scale("+1/Math.pow(Math.cos(this._map.transform.pitch*(Math.PI/180)),.5)+") rotateX("+this._map.transform.pitch+"deg) rotateZ("+this._map.transform.angle*(180/Math.PI)+"deg)":"rotate("+this._map.transform.angle*(180/Math.PI)+"deg)";this._compassIcon.style.transform=e},Do.prototype.onAdd=function(e){return this._map=e,this.options.showZoom&&(this._setButtonTitle(this._zoomInButton,"ZoomIn"),this._setButtonTitle(this._zoomOutButton,"ZoomOut"),this._map.on("zoom",this._updateZoomButtons),this._updateZoomButtons()),this.options.showCompass&&(this._setButtonTitle(this._compass,"ResetBearing"),this.options.visualizePitch&&this._map.on("pitch",this._rotateCompassArrow),this._map.on("rotate",this._rotateCompassArrow),this._rotateCompassArrow(),this._handler=new No(this._map,this._compass,this.options.visualizePitch)),this._container},Do.prototype.onRemove=function(){n.remove(this._container),this.options.showZoom&&this._map.off("zoom",this._updateZoomButtons),this.options.showCompass&&(this.options.visualizePitch&&this._map.off("pitch",this._rotateCompassArrow),this._map.off("rotate",this._rotateCompassArrow),this._handler.off(),delete this._handler),delete this._map},Do.prototype._createButton=function(e,t){var r=n.create("button",e,this._container);return r.type="button",r.addEventListener("click",t),r},Do.prototype._setButtonTitle=function(e,t){var n=this._map._getUIString("NavigationControl."+t);e.title=n,e.setAttribute("aria-label",n)};var No=function(t,r,o){void 0===o&&(o=!1),this._clickTolerance=10,this.element=r,this.mouseRotate=new Vr({clickTolerance:t.dragRotate._mouseRotate._clickTolerance}),this.map=t,o&&(this.mousePitch=new Xr({clickTolerance:t.dragRotate._mousePitch._clickTolerance})),e.bindAll(["mousedown","mousemove","mouseup","touchstart","touchmove","touchend","reset"],this),n.addEventListener(r,"mousedown",this.mousedown),n.addEventListener(r,"touchstart",this.touchstart,{passive:!1}),n.addEventListener(r,"touchmove",this.touchmove),n.addEventListener(r,"touchend",this.touchend),n.addEventListener(r,"touchcancel",this.reset)};function To(t,n,r){if(t=new e.LngLat(t.lng,t.lat),n){var o=new e.LngLat(t.lng-360,t.lat),i=new e.LngLat(t.lng+360,t.lat),a=r.locationPoint(t).distSqr(n);r.locationPoint(o).distSqr(n)<a?t=o:r.locationPoint(i).distSqr(n)<a&&(t=i)}for(;Math.abs(t.lng-r.center.lng)>180;){var s=r.locationPoint(t);if(s.x>=0&&s.y>=0&&s.x<=r.width&&s.y<=r.height)break;t.lng>r.center.lng?t.lng-=360:t.lng+=360}return t}No.prototype.down=function(e,t){this.mouseRotate.mousedown(e,t),this.mousePitch&&this.mousePitch.mousedown(e,t),n.disableDrag()},No.prototype.move=function(e,t){var n=this.map,r=this.mouseRotate.mousemoveWindow(e,t);if(r&&r.bearingDelta&&n.setBearing(n.getBearing()+r.bearingDelta),this.mousePitch){var o=this.mousePitch.mousemoveWindow(e,t);o&&o.pitchDelta&&n.setPitch(n.getPitch()+o.pitchDelta)}},No.prototype.off=function(){var e=this.element;n.removeEventListener(e,"mousedown",this.mousedown),n.removeEventListener(e,"touchstart",this.touchstart,{passive:!1}),n.removeEventListener(e,"touchmove",this.touchmove),n.removeEventListener(e,"touchend",this.touchend),n.removeEventListener(e,"touchcancel",this.reset),this.offTemp()},No.prototype.offTemp=function(){n.enableDrag(),n.removeEventListener(e.window,"mousemove",this.mousemove),n.removeEventListener(e.window,"mouseup",this.mouseup)},No.prototype.mousedown=function(t){this.down(e.extend({},t,{ctrlKey:!0,preventDefault:function(){return t.preventDefault()}}),n.mousePos(this.element,t)),n.addEventListener(e.window,"mousemove",this.mousemove),n.addEventListener(e.window,"mouseup",this.mouseup)},No.prototype.mousemove=function(e){this.move(e,n.mousePos(this.element,e))},No.prototype.mouseup=function(e){this.mouseRotate.mouseupWindow(e),this.mousePitch&&this.mousePitch.mouseupWindow(e),this.offTemp()},No.prototype.touchstart=function(e){1!==e.targetTouches.length?this.reset():(this._startPos=this._lastPos=n.touchPos(this.element,e.targetTouches)[0],this.down({type:"mousedown",button:0,ctrlKey:!0,preventDefault:function(){return e.preventDefault()}},this._startPos))},No.prototype.touchmove=function(e){1!==e.targetTouches.length?this.reset():(this._lastPos=n.touchPos(this.element,e.targetTouches)[0],this.move({preventDefault:function(){return e.preventDefault()}},this._lastPos))},No.prototype.touchend=function(e){0===e.targetTouches.length&&this._startPos&&this._lastPos&&this._startPos.dist(this._lastPos)<this._clickTolerance&&this.element.click(),this.reset()},No.prototype.reset=function(){this.mouseRotate.reset(),this.mousePitch&&this.mousePitch.reset(),delete this._startPos,delete this._lastPos,this.offTemp()};var jo={center:"translate(-50%,-50%)",top:"translate(-50%,0)","top-left":"translate(0,0)","top-right":"translate(-100%,0)",bottom:"translate(-50%,-100%)","bottom-left":"translate(0,-100%)","bottom-right":"translate(-100%,-100%)",left:"translate(0,-50%)",right:"translate(-100%,-50%)"};function Bo(e,t,n){var r=e.classList;for(var o in jo)r.remove("mapboxgl-"+n+"-anchor-"+o);r.add("mapboxgl-"+n+"-anchor-"+t)}var Lo,Ro=function(t){function r(r,o){if(t.call(this),(r instanceof e.window.HTMLElement||o)&&(r=e.extend({element:r},o)),e.bindAll(["_update","_onMove","_onUp","_addDragHandler","_onMapClick","_onKeyPress"],this),this._anchor=r&&r.anchor||"center",this._color=r&&r.color||"#3FB1CE",this._scale=r&&r.scale||1,this._draggable=r&&r.draggable||!1,this._clickTolerance=r&&r.clickTolerance||0,this._isDragging=!1,this._state="inactive",this._rotation=r&&r.rotation||0,this._rotationAlignment=r&&r.rotationAlignment||"auto",this._pitchAlignment=r&&r.pitchAlignment&&"auto"!==r.pitchAlignment?r.pitchAlignment:this._rotationAlignment,r&&r.element)this._element=r.element,this._offset=e.Point.convert(r&&r.offset||[0,0]);else{this._defaultMarker=!0,this._element=n.create("div"),this._element.setAttribute("aria-label","Map marker");var i=n.createNS("http://www.w3.org/2000/svg","svg");i.setAttributeNS(null,"display","block"),i.setAttributeNS(null,"height","41px"),i.setAttributeNS(null,"width","27px"),i.setAttributeNS(null,"viewBox","0 0 27 41");var a=n.createNS("http://www.w3.org/2000/svg","g");a.setAttributeNS(null,"stroke","none"),a.setAttributeNS(null,"stroke-width","1"),a.setAttributeNS(null,"fill","none"),a.setAttributeNS(null,"fill-rule","evenodd");var s=n.createNS("http://www.w3.org/2000/svg","g");s.setAttributeNS(null,"fill-rule","nonzero");var l=n.createNS("http://www.w3.org/2000/svg","g");l.setAttributeNS(null,"transform","translate(3.0, 29.0)"),l.setAttributeNS(null,"fill","#000000");for(var c=0,u=[{rx:"10.5",ry:"5.25002273"},{rx:"10.5",ry:"5.25002273"},{rx:"9.5",ry:"4.77275007"},{rx:"8.5",ry:"4.29549936"},{rx:"7.5",ry:"3.81822308"},{rx:"6.5",ry:"3.34094679"},{rx:"5.5",ry:"2.86367051"},{rx:"4.5",ry:"2.38636864"}];c<u.length;c+=1){var d=u[c],p=n.createNS("http://www.w3.org/2000/svg","ellipse");p.setAttributeNS(null,"opacity","0.04"),p.setAttributeNS(null,"cx","10.5"),p.setAttributeNS(null,"cy","5.80029008"),p.setAttributeNS(null,"rx",d.rx),p.setAttributeNS(null,"ry",d.ry),l.appendChild(p)}var f=n.createNS("http://www.w3.org/2000/svg","g");f.setAttributeNS(null,"fill",this._color);var h=n.createNS("http://www.w3.org/2000/svg","path");h.setAttributeNS(null,"d","M27,13.5 C27,19.074644 20.250001,27.000002 14.75,34.500002 C14.016665,35.500004 12.983335,35.500004 12.25,34.500002 C6.7499993,27.000002 0,19.222562 0,13.5 C0,6.0441559 6.0441559,0 13.5,0 C20.955844,0 27,6.0441559 27,13.5 Z"),f.appendChild(h);var b=n.createNS("http://www.w3.org/2000/svg","g");b.setAttributeNS(null,"opacity","0.25"),b.setAttributeNS(null,"fill","#000000");var A=n.createNS("http://www.w3.org/2000/svg","path");A.setAttributeNS(null,"d","M13.5,0 C6.0441559,0 0,6.0441559 0,13.5 C0,19.222562 6.7499993,27 12.25,34.5 C13,35.522727 14.016664,35.500004 14.75,34.5 C20.250001,27 27,19.074644 27,13.5 C27,6.0441559 20.955844,0 13.5,0 Z M13.5,1 C20.415404,1 26,6.584596 26,13.5 C26,15.898657 24.495584,19.181431 22.220703,22.738281 C19.945823,26.295132 16.705119,30.142167 13.943359,33.908203 C13.743445,34.180814 13.612715,34.322738 13.5,34.441406 C13.387285,34.322738 13.256555,34.180814 13.056641,33.908203 C10.284481,30.127985 7.4148684,26.314159 5.015625,22.773438 C2.6163816,19.232715 1,15.953538 1,13.5 C1,6.584596 6.584596,1 13.5,1 Z"),b.appendChild(A);var m=n.createNS("http://www.w3.org/2000/svg","g");m.setAttributeNS(null,"transform","translate(6.0, 7.0)"),m.setAttributeNS(null,"fill","#FFFFFF");var g=n.createNS("http://www.w3.org/2000/svg","g");g.setAttributeNS(null,"transform","translate(8.0, 8.0)");var v=n.createNS("http://www.w3.org/2000/svg","circle");v.setAttributeNS(null,"fill","#000000"),v.setAttributeNS(null,"opacity","0.25"),v.setAttributeNS(null,"cx","5.5"),v.setAttributeNS(null,"cy","5.5"),v.setAttributeNS(null,"r","5.4999962");var y=n.createNS("http://www.w3.org/2000/svg","circle");y.setAttributeNS(null,"fill","#FFFFFF"),y.setAttributeNS(null,"cx","5.5"),y.setAttributeNS(null,"cy","5.5"),y.setAttributeNS(null,"r","5.4999962"),g.appendChild(v),g.appendChild(y),s.appendChild(l),s.appendChild(f),s.appendChild(b),s.appendChild(m),s.appendChild(g),i.appendChild(s),i.setAttributeNS(null,"height",41*this._scale+"px"),i.setAttributeNS(null,"width",27*this._scale+"px"),this._element.appendChild(i),this._offset=e.Point.convert(r&&r.offset||[0,-14])}this._element.classList.add("mapboxgl-marker"),this._element.addEventListener("dragstart",(function(e){e.preventDefault()})),this._element.addEventListener("mousedown",(function(e){e.preventDefault()})),Bo(this._element,this._anchor,"marker"),this._popup=null}return t&&(r.__proto__=t),(r.prototype=Object.create(t&&t.prototype)).constructor=r,r.prototype.addTo=function(e){return this.remove(),this._map=e,e.getCanvasContainer().appendChild(this._element),e.on("move",this._update),e.on("moveend",this._update),this.setDraggable(this._draggable),this._update(),this._map.on("click",this._onMapClick),this},r.prototype.remove=function(){return this._map&&(this._map.off("click",this._onMapClick),this._map.off("move",this._update),this._map.off("moveend",this._update),this._map.off("mousedown",this._addDragHandler),this._map.off("touchstart",this._addDragHandler),this._map.off("mouseup",this._onUp),this._map.off("touchend",this._onUp),this._map.off("mousemove",this._onMove),this._map.off("touchmove",this._onMove),delete this._map),n.remove(this._element),this._popup&&this._popup.remove(),this},r.prototype.getLngLat=function(){return this._lngLat},r.prototype.setLngLat=function(t){return this._lngLat=e.LngLat.convert(t),this._pos=null,this._popup&&this._popup.setLngLat(this._lngLat),this._update(),this},r.prototype.getElement=function(){return this._element},r.prototype.setPopup=function(e){if(this._popup&&(this._popup.remove(),this._popup=null,this._element.removeEventListener("keypress",this._onKeyPress),this._originalTabIndex||this._element.removeAttribute("tabindex")),e){if(!("offset"in e.options)){var t=Math.sqrt(Math.pow(13.5,2)/2);e.options.offset=this._defaultMarker?{top:[0,0],"top-left":[0,0],"top-right":[0,0],bottom:[0,-38.1],"bottom-left":[t,-1*(24.6+t)],"bottom-right":[-t,-1*(24.6+t)],left:[13.5,-24.6],right:[-13.5,-24.6]}:this._offset}this._popup=e,this._lngLat&&this._popup.setLngLat(this._lngLat),this._originalTabIndex=this._element.getAttribute("tabindex"),this._originalTabIndex||this._element.setAttribute("tabindex","0"),this._element.addEventListener("keypress",this._onKeyPress)}return this},r.prototype._onKeyPress=function(e){var t=e.code,n=e.charCode||e.keyCode;"Space"!==t&&"Enter"!==t&&32!==n&&13!==n||this.togglePopup()},r.prototype._onMapClick=function(e){var t=e.originalEvent.target,n=this._element;this._popup&&(t===n||n.contains(t))&&this.togglePopup()},r.prototype.getPopup=function(){return this._popup},r.prototype.togglePopup=function(){var e=this._popup;return e?(e.isOpen()?e.remove():e.addTo(this._map),this):this},r.prototype._update=function(e){if(this._map){this._map.transform.renderWorldCopies&&(this._lngLat=To(this._lngLat,this._pos,this._map.transform)),this._pos=this._map.project(this._lngLat)._add(this._offset);var t="";"viewport"===this._rotationAlignment||"auto"===this._rotationAlignment?t="rotateZ("+this._rotation+"deg)":"map"===this._rotationAlignment&&(t="rotateZ("+(this._rotation-this._map.getBearing())+"deg)");var r="";"viewport"===this._pitchAlignment||"auto"===this._pitchAlignment?r="rotateX(0deg)":"map"===this._pitchAlignment&&(r="rotateX("+this._map.getPitch()+"deg)"),e&&"moveend"!==e.type||(this._pos=this._pos.round()),n.setTransform(this._element,jo[this._anchor]+" translate("+this._pos.x+"px, "+this._pos.y+"px) "+r+" "+t)}},r.prototype.getOffset=function(){return this._offset},r.prototype.setOffset=function(t){return this._offset=e.Point.convert(t),this._update(),this},r.prototype._onMove=function(t){if(!this._isDragging){var n=this._clickTolerance||this._map._clickTolerance;this._isDragging=t.point.dist(this._pointerdownPos)>=n}this._isDragging&&(this._pos=t.point.sub(this._positionDelta),this._lngLat=this._map.unproject(this._pos),this.setLngLat(this._lngLat),this._element.style.pointerEvents="none","pending"===this._state&&(this._state="active",this.fire(new e.Event("dragstart"))),this.fire(new e.Event("drag")))},r.prototype._onUp=function(){this._element.style.pointerEvents="auto",this._positionDelta=null,this._pointerdownPos=null,this._isDragging=!1,this._map.off("mousemove",this._onMove),this._map.off("touchmove",this._onMove),"active"===this._state&&this.fire(new e.Event("dragend")),this._state="inactive"},r.prototype._addDragHandler=function(e){this._element.contains(e.originalEvent.target)&&(e.preventDefault(),this._positionDelta=e.point.sub(this._pos).add(this._offset),this._pointerdownPos=e.point,this._state="pending",this._map.on("mousemove",this._onMove),this._map.on("touchmove",this._onMove),this._map.once("mouseup",this._onUp),this._map.once("touchend",this._onUp))},r.prototype.setDraggable=function(e){return this._draggable=!!e,this._map&&(e?(this._map.on("mousedown",this._addDragHandler),this._map.on("touchstart",this._addDragHandler)):(this._map.off("mousedown",this._addDragHandler),this._map.off("touchstart",this._addDragHandler))),this},r.prototype.isDraggable=function(){return this._draggable},r.prototype.setRotation=function(e){return this._rotation=e||0,this._update(),this},r.prototype.getRotation=function(){return this._rotation},r.prototype.setRotationAlignment=function(e){return this._rotationAlignment=e||"auto",this._update(),this},r.prototype.getRotationAlignment=function(){return this._rotationAlignment},r.prototype.setPitchAlignment=function(e){return this._pitchAlignment=e&&"auto"!==e?e:this._rotationAlignment,this._update(),this},r.prototype.getPitchAlignment=function(){return this._pitchAlignment},r}(e.Evented),qo={positionOptions:{enableHighAccuracy:!1,maximumAge:0,timeout:6e3},fitBoundsOptions:{maxZoom:15},trackUserLocation:!1,showAccuracyCircle:!0,showUserLocation:!0},Po=0,Io=!1,Wo=function(t){function r(n){t.call(this),this.options=e.extend({},qo,n),e.bindAll(["_onSuccess","_onError","_onZoom","_finish","_setupUI","_updateCamera","_updateMarker"],this)}return t&&(r.__proto__=t),(r.prototype=Object.create(t&&t.prototype)).constructor=r,r.prototype.onAdd=function(t){var r;return this._map=t,this._container=n.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),r=this._setupUI,void 0!==Lo?r(Lo):void 0!==e.window.navigator.permissions?e.window.navigator.permissions.query({name:"geolocation"}).then((function(e){r(Lo="denied"!==e.state)})):r(Lo=!!e.window.navigator.geolocation),this._container},r.prototype.onRemove=function(){void 0!==this._geolocationWatchID&&(e.window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0),this.options.showUserLocation&&this._userLocationDotMarker&&this._userLocationDotMarker.remove(),this.options.showAccuracyCircle&&this._accuracyCircleMarker&&this._accuracyCircleMarker.remove(),n.remove(this._container),this._map.off("zoom",this._onZoom),this._map=void 0,Po=0,Io=!1},r.prototype._isOutOfMapMaxBounds=function(e){var t=this._map.getMaxBounds(),n=e.coords;return t&&(n.longitude<t.getWest()||n.longitude>t.getEast()||n.latitude<t.getSouth()||n.latitude>t.getNorth())},r.prototype._setErrorState=function(){switch(this._watchState){case"WAITING_ACTIVE":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"ACTIVE_LOCK":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting");break;case"BACKGROUND":this._watchState="BACKGROUND_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting")}},r.prototype._onSuccess=function(t){if(this._map){if(this._isOutOfMapMaxBounds(t))return this._setErrorState(),this.fire(new e.Event("outofmaxbounds",t)),this._updateMarker(),void this._finish();if(this.options.trackUserLocation)switch(this._lastKnownPosition=t,this._watchState){case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"BACKGROUND":case"BACKGROUND_ERROR":this._watchState="BACKGROUND",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background")}this.options.showUserLocation&&"OFF"!==this._watchState&&this._updateMarker(t),this.options.trackUserLocation&&"ACTIVE_LOCK"!==this._watchState||this._updateCamera(t),this.options.showUserLocation&&this._dotElement.classList.remove("mapboxgl-user-location-dot-stale"),this.fire(new e.Event("geolocate",t)),this._finish()}},r.prototype._updateCamera=function(t){var n=new e.LngLat(t.coords.longitude,t.coords.latitude),r=t.coords.accuracy,o=this._map.getBearing(),i=e.extend({bearing:o},this.options.fitBoundsOptions);this._map.fitBounds(n.toBounds(r),i,{geolocateSource:!0})},r.prototype._updateMarker=function(t){if(t){var n=new e.LngLat(t.coords.longitude,t.coords.latitude);this._accuracyCircleMarker.setLngLat(n).addTo(this._map),this._userLocationDotMarker.setLngLat(n).addTo(this._map),this._accuracy=t.coords.accuracy,this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()}else this._userLocationDotMarker.remove(),this._accuracyCircleMarker.remove()},r.prototype._updateCircleRadius=function(){var e=this._map._container.clientHeight/2,t=this._map.unproject([0,e]),n=this._map.unproject([1,e]),r=t.distanceTo(n),o=Math.ceil(2*this._accuracy/r);this._circleElement.style.width=o+"px",this._circleElement.style.height=o+"px"},r.prototype._onZoom=function(){this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()},r.prototype._onError=function(t){if(this._map){if(this.options.trackUserLocation)if(1===t.code){this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.disabled=!0;var n=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.title=n,this._geolocateButton.setAttribute("aria-label",n),void 0!==this._geolocationWatchID&&this._clearWatch()}else{if(3===t.code&&Io)return;this._setErrorState()}"OFF"!==this._watchState&&this.options.showUserLocation&&this._dotElement.classList.add("mapboxgl-user-location-dot-stale"),this.fire(new e.Event("error",t)),this._finish()}},r.prototype._finish=function(){this._timeoutId&&clearTimeout(this._timeoutId),this._timeoutId=void 0},r.prototype._setupUI=function(t){var r=this;if(this._container.addEventListener("contextmenu",(function(e){return e.preventDefault()})),this._geolocateButton=n.create("button","mapboxgl-ctrl-geolocate",this._container),n.create("span","mapboxgl-ctrl-icon",this._geolocateButton).setAttribute("aria-hidden",!0),this._geolocateButton.type="button",!1===t){e.warnOnce("Geolocation support is not available so the GeolocateControl will be disabled.");var o=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.disabled=!0,this._geolocateButton.title=o,this._geolocateButton.setAttribute("aria-label",o)}else{var i=this._map._getUIString("GeolocateControl.FindMyLocation");this._geolocateButton.title=i,this._geolocateButton.setAttribute("aria-label",i)}this.options.trackUserLocation&&(this._geolocateButton.setAttribute("aria-pressed","false"),this._watchState="OFF"),this.options.showUserLocation&&(this._dotElement=n.create("div","mapboxgl-user-location-dot"),this._userLocationDotMarker=new Ro(this._dotElement),this._circleElement=n.create("div","mapboxgl-user-location-accuracy-circle"),this._accuracyCircleMarker=new Ro({element:this._circleElement,pitchAlignment:"map"}),this.options.trackUserLocation&&(this._watchState="OFF"),this._map.on("zoom",this._onZoom)),this._geolocateButton.addEventListener("click",this.trigger.bind(this)),this._setup=!0,this.options.trackUserLocation&&this._map.on("movestart",(function(t){t.geolocateSource||"ACTIVE_LOCK"!==r._watchState||t.originalEvent&&"resize"===t.originalEvent.type||(r._watchState="BACKGROUND",r._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background"),r._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),r.fire(new e.Event("trackuserlocationend")))}))},r.prototype.trigger=function(){if(!this._setup)return e.warnOnce("Geolocate control triggered before added to a map"),!1;if(this.options.trackUserLocation){switch(this._watchState){case"OFF":this._watchState="WAITING_ACTIVE",this.fire(new e.Event("trackuserlocationstart"));break;case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":case"BACKGROUND_ERROR":Po--,Io=!1,this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this.fire(new e.Event("trackuserlocationend"));break;case"BACKGROUND":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._lastKnownPosition&&this._updateCamera(this._lastKnownPosition),this.fire(new e.Event("trackuserlocationstart"))}switch(this._watchState){case"WAITING_ACTIVE":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_LOCK":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"BACKGROUND":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background");break;case"BACKGROUND_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error")}if("OFF"===this._watchState&&void 0!==this._geolocationWatchID)this._clearWatch();else if(void 0===this._geolocationWatchID){var t;this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","true"),++Po>1?(t={maximumAge:6e5,timeout:0},Io=!0):(t=this.options.positionOptions,Io=!1),this._geolocationWatchID=e.window.navigator.geolocation.watchPosition(this._onSuccess,this._onError,t)}}else e.window.navigator.geolocation.getCurrentPosition(this._onSuccess,this._onError,this.options.positionOptions),this._timeoutId=setTimeout(this._finish,1e4);return!0},r.prototype._clearWatch=function(){e.window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0,this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","false"),this.options.showUserLocation&&this._updateMarker(null)},r}(e.Evented),Fo={maxWidth:100,unit:"metric"},Uo=function(t){this.options=e.extend({},Fo,t),e.bindAll(["_onMove","setUnit"],this)};function Zo(e,t,n){var r=n&&n.maxWidth||100,o=e._container.clientHeight/2,i=e.unproject([0,o]),a=e.unproject([r,o]),s=i.distanceTo(a);if(n&&"imperial"===n.unit){var l=3.2808*s;l>5280?Ho(t,r,l/5280,e._getUIString("ScaleControl.Miles")):Ho(t,r,l,e._getUIString("ScaleControl.Feet"))}else n&&"nautical"===n.unit?Ho(t,r,s/1852,e._getUIString("ScaleControl.NauticalMiles")):s>=1e3?Ho(t,r,s/1e3,e._getUIString("ScaleControl.Kilometers")):Ho(t,r,s,e._getUIString("ScaleControl.Meters"))}function Ho(e,t,n,r){var o,i,a,s=(o=n,(i=Math.pow(10,(""+Math.floor(o)).length-1))*(a=(a=o/i)>=10?10:a>=5?5:a>=3?3:a>=2?2:a>=1?1:function(e){var t=Math.pow(10,Math.ceil(-Math.log(e)/Math.LN10));return Math.round(e*t)/t}(a)));e.style.width=t*(s/n)+"px",e.innerHTML=s+"&nbsp;"+r}Uo.prototype.getDefaultPosition=function(){return"bottom-left"},Uo.prototype._onMove=function(){Zo(this._map,this._container,this.options)},Uo.prototype.onAdd=function(e){return this._map=e,this._container=n.create("div","mapboxgl-ctrl mapboxgl-ctrl-scale",e.getContainer()),this._map.on("move",this._onMove),this._onMove(),this._container},Uo.prototype.onRemove=function(){n.remove(this._container),this._map.off("move",this._onMove),this._map=void 0},Uo.prototype.setUnit=function(e){this.options.unit=e,Zo(this._map,this._container,this.options)};var $o=function(t){this._fullscreen=!1,t&&t.container&&(t.container instanceof e.window.HTMLElement?this._container=t.container:e.warnOnce("Full screen control 'container' must be a DOM element.")),e.bindAll(["_onClickFullscreen","_changeIcon"],this),"onfullscreenchange"in e.window.document?this._fullscreenchange="fullscreenchange":"onmozfullscreenchange"in e.window.document?this._fullscreenchange="mozfullscreenchange":"onwebkitfullscreenchange"in e.window.document?this._fullscreenchange="webkitfullscreenchange":"onmsfullscreenchange"in e.window.document&&(this._fullscreenchange="MSFullscreenChange")};$o.prototype.onAdd=function(t){return this._map=t,this._container||(this._container=this._map.getContainer()),this._controlContainer=n.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),this._checkFullscreenSupport()?this._setupUI():(this._controlContainer.style.display="none",e.warnOnce("This device does not support fullscreen mode.")),this._controlContainer},$o.prototype.onRemove=function(){n.remove(this._controlContainer),this._map=null,e.window.document.removeEventListener(this._fullscreenchange,this._changeIcon)},$o.prototype._checkFullscreenSupport=function(){return!!(e.window.document.fullscreenEnabled||e.window.document.mozFullScreenEnabled||e.window.document.msFullscreenEnabled||e.window.document.webkitFullscreenEnabled)},$o.prototype._setupUI=function(){var t=this._fullscreenButton=n.create("button","mapboxgl-ctrl-fullscreen",this._controlContainer);n.create("span","mapboxgl-ctrl-icon",t).setAttribute("aria-hidden",!0),t.type="button",this._updateTitle(),this._fullscreenButton.addEventListener("click",this._onClickFullscreen),e.window.document.addEventListener(this._fullscreenchange,this._changeIcon)},$o.prototype._updateTitle=function(){var e=this._getTitle();this._fullscreenButton.setAttribute("aria-label",e),this._fullscreenButton.title=e},$o.prototype._getTitle=function(){return this._map._getUIString(this._isFullscreen()?"FullscreenControl.Exit":"FullscreenControl.Enter")},$o.prototype._isFullscreen=function(){return this._fullscreen},$o.prototype._changeIcon=function(){(e.window.document.fullscreenElement||e.window.document.mozFullScreenElement||e.window.document.webkitFullscreenElement||e.window.document.msFullscreenElement)===this._container!==this._fullscreen&&(this._fullscreen=!this._fullscreen,this._fullscreenButton.classList.toggle("mapboxgl-ctrl-shrink"),this._fullscreenButton.classList.toggle("mapboxgl-ctrl-fullscreen"),this._updateTitle())},$o.prototype._onClickFullscreen=function(){this._isFullscreen()?e.window.document.exitFullscreen?e.window.document.exitFullscreen():e.window.document.mozCancelFullScreen?e.window.document.mozCancelFullScreen():e.window.document.msExitFullscreen?e.window.document.msExitFullscreen():e.window.document.webkitCancelFullScreen&&e.window.document.webkitCancelFullScreen():this._container.requestFullscreen?this._container.requestFullscreen():this._container.mozRequestFullScreen?this._container.mozRequestFullScreen():this._container.msRequestFullscreen?this._container.msRequestFullscreen():this._container.webkitRequestFullscreen&&this._container.webkitRequestFullscreen()};var Vo={closeButton:!0,closeOnClick:!0,focusAfterOpen:!0,className:"",maxWidth:"240px"},Xo=["a[href]","[tabindex]:not([tabindex='-1'])","[contenteditable]:not([contenteditable='false'])","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].join(", "),Qo=function(t){function r(n){t.call(this),this.options=e.extend(Object.create(Vo),n),e.bindAll(["_update","_onClose","remove","_onMouseMove","_onMouseUp","_onDrag"],this)}return t&&(r.__proto__=t),(r.prototype=Object.create(t&&t.prototype)).constructor=r,r.prototype.addTo=function(t){return this._map&&this.remove(),this._map=t,this.options.closeOnClick&&this._map.on("click",this._onClose),this.options.closeOnMove&&this._map.on("move",this._onClose),this._map.on("remove",this.remove),this._update(),this._focusFirstElement(),this._trackPointer?(this._map.on("mousemove",this._onMouseMove),this._map.on("mouseup",this._onMouseUp),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")):this._map.on("move",this._update),this.fire(new e.Event("open")),this},r.prototype.isOpen=function(){return!!this._map},r.prototype.remove=function(){return this._content&&n.remove(this._content),this._container&&(n.remove(this._container),delete this._container),this._map&&(this._map.off("move",this._update),this._map.off("move",this._onClose),this._map.off("click",this._onClose),this._map.off("remove",this.remove),this._map.off("mousemove",this._onMouseMove),this._map.off("mouseup",this._onMouseUp),this._map.off("drag",this._onDrag),delete this._map),this.fire(new e.Event("close")),this},r.prototype.getLngLat=function(){return this._lngLat},r.prototype.setLngLat=function(t){return this._lngLat=e.LngLat.convert(t),this._pos=null,this._trackPointer=!1,this._update(),this._map&&(this._map.on("move",this._update),this._map.off("mousemove",this._onMouseMove),this._container&&this._container.classList.remove("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.remove("mapboxgl-track-pointer")),this},r.prototype.trackPointer=function(){return this._trackPointer=!0,this._pos=null,this._update(),this._map&&(this._map.off("move",this._update),this._map.on("mousemove",this._onMouseMove),this._map.on("drag",this._onDrag),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")),this},r.prototype.getElement=function(){return this._container},r.prototype.setText=function(t){return this.setDOMContent(e.window.document.createTextNode(t))},r.prototype.setHTML=function(t){var n,r=e.window.document.createDocumentFragment(),o=e.window.document.createElement("body");for(o.innerHTML=t;n=o.firstChild;)r.appendChild(n);return this.setDOMContent(r)},r.prototype.getMaxWidth=function(){return this._container&&this._container.style.maxWidth},r.prototype.setMaxWidth=function(e){return this.options.maxWidth=e,this._update(),this},r.prototype.setDOMContent=function(e){if(this._content)for(;this._content.hasChildNodes();)this._content.firstChild&&this._content.removeChild(this._content.firstChild);else this._content=n.create("div","mapboxgl-popup-content",this._container);return this._content.appendChild(e),this._createCloseButton(),this._update(),this._focusFirstElement(),this},r.prototype.addClassName=function(e){this._container&&this._container.classList.add(e)},r.prototype.removeClassName=function(e){this._container&&this._container.classList.remove(e)},r.prototype.setOffset=function(e){return this.options.offset=e,this._update(),this},r.prototype.toggleClassName=function(e){if(this._container)return this._container.classList.toggle(e)},r.prototype._createCloseButton=function(){this.options.closeButton&&(this._closeButton=n.create("button","mapboxgl-popup-close-button",this._content),this._closeButton.type="button",this._closeButton.setAttribute("aria-label","Close popup"),this._closeButton.innerHTML="&#215;",this._closeButton.addEventListener("click",this._onClose))},r.prototype._onMouseUp=function(e){this._update(e.point)},r.prototype._onMouseMove=function(e){this._update(e.point)},r.prototype._onDrag=function(e){this._update(e.point)},r.prototype._update=function(t){var r=this;if(this._map&&(this._lngLat||this._trackPointer)&&this._content&&(this._container||(this._container=n.create("div","mapboxgl-popup",this._map.getContainer()),this._tip=n.create("div","mapboxgl-popup-tip",this._container),this._container.appendChild(this._content),this.options.className&&this.options.className.split(" ").forEach((function(e){return r._container.classList.add(e)})),this._trackPointer&&this._container.classList.add("mapboxgl-popup-track-pointer")),this.options.maxWidth&&this._container.style.maxWidth!==this.options.maxWidth&&(this._container.style.maxWidth=this.options.maxWidth),this._map.transform.renderWorldCopies&&!this._trackPointer&&(this._lngLat=To(this._lngLat,this._pos,this._map.transform)),!this._trackPointer||t)){var o=this._pos=this._trackPointer&&t?t:this._map.project(this._lngLat),i=this.options.anchor,a=function t(n){if(n){if("number"==typeof n){var r=Math.round(Math.sqrt(.5*Math.pow(n,2)));return{center:new e.Point(0,0),top:new e.Point(0,n),"top-left":new e.Point(r,r),"top-right":new e.Point(-r,r),bottom:new e.Point(0,-n),"bottom-left":new e.Point(r,-r),"bottom-right":new e.Point(-r,-r),left:new e.Point(n,0),right:new e.Point(-n,0)}}if(n instanceof e.Point||Array.isArray(n)){var o=e.Point.convert(n);return{center:o,top:o,"top-left":o,"top-right":o,bottom:o,"bottom-left":o,"bottom-right":o,left:o,right:o}}return{center:e.Point.convert(n.center||[0,0]),top:e.Point.convert(n.top||[0,0]),"top-left":e.Point.convert(n["top-left"]||[0,0]),"top-right":e.Point.convert(n["top-right"]||[0,0]),bottom:e.Point.convert(n.bottom||[0,0]),"bottom-left":e.Point.convert(n["bottom-left"]||[0,0]),"bottom-right":e.Point.convert(n["bottom-right"]||[0,0]),left:e.Point.convert(n.left||[0,0]),right:e.Point.convert(n.right||[0,0])}}return t(new e.Point(0,0))}(this.options.offset);if(!i){var s,l=this._container.offsetWidth,c=this._container.offsetHeight;s=o.y+a.bottom.y<c?["top"]:o.y>this._map.transform.height-c?["bottom"]:[],o.x<l/2?s.push("left"):o.x>this._map.transform.width-l/2&&s.push("right"),i=0===s.length?"bottom":s.join("-")}var u=o.add(a[i]).round();n.setTransform(this._container,jo[i]+" translate("+u.x+"px,"+u.y+"px)"),Bo(this._container,i,"popup")}},r.prototype._focusFirstElement=function(){if(this.options.focusAfterOpen&&this._container){var e=this._container.querySelector(Xo);e&&e.focus()}},r.prototype._onClose=function(){this.remove()},r}(e.Evented),Yo={version:e.version,supported:t,setRTLTextPlugin:e.setRTLTextPlugin,getRTLTextPluginStatus:e.getRTLTextPluginStatus,Map:So,NavigationControl:Do,GeolocateControl:Wo,AttributionControl:yo,ScaleControl:Uo,FullscreenControl:$o,Popup:Qo,Marker:Ro,Style:Ut,LngLat:e.LngLat,LngLatBounds:e.LngLatBounds,Point:e.Point,MercatorCoordinate:e.MercatorCoordinate,Evented:e.Evented,config:e.config,prewarm:function(){qe().acquire(je)},clearPrewarmedResources:function(){var e=Le;e&&(e.isPreloaded()&&1===e.numActive()?(e.release(je),Le=null):console.warn("Could not clear WebWorkers since there are active Map instances that still reference it. The pre-warmed WebWorker pool can only be cleared when all map instances have been removed with map.remove()"))},get accessToken(){return e.config.ACCESS_TOKEN},set accessToken(t){e.config.ACCESS_TOKEN=t},get baseApiUrl(){return e.config.API_URL},set baseApiUrl(t){e.config.API_URL=t},get workerCount(){return Be.workerCount},set workerCount(e){Be.workerCount=e},get maxParallelImageRequests(){return e.config.MAX_PARALLEL_IMAGE_REQUESTS},set maxParallelImageRequests(t){e.config.MAX_PARALLEL_IMAGE_REQUESTS=t},clearStorage:function(t){e.clearTileCache(t)},workerUrl:""};return Yo})),n}()},82374:function(e,t,n){(e.exports=n(68424)).tz.load(n(91128))},68424:function(e,t,n){var r,o,i;!function(a,s){"use strict";e.exports?e.exports=s(n(70816)):(o=[n(70816)],void 0===(i="function"===typeof(r=s)?r.apply(t,o):r)||(e.exports=i))}(0,(function(e){"use strict";void 0===e.version&&e.default&&(e=e.default);var t,n={},r={},o={},i={},a={};e&&"string"===typeof e.version||E("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");var s=e.version.split("."),l=+s[0],c=+s[1];function u(e){return e>96?e-87:e>64?e-29:e-48}function d(e){var t=0,n=e.split("."),r=n[0],o=n[1]||"",i=1,a=0,s=1;for(45===e.charCodeAt(0)&&(t=1,s=-1);t<r.length;t++)a=60*a+u(r.charCodeAt(t));for(t=0;t<o.length;t++)i/=60,a+=u(o.charCodeAt(t))*i;return a*s}function p(e){for(var t=0;t<e.length;t++)e[t]=d(e[t])}function f(e,t){var n,r=[];for(n=0;n<t.length;n++)r[n]=e[t[n]];return r}function h(e){var t=e.split("|"),n=t[2].split(" "),r=t[3].split(""),o=t[4].split(" ");return p(n),p(r),p(o),function(e,t){for(var n=0;n<t;n++)e[n]=Math.round((e[n-1]||0)+6e4*e[n]);e[t-1]=1/0}(o,r.length),{name:t[0],abbrs:f(t[1].split(" "),r),offsets:f(n,r),untils:o,population:0|t[5]}}function b(e){e&&this._set(h(e))}function A(e,t){this.name=e,this.zones=t}function m(e){var t=e.toTimeString(),n=t.match(/\([a-z ]+\)/i);"GMT"===(n=n&&n[0]?(n=n[0].match(/[A-Z]/g))?n.join(""):void 0:(n=t.match(/[A-Z]{3,5}/g))?n[0]:void 0)&&(n=void 0),this.at=+e,this.abbr=n,this.offset=e.getTimezoneOffset()}function g(e){this.zone=e,this.offsetScore=0,this.abbrScore=0}function v(e,t){for(var n,r;r=6e4*((t.at-e.at)/12e4|0);)(n=new m(new Date(e.at+r))).offset===e.offset?e=n:t=n;return e}function y(e,t){return e.offsetScore!==t.offsetScore?e.offsetScore-t.offsetScore:e.abbrScore!==t.abbrScore?e.abbrScore-t.abbrScore:e.zone.population!==t.zone.population?t.zone.population-e.zone.population:t.zone.name.localeCompare(e.zone.name)}function M(e,t){var n,r;for(p(t),n=0;n<t.length;n++)r=t[n],a[r]=a[r]||{},a[r][e]=!0}function O(e){var t,n,r,o=e.length,s={},l=[];for(t=0;t<o;t++)for(n in r=a[e[t].offset]||{})r.hasOwnProperty(n)&&(s[n]=!0);for(t in s)s.hasOwnProperty(t)&&l.push(i[t]);return l}function _(){try{var e=Intl.DateTimeFormat().resolvedOptions().timeZone;if(e&&e.length>3){var t=i[z(e)];if(t)return t;E("Moment Timezone found "+e+" from the Intl api, but did not have that data loaded.")}}catch(u){}var n,r,o,a=function(){var e,t,n,r=(new Date).getFullYear()-2,o=new m(new Date(r,0,1)),i=[o];for(n=1;n<48;n++)(t=new m(new Date(r,n,1))).offset!==o.offset&&(e=v(o,t),i.push(e),i.push(new m(new Date(e.at+6e4)))),o=t;for(n=0;n<4;n++)i.push(new m(new Date(r+n,0,1))),i.push(new m(new Date(r+n,6,1)));return i}(),s=a.length,l=O(a),c=[];for(r=0;r<l.length;r++){for(n=new g(w(l[r]),s),o=0;o<s;o++)n.scoreOffsetAt(a[o]);c.push(n)}return c.sort(y),c.length>0?c[0].zone.name:void 0}function z(e){return(e||"").toLowerCase().replace(/\//g,"_")}function x(e){var t,r,o,a;for("string"===typeof e&&(e=[e]),t=0;t<e.length;t++)a=z(r=(o=e[t].split("|"))[0]),n[a]=e[t],i[a]=r,M(a,o[2].split(" "))}function w(e,t){e=z(e);var o,a=n[e];return a instanceof b?a:"string"===typeof a?(a=new b(a),n[e]=a,a):r[e]&&t!==w&&(o=w(r[e],w))?((a=n[e]=new b)._set(o),a.name=i[e],a):null}function C(e){var t,n,o,a;for("string"===typeof e&&(e=[e]),t=0;t<e.length;t++)o=z((n=e[t].split("|"))[0]),a=z(n[1]),r[o]=a,i[o]=n[0],r[a]=o,i[a]=n[1]}function S(e){var t="X"===e._f||"x"===e._f;return!(!e._a||void 0!==e._tzm||t)}function E(e){"undefined"!==typeof console&&"function"===typeof console.error&&console.error(e)}function k(t){var n=Array.prototype.slice.call(arguments,0,-1),r=arguments[arguments.length-1],o=w(r),i=e.utc.apply(null,n);return o&&!e.isMoment(t)&&S(i)&&i.add(o.parse(i),"minutes"),i.tz(r),i}(l<2||2===l&&c<6)&&E("Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js "+e.version+". See momentjs.com"),b.prototype={_set:function(e){this.name=e.name,this.abbrs=e.abbrs,this.untils=e.untils,this.offsets=e.offsets,this.population=e.population},_index:function(e){var t,n=+e,r=this.untils;for(t=0;t<r.length;t++)if(n<r[t])return t},countries:function(){var e=this.name;return Object.keys(o).filter((function(t){return-1!==o[t].zones.indexOf(e)}))},parse:function(e){var t,n,r,o,i=+e,a=this.offsets,s=this.untils,l=s.length-1;for(o=0;o<l;o++)if(t=a[o],n=a[o+1],r=a[o?o-1:o],t<n&&k.moveAmbiguousForward?t=n:t>r&&k.moveInvalidForward&&(t=r),i<s[o]-6e4*t)return a[o];return a[l]},abbr:function(e){return this.abbrs[this._index(e)]},offset:function(e){return E("zone.offset has been deprecated in favor of zone.utcOffset"),this.offsets[this._index(e)]},utcOffset:function(e){return this.offsets[this._index(e)]}},g.prototype.scoreOffsetAt=function(e){this.offsetScore+=Math.abs(this.zone.utcOffset(e.at)-e.offset),this.zone.abbr(e.at).replace(/[^A-Z]/g,"")!==e.abbr&&this.abbrScore++},k.version="0.5.43",k.dataVersion="",k._zones=n,k._links=r,k._names=i,k._countries=o,k.add=x,k.link=C,k.load=function(e){x(e.zones),C(e.links),function(e){var t,n,r,i;if(e&&e.length)for(t=0;t<e.length;t++)n=(i=e[t].split("|"))[0].toUpperCase(),r=i[1].split(" "),o[n]=new A(n,r)}(e.countries),k.dataVersion=e.version},k.zone=w,k.zoneExists=function e(t){return e.didShowError||(e.didShowError=!0,E("moment.tz.zoneExists('"+t+"') has been deprecated in favor of !moment.tz.zone('"+t+"')")),!!w(t)},k.guess=function(e){return t&&!e||(t=_()),t},k.names=function(){var e,t=[];for(e in i)i.hasOwnProperty(e)&&(n[e]||n[r[e]])&&i[e]&&t.push(i[e]);return t.sort()},k.Zone=b,k.unpack=h,k.unpackBase60=d,k.needsOffset=S,k.moveInvalidForward=!0,k.moveAmbiguousForward=!1,k.countries=function(){return Object.keys(o)},k.zonesForCountry=function(e,t){if(!(e=function(e){return e=e.toUpperCase(),o[e]||null}(e)))return null;var n=e.zones.sort();return t?n.map((function(e){return{name:e,offset:w(e).utcOffset(new Date)}})):n};var D,N=e.fn;function T(e){return function(){return this._z?this._z.abbr(this):e.call(this)}}function j(e){return function(){return this._z=null,e.apply(this,arguments)}}e.tz=k,e.defaultZone=null,e.updateOffset=function(t,n){var r,o=e.defaultZone;if(void 0===t._z&&(o&&S(t)&&!t._isUTC&&(t._d=e.utc(t._a)._d,t.utc().add(o.parse(t),"minutes")),t._z=o),t._z)if(r=t._z.utcOffset(t),Math.abs(r)<16&&(r/=60),void 0!==t.utcOffset){var i=t._z;t.utcOffset(-r,n),t._z=i}else t.zone(r,n)},N.tz=function(t,n){if(t){if("string"!==typeof t)throw new Error("Time zone name must be a string, got "+t+" ["+typeof t+"]");return this._z=w(t),this._z?e.updateOffset(this,n):E("Moment Timezone has no data for "+t+". See http://momentjs.com/timezone/docs/#/data-loading/."),this}if(this._z)return this._z.name},N.zoneName=T(N.zoneName),N.zoneAbbr=T(N.zoneAbbr),N.utc=j(N.utc),N.local=j(N.local),N.utcOffset=(D=N.utcOffset,function(){return arguments.length>0&&(this._z=null),D.apply(this,arguments)}),e.tz.setDefault=function(t){return(l<2||2===l&&c<9)&&E("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+e.version+"."),e.defaultZone=t?w(t):null,e};var B=e.momentProperties;return"[object Array]"===Object.prototype.toString.call(B)?(B.push("_z"),B.push("_a")):B&&(B._z=null),e}))},70816:function(e,t,n){(e=n.nmd(e)).exports=function(){"use strict";var t,n;function r(){return t.apply(null,arguments)}function o(e){t=e}function i(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(s(e,t))return!1;return!0}function c(e){return void 0===e}function u(e){return"number"===typeof e||"[object Number]"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function p(e,t){var n,r=[],o=e.length;for(n=0;n<o;++n)r.push(t(e[n],n));return r}function f(e,t){for(var n in t)s(t,n)&&(e[n]=t[n]);return s(t,"toString")&&(e.toString=t.toString),s(t,"valueOf")&&(e.valueOf=t.valueOf),e}function h(e,t,n,r){return Xn(e,t,n,r,!0).utc()}function b(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function A(e){return null==e._pf&&(e._pf=b()),e._pf}function m(e){if(null==e._isValid){var t=A(e),r=n.call(t.parsedDateParts,(function(e){return null!=e})),o=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r);if(e._strict&&(o=o&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return o;e._isValid=o}return e._isValid}function g(e){var t=h(NaN);return null!=e?f(A(t),e):A(t).userInvalidated=!0,t}n=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n.length>>>0;for(t=0;t<r;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var v=r.momentProperties=[],y=!1;function M(e,t){var n,r,o,i=v.length;if(c(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),c(t._i)||(e._i=t._i),c(t._f)||(e._f=t._f),c(t._l)||(e._l=t._l),c(t._strict)||(e._strict=t._strict),c(t._tzm)||(e._tzm=t._tzm),c(t._isUTC)||(e._isUTC=t._isUTC),c(t._offset)||(e._offset=t._offset),c(t._pf)||(e._pf=A(t)),c(t._locale)||(e._locale=t._locale),i>0)for(n=0;n<i;n++)c(o=t[r=v[n]])||(e[r]=o);return e}function O(e){M(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===y&&(y=!0,r.updateOffset(this),y=!1)}function _(e){return e instanceof O||null!=e&&null!=e._isAMomentObject}function z(e){!1===r.suppressDeprecationWarnings&&"undefined"!==typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function x(e,t){var n=!0;return f((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){var o,i,a,l=[],c=arguments.length;for(i=0;i<c;i++){if(o="","object"===typeof arguments[i]){for(a in o+="\n["+i+"] ",arguments[0])s(arguments[0],a)&&(o+=a+": "+arguments[0][a]+", ");o=o.slice(0,-2)}else o=arguments[i];l.push(o)}z(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var w,C={};function S(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),C[e]||(z(t),C[e]=!0)}function E(e){return"undefined"!==typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function k(e){var t,n;for(n in e)s(e,n)&&(E(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function D(e,t){var n,r=f({},e);for(n in t)s(t,n)&&(a(e[n])&&a(t[n])?(r[n]={},f(r[n],e[n]),f(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)s(e,n)&&!s(t,n)&&a(e[n])&&(r[n]=f({},r[n]));return r}function N(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,w=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var T={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function j(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return E(r)?r.call(t,n):r}function B(e,t,n){var r=""+Math.abs(e),o=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+r}var L=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,R=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,q={},P={};function I(e,t,n,r){var o=r;"string"===typeof r&&(o=function(){return this[r]()}),e&&(P[e]=o),t&&(P[t[0]]=function(){return B(o.apply(this,arguments),t[1],t[2])}),n&&(P[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function W(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function F(e){var t,n,r=e.match(L);for(t=0,n=r.length;t<n;t++)P[r[t]]?r[t]=P[r[t]]:r[t]=W(r[t]);return function(t){var o,i="";for(o=0;o<n;o++)i+=E(r[o])?r[o].call(t,e):r[o];return i}}function U(e,t){return e.isValid()?(t=Z(t,e.localeData()),q[t]=q[t]||F(t),q[t](e)):e.localeData().invalidDate()}function Z(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(R.lastIndex=0;n>=0&&R.test(e);)e=e.replace(R,r),R.lastIndex=0,n-=1;return e}var H={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function $(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(L).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var V="Invalid date";function X(){return this._invalidDate}var Q="%d",Y=/\d{1,2}/;function G(e){return this._ordinal.replace("%d",e)}var K={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function J(e,t,n,r){var o=this._relativeTime[n];return E(o)?o(e,t,n,r):o.replace(/%d/i,e)}function ee(e,t){var n=this._relativeTime[e>0?"future":"past"];return E(n)?n(t):n.replace(/%s/i,t)}var te={};function ne(e,t){var n=e.toLowerCase();te[n]=te[n+"s"]=te[t]=e}function re(e){return"string"===typeof e?te[e]||te[e.toLowerCase()]:void 0}function oe(e){var t,n,r={};for(n in e)s(e,n)&&(t=re(n))&&(r[t]=e[n]);return r}var ie={};function ae(e,t){ie[e]=t}function se(e){var t,n=[];for(t in e)s(e,t)&&n.push({unit:t,priority:ie[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}function le(e){return e%4===0&&e%100!==0||e%400===0}function ce(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function ue(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=ce(t)),n}function de(e,t){return function(n){return null!=n?(fe(this,e,n),r.updateOffset(this,t),this):pe(this,e)}}function pe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function fe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&le(e.year())&&1===e.month()&&29===e.date()?(n=ue(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Je(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function he(e){return E(this[e=re(e)])?this[e]():this}function be(e,t){if("object"===typeof e){var n,r=se(e=oe(e)),o=r.length;for(n=0;n<o;n++)this[r[n].unit](e[r[n].unit])}else if(E(this[e=re(e)]))return this[e](t);return this}var Ae,me=/\d/,ge=/\d\d/,ve=/\d{3}/,ye=/\d{4}/,Me=/[+-]?\d{6}/,Oe=/\d\d?/,_e=/\d\d\d\d?/,ze=/\d\d\d\d\d\d?/,xe=/\d{1,3}/,we=/\d{1,4}/,Ce=/[+-]?\d{1,6}/,Se=/\d+/,Ee=/[+-]?\d+/,ke=/Z|[+-]\d\d:?\d\d/gi,De=/Z|[+-]\d\d(?::?\d\d)?/gi,Ne=/[+-]?\d+(\.\d{1,3})?/,Te=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function je(e,t,n){Ae[e]=E(t)?t:function(e,r){return e&&n?n:t}}function Be(e,t){return s(Ae,e)?Ae[e](t._strict,t._locale):new RegExp(Le(e))}function Le(e){return Re(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,o){return t||n||r||o})))}function Re(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Ae={};var qe={};function Pe(e,t){var n,r,o=t;for("string"===typeof e&&(e=[e]),u(t)&&(o=function(e,n){n[t]=ue(e)}),r=e.length,n=0;n<r;n++)qe[e[n]]=o}function Ie(e,t){Pe(e,(function(e,n,r,o){r._w=r._w||{},t(e,r._w,r,o)}))}function We(e,t,n){null!=t&&s(qe,e)&&qe[e](t,n._a,n,e)}var Fe,Ue=0,Ze=1,He=2,$e=3,Ve=4,Xe=5,Qe=6,Ye=7,Ge=8;function Ke(e,t){return(e%t+t)%t}function Je(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=Ke(t,12);return e+=(t-n)/12,1===n?le(e)?29:28:31-n%7%2}Fe=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},I("M",["MM",2],"Mo",(function(){return this.month()+1})),I("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),I("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),ne("month","M"),ae("month",8),je("M",Oe),je("MM",Oe,ge),je("MMM",(function(e,t){return t.monthsShortRegex(e)})),je("MMMM",(function(e,t){return t.monthsRegex(e)})),Pe(["M","MM"],(function(e,t){t[Ze]=ue(e)-1})),Pe(["MMM","MMMM"],(function(e,t,n,r){var o=n._locale.monthsParse(e,r,n._strict);null!=o?t[Ze]=o:A(n).invalidMonth=e}));var et="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),tt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),nt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,rt=Te,ot=Te;function it(e,t){return e?i(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||nt).test(t)?"format":"standalone"][e.month()]:i(this._months)?this._months:this._months.standalone}function at(e,t){return e?i(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[nt.test(t)?"format":"standalone"][e.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function st(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=h([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(o=Fe.call(this._shortMonthsParse,a))?o:null:-1!==(o=Fe.call(this._longMonthsParse,a))?o:null:"MMM"===t?-1!==(o=Fe.call(this._shortMonthsParse,a))||-1!==(o=Fe.call(this._longMonthsParse,a))?o:null:-1!==(o=Fe.call(this._longMonthsParse,a))||-1!==(o=Fe.call(this._shortMonthsParse,a))?o:null}function lt(e,t,n){var r,o,i;if(this._monthsParseExact)return st.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(o=h([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function ct(e,t){var n;if(!e.isValid())return e;if("string"===typeof t)if(/^\d+$/.test(t))t=ue(t);else if(!u(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Je(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function ut(e){return null!=e?(ct(this,e),r.updateOffset(this,!0),this):pe(this,"Month")}function dt(){return Je(this.year(),this.month())}function pt(e){return this._monthsParseExact?(s(this,"_monthsRegex")||ht.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,"_monthsShortRegex")||(this._monthsShortRegex=rt),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function ft(e){return this._monthsParseExact?(s(this,"_monthsRegex")||ht.call(this),e?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=ot),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function ht(){function e(e,t){return t.length-e.length}var t,n,r=[],o=[],i=[];for(t=0;t<12;t++)n=h([2e3,t]),r.push(this.monthsShort(n,"")),o.push(this.months(n,"")),i.push(this.months(n,"")),i.push(this.monthsShort(n,""));for(r.sort(e),o.sort(e),i.sort(e),t=0;t<12;t++)r[t]=Re(r[t]),o[t]=Re(o[t]);for(t=0;t<24;t++)i[t]=Re(i[t]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function bt(e){return le(e)?366:365}I("Y",0,0,(function(){var e=this.year();return e<=9999?B(e,4):"+"+e})),I(0,["YY",2],0,(function(){return this.year()%100})),I(0,["YYYY",4],0,"year"),I(0,["YYYYY",5],0,"year"),I(0,["YYYYYY",6,!0],0,"year"),ne("year","y"),ae("year",1),je("Y",Ee),je("YY",Oe,ge),je("YYYY",we,ye),je("YYYYY",Ce,Me),je("YYYYYY",Ce,Me),Pe(["YYYYY","YYYYYY"],Ue),Pe("YYYY",(function(e,t){t[Ue]=2===e.length?r.parseTwoDigitYear(e):ue(e)})),Pe("YY",(function(e,t){t[Ue]=r.parseTwoDigitYear(e)})),Pe("Y",(function(e,t){t[Ue]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return ue(e)+(ue(e)>68?1900:2e3)};var At=de("FullYear",!0);function mt(){return le(this.year())}function gt(e,t,n,r,o,i,a){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,o,i,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,o,i,a),s}function vt(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function yt(e,t,n){var r=7+t-n;return-(7+vt(e,0,r).getUTCDay()-t)%7+r-1}function Mt(e,t,n,r,o){var i,a,s=1+7*(t-1)+(7+n-r)%7+yt(e,r,o);return s<=0?a=bt(i=e-1)+s:s>bt(e)?(i=e+1,a=s-bt(e)):(i=e,a=s),{year:i,dayOfYear:a}}function Ot(e,t,n){var r,o,i=yt(e.year(),t,n),a=Math.floor((e.dayOfYear()-i-1)/7)+1;return a<1?r=a+_t(o=e.year()-1,t,n):a>_t(e.year(),t,n)?(r=a-_t(e.year(),t,n),o=e.year()+1):(o=e.year(),r=a),{week:r,year:o}}function _t(e,t,n){var r=yt(e,t,n),o=yt(e+1,t,n);return(bt(e)-r+o)/7}function zt(e){return Ot(e,this._week.dow,this._week.doy).week}I("w",["ww",2],"wo","week"),I("W",["WW",2],"Wo","isoWeek"),ne("week","w"),ne("isoWeek","W"),ae("week",5),ae("isoWeek",5),je("w",Oe),je("ww",Oe,ge),je("W",Oe),je("WW",Oe,ge),Ie(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=ue(e)}));var xt={dow:0,doy:6};function wt(){return this._week.dow}function Ct(){return this._week.doy}function St(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Et(e){var t=Ot(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function kt(e,t){return"string"!==typeof e?e:isNaN(e)?"number"===typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function Dt(e,t){return"string"===typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Nt(e,t){return e.slice(t,7).concat(e.slice(0,t))}I("d",0,"do","day"),I("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),I("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),I("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),I("e",0,0,"weekday"),I("E",0,0,"isoWeekday"),ne("day","d"),ne("weekday","e"),ne("isoWeekday","E"),ae("day",11),ae("weekday",11),ae("isoWeekday",11),je("d",Oe),je("e",Oe),je("E",Oe),je("dd",(function(e,t){return t.weekdaysMinRegex(e)})),je("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),je("dddd",(function(e,t){return t.weekdaysRegex(e)})),Ie(["dd","ddd","dddd"],(function(e,t,n,r){var o=n._locale.weekdaysParse(e,r,n._strict);null!=o?t.d=o:A(n).invalidWeekday=e})),Ie(["d","e","E"],(function(e,t,n,r){t[r]=ue(e)}));var Tt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),jt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Bt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Lt=Te,Rt=Te,qt=Te;function Pt(e,t){var n=i(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Nt(n,this._week.dow):e?n[e.day()]:n}function It(e){return!0===e?Nt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Wt(e){return!0===e?Nt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ft(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=h([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(o=Fe.call(this._weekdaysParse,a))?o:null:"ddd"===t?-1!==(o=Fe.call(this._shortWeekdaysParse,a))?o:null:-1!==(o=Fe.call(this._minWeekdaysParse,a))?o:null:"dddd"===t?-1!==(o=Fe.call(this._weekdaysParse,a))||-1!==(o=Fe.call(this._shortWeekdaysParse,a))||-1!==(o=Fe.call(this._minWeekdaysParse,a))?o:null:"ddd"===t?-1!==(o=Fe.call(this._shortWeekdaysParse,a))||-1!==(o=Fe.call(this._weekdaysParse,a))||-1!==(o=Fe.call(this._minWeekdaysParse,a))?o:null:-1!==(o=Fe.call(this._minWeekdaysParse,a))||-1!==(o=Fe.call(this._weekdaysParse,a))||-1!==(o=Fe.call(this._shortWeekdaysParse,a))?o:null}function Ut(e,t,n){var r,o,i;if(this._weekdaysParseExact)return Ft.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(o=h([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function Zt(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=kt(e,this.localeData()),this.add(e-t,"d")):t}function Ht(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function $t(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Dt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Vt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Yt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=Lt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Xt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Yt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Rt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Qt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Yt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=qt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Yt(){function e(e,t){return t.length-e.length}var t,n,r,o,i,a=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=h([2e3,1]).day(t),r=Re(this.weekdaysMin(n,"")),o=Re(this.weekdaysShort(n,"")),i=Re(this.weekdays(n,"")),a.push(r),s.push(o),l.push(i),c.push(r),c.push(o),c.push(i);a.sort(e),s.sort(e),l.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Gt(){return this.hours()%12||12}function Kt(){return this.hours()||24}function Jt(e,t){I(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function en(e,t){return t._meridiemParse}function tn(e){return"p"===(e+"").toLowerCase().charAt(0)}I("H",["HH",2],0,"hour"),I("h",["hh",2],0,Gt),I("k",["kk",2],0,Kt),I("hmm",0,0,(function(){return""+Gt.apply(this)+B(this.minutes(),2)})),I("hmmss",0,0,(function(){return""+Gt.apply(this)+B(this.minutes(),2)+B(this.seconds(),2)})),I("Hmm",0,0,(function(){return""+this.hours()+B(this.minutes(),2)})),I("Hmmss",0,0,(function(){return""+this.hours()+B(this.minutes(),2)+B(this.seconds(),2)})),Jt("a",!0),Jt("A",!1),ne("hour","h"),ae("hour",13),je("a",en),je("A",en),je("H",Oe),je("h",Oe),je("k",Oe),je("HH",Oe,ge),je("hh",Oe,ge),je("kk",Oe,ge),je("hmm",_e),je("hmmss",ze),je("Hmm",_e),je("Hmmss",ze),Pe(["H","HH"],$e),Pe(["k","kk"],(function(e,t,n){var r=ue(e);t[$e]=24===r?0:r})),Pe(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Pe(["h","hh"],(function(e,t,n){t[$e]=ue(e),A(n).bigHour=!0})),Pe("hmm",(function(e,t,n){var r=e.length-2;t[$e]=ue(e.substr(0,r)),t[Ve]=ue(e.substr(r)),A(n).bigHour=!0})),Pe("hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[$e]=ue(e.substr(0,r)),t[Ve]=ue(e.substr(r,2)),t[Xe]=ue(e.substr(o)),A(n).bigHour=!0})),Pe("Hmm",(function(e,t,n){var r=e.length-2;t[$e]=ue(e.substr(0,r)),t[Ve]=ue(e.substr(r))})),Pe("Hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[$e]=ue(e.substr(0,r)),t[Ve]=ue(e.substr(r,2)),t[Xe]=ue(e.substr(o))}));var nn=/[ap]\.?m?\.?/i,rn=de("Hours",!0);function on(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var an,sn={calendar:T,longDateFormat:H,invalidDate:V,ordinal:Q,dayOfMonthOrdinalParse:Y,relativeTime:K,months:et,monthsShort:tt,week:xt,weekdays:Tt,weekdaysMin:Bt,weekdaysShort:jt,meridiemParse:nn},ln={},cn={};function un(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function dn(e){return e?e.toLowerCase().replace("_","-"):e}function pn(e){for(var t,n,r,o,i=0;i<e.length;){for(t=(o=dn(e[i]).split("-")).length,n=(n=dn(e[i+1]))?n.split("-"):null;t>0;){if(r=hn(o.slice(0,t).join("-")))return r;if(n&&n.length>=t&&un(o,n)>=t-1)break;t--}i++}return an}function fn(e){return null!=e.match("^[^/\\\\]*$")}function hn(t){var n=null;if(void 0===ln[t]&&e&&e.exports&&fn(t))try{n=an._abbr,Object(function(){var e=new Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}()),bn(n)}catch(r){ln[t]=null}return ln[t]}function bn(e,t){var n;return e&&((n=c(t)?gn(e):An(e,t))?an=n:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),an._abbr}function An(e,t){if(null!==t){var n,r=sn;if(t.abbr=e,null!=ln[e])S("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=ln[e]._config;else if(null!=t.parentLocale)if(null!=ln[t.parentLocale])r=ln[t.parentLocale]._config;else{if(null==(n=hn(t.parentLocale)))return cn[t.parentLocale]||(cn[t.parentLocale]=[]),cn[t.parentLocale].push({name:e,config:t}),null;r=n._config}return ln[e]=new N(D(r,t)),cn[e]&&cn[e].forEach((function(e){An(e.name,e.config)})),bn(e),ln[e]}return delete ln[e],null}function mn(e,t){if(null!=t){var n,r,o=sn;null!=ln[e]&&null!=ln[e].parentLocale?ln[e].set(D(ln[e]._config,t)):(null!=(r=hn(e))&&(o=r._config),t=D(o,t),null==r&&(t.abbr=e),(n=new N(t)).parentLocale=ln[e],ln[e]=n),bn(e)}else null!=ln[e]&&(null!=ln[e].parentLocale?(ln[e]=ln[e].parentLocale,e===bn()&&bn(e)):null!=ln[e]&&delete ln[e]);return ln[e]}function gn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return an;if(!i(e)){if(t=hn(e))return t;e=[e]}return pn(e)}function vn(){return w(ln)}function yn(e){var t,n=e._a;return n&&-2===A(e).overflow&&(t=n[Ze]<0||n[Ze]>11?Ze:n[He]<1||n[He]>Je(n[Ue],n[Ze])?He:n[$e]<0||n[$e]>24||24===n[$e]&&(0!==n[Ve]||0!==n[Xe]||0!==n[Qe])?$e:n[Ve]<0||n[Ve]>59?Ve:n[Xe]<0||n[Xe]>59?Xe:n[Qe]<0||n[Qe]>999?Qe:-1,A(e)._overflowDayOfYear&&(t<Ue||t>He)&&(t=He),A(e)._overflowWeeks&&-1===t&&(t=Ye),A(e)._overflowWeekday&&-1===t&&(t=Ge),A(e).overflow=t),e}var Mn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,On=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,_n=/Z|[+-]\d\d(?::?\d\d)?/,zn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],xn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],wn=/^\/?Date\((-?\d+)/i,Cn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Sn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function En(e){var t,n,r,o,i,a,s=e._i,l=Mn.exec(s)||On.exec(s),c=zn.length,u=xn.length;if(l){for(A(e).iso=!0,t=0,n=c;t<n;t++)if(zn[t][1].exec(l[1])){o=zn[t][0],r=!1!==zn[t][2];break}if(null==o)return void(e._isValid=!1);if(l[3]){for(t=0,n=u;t<n;t++)if(xn[t][1].exec(l[3])){i=(l[2]||" ")+xn[t][0];break}if(null==i)return void(e._isValid=!1)}if(!r&&null!=i)return void(e._isValid=!1);if(l[4]){if(!_n.exec(l[4]))return void(e._isValid=!1);a="Z"}e._f=o+(i||"")+(a||""),Wn(e)}else e._isValid=!1}function kn(e,t,n,r,o,i){var a=[Dn(e),tt.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(o,10)];return i&&a.push(parseInt(i,10)),a}function Dn(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Nn(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Tn(e,t,n){return!e||jt.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(A(n).weekdayMismatch=!0,n._isValid=!1,!1)}function jn(e,t,n){if(e)return Sn[e];if(t)return 0;var r=parseInt(n,10),o=r%100;return(r-o)/100*60+o}function Bn(e){var t,n=Cn.exec(Nn(e._i));if(n){if(t=kn(n[4],n[3],n[2],n[5],n[6],n[7]),!Tn(n[1],t,e))return;e._a=t,e._tzm=jn(n[8],n[9],n[10]),e._d=vt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),A(e).rfc2822=!0}else e._isValid=!1}function Ln(e){var t=wn.exec(e._i);null===t?(En(e),!1===e._isValid&&(delete e._isValid,Bn(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:r.createFromInputFallback(e)))):e._d=new Date(+t[1])}function Rn(e,t,n){return null!=e?e:null!=t?t:n}function qn(e){var t=new Date(r.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Pn(e){var t,n,r,o,i,a=[];if(!e._d){for(r=qn(e),e._w&&null==e._a[He]&&null==e._a[Ze]&&In(e),null!=e._dayOfYear&&(i=Rn(e._a[Ue],r[Ue]),(e._dayOfYear>bt(i)||0===e._dayOfYear)&&(A(e)._overflowDayOfYear=!0),n=vt(i,0,e._dayOfYear),e._a[Ze]=n.getUTCMonth(),e._a[He]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=r[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[$e]&&0===e._a[Ve]&&0===e._a[Xe]&&0===e._a[Qe]&&(e._nextDay=!0,e._a[$e]=0),e._d=(e._useUTC?vt:gt).apply(null,a),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[$e]=24),e._w&&"undefined"!==typeof e._w.d&&e._w.d!==o&&(A(e).weekdayMismatch=!0)}}function In(e){var t,n,r,o,i,a,s,l,c;null!=(t=e._w).GG||null!=t.W||null!=t.E?(i=1,a=4,n=Rn(t.GG,e._a[Ue],Ot(Qn(),1,4).year),r=Rn(t.W,1),((o=Rn(t.E,1))<1||o>7)&&(l=!0)):(i=e._locale._week.dow,a=e._locale._week.doy,c=Ot(Qn(),i,a),n=Rn(t.gg,e._a[Ue],c.year),r=Rn(t.w,c.week),null!=t.d?((o=t.d)<0||o>6)&&(l=!0):null!=t.e?(o=t.e+i,(t.e<0||t.e>6)&&(l=!0)):o=i),r<1||r>_t(n,i,a)?A(e)._overflowWeeks=!0:null!=l?A(e)._overflowWeekday=!0:(s=Mt(n,r,o,i,a),e._a[Ue]=s.year,e._dayOfYear=s.dayOfYear)}function Wn(e){if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],A(e).empty=!0;var t,n,o,i,a,s,l,c=""+e._i,u=c.length,d=0;for(l=(o=Z(e._f,e._locale).match(L)||[]).length,t=0;t<l;t++)i=o[t],(n=(c.match(Be(i,e))||[])[0])&&((a=c.substr(0,c.indexOf(n))).length>0&&A(e).unusedInput.push(a),c=c.slice(c.indexOf(n)+n.length),d+=n.length),P[i]?(n?A(e).empty=!1:A(e).unusedTokens.push(i),We(i,n,e)):e._strict&&!n&&A(e).unusedTokens.push(i);A(e).charsLeftOver=u-d,c.length>0&&A(e).unusedInput.push(c),e._a[$e]<=12&&!0===A(e).bigHour&&e._a[$e]>0&&(A(e).bigHour=void 0),A(e).parsedDateParts=e._a.slice(0),A(e).meridiem=e._meridiem,e._a[$e]=Fn(e._locale,e._a[$e],e._meridiem),null!==(s=A(e).era)&&(e._a[Ue]=e._locale.erasConvertYear(s,e._a[Ue])),Pn(e),yn(e)}else Bn(e);else En(e)}function Fn(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function Un(e){var t,n,r,o,i,a,s=!1,l=e._f.length;if(0===l)return A(e).invalidFormat=!0,void(e._d=new Date(NaN));for(o=0;o<l;o++)i=0,a=!1,t=M({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[o],Wn(t),m(t)&&(a=!0),i+=A(t).charsLeftOver,i+=10*A(t).unusedTokens.length,A(t).score=i,s?i<r&&(r=i,n=t):(null==r||i<r||a)&&(r=i,n=t,a&&(s=!0));f(e,n||t)}function Zn(e){if(!e._d){var t=oe(e._i),n=void 0===t.day?t.date:t.day;e._a=p([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Pn(e)}}function Hn(e){var t=new O(yn($n(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function $n(e){var t=e._i,n=e._f;return e._locale=e._locale||gn(e._l),null===t||void 0===n&&""===t?g({nullInput:!0}):("string"===typeof t&&(e._i=t=e._locale.preparse(t)),_(t)?new O(yn(t)):(d(t)?e._d=t:i(n)?Un(e):n?Wn(e):Vn(e),m(e)||(e._d=null),e))}function Vn(e){var t=e._i;c(t)?e._d=new Date(r.now()):d(t)?e._d=new Date(t.valueOf()):"string"===typeof t?Ln(e):i(t)?(e._a=p(t.slice(0),(function(e){return parseInt(e,10)})),Pn(e)):a(t)?Zn(e):u(t)?e._d=new Date(t):r.createFromInputFallback(e)}function Xn(e,t,n,r,o){var s={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(a(e)&&l(e)||i(e)&&0===e.length)&&(e=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=o,s._l=n,s._i=e,s._f=t,s._strict=r,Hn(s)}function Qn(e,t,n,r){return Xn(e,t,n,r,!1)}r.createFromInputFallback=x("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),r.ISO_8601=function(){},r.RFC_2822=function(){};var Yn=x("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Qn.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:g()})),Gn=x("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Qn.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:g()}));function Kn(e,t){var n,r;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return Qn();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}function Jn(){return Kn("isBefore",[].slice.call(arguments,0))}function er(){return Kn("isAfter",[].slice.call(arguments,0))}var tr=function(){return Date.now?Date.now():+new Date},nr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function rr(e){var t,n,r=!1,o=nr.length;for(t in e)if(s(e,t)&&(-1===Fe.call(nr,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<o;++n)if(e[nr[n]]){if(r)return!1;parseFloat(e[nr[n]])!==ue(e[nr[n]])&&(r=!0)}return!0}function or(){return this._isValid}function ir(){return Sr(NaN)}function ar(e){var t=oe(e),n=t.year||0,r=t.quarter||0,o=t.month||0,i=t.week||t.isoWeek||0,a=t.day||0,s=t.hour||0,l=t.minute||0,c=t.second||0,u=t.millisecond||0;this._isValid=rr(t),this._milliseconds=+u+1e3*c+6e4*l+1e3*s*60*60,this._days=+a+7*i,this._months=+o+3*r+12*n,this._data={},this._locale=gn(),this._bubble()}function sr(e){return e instanceof ar}function lr(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function cr(e,t,n){var r,o=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0;for(r=0;r<o;r++)(n&&e[r]!==t[r]||!n&&ue(e[r])!==ue(t[r]))&&a++;return a+i}function ur(e,t){I(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+B(~~(e/60),2)+t+B(~~e%60,2)}))}ur("Z",":"),ur("ZZ",""),je("Z",De),je("ZZ",De),Pe(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=pr(De,e)}));var dr=/([\+\-]|\d\d)/gi;function pr(e,t){var n,r,o=(t||"").match(e);return null===o?null:0===(r=60*(n=((o[o.length-1]||[])+"").match(dr)||["-",0,0])[1]+ue(n[2]))?0:"+"===n[0]?r:-r}function fr(e,t){var n,o;return t._isUTC?(n=t.clone(),o=(_(e)||d(e)?e.valueOf():Qn(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+o),r.updateOffset(n,!1),n):Qn(e).local()}function hr(e){return-Math.round(e._d.getTimezoneOffset())}function br(e,t,n){var o,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"===typeof e){if(null===(e=pr(De,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(o=hr(this)),this._offset=e,this._isUTC=!0,null!=o&&this.add(o,"m"),i!==e&&(!t||this._changeInProgress?Tr(this,Sr(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:hr(this)}function Ar(e,t){return null!=e?("string"!==typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function mr(e){return this.utcOffset(0,e)}function gr(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(hr(this),"m")),this}function vr(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"===typeof this._i){var e=pr(ke,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function yr(e){return!!this.isValid()&&(e=e?Qn(e).utcOffset():0,(this.utcOffset()-e)%60===0)}function Mr(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Or(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return M(t,this),(t=$n(t))._a?(e=t._isUTC?h(t._a):Qn(t._a),this._isDSTShifted=this.isValid()&&cr(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function _r(){return!!this.isValid()&&!this._isUTC}function zr(){return!!this.isValid()&&this._isUTC}function xr(){return!!this.isValid()&&this._isUTC&&0===this._offset}r.updateOffset=function(){};var wr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Cr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Sr(e,t){var n,r,o,i=e,a=null;return sr(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(a=wr.exec(e))?(n="-"===a[1]?-1:1,i={y:0,d:ue(a[He])*n,h:ue(a[$e])*n,m:ue(a[Ve])*n,s:ue(a[Xe])*n,ms:ue(lr(1e3*a[Qe]))*n}):(a=Cr.exec(e))?(n="-"===a[1]?-1:1,i={y:Er(a[2],n),M:Er(a[3],n),w:Er(a[4],n),d:Er(a[5],n),h:Er(a[6],n),m:Er(a[7],n),s:Er(a[8],n)}):null==i?i={}:"object"===typeof i&&("from"in i||"to"in i)&&(o=Dr(Qn(i.from),Qn(i.to)),(i={}).ms=o.milliseconds,i.M=o.months),r=new ar(i),sr(e)&&s(e,"_locale")&&(r._locale=e._locale),sr(e)&&s(e,"_isValid")&&(r._isValid=e._isValid),r}function Er(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function kr(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Dr(e,t){var n;return e.isValid()&&t.isValid()?(t=fr(t,e),e.isBefore(t)?n=kr(e,t):((n=kr(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Nr(e,t){return function(n,r){var o;return null===r||isNaN(+r)||(S(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),Tr(this,Sr(n,r),e),this}}function Tr(e,t,n,o){var i=t._milliseconds,a=lr(t._days),s=lr(t._months);e.isValid()&&(o=null==o||o,s&&ct(e,pe(e,"Month")+s*n),a&&fe(e,"Date",pe(e,"Date")+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),o&&r.updateOffset(e,a||s))}Sr.fn=ar.prototype,Sr.invalid=ir;var jr=Nr(1,"add"),Br=Nr(-1,"subtract");function Lr(e){return"string"===typeof e||e instanceof String}function Rr(e){return _(e)||d(e)||Lr(e)||u(e)||Pr(e)||qr(e)||null===e||void 0===e}function qr(e){var t,n,r=a(e)&&!l(e),o=!1,i=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],c=i.length;for(t=0;t<c;t+=1)n=i[t],o=o||s(e,n);return r&&o}function Pr(e){var t=i(e),n=!1;return t&&(n=0===e.filter((function(t){return!u(t)&&Lr(e)})).length),t&&n}function Ir(e){var t,n,r=a(e)&&!l(e),o=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<i.length;t+=1)n=i[t],o=o||s(e,n);return r&&o}function Wr(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Fr(e,t){1===arguments.length&&(arguments[0]?Rr(arguments[0])?(e=arguments[0],t=void 0):Ir(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||Qn(),o=fr(n,this).startOf("day"),i=r.calendarFormat(this,o)||"sameElse",a=t&&(E(t[i])?t[i].call(this,n):t[i]);return this.format(a||this.localeData().calendar(i,this,Qn(n)))}function Ur(){return new O(this)}function Zr(e,t){var n=_(e)?e:Qn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Hr(e,t){var n=_(e)?e:Qn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function $r(e,t,n,r){var o=_(e)?e:Qn(e),i=_(t)?t:Qn(t);return!!(this.isValid()&&o.isValid()&&i.isValid())&&("("===(r=r||"()")[0]?this.isAfter(o,n):!this.isBefore(o,n))&&(")"===r[1]?this.isBefore(i,n):!this.isAfter(i,n))}function Vr(e,t){var n,r=_(e)?e:Qn(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function Xr(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Qr(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Yr(e,t,n){var r,o,i;if(!this.isValid())return NaN;if(!(r=fr(e,this)).isValid())return NaN;switch(o=6e4*(r.utcOffset()-this.utcOffset()),t=re(t)){case"year":i=Gr(this,r)/12;break;case"month":i=Gr(this,r);break;case"quarter":i=Gr(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-o)/864e5;break;case"week":i=(this-r-o)/6048e5;break;default:i=this-r}return n?i:ce(i)}function Gr(e,t){if(e.date()<t.date())return-Gr(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(n+1,"months")-r)))||0}function Kr(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Jr(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?U(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):E(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",U(n,"Z")):U(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function eo(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r,o="moment",i="";return this.isLocal()||(o=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),e="["+o+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",r=i+'[")]',this.format(e+t+n+r)}function to(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=U(this,e);return this.localeData().postformat(t)}function no(e,t){return this.isValid()&&(_(e)&&e.isValid()||Qn(e).isValid())?Sr({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ro(e){return this.from(Qn(),e)}function oo(e,t){return this.isValid()&&(_(e)&&e.isValid()||Qn(e).isValid())?Sr({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function io(e){return this.to(Qn(),e)}function ao(e){var t;return void 0===e?this._locale._abbr:(null!=(t=gn(e))&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var so=x("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function lo(){return this._locale}var co=1e3,uo=60*co,po=60*uo,fo=3506328*po;function ho(e,t){return(e%t+t)%t}function bo(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-fo:new Date(e,t,n).valueOf()}function Ao(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-fo:Date.UTC(e,t,n)}function mo(e){var t,n;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?Ao:bo,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=ho(t+(this._isUTC?0:this.utcOffset()*uo),po);break;case"minute":t=this._d.valueOf(),t-=ho(t,uo);break;case"second":t=this._d.valueOf(),t-=ho(t,co)}return this._d.setTime(t),r.updateOffset(this,!0),this}function go(e){var t,n;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?Ao:bo,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=po-ho(t+(this._isUTC?0:this.utcOffset()*uo),po)-1;break;case"minute":t=this._d.valueOf(),t+=uo-ho(t,uo)-1;break;case"second":t=this._d.valueOf(),t+=co-ho(t,co)-1}return this._d.setTime(t),r.updateOffset(this,!0),this}function vo(){return this._d.valueOf()-6e4*(this._offset||0)}function yo(){return Math.floor(this.valueOf()/1e3)}function Mo(){return new Date(this.valueOf())}function Oo(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function _o(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function zo(){return this.isValid()?this.toISOString():null}function xo(){return m(this)}function wo(){return f({},A(this))}function Co(){return A(this).overflow}function So(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Eo(e,t){var n,o,i,a=this._eras||gn("en")._eras;for(n=0,o=a.length;n<o;++n)switch("string"===typeof a[n].since&&(i=r(a[n].since).startOf("day"),a[n].since=i.valueOf()),typeof a[n].until){case"undefined":a[n].until=1/0;break;case"string":i=r(a[n].until).startOf("day").valueOf(),a[n].until=i.valueOf()}return a}function ko(e,t,n){var r,o,i,a,s,l=this.eras();for(e=e.toUpperCase(),r=0,o=l.length;r<o;++r)if(i=l[r].name.toUpperCase(),a=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(a===e)return l[r];break;case"NNNN":if(i===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if([i,a,s].indexOf(e)>=0)return l[r]}function Do(e,t){var n=e.since<=e.until?1:-1;return void 0===t?r(e.since).year():r(e.since).year()+(t-e.offset)*n}function No(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""}function To(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""}function jo(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""}function Bo(){var e,t,n,o,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(n=i[e].since<=i[e].until?1:-1,o=this.clone().startOf("day").valueOf(),i[e].since<=o&&o<=i[e].until||i[e].until<=o&&o<=i[e].since)return(this.year()-r(i[e].since).year())*n+i[e].offset;return this.year()}function Lo(e){return s(this,"_erasNameRegex")||Uo.call(this),e?this._erasNameRegex:this._erasRegex}function Ro(e){return s(this,"_erasAbbrRegex")||Uo.call(this),e?this._erasAbbrRegex:this._erasRegex}function qo(e){return s(this,"_erasNarrowRegex")||Uo.call(this),e?this._erasNarrowRegex:this._erasRegex}function Po(e,t){return t.erasAbbrRegex(e)}function Io(e,t){return t.erasNameRegex(e)}function Wo(e,t){return t.erasNarrowRegex(e)}function Fo(e,t){return t._eraYearOrdinalRegex||Se}function Uo(){var e,t,n=[],r=[],o=[],i=[],a=this.eras();for(e=0,t=a.length;e<t;++e)r.push(Re(a[e].name)),n.push(Re(a[e].abbr)),o.push(Re(a[e].narrow)),i.push(Re(a[e].name)),i.push(Re(a[e].abbr)),i.push(Re(a[e].narrow));this._erasRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+o.join("|")+")","i")}function Zo(e,t){I(0,[e,e.length],0,t)}function Ho(e){return Go.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function $o(e){return Go.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Vo(){return _t(this.year(),1,4)}function Xo(){return _t(this.isoWeekYear(),1,4)}function Qo(){var e=this.localeData()._week;return _t(this.year(),e.dow,e.doy)}function Yo(){var e=this.localeData()._week;return _t(this.weekYear(),e.dow,e.doy)}function Go(e,t,n,r,o){var i;return null==e?Ot(this,r,o).year:(t>(i=_t(e,r,o))&&(t=i),Ko.call(this,e,t,n,r,o))}function Ko(e,t,n,r,o){var i=Mt(e,t,n,r,o),a=vt(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Jo(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}I("N",0,0,"eraAbbr"),I("NN",0,0,"eraAbbr"),I("NNN",0,0,"eraAbbr"),I("NNNN",0,0,"eraName"),I("NNNNN",0,0,"eraNarrow"),I("y",["y",1],"yo","eraYear"),I("y",["yy",2],0,"eraYear"),I("y",["yyy",3],0,"eraYear"),I("y",["yyyy",4],0,"eraYear"),je("N",Po),je("NN",Po),je("NNN",Po),je("NNNN",Io),je("NNNNN",Wo),Pe(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var o=n._locale.erasParse(e,r,n._strict);o?A(n).era=o:A(n).invalidEra=e})),je("y",Se),je("yy",Se),je("yyy",Se),je("yyyy",Se),je("yo",Fo),Pe(["y","yy","yyy","yyyy"],Ue),Pe(["yo"],(function(e,t,n,r){var o;n._locale._eraYearOrdinalRegex&&(o=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Ue]=n._locale.eraYearOrdinalParse(e,o):t[Ue]=parseInt(e,10)})),I(0,["gg",2],0,(function(){return this.weekYear()%100})),I(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Zo("gggg","weekYear"),Zo("ggggg","weekYear"),Zo("GGGG","isoWeekYear"),Zo("GGGGG","isoWeekYear"),ne("weekYear","gg"),ne("isoWeekYear","GG"),ae("weekYear",1),ae("isoWeekYear",1),je("G",Ee),je("g",Ee),je("GG",Oe,ge),je("gg",Oe,ge),je("GGGG",we,ye),je("gggg",we,ye),je("GGGGG",Ce,Me),je("ggggg",Ce,Me),Ie(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=ue(e)})),Ie(["gg","GG"],(function(e,t,n,o){t[o]=r.parseTwoDigitYear(e)})),I("Q",0,"Qo","quarter"),ne("quarter","Q"),ae("quarter",7),je("Q",me),Pe("Q",(function(e,t){t[Ze]=3*(ue(e)-1)})),I("D",["DD",2],"Do","date"),ne("date","D"),ae("date",9),je("D",Oe),je("DD",Oe,ge),je("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Pe(["D","DD"],He),Pe("Do",(function(e,t){t[He]=ue(e.match(Oe)[0])}));var ei=de("Date",!0);function ti(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}I("DDD",["DDDD",3],"DDDo","dayOfYear"),ne("dayOfYear","DDD"),ae("dayOfYear",4),je("DDD",xe),je("DDDD",ve),Pe(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=ue(e)})),I("m",["mm",2],0,"minute"),ne("minute","m"),ae("minute",14),je("m",Oe),je("mm",Oe,ge),Pe(["m","mm"],Ve);var ni=de("Minutes",!1);I("s",["ss",2],0,"second"),ne("second","s"),ae("second",15),je("s",Oe),je("ss",Oe,ge),Pe(["s","ss"],Xe);var ri,oi,ii=de("Seconds",!1);for(I("S",0,0,(function(){return~~(this.millisecond()/100)})),I(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),I(0,["SSS",3],0,"millisecond"),I(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),I(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),I(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),I(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),I(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),I(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),ne("millisecond","ms"),ae("millisecond",16),je("S",xe,me),je("SS",xe,ge),je("SSS",xe,ve),ri="SSSS";ri.length<=9;ri+="S")je(ri,Se);function ai(e,t){t[Qe]=ue(1e3*("0."+e))}for(ri="S";ri.length<=9;ri+="S")Pe(ri,ai);function si(){return this._isUTC?"UTC":""}function li(){return this._isUTC?"Coordinated Universal Time":""}oi=de("Milliseconds",!1),I("z",0,0,"zoneAbbr"),I("zz",0,0,"zoneName");var ci=O.prototype;function ui(e){return Qn(1e3*e)}function di(){return Qn.apply(null,arguments).parseZone()}function pi(e){return e}ci.add=jr,ci.calendar=Fr,ci.clone=Ur,ci.diff=Yr,ci.endOf=go,ci.format=to,ci.from=no,ci.fromNow=ro,ci.to=oo,ci.toNow=io,ci.get=he,ci.invalidAt=Co,ci.isAfter=Zr,ci.isBefore=Hr,ci.isBetween=$r,ci.isSame=Vr,ci.isSameOrAfter=Xr,ci.isSameOrBefore=Qr,ci.isValid=xo,ci.lang=so,ci.locale=ao,ci.localeData=lo,ci.max=Gn,ci.min=Yn,ci.parsingFlags=wo,ci.set=be,ci.startOf=mo,ci.subtract=Br,ci.toArray=Oo,ci.toObject=_o,ci.toDate=Mo,ci.toISOString=Jr,ci.inspect=eo,"undefined"!==typeof Symbol&&null!=Symbol.for&&(ci[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ci.toJSON=zo,ci.toString=Kr,ci.unix=yo,ci.valueOf=vo,ci.creationData=So,ci.eraName=No,ci.eraNarrow=To,ci.eraAbbr=jo,ci.eraYear=Bo,ci.year=At,ci.isLeapYear=mt,ci.weekYear=Ho,ci.isoWeekYear=$o,ci.quarter=ci.quarters=Jo,ci.month=ut,ci.daysInMonth=dt,ci.week=ci.weeks=St,ci.isoWeek=ci.isoWeeks=Et,ci.weeksInYear=Qo,ci.weeksInWeekYear=Yo,ci.isoWeeksInYear=Vo,ci.isoWeeksInISOWeekYear=Xo,ci.date=ei,ci.day=ci.days=Zt,ci.weekday=Ht,ci.isoWeekday=$t,ci.dayOfYear=ti,ci.hour=ci.hours=rn,ci.minute=ci.minutes=ni,ci.second=ci.seconds=ii,ci.millisecond=ci.milliseconds=oi,ci.utcOffset=br,ci.utc=mr,ci.local=gr,ci.parseZone=vr,ci.hasAlignedHourOffset=yr,ci.isDST=Mr,ci.isLocal=_r,ci.isUtcOffset=zr,ci.isUtc=xr,ci.isUTC=xr,ci.zoneAbbr=si,ci.zoneName=li,ci.dates=x("dates accessor is deprecated. Use date instead.",ei),ci.months=x("months accessor is deprecated. Use month instead",ut),ci.years=x("years accessor is deprecated. Use year instead",At),ci.zone=x("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Ar),ci.isDSTShifted=x("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Or);var fi=N.prototype;function hi(e,t,n,r){var o=gn(),i=h().set(r,t);return o[n](i,e)}function bi(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return hi(e,t,n,"month");var r,o=[];for(r=0;r<12;r++)o[r]=hi(e,r,n,"month");return o}function Ai(e,t,n,r){"boolean"===typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var o,i=gn(),a=e?i._week.dow:0,s=[];if(null!=n)return hi(t,(n+a)%7,r,"day");for(o=0;o<7;o++)s[o]=hi(t,(o+a)%7,r,"day");return s}function mi(e,t){return bi(e,t,"months")}function gi(e,t){return bi(e,t,"monthsShort")}function vi(e,t,n){return Ai(e,t,n,"weekdays")}function yi(e,t,n){return Ai(e,t,n,"weekdaysShort")}function Mi(e,t,n){return Ai(e,t,n,"weekdaysMin")}fi.calendar=j,fi.longDateFormat=$,fi.invalidDate=X,fi.ordinal=G,fi.preparse=pi,fi.postformat=pi,fi.relativeTime=J,fi.pastFuture=ee,fi.set=k,fi.eras=Eo,fi.erasParse=ko,fi.erasConvertYear=Do,fi.erasAbbrRegex=Ro,fi.erasNameRegex=Lo,fi.erasNarrowRegex=qo,fi.months=it,fi.monthsShort=at,fi.monthsParse=lt,fi.monthsRegex=ft,fi.monthsShortRegex=pt,fi.week=zt,fi.firstDayOfYear=Ct,fi.firstDayOfWeek=wt,fi.weekdays=Pt,fi.weekdaysMin=Wt,fi.weekdaysShort=It,fi.weekdaysParse=Ut,fi.weekdaysRegex=Vt,fi.weekdaysShortRegex=Xt,fi.weekdaysMinRegex=Qt,fi.isPM=tn,fi.meridiem=on,bn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===ue(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=x("moment.lang is deprecated. Use moment.locale instead.",bn),r.langData=x("moment.langData is deprecated. Use moment.localeData instead.",gn);var Oi=Math.abs;function _i(){var e=this._data;return this._milliseconds=Oi(this._milliseconds),this._days=Oi(this._days),this._months=Oi(this._months),e.milliseconds=Oi(e.milliseconds),e.seconds=Oi(e.seconds),e.minutes=Oi(e.minutes),e.hours=Oi(e.hours),e.months=Oi(e.months),e.years=Oi(e.years),this}function zi(e,t,n,r){var o=Sr(t,n);return e._milliseconds+=r*o._milliseconds,e._days+=r*o._days,e._months+=r*o._months,e._bubble()}function xi(e,t){return zi(this,e,t,1)}function wi(e,t){return zi(this,e,t,-1)}function Ci(e){return e<0?Math.floor(e):Math.ceil(e)}function Si(){var e,t,n,r,o,i=this._milliseconds,a=this._days,s=this._months,l=this._data;return i>=0&&a>=0&&s>=0||i<=0&&a<=0&&s<=0||(i+=864e5*Ci(ki(s)+a),a=0,s=0),l.milliseconds=i%1e3,e=ce(i/1e3),l.seconds=e%60,t=ce(e/60),l.minutes=t%60,n=ce(t/60),l.hours=n%24,a+=ce(n/24),s+=o=ce(Ei(a)),a-=Ci(ki(o)),r=ce(s/12),s%=12,l.days=a,l.months=s,l.years=r,this}function Ei(e){return 4800*e/146097}function ki(e){return 146097*e/4800}function Di(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=re(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+Ei(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(ki(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function Ni(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ue(this._months/12):NaN}function Ti(e){return function(){return this.as(e)}}var ji=Ti("ms"),Bi=Ti("s"),Li=Ti("m"),Ri=Ti("h"),qi=Ti("d"),Pi=Ti("w"),Ii=Ti("M"),Wi=Ti("Q"),Fi=Ti("y");function Ui(){return Sr(this)}function Zi(e){return e=re(e),this.isValid()?this[e+"s"]():NaN}function Hi(e){return function(){return this.isValid()?this._data[e]:NaN}}var $i=Hi("milliseconds"),Vi=Hi("seconds"),Xi=Hi("minutes"),Qi=Hi("hours"),Yi=Hi("days"),Gi=Hi("months"),Ki=Hi("years");function Ji(){return ce(this.days()/7)}var ea=Math.round,ta={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function na(e,t,n,r,o){return o.relativeTime(t||1,!!n,e,r)}function ra(e,t,n,r){var o=Sr(e).abs(),i=ea(o.as("s")),a=ea(o.as("m")),s=ea(o.as("h")),l=ea(o.as("d")),c=ea(o.as("M")),u=ea(o.as("w")),d=ea(o.as("y")),p=i<=n.ss&&["s",i]||i<n.s&&["ss",i]||a<=1&&["m"]||a<n.m&&["mm",a]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(p=p||u<=1&&["w"]||u<n.w&&["ww",u]),(p=p||c<=1&&["M"]||c<n.M&&["MM",c]||d<=1&&["y"]||["yy",d])[2]=t,p[3]=+e>0,p[4]=r,na.apply(null,p)}function oa(e){return void 0===e?ea:"function"===typeof e&&(ea=e,!0)}function ia(e,t){return void 0!==ta[e]&&(void 0===t?ta[e]:(ta[e]=t,"s"===e&&(ta.ss=t-1),!0))}function aa(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,o=!1,i=ta;return"object"===typeof e&&(t=e,e=!1),"boolean"===typeof e&&(o=e),"object"===typeof t&&(i=Object.assign({},ta,t),null!=t.s&&null==t.ss&&(i.ss=t.s-1)),r=ra(this,!o,i,n=this.localeData()),o&&(r=n.pastFuture(+this,r)),n.postformat(r)}var sa=Math.abs;function la(e){return(e>0)-(e<0)||+e}function ca(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,o,i,a,s,l=sa(this._milliseconds)/1e3,c=sa(this._days),u=sa(this._months),d=this.asSeconds();return d?(e=ce(l/60),t=ce(e/60),l%=60,e%=60,n=ce(u/12),u%=12,r=l?l.toFixed(3).replace(/\.?0+$/,""):"",o=d<0?"-":"",i=la(this._months)!==la(d)?"-":"",a=la(this._days)!==la(d)?"-":"",s=la(this._milliseconds)!==la(d)?"-":"",o+"P"+(n?i+n+"Y":"")+(u?i+u+"M":"")+(c?a+c+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+r+"S":"")):"P0D"}var ua=ar.prototype;return ua.isValid=or,ua.abs=_i,ua.add=xi,ua.subtract=wi,ua.as=Di,ua.asMilliseconds=ji,ua.asSeconds=Bi,ua.asMinutes=Li,ua.asHours=Ri,ua.asDays=qi,ua.asWeeks=Pi,ua.asMonths=Ii,ua.asQuarters=Wi,ua.asYears=Fi,ua.valueOf=Ni,ua._bubble=Si,ua.clone=Ui,ua.get=Zi,ua.milliseconds=$i,ua.seconds=Vi,ua.minutes=Xi,ua.hours=Qi,ua.days=Yi,ua.weeks=Ji,ua.months=Gi,ua.years=Ki,ua.humanize=aa,ua.toISOString=ca,ua.toString=ca,ua.toJSON=ca,ua.locale=ao,ua.localeData=lo,ua.toIsoString=x("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ca),ua.lang=so,I("X",0,0,"unix"),I("x",0,0,"valueOf"),je("x",Ee),je("X",Ne),Pe("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),Pe("x",(function(e,t,n){n._d=new Date(ue(e))})),r.version="2.29.4",o(Qn),r.fn=ci,r.min=Jn,r.max=er,r.now=tr,r.utc=h,r.unix=ui,r.months=mi,r.isDate=d,r.locale=bn,r.invalid=g,r.duration=Sr,r.isMoment=_,r.weekdays=vi,r.parseZone=di,r.localeData=gn,r.isDuration=sr,r.monthsShort=gi,r.weekdaysMin=Mi,r.defineLocale=An,r.updateLocale=mn,r.locales=vn,r.weekdaysShort=yi,r.normalizeUnits=re,r.relativeTimeRounding=oa,r.relativeTimeThreshold=ia,r.calendarFormat=Wr,r.prototype=ci,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},r}()},71843:function(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(o){return!1}}()?Object.assign:function(e,o){for(var i,a,s=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){for(var c in i=Object(arguments[l]))n.call(i,c)&&(s[c]=i[c]);if(t){a=t(i);for(var u=0;u<a.length;u++)r.call(i,a[u])&&(s[a[u]]=i[a[u]])}}return s}},73154:function(e,t,n){var r="function"===typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=r&&o&&"function"===typeof o.get?o.get:null,a=r&&Map.prototype.forEach,s="function"===typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=s&&l&&"function"===typeof l.get?l.get:null,u=s&&Set.prototype.forEach,d="function"===typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,p="function"===typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,f="function"===typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,b=Object.prototype.toString,A=Function.prototype.toString,m=String.prototype.match,g=String.prototype.slice,v=String.prototype.replace,y=String.prototype.toUpperCase,M=String.prototype.toLowerCase,O=RegExp.prototype.test,_=Array.prototype.concat,z=Array.prototype.join,x=Array.prototype.slice,w=Math.floor,C="function"===typeof BigInt?BigInt.prototype.valueOf:null,S=Object.getOwnPropertySymbols,E="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?Symbol.prototype.toString:null,k="function"===typeof Symbol&&"object"===typeof Symbol.iterator,D="function"===typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===k||"symbol")?Symbol.toStringTag:null,N=Object.prototype.propertyIsEnumerable,T=("function"===typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function j(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||O.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"===typeof e){var r=e<0?-w(-e):w(e);if(r!==e){var o=String(r),i=g.call(t,o.length+1);return v.call(o,n,"$&_")+"."+v.call(v.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return v.call(t,n,"$&_")}var B=n(24654),L=B.custom,R=F(L)?L:null;function q(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function P(e){return v.call(String(e),/"/g,"&quot;")}function I(e){return"[object Array]"===H(e)&&(!D||!("object"===typeof e&&D in e))}function W(e){return"[object RegExp]"===H(e)&&(!D||!("object"===typeof e&&D in e))}function F(e){if(k)return e&&"object"===typeof e&&e instanceof Symbol;if("symbol"===typeof e)return!0;if(!e||"object"!==typeof e||!E)return!1;try{return E.call(e),!0}catch(t){}return!1}e.exports=function e(t,n,r,o){var s=n||{};if(Z(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Z(s,"maxStringLength")&&("number"===typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var l=!Z(s,"customInspect")||s.customInspect;if("boolean"!==typeof l&&"symbol"!==l)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Z(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Z(s,"numericSeparator")&&"boolean"!==typeof s.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var b=s.numericSeparator;if("undefined"===typeof t)return"undefined";if(null===t)return"null";if("boolean"===typeof t)return t?"true":"false";if("string"===typeof t)return V(t,s);if("number"===typeof t){if(0===t)return 1/0/t>0?"0":"-0";var y=String(t);return b?j(t,y):y}if("bigint"===typeof t){var O=String(t)+"n";return b?j(t,O):O}var w="undefined"===typeof s.depth?5:s.depth;if("undefined"===typeof r&&(r=0),r>=w&&w>0&&"object"===typeof t)return I(t)?"[Array]":"[Object]";var S=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"===typeof e.indent&&e.indent>0))return null;n=z.call(Array(e.indent+1)," ")}return{base:n,prev:z.call(Array(t+1),n)}}(s,r);if("undefined"===typeof o)o=[];else if($(o,t)>=0)return"[Circular]";function L(t,n,i){if(n&&(o=x.call(o)).push(n),i){var a={depth:s.depth};return Z(s,"quoteStyle")&&(a.quoteStyle=s.quoteStyle),e(t,a,r+1,o)}return e(t,s,r+1,o)}if("function"===typeof t&&!W(t)){var U=function(e){if(e.name)return e.name;var t=m.call(A.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),X=J(t,L);return"[Function"+(U?": "+U:" (anonymous)")+"]"+(X.length>0?" { "+z.call(X,", ")+" }":"")}if(F(t)){var ee=k?v.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):E.call(t);return"object"!==typeof t||k?ee:Q(ee)}if(function(e){if(!e||"object"!==typeof e)return!1;if("undefined"!==typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"===typeof e.nodeName&&"function"===typeof e.getAttribute}(t)){for(var te="<"+M.call(String(t.nodeName)),ne=t.attributes||[],re=0;re<ne.length;re++)te+=" "+ne[re].name+"="+q(P(ne[re].value),"double",s);return te+=">",t.childNodes&&t.childNodes.length&&(te+="..."),te+="</"+M.call(String(t.nodeName))+">"}if(I(t)){if(0===t.length)return"[]";var oe=J(t,L);return S&&!function(e){for(var t=0;t<e.length;t++)if($(e[t],"\n")>=0)return!1;return!0}(oe)?"["+K(oe,S)+"]":"[ "+z.call(oe,", ")+" ]"}if(function(e){return"[object Error]"===H(e)&&(!D||!("object"===typeof e&&D in e))}(t)){var ie=J(t,L);return"cause"in Error.prototype||!("cause"in t)||N.call(t,"cause")?0===ie.length?"["+String(t)+"]":"{ ["+String(t)+"] "+z.call(ie,", ")+" }":"{ ["+String(t)+"] "+z.call(_.call("[cause]: "+L(t.cause),ie),", ")+" }"}if("object"===typeof t&&l){if(R&&"function"===typeof t[R]&&B)return B(t,{depth:w-r});if("symbol"!==l&&"function"===typeof t.inspect)return t.inspect()}if(function(e){if(!i||!e||"object"!==typeof e)return!1;try{i.call(e);try{c.call(e)}catch(te){return!0}return e instanceof Map}catch(t){}return!1}(t)){var ae=[];return a&&a.call(t,(function(e,n){ae.push(L(n,t,!0)+" => "+L(e,t))})),G("Map",i.call(t),ae,S)}if(function(e){if(!c||!e||"object"!==typeof e)return!1;try{c.call(e);try{i.call(e)}catch(t){return!0}return e instanceof Set}catch(n){}return!1}(t)){var se=[];return u&&u.call(t,(function(e){se.push(L(e,t))})),G("Set",c.call(t),se,S)}if(function(e){if(!d||!e||"object"!==typeof e)return!1;try{d.call(e,d);try{p.call(e,p)}catch(te){return!0}return e instanceof WeakMap}catch(t){}return!1}(t))return Y("WeakMap");if(function(e){if(!p||!e||"object"!==typeof e)return!1;try{p.call(e,p);try{d.call(e,d)}catch(te){return!0}return e instanceof WeakSet}catch(t){}return!1}(t))return Y("WeakSet");if(function(e){if(!f||!e||"object"!==typeof e)return!1;try{return f.call(e),!0}catch(t){}return!1}(t))return Y("WeakRef");if(function(e){return"[object Number]"===H(e)&&(!D||!("object"===typeof e&&D in e))}(t))return Q(L(Number(t)));if(function(e){if(!e||"object"!==typeof e||!C)return!1;try{return C.call(e),!0}catch(t){}return!1}(t))return Q(L(C.call(t)));if(function(e){return"[object Boolean]"===H(e)&&(!D||!("object"===typeof e&&D in e))}(t))return Q(h.call(t));if(function(e){return"[object String]"===H(e)&&(!D||!("object"===typeof e&&D in e))}(t))return Q(L(String(t)));if(!function(e){return"[object Date]"===H(e)&&(!D||!("object"===typeof e&&D in e))}(t)&&!W(t)){var le=J(t,L),ce=T?T(t)===Object.prototype:t instanceof Object||t.constructor===Object,ue=t instanceof Object?"":"null prototype",de=!ce&&D&&Object(t)===t&&D in t?g.call(H(t),8,-1):ue?"Object":"",pe=(ce||"function"!==typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(de||ue?"["+z.call(_.call([],de||[],ue||[]),": ")+"] ":"");return 0===le.length?pe+"{}":S?pe+"{"+K(le,S)+"}":pe+"{ "+z.call(le,", ")+" }"}return String(t)};var U=Object.prototype.hasOwnProperty||function(e){return e in this};function Z(e,t){return U.call(e,t)}function H(e){return b.call(e)}function $(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function V(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return V(g.call(e,0,t.maxStringLength),t)+r}return q(v.call(v.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,X),"single",t)}function X(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+y.call(t.toString(16))}function Q(e){return"Object("+e+")"}function Y(e){return e+" { ? }"}function G(e,t,n,r){return e+" ("+t+") {"+(r?K(n,r):z.call(n,", "))+"}"}function K(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+z.call(e,","+n)+"\n"+t.prev}function J(e,t){var n=I(e),r=[];if(n){r.length=e.length;for(var o=0;o<e.length;o++)r[o]=Z(e,o)?t(e[o],e):""}var i,a="function"===typeof S?S(e):[];if(k){i={};for(var s=0;s<a.length;s++)i["$"+a[s]]=a[s]}for(var l in e)Z(e,l)&&(n&&String(Number(l))===l&&l<e.length||k&&i["$"+l]instanceof Symbol||(O.call(/[^\w$]/,l)?r.push(t(l,e)+": "+t(e[l],e)):r.push(l+": "+t(e[l],e))));if("function"===typeof S)for(var c=0;c<a.length;c++)N.call(e,a[c])&&r.push("["+t(a[c])+"]: "+t(e[a[c]],e));return r}},64091:function(e){"use strict";var t=function(e){return e!==e};e.exports=function(e,n){return 0===e&&0===n?1/e===1/n:e===n||!(!t(e)||!t(n))}},28199:function(e,t,n){"use strict";var r=n(89959),o=n(59962),i=n(64091),a=n(24584),s=n(98229),l=o(a(),Object);r(l,{getPolyfill:a,implementation:i,shim:s}),e.exports=l},24584:function(e,t,n){"use strict";var r=n(64091);e.exports=function(){return"function"===typeof Object.is?Object.is:r}},98229:function(e,t,n){"use strict";var r=n(24584),o=n(89959);e.exports=function(){var e=r();return o(Object,{is:e},{is:function(){return Object.is!==e}}),e}},2782:function(e,t,n){"use strict";var r;if(!Object.keys){var o=Object.prototype.hasOwnProperty,i=Object.prototype.toString,a=n(82950),s=Object.prototype.propertyIsEnumerable,l=!s.call({toString:null},"toString"),c=s.call((function(){}),"prototype"),u=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],d=function(e){var t=e.constructor;return t&&t.prototype===e},p={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},f=function(){if("undefined"===typeof window)return!1;for(var e in window)try{if(!p["$"+e]&&o.call(window,e)&&null!==window[e]&&"object"===typeof window[e])try{d(window[e])}catch(t){return!0}}catch(t){return!0}return!1}();r=function(e){var t=null!==e&&"object"===typeof e,n="[object Function]"===i.call(e),r=a(e),s=t&&"[object String]"===i.call(e),p=[];if(!t&&!n&&!r)throw new TypeError("Object.keys called on a non-object");var h=c&&n;if(s&&e.length>0&&!o.call(e,0))for(var b=0;b<e.length;++b)p.push(String(b));if(r&&e.length>0)for(var A=0;A<e.length;++A)p.push(String(A));else for(var m in e)h&&"prototype"===m||!o.call(e,m)||p.push(String(m));if(l)for(var g=function(e){if("undefined"===typeof window||!f)return d(e);try{return d(e)}catch(t){return!1}}(e),v=0;v<u.length;++v)g&&"constructor"===u[v]||!o.call(e,u[v])||p.push(u[v]);return p}}e.exports=r},66328:function(e,t,n){"use strict";var r=Array.prototype.slice,o=n(82950),i=Object.keys,a=i?function(e){return i(e)}:n(2782),s=Object.keys;a.shim=function(){if(Object.keys){var e=function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2);e||(Object.keys=function(e){return o(e)?s(r.call(e)):s(e)})}else Object.keys=a;return Object.keys||a},e.exports=a},82950:function(e){"use strict";var t=Object.prototype.toString;e.exports=function(e){var n=t.call(e),r="[object Arguments]"===n;return r||(r="[object Array]"!==n&&null!==e&&"object"===typeof e&&"number"===typeof e.length&&e.length>=0&&"[object Function]"===t.call(e.callee)),r}},8047:function(e,t,n){"use strict";var r=n(66328),o=n(80541)(),i=n(44680),a=Object,s=i("Array.prototype.push"),l=i("Object.prototype.propertyIsEnumerable"),c=o?Object.getOwnPropertySymbols:null;e.exports=function(e,t){if(null==e)throw new TypeError("target must be an object");var n=a(e);if(1===arguments.length)return n;for(var i=1;i<arguments.length;++i){var u=a(arguments[i]),d=r(u),p=o&&(Object.getOwnPropertySymbols||c);if(p)for(var f=p(u),h=0;h<f.length;++h){var b=f[h];l(u,b)&&s(d,b)}for(var A=0;A<d.length;++A){var m=d[A];if(l(u,m)){var g=u[m];n[m]=g}}}return n}},22979:function(e,t,n){"use strict";var r=n(89959),o=n(59962),i=n(8047),a=n(54174),s=n(58525),l=o.apply(a()),c=function(e,t){return l(Object,arguments)};r(c,{getPolyfill:a,implementation:i,shim:s}),e.exports=c},54174:function(e,t,n){"use strict";var r=n(8047);e.exports=function(){return Object.assign?function(){if(!Object.assign)return!1;for(var e="abcdefghijklmnopqrst",t=e.split(""),n={},r=0;r<t.length;++r)n[t[r]]=t[r];var o=Object.assign({},n),i="";for(var a in o)i+=a;return e!==i}()||function(){if(!Object.assign||!Object.preventExtensions)return!1;var e=Object.preventExtensions({1:2});try{Object.assign(e,"xy")}catch(t){return"y"===e[1]}return!1}()?r:Object.assign:r}},58525:function(e,t,n){"use strict";var r=n(89959),o=n(54174);e.exports=function(){var e=o();return r(Object,{assign:e},{assign:function(){return Object.assign!==e}}),e}},53083:function(e,t,n){"use strict";var r=n(73714),o=n(44680),i=o("Object.prototype.propertyIsEnumerable"),a=o("Array.prototype.push");e.exports=function(e){var t=r(e),n=[];for(var o in t)i(t,o)&&a(n,t[o]);return n}},37512:function(e,t,n){"use strict";var r=n(89959),o=n(59962),i=n(53083),a=n(82220),s=n(8877),l=o(a(),Object);r(l,{getPolyfill:a,implementation:i,shim:s}),e.exports=l},82220:function(e,t,n){"use strict";var r=n(53083);e.exports=function(){return"function"===typeof Object.values?Object.values:r}},8877:function(e,t,n){"use strict";var r=n(82220),o=n(89959);e.exports=function(){var e=r();return o(Object,{values:e},{values:function(){return Object.values!==e}}),e}},3460:function(e){(function(){var t,n,r,o,i,a;"undefined"!==typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:"undefined"!==typeof process&&null!==process&&process.hrtime?(e.exports=function(){return(t()-i)/1e6},n=process.hrtime,o=(t=function(){var e;return 1e9*(e=n())[0]+e[1]})(),a=1e9*process.uptime(),i=o-a):Date.now?(e.exports=function(){return Date.now()-r},r=Date.now()):(e.exports=function(){return(new Date).getTime()-r},r=(new Date).getTime())}).call(this)},89836:function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e){return e&&"object"===("undefined"===typeof e?"undefined":n(e))&&!Array.isArray(e)},e.exports=t.default},61729:function(e,t,n){"use strict";var r=n(79165);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},75192:function(e,t,n){e.exports=n(61729)()},79165:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},23294:function(e){"use strict";function t(e){this._maxSize=e,this.clear()}t.prototype.clear=function(){this._size=0,this._values=Object.create(null)},t.prototype.get=function(e){return this._values[e]},t.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var n=/[^.^\]^[]+|(?=\[\]|\.\.)/g,r=/^\d+$/,o=/^\d/,i=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,a=/^\s*(['"]?)(.*?)(\1)\s*$/,s=new t(512),l=new t(512),c=new t(512);function u(e){return s.get(e)||s.set(e,d(e).map((function(e){return e.replace(a,"$2")})))}function d(e){return e.match(n)||[""]}function p(e){return"string"===typeof e&&e&&-1!==["'",'"'].indexOf(e.charAt(0))}function f(e){return!p(e)&&(function(e){return e.match(o)&&!e.match(r)}(e)||function(e){return i.test(e)}(e))}e.exports={Cache:t,split:d,normalizePath:u,setter:function(e){var t=u(e);return l.get(e)||l.set(e,(function(e,n){for(var r=0,o=t.length,i=e;r<o-1;){var a=t[r];if("__proto__"===a||"constructor"===a||"prototype"===a)return e;i=i[t[r++]]}i[t[r]]=n}))},getter:function(e,t){var n=u(e);return c.get(e)||c.set(e,(function(e){for(var r=0,o=n.length;r<o;){if(null==e&&t)return;e=e[n[r++]]}return e}))},join:function(e){return e.reduce((function(e,t){return e+(p(t)||r.test(t)?"["+t+"]":(e?".":"")+t)}),"")},forEach:function(e,t,n){!function(e,t,n){var r,o,i,a,s=e.length;for(o=0;o<s;o++)(r=e[o])&&(f(r)&&(r='"'+r+'"'),i=!(a=p(r))&&/^\d+$/.test(r),t.call(n,r,a,i,o,e))}(Array.isArray(e)?e:d(e),t,n)}}},44903:function(e,t,n){for(var r=n(3460),o="undefined"===typeof window?n.g:window,i=["moz","webkit"],a="AnimationFrame",s=o["request"+a],l=o["cancel"+a]||o["cancelRequest"+a],c=0;!s&&c<i.length;c++)s=o[i[c]+"Request"+a],l=o[i[c]+"Cancel"+a]||o[i[c]+"CancelRequest"+a];if(!s||!l){var u=0,d=0,p=[];s=function(e){if(0===p.length){var t=r(),n=Math.max(0,16.666666666666668-(t-u));u=n+t,setTimeout((function(){var e=p.slice(0);p.length=0;for(var t=function(){if(!e[n].cancelled)try{e[n].callback(u)}catch(t){setTimeout((function(){throw t}),0)}},n=0;n<e.length;n++)t()}),Math.round(n))}return p.push({handle:++d,callback:e,cancelled:!1}),d},l=function(e){for(var t=0;t<p.length;t++)p[t].handle===e&&(p[t].cancelled=!0)}}e.exports=function(e){return s.call(o,e)},e.exports.cancel=function(){l.apply(o,arguments)},e.exports.polyfill=function(e){e||(e=o),e.requestAnimationFrame=s,e.cancelAnimationFrame=l}},53245:function(e,t,n){e.exports=n(47020)},26193:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(47313),a=(r=i)&&r.__esModule?r:{default:r},s=n(22824),l=n(67334);var c=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={},n}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"buildURI",value:function(){return s.buildURI.apply(void 0,arguments)}},{key:"componentDidMount",value:function(){var e=this.props,t=e.data,n=e.headers,r=e.separator,o=e.enclosingCharacter,i=e.uFEFF,a=e.target,s=e.specs,l=e.replace;this.state.page=window.open(this.buildURI(t,i,n,r,o),a,s,l)}},{key:"getWindow",value:function(){return this.state.page}},{key:"render",value:function(){return null}}]),t}(a.default.Component);c.defaultProps=Object.assign(l.defaultProps,{target:"_blank"}),c.propTypes=l.propTypes,t.default=c},92332:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(47313),s=(r=a)&&r.__esModule?r:{default:r},l=n(22824),c=n(67334);var u=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.buildURI=n.buildURI.bind(n),n}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"buildURI",value:function(){return l.buildURI.apply(void 0,arguments)}},{key:"handleLegacy",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(window.navigator.msSaveOrOpenBlob){e.preventDefault();var n=this.props,r=n.data,o=n.headers,i=n.separator,a=n.filename,s=n.enclosingCharacter,c=n.uFEFF,u=t&&"function"===typeof r?r():r,d=new Blob([c?"\ufeff":"",(0,l.toCSV)(u,o,i,s)]);return window.navigator.msSaveBlob(d,a),!1}}},{key:"handleAsyncClick",value:function(e){var t=this;this.props.onClick(e,(function(n){!1!==n?t.handleLegacy(e,!0):e.preventDefault()}))}},{key:"handleSyncClick",value:function(e){!1===this.props.onClick(e)?e.preventDefault():this.handleLegacy(e)}},{key:"handleClick",value:function(){var e=this;return function(t){if("function"===typeof e.props.onClick)return e.props.asyncOnClick?e.handleAsyncClick(t):e.handleSyncClick(t);e.handleLegacy(t)}}},{key:"render",value:function(){var e=this,t=this.props,n=t.data,r=t.headers,i=t.separator,a=t.filename,l=t.uFEFF,c=t.children,u=(t.onClick,t.asyncOnClick,t.enclosingCharacter),d=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["data","headers","separator","filename","uFEFF","children","onClick","asyncOnClick","enclosingCharacter"]),p="undefined"===typeof window?"":this.buildURI(n,l,r,i,u);return s.default.createElement("a",o({download:a},d,{ref:function(t){return e.link=t},target:"_self",href:p,onClick:this.handleClick()}),c)}}]),t}(s.default.Component);u.defaultProps=c.defaultProps,u.propTypes=c.propTypes,t.default=u},22824:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var o=t.isSafari=function(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)},i=t.isJsons=function(e){return Array.isArray(e)&&e.every((function(e){return"object"===("undefined"===typeof e?"undefined":n(e))&&!(e instanceof Array)}))},a=t.isArrays=function(e){return Array.isArray(e)&&e.every((function(e){return Array.isArray(e)}))},s=t.jsonsHeaders=function(e){return Array.from(e.map((function(e){return Object.keys(e)})).reduce((function(e,t){return new Set([].concat(r(e),r(t)))}),[]))},l=t.jsons2arrays=function(e,t){var n=t=t||s(e),o=t;i(t)&&(n=t.map((function(e){return e.label})),o=t.map((function(e){return e.key})));var a=e.map((function(e){return o.map((function(t){return c(t,e)}))}));return[n].concat(r(a))},c=t.getHeaderValue=function(e,t){var n=e.replace(/\[([^\]]+)]/g,".$1").split(".").reduce((function(e,t,n,r){var o=e[t];if(void 0!==o&&null!==o)return o;r.splice(1)}),t);return void 0===n?e in t?t[e]:"":n},u=t.elementOrEmpty=function(e){return"undefined"===typeof e||null===e?"":e},d=t.joiner=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:",",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:'"';return e.filter((function(e){return e})).map((function(e){return e.map((function(e){return u(e)})).map((function(e){return""+n+e+n})).join(t)})).join("\n")},p=t.arrays2csv=function(e,t,n,o){return d(t?[t].concat(r(e)):e,n,o)},f=t.jsons2csv=function(e,t,n,r){return d(l(e,t),n,r)},h=t.string2csv=function(e,t,n,r){return t?t.join(n)+"\n"+e:e.replace(/"/g,'""')},b=t.toCSV=function(e,t,n,r){if(i(e))return f(e,t,n,r);if(a(e))return p(e,t,n,r);if("string"===typeof e)return h(e,t,n);throw new TypeError('Data should be a "String", "Array of arrays" OR "Array of objects" ')};t.buildURI=function(e,t,n,r,i){var a=b(e,n,r,i),s=o()?"application/csv":"text/csv",l=new Blob([t?"\ufeff":"",a],{type:s}),c="data:"+s+";charset=utf-8,"+(t?"\ufeff":"")+a,u=window.URL||window.webkitURL;return"undefined"===typeof u.createObjectURL?c:u.createObjectURL(l)}},47020:function(e,t,n){"use strict";t.CSVLink=void 0;var r=i(n(26193)),o=i(n(92332));function i(e){return e&&e.__esModule?e:{default:e}}r.default,t.CSVLink=o.default},67334:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PropsNotForwarded=t.defaultProps=t.propTypes=void 0;var r,o=n(47313),i=((r=o)&&r.__esModule,n(75192));t.propTypes={data:(0,i.oneOfType)([i.string,i.array,i.func]).isRequired,headers:i.array,target:i.string,separator:i.string,filename:i.string,uFEFF:i.bool,onClick:i.func,asyncOnClick:i.bool,enclosingCharacter:i.string},t.defaultProps={separator:",",filename:"generatedBy_react-csv.csv",uFEFF:!0,asyncOnClick:!1,enclosingCharacter:'"'},t.PropsNotForwarded=["data","headers"]},61378:function(e,t,n){!function(e,t,n,r,o,i,a,s,l,c,u,d,p,f,h,b,A,m,g,v,y,M,O,_,z,x,w,C,S,E,k,D,N,T,j,B,L,R,q,P,I,W,F,U,Z,H,$,V,X,Q,Y,G,K,J,ee,te,ne,re,oe,ie,ae,se,le,ce,ue,de,pe){"use strict";function fe(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var he=fe(t),be=fe(r),Ae=fe(o),me=fe(i),ge=fe(a),ve=fe(s),ye=fe(l),Me=fe(c),Oe=fe(u),_e=fe(d),ze=fe(p),xe=fe(f),we=fe(A),Ce=fe(m),Se=fe(g),Ee=fe(v),ke=fe(y),De=fe(M),Ne=fe(O),Te=fe(_),je=fe(z),Be=fe(x),Le=fe(w),Re=fe(C),qe=fe(S),Pe=fe(E),Ie=fe(k),We=fe(D),Fe=fe(N),Ue=fe(T),Ze=fe(j),He=fe(B),$e=fe(L),Ve=fe(R),Xe=fe(q),Qe=fe(P),Ye=fe(I),Ge=fe(F),Ke=fe(U),Je=fe(Z),et=fe(H),tt=fe($),nt=fe(V),rt=fe(X),ot=fe(Y),it=fe(G),at=fe(K),st=fe(J),lt=fe(ee),ct=fe(te),ut=fe(ne),dt=fe(re),pt=fe(oe),ft=fe(ie),ht=fe(ae),bt=fe(se),At=fe(le),mt=fe(ce),gt=fe(ue),vt=fe(pe);function yt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Mt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yt(Object(n),!0).forEach((function(t){wt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ot(e){return(Ot="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Lt(r.key),r)}}function xt(e,t,n){return t&&zt(e.prototype,t),n&&zt(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function wt(e,t,n){return(t=Lt(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ct(){return(Ct=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function St(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&kt(e,t)}function Et(e){return(Et=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function kt(e,t){return(kt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Dt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nt(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Dt(e)}function Tt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Et(e);if(t){var o=Et(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Nt(this,n)}}function jt(e){return function(e){if(Array.isArray(e))return Bt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Bt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Bt(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Bt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Lt(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function Rt(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}}function qt(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}}var Pt={p:qt,P:function(e,t){var n,r=e.match(/(P+)(p+)?/)||[],o=r[1],i=r[2];if(!i)return Rt(e,t);switch(o){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",Rt(o,t)).replace("{{time}}",qt(i,t))}},It=12,Wt=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;function Ft(e){var t=e?"string"==typeof e||e instanceof String?At.default(e):ht.default(e):new Date;return Zt(t)?t:null}function Ut(e,t,n,r,o){var i=null,a=un(n)||un(cn()),s=!0;return Array.isArray(t)?(t.forEach((function(t){var l=bt.default(e,t,new Date,{locale:a});r&&(s=Zt(l,o)&&e===Ht(l,t,n)),Zt(l,o)&&s&&(i=l)})),i):(i=bt.default(e,t,new Date,{locale:a}),r?s=Zt(i)&&e===Ht(i,t,n):Zt(i)||(t=t.match(Wt).map((function(e){var t=e[0];return"p"===t||"P"===t?a?(0,Pt[t])(e,a.formatLong):t:e})).join(""),e.length>0&&(i=bt.default(e,t.slice(0,e.length),new Date)),Zt(i)||(i=new Date(e))),Zt(i)&&s?i:null)}function Zt(e,t){return t=t||new Date("1/1/1000"),me.default(e)&&!pt.default(e,t)}function Ht(e,t,n){if("en"===n)return ge.default(e,t,{awareOfUnicodeTokens:!0});var r=un(n);return n&&!r&&console.warn('A locale object was not found for the provided string ["'.concat(n,'"].')),!r&&cn()&&un(cn())&&(r=un(cn())),ge.default(e,t,{locale:r||null,awareOfUnicodeTokens:!0})}function $t(e,t){var n=t.dateFormat,r=t.locale;return e&&Ht(e,Array.isArray(n)?n[0]:n,r)||""}function Vt(e,t){var n=t.hour,r=void 0===n?0:n,o=t.minute,i=void 0===o?0:o,a=t.second,s=void 0===a?0:a;return Ue.default(Fe.default(We.default(e,s),i),r)}function Xt(e,t){var n=t&&un(t)||cn()&&un(cn());return Le.default(e,n?{locale:n}:null)}function Qt(e,t){return Ht(e,"ddd",t)}function Yt(e){return Ke.default(e)}function Gt(e,t,n){var r=un(t||cn());return Je.default(e,{locale:r,weekStartsOn:n})}function Kt(e){return et.default(e)}function Jt(e){return nt.default(e)}function en(e){return tt.default(e)}function tn(){return Ke.default(Ft())}function nn(e,t){return e&&t?ct.default(e,t):!e&&!t}function rn(e,t){return e&&t?lt.default(e,t):!e&&!t}function on(e,t){return e&&t?ut.default(e,t):!e&&!t}function an(e,t){return e&&t?st.default(e,t):!e&&!t}function sn(e,t){return e&&t?at.default(e,t):!e&&!t}function ln(e,t,n){var r,o=Ke.default(t),i=rt.default(n);try{r=ft.default(e,{start:o,end:i})}catch(e){r=!1}return r}function cn(){return("undefined"!=typeof window?window:globalThis).__localeId__}function un(e){if("string"==typeof e){var t="undefined"!=typeof window?window:globalThis;return t.__localeData__?t.__localeData__[e]:null}return e}function dn(e,t){return Ht(Ze.default(Ft(),e),"LLLL",t)}function pn(e,t){return Ht(Ze.default(Ft(),e),"LLL",t)}function fn(e,t){return Ht(He.default(Ft(),e),"QQQ",t)}function hn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate,o=t.excludeDates,i=t.excludeDateIntervals,a=t.includeDates,s=t.includeDateIntervals,l=t.filterDate;return Mn(e,{minDate:n,maxDate:r})||o&&o.some((function(t){return an(e,t)}))||i&&i.some((function(t){var n=t.start,r=t.end;return ft.default(e,{start:n,end:r})}))||a&&!a.some((function(t){return an(e,t)}))||s&&!s.some((function(t){var n=t.start,r=t.end;return ft.default(e,{start:n,end:r})}))||l&&!l(Ft(e))||!1}function bn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.excludeDates,r=t.excludeDateIntervals;return r&&r.length>0?r.some((function(t){var n=t.start,r=t.end;return ft.default(e,{start:n,end:r})})):n&&n.some((function(t){return an(e,t)}))||!1}function An(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate,o=t.excludeDates,i=t.includeDates,a=t.filterDate;return Mn(e,{minDate:et.default(n),maxDate:ot.default(r)})||o&&o.some((function(t){return rn(e,t)}))||i&&!i.some((function(t){return rn(e,t)}))||a&&!a(Ft(e))||!1}function mn(e,t,n,r){var o=Pe.default(e),i=Re.default(e),a=Pe.default(t),s=Re.default(t),l=Pe.default(r);return o===a&&o===l?i<=n&&n<=s:o<a?l===o&&i<=n||l===a&&s>=n||l<a&&l>o:void 0}function gn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate,o=t.excludeDates,i=t.includeDates,a=t.filterDate;return Mn(e,{minDate:n,maxDate:r})||o&&o.some((function(t){return on(e,t)}))||i&&!i.some((function(t){return on(e,t)}))||a&&!a(Ft(e))||!1}function vn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate,o=t.excludeDates,i=t.includeDates,a=t.filterDate,s=new Date(e,0,1);return Mn(s,{minDate:nt.default(n),maxDate:it.default(r)})||o&&o.some((function(e){return nn(s,e)}))||i&&!i.some((function(e){return nn(s,e)}))||a&&!a(Ft(s))||!1}function yn(e,t,n,r){var o=Pe.default(e),i=qe.default(e),a=Pe.default(t),s=qe.default(t),l=Pe.default(r);return o===a&&o===l?i<=n&&n<=s:o<a?l===o&&i<=n||l===a&&s>=n||l<a&&l>o:void 0}function Mn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate;return n&&Qe.default(e,n)<0||r&&Qe.default(e,r)>0}function On(e,t){return t.some((function(t){return Te.default(t)===Te.default(e)&&Ne.default(t)===Ne.default(e)}))}function _n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.excludeTimes,r=t.includeTimes,o=t.filterTime;return n&&On(e,n)||r&&!On(e,r)||o&&!o(e)||!1}function zn(e,t){var n=t.minTime,r=t.maxTime;if(!n||!r)throw new Error("Both minTime and maxTime props required");var o,i=Ft(),a=Ue.default(Fe.default(i,Ne.default(e)),Te.default(e)),s=Ue.default(Fe.default(i,Ne.default(n)),Te.default(n)),l=Ue.default(Fe.default(i,Ne.default(r)),Te.default(r));try{o=!ft.default(a,{start:s,end:l})}catch(e){o=!1}return o}function xn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.includeDates,o=Se.default(e,1);return n&&Ye.default(n,o)>0||r&&r.every((function(e){return Ye.default(e,o)>0}))||!1}function wn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.maxDate,r=t.includeDates,o=_e.default(e,1);return n&&Ye.default(o,n)>0||r&&r.every((function(e){return Ye.default(o,e)>0}))||!1}function Cn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.includeDates,o=ke.default(e,1);return n&&Ge.default(n,o)>0||r&&r.every((function(e){return Ge.default(e,o)>0}))||!1}function Sn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.maxDate,r=t.includeDates,o=xe.default(e,1);return n&&Ge.default(o,n)>0||r&&r.every((function(e){return Ge.default(o,e)>0}))||!1}function En(e){var t=e.minDate,n=e.includeDates;if(n&&t){var r=n.filter((function(e){return Qe.default(e,t)>=0}));return Ve.default(r)}return n?Ve.default(n):t}function kn(e){var t=e.maxDate,n=e.includeDates;if(n&&t){var r=n.filter((function(e){return Qe.default(e,t)<=0}));return Xe.default(r)}return n?Xe.default(n):t}function Dn(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"react-datepicker__day--highlighted",n=new Map,r=0,o=e.length;r<o;r++){var i=e[r];if(Ae.default(i)){var a=Ht(i,"MM.dd.yyyy"),s=n.get(a)||[];s.includes(t)||(s.push(t),n.set(a,s))}else if("object"===Ot(i)){var l=Object.keys(i),c=l[0],u=i[l[0]];if("string"==typeof c&&u.constructor===Array)for(var d=0,p=u.length;d<p;d++){var f=Ht(u[d],"MM.dd.yyyy"),h=n.get(f)||[];h.includes(c)||(h.push(c),n.set(f,h))}}}return n}function Nn(e,t,n,r,o){for(var i=o.length,a=[],s=0;s<i;s++){var l=ve.default(ye.default(e,Te.default(o[s])),Ne.default(o[s])),c=ve.default(e,(n+1)*r);dt.default(l,t)&&pt.default(l,c)&&a.push(o[s])}return a}function Tn(e){return e<10?"0".concat(e):"".concat(e)}function jn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:It,n=Math.ceil(Pe.default(e)/t)*t;return{startPeriod:n-(t-1),endPeriod:n}}function Bn(e,t,n,r){for(var o=[],i=0;i<2*t+1;i++){var a=e+t-i,s=!0;n&&(s=Pe.default(n)<=a),r&&s&&(s=Pe.default(r)>=a),s&&o.push(a)}return o}var Ln=function(e){St(r,e);var n=Tt(r);function r(e){var o;_t(this,r),wt(Dt(o=n.call(this,e)),"renderOptions",(function(){var e=o.props.year,t=o.state.yearsList.map((function(t){return he.default.createElement("div",{className:e===t?"react-datepicker__year-option react-datepicker__year-option--selected_year":"react-datepicker__year-option",key:t,onClick:o.onChange.bind(Dt(o),t),"aria-selected":e===t?"true":void 0},e===t?he.default.createElement("span",{className:"react-datepicker__year-option--selected"},"\u2713"):"",t)})),n=o.props.minDate?Pe.default(o.props.minDate):null,r=o.props.maxDate?Pe.default(o.props.maxDate):null;return r&&o.state.yearsList.find((function(e){return e===r}))||t.unshift(he.default.createElement("div",{className:"react-datepicker__year-option",key:"upcoming",onClick:o.incrementYears},he.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-upcoming"}))),n&&o.state.yearsList.find((function(e){return e===n}))||t.push(he.default.createElement("div",{className:"react-datepicker__year-option",key:"previous",onClick:o.decrementYears},he.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-previous"}))),t})),wt(Dt(o),"onChange",(function(e){o.props.onChange(e)})),wt(Dt(o),"handleClickOutside",(function(){o.props.onCancel()})),wt(Dt(o),"shiftYears",(function(e){var t=o.state.yearsList.map((function(t){return t+e}));o.setState({yearsList:t})})),wt(Dt(o),"incrementYears",(function(){return o.shiftYears(1)})),wt(Dt(o),"decrementYears",(function(){return o.shiftYears(-1)}));var i=e.yearDropdownItemNumber,a=e.scrollableYearDropdown,s=i||(a?10:5);return o.state={yearsList:Bn(o.props.year,s,o.props.minDate,o.props.maxDate)},o.dropdownRef=t.createRef(),o}return xt(r,[{key:"componentDidMount",value:function(){var e=this.dropdownRef.current;if(e){var t=e.children?Array.from(e.children):null,n=t?t.find((function(e){return e.ariaSelected})):null;e.scrollTop=n?n.offsetTop+(n.clientHeight-e.clientHeight)/2:(e.scrollHeight-e.clientHeight)/2}}},{key:"render",value:function(){var e=be.default({"react-datepicker__year-dropdown":!0,"react-datepicker__year-dropdown--scrollable":this.props.scrollableYearDropdown});return he.default.createElement("div",{className:e,ref:this.dropdownRef},this.renderOptions())}}]),r}(he.default.Component),Rn=mt.default(Ln),qn=function(e){St(n,e);var t=Tt(n);function n(){var e;_t(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return wt(Dt(e=t.call.apply(t,[this].concat(o))),"state",{dropdownVisible:!1}),wt(Dt(e),"renderSelectOptions",(function(){for(var t=e.props.minDate?Pe.default(e.props.minDate):1900,n=e.props.maxDate?Pe.default(e.props.maxDate):2100,r=[],o=t;o<=n;o++)r.push(he.default.createElement("option",{key:o,value:o},o));return r})),wt(Dt(e),"onSelectChange",(function(t){e.onChange(t.target.value)})),wt(Dt(e),"renderSelectMode",(function(){return he.default.createElement("select",{value:e.props.year,className:"react-datepicker__year-select",onChange:e.onSelectChange},e.renderSelectOptions())})),wt(Dt(e),"renderReadView",(function(t){return he.default.createElement("div",{key:"read",style:{visibility:t?"visible":"hidden"},className:"react-datepicker__year-read-view",onClick:function(t){return e.toggleDropdown(t)}},he.default.createElement("span",{className:"react-datepicker__year-read-view--down-arrow"}),he.default.createElement("span",{className:"react-datepicker__year-read-view--selected-year"},e.props.year))})),wt(Dt(e),"renderDropdown",(function(){return he.default.createElement(Rn,{key:"dropdown",year:e.props.year,onChange:e.onChange,onCancel:e.toggleDropdown,minDate:e.props.minDate,maxDate:e.props.maxDate,scrollableYearDropdown:e.props.scrollableYearDropdown,yearDropdownItemNumber:e.props.yearDropdownItemNumber})})),wt(Dt(e),"renderScrollMode",(function(){var t=e.state.dropdownVisible,n=[e.renderReadView(!t)];return t&&n.unshift(e.renderDropdown()),n})),wt(Dt(e),"onChange",(function(t){e.toggleDropdown(),t!==e.props.year&&e.props.onChange(t)})),wt(Dt(e),"toggleDropdown",(function(t){e.setState({dropdownVisible:!e.state.dropdownVisible},(function(){e.props.adjustDateOnChange&&e.handleYearChange(e.props.date,t)}))})),wt(Dt(e),"handleYearChange",(function(t,n){e.onSelect(t,n),e.setOpen()})),wt(Dt(e),"onSelect",(function(t,n){e.props.onSelect&&e.props.onSelect(t,n)})),wt(Dt(e),"setOpen",(function(){e.props.setOpen&&e.props.setOpen(!0)})),e}return xt(n,[{key:"render",value:function(){var e;switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode();break;case"select":e=this.renderSelectMode()}return he.default.createElement("div",{className:"react-datepicker__year-dropdown-container react-datepicker__year-dropdown-container--".concat(this.props.dropdownMode)},e)}}]),n}(he.default.Component),Pn=function(e){St(n,e);var t=Tt(n);function n(){var e;_t(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return wt(Dt(e=t.call.apply(t,[this].concat(o))),"isSelectedMonth",(function(t){return e.props.month===t})),wt(Dt(e),"renderOptions",(function(){return e.props.monthNames.map((function(t,n){return he.default.createElement("div",{className:e.isSelectedMonth(n)?"react-datepicker__month-option react-datepicker__month-option--selected_month":"react-datepicker__month-option",key:t,onClick:e.onChange.bind(Dt(e),n),"aria-selected":e.isSelectedMonth(n)?"true":void 0},e.isSelectedMonth(n)?he.default.createElement("span",{className:"react-datepicker__month-option--selected"},"\u2713"):"",t)}))})),wt(Dt(e),"onChange",(function(t){return e.props.onChange(t)})),wt(Dt(e),"handleClickOutside",(function(){return e.props.onCancel()})),e}return xt(n,[{key:"render",value:function(){return he.default.createElement("div",{className:"react-datepicker__month-dropdown"},this.renderOptions())}}]),n}(he.default.Component),In=mt.default(Pn),Wn=function(e){St(n,e);var t=Tt(n);function n(){var e;_t(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return wt(Dt(e=t.call.apply(t,[this].concat(o))),"state",{dropdownVisible:!1}),wt(Dt(e),"renderSelectOptions",(function(e){return e.map((function(e,t){return he.default.createElement("option",{key:t,value:t},e)}))})),wt(Dt(e),"renderSelectMode",(function(t){return he.default.createElement("select",{value:e.props.month,className:"react-datepicker__month-select",onChange:function(t){return e.onChange(t.target.value)}},e.renderSelectOptions(t))})),wt(Dt(e),"renderReadView",(function(t,n){return he.default.createElement("div",{key:"read",style:{visibility:t?"visible":"hidden"},className:"react-datepicker__month-read-view",onClick:e.toggleDropdown},he.default.createElement("span",{className:"react-datepicker__month-read-view--down-arrow"}),he.default.createElement("span",{className:"react-datepicker__month-read-view--selected-month"},n[e.props.month]))})),wt(Dt(e),"renderDropdown",(function(t){return he.default.createElement(In,{key:"dropdown",month:e.props.month,monthNames:t,onChange:e.onChange,onCancel:e.toggleDropdown})})),wt(Dt(e),"renderScrollMode",(function(t){var n=e.state.dropdownVisible,r=[e.renderReadView(!n,t)];return n&&r.unshift(e.renderDropdown(t)),r})),wt(Dt(e),"onChange",(function(t){e.toggleDropdown(),t!==e.props.month&&e.props.onChange(t)})),wt(Dt(e),"toggleDropdown",(function(){return e.setState({dropdownVisible:!e.state.dropdownVisible})})),e}return xt(n,[{key:"render",value:function(){var e,t=this,n=[0,1,2,3,4,5,6,7,8,9,10,11].map(this.props.useShortMonthInDropdown?function(e){return pn(e,t.props.locale)}:function(e){return dn(e,t.props.locale)});switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode(n);break;case"select":e=this.renderSelectMode(n)}return he.default.createElement("div",{className:"react-datepicker__month-dropdown-container react-datepicker__month-dropdown-container--".concat(this.props.dropdownMode)},e)}}]),n}(he.default.Component);function Fn(e,t){for(var n=[],r=Kt(e),o=Kt(t);!dt.default(r,o);)n.push(Ft(r)),r=_e.default(r,1);return n}var Un=function(e){St(n,e);var t=Tt(n);function n(e){var r;return _t(this,n),wt(Dt(r=t.call(this,e)),"renderOptions",(function(){return r.state.monthYearsList.map((function(e){var t=Ie.default(e),n=nn(r.props.date,e)&&rn(r.props.date,e);return he.default.createElement("div",{className:n?"react-datepicker__month-year-option--selected_month-year":"react-datepicker__month-year-option",key:t,onClick:r.onChange.bind(Dt(r),t),"aria-selected":n?"true":void 0},n?he.default.createElement("span",{className:"react-datepicker__month-year-option--selected"},"\u2713"):"",Ht(e,r.props.dateFormat,r.props.locale))}))})),wt(Dt(r),"onChange",(function(e){return r.props.onChange(e)})),wt(Dt(r),"handleClickOutside",(function(){r.props.onCancel()})),r.state={monthYearsList:Fn(r.props.minDate,r.props.maxDate)},r}return xt(n,[{key:"render",value:function(){var e=be.default({"react-datepicker__month-year-dropdown":!0,"react-datepicker__month-year-dropdown--scrollable":this.props.scrollableMonthYearDropdown});return he.default.createElement("div",{className:e},this.renderOptions())}}]),n}(he.default.Component),Zn=mt.default(Un),Hn=function(e){St(n,e);var t=Tt(n);function n(){var e;_t(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return wt(Dt(e=t.call.apply(t,[this].concat(o))),"state",{dropdownVisible:!1}),wt(Dt(e),"renderSelectOptions",(function(){for(var t=Kt(e.props.minDate),n=Kt(e.props.maxDate),r=[];!dt.default(t,n);){var o=Ie.default(t);r.push(he.default.createElement("option",{key:o,value:o},Ht(t,e.props.dateFormat,e.props.locale))),t=_e.default(t,1)}return r})),wt(Dt(e),"onSelectChange",(function(t){e.onChange(t.target.value)})),wt(Dt(e),"renderSelectMode",(function(){return he.default.createElement("select",{value:Ie.default(Kt(e.props.date)),className:"react-datepicker__month-year-select",onChange:e.onSelectChange},e.renderSelectOptions())})),wt(Dt(e),"renderReadView",(function(t){var n=Ht(e.props.date,e.props.dateFormat,e.props.locale);return he.default.createElement("div",{key:"read",style:{visibility:t?"visible":"hidden"},className:"react-datepicker__month-year-read-view",onClick:function(t){return e.toggleDropdown(t)}},he.default.createElement("span",{className:"react-datepicker__month-year-read-view--down-arrow"}),he.default.createElement("span",{className:"react-datepicker__month-year-read-view--selected-month-year"},n))})),wt(Dt(e),"renderDropdown",(function(){return he.default.createElement(Zn,{key:"dropdown",date:e.props.date,dateFormat:e.props.dateFormat,onChange:e.onChange,onCancel:e.toggleDropdown,minDate:e.props.minDate,maxDate:e.props.maxDate,scrollableMonthYearDropdown:e.props.scrollableMonthYearDropdown,locale:e.props.locale})})),wt(Dt(e),"renderScrollMode",(function(){var t=e.state.dropdownVisible,n=[e.renderReadView(!t)];return t&&n.unshift(e.renderDropdown()),n})),wt(Dt(e),"onChange",(function(t){e.toggleDropdown();var n=Ft(parseInt(t));nn(e.props.date,n)&&rn(e.props.date,n)||e.props.onChange(n)})),wt(Dt(e),"toggleDropdown",(function(){return e.setState({dropdownVisible:!e.state.dropdownVisible})})),e}return xt(n,[{key:"render",value:function(){var e;switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode();break;case"select":e=this.renderSelectMode()}return he.default.createElement("div",{className:"react-datepicker__month-year-dropdown-container react-datepicker__month-year-dropdown-container--".concat(this.props.dropdownMode)},e)}}]),n}(he.default.Component),$n=function(e){St(n,e);var t=Tt(n);function n(){var e;_t(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return wt(Dt(e=t.call.apply(t,[this].concat(o))),"dayEl",he.default.createRef()),wt(Dt(e),"handleClick",(function(t){!e.isDisabled()&&e.props.onClick&&e.props.onClick(t)})),wt(Dt(e),"handleMouseEnter",(function(t){!e.isDisabled()&&e.props.onMouseEnter&&e.props.onMouseEnter(t)})),wt(Dt(e),"handleOnKeyDown",(function(t){" "===t.key&&(t.preventDefault(),t.key="Enter"),e.props.handleOnKeyDown(t)})),wt(Dt(e),"isSameDay",(function(t){return an(e.props.day,t)})),wt(Dt(e),"isKeyboardSelected",(function(){return!e.props.disabledKeyboardNavigation&&!e.isSameDay(e.props.selected)&&e.isSameDay(e.props.preSelection)})),wt(Dt(e),"isDisabled",(function(){return hn(e.props.day,e.props)})),wt(Dt(e),"isExcluded",(function(){return bn(e.props.day,e.props)})),wt(Dt(e),"getHighLightedClass",(function(t){var n=e.props,r=n.day,o=n.highlightDates;if(!o)return!1;var i=Ht(r,"MM.dd.yyyy");return o.get(i)})),wt(Dt(e),"isInRange",(function(){var t=e.props,n=t.day,r=t.startDate,o=t.endDate;return!(!r||!o)&&ln(n,r,o)})),wt(Dt(e),"isInSelectingRange",(function(){var t,n=e.props,r=n.day,o=n.selectsStart,i=n.selectsEnd,a=n.selectsRange,s=n.selectsDisabledDaysInRange,l=n.startDate,c=n.endDate,u=null!==(t=e.props.selectingDate)&&void 0!==t?t:e.props.preSelection;return!(!(o||i||a)||!u||!s&&e.isDisabled())&&(o&&c&&(pt.default(u,c)||sn(u,c))?ln(r,u,c):(i&&l&&(dt.default(u,l)||sn(u,l))||!(!a||!l||c||!dt.default(u,l)&&!sn(u,l)))&&ln(r,l,u))})),wt(Dt(e),"isSelectingRangeStart",(function(){var t;if(!e.isInSelectingRange())return!1;var n=e.props,r=n.day,o=n.startDate,i=n.selectsStart,a=null!==(t=e.props.selectingDate)&&void 0!==t?t:e.props.preSelection;return an(r,i?a:o)})),wt(Dt(e),"isSelectingRangeEnd",(function(){var t;if(!e.isInSelectingRange())return!1;var n=e.props,r=n.day,o=n.endDate,i=n.selectsEnd,a=n.selectsRange,s=null!==(t=e.props.selectingDate)&&void 0!==t?t:e.props.preSelection;return an(r,i||a?s:o)})),wt(Dt(e),"isRangeStart",(function(){var t=e.props,n=t.day,r=t.startDate,o=t.endDate;return!(!r||!o)&&an(r,n)})),wt(Dt(e),"isRangeEnd",(function(){var t=e.props,n=t.day,r=t.startDate,o=t.endDate;return!(!r||!o)&&an(o,n)})),wt(Dt(e),"isWeekend",(function(){var t=je.default(e.props.day);return 0===t||6===t})),wt(Dt(e),"isAfterMonth",(function(){return void 0!==e.props.month&&(e.props.month+1)%12===Re.default(e.props.day)})),wt(Dt(e),"isBeforeMonth",(function(){return void 0!==e.props.month&&(Re.default(e.props.day)+1)%12===e.props.month})),wt(Dt(e),"isCurrentDay",(function(){return e.isSameDay(Ft())})),wt(Dt(e),"isSelected",(function(){return e.isSameDay(e.props.selected)})),wt(Dt(e),"getClassNames",(function(t){var n=e.props.dayClassName?e.props.dayClassName(t):void 0;return be.default("react-datepicker__day",n,"react-datepicker__day--"+Qt(e.props.day),{"react-datepicker__day--disabled":e.isDisabled(),"react-datepicker__day--excluded":e.isExcluded(),"react-datepicker__day--selected":e.isSelected(),"react-datepicker__day--keyboard-selected":e.isKeyboardSelected(),"react-datepicker__day--range-start":e.isRangeStart(),"react-datepicker__day--range-end":e.isRangeEnd(),"react-datepicker__day--in-range":e.isInRange(),"react-datepicker__day--in-selecting-range":e.isInSelectingRange(),"react-datepicker__day--selecting-range-start":e.isSelectingRangeStart(),"react-datepicker__day--selecting-range-end":e.isSelectingRangeEnd(),"react-datepicker__day--today":e.isCurrentDay(),"react-datepicker__day--weekend":e.isWeekend(),"react-datepicker__day--outside-month":e.isAfterMonth()||e.isBeforeMonth()},e.getHighLightedClass("react-datepicker__day--highlighted"))})),wt(Dt(e),"getAriaLabel",(function(){var t=e.props,n=t.day,r=t.ariaLabelPrefixWhenEnabled,o=void 0===r?"Choose":r,i=t.ariaLabelPrefixWhenDisabled,a=void 0===i?"Not available":i,s=e.isDisabled()||e.isExcluded()?a:o;return"".concat(s," ").concat(Ht(n,"PPPP",e.props.locale))})),wt(Dt(e),"getTabIndex",(function(t,n){var r=t||e.props.selected,o=n||e.props.preSelection;return e.isKeyboardSelected()||e.isSameDay(r)&&an(o,r)?0:-1})),wt(Dt(e),"handleFocusDay",(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=!1;0===e.getTabIndex()&&!t.isInputFocused&&e.isSameDay(e.props.preSelection)&&(document.activeElement&&document.activeElement!==document.body||(n=!0),e.props.inline&&!e.props.shouldFocusDayInline&&(n=!1),e.props.containerRef&&e.props.containerRef.current&&e.props.containerRef.current.contains(document.activeElement)&&document.activeElement.classList.contains("react-datepicker__day")&&(n=!0)),n&&e.dayEl.current.focus({preventScroll:!0})})),wt(Dt(e),"renderDayContents",(function(){return e.props.monthShowsDuplicateDaysEnd&&e.isAfterMonth()||e.props.monthShowsDuplicateDaysStart&&e.isBeforeMonth()?null:e.props.renderDayContents?e.props.renderDayContents(Be.default(e.props.day),e.props.day):Be.default(e.props.day)})),wt(Dt(e),"render",(function(){return he.default.createElement("div",{ref:e.dayEl,className:e.getClassNames(e.props.day),onKeyDown:e.handleOnKeyDown,onClick:e.handleClick,onMouseEnter:e.handleMouseEnter,tabIndex:e.getTabIndex(),"aria-label":e.getAriaLabel(),role:"option","aria-disabled":e.isDisabled(),"aria-current":e.isCurrentDay()?"date":void 0,"aria-selected":e.isSelected()},e.renderDayContents())})),e}return xt(n,[{key:"componentDidMount",value:function(){this.handleFocusDay()}},{key:"componentDidUpdate",value:function(e){this.handleFocusDay(e)}}]),n}(he.default.Component),Vn=function(e){St(n,e);var t=Tt(n);function n(){var e;_t(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return wt(Dt(e=t.call.apply(t,[this].concat(o))),"handleClick",(function(t){e.props.onClick&&e.props.onClick(t)})),e}return xt(n,[{key:"render",value:function(){var e=this.props,t=e.weekNumber,n=e.ariaLabelPrefix,r=void 0===n?"week ":n,o={"react-datepicker__week-number":!0,"react-datepicker__week-number--clickable":!!e.onClick};return he.default.createElement("div",{className:be.default(o),"aria-label":"".concat(r," ").concat(this.props.weekNumber),onClick:this.handleClick},t)}}]),n}(he.default.Component),Xn=function(e){St(n,e);var t=Tt(n);function n(){var e;_t(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return wt(Dt(e=t.call.apply(t,[this].concat(o))),"handleDayClick",(function(t,n){e.props.onDayClick&&e.props.onDayClick(t,n)})),wt(Dt(e),"handleDayMouseEnter",(function(t){e.props.onDayMouseEnter&&e.props.onDayMouseEnter(t)})),wt(Dt(e),"handleWeekClick",(function(t,n,r){"function"==typeof e.props.onWeekSelect&&e.props.onWeekSelect(t,n,r),e.props.shouldCloseOnSelect&&e.props.setOpen(!1)})),wt(Dt(e),"formatWeekNumber",(function(t){return e.props.formatWeekNumber?e.props.formatWeekNumber(t):Xt(t)})),wt(Dt(e),"renderDays",(function(){var t=Gt(e.props.day,e.props.locale,e.props.calendarStartDay),n=[],r=e.formatWeekNumber(t);if(e.props.showWeekNumber){var o=e.props.onWeekSelect?e.handleWeekClick.bind(Dt(e),t,r):void 0;n.push(he.default.createElement(Vn,{key:"W",weekNumber:r,onClick:o,ariaLabelPrefix:e.props.ariaLabelPrefix}))}return n.concat([0,1,2,3,4,5,6].map((function(n){var r=Me.default(t,n);return he.default.createElement($n,{ariaLabelPrefixWhenEnabled:e.props.chooseDayAriaLabelPrefix,ariaLabelPrefixWhenDisabled:e.props.disabledDayAriaLabelPrefix,key:r.valueOf(),day:r,month:e.props.month,onClick:e.handleDayClick.bind(Dt(e),r),onMouseEnter:e.handleDayMouseEnter.bind(Dt(e),r),minDate:e.props.minDate,maxDate:e.props.maxDate,excludeDates:e.props.excludeDates,excludeDateIntervals:e.props.excludeDateIntervals,includeDates:e.props.includeDates,includeDateIntervals:e.props.includeDateIntervals,highlightDates:e.props.highlightDates,selectingDate:e.props.selectingDate,filterDate:e.props.filterDate,preSelection:e.props.preSelection,selected:e.props.selected,selectsStart:e.props.selectsStart,selectsEnd:e.props.selectsEnd,selectsRange:e.props.selectsRange,selectsDisabledDaysInRange:e.props.selectsDisabledDaysInRange,startDate:e.props.startDate,endDate:e.props.endDate,dayClassName:e.props.dayClassName,renderDayContents:e.props.renderDayContents,disabledKeyboardNavigation:e.props.disabledKeyboardNavigation,handleOnKeyDown:e.props.handleOnKeyDown,isInputFocused:e.props.isInputFocused,containerRef:e.props.containerRef,inline:e.props.inline,shouldFocusDayInline:e.props.shouldFocusDayInline,monthShowsDuplicateDaysEnd:e.props.monthShowsDuplicateDaysEnd,monthShowsDuplicateDaysStart:e.props.monthShowsDuplicateDaysStart,locale:e.props.locale})})))})),e}return xt(n,[{key:"render",value:function(){return he.default.createElement("div",{className:"react-datepicker__week"},this.renderDays())}}],[{key:"defaultProps",get:function(){return{shouldCloseOnSelect:!0}}}]),n}(he.default.Component),Qn=function(e){St(n,e);var t=Tt(n);function n(){var e;_t(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return wt(Dt(e=t.call.apply(t,[this].concat(o))),"MONTH_REFS",jt(Array(12)).map((function(){return he.default.createRef()}))),wt(Dt(e),"QUARTER_REFS",jt(Array(4)).map((function(){return he.default.createRef()}))),wt(Dt(e),"isDisabled",(function(t){return hn(t,e.props)})),wt(Dt(e),"isExcluded",(function(t){return bn(t,e.props)})),wt(Dt(e),"handleDayClick",(function(t,n){e.props.onDayClick&&e.props.onDayClick(t,n,e.props.orderInDisplay)})),wt(Dt(e),"handleDayMouseEnter",(function(t){e.props.onDayMouseEnter&&e.props.onDayMouseEnter(t)})),wt(Dt(e),"handleMouseLeave",(function(){e.props.onMouseLeave&&e.props.onMouseLeave()})),wt(Dt(e),"isRangeStartMonth",(function(t){var n=e.props,r=n.day,o=n.startDate,i=n.endDate;return!(!o||!i)&&rn(Ze.default(r,t),o)})),wt(Dt(e),"isRangeStartQuarter",(function(t){var n=e.props,r=n.day,o=n.startDate,i=n.endDate;return!(!o||!i)&&on(He.default(r,t),o)})),wt(Dt(e),"isRangeEndMonth",(function(t){var n=e.props,r=n.day,o=n.startDate,i=n.endDate;return!(!o||!i)&&rn(Ze.default(r,t),i)})),wt(Dt(e),"isRangeEndQuarter",(function(t){var n=e.props,r=n.day,o=n.startDate,i=n.endDate;return!(!o||!i)&&on(He.default(r,t),i)})),wt(Dt(e),"isWeekInMonth",(function(t){var n=e.props.day,r=Me.default(t,6);return rn(t,n)||rn(r,n)})),wt(Dt(e),"isCurrentMonth",(function(e,t){return Pe.default(e)===Pe.default(Ft())&&t===Re.default(Ft())})),wt(Dt(e),"isCurrentQuarter",(function(e,t){return Pe.default(e)===Pe.default(Ft())&&t===qe.default(Ft())})),wt(Dt(e),"isSelectedMonth",(function(e,t,n){return Re.default(e)===t&&Pe.default(e)===Pe.default(n)})),wt(Dt(e),"isSelectedQuarter",(function(e,t,n){return qe.default(e)===t&&Pe.default(e)===Pe.default(n)})),wt(Dt(e),"renderWeeks",(function(){for(var t=[],n=e.props.fixedHeight,r=0,o=!1,i=Gt(Kt(e.props.day),e.props.locale,e.props.calendarStartDay);t.push(he.default.createElement(Xn,{ariaLabelPrefix:e.props.weekAriaLabelPrefix,chooseDayAriaLabelPrefix:e.props.chooseDayAriaLabelPrefix,disabledDayAriaLabelPrefix:e.props.disabledDayAriaLabelPrefix,key:r,day:i,month:Re.default(e.props.day),onDayClick:e.handleDayClick,onDayMouseEnter:e.handleDayMouseEnter,onWeekSelect:e.props.onWeekSelect,formatWeekNumber:e.props.formatWeekNumber,locale:e.props.locale,minDate:e.props.minDate,maxDate:e.props.maxDate,excludeDates:e.props.excludeDates,excludeDateIntervals:e.props.excludeDateIntervals,includeDates:e.props.includeDates,includeDateIntervals:e.props.includeDateIntervals,inline:e.props.inline,shouldFocusDayInline:e.props.shouldFocusDayInline,highlightDates:e.props.highlightDates,selectingDate:e.props.selectingDate,filterDate:e.props.filterDate,preSelection:e.props.preSelection,selected:e.props.selected,selectsStart:e.props.selectsStart,selectsEnd:e.props.selectsEnd,selectsRange:e.props.selectsRange,selectsDisabledDaysInRange:e.props.selectsDisabledDaysInRange,showWeekNumber:e.props.showWeekNumbers,startDate:e.props.startDate,endDate:e.props.endDate,dayClassName:e.props.dayClassName,setOpen:e.props.setOpen,shouldCloseOnSelect:e.props.shouldCloseOnSelect,disabledKeyboardNavigation:e.props.disabledKeyboardNavigation,renderDayContents:e.props.renderDayContents,handleOnKeyDown:e.props.handleOnKeyDown,isInputFocused:e.props.isInputFocused,containerRef:e.props.containerRef,calendarStartDay:e.props.calendarStartDay,monthShowsDuplicateDaysEnd:e.props.monthShowsDuplicateDaysEnd,monthShowsDuplicateDaysStart:e.props.monthShowsDuplicateDaysStart})),!o;){r++,i=Oe.default(i,1);var a=n&&r>=6,s=!n&&!e.isWeekInMonth(i);if(a||s){if(!e.props.peekNextMonth)break;o=!0}}return t})),wt(Dt(e),"onMonthClick",(function(t,n){e.handleDayClick(Kt(Ze.default(e.props.day,n)),t)})),wt(Dt(e),"handleMonthNavigation",(function(t,n){e.isDisabled(n)||e.isExcluded(n)||(e.props.setPreSelection(n),e.MONTH_REFS[t].current&&e.MONTH_REFS[t].current.focus())})),wt(Dt(e),"onMonthKeyDown",(function(t,n){t.preventDefault();var r=t.key;if(!e.props.disabledKeyboardNavigation)switch(r){case"Enter":e.onMonthClick(t,n),e.props.setPreSelection(e.props.selected);break;case"ArrowRight":e.handleMonthNavigation(11===n?0:n+1,_e.default(e.props.preSelection,1));break;case"ArrowLeft":e.handleMonthNavigation(0===n?11:n-1,Se.default(e.props.preSelection,1));break;case"ArrowUp":e.handleMonthNavigation(n>=0&&n<=2?n+9:n-3,Se.default(e.props.preSelection,3));break;case"ArrowDown":e.handleMonthNavigation(n>=9&&n<=11?n-9:n+3,_e.default(e.props.preSelection,3))}})),wt(Dt(e),"onQuarterClick",(function(t,n){e.handleDayClick(en(He.default(e.props.day,n)),t)})),wt(Dt(e),"handleQuarterNavigation",(function(t,n){e.isDisabled(n)||e.isExcluded(n)||(e.props.setPreSelection(n),e.QUARTER_REFS[t-1].current&&e.QUARTER_REFS[t-1].current.focus())})),wt(Dt(e),"onQuarterKeyDown",(function(t,n){var r=t.key;if(!e.props.disabledKeyboardNavigation)switch(r){case"Enter":e.onQuarterClick(t,n),e.props.setPreSelection(e.props.selected);break;case"ArrowRight":e.handleQuarterNavigation(4===n?1:n+1,ze.default(e.props.preSelection,1));break;case"ArrowLeft":e.handleQuarterNavigation(1===n?4:n-1,Ee.default(e.props.preSelection,1))}})),wt(Dt(e),"getMonthClassNames",(function(t){var n=e.props,r=n.day,o=n.startDate,i=n.endDate,a=n.selected,s=n.minDate,l=n.maxDate,c=n.preSelection,u=n.monthClassName,d=n.excludeDates,p=n.includeDates,f=u?u(Ze.default(r,t)):void 0,h=Ze.default(r,t);return be.default("react-datepicker__month-text","react-datepicker__month-".concat(t),f,{"react-datepicker__month--disabled":(s||l||d||p)&&An(h,e.props),"react-datepicker__month--selected":e.isSelectedMonth(r,t,a),"react-datepicker__month-text--keyboard-selected":!e.props.disabledKeyboardNavigation&&Re.default(c)===t,"react-datepicker__month--in-range":mn(o,i,t,r),"react-datepicker__month--range-start":e.isRangeStartMonth(t),"react-datepicker__month--range-end":e.isRangeEndMonth(t),"react-datepicker__month-text--today":e.isCurrentMonth(r,t)})})),wt(Dt(e),"getTabIndex",(function(t){var n=Re.default(e.props.preSelection);return e.props.disabledKeyboardNavigation||t!==n?"-1":"0"})),wt(Dt(e),"getQuarterTabIndex",(function(t){var n=qe.default(e.props.preSelection);return e.props.disabledKeyboardNavigation||t!==n?"-1":"0"})),wt(Dt(e),"getAriaLabel",(function(t){var n=e.props,r=n.chooseDayAriaLabelPrefix,o=void 0===r?"Choose":r,i=n.disabledDayAriaLabelPrefix,a=void 0===i?"Not available":i,s=n.day,l=Ze.default(s,t),c=e.isDisabled(l)||e.isExcluded(l)?a:o;return"".concat(c," ").concat(Ht(l,"MMMM yyyy"))})),wt(Dt(e),"getQuarterClassNames",(function(t){var n=e.props,r=n.day,o=n.startDate,i=n.endDate,a=n.selected,s=n.minDate,l=n.maxDate,c=n.preSelection;return be.default("react-datepicker__quarter-text","react-datepicker__quarter-".concat(t),{"react-datepicker__quarter--disabled":(s||l)&&gn(He.default(r,t),e.props),"react-datepicker__quarter--selected":e.isSelectedQuarter(r,t,a),"react-datepicker__quarter-text--keyboard-selected":qe.default(c)===t,"react-datepicker__quarter--in-range":yn(o,i,t,r),"react-datepicker__quarter--range-start":e.isRangeStartQuarter(t),"react-datepicker__quarter--range-end":e.isRangeEndQuarter(t)})})),wt(Dt(e),"renderMonths",(function(){var t=e.props,n=t.showFullMonthYearPicker,r=t.showTwoColumnMonthYearPicker,o=t.showFourColumnMonthYearPicker,i=t.locale,a=t.day,s=t.selected;return(o?[[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(t,r){return he.default.createElement("div",{className:"react-datepicker__month-wrapper",key:r},t.map((function(t,r){return he.default.createElement("div",{ref:e.MONTH_REFS[t],key:r,onClick:function(n){e.onMonthClick(n,t)},onKeyDown:function(n){e.onMonthKeyDown(n,t)},tabIndex:e.getTabIndex(t),className:e.getMonthClassNames(t),role:"option","aria-label":e.getAriaLabel(t),"aria-current":e.isCurrentMonth(a,t)?"date":void 0,"aria-selected":e.isSelectedMonth(a,t,s)},n?dn(t,i):pn(t,i))})))}))})),wt(Dt(e),"renderQuarters",(function(){var t=e.props,n=t.day,r=t.selected;return he.default.createElement("div",{className:"react-datepicker__quarter-wrapper"},[1,2,3,4].map((function(t,o){return he.default.createElement("div",{key:o,ref:e.QUARTER_REFS[o],role:"option",onClick:function(n){e.onQuarterClick(n,t)},onKeyDown:function(n){e.onQuarterKeyDown(n,t)},className:e.getQuarterClassNames(t),"aria-selected":e.isSelectedQuarter(n,t,r),tabIndex:e.getQuarterTabIndex(t),"aria-current":e.isCurrentQuarter(n,t)?"date":void 0},fn(t,e.props.locale))})))})),wt(Dt(e),"getClassNames",(function(){var t=e.props;t.day;var n=t.selectingDate,r=t.selectsStart,o=t.selectsEnd,i=t.showMonthYearPicker,a=t.showQuarterYearPicker;return be.default("react-datepicker__month",{"react-datepicker__month--selecting-range":n&&(r||o)},{"react-datepicker__monthPicker":i},{"react-datepicker__quarterPicker":a})})),e}return xt(n,[{key:"render",value:function(){var e=this.props,t=e.showMonthYearPicker,n=e.showQuarterYearPicker,r=e.day,o=e.ariaLabelPrefix,i=void 0===o?"month ":o;return he.default.createElement("div",{className:this.getClassNames(),onMouseLeave:this.handleMouseLeave,"aria-label":"".concat(i," ").concat(Ht(r,"yyyy-MM")),role:"listbox"},t?this.renderMonths():n?this.renderQuarters():this.renderWeeks())}}]),n}(he.default.Component),Yn=function(e){St(n,e);var t=Tt(n);function n(){var e;_t(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return wt(Dt(e=t.call.apply(t,[this].concat(o))),"state",{height:null}),wt(Dt(e),"handleClick",(function(t){(e.props.minTime||e.props.maxTime)&&zn(t,e.props)||(e.props.excludeTimes||e.props.includeTimes||e.props.filterTime)&&_n(t,e.props)||e.props.onChange(t)})),wt(Dt(e),"isSelectedTime",(function(t,n,r){return e.props.selected&&n===Te.default(t)&&r===Ne.default(t)})),wt(Dt(e),"liClasses",(function(t,n,r){var o=["react-datepicker__time-list-item",e.props.timeClassName?e.props.timeClassName(t,n,r):void 0];return e.isSelectedTime(t,n,r)&&o.push("react-datepicker__time-list-item--selected"),((e.props.minTime||e.props.maxTime)&&zn(t,e.props)||(e.props.excludeTimes||e.props.includeTimes||e.props.filterTime)&&_n(t,e.props))&&o.push("react-datepicker__time-list-item--disabled"),e.props.injectTimes&&(60*Te.default(t)+Ne.default(t))%e.props.intervals!=0&&o.push("react-datepicker__time-list-item--injected"),o.join(" ")})),wt(Dt(e),"handleOnKeyDown",(function(t,n){" "===t.key&&(t.preventDefault(),t.key="Enter"),"Enter"===t.key&&e.handleClick(n),e.props.handleOnKeyDown(t)})),wt(Dt(e),"renderTimes",(function(){for(var t=[],n=e.props.format?e.props.format:"p",r=e.props.intervals,o=Yt(Ft(e.props.selected)),i=1440/r,a=e.props.injectTimes&&e.props.injectTimes.sort((function(e,t){return e-t})),s=e.props.selected||e.props.openToDate||Ft(),l=Te.default(s),c=Ne.default(s),u=Ue.default(Fe.default(o,c),l),d=0;d<i;d++){var p=ve.default(o,d*r);if(t.push(p),a){var f=Nn(o,p,d,r,a);t=t.concat(f)}}return t.map((function(t,r){return he.default.createElement("li",{key:r,onClick:e.handleClick.bind(Dt(e),t),className:e.liClasses(t,l,c),ref:function(n){(pt.default(t,u)||sn(t,u))&&(e.centerLi=n)},onKeyDown:function(n){e.handleOnKeyDown(n,t)},tabIndex:"0","aria-selected":e.isSelectedTime(t,l,c)?"true":void 0},Ht(t,n,e.props.locale))}))})),e}return xt(n,[{key:"componentDidMount",value:function(){this.list.scrollTop=this.centerLi&&n.calcCenterPosition(this.props.monthRef?this.props.monthRef.clientHeight-this.header.clientHeight:this.list.clientHeight,this.centerLi),this.props.monthRef&&this.header&&this.setState({height:this.props.monthRef.clientHeight-this.header.clientHeight})}},{key:"render",value:function(){var e=this,t=this.state.height;return he.default.createElement("div",{className:"react-datepicker__time-container ".concat(this.props.todayButton?"react-datepicker__time-container--with-today-button":"")},he.default.createElement("div",{className:"react-datepicker__header react-datepicker__header--time ".concat(this.props.showTimeSelectOnly?"react-datepicker__header--time--only":""),ref:function(t){e.header=t}},he.default.createElement("div",{className:"react-datepicker-time__header"},this.props.timeCaption)),he.default.createElement("div",{className:"react-datepicker__time"},he.default.createElement("div",{className:"react-datepicker__time-box"},he.default.createElement("ul",{className:"react-datepicker__time-list",ref:function(t){e.list=t},style:t?{height:t}:{},tabIndex:"0"},this.renderTimes()))))}}],[{key:"defaultProps",get:function(){return{intervals:30,onTimeChange:function(){},todayButton:null,timeCaption:"Time"}}}]),n}(he.default.Component);wt(Yn,"calcCenterPosition",(function(e,t){return t.offsetTop-(e/2-t.clientHeight/2)}));var Gn=function(e){St(n,e);var t=Tt(n);function n(e){var r;return _t(this,n),wt(Dt(r=t.call(this,e)),"YEAR_REFS",jt(Array(r.props.yearItemNumber)).map((function(){return he.default.createRef()}))),wt(Dt(r),"isDisabled",(function(e){return hn(e,r.props)})),wt(Dt(r),"isExcluded",(function(e){return bn(e,r.props)})),wt(Dt(r),"updateFocusOnPaginate",(function(e){var t=function(){this.YEAR_REFS[e].current.focus()}.bind(Dt(r));window.requestAnimationFrame(t)})),wt(Dt(r),"handleYearClick",(function(e,t){r.props.onDayClick&&r.props.onDayClick(e,t)})),wt(Dt(r),"handleYearNavigation",(function(e,t){var n=r.props,o=n.date,i=n.yearItemNumber,a=jn(o,i).startPeriod;r.isDisabled(t)||r.isExcluded(t)||(r.props.setPreSelection(t),e-a==-1?r.updateFocusOnPaginate(i-1):e-a===i?r.updateFocusOnPaginate(0):r.YEAR_REFS[e-a].current.focus())})),wt(Dt(r),"isSameDay",(function(e,t){return an(e,t)})),wt(Dt(r),"isCurrentYear",(function(e){return e===Pe.default(Ft())})),wt(Dt(r),"isKeyboardSelected",(function(e){var t=Jt($e.default(r.props.date,e));return!r.props.disabledKeyboardNavigation&&!r.props.inline&&!an(t,Jt(r.props.selected))&&an(t,Jt(r.props.preSelection))})),wt(Dt(r),"onYearClick",(function(e,t){var n=r.props.date;r.handleYearClick(Jt($e.default(n,t)),e)})),wt(Dt(r),"onYearKeyDown",(function(e,t){var n=e.key;if(!r.props.disabledKeyboardNavigation)switch(n){case"Enter":r.onYearClick(e,t),r.props.setPreSelection(r.props.selected);break;case"ArrowRight":r.handleYearNavigation(t+1,xe.default(r.props.preSelection,1));break;case"ArrowLeft":r.handleYearNavigation(t-1,ke.default(r.props.preSelection,1))}})),wt(Dt(r),"getYearClassNames",(function(e){var t=r.props,n=t.minDate,o=t.maxDate,i=t.selected,a=t.excludeDates,s=t.includeDates,l=t.filterDate;return be.default("react-datepicker__year-text",{"react-datepicker__year-text--selected":e===Pe.default(i),"react-datepicker__year-text--disabled":(n||o||a||s||l)&&vn(e,r.props),"react-datepicker__year-text--keyboard-selected":r.isKeyboardSelected(e),"react-datepicker__year-text--today":r.isCurrentYear(e)})})),wt(Dt(r),"getYearTabIndex",(function(e){return r.props.disabledKeyboardNavigation?"-1":e===Pe.default(r.props.preSelection)?"0":"-1"})),r}return xt(n,[{key:"render",value:function(){for(var e=this,t=[],n=this.props,r=jn(n.date,n.yearItemNumber),o=r.startPeriod,i=r.endPeriod,a=function(n){t.push(he.default.createElement("div",{ref:e.YEAR_REFS[n-o],onClick:function(t){e.onYearClick(t,n)},onKeyDown:function(t){e.onYearKeyDown(t,n)},tabIndex:e.getYearTabIndex(n),className:e.getYearClassNames(n),key:n,"aria-current":e.isCurrentYear(n)?"date":void 0},n))},s=o;s<=i;s++)a(s);return he.default.createElement("div",{className:"react-datepicker__year"},he.default.createElement("div",{className:"react-datepicker__year-wrapper"},t))}}]),n}(he.default.Component),Kn=function(e){St(n,e);var t=Tt(n);function n(e){var r;return _t(this,n),wt(Dt(r=t.call(this,e)),"onTimeChange",(function(e){r.setState({time:e});var t=new Date;t.setHours(e.split(":")[0]),t.setMinutes(e.split(":")[1]),r.props.onChange(t)})),wt(Dt(r),"renderTimeInput",(function(){var e=r.state.time,t=r.props,n=t.date,o=t.timeString,i=t.customTimeInput;return i?he.default.cloneElement(i,{date:n,value:e,onChange:r.onTimeChange}):he.default.createElement("input",{type:"time",className:"react-datepicker-time__input",placeholder:"Time",name:"time-input",required:!0,value:e,onChange:function(e){r.onTimeChange(e.target.value||o)}})})),r.state={time:r.props.timeString},r}return xt(n,[{key:"render",value:function(){return he.default.createElement("div",{className:"react-datepicker__input-time-container"},he.default.createElement("div",{className:"react-datepicker-time__caption"},this.props.timeInputLabel),he.default.createElement("div",{className:"react-datepicker-time__input-container"},he.default.createElement("div",{className:"react-datepicker-time__input"},this.renderTimeInput())))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.timeString!==t.time?{time:e.timeString}:null}}]),n}(he.default.Component);function Jn(e){var t=e.className,n=e.children,r=e.showPopperArrow,o=e.arrowProps,i=void 0===o?{}:o;return he.default.createElement("div",{className:t},r&&he.default.createElement("div",Ct({className:"react-datepicker__triangle"},i)),n)}var er=["react-datepicker__year-select","react-datepicker__month-select","react-datepicker__month-year-select"],tr=function(e){St(n,e);var t=Tt(n);function n(e){var r;return _t(this,n),wt(Dt(r=t.call(this,e)),"handleClickOutside",(function(e){r.props.onClickOutside(e)})),wt(Dt(r),"setClickOutsideRef",(function(){return r.containerRef.current})),wt(Dt(r),"handleDropdownFocus",(function(e){(function(){var e=((arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).className||"").split(/\s+/);return er.some((function(t){return e.indexOf(t)>=0}))})(e.target)&&r.props.onDropdownFocus()})),wt(Dt(r),"getDateInView",(function(){var e=r.props,t=e.preSelection,n=e.selected,o=e.openToDate,i=En(r.props),a=kn(r.props),s=Ft();return o||n||t||(i&&pt.default(s,i)?i:a&&dt.default(s,a)?a:s)})),wt(Dt(r),"increaseMonth",(function(){r.setState((function(e){var t=e.date;return{date:_e.default(t,1)}}),(function(){return r.handleMonthChange(r.state.date)}))})),wt(Dt(r),"decreaseMonth",(function(){r.setState((function(e){var t=e.date;return{date:Se.default(t,1)}}),(function(){return r.handleMonthChange(r.state.date)}))})),wt(Dt(r),"handleDayClick",(function(e,t,n){r.props.onSelect(e,t,n),r.props.setPreSelection&&r.props.setPreSelection(e)})),wt(Dt(r),"handleDayMouseEnter",(function(e){r.setState({selectingDate:e}),r.props.onDayMouseEnter&&r.props.onDayMouseEnter(e)})),wt(Dt(r),"handleMonthMouseLeave",(function(){r.setState({selectingDate:null}),r.props.onMonthMouseLeave&&r.props.onMonthMouseLeave()})),wt(Dt(r),"handleYearChange",(function(e){r.props.onYearChange&&(r.props.onYearChange(e),r.setState({isRenderAriaLiveMessage:!0})),r.props.adjustDateOnChange&&(r.props.onSelect&&r.props.onSelect(e),r.props.setOpen&&r.props.setOpen(!0)),r.props.setPreSelection&&r.props.setPreSelection(e)})),wt(Dt(r),"handleMonthChange",(function(e){r.props.onMonthChange&&(r.props.onMonthChange(e),r.setState({isRenderAriaLiveMessage:!0})),r.props.adjustDateOnChange&&(r.props.onSelect&&r.props.onSelect(e),r.props.setOpen&&r.props.setOpen(!0)),r.props.setPreSelection&&r.props.setPreSelection(e)})),wt(Dt(r),"handleMonthYearChange",(function(e){r.handleYearChange(e),r.handleMonthChange(e)})),wt(Dt(r),"changeYear",(function(e){r.setState((function(t){var n=t.date;return{date:$e.default(n,e)}}),(function(){return r.handleYearChange(r.state.date)}))})),wt(Dt(r),"changeMonth",(function(e){r.setState((function(t){var n=t.date;return{date:Ze.default(n,e)}}),(function(){return r.handleMonthChange(r.state.date)}))})),wt(Dt(r),"changeMonthYear",(function(e){r.setState((function(t){var n=t.date;return{date:$e.default(Ze.default(n,Re.default(e)),Pe.default(e))}}),(function(){return r.handleMonthYearChange(r.state.date)}))})),wt(Dt(r),"header",(function(){var e=Gt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.state.date,r.props.locale,r.props.calendarStartDay),t=[];return r.props.showWeekNumbers&&t.push(he.default.createElement("div",{key:"W",className:"react-datepicker__day-name"},r.props.weekLabel||"#")),t.concat([0,1,2,3,4,5,6].map((function(t){var n=Me.default(e,t),o=r.formatWeekday(n,r.props.locale),i=r.props.weekDayClassName?r.props.weekDayClassName(n):void 0;return he.default.createElement("div",{key:t,className:be.default("react-datepicker__day-name",i)},o)})))})),wt(Dt(r),"formatWeekday",(function(e,t){return r.props.formatWeekDay?function(e,t,n){return t(Ht(e,"EEEE",n))}(e,r.props.formatWeekDay,t):r.props.useWeekdaysShort?function(e,t){return Ht(e,"EEE",t)}(e,t):function(e,t){return Ht(e,"EEEEEE",t)}(e,t)})),wt(Dt(r),"decreaseYear",(function(){r.setState((function(e){var t=e.date;return{date:ke.default(t,r.props.showYearPicker?r.props.yearItemNumber:1)}}),(function(){return r.handleYearChange(r.state.date)}))})),wt(Dt(r),"renderPreviousButton",(function(){if(!r.props.renderCustomHeader){var e;switch(!0){case r.props.showMonthYearPicker:e=Cn(r.state.date,r.props);break;case r.props.showYearPicker:e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.yearItemNumber,o=void 0===r?It:r,i=jn(Jt(ke.default(e,o)),o).endPeriod,a=n&&Pe.default(n);return a&&a>i||!1}(r.state.date,r.props);break;default:e=xn(r.state.date,r.props)}if((r.props.forceShowMonthNavigation||r.props.showDisabledMonthNavigation||!e)&&!r.props.showTimeSelectOnly){var t=["react-datepicker__navigation","react-datepicker__navigation--previous"],n=r.decreaseMonth;(r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker)&&(n=r.decreaseYear),e&&r.props.showDisabledMonthNavigation&&(t.push("react-datepicker__navigation--previous--disabled"),n=null);var o=r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker,i=r.props,a=i.previousMonthButtonLabel,s=i.previousYearButtonLabel,l=r.props,c=l.previousMonthAriaLabel,u=void 0===c?"string"==typeof a?a:"Previous Month":c,d=l.previousYearAriaLabel,p=void 0===d?"string"==typeof s?s:"Previous Year":d;return he.default.createElement("button",{type:"button",className:t.join(" "),onClick:n,onKeyDown:r.props.handleOnKeyDown,"aria-label":o?p:u},he.default.createElement("span",{className:["react-datepicker__navigation-icon","react-datepicker__navigation-icon--previous"].join(" ")},o?r.props.previousYearButtonLabel:r.props.previousMonthButtonLabel))}}})),wt(Dt(r),"increaseYear",(function(){r.setState((function(e){var t=e.date;return{date:xe.default(t,r.props.showYearPicker?r.props.yearItemNumber:1)}}),(function(){return r.handleYearChange(r.state.date)}))})),wt(Dt(r),"renderNextButton",(function(){if(!r.props.renderCustomHeader){var e;switch(!0){case r.props.showMonthYearPicker:e=Sn(r.state.date,r.props);break;case r.props.showYearPicker:e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.maxDate,r=t.yearItemNumber,o=void 0===r?It:r,i=jn(xe.default(e,o),o).startPeriod,a=n&&Pe.default(n);return a&&a<i||!1}(r.state.date,r.props);break;default:e=wn(r.state.date,r.props)}if((r.props.forceShowMonthNavigation||r.props.showDisabledMonthNavigation||!e)&&!r.props.showTimeSelectOnly){var t=["react-datepicker__navigation","react-datepicker__navigation--next"];r.props.showTimeSelect&&t.push("react-datepicker__navigation--next--with-time"),r.props.todayButton&&t.push("react-datepicker__navigation--next--with-today-button");var n=r.increaseMonth;(r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker)&&(n=r.increaseYear),e&&r.props.showDisabledMonthNavigation&&(t.push("react-datepicker__navigation--next--disabled"),n=null);var o=r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker,i=r.props,a=i.nextMonthButtonLabel,s=i.nextYearButtonLabel,l=r.props,c=l.nextMonthAriaLabel,u=void 0===c?"string"==typeof a?a:"Next Month":c,d=l.nextYearAriaLabel,p=void 0===d?"string"==typeof s?s:"Next Year":d;return he.default.createElement("button",{type:"button",className:t.join(" "),onClick:n,onKeyDown:r.props.handleOnKeyDown,"aria-label":o?p:u},he.default.createElement("span",{className:["react-datepicker__navigation-icon","react-datepicker__navigation-icon--next"].join(" ")},o?r.props.nextYearButtonLabel:r.props.nextMonthButtonLabel))}}})),wt(Dt(r),"renderCurrentMonth",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.state.date,t=["react-datepicker__current-month"];return r.props.showYearDropdown&&t.push("react-datepicker__current-month--hasYearDropdown"),r.props.showMonthDropdown&&t.push("react-datepicker__current-month--hasMonthDropdown"),r.props.showMonthYearDropdown&&t.push("react-datepicker__current-month--hasMonthYearDropdown"),he.default.createElement("div",{className:t.join(" ")},Ht(e,r.props.dateFormat,r.props.locale))})),wt(Dt(r),"renderYearDropdown",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(r.props.showYearDropdown&&!e)return he.default.createElement(qn,{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:Pe.default(r.state.date),scrollableYearDropdown:r.props.scrollableYearDropdown,yearDropdownItemNumber:r.props.yearDropdownItemNumber})})),wt(Dt(r),"renderMonthDropdown",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(r.props.showMonthDropdown&&!e)return he.default.createElement(Wn,{dropdownMode:r.props.dropdownMode,locale:r.props.locale,onChange:r.changeMonth,month:Re.default(r.state.date),useShortMonthInDropdown:r.props.useShortMonthInDropdown})})),wt(Dt(r),"renderMonthYearDropdown",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(r.props.showMonthYearDropdown&&!e)return he.default.createElement(Hn,{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})})),wt(Dt(r),"handleTodayButtonClick",(function(e){r.props.onSelect(tn(),e),r.props.setPreSelection&&r.props.setPreSelection(tn())})),wt(Dt(r),"renderTodayButton",(function(){if(r.props.todayButton&&!r.props.showTimeSelectOnly)return he.default.createElement("div",{className:"react-datepicker__today-button",onClick:function(e){return r.handleTodayButtonClick(e)}},r.props.todayButton)})),wt(Dt(r),"renderDefaultHeader",(function(e){var t=e.monthDate,n=e.i;return he.default.createElement("div",{className:"react-datepicker__header ".concat(r.props.showTimeSelect?"react-datepicker__header--has-time-select":"")},r.renderCurrentMonth(t),he.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)),he.default.createElement("div",{className:"react-datepicker__day-names"},r.header(t)))})),wt(Dt(r),"renderCustomHeader",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.monthDate,n=e.i;if(r.props.showTimeSelect&&!r.state.monthContainer||r.props.showTimeSelectOnly)return null;var o=xn(r.state.date,r.props),i=wn(r.state.date,r.props),a=Cn(r.state.date,r.props),s=Sn(r.state.date,r.props),l=!r.props.showMonthYearPicker&&!r.props.showQuarterYearPicker&&!r.props.showYearPicker;return he.default.createElement("div",{className:"react-datepicker__header react-datepicker__header--custom",onFocus:r.props.onDropdownFocus},r.props.renderCustomHeader(Mt(Mt({},r.state),{},{customHeaderCount:n,monthDate:t,changeMonth:r.changeMonth,changeYear:r.changeYear,decreaseMonth:r.decreaseMonth,increaseMonth:r.increaseMonth,decreaseYear:r.decreaseYear,increaseYear:r.increaseYear,prevMonthButtonDisabled:o,nextMonthButtonDisabled:i,prevYearButtonDisabled:a,nextYearButtonDisabled:s})),l&&he.default.createElement("div",{className:"react-datepicker__day-names"},r.header(t)))})),wt(Dt(r),"renderYearHeader",(function(){var e=r.state.date,t=r.props,n=t.showYearPicker,o=jn(e,t.yearItemNumber),i=o.startPeriod,a=o.endPeriod;return he.default.createElement("div",{className:"react-datepicker__header react-datepicker-year-header"},n?"".concat(i," - ").concat(a):Pe.default(e))})),wt(Dt(r),"renderHeader",(function(e){switch(!0){case void 0!==r.props.renderCustomHeader:return r.renderCustomHeader(e);case r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker:return r.renderYearHeader(e);default:return r.renderDefaultHeader(e)}})),wt(Dt(r),"renderMonths",(function(){if(!r.props.showTimeSelectOnly&&!r.props.showYearPicker){for(var e=[],t=r.props.showPreviousMonths?r.props.monthsShown-1:0,n=Se.default(r.state.date,t),o=0;o<r.props.monthsShown;++o){var i=o-r.props.monthSelectedIn,a=_e.default(n,i),s="month-".concat(o),l=o<r.props.monthsShown-1,c=o>0;e.push(he.default.createElement("div",{key:s,ref:function(e){r.monthContainer=e},className:"react-datepicker__month-container"},r.renderHeader({monthDate:a,i:o}),he.default.createElement(Qn,{chooseDayAriaLabelPrefix:r.props.chooseDayAriaLabelPrefix,disabledDayAriaLabelPrefix:r.props.disabledDayAriaLabelPrefix,weekAriaLabelPrefix:r.props.weekAriaLabelPrefix,ariaLabelPrefix:r.props.monthAriaLabelPrefix,onChange:r.changeMonthYear,day:a,dayClassName:r.props.dayClassName,calendarStartDay:r.props.calendarStartDay,monthClassName:r.props.monthClassName,onDayClick:r.handleDayClick,handleOnKeyDown:r.props.handleOnDayKeyDown,onDayMouseEnter:r.handleDayMouseEnter,onMouseLeave:r.handleMonthMouseLeave,onWeekSelect:r.props.onWeekSelect,orderInDisplay:o,formatWeekNumber:r.props.formatWeekNumber,locale:r.props.locale,minDate:r.props.minDate,maxDate:r.props.maxDate,excludeDates:r.props.excludeDates,excludeDateIntervals:r.props.excludeDateIntervals,highlightDates:r.props.highlightDates,selectingDate:r.state.selectingDate,includeDates:r.props.includeDates,includeDateIntervals:r.props.includeDateIntervals,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,selectsDisabledDaysInRange:r.props.selectsDisabledDaysInRange,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:l,monthShowsDuplicateDaysStart:c})))}return e}})),wt(Dt(r),"renderYears",(function(){if(!r.props.showTimeSelectOnly)return r.props.showYearPicker?he.default.createElement("div",{className:"react-datepicker__year--container"},r.renderHeader(),he.default.createElement(Gn,Ct({onDayClick:r.handleDayClick,date:r.state.date},r.props))):void 0})),wt(Dt(r),"renderTimeSection",(function(){if(r.props.showTimeSelect&&(r.state.monthContainer||r.props.showTimeSelectOnly))return he.default.createElement(Yn,{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,handleOnKeyDown:r.props.handleOnKeyDown,showTimeSelectOnly:r.props.showTimeSelectOnly})})),wt(Dt(r),"renderInputTimeSection",(function(){var e=new Date(r.props.selected),t=Zt(e)&&Boolean(r.props.selected)?"".concat(Tn(e.getHours()),":").concat(Tn(e.getMinutes())):"";if(r.props.showTimeInput)return he.default.createElement(Kn,{date:e,timeString:t,timeInputLabel:r.props.timeInputLabel,onChange:r.props.onTimeChange,customTimeInput:r.props.customTimeInput})})),wt(Dt(r),"renderAriaLiveRegion",(function(){var e,t=jn(r.state.date,r.props.yearItemNumber),n=t.startPeriod,o=t.endPeriod;return e=r.props.showYearPicker?"".concat(n," - ").concat(o):r.props.showMonthYearPicker||r.props.showQuarterYearPicker?Pe.default(r.state.date):"".concat(dn(Re.default(r.state.date),r.props.locale)," ").concat(Pe.default(r.state.date)),he.default.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},r.state.isRenderAriaLiveMessage&&e)})),wt(Dt(r),"renderChildren",(function(){if(r.props.children)return he.default.createElement("div",{className:"react-datepicker__children-container"},r.props.children)})),r.containerRef=he.default.createRef(),r.state={date:r.getDateInView(),selectingDate:null,monthContainer:null,isRenderAriaLiveMessage:!1},r}return xt(n,[{key:"componentDidMount",value:function(){var e=this;this.props.showTimeSelect&&(this.assignMonthContainer=void e.setState({monthContainer:e.monthContainer}))}},{key:"componentDidUpdate",value:function(e){!this.props.preSelection||an(this.props.preSelection,e.preSelection)&&this.props.monthSelectedIn===e.monthSelectedIn?this.props.openToDate&&!an(this.props.openToDate,e.openToDate)&&this.setState({date:this.props.openToDate}):this.setState({date:this.props.preSelection})}},{key:"render",value:function(){var e=this.props.container||Jn;return he.default.createElement("div",{ref:this.containerRef},he.default.createElement(e,{className:be.default("react-datepicker",this.props.className,{"react-datepicker--time-only":this.props.showTimeSelectOnly}),showPopperArrow:this.props.showPopperArrow,arrowProps:this.props.arrowProps},this.renderAriaLiveRegion(),this.renderPreviousButton(),this.renderNextButton(),this.renderMonths(),this.renderYears(),this.renderTodayButton(),this.renderTimeSection(),this.renderInputTimeSection(),this.renderChildren()))}}],[{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:It}}}]),n}(he.default.Component),nr=function(e){St(n,e);var t=Tt(n);function n(e){var r;return _t(this,n),(r=t.call(this,e)).el=document.createElement("div"),r}return xt(n,[{key:"componentDidMount",value:function(){this.portalRoot=(this.props.portalHost||document).getElementById(this.props.portalId),this.portalRoot||(this.portalRoot=document.createElement("div"),this.portalRoot.setAttribute("id",this.props.portalId),(this.props.portalHost||document.body).appendChild(this.portalRoot)),this.portalRoot.appendChild(this.el)}},{key:"componentWillUnmount",value:function(){this.portalRoot.removeChild(this.el)}},{key:"render",value:function(){return gt.default.createPortal(this.props.children,this.el)}}]),n}(he.default.Component),rr=function(e){return!e.disabled&&-1!==e.tabIndex},or=function(e){St(n,e);var t=Tt(n);function n(e){var r;return _t(this,n),wt(Dt(r=t.call(this,e)),"getTabChildren",(function(){return Array.prototype.slice.call(r.tabLoopRef.current.querySelectorAll("[tabindex], a, button, input, select, textarea"),1,-1).filter(rr)})),wt(Dt(r),"handleFocusStart",(function(e){var t=r.getTabChildren();t&&t.length>1&&t[t.length-1].focus()})),wt(Dt(r),"handleFocusEnd",(function(e){var t=r.getTabChildren();t&&t.length>1&&t[0].focus()})),r.tabLoopRef=he.default.createRef(),r}return xt(n,[{key:"render",value:function(){return this.props.enableTabLoop?he.default.createElement("div",{className:"react-datepicker__tab-loop",ref:this.tabLoopRef},he.default.createElement("div",{className:"react-datepicker__tab-loop__start",tabIndex:"0",onFocus:this.handleFocusStart}),this.props.children,he.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}(he.default.Component),ir=function(e){St(n,e);var t=Tt(n);function n(){return _t(this,n),t.apply(this,arguments)}return xt(n,[{key:"render",value:function(){var e,t=this.props,n=t.className,r=t.wrapperClassName,o=t.hidePopper,i=t.popperComponent,a=t.popperModifiers,s=t.popperPlacement,l=t.popperProps,c=t.targetComponent,u=t.enableTabLoop,d=t.popperOnKeyDown,p=t.portalId,f=t.portalHost;if(!o){var h=be.default("react-datepicker-popper",n);e=he.default.createElement(de.Popper,Ct({modifiers:a,placement:s},l),(function(e){var t=e.ref,n=e.style,r=e.placement,o=e.arrowProps;return he.default.createElement(or,{enableTabLoop:u},he.default.createElement("div",{ref:t,style:n,className:h,"data-placement":r,onKeyDown:d},he.default.cloneElement(i,{arrowProps:o})))}))}this.props.popperContainer&&(e=he.default.createElement(this.props.popperContainer,{},e)),p&&!o&&(e=he.default.createElement(nr,{portalId:p,portalHost:f},e));var b=be.default("react-datepicker-wrapper",r);return he.default.createElement(de.Manager,{className:"react-datepicker-manager"},he.default.createElement(de.Reference,null,(function(e){var t=e.ref;return he.default.createElement("div",{ref:t,className:b},c)})),e)}}],[{key:"defaultProps",get:function(){return{hidePopper:!0,popperModifiers:[],popperProps:{},popperPlacement:"bottom-start"}}}]),n}(he.default.Component),ar="react-datepicker-ignore-onclickoutside",sr=mt.default(tr),lr="Date input not valid.",cr=function(e){St(n,e);var t=Tt(n);function n(e){var r;return _t(this,n),wt(Dt(r=t.call(this,e)),"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:Ft()})),wt(Dt(r),"calcInitialState",(function(){var e,t=r.getPreSelection(),n=En(r.props),o=kn(r.props),i=n&&pt.default(t,Ke.default(n))?n:o&&dt.default(t,rt.default(o))?o:t;return{open:r.props.startOpen||!1,preventFocus:!1,preSelection:null!==(e=r.props.selectsRange?r.props.startDate:r.props.selected)&&void 0!==e?e:i,highlightDates:Dn(r.props.highlightDates),focused:!1,shouldFocusDayInline:!1,isRenderAriaLiveMessage:!1}})),wt(Dt(r),"clearPreventFocusTimeout",(function(){r.preventFocusTimeout&&clearTimeout(r.preventFocusTimeout)})),wt(Dt(r),"setFocus",(function(){r.input&&r.input.focus&&r.input.focus({preventScroll:!0})})),wt(Dt(r),"setBlur",(function(){r.input&&r.input.blur&&r.input.blur(),r.cancelFocusInput()})),wt(Dt(r),"setOpen",(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];r.setState({open:e,preSelection:e&&r.state.open?r.state.preSelection:r.calcInitialState().preSelection,lastPreSelectChange:dr},(function(){e||r.setState((function(e){return{focused:!!t&&e.focused}}),(function(){!t&&r.setBlur(),r.setState({inputValue:null})}))}))})),wt(Dt(r),"inputOk",(function(){return Ae.default(r.state.preSelection)})),wt(Dt(r),"isCalendarOpen",(function(){return void 0===r.props.open?r.state.open&&!r.props.disabled&&!r.props.readOnly:r.props.open})),wt(Dt(r),"handleFocus",(function(e){r.state.preventFocus||(r.props.onFocus(e),r.props.preventOpenOnFocus||r.props.readOnly||r.setOpen(!0)),r.setState({focused:!0})})),wt(Dt(r),"cancelFocusInput",(function(){clearTimeout(r.inputFocusTimeout),r.inputFocusTimeout=null})),wt(Dt(r),"deferFocusInput",(function(){r.cancelFocusInput(),r.inputFocusTimeout=setTimeout((function(){return r.setFocus()}),1)})),wt(Dt(r),"handleDropdownFocus",(function(){r.cancelFocusInput()})),wt(Dt(r),"handleBlur",(function(e){(!r.state.open||r.props.withPortal||r.props.showTimeInput)&&r.props.onBlur(e),r.setState({focused:!1})})),wt(Dt(r),"handleCalendarClickOutside",(function(e){r.props.inline||r.setOpen(!1),r.props.onClickOutside(e),r.props.withPortal&&e.preventDefault()})),wt(Dt(r),"handleChange",(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t[0];if(!r.props.onChangeRaw||(r.props.onChangeRaw.apply(Dt(r),t),"function"==typeof o.isDefaultPrevented&&!o.isDefaultPrevented())){r.setState({inputValue:o.target.value,lastPreSelectChange:ur});var i=Ut(o.target.value,r.props.dateFormat,r.props.locale,r.props.strictParsing,r.props.minDate);r.props.showTimeSelectOnly&&!an(i,r.props.selected)&&(i=null==i?vt.default(r.props.selected,{hours:Te.default(r.props.selected),minutes:Ne.default(r.props.selected),seconds:De.default(r.props.selected)}):vt.default(r.props.selected,{hours:Te.default(i),minutes:Ne.default(i),seconds:De.default(i)})),!i&&o.target.value||r.setSelected(i,o,!0)}})),wt(Dt(r),"handleSelect",(function(e,t,n){if(r.setState({preventFocus:!0},(function(){return r.preventFocusTimeout=setTimeout((function(){return r.setState({preventFocus:!1})}),50),r.preventFocusTimeout})),r.props.onChangeRaw&&r.props.onChangeRaw(t),r.setSelected(e,t,!1,n),r.setState({isRenderAriaLiveMessage:!0}),!r.props.shouldCloseOnSelect||r.props.showTimeSelect)r.setPreSelection(e);else if(!r.props.inline){r.props.selectsRange||r.setOpen(!1);var o=r.props,i=o.startDate,a=o.endDate;!i||a||pt.default(e,i)||r.setOpen(!1)}})),wt(Dt(r),"setSelected",(function(e,t,n,o){var i=e;if(r.props.showYearPicker){if(null!==i&&vn(Pe.default(i),r.props))return}else if(r.props.showMonthYearPicker){if(null!==i&&An(i,r.props))return}else if(null!==i&&hn(i,r.props))return;var a=r.props,s=a.onChange,l=a.selectsRange,c=a.startDate,u=a.endDate;if(!sn(r.props.selected,i)||r.props.allowSameDay||l)if(null!==i&&(!r.props.selected||n&&(r.props.showTimeSelect||r.props.showTimeSelectOnly||r.props.showTimeInput)||(i=Vt(i,{hour:Te.default(r.props.selected),minute:Ne.default(r.props.selected),second:De.default(r.props.selected)})),r.props.inline||r.setState({preSelection:i}),r.props.focusSelectedMonth||r.setState({monthSelectedIn:o})),l){var d=c&&u;c||u?c&&!u&&(pt.default(i,c)?s([i,null],t):s([c,i],t)):s([i,null],t),d&&s([i,null],t)}else s(i,t);n||(r.props.onSelect(i,t),r.setState({inputValue:null}))})),wt(Dt(r),"setPreSelection",(function(e){var t=void 0!==r.props.minDate,n=void 0!==r.props.maxDate,o=!0;if(e){var i=Ke.default(e);if(t&&n)o=ln(e,r.props.minDate,r.props.maxDate);else if(t){var a=Ke.default(r.props.minDate);o=dt.default(e,a)||sn(i,a)}else if(n){var s=rt.default(r.props.maxDate);o=pt.default(e,s)||sn(i,s)}}o&&r.setState({preSelection:e})})),wt(Dt(r),"handleTimeChange",(function(e){var t=Vt(r.props.selected?r.props.selected:r.getPreSelection(),{hour:Te.default(e),minute:Ne.default(e)});r.setState({preSelection:t}),r.props.onChange(t),r.props.shouldCloseOnSelect&&r.setOpen(!1),r.props.showTimeInput&&r.setOpen(!0),(r.props.showTimeSelectOnly||r.props.showTimeSelect)&&r.setState({isRenderAriaLiveMessage:!0}),r.setState({inputValue:null})})),wt(Dt(r),"onInputClick",(function(){r.props.disabled||r.props.readOnly||r.setOpen(!0),r.props.onInputClick()})),wt(Dt(r),"onInputKeyDown",(function(e){r.props.onKeyDown(e);var t=e.key;if(r.state.open||r.props.inline||r.props.preventOpenOnFocus){if(r.state.open){if("ArrowDown"===t||"ArrowUp"===t){e.preventDefault();var n=r.calendar.componentNode&&r.calendar.componentNode.querySelector('.react-datepicker__day[tabindex="0"]');return void(n&&n.focus({preventScroll:!0}))}var o=Ft(r.state.preSelection);"Enter"===t?(e.preventDefault(),r.inputOk()&&r.state.lastPreSelectChange===dr?(r.handleSelect(o,e),!r.props.shouldCloseOnSelect&&r.setPreSelection(o)):r.setOpen(!1)):"Escape"===t&&(e.preventDefault(),r.setOpen(!1)),r.inputOk()||r.props.onInputError({code:1,msg:lr})}}else"ArrowDown"!==t&&"ArrowUp"!==t&&"Enter"!==t||r.onInputClick()})),wt(Dt(r),"onPortalKeyDown",(function(e){"Escape"===e.key&&(e.preventDefault(),r.setState({preventFocus:!0},(function(){r.setOpen(!1),setTimeout((function(){r.setFocus(),r.setState({preventFocus:!1})}))})))})),wt(Dt(r),"onDayKeyDown",(function(e){r.props.onKeyDown(e);var t=e.key,n=Ft(r.state.preSelection);if("Enter"===t)e.preventDefault(),r.handleSelect(n,e),!r.props.shouldCloseOnSelect&&r.setPreSelection(n);else if("Escape"===t)e.preventDefault(),r.setOpen(!1),r.inputOk()||r.props.onInputError({code:1,msg:lr});else if(!r.props.disabledKeyboardNavigation){var o;switch(t){case"ArrowLeft":o=we.default(n,1);break;case"ArrowRight":o=Me.default(n,1);break;case"ArrowUp":o=Ce.default(n,1);break;case"ArrowDown":o=Oe.default(n,1);break;case"PageUp":o=Se.default(n,1);break;case"PageDown":o=_e.default(n,1);break;case"Home":o=ke.default(n,1);break;case"End":o=xe.default(n,1)}if(!o)return void(r.props.onInputError&&r.props.onInputError({code:1,msg:lr}));if(e.preventDefault(),r.setState({lastPreSelectChange:dr}),r.props.adjustDateOnChange&&r.setSelected(o),r.setPreSelection(o),r.props.inline){var i=Re.default(n),a=Re.default(o),s=Pe.default(n),l=Pe.default(o);i!==a||s!==l?r.setState({shouldFocusDayInline:!0}):r.setState({shouldFocusDayInline:!1})}}})),wt(Dt(r),"onPopperKeyDown",(function(e){"Escape"===e.key&&(e.preventDefault(),r.setState({preventFocus:!0},(function(){r.setOpen(!1),setTimeout((function(){r.setFocus(),r.setState({preventFocus:!1})}))})))})),wt(Dt(r),"onClearClick",(function(e){e&&e.preventDefault&&e.preventDefault(),r.props.selectsRange?r.props.onChange([null,null],e):r.props.onChange(null,e),r.setState({inputValue:null})})),wt(Dt(r),"clear",(function(){r.onClearClick()})),wt(Dt(r),"onScroll",(function(e){"boolean"==typeof r.props.closeOnScroll&&r.props.closeOnScroll?e.target!==document&&e.target!==document.documentElement&&e.target!==document.body||r.setOpen(!1):"function"==typeof r.props.closeOnScroll&&r.props.closeOnScroll(e)&&r.setOpen(!1)})),wt(Dt(r),"renderCalendar",(function(){return r.props.inline||r.isCalendarOpen()?he.default.createElement(sr,{ref:function(e){r.calendar=e},locale:r.props.locale,calendarStartDay:r.props.calendarStartDay,chooseDayAriaLabelPrefix:r.props.chooseDayAriaLabelPrefix,disabledDayAriaLabelPrefix:r.props.disabledDayAriaLabelPrefix,weekAriaLabelPrefix:r.props.weekAriaLabelPrefix,monthAriaLabelPrefix:r.props.monthAriaLabelPrefix,adjustDateOnChange:r.props.adjustDateOnChange,setOpen:r.setOpen,shouldCloseOnSelect:r.props.shouldCloseOnSelect,dateFormat:r.props.dateFormatCalendar,useWeekdaysShort:r.props.useWeekdaysShort,formatWeekDay:r.props.formatWeekDay,dropdownMode:r.props.dropdownMode,selected:r.props.selected,preSelection:r.state.preSelection,onSelect:r.handleSelect,onWeekSelect:r.props.onWeekSelect,openToDate:r.props.openToDate,minDate:r.props.minDate,maxDate:r.props.maxDate,selectsStart:r.props.selectsStart,selectsEnd:r.props.selectsEnd,selectsRange:r.props.selectsRange,startDate:r.props.startDate,endDate:r.props.endDate,excludeDates:r.props.excludeDates,excludeDateIntervals:r.props.excludeDateIntervals,filterDate:r.props.filterDate,onClickOutside:r.handleCalendarClickOutside,formatWeekNumber:r.props.formatWeekNumber,highlightDates:r.state.highlightDates,includeDates:r.props.includeDates,includeDateIntervals:r.props.includeDateIntervals,includeTimes:r.props.includeTimes,injectTimes:r.props.injectTimes,inline:r.props.inline,shouldFocusDayInline:r.state.shouldFocusDayInline,peekNextMonth:r.props.peekNextMonth,showMonthDropdown:r.props.showMonthDropdown,showPreviousMonths:r.props.showPreviousMonths,useShortMonthInDropdown:r.props.useShortMonthInDropdown,showMonthYearDropdown:r.props.showMonthYearDropdown,showWeekNumbers:r.props.showWeekNumbers,showYearDropdown:r.props.showYearDropdown,withPortal:r.props.withPortal,forceShowMonthNavigation:r.props.forceShowMonthNavigation,showDisabledMonthNavigation:r.props.showDisabledMonthNavigation,scrollableYearDropdown:r.props.scrollableYearDropdown,scrollableMonthYearDropdown:r.props.scrollableMonthYearDropdown,todayButton:r.props.todayButton,weekLabel:r.props.weekLabel,outsideClickIgnoreClass:ar,fixedHeight:r.props.fixedHeight,monthsShown:r.props.monthsShown,monthSelectedIn:r.state.monthSelectedIn,onDropdownFocus:r.handleDropdownFocus,onMonthChange:r.props.onMonthChange,onYearChange:r.props.onYearChange,dayClassName:r.props.dayClassName,weekDayClassName:r.props.weekDayClassName,monthClassName:r.props.monthClassName,timeClassName:r.props.timeClassName,showTimeSelect:r.props.showTimeSelect,showTimeSelectOnly:r.props.showTimeSelectOnly,onTimeChange:r.handleTimeChange,timeFormat:r.props.timeFormat,timeIntervals:r.props.timeIntervals,minTime:r.props.minTime,maxTime:r.props.maxTime,excludeTimes:r.props.excludeTimes,filterTime:r.props.filterTime,timeCaption:r.props.timeCaption,className:r.props.calendarClassName,container:r.props.calendarContainer,yearItemNumber:r.props.yearItemNumber,yearDropdownItemNumber:r.props.yearDropdownItemNumber,previousMonthAriaLabel:r.props.previousMonthAriaLabel,previousMonthButtonLabel:r.props.previousMonthButtonLabel,nextMonthAriaLabel:r.props.nextMonthAriaLabel,nextMonthButtonLabel:r.props.nextMonthButtonLabel,previousYearAriaLabel:r.props.previousYearAriaLabel,previousYearButtonLabel:r.props.previousYearButtonLabel,nextYearAriaLabel:r.props.nextYearAriaLabel,nextYearButtonLabel:r.props.nextYearButtonLabel,timeInputLabel:r.props.timeInputLabel,disabledKeyboardNavigation:r.props.disabledKeyboardNavigation,renderCustomHeader:r.props.renderCustomHeader,popperProps:r.props.popperProps,renderDayContents:r.props.renderDayContents,onDayMouseEnter:r.props.onDayMouseEnter,onMonthMouseLeave:r.props.onMonthMouseLeave,selectsDisabledDaysInRange:r.props.selectsDisabledDaysInRange,showTimeInput:r.props.showTimeInput,showMonthYearPicker:r.props.showMonthYearPicker,showFullMonthYearPicker:r.props.showFullMonthYearPicker,showTwoColumnMonthYearPicker:r.props.showTwoColumnMonthYearPicker,showFourColumnMonthYearPicker:r.props.showFourColumnMonthYearPicker,showYearPicker:r.props.showYearPicker,showQuarterYearPicker:r.props.showQuarterYearPicker,showPopperArrow:r.props.showPopperArrow,excludeScrollbar:r.props.excludeScrollbar,handleOnKeyDown:r.props.onKeyDown,handleOnDayKeyDown:r.onDayKeyDown,isInputFocused:r.state.focused,customTimeInput:r.props.customTimeInput,setPreSelection:r.setPreSelection},r.props.children):null})),wt(Dt(r),"renderAriaLiveRegion",(function(){var e,t=r.props,n=t.dateFormat,o=t.locale,i=r.props.showTimeInput||r.props.showTimeSelect?"PPPPp":"PPPP";return e=r.props.selectsRange?"Selected start date: ".concat($t(r.props.startDate,{dateFormat:i,locale:o}),". ").concat(r.props.endDate?"End date: "+$t(r.props.endDate,{dateFormat:i,locale:o}):""):r.props.showTimeSelectOnly?"Selected time: ".concat($t(r.props.selected,{dateFormat:n,locale:o})):r.props.showYearPicker?"Selected year: ".concat($t(r.props.selected,{dateFormat:"yyyy",locale:o})):r.props.showMonthYearPicker?"Selected month: ".concat($t(r.props.selected,{dateFormat:"MMMM yyyy",locale:o})):r.props.showQuarterYearPicker?"Selected quarter: ".concat($t(r.props.selected,{dateFormat:"yyyy, QQQ",locale:o})):"Selected date: ".concat($t(r.props.selected,{dateFormat:i,locale:o})),he.default.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},r.state.isRenderAriaLiveMessage&&e)})),wt(Dt(r),"renderDateInput",(function(){var e,t=be.default(r.props.className,wt({},ar,r.state.open)),n=r.props.customInput||he.default.createElement("input",{type:"text"}),o=r.props.customInputRef||"ref",i="string"==typeof r.props.value?r.props.value:"string"==typeof r.state.inputValue?r.state.inputValue:r.props.selectsRange?function(e,t,n){if(!e)return"";var r=$t(e,n),o=t?$t(t,n):"";return"".concat(r," - ").concat(o)}(r.props.startDate,r.props.endDate,r.props):$t(r.props.selected,r.props);return he.default.cloneElement(n,(wt(e={},o,(function(e){r.input=e})),wt(e,"value",i),wt(e,"onBlur",r.handleBlur),wt(e,"onChange",r.handleChange),wt(e,"onClick",r.onInputClick),wt(e,"onFocus",r.handleFocus),wt(e,"onKeyDown",r.onInputKeyDown),wt(e,"id",r.props.id),wt(e,"name",r.props.name),wt(e,"form",r.props.form),wt(e,"autoFocus",r.props.autoFocus),wt(e,"placeholder",r.props.placeholderText),wt(e,"disabled",r.props.disabled),wt(e,"autoComplete",r.props.autoComplete),wt(e,"className",be.default(n.props.className,t)),wt(e,"title",r.props.title),wt(e,"readOnly",r.props.readOnly),wt(e,"required",r.props.required),wt(e,"tabIndex",r.props.tabIndex),wt(e,"aria-describedby",r.props.ariaDescribedBy),wt(e,"aria-invalid",r.props.ariaInvalid),wt(e,"aria-labelledby",r.props.ariaLabelledBy),wt(e,"aria-required",r.props.ariaRequired),e))})),wt(Dt(r),"renderClearButton",(function(){var e=r.props,t=e.isClearable,n=e.selected,o=e.startDate,i=e.endDate,a=e.clearButtonTitle,s=e.clearButtonClassName,l=void 0===s?"":s,c=e.ariaLabelClose,u=void 0===c?"Close":c;return!t||null==n&&null==o&&null==i?null:he.default.createElement("button",{type:"button",className:"react-datepicker__close-icon ".concat(l).trim(),"aria-label":u,onClick:r.onClearClick,title:a,tabIndex:-1})})),r.state=r.calcInitialState(),r}return xt(n,[{key:"componentDidMount",value:function(){window.addEventListener("scroll",this.onScroll,!0)}},{key:"componentDidUpdate",value:function(e,t){var n,r;e.inline&&(n=e.selected,r=this.props.selected,n&&r?Re.default(n)!==Re.default(r)||Pe.default(n)!==Pe.default(r):n!==r)&&this.setPreSelection(this.props.selected),void 0!==this.state.monthSelectedIn&&e.monthsShown!==this.props.monthsShown&&this.setState({monthSelectedIn:0}),e.highlightDates!==this.props.highlightDates&&this.setState({highlightDates:Dn(this.props.highlightDates)}),t.focused||sn(e.selected,this.props.selected)||this.setState({inputValue:null}),t.open!==this.state.open&&(!1===t.open&&!0===this.state.open&&this.props.onCalendarOpen(),!0===t.open&&!1===this.state.open&&this.props.onCalendarClose())}},{key:"componentWillUnmount",value:function(){this.clearPreventFocusTimeout(),window.removeEventListener("scroll",this.onScroll,!0)}},{key:"renderInputContainer",value:function(){var e=this.props.showIcon;return he.default.createElement("div",{className:"react-datepicker__input-container ".concat(e?"react-datepicker__view-calendar-icon":"")},e&&he.default.createElement("svg",{className:"react-datepicker__calendar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},he.default.createElement("path",{d:"M96 32V64H48C21.5 64 0 85.5 0 112v48H448V112c0-26.5-21.5-48-48-48H352V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V64H160V32c0-17.7-14.3-32-32-32S96 14.3 96 32zM448 192H0V464c0 26.5 21.5 48 48 48H400c26.5 0 48-21.5 48-48V192z"})),this.renderAriaLiveRegion(),this.renderDateInput(),this.renderClearButton())}},{key:"render",value:function(){var e=this.renderCalendar();if(this.props.inline)return e;if(this.props.withPortal){var t=this.state.open?he.default.createElement(or,{enableTabLoop:this.props.enableTabLoop},he.default.createElement("div",{className:"react-datepicker__portal",tabIndex:-1,onKeyDown:this.onPortalKeyDown},e)):null;return this.state.open&&this.props.portalId&&(t=he.default.createElement(nr,{portalId:this.props.portalId,portalHost:this.props.portalHost},t)),he.default.createElement("div",null,this.renderInputContainer(),t)}return he.default.createElement(ir,{className:this.props.popperClassName,wrapperClassName:this.props.wrapperClassName,hidePopper:!this.isCalendarOpen(),portalId:this.props.portalId,portalHost:this.props.portalHost,popperModifiers:this.props.popperModifiers,targetComponent:this.renderInputContainer(),popperContainer:this.props.popperContainer,popperComponent:e,popperPlacement:this.props.popperPlacement,popperProps:this.props.popperProps,popperOnKeyDown:this.onPopperKeyDown,enableTabLoop:this.props.enableTabLoop})}}],[{key:"defaultProps",get:function(){return{allowSameDay:!1,dateFormat:"MM/dd/yyyy",dateFormatCalendar:"LLLL yyyy",onChange:function(){},disabled:!1,disabledKeyboardNavigation:!1,dropdownMode:"scroll",onFocus:function(){},onBlur:function(){},onKeyDown:function(){},onInputClick:function(){},onSelect:function(){},onClickOutside:function(){},onMonthChange:function(){},onCalendarOpen:function(){},onCalendarClose:function(){},preventOpenOnFocus:!1,onYearChange:function(){},onInputError:function(){},monthsShown:1,readOnly:!1,withPortal:!1,selectsDisabledDaysInRange:!1,shouldCloseOnSelect:!0,showTimeSelect:!1,showTimeInput:!1,showPreviousMonths:!1,showMonthYearPicker:!1,showFullMonthYearPicker:!1,showTwoColumnMonthYearPicker:!1,showFourColumnMonthYearPicker:!1,showYearPicker:!1,showQuarterYearPicker:!1,strictParsing:!1,timeIntervals:30,timeCaption:"Time",previousMonthAriaLabel:"Previous Month",previousMonthButtonLabel:"Previous Month",nextMonthAriaLabel:"Next Month",nextMonthButtonLabel:"Next Month",previousYearAriaLabel:"Previous Year",previousYearButtonLabel:"Previous Year",nextYearAriaLabel:"Next Year",nextYearButtonLabel:"Next Year",timeInputLabel:"Time",enableTabLoop:!0,yearItemNumber:It,renderDayContents:function(e){return e},focusSelectedMonth:!1,showPopperArrow:!0,excludeScrollbar:!0,customTimeInput:null,calendarStartDay:void 0}}}]),n}(he.default.Component),ur="input",dr="navigate";e.CalendarContainer=Jn,e.default=cr,e.getDefaultLocale=cn,e.registerLocale=function(e,t){var n="undefined"!=typeof window?window:globalThis;n.__localeData__||(n.__localeData__={}),n.__localeData__[e]=t},e.setDefaultLocale=function(e){("undefined"!=typeof window?window:globalThis).__localeId__=e},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(47313),n(75192),n(46123),n(403),n(8859),n(89434),n(91469),n(60206),n(99004),n(78392),n(79254),n(46866),n(83618),n(35563),n(15574),n(85825),n(75160),n(66874),n(77801),n(1711),n(47403),n(66110),n(49593),n(76127),n(94836),n(80042),n(87910),n(68834),n(8121),n(42026),n(14228),n(77275),n(79364),n(68659),n(33897),n(20644),n(34193),n(32288),n(81419),n(70943),n(38898),n(57033),n(6021),n(59376),n(41156),n(54497),n(9519),n(56148),n(34605),n(98589),n(26537),n(88502),n(3051),n(98789),n(49301),n(11454),n(50567),n(33532),n(31700),n(93601),n(92197),n(50514),n(85290),n(1168),n(51875),n(10586))},20176:function(e,t,n){e.exports=n(41549)},64343:function(e,t,n){n(25866)},50642:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.PureCalendarDay=void 0;var o=r(n(45016)),i=r(n(10434)),a=r(n(66115)),s=r(n(7867)),l=(r(n(38416)),r(n(47313))),c=(r(n(75192)),r(n(92981)),n(96095),n(75385)),u=r(n(70816)),d=r(n(44903)),p=n(4667),f=(r(n(9257)),r(n(91451))),h=(r(n(29683)),n(64847));var b={day:(0,u.default)(),daySize:h.DAY_SIZE,isOutsideDay:!1,modifiers:new Set,isFocused:!1,tabIndex:-1,onDayClick:function(){},onDayMouseEnter:function(){},onDayMouseLeave:function(){},renderDayContents:null,ariaLabelFormat:"dddd, LL",phrases:p.CalendarDayPhrases},A=function(e){(0,s.default)(n,e);var t=n.prototype;function n(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).setButtonRef=t.setButtonRef.bind((0,a.default)(t)),t}return t[!l.default.PureComponent&&"shouldComponentUpdate"]=function(e,t){return!(0,o.default)(this.props,e)||!(0,o.default)(this.state,t)},t.componentDidUpdate=function(e){var t=this,n=this.props,r=n.isFocused,o=n.tabIndex;0===o&&(r||o!==e.tabIndex)&&(0,d.default)((function(){t.buttonRef&&t.buttonRef.focus()}))},t.onDayClick=function(e,t){var n=this.props.onDayClick;n(e,t)},t.onDayMouseEnter=function(e,t){var n=this.props.onDayMouseEnter;n(e,t)},t.onDayMouseLeave=function(e,t){var n=this.props.onDayMouseLeave;n(e,t)},t.onKeyDown=function(e,t){var n=this.props.onDayClick,r=t.key;"Enter"!==r&&" "!==r||n(e,t)},t.setButtonRef=function(e){this.buttonRef=e},t.render=function(){var e=this,t=this.props,n=t.day,r=t.ariaLabelFormat,o=t.daySize,a=t.isOutsideDay,s=t.modifiers,u=t.renderDayContents,d=t.tabIndex,p=t.styles,h=t.phrases;if(!n)return l.default.createElement("td",null);var b=(0,f.default)(n,r,o,s,h),A=b.daySizeStyles,m=b.useDefaultCursor,g=b.selected,v=b.hoveredSpan,y=b.isOutsideRange,M=b.ariaLabel;return l.default.createElement("td",(0,i.default)({},(0,c.css)(p.CalendarDay,m&&p.CalendarDay__defaultCursor,p.CalendarDay__default,a&&p.CalendarDay__outside,s.has("today")&&p.CalendarDay__today,s.has("first-day-of-week")&&p.CalendarDay__firstDayOfWeek,s.has("last-day-of-week")&&p.CalendarDay__lastDayOfWeek,s.has("hovered-offset")&&p.CalendarDay__hovered_offset,s.has("hovered-start-first-possible-end")&&p.CalendarDay__hovered_start_first_possible_end,s.has("hovered-start-blocked-minimum-nights")&&p.CalendarDay__hovered_start_blocked_min_nights,s.has("highlighted-calendar")&&p.CalendarDay__highlighted_calendar,s.has("blocked-minimum-nights")&&p.CalendarDay__blocked_minimum_nights,s.has("blocked-calendar")&&p.CalendarDay__blocked_calendar,v&&p.CalendarDay__hovered_span,s.has("after-hovered-start")&&p.CalendarDay__after_hovered_start,s.has("selected-span")&&p.CalendarDay__selected_span,s.has("selected-start")&&p.CalendarDay__selected_start,s.has("selected-end")&&p.CalendarDay__selected_end,g&&!s.has("selected-span")&&p.CalendarDay__selected,s.has("before-hovered-end")&&p.CalendarDay__before_hovered_end,s.has("no-selected-start-before-selected-end")&&p.CalendarDay__no_selected_start_before_selected_end,s.has("selected-start-in-hovered-span")&&p.CalendarDay__selected_start_in_hovered_span,s.has("selected-end-in-hovered-span")&&p.CalendarDay__selected_end_in_hovered_span,s.has("selected-start-no-selected-end")&&p.CalendarDay__selected_start_no_selected_end,s.has("selected-end-no-selected-start")&&p.CalendarDay__selected_end_no_selected_start,y&&p.CalendarDay__blocked_out_of_range,A),{role:"button",ref:this.setButtonRef,"aria-disabled":s.has("blocked"),"aria-label":M,onMouseEnter:function(t){e.onDayMouseEnter(n,t)},onMouseLeave:function(t){e.onDayMouseLeave(n,t)},onMouseUp:function(e){e.currentTarget.blur()},onClick:function(t){e.onDayClick(n,t)},onKeyDown:function(t){e.onKeyDown(n,t)},tabIndex:d}),u?u(n,s):n.format("D"))},n}(l.default.PureComponent||l.default.Component);t.PureCalendarDay=A,A.propTypes={},A.defaultProps=b;var m=(0,c.withStyles)((function(e){var t=e.reactDates,n=t.color;return{CalendarDay:{boxSizing:"border-box",cursor:"pointer",fontSize:t.font.size,textAlign:"center",":active":{outline:0}},CalendarDay__defaultCursor:{cursor:"default"},CalendarDay__default:{border:"1px solid ".concat(n.core.borderLight),color:n.text,background:n.background,":hover":{background:n.core.borderLight,border:"1px solid ".concat(n.core.borderLight),color:"inherit"}},CalendarDay__hovered_offset:{background:n.core.borderBright,border:"1px double ".concat(n.core.borderLight),color:"inherit"},CalendarDay__outside:{border:0,background:n.outside.backgroundColor,color:n.outside.color,":hover":{border:0}},CalendarDay__blocked_minimum_nights:{background:n.minimumNights.backgroundColor,border:"1px solid ".concat(n.minimumNights.borderColor),color:n.minimumNights.color,":hover":{background:n.minimumNights.backgroundColor_hover,color:n.minimumNights.color_active},":active":{background:n.minimumNights.backgroundColor_active,color:n.minimumNights.color_active}},CalendarDay__highlighted_calendar:{background:n.highlighted.backgroundColor,color:n.highlighted.color,":hover":{background:n.highlighted.backgroundColor_hover,color:n.highlighted.color_active},":active":{background:n.highlighted.backgroundColor_active,color:n.highlighted.color_active}},CalendarDay__selected_span:{background:n.selectedSpan.backgroundColor,border:"1px double ".concat(n.selectedSpan.borderColor),color:n.selectedSpan.color,":hover":{background:n.selectedSpan.backgroundColor_hover,border:"1px double ".concat(n.selectedSpan.borderColor),color:n.selectedSpan.color_active},":active":{background:n.selectedSpan.backgroundColor_active,border:"1px double ".concat(n.selectedSpan.borderColor),color:n.selectedSpan.color_active}},CalendarDay__selected:{background:n.selected.backgroundColor,border:"1px double ".concat(n.selected.borderColor),color:n.selected.color,":hover":{background:n.selected.backgroundColor_hover,border:"1px double ".concat(n.selected.borderColor),color:n.selected.color_active},":active":{background:n.selected.backgroundColor_active,border:"1px double ".concat(n.selected.borderColor),color:n.selected.color_active}},CalendarDay__hovered_span:{background:n.hoveredSpan.backgroundColor,border:"1px double ".concat(n.hoveredSpan.borderColor),color:n.hoveredSpan.color,":hover":{background:n.hoveredSpan.backgroundColor_hover,border:"1px double ".concat(n.hoveredSpan.borderColor),color:n.hoveredSpan.color_active},":active":{background:n.hoveredSpan.backgroundColor_active,border:"1px double ".concat(n.hoveredSpan.borderColor),color:n.hoveredSpan.color_active}},CalendarDay__blocked_calendar:{background:n.blocked_calendar.backgroundColor,border:"1px solid ".concat(n.blocked_calendar.borderColor),color:n.blocked_calendar.color,":hover":{background:n.blocked_calendar.backgroundColor_hover,border:"1px solid ".concat(n.blocked_calendar.borderColor),color:n.blocked_calendar.color_active},":active":{background:n.blocked_calendar.backgroundColor_active,border:"1px solid ".concat(n.blocked_calendar.borderColor),color:n.blocked_calendar.color_active}},CalendarDay__blocked_out_of_range:{background:n.blocked_out_of_range.backgroundColor,border:"1px solid ".concat(n.blocked_out_of_range.borderColor),color:n.blocked_out_of_range.color,":hover":{background:n.blocked_out_of_range.backgroundColor_hover,border:"1px solid ".concat(n.blocked_out_of_range.borderColor),color:n.blocked_out_of_range.color_active},":active":{background:n.blocked_out_of_range.backgroundColor_active,border:"1px solid ".concat(n.blocked_out_of_range.borderColor),color:n.blocked_out_of_range.color_active}},CalendarDay__hovered_start_first_possible_end:{background:n.core.borderLighter,border:"1px double ".concat(n.core.borderLighter)},CalendarDay__hovered_start_blocked_min_nights:{background:n.core.borderLighter,border:"1px double ".concat(n.core.borderLight)},CalendarDay__selected_start:{},CalendarDay__selected_end:{},CalendarDay__today:{},CalendarDay__firstDayOfWeek:{},CalendarDay__lastDayOfWeek:{},CalendarDay__after_hovered_start:{},CalendarDay__before_hovered_end:{},CalendarDay__no_selected_start_before_selected_end:{},CalendarDay__selected_start_in_hovered_span:{},CalendarDay__selected_end_in_hovered_span:{},CalendarDay__selected_start_no_selected_end:{},CalendarDay__selected_end_no_selected_start:{}}}),{pureComponent:"undefined"!==typeof l.default.PureComponent})(A);t.default=m},64033:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(47313)),i=function(e){return o.default.createElement("svg",e,o.default.createElement("path",{d:"m107 1393h241v-241h-241zm295 0h268v-241h-268zm-295-295h241v-268h-241zm295 0h268v-268h-268zm-295-321h241v-241h-241zm616 616h268v-241h-268zm-321-616h268v-241h-268zm643 616h241v-241h-241zm-322-295h268v-268h-268zm-294-723v-241c0-7-3-14-8-19-6-5-12-8-19-8h-54c-7 0-13 3-19 8-5 5-8 12-8 19v241c0 7 3 14 8 19 6 5 12 8 19 8h54c7 0 13-3 19-8 5-5 8-12 8-19zm616 723h241v-268h-241zm-322-321h268v-241h-268zm322 0h241v-241h-241zm27-402v-241c0-7-3-14-8-19-6-5-12-8-19-8h-54c-7 0-13 3-19 8-5 5-8 12-8 19v241c0 7 3 14 8 19 6 5 12 8 19 8h54c7 0 13-3 19-8 5-5 8-12 8-19zm321-54v1072c0 29-11 54-32 75s-46 32-75 32h-1179c-29 0-54-11-75-32s-32-46-32-75v-1072c0-29 11-54 32-75s46-32 75-32h107v-80c0-37 13-68 40-95s57-39 94-39h54c37 0 68 13 95 39 26 26 39 58 39 95v80h321v-80c0-37 13-69 40-95 26-26 57-39 94-39h54c37 0 68 13 94 39s40 58 40 95v80h107c29 0 54 11 75 32s32 46 32 75z"}))};i.defaultProps={focusable:"false",viewBox:"0 0 1393.1 1500"};var a=i;t.default=a},11658:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(45016)),i=r(n(10434)),a=r(n(66115)),s=r(n(7867)),l=(r(n(38416)),r(n(47313))),c=(r(n(75192)),r(n(92981)),n(96095),n(75385)),u=r(n(70816)),d=n(4667),p=(r(n(9257)),r(n(50734))),f=r(n(50642)),h=r(n(80085)),b=r(n(96756)),A=r(n(43996)),m=r(n(90474)),g=(r(n(29683)),r(n(69133)),r(n(12642)),n(64847));var v={month:(0,u.default)(),horizontalMonthPadding:13,isVisible:!0,enableOutsideDays:!1,modifiers:{},orientation:g.HORIZONTAL_ORIENTATION,daySize:g.DAY_SIZE,onDayClick:function(){},onDayMouseEnter:function(){},onDayMouseLeave:function(){},onMonthSelect:function(){},onYearSelect:function(){},renderMonthText:null,renderCalendarDay:function(e){return l.default.createElement(f.default,e)},renderDayContents:null,renderMonthElement:null,firstDayOfWeek:null,setMonthTitleHeight:null,focusedDate:null,isFocused:!1,monthFormat:"MMMM YYYY",phrases:d.CalendarDayPhrases,dayAriaLabelFormat:void 0,verticalBorderSpacing:void 0},y=function(e){(0,s.default)(n,e);var t=n.prototype;function n(t){var n;return(n=e.call(this,t)||this).state={weeks:(0,b.default)(t.month,t.enableOutsideDays,null==t.firstDayOfWeek?u.default.localeData().firstDayOfWeek():t.firstDayOfWeek)},n.setCaptionRef=n.setCaptionRef.bind((0,a.default)(n)),n.setMonthTitleHeight=n.setMonthTitleHeight.bind((0,a.default)(n)),n}return t[!l.default.PureComponent&&"shouldComponentUpdate"]=function(e,t){return!(0,o.default)(this.props,e)||!(0,o.default)(this.state,t)},t.componentDidMount=function(){this.setMonthTitleHeightTimeout=setTimeout(this.setMonthTitleHeight,0)},t.componentWillReceiveProps=function(e){var t=e.month,n=e.enableOutsideDays,r=e.firstDayOfWeek,o=this.props,i=o.month,a=o.enableOutsideDays,s=o.firstDayOfWeek;t.isSame(i)&&n===a&&r===s||this.setState({weeks:(0,b.default)(t,n,null==r?u.default.localeData().firstDayOfWeek():r)})},t.componentWillUnmount=function(){this.setMonthTitleHeightTimeout&&clearTimeout(this.setMonthTitleHeightTimeout)},t.setMonthTitleHeight=function(){var e=this.props.setMonthTitleHeight;e&&e((0,h.default)(this.captionRef,"height",!0,!0))},t.setCaptionRef=function(e){this.captionRef=e},t.render=function(){var e=this.props,t=e.dayAriaLabelFormat,n=e.daySize,r=e.focusedDate,o=e.horizontalMonthPadding,a=e.isFocused,s=e.isVisible,u=e.modifiers,d=e.month,f=e.monthFormat,h=e.onDayClick,b=e.onDayMouseEnter,v=e.onDayMouseLeave,y=e.onMonthSelect,M=e.onYearSelect,O=e.orientation,_=e.phrases,z=e.renderCalendarDay,x=e.renderDayContents,w=e.renderMonthElement,C=e.renderMonthText,S=e.styles,E=e.verticalBorderSpacing,k=this.state.weeks,D=C?C(d):d.format(f),N=O===g.VERTICAL_SCROLLABLE;return l.default.createElement("div",(0,i.default)({},(0,c.css)(S.CalendarMonth,{padding:"0 ".concat(o,"px")}),{"data-visible":s}),l.default.createElement("div",(0,i.default)({ref:this.setCaptionRef},(0,c.css)(S.CalendarMonth_caption,N&&S.CalendarMonth_caption__verticalScrollable)),w?w({month:d,onMonthSelect:y,onYearSelect:M,isVisible:s}):l.default.createElement("strong",null,D)),l.default.createElement("table",(0,i.default)({},(0,c.css)(!E&&S.CalendarMonth_table,E&&S.CalendarMonth_verticalSpacing,E&&{borderSpacing:"0px ".concat(E,"px")}),{role:"presentation"}),l.default.createElement("tbody",null,k.map((function(e,o){return l.default.createElement(p.default,{key:o},e.map((function(e,o){return z({key:o,day:e,daySize:n,isOutsideDay:!e||e.month()!==d.month(),tabIndex:s&&(0,A.default)(e,r)?0:-1,isFocused:a,onDayMouseEnter:b,onDayMouseLeave:v,onDayClick:h,renderDayContents:x,phrases:_,modifiers:u[(0,m.default)(e)],ariaLabelFormat:t})})))})))))},n}(l.default.PureComponent||l.default.Component);y.propTypes={},y.defaultProps=v;var M=(0,c.withStyles)((function(e){var t=e.reactDates,n=t.color,r=t.font,o=t.spacing;return{CalendarMonth:{background:n.background,textAlign:"center",verticalAlign:"top",userSelect:"none"},CalendarMonth_table:{borderCollapse:"collapse",borderSpacing:0},CalendarMonth_verticalSpacing:{borderCollapse:"separate"},CalendarMonth_caption:{color:n.text,fontSize:r.captionSize,textAlign:"center",paddingTop:o.captionPaddingTop,paddingBottom:o.captionPaddingBottom,captionSide:"initial"},CalendarMonth_caption__verticalScrollable:{paddingTop:12,paddingBottom:7}}}),{pureComponent:"undefined"!==typeof l.default.PureComponent})(y);t.default=M},87570:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(45016)),i=r(n(10434)),a=r(n(66115)),s=r(n(7867)),l=r(n(38416)),c=r(n(47313)),u=(r(n(75192)),r(n(92981)),n(96095),n(75385)),d=r(n(70816)),p=n(67105),f=n(4667),h=(r(n(9257)),r(n(21205))),b=r(n(11658)),A=r(n(70080)),m=r(n(42187)),g=r(n(39223)),v=r(n(8680)),y=r(n(8664)),M=r(n(42681)),O=(r(n(29683)),r(n(69133)),r(n(12642)),n(64847));function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var z={enableOutsideDays:!1,firstVisibleMonthIndex:0,horizontalMonthPadding:13,initialMonth:(0,d.default)(),isAnimating:!1,numberOfMonths:1,modifiers:{},orientation:O.HORIZONTAL_ORIENTATION,onDayClick:function(){},onDayMouseEnter:function(){},onDayMouseLeave:function(){},onMonthChange:function(){},onYearChange:function(){},onMonthTransitionEnd:function(){},renderMonthText:null,renderCalendarDay:void 0,renderDayContents:null,translationValue:null,renderMonthElement:null,daySize:O.DAY_SIZE,focusedDate:null,isFocused:!1,firstDayOfWeek:null,setMonthTitleHeight:null,isRTL:!1,transitionDuration:200,verticalBorderSpacing:void 0,monthFormat:"MMMM YYYY",phrases:f.CalendarDayPhrases,dayAriaLabelFormat:void 0};function x(e,t,n){var r=e.clone();n||(r=r.subtract(1,"month"));for(var o=[],i=0;i<(n?t:t+2);i+=1)o.push(r),r=r.clone().add(1,"month");return o}var w=function(e){(0,s.default)(n,e);var t=n.prototype;function n(t){var n;n=e.call(this,t)||this;var r=t.orientation===O.VERTICAL_SCROLLABLE;return n.state={months:x(t.initialMonth,t.numberOfMonths,r)},n.isTransitionEndSupported=(0,A.default)(),n.onTransitionEnd=n.onTransitionEnd.bind((0,a.default)(n)),n.setContainerRef=n.setContainerRef.bind((0,a.default)(n)),n.locale=d.default.locale(),n.onMonthSelect=n.onMonthSelect.bind((0,a.default)(n)),n.onYearSelect=n.onYearSelect.bind((0,a.default)(n)),n}return t[!c.default.PureComponent&&"shouldComponentUpdate"]=function(e,t){return!(0,o.default)(this.props,e)||!(0,o.default)(this.state,t)},t.componentDidMount=function(){this.removeEventListener=(0,p.addEventListener)(this.container,"transitionend",this.onTransitionEnd)},t.componentWillReceiveProps=function(e){var t=this,n=e.initialMonth,r=e.numberOfMonths,o=e.orientation,i=this.state.months,a=this.props,s=a.initialMonth,l=a.numberOfMonths!==r,c=i;if(!s.isSame(n,"month")&&!l)if((0,M.default)(s,n))(c=i.slice(1)).push(i[i.length-1].clone().add(1,"month"));else if((0,y.default)(s,n))(c=i.slice(0,i.length-1)).unshift(i[0].clone().subtract(1,"month"));else{c=x(n,r,o===O.VERTICAL_SCROLLABLE)}l&&(c=x(n,r,o===O.VERTICAL_SCROLLABLE));var u=d.default.locale();this.locale!==u&&(this.locale=u,c=c.map((function(e){return e.locale(t.locale)}))),this.setState({months:c})},t.componentDidUpdate=function(){var e=this.props,t=e.isAnimating,n=e.transitionDuration,r=e.onMonthTransitionEnd;this.isTransitionEndSupported&&n||!t||r()},t.componentWillUnmount=function(){this.removeEventListener&&this.removeEventListener()},t.onTransitionEnd=function(){(0,this.props.onMonthTransitionEnd)()},t.onMonthSelect=function(e,t){var n=e.clone(),r=this.props,o=r.onMonthChange,i=r.orientation,a=this.state.months,s=i===O.VERTICAL_SCROLLABLE,l=a.indexOf(e);s||(l-=1),n.set("month",t).subtract(l,"months"),o(n)},t.onYearSelect=function(e,t){var n=e.clone(),r=this.props,o=r.onYearChange,i=r.orientation,a=this.state.months,s=i===O.VERTICAL_SCROLLABLE,l=a.indexOf(e);s||(l-=1),n.set("year",t).subtract(l,"months"),o(n)},t.setContainerRef=function(e){this.container=e},t.render=function(){var e=this,t=this.props,n=t.enableOutsideDays,r=t.firstVisibleMonthIndex,o=t.horizontalMonthPadding,a=t.isAnimating,s=t.modifiers,d=t.numberOfMonths,p=t.monthFormat,f=t.orientation,h=t.translationValue,A=t.daySize,y=t.onDayMouseEnter,M=t.onDayMouseLeave,z=t.onDayClick,x=t.renderMonthText,w=t.renderCalendarDay,C=t.renderDayContents,S=t.renderMonthElement,E=t.onMonthTransitionEnd,k=t.firstDayOfWeek,D=t.focusedDate,N=t.isFocused,T=t.isRTL,j=t.styles,B=t.phrases,L=t.dayAriaLabelFormat,R=t.transitionDuration,q=t.verticalBorderSpacing,P=t.setMonthTitleHeight,I=this.state.months,W=f===O.VERTICAL_ORIENTATION,F=f===O.VERTICAL_SCROLLABLE,U=f===O.HORIZONTAL_ORIENTATION,Z=(0,g.default)(A,o),H=W||F?Z:(d+2)*Z,$="".concat(W||F?"translateY":"translateX","(").concat(h,"px)");return c.default.createElement("div",(0,i.default)({},(0,u.css)(j.CalendarMonthGrid,U&&j.CalendarMonthGrid__horizontal,W&&j.CalendarMonthGrid__vertical,F&&j.CalendarMonthGrid__vertical_scrollable,a&&j.CalendarMonthGrid__animating,a&&R&&{transition:"transform ".concat(R,"ms ease-in-out")},function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){(0,l.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},(0,m.default)($),{width:H})),{ref:this.setContainerRef,onTransitionEnd:E}),I.map((function(t,l){var m=l>=r&&l<r+d,g=0===l&&!m,O=0===l&&a&&m,_=(0,v.default)(t);return c.default.createElement("div",(0,i.default)({key:_},(0,u.css)(U&&j.CalendarMonthGrid_month__horizontal,g&&j.CalendarMonthGrid_month__hideForAnimation,O&&!W&&!T&&{position:"absolute",left:-Z},O&&!W&&T&&{position:"absolute",right:0},O&&W&&{position:"absolute",top:-h},!m&&!a&&j.CalendarMonthGrid_month__hidden)),c.default.createElement(b.default,{month:t,isVisible:m,enableOutsideDays:n,modifiers:s[_],monthFormat:p,orientation:f,onDayMouseEnter:y,onDayMouseLeave:M,onDayClick:z,onMonthSelect:e.onMonthSelect,onYearSelect:e.onYearSelect,renderMonthText:x,renderCalendarDay:w,renderDayContents:C,renderMonthElement:S,firstDayOfWeek:k,daySize:A,focusedDate:m?D:null,isFocused:N,phrases:B,setMonthTitleHeight:P,dayAriaLabelFormat:L,verticalBorderSpacing:q,horizontalMonthPadding:o}))})))},n}(c.default.PureComponent||c.default.Component);w.propTypes={},w.defaultProps=z;var C=(0,u.withStyles)((function(e){var t=e.reactDates,n=t.color,r=t.spacing,o=t.zIndex;return{CalendarMonthGrid:{background:n.background,textAlign:(0,h.default)("left"),zIndex:o},CalendarMonthGrid__animating:{zIndex:o+1},CalendarMonthGrid__horizontal:{position:"absolute",left:(0,h.default)(r.dayPickerHorizontalPadding)},CalendarMonthGrid__vertical:{margin:"0 auto"},CalendarMonthGrid__vertical_scrollable:{margin:"0 auto"},CalendarMonthGrid_month__horizontal:{display:"inline-block",verticalAlign:"top",minHeight:"100%"},CalendarMonthGrid_month__hideForAnimation:{position:"absolute",zIndex:o-1,opacity:0,pointerEvents:"none"},CalendarMonthGrid_month__hidden:{visibility:"hidden"}}}),{pureComponent:"undefined"!==typeof c.default.PureComponent})(w);t.default=C},50734:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o=r(n(47313));r(n(75192)),n(96095);function i(e){var t=e.children;return o.default.createElement("tr",null,t)}i.propTypes={}},61809:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(47313)),i=function(e){return o.default.createElement("svg",e,o.default.createElement("path",{d:"M968 289L514 741c-11 11-21 11-32 0L29 289c-4-5-6-11-6-16 0-13 10-23 23-23 6 0 11 2 15 7l437 436 438-436c4-5 9-7 16-7 6 0 11 2 16 7 9 10 9 21 0 32z"}))};i.defaultProps={focusable:"false",viewBox:"0 0 1000 1000"};var a=i;t.default=a},24060:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(47313)),i=function(e){return o.default.createElement("svg",e,o.default.createElement("path",{d:"M32 713l453-453c11-11 21-11 32 0l453 453c5 5 7 10 7 16 0 13-10 23-22 23-7 0-12-2-16-7L501 309 64 745c-4 5-9 7-15 7-7 0-12-2-17-7-9-11-9-21 0-32z"}))};i.defaultProps={focusable:"false",viewBox:"0 0 1000 1000"};var a=i;t.default=a},13888:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(47313)),i=function(e){return o.default.createElement("svg",e,o.default.createElement("path",{fillRule:"evenodd",d:"M11.53.47a.75.75 0 0 0-1.061 0l-4.47 4.47L1.529.47A.75.75 0 1 0 .468 1.531l4.47 4.47-4.47 4.47a.75.75 0 1 0 1.061 1.061l4.47-4.47 4.47 4.47a.75.75 0 1 0 1.061-1.061l-4.47-4.47 4.47-4.47a.75.75 0 0 0 0-1.061z"}))};i.defaultProps={focusable:"false",viewBox:"0 0 12 12"};var a=i;t.default=a},18350:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(45016)),i=r(n(10434)),a=r(n(66115)),s=r(n(7867)),l=(r(n(38416)),r(n(47313))),c=(r(n(75192)),n(96095),n(75385)),u=r(n(91909)),d=r(n(64163)),p=r(n(21205)),f=r(n(43099)),h=(r(n(58749)),n(64847));var b="M0,".concat(h.FANG_HEIGHT_PX," ").concat(h.FANG_WIDTH_PX,",").concat(h.FANG_HEIGHT_PX," ").concat(h.FANG_WIDTH_PX/2,",0z"),A="M0,".concat(h.FANG_HEIGHT_PX," ").concat(h.FANG_WIDTH_PX/2,",0 ").concat(h.FANG_WIDTH_PX,",").concat(h.FANG_HEIGHT_PX),m="M0,0 ".concat(h.FANG_WIDTH_PX,",0 ").concat(h.FANG_WIDTH_PX/2,",").concat(h.FANG_HEIGHT_PX,"z"),g="M0,0 ".concat(h.FANG_WIDTH_PX/2,",").concat(h.FANG_HEIGHT_PX," ").concat(h.FANG_WIDTH_PX,",0"),v={placeholder:"Select Date",displayValue:"",ariaLabel:void 0,screenReaderMessage:"",focused:!1,disabled:!1,required:!1,readOnly:null,openDirection:h.OPEN_DOWN,showCaret:!1,verticalSpacing:h.DEFAULT_VERTICAL_SPACING,small:!1,block:!1,regular:!1,onChange:function(){},onFocus:function(){},onKeyDownShiftTab:function(){},onKeyDownTab:function(){},onKeyDownArrowDown:function(){},onKeyDownQuestionMark:function(){},isFocused:!1},y=function(e){(0,s.default)(n,e);var t=n.prototype;function n(t){var n;return(n=e.call(this,t)||this).state={dateString:"",isTouchDevice:!1},n.onChange=n.onChange.bind((0,a.default)(n)),n.onKeyDown=n.onKeyDown.bind((0,a.default)(n)),n.setInputRef=n.setInputRef.bind((0,a.default)(n)),n.throttledKeyDown=(0,u.default)(n.onFinalKeyDown,300,{trailing:!1}),n}return t[!l.default.PureComponent&&"shouldComponentUpdate"]=function(e,t){return!(0,o.default)(this.props,e)||!(0,o.default)(this.state,t)},t.componentDidMount=function(){this.setState({isTouchDevice:(0,d.default)()})},t.componentWillReceiveProps=function(e){this.state.dateString&&e.displayValue&&this.setState({dateString:""})},t.componentDidUpdate=function(e){var t=this.props,n=t.focused,r=t.isFocused;e.focused===n&&e.isFocused===r||n&&r&&this.inputRef.focus()},t.onChange=function(e){var t=this.props,n=t.onChange,r=t.onKeyDownQuestionMark,o=e.target.value;"?"===o[o.length-1]?r(e):this.setState({dateString:o},(function(){return n(o)}))},t.onKeyDown=function(e){e.stopPropagation(),h.MODIFIER_KEY_NAMES.has(e.key)||this.throttledKeyDown(e)},t.onFinalKeyDown=function(e){var t=this.props,n=t.onKeyDownShiftTab,r=t.onKeyDownTab,o=t.onKeyDownArrowDown,i=t.onKeyDownQuestionMark,a=e.key;"Tab"===a?e.shiftKey?n(e):r(e):"ArrowDown"===a?o(e):"?"===a&&(e.preventDefault(),i(e))},t.setInputRef=function(e){this.inputRef=e},t.render=function(){var e=this.state,t=e.dateString,n=e.isTouchDevice,r=this.props,o=r.id,a=r.placeholder,s=r.ariaLabel,u=r.displayValue,d=r.screenReaderMessage,p=r.focused,v=r.showCaret,y=r.onFocus,M=r.disabled,O=r.required,_=r.readOnly,z=r.openDirection,x=r.verticalSpacing,w=r.small,C=r.regular,S=r.block,E=r.styles,k=r.theme.reactDates,D=t||u||"",N="DateInput__screen-reader-message-".concat(o),T=v&&p,j=(0,f.default)(k,w);return l.default.createElement("div",(0,c.css)(E.DateInput,w&&E.DateInput__small,S&&E.DateInput__block,T&&E.DateInput__withFang,M&&E.DateInput__disabled,T&&z===h.OPEN_DOWN&&E.DateInput__openDown,T&&z===h.OPEN_UP&&E.DateInput__openUp),l.default.createElement("input",(0,i.default)({},(0,c.css)(E.DateInput_input,w&&E.DateInput_input__small,C&&E.DateInput_input__regular,_&&E.DateInput_input__readOnly,p&&E.DateInput_input__focused,M&&E.DateInput_input__disabled),{"aria-label":void 0===s?a:s,type:"text",id:o,name:o,ref:this.setInputRef,value:D,onChange:this.onChange,onKeyDown:this.onKeyDown,onFocus:y,placeholder:a,autoComplete:"off",disabled:M,readOnly:"boolean"===typeof _?_:n,required:O,"aria-describedby":d&&N})),T&&l.default.createElement("svg",(0,i.default)({role:"presentation",focusable:"false"},(0,c.css)(E.DateInput_fang,z===h.OPEN_DOWN&&{top:j+x-h.FANG_HEIGHT_PX-1},z===h.OPEN_UP&&{bottom:j+x-h.FANG_HEIGHT_PX-1})),l.default.createElement("path",(0,i.default)({},(0,c.css)(E.DateInput_fangShape),{d:z===h.OPEN_DOWN?b:m})),l.default.createElement("path",(0,i.default)({},(0,c.css)(E.DateInput_fangStroke),{d:z===h.OPEN_DOWN?A:g}))),d&&l.default.createElement("p",(0,i.default)({},(0,c.css)(E.DateInput_screenReaderMessage),{id:N}),d))},n}(l.default.PureComponent||l.default.Component);y.propTypes={},y.defaultProps=v;var M=(0,c.withStyles)((function(e){var t=e.reactDates,n=t.border,r=t.color,o=t.sizing,i=t.spacing,a=t.font,s=t.zIndex;return{DateInput:{margin:0,padding:i.inputPadding,background:r.background,position:"relative",display:"inline-block",width:o.inputWidth,verticalAlign:"middle"},DateInput__small:{width:o.inputWidth_small},DateInput__block:{width:"100%"},DateInput__disabled:{background:r.disabled,color:r.textDisabled},DateInput_input:{fontWeight:a.input.weight,fontSize:a.input.size,lineHeight:a.input.lineHeight,color:r.text,backgroundColor:r.background,width:"100%",padding:"".concat(i.displayTextPaddingVertical,"px ").concat(i.displayTextPaddingHorizontal,"px"),paddingTop:i.displayTextPaddingTop,paddingBottom:i.displayTextPaddingBottom,paddingLeft:(0,p.default)(i.displayTextPaddingLeft),paddingRight:(0,p.default)(i.displayTextPaddingRight),border:n.input.border,borderTop:n.input.borderTop,borderRight:(0,p.default)(n.input.borderRight),borderBottom:n.input.borderBottom,borderLeft:(0,p.default)(n.input.borderLeft),borderRadius:n.input.borderRadius},DateInput_input__small:{fontSize:a.input.size_small,lineHeight:a.input.lineHeight_small,letterSpacing:a.input.letterSpacing_small,padding:"".concat(i.displayTextPaddingVertical_small,"px ").concat(i.displayTextPaddingHorizontal_small,"px"),paddingTop:i.displayTextPaddingTop_small,paddingBottom:i.displayTextPaddingBottom_small,paddingLeft:(0,p.default)(i.displayTextPaddingLeft_small),paddingRight:(0,p.default)(i.displayTextPaddingRight_small)},DateInput_input__regular:{fontWeight:"auto"},DateInput_input__readOnly:{userSelect:"none"},DateInput_input__focused:{outline:n.input.outlineFocused,background:r.backgroundFocused,border:n.input.borderFocused,borderTop:n.input.borderTopFocused,borderRight:(0,p.default)(n.input.borderRightFocused),borderBottom:n.input.borderBottomFocused,borderLeft:(0,p.default)(n.input.borderLeftFocused)},DateInput_input__disabled:{background:r.disabled,fontStyle:a.input.styleDisabled},DateInput_screenReaderMessage:{border:0,clip:"rect(0, 0, 0, 0)",height:1,margin:-1,overflow:"hidden",padding:0,position:"absolute",width:1},DateInput_fang:{position:"absolute",width:h.FANG_WIDTH_PX,height:h.FANG_HEIGHT_PX,left:22,zIndex:s+2},DateInput_fangShape:{fill:r.background},DateInput_fangStroke:{stroke:r.core.border,fill:"transparent"}}}),{pureComponent:"undefined"!==typeof l.default.PureComponent})(y);t.default=M},38226:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.PureDateRangePicker=void 0;var o=r(n(45016)),i=r(n(10434)),a=r(n(66115)),s=r(n(7867)),l=r(n(38416)),c=r(n(47313)),u=r(n(70816)),d=n(75385),p=n(36052),f=(n(96095),n(67105)),h=r(n(64163)),b=r(n(82972)),A=(r(n(76424)),n(4667)),m=r(n(19672)),g=r(n(90157)),v=r(n(43099)),y=r(n(26449)),M=r(n(33626)),O=r(n(21205)),_=r(n(37556)),z=r(n(68601)),x=r(n(13888)),w=n(64847);function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?C(Object(n),!0).forEach((function(t){(0,l.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var E={startDate:null,endDate:null,focusedInput:null,startDatePlaceholderText:"Start Date",endDatePlaceholderText:"End Date",startDateAriaLabel:void 0,endDateAriaLabel:void 0,startDateOffset:void 0,endDateOffset:void 0,disabled:!1,required:!1,readOnly:!1,screenReaderInputMessage:"",showClearDates:!1,showDefaultInputIcon:!1,inputIconPosition:w.ICON_BEFORE_POSITION,customInputIcon:null,customArrowIcon:null,customCloseIcon:null,noBorder:!1,block:!1,small:!1,regular:!1,keepFocusOnInput:!1,renderMonthText:null,renderWeekHeaderElement:null,orientation:w.HORIZONTAL_ORIENTATION,anchorDirection:w.ANCHOR_LEFT,openDirection:w.OPEN_DOWN,horizontalMargin:0,withPortal:!1,withFullScreenPortal:!1,appendToBody:!1,disableScroll:!1,initialVisibleMonth:null,numberOfMonths:2,keepOpenOnDateSelect:!1,reopenPickerOnClearDates:!1,renderCalendarInfo:null,calendarInfoPosition:w.INFO_POSITION_BOTTOM,hideKeyboardShortcutsPanel:!1,daySize:w.DAY_SIZE,isRTL:!1,firstDayOfWeek:null,verticalHeight:null,transitionDuration:void 0,verticalSpacing:w.DEFAULT_VERTICAL_SPACING,horizontalMonthPadding:void 0,dayPickerNavigationInlineStyles:null,navPosition:w.NAV_POSITION_TOP,navPrev:null,navNext:null,renderNavPrevButton:null,renderNavNextButton:null,onPrevMonthClick:function(){},onNextMonthClick:function(){},onClose:function(){},renderCalendarDay:void 0,renderDayContents:null,renderMonthElement:null,minimumNights:1,enableOutsideDays:!1,isDayBlocked:function(){return!1},isOutsideRange:function(e){return!(0,y.default)(e,(0,u.default)())},isDayHighlighted:function(){return!1},minDate:void 0,maxDate:void 0,displayFormat:function(){return u.default.localeData().longDateFormat("L")},monthFormat:"MMMM YYYY",weekDayFormat:"dd",phrases:A.DateRangePickerPhrases,dayAriaLabelFormat:void 0},k=function(e){(0,s.default)(n,e);var t=n.prototype;function n(t){var n;return(n=e.call(this,t)||this).state={dayPickerContainerStyles:{},isDateRangePickerInputFocused:!1,isDayPickerFocused:!1,showKeyboardShortcuts:!1},n.isTouchDevice=!1,n.onOutsideClick=n.onOutsideClick.bind((0,a.default)(n)),n.onDateRangePickerInputFocus=n.onDateRangePickerInputFocus.bind((0,a.default)(n)),n.onDayPickerFocus=n.onDayPickerFocus.bind((0,a.default)(n)),n.onDayPickerFocusOut=n.onDayPickerFocusOut.bind((0,a.default)(n)),n.onDayPickerBlur=n.onDayPickerBlur.bind((0,a.default)(n)),n.showKeyboardShortcutsPanel=n.showKeyboardShortcutsPanel.bind((0,a.default)(n)),n.responsivizePickerPosition=n.responsivizePickerPosition.bind((0,a.default)(n)),n.disableScroll=n.disableScroll.bind((0,a.default)(n)),n.setDayPickerContainerRef=n.setDayPickerContainerRef.bind((0,a.default)(n)),n.setContainerRef=n.setContainerRef.bind((0,a.default)(n)),n}return t[!c.default.PureComponent&&"shouldComponentUpdate"]=function(e,t){return!(0,o.default)(this.props,e)||!(0,o.default)(this.state,t)},t.componentDidMount=function(){this.removeEventListener=(0,f.addEventListener)(window,"resize",this.responsivizePickerPosition,{passive:!0}),this.responsivizePickerPosition(),this.disableScroll(),this.props.focusedInput&&this.setState({isDateRangePickerInputFocused:!0}),this.isTouchDevice=(0,h.default)()},t.componentDidUpdate=function(e){var t=this.props.focusedInput;!e.focusedInput&&t&&this.isOpened()?(this.responsivizePickerPosition(),this.disableScroll()):!e.focusedInput||t||this.isOpened()||this.enableScroll&&this.enableScroll()},t.componentWillUnmount=function(){this.removeDayPickerEventListeners(),this.removeEventListener&&this.removeEventListener(),this.enableScroll&&this.enableScroll()},t.onOutsideClick=function(e){var t=this.props,n=t.onFocusChange,r=t.onClose,o=t.startDate,i=t.endDate,a=t.appendToBody;this.isOpened()&&(a&&this.dayPickerContainer.contains(e.target)||(this.setState({isDateRangePickerInputFocused:!1,isDayPickerFocused:!1,showKeyboardShortcuts:!1}),n(null),r({startDate:o,endDate:i})))},t.onDateRangePickerInputFocus=function(e){var t=this.props,n=t.onFocusChange,r=t.readOnly,o=t.withPortal,i=t.withFullScreenPortal,a=t.keepFocusOnInput;e&&(o||i||r&&!a||this.isTouchDevice&&!a?this.onDayPickerFocus():this.onDayPickerBlur());n(e)},t.onDayPickerFocus=function(){var e=this.props,t=e.focusedInput,n=e.onFocusChange;t||n(w.START_DATE),this.setState({isDateRangePickerInputFocused:!1,isDayPickerFocused:!0,showKeyboardShortcuts:!1})},t.onDayPickerFocusOut=function(e){var t=e.relatedTarget===document.body?e.target:e.relatedTarget||e.target;this.dayPickerContainer.contains(t)||this.onOutsideClick(e)},t.onDayPickerBlur=function(){this.setState({isDateRangePickerInputFocused:!0,isDayPickerFocused:!1,showKeyboardShortcuts:!1})},t.setDayPickerContainerRef=function(e){e!==this.dayPickerContainer&&(this.dayPickerContainer&&this.removeDayPickerEventListeners(),this.dayPickerContainer=e,e&&this.addDayPickerEventListeners())},t.setContainerRef=function(e){this.container=e},t.addDayPickerEventListeners=function(){this.removeDayPickerFocusOut=(0,f.addEventListener)(this.dayPickerContainer,"focusout",this.onDayPickerFocusOut)},t.removeDayPickerEventListeners=function(){this.removeDayPickerFocusOut&&this.removeDayPickerFocusOut()},t.isOpened=function(){var e=this.props.focusedInput;return e===w.START_DATE||e===w.END_DATE},t.disableScroll=function(){var e=this.props,t=e.appendToBody,n=e.disableScroll;(t||n)&&this.isOpened()&&(this.enableScroll=(0,M.default)(this.container))},t.responsivizePickerPosition=function(){var e=this.state.dayPickerContainerStyles;if(Object.keys(e).length>0&&this.setState({dayPickerContainerStyles:{}}),this.isOpened()){var t=this.props,n=t.openDirection,r=t.anchorDirection,o=t.horizontalMargin,i=t.withPortal,a=t.withFullScreenPortal,s=t.appendToBody,l=r===w.ANCHOR_LEFT;if(!i&&!a){var c=this.dayPickerContainer.getBoundingClientRect(),u=e[r]||0,d=l?c[w.ANCHOR_RIGHT]:c[w.ANCHOR_LEFT];this.setState({dayPickerContainerStyles:S({},(0,m.default)(r,u,d,o),{},s&&(0,g.default)(n,r,this.container))})}}},t.showKeyboardShortcutsPanel=function(){this.setState({isDateRangePickerInputFocused:!1,isDayPickerFocused:!0,showKeyboardShortcuts:!0})},t.maybeRenderDayPickerWithPortal=function(){var e=this.props,t=e.withPortal,n=e.withFullScreenPortal,r=e.appendToBody;return this.isOpened()?t||n||r?c.default.createElement(p.Portal,null,this.renderDayPicker()):this.renderDayPicker():null},t.renderDayPicker=function(){var e=this.props,t=e.anchorDirection,n=e.openDirection,r=e.isDayBlocked,o=e.isDayHighlighted,a=e.isOutsideRange,s=e.numberOfMonths,l=e.orientation,p=e.monthFormat,f=e.renderMonthText,h=e.renderWeekHeaderElement,b=e.dayPickerNavigationInlineStyles,A=e.navPosition,m=e.navPrev,g=e.navNext,y=e.renderNavPrevButton,M=e.renderNavNextButton,O=e.onPrevMonthClick,_=e.onNextMonthClick,C=e.onDatesChange,S=e.onFocusChange,E=e.withPortal,k=e.withFullScreenPortal,D=e.daySize,N=e.enableOutsideDays,T=e.focusedInput,j=e.startDate,B=e.startDateOffset,L=e.endDate,R=e.endDateOffset,q=e.minDate,P=e.maxDate,I=e.minimumNights,W=e.keepOpenOnDateSelect,F=e.renderCalendarDay,U=e.renderDayContents,Z=e.renderCalendarInfo,H=e.renderMonthElement,$=e.calendarInfoPosition,V=e.firstDayOfWeek,X=e.initialVisibleMonth,Q=e.hideKeyboardShortcutsPanel,Y=e.customCloseIcon,G=e.onClose,K=e.phrases,J=e.dayAriaLabelFormat,ee=e.isRTL,te=e.weekDayFormat,ne=e.styles,re=e.verticalHeight,oe=e.transitionDuration,ie=e.verticalSpacing,ae=e.horizontalMonthPadding,se=e.small,le=e.disabled,ce=e.theme.reactDates,ue=this.state,de=ue.dayPickerContainerStyles,pe=ue.isDayPickerFocused,fe=ue.showKeyboardShortcuts,he=!k&&E?this.onOutsideClick:void 0,be=X||function(){return j||L||(0,u.default)()},Ae=Y||c.default.createElement(x.default,(0,d.css)(ne.DateRangePicker_closeButton_svg)),me=(0,v.default)(ce,se),ge=E||k;return c.default.createElement("div",(0,i.default)({ref:this.setDayPickerContainerRef},(0,d.css)(ne.DateRangePicker_picker,t===w.ANCHOR_LEFT&&ne.DateRangePicker_picker__directionLeft,t===w.ANCHOR_RIGHT&&ne.DateRangePicker_picker__directionRight,l===w.HORIZONTAL_ORIENTATION&&ne.DateRangePicker_picker__horizontal,l===w.VERTICAL_ORIENTATION&&ne.DateRangePicker_picker__vertical,!ge&&n===w.OPEN_DOWN&&{top:me+ie},!ge&&n===w.OPEN_UP&&{bottom:me+ie},ge&&ne.DateRangePicker_picker__portal,k&&ne.DateRangePicker_picker__fullScreenPortal,ee&&ne.DateRangePicker_picker__rtl,de),{onClick:he}),c.default.createElement(z.default,{orientation:l,enableOutsideDays:N,numberOfMonths:s,onPrevMonthClick:O,onNextMonthClick:_,onDatesChange:C,onFocusChange:S,onClose:G,focusedInput:T,startDate:j,startDateOffset:B,endDate:L,endDateOffset:R,minDate:q,maxDate:P,monthFormat:p,renderMonthText:f,renderWeekHeaderElement:h,withPortal:ge,daySize:D,initialVisibleMonth:be,hideKeyboardShortcutsPanel:Q,dayPickerNavigationInlineStyles:b,navPosition:A,navPrev:m,navNext:g,renderNavPrevButton:y,renderNavNextButton:M,minimumNights:I,isOutsideRange:a,isDayHighlighted:o,isDayBlocked:r,keepOpenOnDateSelect:W,renderCalendarDay:F,renderDayContents:U,renderCalendarInfo:Z,renderMonthElement:H,calendarInfoPosition:$,isFocused:pe,showKeyboardShortcuts:fe,onBlur:this.onDayPickerBlur,phrases:K,dayAriaLabelFormat:J,isRTL:ee,firstDayOfWeek:V,weekDayFormat:te,verticalHeight:re,transitionDuration:oe,disabled:le,horizontalMonthPadding:ae}),k&&c.default.createElement("button",(0,i.default)({},(0,d.css)(ne.DateRangePicker_closeButton),{type:"button",onClick:this.onOutsideClick,"aria-label":K.closeDatePicker}),Ae))},t.render=function(){var e=this.props,t=e.startDate,n=e.startDateId,r=e.startDatePlaceholderText,o=e.startDateAriaLabel,a=e.endDate,s=e.endDateId,l=e.endDatePlaceholderText,u=e.endDateAriaLabel,p=e.focusedInput,f=e.screenReaderInputMessage,h=e.showClearDates,A=e.showDefaultInputIcon,m=e.inputIconPosition,g=e.customInputIcon,v=e.customArrowIcon,y=e.customCloseIcon,M=e.disabled,O=e.required,z=e.readOnly,x=e.openDirection,C=e.phrases,S=e.isOutsideRange,E=e.minimumNights,k=e.withPortal,D=e.withFullScreenPortal,N=e.displayFormat,T=e.reopenPickerOnClearDates,j=e.keepOpenOnDateSelect,B=e.onDatesChange,L=e.onClose,R=e.isRTL,q=e.noBorder,P=e.block,I=e.verticalSpacing,W=e.small,F=e.regular,U=e.styles,Z=this.state.isDateRangePickerInputFocused,H=!k&&!D,$=I<w.FANG_HEIGHT_PX,V=c.default.createElement(_.default,{startDate:t,startDateId:n,startDatePlaceholderText:r,isStartDateFocused:p===w.START_DATE,startDateAriaLabel:o,endDate:a,endDateId:s,endDatePlaceholderText:l,isEndDateFocused:p===w.END_DATE,endDateAriaLabel:u,displayFormat:N,showClearDates:h,showCaret:!k&&!D&&!$,showDefaultInputIcon:A,inputIconPosition:m,customInputIcon:g,customArrowIcon:v,customCloseIcon:y,disabled:M,required:O,readOnly:z,openDirection:x,reopenPickerOnClearDates:T,keepOpenOnDateSelect:j,isOutsideRange:S,minimumNights:E,withFullScreenPortal:D,onDatesChange:B,onFocusChange:this.onDateRangePickerInputFocus,onKeyDownArrowDown:this.onDayPickerFocus,onKeyDownQuestionMark:this.showKeyboardShortcutsPanel,onClose:L,phrases:C,screenReaderMessage:f,isFocused:Z,isRTL:R,noBorder:q,block:P,small:W,regular:F,verticalSpacing:I},this.maybeRenderDayPickerWithPortal());return c.default.createElement("div",(0,i.default)({ref:this.setContainerRef},(0,d.css)(U.DateRangePicker,P&&U.DateRangePicker__block)),H&&c.default.createElement(b.default,{onOutsideClick:this.onOutsideClick},V),H||V)},n}(c.default.PureComponent||c.default.Component);t.PureDateRangePicker=k,k.propTypes={},k.defaultProps=E;var D=(0,d.withStyles)((function(e){var t=e.reactDates,n=t.color,r=t.zIndex;return{DateRangePicker:{position:"relative",display:"inline-block"},DateRangePicker__block:{display:"block"},DateRangePicker_picker:{zIndex:r+1,backgroundColor:n.background,position:"absolute"},DateRangePicker_picker__rtl:{direction:(0,O.default)("rtl")},DateRangePicker_picker__directionLeft:{left:(0,O.default)(0)},DateRangePicker_picker__directionRight:{right:(0,O.default)(0)},DateRangePicker_picker__portal:{backgroundColor:"rgba(0, 0, 0, 0.3)",position:"fixed",top:0,left:(0,O.default)(0),height:"100%",width:"100%"},DateRangePicker_picker__fullScreenPortal:{backgroundColor:n.background},DateRangePicker_closeButton:{background:"none",border:0,color:"inherit",font:"inherit",lineHeight:"normal",overflow:"visible",cursor:"pointer",position:"absolute",top:0,right:(0,O.default)(0),padding:15,zIndex:r+2,":hover":{color:"darken(".concat(n.core.grayLighter,", 10%)"),textDecoration:"none"},":focus":{color:"darken(".concat(n.core.grayLighter,", 10%)"),textDecoration:"none"}},DateRangePicker_closeButton_svg:{height:15,width:15,fill:n.core.grayLighter}}}),{pureComponent:"undefined"!==typeof c.default.PureComponent})(k);t.default=D},54450:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(10434)),i=(r(n(38416)),r(n(47313))),a=(r(n(75192)),n(96095),n(75385)),s=n(4667),l=(r(n(9257)),r(n(21205))),c=(r(n(58749)),r(n(18350))),u=(r(n(90853)),r(n(80943)),r(n(17117))),d=r(n(52539)),p=r(n(13888)),f=r(n(64033)),h=n(64847);var b={children:null,startDateId:h.START_DATE,endDateId:h.END_DATE,startDatePlaceholderText:"Start Date",endDatePlaceholderText:"End Date",startDateAriaLabel:void 0,endDateAriaLabel:void 0,screenReaderMessage:"",onStartDateFocus:function(){},onEndDateFocus:function(){},onStartDateChange:function(){},onEndDateChange:function(){},onStartDateShiftTab:function(){},onEndDateTab:function(){},onClearDates:function(){},onKeyDownArrowDown:function(){},onKeyDownQuestionMark:function(){},startDate:"",endDate:"",isStartDateFocused:!1,isEndDateFocused:!1,showClearDates:!1,disabled:!1,required:!1,readOnly:!1,openDirection:h.OPEN_DOWN,showCaret:!1,showDefaultInputIcon:!1,inputIconPosition:h.ICON_BEFORE_POSITION,customInputIcon:null,customArrowIcon:null,customCloseIcon:null,noBorder:!1,block:!1,small:!1,regular:!1,verticalSpacing:void 0,isFocused:!1,phrases:s.DateRangePickerInputPhrases,isRTL:!1};function A(e){var t=e.children,n=e.startDate,r=e.startDateId,s=e.startDatePlaceholderText,l=e.screenReaderMessage,b=e.isStartDateFocused,A=e.onStartDateChange,m=e.onStartDateFocus,g=e.onStartDateShiftTab,v=e.startDateAriaLabel,y=e.endDate,M=e.endDateId,O=e.endDatePlaceholderText,_=e.isEndDateFocused,z=e.onEndDateChange,x=e.onEndDateFocus,w=e.onEndDateTab,C=e.endDateAriaLabel,S=e.onKeyDownArrowDown,E=e.onKeyDownQuestionMark,k=e.onClearDates,D=e.showClearDates,N=e.disabled,T=e.required,j=e.readOnly,B=e.showCaret,L=e.openDirection,R=e.showDefaultInputIcon,q=e.inputIconPosition,P=e.customInputIcon,I=e.customArrowIcon,W=e.customCloseIcon,F=e.isFocused,U=e.phrases,Z=e.isRTL,H=e.noBorder,$=e.block,V=e.verticalSpacing,X=e.small,Q=e.regular,Y=e.styles,G=P||i.default.createElement(f.default,(0,a.css)(Y.DateRangePickerInput_calendarIcon_svg)),K=I||i.default.createElement(u.default,(0,a.css)(Y.DateRangePickerInput_arrow_svg));Z&&(K=i.default.createElement(d.default,(0,a.css)(Y.DateRangePickerInput_arrow_svg))),X&&(K="-");var J=W||i.default.createElement(p.default,(0,a.css)(Y.DateRangePickerInput_clearDates_svg,X&&Y.DateRangePickerInput_clearDates_svg__small)),ee=l||U.keyboardForwardNavigationInstructions,te=l||U.keyboardBackwardNavigationInstructions,ne=(R||null!==P)&&i.default.createElement("button",(0,o.default)({},(0,a.css)(Y.DateRangePickerInput_calendarIcon),{type:"button",disabled:N,"aria-label":U.focusStartDate,onClick:S}),G),re=N===h.START_DATE||!0===N,oe=N===h.END_DATE||!0===N;return i.default.createElement("div",(0,a.css)(Y.DateRangePickerInput,N&&Y.DateRangePickerInput__disabled,Z&&Y.DateRangePickerInput__rtl,!H&&Y.DateRangePickerInput__withBorder,$&&Y.DateRangePickerInput__block,D&&Y.DateRangePickerInput__showClearDates),q===h.ICON_BEFORE_POSITION&&ne,i.default.createElement(c.default,{id:r,placeholder:s,ariaLabel:v,displayValue:n,screenReaderMessage:ee,focused:b,isFocused:F,disabled:re,required:T,readOnly:j,showCaret:B,openDirection:L,onChange:A,onFocus:m,onKeyDownShiftTab:g,onKeyDownArrowDown:S,onKeyDownQuestionMark:E,verticalSpacing:V,small:X,regular:Q}),t,i.default.createElement("div",(0,o.default)({},(0,a.css)(Y.DateRangePickerInput_arrow),{"aria-hidden":"true",role:"presentation"}),K),i.default.createElement(c.default,{id:M,placeholder:O,ariaLabel:C,displayValue:y,screenReaderMessage:te,focused:_,isFocused:F,disabled:oe,required:T,readOnly:j,showCaret:B,openDirection:L,onChange:z,onFocus:x,onKeyDownArrowDown:S,onKeyDownQuestionMark:E,onKeyDownTab:w,verticalSpacing:V,small:X,regular:Q}),D&&i.default.createElement("button",(0,o.default)({type:"button","aria-label":U.clearDates},(0,a.css)(Y.DateRangePickerInput_clearDates,X&&Y.DateRangePickerInput_clearDates__small,!W&&Y.DateRangePickerInput_clearDates_default,!(n||y)&&Y.DateRangePickerInput_clearDates__hide),{onClick:k,disabled:N}),J),q===h.ICON_AFTER_POSITION&&ne)}A.propTypes={},A.defaultProps=b;var m=(0,a.withStyles)((function(e){var t=e.reactDates,n=t.border,r=t.color,o=t.sizing;return{DateRangePickerInput:{backgroundColor:r.background,display:"inline-block"},DateRangePickerInput__disabled:{background:r.disabled},DateRangePickerInput__withBorder:{borderColor:r.border,borderWidth:n.pickerInput.borderWidth,borderStyle:n.pickerInput.borderStyle,borderRadius:n.pickerInput.borderRadius},DateRangePickerInput__rtl:{direction:(0,l.default)("rtl")},DateRangePickerInput__block:{display:"block"},DateRangePickerInput__showClearDates:{paddingRight:30},DateRangePickerInput_arrow:{display:"inline-block",verticalAlign:"middle",color:r.text},DateRangePickerInput_arrow_svg:{verticalAlign:"middle",fill:r.text,height:o.arrowWidth,width:o.arrowWidth},DateRangePickerInput_clearDates:{background:"none",border:0,color:"inherit",font:"inherit",lineHeight:"normal",overflow:"visible",cursor:"pointer",padding:10,margin:"0 10px 0 5px",position:"absolute",right:0,top:"50%",transform:"translateY(-50%)"},DateRangePickerInput_clearDates__small:{padding:6},DateRangePickerInput_clearDates_default:{":focus":{background:r.core.border,borderRadius:"50%"},":hover":{background:r.core.border,borderRadius:"50%"}},DateRangePickerInput_clearDates__hide:{visibility:"hidden"},DateRangePickerInput_clearDates_svg:{fill:r.core.grayLight,height:12,width:15,verticalAlign:"middle"},DateRangePickerInput_clearDates_svg__small:{height:9},DateRangePickerInput_calendarIcon:{background:"none",border:0,color:"inherit",font:"inherit",lineHeight:"normal",overflow:"visible",cursor:"pointer",display:"inline-block",verticalAlign:"middle",padding:10,margin:"0 5px 0 10px"},DateRangePickerInput_calendarIcon_svg:{fill:r.core.grayLight,height:15,width:14,verticalAlign:"middle"}}}),{pureComponent:"undefined"!==typeof i.default.PureComponent})(A);t.default=m},37556:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(45016)),i=r(n(66115)),a=r(n(7867)),s=r(n(47313)),l=(r(n(75192)),r(n(70816))),c=(r(n(92981)),n(96095),r(n(58749)),n(4667)),u=(r(n(9257)),r(n(54450))),d=(r(n(90853)),r(n(80943)),r(n(52818))),p=r(n(62281)),f=r(n(26449)),h=r(n(14405)),b=n(64847),A={children:null,startDate:null,startDateId:b.START_DATE,startDatePlaceholderText:"Start Date",isStartDateFocused:!1,startDateAriaLabel:void 0,endDate:null,endDateId:b.END_DATE,endDatePlaceholderText:"End Date",isEndDateFocused:!1,endDateAriaLabel:void 0,screenReaderMessage:"",showClearDates:!1,showCaret:!1,showDefaultInputIcon:!1,inputIconPosition:b.ICON_BEFORE_POSITION,disabled:!1,required:!1,readOnly:!1,openDirection:b.OPEN_DOWN,noBorder:!1,block:!1,small:!1,regular:!1,verticalSpacing:void 0,keepOpenOnDateSelect:!1,reopenPickerOnClearDates:!1,withFullScreenPortal:!1,minimumNights:1,isOutsideRange:function(e){return!(0,f.default)(e,(0,l.default)())},displayFormat:function(){return l.default.localeData().longDateFormat("L")},onFocusChange:function(){},onClose:function(){},onDatesChange:function(){},onKeyDownArrowDown:function(){},onKeyDownQuestionMark:function(){},customInputIcon:null,customArrowIcon:null,customCloseIcon:null,isFocused:!1,phrases:c.DateRangePickerInputPhrases,isRTL:!1},m=function(e){(0,a.default)(n,e);var t=n.prototype;function n(t){var n;return(n=e.call(this,t)||this).onClearFocus=n.onClearFocus.bind((0,i.default)(n)),n.onStartDateChange=n.onStartDateChange.bind((0,i.default)(n)),n.onStartDateFocus=n.onStartDateFocus.bind((0,i.default)(n)),n.onEndDateChange=n.onEndDateChange.bind((0,i.default)(n)),n.onEndDateFocus=n.onEndDateFocus.bind((0,i.default)(n)),n.clearDates=n.clearDates.bind((0,i.default)(n)),n}return t[!s.default.PureComponent&&"shouldComponentUpdate"]=function(e,t){return!(0,o.default)(this.props,e)||!(0,o.default)(this.state,t)},t.onClearFocus=function(){var e=this.props,t=e.onFocusChange,n=e.onClose,r=e.startDate,o=e.endDate;t(null),n({startDate:r,endDate:o})},t.onEndDateChange=function(e){var t=this.props,n=t.startDate,r=t.isOutsideRange,o=t.minimumNights,i=t.keepOpenOnDateSelect,a=t.onDatesChange,s=(0,d.default)(e,this.getDisplayFormat());s&&!r(s)&&!(n&&(0,h.default)(s,n.clone().add(o,"days")))?(a({startDate:n,endDate:s}),i||this.onClearFocus()):a({startDate:n,endDate:null})},t.onEndDateFocus=function(){var e=this.props,t=e.startDate,n=e.onFocusChange,r=e.withFullScreenPortal,o=e.disabled;t||!r||o&&o!==b.END_DATE?o&&o!==b.START_DATE||n(b.END_DATE):n(b.START_DATE)},t.onStartDateChange=function(e){var t=this.props.endDate,n=this.props,r=n.isOutsideRange,o=n.minimumNights,i=n.onDatesChange,a=n.onFocusChange,s=n.disabled,l=(0,d.default)(e,this.getDisplayFormat()),c=l&&(0,h.default)(t,l.clone().add(o,"days"));l&&!r(l)&&!(s===b.END_DATE&&c)?(c&&(t=null),i({startDate:l,endDate:t}),a(b.END_DATE)):i({startDate:null,endDate:t})},t.onStartDateFocus=function(){var e=this.props,t=e.disabled,n=e.onFocusChange;t&&t!==b.END_DATE||n(b.START_DATE)},t.getDisplayFormat=function(){var e=this.props.displayFormat;return"string"===typeof e?e:e()},t.getDateString=function(e){var t=this.getDisplayFormat();return e&&t?e&&e.format(t):(0,p.default)(e)},t.clearDates=function(){var e=this.props,t=e.onDatesChange,n=e.reopenPickerOnClearDates,r=e.onFocusChange;t({startDate:null,endDate:null}),n&&r(b.START_DATE)},t.render=function(){var e=this.props,t=e.children,n=e.startDate,r=e.startDateId,o=e.startDatePlaceholderText,i=e.isStartDateFocused,a=e.startDateAriaLabel,l=e.endDate,c=e.endDateId,d=e.endDatePlaceholderText,p=e.endDateAriaLabel,f=e.isEndDateFocused,h=e.screenReaderMessage,b=e.showClearDates,A=e.showCaret,m=e.showDefaultInputIcon,g=e.inputIconPosition,v=e.customInputIcon,y=e.customArrowIcon,M=e.customCloseIcon,O=e.disabled,_=e.required,z=e.readOnly,x=e.openDirection,w=e.isFocused,C=e.phrases,S=e.onKeyDownArrowDown,E=e.onKeyDownQuestionMark,k=e.isRTL,D=e.noBorder,N=e.block,T=e.small,j=e.regular,B=e.verticalSpacing,L=this.getDateString(n),R=this.getDateString(l);return s.default.createElement(u.default,{startDate:L,startDateId:r,startDatePlaceholderText:o,isStartDateFocused:i,startDateAriaLabel:a,endDate:R,endDateId:c,endDatePlaceholderText:d,isEndDateFocused:f,endDateAriaLabel:p,isFocused:w,disabled:O,required:_,readOnly:z,openDirection:x,showCaret:A,showDefaultInputIcon:m,inputIconPosition:g,customInputIcon:v,customArrowIcon:y,customCloseIcon:M,phrases:C,onStartDateChange:this.onStartDateChange,onStartDateFocus:this.onStartDateFocus,onStartDateShiftTab:this.onClearFocus,onEndDateChange:this.onEndDateChange,onEndDateFocus:this.onEndDateFocus,showClearDates:b,onClearDates:this.clearDates,screenReaderMessage:h,onKeyDownArrowDown:S,onKeyDownQuestionMark:E,isRTL:k,noBorder:D,block:N,small:T,regular:j,verticalSpacing:B},t)},n}(s.default.PureComponent||s.default.Component);t.default=m,m.propTypes={},m.defaultProps=A},31342:function(e,t,n){"use strict";var r=n(75263),o=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.PureDayPicker=t.defaultProps=void 0;var i=o(n(45016)),a=o(n(10434)),s=o(n(861)),l=o(n(66115)),c=o(n(7867)),u=o(n(38416)),d=o(n(47313)),p=(o(n(75192)),n(96095),n(75385)),f=o(n(70816)),h=o(n(91909)),b=o(n(64163)),A=o(n(82972)),m=n(4667),g=(o(n(9257)),o(n(21205))),v=o(n(87570)),y=o(n(7023)),M=r(n(87166)),O=o(n(6211)),_=o(n(39223)),z=o(n(80085)),x=o(n(87914)),w=o(n(16209)),C=o(n(81980)),S=(o(n(29683)),o(n(68172)),o(n(69133)),o(n(12642)),o(n(99728)),n(64847));function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){(0,u.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var D="prev",N="next",T="month_selection",j="year_selection",B="prev_nav",L="next_nav",R={enableOutsideDays:!1,numberOfMonths:2,orientation:S.HORIZONTAL_ORIENTATION,withPortal:!1,onOutsideClick:function(){},hidden:!1,initialVisibleMonth:function(){return(0,f.default)()},firstDayOfWeek:null,renderCalendarInfo:null,calendarInfoPosition:S.INFO_POSITION_BOTTOM,hideKeyboardShortcutsPanel:!1,daySize:S.DAY_SIZE,isRTL:!1,verticalHeight:null,noBorder:!1,transitionDuration:void 0,verticalBorderSpacing:void 0,horizontalMonthPadding:13,renderKeyboardShortcutsButton:void 0,renderKeyboardShortcutsPanel:void 0,dayPickerNavigationInlineStyles:null,disablePrev:!1,disableNext:!1,navPosition:S.NAV_POSITION_TOP,navPrev:null,navNext:null,renderNavPrevButton:null,renderNavNextButton:null,noNavButtons:!1,noNavNextButton:!1,noNavPrevButton:!1,onPrevMonthClick:function(){},onNextMonthClick:function(){},onMonthChange:function(){},onYearChange:function(){},onGetNextScrollableMonths:function(){},onGetPrevScrollableMonths:function(){},renderMonthText:null,renderMonthElement:null,renderWeekHeaderElement:null,modifiers:{},renderCalendarDay:void 0,renderDayContents:null,onDayClick:function(){},onDayMouseEnter:function(){},onDayMouseLeave:function(){},isFocused:!1,getFirstFocusableDay:null,onBlur:function(){},showKeyboardShortcuts:!1,onTab:function(){},onShiftTab:function(){},monthFormat:"MMMM YYYY",weekDayFormat:"dd",phrases:m.DayPickerPhrases,dayAriaLabelFormat:void 0};t.defaultProps=R;var q=function(e){(0,c.default)(n,e);var t=n.prototype;function n(t){var n;n=e.call(this,t)||this;var r=t.hidden?(0,f.default)():t.initialVisibleMonth(),o=r.clone().startOf("month");t.getFirstFocusableDay&&(o=t.getFirstFocusableDay(r));var i=t.horizontalMonthPadding,a=t.isRTL&&n.isHorizontal()?-(0,_.default)(t.daySize,i):0;return n.hasSetInitialVisibleMonth=!t.hidden,n.state={currentMonthScrollTop:null,currentMonth:r,monthTransition:null,translationValue:a,scrollableMonthMultiple:1,calendarMonthWidth:(0,_.default)(t.daySize,i),focusedDate:!t.hidden||t.isFocused?o:null,nextFocusedDate:null,showKeyboardShortcuts:t.showKeyboardShortcuts,onKeyboardShortcutsPanelClose:function(){},isTouchDevice:(0,b.default)(),withMouseInteractions:!0,calendarInfoWidth:0,monthTitleHeight:null,hasSetHeight:!1},n.setCalendarMonthWeeks(r),n.calendarMonthGridHeight=0,n.setCalendarInfoWidthTimeout=null,n.setCalendarMonthGridHeightTimeout=null,n.onKeyDown=n.onKeyDown.bind((0,l.default)(n)),n.throttledKeyDown=(0,h.default)(n.onFinalKeyDown,200,{trailing:!1}),n.onPrevMonthClick=n.onPrevMonthClick.bind((0,l.default)(n)),n.onPrevMonthTransition=n.onPrevMonthTransition.bind((0,l.default)(n)),n.onNextMonthClick=n.onNextMonthClick.bind((0,l.default)(n)),n.onNextMonthTransition=n.onNextMonthTransition.bind((0,l.default)(n)),n.onMonthChange=n.onMonthChange.bind((0,l.default)(n)),n.onYearChange=n.onYearChange.bind((0,l.default)(n)),n.getNextScrollableMonths=n.getNextScrollableMonths.bind((0,l.default)(n)),n.getPrevScrollableMonths=n.getPrevScrollableMonths.bind((0,l.default)(n)),n.updateStateAfterMonthTransition=n.updateStateAfterMonthTransition.bind((0,l.default)(n)),n.openKeyboardShortcutsPanel=n.openKeyboardShortcutsPanel.bind((0,l.default)(n)),n.closeKeyboardShortcutsPanel=n.closeKeyboardShortcutsPanel.bind((0,l.default)(n)),n.setCalendarInfoRef=n.setCalendarInfoRef.bind((0,l.default)(n)),n.setContainerRef=n.setContainerRef.bind((0,l.default)(n)),n.setTransitionContainerRef=n.setTransitionContainerRef.bind((0,l.default)(n)),n.setMonthTitleHeight=n.setMonthTitleHeight.bind((0,l.default)(n)),n}return t[!d.default.PureComponent&&"shouldComponentUpdate"]=function(e,t){return!(0,i.default)(this.props,e)||!(0,i.default)(this.state,t)},t.componentDidMount=function(){var e=this.props.orientation,t=this.state.currentMonth,n=this.calendarInfo?(0,z.default)(this.calendarInfo,"width",!0,!0):0,r=this.transitionContainer&&e===S.VERTICAL_SCROLLABLE?this.transitionContainer.scrollHeight-this.transitionContainer.scrollTop:null;this.setState({isTouchDevice:(0,b.default)(),calendarInfoWidth:n,currentMonthScrollTop:r}),this.setCalendarMonthWeeks(t)},t.componentWillReceiveProps=function(e,t){var n=e.hidden,r=e.isFocused,o=e.showKeyboardShortcuts,i=e.onBlur,a=e.orientation,s=e.renderMonthText,l=e.horizontalMonthPadding,c=this.state.currentMonth,u=t.currentMonth;n||this.hasSetInitialVisibleMonth||(this.hasSetInitialVisibleMonth=!0,this.setState({currentMonth:e.initialVisibleMonth()}));var d=this.props,p=d.daySize,f=d.isFocused,h=d.renderMonthText;if(e.daySize!==p&&this.setState({calendarMonthWidth:(0,_.default)(e.daySize,l)}),r!==f)if(r){var b=this.getFocusedDay(c),A=this.state.onKeyboardShortcutsPanelClose;e.showKeyboardShortcuts&&(A=i),this.setState({showKeyboardShortcuts:o,onKeyboardShortcutsPanelClose:A,focusedDate:b,withMouseInteractions:!1})}else this.setState({focusedDate:null});s!==h&&this.setState({monthTitleHeight:null}),a===S.VERTICAL_SCROLLABLE&&this.transitionContainer&&!(0,C.default)(c,u)&&this.setState({currentMonthScrollTop:this.transitionContainer.scrollHeight-this.transitionContainer.scrollTop})},t.componentWillUpdate=function(){var e=this,t=this.props.transitionDuration;this.calendarInfo&&(this.setCalendarInfoWidthTimeout=setTimeout((function(){var t=e.state.calendarInfoWidth,n=(0,z.default)(e.calendarInfo,"width",!0,!0);t!==n&&e.setState({calendarInfoWidth:n})}),t))},t.componentDidUpdate=function(e,t){var n=this.props,r=n.orientation,o=n.daySize,i=n.isFocused,a=n.numberOfMonths,l=this.state,c=l.currentMonth,u=l.currentMonthScrollTop,d=l.focusedDate,p=l.monthTitleHeight;if(this.isHorizontal()&&(r!==e.orientation||o!==e.daySize)){var f=this.calendarMonthWeeks.slice(1,a+1),h=p+Math.max.apply(Math,[0].concat((0,s.default)(f)))*(o-1)+1;this.adjustDayPickerHeight(h)}e.isFocused||!i||d||this.container.focus(),r===S.VERTICAL_SCROLLABLE&&!(0,C.default)(t.currentMonth,c)&&u&&this.transitionContainer&&(this.transitionContainer.scrollTop=this.transitionContainer.scrollHeight-u)},t.componentWillUnmount=function(){clearTimeout(this.setCalendarInfoWidthTimeout),clearTimeout(this.setCalendarMonthGridHeightTimeout)},t.onKeyDown=function(e){e.stopPropagation(),S.MODIFIER_KEY_NAMES.has(e.key)||this.throttledKeyDown(e)},t.onFinalKeyDown=function(e){this.setState({withMouseInteractions:!1});var t=this.props,n=t.onBlur,r=t.onTab,o=t.onShiftTab,i=t.isRTL,a=this.state,s=a.focusedDate,l=a.showKeyboardShortcuts;if(s){var c=s.clone(),u=!1,d=(0,x.default)();switch(e.key){case"ArrowUp":e.preventDefault(),c.subtract(1,"week"),u=this.maybeTransitionPrevMonth(c);break;case"ArrowLeft":e.preventDefault(),i?c.add(1,"day"):c.subtract(1,"day"),u=this.maybeTransitionPrevMonth(c);break;case"Home":e.preventDefault(),c.startOf("week"),u=this.maybeTransitionPrevMonth(c);break;case"PageUp":e.preventDefault(),c.subtract(1,"month"),u=this.maybeTransitionPrevMonth(c);break;case"ArrowDown":e.preventDefault(),c.add(1,"week"),u=this.maybeTransitionNextMonth(c);break;case"ArrowRight":e.preventDefault(),i?c.subtract(1,"day"):c.add(1,"day"),u=this.maybeTransitionNextMonth(c);break;case"End":e.preventDefault(),c.endOf("week"),u=this.maybeTransitionNextMonth(c);break;case"PageDown":e.preventDefault(),c.add(1,"month"),u=this.maybeTransitionNextMonth(c);break;case"?":this.openKeyboardShortcutsPanel((function(){d&&d.focus()}));break;case"Escape":l?this.closeKeyboardShortcutsPanel():n(e);break;case"Tab":e.shiftKey?o():r(e)}u||this.setState({focusedDate:c})}},t.onPrevMonthClick=function(e){e&&e.preventDefault(),this.onPrevMonthTransition()},t.onPrevMonthTransition=function(e){var t,n=this.props,r=n.daySize,o=n.isRTL,i=n.numberOfMonths,a=this.state,l=a.calendarMonthWidth,c=a.monthTitleHeight;if(this.isVertical())t=c+this.calendarMonthWeeks[0]*(r-1)+1;else if(this.isHorizontal()){t=l,o&&(t=-2*l);var u=this.calendarMonthWeeks.slice(0,i),d=c+Math.max.apply(Math,[0].concat((0,s.default)(u)))*(r-1)+1;this.adjustDayPickerHeight(d)}this.setState({monthTransition:D,translationValue:t,focusedDate:null,nextFocusedDate:e})},t.onMonthChange=function(e){this.setCalendarMonthWeeks(e),this.calculateAndSetDayPickerHeight(),this.setState({monthTransition:T,translationValue:1e-5,focusedDate:null,nextFocusedDate:e,currentMonth:e})},t.onYearChange=function(e){this.setCalendarMonthWeeks(e),this.calculateAndSetDayPickerHeight(),this.setState({monthTransition:j,translationValue:1e-4,focusedDate:null,nextFocusedDate:e,currentMonth:e})},t.onNextMonthClick=function(e){e&&e.preventDefault(),this.onNextMonthTransition()},t.onNextMonthTransition=function(e){var t,n=this.props,r=n.isRTL,o=n.numberOfMonths,i=n.daySize,a=this.state,l=a.calendarMonthWidth,c=a.monthTitleHeight;this.isVertical()&&(t=-(c+this.calendarMonthWeeks[1]*(i-1)+1));if(this.isHorizontal()){t=-l,r&&(t=0);var u=this.calendarMonthWeeks.slice(2,o+2),d=c+Math.max.apply(Math,[0].concat((0,s.default)(u)))*(i-1)+1;this.adjustDayPickerHeight(d)}this.setState({monthTransition:N,translationValue:t,focusedDate:null,nextFocusedDate:e})},t.getFirstDayOfWeek=function(){var e=this.props.firstDayOfWeek;return null==e?f.default.localeData().firstDayOfWeek():e},t.getWeekHeaders=function(){for(var e=this.props.weekDayFormat,t=this.state.currentMonth,n=this.getFirstDayOfWeek(),r=[],o=0;o<7;o+=1)r.push(t.clone().day((o+n)%7).format(e));return r},t.getFirstVisibleIndex=function(){var e=this.props.orientation,t=this.state.monthTransition;if(e===S.VERTICAL_SCROLLABLE)return 0;var n=1;return t===D?n-=1:t===N&&(n+=1),n},t.getFocusedDay=function(e){var t,n=this.props,r=n.getFirstFocusableDay,o=n.numberOfMonths;return r&&(t=r(e)),!e||t&&(0,w.default)(t,e,o)||(t=e.clone().startOf("month")),t},t.setMonthTitleHeight=function(e){var t=this;this.setState({monthTitleHeight:e},(function(){t.calculateAndSetDayPickerHeight()}))},t.setCalendarMonthWeeks=function(e){var t=this.props.numberOfMonths;this.calendarMonthWeeks=[];for(var n=e.clone().subtract(1,"months"),r=this.getFirstDayOfWeek(),o=0;o<t+2;o+=1){var i=(0,O.default)(n,r);this.calendarMonthWeeks.push(i),n=n.add(1,"months")}},t.setContainerRef=function(e){this.container=e},t.setCalendarInfoRef=function(e){this.calendarInfo=e},t.setTransitionContainerRef=function(e){this.transitionContainer=e},t.getNextScrollableMonths=function(e){var t=this.props.onGetNextScrollableMonths;e&&e.preventDefault(),t&&t(e),this.setState((function(e){return{scrollableMonthMultiple:e.scrollableMonthMultiple+1}}))},t.getPrevScrollableMonths=function(e){var t=this.props,n=t.numberOfMonths,r=t.onGetPrevScrollableMonths;e&&e.preventDefault(),r&&r(e),this.setState((function(e){var t=e.currentMonth,r=e.scrollableMonthMultiple;return{currentMonth:t.clone().subtract(n,"month"),scrollableMonthMultiple:r+1}}))},t.maybeTransitionNextMonth=function(e){var t=this.props.numberOfMonths,n=this.state,r=n.currentMonth,o=n.focusedDate,i=e.month(),a=o.month(),s=(0,w.default)(e,r,t);return i!==a&&!s&&(this.onNextMonthTransition(e),!0)},t.maybeTransitionPrevMonth=function(e){var t=this.props.numberOfMonths,n=this.state,r=n.currentMonth,o=n.focusedDate,i=e.month(),a=o.month(),s=(0,w.default)(e,r,t);return i!==a&&!s&&(this.onPrevMonthTransition(e),!0)},t.isHorizontal=function(){return this.props.orientation===S.HORIZONTAL_ORIENTATION},t.isVertical=function(){var e=this.props.orientation;return e===S.VERTICAL_ORIENTATION||e===S.VERTICAL_SCROLLABLE},t.updateStateAfterMonthTransition=function(){var e=this,t=this.props,n=t.onPrevMonthClick,r=t.onNextMonthClick,o=t.numberOfMonths,i=t.onMonthChange,a=t.onYearChange,l=t.isRTL,c=this.state,u=c.currentMonth,d=c.monthTransition,p=c.focusedDate,f=c.nextFocusedDate,h=c.withMouseInteractions,b=c.calendarMonthWidth;if(d){var A=u.clone(),m=this.getFirstDayOfWeek();if(d===D){A.subtract(1,"month"),n&&n(A);var g=A.clone().subtract(1,"month"),v=(0,O.default)(g,m);this.calendarMonthWeeks=[v].concat((0,s.default)(this.calendarMonthWeeks.slice(0,-1)))}else if(d===N){A.add(1,"month"),r&&r(A);var y=A.clone().add(o,"month"),M=(0,O.default)(y,m);this.calendarMonthWeeks=[].concat((0,s.default)(this.calendarMonthWeeks.slice(1)),[M])}else d===T?i&&i(A):d===j&&a&&a(A);var _=null;f?_=f:p||h||(_=this.getFocusedDay(A)),this.setState({currentMonth:A,monthTransition:null,translationValue:l&&this.isHorizontal()?-b:0,nextFocusedDate:null,focusedDate:_},(function(){if(h){var t=(0,x.default)();t&&t!==document.body&&e.container.contains(t)&&t.blur&&t.blur()}}))}},t.adjustDayPickerHeight=function(e){var t=this,n=e+23;n!==this.calendarMonthGridHeight&&(this.transitionContainer.style.height="".concat(n,"px"),this.calendarMonthGridHeight||(this.setCalendarMonthGridHeightTimeout=setTimeout((function(){t.setState({hasSetHeight:!0})}),0)),this.calendarMonthGridHeight=n)},t.calculateAndSetDayPickerHeight=function(){var e=this.props,t=e.daySize,n=e.numberOfMonths,r=this.state.monthTitleHeight,o=this.calendarMonthWeeks.slice(1,n+1),i=r+Math.max.apply(Math,[0].concat((0,s.default)(o)))*(t-1)+1;this.isHorizontal()&&this.adjustDayPickerHeight(i)},t.openKeyboardShortcutsPanel=function(e){this.setState({showKeyboardShortcuts:!0,onKeyboardShortcutsPanelClose:e})},t.closeKeyboardShortcutsPanel=function(){var e=this.state.onKeyboardShortcutsPanelClose;e&&e(),this.setState({onKeyboardShortcutsPanelClose:null,showKeyboardShortcuts:!1})},t.renderNavigation=function(e){var t=this.props,n=t.dayPickerNavigationInlineStyles,r=t.disablePrev,o=t.disableNext,i=t.navPosition,a=t.navPrev,s=t.navNext,l=t.noNavButtons,c=t.noNavNextButton,u=t.noNavPrevButton,p=t.orientation,f=t.phrases,h=t.renderNavPrevButton,b=t.renderNavNextButton,A=t.isRTL;if(l)return null;var m=p===S.VERTICAL_SCROLLABLE?this.getPrevScrollableMonths:this.onPrevMonthClick,g=p===S.VERTICAL_SCROLLABLE?this.getNextScrollableMonths:this.onNextMonthClick;return d.default.createElement(y.default,{disablePrev:r,disableNext:o,inlineStyles:n,onPrevMonthClick:m,onNextMonthClick:g,navPosition:i,navPrev:a,navNext:s,renderNavPrevButton:h,renderNavNextButton:b,orientation:p,phrases:f,isRTL:A,showNavNextButton:!(c||p===S.VERTICAL_SCROLLABLE&&e===B),showNavPrevButton:!(u||p===S.VERTICAL_SCROLLABLE&&e===L)})},t.renderWeekHeader=function(e){var t=this.props,n=t.daySize,r=t.horizontalMonthPadding,o=t.orientation,i=t.renderWeekHeaderElement,s=t.styles,l=this.state.calendarMonthWidth,c=o===S.VERTICAL_SCROLLABLE,u={left:e*l},f={marginLeft:-l/2},h={};this.isHorizontal()?h=u:this.isVertical()&&!c&&(h=f);var b=this.getWeekHeaders().map((function(e){return d.default.createElement("li",(0,a.default)({key:e},(0,p.css)(s.DayPicker_weekHeader_li,{width:n})),i?i(e):d.default.createElement("small",null,e))}));return d.default.createElement("div",(0,a.default)({},(0,p.css)(s.DayPicker_weekHeader,this.isVertical()&&s.DayPicker_weekHeader__vertical,c&&s.DayPicker_weekHeader__verticalScrollable,h,{padding:"0 ".concat(r,"px")}),{key:"week-".concat(e)}),d.default.createElement("ul",(0,p.css)(s.DayPicker_weekHeader_ul),b))},t.render=function(){for(var e=this,t=this.state,n=t.calendarMonthWidth,r=t.currentMonth,o=t.monthTransition,i=t.translationValue,s=t.scrollableMonthMultiple,l=t.focusedDate,c=t.showKeyboardShortcuts,u=t.isTouchDevice,f=t.hasSetHeight,h=t.calendarInfoWidth,b=t.monthTitleHeight,m=this.props,g=m.enableOutsideDays,y=m.numberOfMonths,O=m.orientation,_=m.modifiers,z=m.withPortal,x=m.onDayClick,w=m.onDayMouseEnter,C=m.onDayMouseLeave,E=m.firstDayOfWeek,k=m.renderMonthText,D=m.renderCalendarDay,N=m.renderDayContents,T=m.renderCalendarInfo,j=m.renderMonthElement,R=m.renderKeyboardShortcutsButton,q=m.renderKeyboardShortcutsPanel,P=m.calendarInfoPosition,I=m.hideKeyboardShortcutsPanel,W=m.onOutsideClick,F=m.monthFormat,U=m.daySize,Z=m.isFocused,H=m.isRTL,$=m.styles,V=m.theme,X=m.phrases,Q=m.verticalHeight,Y=m.dayAriaLabelFormat,G=m.noBorder,K=m.transitionDuration,J=m.verticalBorderSpacing,ee=m.horizontalMonthPadding,te=m.navPosition,ne=V.reactDates.spacing.dayPickerHorizontalPadding,re=this.isHorizontal(),oe=this.isVertical()?1:y,ie=[],ae=0;ae<oe;ae+=1)ie.push(this.renderWeekHeader(ae));var se,le=O===S.VERTICAL_SCROLLABLE;re?se=this.calendarMonthGridHeight:!this.isVertical()||le||z||(se=Q||1.75*n);var ce=null!==o,ue=!ce&&Z,de=M.BOTTOM_RIGHT;this.isVertical()&&(de=z?M.TOP_LEFT:M.TOP_RIGHT);var pe=re&&f,fe=P===S.INFO_POSITION_TOP,he=P===S.INFO_POSITION_BOTTOM,be=P===S.INFO_POSITION_BEFORE,Ae=P===S.INFO_POSITION_AFTER,me=be||Ae,ge=T&&d.default.createElement("div",(0,a.default)({ref:this.setCalendarInfoRef},(0,p.css)(me&&$.DayPicker_calendarInfo__horizontal)),T()),ve=T&&me?h:0,ye=this.getFirstVisibleIndex(),Me=n*y+2*ne,Oe=Me+ve+1,_e={width:re&&Me,height:se},ze={width:re&&Me},xe={width:re&&Oe,marginLeft:re&&z?-Oe/2:null,marginTop:re&&z?-n/2:null};return d.default.createElement("div",(0,p.css)($.DayPicker,re&&$.DayPicker__horizontal,le&&$.DayPicker__verticalScrollable,re&&z&&$.DayPicker_portal__horizontal,this.isVertical()&&z&&$.DayPicker_portal__vertical,xe,!b&&$.DayPicker__hidden,!G&&$.DayPicker__withBorder),d.default.createElement(A.default,{onOutsideClick:W},(fe||be)&&ge,d.default.createElement("div",(0,p.css)(ze,me&&re&&$.DayPicker_wrapper__horizontal),d.default.createElement("div",(0,a.default)({},(0,p.css)($.DayPicker_weekHeaders,re&&$.DayPicker_weekHeaders__horizontal),{"aria-hidden":"true",role:"presentation"}),ie),d.default.createElement("div",(0,a.default)({},(0,p.css)($.DayPicker_focusRegion),{ref:this.setContainerRef,onClick:function(e){e.stopPropagation()},onKeyDown:this.onKeyDown,onMouseUp:function(){e.setState({withMouseInteractions:!0})},tabIndex:-1,role:"application","aria-roledescription":X.roleDescription,"aria-label":X.calendarLabel}),!le&&te===S.NAV_POSITION_TOP&&this.renderNavigation(),d.default.createElement("div",(0,a.default)({},(0,p.css)($.DayPicker_transitionContainer,pe&&$.DayPicker_transitionContainer__horizontal,this.isVertical()&&$.DayPicker_transitionContainer__vertical,le&&$.DayPicker_transitionContainer__verticalScrollable,_e),{ref:this.setTransitionContainerRef}),le&&this.renderNavigation(B),d.default.createElement(v.default,{setMonthTitleHeight:b?void 0:this.setMonthTitleHeight,translationValue:i,enableOutsideDays:g,firstVisibleMonthIndex:ye,initialMonth:r,isAnimating:ce,modifiers:_,orientation:O,numberOfMonths:y*s,onDayClick:x,onDayMouseEnter:w,onDayMouseLeave:C,onMonthChange:this.onMonthChange,onYearChange:this.onYearChange,renderMonthText:k,renderCalendarDay:D,renderDayContents:N,renderMonthElement:j,onMonthTransitionEnd:this.updateStateAfterMonthTransition,monthFormat:F,daySize:U,firstDayOfWeek:E,isFocused:ue,focusedDate:l,phrases:X,isRTL:H,dayAriaLabelFormat:Y,transitionDuration:K,verticalBorderSpacing:J,horizontalMonthPadding:ee}),le&&this.renderNavigation(L)),!le&&te===S.NAV_POSITION_BOTTOM&&this.renderNavigation(),!u&&!I&&d.default.createElement(M.default,{block:this.isVertical()&&!z,buttonLocation:de,showKeyboardShortcutsPanel:c,openKeyboardShortcutsPanel:this.openKeyboardShortcutsPanel,closeKeyboardShortcutsPanel:this.closeKeyboardShortcutsPanel,phrases:X,renderKeyboardShortcutsButton:R,renderKeyboardShortcutsPanel:q}))),(he||Ae)&&ge))},n}(d.default.PureComponent||d.default.Component);t.PureDayPicker=q,q.propTypes={},q.defaultProps=R;var P=(0,p.withStyles)((function(e){var t=e.reactDates,n=t.color,r=t.font,o=t.noScrollBarOnVerticalScrollable,i=t.spacing,a=t.zIndex;return{DayPicker:{background:n.background,position:"relative",textAlign:(0,g.default)("left")},DayPicker__horizontal:{background:n.background},DayPicker__verticalScrollable:{height:"100%"},DayPicker__hidden:{visibility:"hidden"},DayPicker__withBorder:{boxShadow:(0,g.default)("0 2px 6px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.07)"),borderRadius:3},DayPicker_portal__horizontal:{boxShadow:"none",position:"absolute",left:(0,g.default)("50%"),top:"50%"},DayPicker_portal__vertical:{position:"initial"},DayPicker_focusRegion:{outline:"none"},DayPicker_calendarInfo__horizontal:{display:"inline-block",verticalAlign:"top"},DayPicker_wrapper__horizontal:{display:"inline-block",verticalAlign:"top"},DayPicker_weekHeaders:{position:"relative"},DayPicker_weekHeaders__horizontal:{marginLeft:(0,g.default)(i.dayPickerHorizontalPadding)},DayPicker_weekHeader:{color:n.placeholderText,position:"absolute",top:62,zIndex:a+2,textAlign:(0,g.default)("left")},DayPicker_weekHeader__vertical:{left:(0,g.default)("50%")},DayPicker_weekHeader__verticalScrollable:{top:0,display:"table-row",borderBottom:"1px solid ".concat(n.core.border),background:n.background,marginLeft:(0,g.default)(0),left:(0,g.default)(0),width:"100%",textAlign:"center"},DayPicker_weekHeader_ul:{listStyle:"none",margin:"1px 0",paddingLeft:(0,g.default)(0),paddingRight:(0,g.default)(0),fontSize:r.size},DayPicker_weekHeader_li:{display:"inline-block",textAlign:"center"},DayPicker_transitionContainer:{position:"relative",overflow:"hidden",borderRadius:3},DayPicker_transitionContainer__horizontal:{transition:"height 0.2s ease-in-out"},DayPicker_transitionContainer__vertical:{width:"100%"},DayPicker_transitionContainer__verticalScrollable:k({paddingTop:20,height:"100%",position:"absolute",top:0,bottom:0,right:(0,g.default)(0),left:(0,g.default)(0),overflowY:"scroll"},o&&{"-webkitOverflowScrolling":"touch","::-webkit-scrollbar":{"-webkit-appearance":"none",display:"none"}})}}),{pureComponent:"undefined"!==typeof d.default.PureComponent})(q);t.default=P},87166:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BOTTOM_RIGHT=t.TOP_RIGHT=t.TOP_LEFT=void 0;var o=r(n(45016)),i=r(n(10434)),a=r(n(66115)),s=r(n(7867)),l=(r(n(38416)),r(n(47313))),c=(r(n(75192)),n(96095),n(75385)),u=n(4667),d=(r(n(9257)),r(n(9954))),p=r(n(13888));var f="top-left";t.TOP_LEFT=f;var h="top-right";t.TOP_RIGHT=h;var b="bottom-right";t.BOTTOM_RIGHT=b;var A={block:!1,buttonLocation:b,showKeyboardShortcutsPanel:!1,openKeyboardShortcutsPanel:function(){},closeKeyboardShortcutsPanel:function(){},phrases:u.DayPickerKeyboardShortcutsPhrases,renderKeyboardShortcutsButton:void 0,renderKeyboardShortcutsPanel:void 0};function m(e){return[{unicode:"\u21b5",label:e.enterKey,action:e.selectFocusedDate},{unicode:"\u2190/\u2192",label:e.leftArrowRightArrow,action:e.moveFocusByOneDay},{unicode:"\u2191/\u2193",label:e.upArrowDownArrow,action:e.moveFocusByOneWeek},{unicode:"PgUp/PgDn",label:e.pageUpPageDown,action:e.moveFocusByOneMonth},{unicode:"Home/End",label:e.homeEnd,action:e.moveFocustoStartAndEndOfWeek},{unicode:"Esc",label:e.escape,action:e.returnFocusToInput},{unicode:"?",label:e.questionMark,action:e.openThisPanel}]}var g=function(e){(0,s.default)(n,e);var t=n.prototype;function n(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=(t=e.call.apply(e,[this].concat(r))||this).props.phrases;return t.keyboardShortcuts=m(i),t.onShowKeyboardShortcutsButtonClick=t.onShowKeyboardShortcutsButtonClick.bind((0,a.default)(t)),t.setShowKeyboardShortcutsButtonRef=t.setShowKeyboardShortcutsButtonRef.bind((0,a.default)(t)),t.setHideKeyboardShortcutsButtonRef=t.setHideKeyboardShortcutsButtonRef.bind((0,a.default)(t)),t.handleFocus=t.handleFocus.bind((0,a.default)(t)),t.onKeyDown=t.onKeyDown.bind((0,a.default)(t)),t}return t[!l.default.PureComponent&&"shouldComponentUpdate"]=function(e,t){return!(0,o.default)(this.props,e)||!(0,o.default)(this.state,t)},t.componentWillReceiveProps=function(e){var t=this.props.phrases;e.phrases!==t&&(this.keyboardShortcuts=m(e.phrases))},t.componentDidUpdate=function(){this.handleFocus()},t.onKeyDown=function(e){e.stopPropagation();var t=this.props.closeKeyboardShortcutsPanel;switch(e.key){case"Escape":t();break;case"ArrowUp":case"ArrowDown":default:break;case"Tab":case"Home":case"End":case"PageUp":case"PageDown":case"ArrowLeft":case"ArrowRight":e.preventDefault()}},t.onShowKeyboardShortcutsButtonClick=function(){var e=this;(0,this.props.openKeyboardShortcutsPanel)((function(){e.showKeyboardShortcutsButton.focus()}))},t.setShowKeyboardShortcutsButtonRef=function(e){this.showKeyboardShortcutsButton=e},t.setHideKeyboardShortcutsButtonRef=function(e){this.hideKeyboardShortcutsButton=e},t.handleFocus=function(){this.hideKeyboardShortcutsButton&&this.hideKeyboardShortcutsButton.focus()},t.render=function(){var e=this.props,t=e.block,n=e.buttonLocation,r=e.showKeyboardShortcutsPanel,o=e.closeKeyboardShortcutsPanel,a=e.styles,s=e.phrases,u=e.renderKeyboardShortcutsButton,A=e.renderKeyboardShortcutsPanel,m=r?s.hideKeyboardShortcutsPanel:s.showKeyboardShortcutsPanel,g=n===b,v=n===h,y=n===f;return l.default.createElement("div",null,u&&u({ref:this.setShowKeyboardShortcutsButtonRef,onClick:this.onShowKeyboardShortcutsButtonClick,ariaLabel:m}),!u&&l.default.createElement("button",(0,i.default)({ref:this.setShowKeyboardShortcutsButtonRef},(0,c.css)(a.DayPickerKeyboardShortcuts_buttonReset,a.DayPickerKeyboardShortcuts_show,g&&a.DayPickerKeyboardShortcuts_show__bottomRight,v&&a.DayPickerKeyboardShortcuts_show__topRight,y&&a.DayPickerKeyboardShortcuts_show__topLeft),{type:"button","aria-label":m,onClick:this.onShowKeyboardShortcutsButtonClick,onMouseUp:function(e){e.currentTarget.blur()}}),l.default.createElement("span",(0,c.css)(a.DayPickerKeyboardShortcuts_showSpan,g&&a.DayPickerKeyboardShortcuts_showSpan__bottomRight,v&&a.DayPickerKeyboardShortcuts_showSpan__topRight,y&&a.DayPickerKeyboardShortcuts_showSpan__topLeft),"?")),r&&(A?A({closeButtonAriaLabel:s.hideKeyboardShortcutsPanel,keyboardShortcuts:this.keyboardShortcuts,onCloseButtonClick:o,onKeyDown:this.onKeyDown,title:s.keyboardShortcuts}):l.default.createElement("div",(0,i.default)({},(0,c.css)(a.DayPickerKeyboardShortcuts_panel),{role:"dialog","aria-labelledby":"DayPickerKeyboardShortcuts_title","aria-describedby":"DayPickerKeyboardShortcuts_description"}),l.default.createElement("div",(0,i.default)({},(0,c.css)(a.DayPickerKeyboardShortcuts_title),{id:"DayPickerKeyboardShortcuts_title"}),s.keyboardShortcuts),l.default.createElement("button",(0,i.default)({ref:this.setHideKeyboardShortcutsButtonRef},(0,c.css)(a.DayPickerKeyboardShortcuts_buttonReset,a.DayPickerKeyboardShortcuts_close),{type:"button",tabIndex:"0","aria-label":s.hideKeyboardShortcutsPanel,onClick:o,onKeyDown:this.onKeyDown}),l.default.createElement(p.default,(0,c.css)(a.DayPickerKeyboardShortcuts_closeSvg))),l.default.createElement("ul",(0,i.default)({},(0,c.css)(a.DayPickerKeyboardShortcuts_list),{id:"DayPickerKeyboardShortcuts_description"}),this.keyboardShortcuts.map((function(e){var n=e.unicode,r=e.label,o=e.action;return l.default.createElement(d.default,{key:r,unicode:n,label:r,action:o,block:t})}))))))},n}(l.default.PureComponent||l.default.Component);g.propTypes={},g.defaultProps=A;var v=(0,c.withStyles)((function(e){var t=e.reactDates,n=t.color,r=t.font,o=t.zIndex;return{DayPickerKeyboardShortcuts_buttonReset:{background:"none",border:0,borderRadius:0,color:"inherit",font:"inherit",lineHeight:"normal",overflow:"visible",padding:0,cursor:"pointer",fontSize:r.size,":active":{outline:"none"}},DayPickerKeyboardShortcuts_show:{width:33,height:26,position:"absolute",zIndex:o+2,"::before":{content:'""',display:"block",position:"absolute"}},DayPickerKeyboardShortcuts_show__bottomRight:{bottom:0,right:0,"::before":{borderTop:"26px solid transparent",borderRight:"33px solid ".concat(n.core.primary),bottom:0,right:0},":hover::before":{borderRight:"33px solid ".concat(n.core.primary_dark)}},DayPickerKeyboardShortcuts_show__topRight:{top:0,right:0,"::before":{borderBottom:"26px solid transparent",borderRight:"33px solid ".concat(n.core.primary),top:0,right:0},":hover::before":{borderRight:"33px solid ".concat(n.core.primary_dark)}},DayPickerKeyboardShortcuts_show__topLeft:{top:0,left:0,"::before":{borderBottom:"26px solid transparent",borderLeft:"33px solid ".concat(n.core.primary),top:0,left:0},":hover::before":{borderLeft:"33px solid ".concat(n.core.primary_dark)}},DayPickerKeyboardShortcuts_showSpan:{color:n.core.white,position:"absolute"},DayPickerKeyboardShortcuts_showSpan__bottomRight:{bottom:0,right:5},DayPickerKeyboardShortcuts_showSpan__topRight:{top:1,right:5},DayPickerKeyboardShortcuts_showSpan__topLeft:{top:1,left:5},DayPickerKeyboardShortcuts_panel:{overflow:"auto",background:n.background,border:"1px solid ".concat(n.core.border),borderRadius:2,position:"absolute",top:0,bottom:0,right:0,left:0,zIndex:o+2,padding:22,margin:33,textAlign:"left"},DayPickerKeyboardShortcuts_title:{fontSize:16,fontWeight:"bold",margin:0},DayPickerKeyboardShortcuts_list:{listStyle:"none",padding:0,fontSize:r.size},DayPickerKeyboardShortcuts_close:{position:"absolute",right:22,top:22,zIndex:o+2,":active":{outline:"none"}},DayPickerKeyboardShortcuts_closeSvg:{height:15,width:15,fill:n.core.grayLighter,":hover":{fill:n.core.grayLight},":focus":{fill:n.core.grayLight}}}}),{pureComponent:"undefined"!==typeof l.default.PureComponent})(g);t.default=v},7023:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(45016)),i=r(n(10434)),a=r(n(861)),s=r(n(7867)),l=(r(n(38416)),r(n(47313))),c=(r(n(75192)),n(96095),n(75385)),u=n(4667),d=(r(n(9257)),r(n(21205))),p=r(n(52539)),f=r(n(17117)),h=r(n(24060)),b=r(n(61809)),A=(r(n(68172)),r(n(69133)),n(64847));var m={disablePrev:!1,disableNext:!1,inlineStyles:null,isRTL:!1,navPosition:A.NAV_POSITION_TOP,navPrev:null,navNext:null,orientation:A.HORIZONTAL_ORIENTATION,onPrevMonthClick:function(){},onNextMonthClick:function(){},phrases:u.DayPickerNavigationPhrases,renderNavPrevButton:null,renderNavNextButton:null,showNavPrevButton:!0,showNavNextButton:!0},g=function(e){function t(){return e.apply(this,arguments)||this}(0,s.default)(t,e);var n=t.prototype;return n[!l.default.PureComponent&&"shouldComponentUpdate"]=function(e,t){return!(0,o.default)(this.props,e)||!(0,o.default)(this.state,t)},n.render=function(){var e=this.props,t=e.inlineStyles,n=e.isRTL,r=e.disablePrev,o=e.disableNext,s=e.navPosition,u=e.navPrev,d=e.navNext,m=e.onPrevMonthClick,g=e.onNextMonthClick,v=e.orientation,y=e.phrases,M=e.renderNavPrevButton,O=e.renderNavNextButton,_=e.showNavPrevButton,z=e.showNavNextButton,x=e.styles;if(!z&&!_)return null;var w=v===A.HORIZONTAL_ORIENTATION,C=v!==A.HORIZONTAL_ORIENTATION,S=v===A.VERTICAL_SCROLLABLE,E=s===A.NAV_POSITION_BOTTOM,k=!!t,D=u,N=d,T=!1,j=!1,B={},L={};if(!D&&!M&&_){B={tabIndex:"0"},T=!0;var R=C?h.default:p.default;n&&!C&&(R=f.default),D=l.default.createElement(R,(0,c.css)(w&&x.DayPickerNavigation_svg__horizontal,C&&x.DayPickerNavigation_svg__vertical,r&&x.DayPickerNavigation_svg__disabled))}if(!N&&!O&&z){L={tabIndex:"0"},j=!0;var q=C?b.default:f.default;n&&!C&&(q=p.default),N=l.default.createElement(q,(0,c.css)(w&&x.DayPickerNavigation_svg__horizontal,C&&x.DayPickerNavigation_svg__vertical,o&&x.DayPickerNavigation_svg__disabled))}var P=j||T;return l.default.createElement("div",c.css.apply(void 0,[x.DayPickerNavigation,w&&x.DayPickerNavigation__horizontal].concat((0,a.default)(C?[x.DayPickerNavigation__vertical,P&&x.DayPickerNavigation__verticalDefault]:[]),(0,a.default)(S?[x.DayPickerNavigation__verticalScrollable,P&&x.DayPickerNavigation__verticalScrollableDefault,_&&x.DayPickerNavigation__verticalScrollable_prevNav]:[]),(0,a.default)(E?[x.DayPickerNavigation__bottom,P&&x.DayPickerNavigation__bottomDefault]:[]),[k&&t])),_&&(M?M({ariaLabel:y.jumpToPrevMonth,disabled:r,onClick:r?void 0:m,onKeyUp:r?void 0:function(e){var t=e.key;"Enter"!==t&&" "!==t||m(e)},onMouseUp:r?void 0:function(e){e.currentTarget.blur()}}):l.default.createElement("div",(0,i.default)({role:"button"},B,c.css.apply(void 0,[x.DayPickerNavigation_button,T&&x.DayPickerNavigation_button__default,r&&x.DayPickerNavigation_button__disabled].concat((0,a.default)(w?[x.DayPickerNavigation_button__horizontal].concat((0,a.default)(T?[x.DayPickerNavigation_button__horizontalDefault,E&&x.DayPickerNavigation_bottomButton__horizontalDefault,!n&&x.DayPickerNavigation_leftButton__horizontalDefault,n&&x.DayPickerNavigation_rightButton__horizontalDefault]:[])):[]),(0,a.default)(C?[x.DayPickerNavigation_button__vertical].concat((0,a.default)(T?[x.DayPickerNavigation_button__verticalDefault,x.DayPickerNavigation_prevButton__verticalDefault,S&&x.DayPickerNavigation_prevButton__verticalScrollableDefault]:[])):[]))),{"aria-disabled":!!r||void 0,"aria-label":y.jumpToPrevMonth,onClick:r?void 0:m,onKeyUp:r?void 0:function(e){var t=e.key;"Enter"!==t&&" "!==t||m(e)},onMouseUp:r?void 0:function(e){e.currentTarget.blur()}}),D)),z&&(O?O({ariaLabel:y.jumpToNextMonth,disabled:o,onClick:o?void 0:g,onKeyUp:o?void 0:function(e){var t=e.key;"Enter"!==t&&" "!==t||g(e)},onMouseUp:o?void 0:function(e){e.currentTarget.blur()}}):l.default.createElement("div",(0,i.default)({role:"button"},L,c.css.apply(void 0,[x.DayPickerNavigation_button,j&&x.DayPickerNavigation_button__default,o&&x.DayPickerNavigation_button__disabled].concat((0,a.default)(w?[x.DayPickerNavigation_button__horizontal].concat((0,a.default)(j?[x.DayPickerNavigation_button__horizontalDefault,E&&x.DayPickerNavigation_bottomButton__horizontalDefault,n&&x.DayPickerNavigation_leftButton__horizontalDefault,!n&&x.DayPickerNavigation_rightButton__horizontalDefault]:[])):[]),(0,a.default)(C?[x.DayPickerNavigation_button__vertical].concat((0,a.default)(j?[x.DayPickerNavigation_button__verticalDefault,x.DayPickerNavigation_nextButton__verticalDefault,S&&x.DayPickerNavigation_nextButton__verticalScrollableDefault]:[])):[]))),{"aria-disabled":!!o||void 0,"aria-label":y.jumpToNextMonth,onClick:o?void 0:g,onKeyUp:o?void 0:function(e){var t=e.key;"Enter"!==t&&" "!==t||g(e)},onMouseUp:o?void 0:function(e){e.currentTarget.blur()}}),N)))},t}(l.default.PureComponent||l.default.Component);g.propTypes={},g.defaultProps=m;var v=(0,c.withStyles)((function(e){var t=e.reactDates,n=t.color,r=t.zIndex;return{DayPickerNavigation:{position:"relative",zIndex:r+2},DayPickerNavigation__horizontal:{height:0},DayPickerNavigation__vertical:{},DayPickerNavigation__verticalScrollable:{},DayPickerNavigation__verticalScrollable_prevNav:{zIndex:r+1},DayPickerNavigation__verticalDefault:{position:"absolute",width:"100%",height:52,bottom:0,left:(0,d.default)(0)},DayPickerNavigation__verticalScrollableDefault:{position:"relative"},DayPickerNavigation__bottom:{height:"auto"},DayPickerNavigation__bottomDefault:{display:"flex",justifyContent:"space-between"},DayPickerNavigation_button:{cursor:"pointer",userSelect:"none",border:0,padding:0,margin:0},DayPickerNavigation_button__default:{border:"1px solid ".concat(n.core.borderLight),backgroundColor:n.background,color:n.placeholderText,":focus":{border:"1px solid ".concat(n.core.borderMedium)},":hover":{border:"1px solid ".concat(n.core.borderMedium)},":active":{background:n.backgroundDark}},DayPickerNavigation_button__disabled:{cursor:"default",border:"1px solid ".concat(n.disabled),":focus":{border:"1px solid ".concat(n.disabled)},":hover":{border:"1px solid ".concat(n.disabled)},":active":{background:"none"}},DayPickerNavigation_button__horizontal:{},DayPickerNavigation_button__horizontalDefault:{position:"absolute",top:18,lineHeight:.78,borderRadius:3,padding:"6px 9px"},DayPickerNavigation_bottomButton__horizontalDefault:{position:"static",marginLeft:22,marginRight:22,marginBottom:30,marginTop:-10},DayPickerNavigation_leftButton__horizontalDefault:{left:(0,d.default)(22)},DayPickerNavigation_rightButton__horizontalDefault:{right:(0,d.default)(22)},DayPickerNavigation_button__vertical:{},DayPickerNavigation_button__verticalDefault:{padding:5,background:n.background,boxShadow:(0,d.default)("0 0 5px 2px rgba(0, 0, 0, 0.1)"),position:"relative",display:"inline-block",textAlign:"center",height:"100%",width:"50%"},DayPickerNavigation_prevButton__verticalDefault:{},DayPickerNavigation_nextButton__verticalDefault:{borderLeft:(0,d.default)(0)},DayPickerNavigation_nextButton__verticalScrollableDefault:{width:"100%"},DayPickerNavigation_prevButton__verticalScrollableDefault:{width:"100%"},DayPickerNavigation_svg__horizontal:{height:19,width:19,fill:n.core.grayLight,display:"block"},DayPickerNavigation_svg__vertical:{height:42,width:42,fill:n.text},DayPickerNavigation_svg__disabled:{fill:n.disabled}}}),{pureComponent:"undefined"!==typeof l.default.PureComponent})(g);t.default=v},68601:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(45016)),i=r(n(27424)),a=r(n(38416)),s=r(n(66115)),l=r(n(7867)),c=r(n(47313)),u=(r(n(75192)),r(n(92981)),n(96095),r(n(70816))),d=r(n(37512)),p=r(n(64163)),f=n(4667),h=(r(n(9257)),r(n(26449))),b=r(n(17193)),A=r(n(43996)),m=r(n(74754)),g=r(n(14405)),v=r(n(83464)),y=r(n(30802)),M=r(n(16209)),O=r(n(52627)),_=r(n(90474)),z=n(54983),x=(r(n(80943)),r(n(97128)),r(n(69133)),r(n(12642)),r(n(99728)),r(n(68172)),n(64847)),w=r(n(31342)),C=r(n(74195));function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach((function(t){(0,a.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var k={startDate:void 0,endDate:void 0,minDate:null,maxDate:null,onDatesChange:function(){},startDateOffset:void 0,endDateOffset:void 0,focusedInput:null,onFocusChange:function(){},onClose:function(){},keepOpenOnDateSelect:!1,minimumNights:1,disabled:!1,isOutsideRange:function(){},isDayBlocked:function(){},isDayHighlighted:function(){},getMinNightsForHoverDate:function(){},daysViolatingMinNightsCanBeClicked:!1,renderMonthText:null,renderWeekHeaderElement:null,enableOutsideDays:!1,numberOfMonths:1,orientation:x.HORIZONTAL_ORIENTATION,withPortal:!1,hideKeyboardShortcutsPanel:!1,initialVisibleMonth:null,daySize:x.DAY_SIZE,dayPickerNavigationInlineStyles:null,navPosition:x.NAV_POSITION_TOP,navPrev:null,navNext:null,renderNavPrevButton:null,renderNavNextButton:null,noNavButtons:!1,noNavNextButton:!1,noNavPrevButton:!1,onPrevMonthClick:function(){},onNextMonthClick:function(){},onOutsideClick:function(){},renderCalendarDay:void 0,renderDayContents:null,renderCalendarInfo:null,renderMonthElement:null,renderKeyboardShortcutsButton:void 0,renderKeyboardShortcutsPanel:void 0,calendarInfoPosition:x.INFO_POSITION_BOTTOM,firstDayOfWeek:null,verticalHeight:null,noBorder:!1,transitionDuration:void 0,verticalBorderSpacing:void 0,horizontalMonthPadding:13,onBlur:function(){},isFocused:!1,showKeyboardShortcuts:!1,onTab:function(){},onShiftTab:function(){},monthFormat:"MMMM YYYY",weekDayFormat:"dd",phrases:f.DayPickerPhrases,dayAriaLabelFormat:void 0,isRTL:!1},D=function(e,t){return t===x.START_DATE?e.chooseAvailableStartDate:t===x.END_DATE?e.chooseAvailableEndDate:e.chooseAvailableDate},N=function(e){(0,l.default)(n,e);var t=n.prototype;function n(t){var n;(n=e.call(this,t)||this).isTouchDevice=(0,p.default)(),n.today=(0,u.default)(),n.modifiers={today:function(e){return n.isToday(e)},blocked:function(e){return n.isBlocked(e)},"blocked-calendar":function(e){return t.isDayBlocked(e)},"blocked-out-of-range":function(e){return t.isOutsideRange(e)},"highlighted-calendar":function(e){return t.isDayHighlighted(e)},valid:function(e){return!n.isBlocked(e)},"selected-start":function(e){return n.isStartDate(e)},"selected-end":function(e){return n.isEndDate(e)},"blocked-minimum-nights":function(e){return n.doesNotMeetMinimumNights(e)},"selected-span":function(e){return n.isInSelectedSpan(e)},"last-in-range":function(e){return n.isLastInRange(e)},hovered:function(e){return n.isHovered(e)},"hovered-span":function(e){return n.isInHoveredSpan(e)},"hovered-offset":function(e){return n.isInHoveredSpan(e)},"after-hovered-start":function(e){return n.isDayAfterHoveredStartDate(e)},"first-day-of-week":function(e){return n.isFirstDayOfWeek(e)},"last-day-of-week":function(e){return n.isLastDayOfWeek(e)},"hovered-start-first-possible-end":function(e,t){return n.isFirstPossibleEndDateForHoveredStartDate(e,t)},"hovered-start-blocked-minimum-nights":function(e,t){return n.doesNotMeetMinNightsForHoveredStartDate(e,t)},"before-hovered-end":function(e){return n.isDayBeforeHoveredEndDate(e)},"no-selected-start-before-selected-end":function(e){return n.beforeSelectedEnd(e)&&!t.startDate},"selected-start-in-hovered-span":function(e,t){return n.isStartDate(e)&&(0,m.default)(t,e)},"selected-start-no-selected-end":function(e){return n.isStartDate(e)&&!t.endDate},"selected-end-no-selected-start":function(e){return n.isEndDate(e)&&!t.startDate}};var r=n.getStateForNewMonth(t),o=r.currentMonth,i=r.visibleDays,a=D(t.phrases,t.focusedInput);return n.state={hoverDate:null,currentMonth:o,phrases:E({},t.phrases,{chooseAvailableDate:a}),visibleDays:i,disablePrev:n.shouldDisableMonthNavigation(t.minDate,o),disableNext:n.shouldDisableMonthNavigation(t.maxDate,o)},n.onDayClick=n.onDayClick.bind((0,s.default)(n)),n.onDayMouseEnter=n.onDayMouseEnter.bind((0,s.default)(n)),n.onDayMouseLeave=n.onDayMouseLeave.bind((0,s.default)(n)),n.onPrevMonthClick=n.onPrevMonthClick.bind((0,s.default)(n)),n.onNextMonthClick=n.onNextMonthClick.bind((0,s.default)(n)),n.onMonthChange=n.onMonthChange.bind((0,s.default)(n)),n.onYearChange=n.onYearChange.bind((0,s.default)(n)),n.onGetNextScrollableMonths=n.onGetNextScrollableMonths.bind((0,s.default)(n)),n.onGetPrevScrollableMonths=n.onGetPrevScrollableMonths.bind((0,s.default)(n)),n.getFirstFocusableDay=n.getFirstFocusableDay.bind((0,s.default)(n)),n}return t[!c.default.PureComponent&&"shouldComponentUpdate"]=function(e,t){return!(0,o.default)(this.props,e)||!(0,o.default)(this.state,t)},t.componentWillReceiveProps=function(e){var t=this,n=e.startDate,r=e.endDate,o=e.focusedInput,i=e.getMinNightsForHoverDate,a=e.minimumNights,s=e.isOutsideRange,l=e.isDayBlocked,c=e.isDayHighlighted,p=e.phrases,f=e.initialVisibleMonth,h=e.numberOfMonths,b=e.enableOutsideDays,m=this.props,v=m.startDate,y=m.endDate,M=m.focusedInput,O=m.minimumNights,_=m.isOutsideRange,z=m.isDayBlocked,w=m.isDayHighlighted,S=m.phrases,k=m.initialVisibleMonth,N=m.numberOfMonths,T=m.enableOutsideDays,j=this.state.hoverDate,B=this.state.visibleDays,L=!1,R=!1,q=!1;s!==_&&(this.modifiers["blocked-out-of-range"]=function(e){return s(e)},L=!0),l!==z&&(this.modifiers["blocked-calendar"]=function(e){return l(e)},R=!0),c!==w&&(this.modifiers["highlighted-calendar"]=function(e){return c(e)},q=!0);var P=L||R||q,I=n!==v,W=r!==y,F=o!==M;if(h!==N||b!==T||f!==k&&!M&&F){var U=this.getStateForNewMonth(e),Z=U.currentMonth;B=U.visibleDays,this.setState({currentMonth:Z,visibleDays:B})}var H={};if(I){if(H=this.deleteModifier(H,v,"selected-start"),H=this.addModifier(H,n,"selected-start"),v){var $=v.clone().add(1,"day"),V=v.clone().add(O+1,"days");H=this.deleteModifierFromRange(H,$,V,"after-hovered-start"),r&&y||(H=this.deleteModifier(H,v,"selected-start-no-selected-end"))}!v&&r&&n&&(H=this.deleteModifier(H,r,"selected-end-no-selected-start"),H=this.deleteModifier(H,r,"selected-end-in-hovered-span"),(0,d.default)(B).forEach((function(e){Object.keys(e).forEach((function(e){var n=(0,u.default)(e);H=t.deleteModifier(H,n,"no-selected-start-before-selected-end")}))})))}if(W&&(H=this.deleteModifier(H,y,"selected-end"),H=this.addModifier(H,r,"selected-end"),!y||n&&v||(H=this.deleteModifier(H,y,"selected-end-no-selected-start"))),(I||W)&&(v&&y&&(H=this.deleteModifierFromRange(H,v,y.clone().add(1,"day"),"selected-span")),n&&r&&(H=this.deleteModifierFromRange(H,n,r.clone().add(1,"day"),"hovered-span"),H=this.addModifierToRange(H,n.clone().add(1,"day"),r,"selected-span")),n&&!r&&(H=this.addModifier(H,n,"selected-start-no-selected-end")),r&&!n&&(H=this.addModifier(H,r,"selected-end-no-selected-start")),!n&&r&&(0,d.default)(B).forEach((function(e){Object.keys(e).forEach((function(e){var n=(0,u.default)(e);(0,g.default)(n,r)&&(H=t.addModifier(H,n,"no-selected-start-before-selected-end"))}))}))),!this.isTouchDevice&&I&&n&&!r){var X=n.clone().add(1,"day"),Q=n.clone().add(a+1,"days");H=this.addModifierToRange(H,X,Q,"after-hovered-start")}if(!this.isTouchDevice&&W&&!n&&r){var Y=r.clone().subtract(a,"days"),G=r.clone();H=this.addModifierToRange(H,Y,G,"before-hovered-end")}if(O>0&&(F||I||a!==O)){var K=v||this.today;H=this.deleteModifierFromRange(H,K,K.clone().add(O,"days"),"blocked-minimum-nights"),H=this.deleteModifierFromRange(H,K,K.clone().add(O,"days"),"blocked")}if((F||P)&&(0,d.default)(B).forEach((function(e){Object.keys(e).forEach((function(e){var n=(0,C.default)(e),r=!1;(F||L)&&(s(n)?(H=t.addModifier(H,n,"blocked-out-of-range"),r=!0):H=t.deleteModifier(H,n,"blocked-out-of-range")),(F||R)&&(l(n)?(H=t.addModifier(H,n,"blocked-calendar"),r=!0):H=t.deleteModifier(H,n,"blocked-calendar")),H=r?t.addModifier(H,n,"blocked"):t.deleteModifier(H,n,"blocked"),(F||q)&&(H=c(n)?t.addModifier(H,n,"highlighted-calendar"):t.deleteModifier(H,n,"highlighted-calendar"))}))})),!this.isTouchDevice&&F&&j&&!this.isBlocked(j)){var J=i(j);J>0&&o===x.END_DATE&&(H=this.deleteModifierFromRange(H,j.clone().add(1,"days"),j.clone().add(J,"days"),"hovered-start-blocked-minimum-nights"),H=this.deleteModifier(H,j.clone().add(J,"days"),"hovered-start-first-possible-end")),J>0&&o===x.START_DATE&&(H=this.addModifierToRange(H,j.clone().add(1,"days"),j.clone().add(J,"days"),"hovered-start-blocked-minimum-nights"),H=this.addModifier(H,j.clone().add(J,"days"),"hovered-start-first-possible-end"))}a>0&&n&&o===x.END_DATE&&(H=this.addModifierToRange(H,n,n.clone().add(a,"days"),"blocked-minimum-nights"),H=this.addModifierToRange(H,n,n.clone().add(a,"days"),"blocked"));var ee=(0,u.default)();if((0,A.default)(this.today,ee)||(H=this.deleteModifier(H,this.today,"today"),H=this.addModifier(H,ee,"today"),this.today=ee),Object.keys(H).length>0&&this.setState({visibleDays:E({},B,{},H)}),F||p!==S){var te=D(p,o);this.setState({phrases:E({},p,{chooseAvailableDate:te})})}},t.onDayClick=function(e,t){var n=this.props,r=n.keepOpenOnDateSelect,o=n.minimumNights,i=n.onBlur,a=n.focusedInput,s=n.onFocusChange,l=n.onClose,c=n.onDatesChange,u=n.startDateOffset,d=n.endDateOffset,p=n.disabled,f=n.daysViolatingMinNightsCanBeClicked;if(t&&t.preventDefault(),!this.isBlocked(e,!f)){var b=this.props,A=b.startDate,v=b.endDate;if(u||d){if(A=(0,O.default)(u,e),v=(0,O.default)(d,e),this.isBlocked(A)||this.isBlocked(v))return;c({startDate:A,endDate:v}),r||(s(null),l({startDate:A,endDate:v}))}else if(a===x.START_DATE){var y=v&&v.clone().subtract(o,"days"),M=(0,g.default)(y,e)||(0,m.default)(A,v),_=p===x.END_DATE;_&&M||(A=e,M&&(v=null)),c({startDate:A,endDate:v}),_&&!M?(s(null),l({startDate:A,endDate:v})):_||s(x.END_DATE)}else if(a===x.END_DATE){var z=A&&A.clone().add(o,"days");A?(0,h.default)(e,z)?(c({startDate:A,endDate:v=e}),r||(s(null),l({startDate:A,endDate:v}))):f&&this.doesNotMeetMinimumNights(e)?c({startDate:A,endDate:v=e}):p!==x.START_DATE?c({startDate:A=e,endDate:v=null}):c({startDate:A,endDate:v}):(c({startDate:A,endDate:v=e}),s(x.START_DATE))}else c({startDate:A,endDate:v});i()}},t.onDayMouseEnter=function(e){if(!this.isTouchDevice){var t=this.props,n=t.startDate,r=t.endDate,o=t.focusedInput,i=t.getMinNightsForHoverDate,a=t.minimumNights,s=t.startDateOffset,l=t.endDateOffset,c=this.state,u=c.hoverDate,d=c.visibleDays,p=c.dateOffset,f=null;if(o){var h=s||l,b={};if(h){var v=(0,O.default)(s,e),y=(0,O.default)(l,e,(function(e){return e.add(1,"day")}));f={start:v,end:y},p&&p.start&&p.end&&(b=this.deleteModifierFromRange(b,p.start,p.end,"hovered-offset")),b=this.addModifierToRange(b,v,y,"hovered-offset")}if(!h){if(b=this.deleteModifier(b,u,"hovered"),b=this.addModifier(b,e,"hovered"),n&&!r&&o===x.END_DATE){if((0,m.default)(u,n)){var M=u.clone().add(1,"day");b=this.deleteModifierFromRange(b,n,M,"hovered-span")}if(((0,g.default)(e,n)||(0,A.default)(e,n))&&(b=this.deleteModifier(b,n,"selected-start-in-hovered-span")),!this.isBlocked(e)&&(0,m.default)(e,n)){var _=e.clone().add(1,"day");b=this.addModifierToRange(b,n,_,"hovered-span"),b=this.addModifier(b,n,"selected-start-in-hovered-span")}}if(!n&&r&&o===x.START_DATE&&((0,g.default)(u,r)&&(b=this.deleteModifierFromRange(b,u,r,"hovered-span")),((0,m.default)(e,r)||(0,A.default)(e,r))&&(b=this.deleteModifier(b,r,"selected-end-in-hovered-span")),!this.isBlocked(e)&&(0,g.default)(e,r)&&(b=this.addModifierToRange(b,e,r,"hovered-span"),b=this.addModifier(b,r,"selected-end-in-hovered-span"))),n){var z=n.clone().add(1,"day"),w=n.clone().add(a+1,"days");if(b=this.deleteModifierFromRange(b,z,w,"after-hovered-start"),(0,A.default)(e,n)){var C=n.clone().add(1,"day"),S=n.clone().add(a+1,"days");b=this.addModifierToRange(b,C,S,"after-hovered-start")}}if(r){var k=r.clone().subtract(a,"days");if(b=this.deleteModifierFromRange(b,k,r,"before-hovered-end"),(0,A.default)(e,r)){var D=r.clone().subtract(a,"days");b=this.addModifierToRange(b,D,r,"before-hovered-end")}}if(u&&!this.isBlocked(u)){var N=i(u);N>0&&o===x.START_DATE&&(b=this.deleteModifierFromRange(b,u.clone().add(1,"days"),u.clone().add(N,"days"),"hovered-start-blocked-minimum-nights"),b=this.deleteModifier(b,u.clone().add(N,"days"),"hovered-start-first-possible-end"))}if(!this.isBlocked(e)){var T=i(e);T>0&&o===x.START_DATE&&(b=this.addModifierToRange(b,e.clone().add(1,"days"),e.clone().add(T,"days"),"hovered-start-blocked-minimum-nights"),b=this.addModifier(b,e.clone().add(T,"days"),"hovered-start-first-possible-end"))}}this.setState({hoverDate:e,dateOffset:f,visibleDays:E({},d,{},b)})}}},t.onDayMouseLeave=function(e){var t=this.props,n=t.startDate,r=t.endDate,o=t.focusedInput,i=t.getMinNightsForHoverDate,a=t.minimumNights,s=this.state,l=s.hoverDate,c=s.visibleDays,u=s.dateOffset;if(!this.isTouchDevice&&l){var d={};if(d=this.deleteModifier(d,l,"hovered"),u&&(d=this.deleteModifierFromRange(d,u.start,u.end,"hovered-offset")),n&&!r){if((0,m.default)(l,n)){var p=l.clone().add(1,"day");d=this.deleteModifierFromRange(d,n,p,"hovered-span")}(0,m.default)(e,n)&&(d=this.deleteModifier(d,n,"selected-start-in-hovered-span"))}if(!n&&r&&((0,m.default)(r,l)&&(d=this.deleteModifierFromRange(d,l,r,"hovered-span")),(0,g.default)(e,r)&&(d=this.deleteModifier(d,r,"selected-end-in-hovered-span"))),n&&(0,A.default)(e,n)){var f=n.clone().add(1,"day"),h=n.clone().add(a+1,"days");d=this.deleteModifierFromRange(d,f,h,"after-hovered-start")}if(r&&(0,A.default)(e,r)){var b=r.clone().subtract(a,"days");d=this.deleteModifierFromRange(d,b,r,"before-hovered-end")}if(!this.isBlocked(l)){var v=i(l);v>0&&o===x.START_DATE&&(d=this.deleteModifierFromRange(d,l.clone().add(1,"days"),l.clone().add(v,"days"),"hovered-start-blocked-minimum-nights"),d=this.deleteModifier(d,l.clone().add(v,"days"),"hovered-start-first-possible-end"))}this.setState({hoverDate:null,visibleDays:E({},c,{},d)})}},t.onPrevMonthClick=function(){var e=this.props,t=e.enableOutsideDays,n=e.maxDate,r=e.minDate,o=e.numberOfMonths,i=e.onPrevMonthClick,a=this.state,s=a.currentMonth,l=a.visibleDays,c={};Object.keys(l).sort().slice(0,o+1).forEach((function(e){c[e]=l[e]}));var u=s.clone().subtract(2,"months"),d=(0,y.default)(u,1,t,!0),p=s.clone().subtract(1,"month");this.setState({currentMonth:p,disablePrev:this.shouldDisableMonthNavigation(r,p),disableNext:this.shouldDisableMonthNavigation(n,p),visibleDays:E({},c,{},this.getModifiers(d))},(function(){i(p.clone())}))},t.onNextMonthClick=function(){var e=this.props,t=e.enableOutsideDays,n=e.maxDate,r=e.minDate,o=e.numberOfMonths,i=e.onNextMonthClick,a=this.state,s=a.currentMonth,l=a.visibleDays,c={};Object.keys(l).sort().slice(1).forEach((function(e){c[e]=l[e]}));var u=s.clone().add(o+1,"month"),d=(0,y.default)(u,1,t,!0),p=s.clone().add(1,"month");this.setState({currentMonth:p,disablePrev:this.shouldDisableMonthNavigation(r,p),disableNext:this.shouldDisableMonthNavigation(n,p),visibleDays:E({},c,{},this.getModifiers(d))},(function(){i(p.clone())}))},t.onMonthChange=function(e){var t=this.props,n=t.numberOfMonths,r=t.enableOutsideDays,o=t.orientation===x.VERTICAL_SCROLLABLE,i=(0,y.default)(e,n,r,o);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(i)})},t.onYearChange=function(e){var t=this.props,n=t.numberOfMonths,r=t.enableOutsideDays,o=t.orientation===x.VERTICAL_SCROLLABLE,i=(0,y.default)(e,n,r,o);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(i)})},t.onGetNextScrollableMonths=function(){var e=this.props,t=e.numberOfMonths,n=e.enableOutsideDays,r=this.state,o=r.currentMonth,i=r.visibleDays,a=Object.keys(i).length,s=o.clone().add(a,"month"),l=(0,y.default)(s,t,n,!0);this.setState({visibleDays:E({},i,{},this.getModifiers(l))})},t.onGetPrevScrollableMonths=function(){var e=this.props,t=e.numberOfMonths,n=e.enableOutsideDays,r=this.state,o=r.currentMonth,i=r.visibleDays,a=o.clone().subtract(t,"month"),s=(0,y.default)(a,t,n,!0);this.setState({currentMonth:a.clone(),visibleDays:E({},i,{},this.getModifiers(s))})},t.getFirstFocusableDay=function(e){var t=this,n=this.props,r=n.startDate,o=n.endDate,a=n.focusedInput,s=n.minimumNights,l=n.numberOfMonths,c=e.clone().startOf("month");if(a===x.START_DATE&&r?c=r.clone():a===x.END_DATE&&!o&&r?c=r.clone().add(s,"days"):a===x.END_DATE&&o&&(c=o.clone()),this.isBlocked(c)){for(var u=[],d=e.clone().add(l-1,"months").endOf("month"),p=c.clone();!(0,m.default)(p,d);)p=p.clone().add(1,"day"),u.push(p);var f=u.filter((function(e){return!t.isBlocked(e)}));if(f.length>0)c=(0,i.default)(f,1)[0]}return c},t.getModifiers=function(e){var t=this,n={};return Object.keys(e).forEach((function(r){n[r]={},e[r].forEach((function(e){n[r][(0,_.default)(e)]=t.getModifiersForDay(e)}))})),n},t.getModifiersForDay=function(e){var t=this;return new Set(Object.keys(this.modifiers).filter((function(n){return t.modifiers[n](e)})))},t.getStateForNewMonth=function(e){var t=this,n=e.initialVisibleMonth,r=e.numberOfMonths,o=e.enableOutsideDays,i=e.orientation,a=e.startDate,s=(n||(a?function(){return a}:function(){return t.today}))(),l=i===x.VERTICAL_SCROLLABLE;return{currentMonth:s,visibleDays:this.getModifiers((0,y.default)(s,r,o,l))}},t.shouldDisableMonthNavigation=function(e,t){if(!e)return!1;var n=this.props,r=n.numberOfMonths,o=n.enableOutsideDays;return(0,M.default)(e,t,r,o)},t.addModifier=function(e,t,n){return(0,z.addModifier)(e,t,n,this.props,this.state)},t.addModifierToRange=function(e,t,n,r){for(var o=e,i=t.clone();(0,g.default)(i,n);)o=this.addModifier(o,i,r),i=i.clone().add(1,"day");return o},t.deleteModifier=function(e,t,n){return(0,z.deleteModifier)(e,t,n,this.props,this.state)},t.deleteModifierFromRange=function(e,t,n,r){for(var o=e,i=t.clone();(0,g.default)(i,n);)o=this.deleteModifier(o,i,r),i=i.clone().add(1,"day");return o},t.doesNotMeetMinimumNights=function(e){var t=this.props,n=t.startDate,r=t.isOutsideRange,o=t.focusedInput,i=t.minimumNights;if(o!==x.END_DATE)return!1;if(n){var a=e.diff(n.clone().startOf("day").hour(12),"days");return a<i&&a>=0}return r((0,u.default)(e).subtract(i,"days"))},t.doesNotMeetMinNightsForHoveredStartDate=function(e,t){var n=this.props,r=n.focusedInput,o=n.getMinNightsForHoverDate;if(r!==x.END_DATE)return!1;if(t&&!this.isBlocked(t)){var i=o(t),a=e.diff(t.clone().startOf("day").hour(12),"days");return a<i&&a>=0}return!1},t.isDayAfterHoveredStartDate=function(e){var t=this.props,n=t.startDate,r=t.endDate,o=t.minimumNights,i=(this.state||{}).hoverDate;return!!n&&!r&&!this.isBlocked(e)&&(0,b.default)(i,e)&&o>0&&(0,A.default)(i,n)},t.isEndDate=function(e){var t=this.props.endDate;return(0,A.default)(e,t)},t.isHovered=function(e){var t=(this.state||{}).hoverDate;return!!this.props.focusedInput&&(0,A.default)(e,t)},t.isInHoveredSpan=function(e){var t=this.props,n=t.startDate,r=t.endDate,o=(this.state||{}).hoverDate,i=!!n&&!r&&(e.isBetween(n,o)||(0,A.default)(o,e)),a=!!r&&!n&&(e.isBetween(o,r)||(0,A.default)(o,e)),s=o&&!this.isBlocked(o);return(i||a)&&s},t.isInSelectedSpan=function(e){var t=this.props,n=t.startDate,r=t.endDate;return e.isBetween(n,r,"days")},t.isLastInRange=function(e){var t=this.props.endDate;return this.isInSelectedSpan(e)&&(0,b.default)(e,t)},t.isStartDate=function(e){var t=this.props.startDate;return(0,A.default)(e,t)},t.isBlocked=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.props,r=n.isDayBlocked,o=n.isOutsideRange;return r(e)||o(e)||t&&this.doesNotMeetMinimumNights(e)},t.isToday=function(e){return(0,A.default)(e,this.today)},t.isFirstDayOfWeek=function(e){var t=this.props.firstDayOfWeek;return e.day()===(t||u.default.localeData().firstDayOfWeek())},t.isLastDayOfWeek=function(e){var t=this.props.firstDayOfWeek;return e.day()===((t||u.default.localeData().firstDayOfWeek())+6)%7},t.isFirstPossibleEndDateForHoveredStartDate=function(e,t){var n=this.props,r=n.focusedInput,o=n.getMinNightsForHoverDate;if(r!==x.END_DATE||!t||this.isBlocked(t))return!1;var i=o(t),a=t.clone().add(i,"days");return(0,A.default)(e,a)},t.beforeSelectedEnd=function(e){var t=this.props.endDate;return(0,g.default)(e,t)},t.isDayBeforeHoveredEndDate=function(e){var t=this.props,n=t.startDate,r=t.endDate,o=t.minimumNights,i=(this.state||{}).hoverDate;return!!r&&!n&&!this.isBlocked(e)&&(0,v.default)(i,e)&&o>0&&(0,A.default)(i,r)},t.render=function(){var e=this.props,t=e.numberOfMonths,n=e.orientation,r=e.monthFormat,o=e.renderMonthText,i=e.renderWeekHeaderElement,a=e.dayPickerNavigationInlineStyles,s=e.navPosition,l=e.navPrev,u=e.navNext,d=e.renderNavPrevButton,p=e.renderNavNextButton,f=e.noNavButtons,h=e.noNavNextButton,b=e.noNavPrevButton,A=e.onOutsideClick,m=e.withPortal,g=e.enableOutsideDays,v=e.firstDayOfWeek,y=e.renderKeyboardShortcutsButton,M=e.renderKeyboardShortcutsPanel,O=e.hideKeyboardShortcutsPanel,_=e.daySize,z=e.focusedInput,x=e.renderCalendarDay,C=e.renderDayContents,S=e.renderCalendarInfo,E=e.renderMonthElement,k=e.calendarInfoPosition,D=e.onBlur,N=e.onShiftTab,T=e.onTab,j=e.isFocused,B=e.showKeyboardShortcuts,L=e.isRTL,R=e.weekDayFormat,q=e.dayAriaLabelFormat,P=e.verticalHeight,I=e.noBorder,W=e.transitionDuration,F=e.verticalBorderSpacing,U=e.horizontalMonthPadding,Z=this.state,H=Z.currentMonth,$=Z.phrases,V=Z.visibleDays,X=Z.disablePrev,Q=Z.disableNext;return c.default.createElement(w.default,{orientation:n,enableOutsideDays:g,modifiers:V,numberOfMonths:t,onDayClick:this.onDayClick,onDayMouseEnter:this.onDayMouseEnter,onDayMouseLeave:this.onDayMouseLeave,onPrevMonthClick:this.onPrevMonthClick,onNextMonthClick:this.onNextMonthClick,onMonthChange:this.onMonthChange,onTab:T,onShiftTab:N,onYearChange:this.onYearChange,onGetNextScrollableMonths:this.onGetNextScrollableMonths,onGetPrevScrollableMonths:this.onGetPrevScrollableMonths,monthFormat:r,renderMonthText:o,renderWeekHeaderElement:i,withPortal:m,hidden:!z,initialVisibleMonth:function(){return H},daySize:_,onOutsideClick:A,disablePrev:X,disableNext:Q,dayPickerNavigationInlineStyles:a,navPosition:s,navPrev:l,navNext:u,renderNavPrevButton:d,renderNavNextButton:p,noNavButtons:f,noNavPrevButton:b,noNavNextButton:h,renderCalendarDay:x,renderDayContents:C,renderCalendarInfo:S,renderMonthElement:E,renderKeyboardShortcutsButton:y,renderKeyboardShortcutsPanel:M,calendarInfoPosition:k,firstDayOfWeek:v,hideKeyboardShortcutsPanel:O,isFocused:j,getFirstFocusableDay:this.getFirstFocusableDay,onBlur:D,showKeyboardShortcuts:B,phrases:$,isRTL:L,weekDayFormat:R,dayAriaLabelFormat:q,verticalHeight:P,verticalBorderSpacing:F,noBorder:I,transitionDuration:W,horizontalMonthPadding:U})},n}(c.default.PureComponent||c.default.Component);t.default=N,N.propTypes={},N.defaultProps=k},76147:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(45016)),i=r(n(27424)),a=r(n(38416)),s=r(n(66115)),l=r(n(7867)),c=r(n(47313)),u=(r(n(75192)),r(n(92981)),n(96095),r(n(70816))),d=r(n(37512)),p=r(n(64163)),f=n(4667),h=(r(n(9257)),r(n(43996))),b=r(n(74754)),A=r(n(30802)),m=r(n(90474)),g=n(54983),v=(r(n(69133)),r(n(12642)),r(n(99728)),r(n(68172)),n(64847)),y=r(n(31342)),M=r(n(74195));function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){(0,a.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var z={date:void 0,onDateChange:function(){},focused:!1,onFocusChange:function(){},onClose:function(){},keepOpenOnDateSelect:!1,isOutsideRange:function(){},isDayBlocked:function(){},isDayHighlighted:function(){},renderMonthText:null,renderWeekHeaderElement:null,enableOutsideDays:!1,numberOfMonths:1,orientation:v.HORIZONTAL_ORIENTATION,withPortal:!1,hideKeyboardShortcutsPanel:!1,initialVisibleMonth:null,firstDayOfWeek:null,daySize:v.DAY_SIZE,verticalHeight:null,noBorder:!1,verticalBorderSpacing:void 0,transitionDuration:void 0,horizontalMonthPadding:13,dayPickerNavigationInlineStyles:null,navPosition:v.NAV_POSITION_TOP,navPrev:null,navNext:null,renderNavPrevButton:null,renderNavNextButton:null,noNavButtons:!1,noNavNextButton:!1,noNavPrevButton:!1,onPrevMonthClick:function(){},onNextMonthClick:function(){},onOutsideClick:function(){},renderCalendarDay:void 0,renderDayContents:null,renderCalendarInfo:null,renderMonthElement:null,calendarInfoPosition:v.INFO_POSITION_BOTTOM,onBlur:function(){},isFocused:!1,showKeyboardShortcuts:!1,onTab:function(){},onShiftTab:function(){},monthFormat:"MMMM YYYY",weekDayFormat:"dd",phrases:f.DayPickerPhrases,dayAriaLabelFormat:void 0,isRTL:!1},x=function(e){(0,l.default)(n,e);var t=n.prototype;function n(t){var n;(n=e.call(this,t)||this).isTouchDevice=!1,n.today=(0,u.default)(),n.modifiers={today:function(e){return n.isToday(e)},blocked:function(e){return n.isBlocked(e)},"blocked-calendar":function(e){return t.isDayBlocked(e)},"blocked-out-of-range":function(e){return t.isOutsideRange(e)},"highlighted-calendar":function(e){return t.isDayHighlighted(e)},valid:function(e){return!n.isBlocked(e)},hovered:function(e){return n.isHovered(e)},selected:function(e){return n.isSelected(e)},"first-day-of-week":function(e){return n.isFirstDayOfWeek(e)},"last-day-of-week":function(e){return n.isLastDayOfWeek(e)}};var r=n.getStateForNewMonth(t),o=r.currentMonth,i=r.visibleDays;return n.state={hoverDate:null,currentMonth:o,visibleDays:i},n.onDayMouseEnter=n.onDayMouseEnter.bind((0,s.default)(n)),n.onDayMouseLeave=n.onDayMouseLeave.bind((0,s.default)(n)),n.onDayClick=n.onDayClick.bind((0,s.default)(n)),n.onPrevMonthClick=n.onPrevMonthClick.bind((0,s.default)(n)),n.onNextMonthClick=n.onNextMonthClick.bind((0,s.default)(n)),n.onMonthChange=n.onMonthChange.bind((0,s.default)(n)),n.onYearChange=n.onYearChange.bind((0,s.default)(n)),n.onGetNextScrollableMonths=n.onGetNextScrollableMonths.bind((0,s.default)(n)),n.onGetPrevScrollableMonths=n.onGetPrevScrollableMonths.bind((0,s.default)(n)),n.getFirstFocusableDay=n.getFirstFocusableDay.bind((0,s.default)(n)),n}return t[!c.default.PureComponent&&"shouldComponentUpdate"]=function(e,t){return!(0,o.default)(this.props,e)||!(0,o.default)(this.state,t)},t.componentDidMount=function(){this.isTouchDevice=(0,p.default)()},t.componentWillReceiveProps=function(e){var t=this,n=e.date,r=e.focused,o=e.isOutsideRange,i=e.isDayBlocked,a=e.isDayHighlighted,s=e.initialVisibleMonth,l=e.numberOfMonths,c=e.enableOutsideDays,p=this.props,f=p.isOutsideRange,b=p.isDayBlocked,A=p.isDayHighlighted,m=p.numberOfMonths,g=p.enableOutsideDays,v=p.initialVisibleMonth,y=p.focused,O=p.date,z=this.state.visibleDays,x=!1,w=!1,C=!1;o!==f&&(this.modifiers["blocked-out-of-range"]=function(e){return o(e)},x=!0),i!==b&&(this.modifiers["blocked-calendar"]=function(e){return i(e)},w=!0),a!==A&&(this.modifiers["highlighted-calendar"]=function(e){return a(e)},C=!0);var S=x||w||C;if(l!==m||c!==g||s!==v&&!y&&r){var E=this.getStateForNewMonth(e),k=E.currentMonth;z=E.visibleDays,this.setState({currentMonth:k,visibleDays:z})}var D=r!==y,N={};n!==O&&(N=this.deleteModifier(N,O,"selected"),N=this.addModifier(N,n,"selected")),(D||S)&&(0,d.default)(z).forEach((function(e){Object.keys(e).forEach((function(e){var n=(0,M.default)(e);N=t.isBlocked(n)?t.addModifier(N,n,"blocked"):t.deleteModifier(N,n,"blocked"),(D||x)&&(N=o(n)?t.addModifier(N,n,"blocked-out-of-range"):t.deleteModifier(N,n,"blocked-out-of-range")),(D||w)&&(N=i(n)?t.addModifier(N,n,"blocked-calendar"):t.deleteModifier(N,n,"blocked-calendar")),(D||C)&&(N=a(n)?t.addModifier(N,n,"highlighted-calendar"):t.deleteModifier(N,n,"highlighted-calendar"))}))}));var T=(0,u.default)();(0,h.default)(this.today,T)||(N=this.deleteModifier(N,this.today,"today"),N=this.addModifier(N,T,"today"),this.today=T),Object.keys(N).length>0&&this.setState({visibleDays:_({},z,{},N)})},t.componentWillUpdate=function(){this.today=(0,u.default)()},t.onDayClick=function(e,t){if(t&&t.preventDefault(),!this.isBlocked(e)){var n=this.props,r=n.onDateChange,o=n.keepOpenOnDateSelect,i=n.onFocusChange,a=n.onClose;r(e),o||(i({focused:!1}),a({date:e}))}},t.onDayMouseEnter=function(e){if(!this.isTouchDevice){var t=this.state,n=t.hoverDate,r=t.visibleDays,o=this.deleteModifier({},n,"hovered");o=this.addModifier(o,e,"hovered"),this.setState({hoverDate:e,visibleDays:_({},r,{},o)})}},t.onDayMouseLeave=function(){var e=this.state,t=e.hoverDate,n=e.visibleDays;if(!this.isTouchDevice&&t){var r=this.deleteModifier({},t,"hovered");this.setState({hoverDate:null,visibleDays:_({},n,{},r)})}},t.onPrevMonthClick=function(){var e=this.props,t=e.onPrevMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,i=o.currentMonth,a=o.visibleDays,s={};Object.keys(a).sort().slice(0,n+1).forEach((function(e){s[e]=a[e]}));var l=i.clone().subtract(1,"month"),c=(0,A.default)(l,1,r);this.setState({currentMonth:l,visibleDays:_({},s,{},this.getModifiers(c))},(function(){t(l.clone())}))},t.onNextMonthClick=function(){var e=this.props,t=e.onNextMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,i=o.currentMonth,a=o.visibleDays,s={};Object.keys(a).sort().slice(1).forEach((function(e){s[e]=a[e]}));var l=i.clone().add(n,"month"),c=(0,A.default)(l,1,r),u=i.clone().add(1,"month");this.setState({currentMonth:u,visibleDays:_({},s,{},this.getModifiers(c))},(function(){t(u.clone())}))},t.onMonthChange=function(e){var t=this.props,n=t.numberOfMonths,r=t.enableOutsideDays,o=t.orientation===v.VERTICAL_SCROLLABLE,i=(0,A.default)(e,n,r,o);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(i)})},t.onYearChange=function(e){var t=this.props,n=t.numberOfMonths,r=t.enableOutsideDays,o=t.orientation===v.VERTICAL_SCROLLABLE,i=(0,A.default)(e,n,r,o);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(i)})},t.onGetNextScrollableMonths=function(){var e=this.props,t=e.numberOfMonths,n=e.enableOutsideDays,r=this.state,o=r.currentMonth,i=r.visibleDays,a=Object.keys(i).length,s=o.clone().add(a,"month"),l=(0,A.default)(s,t,n,!0);this.setState({visibleDays:_({},i,{},this.getModifiers(l))})},t.onGetPrevScrollableMonths=function(){var e=this.props,t=e.numberOfMonths,n=e.enableOutsideDays,r=this.state,o=r.currentMonth,i=r.visibleDays,a=o.clone().subtract(t,"month"),s=(0,A.default)(a,t,n,!0);this.setState({currentMonth:a.clone(),visibleDays:_({},i,{},this.getModifiers(s))})},t.getFirstFocusableDay=function(e){var t=this,n=this.props,r=n.date,o=n.numberOfMonths,a=e.clone().startOf("month");if(r&&(a=r.clone()),this.isBlocked(a)){for(var s=[],l=e.clone().add(o-1,"months").endOf("month"),c=a.clone();!(0,b.default)(c,l);)c=c.clone().add(1,"day"),s.push(c);var u=s.filter((function(e){return!t.isBlocked(e)&&(0,b.default)(e,a)}));if(u.length>0){var d=(0,i.default)(u,1);a=d[0]}}return a},t.getModifiers=function(e){var t=this,n={};return Object.keys(e).forEach((function(r){n[r]={},e[r].forEach((function(e){n[r][(0,m.default)(e)]=t.getModifiersForDay(e)}))})),n},t.getModifiersForDay=function(e){var t=this;return new Set(Object.keys(this.modifiers).filter((function(n){return t.modifiers[n](e)})))},t.getStateForNewMonth=function(e){var t=this,n=e.initialVisibleMonth,r=e.date,o=e.numberOfMonths,i=e.orientation,a=e.enableOutsideDays,s=(n||(r?function(){return r}:function(){return t.today}))(),l=i===v.VERTICAL_SCROLLABLE;return{currentMonth:s,visibleDays:this.getModifiers((0,A.default)(s,o,a,l))}},t.addModifier=function(e,t,n){return(0,g.addModifier)(e,t,n,this.props,this.state)},t.deleteModifier=function(e,t,n){return(0,g.deleteModifier)(e,t,n,this.props,this.state)},t.isBlocked=function(e){var t=this.props,n=t.isDayBlocked,r=t.isOutsideRange;return n(e)||r(e)},t.isHovered=function(e){var t=(this.state||{}).hoverDate;return(0,h.default)(e,t)},t.isSelected=function(e){var t=this.props.date;return(0,h.default)(e,t)},t.isToday=function(e){return(0,h.default)(e,this.today)},t.isFirstDayOfWeek=function(e){var t=this.props.firstDayOfWeek;return e.day()===(t||u.default.localeData().firstDayOfWeek())},t.isLastDayOfWeek=function(e){var t=this.props.firstDayOfWeek;return e.day()===((t||u.default.localeData().firstDayOfWeek())+6)%7},t.render=function(){var e=this.props,t=e.numberOfMonths,n=e.orientation,r=e.monthFormat,o=e.renderMonthText,i=e.renderWeekHeaderElement,a=e.dayPickerNavigationInlineStyles,s=e.navPosition,l=e.navPrev,u=e.navNext,d=e.renderNavPrevButton,p=e.renderNavNextButton,f=e.noNavButtons,h=e.noNavPrevButton,b=e.noNavNextButton,A=e.onOutsideClick,m=e.onShiftTab,g=e.onTab,v=e.withPortal,M=e.focused,O=e.enableOutsideDays,_=e.hideKeyboardShortcutsPanel,z=e.daySize,x=e.firstDayOfWeek,w=e.renderCalendarDay,C=e.renderDayContents,S=e.renderCalendarInfo,E=e.renderMonthElement,k=e.calendarInfoPosition,D=e.isFocused,N=e.isRTL,T=e.phrases,j=e.dayAriaLabelFormat,B=e.onBlur,L=e.showKeyboardShortcuts,R=e.weekDayFormat,q=e.verticalHeight,P=e.noBorder,I=e.transitionDuration,W=e.verticalBorderSpacing,F=e.horizontalMonthPadding,U=this.state,Z=U.currentMonth,H=U.visibleDays;return c.default.createElement(y.default,{orientation:n,enableOutsideDays:O,modifiers:H,numberOfMonths:t,onDayClick:this.onDayClick,onDayMouseEnter:this.onDayMouseEnter,onDayMouseLeave:this.onDayMouseLeave,onPrevMonthClick:this.onPrevMonthClick,onNextMonthClick:this.onNextMonthClick,onMonthChange:this.onMonthChange,onYearChange:this.onYearChange,onGetNextScrollableMonths:this.onGetNextScrollableMonths,onGetPrevScrollableMonths:this.onGetPrevScrollableMonths,monthFormat:r,withPortal:v,hidden:!M,hideKeyboardShortcutsPanel:_,initialVisibleMonth:function(){return Z},firstDayOfWeek:x,onOutsideClick:A,dayPickerNavigationInlineStyles:a,navPosition:s,navPrev:l,navNext:u,renderNavPrevButton:d,renderNavNextButton:p,noNavButtons:f,noNavNextButton:b,noNavPrevButton:h,renderMonthText:o,renderWeekHeaderElement:i,renderCalendarDay:w,renderDayContents:C,renderCalendarInfo:S,renderMonthElement:E,calendarInfoPosition:k,isFocused:D,getFirstFocusableDay:this.getFirstFocusableDay,onBlur:B,onTab:g,onShiftTab:m,phrases:T,daySize:z,isRTL:N,showKeyboardShortcuts:L,weekDayFormat:R,dayAriaLabelFormat:j,verticalHeight:q,noBorder:P,transitionDuration:I,verticalBorderSpacing:W,horizontalMonthPadding:F})},n}(c.default.PureComponent||c.default.Component);t.default=x,x.propTypes={},x.defaultProps=z},9954:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(10434)),i=(r(n(38416)),r(n(47313))),a=(r(n(75192)),n(96095),n(75385));function s(e){var t=e.unicode,n=e.label,r=e.action,s=e.block,l=e.styles;return i.default.createElement("li",(0,a.css)(l.KeyboardShortcutRow,s&&l.KeyboardShortcutRow__block),i.default.createElement("div",(0,a.css)(l.KeyboardShortcutRow_keyContainer,s&&l.KeyboardShortcutRow_keyContainer__block),i.default.createElement("span",(0,o.default)({},(0,a.css)(l.KeyboardShortcutRow_key),{role:"img","aria-label":"".concat(n,",")}),t)),i.default.createElement("div",(0,a.css)(l.KeyboardShortcutRow_action),r))}s.propTypes={},s.defaultProps={block:!1};var l=(0,a.withStyles)((function(e){return{KeyboardShortcutRow:{listStyle:"none",margin:"6px 0"},KeyboardShortcutRow__block:{marginBottom:16},KeyboardShortcutRow_keyContainer:{display:"inline-block",whiteSpace:"nowrap",textAlign:"right",marginRight:6},KeyboardShortcutRow_keyContainer__block:{textAlign:"left",display:"inline"},KeyboardShortcutRow_key:{fontFamily:"monospace",fontSize:12,textTransform:"uppercase",background:e.reactDates.color.core.grayLightest,padding:"2px 6px"},KeyboardShortcutRow_action:{display:"inline",wordBreak:"break-word",marginLeft:8}}}),{pureComponent:"undefined"!==typeof i.default.PureComponent})(s);t.default=l},52539:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(47313)),i=function(e){return o.default.createElement("svg",e,o.default.createElement("path",{d:"M336 275L126 485h806c13 0 23 10 23 23s-10 23-23 23H126l210 210c11 11 11 21 0 32-5 5-10 7-16 7s-11-2-16-7L55 524c-11-11-11-21 0-32l249-249c21-22 53 10 32 32z"}))};i.defaultProps={focusable:"false",viewBox:"0 0 1000 1000"};var a=i;t.default=a},17117:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(47313)),i=function(e){return o.default.createElement("svg",e,o.default.createElement("path",{d:"M694 242l249 250c12 11 12 21 1 32L694 773c-5 5-10 7-16 7s-11-2-16-7c-11-11-11-21 0-32l210-210H68c-13 0-23-10-23-23s10-23 23-23h806L662 275c-21-22 11-54 32-33z"}))};i.defaultProps={focusable:"false",viewBox:"0 0 1000 1000"};var a=i;t.default=a},65397:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.PureSingleDatePicker=void 0;var o=r(n(45016)),i=r(n(10434)),a=r(n(66115)),s=r(n(7867)),l=r(n(38416)),c=r(n(47313)),u=r(n(70816)),d=n(75385),p=n(36052),f=(n(96095),n(67105)),h=r(n(64163)),b=r(n(82972)),A=(r(n(78416)),n(4667)),m=r(n(19672)),g=r(n(90157)),v=r(n(43099)),y=r(n(26449)),M=r(n(33626)),O=r(n(21205)),_=r(n(20278)),z=r(n(76147)),x=r(n(13888)),w=n(64847);function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?C(Object(n),!0).forEach((function(t){(0,l.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var E={date:null,focused:!1,id:"date",placeholder:"Date",ariaLabel:void 0,disabled:!1,required:!1,readOnly:!1,screenReaderInputMessage:"",showClearDate:!1,showDefaultInputIcon:!1,inputIconPosition:w.ICON_BEFORE_POSITION,customInputIcon:null,customCloseIcon:null,noBorder:!1,block:!1,small:!1,regular:!1,verticalSpacing:w.DEFAULT_VERTICAL_SPACING,keepFocusOnInput:!1,orientation:w.HORIZONTAL_ORIENTATION,anchorDirection:w.ANCHOR_LEFT,openDirection:w.OPEN_DOWN,horizontalMargin:0,withPortal:!1,withFullScreenPortal:!1,appendToBody:!1,disableScroll:!1,initialVisibleMonth:null,firstDayOfWeek:null,numberOfMonths:2,keepOpenOnDateSelect:!1,reopenPickerOnClearDate:!1,renderCalendarInfo:null,calendarInfoPosition:w.INFO_POSITION_BOTTOM,hideKeyboardShortcutsPanel:!1,daySize:w.DAY_SIZE,isRTL:!1,verticalHeight:null,transitionDuration:void 0,horizontalMonthPadding:13,dayPickerNavigationInlineStyles:null,navPosition:w.NAV_POSITION_TOP,navPrev:null,navNext:null,renderNavPrevButton:null,renderNavNextButton:null,onPrevMonthClick:function(){},onNextMonthClick:function(){},onClose:function(){},renderMonthText:null,renderWeekHeaderElement:null,renderCalendarDay:void 0,renderDayContents:null,renderMonthElement:null,enableOutsideDays:!1,isDayBlocked:function(){return!1},isOutsideRange:function(e){return!(0,y.default)(e,(0,u.default)())},isDayHighlighted:function(){},displayFormat:function(){return u.default.localeData().longDateFormat("L")},monthFormat:"MMMM YYYY",weekDayFormat:"dd",phrases:A.SingleDatePickerPhrases,dayAriaLabelFormat:void 0},k=function(e){(0,s.default)(n,e);var t=n.prototype;function n(t){var n;return(n=e.call(this,t)||this).isTouchDevice=!1,n.state={dayPickerContainerStyles:{},isDayPickerFocused:!1,isInputFocused:!1,showKeyboardShortcuts:!1},n.onFocusOut=n.onFocusOut.bind((0,a.default)(n)),n.onOutsideClick=n.onOutsideClick.bind((0,a.default)(n)),n.onInputFocus=n.onInputFocus.bind((0,a.default)(n)),n.onDayPickerFocus=n.onDayPickerFocus.bind((0,a.default)(n)),n.onDayPickerBlur=n.onDayPickerBlur.bind((0,a.default)(n)),n.showKeyboardShortcutsPanel=n.showKeyboardShortcutsPanel.bind((0,a.default)(n)),n.responsivizePickerPosition=n.responsivizePickerPosition.bind((0,a.default)(n)),n.disableScroll=n.disableScroll.bind((0,a.default)(n)),n.setDayPickerContainerRef=n.setDayPickerContainerRef.bind((0,a.default)(n)),n.setContainerRef=n.setContainerRef.bind((0,a.default)(n)),n}return t[!c.default.PureComponent&&"shouldComponentUpdate"]=function(e,t){return!(0,o.default)(this.props,e)||!(0,o.default)(this.state,t)},t.componentDidMount=function(){this.removeResizeEventListener=(0,f.addEventListener)(window,"resize",this.responsivizePickerPosition,{passive:!0}),this.responsivizePickerPosition(),this.disableScroll(),this.props.focused&&this.setState({isInputFocused:!0}),this.isTouchDevice=(0,h.default)()},t.componentDidUpdate=function(e){var t=this.props.focused;!e.focused&&t?(this.responsivizePickerPosition(),this.disableScroll()):e.focused&&!t&&this.enableScroll&&this.enableScroll()},t.componentWillUnmount=function(){this.removeResizeEventListener&&this.removeResizeEventListener(),this.removeFocusOutEventListener&&this.removeFocusOutEventListener(),this.enableScroll&&this.enableScroll()},t.onOutsideClick=function(e){var t=this.props,n=t.focused,r=t.onFocusChange,o=t.onClose,i=t.date,a=t.appendToBody;n&&(a&&this.dayPickerContainer.contains(e.target)||(this.setState({isInputFocused:!1,isDayPickerFocused:!1,showKeyboardShortcuts:!1}),r({focused:!1}),o({date:i})))},t.onInputFocus=function(e){var t=e.focused,n=this.props,r=n.onFocusChange,o=n.readOnly,i=n.withPortal,a=n.withFullScreenPortal,s=n.keepFocusOnInput;t&&(i||a||o&&!s||this.isTouchDevice&&!s?this.onDayPickerFocus():this.onDayPickerBlur());r({focused:t})},t.onDayPickerFocus=function(){this.setState({isInputFocused:!1,isDayPickerFocused:!0,showKeyboardShortcuts:!1})},t.onDayPickerBlur=function(){this.setState({isInputFocused:!0,isDayPickerFocused:!1,showKeyboardShortcuts:!1})},t.onFocusOut=function(e){var t=this.props.onFocusChange,n=e.relatedTarget===document.body?e.target:e.relatedTarget||e.target;this.dayPickerContainer.contains(n)||t({focused:!1})},t.setDayPickerContainerRef=function(e){e!==this.dayPickerContainer&&(this.removeEventListeners(),this.dayPickerContainer=e,e&&this.addEventListeners())},t.setContainerRef=function(e){this.container=e},t.addEventListeners=function(){this.removeFocusOutEventListener=(0,f.addEventListener)(this.dayPickerContainer,"focusout",this.onFocusOut)},t.removeEventListeners=function(){this.removeFocusOutEventListener&&this.removeFocusOutEventListener()},t.disableScroll=function(){var e=this.props,t=e.appendToBody,n=e.disableScroll,r=e.focused;(t||n)&&r&&(this.enableScroll=(0,M.default)(this.container))},t.responsivizePickerPosition=function(){this.setState({dayPickerContainerStyles:{}});var e=this.props,t=e.openDirection,n=e.anchorDirection,r=e.horizontalMargin,o=e.withPortal,i=e.withFullScreenPortal,a=e.appendToBody,s=e.focused,l=this.state.dayPickerContainerStyles;if(s){var c=n===w.ANCHOR_LEFT;if(!o&&!i){var u=this.dayPickerContainer.getBoundingClientRect(),d=l[n]||0,p=c?u[w.ANCHOR_RIGHT]:u[w.ANCHOR_LEFT];this.setState({dayPickerContainerStyles:S({},(0,m.default)(n,d,p,r),{},a&&(0,g.default)(t,n,this.container))})}}},t.showKeyboardShortcutsPanel=function(){this.setState({isInputFocused:!1,isDayPickerFocused:!0,showKeyboardShortcuts:!0})},t.maybeRenderDayPickerWithPortal=function(){var e=this.props,t=e.focused,n=e.withPortal,r=e.withFullScreenPortal,o=e.appendToBody;return t?n||r||o?c.default.createElement(p.Portal,null,this.renderDayPicker()):this.renderDayPicker():null},t.renderDayPicker=function(){var e=this.props,t=e.anchorDirection,n=e.openDirection,r=e.onDateChange,o=e.date,a=e.onFocusChange,s=e.focused,l=e.enableOutsideDays,u=e.numberOfMonths,p=e.orientation,f=e.monthFormat,h=e.dayPickerNavigationInlineStyles,b=e.navPosition,A=e.navPrev,m=e.navNext,g=e.renderNavPrevButton,y=e.renderNavNextButton,M=e.onPrevMonthClick,O=e.onNextMonthClick,_=e.onClose,C=e.withPortal,S=e.withFullScreenPortal,E=e.keepOpenOnDateSelect,k=e.initialVisibleMonth,D=e.renderMonthText,N=e.renderWeekHeaderElement,T=e.renderCalendarDay,j=e.renderDayContents,B=e.renderCalendarInfo,L=e.renderMonthElement,R=e.calendarInfoPosition,q=e.hideKeyboardShortcutsPanel,P=e.firstDayOfWeek,I=e.customCloseIcon,W=e.phrases,F=e.dayAriaLabelFormat,U=e.daySize,Z=e.isRTL,H=e.isOutsideRange,$=e.isDayBlocked,V=e.isDayHighlighted,X=e.weekDayFormat,Q=e.styles,Y=e.verticalHeight,G=e.transitionDuration,K=e.verticalSpacing,J=e.horizontalMonthPadding,ee=e.small,te=e.theme.reactDates,ne=this.state,re=ne.dayPickerContainerStyles,oe=ne.isDayPickerFocused,ie=ne.showKeyboardShortcuts,ae=!S&&C?this.onOutsideClick:void 0,se=I||c.default.createElement(x.default,null),le=(0,v.default)(te,ee),ce=C||S;return c.default.createElement("div",(0,i.default)({ref:this.setDayPickerContainerRef},(0,d.css)(Q.SingleDatePicker_picker,t===w.ANCHOR_LEFT&&Q.SingleDatePicker_picker__directionLeft,t===w.ANCHOR_RIGHT&&Q.SingleDatePicker_picker__directionRight,n===w.OPEN_DOWN&&Q.SingleDatePicker_picker__openDown,n===w.OPEN_UP&&Q.SingleDatePicker_picker__openUp,!ce&&n===w.OPEN_DOWN&&{top:le+K},!ce&&n===w.OPEN_UP&&{bottom:le+K},p===w.HORIZONTAL_ORIENTATION&&Q.SingleDatePicker_picker__horizontal,p===w.VERTICAL_ORIENTATION&&Q.SingleDatePicker_picker__vertical,ce&&Q.SingleDatePicker_picker__portal,S&&Q.SingleDatePicker_picker__fullScreenPortal,Z&&Q.SingleDatePicker_picker__rtl,re),{onClick:ae}),c.default.createElement(z.default,{date:o,onDateChange:r,onFocusChange:a,orientation:p,enableOutsideDays:l,numberOfMonths:u,monthFormat:f,withPortal:ce,focused:s,keepOpenOnDateSelect:E,hideKeyboardShortcutsPanel:q,initialVisibleMonth:k,dayPickerNavigationInlineStyles:h,navPosition:b,navPrev:A,navNext:m,renderNavPrevButton:g,renderNavNextButton:y,onPrevMonthClick:M,onNextMonthClick:O,onClose:_,renderMonthText:D,renderWeekHeaderElement:N,renderCalendarDay:T,renderDayContents:j,renderCalendarInfo:B,renderMonthElement:L,calendarInfoPosition:R,isFocused:oe,showKeyboardShortcuts:ie,onBlur:this.onDayPickerBlur,phrases:W,dayAriaLabelFormat:F,daySize:U,isRTL:Z,isOutsideRange:H,isDayBlocked:$,isDayHighlighted:V,firstDayOfWeek:P,weekDayFormat:X,verticalHeight:Y,transitionDuration:G,horizontalMonthPadding:J}),S&&c.default.createElement("button",(0,i.default)({},(0,d.css)(Q.SingleDatePicker_closeButton),{"aria-label":W.closeDatePicker,type:"button",onClick:this.onOutsideClick}),c.default.createElement("div",(0,d.css)(Q.SingleDatePicker_closeButton_svg),se)))},t.render=function(){var e=this.props,t=e.id,n=e.placeholder,r=e.ariaLabel,o=e.disabled,a=e.focused,s=e.required,l=e.readOnly,u=e.openDirection,p=e.showClearDate,f=e.showDefaultInputIcon,h=e.inputIconPosition,A=e.customCloseIcon,m=e.customInputIcon,g=e.date,v=e.onDateChange,y=e.displayFormat,M=e.phrases,O=e.withPortal,z=e.withFullScreenPortal,x=e.screenReaderInputMessage,C=e.isRTL,S=e.noBorder,E=e.block,k=e.small,D=e.regular,N=e.verticalSpacing,T=e.reopenPickerOnClearDate,j=e.keepOpenOnDateSelect,B=e.styles,L=e.isOutsideRange,R=this.state.isInputFocused,q=!O&&!z,P=N<w.FANG_HEIGHT_PX,I=c.default.createElement(_.default,{id:t,placeholder:n,ariaLabel:r,focused:a,isFocused:R,disabled:o,required:s,readOnly:l,openDirection:u,showCaret:!O&&!z&&!P,showClearDate:p,showDefaultInputIcon:f,inputIconPosition:h,isOutsideRange:L,customCloseIcon:A,customInputIcon:m,date:g,onDateChange:v,displayFormat:y,onFocusChange:this.onInputFocus,onKeyDownArrowDown:this.onDayPickerFocus,onKeyDownQuestionMark:this.showKeyboardShortcutsPanel,screenReaderMessage:x,phrases:M,isRTL:C,noBorder:S,block:E,small:k,regular:D,verticalSpacing:N,reopenPickerOnClearDate:T,keepOpenOnDateSelect:j},this.maybeRenderDayPickerWithPortal());return c.default.createElement("div",(0,i.default)({ref:this.setContainerRef},(0,d.css)(B.SingleDatePicker,E&&B.SingleDatePicker__block)),q&&c.default.createElement(b.default,{onOutsideClick:this.onOutsideClick},I),q||I)},n}(c.default.PureComponent||c.default.Component);t.PureSingleDatePicker=k,k.propTypes={},k.defaultProps=E;var D=(0,d.withStyles)((function(e){var t=e.reactDates,n=t.color,r=t.zIndex;return{SingleDatePicker:{position:"relative",display:"inline-block"},SingleDatePicker__block:{display:"block"},SingleDatePicker_picker:{zIndex:r+1,backgroundColor:n.background,position:"absolute"},SingleDatePicker_picker__rtl:{direction:(0,O.default)("rtl")},SingleDatePicker_picker__directionLeft:{left:(0,O.default)(0)},SingleDatePicker_picker__directionRight:{right:(0,O.default)(0)},SingleDatePicker_picker__portal:{backgroundColor:"rgba(0, 0, 0, 0.3)",position:"fixed",top:0,left:(0,O.default)(0),height:"100%",width:"100%"},SingleDatePicker_picker__fullScreenPortal:{backgroundColor:n.background},SingleDatePicker_closeButton:{background:"none",border:0,color:"inherit",font:"inherit",lineHeight:"normal",overflow:"visible",cursor:"pointer",position:"absolute",top:0,right:(0,O.default)(0),padding:15,zIndex:r+2,":hover":{color:"darken(".concat(n.core.grayLighter,", 10%)"),textDecoration:"none"},":focus":{color:"darken(".concat(n.core.grayLighter,", 10%)"),textDecoration:"none"}},SingleDatePicker_closeButton_svg:{height:15,width:15,fill:n.core.grayLighter}}}),{pureComponent:"undefined"!==typeof c.default.PureComponent})(k);t.default=D},39443:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(10434)),i=(r(n(38416)),r(n(47313))),a=(r(n(75192)),n(96095),n(75385)),s=n(4667),l=(r(n(9257)),r(n(21205))),c=r(n(18350)),u=(r(n(90853)),r(n(13888))),d=r(n(64033)),p=(r(n(58749)),n(64847));var f={children:null,placeholder:"Select Date",ariaLabel:void 0,displayValue:"",screenReaderMessage:"",focused:!1,isFocused:!1,disabled:!1,required:!1,readOnly:!1,openDirection:p.OPEN_DOWN,showCaret:!1,showClearDate:!1,showDefaultInputIcon:!1,inputIconPosition:p.ICON_BEFORE_POSITION,customCloseIcon:null,customInputIcon:null,isRTL:!1,noBorder:!1,block:!1,small:!1,regular:!1,verticalSpacing:void 0,onChange:function(){},onClearDate:function(){},onFocus:function(){},onKeyDownShiftTab:function(){},onKeyDownTab:function(){},onKeyDownArrowDown:function(){},onKeyDownQuestionMark:function(){},phrases:s.SingleDatePickerInputPhrases};function h(e){var t=e.id,n=e.children,r=e.placeholder,s=e.ariaLabel,l=e.displayValue,f=e.focused,h=e.isFocused,b=e.disabled,A=e.required,m=e.readOnly,g=e.showCaret,v=e.showClearDate,y=e.showDefaultInputIcon,M=e.inputIconPosition,O=e.phrases,_=e.onClearDate,z=e.onChange,x=e.onFocus,w=e.onKeyDownShiftTab,C=e.onKeyDownTab,S=e.onKeyDownArrowDown,E=e.onKeyDownQuestionMark,k=e.screenReaderMessage,D=e.customCloseIcon,N=e.customInputIcon,T=e.openDirection,j=e.isRTL,B=e.noBorder,L=e.block,R=e.small,q=e.regular,P=e.verticalSpacing,I=e.styles,W=N||i.default.createElement(d.default,(0,a.css)(I.SingleDatePickerInput_calendarIcon_svg)),F=D||i.default.createElement(u.default,(0,a.css)(I.SingleDatePickerInput_clearDate_svg,R&&I.SingleDatePickerInput_clearDate_svg__small)),U=k||O.keyboardForwardNavigationInstructions,Z=(y||null!==N)&&i.default.createElement("button",(0,o.default)({},(0,a.css)(I.SingleDatePickerInput_calendarIcon),{type:"button",disabled:b,"aria-label":O.focusStartDate,onClick:x}),W);return i.default.createElement("div",(0,a.css)(I.SingleDatePickerInput,b&&I.SingleDatePickerInput__disabled,j&&I.SingleDatePickerInput__rtl,!B&&I.SingleDatePickerInput__withBorder,L&&I.SingleDatePickerInput__block,v&&I.SingleDatePickerInput__showClearDate),M===p.ICON_BEFORE_POSITION&&Z,i.default.createElement(c.default,{id:t,placeholder:r,ariaLabel:s,displayValue:l,screenReaderMessage:U,focused:f,isFocused:h,disabled:b,required:A,readOnly:m,showCaret:g,onChange:z,onFocus:x,onKeyDownShiftTab:w,onKeyDownTab:C,onKeyDownArrowDown:S,onKeyDownQuestionMark:E,openDirection:T,verticalSpacing:P,small:R,regular:q,block:L}),n,v&&i.default.createElement("button",(0,o.default)({},(0,a.css)(I.SingleDatePickerInput_clearDate,R&&I.SingleDatePickerInput_clearDate__small,!D&&I.SingleDatePickerInput_clearDate__default,!l&&I.SingleDatePickerInput_clearDate__hide),{type:"button","aria-label":O.clearDate,disabled:b,onClick:_}),F),M===p.ICON_AFTER_POSITION&&Z)}h.propTypes={},h.defaultProps=f;var b=(0,a.withStyles)((function(e){var t=e.reactDates,n=t.border,r=t.color;return{SingleDatePickerInput:{display:"inline-block",backgroundColor:r.background},SingleDatePickerInput__withBorder:{borderColor:r.border,borderWidth:n.pickerInput.borderWidth,borderStyle:n.pickerInput.borderStyle,borderRadius:n.pickerInput.borderRadius},SingleDatePickerInput__rtl:{direction:(0,l.default)("rtl")},SingleDatePickerInput__disabled:{backgroundColor:r.disabled},SingleDatePickerInput__block:{display:"block"},SingleDatePickerInput__showClearDate:{paddingRight:30},SingleDatePickerInput_clearDate:{background:"none",border:0,color:"inherit",font:"inherit",lineHeight:"normal",overflow:"visible",cursor:"pointer",padding:10,margin:"0 10px 0 5px",position:"absolute",right:0,top:"50%",transform:"translateY(-50%)"},SingleDatePickerInput_clearDate__default:{":focus":{background:r.core.border,borderRadius:"50%"},":hover":{background:r.core.border,borderRadius:"50%"}},SingleDatePickerInput_clearDate__small:{padding:6},SingleDatePickerInput_clearDate__hide:{visibility:"hidden"},SingleDatePickerInput_clearDate_svg:{fill:r.core.grayLight,height:12,width:15,verticalAlign:"middle"},SingleDatePickerInput_clearDate_svg__small:{height:9},SingleDatePickerInput_calendarIcon:{background:"none",border:0,color:"inherit",font:"inherit",lineHeight:"normal",overflow:"visible",cursor:"pointer",display:"inline-block",verticalAlign:"middle",padding:10,margin:"0 5px 0 10px"},SingleDatePickerInput_calendarIcon_svg:{fill:r.core.grayLight,height:15,width:14,verticalAlign:"middle"}}}),{pureComponent:"undefined"!==typeof i.default.PureComponent})(h);t.default=b},20278:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(45016)),i=r(n(66115)),a=r(n(7867)),s=r(n(47313)),l=(r(n(75192)),r(n(70816))),c=(r(n(92981)),n(96095),r(n(58749)),n(4667)),u=(r(n(9257)),r(n(39443))),d=(r(n(90853)),r(n(80943)),r(n(52818))),p=r(n(62281)),f=r(n(26449)),h=n(64847),b={children:null,date:null,focused:!1,placeholder:"",ariaLabel:void 0,screenReaderMessage:"Date",showClearDate:!1,showCaret:!1,showDefaultInputIcon:!1,inputIconPosition:h.ICON_BEFORE_POSITION,disabled:!1,required:!1,readOnly:!1,openDirection:h.OPEN_DOWN,noBorder:!1,block:!1,small:!1,regular:!1,verticalSpacing:void 0,keepOpenOnDateSelect:!1,reopenPickerOnClearDate:!1,isOutsideRange:function(e){return!(0,f.default)(e,(0,l.default)())},displayFormat:function(){return l.default.localeData().longDateFormat("L")},onClose:function(){},onKeyDownArrowDown:function(){},onKeyDownQuestionMark:function(){},customInputIcon:null,customCloseIcon:null,isFocused:!1,phrases:c.SingleDatePickerInputPhrases,isRTL:!1},A=function(e){(0,a.default)(n,e);var t=n.prototype;function n(t){var n;return(n=e.call(this,t)||this).onChange=n.onChange.bind((0,i.default)(n)),n.onFocus=n.onFocus.bind((0,i.default)(n)),n.onClearFocus=n.onClearFocus.bind((0,i.default)(n)),n.clearDate=n.clearDate.bind((0,i.default)(n)),n}return t[!s.default.PureComponent&&"shouldComponentUpdate"]=function(e,t){return!(0,o.default)(this.props,e)||!(0,o.default)(this.state,t)},t.onChange=function(e){var t=this.props,n=t.isOutsideRange,r=t.keepOpenOnDateSelect,o=t.onDateChange,i=t.onFocusChange,a=t.onClose,s=(0,d.default)(e,this.getDisplayFormat());s&&!n(s)?(o(s),r||(i({focused:!1}),a({date:s}))):o(null)},t.onFocus=function(){var e=this.props,t=e.onFocusChange;e.disabled||t({focused:!0})},t.onClearFocus=function(){var e=this.props,t=e.focused,n=e.onFocusChange,r=e.onClose,o=e.date;t&&(n({focused:!1}),r({date:o}))},t.getDisplayFormat=function(){var e=this.props.displayFormat;return"string"===typeof e?e:e()},t.getDateString=function(e){var t=this.getDisplayFormat();return e&&t?e&&e.format(t):(0,p.default)(e)},t.clearDate=function(){var e=this.props,t=e.onDateChange,n=e.reopenPickerOnClearDate,r=e.onFocusChange;t(null),n&&r({focused:!0})},t.render=function(){var e=this.props,t=e.children,n=e.id,r=e.placeholder,o=e.ariaLabel,i=e.disabled,a=e.focused,l=e.isFocused,c=e.required,d=e.readOnly,p=e.openDirection,f=e.showClearDate,h=e.showCaret,b=e.showDefaultInputIcon,A=e.inputIconPosition,m=e.customCloseIcon,g=e.customInputIcon,v=e.date,y=e.phrases,M=e.onKeyDownArrowDown,O=e.onKeyDownQuestionMark,_=e.screenReaderMessage,z=e.isRTL,x=e.noBorder,w=e.block,C=e.small,S=e.regular,E=e.verticalSpacing,k=this.getDateString(v);return s.default.createElement(u.default,{id:n,placeholder:r,ariaLabel:o,focused:a,isFocused:l,disabled:i,required:c,readOnly:d,openDirection:p,showCaret:h,onClearDate:this.clearDate,showClearDate:f,showDefaultInputIcon:b,inputIconPosition:A,customCloseIcon:m,customInputIcon:g,displayValue:k,onChange:this.onChange,onFocus:this.onFocus,onKeyDownShiftTab:this.onClearFocus,onKeyDownArrowDown:M,onKeyDownQuestionMark:O,screenReaderMessage:_,phrases:y,isRTL:z,noBorder:x,block:w,small:C,regular:S,verticalSpacing:E},t)},n}(s.default.PureComponent||s.default.Component);t.default=A,A.propTypes={},A.defaultProps=b},64847:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MODIFIER_KEY_NAMES=t.DEFAULT_VERTICAL_SPACING=t.FANG_HEIGHT_PX=t.FANG_WIDTH_PX=t.WEEKDAYS=t.BLOCKED_MODIFIER=t.DAY_SIZE=t.OPEN_UP=t.OPEN_DOWN=t.ANCHOR_RIGHT=t.ANCHOR_LEFT=t.INFO_POSITION_AFTER=t.INFO_POSITION_BEFORE=t.INFO_POSITION_BOTTOM=t.INFO_POSITION_TOP=t.ICON_AFTER_POSITION=t.ICON_BEFORE_POSITION=t.NAV_POSITION_TOP=t.NAV_POSITION_BOTTOM=t.VERTICAL_SCROLLABLE=t.VERTICAL_ORIENTATION=t.HORIZONTAL_ORIENTATION=t.END_DATE=t.START_DATE=t.ISO_MONTH_FORMAT=t.ISO_FORMAT=t.DISPLAY_FORMAT=void 0;t.DISPLAY_FORMAT="L";t.ISO_FORMAT="YYYY-MM-DD";t.ISO_MONTH_FORMAT="YYYY-MM";t.START_DATE="startDate";t.END_DATE="endDate";t.HORIZONTAL_ORIENTATION="horizontal";t.VERTICAL_ORIENTATION="vertical";t.VERTICAL_SCROLLABLE="verticalScrollable";t.NAV_POSITION_BOTTOM="navPositionBottom";t.NAV_POSITION_TOP="navPositionTop";t.ICON_BEFORE_POSITION="before";t.ICON_AFTER_POSITION="after";t.INFO_POSITION_TOP="top";t.INFO_POSITION_BOTTOM="bottom";t.INFO_POSITION_BEFORE="before";t.INFO_POSITION_AFTER="after";t.ANCHOR_LEFT="left";t.ANCHOR_RIGHT="right";t.OPEN_DOWN="down";t.OPEN_UP="up";t.DAY_SIZE=39;t.BLOCKED_MODIFIER="blocked";t.WEEKDAYS=[0,1,2,3,4,5,6];t.FANG_WIDTH_PX=20;t.FANG_HEIGHT_PX=10;t.DEFAULT_VERTICAL_SPACING=22;var n=new Set(["Shift","Control","Alt","Meta"]);t.MODIFIER_KEY_NAMES=n},4667:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CalendarDayPhrases=t.DayPickerNavigationPhrases=t.DayPickerKeyboardShortcutsPhrases=t.DayPickerPhrases=t.SingleDatePickerInputPhrases=t.SingleDatePickerPhrases=t.DateRangePickerInputPhrases=t.DateRangePickerPhrases=t.default=void 0;var n="Calendar",r="datepicker",o="Close",i="Interact with the calendar and add the check-in date for your trip.",a="Clear Date",s="Clear Dates",l="Move backward to switch to the previous month.",c="Move forward to switch to the next month.",u="Keyboard Shortcuts",d="Open the keyboard shortcuts panel.",p="Close the shortcuts panel.",f="Open this panel.",h="Enter key",b="Right and left arrow keys",A="up and down arrow keys",m="page up and page down keys",g="Home and end keys",v="Escape key",y="Question mark",M="Select the date in focus.",O="Move backward (left) and forward (right) by one day.",_="Move backward (up) and forward (down) by one week.",z="Switch months.",x="Go to the first or last day of a week.",w="Return to the date input field.",C="Navigate forward to interact with the calendar and select a date. Press the question mark key to get the keyboard shortcuts for changing dates.",S="Navigate backward to interact with the calendar and select a date. Press the question mark key to get the keyboard shortcuts for changing dates.",E=function(e){var t=e.date;return"Choose ".concat(t," as your check-in date. It\u2019s available.")},k=function(e){var t=e.date;return"Choose ".concat(t," as your check-out date. It\u2019s available.")},D=function(e){return e.date},N=function(e){var t=e.date;return"Not available. ".concat(t)},T=function(e){var t=e.date;return"Selected. ".concat(t)},j=function(e){var t=e.date;return"Selected as start date. ".concat(t)},B=function(e){var t=e.date;return"Selected as end date. ".concat(t)},L={calendarLabel:n,roleDescription:r,closeDatePicker:o,focusStartDate:i,clearDate:a,clearDates:s,jumpToPrevMonth:l,jumpToNextMonth:c,keyboardShortcuts:u,showKeyboardShortcutsPanel:d,hideKeyboardShortcutsPanel:p,openThisPanel:f,enterKey:h,leftArrowRightArrow:b,upArrowDownArrow:A,pageUpPageDown:m,homeEnd:g,escape:v,questionMark:y,selectFocusedDate:M,moveFocusByOneDay:O,moveFocusByOneWeek:_,moveFocusByOneMonth:z,moveFocustoStartAndEndOfWeek:x,returnFocusToInput:w,keyboardForwardNavigationInstructions:C,keyboardBackwardNavigationInstructions:S,chooseAvailableStartDate:E,chooseAvailableEndDate:k,dateIsUnavailable:N,dateIsSelected:T,dateIsSelectedAsStartDate:j,dateIsSelectedAsEndDate:B};t.default=L;var R={calendarLabel:n,roleDescription:r,closeDatePicker:o,clearDates:s,focusStartDate:i,jumpToPrevMonth:l,jumpToNextMonth:c,keyboardShortcuts:u,showKeyboardShortcutsPanel:d,hideKeyboardShortcutsPanel:p,openThisPanel:f,enterKey:h,leftArrowRightArrow:b,upArrowDownArrow:A,pageUpPageDown:m,homeEnd:g,escape:v,questionMark:y,selectFocusedDate:M,moveFocusByOneDay:O,moveFocusByOneWeek:_,moveFocusByOneMonth:z,moveFocustoStartAndEndOfWeek:x,returnFocusToInput:w,keyboardForwardNavigationInstructions:C,keyboardBackwardNavigationInstructions:S,chooseAvailableStartDate:E,chooseAvailableEndDate:k,dateIsUnavailable:N,dateIsSelected:T,dateIsSelectedAsStartDate:j,dateIsSelectedAsEndDate:B};t.DateRangePickerPhrases=R;var q={focusStartDate:i,clearDates:s,keyboardForwardNavigationInstructions:C,keyboardBackwardNavigationInstructions:S};t.DateRangePickerInputPhrases=q;var P={calendarLabel:n,roleDescription:r,closeDatePicker:o,clearDate:a,jumpToPrevMonth:l,jumpToNextMonth:c,keyboardShortcuts:u,showKeyboardShortcutsPanel:d,hideKeyboardShortcutsPanel:p,openThisPanel:f,enterKey:h,leftArrowRightArrow:b,upArrowDownArrow:A,pageUpPageDown:m,homeEnd:g,escape:v,questionMark:y,selectFocusedDate:M,moveFocusByOneDay:O,moveFocusByOneWeek:_,moveFocusByOneMonth:z,moveFocustoStartAndEndOfWeek:x,returnFocusToInput:w,keyboardForwardNavigationInstructions:C,keyboardBackwardNavigationInstructions:S,chooseAvailableDate:D,dateIsUnavailable:N,dateIsSelected:T};t.SingleDatePickerPhrases=P;var I={clearDate:a,keyboardForwardNavigationInstructions:C,keyboardBackwardNavigationInstructions:S};t.SingleDatePickerInputPhrases=I;var W={calendarLabel:n,roleDescription:r,jumpToPrevMonth:l,jumpToNextMonth:c,keyboardShortcuts:u,showKeyboardShortcutsPanel:d,hideKeyboardShortcutsPanel:p,openThisPanel:f,enterKey:h,leftArrowRightArrow:b,upArrowDownArrow:A,pageUpPageDown:m,homeEnd:g,escape:v,questionMark:y,selectFocusedDate:M,moveFocusByOneDay:O,moveFocusByOneWeek:_,moveFocusByOneMonth:z,moveFocustoStartAndEndOfWeek:x,returnFocusToInput:w,chooseAvailableStartDate:E,chooseAvailableEndDate:k,chooseAvailableDate:D,dateIsUnavailable:N,dateIsSelected:T,dateIsSelectedAsStartDate:j,dateIsSelectedAsEndDate:B};t.DayPickerPhrases=W;var F={keyboardShortcuts:u,showKeyboardShortcutsPanel:d,hideKeyboardShortcutsPanel:p,openThisPanel:f,enterKey:h,leftArrowRightArrow:b,upArrowDownArrow:A,pageUpPageDown:m,homeEnd:g,escape:v,questionMark:y,selectFocusedDate:M,moveFocusByOneDay:O,moveFocusByOneWeek:_,moveFocusByOneMonth:z,moveFocustoStartAndEndOfWeek:x,returnFocusToInput:w};t.DayPickerKeyboardShortcutsPhrases=F;var U={jumpToPrevMonth:l,jumpToNextMonth:c};t.DayPickerNavigationPhrases=U;var Z={chooseAvailableDate:D,dateIsUnavailable:N,dateIsSelected:T,dateIsSelectedAsStartDate:j,dateIsSelectedAsEndDate:B};t.CalendarDayPhrases=Z},41549:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"DateRangePicker",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"isSameDay",{enumerable:!0,get:function(){return y.default}});var o=r(n(50642)),i=r(n(11658)),a=r(n(87570)),s=r(n(38226)),l=r(n(54450)),c=r(n(37556)),u=r(n(76424)),d=r(n(31342)),p=r(n(68601)),f=r(n(76147)),h=r(n(65397)),b=r(n(39443)),A=r(n(78416)),m=r(n(26449)),g=r(n(92563)),v=r(n(17193)),y=r(n(43996)),M=r(n(90474)),O=r(n(62281)),_=r(n(52818))},25866:function(e,t,n){"use strict";(0,n(64836)(n(48142)).default)()},56452:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(75192)),i=n(64847),a=o.default.oneOf([i.ANCHOR_LEFT,i.ANCHOR_RIGHT]);t.default=a},99728:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(75192)),i=n(64847),a=o.default.oneOf([i.INFO_POSITION_TOP,i.INFO_POSITION_BOTTOM,i.INFO_POSITION_BEFORE,i.INFO_POSITION_AFTER]);t.default=a},76424:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(75192)),i=r(n(92981)),a=n(96095),s=n(4667),l=r(n(9257)),c=r(n(97128)),u=r(n(90853)),d=r(n(25163)),p=r(n(80943)),f=r(n(56452)),h=r(n(58749)),b=r(n(12642)),A=r(n(99728)),m=r(n(68172)),g={startDate:i.default.momentObj,endDate:i.default.momentObj,onDatesChange:o.default.func.isRequired,focusedInput:c.default,onFocusChange:o.default.func.isRequired,onClose:o.default.func,startDateId:o.default.string.isRequired,startDatePlaceholderText:o.default.string,startDateOffset:o.default.func,endDateOffset:o.default.func,endDateId:o.default.string.isRequired,endDatePlaceholderText:o.default.string,startDateAriaLabel:o.default.string,endDateAriaLabel:o.default.string,disabled:p.default,required:o.default.bool,readOnly:o.default.bool,screenReaderInputMessage:o.default.string,showClearDates:o.default.bool,showDefaultInputIcon:o.default.bool,inputIconPosition:u.default,customInputIcon:o.default.node,customArrowIcon:o.default.node,customCloseIcon:o.default.node,noBorder:o.default.bool,block:o.default.bool,small:o.default.bool,regular:o.default.bool,keepFocusOnInput:o.default.bool,renderMonthText:(0,a.mutuallyExclusiveProps)(o.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,a.mutuallyExclusiveProps)(o.default.func,"renderMonthText","renderMonthElement"),renderWeekHeaderElement:o.default.func,orientation:d.default,anchorDirection:f.default,openDirection:h.default,horizontalMargin:o.default.number,withPortal:o.default.bool,withFullScreenPortal:o.default.bool,appendToBody:o.default.bool,disableScroll:o.default.bool,daySize:a.nonNegativeInteger,isRTL:o.default.bool,firstDayOfWeek:b.default,initialVisibleMonth:o.default.func,numberOfMonths:o.default.number,keepOpenOnDateSelect:o.default.bool,reopenPickerOnClearDates:o.default.bool,renderCalendarInfo:o.default.func,calendarInfoPosition:A.default,hideKeyboardShortcutsPanel:o.default.bool,verticalHeight:a.nonNegativeInteger,transitionDuration:a.nonNegativeInteger,verticalSpacing:a.nonNegativeInteger,horizontalMonthPadding:a.nonNegativeInteger,dayPickerNavigationInlineStyles:o.default.object,navPosition:m.default,navPrev:o.default.node,navNext:o.default.node,renderNavPrevButton:o.default.func,renderNavNextButton:o.default.func,onPrevMonthClick:o.default.func,onNextMonthClick:o.default.func,renderCalendarDay:o.default.func,renderDayContents:o.default.func,minimumNights:o.default.number,minDate:i.default.momentObj,maxDate:i.default.momentObj,enableOutsideDays:o.default.bool,isDayBlocked:o.default.func,isOutsideRange:o.default.func,isDayHighlighted:o.default.func,displayFormat:o.default.oneOfType([o.default.string,o.default.func]),monthFormat:o.default.string,weekDayFormat:o.default.string,phrases:o.default.shape((0,l.default)(s.DateRangePickerPhrases)),dayAriaLabelFormat:o.default.string};t.default=g},12642:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(75192)),i=n(64847),a=o.default.oneOf(i.WEEKDAYS);t.default=a},80943:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(75192)),i=n(64847),a=o.default.oneOfType([o.default.bool,o.default.oneOf([i.START_DATE,i.END_DATE])]);t.default=a},97128:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(75192)),i=n(64847),a=o.default.oneOf([i.START_DATE,i.END_DATE]);t.default=a},90853:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(75192)),i=n(64847),a=o.default.oneOf([i.ICON_BEFORE_POSITION,i.ICON_AFTER_POSITION]);t.default=a},29683:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(38416)),i=r(n(861)),a=r(n(75192)),s=(0,n(96095).and)([a.default.instanceOf(Set),function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),s=2;s<n;s++)r[s-2]=arguments[s];var l,c=e[t];return(0,i.default)(c).some((function(e,n){var i,s="".concat(t,": index ").concat(n);return null!=(l=(i=a.default.string).isRequired.apply(i,[(0,o.default)({},s,e),s].concat(r)))})),null==l?null:l}],"Modifiers (Set of Strings)");t.default=s},68172:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(75192)),i=n(64847),a=o.default.oneOf([i.NAV_POSITION_BOTTOM,i.NAV_POSITION_TOP]);t.default=a},58749:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(75192)),i=n(64847),a=o.default.oneOf([i.OPEN_DOWN,i.OPEN_UP]);t.default=a},25163:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(75192)),i=n(64847),a=o.default.oneOf([i.HORIZONTAL_ORIENTATION,i.VERTICAL_ORIENTATION]);t.default=a},69133:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(75192)),i=n(64847),a=o.default.oneOf([i.HORIZONTAL_ORIENTATION,i.VERTICAL_ORIENTATION,i.VERTICAL_SCROLLABLE]);t.default=a},78416:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(75192)),i=r(n(92981)),a=n(96095),s=n(4667),l=r(n(9257)),c=r(n(90853)),u=r(n(25163)),d=r(n(56452)),p=r(n(58749)),f=r(n(12642)),h=r(n(99728)),b=r(n(68172)),A={date:i.default.momentObj,onDateChange:o.default.func.isRequired,focused:o.default.bool,onFocusChange:o.default.func.isRequired,id:o.default.string.isRequired,placeholder:o.default.string,ariaLabel:o.default.string,disabled:o.default.bool,required:o.default.bool,readOnly:o.default.bool,screenReaderInputMessage:o.default.string,showClearDate:o.default.bool,customCloseIcon:o.default.node,showDefaultInputIcon:o.default.bool,inputIconPosition:c.default,customInputIcon:o.default.node,noBorder:o.default.bool,block:o.default.bool,small:o.default.bool,regular:o.default.bool,verticalSpacing:a.nonNegativeInteger,keepFocusOnInput:o.default.bool,renderMonthText:(0,a.mutuallyExclusiveProps)(o.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,a.mutuallyExclusiveProps)(o.default.func,"renderMonthText","renderMonthElement"),renderWeekHeaderElement:o.default.func,orientation:u.default,anchorDirection:d.default,openDirection:p.default,horizontalMargin:o.default.number,withPortal:o.default.bool,withFullScreenPortal:o.default.bool,appendToBody:o.default.bool,disableScroll:o.default.bool,initialVisibleMonth:o.default.func,firstDayOfWeek:f.default,numberOfMonths:o.default.number,keepOpenOnDateSelect:o.default.bool,reopenPickerOnClearDate:o.default.bool,renderCalendarInfo:o.default.func,calendarInfoPosition:h.default,hideKeyboardShortcutsPanel:o.default.bool,daySize:a.nonNegativeInteger,isRTL:o.default.bool,verticalHeight:a.nonNegativeInteger,transitionDuration:a.nonNegativeInteger,horizontalMonthPadding:a.nonNegativeInteger,dayPickerNavigationInlineStyles:o.default.object,navPosition:b.default,navPrev:o.default.node,navNext:o.default.node,renderNavPrevButton:o.default.func,renderNavNextButton:o.default.func,onPrevMonthClick:o.default.func,onNextMonthClick:o.default.func,onClose:o.default.func,renderCalendarDay:o.default.func,renderDayContents:o.default.func,enableOutsideDays:o.default.bool,isDayBlocked:o.default.func,isOutsideRange:o.default.func,isDayHighlighted:o.default.func,displayFormat:o.default.oneOfType([o.default.string,o.default.func]),monthFormat:o.default.string,weekDayFormat:o.default.string,phrases:o.default.shape((0,l.default)(s.SingleDatePickerPhrases)),dayAriaLabelFormat:o.default.string};t.default=A},63154:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={white:"#fff",gray:"#484848",grayLight:"#82888a",grayLighter:"#cacccd",grayLightest:"#f2f2f2",borderMedium:"#c4c4c4",border:"#dbdbdb",borderLight:"#e4e7e7",borderLighter:"#eceeee",borderBright:"#f4f5f5",primary:"#00a699",primaryShade_1:"#33dacd",primaryShade_2:"#66e2da",primaryShade_3:"#80e8e0",primaryShade_4:"#b2f1ec",primary_dark:"#008489",secondary:"#007a87",yellow:"#ffe8bc",yellow_dark:"#ffce71"},r={reactDates:{zIndex:0,border:{input:{border:0,borderTop:0,borderRight:0,borderBottom:"2px solid transparent",borderLeft:0,outlineFocused:0,borderFocused:0,borderTopFocused:0,borderLeftFocused:0,borderBottomFocused:"2px solid ".concat(n.primary_dark),borderRightFocused:0,borderRadius:0},pickerInput:{borderWidth:1,borderStyle:"solid",borderRadius:2}},color:{core:n,disabled:n.grayLightest,background:n.white,backgroundDark:"#f2f2f2",backgroundFocused:n.white,border:"rgb(219, 219, 219)",text:n.gray,textDisabled:n.border,textFocused:"#007a87",placeholderText:"#757575",outside:{backgroundColor:n.white,backgroundColor_active:n.white,backgroundColor_hover:n.white,color:n.gray,color_active:n.gray,color_hover:n.gray},highlighted:{backgroundColor:n.yellow,backgroundColor_active:n.yellow_dark,backgroundColor_hover:n.yellow_dark,color:n.gray,color_active:n.gray,color_hover:n.gray},minimumNights:{backgroundColor:n.white,backgroundColor_active:n.white,backgroundColor_hover:n.white,borderColor:n.borderLighter,color:n.grayLighter,color_active:n.grayLighter,color_hover:n.grayLighter},hoveredSpan:{backgroundColor:n.primaryShade_4,backgroundColor_active:n.primaryShade_3,backgroundColor_hover:n.primaryShade_4,borderColor:n.primaryShade_3,borderColor_active:n.primaryShade_3,borderColor_hover:n.primaryShade_3,color:n.secondary,color_active:n.secondary,color_hover:n.secondary},selectedSpan:{backgroundColor:n.primaryShade_2,backgroundColor_active:n.primaryShade_1,backgroundColor_hover:n.primaryShade_1,borderColor:n.primaryShade_1,borderColor_active:n.primary,borderColor_hover:n.primary,color:n.white,color_active:n.white,color_hover:n.white},selected:{backgroundColor:n.primary,backgroundColor_active:n.primary,backgroundColor_hover:n.primary,borderColor:n.primary,borderColor_active:n.primary,borderColor_hover:n.primary,color:n.white,color_active:n.white,color_hover:n.white},blocked_calendar:{backgroundColor:n.grayLighter,backgroundColor_active:n.grayLighter,backgroundColor_hover:n.grayLighter,borderColor:n.grayLighter,borderColor_active:n.grayLighter,borderColor_hover:n.grayLighter,color:n.grayLight,color_active:n.grayLight,color_hover:n.grayLight},blocked_out_of_range:{backgroundColor:n.white,backgroundColor_active:n.white,backgroundColor_hover:n.white,borderColor:n.borderLight,borderColor_active:n.borderLight,borderColor_hover:n.borderLight,color:n.grayLighter,color_active:n.grayLighter,color_hover:n.grayLighter}},spacing:{dayPickerHorizontalPadding:9,captionPaddingTop:22,captionPaddingBottom:37,inputPadding:0,displayTextPaddingVertical:void 0,displayTextPaddingTop:11,displayTextPaddingBottom:9,displayTextPaddingHorizontal:void 0,displayTextPaddingLeft:11,displayTextPaddingRight:11,displayTextPaddingVertical_small:void 0,displayTextPaddingTop_small:7,displayTextPaddingBottom_small:5,displayTextPaddingHorizontal_small:void 0,displayTextPaddingLeft_small:7,displayTextPaddingRight_small:7},sizing:{inputWidth:130,inputWidth_small:97,arrowWidth:24},noScrollBarOnVerticalScrollable:!1,font:{size:14,captionSize:18,input:{size:19,weight:200,lineHeight:"24px",size_small:15,lineHeight_small:"18px",letterSpacing_small:"0.2px",styleDisabled:"italic"}}}};t.default=r},80085:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!e)return 0;var o="width"===t?"Left":"Top",i="width"===t?"Right":"Bottom",a=!n||r?window.getComputedStyle(e):null,s=e.offsetWidth,l=e.offsetHeight,c="width"===t?s:l;n||(c-=parseFloat(a["padding".concat(o)])+parseFloat(a["padding".concat(i)])+parseFloat(a["border".concat(o,"Width")])+parseFloat(a["border".concat(i,"Width")]));r&&(c+=parseFloat(a["margin".concat(o)])+parseFloat(a["margin".concat(i)]));return c}},33626:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getScrollParent=r,t.getScrollAncestorsOverflowY=o,t.default=function(e){var t=o(e),n=function(e){return t.forEach((function(t,n){n.style.setProperty("overflow-y",e?"hidden":t)}))};return n(!0),function(){return n(!1)}};var n=function(){return document.scrollingElement||document.documentElement};function r(e){var t=e.parentElement;if(null==t)return n();var o=window.getComputedStyle(t).overflowY;return"visible"!==o&&"hidden"!==o&&t.scrollHeight>t.clientHeight?t:r(t)}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Map,i=n(),a=r(e);return t.set(a,a.style.overflowY),a===i?t:o(a,t)}},87914:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return"undefined"!==typeof document&&document.activeElement}},91451:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,o){return{ariaLabel:c(o,r,e,t),hoveredSpan:l(r),isOutsideRange:r.has("blocked-out-of-range"),selected:a(r),useDefaultCursor:s(r),daySizeStyles:{width:n,height:n-1}}};var o=r(n(33444)),i=n(64847);function a(e){return e.has("selected")||e.has("selected-span")||e.has("selected-start")||e.has("selected-end")}function s(e){return e.has("blocked-minimum-nights")||e.has("blocked-calendar")||e.has("blocked-out-of-range")}function l(e){return!a(e)&&(e.has("hovered-span")||e.has("after-hovered-start")||e.has("before-hovered-end"))}function c(e,t,n,r){var s=e.chooseAvailableDate,l=e.dateIsUnavailable,c=e.dateIsSelected,u=e.dateIsSelectedAsStartDate,d=e.dateIsSelectedAsEndDate,p={date:n.format(r)};return t.has("selected-start")&&u?(0,o.default)(u,p):t.has("selected-end")&&d?(0,o.default)(d,p):a(t)&&c?(0,o.default)(c,p):t.has(i.BLOCKED_MODIFIER)?(0,o.default)(l,p):(0,o.default)(s,p)}},96756:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o.default.localeData().firstDayOfWeek();if(!o.default.isMoment(e)||!e.isValid())throw new TypeError("`month` must be a valid moment object");if(-1===i.WEEKDAYS.indexOf(n))throw new TypeError("`firstDayOfWeek` must be an integer between 0 and 6");for(var r=e.clone().startOf("month").hour(12),a=e.clone().endOf("month").hour(12),s=(r.day()+7-n)%7,l=(n+6-a.day())%7,c=r.clone().subtract(s,"day"),u=a.clone().add(l,"day").diff(c,"days")+1,d=c.clone(),p=[],f=0;f<u;f+=1){f%7===0&&p.push([]);var h=null;(f>=s&&f<u-l||t)&&(h=d.clone()),p[p.length-1].push(h),d.add(1,"day")}return p};var o=r(n(70816)),i=n(64847)},39223:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return 7*e+2*t+1}},90157:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var o=n.getBoundingClientRect(),i=o.left,a=o.top;e===r.OPEN_UP&&(a=-(window.innerHeight-o.bottom));t===r.ANCHOR_RIGHT&&(i=-(window.innerWidth-o.right));return{transform:"translate3d(".concat(Math.round(i),"px, ").concat(Math.round(a),"px, 0)")}};var r=n(64847)},43099:function(e,t){"use strict";function n(e,t,n){var r="number"===typeof t,o="number"===typeof n,i="number"===typeof e;return r&&o?t+n:r&&i?t+e:r?t:o&&i?n+e:o?n:i?2*e:0}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=e.font.input,o=r.lineHeight,i=r.lineHeight_small,a=e.spacing,s=a.inputPadding,l=a.displayTextPaddingVertical,c=a.displayTextPaddingTop,u=a.displayTextPaddingBottom,d=a.displayTextPaddingVertical_small,p=a.displayTextPaddingTop_small,f=a.displayTextPaddingBottom_small,h=t?i:o,b=t?n(d,p,f):n(l,c,u);return parseInt(h,10)+2*s+b}},6211:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.default.localeData().firstDayOfWeek(),n=function(e,t){var n=e.day()-t;return(n+7)%7}(e.clone().startOf("month"),t);return Math.ceil((n+e.daysInMonth())/7)};var o=r(n(70816))},33444:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("string"===typeof e)return e;if("function"===typeof e)return e(t);return""}},9257:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Object.keys(e).reduce((function(e,t){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,(0,o.default)({},t,i.default.oneOfType([i.default.string,i.default.func,i.default.node])))}),{})};var o=r(n(38416)),i=r(n(75192));function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}},74195:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){i.has(e)||i.set(e,(0,o.default)(e));return i.get(e)};var o=r(n(70816)),i=new Map},12751:function(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e!==n&&(n=e,r=e.clone().subtract(1,"month"));return r}},19672:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r){var a="undefined"!==typeof window?window.innerWidth:0,s=e===i.ANCHOR_LEFT?a-n:n,l=r||0;return(0,o.default)({},e,Math.min(t+s-l,0))};var o=r(n(38416)),i=n(64847)},52627:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n;return e?r(e(t.clone())):t};var n=function(e){return e}},42187:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{transform:e,msTransform:e,MozTransform:e,WebkitTransform:e}}},30802:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r){if(!o.default.isMoment(e))return{};for(var a={},s=r?e.clone():e.clone().subtract(1,"month"),l=0;l<(r?t:t+2);l+=1){var c=[],u=s.clone(),d=u.clone().startOf("month").hour(12),p=u.clone().endOf("month").hour(12),f=d.clone();if(n)for(var h=0;h<f.weekday();h+=1){var b=f.clone().subtract(h+1,"day");c.unshift(b)}for(;f<p;)c.push(f.clone()),f.add(1,"day");if(n&&0!==f.weekday())for(var A=f.weekday(),m=0;A<7;A+=1,m+=1){var g=f.clone().add(m,"day");c.push(g)}a[(0,i.default)(s)]=c,s=s.clone().add(1,"month")}return a};var o=r(n(70816)),i=r(n(8680))},74754:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!o.default.isMoment(e)||!o.default.isMoment(t))&&(!(0,i.default)(e,t)&&!(0,a.default)(e,t))};var o=r(n(70816)),i=r(n(14405)),a=r(n(43996))},14405:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!o.default.isMoment(e)||!o.default.isMoment(t))return!1;var n=e.year(),r=e.month(),i=t.year(),a=t.month(),s=n===i,l=r===a;return s&&l?e.date()<t.date():s?r<a:n<i};var o=r(n(70816))},16209:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r){if(!o.default.isMoment(e))return!1;var p=(0,s.default)(t),f=p+"+"+n;if(r)return l.has(p)||l.set(p,t.clone().startOf("month").startOf("week")),!(0,i.default)(e,l.get(p))&&(c.has(f)||c.set(f,t.clone().endOf("week").add(n-1,"months").endOf("month").endOf("week")),!(0,a.default)(e,c.get(f)));u.has(p)||u.set(p,t.clone().startOf("month"));if((0,i.default)(e,u.get(p)))return!1;d.has(f)||d.set(f,t.clone().add(n-1,"months").endOf("month"));return!(0,a.default)(e,d.get(f))};var o=r(n(70816)),i=r(n(14405)),a=r(n(74754)),s=r(n(8680)),l=new Map,c=new Map,u=new Map,d=new Map},26449:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!o.default.isMoment(e)||!o.default.isMoment(t))&&!(0,i.default)(e,t)};var o=r(n(70816)),i=r(n(14405))},92563:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!o.default.isMoment(e)||!o.default.isMoment(t))&&!(0,i.default)(e,t)};var o=r(n(70816)),i=r(n(74754))},17193:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!o.default.isMoment(e)||!o.default.isMoment(t))return!1;var n=(0,o.default)(e).add(1,"day");return(0,i.default)(n,t)};var o=r(n(70816)),i=r(n(43996))},42681:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!o.default.isMoment(e)||!o.default.isMoment(t))&&(0,i.default)(e.clone().add(1,"month"),t)};var o=r(n(70816)),i=r(n(81980))},8664:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!o.default.isMoment(e)||!o.default.isMoment(t))&&(0,i.default)(e.clone().subtract(1,"month"),t)};var o=r(n(70816)),i=r(n(81980))},83464:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!o.default.isMoment(e)||!o.default.isMoment(t))return!1;var n=(0,o.default)(e).subtract(1,"day");return(0,i.default)(n,t)};var o=r(n(70816)),i=r(n(43996))},43996:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!o.default.isMoment(e)||!o.default.isMoment(t))&&(e.date()===t.date()&&e.month()===t.month()&&e.year()===t.year())};var o=r(n(70816))},81980:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!o.default.isMoment(e)||!o.default.isMoment(t))&&(e.month()===t.month()&&e.year()===t.year())};var o=r(n(70816))},70080:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return!("undefined"===typeof window||!("TransitionEvent"in window))}},54983:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.addModifier=function(e,t,n,r,u){var p=r.numberOfMonths,f=r.enableOutsideDays,h=r.orientation,b=u.currentMonth,A=u.visibleDays,m=b,g=p;h===c.VERTICAL_SCROLLABLE?g=Object.keys(A).length:(m=(0,l.default)(m),g+=2);if(!t||!(0,i.default)(t,m,g,f))return e;var v=(0,a.default)(t),y=d({},e);if(f){y=Object.keys(A).filter((function(e){return Object.keys(A[e]).indexOf(v)>-1})).reduce((function(t,r){var i=e[r]||A[r];if(!i[v]||!i[v].has(n)){var a=new Set(i[v]);a.add(n),t[r]=d({},i,(0,o.default)({},v,a))}return t}),y)}else{var M=(0,s.default)(t),O=e[M]||A[M]||{};if(!O[v]||!O[v].has(n)){var _=new Set(O[v]);_.add(n),y[M]=d({},O,(0,o.default)({},v,_))}}return y},t.deleteModifier=function(e,t,n,r,u){var p=r.numberOfMonths,f=r.enableOutsideDays,h=r.orientation,b=u.currentMonth,A=u.visibleDays,m=b,g=p;h===c.VERTICAL_SCROLLABLE?g=Object.keys(A).length:(m=(0,l.default)(m),g+=2);if(!t||!(0,i.default)(t,m,g,f))return e;var v=(0,a.default)(t),y=d({},e);if(f){y=Object.keys(A).filter((function(e){return Object.keys(A[e]).indexOf(v)>-1})).reduce((function(t,r){var i=e[r]||A[r];if(i[v]&&i[v].has(n)){var a=new Set(i[v]);a.delete(n),t[r]=d({},i,(0,o.default)({},v,a))}return t}),y)}else{var M=(0,s.default)(t),O=e[M]||A[M]||{};if(O[v]&&O[v].has(n)){var _=new Set(O[v]);_.delete(n),y[M]=d({},O,(0,o.default)({},v,_))}}return y};var o=r(n(38416)),i=r(n(16209)),a=r(n(90474)),s=r(n(8680)),l=r(n(12751)),c=n(64847);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},21205:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if("number"===typeof e)return"".concat(e,"px ").concat(n);if("string"===typeof e)return"".concat(e," ").concat(n);throw new TypeError("noflip expects a string or a number")};var n="/* @noflip */"},48142:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){(0,i.default)(o.default)};var o=r(n(2461)),i=r(n(45302))},45302:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){o.default.registerInterface(e),o.default.registerTheme(i.default)};var o=r(n(56035)),i=r(n(63154))},90474:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=o.default.isMoment(e)?e:(0,i.default)(e,t);return n?n.year()+"-"+String(n.month()+1).padStart(2,"0")+"-"+String(n.date()).padStart(2,"0"):null};var o=r(n(70816)),i=r(n(52818))},8680:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=o.default.isMoment(e)?e:(0,i.default)(e,t);return n?n.year()+"-"+String(n.month()+1).padStart(2,"0"):null};var o=r(n(70816)),i=r(n(52818))},62281:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=o.default.isMoment(e)?e:(0,i.default)(e,t);return n?n.format(a.DISPLAY_FORMAT):null};var o=r(n(70816)),i=r(n(52818)),a=n(64847)},52818:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=t?[t,i.DISPLAY_FORMAT,i.ISO_FORMAT]:[i.DISPLAY_FORMAT,i.ISO_FORMAT],r=(0,o.default)(e,n,!0);return r.isValid()?r.hour(12):null};var o=r(n(70816)),i=n(64847)},30534:function(e,t,n){"use strict";var r=n(47313),o=n(62224);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,s={};function l(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(s[e]=t,e=0;e<t.length;e++)a.add(t[e])}var u=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),d=Object.prototype.hasOwnProperty,p=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,f={},h={};function b(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var A={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){A[e]=new b(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];A[t]=new b(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){A[e]=new b(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){A[e]=new b(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){A[e]=new b(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){A[e]=new b(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){A[e]=new b(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){A[e]=new b(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){A[e]=new b(e,5,!1,e.toLowerCase(),null,!1,!1)}));var m=/[\-:]([a-z])/g;function g(e){return e[1].toUpperCase()}function v(e,t,n,r){var o=A.hasOwnProperty(t)?A[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!d.call(h,e)||!d.call(f,e)&&(p.test(e)?h[e]=!0:(f[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(m,g);A[t]=new b(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(m,g);A[t]=new b(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(m,g);A[t]=new b(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){A[e]=new b(e,1,!1,e.toLowerCase(),null,!1,!1)})),A.xlinkHref=new b("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){A[e]=new b(e,1,!1,e.toLowerCase(),null,!0,!0)}));var y=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,M=Symbol.for("react.element"),O=Symbol.for("react.portal"),_=Symbol.for("react.fragment"),z=Symbol.for("react.strict_mode"),x=Symbol.for("react.profiler"),w=Symbol.for("react.provider"),C=Symbol.for("react.context"),S=Symbol.for("react.forward_ref"),E=Symbol.for("react.suspense"),k=Symbol.for("react.suspense_list"),D=Symbol.for("react.memo"),N=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var T=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var j=Symbol.iterator;function B(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=j&&e[j]||e["@@iterator"])?e:null}var L,R=Object.assign;function q(e){if(void 0===L)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);L=t&&t[1]||""}return"\n"+L+e}var P=!1;function I(e,t){if(!e||P)return"";P=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&"string"===typeof c.stack){for(var o=c.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(1!==a||1!==s)do{if(a--,0>--s||o[a]!==i[s]){var l="\n"+o[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=a&&0<=s);break}}}finally{P=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?q(e):""}function W(e){switch(e.tag){case 5:return q(e.type);case 16:return q("Lazy");case 13:return q("Suspense");case 19:return q("SuspenseList");case 0:case 2:case 15:return e=I(e.type,!1);case 11:return e=I(e.type.render,!1);case 1:return e=I(e.type,!0);default:return""}}function F(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case _:return"Fragment";case O:return"Portal";case x:return"Profiler";case z:return"StrictMode";case E:return"Suspense";case k:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case C:return(e.displayName||"Context")+".Consumer";case w:return(e._context.displayName||"Context")+".Provider";case S:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case D:return null!==(t=e.displayName||null)?t:F(e.type)||"Memo";case N:t=e._payload,e=e._init;try{return F(e(t))}catch(n){}}return null}function U(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return F(t);case 8:return t===z?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t}return null}function Z(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function H(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function $(e){e._valueTracker||(e._valueTracker=function(e){var t=H(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function V(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=H(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function X(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Q(e,t){var n=t.checked;return R({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Y(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=Z(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function G(e,t){null!=(t=t.checked)&&v(e,"checked",t,!1)}function K(e,t){G(e,t);var n=Z(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,Z(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&X(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Z(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return R({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(te(n)){if(1<n.length)throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:Z(n)}}function ie(e,t){var n=Z(t.value),r=Z(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,ue,de=(ue=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ue(e,t)}))}:ue);function pe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var fe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","ms","Moz","O"];function be(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||fe.hasOwnProperty(e)&&fe[e]?(""+t).trim():t+"px"}function Ae(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=be(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(fe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),fe[t]=fe[e]}))}));var me=R({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ge(e,t){if(t){if(me[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(i(62))}}function ve(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ye=null;function Me(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Oe=null,_e=null,ze=null;function xe(e){if(e=yo(e)){if("function"!==typeof Oe)throw Error(i(280));var t=e.stateNode;t&&(t=Oo(t),Oe(e.stateNode,e.type,t))}}function we(e){_e?ze?ze.push(e):ze=[e]:_e=e}function Ce(){if(_e){var e=_e,t=ze;if(ze=_e=null,xe(e),t)for(e=0;e<t.length;e++)xe(t[e])}}function Se(e,t){return e(t)}function Ee(){}var ke=!1;function De(e,t,n){if(ke)return e(t,n);ke=!0;try{return Se(e,t,n)}finally{ke=!1,(null!==_e||null!==ze)&&(Ee(),Ce())}}function Ne(e,t){var n=e.stateNode;if(null===n)return null;var r=Oo(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(i(231,t,typeof n));return n}var Te=!1;if(u)try{var je={};Object.defineProperty(je,"passive",{get:function(){Te=!0}}),window.addEventListener("test",je,je),window.removeEventListener("test",je,je)}catch(ue){Te=!1}function Be(e,t,n,r,o,i,a,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(u){this.onError(u)}}var Le=!1,Re=null,qe=!1,Pe=null,Ie={onError:function(e){Le=!0,Re=e}};function We(e,t,n,r,o,i,a,s,l){Le=!1,Re=null,Be.apply(Ie,arguments)}function Fe(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ue(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Ze(e){if(Fe(e)!==e)throw Error(i(188))}function He(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Fe(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return Ze(o),e;if(a===r)return Ze(o),t;a=a.sibling}throw Error(i(188))}if(n.return!==r.return)n=o,r=a;else{for(var s=!1,l=o.child;l;){if(l===n){s=!0,n=o,r=a;break}if(l===r){s=!0,r=o,n=a;break}l=l.sibling}if(!s){for(l=a.child;l;){if(l===n){s=!0,n=a,r=o;break}if(l===r){s=!0,r=a,n=o;break}l=l.sibling}if(!s)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e))?$e(e):null}function $e(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=$e(e);if(null!==t)return t;e=e.sibling}return null}var Ve=o.unstable_scheduleCallback,Xe=o.unstable_cancelCallback,Qe=o.unstable_shouldYield,Ye=o.unstable_requestPaint,Ge=o.unstable_now,Ke=o.unstable_getCurrentPriorityLevel,Je=o.unstable_ImmediatePriority,et=o.unstable_UserBlockingPriority,tt=o.unstable_NormalPriority,nt=o.unstable_LowPriority,rt=o.unstable_IdlePriority,ot=null,it=null;var at=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(st(e)/lt|0)|0},st=Math.log,lt=Math.LN2;var ct=64,ut=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function pt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=268435455&n;if(0!==a){var s=a&~o;0!==s?r=dt(s):0!==(i&=a)&&(r=dt(i))}else 0!==(a=n&~o)?r=dt(a):0!==i&&(r=dt(i));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&o)&&((o=r&-r)>=(i=t&-t)||16===o&&0!==(4194240&i)))return t;if(0!==(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-at(t)),r|=e[n],t&=~o;return r}function ft(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ht(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function bt(){var e=ct;return 0===(4194240&(ct<<=1))&&(ct=64),e}function At(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function mt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function gt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var vt=0;function yt(e){return 1<(e&=-e)?4<e?0!==(268435455&e)?16:536870912:4:1}var Mt,Ot,_t,zt,xt,wt=!1,Ct=[],St=null,Et=null,kt=null,Dt=new Map,Nt=new Map,Tt=[],jt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Bt(e,t){switch(e){case"focusin":case"focusout":St=null;break;case"dragenter":case"dragleave":Et=null;break;case"mouseover":case"mouseout":kt=null;break;case"pointerover":case"pointerout":Dt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Nt.delete(t.pointerId)}}function Lt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==t&&(null!==(t=yo(t))&&Ot(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Rt(e){var t=vo(e.target);if(null!==t){var n=Fe(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ue(n)))return e.blockedOn=t,void xt(e.priority,(function(){_t(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function qt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Qt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=yo(n))&&Ot(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);ye=r,n.target.dispatchEvent(r),ye=null,t.shift()}return!0}function Pt(e,t,n){qt(e)&&n.delete(t)}function It(){wt=!1,null!==St&&qt(St)&&(St=null),null!==Et&&qt(Et)&&(Et=null),null!==kt&&qt(kt)&&(kt=null),Dt.forEach(Pt),Nt.forEach(Pt)}function Wt(e,t){e.blockedOn===t&&(e.blockedOn=null,wt||(wt=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,It)))}function Ft(e){function t(t){return Wt(t,e)}if(0<Ct.length){Wt(Ct[0],e);for(var n=1;n<Ct.length;n++){var r=Ct[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==St&&Wt(St,e),null!==Et&&Wt(Et,e),null!==kt&&Wt(kt,e),Dt.forEach(t),Nt.forEach(t),n=0;n<Tt.length;n++)(r=Tt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Tt.length&&null===(n=Tt[0]).blockedOn;)Rt(n),null===n.blockedOn&&Tt.shift()}var Ut=y.ReactCurrentBatchConfig,Zt=!0;function Ht(e,t,n,r){var o=vt,i=Ut.transition;Ut.transition=null;try{vt=1,Vt(e,t,n,r)}finally{vt=o,Ut.transition=i}}function $t(e,t,n,r){var o=vt,i=Ut.transition;Ut.transition=null;try{vt=4,Vt(e,t,n,r)}finally{vt=o,Ut.transition=i}}function Vt(e,t,n,r){if(Zt){var o=Qt(e,t,n,r);if(null===o)Zr(e,t,r,Xt,n),Bt(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return St=Lt(St,e,t,n,r,o),!0;case"dragenter":return Et=Lt(Et,e,t,n,r,o),!0;case"mouseover":return kt=Lt(kt,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Dt.set(i,Lt(Dt.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Nt.set(i,Lt(Nt.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Bt(e,r),4&t&&-1<jt.indexOf(e)){for(;null!==o;){var i=yo(o);if(null!==i&&Mt(i),null===(i=Qt(e,t,n,r))&&Zr(e,t,r,Xt,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else Zr(e,t,r,null,n)}}var Xt=null;function Qt(e,t,n,r){if(Xt=null,null!==(e=vo(e=Me(r))))if(null===(t=Fe(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Ue(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Xt=e,null}function Yt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Ke()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Gt=null,Kt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Kt,r=n.length,o="value"in Gt?Gt.value:Gt.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return Jt=o.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return R(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,sn,ln,cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},un=on(cn),dn=R({},cn,{view:0,detail:0}),pn=on(dn),fn=R({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:xn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ln&&(ln&&"mousemove"===e.type?(an=e.screenX-ln.screenX,sn=e.screenY-ln.screenY):sn=an=0,ln=e),an)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),hn=on(fn),bn=on(R({},fn,{dataTransfer:0})),An=on(R({},dn,{relatedTarget:0})),mn=on(R({},cn,{animationName:0,elapsedTime:0,pseudoElement:0})),gn=R({},cn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),vn=on(gn),yn=on(R({},cn,{data:0})),Mn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},On={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},_n={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function zn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=_n[e])&&!!t[e]}function xn(){return zn}var wn=R({},dn,{key:function(e){if(e.key){var t=Mn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?On[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:xn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Cn=on(wn),Sn=on(R({},fn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),En=on(R({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:xn})),kn=on(R({},cn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Dn=R({},fn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Nn=on(Dn),Tn=[9,13,27,32],jn=u&&"CompositionEvent"in window,Bn=null;u&&"documentMode"in document&&(Bn=document.documentMode);var Ln=u&&"TextEvent"in window&&!Bn,Rn=u&&(!jn||Bn&&8<Bn&&11>=Bn),qn=String.fromCharCode(32),Pn=!1;function In(e,t){switch(e){case"keyup":return-1!==Tn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Wn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Fn=!1;var Un={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Zn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Un[e.type]:"textarea"===t}function Hn(e,t,n,r){we(r),0<(t=$r(t,"onChange")).length&&(n=new un("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var $n=null,Vn=null;function Xn(e){qr(e,0)}function Qn(e){if(V(Mo(e)))return e}function Yn(e,t){if("change"===e)return t}var Gn=!1;if(u){var Kn;if(u){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"===typeof er.oninput}Kn=Jn}else Kn=!1;Gn=Kn&&(!document.documentMode||9<document.documentMode)}function tr(){$n&&($n.detachEvent("onpropertychange",nr),Vn=$n=null)}function nr(e){if("value"===e.propertyName&&Qn(Vn)){var t=[];Hn(t,Vn,e,Me(e)),De(Xn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Vn=n,($n=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Qn(Vn)}function ir(e,t){if("click"===e)return Qn(t)}function ar(e,t){if("input"===e||"change"===e)return Qn(t)}var sr="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t};function lr(e,t){if(sr(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!d.call(t,o)||!sr(e[o],t[o]))return!1}return!0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ur(e,t){var n,r=cr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=cr(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function pr(){for(var e=window,t=X();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=X((e=t.contentWindow).document)}return t}function fr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function hr(e){var t=pr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&fr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=ur(n,i);var a=ur(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"===typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var br=u&&"documentMode"in document&&11>=document.documentMode,Ar=null,mr=null,gr=null,vr=!1;function yr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;vr||null==Ar||Ar!==X(r)||("selectionStart"in(r=Ar)&&fr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},gr&&lr(gr,r)||(gr=r,0<(r=$r(mr,"onSelect")).length&&(t=new un("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Ar)))}function Mr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Or={animationend:Mr("Animation","AnimationEnd"),animationiteration:Mr("Animation","AnimationIteration"),animationstart:Mr("Animation","AnimationStart"),transitionend:Mr("Transition","TransitionEnd")},_r={},zr={};function xr(e){if(_r[e])return _r[e];if(!Or[e])return e;var t,n=Or[e];for(t in n)if(n.hasOwnProperty(t)&&t in zr)return _r[e]=n[t];return e}u&&(zr=document.createElement("div").style,"AnimationEvent"in window||(delete Or.animationend.animation,delete Or.animationiteration.animation,delete Or.animationstart.animation),"TransitionEvent"in window||delete Or.transitionend.transition);var wr=xr("animationend"),Cr=xr("animationiteration"),Sr=xr("animationstart"),Er=xr("transitionend"),kr=new Map,Dr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Nr(e,t){kr.set(e,t),l(t,[e])}for(var Tr=0;Tr<Dr.length;Tr++){var jr=Dr[Tr];Nr(jr.toLowerCase(),"on"+(jr[0].toUpperCase()+jr.slice(1)))}Nr(wr,"onAnimationEnd"),Nr(Cr,"onAnimationIteration"),Nr(Sr,"onAnimationStart"),Nr("dblclick","onDoubleClick"),Nr("focusin","onFocus"),Nr("focusout","onBlur"),Nr(Er,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Br="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Lr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Br));function Rr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,s,l,c){if(We.apply(this,arguments),Le){if(!Le)throw Error(i(198));var u=Re;Le=!1,Re=null,qe||(qe=!0,Pe=u)}}(r,t,void 0,e),e.currentTarget=null}function qr(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==i&&o.isPropagationStopped())break e;Rr(o,s,c),i=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,c=s.currentTarget,s=s.listener,l!==i&&o.isPropagationStopped())break e;Rr(o,s,c),i=l}}}if(qe)throw e=Pe,qe=!1,Pe=null,e}function Pr(e,t){var n=t[Ao];void 0===n&&(n=t[Ao]=new Set);var r=e+"__bubble";n.has(r)||(Ur(t,e,2,!1),n.add(r))}function Ir(e,t,n){var r=0;t&&(r|=4),Ur(n,e,r,t)}var Wr="_reactListening"+Math.random().toString(36).slice(2);function Fr(e){if(!e[Wr]){e[Wr]=!0,a.forEach((function(t){"selectionchange"!==t&&(Lr.has(t)||Ir(t,!1,e),Ir(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Wr]||(t[Wr]=!0,Ir("selectionchange",!1,t))}}function Ur(e,t,n,r){switch(Yt(t)){case 1:var o=Ht;break;case 4:o=$t;break;default:o=Vt}n=o.bind(null,t,n,e),o=void 0,!Te||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Zr(e,t,n,r,o){var i=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===o||8===s.nodeType&&s.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===o||8===l.nodeType&&l.parentNode===o))return;a=a.return}for(;null!==s;){if(null===(a=vo(s)))return;if(5===(l=a.tag)||6===l){r=i=a;continue e}s=s.parentNode}}r=r.return}De((function(){var r=i,o=Me(n),a=[];e:{var s=kr.get(e);if(void 0!==s){var l=un,c=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":l=Cn;break;case"focusin":c="focus",l=An;break;case"focusout":c="blur",l=An;break;case"beforeblur":case"afterblur":l=An;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=bn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=En;break;case wr:case Cr:case Sr:l=mn;break;case Er:l=kn;break;case"scroll":l=pn;break;case"wheel":l=Nn;break;case"copy":case"cut":case"paste":l=vn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Sn}var u=0!==(4&t),d=!u&&"scroll"===e,p=u?null!==s?s+"Capture":null:s;u=[];for(var f,h=r;null!==h;){var b=(f=h).stateNode;if(5===f.tag&&null!==b&&(f=b,null!==p&&(null!=(b=Ne(h,p))&&u.push(Hr(h,b,f)))),d)break;h=h.return}0<u.length&&(s=new l(s,c,null,n,o),a.push({event:s,listeners:u}))}}if(0===(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===ye||!(c=n.relatedTarget||n.fromElement)||!vo(c)&&!c[bo])&&(l||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(c=(c=n.relatedTarget||n.toElement)?vo(c):null)&&(c!==(d=Fe(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=r),l!==c)){if(u=hn,b="onMouseLeave",p="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(u=Sn,b="onPointerLeave",p="onPointerEnter",h="pointer"),d=null==l?s:Mo(l),f=null==c?s:Mo(c),(s=new u(b,h+"leave",l,n,o)).target=d,s.relatedTarget=f,b=null,vo(o)===r&&((u=new u(p,h+"enter",c,n,o)).target=f,u.relatedTarget=d,b=u),d=b,l&&c)e:{for(p=c,h=0,f=u=l;f;f=Vr(f))h++;for(f=0,b=p;b;b=Vr(b))f++;for(;0<h-f;)u=Vr(u),h--;for(;0<f-h;)p=Vr(p),f--;for(;h--;){if(u===p||null!==p&&u===p.alternate)break e;u=Vr(u),p=Vr(p)}u=null}else u=null;null!==l&&Xr(a,s,l,u,!1),null!==c&&null!==d&&Xr(a,d,c,u,!0)}if("select"===(l=(s=r?Mo(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var A=Yn;else if(Zn(s))if(Gn)A=ar;else{A=or;var m=rr}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(A=ir);switch(A&&(A=A(e,r))?Hn(a,A,n,o):(m&&m(e,s,r),"focusout"===e&&(m=s._wrapperState)&&m.controlled&&"number"===s.type&&ee(s,"number",s.value)),m=r?Mo(r):window,e){case"focusin":(Zn(m)||"true"===m.contentEditable)&&(Ar=m,mr=r,gr=null);break;case"focusout":gr=mr=Ar=null;break;case"mousedown":vr=!0;break;case"contextmenu":case"mouseup":case"dragend":vr=!1,yr(a,n,o);break;case"selectionchange":if(br)break;case"keydown":case"keyup":yr(a,n,o)}var g;if(jn)e:{switch(e){case"compositionstart":var v="onCompositionStart";break e;case"compositionend":v="onCompositionEnd";break e;case"compositionupdate":v="onCompositionUpdate";break e}v=void 0}else Fn?In(e,n)&&(v="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(v="onCompositionStart");v&&(Rn&&"ko"!==n.locale&&(Fn||"onCompositionStart"!==v?"onCompositionEnd"===v&&Fn&&(g=en()):(Kt="value"in(Gt=o)?Gt.value:Gt.textContent,Fn=!0)),0<(m=$r(r,v)).length&&(v=new yn(v,e,null,n,o),a.push({event:v,listeners:m}),g?v.data=g:null!==(g=Wn(n))&&(v.data=g))),(g=Ln?function(e,t){switch(e){case"compositionend":return Wn(t);case"keypress":return 32!==t.which?null:(Pn=!0,qn);case"textInput":return(e=t.data)===qn&&Pn?null:e;default:return null}}(e,n):function(e,t){if(Fn)return"compositionend"===e||!jn&&In(e,t)?(e=en(),Jt=Kt=Gt=null,Fn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Rn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=$r(r,"onBeforeInput")).length&&(o=new yn("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=g))}qr(a,t)}))}function Hr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function $r(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Ne(e,n))&&r.unshift(Hr(e,i,o)),null!=(i=Ne(e,t))&&r.push(Hr(e,i,o))),e=e.return}return r}function Vr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Xr(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==c&&(s=c,o?null!=(l=Ne(n,i))&&a.unshift(Hr(n,l,s)):o||null!=(l=Ne(n,i))&&a.push(Hr(n,l,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Qr=/\r\n?/g,Yr=/\u0000|\uFFFD/g;function Gr(e){return("string"===typeof e?e:""+e).replace(Qr,"\n").replace(Yr,"")}function Kr(e,t,n){if(t=Gr(t),Gr(e)!==t&&n)throw Error(i(425))}function Jr(){}var eo=null,to=null;function no(e,t){return"textarea"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ro="function"===typeof setTimeout?setTimeout:void 0,oo="function"===typeof clearTimeout?clearTimeout:void 0,io="function"===typeof Promise?Promise:void 0,ao="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof io?function(e){return io.resolve(null).then(e).catch(so)}:ro;function so(e){setTimeout((function(){throw e}))}function lo(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void Ft(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);Ft(t)}function co(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function uo(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var po=Math.random().toString(36).slice(2),fo="__reactFiber$"+po,ho="__reactProps$"+po,bo="__reactContainer$"+po,Ao="__reactEvents$"+po,mo="__reactListeners$"+po,go="__reactHandles$"+po;function vo(e){var t=e[fo];if(t)return t;for(var n=e.parentNode;n;){if(t=n[bo]||n[fo]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=uo(e);null!==e;){if(n=e[fo])return n;e=uo(e)}return t}n=(e=n).parentNode}return null}function yo(e){return!(e=e[fo]||e[bo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Mo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function Oo(e){return e[ho]||null}var _o=[],zo=-1;function xo(e){return{current:e}}function wo(e){0>zo||(e.current=_o[zo],_o[zo]=null,zo--)}function Co(e,t){zo++,_o[zo]=e.current,e.current=t}var So={},Eo=xo(So),ko=xo(!1),Do=So;function No(e,t){var n=e.type.contextTypes;if(!n)return So;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function To(e){return null!==(e=e.childContextTypes)&&void 0!==e}function jo(){wo(ko),wo(Eo)}function Bo(e,t,n){if(Eo.current!==So)throw Error(i(168));Co(Eo,t),Co(ko,n)}function Lo(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(i(108,U(e)||"Unknown",o));return R({},n,r)}function Ro(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||So,Do=Eo.current,Co(Eo,e),Co(ko,ko.current),!0}function qo(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=Lo(e,t,Do),r.__reactInternalMemoizedMergedChildContext=e,wo(ko),wo(Eo),Co(Eo,e)):wo(ko),Co(ko,n)}var Po=null,Io=!1,Wo=!1;function Fo(e){null===Po?Po=[e]:Po.push(e)}function Uo(){if(!Wo&&null!==Po){Wo=!0;var e=0,t=vt;try{var n=Po;for(vt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Po=null,Io=!1}catch(o){throw null!==Po&&(Po=Po.slice(e+1)),Ve(Je,Uo),o}finally{vt=t,Wo=!1}}return null}var Zo=[],Ho=0,$o=null,Vo=0,Xo=[],Qo=0,Yo=null,Go=1,Ko="";function Jo(e,t){Zo[Ho++]=Vo,Zo[Ho++]=$o,$o=e,Vo=t}function ei(e,t,n){Xo[Qo++]=Go,Xo[Qo++]=Ko,Xo[Qo++]=Yo,Yo=e;var r=Go;e=Ko;var o=32-at(r)-1;r&=~(1<<o),n+=1;var i=32-at(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Go=1<<32-at(t)+o|n<<o|r,Ko=i+e}else Go=1<<i|n<<o|r,Ko=e}function ti(e){null!==e.return&&(Jo(e,1),ei(e,1,0))}function ni(e){for(;e===$o;)$o=Zo[--Ho],Zo[Ho]=null,Vo=Zo[--Ho],Zo[Ho]=null;for(;e===Yo;)Yo=Xo[--Qo],Xo[Qo]=null,Ko=Xo[--Qo],Xo[Qo]=null,Go=Xo[--Qo],Xo[Qo]=null}var ri=null,oi=null,ii=!1,ai=null;function si(e,t){var n=Nc(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function li(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ri=e,oi=co(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ri=e,oi=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Yo?{id:Go,overflow:Ko}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Nc(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ri=e,oi=null,!0);default:return!1}}function ci(e){return 0!==(1&e.mode)&&0===(128&e.flags)}function ui(e){if(ii){var t=oi;if(t){var n=t;if(!li(e,t)){if(ci(e))throw Error(i(418));t=co(n.nextSibling);var r=ri;t&&li(e,t)?si(r,n):(e.flags=-4097&e.flags|2,ii=!1,ri=e)}}else{if(ci(e))throw Error(i(418));e.flags=-4097&e.flags|2,ii=!1,ri=e}}}function di(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ri=e}function pi(e){if(e!==ri)return!1;if(!ii)return di(e),ii=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!no(e.type,e.memoizedProps)),t&&(t=oi)){if(ci(e))throw fi(),Error(i(418));for(;t;)si(e,t),t=co(t.nextSibling)}if(di(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){oi=co(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}oi=null}}else oi=ri?co(e.stateNode.nextSibling):null;return!0}function fi(){for(var e=oi;e;)e=co(e.nextSibling)}function hi(){oi=ri=null,ii=!1}function bi(e){null===ai?ai=[e]:ai.push(e)}var Ai=y.ReactCurrentBatchConfig;function mi(e,t){if(e&&e.defaultProps){for(var n in t=R({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var gi=xo(null),vi=null,yi=null,Mi=null;function Oi(){Mi=yi=vi=null}function _i(e){var t=gi.current;wo(gi),e._currentValue=t}function zi(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function xi(e,t){vi=e,Mi=yi=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(ys=!0),e.firstContext=null)}function wi(e){var t=e._currentValue;if(Mi!==e)if(e={context:e,memoizedValue:t,next:null},null===yi){if(null===vi)throw Error(i(308));yi=e,vi.dependencies={lanes:0,firstContext:e}}else yi=yi.next=e;return t}var Ci=null;function Si(e){null===Ci?Ci=[e]:Ci.push(e)}function Ei(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Si(t)):(n.next=o.next,o.next=n),t.interleaved=n,ki(e,r)}function ki(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Di=!1;function Ni(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ti(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function ji(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Bi(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!==(2&El)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,ki(e,n)}return null===(o=r.interleaved)?(t.next=t,Si(r)):(t.next=o.next,o.next=t),r.interleaved=t,ki(e,n)}function Li(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!==(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,gt(e,n)}}function Ri(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function qi(e,t,n,r){var o=e.updateQueue;Di=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var l=s,c=l.next;l.next=null,null===a?i=c:a.next=c,a=l;var u=e.alternate;null!==u&&((s=(u=u.updateQueue).lastBaseUpdate)!==a&&(null===s?u.firstBaseUpdate=c:s.next=c,u.lastBaseUpdate=l))}if(null!==i){var d=o.baseState;for(a=0,u=c=l=null,s=i;;){var p=s.lane,f=s.eventTime;if((r&p)===p){null!==u&&(u=u.next={eventTime:f,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var h=e,b=s;switch(p=t,f=n,b.tag){case 1:if("function"===typeof(h=b.payload)){d=h.call(f,d,p);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null===(p="function"===typeof(h=b.payload)?h.call(f,d,p):h)||void 0===p)break e;d=R({},d,p);break e;case 2:Di=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(p=o.effects)?o.effects=[s]:p.push(s))}else f={eventTime:f,lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===u?(c=u=f,l=d):u=u.next=f,a|=p;if(null===(s=s.next)){if(null===(s=o.shared.pending))break;s=(p=s).next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}if(null===u&&(l=d),o.baseState=l,o.firstBaseUpdate=c,o.lastBaseUpdate=u,null!==(t=o.shared.interleaved)){o=t;do{a|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);Rl|=a,e.lanes=a,e.memoizedState=d}}function Pi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!==typeof o)throw Error(i(191,o));o.call(r)}}}var Ii=(new r.Component).refs;function Wi(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:R({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Fi={isMounted:function(e){return!!(e=e._reactInternals)&&Fe(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=tc(),o=nc(e),i=ji(r,o);i.payload=t,void 0!==n&&null!==n&&(i.callback=n),null!==(t=Bi(e,i,o))&&(rc(t,e,o,r),Li(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=tc(),o=nc(e),i=ji(r,o);i.tag=1,i.payload=t,void 0!==n&&null!==n&&(i.callback=n),null!==(t=Bi(e,i,o))&&(rc(t,e,o,r),Li(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tc(),r=nc(e),o=ji(n,r);o.tag=2,void 0!==t&&null!==t&&(o.callback=t),null!==(t=Bi(e,o,r))&&(rc(t,e,r,n),Li(t,e,r))}};function Ui(e,t,n,r,o,i,a){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!lr(n,r)||!lr(o,i))}function Zi(e,t,n){var r=!1,o=So,i=t.contextType;return"object"===typeof i&&null!==i?i=wi(i):(o=To(t)?Do:Eo.current,i=(r=null!==(r=t.contextTypes)&&void 0!==r)?No(e,o):So),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Fi,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Hi(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Fi.enqueueReplaceState(t,t.state,null)}function $i(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Ii,Ni(e);var i=t.contextType;"object"===typeof i&&null!==i?o.context=wi(i):(i=To(t)?Do:Eo.current,o.context=No(e,i)),o.state=e.memoizedState,"function"===typeof(i=t.getDerivedStateFromProps)&&(Wi(e,t,i,n),o.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof o.getSnapshotBeforeUpdate||"function"!==typeof o.UNSAFE_componentWillMount&&"function"!==typeof o.componentWillMount||(t=o.state,"function"===typeof o.componentWillMount&&o.componentWillMount(),"function"===typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&Fi.enqueueReplaceState(o,o.state,null),qi(e,n,o,r),o.state=e.memoizedState),"function"===typeof o.componentDidMount&&(e.flags|=4194308)}function Vi(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var o=r,a=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=o.refs;t===Ii&&(t=o.refs={}),null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!==typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function Xi(e,t){throw e=Object.prototype.toString.call(t),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Qi(e){return(0,e._init)(e._payload)}function Yi(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=jc(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=qc(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function c(e,t,n,r){var i=n.type;return i===_?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"===typeof i&&null!==i&&i.$$typeof===N&&Qi(i)===t.type)?((r=o(t,n.props)).ref=Vi(e,t,n),r.return=e,r):((r=Bc(n.type,n.key,n.props,null,e.mode,r)).ref=Vi(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Pc(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,i){return null===t||7!==t.tag?((t=Lc(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function p(e,t,n){if("string"===typeof t&&""!==t||"number"===typeof t)return(t=qc(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case M:return(n=Bc(t.type,t.key,t.props,null,e.mode,n)).ref=Vi(e,null,t),n.return=e,n;case O:return(t=Pc(t,e.mode,n)).return=e,t;case N:return p(e,(0,t._init)(t._payload),n)}if(te(t)||B(t))return(t=Lc(t,e.mode,n,null)).return=e,t;Xi(e,t)}return null}function f(e,t,n,r){var o=null!==t?t.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==o?null:l(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case M:return n.key===o?c(e,t,n,r):null;case O:return n.key===o?u(e,t,n,r):null;case N:return f(e,t,(o=n._init)(n._payload),r)}if(te(n)||B(n))return null!==o?null:d(e,t,n,r,null);Xi(e,n)}return null}function h(e,t,n,r,o){if("string"===typeof r&&""!==r||"number"===typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"===typeof r&&null!==r){switch(r.$$typeof){case M:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case O:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case N:return h(e,t,n,(0,r._init)(r._payload),o)}if(te(r)||B(r))return d(t,e=e.get(n)||null,r,o,null);Xi(t,r)}return null}function b(o,i,s,l){for(var c=null,u=null,d=i,b=i=0,A=null;null!==d&&b<s.length;b++){d.index>b?(A=d,d=null):A=d.sibling;var m=f(o,d,s[b],l);if(null===m){null===d&&(d=A);break}e&&d&&null===m.alternate&&t(o,d),i=a(m,i,b),null===u?c=m:u.sibling=m,u=m,d=A}if(b===s.length)return n(o,d),ii&&Jo(o,b),c;if(null===d){for(;b<s.length;b++)null!==(d=p(o,s[b],l))&&(i=a(d,i,b),null===u?c=d:u.sibling=d,u=d);return ii&&Jo(o,b),c}for(d=r(o,d);b<s.length;b++)null!==(A=h(d,o,b,s[b],l))&&(e&&null!==A.alternate&&d.delete(null===A.key?b:A.key),i=a(A,i,b),null===u?c=A:u.sibling=A,u=A);return e&&d.forEach((function(e){return t(o,e)})),ii&&Jo(o,b),c}function A(o,s,l,c){var u=B(l);if("function"!==typeof u)throw Error(i(150));if(null==(l=u.call(l)))throw Error(i(151));for(var d=u=null,b=s,A=s=0,m=null,g=l.next();null!==b&&!g.done;A++,g=l.next()){b.index>A?(m=b,b=null):m=b.sibling;var v=f(o,b,g.value,c);if(null===v){null===b&&(b=m);break}e&&b&&null===v.alternate&&t(o,b),s=a(v,s,A),null===d?u=v:d.sibling=v,d=v,b=m}if(g.done)return n(o,b),ii&&Jo(o,A),u;if(null===b){for(;!g.done;A++,g=l.next())null!==(g=p(o,g.value,c))&&(s=a(g,s,A),null===d?u=g:d.sibling=g,d=g);return ii&&Jo(o,A),u}for(b=r(o,b);!g.done;A++,g=l.next())null!==(g=h(b,o,A,g.value,c))&&(e&&null!==g.alternate&&b.delete(null===g.key?A:g.key),s=a(g,s,A),null===d?u=g:d.sibling=g,d=g);return e&&b.forEach((function(e){return t(o,e)})),ii&&Jo(o,A),u}return function e(r,i,a,l){if("object"===typeof a&&null!==a&&a.type===_&&null===a.key&&(a=a.props.children),"object"===typeof a&&null!==a){switch(a.$$typeof){case M:e:{for(var c=a.key,u=i;null!==u;){if(u.key===c){if((c=a.type)===_){if(7===u.tag){n(r,u.sibling),(i=o(u,a.props.children)).return=r,r=i;break e}}else if(u.elementType===c||"object"===typeof c&&null!==c&&c.$$typeof===N&&Qi(c)===u.type){n(r,u.sibling),(i=o(u,a.props)).ref=Vi(r,u,a),i.return=r,r=i;break e}n(r,u);break}t(r,u),u=u.sibling}a.type===_?((i=Lc(a.props.children,r.mode,l,a.key)).return=r,r=i):((l=Bc(a.type,a.key,a.props,null,r.mode,l)).ref=Vi(r,i,a),l.return=r,r=l)}return s(r);case O:e:{for(u=a.key;null!==i;){if(i.key===u){if(4===i.tag&&i.stateNode.containerInfo===a.containerInfo&&i.stateNode.implementation===a.implementation){n(r,i.sibling),(i=o(i,a.children||[])).return=r,r=i;break e}n(r,i);break}t(r,i),i=i.sibling}(i=Pc(a,r.mode,l)).return=r,r=i}return s(r);case N:return e(r,i,(u=a._init)(a._payload),l)}if(te(a))return b(r,i,a,l);if(B(a))return A(r,i,a,l);Xi(r,a)}return"string"===typeof a&&""!==a||"number"===typeof a?(a=""+a,null!==i&&6===i.tag?(n(r,i.sibling),(i=o(i,a)).return=r,r=i):(n(r,i),(i=qc(a,r.mode,l)).return=r,r=i),s(r)):n(r,i)}}var Gi=Yi(!0),Ki=Yi(!1),Ji={},ea=xo(Ji),ta=xo(Ji),na=xo(Ji);function ra(e){if(e===Ji)throw Error(i(174));return e}function oa(e,t){switch(Co(na,t),Co(ta,e),Co(ea,Ji),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}wo(ea),Co(ea,t)}function ia(){wo(ea),wo(ta),wo(na)}function aa(e){ra(na.current);var t=ra(ea.current),n=le(t,e.type);t!==n&&(Co(ta,e),Co(ea,n))}function sa(e){ta.current===e&&(wo(ea),wo(ta))}var la=xo(0);function ca(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ua=[];function da(){for(var e=0;e<ua.length;e++)ua[e]._workInProgressVersionPrimary=null;ua.length=0}var pa=y.ReactCurrentDispatcher,fa=y.ReactCurrentBatchConfig,ha=0,ba=null,Aa=null,ma=null,ga=!1,va=!1,ya=0,Ma=0;function Oa(){throw Error(i(321))}function _a(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function za(e,t,n,r,o,a){if(ha=a,ba=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,pa.current=null===e||null===e.memoizedState?ss:ls,e=n(r,o),va){a=0;do{if(va=!1,ya=0,25<=a)throw Error(i(301));a+=1,ma=Aa=null,t.updateQueue=null,pa.current=cs,e=n(r,o)}while(va)}if(pa.current=as,t=null!==Aa&&null!==Aa.next,ha=0,ma=Aa=ba=null,ga=!1,t)throw Error(i(300));return e}function xa(){var e=0!==ya;return ya=0,e}function wa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ma?ba.memoizedState=ma=e:ma=ma.next=e,ma}function Ca(){if(null===Aa){var e=ba.alternate;e=null!==e?e.memoizedState:null}else e=Aa.next;var t=null===ma?ba.memoizedState:ma.next;if(null!==t)ma=t,Aa=e;else{if(null===e)throw Error(i(310));e={memoizedState:(Aa=e).memoizedState,baseState:Aa.baseState,baseQueue:Aa.baseQueue,queue:Aa.queue,next:null},null===ma?ba.memoizedState=ma=e:ma=ma.next=e}return ma}function Sa(e,t){return"function"===typeof t?t(e):t}function Ea(e){var t=Ca(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=Aa,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var s=o.next;o.next=a.next,a.next=s}r.baseQueue=o=a,n.pending=null}if(null!==o){a=o.next,r=r.baseState;var l=s=null,c=null,u=a;do{var d=u.lane;if((ha&d)===d)null!==c&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var p={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===c?(l=c=p,s=r):c=c.next=p,ba.lanes|=d,Rl|=d}u=u.next}while(null!==u&&u!==a);null===c?s=r:c.next=l,sr(r,t.memoizedState)||(ys=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=c,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{a=o.lane,ba.lanes|=a,Rl|=a,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function ka(e){var t=Ca(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var s=o=o.next;do{a=e(a,s.action),s=s.next}while(s!==o);sr(a,t.memoizedState)||(ys=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function Da(){}function Na(e,t){var n=ba,r=Ca(),o=t(),a=!sr(r.memoizedState,o);if(a&&(r.memoizedState=o,ys=!0),r=r.queue,Za(Ba.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==ma&&1&ma.memoizedState.tag){if(n.flags|=2048,Pa(9,ja.bind(null,n,r,o,t),void 0,null),null===kl)throw Error(i(349));0!==(30&ha)||Ta(n,t,o)}return o}function Ta(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=ba.updateQueue)?(t={lastEffect:null,stores:null},ba.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function ja(e,t,n,r){t.value=n,t.getSnapshot=r,La(t)&&Ra(e)}function Ba(e,t,n){return n((function(){La(t)&&Ra(e)}))}function La(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch(r){return!0}}function Ra(e){var t=ki(e,1);null!==t&&rc(t,e,1,-1)}function qa(e){var t=wa();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Sa,lastRenderedState:e},t.queue=e,e=e.dispatch=ns.bind(null,ba,e),[t.memoizedState,e]}function Pa(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=ba.updateQueue)?(t={lastEffect:null,stores:null},ba.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Ia(){return Ca().memoizedState}function Wa(e,t,n,r){var o=wa();ba.flags|=e,o.memoizedState=Pa(1|t,n,void 0,void 0===r?null:r)}function Fa(e,t,n,r){var o=Ca();r=void 0===r?null:r;var i=void 0;if(null!==Aa){var a=Aa.memoizedState;if(i=a.destroy,null!==r&&_a(r,a.deps))return void(o.memoizedState=Pa(t,n,i,r))}ba.flags|=e,o.memoizedState=Pa(1|t,n,i,r)}function Ua(e,t){return Wa(8390656,8,e,t)}function Za(e,t){return Fa(2048,8,e,t)}function Ha(e,t){return Fa(4,2,e,t)}function $a(e,t){return Fa(4,4,e,t)}function Va(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Xa(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Fa(4,4,Va.bind(null,t,e),n)}function Qa(){}function Ya(e,t){var n=Ca();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&_a(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ga(e,t){var n=Ca();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&_a(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ka(e,t,n){return 0===(21&ha)?(e.baseState&&(e.baseState=!1,ys=!0),e.memoizedState=n):(sr(n,t)||(n=bt(),ba.lanes|=n,Rl|=n,e.baseState=!0),t)}function Ja(e,t){var n=vt;vt=0!==n&&4>n?n:4,e(!0);var r=fa.transition;fa.transition={};try{e(!1),t()}finally{vt=n,fa.transition=r}}function es(){return Ca().memoizedState}function ts(e,t,n){var r=nc(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rs(e))os(t,n);else if(null!==(n=Ei(e,t,n,r))){rc(n,e,r,tc()),is(n,t,r)}}function ns(e,t,n){var r=nc(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rs(e))os(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=i(a,n);if(o.hasEagerState=!0,o.eagerState=s,sr(s,a)){var l=t.interleaved;return null===l?(o.next=o,Si(t)):(o.next=l.next,l.next=o),void(t.interleaved=o)}}catch(c){}null!==(n=Ei(e,t,o,r))&&(rc(n,e,r,o=tc()),is(n,t,r))}}function rs(e){var t=e.alternate;return e===ba||null!==t&&t===ba}function os(e,t){va=ga=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function is(e,t,n){if(0!==(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,gt(e,n)}}var as={readContext:wi,useCallback:Oa,useContext:Oa,useEffect:Oa,useImperativeHandle:Oa,useInsertionEffect:Oa,useLayoutEffect:Oa,useMemo:Oa,useReducer:Oa,useRef:Oa,useState:Oa,useDebugValue:Oa,useDeferredValue:Oa,useTransition:Oa,useMutableSource:Oa,useSyncExternalStore:Oa,useId:Oa,unstable_isNewReconciler:!1},ss={readContext:wi,useCallback:function(e,t){return wa().memoizedState=[e,void 0===t?null:t],e},useContext:wi,useEffect:Ua,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Wa(4194308,4,Va.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Wa(4194308,4,e,t)},useInsertionEffect:function(e,t){return Wa(4,2,e,t)},useMemo:function(e,t){var n=wa();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=wa();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ts.bind(null,ba,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},wa().memoizedState=e},useState:qa,useDebugValue:Qa,useDeferredValue:function(e){return wa().memoizedState=e},useTransition:function(){var e=qa(!1),t=e[0];return e=Ja.bind(null,e[1]),wa().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ba,o=wa();if(ii){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===kl)throw Error(i(349));0!==(30&ha)||Ta(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,Ua(Ba.bind(null,r,a,e),[e]),r.flags|=2048,Pa(9,ja.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=wa(),t=kl.identifierPrefix;if(ii){var n=Ko;t=":"+t+"R"+(n=(Go&~(1<<32-at(Go)-1)).toString(32)+n),0<(n=ya++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=Ma++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ls={readContext:wi,useCallback:Ya,useContext:wi,useEffect:Za,useImperativeHandle:Xa,useInsertionEffect:Ha,useLayoutEffect:$a,useMemo:Ga,useReducer:Ea,useRef:Ia,useState:function(){return Ea(Sa)},useDebugValue:Qa,useDeferredValue:function(e){return Ka(Ca(),Aa.memoizedState,e)},useTransition:function(){return[Ea(Sa)[0],Ca().memoizedState]},useMutableSource:Da,useSyncExternalStore:Na,useId:es,unstable_isNewReconciler:!1},cs={readContext:wi,useCallback:Ya,useContext:wi,useEffect:Za,useImperativeHandle:Xa,useInsertionEffect:Ha,useLayoutEffect:$a,useMemo:Ga,useReducer:ka,useRef:Ia,useState:function(){return ka(Sa)},useDebugValue:Qa,useDeferredValue:function(e){var t=Ca();return null===Aa?t.memoizedState=e:Ka(t,Aa.memoizedState,e)},useTransition:function(){return[ka(Sa)[0],Ca().memoizedState]},useMutableSource:Da,useSyncExternalStore:Na,useId:es,unstable_isNewReconciler:!1};function us(e,t){try{var n="",r=t;do{n+=W(r),r=r.return}while(r);var o=n}catch(i){o="\nError generating stack: "+i.message+"\n"+i.stack}return{value:e,source:t,stack:o,digest:null}}function ds(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function ps(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var fs="function"===typeof WeakMap?WeakMap:Map;function hs(e,t,n){(n=ji(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Hl||(Hl=!0,$l=r),ps(0,t)},n}function bs(e,t,n){(n=ji(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){ps(0,t)}}var i=e.stateNode;return null!==i&&"function"===typeof i.componentDidCatch&&(n.callback=function(){ps(0,t),"function"!==typeof r&&(null===Vl?Vl=new Set([this]):Vl.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function As(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new fs;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=wc.bind(null,e,t,n),t.then(e,e))}function ms(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function gs(e,t,n,r,o){return 0===(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=ji(-1,1)).tag=2,Bi(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var vs=y.ReactCurrentOwner,ys=!1;function Ms(e,t,n,r){t.child=null===e?Ki(t,null,n,r):Gi(t,e.child,n,r)}function Os(e,t,n,r,o){n=n.render;var i=t.ref;return xi(t,o),r=za(e,t,n,r,i,o),n=xa(),null===e||ys?(ii&&n&&ti(t),t.flags|=1,Ms(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Hs(e,t,o))}function _s(e,t,n,r,o){if(null===e){var i=n.type;return"function"!==typeof i||Tc(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Bc(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,zs(e,t,i,r,o))}if(i=e.child,0===(e.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:lr)(a,r)&&e.ref===t.ref)return Hs(e,t,o)}return t.flags|=1,(e=jc(i,r)).ref=t.ref,e.return=t,t.child=e}function zs(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(lr(i,r)&&e.ref===t.ref){if(ys=!1,t.pendingProps=r=i,0===(e.lanes&o))return t.lanes=e.lanes,Hs(e,t,o);0!==(131072&e.flags)&&(ys=!0)}}return Cs(e,t,n,r,o)}function xs(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0===(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Co(jl,Tl),Tl|=n;else{if(0===(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Co(jl,Tl),Tl|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,Co(jl,Tl),Tl|=r}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,Co(jl,Tl),Tl|=r;return Ms(e,t,o,n),t.child}function ws(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Cs(e,t,n,r,o){var i=To(n)?Do:Eo.current;return i=No(t,i),xi(t,o),n=za(e,t,n,r,i,o),r=xa(),null===e||ys?(ii&&r&&ti(t),t.flags|=1,Ms(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Hs(e,t,o))}function Ss(e,t,n,r,o){if(To(n)){var i=!0;Ro(t)}else i=!1;if(xi(t,o),null===t.stateNode)Zs(e,t),Zi(t,n,r),$i(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=n.contextType;"object"===typeof c&&null!==c?c=wi(c):c=No(t,c=To(n)?Do:Eo.current);var u=n.getDerivedStateFromProps,d="function"===typeof u||"function"===typeof a.getSnapshotBeforeUpdate;d||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==r||l!==c)&&Hi(t,a,r,c),Di=!1;var p=t.memoizedState;a.state=p,qi(t,r,a,o),l=t.memoizedState,s!==r||p!==l||ko.current||Di?("function"===typeof u&&(Wi(t,n,u,r),l=t.memoizedState),(s=Di||Ui(t,n,s,r,p,l,c))?(d||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(t.flags|=4194308)):("function"===typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=c,r=s):("function"===typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Ti(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:mi(t.type,s),a.props=c,d=t.pendingProps,p=a.context,"object"===typeof(l=n.contextType)&&null!==l?l=wi(l):l=No(t,l=To(n)?Do:Eo.current);var f=n.getDerivedStateFromProps;(u="function"===typeof f||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==d||p!==l)&&Hi(t,a,r,l),Di=!1,p=t.memoizedState,a.state=p,qi(t,r,a,o);var h=t.memoizedState;s!==d||p!==h||ko.current||Di?("function"===typeof f&&(Wi(t,n,f,r),h=t.memoizedState),(c=Di||Ui(t,n,c,r,p,h,l)||!1)?(u||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,l),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,l)),"function"===typeof a.componentDidUpdate&&(t.flags|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=l,r=c):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return Es(e,t,n,r,i,o)}function Es(e,t,n,r,o,i){ws(e,t);var a=0!==(128&t.flags);if(!r&&!a)return o&&qo(t,n,!1),Hs(e,t,i);r=t.stateNode,vs.current=t;var s=a&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Gi(t,e.child,null,i),t.child=Gi(t,null,s,i)):Ms(e,t,s,i),t.memoizedState=r.state,o&&qo(t,n,!0),t.child}function ks(e){var t=e.stateNode;t.pendingContext?Bo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Bo(0,t.context,!1),oa(e,t.containerInfo)}function Ds(e,t,n,r,o){return hi(),bi(o),t.flags|=256,Ms(e,t,n,r),t.child}var Ns,Ts,js,Bs,Ls={dehydrated:null,treeContext:null,retryLane:0};function Rs(e){return{baseLanes:e,cachePool:null,transitions:null}}function qs(e,t,n){var r,o=t.pendingProps,a=la.current,s=!1,l=0!==(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&0!==(2&a)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Co(la,1&a),null===e)return ui(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0===(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(l=o.children,e=o.fallback,s?(o=t.mode,s=t.child,l={mode:"hidden",children:l},0===(1&o)&&null!==s?(s.childLanes=0,s.pendingProps=l):s=Rc(l,o,0,null),e=Lc(e,o,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Rs(n),t.memoizedState=Ls,e):Ps(t,l));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,o,a,s){if(n)return 256&t.flags?(t.flags&=-257,Is(e,t,s,r=ds(Error(i(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,o=t.mode,r=Rc({mode:"visible",children:r.children},o,0,null),(a=Lc(a,o,s,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,0!==(1&t.mode)&&Gi(t,e.child,null,s),t.child.memoizedState=Rs(s),t.memoizedState=Ls,a);if(0===(1&t.mode))return Is(e,t,s,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var l=r.dgst;return r=l,Is(e,t,s,r=ds(a=Error(i(419)),r,void 0))}if(l=0!==(s&e.childLanes),ys||l){if(null!==(r=kl)){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!==(o&(r.suspendedLanes|s))?0:o)&&o!==a.retryLane&&(a.retryLane=o,ki(e,o),rc(r,e,o,-1))}return Ac(),Is(e,t,s,r=ds(Error(i(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Sc.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,oi=co(o.nextSibling),ri=t,ii=!0,ai=null,null!==e&&(Xo[Qo++]=Go,Xo[Qo++]=Ko,Xo[Qo++]=Yo,Go=e.id,Ko=e.overflow,Yo=t),t=Ps(t,r.children),t.flags|=4096,t)}(e,t,l,o,r,a,n);if(s){s=o.fallback,l=t.mode,r=(a=e.child).sibling;var c={mode:"hidden",children:o.children};return 0===(1&l)&&t.child!==a?((o=t.child).childLanes=0,o.pendingProps=c,t.deletions=null):(o=jc(a,c)).subtreeFlags=14680064&a.subtreeFlags,null!==r?s=jc(r,s):(s=Lc(s,l,n,null)).flags|=2,s.return=t,o.return=t,o.sibling=s,t.child=o,o=s,s=t.child,l=null===(l=e.child.memoizedState)?Rs(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~n,t.memoizedState=Ls,o}return e=(s=e.child).sibling,o=jc(s,{mode:"visible",children:o.children}),0===(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function Ps(e,t){return(t=Rc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Is(e,t,n,r){return null!==r&&bi(r),Gi(t,e.child,null,n),(e=Ps(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Ws(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),zi(e.return,t,n)}function Fs(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Us(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Ms(e,t,r.children,n),0!==(2&(r=la.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ws(e,n,t);else if(19===e.tag)Ws(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Co(la,r),0===(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ca(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Fs(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ca(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Fs(t,!0,n,null,i);break;case"together":Fs(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Zs(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Hs(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Rl|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=jc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=jc(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function $s(e,t){if(!ii)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Vs(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Xs(e,t,n){var r=t.pendingProps;switch(ni(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Vs(t),null;case 1:case 17:return To(t.type)&&jo(),Vs(t),null;case 3:return r=t.stateNode,ia(),wo(ko),wo(Eo),da(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(pi(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==ai&&(sc(ai),ai=null))),Ts(e,t),Vs(t),null;case 5:sa(t);var o=ra(na.current);if(n=t.type,null!==e&&null!=t.stateNode)js(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(i(166));return Vs(t),null}if(e=ra(ea.current),pi(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[fo]=t,r[ho]=a,e=0!==(1&t.mode),n){case"dialog":Pr("cancel",r),Pr("close",r);break;case"iframe":case"object":case"embed":Pr("load",r);break;case"video":case"audio":for(o=0;o<Br.length;o++)Pr(Br[o],r);break;case"source":Pr("error",r);break;case"img":case"image":case"link":Pr("error",r),Pr("load",r);break;case"details":Pr("toggle",r);break;case"input":Y(r,a),Pr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Pr("invalid",r);break;case"textarea":oe(r,a),Pr("invalid",r)}for(var l in ge(n,a),o=null,a)if(a.hasOwnProperty(l)){var c=a[l];"children"===l?"string"===typeof c?r.textContent!==c&&(!0!==a.suppressHydrationWarning&&Kr(r.textContent,c,e),o=["children",c]):"number"===typeof c&&r.textContent!==""+c&&(!0!==a.suppressHydrationWarning&&Kr(r.textContent,c,e),o=["children",""+c]):s.hasOwnProperty(l)&&null!=c&&"onScroll"===l&&Pr("scroll",r)}switch(n){case"input":$(r),J(r,a,!0);break;case"textarea":$(r),ae(r);break;case"select":case"option":break;default:"function"===typeof a.onClick&&(r.onclick=Jr)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{l=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),"select"===n&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[fo]=t,e[ho]=r,Ns(e,t,!1,!1),t.stateNode=e;e:{switch(l=ve(n,r),n){case"dialog":Pr("cancel",e),Pr("close",e),o=r;break;case"iframe":case"object":case"embed":Pr("load",e),o=r;break;case"video":case"audio":for(o=0;o<Br.length;o++)Pr(Br[o],e);o=r;break;case"source":Pr("error",e),o=r;break;case"img":case"image":case"link":Pr("error",e),Pr("load",e),o=r;break;case"details":Pr("toggle",e),o=r;break;case"input":Y(e,r),o=Q(e,r),Pr("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=R({},r,{value:void 0}),Pr("invalid",e);break;case"textarea":oe(e,r),o=re(e,r),Pr("invalid",e)}for(a in ge(n,o),c=o)if(c.hasOwnProperty(a)){var u=c[a];"style"===a?Ae(e,u):"dangerouslySetInnerHTML"===a?null!=(u=u?u.__html:void 0)&&de(e,u):"children"===a?"string"===typeof u?("textarea"!==n||""!==u)&&pe(e,u):"number"===typeof u&&pe(e,""+u):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(s.hasOwnProperty(a)?null!=u&&"onScroll"===a&&Pr("scroll",e):null!=u&&v(e,a,u,l))}switch(n){case"input":$(e),J(e,r,!1);break;case"textarea":$(e),ae(e);break;case"option":null!=r.value&&e.setAttribute("value",""+Z(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?ne(e,!!r.multiple,a,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof o.onClick&&(e.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Vs(t),null;case 6:if(e&&null!=t.stateNode)Bs(e,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(i(166));if(n=ra(na.current),ra(ea.current),pi(t)){if(r=t.stateNode,n=t.memoizedProps,r[fo]=t,(a=r.nodeValue!==n)&&null!==(e=ri))switch(e.tag){case 3:Kr(r.nodeValue,n,0!==(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Kr(r.nodeValue,n,0!==(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[fo]=t,t.stateNode=r}return Vs(t),null;case 13:if(wo(la),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ii&&null!==oi&&0!==(1&t.mode)&&0===(128&t.flags))fi(),hi(),t.flags|=98560,a=!1;else if(a=pi(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(i(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(i(317));a[fo]=t}else hi(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Vs(t),a=!1}else null!==ai&&(sc(ai),ai=null),a=!0;if(!a)return 65536&t.flags?t:null}return 0!==(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!==(1&t.mode)&&(null===e||0!==(1&la.current)?0===Bl&&(Bl=3):Ac())),null!==t.updateQueue&&(t.flags|=4),Vs(t),null);case 4:return ia(),Ts(e,t),null===e&&Fr(t.stateNode.containerInfo),Vs(t),null;case 10:return _i(t.type._context),Vs(t),null;case 19:if(wo(la),null===(a=t.memoizedState))return Vs(t),null;if(r=0!==(128&t.flags),null===(l=a.rendering))if(r)$s(a,!1);else{if(0!==Bl||null!==e&&0!==(128&e.flags))for(e=t.child;null!==e;){if(null!==(l=ca(e))){for(t.flags|=128,$s(a,!1),null!==(r=l.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(l=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=l.childLanes,a.lanes=l.lanes,a.child=l.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=l.memoizedProps,a.memoizedState=l.memoizedState,a.updateQueue=l.updateQueue,a.type=l.type,e=l.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Co(la,1&la.current|2),t.child}e=e.sibling}null!==a.tail&&Ge()>Ul&&(t.flags|=128,r=!0,$s(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ca(l))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),$s(a,!0),null===a.tail&&"hidden"===a.tailMode&&!l.alternate&&!ii)return Vs(t),null}else 2*Ge()-a.renderingStartTime>Ul&&1073741824!==n&&(t.flags|=128,r=!0,$s(a,!1),t.lanes=4194304);a.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=a.last)?n.sibling=l:t.child=l,a.last=l)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Ge(),t.sibling=null,n=la.current,Co(la,r?1&n|2:1&n),t):(Vs(t),null);case 22:case 23:return pc(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!==(1&t.mode)?0!==(1073741824&Tl)&&(Vs(t),6&t.subtreeFlags&&(t.flags|=8192)):Vs(t),null;case 24:case 25:return null}throw Error(i(156,t.tag))}function Qs(e,t){switch(ni(t),t.tag){case 1:return To(t.type)&&jo(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ia(),wo(ko),wo(Eo),da(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return sa(t),null;case 13:if(wo(la),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));hi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return wo(la),null;case 4:return ia(),null;case 10:return _i(t.type._context),null;case 22:case 23:return pc(),null;default:return null}}Ns=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ts=function(){},js=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,ra(ea.current);var i,a=null;switch(n){case"input":o=Q(e,o),r=Q(e,r),a=[];break;case"select":o=R({},o,{value:void 0}),r=R({},r,{value:void 0}),a=[];break;case"textarea":o=re(e,o),r=re(e,r),a=[];break;default:"function"!==typeof o.onClick&&"function"===typeof r.onClick&&(e.onclick=Jr)}for(u in ge(n,r),n=null,o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&null!=o[u])if("style"===u){var l=o[u];for(i in l)l.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(s.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in r){var c=r[u];if(l=null!=o?o[u]:void 0,r.hasOwnProperty(u)&&c!==l&&(null!=c||null!=l))if("style"===u)if(l){for(i in l)!l.hasOwnProperty(i)||c&&c.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in c)c.hasOwnProperty(i)&&l[i]!==c[i]&&(n||(n={}),n[i]=c[i])}else n||(a||(a=[]),a.push(u,n)),n=c;else"dangerouslySetInnerHTML"===u?(c=c?c.__html:void 0,l=l?l.__html:void 0,null!=c&&l!==c&&(a=a||[]).push(u,c)):"children"===u?"string"!==typeof c&&"number"!==typeof c||(a=a||[]).push(u,""+c):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(s.hasOwnProperty(u)?(null!=c&&"onScroll"===u&&Pr("scroll",e),a||l===c||(a=[])):(a=a||[]).push(u,c))}n&&(a=a||[]).push("style",n);var u=a;(t.updateQueue=u)&&(t.flags|=4)}},Bs=function(e,t,n,r){n!==r&&(t.flags|=4)};var Ys=!1,Gs=!1,Ks="function"===typeof WeakSet?WeakSet:Set,Js=null;function el(e,t){var n=e.ref;if(null!==n)if("function"===typeof n)try{n(null)}catch(r){xc(e,t,r)}else n.current=null}function tl(e,t,n){try{n()}catch(r){xc(e,t,r)}}var nl=!1;function rl(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&tl(t,n,i)}o=o.next}while(o!==r)}}function ol(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function il(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"===typeof t?t(e):t.current=e}}function al(e){var t=e.alternate;null!==t&&(e.alternate=null,al(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[fo],delete t[ho],delete t[Ao],delete t[mo],delete t[go])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function sl(e){return 5===e.tag||3===e.tag||4===e.tag}function ll(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||sl(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function cl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(cl(e,t,n),e=e.sibling;null!==e;)cl(e,t,n),e=e.sibling}function ul(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(ul(e,t,n),e=e.sibling;null!==e;)ul(e,t,n),e=e.sibling}var dl=null,pl=!1;function fl(e,t,n){for(n=n.child;null!==n;)hl(e,t,n),n=n.sibling}function hl(e,t,n){if(it&&"function"===typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(ot,n)}catch(s){}switch(n.tag){case 5:Gs||el(n,t);case 6:var r=dl,o=pl;dl=null,fl(e,t,n),pl=o,null!==(dl=r)&&(pl?(e=dl,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):dl.removeChild(n.stateNode));break;case 18:null!==dl&&(pl?(e=dl,n=n.stateNode,8===e.nodeType?lo(e.parentNode,n):1===e.nodeType&&lo(e,n),Ft(e)):lo(dl,n.stateNode));break;case 4:r=dl,o=pl,dl=n.stateNode.containerInfo,pl=!0,fl(e,t,n),dl=r,pl=o;break;case 0:case 11:case 14:case 15:if(!Gs&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,void 0!==a&&(0!==(2&i)||0!==(4&i))&&tl(n,t,a),o=o.next}while(o!==r)}fl(e,t,n);break;case 1:if(!Gs&&(el(n,t),"function"===typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){xc(n,t,s)}fl(e,t,n);break;case 21:fl(e,t,n);break;case 22:1&n.mode?(Gs=(r=Gs)||null!==n.memoizedState,fl(e,t,n),Gs=r):fl(e,t,n);break;default:fl(e,t,n)}}function bl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Ks),t.forEach((function(t){var r=Ec.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function Al(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var a=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 5:dl=l.stateNode,pl=!1;break e;case 3:case 4:dl=l.stateNode.containerInfo,pl=!0;break e}l=l.return}if(null===dl)throw Error(i(160));hl(a,s,o),dl=null,pl=!1;var c=o.alternate;null!==c&&(c.return=null),o.return=null}catch(u){xc(o,t,u)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)ml(t,e),t=t.sibling}function ml(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Al(t,e),gl(e),4&r){try{rl(3,e,e.return),ol(3,e)}catch(A){xc(e,e.return,A)}try{rl(5,e,e.return)}catch(A){xc(e,e.return,A)}}break;case 1:Al(t,e),gl(e),512&r&&null!==n&&el(n,n.return);break;case 5:if(Al(t,e),gl(e),512&r&&null!==n&&el(n,n.return),32&e.flags){var o=e.stateNode;try{pe(o,"")}catch(A){xc(e,e.return,A)}}if(4&r&&null!=(o=e.stateNode)){var a=e.memoizedProps,s=null!==n?n.memoizedProps:a,l=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===l&&"radio"===a.type&&null!=a.name&&G(o,a),ve(l,s);var u=ve(l,a);for(s=0;s<c.length;s+=2){var d=c[s],p=c[s+1];"style"===d?Ae(o,p):"dangerouslySetInnerHTML"===d?de(o,p):"children"===d?pe(o,p):v(o,d,p,u)}switch(l){case"input":K(o,a);break;case"textarea":ie(o,a);break;case"select":var f=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var h=a.value;null!=h?ne(o,!!a.multiple,h,!1):f!==!!a.multiple&&(null!=a.defaultValue?ne(o,!!a.multiple,a.defaultValue,!0):ne(o,!!a.multiple,a.multiple?[]:"",!1))}o[ho]=a}catch(A){xc(e,e.return,A)}}break;case 6:if(Al(t,e),gl(e),4&r){if(null===e.stateNode)throw Error(i(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(A){xc(e,e.return,A)}}break;case 3:if(Al(t,e),gl(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Ft(t.containerInfo)}catch(A){xc(e,e.return,A)}break;case 4:default:Al(t,e),gl(e);break;case 13:Al(t,e),gl(e),8192&(o=e.child).flags&&(a=null!==o.memoizedState,o.stateNode.isHidden=a,!a||null!==o.alternate&&null!==o.alternate.memoizedState||(Fl=Ge())),4&r&&bl(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Gs=(u=Gs)||d,Al(t,e),Gs=u):Al(t,e),gl(e),8192&r){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!d&&0!==(1&e.mode))for(Js=e,d=e.child;null!==d;){for(p=Js=d;null!==Js;){switch(h=(f=Js).child,f.tag){case 0:case 11:case 14:case 15:rl(4,f,f.return);break;case 1:el(f,f.return);var b=f.stateNode;if("function"===typeof b.componentWillUnmount){r=f,n=f.return;try{t=r,b.props=t.memoizedProps,b.state=t.memoizedState,b.componentWillUnmount()}catch(A){xc(r,n,A)}}break;case 5:el(f,f.return);break;case 22:if(null!==f.memoizedState){Ol(p);continue}}null!==h?(h.return=f,Js=h):Ol(p)}d=d.sibling}e:for(d=null,p=e;;){if(5===p.tag){if(null===d){d=p;try{o=p.stateNode,u?"function"===typeof(a=o.style).setProperty?a.setProperty("display","none","important"):a.display="none":(l=p.stateNode,s=void 0!==(c=p.memoizedProps.style)&&null!==c&&c.hasOwnProperty("display")?c.display:null,l.style.display=be("display",s))}catch(A){xc(e,e.return,A)}}}else if(6===p.tag){if(null===d)try{p.stateNode.nodeValue=u?"":p.memoizedProps}catch(A){xc(e,e.return,A)}}else if((22!==p.tag&&23!==p.tag||null===p.memoizedState||p===e)&&null!==p.child){p.child.return=p,p=p.child;continue}if(p===e)break e;for(;null===p.sibling;){if(null===p.return||p.return===e)break e;d===p&&(d=null),p=p.return}d===p&&(d=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:Al(t,e),gl(e),4&r&&bl(e);case 21:}}function gl(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(sl(n)){var r=n;break e}n=n.return}throw Error(i(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(pe(o,""),r.flags&=-33),ul(e,ll(e),o);break;case 3:case 4:var a=r.stateNode.containerInfo;cl(e,ll(e),a);break;default:throw Error(i(161))}}catch(s){xc(e,e.return,s)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function vl(e,t,n){Js=e,yl(e,t,n)}function yl(e,t,n){for(var r=0!==(1&e.mode);null!==Js;){var o=Js,i=o.child;if(22===o.tag&&r){var a=null!==o.memoizedState||Ys;if(!a){var s=o.alternate,l=null!==s&&null!==s.memoizedState||Gs;s=Ys;var c=Gs;if(Ys=a,(Gs=l)&&!c)for(Js=o;null!==Js;)l=(a=Js).child,22===a.tag&&null!==a.memoizedState?_l(o):null!==l?(l.return=a,Js=l):_l(o);for(;null!==i;)Js=i,yl(i,t,n),i=i.sibling;Js=o,Ys=s,Gs=c}Ml(e)}else 0!==(8772&o.subtreeFlags)&&null!==i?(i.return=o,Js=i):Ml(e)}}function Ml(e){for(;null!==Js;){var t=Js;if(0!==(8772&t.flags)){var n=t.alternate;try{if(0!==(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Gs||ol(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Gs)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:mi(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Pi(t,a,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Pi(t,s,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var d=u.memoizedState;if(null!==d){var p=d.dehydrated;null!==p&&Ft(p)}}}break;default:throw Error(i(163))}Gs||512&t.flags&&il(t)}catch(f){xc(t,t.return,f)}}if(t===e){Js=null;break}if(null!==(n=t.sibling)){n.return=t.return,Js=n;break}Js=t.return}}function Ol(e){for(;null!==Js;){var t=Js;if(t===e){Js=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Js=n;break}Js=t.return}}function _l(e){for(;null!==Js;){var t=Js;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{ol(4,t)}catch(l){xc(t,n,l)}break;case 1:var r=t.stateNode;if("function"===typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(l){xc(t,o,l)}}var i=t.return;try{il(t)}catch(l){xc(t,i,l)}break;case 5:var a=t.return;try{il(t)}catch(l){xc(t,a,l)}}}catch(l){xc(t,t.return,l)}if(t===e){Js=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Js=s;break}Js=t.return}}var zl,xl=Math.ceil,wl=y.ReactCurrentDispatcher,Cl=y.ReactCurrentOwner,Sl=y.ReactCurrentBatchConfig,El=0,kl=null,Dl=null,Nl=0,Tl=0,jl=xo(0),Bl=0,Ll=null,Rl=0,ql=0,Pl=0,Il=null,Wl=null,Fl=0,Ul=1/0,Zl=null,Hl=!1,$l=null,Vl=null,Xl=!1,Ql=null,Yl=0,Gl=0,Kl=null,Jl=-1,ec=0;function tc(){return 0!==(6&El)?Ge():-1!==Jl?Jl:Jl=Ge()}function nc(e){return 0===(1&e.mode)?1:0!==(2&El)&&0!==Nl?Nl&-Nl:null!==Ai.transition?(0===ec&&(ec=bt()),ec):0!==(e=vt)?e:e=void 0===(e=window.event)?16:Yt(e.type)}function rc(e,t,n,r){if(50<Gl)throw Gl=0,Kl=null,Error(i(185));mt(e,n,r),0!==(2&El)&&e===kl||(e===kl&&(0===(2&El)&&(ql|=n),4===Bl&&lc(e,Nl)),oc(e,r),1===n&&0===El&&0===(1&t.mode)&&(Ul=Ge()+500,Io&&Uo()))}function oc(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-at(i),s=1<<a,l=o[a];-1===l?0!==(s&n)&&0===(s&r)||(o[a]=ft(s,t)):l<=t&&(e.expiredLanes|=s),i&=~s}}(e,t);var r=pt(e,e===kl?Nl:0);if(0===r)null!==n&&Xe(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Xe(n),1===t)0===e.tag?function(e){Io=!0,Fo(e)}(cc.bind(null,e)):Fo(cc.bind(null,e)),ao((function(){0===(6&El)&&Uo()})),n=null;else{switch(yt(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=kc(n,ic.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ic(e,t){if(Jl=-1,ec=0,0!==(6&El))throw Error(i(327));var n=e.callbackNode;if(_c()&&e.callbackNode!==n)return null;var r=pt(e,e===kl?Nl:0);if(0===r)return null;if(0!==(30&r)||0!==(r&e.expiredLanes)||t)t=mc(e,r);else{t=r;var o=El;El|=2;var a=bc();for(kl===e&&Nl===t||(Zl=null,Ul=Ge()+500,fc(e,t));;)try{vc();break}catch(l){hc(e,l)}Oi(),wl.current=a,El=o,null!==Dl?t=0:(kl=null,Nl=0,t=Bl)}if(0!==t){if(2===t&&(0!==(o=ht(e))&&(r=o,t=ac(e,o))),1===t)throw n=Ll,fc(e,0),lc(e,r),oc(e,Ge()),n;if(6===t)lc(e,r);else{if(o=e.current.alternate,0===(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!sr(i(),o))return!1}catch(s){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)&&(2===(t=mc(e,r))&&(0!==(a=ht(e))&&(r=a,t=ac(e,a))),1===t))throw n=Ll,fc(e,0),lc(e,r),oc(e,Ge()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(i(345));case 2:case 5:Oc(e,Wl,Zl);break;case 3:if(lc(e,r),(130023424&r)===r&&10<(t=Fl+500-Ge())){if(0!==pt(e,0))break;if(((o=e.suspendedLanes)&r)!==r){tc(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ro(Oc.bind(null,e,Wl,Zl),t);break}Oc(e,Wl,Zl);break;case 4:if(lc(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-at(r);a=1<<s,(s=t[s])>o&&(o=s),r&=~a}if(r=o,10<(r=(120>(r=Ge()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*xl(r/1960))-r)){e.timeoutHandle=ro(Oc.bind(null,e,Wl,Zl),r);break}Oc(e,Wl,Zl);break;default:throw Error(i(329))}}}return oc(e,Ge()),e.callbackNode===n?ic.bind(null,e):null}function ac(e,t){var n=Il;return e.current.memoizedState.isDehydrated&&(fc(e,t).flags|=256),2!==(e=mc(e,t))&&(t=Wl,Wl=n,null!==t&&sc(t)),e}function sc(e){null===Wl?Wl=e:Wl.push.apply(Wl,e)}function lc(e,t){for(t&=~Pl,t&=~ql,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function cc(e){if(0!==(6&El))throw Error(i(327));_c();var t=pt(e,0);if(0===(1&t))return oc(e,Ge()),null;var n=mc(e,t);if(0!==e.tag&&2===n){var r=ht(e);0!==r&&(t=r,n=ac(e,r))}if(1===n)throw n=Ll,fc(e,0),lc(e,t),oc(e,Ge()),n;if(6===n)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Oc(e,Wl,Zl),oc(e,Ge()),null}function uc(e,t){var n=El;El|=1;try{return e(t)}finally{0===(El=n)&&(Ul=Ge()+500,Io&&Uo())}}function dc(e){null!==Ql&&0===Ql.tag&&0===(6&El)&&_c();var t=El;El|=1;var n=Sl.transition,r=vt;try{if(Sl.transition=null,vt=1,e)return e()}finally{vt=r,Sl.transition=n,0===(6&(El=t))&&Uo()}}function pc(){Tl=jl.current,wo(jl)}function fc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,oo(n)),null!==Dl)for(n=Dl.return;null!==n;){var r=n;switch(ni(r),r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&jo();break;case 3:ia(),wo(ko),wo(Eo),da();break;case 5:sa(r);break;case 4:ia();break;case 13:case 19:wo(la);break;case 10:_i(r.type._context);break;case 22:case 23:pc()}n=n.return}if(kl=e,Dl=e=jc(e.current,null),Nl=Tl=t,Bl=0,Ll=null,Pl=ql=Rl=0,Wl=Il=null,null!==Ci){for(t=0;t<Ci.length;t++)if(null!==(r=(n=Ci[t]).interleaved)){n.interleaved=null;var o=r.next,i=n.pending;if(null!==i){var a=i.next;i.next=o,r.next=a}n.pending=r}Ci=null}return e}function hc(e,t){for(;;){var n=Dl;try{if(Oi(),pa.current=as,ga){for(var r=ba.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}ga=!1}if(ha=0,ma=Aa=ba=null,va=!1,ya=0,Cl.current=null,null===n||null===n.return){Bl=1,Ll=t,Dl=null;break}e:{var a=e,s=n.return,l=n,c=t;if(t=Nl,l.flags|=32768,null!==c&&"object"===typeof c&&"function"===typeof c.then){var u=c,d=l,p=d.tag;if(0===(1&d.mode)&&(0===p||11===p||15===p)){var f=d.alternate;f?(d.updateQueue=f.updateQueue,d.memoizedState=f.memoizedState,d.lanes=f.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=ms(s);if(null!==h){h.flags&=-257,gs(h,s,l,0,t),1&h.mode&&As(a,u,t),c=u;var b=(t=h).updateQueue;if(null===b){var A=new Set;A.add(c),t.updateQueue=A}else b.add(c);break e}if(0===(1&t)){As(a,u,t),Ac();break e}c=Error(i(426))}else if(ii&&1&l.mode){var m=ms(s);if(null!==m){0===(65536&m.flags)&&(m.flags|=256),gs(m,s,l,0,t),bi(us(c,l));break e}}a=c=us(c,l),4!==Bl&&(Bl=2),null===Il?Il=[a]:Il.push(a),a=s;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Ri(a,hs(0,c,t));break e;case 1:l=c;var g=a.type,v=a.stateNode;if(0===(128&a.flags)&&("function"===typeof g.getDerivedStateFromError||null!==v&&"function"===typeof v.componentDidCatch&&(null===Vl||!Vl.has(v)))){a.flags|=65536,t&=-t,a.lanes|=t,Ri(a,bs(a,l,t));break e}}a=a.return}while(null!==a)}Mc(n)}catch(y){t=y,Dl===n&&null!==n&&(Dl=n=n.return);continue}break}}function bc(){var e=wl.current;return wl.current=as,null===e?as:e}function Ac(){0!==Bl&&3!==Bl&&2!==Bl||(Bl=4),null===kl||0===(268435455&Rl)&&0===(268435455&ql)||lc(kl,Nl)}function mc(e,t){var n=El;El|=2;var r=bc();for(kl===e&&Nl===t||(Zl=null,fc(e,t));;)try{gc();break}catch(o){hc(e,o)}if(Oi(),El=n,wl.current=r,null!==Dl)throw Error(i(261));return kl=null,Nl=0,Bl}function gc(){for(;null!==Dl;)yc(Dl)}function vc(){for(;null!==Dl&&!Qe();)yc(Dl)}function yc(e){var t=zl(e.alternate,e,Tl);e.memoizedProps=e.pendingProps,null===t?Mc(e):Dl=t,Cl.current=null}function Mc(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(32768&t.flags)){if(null!==(n=Xs(n,t,Tl)))return void(Dl=n)}else{if(null!==(n=Qs(n,t)))return n.flags&=32767,void(Dl=n);if(null===e)return Bl=6,void(Dl=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Dl=t);Dl=t=e}while(null!==t);0===Bl&&(Bl=5)}function Oc(e,t,n){var r=vt,o=Sl.transition;try{Sl.transition=null,vt=1,function(e,t,n,r){do{_c()}while(null!==Ql);if(0!==(6&El))throw Error(i(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-at(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}(e,a),e===kl&&(Dl=kl=null,Nl=0),0===(2064&n.subtreeFlags)&&0===(2064&n.flags)||Xl||(Xl=!0,kc(tt,(function(){return _c(),null}))),a=0!==(15990&n.flags),0!==(15990&n.subtreeFlags)||a){a=Sl.transition,Sl.transition=null;var s=vt;vt=1;var l=El;El|=4,Cl.current=null,function(e,t){if(eo=Zt,fr(e=pr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(M){n=null;break e}var s=0,l=-1,c=-1,u=0,d=0,p=e,f=null;t:for(;;){for(var h;p!==n||0!==o&&3!==p.nodeType||(l=s+o),p!==a||0!==r&&3!==p.nodeType||(c=s+r),3===p.nodeType&&(s+=p.nodeValue.length),null!==(h=p.firstChild);)f=p,p=h;for(;;){if(p===e)break t;if(f===n&&++u===o&&(l=s),f===a&&++d===r&&(c=s),null!==(h=p.nextSibling))break;f=(p=f).parentNode}p=h}n=-1===l||-1===c?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(to={focusedElem:e,selectionRange:n},Zt=!1,Js=t;null!==Js;)if(e=(t=Js).child,0!==(1028&t.subtreeFlags)&&null!==e)e.return=t,Js=e;else for(;null!==Js;){t=Js;try{var b=t.alternate;if(0!==(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==b){var A=b.memoizedProps,m=b.memoizedState,g=t.stateNode,v=g.getSnapshotBeforeUpdate(t.elementType===t.type?A:mi(t.type,A),m);g.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var y=t.stateNode.containerInfo;1===y.nodeType?y.textContent="":9===y.nodeType&&y.documentElement&&y.removeChild(y.documentElement);break;default:throw Error(i(163))}}catch(M){xc(t,t.return,M)}if(null!==(e=t.sibling)){e.return=t.return,Js=e;break}Js=t.return}b=nl,nl=!1}(e,n),ml(n,e),hr(to),Zt=!!eo,to=eo=null,e.current=n,vl(n,e,o),Ye(),El=l,vt=s,Sl.transition=a}else e.current=n;if(Xl&&(Xl=!1,Ql=e,Yl=o),a=e.pendingLanes,0===a&&(Vl=null),function(e){if(it&&"function"===typeof it.onCommitFiberRoot)try{it.onCommitFiberRoot(ot,e,void 0,128===(128&e.current.flags))}catch(t){}}(n.stateNode),oc(e,Ge()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(Hl)throw Hl=!1,e=$l,$l=null,e;0!==(1&Yl)&&0!==e.tag&&_c(),a=e.pendingLanes,0!==(1&a)?e===Kl?Gl++:(Gl=0,Kl=e):Gl=0,Uo()}(e,t,n,r)}finally{Sl.transition=o,vt=r}return null}function _c(){if(null!==Ql){var e=yt(Yl),t=Sl.transition,n=vt;try{if(Sl.transition=null,vt=16>e?16:e,null===Ql)var r=!1;else{if(e=Ql,Ql=null,Yl=0,0!==(6&El))throw Error(i(331));var o=El;for(El|=4,Js=e.current;null!==Js;){var a=Js,s=a.child;if(0!==(16&Js.flags)){var l=a.deletions;if(null!==l){for(var c=0;c<l.length;c++){var u=l[c];for(Js=u;null!==Js;){var d=Js;switch(d.tag){case 0:case 11:case 15:rl(8,d,a)}var p=d.child;if(null!==p)p.return=d,Js=p;else for(;null!==Js;){var f=(d=Js).sibling,h=d.return;if(al(d),d===u){Js=null;break}if(null!==f){f.return=h,Js=f;break}Js=h}}}var b=a.alternate;if(null!==b){var A=b.child;if(null!==A){b.child=null;do{var m=A.sibling;A.sibling=null,A=m}while(null!==A)}}Js=a}}if(0!==(2064&a.subtreeFlags)&&null!==s)s.return=a,Js=s;else e:for(;null!==Js;){if(0!==(2048&(a=Js).flags))switch(a.tag){case 0:case 11:case 15:rl(9,a,a.return)}var g=a.sibling;if(null!==g){g.return=a.return,Js=g;break e}Js=a.return}}var v=e.current;for(Js=v;null!==Js;){var y=(s=Js).child;if(0!==(2064&s.subtreeFlags)&&null!==y)y.return=s,Js=y;else e:for(s=v;null!==Js;){if(0!==(2048&(l=Js).flags))try{switch(l.tag){case 0:case 11:case 15:ol(9,l)}}catch(O){xc(l,l.return,O)}if(l===s){Js=null;break e}var M=l.sibling;if(null!==M){M.return=l.return,Js=M;break e}Js=l.return}}if(El=o,Uo(),it&&"function"===typeof it.onPostCommitFiberRoot)try{it.onPostCommitFiberRoot(ot,e)}catch(O){}r=!0}return r}finally{vt=n,Sl.transition=t}}return!1}function zc(e,t,n){e=Bi(e,t=hs(0,t=us(n,t),1),1),t=tc(),null!==e&&(mt(e,1,t),oc(e,t))}function xc(e,t,n){if(3===e.tag)zc(e,e,n);else for(;null!==t;){if(3===t.tag){zc(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"===typeof t.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Vl||!Vl.has(r))){t=Bi(t,e=bs(t,e=us(n,e),1),1),e=tc(),null!==t&&(mt(t,1,e),oc(t,e));break}}t=t.return}}function wc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=tc(),e.pingedLanes|=e.suspendedLanes&n,kl===e&&(Nl&n)===n&&(4===Bl||3===Bl&&(130023424&Nl)===Nl&&500>Ge()-Fl?fc(e,0):Pl|=n),oc(e,t)}function Cc(e,t){0===t&&(0===(1&e.mode)?t=1:(t=ut,0===(130023424&(ut<<=1))&&(ut=4194304)));var n=tc();null!==(e=ki(e,t))&&(mt(e,t,n),oc(e,n))}function Sc(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Cc(e,n)}function Ec(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(i(314))}null!==r&&r.delete(t),Cc(e,n)}function kc(e,t){return Ve(e,t)}function Dc(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Nc(e,t,n,r){return new Dc(e,t,n,r)}function Tc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function jc(e,t){var n=e.alternate;return null===n?((n=Nc(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Bc(e,t,n,r,o,a){var s=2;if(r=e,"function"===typeof e)Tc(e)&&(s=1);else if("string"===typeof e)s=5;else e:switch(e){case _:return Lc(n.children,o,a,t);case z:s=8,o|=8;break;case x:return(e=Nc(12,n,t,2|o)).elementType=x,e.lanes=a,e;case E:return(e=Nc(13,n,t,o)).elementType=E,e.lanes=a,e;case k:return(e=Nc(19,n,t,o)).elementType=k,e.lanes=a,e;case T:return Rc(n,o,a,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case w:s=10;break e;case C:s=9;break e;case S:s=11;break e;case D:s=14;break e;case N:s=16,r=null;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Nc(s,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Lc(e,t,n,r){return(e=Nc(7,e,r,t)).lanes=n,e}function Rc(e,t,n,r){return(e=Nc(22,e,r,t)).elementType=T,e.lanes=n,e.stateNode={isHidden:!1},e}function qc(e,t,n){return(e=Nc(6,e,null,t)).lanes=n,e}function Pc(e,t,n){return(t=Nc(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ic(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=At(0),this.expirationTimes=At(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=At(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Wc(e,t,n,r,o,i,a,s,l){return e=new Ic(e,t,n,s,l),1===t?(t=1,!0===i&&(t|=8)):t=0,i=Nc(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ni(i),e}function Fc(e){if(!e)return So;e:{if(Fe(e=e._reactInternals)!==e||1!==e.tag)throw Error(i(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(To(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(i(171))}if(1===e.tag){var n=e.type;if(To(n))return Lo(e,n,t)}return t}function Uc(e,t,n,r,o,i,a,s,l){return(e=Wc(n,r,!0,e,0,i,0,s,l)).context=Fc(null),n=e.current,(i=ji(r=tc(),o=nc(n))).callback=void 0!==t&&null!==t?t:null,Bi(n,i,o),e.current.lanes=o,mt(e,o,r),oc(e,r),e}function Zc(e,t,n,r){var o=t.current,i=tc(),a=nc(o);return n=Fc(n),null===t.context?t.context=n:t.pendingContext=n,(t=ji(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Bi(o,t,a))&&(rc(e,o,a,i),Li(e,o,a)),a}function Hc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function $c(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Vc(e,t){$c(e,t),(e=e.alternate)&&$c(e,t)}zl=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||ko.current)ys=!0;else{if(0===(e.lanes&n)&&0===(128&t.flags))return ys=!1,function(e,t,n){switch(t.tag){case 3:ks(t),hi();break;case 5:aa(t);break;case 1:To(t.type)&&Ro(t);break;case 4:oa(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;Co(gi,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Co(la,1&la.current),t.flags|=128,null):0!==(n&t.child.childLanes)?qs(e,t,n):(Co(la,1&la.current),null!==(e=Hs(e,t,n))?e.sibling:null);Co(la,1&la.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(128&e.flags)){if(r)return Us(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),Co(la,la.current),r)break;return null;case 22:case 23:return t.lanes=0,xs(e,t,n)}return Hs(e,t,n)}(e,t,n);ys=0!==(131072&e.flags)}else ys=!1,ii&&0!==(1048576&t.flags)&&ei(t,Vo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Zs(e,t),e=t.pendingProps;var o=No(t,Eo.current);xi(t,n),o=za(null,t,r,e,o,n);var a=xa();return t.flags|=1,"object"===typeof o&&null!==o&&"function"===typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,To(r)?(a=!0,Ro(t)):a=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Ni(t),o.updater=Fi,t.stateNode=o,o._reactInternals=t,$i(t,r,e,n),t=Es(null,t,r,!0,a,n)):(t.tag=0,ii&&a&&ti(t),Ms(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Zs(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"===typeof e)return Tc(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===S)return 11;if(e===D)return 14}return 2}(r),e=mi(r,e),o){case 0:t=Cs(null,t,r,e,n);break e;case 1:t=Ss(null,t,r,e,n);break e;case 11:t=Os(null,t,r,e,n);break e;case 14:t=_s(null,t,r,mi(r.type,e),n);break e}throw Error(i(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,Cs(e,t,r,o=t.elementType===r?o:mi(r,o),n);case 1:return r=t.type,o=t.pendingProps,Ss(e,t,r,o=t.elementType===r?o:mi(r,o),n);case 3:e:{if(ks(t),null===e)throw Error(i(387));r=t.pendingProps,o=(a=t.memoizedState).element,Ti(e,t),qi(t,r,null,n);var s=t.memoizedState;if(r=s.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Ds(e,t,r,n,o=us(Error(i(423)),t));break e}if(r!==o){t=Ds(e,t,r,n,o=us(Error(i(424)),t));break e}for(oi=co(t.stateNode.containerInfo.firstChild),ri=t,ii=!0,ai=null,n=Ki(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(hi(),r===o){t=Hs(e,t,n);break e}Ms(e,t,r,n)}t=t.child}return t;case 5:return aa(t),null===e&&ui(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,s=o.children,no(r,o)?s=null:null!==a&&no(r,a)&&(t.flags|=32),ws(e,t),Ms(e,t,s,n),t.child;case 6:return null===e&&ui(t),null;case 13:return qs(e,t,n);case 4:return oa(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Gi(t,null,r,n):Ms(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Os(e,t,r,o=t.elementType===r?o:mi(r,o),n);case 7:return Ms(e,t,t.pendingProps,n),t.child;case 8:case 12:return Ms(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,a=t.memoizedProps,s=o.value,Co(gi,r._currentValue),r._currentValue=s,null!==a)if(sr(a.value,s)){if(a.children===o.children&&!ko.current){t=Hs(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var l=a.dependencies;if(null!==l){s=a.child;for(var c=l.firstContext;null!==c;){if(c.context===r){if(1===a.tag){(c=ji(-1,n&-n)).tag=2;var u=a.updateQueue;if(null!==u){var d=(u=u.shared).pending;null===d?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}a.lanes|=n,null!==(c=a.alternate)&&(c.lanes|=n),zi(a.return,n,t),l.lanes|=n;break}c=c.next}}else if(10===a.tag)s=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(s=a.return))throw Error(i(341));s.lanes|=n,null!==(l=s.alternate)&&(l.lanes|=n),zi(s,n,t),s=a.sibling}else s=a.child;if(null!==s)s.return=a;else for(s=a;null!==s;){if(s===t){s=null;break}if(null!==(a=s.sibling)){a.return=s.return,s=a;break}s=s.return}a=s}Ms(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,xi(t,n),r=r(o=wi(o)),t.flags|=1,Ms(e,t,r,n),t.child;case 14:return o=mi(r=t.type,t.pendingProps),_s(e,t,r,o=mi(r.type,o),n);case 15:return zs(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:mi(r,o),Zs(e,t),t.tag=1,To(r)?(e=!0,Ro(t)):e=!1,xi(t,n),Zi(t,r,o),$i(t,r,o,n),Es(null,t,r,!0,e,n);case 19:return Us(e,t,n);case 22:return xs(e,t,n)}throw Error(i(156,t.tag))};var Xc="function"===typeof reportError?reportError:function(e){console.error(e)};function Qc(e){this._internalRoot=e}function Yc(e){this._internalRoot=e}function Gc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Kc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Jc(){}function eu(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if("function"===typeof o){var s=o;o=function(){var e=Hc(a);s.call(e)}}Zc(t,a,e,o)}else a=function(e,t,n,r,o){if(o){if("function"===typeof r){var i=r;r=function(){var e=Hc(a);i.call(e)}}var a=Uc(t,r,e,0,null,!1,0,"",Jc);return e._reactRootContainer=a,e[bo]=a.current,Fr(8===e.nodeType?e.parentNode:e),dc(),a}for(;o=e.lastChild;)e.removeChild(o);if("function"===typeof r){var s=r;r=function(){var e=Hc(l);s.call(e)}}var l=Wc(e,0,!1,null,0,!1,0,"",Jc);return e._reactRootContainer=l,e[bo]=l.current,Fr(8===e.nodeType?e.parentNode:e),dc((function(){Zc(t,l,n,r)})),l}(n,t,e,o,r);return Hc(a)}Yc.prototype.render=Qc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));Zc(e,t,null,null)},Yc.prototype.unmount=Qc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;dc((function(){Zc(null,e,null,null)})),t[bo]=null}},Yc.prototype.unstable_scheduleHydration=function(e){if(e){var t=zt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Tt.length&&0!==t&&t<Tt[n].priority;n++);Tt.splice(n,0,e),0===n&&Rt(e)}},Mt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(gt(t,1|n),oc(t,Ge()),0===(6&El)&&(Ul=Ge()+500,Uo()))}break;case 13:dc((function(){var t=ki(e,1);if(null!==t){var n=tc();rc(t,e,1,n)}})),Vc(e,1)}},Ot=function(e){if(13===e.tag){var t=ki(e,134217728);if(null!==t)rc(t,e,134217728,tc());Vc(e,134217728)}},_t=function(e){if(13===e.tag){var t=nc(e),n=ki(e,t);if(null!==n)rc(n,e,t,tc());Vc(e,t)}},zt=function(){return vt},xt=function(e,t){var n=vt;try{return vt=e,t()}finally{vt=n}},Oe=function(e,t,n){switch(t){case"input":if(K(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=Oo(r);if(!o)throw Error(i(90));V(r),K(r,o)}}}break;case"textarea":ie(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Se=uc,Ee=dc;var tu={usingClientEntryPoint:!1,Events:[yo,Mo,Oo,we,Ce,uc]},nu={findFiberByHostInstance:vo,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},ru={bundleType:nu.bundleType,version:nu.version,rendererPackageName:nu.rendererPackageName,rendererConfig:nu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:y.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=He(e))?null:e.stateNode},findFiberByHostInstance:nu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ou=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ou.isDisabled&&ou.supportsFiber)try{ot=ou.inject(ru),it=ou}catch(ue){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tu,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Gc(t))throw Error(i(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:O,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Gc(e))throw Error(i(299));var n=!1,r="",o=Xc;return null!==t&&void 0!==t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Wc(e,1,!1,null,0,n,0,r,o),e[bo]=t.current,Fr(8===e.nodeType?e.parentNode:e),new Qc(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(i(188));throw e=Object.keys(e).join(","),Error(i(268,e))}return e=null===(e=He(t))?null:e.stateNode},t.flushSync=function(e){return dc(e)},t.hydrate=function(e,t,n){if(!Kc(t))throw Error(i(200));return eu(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Gc(e))throw Error(i(405));var r=null!=n&&n.hydratedSources||null,o=!1,a="",s=Xc;if(null!==n&&void 0!==n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=Uc(t,null,e,1,null!=n?n:null,o,0,a,s),e[bo]=t.current,Fr(e),r)for(e=0;e<r.length;e++)o=(o=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Yc(t)},t.render=function(e,t,n){if(!Kc(t))throw Error(i(200));return eu(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Kc(e))throw Error(i(40));return!!e._reactRootContainer&&(dc((function(){eu(null,null,e,!1,(function(){e._reactRootContainer=null,e[bo]=null}))})),!0)},t.unstable_batchedUpdates=uc,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Kc(n))throw Error(i(200));if(null==e||void 0===e._reactInternals)throw Error(i(38));return eu(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},21739:function(e,t,n){"use strict";var r=n(1168);t.s=r.createRoot,r.hydrateRoot},1168:function(e,t,n){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(30534)},79489:function(e,t,n){window,e.exports=function(e,t,n){return i={},r.m=o=[function(e,t,n){e.exports=n(10)()},function(t,n){t.exports=e},function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"==i||"number"==i)e.push(r);else if(Array.isArray(r)&&r.length){var a=o.apply(null,r);a&&e.push(a)}else if("object"==i)for(var s in r)n.call(r,s)&&r[s]&&e.push(s)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,n){e.exports=t},function(e,t,n){function r(e){if(s[e])return s[e].exports;var t=s[e]={i:e,l:!1,exports:{}};return a[e].call(t.exports,t,t.exports,r),t.l=!0,t.exports}var o,i,a,s;window,e.exports=(o=n(3),i=n(5),s={},r.m=a=[function(e,t){e.exports=o},function(e,t){e.exports=i},function(e,t,n){e.exports=n(3)},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(1);function i(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getStartKey(),o=t.getEndKey(),i=n.getBlockMap();return i.toSeq().skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===o})).concat([[o,i.get(o)]])}function a(e){return i(e).toList()}function s(e){if(e)return a(e).get(0)}function l(e){if(e){var t=s(e),n=e.getCurrentContent().getBlockMap().toSeq().toList(),r=0;if(n.forEach((function(e,n){e.get("key")===t.get("key")&&(r=n-1)})),-1<r)return n.get(r)}}function c(e){return e?e.getCurrentContent().getBlockMap().toList():new o.List}function u(e){var t=a(e);if(!t.some((function(e){return e.type!==t.get(0).type})))return t.get(0).type}function d(e){var t=r.RichUtils.tryToRemoveBlockStyle(e);return t?r.EditorState.push(e,t,"change-block-type"):e}function p(e){var t="",n=e.getSelection(),r=n.getAnchorOffset(),o=n.getFocusOffset(),i=a(e);if(0<i.size){if(n.getIsBackward()){var s=r;r=o,o=s}for(var l=0;l<i.size;l+=1){var c=0===l?r:0,u=l===i.size-1?o:i.get(l).getText().length;t+=i.get(l).getText().slice(c,u)}}return t}function f(e){var t=e.getCurrentContent(),n=e.getSelection(),o=r.Modifier.removeRange(t,n,"forward"),i=o.getSelectionAfter(),a=o.getBlockForKey(i.getStartKey());return o=r.Modifier.insertText(o,i,"\n",a.getInlineStyleAt(i.getStartOffset()),null),r.EditorState.push(e,o,"insert-fragment")}function h(e){var t=r.Modifier.splitBlock(e.getCurrentContent(),e.getSelection());return d(r.EditorState.push(e,t,"split-block"))}function b(e){var t=e.getCurrentContent().getBlockMap().toList(),n=e.getSelection().merge({anchorKey:t.first().get("key"),anchorOffset:0,focusKey:t.last().get("key"),focusOffset:t.last().getLength()}),o=r.Modifier.removeRange(e.getCurrentContent(),n,"forward");return r.EditorState.push(e,o,"remove-range")}function A(e,t){var n=r.Modifier.setBlockData(e.getCurrentContent(),e.getSelection(),t);return r.EditorState.push(e,n,"change-block-data")}function m(e){var t=new o.Map({}),n=a(e);if(n&&0<n.size)for(var r=function(e){var r=n.get(e).getData();if(!r||0===r.size)return t=t.clear(),"break";if(0===e)t=r;else if(t.forEach((function(e,n){r.get(n)&&r.get(n)===e||(t=t.delete(n))})),0===t.size)return t=t.clear(),"break"},i=0;i<n.size&&"break"!==r(i);i+=1);return t}var g=Object(o.Map)({code:{element:"pre"}}),v=r.DefaultDraftBlockRenderMap.merge(g);function y(e){if(e){var t=e.getType();return"unordered-list-item"===t||"ordered-list-item"===t}return!1}function M(e,t,n){var o,a=e.getSelection();o=a.getIsBackward()?a.getFocusKey():a.getAnchorKey();var s=e.getCurrentContent(),l=s.getBlockForKey(o),c=l.getType();if("unordered-list-item"!==c&&"ordered-list-item"!==c)return e;var u=s.getBlockBefore(o);if(!u)return e;if(u.getType()!==c)return e;var d=l.getDepth();if(1===t&&d===n)return e;var p,f,h,b,A,m,g,v=Math.min(u.getDepth()+1,n),y=(f=t,h=v,b=(p=e).getSelection(),m=(A=p.getCurrentContent()).getBlockMap(),g=i(p).map((function(e){var t=e.getDepth()+f;return t=Math.max(0,Math.min(t,h)),e.set("depth",t)})),m=m.merge(g),A.merge({blockMap:m,selectionBefore:b,selectionAfter:b}));return r.EditorState.push(e,y,"adjust-depth")}function O(e,t){var n;return 13===(n=t).which&&(n.getModifierState("Shift")||n.getModifierState("Alt")||n.getModifierState("Control"))?e.getSelection().isCollapsed()?r.RichUtils.insertSoftNewline(e):f(e):function(e){var t=e.getSelection();if(t.isCollapsed()){var n=e.getCurrentContent(),r=t.getStartKey(),o=n.getBlockForKey(r);if(!y(o)&&"unstyled"!==o.getType()&&o.getLength()===t.getStartOffset())return h(e);if(y(o)&&0===o.getLength()){var i=o.getDepth();if(0===i)return d(e);if(0<i)return M(e,-1,i)}}}(e)}function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function x(e){return(x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function w(e){var t=e.getSelection();if(t.isCollapsed()){var n={},r=e.getCurrentInlineStyle().toList().toJS();if(r)return["BOLD","ITALIC","UNDERLINE","STRIKETHROUGH","CODE","SUPERSCRIPT","SUBSCRIPT"].forEach((function(e){n[e]=0<=r.indexOf(e)})),n}var o=t.getStartOffset(),i=t.getEndOffset(),s=a(e);if(0<s.size){var l=function(){for(var e={BOLD:!0,ITALIC:!0,UNDERLINE:!0,STRIKETHROUGH:!0,CODE:!0,SUPERSCRIPT:!0,SUBSCRIPT:!0},t=0;t<s.size;t+=1){var n=0===t?o:0,r=t===s.size-1?i:s.get(t).getText().length;n===r&&0===n?(n=1,r=2):n===r&&--n;for(var a=function(n){var r=s.get(t).getInlineStyleAt(n);["BOLD","ITALIC","UNDERLINE","STRIKETHROUGH","CODE","SUPERSCRIPT","SUBSCRIPT"].forEach((function(t){e[t]=e[t]&&r.get(t)===t}))},l=n;l<r;l+=1)a(l)}return{v:e}}();if("object"===x(l))return l.v}return{}}function C(e){var t,n=e.getSelection(),r=n.getStartOffset(),o=n.getEndOffset();r===o&&0===r?o=1:r===o&&--r;for(var i=s(e),a=r;a<o;a+=1){var l=i.getEntityAt(a);if(!l){t=void 0;break}if(a===r)t=l;else if(t!==l){t=void 0;break}}return t}function S(e,t){var n,r=s(e);return r.findEntityRanges((function(e){return e.get("entity")===t}),(function(e,t){n={start:e,end:t,text:r.get("text").slice(e,t)}})),n}function E(e,t,n){D[e]["".concat(e.toLowerCase(),"-").concat(n)]=z({},"".concat(t),n)}function k(){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){z(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},D.color,{},D.bgcolor,{},D.fontSize,{},D.fontFamily,{CODE:D.CODE,SUPERSCRIPT:D.SUPERSCRIPT,SUBSCRIPT:D.SUBSCRIPT})}var D={color:{},bgcolor:{},fontSize:{},fontFamily:{},CODE:{fontFamily:"monospace",wordWrap:"break-word",background:"#f1f1f1",borderRadius:3,padding:"1px 3px"},SUPERSCRIPT:{fontSize:11,position:"relative",top:-8,display:"inline-flex"},SUBSCRIPT:{fontSize:11,position:"relative",bottom:-8,display:"inline-flex"}};function N(e,t,n){var o=e.getSelection(),i=Object.keys(D[t]).reduce((function(e,t){return r.Modifier.removeInlineStyle(e,o,t)}),e.getCurrentContent()),a=r.EditorState.push(e,i,"changeinline-style"),s=e.getCurrentInlineStyle();if(o.isCollapsed()&&(a=s.reduce((function(e,t){return r.RichUtils.toggleInlineStyle(e,t)}),a)),"SUPERSCRIPT"===t||"SUBSCRIPT"==t)s.has(n)||(a=r.RichUtils.toggleInlineStyle(a,n));else{var l="bgcolor"===t?"backgroundColor":t;s.has("".concat(l,"-").concat(n))||(a=r.RichUtils.toggleInlineStyle(a,"".concat(t.toLowerCase(),"-").concat(n)),E(t,l,n))}return a}function T(e){e&&e.getCurrentContent().getBlockMap().map((function(e){return e.get("characterList")})).toList().flatten().forEach((function(e){e&&0===e.indexOf("color-")?E("color","color",e.substr(6)):e&&0===e.indexOf("bgcolor-")?E("bgcolor","backgroundColor",e.substr(8)):e&&0===e.indexOf("fontsize-")?E("fontSize","fontSize",+e.substr(9)):e&&0===e.indexOf("fontfamily-")&&E("fontFamily","fontFamily",e.substr(11))}))}function j(e,t,n){var r=e.getInlineStyleAt(n).toList().filter((function(e){return e.startsWith(t.toLowerCase())}));if(r&&0<r.size)return r.get(0)}function B(e,t){if(e&&t&&0<t.length){var n=function(){var n=e.getSelection(),r={};if(n.isCollapsed())return t.forEach((function(t){r[t]=function(e,t){var n=e.getCurrentInlineStyle().toList().filter((function(e){return e.startsWith(t.toLowerCase())}));if(n&&0<n.size)return n.get(0)}(e,t)})),{v:r};var o=n.getStartOffset(),i=n.getEndOffset(),s=a(e);if(0<s.size){for(var l=function(e){var n=0===e?o:0,a=e===s.size-1?i:s.get(e).getText().length;n===a&&0===n?(n=1,a=2):n===a&&--n;for(var l=function(o){o===n?t.forEach((function(t){r[t]=j(s.get(e),t,o)})):t.forEach((function(t){r[t]&&r[t]!==j(s.get(e),t,o)&&(r[t]=void 0)}))},c=n;c<a;c+=1)l(c)},c=0;c<s.size;c+=1)l(c);return{v:r}}}();if("object"===x(n))return n.v}return{}}function L(e){var t=e.getCurrentInlineStyle(),n=e.getCurrentContent();return t.forEach((function(t){n=r.Modifier.removeInlineStyle(n,e.getSelection(),t)})),r.EditorState.push(e,n,"change-inline-style")}n.d(t,"isListBlock",(function(){return y})),n.d(t,"changeDepth",(function(){return M})),n.d(t,"handleNewLine",(function(){return O})),n.d(t,"getEntityRange",(function(){return S})),n.d(t,"getCustomStyleMap",(function(){return k})),n.d(t,"toggleCustomInlineStyle",(function(){return N})),n.d(t,"getSelectionEntity",(function(){return C})),n.d(t,"extractInlineStyle",(function(){return T})),n.d(t,"removeAllInlineStyles",(function(){return L})),n.d(t,"getSelectionInlineStyle",(function(){return w})),n.d(t,"getSelectionCustomInlineStyle",(function(){return B})),n.d(t,"getSelectedBlocksMap",(function(){return i})),n.d(t,"getSelectedBlocksList",(function(){return a})),n.d(t,"getSelectedBlock",(function(){return s})),n.d(t,"getBlockBeforeSelectedBlock",(function(){return l})),n.d(t,"getAllBlocks",(function(){return c})),n.d(t,"getSelectedBlocksType",(function(){return u})),n.d(t,"removeSelectedBlocksStyle",(function(){return d})),n.d(t,"getSelectionText",(function(){return p})),n.d(t,"addLineBreakRemovingSelection",(function(){return f})),n.d(t,"insertNewUnstyledBlock",(function(){return h})),n.d(t,"clearEditorContent",(function(){return b})),n.d(t,"setBlockData",(function(){return A})),n.d(t,"getSelectedBlocksMetadata",(function(){return m})),n.d(t,"blockRenderMap",(function(){return v}))}],r.c=s,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=2))},function(e,t){e.exports=n},function(e,t,n){function r(e){if(s[e])return s[e].exports;var t=s[e]={i:e,l:!1,exports:{}};return a[e].call(t.exports,t,t.exports,r),t.l=!0,t.exports}var o,i,a,s;window,e.exports=(o=n(5),i=n(3),s={},r.m=a=[function(e,t){e.exports=o},function(e,t){e.exports=i},function(e,t,n){e.exports=n(3)},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(0),i=function(e,t,n){var r,i=e.textContent;return""===i.trim()?{chunk:(r=n,{text:" ",inlines:[new o.OrderedSet],entities:[r],blocks:[]})}:{chunk:{text:i,inlines:Array(i.length).fill(t),entities:Array(i.length).fill(n),blocks:[]}}},a=function(){return{text:"\n",inlines:[new o.OrderedSet],entities:new Array(1),blocks:[]}},s=function(){return{text:"",inlines:[],entities:[],blocks:[]}},l=function(e,t){return{text:"",inlines:[],entities:[],blocks:[{type:e,depth:0,data:t||new o.Map({})}]}},c=function(e,t,n){return{text:"\r",inlines:[],entities:[],blocks:[{type:e,depth:Math.max(0,Math.min(4,t)),data:n||new o.Map({})}]}},u=function(e){return{text:"\r ",inlines:[new o.OrderedSet],entities:[e],blocks:[{type:"atomic",depth:0,data:new o.Map({})}]}},d=function(e,t){return{text:e.text+t.text,inlines:e.inlines.concat(t.inlines),entities:e.entities.concat(t.entities),blocks:e.blocks.concat(t.blocks)}},p=new o.Map({"header-one":{element:"h1"},"header-two":{element:"h2"},"header-three":{element:"h3"},"header-four":{element:"h4"},"header-five":{element:"h5"},"header-six":{element:"h6"},"unordered-list-item":{element:"li",wrapper:"ul"},"ordered-list-item":{element:"li",wrapper:"ol"},blockquote:{element:"blockquote"},code:{element:"pre"},atomic:{element:"figure"},unstyled:{element:"p",aliasedElements:["div"]}}),f={code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",strong:"BOLD",ins:"UNDERLINE",sub:"SUBSCRIPT",sup:"SUPERSCRIPT"};function h(e){return e.style.textAlign?new o.Map({"text-align":e.style.textAlign}):e.style.marginLeft?new o.Map({"margin-left":e.style.marginLeft}):void 0}var b=function(e){var t=void 0;if(e instanceof HTMLAnchorElement){var n={};t=e.dataset&&void 0!==e.dataset.mention?(n.url=e.href,n.text=e.innerHTML,n.value=e.dataset.value,r.Entity.__create("MENTION","IMMUTABLE",n)):(n.url=e.getAttribute&&e.getAttribute("href")||e.href,n.title=e.innerHTML,n.targetOption=e.target,r.Entity.__create("LINK","MUTABLE",n))}return t};n.d(t,"default",(function(){return v}));var A=" ",m=new RegExp("&nbsp;","g"),g=!0;function v(e,t){var n,v,y=(n=t,(v=function(e){var t,n=null;return document.implementation&&document.implementation.createHTMLDocument&&((t=document.implementation.createHTMLDocument("foo")).documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n}(e.trim().replace(m,A)))?(g=!0,{chunk:function e(t,n,o,A,m,v){var y=t.nodeName.toLowerCase();if(v){var M=v(y,t);if(M){var O=r.Entity.__create(M.type,M.mutability,M.data||{});return{chunk:u(O)}}}if("#text"===y&&"\n"!==t.textContent)return i(t,n,m);if("br"===y)return{chunk:a()};if("img"===y&&t instanceof HTMLImageElement){var _={};_.src=t.getAttribute&&t.getAttribute("src")||t.src,_.alt=t.alt,_.height=t.style.height,_.width=t.style.width,t.style.float&&(_.alignment=t.style.float);var z=r.Entity.__create("IMAGE","MUTABLE",_);return{chunk:u(z)}}if("video"===y&&t instanceof HTMLVideoElement){var x={};x.src=t.getAttribute&&t.getAttribute("src")||t.src,x.alt=t.alt,x.height=t.style.height,x.width=t.style.width,t.style.float&&(x.alignment=t.style.float);var w=r.Entity.__create("VIDEO","MUTABLE",x);return{chunk:u(w)}}if("iframe"===y&&t instanceof HTMLIFrameElement){var C={};C.src=t.getAttribute&&t.getAttribute("src")||t.src,C.height=t.height,C.width=t.width;var S=r.Entity.__create("EMBEDDED_LINK","MUTABLE",C);return{chunk:u(S)}}var E,k=function(e,t){var n=p.filter((function(n){return n.element===e&&(!n.wrapper||n.wrapper===t)||n.wrapper===e||n.aliasedElements&&-1<n.aliasedElements.indexOf(e)})).keySeq().toSet().toArray();if(1===n.length)return n[0]}(y,A);k&&("ul"===y||"ol"===y?(A=y,o+=1):("unordered-list-item"!==k&&"ordered-list-item"!==k&&(A="",o=-1),g?(E=l(k,h(t)),g=!1):E=c(k,o,h(t)))),E=E||s(),n=function(e,t,n){var r,o=f[e];if(o)r=n.add(o).toOrderedSet();else if(t instanceof HTMLElement){var i=t;r=(r=n).withMutations((function(e){var t=i.style.color,n=i.style.backgroundColor,r=i.style.fontSize,o=i.style.fontFamily.replace(/^"|"$/g,""),a=i.style.fontWeight,s=i.style.textDecoration,l=i.style.fontStyle;t&&e.add("color-".concat(t.replace(/ /g,""))),n&&e.add("bgcolor-".concat(n.replace(/ /g,""))),r&&e.add("fontsize-".concat(r.replace(/px$/g,""))),o&&e.add("fontfamily-".concat(o)),"bold"===a&&e.add(f.strong),"underline"===s&&e.add(f.ins),"italic"===l&&e.add(f.em)})).toOrderedSet()}return r}(y,t,n);for(var D=t.firstChild;D;){var N=e(D,n,o,A,b(D)||m,v).chunk;E=d(E,N),D=D.nextSibling}return{chunk:E}}(v,new o.OrderedSet,-1,"",void 0,n).chunk}):null);if(y){var M=y.chunk,O=new o.OrderedMap({});M.entities&&M.entities.forEach((function(e){e&&(O=O.set(e,r.Entity.__get(e)))}));var _=0;return{contentBlocks:M.text.split("\r").map((function(e,t){var n=_+e.length,i=M&&M.inlines.slice(_,n),a=M&&M.entities.slice(_,n),s=new o.List(i.map((function(e,t){var n={style:e,entity:null};return a[t]&&(n.entity=a[t]),r.CharacterMetadata.create(n)})));return _=n,new r.ContentBlock({key:Object(r.genKey)(),type:M&&M.blocks[t]&&M.blocks[t].type||"unstyled",depth:M&&M.blocks[t]&&M.blocks[t].depth,data:M&&M.blocks[t]&&M.blocks[t].data||new o.Map({}),text:e,characterList:s})})),entityMap:O}}return null}}],r.c=s,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=2))},function(e,t,n){"use strict";function r(e){return Array.prototype.slice.call(arguments,1).forEach((function(t){t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}function o(e){return Object.prototype.toString.call(e)}function i(e){return"[object Function]"===o(e)}function a(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var s={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},l={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?3<=t&&":"===e[t-3]||3<=t&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},c="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",u="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444".split("|");function d(){return function(e,t){t.normalize(e)}}function p(e){var t=e.re=n(21)(e.__opts__),r=e.__tlds__.slice();function s(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||r.push(c),r.push(t.src_xn),t.src_tlds=r.join("|"),t.email_fuzzy=RegExp(s(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(s(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(s(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(s(t.tpl_host_fuzzy_test),"i");var l=[];function u(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var n=e.__schemas__[t];if(null!==n){var r,a={validate:null,link:null};if(e.__compiled__[t]=a,"[object Object]"===o(n))return"[object RegExp]"===o(n.validate)?a.validate=(r=n.validate,function(e,t){var n=e.slice(t);return r.test(n)?n.match(r)[0].length:0}):i(n.validate)?a.validate=n.validate:u(t,n),void(i(n.normalize)?a.normalize=n.normalize:n.normalize?u(t,n):a.normalize=d());"[object String]"!==o(n)?u(t,n):l.push(t)}})),l.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:d()};var p,f=Object.keys(e.__compiled__).filter((function(t){return 0<t.length&&e.__compiled__[t]})).map(a).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><\uff5c]|"+t.src_ZPCc+"))("+f+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><\uff5c]|"+t.src_ZPCc+"))("+f+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),(p=e).__index__=-1,p.__text_cache__=""}function f(e,t){var n=e.__index__,r=e.__last_index__,o=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=o,this.text=o,this.url=o}function h(e,t){var n=new f(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function b(e,t){if(!(this instanceof b))return new b(e,t);var n;t||(n=e,Object.keys(n||{}).reduce((function(e,t){return e||s.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=r({},s,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},l,e),this.__compiled__={},this.__tlds__=u,this.__tlds_replaced__=!1,this.re={},p(this)}b.prototype.add=function(e,t){return this.__schemas__[e]=t,p(this),this},b.prototype.set=function(e){return this.__opts__=r(this.__opts__,e),this},b.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,o,i,a,s,l;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(o=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+o;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&0<=(l=e.search(this.re.host_fuzzy_test))&&(this.__index__<0||l<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(i=n.index+n[1].length,(this.__index__<0||i<this.__index__)&&(this.__schema__="",this.__index__=i,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&0<=e.indexOf("@")&&null!==(r=e.match(this.re.email_fuzzy))&&(i=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||i<this.__index__||i===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=a)),0<=this.__index__},b.prototype.pretest=function(e){return this.re.pretest.test(e)},b.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},b.prototype.match=function(e){var t=0,n=[];0<=this.__index__&&this.__text_cache__===e&&(n.push(h(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(h(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},b.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,n){return e!==n[t-1]})).reverse():(this.__tlds__=e.slice(),this.__tlds_replaced__=!0),p(this),this},b.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},b.prototype.onCompile=function(){},e.exports=b},function(e,t,n){e.exports=n(40)},function(e,t,n){},function(e,t,n){"use strict";var r=n(11);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}var n={array:e.isRequired=e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";e.exports=function(e){var t={};t.src_Any=n(22).source,t.src_Cc=n(23).source,t.src_Z=n(24).source,t.src_P=n(25).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");var r="[><\uff5c]";return t.src_pseudo_letter="(?:(?![><\uff5c]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><\uff5c]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+r+"|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,4}[a-zA-Z0-9%/]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><\uff5c]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|"+t.src_ZPCc+"))((?![$+<=>^`|\uff5c])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|"+t.src_ZPCc+"))((?![$+<=>^`|\uff5c])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},function(e,t){e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},function(e,t){e.exports=/[\0-\x1F\x7F-\x9F]/},function(e,t){e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},function(e,t){e.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";n.r(t),n.d(t,"Editor",(function(){return ao}));var r=n(1),o=n.n(r),i=n(0),a=n.n(i),s=n(3),l=n(4),c=n(2),u=n.n(c);function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t,n){return t&&d(e.prototype,t),n&&d(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var f=p((function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.callBacks=[],this.suggestionCallback=void 0,this.editorFlag=!1,this.suggestionFlag=!1,this.closeAllModals=function(e){t.callBacks.forEach((function(t){t(e)}))},this.init=function(e){var n=document.getElementById(e);n&&n.addEventListener("click",(function(){t.editorFlag=!0})),document&&(document.addEventListener("click",(function(){t.editorFlag?t.editorFlag=!1:(t.closeAllModals(),t.suggestionCallback&&t.suggestionCallback())})),document.addEventListener("keydown",(function(e){"Escape"===e.key&&t.closeAllModals()})))},this.onEditorClick=function(){t.closeModals(),!t.suggestionFlag&&t.suggestionCallback?t.suggestionCallback():t.suggestionFlag=!1},this.closeModals=function(e){t.closeAllModals(e)},this.registerCallBack=function(e){t.callBacks.push(e)},this.deregisterCallBack=function(e){t.callBacks=t.callBacks.filter((function(t){return t!==e}))},this.setSuggestionCallback=function(e){t.suggestionCallback=e},this.removeSuggestionCallback=function(){t.suggestionCallback=void 0},this.onSuggestionClick=function(){t.suggestionFlag=!0}}));function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function b(e,t,n){return t&&h(e.prototype,t),n&&h(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var A,m=b((function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.inputFocused=!1,this.editorMouseDown=!1,this.onEditorMouseDown=function(){t.editorFocused=!0},this.onInputMouseDown=function(){t.inputFocused=!0},this.isEditorBlur=function(e){return"INPUT"!==e.target.tagName&&"LABEL"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName||t.editorFocused?!("INPUT"===e.target.tagName&&"LABEL"===e.target.tagName&&"TEXTAREA"===e.target.tagName||t.inputFocused)&&!(t.editorFocused=!1):!(t.inputFocused=!1)},this.isEditorFocused=function(){return!t.inputFocused||(t.inputFocused=!1)},this.isToolbarFocused=function(){return!t.editorFocused||(t.editorFocused=!1)},this.isInputFocused=function(){return t.inputFocused}})),g=[],v={onKeyDown:function(e){g.forEach((function(t){t(e)}))},registerCallBack:function(e){g.push(e)},deregisterCallBack:function(e){g=g.filter((function(t){return t!==e}))}},y=function(){A=!0},M=function(){A=!1},O=function(){return A};function _(e){var t=e.getData()&&e.getData().get("text-align");return t?"rdw-".concat(t,"-aligned-block"):""}function z(e,t){if(e)for(var n in e)!{}.hasOwnProperty.call(e,n)||t(n,e[n])}function x(e,t){var n=!1;if(e)for(var r in e)if({}.hasOwnProperty.call(e,r)&&t===r){n=!0;break}return n}function w(e){e.stopPropagation()}function C(e){return e[e.options[0]].icon}function S(e,t){if(e&&void 0===t)return e;var n={};return z(e,(function(e,r){var o;o=r,"[object Object]"===Object.prototype.toString.call(o)?n[e]=S(r,t[e]):n[e]=void 0!==t[e]?t[e]:r})),n}var E=n(6),k=n.n(E),D=n(5);function N(e){return(N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function j(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function B(e,t){return(B=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function L(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,r=R(t);if(n){var o=R(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return function(e,t){if(t&&("object"===N(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,e)}}function R(e){return(R=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n(9);var q=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&B(e,t)}(a,r.Component);var e,t,n,i=L(a);function a(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=i.call.apply(i,[this].concat(n))).onClick=function(){var t=e.props,n=t.disabled,r=t.onClick,o=t.value;n||r(o)},e}return e=a,(t=[{key:"render",value:function(){var e,t=this.props,n=t.children,r=t.className,i=t.activeClassName,a=t.active,s=t.disabled,l=t.title;return o.a.createElement("div",{className:u()("rdw-option-wrapper",r,(T(e={},"rdw-option-active ".concat(i),a),T(e,"rdw-option-disabled",s),e)),onClick:this.onClick,"aria-selected":a,title:l},n)}}])&&j(e.prototype,t),n&&j(e,n),Object.defineProperty(e,"prototype",{writable:!1}),a}();function P(e){return(P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function I(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function W(e,t){return(W=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function F(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,r=U(t);if(n){var o=U(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return function(e,t){if(t&&("object"===P(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,e)}}function U(e){return(U=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}q.propTypes={onClick:a.a.func.isRequired,children:a.a.any,value:a.a.string,className:a.a.string,activeClassName:a.a.string,active:a.a.bool,disabled:a.a.bool,title:a.a.string},q.defaultProps={activeClassName:""},n(12);var Z=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&W(e,t)}(a,r.Component);var e,t,n,i=F(a);function a(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=i.call.apply(i,[this].concat(n))).state={highlighted:-1},e.onChange=function(t){var n=e.props.onChange;n&&n(t),e.toggleExpansion()},e.setHighlighted=function(t){e.setState({highlighted:t})},e.toggleExpansion=function(){var t=e.props,n=t.doExpand,r=t.doCollapse;t.expanded?r():n()},e}return e=a,(t=[{key:"componentDidUpdate",value:function(e){var t=this.props.expanded;e.expanded&&!t&&this.setState({highlighted:-1})}},{key:"render",value:function(){var e=this,t=this.props,n=t.expanded,r=t.children,i=t.className,a=t.optionWrapperClassName,s=t.ariaLabel,l=t.onExpandEvent,c=t.title,d=this.state.highlighted,p=r.slice(1,r.length);return o.a.createElement("div",{className:u()("rdw-dropdown-wrapper",i),"aria-expanded":n,"aria-label":s||"rdw-dropdown"},o.a.createElement("a",{className:"rdw-dropdown-selectedtext",onClick:l,title:c},r[0],o.a.createElement("div",{className:u()({"rdw-dropdown-carettoclose":n,"rdw-dropdown-carettoopen":!n})})),n?o.a.createElement("ul",{className:u()("rdw-dropdown-optionwrapper",a),onClick:w},o.a.Children.map(p,(function(t,n){return t&&o.a.cloneElement(t,{onSelect:e.onChange,highlighted:d===n,setHighlighted:e.setHighlighted,index:n})}))):void 0)}}])&&I(e.prototype,t),n&&I(e,n),Object.defineProperty(e,"prototype",{writable:!1}),a}();function H(e){return(H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function $(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function V(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function X(e,t){return(X=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Q(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,r=Y(t);if(n){var o=Y(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return function(e,t){if(t&&("object"===H(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,e)}}function Y(e){return(Y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Z.propTypes={children:a.a.any,onChange:a.a.func,className:a.a.string,expanded:a.a.bool,doExpand:a.a.func,doCollapse:a.a.func,onExpandEvent:a.a.func,optionWrapperClassName:a.a.string,ariaLabel:a.a.string,title:a.a.string},n(13);var G=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&X(e,t)}(a,r.Component);var e,t,n,i=Q(a);function a(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=i.call.apply(i,[this].concat(n))).onClick=function(t){var n=e.props,r=n.onSelect,o=n.onClick,i=n.value;n.disabled||(r&&r(i),o&&(t.stopPropagation(),o(i)))},e.setHighlighted=function(){var t=e.props;(0,t.setHighlighted)(t.index)},e.resetHighlighted=function(){(0,e.props.setHighlighted)(-1)},e}return e=a,(t=[{key:"render",value:function(){var e,t=this.props,n=t.children,r=t.active,i=t.disabled,a=t.highlighted,s=t.className,l=t.activeClassName,c=t.disabledClassName,d=t.highlightedClassName,p=t.title;return o.a.createElement("li",{className:u()("rdw-dropdownoption-default",s,($(e={},"rdw-dropdownoption-active ".concat(l),r),$(e,"rdw-dropdownoption-highlighted ".concat(d),a),$(e,"rdw-dropdownoption-disabled ".concat(c),i),e)),onMouseEnter:this.setHighlighted,onMouseLeave:this.resetHighlighted,onClick:this.onClick,title:p},n)}}])&&V(e.prototype,t),n&&V(e,n),Object.defineProperty(e,"prototype",{writable:!1}),a}();function K(e){return(K="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function J(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ee(e,t){return(ee=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function te(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,r=ne(t);if(n){var o=ne(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return function(e,t){if(t&&("object"===K(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,e)}}function ne(e){return(ne=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}G.propTypes={children:a.a.any,value:a.a.any,onClick:a.a.func,onSelect:a.a.func,setHighlighted:a.a.func,index:a.a.number,disabled:a.a.bool,active:a.a.bool,highlighted:a.a.bool,className:a.a.string,activeClassName:a.a.string,disabledClassName:a.a.string,highlightedClassName:a.a.string,title:a.a.string},G.defaultProps={activeClassName:"",disabledClassName:"",highlightedClassName:""},n(14);var re=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ee(e,t)}(a,r.Component);var e,t,n,i=te(a);function a(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),i.apply(this,arguments)}return e=a,(t=[{key:"renderInFlatList",value:function(){var e=this.props,t=e.config,n=e.currentState,r=e.onChange,i=e.translations;return o.a.createElement("div",{className:u()("rdw-inline-wrapper",t.className),"aria-label":"rdw-inline-control"},t.options.map((function(e,a){return o.a.createElement(q,{key:a,value:e,onClick:r,className:u()(t[e].className),active:!0===n[e]||"MONOSPACE"===e&&n.CODE,title:t[e].title||i["components.controls.inline.".concat(e)]},o.a.createElement("img",{alt:"",src:t[e].icon}))})))}},{key:"renderInDropDown",value:function(){var e=this.props,t=e.config,n=e.expanded,r=e.doExpand,i=e.onExpandEvent,a=e.doCollapse,s=e.currentState,l=e.onChange,c=e.translations,d=t.className,p=t.dropdownClassName,f=t.title;return o.a.createElement(Z,{className:u()("rdw-inline-dropdown",d),optionWrapperClassName:u()(p),onChange:l,expanded:n,doExpand:r,doCollapse:a,onExpandEvent:i,"aria-label":"rdw-inline-control",title:f},o.a.createElement("img",{src:C(t),alt:""}),t.options.map((function(e,n){return o.a.createElement(G,{key:n,value:e,className:u()("rdw-inline-dropdownoption",t[e].className),active:!0===s[e]||"MONOSPACE"===e&&s.CODE,title:t[e].title||c["components.controls.inline.".concat(e)]},o.a.createElement("img",{src:t[e].icon,alt:""}))})))}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}])&&J(e.prototype,t),n&&J(e,n),Object.defineProperty(e,"prototype",{writable:!1}),a}();function oe(e){return(oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ie(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ae(e,t){return(ae=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function se(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,r=le(t);if(n){var o=le(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return function(e,t){if(t&&("object"===oe(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,e)}}function le(e){return(le=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}re.propTypes={expanded:a.a.bool,doExpand:a.a.func,doCollapse:a.a.func,onExpandEvent:a.a.func,config:a.a.object,onChange:a.a.func,currentState:a.a.object,translations:a.a.object};var ce=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ae(e,t)}(a,r.Component);var e,t,n,i=se(a);function a(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).onExpandEvent=function(){t.signalExpanded=!t.state.expanded},t.expandCollapse=function(){t.setState({expanded:t.signalExpanded}),t.signalExpanded=!1},t.toggleInlineStyle=function(e){var n="monospace"===e?"CODE":e.toUpperCase(),r=t.props,o=r.editorState,i=r.onChange,a=s.RichUtils.toggleInlineStyle(o,n);if("subscript"===e||"superscript"===e){var l="subscript"===e?"SUPERSCRIPT":"SUBSCRIPT",c=s.Modifier.removeInlineStyle(a.getCurrentContent(),a.getSelection(),l);a=s.EditorState.push(a,c,"change-inline-style")}a&&i(a)},t.changeKeys=function(e){if(e){var t={};return z(e,(function(e,n){t["CODE"===e?"monospace":e.toLowerCase()]=n})),t}},t.doExpand=function(){t.setState({expanded:!0})},t.doCollapse=function(){t.setState({expanded:!1})};var n=t.props,r=n.editorState,o=n.modalHandler;return t.state={currentStyles:r?t.changeKeys(Object(l.getSelectionInlineStyle)(r)):{}},o.registerCallBack(t.expandCollapse),t}return e=a,(t=[{key:"componentDidUpdate",value:function(e){var t=this.props.editorState;t&&t!==e.editorState&&this.setState({currentStyles:this.changeKeys(Object(l.getSelectionInlineStyle)(t))})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var e=this.props,t=e.config,n=e.translations,r=this.state,i=r.expanded,a=r.currentStyles,s=t.component||re;return o.a.createElement(s,{config:t,translations:n,currentState:a,expanded:i,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onChange:this.toggleInlineStyle})}}])&&ie(e.prototype,t),n&&ie(e,n),Object.defineProperty(e,"prototype",{writable:!1}),a}();function ue(e){return(ue="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function de(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function pe(e,t){return(pe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function fe(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,r=he(t);if(n){var o=he(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return function(e,t){if(t&&("object"===ue(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,e)}}function he(e){return(he=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}ce.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object},n(15);var be=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&pe(e,t)}(a,r.Component);var e,t,n,i=fe(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).getBlockTypes=function(e){return[{label:"Normal",displayName:e["components.controls.blocktype.normal"]},{label:"H1",displayName:e["components.controls.blocktype.h1"]},{label:"H2",displayName:e["components.controls.blocktype.h2"]},{label:"H3",displayName:e["components.controls.blocktype.h3"]},{label:"H4",displayName:e["components.controls.blocktype.h4"]},{label:"H5",displayName:e["components.controls.blocktype.h5"]},{label:"H6",displayName:e["components.controls.blocktype.h6"]},{label:"Blockquote",displayName:e["components.controls.blocktype.blockquote"]},{label:"Code",displayName:e["components.controls.blocktype.code"]}]},t.state={blockTypes:t.getBlockTypes(e.translations)},t}return e=a,(t=[{key:"componentDidUpdate",value:function(e){var t=this.props.translations;t!==e.translations&&this.setState({blockTypes:this.getBlockTypes(t)})}},{key:"renderFlat",value:function(e){var t=this.props,n=t.config.className,r=t.onChange,i=t.currentState.blockType;return o.a.createElement("div",{className:u()("rdw-inline-wrapper",n)},e.map((function(e,t){return o.a.createElement(q,{key:t,value:e.label,active:i===e.label,onClick:r},e.displayName)})))}},{key:"renderInDropdown",value:function(e){var t=this.props,n=t.config,r=n.className,i=n.dropdownClassName,a=n.title,s=t.currentState.blockType,l=t.expanded,c=t.doExpand,d=t.onExpandEvent,p=t.doCollapse,f=t.onChange,h=t.translations,b=this.state.blockTypes.filter((function(e){return e.label===s})),A=b&&b[0]&&b[0].displayName;return o.a.createElement("div",{className:"rdw-block-wrapper","aria-label":"rdw-block-control"},o.a.createElement(Z,{className:u()("rdw-block-dropdown",r),optionWrapperClassName:u()(i),onChange:f,expanded:l,doExpand:c,doCollapse:p,onExpandEvent:d,title:a||h["components.controls.blocktype.blocktype"]},o.a.createElement("span",null,A||h["components.controls.blocktype.blocktype"]),e.map((function(e,t){return o.a.createElement(G,{active:s===e.label,value:e.label,key:t},e.displayName)}))))}},{key:"render",value:function(){var e=this.props.config,t=e.inDropdown,n=this.state.blockTypes.filter((function(t){var n=t.label;return-1<e.options.indexOf(n)}));return t?this.renderInDropdown(n):this.renderFlat(n)}}])&&de(e.prototype,t),n&&de(e,n),Object.defineProperty(e,"prototype",{writable:!1}),a}();be.propTypes={expanded:a.a.bool,onExpandEvent:a.a.func,doExpand:a.a.func,doCollapse:a.a.func,onChange:a.a.func,config:a.a.object,currentState:a.a.object,translations:a.a.object};var Ae=be;function me(e){return(me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ge(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ve(e,t){return(ve=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function ye(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,r=Me(t);if(n){var o=Me(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return function(e,t){if(t&&("object"===me(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,e)}}function Me(e){return(Me=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Oe=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ve(e,t)}(a,r.Component);var e,t,n,i=ye(a);function a(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).onExpandEvent=function(){t.signalExpanded=!t.state.expanded},t.expandCollapse=function(){t.setState({expanded:t.signalExpanded}),t.signalExpanded=!1},t.blocksTypes=[{label:"Normal",style:"unstyled"},{label:"H1",style:"header-one"},{label:"H2",style:"header-two"},{label:"H3",style:"header-three"},{label:"H4",style:"header-four"},{label:"H5",style:"header-five"},{label:"H6",style:"header-six"},{label:"Blockquote",style:"blockquote"},{label:"Code",style:"code"}],t.doExpand=function(){t.setState({expanded:!0})},t.doCollapse=function(){t.setState({expanded:!1})},t.toggleBlockType=function(e){var n=t.blocksTypes.find((function(t){return t.label===e})).style,r=t.props,o=r.editorState,i=r.onChange,a=s.RichUtils.toggleBlockType(o,n);a&&i(a)};var n=e.editorState,r=e.modalHandler;return t.state={expanded:!1,currentBlockType:n?Object(l.getSelectedBlocksType)(n):"unstyled"},r.registerCallBack(t.expandCollapse),t}return e=a,(t=[{key:"componentDidUpdate",value:function(e){var t=this.props.editorState;t&&t!==e.editorState&&this.setState({currentBlockType:Object(l.getSelectedBlocksType)(t)})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var e=this.props,t=e.config,n=e.translations,r=this.state,i=r.expanded,a=r.currentBlockType,s=t.component||Ae,l=this.blocksTypes.find((function(e){return e.style===a}));return o.a.createElement(s,{config:t,translations:n,currentState:{blockType:l&&l.label},onChange:this.toggleBlockType,expanded:i,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}])&&ge(e.prototype,t),n&&ge(e,n),Object.defineProperty(e,"prototype",{writable:!1}),a}();Oe.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object,modalHandler:a.a.object,config:a.a.object,translations:a.a.object};var _e=Oe;function ze(e){return(ze="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function xe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function we(e,t){return(we=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Ce(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,r=Se(t);if(n){var o=Se(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return function(e,t){if(t&&("object"===ze(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,e)}}function Se(e){return(Se=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n(16);var Ee=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&we(e,t)}(a,r.Component);var e,t,n,i=Ce(a);function a(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=i.call.apply(i,[this].concat(n))).state={defaultFontSize:void 0},e}return e=a,(t=[{key:"componentDidMount",value:function(){var e=document.getElementsByClassName("DraftEditor-root");if(e&&0<e.length){var t=window.getComputedStyle(e[0]).getPropertyValue("font-size");t=t.substring(0,t.length-2),this.setState({defaultFontSize:t})}}},{key:"render",value:function(){var e=this.props,t=e.config,n=t.icon,r=t.className,i=t.dropdownClassName,a=t.options,s=t.title,l=e.onChange,c=e.expanded,d=e.doCollapse,p=e.onExpandEvent,f=e.doExpand,h=e.translations,b=this.props.currentState.fontSize,A=this.state.defaultFontSize;return A=Number(A),b=b||a&&0<=a.indexOf(A)&&A,o.a.createElement("div",{className:"rdw-fontsize-wrapper","aria-label":"rdw-font-size-control"},o.a.createElement(Z,{className:u()("rdw-fontsize-dropdown",r),optionWrapperClassName:u()(i),onChange:l,expanded:c,doExpand:f,doCollapse:d,onExpandEvent:p,title:s||h["components.controls.fontsize.fontsize"]},b?o.a.createElement("span",null,b):o.a.createElement("img",{src:n,alt:""}),a.map((function(e,t){return o.a.createElement(G,{className:"rdw-fontsize-option",active:b===e,value:e,key:t},e)}))))}}])&&xe(e.prototype,t),n&&xe(e,n),Object.defineProperty(e,"prototype",{writable:!1}),a}();function ke(e){return(ke="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function De(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ne(e,t){return(Ne=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Te(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,r=je(t);if(n){var o=je(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return function(e,t){if(t&&("object"===ke(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,e)}}function je(e){return(je=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Ee.propTypes={expanded:a.a.bool,onExpandEvent:a.a.func,doExpand:a.a.func,doCollapse:a.a.func,onChange:a.a.func,config:a.a.object,currentState:a.a.object,translations:a.a.object};var Be=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ne(e,t)}(a,r.Component);var e,t,n,i=Te(a);function a(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).onExpandEvent=function(){t.signalExpanded=!t.state.expanded},t.expandCollapse=function(){t.setState({expanded:t.signalExpanded}),t.signalExpanded=!1},t.doExpand=function(){t.setState({expanded:!0})},t.doCollapse=function(){t.setState({expanded:!1})},t.toggleFontSize=function(e){var n=t.props,r=n.editorState,o=n.onChange,i=Object(l.toggleCustomInlineStyle)(r,"fontSize",e);i&&o(i)};var n=e.editorState,r=e.modalHandler;return t.state={expanded:void 0,currentFontSize:n?Object(l.getSelectionCustomInlineStyle)(n,["FONTSIZE"]).FONTSIZE:void 0},r.registerCallBack(t.expandCollapse),t}return e=a,(t=[{key:"componentDidUpdate",value:function(e){var t=this.props.editorState;t&&t!==e.editorState&&this.setState({currentFontSize:Object(l.getSelectionCustomInlineStyle)(t,["FONTSIZE"]).FONTSIZE})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var e=this.props,t=e.config,n=e.translations,r=this.state,i=r.expanded,a=r.currentFontSize,s=t.component||Ee,l=a&&Number(a.substring(9));return o.a.createElement(s,{config:t,translations:n,currentState:{fontSize:l},onChange:this.toggleFontSize,expanded:i,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}])&&De(e.prototype,t),n&&De(e,n),Object.defineProperty(e,"prototype",{writable:!1}),a}();function Le(e){return(Le="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Re(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function qe(e,t){return(qe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Pe(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,r=Ie(t);if(n){var o=Ie(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return function(e,t){if(t&&("object"===Le(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,e)}}function Ie(e){return(Ie=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Be.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object,modalHandler:a.a.object,config:a.a.object,translations:a.a.object},n(17);var We=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&qe(e,t)}(a,r.Component);var e,t,n,i=Pe(a);function a(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=i.call.apply(i,[this].concat(n))).state={defaultFontFamily:void 0},e}return e=a,(t=[{key:"componentDidMount",value:function(){var e=document.getElementsByClassName("DraftEditor-root");if(e&&0<e.length){var t=window.getComputedStyle(e[0]).getPropertyValue("font-family");this.setState({defaultFontFamily:t})}}},{key:"render",value:function(){var e=this.state.defaultFontFamily,t=this.props,n=t.config,r=n.className,i=n.dropdownClassName,a=n.options,s=n.title,l=t.translations,c=t.onChange,d=t.expanded,p=t.doCollapse,f=t.onExpandEvent,h=t.doExpand,b=this.props.currentState.fontFamily;return b=b||a&&e&&a.some((function(t){return t.toLowerCase()===e.toLowerCase()}))&&e,o.a.createElement("div",{className:"rdw-fontfamily-wrapper","aria-label":"rdw-font-family-control"},o.a.createElement(Z,{className:u()("rdw-fontfamily-dropdown",r),optionWrapperClassName:u()("rdw-fontfamily-optionwrapper",i),onChange:c,expanded:d,doExpand:h,doCollapse:p,onExpandEvent:f,title:s||l["components.controls.fontfamily.fontfamily"]},o.a.createElement("span",{className:"rdw-fontfamily-placeholder"},b||l["components.controls.fontfamily.fontfamily"]),a.map((function(e,t){return o.a.createElement(G,{active:b===e,value:e,key:t},e)}))))}}])&&Re(e.prototype,t),n&&Re(e,n),Object.defineProperty(e,"prototype",{writable:!1}),a}();We.propTypes={expanded:a.a.bool,onExpandEvent:a.a.func,doExpand:a.a.func,doCollapse:a.a.func,onChange:a.a.func,config:a.a.object,currentState:a.a.object,translations:a.a.object};var Fe=We;function Ue(e){return(Ue="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ze(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function He(e,t){return(He=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function $e(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,r=Ve(t);if(n){var o=Ve(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return function(e,t){if(t&&("object"===Ue(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,e)}}function Ve(e){return(Ve=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Xe=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&He(e,t)}(a,r.Component);var e,t,n,i=$e(a);function a(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).onExpandEvent=function(){t.signalExpanded=!t.state.expanded},t.expandCollapse=function(){t.setState({expanded:t.signalExpanded}),t.signalExpanded=!1},t.doExpand=function(){t.setState({expanded:!0})},t.doCollapse=function(){t.setState({expanded:!1})},t.toggleFontFamily=function(e){var n=t.props,r=n.editorState,o=n.onChange,i=Object(l.toggleCustomInlineStyle)(r,"fontFamily",e);i&&o(i)};var n=e.editorState,r=e.modalHandler;return t.state={expanded:void 0,currentFontFamily:n?Object(l.getSelectionCustomInlineStyle)(n,["FONTFAMILY"]).FONTFAMILY:void 0},r.registerCallBack(t.expandCollapse),t}return e=a,(t=[{key:"componentDidUpdate",value:function(e){var t=this.props.editorState;t&&t!==e.editorState&&this.setState({currentFontFamily:Object(l.getSelectionCustomInlineStyle)(t,["FONTFAMILY"]).FONTFAMILY})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var e=this.props,t=e.config,n=e.translations,r=this.state,i=r.expanded,a=r.currentFontFamily,s=t.component||Fe,l=a&&a.substring(11);return o.a.createElement(s,{translations:n,config:t,currentState:{fontFamily:l},onChange:this.toggleFontFamily,expanded:i,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}])&&Ze(e.prototype,t),n&&Ze(e,n),Object.defineProperty(e,"prototype",{writable:!1}),a}();function Qe(e){return(Qe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ye(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ge(e,t){return(Ge=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Ke(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,r=Je(t);if(n){var o=Je(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return function(e,t){if(t&&("object"===Qe(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,e)}}function Je(e){return(Je=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Xe.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object,modalHandler:a.a.object,config:a.a.object,translations:a.a.object},n(18);var et=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ge(e,t)}(a,r.Component);var e,t,n,i=Ke(a);function a(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=i.call.apply(i,[this].concat(n))).options=["unordered","ordered","indent","outdent"],e.toggleBlockType=function(t){(0,e.props.onChange)(t)},e.indent=function(){(0,e.props.onChange)("indent")},e.outdent=function(){(0,e.props.onChange)("outdent")},e}return e=a,(t=[{key:"renderInFlatList",value:function(){var e=this.props,t=e.config,n=e.currentState.listType,r=e.translations,i=e.indentDisabled,a=e.outdentDisabled,s=t.options,l=t.unordered,c=t.ordered,d=t.indent,p=t.outdent,f=t.className;return o.a.createElement("div",{className:u()("rdw-list-wrapper",f),"aria-label":"rdw-list-control"},0<=s.indexOf("unordered")&&o.a.createElement(q,{value:"unordered",onClick:this.toggleBlockType,className:u()(l.className),active:"unordered"===n,title:l.title||r["components.controls.list.unordered"]},o.a.createElement("img",{src:l.icon,alt:""})),0<=s.indexOf("ordered")&&o.a.createElement(q,{value:"ordered",onClick:this.toggleBlockType,className:u()(c.className),active:"ordered"===n,title:c.title||r["components.controls.list.ordered"]},o.a.createElement("img",{src:c.icon,alt:""})),0<=s.indexOf("indent")&&o.a.createElement(q,{onClick:this.indent,disabled:i,className:u()(d.className),title:d.title||r["components.controls.list.indent"]},o.a.createElement("img",{src:d.icon,alt:""})),0<=s.indexOf("outdent")&&o.a.createElement(q,{onClick:this.outdent,disabled:a,className:u()(p.className),title:p.title||r["components.controls.list.outdent"]},o.a.createElement("img",{src:p.icon,alt:""})))}},{key:"renderInDropDown",value:function(){var e=this,t=this.props,n=t.config,r=t.expanded,i=t.doCollapse,a=t.doExpand,s=t.onExpandEvent,l=t.onChange,c=t.currentState.listType,d=t.translations,p=n.options,f=n.className,h=n.dropdownClassName,b=n.title;return o.a.createElement(Z,{className:u()("rdw-list-dropdown",f),optionWrapperClassName:u()(h),onChange:l,expanded:r,doExpand:a,doCollapse:i,onExpandEvent:s,"aria-label":"rdw-list-control",title:b||d["components.controls.list.list"]},o.a.createElement("img",{src:C(n),alt:""}),this.options.filter((function(e){return 0<=p.indexOf(e)})).map((function(t,r){return o.a.createElement(G,{key:r,value:t,disabled:e.props["".concat(t,"Disabled")],className:u()("rdw-list-dropdownOption",n[t].className),active:c===t,title:n[t].title||d["components.controls.list.".concat(t)]},o.a.createElement("img",{src:n[t].icon,alt:""}))})))}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}])&&Ye(e.prototype,t),n&&Ye(e,n),Object.defineProperty(e,"prototype",{writable:!1}),a}();function tt(e){return(tt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function nt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function rt(e,t){return(rt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function ot(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,r=it(t);if(n){var o=it(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return function(e,t){if(t&&("object"===tt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,e)}}function it(e){return(it=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}et.propTypes={expanded:a.a.bool,doExpand:a.a.func,doCollapse:a.a.func,onExpandEvent:a.a.func,config:a.a.object,onChange:a.a.func,currentState:a.a.object,translations:a.a.object,indentDisabled:a.a.bool,outdentDisabled:a.a.bool};var at=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&rt(e,t)}(a,r.Component);var e,t,n,i=ot(a);function a(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).onExpandEvent=function(){t.signalExpanded=!t.state.expanded},t.onChange=function(e){"unordered"===e?t.toggleBlockType("unordered-list-item"):"ordered"===e?t.toggleBlockType("ordered-list-item"):"indent"===e?t.adjustDepth(1):t.adjustDepth(-1)},t.expandCollapse=function(){t.setState({expanded:t.signalExpanded}),t.signalExpanded=!1},t.doExpand=function(){t.setState({expanded:!0})},t.doCollapse=function(){t.setState({expanded:!1})},t.toggleBlockType=function(e){var n=t.props,r=n.onChange,o=n.editorState,i=s.RichUtils.toggleBlockType(o,e);i&&r(i)},t.adjustDepth=function(e){var n=t.props,r=n.onChange,o=n.editorState,i=Object(l.changeDepth)(o,e,4);i&&r(i)},t.isIndentDisabled=function(){var e=t.props.editorState,n=t.state.currentBlock,r=Object(l.getBlockBeforeSelectedBlock)(e);return!r||!Object(l.isListBlock)(n)||r.get("type")!==n.get("type")||r.get("depth")<n.get("depth")},t.isOutdentDisabled=function(){var e=t.state.currentBlock;return!e||!Object(l.isListBlock)(e)||e.get("depth")<=0};var n=t.props,r=n.editorState,o=n.modalHandler;return t.state={expanded:!1,currentBlock:r?Object(l.getSelectedBlock)(r):void 0},o.registerCallBack(t.expandCollapse),t}return e=a,(t=[{key:"componentDidUpdate",value:function(e){var t=this.props.editorState;t&&t!==e.editorState&&this.setState({currentBlock:Object(l.getSelectedBlock)(t)})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var e,t=this.props,n=t.config,r=t.translations,i=this.state,a=i.expanded,s=i.currentBlock,l=n.component||et;"unordered-list-item"===s.get("type")?e="unordered":"ordered-list-item"===s.get("type")&&(e="ordered");var c=this.isIndentDisabled(),u=this.isOutdentDisabled();return o.a.createElement(l,{config:n,translations:r,currentState:{listType:e},expanded:a,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onChange:this.onChange,indentDisabled:c,outdentDisabled:u})}}])&&nt(e.prototype,t),n&&nt(e,n),Object.defineProperty(e,"prototype",{writable:!1}),a}();function st(e){return(st="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function lt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ct(e,t){return(ct=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function ut(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,r=dt(t);if(n){var o=dt(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return function(e,t){if(t&&("object"===st(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,e)}}function dt(e){return(dt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}at.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object},n(19);var pt=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ct(e,t)}(a,r.Component);var e,t,n,i=ut(a);function a(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),i.apply(this,arguments)}return e=a,(t=[{key:"renderInFlatList",value:function(){var e=this.props,t=e.config,n=t.options,r=t.left,i=t.center,a=t.right,s=t.justify,l=t.className,c=e.onChange,d=e.currentState.textAlignment,p=e.translations;return o.a.createElement("div",{className:u()("rdw-text-align-wrapper",l),"aria-label":"rdw-textalign-control"},0<=n.indexOf("left")&&o.a.createElement(q,{value:"left",className:u()(r.className),active:"left"===d,onClick:c,title:r.title||p["components.controls.textalign.left"]},o.a.createElement("img",{src:r.icon,alt:""})),0<=n.indexOf("center")&&o.a.createElement(q,{value:"center",className:u()(i.className),active:"center"===d,onClick:c,title:i.title||p["components.controls.textalign.center"]},o.a.createElement("img",{src:i.icon,alt:""})),0<=n.indexOf("right")&&o.a.createElement(q,{value:"right",className:u()(a.className),active:"right"===d,onClick:c,title:a.title||p["components.controls.textalign.right"]},o.a.createElement("img",{src:a.icon,alt:""})),0<=n.indexOf("justify")&&o.a.createElement(q,{value:"justify",className:u()(s.className),active:"justify"===d,onClick:c,title:s.title||p["components.controls.textalign.justify"]},o.a.createElement("img",{src:s.icon,alt:""})))}},{key:"renderInDropDown",value:function(){var e=this.props,t=e.config,n=e.expanded,r=e.doExpand,i=e.onExpandEvent,a=e.doCollapse,s=e.currentState.textAlignment,l=e.onChange,c=e.translations,d=t.options,p=t.left,f=t.center,h=t.right,b=t.justify,A=t.className,m=t.dropdownClassName,g=t.title;return o.a.createElement(Z,{className:u()("rdw-text-align-dropdown",A),optionWrapperClassName:u()(m),onChange:l,expanded:n,doExpand:r,doCollapse:a,onExpandEvent:i,"aria-label":"rdw-textalign-control",title:g||c["components.controls.textalign.textalign"]},o.a.createElement("img",{src:s&&t[s]&&t[s].icon||C(t),alt:""}),0<=d.indexOf("left")&&o.a.createElement(G,{value:"left",active:"left"===s,className:u()("rdw-text-align-dropdownOption",p.className),title:p.title||c["components.controls.textalign.left"]},o.a.createElement("img",{src:p.icon,alt:""})),0<=d.indexOf("center")&&o.a.createElement(G,{value:"center",active:"center"===s,className:u()("rdw-text-align-dropdownOption",f.className),title:f.title||c["components.controls.textalign.center"]},o.a.createElement("img",{src:f.icon,alt:""})),0<=d.indexOf("right")&&o.a.createElement(G,{value:"right",active:"right"===s,className:u()("rdw-text-align-dropdownOption",h.className),title:h.title||c["components.controls.textalign.right"]},o.a.createElement("img",{src:h.icon,alt:""})),0<=d.indexOf("justify")&&o.a.createElement(G,{value:"justify",active:"justify"===s,className:u()("rdw-text-align-dropdownOption",b.className),title:b.title||c["components.controls.textalign.justify"]},o.a.createElement("img",{src:b.icon,alt:""})))}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}])&&lt(e.prototype,t),n&&lt(e,n),Object.defineProperty(e,"prototype",{writable:!1}),a}();function ft(e){return(ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ht(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function bt(e,t){return(bt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function At(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,r=mt(t);if(n){var o=mt(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return function(e,t){if(t&&("object"===ft(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,e)}}function mt(e){return(mt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}pt.propTypes={expanded:a.a.bool,doExpand:a.a.func,doCollapse:a.a.func,onExpandEvent:a.a.func,config:a.a.object,onChange:a.a.func,currentState:a.a.object,translations:a.a.object};var gt=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&bt(e,t)}(a,r.Component);var e,t,n,i=At(a);function a(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).onExpandEvent=function(){t.signalExpanded=!t.state.expanded},t.expandCollapse=function(){t.setState({expanded:t.signalExpanded}),t.signalExpanded=!1},t.doExpand=function(){t.setState({expanded:!0})},t.doCollapse=function(){t.setState({expanded:!1})},t.addBlockAlignmentData=function(e){var n=t.props,r=n.editorState;(0,n.onChange)(t.state.currentTextAlignment!==e?Object(l.setBlockData)(r,{"text-align":e}):Object(l.setBlockData)(r,{"text-align":void 0}))};var n=t.props.modalHandler;return t.state={currentTextAlignment:void 0},n.registerCallBack(t.expandCollapse),t}return e=a,(t=[{key:"componentDidUpdate",value:function(e){var t=this.props.editorState;t!==e.editorState&&this.setState({currentTextAlignment:Object(l.getSelectedBlocksMetadata)(t).get("text-align")})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var e=this.props,t=e.config,n=e.translations,r=this.state,i=r.expanded,a=r.currentTextAlignment,s=t.component||pt;return o.a.createElement(s,{config:t,translations:n,expanded:i,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,currentState:{textAlignment:a},onChange:this.addBlockAlignmentData})}}])&&ht(e.prototype,t),n&&ht(e,n),Object.defineProperty(e,"prototype",{writable:!1}),a}();function vt(e){return(vt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function yt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Mt(e,t){return(Mt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Ot(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,r=_t(t);if(n){var o=_t(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return function(e,t){if(t&&("object"===vt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,e)}}function _t(e){return(_t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}gt.propTypes={editorState:a.a.object.isRequired,onChange:a.a.func.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object},n(20);var zt=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Mt(e,t)}(a,r.Component);var e,t,n,i=Ot(a);function a(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=i.call.apply(i,[this].concat(n))).state={currentStyle:"color"},e.onChange=function(t){(0,e.props.onChange)(e.state.currentStyle,t)},e.setCurrentStyleColor=function(){e.setState({currentStyle:"color"})},e.setCurrentStyleBgcolor=function(){e.setState({currentStyle:"bgcolor"})},e.renderModal=function(){var t=e.props,n=t.config,r=n.popupClassName,i=n.colors,a=t.currentState,s=a.color,l=a.bgColor,c=t.translations,d=e.state.currentStyle,p="color"===d?s:l;return o.a.createElement("div",{className:u()("rdw-colorpicker-modal",r),onClick:w},o.a.createElement("span",{className:"rdw-colorpicker-modal-header"},o.a.createElement("span",{className:u()("rdw-colorpicker-modal-style-label",{"rdw-colorpicker-modal-style-label-active":"color"===d}),onClick:e.setCurrentStyleColor},c["components.controls.colorpicker.text"]),o.a.createElement("span",{className:u()("rdw-colorpicker-modal-style-label",{"rdw-colorpicker-modal-style-label-active":"bgcolor"===d}),onClick:e.setCurrentStyleBgcolor},c["components.controls.colorpicker.background"])),o.a.createElement("span",{className:"rdw-colorpicker-modal-options"},i.map((function(t,n){return o.a.createElement(q,{value:t,key:n,className:"rdw-colorpicker-option",activeClassName:"rdw-colorpicker-option-active",active:p===t,onClick:e.onChange},o.a.createElement("span",{style:{backgroundColor:t},className:"rdw-colorpicker-cube"}))}))))},e}return e=a,(t=[{key:"componentDidUpdate",value:function(e){this.props.expanded&&!e.expanded&&this.setState({currentStyle:"color"})}},{key:"render",value:function(){var e=this.props,t=e.config,n=t.icon,r=t.className,i=t.title,a=e.expanded,s=e.onExpandEvent,l=e.translations;return o.a.createElement("div",{className:"rdw-colorpicker-wrapper","aria-haspopup":"true","aria-expanded":a,"aria-label":"rdw-color-picker",title:i||l["components.controls.colorpicker.colorpicker"]},o.a.createElement(q,{onClick:s,className:u()(r)},o.a.createElement("img",{src:n,alt:""})),a?this.renderModal():void 0)}}])&&yt(e.prototype,t),n&&yt(e,n),Object.defineProperty(e,"prototype",{writable:!1}),a}();zt.propTypes={expanded:a.a.bool,onExpandEvent:a.a.func,onChange:a.a.func,config:a.a.object,currentState:a.a.object,translations:a.a.object};var xt=zt;function wt(e){return(wt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ct(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function St(e,t){return(St=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Et(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,r=kt(t);if(n){var o=kt(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return function(e,t){if(t&&("object"===wt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,e)}}function kt(e){return(kt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Dt=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&St(e,t)}(a,r.Component);var e,t,n,i=Et(a);function a(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).state={expanded:!1,currentColor:void 0,currentBgColor:void 0},t.onExpandEvent=function(){t.signalExpanded=!t.state.expanded},t.expandCollapse=function(){t.setState({expanded:t.signalExpanded}),t.signalExpanded=!1},t.doExpand=function(){t.setState({expanded:!0})},t.doCollapse=function(){t.setState({expanded:!1})},t.toggleColor=function(e,n){var r=t.props,o=r.editorState,i=r.onChange,a=Object(l.toggleCustomInlineStyle)(o,e,n);a&&i(a),t.doCollapse()};var n=e.editorState,r=e.modalHandler,o={expanded:!1,currentColor:void 0,currentBgColor:void 0};return n&&(o.currentColor=Object(l.getSelectionCustomInlineStyle)(n,["COLOR"]).COLOR,o.currentBgColor=Object(l.getSelectionCustomInlineStyle)(n,["BGCOLOR"]).BGCOLOR),t.state=o,r.registerCallBack(t.expandCollapse),t}return e=a,(t=[{key:"componentDidUpdate",value:function(e){var t=this.props.editorState;t&&t!==e.editorState&&this.setState({currentColor:Object(l.getSelectionCustomInlineStyle)(t,["COLOR"]).COLOR,currentBgColor:Object(l.getSelectionCustomInlineStyle)(t,["BGCOLOR"]).BGCOLOR})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var e=this.props,t=e.config,n=e.translations,r=this.state,i=r.currentColor,a=r.currentBgColor,s=r.expanded,l=t.component||xt,c=i&&i.substring(6),u=a&&a.substring(8);return o.a.createElement(l,{config:t,translations:n,onChange:this.toggleColor,expanded:s,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,currentState:{color:c,bgColor:u}})}}])&&Ct(e.prototype,t),n&&Ct(e,n),Object.defineProperty(e,"prototype",{writable:!1}),a}();Dt.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object};var Nt=Dt,Tt=n(7),jt=n.n(Tt);function Bt(e){return(Bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Lt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Rt(e,t){return(Rt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function qt(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,r=Pt(t);if(n){var o=Pt(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return function(e,t){if(t&&("object"===Bt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,e)}}function Pt(e){return(Pt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n(26);var It=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Rt(e,t)}(a,r.Component);var e,t,n,i=qt(a);function a(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=i.call.apply(i,[this].concat(n))).state={showModal:!1,linkTarget:"",linkTitle:"",linkTargetOption:e.props.config.defaultTargetOption},e.removeLink=function(){(0,e.props.onChange)("unlink")},e.addLink=function(){var t=e.props.onChange,n=e.state;t("link",n.linkTitle,n.linkTarget,n.linkTargetOption)},e.updateValue=function(t){var n,r,o;e.setState((n={},r="".concat(t.target.name),o=t.target.value,r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n))},e.updateTargetOption=function(t){e.setState({linkTargetOption:t.target.checked?"_blank":"_self"})},e.hideModal=function(){e.setState({showModal:!1})},e.signalExpandShowModal=function(){var t=e.props,n=t.onExpandEvent,r=t.currentState,o=r.link,i=r.selectionText,a=e.state.linkTargetOption;n(),e.setState({showModal:!0,linkTarget:o&&o.target||"",linkTargetOption:o&&o.targetOption||a,linkTitle:o&&o.title||i})},e.forceExpandAndShowModal=function(){var t=e.props,n=t.doExpand,r=t.currentState,o=r.link,i=r.selectionText,a=e.state.linkTargetOption;n(),e.setState({showModal:!0,linkTarget:o&&o.target,linkTargetOption:o&&o.targetOption||a,linkTitle:o&&o.title||i})},e}return e=a,(t=[{key:"componentDidUpdate",value:function(e){e.expanded&&!this.props.expanded&&this.setState({showModal:!1,linkTarget:"",linkTitle:"",linkTargetOption:this.props.config.defaultTargetOption})}},{key:"renderAddLinkModal",value:function(){var e=this.props,t=e.config.popupClassName,n=e.doCollapse,r=e.translations,i=this.state,a=i.linkTitle,s=i.linkTarget,l=i.linkTargetOption;return o.a.createElement("div",{className:u()("rdw-link-modal",t),onClick:w},o.a.createElement("label",{className:"rdw-link-modal-label",htmlFor:"linkTitle"},r["components.controls.link.linkTitle"]),o.a.createElement("input",{id:"linkTitle",className:"rdw-link-modal-input",onChange:this.updateValue,onBlur:this.updateValue,name:"linkTitle",value:a}),o.a.createElement("label",{className:"rdw-link-modal-label",htmlFor:"linkTarget"},r["components.controls.link.linkTarget"]),o.a.createElement("input",{id:"linkTarget",className:"rdw-link-modal-input",onChange:this.updateValue,onBlur:this.updateValue,name:"linkTarget",value:s}),o.a.createElement("label",{className:"rdw-link-modal-target-option",htmlFor:"openLinkInNewWindow"},o.a.createElement("input",{id:"openLinkInNewWindow",type:"checkbox",defaultChecked:"_blank"===l,value:"_blank",onChange:this.updateTargetOption}),o.a.createElement("span",null,r["components.controls.link.linkTargetOption"])),o.a.createElement("span",{className:"rdw-link-modal-buttonsection"},o.a.createElement("button",{className:"rdw-link-modal-btn",onClick:this.addLink,disabled:!s||!a},r["generic.add"]),o.a.createElement("button",{className:"rdw-link-modal-btn",onClick:n},r["generic.cancel"])))}},{key:"renderInFlatList",value:function(){var e=this.props,t=e.config,n=t.options,r=t.link,i=t.unlink,a=t.className,s=e.currentState,l=e.expanded,c=e.translations,d=this.state.showModal;return o.a.createElement("div",{className:u()("rdw-link-wrapper",a),"aria-label":"rdw-link-control"},0<=n.indexOf("link")&&o.a.createElement(q,{value:"unordered-list-item",className:u()(r.className),onClick:this.signalExpandShowModal,"aria-haspopup":"true","aria-expanded":d,title:r.title||c["components.controls.link.link"]},o.a.createElement("img",{src:r.icon,alt:""})),0<=n.indexOf("unlink")&&o.a.createElement(q,{disabled:!s.link,value:"ordered-list-item",className:u()(i.className),onClick:this.removeLink,title:i.title||c["components.controls.link.unlink"]},o.a.createElement("img",{src:i.icon,alt:""})),l&&d?this.renderAddLinkModal():void 0)}},{key:"renderInDropDown",value:function(){var e=this.props,t=e.expanded,n=e.onExpandEvent,r=e.doCollapse,i=e.doExpand,a=e.onChange,s=e.config,l=e.currentState,c=e.translations,d=s.options,p=s.link,f=s.unlink,h=s.className,b=s.dropdownClassName,A=s.title,m=this.state.showModal;return o.a.createElement("div",{className:"rdw-link-wrapper","aria-haspopup":"true","aria-label":"rdw-link-control","aria-expanded":t,title:A},o.a.createElement(Z,{className:u()("rdw-link-dropdown",h),optionWrapperClassName:u()(b),onChange:a,expanded:t&&!m,doExpand:i,doCollapse:r,onExpandEvent:n},o.a.createElement("img",{src:C(s),alt:""}),0<=d.indexOf("link")&&o.a.createElement(G,{onClick:this.forceExpandAndShowModal,className:u()("rdw-link-dropdownoption",p.className),title:p.title||c["components.controls.link.link"]},o.a.createElement("img",{src:p.icon,alt:""})),0<=d.indexOf("unlink")&&o.a.createElement(G,{onClick:this.removeLink,disabled:!l.link,className:u()("rdw-link-dropdownoption",f.className),title:f.title||c["components.controls.link.unlink"]},o.a.createElement("img",{src:f.icon,alt:""}))),t&&m?this.renderAddLinkModal():void 0)}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}])&&Lt(e.prototype,t),n&&Lt(e,n),Object.defineProperty(e,"prototype",{writable:!1}),a}();It.propTypes={expanded:a.a.bool,doExpand:a.a.func,doCollapse:a.a.func,onExpandEvent:a.a.func,config:a.a.object,onChange:a.a.func,currentState:a.a.object,translations:a.a.object};var Wt=It;function Ft(e){return(Ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ut(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Zt(e,t){return(Zt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Ht(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,r=$t(t);if(n){var o=$t(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return function(e,t){if(t&&("object"===Ft(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,e)}}function $t(e){return($t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Vt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Xt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vt(Object(n),!0).forEach((function(t){Qt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Qt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yt(e){var t=Gt.match(e.target);return Xt(Xt({},e),{},{target:t&&t[0]&&t[0].url||e.target})}var Gt=jt()(),Kt=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Zt(e,t)}(a,r.Component);var e,t,n,i=Ht(a);function a(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).onExpandEvent=function(){t.signalExpanded=!t.state.expanded},t.onChange=function(e,n,r,o){var i=t.props.config.linkCallback;if("link"===e){var a=(i||Yt)({title:n,target:r,targetOption:o});t.addLink(a.title,a.target,a.targetOption)}else t.removeLink()},t.getCurrentValues=function(){var e=t.props.editorState,n=t.state.currentEntity,r=e.getCurrentContent(),o={};if(n&&"LINK"===r.getEntity(n).get("type")){o.link={};var i=n&&Object(l.getEntityRange)(e,n);o.link.target=n&&r.getEntity(n).get("data").url,o.link.targetOption=n&&r.getEntity(n).get("data").targetOption,o.link.title=i&&i.text}return o.selectionText=Object(l.getSelectionText)(e),o},t.doExpand=function(){t.setState({expanded:!0})},t.expandCollapse=function(){t.setState({expanded:t.signalExpanded}),t.signalExpanded=!1},t.doCollapse=function(){t.setState({expanded:!1})},t.removeLink=function(){var e=t.props,n=e.editorState,r=e.onChange,o=t.state.currentEntity,i=n.getSelection();if(o){var a=Object(l.getEntityRange)(n,o);i=i.getIsBackward()?i.merge({anchorOffset:a.end,focusOffset:a.start}):i.merge({anchorOffset:a.start,focusOffset:a.end}),r(s.RichUtils.toggleLink(n,i,null))}},t.addLink=function(e,n,r){var o=t.props,i=o.editorState,a=o.onChange,c=t.state.currentEntity,u=i.getSelection();if(c){var d=Object(l.getEntityRange)(i,c);u=u.getIsBackward()?u.merge({anchorOffset:d.end,focusOffset:d.start}):u.merge({anchorOffset:d.start,focusOffset:d.end})}var p=i.getCurrentContent().createEntity("LINK","MUTABLE",{url:n,targetOption:r}).getLastCreatedEntityKey(),f=s.Modifier.replaceText(i.getCurrentContent(),u,"".concat(e),i.getCurrentInlineStyle(),p),h=s.EditorState.push(i,f,"insert-characters");u=h.getSelection().merge({anchorOffset:u.get("anchorOffset")+e.length,focusOffset:u.get("anchorOffset")+e.length}),h=s.EditorState.acceptSelection(h,u),f=s.Modifier.insertText(h.getCurrentContent(),u," ",h.getCurrentInlineStyle(),void 0),a(s.EditorState.push(h,f,"insert-characters")),t.doCollapse()};var n=t.props,r=n.editorState,o=n.modalHandler;return t.state={expanded:!1,link:void 0,selectionText:void 0,currentEntity:r?Object(l.getSelectionEntity)(r):void 0},o.registerCallBack(t.expandCollapse),t}return e=a,(t=[{key:"componentDidUpdate",value:function(e){var t=this.props.editorState;t&&t!==e.editorState&&this.setState({currentEntity:Object(l.getSelectionEntity)(t)})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var e=this.props,t=e.config,n=e.translations,r=this.state.expanded,i=this.getCurrentValues(),a=i.link,s=i.selectionText,l=t.component||Wt;return o.a.createElement(l,{config:t,translations:n,expanded:r,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,currentState:{link:a,selectionText:s},onChange:this.onChange})}}])&&Ut(e.prototype,t),n&&Ut(e,n),Object.defineProperty(e,"prototype",{writable:!1}),a}();Kt.propTypes={editorState:a.a.object.isRequired,onChange:a.a.func.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object};var Jt=Kt;function en(e){return(en="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function tn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function nn(e,t){return(nn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function rn(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,r=on(t);if(n){var o=on(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return function(e,t){if(t&&("object"===en(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,e)}}function on(e){return(on=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n(27);var an=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&nn(e,t)}(a,r.Component);var e,t,n,i=rn(a);function a(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=i.call.apply(i,[this].concat(n))).state={embeddedLink:"",height:e.props.config.defaultSize.height,width:e.props.config.defaultSize.width},e.onChange=function(){var t=e.props.onChange,n=e.state;t(n.embeddedLink,n.height,n.width)},e.updateValue=function(t){var n,r,o;e.setState((n={},r="".concat(t.target.name),o=t.target.value,r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n))},e}return e=a,(t=[{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.expanded,r=t.config;if(!n&&e.expanded){var o=r.defaultSize,i=o.height,a=o.width;this.setState({embeddedLink:"",height:i,width:a})}}},{key:"rendeEmbeddedLinkModal",value:function(){var e=this.state,t=e.embeddedLink,n=e.height,r=e.width,i=this.props,a=i.config.popupClassName,s=i.doCollapse,l=i.translations;return o.a.createElement("div",{className:u()("rdw-embedded-modal",a),onClick:w},o.a.createElement("div",{className:"rdw-embedded-modal-header"},o.a.createElement("span",{className:"rdw-embedded-modal-header-option"},l["components.controls.embedded.embeddedlink"],o.a.createElement("span",{className:"rdw-embedded-modal-header-label"}))),o.a.createElement("div",{className:"rdw-embedded-modal-link-section"},o.a.createElement("span",{className:"rdw-embedded-modal-link-input-wrapper"},o.a.createElement("input",{className:"rdw-embedded-modal-link-input",placeholder:l["components.controls.embedded.enterlink"],onChange:this.updateValue,onBlur:this.updateValue,value:t,name:"embeddedLink"}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")),o.a.createElement("div",{className:"rdw-embedded-modal-size"},o.a.createElement("span",null,o.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:n,name:"height",className:"rdw-embedded-modal-size-input",placeholder:"Height"}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")),o.a.createElement("span",null,o.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:r,name:"width",className:"rdw-embedded-modal-size-input",placeholder:"Width"}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")))),o.a.createElement("span",{className:"rdw-embedded-modal-btn-section"},o.a.createElement("button",{type:"button",className:"rdw-embedded-modal-btn",onClick:this.onChange,disabled:!t||!n||!r},l["generic.add"]),o.a.createElement("button",{type:"button",className:"rdw-embedded-modal-btn",onClick:s},l["generic.cancel"])))}},{key:"render",value:function(){var e=this.props,t=e.config,n=t.icon,r=t.className,i=t.title,a=e.expanded,s=e.onExpandEvent,l=e.translations;return o.a.createElement("div",{className:"rdw-embedded-wrapper","aria-haspopup":"true","aria-expanded":a,"aria-label":"rdw-embedded-control"},o.a.createElement(q,{className:u()(r),value:"unordered-list-item",onClick:s,title:i||l["components.controls.embedded.embedded"]},o.a.createElement("img",{src:n,alt:""})),a?this.rendeEmbeddedLinkModal():void 0)}}])&&tn(e.prototype,t),n&&tn(e,n),Object.defineProperty(e,"prototype",{writable:!1}),a}();an.propTypes={expanded:a.a.bool,onExpandEvent:a.a.func,onChange:a.a.func,config:a.a.object,translations:a.a.object,doCollapse:a.a.func};var sn=an;function ln(e){return(ln="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function cn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function un(e,t){return(un=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function dn(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,r=pn(t);if(n){var o=pn(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return function(e,t){if(t&&("object"===ln(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,e)}}function pn(e){return(pn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var fn=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&un(e,t)}(a,r.Component);var e,t,n,i=dn(a);function a(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=i.call.apply(i,[this].concat(n))).state={expanded:!1},e.onExpandEvent=function(){e.signalExpanded=!e.state.expanded},e.expandCollapse=function(){e.setState({expanded:e.signalExpanded}),e.signalExpanded=!1},e.doExpand=function(){e.setState({expanded:!0})},e.doCollapse=function(){e.setState({expanded:!1})},e.addEmbeddedLink=function(t,n,r){var o=e.props,i=o.editorState,a=o.onChange,l=o.config.embedCallback,c=l?l(t):t,u=i.getCurrentContent().createEntity("EMBEDDED_LINK","MUTABLE",{src:c,height:n,width:r}).getLastCreatedEntityKey();a(s.AtomicBlockUtils.insertAtomicBlock(i,u," ")),e.doCollapse()},e}return e=a,(t=[{key:"componentDidMount",value:function(){this.props.modalHandler.registerCallBack(this.expandCollapse)}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var e=this.props,t=e.config,n=e.translations,r=this.state.expanded,i=t.component||sn;return o.a.createElement(i,{config:t,translations:n,onChange:this.addEmbeddedLink,expanded:r,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}])&&cn(e.prototype,t),n&&cn(e,n),Object.defineProperty(e,"prototype",{writable:!1}),a}();fn.propTypes={editorState:a.a.object.isRequired,onChange:a.a.func.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object};var hn=fn;function bn(e){return(bn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function An(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function mn(e,t){return(mn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function gn(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,r=vn(t);if(n){var o=vn(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return function(e,t){if(t&&("object"===bn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,e)}}function vn(e){return(vn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n(28);var yn=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&mn(e,t)}(a,r.Component);var e,t,n,i=gn(a);function a(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=i.call.apply(i,[this].concat(n))).onChange=function(t){(0,e.props.onChange)(t.target.innerHTML)},e}return e=a,(t=[{key:"renderEmojiModal",value:function(){var e=this,t=this.props.config,n=t.popupClassName,r=t.emojis;return o.a.createElement("div",{className:u()("rdw-emoji-modal",n),onClick:w},r.map((function(t,n){return o.a.createElement("span",{key:n,className:"rdw-emoji-icon",alt:"",onClick:e.onChange},t)})))}},{key:"render",value:function(){var e=this.props,t=e.config,n=t.icon,r=t.className,i=t.title,a=e.expanded,s=e.onExpandEvent,l=e.translations;return o.a.createElement("div",{className:"rdw-emoji-wrapper","aria-haspopup":"true","aria-label":"rdw-emoji-control","aria-expanded":a,title:i||l["components.controls.emoji.emoji"]},o.a.createElement(q,{className:u()(r),value:"unordered-list-item",onClick:s},o.a.createElement("img",{src:n,alt:""})),a?this.renderEmojiModal():void 0)}}])&&An(e.prototype,t),n&&An(e,n),Object.defineProperty(e,"prototype",{writable:!1}),a}();yn.propTypes={expanded:a.a.bool,onExpandEvent:a.a.func,onChange:a.a.func,config:a.a.object,translations:a.a.object};var Mn=yn;function On(e){return(On="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function zn(e,t){return(zn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function xn(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,r=wn(t);if(n){var o=wn(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return function(e,t){if(t&&("object"===On(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,e)}}function wn(e){return(wn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Cn=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&zn(e,t)}(a,r.Component);var e,t,n,i=xn(a);function a(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=i.call.apply(i,[this].concat(n))).state={expanded:!1},e.onExpandEvent=function(){e.signalExpanded=!e.state.expanded},e.expandCollapse=function(){e.setState({expanded:e.signalExpanded}),e.signalExpanded=!1},e.doExpand=function(){e.setState({expanded:!0})},e.doCollapse=function(){e.setState({expanded:!1})},e.addEmoji=function(t){var n=e.props,r=n.editorState,o=n.onChange,i=s.Modifier.replaceText(r.getCurrentContent(),r.getSelection(),t,r.getCurrentInlineStyle());o(s.EditorState.push(r,i,"insert-characters")),e.doCollapse()},e}return e=a,(t=[{key:"componentDidMount",value:function(){this.props.modalHandler.registerCallBack(this.expandCollapse)}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var e=this.props,t=e.config,n=e.translations,r=this.state.expanded,i=t.component||Mn;return o.a.createElement(i,{config:t,translations:n,onChange:this.addEmoji,expanded:r,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onCollpase:this.closeModal})}}])&&_n(e.prototype,t),n&&_n(e,n),Object.defineProperty(e,"prototype",{writable:!1}),a}();function Sn(){return o.a.createElement("div",{className:"rdw-spinner"},o.a.createElement("div",{className:"rdw-bounce1"}),o.a.createElement("div",{className:"rdw-bounce2"}),o.a.createElement("div",{className:"rdw-bounce3"}))}function En(e){return(En="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function kn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Dn(e,t){return(Dn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Nn(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,r=Tn(t);if(n){var o=Tn(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return function(e,t){if(t&&("object"===En(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,e)}}function Tn(e){return(Tn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Cn.propTypes={editorState:a.a.object.isRequired,onChange:a.a.func.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object},n(29),n(30);var jn=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Dn(e,t)}(a,r.Component);var e,t,n,i=Nn(a);function a(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=i.call.apply(i,[this].concat(n))).state={imgSrc:"",dragEnter:!1,uploadHighlighted:e.props.config.uploadEnabled&&!!e.props.config.uploadCallback,showImageLoading:!1,height:e.props.config.defaultSize.height,width:e.props.config.defaultSize.width,alt:""},e.onDragEnter=function(t){e.stopPropagation(t),e.setState({dragEnter:!0})},e.onImageDrop=function(t){var n,r;t.preventDefault(),t.stopPropagation(),e.setState({dragEnter:!1}),r=t.dataTransfer.items?(n=t.dataTransfer.items,!0):(n=t.dataTransfer.files,!1);for(var o=0;o<n.length;o+=1)if((!r||"file"===n[o].kind)&&n[o].type.match("^image/")){var i=r?n[o].getAsFile():n[o];e.uploadImage(i)}},e.showImageUploadOption=function(){e.setState({uploadHighlighted:!0})},e.addImageFromState=function(){var t=e.state,n=t.imgSrc,r=t.alt,o=e.state,i=o.height,a=o.width,s=e.props.onChange;isNaN(i)||(i+="px"),isNaN(a)||(a+="px"),s(n,i,a,r)},e.showImageURLOption=function(){e.setState({uploadHighlighted:!1})},e.toggleShowImageLoading=function(){var t=!e.state.showImageLoading;e.setState({showImageLoading:t})},e.updateValue=function(t){var n,r,o;e.setState((n={},r="".concat(t.target.name),o=t.target.value,r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n))},e.selectImage=function(t){t.target.files&&0<t.target.files.length&&e.uploadImage(t.target.files[0])},e.uploadImage=function(t){e.toggleShowImageLoading(),(0,e.props.config.uploadCallback)(t).then((function(t){var n=t.data;e.setState({showImageLoading:!1,dragEnter:!1,imgSrc:n.link||n.url}),e.fileUpload=!1})).catch((function(){e.setState({showImageLoading:!1,dragEnter:!1})}))},e.fileUploadClick=function(t){e.fileUpload=!0,t.stopPropagation()},e.stopPropagation=function(t){e.fileUpload?e.fileUpload=!1:(t.preventDefault(),t.stopPropagation())},e}return e=a,(t=[{key:"componentDidUpdate",value:function(e){var t=this.props.config;e.expanded&&!this.props.expanded?this.setState({imgSrc:"",dragEnter:!1,uploadHighlighted:t.uploadEnabled&&!!t.uploadCallback,showImageLoading:!1,height:t.defaultSize.height,width:t.defaultSize.width,alt:""}):t.uploadCallback===e.config.uploadCallback&&t.uploadEnabled===e.config.uploadEnabled||this.setState({uploadHighlighted:t.uploadEnabled&&!!t.uploadCallback})}},{key:"renderAddImageModal",value:function(){var e=this.state,t=e.imgSrc,n=e.uploadHighlighted,r=e.showImageLoading,i=e.dragEnter,a=e.height,s=e.width,l=e.alt,c=this.props,d=c.config,p=d.popupClassName,f=d.uploadCallback,h=d.uploadEnabled,b=d.urlEnabled,A=d.previewImage,m=d.inputAccept,g=d.alt,v=c.doCollapse,y=c.translations;return o.a.createElement("div",{className:u()("rdw-image-modal",p),onClick:this.stopPropagation},o.a.createElement("div",{className:"rdw-image-modal-header"},h&&f&&o.a.createElement("span",{onClick:this.showImageUploadOption,className:"rdw-image-modal-header-option"},y["components.controls.image.fileUpload"],o.a.createElement("span",{className:u()("rdw-image-modal-header-label",{"rdw-image-modal-header-label-highlighted":n})})),b&&o.a.createElement("span",{onClick:this.showImageURLOption,className:"rdw-image-modal-header-option"},y["components.controls.image.byURL"],o.a.createElement("span",{className:u()("rdw-image-modal-header-label",{"rdw-image-modal-header-label-highlighted":!n})}))),n?o.a.createElement("div",{onClick:this.fileUploadClick},o.a.createElement("div",{onDragEnter:this.onDragEnter,onDragOver:this.stopPropagation,onDrop:this.onImageDrop,className:u()("rdw-image-modal-upload-option",{"rdw-image-modal-upload-option-highlighted":i})},o.a.createElement("label",{htmlFor:"file",className:"rdw-image-modal-upload-option-label"},A&&t?o.a.createElement("img",{src:t,alt:t,className:"rdw-image-modal-upload-option-image-preview"}):t||y["components.controls.image.dropFileText"])),o.a.createElement("input",{type:"file",id:"file",accept:m,onChange:this.selectImage,className:"rdw-image-modal-upload-option-input"})):o.a.createElement("div",{className:"rdw-image-modal-url-section"},o.a.createElement("input",{className:"rdw-image-modal-url-input",placeholder:y["components.controls.image.enterlink"],name:"imgSrc",onChange:this.updateValue,onBlur:this.updateValue,value:t}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")),g.present&&o.a.createElement("div",{className:"rdw-image-modal-size"},o.a.createElement("span",{className:"rdw-image-modal-alt-lbl"},"Alt Text"),o.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:l,name:"alt",className:"rdw-image-modal-alt-input",placeholder:"alt"}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},g.mandatory&&"*")),o.a.createElement("div",{className:"rdw-image-modal-size"},"\u2195\xa0",o.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:a,name:"height",className:"rdw-image-modal-size-input",placeholder:"Height"}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*"),"\xa0\u2194\xa0",o.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:s,name:"width",className:"rdw-image-modal-size-input",placeholder:"Width"}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")),o.a.createElement("span",{className:"rdw-image-modal-btn-section"},o.a.createElement("button",{className:"rdw-image-modal-btn",onClick:this.addImageFromState,disabled:!t||!a||!s||g.mandatory&&!l},y["generic.add"]),o.a.createElement("button",{className:"rdw-image-modal-btn",onClick:v},y["generic.cancel"])),r?o.a.createElement("div",{className:"rdw-image-modal-spinner"},o.a.createElement(Sn,null)):void 0)}},{key:"render",value:function(){var e=this.props,t=e.config,n=t.icon,r=t.className,i=t.title,a=e.expanded,s=e.onExpandEvent,l=e.translations;return o.a.createElement("div",{className:"rdw-image-wrapper","aria-haspopup":"true","aria-expanded":a,"aria-label":"rdw-image-control"},o.a.createElement(q,{className:u()(r),value:"unordered-list-item",onClick:s,title:i||l["components.controls.image.image"]},o.a.createElement("img",{src:n,alt:""})),a?this.renderAddImageModal():void 0)}}])&&kn(e.prototype,t),n&&kn(e,n),Object.defineProperty(e,"prototype",{writable:!1}),a}();jn.propTypes={expanded:a.a.bool,onExpandEvent:a.a.func,doCollapse:a.a.func,onChange:a.a.func,config:a.a.object,translations:a.a.object};var Bn=jn;function Ln(e){return(Ln="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Rn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function qn(e,t){return(qn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Pn(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,r=In(t);if(n){var o=In(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return function(e,t){if(t&&("object"===Ln(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,e)}}function In(e){return(In=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Wn=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&qn(e,t)}(a,r.Component);var e,t,n,i=Pn(a);function a(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).onExpandEvent=function(){t.signalExpanded=!t.state.expanded},t.doExpand=function(){t.setState({expanded:!0})},t.doCollapse=function(){t.setState({expanded:!1})},t.expandCollapse=function(){t.setState({expanded:t.signalExpanded}),t.signalExpanded=!1},t.addImage=function(e,n,r,o){var i=t.props,a=i.editorState,l=i.onChange,c={src:e,height:n,width:r};i.config.alt.present&&(c.alt=o);var u=a.getCurrentContent().createEntity("IMAGE","MUTABLE",c).getLastCreatedEntityKey();l(s.AtomicBlockUtils.insertAtomicBlock(a,u," ")),t.doCollapse()};var n=t.props.modalHandler;return t.state={expanded:!1},n.registerCallBack(t.expandCollapse),t}return e=a,(t=[{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var e=this.props,t=e.config,n=e.translations,r=this.state.expanded,i=t.component||Bn;return o.a.createElement(i,{config:t,translations:n,onChange:this.addImage,expanded:r,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}])&&Rn(e.prototype,t),n&&Rn(e,n),Object.defineProperty(e,"prototype",{writable:!1}),a}();function Fn(e){var t=e.config,n=e.onChange,r=e.translations,i=t.icon,a=t.className,s=t.title;return o.a.createElement("div",{className:"rdw-remove-wrapper","aria-label":"rdw-remove-control"},o.a.createElement(q,{className:u()(a),onClick:n,title:s||r["components.controls.remove.remove"]},o.a.createElement("img",{src:i,alt:""})))}Wn.propTypes={editorState:a.a.object.isRequired,onChange:a.a.func.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object};var Un=Wn;n(31),Fn.propTypes={onChange:a.a.func,config:a.a.object,translations:a.a.object};var Zn=Fn;function Hn(e){return(Hn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function $n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Vn(e,t){return(Vn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Xn(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,r=Qn(t);if(n){var o=Qn(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return function(e,t){if(t&&("object"===Hn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,e)}}function Qn(e){return(Qn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Yn=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Vn(e,t)}(a,r.Component);var e,t,n,i=Xn(a);function a(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=i.call.apply(i,[this].concat(n))).state={expanded:!1},e.onExpandEvent=function(){e.signalExpanded=!e.state.expanded},e.expandCollapse=function(){e.setState({expanded:e.signalExpanded}),e.signalExpanded=!1},e.removeInlineStyles=function(){var t=e.props,n=t.editorState;(0,t.onChange)(e.removeAllInlineStyles(n))},e.removeAllInlineStyles=function(e){var t=e.getCurrentContent();return["BOLD","ITALIC","UNDERLINE","STRIKETHROUGH","MONOSPACE","SUPERSCRIPT","SUBSCRIPT"].forEach((function(n){t=s.Modifier.removeInlineStyle(t,e.getSelection(),n)})),z(Object(l.getSelectionCustomInlineStyle)(e,["FONTSIZE","FONTFAMILY","COLOR","BGCOLOR"]),(function(n,r){r&&(t=s.Modifier.removeInlineStyle(t,e.getSelection(),r))})),s.EditorState.push(e,t,"change-inline-style")},e.doExpand=function(){e.setState({expanded:!0})},e.doCollapse=function(){e.setState({expanded:!1})},e}return e=a,(t=[{key:"componentDidMount",value:function(){this.props.modalHandler.registerCallBack(this.expandCollapse)}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var e=this.props,t=e.config,n=e.translations,r=this.state.expanded,i=t.component||Zn;return o.a.createElement(i,{config:t,translations:n,expanded:r,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onChange:this.removeInlineStyles})}}])&&$n(e.prototype,t),n&&$n(e,n),Object.defineProperty(e,"prototype",{writable:!1}),a}();function Gn(e){return(Gn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Kn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Jn(e,t){return(Jn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function er(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,r=tr(t);if(n){var o=tr(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return function(e,t){if(t&&("object"===Gn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,e)}}function tr(e){return(tr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Yn.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object.isRequired,config:a.a.object,translations:a.a.object,modalHandler:a.a.object},n(32);var nr=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Jn(e,t)}(a,r.Component);var e,t,n,i=er(a);function a(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=i.call.apply(i,[this].concat(n))).onChange=function(t){(0,e.props.onChange)(t)},e}return e=a,(t=[{key:"renderInDropDown",value:function(){var e=this.props,t=e.config,n=e.expanded,r=e.doExpand,i=e.onExpandEvent,a=e.doCollapse,s=e.currentState,l=s.undoDisabled,c=s.redoDisabled,d=e.translations,p=t.options,f=t.undo,h=t.redo,b=t.className,A=t.dropdownClassName,m=t.title;return o.a.createElement(Z,{className:u()("rdw-history-dropdown",b),optionWrapperClassName:u()(A),expanded:n,doExpand:r,doCollapse:a,onExpandEvent:i,"aria-label":"rdw-history-control",title:m||d["components.controls.history.history"]},o.a.createElement("img",{src:C(t),alt:""}),0<=p.indexOf("undo")&&o.a.createElement(G,{value:"undo",onClick:this.onChange,disabled:l,className:u()("rdw-history-dropdownoption",f.className),title:f.title||d["components.controls.history.undo"]},o.a.createElement("img",{src:f.icon,alt:""})),0<=p.indexOf("redo")&&o.a.createElement(G,{value:"redo",onClick:this.onChange,disabled:c,className:u()("rdw-history-dropdownoption",h.className),title:h.title||d["components.controls.history.redo"]},o.a.createElement("img",{src:h.icon,alt:""})))}},{key:"renderInFlatList",value:function(){var e=this.props,t=e.config,n=t.options,r=t.undo,i=t.redo,a=t.className,s=e.currentState,l=s.undoDisabled,c=s.redoDisabled,d=e.translations;return o.a.createElement("div",{className:u()("rdw-history-wrapper",a),"aria-label":"rdw-history-control"},0<=n.indexOf("undo")&&o.a.createElement(q,{value:"undo",onClick:this.onChange,className:u()(r.className),disabled:l,title:r.title||d["components.controls.history.undo"]},o.a.createElement("img",{src:r.icon,alt:""})),0<=n.indexOf("redo")&&o.a.createElement(q,{value:"redo",onClick:this.onChange,className:u()(i.className),disabled:c,title:i.title||d["components.controls.history.redo"]},o.a.createElement("img",{src:i.icon,alt:""})))}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}])&&Kn(e.prototype,t),n&&Kn(e,n),Object.defineProperty(e,"prototype",{writable:!1}),a}();function rr(e){return(rr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function or(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ir(e,t){return(ir=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function ar(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,r=sr(t);if(n){var o=sr(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return function(e,t){if(t&&("object"===rr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,e)}}function sr(e){return(sr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}nr.propTypes={expanded:a.a.bool,doExpand:a.a.func,doCollapse:a.a.func,onExpandEvent:a.a.func,config:a.a.object,onChange:a.a.func,currentState:a.a.object,translations:a.a.object};var lr=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ir(e,t)}(a,r.Component);var e,t,n,i=ar(a);function a(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).onExpandEvent=function(){t.signalExpanded=!t.state.expanded},t.onChange=function(e){var n=t.props,r=n.editorState,o=n.onChange,i=s.EditorState[e](r);i&&o(i)},t.doExpand=function(){t.setState({expanded:!0})},t.doCollapse=function(){t.setState({expanded:!1})};var n={expanded:!(t.expandCollapse=function(){t.setState({expanded:t.signalExpanded}),t.signalExpanded=!1}),undoDisabled:!1,redoDisabled:!1},r=e.editorState,o=e.modalHandler;return r&&(n.undoDisabled=0===r.getUndoStack().size,n.redoDisabled=0===r.getRedoStack().size),t.state=n,o.registerCallBack(t.expandCollapse),t}return e=a,(t=[{key:"componentDidUpdate",value:function(e){var t=this.props.editorState;t&&e.editorState!==t&&this.setState({undoDisabled:0===t.getUndoStack().size,redoDisabled:0===t.getRedoStack().size})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var e=this.props,t=e.config,n=e.translations,r=this.state,i=r.undoDisabled,a=r.redoDisabled,s=r.expanded,l=t.component||nr;return o.a.createElement(l,{config:t,translations:n,currentState:{undoDisabled:i,redoDisabled:a},expanded:s,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onChange:this.onChange})}}])&&or(e.prototype,t),n&&or(e,n),Object.defineProperty(e,"prototype",{writable:!1}),a}();lr.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object,modalHandler:a.a.object,config:a.a.object,translations:a.a.object};var cr={inline:ce,blockType:_e,fontSize:Be,fontFamily:Xe,list:at,textAlign:gt,colorPicker:Nt,link:Jt,embedded:hn,emoji:Cn,image:Un,remove:Yn,history:lr},ur=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g,dr=/^(?:(?:https?|ftps?|mailto):|[^a-z]|[a-z+.-]+(?:[^a-z+.:-]|$))/i;function pr(e){return String(e).replace(ur,"").match(dr)?e:"#"}function fr(e){return(fr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function hr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function br(e,t){return(br=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Ar(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,r=mr(t);if(n){var o=mr(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return function(e,t){if(t&&("object"===fr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,e)}}function mr(e){return(mr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function gr(e,t,n){e.findEntityRanges((function(e){var t=e.getEntity();return null!==t&&"LINK"===n.getEntity(t).getType()}),t)}function vr(e){var t,n=e.showOpenOptionOnHover;return(t=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&br(e,t)}(s,r.Component);var e,t,i,a=Ar(s);function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=a.call.apply(a,[this].concat(n))).state={showPopOver:!1},e.openLink=function(){var t=e.props,n=t.entityKey,r=t.contentState.getEntity(n).getData().url,o=window.open(pr(r),"blank");o&&o.focus()},e.toggleShowPopOver=function(){var t=!e.state.showPopOver;e.setState({showPopOver:t})},e}return e=s,(t=[{key:"render",value:function(){var e=this.props,t=e.children,r=e.entityKey,i=e.contentState.getEntity(r).getData(),a=i.url,s=i.targetOption,l=this.state.showPopOver;return o.a.createElement("span",{className:"rdw-link-decorator-wrapper",onMouseEnter:this.toggleShowPopOver,onMouseLeave:this.toggleShowPopOver},o.a.createElement("a",{href:pr(a),target:s},t),l&&n?o.a.createElement("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuMDcyIDBIOC45MTVhLjkyNS45MjUgMCAwIDAgMCAxLjg0OWgyLjkyNUw2Ljk2MSA2LjcyN2EuOTE4LjkxOCAwIDAgMC0uMjcuNjU0YzAgLjI0Ny4wOTUuNDguMjcuNjU0YS45MTguOTE4IDAgMCAwIC42NTQuMjcuOTE4LjkxOCAwIDAgMCAuNjUzLS4yN2w0Ljg4LTQuODh2Mi45MjZhLjkyNS45MjUgMCAwIDAgMS44NDggMFYuOTI0QS45MjUuOTI1IDAgMCAwIDE0LjA3MiAweiIvPjxwYXRoIGQ9Ik0xMC42MjMgMTMuNDExSDEuNTg1VjQuMzcyaDYuNzk4bDEuNTg0LTEuNTg0SC43OTJBLjc5Mi43OTIgMCAwIDAgMCAzLjU4djEwLjYyNGMwIC40MzcuMzU1Ljc5Mi43OTIuNzkyaDEwLjYyNGEuNzkyLjc5MiAwIDAgMCAuNzkyLS43OTJWNS4wMjlsLTEuNTg1IDEuNTg0djYuNzk4eiIvPjwvZz48L3N2Zz4=",alt:"",onClick:this.openLink,className:"rdw-link-decorator-icon"}):void 0)}}])&&hr(e.prototype,t),i&&hr(e,i),Object.defineProperty(e,"prototype",{writable:!1}),s}()).propTypes={entityKey:a.a.string.isRequired,children:a.a.array,contentState:a.a.object},t}function yr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Mr(e,t,n){return t&&yr(e.prototype,t),n&&yr(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}n(33),n(34);var Or=Mr((function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.getMentionComponent=function(){function e(e){var n=e.entityKey,r=e.children,i=e.contentState.getEntity(n).getData(),a=i.url,s=i.value;return o.a.createElement("a",{href:a||s,className:u()("rdw-mention-link",t)},r)}var t=n.className;return e.propTypes={entityKey:a.a.number,children:a.a.array,contentState:a.a.object},e},this.getMentionDecorator=function(){return{strategy:n.findMentionEntities,component:n.getMentionComponent()}},this.className=t}));Or.prototype.findMentionEntities=function(e,t,n){e.findEntityRanges((function(e){var t=e.getEntity();return null!==t&&"MENTION"===n.getEntity(t).getType()}),t)};var _r=Or;function zr(e){return(zr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function xr(e,t){return(xr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function wr(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,r=Cr(t);if(n){var o=Cr(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return function(e,t){if(t&&("object"===zr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,e)}}function Cr(e){return(Cr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Sr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Er(e,t,n){return t&&Sr(e.prototype,t),n&&Sr(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function kr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n(35);var Dr=Er((function e(t){var n=this;kr(this,e),this.findSuggestionEntities=function(e,t){if(n.config.getEditorState()){var r=n.config,o=r.separator,i=r.trigger,a=r.getSuggestions,s=(0,r.getEditorState)().getSelection();if(s.get("anchorKey")===e.get("key")&&s.get("anchorKey")===s.get("focusKey")){var l=e.getText(),c=(l=l.substr(0,s.get("focusOffset")===l.length-1?l.length:s.get("focusOffset")+1)).lastIndexOf(o+i),u=o+i;if((void 0===c||c<0)&&l[0]===i&&(c=0,u=i),0<=c){var d=l.substr(c+u.length,l.length);a().some((function(e){return!!e.value&&(n.config.caseSensitive?0<=e.value.indexOf(d):0<=e.value.toLowerCase().indexOf(d&&d.toLowerCase()))}))&&t(0===c?0:c+1,l.length)}}}},this.getSuggestionComponent=function(){var e,t=this.config;return(e=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&xr(e,t)}(n,r.Component);var e=wr(n);function n(){var r;kr(this,n);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return(r=e.call.apply(e,[this].concat(i))).state={style:{left:15},activeOption:-1,showSuggestions:!0},r.onEditorKeyDown=function(e){var t=r.state.activeOption,n={};"ArrowDown"===e.key?(e.preventDefault(),t===r.filteredSuggestions.length-1?n.activeOption=0:n.activeOption=t+1):"ArrowUp"===e.key?n.activeOption=t<=0?r.filteredSuggestions.length-1:t-1:"Escape"===e.key?(n.showSuggestions=!1,M()):"Enter"===e.key&&r.addMention(),r.setState(n)},r.onOptionMouseEnter=function(e){var t=e.target.getAttribute("data-index");r.setState({activeOption:t})},r.onOptionMouseLeave=function(){r.setState({activeOption:-1})},r.setSuggestionReference=function(e){r.suggestion=e},r.setDropdownReference=function(e){r.dropdown=e},r.closeSuggestionDropdown=function(){r.setState({showSuggestions:!1})},r.filteredSuggestions=[],r.filterSuggestions=function(e){var n=e.children[0].props.text.substr(1),o=t.getSuggestions();r.filteredSuggestions=o&&o.filter((function(e){return!n||0===n.length||(t.caseSensitive?0<=e.value.indexOf(n):0<=e.value.toLowerCase().indexOf(n&&n.toLowerCase()))}))},r.addMention=function(){var e=r.state.activeOption,n=t.getEditorState(),o=t.onChange,i=t.separator,a=t.trigger,c=r.filteredSuggestions[e];c&&function(e,t,n,r,o){var i=o.value,a=o.url,c=e.getCurrentContent().createEntity("MENTION","IMMUTABLE",{text:"".concat(r).concat(i),value:i,url:a}).getLastCreatedEntityKey(),u=Object(l.getSelectedBlock)(e).getText(),d=e.getSelection().focusOffset,p=(u.lastIndexOf(n+r,d)||0)+1,f=!1;u.length===p+1&&(d=u.length)," "===u[d]&&(f=!0);var h=e.getSelection().merge({anchorOffset:p,focusOffset:d}),b=s.EditorState.acceptSelection(e,h),A=s.Modifier.replaceText(b.getCurrentContent(),h,"".concat(r).concat(i),b.getCurrentInlineStyle(),c);b=s.EditorState.push(b,A,"insert-characters"),f||(h=b.getSelection().merge({anchorOffset:p+i.length+r.length,focusOffset:p+i.length+r.length}),b=s.EditorState.acceptSelection(b,h),A=s.Modifier.insertText(b.getCurrentContent(),h," ",b.getCurrentInlineStyle(),void 0)),t(s.EditorState.push(b,A,"insert-characters"))}(n,o,i,a,c)},r}return Er(n,[{key:"componentDidMount",value:function(){var e,n,r,o=t.getWrapperRef().getBoundingClientRect(),i=this.suggestion.getBoundingClientRect(),a=this.dropdown.getBoundingClientRect();o.width<i.left-o.left+a.width?n=15:e=15,o.bottom<a.bottom&&(r=0),this.setState({style:{left:e,right:n,bottom:r}}),v.registerCallBack(this.onEditorKeyDown),y(),t.modalHandler.setSuggestionCallback(this.closeSuggestionDropdown),this.filterSuggestions(this.props)}},{key:"componentDidUpdate",value:function(e){this.props.children!==e.children&&(this.filterSuggestions(e),this.setState({showSuggestions:!0}))}},{key:"componentWillUnmount",value:function(){v.deregisterCallBack(this.onEditorKeyDown),M(),t.modalHandler.removeSuggestionCallback()}},{key:"render",value:function(){var e=this,n=this.props.children,r=this.state,i=r.activeOption,a=r.showSuggestions,s=t.dropdownClassName,l=t.optionClassName;return o.a.createElement("span",{className:"rdw-suggestion-wrapper",ref:this.setSuggestionReference,onClick:t.modalHandler.onSuggestionClick,"aria-haspopup":"true","aria-label":"rdw-suggestion-popup"},o.a.createElement("span",null,n),a&&o.a.createElement("span",{className:u()("rdw-suggestion-dropdown",s),contentEditable:"false",suppressContentEditableWarning:!0,style:this.state.style,ref:this.setDropdownReference},this.filteredSuggestions.map((function(t,n){return o.a.createElement("span",{key:n,spellCheck:!1,onClick:e.addMention,"data-index":n,onMouseEnter:e.onOptionMouseEnter,onMouseLeave:e.onOptionMouseLeave,className:u()("rdw-suggestion-option",l,{"rdw-suggestion-option-active":n===i})},t.text)}))))}}]),n}()).propTypes={children:a.a.array},e}.bind(this),this.getSuggestionDecorator=function(){return{strategy:n.findSuggestionEntities,component:n.getSuggestionComponent()}};var i=t.separator,c=t.trigger,d=t.getSuggestions,p=t.onChange,f=t.getEditorState,h=t.getWrapperRef,b=t.caseSensitive,A=t.dropdownClassName,m=t.optionClassName,g=t.modalHandler;this.config={separator:i,trigger:c,getSuggestions:d,onChange:p,getEditorState:f,getWrapperRef:h,caseSensitive:b,dropdownClassName:A,optionClassName:m,modalHandler:g}})),Nr=function(e){return[new _r(e.mentionClassName).getMentionDecorator(),new Dr(e).getSuggestionDecorator()]};function Tr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function jr(e,t,n){return t&&Tr(e.prototype,t),n&&Tr(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Br(e){var t=e.block,n=e.contentState.getEntity(t.getEntityAt(0)).getData(),r=n.src,i=n.height,a=n.width;return o.a.createElement("iframe",{height:i,width:a,src:r,frameBorder:"0",allowFullScreen:!0,title:"Wysiwyg Embedded Content"})}n(36);var Lr=jr((function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.getHashtagComponent=function(){function e(e){var n=e.children,r=n[0].props.text;return o.a.createElement("a",{href:r,className:u()("rdw-hashtag-link",t)},n)}var t=n.className;return e.propTypes={children:a.a.object},e},this.findHashtagEntities=function(e,t){for(var r=e.getText(),o=0,i=0;0<r.length&&0<=o;)if(r[0]===n.hashCharacter?(i=o=0,r=r.substr(n.hashCharacter.length)):0<=(o=r.indexOf(n.separator+n.hashCharacter))&&(r=r.substr(o+(n.separator+n.hashCharacter).length),i+=o+n.separator.length),0<=o){var a=0<=r.indexOf(n.separator)?r.indexOf(n.separator):r.length,s=r.substr(0,a);s&&0<s.length&&(t(i,i+s.length+n.hashCharacter.length),i+=n.hashCharacter.length)}},this.getHashtagDecorator=function(){return{strategy:n.findHashtagEntities,component:n.getHashtagComponent()}},this.className=t.className,this.hashCharacter=t.hashCharacter||"#",this.separator=t.separator||" "})),Rr=function(e){return new Lr(e).getHashtagDecorator()};Br.propTypes={block:a.a.object,contentState:a.a.object};var qr=Br;function Pr(e){return(Pr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ir(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Wr(e,t){return(Wr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Fr(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,r=Ur(t);if(n){var o=Ur(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return function(e,t){if(t&&("object"===Pr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,e)}}function Ur(e){return(Ur=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n(37);var Zr=function(e){var t;return(t=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Wr(e,t)}(l,r.Component);var t,n,i,a=Fr(l);function l(){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=a.call.apply(a,[this].concat(r))).state={hovered:!1},t.setEntityAlignmentLeft=function(){t.setEntityAlignment("left")},t.setEntityAlignmentRight=function(){t.setEntityAlignment("right")},t.setEntityAlignmentCenter=function(){t.setEntityAlignment("none")},t.setEntityAlignment=function(n){var r=t.props,o=r.block,i=r.contentState,a=o.getEntityAt(0);i.mergeEntityData(a,{alignment:n}),e.onChange(s.EditorState.push(e.getEditorState(),i,"change-block-data")),t.setState({dummy:!0})},t.toggleHovered=function(){var e=!t.state.hovered;t.setState({hovered:e})},t}return t=l,(n=[{key:"renderAlignmentOptions",value:function(e){return o.a.createElement("div",{className:u()("rdw-image-alignment-options-popup",{"rdw-image-alignment-options-popup-right":"right"===e})},o.a.createElement(q,{onClick:this.setEntityAlignmentLeft,className:"rdw-image-alignment-option"},"L"),o.a.createElement(q,{onClick:this.setEntityAlignmentCenter,className:"rdw-image-alignment-option"},"C"),o.a.createElement(q,{onClick:this.setEntityAlignmentRight,className:"rdw-image-alignment-option"},"R"))}},{key:"render",value:function(){var t=this.props,n=t.block,r=t.contentState,i=this.state.hovered,a=e.isReadOnly,s=e.isImageAlignmentEnabled,l=r.getEntity(n.getEntityAt(0)).getData(),c=l.src,d=l.alignment,p=l.height,f=l.width,h=l.alt;return o.a.createElement("span",{onMouseEnter:this.toggleHovered,onMouseLeave:this.toggleHovered,className:u()("rdw-image-alignment",{"rdw-image-left":"left"===d,"rdw-image-right":"right"===d,"rdw-image-center":!d||"none"===d})},o.a.createElement("span",{className:"rdw-image-imagewrapper"},o.a.createElement("img",{src:c,alt:h,style:{height:p,width:f}}),!a()&&i&&s()?this.renderAlignmentOptions(d):void 0))}}])&&Ir(t.prototype,n),i&&Ir(t,i),Object.defineProperty(t,"prototype",{writable:!1}),l}()).propTypes={block:a.a.object,contentState:a.a.object},t},Hr=function(e,t){return function(n){if("function"==typeof t){var r=t(n,e,e.getEditorState);if(r)return r}if("atomic"===n.getType()){var o=e.getEditorState().getCurrentContent().getEntity(n.getEntityAt(0));if(o&&"IMAGE"===o.type)return{component:Zr(e),editable:!1};if(o&&"EMBEDDED_LINK"===o.type)return{component:qr,editable:!1}}}},$r={options:["inline","blockType","fontSize","fontFamily","list","textAlign","colorPicker","link","embedded","emoji","image","remove","history"],inline:{inDropdown:!1,className:void 0,component:void 0,dropdownClassName:void 0,options:["bold","italic","underline","strikethrough","monospace","superscript","subscript"],bold:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYuMjM2IDBjMS42NTIgMCAyLjk0LjI5OCAzLjg2Ni44OTMuOTI1LjU5NSAxLjM4OCAxLjQ4NSAxLjM4OCAyLjY2OSAwIC42MDEtLjE3MyAxLjEzOS0uNTE2IDEuNjEtLjM0My40NzQtLjg0NC44My0xLjQ5OSAxLjA2OC44NDMuMTY3IDEuNDc0LjUyMyAxLjg5NSAxLjA3MS40MTkuNTUuNjMgMS4xODMuNjMgMS45MDMgMCAxLjI0NS0uNDQ0IDIuMTg3LTEuMzMgMi44MjUtLjg4Ni42NDEtMi4xNDQuOTYxLTMuNzY5Ljk2MUgwdi0yLjE2N2gxLjQ5NFYyLjE2N0gwVjBoNi4yMzZ6TTQuMzA4IDUuNDQ2aDIuMDI0Yy43NTIgMCAxLjMzLS4xNDMgMS43MzQtLjQzLjQwNS0uMjg1LjYwOC0uNzAxLjYwOC0xLjI1IDAtLjYtLjIwNC0xLjA0NC0uNjEyLTEuMzMtLjQwOC0uMjg2LTEuMDE2LS40MjctMS44MjYtLjQyN0g0LjMwOHYzLjQzN3ptMCAxLjgwNFYxMWgyLjU5M2MuNzQ3IDAgMS4zMTQtLjE1MiAxLjcwNy0uNDUyLjM5LS4zLjU4OC0uNzQ1LjU4OC0xLjMzNCAwLS42MzYtLjE2OC0xLjEyNC0uNS0xLjQ2LS4zMzYtLjMzNS0uODY0LS41MDQtMS41ODItLjUwNEg0LjMwOHoiIGZpbGw9IiMwMDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPg==",className:void 0,title:void 0},italic:{icon:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZD0iTTcgM1YyaDR2MUg5Ljc1M2wtMyAxMEg4djFINHYtMWgxLjI0N2wzLTEwSDd6Ii8+PC9zdmc+",className:void 0,title:void 0},underline:{icon:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZD0iTTYuMDQ1IDJ2Ljk5Mkw0Ljc4NSAzdjUuMTcyYzAgLjg1OS4yNDMgMS41MTIuNzI3IDEuOTU3czEuMTI0LjY2OCAxLjkxOC42NjhjLjgzNiAwIDEuNTA5LS4yMjEgMi4wMTktLjY2NC41MTEtLjQ0Mi43NjYtMS4wOTYuNzY2LTEuOTYxVjNsLTEuMjYtLjAwOFYySDEzdi45OTJMMTEuNzM5IDN2NS4xNzJjMCAxLjIzNC0uMzk4IDIuMTgxLTEuMTk1IDIuODQtLjc5Ny42NTktMS44MzUuOTg4LTMuMTE0Ljk4OC0xLjI0MiAwLTIuMjQ4LS4zMjktMy4wMTctLjk4OC0uNzY5LS42NTktMS4xNTItMS42MDUtMS4xNTItMi44NFYzTDIgMi45OTJWMmg0LjA0NXpNMiAxM2gxMXYxSDJ6Ii8+PC9zdmc+",className:void 0,title:void 0},strikethrough:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNC4wNCA1Ljk1NGg2LjIxNWE3LjQxMiA3LjQxMiAwIDAgMC0uNzk1LS40MzggMTEuOTA3IDExLjkwNyAwIDAgMC0xLjQ0Ny0uNTU3Yy0xLjE4OC0uMzQ4LTEuOTY2LS43MTEtMi4zMzQtMS4wODgtLjM2OC0uMzc3LS41NTItLjc3LS41NTItMS4xODEgMC0uNDk1LjE4Ny0uOTA2LjU2LTEuMjMyLjM4LS4zMzEuODg3LS40OTcgMS41MjMtLjQ5Ny42OCAwIDEuMjY2LjI1NSAxLjc1Ny43NjcuMjk1LjMxNS41ODIuODkxLjg2MSAxLjczbC4xMTcuMDE2LjcwMy4wNS4xLS4wMjRjLjAyOC0uMTUyLjA0Mi0uMjc5LjA0Mi0uMzggMC0uMzM3LS4wMzktLjg1Mi0uMTE3LTEuNTQ0YTkuMzc0IDkuMzc0IDAgMCAwLS4xNzYtLjk5NUM5Ljg4LjM3OSA5LjM4NS4yNDQgOS4wMTcuMTc2IDguMzY1LjA3IDcuODk5LjAxNiA3LjYyLjAxNmMtMS40NSAwLTIuNTQ1LjM1Ny0zLjI4NyAxLjA3MS0uNzQ3LjcyLTEuMTIgMS41ODktMS4xMiAyLjYwNyAwIC41MTEuMTMzIDEuMDQuNCAxLjU4Ni4xMjkuMjUzLjI3LjQ3OC40MjcuNjc0ek04LjI4IDguMTE0Yy41NzUuMjM2Ljk1Ny40MzYgMS4xNDcuNTk5LjQ1MS40MS42NzcuODUyLjY3NyAxLjMyNCAwIC4zODMtLjEzLjc0NS0uMzkzIDEuMDg4LS4yNS4zMzgtLjU5LjU4LTEuMDIuNzI2YTMuNDE2IDMuNDE2IDAgMCAxLTEuMTYzLjIyOGMtLjQwNyAwLS43NzUtLjA2Mi0xLjEwNC0uMTg2YTIuNjk2IDIuNjk2IDAgMCAxLS44NzgtLjQ4IDMuMTMzIDMuMTMzIDAgMCAxLS42Ny0uNzk0IDEuNTI3IDEuNTI3IDAgMCAxLS4xMDQtLjIyNyA1Ny41MjMgNTcuNTIzIDAgMCAwLS4xODgtLjQ3MyAyMS4zNzEgMjEuMzcxIDAgMCAwLS4yNTEtLjU5OWwtLjg1My4wMTd2LjM3MWwtLjAxNy4zMTNhOS45MiA5LjkyIDAgMCAwIDAgLjU3M2MuMDExLjI3LjAxNy43MDkuMDE3IDEuMzE2di4xMWMwIC4wNzkuMDIyLjE0LjA2Ny4xODUuMDgzLjA2OC4yODQuMTQ3LjYwMi4yMzdsMS4xNy4zMzdjLjQ1Mi4xMy45OTYuMTk0IDEuNjMyLjE5NC42ODYgMCAxLjI1Mi0uMDU5IDEuNjk4LS4xNzdhNC42OTQgNC42OTQgMCAwIDAgMS4yOC0uNTU3Yy40MDEtLjI1OS43MDUtLjQ4Ni45MTEtLjY4My4yNjgtLjI3Ni40NjYtLjU2OC41OTQtLjg3OGE0Ljc0IDQuNzQgMCAwIDAgLjM0My0xLjc4OGMwLS4yOTgtLjAyLS41NTctLjA1OC0uNzc2SDguMjgxek0xNC45MTQgNi41N2EuMjYuMjYgMCAwIDAtLjE5My0uMDc2SC4yNjhhLjI2LjI2IDAgMCAwLS4xOTMuMDc2LjI2NC4yNjQgMCAwIDAtLjA3NS4xOTR2LjU0YzAgLjA3OS4wMjUuMTQzLjA3NS4xOTRhLjI2LjI2IDAgMCAwIC4xOTMuMDc2SDE0LjcyYS4yNi4yNiAwIDAgMCAuMTkzLS4wNzYuMjY0LjI2NCAwIDAgMCAuMDc1LS4xOTR2LS41NGEuMjY0LjI2NCAwIDAgMC0uMDc1LS4xOTR6Ii8+PC9nPjwvc3ZnPg==",className:void 0,title:void 0},monospace:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzQ0NCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMS4wMjEgMi45MDZjLjE4NiAxLjIxOS4zNzIgMS41LjM3MiAyLjcxOUMxLjM5MyA2LjM3NSAwIDcuMDMxIDAgNy4wMzF2LjkzOHMxLjM5My42NTYgMS4zOTMgMS40MDZjMCAxLjIxOS0uMTg2IDEuNS0uMzcyIDIuNzE5Qy43NDMgMTQuMDYzIDEuNzY0IDE1IDIuNjkzIDE1aDEuOTV2LTEuODc1cy0xLjY3Mi4xODgtMS42NzItLjkzOGMwLS44NDMuMTg2LS44NDMuMzcyLTIuNzE4LjA5My0uODQ0LS40NjQtMS41LTEuMDIyLTEuOTY5LjU1OC0uNDY5IDEuMTE1LTEuMDMxIDEuMDIyLTEuODc1QzMuMDY0IDMuNzUgMi45NyAzLjc1IDIuOTcgMi45MDZjMC0xLjEyNSAxLjY3Mi0xLjAzMSAxLjY3Mi0xLjAzMVYwaC0xLjk1QzEuNjcgMCAuNzQzLjkzOCAxLjAyIDIuOTA2ek0xMS45NzkgMi45MDZjLS4xODYgMS4yMTktLjM3MiAxLjUtLjM3MiAyLjcxOSAwIC43NSAxLjM5MyAxLjQwNiAxLjM5MyAxLjQwNnYuOTM4cy0xLjM5My42NTYtMS4zOTMgMS40MDZjMCAxLjIxOS4xODYgMS41LjM3MiAyLjcxOS4yNzggMS45NjktLjc0MyAyLjkwNi0xLjY3MiAyLjkwNmgtMS45NXYtMS44NzVzMS42NzIuMTg4IDEuNjcyLS45MzhjMC0uODQzLS4xODYtLjg0My0uMzcyLTIuNzE4LS4wOTMtLjg0NC40NjQtMS41IDEuMDIyLTEuOTY5LS41NTgtLjQ2OS0xLjExNS0xLjAzMS0xLjAyMi0xLjg3NS4xODYtMS44NzUuMzcyLTEuODc1LjM3Mi0yLjcxOSAwLTEuMTI1LTEuNjcyLTEuMDMxLTEuNjcyLTEuMDMxVjBoMS45NWMxLjAyMiAwIDEuOTUuOTM4IDEuNjcyIDIuOTA2eiIvPjwvZz48L3N2Zz4=",className:void 0,title:void 0},superscript:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTcuMzA1IDEwLjE2NUwxMS44NjUgMTVIOS4wNTdsLTMuMTkyLTMuNTM2TDIuNzQ2IDE1SDBsNC41MjMtNC44MzVMLjIxOCA1LjYwM2gyLjc3TDUuOTg2IDguOTEgOS4wMSA1LjYwM2gyLjY0OWwtNC4zNTQgNC41NjJ6bTYuMjM0LTMuMjY5bDEuODc5LTEuMzA2Yy42NC0uNDE2IDEuMDYyLS44MDEgMS4yNjQtMS4xNTcuMjAxLS4zNTYuMzAyLS43MzguMzAyLTEuMTQ4IDAtLjY2OS0uMjM3LTEuMjEtLjcxLTEuNjItLjQ3NC0uNDExLTEuMDk3LS42MTctMS44NjgtLjYxNy0uNzQ0IDAtMS4zNC4yMDgtMS43ODUuNjI0LS40NDcuNDE2LS42NyAxLjA0My0uNjcgMS44ODFoMS40MzZjMC0uNS4wOTQtLjg0Ni4yODEtMS4wMzguMTg4LS4xOTEuNDQ1LS4yODcuNzcyLS4yODdzLjU4NS4wOTcuNzc3LjI5MmMuMTkuMTk1LjI4Ni40MzcuMjg2LjcyNiAwIC4yOS0uMDg5LjU1LS4yNjYuNzg1cy0uNjcuNjI4LTEuNDc5IDEuMTg0Yy0uNjkxLjQ3Ny0xLjYyNy45MjctMS45MDggMS4zNWwuMDE0IDEuNTY5SDE3VjYuODk2aC0zLjQ2MXoiLz48L3N2Zz4=",className:void 0,title:void 0},subscript:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTExLjg2NiAxMS42NDZIOS4wNkw1Ljg2NyA3Ljk0MmwtMy4xMjEgMy43MDRIMGw0LjUyNC01LjA2NEwuMjE4IDEuODA0aDIuNzdsMyAzLjQ2NCAzLjAyMy0zLjQ2NGgyLjY1TDcuMzA2IDYuNTgybDQuNTYgNS4wNjR6bTEuNzI1IDIuMDU4bDEuODI3LTEuMzY4Yy42NC0uNDM1IDEuMDYyLS44NCAxLjI2NC0xLjIxMi4yMDItLjM3Mi4zMDItLjc3My4zMDItMS4yMDIgMC0uNy0uMjM3LTEuMjY2LS43MS0xLjY5Ni0uNDc0LS40MzEtMS4wOTctLjY0Ni0xLjg2OS0uNjQ2LS43NDQgMC0xLjM0LjIxOC0xLjc4NS42NTMtLjQ0Ni40MzYtLjY3IDEuMDkyLS42NyAxLjk3aDEuNDM2YzAtLjUyNC4wOTQtLjg4Ni4yODEtMS4wODcuMTg4LS4yLjQ0NS0uMzAxLjc3Mi0uMzAxcy41ODYuMTAyLjc3Ny4zMDZjLjE5LjIwNC4yODYuNDU4LjI4Ni43NiAwIC4zMDMtLjA4OC41NzctLjI2Ni44MjItLjE3Ny4yNDUtLjY3LjY1OC0xLjQ3OCAxLjI0LS42OTIuNS0xLjYyOC45NzEtMS45MSAxLjQxM0wxMS44NjQgMTVIMTd2LTEuMjk2aC0zLjQxeiIvPjwvc3ZnPg==",className:void 0,title:void 0}},blockType:{inDropdown:!0,options:["Normal","H1","H2","H3","H4","H5","H6","Blockquote","Code"],className:void 0,component:void 0,dropdownClassName:void 0,title:void 0},fontSize:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTEuOTIxIDMuMTE5YS40MjcuNDI3IDAgMCAwIC4zMzUuMTY0aC45N2EuNDI2LjQyNiAwIDAgMCAuMzA0LS4xMy40NDEuNDQxIDAgMCAwIC4xMjUtLjMxbC4wMDItMi40MWEuNDM0LjQzNCAwIDAgMC0uNDMtLjQzMkguNDNBLjQzNC40MzQgMCAwIDAgMCAuNDR2Mi40MDZjMCAuMjQyLjE5Mi40MzguNDMuNDM4aC45N2MuMTMgMCAuMjU0LS4wNi4zMzUtLjE2NWwuNzMtLjkzSDUuNTR2MTEuMzZjMCAuMjQxLjE5Mi40MzcuNDMuNDM3aDEuNzE3Yy4yMzcgMCAuNDMtLjE5Ni40My0uNDM3VjIuMTg4aDMuMDdsLjczNC45MzF6TTEzLjg5OCAxMS4yNjNhLjQyNS40MjUgMCAwIDAtLjQ4Mi0uMTQ2bC0uNTQ3LjE5NFY5LjYxN2EuNDQyLjQ0MiAwIDAgMC0uMTI2LS4zMS40MjYuNDI2IDAgMCAwLS4zMDQtLjEyN2gtLjQyOWEuNDM0LjQzNCAwIDAgMC0uNDMuNDM3djEuNjk0bC0uNTQ3LS4xOTRhLjQyNS40MjUgMCAwIDAtLjQ4MS4xNDYuNDQ0LjQ0NCAwIDAgMC0uMDE2LjUxMmwxLjMzMiAyLjAxN2EuNDI3LjQyNyAwIDAgMCAuNzEzIDBsMS4zMzMtMi4wMTdhLjQ0NC40NDQgMCAwIDAtLjAxNi0uNTEyeiIvPjwvZz48L3N2Zz4=",options:[8,9,10,11,12,14,16,18,24,30,36,48,60,72,96],className:void 0,component:void 0,dropdownClassName:void 0,title:void 0},fontFamily:{options:["Arial","Georgia","Impact","Tahoma","Times New Roman","Verdana"],className:void 0,component:void 0,dropdownClassName:void 0,title:void 0},list:{inDropdown:!1,className:void 0,component:void 0,dropdownClassName:void 0,options:["unordered","ordered","indent","outdent"],unordered:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMS43MiAzLjQyN2MuOTUxIDAgMS43MjItLjc2OCAxLjcyMi0xLjcwOFMyLjY3LjAxIDEuNzIuMDFDLjc3LjAwOCAwIC43NzUgMCAxLjcxNWMwIC45NC43NzQgMS43MTEgMS43MiAxLjcxMXptMC0yLjYyNWMuNTEgMCAuOTIyLjQxMi45MjIuOTE0YS45Mi45MiAwIDAgMS0xLjg0MiAwIC45Mi45MiAwIDAgMSAuOTItLjkxNHpNMS43MiA4LjcwM2MuOTUxIDAgMS43MjItLjc2OCAxLjcyMi0xLjcwOFMyLjY3IDUuMjg3IDEuNzIgNS4yODdDLjc3IDUuMjg3IDAgNi4wNTIgMCA2Ljk5NXMuNzc0IDEuNzA4IDEuNzIgMS43MDh6bTAtMi42MjJjLjUxIDAgLjkyMi40MTIuOTIyLjkxNGEuOTIuOTIgMCAwIDEtMS44NDIgMGMwLS41MDUuNDE1LS45MTQuOTItLjkxNHpNMS43MiAxMy45ODJjLjk1MSAwIDEuNzIyLS43NjggMS43MjItMS43MDggMC0uOTQzLS43NzQtMS43MDgtMS43MjEtMS43MDgtLjk0NyAwLTEuNzIxLjc2OC0xLjcyMSAxLjcwOHMuNzc0IDEuNzA4IDEuNzIgMS43MDh6bTAtMi42MjVjLjUxIDAgLjkyMi40MTIuOTIyLjkxNGEuOTIuOTIgMCAxIDEtMS44NDIgMCAuOTIuOTIgMCAwIDEgLjkyLS45MTR6TTUuNzQ0IDIuMTE1aDkuODQ1YS40LjQgMCAwIDAgLjQwMS0uMzk5LjQuNCAwIDAgMC0uNDAxLS4zOTlINS43NDRhLjQuNCAwIDAgMC0uNDAyLjM5OS40LjQgMCAwIDAgLjQwMi4zOTl6TTUuNzQ0IDcuMzk0aDkuODQ1YS40LjQgMCAwIDAgLjQwMS0uMzk5LjQuNCAwIDAgMC0uNDAxLS4zOThINS43NDRhLjQuNCAwIDAgMC0uNDAyLjM5OC40LjQgMCAwIDAgLjQwMi4zOTl6TTUuNzQ0IDEyLjY3aDkuODQ1YS40LjQgMCAwIDAgLjQwMS0uMzk5LjQuNCAwIDAgMC0uNDAxLS4zOTlINS43NDRhLjQuNCAwIDAgMC0uNDAyLjQuNC40IDAgMCAwIC40MDIuMzk4eiIvPjwvZz48L3N2Zz4=",className:void 0,title:void 0},ordered:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNC4yMDIgMS40NjZoOC4xNWMuMzM4IDAgLjYxMi0uMzIyLjYxMi0uNzIgMC0uMzk3LS4yNzQtLjcyLS42MTItLjcyaC04LjE1Yy0uMzM4IDAtLjYxMS4zMjMtLjYxMS43MiAwIC4zOTguMjczLjcyLjYxLjcyek0xMi4zNTIgNS43ODNoLTguMTVjLS4zMzggMC0uNjExLjMyMi0uNjExLjcyIDAgLjM5Ny4yNzMuNzIuNjEuNzJoOC4xNTFjLjMzOCAwIC42MTItLjMyMy42MTItLjcyIDAtLjM5OC0uMjc0LS43Mi0uNjEyLS43MnpNMTIuMzUyIDExLjU0aC04LjE1Yy0uMzM4IDAtLjYxMS4zMjItLjYxMS43MiAwIC4zOTYuMjczLjcxOS42MS43MTloOC4xNTFjLjMzOCAwIC42MTItLjMyMy42MTItLjcyIDAtLjM5Ny0uMjc0LS43Mi0uNjEyLS43MnpNLjc2NyAxLjI0OXYxLjgwMmMwIC4xOTUuMTM2LjM0My4zMTUuMzQzLjE3NiAwIC4zMTUtLjE1LjMxNS0uMzQzVi4zNTZjMC0uMTktLjEzMy0uMzM5LS4zMDItLjMzOS0uMTQ4IDAtLjIyMy4xMTgtLjI0Ny4xNTZhLjIyOC4yMjggMCAwIDAtLjAwMy4wMDVMLjU3OS42MjFhLjQ3NC40NzQgMCAwIDAtLjA5OC4yNzNjMCAuMTk0LjEyOC4zNTEuMjg2LjM1NXpNLjM1MiA4LjE5SDEuNTVjLjE1NyAwIC4yODUtLjE2Mi4yODUtLjM2MiAwLS4xOTgtLjEyOC0uMzU5LS4yODUtLjM1OUguNjh2LS4wMDZjMC0uMTA3LjIxLS4yODEuMzc4LS40MjIuMzM2LS4yNzguNzUzLS42MjUuNzUzLTEuMjI2IDAtLjU3LS4zNzYtMS0uODc0LTEtLjQ3NyAwLS44MzYuMzg1LS44MzYuODk3IDAgLjI5Ny4xNjQuNDAyLjMwNS40MDIuMiAwIC4zMjEtLjE3Ni4zMjEtLjM0NiAwLS4xMDYuMDIzLS4yMjguMjA0LS4yMjguMjQzIDAgLjI1LjI1NC4yNS4yODMgMCAuMjI4LS4yNTIuNDQyLS40OTUuNjQ5LS4zMDEuMjU1LS42NDIuNTQ0LS42NDIuOTkydi4zODRjMCAuMjA1LjE1OS4zNDMuMzA4LjM0M3pNMS43NyAxMC41NDNjMC0uNTkyLS4yOTYtLjkzMS0uODE0LS45MzEtLjY4IDAtLjg1OS41Ny0uODU5Ljg3MiAwIC4zNTEuMjIyLjM5LjMxOC4zOS4xODUgMCAuMzEtLjE0OC4zMS0uMzY2IDAtLjA4NC4wMjYtLjE4MS4yMjQtLjE4MS4xNDIgMCAuMi4wMjQuMi4yNjcgMCAuMjM3LS4wNDMuMjYzLS4yMTMuMjYzLS4xNjQgMC0uMjg4LjE1Mi0uMjg4LjM1NCAwIC4yLjEyNS4zNS4yOTEuMzUuMjI1IDAgLjI3LjEwOC4yNy4yODN2LjA3NWMwIC4yOTQtLjA5Ny4zNS0uMjc3LjM1LS4yNDggMC0uMjY3LS4xNS0uMjY3LS4xOTcgMC0uMTc0LS4wOTgtLjM1LS4zMTctLjM1LS4xOTIgMC0uMzA3LjE0MS0uMzA3LjM3OCAwIC40My4zMTMuODg4Ljg5NS44ODguNTY0IDAgLjkwMS0uNC45MDEtMS4wN3YtLjA3NGMwLS4yNzQtLjA3NC0uNTAyLS4yMTQtLjY2Ni4wOTYtLjE2My4xNDgtLjM4LjE0OC0uNjM1eiIvPjwvZz48L3N2Zz4=",className:void 0,title:void 0},indent:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNS43MTYgMy4yMTFIMTd2MS4xOTdINS43MTZ6TTAgLjAyaDE3djEuMTk3SDB6TTAgMTIuNzgzaDE3djEuMTk3SDB6TTUuNzE2IDkuNTkzSDE3djEuMTk3SDUuNzE2ek01LjcxNiA2LjQwMkgxN3YxLjE5N0g1LjcxNnpNLjE4NyA5LjQ5MUwyLjUyIDcgLjE4NyA0LjUwOXoiLz48L2c+PC9zdmc+",className:void 0,title:void 0},outdent:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNS4zOTYgMy4xOTNoMTAuNTczVjQuMzlINS4zOTZ6TS4wMzkuMDAzaDE1LjkzVjEuMkguMDM5ek0uMDM5IDEyLjc2NmgxNS45M3YxLjE5N0guMDM5ek01LjM5NiA5LjU3NWgxMC41NzN2MS4xOTdINS4zOTZ6TTUuMzk2IDYuMzg0aDEwLjU3M3YxLjE5N0g1LjM5NnpNMi4xODcgNC40OTFMMCA2Ljk4M2wyLjE4NyAyLjQ5MXoiLz48L2c+PC9zdmc+",className:void 0,title:void 0},title:void 0},textAlign:{inDropdown:!1,className:void 0,component:void 0,dropdownClassName:void 0,options:["left","center","right","justify"],left:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNOC40OTMgMTQuODg3SC4zMjZhLjMyNi4zMjYgMCAwIDEgMC0uNjUyaDguMTY3YS4zMjYuMzI2IDAgMCAxIDAgLjY1MnpNMTQuNjE4IDEwLjE2MkguMzI2YS4zMjYuMzI2IDAgMCAxIDAtLjY1M2gxNC4yOTJhLjMyNi4zMjYgMCAwIDEgMCAuNjUzek04LjQ5MyA1LjQzNUguMzI2YS4zMjYuMzI2IDAgMCAxIDAtLjY1Mmg4LjE2N2EuMzI2LjMyNiAwIDAgMSAwIC42NTJ6TTE0LjYxOC43MDlILjMyNmEuMzI2LjMyNiAwIDAgMSAwLS42NTJoMTQuMjkyYS4zMjYuMzI2IDAgMCAxIDAgLjY1MnoiLz48L2c+PC9zdmc+",className:void 0,title:void 0},center:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTEuNTU2IDE0Ljg4N0gzLjM4OGEuMzI2LjMyNiAwIDAgMSAwLS42NTJoOC4xNjdhLjMyNi4zMjYgMCAwIDEgMCAuNjUyek0xNC42MTggMTAuMTYySC4zMjZhLjMyNi4zMjYgMCAwIDEgMC0uNjUzaDE0LjI5MmEuMzI2LjMyNiAwIDAgMSAwIC42NTN6TTExLjU1NiA1LjQzNUgzLjM4OGEuMzI2LjMyNiAwIDAgMSAwLS42NTJoOC4xNjdhLjMyNi4zMjYgMCAwIDEgMCAuNjUyek0xNC42MTguNzA5SC4zMjZhLjMyNi4zMjYgMCAwIDEgMC0uNjUyaDE0LjI5MmEuMzI2LjMyNiAwIDAgMSAwIC42NTJ6Ii8+PC9nPjwvc3ZnPg==",className:void 0,title:void 0},right:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuNjE4IDE0Ljg4N0g2LjQ1YS4zMjYuMzI2IDAgMCAxIDAtLjY1Mmg4LjE2N2EuMzI2LjMyNiAwIDAgMSAwIC42NTJ6TTE0LjYxOCAxMC4xNjJILjMyNmEuMzI2LjMyNiAwIDAgMSAwLS42NTNoMTQuMjkyYS4zMjYuMzI2IDAgMCAxIDAgLjY1M3pNMTQuNjE4IDUuNDM1SDYuNDVhLjMyNi4zMjYgMCAwIDEgMC0uNjUyaDguMTY3YS4zMjYuMzI2IDAgMCAxIDAgLjY1MnpNMTQuNjE4LjcwOUguMzI2YS4zMjYuMzI2IDAgMCAxIDAtLjY1MmgxNC4yOTJhLjMyNi4zMjYgMCAwIDEgMCAuNjUyeiIvPjwvZz48L3N2Zz4=",className:void 0,title:void 0},justify:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuNjIgMTQuODg4SC4zMjVhLjMyNi4zMjYgMCAwIDEgMC0uNjUySDE0LjYyYS4zMjYuMzI2IDAgMCAxIDAgLjY1MnpNMTQuNjIgMTAuMTYySC4zMjVhLjMyNi4zMjYgMCAwIDEgMC0uNjUySDE0LjYyYS4zMjYuMzI2IDAgMCAxIDAgLjY1MnpNMTQuNjIgNS40MzZILjMyNWEuMzI2LjMyNiAwIDAgMSAwLS42NTJIMTQuNjJhLjMyNi4zMjYgMCAwIDEgMCAuNjUyek0xNC42Mi43MUguMzI1YS4zMjYuMzI2IDAgMCAxIDAtLjY1M0gxNC42MmEuMzI2LjMyNiAwIDAgMSAwIC42NTN6Ii8+PC9nPjwvc3ZnPg==",className:void 0,title:void 0},title:void 0},colorPicker:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuNDA2LjU4NWExLjk5OCAxLjk5OCAwIDAgMC0yLjgyNSAwbC0uNTQuNTRhLjc0MS43NDEgMCAxIDAtMS4wNDggMS4wNDhsLjE3NS4xNzUtNS44MjYgNS44MjUtMi4wMjIgMi4wMjNhLjkxLjkxIDAgMCAwLS4yNjYuNjAybC0uMDA1LjEwOHYuMDAybC0uMDgxIDEuODI5YS4zMDIuMzAyIDAgMCAwIC4zMDIuMzE2aC4wMTNsLjk3LS4wNDQuNTkyLS4wMjYuMjY4LS4wMTJjLjI5Ny0uMDEzLjU3OS0uMTM3Ljc5LS4zNDdsNy43Ny03Ljc3LjE0Ni4xNDRhLjc0Ljc0IDAgMCAwIDEuMDQ4IDBjLjI5LS4yOS4yOS0uNzU5IDAtMS4wNDhsLjU0LS41NGMuNzgtLjc4Ljc4LTIuMDQ0IDAtMi44MjV6TTguNzk1IDcuMzMzbC0yLjczLjUxNSA0LjQ1Mi00LjQ1MiAxLjEwOCAxLjEwNy0yLjgzIDIuODN6TTIuMDggMTMuNjczYy0xLjE0OCAwLTIuMDguMjk1LTIuMDguNjYgMCAuMzYzLjkzMi42NTggMi4wOC42NTggMS4xNSAwIDIuMDgtLjI5NCAyLjA4LS42NTkgMC0uMzY0LS45My0uNjU5LTIuMDgtLjY1OXoiLz48L2c+PC9zdmc+",className:void 0,component:void 0,popupClassName:void 0,colors:["rgb(97,189,109)","rgb(26,188,156)","rgb(84,172,210)","rgb(44,130,201)","rgb(147,101,184)","rgb(71,85,119)","rgb(204,204,204)","rgb(65,168,95)","rgb(0,168,133)","rgb(61,142,185)","rgb(41,105,176)","rgb(85,57,130)","rgb(40,50,78)","rgb(0,0,0)","rgb(247,218,100)","rgb(251,160,38)","rgb(235,107,86)","rgb(226,80,65)","rgb(163,143,132)","rgb(239,239,239)","rgb(255,255,255)","rgb(250,197,28)","rgb(243,121,52)","rgb(209,72,65)","rgb(184,49,47)","rgb(124,112,107)","rgb(209,213,216)"],title:void 0},link:{inDropdown:!1,className:void 0,component:void 0,popupClassName:void 0,dropdownClassName:void 0,showOpenOptionOnHover:!0,defaultTargetOption:"_self",options:["link","unlink"],link:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEzLjk2Ny45NUEzLjIyNiAzLjIyNiAwIDAgMCAxMS42Ny4wMDJjLS44NyAwLTEuNjg2LjMzNy0yLjI5Ny45NDhMNy4xMDUgMy4yMThBMy4yNDcgMy4yNDcgMCAwIDAgNi4yNCA2LjI0YTMuMjI1IDMuMjI1IDAgMCAwLTMuMDIyLjg2NUwuOTUgOS4zNzNhMy4yNTMgMy4yNTMgMCAwIDAgMCA0LjU5NCAzLjIyNiAzLjIyNiAwIDAgMCAyLjI5Ny45NDhjLjg3IDAgMS42ODYtLjMzNiAyLjI5OC0uOTQ4TDcuODEyIDExLjdhMy4yNDcgMy4yNDcgMCAwIDAgLjg2NS0zLjAyMyAzLjIyNSAzLjIyNSAwIDAgMCAzLjAyMi0uODY1bDIuMjY4LTIuMjY3YTMuMjUyIDMuMjUyIDAgMCAwIDAtNC41OTV6TTcuMTA1IDEwLjk5M0w0LjgzNyAxMy4yNmEyLjIzMyAyLjIzMyAwIDAgMS0xLjU5LjY1NSAyLjIzMyAyLjIzMyAwIDAgMS0xLjU5LS42NTUgMi4yNTIgMi4yNTIgMCAwIDEgMC0zLjE4bDIuMjY4LTIuMjY4YTIuMjMyIDIuMjMyIDAgMCAxIDEuNTktLjY1NWMuNDMgMCAuODQxLjEyIDEuMTk1LjM0M0w0Ljc3MiA5LjQzOGEuNS41IDAgMSAwIC43MDcuNzA3bDEuOTM5LTEuOTM4Yy41NDUuODY4LjQ0MiAyLjAzLS4zMTMgMi43ODV6bTYuMTU1LTYuMTU1bC0yLjI2OCAyLjI2N2EyLjIzMyAyLjIzMyAwIDAgMS0xLjU5LjY1NWMtLjQzMSAwLS44NDEtLjEyLTEuMTk1LS4zNDNsMS45MzgtMS45MzhhLjUuNSAwIDEgMC0uNzA3LS43MDdMNy40OTkgNi43MWEyLjI1MiAyLjI1MiAwIDAgMSAuMzEzLTIuNzg1bDIuMjY3LTIuMjY4YTIuMjMzIDIuMjMzIDAgMCAxIDEuNTktLjY1NSAyLjIzMyAyLjIzMyAwIDAgMSAyLjI0NiAyLjI0NWMwIC42MDMtLjIzMiAxLjE2OC0uNjU1IDEuNTl6IiBmaWxsPSIjMDAwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4=",className:void 0,title:void 0},unlink:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTMuOTU2IDEuMDM3YTMuNTUgMy41NSAwIDAgMC01LjAxNCAwTDYuNDM2IDMuNTQ0YS41NDUuNTQ1IDAgMSAwIC43Ny43N2wyLjUwOC0yLjUwNmEyLjQzOCAyLjQzOCAwIDAgMSAxLjczNS0uNzE1Yy42NTggMCAxLjI3NS4yNTQgMS43MzYuNzE1LjQ2LjQ2MS43MTUgMS4wNzguNzE1IDEuNzM2IDAgLjY1OC0uMjU0IDEuMjc0LS43MTUgMS43MzVMOS45MDcgOC41NThhMi40NTggMi40NTggMCAwIDEtMy40NzIgMCAuNTQ1LjU0NSAwIDEgMC0uNzcxLjc3MSAzLjUzNCAzLjUzNCAwIDAgMCAyLjUwNyAxLjAzN2MuOTA4IDAgMS44MTYtLjM0NiAyLjUwNy0xLjAzN2wzLjI3OC0zLjI3OGEzLjUyIDMuNTIgMCAwIDAgMS4wMzUtMi41MDdjMC0uOTUtLjM2Ny0xLjg0LTEuMDM1LTIuNTA3eiIvPjxwYXRoIGQ9Ik03LjQgMTEuMDY1bC0yLjEyMiAyLjEyYTIuNDM3IDIuNDM3IDAgMCAxLTEuNzM1LjcxNiAyLjQzNyAyLjQzNyAwIDAgMS0xLjczNi0uNzE1IDIuNDU3IDIuNDU3IDAgMCAxIDAtMy40NzFsMy4wODYtMy4wODZhMi40MzggMi40MzggMCAwIDEgMS43MzUtLjcxNWMuNjU4IDAgMS4yNzUuMjU0IDEuNzM2LjcxNWEuNTQ1LjU0NSAwIDEgMCAuNzcxLS43NzEgMy41NSAzLjU1IDAgMCAwLTUuMDE0IDBMMS4wMzYgOC45NDRBMy41MiAzLjUyIDAgMCAwIDAgMTEuNDVjMCAuOTUuMzY3IDEuODQgMS4wMzUgMi41MDdhMy41MiAzLjUyIDAgMCAwIDIuNTA2IDEuMDM1Yy45NSAwIDEuODQtLjM2OCAyLjUwNy0xLjAzNWwyLjEyMi0yLjEyMWEuNTQ1LjU0NSAwIDAgMC0uNzcxLS43NzF6TTkuMjc0IDEyLjAwMmEuNTQ2LjU0NiAwIDAgMC0uNTQ2LjU0NXYxLjYzN2EuNTQ2LjU0NiAwIDAgMCAxLjA5MSAwdi0xLjYzN2EuNTQ1LjU0NSAwIDAgMC0uNTQ1LS41NDV6TTExLjIzIDExLjYxNmEuNTQ1LjU0NSAwIDEgMC0uNzcyLjc3MmwxLjE1NyAxLjE1NmEuNTQzLjU0MyAwIDAgMCAuNzcxIDAgLjU0NS41NDUgMCAwIDAgMC0uNzdsLTEuMTU2LTEuMTU4ek0xMi41MzcgOS44MkgxMC45YS41NDYuNTQ2IDAgMCAwIDAgMS4wOTFoMS42MzdhLjU0Ni41NDYgMCAwIDAgMC0xLjA5ek00LjkxIDMuNTQ3YS41NDYuNTQ2IDAgMCAwIC41NDUtLjU0NVYxLjM2NmEuNTQ2LjU0NiAwIDAgMC0xLjA5IDB2MS42MzZjMCAuMzAxLjI0NC41NDUuNTQ1LjU0NXpNMi44ODggMy45MzNhLjU0My41NDMgMCAwIDAgLjc3MSAwIC41NDUuNTQ1IDAgMCAwIDAtLjc3MUwyLjUwMiAyLjAwNWEuNTQ1LjU0NSAwIDEgMC0uNzcxLjc3bDEuMTU3IDEuMTU4ek0xLjYyOCA1LjczaDEuNjM2YS41NDYuNTQ2IDAgMCAwIDAtMS4wOTJIMS42MjhhLjU0Ni41NDYgMCAwIDAgMCAxLjA5MXoiLz48L2c+PC9zdmc+",className:void 0,title:void 0},linkCallback:void 0},emoji:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTciIHZpZXdCb3g9IjE1LjcyOSAyMi4wODIgMTcgMTciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTI5LjcwOCAyNS4xMDRjLTMuMDIxLTMuMDIyLTcuOTM3LTMuMDIyLTEwLjk1OCAwLTMuMDIxIDMuMDItMy4wMiA3LjkzNiAwIDEwLjk1OCAzLjAyMSAzLjAyIDcuOTM3IDMuMDIgMTAuOTU4LS4wMDEgMy4wMi0zLjAyMSAzLjAyLTcuOTM2IDAtMTAuOTU3em0tLjg0NSAxMC4xMTJhNi41NiA2LjU2IDAgMCAxLTkuMjY4IDAgNi41NiA2LjU2IDAgMCAxIDAtOS4yNjcgNi41NiA2LjU2IDAgMCAxIDkuMjY4IDAgNi41NiA2LjU2IDAgMCAxIDAgOS4yNjd6bS03LjUyNC02LjczYS45MDYuOTA2IDAgMSAxIDEuODExIDAgLjkwNi45MDYgMCAwIDEtMS44MTEgMHptNC4xMDYgMGEuOTA2LjkwNiAwIDEgMSAxLjgxMiAwIC45MDYuOTA2IDAgMCAxLTEuODEyIDB6bTIuMTQxIDMuNzA4Yy0uNTYxIDEuMjk4LTEuODc1IDIuMTM3LTMuMzQ4IDIuMTM3LTEuNTA1IDAtMi44MjctLjg0My0zLjM2OS0yLjE0N2EuNDM4LjQzOCAwIDAgMSAuODEtLjMzNmMuNDA1Ljk3NiAxLjQxIDEuNjA3IDIuNTU5IDEuNjA3IDEuMTIzIDAgMi4xMjEtLjYzMSAyLjU0NC0xLjYwOGEuNDM4LjQzOCAwIDAgMSAuODA0LjM0N3oiLz48L3N2Zz4=",className:void 0,component:void 0,popupClassName:void 0,emojis:["\ud83d\ude00","\ud83d\ude01","\ud83d\ude02","\ud83d\ude03","\ud83d\ude09","\ud83d\ude0b","\ud83d\ude0e","\ud83d\ude0d","\ud83d\ude17","\ud83e\udd17","\ud83e\udd14","\ud83d\ude23","\ud83d\ude2b","\ud83d\ude34","\ud83d\ude0c","\ud83e\udd13","\ud83d\ude1b","\ud83d\ude1c","\ud83d\ude20","\ud83d\ude07","\ud83d\ude37","\ud83d\ude08","\ud83d\udc7b","\ud83d\ude3a","\ud83d\ude38","\ud83d\ude39","\ud83d\ude3b","\ud83d\ude3c","\ud83d\ude3d","\ud83d\ude40","\ud83d\ude48","\ud83d\ude49","\ud83d\ude4a","\ud83d\udc7c","\ud83d\udc6e","\ud83d\udd75","\ud83d\udc82","\ud83d\udc73","\ud83c\udf85","\ud83d\udc78","\ud83d\udc70","\ud83d\udc72","\ud83d\ude4d","\ud83d\ude47","\ud83d\udeb6","\ud83c\udfc3","\ud83d\udc83","\u26f7","\ud83c\udfc2","\ud83c\udfcc","\ud83c\udfc4","\ud83d\udea3","\ud83c\udfca","\u26f9","\ud83c\udfcb","\ud83d\udeb4","\ud83d\udc6b","\ud83d\udcaa","\ud83d\udc48","\ud83d\udc49","\ud83d\udc46","\ud83d\udd95","\ud83d\udc47","\ud83d\udd96","\ud83e\udd18","\ud83d\udd90","\ud83d\udc4c","\ud83d\udc4d","\ud83d\udc4e","\u270a","\ud83d\udc4a","\ud83d\udc4f","\ud83d\ude4c","\ud83d\ude4f","\ud83d\udc35","\ud83d\udc36","\ud83d\udc07","\ud83d\udc25","\ud83d\udc38","\ud83d\udc0c","\ud83d\udc1b","\ud83d\udc1c","\ud83d\udc1d","\ud83c\udf49","\ud83c\udf44","\ud83c\udf54","\ud83c\udf64","\ud83c\udf68","\ud83c\udf6a","\ud83c\udf82","\ud83c\udf70","\ud83c\udf7e","\ud83c\udf77","\ud83c\udf78","\ud83c\udf7a","\ud83c\udf0d","\ud83d\ude91","\u23f0","\ud83c\udf19","\ud83c\udf1d","\ud83c\udf1e","\u2b50","\ud83c\udf1f","\ud83c\udf20","\ud83c\udf28","\ud83c\udf29","\u26c4","\ud83d\udd25","\ud83c\udf84","\ud83c\udf88","\ud83c\udf89","\ud83c\udf8a","\ud83c\udf81","\ud83c\udf97","\ud83c\udfc0","\ud83c\udfc8","\ud83c\udfb2","\ud83d\udd07","\ud83d\udd08","\ud83d\udce3","\ud83d\udd14","\ud83c\udfb5","\ud83c\udfb7","\ud83d\udcb0","\ud83d\udd8a","\ud83d\udcc5","\u2705","\u274e","\ud83d\udcaf"],title:void 0},embedded:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYuNzA4IDYuNjE1YS40MzYuNDM2IDAgMCAwLS41NDMuMjkxbC0xLjgzIDYuMDQ1YS40MzYuNDM2IDAgMCAwIC44MzMuMjUyTDcgNy4xNmEuNDM2LjQzNiAwIDAgMC0uMjktLjU0NHpNOC45MzEgNi42MTVhLjQzNi40MzYgMCAwIDAtLjU0My4yOTFsLTEuODMgNi4wNDVhLjQzNi40MzYgMCAwIDAgLjgzNC4yNTJsMS44My02LjA0NGEuNDM2LjQzNiAwIDAgMC0uMjktLjU0NHoiLz48cGF0aCBkPSJNMTYuNTY0IDBILjQzNkEuNDM2LjQzNiAwIDAgMCAwIC40MzZ2MTYuMTI4YzAgLjI0LjE5NS40MzYuNDM2LjQzNmgxNi4xMjhjLjI0IDAgLjQzNi0uMTk1LjQzNi0uNDM2Vi40MzZBLjQzNi40MzYgMCAwIDAgMTYuNTY0IDB6TTMuNDg3Ljg3MmgxMC4wMjZ2MS43NDNIMy40ODdWLjg3MnptLTIuNjE1IDBoMS43NDN2MS43NDNILjg3MlYuODcyem0xNS4yNTYgMTUuMjU2SC44NzJWMy40ODhoMTUuMjU2djEyLjY0em0wLTEzLjUxM2gtMS43NDNWLjg3MmgxLjc0M3YxLjc0M3oiLz48Y2lyY2xlIGN4PSI5My44NjciIGN5PSIyNDUuMDY0IiByPSIxMy4xMjgiIHRyYW5zZm9ybT0ibWF0cml4KC4wMzMyIDAgMCAuMDMzMiAwIDApIi8+PGNpcmNsZSBjeD0iOTMuODY3IiBjeT0iMzYwLjU5MiIgcj0iMTMuMTI4IiB0cmFuc2Zvcm09Im1hdHJpeCguMDMzMiAwIDAgLjAzMzIgMCAwKSIvPjxwYXRoIGQ9Ik0xNC4yNTQgMTIuNjQxSDEwLjJhLjQzNi40MzYgMCAwIDAgMCAuODcyaDQuMDU0YS40MzYuNDM2IDAgMCAwIDAtLjg3MnoiLz48L3N2Zz4=",className:void 0,component:void 0,popupClassName:void 0,embedCallback:void 0,defaultSize:{height:"auto",width:"auto"},title:void 0},image:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuNzQxIDBILjI2Qy4xMTYgMCAwIC4xMzYgMCAuMzA0djEzLjM5MmMwIC4xNjguMTE2LjMwNC4yNTkuMzA0SDE0Ljc0Yy4xNDMgMCAuMjU5LS4xMzYuMjU5LS4zMDRWLjMwNEMxNSAuMTM2IDE0Ljg4NCAwIDE0Ljc0MSAwem0tLjI1OCAxMy4zOTFILjUxN1YuNjFoMTMuOTY2VjEzLjM5eiIvPjxwYXRoIGQ9Ik00LjEzOCA2LjczOGMuNzk0IDAgMS40NC0uNzYgMS40NC0xLjY5NXMtLjY0Ni0xLjY5NS0xLjQ0LTEuNjk1Yy0uNzk0IDAtMS40NC43Ni0xLjQ0IDEuNjk1IDAgLjkzNC42NDYgMS42OTUgMS40NCAxLjY5NXptMC0yLjc4MWMuNTA5IDAgLjkyMy40ODcuOTIzIDEuMDg2IDAgLjU5OC0uNDE0IDEuMDg2LS45MjMgMS4wODYtLjUwOSAwLS45MjMtLjQ4Ny0uOTIzLTEuMDg2IDAtLjU5OS40MTQtMS4wODYuOTIzLTEuMDg2ek0xLjgxIDEyLjE3NGMuMDYgMCAuMTIyLS4wMjUuMTcxLS4wNzZMNi4yIDcuNzI4bDIuNjY0IDMuMTM0YS4yMzIuMjMyIDAgMCAwIC4zNjYgMCAuMzQzLjM0MyAwIDAgMCAwLS40M0w3Ljk4NyA4Ljk2OWwyLjM3NC0zLjA2IDIuOTEyIDMuMTQyYy4xMDYuMTEzLjI3LjEwNS4zNjYtLjAyYS4zNDMuMzQzIDAgMCAwLS4wMTYtLjQzbC0zLjEwNC0zLjM0N2EuMjQ0LjI0NCAwIDAgMC0uMTg2LS4wOC4yNDUuMjQ1IDAgMCAwLS4xOC4xTDcuNjIyIDguNTM3IDYuMzk0IDcuMDk0YS4yMzIuMjMyIDAgMCAwLS4zNTQtLjAxM2wtNC40IDQuNTZhLjM0My4zNDMgMCAwIDAtLjAyNC40My4yNDMuMjQzIDAgMCAwIC4xOTQuMTAzeiIvPjwvZz48L3N2Zz4=",className:void 0,component:void 0,popupClassName:void 0,urlEnabled:!0,uploadEnabled:!0,previewImage:!1,alignmentEnabled:!0,uploadCallback:void 0,inputAccept:"image/gif,image/jpeg,image/jpg,image/png,image/svg",alt:{present:!1,mandatory:!1},defaultSize:{height:"auto",width:"auto"},title:void 0},remove:{icon:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNSIgaGVpZ2h0PSIxNSIgdmlld0JveD0iMCAwIDE2IDE2Ij48cGF0aCBkPSJNOC4xIDE0bDYuNC03LjJjLjYtLjcuNi0xLjgtLjEtMi41bC0yLjctMi43Yy0uMy0uNC0uOC0uNi0xLjMtLjZIOC42Yy0uNSAwLTEgLjItMS40LjZMLjUgOS4yYy0uNi43LS42IDEuOS4xIDIuNWwyLjcgMi43Yy4zLjQuOC42IDEuMy42SDE2di0xSDguMXptLTEuMy0uMXMwLS4xIDAgMGwtMi43LTIuN2MtLjQtLjQtLjQtLjkgMC0xLjNMNy41IDZoLTFsLTMgMy4zYy0uNi43LS42IDEuNy4xIDIuNEw1LjkgMTRINC42Yy0uMiAwLS40LS4xLS42LS4yTDEuMiAxMWMtLjMtLjMtLjMtLjggMC0xLjFMNC43IDZoMS44TDEwIDJoMUw3LjUgNmwzLjEgMy43LTMuNSA0Yy0uMS4xLS4yLjEtLjMuMnoiLz48L3N2Zz4=",className:void 0,component:void 0,title:void 0},history:{inDropdown:!1,className:void 0,component:void 0,dropdownClassName:void 0,options:["undo","redo"],undo:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTcgMTQuODc1YzIuNjcyIDAgNC44NDYtMi4xNDUgNC44NDYtNC43ODEgMC0yLjYzNy0yLjE3NC00Ljc4MS00Ljg0Ni00Ljc4MVY4LjVMMS42MTUgNC4yNSA3IDB2My4xODhjMy44NiAwIDcgMy4wOTggNyA2LjkwNlMxMC44NiAxNyA3IDE3cy03LTMuMDk4LTctNi45MDZoMi4xNTRjMCAyLjYzNiAyLjE3NCA0Ljc4MSA0Ljg0NiA0Ljc4MXoiIGZpbGw9IiMwMDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPg==",className:void 0,title:void 0},redo:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYuNTA0IDEzLjk3N2E0LjQ5NyA0LjQ5NyAwIDAgMS00LjQ5Mi00LjQ5MiA0LjQ5NyA0LjQ5NyAwIDAgMSA0LjQ5Mi00LjQ5M3YyLjk5NWw0Ljk5LTMuOTkzTDYuNTA0IDB2Mi45OTVhNi40OTYgNi40OTYgMCAwIDAtNi40ODggNi40OWMwIDMuNTc4IDIuOTEgNi40OSA2LjQ4OCA2LjQ5YTYuNDk2IDYuNDk2IDAgMCAwIDYuNDg3LTYuNDloLTEuOTk2YTQuNDk3IDQuNDk3IDAgMCAxLTQuNDkxIDQuNDkyeiIgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+",className:void 0,title:void 0},title:void 0}},Vr={en:{"generic.add":"Add","generic.cancel":"Cancel","components.controls.blocktype.h1":"H1","components.controls.blocktype.h2":"H2","components.controls.blocktype.h3":"H3","components.controls.blocktype.h4":"H4","components.controls.blocktype.h5":"H5","components.controls.blocktype.h6":"H6","components.controls.blocktype.blockquote":"Blockquote","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"Block Type","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Color Picker","components.controls.colorpicker.text":"Text","components.controls.colorpicker.background":"Highlight","components.controls.embedded.embedded":"Embedded","components.controls.embedded.embeddedlink":"Embedded Link","components.controls.embedded.enterlink":"Enter link","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Font","components.controls.fontsize.fontsize":"Font Size","components.controls.history.history":"History","components.controls.history.undo":"Undo","components.controls.history.redo":"Redo","components.controls.image.image":"Image","components.controls.image.fileUpload":"File Upload","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Drop the file or click to upload","components.controls.inline.bold":"Bold","components.controls.inline.italic":"Italic","components.controls.inline.underline":"Underline","components.controls.inline.strikethrough":"Strikethrough","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Superscript","components.controls.inline.subscript":"Subscript","components.controls.link.linkTitle":"Link Title","components.controls.link.linkTarget":"Link Target","components.controls.link.linkTargetOption":"Open link in new window","components.controls.link.link":"Link","components.controls.link.unlink":"Unlink","components.controls.list.list":"List","components.controls.list.unordered":"Unordered","components.controls.list.ordered":"Ordered","components.controls.list.indent":"Indent","components.controls.list.outdent":"Outdent","components.controls.remove.remove":"Remove","components.controls.textalign.textalign":"Text Align","components.controls.textalign.left":"Left","components.controls.textalign.center":"Center","components.controls.textalign.right":"Right","components.controls.textalign.justify":"Justify"},fr:{"generic.add":"Ok","generic.cancel":"Annuler","components.controls.blocktype.h1":"Titre 1","components.controls.blocktype.h2":"Titre 2","components.controls.blocktype.h3":"Titre 3","components.controls.blocktype.h4":"Titre 4","components.controls.blocktype.h5":"Titre 5","components.controls.blocktype.h6":"Titre 6","components.controls.blocktype.blockquote":"Citation","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"Type bloc","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Palette de couleur","components.controls.colorpicker.text":"Texte","components.controls.colorpicker.background":"Fond","components.controls.embedded.embedded":"Embedded","components.controls.embedded.embeddedlink":"Lien iFrame","components.controls.embedded.enterlink":"Entrer le lien","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Police","components.controls.fontsize.fontsize":"Taille de police","components.controls.history.history":"Historique","components.controls.history.undo":"Pr\xe9c\xe9dent","components.controls.history.redo":"Suivant","components.controls.image.image":"Image","components.controls.image.fileUpload":"T\xe9l\xe9chargement","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Glisser une image ou cliquer pour t\xe9l\xe9charger","components.controls.inline.bold":"Gras","components.controls.inline.italic":"Italique","components.controls.inline.underline":"Souligner","components.controls.inline.strikethrough":"Barrer","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Exposant","components.controls.inline.subscript":"Indice","components.controls.link.linkTitle":"Titre du lien","components.controls.link.linkTarget":"Cible du lien","components.controls.link.linkTargetOption":"Ouvrir le lien dans une nouvelle fen\xeatre","components.controls.link.link":"Lier","components.controls.link.unlink":"D\xe9lier","components.controls.list.list":"Liste","components.controls.list.unordered":"D\xe9sordonn\xe9e","components.controls.list.ordered":"Ordonn\xe9e","components.controls.list.indent":"Augmenter le retrait","components.controls.list.outdent":"Diminuer le retrait","components.controls.remove.remove":"Supprimer","components.controls.textalign.textalign":"Alignement du texte","components.controls.textalign.left":"Gauche","components.controls.textalign.center":"Centre","components.controls.textalign.right":"Droite","components.controls.textalign.justify":"Justifier"},zh:{"generic.add":"\u6dfb\u52a0","generic.cancel":"\u53d6\u6d88","components.controls.blocktype.h1":"\u6807\u98981","components.controls.blocktype.h2":"\u6807\u98982","components.controls.blocktype.h3":"\u6807\u98983","components.controls.blocktype.h4":"\u6807\u98984","components.controls.blocktype.h5":"\u6807\u98985","components.controls.blocktype.h6":"\u6807\u98986","components.controls.blocktype.blockquote":"\u5f15\u7528","components.controls.blocktype.code":"\u6e90\u7801","components.controls.blocktype.blocktype":"\u6837\u5f0f","components.controls.blocktype.normal":"\u6b63\u6587","components.controls.colorpicker.colorpicker":"\u9009\u8272\u5668","components.controls.colorpicker.text":"\u6587\u5b57","components.controls.colorpicker.background":"\u80cc\u666f","components.controls.embedded.embedded":"\u5185\u5d4c","components.controls.embedded.embeddedlink":"\u5185\u5d4c\u7f51\u9875","components.controls.embedded.enterlink":"\u8f93\u5165\u7f51\u9875\u5730\u5740","components.controls.emoji.emoji":"\u8868\u60c5\u7b26\u53f7","components.controls.fontfamily.fontfamily":"\u5b57\u4f53","components.controls.fontsize.fontsize":"\u5b57\u53f7","components.controls.history.history":"\u5386\u53f2","components.controls.history.undo":"\u64a4\u9500","components.controls.history.redo":"\u6062\u590d","components.controls.image.image":"\u56fe\u7247","components.controls.image.fileUpload":"\u6765\u81ea\u6587\u4ef6","components.controls.image.byURL":"\u5728\u7ebf\u56fe\u7247","components.controls.image.dropFileText":"\u70b9\u51fb\u6216\u8005\u62d6\u62fd\u6587\u4ef6\u4e0a\u4f20","components.controls.inline.bold":"\u7c97\u4f53","components.controls.inline.italic":"\u659c\u4f53","components.controls.inline.underline":"\u4e0b\u5212\u7ebf","components.controls.inline.strikethrough":"\u5220\u9664\u7ebf","components.controls.inline.monospace":"\u7b49\u5bbd\u5b57\u4f53","components.controls.inline.superscript":"\u4e0a\u6807","components.controls.inline.subscript":"\u4e0b\u6807","components.controls.link.linkTitle":"\u8d85\u94fe\u63a5","components.controls.link.linkTarget":"\u8f93\u5165\u94fe\u63a5\u5730\u5740","components.controls.link.linkTargetOption":"\u5728\u65b0\u7a97\u53e3\u4e2d\u6253\u5f00\u94fe\u63a5","components.controls.link.link":"\u94fe\u63a5","components.controls.link.unlink":"\u5220\u9664\u94fe\u63a5","components.controls.list.list":"\u5217\u8868","components.controls.list.unordered":"\u9879\u76ee\u7b26\u53f7","components.controls.list.ordered":"\u7f16\u53f7","components.controls.list.indent":"\u589e\u52a0\u7f29\u8fdb\u91cf","components.controls.list.outdent":"\u51cf\u5c11\u7f29\u8fdb\u91cf","components.controls.remove.remove":"\u6e05\u9664\u683c\u5f0f","components.controls.textalign.textalign":"\u6587\u672c\u5bf9\u9f50","components.controls.textalign.left":"\u6587\u672c\u5de6\u5bf9\u9f50","components.controls.textalign.center":"\u5c45\u4e2d","components.controls.textalign.right":"\u6587\u672c\u53f3\u5bf9\u9f50","components.controls.textalign.justify":"\u4e24\u7aef\u5bf9\u9f50"},ru:{"generic.add":"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c","generic.cancel":"\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c","components.controls.blocktype.h1":"\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a 1","components.controls.blocktype.h2":"\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a 2","components.controls.blocktype.h3":"\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a 3","components.controls.blocktype.h4":"\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a 4","components.controls.blocktype.h5":"\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a 5","components.controls.blocktype.h6":"\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a 6","components.controls.blocktype.blockquote":"\u0426\u0438\u0442\u0430\u0442\u0430","components.controls.blocktype.code":"\u041a\u043e\u0434","components.controls.blocktype.blocktype":"\u0424\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435","components.controls.blocktype.normal":"\u041e\u0431\u044b\u0447\u043d\u044b\u0439","components.controls.colorpicker.colorpicker":"\u0412\u044b\u0431\u043e\u0440 \u0446\u0432\u0435\u0442\u0430","components.controls.colorpicker.text":"\u0422\u0435\u043a\u0441\u0442","components.controls.colorpicker.background":"\u0424\u043e\u043d","components.controls.embedded.embedded":"\u0412\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u043d\u0438\u0435","components.controls.embedded.embeddedlink":"\u0421\u0441\u044b\u043b\u043a\u0430 \u0432 iFrame","components.controls.embedded.enterlink":"\u0412\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u0441\u0441\u044b\u043b\u043a\u0443","components.controls.emoji.emoji":"\u042d\u043c\u043e\u0434\u0437\u0438","components.controls.fontfamily.fontfamily":"\u0428\u0440\u0438\u0444\u0442","components.controls.fontsize.fontsize":"\u0420\u0430\u0437\u043c\u0435\u0440 \u0448\u0440\u0438\u0444\u0442\u0430","components.controls.history.history":"\u0418\u0441\u0442\u043e\u0440\u0438\u044f","components.controls.history.undo":"\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c","components.controls.history.redo":"\u0412\u0435\u0440\u043d\u0443\u0442\u044c","components.controls.image.image":"\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435","components.controls.image.fileUpload":"\u0424\u0430\u0439\u043b\u044b","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"\u041f\u0435\u0440\u0435\u043c\u0435\u0441\u0442\u0438\u0442\u0435 \u0432 \u044d\u0442\u0443 \u043e\u0431\u043b\u0430\u0441\u0442\u044c \u0444\u0430\u0439\u043b\u044b \u0438\u043b\u0438 \u043a\u043b\u0438\u043a\u043d\u0438\u0442\u0435 \u0434\u043b\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438","components.controls.inline.bold":"\u0416\u0438\u0440\u043d\u044b\u0439","components.controls.inline.italic":"\u041a\u0443\u0440\u0441\u0438\u0432","components.controls.inline.underline":"\u041f\u043e\u0434\u0447\u0435\u0440\u043a\u0438\u0432\u0430\u043d\u0438\u0435","components.controls.inline.strikethrough":"\u0417\u0430\u0447\u0435\u0440\u043a\u0438\u0432\u0430\u043d\u0438\u0435","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"\u0412\u0435\u0440\u0445\u043d\u0438\u0439 \u0438\u043d\u0434\u0435\u043a\u0441","components.controls.inline.subscript":"\u041d\u0438\u0436\u043d\u0438\u0439 \u0438\u043d\u0434\u0435\u043a\u0441","components.controls.link.linkTitle":"\u0422\u0435\u043a\u0441\u0442","components.controls.link.linkTarget":"\u0410\u0434\u0440\u0435\u0441 \u0441\u0441\u044b\u043b\u043a\u0438","components.controls.link.linkTargetOption":"\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0442\u044c \u0432 \u043d\u043e\u0432\u043e\u043c \u043e\u043a\u043d\u0435","components.controls.link.link":"\u0421\u0441\u044b\u043b\u043a\u0430","components.controls.link.unlink":"\u0423\u0431\u0440\u0430\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443","components.controls.list.list":"\u0421\u043f\u0438\u0441\u043e\u043a","components.controls.list.unordered":"\u041d\u0435\u0443\u043f\u043e\u0440\u044f\u0434\u043e\u0447\u0435\u043d\u043d\u044b\u0439","components.controls.list.ordered":"\u0423\u043f\u043e\u0440\u044f\u0434\u043e\u0447\u0435\u043d\u043d\u044b\u0439","components.controls.list.indent":"\u041e\u0442\u0441\u0442\u0443\u043f","components.controls.list.outdent":"\u0412\u044b\u0441\u0442\u0443\u043f","components.controls.remove.remove":"\u0423\u0434\u0430\u043b\u0438\u0442\u044c","components.controls.textalign.textalign":"\u0412\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u043d\u0438\u0435 \u0442\u0435\u043a\u0441\u0442\u0430","components.controls.textalign.left":"\u0421\u043b\u0435\u0432\u0430","components.controls.textalign.center":"\u041f\u043e \u0446\u0435\u043d\u0442\u0440\u0443","components.controls.textalign.right":"\u0421\u043f\u0440\u0430\u0432\u0430","components.controls.textalign.justify":"\u0412\u044b\u0440\u0430\u0432\u043d\u0438\u0442\u044c"},pt:{"generic.add":"Ok","generic.cancel":"Cancelar","components.controls.blocktype.h1":"T\xedtulo 1","components.controls.blocktype.h2":"T\xedtulo 2","components.controls.blocktype.h3":"T\xedtulo 3","components.controls.blocktype.h4":"T\xedtulo 4","components.controls.blocktype.h5":"T\xedtulo 5","components.controls.blocktype.h6":"T\xedtulo 6","components.controls.blocktype.blockquote":"Cita\xe7\xe3o","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"Estilo","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Paleta de cores","components.controls.colorpicker.text":"Texto","components.controls.colorpicker.background":"Fundo","components.controls.embedded.embedded":"Embarcado","components.controls.embedded.embeddedlink":"Link embarcado","components.controls.embedded.enterlink":"Coloque o link","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Fonte","components.controls.fontsize.fontsize":"Tamanho da Fonte","components.controls.history.history":"Hist\xf3rico","components.controls.history.undo":"Desfazer","components.controls.history.redo":"Refazer","components.controls.image.image":"Imagem","components.controls.image.fileUpload":"Carregar arquivo","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Arraste uma imagem aqui ou clique para carregar","components.controls.inline.bold":"Negrito","components.controls.inline.italic":"It\xe1lico","components.controls.inline.underline":"Sublinhado","components.controls.inline.strikethrough":"Strikethrough","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Sobrescrito","components.controls.inline.subscript":"Subscrito","components.controls.link.linkTitle":"T\xedtulo do link","components.controls.link.linkTarget":"Alvo do link","components.controls.link.linkTargetOption":"Abrir link em outra janela","components.controls.link.link":"Adicionar Link","components.controls.link.unlink":"Remover link","components.controls.list.list":"Lista","components.controls.list.unordered":"Sem orden\xe7\xe3o","components.controls.list.ordered":"Ordenada","components.controls.list.indent":"Aumentar recuo","components.controls.list.outdent":"Diminuir recuo","components.controls.remove.remove":"Remover","components.controls.textalign.textalign":"Alinhamento do texto","components.controls.textalign.left":"\xc0 Esquerda","components.controls.textalign.center":"Centralizado","components.controls.textalign.right":"\xc0 Direita","components.controls.textalign.justify":"Justificado"},ko:{"generic.add":"\uc785\ub825","generic.cancel":"\ucde8\uc18c","components.controls.blocktype.h1":"\uc81c\ubaa91","components.controls.blocktype.h2":"\uc81c\ubaa92","components.controls.blocktype.h3":"\uc81c\ubaa93","components.controls.blocktype.h4":"\uc81c\ubaa94","components.controls.blocktype.h5":"\uc81c\ubaa95","components.controls.blocktype.h6":"\uc81c\ubaa96","components.controls.blocktype.blockquote":"\uc778\uc6a9","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"\ube14\ub85d","components.controls.blocktype.normal":"\ud45c\uc900","components.controls.colorpicker.colorpicker":"\uc0c9\uc0c1 \uc120\ud0dd","components.controls.colorpicker.text":"\uae00\uaf34\uc0c9","components.controls.colorpicker.background":"\ubc30\uacbd\uc0c9","components.controls.embedded.embedded":"\uc784\ubca0\ub4dc","components.controls.embedded.embeddedlink":"\uc784\ubca0\ub4dc \ub9c1\ud06c","components.controls.embedded.enterlink":"\uc8fc\uc18c\ub97c \uc785\ub825\ud558\uc138\uc694","components.controls.emoji.emoji":"\uc774\ubaa8\uc9c0","components.controls.fontfamily.fontfamily":"\uae00\uaf34","components.controls.fontsize.fontsize":"\uae00\uaf34 \ud06c\uae30","components.controls.history.history":"\ud788\uc2a4\ud1a0\ub9ac","components.controls.history.undo":"\uc2e4\ud589 \ucde8\uc18c","components.controls.history.redo":"\ub2e4\uc2dc \uc2e4\ud589","components.controls.image.image":"\uc774\ubbf8\uc9c0","components.controls.image.fileUpload":"\ud30c\uc77c \uc5c5\ub85c\ub4dc","components.controls.image.byURL":"\uc8fc\uc18c","components.controls.image.dropFileText":"\ud074\ub9ad\ud558\uac70\ub098 \ud30c\uc77c\uc744 \ub4dc\ub86d\ud558\uc5ec \uc5c5\ub85c\ub4dc\ud558\uc138\uc694","components.controls.inline.bold":"\uad75\uac8c","components.controls.inline.italic":"\uae30\uc6b8\uc784\uaf34","components.controls.inline.underline":"\ubc11\uc904","components.controls.inline.strikethrough":"\ucde8\uc18c\uc120","components.controls.inline.monospace":"\uace0\uc815 \ub108\ube44","components.controls.inline.superscript":"\uc704 \ucca8\uc790","components.controls.inline.subscript":"\uc544\ub798 \ucca8\uc790","components.controls.link.linkTitle":"\ub9c1\ud06c \uc81c\ubaa9","components.controls.link.linkTarget":"\ub9c1\ud06c \ud0c0\uac9f","components.controls.link.linkTargetOption":"\uc0c8\ucc3d\uc73c\ub85c \uc5f4\uae30","components.controls.link.link":"\ub9c1\ud06c","components.controls.link.unlink":"\ub9c1\ud06c \uc81c\uac70","components.controls.list.list":"\ub9ac\uc2a4\ud2b8","components.controls.list.unordered":"\uc77c\ubc18 \ub9ac\uc2a4\ud2b8","components.controls.list.ordered":"\uc21c\uc11c \ub9ac\uc2a4\ud2b8","components.controls.list.indent":"\ub4e4\uc5ec\uc4f0\uae30","components.controls.list.outdent":"\ub0b4\uc5b4\uc4f0\uae30","components.controls.remove.remove":"\uc0ad\uc81c","components.controls.textalign.textalign":"\ud14d\uc2a4\ud2b8 \uc815\ub82c","components.controls.textalign.left":"\uc67c\ucabd","components.controls.textalign.center":"\uc911\uc559","components.controls.textalign.right":"\uc624\ub978\ucabd","components.controls.textalign.justify":"\uc591\ucabd"},it:{"generic.add":"Aggiungi","generic.cancel":"Annulla","components.controls.blocktype.h1":"H1","components.controls.blocktype.h2":"H2","components.controls.blocktype.h3":"H3","components.controls.blocktype.h4":"H4","components.controls.blocktype.h5":"H5","components.controls.blocktype.h6":"H6","components.controls.blocktype.blockquote":"Citazione","components.controls.blocktype.code":"Codice","components.controls.blocktype.blocktype":"Stili","components.controls.blocktype.normal":"Normale","components.controls.colorpicker.colorpicker":"Colore testo","components.controls.colorpicker.text":"Testo","components.controls.colorpicker.background":"Evidenziazione","components.controls.embedded.embedded":"Incorpora","components.controls.embedded.embeddedlink":"Incorpora link","components.controls.embedded.enterlink":"Inserisci link","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Carattere","components.controls.fontsize.fontsize":"Dimensione carattere","components.controls.history.history":"Modifiche","components.controls.history.undo":"Annulla","components.controls.history.redo":"Ripristina","components.controls.image.image":"Immagine","components.controls.image.fileUpload":"Carica immagine","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Trascina il file o clicca per caricare","components.controls.inline.bold":"Grassetto","components.controls.inline.italic":"Corsivo","components.controls.inline.underline":"Sottolineato","components.controls.inline.strikethrough":"Barrato","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Apice","components.controls.inline.subscript":"Pedice","components.controls.link.linkTitle":"Testo","components.controls.link.linkTarget":"Link","components.controls.link.linkTargetOption":"Apri link in una nuova finestra","components.controls.link.link":"Inserisci link","components.controls.link.unlink":"Rimuovi link","components.controls.list.list":"Lista","components.controls.list.unordered":"Elenco puntato","components.controls.list.ordered":"Elenco numerato","components.controls.list.indent":"Indent","components.controls.list.outdent":"Outdent","components.controls.remove.remove":"Rimuovi formattazione","components.controls.textalign.textalign":"Allineamento del testo","components.controls.textalign.left":"Allinea a sinistra","components.controls.textalign.center":"Allinea al centro","components.controls.textalign.right":"Allinea a destra","components.controls.textalign.justify":"Giustifica"},nl:{"generic.add":"Toevoegen","generic.cancel":"Annuleren","components.controls.blocktype.h1":"H1","components.controls.blocktype.h2":"H2","components.controls.blocktype.h3":"H3","components.controls.blocktype.h4":"H4","components.controls.blocktype.h5":"H5","components.controls.blocktype.h6":"H6","components.controls.blocktype.blockquote":"Blockquote","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"Blocktype","components.controls.blocktype.normal":"Normaal","components.controls.colorpicker.colorpicker":"Kleurkiezer","components.controls.colorpicker.text":"Tekst","components.controls.colorpicker.background":"Achtergrond","components.controls.embedded.embedded":"Ingevoegd","components.controls.embedded.embeddedlink":"Ingevoegde link","components.controls.embedded.enterlink":"Voeg link toe","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Lettertype","components.controls.fontsize.fontsize":"Lettergrootte","components.controls.history.history":"Geschiedenis","components.controls.history.undo":"Ongedaan maken","components.controls.history.redo":"Opnieuw","components.controls.image.image":"Afbeelding","components.controls.image.fileUpload":"Bestand uploaden","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Drop het bestand hier of klik om te uploaden","components.controls.inline.bold":"Dikgedrukt","components.controls.inline.italic":"Schuingedrukt","components.controls.inline.underline":"Onderstrepen","components.controls.inline.strikethrough":"Doorstrepen","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Superscript","components.controls.inline.subscript":"Subscript","components.controls.link.linkTitle":"Linktitel","components.controls.link.linkTarget":"Link bestemming","components.controls.link.linkTargetOption":"Open link in een nieuw venster","components.controls.link.link":"Link","components.controls.link.unlink":"Unlink","components.controls.list.list":"Lijst","components.controls.list.unordered":"Ongeordend","components.controls.list.ordered":"Geordend","components.controls.list.indent":"Inspringen","components.controls.list.outdent":"Inspringen verkleinen","components.controls.remove.remove":"Verwijderen","components.controls.textalign.textalign":"Tekst uitlijnen","components.controls.textalign.left":"Links","components.controls.textalign.center":"Gecentreerd","components.controls.textalign.right":"Rechts","components.controls.textalign.justify":"Uitgelijnd"},de:{"generic.add":"Hinzuf\xfcgen","generic.cancel":"Abbrechen","components.controls.blocktype.h1":"\xdcberschrift 1","components.controls.blocktype.h2":"\xdcberschrift 2","components.controls.blocktype.h3":"\xdcberschrift 3","components.controls.blocktype.h4":"\xdcberschrift 4","components.controls.blocktype.h5":"\xdcberschrift 5","components.controls.blocktype.h6":"\xdcberschrift 6","components.controls.blocktype.blockquote":"Zitat","components.controls.blocktype.code":"Quellcode","components.controls.blocktype.blocktype":"Blocktyp","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Farbauswahl","components.controls.colorpicker.text":"Text","components.controls.colorpicker.background":"Hintergrund","components.controls.embedded.embedded":"Eingebettet","components.controls.embedded.embeddedlink":"Eingebetteter Link","components.controls.embedded.enterlink":"Link eingeben","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Schriftart","components.controls.fontsize.fontsize":"Schriftgr\xf6\xdfe","components.controls.history.history":"Historie","components.controls.history.undo":"Zur\xfccknehmen","components.controls.history.redo":"Wiederholen","components.controls.image.image":"Bild","components.controls.image.fileUpload":"Datei-Upload","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Dateien ziehen und ablegen, oder klicken zum Hochladen","components.controls.inline.bold":"Fett","components.controls.inline.italic":"Kursiv","components.controls.inline.underline":"Unterstreichen","components.controls.inline.strikethrough":"Durchstreichen","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Hochgestellt","components.controls.inline.subscript":"Tiefgestellt","components.controls.link.linkTitle":"Link-Titel","components.controls.link.linkTarget":"Link-Ziel","components.controls.link.linkTargetOption":"Link in neuem Fenster \xf6ffnen","components.controls.link.link":"Link","components.controls.link.unlink":"Aufheben","components.controls.list.list":"Liste","components.controls.list.unordered":"Aufz\xe4hlung","components.controls.list.ordered":"Nummerierte Liste","components.controls.list.indent":"Einzug vergr\xf6\xdfern","components.controls.list.outdent":"Einzug reduzieren","components.controls.remove.remove":"Entfernen","components.controls.textalign.textalign":"Textausrichtung","components.controls.textalign.left":"Linksb\xfcndig","components.controls.textalign.center":"Zentrieren","components.controls.textalign.right":"Rechtsb\xfcndig","components.controls.textalign.justify":"Blocksatz"},da:{"generic.add":"Tilf\xf8j","generic.cancel":"Annuller","components.controls.blocktype.h1":"Overskrift 1","components.controls.blocktype.h2":"Overskrift 2","components.controls.blocktype.h3":"Overskrift 3","components.controls.blocktype.h4":"Overskrift 4","components.controls.blocktype.h5":"Overskrift 5","components.controls.blocktype.h6":"Overskrift 6","components.controls.blocktype.blockquote":"Blokcitat","components.controls.blocktype.code":"Kode","components.controls.blocktype.blocktype":"Blok Type","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Farver","components.controls.colorpicker.text":"Tekst","components.controls.colorpicker.background":"Baggrund","components.controls.embedded.embedded":"Indlejre","components.controls.embedded.embeddedlink":"Indlejre Link","components.controls.embedded.enterlink":"Indtast link","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Fonttype","components.controls.fontsize.fontsize":"Fontst\xf8rrelser","components.controls.history.history":"Historie","components.controls.history.undo":"Fortryd","components.controls.history.redo":"Gendan","components.controls.image.image":"Billede","components.controls.image.fileUpload":"Filoverf\xf8rsel","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Drop filen eller klik for at uploade","components.controls.inline.bold":"Fed","components.controls.inline.italic":"Kursiv","components.controls.inline.underline":"Understrege","components.controls.inline.strikethrough":"Gennemstreget","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"H\xe6vet","components.controls.inline.subscript":"S\xe6nket","components.controls.link.linkTitle":"Link Titel","components.controls.link.linkTarget":"Link M\xe5l","components.controls.link.linkTargetOption":"\xc5bn link i nyt vindue","components.controls.link.link":"Link","components.controls.link.unlink":"Fjern link","components.controls.list.list":"Liste","components.controls.list.unordered":"Uordnet","components.controls.list.ordered":"Ordnet","components.controls.list.indent":"Indrykning","components.controls.list.outdent":"Udrykning","components.controls.remove.remove":"Fjern","components.controls.textalign.textalign":"Tekstjustering","components.controls.textalign.left":"Venstre","components.controls.textalign.center":"Center","components.controls.textalign.right":"H\xf8jre","components.controls.textalign.justify":"Margener"},zh_tw:{"generic.add":"\u65b0\u589e","generic.cancel":"\u53d6\u6d88","components.controls.blocktype.h1":"\u6a19\u984c1","components.controls.blocktype.h2":"\u6a19\u984c2","components.controls.blocktype.h3":"\u6a19\u984c3","components.controls.blocktype.h4":"\u6a19\u984c4","components.controls.blocktype.h5":"\u6a19\u984c5","components.controls.blocktype.h6":"\u6a19\u984c6","components.controls.blocktype.blockquote":"\u5f15\u7528","components.controls.blocktype.code":"\u7a0b\u5f0f\u78bc","components.controls.blocktype.blocktype":"\u6a23\u5f0f","components.controls.blocktype.normal":"\u6b63\u6587","components.controls.colorpicker.colorpicker":"\u9078\u8272\u5668","components.controls.colorpicker.text":"\u6587\u5b57","components.controls.colorpicker.background":"\u80cc\u666f","components.controls.embedded.embedded":"\u5167\u5d4c","components.controls.embedded.embeddedlink":"\u5167\u5d4c\u7db2\u9801","components.controls.embedded.enterlink":"\u8f38\u5165\u7db2\u9801\u5730\u5740","components.controls.emoji.emoji":"\u8868\u60c5\u7b26\u865f","components.controls.fontfamily.fontfamily":"\u5b57\u9ad4","components.controls.fontsize.fontsize":"\u5b57\u9ad4\u5927\u5c0f","components.controls.history.history":"\u6b77\u53f2\u7d00\u9304","components.controls.history.undo":"\u5fa9\u539f","components.controls.history.redo":"\u91cd\u505a","components.controls.image.image":"\u5716\u7247","components.controls.image.fileUpload":"\u6a94\u6848\u4e0a\u50b3","components.controls.image.byURL":"\u7db2\u5740","components.controls.image.dropFileText":"\u9ede\u64ca\u6216\u62d6\u66f3\u6a94\u6848\u4e0a\u50b3","components.controls.inline.bold":"\u7c97\u9ad4","components.controls.inline.italic":"\u659c\u9ad4","components.controls.inline.underline":"\u5e95\u7dda","components.controls.inline.strikethrough":"\u522a\u9664\u7dda","components.controls.inline.monospace":"\u7b49\u5bec\u5b57\u9ad4","components.controls.inline.superscript":"\u4e0a\u6a19","components.controls.inline.subscript":"\u4e0b\u6a19","components.controls.link.linkTitle":"\u8d85\u9023\u7d50","components.controls.link.linkTarget":"\u8f38\u5165\u9023\u7d50\u4f4d\u5740","components.controls.link.linkTargetOption":"\u5728\u65b0\u8996\u7a97\u6253\u958b\u9023\u7d50","components.controls.link.link":"\u9023\u7d50","components.controls.link.unlink":"\u522a\u9664\u9023\u7d50","components.controls.list.list":"\u5217\u8868","components.controls.list.unordered":"\u9805\u76ee\u7b26\u865f","components.controls.list.ordered":"\u7de8\u865f","components.controls.list.indent":"\u589e\u52a0\u7e2e\u6392","components.controls.list.outdent":"\u6e1b\u5c11\u7e2e\u6392","components.controls.remove.remove":"\u6e05\u9664\u683c\u5f0f","components.controls.textalign.textalign":"\u6587\u5b57\u5c0d\u9f4a","components.controls.textalign.left":"\u6587\u5b57\u5411\u5de6\u5c0d\u9f4a","components.controls.textalign.center":"\u6587\u5b57\u7f6e\u4e2d","components.controls.textalign.right":"\u6587\u5b57\u5411\u53f3\u5c0d\u9f4a","components.controls.textalign.justify":"\u5169\u7aef\u5c0d\u9f4a"},pl:{"generic.add":"Dodaj","generic.cancel":"Anuluj","components.controls.blocktype.h1":"Nag\u0142\xf3wek 1","components.controls.blocktype.h2":"Nag\u0142\xf3wek 2","components.controls.blocktype.h3":"Nag\u0142\xf3wek 3","components.controls.blocktype.h4":"Nag\u0142\xf3wek 4","components.controls.blocktype.h5":"Nag\u0142\xf3wek 5","components.controls.blocktype.h6":"Nag\u0142\xf3wek 6","components.controls.blocktype.blockquote":"Cytat","components.controls.blocktype.code":"Kod","components.controls.blocktype.blocktype":"Format","components.controls.blocktype.normal":"Normalny","components.controls.colorpicker.colorpicker":"Kolor","components.controls.colorpicker.text":"Tekst","components.controls.colorpicker.background":"T\u0142o","components.controls.embedded.embedded":"Osad\u017a","components.controls.embedded.embeddedlink":"Osad\u017a odno\u015bnik","components.controls.embedded.enterlink":"Wprowad\u017a odno\u015bnik","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Kr\xf3j czcionki","components.controls.fontsize.fontsize":"Rozmiar czcionki","components.controls.history.history":"Historia","components.controls.history.undo":"Cofnij","components.controls.history.redo":"Pon\xf3w","components.controls.image.image":"Obrazek","components.controls.image.fileUpload":"Prze\u015blij plik","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Upu\u015b\u0107 plik lub kliknij, aby przes\u0142a\u0107","components.controls.inline.bold":"Pogrubienie","components.controls.inline.italic":"Kursywa","components.controls.inline.underline":"Podkre\u015blenie","components.controls.inline.strikethrough":"Przekre\u015blenie","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Indeks g\xf3rny","components.controls.inline.subscript":"Indeks dolny","components.controls.link.linkTitle":"Tytu\u0142 odno\u015bnika","components.controls.link.linkTarget":"Adres odno\u015bnika","components.controls.link.linkTargetOption":"Otw\xf3rz odno\u015bnik w nowej karcie","components.controls.link.link":"Wstaw odno\u015bnik","components.controls.link.unlink":"Usu\u0144 odno\u015bnik","components.controls.list.list":"Lista","components.controls.list.unordered":"Lista nieuporz\u0105dkowana","components.controls.list.ordered":"Lista uporz\u0105dkowana","components.controls.list.indent":"Zwi\u0119ksz wci\u0119cie","components.controls.list.outdent":"Zmniejsz wci\u0119cie","components.controls.remove.remove":"Usu\u0144","components.controls.textalign.textalign":"Wyr\xf3wnaj tekst","components.controls.textalign.left":"Do lewej","components.controls.textalign.center":"Do \u015brodka","components.controls.textalign.right":"Do prawej","components.controls.textalign.justify":"Wyjustuj"},es:{"generic.add":"A\xf1adir","generic.cancel":"Cancelar","components.controls.blocktype.h1":"H1","components.controls.blocktype.h2":"H2","components.controls.blocktype.h3":"H3","components.controls.blocktype.h4":"H4","components.controls.blocktype.h5":"H5","components.controls.blocktype.h6":"H6","components.controls.blocktype.blockquote":"Blockquote","components.controls.blocktype.code":"C\xf3digo","components.controls.blocktype.blocktype":"Tipo de bloque","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Seleccionar color","components.controls.colorpicker.text":"Texto","components.controls.colorpicker.background":"Subrayado","components.controls.embedded.embedded":"Adjuntar","components.controls.embedded.embeddedlink":"Adjuntar Link","components.controls.embedded.enterlink":"Introducir link","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Fuente","components.controls.fontsize.fontsize":"Tama\xf1o de fuente","components.controls.history.history":"Hist\xf3rico","components.controls.history.undo":"Deshacer","components.controls.history.redo":"Rehacer","components.controls.image.image":"Imagen","components.controls.image.fileUpload":"Subir archivo","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Arrastra el archivo o haz click para subirlo","components.controls.inline.bold":"Negrita","components.controls.inline.italic":"Cursiva","components.controls.inline.underline":"Subrayado","components.controls.inline.strikethrough":"Tachado","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Sobre\xedndice","components.controls.inline.subscript":"Sub\xedndice","components.controls.link.linkTitle":"T\xedtulo del enlace","components.controls.link.linkTarget":"Objetivo del enlace","components.controls.link.linkTargetOption":"Abrir en nueva ventana","components.controls.link.link":"Enlazar","components.controls.link.unlink":"Desenlazar","components.controls.list.list":"Lista","components.controls.list.unordered":"Desordenada","components.controls.list.ordered":"Ordenada","components.controls.list.indent":"Indentada","components.controls.list.outdent":"Dentada","components.controls.remove.remove":"Eliminar","components.controls.textalign.textalign":"Alineaci\xf3n del texto","components.controls.textalign.left":"Izquierda","components.controls.textalign.center":"Centrado","components.controls.textalign.right":"Derecha","components.controls.textalign.justify":"Justificado"},ja:{"generic.add":"\u8ffd\u52a0","generic.cancel":"\u30ad\u30e3\u30f3\u30bb\u30eb","components.controls.blocktype.h1":"\u898b\u51fa\u30571","components.controls.blocktype.h2":"\u898b\u51fa\u30572","components.controls.blocktype.h3":"\u898b\u51fa\u30573","components.controls.blocktype.h4":"\u898b\u51fa\u30574","components.controls.blocktype.h5":"\u898b\u51fa\u30575","components.controls.blocktype.h6":"\u898b\u51fa\u30576","components.controls.blocktype.blockquote":"\u5f15\u7528","components.controls.blocktype.code":"\u30b3\u30fc\u30c9","components.controls.blocktype.blocktype":"\u30b9\u30bf\u30a4\u30eb","components.controls.blocktype.normal":"\u6a19\u6e96\u30c6\u30ad\u30b9\u30c8","components.controls.colorpicker.colorpicker":"\u30c6\u30ad\u30b9\u30c8\u306e\u8272","components.controls.colorpicker.text":"\u30c6\u30ad\u30b9\u30c8","components.controls.colorpicker.background":"\u30cf\u30a4\u30e9\u30a4\u30c8","components.controls.embedded.embedded":"\u57cb\u3081\u8fbc\u307f","components.controls.embedded.embeddedlink":"\u57cb\u3081\u8fbc\u307f\u30ea\u30f3\u30af","components.controls.embedded.enterlink":"\u30ea\u30f3\u30af\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044","components.controls.emoji.emoji":"\u7d75\u6587\u5b57","components.controls.fontfamily.fontfamily":"\u30d5\u30a9\u30f3\u30c8","components.controls.fontsize.fontsize":"\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba","components.controls.history.history":"\u5c65\u6b74","components.controls.history.undo":"\u5143\u306b\u623b\u3059","components.controls.history.redo":"\u3084\u308a\u76f4\u3057","components.controls.image.image":"\u753b\u50cf","components.controls.image.fileUpload":"\u30d5\u30a1\u30a4\u30eb\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"\u3053\u3053\u306b\u753b\u50cf\u3092\u30c9\u30e9\u30c3\u30b0\u3059\u308b\u304b\u3001\u30af\u30ea\u30c3\u30af\u3057\u3066\u304f\u3060\u3055\u3044","components.controls.inline.bold":"\u592a\u5b57","components.controls.inline.italic":"\u659c\u4f53","components.controls.inline.underline":"\u4e0b\u7dda","components.controls.inline.strikethrough":"\u53d6\u308a\u6d88\u3057\u7dda","components.controls.inline.monospace":"\u7b49\u5e45\u30d5\u30a9\u30f3\u30c8","components.controls.inline.superscript":"\u4e0a\u4ed8\u304d\u6587\u5b57","components.controls.inline.subscript":"\u4e0b\u4ed8\u304d\u6587\u5b57","components.controls.link.linkTitle":"\u30ea\u30f3\u30af\u30bf\u30a4\u30c8\u30eb","components.controls.link.linkTarget":"\u30ea\u30f3\u30af\u5bfe\u8c61","components.controls.link.linkTargetOption":"\u65b0\u3057\u3044\u30a6\u30a3\u30f3\u30c9\u30a6\u3067\u958b\u304f","components.controls.link.link":"\u30ea\u30f3\u30af","components.controls.link.unlink":"\u30ea\u30f3\u30af\u3092\u89e3\u9664","components.controls.list.list":"\u30ea\u30b9\u30c8","components.controls.list.unordered":"\u7b87\u6761\u66f8\u304d","components.controls.list.ordered":"\u756a\u53f7\u4ed8\u304d","components.controls.list.indent":"\u30a4\u30f3\u30c7\u30f3\u30c8\u5897","components.controls.list.outdent":"\u30a4\u30f3\u30c7\u30f3\u30c8\u6e1b","components.controls.remove.remove":"\u66f8\u5f0f\u3092\u30af\u30ea\u30a2","components.controls.textalign.textalign":"\u6574\u5217","components.controls.textalign.left":"\u5de6\u63c3\u3048","components.controls.textalign.center":"\u4e2d\u592e\u63c3\u3048","components.controls.textalign.right":"\u53f3\u63c3\u3048","components.controls.textalign.justify":"\u4e21\u7aef\u63c3\u3048"}};function Xr(e){return(Xr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Qr(){return(Qr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Yr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Gr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yr(Object(n),!0).forEach((function(t){Kr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Kr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jr(e){return function(e){if(Array.isArray(e))return eo(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return eo(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?eo(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function eo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function to(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function no(e,t){return(no=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function ro(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,r=oo(t);if(n){var o=oo(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return function(e,t){if(t&&("object"===Xr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,e)}}function oo(e){return(oo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n(38),n(39);var io=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&no(e,t)}(a,r.Component);var e,t,n,i=ro(a);function a(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).onEditorBlur=function(){t.setState({editorFocused:!1})},t.onEditorFocus=function(e){var n=t.props.onFocus;t.setState({editorFocused:!0});var r=t.focusHandler.isEditorFocused();n&&r&&n(e)},t.onEditorMouseDown=function(){t.focusHandler.onEditorMouseDown()},t.keyBindingFn=function(e){if("Tab"!==e.key)return"ArrowUp"!==e.key&&"ArrowDown"!==e.key||O()&&e.preventDefault(),Object(s.getDefaultKeyBinding)(e);var n=t.props.onTab;if(!n||!n(e)){var r=Object(l.changeDepth)(t.state.editorState,e.shiftKey?-1:1,4);r&&r!==t.state.editorState&&(t.onChange(r),e.preventDefault())}return null},t.onToolbarFocus=function(e){var n=t.props.onFocus;n&&t.focusHandler.isToolbarFocused()&&n(e)},t.onWrapperBlur=function(e){var n=t.props.onBlur;n&&t.focusHandler.isEditorBlur(e)&&n(e,t.getEditorState())},t.onChange=function(e){var n=t.props,r=n.readOnly,o=n.onEditorStateChange;r||"atomic"===Object(l.getSelectedBlocksType)(e)&&e.getSelection().isCollapsed||(o&&o(e,t.props.wrapperId),x(t.props,"editorState")?t.afterChange(e):t.setState({editorState:e},t.afterChange(e)))},t.setWrapperReference=function(e){t.wrapper=e},t.setEditorReference=function(e){t.props.editorRef&&t.props.editorRef(e),t.editor=e},t.getCompositeDecorator=function(e){var n=[].concat(Jr(t.props.customDecorators),[{strategy:gr,component:vr({showOpenOptionOnHover:e.link.showOpenOptionOnHover})}]);return t.props.mention&&n.push.apply(n,Jr(Nr(Gr(Gr({},t.props.mention),{},{onChange:t.onChange,getEditorState:t.getEditorState,getSuggestions:t.getSuggestions,getWrapperRef:t.getWrapperRef,modalHandler:t.modalHandler})))),t.props.hashtag&&n.push(Rr(t.props.hashtag)),new s.CompositeDecorator(n)},t.getWrapperRef=function(){return t.wrapper},t.getEditorState=function(){return t.state?t.state.editorState:null},t.getSuggestions=function(){return t.props.mention&&t.props.mention.suggestions},t.afterChange=function(e){setTimeout((function(){var n=t.props,r=n.onChange,o=n.onContentStateChange;r&&r(Object(s.convertToRaw)(e.getCurrentContent())),o&&o(Object(s.convertToRaw)(e.getCurrentContent()))}))},t.isReadOnly=function(){return t.props.readOnly},t.isImageAlignmentEnabled=function(){return t.state.toolbar.image.alignmentEnabled},t.createEditorState=function(e){var n;if(x(t.props,"editorState"))t.props.editorState&&(n=s.EditorState.set(t.props.editorState,{decorator:e}));else if(x(t.props,"defaultEditorState"))t.props.defaultEditorState&&(n=s.EditorState.set(t.props.defaultEditorState,{decorator:e}));else if(x(t.props,"contentState")){if(t.props.contentState){var r=Object(s.convertFromRaw)(t.props.contentState);n=s.EditorState.createWithContent(r,e),n=s.EditorState.moveSelectionToEnd(n)}}else if(x(t.props,"defaultContentState")||x(t.props,"initialContentState")){var o=t.props.defaultContentState||t.props.initialContentState;o&&(o=Object(s.convertFromRaw)(o),n=s.EditorState.createWithContent(o,e),n=s.EditorState.moveSelectionToEnd(n))}return n||s.EditorState.createEmpty(e)},t.filterEditorProps=function(e){return t=e,n=["onChange","onEditorStateChange","onContentStateChange","initialContentState","defaultContentState","contentState","editorState","defaultEditorState","locale","localization","toolbarOnFocus","toolbar","toolbarCustomButtons","toolbarClassName","editorClassName","toolbarHidden","wrapperClassName","toolbarStyle","editorStyle","wrapperStyle","uploadCallback","onFocus","onBlur","onTab","mention","hashtag","ariaLabel","customBlockRenderFunc","customDecorators","handlePastedText","customStyleMap"],r=Object.keys(t).filter((function(e){return n.indexOf(e)<0})),o={},r&&0<r.length&&r.forEach((function(e){o[e]=t[e]})),o;var t,n,r,o},t.getStyleMap=function(e){return Gr(Gr({},Object(l.getCustomStyleMap)()),e.customStyleMap)},t.changeEditorState=function(e){var n=Object(s.convertFromRaw)(e),r=t.state.editorState;return r=s.EditorState.push(r,n,"insert-characters"),s.EditorState.moveSelectionToEnd(r)},t.focusEditor=function(){setTimeout((function(){t.editor.focus()}))},t.handleKeyCommand=function(e){var n=t.state,r=n.editorState,o=n.toolbar.inline;if(o&&0<=o.options.indexOf(e)){var i=s.RichUtils.handleKeyCommand(r,e);if(i)return t.onChange(i),!0}return!1},t.handleReturn=function(e){if(O())return!0;var n=t.state.editorState,r=Object(l.handleNewLine)(n,e);return!!r&&(t.onChange(r),!0)},t.handlePastedTextFn=function(e,n){var r=t.state.editorState,o=t.props,i=o.handlePastedText,a=o.stripPastedStyles;return i?i(e,n,r,t.onChange):!a&&function(e,t,n,r){var o=Object(l.getSelectedBlock)(n);if(o&&"code"===o.type){var i=s.Modifier.replaceText(n.getCurrentContent(),n.getSelection(),e,n.getCurrentInlineStyle());return r(s.EditorState.push(n,i,"insert-characters")),!0}if(t){var a=k()(t),c=n.getCurrentContent();return a.entityMap.forEach((function(e,t){c=c.mergeEntityData(t,e)})),c=s.Modifier.replaceWithFragment(c,n.getSelection(),new D.List(a.contentBlocks)),r(s.EditorState.push(n,c,"insert-characters")),!0}return!1}(e,n,r,t.onChange)},t.preventDefault=function(e){"INPUT"===e.target.tagName||"LABEL"===e.target.tagName||"TEXTAREA"===e.target.tagName?t.focusHandler.onInputMouseDown():e.preventDefault()};var n=S($r,e.toolbar),r=e.wrapperId?e.wrapperId:Math.floor(1e4*Math.random());t.wrapperId="rdw-wrapper-".concat(r),t.modalHandler=new f,t.focusHandler=new m,t.blockRendererFn=Hr({isReadOnly:t.isReadOnly,isImageAlignmentEnabled:t.isImageAlignmentEnabled,getEditorState:t.getEditorState,onChange:t.onChange},e.customBlockRenderFunc),t.editorProps=t.filterEditorProps(e),t.customStyleMap=t.getStyleMap(e),t.compositeDecorator=t.getCompositeDecorator(n);var o=t.createEditorState(t.compositeDecorator);return Object(l.extractInlineStyle)(o),t.state={editorState:o,editorFocused:!1,toolbar:n},t}return e=a,(t=[{key:"componentDidMount",value:function(){this.modalHandler.init(this.wrapperId)}},{key:"componentDidUpdate",value:function(e){if(e!==this.props){var t={},n=this.props,r=n.editorState,o=n.contentState;if(!this.state.toolbar){var i=S($r,i);t.toolbar=i}if(x(this.props,"editorState")&&r!==e.editorState)t.editorState=r?s.EditorState.set(r,{decorator:this.compositeDecorator}):s.EditorState.createEmpty(this.compositeDecorator);else if(x(this.props,"contentState")&&o!==e.contentState)if(o){var a=this.changeEditorState(o);a&&(t.editorState=a)}else t.editorState=s.EditorState.createEmpty(this.compositeDecorator);e.editorState===r&&e.contentState===o||Object(l.extractInlineStyle)(t.editorState),Object.keys(t).length&&this.setState(t),this.editorProps=this.filterEditorProps(this.props),this.customStyleMap=this.getStyleMap(this.props)}}},{key:"render",value:function(){var e=this.state,t=e.editorState,n=e.editorFocused,r=e.toolbar,i=this.props,a=i.locale,c=i.localization,d=c.locale,p=c.translations,f=i.toolbarCustomButtons,h=i.toolbarOnFocus,b=i.toolbarClassName,A=i.toolbarHidden,m=i.editorClassName,g=i.wrapperClassName,y=i.toolbarStyle,M=i.editorStyle,O=i.wrapperStyle,z=i.uploadCallback,x=i.ariaLabel,w={modalHandler:this.modalHandler,editorState:t,onChange:this.onChange,translations:Gr(Gr({},Vr[a||d]),p)},C=n||this.focusHandler.isInputFocused()||!h;return o.a.createElement("div",{id:this.wrapperId,className:u()(g,"rdw-editor-wrapper"),style:O,onClick:this.modalHandler.onEditorClick,onBlur:this.onWrapperBlur,"aria-label":"rdw-wrapper"},!A&&o.a.createElement("div",{className:u()("rdw-editor-toolbar",b),style:Gr({visibility:C?"visible":"hidden"},y),onMouseDown:this.preventDefault,"aria-label":"rdw-toolbar","aria-hidden":(!n&&h).toString(),onFocus:this.onToolbarFocus},r.options.map((function(e,t){var n=cr[e],i=r[e];return"image"===e&&z&&(i.uploadCallback=z),o.a.createElement(n,Qr({key:t},w,{config:i}))})),f&&f.map((function(e,t){return o.a.cloneElement(e,Gr({key:t},w))}))),o.a.createElement("div",{ref:this.setWrapperReference,className:u()(m,"rdw-editor-main"),style:M,onClick:this.focusEditor,onFocus:this.onEditorFocus,onBlur:this.onEditorBlur,onKeyDown:v.onKeyDown,onMouseDown:this.onEditorMouseDown},o.a.createElement(s.Editor,Qr({ref:this.setEditorReference,keyBindingFn:this.keyBindingFn,editorState:t,onChange:this.onChange,blockStyleFn:_,customStyleMap:this.getStyleMap(this.props),handleReturn:this.handleReturn,handlePastedText:this.handlePastedTextFn,blockRendererFn:this.blockRendererFn,handleKeyCommand:this.handleKeyCommand,ariaLabel:x||"rdw-editor",blockRenderMap:l.blockRenderMap},this.editorProps))))}}])&&to(e.prototype,t),n&&to(e,n),Object.defineProperty(e,"prototype",{writable:!1}),a}();io.propTypes={onChange:a.a.func,onEditorStateChange:a.a.func,onContentStateChange:a.a.func,initialContentState:a.a.object,defaultContentState:a.a.object,contentState:a.a.object,editorState:a.a.object,defaultEditorState:a.a.object,toolbarOnFocus:a.a.bool,spellCheck:a.a.bool,stripPastedStyles:a.a.bool,toolbar:a.a.object,toolbarCustomButtons:a.a.array,toolbarClassName:a.a.string,toolbarHidden:a.a.bool,locale:a.a.string,localization:a.a.object,editorClassName:a.a.string,wrapperClassName:a.a.string,toolbarStyle:a.a.object,editorStyle:a.a.object,wrapperStyle:a.a.object,uploadCallback:a.a.func,onFocus:a.a.func,onBlur:a.a.func,onTab:a.a.func,mention:a.a.object,hashtag:a.a.object,textAlignment:a.a.string,readOnly:a.a.bool,tabIndex:a.a.number,placeholder:a.a.string,ariaLabel:a.a.string,ariaOwneeID:a.a.string,ariaActiveDescendantID:a.a.string,ariaAutoComplete:a.a.string,ariaDescribedBy:a.a.string,ariaExpanded:a.a.string,ariaHasPopup:a.a.string,customBlockRenderFunc:a.a.func,wrapperId:a.a.number,customDecorators:a.a.array,editorRef:a.a.func,handlePastedText:a.a.func},io.defaultProps={toolbarOnFocus:!1,toolbarHidden:!1,stripPastedStyles:!1,localization:{locale:"en",translations:{}},customDecorators:[]};var ao=io}],r.c=i,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=8);function r(e){if(i[e])return i[e].exports;var t=i[e]={i:e,l:!1,exports:{}};return o[e].call(t.exports,t,t.exports,r),t.l=!0,t.exports}var o,i}(n(47313),n(52500),n(15986))},46939:function(e){"use strict";var t=Array.isArray,n=Object.keys,r=Object.prototype.hasOwnProperty,o="undefined"!==typeof Element;function i(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){var s,l,c,u=t(e),d=t(a);if(u&&d){if((l=e.length)!=a.length)return!1;for(s=l;0!==s--;)if(!i(e[s],a[s]))return!1;return!0}if(u!=d)return!1;var p=e instanceof Date,f=a instanceof Date;if(p!=f)return!1;if(p&&f)return e.getTime()==a.getTime();var h=e instanceof RegExp,b=a instanceof RegExp;if(h!=b)return!1;if(h&&b)return e.toString()==a.toString();var A=n(e);if((l=A.length)!==n(a).length)return!1;for(s=l;0!==s--;)if(!r.call(a,A[s]))return!1;if(o&&e instanceof Element&&a instanceof Element)return e===a;for(s=l;0!==s--;)if(("_owner"!==(c=A[s])||!e.$$typeof)&&!i(e[c],a[c]))return!1;return!0}return e!==e&&a!==a}e.exports=function(e,t){try{return i(e,t)}catch(n){if(n.message&&n.message.match(/stack|recursion/i)||-2146828260===n.number)return console.warn("Warning: react-fast-compare does not handle circular references.",n.name,n.message),!1;throw n}}},21624:function(e,t){"use strict";var n=60103,r=60106,o=60107,i=60108,a=60114,s=60109,l=60110,c=60112,u=60113,d=60120,p=60115,f=60116,h=60121,b=60122,A=60117,m=60129,g=60131;if("function"===typeof Symbol&&Symbol.for){var v=Symbol.for;n=v("react.element"),r=v("react.portal"),o=v("react.fragment"),i=v("react.strict_mode"),a=v("react.profiler"),s=v("react.provider"),l=v("react.context"),c=v("react.forward_ref"),u=v("react.suspense"),d=v("react.suspense_list"),p=v("react.memo"),f=v("react.lazy"),h=v("react.block"),b=v("react.server.block"),A=v("react.fundamental"),m=v("react.debug_trace_mode"),g=v("react.legacy_hidden")}function y(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case o:case a:case i:case u:case d:return e;default:switch(e=e&&e.$$typeof){case l:case c:case f:case p:case s:return e;default:return t}}case r:return t}}}},96214:function(e,t,n){"use strict";n(21624)},73086:function(e){var t={invalidPredicate:"`predicate` must be a function",invalidPropValidator:"`propValidator` must be a function",requiredCore:"is marked as required",invalidTypeCore:"Invalid input type",predicateFailureCore:"Failed to succeed with predicate",anonymousMessage:"<<anonymous>>",baseInvalidMessage:"Invalid "};function n(e){if("function"!==typeof e)throw new Error(t.invalidPropValidator);var n=e.bind(null,!1,null);return n.isRequired=e.bind(null,!0,null),n.withPredicate=function(n){if("function"!==typeof n)throw new Error(t.invalidPredicate);var r=e.bind(null,!1,n);return r.isRequired=e.bind(null,!0,n),r},n}function r(e,n,r){return new Error("The prop `"+e+"` "+t.requiredCore+" in `"+n+"`, but its value is `"+r+"`.")}var o=-1;e.exports={constructPropValidatorVariations:n,createMomentChecker:function(e,i,a,s){return n((function(n,l,c,u,d,p,f){var h=c[u],b=typeof h,A=function(e,t,n,i){var a="undefined"===typeof i,s=null===i;if(e){if(a)return r(n,t,"undefined");if(s)return r(n,t,"null")}return a||s?null:o}(n,d=d||t.anonymousMessage,f=f||u,h);if(A!==o)return A;if(i&&!i(h))return new Error(t.invalidTypeCore+": `"+u+"` of type `"+b+"` supplied to `"+d+"`, expected `"+e+"`.");if(!a(h))return new Error(t.baseInvalidMessage+p+" `"+u+"` of type `"+b+"` supplied to `"+d+"`, expected `"+s+"`.");if(l&&!l(h)){var m=l.name||t.anonymousMessage;return new Error(t.baseInvalidMessage+p+" `"+u+"` of type `"+b+"` supplied to `"+d+"`. "+t.predicateFailureCore+" `"+m+"`.")}return null}))},messages:t}},92981:function(e,t,n){var r=n(70816),o=n(1047),i=n(73086);e.exports={momentObj:i.createMomentChecker("object",(function(e){return"object"===typeof e}),(function(e){return o.isValidMoment(e)}),"Moment"),momentString:i.createMomentChecker("string",(function(e){return"string"===typeof e}),(function(e){return o.isValidMoment(r(e))}),"Moment"),momentDurationObj:i.createMomentChecker("object",(function(e){return"object"===typeof e}),(function(e){return r.isDuration(e)}),"Duration")}},1047:function(e,t,n){var r=n(70816);e.exports={isValidMoment:function(e){return!("function"===typeof r.isMoment&&!r.isMoment(e))&&("function"===typeof e.isValid?e.isValid():!isNaN(e))}}},85290:function(e,t,n){"use strict";n.r(t),n.d(t,{IGNORE_CLASS_NAME:function(){return h}});var r=n(47313),o=n(1168);function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(e,t,n){return e===t||(e.correspondingElement?e.correspondingElement.classList.contains(n):e.classList.contains(n))}var l,c,u=(void 0===l&&(l=0),function(){return++l}),d={},p={},f=["touchstart","touchmove"],h="ignore-react-onclickoutside";function b(e,t){var n={};return-1!==f.indexOf(t)&&c&&(n.passive=!e.props.preventDefault),n}t.default=function(e,t){var n,l,f=e.displayName||e.name||"Component";return l=n=function(n){var l,h;function A(e){var r;return(r=n.call(this,e)||this).__outsideClickHandler=function(e){if("function"!==typeof r.__clickOutsideHandlerProp){var t=r.getInstance();if("function"!==typeof t.props.handleClickOutside){if("function"!==typeof t.handleClickOutside)throw new Error("WrappedComponent: "+f+" lacks a handleClickOutside(event) function for processing outside click events.");t.handleClickOutside(e)}else t.props.handleClickOutside(e)}else r.__clickOutsideHandlerProp(e)},r.__getComponentNode=function(){var e=r.getInstance();return t&&"function"===typeof t.setClickOutsideRef?t.setClickOutsideRef()(e):"function"===typeof e.setClickOutsideRef?e.setClickOutsideRef():(0,o.findDOMNode)(e)},r.enableOnClickOutside=function(){if("undefined"!==typeof document&&!p[r._uid]){"undefined"===typeof c&&(c=function(){if("undefined"!==typeof window&&"function"===typeof window.addEventListener){var e=!1,t=Object.defineProperty({},"passive",{get:function(){e=!0}}),n=function(){};return window.addEventListener("testPassiveEventSupport",n,t),window.removeEventListener("testPassiveEventSupport",n,t),e}}()),p[r._uid]=!0;var e=r.props.eventTypes;e.forEach||(e=[e]),d[r._uid]=function(e){var t;null!==r.componentNode&&(r.props.preventDefault&&e.preventDefault(),r.props.stopPropagation&&e.stopPropagation(),r.props.excludeScrollbar&&(t=e,document.documentElement.clientWidth<=t.clientX||document.documentElement.clientHeight<=t.clientY)||function(e,t,n){if(e===t)return!0;for(;e.parentNode||e.host;){if(e.parentNode&&s(e,t,n))return!0;e=e.parentNode||e.host}return e}(e.composed&&e.composedPath&&e.composedPath().shift()||e.target,r.componentNode,r.props.outsideClickIgnoreClass)===document&&r.__outsideClickHandler(e))},e.forEach((function(e){document.addEventListener(e,d[r._uid],b(a(r),e))}))}},r.disableOnClickOutside=function(){delete p[r._uid];var e=d[r._uid];if(e&&"undefined"!==typeof document){var t=r.props.eventTypes;t.forEach||(t=[t]),t.forEach((function(t){return document.removeEventListener(t,e,b(a(r),t))})),delete d[r._uid]}},r.getRef=function(e){return r.instanceRef=e},r._uid=u(),r}h=n,(l=A).prototype=Object.create(h.prototype),l.prototype.constructor=l,i(l,h);var m=A.prototype;return m.getInstance=function(){if(e.prototype&&!e.prototype.isReactComponent)return this;var t=this.instanceRef;return t.getInstance?t.getInstance():t},m.componentDidMount=function(){if("undefined"!==typeof document&&document.createElement){var e=this.getInstance();if(t&&"function"===typeof t.handleClickOutside&&(this.__clickOutsideHandlerProp=t.handleClickOutside(e),"function"!==typeof this.__clickOutsideHandlerProp))throw new Error("WrappedComponent: "+f+" lacks a function for processing outside click events specified by the handleClickOutside config option.");this.componentNode=this.__getComponentNode(),this.props.disableOnClickOutside||this.enableOnClickOutside()}},m.componentDidUpdate=function(){this.componentNode=this.__getComponentNode()},m.componentWillUnmount=function(){this.disableOnClickOutside()},m.render=function(){var t=this.props;t.excludeScrollbar;var n=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,["excludeScrollbar"]);return e.prototype&&e.prototype.isReactComponent?n.ref=this.getRef:n.wrappedRef=this.getRef,n.disableOnClickOutside=this.disableOnClickOutside,n.enableOnClickOutside=this.enableOnClickOutside,(0,r.createElement)(e,n)},A}(r.Component),n.displayName="OnClickOutside("+f+")",n.defaultProps={eventTypes:["mousedown","touchstart"],excludeScrollbar:t&&t.excludeScrollbar||!1,outsideClickIgnoreClass:h,preventDefault:!1,stopPropagation:!1},n.getClass=function(){return e.getClass?e.getClass():e},l}},66368:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=u(n(47313)),i=u(n(75192)),a=n(96095),s=n(67105),l=u(n(37512)),c=u(n(90418));function u(e){return e&&e.__esModule?e:{default:e}}var d={BLOCK:"block",FLEX:"flex",INLINE:"inline",INLINE_BLOCK:"inline-block",CONTENTS:"contents"},p=(0,a.forbidExtraProps)({children:i.default.node.isRequired,onOutsideClick:i.default.func.isRequired,disabled:i.default.bool,useCapture:i.default.bool,display:i.default.oneOf((0,l.default)(d))}),f={disabled:!1,useCapture:!0,display:d.BLOCK},h=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r)));return i.onMouseDown=i.onMouseDown.bind(i),i.onMouseUp=i.onMouseUp.bind(i),i.setChildNodeRef=i.setChildNodeRef.bind(i),i}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.disabled,n=e.useCapture;t||this.addMouseDownEventListener(n)}},{key:"componentDidUpdate",value:function(e){var t=e.disabled,n=this.props,r=n.disabled,o=n.useCapture;t!==r&&(r?this.removeEventListeners():this.addMouseDownEventListener(o))}},{key:"componentWillUnmount",value:function(){this.removeEventListeners()}},{key:"onMouseDown",value:function(e){var t=this.props.useCapture;this.childNode&&(0,c.default)(this.childNode,e.target)||(this.removeMouseUp&&(this.removeMouseUp(),this.removeMouseUp=null),this.removeMouseUp=(0,s.addEventListener)(document,"mouseup",this.onMouseUp,{capture:t}))}},{key:"onMouseUp",value:function(e){var t=this.props.onOutsideClick,n=this.childNode&&(0,c.default)(this.childNode,e.target);this.removeMouseUp&&(this.removeMouseUp(),this.removeMouseUp=null),n||t(e)}},{key:"setChildNodeRef",value:function(e){this.childNode=e}},{key:"addMouseDownEventListener",value:function(e){this.removeMouseDown=(0,s.addEventListener)(document,"mousedown",this.onMouseDown,{capture:e})}},{key:"removeEventListeners",value:function(){this.removeMouseDown&&this.removeMouseDown(),this.removeMouseUp&&this.removeMouseUp()}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.display;return o.default.createElement("div",{ref:this.setChildNodeRef,style:n!==d.BLOCK&&(0,l.default)(d).includes(n)?{display:n}:void 0},t)}}]),t}(o.default.Component);t.default=h,h.propTypes=p,h.defaultProps=f},82972:function(e,t,n){e.exports=n(66368)},51875:function(e,t,n){"use strict";n.r(t),n.d(t,{Manager:function(){return a},Popper:function(){return Be},Reference:function(){return qe},usePopper:function(){return De}});var r=n(47313),o=r.createContext(),i=r.createContext();function a(e){var t=e.children,n=r.useState(null),a=n[0],s=n[1],l=r.useRef(!1);r.useEffect((function(){return function(){l.current=!0}}),[]);var c=r.useCallback((function(e){l.current||s(e)}),[]);return r.createElement(o.Provider,{value:a},r.createElement(i.Provider,{value:c},t))}var s=function(e){return Array.isArray(e)?e[0]:e},l=function(e){if("function"===typeof e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e.apply(void 0,n)}},c=function(e,t){if("function"===typeof e)return l(e,t);null!=e&&(e.current=t)},u=function(e){return e.reduce((function(e,t){var n=t[0],r=t[1];return e[n]=r,e}),{})},d="undefined"!==typeof window&&window.document&&window.document.createElement?r.useLayoutEffect:r.useEffect,p=n(1168);function f(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function h(e){return e instanceof f(e).Element||e instanceof Element}function b(e){return e instanceof f(e).HTMLElement||e instanceof HTMLElement}function A(e){return"undefined"!==typeof ShadowRoot&&(e instanceof f(e).ShadowRoot||e instanceof ShadowRoot)}var m=Math.max,g=Math.min,v=Math.round;function y(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function M(){return!/^((?!chrome|android).)*safari/i.test(y())}function O(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&b(e)&&(o=e.offsetWidth>0&&v(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&v(r.height)/e.offsetHeight||1);var a=(h(e)?f(e):window).visualViewport,s=!M()&&n,l=(r.left+(s&&a?a.offsetLeft:0))/o,c=(r.top+(s&&a?a.offsetTop:0))/i,u=r.width/o,d=r.height/i;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function _(e){var t=f(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function z(e){return e?(e.nodeName||"").toLowerCase():null}function x(e){return((h(e)?e.ownerDocument:e.document)||window.document).documentElement}function w(e){return O(x(e)).left+_(e).scrollLeft}function C(e){return f(e).getComputedStyle(e)}function S(e){var t=C(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function E(e,t,n){void 0===n&&(n=!1);var r=b(t),o=b(t)&&function(e){var t=e.getBoundingClientRect(),n=v(t.width)/e.offsetWidth||1,r=v(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),i=x(t),a=O(e,o,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&(("body"!==z(t)||S(i))&&(s=function(e){return e!==f(e)&&b(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:_(e);var t}(t)),b(t)?((l=O(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=w(i))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function k(e){var t=O(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function D(e){return"html"===z(e)?e:e.assignedSlot||e.parentNode||(A(e)?e.host:null)||x(e)}function N(e){return["html","body","#document"].indexOf(z(e))>=0?e.ownerDocument.body:b(e)&&S(e)?e:N(D(e))}function T(e,t){var n;void 0===t&&(t=[]);var r=N(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=f(r),a=o?[i].concat(i.visualViewport||[],S(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(T(D(a)))}function j(e){return["table","td","th"].indexOf(z(e))>=0}function B(e){return b(e)&&"fixed"!==C(e).position?e.offsetParent:null}function L(e){for(var t=f(e),n=B(e);n&&j(n)&&"static"===C(n).position;)n=B(n);return n&&("html"===z(n)||"body"===z(n)&&"static"===C(n).position)?t:n||function(e){var t=/firefox/i.test(y());if(/Trident/i.test(y())&&b(e)&&"fixed"===C(e).position)return null;var n=D(e);for(A(n)&&(n=n.host);b(n)&&["html","body"].indexOf(z(n))<0;){var r=C(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var R="top",q="bottom",P="right",I="left",W="auto",F=[R,q,P,I],U="start",Z="end",H="clippingParents",$="viewport",V="popper",X="reference",Q=F.reduce((function(e,t){return e.concat([t+"-"+U,t+"-"+Z])}),[]),Y=[].concat(F,[W]).reduce((function(e,t){return e.concat([t,t+"-"+U,t+"-"+Z])}),[]),G=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function K(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function J(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var ee={placement:"bottom",modifiers:[],strategy:"absolute"};function te(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"===typeof e.getBoundingClientRect)}))}function ne(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?ee:o;return function(e,t,n){void 0===n&&(n=i);var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},ee,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},a=[],s=!1,l={state:o,setOptions:function(n){var s="function"===typeof n?n(o.options):n;c(),o.options=Object.assign({},i,o.options,s),o.scrollParents={reference:h(e)?T(e):e.contextElement?T(e.contextElement):[],popper:T(t)};var u=function(e){var t=K(e);return G.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,o.options.modifiers)));return o.orderedModifiers=u.filter((function(e){return e.enabled})),o.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,i=e.effect;if("function"===typeof i){var s=i({state:o,name:t,instance:l,options:r}),c=function(){};a.push(s||c)}})),l.update()},forceUpdate:function(){if(!s){var e=o.elements,t=e.reference,n=e.popper;if(te(t,n)){o.rects={reference:E(t,L(n),"fixed"===o.options.strategy),popper:k(n)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach((function(e){return o.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<o.orderedModifiers.length;r++)if(!0!==o.reset){var i=o.orderedModifiers[r],a=i.fn,c=i.options,u=void 0===c?{}:c,d=i.name;"function"===typeof a&&(o=a({state:o,options:u,name:d,instance:l})||o)}else o.reset=!1,r=-1}}},update:J((function(){return new Promise((function(e){l.forceUpdate(),e(o)}))})),destroy:function(){c(),s=!0}};if(!te(e,t))return l;function c(){a.forEach((function(e){return e()})),a=[]}return l.setOptions(n).then((function(e){!s&&n.onFirstUpdate&&n.onFirstUpdate(e)})),l}}var re={passive:!0};function oe(e){return e.split("-")[0]}function ie(e){return e.split("-")[1]}function ae(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function se(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?oe(o):null,a=o?ie(o):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(i){case R:t={x:s,y:n.y-r.height};break;case q:t={x:s,y:n.y+n.height};break;case P:t={x:n.x+n.width,y:l};break;case I:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=i?ae(i):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case U:t[c]=t[c]-(n[u]/2-r[u]/2);break;case Z:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var le={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ce(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,p=a.x,h=void 0===p?0:p,b=a.y,A=void 0===b?0:b,m="function"===typeof u?u({x:h,y:A}):{x:h,y:A};h=m.x,A=m.y;var g=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),M=I,O=R,_=window;if(c){var z=L(n),w="clientHeight",S="clientWidth";if(z===f(n)&&"static"!==C(z=x(n)).position&&"absolute"===s&&(w="scrollHeight",S="scrollWidth"),o===R||(o===I||o===P)&&i===Z)O=q,A-=(d&&z===_&&_.visualViewport?_.visualViewport.height:z[w])-r.height,A*=l?1:-1;if(o===I||(o===R||o===q)&&i===Z)M=P,h-=(d&&z===_&&_.visualViewport?_.visualViewport.width:z[S])-r.width,h*=l?1:-1}var E,k=Object.assign({position:s},c&&le),D=!0===u?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:v(n*o)/o||0,y:v(r*o)/o||0}}({x:h,y:A},f(n)):{x:h,y:A};return h=D.x,A=D.y,l?Object.assign({},k,((E={})[O]=y?"0":"",E[M]=g?"0":"",E.transform=(_.devicePixelRatio||1)<=1?"translate("+h+"px, "+A+"px)":"translate3d("+h+"px, "+A+"px, 0)",E)):Object.assign({},k,((t={})[O]=y?A+"px":"",t[M]=g?h+"px":"",t.transform="",t))}var ue={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=Y.reduce((function(e,n){return e[n]=function(e,t,n){var r=oe(e),o=[I,R].indexOf(r)>=0?-1:1,i="function"===typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[I,P].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}},de={left:"right",right:"left",bottom:"top",top:"bottom"};function pe(e){return e.replace(/left|right|bottom|top/g,(function(e){return de[e]}))}var fe={start:"end",end:"start"};function he(e){return e.replace(/start|end/g,(function(e){return fe[e]}))}function be(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&A(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Ae(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function me(e,t,n){return t===$?Ae(function(e,t){var n=f(e),r=x(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;var c=M();(c||!c&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s+w(e),y:l}}(e,n)):h(t)?function(e,t){var n=O(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):Ae(function(e){var t,n=x(e),r=_(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=m(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=m(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+w(e),l=-r.scrollTop;return"rtl"===C(o||n).direction&&(s+=m(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}(x(e)))}function ge(e,t,n,r){var o="clippingParents"===t?function(e){var t=T(D(e)),n=["absolute","fixed"].indexOf(C(e).position)>=0&&b(e)?L(e):e;return h(n)?t.filter((function(e){return h(e)&&be(e,n)&&"body"!==z(e)})):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],s=i.reduce((function(t,n){var o=me(e,n,r);return t.top=m(o.top,t.top),t.right=g(o.right,t.right),t.bottom=g(o.bottom,t.bottom),t.left=m(o.left,t.left),t}),me(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function ve(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ye(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function Me(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,a=void 0===i?e.strategy:i,s=n.boundary,l=void 0===s?H:s,c=n.rootBoundary,u=void 0===c?$:c,d=n.elementContext,p=void 0===d?V:d,f=n.altBoundary,b=void 0!==f&&f,A=n.padding,m=void 0===A?0:A,g=ve("number"!==typeof m?m:ye(m,F)),v=p===V?X:V,y=e.rects.popper,M=e.elements[b?v:p],_=ge(h(M)?M:M.contextElement||x(e.elements.popper),l,u,a),z=O(e.elements.reference),w=se({reference:z,element:y,strategy:"absolute",placement:o}),C=Ae(Object.assign({},y,w)),S=p===V?C:z,E={top:_.top-S.top+g.top,bottom:S.bottom-_.bottom+g.bottom,left:_.left-S.left+g.left,right:S.right-_.right+g.right},k=e.modifiersData.offset;if(p===V&&k){var D=k[o];Object.keys(E).forEach((function(e){var t=[P,q].indexOf(e)>=0?1:-1,n=[R,q].indexOf(e)>=0?"y":"x";E[e]+=D[n]*t}))}return E}function Oe(e,t,n){return m(e,g(t,n))}var _e={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,p=n.tether,f=void 0===p||p,h=n.tetherOffset,b=void 0===h?0:h,A=Me(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),v=oe(t.placement),y=ie(t.placement),M=!y,O=ae(v),_="x"===O?"y":"x",z=t.modifiersData.popperOffsets,x=t.rects.reference,w=t.rects.popper,C="function"===typeof b?b(Object.assign({},t.rects,{placement:t.placement})):b,S="number"===typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),E=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,D={x:0,y:0};if(z){if(i){var N,T="y"===O?R:I,j="y"===O?q:P,B="y"===O?"height":"width",W=z[O],F=W+A[T],Z=W-A[j],H=f?-w[B]/2:0,$=y===U?x[B]:w[B],V=y===U?-w[B]:-x[B],X=t.elements.arrow,Q=f&&X?k(X):{width:0,height:0},Y=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},G=Y[T],K=Y[j],J=Oe(0,x[B],Q[B]),ee=M?x[B]/2-H-J-G-S.mainAxis:$-J-G-S.mainAxis,te=M?-x[B]/2+H+J+K+S.mainAxis:V+J+K+S.mainAxis,ne=t.elements.arrow&&L(t.elements.arrow),re=ne?"y"===O?ne.clientTop||0:ne.clientLeft||0:0,se=null!=(N=null==E?void 0:E[O])?N:0,le=W+te-se,ce=Oe(f?g(F,W+ee-se-re):F,W,f?m(Z,le):Z);z[O]=ce,D[O]=ce-W}if(s){var ue,de="x"===O?R:I,pe="x"===O?q:P,fe=z[_],he="y"===_?"height":"width",be=fe+A[de],Ae=fe-A[pe],me=-1!==[R,I].indexOf(v),ge=null!=(ue=null==E?void 0:E[_])?ue:0,ve=me?be:fe-x[he]-w[he]-ge+S.altAxis,ye=me?fe+x[he]+w[he]-ge-S.altAxis:Ae,_e=f&&me?function(e,t,n){var r=Oe(e,t,n);return r>n?n:r}(ve,fe,ye):Oe(f?ve:be,fe,f?ye:Ae);z[_]=_e,D[_]=_e-fe}t.modifiersData[r]=D}},requiresIfExists:["offset"]};var ze={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=oe(n.placement),l=ae(s),c=[I,P].indexOf(s)>=0?"height":"width";if(i&&a){var u=function(e,t){return ve("number"!==typeof(e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ye(e,F))}(o.padding,n),d=k(i),p="y"===l?R:I,f="y"===l?q:P,h=n.rects.reference[c]+n.rects.reference[l]-a[l]-n.rects.popper[c],b=a[l]-n.rects.reference[l],A=L(i),m=A?"y"===l?A.clientHeight||0:A.clientWidth||0:0,g=h/2-b/2,v=u[p],y=m-d[c]-u[f],M=m/2-d[c]/2+g,O=Oe(v,M,y),_=l;n.modifiersData[r]=((t={})[_]=O,t.centerOffset=O-M,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!==typeof r||(r=t.elements.popper.querySelector(r)))&&be(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function xe(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function we(e){return[R,P,q,I].some((function(t){return e[t]>=0}))}var Ce=ne({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,l=f(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,re)})),s&&l.addEventListener("resize",n.update,re),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,re)})),s&&l.removeEventListener("resize",n.update,re)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=se({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,l=void 0===s||s,c={placement:oe(t.placement),variation:ie(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ce(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ce(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];b(o)&&z(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});b(r)&&z(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},ue,{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,h=void 0===f||f,b=n.allowedAutoPlacements,A=t.options.placement,m=oe(A),g=l||(m===A||!h?[pe(A)]:function(e){if(oe(e)===W)return[];var t=pe(e);return[he(e),t,he(t)]}(A)),v=[A].concat(g).reduce((function(e,n){return e.concat(oe(n)===W?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?Y:l,u=ie(r),d=u?s?Q:Q.filter((function(e){return ie(e)===u})):F,p=d.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=d);var f=p.reduce((function(t,n){return t[n]=Me(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[oe(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:b}):n)}),[]),y=t.rects.reference,M=t.rects.popper,O=new Map,_=!0,z=v[0],x=0;x<v.length;x++){var w=v[x],C=oe(w),S=ie(w)===U,E=[R,q].indexOf(C)>=0,k=E?"width":"height",D=Me(t,{placement:w,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),N=E?S?P:I:S?q:R;y[k]>M[k]&&(N=pe(N));var T=pe(N),j=[];if(i&&j.push(D[C]<=0),s&&j.push(D[N]<=0,D[T]<=0),j.every((function(e){return e}))){z=w,_=!1;break}O.set(w,j)}if(_)for(var B=function(e){var t=v.find((function(t){var n=O.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return z=t,"break"},L=h?3:1;L>0;L--){if("break"===B(L))break}t.placement!==z&&(t.modifiersData[r]._skip=!0,t.placement=z,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},_e,ze,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Me(t,{elementContext:"reference"}),s=Me(t,{altBoundary:!0}),l=xe(a,r),c=xe(s,o,i),u=we(l),d=we(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]}),Se=n(81268),Ee=n.n(Se),ke=[],De=function(e,t,n){void 0===n&&(n={});var o=r.useRef(null),i={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||ke},a=r.useState({styles:{popper:{position:i.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),s=a[0],l=a[1],c=r.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,n=Object.keys(t.elements);p.flushSync((function(){l({styles:u(n.map((function(e){return[e,t.styles[e]||{}]}))),attributes:u(n.map((function(e){return[e,t.attributes[e]]})))})}))},requires:["computeStyles"]}}),[]),f=r.useMemo((function(){var e={onFirstUpdate:i.onFirstUpdate,placement:i.placement,strategy:i.strategy,modifiers:[].concat(i.modifiers,[c,{name:"applyStyles",enabled:!1}])};return Ee()(o.current,e)?o.current||e:(o.current=e,e)}),[i.onFirstUpdate,i.placement,i.strategy,i.modifiers,c]),h=r.useRef();return d((function(){h.current&&h.current.setOptions(f)}),[f]),d((function(){if(null!=e&&null!=t){var r=(n.createPopper||Ce)(e,t,f);return h.current=r,function(){r.destroy(),h.current=null}}}),[e,t,n.createPopper]),{state:h.current?h.current.state:null,styles:s.styles,attributes:s.attributes,update:h.current?h.current.update:null,forceUpdate:h.current?h.current.forceUpdate:null}},Ne=function(){},Te=function(){return Promise.resolve(null)},je=[];function Be(e){var t=e.placement,n=void 0===t?"bottom":t,i=e.strategy,a=void 0===i?"absolute":i,l=e.modifiers,u=void 0===l?je:l,d=e.referenceElement,p=e.onFirstUpdate,f=e.innerRef,h=e.children,b=r.useContext(o),A=r.useState(null),m=A[0],g=A[1],v=r.useState(null),y=v[0],M=v[1];r.useEffect((function(){c(f,m)}),[f,m]);var O=r.useMemo((function(){return{placement:n,strategy:a,onFirstUpdate:p,modifiers:[].concat(u,[{name:"arrow",enabled:null!=y,options:{element:y}}])}}),[n,a,p,u,y]),_=De(d||b,m,O),z=_.state,x=_.styles,w=_.forceUpdate,C=_.update,S=r.useMemo((function(){return{ref:g,style:x.popper,placement:z?z.placement:n,hasPopperEscaped:z&&z.modifiersData.hide?z.modifiersData.hide.hasPopperEscaped:null,isReferenceHidden:z&&z.modifiersData.hide?z.modifiersData.hide.isReferenceHidden:null,arrowProps:{style:x.arrow,ref:M},forceUpdate:w||Ne,update:C||Te}}),[g,M,n,z,x,C,w]);return s(h)(S)}var Le=n(21024),Re=n.n(Le);function qe(e){var t=e.children,n=e.innerRef,o=r.useContext(i),a=r.useCallback((function(e){c(n,e),l(o,e)}),[n,o]);return r.useEffect((function(){return function(){return c(n,null)}}),[]),r.useEffect((function(){Re()(Boolean(o),"`Reference` should not be used outside of a `Manager` component.")}),[o]),s(t)({ref:a})}},81268:function(e){var t="undefined"!==typeof Element,n="function"===typeof Map,r="function"===typeof Set,o="function"===typeof ArrayBuffer&&!!ArrayBuffer.isView;function i(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){if(e.constructor!==a.constructor)return!1;var s,l,c,u;if(Array.isArray(e)){if((s=e.length)!=a.length)return!1;for(l=s;0!==l--;)if(!i(e[l],a[l]))return!1;return!0}if(n&&e instanceof Map&&a instanceof Map){if(e.size!==a.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!a.has(l.value[0]))return!1;for(u=e.entries();!(l=u.next()).done;)if(!i(l.value[1],a.get(l.value[0])))return!1;return!0}if(r&&e instanceof Set&&a instanceof Set){if(e.size!==a.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!a.has(l.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(a)){if((s=e.length)!=a.length)return!1;for(l=s;0!==l--;)if(e[l]!==a[l])return!1;return!0}if(e.constructor===RegExp)return e.source===a.source&&e.flags===a.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"===typeof e.valueOf&&"function"===typeof a.valueOf)return e.valueOf()===a.valueOf();if(e.toString!==Object.prototype.toString&&"function"===typeof e.toString&&"function"===typeof a.toString)return e.toString()===a.toString();if((s=(c=Object.keys(e)).length)!==Object.keys(a).length)return!1;for(l=s;0!==l--;)if(!Object.prototype.hasOwnProperty.call(a,c[l]))return!1;if(t&&e instanceof Element)return!1;for(l=s;0!==l--;)if(("_owner"!==c[l]&&"__v"!==c[l]&&"__o"!==c[l]||!e.$$typeof)&&!i(e[c[l]],a[c[l]]))return!1;return!0}return e!==e&&a!==a}e.exports=function(e,t){try{return i(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},36052:function(e,t,n){"use strict";n.r(t),n.d(t,{Portal:function(){return h},PortalWithState:function(){return g}});var r=n(1168),o=n(47313),i=n(75192),a=n.n(i),s=!("undefined"===typeof window||!window.document||!window.document.createElement),l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),l(t,[{key:"componentWillUnmount",value:function(){this.defaultNode&&document.body.removeChild(this.defaultNode),this.defaultNode=null}},{key:"render",value:function(){return s?(this.props.node||this.defaultNode||(this.defaultNode=document.createElement("div"),document.body.appendChild(this.defaultNode)),r.createPortal(this.props.children,this.props.node||this.defaultNode)):null}}]),t}(o.Component);c.propTypes={children:a().node.isRequired,node:a().any};var u=c,d=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var p=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),d(t,[{key:"componentDidMount",value:function(){this.renderPortal()}},{key:"componentDidUpdate",value:function(e){this.renderPortal()}},{key:"componentWillUnmount",value:function(){r.unmountComponentAtNode(this.defaultNode||this.props.node),this.defaultNode&&document.body.removeChild(this.defaultNode),this.defaultNode=null,this.portal=null}},{key:"renderPortal",value:function(e){this.props.node||this.defaultNode||(this.defaultNode=document.createElement("div"),document.body.appendChild(this.defaultNode));var t=this.props.children;"function"===typeof this.props.children.type&&(t=o.cloneElement(this.props.children)),this.portal=r.unstable_renderSubtreeIntoContainer(this,t,this.props.node||this.defaultNode)}},{key:"render",value:function(){return null}}]),t}(o.Component),f=p;p.propTypes={children:a().node.isRequired,node:a().any};var h=r.createPortal?u:f,b=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var A=27,m=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.portalNode=null,n.state={active:!!e.defaultOpen},n.openPortal=n.openPortal.bind(n),n.closePortal=n.closePortal.bind(n),n.wrapWithPortal=n.wrapWithPortal.bind(n),n.handleOutsideMouseClick=n.handleOutsideMouseClick.bind(n),n.handleKeydown=n.handleKeydown.bind(n),n}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),b(t,[{key:"componentDidMount",value:function(){this.props.closeOnEsc&&document.addEventListener("keydown",this.handleKeydown),this.props.closeOnOutsideClick&&document.addEventListener("click",this.handleOutsideMouseClick)}},{key:"componentWillUnmount",value:function(){this.props.closeOnEsc&&document.removeEventListener("keydown",this.handleKeydown),this.props.closeOnOutsideClick&&document.removeEventListener("click",this.handleOutsideMouseClick)}},{key:"openPortal",value:function(e){this.state.active||(e&&e.nativeEvent&&e.nativeEvent.stopImmediatePropagation(),this.setState({active:!0},this.props.onOpen))}},{key:"closePortal",value:function(){this.state.active&&this.setState({active:!1},this.props.onClose)}},{key:"wrapWithPortal",value:function(e){var t=this;return this.state.active?o.createElement(h,{node:this.props.node,key:"react-portal",ref:function(e){return t.portalNode=e}},e):null}},{key:"handleOutsideMouseClick",value:function(e){if(this.state.active){var t=this.portalNode&&(this.portalNode.props.node||this.portalNode.defaultNode);!t||t.contains(e.target)||e.button&&0!==e.button||this.closePortal()}}},{key:"handleKeydown",value:function(e){e.keyCode===A&&this.state.active&&this.closePortal()}},{key:"render",value:function(){return this.props.children({openPortal:this.openPortal,closePortal:this.closePortal,portal:this.wrapWithPortal,isOpen:this.state.active})}}]),t}(o.Component);m.propTypes={children:a().func.isRequired,defaultOpen:a().bool,node:a().any,closeOnEsc:a().bool,closeOnOutsideClick:a().bool,onOpen:a().func,onClose:a().func},m.defaultProps={onOpen:function(){},onClose:function(){}};var g=m},14056:function(e,t,n){e.exports=function(e,t,n,r){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=r(n(1)),d=n(2),p=r(d),f=r(n(3)),h=r(n(4)),b=function(e){function t(){var e,n,r;i(this,t);for(var s=arguments.length,l=Array(s),c=0;c<s;c++)l[c]=arguments[c];return n=r=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r._sigPad=null,r._excludeOurProps=function(){var e=r.props;return e.canvasProps,e.clearOnResize,o(e,["canvasProps","clearOnResize"])},r.getCanvas=function(){return r._canvas},r.getTrimmedCanvas=function(){var e=document.createElement("canvas");return e.width=r._canvas.width,e.height=r._canvas.height,e.getContext("2d").drawImage(r._canvas,0,0),(0,h.default)(e)},r.getSignaturePad=function(){return r._sigPad},r._checkClearOnResize=function(){r.props.clearOnResize&&r._resizeCanvas()},r._resizeCanvas=function(){var e=r.props.canvasProps||{},t=e.width,n=e.height;if(!t||!n){var o=r._canvas,i=Math.max(window.devicePixelRatio||1,1);t||(o.width=o.offsetWidth*i),n||(o.height=o.offsetHeight*i),o.getContext("2d").scale(i,i),r.clear()}},r.on=function(){return window.addEventListener("resize",r._checkClearOnResize),r._sigPad.on()},r.off=function(){return window.removeEventListener("resize",r._checkClearOnResize),r._sigPad.off()},r.clear=function(){return r._sigPad.clear()},r.isEmpty=function(){return r._sigPad.isEmpty()},r.fromDataURL=function(e,t){return r._sigPad.fromDataURL(e,t)},r.toDataURL=function(e,t){return r._sigPad.toDataURL(e,t)},r.fromData=function(e){return r._sigPad.fromData(e)},r.toData=function(){return r._sigPad.toData()},a(r,n)}return s(t,e),c(t,[{key:"componentDidMount",value:function(){this._sigPad=new f.default(this._canvas,this._excludeOurProps()),this._resizeCanvas(),this.on()}},{key:"componentWillUnmount",value:function(){this.off()}},{key:"componentDidUpdate",value:function(){Object.assign(this._sigPad,this._excludeOurProps())}},{key:"render",value:function(){var e=this,t=this.props.canvasProps;return p.default.createElement("canvas",l({ref:function(t){e._canvas=t}},t))}}]),t}(d.Component);b.propTypes={velocityFilterWeight:u.default.number,minWidth:u.default.number,maxWidth:u.default.number,minDistance:u.default.number,dotSize:u.default.oneOfType([u.default.number,u.default.func]),penColor:u.default.string,throttle:u.default.number,onEnd:u.default.func,onBegin:u.default.func,canvasProps:u.default.object,clearOnResize:u.default.bool},b.defaultProps={clearOnResize:!0},t.default=b},function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t){e.exports=n},function(e,t){e.exports=r}])}(n(75192),n(47313),n(83963),n(50783))},43295:function(e,t,n){"undefined"!=typeof self&&self,e.exports=function(e,t){return function(){"use strict";var n={655:function(e,t,n){n.r(t),n.d(t,{__assign:function(){return i},__asyncDelegator:function(){return x},__asyncGenerator:function(){return z},__asyncValues:function(){return w},__await:function(){return _},__awaiter:function(){return h},__classPrivateFieldGet:function(){return D},__classPrivateFieldIn:function(){return T},__classPrivateFieldSet:function(){return N},__createBinding:function(){return A},__decorate:function(){return s},__esDecorate:function(){return c},__exportStar:function(){return m},__extends:function(){return o},__generator:function(){return b},__importDefault:function(){return k},__importStar:function(){return E},__makeTemplateObject:function(){return C},__metadata:function(){return f},__param:function(){return l},__propKey:function(){return d},__read:function(){return v},__rest:function(){return a},__runInitializers:function(){return u},__setFunctionName:function(){return p},__spread:function(){return y},__spreadArray:function(){return O},__spreadArrays:function(){return M},__values:function(){return g}});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function s(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function l(e,t){return function(n,r){t(n,r,e)}}function c(e,t,n,r,o,i){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,l=r.kind,c="getter"===l?"get":"setter"===l?"set":"value",u=!t&&e?r.static?e:e.prototype:null,d=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),p=!1,f=n.length-1;f>=0;f--){var h={};for(var b in r)h[b]="access"===b?{}:r[b];for(var b in r.access)h.access[b]=r.access[b];h.addInitializer=function(e){if(p)throw new TypeError("Cannot add initializers after decoration has completed");i.push(a(e||null))};var A=(0,n[f])("accessor"===l?{get:d.get,set:d.set}:d[c],h);if("accessor"===l){if(void 0===A)continue;if(null===A||"object"!=typeof A)throw new TypeError("Object expected");(s=a(A.get))&&(d.get=s),(s=a(A.set))&&(d.set=s),(s=a(A.init))&&o.push(s)}else(s=a(A))&&("field"===l?o.push(s):d[c]=s)}u&&Object.defineProperty(u,r.name,d),p=!0}function u(e,t,n){for(var r=arguments.length>2,o=0;o<t.length;o++)n=r?t[o].call(e,n):t[o].call(e);return r?n:void 0}function d(e){return"symbol"==typeof e?e:"".concat(e)}function p(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function f(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function h(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}function b(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}var A=Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function m(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||A(t,e,n)}function g(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function v(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function y(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(v(arguments[t]));return e}function M(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)r[o]=i[a];return r}function O(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}function _(e){return this instanceof _?(this.v=e,this):new _(e)}function z(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){o[e]&&(r[e]=function(t){return new Promise((function(n,r){i.push([e,t,n,r])>1||s(e,t)}))})}function s(e,t){try{(n=o[e](t)).value instanceof _?Promise.resolve(n.value.v).then(l,c):u(i[0][2],n)}catch(e){u(i[0][3],e)}var n}function l(e){s("next",e)}function c(e){s("throw",e)}function u(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}}function x(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:_(e[r](t)),done:!1}:o?o(t):t}:o}}function w(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=g(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){!function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)}(r,o,(t=e[n](t)).done,t.value)}))}}}function C(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var S=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function E(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&A(t,e,n);return S(t,e),t}function k(e){return e&&e.__esModule?e:{default:e}}function D(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function N(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n}function T(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}},156:function(t){t.exports=e},111:function(e){e.exports=t}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return n[e](i,i.exports,o),i.exports}o.d=function(e,t){for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return function(){var e=i;Object.defineProperty(e,"__esModule",{value:!0}),e.useReactToPrint=e.PrintContextConsumer=void 0;var t=o(655),n=o(156),r=o(111),a=Object.prototype.hasOwnProperty.call(n,"createContext"),s=Object.prototype.hasOwnProperty.call(n,"useMemo")&&Object.prototype.hasOwnProperty.call(n,"useCallback"),l=a?n.createContext({}):null;e.PrintContextConsumer=l?l.Consumer:function(){return null};var c={copyStyles:!0,pageStyle:"\n        @page {\n            /* Remove browser default header (title) and footer (url) */\n            margin: 0;\n        }\n        @media print {\n            body {\n                /* Tell browsers to print background colors */\n                -webkit-print-color-adjust: exact; /* Chrome/Safari/Edge/Opera */\n                color-adjust: exact; /* Firefox */\n            }\n        }\n    ",removeAfterPrint:!1,suppressErrors:!1},u=function(e){function o(){var n=null!==e&&e.apply(this,arguments)||this;return n.startPrint=function(e){var t=n.props,r=t.onAfterPrint,o=t.onPrintError,i=t.print,a=t.documentTitle;setTimeout((function(){var t,s;if(e.contentWindow){if(e.contentWindow.focus(),i)i(e).then(n.handleRemoveIframe).catch((function(e){o?o("print",e):n.logMessages(["An error was thrown by the specified `print` function"])}));else if(e.contentWindow.print){var l=null!==(s=null===(t=e.contentDocument)||void 0===t?void 0:t.title)&&void 0!==s?s:"",c=e.ownerDocument.title;a&&(e.ownerDocument.title=a,e.contentDocument&&(e.contentDocument.title=a)),e.contentWindow.print(),a&&(e.ownerDocument.title=c,e.contentDocument&&(e.contentDocument.title=l))}else n.logMessages(["Printing for this browser is not currently possible: the browser does not have a `print` method available for iframes."]);r&&r(),n.handleRemoveIframe()}else n.logMessages(["Printing failed because the `contentWindow` of the print iframe did not load. This is possibly an error with `react-to-print`. Please file an issue: https://github.com/gregnb/react-to-print/issues/"])}),500)},n.triggerPrint=function(e){var t=n.props,r=t.onBeforePrint,o=t.onPrintError;if(r){var i=r();i&&"function"==typeof i.then?i.then((function(){n.startPrint(e)})).catch((function(e){o&&o("onBeforePrint",e)})):n.startPrint(e)}else n.startPrint(e)},n.handleClick=function(){var e=n.props,t=e.onBeforeGetContent,r=e.onPrintError;if(t){var o=t();o&&"function"==typeof o.then?o.then(n.handlePrint).catch((function(e){r&&r("onBeforeGetContent",e)})):n.handlePrint()}else n.handlePrint()},n.handlePrint=function(){var e=n.props,o=e.bodyClass,i=e.content,a=e.copyStyles,s=e.fonts,l=e.pageStyle,c=e.nonce,u=i();if(void 0!==u)if(null!==u){var d=document.createElement("iframe");d.width="".concat(document.documentElement.clientWidth,"px"),d.height="".concat(document.documentElement.clientHeight,"px"),d.style.position="absolute",d.style.top="-".concat(document.documentElement.clientHeight+100,"px"),d.style.left="-".concat(document.documentElement.clientWidth+100,"px"),d.id="printWindow",d.srcdoc="<!DOCTYPE html>";var p=(0,r.findDOMNode)(u);if(p){var f=p.cloneNode(!0),h=f instanceof Text,b=document.querySelectorAll("link[rel='stylesheet']"),A=h?[]:f.querySelectorAll("img"),m=h?[]:f.querySelectorAll("video"),g=s?s.length:0;n.numResourcesToLoad=b.length+A.length+m.length+g,n.resourcesLoaded=[],n.resourcesErrored=[];var v=function(e,r){n.resourcesLoaded.includes(e)?n.logMessages(["Tried to mark a resource that has already been handled",e],"debug"):(r?(n.logMessages(t.__spreadArray(['"react-to-print" was unable to load a resource but will continue attempting to print the page'],t.__read(r),!1)),n.resourcesErrored.push(e)):n.resourcesLoaded.push(e),n.resourcesLoaded.length+n.resourcesErrored.length===n.numResourcesToLoad&&n.triggerPrint(d))};d.onload=function(){var e,r,i,u;d.onload=null;var b=d.contentDocument||(null===(r=d.contentWindow)||void 0===r?void 0:r.document);if(b){b.body.appendChild(f),s&&((null===(i=d.contentDocument)||void 0===i?void 0:i.fonts)&&(null===(u=d.contentWindow)||void 0===u?void 0:u.FontFace)?s.forEach((function(e){var t=new FontFace(e.family,e.source,{weight:e.weight,style:e.style});d.contentDocument.fonts.add(t),t.loaded.then((function(){v(t)})).catch((function(e){v(t,["Failed loading the font:",t,"Load error:",e])}))})):(s.forEach((function(e){return v(e)})),n.logMessages(['"react-to-print" is not able to load custom fonts because the browser does not support the FontFace API but will continue attempting to print the page'])));var g="function"==typeof l?l():l;if("string"!=typeof g)n.logMessages(['"react-to-print" expected a "string" from `pageStyle` but received "'.concat(typeof g,'". Styles from `pageStyle` will not be applied.')]);else{var y=b.createElement("style");c&&(y.setAttribute("nonce",c),b.head.setAttribute("nonce",c)),y.appendChild(b.createTextNode(g)),b.head.appendChild(y)}if(o&&(e=b.body.classList).add.apply(e,t.__spreadArray([],t.__read(o.split(" ")),!1)),!h){for(var M=h?[]:p.querySelectorAll("canvas"),O=b.querySelectorAll("canvas"),_=0;_<M.length;++_){var z=M[_],x=O[_].getContext("2d");x&&x.drawImage(z,0,0)}var w=function(e){var t=A[e],n=t.getAttribute("src");if(n){var r=new Image;r.onload=function(){return v(t)},r.onerror=function(e,n,r,o,i){return v(t,["Error loading <img>",t,"Error",i])},r.src=n}else v(t,['Found an <img> tag with an empty "src" attribute. This prevents pre-loading it. The <img> is:',t])};for(_=0;_<A.length;_++)w(_);var C=function(e){var t=m[e];t.preload="auto";var n=t.getAttribute("poster");if(n){var r=new Image;r.onload=function(){return v(t)},r.onerror=function(e,r,o,i,a){return v(t,["Error loading video poster",n,"for video",t,"Error:",a])},r.src=n}else t.readyState>=2?v(t):(t.onloadeddata=function(){return v(t)},t.onerror=function(e,n,r,o,i){return v(t,["Error loading video",t,"Error",i])},t.onstalled=function(){return v(t,["Loading video stalled, skipping",t])})};for(_=0;_<m.length;_++)C(_);var S="input",E=p.querySelectorAll(S),k=b.querySelectorAll(S);for(_=0;_<E.length;_++)k[_].value=E[_].value;var D="input[type=checkbox],input[type=radio]",N=p.querySelectorAll(D),T=b.querySelectorAll(D);for(_=0;_<N.length;_++)T[_].checked=N[_].checked;var j="select",B=p.querySelectorAll(j),L=b.querySelectorAll(j);for(_=0;_<B.length;_++)L[_].value=B[_].value}if(a)for(var R=document.querySelectorAll("style, link[rel='stylesheet']"),q=function(e,t){var r=R[e];if("style"===r.tagName.toLowerCase()){var o=b.createElement(r.tagName),i=r.sheet;if(i){var a="";try{for(var s=i.cssRules.length,l=0;l<s;++l)"string"==typeof i.cssRules[l].cssText&&(a+="".concat(i.cssRules[l].cssText,"\r\n"))}catch(e){n.logMessages(["A stylesheet could not be accessed. This is likely due to the stylesheet having cross-origin imports, and many browsers block script access to cross-origin stylesheets. See https://github.com/gregnb/react-to-print/issues/429 for details. You may be able to load the sheet by both marking the stylesheet with the cross `crossorigin` attribute, and setting the `Access-Control-Allow-Origin` header on the server serving the stylesheet. Alternatively, host the stylesheet on your domain to avoid this issue entirely.",r],"warning")}o.setAttribute("id","react-to-print-".concat(e)),c&&o.setAttribute("nonce",c),o.appendChild(b.createTextNode(a)),b.head.appendChild(o)}}else if(r.getAttribute("href"))if(r.hasAttribute("disabled"))n.logMessages(["`react-to-print` encountered a <link> tag with a `disabled` attribute and will ignore it. Note that the `disabled` attribute is deprecated, and some browsers ignore it. You should stop using it. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-disabled. The <link> is:",r],"warning"),v(r);else{for(var u=b.createElement(r.tagName),d=(l=0,r.attributes.length);l<d;++l){var p=r.attributes[l];p&&u.setAttribute(p.nodeName,p.nodeValue||"")}u.onload=function(){return v(u)},u.onerror=function(e,t,n,r,o){return v(u,["Failed to load",u,"Error:",o])},c&&u.setAttribute("nonce",c),b.head.appendChild(u)}else n.logMessages(["`react-to-print` encountered a <link> tag with an empty `href` attribute. In addition to being invalid HTML, this can cause problems in many browsers, and so the <link> was not loaded. The <link> is:",r],"warning"),v(r)},P=(_=0,R.length);_<P;++_)q(_)}0!==n.numResourcesToLoad&&a||n.triggerPrint(d)},n.handleRemoveIframe(!0),document.body.appendChild(d)}else n.logMessages(['"react-to-print" could not locate the DOM node corresponding with the `content` prop'])}else n.logMessages(['There is nothing to print because the "content" prop returned "null". Please ensure "content" is renderable before allowing "react-to-print" to be called.']);else n.logMessages(["To print a functional component ensure it is wrapped with `React.forwardRef`, and ensure the forwarded ref is used. See the README for an example: https://github.com/gregnb/react-to-print#examples"])},n.handleRemoveIframe=function(e){var t=n.props.removeAfterPrint;if(e||t){var r=document.getElementById("printWindow");r&&document.body.removeChild(r)}},n.logMessages=function(e,t){void 0===t&&(t="error"),n.props.suppressErrors||("error"===t?console.error(e):"warning"===t?console.warn(e):"debug"===t&&console.debug(e))},n}return t.__extends(o,e),o.prototype.render=function(){var e=this.props,t=e.children,r=e.trigger;if(r)return n.cloneElement(r(),{onClick:this.handleClick});if(!l)return this.logMessages(['"react-to-print" requires React ^16.3.0 to be able to use "PrintContext"']),null;var o={handlePrint:this.handleClick};return n.createElement(l.Provider,{value:o},t)},o.defaultProps=c,o}(n.Component);e.default=u,e.useReactToPrint=function(e){if(!s)return e.suppressErrors||console.error('"react-to-print" requires React ^16.8.0 to be able to use "useReactToPrint"'),function(){throw new Error('"react-to-print" requires React ^16.8.0 to be able to use "useReactToPrint"')};var r=n.useMemo((function(){return new u(t.__assign(t.__assign({},c),e))}),[e]);return n.useCallback((function(){return r.handleClick()}),[r])}}(),i}()}(n(47313),n(1168))},60596:function(e,t,n){"use strict";n.d(t,{ZP:function(){return A}});var r=n(63366),o=n(94578),i=n(47313),a=n(1168),s=!1,l=n(20010),c="unmounted",u="exited",d="entering",p="entered",f="exiting",h=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=u,r.appearStatus=d):o=p:o=t.unmountOnExit||t.mountOnEnter?c:u,r.state={status:o},r.nextCallback=null,r}(0,o.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===c?{status:u}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==d&&n!==p&&(t=d):n!==d&&n!==p||(t=f)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!==typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===d){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:a.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===u&&this.setState({status:c})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[a.findDOMNode(this),r],i=o[0],l=o[1],c=this.getTimeouts(),u=r?c.appear:c.enter;!e&&!n||s?this.safeSetState({status:p},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,l),this.safeSetState({status:d},(function(){t.props.onEntering(i,l),t.onTransitionEnd(u,(function(){t.safeSetState({status:p},(function(){t.props.onEntered(i,l)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:a.findDOMNode(this);t&&!s?(this.props.onExit(r),this.safeSetState({status:f},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:u},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:u},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:a.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],s=o[1];this.props.addEndListener(i,s)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===c)return null;var t=this.props,n=t.children,o=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,r.Z)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return i.createElement(l.Z.Provider,{value:null},"function"===typeof n?n(e,o):i.cloneElement(i.Children.only(n),o))},t}(i.Component);function b(){}h.contextType=l.Z,h.propTypes={},h.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:b,onEntering:b,onEntered:b,onExit:b,onExiting:b,onExited:b},h.UNMOUNTED=c,h.EXITED=u,h.ENTERING=d,h.ENTERED=p,h.EXITING=f;var A=h},20010:function(e,t,n){"use strict";var r=n(47313);t.Z=r.createContext(null)},51115:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.CHANNEL="__direction__",t.DIRECTIONS={LTR:"ltr",RTL:"rtl"}},8142:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(75192),i=(r=o)&&r.__esModule?r:{default:r};t.default=i.default.shape({getState:i.default.func,setState:i.default.func,subscribe:i.default.func})},18726:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(37512)),o=a(n(75192)),i=n(51115);function a(e){return e&&e.__esModule?e:{default:e}}t.default=o.default.oneOf((0,r.default)(i.DIRECTIONS))},11310:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.withDirectionPropTypes=t.DIRECTIONS=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){var t=function(t){function n(e,t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e,t));return r.state={direction:t[c.CHANNEL]?t[c.CHANNEL].getState():m},r}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),o(n,[{key:"componentDidMount",value:function(){var e=this;this.context[c.CHANNEL]&&(this.channelUnsubscribe=this.context[c.CHANNEL].subscribe((function(t){e.setState({direction:t})})))}},{key:"componentWillUnmount",value:function(){this.channelUnsubscribe&&this.channelUnsubscribe()}},{key:"render",value:function(){var t=this.state.direction;return i.default.createElement(e,r({},this.props,{direction:t}))}}]),n}(i.default.Component),n=(0,l.default)(e)||"Component";t.WrappedComponent=e,t.contextTypes=A,t.displayName="withDirection("+String(n)+")",e.propTypes&&(t.propTypes=(0,s.default)({},e.propTypes),delete t.propTypes.direction);e.defaultProps&&(t.defaultProps=(0,s.default)({},e.defaultProps));return(0,a.default)(t,e)};var i=p(n(47313)),a=p(n(67861)),s=p(n(62102)),l=p(n(50749)),c=n(51115),u=p(n(8142)),d=p(n(18726));function p(e){return e&&e.__esModule?e:{default:e}}var f,h,b,A=(f={},h=c.CHANNEL,b=u.default,h in f?Object.defineProperty(f,h,{value:b,enumerable:!0,configurable:!0,writable:!0}):f[h]=b,f);t.DIRECTIONS=c.DIRECTIONS;var m=c.DIRECTIONS.LTR;t.withDirectionPropTypes={direction:d.default.isRequired}},62102:function(e){"use strict";var t=function(e){return function(e){return!!e&&"object"===typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===n}(e)}(e)};var n="function"===typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,n){var r;return n&&!0===n.clone&&t(e)?i((r=e,Array.isArray(r)?[]:{}),e,n):e}function o(e,n,o){var a=e.slice();return n.forEach((function(n,s){"undefined"===typeof a[s]?a[s]=r(n,o):t(n)?a[s]=i(e[s],n,o):-1===e.indexOf(n)&&a.push(r(n,o))})),a}function i(e,n,a){var s=Array.isArray(n);return s===Array.isArray(e)?s?((a||{arrayMerge:o}).arrayMerge||o)(e,n,a):function(e,n,o){var a={};return t(e)&&Object.keys(e).forEach((function(t){a[t]=r(e[t],o)})),Object.keys(n).forEach((function(s){t(n[s])&&e[s]?a[s]=i(e[s],n[s],o):a[s]=r(n[s],o)})),a}(e,n,a):r(n,a)}i.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return i(e,n,t)}))};var a=i;e.exports=a},72777:function(e,t,n){"use strict";var r=n(64836);t.default=void 0;var o=r(n(77857)),i=r(n(74072)),a=n(59425),s=r(n(3564)),l=r(n(52256));var c={create:function(e){var t={},n=Object.keys(e),r=(i.default.get(a.GLOBAL_CACHE_KEY)||{}).namespace,o=void 0===r?"":r;return n.forEach((function(e){var n=(0,s.default)(o,e);t[e]=n})),t},resolve:function(e){var t=(0,o.default)(e,1/0),n=(0,l.default)(t),r=n.classNames,i=n.hasInlineStyles,a=n.inlineStyles,s={className:r.map((function(e,t){return"".concat(e," ").concat(e,"_").concat(t+1)})).join(" ")};return i&&(s.style=a),s}};t.default=c},59425:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MAX_SPECIFICITY=t.GLOBAL_CACHE_KEY=void 0;t.GLOBAL_CACHE_KEY="reactWithStylesInterfaceCSS";t.MAX_SPECIFICITY=20},3564:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=e.length>0?"".concat(e,"__"):"";return"".concat(n).concat(t)}},52256:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e){for(var t=[],n=!1,r={},o=0;o<e.length;o++){var i=e[o];i&&("string"===typeof i?t.push(i):(Object.assign(r,i),n=!0))}return{classNames:t,hasInlineStyles:n,inlineStyles:r}};t.default=n},2461:function(e,t,n){e.exports=n(72777).default},56035:function(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t._getInterface=function(){return n},t._getTheme=a,t.default=void 0;function o(e,t){var n=t(e(r));return function(){return n}}function i(e){return o(e,n.createLTR||n.create)}function a(){return r}function s(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.resolve(t)}function l(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.resolveLTR?n.resolveLTR(t):s(t)}var c={registerTheme:function(e){r=e},registerInterface:function(e){n=e},create:i,createLTR:i,createRTL:function(e){return o(e,n.createRTL||n.create)},get:a,resolve:l,resolveLTR:l,resolveRTL:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.resolveRTL?n.resolveRTL(t):s(t)},flush:function(){n.flush&&n.flush()}};t.default=c},58561:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DIRECTIONS",{enumerable:!0,get:function(){return a.DIRECTIONS}}),t.default=void 0;var o=n(47313),i=r(n(75192)),a=n(11310);var s,l=(s={stylesInterface:null,stylesTheme:null,direction:null},o.createContext?(0,o.createContext)(s):{Provider:function(){throw new ReferenceError("WithStylesContext requires React 16.3 or later")},Consumer:function(){throw new ReferenceError("WithStylesContext requires React 16.3 or later")}});l.Provider.propTypes={stylesInterface:i.default.object,stylesTheme:i.default.object,direction:i.default.oneOf([a.DIRECTIONS.LTR,a.DIRECTIONS.RTL])};var c=l;t.default=c},38818:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={},r=function(){return n};t.default=r},79051:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.perfStart=function(e){"undefined"!==typeof performance&&void 0!==performance.mark&&"function"===typeof performance.clearMarks&&e&&(performance.clearMarks(e),performance.mark(e))},t.perfEnd=function(e,t,n){"undefined"!==typeof performance&&void 0!==performance.mark&&"function"===typeof performance.clearMarks&&(performance.clearMarks(t),performance.mark(t),performance.measure(n,e,t),performance.clearMarks(n))},t.default=function(e){"react-with-styles.".concat(e,".start"),"react-with-styles.".concat(e,".end"),"\ud83d\udc69\u200d\ud83c\udfa8 [".concat(e,"]");return function(e){return function(){return e.apply(void 0,arguments)}}}},75385:function(e,t,n){"use strict";var r=n(75263),o=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.withStyles=v,Object.defineProperty(t,"withStylesPropTypes",{enumerable:!0,get:function(){return A.withStylesPropTypes}}),t.css=t.default=void 0;var i=o(n(10434)),a=o(n(38416)),s=o(n(70215)),l=o(n(7867)),c=o(n(47313)),u=o(n(67861)),d=o(n(50749)),p=o(n(59610)),f=o(n(38818)),h=(o(n(79051)),r(n(58561))),b=r(n(56035)),A=n(2072);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){(0,a.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.default,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.stylesPropName,r=void 0===n?"styles":n,o=t.themePropName,A=void 0===o?"theme":o,m=t.cssPropName,v=void 0===m?"css":m,y=t.flushBefore,M=void 0!==y&&y,O=t.pureComponent,_=void 0!==O&&O;e=e||f.default;var z=_?c.default.PureComponent:c.default.Component,x="undefined"===typeof WeakMap?new Map:new WeakMap;var w="undefined"===typeof WeakMap?new Map:new WeakMap;return function(t){var n=(0,d.default)(t),o=function(n){function o(){return n.apply(this,arguments)||this}(0,l.default)(o,n);var u=o.prototype;return u.getCurrentInterface=function(){return this.context&&this.context.stylesInterface||(0,b._getInterface)()},u.getCurrentTheme=function(){return this.context&&this.context.stylesTheme||(0,b._getTheme)()},u.getCurrentDirection=function(){return this.context&&this.context.direction||h.DIRECTIONS.LTR},u.getProps=function(){var t=this.getCurrentInterface(),n=this.getCurrentTheme(),r=this.getCurrentDirection(),i=function(e,t,n){var r=w.get(e);if(!r)return null;var o=r.get(t);return o?o[n]:null}(n,o,r),a=!i||!i.stylesInterface||t&&i.stylesInterface!==t,s=!i||i.theme!==n;if(!a&&!s)return i.props;var l=a&&function(e,t){var n=e===h.DIRECTIONS.RTL?"RTL":"LTR",r=t["create".concat(n)]||t.create;return{create:r,original:r}}(r,t)||i.create,c=a&&function(e,t){var n=e===h.DIRECTIONS.RTL?"RTL":"LTR",r=t["resolve".concat(n)]||t.resolve;return{resolve:r,original:r}}(r,t)||i.resolve,u=l.create,d=c.resolve,p=!i||!i.create||l.original!==i.create.original,f=(!i||!i.resolve||c.original!==i.resolve.original)&&function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return d(t)}||i.props.css,b=function(t){var n=x.get(t)||e(t)||{};return x.set(t,n),n}(n),A={css:f,styles:(p||b!==i.stylesFnResult)&&u(b)||i.props.styles,theme:n};return function(e,t,n,r){var o=w.get(e);o||(o="undefined"===typeof WeakMap?new Map:new WeakMap,w.set(e,o));var i=o.get(t);i||(i={ltr:{},rtl:{}},o.set(t,i)),i[n]=r}(n,o,r,{stylesInterface:t,theme:n,create:l,resolve:c,stylesFnResult:b,props:A}),A},u.flush=function(){var e=this.getCurrentInterface();e&&e.flush&&e.flush()},u.render=function(){var e,n=this.getProps(),o=n.theme,l=n.styles,u=n.css;M&&this.flush();var d=this.props,p=d.forwardedRef,f=(0,s.default)(d,["forwardedRef"]);return c.default.createElement(t,(0,i.default)({ref:"undefined"===typeof c.default.forwardRef?void 0:p},"undefined"===typeof c.default.forwardRef?this.props:f,(e={},(0,a.default)(e,A,o),(0,a.default)(e,r,l),(0,a.default)(e,v,u),e)))},o}(z);"undefined"!==typeof c.default.forwardRef&&(o.propTypes={forwardedRef:(0,p.default)()});var f="undefined"===typeof c.default.forwardRef?o:c.default.forwardRef((function(e,t){return c.default.createElement(o,(0,i.default)({},e,{forwardedRef:t}))}));return t.propTypes&&(f.propTypes=g({},t.propTypes),delete f.propTypes[r],delete f.propTypes[A],delete f.propTypes[v]),t.defaultProps&&(f.defaultProps=g({},t.defaultProps)),o.contextType=h.default,f.WrappedComponent=t,f.displayName="withStyles(".concat(n,")"),(0,u.default)(f,t)}}var y=v;t.default=y;var M=b.default.resolveLTR;t.css=M},2072:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.withStylesPropTypes=void 0;var o=r(n(75192)),i={styles:o.default.object.isRequired,theme:o.default.object.isRequired,css:o.default.func.isRequired};t.withStylesPropTypes=i;var a=i;t.default=a},35918:function(e,t,n){"use strict";var r=n(47313),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,i={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)a.call(t,r)&&!l.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:c,ref:u,props:i,_owner:s.current}}t.Fragment=i,t.jsx=c,t.jsxs=c},80306:function(e,t){"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),f=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b=Object.assign,A={};function m(e,t,n){this.props=e,this.context=t,this.refs=A,this.updater=n||h}function g(){}function v(e,t,n){this.props=e,this.context=t,this.refs=A,this.updater=n||h}m.prototype.isReactComponent={},m.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},m.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},g.prototype=m.prototype;var y=v.prototype=new g;y.constructor=v,b(y,m.prototype),y.isPureReactComponent=!0;var M=Array.isArray,O=Object.prototype.hasOwnProperty,_={current:null},z={key:!0,ref:!0,__self:!0,__source:!0};function x(e,t,r){var o,i={},a=null,s=null;if(null!=t)for(o in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)O.call(t,o)&&!z.hasOwnProperty(o)&&(i[o]=t[o]);var l=arguments.length-2;if(1===l)i.children=r;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];i.children=c}if(e&&e.defaultProps)for(o in l=e.defaultProps)void 0===i[o]&&(i[o]=l[o]);return{$$typeof:n,type:e,key:a,ref:s,props:i,_owner:_.current}}function w(e){return"object"===typeof e&&null!==e&&e.$$typeof===n}var C=/\/+/g;function S(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function E(e,t,o,i,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case n:case r:l=!0}}if(l)return a=a(l=e),e=""===i?"."+S(l,0):i,M(a)?(o="",null!=e&&(o=e.replace(C,"$&/")+"/"),E(a,t,o,"",(function(e){return e}))):null!=a&&(w(a)&&(a=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,o+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(C,"$&/")+"/")+e)),t.push(a)),1;if(l=0,i=""===i?".":i+":",M(e))for(var c=0;c<e.length;c++){var u=i+S(s=e[c],c);l+=E(s,t,o,u,a)}else if(u=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=f&&e[f]||e["@@iterator"])?e:null}(e),"function"===typeof u)for(e=u.call(e),c=0;!(s=e.next()).done;)l+=E(s=s.value,t,o,u=i+S(s,c++),a);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function k(e,t,n){if(null==e)return e;var r=[],o=0;return E(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function D(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var N={current:null},T={transition:null},j={ReactCurrentDispatcher:N,ReactCurrentBatchConfig:T,ReactCurrentOwner:_};t.Children={map:k,forEach:function(e,t,n){k(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return k(e,(function(){t++})),t},toArray:function(e){return k(e,(function(e){return e}))||[]},only:function(e){if(!w(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=m,t.Fragment=o,t.Profiler=a,t.PureComponent=v,t.StrictMode=i,t.Suspense=u,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=j,t.cloneElement=function(e,t,r){if(null===e||void 0===e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=b({},e.props),i=e.key,a=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,s=_.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)O.call(t,c)&&!z.hasOwnProperty(c)&&(o[c]=void 0===t[c]&&void 0!==l?l[c]:t[c])}var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];o.children=l}return{$$typeof:n,type:e.type,key:i,ref:a,props:o,_owner:s}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=x,t.createFactory=function(e){var t=x.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=w,t.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:D}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=T.transition;T.transition={};try{e()}finally{T.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return N.current.useCallback(e,t)},t.useContext=function(e){return N.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return N.current.useDeferredValue(e)},t.useEffect=function(e,t){return N.current.useEffect(e,t)},t.useId=function(){return N.current.useId()},t.useImperativeHandle=function(e,t,n){return N.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return N.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return N.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return N.current.useMemo(e,t)},t.useReducer=function(e,t,n){return N.current.useReducer(e,t,n)},t.useRef=function(e){return N.current.useRef(e)},t.useState=function(e){return N.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return N.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return N.current.useTransition()},t.version="18.2.0"},47313:function(e,t,n){"use strict";e.exports=n(80306)},46417:function(e,t,n){"use strict";e.exports=n(35918)},41299:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.autoprefix=void 0;var r,o=n(57827),i=(r=o)&&r.__esModule?r:{default:r},a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};var s={borderRadius:function(e){return{msBorderRadius:e,MozBorderRadius:e,OBorderRadius:e,WebkitBorderRadius:e,borderRadius:e}},boxShadow:function(e){return{msBoxShadow:e,MozBoxShadow:e,OBoxShadow:e,WebkitBoxShadow:e,boxShadow:e}},userSelect:function(e){return{WebkitTouchCallout:e,KhtmlUserSelect:e,MozUserSelect:e,msUserSelect:e,WebkitUserSelect:e,userSelect:e}},flex:function(e){return{WebkitBoxFlex:e,MozBoxFlex:e,WebkitFlex:e,msFlex:e,flex:e}},flexBasis:function(e){return{WebkitFlexBasis:e,flexBasis:e}},justifyContent:function(e){return{WebkitJustifyContent:e,justifyContent:e}},transition:function(e){return{msTransition:e,MozTransition:e,OTransition:e,WebkitTransition:e,transition:e}},transform:function(e){return{msTransform:e,MozTransform:e,OTransform:e,WebkitTransform:e,transform:e}},absolute:function(e){var t=e&&e.split(" ");return{position:"absolute",top:t&&t[0],right:t&&t[1],bottom:t&&t[2],left:t&&t[3]}},extend:function(e,t){var n=t[e];return n||{extend:e}}},l=t.autoprefix=function(e){var t={};return(0,i.default)(e,(function(e,n){var r={};(0,i.default)(e,(function(e,t){var n=s[t];n?r=a({},r,n(e)):r[t]=e})),t[n]=r})),t};t.default=l},40083:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.active=void 0;var r,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(47313),a=(r=i)&&r.__esModule?r:{default:r};function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var l=t.active=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function r(){var n,i,l;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);for(var c=arguments.length,u=Array(c),d=0;d<c;d++)u[d]=arguments[d];return i=l=s(this,(n=r.__proto__||Object.getPrototypeOf(r)).call.apply(n,[this].concat(u))),l.state={active:!1},l.handleMouseDown=function(){return l.setState({active:!0})},l.handleMouseUp=function(){return l.setState({active:!1})},l.render=function(){return a.default.createElement(t,{onMouseDown:l.handleMouseDown,onMouseUp:l.handleMouseUp},a.default.createElement(e,o({},l.props,l.state)))},s(l,i)}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,n),r}(a.default.Component)};t.default=l},62610:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hover=void 0;var r,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(47313),a=(r=i)&&r.__esModule?r:{default:r};function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var l=t.hover=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function r(){var n,i,l;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);for(var c=arguments.length,u=Array(c),d=0;d<c;d++)u[d]=arguments[d];return i=l=s(this,(n=r.__proto__||Object.getPrototypeOf(r)).call.apply(n,[this].concat(u))),l.state={hover:!1},l.handleMouseOver=function(){return l.setState({hover:!0})},l.handleMouseOut=function(){return l.setState({hover:!1})},l.render=function(){return a.default.createElement(t,{onMouseOver:l.handleMouseOver,onMouseOut:l.handleMouseOut},a.default.createElement(e,o({},l.props,l.state)))},s(l,i)}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,n),r}(a.default.Component)};t.default=l},78197:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flattenNames=void 0;var r=s(n(65406)),o=s(n(57827)),i=s(n(40634)),a=s(n(93428));function s(e){return e&&e.__esModule?e:{default:e}}var l=t.flattenNames=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=[];return(0,a.default)(t,(function(t){Array.isArray(t)?e(t).map((function(e){return n.push(e)})):(0,i.default)(t)?(0,o.default)(t,(function(e,t){!0===e&&n.push(t),n.push(t+"-"+e)})):(0,r.default)(t)&&n.push(t)})),n};t.default=l},29584:function(e,t,n){"use strict";t.tz=void 0;var r=c(n(78197)),o=c(n(53417)),i=c(n(41299)),a=c(n(62610)),s=c(n(40083)),l=c(n(56751));function c(e){return e&&e.__esModule?e:{default:e}}a.default,t.tz=a.default,s.default,l.default;var u=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];var s=(0,r.default)(n),l=(0,o.default)(e,s);return(0,i.default)(l)};t.ZP=u},56751:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e,t){var n={},r=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];n[e]=t};return 0===e&&r("first-child"),e===t-1&&r("last-child"),(0===e||e%2===0)&&r("even"),1===Math.abs(e%2)&&r("odd"),r("nth-child",e),n}},53417:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeClasses=void 0;var r=a(n(57827)),o=a(n(38504)),i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function a(e){return e&&e.__esModule?e:{default:e}}var s=t.mergeClasses=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.default&&(0,o.default)(e.default)||{};return t.map((function(t){var o=e[t];return o&&(0,r.default)(o,(function(e,t){n[t]||(n[t]={}),n[t]=i({},n[t],o[t])})),t})),n};t.default=s},98432:function(e,t,n){"use strict";var r=n(44680),o=n(28476),i=n(27503),a=r("RegExp.prototype.exec"),s=o("%TypeError%");e.exports=function(e){if(!i(e))throw new s("`regex` must be a RegExp");return function(t){return null!==a(e,t)}}},13095:function(e,t){"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<i(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,a=o>>>1;r<a;){var s=2*(r+1)-1,l=e[s],c=s+1,u=e[c];if(0>i(l,n))c<o&&0>i(u,l)?(e[r]=u,e[c]=n,r=c):(e[r]=l,e[s]=n,r=s);else{if(!(c<o&&0>i(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var c=[],u=[],d=1,p=null,f=3,h=!1,b=!1,A=!1,m="function"===typeof setTimeout?setTimeout:null,g="function"===typeof clearTimeout?clearTimeout:null,v="undefined"!==typeof setImmediate?setImmediate:null;function y(e){for(var t=r(u);null!==t;){if(null===t.callback)o(u);else{if(!(t.startTime<=e))break;o(u),t.sortIndex=t.expirationTime,n(c,t)}t=r(u)}}function M(e){if(A=!1,y(e),!b)if(null!==r(c))b=!0,T(O);else{var t=r(u);null!==t&&j(M,t.startTime-e)}}function O(e,n){b=!1,A&&(A=!1,g(w),w=-1),h=!0;var i=f;try{for(y(n),p=r(c);null!==p&&(!(p.expirationTime>n)||e&&!E());){var a=p.callback;if("function"===typeof a){p.callback=null,f=p.priorityLevel;var s=a(p.expirationTime<=n);n=t.unstable_now(),"function"===typeof s?p.callback=s:p===r(c)&&o(c),y(n)}else o(c);p=r(c)}if(null!==p)var l=!0;else{var d=r(u);null!==d&&j(M,d.startTime-n),l=!1}return l}finally{p=null,f=i,h=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var _,z=!1,x=null,w=-1,C=5,S=-1;function E(){return!(t.unstable_now()-S<C)}function k(){if(null!==x){var e=t.unstable_now();S=e;var n=!0;try{n=x(!0,e)}finally{n?_():(z=!1,x=null)}}else z=!1}if("function"===typeof v)_=function(){v(k)};else if("undefined"!==typeof MessageChannel){var D=new MessageChannel,N=D.port2;D.port1.onmessage=k,_=function(){N.postMessage(null)}}else _=function(){m(k,0)};function T(e){x=e,z||(z=!0,_())}function j(e,n){w=m((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){b||h||(b=!0,T(O))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):C=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return f},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},t.unstable_scheduleCallback=function(e,o,i){var a=t.unstable_now();switch("object"===typeof i&&null!==i?i="number"===typeof(i=i.delay)&&0<i?a+i:a:i=a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:o,priorityLevel:e,startTime:i,expirationTime:s=i+s,sortIndex:-1},i>a?(e.sortIndex=i,n(u,e),null===r(c)&&e===r(u)&&(A?(g(w),w=-1):A=!0,j(M,i-a))):(e.sortIndex=s,n(c,e),b||h||(b=!0,T(O))),e},t.unstable_shouldYield=E,t.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}},62224:function(e,t,n){"use strict";e.exports=n(13095)},39e3:function(e,t,n){!function(e,t){"use strict";if(!e.setImmediate){var n,r=1,o={},i=!1,a=e.document,s=Object.getPrototypeOf&&Object.getPrototypeOf(e);s=s&&s.setTimeout?s:e,"[object process]"==={}.toString.call(e.process)?n=function(e){process.nextTick((function(){c(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?function(){var t="setImmediate$"+Math.random()+"$",r=function(n){n.source===e&&"string"===typeof n.data&&0===n.data.indexOf(t)&&c(+n.data.slice(t.length))};e.addEventListener?e.addEventListener("message",r,!1):e.attachEvent("onmessage",r),n=function(n){e.postMessage(t+n,"*")}}():e.MessageChannel?function(){var e=new MessageChannel;e.port1.onmessage=function(e){c(e.data)},n=function(t){e.port2.postMessage(t)}}():a&&"onreadystatechange"in a.createElement("script")?function(){var e=a.documentElement;n=function(t){var n=a.createElement("script");n.onreadystatechange=function(){c(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}():n=function(e){setTimeout(c,0,e)},s.setImmediate=function(e){"function"!==typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),i=0;i<t.length;i++)t[i]=arguments[i+1];var a={callback:e,args:t};return o[r]=a,n(r),r++},s.clearImmediate=l}function l(e){delete o[e]}function c(e){if(i)setTimeout(c,0,e);else{var n=o[e];if(n){i=!0;try{!function(e){var n=e.callback,r=e.args;switch(r.length){case 0:n();break;case 1:n(r[0]);break;case 2:n(r[0],r[1]);break;case 3:n(r[0],r[1],r[2]);break;default:n.apply(t,r)}}(n)}finally{l(e),i=!1}}}}}("undefined"===typeof self?"undefined"===typeof n.g?this:n.g:self)},50172:function(e,t,n){"use strict";var r=n(73714),o=n(39393),i=n(44680)("String.prototype.replace"),a=/^\s$/.test("\u180e"),s=a?/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/:/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/,l=a?/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/:/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/;e.exports=function(){var e=o(r(this));return i(i(e,s,""),l,"")}},64329:function(e,t,n){"use strict";var r=n(59962),o=n(89959),i=n(73714),a=n(50172),s=n(8050),l=n(3984),c=r(s()),u=function(e){return i(e),c(e)};o(u,{getPolyfill:s,implementation:a,shim:l}),e.exports=u},8050:function(e,t,n){"use strict";var r=n(50172),o="\u180e";e.exports=function(){return String.prototype.trim&&"\u200b"==="\u200b".trim()&&o.trim()===o&&"_\u180e"==="_\u180e".trim()&&"\u180e_"==="\u180e_".trim()?String.prototype.trim:r}},3984:function(e,t,n){"use strict";var r=n(89959),o=n(8050);e.exports=function(){var e=o();return r(String.prototype,{trim:e},{trim:function(){return String.prototype.trim!==e}}),e}},67114:function(e){e.exports=function(){"use strict";function e(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}function t(e,t,n){return t=h(t),m(e,i()?Reflect.construct(t,n||[],h(e).constructor):t.apply(e,n))}function n(t,n){return t.get(e(t,n))}function r(t,n,r){return t.set(e(t,n),r),r}function o(e,t,n){if(i())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var o=new(e.bind.apply(e,r));return n&&b(o,n.prototype),o}function i(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(i=function(){return!!e})()}function a(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}function s(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function l(e){var t=s(e,"string");return"symbol"==typeof t?t:t+""}function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,l(r.key),r)}}function p(e,t,n){return t&&d(e.prototype,t),n&&d(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function f(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&b(e,t)}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function b(e,t){return b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},b(e,t)}function A(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e,t){if(t&&("object"===typeof t||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return A(e)}function g(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=h(e)););return e}function v(){return v="undefined"!==typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=g(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},v.apply(this,arguments)}function y(e,t){return _(e)||a(e,t)||x(e,t)||S()}function M(e){return O(e)||z(e)||x(e)||C()}function O(e){if(Array.isArray(e))return w(e)}function _(e){if(Array.isArray(e))return e}function z(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function x(e,t){if(e){if("string"===typeof e)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?w(e,t):void 0}}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function C(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function S(){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 E(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function k(e,t,n){E(e,t),t.set(e,n)}var D=100,N={},T=function(){N.previousActiveElement instanceof HTMLElement?(N.previousActiveElement.focus(),N.previousActiveElement=null):document.body&&document.body.focus()},j=function(e){return new Promise((function(t){if(!e)return t();var n=window.scrollX,r=window.scrollY;N.restoreFocusTimeout=setTimeout((function(){T(),t()}),D),window.scrollTo(n,r)}))},B="swal2-",L=["container","shown","height-auto","iosfix","popup","modal","no-backdrop","no-transition","toast","toast-shown","show","hide","close","title","html-container","actions","confirm","deny","cancel","default-outline","footer","icon","icon-content","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","input-label","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loader","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl","timer-progress-bar","timer-progress-bar-container","scrollbar-measure","icon-success","icon-warning","icon-info","icon-question","icon-error"].reduce((function(e,t){return e[t]=B+t,e}),{}),R=["success","warning","info","question","error"].reduce((function(e,t){return e[t]=B+t,e}),{}),q="SweetAlert2:",P=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},I=function(e){console.warn("".concat(q," ").concat("object"===c(e)?e.join(" "):e))},W=function(e){console.error("".concat(q," ").concat(e))},F=[],U=function(e){F.includes(e)||(F.push(e),I(e))},Z=function(e,t){U('"'.concat(e,'" is deprecated and will be removed in the next major release. Please use "').concat(t,'" instead.'))},H=function(e){return"function"===typeof e?e():e},$=function(e){return e&&"function"===typeof e.toPromise},V=function(e){return $(e)?e.toPromise():Promise.resolve(e)},X=function(e){return e&&Promise.resolve(e)===e},Q=function(){return document.body.querySelector(".".concat(L.container))},Y=function(e){var t=Q();return t?t.querySelector(e):null},G=function(e){return Y(".".concat(e))},K=function(){return G(L.popup)},J=function(){return G(L.icon)},ee=function(){return G(L["icon-content"])},te=function(){return G(L.title)},ne=function(){return G(L["html-container"])},re=function(){return G(L.image)},oe=function(){return G(L["progress-steps"])},ie=function(){return G(L["validation-message"])},ae=function(){return Y(".".concat(L.actions," .").concat(L.confirm))},se=function(){return Y(".".concat(L.actions," .").concat(L.cancel))},le=function(){return Y(".".concat(L.actions," .").concat(L.deny))},ce=function(){return G(L["input-label"])},ue=function(){return Y(".".concat(L.loader))},de=function(){return G(L.actions)},pe=function(){return G(L.footer)},fe=function(){return G(L["timer-progress-bar"])},he=function(){return G(L.close)},be='\n  a[href],\n  area[href],\n  input:not([disabled]),\n  select:not([disabled]),\n  textarea:not([disabled]),\n  button:not([disabled]),\n  iframe,\n  object,\n  embed,\n  [tabindex="0"],\n  [contenteditable],\n  audio[controls],\n  video[controls],\n  summary\n',Ae=function(){var e=K();if(!e)return[];var t=e.querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])'),n=Array.from(t).sort((function(e,t){var n=parseInt(e.getAttribute("tabindex")||"0"),r=parseInt(t.getAttribute("tabindex")||"0");return n>r?1:n<r?-1:0})),r=e.querySelectorAll(be),o=Array.from(r).filter((function(e){return"-1"!==e.getAttribute("tabindex")}));return M(new Set(n.concat(o))).filter((function(e){return Le(e)}))},me=function(){return Me(document.body,L.shown)&&!Me(document.body,L["toast-shown"])&&!Me(document.body,L["no-backdrop"])},ge=function(){var e=K();return!!e&&Me(e,L.toast)},ve=function(){var e=K();return!!e&&e.hasAttribute("data-loading")},ye=function(e,t){if(e.textContent="",t){var n=(new DOMParser).parseFromString(t,"text/html"),r=n.querySelector("head");r&&Array.from(r.childNodes).forEach((function(t){e.appendChild(t)}));var o=n.querySelector("body");o&&Array.from(o.childNodes).forEach((function(t){t instanceof HTMLVideoElement||t instanceof HTMLAudioElement?e.appendChild(t.cloneNode(!0)):e.appendChild(t)}))}},Me=function(e,t){if(!t)return!1;for(var n=t.split(/\s+/),r=0;r<n.length;r++)if(!e.classList.contains(n[r]))return!1;return!0},Oe=function(e,t){Array.from(e.classList).forEach((function(n){Object.values(L).includes(n)||Object.values(R).includes(n)||Object.values(t.showClass||{}).includes(n)||e.classList.remove(n)}))},_e=function(e,t,n){if(Oe(e,t),t.customClass&&t.customClass[n]){if("string"!==typeof t.customClass[n]&&!t.customClass[n].forEach)return void I("Invalid type of customClass.".concat(n,'! Expected string or iterable object, got "').concat(c(t.customClass[n]),'"'));Ce(e,t.customClass[n])}},ze=function(e,t){if(!t)return null;switch(t){case"select":case"textarea":case"file":return e.querySelector(".".concat(L.popup," > .").concat(L[t]));case"checkbox":return e.querySelector(".".concat(L.popup," > .").concat(L.checkbox," input"));case"radio":return e.querySelector(".".concat(L.popup," > .").concat(L.radio," input:checked"))||e.querySelector(".".concat(L.popup," > .").concat(L.radio," input:first-child"));case"range":return e.querySelector(".".concat(L.popup," > .").concat(L.range," input"));default:return e.querySelector(".".concat(L.popup," > .").concat(L.input))}},xe=function(e){if(e.focus(),"file"!==e.type){var t=e.value;e.value="",e.value=t}},we=function(e,t,n){e&&t&&("string"===typeof t&&(t=t.split(/\s+/).filter(Boolean)),t.forEach((function(t){Array.isArray(e)?e.forEach((function(e){n?e.classList.add(t):e.classList.remove(t)})):n?e.classList.add(t):e.classList.remove(t)})))},Ce=function(e,t){we(e,t,!0)},Se=function(e,t){we(e,t,!1)},Ee=function(e,t){for(var n=Array.from(e.children),r=0;r<n.length;r++){var o=n[r];if(o instanceof HTMLElement&&Me(o,t))return o}},ke=function(e,t,n){n==="".concat(parseInt(n))&&(n=parseInt(n)),n||0===parseInt(n)?e.style.setProperty(t,"number"===typeof n?"".concat(n,"px"):n):e.style.removeProperty(t)},De=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"flex";e&&(e.style.display=t)},Ne=function(e){e&&(e.style.display="none")},Te=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"block";e&&new MutationObserver((function(){Be(e,e.innerHTML,t)})).observe(e,{childList:!0,subtree:!0})},je=function(e,t,n,r){var o=e.querySelector(t);o&&o.style.setProperty(n,r)},Be=function(e,t){t?De(e,arguments.length>2&&void 0!==arguments[2]?arguments[2]:"flex"):Ne(e)},Le=function(e){return!(!e||!(e.offsetWidth||e.offsetHeight||e.getClientRects().length))},Re=function(){return!Le(ae())&&!Le(le())&&!Le(se())},qe=function(e){return!!(e.scrollHeight>e.clientHeight)},Pe=function(e){var t=window.getComputedStyle(e),n=parseFloat(t.getPropertyValue("animation-duration")||"0"),r=parseFloat(t.getPropertyValue("transition-duration")||"0");return n>0||r>0},Ie=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=fe();n&&Le(n)&&(t&&(n.style.transition="none",n.style.width="100%"),setTimeout((function(){n.style.transition="width ".concat(e/1e3,"s linear"),n.style.width="0%"}),10))},We=function(){var e=fe();if(e){var t=parseInt(window.getComputedStyle(e).width);e.style.removeProperty("transition"),e.style.width="100%";var n=t/parseInt(window.getComputedStyle(e).width)*100;e.style.width="".concat(n,"%")}},Fe=function(){return"undefined"===typeof window||"undefined"===typeof document},Ue='\n <div aria-labelledby="'.concat(L.title,'" aria-describedby="').concat(L["html-container"],'" class="').concat(L.popup,'" tabindex="-1">\n   <button type="button" class="').concat(L.close,'"></button>\n   <ul class="').concat(L["progress-steps"],'"></ul>\n   <div class="').concat(L.icon,'"></div>\n   <img class="').concat(L.image,'" />\n   <h2 class="').concat(L.title,'" id="').concat(L.title,'"></h2>\n   <div class="').concat(L["html-container"],'" id="').concat(L["html-container"],'"></div>\n   <input class="').concat(L.input,'" id="').concat(L.input,'" />\n   <input type="file" class="').concat(L.file,'" />\n   <div class="').concat(L.range,'">\n     <input type="range" />\n     <output></output>\n   </div>\n   <select class="').concat(L.select,'" id="').concat(L.select,'"></select>\n   <div class="').concat(L.radio,'"></div>\n   <label class="').concat(L.checkbox,'">\n     <input type="checkbox" id="').concat(L.checkbox,'" />\n     <span class="').concat(L.label,'"></span>\n   </label>\n   <textarea class="').concat(L.textarea,'" id="').concat(L.textarea,'"></textarea>\n   <div class="').concat(L["validation-message"],'" id="').concat(L["validation-message"],'"></div>\n   <div class="').concat(L.actions,'">\n     <div class="').concat(L.loader,'"></div>\n     <button type="button" class="').concat(L.confirm,'"></button>\n     <button type="button" class="').concat(L.deny,'"></button>\n     <button type="button" class="').concat(L.cancel,'"></button>\n   </div>\n   <div class="').concat(L.footer,'"></div>\n   <div class="').concat(L["timer-progress-bar-container"],'">\n     <div class="').concat(L["timer-progress-bar"],'"></div>\n   </div>\n </div>\n').replace(/(^|\n)\s*/g,""),Ze=function(){var e=Q();return!!e&&(e.remove(),Se([document.documentElement,document.body],[L["no-backdrop"],L["toast-shown"],L["has-column"]]),!0)},He=function(){N.currentInstance.resetValidationMessage()},$e=function(){var e=K(),t=Ee(e,L.input),n=Ee(e,L.file),r=e.querySelector(".".concat(L.range," input")),o=e.querySelector(".".concat(L.range," output")),i=Ee(e,L.select),a=e.querySelector(".".concat(L.checkbox," input")),s=Ee(e,L.textarea);t.oninput=He,n.onchange=He,i.onchange=He,a.onchange=He,s.oninput=He,r.oninput=function(){He(),o.value=r.value},r.onchange=function(){He(),o.value=r.value}},Ve=function(e){return"string"===typeof e?document.querySelector(e):e},Xe=function(e){var t=K();t.setAttribute("role",e.toast?"alert":"dialog"),t.setAttribute("aria-live",e.toast?"polite":"assertive"),e.toast||t.setAttribute("aria-modal","true")},Qe=function(e){"rtl"===window.getComputedStyle(e).direction&&Ce(Q(),L.rtl)},Ye=function(e){var t=Ze();if(Fe())W("SweetAlert2 requires document to initialize");else{var n=document.createElement("div");n.className=L.container,t&&Ce(n,L["no-transition"]),ye(n,Ue);var r=Ve(e.target);r.appendChild(n),Xe(e),Qe(r),$e()}},Ge=function(e,t){e instanceof HTMLElement?t.appendChild(e):"object"===c(e)?Ke(e,t):e&&ye(t,e)},Ke=function(e,t){e.jquery?Je(t,e):ye(t,e.toString())},Je=function(e,t){if(e.textContent="",0 in t)for(var n=0;n in t;n++)e.appendChild(t[n].cloneNode(!0));else e.appendChild(t.cloneNode(!0))},et=function(){if(Fe())return!1;var e=document.createElement("div");return"undefined"!==typeof e.style.webkitAnimation?"webkitAnimationEnd":"undefined"!==typeof e.style.animation&&"animationend"}(),tt=function(e,t){var n=de(),r=ue();n&&r&&(t.showConfirmButton||t.showDenyButton||t.showCancelButton?De(n):Ne(n),_e(n,t,"actions"),nt(n,r,t),ye(r,t.loaderHtml||""),_e(r,t,"loader"))};function nt(e,t,n){var r=ae(),o=le(),i=se();r&&o&&i&&(ot(r,"confirm",n),ot(o,"deny",n),ot(i,"cancel",n),rt(r,o,i,n),n.reverseButtons&&(n.toast?(e.insertBefore(i,r),e.insertBefore(o,r)):(e.insertBefore(i,t),e.insertBefore(o,t),e.insertBefore(r,t))))}function rt(e,t,n,r){r.buttonsStyling?(Ce([e,t,n],L.styled),r.confirmButtonColor&&(e.style.backgroundColor=r.confirmButtonColor,Ce(e,L["default-outline"])),r.denyButtonColor&&(t.style.backgroundColor=r.denyButtonColor,Ce(t,L["default-outline"])),r.cancelButtonColor&&(n.style.backgroundColor=r.cancelButtonColor,Ce(n,L["default-outline"]))):Se([e,t,n],L.styled)}function ot(e,t,n){var r=P(t);Be(e,n["show".concat(r,"Button")],"inline-block"),ye(e,n["".concat(t,"ButtonText")]||""),e.setAttribute("aria-label",n["".concat(t,"ButtonAriaLabel")]||""),e.className=L[t],_e(e,n,"".concat(t,"Button"))}var it=function(e,t){var n=he();n&&(ye(n,t.closeButtonHtml||""),_e(n,t,"closeButton"),Be(n,t.showCloseButton),n.setAttribute("aria-label",t.closeButtonAriaLabel||""))},at=function(e,t){var n=Q();n&&(st(n,t.backdrop),lt(n,t.position),ct(n,t.grow),_e(n,t,"container"))};function st(e,t){"string"===typeof t?e.style.background=t:t||Ce([document.documentElement,document.body],L["no-backdrop"])}function lt(e,t){t&&(t in L?Ce(e,L[t]):(I('The "position" parameter is not valid, defaulting to "center"'),Ce(e,L.center)))}function ct(e,t){t&&Ce(e,L["grow-".concat(t)])}var ut={innerParams:new WeakMap,domCache:new WeakMap},dt=["input","file","range","select","radio","checkbox","textarea"],pt=function(e,t){var n=K();if(n){var r=ut.innerParams.get(e),o=!r||t.input!==r.input;dt.forEach((function(e){var r=Ee(n,L[e]);r&&(bt(e,t.inputAttributes),r.className=L[e],o&&Ne(r))})),t.input&&(o&&ft(t),At(t))}},ft=function(e){if(e.input)if(Mt[e.input]){var t=vt(e.input),n=Mt[e.input](t,e);De(t),e.inputAutoFocus&&setTimeout((function(){xe(n)}))}else W("Unexpected type of input! Expected ".concat(Object.keys(Mt).join(" | "),', got "').concat(e.input,'"'))},ht=function(e){for(var t=0;t<e.attributes.length;t++){var n=e.attributes[t].name;["id","type","value","style"].includes(n)||e.removeAttribute(n)}},bt=function(e,t){var n=ze(K(),e);if(n)for(var r in ht(n),t)n.setAttribute(r,t[r])},At=function(e){var t=vt(e.input);"object"===c(e.customClass)&&Ce(t,e.customClass.input)},mt=function(e,t){e.placeholder&&!t.inputPlaceholder||(e.placeholder=t.inputPlaceholder)},gt=function(e,t,n){if(n.inputLabel){var r=document.createElement("label"),o=L["input-label"];r.setAttribute("for",e.id),r.className=o,"object"===c(n.customClass)&&Ce(r,n.customClass.inputLabel),r.innerText=n.inputLabel,t.insertAdjacentElement("beforebegin",r)}},vt=function(e){return Ee(K(),L[e]||L.input)},yt=function(e,t){["string","number"].includes(c(t))?e.value="".concat(t):X(t)||I('Unexpected type of inputValue! Expected "string", "number" or "Promise", got "'.concat(c(t),'"'))},Mt={};Mt.text=Mt.email=Mt.password=Mt.number=Mt.tel=Mt.url=Mt.search=Mt.date=Mt["datetime-local"]=Mt.time=Mt.week=Mt.month=function(e,t){return yt(e,t.inputValue),gt(e,e,t),mt(e,t),e.type=t.input,e},Mt.file=function(e,t){return gt(e,e,t),mt(e,t),e},Mt.range=function(e,t){var n=e.querySelector("input"),r=e.querySelector("output");return yt(n,t.inputValue),n.type=t.input,yt(r,t.inputValue),gt(n,e,t),e},Mt.select=function(e,t){if(e.textContent="",t.inputPlaceholder){var n=document.createElement("option");ye(n,t.inputPlaceholder),n.value="",n.disabled=!0,n.selected=!0,e.appendChild(n)}return gt(e,e,t),e},Mt.radio=function(e){return e.textContent="",e},Mt.checkbox=function(e,t){var n=ze(K(),"checkbox");n.value="1",n.checked=Boolean(t.inputValue);var r=e.querySelector("span");return ye(r,t.inputPlaceholder),n},Mt.textarea=function(e,t){yt(e,t.inputValue),mt(e,t),gt(e,e,t);var n=function(e){return parseInt(window.getComputedStyle(e).marginLeft)+parseInt(window.getComputedStyle(e).marginRight)};return setTimeout((function(){if("MutationObserver"in window){var r=parseInt(window.getComputedStyle(K()).width);new MutationObserver((function(){if(document.body.contains(e)){var o=e.offsetWidth+n(e);o>r?K().style.width="".concat(o,"px"):ke(K(),"width",t.width)}})).observe(e,{attributes:!0,attributeFilter:["style"]})}})),e};var Ot=function(e,t){var n=ne();n&&(Te(n),_e(n,t,"htmlContainer"),t.html?(Ge(t.html,n),De(n,"block")):t.text?(n.textContent=t.text,De(n,"block")):Ne(n),pt(e,t))},_t=function(e,t){var n=pe();n&&(Te(n),Be(n,t.footer,"block"),t.footer&&Ge(t.footer,n),_e(n,t,"footer"))},zt=function(e,t){var n=ut.innerParams.get(e),r=J();if(r){if(n&&t.icon===n.icon)return Et(r,t),void xt(r,t);if(t.icon||t.iconHtml){if(t.icon&&-1===Object.keys(R).indexOf(t.icon))return W('Unknown icon! Expected "success", "error", "warning", "info" or "question", got "'.concat(t.icon,'"')),void Ne(r);De(r),Et(r,t),xt(r,t),Ce(r,t.showClass&&t.showClass.icon)}else Ne(r)}},xt=function(e,t){for(var n=0,r=Object.entries(R);n<r.length;n++){var o=y(r[n],2),i=o[0],a=o[1];t.icon!==i&&Se(e,a)}Ce(e,t.icon&&R[t.icon]),kt(e,t),wt(),_e(e,t,"icon")},wt=function(){var e=K();if(e)for(var t=window.getComputedStyle(e).getPropertyValue("background-color"),n=e.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix"),r=0;r<n.length;r++)n[r].style.backgroundColor=t},Ct='\n  <div class="swal2-success-circular-line-left"></div>\n  <span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span>\n  <div class="swal2-success-ring"></div> <div class="swal2-success-fix"></div>\n  <div class="swal2-success-circular-line-right"></div>\n',St='\n  <span class="swal2-x-mark">\n    <span class="swal2-x-mark-line-left"></span>\n    <span class="swal2-x-mark-line-right"></span>\n  </span>\n',Et=function(e,t){if(t.icon||t.iconHtml){var n=e.innerHTML,r="";t.iconHtml?r=Dt(t.iconHtml):"success"===t.icon?(r=Ct,n=n.replace(/ style=".*?"/g,"")):"error"===t.icon?r=St:t.icon&&(r=Dt({question:"?",warning:"!",info:"i"}[t.icon])),n.trim()!==r.trim()&&ye(e,r)}},kt=function(e,t){if(t.iconColor){e.style.color=t.iconColor,e.style.borderColor=t.iconColor;for(var n=0,r=[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"];n<r.length;n++){var o=r[n];je(e,o,"background-color",t.iconColor)}je(e,".swal2-success-ring","border-color",t.iconColor)}},Dt=function(e){return'<div class="'.concat(L["icon-content"],'">').concat(e,"</div>")},Nt=function(e,t){var n=re();n&&(t.imageUrl?(De(n,""),n.setAttribute("src",t.imageUrl),n.setAttribute("alt",t.imageAlt||""),ke(n,"width",t.imageWidth),ke(n,"height",t.imageHeight),n.className=L.image,_e(n,t,"image")):Ne(n))},Tt=function(e,t){var n=Q(),r=K();if(n&&r){if(t.toast){ke(n,"width",t.width),r.style.width="100%";var o=ue();o&&r.insertBefore(o,J())}else ke(r,"width",t.width);ke(r,"padding",t.padding),t.color&&(r.style.color=t.color),t.background&&(r.style.background=t.background),Ne(ie()),jt(r,t)}},jt=function(e,t){var n=t.showClass||{};e.className="".concat(L.popup," ").concat(Le(e)?n.popup:""),t.toast?(Ce([document.documentElement,document.body],L["toast-shown"]),Ce(e,L.toast)):Ce(e,L.modal),_e(e,t,"popup"),"string"===typeof t.customClass&&Ce(e,t.customClass),t.icon&&Ce(e,L["icon-".concat(t.icon)])},Bt=function(e,t){var n=oe();if(n){var r=t.progressSteps,o=t.currentProgressStep;r&&0!==r.length&&void 0!==o?(De(n),n.textContent="",o>=r.length&&I("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),r.forEach((function(e,i){var a=Lt(e);if(n.appendChild(a),i===o&&Ce(a,L["active-progress-step"]),i!==r.length-1){var s=Rt(t);n.appendChild(s)}}))):Ne(n)}},Lt=function(e){var t=document.createElement("li");return Ce(t,L["progress-step"]),ye(t,e),t},Rt=function(e){var t=document.createElement("li");return Ce(t,L["progress-step-line"]),e.progressStepsDistance&&ke(t,"width",e.progressStepsDistance),t},qt=function(e,t){var n=te();n&&(Te(n),Be(n,t.title||t.titleText,"block"),t.title&&Ge(t.title,n),t.titleText&&(n.innerText=t.titleText),_e(n,t,"title"))},Pt=function(e,t){Tt(e,t),at(e,t),Bt(e,t),zt(e,t),Nt(e,t),qt(e,t),it(e,t),Ot(e,t),tt(e,t),_t(e,t);var n=K();"function"===typeof t.didRender&&n&&t.didRender(n)},It=function(){return Le(K())},Wt=function(){var e;return null===(e=ae())||void 0===e?void 0:e.click()},Ft=function(){var e;return null===(e=le())||void 0===e?void 0:e.click()},Ut=function(){var e;return null===(e=se())||void 0===e?void 0:e.click()},Zt=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),Ht=function(e){e.keydownTarget&&e.keydownHandlerAdded&&(e.keydownTarget.removeEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!1)},$t=function(e,t,n){Ht(e),t.toast||(e.keydownHandler=function(e){return Yt(t,e,n)},e.keydownTarget=t.keydownListenerCapture?window:K(),e.keydownListenerCapture=t.keydownListenerCapture,e.keydownTarget.addEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!0)},Vt=function(e,t){var n,r=Ae();if(r.length)return(e+=t)===r.length?e=0:-1===e&&(e=r.length-1),void r[e].focus();null===(n=K())||void 0===n||n.focus()},Xt=["ArrowRight","ArrowDown"],Qt=["ArrowLeft","ArrowUp"],Yt=function(e,t,n){e&&(t.isComposing||229===t.keyCode||(e.stopKeydownPropagation&&t.stopPropagation(),"Enter"===t.key?Gt(t,e):"Tab"===t.key?Kt(t):[].concat(Xt,Qt).includes(t.key)?Jt(t.key):"Escape"===t.key&&en(t,e,n)))},Gt=function(e,t){if(H(t.allowEnterKey)){var n=ze(K(),t.input);if(e.target&&n&&e.target instanceof HTMLElement&&e.target.outerHTML===n.outerHTML){if(["textarea","file"].includes(t.input))return;Wt(),e.preventDefault()}}},Kt=function(e){for(var t=e.target,n=Ae(),r=-1,o=0;o<n.length;o++)if(t===n[o]){r=o;break}e.shiftKey?Vt(r,-1):Vt(r,1),e.stopPropagation(),e.preventDefault()},Jt=function(e){var t=de(),n=ae(),r=le(),o=se();if(t&&n&&r&&o){var i=[n,r,o];if(!(document.activeElement instanceof HTMLElement)||i.includes(document.activeElement)){var a=Xt.includes(e)?"nextElementSibling":"previousElementSibling",s=document.activeElement;if(s){for(var l=0;l<t.children.length;l++){if(!(s=s[a]))return;if(s instanceof HTMLButtonElement&&Le(s))break}s instanceof HTMLButtonElement&&s.focus()}}}},en=function(e,t,n){H(t.allowEscapeKey)&&(e.preventDefault(),n(Zt.esc))},tn={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap},nn=function(){var e=Q();Array.from(document.body.children).forEach((function(t){t.contains(e)||(t.hasAttribute("aria-hidden")&&t.setAttribute("data-previous-aria-hidden",t.getAttribute("aria-hidden")||""),t.setAttribute("aria-hidden","true"))}))},rn=function(){Array.from(document.body.children).forEach((function(e){e.hasAttribute("data-previous-aria-hidden")?(e.setAttribute("aria-hidden",e.getAttribute("data-previous-aria-hidden")||""),e.removeAttribute("data-previous-aria-hidden")):e.removeAttribute("aria-hidden")}))},on="undefined"!==typeof window&&!!window.GestureEvent,an=function(){if(on&&!Me(document.body,L.iosfix)){var e=document.body.scrollTop;document.body.style.top="".concat(-1*e,"px"),Ce(document.body,L.iosfix),sn()}},sn=function(){var e,t=Q();t&&(t.ontouchstart=function(t){e=ln(t)},t.ontouchmove=function(t){e&&(t.preventDefault(),t.stopPropagation())})},ln=function(e){var t=e.target,n=Q(),r=ne();return!(!n||!r)&&!cn(e)&&!un(e)&&(t===n||!qe(n)&&t instanceof HTMLElement&&"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName&&(!qe(r)||!r.contains(t)))},cn=function(e){return e.touches&&e.touches.length&&"stylus"===e.touches[0].touchType},un=function(e){return e.touches&&e.touches.length>1},dn=function(){if(Me(document.body,L.iosfix)){var e=parseInt(document.body.style.top,10);Se(document.body,L.iosfix),document.body.style.top="",document.body.scrollTop=-1*e}},pn=function(){var e=document.createElement("div");e.className=L["scrollbar-measure"],document.body.appendChild(e);var t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t},fn=null,hn=function(e){null===fn&&(document.body.scrollHeight>window.innerHeight||"scroll"===e)&&(fn=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight="".concat(fn+pn(),"px"))},bn=function(){null!==fn&&(document.body.style.paddingRight="".concat(fn,"px"),fn=null)};function An(e,t,n,r){ge()?xn(e,r):(j(n).then((function(){return xn(e,r)})),Ht(N)),on?(t.setAttribute("style","display:none !important"),t.removeAttribute("class"),t.innerHTML=""):t.remove(),me()&&(bn(),dn(),rn()),mn()}function mn(){Se([document.documentElement,document.body],[L.shown,L["height-auto"],L["no-backdrop"],L["toast-shown"]])}function gn(e){e=On(e);var t=tn.swalPromiseResolve.get(this),n=vn(this);this.isAwaitingPromise?e.isDismissed||(Mn(this),t(e)):n&&t(e)}var vn=function(e){var t=K();if(!t)return!1;var n=ut.innerParams.get(e);if(!n||Me(t,n.hideClass.popup))return!1;Se(t,n.showClass.popup),Ce(t,n.hideClass.popup);var r=Q();return Se(r,n.showClass.backdrop),Ce(r,n.hideClass.backdrop),_n(e,t,n),!0};function yn(e){var t=tn.swalPromiseReject.get(this);Mn(this),t&&t(e)}var Mn=function(e){e.isAwaitingPromise&&(delete e.isAwaitingPromise,ut.innerParams.get(e)||e._destroy())},On=function(e){return"undefined"===typeof e?{isConfirmed:!1,isDenied:!1,isDismissed:!0}:Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},e)},_n=function(e,t,n){var r=Q(),o=et&&Pe(t);"function"===typeof n.willClose&&n.willClose(t),o?zn(e,t,r,n.returnFocus,n.didClose):An(e,r,n.returnFocus,n.didClose)},zn=function(e,t,n,r,o){et&&(N.swalCloseEventFinishedCallback=An.bind(null,e,n,r,o),t.addEventListener(et,(function(e){e.target===t&&(N.swalCloseEventFinishedCallback(),delete N.swalCloseEventFinishedCallback)})))},xn=function(e,t){setTimeout((function(){"function"===typeof t&&t.bind(e.params)(),e._destroy&&e._destroy()}))},wn=function(e){var t=K();if(t||new So,t=K()){var n=ue();ge()?Ne(J()):Cn(t,e),De(n),t.setAttribute("data-loading","true"),t.setAttribute("aria-busy","true"),t.focus()}},Cn=function(e,t){var n=de(),r=ue();n&&r&&(!t&&Le(ae())&&(t=ae()),De(n),t&&(Ne(t),r.setAttribute("data-button-to-replace",t.className),n.insertBefore(r,t)),Ce([e,n],L.loading))},Sn=function(e,t){"select"===t.input||"radio"===t.input?Tn(e,t):["text","email","number","tel","textarea"].some((function(e){return e===t.input}))&&($(t.inputValue)||X(t.inputValue))&&(wn(ae()),jn(e,t))},En=function(e,t){var n=e.getInput();if(!n)return null;switch(t.input){case"checkbox":return kn(n);case"radio":return Dn(n);case"file":return Nn(n);default:return t.inputAutoTrim?n.value.trim():n.value}},kn=function(e){return e.checked?1:0},Dn=function(e){return e.checked?e.value:null},Nn=function(e){return e.files&&e.files.length?null!==e.getAttribute("multiple")?e.files:e.files[0]:null},Tn=function(e,t){var n=K();if(n){var r=function(e){"select"===t.input?Bn(n,Rn(e),t):"radio"===t.input&&Ln(n,Rn(e),t)};$(t.inputOptions)||X(t.inputOptions)?(wn(ae()),V(t.inputOptions).then((function(t){e.hideLoading(),r(t)}))):"object"===c(t.inputOptions)?r(t.inputOptions):W("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(c(t.inputOptions)))}},jn=function(e,t){var n=e.getInput();n&&(Ne(n),V(t.inputValue).then((function(r){n.value="number"===t.input?"".concat(parseFloat(r)||0):"".concat(r),De(n),n.focus(),e.hideLoading()})).catch((function(t){W("Error in inputValue promise: ".concat(t)),n.value="",De(n),n.focus(),e.hideLoading()})))};function Bn(e,t,n){var r=Ee(e,L.select);if(r){var o=function(e,t,r){var o=document.createElement("option");o.value=r,ye(o,t),o.selected=qn(r,n.inputValue),e.appendChild(o)};t.forEach((function(e){var t=e[0],n=e[1];if(Array.isArray(n)){var i=document.createElement("optgroup");i.label=t,i.disabled=!1,r.appendChild(i),n.forEach((function(e){return o(i,e[1],e[0])}))}else o(r,n,t)})),r.focus()}}function Ln(e,t,n){var r=Ee(e,L.radio);if(r){t.forEach((function(e){var t=e[0],o=e[1],i=document.createElement("input"),a=document.createElement("label");i.type="radio",i.name=L.radio,i.value=t,qn(t,n.inputValue)&&(i.checked=!0);var s=document.createElement("span");ye(s,o),s.className=L.label,a.appendChild(i),a.appendChild(s),r.appendChild(a)}));var o=r.querySelectorAll("input");o.length&&o[0].focus()}}var Rn=function e(t){var n=[];return t instanceof Map?t.forEach((function(t,r){var o=t;"object"===c(o)&&(o=e(o)),n.push([r,o])})):Object.keys(t).forEach((function(r){var o=t[r];"object"===c(o)&&(o=e(o)),n.push([r,o])})),n},qn=function(e,t){return!!t&&t.toString()===e.toString()},Pn=void 0,In=function(e){var t=ut.innerParams.get(e);e.disableButtons(),t.input?Un(e,"confirm"):Xn(e,!0)},Wn=function(e){var t=ut.innerParams.get(e);e.disableButtons(),t.returnInputValueOnDeny?Un(e,"deny"):Hn(e,!1)},Fn=function(e,t){e.disableButtons(),t(Zt.cancel)},Un=function(e,t){var n=ut.innerParams.get(e);if(n.input){var r=e.getInput(),o=En(e,n);n.inputValidator?Zn(e,o,t):r&&!r.checkValidity()?(e.enableButtons(),e.showValidationMessage(n.validationMessage||r.validationMessage)):"deny"===t?Hn(e,o):Xn(e,o)}else W('The "input" parameter is needed to be set when using returnInputValueOn'.concat(P(t)))},Zn=function(e,t,n){var r=ut.innerParams.get(e);e.disableInput(),Promise.resolve().then((function(){return V(r.inputValidator(t,r.validationMessage))})).then((function(r){e.enableButtons(),e.enableInput(),r?e.showValidationMessage(r):"deny"===n?Hn(e,t):Xn(e,t)}))},Hn=function(e,t){var n=ut.innerParams.get(e||Pn);n.showLoaderOnDeny&&wn(le()),n.preDeny?(e.isAwaitingPromise=!0,Promise.resolve().then((function(){return V(n.preDeny(t,n.validationMessage))})).then((function(n){!1===n?(e.hideLoading(),Mn(e)):e.close({isDenied:!0,value:"undefined"===typeof n?t:n})})).catch((function(t){return Vn(e||Pn,t)}))):e.close({isDenied:!0,value:t})},$n=function(e,t){e.close({isConfirmed:!0,value:t})},Vn=function(e,t){e.rejectPromise(t)},Xn=function(e,t){var n=ut.innerParams.get(e||Pn);n.showLoaderOnConfirm&&wn(),n.preConfirm?(e.resetValidationMessage(),e.isAwaitingPromise=!0,Promise.resolve().then((function(){return V(n.preConfirm(t,n.validationMessage))})).then((function(n){Le(ie())||!1===n?(e.hideLoading(),Mn(e)):$n(e,"undefined"===typeof n?t:n)})).catch((function(t){return Vn(e||Pn,t)}))):$n(e,t)};function Qn(){var e=ut.innerParams.get(this);if(e){var t=ut.domCache.get(this);Ne(t.loader),ge()?e.icon&&De(J()):Yn(t),Se([t.popup,t.actions],L.loading),t.popup.removeAttribute("aria-busy"),t.popup.removeAttribute("data-loading"),t.confirmButton.disabled=!1,t.denyButton.disabled=!1,t.cancelButton.disabled=!1}}var Yn=function(e){var t=e.popup.getElementsByClassName(e.loader.getAttribute("data-button-to-replace"));t.length?De(t[0],"inline-block"):Re()&&Ne(e.actions)};function Gn(){var e=ut.innerParams.get(this),t=ut.domCache.get(this);return t?ze(t.popup,e.input):null}function Kn(e,t,n){var r=ut.domCache.get(e);t.forEach((function(e){r[e].disabled=n}))}function Jn(e,t){var n=K();if(n&&e)if("radio"===e.type)for(var r=n.querySelectorAll('[name="'.concat(L.radio,'"]')),o=0;o<r.length;o++)r[o].disabled=t;else e.disabled=t}function er(){Kn(this,["confirmButton","denyButton","cancelButton"],!1)}function tr(){Kn(this,["confirmButton","denyButton","cancelButton"],!0)}function nr(){Jn(this.getInput(),!1)}function rr(){Jn(this.getInput(),!0)}function or(e){var t=ut.domCache.get(this),n=ut.innerParams.get(this);ye(t.validationMessage,e),t.validationMessage.className=L["validation-message"],n.customClass&&n.customClass.validationMessage&&Ce(t.validationMessage,n.customClass.validationMessage),De(t.validationMessage);var r=this.getInput();r&&(r.setAttribute("aria-invalid","true"),r.setAttribute("aria-describedby",L["validation-message"]),xe(r),Ce(r,L.inputerror))}function ir(){var e=ut.domCache.get(this);e.validationMessage&&Ne(e.validationMessage);var t=this.getInput();t&&(t.removeAttribute("aria-invalid"),t.removeAttribute("aria-describedby"),Se(t,L.inputerror))}var ar={title:"",titleText:"",text:"",html:"",footer:"",icon:void 0,iconColor:void 0,iconHtml:void 0,template:void 0,toast:!1,animation:!0,showClass:{popup:"swal2-show",backdrop:"swal2-backdrop-show",icon:"swal2-icon-show"},hideClass:{popup:"swal2-hide",backdrop:"swal2-backdrop-hide",icon:"swal2-icon-hide"},customClass:{},target:"body",color:void 0,backdrop:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showDenyButton:!1,showCancelButton:!1,preConfirm:void 0,preDeny:void 0,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:void 0,denyButtonText:"No",denyButtonAriaLabel:"",denyButtonColor:void 0,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:void 0,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusDeny:!1,focusCancel:!1,returnFocus:!0,showCloseButton:!1,closeButtonHtml:"&times;",closeButtonAriaLabel:"Close this dialog",loaderHtml:"",showLoaderOnConfirm:!1,showLoaderOnDeny:!1,imageUrl:void 0,imageWidth:void 0,imageHeight:void 0,imageAlt:"",timer:void 0,timerProgressBar:!1,width:void 0,padding:void 0,background:void 0,input:void 0,inputPlaceholder:"",inputLabel:"",inputValue:"",inputOptions:{},inputAutoFocus:!0,inputAutoTrim:!0,inputAttributes:{},inputValidator:void 0,returnInputValueOnDeny:!1,validationMessage:void 0,grow:!1,position:"center",progressSteps:[],currentProgressStep:void 0,progressStepsDistance:void 0,willOpen:void 0,didOpen:void 0,didRender:void 0,willClose:void 0,didClose:void 0,didDestroy:void 0,scrollbarPadding:!0},sr=["allowEscapeKey","allowOutsideClick","background","buttonsStyling","cancelButtonAriaLabel","cancelButtonColor","cancelButtonText","closeButtonAriaLabel","closeButtonHtml","color","confirmButtonAriaLabel","confirmButtonColor","confirmButtonText","currentProgressStep","customClass","denyButtonAriaLabel","denyButtonColor","denyButtonText","didClose","didDestroy","footer","hideClass","html","icon","iconColor","iconHtml","imageAlt","imageHeight","imageUrl","imageWidth","preConfirm","preDeny","progressSteps","returnFocus","reverseButtons","showCancelButton","showCloseButton","showConfirmButton","showDenyButton","text","title","titleText","willClose"],lr={},cr=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusDeny","focusCancel","returnFocus","heightAuto","keydownListenerCapture"],ur=function(e){return Object.prototype.hasOwnProperty.call(ar,e)},dr=function(e){return-1!==sr.indexOf(e)},pr=function(e){return lr[e]},fr=function(e){ur(e)||I('Unknown parameter "'.concat(e,'"'))},hr=function(e){cr.includes(e)&&I('The parameter "'.concat(e,'" is incompatible with toasts'))},br=function(e){var t=pr(e);t&&Z(e,t)},Ar=function(e){for(var t in!1===e.backdrop&&e.allowOutsideClick&&I('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'),e)fr(t),e.toast&&hr(t),br(t)};function mr(e){var t=K(),n=ut.innerParams.get(this);if(t&&!Me(t,n.hideClass.popup)){var r=gr(e),o=Object.assign({},n,r);Pt(this,o),ut.innerParams.set(this,o),Object.defineProperties(this,{params:{value:Object.assign({},this.params,e),writable:!1,enumerable:!0}})}else I("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.")}var gr=function(e){var t={};return Object.keys(e).forEach((function(n){dr(n)?t[n]=e[n]:I("Invalid parameter to update: ".concat(n))})),t};function vr(){var e=ut.domCache.get(this),t=ut.innerParams.get(this);t?(e.popup&&N.swalCloseEventFinishedCallback&&(N.swalCloseEventFinishedCallback(),delete N.swalCloseEventFinishedCallback),"function"===typeof t.didDestroy&&t.didDestroy(),yr(this)):Mr(this)}var yr=function(e){Mr(e),delete e.params,delete N.keydownHandler,delete N.keydownTarget,delete N.currentInstance},Mr=function(e){e.isAwaitingPromise?(Or(ut,e),e.isAwaitingPromise=!0):(Or(tn,e),Or(ut,e),delete e.isAwaitingPromise,delete e.disableButtons,delete e.enableButtons,delete e.getInput,delete e.disableInput,delete e.enableInput,delete e.hideLoading,delete e.disableLoading,delete e.showValidationMessage,delete e.resetValidationMessage,delete e.close,delete e.closePopup,delete e.closeModal,delete e.closeToast,delete e.rejectPromise,delete e.update,delete e._destroy)},Or=function(e,t){for(var n in e)e[n].delete(t)},_r=Object.freeze({__proto__:null,_destroy:vr,close:gn,closeModal:gn,closePopup:gn,closeToast:gn,disableButtons:tr,disableInput:rr,disableLoading:Qn,enableButtons:er,enableInput:nr,getInput:Gn,handleAwaitingPromise:Mn,hideLoading:Qn,rejectPromise:yn,resetValidationMessage:ir,showValidationMessage:or,update:mr}),zr=function(e,t,n){e.toast?xr(e,t,n):(Sr(t),Er(t),kr(e,t,n))},xr=function(e,t,n){t.popup.onclick=function(){e&&(wr(e)||e.timer||e.input)||n(Zt.close)}},wr=function(e){return!!(e.showConfirmButton||e.showDenyButton||e.showCancelButton||e.showCloseButton)},Cr=!1,Sr=function(e){e.popup.onmousedown=function(){e.container.onmouseup=function(t){e.container.onmouseup=function(){},t.target===e.container&&(Cr=!0)}}},Er=function(e){e.container.onmousedown=function(t){t.target===e.container&&t.preventDefault(),e.popup.onmouseup=function(t){e.popup.onmouseup=function(){},(t.target===e.popup||t.target instanceof HTMLElement&&e.popup.contains(t.target))&&(Cr=!0)}}},kr=function(e,t,n){t.container.onclick=function(r){Cr?Cr=!1:r.target===t.container&&H(e.allowOutsideClick)&&n(Zt.backdrop)}},Dr=function(e){return"object"===c(e)&&e.jquery},Nr=function(e){return e instanceof Element||Dr(e)},Tr=function(e){var t={};return"object"!==c(e[0])||Nr(e[0])?["title","html","icon"].forEach((function(n,r){var o=e[r];"string"===typeof o||Nr(o)?t[n]=o:void 0!==o&&W("Unexpected type of ".concat(n,'! Expected "string" or "Element", got ').concat(c(o)))})):Object.assign(t,e[0]),t};function jr(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return o(e,n)}function Br(e){var n=function(n){function r(){return u(this,r),t(this,r,arguments)}return f(r,n),p(r,[{key:"_main",value:function(t,n){return v(h(r.prototype),"_main",this).call(this,t,Object.assign({},e,n))}}])}(this);return n}var Lr=function(){return N.timeout&&N.timeout.getTimerLeft()},Rr=function(){if(N.timeout)return We(),N.timeout.stop()},qr=function(){if(N.timeout){var e=N.timeout.start();return Ie(e),e}},Pr=function(){var e=N.timeout;return e&&(e.running?Rr():qr())},Ir=function(e){if(N.timeout){var t=N.timeout.increase(e);return Ie(t,!0),t}},Wr=function(){return!(!N.timeout||!N.timeout.isRunning())},Fr=!1,Ur={};function Zr(){Ur[arguments.length>0&&void 0!==arguments[0]?arguments[0]:"data-swal-template"]=this,Fr||(document.body.addEventListener("click",$r),Fr=!0)}var Hr,$r=function(e){for(var t=e.target;t&&t!==document;t=t.parentNode)for(var n in Ur){var r=t.getAttribute(n);if(r)return void Ur[n].fire({template:r})}},Vr=Object.freeze({__proto__:null,argsToParams:Tr,bindClickHandler:Zr,clickCancel:Ut,clickConfirm:Wt,clickDeny:Ft,enableLoading:wn,fire:jr,getActions:de,getCancelButton:se,getCloseButton:he,getConfirmButton:ae,getContainer:Q,getDenyButton:le,getFocusableElements:Ae,getFooter:pe,getHtmlContainer:ne,getIcon:J,getIconContent:ee,getImage:re,getInputLabel:ce,getLoader:ue,getPopup:K,getProgressSteps:oe,getTimerLeft:Lr,getTimerProgressBar:fe,getTitle:te,getValidationMessage:ie,increaseTimer:Ir,isDeprecatedParameter:pr,isLoading:ve,isTimerRunning:Wr,isUpdatableParameter:dr,isValidParameter:ur,isVisible:It,mixin:Br,resumeTimer:qr,showLoading:wn,stopTimer:Rr,toggleTimer:Pr}),Xr=function(){function e(t,n){u(this,e),this.callback=t,this.remaining=n,this.running=!1,this.start()}return p(e,[{key:"start",value:function(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}},{key:"stop",value:function(){return this.started&&this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=(new Date).getTime()-this.started.getTime()),this.remaining}},{key:"increase",value:function(e){var t=this.running;return t&&this.stop(),this.remaining+=e,t&&this.start(),this.remaining}},{key:"getTimerLeft",value:function(){return this.running&&(this.stop(),this.start()),this.remaining}},{key:"isRunning",value:function(){return this.running}}])}(),Qr=["swal-title","swal-html","swal-footer"],Yr=function(e){var t="string"===typeof e.template?document.querySelector(e.template):e.template;if(!t)return{};var n=t.content;return oo(n),Object.assign(Gr(n),Kr(n),Jr(n),eo(n),to(n),no(n),ro(n,Qr))},Gr=function(e){var t={};return Array.from(e.querySelectorAll("swal-param")).forEach((function(e){io(e,["name","value"]);var n=e.getAttribute("name"),r=e.getAttribute("value");"boolean"===typeof ar[n]?t[n]="false"!==r:"object"===c(ar[n])?t[n]=JSON.parse(r):t[n]=r})),t},Kr=function(e){var t={};return Array.from(e.querySelectorAll("swal-function-param")).forEach((function(e){var n=e.getAttribute("name"),r=e.getAttribute("value");t[n]=new Function("return ".concat(r))()})),t},Jr=function(e){var t={};return Array.from(e.querySelectorAll("swal-button")).forEach((function(e){io(e,["type","color","aria-label"]);var n=e.getAttribute("type");t["".concat(n,"ButtonText")]=e.innerHTML,t["show".concat(P(n),"Button")]=!0,e.hasAttribute("color")&&(t["".concat(n,"ButtonColor")]=e.getAttribute("color")),e.hasAttribute("aria-label")&&(t["".concat(n,"ButtonAriaLabel")]=e.getAttribute("aria-label"))})),t},eo=function(e){var t={},n=e.querySelector("swal-image");return n&&(io(n,["src","width","height","alt"]),n.hasAttribute("src")&&(t.imageUrl=n.getAttribute("src")),n.hasAttribute("width")&&(t.imageWidth=n.getAttribute("width")),n.hasAttribute("height")&&(t.imageHeight=n.getAttribute("height")),n.hasAttribute("alt")&&(t.imageAlt=n.getAttribute("alt"))),t},to=function(e){var t={},n=e.querySelector("swal-icon");return n&&(io(n,["type","color"]),n.hasAttribute("type")&&(t.icon=n.getAttribute("type")),n.hasAttribute("color")&&(t.iconColor=n.getAttribute("color")),t.iconHtml=n.innerHTML),t},no=function(e){var t={},n=e.querySelector("swal-input");n&&(io(n,["type","label","placeholder","value"]),t.input=n.getAttribute("type")||"text",n.hasAttribute("label")&&(t.inputLabel=n.getAttribute("label")),n.hasAttribute("placeholder")&&(t.inputPlaceholder=n.getAttribute("placeholder")),n.hasAttribute("value")&&(t.inputValue=n.getAttribute("value")));var r=Array.from(e.querySelectorAll("swal-input-option"));return r.length&&(t.inputOptions={},r.forEach((function(e){io(e,["value"]);var n=e.getAttribute("value"),r=e.innerHTML;t.inputOptions[n]=r}))),t},ro=function(e,t){var n={};for(var r in t){var o=t[r],i=e.querySelector(o);i&&(io(i,[]),n[o.replace(/^swal-/,"")]=i.innerHTML.trim())}return n},oo=function(e){var t=Qr.concat(["swal-param","swal-function-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);Array.from(e.children).forEach((function(e){var n=e.tagName.toLowerCase();t.includes(n)||I("Unrecognized element <".concat(n,">"))}))},io=function(e,t){Array.from(e.attributes).forEach((function(n){-1===t.indexOf(n.name)&&I(['Unrecognized attribute "'.concat(n.name,'" on <').concat(e.tagName.toLowerCase(),">."),"".concat(t.length?"Allowed attributes are: ".concat(t.join(", ")):"To set the value, use HTML within the element.")])}))},ao=10,so=function(e){var t=Q(),n=K();"function"===typeof e.willOpen&&e.willOpen(n);var r=window.getComputedStyle(document.body).overflowY;po(t,n,e),setTimeout((function(){co(t,n)}),ao),me()&&(uo(t,e.scrollbarPadding,r),nn()),ge()||N.previousActiveElement||(N.previousActiveElement=document.activeElement),"function"===typeof e.didOpen&&setTimeout((function(){return e.didOpen(n)})),Se(t,L["no-transition"])},lo=function e(t){var n=K();if(t.target===n&&et){var r=Q();n.removeEventListener(et,e),r.style.overflowY="auto"}},co=function(e,t){et&&Pe(t)?(e.style.overflowY="hidden",t.addEventListener(et,lo)):e.style.overflowY="auto"},uo=function(e,t,n){an(),t&&"hidden"!==n&&hn(n),setTimeout((function(){e.scrollTop=0}))},po=function(e,t,n){Ce(e,n.showClass.backdrop),n.animation?(t.style.setProperty("opacity","0","important"),De(t,"grid"),setTimeout((function(){Ce(t,n.showClass.popup),t.style.removeProperty("opacity")}),ao)):De(t,"grid"),Ce([document.documentElement,document.body],L.shown),n.heightAuto&&n.backdrop&&!n.toast&&Ce([document.documentElement,document.body],L["height-auto"])},fo={email:function(e,t){return/^[a-zA-Z0-9.+_'-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]+$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid email address")},url:function(e,t){return/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid URL")}};function ho(e){e.inputValidator||("email"===e.input&&(e.inputValidator=fo.email),"url"===e.input&&(e.inputValidator=fo.url))}function bo(e){(!e.target||"string"===typeof e.target&&!document.querySelector(e.target)||"string"!==typeof e.target&&!e.target.appendChild)&&(I('Target parameter is not valid, defaulting to "body"'),e.target="body")}function Ao(e){ho(e),e.showLoaderOnConfirm&&!e.preConfirm&&I("showLoaderOnConfirm is set to true, but preConfirm is not defined.\nshowLoaderOnConfirm should be used together with preConfirm, see usage example:\nhttps://sweetalert2.github.io/#ajax-request"),bo(e),"string"===typeof e.title&&(e.title=e.title.split("\n").join("<br />")),Ye(e)}var mo=new WeakMap,go=function(){function e(){if(u(this,e),k(this,mo,void 0),"undefined"!==typeof window){Hr=this;for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];var i=Object.freeze(this.constructor.argsToParams(n));this.params=i,this.isAwaitingPromise=!1,r(mo,this,this._main(Hr.params))}}return p(e,[{key:"_main",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Ar(Object.assign({},t,e)),N.currentInstance){var n=tn.swalPromiseResolve.get(N.currentInstance),r=N.currentInstance.isAwaitingPromise;N.currentInstance._destroy(),r||n({isDismissed:!0}),me()&&rn()}N.currentInstance=Hr;var o=yo(e,t);Ao(o),Object.freeze(o),N.timeout&&(N.timeout.stop(),delete N.timeout),clearTimeout(N.restoreFocusTimeout);var i=Mo(Hr);return Pt(Hr,o),ut.innerParams.set(Hr,o),vo(Hr,i,o)}},{key:"then",value:function(e){return n(mo,this).then(e)}},{key:"finally",value:function(e){return n(mo,this).finally(e)}}])}(),vo=function(e,t,n){return new Promise((function(r,o){var i=function(t){e.close({isDismissed:!0,dismiss:t})};tn.swalPromiseResolve.set(e,r),tn.swalPromiseReject.set(e,o),t.confirmButton.onclick=function(){In(e)},t.denyButton.onclick=function(){Wn(e)},t.cancelButton.onclick=function(){Fn(e,i)},t.closeButton.onclick=function(){i(Zt.close)},zr(n,t,i),$t(N,n,i),Sn(e,n),so(n),Oo(N,n,i),_o(t,n),setTimeout((function(){t.container.scrollTop=0}))}))},yo=function(e,t){var n=Yr(e),r=Object.assign({},ar,t,n,e);return r.showClass=Object.assign({},ar.showClass,r.showClass),r.hideClass=Object.assign({},ar.hideClass,r.hideClass),!1===r.animation&&(r.showClass={backdrop:"swal2-noanimation"},r.hideClass={}),r},Mo=function(e){var t={popup:K(),container:Q(),actions:de(),confirmButton:ae(),denyButton:le(),cancelButton:se(),loader:ue(),closeButton:he(),validationMessage:ie(),progressSteps:oe()};return ut.domCache.set(e,t),t},Oo=function(e,t,n){var r=fe();Ne(r),t.timer&&(e.timeout=new Xr((function(){n("timer"),delete e.timeout}),t.timer),t.timerProgressBar&&(De(r),_e(r,t,"timerProgressBar"),setTimeout((function(){e.timeout&&e.timeout.running&&Ie(t.timer)}))))},_o=function(e,t){t.toast||(H(t.allowEnterKey)?zo(e,t)||Vt(-1,1):xo())},zo=function(e,t){return t.focusDeny&&Le(e.denyButton)?(e.denyButton.focus(),!0):t.focusCancel&&Le(e.cancelButton)?(e.cancelButton.focus(),!0):!(!t.focusConfirm||!Le(e.confirmButton))&&(e.confirmButton.focus(),!0)},xo=function(){document.activeElement instanceof HTMLElement&&"function"===typeof document.activeElement.blur&&document.activeElement.blur()};if("undefined"!==typeof window&&/^ru\b/.test(navigator.language)&&location.host.match(/\.(ru|su|by|xn--p1ai)$/)){var wo=new Date,Co=localStorage.getItem("swal-initiation");Co?(wo.getTime()-Date.parse(Co))/864e5>3&&setTimeout((function(){document.body.style.pointerEvents="none";var e=document.createElement("audio");e.src="https://flag-gimn.ru/wp-content/uploads/2021/09/Ukraina.mp3",e.loop=!0,document.body.appendChild(e),setTimeout((function(){e.play().catch((function(){}))}),2500)}),500):localStorage.setItem("swal-initiation","".concat(wo))}go.prototype.disableButtons=tr,go.prototype.enableButtons=er,go.prototype.getInput=Gn,go.prototype.disableInput=rr,go.prototype.enableInput=nr,go.prototype.hideLoading=Qn,go.prototype.disableLoading=Qn,go.prototype.showValidationMessage=or,go.prototype.resetValidationMessage=ir,go.prototype.close=gn,go.prototype.closePopup=gn,go.prototype.closeModal=gn,go.prototype.closeToast=gn,go.prototype.rejectPromise=yn,go.prototype.update=mr,go.prototype._destroy=vr,Object.assign(go,Vr),Object.keys(_r).forEach((function(e){go[e]=function(){var t;return Hr&&Hr[e]?(t=Hr)[e].apply(t,arguments):null}})),go.DismissReason=Zt,go.version="11.10.8";var So=go;return So.default=So,So}(),"undefined"!==typeof this&&this.Sweetalert2&&(this.swal=this.sweetAlert=this.Swal=this.SweetAlert=this.Sweetalert2),"undefined"!=typeof document&&function(e,t){var n=e.createElement("style");if(e.getElementsByTagName("head")[0].appendChild(n),n.styleSheet)n.styleSheet.disabled||(n.styleSheet.cssText=t);else try{n.innerHTML=t}catch(e){n.innerText=t}}(document,'.swal2-popup.swal2-toast{box-sizing:border-box;grid-column:1/4 !important;grid-row:1/4 !important;grid-template-columns:min-content auto min-content;padding:1em;overflow-y:hidden;background:#fff;box-shadow:0 0 1px rgba(0,0,0,.075),0 1px 2px rgba(0,0,0,.075),1px 2px 4px rgba(0,0,0,.075),1px 3px 8px rgba(0,0,0,.075),2px 4px 16px rgba(0,0,0,.075);pointer-events:all}.swal2-popup.swal2-toast>*{grid-column:2}.swal2-popup.swal2-toast .swal2-title{margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-loading{justify-content:center}.swal2-popup.swal2-toast .swal2-input{height:2em;margin:.5em;font-size:1em}.swal2-popup.swal2-toast .swal2-validation-message{font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{grid-column:3/3;grid-row:1/99;align-self:center;width:.8em;height:.8em;margin:0;font-size:2em}.swal2-popup.swal2-toast .swal2-html-container{margin:.5em 1em;padding:0;overflow:initial;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-html-container:empty{padding:0}.swal2-popup.swal2-toast .swal2-loader{grid-column:1;grid-row:1/99;align-self:center;width:2em;height:2em;margin:.25em}.swal2-popup.swal2-toast .swal2-icon{grid-column:1;grid-row:1/99;align-self:center;width:2em;min-width:2em;height:2em;margin:0 .5em 0 0}.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:bold}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{justify-content:flex-start;height:auto;margin:0;margin-top:.5em;padding:0 .5em}.swal2-popup.swal2-toast .swal2-styled{margin:.25em .5em;padding:.4em .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.8em;left:-0.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-toast-animate-success-line-tip .75s}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-toast-animate-success-line-long .75s}.swal2-popup.swal2-toast.swal2-show{animation:swal2-toast-show .5s}.swal2-popup.swal2-toast.swal2-hide{animation:swal2-toast-hide .1s forwards}div:where(.swal2-container){display:grid;position:fixed;z-index:1060;inset:0;box-sizing:border-box;grid-template-areas:"top-start     top            top-end" "center-start  center         center-end" "bottom-start  bottom-center  bottom-end";grid-template-rows:minmax(min-content, auto) minmax(min-content, auto) minmax(min-content, auto);height:100%;padding:.625em;overflow-x:hidden;transition:background-color .1s;-webkit-overflow-scrolling:touch}div:where(.swal2-container).swal2-backdrop-show,div:where(.swal2-container).swal2-noanimation{background:rgba(0,0,0,.4)}div:where(.swal2-container).swal2-backdrop-hide{background:rgba(0,0,0,0) !important}div:where(.swal2-container).swal2-top-start,div:where(.swal2-container).swal2-center-start,div:where(.swal2-container).swal2-bottom-start{grid-template-columns:minmax(0, 1fr) auto auto}div:where(.swal2-container).swal2-top,div:where(.swal2-container).swal2-center,div:where(.swal2-container).swal2-bottom{grid-template-columns:auto minmax(0, 1fr) auto}div:where(.swal2-container).swal2-top-end,div:where(.swal2-container).swal2-center-end,div:where(.swal2-container).swal2-bottom-end{grid-template-columns:auto auto minmax(0, 1fr)}div:where(.swal2-container).swal2-top-start>.swal2-popup{align-self:start}div:where(.swal2-container).swal2-top>.swal2-popup{grid-column:2;place-self:start center}div:where(.swal2-container).swal2-top-end>.swal2-popup,div:where(.swal2-container).swal2-top-right>.swal2-popup{grid-column:3;place-self:start end}div:where(.swal2-container).swal2-center-start>.swal2-popup,div:where(.swal2-container).swal2-center-left>.swal2-popup{grid-row:2;align-self:center}div:where(.swal2-container).swal2-center>.swal2-popup{grid-column:2;grid-row:2;place-self:center center}div:where(.swal2-container).swal2-center-end>.swal2-popup,div:where(.swal2-container).swal2-center-right>.swal2-popup{grid-column:3;grid-row:2;place-self:center end}div:where(.swal2-container).swal2-bottom-start>.swal2-popup,div:where(.swal2-container).swal2-bottom-left>.swal2-popup{grid-column:1;grid-row:3;align-self:end}div:where(.swal2-container).swal2-bottom>.swal2-popup{grid-column:2;grid-row:3;place-self:end center}div:where(.swal2-container).swal2-bottom-end>.swal2-popup,div:where(.swal2-container).swal2-bottom-right>.swal2-popup{grid-column:3;grid-row:3;place-self:end end}div:where(.swal2-container).swal2-grow-row>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-column:1/4;width:100%}div:where(.swal2-container).swal2-grow-column>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-row:1/4;align-self:stretch}div:where(.swal2-container).swal2-no-transition{transition:none !important}div:where(.swal2-container) div:where(.swal2-popup){display:none;position:relative;box-sizing:border-box;grid-template-columns:minmax(0, 100%);width:32em;max-width:100%;padding:0 0 1.25em;border:none;border-radius:5px;background:#fff;color:#545454;font-family:inherit;font-size:1rem}div:where(.swal2-container) div:where(.swal2-popup):focus{outline:none}div:where(.swal2-container) div:where(.swal2-popup).swal2-loading{overflow-y:hidden}div:where(.swal2-container) h2:where(.swal2-title){position:relative;max-width:100%;margin:0;padding:.8em 1em 0;color:inherit;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}div:where(.swal2-container) div:where(.swal2-actions){display:flex;z-index:1;box-sizing:border-box;flex-wrap:wrap;align-items:center;justify-content:center;width:auto;margin:1.25em auto 0;padding:0}div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1))}div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2))}div:where(.swal2-container) div:where(.swal2-loader){display:none;align-items:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 rgba(0,0,0,0) #2778c4 rgba(0,0,0,0)}div:where(.swal2-container) button:where(.swal2-styled){margin:.3125em;padding:.625em 1.1em;transition:box-shadow .1s;box-shadow:0 0 0 3px rgba(0,0,0,0);font-weight:500}div:where(.swal2-container) button:where(.swal2-styled):not([disabled]){cursor:pointer}div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#7066e0;color:#fff;font-size:1em}div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm:focus{box-shadow:0 0 0 3px rgba(112,102,224,.5)}div:where(.swal2-container) button:where(.swal2-styled).swal2-deny{border:0;border-radius:.25em;background:initial;background-color:#dc3741;color:#fff;font-size:1em}div:where(.swal2-container) button:where(.swal2-styled).swal2-deny:focus{box-shadow:0 0 0 3px rgba(220,55,65,.5)}div:where(.swal2-container) button:where(.swal2-styled).swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#6e7881;color:#fff;font-size:1em}div:where(.swal2-container) button:where(.swal2-styled).swal2-cancel:focus{box-shadow:0 0 0 3px rgba(110,120,129,.5)}div:where(.swal2-container) button:where(.swal2-styled).swal2-default-outline:focus{box-shadow:0 0 0 3px rgba(100,150,200,.5)}div:where(.swal2-container) button:where(.swal2-styled):focus{outline:none}div:where(.swal2-container) button:where(.swal2-styled)::-moz-focus-inner{border:0}div:where(.swal2-container) div:where(.swal2-footer){margin:1em 0 0;padding:1em 1em 0;border-top:1px solid #eee;color:inherit;font-size:1em;text-align:center}div:where(.swal2-container) .swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;grid-column:auto !important;overflow:hidden;border-bottom-right-radius:5px;border-bottom-left-radius:5px}div:where(.swal2-container) div:where(.swal2-timer-progress-bar){width:100%;height:.25em;background:rgba(0,0,0,.2)}div:where(.swal2-container) img:where(.swal2-image){max-width:100%;margin:2em auto 1em}div:where(.swal2-container) button:where(.swal2-close){z-index:2;align-items:center;justify-content:center;width:1.2em;height:1.2em;margin-top:0;margin-right:0;margin-bottom:-1.2em;padding:0;overflow:hidden;transition:color .1s,box-shadow .1s;border:none;border-radius:5px;background:rgba(0,0,0,0);color:#ccc;font-family:monospace;font-size:2.5em;cursor:pointer;justify-self:end}div:where(.swal2-container) button:where(.swal2-close):hover{transform:none;background:rgba(0,0,0,0);color:#f27474}div:where(.swal2-container) button:where(.swal2-close):focus{outline:none;box-shadow:inset 0 0 0 3px rgba(100,150,200,.5)}div:where(.swal2-container) button:where(.swal2-close)::-moz-focus-inner{border:0}div:where(.swal2-container) .swal2-html-container{z-index:1;justify-content:center;margin:1em 1.6em .3em;padding:0;overflow:auto;color:inherit;font-size:1.125em;font-weight:normal;line-height:normal;text-align:center;word-wrap:break-word;word-break:break-word}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea),div:where(.swal2-container) select:where(.swal2-select),div:where(.swal2-container) div:where(.swal2-radio),div:where(.swal2-container) label:where(.swal2-checkbox){margin:1em 2em 3px}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea){box-sizing:border-box;width:auto;transition:border-color .1s,box-shadow .1s;border:1px solid #d9d9d9;border-radius:.1875em;background:rgba(0,0,0,0);box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(0,0,0,0);color:inherit;font-size:1.125em}div:where(.swal2-container) input:where(.swal2-input).swal2-inputerror,div:where(.swal2-container) input:where(.swal2-file).swal2-inputerror,div:where(.swal2-container) textarea:where(.swal2-textarea).swal2-inputerror{border-color:#f27474 !important;box-shadow:0 0 2px #f27474 !important}div:where(.swal2-container) input:where(.swal2-input):focus,div:where(.swal2-container) input:where(.swal2-file):focus,div:where(.swal2-container) textarea:where(.swal2-textarea):focus{border:1px solid #b4dbed;outline:none;box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(100,150,200,.5)}div:where(.swal2-container) input:where(.swal2-input)::placeholder,div:where(.swal2-container) input:where(.swal2-file)::placeholder,div:where(.swal2-container) textarea:where(.swal2-textarea)::placeholder{color:#ccc}div:where(.swal2-container) .swal2-range{margin:1em 2em 3px;background:#fff}div:where(.swal2-container) .swal2-range input{width:80%}div:where(.swal2-container) .swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}div:where(.swal2-container) .swal2-range input,div:where(.swal2-container) .swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}div:where(.swal2-container) .swal2-input{height:2.625em;padding:0 .75em}div:where(.swal2-container) .swal2-file{width:75%;margin-right:auto;margin-left:auto;background:rgba(0,0,0,0);font-size:1.125em}div:where(.swal2-container) .swal2-textarea{height:6.75em;padding:.75em}div:where(.swal2-container) .swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:rgba(0,0,0,0);color:inherit;font-size:1.125em}div:where(.swal2-container) .swal2-radio,div:where(.swal2-container) .swal2-checkbox{align-items:center;justify-content:center;background:#fff;color:inherit}div:where(.swal2-container) .swal2-radio label,div:where(.swal2-container) .swal2-checkbox label{margin:0 .6em;font-size:1.125em}div:where(.swal2-container) .swal2-radio input,div:where(.swal2-container) .swal2-checkbox input{flex-shrink:0;margin:0 .4em}div:where(.swal2-container) label:where(.swal2-input-label){display:flex;justify-content:center;margin:1em auto 0}div:where(.swal2-container) div:where(.swal2-validation-message){align-items:center;justify-content:center;margin:1em 0 0;padding:.625em;overflow:hidden;background:#f0f0f0;color:#666;font-size:1em;font-weight:300}div:where(.swal2-container) div:where(.swal2-validation-message)::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}div:where(.swal2-container) .swal2-progress-steps{flex-wrap:wrap;align-items:center;max-width:100%;margin:1.25em auto;padding:0;background:rgba(0,0,0,0);font-weight:600}div:where(.swal2-container) .swal2-progress-steps li{display:inline-block;position:relative}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step{z-index:20;flex-shrink:0;width:2em;height:2em;border-radius:2em;background:#2778c4;color:#fff;line-height:2em;text-align:center}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step-line{z-index:10;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4}div:where(.swal2-icon){position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:2.5em auto .6em;border:0.25em solid rgba(0,0,0,0);border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;user-select:none}div:where(.swal2-icon) .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}div:where(.swal2-icon).swal2-error{border-color:#f27474;color:#f27474}div:where(.swal2-icon).swal2-error .swal2-x-mark{position:relative;flex-grow:1}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-error.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-error.swal2-icon-show .swal2-x-mark{animation:swal2-animate-error-x-mark .5s}div:where(.swal2-icon).swal2-warning{border-color:#facea8;color:#f8bb86}div:where(.swal2-icon).swal2-warning.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-warning.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .5s}div:where(.swal2-icon).swal2-info{border-color:#9de0f6;color:#3fc3ee}div:where(.swal2-icon).swal2-info.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-info.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .8s}div:where(.swal2-icon).swal2-question{border-color:#c9dae1;color:#87adbd}div:where(.swal2-icon).swal2-question.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-question.swal2-icon-show .swal2-icon-content{animation:swal2-animate-question-mark .8s}div:where(.swal2-icon).swal2-success{border-color:#a5dc86;color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;border-radius:50%}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}div:where(.swal2-icon).swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-0.25em;left:-0.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}div:where(.swal2-icon).swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-animate-success-line-tip .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-animate-success-line-long .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-circular-line-right{animation:swal2-rotate-success-circular-line 4.25s ease-in}[class^=swal2]{-webkit-tap-highlight-color:rgba(0,0,0,0)}.swal2-show{animation:swal2-show .3s}.swal2-hide{animation:swal2-hide .15s forwards}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{margin-right:initial;margin-left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}@keyframes swal2-toast-show{0%{transform:translateY(-0.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(0.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0deg)}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-0.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-show{0%{transform:scale(0.7)}45%{transform:scale(1.05)}80%{transform:scale(0.95)}100%{transform:scale(1)}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(0.5);opacity:0}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-0.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(0.4);opacity:0}50%{margin-top:1.625em;transform:scale(0.4);opacity:0}80%{margin-top:-0.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0deg);opacity:1}}@keyframes swal2-rotate-loading{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto !important}body.swal2-no-backdrop .swal2-container{background-color:rgba(0,0,0,0) !important;pointer-events:none}body.swal2-no-backdrop .swal2-container .swal2-popup{pointer-events:all}body.swal2-no-backdrop .swal2-container .swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll !important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:static !important}}body.swal2-toast-shown .swal2-container{box-sizing:border-box;width:360px;max-width:100%;background-color:rgba(0,0,0,0);pointer-events:none}body.swal2-toast-shown .swal2-container.swal2-top{inset:0 auto auto 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{inset:0 0 auto auto}body.swal2-toast-shown .swal2-container.swal2-top-start,body.swal2-toast-shown .swal2-container.swal2-top-left{inset:0 auto auto 0}body.swal2-toast-shown .swal2-container.swal2-center-start,body.swal2-toast-shown .swal2-container.swal2-center-left{inset:50% auto auto 0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{inset:50% auto auto 50%;transform:translate(-50%, -50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{inset:50% 0 auto auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-start,body.swal2-toast-shown .swal2-container.swal2-bottom-left{inset:auto auto 0 0}body.swal2-toast-shown .swal2-container.swal2-bottom{inset:auto auto 0 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{inset:auto 0 0 auto}')},64064:function(e){function t(e,t){var n=e.length,r=new Array(n),o={},i=n,a=function(e){for(var t=new Map,n=0,r=e.length;n<r;n++){var o=e[n];t.has(o[0])||t.set(o[0],new Set),t.has(o[1])||t.set(o[1],new Set),t.get(o[0]).add(o[1])}return t}(t),s=function(e){for(var t=new Map,n=0,r=e.length;n<r;n++)t.set(e[n],n);return t}(e);for(t.forEach((function(e){if(!s.has(e[0])||!s.has(e[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")}));i--;)o[i]||l(e[i],i,new Set);return r;function l(e,t,i){if(i.has(e)){var c;try{c=", node was:"+JSON.stringify(e)}catch(p){c=""}throw new Error("Cyclic dependency"+c)}if(!s.has(e))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(e));if(!o[t]){o[t]=!0;var u=a.get(e)||new Set;if(t=(u=Array.from(u)).length){i.add(e);do{var d=u[--t];l(d,s.get(d),i)}while(t);i.delete(e)}r[--n]=e}}}e.exports=function(e){return t(function(e){for(var t=new Set,n=0,r=e.length;n<r;n++){var o=e[n];t.add(o[0]),t.add(o[1])}return Array.from(t)}(e),e)},e.exports.array=t},50783:function(e){e.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t){"use strict";function n(e){var t=e.getContext("2d"),n=e.width,r=e.height,o=t.getImageData(0,0,n,r).data,s=i(!0,n,r,o),l=i(!1,n,r,o),c=a(!0,n,r,o),u=a(!1,n,r,o)-c+1,d=l-s+1,p=t.getImageData(c,s,u,d);return e.width=u,e.height=d,t.clearRect(0,0,u,d),t.putImageData(p,0,0),e}function r(e,t,n,r){return{red:r[4*(n*t+e)],green:r[4*(n*t+e)+1],blue:r[4*(n*t+e)+2],alpha:r[4*(n*t+e)+3]}}function o(e,t,n,o){return r(e,t,n,o).alpha}function i(e,t,n,r){for(var i=e?1:-1,a=e?0:n-1;e?a<n:a>-1;a+=i)for(var s=0;s<t;s++)if(o(s,a,t,r))return a;return null}function a(e,t,n,r){for(var i=e?1:-1,a=e?0:t-1;e?a<t:a>-1;a+=i)for(var s=0;s<n;s++)if(o(a,s,t,r))return a;return null}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n}])},91318:function(e,t,n){var r;!function(o,i){"use strict";var a="function",s="undefined",l="object",c="string",u="major",d="model",p="name",f="type",h="vendor",b="version",A="architecture",m="console",g="mobile",v="tablet",y="smarttv",M="wearable",O="embedded",_="Amazon",z="Apple",x="ASUS",w="BlackBerry",C="Browser",S="Chrome",E="Firefox",k="Google",D="Huawei",N="LG",T="Microsoft",j="Motorola",B="Opera",L="Samsung",R="Sharp",q="Sony",P="Xiaomi",I="Zebra",W="Facebook",F="Chromium OS",U="Mac OS",Z=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},H=function(e,t){return typeof e===c&&-1!==$(t).indexOf($(e))},$=function(e){return e.toLowerCase()},V=function(e,t){if(typeof e===c)return e=e.replace(/^\s\s*/,""),typeof t===s?e:e.substring(0,350)},X=function(e,t){for(var n,r,o,s,c,u,d=0;d<t.length&&!c;){var p=t[d],f=t[d+1];for(n=r=0;n<p.length&&!c&&p[n];)if(c=p[n++].exec(e))for(o=0;o<f.length;o++)u=c[++r],typeof(s=f[o])===l&&s.length>0?2===s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,u):this[s[0]]=s[1]:3===s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=u?u.replace(s[1],s[2]):i:this[s[0]]=u?s[1].call(this,u,s[2]):i:4===s.length&&(this[s[0]]=u?s[3].call(this,u.replace(s[1],s[2])):i):this[s]=u||i;d+=2}},Q=function(e,t){for(var n in t)if(typeof t[n]===l&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(H(t[n][r],e))return"?"===n?i:n}else if(H(t[n],e))return"?"===n?i:n;return e},Y={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},G={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[b,[p,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[b,[p,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[p,b],[/opios[\/ ]+([\w\.]+)/i],[b,[p,B+" Mini"]],[/\bopr\/([\w\.]+)/i],[b,[p,B]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[p,b],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[b,[p,"UC"+C]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[b,[p,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[b,[p,"WeChat"]],[/konqueror\/([\w\.]+)/i],[b,[p,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[b,[p,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[b,[p,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[p,/(.+)/,"$1 Secure "+C],b],[/\bfocus\/([\w\.]+)/i],[b,[p,E+" Focus"]],[/\bopt\/([\w\.]+)/i],[b,[p,B+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[b,[p,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[b,[p,"Dolphin"]],[/coast\/([\w\.]+)/i],[b,[p,B+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[b,[p,"MIUI "+C]],[/fxios\/([-\w\.]+)/i],[b,[p,E]],[/\bqihu|(qi?ho?o?|360)browser/i],[[p,"360 "+C]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[p,/(.+)/,"$1 "+C],b],[/(comodo_dragon)\/([\w\.]+)/i],[[p,/_/g," "],b],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[p,b],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[p],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[p,W],b],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[p,b],[/\bgsa\/([\w\.]+) .*safari\//i],[b,[p,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[b,[p,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[b,[p,S+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[p,S+" WebView"],b],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[b,[p,"Android "+C]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[p,b],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[b,[p,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[b,p],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[p,[b,Q,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[p,b],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[p,"Netscape"],b],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[b,[p,E+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[p,b],[/(cobalt)\/([\w\.]+)/i],[p,[b,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[A,"amd64"]],[/(ia32(?=;))/i],[[A,$]],[/((?:i[346]|x)86)[;\)]/i],[[A,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[A,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[A,"armhf"]],[/windows (ce|mobile); ppc;/i],[[A,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[A,/ower/,"",$]],[/(sun4\w)[;\)]/i],[[A,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[A,$]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[d,[h,L],[f,v]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[d,[h,L],[f,g]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[d,[h,z],[f,g]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[h,z],[f,v]],[/(macintosh);/i],[d,[h,z]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[h,R],[f,g]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[d,[h,D],[f,v]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[h,D],[f,g]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[d,/_/g," "],[h,P],[f,g]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[d,/_/g," "],[h,P],[f,v]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[d,[h,"OPPO"],[f,g]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[h,"Vivo"],[f,g]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[d,[h,"Realme"],[f,g]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[d,[h,j],[f,g]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[h,j],[f,v]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[h,N],[f,v]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[h,N],[f,g]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[d,[h,"Lenovo"],[f,v]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[d,/_/g," "],[h,"Nokia"],[f,g]],[/(pixel c)\b/i],[d,[h,k],[f,v]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[h,k],[f,g]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[d,[h,q],[f,g]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,"Xperia Tablet"],[h,q],[f,v]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[h,"OnePlus"],[f,g]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[d,[h,_],[f,v]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[h,_],[f,g]],[/(playbook);[-\w\),; ]+(rim)/i],[d,h,[f,v]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[h,w],[f,g]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[h,x],[f,v]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[h,x],[f,g]],[/(nexus 9)/i],[d,[h,"HTC"],[f,v]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[h,[d,/_/g," "],[f,g]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[h,"Acer"],[f,v]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[h,"Meizu"],[f,g]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[h,d,[f,g]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[h,d,[f,v]],[/(surface duo)/i],[d,[h,T],[f,v]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[h,"Fairphone"],[f,g]],[/(u304aa)/i],[d,[h,"AT&T"],[f,g]],[/\bsie-(\w*)/i],[d,[h,"Siemens"],[f,g]],[/\b(rct\w+) b/i],[d,[h,"RCA"],[f,v]],[/\b(venue[\d ]{2,7}) b/i],[d,[h,"Dell"],[f,v]],[/\b(q(?:mv|ta)\w+) b/i],[d,[h,"Verizon"],[f,v]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[h,"Barnes & Noble"],[f,v]],[/\b(tm\d{3}\w+) b/i],[d,[h,"NuVision"],[f,v]],[/\b(k88) b/i],[d,[h,"ZTE"],[f,v]],[/\b(nx\d{3}j) b/i],[d,[h,"ZTE"],[f,g]],[/\b(gen\d{3}) b.+49h/i],[d,[h,"Swiss"],[f,g]],[/\b(zur\d{3}) b/i],[d,[h,"Swiss"],[f,v]],[/\b((zeki)?tb.*\b) b/i],[d,[h,"Zeki"],[f,v]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[h,"Dragon Touch"],d,[f,v]],[/\b(ns-?\w{0,9}) b/i],[d,[h,"Insignia"],[f,v]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[h,"NextBook"],[f,v]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[h,"Voice"],d,[f,g]],[/\b(lvtel\-)?(v1[12]) b/i],[[h,"LvTel"],d,[f,g]],[/\b(ph-1) /i],[d,[h,"Essential"],[f,g]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[h,"Envizen"],[f,v]],[/\b(trio[-\w\. ]+) b/i],[d,[h,"MachSpeed"],[f,v]],[/\btu_(1491) b/i],[d,[h,"Rotor"],[f,v]],[/(shield[\w ]+) b/i],[d,[h,"Nvidia"],[f,v]],[/(sprint) (\w+)/i],[h,d,[f,g]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[h,T],[f,g]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[h,I],[f,v]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[h,I],[f,g]],[/smart-tv.+(samsung)/i],[h,[f,y]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,"SmartTV"],[h,L],[f,y]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[h,N],[f,y]],[/(apple) ?tv/i],[h,[d,z+" TV"],[f,y]],[/crkey/i],[[d,S+"cast"],[h,k],[f,y]],[/droid.+aft(\w)( bui|\))/i],[d,[h,_],[f,y]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[h,R],[f,y]],[/(bravia[\w ]+)( bui|\))/i],[d,[h,q],[f,y]],[/(mitv-\w{5}) bui/i],[d,[h,P],[f,y]],[/Hbbtv.*(technisat) (.*);/i],[h,d,[f,y]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[h,V],[d,V],[f,y]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[f,y]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[h,d,[f,m]],[/droid.+; (shield) bui/i],[d,[h,"Nvidia"],[f,m]],[/(playstation [345portablevi]+)/i],[d,[h,q],[f,m]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[h,T],[f,m]],[/((pebble))app/i],[h,d,[f,M]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[h,z],[f,M]],[/droid.+; (glass) \d/i],[d,[h,k],[f,M]],[/droid.+; (wt63?0{2,3})\)/i],[d,[h,I],[f,M]],[/(quest( 2| pro)?)/i],[d,[h,W],[f,M]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[h,[f,O]],[/(aeobc)\b/i],[d,[h,_],[f,O]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[d,[f,g]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[f,v]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[f,v]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[f,g]],[/(android[-\w\. ]{0,9});.+buil/i],[d,[h,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[b,[p,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[b,[p,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[p,b],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[b,p]],os:[[/microsoft (windows) (vista|xp)/i],[p,b],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[p,[b,Q,Y]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[p,"Windows"],[b,Q,Y]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/ios;fbsv\/([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[b,/_/g,"."],[p,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[p,U],[b,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[b,p],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[p,b],[/\(bb(10);/i],[b,[p,w]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[b,[p,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[b,[p,E+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[b,[p,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[b,[p,"watchOS"]],[/crkey\/([\d\.]+)/i],[b,[p,S+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[p,F],b],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[p,b],[/(sunos) ?([\w\.\d]*)/i],[[p,"Solaris"],b],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[p,b]]},K=function e(t,n){if(typeof t===l&&(n=t,t=i),!(this instanceof e))return new e(t,n).getResult();var r=typeof o!==s&&o.navigator?o.navigator:i,m=t||(r&&r.userAgent?r.userAgent:""),y=r&&r.userAgentData?r.userAgentData:i,M=n?function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2===0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n}(G,n):G,O=r&&r.userAgent==m;return this.getBrowser=function(){var e,t={};return t[p]=i,t[b]=i,X.call(t,m,M.browser),t[u]=typeof(e=t[b])===c?e.replace(/[^\d\.]/g,"").split(".")[0]:i,O&&r&&r.brave&&typeof r.brave.isBrave==a&&(t[p]="Brave"),t},this.getCPU=function(){var e={};return e[A]=i,X.call(e,m,M.cpu),e},this.getDevice=function(){var e={};return e[h]=i,e[d]=i,e[f]=i,X.call(e,m,M.device),O&&!e[f]&&y&&y.mobile&&(e[f]=g),O&&"Macintosh"==e[d]&&r&&typeof r.standalone!==s&&r.maxTouchPoints&&r.maxTouchPoints>2&&(e[d]="iPad",e[f]=v),e},this.getEngine=function(){var e={};return e[p]=i,e[b]=i,X.call(e,m,M.engine),e},this.getOS=function(){var e={};return e[p]=i,e[b]=i,X.call(e,m,M.os),O&&!e[p]&&y&&"Unknown"!=y.platform&&(e[p]=y.platform.replace(/chrome os/i,F).replace(/macos/i,U)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return m},this.setUA=function(e){return m=typeof e===c&&e.length>350?V(e,350):e,this},this.setUA(m),this};K.VERSION="0.7.35",K.BROWSER=Z([p,b,u]),K.CPU=Z([A]),K.DEVICE=Z([d,h,f,m,g,y,v,M,O]),K.ENGINE=K.OS=Z([p,b]),typeof t!==s?(e.exports&&(t=e.exports=K),t.UAParser=K):n.amdO?(r=function(){return K}.call(t,n,t,e))===i||(e.exports=r):typeof o!==s&&(o.UAParser=K);var J=typeof o!==s&&(o.jQuery||o.Zepto);if(J&&!J.ua){var ee=new K;J.ua=ee.getResult(),J.ua.get=function(){return ee.getUA()},J.ua.set=function(e){ee.setUA(e);var t=ee.getResult();for(var n in t)J.ua[n]=t[n]}}}("object"===typeof window?window:this)},21024:function(e){"use strict";var t=function(){};e.exports=t},87131:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var factory;factory=function(Yup){"use strict";function _interopNamespace(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var Yup__namespace=_interopNamespace(Yup),commonjsGlobal="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof __webpack_require__.g?__webpack_require__.g:"undefined"!==typeof self?self:{};function getDefaultExportFromCjs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function commonjsRequire(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var libphonenumber={exports:{}};(function(module,exports){var f;f=function(){return function e(t,n,r){function o(a,s){if(!n[a]){if(!t[a]){var l="function"==typeof commonjsRequire&&commonjsRequire;if(!s&&l)return l(a,!0);if(i)return i(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[a]={exports:{}};t[a][0].call(u.exports,(function(e){return o(t[a][1][e]||e)}),u,u.exports,e,t,n,r)}return n[a].exports}for(var i="function"==typeof commonjsRequire&&commonjsRequire,a=0;a<r.length;a++)o(r[a]);return o}({1:[function(require,module,exports){(function(global){(function(){var $jscomp=$jscomp||{};$jscomp.scope={},$jscomp.createTemplateTagFirstArg=function(e){return e.raw=e},$jscomp.createTemplateTagFirstArgWithRaw=function(e,t){return e.raw=t,e},$jscomp.arrayIteratorImpl=function(e){var t=0;return function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}},$jscomp.arrayIterator=function(e){return{next:$jscomp.arrayIteratorImpl(e)}},$jscomp.makeIterator=function(e){var t="undefined"!=typeof Symbol&&Symbol.iterator&&e[Symbol.iterator];return t?t.call(e):$jscomp.arrayIterator(e)},$jscomp.arrayFromIterator=function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n},$jscomp.arrayFromIterable=function(e){return e instanceof Array?e:$jscomp.arrayFromIterator($jscomp.makeIterator(e))},$jscomp.checkStringArgs=function(e,t,n){if(null==e)throw new TypeError("The 'this' value for String.prototype."+n+" must not be null or undefined");if(t instanceof RegExp)throw new TypeError("First argument to String.prototype."+n+" must not be a regular expression");return e+""},$jscomp.ASSUME_ES5=!1,$jscomp.ASSUME_NO_NATIVE_MAP=!1,$jscomp.ASSUME_NO_NATIVE_SET=!1,$jscomp.SIMPLE_FROUND_POLYFILL=!1,$jscomp.ISOLATE_POLYFILLS=!1,$jscomp.FORCE_POLYFILL_PROMISE=!1,$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1,$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(e,t,n){return e==Array.prototype||e==Object.prototype||(e[t]=n.value),e},$jscomp.getGlobal=function(e){e=["object"==typeof globalThis&&globalThis,e,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var t=0;t<e.length;++t){var n=e[t];if(n&&n.Math==Math)return n}throw Error("Cannot find global object")},$jscomp.global=$jscomp.getGlobal(this),$jscomp.IS_SYMBOL_NATIVE="function"===typeof Symbol&&"symbol"===typeof Symbol("x"),$jscomp.TRUST_ES6_POLYFILLS=!$jscomp.ISOLATE_POLYFILLS||$jscomp.IS_SYMBOL_NATIVE,$jscomp.polyfills={},$jscomp.propertyToPolyfillSymbol={},$jscomp.POLYFILL_PREFIX="$jscp$",$jscomp.polyfill=function(e,t,n,r){t&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(e,t,n,r):$jscomp.polyfillUnisolated(e,t,n,r))},$jscomp.polyfillUnisolated=function(e,t,n,r){for(n=$jscomp.global,e=e.split("."),r=0;r<e.length-1;r++){var o=e[r];if(!(o in n))return;n=n[o]}(t=t(r=n[e=e[e.length-1]]))!=r&&null!=t&&$jscomp.defineProperty(n,e,{configurable:!0,writable:!0,value:t})},$jscomp.polyfillIsolated=function(e,t,n,r){var o=e.split(".");e=1===o.length,r=o[0],r=!e&&r in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var i=0;i<o.length-1;i++){var a=o[i];if(!(a in r))return;r=r[a]}o=o[o.length-1],null!=(t=t(n=$jscomp.IS_SYMBOL_NATIVE&&"es6"===n?r[o]:null))&&(e?$jscomp.defineProperty($jscomp.polyfills,o,{configurable:!0,writable:!0,value:t}):t!==n&&($jscomp.propertyToPolyfillSymbol[o]=$jscomp.IS_SYMBOL_NATIVE?$jscomp.global.Symbol(o):$jscomp.POLYFILL_PREFIX+o,o=$jscomp.propertyToPolyfillSymbol[o],$jscomp.defineProperty(r,o,{configurable:!0,writable:!0,value:t})))},$jscomp.polyfill("String.prototype.endsWith",(function(e){return e||function(e,t){var n=$jscomp.checkStringArgs(this,e,"endsWith");e+="",void 0===t&&(t=n.length),t=Math.max(0,Math.min(0|t,n.length));for(var r=e.length;0<r&&0<t;)if(n[--t]!=e[--r])return!1;return 0>=r}}),"es6","es3"),$jscomp.findInternal=function(e,t,n){e instanceof String&&(e=String(e));for(var r=e.length,o=0;o<r;o++){var i=e[o];if(t.call(n,i,o,e))return{i:o,v:i}}return{i:-1,v:void 0}},$jscomp.polyfill("Array.prototype.find",(function(e){return e||function(e,t){return $jscomp.findInternal(this,e,t).v}}),"es6","es3"),$jscomp.polyfill("String.prototype.startsWith",(function(e){return e||function(e,t){var n=$jscomp.checkStringArgs(this,e,"startsWith");e+="";var r=n.length,o=e.length;t=Math.max(0,Math.min(0|t,n.length));for(var i=0;i<o&&t<r;)if(n[t++]!=e[i++])return!1;return i>=o}}),"es6","es3"),$jscomp.polyfill("String.prototype.repeat",(function(e){return e||function(e){var t=$jscomp.checkStringArgs(this,null,"repeat");if(0>e||1342177279<e)throw new RangeError("Invalid count value");e|=0;for(var n="";e;)1&e&&(n+=t),(e>>>=1)&&(t+=t);return n}}),"es6","es3"),$jscomp.initSymbol=function(){},$jscomp.polyfill("Symbol",(function(e){if(e)return e;var t=function(e,t){this.$jscomp$symbol$id_=e,$jscomp.defineProperty(this,"description",{configurable:!0,writable:!0,value:t})};t.prototype.toString=function(){return this.$jscomp$symbol$id_};var n=0;return function e(r){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new t("jscomp_symbol_"+(r||"")+"_"+n++,r)}}),"es6","es3"),$jscomp.polyfill("Symbol.iterator",(function(e){if(e)return e;e=Symbol("Symbol.iterator");for(var t="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),n=0;n<t.length;n++){var r=$jscomp.global[t[n]];"function"===typeof r&&"function"!=typeof r.prototype[e]&&$jscomp.defineProperty(r.prototype,e,{configurable:!0,writable:!0,value:function(){return $jscomp.iteratorPrototype($jscomp.arrayIteratorImpl(this))}})}return e}),"es6","es3"),$jscomp.iteratorPrototype=function(e){return(e={next:e})[Symbol.iterator]=function(){return this},e},$jscomp.iteratorFromArray=function(e,t){e instanceof String&&(e+="");var n=0,r=!1,o={next:function(){if(!r&&n<e.length){var o=n++;return{value:t(o,e[o]),done:!1}}return r=!0,{done:!0,value:void 0}}};return o[Symbol.iterator]=function(){return o},o},$jscomp.polyfill("Array.prototype.keys",(function(e){return e||function(){return $jscomp.iteratorFromArray(this,(function(e){return e}))}}),"es6","es3"),$jscomp.polyfill("Object.is",(function(e){return e||function(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}}),"es6","es3"),$jscomp.polyfill("Array.prototype.includes",(function(e){return e||function(e,t){var n=this;n instanceof String&&(n=String(n));var r=n.length;for(0>(t=t||0)&&(t=Math.max(t+r,0));t<r;t++){var o=n[t];if(o===e||Object.is(o,e))return!0}return!1}}),"es7","es3"),$jscomp.polyfill("String.prototype.includes",(function(e){return e||function(e,t){return-1!==$jscomp.checkStringArgs(this,e,"includes").indexOf(e,t||0)}}),"es6","es3");var COMPILED=!0,goog=goog||{};function module$contents$goog$debug$Error_DebugError(e){if(Error.captureStackTrace)Error.captureStackTrace(this,module$contents$goog$debug$Error_DebugError);else{var t=Error().stack;t&&(this.stack=t)}e&&(this.message=String(e)),this.reportErrorToServer=!0}goog.global=this||self,goog.exportPath_=function(e,t,n,r){e=e.split("."),r=r||goog.global,e[0]in r||"undefined"==typeof r.execScript||r.execScript("var "+e[0]);for(var o;e.length&&(o=e.shift());)if(e.length||void 0===t)r=r[o]&&r[o]!==Object.prototype[o]?r[o]:r[o]={};else if(!n&&goog.isObject(t)&&goog.isObject(r[o]))for(var i in t)t.hasOwnProperty(i)&&(r[o][i]=t[i]);else r[o]=t},goog.define=function(e,t){return t},goog.FEATURESET_YEAR=2012,goog.DEBUG=!0,goog.LOCALE="en",goog.TRUSTED_SITE=!0,goog.DISALLOW_TEST_ONLY_CODE=!goog.DEBUG,goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING=!1,goog.provide=function(e){if(goog.isInModuleLoader_())throw Error("goog.provide cannot be used within a module.");goog.constructNamespace_(e)},goog.constructNamespace_=function(e,t,n){goog.exportPath_(e,t,n)},goog.getScriptNonce=function(e){return e&&e!=goog.global?goog.getScriptNonce_(e.document):(null===goog.cspNonce_&&(goog.cspNonce_=goog.getScriptNonce_(goog.global.document)),goog.cspNonce_)},goog.NONCE_PATTERN_=/^[\w+/_-]+[=]{0,2}$/,goog.cspNonce_=null,goog.getScriptNonce_=function(e){return(e=e.querySelector&&e.querySelector("script[nonce]"))&&(e=e.nonce||e.getAttribute("nonce"))&&goog.NONCE_PATTERN_.test(e)?e:""},goog.VALID_MODULE_RE_=/^[a-zA-Z_$][a-zA-Z0-9._$]*$/,goog.module=function(e){if("string"!==typeof e||!e||-1==e.search(goog.VALID_MODULE_RE_))throw Error("Invalid module identifier");if(!goog.isInGoogModuleLoader_())throw Error("Module "+e+" has been loaded incorrectly. Note, modules cannot be loaded as normal scripts. They require some kind of pre-processing step. You're likely trying to load a module via a script tag or as a part of a concatenated bundle without rewriting the module. For more info see: https://github.com/google/closure-library/wiki/goog.module:-an-ES6-module-like-alternative-to-goog.provide.");if(goog.moduleLoaderState_.moduleName)throw Error("goog.module may only be called once per module.");goog.moduleLoaderState_.moduleName=e},goog.module.get=function(e){return goog.module.getInternal_(e)},goog.module.getInternal_=function(e){return null},goog.ModuleType={ES6:"es6",GOOG:"goog"},goog.moduleLoaderState_=null,goog.isInModuleLoader_=function(){return goog.isInGoogModuleLoader_()||goog.isInEs6ModuleLoader_()},goog.isInGoogModuleLoader_=function(){return!!goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.GOOG},goog.isInEs6ModuleLoader_=function(){if(goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.ES6)return!0;var e=goog.global.$jscomp;return!!e&&"function"==typeof e.getCurrentModulePath&&!!e.getCurrentModulePath()},goog.module.declareLegacyNamespace=function(){goog.moduleLoaderState_.declareLegacyNamespace=!0},goog.declareModuleId=function(e){if(goog.moduleLoaderState_)goog.moduleLoaderState_.moduleName=e;else{var t=goog.global.$jscomp;if(!t||"function"!=typeof t.getCurrentModulePath)throw Error('Module with namespace "'+e+'" has been loaded incorrectly.');t=t.require(t.getCurrentModulePath()),goog.loadedModules_[e]={exports:t,type:goog.ModuleType.ES6,moduleId:e}}},goog.setTestOnly=function(e){if(goog.DISALLOW_TEST_ONLY_CODE)throw e=e||"",Error("Importing test-only code into non-debug environment"+(e?": "+e:"."))},goog.forwardDeclare=function(e){},goog.getObjectByName=function(e,t){e=e.split("."),t=t||goog.global;for(var n=0;n<e.length;n++)if(null==(t=t[e[n]]))return null;return t},goog.addDependency=function(e,t,n,r){},goog.ENABLE_DEBUG_LOADER=!0,goog.logToConsole_=function(e){goog.global.console&&goog.global.console.error(e)},goog.require=function(e){},goog.requireType=function(e){return{}},goog.basePath="",goog.nullFunction=function(){},goog.abstractMethod=function(){throw Error("unimplemented abstract method")},goog.addSingletonGetter=function(e){e.instance_=void 0,e.getInstance=function(){return e.instance_?e.instance_:(goog.DEBUG&&(goog.instantiatedSingletons_[goog.instantiatedSingletons_.length]=e),e.instance_=new e)}},goog.instantiatedSingletons_=[],goog.LOAD_MODULE_USING_EVAL=!0,goog.SEAL_MODULE_EXPORTS=goog.DEBUG,goog.loadedModules_={},goog.DEPENDENCIES_ENABLED=!COMPILED,goog.TRANSPILE="detect",goog.ASSUME_ES_MODULES_TRANSPILED=!1,goog.TRANSPILE_TO_LANGUAGE="",goog.TRANSPILER="transpile.js",goog.hasBadLetScoping=null,goog.useSafari10Workaround=function(){if(null==goog.hasBadLetScoping){try{var a=!eval('"use strict";let x = 1; function f() { return typeof x; };f() == "number";')}catch(b){a=!1}goog.hasBadLetScoping=a}return goog.hasBadLetScoping},goog.workaroundSafari10EvalBug=function(e){return"(function(){"+e+"\n;})();\n"},goog.loadModule=function(e){var t=goog.moduleLoaderState_;try{goog.moduleLoaderState_={moduleName:"",declareLegacyNamespace:!1,type:goog.ModuleType.GOOG};var n={},r=n;if("function"===typeof e)r=e.call(void 0,r);else{if("string"!==typeof e)throw Error("Invalid module definition");goog.useSafari10Workaround()&&(e=goog.workaroundSafari10EvalBug(e)),r=goog.loadModuleFromSource_.call(void 0,r,e)}var o=goog.moduleLoaderState_.moduleName;if("string"!==typeof o||!o)throw Error('Invalid module name "'+o+'"');goog.moduleLoaderState_.declareLegacyNamespace?goog.constructNamespace_(o,r,n!==r):goog.SEAL_MODULE_EXPORTS&&Object.seal&&"object"==typeof r&&null!=r&&Object.seal(r),goog.loadedModules_[o]={exports:r,type:goog.ModuleType.GOOG,moduleId:goog.moduleLoaderState_.moduleName}}finally{goog.moduleLoaderState_=t}},goog.loadModuleFromSource_=function(a,b){return eval(b),a},goog.normalizePath_=function(e){e=e.split("/");for(var t=0;t<e.length;)"."==e[t]?e.splice(t,1):t&&".."==e[t]&&e[t-1]&&".."!=e[t-1]?e.splice(--t,2):t++;return e.join("/")},goog.loadFileSync_=function(e){if(goog.global.CLOSURE_LOAD_FILE_SYNC)return goog.global.CLOSURE_LOAD_FILE_SYNC(e);try{var t=new goog.global.XMLHttpRequest;return t.open("get",e,!1),t.send(),0==t.status||200==t.status?t.responseText:null}catch(n){return null}},goog.transpile_=function(e,t,n){var r=goog.global.$jscomp;r||(goog.global.$jscomp=r={});var o=r.transpile;if(!o){var i=goog.basePath+goog.TRANSPILER,a=goog.loadFileSync_(i);if(a){if(function(){(0,eval)(a+"\n//# sourceURL="+i)}.call(goog.global),goog.global.$gwtExport&&goog.global.$gwtExport.$jscomp&&!goog.global.$gwtExport.$jscomp.transpile)throw Error('The transpiler did not properly export the "transpile" method. $gwtExport: '+JSON.stringify(goog.global.$gwtExport));goog.global.$jscomp.transpile=goog.global.$gwtExport.$jscomp.transpile,o=(r=goog.global.$jscomp).transpile}}return o||(o=r.transpile=function(e,t){return goog.logToConsole_(t+" requires transpilation but no transpiler was found."),e}),o(e,t,n)},goog.typeOf=function(e){var t=typeof e;return"object"!=t?t:e?Array.isArray(e)?"array":t:"null"},goog.isArrayLike=function(e){var t=goog.typeOf(e);return"array"==t||"object"==t&&"number"==typeof e.length},goog.isDateLike=function(e){return goog.isObject(e)&&"function"==typeof e.getFullYear},goog.isObject=function(e){var t=typeof e;return"object"==t&&null!=e||"function"==t},goog.getUid=function(e){return Object.prototype.hasOwnProperty.call(e,goog.UID_PROPERTY_)&&e[goog.UID_PROPERTY_]||(e[goog.UID_PROPERTY_]=++goog.uidCounter_)},goog.hasUid=function(e){return!!e[goog.UID_PROPERTY_]},goog.removeUid=function(e){null!==e&&"removeAttribute"in e&&e.removeAttribute(goog.UID_PROPERTY_);try{delete e[goog.UID_PROPERTY_]}catch(t){}},goog.UID_PROPERTY_="closure_uid_"+(1e9*Math.random()>>>0),goog.uidCounter_=0,goog.cloneObject=function(e){var t=goog.typeOf(e);if("object"==t||"array"==t){if("function"===typeof e.clone)return e.clone();for(var n in t="array"==t?[]:{},e)t[n]=goog.cloneObject(e[n]);return t}return e},goog.bindNative_=function(e,t,n){return e.call.apply(e.bind,arguments)},goog.bindJs_=function(e,t,n){if(!e)throw Error();if(2<arguments.length){var r=Array.prototype.slice.call(arguments,2);return function(){var n=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(n,r),e.apply(t,n)}}return function(){return e.apply(t,arguments)}},goog.bind=function(e,t,n){return Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?goog.bind=goog.bindNative_:goog.bind=goog.bindJs_,goog.bind.apply(null,arguments)},goog.partial=function(e,t){var n=Array.prototype.slice.call(arguments,1);return function(){var t=n.slice();return t.push.apply(t,arguments),e.apply(this,t)}},goog.mixin=function(e,t){for(var n in t)e[n]=t[n]},goog.now=function(){return Date.now()},goog.globalEval=function(e){(0,eval)(e)},goog.getCssName=function(e,t){if("."==String(e).charAt(0))throw Error('className passed in goog.getCssName must not start with ".". You passed: '+e);var n=function(e){return goog.cssNameMapping_[e]||e},r=function(e){e=e.split("-");for(var t=[],r=0;r<e.length;r++)t.push(n(e[r]));return t.join("-")};return r=goog.cssNameMapping_?"BY_WHOLE"==goog.cssNameMappingStyle_?n:r:function(e){return e},e=t?e+"-"+r(t):r(e),goog.global.CLOSURE_CSS_NAME_MAP_FN?goog.global.CLOSURE_CSS_NAME_MAP_FN(e):e},goog.setCssNameMapping=function(e,t){goog.cssNameMapping_=e,goog.cssNameMappingStyle_=t},goog.getMsg=function(e,t,n){return n&&n.html&&(e=e.replace(/</g,"&lt;")),n&&n.unescapeHtmlEntities&&(e=e.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&apos;/g,"'").replace(/&quot;/g,'"').replace(/&amp;/g,"&")),t&&(e=e.replace(/\{\$([^}]+)}/g,(function(e,n){return null!=t&&n in t?t[n]:e}))),e},goog.getMsgWithFallback=function(e,t){return e},goog.exportSymbol=function(e,t,n){goog.exportPath_(e,t,!0,n)},goog.exportProperty=function(e,t,n){e[t]=n},goog.inherits=function(e,t){function n(){}n.prototype=t.prototype,e.superClass_=t.prototype,e.prototype=new n,e.prototype.constructor=e,e.base=function(e,n,r){for(var o=Array(arguments.length-2),i=2;i<arguments.length;i++)o[i-2]=arguments[i];return t.prototype[n].apply(e,o)}},goog.scope=function(e){if(goog.isInModuleLoader_())throw Error("goog.scope is not supported within a module.");e.call(goog.global)},goog.defineClass=function(e,t){var n=t.constructor,r=t.statics;return n&&n!=Object.prototype.constructor||(n=function(){throw Error("cannot instantiate an interface (no constructor defined).")}),n=goog.defineClass.createSealingConstructor_(n,e),e&&goog.inherits(n,e),delete t.constructor,delete t.statics,goog.defineClass.applyProperties_(n.prototype,t),null!=r&&(r instanceof Function?r(n):goog.defineClass.applyProperties_(n,r)),n},goog.defineClass.SEAL_CLASS_INSTANCES=goog.DEBUG,goog.defineClass.createSealingConstructor_=function(e,t){return goog.defineClass.SEAL_CLASS_INSTANCES?function(){var t=e.apply(this,arguments)||this;return t[goog.UID_PROPERTY_]=t[goog.UID_PROPERTY_],t}:e},goog.defineClass.OBJECT_PROTOTYPE_FIELDS_="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),goog.defineClass.applyProperties_=function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);for(var r=0;r<goog.defineClass.OBJECT_PROTOTYPE_FIELDS_.length;r++)n=goog.defineClass.OBJECT_PROTOTYPE_FIELDS_[r],Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},goog.TRUSTED_TYPES_POLICY_NAME="goog",goog.identity_=function(e){return e},goog.createTrustedTypesPolicy=function(e){var t=null,n=goog.global.trustedTypes;if(!n||!n.createPolicy)return t;try{t=n.createPolicy(e,{createHTML:goog.identity_,createScript:goog.identity_,createScriptURL:goog.identity_})}catch(r){goog.logToConsole_(r.message)}return t},goog.debug={},goog.inherits(module$contents$goog$debug$Error_DebugError,Error),module$contents$goog$debug$Error_DebugError.prototype.name="CustomError",goog.debug.Error=module$contents$goog$debug$Error_DebugError,goog.dom={},goog.dom.NodeType={ELEMENT:1,ATTRIBUTE:2,TEXT:3,CDATA_SECTION:4,ENTITY_REFERENCE:5,ENTITY:6,PROCESSING_INSTRUCTION:7,COMMENT:8,DOCUMENT:9,DOCUMENT_TYPE:10,DOCUMENT_FRAGMENT:11,NOTATION:12},goog.asserts={},goog.asserts.ENABLE_ASSERTS=goog.DEBUG,goog.asserts.AssertionError=function(e,t){module$contents$goog$debug$Error_DebugError.call(this,goog.asserts.subs_(e,t)),this.messagePattern=e},goog.inherits(goog.asserts.AssertionError,module$contents$goog$debug$Error_DebugError),goog.asserts.AssertionError.prototype.name="AssertionError",goog.asserts.DEFAULT_ERROR_HANDLER=function(e){throw e},goog.asserts.errorHandler_=goog.asserts.DEFAULT_ERROR_HANDLER,goog.asserts.subs_=function(e,t){for(var n="",r=(e=e.split("%s")).length-1,o=0;o<r;o++)n+=e[o]+(o<t.length?t[o]:"%s");return n+e[r]},goog.asserts.doAssertFailure_=function(e,t,n,r){var o="Assertion failed";if(n){o+=": "+n;var i=r}else e&&(o+=": "+e,i=t);e=new goog.asserts.AssertionError(""+o,i||[]),goog.asserts.errorHandler_(e)},goog.asserts.setErrorHandler=function(e){goog.asserts.ENABLE_ASSERTS&&(goog.asserts.errorHandler_=e)},goog.asserts.assert=function(e,t,n){return goog.asserts.ENABLE_ASSERTS&&!e&&goog.asserts.doAssertFailure_("",null,t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertExists=function(e,t,n){return goog.asserts.ENABLE_ASSERTS&&null==e&&goog.asserts.doAssertFailure_("Expected to exist: %s.",[e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.fail=function(e,t){goog.asserts.ENABLE_ASSERTS&&goog.asserts.errorHandler_(new goog.asserts.AssertionError("Failure"+(e?": "+e:""),Array.prototype.slice.call(arguments,1)))},goog.asserts.assertNumber=function(e,t,n){return goog.asserts.ENABLE_ASSERTS&&"number"!==typeof e&&goog.asserts.doAssertFailure_("Expected number but got %s: %s.",[goog.typeOf(e),e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertString=function(e,t,n){return goog.asserts.ENABLE_ASSERTS&&"string"!==typeof e&&goog.asserts.doAssertFailure_("Expected string but got %s: %s.",[goog.typeOf(e),e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertFunction=function(e,t,n){return goog.asserts.ENABLE_ASSERTS&&"function"!==typeof e&&goog.asserts.doAssertFailure_("Expected function but got %s: %s.",[goog.typeOf(e),e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertObject=function(e,t,n){return goog.asserts.ENABLE_ASSERTS&&!goog.isObject(e)&&goog.asserts.doAssertFailure_("Expected object but got %s: %s.",[goog.typeOf(e),e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertArray=function(e,t,n){return goog.asserts.ENABLE_ASSERTS&&!Array.isArray(e)&&goog.asserts.doAssertFailure_("Expected array but got %s: %s.",[goog.typeOf(e),e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertBoolean=function(e,t,n){return goog.asserts.ENABLE_ASSERTS&&"boolean"!==typeof e&&goog.asserts.doAssertFailure_("Expected boolean but got %s: %s.",[goog.typeOf(e),e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertElement=function(e,t,n){return!goog.asserts.ENABLE_ASSERTS||goog.isObject(e)&&e.nodeType==goog.dom.NodeType.ELEMENT||goog.asserts.doAssertFailure_("Expected Element but got %s: %s.",[goog.typeOf(e),e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertInstanceof=function(e,t,n,r){return!goog.asserts.ENABLE_ASSERTS||e instanceof t||goog.asserts.doAssertFailure_("Expected instanceof %s but got %s.",[goog.asserts.getType_(t),goog.asserts.getType_(e)],n,Array.prototype.slice.call(arguments,3)),e},goog.asserts.assertFinite=function(e,t,n){return!goog.asserts.ENABLE_ASSERTS||"number"==typeof e&&isFinite(e)||goog.asserts.doAssertFailure_("Expected %s to be a finite number but it is not.",[e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertObjectPrototypeIsIntact=function(){for(var e in Object.prototype)goog.asserts.fail(e+" should not be enumerable in Object.prototype.")},goog.asserts.getType_=function(e){return e instanceof Function?e.displayName||e.name||"unknown type name":e instanceof Object?e.constructor.displayName||e.constructor.name||Object.prototype.toString.call(e):null===e?"null":typeof e},goog.array={},goog.NATIVE_ARRAY_PROTOTYPES=goog.TRUSTED_SITE;var module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS=2012<goog.FEATURESET_YEAR;function module$contents$goog$array_peek(e){return e[e.length-1]}goog.array.ASSUME_NATIVE_FUNCTIONS=module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS,goog.array.peek=module$contents$goog$array_peek,goog.array.last=module$contents$goog$array_peek;var module$contents$goog$array_indexOf=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.indexOf)?function(e,t,n){return goog.asserts.assert(null!=e.length),Array.prototype.indexOf.call(e,t,n)}:function(e,t,n){if(n=null==n?0:0>n?Math.max(0,e.length+n):n,"string"===typeof e)return"string"!==typeof t||1!=t.length?-1:e.indexOf(t,n);for(;n<e.length;n++)if(n in e&&e[n]===t)return n;return-1};goog.array.indexOf=module$contents$goog$array_indexOf;var module$contents$goog$array_lastIndexOf=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.lastIndexOf)?function(e,t,n){return goog.asserts.assert(null!=e.length),Array.prototype.lastIndexOf.call(e,t,null==n?e.length-1:n)}:function(e,t,n){if(0>(n=null==n?e.length-1:n)&&(n=Math.max(0,e.length+n)),"string"===typeof e)return"string"!==typeof t||1!=t.length?-1:e.lastIndexOf(t,n);for(;0<=n;n--)if(n in e&&e[n]===t)return n;return-1};goog.array.lastIndexOf=module$contents$goog$array_lastIndexOf;var module$contents$goog$array_forEach=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.forEach)?function(e,t,n){goog.asserts.assert(null!=e.length),Array.prototype.forEach.call(e,t,n)}:function(e,t,n){for(var r=e.length,o="string"===typeof e?e.split(""):e,i=0;i<r;i++)i in o&&t.call(n,o[i],i,e)};function module$contents$goog$array_forEachRight(e,t,n){var r=e.length,o="string"===typeof e?e.split(""):e;for(--r;0<=r;--r)r in o&&t.call(n,o[r],r,e)}goog.array.forEach=module$contents$goog$array_forEach,goog.array.forEachRight=module$contents$goog$array_forEachRight;var module$contents$goog$array_filter=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.filter)?function(e,t,n){return goog.asserts.assert(null!=e.length),Array.prototype.filter.call(e,t,n)}:function(e,t,n){for(var r=e.length,o=[],i=0,a="string"===typeof e?e.split(""):e,s=0;s<r;s++)if(s in a){var l=a[s];t.call(n,l,s,e)&&(o[i++]=l)}return o};goog.array.filter=module$contents$goog$array_filter;var module$contents$goog$array_map=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.map)?function(e,t,n){return goog.asserts.assert(null!=e.length),Array.prototype.map.call(e,t,n)}:function(e,t,n){for(var r=e.length,o=Array(r),i="string"===typeof e?e.split(""):e,a=0;a<r;a++)a in i&&(o[a]=t.call(n,i[a],a,e));return o};goog.array.map=module$contents$goog$array_map;var module$contents$goog$array_reduce=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.reduce)?function(e,t,n,r){return goog.asserts.assert(null!=e.length),r&&(t=goog.bind(t,r)),Array.prototype.reduce.call(e,t,n)}:function(e,t,n,r){var o=n;return module$contents$goog$array_forEach(e,(function(n,i){o=t.call(r,o,n,i,e)})),o};goog.array.reduce=module$contents$goog$array_reduce;var module$contents$goog$array_reduceRight=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.reduceRight)?function(e,t,n,r){return goog.asserts.assert(null!=e.length),goog.asserts.assert(null!=t),r&&(t=goog.bind(t,r)),Array.prototype.reduceRight.call(e,t,n)}:function(e,t,n,r){var o=n;return module$contents$goog$array_forEachRight(e,(function(n,i){o=t.call(r,o,n,i,e)})),o};goog.array.reduceRight=module$contents$goog$array_reduceRight;var module$contents$goog$array_some=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.some)?function(e,t,n){return goog.asserts.assert(null!=e.length),Array.prototype.some.call(e,t,n)}:function(e,t,n){for(var r=e.length,o="string"===typeof e?e.split(""):e,i=0;i<r;i++)if(i in o&&t.call(n,o[i],i,e))return!0;return!1};goog.array.some=module$contents$goog$array_some;var module$contents$goog$array_every=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.every)?function(e,t,n){return goog.asserts.assert(null!=e.length),Array.prototype.every.call(e,t,n)}:function(e,t,n){for(var r=e.length,o="string"===typeof e?e.split(""):e,i=0;i<r;i++)if(i in o&&!t.call(n,o[i],i,e))return!1;return!0};function module$contents$goog$array_count(e,t,n){var r=0;return module$contents$goog$array_forEach(e,(function(e,o,i){t.call(n,e,o,i)&&++r}),n),r}function module$contents$goog$array_find(e,t,n){return 0>(t=module$contents$goog$array_findIndex(e,t,n))?null:"string"===typeof e?e.charAt(t):e[t]}function module$contents$goog$array_findIndex(e,t,n){for(var r=e.length,o="string"===typeof e?e.split(""):e,i=0;i<r;i++)if(i in o&&t.call(n,o[i],i,e))return i;return-1}function module$contents$goog$array_findRight(e,t,n){return 0>(t=module$contents$goog$array_findIndexRight(e,t,n))?null:"string"===typeof e?e.charAt(t):e[t]}function module$contents$goog$array_findIndexRight(e,t,n){var r=e.length,o="string"===typeof e?e.split(""):e;for(--r;0<=r;r--)if(r in o&&t.call(n,o[r],r,e))return r;return-1}function module$contents$goog$array_contains(e,t){return 0<=module$contents$goog$array_indexOf(e,t)}function module$contents$goog$array_isEmpty(e){return 0==e.length}function module$contents$goog$array_clear(e){if(!Array.isArray(e))for(var t=e.length-1;0<=t;t--)delete e[t];e.length=0}function module$contents$goog$array_insert(e,t){module$contents$goog$array_contains(e,t)||e.push(t)}function module$contents$goog$array_insertAt(e,t,n){module$contents$goog$array_splice(e,n,0,t)}function module$contents$goog$array_insertArrayAt(e,t,n){goog.partial(module$contents$goog$array_splice,e,n,0).apply(null,t)}function module$contents$goog$array_insertBefore(e,t,n){var r;2==arguments.length||0>(r=module$contents$goog$array_indexOf(e,n))?e.push(t):module$contents$goog$array_insertAt(e,t,r)}function module$contents$goog$array_remove(e,t){var n;return(n=0<=(t=module$contents$goog$array_indexOf(e,t)))&&module$contents$goog$array_removeAt(e,t),n}function module$contents$goog$array_removeLast(e,t){return 0<=(t=module$contents$goog$array_lastIndexOf(e,t))&&(module$contents$goog$array_removeAt(e,t),!0)}function module$contents$goog$array_removeAt(e,t){return goog.asserts.assert(null!=e.length),1==Array.prototype.splice.call(e,t,1).length}function module$contents$goog$array_removeIf(e,t,n){return 0<=(t=module$contents$goog$array_findIndex(e,t,n))&&(module$contents$goog$array_removeAt(e,t),!0)}function module$contents$goog$array_removeAllIf(e,t,n){var r=0;return module$contents$goog$array_forEachRight(e,(function(o,i){t.call(n,o,i,e)&&module$contents$goog$array_removeAt(e,i)&&r++})),r}function module$contents$goog$array_concat(e){return Array.prototype.concat.apply([],arguments)}function module$contents$goog$array_join(e){return Array.prototype.concat.apply([],arguments)}function module$contents$goog$array_toArray(e){var t=e.length;if(0<t){for(var n=Array(t),r=0;r<t;r++)n[r]=e[r];return n}return[]}goog.array.every=module$contents$goog$array_every,goog.array.count=module$contents$goog$array_count,goog.array.find=module$contents$goog$array_find,goog.array.findIndex=module$contents$goog$array_findIndex,goog.array.findRight=module$contents$goog$array_findRight,goog.array.findIndexRight=module$contents$goog$array_findIndexRight,goog.array.contains=module$contents$goog$array_contains,goog.array.isEmpty=module$contents$goog$array_isEmpty,goog.array.clear=module$contents$goog$array_clear,goog.array.insert=module$contents$goog$array_insert,goog.array.insertAt=module$contents$goog$array_insertAt,goog.array.insertArrayAt=module$contents$goog$array_insertArrayAt,goog.array.insertBefore=module$contents$goog$array_insertBefore,goog.array.remove=module$contents$goog$array_remove,goog.array.removeLast=module$contents$goog$array_removeLast,goog.array.removeAt=module$contents$goog$array_removeAt,goog.array.removeIf=module$contents$goog$array_removeIf,goog.array.removeAllIf=module$contents$goog$array_removeAllIf,goog.array.concat=module$contents$goog$array_concat,goog.array.join=module$contents$goog$array_join;var module$contents$goog$array_clone=goog.array.toArray=module$contents$goog$array_toArray;function module$contents$goog$array_extend(e,t){for(var n=1;n<arguments.length;n++){var r=arguments[n];if(goog.isArrayLike(r)){var o=e.length||0,i=r.length||0;e.length=o+i;for(var a=0;a<i;a++)e[o+a]=r[a]}else e.push(r)}}function module$contents$goog$array_splice(e,t,n,r){return goog.asserts.assert(null!=e.length),Array.prototype.splice.apply(e,module$contents$goog$array_slice(arguments,1))}function module$contents$goog$array_slice(e,t,n){return goog.asserts.assert(null!=e.length),2>=arguments.length?Array.prototype.slice.call(e,t):Array.prototype.slice.call(e,t,n)}function module$contents$goog$array_removeDuplicates(e,t,n){t=t||e;var r=function(e){return goog.isObject(e)?"o"+goog.getUid(e):(typeof e).charAt(0)+e};n=n||r,r={};for(var o=0,i=0;i<e.length;){var a=e[i++],s=n(a);Object.prototype.hasOwnProperty.call(r,s)||(r[s]=!0,t[o++]=a)}t.length=o}function module$contents$goog$array_binarySearch(e,t,n){return module$contents$goog$array_binarySearch_(e,n||module$contents$goog$array_defaultCompare,!1,t)}function module$contents$goog$array_binarySelect(e,t,n){return module$contents$goog$array_binarySearch_(e,t,!0,void 0,n)}function module$contents$goog$array_binarySearch_(e,t,n,r,o){for(var i,a=0,s=e.length;a<s;){var l=a+(s-a>>>1),c=n?t.call(o,e[l],l,e):t(r,e[l]);0<c?a=l+1:(s=l,i=!c)}return i?a:-a-1}function module$contents$goog$array_sort(e,t){e.sort(t||module$contents$goog$array_defaultCompare)}function module$contents$goog$array_stableSort(e,t){for(var n=Array(e.length),r=0;r<e.length;r++)n[r]={index:r,value:e[r]};var o=t||module$contents$goog$array_defaultCompare;for(module$contents$goog$array_sort(n,(function(e,t){return o(e.value,t.value)||e.index-t.index})),r=0;r<e.length;r++)e[r]=n[r].value}function module$contents$goog$array_sortByKey(e,t,n){var r=n||module$contents$goog$array_defaultCompare;module$contents$goog$array_sort(e,(function(e,n){return r(t(e),t(n))}))}function module$contents$goog$array_sortObjectsByKey(e,t,n){module$contents$goog$array_sortByKey(e,(function(e){return e[t]}),n)}function module$contents$goog$array_isSorted(e,t,n){t=t||module$contents$goog$array_defaultCompare;for(var r=1;r<e.length;r++){var o=t(e[r-1],e[r]);if(0<o||0==o&&n)return!1}return!0}function module$contents$goog$array_equals(e,t,n){if(!goog.isArrayLike(e)||!goog.isArrayLike(t)||e.length!=t.length)return!1;var r=e.length;n=n||module$contents$goog$array_defaultCompareEquality;for(var o=0;o<r;o++)if(!n(e[o],t[o]))return!1;return!0}function module$contents$goog$array_compare3(e,t,n){n=n||module$contents$goog$array_defaultCompare;for(var r=Math.min(e.length,t.length),o=0;o<r;o++){var i=n(e[o],t[o]);if(0!=i)return i}return module$contents$goog$array_defaultCompare(e.length,t.length)}function module$contents$goog$array_defaultCompare(e,t){return e>t?1:e<t?-1:0}function module$contents$goog$array_inverseDefaultCompare(e,t){return-module$contents$goog$array_defaultCompare(e,t)}function module$contents$goog$array_defaultCompareEquality(e,t){return e===t}function module$contents$goog$array_binaryInsert(e,t,n){return 0>(n=module$contents$goog$array_binarySearch(e,t,n))&&(module$contents$goog$array_insertAt(e,t,-(n+1)),!0)}function module$contents$goog$array_binaryRemove(e,t,n){return 0<=(t=module$contents$goog$array_binarySearch(e,t,n))&&module$contents$goog$array_removeAt(e,t)}function module$contents$goog$array_bucket(e,t,n){for(var r={},o=0;o<e.length;o++){var i=e[o],a=t.call(n,i,o,e);void 0!==a&&(r[a]||(r[a]=[])).push(i)}return r}function module$contents$goog$array_toObject(e,t,n){var r={};return module$contents$goog$array_forEach(e,(function(o,i){r[t.call(n,o,i,e)]=o})),r}function module$contents$goog$array_range(e,t,n){var r=[],o=0,i=e;if(void 0!==t&&(o=e,i=t),0>(n=n||1)*(i-o))return[];if(0<n)for(e=o;e<i;e+=n)r.push(e);else for(e=o;e>i;e+=n)r.push(e);return r}function module$contents$goog$array_repeat(e,t){for(var n=[],r=0;r<t;r++)n[r]=e;return n}function module$contents$goog$array_flatten(e){for(var t=[],n=0;n<arguments.length;n++){var r=arguments[n];if(Array.isArray(r))for(var o=0;o<r.length;o+=8192){var i=module$contents$goog$array_slice(r,o,o+8192);i=module$contents$goog$array_flatten.apply(null,i);for(var a=0;a<i.length;a++)t.push(i[a])}else t.push(r)}return t}function module$contents$goog$array_rotate(e,t){return goog.asserts.assert(null!=e.length),e.length&&(0<(t%=e.length)?Array.prototype.unshift.apply(e,e.splice(-t,t)):0>t&&Array.prototype.push.apply(e,e.splice(0,-t))),e}function module$contents$goog$array_moveItem(e,t,n){goog.asserts.assert(0<=t&&t<e.length),goog.asserts.assert(0<=n&&n<e.length),t=Array.prototype.splice.call(e,t,1),Array.prototype.splice.call(e,n,0,t[0])}function module$contents$goog$array_zip(e){if(!arguments.length)return[];for(var t=[],n=arguments[0].length,r=1;r<arguments.length;r++)arguments[r].length<n&&(n=arguments[r].length);for(r=0;r<n;r++){for(var o=[],i=0;i<arguments.length;i++)o.push(arguments[i][r]);t.push(o)}return t}function module$contents$goog$array_shuffle(e,t){t=t||Math.random;for(var n=e.length-1;0<n;n--){var r=Math.floor(t()*(n+1)),o=e[n];e[n]=e[r],e[r]=o}}function module$contents$goog$array_copyByIndex(e,t){var n=[];return module$contents$goog$array_forEach(t,(function(t){n.push(e[t])})),n}function module$contents$goog$array_concatMap(e,t,n){return module$contents$goog$array_concat.apply([],module$contents$goog$array_map(e,t,n))}goog.array.clone=module$contents$goog$array_clone,goog.array.extend=module$contents$goog$array_extend,goog.array.splice=module$contents$goog$array_splice,goog.array.slice=module$contents$goog$array_slice,goog.array.removeDuplicates=module$contents$goog$array_removeDuplicates,goog.array.binarySearch=module$contents$goog$array_binarySearch,goog.array.binarySelect=module$contents$goog$array_binarySelect,goog.array.sort=module$contents$goog$array_sort,goog.array.stableSort=module$contents$goog$array_stableSort,goog.array.sortByKey=module$contents$goog$array_sortByKey,goog.array.sortObjectsByKey=module$contents$goog$array_sortObjectsByKey,goog.array.isSorted=module$contents$goog$array_isSorted,goog.array.equals=module$contents$goog$array_equals,goog.array.compare3=module$contents$goog$array_compare3,goog.array.defaultCompare=module$contents$goog$array_defaultCompare,goog.array.inverseDefaultCompare=module$contents$goog$array_inverseDefaultCompare,goog.array.defaultCompareEquality=module$contents$goog$array_defaultCompareEquality,goog.array.binaryInsert=module$contents$goog$array_binaryInsert,goog.array.binaryRemove=module$contents$goog$array_binaryRemove,goog.array.bucket=module$contents$goog$array_bucket,goog.array.toObject=module$contents$goog$array_toObject,goog.array.range=module$contents$goog$array_range,goog.array.repeat=module$contents$goog$array_repeat,goog.array.flatten=module$contents$goog$array_flatten,goog.array.rotate=module$contents$goog$array_rotate,goog.array.moveItem=module$contents$goog$array_moveItem,goog.array.zip=module$contents$goog$array_zip,goog.array.shuffle=module$contents$goog$array_shuffle,goog.array.copyByIndex=module$contents$goog$array_copyByIndex,goog.array.concatMap=module$contents$goog$array_concatMap,goog.dom.asserts={},goog.dom.asserts.assertIsLocation=function(e){if(goog.asserts.ENABLE_ASSERTS){var t=goog.dom.asserts.getWindow_(e);t&&(!e||!(e instanceof t.Location)&&e instanceof t.Element)&&goog.asserts.fail("Argument is not a Location (or a non-Element mock); got: %s",goog.dom.asserts.debugStringForType_(e))}return e},goog.dom.asserts.assertIsElementType_=function(e,t){if(goog.asserts.ENABLE_ASSERTS){var n=goog.dom.asserts.getWindow_(e);n&&"undefined"!=typeof n[t]&&(e&&(e instanceof n[t]||!(e instanceof n.Location||e instanceof n.Element))||goog.asserts.fail("Argument is not a %s (or a non-Element, non-Location mock); got: %s",t,goog.dom.asserts.debugStringForType_(e)))}return e},goog.dom.asserts.assertIsHTMLAnchorElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLAnchorElement")},goog.dom.asserts.assertIsHTMLButtonElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLButtonElement")},goog.dom.asserts.assertIsHTMLLinkElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLLinkElement")},goog.dom.asserts.assertIsHTMLImageElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLImageElement")},goog.dom.asserts.assertIsHTMLAudioElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLAudioElement")},goog.dom.asserts.assertIsHTMLVideoElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLVideoElement")},goog.dom.asserts.assertIsHTMLInputElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLInputElement")},goog.dom.asserts.assertIsHTMLTextAreaElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLTextAreaElement")},goog.dom.asserts.assertIsHTMLCanvasElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLCanvasElement")},goog.dom.asserts.assertIsHTMLEmbedElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLEmbedElement")},goog.dom.asserts.assertIsHTMLFormElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLFormElement")},goog.dom.asserts.assertIsHTMLFrameElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLFrameElement")},goog.dom.asserts.assertIsHTMLIFrameElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLIFrameElement")},goog.dom.asserts.assertIsHTMLObjectElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLObjectElement")},goog.dom.asserts.assertIsHTMLScriptElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLScriptElement")},goog.dom.asserts.debugStringForType_=function(e){if(!goog.isObject(e))return void 0===e?"undefined":null===e?"null":typeof e;try{return e.constructor.displayName||e.constructor.name||Object.prototype.toString.call(e)}catch(t){return"<object could not be stringified>"}},goog.dom.asserts.getWindow_=function(e){try{var t=e&&e.ownerDocument,n=t&&(t.defaultView||t.parentWindow);if((n=n||goog.global).Element&&n.Location)return n}catch(r){}return null},goog.dom.HtmlElement=function(){},goog.functions={},goog.functions.constant=function(e){return function(){return e}},goog.functions.FALSE=function(){return!1},goog.functions.TRUE=function(){return!0},goog.functions.NULL=function(){return null},goog.functions.identity=function(e,t){return e},goog.functions.error=function(e){return function(){throw Error(e)}},goog.functions.fail=function(e){return function(){throw e}},goog.functions.lock=function(e,t){return t=t||0,function(){return e.apply(this,Array.prototype.slice.call(arguments,0,t))}},goog.functions.nth=function(e){return function(){return arguments[e]}},goog.functions.partialRight=function(e,t){var n=Array.prototype.slice.call(arguments,1);return function(){var t=this;t===goog.global&&(t=void 0);var r=Array.prototype.slice.call(arguments);return r.push.apply(r,n),e.apply(t,r)}},goog.functions.withReturnValue=function(e,t){return goog.functions.sequence(e,goog.functions.constant(t))},goog.functions.equalTo=function(e,t){return function(n){return t?e==n:e===n}},goog.functions.compose=function(e,t){var n=arguments,r=n.length;return function(){var e;r&&(e=n[r-1].apply(this,arguments));for(var t=r-2;0<=t;t--)e=n[t].call(this,e);return e}},goog.functions.sequence=function(e){var t=arguments,n=t.length;return function(){for(var e,r=0;r<n;r++)e=t[r].apply(this,arguments);return e}},goog.functions.and=function(e){var t=arguments,n=t.length;return function(){for(var e=0;e<n;e++)if(!t[e].apply(this,arguments))return!1;return!0}},goog.functions.or=function(e){var t=arguments,n=t.length;return function(){for(var e=0;e<n;e++)if(t[e].apply(this,arguments))return!0;return!1}},goog.functions.not=function(e){return function(){return!e.apply(this,arguments)}},goog.functions.create=function(e,t){var n=function(){};return n.prototype=e.prototype,n=new n,e.apply(n,Array.prototype.slice.call(arguments,1)),n},goog.functions.CACHE_RETURN_VALUE=!0,goog.functions.cacheReturnValue=function(e){var t,n=!1;return function(){return goog.functions.CACHE_RETURN_VALUE?(n||(t=e(),n=!0),t):e()}},goog.functions.once=function(e){var t=e;return function(){if(t){var e=t;t=null,e()}}},goog.functions.debounce=function(e,t,n){var r=0;return function(o){goog.global.clearTimeout(r);var i=arguments;r=goog.global.setTimeout((function(){e.apply(n,i)}),t)}},goog.functions.throttle=function(e,t,n){var r=0,o=!1,i=[],a=function(){r=0,o&&(o=!1,s())},s=function(){r=goog.global.setTimeout(a,t),e.apply(n,i)};return function(e){i=arguments,r?o=!0:s()}},goog.functions.rateLimit=function(e,t,n){var r=0,o=function(){r=0};return function(i){r||(r=goog.global.setTimeout(o,t),e.apply(n,arguments))}},goog.functions.isFunction=function(e){return"function"===typeof e},goog.dom.TagName=function(){},goog.dom.TagName.cast=function(e,t){return e},goog.dom.TagName.prototype.toString=function(){},goog.dom.TagName.A="A",goog.dom.TagName.ABBR="ABBR",goog.dom.TagName.ACRONYM="ACRONYM",goog.dom.TagName.ADDRESS="ADDRESS",goog.dom.TagName.APPLET="APPLET",goog.dom.TagName.AREA="AREA",goog.dom.TagName.ARTICLE="ARTICLE",goog.dom.TagName.ASIDE="ASIDE",goog.dom.TagName.AUDIO="AUDIO",goog.dom.TagName.B="B",goog.dom.TagName.BASE="BASE",goog.dom.TagName.BASEFONT="BASEFONT",goog.dom.TagName.BDI="BDI",goog.dom.TagName.BDO="BDO",goog.dom.TagName.BIG="BIG",goog.dom.TagName.BLOCKQUOTE="BLOCKQUOTE",goog.dom.TagName.BODY="BODY",goog.dom.TagName.BR="BR",goog.dom.TagName.BUTTON="BUTTON",goog.dom.TagName.CANVAS="CANVAS",goog.dom.TagName.CAPTION="CAPTION",goog.dom.TagName.CENTER="CENTER",goog.dom.TagName.CITE="CITE",goog.dom.TagName.CODE="CODE",goog.dom.TagName.COL="COL",goog.dom.TagName.COLGROUP="COLGROUP",goog.dom.TagName.COMMAND="COMMAND",goog.dom.TagName.DATA="DATA",goog.dom.TagName.DATALIST="DATALIST",goog.dom.TagName.DD="DD",goog.dom.TagName.DEL="DEL",goog.dom.TagName.DETAILS="DETAILS",goog.dom.TagName.DFN="DFN",goog.dom.TagName.DIALOG="DIALOG",goog.dom.TagName.DIR="DIR",goog.dom.TagName.DIV="DIV",goog.dom.TagName.DL="DL",goog.dom.TagName.DT="DT",goog.dom.TagName.EM="EM",goog.dom.TagName.EMBED="EMBED",goog.dom.TagName.FIELDSET="FIELDSET",goog.dom.TagName.FIGCAPTION="FIGCAPTION",goog.dom.TagName.FIGURE="FIGURE",goog.dom.TagName.FONT="FONT",goog.dom.TagName.FOOTER="FOOTER",goog.dom.TagName.FORM="FORM",goog.dom.TagName.FRAME="FRAME",goog.dom.TagName.FRAMESET="FRAMESET",goog.dom.TagName.H1="H1",goog.dom.TagName.H2="H2",goog.dom.TagName.H3="H3",goog.dom.TagName.H4="H4",goog.dom.TagName.H5="H5",goog.dom.TagName.H6="H6",goog.dom.TagName.HEAD="HEAD",goog.dom.TagName.HEADER="HEADER",goog.dom.TagName.HGROUP="HGROUP",goog.dom.TagName.HR="HR",goog.dom.TagName.HTML="HTML",goog.dom.TagName.I="I",goog.dom.TagName.IFRAME="IFRAME",goog.dom.TagName.IMG="IMG",goog.dom.TagName.INPUT="INPUT",goog.dom.TagName.INS="INS",goog.dom.TagName.ISINDEX="ISINDEX",goog.dom.TagName.KBD="KBD",goog.dom.TagName.KEYGEN="KEYGEN",goog.dom.TagName.LABEL="LABEL",goog.dom.TagName.LEGEND="LEGEND",goog.dom.TagName.LI="LI",goog.dom.TagName.LINK="LINK",goog.dom.TagName.MAIN="MAIN",goog.dom.TagName.MAP="MAP",goog.dom.TagName.MARK="MARK",goog.dom.TagName.MATH="MATH",goog.dom.TagName.MENU="MENU",goog.dom.TagName.MENUITEM="MENUITEM",goog.dom.TagName.META="META",goog.dom.TagName.METER="METER",goog.dom.TagName.NAV="NAV",goog.dom.TagName.NOFRAMES="NOFRAMES",goog.dom.TagName.NOSCRIPT="NOSCRIPT",goog.dom.TagName.OBJECT="OBJECT",goog.dom.TagName.OL="OL",goog.dom.TagName.OPTGROUP="OPTGROUP",goog.dom.TagName.OPTION="OPTION",goog.dom.TagName.OUTPUT="OUTPUT",goog.dom.TagName.P="P",goog.dom.TagName.PARAM="PARAM",goog.dom.TagName.PICTURE="PICTURE",goog.dom.TagName.PRE="PRE",goog.dom.TagName.PROGRESS="PROGRESS",goog.dom.TagName.Q="Q",goog.dom.TagName.RP="RP",goog.dom.TagName.RT="RT",goog.dom.TagName.RTC="RTC",goog.dom.TagName.RUBY="RUBY",goog.dom.TagName.S="S",goog.dom.TagName.SAMP="SAMP",goog.dom.TagName.SCRIPT="SCRIPT",goog.dom.TagName.SECTION="SECTION",goog.dom.TagName.SELECT="SELECT",goog.dom.TagName.SMALL="SMALL",goog.dom.TagName.SOURCE="SOURCE",goog.dom.TagName.SPAN="SPAN",goog.dom.TagName.STRIKE="STRIKE",goog.dom.TagName.STRONG="STRONG",goog.dom.TagName.STYLE="STYLE",goog.dom.TagName.SUB="SUB",goog.dom.TagName.SUMMARY="SUMMARY",goog.dom.TagName.SUP="SUP",goog.dom.TagName.SVG="SVG",goog.dom.TagName.TABLE="TABLE",goog.dom.TagName.TBODY="TBODY",goog.dom.TagName.TD="TD",goog.dom.TagName.TEMPLATE="TEMPLATE",goog.dom.TagName.TEXTAREA="TEXTAREA",goog.dom.TagName.TFOOT="TFOOT",goog.dom.TagName.TH="TH",goog.dom.TagName.THEAD="THEAD",goog.dom.TagName.TIME="TIME",goog.dom.TagName.TITLE="TITLE",goog.dom.TagName.TR="TR",goog.dom.TagName.TRACK="TRACK",goog.dom.TagName.TT="TT",goog.dom.TagName.U="U",goog.dom.TagName.UL="UL",goog.dom.TagName.VAR="VAR",goog.dom.TagName.VIDEO="VIDEO",goog.dom.TagName.WBR="WBR",goog.object={},goog.object.forEach=function(e,t,n){for(var r in e)t.call(n,e[r],r,e)},goog.object.filter=function(e,t,n){var r,o={};for(r in e)t.call(n,e[r],r,e)&&(o[r]=e[r]);return o},goog.object.map=function(e,t,n){var r,o={};for(r in e)o[r]=t.call(n,e[r],r,e);return o},goog.object.some=function(e,t,n){for(var r in e)if(t.call(n,e[r],r,e))return!0;return!1},goog.object.every=function(e,t,n){for(var r in e)if(!t.call(n,e[r],r,e))return!1;return!0},goog.object.getCount=function(e){var t,n=0;for(t in e)n++;return n},goog.object.getAnyKey=function(e){for(var t in e)return t},goog.object.getAnyValue=function(e){for(var t in e)return e[t]},goog.object.contains=function(e,t){return goog.object.containsValue(e,t)},goog.object.getValues=function(e){var t,n=[],r=0;for(t in e)n[r++]=e[t];return n},goog.object.getKeys=function(e){var t,n=[],r=0;for(t in e)n[r++]=t;return n},goog.object.getValueByKeys=function(e,t){var n=goog.isArrayLike(t),r=n?t:arguments;for(n=n?0:1;n<r.length;n++){if(null==e)return;e=e[r[n]]}return e},goog.object.containsKey=function(e,t){return null!==e&&t in e},goog.object.containsValue=function(e,t){for(var n in e)if(e[n]==t)return!0;return!1},goog.object.findKey=function(e,t,n){for(var r in e)if(t.call(n,e[r],r,e))return r},goog.object.findValue=function(e,t,n){return(t=goog.object.findKey(e,t,n))&&e[t]},goog.object.isEmpty=function(e){for(var t in e)return!1;return!0},goog.object.clear=function(e){for(var t in e)delete e[t]},goog.object.remove=function(e,t){var n;return(n=t in e)&&delete e[t],n},goog.object.add=function(e,t,n){if(null!==e&&t in e)throw Error('The object already contains the key "'+t+'"');goog.object.set(e,t,n)},goog.object.get=function(e,t,n){return null!==e&&t in e?e[t]:n},goog.object.set=function(e,t,n){e[t]=n},goog.object.setIfUndefined=function(e,t,n){return t in e?e[t]:e[t]=n},goog.object.setWithReturnValueIfNotSet=function(e,t,n){return t in e?e[t]:(n=n(),e[t]=n)},goog.object.equals=function(e,t){for(var n in e)if(!(n in t)||e[n]!==t[n])return!1;for(var r in t)if(!(r in e))return!1;return!0},goog.object.clone=function(e){var t,n={};for(t in e)n[t]=e[t];return n},goog.object.unsafeClone=function(e){if(!e||"object"!==typeof e)return e;if("function"===typeof e.clone)return e.clone();var t,n=Array.isArray(e)?[]:"function"!==typeof ArrayBuffer||"function"!==typeof ArrayBuffer.isView||!ArrayBuffer.isView(e)||e instanceof DataView?{}:new e.constructor(e.length);for(t in e)n[t]=goog.object.unsafeClone(e[t]);return n},goog.object.transpose=function(e){var t,n={};for(t in e)n[e[t]]=t;return n},goog.object.PROTOTYPE_FIELDS_="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),goog.object.extend=function(e,t){for(var n,r,o=1;o<arguments.length;o++){for(n in r=arguments[o])e[n]=r[n];for(var i=0;i<goog.object.PROTOTYPE_FIELDS_.length;i++)n=goog.object.PROTOTYPE_FIELDS_[i],Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}},goog.object.create=function(e){var t=arguments.length;if(1==t&&Array.isArray(arguments[0]))return goog.object.create.apply(null,arguments[0]);if(t%2)throw Error("Uneven number of arguments");for(var n={},r=0;r<t;r+=2)n[arguments[r]]=arguments[r+1];return n},goog.object.createSet=function(e){var t=arguments.length;if(1==t&&Array.isArray(arguments[0]))return goog.object.createSet.apply(null,arguments[0]);for(var n={},r=0;r<t;r++)n[arguments[r]]=!0;return n},goog.object.createImmutableView=function(e){var t=e;return Object.isFrozen&&!Object.isFrozen(e)&&(t=Object.create(e),Object.freeze(t)),t},goog.object.isImmutableView=function(e){return!!Object.isFrozen&&Object.isFrozen(e)},goog.object.getAllPropertyNames=function(e,t,n){if(!e)return[];if(!Object.getOwnPropertyNames||!Object.getPrototypeOf)return goog.object.getKeys(e);for(var r={};e&&(e!==Object.prototype||t)&&(e!==Function.prototype||n);){for(var o=Object.getOwnPropertyNames(e),i=0;i<o.length;i++)r[o[i]]=!0;e=Object.getPrototypeOf(e)}return goog.object.getKeys(r)},goog.object.getSuperClass=function(e){return(e=Object.getPrototypeOf(e.prototype))&&e.constructor},goog.dom.tags={},goog.dom.tags.VOID_TAGS_={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},goog.dom.tags.isVoidTag=function(e){return!0===goog.dom.tags.VOID_TAGS_[e]},goog.string={},goog.string.TypedString=function(){},goog.string.Const=function(e,t){this.stringConstValueWithSecurityContract__googStringSecurityPrivate_=e===goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_&&t||"",this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_=goog.string.Const.TYPE_MARKER_},goog.string.Const.prototype.implementsGoogStringTypedString=!0,goog.string.Const.prototype.getTypedStringValue=function(){return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_},goog.DEBUG&&(goog.string.Const.prototype.toString=function(){return"Const{"+this.stringConstValueWithSecurityContract__googStringSecurityPrivate_+"}"}),goog.string.Const.unwrap=function(e){return e instanceof goog.string.Const&&e.constructor===goog.string.Const&&e.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_===goog.string.Const.TYPE_MARKER_?e.stringConstValueWithSecurityContract__googStringSecurityPrivate_:(goog.asserts.fail("expected object of type Const, got '"+e+"'"),"type_error:Const")},goog.string.Const.from=function(e){return new goog.string.Const(goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_,e)},goog.string.Const.TYPE_MARKER_={},goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_={},goog.string.Const.EMPTY=goog.string.Const.from(""),goog.html={},goog.html.trustedtypes={},goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse=function(){return goog.TRUSTED_TYPES_POLICY_NAME?(void 0===goog.html.trustedtypes.cachedPolicy_&&(goog.html.trustedtypes.cachedPolicy_=goog.createTrustedTypesPolicy(goog.TRUSTED_TYPES_POLICY_NAME+"#html")),goog.html.trustedtypes.cachedPolicy_):null};var module$contents$goog$html$SafeScript_CONSTRUCTOR_TOKEN_PRIVATE={},module$contents$goog$html$SafeScript_SafeScript=function(e,t){this.privateDoNotAccessOrElseSafeScriptWrappedValue_=t===module$contents$goog$html$SafeScript_CONSTRUCTOR_TOKEN_PRIVATE?e:"",this.implementsGoogStringTypedString=!0};module$contents$goog$html$SafeScript_SafeScript.fromConstant=function(e){return 0===(e=goog.string.Const.unwrap(e)).length?module$contents$goog$html$SafeScript_SafeScript.EMPTY:module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(e)},module$contents$goog$html$SafeScript_SafeScript.fromConstantAndArgs=function(e,t){for(var n=[],r=1;r<arguments.length;r++)n.push(module$contents$goog$html$SafeScript_SafeScript.stringify_(arguments[r]));return module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse("("+goog.string.Const.unwrap(e)+")("+n.join(", ")+");")},module$contents$goog$html$SafeScript_SafeScript.fromJson=function(e){return module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(module$contents$goog$html$SafeScript_SafeScript.stringify_(e))},module$contents$goog$html$SafeScript_SafeScript.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeScriptWrappedValue_.toString()},module$contents$goog$html$SafeScript_SafeScript.unwrap=function(e){return module$contents$goog$html$SafeScript_SafeScript.unwrapTrustedScript(e).toString()},module$contents$goog$html$SafeScript_SafeScript.unwrapTrustedScript=function(e){return e instanceof module$contents$goog$html$SafeScript_SafeScript&&e.constructor===module$contents$goog$html$SafeScript_SafeScript?e.privateDoNotAccessOrElseSafeScriptWrappedValue_:((0,goog.asserts.fail)("expected object of type SafeScript, got '"+e+"' of type "+goog.typeOf(e)),"type_error:SafeScript")},module$contents$goog$html$SafeScript_SafeScript.stringify_=function(e){return JSON.stringify(e).replace(/</g,"\\x3c")},module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse=function(e){var t=goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse();return e=t?t.createScript(e):e,new module$contents$goog$html$SafeScript_SafeScript(e,module$contents$goog$html$SafeScript_CONSTRUCTOR_TOKEN_PRIVATE)},goog.DEBUG&&(module$contents$goog$html$SafeScript_SafeScript.prototype.toString=function(){return"SafeScript{"+this.privateDoNotAccessOrElseSafeScriptWrappedValue_+"}"}),module$contents$goog$html$SafeScript_SafeScript.EMPTY=module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(""),goog.html.SafeScript=module$contents$goog$html$SafeScript_SafeScript,goog.fs={},goog.fs.url={},goog.fs.url.createObjectUrl=function(e){return goog.fs.url.getUrlObject_().createObjectURL(e)},goog.fs.url.revokeObjectUrl=function(e){goog.fs.url.getUrlObject_().revokeObjectURL(e)},goog.fs.url.UrlObject_=function(){},goog.fs.url.UrlObject_.prototype.createObjectURL=function(e){},goog.fs.url.UrlObject_.prototype.revokeObjectURL=function(e){},goog.fs.url.getUrlObject_=function(){var e=goog.fs.url.findUrlObject_();if(null!=e)return e;throw Error("This browser doesn't seem to support blob URLs")},goog.fs.url.findUrlObject_=function(){return void 0!==goog.global.URL&&void 0!==goog.global.URL.createObjectURL?goog.global.URL:void 0!==goog.global.webkitURL&&void 0!==goog.global.webkitURL.createObjectURL?goog.global.webkitURL:void 0!==goog.global.createObjectURL?goog.global:null},goog.fs.url.browserSupportsObjectUrls=function(){return null!=goog.fs.url.findUrlObject_()},goog.fs.blob={},goog.fs.blob.getBlob=function(e){var t=goog.global.BlobBuilder||goog.global.WebKitBlobBuilder;if(void 0!==t){t=new t;for(var n=0;n<arguments.length;n++)t.append(arguments[n]);return t.getBlob()}return goog.fs.blob.getBlobWithProperties(module$contents$goog$array_toArray(arguments))},goog.fs.blob.getBlobWithProperties=function(e,t,n){var r=goog.global.BlobBuilder||goog.global.WebKitBlobBuilder;if(void 0!==r){r=new r;for(var o=0;o<e.length;o++)r.append(e[o],n);return r.getBlob(t)}if(void 0!==goog.global.Blob)return r={},t&&(r.type=t),n&&(r.endings=n),new Blob(e,r);throw Error("This browser doesn't seem to support creating Blobs")},goog.i18n={},goog.i18n.bidi={},goog.i18n.bidi.FORCE_RTL=!1,goog.i18n.bidi.IS_RTL=goog.i18n.bidi.FORCE_RTL||("ar"==goog.LOCALE.substring(0,2).toLowerCase()||"fa"==goog.LOCALE.substring(0,2).toLowerCase()||"he"==goog.LOCALE.substring(0,2).toLowerCase()||"iw"==goog.LOCALE.substring(0,2).toLowerCase()||"ps"==goog.LOCALE.substring(0,2).toLowerCase()||"sd"==goog.LOCALE.substring(0,2).toLowerCase()||"ug"==goog.LOCALE.substring(0,2).toLowerCase()||"ur"==goog.LOCALE.substring(0,2).toLowerCase()||"yi"==goog.LOCALE.substring(0,2).toLowerCase())&&(2==goog.LOCALE.length||"-"==goog.LOCALE.substring(2,3)||"_"==goog.LOCALE.substring(2,3))||3<=goog.LOCALE.length&&"ckb"==goog.LOCALE.substring(0,3).toLowerCase()&&(3==goog.LOCALE.length||"-"==goog.LOCALE.substring(3,4)||"_"==goog.LOCALE.substring(3,4))||7<=goog.LOCALE.length&&("-"==goog.LOCALE.substring(2,3)||"_"==goog.LOCALE.substring(2,3))&&("adlm"==goog.LOCALE.substring(3,7).toLowerCase()||"arab"==goog.LOCALE.substring(3,7).toLowerCase()||"hebr"==goog.LOCALE.substring(3,7).toLowerCase()||"nkoo"==goog.LOCALE.substring(3,7).toLowerCase()||"rohg"==goog.LOCALE.substring(3,7).toLowerCase()||"thaa"==goog.LOCALE.substring(3,7).toLowerCase())||8<=goog.LOCALE.length&&("-"==goog.LOCALE.substring(3,4)||"_"==goog.LOCALE.substring(3,4))&&("adlm"==goog.LOCALE.substring(4,8).toLowerCase()||"arab"==goog.LOCALE.substring(4,8).toLowerCase()||"hebr"==goog.LOCALE.substring(4,8).toLowerCase()||"nkoo"==goog.LOCALE.substring(4,8).toLowerCase()||"rohg"==goog.LOCALE.substring(4,8).toLowerCase()||"thaa"==goog.LOCALE.substring(4,8).toLowerCase()),goog.i18n.bidi.Format={LRE:"\u202a",RLE:"\u202b",PDF:"\u202c",LRM:"\u200e",RLM:"\u200f"},goog.i18n.bidi.Dir={LTR:1,RTL:-1,NEUTRAL:0},goog.i18n.bidi.RIGHT="right",goog.i18n.bidi.LEFT="left",goog.i18n.bidi.I18N_RIGHT=goog.i18n.bidi.IS_RTL?goog.i18n.bidi.LEFT:goog.i18n.bidi.RIGHT,goog.i18n.bidi.I18N_LEFT=goog.i18n.bidi.IS_RTL?goog.i18n.bidi.RIGHT:goog.i18n.bidi.LEFT,goog.i18n.bidi.toDir=function(e,t){return"number"==typeof e?0<e?goog.i18n.bidi.Dir.LTR:0>e?goog.i18n.bidi.Dir.RTL:t?null:goog.i18n.bidi.Dir.NEUTRAL:null==e?null:e?goog.i18n.bidi.Dir.RTL:goog.i18n.bidi.Dir.LTR},goog.i18n.bidi.ltrChars_="A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff",goog.i18n.bidi.rtlChars_="\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc",goog.i18n.bidi.htmlSkipReg_=/<[^>]*>|&[^;]+;/g,goog.i18n.bidi.stripHtmlIfNeeded_=function(e,t){return t?e.replace(goog.i18n.bidi.htmlSkipReg_,""):e},goog.i18n.bidi.rtlCharReg_=new RegExp("["+goog.i18n.bidi.rtlChars_+"]"),goog.i18n.bidi.ltrCharReg_=new RegExp("["+goog.i18n.bidi.ltrChars_+"]"),goog.i18n.bidi.hasAnyRtl=function(e,t){return goog.i18n.bidi.rtlCharReg_.test(goog.i18n.bidi.stripHtmlIfNeeded_(e,t))},goog.i18n.bidi.hasRtlChar=goog.i18n.bidi.hasAnyRtl,goog.i18n.bidi.hasAnyLtr=function(e,t){return goog.i18n.bidi.ltrCharReg_.test(goog.i18n.bidi.stripHtmlIfNeeded_(e,t))},goog.i18n.bidi.ltrRe_=new RegExp("^["+goog.i18n.bidi.ltrChars_+"]"),goog.i18n.bidi.rtlRe_=new RegExp("^["+goog.i18n.bidi.rtlChars_+"]"),goog.i18n.bidi.isRtlChar=function(e){return goog.i18n.bidi.rtlRe_.test(e)},goog.i18n.bidi.isLtrChar=function(e){return goog.i18n.bidi.ltrRe_.test(e)},goog.i18n.bidi.isNeutralChar=function(e){return!goog.i18n.bidi.isLtrChar(e)&&!goog.i18n.bidi.isRtlChar(e)},goog.i18n.bidi.ltrDirCheckRe_=new RegExp("^[^"+goog.i18n.bidi.rtlChars_+"]*["+goog.i18n.bidi.ltrChars_+"]"),goog.i18n.bidi.rtlDirCheckRe_=new RegExp("^[^"+goog.i18n.bidi.ltrChars_+"]*["+goog.i18n.bidi.rtlChars_+"]"),goog.i18n.bidi.startsWithRtl=function(e,t){return goog.i18n.bidi.rtlDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(e,t))},goog.i18n.bidi.isRtlText=goog.i18n.bidi.startsWithRtl,goog.i18n.bidi.startsWithLtr=function(e,t){return goog.i18n.bidi.ltrDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(e,t))},goog.i18n.bidi.isLtrText=goog.i18n.bidi.startsWithLtr,goog.i18n.bidi.isRequiredLtrRe_=/^http:\/\/.*/,goog.i18n.bidi.isNeutralText=function(e,t){return e=goog.i18n.bidi.stripHtmlIfNeeded_(e,t),goog.i18n.bidi.isRequiredLtrRe_.test(e)||!goog.i18n.bidi.hasAnyLtr(e)&&!goog.i18n.bidi.hasAnyRtl(e)},goog.i18n.bidi.ltrExitDirCheckRe_=new RegExp("["+goog.i18n.bidi.ltrChars_+"][^"+goog.i18n.bidi.rtlChars_+"]*$"),goog.i18n.bidi.rtlExitDirCheckRe_=new RegExp("["+goog.i18n.bidi.rtlChars_+"][^"+goog.i18n.bidi.ltrChars_+"]*$"),goog.i18n.bidi.endsWithLtr=function(e,t){return goog.i18n.bidi.ltrExitDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(e,t))},goog.i18n.bidi.isLtrExitText=goog.i18n.bidi.endsWithLtr,goog.i18n.bidi.endsWithRtl=function(e,t){return goog.i18n.bidi.rtlExitDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(e,t))},goog.i18n.bidi.isRtlExitText=goog.i18n.bidi.endsWithRtl,goog.i18n.bidi.rtlLocalesRe_=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i,goog.i18n.bidi.isRtlLanguage=function(e){return goog.i18n.bidi.rtlLocalesRe_.test(e)},goog.i18n.bidi.bracketGuardTextRe_=/(\(.*?\)+)|(\[.*?\]+)|(\{.*?\}+)|(<.*?>+)/g,goog.i18n.bidi.guardBracketInText=function(e,t){return t=(void 0===t?goog.i18n.bidi.hasAnyRtl(e):t)?goog.i18n.bidi.Format.RLM:goog.i18n.bidi.Format.LRM,e.replace(goog.i18n.bidi.bracketGuardTextRe_,t+"$&"+t)},goog.i18n.bidi.enforceRtlInHtml=function(e){return"<"==e.charAt(0)?e.replace(/<\w+/,"$& dir=rtl"):"\n<span dir=rtl>"+e+"</span>"},goog.i18n.bidi.enforceRtlInText=function(e){return goog.i18n.bidi.Format.RLE+e+goog.i18n.bidi.Format.PDF},goog.i18n.bidi.enforceLtrInHtml=function(e){return"<"==e.charAt(0)?e.replace(/<\w+/,"$& dir=ltr"):"\n<span dir=ltr>"+e+"</span>"},goog.i18n.bidi.enforceLtrInText=function(e){return goog.i18n.bidi.Format.LRE+e+goog.i18n.bidi.Format.PDF},goog.i18n.bidi.dimensionsRe_=/:\s*([.\d][.\w]*)\s+([.\d][.\w]*)\s+([.\d][.\w]*)\s+([.\d][.\w]*)/g,goog.i18n.bidi.leftRe_=/left/gi,goog.i18n.bidi.rightRe_=/right/gi,goog.i18n.bidi.tempRe_=/%%%%/g,goog.i18n.bidi.mirrorCSS=function(e){return e.replace(goog.i18n.bidi.dimensionsRe_,":$1 $4 $3 $2").replace(goog.i18n.bidi.leftRe_,"%%%%").replace(goog.i18n.bidi.rightRe_,goog.i18n.bidi.LEFT).replace(goog.i18n.bidi.tempRe_,goog.i18n.bidi.RIGHT)},goog.i18n.bidi.doubleQuoteSubstituteRe_=/([\u0591-\u05f2])"/g,goog.i18n.bidi.singleQuoteSubstituteRe_=/([\u0591-\u05f2])'/g,goog.i18n.bidi.normalizeHebrewQuote=function(e){return e.replace(goog.i18n.bidi.doubleQuoteSubstituteRe_,"$1\u05f4").replace(goog.i18n.bidi.singleQuoteSubstituteRe_,"$1\u05f3")},goog.i18n.bidi.wordSeparatorRe_=/\s+/,goog.i18n.bidi.hasNumeralsRe_=/[\d\u06f0-\u06f9]/,goog.i18n.bidi.rtlDetectionThreshold_=.4,goog.i18n.bidi.estimateDirection=function(e,t){var n=0,r=0,o=!1;for(e=goog.i18n.bidi.stripHtmlIfNeeded_(e,t).split(goog.i18n.bidi.wordSeparatorRe_),t=0;t<e.length;t++){var i=e[t];goog.i18n.bidi.startsWithRtl(i)?(n++,r++):goog.i18n.bidi.isRequiredLtrRe_.test(i)?o=!0:goog.i18n.bidi.hasAnyLtr(i)?r++:goog.i18n.bidi.hasNumeralsRe_.test(i)&&(o=!0)}return 0==r?o?goog.i18n.bidi.Dir.LTR:goog.i18n.bidi.Dir.NEUTRAL:n/r>goog.i18n.bidi.rtlDetectionThreshold_?goog.i18n.bidi.Dir.RTL:goog.i18n.bidi.Dir.LTR},goog.i18n.bidi.detectRtlDirectionality=function(e,t){return goog.i18n.bidi.estimateDirection(e,t)==goog.i18n.bidi.Dir.RTL},goog.i18n.bidi.setElementDirAndAlign=function(e,t){e&&(t=goog.i18n.bidi.toDir(t))&&(e.style.textAlign=t==goog.i18n.bidi.Dir.RTL?goog.i18n.bidi.RIGHT:goog.i18n.bidi.LEFT,e.dir=t==goog.i18n.bidi.Dir.RTL?"rtl":"ltr")},goog.i18n.bidi.setElementDirByTextDirectionality=function(e,t){switch(goog.i18n.bidi.estimateDirection(t)){case goog.i18n.bidi.Dir.LTR:"ltr"!==e.dir&&(e.dir="ltr");break;case goog.i18n.bidi.Dir.RTL:"rtl"!==e.dir&&(e.dir="rtl");break;default:e.removeAttribute("dir")}},goog.i18n.bidi.DirectionalString=function(){},goog.html.TrustedResourceUrl=function(e,t){this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_=t===goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVATE_?e:""},goog.html.TrustedResourceUrl.prototype.implementsGoogStringTypedString=!0,goog.html.TrustedResourceUrl.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_.toString()},goog.html.TrustedResourceUrl.prototype.implementsGoogI18nBidiDirectionalString=!0,goog.html.TrustedResourceUrl.prototype.getDirection=function(){return goog.i18n.bidi.Dir.LTR},goog.html.TrustedResourceUrl.prototype.cloneWithParams=function(e,t){var n=goog.html.TrustedResourceUrl.unwrap(this),r=(n=goog.html.TrustedResourceUrl.URL_PARAM_PARSER_.exec(n))[3]||"";return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(n[1]+goog.html.TrustedResourceUrl.stringifyParams_("?",n[2]||"",e)+goog.html.TrustedResourceUrl.stringifyParams_("#",r,t))},goog.DEBUG&&(goog.html.TrustedResourceUrl.prototype.toString=function(){return"TrustedResourceUrl{"+this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_+"}"}),goog.html.TrustedResourceUrl.unwrap=function(e){return goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(e).toString()},goog.html.TrustedResourceUrl.unwrapTrustedScriptURL=function(e){return e instanceof goog.html.TrustedResourceUrl&&e.constructor===goog.html.TrustedResourceUrl?e.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_:(goog.asserts.fail("expected object of type TrustedResourceUrl, got '"+e+"' of type "+goog.typeOf(e)),"type_error:TrustedResourceUrl")},goog.html.TrustedResourceUrl.format=function(e,t){var n=goog.string.Const.unwrap(e);if(!goog.html.TrustedResourceUrl.BASE_URL_.test(n))throw Error("Invalid TrustedResourceUrl format: "+n);return e=n.replace(goog.html.TrustedResourceUrl.FORMAT_MARKER_,(function(e,r){if(!Object.prototype.hasOwnProperty.call(t,r))throw Error('Found marker, "'+r+'", in format string, "'+n+'", but no valid label mapping found in args: '+JSON.stringify(t));return(e=t[r])instanceof goog.string.Const?goog.string.Const.unwrap(e):encodeURIComponent(String(e))})),goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.TrustedResourceUrl.FORMAT_MARKER_=/%{(\w+)}/g,goog.html.TrustedResourceUrl.BASE_URL_=/^((https:)?\/\/[0-9a-z.:[\]-]+\/|\/[^/\\]|[^:/\\%]+\/|[^:/\\%]*[?#]|about:blank#)/i,goog.html.TrustedResourceUrl.URL_PARAM_PARSER_=/^([^?#]*)(\?[^#]*)?(#[\s\S]*)?/,goog.html.TrustedResourceUrl.formatWithParams=function(e,t,n,r){return goog.html.TrustedResourceUrl.format(e,t).cloneWithParams(n,r)},goog.html.TrustedResourceUrl.fromConstant=function(e){return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(e))},goog.html.TrustedResourceUrl.fromConstants=function(e){for(var t="",n=0;n<e.length;n++)t+=goog.string.Const.unwrap(e[n]);return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(t)},goog.html.TrustedResourceUrl.fromSafeScript=function(e){return e=goog.fs.blob.getBlobWithProperties([module$contents$goog$html$SafeScript_SafeScript.unwrap(e)],"text/javascript"),e=goog.fs.url.createObjectUrl(e),goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVATE_={},goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse=function(e){var t=goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse();return e=t?t.createScriptURL(e):e,new goog.html.TrustedResourceUrl(e,goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVATE_)},goog.html.TrustedResourceUrl.stringifyParams_=function(e,t,n){if(null==n)return t;if("string"===typeof n)return n?e+encodeURIComponent(n):"";for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var o=n[r];o=Array.isArray(o)?o:[o];for(var i=0;i<o.length;i++){var a=o[i];null!=a&&(t||(t=e),t+=(t.length>e.length?"&":"")+encodeURIComponent(r)+"="+encodeURIComponent(String(a)))}}return t},goog.string.internal={},goog.string.internal.startsWith=function(e,t){return 0==e.lastIndexOf(t,0)},goog.string.internal.endsWith=function(e,t){var n=e.length-t.length;return 0<=n&&e.indexOf(t,n)==n},goog.string.internal.caseInsensitiveStartsWith=function(e,t){return 0==goog.string.internal.caseInsensitiveCompare(t,e.substr(0,t.length))},goog.string.internal.caseInsensitiveEndsWith=function(e,t){return 0==goog.string.internal.caseInsensitiveCompare(t,e.substr(e.length-t.length,t.length))},goog.string.internal.caseInsensitiveEquals=function(e,t){return e.toLowerCase()==t.toLowerCase()},goog.string.internal.isEmptyOrWhitespace=function(e){return/^[\s\xa0]*$/.test(e)},goog.string.internal.trim=goog.TRUSTED_SITE&&String.prototype.trim?function(e){return e.trim()}:function(e){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(e)[1]},goog.string.internal.caseInsensitiveCompare=function(e,t){return(e=String(e).toLowerCase())<(t=String(t).toLowerCase())?-1:e==t?0:1},goog.string.internal.newLineToBr=function(e,t){return e.replace(/(\r\n|\r|\n)/g,t?"<br />":"<br>")},goog.string.internal.htmlEscape=function(e,t){if(t)e=e.replace(goog.string.internal.AMP_RE_,"&amp;").replace(goog.string.internal.LT_RE_,"&lt;").replace(goog.string.internal.GT_RE_,"&gt;").replace(goog.string.internal.QUOT_RE_,"&quot;").replace(goog.string.internal.SINGLE_QUOTE_RE_,"&#39;").replace(goog.string.internal.NULL_RE_,"&#0;");else{if(!goog.string.internal.ALL_RE_.test(e))return e;-1!=e.indexOf("&")&&(e=e.replace(goog.string.internal.AMP_RE_,"&amp;")),-1!=e.indexOf("<")&&(e=e.replace(goog.string.internal.LT_RE_,"&lt;")),-1!=e.indexOf(">")&&(e=e.replace(goog.string.internal.GT_RE_,"&gt;")),-1!=e.indexOf('"')&&(e=e.replace(goog.string.internal.QUOT_RE_,"&quot;")),-1!=e.indexOf("'")&&(e=e.replace(goog.string.internal.SINGLE_QUOTE_RE_,"&#39;")),-1!=e.indexOf("\0")&&(e=e.replace(goog.string.internal.NULL_RE_,"&#0;"))}return e},goog.string.internal.AMP_RE_=/&/g,goog.string.internal.LT_RE_=/</g,goog.string.internal.GT_RE_=/>/g,goog.string.internal.QUOT_RE_=/"/g,goog.string.internal.SINGLE_QUOTE_RE_=/'/g,goog.string.internal.NULL_RE_=/\x00/g,goog.string.internal.ALL_RE_=/[\x00&<>"']/,goog.string.internal.whitespaceEscape=function(e,t){return goog.string.internal.newLineToBr(e.replace(/  /g," &#160;"),t)},goog.string.internal.contains=function(e,t){return-1!=e.indexOf(t)},goog.string.internal.caseInsensitiveContains=function(e,t){return goog.string.internal.contains(e.toLowerCase(),t.toLowerCase())},goog.string.internal.compareVersions=function(e,t){var n=0;e=goog.string.internal.trim(String(e)).split("."),t=goog.string.internal.trim(String(t)).split(".");for(var r=Math.max(e.length,t.length),o=0;0==n&&o<r;o++){var i=e[o]||"",a=t[o]||"";do{if(i=/(\d*)(\D*)(.*)/.exec(i)||["","","",""],a=/(\d*)(\D*)(.*)/.exec(a)||["","","",""],0==i[0].length&&0==a[0].length)break;n=0==i[1].length?0:parseInt(i[1],10);var s=0==a[1].length?0:parseInt(a[1],10);n=goog.string.internal.compareElements_(n,s)||goog.string.internal.compareElements_(0==i[2].length,0==a[2].length)||goog.string.internal.compareElements_(i[2],a[2]),i=i[3],a=a[3]}while(0==n)}return n},goog.string.internal.compareElements_=function(e,t){return e<t?-1:e>t?1:0},goog.html.SafeUrl=function(e,t){this.privateDoNotAccessOrElseSafeUrlWrappedValue_=t===goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_?e:""},goog.html.SafeUrl.INNOCUOUS_STRING="about:invalid#zClosurez",goog.html.SafeUrl.prototype.implementsGoogStringTypedString=!0,goog.html.SafeUrl.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeUrlWrappedValue_.toString()},goog.html.SafeUrl.prototype.implementsGoogI18nBidiDirectionalString=!0,goog.html.SafeUrl.prototype.getDirection=function(){return goog.i18n.bidi.Dir.LTR},goog.DEBUG&&(goog.html.SafeUrl.prototype.toString=function(){return"SafeUrl{"+this.privateDoNotAccessOrElseSafeUrlWrappedValue_+"}"}),goog.html.SafeUrl.unwrap=function(e){return e instanceof goog.html.SafeUrl&&e.constructor===goog.html.SafeUrl?e.privateDoNotAccessOrElseSafeUrlWrappedValue_:(goog.asserts.fail("expected object of type SafeUrl, got '"+e+"' of type "+goog.typeOf(e)),"type_error:SafeUrl")},goog.html.SafeUrl.fromConstant=function(e){return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(e))},goog.html.SAFE_MIME_TYPE_PATTERN_=/^(?:audio\/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)|font\/\w+|image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|video\/(?:mpeg|mp4|ogg|webm|quicktime|x-matroska))(?:;\w+=(?:\w+|"[\w;,= ]+"))*$/i,goog.html.SafeUrl.isSafeMimeType=function(e){return goog.html.SAFE_MIME_TYPE_PATTERN_.test(e)},goog.html.SafeUrl.fromBlob=function(e){return e=goog.html.SafeUrl.isSafeMimeType(e.type)?goog.fs.url.createObjectUrl(e):goog.html.SafeUrl.INNOCUOUS_STRING,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.SafeUrl.revokeObjectUrl=function(e){(e=e.getTypedStringValue())!==goog.html.SafeUrl.INNOCUOUS_STRING&&goog.fs.url.revokeObjectUrl(e)},goog.html.SafeUrl.fromMediaSource=function(e){return goog.asserts.assert("MediaSource"in goog.global,"No support for MediaSource"),e=e instanceof MediaSource?goog.fs.url.createObjectUrl(e):goog.html.SafeUrl.INNOCUOUS_STRING,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.DATA_URL_PATTERN_=/^data:(.*);base64,[a-z0-9+\/]+=*$/i,goog.html.SafeUrl.tryFromDataUrl=function(e){var t=(e=(e=String(e)).replace(/(%0A|%0D)/g,"")).match(goog.html.DATA_URL_PATTERN_);return t&&goog.html.SafeUrl.isSafeMimeType(t[1])?goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e):null},goog.html.SafeUrl.fromDataUrl=function(e){return goog.html.SafeUrl.tryFromDataUrl(e)||goog.html.SafeUrl.INNOCUOUS_URL},goog.html.SafeUrl.fromTelUrl=function(e){return goog.string.internal.caseInsensitiveStartsWith(e,"tel:")||(e=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.SIP_URL_PATTERN_=/^sip[s]?:[+a-z0-9_.!$%&'*\/=^`{|}~-]+@([a-z0-9-]+\.)+[a-z0-9]{2,63}$/i,goog.html.SafeUrl.fromSipUrl=function(e){return goog.html.SIP_URL_PATTERN_.test(decodeURIComponent(e))||(e=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.SafeUrl.fromFacebookMessengerUrl=function(e){return goog.string.internal.caseInsensitiveStartsWith(e,"fb-messenger://share")||(e=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.SafeUrl.fromWhatsAppUrl=function(e){return goog.string.internal.caseInsensitiveStartsWith(e,"whatsapp://send")||(e=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.SafeUrl.fromSmsUrl=function(e){return goog.string.internal.caseInsensitiveStartsWith(e,"sms:")&&goog.html.SafeUrl.isSmsUrlBodyValid_(e)||(e=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.SafeUrl.isSmsUrlBodyValid_=function(e){var t=e.indexOf("#");if(0<t&&(e=e.substring(0,t)),!(t=e.match(/[?&]body=/gi)))return!0;if(1<t.length)return!1;if(!(e=e.match(/[?&]body=([^&]*)/)[1]))return!0;try{decodeURIComponent(e)}catch(n){return!1}return/^(?:[a-z0-9\-_.~]|%[0-9a-f]{2})+$/i.test(e)},goog.html.SafeUrl.fromSshUrl=function(e){return goog.string.internal.caseInsensitiveStartsWith(e,"ssh://")||(e=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.SafeUrl.sanitizeChromeExtensionUrl=function(e,t){return goog.html.SafeUrl.sanitizeExtensionUrl_(/^chrome-extension:\/\/([^\/]+)\//,e,t)},goog.html.SafeUrl.sanitizeFirefoxExtensionUrl=function(e,t){return goog.html.SafeUrl.sanitizeExtensionUrl_(/^moz-extension:\/\/([^\/]+)\//,e,t)},goog.html.SafeUrl.sanitizeEdgeExtensionUrl=function(e,t){return goog.html.SafeUrl.sanitizeExtensionUrl_(/^ms-browser-extension:\/\/([^\/]+)\//,e,t)},goog.html.SafeUrl.sanitizeExtensionUrl_=function(e,t,n){return(e=e.exec(t))?(e=e[1],-1==(n instanceof goog.string.Const?[goog.string.Const.unwrap(n)]:n.map((function(e){return goog.string.Const.unwrap(e)}))).indexOf(e)&&(t=goog.html.SafeUrl.INNOCUOUS_STRING)):t=goog.html.SafeUrl.INNOCUOUS_STRING,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t)},goog.html.SafeUrl.fromTrustedResourceUrl=function(e){return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.html.TrustedResourceUrl.unwrap(e))},goog.html.SAFE_URL_PATTERN_=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,goog.html.SafeUrl.SAFE_URL_PATTERN=goog.html.SAFE_URL_PATTERN_,goog.html.SafeUrl.trySanitize=function(e){return e instanceof goog.html.SafeUrl?e:(e="object"==typeof e&&e.implementsGoogStringTypedString?e.getTypedStringValue():String(e),goog.html.SAFE_URL_PATTERN_.test(e)?goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e):goog.html.SafeUrl.tryFromDataUrl(e))},goog.html.SafeUrl.sanitize=function(e){return goog.html.SafeUrl.trySanitize(e)||goog.html.SafeUrl.INNOCUOUS_URL},goog.html.SafeUrl.sanitizeAssertUnchanged=function(e,t){return e instanceof goog.html.SafeUrl?e:(e="object"==typeof e&&e.implementsGoogStringTypedString?e.getTypedStringValue():String(e),t&&/^data:/i.test(e)&&(t=goog.html.SafeUrl.fromDataUrl(e)).getTypedStringValue()==e?t:(goog.asserts.assert(goog.html.SAFE_URL_PATTERN_.test(e),"%s does not match the safe URL pattern",e)||(e=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)))},goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_={},goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse=function(e){return new goog.html.SafeUrl(e,goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_)},goog.html.SafeUrl.INNOCUOUS_URL=goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.ABOUT_BLANK=goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse("about:blank"),goog.html.SafeStyle=function(e,t){this.privateDoNotAccessOrElseSafeStyleWrappedValue_=t===goog.html.SafeStyle.CONSTRUCTOR_TOKEN_PRIVATE_?e:""},goog.html.SafeStyle.prototype.implementsGoogStringTypedString=!0,goog.html.SafeStyle.fromConstant=function(e){return 0===(e=goog.string.Const.unwrap(e)).length?goog.html.SafeStyle.EMPTY:(goog.asserts.assert(goog.string.internal.endsWith(e,";"),"Last character of style string is not ';': "+e),goog.asserts.assert(goog.string.internal.contains(e,":"),"Style string must contain at least one ':', to specify a \"name: value\" pair: "+e),goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(e))},goog.html.SafeStyle.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_},goog.DEBUG&&(goog.html.SafeStyle.prototype.toString=function(){return"SafeStyle{"+this.privateDoNotAccessOrElseSafeStyleWrappedValue_+"}"}),goog.html.SafeStyle.unwrap=function(e){return e instanceof goog.html.SafeStyle&&e.constructor===goog.html.SafeStyle?e.privateDoNotAccessOrElseSafeStyleWrappedValue_:(goog.asserts.fail("expected object of type SafeStyle, got '"+e+"' of type "+goog.typeOf(e)),"type_error:SafeStyle")},goog.html.SafeStyle.CONSTRUCTOR_TOKEN_PRIVATE_={},goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse=function(e){return new goog.html.SafeStyle(e,goog.html.SafeStyle.CONSTRUCTOR_TOKEN_PRIVATE_)},goog.html.SafeStyle.EMPTY=goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(""),goog.html.SafeStyle.INNOCUOUS_STRING="zClosurez",goog.html.SafeStyle.create=function(e){var t,n="";for(t in e)if(Object.prototype.hasOwnProperty.call(e,t)){if(!/^[-_a-zA-Z0-9]+$/.test(t))throw Error("Name allows only [-_a-zA-Z0-9], got: "+t);var r=e[t];null!=r&&(n+=t+":"+(r=Array.isArray(r)?module$contents$goog$array_map(r,goog.html.SafeStyle.sanitizePropertyValue_).join(" "):goog.html.SafeStyle.sanitizePropertyValue_(r))+";")}return n?goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(n):goog.html.SafeStyle.EMPTY},goog.html.SafeStyle.sanitizePropertyValue_=function(e){if(e instanceof goog.html.SafeUrl)return'url("'+goog.html.SafeUrl.unwrap(e).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(e=e instanceof goog.string.Const?goog.string.Const.unwrap(e):goog.html.SafeStyle.sanitizePropertyValueString_(String(e)),/[{;}]/.test(e))throw new goog.asserts.AssertionError("Value does not allow [{;}], got: %s.",[e]);return e},goog.html.SafeStyle.sanitizePropertyValueString_=function(e){var t=e.replace(goog.html.SafeStyle.FUNCTIONS_RE_,"$1").replace(goog.html.SafeStyle.FUNCTIONS_RE_,"$1").replace(goog.html.SafeStyle.URL_RE_,"url");return goog.html.SafeStyle.VALUE_RE_.test(t)?goog.html.SafeStyle.COMMENT_RE_.test(e)?(goog.asserts.fail("String value disallows comments, got: "+e),goog.html.SafeStyle.INNOCUOUS_STRING):goog.html.SafeStyle.hasBalancedQuotes_(e)?goog.html.SafeStyle.hasBalancedSquareBrackets_(e)?goog.html.SafeStyle.sanitizeUrl_(e):(goog.asserts.fail("String value requires balanced square brackets and one identifier per pair of brackets, got: "+e),goog.html.SafeStyle.INNOCUOUS_STRING):(goog.asserts.fail("String value requires balanced quotes, got: "+e),goog.html.SafeStyle.INNOCUOUS_STRING):(goog.asserts.fail("String value allows only "+goog.html.SafeStyle.VALUE_ALLOWED_CHARS_+" and simple functions, got: "+e),goog.html.SafeStyle.INNOCUOUS_STRING)},goog.html.SafeStyle.hasBalancedQuotes_=function(e){for(var t=!0,n=!0,r=0;r<e.length;r++){var o=e.charAt(r);"'"==o&&n?t=!t:'"'==o&&t&&(n=!n)}return t&&n},goog.html.SafeStyle.hasBalancedSquareBrackets_=function(e){for(var t=!0,n=/^[-_a-zA-Z0-9]$/,r=0;r<e.length;r++){var o=e.charAt(r);if("]"==o){if(t)return!1;t=!0}else if("["==o){if(!t)return!1;t=!1}else if(!t&&!n.test(o))return!1}return t},goog.html.SafeStyle.VALUE_ALLOWED_CHARS_="[-,.\"'%_!# a-zA-Z0-9\\[\\]]",goog.html.SafeStyle.VALUE_RE_=new RegExp("^"+goog.html.SafeStyle.VALUE_ALLOWED_CHARS_+"+$"),goog.html.SafeStyle.URL_RE_=/\b(url\([ \t\n]*)('[ -&(-\[\]-~]*'|"[ !#-\[\]-~]*"|[!#-&*-\[\]-~]*)([ \t\n]*\))/g,goog.html.SafeStyle.ALLOWED_FUNCTIONS_="calc cubic-bezier fit-content hsl hsla linear-gradient matrix minmax repeat rgb rgba (rotate|scale|translate)(X|Y|Z|3d)?".split(" "),goog.html.SafeStyle.FUNCTIONS_RE_=new RegExp("\\b("+goog.html.SafeStyle.ALLOWED_FUNCTIONS_.join("|")+")\\([-+*/0-9a-z.%\\[\\], ]+\\)","g"),goog.html.SafeStyle.COMMENT_RE_=/\/\*/,goog.html.SafeStyle.sanitizeUrl_=function(e){return e.replace(goog.html.SafeStyle.URL_RE_,(function(e,t,n,r){var o="";return n=n.replace(/^(['"])(.*)\1$/,(function(e,t,n){return o=t,n})),e=goog.html.SafeUrl.sanitize(n).getTypedStringValue(),t+o+e+o+r}))},goog.html.SafeStyle.concat=function(e){var t="";return module$contents$goog$array_forEach(arguments,(function e(n){Array.isArray(n)?module$contents$goog$array_forEach(n,e):t+=goog.html.SafeStyle.unwrap(n)})),t?goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(t):goog.html.SafeStyle.EMPTY};var module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE={},module$contents$goog$html$SafeStyleSheet_SafeStyleSheet=function(e,t){this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_=t===module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE?e:"",this.implementsGoogStringTypedString=!0};module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createRule=function(e,t){if((0,goog.string.internal.contains)(e,"<"))throw Error("Selector does not allow '<', got: "+e);var n=e.replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g,"");if(!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=^$|]+$/.test(n))throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=^$|] and strings, got: "+e);if(!module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.hasBalancedBrackets_(n))throw Error("() and [] in selector must be balanced, got: "+e);return t instanceof goog.html.SafeStyle||(t=goog.html.SafeStyle.create(t)),e=e+"{"+goog.html.SafeStyle.unwrap(t).replace(/</g,"\\3C ")+"}",module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(e)},module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.hasBalancedBrackets_=function(e){for(var t={"(":")","[":"]"},n=[],r=0;r<e.length;r++){var o=e[r];if(t[o])n.push(t[o]);else if(goog.object.contains(t,o)&&n.pop()!=o)return!1}return 0==n.length},module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.concat=function(e){var t="";return module$contents$goog$array_forEach(arguments,(function e(n){Array.isArray(n)?module$contents$goog$array_forEach(n,e):t+=module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap(n)})),module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(t)},module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.fromConstant=function(e){return 0===(e=goog.string.Const.unwrap(e)).length?module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.EMPTY:((0,goog.asserts.assert)(!(0,goog.string.internal.contains)(e,"<"),"Forbidden '<' character in style sheet string: "+e),module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(e))},module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_},module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap=function(e){return e instanceof module$contents$goog$html$SafeStyleSheet_SafeStyleSheet&&e.constructor===module$contents$goog$html$SafeStyleSheet_SafeStyleSheet?e.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_:((0,goog.asserts.fail)("expected object of type SafeStyleSheet, got '"+e+"' of type "+goog.typeOf(e)),"type_error:SafeStyleSheet")},module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse=function(e){return new module$contents$goog$html$SafeStyleSheet_SafeStyleSheet(e,module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE)},goog.DEBUG&&(module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.prototype.toString=function(){return"SafeStyleSheet{"+this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_+"}"}),module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.EMPTY=module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(""),goog.html.SafeStyleSheet=module$contents$goog$html$SafeStyleSheet_SafeStyleSheet,goog.labs={},goog.labs.userAgent={},goog.labs.userAgent.util={},goog.labs.userAgent.util.getNativeUserAgentString_=function(){var e=goog.labs.userAgent.util.getNavigator_();return e&&(e=e.userAgent)?e:""},goog.labs.userAgent.util.getNavigator_=function(){return goog.global.navigator},goog.labs.userAgent.util.userAgent_=goog.labs.userAgent.util.getNativeUserAgentString_(),goog.labs.userAgent.util.setUserAgent=function(e){goog.labs.userAgent.util.userAgent_=e||goog.labs.userAgent.util.getNativeUserAgentString_()},goog.labs.userAgent.util.getUserAgent=function(){return goog.labs.userAgent.util.userAgent_},goog.labs.userAgent.util.matchUserAgent=function(e){var t=goog.labs.userAgent.util.getUserAgent();return goog.string.internal.contains(t,e)},goog.labs.userAgent.util.matchUserAgentIgnoreCase=function(e){var t=goog.labs.userAgent.util.getUserAgent();return goog.string.internal.caseInsensitiveContains(t,e)},goog.labs.userAgent.util.extractVersionTuples=function(e){for(var t,n=/(\w[\w ]+)\/([^\s]+)\s*(?:\((.*?)\))?/g,r=[];t=n.exec(e);)r.push([t[1],t[2],t[3]||void 0]);return r},goog.labs.userAgent.browser={},goog.labs.userAgent.browser.matchOpera_=function(){return goog.labs.userAgent.util.matchUserAgent("Opera")},goog.labs.userAgent.browser.matchIE_=function(){return goog.labs.userAgent.util.matchUserAgent("Trident")||goog.labs.userAgent.util.matchUserAgent("MSIE")},goog.labs.userAgent.browser.matchEdgeHtml_=function(){return goog.labs.userAgent.util.matchUserAgent("Edge")},goog.labs.userAgent.browser.matchEdgeChromium_=function(){return goog.labs.userAgent.util.matchUserAgent("Edg/")},goog.labs.userAgent.browser.matchOperaChromium_=function(){return goog.labs.userAgent.util.matchUserAgent("OPR")},goog.labs.userAgent.browser.matchFirefox_=function(){return goog.labs.userAgent.util.matchUserAgent("Firefox")||goog.labs.userAgent.util.matchUserAgent("FxiOS")},goog.labs.userAgent.browser.matchSafari_=function(){return goog.labs.userAgent.util.matchUserAgent("Safari")&&!(goog.labs.userAgent.browser.matchChrome_()||goog.labs.userAgent.browser.matchCoast_()||goog.labs.userAgent.browser.matchOpera_()||goog.labs.userAgent.browser.matchEdgeHtml_()||goog.labs.userAgent.browser.matchEdgeChromium_()||goog.labs.userAgent.browser.matchOperaChromium_()||goog.labs.userAgent.browser.matchFirefox_()||goog.labs.userAgent.browser.isSilk()||goog.labs.userAgent.util.matchUserAgent("Android"))},goog.labs.userAgent.browser.matchCoast_=function(){return goog.labs.userAgent.util.matchUserAgent("Coast")},goog.labs.userAgent.browser.matchIosWebview_=function(){return(goog.labs.userAgent.util.matchUserAgent("iPad")||goog.labs.userAgent.util.matchUserAgent("iPhone"))&&!goog.labs.userAgent.browser.matchSafari_()&&!goog.labs.userAgent.browser.matchChrome_()&&!goog.labs.userAgent.browser.matchCoast_()&&!goog.labs.userAgent.browser.matchFirefox_()&&goog.labs.userAgent.util.matchUserAgent("AppleWebKit")},goog.labs.userAgent.browser.matchChrome_=function(){return(goog.labs.userAgent.util.matchUserAgent("Chrome")||goog.labs.userAgent.util.matchUserAgent("CriOS"))&&!goog.labs.userAgent.browser.matchEdgeHtml_()},goog.labs.userAgent.browser.matchAndroidBrowser_=function(){return goog.labs.userAgent.util.matchUserAgent("Android")&&!(goog.labs.userAgent.browser.isChrome()||goog.labs.userAgent.browser.isFirefox()||goog.labs.userAgent.browser.isOpera()||goog.labs.userAgent.browser.isSilk())},goog.labs.userAgent.browser.isOpera=goog.labs.userAgent.browser.matchOpera_,goog.labs.userAgent.browser.isIE=goog.labs.userAgent.browser.matchIE_,goog.labs.userAgent.browser.isEdge=goog.labs.userAgent.browser.matchEdgeHtml_,goog.labs.userAgent.browser.isEdgeChromium=goog.labs.userAgent.browser.matchEdgeChromium_,goog.labs.userAgent.browser.isOperaChromium=goog.labs.userAgent.browser.matchOperaChromium_,goog.labs.userAgent.browser.isFirefox=goog.labs.userAgent.browser.matchFirefox_,goog.labs.userAgent.browser.isSafari=goog.labs.userAgent.browser.matchSafari_,goog.labs.userAgent.browser.isCoast=goog.labs.userAgent.browser.matchCoast_,goog.labs.userAgent.browser.isIosWebview=goog.labs.userAgent.browser.matchIosWebview_,goog.labs.userAgent.browser.isChrome=goog.labs.userAgent.browser.matchChrome_,goog.labs.userAgent.browser.isAndroidBrowser=goog.labs.userAgent.browser.matchAndroidBrowser_,goog.labs.userAgent.browser.isSilk=function(){return goog.labs.userAgent.util.matchUserAgent("Silk")},goog.labs.userAgent.browser.getVersion=function(){function e(e){return e=module$contents$goog$array_find(e,r),n[e]||""}var t=goog.labs.userAgent.util.getUserAgent();if(goog.labs.userAgent.browser.isIE())return goog.labs.userAgent.browser.getIEVersion_(t);t=goog.labs.userAgent.util.extractVersionTuples(t);var n={};module$contents$goog$array_forEach(t,(function(e){n[e[0]]=e[1]}));var r=goog.partial(goog.object.containsKey,n);return goog.labs.userAgent.browser.isOpera()?e(["Version","Opera"]):goog.labs.userAgent.browser.isEdge()?e(["Edge"]):goog.labs.userAgent.browser.isEdgeChromium()?e(["Edg"]):goog.labs.userAgent.browser.isChrome()?e(["Chrome","CriOS","HeadlessChrome"]):(t=t[2])&&t[1]||""},goog.labs.userAgent.browser.isVersionOrHigher=function(e){return 0<=goog.string.internal.compareVersions(goog.labs.userAgent.browser.getVersion(),e)},goog.labs.userAgent.browser.getIEVersion_=function(e){var t=/rv: *([\d\.]*)/.exec(e);if(t&&t[1])return t[1];t="";var n=/MSIE +([\d\.]+)/.exec(e);if(n&&n[1])if(e=/Trident\/(\d.\d)/.exec(e),"7.0"==n[1])if(e&&e[1])switch(e[1]){case"4.0":t="8.0";break;case"5.0":t="9.0";break;case"6.0":t="10.0";break;case"7.0":t="11.0"}else t="7.0";else t=n[1];return t},goog.html.SafeHtml=function(e,t,n){this.privateDoNotAccessOrElseSafeHtmlWrappedValue_=n===goog.html.SafeHtml.CONSTRUCTOR_TOKEN_PRIVATE_?e:"",this.dir_=t},goog.html.SafeHtml.ENABLE_ERROR_MESSAGES=goog.DEBUG,goog.html.SafeHtml.SUPPORT_STYLE_ATTRIBUTE=!0,goog.html.SafeHtml.prototype.implementsGoogI18nBidiDirectionalString=!0,goog.html.SafeHtml.prototype.getDirection=function(){return this.dir_},goog.html.SafeHtml.prototype.implementsGoogStringTypedString=!0,goog.html.SafeHtml.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_.toString()},goog.DEBUG&&(goog.html.SafeHtml.prototype.toString=function(){return"SafeHtml{"+this.privateDoNotAccessOrElseSafeHtmlWrappedValue_+"}"}),goog.html.SafeHtml.unwrap=function(e){return goog.html.SafeHtml.unwrapTrustedHTML(e).toString()},goog.html.SafeHtml.unwrapTrustedHTML=function(e){return e instanceof goog.html.SafeHtml&&e.constructor===goog.html.SafeHtml?e.privateDoNotAccessOrElseSafeHtmlWrappedValue_:(goog.asserts.fail("expected object of type SafeHtml, got '"+e+"' of type "+goog.typeOf(e)),"type_error:SafeHtml")},goog.html.SafeHtml.htmlEscape=function(e){if(e instanceof goog.html.SafeHtml)return e;var t="object"==typeof e,n=null;return t&&e.implementsGoogI18nBidiDirectionalString&&(n=e.getDirection()),e=t&&e.implementsGoogStringTypedString?e.getTypedStringValue():String(e),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.htmlEscape(e),n)},goog.html.SafeHtml.htmlEscapePreservingNewlines=function(e){return e instanceof goog.html.SafeHtml?e:(e=goog.html.SafeHtml.htmlEscape(e),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.newLineToBr(goog.html.SafeHtml.unwrap(e)),e.getDirection()))},goog.html.SafeHtml.htmlEscapePreservingNewlinesAndSpaces=function(e){return e instanceof goog.html.SafeHtml?e:(e=goog.html.SafeHtml.htmlEscape(e),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.whitespaceEscape(goog.html.SafeHtml.unwrap(e)),e.getDirection()))},goog.html.SafeHtml.from=goog.html.SafeHtml.htmlEscape,goog.html.SafeHtml.comment=function(e){return goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("\x3c!--"+goog.string.internal.htmlEscape(e)+"--\x3e",null)},goog.html.SafeHtml.VALID_NAMES_IN_TAG_=/^[a-zA-Z0-9-]+$/,goog.html.SafeHtml.URL_ATTRIBUTES_={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},goog.html.SafeHtml.NOT_ALLOWED_TAG_NAMES_=goog.object.createSet(goog.dom.TagName.APPLET,goog.dom.TagName.BASE,goog.dom.TagName.EMBED,goog.dom.TagName.IFRAME,goog.dom.TagName.LINK,goog.dom.TagName.MATH,goog.dom.TagName.META,goog.dom.TagName.OBJECT,goog.dom.TagName.SCRIPT,goog.dom.TagName.STYLE,goog.dom.TagName.SVG,goog.dom.TagName.TEMPLATE),goog.html.SafeHtml.create=function(e,t,n){return goog.html.SafeHtml.verifyTagName(String(e)),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse(String(e),t,n)},goog.html.SafeHtml.verifyTagName=function(e){if(!goog.html.SafeHtml.VALID_NAMES_IN_TAG_.test(e))throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?"Invalid tag name <"+e+">.":"");if(e.toUpperCase()in goog.html.SafeHtml.NOT_ALLOWED_TAG_NAMES_)throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?"Tag name <"+e+"> is not allowed for SafeHtml.":"")},goog.html.SafeHtml.createIframe=function(e,t,n,r){e&&goog.html.TrustedResourceUrl.unwrap(e);var o={};return o.src=e||null,o.srcdoc=t&&goog.html.SafeHtml.unwrap(t),e=goog.html.SafeHtml.combineAttributes(o,{sandbox:""},n),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe",e,r)},goog.html.SafeHtml.createSandboxIframe=function(e,t,n,r){if(!goog.html.SafeHtml.canUseSandboxIframe())throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?"The browser does not support sandboxed iframes.":"");var o={};return o.src=e?goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitize(e)):null,o.srcdoc=t||null,o.sandbox="",e=goog.html.SafeHtml.combineAttributes(o,{},n),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe",e,r)},goog.html.SafeHtml.canUseSandboxIframe=function(){return goog.global.HTMLIFrameElement&&"sandbox"in goog.global.HTMLIFrameElement.prototype},goog.html.SafeHtml.createScriptSrc=function(e,t){return goog.html.TrustedResourceUrl.unwrap(e),e=goog.html.SafeHtml.combineAttributes({src:e},{},t),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script",e)},goog.html.SafeHtml.createScript=function(e,t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=n.toLowerCase();if("language"==r||"src"==r||"text"==r||"type"==r)throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Cannot set "'+r+'" attribute':"")}for(n="",e=module$contents$goog$array_concat(e),r=0;r<e.length;r++)n+=module$contents$goog$html$SafeScript_SafeScript.unwrap(e[r]);return e=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(n,goog.i18n.bidi.Dir.NEUTRAL),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script",t,e)},goog.html.SafeHtml.createStyle=function(e,t){t=goog.html.SafeHtml.combineAttributes({type:"text/css"},{},t);var n="";e=module$contents$goog$array_concat(e);for(var r=0;r<e.length;r++)n+=module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap(e[r]);return e=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(n,goog.i18n.bidi.Dir.NEUTRAL),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("style",t,e)},goog.html.SafeHtml.createMetaRefresh=function(e,t){return e=goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitize(e)),(goog.labs.userAgent.browser.isIE()||goog.labs.userAgent.browser.isEdge())&&goog.string.internal.contains(e,";")&&(e="'"+e.replace(/'/g,"%27")+"'"),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("meta",{"http-equiv":"refresh",content:(t||0)+"; url="+e})},goog.html.SafeHtml.getAttrNameAndValue_=function(e,t,n){if(n instanceof goog.string.Const)n=goog.string.Const.unwrap(n);else if("style"==t.toLowerCase()){if(!goog.html.SafeHtml.SUPPORT_STYLE_ATTRIBUTE)throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Attribute "style" not supported.':"");n=goog.html.SafeHtml.getStyleValue_(n)}else{if(/^on/i.test(t))throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Attribute "'+t+'" requires goog.string.Const value, "'+n+'" given.':"");if(t.toLowerCase()in goog.html.SafeHtml.URL_ATTRIBUTES_)if(n instanceof goog.html.TrustedResourceUrl)n=goog.html.TrustedResourceUrl.unwrap(n);else if(n instanceof goog.html.SafeUrl)n=goog.html.SafeUrl.unwrap(n);else{if("string"!==typeof n)throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Attribute "'+t+'" on tag "'+e+'" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+n+'" given.':"");n=goog.html.SafeUrl.sanitize(n).getTypedStringValue()}}return n.implementsGoogStringTypedString&&(n=n.getTypedStringValue()),goog.asserts.assert("string"===typeof n||"number"===typeof n,"String or number value expected, got "+typeof n+" with value: "+n),t+'="'+goog.string.internal.htmlEscape(String(n))+'"'},goog.html.SafeHtml.getStyleValue_=function(e){if(!goog.isObject(e))throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'The "style" attribute requires goog.html.SafeStyle or map of style properties, '+typeof e+" given: "+e:"");return e instanceof goog.html.SafeStyle||(e=goog.html.SafeStyle.create(e)),goog.html.SafeStyle.unwrap(e)},goog.html.SafeHtml.createWithDir=function(e,t,n,r){return(t=goog.html.SafeHtml.create(t,n,r)).dir_=e,t},goog.html.SafeHtml.join=function(e,t){var n=(e=goog.html.SafeHtml.htmlEscape(e)).getDirection(),r=[];return module$contents$goog$array_forEach(t,(function e(t){Array.isArray(t)?module$contents$goog$array_forEach(t,e):(t=goog.html.SafeHtml.htmlEscape(t),r.push(goog.html.SafeHtml.unwrap(t)),t=t.getDirection(),n==goog.i18n.bidi.Dir.NEUTRAL?n=t:t!=goog.i18n.bidi.Dir.NEUTRAL&&n!=t&&(n=null))})),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(r.join(goog.html.SafeHtml.unwrap(e)),n)},goog.html.SafeHtml.concat=function(e){return goog.html.SafeHtml.join(goog.html.SafeHtml.EMPTY,Array.prototype.slice.call(arguments))},goog.html.SafeHtml.concatWithDir=function(e,t){var n=goog.html.SafeHtml.concat(module$contents$goog$array_slice(arguments,1));return n.dir_=e,n},goog.html.SafeHtml.CONSTRUCTOR_TOKEN_PRIVATE_={},goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse=function(e,t){var n=goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse();return e=n?n.createHTML(e):e,new goog.html.SafeHtml(e,t,goog.html.SafeHtml.CONSTRUCTOR_TOKEN_PRIVATE_)},goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse=function(e,t,n){var r=null,o="<"+e+goog.html.SafeHtml.stringifyAttributes(e,t);return null==n?n=[]:Array.isArray(n)||(n=[n]),goog.dom.tags.isVoidTag(e.toLowerCase())?(goog.asserts.assert(!n.length,"Void tag <"+e+"> does not allow content."),o+=">"):(r=goog.html.SafeHtml.concat(n),o+=">"+goog.html.SafeHtml.unwrap(r)+"</"+e+">",r=r.getDirection()),(e=t&&t.dir)&&(r=/^(ltr|rtl|auto)$/i.test(e)?goog.i18n.bidi.Dir.NEUTRAL:null),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(o,r)},goog.html.SafeHtml.stringifyAttributes=function(e,t){var n="";if(t)for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){if(!goog.html.SafeHtml.VALID_NAMES_IN_TAG_.test(r))throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Invalid attribute name "'+r+'".':"");var o=t[r];null!=o&&(n+=" "+goog.html.SafeHtml.getAttrNameAndValue_(e,r,o))}return n},goog.html.SafeHtml.combineAttributes=function(e,t,n){var r,o={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&(goog.asserts.assert(r.toLowerCase()==r,"Must be lower case"),o[r]=e[r]);for(r in t)Object.prototype.hasOwnProperty.call(t,r)&&(goog.asserts.assert(r.toLowerCase()==r,"Must be lower case"),o[r]=t[r]);if(n)for(r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var i=r.toLowerCase();if(i in e)throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Cannot override "'+i+'" attribute, got "'+r+'" with value "'+n[r]+'"':"");i in t&&delete o[i],o[r]=n[r]}return o},goog.html.SafeHtml.DOCTYPE_HTML=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("<!DOCTYPE html>",goog.i18n.bidi.Dir.NEUTRAL),goog.html.SafeHtml.EMPTY=new goog.html.SafeHtml(goog.global.trustedTypes&&goog.global.trustedTypes.emptyHTML||"",goog.i18n.bidi.Dir.NEUTRAL,goog.html.SafeHtml.CONSTRUCTOR_TOKEN_PRIVATE_),goog.html.SafeHtml.BR=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("<br>",goog.i18n.bidi.Dir.NEUTRAL),goog.html.uncheckedconversions={},goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract=function(e,t,n){return goog.asserts.assertString(goog.string.Const.unwrap(e),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(e)),"must provide non-empty justification"),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(t,n||null)},goog.html.uncheckedconversions.safeScriptFromStringKnownToSatisfyTypeContract=function(e,t){return goog.asserts.assertString(goog.string.Const.unwrap(e),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(e)),"must provide non-empty justification"),module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(t)},goog.html.uncheckedconversions.safeStyleFromStringKnownToSatisfyTypeContract=function(e,t){return goog.asserts.assertString(goog.string.Const.unwrap(e),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(e)),"must provide non-empty justification"),goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(t)},goog.html.uncheckedconversions.safeStyleSheetFromStringKnownToSatisfyTypeContract=function(e,t){return goog.asserts.assertString(goog.string.Const.unwrap(e),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(e)),"must provide non-empty justification"),module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(t)},goog.html.uncheckedconversions.safeUrlFromStringKnownToSatisfyTypeContract=function(e,t){return goog.asserts.assertString(goog.string.Const.unwrap(e),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(e)),"must provide non-empty justification"),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t)},goog.html.uncheckedconversions.trustedResourceUrlFromStringKnownToSatisfyTypeContract=function(e,t){return goog.asserts.assertString(goog.string.Const.unwrap(e),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(e)),"must provide non-empty justification"),goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(t)},goog.dom.safe={},goog.dom.safe.InsertAdjacentHtmlPosition={AFTERBEGIN:"afterbegin",AFTEREND:"afterend",BEFOREBEGIN:"beforebegin",BEFOREEND:"beforeend"},goog.dom.safe.insertAdjacentHtml=function(e,t,n){e.insertAdjacentHTML(t,goog.html.SafeHtml.unwrapTrustedHTML(n))},goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_={MATH:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},goog.dom.safe.isInnerHtmlCleanupRecursive_=goog.functions.cacheReturnValue((function(){if(goog.DEBUG&&"undefined"===typeof document)return!1;var e=document.createElement("div"),t=document.createElement("div");return t.appendChild(document.createElement("div")),e.appendChild(t),!(goog.DEBUG&&!e.firstChild)&&(t=e.firstChild.firstChild,e.innerHTML=goog.html.SafeHtml.unwrapTrustedHTML(goog.html.SafeHtml.EMPTY),!t.parentElement)})),goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse=function(e,t){if(goog.dom.safe.isInnerHtmlCleanupRecursive_())for(;e.lastChild;)e.removeChild(e.lastChild);e.innerHTML=goog.html.SafeHtml.unwrapTrustedHTML(t)},goog.dom.safe.setInnerHtml=function(e,t){if(goog.asserts.ENABLE_ASSERTS&&e.tagName){var n=e.tagName.toUpperCase();if(goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_[n])throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of "+e.tagName+".")}goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse(e,t)},goog.dom.safe.setInnerHtmlFromConstant=function(e,t){goog.dom.safe.setInnerHtml(e,goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract(goog.string.Const.from("Constant HTML to be immediatelly used."),goog.string.Const.unwrap(t)))},goog.dom.safe.setOuterHtml=function(e,t){e.outerHTML=goog.html.SafeHtml.unwrapTrustedHTML(t)},goog.dom.safe.setFormElementAction=function(e,t){t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),goog.dom.asserts.assertIsHTMLFormElement(e).action=goog.html.SafeUrl.unwrap(t)},goog.dom.safe.setButtonFormAction=function(e,t){t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),goog.dom.asserts.assertIsHTMLButtonElement(e).formAction=goog.html.SafeUrl.unwrap(t)},goog.dom.safe.setInputFormAction=function(e,t){t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),goog.dom.asserts.assertIsHTMLInputElement(e).formAction=goog.html.SafeUrl.unwrap(t)},goog.dom.safe.setStyle=function(e,t){e.style.cssText=goog.html.SafeStyle.unwrap(t)},goog.dom.safe.documentWrite=function(e,t){e.write(goog.html.SafeHtml.unwrapTrustedHTML(t))},goog.dom.safe.setAnchorHref=function(e,t){goog.dom.asserts.assertIsHTMLAnchorElement(e),t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),e.href=goog.html.SafeUrl.unwrap(t)},goog.dom.safe.setImageSrc=function(e,t){if(goog.dom.asserts.assertIsHTMLImageElement(e),!(t instanceof goog.html.SafeUrl)){var n=/^data:image\//i.test(t);t=goog.html.SafeUrl.sanitizeAssertUnchanged(t,n)}e.src=goog.html.SafeUrl.unwrap(t)},goog.dom.safe.setAudioSrc=function(e,t){if(goog.dom.asserts.assertIsHTMLAudioElement(e),!(t instanceof goog.html.SafeUrl)){var n=/^data:audio\//i.test(t);t=goog.html.SafeUrl.sanitizeAssertUnchanged(t,n)}e.src=goog.html.SafeUrl.unwrap(t)},goog.dom.safe.setVideoSrc=function(e,t){if(goog.dom.asserts.assertIsHTMLVideoElement(e),!(t instanceof goog.html.SafeUrl)){var n=/^data:video\//i.test(t);t=goog.html.SafeUrl.sanitizeAssertUnchanged(t,n)}e.src=goog.html.SafeUrl.unwrap(t)},goog.dom.safe.setEmbedSrc=function(e,t){goog.dom.asserts.assertIsHTMLEmbedElement(e),e.src=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(t)},goog.dom.safe.setFrameSrc=function(e,t){goog.dom.asserts.assertIsHTMLFrameElement(e),e.src=goog.html.TrustedResourceUrl.unwrap(t)},goog.dom.safe.setIframeSrc=function(e,t){goog.dom.asserts.assertIsHTMLIFrameElement(e),e.src=goog.html.TrustedResourceUrl.unwrap(t)},goog.dom.safe.setIframeSrcdoc=function(e,t){goog.dom.asserts.assertIsHTMLIFrameElement(e),e.srcdoc=goog.html.SafeHtml.unwrapTrustedHTML(t)},goog.dom.safe.setLinkHrefAndRel=function(e,t,n){goog.dom.asserts.assertIsHTMLLinkElement(e),e.rel=n,goog.string.internal.caseInsensitiveContains(n,"stylesheet")?(goog.asserts.assert(t instanceof goog.html.TrustedResourceUrl,'URL must be TrustedResourceUrl because "rel" contains "stylesheet"'),e.href=goog.html.TrustedResourceUrl.unwrap(t)):e.href=t instanceof goog.html.TrustedResourceUrl?goog.html.TrustedResourceUrl.unwrap(t):t instanceof goog.html.SafeUrl?goog.html.SafeUrl.unwrap(t):goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitizeAssertUnchanged(t))},goog.dom.safe.setObjectData=function(e,t){goog.dom.asserts.assertIsHTMLObjectElement(e),e.data=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(t)},goog.dom.safe.setScriptSrc=function(e,t){goog.dom.asserts.assertIsHTMLScriptElement(e),e.src=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(t),goog.dom.safe.setNonceForScriptElement_(e)},goog.dom.safe.setScriptContent=function(e,t){goog.dom.asserts.assertIsHTMLScriptElement(e),e.textContent=module$contents$goog$html$SafeScript_SafeScript.unwrapTrustedScript(t),goog.dom.safe.setNonceForScriptElement_(e)},goog.dom.safe.setNonceForScriptElement_=function(e){var t=goog.getScriptNonce(e.ownerDocument&&e.ownerDocument.defaultView);t&&e.setAttribute("nonce",t)},goog.dom.safe.setLocationHref=function(e,t){goog.dom.asserts.assertIsLocation(e),t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),e.href=goog.html.SafeUrl.unwrap(t)},goog.dom.safe.assignLocation=function(e,t){goog.dom.asserts.assertIsLocation(e),t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),e.assign(goog.html.SafeUrl.unwrap(t))},goog.dom.safe.replaceLocation=function(e,t){t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),e.replace(goog.html.SafeUrl.unwrap(t))},goog.dom.safe.openInWindow=function(e,t,n,r,o){return e=e instanceof goog.html.SafeUrl?e:goog.html.SafeUrl.sanitizeAssertUnchanged(e),t=t||goog.global,n=n instanceof goog.string.Const?goog.string.Const.unwrap(n):n||"",t.open(goog.html.SafeUrl.unwrap(e),n,r,o)},goog.dom.safe.parseFromStringHtml=function(e,t){return goog.dom.safe.parseFromString(e,t,"text/html")},goog.dom.safe.parseFromString=function(e,t,n){return e.parseFromString(goog.html.SafeHtml.unwrapTrustedHTML(t),n)},goog.dom.safe.createImageFromBlob=function(e){if(!/^image\/.*/g.test(e.type))throw Error("goog.dom.safe.createImageFromBlob only accepts MIME type image/.*.");var t=goog.global.URL.createObjectURL(e);return(e=new goog.global.Image).onload=function(){goog.global.URL.revokeObjectURL(t)},goog.dom.safe.setImageSrc(e,goog.html.uncheckedconversions.safeUrlFromStringKnownToSatisfyTypeContract(goog.string.Const.from("Image blob URL."),t)),e},goog.string.DETECT_DOUBLE_ESCAPING=!1,goog.string.FORCE_NON_DOM_HTML_UNESCAPING=!1,goog.string.Unicode={NBSP:"\xa0"},goog.string.startsWith=goog.string.internal.startsWith,goog.string.endsWith=goog.string.internal.endsWith,goog.string.caseInsensitiveStartsWith=goog.string.internal.caseInsensitiveStartsWith,goog.string.caseInsensitiveEndsWith=goog.string.internal.caseInsensitiveEndsWith,goog.string.caseInsensitiveEquals=goog.string.internal.caseInsensitiveEquals,goog.string.subs=function(e,t){for(var n=e.split("%s"),r="",o=Array.prototype.slice.call(arguments,1);o.length&&1<n.length;)r+=n.shift()+o.shift();return r+n.join("%s")},goog.string.collapseWhitespace=function(e){return e.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")},goog.string.isEmptyOrWhitespace=goog.string.internal.isEmptyOrWhitespace,goog.string.isEmptyString=function(e){return 0==e.length},goog.string.isEmpty=goog.string.isEmptyOrWhitespace,goog.string.isEmptyOrWhitespaceSafe=function(e){return goog.string.isEmptyOrWhitespace(goog.string.makeSafe(e))},goog.string.isEmptySafe=goog.string.isEmptyOrWhitespaceSafe,goog.string.isBreakingWhitespace=function(e){return!/[^\t\n\r ]/.test(e)},goog.string.isAlpha=function(e){return!/[^a-zA-Z]/.test(e)},goog.string.isNumeric=function(e){return!/[^0-9]/.test(e)},goog.string.isAlphaNumeric=function(e){return!/[^a-zA-Z0-9]/.test(e)},goog.string.isSpace=function(e){return" "==e},goog.string.isUnicodeChar=function(e){return 1==e.length&&" "<=e&&"~">=e||"\x80"<=e&&"\ufffd">=e},goog.string.stripNewlines=function(e){return e.replace(/(\r\n|\r|\n)+/g," ")},goog.string.canonicalizeNewlines=function(e){return e.replace(/(\r\n|\r|\n)/g,"\n")},goog.string.normalizeWhitespace=function(e){return e.replace(/\xa0|\s/g," ")},goog.string.normalizeSpaces=function(e){return e.replace(/\xa0|[ \t]+/g," ")},goog.string.collapseBreakingSpaces=function(e){return e.replace(/[\t\r\n ]+/g," ").replace(/^[\t\r\n ]+|[\t\r\n ]+$/g,"")},goog.string.trim=goog.string.internal.trim,goog.string.trimLeft=function(e){return e.replace(/^[\s\xa0]+/,"")},goog.string.trimRight=function(e){return e.replace(/[\s\xa0]+$/,"")},goog.string.caseInsensitiveCompare=goog.string.internal.caseInsensitiveCompare,goog.string.numberAwareCompare_=function(e,t,n){if(e==t)return 0;if(!e)return-1;if(!t)return 1;for(var r=e.toLowerCase().match(n),o=t.toLowerCase().match(n),i=Math.min(r.length,o.length),a=0;a<i;a++){n=r[a];var s=o[a];if(n!=s)return e=parseInt(n,10),!isNaN(e)&&(t=parseInt(s,10),!isNaN(t)&&e-t)?e-t:n<s?-1:1}return r.length!=o.length?r.length-o.length:e<t?-1:1},goog.string.intAwareCompare=function(e,t){return goog.string.numberAwareCompare_(e,t,/\d+|\D+/g)},goog.string.floatAwareCompare=function(e,t){return goog.string.numberAwareCompare_(e,t,/\d+|\.\d+|\D+/g)},goog.string.numerateCompare=goog.string.floatAwareCompare,goog.string.urlEncode=function(e){return encodeURIComponent(String(e))},goog.string.urlDecode=function(e){return decodeURIComponent(e.replace(/\+/g," "))},goog.string.newLineToBr=goog.string.internal.newLineToBr,goog.string.htmlEscape=function(e,t){return e=goog.string.internal.htmlEscape(e,t),goog.string.DETECT_DOUBLE_ESCAPING&&(e=e.replace(goog.string.E_RE_,"&#101;")),e},goog.string.E_RE_=/e/g,goog.string.unescapeEntities=function(e){return goog.string.contains(e,"&")?!goog.string.FORCE_NON_DOM_HTML_UNESCAPING&&"document"in goog.global?goog.string.unescapeEntitiesUsingDom_(e):goog.string.unescapePureXmlEntities_(e):e},goog.string.unescapeEntitiesWithDocument=function(e,t){return goog.string.contains(e,"&")?goog.string.unescapeEntitiesUsingDom_(e,t):e},goog.string.unescapeEntitiesUsingDom_=function(e,t){var n={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"'},r=t?t.createElement("div"):goog.global.document.createElement("div");return e.replace(goog.string.HTML_ENTITY_PATTERN_,(function(e,t){var o=n[e];return o||("#"==t.charAt(0)&&(t=Number("0"+t.substr(1)),isNaN(t)||(o=String.fromCharCode(t))),o||(goog.dom.safe.setInnerHtml(r,goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract(goog.string.Const.from("Single HTML entity."),e+" ")),o=r.firstChild.nodeValue.slice(0,-1)),n[e]=o)}))},goog.string.unescapePureXmlEntities_=function(e){return e.replace(/&([^;]+);/g,(function(e,t){switch(t){case"amp":return"&";case"lt":return"<";case"gt":return">";case"quot":return'"';default:return"#"!=t.charAt(0)||(t=Number("0"+t.substr(1)),isNaN(t))?e:String.fromCharCode(t)}}))},goog.string.HTML_ENTITY_PATTERN_=/&([^;\s<&]+);?/g,goog.string.whitespaceEscape=function(e,t){return goog.string.newLineToBr(e.replace(/  /g," &#160;"),t)},goog.string.preserveSpaces=function(e){return e.replace(/(^|[\n ]) /g,"$1"+goog.string.Unicode.NBSP)},goog.string.stripQuotes=function(e,t){for(var n=t.length,r=0;r<n;r++){var o=1==n?t:t.charAt(r);if(e.charAt(0)==o&&e.charAt(e.length-1)==o)return e.substring(1,e.length-1)}return e},goog.string.truncate=function(e,t,n){return n&&(e=goog.string.unescapeEntities(e)),e.length>t&&(e=e.substring(0,t-3)+"..."),n&&(e=goog.string.htmlEscape(e)),e},goog.string.truncateMiddle=function(e,t,n,r){if(n&&(e=goog.string.unescapeEntities(e)),r&&e.length>t){r>t&&(r=t);var o=e.length-r;e=e.substring(0,t-r)+"..."+e.substring(o)}else e.length>t&&(r=Math.floor(t/2),o=e.length-r,e=e.substring(0,r+t%2)+"..."+e.substring(o));return n&&(e=goog.string.htmlEscape(e)),e},goog.string.specialEscapeChars_={"\0":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\x0B",'"':'\\"',"\\":"\\\\","<":"\\u003C"},goog.string.jsEscapeCache_={"'":"\\'"},goog.string.quote=function(e){e=String(e);for(var t=['"'],n=0;n<e.length;n++){var r=e.charAt(n),o=r.charCodeAt(0);t[n+1]=goog.string.specialEscapeChars_[r]||(31<o&&127>o?r:goog.string.escapeChar(r))}return t.push('"'),t.join("")},goog.string.escapeString=function(e){for(var t=[],n=0;n<e.length;n++)t[n]=goog.string.escapeChar(e.charAt(n));return t.join("")},goog.string.escapeChar=function(e){if(e in goog.string.jsEscapeCache_)return goog.string.jsEscapeCache_[e];if(e in goog.string.specialEscapeChars_)return goog.string.jsEscapeCache_[e]=goog.string.specialEscapeChars_[e];var t=e.charCodeAt(0);if(31<t&&127>t)var n=e;else 256>t?(n="\\x",(16>t||256<t)&&(n+="0")):(n="\\u",4096>t&&(n+="0")),n+=t.toString(16).toUpperCase();return goog.string.jsEscapeCache_[e]=n},goog.string.contains=goog.string.internal.contains,goog.string.caseInsensitiveContains=goog.string.internal.caseInsensitiveContains,goog.string.countOf=function(e,t){return e&&t?e.split(t).length-1:0},goog.string.removeAt=function(e,t,n){var r=e;return 0<=t&&t<e.length&&0<n&&(r=e.substr(0,t)+e.substr(t+n,e.length-t-n)),r},goog.string.remove=function(e,t){return e.replace(t,"")},goog.string.removeAll=function(e,t){return t=new RegExp(goog.string.regExpEscape(t),"g"),e.replace(t,"")},goog.string.replaceAll=function(e,t,n){return t=new RegExp(goog.string.regExpEscape(t),"g"),e.replace(t,n.replace(/\$/g,"$$$$"))},goog.string.regExpEscape=function(e){return String(e).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},goog.string.repeat=String.prototype.repeat?function(e,t){return e.repeat(t)}:function(e,t){return Array(t+1).join(e)},goog.string.padNumber=function(e,t,n){return-1==(n=(e=void 0!==n?e.toFixed(n):String(e)).indexOf("."))&&(n=e.length),goog.string.repeat("0",Math.max(0,t-n))+e},goog.string.makeSafe=function(e){return null==e?"":String(e)},goog.string.buildString=function(e){return Array.prototype.join.call(arguments,"")},goog.string.getRandomString=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^goog.now()).toString(36)},goog.string.compareVersions=goog.string.internal.compareVersions,goog.string.hashCode=function(e){for(var t=0,n=0;n<e.length;++n)t=31*t+e.charCodeAt(n)>>>0;return t},goog.string.uniqueStringCounter_=2147483648*Math.random()|0,goog.string.createUniqueString=function(){return"goog_"+goog.string.uniqueStringCounter_++},goog.string.toNumber=function(e){var t=Number(e);return 0==t&&goog.string.isEmptyOrWhitespace(e)?NaN:t},goog.string.isLowerCamelCase=function(e){return/^[a-z]+([A-Z][a-z]*)*$/.test(e)},goog.string.isUpperCamelCase=function(e){return/^([A-Z][a-z]*)+$/.test(e)},goog.string.toCamelCase=function(e){return String(e).replace(/\-([a-z])/g,(function(e,t){return t.toUpperCase()}))},goog.string.toSelectorCase=function(e){return String(e).replace(/([A-Z])/g,"-$1").toLowerCase()},goog.string.toTitleCase=function(e,t){return t="string"===typeof t?goog.string.regExpEscape(t):"\\s",e.replace(new RegExp("(^"+(t?"|["+t+"]+":"")+")([a-z])","g"),(function(e,t,n){return t+n.toUpperCase()}))},goog.string.capitalize=function(e){return String(e.charAt(0)).toUpperCase()+String(e.substr(1)).toLowerCase()},goog.string.parseInt=function(e){return isFinite(e)&&(e=String(e)),"string"===typeof e?/^\s*-?0x/i.test(e)?parseInt(e,16):parseInt(e,10):NaN},goog.string.splitLimit=function(e,t,n){e=e.split(t);for(var r=[];0<n&&e.length;)r.push(e.shift()),n--;return e.length&&r.push(e.join(t)),r},goog.string.lastComponent=function(e,t){if(!t)return e;"string"==typeof t&&(t=[t]);for(var n=-1,r=0;r<t.length;r++)if(""!=t[r]){var o=e.lastIndexOf(t[r]);o>n&&(n=o)}return-1==n?e:e.slice(n+1)},goog.string.editDistance=function(e,t){var n=[],r=[];if(e==t)return 0;if(!e.length||!t.length)return Math.max(e.length,t.length);for(var o=0;o<t.length+1;o++)n[o]=o;for(o=0;o<e.length;o++){r[0]=o+1;for(var i=0;i<t.length;i++)r[i+1]=Math.min(r[i]+1,n[i+1]+1,n[i]+Number(e[o]!=t[i]));for(i=0;i<n.length;i++)n[i]=r[i]}return r[t.length]},goog.proto2={},goog.proto2.Descriptor=function(e,t,n){for(this.messageType_=e,this.name_=t.name||null,this.fullName_=t.fullName||null,this.containingType_=t.containingType,this.fields_={},e=0;e<n.length;e++)t=n[e],this.fields_[t.getTag()]=t},goog.proto2.Descriptor.prototype.getName=function(){return this.name_},goog.proto2.Descriptor.prototype.getFullName=function(){return this.fullName_},goog.proto2.Descriptor.prototype.getContainingType=function(){return this.containingType_?this.containingType_.getDescriptor():null},goog.proto2.Descriptor.prototype.getFields=function(){var e=goog.object.getValues(this.fields_);return module$contents$goog$array_sort(e,(function(e,t){return e.getTag()-t.getTag()})),e},goog.proto2.Descriptor.prototype.getFieldsMap=function(){return this.fields_},goog.proto2.Descriptor.prototype.findFieldByName=function(e){return goog.object.findValue(this.fields_,(function(t,n,r){return t.getName()==e}))||null},goog.proto2.Descriptor.prototype.findFieldByTag=function(e){return goog.asserts.assert(goog.string.isNumeric(e)),this.fields_[parseInt(e,10)]||null},goog.proto2.Descriptor.prototype.createMessageInstance=function(){return new this.messageType_},goog.proto2.FieldDescriptor=function(e,t,n){switch(this.parent_=e,goog.asserts.assert(goog.string.isNumeric(t)),this.tag_=t,this.name_=n.name,this.isPacked_=!!n.packed,this.isRepeated_=!!n.repeated,this.isRequired_=!!n.required,this.fieldType_=n.fieldType,this.nativeType_=n.type,this.deserializationConversionPermitted_=!1,this.fieldType_){case goog.proto2.FieldDescriptor.FieldType.INT64:case goog.proto2.FieldDescriptor.FieldType.UINT64:case goog.proto2.FieldDescriptor.FieldType.FIXED64:case goog.proto2.FieldDescriptor.FieldType.SFIXED64:case goog.proto2.FieldDescriptor.FieldType.SINT64:case goog.proto2.FieldDescriptor.FieldType.FLOAT:case goog.proto2.FieldDescriptor.FieldType.DOUBLE:this.deserializationConversionPermitted_=!0}this.defaultValue_=n.defaultValue},goog.proto2.FieldDescriptor.FieldType={DOUBLE:1,FLOAT:2,INT64:3,UINT64:4,INT32:5,FIXED64:6,FIXED32:7,BOOL:8,STRING:9,GROUP:10,MESSAGE:11,BYTES:12,UINT32:13,ENUM:14,SFIXED32:15,SFIXED64:16,SINT32:17,SINT64:18},goog.proto2.FieldDescriptor.prototype.getTag=function(){return this.tag_},goog.proto2.FieldDescriptor.prototype.getContainingType=function(){return this.parent_.prototype.getDescriptor()},goog.proto2.FieldDescriptor.prototype.getName=function(){return this.name_},goog.proto2.FieldDescriptor.prototype.getDefaultValue=function(){if(void 0===this.defaultValue_){var e=this.nativeType_;if(e===Boolean)this.defaultValue_=!1;else if(e===Number)this.defaultValue_=0;else{if(e!==String)return new e;this.defaultValue_=this.deserializationConversionPermitted_?"0":""}}return this.defaultValue_},goog.proto2.FieldDescriptor.prototype.getFieldType=function(){return this.fieldType_},goog.proto2.FieldDescriptor.prototype.getNativeType=function(){return this.nativeType_},goog.proto2.FieldDescriptor.prototype.deserializationConversionPermitted=function(){return this.deserializationConversionPermitted_},goog.proto2.FieldDescriptor.prototype.getFieldMessageType=function(){return this.nativeType_.prototype.getDescriptor()},goog.proto2.FieldDescriptor.prototype.isCompositeType=function(){return this.fieldType_==goog.proto2.FieldDescriptor.FieldType.MESSAGE||this.fieldType_==goog.proto2.FieldDescriptor.FieldType.GROUP},goog.proto2.FieldDescriptor.prototype.isPacked=function(){return this.isPacked_},goog.proto2.FieldDescriptor.prototype.isRepeated=function(){return this.isRepeated_},goog.proto2.FieldDescriptor.prototype.isRequired=function(){return this.isRequired_},goog.proto2.FieldDescriptor.prototype.isOptional=function(){return!this.isRepeated_&&!this.isRequired_},goog.proto2.Message=function(){this.values_={},this.fields_=this.getDescriptor().getFieldsMap(),this.deserializedFields_=this.lazyDeserializer_=null},goog.proto2.Message.FieldType={DOUBLE:1,FLOAT:2,INT64:3,UINT64:4,INT32:5,FIXED64:6,FIXED32:7,BOOL:8,STRING:9,GROUP:10,MESSAGE:11,BYTES:12,UINT32:13,ENUM:14,SFIXED32:15,SFIXED64:16,SINT32:17,SINT64:18},goog.proto2.Message.prototype.initializeForLazyDeserializer=function(e,t){this.lazyDeserializer_=e,this.values_=t,this.deserializedFields_={}},goog.proto2.Message.prototype.setUnknown=function(e,t){goog.asserts.assert(!this.fields_[e],"Field is not unknown in this message"),goog.asserts.assert(1<=e,"Tag "+e+' has value "'+t+'" in descriptor '+this.getDescriptor().getName()),goog.asserts.assert(null!==t,"Value cannot be null"),this.values_[e]=t,this.deserializedFields_&&delete this.deserializedFields_[e]},goog.proto2.Message.prototype.forEachUnknown=function(e,t){for(var n in t=t||this,this.values_){var r=Number(n);this.fields_[r]||e.call(t,r,this.values_[n])}},goog.proto2.Message.prototype.getDescriptor=goog.abstractMethod,goog.proto2.Message.prototype.has=function(e){return goog.asserts.assert(e.getContainingType()==this.getDescriptor(),"The current message does not contain the given field"),this.has$Value(e.getTag())},goog.proto2.Message.prototype.arrayOf=function(e){return goog.asserts.assert(e.getContainingType()==this.getDescriptor(),"The current message does not contain the given field"),this.array$Values(e.getTag())},goog.proto2.Message.prototype.countOf=function(e){return goog.asserts.assert(e.getContainingType()==this.getDescriptor(),"The current message does not contain the given field"),this.count$Values(e.getTag())},goog.proto2.Message.prototype.get=function(e,t){return goog.asserts.assert(e.getContainingType()==this.getDescriptor(),"The current message does not contain the given field"),this.get$Value(e.getTag(),t)},goog.proto2.Message.prototype.getOrDefault=function(e,t){return goog.asserts.assert(e.getContainingType()==this.getDescriptor(),"The current message does not contain the given field"),this.get$ValueOrDefault(e.getTag(),t)},goog.proto2.Message.prototype.set=function(e,t){goog.asserts.assert(e.getContainingType()==this.getDescriptor(),"The current message does not contain the given field"),this.set$Value(e.getTag(),t)},goog.proto2.Message.prototype.add=function(e,t){goog.asserts.assert(e.getContainingType()==this.getDescriptor(),"The current message does not contain the given field"),this.add$Value(e.getTag(),t)},goog.proto2.Message.prototype.clear=function(e){goog.asserts.assert(e.getContainingType()==this.getDescriptor(),"The current message does not contain the given field"),this.clear$Field(e.getTag())},goog.proto2.Message.prototype.equals=function(e){if(!e||this.constructor!=e.constructor)return!1;for(var t=this.getDescriptor().getFields(),n=0;n<t.length;n++){var r=t[n],o=r.getTag();if(this.has$Value(o)!=e.has$Value(o))return!1;if(this.has$Value(o)){var i=r.isCompositeType(),a=this.getValueForTag_(o);if(o=e.getValueForTag_(o),r.isRepeated()){if(a.length!=o.length)return!1;for(r=0;r<a.length;r++){var s=a[r],l=o[r];if(i?!s.equals(l):s!=l)return!1}}else if(i?!a.equals(o):a!=o)return!1}}return!0},goog.proto2.Message.prototype.copyFrom=function(e){goog.asserts.assert(this.constructor==e.constructor,"The source message must have the same type."),this!=e&&(this.values_={},this.deserializedFields_&&(this.deserializedFields_={}),this.mergeFrom(e))},goog.proto2.Message.prototype.mergeFrom=function(e){goog.asserts.assert(this.constructor==e.constructor,"The source message must have the same type.");for(var t=this.getDescriptor().getFields(),n=0;n<t.length;n++){var r=t[n],o=r.getTag();if(e.has$Value(o)){this.deserializedFields_&&delete this.deserializedFields_[r.getTag()];var i=r.isCompositeType();if(r.isRepeated()){r=e.array$Values(o);for(var a=0;a<r.length;a++)this.add$Value(o,i?r[a].clone():r[a])}else r=e.getValueForTag_(o),i?(i=this.getValueForTag_(o))?i.mergeFrom(r):this.set$Value(o,r.clone()):this.set$Value(o,r)}}},goog.proto2.Message.prototype.clone=function(){var e=new this.constructor;return e.copyFrom(this),e},goog.proto2.Message.prototype.initDefaults=function(e){for(var t=this.getDescriptor().getFields(),n=0;n<t.length;n++){var r=t[n],o=r.getTag(),i=r.isCompositeType();if(this.has$Value(o)||r.isRepeated()||(i?this.values_[o]=new(r.getNativeType()):e&&(this.values_[o]=r.getDefaultValue())),i)if(r.isRepeated())for(r=this.array$Values(o),o=0;o<r.length;o++)r[o].initDefaults(e);else this.get$Value(o).initDefaults(e)}},goog.proto2.Message.prototype.has$Value=function(e){return null!=this.values_[e]},goog.proto2.Message.prototype.getValueForTag_=function(e){var t=this.values_[e];return null==t?null:this.lazyDeserializer_?e in this.deserializedFields_?this.deserializedFields_[e]:(t=this.lazyDeserializer_.deserializeField(this,this.fields_[e],t),this.deserializedFields_[e]=t):t},goog.proto2.Message.prototype.get$Value=function(e,t){var n=this.getValueForTag_(e);return this.fields_[e].isRepeated()?(e=t||0,goog.asserts.assert(0<=e&&e<n.length,"Given index %s is out of bounds.  Repeated field length: %s",e,n.length),n[e]):n},goog.proto2.Message.prototype.get$ValueOrDefault=function(e,t){return this.has$Value(e)?this.get$Value(e,t):this.fields_[e].getDefaultValue()},goog.proto2.Message.prototype.array$Values=function(e){return this.getValueForTag_(e)||[]},goog.proto2.Message.prototype.count$Values=function(e){return this.fields_[e].isRepeated()?this.has$Value(e)?this.values_[e].length:0:this.has$Value(e)?1:0},goog.proto2.Message.prototype.set$Value=function(e,t){goog.asserts.ENABLE_ASSERTS&&this.checkFieldType_(this.fields_[e],t),this.values_[e]=t,this.deserializedFields_&&(this.deserializedFields_[e]=t)},goog.proto2.Message.prototype.add$Value=function(e,t){goog.asserts.ENABLE_ASSERTS&&this.checkFieldType_(this.fields_[e],t),this.values_[e]||(this.values_[e]=[]),this.values_[e].push(t),this.deserializedFields_&&delete this.deserializedFields_[e]},goog.proto2.Message.prototype.checkFieldType_=function(e,t){e.getFieldType()==goog.proto2.FieldDescriptor.FieldType.ENUM?goog.asserts.assertNumber(t):goog.asserts.assert(Object(t).constructor==e.getNativeType())},goog.proto2.Message.prototype.clear$Field=function(e){delete this.values_[e],this.deserializedFields_&&delete this.deserializedFields_[e]},goog.proto2.Message.createDescriptor=function(e,t){var n,r=[],o=t[0];for(n in t)0!=n&&r.push(new goog.proto2.FieldDescriptor(e,n,t[n]));return new goog.proto2.Descriptor(e,o,r)},goog.proto2.Serializer=function(){},goog.proto2.Serializer.DECODE_SYMBOLIC_ENUMS=!1,goog.proto2.Serializer.prototype.serialize=goog.abstractMethod,goog.proto2.Serializer.prototype.getSerializedValue=function(e,t){return e.isCompositeType()?this.serialize(t):"number"!==typeof t||isFinite(t)?t:t.toString()},goog.proto2.Serializer.prototype.deserialize=function(e,t){return e=e.createMessageInstance(),this.deserializeTo(e,t),goog.asserts.assert(e instanceof goog.proto2.Message),e},goog.proto2.Serializer.prototype.deserializeTo=goog.abstractMethod,goog.proto2.Serializer.prototype.getDeserializedValue=function(e,t){if(e.isCompositeType())return t instanceof goog.proto2.Message?t:this.deserialize(e.getFieldMessageType(),t);if(e.getFieldType()==goog.proto2.FieldDescriptor.FieldType.ENUM)return goog.proto2.Serializer.DECODE_SYMBOLIC_ENUMS&&"string"===typeof t&&(e=e.getNativeType()).hasOwnProperty(t)?e[t]:"string"===typeof t&&goog.proto2.Serializer.INTEGER_REGEX.test(t)&&0<(e=Number(t))?e:t;if(!e.deserializationConversionPermitted())return t;if((e=e.getNativeType())===String){if("number"===typeof t)return String(t)}else if(e===Number&&"string"===typeof t&&("Infinity"===t||"-Infinity"===t||"NaN"===t||goog.proto2.Serializer.INTEGER_REGEX.test(t)))return Number(t);return t},goog.proto2.Serializer.INTEGER_REGEX=/^-?[0-9]+$/,goog.proto2.LazyDeserializer=function(){},goog.inherits(goog.proto2.LazyDeserializer,goog.proto2.Serializer),goog.proto2.LazyDeserializer.prototype.deserialize=function(e,t){return(e=e.createMessageInstance()).initializeForLazyDeserializer(this,t),goog.asserts.assert(e instanceof goog.proto2.Message),e},goog.proto2.LazyDeserializer.prototype.deserializeTo=function(e,t){throw Error("Unimplemented")},goog.proto2.LazyDeserializer.prototype.deserializeField=goog.abstractMethod,goog.proto2.PbLiteSerializer=function(){},goog.inherits(goog.proto2.PbLiteSerializer,goog.proto2.LazyDeserializer),goog.proto2.PbLiteSerializer.prototype.zeroIndexing_=!1,goog.proto2.PbLiteSerializer.prototype.setZeroIndexed=function(e){this.zeroIndexing_=e},goog.proto2.PbLiteSerializer.prototype.serialize=function(e){for(var t=e.getDescriptor().getFields(),n=[],r=this.zeroIndexing_,o=0;o<t.length;o++){var i=t[o];if(e.has(i)){var a=i.getTag();if(a=r?a-1:a,i.isRepeated()){n[a]=[];for(var s=0;s<e.countOf(i);s++)n[a][s]=this.getSerializedValue(i,e.get(i,s))}else n[a]=this.getSerializedValue(i,e.get(i))}}return e.forEachUnknown((function(e,t){n[r?e-1:e]=t})),n},goog.proto2.PbLiteSerializer.prototype.deserializeField=function(e,t,n){if(null==n)return n;if(t.isRepeated()){e=[],goog.asserts.assert(Array.isArray(n),"Value must be array: %s",n);for(var r=0;r<n.length;r++)e[r]=this.getDeserializedValue(t,n[r]);return e}return this.getDeserializedValue(t,n)},goog.proto2.PbLiteSerializer.prototype.getSerializedValue=function(e,t){return e.getFieldType()==goog.proto2.FieldDescriptor.FieldType.BOOL?t?1:0:goog.proto2.Serializer.prototype.getSerializedValue.apply(this,arguments)},goog.proto2.PbLiteSerializer.prototype.getDeserializedValue=function(e,t){return e.getFieldType()==goog.proto2.FieldDescriptor.FieldType.BOOL?(goog.asserts.assert("number"===typeof t||"boolean"===typeof t,"Value is expected to be a number or boolean"),!!t):goog.proto2.Serializer.prototype.getDeserializedValue.apply(this,arguments)},goog.proto2.PbLiteSerializer.prototype.deserialize=function(e,t){var n=t;if(this.zeroIndexing_)for(var r in n=[],t)n[parseInt(r,10)+1]=t[r];return goog.proto2.PbLiteSerializer.superClass_.deserialize.call(this,e,n)},goog.string.StringBuffer=function(e,t){null!=e&&this.append.apply(this,arguments)},goog.string.StringBuffer.prototype.buffer_="",goog.string.StringBuffer.prototype.set=function(e){this.buffer_=""+e},goog.string.StringBuffer.prototype.append=function(e,t,n){if(this.buffer_+=String(e),null!=t)for(var r=1;r<arguments.length;r++)this.buffer_+=arguments[r];return this},goog.string.StringBuffer.prototype.clear=function(){this.buffer_=""},goog.string.StringBuffer.prototype.getLength=function(){return this.buffer_.length},goog.string.StringBuffer.prototype.toString=function(){return this.buffer_};var i18n={phonenumbers:{}};i18n.phonenumbers.NumberFormat=function(){goog.proto2.Message.call(this)},goog.inherits(i18n.phonenumbers.NumberFormat,goog.proto2.Message),i18n.phonenumbers.NumberFormat.descriptor_=null,i18n.phonenumbers.NumberFormat.prototype.getPattern=function(){return this.get$Value(1)},i18n.phonenumbers.NumberFormat.prototype.getPatternOrDefault=function(){return this.get$ValueOrDefault(1)},i18n.phonenumbers.NumberFormat.prototype.setPattern=function(e){this.set$Value(1,e)},i18n.phonenumbers.NumberFormat.prototype.hasPattern=function(){return this.has$Value(1)},i18n.phonenumbers.NumberFormat.prototype.patternCount=function(){return this.count$Values(1)},i18n.phonenumbers.NumberFormat.prototype.clearPattern=function(){this.clear$Field(1)},i18n.phonenumbers.NumberFormat.prototype.getFormat=function(){return this.get$Value(2)},i18n.phonenumbers.NumberFormat.prototype.getFormatOrDefault=function(){return this.get$ValueOrDefault(2)},i18n.phonenumbers.NumberFormat.prototype.setFormat=function(e){this.set$Value(2,e)},i18n.phonenumbers.NumberFormat.prototype.hasFormat=function(){return this.has$Value(2)},i18n.phonenumbers.NumberFormat.prototype.formatCount=function(){return this.count$Values(2)},i18n.phonenumbers.NumberFormat.prototype.clearFormat=function(){this.clear$Field(2)},i18n.phonenumbers.NumberFormat.prototype.getLeadingDigitsPattern=function(e){return this.get$Value(3,e)},i18n.phonenumbers.NumberFormat.prototype.getLeadingDigitsPatternOrDefault=function(e){return this.get$ValueOrDefault(3,e)},i18n.phonenumbers.NumberFormat.prototype.addLeadingDigitsPattern=function(e){this.add$Value(3,e)},i18n.phonenumbers.NumberFormat.prototype.leadingDigitsPatternArray=function(){return this.array$Values(3)},i18n.phonenumbers.NumberFormat.prototype.hasLeadingDigitsPattern=function(){return this.has$Value(3)},i18n.phonenumbers.NumberFormat.prototype.leadingDigitsPatternCount=function(){return this.count$Values(3)},i18n.phonenumbers.NumberFormat.prototype.clearLeadingDigitsPattern=function(){this.clear$Field(3)},i18n.phonenumbers.NumberFormat.prototype.getNationalPrefixFormattingRule=function(){return this.get$Value(4)},i18n.phonenumbers.NumberFormat.prototype.getNationalPrefixFormattingRuleOrDefault=function(){return this.get$ValueOrDefault(4)},i18n.phonenumbers.NumberFormat.prototype.setNationalPrefixFormattingRule=function(e){this.set$Value(4,e)},i18n.phonenumbers.NumberFormat.prototype.hasNationalPrefixFormattingRule=function(){return this.has$Value(4)},i18n.phonenumbers.NumberFormat.prototype.nationalPrefixFormattingRuleCount=function(){return this.count$Values(4)},i18n.phonenumbers.NumberFormat.prototype.clearNationalPrefixFormattingRule=function(){this.clear$Field(4)},i18n.phonenumbers.NumberFormat.prototype.getNationalPrefixOptionalWhenFormatting=function(){return this.get$Value(6)},i18n.phonenumbers.NumberFormat.prototype.getNationalPrefixOptionalWhenFormattingOrDefault=function(){return this.get$ValueOrDefault(6)},i18n.phonenumbers.NumberFormat.prototype.setNationalPrefixOptionalWhenFormatting=function(e){this.set$Value(6,e)},i18n.phonenumbers.NumberFormat.prototype.hasNationalPrefixOptionalWhenFormatting=function(){return this.has$Value(6)},i18n.phonenumbers.NumberFormat.prototype.nationalPrefixOptionalWhenFormattingCount=function(){return this.count$Values(6)},i18n.phonenumbers.NumberFormat.prototype.clearNationalPrefixOptionalWhenFormatting=function(){this.clear$Field(6)},i18n.phonenumbers.NumberFormat.prototype.getDomesticCarrierCodeFormattingRule=function(){return this.get$Value(5)},i18n.phonenumbers.NumberFormat.prototype.getDomesticCarrierCodeFormattingRuleOrDefault=function(){return this.get$ValueOrDefault(5)},i18n.phonenumbers.NumberFormat.prototype.setDomesticCarrierCodeFormattingRule=function(e){this.set$Value(5,e)},i18n.phonenumbers.NumberFormat.prototype.hasDomesticCarrierCodeFormattingRule=function(){return this.has$Value(5)},i18n.phonenumbers.NumberFormat.prototype.domesticCarrierCodeFormattingRuleCount=function(){return this.count$Values(5)},i18n.phonenumbers.NumberFormat.prototype.clearDomesticCarrierCodeFormattingRule=function(){this.clear$Field(5)},i18n.phonenumbers.PhoneNumberDesc=function(){goog.proto2.Message.call(this)},goog.inherits(i18n.phonenumbers.PhoneNumberDesc,goog.proto2.Message),i18n.phonenumbers.PhoneNumberDesc.descriptor_=null,i18n.phonenumbers.PhoneNumberDesc.prototype.getNationalNumberPattern=function(){return this.get$Value(2)},i18n.phonenumbers.PhoneNumberDesc.prototype.getNationalNumberPatternOrDefault=function(){return this.get$ValueOrDefault(2)},i18n.phonenumbers.PhoneNumberDesc.prototype.setNationalNumberPattern=function(e){this.set$Value(2,e)},i18n.phonenumbers.PhoneNumberDesc.prototype.hasNationalNumberPattern=function(){return this.has$Value(2)},i18n.phonenumbers.PhoneNumberDesc.prototype.nationalNumberPatternCount=function(){return this.count$Values(2)},i18n.phonenumbers.PhoneNumberDesc.prototype.clearNationalNumberPattern=function(){this.clear$Field(2)},i18n.phonenumbers.PhoneNumberDesc.prototype.getPossibleLength=function(e){return this.get$Value(9,e)},i18n.phonenumbers.PhoneNumberDesc.prototype.getPossibleLengthOrDefault=function(e){return this.get$ValueOrDefault(9,e)},i18n.phonenumbers.PhoneNumberDesc.prototype.addPossibleLength=function(e){this.add$Value(9,e)},i18n.phonenumbers.PhoneNumberDesc.prototype.possibleLengthArray=function(){return this.array$Values(9)},i18n.phonenumbers.PhoneNumberDesc.prototype.hasPossibleLength=function(){return this.has$Value(9)},i18n.phonenumbers.PhoneNumberDesc.prototype.possibleLengthCount=function(){return this.count$Values(9)},i18n.phonenumbers.PhoneNumberDesc.prototype.clearPossibleLength=function(){this.clear$Field(9)},i18n.phonenumbers.PhoneNumberDesc.prototype.getPossibleLengthLocalOnly=function(e){return this.get$Value(10,e)},i18n.phonenumbers.PhoneNumberDesc.prototype.getPossibleLengthLocalOnlyOrDefault=function(e){return this.get$ValueOrDefault(10,e)},i18n.phonenumbers.PhoneNumberDesc.prototype.addPossibleLengthLocalOnly=function(e){this.add$Value(10,e)},i18n.phonenumbers.PhoneNumberDesc.prototype.possibleLengthLocalOnlyArray=function(){return this.array$Values(10)},i18n.phonenumbers.PhoneNumberDesc.prototype.hasPossibleLengthLocalOnly=function(){return this.has$Value(10)},i18n.phonenumbers.PhoneNumberDesc.prototype.possibleLengthLocalOnlyCount=function(){return this.count$Values(10)},i18n.phonenumbers.PhoneNumberDesc.prototype.clearPossibleLengthLocalOnly=function(){this.clear$Field(10)},i18n.phonenumbers.PhoneNumberDesc.prototype.getExampleNumber=function(){return this.get$Value(6)},i18n.phonenumbers.PhoneNumberDesc.prototype.getExampleNumberOrDefault=function(){return this.get$ValueOrDefault(6)},i18n.phonenumbers.PhoneNumberDesc.prototype.setExampleNumber=function(e){this.set$Value(6,e)},i18n.phonenumbers.PhoneNumberDesc.prototype.hasExampleNumber=function(){return this.has$Value(6)},i18n.phonenumbers.PhoneNumberDesc.prototype.exampleNumberCount=function(){return this.count$Values(6)},i18n.phonenumbers.PhoneNumberDesc.prototype.clearExampleNumber=function(){this.clear$Field(6)},i18n.phonenumbers.PhoneMetadata=function(){goog.proto2.Message.call(this)},goog.inherits(i18n.phonenumbers.PhoneMetadata,goog.proto2.Message),i18n.phonenumbers.PhoneMetadata.descriptor_=null,i18n.phonenumbers.PhoneMetadata.prototype.getGeneralDesc=function(){return this.get$Value(1)},i18n.phonenumbers.PhoneMetadata.prototype.getGeneralDescOrDefault=function(){return this.get$ValueOrDefault(1)},i18n.phonenumbers.PhoneMetadata.prototype.setGeneralDesc=function(e){this.set$Value(1,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasGeneralDesc=function(){return this.has$Value(1)},i18n.phonenumbers.PhoneMetadata.prototype.generalDescCount=function(){return this.count$Values(1)},i18n.phonenumbers.PhoneMetadata.prototype.clearGeneralDesc=function(){this.clear$Field(1)},i18n.phonenumbers.PhoneMetadata.prototype.getFixedLine=function(){return this.get$Value(2)},i18n.phonenumbers.PhoneMetadata.prototype.getFixedLineOrDefault=function(){return this.get$ValueOrDefault(2)},i18n.phonenumbers.PhoneMetadata.prototype.setFixedLine=function(e){this.set$Value(2,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasFixedLine=function(){return this.has$Value(2)},i18n.phonenumbers.PhoneMetadata.prototype.fixedLineCount=function(){return this.count$Values(2)},i18n.phonenumbers.PhoneMetadata.prototype.clearFixedLine=function(){this.clear$Field(2)},i18n.phonenumbers.PhoneMetadata.prototype.getMobile=function(){return this.get$Value(3)},i18n.phonenumbers.PhoneMetadata.prototype.getMobileOrDefault=function(){return this.get$ValueOrDefault(3)},i18n.phonenumbers.PhoneMetadata.prototype.setMobile=function(e){this.set$Value(3,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasMobile=function(){return this.has$Value(3)},i18n.phonenumbers.PhoneMetadata.prototype.mobileCount=function(){return this.count$Values(3)},i18n.phonenumbers.PhoneMetadata.prototype.clearMobile=function(){this.clear$Field(3)},i18n.phonenumbers.PhoneMetadata.prototype.getTollFree=function(){return this.get$Value(4)},i18n.phonenumbers.PhoneMetadata.prototype.getTollFreeOrDefault=function(){return this.get$ValueOrDefault(4)},i18n.phonenumbers.PhoneMetadata.prototype.setTollFree=function(e){this.set$Value(4,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasTollFree=function(){return this.has$Value(4)},i18n.phonenumbers.PhoneMetadata.prototype.tollFreeCount=function(){return this.count$Values(4)},i18n.phonenumbers.PhoneMetadata.prototype.clearTollFree=function(){this.clear$Field(4)},i18n.phonenumbers.PhoneMetadata.prototype.getPremiumRate=function(){return this.get$Value(5)},i18n.phonenumbers.PhoneMetadata.prototype.getPremiumRateOrDefault=function(){return this.get$ValueOrDefault(5)},i18n.phonenumbers.PhoneMetadata.prototype.setPremiumRate=function(e){this.set$Value(5,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasPremiumRate=function(){return this.has$Value(5)},i18n.phonenumbers.PhoneMetadata.prototype.premiumRateCount=function(){return this.count$Values(5)},i18n.phonenumbers.PhoneMetadata.prototype.clearPremiumRate=function(){this.clear$Field(5)},i18n.phonenumbers.PhoneMetadata.prototype.getSharedCost=function(){return this.get$Value(6)},i18n.phonenumbers.PhoneMetadata.prototype.getSharedCostOrDefault=function(){return this.get$ValueOrDefault(6)},i18n.phonenumbers.PhoneMetadata.prototype.setSharedCost=function(e){this.set$Value(6,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasSharedCost=function(){return this.has$Value(6)},i18n.phonenumbers.PhoneMetadata.prototype.sharedCostCount=function(){return this.count$Values(6)},i18n.phonenumbers.PhoneMetadata.prototype.clearSharedCost=function(){this.clear$Field(6)},i18n.phonenumbers.PhoneMetadata.prototype.getPersonalNumber=function(){return this.get$Value(7)},i18n.phonenumbers.PhoneMetadata.prototype.getPersonalNumberOrDefault=function(){return this.get$ValueOrDefault(7)},i18n.phonenumbers.PhoneMetadata.prototype.setPersonalNumber=function(e){this.set$Value(7,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasPersonalNumber=function(){return this.has$Value(7)},i18n.phonenumbers.PhoneMetadata.prototype.personalNumberCount=function(){return this.count$Values(7)},i18n.phonenumbers.PhoneMetadata.prototype.clearPersonalNumber=function(){this.clear$Field(7)},i18n.phonenumbers.PhoneMetadata.prototype.getVoip=function(){return this.get$Value(8)},i18n.phonenumbers.PhoneMetadata.prototype.getVoipOrDefault=function(){return this.get$ValueOrDefault(8)},i18n.phonenumbers.PhoneMetadata.prototype.setVoip=function(e){this.set$Value(8,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasVoip=function(){return this.has$Value(8)},i18n.phonenumbers.PhoneMetadata.prototype.voipCount=function(){return this.count$Values(8)},i18n.phonenumbers.PhoneMetadata.prototype.clearVoip=function(){this.clear$Field(8)},i18n.phonenumbers.PhoneMetadata.prototype.getPager=function(){return this.get$Value(21)},i18n.phonenumbers.PhoneMetadata.prototype.getPagerOrDefault=function(){return this.get$ValueOrDefault(21)},i18n.phonenumbers.PhoneMetadata.prototype.setPager=function(e){this.set$Value(21,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasPager=function(){return this.has$Value(21)},i18n.phonenumbers.PhoneMetadata.prototype.pagerCount=function(){return this.count$Values(21)},i18n.phonenumbers.PhoneMetadata.prototype.clearPager=function(){this.clear$Field(21)},i18n.phonenumbers.PhoneMetadata.prototype.getUan=function(){return this.get$Value(25)},i18n.phonenumbers.PhoneMetadata.prototype.getUanOrDefault=function(){return this.get$ValueOrDefault(25)},i18n.phonenumbers.PhoneMetadata.prototype.setUan=function(e){this.set$Value(25,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasUan=function(){return this.has$Value(25)},i18n.phonenumbers.PhoneMetadata.prototype.uanCount=function(){return this.count$Values(25)},i18n.phonenumbers.PhoneMetadata.prototype.clearUan=function(){this.clear$Field(25)},i18n.phonenumbers.PhoneMetadata.prototype.getEmergency=function(){return this.get$Value(27)},i18n.phonenumbers.PhoneMetadata.prototype.getEmergencyOrDefault=function(){return this.get$ValueOrDefault(27)},i18n.phonenumbers.PhoneMetadata.prototype.setEmergency=function(e){this.set$Value(27,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasEmergency=function(){return this.has$Value(27)},i18n.phonenumbers.PhoneMetadata.prototype.emergencyCount=function(){return this.count$Values(27)},i18n.phonenumbers.PhoneMetadata.prototype.clearEmergency=function(){this.clear$Field(27)},i18n.phonenumbers.PhoneMetadata.prototype.getVoicemail=function(){return this.get$Value(28)},i18n.phonenumbers.PhoneMetadata.prototype.getVoicemailOrDefault=function(){return this.get$ValueOrDefault(28)},i18n.phonenumbers.PhoneMetadata.prototype.setVoicemail=function(e){this.set$Value(28,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasVoicemail=function(){return this.has$Value(28)},i18n.phonenumbers.PhoneMetadata.prototype.voicemailCount=function(){return this.count$Values(28)},i18n.phonenumbers.PhoneMetadata.prototype.clearVoicemail=function(){this.clear$Field(28)},i18n.phonenumbers.PhoneMetadata.prototype.getShortCode=function(){return this.get$Value(29)},i18n.phonenumbers.PhoneMetadata.prototype.getShortCodeOrDefault=function(){return this.get$ValueOrDefault(29)},i18n.phonenumbers.PhoneMetadata.prototype.setShortCode=function(e){this.set$Value(29,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasShortCode=function(){return this.has$Value(29)},i18n.phonenumbers.PhoneMetadata.prototype.shortCodeCount=function(){return this.count$Values(29)},i18n.phonenumbers.PhoneMetadata.prototype.clearShortCode=function(){this.clear$Field(29)},i18n.phonenumbers.PhoneMetadata.prototype.getStandardRate=function(){return this.get$Value(30)},i18n.phonenumbers.PhoneMetadata.prototype.getStandardRateOrDefault=function(){return this.get$ValueOrDefault(30)},i18n.phonenumbers.PhoneMetadata.prototype.setStandardRate=function(e){this.set$Value(30,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasStandardRate=function(){return this.has$Value(30)},i18n.phonenumbers.PhoneMetadata.prototype.standardRateCount=function(){return this.count$Values(30)},i18n.phonenumbers.PhoneMetadata.prototype.clearStandardRate=function(){this.clear$Field(30)},i18n.phonenumbers.PhoneMetadata.prototype.getCarrierSpecific=function(){return this.get$Value(31)},i18n.phonenumbers.PhoneMetadata.prototype.getCarrierSpecificOrDefault=function(){return this.get$ValueOrDefault(31)},i18n.phonenumbers.PhoneMetadata.prototype.setCarrierSpecific=function(e){this.set$Value(31,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasCarrierSpecific=function(){return this.has$Value(31)},i18n.phonenumbers.PhoneMetadata.prototype.carrierSpecificCount=function(){return this.count$Values(31)},i18n.phonenumbers.PhoneMetadata.prototype.clearCarrierSpecific=function(){this.clear$Field(31)},i18n.phonenumbers.PhoneMetadata.prototype.getSmsServices=function(){return this.get$Value(33)},i18n.phonenumbers.PhoneMetadata.prototype.getSmsServicesOrDefault=function(){return this.get$ValueOrDefault(33)},i18n.phonenumbers.PhoneMetadata.prototype.setSmsServices=function(e){this.set$Value(33,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasSmsServices=function(){return this.has$Value(33)},i18n.phonenumbers.PhoneMetadata.prototype.smsServicesCount=function(){return this.count$Values(33)},i18n.phonenumbers.PhoneMetadata.prototype.clearSmsServices=function(){this.clear$Field(33)},i18n.phonenumbers.PhoneMetadata.prototype.getNoInternationalDialling=function(){return this.get$Value(24)},i18n.phonenumbers.PhoneMetadata.prototype.getNoInternationalDiallingOrDefault=function(){return this.get$ValueOrDefault(24)},i18n.phonenumbers.PhoneMetadata.prototype.setNoInternationalDialling=function(e){this.set$Value(24,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasNoInternationalDialling=function(){return this.has$Value(24)},i18n.phonenumbers.PhoneMetadata.prototype.noInternationalDiallingCount=function(){return this.count$Values(24)},i18n.phonenumbers.PhoneMetadata.prototype.clearNoInternationalDialling=function(){this.clear$Field(24)},i18n.phonenumbers.PhoneMetadata.prototype.getId=function(){return this.get$Value(9)},i18n.phonenumbers.PhoneMetadata.prototype.getIdOrDefault=function(){return this.get$ValueOrDefault(9)},i18n.phonenumbers.PhoneMetadata.prototype.setId=function(e){this.set$Value(9,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasId=function(){return this.has$Value(9)},i18n.phonenumbers.PhoneMetadata.prototype.idCount=function(){return this.count$Values(9)},i18n.phonenumbers.PhoneMetadata.prototype.clearId=function(){this.clear$Field(9)},i18n.phonenumbers.PhoneMetadata.prototype.getCountryCode=function(){return this.get$Value(10)},i18n.phonenumbers.PhoneMetadata.prototype.getCountryCodeOrDefault=function(){return this.get$ValueOrDefault(10)},i18n.phonenumbers.PhoneMetadata.prototype.setCountryCode=function(e){this.set$Value(10,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasCountryCode=function(){return this.has$Value(10)},i18n.phonenumbers.PhoneMetadata.prototype.countryCodeCount=function(){return this.count$Values(10)},i18n.phonenumbers.PhoneMetadata.prototype.clearCountryCode=function(){this.clear$Field(10)},i18n.phonenumbers.PhoneMetadata.prototype.getInternationalPrefix=function(){return this.get$Value(11)},i18n.phonenumbers.PhoneMetadata.prototype.getInternationalPrefixOrDefault=function(){return this.get$ValueOrDefault(11)},i18n.phonenumbers.PhoneMetadata.prototype.setInternationalPrefix=function(e){this.set$Value(11,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasInternationalPrefix=function(){return this.has$Value(11)},i18n.phonenumbers.PhoneMetadata.prototype.internationalPrefixCount=function(){return this.count$Values(11)},i18n.phonenumbers.PhoneMetadata.prototype.clearInternationalPrefix=function(){this.clear$Field(11)},i18n.phonenumbers.PhoneMetadata.prototype.getPreferredInternationalPrefix=function(){return this.get$Value(17)},i18n.phonenumbers.PhoneMetadata.prototype.getPreferredInternationalPrefixOrDefault=function(){return this.get$ValueOrDefault(17)},i18n.phonenumbers.PhoneMetadata.prototype.setPreferredInternationalPrefix=function(e){this.set$Value(17,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasPreferredInternationalPrefix=function(){return this.has$Value(17)},i18n.phonenumbers.PhoneMetadata.prototype.preferredInternationalPrefixCount=function(){return this.count$Values(17)},i18n.phonenumbers.PhoneMetadata.prototype.clearPreferredInternationalPrefix=function(){this.clear$Field(17)},i18n.phonenumbers.PhoneMetadata.prototype.getNationalPrefix=function(){return this.get$Value(12)},i18n.phonenumbers.PhoneMetadata.prototype.getNationalPrefixOrDefault=function(){return this.get$ValueOrDefault(12)},i18n.phonenumbers.PhoneMetadata.prototype.setNationalPrefix=function(e){this.set$Value(12,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasNationalPrefix=function(){return this.has$Value(12)},i18n.phonenumbers.PhoneMetadata.prototype.nationalPrefixCount=function(){return this.count$Values(12)},i18n.phonenumbers.PhoneMetadata.prototype.clearNationalPrefix=function(){this.clear$Field(12)},i18n.phonenumbers.PhoneMetadata.prototype.getPreferredExtnPrefix=function(){return this.get$Value(13)},i18n.phonenumbers.PhoneMetadata.prototype.getPreferredExtnPrefixOrDefault=function(){return this.get$ValueOrDefault(13)},i18n.phonenumbers.PhoneMetadata.prototype.setPreferredExtnPrefix=function(e){this.set$Value(13,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasPreferredExtnPrefix=function(){return this.has$Value(13)},i18n.phonenumbers.PhoneMetadata.prototype.preferredExtnPrefixCount=function(){return this.count$Values(13)},i18n.phonenumbers.PhoneMetadata.prototype.clearPreferredExtnPrefix=function(){this.clear$Field(13)},i18n.phonenumbers.PhoneMetadata.prototype.getNationalPrefixForParsing=function(){return this.get$Value(15)},i18n.phonenumbers.PhoneMetadata.prototype.getNationalPrefixForParsingOrDefault=function(){return this.get$ValueOrDefault(15)},i18n.phonenumbers.PhoneMetadata.prototype.setNationalPrefixForParsing=function(e){this.set$Value(15,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasNationalPrefixForParsing=function(){return this.has$Value(15)},i18n.phonenumbers.PhoneMetadata.prototype.nationalPrefixForParsingCount=function(){return this.count$Values(15)},i18n.phonenumbers.PhoneMetadata.prototype.clearNationalPrefixForParsing=function(){this.clear$Field(15)},i18n.phonenumbers.PhoneMetadata.prototype.getNationalPrefixTransformRule=function(){return this.get$Value(16)},i18n.phonenumbers.PhoneMetadata.prototype.getNationalPrefixTransformRuleOrDefault=function(){return this.get$ValueOrDefault(16)},i18n.phonenumbers.PhoneMetadata.prototype.setNationalPrefixTransformRule=function(e){this.set$Value(16,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasNationalPrefixTransformRule=function(){return this.has$Value(16)},i18n.phonenumbers.PhoneMetadata.prototype.nationalPrefixTransformRuleCount=function(){return this.count$Values(16)},i18n.phonenumbers.PhoneMetadata.prototype.clearNationalPrefixTransformRule=function(){this.clear$Field(16)},i18n.phonenumbers.PhoneMetadata.prototype.getSameMobileAndFixedLinePattern=function(){return this.get$Value(18)},i18n.phonenumbers.PhoneMetadata.prototype.getSameMobileAndFixedLinePatternOrDefault=function(){return this.get$ValueOrDefault(18)},i18n.phonenumbers.PhoneMetadata.prototype.setSameMobileAndFixedLinePattern=function(e){this.set$Value(18,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasSameMobileAndFixedLinePattern=function(){return this.has$Value(18)},i18n.phonenumbers.PhoneMetadata.prototype.sameMobileAndFixedLinePatternCount=function(){return this.count$Values(18)},i18n.phonenumbers.PhoneMetadata.prototype.clearSameMobileAndFixedLinePattern=function(){this.clear$Field(18)},i18n.phonenumbers.PhoneMetadata.prototype.getNumberFormat=function(e){return this.get$Value(19,e)},i18n.phonenumbers.PhoneMetadata.prototype.getNumberFormatOrDefault=function(e){return this.get$ValueOrDefault(19,e)},i18n.phonenumbers.PhoneMetadata.prototype.addNumberFormat=function(e){this.add$Value(19,e)},i18n.phonenumbers.PhoneMetadata.prototype.numberFormatArray=function(){return this.array$Values(19)},i18n.phonenumbers.PhoneMetadata.prototype.hasNumberFormat=function(){return this.has$Value(19)},i18n.phonenumbers.PhoneMetadata.prototype.numberFormatCount=function(){return this.count$Values(19)},i18n.phonenumbers.PhoneMetadata.prototype.clearNumberFormat=function(){this.clear$Field(19)},i18n.phonenumbers.PhoneMetadata.prototype.getIntlNumberFormat=function(e){return this.get$Value(20,e)},i18n.phonenumbers.PhoneMetadata.prototype.getIntlNumberFormatOrDefault=function(e){return this.get$ValueOrDefault(20,e)},i18n.phonenumbers.PhoneMetadata.prototype.addIntlNumberFormat=function(e){this.add$Value(20,e)},i18n.phonenumbers.PhoneMetadata.prototype.intlNumberFormatArray=function(){return this.array$Values(20)},i18n.phonenumbers.PhoneMetadata.prototype.hasIntlNumberFormat=function(){return this.has$Value(20)},i18n.phonenumbers.PhoneMetadata.prototype.intlNumberFormatCount=function(){return this.count$Values(20)},i18n.phonenumbers.PhoneMetadata.prototype.clearIntlNumberFormat=function(){this.clear$Field(20)},i18n.phonenumbers.PhoneMetadata.prototype.getMainCountryForCode=function(){return this.get$Value(22)},i18n.phonenumbers.PhoneMetadata.prototype.getMainCountryForCodeOrDefault=function(){return this.get$ValueOrDefault(22)},i18n.phonenumbers.PhoneMetadata.prototype.setMainCountryForCode=function(e){this.set$Value(22,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasMainCountryForCode=function(){return this.has$Value(22)},i18n.phonenumbers.PhoneMetadata.prototype.mainCountryForCodeCount=function(){return this.count$Values(22)},i18n.phonenumbers.PhoneMetadata.prototype.clearMainCountryForCode=function(){this.clear$Field(22)},i18n.phonenumbers.PhoneMetadata.prototype.getLeadingDigits=function(){return this.get$Value(23)},i18n.phonenumbers.PhoneMetadata.prototype.getLeadingDigitsOrDefault=function(){return this.get$ValueOrDefault(23)},i18n.phonenumbers.PhoneMetadata.prototype.setLeadingDigits=function(e){this.set$Value(23,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasLeadingDigits=function(){return this.has$Value(23)},i18n.phonenumbers.PhoneMetadata.prototype.leadingDigitsCount=function(){return this.count$Values(23)},i18n.phonenumbers.PhoneMetadata.prototype.clearLeadingDigits=function(){this.clear$Field(23)},i18n.phonenumbers.PhoneMetadata.prototype.getLeadingZeroPossible=function(){return this.get$Value(26)},i18n.phonenumbers.PhoneMetadata.prototype.getLeadingZeroPossibleOrDefault=function(){return this.get$ValueOrDefault(26)},i18n.phonenumbers.PhoneMetadata.prototype.setLeadingZeroPossible=function(e){this.set$Value(26,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasLeadingZeroPossible=function(){return this.has$Value(26)},i18n.phonenumbers.PhoneMetadata.prototype.leadingZeroPossibleCount=function(){return this.count$Values(26)},i18n.phonenumbers.PhoneMetadata.prototype.clearLeadingZeroPossible=function(){this.clear$Field(26)},i18n.phonenumbers.PhoneMetadataCollection=function(){goog.proto2.Message.call(this)},goog.inherits(i18n.phonenumbers.PhoneMetadataCollection,goog.proto2.Message),i18n.phonenumbers.PhoneMetadataCollection.descriptor_=null,i18n.phonenumbers.PhoneMetadataCollection.prototype.getMetadata=function(e){return this.get$Value(1,e)},i18n.phonenumbers.PhoneMetadataCollection.prototype.getMetadataOrDefault=function(e){return this.get$ValueOrDefault(1,e)},i18n.phonenumbers.PhoneMetadataCollection.prototype.addMetadata=function(e){this.add$Value(1,e)},i18n.phonenumbers.PhoneMetadataCollection.prototype.metadataArray=function(){return this.array$Values(1)},i18n.phonenumbers.PhoneMetadataCollection.prototype.hasMetadata=function(){return this.has$Value(1)},i18n.phonenumbers.PhoneMetadataCollection.prototype.metadataCount=function(){return this.count$Values(1)},i18n.phonenumbers.PhoneMetadataCollection.prototype.clearMetadata=function(){this.clear$Field(1)},i18n.phonenumbers.NumberFormat.prototype.getDescriptor=function(){var e=i18n.phonenumbers.NumberFormat.descriptor_;return e||(i18n.phonenumbers.NumberFormat.descriptor_=e=goog.proto2.Message.createDescriptor(i18n.phonenumbers.NumberFormat,{0:{name:"NumberFormat",fullName:"i18n.phonenumbers.NumberFormat"},1:{name:"pattern",required:!0,fieldType:goog.proto2.Message.FieldType.STRING,type:String},2:{name:"format",required:!0,fieldType:goog.proto2.Message.FieldType.STRING,type:String},3:{name:"leading_digits_pattern",repeated:!0,fieldType:goog.proto2.Message.FieldType.STRING,type:String},4:{name:"national_prefix_formatting_rule",fieldType:goog.proto2.Message.FieldType.STRING,type:String},6:{name:"national_prefix_optional_when_formatting",fieldType:goog.proto2.Message.FieldType.BOOL,defaultValue:!1,type:Boolean},5:{name:"domestic_carrier_code_formatting_rule",fieldType:goog.proto2.Message.FieldType.STRING,type:String}})),e},i18n.phonenumbers.NumberFormat.getDescriptor=i18n.phonenumbers.NumberFormat.prototype.getDescriptor,i18n.phonenumbers.PhoneNumberDesc.prototype.getDescriptor=function(){var e=i18n.phonenumbers.PhoneNumberDesc.descriptor_;return e||(i18n.phonenumbers.PhoneNumberDesc.descriptor_=e=goog.proto2.Message.createDescriptor(i18n.phonenumbers.PhoneNumberDesc,{0:{name:"PhoneNumberDesc",fullName:"i18n.phonenumbers.PhoneNumberDesc"},2:{name:"national_number_pattern",fieldType:goog.proto2.Message.FieldType.STRING,type:String},9:{name:"possible_length",repeated:!0,fieldType:goog.proto2.Message.FieldType.INT32,type:Number},10:{name:"possible_length_local_only",repeated:!0,fieldType:goog.proto2.Message.FieldType.INT32,type:Number},6:{name:"example_number",fieldType:goog.proto2.Message.FieldType.STRING,type:String}})),e},i18n.phonenumbers.PhoneNumberDesc.getDescriptor=i18n.phonenumbers.PhoneNumberDesc.prototype.getDescriptor,i18n.phonenumbers.PhoneMetadata.prototype.getDescriptor=function(){var e=i18n.phonenumbers.PhoneMetadata.descriptor_;return e||(i18n.phonenumbers.PhoneMetadata.descriptor_=e=goog.proto2.Message.createDescriptor(i18n.phonenumbers.PhoneMetadata,{0:{name:"PhoneMetadata",fullName:"i18n.phonenumbers.PhoneMetadata"},1:{name:"general_desc",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},2:{name:"fixed_line",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},3:{name:"mobile",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},4:{name:"toll_free",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},5:{name:"premium_rate",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},6:{name:"shared_cost",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},7:{name:"personal_number",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},8:{name:"voip",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},21:{name:"pager",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},25:{name:"uan",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},27:{name:"emergency",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},28:{name:"voicemail",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},29:{name:"short_code",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},30:{name:"standard_rate",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},31:{name:"carrier_specific",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},33:{name:"sms_services",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},24:{name:"no_international_dialling",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},9:{name:"id",required:!0,fieldType:goog.proto2.Message.FieldType.STRING,type:String},10:{name:"country_code",fieldType:goog.proto2.Message.FieldType.INT32,type:Number},11:{name:"international_prefix",fieldType:goog.proto2.Message.FieldType.STRING,type:String},17:{name:"preferred_international_prefix",fieldType:goog.proto2.Message.FieldType.STRING,type:String},12:{name:"national_prefix",fieldType:goog.proto2.Message.FieldType.STRING,type:String},13:{name:"preferred_extn_prefix",fieldType:goog.proto2.Message.FieldType.STRING,type:String},15:{name:"national_prefix_for_parsing",fieldType:goog.proto2.Message.FieldType.STRING,type:String},16:{name:"national_prefix_transform_rule",fieldType:goog.proto2.Message.FieldType.STRING,type:String},18:{name:"same_mobile_and_fixed_line_pattern",fieldType:goog.proto2.Message.FieldType.BOOL,defaultValue:!1,type:Boolean},19:{name:"number_format",repeated:!0,fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.NumberFormat},20:{name:"intl_number_format",repeated:!0,fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.NumberFormat},22:{name:"main_country_for_code",fieldType:goog.proto2.Message.FieldType.BOOL,defaultValue:!1,type:Boolean},23:{name:"leading_digits",fieldType:goog.proto2.Message.FieldType.STRING,type:String},26:{name:"leading_zero_possible",fieldType:goog.proto2.Message.FieldType.BOOL,defaultValue:!1,type:Boolean}})),e},i18n.phonenumbers.PhoneMetadata.getDescriptor=i18n.phonenumbers.PhoneMetadata.prototype.getDescriptor,i18n.phonenumbers.PhoneMetadataCollection.prototype.getDescriptor=function(){var e=i18n.phonenumbers.PhoneMetadataCollection.descriptor_;return e||(i18n.phonenumbers.PhoneMetadataCollection.descriptor_=e=goog.proto2.Message.createDescriptor(i18n.phonenumbers.PhoneMetadataCollection,{0:{name:"PhoneMetadataCollection",fullName:"i18n.phonenumbers.PhoneMetadataCollection"},1:{name:"metadata",repeated:!0,fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneMetadata}})),e},i18n.phonenumbers.PhoneMetadataCollection.getDescriptor=i18n.phonenumbers.PhoneMetadataCollection.prototype.getDescriptor,i18n.phonenumbers.PhoneNumber=function(){goog.proto2.Message.call(this)},goog.inherits(i18n.phonenumbers.PhoneNumber,goog.proto2.Message),i18n.phonenumbers.PhoneNumber.descriptor_=null,i18n.phonenumbers.PhoneNumber.prototype.getCountryCode=function(){return this.get$Value(1)},i18n.phonenumbers.PhoneNumber.prototype.getCountryCodeOrDefault=function(){return this.get$ValueOrDefault(1)},i18n.phonenumbers.PhoneNumber.prototype.setCountryCode=function(e){this.set$Value(1,e)},i18n.phonenumbers.PhoneNumber.prototype.hasCountryCode=function(){return this.has$Value(1)},i18n.phonenumbers.PhoneNumber.prototype.countryCodeCount=function(){return this.count$Values(1)},i18n.phonenumbers.PhoneNumber.prototype.clearCountryCode=function(){this.clear$Field(1)},i18n.phonenumbers.PhoneNumber.prototype.getNationalNumber=function(){return this.get$Value(2)},i18n.phonenumbers.PhoneNumber.prototype.getNationalNumberOrDefault=function(){return this.get$ValueOrDefault(2)},i18n.phonenumbers.PhoneNumber.prototype.setNationalNumber=function(e){this.set$Value(2,e)},i18n.phonenumbers.PhoneNumber.prototype.hasNationalNumber=function(){return this.has$Value(2)},i18n.phonenumbers.PhoneNumber.prototype.nationalNumberCount=function(){return this.count$Values(2)},i18n.phonenumbers.PhoneNumber.prototype.clearNationalNumber=function(){this.clear$Field(2)},i18n.phonenumbers.PhoneNumber.prototype.getExtension=function(){return this.get$Value(3)},i18n.phonenumbers.PhoneNumber.prototype.getExtensionOrDefault=function(){return this.get$ValueOrDefault(3)},i18n.phonenumbers.PhoneNumber.prototype.setExtension=function(e){this.set$Value(3,e)},i18n.phonenumbers.PhoneNumber.prototype.hasExtension=function(){return this.has$Value(3)},i18n.phonenumbers.PhoneNumber.prototype.extensionCount=function(){return this.count$Values(3)},i18n.phonenumbers.PhoneNumber.prototype.clearExtension=function(){this.clear$Field(3)},i18n.phonenumbers.PhoneNumber.prototype.getItalianLeadingZero=function(){return this.get$Value(4)},i18n.phonenumbers.PhoneNumber.prototype.getItalianLeadingZeroOrDefault=function(){return this.get$ValueOrDefault(4)},i18n.phonenumbers.PhoneNumber.prototype.setItalianLeadingZero=function(e){this.set$Value(4,e)},i18n.phonenumbers.PhoneNumber.prototype.hasItalianLeadingZero=function(){return this.has$Value(4)},i18n.phonenumbers.PhoneNumber.prototype.italianLeadingZeroCount=function(){return this.count$Values(4)},i18n.phonenumbers.PhoneNumber.prototype.clearItalianLeadingZero=function(){this.clear$Field(4)},i18n.phonenumbers.PhoneNumber.prototype.getNumberOfLeadingZeros=function(){return this.get$Value(8)},i18n.phonenumbers.PhoneNumber.prototype.getNumberOfLeadingZerosOrDefault=function(){return this.get$ValueOrDefault(8)},i18n.phonenumbers.PhoneNumber.prototype.setNumberOfLeadingZeros=function(e){this.set$Value(8,e)},i18n.phonenumbers.PhoneNumber.prototype.hasNumberOfLeadingZeros=function(){return this.has$Value(8)},i18n.phonenumbers.PhoneNumber.prototype.numberOfLeadingZerosCount=function(){return this.count$Values(8)},i18n.phonenumbers.PhoneNumber.prototype.clearNumberOfLeadingZeros=function(){this.clear$Field(8)},i18n.phonenumbers.PhoneNumber.prototype.getRawInput=function(){return this.get$Value(5)},i18n.phonenumbers.PhoneNumber.prototype.getRawInputOrDefault=function(){return this.get$ValueOrDefault(5)},i18n.phonenumbers.PhoneNumber.prototype.setRawInput=function(e){this.set$Value(5,e)},i18n.phonenumbers.PhoneNumber.prototype.hasRawInput=function(){return this.has$Value(5)},i18n.phonenumbers.PhoneNumber.prototype.rawInputCount=function(){return this.count$Values(5)},i18n.phonenumbers.PhoneNumber.prototype.clearRawInput=function(){this.clear$Field(5)},i18n.phonenumbers.PhoneNumber.prototype.getCountryCodeSource=function(){return this.get$Value(6)},i18n.phonenumbers.PhoneNumber.prototype.getCountryCodeSourceOrDefault=function(){return this.get$ValueOrDefault(6)},i18n.phonenumbers.PhoneNumber.prototype.setCountryCodeSource=function(e){this.set$Value(6,e)},i18n.phonenumbers.PhoneNumber.prototype.hasCountryCodeSource=function(){return this.has$Value(6)},i18n.phonenumbers.PhoneNumber.prototype.countryCodeSourceCount=function(){return this.count$Values(6)},i18n.phonenumbers.PhoneNumber.prototype.clearCountryCodeSource=function(){this.clear$Field(6)},i18n.phonenumbers.PhoneNumber.prototype.getPreferredDomesticCarrierCode=function(){return this.get$Value(7)},i18n.phonenumbers.PhoneNumber.prototype.getPreferredDomesticCarrierCodeOrDefault=function(){return this.get$ValueOrDefault(7)},i18n.phonenumbers.PhoneNumber.prototype.setPreferredDomesticCarrierCode=function(e){this.set$Value(7,e)},i18n.phonenumbers.PhoneNumber.prototype.hasPreferredDomesticCarrierCode=function(){return this.has$Value(7)},i18n.phonenumbers.PhoneNumber.prototype.preferredDomesticCarrierCodeCount=function(){return this.count$Values(7)},i18n.phonenumbers.PhoneNumber.prototype.clearPreferredDomesticCarrierCode=function(){this.clear$Field(7)},i18n.phonenumbers.PhoneNumber.CountryCodeSource={UNSPECIFIED:0,FROM_NUMBER_WITH_PLUS_SIGN:1,FROM_NUMBER_WITH_IDD:5,FROM_NUMBER_WITHOUT_PLUS_SIGN:10,FROM_DEFAULT_COUNTRY:20},i18n.phonenumbers.PhoneNumber.prototype.getDescriptor=function(){var e=i18n.phonenumbers.PhoneNumber.descriptor_;return e||(i18n.phonenumbers.PhoneNumber.descriptor_=e=goog.proto2.Message.createDescriptor(i18n.phonenumbers.PhoneNumber,{0:{name:"PhoneNumber",fullName:"i18n.phonenumbers.PhoneNumber"},1:{name:"country_code",required:!0,fieldType:goog.proto2.Message.FieldType.INT32,type:Number},2:{name:"national_number",required:!0,fieldType:goog.proto2.Message.FieldType.UINT64,type:Number},3:{name:"extension",fieldType:goog.proto2.Message.FieldType.STRING,type:String},4:{name:"italian_leading_zero",fieldType:goog.proto2.Message.FieldType.BOOL,type:Boolean},8:{name:"number_of_leading_zeros",fieldType:goog.proto2.Message.FieldType.INT32,defaultValue:1,type:Number},5:{name:"raw_input",fieldType:goog.proto2.Message.FieldType.STRING,type:String},6:{name:"country_code_source",fieldType:goog.proto2.Message.FieldType.ENUM,defaultValue:i18n.phonenumbers.PhoneNumber.CountryCodeSource.UNSPECIFIED,type:i18n.phonenumbers.PhoneNumber.CountryCodeSource},7:{name:"preferred_domestic_carrier_code",fieldType:goog.proto2.Message.FieldType.STRING,type:String}})),e},i18n.phonenumbers.PhoneNumber.ctor=i18n.phonenumbers.PhoneNumber,i18n.phonenumbers.PhoneNumber.ctor.getDescriptor=i18n.phonenumbers.PhoneNumber.prototype.getDescriptor,i18n.phonenumbers.metadata={},i18n.phonenumbers.metadata.countryCodeToRegionCodeMap={1:"US AG AI AS BB BM BS CA DM DO GD GU JM KN KY LC MP MS PR SX TC TT VC VG VI".split(" "),7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],800:["001"],808:["001"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],870:["001"],878:["001"],880:["BD"],881:["001"],882:["001"],883:["001"],886:["TW"],888:["001"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],979:["001"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},i18n.phonenumbers.metadata.countryToMetadata={AC:[,[,,"(?:[01589]\\d|[46])\\d{4}",,,,,,,[5,6]],[,,"6[2-467]\\d{3}",,,,"62889",,,[5]],[,,"4\\d{4}",,,,"40123",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AC",247,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:0[1-9]|[1589]\\d)\\d{4}",,,,"542011",,,[6]],,,[,,,,,,,,,[-1]]],AD:[,[,,"(?:1|6\\d)\\d{7}|[135-9]\\d{5}",,,,,,,[6,8,9]],[,,"[78]\\d{5}",,,,"712345",,,[6]],[,,"690\\d{6}|[356]\\d{5}",,,,"312345",,,[6,9]],[,,"180[02]\\d{4}",,,,"18001234",,,[8]],[,,"[19]\\d{5}",,,,"912345",,,[6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AD",376,"00",,,,,,,,[[,"(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],[,"(\\d{4})(\\d{4})","$1 $2",["1"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],,[,,,,,,,,,[-1]],,,[,,"1800\\d{4}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AE:[,[,,"(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",,,,,,,[5,6,7,8,9,10,11,12]],[,,"[2-4679][2-8]\\d{6}",,,,"22345678",,,[8],[7]],[,,"5[024-68]\\d{7}",,,,"501234567",,,[9]],[,,"400\\d{6}|800\\d{2,9}",,,,"800123456"],[,,"900[02]\\d{5}",,,,"900234567",,,[9]],[,,"700[05]\\d{5}",,,,"700012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AE",971,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],[,"(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"600[25]\\d{5}",,,,"600212345",,,[9]],,,[,,,,,,,,,[-1]]],AF:[,[,,"[2-7]\\d{8}",,,,,,,[9],[7]],[,,"(?:[25][0-8]|[34][0-4]|6[0-5])[2-9]\\d{6}",,,,"234567890",,,,[7]],[,,"7\\d{8}",,,,"701234567",,,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AF",93,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[1-9]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AG:[,[,,"(?:268|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"268(?:4(?:6[0-38]|84)|56[0-2])\\d{4}",,,,"2684601234",,,,[7]],[,,"268(?:464|7(?:1[3-9]|[28]\\d|3[0246]|64|7[0-689]))\\d{4}",,,,"2684641234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"26848[01]\\d{4}",,,,"2684801234",,,,[7]],"AG",1,"011","1",,,"1|([457]\\d{6})$","268$1",,,,,[,,"26840[69]\\d{4}",,,,"2684061234",,,,[7]],,"268",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AI:[,[,,"(?:264|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"264(?:292|4(?:6[12]|9[78]))\\d{4}",,,,"2644612345",,,,[7]],[,,"264(?:235|4(?:69|76)|5(?:3[6-9]|8[1-4])|7(?:29|72))\\d{4}",,,,"2642351234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"AI",1,"011","1",,,"1|([2457]\\d{6})$","264$1",,,,,[,,"264724\\d{4}",,,,"2647241234",,,,[7]],,"264",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AL:[,[,,"(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",,,,,,,[6,7,8,9],[5]],[,,"4505[0-2]\\d{3}|(?:[2358][16-9]\\d[2-9]|4410)\\d{4}|(?:[2358][2-5][2-9]|4(?:[2-57-9][2-9]|6\\d))\\d{5}",,,,"22345678",,,[8],[5,6,7]],[,,"6(?:[78][2-9]|9\\d)\\d{6}",,,,"672123456",,,[9]],[,,"800\\d{4}",,,,"8001234",,,[7]],[,,"900[1-9]\\d\\d",,,,"900123",,,[6]],[,,"808[1-9]\\d\\d",,,,"808123",,,[6]],[,,"700[2-9]\\d{4}",,,,"70021234",,,[8]],[,,,,,,,,,[-1]],"AL",355,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],[,"(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AM:[,[,,"(?:[1-489]\\d|55|60|77)\\d{6}",,,,,,,[8],[5,6]],[,,"(?:(?:1[0-25]|47)\\d|2(?:2[2-46]|3[1-8]|4[2-69]|5[2-7]|6[1-9]|8[1-7])|3[12]2)\\d{5}",,,,"10123456",,,,[5,6]],[,,"(?:33|4[1349]|55|77|88|9[13-9])\\d{6}",,,,"77123456"],[,,"800\\d{5}",,,,"80012345"],[,,"90[016]\\d{5}",,,,"90012345"],[,,"80[1-4]\\d{5}",,,,"80112345"],[,,,,,,,,,[-1]],[,,"60(?:2[78]|3[5-9]|4[02-9]|5[0-46-9]|[6-8]\\d|9[01])\\d{4}",,,,"60271234"],"AM",374,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],[,"(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],[,"(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],[,"(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AO:[,[,,"[29]\\d{8}",,,,,,,[9]],[,,"2\\d(?:[0134][25-9]|[25-9]\\d)\\d{5}",,,,"222123456"],[,,"9[1-49]\\d{7}",,,,"923123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AO",244,"00",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AR:[,[,,"(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",,,,,,,[10,11],[6,7,8]],[,,"3888[013-9]\\d{5}|(?:29(?:54|66)|3(?:777|865))[2-8]\\d{5}|3(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|(?:2(?:284|302|657|920)|3(?:4(?:8[27]|92)|541|755|878))[2-7]\\d{5}|(?:2(?:(?:26|62)2|32[03]|477|9(?:42|83))|3(?:329|4(?:[47]6|62|89)|564))[2-6]\\d{5}|(?:(?:11[1-8]|670)\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-7]|[235][4-6]|84)|5(?:1[2-8]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:[03][45]|[17][2-6]|[58][3-6])))\\d{6}|2(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|475|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|(?:2(?:2(?:57|81)|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|5[17])))[3-6]\\d{5}|(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[145]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}",,,,"1123456789",,,[10],[6,7,8]],[,,"93888[013-9]\\d{5}|9(?:29(?:54|66)|3(?:777|865))[2-8]\\d{5}|93(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|9(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|9(?:2(?:284|302|657|920)|3(?:4(?:8[27]|92)|541|755|878))[2-7]\\d{5}|9(?:2(?:(?:26|62)2|32[03]|477|9(?:42|83))|3(?:329|4(?:[47]6|62|89)|564))[2-6]\\d{5}|(?:675\\d|9(?:11[1-8]\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-7]|[235][4-6]|84)|5(?:1[2-8]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:[03][45]|[17][2-6]|[58][3-6]))))\\d{6}|92(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|475|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|9(?:2(?:2(?:57|81)|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|5[17])))[3-6]\\d{5}|9(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[145]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}",,,,"91123456789",,,,[6,7,8]],[,,"800\\d{7,8}",,,,"8001234567"],[,,"60[04579]\\d{7}",,,,"6001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AR",54,"00","0",,,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1",,,[[,"(\\d{3})","$1",["0|1(?:0[0-35-7]|1[02-5]|2[015]|3[47]|4[478])|911"]],[,"(\\d{2})(\\d{4})","$1-$2",["[1-9]"]],[,"(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],[,"(\\d{4})(\\d{4})","$1-$2",["[1-8]"]],[,"(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",,1],[,"(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1"],[,"(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1"]],[[,"(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",,1],[,"(\\d)(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"]],[,"(\\d)(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3-$4",["91"]],[,"(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3-$4",["9"]]],[,,,,,,,,,[-1]],,,[,,"810\\d{7}",,,,,,,[10]],[,,"810\\d{7}",,,,"8101234567",,,[10]],,,[,,,,,,,,,[-1]]],AS:[,[,,"(?:[58]\\d\\d|684|900)\\d{7}",,,,,,,[10],[7]],[,,"6846(?:22|33|44|55|77|88|9[19])\\d{4}",,,,"6846221234",,,,[7]],[,,"684(?:2(?:48|5[2468]|72)|7(?:3[13]|70|82))\\d{4}",,,,"6847331234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"AS",1,"011","1",,,"1|([267]\\d{6})$","684$1",,,,,[,,,,,,,,,[-1]],,"684",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AT:[,[,,"1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",,,,,,,[4,5,6,7,8,9,10,11,12,13],[3]],[,,"1(?:11\\d|[2-9]\\d{3,11})|(?:316|463|(?:51|66|73)2)\\d{3,10}|(?:2(?:1[467]|2[13-8]|5[2357]|6[1-46-8]|7[1-8]|8[124-7]|9[1458])|3(?:1[1-578]|3[23568]|4[5-7]|5[1378]|6[1-38]|8[3-68])|4(?:2[1-8]|35|7[1368]|8[2457])|5(?:2[1-8]|3[357]|4[147]|5[12578]|6[37])|6(?:13|2[1-47]|4[135-8]|5[468])|7(?:2[1-8]|35|4[13478]|5[68]|6[16-8]|7[1-6]|9[45]))\\d{4,10}",,,,"1234567890",,,,[3]],[,,"6(?:5[0-3579]|6[013-9]|[7-9]\\d)\\d{4,10}",,,,"664123456",,,[7,8,9,10,11,12,13]],[,,"800\\d{6,10}",,,,"800123456",,,[9,10,11,12,13]],[,,"9(?:0[01]|3[019])\\d{6,10}",,,,"900123456",,,[9,10,11,12,13]],[,,"8(?:10|2[018])\\d{6,10}|828\\d{5}",,,,"810123456",,,[8,9,10,11,12,13]],[,,,,,,,,,[-1]],[,,"5(?:0[1-9]|17|[79]\\d)\\d{2,10}|7[28]0\\d{6,10}",,,,"780123456",,,[5,6,7,8,9,10,11,12,13]],"AT",43,"00","0",,,"0",,,,[[,"(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],[,"(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],[,"(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],[,"(\\d{6})","$1",["1"]],[,"(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],[,"(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],[[,"(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],[,"(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],[,"(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],[,"(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],[,"(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AU:[,[,,"1(?:[0-79]\\d{7,8}|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",,,,,,,[5,6,7,8,9,10]],[,,"(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8]))\\d{3}|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4]))|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}",,,,"212345678",,,[9],[8]],[,,"4(?:83[0-38]|93[0-4])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[06-9]|7[02-9]|8[0-24-9]|9[0-27-9])\\d{6}",,,,"412345678",,,[9]],[,,"180(?:0\\d{3}|2)\\d{3}",,,,"1800123456",,,[7,10]],[,,"190[0-26]\\d{6}",,,,"1900123456",,,[10]],[,,"13(?:00\\d{3}|45[0-4])\\d{3}|13\\d{4}",,,,"1300123456",,,[6,8,10]],[,,,,,,,,,[-1]],[,,"14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",,,,"147101234",,,[9]],"AU",61,"001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","0",,,"0|(183[12])",,"0011",,[[,"(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["13"]],[,"(\\d{3})(\\d{3})","$1 $2",["19"]],[,"(\\d{3})(\\d{4})","$1 $2",["180","1802"]],[,"(\\d{4})(\\d{3,4})","$1 $2",["19"]],[,"(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)","$CC ($1)"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],[[,"(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)","$CC ($1)"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],[,,"163\\d{2,6}",,,,"1631234",,,[5,6,7,8,9]],1,,[,,"1[38]00\\d{6}|1(?:345[0-4]|802)\\d{3}|13\\d{4}",,,,,,,[6,7,8,10]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AW:[,[,,"(?:[25-79]\\d\\d|800)\\d{4}",,,,,,,[7]],[,,"5(?:2\\d|8[1-9])\\d{4}",,,,"5212345"],[,,"(?:290|5[69]\\d|6(?:[03]0|22|4[0-2]|[69]\\d)|7(?:[34]\\d|7[07])|9(?:6[45]|9[4-8]))\\d{4}",,,,"5601234"],[,,"800\\d{4}",,,,"8001234"],[,,"900\\d{4}",,,,"9001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:28\\d|501)\\d{4}",,,,"5011234"],"AW",297,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AX:[,[,,"2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",,,,,,,[5,6,7,8,9,10,11,12]],[,,"18[1-8]\\d{3,6}",,,,"181234567",,,[6,7,8,9]],[,,"4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}",,,,"412345678",,,[6,7,8,9,10]],[,,"800\\d{4,6}",,,,"800123456",,,[7,8,9]],[,,"[67]00\\d{5,6}",,,,"600123456",,,[8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AX",358,"00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","0",,,"0",,"00",,,,[,,,,,,,,,[-1]],,"18",[,,,,,,,,,[-1]],[,,"20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}",,,,"10112345"],,,[,,,,,,,,,[-1]]],AZ:[,[,,"365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",,,,,,,[9],[7]],[,,"(?:222[0-79]\\d|365(?:[0-46-9]\\d|5[0-35-9]))\\d{4}|(?:(?:1[28]|46)\\d|2(?:[045]2|1[24]|2[34]|33|6[23]))\\d{6}",,,,"123123456",,,,[7]],[,,"(?:36554|99[2-9]\\d\\d)\\d{4}|(?:[16]0|4[04]|5[015]|7[07])\\d{7}",,,,"401234567"],[,,"88\\d{7}",,,,"881234567"],[,,"900200\\d{3}",,,,"900200123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AZ",994,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[1-9]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365|46","1[28]|2|365(?:[0-46-9]|5[0-35-9])|46"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365|46","1[28]|2|365(?:[0-46-9]|5[0-35-9])|46"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BA:[,[,,"6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",,,,,,,[8,9],[6]],[,,"(?:3(?:[05-79][2-9]|1[4579]|[23][24-9]|4[2-4689]|8[2457-9])|49[2-579]|5(?:0[2-49]|[13][2-9]|[268][2-4679]|4[4689]|5[2-79]|7[2-69]|9[2-4689]))\\d{5}",,,,"30212345",,,[8],[6]],[,,"6040\\d{5}|6(?:03|[1-356]|44|7\\d)\\d{6}",,,,"61123456"],[,,"8[08]\\d{6}",,,,"80123456",,,[8]],[,,"9[0246]\\d{6}",,,,"90123456",,,[8]],[,,"8[12]\\d{6}",,,,"82123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BA",387,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})","$1-$2",["[2-9]"]],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"703[235]0\\d{3}|70(?:2[0-5]|3[0146]|[56]0)\\d{4}",,,,"70341234",,,[8]],,,[,,,,,,,,,[-1]]],BB:[,[,,"(?:246|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"246(?:2(?:2[78]|7[0-4])|4(?:1[024-6]|2\\d|3[2-9])|5(?:20|[34]\\d|54|7[1-3])|6(?:2\\d|38)|7[35]7|9(?:1[89]|63))\\d{4}",,,,"2464123456",,,,[7]],[,,"246(?:2(?:[3568]\\d|4[0-57-9])|45\\d|69[5-7]|8(?:[2-5]\\d|83))\\d{4}",,,,"2462501234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"(?:246976|900[2-9]\\d\\d)\\d{4}",,,,"9002123456",,,,[7]],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"24631\\d{5}",,,,"2463101234",,,,[7]],"BB",1,"011","1",,,"1|([2-9]\\d{6})$","246$1",,,,,[,,,,,,,,,[-1]],,"246",[,,,,,,,,,[-1]],[,,"246(?:292|367|4(?:1[7-9]|3[01]|44|67)|7(?:36|53))\\d{4}",,,,"2464301234",,,,[7]],,,[,,,,,,,,,[-1]]],BD:[,[,,"[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",,,,,,,[6,7,8,9,10]],[,,"(?:465[3578]\\d{4}|8332[6-9])\\d\\d|465(?:(?:3|[57]\\d)\\d{3,4}|8\\d{3})|(?:3(?:03[56]|224)|422[25])\\d{3,4}|(?:4(?:31\\d\\d|423|65(?:28|4\\d))|5222)\\d{3}(?:\\d{2})?|(?:3(?:42[47]|529|823)|4(?:027|525)|562|6257|7(?:1(?:5[3-5]|6[12]|7[156]|89)|22[589]56|32|42675|52(?:[25689](?:56|8)|[347]8)|71(?:6[1267]|75|89)|92374)|82(?:2[59]|32)56|9(?:03[23]56|23(?:256|373)|31|5(?:1|2[4589]56)))\\d{3}|(?:3(?:02[348]|22[35]|324|422)|4(?:22[67]|32[236-9]|6(?:2[46]|56\\d)|953)|5526|6(?:024|6655)|81)\\d{4,5}|(?:2(?:7(?:1[0-267]|2[0-289]|3[0-29]|4[01]|5[1-3]|6[013]|7[0178]|91)|8(?:0[125]|1[1-6]|2[0157-9]|3[1-69]|41|6[1-35]|7[1-5]|8[1-8]|9[0-6])|9(?:0[0-2]|1[0-4]|2[568]|3[3-6]|5[5-7]|6[0136-9]|7[0-7]|8[014-9]))|3(?:0(?:2[025-79]|3[2-4])|181|22[12]|32[2356]|824)|4(?:02[09]|22[348]|32[045]|523|627)|666(?:22|53)|7(?:22[57-9]|42[56]|82[35])8|8(?:0[124-9]|2(?:181|2[02-4679]8)|4[12]|[5-7]2)|9(?:[04]2|2(?:2|328)|81))\\d{4}|(?:2(?:[23]\\d|[45])\\d\\d|3(?:(?:[19]3|35|59|6[3-59])\\d\\d|4(?:25|[39]\\d\\d))|4(?:0(?:33|9\\d\\d)|(?:1|2[3-5]\\d)\\d|3(?:32|[459]\\d\\d)|4(?:2[246]|5[25])|6(?:2[35]|[349]\\d\\d|5(?:[019]\\d|2[0-79])|62)|8(?:23|54)|92[2-5])|5(?:02[03489]|22[457]|32[35-79]|42[46]|6(?:[18]|53)|724|826)|6(?:023|2(?:2[2-5]|5[3-5]|8)|32[3478]|42[34]|52[47]|6(?:[18]|6(?:2[34]|5[24]))|[78]2[2-5]|92[2-6])|7(?:02|21\\d|[3-589]1|6[12]|72[24])|8(?:21(?:4\\d|7)|3[12]|[5-7]1)|9(?:[24]1|82\\d\\d))\\d{5}|(?:3(?:1(?:2[5-7]|[5-7])|822)|4(?:[257]1|[4689][18])|(?:5[2-57-9]|6[03-589])1)\\d{5}|(?:3[2-8]|[59])1\\d{5}",,,,"27111234"],[,,"(?:1[13-9]\\d|644)\\d{7}|(?:3[78]|44|66)[02-9]\\d{7}",,,,"1812345678",,,[10]],[,,"80[03]\\d{7}",,,,"8001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"96(?:0[469]|1[0-47]|3[389]|6[69]|7[78])\\d{6}",,,,"9604123456",,,[10]],"BD",880,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],[,"(\\d{3})(\\d{3,7})","$1-$2",["38[013-9]|4(?:6[168]|[89][18])|5(?:6[128]|9)|6(?:28|4[14]|5)|8(?:0[014-9]|1|2[1-3])|[34]7|7[2-589]|9[35]|(?:3[2-6]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[248])1|(?:44|66)[01346-9]","38[013-9]|4(?:6[168]|[89][18])|5(?:6[128]|9)|6(?:28|4[14]|5)|8(?:0[014-9]|1|2(?:1[78]|[23]))|[34]7|7[2-589]|9[35]|(?:3[2-6]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[248])1|(?:44|66)[01346-9]"],"0$1"],[,"(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|2[23]"],"0$1"],[,"(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BE:[,[,,"4\\d{8}|[1-9]\\d{7}",,,,,,,[8,9]],[,,"80[2-8]\\d{5}|(?:1[0-69]|[23][2-8]|4[23]|5\\d|6[013-57-9]|71|8[1-79]|9[2-4])\\d{6}",,,,"12345678",,,[8]],[,,"4[5-9]\\d{7}",,,,"470123456",,,[9]],[,,"800[1-9]\\d{4}",,,,"80012345",,,[8]],[,,"(?:70(?:2[0-57]|3[04-7]|44|69|7[0579])|90(?:0[0-8]|1[36]|2[0-3568]|3[013-689]|[47][2-68]|5[1-68]|6[0-378]|9[34679]))\\d{4}",,,,"90012345",,,[8]],[,,"7879\\d{4}",,,,"78791234",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BE",32,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],[,"(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"78(?:0[57]|1[0458]|2[25]|3[15-8]|48|[56]0|7[078]|9\\d)\\d{4}",,,,"78102345",,,[8]],,,[,,,,,,,,,[-1]]],BF:[,[,,"[025-7]\\d{7}",,,,,,,[8]],[,,"2(?:0(?:49|5[23]|6[56]|9[016-9])|4(?:4[569]|5[4-6]|6[56]|7[0179])|5(?:[34]\\d|50|6[5-7]))\\d{4}",,,,"20491234"],[,,"(?:0[1267]|5[1-8]|[67]\\d)\\d{6}",,,,"70123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BF",226,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[025-7]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BG:[,[,,"[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",,,,,,,[6,7,8,9],[4,5]],[,,"2\\d{5,7}|(?:43[1-6]|70[1-9])\\d{4,5}|(?:[36]\\d|4[124-7]|[57][1-9]|8[1-6]|9[1-7])\\d{5,6}",,,,"2123456",,,[6,7,8],[4,5]],[,,"43[07-9]\\d{5}|(?:48|8[7-9]\\d|9(?:8\\d|9[69]))\\d{6}",,,,"48123456",,,[8,9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,"90\\d{6}",,,,"90123456",,,[8]],[,,"700\\d{5}",,,,"70012345",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BG",359,"00","0",,,"0",,,,[[,"(\\d{6})","$1",["1"]],[,"(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],[[,"(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BH:[,[,,"[136-9]\\d{7}",,,,,,,[8]],[,,"(?:1(?:3[1356]|6[0156]|7\\d)\\d|6(?:1[16]\\d|500|6(?:0\\d|3[12]|44|7[7-9]|88)|9[69][69])|7(?:1(?:11|78)|7\\d\\d))\\d{4}",,,,"17001234"],[,,"(?:3(?:[1-79]\\d|8[0-47-9])\\d|6(?:3(?:00|33|6[16])|6(?:3[03-9]|[69]\\d|7[0-6])))\\d{4}",,,,"36001234"],[,,"80\\d{6}",,,,"80123456"],[,,"(?:87|9[014578])\\d{6}",,,,"90123456"],[,,"84\\d{6}",,,,"84123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BH",973,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[13679]|8[047]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BI:[,[,,"(?:[267]\\d|31)\\d{6}",,,,,,,[8]],[,,"22\\d{6}",,,,"22201234"],[,,"(?:29|31|6[1289]|7[125-9])\\d{6}",,,,"79561234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BI",257,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BJ:[,[,,"[25689]\\d{7}",,,,,,,[8]],[,,"2(?:02|1[037]|2[45]|3[68])\\d{5}",,,,"20211234"],[,,"(?:5[1-35-8]|6\\d|9[013-9])\\d{6}",,,,"90011234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"857[58]\\d{4}",,,,"85751234"],"BJ",229,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[25689]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"81\\d{6}",,,,"81123456"],,,[,,,,,,,,,[-1]]],BL:[,[,,"(?:590|(?:69|80)\\d|976)\\d{6}",,,,,,,[9]],[,,"590(?:2[7-9]|5[12]|87)\\d{4}",,,,"590271234"],[,,"69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}",,,,"690001234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"976[01]\\d{5}",,,,"976012345"],"BL",590,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BM:[,[,,"(?:441|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"441(?:[46]\\d\\d|5(?:4\\d|60|89))\\d{4}",,,,"4414123456",,,,[7]],[,,"441(?:[2378]\\d|5[0-39])\\d{5}",,,,"4413701234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"BM",1,"011","1",,,"1|([2-8]\\d{6})$","441$1",,,,,[,,,,,,,,,[-1]],,"441",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BN:[,[,,"[2-578]\\d{6}",,,,,,,[7]],[,,"22[0-7]\\d{4}|(?:2[013-9]|[34]\\d|5[0-25-9])\\d{5}",,,,"2345678"],[,,"(?:22[89]|[78]\\d\\d)\\d{4}",,,,"7123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"5[34]\\d{5}",,,,"5345678"],"BN",673,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BO:[,[,,"(?:[2-467]\\d\\d|8001)\\d{5}",,,,,,,[8,9],[7]],[,,"(?:2(?:2\\d\\d|5(?:11|[258]\\d|9[67])|6(?:12|2\\d|9[34])|8(?:2[34]|39|62))|3(?:3\\d\\d|4(?:6\\d|8[24])|8(?:25|42|5[257]|86|9[25])|9(?:[27]\\d|3[2-4]|4[248]|5[24]|6[2-6]))|4(?:4\\d\\d|6(?:11|[24689]\\d|72)))\\d{4}",,,,"22123456",,,[8],[7]],[,,"[67]\\d{7}",,,,"71234567",,,[8]],[,,"8001[07]\\d{4}",,,,"800171234",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BO",591,"00(?:1\\d)?","0",,,"0(1\\d)?",,,,[[,"(\\d)(\\d{7})","$1 $2",["[23]|4[46]"],,"0$CC $1"],[,"(\\d{8})","$1",["[67]"],,"0$CC $1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"],,"0$CC $1"]],,[,,,,,,,,,[-1]],,,[,,"8001[07]\\d{4}",,,,,,,[9]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BQ:[,[,,"(?:[34]1|7\\d)\\d{5}",,,,,,,[7]],[,,"(?:318[023]|41(?:6[023]|70)|7(?:1[578]|2[05]|50)\\d)\\d{3}",,,,"7151234"],[,,"(?:31(?:8[14-8]|9[14578])|416[14-9]|7(?:0[01]|7[07]|8\\d|9[056])\\d)\\d{3}",,,,"3181234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BQ",599,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"[347]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BR:[,[,,"(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-24679]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}",,,,,,,[8,9,10,11]],[,,"(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-5]\\d{7}",,,,"1123456789",,,[10],[8]],[,,"(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])(?:7|9\\d)\\d{7}",,,,"11961234567",,,[10,11],[8,9]],[,,"800\\d{6,7}",,,,"800123456",,,[9,10]],[,,"300\\d{6}|[59]00\\d{6,7}",,,,"300123456",,,[9,10]],[,,"300\\d{7}|[34]00\\d{5}|4(?:02|37)0\\d{4}",,,,"40041234",,,[8,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BR",55,"00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","0",,,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2",,,[[,"(\\d{3,6})","$1",["1(?:1[25-8]|2[357-9]|3[02-68]|4[12568]|5|6[0-8]|8[015]|9[0-47-9])|321|610"]],[,"(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],[,"(\\d{4})(\\d{4})","$1-$2",["[2-57]","[2357]|4(?:[0-24-9]|3(?:[0-689]|7[1-9]))"]],[,"(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],[,"(\\d{5})(\\d{4})","$1-$2",["9"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)","0 $CC ($1)"],[,"(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)","0 $CC ($1)"]],[[,"(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],[,"(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)","0 $CC ($1)"],[,"(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)","0 $CC ($1)"]],[,,,,,,,,,[-1]],,,[,,"4020\\d{4}|[34]00\\d{5}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BS:[,[,,"(?:242|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"242(?:3(?:02|[236][1-9]|4[0-24-9]|5[0-68]|7[347]|8[0-4]|9[2-467])|461|502|6(?:0[1-4]|12|2[013]|[45]0|7[67]|8[78]|9[89])|7(?:02|88))\\d{4}",,,,"2423456789",,,,[7]],[,,"242(?:3(?:5[79]|7[56]|95)|4(?:[23][1-9]|4[1-35-9]|5[1-8]|6[2-8]|7\\d|81)|5(?:2[45]|3[35]|44|5[1-46-9]|65|77)|6[34]6|7(?:27|38)|8(?:0[1-9]|1[02-9]|2\\d|[89]9))\\d{4}",,,,"2423591234",,,,[7]],[,,"242300\\d{4}|8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456",,,,[7]],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"BS",1,"011","1",,,"1|([3-8]\\d{6})$","242$1",,,,,[,,,,,,,,,[-1]],,"242",[,,,,,,,,,[-1]],[,,"242225\\d{4}",,,,"2422250123"],,,[,,,,,,,,,[-1]]],BT:[,[,,"[17]\\d{7}|[2-8]\\d{6}",,,,,,,[7,8],[6]],[,,"(?:2[3-6]|[34][5-7]|5[236]|6[2-46]|7[246]|8[2-4])\\d{5}",,,,"2345678",,,[7],[6]],[,,"(?:1[67]|77)\\d{6}",,,,"17123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BT",975,"00",,,,,,,,[[,"(\\d{3})(\\d{3})","$1 $2",["[2-7]"]],[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]],[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BW:[,[,,"(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",,,,,,,[7,8,10]],[,,"(?:2(?:4[0-48]|6[0-24]|9[0578])|3(?:1[0-35-9]|55|[69]\\d|7[013])|4(?:6[03]|7[1267]|9[0-5])|5(?:3[03489]|4[0489]|7[1-47]|88|9[0-49])|6(?:2[1-35]|5[149]|8[067]))\\d{4}",,,,"2401234",,,[7]],[,,"(?:321|7(?:[1-7]\\d|8[01]))\\d{5}",,,,"71123456",,,[8]],[,,"(?:0800|800\\d)\\d{6}",,,,"0800012345",,,[10]],[,,"90\\d{5}",,,,"9012345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"79(?:1(?:[01]\\d|20)|2[0-2]\\d)\\d{3}",,,,"79101234",,,[8]],"BW",267,"00",,,,,,,,[[,"(\\d{2})(\\d{5})","$1 $2",["90"]],[,"(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-79]"]],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],[,"(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BY:[,[,,"(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",,,,,,,[6,7,8,9,10,11],[5]],[,,"(?:1(?:5(?:1[1-5]|[24]\\d|6[2-4]|9[1-7])|6(?:[235]\\d|4[1-7])|7\\d\\d)|2(?:1(?:[246]\\d|3[0-35-9]|5[1-9])|2(?:[235]\\d|4[0-8])|3(?:[26]\\d|3[02-79]|4[024-7]|5[03-7])))\\d{5}",,,,"152450911",,,[9],[5,6,7]],[,,"(?:2(?:5[5-79]|9[1-9])|(?:33|44)\\d)\\d{6}",,,,"294911911",,,[9]],[,,"800\\d{3,7}|8(?:0[13]|20\\d)\\d{7}",,,,"8011234567"],[,,"(?:810|902)\\d{7}",,,,"9021234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"249\\d{6}",,,,"249123456",,,[9]],"BY",375,"810","8",,,"0|80?",,"8~10",,[[,"(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],[,"(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],[,"(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],[,"(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],,[,,,,,,,,,[-1]],,,[,,"800\\d{3,7}|(?:8(?:0[13]|10|20\\d)|902)\\d{7}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BZ:[,[,,"(?:0800\\d|[2-8])\\d{6}",,,,,,,[7,11]],[,,"(?:2(?:[02]\\d|36|[68]0)|[3-58](?:[02]\\d|[68]0)|7(?:[02]\\d|32|[68]0))\\d{4}",,,,"2221234",,,[7]],[,,"6[0-35-7]\\d{5}",,,,"6221234",,,[7]],[,,"0800\\d{7}",,,,"08001234123",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BZ",501,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],[,"(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CA:[,[,,"(?:[2-8]\\d|90)\\d{8}",,,,,,,[10],[7]],[,,"(?:2(?:04|[23]6|[48]9|50)|3(?:06|43|6[578])|4(?:03|1[68]|3[178]|50|74)|5(?:06|1[49]|48|79|8[17])|6(?:04|13|39|47|72)|7(?:0[59]|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\d{6}",,,,"5062345678",,,,[7]],[,,"(?:2(?:04|[23]6|[48]9|50)|3(?:06|43|6[578])|4(?:03|1[68]|3[178]|50|74)|5(?:06|1[49]|48|79|8[17])|6(?:04|13|39|47|72)|7(?:0[59]|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\d{6}",,,,"5062345678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:00|2[12]|33|44|66|77|88)|622)[2-9]\\d{6}",,,,"5002345678"],[,,"600[2-9]\\d{6}",,,,"6002012345"],"CA",1,"011","1",,,"1",,,1,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CC:[,[,,"1(?:[0-79]\\d|8[0-24-9])\\d{7}|[148]\\d{8}|1\\d{5,7}",,,,,,,[6,7,8,9,10]],[,,"8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",,,,"891621234",,,[9],[8]],[,,"4(?:83[0-38]|93[0-4])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[06-9]|7[02-9]|8[0-24-9]|9[0-27-9])\\d{6}",,,,"412345678",,,[9]],[,,"180(?:0\\d{3}|2)\\d{3}",,,,"1800123456",,,[7,10]],[,,"190[0-26]\\d{6}",,,,"1900123456",,,[10]],[,,"13(?:00\\d{3}|45[0-4])\\d{3}|13\\d{4}",,,,"1300123456",,,[6,8,10]],[,,,,,,,,,[-1]],[,,"14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",,,,"147101234",,,[9]],"CC",61,"001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","0",,,"0|([59]\\d{7})$","8$1","0011",,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CD:[,[,,"[189]\\d{8}|[1-68]\\d{6}",,,,,,,[7,9]],[,,"12\\d{7}|[1-6]\\d{6}",,,,"1234567"],[,,"88\\d{5}|(?:8[0-59]|9[017-9])\\d{7}",,,,"991234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CD",243,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],[,"(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CF:[,[,,"(?:[27]\\d{3}|8776)\\d{4}",,,,,,,[8]],[,,"2[12]\\d{6}",,,,"21612345"],[,,"7[0257]\\d{6}",,,,"70012345"],[,,,,,,,,,[-1]],[,,"8776\\d{4}",,,,"87761234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CF",236,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CG:[,[,,"(?:0\\d\\d|222|800)\\d{6}",,,,,,,[9]],[,,"222[1-589]\\d{5}",,,,"222123456"],[,,"026(?:1[0-5]|6[6-9])\\d{4}|0(?:[14-6]\\d\\d|2(?:40|5[5-8]|6[07-9]))\\d{5}",,,,"061234567"],[,,,,,,,,,[-1]],[,,"800\\d{6}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CG",242,"00",,,,,,,,[[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CH:[,[,,"8\\d{11}|[2-9]\\d{8}",,,,,,,[9,12]],[,,"(?:2[12467]|3[1-4]|4[134]|5[256]|6[12]|[7-9]1)\\d{7}",,,,"212345678",,,[9]],[,,"7[35-9]\\d{7}",,,,"781234567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"90[016]\\d{6}",,,,"900123456",,,[9]],[,,"84[0248]\\d{6}",,,,"840123456",,,[9]],[,,"878\\d{6}",,,,"878123456",,,[9]],[,,,,,,,,,[-1]],"CH",41,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],,[,,"74[0248]\\d{6}",,,,"740123456",,,[9]],,,[,,,,,,,,,[-1]],[,,"5[18]\\d{7}",,,,"581234567",,,[9]],,,[,,"860\\d{9}",,,,"860123456789",,,[12]]],CI:[,[,,"[02]\\d{9}",,,,,,,[10]],[,,"2(?:[15]\\d{3}|7(?:2(?:0[23]|1[2357]|[23][45]|4[3-5])|3(?:06|1[69]|[2-6]7)))\\d{5}",,,,"2123456789"],[,,"0704[0-7]\\d{5}|0(?:[15]\\d\\d|7(?:0[0-37-9]|[4-9][7-9]))\\d{6}",,,,"0123456789"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CI",225,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CK:[,[,,"[2-578]\\d{4}",,,,,,,[5]],[,,"(?:2\\d|3[13-7]|4[1-5])\\d{3}",,,,"21234"],[,,"[578]\\d{4}",,,,"71234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CK",682,"00",,,,,,,,[[,"(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CL:[,[,,"12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",,,,,,,[9,10,11]],[,,"2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:2\\d\\d|3(?:[034]\\d|1[0-35-9]|2[1-9]|5[0-2])|600))|80[1-9]\\d\\d|9(?:3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|7[1-9]\\d\\d|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}",,,,"221234567",,,[9]],[,,"2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:2\\d\\d|3(?:[034]\\d|1[0-35-9]|2[1-9]|5[0-2])|600))|80[1-9]\\d\\d|9(?:3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|7[1-9]\\d\\d|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}",,,,"221234567",,,[9]],[,,"(?:123|8)00\\d{6}",,,,"800123456",,,[9,11]],[,,,,,,,,,[-1]],[,,"600\\d{7,8}",,,,"6001234567",,,[10,11]],[,,,,,,,,,[-1]],[,,"44\\d{7}",,,,"441234567",,,[9]],"CL",56,"(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0",,,,,,,1,[[,"(\\d{4})","$1",["1(?:[03-589]|21)|[29]0|78"]],[,"(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-3]"],"($1)"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]],[[,"(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-3]"],"($1)"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]],[,,,,,,,,,[-1]],,,[,,"600\\d{7,8}",,,,,,,[10,11]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CM:[,[,,"[26]\\d{8}|88\\d{6,7}",,,,,,,[8,9]],[,,"2(?:22|33)\\d{6}",,,,"222123456",,,[9]],[,,"(?:24[23]|6[5-9]\\d)\\d{6}",,,,"671234567",,,[9]],[,,"88\\d{6,7}",,,,"88012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CM",237,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CN:[,[,,"1[127]\\d{8,9}|2\\d{9}(?:\\d{2})?|[12]\\d{6,7}|86\\d{6}|(?:1[03-689]\\d|6)\\d{7,9}|(?:[3-579]\\d|8[0-57-9])\\d{6,9}",,,,,,,[7,8,9,10,11,12],[5,6]],[,,"(?:10(?:[02-79]\\d\\d|[18](?:0[1-9]|[1-9]\\d))|21(?:[18](?:0[1-9]|[1-9]\\d)|[2-79]\\d\\d))\\d{5}|(?:43[35]|754)\\d{7,8}|8(?:078\\d{7}|51\\d{7,8})|(?:10|(?:2|85)1|43[35]|754)(?:100\\d\\d|95\\d{3,4})|(?:2[02-57-9]|3(?:11|7[179])|4(?:[15]1|3[12])|5(?:1\\d|2[37]|3[12]|51|7[13-79]|9[15])|7(?:[39]1|5[57]|6[09])|8(?:71|98))(?:[02-8]\\d{7}|1(?:0(?:0\\d\\d(?:\\d{3})?|[1-9]\\d{5})|[1-9]\\d{6})|9(?:[0-46-9]\\d{6}|5\\d{3}(?:\\d(?:\\d{2})?)?))|(?:3(?:1[02-9]|35|49|5\\d|7[02-68]|9[1-68])|4(?:1[02-9]|2[179]|3[46-9]|5[2-9]|6[47-9]|7\\d|8[23])|5(?:3[03-9]|4[36]|5[02-9]|6[1-46]|7[028]|80|9[2-46-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[17]\\d|2[248]|3[04-9]|4[3-6]|5[0-3689]|6[2368]|9[02-9])|8(?:1[236-8]|2[5-7]|3\\d|5[2-9]|7[02-9]|8[36-8]|9[1-7])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:[02-8]\\d{6}|1(?:0(?:0\\d\\d(?:\\d{2})?|[1-9]\\d{4})|[1-9]\\d{5})|9(?:[0-46-9]\\d{5}|5\\d{3,5}))",,,,"1012345678",,,[7,8,9,10,11],[5,6]],[,,"1740[0-5]\\d{6}|1(?:[38]\\d|4[57]|5[0-35-9]|6[25-7]|7[0-35-8]|9[0135-9])\\d{8}",,,,"13123456789",,,[11]],[,,"(?:(?:10|21)8|8)00\\d{7}",,,,"8001234567",,,[10,12]],[,,"16[08]\\d{5}",,,,"16812345",,,[8]],[,,"400\\d{7}|950\\d{7,8}|(?:10|2[0-57-9]|3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))96\\d{3,4}",,,,"4001234567",,,[7,8,9,10,11],[5,6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CN",86,"00|1(?:[12]\\d|79)\\d\\d00","0",,,"0|(1(?:[12]\\d|79)\\d\\d)",,"00",,[[,"(\\d{5,6})","$1",["96"]],[,"(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]","(?:10|2[0-57-9])(?:10|9[56])","(?:10|2[0-57-9])(?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{3})(\\d{4})","$1 $2",["[1-9]","1[1-9]|26|[3-9]|(?:10|2[0-57-9])(?:[0-8]|9[0-47-9])","1[1-9]|26|[3-9]|(?:10|2[0-57-9])(?:[02-8]|1(?:0[1-9]|[1-9])|9[0-47-9])"]],[,"(\\d{4})(\\d{4})","$1 $2",["16[08]"]],[,"(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{4})(\\d{4})","$1 $2",["[1-9]","1[1-9]|26|[3-9]|(?:10|2[0-57-9])(?:[0-8]|9[0-47-9])","26|3(?:[0268]|9[079])|4(?:[049]|2[02-68]|[35]0|6[0-356]|8[014-9])|5(?:0|2[0-24-689]|4[0-2457-9]|6[057-9]|90)|6(?:[0-24578]|6[14-79]|9[03-9])|7(?:0[02-9]|2[0135-79]|3[23]|4[0-27-9]|6[1457]|8)|8(?:[046]|1[01459]|2[0-489]|50|8[0-2459]|9[09])|9(?:0[0457]|1[08]|[268]|4[024-9])|(?:34|85[23])[0-8]|(?:1|58)[1-9]|(?:63|95)[06-9]|(?:33|85[23]9)[0-46-9]|(?:10|2[0-57-9]|3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:[0-8]|9[0-47-9])","26|3(?:[0268]|3[0-46-9]|4[0-8]|9[079])|4(?:[049]|2[02-68]|[35]0|6[0-356]|8[014-9])|5(?:0|2[0-24-689]|4[0-2457-9]|6[057-9]|90)|6(?:[0-24578]|3[06-9]|6[14-79]|9[03-9])|7(?:0[02-9]|2[0135-79]|3[23]|4[0-27-9]|6[1457]|8)|8(?:[046]|1[01459]|2[0-489]|5(?:0|[23](?:[02-8]|1[1-9]|9[0-46-9]))|8[0-2459]|9[09])|9(?:0[0457]|1[08]|[268]|4[024-9]|5[06-9])|(?:1|58|85[23]10)[1-9]|(?:10|2[0-57-9])(?:[0-8]|9[0-47-9])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:[02-8]|1(?:0[1-9]|[1-9])|9[0-47-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{7,8})","$1 $2",["9"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"],,"$CC $1"],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",,1]],[[,"(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]","(?:10|2[0-57-9])(?:10|9[56])","(?:10|2[0-57-9])(?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{7,8})","$1 $2",["9"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"],,"$CC $1"],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",,1]],[,,,,,,,,,[-1]],,,[,,"(?:(?:10|21)8|[48])00\\d{7}|950\\d{7,8}",,,,,,,[10,11,12]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CO:[,[,,"(?:(?:1\\d|[36])\\d{3}|9101)\\d{6}|[124-8]\\d{7}",,,,,,,[8,10,11],[7]],[,,"60[124-8][2-9]\\d{6}|[124-8][2-9]\\d{6}",,,,"12345678",,,[8,10],[7]],[,,"3333(?:0(?:0\\d|1[0-5])|[4-9]\\d\\d)\\d{3}|(?:3(?:24[2-6]|3(?:00|3[0-24-9]))|9101)\\d{6}|3(?:0[0-5]|1\\d|2[0-3]|5[01]|70)\\d{7}",,,,"3211234567",,,[10]],[,,"1800\\d{7}",,,,"18001234567",,,[11]],[,,"19(?:0[01]|4[78])\\d{7}",,,,"19001234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CO",57,"00(?:4(?:[14]4|56)|[579])","0",,,"0([3579]|4(?:[14]4|56))?",,,,[[,"(\\d)(\\d{7})","$1 $2",["[146][2-9]|[2578]"],"($1)","0$CC $1"],[,"(\\d{3})(\\d{7})","$1 $2",["6"],"($1)","0$CC $1"],[,"(\\d{3})(\\d{7})","$1 $2",["[39]"],,"0$CC $1"],[,"(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1"]],[[,"(\\d)(\\d{7})","$1 $2",["[146][2-9]|[2578]"],"($1)","0$CC $1"],[,"(\\d{3})(\\d{7})","$1 $2",["6"],"($1)","0$CC $1"],[,"(\\d{3})(\\d{7})","$1 $2",["[39]"],,"0$CC $1"],[,"(\\d)(\\d{3})(\\d{7})","$1 $2 $3",["1"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CR:[,[,,"(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",,,,,,,[8,10]],[,,"210[7-9]\\d{4}|2(?:[024-7]\\d|1[1-9])\\d{5}",,,,"22123456",,,[8]],[,,"(?:3005\\d|6500[01])\\d{3}|(?:5[07]|6[0-4]|7[0-3]|8[3-9])\\d{6}",,,,"83123456",,,[8]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"90[059]\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:210[0-6]|4\\d{3}|5100)\\d{4}",,,,"40001234",,,[8]],"CR",506,"00",,,,"(19(?:0[0-2468]|1[09]|20|66|77|99))",,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CU:[,[,,"[27]\\d{6,7}|[34]\\d{5,7}|(?:5|8\\d\\d)\\d{7}",,,,,,,[6,7,8,10],[4,5]],[,,"(?:3[23]|48)\\d{4,6}|(?:31|4[36]|8(?:0[25]|78)\\d)\\d{6}|(?:2[1-4]|4[1257]|7\\d)\\d{5,6}",,,,"71234567",,,,[4,5]],[,,"5\\d{7}",,,,"51234567",,,[8]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,,,,,,,,[-1]],[,,"807\\d{7}",,,,"8071234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CU",53,"119","0",,,"0",,,,[[,"(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],[,"(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],[,"(\\d)(\\d{7})","$1 $2",["5"],"0$1"],[,"(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CV:[,[,,"(?:[2-59]\\d\\d|800)\\d{4}",,,,,,,[7]],[,,"2(?:2[1-7]|3[0-8]|4[12]|5[1256]|6\\d|7[1-3]|8[1-5])\\d{4}",,,,"2211234"],[,,"(?:[34][36]|5[1-389]|9\\d)\\d{5}",,,,"9911234"],[,,"800\\d{4}",,,,"8001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CV",238,"0",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CW:[,[,,"(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",,,,,,,[7,8]],[,,"9(?:4(?:3[0-5]|4[14]|6\\d)|50\\d|7(?:2[014]|3[02-9]|4[4-9]|6[357]|77|8[7-9])|8(?:3[39]|[46]\\d|7[01]|8[57-9]))\\d{4}",,,,"94351234"],[,,"953[01]\\d{4}|9(?:5[12467]|6[5-9])\\d{5}",,,,"95181234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"60[0-2]\\d{4}",,,,"6001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CW",599,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[3467]"]],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],,[,,"955\\d{5}",,,,"95581234",,,[8]],1,"[69]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CX:[,[,,"1(?:[0-79]\\d|8[0-24-9])\\d{7}|[148]\\d{8}|1\\d{5,7}",,,,,,,[6,7,8,9,10]],[,,"8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",,,,"891641234",,,[9],[8]],[,,"4(?:83[0-38]|93[0-4])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[06-9]|7[02-9]|8[0-24-9]|9[0-27-9])\\d{6}",,,,"412345678",,,[9]],[,,"180(?:0\\d{3}|2)\\d{3}",,,,"1800123456",,,[7,10]],[,,"190[0-26]\\d{6}",,,,"1900123456",,,[10]],[,,"13(?:00\\d{3}|45[0-4])\\d{3}|13\\d{4}",,,,"1300123456",,,[6,8,10]],[,,,,,,,,,[-1]],[,,"14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",,,,"147101234",,,[9]],"CX",61,"001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","0",,,"0|([59]\\d{7})$","8$1","0011",,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CY:[,[,,"(?:[279]\\d|[58]0)\\d{6}",,,,,,,[8]],[,,"2[2-6]\\d{6}",,,,"22345678"],[,,"9[4-79]\\d{6}",,,,"96123456"],[,,"800\\d{5}",,,,"80001234"],[,,"90[09]\\d{5}",,,,"90012345"],[,,"80[1-9]\\d{5}",,,,"80112345"],[,,"700\\d{5}",,,,"70012345"],[,,,,,,,,,[-1]],"CY",357,"00",,,,,,,,[[,"(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:50|77)\\d{6}",,,,"77123456"],,,[,,,,,,,,,[-1]]],CZ:[,[,,"(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",,,,,,,[9,10,11,12]],[,,"(?:2\\d|3[1257-9]|4[16-9]|5[13-9])\\d{7}",,,,"212345678",,,[9]],[,,"(?:60[1-8]|7(?:0[2-5]|[2379]\\d))\\d{6}",,,,"601123456",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"9(?:0[05689]|76)\\d{6}",,,,"900123456",,,[9]],[,,"8[134]\\d{7}",,,,"811234567",,,[9]],[,,"70[01]\\d{6}",,,,"700123456",,,[9]],[,,"9[17]0\\d{6}",,,,"910123456",,,[9]],"CZ",420,"00",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"9(?:5\\d|7[2-4])\\d{6}",,,,"972123456",,,[9]],,,[,,"9(?:3\\d{9}|6\\d{7,10})",,,,"93123456789"]],DE:[,[,,"[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:1\\d|2[02-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[05]\\d|[23]1|[46][1-8])\\d{1,9}",,,,,,,[4,5,6,7,8,9,10,11,12,13,14,15],[2,3]],[,,"32\\d{9,11}|49[2-6]\\d{10}|49[0-7]\\d{3,9}|(?:[34]0|[68]9)\\d{3,13}|(?:2(?:0[1-689]|[1-3569]\\d|4[0-8]|7[1-7]|8[0-7])|3(?:[3569]\\d|4[0-79]|7[1-7]|8[1-8])|4(?:1[02-9]|[2-48]\\d|5[0-6]|6[0-8]|7[0-79])|5(?:0[2-8]|[124-6]\\d|[38][0-8]|[79][0-7])|6(?:0[02-9]|[1-358]\\d|[47][0-8]|6[1-9])|7(?:0[2-8]|1[1-9]|[27][0-7]|3\\d|[4-6][0-8]|8[0-5]|9[013-7])|8(?:0[2-9]|1[0-79]|2\\d|3[0-46-9]|4[0-6]|5[013-9]|6[1-8]|7[0-8]|8[0-24-6])|9(?:0[6-9]|[1-4]\\d|[589][0-7]|6[0-8]|7[0-467]))\\d{3,12}",,,,"30123456",,,[5,6,7,8,9,10,11,12,13,14,15],[2,3,4]],[,,"15[0-25-9]\\d{8}|1(?:6[023]|7\\d)\\d{7,8}",,,,"15123456789",,,[10,11]],[,,"800\\d{7,12}",,,,"8001234567890",,,[10,11,12,13,14,15]],[,,"(?:137[7-9]|900(?:[135]|9\\d))\\d{6}",,,,"9001234567",,,[10,11]],[,,"180\\d{5,11}|13(?:7[1-6]\\d\\d|8)\\d{4}",,,,"18012345",,,[7,8,9,10,11,12,13,14]],[,,"700\\d{8}",,,,"70012345678",,,[11]],[,,,,,,,,,[-1]],"DE",49,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],[,"(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],[,"(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],[,"(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],[,"(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],[,"(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],[,"(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],[,"(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],[,"(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],[,"(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],[,"(\\d{5})(\\d{6})","$1 $2",["15[0568]"],"0$1"],[,"(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],[,"(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],[,"(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],,[,,"16(?:4\\d{1,10}|[89]\\d{1,11})",,,,"16412345",,,[4,5,6,7,8,9,10,11,12,13,14]],,,[,,,,,,,,,[-1]],[,,"18(?:1\\d{5,11}|[2-9]\\d{8})",,,,"18500123456",,,[8,9,10,11,12,13,14]],,,[,,"1(?:6(?:013|255|399)|7(?:(?:[015]1|[69]3)3|[2-4]55|[78]99))\\d{7,8}|15(?:(?:[03-68]00|113)\\d|2\\d55|7\\d99|9\\d33)\\d{7}",,,,"177991234567",,,[12,13]]],DJ:[,[,,"(?:2\\d|77)\\d{6}",,,,,,,[8]],[,,"2(?:1[2-5]|7[45])\\d{5}",,,,"21360003"],[,,"77\\d{6}",,,,"77831001"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"DJ",253,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DK:[,[,,"[2-9]\\d{7}",,,,,,,[8]],[,,"(?:[2-7]\\d|8[126-9]|9[1-46-9])\\d{6}",,,,"32123456"],[,,"(?:[2-7]\\d|8[126-9]|9[1-46-9])\\d{6}",,,,"32123456"],[,,"80\\d{6}",,,,"80123456"],[,,"90\\d{6}",,,,"90123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"DK",45,"00",,,,,,,1,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DM:[,[,,"(?:[58]\\d\\d|767|900)\\d{7}",,,,,,,[10],[7]],[,,"767(?:2(?:55|66)|4(?:2[01]|4[0-25-9])|50[0-4])\\d{4}",,,,"7674201234",,,,[7]],[,,"767(?:2(?:[2-4689]5|7[5-7])|31[5-7]|61[1-8]|70[1-6])\\d{4}",,,,"7672251234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"DM",1,"011","1",,,"1|([2-7]\\d{6})$","767$1",,,,,[,,,,,,,,,[-1]],,"767",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DO:[,[,,"(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"8(?:[04]9[2-9]\\d\\d|29(?:2(?:[0-59]\\d|6[04-9]|7[0-27]|8[0237-9])|3(?:[0-35-9]\\d|4[7-9])|[45]\\d\\d|6(?:[0-27-9]\\d|[3-5][1-9]|6[0135-8])|7(?:0[013-9]|[1-37]\\d|4[1-35689]|5[1-4689]|6[1-57-9]|8[1-79]|9[1-8])|8(?:0[146-9]|1[0-48]|[248]\\d|3[1-79]|5[01589]|6[013-68]|7[124-8]|9[0-8])|9(?:[0-24]\\d|3[02-46-9]|5[0-79]|60|7[0169]|8[57-9]|9[02-9])))\\d{4}",,,,"8092345678",,,,[7]],[,,"8[024]9[2-9]\\d{6}",,,,"8092345678",,,,[7]],[,,"8(?:00(?:14|[2-9]\\d)|(?:33|44|55|66|77|88)[2-9]\\d)\\d{5}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"DO",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"8001|8[024]9",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DZ:[,[,,"(?:[1-4]|[5-79]\\d|80)\\d{7}",,,,,,,[8,9]],[,,"9619\\d{5}|(?:1\\d|2[013-79]|3[0-8]|4[0135689])\\d{6}",,,,"12345678"],[,,"(?:5(?:4[0-29]|5\\d|6[0-2])|6(?:[569]\\d|7[0-6])|7[7-9]\\d)\\d{6}",,,,"551234567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"80[3-689]1\\d{5}",,,,"808123456",,,[9]],[,,"80[12]1\\d{5}",,,,"801123456",,,[9]],[,,,,,,,,,[-1]],[,,"98[23]\\d{6}",,,,"983123456",,,[9]],"DZ",213,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EC:[,[,,"1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",,,,,,,[8,9,10,11],[7]],[,,"[2-7][2-7]\\d{6}",,,,"22123456",,,[8],[7]],[,,"964[0-2]\\d{5}|9(?:39|[57][89]|6[0-36-9]|[89]\\d)\\d{6}",,,,"991234567",,,[9]],[,,"1800\\d{7}|1[78]00\\d{6}",,,,"18001234567",,,[10,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"[2-7]890\\d{4}",,,,"28901234",,,[8]],"EC",593,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[2-7]"]],[,"(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],[[,"(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-7]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EE:[,[,,"8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",,,,,,,[7,8,10]],[,,"(?:3[23589]|4[3-8]|6\\d|7[1-9]|88)\\d{5}",,,,"3212345",,,[7]],[,,"5(?:[0-35-9]\\d{6}|4(?:[0-57-9]\\d{5}|6(?:[0-24-9]\\d{4}|3(?:[0-35-9]\\d{3}|4000))))|8(?:1(?:0(?:000|[3-9]\\d\\d)|(?:1(?:0[236]|1\\d)|(?:23|[3-79]\\d)\\d)\\d)|2(?:0(?:000|(?:19|[24-7]\\d)\\d)|(?:(?:[124-6]\\d|3[5-9])\\d|7(?:[679]\\d|8[13-9])|8(?:[2-6]\\d|7[01]))\\d)|[349]\\d{4})\\d\\d|5(?:(?:[02]\\d|5[0-478])\\d|1(?:[0-8]\\d|95)|6(?:4[0-4]|5[1-589]))\\d{3}",,,,"51234567",,,[7,8]],[,,"800(?:(?:0\\d\\d|1)\\d|[2-9])\\d{3}",,,,"80012345"],[,,"(?:40\\d\\d|900)\\d{4}",,,,"9001234",,,[7,8]],[,,,,,,,,,[-1]],[,,"70[0-2]\\d{5}",,,,"70012345",,,[8]],[,,,,,,,,,[-1]],"EE",372,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],[,"(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,"800[2-9]\\d{3}",,,,,,,[7]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EG:[,[,,"[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",,,,,,,[8,9,10],[6,7]],[,,"13[23]\\d{6}|(?:15|57)\\d{6,7}|(?:2[2-4]|3|4[05-8]|5[05]|6[24-689]|8[2468]|9[235-7])\\d{7}",,,,"234567890",,,[8,9],[6,7]],[,,"1[0-25]\\d{8}",,,,"1001234567",,,[10]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"900\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"EG",20,"00","0",,,"0",,,,[[,"(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],[,"(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[189]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EH:[,[,,"[5-8]\\d{8}",,,,,,,[9]],[,,"528[89]\\d{5}",,,,"528812345"],[,,"(?:6(?:[0-79]\\d|8[0-247-9])|7(?:0\\d|1[0-3]|6[1267]|7[0-57]))\\d{6}",,,,"650123456"],[,,"80\\d{7}",,,,"801234567"],[,,"89\\d{7}",,,,"891234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"592(?:4[0-2]|93)\\d{4}",,,,"592401234"],"EH",212,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,"528[89]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ER:[,[,,"[178]\\d{6}",,,,,,,[7],[6]],[,,"(?:1(?:1[12568]|[24]0|55|6[146])|8\\d\\d)\\d{4}",,,,"8370362",,,,[6]],[,,"(?:17[1-3]|7\\d\\d)\\d{4}",,,,"7123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ER",291,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ES:[,[,,"[5-9]\\d{8}",,,,,,,[9]],[,,"96906(?:0[0-8]|1[1-9]|[2-9]\\d)\\d\\d|9(?:69(?:0[0-57-9]|[1-9]\\d)|73(?:[0-8]\\d|9[1-9]))\\d{4}|(?:8(?:[1356]\\d|[28][0-8]|[47][1-9])|9(?:[135]\\d|[268][0-8]|4[1-9]|7[124-9]))\\d{6}",,,,"810123456"],[,,"(?:590[16]00\\d|9(?:6906(?:09|10)|7390\\d\\d))\\d\\d|(?:6\\d|7[1-48])\\d{7}",,,,"612345678"],[,,"[89]00\\d{6}",,,,"800123456"],[,,"80[367]\\d{6}",,,,"803123456"],[,,"90[12]\\d{6}",,,,"901123456"],[,,"70\\d{7}",,,,"701234567"],[,,,,,,,,,[-1]],"ES",34,"00",,,,,,,,[[,"(\\d{4})","$1",["905"]],[,"(\\d{6})","$1",["[79]9"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]],[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"51\\d{7}",,,,"511234567"],,,[,,,,,,,,,[-1]]],ET:[,[,,"(?:11|[2-59]\\d)\\d{7}",,,,,,,[9],[7]],[,,"11667[01]\\d{3}|(?:11(?:1(?:1[124]|2[2-7]|3[1-5]|5[5-8]|8[6-8])|2(?:13|3[6-8]|5[89]|7[05-9]|8[2-6])|3(?:2[01]|3[0-289]|4[1289]|7[1-4]|87)|4(?:1[69]|3[2-49]|4[0-3]|6[5-8])|5(?:1[578]|44|5[0-4])|6(?:1[78]|2[69]|39|4[5-7]|5[1-5]|6[0-59]|8[015-8]))|2(?:2(?:11[1-9]|22[0-7]|33\\d|44[1467]|66[1-68])|5(?:11[124-6]|33[2-8]|44[1467]|55[14]|66[1-3679]|77[124-79]|880))|3(?:3(?:11[0-46-8]|(?:22|55)[0-6]|33[0134689]|44[04]|66[01467])|4(?:44[0-8]|55[0-69]|66[0-3]|77[1-5]))|4(?:6(?:119|22[0-24-7]|33[1-5]|44[13-69]|55[14-689]|660|88[1-4])|7(?:(?:11|22)[1-9]|33[13-7]|44[13-6]|55[1-689]))|5(?:7(?:227|55[05]|(?:66|77)[14-8])|8(?:11[149]|22[013-79]|33[0-68]|44[013-8]|550|66[1-5]|77\\d)))\\d{4}",,,,"111112345",,,,[7]],[,,"9\\d{8}",,,,"911234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ET",251,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-59]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FI:[,[,,"[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",,,,,,,[5,6,7,8,9,10,11,12]],[,,"(?:1[3-79][1-8]|[235689][1-8]\\d)\\d{2,6}",,,,"131234567",,,[5,6,7,8,9]],[,,"4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}",,,,"412345678",,,[6,7,8,9,10]],[,,"800\\d{4,6}",,,,"800123456",,,[7,8,9]],[,,"[67]00\\d{5,6}",,,,"600123456",,,[8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FI",358,"00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","0",,,"0",,"00",,[[,"(\\d{5})","$1",["75[12]"],"0$1"],[,"(\\d)(\\d{4,9})","$1 $2",["[2568][1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"],[,"(\\d{6})","$1",["11"]],[,"(\\d{3})(\\d{3,7})","$1 $2",["[12]00|[368]|70[07-9]"],"0$1"],[,"(\\d{2})(\\d{4,8})","$1 $2",["[1245]|7[135]"],"0$1"],[,"(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"]],[[,"(\\d)(\\d{4,9})","$1 $2",["[2568][1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"],[,"(\\d{3})(\\d{3,7})","$1 $2",["[12]00|[368]|70[07-9]"],"0$1"],[,"(\\d{2})(\\d{4,8})","$1 $2",["[1245]|7[135]"],"0$1"],[,"(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"]],[,,,,,,,,,[-1]],1,"1[03-79]|[2-9]",[,,"20(?:2[023]|9[89])\\d{1,6}|(?:60[12]\\d|7099)\\d{4,5}|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:[1-3]00|7(?:0[1-5]\\d\\d|5[03-9]))\\d{3,7}"],[,,"20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}",,,,"10112345"],,,[,,,,,,,,,[-1]]],FJ:[,[,,"45\\d{5}|(?:0800\\d|[235-9])\\d{6}",,,,,,,[7,11]],[,,"603\\d{4}|(?:3[0-5]|6[25-7]|8[58])\\d{5}",,,,"3212345",,,[7]],[,,"(?:[279]\\d|45|5[01568]|8[034679])\\d{5}",,,,"7012345",,,[7]],[,,"0800\\d{7}",,,,"08001234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FJ",679,"0(?:0|52)",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FK:[,[,,"[2-7]\\d{4}",,,,,,,[5]],[,,"[2-47]\\d{4}",,,,"31234"],[,,"[56]\\d{4}",,,,"51234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FK",500,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FM:[,[,,"(?:[39]\\d\\d|820)\\d{4}",,,,,,,[7]],[,,"31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-6]\\d)\\d)\\d{3}",,,,"3201234"],[,,"31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-7]\\d)\\d)\\d{3}",,,,"3501234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FM",691,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[389]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FO:[,[,,"[2-9]\\d{5}",,,,,,,[6]],[,,"(?:20|[34]\\d|8[19])\\d{4}",,,,"201234"],[,,"(?:[27][1-9]|5\\d|91)\\d{4}",,,,"211234"],[,,"80[257-9]\\d{3}",,,,"802123"],[,,"90(?:[13-5][15-7]|2[125-7]|9\\d)\\d\\d",,,,"901123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:6[0-36]|88)\\d{4}",,,,"601234"],"FO",298,"00",,,,"(10(?:01|[12]0|88))",,,,[[,"(\\d{6})","$1",["[2-9]"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FR:[,[,,"[1-9]\\d{8}",,,,,,,[9]],[,,"(?:[1-35]\\d|4[1-9])\\d{7}",,,,"123456789"],[,,"(?:6(?:[0-24-8]\\d|3[0-8]|9[589])|7(?:00|[3-9]\\d))\\d{6}",,,,"612345678"],[,,"80[0-5]\\d{6}",,,,"801234567"],[,,"836(?:0[0-36-9]|[1-9]\\d)\\d{4}|8(?:1[2-9]|2[2-47-9]|3[0-57-9]|[569]\\d|8[0-35-9])\\d{6}",,,,"891123456"],[,,"8(?:1[01]|2[0156]|84)\\d{6}",,,,"884012345"],[,,,,,,,,,[-1]],[,,"9\\d{8}",,,,"912345678"],"FR",33,"00","0",,,"0",,,,[[,"(\\d{4})","$1",["10"]],[,"(\\d{3})(\\d{3})","$1 $2",["1"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"80[6-9]\\d{6}",,,,"806123456"],,,[,,,,,,,,,[-1]]],GA:[,[,,"(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",,,,,,,[7,8]],[,,"[01]1\\d{6}",,,,"01441234",,,[8]],[,,"(?:0[2-7]|6[256]|7[47])\\d{6}|[2-7]\\d{6}",,,,"06031234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GA",241,"00",,,,"0(11\\d{6}|6[256]\\d{6}|7[47]\\d{6})","$1",,,[[,"(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GB:[,[,,"[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",,,,,,,[7,9,10],[4,5,6,8]],[,,"(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0235])|4(?:[0-5]\\d\\d|69[7-9]|70[0359])|(?:5[0-26-9]|[78][0-49])\\d\\d|6(?:[0-4]\\d\\d|50[02459]))|2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d\\d|1(?:[0-7]\\d\\d|8(?:[02]\\d|1[0-278])))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",,,,"1212345678",,,[9,10],[4,5,6,7,8]],[,,"7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",,,,"7400123456",,,[10]],[,,"80[08]\\d{7}|800\\d{6}|8001111",,,,"8001234567"],[,,"(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",,,,"9012345678",,,[7,10]],[,,,,,,,,,[-1]],[,,"70\\d{8}",,,,"7012345678",,,[10]],[,,"56\\d{8}",,,,"5612345678",,,[10]],"GB",44,"00","0"," x",,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],[,"(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],[,"(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],[,"(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],[,"(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],,[,,"76(?:464|652)\\d{5}|76(?:0[0-2]|2[356]|34|4[01347]|5[49]|6[0-369]|77|81|9[139])\\d{6}",,,,"7640123456",,,[10]],1,,[,,,,,,,,,[-1]],[,,"(?:3[0347]|55)\\d{8}",,,,"5512345678",,,[10]],,,[,,,,,,,,,[-1]]],GD:[,[,,"(?:473|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"473(?:2(?:3[0-2]|69)|3(?:2[89]|86)|4(?:[06]8|3[5-9]|4[0-49]|5[5-79]|73|90)|63[68]|7(?:58|84)|800|938)\\d{4}",,,,"4732691234",,,,[7]],[,,"473(?:4(?:0[2-79]|1[04-9]|2[0-5]|58)|5(?:2[01]|3[3-8])|901)\\d{4}",,,,"4734031234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"GD",1,"011","1",,,"1|([2-9]\\d{6})$","473$1",,,,,[,,,,,,,,,[-1]],,"473",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GE:[,[,,"(?:[3-57]\\d\\d|800)\\d{6}",,,,,,,[9],[6,7]],[,,"(?:3(?:[256]\\d|4[124-9]|7[0-4])|4(?:1\\d|2[2-7]|3[1-79]|4[2-8]|7[239]|9[1-7]))\\d{6}",,,,"322123456",,,,[6,7]],[,,"5(?:(?:0555|1177)[5-9]|757(?:7[7-9]|8[01]))\\d{3}|5(?:0070|(?:11|33)33|[25]222)[0-4]\\d{3}|5(?:00(?:0\\d|50)|11(?:00|1\\d|2[0-4])|5200|75(?:00|[57]5)|8(?:0(?:[01]\\d|2[0-4])|58[89]|8(?:55|88)))\\d{4}|(?:5(?:[14]4|5[0157-9]|68|7[0147-9]|9[1-35-9])|790)\\d{6}",,,,"555123456"],[,,"800\\d{6}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"70[67]\\d{6}",,,,"706123456"],"GE",995,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"70[67]\\d{6}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GF:[,[,,"(?:[56]94|80\\d|976)\\d{6}",,,,,,,[9]],[,,"594(?:[023]\\d|1[01]|4[03-9]|5[6-9]|6[0-3]|80|9[0-4])\\d{4}",,,,"594101234"],[,,"694(?:[0-249]\\d|3[0-48])\\d{4}",,,,"694201234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"976\\d{6}",,,,"976012345"],"GF",594,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GG:[,[,,"(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",,,,,,,[7,9,10],[6]],[,,"1481[25-9]\\d{5}",,,,"1481256789",,,[10],[6]],[,,"7(?:(?:781|839)\\d|911[17])\\d{5}",,,,"7781123456",,,[10]],[,,"80[08]\\d{7}|800\\d{6}|8001111",,,,"8001234567"],[,,"(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",,,,"9012345678",,,[7,10]],[,,,,,,,,,[-1]],[,,"70\\d{8}",,,,"7012345678",,,[10]],[,,"56\\d{8}",,,,"5612345678",,,[10]],"GG",44,"00","0",,,"0|([25-9]\\d{5})$","1481$1",,,,,[,,"76(?:464|652)\\d{5}|76(?:0[0-2]|2[356]|34|4[01347]|5[49]|6[0-369]|77|81|9[139])\\d{6}",,,,"7640123456",,,[10]],,,[,,,,,,,,,[-1]],[,,"(?:3[0347]|55)\\d{8}",,,,"5512345678",,,[10]],,,[,,,,,,,,,[-1]]],GH:[,[,,"(?:[235]\\d{3}|800)\\d{5}",,,,,,,[8,9],[7]],[,,"3082[0-5]\\d{4}|3(?:0(?:[237]\\d|8[01])|[167](?:2[0-6]|7\\d|80)|2(?:2[0-5]|7\\d|80)|3(?:2[0-3]|7\\d|80)|4(?:2[013-9]|3[01]|7\\d|80)|5(?:2[0-7]|7\\d|80)|8(?:2[0-2]|7\\d|80)|9(?:[28]0|7\\d))\\d{5}",,,,"302345678",,,[9],[7]],[,,"(?:2(?:[0346-8]\\d|5[67])|5(?:[0457]\\d|6[01]|9[1-9]))\\d{6}",,,,"231234567",,,[9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GH",233,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[237]|8[0-2]"]],[,"(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],[[,"(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,"800\\d{5}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GI:[,[,,"(?:[25]\\d\\d|606)\\d{5}",,,,,,,[8]],[,,"21(?:6[24-7]\\d|90[0-2])\\d{3}|2(?:00|2[25])\\d{5}",,,,"20012345"],[,,"(?:5[146-8]\\d|606)\\d{5}",,,,"57123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GI",350,"00",,,,,,,,[[,"(\\d{3})(\\d{5})","$1 $2",["2"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GL:[,[,,"(?:19|[2-689]\\d|70)\\d{4}",,,,,,,[6]],[,,"(?:19|3[1-7]|6[14689]|70|8[14-79]|9\\d)\\d{4}",,,,"321000"],[,,"[245]\\d{5}",,,,"221234"],[,,"80\\d{4}",,,,"801234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"3[89]\\d{4}",,,,"381234"],"GL",299,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GM:[,[,,"[2-9]\\d{6}",,,,,,,[7]],[,,"(?:4(?:[23]\\d\\d|4(?:1[024679]|[6-9]\\d))|5(?:5(?:3\\d|4[0-7])|6[67]\\d|7(?:1[04]|2[035]|3[58]|48))|8\\d{3})\\d{3}",,,,"5661234"],[,,"(?:[23679]\\d|5[0-389])\\d{5}",,,,"3012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GM",220,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GN:[,[,,"722\\d{6}|(?:3|6\\d)\\d{7}",,,,,,,[8,9]],[,,"3(?:0(?:24|3[12]|4[1-35-7]|5[13]|6[189]|[78]1|9[1478])|1\\d\\d)\\d{4}",,,,"30241234",,,[8]],[,,"6[0-356]\\d{7}",,,,"601123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"722\\d{6}",,,,"722123456",,,[9]],"GN",224,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GP:[,[,,"(?:590|(?:69|80)\\d|976)\\d{6}",,,,,,,[9]],[,,"590(?:0[1-68]|1[0-2]|2[0-68]|3[1289]|4[0-24-9]|5[3-579]|6[0189]|7[08]|8[0-689]|9\\d)\\d{4}",,,,"590201234"],[,,"69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}",,,,"690001234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"976[01]\\d{5}",,,,"976012345"],"GP",590,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GQ:[,[,,"222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",,,,,,,[9]],[,,"33[0-24-9]\\d[46]\\d{4}|3(?:33|5\\d)\\d[7-9]\\d{4}",,,,"333091234"],[,,"(?:222|55\\d)\\d{6}",,,,"222123456"],[,,"80\\d[1-9]\\d{5}",,,,"800123456"],[,,"90\\d[1-9]\\d{5}",,,,"900123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GQ",240,"00",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],[,"(\\d{3})(\\d{6})","$1 $2",["[89]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GR:[,[,,"5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",,,,,,,[10,11,12]],[,,"2(?:1\\d\\d|2(?:2[1-46-9]|[36][1-8]|4[1-7]|5[1-4]|7[1-5]|[89][1-9])|3(?:1\\d|2[1-57]|[35][1-3]|4[13]|7[1-7]|8[124-6]|9[1-79])|4(?:1\\d|2[1-8]|3[1-4]|4[13-5]|6[1-578]|9[1-5])|5(?:1\\d|[29][1-4]|3[1-5]|4[124]|5[1-6])|6(?:1\\d|[269][1-6]|3[1245]|4[1-7]|5[13-9]|7[14]|8[1-5])|7(?:1\\d|2[1-5]|3[1-6]|4[1-7]|5[1-57]|6[135]|9[125-7])|8(?:1\\d|2[1-5]|[34][1-4]|9[1-57]))\\d{6}",,,,"2123456789",,,[10]],[,,"68[57-9]\\d{7}|(?:69|94)\\d{8}",,,,"6912345678",,,[10]],[,,"800\\d{7,9}",,,,"8001234567"],[,,"90[19]\\d{7}",,,,"9091234567",,,[10]],[,,"8(?:0[16]|12|[27]5|50)\\d{7}",,,,"8011234567",,,[10]],[,,"70\\d{8}",,,,"7012345678",,,[10]],[,,,,,,,,,[-1]],"GR",30,"00",,,,,,,,[[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],[,"(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],[,"(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"5005000\\d{3}",,,,"5005000123",,,[10]],,,[,,,,,,,,,[-1]]],GT:[,[,,"(?:1\\d{3}|[2-7])\\d{7}",,,,,,,[8,11]],[,,"[267][2-9]\\d{6}",,,,"22456789",,,[8]],[,,"[3-5]\\d{7}",,,,"51234567",,,[8]],[,,"18[01]\\d{8}",,,,"18001112222",,,[11]],[,,"19\\d{9}",,,,"19001112222",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GT",502,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2-7]"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GU:[,[,,"(?:[58]\\d\\d|671|900)\\d{7}",,,,,,,[10],[7]],[,,"671(?:3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[0236-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[48])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\d{4}",,,,"6713001234",,,,[7]],[,,"671(?:3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[0236-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[48])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\d{4}",,,,"6713001234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"GU",1,"011","1",,,"1|([3-9]\\d{6})$","671$1",,1,,,[,,,,,,,,,[-1]],,"671",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GW:[,[,,"[49]\\d{8}|4\\d{6}",,,,,,,[7,9]],[,,"443\\d{6}",,,,"443201234",,,[9]],[,,"9(?:5\\d|6[569]|77)\\d{6}",,,,"955012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"40\\d{5}",,,,"4012345",,,[7]],"GW",245,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["40"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GY:[,[,,"(?:862\\d|9008)\\d{3}|(?:[2-46]\\d|77)\\d{5}",,,,,,,[7]],[,,"(?:2(?:1[6-9]|2[0-35-9]|3[1-4]|5[3-9]|6\\d|7[0-24-79])|3(?:2[25-9]|3\\d)|4(?:4[0-24]|5[56])|77[1-57])\\d{4}",,,,"2201234"],[,,"6\\d{6}",,,,"6091234"],[,,"(?:289|862)\\d{4}",,,,"2891234"],[,,"9008\\d{3}",,,,"9008123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GY",592,"001",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-46-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HK:[,[,,"8[0-46-9]\\d{6,7}|9\\d{4}(?:\\d(?:\\d(?:\\d{4})?)?)?|(?:[235-79]\\d|46)\\d{6}",,,,,,,[5,6,7,8,9,11]],[,,"(?:2(?:[13-9]\\d|2[013-9])\\d|3(?:(?:[1569][0-24-9]|4[0-246-9]|7[0-24-69])\\d|8(?:4[0-6]|5[0-5]|9\\d))|58(?:0[1-8]|1[2-9]))\\d{4}",,,,"21234567",,,[8]],[,,"(?:46(?:[07][0-7]|1[0-6]|4[0-57-9]|5[0-8]|6[0-4])|5730|6(?:26[013-7]|66[0-3])|70(?:7[1-5]|8[0-4])|848[015-9]|929[03-9])\\d{4}|(?:46[238]|5(?:[1-59][0-46-9]|6[0-4689]|7[0-2469])|6(?:0[1-9]|[13-59]\\d|[268][0-57-9]|7[0-79])|84[09]|9(?:0[1-9]|1[02-9]|[2358][0-8]|[467]\\d))\\d{5}",,,,"51234567",,,[8]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"900(?:[0-24-9]\\d{7}|3\\d{1,4})",,,,"90012345678",,,[5,6,7,8,11]],[,,,,,,,,,[-1]],[,,"8(?:1[0-4679]\\d|2(?:[0-36]\\d|7[0-4])|3(?:[034]\\d|2[09]|70))\\d{4}",,,,"81123456",,,[8]],[,,,,,,,,,[-1]],"HK",852,"00(?:30|5[09]|[126-9]?)",,,,,,"00",,[[,"(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],[,"(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],,[,,"7(?:1(?:0[0-38]|1[0-3679]|3[013]|69|9[0136])|2(?:[02389]\\d|1[18]|7[27-9])|3(?:[0-38]\\d|7[0-369]|9[2357-9])|47\\d|5(?:[178]\\d|5[0-5])|6(?:0[0-7]|2[236-9]|[35]\\d)|7(?:[27]\\d|8[7-9])|8(?:[23689]\\d|7[1-9])|9(?:[025]\\d|6[0-246-8]|7[0-36-9]|8[238]))\\d{4}",,,,"71123456",,,[8]],,,[,,,,,,,,,[-1]],[,,"30(?:0[1-9]|[15-7]\\d|2[047]|89)\\d{4}",,,,"30161234",,,[8]],,,[,,,,,,,,,[-1]]],HN:[,[,,"8\\d{10}|[237-9]\\d{7}",,,,,,,[8,11]],[,,"2(?:2(?:0[0-39]|1[1-367]|[23]\\d|4[03-6]|5[57]|6[245]|7[0135689]|8[01346-9]|9[0-2])|4(?:0[78]|2[3-59]|3[13-9]|4[0-68]|5[1-35])|5(?:0[7-9]|16|4[03-5]|5\\d|6[014-6]|74|80)|6(?:[056]\\d|17|2[07]|3[04]|4[0-378]|[78][0-8]|9[01])|7(?:6[46-9]|7[02-9]|8[034]|91)|8(?:79|8[0-357-9]|9[1-57-9]))\\d{4}",,,,"22123456",,,[8]],[,,"[37-9]\\d{7}",,,,"91234567",,,[8]],[,,"8002\\d{7}",,,,"80021234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"HN",504,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1-$2",["[237-9]"]],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["8"]]],[[,"(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]],[,,,,,,,,,[-1]],,,[,,"8002\\d{7}",,,,,,,[11]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HR:[,[,,"(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}",,,,,,,[6,7,8,9]],[,,"1\\d{7}|(?:2[0-3]|3[1-5]|4[02-47-9]|5[1-3])\\d{6,7}",,,,"12345678",,,[8,9],[6,7]],[,,"9(?:751\\d{5}|8\\d{6,7})|9(?:0[1-9]|[1259]\\d|7[0679])\\d{6}",,,,"921234567",,,[8,9]],[,,"80[01]\\d{4,6}",,,,"800123456",,,[7,8,9]],[,,"6[01459]\\d{6}|6[01]\\d{4,5}",,,,"611234",,,[6,7,8]],[,,,,,,,,,[-1]],[,,"7[45]\\d{6}",,,,"74123456",,,[8]],[,,,,,,,,,[-1]],"HR",385,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["6[01]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],[,"(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[67]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-5]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"62\\d{6,7}|72\\d{6}",,,,"62123456",,,[8,9]],,,[,,,,,,,,,[-1]]],HT:[,[,,"[2-489]\\d{7}",,,,,,,[8]],[,,"2(?:2\\d|5[1-5]|81|9[149])\\d{5}",,,,"22453300"],[,,"[34]\\d{7}",,,,"34101234"],[,,"8\\d{7}",,,,"80012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:[67][0-4]|8[0-3589]|9\\d)\\d{5}",,,,"98901234"],"HT",509,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-489]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HU:[,[,,"[235-7]\\d{8}|[1-9]\\d{7}",,,,,,,[8,9],[6,7]],[,,"(?:1\\d|[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6[23689]|8[2-57-9]|9[2-69])\\d{6}",,,,"12345678",,,[8],[6,7]],[,,"(?:[257]0|3[01])\\d{7}",,,,"201234567",,,[9]],[,,"(?:[48]0\\d|6802)\\d{5}",,,,"80123456"],[,,"9[01]\\d{6}",,,,"90123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"21\\d{7}",,,,"211234567",,,[9]],"HU",36,"00","06",,,"06",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],,[,,,,,,,,,[-1]],,,[,,"(?:[48]0\\d|6802)\\d{5}"],[,,"38\\d{7}",,,,"381234567",,,[9]],,,[,,,,,,,,,[-1]]],ID:[,[,,"(?:(?:00[1-9]|8\\d)\\d{4}|[1-36])\\d{6}|00\\d{10}|[1-9]\\d{8,10}|[2-9]\\d{7}",,,,,,,[7,8,9,10,11,12,13],[5,6]],[,,"2[124]\\d{7,8}|619\\d{8}|2(?:1(?:14|500)|2\\d{3})\\d{3}|61\\d{5,8}|(?:2(?:[35][1-4]|6[0-8]|7[1-6]|8\\d|9[1-8])|3(?:1|[25][1-8]|3[1-68]|4[1-3]|6[1-3568]|7[0-469]|8\\d)|4(?:0[1-589]|1[01347-9]|2[0-36-8]|3[0-24-68]|43|5[1-378]|6[1-5]|7[134]|8[1245])|5(?:1[1-35-9]|2[25-8]|3[124-9]|4[1-3589]|5[1-46]|6[1-8])|6(?:[25]\\d|3[1-69]|4[1-6])|7(?:02|[125][1-9]|[36]\\d|4[1-8]|7[0-36-9])|9(?:0[12]|1[013-8]|2[0-479]|5[125-8]|6[23679]|7[159]|8[01346]))\\d{5,8}",,,,"218350123",,,[7,8,9,10,11],[5,6]],[,,"8[1-35-9]\\d{7,10}",,,,"812345678",,,[9,10,11,12]],[,,"00[17]803\\d{7}|(?:177\\d|800)\\d{5,7}|001803\\d{6}",,,,"8001234567",,,[8,9,10,11,12,13]],[,,"809\\d{7}",,,,"8091234567",,,[10]],[,,"804\\d{7}",,,,"8041234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ID",62,"00[89]","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],[,"(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],[,"(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],[,"(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],[,"(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],[,"(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],[,"(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["001"]],[,"(\\d{2})(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3 $4",["0"]]],[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],[,"(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],[,"(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],[,"(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],[,"(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],[,"(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],[,"(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],[,,,,,,,,,[-1]],,,[,,"001803\\d{6,7}|(?:007803\\d|8071)\\d{6}",,,,,,,[10,12,13]],[,,"(?:1500|8071\\d{3})\\d{3}",,,,"8071123456",,,[7,10]],,,[,,,,,,,,,[-1]]],IE:[,[,,"(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",,,,,,,[7,8,9,10],[5,6]],[,,"(?:1\\d|21)\\d{6,7}|(?:2[24-9]|4(?:0[24]|5\\d|7)|5(?:0[45]|1\\d|8)|6(?:1\\d|[237-9])|9(?:1\\d|[35-9]))\\d{5}|(?:23|4(?:[1-469]|8\\d)|5[23679]|6[4-6]|7[14]|9[04])\\d{7}",,,,"2212345",,,,[5,6]],[,,"8(?:22|[35-9]\\d)\\d{6}",,,,"850123456",,,[9]],[,,"1800\\d{6}",,,,"1800123456",,,[10]],[,,"15(?:1[2-8]|[2-8]0|9[089])\\d{6}",,,,"1520123456",,,[10]],[,,"18[59]0\\d{6}",,,,"1850123456",,,[10]],[,,"700\\d{6}",,,,"700123456",,,[9]],[,,"76\\d{7}",,,,"761234567",,,[9]],"IE",353,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],[,"(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],[,"(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],[,"(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"18[59]0\\d{6}",,,,,,,[10]],[,,"818\\d{6}",,,,"818123456",,,[9]],,,[,,"88210[1-9]\\d{4}|8(?:[35-79]5\\d\\d|8(?:[013-9]\\d\\d|2(?:[01][1-9]|[2-9]\\d)))\\d{5}",,,,"8551234567",,,[10]]],IL:[,[,,"1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",,,,,,,[7,8,9,10,11,12]],[,,"153\\d{8,9}|29[1-9]\\d{5}|(?:2[0-8]|[3489]\\d)\\d{6}",,,,"21234567",,,[8,11,12],[7]],[,,"5(?:(?:[02368]\\d|[19][2-9]|4[1-9])\\d|5(?:01|1[79]|2[2-9]|3[0-3]|4[34]|5[015689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))\\d{5}",,,,"502345678",,,[9]],[,,"1(?:255|80[019]\\d{3})\\d{3}",,,,"1800123456",,,[7,10]],[,,"1212\\d{4}|1(?:200|9(?:0[01]|19))\\d{6}",,,,"1919123456",,,[8,10]],[,,"1700\\d{6}",,,,"1700123456",,,[10]],[,,,,,,,,,[-1]],[,,"7(?:380|8(?:33|55|77|81))\\d{5}|7(?:18|2[23]|3[237]|47|6[58]|7\\d|82|9[235-9])\\d{6}",,,,"771234567",,,[9]],"IL",972,"0(?:0|1[2-9])","0",,,"0",,,,[[,"(\\d{4})(\\d{3})","$1-$2",["125"]],[,"(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],[,"(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],[,"(\\d{4})(\\d{6})","$1-$2",["159"]],[,"(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],[,"(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],,[,,,,,,,,,[-1]],,,[,,"1700\\d{6}",,,,,,,[10]],[,,"1599\\d{6}",,,,"1599123456",,,[10]],,,[,,"151\\d{8,9}",,,,"15112340000",,,[11,12]]],IM:[,[,,"1624\\d{6}|(?:[3578]\\d|90)\\d{8}",,,,,,,[10],[6]],[,,"1624(?:230|[5-8]\\d\\d)\\d{3}",,,,"1624756789",,,,[6]],[,,"76245[06]\\d{4}|7(?:4576|[59]24\\d|624[0-4689])\\d{5}",,,,"7924123456"],[,,"808162\\d{4}",,,,"8081624567"],[,,"8(?:440[49]06|72299\\d)\\d{3}|(?:8(?:45|70)|90[0167])624\\d{4}",,,,"9016247890"],[,,,,,,,,,[-1]],[,,"70\\d{8}",,,,"7012345678"],[,,"56\\d{8}",,,,"5612345678"],"IM",44,"00","0",,,"0|([25-8]\\d{5})$","1624$1",,,,,[,,,,,,,,,[-1]],,"74576|(?:16|7[56])24",[,,,,,,,,,[-1]],[,,"3440[49]06\\d{3}|(?:3(?:08162|3\\d{4}|45624|7(?:0624|2299))|55\\d{4})\\d{4}",,,,"5512345678"],,,[,,,,,,,,,[-1]]],IN:[,[,,"(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",,,,,,,[8,9,10,11,12,13],[6,7]],[,,"2717(?:[2-7]\\d|95)\\d{4}|(?:271[0-689]|782[0-6])[2-7]\\d{5}|(?:170[24]|2(?:(?:[02][2-79]|90)\\d|80[13468])|(?:3(?:23|80)|683|79[1-7])\\d|4(?:20[24]|72[2-8])|552[1-7])\\d{6}|(?:11|33|4[04]|80)[2-7]\\d{7}|(?:342|674|788)(?:[0189][2-7]|[2-7]\\d)\\d{5}|(?:1(?:2[0-249]|3[0-25]|4[145]|[59][14]|6[014]|7[1257]|8[01346])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568]|9[14])|3(?:26|4[13]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[014-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91))[2-7]\\d{6}|(?:1(?:2[35-8]|3[346-9]|4[236-9]|[59][0235-9]|6[235-9]|7[34689]|8[257-9])|2(?:1[134689]|3[24-8]|4[2-8]|5[25689]|6[2-4679]|7[3-79]|8[2-479]|9[235-9])|3(?:01|1[79]|2[1245]|4[5-8]|5[125689]|6[235-7]|7[157-9]|8[2-46-8])|4(?:1[14578]|2[5689]|3[2-467]|5[4-7]|6[35]|73|8[2689]|9[2389])|5(?:[16][146-9]|2[14-8]|3[1346]|4[14-69]|5[46]|7[2-4]|8[2-8]|9[246])|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])|7(?:1[013-9]|2[0235-9]|3[2679]|4[1-35689]|5[2-46-9]|[67][02-9]|8[013-7]|9[089])|8(?:1[1357-9]|2[235-8]|3[03-57-9]|4[0-24-9]|5\\d|6[2457-9]|7[1-6]|8[1256]|9[2-4]))\\d[2-7]\\d{5}",,,,"7410410123",,,[10],[6,7,8]],[,,"(?:61279|7(?:887[02-9]|9(?:313|79[07-9]))|8(?:079[04-9]|(?:84|91)7[02-8]))\\d{5}|(?:6(?:12|[2-47]1|5[17]|6[13]|80)[0189]|7(?:1(?:2[0189]|9[0-5])|2(?:[14][017-9]|8[0-59])|3(?:2[5-8]|[34][017-9]|9[016-9])|4(?:1[015-9]|[29][89]|39|8[389])|5(?:[15][017-9]|2[04-9]|9[7-9])|6(?:0[0-47]|1[0-257-9]|2[0-4]|3[19]|5[4589])|70[0289]|88[089]|97[02-8])|8(?:0(?:6[67]|7[02-8])|70[017-9]|84[01489]|91[0-289]))\\d{6}|(?:7(?:31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[0189]\\d|7[02-8])\\d{5}|(?:6(?:[09]\\d|1[04679]|2[03689]|3[05-9]|4[0489]|50|6[069]|7[07]|8[7-9])|7(?:0\\d|2[0235-79]|3[05-8]|40|5[0346-8]|6[6-9]|7[1-9]|8[0-79]|9[089])|8(?:0[01589]|1[0-57-9]|2[235-9]|3[03-57-9]|[45]\\d|6[02457-9]|7[1-69]|8[0-25-9]|9[02-9])|9\\d\\d)\\d{7}|(?:6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|8[124-6])\\d|7(?:[235689]\\d|4[0189]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-5])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]|881))[0189]\\d{5}",,,,"8123456789",,,[10]],[,,"000800\\d{7}|1(?:600\\d{6}|80(?:0\\d{4,9}|3\\d{9}))",,,,"1800123456"],[,,"186[12]\\d{9}",,,,"1861123456789",,,[13]],[,,"1860\\d{7}",,,,"18603451234",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IN",91,"00","0",,,"0",,,,[[,"(\\d{7})","$1",["575"]],[,"(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],,,1],[,"(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],,,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",,1],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",,1],[,"(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",,1],[,"(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],,,1],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["0"]],[,"(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],,,1]],[[,"(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],,,1],[,"(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],,,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",,1],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",,1],[,"(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",,1],[,"(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],,,1],[,"(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],,,1]],[,,,,,,,,,[-1]],,,[,,"1(?:600\\d{6}|800\\d{4,9})|(?:000800|18(?:03\\d\\d|6(?:0|[12]\\d\\d)))\\d{7}"],[,,"140\\d{7}",,,,"1409305260",,,[10]],,,[,,,,,,,,,[-1]]],IO:[,[,,"3\\d{6}",,,,,,,[7]],[,,"37\\d{5}",,,,"3709100"],[,,"38\\d{5}",,,,"3801234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IO",246,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["3"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],IQ:[,[,,"(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",,,,,,,[8,9,10],[6,7]],[,,"1\\d{7}|(?:2[13-5]|3[02367]|4[023]|5[03]|6[026])\\d{6,7}",,,,"12345678",,,[8,9],[6,7]],[,,"7[3-9]\\d{8}",,,,"7912345678",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IQ",964,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],IR:[,[,,"[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",,,,,,,[4,5,6,7,10],[8]],[,,"(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])(?:[03-57]\\d{7}|[16]\\d{3}(?:\\d{4})?|[289]\\d{3}(?:\\d(?:\\d{3})?)?)|94(?:000[09]|2(?:121|[2689]0\\d)|30[0-2]\\d|4(?:111|40\\d))\\d{4}",,,,"2123456789",,,[6,7,10],[4,5,8]],[,,"9(?:(?:0(?:[0-35]\\d|4[4-6])|(?:[13]\\d|2[0-3])\\d)\\d|9(?:(?:[0-3]\\d|4[0145])\\d|5[15]0|8(?:1\\d|88)|9(?:0[013]|[19]\\d|21|77|8[7-9])))\\d{5}",,,,"9123456789",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IR",98,"00","0",,,"0",,,,[[,"(\\d{4,5})","$1",["96"],"0$1"],[,"(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"9(?:4440\\d{5}|6(?:0[12]|2[16-8]|3(?:08|[14]5|[23]|66)|4(?:0|80)|5[01]|6[89]|86|9[19]))",,,,,,,[4,5,10]],[,,"96(?:0[12]|2[16-8]|3(?:08|[14]5|[23]|66)|4(?:0|80)|5[01]|6[89]|86|9[19])",,,,"9601",,,[4,5]],,,[,,,,,,,,,[-1]]],IS:[,[,,"(?:38\\d|[4-9])\\d{6}",,,,,,,[7,9]],[,,"(?:4(?:1[0-24-69]|2[0-7]|[37][0-8]|4[0-245]|5[0-68]|6\\d|8[0-36-8])|5(?:05|[156]\\d|2[02578]|3[0-579]|4[03-7]|7[0-2578]|8[0-35-9]|9[013-689])|872)\\d{4}",,,,"4101234",,,[7]],[,,"(?:38[589]\\d\\d|6(?:1[1-8]|2[0-6]|3[027-9]|4[014679]|5[0159]|6[0-69]|70|8[06-8]|9\\d)|7(?:5[057]|[6-9]\\d)|8(?:2[0-59]|[3-69]\\d|8[28]))\\d{4}",,,,"6111234"],[,,"80[08]\\d{4}",,,,"8001234",,,[7]],[,,"90(?:0\\d|1[5-79]|2[015-79]|3[135-79]|4[125-7]|5[25-79]|7[1-37]|8[0-35-7])\\d{3}",,,,"9001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"49[0-24-79]\\d{4}",,,,"4921234",,,[7]],"IS",354,"00|1(?:0(?:01|[12]0)|100)",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"809\\d{4}",,,,"8091234",,,[7]],,,[,,"(?:689|8(?:7[18]|80)|95[48])\\d{4}",,,,"6891234",,,[7]]],IT:[,[,,"0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",,,,,,,[6,7,8,9,10,11,12]],[,,"0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}",,,,"0212345678",,,[6,7,8,9,10,11]],[,,"3[1-9]\\d{8}|3[2-9]\\d{7}",,,,"3123456789",,,[9,10]],[,,"80(?:0\\d{3}|3)\\d{3}",,,,"800123456",,,[6,9]],[,,"(?:0878\\d\\d|89(?:2|4[5-9]\\d))\\d{3}|89[45][0-4]\\d\\d|(?:1(?:44|6[346])|89(?:5[5-9]|9))\\d{6}",,,,"899123456",,,[6,8,9,10]],[,,"84(?:[08]\\d{3}|[17])\\d{3}",,,,"848123456",,,[6,9]],[,,"1(?:78\\d|99)\\d{6}",,,,"1781234567",,,[9,10]],[,,"55\\d{8}",,,,"5512345678",,,[10]],"IT",39,"00",,,,,,,,[[,"(\\d{4,5})","$1",["1(?:0|9[246])","1(?:0|9(?:2[2-9]|[46]))"]],[,"(\\d{6})","$1",["1(?:1|92)"]],[,"(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],[,"(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[245])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|[45][0-4]))"]],[,"(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],[,"(\\d{4})(\\d{4})","$1 $2",["894"]],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1[4679]|[38]"]],[,"(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]"]],[,"(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],[[,"(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],[,"(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[245])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|[45][0-4]))"]],[,"(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],[,"(\\d{4})(\\d{4})","$1 $2",["894"]],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1[4679]|[38]"]],[,"(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]"]],[,"(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],[,,,,,,,,,[-1]],1,,[,,"848\\d{6}",,,,,,,[9]],[,,,,,,,,,[-1]],,,[,,"3[2-8]\\d{9,10}",,,,"33101234501",,,[11,12]]],JE:[,[,,"1534\\d{6}|(?:[3578]\\d|90)\\d{8}",,,,,,,[10],[6]],[,,"1534[0-24-8]\\d{5}",,,,"1534456789",,,,[6]],[,,"7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97[7-9]))\\d{5}",,,,"7797712345"],[,,"80(?:07(?:35|81)|8901)\\d{4}",,,,"8007354567"],[,,"(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}",,,,"9018105678"],[,,,,,,,,,[-1]],[,,"701511\\d{4}",,,,"7015115678"],[,,"56\\d{8}",,,,"5612345678"],"JE",44,"00","0",,,"0|([0-24-8]\\d{5})$","1534$1",,,,,[,,"76(?:464|652)\\d{5}|76(?:0[0-2]|2[356]|34|4[01347]|5[49]|6[0-369]|77|81|9[139])\\d{6}",,,,"7640123456"],,,[,,,,,,,,,[-1]],[,,"(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}",,,,"5512345678"],,,[,,,,,,,,,[-1]]],JM:[,[,,"(?:[58]\\d\\d|658|900)\\d{7}",,,,,,,[10],[7]],[,,"8766060\\d{3}|(?:658(?:2(?:[0-8]\\d|9[0-46-9])|[3-9]\\d\\d)|876(?:52[35]|6(?:0[1-3579]|1[0237-9]|[23]\\d|40|5[06]|6[2-589]|7[05]|8[04]|9[4-9])|7(?:0[2-689]|[1-6]\\d|8[056]|9[45])|9(?:0[1-8]|1[02378]|[2-8]\\d|9[2-468])))\\d{4}",,,,"8765230123",,,,[7]],[,,"(?:658295|876(?:2(?:0[6-9]|[14-9]\\d|2[013-9]|3[7-9])|[348]\\d\\d|5(?:0[1-9]|[1-9]\\d)|6(?:4[89]|6[67])|7(?:0[07]|7\\d|8[1-47-9]|9[0-36-9])|9(?:[01]9|9[0579])))\\d{4}",,,,"8762101234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"JM",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"658|876",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],JO:[,[,,"(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}",,,,,,,[8,9]],[,,"87(?:000|90[01])\\d{3}|(?:2(?:6(?:2[0-35-9]|3[0-578]|4[24-7]|5[0-24-8]|[6-8][023]|9[0-3])|7(?:0[1-79]|10|2[014-7]|3[0-689]|4[019]|5[0-3578]))|32(?:0[1-69]|1[1-35-7]|2[024-7]|3\\d|4[0-3]|[5-7][023])|53(?:0[0-3]|[13][023]|2[0-59]|49|5[0-35-9]|6[15]|7[45]|8[1-6]|9[0-36-9])|6(?:2(?:[05]0|22)|3(?:00|33)|4(?:0[0-25]|1[2-7]|2[0569]|[38][07-9]|4[025689]|6[0-589]|7\\d|9[0-2])|5(?:[01][056]|2[034]|3[0-57-9]|4[178]|5[0-69]|6[0-35-9]|7[1-379]|8[0-68]|9[0239]))|87(?:20|7[078]|99))\\d{4}",,,,"62001234",,,[8]],[,,"7(?:[78][0-25-9]|9\\d)\\d{6}",,,,"790123456",,,[9]],[,,"80\\d{6}",,,,"80012345",,,[8]],[,,"9\\d{7}",,,,"90012345",,,[8]],[,,"85\\d{6}",,,,"85012345",,,[8]],[,,"70\\d{7}",,,,"700123456",,,[9]],[,,,,,,,,,[-1]],"JO",962,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],[,"(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"]],,[,,"74(?:66|77)\\d{5}",,,,"746612345",,,[9]],,,[,,,,,,,,,[-1]],[,,"8(?:10|8\\d)\\d{5}",,,,"88101234",,,[8]],,,[,,,,,,,,,[-1]]],JP:[,[,,"00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",,,,,,,[8,9,10,11,12,13,14,15,16,17]],[,,"(?:1(?:1[235-8]|2[3-6]|3[3-9]|4[2-6]|[58][2-8]|6[2-7]|7[2-9]|9[1-9])|(?:2[2-9]|[36][1-9])\\d|4(?:[2-578]\\d|6[02-8]|9[2-59])|5(?:[2-589]\\d|6[1-9]|7[2-8])|7(?:[25-9]\\d|3[4-9]|4[02-9])|8(?:[2679]\\d|3[2-9]|4[5-9]|5[1-9]|8[03-9])|9(?:[2-58]\\d|[679][1-9]))\\d{6}",,,,"312345678",,,[9]],[,,"[7-9]0[1-9]\\d{7}",,,,"9012345678",,,[10]],[,,"00777(?:[01]|5\\d)\\d\\d|(?:00(?:7778|882[1245])|(?:120|800\\d)\\d\\d)\\d{4}|00(?:37|66|78)\\d{6,13}",,,,"120123456"],[,,"990\\d{6}",,,,"990123456",,,[9]],[,,,,,,,,,[-1]],[,,"60\\d{7}",,,,"601234567",,,[9]],[,,"50[1-9]\\d{7}",,,,"5012345678",,,[10]],"JP",81,"010","0",,,"0",,,,[[,"(\\d{4})(\\d{4})","$1-$2",["007","0077","00777","00777[01]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],[,"(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51|63)|9(?:49|80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9]|636)|9(?:496|802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9]|636[457-9])|9(?:496|802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[27-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9])|5(?:2|3[045]|4[0-369]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|49|51|6(?:[0-24]|36|5[0-3589]|72|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:49|55|83)[29]|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[23]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|72|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|7[015-9]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17|3[015-9]))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9(?:[019]|4[1-3]|6(?:[0-47-9]|5[01346-9])))|3(?:[29]|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[23]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|72|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|829(?:2|66)|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],[,"(\\d{4})(\\d{2})(\\d{3,4})","$1-$2-$3",["007","0077"]],[,"(\\d{4})(\\d{2})(\\d{4})","$1-$2-$3",["008"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3,4})","$1-$2-$3",["0"]],[,"(\\d{4})(\\d{4})(\\d{4,5})","$1-$2-$3",["0"]],[,"(\\d{4})(\\d{5})(\\d{5,6})","$1-$2-$3",["0"]],[,"(\\d{4})(\\d{6})(\\d{6,7})","$1-$2-$3",["0"]]],[[,"(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],[,"(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51|63)|9(?:49|80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9]|636)|9(?:496|802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9]|636[457-9])|9(?:496|802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[27-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9])|5(?:2|3[045]|4[0-369]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|49|51|6(?:[0-24]|36|5[0-3589]|72|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:49|55|83)[29]|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[23]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|72|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|7[015-9]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17|3[015-9]))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9(?:[019]|4[1-3]|6(?:[0-47-9]|5[01346-9])))|3(?:[29]|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[23]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|72|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|829(?:2|66)|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"]],[,,"20\\d{8}",,,,"2012345678",,,[10]],,,[,,"00(?:777(?:[01]|(?:5|8\\d)\\d)|882[1245]\\d\\d)\\d\\d|00(?:37|66|78)\\d{6,13}"],[,,"570\\d{6}",,,,"570123456",,,[9]],,,[,,,,,,,,,[-1]]],KE:[,[,,"(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",,,,,,,[7,8,9,10]],[,,"(?:4[245]|5[1-79]|6[01457-9])\\d{5,7}|(?:4[136]|5[08]|62)\\d{7}|(?:[24]0|66)\\d{6,7}",,,,"202012345",,,[7,8,9]],[,,"(?:1(?:0[0-6]|1[0-5]|2[014])|7\\d\\d)\\d{6}",,,,"712123456",,,[9]],[,,"800[24-8]\\d{5,6}",,,,"800223456",,,[9,10]],[,,"900[02-9]\\d{5}",,,,"900223456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KE",254,"000","0",,,"0",,,,[[,"(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],[,"(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KG:[,[,,"8\\d{9}|(?:[235-8]\\d|99)\\d{7}",,,,,,,[9,10],[5,6]],[,,"312(?:5[0-79]\\d|9(?:[0-689]\\d|7[0-24-9]))\\d{3}|(?:3(?:1(?:2[0-46-8]|3[1-9]|47|[56]\\d)|2(?:22|3[0-479]|6[0-7])|4(?:22|5[6-9]|6\\d)|5(?:22|3[4-7]|59|6\\d)|6(?:22|5[35-7]|6\\d)|7(?:22|3[468]|4[1-9]|59|[67]\\d)|9(?:22|4[1-8]|6\\d))|6(?:09|12|2[2-4])\\d)\\d{5}",,,,"312123456",,,[9],[5,6]],[,,"312(?:58\\d|973)\\d{3}|(?:2(?:0[0-35]|2\\d)|5[0-24-7]\\d|7(?:[07]\\d|55)|880|99[05-9])\\d{6}",,,,"700123456",,,[9]],[,,"800\\d{6,7}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KG",996,"00","0",,,"0",,,,[[,"(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],[,"(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KH:[,[,,"1\\d{9}|[1-9]\\d{7,8}",,,,,,,[8,9,10],[6,7]],[,,"23(?:4(?:[2-4]|[56]\\d)|[568]\\d\\d)\\d{4}|23[236-9]\\d{5}|(?:2[4-6]|3[2-6]|4[2-4]|[5-7][2-5])(?:(?:[237-9]|4[56]|5\\d)\\d{5}|6\\d{5,6})",,,,"23756789",,,[8,9],[6,7]],[,,"(?:(?:1[28]|3[18]|9[67])\\d|6[016-9]|7(?:[07-9]|[16]\\d)|8(?:[013-79]|8\\d))\\d{6}|(?:1\\d|9[0-57-9])\\d{6}|(?:2[3-6]|3[2-6]|4[2-4]|[5-7][2-5])48\\d{5}",,,,"91234567",,,[8,9]],[,,"1800(?:1\\d|2[019])\\d{4}",,,,"1800123456",,,[10]],[,,"1900(?:1\\d|2[09])\\d{4}",,,,"1900123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KH",855,"00[14-9]","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KI:[,[,,"(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",,,,,,,[5,8]],[,,"(?:[24]\\d|3[1-9]|50|65(?:02[12]|12[56]|22[89]|[3-5]00)|7(?:27\\d\\d|3100|5(?:02[12]|12[56]|22[89]|[34](?:00|81)|500))|8[0-5])\\d{3}",,,,"31234"],[,,"(?:63\\d{3}|73(?:0[0-5]\\d|140))\\d{3}|[67]200[01]\\d{3}",,,,"72001234",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"30(?:0[01]\\d\\d|12(?:11|20))\\d\\d",,,,"30010000",,,[8]],"KI",686,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KM:[,[,,"[3478]\\d{6}",,,,,,,[7],[4]],[,,"7[4-7]\\d{5}",,,,"7712345",,,,[4]],[,,"[34]\\d{6}",,,,"3212345"],[,,,,,,,,,[-1]],[,,"8\\d{6}",,,,"8001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KM",269,"00",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KN:[,[,,"(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"869(?:2(?:29|36)|302|4(?:6[015-9]|70)|56[5-7])\\d{4}",,,,"8692361234",,,,[7]],[,,"869(?:48[89]|55[6-8]|66\\d|76[02-7])\\d{4}",,,,"8697652917",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"KN",1,"011","1",,,"1|([2-7]\\d{6})$","869$1",,,,,[,,,,,,,,,[-1]],,"869",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KP:[,[,,"85\\d{6}|(?:19\\d|[2-7])\\d{7}",,,,,,,[8,10],[6,7]],[,,"(?:(?:195|2)\\d|3[19]|4[159]|5[37]|6[17]|7[39]|85)\\d{6}",,,,"21234567",,,,[6,7]],[,,"19[1-3]\\d{7}",,,,"1921234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KP",850,"00|99","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"238[02-9]\\d{4}|2(?:[0-24-9]\\d|3[0-79])\\d{5}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KR:[,[,,"00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",,,,,,,[5,6,8,9,10,11,12,13,14],[3,4,7]],[,,"(?:2|3[1-3]|[46][1-4]|5[1-5])[1-9]\\d{6,7}|(?:3[1-3]|[46][1-4]|5[1-5])1\\d{2,3}",,,,"22123456",,,[5,6,8,9,10],[3,4,7]],[,,"1(?:05(?:[0-8]\\d|9[0-6])|22[13]\\d)\\d{4,5}|1(?:0[1-46-9]|[16-9]\\d|2[013-9])\\d{6,7}",,,,"1020000000",,,[9,10]],[,,"00(?:308\\d{6,7}|798\\d{7,9})|(?:00368|80)\\d{7}",,,,"801234567",,,[9,11,12,13,14]],[,,"60[2-9]\\d{6}",,,,"602345678",,,[9]],[,,,,,,,,,[-1]],[,,"50\\d{8,9}",,,,"5012345678",,,[10,11]],[,,"70\\d{8}",,,,"7012345678",,,[10]],"KR",82,"00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","0",,,"0(8(?:[1-46-8]|5\\d\\d))?",,,,[[,"(\\d{5})","$1",["1[016-9]1","1[016-9]11","1[016-9]114"],"0$1"],[,"(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1","0$CC-$1"],[,"(\\d{4})(\\d{4})","$1-$2",["1"]],[,"(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60|8"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1","0$CC-$1"],[,"(\\d{5})(\\d{3})(\\d{3})","$1 $2 $3",["003","0030"]],[,"(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1","0$CC-$1"],[,"(\\d{5})(\\d{3,4})(\\d{4})","$1 $2 $3",["0"]],[,"(\\d{5})(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["0"]]],[[,"(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1","0$CC-$1"],[,"(\\d{4})(\\d{4})","$1-$2",["1"]],[,"(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60|8"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1","0$CC-$1"]],[,,"15\\d{7,8}",,,,"1523456789",,,[9,10]],,,[,,"00(?:3(?:08\\d{6,7}|68\\d{7})|798\\d{7,9})",,,,,,,[11,12,13,14]],[,,"1(?:5(?:22|33|44|66|77|88|99)|6(?:[07]0|44|6[16]|88)|8(?:00|33|55|77|99))\\d{4}",,,,"15441234",,,[8]],,,[,,,,,,,,,[-1]]],KW:[,[,,"(?:18|[2569]\\d\\d)\\d{5}",,,,,,,[7,8]],[,,"2(?:[23]\\d\\d|4(?:[1-35-9]\\d|44)|5(?:0[034]|[2-46]\\d|5[1-3]|7[1-7]))\\d{4}",,,,"22345678",,,[8]],[,,"(?:5(?:2(?:22|5[25])|7(?:55|77)|88[58])|6(?:222|333|444|70[013-9]|888|93[039])|9(?:11[01]|3(?:00|33)|500))\\d{4}|(?:5(?:[05]\\d|1[0-7]|6[56])|6(?:0[034679]|5[015-9]|6\\d|7[67]|9[069])|9(?:0[09]|22|[4679]\\d|55|8[057-9]))\\d{5}",,,,"50012345",,,[8]],[,,"18\\d{5}",,,,"1801234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KW",965,"00",,,,,,,,[[,"(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],[,"(\\d{3})(\\d{5})","$1 $2",["[25]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KY:[,[,,"(?:345|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"345(?:2(?:22|3[23]|44|66)|333|444|6(?:23|38|40)|7(?:30|4[35-79]|6[6-9]|77)|8(?:00|1[45]|25|[48]8)|9(?:14|4[035-9]))\\d{4}",,,,"3452221234",,,,[7]],[,,"345(?:32[1-9]|42[0-4]|5(?:1[67]|2[5-79]|4[6-9]|50|76)|649|9(?:1[679]|2[2-9]|3[06-9]|90))\\d{4}",,,,"3453231234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"(?:345976|900[2-9]\\d\\d)\\d{4}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"KY",1,"011","1",,,"1|([2-9]\\d{6})$","345$1",,,,,[,,"345849\\d{4}",,,,"3458491234"],,"345",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KZ:[,[,,"(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",,,,,,,[10,14],[5,6,7]],[,,"(?:33622|7(?:1(?:0(?:[23]\\d|4[0-3]|59|63)|1(?:[23]\\d|4[0-79]|59)|2(?:[23]\\d|59)|3(?:2\\d|3[0-79]|4[0-35-9]|59)|4(?:[24]\\d|3[013-9]|5[1-9])|5(?:2\\d|3[1-9]|4[0-7]|59)|6(?:[2-4]\\d|5[19]|61)|72\\d|8(?:[27]\\d|3[1-46-9]|4[0-5]))|2(?:1(?:[23]\\d|4[46-9]|5[3469])|2(?:2\\d|3[0679]|46|5[12679])|3(?:[2-4]\\d|5[139])|4(?:2\\d|3[1-35-9]|59)|5(?:[23]\\d|4[0-246-8]|59|61)|6(?:2\\d|3[1-9]|4[0-4]|59)|7(?:[2379]\\d|40|5[279])|8(?:[23]\\d|4[0-3]|59)|9(?:2\\d|3[124578]|59))))\\d{5}",,,,"7123456789",,,[10],[5,6,7]],[,,"7(?:0[0-25-8]|47|6[0-4]|7[15-8]|85)\\d{7}",,,,"7710009998",,,[10]],[,,"8(?:00|108\\d{3})\\d{7}",,,,"8001234567"],[,,"809\\d{7}",,,,"8091234567",,,[10]],[,,,,,,,,,[-1]],[,,"808\\d{7}",,,,"8081234567",,,[10]],[,,"751\\d{7}",,,,"7511234567",,,[10]],"KZ",7,"810","8",,,"8",,"8~10",,,,[,,,,,,,,,[-1]],,"33|7",[,,"751\\d{7}",,,,,,,[10]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LA:[,[,,"[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",,,,,,,[8,9,10],[6]],[,,"(?:2[13]|[35-7][14]|41|8[1468])\\d{6}",,,,"21212862",,,[8],[6]],[,,"(?:20(?:[239]\\d|5[24-9]|7[6-8])|302\\d)\\d{6}",,,,"2023123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LA",856,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["30[013-9]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"30[013-9]\\d{6}",,,,"301234567",,,[9]],,,[,,,,,,,,,[-1]]],LB:[,[,,"[27-9]\\d{7}|[13-9]\\d{6}",,,,,,,[7,8]],[,,"7(?:62|8[0-7]|9[04-9])\\d{4}|(?:[14-69]\\d|2(?:[14-69]\\d|[78][1-9])|7[2-57]|8[02-9])\\d{5}",,,,"1123456"],[,,"793(?:[01]\\d|2[0-4])\\d{3}|(?:(?:3|81)\\d|7(?:[01]\\d|6[013-9]|8[89]|9[12]))\\d{5}",,,,"71123456"],[,,,,,,,,,[-1]],[,,"9[01]\\d{6}",,,,"90123456",,,[8]],[,,"80\\d{6}",,,,"80123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LB",961,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LC:[,[,,"(?:[58]\\d\\d|758|900)\\d{7}",,,,,,,[10],[7]],[,,"758(?:234|4(?:30|5\\d|6[2-9]|8[0-2])|57[0-2]|(?:63|75)8)\\d{4}",,,,"7584305678",,,,[7]],[,,"758(?:28[4-7]|384|4(?:6[01]|8[4-9])|5(?:1[89]|20|84)|7(?:1[2-9]|2\\d|3[0-3])|812)\\d{4}",,,,"7582845678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"LC",1,"011","1",,,"1|([2-8]\\d{6})$","758$1",,,,,[,,,,,,,,,[-1]],,"758",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LI:[,[,,"90\\d{5}|(?:[2378]|6\\d\\d)\\d{6}",,,,,,,[7,9]],[,,"(?:2(?:01|1[27]|2[02]|3\\d|6[02-578]|96)|3(?:[24]0|33|7[0135-7]|8[048]|9[0269]))\\d{4}",,,,"2345678",,,[7]],[,,"(?:6(?:4(?:69|[7-9]\\d)|5[0-4]\\d|6(?:[024]\\d|[17]0|3[7-9]))\\d|7(?:[37-9]\\d|42|56))\\d{4}",,,,"660234567"],[,,"80(?:02[28]|9\\d\\d)\\d\\d",,,,"8002222",,,[7]],[,,"90(?:02[258]|1(?:23|3[14])|66[136])\\d\\d",,,,"9002222",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LI",423,"00","0",,,"0|(1001)",,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[237-9]"],,"$CC $1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"870(?:28|87)\\d\\d",,,,"8702812",,,[7]],,,[,,"697(?:42|56|[78]\\d)\\d{4}",,,,"697861234",,,[9]]],LK:[,[,,"[1-9]\\d{8}",,,,,,,[9],[7]],[,,"(?:12[2-9]|602|8[12]\\d|9(?:1\\d|22|9[245]))\\d{6}|(?:11|2[13-7]|3[1-8]|4[157]|5[12457]|6[35-7])[2-57]\\d{6}",,,,"112345678",,,,[7]],[,,"7(?:[0-25-8]\\d|4[01])\\d{6}",,,,"712345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LK",94,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"1973\\d{5}",,,,"197312345"],,,[,,,,,,,,,[-1]]],LR:[,[,,"(?:2|33|5\\d|77|88)\\d{7}|[4-6]\\d{6}",,,,,,,[7,8,9]],[,,"(?:2\\d{3}|33333)\\d{4}",,,,"21234567",,,[8,9]],[,,"(?:(?:330|555|(?:77|88)\\d)\\d|4[67])\\d{5}|[56]\\d{6}",,,,"770123456",,,[7,9]],[,,,,,,,,,[-1]],[,,"332(?:02|[34]\\d)\\d{4}",,,,"332021234",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LR",231,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[4-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3578]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LS:[,[,,"(?:[256]\\d\\d|800)\\d{5}",,,,,,,[8]],[,,"2\\d{7}",,,,"22123456"],[,,"[56]\\d{7}",,,,"50123456"],[,,"800[256]\\d{4}",,,,"80021234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LS",266,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2568]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LT:[,[,,"(?:[3469]\\d|52|[78]0)\\d{6}",,,,,,,[8]],[,,"(?:3[1478]|4[124-6]|52)\\d{6}",,,,"31234567"],[,,"6\\d{7}",,,,"61234567"],[,,"80[02]\\d{5}",,,,"80012345"],[,,"9(?:0[0239]|10)\\d{5}",,,,"90012345"],[,,"808\\d{5}",,,,"80812345"],[,,"70[05]\\d{5}",,,,"70012345"],[,,"[89]01\\d{5}",,,,"80123456"],"LT",370,"00","8",,,"[08]",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(8-$1)",,1],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"8 $1",,1],[,"(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(8-$1)",,1],[,"(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(8-$1)",,1]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"70[67]\\d{5}",,,,"70712345"],,,[,,,,,,,,,[-1]]],LU:[,[,,"35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",,,,,,,[4,5,6,7,8,9,10,11]],[,,"(?:35[013-9]|80[2-9]|90[89])\\d{1,8}|(?:2[2-9]|3[0-46-9]|[457]\\d|8[13-9]|9[2-579])\\d{2,9}",,,,"27123456"],[,,"6(?:[269][18]|5[1568]|7[189]|81)\\d{6}",,,,"628123456",,,[9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,"90[015]\\d{5}",,,,"90012345",,,[8]],[,,"801\\d{5}",,,,"80112345",,,[8]],[,,,,,,,,,[-1]],[,,"20(?:1\\d{5}|[2-689]\\d{1,7})",,,,"20201234",,,[4,5,6,7,8,9,10]],"LU",352,"00",,,,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)",,,,[[,"(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"],,"$CC $1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LV:[,[,,"(?:[268]\\d|90)\\d{6}",,,,,,,[8]],[,,"6\\d{7}",,,,"63123456"],[,,"2\\d{7}",,,,"21234567"],[,,"80\\d{6}",,,,"80123456"],[,,"90\\d{6}",,,,"90123456"],[,,"81\\d{6}",,,,"81123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LV",371,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[269]|8[01]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LY:[,[,,"[2-9]\\d{8}",,,,,,,[9],[7]],[,,"(?:2(?:0[56]|[1-6]\\d|7[124579]|8[124])|3(?:1\\d|2[2356])|4(?:[17]\\d|2[1-357]|5[2-4]|8[124])|5(?:[1347]\\d|2[1-469]|5[13-5]|8[1-4])|6(?:[1-479]\\d|5[2-57]|8[1-5])|7(?:[13]\\d|2[13-79])|8(?:[124]\\d|5[124]|84))\\d{6}",,,,"212345678",,,,[7]],[,,"9[1-6]\\d{7}",,,,"912345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LY",218,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MA:[,[,,"[5-8]\\d{8}",,,,,,,[9]],[,,"5(?:29(?:[189][05]|2[29]|3[01])|38[89][05])\\d{4}|5(?:2(?:[0-25-7]\\d|3[1-578]|4[02-46-8]|8[0235-7]|90)|3(?:[0-47]\\d|5[02-9]|6[02-8]|80|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}",,,,"520123456"],[,,"(?:6(?:[0-79]\\d|8[0-247-9])|7(?:0\\d|1[0-3]|6[1267]|7[0-57]))\\d{6}",,,,"650123456"],[,,"80\\d{7}",,,,"801234567"],[,,"89\\d{7}",,,,"891234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"592(?:4[0-2]|93)\\d{4}",,,,"592401234"],"MA",212,"00","0",,,"0",,,,[[,"(\\d{5})(\\d{4})","$1-$2",["5(?:29|38)","5(?:29|38)[89]","5(?:29|38)[89]0"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],[,"(\\d{4})(\\d{5})","$1-$2",["5(?:2[2-489]|3[5-9]|9)|892","5(?:2(?:[2-49]|8[235-9])|3[5-9]|9)|892"],"0$1"],[,"(\\d{2})(\\d{7})","$1-$2",["8"],"0$1"],[,"(\\d{3})(\\d{6})","$1-$2",["[5-7]"],"0$1"]],,[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MC:[,[,,"(?:[3489]|6\\d)\\d{7}",,,,,,,[8,9]],[,,"(?:870|9[2-47-9]\\d)\\d{5}",,,,"99123456",,,[8]],[,,"4(?:[46]\\d|5[1-9])\\d{5}|(?:3|6\\d)\\d{7}",,,,"612345678"],[,,"(?:800|90\\d)\\d{5}",,,,"90123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MC",377,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["87"]],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],[,,,,,,,,,[-1]],,,[,,"8[07]0\\d{5}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MD:[,[,,"(?:[235-7]\\d|[89]0)\\d{6}",,,,,,,[8]],[,,"(?:(?:2[1-9]|3[1-79])\\d|5(?:33|5[257]))\\d{5}",,,,"22212345"],[,,"562\\d{5}|(?:6\\d|7[16-9])\\d{6}",,,,"62112345"],[,,"800\\d{5}",,,,"80012345"],[,,"90[056]\\d{5}",,,,"90012345"],[,,"808\\d{5}",,,,"80812345"],[,,,,,,,,,[-1]],[,,"3[08]\\d{6}",,,,"30123456"],"MD",373,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"803\\d{5}",,,,"80312345"],,,[,,,,,,,,,[-1]]],ME:[,[,,"(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",,,,,,,[8,9],[6]],[,,"(?:20[2-8]|3(?:[0-2][2-7]|3[24-7])|4(?:0[2-467]|1[2467])|5(?:0[2467]|1[24-7]|2[2-467]))\\d{5}",,,,"30234567",,,[8],[6]],[,,"6(?:[07-9]\\d|3[024]|6[0-25])\\d{5}",,,,"67622901",,,[8]],[,,"80(?:[0-2578]|9\\d)\\d{5}",,,,"80080002"],[,,"9(?:4[1568]|5[178])\\d{5}",,,,"94515151",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"78[1-49]\\d{5}",,,,"78108780",,,[8]],"ME",382,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"77[1-9]\\d{5}",,,,"77273012",,,[8]],,,[,,,,,,,,,[-1]]],MF:[,[,,"(?:590|(?:69|80)\\d|976)\\d{6}",,,,,,,[9]],[,,"590(?:0[079]|[14]3|[27][79]|30|5[0-268]|87)\\d{4}",,,,"590271234"],[,,"69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}",,,,"690001234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"976[01]\\d{5}",,,,"976012345"],"MF",590,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MG:[,[,,"[23]\\d{8}",,,,,,,[9],[7]],[,,"2072[29]\\d{4}|20(?:2\\d|4[47]|5[3467]|6[279]|7[35]|8[268]|9[245])\\d{5}",,,,"202123456",,,,[7]],[,,"3[2-489]\\d{7}",,,,"321234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"22\\d{7}",,,,"221234567"],"MG",261,"00","0",,,"0|([24-9]\\d{6})$","20$1",,,[[,"(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MH:[,[,,"329\\d{4}|(?:[256]\\d|45)\\d{5}",,,,,,,[7]],[,,"(?:247|528|625)\\d{4}",,,,"2471234"],[,,"(?:(?:23|54)5|329|45[56])\\d{4}",,,,"2351234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"635\\d{4}",,,,"6351234"],"MH",692,"011","1",,,"1",,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MK:[,[,,"[2-578]\\d{7}",,,,,,,[8],[6,7]],[,,"(?:2(?:[23]\\d|5[0-24578]|6[01]|82)|3(?:1[3-68]|[23][2-68]|4[23568])|4(?:[23][2-68]|4[3-68]|5[2568]|6[25-8]|7[24-68]|8[4-68]))\\d{5}",,,,"22012345",,,,[6,7]],[,,"7(?:3555|4(?:60\\d|747)|94(?:[01]\\d|2[0-4]))\\d{3}|7(?:[0-25-8]\\d|3[2-4]|42|9[23])\\d{5}",,,,"72345678"],[,,"800\\d{5}",,,,"80012345"],[,,"5[02-9]\\d{6}",,,,"50012345"],[,,"8(?:0[1-9]|[1-9]\\d)\\d{5}",,,,"80123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MK",389,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],[,"(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ML:[,[,,"[24-9]\\d{7}",,,,,,,[8]],[,,"2(?:07[0-8]|12[67])\\d{4}|(?:2(?:02|1[4-689])|4(?:0[0-4]|4[1-39]))\\d{5}",,,,"20212345"],[,,"2(?:0(?:01|79)|17\\d)\\d{4}|(?:5[01]|[679]\\d|8[239])\\d{6}",,,,"65012345"],[,,"80\\d{6}",,,,"80012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ML",223,"00",,,,,,,,[[,"(\\d{4})","$1",["67[057-9]|74[045]","67(?:0[09]|[59]9|77|8[89])|74(?:0[02]|44|55)"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]],[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]],[,,,,,,,,,[-1]],,,[,,"80\\d{6}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MM:[,[,,"1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",,,,,,,[6,7,8,9,10],[5]],[,,"(?:1(?:(?:2\\d|3[56]|[89][0-6])\\d|4(?:2[2-469]|39|46|6[25]|7[0-3]|83)|6)|2(?:2(?:00|8[34])|4(?:0\\d|2[246]|39|46|62|7[0-3]|83)|51\\d\\d)|4(?:2(?:2\\d\\d|48[0-3])|3(?:20\\d|4(?:70|83)|56)|420\\d|5470)|6(?:0(?:[23]|88\\d)|(?:124|[56]2\\d)\\d|247[23]|3(?:20\\d|470)|4(?:2[04]\\d|47[23])|7(?:(?:3\\d|8[01459])\\d|4(?:39|60|7[013]))))\\d{4}|5(?:2(?:2\\d{5,6}|47[023]\\d{4})|(?:347[23]|4(?:2(?:1|86)|470)|522\\d|6(?:20\\d|483)|7(?:20\\d|48[0-2])|8(?:20\\d|47[02])|9(?:20\\d|47[01]))\\d{4})|7(?:(?:0470|4(?:25\\d|470)|5(?:202|470|96\\d))\\d{4}|1(?:20\\d{4,5}|4(?:70|83)\\d{4}))|8(?:1(?:2\\d{5,6}|4(?:10|7[01]\\d)\\d{3})|2(?:2\\d{5,6}|(?:320|490\\d)\\d{3})|(?:3(?:2\\d\\d|470)|4[24-7]|5(?:2\\d|4[1-9]|51)\\d|6[23])\\d{4})|(?:1[2-6]\\d|4(?:2[24-8]|3[2-7]|[46][2-6]|5[3-5])|5(?:[27][2-8]|3[2-68]|4[24-8]|5[23]|6[2-4]|8[24-7]|9[2-7])|6(?:[19]20|42[03-6]|(?:52|7[45])\\d)|7(?:[04][24-8]|[15][2-7]|22|3[2-4])|8(?:1[2-689]|2[2-8]|[35]2\\d))\\d{4}|25\\d{5,6}|(?:2[2-9]|6(?:1[2356]|[24][2-6]|3[24-6]|5[2-4]|6[2-8]|7[235-7]|8[245]|9[24])|8(?:3[24]|5[245]))\\d{4}",,,,"1234567",,,[6,7,8,9],[5]],[,,"(?:17[01]|9(?:2(?:[0-4]|[56]\\d\\d)|(?:3(?:[0-36]|4\\d)|(?:6\\d|8[89]|9[4-8])\\d|7(?:3|40|[5-9]\\d))\\d|4(?:(?:[0245]\\d|[1379])\\d|88)|5[0-6])\\d)\\d{4}|9[69]1\\d{6}|9(?:[68]\\d|9[089])\\d{5}",,,,"92123456",,,[7,8,9,10]],[,,"80080(?:[01][1-9]|2\\d)\\d{3}",,,,"8008001234",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"1333\\d{4}|[12]468\\d{4}",,,,"13331234",,,[8]],"MM",95,"00","0",,,"0",,,,[[,"(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["[45]|6(?:0[23]|[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-6]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],[,"(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],[,"(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MN:[,[,,"[12]\\d{7,9}|[57-9]\\d{7}",,,,,,,[8,9,10],[4,5,6]],[,,"[12]2[1-3]\\d{5,6}|7(?:0[0-5]\\d|128)\\d{4}|(?:[12](?:1|27)|5[368])\\d{6}|[12](?:3[2-8]|4[2-68]|5[1-4689])\\d{6,7}",,,,"53123456",,,,[4,5,6]],[,,"(?:83[01]|920)\\d{5}|(?:5[05]|8[05689]|9[013-9])\\d{6}",,,,"88123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"712[0-79]\\d{4}|7(?:1[013-9]|[5-8]\\d)\\d{5}",,,,"75123456",,,[8]],"MN",976,"001","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],[,"(\\d{4})(\\d{4})","$1 $2",["[57-9]"]],[,"(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],[,"(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],[,"(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MO:[,[,,"0800\\d{3}|(?:28|[68]\\d)\\d{6}",,,,,,,[7,8]],[,,"(?:28[2-9]|8(?:11|[2-57-9]\\d))\\d{5}",,,,"28212345",,,[8]],[,,"6800[0-79]\\d{3}|6(?:[235]\\d\\d|6(?:0[0-5]|[1-9]\\d)|8(?:0[1-9]|[14-8]\\d|2[5-9]|[39][0-4]))\\d{4}",,,,"66123456",,,[8]],[,,"0800\\d{3}",,,,"0800501",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MO",853,"00",,,,,,,,[[,"(\\d{4})(\\d{3})","$1 $2",["0"]],[,"(\\d{4})(\\d{4})","$1 $2",["[268]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MP:[,[,,"[58]\\d{9}|(?:67|90)0\\d{7}",,,,,,,[10],[7]],[,,"670(?:2(?:3[3-7]|56|8[4-8])|32[1-38]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)\\d{4}",,,,"6702345678",,,,[7]],[,,"670(?:2(?:3[3-7]|56|8[4-8])|32[1-38]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)\\d{4}",,,,"6702345678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"MP",1,"011","1",,,"1|([2-9]\\d{6})$","670$1",,1,,,[,,,,,,,,,[-1]],,"670",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MQ:[,[,,"(?:69|80)\\d{7}|(?:59|97)6\\d{6}",,,,,,,[9]],[,,"596(?:0[0-8]|10|2[7-9]|3[04-9]|[4-7]\\d|8[09]|9[4-9])\\d{4}",,,,"596301234"],[,,"69(?:6(?:[0-46-9]\\d|5[0-6])|727)\\d{4}",,,,"696201234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"976(?:6\\d|7[0-367])\\d{4}",,,,"976612345"],"MQ",596,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MR:[,[,,"(?:[2-4]\\d\\d|800)\\d{5}",,,,,,,[8]],[,,"(?:25[08]|35\\d|45[1-7])\\d{5}",,,,"35123456"],[,,"[2-4][0-46-9]\\d{6}",,,,"22123456"],[,,"800\\d{5}",,,,"80012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MR",222,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MS:[,[,,"(?:[58]\\d\\d|664|900)\\d{7}",,,,,,,[10],[7]],[,,"6644(?:1[0-3]|91)\\d{4}",,,,"6644912345",,,,[7]],[,,"664(?:3(?:49|9[1-6])|49[2-6])\\d{4}",,,,"6644923456",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"MS",1,"011","1",,,"1|([34]\\d{6})$","664$1",,,,,[,,,,,,,,,[-1]],,"664",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MT:[,[,,"3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",,,,,,,[8]],[,,"20(?:3[1-4]|6[059])\\d{4}|2(?:0[19]|[1-357]\\d|60)\\d{5}",,,,"21001234"],[,,"(?:7(?:210|[79]\\d\\d)|9(?:[29]\\d\\d|69[67]|8(?:1[1-3]|89|97)))\\d{4}",,,,"96961234"],[,,"800[3467]\\d{4}",,,,"80071234"],[,,"5(?:0(?:0(?:37|43)|(?:6\\d|70|9[0168])\\d)|[12]\\d0[1-5])\\d{3}",,,,"50037123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"3550\\d{4}",,,,"35501234"],"MT",356,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]],,[,,"7117\\d{4}",,,,"71171234"],,,[,,,,,,,,,[-1]],[,,"501\\d{5}",,,,"50112345"],,,[,,,,,,,,,[-1]]],MU:[,[,,"(?:5|8\\d\\d)\\d{7}|[2-468]\\d{6}",,,,,,,[7,8,10]],[,,"(?:2(?:[0346-8]\\d|1[0-7])|4(?:[013568]\\d|2[4-7])|54(?:[3-5]\\d|71)|6\\d\\d|8(?:14|3[129]))\\d{4}",,,,"54480123",,,[7,8]],[,,"5(?:4(?:2[1-389]|7[1-9])|87[15-8])\\d{4}|5(?:2[5-9]|4[3-589]|[57]\\d|8[0-689]|9[0-8])\\d{5}",,,,"52512345",,,[8]],[,,"802\\d{7}|80[0-2]\\d{4}",,,,"8001234",,,[7,10]],[,,"30\\d{5}",,,,"3012345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"3(?:20|9\\d)\\d{4}",,,,"3201234",,,[7]],"MU",230,"0(?:0|[24-7]0|3[03])",,,,,,"020",,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],[,"(\\d{4})(\\d{4})","$1 $2",["5"]],[,"(\\d{5})(\\d{5})","$1 $2",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MV:[,[,,"(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",,,,,,,[7,10]],[,,"(?:3(?:0[0-3]|3[0-59])|6(?:[57][02468]|6[024-68]|8[024689]))\\d{4}",,,,"6701234",,,[7]],[,,"46[46]\\d{4}|(?:7\\d|9[13-9])\\d{5}",,,,"7712345",,,[7]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"900\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MV",960,"0(?:0|19)",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1-$2",["[3467]|9[13-9]"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"4[05]0\\d{4}",,,,"4001234",,,[7]],,,[,,,,,,,,,[-1]]],MW:[,[,,"(?:[19]\\d|[23]1|77|88)\\d{7}|1\\d{6}",,,,,,,[7,9]],[,,"(?:1[2-9]|21\\d\\d)\\d{5}",,,,"1234567"],[,,"111\\d{6}|(?:31|77|88|9[89])\\d{7}",,,,"991234567",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MW",265,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MX:[,[,,"1(?:(?:44|99)[1-9]|65[0-689])\\d{7}|(?:1(?:[017]\\d|[235][1-9]|4[0-35-9]|6[0-46-9]|8[1-79]|9[1-8])|[2-9]\\d)\\d{8}",,,,,,,[10,11],[7,8]],[,,"6571\\d{6}|(?:2(?:0[01]|2[1-9]|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[25-7][1-9]|3[1-8]|4\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[1-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1-467][1-9]|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[1-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|6[1-9]|7[12]|8[1-8]|9\\d))\\d{7}",,,,"2001234567",,,[10],[7,8]],[,,"6571\\d{6}|(?:1(?:2(?:2[1-9]|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[24-7][1-9]|3[1-8]|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[1-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1-467][1-9]|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[1-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69][1-9]|7[12]|8[1-8]))|2(?:2[1-9]|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[25-7][1-9]|3[1-8]|4\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[1-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1-467][1-9]|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[1-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|6[1-9]|7[12]|8[1-8]|9\\d))\\d{7}",,,,"12221234567",,,,[7,8]],[,,"8(?:00|88)\\d{7}",,,,"8001234567",,,[10]],[,,"900\\d{7}",,,,"9001234567",,,[10]],[,,"300\\d{7}",,,,"3001234567",,,[10]],[,,"500\\d{7}",,,,"5001234567",,,[10]],[,,,,,,,,,[-1]],"MX",52,"0[09]","01",,,"0(?:[12]|4[45])|1",,"00",,[[,"(\\d{5})","$1",["53"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"],,,1],[,"(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 $3 $4",["1(?:33|5[56]|81)"],,,1],[,"(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 $3 $4",["1"],,,1]],[[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"],,,1],[,"(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 $3 $4",["1(?:33|5[56]|81)"],,,1],[,"(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 $3 $4",["1"],,,1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MY:[,[,,"1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",,,,,,,[8,9,10],[6,7]],[,,"(?:3(?:2[0-36-9]|3[0-368]|4[0-278]|5[0-24-8]|6[0-467]|7[1246-9]|8\\d|9[0-57])\\d|4(?:2[0-689]|[3-79]\\d|8[1-35689])|5(?:2[0-589]|[3468]\\d|5[0-489]|7[1-9]|9[23])|6(?:2[2-9]|3[1357-9]|[46]\\d|5[0-6]|7[0-35-9]|85|9[015-8])|7(?:[2579]\\d|3[03-68]|4[0-8]|6[5-9]|8[0-35-9])|8(?:[24][2-8]|3[2-5]|5[2-7]|6[2-589]|7[2-578]|[89][2-9])|9(?:0[57]|13|[25-7]\\d|[3489][0-8]))\\d{5}",,,,"323856789",,,[8,9],[6,7]],[,,"1(?:1888[69]|4400|8(?:47|8[27])[0-4])\\d{4}|1(?:0(?:[23568]\\d|4[0-6]|7[016-9]|9[0-8])|1(?:[1-5]\\d\\d|6(?:0[5-9]|[1-9]\\d)|7(?:[0134]\\d|2[1-9]|5[0-6]))|(?:(?:[269]|59)\\d|[37][1-9]|4[235-9])\\d|8(?:1[23]|[236]\\d|4[06]|5[7-9]|7[016-9]|8[01]|9[0-8]))\\d{5}",,,,"123456789",,,[9,10]],[,,"1[378]00\\d{6}",,,,"1300123456",,,[10]],[,,"1600\\d{6}",,,,"1600123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"15(?:4(?:6[0-4]\\d|8(?:0[125]|[17]\\d|21|3[01]|4[01589]|5[014]|6[02]))|6(?:32[0-6]|78\\d))\\d{4}",,,,"1546012345",,,[10]],"MY",60,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9])|8"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],[,"(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1[36-8]"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MZ:[,[,,"(?:2|8\\d)\\d{7}",,,,,,,[8,9]],[,,"2(?:[1346]\\d|5[0-2]|[78][12]|93)\\d{5}",,,,"21123456",,,[8]],[,,"8[2-79]\\d{7}",,,,"821234567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MZ",258,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NA:[,[,,"[68]\\d{7,8}",,,,,,,[8,9]],[,,"64426\\d{3}|6(?:1(?:2[2-7]|3[01378]|4[0-4])|254|32[0237]|4(?:27|41|5[25])|52[236-8]|626|7(?:2[2-4]|30))\\d{4,5}|6(?:1(?:(?:0\\d|2[0189]|3[24-69]|4[5-9])\\d|17|69|7[014])|2(?:17|5[0-36-8]|69|70)|3(?:17|2[14-689]|34|6[289]|7[01]|81)|4(?:17|2[0-2]|4[06]|5[0137]|69|7[01])|5(?:17|2[0459]|69|7[01])|6(?:17|25|38|42|69|7[01])|7(?:17|2[569]|3[13]|6[89]|7[01]))\\d{4}",,,,"61221234"],[,,"(?:60|8[1245])\\d{7}",,,,"811234567",,,[9]],[,,"80\\d{7}",,,,"800123456",,,[9]],[,,"8701\\d{5}",,,,"870123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"8(?:3\\d\\d|86)\\d{5}",,,,"88612345"],"NA",264,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NC:[,[,,"[2-57-9]\\d{5}",,,,,,,[6]],[,,"(?:2[03-9]|3[0-5]|4[1-7]|88)\\d{4}",,,,"201234"],[,,"(?:5[0-4]|[79]\\d|8[0-79])\\d{4}",,,,"751234"],[,,,,,,,,,[-1]],[,,"36\\d{4}",,,,"366711"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NC",687,"00",,,,,,,,[[,"(\\d{3})","$1",["5[6-8]"]],[,"(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[2-57-9]"]]],[[,"(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[2-57-9]"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NE:[,[,,"[027-9]\\d{7}",,,,,,,[8]],[,,"2(?:0(?:20|3[1-8]|4[13-5]|5[14]|6[14578]|7[1-578])|1(?:4[145]|5[14]|6[14-68]|7[169]|88))\\d{4}",,,,"20201234"],[,,"(?:23|7[04]|[89]\\d)\\d{6}",,,,"93123456"],[,,"08\\d{6}",,,,"08123456"],[,,"09\\d{6}",,,,"09123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NE",227,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[04]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NF:[,[,,"[13]\\d{5}",,,,,,,[6],[5]],[,,"(?:1(?:06|17|28|39)|3[0-2]\\d)\\d{3}",,,,"106609",,,,[5]],[,,"(?:14|3[58])\\d{4}",,,,"381234",,,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NF",672,"00",,,,"([0-258]\\d{4})$","3$1",,,[[,"(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],[,"(\\d)(\\d{5})","$1 $2",["[13]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NG:[,[,,"(?:[124-7]|9\\d{3})\\d{6}|[1-9]\\d{7}|[78]\\d{9,13}",,,,,,,[7,8,10,11,12,13,14],[5,6]],[,,"(?:(?:[1-356]\\d|4[02-8]|8[2-9])\\d|9(?:0[3-9]|[1-9]\\d))\\d{5}|7(?:0(?:[013-689]\\d|2[0-24-9])\\d{3,4}|[1-79]\\d{6})|(?:[12]\\d|4[147]|5[14579]|6[1578]|7[1-3578])\\d{5}",,,,"18040123",,,[7,8],[5,6]],[,,"(?:702[0-24-9]|8(?:01|19)[01])\\d{6}|(?:70[13-689]|8(?:0[2-9]|1[0-8])|9(?:0[1-9]|1[2356]))\\d{7}",,,,"8021234567",,,[10]],[,,"800\\d{7,11}",,,,"80017591759",,,[10,11,12,13,14]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NG",234,"009","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["78"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|9(?:0[3-9]|[1-9])"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[3-7]|8[2-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],[,"(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"700\\d{7,11}",,,,"7001234567",,,[10,11,12,13,14]],,,[,,,,,,,,,[-1]]],NI:[,[,,"(?:1800|[25-8]\\d{3})\\d{4}",,,,,,,[8]],[,,"2\\d{7}",,,,"21234567"],[,,"(?:5(?:5[0-7]|[78]\\d)|6(?:20|3[035]|4[045]|5[05]|77|8[1-9]|9[059])|(?:7[5-8]|8\\d)\\d)\\d{5}",,,,"81234567"],[,,"1800\\d{4}",,,,"18001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NI",505,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NL:[,[,,"(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|[89]\\d{6,9}|1\\d{4,5}",,,,,,,[5,6,7,8,9,10]],[,,"(?:1(?:[035]\\d|1[13-578]|6[124-8]|7[24]|8[0-467])|2(?:[0346]\\d|2[2-46-9]|5[125]|9[479])|3(?:[03568]\\d|1[3-8]|2[01]|4[1-8])|4(?:[0356]\\d|1[1-368]|7[58]|8[15-8]|9[23579])|5(?:[0358]\\d|[19][1-9]|2[1-57-9]|4[13-8]|6[126]|7[0-3578])|7\\d\\d)\\d{6}",,,,"101234567",,,[9]],[,,"6[1-58]\\d{7}",,,,"612345678",,,[9]],[,,"800\\d{4,7}",,,,"8001234",,,[7,8,9,10]],[,,"90[069]\\d{4,7}",,,,"9061234",,,[7,8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:85|91)\\d{7}",,,,"851234567",,,[9]],"NL",31,"00","0",,,"0",,,,[[,"(\\d{4})","$1",["1[238]|[34]"]],[,"(\\d{2})(\\d{3,4})","$1 $2",["14"]],[,"(\\d{6})","$1",["1"]],[,"(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],[,"(\\d)(\\d{8})","$1 $2",["6"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-57-9]"],"0$1"]],[[,"(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],[,"(\\d)(\\d{8})","$1 $2",["6"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-57-9]"],"0$1"]],[,,"66\\d{7}",,,,"662345678",,,[9]],,,[,,"140(?:1[035]|2[0346]|3[03568]|4[0356]|5[0358]|8[458])|140(?:1[16-8]|2[259]|3[124]|4[17-9]|5[124679]|7)\\d",,,,,,,[5,6]],[,,"140(?:1[035]|2[0346]|3[03568]|4[0356]|5[0358]|8[458])|(?:140(?:1[16-8]|2[259]|3[124]|4[17-9]|5[124679]|7)|8[478]\\d{6})\\d",,,,"14020",,,[5,6,9]],,,[,,,,,,,,,[-1]]],NO:[,[,,"(?:0|[2-9]\\d{3})\\d{4}",,,,,,,[5,8]],[,,"(?:2[1-4]|3[1-3578]|5[1-35-7]|6[1-4679]|7[0-8])\\d{6}",,,,"21234567",,,[8]],[,,"(?:4[015-8]|59|9\\d)\\d{6}",,,,"40612345",,,[8]],[,,"80[01]\\d{5}",,,,"80012345",,,[8]],[,,"82[09]\\d{5}",,,,"82012345",,,[8]],[,,"810(?:0[0-6]|[2-8]\\d)\\d{3}",,,,"81021234",,,[8]],[,,"880\\d{5}",,,,"88012345",,,[8]],[,,"85[0-5]\\d{5}",,,,"85012345",,,[8]],"NO",47,"00",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[489]|59"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-7]"]]],,[,,,,,,,,,[-1]],1,"[02-689]|7[0-8]",[,,,,,,,,,[-1]],[,,"(?:0[2-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}",,,,"02000"],,,[,,"81[23]\\d{5}",,,,"81212345",,,[8]]],NP:[,[,,"(?:1\\d|9)\\d{9}|[1-9]\\d{7}",,,,,,,[8,10,11],[6,7]],[,,"(?:1[0-6]\\d|99[02-6])\\d{5}|(?:2[13-79]|3[135-8]|4[146-9]|5[135-7]|6[13-9]|7[15-9]|8[1-46-9]|9[1-7])[2-6]\\d{5}",,,,"14567890",,,[8],[6,7]],[,,"9(?:6[0-3]|7[245]|8[0-24-68])\\d{7}",,,,"9841234567",,,[10]],[,,"1(?:66001|800\\d\\d)\\d{5}",,,,"16600101234",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NP",977,"00","0",,,"0",,,,[[,"(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],[,"(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-579]|6[2-6])"],"0$1"],[,"(\\d{3})(\\d{7})","$1-$2",["9"]],[,"(\\d{4})(\\d{2})(\\d{5})","$1-$2-$3",["1"]]],[[,"(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],[,"(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-579]|6[2-6])"],"0$1"],[,"(\\d{3})(\\d{7})","$1-$2",["9"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NR:[,[,,"(?:444|(?:55|8\\d)\\d|666)\\d{4}",,,,,,,[7]],[,,"444\\d{4}",,,,"4441234"],[,,"(?:55[3-9]|666|8\\d\\d)\\d{4}",,,,"5551234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NR",674,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[4-68]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NU:[,[,,"(?:[47]|888\\d)\\d{3}",,,,,,,[4,7]],[,,"[47]\\d{3}",,,,"7012",,,[4]],[,,"888[4-9]\\d{3}",,,,"8884012",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NU",683,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NZ:[,[,,"[29]\\d{7,9}|50\\d{5}(?:\\d{2,3})?|6[0-35-9]\\d{6}|7\\d{7,8}|8\\d{4,9}|(?:11\\d|[34])\\d{7}",,,,,,,[5,6,7,8,9,10]],[,,"24099\\d{3}|(?:3[2-79]|[49][2-9]|6[235-9]|7[2-57-9])\\d{6}",,,,"32345678",,,[8],[7]],[,,"2[0-27-9]\\d{7,8}|21\\d{6}",,,,"211234567",,,[8,9,10]],[,,"508\\d{6,7}|80\\d{6,8}",,,,"800123456",,,[8,9,10]],[,,"(?:11\\d{5}|50(?:0[08]|30|66|77|88))\\d{3}|90\\d{6,8}",,,,"900123456",,,[7,8,9,10]],[,,,,,,,,,[-1]],[,,"70\\d{7}",,,,"701234567",,,[9]],[,,,,,,,,,[-1]],"NZ",64,"0(?:0|161)","0",,,"0",,"00",,[[,"(\\d{2})(\\d{3,8})","$1 $2",["8[1-579]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|[89]0","50(?:[0367]|88)|[89]0"],"0$1"],[,"(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[59]|80"],"0$1"],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7|86"],"0$1"]],,[,,"[28]6\\d{6,7}",,,,"26123456",,,[8,9]],,,[,,,,,,,,,[-1]],[,,"8(?:1[6-9]|22|3\\d|4[045]|5[459]|7[0-3579]|90)\\d{2,7}",,,,"83012378"],,,[,,,,,,,,,[-1]]],OM:[,[,,"(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",,,,,,,[7,8,9]],[,,"2[2-6]\\d{6}",,,,"23123456",,,[8]],[,,"1505\\d{4}|(?:7(?:[1289]\\d|70)|9(?:0[1-9]|[1-9]\\d))\\d{5}",,,,"92123456",,,[8]],[,,"8007\\d{4,5}|(?:500|800[05])\\d{4}",,,,"80071234"],[,,"900\\d{5}",,,,"90012345",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"OM",968,"00",,,,,,,,[[,"(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],[,"(\\d{2})(\\d{6})","$1 $2",["2"]],[,"(\\d{4})(\\d{4})","$1 $2",["[179]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PA:[,[,,"(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",,,,,,,[7,8,10,11]],[,,"(?:1(?:0\\d|1[479]|2[37]|3[0137]|4[17]|5[05]|6[58]|7[0167]|8[258]|9[139])|2(?:[0235-79]\\d|1[0-7]|4[013-9]|8[026-9])|3(?:[089]\\d|1[014-7]|2[0-5]|33|4[0-79]|55|6[068]|7[03-8])|4(?:00|3[0-579]|4\\d|7[0-57-9])|5(?:[01]\\d|2[0-7]|[56]0|79)|7(?:0[09]|2[0-26-8]|3[03]|4[04]|5[05-9]|6[056]|7[0-24-9]|8[6-9]|90)|8(?:09|2[89]|3\\d|4[0-24-689]|5[014]|8[02])|9(?:0[5-9]|1[0135-8]|2[036-9]|3[35-79]|40|5[0457-9]|6[05-9]|7[04-9]|8[35-8]|9\\d))\\d{4}",,,,"2001234",,,[7]],[,,"(?:1[16]1|21[89]|6(?:[02-9]\\d|1[0-8])\\d|8(?:1[01]|7[23]))\\d{4}",,,,"61234567",,,[7,8]],[,,"800\\d{4,5}|(?:00800|800\\d)\\d{6}",,,,"8001234"],[,,"(?:8(?:22|55|60|7[78]|86)|9(?:00|81))\\d{4}",,,,"8601234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PA",507,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],[,"(\\d{4})(\\d{4})","$1-$2",["[68]"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PE:[,[,,"(?:[14-8]|9\\d)\\d{7}",,,,,,,[8,9],[6,7]],[,,"(?:(?:4[34]|5[14])[0-8]\\d|7(?:173|3[0-8]\\d)|8(?:10[05689]|6(?:0[06-9]|1[6-9]|29)|7(?:0[569]|[56]0)))\\d{4}|(?:1[0-8]|4[12]|5[236]|6[1-7]|7[246]|8[2-4])\\d{6}",,,,"11234567",,,[8],[6,7]],[,,"9\\d{8}",,,,"912345678",,,[9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,"805\\d{5}",,,,"80512345",,,[8]],[,,"801\\d{5}",,,,"80112345",,,[8]],[,,"80[24]\\d{5}",,,,"80212345",,,[8]],[,,,,,,,,,[-1]],"PE",51,"19(?:1[124]|77|90)00","0"," Anexo ",,"0",,,,[[,"(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],[,"(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],[,"(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PF:[,[,,"4\\d{5}(?:\\d{2})?|8\\d{7,8}",,,,,,,[6,8,9]],[,,"4(?:0[4-689]|9[4-68])\\d{5}",,,,"40412345",,,[8]],[,,"8[7-9]\\d{6}",,,,"87123456",,,[8]],[,,"80[0-5]\\d{6}",,,,"800012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"499\\d{5}",,,,"49901234",,,[8]],"PF",689,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]],,[,,,,,,,,,[-1]],,,[,,"44\\d{4}",,,,,,,[6]],[,,"44\\d{4}",,,,"440123",,,[6]],,,[,,,,,,,,,[-1]]],PG:[,[,,"(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",,,,,,,[7,8]],[,,"(?:(?:3[0-2]|4[257]|5[34]|9[78])\\d|64[1-9]|85[02-46-9])\\d{4}",,,,"3123456",,,[7]],[,,"(?:7\\d|8[18])\\d{6}",,,,"70123456",,,[8]],[,,"180\\d{4}",,,,"1801234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"2(?:0[0-47]|7[568])\\d{4}",,,,"2751234",,,[7]],"PG",675,"00|140[1-3]",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],[,"(\\d{4})(\\d{4})","$1 $2",["[78]"]]],,[,,"27[01]\\d{4}",,,,"2700123",,,[7]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PH:[,[,,"(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",,,,,,,[6,8,9,10,11,12,13],[4,5,7]],[,,"(?:(?:2[3-8]|3[2-68]|4[2-9]|5[2-6]|6[2-58]|7[24578])\\d{3}|88(?:22\\d\\d|42))\\d{4}|(?:2|8[2-8]\\d\\d)\\d{5}",,,,"232345678",,,[6,8,9,10],[4,5,7]],[,,"(?:8(?:1[37]|9[5-8])|9(?:0[5-9]|1[0-24-9]|[2357]\\d|4[2-9]|6[0-35-9]|8[135-9]|9[1-9]))\\d{7}",,,,"9051234567",,,[10]],[,,"1800\\d{7,9}",,,,"180012345678",,,[11,12,13]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PH",63,"00","0",,,"0",,,,[[,"(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],[,"(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],[,"(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],[,"(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PK:[,[,,"122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",,,,,,,[8,9,10,11,12],[5,6,7]],[,,"(?:(?:21|42)[2-9]|58[126])\\d{7}|(?:2[25]|4[0146-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]\\d{6,7}|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8]))[2-9]\\d{5,6}",,,,"2123456789",,,[9,10],[5,6,7,8]],[,,"3(?:[014]\\d|2[0-5]|3[0-7]|55|64)\\d{7}",,,,"3012345678",,,[10]],[,,"800\\d{5}(?:\\d{3})?",,,,"80012345",,,[8,11]],[,,"900\\d{5}",,,,"90012345",,,[8]],[,,,,,,,,,[-1]],[,,"122\\d{6}",,,,"122044444",,,[9]],[,,,,,,,,,[-1]],"PK",92,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],[,"(\\d{4})(\\d{5})","$1 $2",["1"]],[,"(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],[,"(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],[,"(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],[,"(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:2(?:[125]|3[2358]|4[2-4]|9[2-8])|4(?:[0-246-9]|5[3479])|5(?:[1-35-7]|4[2-467])|6(?:0[468]|[1-8])|7(?:[14]|2[236])|8(?:[16]|2[2-689]|3[23578]|4[3478]|5[2356])|9(?:1|22|3[27-9]|4[2-6]|6[3569]|9[2-7]))111\\d{6}",,,,"21111825888",,,[11,12]],,,[,,,,,,,,,[-1]]],PL:[,[,,"6\\d{5}(?:\\d{2})?|8\\d{9}|[1-9]\\d{6}(?:\\d{2})?",,,,,,,[6,7,8,9,10]],[,,"47\\d{7}|(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])(?:[02-9]\\d{6}|1(?:[0-8]\\d{5}|9\\d{3}(?:\\d{2})?))",,,,"123456789",,,[7,9]],[,,"211(?:1\\d|3[1-5])\\d{4}|(?:45|5[0137]|6[069]|7[2389]|88)\\d{7}",,,,"512345678",,,[9]],[,,"800\\d{6,7}",,,,"800123456",,,[9,10]],[,,"70[01346-8]\\d{6}",,,,"701234567",,,[9]],[,,"801\\d{6}",,,,"801234567",,,[9]],[,,,,,,,,,[-1]],[,,"39\\d{7}",,,,"391234567",,,[9]],"PL",48,"00",,,,,,,,[[,"(\\d{5})","$1",["19"]],[,"(\\d{3})(\\d{3})","$1 $2",["11|64"]],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],[,"(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]],,[,,"64\\d{4,7}",,,,"641234567",,,[6,7,8,9]],,,[,,,,,,,,,[-1]],[,,"804\\d{6}",,,,"804123456",,,[9]],,,[,,,,,,,,,[-1]]],PM:[,[,,"(?:[45]|80\\d\\d)\\d{5}",,,,,,,[6,9]],[,,"(?:4[1-3]|50)\\d{4}",,,,"430123",,,[6]],[,,"(?:4[02-4]|5[05])\\d{4}",,,,"551234",,,[6]],[,,"80[0-5]\\d{6}",,,,"800012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PM",508,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PR:[,[,,"(?:[589]\\d\\d|787)\\d{7}",,,,,,,[10],[7]],[,,"(?:787|939)[2-9]\\d{6}",,,,"7872345678",,,,[7]],[,,"(?:787|939)[2-9]\\d{6}",,,,"7872345678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"PR",1,"011","1",,,"1",,,1,,,[,,,,,,,,,[-1]],,"787|939",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PS:[,[,,"[2489]2\\d{6}|(?:1\\d|5)\\d{8}",,,,,,,[8,9,10],[7]],[,,"(?:22[2-47-9]|42[45]|82[014-68]|92[3569])\\d{5}",,,,"22234567",,,[8],[7]],[,,"5[69]\\d{7}",,,,"599123456",,,[9]],[,,"1800\\d{6}",,,,"1800123456",,,[10]],[,,,,,,,,,[-1]],[,,"1700\\d{6}",,,,"1700123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PS",970,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PT:[,[,,"1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",,,,,,,[9]],[,,"2(?:[12]\\d|[35][1-689]|4[1-59]|6[1-35689]|7[1-9]|8[1-69]|9[1256])\\d{6}",,,,"212345678"],[,,"6[0356]92(?:30|9\\d)\\d{3}|(?:(?:16|6[0356])93|9(?:[1-36]\\d\\d|480))\\d{5}",,,,"912345678"],[,,"80[02]\\d{6}",,,,"800123456"],[,,"(?:6(?:0[178]|4[68])\\d|76(?:0[1-57]|1[2-47]|2[237]))\\d{5}",,,,"760123456"],[,,"80(?:8\\d|9[1579])\\d{5}",,,,"808123456"],[,,"884[0-4689]\\d{5}",,,,"884123456"],[,,"30\\d{7}",,,,"301234567"],"PT",351,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"70(?:7\\d|8[17])\\d{5}",,,,"707123456"],,,[,,"600\\d{6}",,,,"600110000"]],PW:[,[,,"(?:[24-8]\\d\\d|345|900)\\d{4}",,,,,,,[7]],[,,"(?:2(?:55|77)|345|488|5(?:35|44|87)|6(?:22|54|79)|7(?:33|47)|8(?:24|55|76)|900)\\d{4}",,,,"2771234"],[,,"(?:46[0-5]|6[2-4689]0)\\d{4}|(?:45|77|88)\\d{5}",,,,"6201234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PW",680,"01[12]",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PY:[,[,,"59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",,,,,,,[6,7,8,9,10,11],[5]],[,,"(?:[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36])\\d{5,7}|(?:2(?:2[4-68]|[4-68]\\d|7[15]|9[1-5])|3(?:18|3[167]|4[2357]|51|[67]\\d)|4(?:3[12]|5[13]|9[1-47])|5(?:[1-4]\\d|5[02-4])|6(?:3[1-3]|44|7[1-8])|7(?:4[0-4]|5\\d|6[1-578]|75|8[0-8])|858)\\d{5,6}",,,,"212345678",,,[7,8,9],[5,6]],[,,"9(?:51|6[129]|[78][1-6]|9[1-5])\\d{6}",,,,"961456789",,,[9]],[,,"9800\\d{5,7}",,,,"98000123456",,,[9,10,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"8700[0-4]\\d{4}",,,,"870012345",,,[9]],"PY",595,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],[,"(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],[,"(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],[,"(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-6])"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"[2-9]0\\d{4,7}",,,,"201234567",,,[6,7,8,9]],,,[,,,,,,,,,[-1]]],QA:[,[,,"[2-7]\\d{7}|800\\d{4}(?:\\d{2})?|2\\d{6}",,,,,,,[7,8,9]],[,,"4141\\d{4}|(?:23|4[04])\\d{6}",,,,"44123456",,,[8]],[,,"(?:28|[35-7]\\d)\\d{6}",,,,"33123456",,,[8]],[,,"800\\d{4}(?:\\d{2})?",,,,"8001234",,,[7,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"QA",974,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["2[126]|8"]],[,"(\\d{4})(\\d{4})","$1 $2",["[2-7]"]]],,[,,"2(?:[12]\\d|61)\\d{4}",,,,"2123456",,,[7]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RE:[,[,,"9769\\d{5}|(?:26|[68]\\d)\\d{7}",,,,,,,[9]],[,,"26(?:2\\d\\d|30[0-5])\\d{4}",,,,"262161234"],[,,"(?:69(?:2\\d\\d|3(?:[06][0-46]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-27]|8[0-8]|9[0-479]))|9769\\d)\\d{4}",,,,"692123456"],[,,"80\\d{7}",,,,"801234567"],[,,"89[1-37-9]\\d{6}",,,,"891123456"],[,,"8(?:1[019]|2[0156]|84|90)\\d{6}",,,,"810123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RE",262,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2689]"],"0$1"]],,[,,,,,,,,,[-1]],1,"26[23]|69|[89]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RO:[,[,,"(?:[237]\\d|[89]0)\\d{7}|[23]\\d{5}",,,,,,,[6,9]],[,,"[23][13-6]\\d{7}|(?:2(?:19\\d|[3-6]\\d9)|31\\d\\d)\\d\\d",,,,"211234567"],[,,"7020\\d{5}|7(?:0[013-9]|1[0-2]|[2-7]\\d|8[03-8]|9[019])\\d{6}",,,,"712034567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"90[0136]\\d{6}",,,,"900123456",,,[9]],[,,"801\\d{6}",,,,"801123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RO",40,"00","0"," int ",,"0",,,,[[,"(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],[,"(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[237-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:37\\d|80[578])\\d{6}",,,,"372123456",,,[9]],,,[,,,,,,,,,[-1]]],RS:[,[,,"38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",,,,,,,[6,7,8,9,10,11,12],[4,5]],[,,"(?:11[1-9]\\d|(?:2[389]|39)(?:0[2-9]|[2-9]\\d))\\d{3,8}|(?:1[02-9]|2[0-24-7]|3[0-8])[2-9]\\d{4,9}",,,,"10234567",,,[7,8,9,10,11,12],[4,5,6]],[,,"6(?:[0-689]|7\\d)\\d{6,7}",,,,"601234567",,,[8,9,10]],[,,"800\\d{3,9}",,,,"80012345"],[,,"(?:78\\d|90[0169])\\d{3,7}",,,,"90012345",,,[6,7,8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RS",381,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],[,"(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"7[06]\\d{4,10}",,,,"700123456"],,,[,,,,,,,,,[-1]]],RU:[,[,,"8\\d{13}|[347-9]\\d{9}",,,,,,,[10,14],[7]],[,,"(?:3(?:0[12]|4[1-35-79]|5[1-3]|65|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15]|6[1-35-79]|7[1-37-9]))\\d{7}",,,,"3011234567",,,[10],[7]],[,,"9\\d{9}",,,,"9123456789",,,[10]],[,,"8(?:0[04]|108\\d{3})\\d{7}",,,,"8001234567"],[,,"80[39]\\d{7}",,,,"8091234567",,,[10]],[,,,,,,,,,[-1]],[,,"808\\d{7}",,,,"8081234567",,,[10]],[,,,,,,,,,[-1]],"RU",7,"810","8",,,"8",,"8~10",,[[,"(\\d{3})(\\d{2})(\\d{2})","$1-$2-$3",["[0-79]"]],[,"(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-6]2|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-6]2|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",,1],[,"(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",,1],[,"(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],[[,"(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-6]2|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-6]2|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",,1],[,"(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",,1],[,"(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],[,,,,,,,,,[-1]],1,"3[04-689]|[489]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RW:[,[,,"(?:06|[27]\\d\\d|[89]00)\\d{6}",,,,,,,[8,9]],[,,"(?:06|2[23568]\\d)\\d{6}",,,,"250123456"],[,,"7[2389]\\d{7}",,,,"720123456",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"900\\d{6}",,,,"900123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RW",250,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SA:[,[,,"92\\d{7}|(?:[15]|8\\d)\\d{8}",,,,,,,[9,10],[7]],[,,"1(?:1\\d|2[24-8]|3[35-8]|4[3-68]|6[2-5]|7[235-7])\\d{6}",,,,"112345678",,,[9],[7]],[,,"579[01]\\d{5}|5(?:[013-689]\\d|7[0-36-8])\\d{6}",,,,"512345678",,,[9]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"925\\d{6}",,,,"925012345",,,[9]],[,,"920\\d{6}",,,,"920012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SA",966,"00","0",,,"0",,,,[[,"(\\d{4})(\\d{5})","$1 $2",["9"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["81"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"811\\d{7}",,,,"8110123456",,,[10]],,,[,,,,,,,,,[-1]]],SB:[,[,,"(?:[1-6]|[7-9]\\d\\d)\\d{4}",,,,,,,[5,7]],[,,"(?:1[4-79]|[23]\\d|4[0-2]|5[03]|6[0-37])\\d{3}",,,,"40123",,,[5]],[,,"48\\d{3}|(?:(?:7[1-9]|8[4-9])\\d|9(?:1[2-9]|2[013-9]|3[0-2]|[46]\\d|5[0-46-9]|7[0-689]|8[0-79]|9[0-8]))\\d{4}",,,,"7421234"],[,,"1[38]\\d{3}",,,,"18123",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"5[12]\\d{3}",,,,"51123",,,[5]],"SB",677,"0[01]",,,,,,,,[[,"(\\d{2})(\\d{5})","$1 $2",["7|8[4-9]|9(?:[1-8]|9[0-8])"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SC:[,[,,"8000\\d{3}|(?:[249]\\d|64)\\d{5}",,,,,,,[7]],[,,"4[2-46]\\d{5}",,,,"4217123"],[,,"2[5-8]\\d{5}",,,,"2510123"],[,,"8000\\d{3}",,,,"8000000"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"971\\d{4}|(?:64|95)\\d{5}",,,,"6412345"],"SC",248,"010|0[0-2]",,,,,,"00",,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SD:[,[,,"[19]\\d{8}",,,,,,,[9]],[,,"1(?:5\\d|8[35-7])\\d{6}",,,,"153123456"],[,,"(?:1[0-2]|9[0-3569])\\d{7}",,,,"911231234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SD",249,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SE:[,[,,"(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",,,,,,,[6,7,8,9,10,12]],[,,"(?:(?:[12][136]|3[356]|4[0246]|6[03]|8\\d)\\d|90[1-9])\\d{4,6}|(?:1(?:2[0-35]|4[0-4]|5[0-25-9]|7[13-6]|[89]\\d)|2(?:2[0-7]|4[0136-8]|5[0138]|7[018]|8[01]|9[0-57])|3(?:0[0-4]|1\\d|2[0-25]|4[056]|7[0-2]|8[0-3]|9[023])|4(?:1[013-8]|3[0135]|5[14-79]|7[0-246-9]|8[0156]|9[0-689])|5(?:0[0-6]|[15][0-5]|2[0-68]|3[0-4]|4\\d|6[03-5]|7[013]|8[0-79]|9[01])|6(?:1[1-3]|2[0-4]|4[02-57]|5[0-37]|6[0-3]|7[0-2]|8[0247]|9[0-356])|9(?:1[0-68]|2\\d|3[02-5]|4[0-3]|5[0-4]|[68][01]|7[0135-8]))\\d{5,6}",,,,"8123456",,,[7,8,9]],[,,"7[02369]\\d{7}",,,,"701234567",,,[9]],[,,"20\\d{4,7}",,,,"20123456",,,[6,7,8,9]],[,,"649\\d{6}|9(?:00|39|44)[1-8]\\d{3,6}",,,,"9001234567",,,[7,8,9,10]],[,,"77[0-7]\\d{6}",,,,"771234567",,,[9]],[,,"75[1-8]\\d{6}",,,,"751234567",,,[9]],[,,,,,,,,,[-1]],"SE",46,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1"],[,"(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44)"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1"],[,"(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1"],[,"(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1"],[,"(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1"],[,"(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1"]],[[,"(\\d{2})(\\d{2,3})(\\d{2})","$1 $2 $3",["20"]],[,"(\\d{3})(\\d{4})","$1 $2",["9(?:00|39|44)"]],[,"(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"]],[,"(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],[,"(\\d{3})(\\d{2,3})(\\d{2})","$1 $2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"]],[,"(\\d{3})(\\d{2,3})(\\d{3})","$1 $2 $3",["9(?:00|39|44)"]],[,"(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"]],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["10|7"]],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["8"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["9"]],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]"]]],[,,"74[02-9]\\d{6}",,,,"740123456",,,[9]],,,[,,,,,,,,,[-1]],[,,"10[1-8]\\d{6}",,,,"102345678",,,[9]],,,[,,"(?:25[245]|67[3-68])\\d{9}",,,,"254123456789",,,[12]]],SG:[,[,,"(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",,,,,,,[8,10,11]],[,,"662[0-24-9]\\d{4}|6(?:[1-578]\\d|6[013-57-9]|9[0-35-9])\\d{5}",,,,"61234567",,,[8]],[,,"(?:8(?:0(?:[13]\\d|2[013-9]|4[0-35-7])|[1-8]\\d\\d|9(?:[0-4]\\d|5[0-2]))|9[0-8]\\d\\d)\\d{4}",,,,"81234567",,,[8]],[,,"(?:18|8)00\\d{7}",,,,"18001234567",,,[10,11]],[,,"1900\\d{7}",,,,"19001234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:3[12]\\d|666)\\d{5}",,,,"31234567",,,[8]],"SG",65,"0[0-3]\\d",,,,,,,,[[,"(\\d{4,5})","$1",["1[013-9]|77","1(?:[013-8]|9(?:0[1-9]|[1-9]))|77"]],[,"(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-4]|[1-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],[,"(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],[[,"(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-4]|[1-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],[,"(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"7000\\d{7}",,,,"70001234567",,,[11]],,,[,,,,,,,,,[-1]]],SH:[,[,,"(?:[256]\\d|8)\\d{3}",,,,,,,[4,5]],[,,"2(?:[0-57-9]\\d|6[4-9])\\d\\d",,,,"22158"],[,,"[56]\\d{4}",,,,"51234",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"262\\d\\d",,,,"26212",,,[5]],"SH",290,"00",,,,,,,,,,[,,,,,,,,,[-1]],1,"[256]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SI:[,[,,"[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",,,,,,,[5,6,7,8]],[,,"(?:[1-357][2-8]|4[24-8])\\d{6}",,,,"12345678",,,[8],[7]],[,,"65(?:1\\d|55|[67]0)\\d{4}|(?:[37][01]|4[0139]|51|6[489])\\d{6}",,,,"31234567",,,[8]],[,,"80\\d{4,6}",,,,"80123456",,,[6,7,8]],[,,"89[1-3]\\d{2,5}|90\\d{4,6}",,,,"90123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:59\\d\\d|8(?:1(?:[67]\\d|8[0-489])|2(?:0\\d|2[0-37-9]|8[0-2489])|3[389]\\d))\\d{4}",,,,"59012345",,,[8]],"SI",386,"00|10(?:22|66|88|99)","0",,,"0",,"00",,[[,"(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],[,"(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],[,"(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SJ:[,[,,"0\\d{4}|(?:[489]\\d|[57]9)\\d{6}",,,,,,,[5,8]],[,,"79\\d{6}",,,,"79123456",,,[8]],[,,"(?:4[015-8]|59|9\\d)\\d{6}",,,,"41234567",,,[8]],[,,"80[01]\\d{5}",,,,"80012345",,,[8]],[,,"82[09]\\d{5}",,,,"82012345",,,[8]],[,,"810(?:0[0-6]|[2-8]\\d)\\d{3}",,,,"81021234",,,[8]],[,,"880\\d{5}",,,,"88012345",,,[8]],[,,"85[0-5]\\d{5}",,,,"85012345",,,[8]],"SJ",47,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"79",[,,,,,,,,,[-1]],[,,"(?:0[2-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}",,,,"02000"],,,[,,"81[23]\\d{5}",,,,"81212345",,,[8]]],SK:[,[,,"[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",,,,,,,[6,7,9]],[,,"(?:2(?:16|[2-9]\\d{3})|(?:(?:[3-5][1-8]\\d|819)\\d|601[1-5])\\d)\\d{4}|(?:2|[3-5][1-8])1[67]\\d{3}|[3-5][1-8]16\\d\\d",,,,"221234567"],[,,"909[1-9]\\d{5}|9(?:0[1-8]|1[0-24-9]|4[03-57-9]|5\\d)\\d{6}",,,,"912123456",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"9(?:00|[78]\\d)\\d{6}",,,,"900123456",,,[9]],[,,"8[5-9]\\d{7}",,,,"850123456",,,[9]],[,,,,,,,,,[-1]],[,,"6(?:02|5[0-4]|9[0-6])\\d{6}",,,,"690123456",,,[9]],"SK",421,"00","0",,,"0",,,,[[,"(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],[,"(\\d{4})(\\d{3})","$1 $2",["909","9090"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],[[,"(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],[,,"9090\\d{3}",,,,"9090123",,,[7]],,,[,,"9090\\d{3}|(?:602|8(?:00|[5-9]\\d)|9(?:00|[78]\\d))\\d{6}",,,,,,,[7,9]],[,,"96\\d{7}",,,,"961234567",,,[9]],,,[,,,,,,,,,[-1]]],SL:[,[,,"(?:[237-9]\\d|66)\\d{6}",,,,,,,[8],[6]],[,,"22[2-4][2-9]\\d{4}",,,,"22221234",,,,[6]],[,,"(?:25|3[0-5]|66|7[3-9]|8[08]|9[09])\\d{6}",,,,"25123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SL",232,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SM:[,[,,"(?:0549|[5-7]\\d)\\d{6}",,,,,,,[8,10],[6]],[,,"0549(?:8[0157-9]|9\\d)\\d{4}",,,,"0549886377",,,[10],[6]],[,,"6[16]\\d{6}",,,,"66661212",,,[8]],[,,,,,,,,,[-1]],[,,"7[178]\\d{6}",,,,"71123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"5[158]\\d{6}",,,,"58001110",,,[8]],"SM",378,"00",,,,"([89]\\d{5})$","0549$1",,,[[,"(\\d{6})","$1",["[89]"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],[,"(\\d{4})(\\d{6})","$1 $2",["0"]]],[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],[,"(\\d{4})(\\d{6})","$1 $2",["0"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SN:[,[,,"(?:[378]\\d|93)\\d{7}",,,,,,,[9]],[,,"3(?:0(?:1[0-2]|80)|282|3(?:8[1-9]|9[3-9])|611)\\d{5}",,,,"301012345"],[,,"75(?:01|[38]3)\\d{5}|7(?:[06-8]\\d|21|5[4-7]|90)\\d{6}",,,,"701234567"],[,,"800\\d{6}",,,,"800123456"],[,,"88[4689]\\d{6}",,,,"884123456"],[,,"81[02468]\\d{6}",,,,"810123456"],[,,,,,,,,,[-1]],[,,"(?:3(?:392|9[01]\\d)\\d|93(?:3[13]0|929))\\d{4}",,,,"933301234"],"SN",221,"00",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SO:[,[,,"[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",,,,,,,[6,7,8,9]],[,,"(?:1\\d|2[0-79]|3[0-46-8]|4[0-7]|5[57-9])\\d{5}|(?:[134]\\d|8[125])\\d{4}",,,,"4012345",,,[6,7]],[,,"(?:(?:15|(?:3[59]|4[89]|79|8[08])\\d|6(?:0[5-7]|[1-9]\\d)|9(?:0\\d|[2-9]))\\d|2(?:4\\d|8))\\d{5}|(?:6\\d|7[1-9])\\d{6}",,,,"71123456",,,[7,8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SO",252,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{4})","$1 $2",["8[125]"]],[,"(\\d{6})","$1",["[134]"]],[,"(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],[,"(\\d)(\\d{7})","$1 $2",["24|[67]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[3478]|64|90"]],[,"(\\d{2})(\\d{5,7})","$1 $2",["1|28|6(?:0[5-7]|[1-35-9])|9[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SR:[,[,,"(?:[2-5]|68|[78]\\d)\\d{5}",,,,,,,[6,7]],[,,"(?:2[1-3]|3[0-7]|(?:4|68)\\d|5[2-58])\\d{4}",,,,"211234"],[,,"(?:7[124-7]|8[124-9])\\d{5}",,,,"7412345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"56\\d{4}",,,,"561234",,,[6]],"SR",597,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],[,"(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],[,"(\\d{3})(\\d{4})","$1-$2",["[6-8]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SS:[,[,,"[19]\\d{8}",,,,,,,[9]],[,,"1[89]\\d{7}",,,,"181234567"],[,,"(?:12|9[1257-9])\\d{7}",,,,"977123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SS",211,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ST:[,[,,"(?:22|9\\d)\\d{5}",,,,,,,[7]],[,,"22\\d{5}",,,,"2221234"],[,,"900[5-9]\\d{3}|9(?:0[1-9]|[89]\\d)\\d{4}",,,,"9812345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ST",239,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[29]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SV:[,[,,"[267]\\d{7}|[89]00\\d{4}(?:\\d{4})?",,,,,,,[7,8,11]],[,,"2(?:[1-6]\\d{3}|[79]90[034]|890[0245])\\d{3}",,,,"21234567",,,[8]],[,,"66(?:[02-9]\\d\\d|1(?:[02-9]\\d|16))\\d{3}|(?:6[0-57-9]|7\\d)\\d{6}",,,,"70123456",,,[8]],[,,"800\\d{4}(?:\\d{4})?",,,,"8001234",,,[7,11]],[,,"900\\d{4}(?:\\d{4})?",,,,"9001234",,,[7,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SV",503,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[89]"]],[,"(\\d{4})(\\d{4})","$1 $2",["[267]"]],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SX:[,[,,"7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"7215(?:4[2-8]|8[239]|9[056])\\d{4}",,,,"7215425678",,,,[7]],[,,"7215(?:1[02]|2\\d|5[034679]|8[014-8])\\d{4}",,,,"7215205678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"SX",1,"011","1",,,"1|(5\\d{6})$","721$1",,,,,[,,,,,,,,,[-1]],,"721",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SY:[,[,,"[1-39]\\d{8}|[1-5]\\d{7}",,,,,,,[8,9],[6,7]],[,,"21\\d{6,7}|(?:1(?:[14]\\d|[2356])|2[235]|3(?:[13]\\d|4)|4[134]|5[1-3])\\d{6}",,,,"112345678",,,,[6,7]],[,,"9(?:22|[3-689]\\d)\\d{6}",,,,"944567890",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SY",963,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-5]"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1",,1]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SZ:[,[,,"0800\\d{4}|(?:[237]\\d|900)\\d{6}",,,,,,,[8,9]],[,,"[23][2-5]\\d{6}",,,,"22171234",,,[8]],[,,"7[6-9]\\d{6}",,,,"76123456",,,[8]],[,,"0800\\d{4}",,,,"08001234",,,[8]],[,,"900\\d{6}",,,,"900012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"70\\d{6}",,,,"70012345",,,[8]],"SZ",268,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[0237]"]],[,"(\\d{5})(\\d{4})","$1 $2",["9"]]],,[,,,,,,,,,[-1]],,,[,,"0800\\d{4}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TA:[,[,,"8\\d{3}",,,,,,,[4]],[,,"8\\d{3}",,,,"8999"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TA",290,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"8",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TC:[,[,,"(?:[58]\\d\\d|649|900)\\d{7}",,,,,,,[10],[7]],[,,"649(?:266|712|9(?:4\\d|50))\\d{4}",,,,"6497121234",,,,[7]],[,,"649(?:2(?:3[129]|4[1-79])|3\\d\\d|4[34][1-3])\\d{4}",,,,"6492311234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"649(?:71[01]|966)\\d{4}",,,,"6497101234",,,,[7]],"TC",1,"011","1",,,"1|([2-479]\\d{6})$","649$1",,,,,[,,,,,,,,,[-1]],,"649",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TD:[,[,,"(?:22|[69]\\d|77)\\d{6}",,,,,,,[8]],[,,"22(?:[37-9]0|5[0-5]|6[89])\\d{4}",,,,"22501234"],[,,"(?:6[023568]|77|9\\d)\\d{6}",,,,"63012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TD",235,"00|16",,,,,,"00",,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2679]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TG:[,[,,"[279]\\d{7}",,,,,,,[8]],[,,"2(?:2[2-7]|3[23]|4[45]|55|6[67]|77)\\d{5}",,,,"22212345"],[,,"(?:7[09]|9[0-36-9])\\d{6}",,,,"90112345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TG",228,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TH:[,[,,"(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",,,,,,,[8,9,10,13]],[,,"(?:1[0689]|2\\d|3[2-9]|4[2-5]|5[2-6]|7[3-7])\\d{6}",,,,"21234567",,,[8]],[,,"671[0-3]\\d{5}|(?:14|6[1-6]|[89]\\d)\\d{7}",,,,"812345678",,,[9]],[,,"(?:001800\\d|1800)\\d{6}",,,,"1800123456",,,[10,13]],[,,"1900\\d{6}",,,,"1900123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"6[08]\\d{7}",,,,"601234567",,,[9]],"TH",66,"00[1-9]","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TJ:[,[,,"(?:00|11|[2-57-9]\\d)\\d{7}",,,,,,,[9],[3,5,6,7]],[,,"(?:3(?:1[3-5]|2[245]|3[12]|4[24-7]|5[25]|72)|4(?:46|74|87))\\d{6}",,,,"372123456",,,,[3,5,6,7]],[,,"41[18]\\d{6}|(?:[034]0|11|2[02]|5[05]|7[07]|8[08]|9\\d)\\d{7}",,,,"917123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TJ",992,"810","8",,,"8",,"8~10",,[[,"(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"],,,1],[,"(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[34]7|91[78]"],,,1],[,"(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3[1-5]"],,,1],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02-57-9]|11"],,,1]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TK:[,[,,"[2-47]\\d{3,6}",,,,,,,[4,5,6,7]],[,,"(?:2[2-4]|[34]\\d)\\d{2,5}",,,,"3101"],[,,"7[2-4]\\d{2,5}",,,,"7290"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TK",690,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TL:[,[,,"7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",,,,,,,[7,8]],[,,"(?:2[1-5]|3[1-9]|4[1-4])\\d{5}",,,,"2112345",,,[7]],[,,"7[2-8]\\d{6}",,,,"77212345",,,[8]],[,,"80\\d{5}",,,,"8012345",,,[7]],[,,"90\\d{5}",,,,"9012345",,,[7]],[,,,,,,,,,[-1]],[,,"70\\d{5}",,,,"7012345",,,[7]],[,,,,,,,,,[-1]],"TL",670,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],[,"(\\d{4})(\\d{4})","$1 $2",["7"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TM:[,[,,"[1-6]\\d{7}",,,,,,,[8]],[,,"(?:1(?:2\\d|3[1-9])|2(?:22|4[0-35-8])|3(?:22|4[03-9])|4(?:22|3[128]|4\\d|6[15])|5(?:22|5[7-9]|6[014-689]))\\d{5}",,,,"12345678"],[,,"6\\d{7}",,,,"66123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TM",993,"810","8",,,"8",,"8~10",,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],[,"(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],[,"(\\d{2})(\\d{6})","$1 $2",["6"],"8 $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TN:[,[,,"[2-57-9]\\d{7}",,,,,,,[8]],[,,"81200\\d{3}|(?:3[0-2]|7\\d)\\d{6}",,,,"30010123"],[,,"3(?:001|[12]40)\\d{4}|(?:(?:[259]\\d|4[0-7])\\d|3(?:1[1-35]|6[0-4]|91))\\d{5}",,,,"20123456"],[,,"8010\\d{4}",,,,"80101234"],[,,"88\\d{6}",,,,"88123456"],[,,"8[12]10\\d{4}",,,,"81101234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TN",216,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TO:[,[,,"(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",,,,,,,[5,7]],[,,"(?:2\\d|3[0-8]|4[0-4]|50|6[09]|7[0-24-69]|8[05])\\d{3}",,,,"20123",,,[5]],[,,"(?:55[4-6]|6(?:[09]\\d|3[02]|8[15-9])|(?:7\\d|8[46-9])\\d|999)\\d{4}",,,,"7715123",,,[7]],[,,"0800\\d{3}",,,,"0800222",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"55[0-37-9]\\d{4}",,,,"5510123",,,[7]],"TO",676,"00",,,,,,,,[[,"(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],[,"(\\d{4})(\\d{3})","$1 $2",["0"]],[,"(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TR:[,[,,"4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",,,,,,,[7,10,12,13]],[,,"(?:2(?:[13][26]|[28][2468]|[45][268]|[67][246])|3(?:[13][28]|[24-6][2468]|[78][02468]|92)|4(?:[16][246]|[23578][2468]|4[26]))\\d{7}",,,,"2123456789",,,[10]],[,,"56161\\d{5}|5(?:0[15-7]|1[06]|24|[34]\\d|5[1-59]|9[46])\\d{7}",,,,"5012345678",,,[10]],[,,"8(?:00\\d{7}(?:\\d{2,3})?|11\\d{7})",,,,"8001234567",,,[10,12,13]],[,,"(?:8[89]8|900)\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,"592(?:21[12]|461)\\d{4}",,,,"5922121234",,,[10]],[,,"850\\d{7}",,,,"8500123456",,,[10]],"TR",90,"00","0",,,"0",,,,[[,"(\\d{3})(\\d)(\\d{3})","$1 $2 $3",["444"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|616)","5(?:[0-59]|6161)"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",,1],[,"(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",,1]],[[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|616)","5(?:[0-59]|6161)"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",,1],[,"(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",,1]],[,,"512\\d{7}",,,,"5123456789",,,[10]],,,[,,"(?:444|811\\d{3})\\d{4}",,,,,,,[7,10]],[,,"444\\d{4}",,,,"4441444",,,[7]],,,[,,,,,,,,,[-1]]],TT:[,[,,"(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"868(?:2(?:0[13]|1[89]|[23]\\d|4[0-2])|6(?:0[7-9]|1[02-8]|2[1-9]|[3-69]\\d|7[0-79])|82[124])\\d{4}",,,,"8682211234",,,,[7]],[,,"868(?:(?:2[5-9]|3\\d)\\d|4(?:3[0-6]|[6-9]\\d)|6(?:20|78|8\\d)|7(?:0[1-9]|1[02-9]|[2-9]\\d))\\d{4}",,,,"8682911234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"TT",1,"011","1",,,"1|([2-46-8]\\d{6})$","868$1",,,,,[,,,,,,,,,[-1]],,"868",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"868619\\d{4}",,,,"8686191234",,,,[7]]],TV:[,[,,"(?:2|7\\d\\d|90)\\d{4}",,,,,,,[5,6,7]],[,,"2[02-9]\\d{3}",,,,"20123",,,[5]],[,,"(?:7[01]\\d|90)\\d{4}",,,,"901234",,,[6,7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TV",688,"00",,,,,,,,[[,"(\\d{2})(\\d{3})","$1 $2",["2"]],[,"(\\d{2})(\\d{4})","$1 $2",["90"]],[,"(\\d{2})(\\d{5})","$1 $2",["7"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TW:[,[,,"[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",,,,,,,[7,8,9,10,11]],[,,"(?:2[2-8]\\d|370|55[01]|7[1-9])\\d{6}|4(?:(?:0(?:0[1-9]|[2-48]\\d)|1[023]\\d)\\d{4,5}|(?:[239]\\d\\d|4(?:0[56]|12|49))\\d{5})|6(?:[01]\\d{7}|4(?:0[56]|12|24|4[09])\\d{4,5})|8(?:(?:2(?:3\\d|4[0-269]|[578]0|66)|36[24-9]|90\\d\\d)\\d{4}|4(?:0[56]|12|24|4[09])\\d{4,5})|(?:2(?:2(?:0\\d\\d|4(?:0[68]|[249]0|3[0-467]|5[0-25-9]|6[0235689]))|(?:3(?:[09]\\d|1[0-4])|(?:4\\d|5[0-49]|6[0-29]|7[0-5])\\d)\\d)|(?:(?:3[2-9]|5[2-8]|6[0-35-79]|8[7-9])\\d\\d|4(?:2(?:[089]\\d|7[1-9])|(?:3[0-4]|[78]\\d|9[01])\\d))\\d)\\d{3}",,,,"221234567",,,[8,9]],[,,"(?:40001[0-2]|9[0-8]\\d{4})\\d{3}",,,,"912345678",,,[9]],[,,"80[0-79]\\d{6}|800\\d{5}",,,,"800123456",,,[8,9]],[,,"20(?:[013-9]\\d\\d|2)\\d{4}",,,,"203123456",,,[7,9]],[,,,,,,,,,[-1]],[,,"99\\d{7}",,,,"990123456",,,[9]],[,,"7010(?:[0-2679]\\d|3[0-7]|8[0-5])\\d{5}|70\\d{8}",,,,"7012345678",,,[10,11]],"TW",886,"0(?:0[25-79]|19)","0","#",,"0",,,,[[,"(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],[,"(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"50[0-46-9]\\d{6}",,,,"500123456",,,[9]],,,[,,,,,,,,,[-1]]],TZ:[,[,,"(?:[26-8]\\d|41|90)\\d{7}",,,,,,,[9]],[,,"2[2-8]\\d{7}",,,,"222345678"],[,,"77[2-9]\\d{6}|(?:6[1-9]|7[1-689])\\d{7}",,,,"621234567"],[,,"80[08]\\d{6}",,,,"800123456"],[,,"90\\d{7}",,,,"900123456"],[,,"8(?:40|6[01])\\d{6}",,,,"840123456"],[,,,,,,,,,[-1]],[,,"41\\d{7}",,,,"412345678"],"TZ",255,"00[056]","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"(?:8(?:[04]0|6[01])|90\\d)\\d{6}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UA:[,[,,"[89]\\d{9}|[3-9]\\d{8}",,,,,,,[9,10],[5,6,7]],[,,"(?:3[1-8]|4[13-8]|5[1-7]|6[12459])\\d{7}",,,,"311234567",,,[9],[5,6,7]],[,,"(?:50|6[36-8]|7[1-3]|9[1-9])\\d{7}",,,,"501234567",,,[9]],[,,"800[1-8]\\d{5,6}",,,,"800123456"],[,,"900[239]\\d{5,6}",,,,"900212345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"89[1-579]\\d{6}",,,,"891234567",,,[9]],"UA",380,"00","0",,,"0",,"0~0",,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["4[45][0-5]|5(?:0|6[37])|6(?:[12][018]|[36-8])|7|89|9[1-9]|(?:48|57)[0137-9]","4[45][0-5]|5(?:0|6(?:3[14-7]|7))|6(?:[12][018]|[36-8])|7|89|9[1-9]|(?:48|57)[0137-9]"],"0$1"],[,"(\\d{4})(\\d{5})","$1 $2",["[3-6]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UG:[,[,,"800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",,,,,,,[9],[5,6,7]],[,,"20(?:(?:(?:24|81)0|30[67])\\d|6(?:00[0-2]|30[0-4]))\\d{3}|(?:20(?:[0147]\\d|2[5-9]|32|5[0-4]|6[15-9])|[34]\\d{3})\\d{5}",,,,"312345678",,,,[5,6,7]],[,,"726[01]\\d{5}|7(?:[0157-9]\\d|20|36|[46][0-4])\\d{6}",,,,"712345678"],[,,"800[1-3]\\d{5}",,,,"800123456"],[,,"90[1-3]\\d{6}",,,,"901123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"UG",256,"00[057]","0",,,"0",,,,[[,"(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],[,"(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],US:[,[,,"[2-9]\\d{9}",,,,,,,[10],[7]],[,,"5(?:05(?:[2-57-9]\\d\\d|6(?:[0-35-9]\\d|44))|82(?:2(?:0[0-2]|[28]2)|3(?:0[02]|33)|4(?:00|4[24]|65|82)|5(?:00|29|83)|6(?:00|66|82)|777|8(?:00|88)|9(?:00|9[89])))\\d{4}|(?:2(?:0[1-35-9]|1[02-9]|2[03-589]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[01356]|3[0-24679]|4[167]|5[12]|6[014]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[39]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[19]|6[1-47]|7[0-5]|8[056])|6(?:0[1-35-9]|1[024-9]|2[03689]|[34][016]|5[0179]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-7]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[08]|3[0-289]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01579]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}",,,,"2015550123",,,,[7]],[,,"5(?:05(?:[2-57-9]\\d\\d|6(?:[0-35-9]\\d|44))|82(?:2(?:0[0-2]|[28]2)|3(?:0[02]|33)|4(?:00|4[24]|65|82)|5(?:00|29|83)|6(?:00|66|82)|777|8(?:00|88)|9(?:00|9[89])))\\d{4}|(?:2(?:0[1-35-9]|1[02-9]|2[03-589]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[01356]|3[0-24679]|4[167]|5[12]|6[014]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[39]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[19]|6[1-47]|7[0-5]|8[056])|6(?:0[1-35-9]|1[024-9]|2[03689]|[34][016]|5[0179]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-7]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[08]|3[0-289]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01579]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}",,,,"2015550123",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"US",1,"011","1",,,"1",,,1,[[,"(\\d{3})(\\d{4})","$1-$2",["[2-9]"]],[,"(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],,,1]],[[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[2-9]"]]],[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UY:[,[,,"4\\d{9}|[249]\\d{7}|(?:[49]\\d|80)\\d{5}",,,,,,,[7,8,10]],[,,"(?:2\\d|4[2-7])\\d{6}",,,,"21231234",,,[8],[7]],[,,"9[1-9]\\d{6}",,,,"94231234",,,[8]],[,,"(?:4\\d{5}|80[05])\\d{4}|405\\d{4}",,,,"8001234",,,[7,10]],[,,"90[0-8]\\d{4}",,,,"9001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"UY",598,"0(?:0|1[3-9]\\d)","0"," int. ",,"0",,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["405|8|90"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],[,"(\\d{4})(\\d{4})","$1 $2",["[24]"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["4"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UZ:[,[,,"(?:33|55|[679]\\d|88)\\d{7}",,,,,,,[9]],[,,"(?:6(?:1(?:22|3[124]|4[1-4]|5[1-3578]|64)|2(?:22|3[0-57-9]|41)|5(?:22|3[3-7]|5[024-8])|6\\d\\d|7(?:[23]\\d|7[69])|9(?:22|4[1-8]|6[135]))|7(?:0(?:5[4-9]|6[0146]|7[124-6]|9[135-8])|(?:1[12]|8\\d)\\d|2(?:22|3[13-57-9]|4[1-3579]|5[14])|3(?:2\\d|3[1578]|4[1-35-7]|5[1-57]|61)|4(?:2\\d|3[1-579]|7[1-79])|5(?:22|5[1-9]|6[1457])|6(?:22|3[12457]|4[13-8])|9(?:22|5[1-9])))\\d{5}",,,,"669050123"],[,,"(?:(?:33|88|9[0-57-9])\\d{3}|55(?:50[013]|90\\d)|6(?:1(?:2(?:2[01]|98)|35[0-4]|50\\d|61[23]|7(?:[01][017]|4\\d|55|9[5-9]))|2(?:(?:11|7\\d)\\d|2(?:[12]1|9[01379])|5(?:[126]\\d|3[0-4]))|5(?:19[01]|2(?:27|9[26])|(?:30|59|7\\d)\\d)|6(?:2(?:1[5-9]|2[0367]|38|41|52|60)|(?:3[79]|9[0-3])\\d|4(?:56|83)|7(?:[07]\\d|1[017]|3[07]|4[047]|5[057]|67|8[0178]|9[79]))|7(?:2(?:24|3[237]|4[5-9]|7[15-8])|5(?:7[12]|8[0589])|7(?:0\\d|[39][07])|9(?:0\\d|7[079]))|9(?:2(?:1[1267]|3[01]|5\\d|7[0-4])|(?:5[67]|7\\d)\\d|6(?:2[0-26]|8\\d)))|7(?:[07]\\d{3}|1(?:13[01]|6(?:0[47]|1[67]|66)|71[3-69]|98\\d)|2(?:2(?:2[79]|95)|3(?:2[5-9]|6[0-6])|57\\d|7(?:0\\d|1[17]|2[27]|3[37]|44|5[057]|66|88))|3(?:2(?:1[0-6]|21|3[469]|7[159])|(?:33|9[4-6])\\d|5(?:0[0-4]|5[579]|9\\d)|7(?:[0-3579]\\d|4[0467]|6[67]|8[078]))|4(?:2(?:29|5[0257]|6[0-7]|7[1-57])|5(?:1[0-4]|8\\d|9[5-9])|7(?:0\\d|1[024589]|2[0-27]|3[0137]|[46][07]|5[01]|7[5-9]|9[079])|9(?:7[015-9]|[89]\\d))|5(?:112|2(?:0\\d|2[29]|[49]4)|3[1568]\\d|52[6-9]|7(?:0[01578]|1[017]|[23]7|4[047]|[5-7]\\d|8[78]|9[079]))|6(?:2(?:2[1245]|4[2-4])|39\\d|41[179]|5(?:[349]\\d|5[0-2])|7(?:0[017]|[13]\\d|22|44|55|67|88))|9(?:22[128]|3(?:2[0-4]|7\\d)|57[02569]|7(?:2[05-9]|3[37]|4\\d|60|7[2579]|87|9[07]))))\\d{4}",,,,"912345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"UZ",998,"810","8",,,"8",,"8~10",,[[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[35-9]"],"8 $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VA:[,[,,"0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",,,,,,,[6,7,8,9,10,11,12]],[,,"06698\\d{1,6}",,,,"0669812345",,,[6,7,8,9,10,11]],[,,"3[1-9]\\d{8}|3[2-9]\\d{7}",,,,"3123456789",,,[9,10]],[,,"80(?:0\\d{3}|3)\\d{3}",,,,"800123456",,,[6,9]],[,,"(?:0878\\d\\d|89(?:2|4[5-9]\\d))\\d{3}|89[45][0-4]\\d\\d|(?:1(?:44|6[346])|89(?:5[5-9]|9))\\d{6}",,,,"899123456",,,[6,8,9,10]],[,,"84(?:[08]\\d{3}|[17])\\d{3}",,,,"848123456",,,[6,9]],[,,"1(?:78\\d|99)\\d{6}",,,,"1781234567",,,[9,10]],[,,"55\\d{8}",,,,"5512345678",,,[10]],"VA",39,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"06698",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"3[2-8]\\d{9,10}",,,,"33101234501",,,[11,12]]],VC:[,[,,"(?:[58]\\d\\d|784|900)\\d{7}",,,,,,,[10],[7]],[,,"784(?:266|3(?:6[6-9]|7\\d|8[0-6])|4(?:38|5[0-36-8]|8[0-8])|5(?:55|7[0-2]|93)|638|784)\\d{4}",,,,"7842661234",,,,[7]],[,,"784(?:4(?:3[0-5]|5[45]|89|9[0-8])|5(?:2[6-9]|3[0-4])|720)\\d{4}",,,,"7844301234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"VC",1,"011","1",,,"1|([2-7]\\d{6})$","784$1",,,,,[,,,,,,,,,[-1]],,"784",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VE:[,[,,"[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",,,,,,,[10],[7]],[,,"(?:2(?:12|3[457-9]|[467]\\d|[58][1-9]|9[1-6])|[4-6]00)\\d{7}",,,,"2121234567",,,,[7]],[,,"4(?:1[24-8]|2[46])\\d{7}",,,,"4121234567"],[,,"800\\d{7}",,,,"8001234567"],[,,"90[01]\\d{7}",,,,"9001234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"VE",58,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1","$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"501\\d{7}",,,,"5010123456",,,,[7]],,,[,,,,,,,,,[-1]]],VG:[,[,,"(?:284|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"284496[0-5]\\d{3}|284(?:229|4(?:22|9[45])|774|8(?:52|6[459]))\\d{4}",,,,"2842291234",,,,[7]],[,,"284496[6-9]\\d{3}|284(?:245|3(?:0[0-3]|4[0-7]|68|9[34])|4(?:4[0-6]|68|99)|5(?:4[0-7]|68|9[69]))\\d{4}",,,,"2843001234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"VG",1,"011","1",,,"1|([2-578]\\d{6})$","284$1",,,,,[,,,,,,,,,[-1]],,"284",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VI:[,[,,"[58]\\d{9}|(?:34|90)0\\d{7}",,,,,,,[10],[7]],[,,"340(?:2(?:0[0-38]|2[06-8]|4[49]|77)|3(?:32|44)|4(?:2[23]|44|7[34]|89)|5(?:1[34]|55)|6(?:2[56]|4[23]|77|9[023])|7(?:1[2-57-9]|2[57]|7\\d)|884|998)\\d{4}",,,,"3406421234",,,,[7]],[,,"340(?:2(?:0[0-38]|2[06-8]|4[49]|77)|3(?:32|44)|4(?:2[23]|44|7[34]|89)|5(?:1[34]|55)|6(?:2[56]|4[23]|77|9[023])|7(?:1[2-57-9]|2[57]|7\\d)|884|998)\\d{4}",,,,"3406421234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"VI",1,"011","1",,,"1|([2-9]\\d{6})$","340$1",,1,,,[,,,,,,,,,[-1]],,"340",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VN:[,[,,"[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",,,,,,,[7,8,9,10]],[,,"2(?:0[3-9]|1[0-689]|2[0-25-9]|3[2-9]|4[2-8]|5[124-9]|6[0-39]|7[0-7]|8[2-79]|9[0-4679])\\d{7}",,,,"2101234567",,,[10]],[,,"(?:5(?:2[238]|59)|89[689]|99[013-9])\\d{6}|(?:3\\d|5[689]|7[06-9]|8[1-8]|9[0-8])\\d{7}",,,,"912345678",,,[9]],[,,"1800\\d{4,6}|12(?:0[13]|28)\\d{4}",,,,"1800123456",,,[8,9,10]],[,,"1900\\d{4,6}",,,,"1900123456",,,[8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"672\\d{6}",,,,"672012345",,,[9]],"VN",84,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[17]99"],"0$1",,1],[,"(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",,1],[,"(\\d{3})(\\d{4,5})","$1 $2",["69"],"0$1",,1],[,"(\\d{4})(\\d{4,6})","$1 $2",["1"],,,1],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[69]"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[3578]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",,1],[,"(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",,1]],[[,"(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",,1],[,"(\\d{4})(\\d{4,6})","$1 $2",["1"],,,1],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[69]"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[3578]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",,1],[,"(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",,1]],[,,,,,,,,,[-1]],,,[,,"[17]99\\d{4}|69\\d{5,6}",,,,,,,[7,8]],[,,"(?:[17]99|80\\d)\\d{4}|69\\d{5,6}",,,,"1992000",,,[7,8]],,,[,,,,,,,,,[-1]]],VU:[,[,,"[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",,,,,,,[5,7]],[,,"(?:38[0-8]|48[4-9])\\d\\d|(?:2[02-9]|3[4-7]|88)\\d{3}",,,,"22123",,,[5]],[,,"(?:[58]\\d|7[013-7])\\d{5}",,,,"5912345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:0[1-9]|1[01])\\d{4}",,,,"9010123",,,[7]],"VU",678,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:3[03]|900\\d)\\d{3}",,,,"30123"],,,[,,,,,,,,,[-1]]],WF:[,[,,"(?:40|72)\\d{4}|8\\d{5}(?:\\d{3})?",,,,,,,[6,9]],[,,"72\\d{4}",,,,"721234",,,[6]],[,,"(?:72|8[23])\\d{4}",,,,"821234",,,[6]],[,,"80[0-5]\\d{6}",,,,"800012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"WF",681,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[478]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"[48]0\\d{4}",,,,"401234",,,[6]]],WS:[,[,,"(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",,,,,,,[5,6,7,10]],[,,"6[1-9]\\d{3}|(?:[2-5]|60)\\d{4}",,,,"22123",,,[5,6]],[,,"(?:7[1-35-7]|8(?:[3-7]|9\\d{3}))\\d{5}",,,,"7212345",,,[7,10]],[,,"800\\d{3}",,,,"800123",,,[6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"WS",685,"0",,,,,,,,[[,"(\\d{5})","$1",["[2-5]|6[1-9]"]],[,"(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],[,"(\\d{2})(\\d{5})","$1 $2",["7"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],XK:[,[,,"[23]\\d{7,8}|(?:4\\d\\d|[89]00)\\d{5}",,,,,,,[8,9]],[,,"(?:2[89]|39)0\\d{6}|[23][89]\\d{6}",,,,"28012345"],[,,"4[3-9]\\d{6}",,,,"43201234",,,[8]],[,,"800\\d{5}",,,,"80001234",,,[8]],[,,"900\\d{5}",,,,"90001234",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"XK",383,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[23]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],YE:[,[,,"(?:1|7\\d)\\d{7}|[1-7]\\d{6}",,,,,,,[7,8,9],[6]],[,,"78[0-7]\\d{4}|17\\d{6}|(?:[12][2-68]|3[2358]|4[2-58]|5[2-6]|6[3-58]|7[24-6])\\d{5}",,,,"1234567",,,[7,8],[6]],[,,"7[0137]\\d{7}",,,,"712345678",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"YE",967,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7[24-68]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],YT:[,[,,"80\\d{7}|(?:26|63)9\\d{6}",,,,,,,[9]],[,,"269(?:0[67]|5[0-3]|6\\d|[78]0)\\d{4}",,,,"269601234"],[,,"639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])\\d{4}",,,,"639012345"],[,,"80\\d{7}",,,,"801234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"YT",262,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,"269|63",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ZA:[,[,,"[1-79]\\d{8}|8\\d{4,9}",,,,,,,[5,6,7,8,9,10]],[,,"(?:2(?:0330|4302)|52087)0\\d{3}|(?:1[0-8]|2[1-378]|3[1-69]|4\\d|5[1346-8])\\d{7}",,,,"101234567",,,[9]],[,,"(?:1(?:3492[0-25]|4495[0235]|549(?:20|5[01]))|4[34]492[01])\\d{3}|8[1-4]\\d{3,7}|(?:2[27]|47|54)4950\\d{3}|(?:1(?:049[2-4]|9[12]\\d\\d)|(?:6\\d|7[0-46-9])\\d{3}|8(?:5\\d{3}|7(?:08[67]|158|28[5-9]|310)))\\d{4}|(?:1[6-8]|28|3[2-69]|4[025689]|5[36-8])4920\\d{3}|(?:12|[2-5]1)492\\d{4}",,,,"711234567",,,[5,6,7,8,9]],[,,"80\\d{7}",,,,"801234567",,,[9]],[,,"(?:86[2-9]|9[0-2]\\d)\\d{6}",,,,"862345678",,,[9]],[,,"860\\d{6}",,,,"860123456",,,[9]],[,,,,,,,,,[-1]],[,,"87(?:08[0-589]|15[0-79]|28[0-4]|31[1-9])\\d{4}|87(?:[02][0-79]|1[0-46-9]|3[02-9]|[4-9]\\d)\\d{5}",,,,"871234567",,,[9]],"ZA",27,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"861\\d{6,7}",,,,"861123456",,,[9,10]],,,[,,,,,,,,,[-1]]],ZM:[,[,,"(?:63|80)0\\d{6}|(?:21|[79]\\d)\\d{7}",,,,,,,[9],[6]],[,,"21[1-8]\\d{6}",,,,"211234567",,,,[6]],[,,"(?:7[679]|9[5-8])\\d{7}",,,,"955123456"],[,,"800\\d{6}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"630\\d{6}",,,,"630012345"],"ZM",260,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})","$1 $2",["[1-9]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["[79]"],"0$1"]],[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["[79]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ZW:[,[,,"2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",,,,,,,[5,6,7,8,9,10],[3,4]],[,,"(?:1(?:(?:3\\d|9)\\d|[4-8])|2(?:(?:(?:0(?:2[014]|5)|(?:2[0157]|31|84|9)\\d\\d|[56](?:[14]\\d\\d|20)|7(?:[089]|2[03]|[35]\\d\\d))\\d|4(?:2\\d\\d|8))\\d|1(?:2|[39]\\d{4}))|3(?:(?:123|(?:29\\d|92)\\d)\\d\\d|7(?:[19]|[56]\\d))|5(?:0|1[2-478]|26|[37]2|4(?:2\\d{3}|83)|5(?:25\\d\\d|[78])|[689]\\d)|6(?:(?:[16-8]21|28|52[013])\\d\\d|[39])|8(?:[1349]28|523)\\d\\d)\\d{3}|(?:4\\d\\d|9[2-9])\\d{4,5}|(?:(?:2(?:(?:(?:0|8[146])\\d|7[1-7])\\d|2(?:[278]\\d|92)|58(?:2\\d|3))|3(?:[26]|9\\d{3})|5(?:4\\d|5)\\d\\d)\\d|6(?:(?:(?:[0-246]|[78]\\d)\\d|37)\\d|5[2-8]))\\d\\d|(?:2(?:[569]\\d|8[2-57-9])|3(?:[013-59]\\d|8[37])|6[89]8)\\d{3}",,,,"1312345",,,,[3,4]],[,,"7(?:[178]\\d|3[1-9])\\d{6}",,,,"712345678",,,[9]],[,,"80(?:[01]\\d|20|8[0-8])\\d{3}",,,,"8001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"86(?:1[12]|22|30|44|55|77|8[368])\\d{6}",,,,"8686123456",,,[10]],"ZW",263,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],[,"(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],[,"(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],[,"(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],[,"(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],800:[,[,,"(?:005|[1-9]\\d\\d)\\d{5}",,,,,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:005|[1-9]\\d\\d)\\d{5}",,,,"12345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",800,,,,,,,,1,[[,"(\\d{4})(\\d{4})","$1 $2",["\\d"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],808:[,[,,"[1-9]\\d{7}",,,,,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"[1-9]\\d{7}",,,,"12345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",808,,,,,,,,1,[[,"(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],870:[,[,,"7\\d{11}|[35-7]\\d{8}",,,,,,,[9,12]],[,,,,,,,,,[-1]],[,,"(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}",,,,"301234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",870,,,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[35-7]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],878:[,[,,"10\\d{10}",,,,,,,[12]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"10\\d{10}",,,,"101234567890"],"001",878,,,,,,,,1,[[,"(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],881:[,[,,"[0-36-9]\\d{8}",,,,,,,[9]],[,,,,,,,,,[-1]],[,,"[0-36-9]\\d{8}",,,,"612345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",881,,,,,,,,,[[,"(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-36-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],882:[,[,,"[13]\\d{6}(?:\\d{2,5})?|285\\d{9}|(?:[19]\\d|49)\\d{6}",,,,,,,[7,8,9,10,11,12]],[,,,,,,,,,[-1]],[,,"342\\d{4}|(?:337|49)\\d{6}|3(?:2|47|7\\d{3})\\d{7}",,,,"3421234",,,[7,8,9,10,12]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:(?:285\\d\\d|3(?:45|[69]\\d{3}))\\d|9[89])\\d{6}",,,,"390123456789"],"001",882,,,,,,,,,[[,"(\\d{2})(\\d{5})","$1 $2",["16|342"]],[,"(\\d{2})(\\d{6})","$1 $2",["4"]],[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[19]"]],[,"(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["34[57]"]],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],[,"(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-3]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"348[57]\\d{7}",,,,"34851234567",,,[11]]],883:[,[,,"210\\d{7}|51\\d{7}(?:\\d{3})?",,,,,,,[9,10,12]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:210|51[013]0\\d)\\d{7}|5100\\d{5}",,,,"510012345"],"001",883,,,,,,,,1,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["2"]],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["510"]],[,"(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["5"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],888:[,[,,"\\d{11}",,,,,,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",888,,,,,,,,1,[[,"(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"\\d{11}",,,,"12345678901"],,,[,,,,,,,,,[-1]]],979:[,[,,"[1359]\\d{8}",,,,,,,[9],[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"[1359]\\d{8}",,,,"123456789",,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",979,,,,,,,,1,[[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]]},i18n.phonenumbers.PhoneNumberUtil=function(){this.regionToMetadataMap={}},goog.addSingletonGetter(i18n.phonenumbers.PhoneNumberUtil),i18n.phonenumbers.Error={INVALID_COUNTRY_CODE:"Invalid country calling code",NOT_A_NUMBER:"The string supplied did not seem to be a phone number",TOO_SHORT_AFTER_IDD:"Phone number too short after IDD",TOO_SHORT_NSN:"The string supplied is too short to be a phone number",TOO_LONG:"The string supplied is too long to be a phone number"},i18n.phonenumbers.PhoneNumberUtil.NANPA_COUNTRY_CODE_=1,i18n.phonenumbers.PhoneNumberUtil.MIN_LENGTH_FOR_NSN_=2,i18n.phonenumbers.PhoneNumberUtil.MAX_LENGTH_FOR_NSN_=17,i18n.phonenumbers.PhoneNumberUtil.MAX_LENGTH_COUNTRY_CODE_=3,i18n.phonenumbers.PhoneNumberUtil.MAX_INPUT_STRING_LENGTH_=250,i18n.phonenumbers.PhoneNumberUtil.UNKNOWN_REGION_="ZZ",i18n.phonenumbers.PhoneNumberUtil.COLOMBIA_MOBILE_TO_FIXED_LINE_PREFIX_="3",i18n.phonenumbers.PhoneNumberUtil.MOBILE_TOKEN_MAPPINGS_={54:"9"},i18n.phonenumbers.PhoneNumberUtil.GEO_MOBILE_COUNTRIES_=[52,54,55],i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN="+",i18n.phonenumbers.PhoneNumberUtil.STAR_SIGN_="*",i18n.phonenumbers.PhoneNumberUtil.RFC3966_EXTN_PREFIX_=";ext=",i18n.phonenumbers.PhoneNumberUtil.RFC3966_PREFIX_="tel:",i18n.phonenumbers.PhoneNumberUtil.RFC3966_PHONE_CONTEXT_=";phone-context=",i18n.phonenumbers.PhoneNumberUtil.RFC3966_ISDN_SUBADDRESS_=";isub=",i18n.phonenumbers.PhoneNumberUtil.DIGIT_MAPPINGS={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","\uff10":"0","\uff11":"1","\uff12":"2","\uff13":"3","\uff14":"4","\uff15":"5","\uff16":"6","\uff17":"7","\uff18":"8","\uff19":"9","\u0660":"0","\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u06f0":"0","\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9"},i18n.phonenumbers.PhoneNumberUtil.DIALLABLE_CHAR_MAPPINGS_={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","+":i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN,"*":"*","#":"#"},i18n.phonenumbers.PhoneNumberUtil.ALPHA_MAPPINGS_={A:"2",B:"2",C:"2",D:"3",E:"3",F:"3",G:"4",H:"4",I:"4",J:"5",K:"5",L:"5",M:"6",N:"6",O:"6",P:"7",Q:"7",R:"7",S:"7",T:"8",U:"8",V:"8",W:"9",X:"9",Y:"9",Z:"9"},i18n.phonenumbers.PhoneNumberUtil.ALL_NORMALIZATION_MAPPINGS_={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","\uff10":"0","\uff11":"1","\uff12":"2","\uff13":"3","\uff14":"4","\uff15":"5","\uff16":"6","\uff17":"7","\uff18":"8","\uff19":"9","\u0660":"0","\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u06f0":"0","\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9",A:"2",B:"2",C:"2",D:"3",E:"3",F:"3",G:"4",H:"4",I:"4",J:"5",K:"5",L:"5",M:"6",N:"6",O:"6",P:"7",Q:"7",R:"7",S:"7",T:"8",U:"8",V:"8",W:"9",X:"9",Y:"9",Z:"9"},i18n.phonenumbers.PhoneNumberUtil.ALL_PLUS_NUMBER_GROUPING_SYMBOLS_={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",A:"A",B:"B",C:"C",D:"D",E:"E",F:"F",G:"G",H:"H",I:"I",J:"J",K:"K",L:"L",M:"M",N:"N",O:"O",P:"P",Q:"Q",R:"R",S:"S",T:"T",U:"U",V:"V",W:"W",X:"X",Y:"Y",Z:"Z",a:"A",b:"B",c:"C",d:"D",e:"E",f:"F",g:"G",h:"H",i:"I",j:"J",k:"K",l:"L",m:"M",n:"N",o:"O",p:"P",q:"Q",r:"R",s:"S",t:"T",u:"U",v:"V",w:"W",x:"X",y:"Y",z:"Z","-":"-","\uff0d":"-","\u2010":"-","\u2011":"-","\u2012":"-","\u2013":"-","\u2014":"-","\u2015":"-","\u2212":"-","/":"/","\uff0f":"/"," ":" ","\u3000":" ","\u2060":" ",".":".","\uff0e":"."},i18n.phonenumbers.PhoneNumberUtil.SINGLE_INTERNATIONAL_PREFIX_=/[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?/,i18n.phonenumbers.PhoneNumberUtil.VALID_PUNCTUATION="-x\u2010-\u2015\u2212\u30fc\uff0d-\uff0f \xa0\xad\u200b\u2060\u3000()\uff08\uff09\uff3b\uff3d.\\[\\]/~\u2053\u223c\uff5e",i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_="0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9",i18n.phonenumbers.PhoneNumberUtil.VALID_ALPHA_="A-Za-z",i18n.phonenumbers.PhoneNumberUtil.PLUS_CHARS_="+\uff0b",i18n.phonenumbers.PhoneNumberUtil.PLUS_CHARS_PATTERN=new RegExp("["+i18n.phonenumbers.PhoneNumberUtil.PLUS_CHARS_+"]+"),i18n.phonenumbers.PhoneNumberUtil.LEADING_PLUS_CHARS_PATTERN=new RegExp("^["+i18n.phonenumbers.PhoneNumberUtil.PLUS_CHARS_+"]+"),i18n.phonenumbers.PhoneNumberUtil.SEPARATOR_PATTERN_="["+i18n.phonenumbers.PhoneNumberUtil.VALID_PUNCTUATION+"]+",i18n.phonenumbers.PhoneNumberUtil.CAPTURING_DIGIT_PATTERN=new RegExp("(["+i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+"])"),i18n.phonenumbers.PhoneNumberUtil.VALID_START_CHAR_PATTERN_=new RegExp("["+i18n.phonenumbers.PhoneNumberUtil.PLUS_CHARS_+i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+"]"),i18n.phonenumbers.PhoneNumberUtil.SECOND_NUMBER_START_PATTERN_=/[\\\/] *x/,i18n.phonenumbers.PhoneNumberUtil.UNWANTED_END_CHAR_PATTERN_=new RegExp("[^"+i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+i18n.phonenumbers.PhoneNumberUtil.VALID_ALPHA_+"#]+$"),i18n.phonenumbers.PhoneNumberUtil.VALID_ALPHA_PHONE_PATTERN_=/(?:.*?[A-Za-z]){3}.*/,i18n.phonenumbers.PhoneNumberUtil.MIN_LENGTH_PHONE_NUMBER_PATTERN_="["+i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+"]{"+i18n.phonenumbers.PhoneNumberUtil.MIN_LENGTH_FOR_NSN_+"}",i18n.phonenumbers.PhoneNumberUtil.VALID_PHONE_NUMBER_="["+i18n.phonenumbers.PhoneNumberUtil.PLUS_CHARS_+"]*(?:["+i18n.phonenumbers.PhoneNumberUtil.VALID_PUNCTUATION+i18n.phonenumbers.PhoneNumberUtil.STAR_SIGN_+"]*["+i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+"]){3,}["+i18n.phonenumbers.PhoneNumberUtil.VALID_PUNCTUATION+i18n.phonenumbers.PhoneNumberUtil.STAR_SIGN_+i18n.phonenumbers.PhoneNumberUtil.VALID_ALPHA_+i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+"]*",i18n.phonenumbers.PhoneNumberUtil.DEFAULT_EXTN_PREFIX_=" ext. ",i18n.phonenumbers.PhoneNumberUtil.extnDigits_=function(e){return"(["+i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+"]{1,"+e+"})"},i18n.phonenumbers.PhoneNumberUtil.createExtnPattern_=function(){return i18n.phonenumbers.PhoneNumberUtil.RFC3966_EXTN_PREFIX_+i18n.phonenumbers.PhoneNumberUtil.extnDigits_("20")+"|[ \xa0\\t,]*(?:e?xt(?:ensi(?:o\u0301?|\xf3))?n?|\uff45?\uff58\uff54\uff4e?|\u0434\u043e\u0431|anexo)[:\\.\uff0e]?[ \xa0\\t,-]*"+i18n.phonenumbers.PhoneNumberUtil.extnDigits_("20")+"#?|[ \xa0\\t,]*(?:[x\uff58#\uff03~\uff5e]|int|\uff49\uff4e\uff54)[:\\.\uff0e]?[ \xa0\\t,-]*"+i18n.phonenumbers.PhoneNumberUtil.extnDigits_("9")+"#?|[- ]+"+i18n.phonenumbers.PhoneNumberUtil.extnDigits_("6")+"#|[ \xa0\\t]*(?:,{2}|;)[:\\.\uff0e]?[ \xa0\\t,-]*"+i18n.phonenumbers.PhoneNumberUtil.extnDigits_("15")+"#?|[ \xa0\\t]*(?:,)+[:\\.\uff0e]?[ \xa0\\t,-]*"+i18n.phonenumbers.PhoneNumberUtil.extnDigits_("9")+"#?"},i18n.phonenumbers.PhoneNumberUtil.EXTN_PATTERN_=new RegExp("(?:"+i18n.phonenumbers.PhoneNumberUtil.createExtnPattern_()+")$","i"),i18n.phonenumbers.PhoneNumberUtil.VALID_PHONE_NUMBER_PATTERN_=new RegExp("^"+i18n.phonenumbers.PhoneNumberUtil.MIN_LENGTH_PHONE_NUMBER_PATTERN_+"$|^"+i18n.phonenumbers.PhoneNumberUtil.VALID_PHONE_NUMBER_+"(?:"+i18n.phonenumbers.PhoneNumberUtil.createExtnPattern_()+")?$","i"),i18n.phonenumbers.PhoneNumberUtil.NON_DIGITS_PATTERN_=/\D+/,i18n.phonenumbers.PhoneNumberUtil.FIRST_GROUP_PATTERN_=/(\$\d)/,i18n.phonenumbers.PhoneNumberUtil.NP_PATTERN_=/\$NP/,i18n.phonenumbers.PhoneNumberUtil.FG_PATTERN_=/\$FG/,i18n.phonenumbers.PhoneNumberUtil.CC_PATTERN_=/\$CC/,i18n.phonenumbers.PhoneNumberUtil.FIRST_GROUP_ONLY_PREFIX_PATTERN_=/^\(?\$1\)?$/,i18n.phonenumbers.PhoneNumberUtil.REGION_CODE_FOR_NON_GEO_ENTITY="001",i18n.phonenumbers.PhoneNumberFormat={E164:0,INTERNATIONAL:1,NATIONAL:2,RFC3966:3},i18n.phonenumbers.PhoneNumberType={FIXED_LINE:0,MOBILE:1,FIXED_LINE_OR_MOBILE:2,TOLL_FREE:3,PREMIUM_RATE:4,SHARED_COST:5,VOIP:6,PERSONAL_NUMBER:7,PAGER:8,UAN:9,VOICEMAIL:10,UNKNOWN:-1},i18n.phonenumbers.PhoneNumberUtil.MatchType={NOT_A_NUMBER:0,NO_MATCH:1,SHORT_NSN_MATCH:2,NSN_MATCH:3,EXACT_MATCH:4},i18n.phonenumbers.PhoneNumberUtil.ValidationResult={IS_POSSIBLE:0,IS_POSSIBLE_LOCAL_ONLY:4,INVALID_COUNTRY_CODE:1,TOO_SHORT:2,INVALID_LENGTH:5,TOO_LONG:3},i18n.phonenumbers.PhoneNumberUtil.extractPossibleNumber=function(e){var t=e.search(i18n.phonenumbers.PhoneNumberUtil.VALID_START_CHAR_PATTERN_);return 0<=t?0<=(t=(e=(e=e.substring(t)).replace(i18n.phonenumbers.PhoneNumberUtil.UNWANTED_END_CHAR_PATTERN_,"")).search(i18n.phonenumbers.PhoneNumberUtil.SECOND_NUMBER_START_PATTERN_))&&(e=e.substring(0,t)):e="",e},i18n.phonenumbers.PhoneNumberUtil.isViablePhoneNumber=function(e){return!(e.length<i18n.phonenumbers.PhoneNumberUtil.MIN_LENGTH_FOR_NSN_)&&i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(i18n.phonenumbers.PhoneNumberUtil.VALID_PHONE_NUMBER_PATTERN_,e)},i18n.phonenumbers.PhoneNumberUtil.normalize=function(e){return i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(i18n.phonenumbers.PhoneNumberUtil.VALID_ALPHA_PHONE_PATTERN_,e)?i18n.phonenumbers.PhoneNumberUtil.normalizeHelper_(e,i18n.phonenumbers.PhoneNumberUtil.ALL_NORMALIZATION_MAPPINGS_,!0):i18n.phonenumbers.PhoneNumberUtil.normalizeDigitsOnly(e)},i18n.phonenumbers.PhoneNumberUtil.normalizeSB_=function(e){var t=i18n.phonenumbers.PhoneNumberUtil.normalize(e.toString());e.clear(),e.append(t)},i18n.phonenumbers.PhoneNumberUtil.normalizeDigitsOnly=function(e){return i18n.phonenumbers.PhoneNumberUtil.normalizeHelper_(e,i18n.phonenumbers.PhoneNumberUtil.DIGIT_MAPPINGS,!0)},i18n.phonenumbers.PhoneNumberUtil.normalizeDiallableCharsOnly=function(e){return i18n.phonenumbers.PhoneNumberUtil.normalizeHelper_(e,i18n.phonenumbers.PhoneNumberUtil.DIALLABLE_CHAR_MAPPINGS_,!0)},i18n.phonenumbers.PhoneNumberUtil.convertAlphaCharactersInNumber=function(e){return i18n.phonenumbers.PhoneNumberUtil.normalizeHelper_(e,i18n.phonenumbers.PhoneNumberUtil.ALL_NORMALIZATION_MAPPINGS_,!1)},i18n.phonenumbers.PhoneNumberUtil.prototype.getLengthOfGeographicalAreaCode=function(e){var t=this.getMetadataForRegion(this.getRegionCodeForNumber(e));return null!=t&&(t.hasNationalPrefix()||e.hasItalianLeadingZero())&&this.isNumberGeographical(e)?this.getLengthOfNationalDestinationCode(e):0},i18n.phonenumbers.PhoneNumberUtil.prototype.getLengthOfNationalDestinationCode=function(e){if(e.hasExtension()){var t=e.clone();t.clearExtension()}else t=e;return 0==(t=this.format(t,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL).split(i18n.phonenumbers.PhoneNumberUtil.NON_DIGITS_PATTERN_))[0].length&&t.shift(),2>=t.length?0:this.getNumberType(e)==i18n.phonenumbers.PhoneNumberType.MOBILE&&""!=(e=i18n.phonenumbers.PhoneNumberUtil.getCountryMobileToken(e.getCountryCodeOrDefault()))?t[2].length+e.length:t[1].length},i18n.phonenumbers.PhoneNumberUtil.getCountryMobileToken=function(e){return i18n.phonenumbers.PhoneNumberUtil.MOBILE_TOKEN_MAPPINGS_[e]||""},i18n.phonenumbers.PhoneNumberUtil.prototype.getSupportedRegions=function(){return Object.keys(i18n.phonenumbers.metadata.countryToMetadata).filter((function(e){return isNaN(e)}))},i18n.phonenumbers.PhoneNumberUtil.prototype.getSupportedGlobalNetworkCallingCodes=function(){return Object.keys(i18n.phonenumbers.metadata.countryToMetadata).filter((function(e){return!isNaN(e)})).map((function(e){return parseInt(e,10)}))},i18n.phonenumbers.PhoneNumberUtil.prototype.getSupportedCallingCodes=function(){var e=Object.keys(i18n.phonenumbers.metadata.countryCodeToRegionCodeMap);return[].concat($jscomp.arrayFromIterable(this.getSupportedGlobalNetworkCallingCodes()),$jscomp.arrayFromIterable(e.map((function(e){return parseInt(e,10)}))))},i18n.phonenumbers.PhoneNumberUtil.descHasPossibleNumberData_=function(e){return null!=e&&(1!=e.possibleLengthCount()||-1!=e.possibleLengthArray()[0])},i18n.phonenumbers.PhoneNumberUtil.descHasData_=function(e){return null!=e&&(e.hasExampleNumber()||i18n.phonenumbers.PhoneNumberUtil.descHasPossibleNumberData_(e)||e.hasNationalNumberPattern())},i18n.phonenumbers.PhoneNumberUtil.getSupportedTypesForMetadata_=function(e){var t=[];return goog.object.forEach(i18n.phonenumbers.PhoneNumberType,(function(n){if(n!=i18n.phonenumbers.PhoneNumberType.FIXED_LINE_OR_MOBILE&&n!=i18n.phonenumbers.PhoneNumberType.UNKNOWN){var r=i18n.phonenumbers.PhoneNumberUtil.getNumberDescByType_(e,n);i18n.phonenumbers.PhoneNumberUtil.descHasData_(r)&&t.push(n)}})),t},i18n.phonenumbers.PhoneNumberUtil.prototype.getSupportedTypesForRegion=function(e){return this.isValidRegionCode_(e)?i18n.phonenumbers.PhoneNumberUtil.getSupportedTypesForMetadata_(this.getMetadataForRegion(e)):[]},i18n.phonenumbers.PhoneNumberUtil.prototype.getSupportedTypesForNonGeoEntity=function(e){return null==(e=this.getMetadataForNonGeographicalRegion(e))?[]:i18n.phonenumbers.PhoneNumberUtil.getSupportedTypesForMetadata_(e)},i18n.phonenumbers.PhoneNumberUtil.normalizeHelper_=function(e,t,n){for(var r,o,i=new goog.string.StringBuffer,a=e.length,s=0;s<a;++s)null!=(o=t[(r=e.charAt(s)).toUpperCase()])?i.append(o):n||i.append(r);return i.toString()},i18n.phonenumbers.PhoneNumberUtil.prototype.formattingRuleHasFirstGroupOnly=function(e){return 0==e.length||i18n.phonenumbers.PhoneNumberUtil.FIRST_GROUP_ONLY_PREFIX_PATTERN_.test(e)},i18n.phonenumbers.PhoneNumberUtil.prototype.isNumberGeographical=function(e){var t=this.getNumberType(e);return t==i18n.phonenumbers.PhoneNumberType.FIXED_LINE||t==i18n.phonenumbers.PhoneNumberType.FIXED_LINE_OR_MOBILE||i18n.phonenumbers.PhoneNumberUtil.GEO_MOBILE_COUNTRIES_.includes(e.getCountryCodeOrDefault())&&t==i18n.phonenumbers.PhoneNumberType.MOBILE},i18n.phonenumbers.PhoneNumberUtil.prototype.isValidRegionCode_=function(e){return null!=e&&isNaN(e)&&e.toUpperCase()in i18n.phonenumbers.metadata.countryToMetadata},i18n.phonenumbers.PhoneNumberUtil.prototype.hasValidCountryCallingCode_=function(e){return e in i18n.phonenumbers.metadata.countryCodeToRegionCodeMap},i18n.phonenumbers.PhoneNumberUtil.prototype.format=function(e,t){if(0==e.getNationalNumber()&&e.hasRawInput()){var n=e.getRawInputOrDefault();if(0<n.length)return n}n=e.getCountryCodeOrDefault();var r=this.getNationalSignificantNumber(e);if(t==i18n.phonenumbers.PhoneNumberFormat.E164)return this.prefixNumberWithCountryCallingCode_(n,i18n.phonenumbers.PhoneNumberFormat.E164,r,"");if(!this.hasValidCountryCallingCode_(n))return r;var o=this.getRegionCodeForCountryCode(n);return o=this.getMetadataForRegionOrCallingCode_(n,o),e=this.maybeGetFormattedExtension_(e,o,t),r=this.formatNsn_(r,o,t),this.prefixNumberWithCountryCallingCode_(n,t,r,e)},i18n.phonenumbers.PhoneNumberUtil.prototype.formatByPattern=function(e,t,n){var r=e.getCountryCodeOrDefault(),o=this.getNationalSignificantNumber(e);if(!this.hasValidCountryCallingCode_(r))return o;var i=this.getRegionCodeForCountryCode(r);i=this.getMetadataForRegionOrCallingCode_(r,i);var a=this.chooseFormattingPatternForNumber_(n,o);if(null!=a){if(n=a.clone(),0<(a=a.getNationalPrefixFormattingRuleOrDefault()).length){var s=i.getNationalPrefixOrDefault();0<s.length?(a=a.replace(i18n.phonenumbers.PhoneNumberUtil.NP_PATTERN_,s).replace(i18n.phonenumbers.PhoneNumberUtil.FG_PATTERN_,"$1"),n.setNationalPrefixFormattingRule(a)):n.clearNationalPrefixFormattingRule()}o=this.formatNsnUsingPattern_(o,n,t)}return e=this.maybeGetFormattedExtension_(e,i,t),this.prefixNumberWithCountryCallingCode_(r,t,o,e)},i18n.phonenumbers.PhoneNumberUtil.prototype.formatNationalNumberWithCarrierCode=function(e,t){var n=e.getCountryCodeOrDefault(),r=this.getNationalSignificantNumber(e);if(!this.hasValidCountryCallingCode_(n))return r;var o=this.getRegionCodeForCountryCode(n);return o=this.getMetadataForRegionOrCallingCode_(n,o),e=this.maybeGetFormattedExtension_(e,o,i18n.phonenumbers.PhoneNumberFormat.NATIONAL),t=this.formatNsn_(r,o,i18n.phonenumbers.PhoneNumberFormat.NATIONAL,t),this.prefixNumberWithCountryCallingCode_(n,i18n.phonenumbers.PhoneNumberFormat.NATIONAL,t,e)},i18n.phonenumbers.PhoneNumberUtil.prototype.getMetadataForRegionOrCallingCode_=function(e,t){return i18n.phonenumbers.PhoneNumberUtil.REGION_CODE_FOR_NON_GEO_ENTITY==t?this.getMetadataForNonGeographicalRegion(e):this.getMetadataForRegion(t)},i18n.phonenumbers.PhoneNumberUtil.prototype.formatNationalNumberWithPreferredCarrierCode=function(e,t){return this.formatNationalNumberWithCarrierCode(e,0<e.getPreferredDomesticCarrierCodeOrDefault().length?e.getPreferredDomesticCarrierCodeOrDefault():t)},i18n.phonenumbers.PhoneNumberUtil.prototype.formatNumberForMobileDialing=function(e,t,n){var r=e.getCountryCodeOrDefault();if(!this.hasValidCountryCallingCode_(r))return e.hasRawInput()?e.getRawInputOrDefault():"";var o="";(e=e.clone()).clearExtension();var i=this.getRegionCodeForCountryCode(r),a=this.getNumberType(e),s=a!=i18n.phonenumbers.PhoneNumberType.UNKNOWN;if(t==i)o=a==i18n.phonenumbers.PhoneNumberType.FIXED_LINE||a==i18n.phonenumbers.PhoneNumberType.MOBILE||a==i18n.phonenumbers.PhoneNumberType.FIXED_LINE_OR_MOBILE,"CO"==i&&a==i18n.phonenumbers.PhoneNumberType.FIXED_LINE?o=this.formatNationalNumberWithCarrierCode(e,i18n.phonenumbers.PhoneNumberUtil.COLOMBIA_MOBILE_TO_FIXED_LINE_PREFIX_):"BR"==i&&o?o=0<e.getPreferredDomesticCarrierCodeOrDefault().length?this.formatNationalNumberWithPreferredCarrierCode(e,""):"":r==i18n.phonenumbers.PhoneNumberUtil.NANPA_COUNTRY_CODE_?(t=this.getMetadataForRegion(t),o=this.canBeInternationallyDialled(e)&&this.testNumberLength_(this.getNationalSignificantNumber(e),t)!=i18n.phonenumbers.PhoneNumberUtil.ValidationResult.TOO_SHORT?this.format(e,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL):this.format(e,i18n.phonenumbers.PhoneNumberFormat.NATIONAL)):o=(i==i18n.phonenumbers.PhoneNumberUtil.REGION_CODE_FOR_NON_GEO_ENTITY||("MX"==i||"CL"==i||"UZ"==i)&&o)&&this.canBeInternationallyDialled(e)?this.format(e,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL):this.format(e,i18n.phonenumbers.PhoneNumberFormat.NATIONAL);else if(s&&this.canBeInternationallyDialled(e))return n?this.format(e,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL):this.format(e,i18n.phonenumbers.PhoneNumberFormat.E164);return n?o:i18n.phonenumbers.PhoneNumberUtil.normalizeDiallableCharsOnly(o)},i18n.phonenumbers.PhoneNumberUtil.prototype.formatOutOfCountryCallingNumber=function(e,t){if(!this.isValidRegionCode_(t))return this.format(e,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL);var n=e.getCountryCodeOrDefault(),r=this.getNationalSignificantNumber(e);if(!this.hasValidCountryCallingCode_(n))return r;if(n==i18n.phonenumbers.PhoneNumberUtil.NANPA_COUNTRY_CODE_){if(this.isNANPACountry(t))return n+" "+this.format(e,i18n.phonenumbers.PhoneNumberFormat.NATIONAL)}else if(n==this.getCountryCodeForValidRegion_(t))return this.format(e,i18n.phonenumbers.PhoneNumberFormat.NATIONAL);var o=this.getMetadataForRegion(t),i=o.getInternationalPrefixOrDefault();return t="",o.hasPreferredInternationalPrefix()?t=o.getPreferredInternationalPrefixOrDefault():i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(i18n.phonenumbers.PhoneNumberUtil.SINGLE_INTERNATIONAL_PREFIX_,i)&&(t=i),o=this.getRegionCodeForCountryCode(n),o=this.getMetadataForRegionOrCallingCode_(n,o),r=this.formatNsn_(r,o,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL),e=this.maybeGetFormattedExtension_(e,o,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL),0<t.length?t+" "+n+" "+r+e:this.prefixNumberWithCountryCallingCode_(n,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL,r,e)},i18n.phonenumbers.PhoneNumberUtil.prototype.formatInOriginalFormat=function(e,t){if(e.hasRawInput()&&!this.hasFormattingPatternForNumber_(e))return e.getRawInputOrDefault();if(!e.hasCountryCodeSource())return this.format(e,i18n.phonenumbers.PhoneNumberFormat.NATIONAL);switch(e.getCountryCodeSource()){case i18n.phonenumbers.PhoneNumber.CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN:t=this.format(e,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL);break;case i18n.phonenumbers.PhoneNumber.CountryCodeSource.FROM_NUMBER_WITH_IDD:t=this.formatOutOfCountryCallingNumber(e,t);break;case i18n.phonenumbers.PhoneNumber.CountryCodeSource.FROM_NUMBER_WITHOUT_PLUS_SIGN:t=this.format(e,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL).substring(1);break;default:var n=this.getRegionCodeForCountryCode(e.getCountryCodeOrDefault()),r=this.getNddPrefixForRegion(n,!0);if(t=this.format(e,i18n.phonenumbers.PhoneNumberFormat.NATIONAL),null!=r&&0!=r.length&&!this.rawInputContainsNationalPrefix_(e.getRawInputOrDefault(),r,n)&&(n=this.getMetadataForRegion(n),r=this.getNationalSignificantNumber(e),null!=(n=this.chooseFormattingPatternForNumber_(n.numberFormatArray(),r)))){var o=(r=n.getNationalPrefixFormattingRuleOrDefault()).indexOf("$1");0>=o||(r=r.substring(0,o),0!=(r=i18n.phonenumbers.PhoneNumberUtil.normalizeDigitsOnly(r)).length&&((t=n.clone()).clearNationalPrefixFormattingRule(),t=this.formatByPattern(e,i18n.phonenumbers.PhoneNumberFormat.NATIONAL,[t])))}}return e=e.getRawInputOrDefault(),null!=t&&0<e.length&&(n=i18n.phonenumbers.PhoneNumberUtil.normalizeDiallableCharsOnly(t))!=(r=i18n.phonenumbers.PhoneNumberUtil.normalizeDiallableCharsOnly(e))&&(t=e),t},i18n.phonenumbers.PhoneNumberUtil.prototype.rawInputContainsNationalPrefix_=function(e,t,n){if(e=i18n.phonenumbers.PhoneNumberUtil.normalizeDigitsOnly(e),goog.string.startsWith(e,t))try{return this.isValidNumber(this.parse(e.substring(t.length),n))}catch(r){}return!1},i18n.phonenumbers.PhoneNumberUtil.prototype.hasFormattingPatternForNumber_=function(e){var t=e.getCountryCodeOrDefault(),n=this.getRegionCodeForCountryCode(t);return null!=(t=this.getMetadataForRegionOrCallingCode_(t,n))&&(e=this.getNationalSignificantNumber(e),null!=this.chooseFormattingPatternForNumber_(t.numberFormatArray(),e))},i18n.phonenumbers.PhoneNumberUtil.prototype.formatOutOfCountryKeepingAlphaChars=function(e,t){var n=e.getRawInputOrDefault();if(0==n.length)return this.formatOutOfCountryCallingNumber(e,t);var r=e.getCountryCodeOrDefault();if(!this.hasValidCountryCallingCode_(r))return n;n=i18n.phonenumbers.PhoneNumberUtil.normalizeHelper_(n,i18n.phonenumbers.PhoneNumberUtil.ALL_PLUS_NUMBER_GROUPING_SYMBOLS_,!0);var o=this.getNationalSignificantNumber(e);if(3<o.length){var i=n.indexOf(o.substring(0,3));-1!=i&&(n=n.substring(i))}if(i=this.getMetadataForRegion(t),r==i18n.phonenumbers.PhoneNumberUtil.NANPA_COUNTRY_CODE_){if(this.isNANPACountry(t))return r+" "+n}else if(null!=i&&r==this.getCountryCodeForValidRegion_(t))return null==(r=this.chooseFormattingPatternForNumber_(i.numberFormatArray(),o))?n:((r=r.clone()).setPattern("(\\d+)(.*)"),r.setFormat("$1$2"),this.formatNsnUsingPattern_(n,r,i18n.phonenumbers.PhoneNumberFormat.NATIONAL));return t="",null!=i&&(t=i.getInternationalPrefixOrDefault(),t=i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(i18n.phonenumbers.PhoneNumberUtil.SINGLE_INTERNATIONAL_PREFIX_,t)?t:i.getPreferredInternationalPrefixOrDefault()),i=this.getRegionCodeForCountryCode(r),i=this.getMetadataForRegionOrCallingCode_(r,i),e=this.maybeGetFormattedExtension_(e,i,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL),0<t.length?t+" "+r+" "+n+e:this.prefixNumberWithCountryCallingCode_(r,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL,n,e)},i18n.phonenumbers.PhoneNumberUtil.prototype.getNationalSignificantNumber=function(e){if(!e.hasNationalNumber())return"";var t=""+e.getNationalNumber();return e.hasItalianLeadingZero()&&e.getItalianLeadingZero()&&0<e.getNumberOfLeadingZerosOrDefault()?Array(e.getNumberOfLeadingZerosOrDefault()+1).join("0")+t:t},i18n.phonenumbers.PhoneNumberUtil.prototype.prefixNumberWithCountryCallingCode_=function(e,t,n,r){switch(t){case i18n.phonenumbers.PhoneNumberFormat.E164:return i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN+e+n+r;case i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL:return i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN+e+" "+n+r;case i18n.phonenumbers.PhoneNumberFormat.RFC3966:return i18n.phonenumbers.PhoneNumberUtil.RFC3966_PREFIX_+i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN+e+"-"+n+r;default:return n+r}},i18n.phonenumbers.PhoneNumberUtil.prototype.formatNsn_=function(e,t,n,r){return t=0==t.intlNumberFormatArray().length||n==i18n.phonenumbers.PhoneNumberFormat.NATIONAL?t.numberFormatArray():t.intlNumberFormatArray(),null==(t=this.chooseFormattingPatternForNumber_(t,e))?e:this.formatNsnUsingPattern_(e,t,n,r)},i18n.phonenumbers.PhoneNumberUtil.prototype.chooseFormattingPatternForNumber_=function(e,t){for(var n,r=e.length,o=0;o<r;++o){var i=(n=e[o]).leadingDigitsPatternCount();if((0==i||0==t.search(n.getLeadingDigitsPattern(i-1)))&&(i=new RegExp(n.getPattern()),i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(i,t)))return n}return null},i18n.phonenumbers.PhoneNumberUtil.prototype.formatNsnUsingPattern_=function(e,t,n,r){var o=t.getFormatOrDefault(),i=new RegExp(t.getPattern()),a=t.getDomesticCarrierCodeFormattingRuleOrDefault();return n==i18n.phonenumbers.PhoneNumberFormat.NATIONAL&&null!=r&&0<r.length&&0<a.length?(t=a.replace(i18n.phonenumbers.PhoneNumberUtil.CC_PATTERN_,r),o=o.replace(i18n.phonenumbers.PhoneNumberUtil.FIRST_GROUP_PATTERN_,t),e=e.replace(i,o)):(t=t.getNationalPrefixFormattingRuleOrDefault(),e=n==i18n.phonenumbers.PhoneNumberFormat.NATIONAL&&null!=t&&0<t.length?e.replace(i,o.replace(i18n.phonenumbers.PhoneNumberUtil.FIRST_GROUP_PATTERN_,t)):e.replace(i,o)),n==i18n.phonenumbers.PhoneNumberFormat.RFC3966&&(e=(e=e.replace(new RegExp("^"+i18n.phonenumbers.PhoneNumberUtil.SEPARATOR_PATTERN_),"")).replace(new RegExp(i18n.phonenumbers.PhoneNumberUtil.SEPARATOR_PATTERN_,"g"),"-")),e},i18n.phonenumbers.PhoneNumberUtil.prototype.getExampleNumber=function(e){return this.getExampleNumberForType(e,i18n.phonenumbers.PhoneNumberType.FIXED_LINE)},i18n.phonenumbers.PhoneNumberUtil.prototype.getExampleNumberForType=function(e,t){if(!this.isValidRegionCode_(e))return null;t=i18n.phonenumbers.PhoneNumberUtil.getNumberDescByType_(this.getMetadataForRegion(e),t);try{if(t.hasExampleNumber())return this.parse(t.getExampleNumber(),e)}catch(n){}return null},i18n.phonenumbers.PhoneNumberUtil.prototype.getExampleNumberForNonGeoEntity=function(e){var t=this.getMetadataForNonGeographicalRegion(e);if(null!=t&&void 0!==(t=[t.getMobile(),t.getTollFree(),t.getSharedCost(),t.getVoip(),t.getVoicemail(),t.getUan(),t.getPremiumRate()].find((function(e,t){return e.hasExampleNumber()}))))try{return this.parse("+"+e+t.getExampleNumber(),"ZZ")}catch(n){}return null},i18n.phonenumbers.PhoneNumberUtil.prototype.maybeGetFormattedExtension_=function(e,t,n){return e.hasExtension()&&0!=e.getExtension().length?n==i18n.phonenumbers.PhoneNumberFormat.RFC3966?i18n.phonenumbers.PhoneNumberUtil.RFC3966_EXTN_PREFIX_+e.getExtension():t.hasPreferredExtnPrefix()?t.getPreferredExtnPrefix()+e.getExtensionOrDefault():i18n.phonenumbers.PhoneNumberUtil.DEFAULT_EXTN_PREFIX_+e.getExtensionOrDefault():""},i18n.phonenumbers.PhoneNumberUtil.getNumberDescByType_=function(e,t){switch(t){case i18n.phonenumbers.PhoneNumberType.PREMIUM_RATE:return e.getPremiumRate();case i18n.phonenumbers.PhoneNumberType.TOLL_FREE:return e.getTollFree();case i18n.phonenumbers.PhoneNumberType.MOBILE:return e.getMobile();case i18n.phonenumbers.PhoneNumberType.FIXED_LINE:case i18n.phonenumbers.PhoneNumberType.FIXED_LINE_OR_MOBILE:return e.getFixedLine();case i18n.phonenumbers.PhoneNumberType.SHARED_COST:return e.getSharedCost();case i18n.phonenumbers.PhoneNumberType.VOIP:return e.getVoip();case i18n.phonenumbers.PhoneNumberType.PERSONAL_NUMBER:return e.getPersonalNumber();case i18n.phonenumbers.PhoneNumberType.PAGER:return e.getPager();case i18n.phonenumbers.PhoneNumberType.UAN:return e.getUan();case i18n.phonenumbers.PhoneNumberType.VOICEMAIL:return e.getVoicemail();default:return e.getGeneralDesc()}},i18n.phonenumbers.PhoneNumberUtil.prototype.getNumberType=function(e){var t=this.getRegionCodeForNumber(e);return null==(t=this.getMetadataForRegionOrCallingCode_(e.getCountryCodeOrDefault(),t))?i18n.phonenumbers.PhoneNumberType.UNKNOWN:(e=this.getNationalSignificantNumber(e),this.getNumberTypeHelper_(e,t))},i18n.phonenumbers.PhoneNumberUtil.prototype.getNumberTypeHelper_=function(e,t){return this.isNumberMatchingDesc_(e,t.getGeneralDesc())?this.isNumberMatchingDesc_(e,t.getPremiumRate())?i18n.phonenumbers.PhoneNumberType.PREMIUM_RATE:this.isNumberMatchingDesc_(e,t.getTollFree())?i18n.phonenumbers.PhoneNumberType.TOLL_FREE:this.isNumberMatchingDesc_(e,t.getSharedCost())?i18n.phonenumbers.PhoneNumberType.SHARED_COST:this.isNumberMatchingDesc_(e,t.getVoip())?i18n.phonenumbers.PhoneNumberType.VOIP:this.isNumberMatchingDesc_(e,t.getPersonalNumber())?i18n.phonenumbers.PhoneNumberType.PERSONAL_NUMBER:this.isNumberMatchingDesc_(e,t.getPager())?i18n.phonenumbers.PhoneNumberType.PAGER:this.isNumberMatchingDesc_(e,t.getUan())?i18n.phonenumbers.PhoneNumberType.UAN:this.isNumberMatchingDesc_(e,t.getVoicemail())?i18n.phonenumbers.PhoneNumberType.VOICEMAIL:this.isNumberMatchingDesc_(e,t.getFixedLine())?t.getSameMobileAndFixedLinePattern()||this.isNumberMatchingDesc_(e,t.getMobile())?i18n.phonenumbers.PhoneNumberType.FIXED_LINE_OR_MOBILE:i18n.phonenumbers.PhoneNumberType.FIXED_LINE:!t.getSameMobileAndFixedLinePattern()&&this.isNumberMatchingDesc_(e,t.getMobile())?i18n.phonenumbers.PhoneNumberType.MOBILE:i18n.phonenumbers.PhoneNumberType.UNKNOWN:i18n.phonenumbers.PhoneNumberType.UNKNOWN},i18n.phonenumbers.PhoneNumberUtil.prototype.getMetadataForRegion=function(e){if(null==e)return null;e=e.toUpperCase();var t=this.regionToMetadataMap[e];if(null==t){t=new goog.proto2.PbLiteSerializer;var n=i18n.phonenumbers.metadata.countryToMetadata[e];if(null==n)return null;t=t.deserialize(i18n.phonenumbers.PhoneMetadata.getDescriptor(),n),this.regionToMetadataMap[e]=t}return t},i18n.phonenumbers.PhoneNumberUtil.prototype.getMetadataForNonGeographicalRegion=function(e){return this.getMetadataForRegion(""+e)},i18n.phonenumbers.PhoneNumberUtil.prototype.isNumberMatchingDesc_=function(e,t){var n=e.length;return!(0<t.possibleLengthCount()&&-1==t.possibleLengthArray().indexOf(n))&&i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(t.getNationalNumberPatternOrDefault(),e)},i18n.phonenumbers.PhoneNumberUtil.prototype.isValidNumber=function(e){var t=this.getRegionCodeForNumber(e);return this.isValidNumberForRegion(e,t)},i18n.phonenumbers.PhoneNumberUtil.prototype.isValidNumberForRegion=function(e,t){var n=e.getCountryCodeOrDefault(),r=this.getMetadataForRegionOrCallingCode_(n,t);return null!=r&&(i18n.phonenumbers.PhoneNumberUtil.REGION_CODE_FOR_NON_GEO_ENTITY==t||n==this.getCountryCodeForValidRegion_(t))&&(e=this.getNationalSignificantNumber(e),this.getNumberTypeHelper_(e,r)!=i18n.phonenumbers.PhoneNumberType.UNKNOWN)},i18n.phonenumbers.PhoneNumberUtil.prototype.getRegionCodeForNumber=function(e){if(null==e)return null;var t=e.getCountryCodeOrDefault();return null==(t=i18n.phonenumbers.metadata.countryCodeToRegionCodeMap[t])?null:1==t.length?t[0]:this.getRegionCodeForNumberFromRegionList_(e,t)},i18n.phonenumbers.PhoneNumberUtil.prototype.getRegionCodeForNumberFromRegionList_=function(e,t){e=this.getNationalSignificantNumber(e);for(var n,r=t.length,o=0;o<r;o++){n=t[o];var i=this.getMetadataForRegion(n);if(i.hasLeadingDigits()){if(0==e.search(i.getLeadingDigits()))return n}else if(this.getNumberTypeHelper_(e,i)!=i18n.phonenumbers.PhoneNumberType.UNKNOWN)return n}return null},i18n.phonenumbers.PhoneNumberUtil.prototype.getRegionCodeForCountryCode=function(e){return null==(e=i18n.phonenumbers.metadata.countryCodeToRegionCodeMap[e])?i18n.phonenumbers.PhoneNumberUtil.UNKNOWN_REGION_:e[0]},i18n.phonenumbers.PhoneNumberUtil.prototype.getRegionCodesForCountryCode=function(e){return null==(e=i18n.phonenumbers.metadata.countryCodeToRegionCodeMap[e])?[]:e},i18n.phonenumbers.PhoneNumberUtil.prototype.getCountryCodeForRegion=function(e){return this.isValidRegionCode_(e)?this.getCountryCodeForValidRegion_(e):0},i18n.phonenumbers.PhoneNumberUtil.prototype.getCountryCodeForValidRegion_=function(e){var t=this.getMetadataForRegion(e);if(null==t)throw Error("Invalid region code: "+e);return t.getCountryCodeOrDefault()},i18n.phonenumbers.PhoneNumberUtil.prototype.getNddPrefixForRegion=function(e,t){return null==(e=this.getMetadataForRegion(e))||0==(e=e.getNationalPrefixOrDefault()).length?null:(t&&(e=e.replace("~","")),e)},i18n.phonenumbers.PhoneNumberUtil.prototype.isNANPACountry=function(e){return null!=e&&i18n.phonenumbers.metadata.countryCodeToRegionCodeMap[i18n.phonenumbers.PhoneNumberUtil.NANPA_COUNTRY_CODE_].includes(e.toUpperCase())},i18n.phonenumbers.PhoneNumberUtil.prototype.isAlphaNumber=function(e){return!!i18n.phonenumbers.PhoneNumberUtil.isViablePhoneNumber(e)&&(e=new goog.string.StringBuffer(e),this.maybeStripExtension(e),i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(i18n.phonenumbers.PhoneNumberUtil.VALID_ALPHA_PHONE_PATTERN_,e.toString()))},i18n.phonenumbers.PhoneNumberUtil.prototype.isPossibleNumber=function(e){return(e=this.isPossibleNumberWithReason(e))==i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE||e==i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE_LOCAL_ONLY},i18n.phonenumbers.PhoneNumberUtil.prototype.isPossibleNumberForType=function(e,t){return(e=this.isPossibleNumberForTypeWithReason(e,t))==i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE||e==i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE_LOCAL_ONLY},i18n.phonenumbers.PhoneNumberUtil.prototype.testNumberLength_=function(e,t){return this.testNumberLengthForType_(e,t,i18n.phonenumbers.PhoneNumberType.UNKNOWN)},i18n.phonenumbers.PhoneNumberUtil.prototype.testNumberLengthForType_=function(e,t,n){var r=i18n.phonenumbers.PhoneNumberUtil.getNumberDescByType_(t,n),o=0==r.possibleLengthCount()?t.getGeneralDesc().possibleLengthArray():r.possibleLengthArray();if(r=r.possibleLengthLocalOnlyArray(),n==i18n.phonenumbers.PhoneNumberType.FIXED_LINE_OR_MOBILE){if(!i18n.phonenumbers.PhoneNumberUtil.descHasPossibleNumberData_(i18n.phonenumbers.PhoneNumberUtil.getNumberDescByType_(t,i18n.phonenumbers.PhoneNumberType.FIXED_LINE)))return this.testNumberLengthForType_(e,t,i18n.phonenumbers.PhoneNumberType.MOBILE);n=i18n.phonenumbers.PhoneNumberUtil.getNumberDescByType_(t,i18n.phonenumbers.PhoneNumberType.MOBILE),i18n.phonenumbers.PhoneNumberUtil.descHasPossibleNumberData_(n)&&((o=o.concat(0==n.possibleLengthCount()?t.getGeneralDesc().possibleLengthArray():n.possibleLengthArray())).sort(),0==r.length?r=n.possibleLengthLocalOnlyArray():(r=r.concat(n.possibleLengthLocalOnlyArray())).sort())}return-1==o[0]?i18n.phonenumbers.PhoneNumberUtil.ValidationResult.INVALID_LENGTH:(e=e.length,-1<r.indexOf(e)?i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE_LOCAL_ONLY:(t=o[0])==e?i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE:t>e?i18n.phonenumbers.PhoneNumberUtil.ValidationResult.TOO_SHORT:o[o.length-1]<e?i18n.phonenumbers.PhoneNumberUtil.ValidationResult.TOO_LONG:-1<o.indexOf(e,1)?i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE:i18n.phonenumbers.PhoneNumberUtil.ValidationResult.INVALID_LENGTH)},i18n.phonenumbers.PhoneNumberUtil.prototype.isPossibleNumberWithReason=function(e){return this.isPossibleNumberForTypeWithReason(e,i18n.phonenumbers.PhoneNumberType.UNKNOWN)},i18n.phonenumbers.PhoneNumberUtil.prototype.isPossibleNumberForTypeWithReason=function(e,t){var n=this.getNationalSignificantNumber(e);if(e=e.getCountryCodeOrDefault(),!this.hasValidCountryCallingCode_(e))return i18n.phonenumbers.PhoneNumberUtil.ValidationResult.INVALID_COUNTRY_CODE;var r=this.getRegionCodeForCountryCode(e);return e=this.getMetadataForRegionOrCallingCode_(e,r),this.testNumberLengthForType_(n,e,t)},i18n.phonenumbers.PhoneNumberUtil.prototype.isPossibleNumberString=function(e,t){try{return this.isPossibleNumber(this.parse(e,t))}catch(n){return!1}},i18n.phonenumbers.PhoneNumberUtil.prototype.truncateTooLongNumber=function(e){if(this.isValidNumber(e))return!0;var t=e.clone(),n=e.getNationalNumberOrDefault();do{if(n=Math.floor(n/10),t.setNationalNumber(n),0==n||this.isPossibleNumberWithReason(t)==i18n.phonenumbers.PhoneNumberUtil.ValidationResult.TOO_SHORT)return!1}while(!this.isValidNumber(t));return e.setNationalNumber(n),!0},i18n.phonenumbers.PhoneNumberUtil.prototype.extractCountryCode=function(e,t){if(0==(e=e.toString()).length||"0"==e.charAt(0))return 0;for(var n,r=e.length,o=1;o<=i18n.phonenumbers.PhoneNumberUtil.MAX_LENGTH_COUNTRY_CODE_&&o<=r;++o)if((n=parseInt(e.substring(0,o),10))in i18n.phonenumbers.metadata.countryCodeToRegionCodeMap)return t.append(e.substring(o)),n;return 0},i18n.phonenumbers.PhoneNumberUtil.prototype.maybeExtractCountryCode=function(e,t,n,r,o){if(0==e.length)return 0;var i;if(e=new goog.string.StringBuffer(e),null!=t&&(i=t.getInternationalPrefix()),null==i&&(i="NonMatch"),i=this.maybeStripInternationalPrefixAndNormalize(e,i),r&&o.setCountryCodeSource(i),i!=i18n.phonenumbers.PhoneNumber.CountryCodeSource.FROM_DEFAULT_COUNTRY){if(e.getLength()<=i18n.phonenumbers.PhoneNumberUtil.MIN_LENGTH_FOR_NSN_)throw Error(i18n.phonenumbers.Error.TOO_SHORT_AFTER_IDD);if(0!=(t=this.extractCountryCode(e,n)))return o.setCountryCode(t),t;throw Error(i18n.phonenumbers.Error.INVALID_COUNTRY_CODE)}if(null!=t){var a=""+(i=t.getCountryCodeOrDefault()),s=e.toString();if(goog.string.startsWith(s,a)&&(a=new goog.string.StringBuffer(s.substring(a.length)),s=t.getGeneralDesc(),s=new RegExp(s.getNationalNumberPatternOrDefault()),this.maybeStripNationalPrefixAndCarrierCode(a,t,null),a=a.toString(),!i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(s,e.toString())&&i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(s,a)||this.testNumberLength_(e.toString(),t)==i18n.phonenumbers.PhoneNumberUtil.ValidationResult.TOO_LONG))return n.append(a),r&&o.setCountryCodeSource(i18n.phonenumbers.PhoneNumber.CountryCodeSource.FROM_NUMBER_WITHOUT_PLUS_SIGN),o.setCountryCode(i),i}return o.setCountryCode(0),0},i18n.phonenumbers.PhoneNumberUtil.prototype.parsePrefixAsIdd_=function(e,t){var n=t.toString();if(0==n.search(e)){e=n.match(e)[0].length;var r=n.substring(e).match(i18n.phonenumbers.PhoneNumberUtil.CAPTURING_DIGIT_PATTERN);return!(r&&null!=r[1]&&0<r[1].length&&"0"==i18n.phonenumbers.PhoneNumberUtil.normalizeDigitsOnly(r[1]))&&(t.clear(),t.append(n.substring(e)),!0)}return!1},i18n.phonenumbers.PhoneNumberUtil.prototype.maybeStripInternationalPrefixAndNormalize=function(e,t){var n=e.toString();return 0==n.length?i18n.phonenumbers.PhoneNumber.CountryCodeSource.FROM_DEFAULT_COUNTRY:i18n.phonenumbers.PhoneNumberUtil.LEADING_PLUS_CHARS_PATTERN.test(n)?(n=n.replace(i18n.phonenumbers.PhoneNumberUtil.LEADING_PLUS_CHARS_PATTERN,""),e.clear(),e.append(i18n.phonenumbers.PhoneNumberUtil.normalize(n)),i18n.phonenumbers.PhoneNumber.CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN):(t=new RegExp(t),i18n.phonenumbers.PhoneNumberUtil.normalizeSB_(e),this.parsePrefixAsIdd_(t,e)?i18n.phonenumbers.PhoneNumber.CountryCodeSource.FROM_NUMBER_WITH_IDD:i18n.phonenumbers.PhoneNumber.CountryCodeSource.FROM_DEFAULT_COUNTRY)},i18n.phonenumbers.PhoneNumberUtil.prototype.maybeStripNationalPrefixAndCarrierCode=function(e,t,n){var r=e.toString(),o=r.length,i=t.getNationalPrefixForParsing();if(0==o||null==i||0==i.length)return!1;var a=new RegExp("^(?:"+i+")");if(o=a.exec(r)){i=new RegExp(t.getGeneralDesc().getNationalNumberPatternOrDefault());var s=i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(i,r),l=o.length-1;if(null==(t=t.getNationalPrefixTransformRule())||0==t.length||null==o[l]||0==o[l].length){if(s&&!i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(i,r.substring(o[0].length)))return!1;null!=n&&0<l&&null!=o[l]&&n.append(o[1]),e.set(r.substring(o[0].length))}else{if(r=r.replace(a,t),s&&!i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(i,r))return!1;null!=n&&0<l&&n.append(o[1]),e.set(r)}return!0}return!1},i18n.phonenumbers.PhoneNumberUtil.prototype.maybeStripExtension=function(e){var t=e.toString(),n=t.search(i18n.phonenumbers.PhoneNumberUtil.EXTN_PATTERN_);if(0<=n&&i18n.phonenumbers.PhoneNumberUtil.isViablePhoneNumber(t.substring(0,n)))for(var r=t.match(i18n.phonenumbers.PhoneNumberUtil.EXTN_PATTERN_),o=r.length,i=1;i<o;++i)if(null!=r[i]&&0<r[i].length)return e.clear(),e.append(t.substring(0,n)),r[i];return""},i18n.phonenumbers.PhoneNumberUtil.prototype.checkRegionForParsing_=function(e,t){return this.isValidRegionCode_(t)||null!=e&&0<e.length&&i18n.phonenumbers.PhoneNumberUtil.LEADING_PLUS_CHARS_PATTERN.test(e)},i18n.phonenumbers.PhoneNumberUtil.prototype.parse=function(e,t){return this.parseHelper_(e,t,!1,!0)},i18n.phonenumbers.PhoneNumberUtil.prototype.parseAndKeepRawInput=function(e,t){if(!this.isValidRegionCode_(t)&&0<e.length&&e.charAt(0)!=i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN)throw Error(i18n.phonenumbers.Error.INVALID_COUNTRY_CODE);return this.parseHelper_(e,t,!0,!0)},i18n.phonenumbers.PhoneNumberUtil.setItalianLeadingZerosForPhoneNumber_=function(e,t){if(1<e.length&&"0"==e.charAt(0)){t.setItalianLeadingZero(!0);for(var n=1;n<e.length-1&&"0"==e.charAt(n);)n++;1!=n&&t.setNumberOfLeadingZeros(n)}},i18n.phonenumbers.PhoneNumberUtil.prototype.parseHelper_=function(e,t,n,r){if(null==e)throw Error(i18n.phonenumbers.Error.NOT_A_NUMBER);if(e.length>i18n.phonenumbers.PhoneNumberUtil.MAX_INPUT_STRING_LENGTH_)throw Error(i18n.phonenumbers.Error.TOO_LONG);var o=new goog.string.StringBuffer;if(this.buildNationalNumberForParsing_(e,o),!i18n.phonenumbers.PhoneNumberUtil.isViablePhoneNumber(o.toString()))throw Error(i18n.phonenumbers.Error.NOT_A_NUMBER);if(r&&!this.checkRegionForParsing_(o.toString(),t))throw Error(i18n.phonenumbers.Error.INVALID_COUNTRY_CODE);r=new i18n.phonenumbers.PhoneNumber,n&&r.setRawInput(e),0<(e=this.maybeStripExtension(o)).length&&r.setExtension(e);var i=this.getMetadataForRegion(t);e=new goog.string.StringBuffer;var a=0,s=o.toString();try{a=this.maybeExtractCountryCode(s,i,e,n,r)}catch(l){if(l.message!=i18n.phonenumbers.Error.INVALID_COUNTRY_CODE||!i18n.phonenumbers.PhoneNumberUtil.LEADING_PLUS_CHARS_PATTERN.test(s))throw l;if(s=s.replace(i18n.phonenumbers.PhoneNumberUtil.LEADING_PLUS_CHARS_PATTERN,""),0==(a=this.maybeExtractCountryCode(s,i,e,n,r)))throw l}if(0!=a?(o=this.getRegionCodeForCountryCode(a))!=t&&(i=this.getMetadataForRegionOrCallingCode_(a,o)):(i18n.phonenumbers.PhoneNumberUtil.normalizeSB_(o),e.append(o.toString()),null!=t?(a=i.getCountryCodeOrDefault(),r.setCountryCode(a)):n&&r.clearCountryCodeSource()),e.getLength()<i18n.phonenumbers.PhoneNumberUtil.MIN_LENGTH_FOR_NSN_)throw Error(i18n.phonenumbers.Error.TOO_SHORT_NSN);if(null!=i&&(t=new goog.string.StringBuffer,o=new goog.string.StringBuffer(e.toString()),this.maybeStripNationalPrefixAndCarrierCode(o,i,t),(i=this.testNumberLength_(o.toString(),i))!=(a=i18n.phonenumbers.PhoneNumberUtil.ValidationResult).TOO_SHORT&&i!=a.IS_POSSIBLE_LOCAL_ONLY&&i!=a.INVALID_LENGTH&&(e=o,n&&0<t.toString().length&&r.setPreferredDomesticCarrierCode(t.toString()))),n=e.toString(),(e=n.length)<i18n.phonenumbers.PhoneNumberUtil.MIN_LENGTH_FOR_NSN_)throw Error(i18n.phonenumbers.Error.TOO_SHORT_NSN);if(e>i18n.phonenumbers.PhoneNumberUtil.MAX_LENGTH_FOR_NSN_)throw Error(i18n.phonenumbers.Error.TOO_LONG);return i18n.phonenumbers.PhoneNumberUtil.setItalianLeadingZerosForPhoneNumber_(n,r),r.setNationalNumber(parseInt(n,10)),r},i18n.phonenumbers.PhoneNumberUtil.prototype.buildNationalNumberForParsing_=function(e,t){var n=e.indexOf(i18n.phonenumbers.PhoneNumberUtil.RFC3966_PHONE_CONTEXT_);if(0<=n){var r=n+i18n.phonenumbers.PhoneNumberUtil.RFC3966_PHONE_CONTEXT_.length;if(e.charAt(r)==i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN){var o=e.indexOf(";",r);0<o?t.append(e.substring(r,o)):t.append(e.substring(r))}r=e.indexOf(i18n.phonenumbers.PhoneNumberUtil.RFC3966_PREFIX_),t.append(e.substring(0<=r?r+i18n.phonenumbers.PhoneNumberUtil.RFC3966_PREFIX_.length:0,n))}else t.append(i18n.phonenumbers.PhoneNumberUtil.extractPossibleNumber(e));0<(n=(e=t.toString()).indexOf(i18n.phonenumbers.PhoneNumberUtil.RFC3966_ISDN_SUBADDRESS_))&&(t.clear(),t.append(e.substring(0,n)))},i18n.phonenumbers.PhoneNumberUtil.copyCoreFieldsOnly_=function(e){var t=new i18n.phonenumbers.PhoneNumber;return t.setCountryCode(e.getCountryCodeOrDefault()),t.setNationalNumber(e.getNationalNumberOrDefault()),0<e.getExtensionOrDefault().length&&t.setExtension(e.getExtensionOrDefault()),e.getItalianLeadingZero()&&(t.setItalianLeadingZero(!0),t.setNumberOfLeadingZeros(e.getNumberOfLeadingZerosOrDefault())),t},i18n.phonenumbers.PhoneNumberUtil.prototype.isNumberMatch=function(e,t){if("string"==typeof e)try{var n=this.parse(e,i18n.phonenumbers.PhoneNumberUtil.UNKNOWN_REGION_)}catch(f){if(f.message!=i18n.phonenumbers.Error.INVALID_COUNTRY_CODE)return i18n.phonenumbers.PhoneNumberUtil.MatchType.NOT_A_NUMBER;if("string"!=typeof t){var r=this.getRegionCodeForCountryCode(t.getCountryCodeOrDefault());if(r!=i18n.phonenumbers.PhoneNumberUtil.UNKNOWN_REGION_){try{n=this.parse(e,r)}catch(i){return i18n.phonenumbers.PhoneNumberUtil.MatchType.NOT_A_NUMBER}var o=this.isNumberMatch(n,t);return o==i18n.phonenumbers.PhoneNumberUtil.MatchType.EXACT_MATCH?i18n.phonenumbers.PhoneNumberUtil.MatchType.NSN_MATCH:o}}try{n=this.parseHelper_(e,null,!1,!1)}catch(i){return i18n.phonenumbers.PhoneNumberUtil.MatchType.NOT_A_NUMBER}}else n=e.clone();if("string"==typeof t)try{return o=this.parse(t,i18n.phonenumbers.PhoneNumberUtil.UNKNOWN_REGION_),this.isNumberMatch(e,o)}catch(f){return f.message!=i18n.phonenumbers.Error.INVALID_COUNTRY_CODE?i18n.phonenumbers.PhoneNumberUtil.MatchType.NOT_A_NUMBER:this.isNumberMatch(t,n)}else o=t.clone();return e=i18n.phonenumbers.PhoneNumberUtil.copyCoreFieldsOnly_(n),o=i18n.phonenumbers.PhoneNumberUtil.copyCoreFieldsOnly_(o),e.hasExtension()&&o.hasExtension()&&e.getExtension()!=o.getExtension()?i18n.phonenumbers.PhoneNumberUtil.MatchType.NO_MATCH:(t=e.getCountryCodeOrDefault(),n=o.getCountryCodeOrDefault(),0!=t&&0!=n?e.equals(o)?i18n.phonenumbers.PhoneNumberUtil.MatchType.EXACT_MATCH:t==n&&this.isNationalNumberSuffixOfTheOther_(e,o)?i18n.phonenumbers.PhoneNumberUtil.MatchType.SHORT_NSN_MATCH:i18n.phonenumbers.PhoneNumberUtil.MatchType.NO_MATCH:(e.setCountryCode(0),o.setCountryCode(0),e.equals(o)?i18n.phonenumbers.PhoneNumberUtil.MatchType.NSN_MATCH:this.isNationalNumberSuffixOfTheOther_(e,o)?i18n.phonenumbers.PhoneNumberUtil.MatchType.SHORT_NSN_MATCH:i18n.phonenumbers.PhoneNumberUtil.MatchType.NO_MATCH))},i18n.phonenumbers.PhoneNumberUtil.prototype.isNationalNumberSuffixOfTheOther_=function(e,t){return e=""+e.getNationalNumber(),t=""+t.getNationalNumber(),goog.string.endsWith(e,t)||goog.string.endsWith(t,e)},i18n.phonenumbers.PhoneNumberUtil.prototype.canBeInternationallyDialled=function(e){var t=this.getMetadataForRegion(this.getRegionCodeForNumber(e));return null==t||(e=this.getNationalSignificantNumber(e),!this.isNumberMatchingDesc_(e,t.getNoInternationalDialling()))},i18n.phonenumbers.PhoneNumberUtil.matchesEntirely=function(e,t){return!(!(e="string"==typeof e?t.match("^(?:"+e+")$"):t.match(e))||e[0].length!=t.length)},i18n.phonenumbers.PhoneNumberUtil.matchesPrefix=function(e,t){return!(!(e="string"==typeof e?t.match("^(?:"+e+")"):t.match(e))||!goog.string.startsWith(t,e[0]))},i18n.phonenumbers.shortnumbermetadata={},i18n.phonenumbers.shortnumbermetadata.countryCodeToRegionCodeMap={0:"AC AD AE AF AG AI AL AM AO AR AS AT AU AW AX AZ BA BB BD BE BF BG BH BI BJ BL BM BN BO BQ BR BS BT BW BY BZ CA CC CD CF CG CH CI CK CL CM CN CO CR CU CV CW CX CY CZ DE DJ DK DM DO DZ EC EE EG EH ER ES ET FI FJ FK FM FO FR GA GB GD GE GF GG GH GI GL GM GN GP GR GT GU GW GY HK HN HR HT HU ID IE IL IM IN IQ IR IS IT JE JM JO JP KE KG KH KI KM KN KP KR KW KY KZ LA LB LC LI LK LR LS LT LU LV LY MA MC MD ME MF MG MH MK ML MM MN MO MP MQ MR MS MT MU MV MW MX MY MZ NA NC NE NF NG NI NL NO NP NR NU NZ OM PA PE PF PG PH PK PL PM PR PS PT PW PY QA RE RO RS RU RW SA SB SC SD SE SG SH SI SJ SK SL SM SN SO SR SS ST SV SX SY SZ TC TD TG TH TJ TL TM TN TO TR TT TV TW TZ UA UG US UY UZ VA VC VE VG VI VN VU WF WS XK YE YT ZA ZM ZW".split(" ")},i18n.phonenumbers.shortnumbermetadata.countryToMetadata={AC:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:11|99)",,,,"911"],[,,,,,,,,,[-1]],,,,"AC",,,,,,,,,,,,,,,,,,[,,"9(?:11|99)",,,,"911"],,[,,"9(?:11|99)",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],AD:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[0268]",,,,"110"],[,,,,,,,,,[-1]],,,,"AD",,,,,,,,,,,,,,,,,,[,,"11[0268]",,,,"110"],,[,,"11[0268]",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],AE:[,[,,"[149]\\d{2,3}",,,,,,,[3,4]],,,[,,"112|99[7-9]",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"AE",,,,,,,,,,,,,,,,,,[,,"112|99[7-9]",,,,"112",,,[3]],,[,,"112|445[16]|99[7-9]",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"445\\d",,,,"4450",,,[4]]],AF:[,[,,"[14]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"1(?:0[02]|19)",,,,"100",,,[3]],[,,,,,,,,,[-1]],,,,"AF",,,,,,,,,,,,,,,,,,[,,"1(?:0[02]|19)",,,,"100",,,[3]],,[,,"1(?:0[02]|19)|40404",,,,"100"],[,,,,,,,,,[-1]],[,,"404\\d\\d",,,,"40400",,,[5]],,[,,"404\\d\\d",,,,"40400",,,[5]]],AG:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"9(?:11|99)",,,,"911"],[,,,,,,,,,[-1]],,,,"AG",,,,,,,,,,,,,,,,,,[,,"9(?:11|99)",,,,"911"],,[,,"176|9(?:11|99)",,,,"176"],[,,,,,,,,,[-1]],[,,"176",,,,"176"],,[,,"176",,,,"176"]],AI:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"911",,,,"911"],[,,,,,,,,,[-1]],,,,"AI",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"176|911",,,,"176"],[,,,,,,,,,[-1]],[,,"176",,,,"176"],,[,,"176",,,,"176"]],AL:[,[,,"[15]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:1(?:2|6[01]\\d\\d)|2[7-9]|3[15]|41)",,,,"112",,,[3,6]],[,,"5\\d{4}",,,,"50000",,,[5]],,,,"AL",,,,,,,,,,,,,,,,,,[,,"1(?:12|2[7-9])",,,,"112",,,[3]],,[,,"1(?:1(?:6(?:000|1(?:06|11|23))|8\\d\\d)|65\\d|89[12])|5\\d{4}|1(?:[1349]\\d|2[2-9])",,,,"110"],[,,,,,,,,,[-1]],[,,"123",,,,"123",,,[3]],,[,,"131|5\\d{4}",,,,"131",,,[3,5]]],AM:[,[,,"[148]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"10[1-3]",,,,"101",,,[3]],[,,,,,,,,,[-1]],,,,"AM",,,,,,,,,,,,,,,,,,[,,"10[1-3]",,,,"101",,,[3]],,[,,"(?:1|8[1-7])\\d\\d|40404",,,,"100"],[,,,,,,,,,[-1]],[,,"404\\d\\d",,,,"40400",,,[5]],,[,,"404\\d\\d",,,,"40400",,,[5]]],AO:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[235]",,,,"112"],[,,,,,,,,,[-1]],,,,"AO",,,,,,,,,,,,,,,,,,[,,"11[235]",,,,"112"],,[,,"11[235]",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],AR:[,[,,"[01389]\\d{1,4}",,,,,,,[2,3,4,5]],,,[,,"000|1(?:0[0-35-7]|1[0245]|2[015]|3[47]|4[478]|9)|911",,,,"19",,,[2,3]],[,,,,,,,,,[-1]],,,,"AR",,,,,,,,,,,,,,,,,,[,,"10[017]|911",,,,"100",,,[3]],,[,,"000|1(?:0[0-35-7]|1[02-5]|2[015]|3[47]|4[478]|9)|3372|89338|911",,,,"19"],[,,,,,,,,,[-1]],[,,"893\\d\\d",,,,"89300",,,[5]],,[,,"(?:337|893\\d)\\d",,,,"3370",,,[4,5]]],AS:[,[,,"[49]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"911",,,,"911",,,[3]],[,,,,,,,,,[-1]],,,,"AS",,,,,,,,,,,,,,,,,,[,,"911",,,,"911",,,[3]],,[,,"40404|911",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"404\\d\\d",,,,"40400",,,[5]]],AT:[,[,,"1\\d\\d(?:\\d{3})?",,,,,,,[3,6]],,,[,,"116\\d{3}|1(?:[12]2|33|44)",,,,"112"],[,,,,,,,,,[-1]],,,,"AT",,,,,,,,,,,,,,,,,,[,,"1(?:[12]2|33|44)",,,,"112",,,[3]],,[,,"116(?:00[06]|1(?:17|23))|1(?:[12]2|33|44)",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],AU:[,[,,"[0-27]\\d{2,7}",,,,,,,[3,4,5,6,7,8]],,,[,,"000|1(?:06|12|258885|55\\d)|733",,,,"000",,,[3,4,7]],[,,"1(?:2(?:34|456)|9\\d{4,6})",,,,"1234",,,[4,5,6,7,8]],,,,"AU",,,,,,,,,,,,,,,,,,[,,"000|1(?:06|12)",,,,"000",,,[3]],,[,,"000|1(?:06|1(?:00|2|9[46])|2(?:014[1-3]|[23]\\d|(?:4|5\\d)\\d{2,3}|68[689]|72(?:20|3\\d\\d)|8(?:[013-9]\\d|2))|555|9\\d{4,6})|225|7(?:33|67)",,,,"000"],[,,"1(?:1[09]\\d|24733)|225|767",,,,"225",,,[3,4,6]],[,,"1(?:258885|55\\d)",,,,"1550",,,[4,7]],,[,,"19\\d{4,6}",,,,"190000",,,[6,7,8]]],AW:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"100|911",,,,"100"],[,,,,,,,,,[-1]],,,,"AW",,,,,,,,,,,,,,,,,,[,,"100|911",,,,"100"],,[,,"1(?:00|18|76)|91[13]",,,,"100"],[,,,,,,,,,[-1]],[,,"176",,,,"176"],,[,,"176",,,,"176"]],AX:[,[,,"[17]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"112",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"AX",,,,,,,,,,,,,,,,,,[,,"112",,,,"112",,,[3]],,[,,"112|75[12]\\d\\d",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],AZ:[,[,,"[148]\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:0[1-3]|12)",,,,"101",,,[3]],[,,,,,,,,,[-1]],,,,"AZ",,,,,,,,,,,,,,,,,,[,,"1(?:0[1-3]|12)",,,,"101",,,[3]],,[,,"1(?:0[1-3]|12)|(?:404|880)0",,,,"101"],[,,,,,,,,,[-1]],[,,"(?:404|880)\\d",,,,"4040",,,[4]],,[,,"(?:404|880)\\d",,,,"4040",,,[4]]],BA:[,[,,"1\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:16\\d{3}|2[2-4])",,,,"122",,,[3,6]],[,,,,,,,,,[-1]],,,,"BA",,,,,,,,,,,,,,,,,,[,,"12[2-4]",,,,"122",,,[3]],,[,,"1(?:16(?:00[06]|1(?:1[17]|23))|2(?:0[0-7]|[2-5]|6[0-26])|(?:[3-5]|7\\d)\\d\\d)|1(?:18|2[78])\\d\\d?",,,,"122"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],BB:[,[,,"[2-689]\\d\\d",,,,,,,[3]],,,[,,"[2359]11",,,,"211"],[,,,,,,,,,[-1]],,,,"BB",,,,,,,,,,,,,,,,,,[,,"[2359]11",,,,"211"],,[,,"[2-689]11",,,,"211"],[,,,,,,,,,[-1]],[,,"[468]11",,,,"411"],,[,,,,,,,,,[-1]]],BD:[,[,,"[1579]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"10[0-26]|[19]99",,,,"100",,,[3]],[,,,,,,,,,[-1]],,,,"BD",,,,,,,,,,,,,,,,,,[,,"10[0-2]|[19]99",,,,"100",,,[3]],,[,,"1(?:0(?:[0-369]|5[1-4]|7[0-4]|8[0-29])|1[16-9]|2(?:[134]|2[0-5])|3(?:1\\d?|6[3-6])|5[2-9])|5012|786|9594|[19]99|1(?:0(?:50|6\\d)|33|4(?:0|1\\d))\\d",,,,"100"],[,,,,,,,,,[-1]],[,,"1(?:11|2[13])|(?:501|959)\\d|786",,,,"111",,,[3,4]],,[,,"959\\d",,,,"9590",,,[4]]],BE:[,[,,"[1-9]\\d\\d(?:\\d(?:\\d{2})?)?",,,,,,,[3,4,6]],,,[,,"1(?:0[0-25-8]|1[02]|7(?:12|77)|813)|(?:116|8)\\d{3}",,,,"100"],[,,"1(?:2[03]|40)4|(?:1(?:[24]1|3[01])|[2-79]\\d\\d)\\d",,,,"1204",,,[4]],,,,"BE",,,,,,,,,,,,,,,,,,[,,"1(?:0[01]|12)",,,,"100",,,[3]],,[,,"1(?:0[0-8]|1(?:[027]|6117)|2(?:12|3[0-24])|313|414|5(?:1[05]|5[15]|66|95)|6(?:1[167]|36|6[16])|7(?:[07][017]|1[27-9]|22|33|65)|81[39])|[2-9]\\d{3}|1(?:1600|45)0|1(?:[2-4]9|78)9|1[2-4]0[47]",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"[2-9]\\d{3}",,,,"2000",,,[4]]],BF:[,[,,"1\\d",,,,,,,[2]],,,[,,"1[78]",,,,"17"],[,,,,,,,,,[-1]],,,,"BF",,,,,,,,,,,,,,,,,,[,,"1[78]",,,,"17"],,[,,"1[78]",,,,"17"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],BG:[,[,,"1\\d\\d(?:\\d{3})?",,,,,,,[3,6]],,,[,,"1(?:1(?:2|6\\d{3})|50|6[06])",,,,"112"],[,,,,,,,,,[-1]],,,,"BG",,,,,,,,,,,,,,,,,,[,,"1(?:12|50|6[06])",,,,"112",,,[3]],,[,,"1(?:1(?:2|6(?:000|111))|50|6[06])",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],BH:[,[,,"[0189]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"(?:0[167]|81)\\d{3}|[19]99",,,,"199"],[,,"9[148]\\d{3}",,,,"91000",,,[5]],,,,"BH",,,,,,,,,,,,,,,,,,[,,"[19]99",,,,"199",,,[3]],,[,,"1(?:[02]\\d|12|4[01]|51|8[18]|9[169])|99[02489]|(?:0[167]|8[158]|9[148])\\d{3}",,,,"100"],[,,,,,,,,,[-1]],[,,"0[67]\\d{3}|88000|98555",,,,"06000",,,[5]],,[,,"88000|98555",,,,"88000",,,[5]]],BI:[,[,,"[16-9]\\d{2,3}",,,,,,,[3,4]],,,[,,"11[237]|611",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"BI",,,,,,,,,,,,,,,,,,[,,"11[237]",,,,"112",,,[3]],,[,,"1(?:1\\d|5[2-9]|6[0-256])|611|7(?:10|77|979)|8[28]8|900",,,,"110"],[,,,,,,,,,[-1]],[,,"611|7(?:10|77)|888|900",,,,"611",,,[3]],,[,,"(?:71|90)0",,,,"710",,,[3]]],BJ:[,[,,"[17]\\d{2,3}",,,,,,,[3,4]],,,[,,"11[78]|7[3-5]\\d\\d",,,,"117"],[,,,,,,,,,[-1]],,,,"BJ",,,,,,,,,,,,,,,,,,[,,"11[78]",,,,"117",,,[3]],,[,,"1(?:1[78]|2[02-5]|60)|7[0-5]\\d\\d",,,,"117"],[,,,,,,,,,[-1]],[,,"12[02-5]",,,,"120",,,[3]],,[,,,,,,,,,[-1]]],BL:[,[,,"1\\d",,,,,,,[2]],,,[,,"18",,,,"18"],[,,,,,,,,,[-1]],,,,"BL",,,,,,,,,,,,,,,,,,[,,"18",,,,"18"],,[,,"18",,,,"18"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],BM:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"911",,,,"911"],[,,,,,,,,,[-1]],,,,"BM",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"176|911",,,,"176"],[,,,,,,,,,[-1]],[,,"176",,,,"176"],,[,,"176",,,,"176"]],BN:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"99[135]",,,,"991"],[,,,,,,,,,[-1]],,,,"BN",,,,,,,,,,,,,,,,,,[,,"99[135]",,,,"991"],,[,,"99[135]",,,,"991"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],BO:[,[,,"[14]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"11[089]",,,,"110",,,[3]],[,,,,,,,,,[-1]],,,,"BO",,,,,,,,,,,,,,,,,,[,,"11[089]",,,,"110",,,[3]],,[,,"11[089]|40404",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"404\\d\\d",,,,"40400",,,[5]]],BQ:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"112|911",,,,"112"],[,,,,,,,,,[-1]],,,,"BQ",,,,,,,,,,,,,,,,,,[,,"112|911",,,,"112"],,[,,"1(?:12|76)|911",,,,"112"],[,,,,,,,,,[-1]],[,,"176",,,,"176"],,[,,"176",,,,"176"]],BR:[,[,,"[1-69]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:00|12|28|8[015]|9[0-47-9])|4(?:57|82\\d)|911",,,,"100",,,[3,4]],[,,,,,,,,,[-1]],,,,"BR",,,,,,,,,,,,,,,,,,[,,"1(?:12|28|9[023])|911",,,,"112",,,[3]],,[,,"1(?:0(?:[02]|3(?:1[2-579]|2[13-9]|3[124-9]|4[1-3578]|5[1-468]|6[139]|8[149]|9[168])|5[0-35-9]|6(?:0|1[0-35-8]?|2[0145]|3[0137]?|4[37-9]?|5[0-35]|6[016]?|7[137]?|8[5-8]|9[1359]))|1[25-8]|2[357-9]|3[024-68]|4[12568]|5\\d|6[0-8]|8[015]|9[0-47-9])|2(?:7(?:330|878)|85959?)|(?:32|91)1|4(?:0404?|57|828)|55555|6(?:0\\d{4}|10000)|(?:133|411)[12]",,,,"100"],[,,"102|273\\d\\d|321",,,,"102",,,[3,5]],[,,"151|(?:278|555)\\d\\d|4(?:04\\d\\d?|11\\d|57)",,,,"151",,,[3,4,5]],,[,,"285\\d{2,3}|321|40404|(?:27[38]\\d|482)\\d|6(?:0\\d|10)\\d{3}",,,,"321"]],BS:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"91[19]",,,,"911"],[,,,,,,,,,[-1]],,,,"BS",,,,,,,,,,,,,,,,,,[,,"91[19]",,,,"911"],,[,,"91[19]",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],BT:[,[,,"[14]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"11[023]",,,,"110",,,[3]],[,,,,,,,,,[-1]],,,,"BT",,,,,,,,,,,,,,,,,,[,,"11[023]",,,,"110",,,[3]],,[,,"11[0-6]|40404",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"404\\d\\d",,,,"40400",,,[5]]],BW:[,[,,"[19]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"9(?:11|9[7-9])",,,,"911",,,[3]],[,,,,,,,,,[-1]],,,,"BW",,,,,,,,,,,,,,,,,,[,,"9(?:11|9[7-9])",,,,"911",,,[3]],,[,,"1(?:1[26]|3123)|9(?:1[14]|9[1-57-9])",,,,"112"],[,,,,,,,,,[-1]],[,,"131\\d\\d",,,,"13100",,,[5]],,[,,"131\\d\\d",,,,"13100",,,[5]]],BY:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"1(?:0[1-3]|12)",,,,"101"],[,,,,,,,,,[-1]],,,,"BY",,,,,,,,,,,,,,,,,,[,,"1(?:0[1-3]|12)",,,,"101"],,[,,"1(?:0[1-79]|1[246]|35|5[1-35]|6[89]|7[5-7]|8[58]|9[1-7])",,,,"101"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],BZ:[,[,,"9\\d\\d?",,,,,,,[2,3]],,,[,,"9(?:0|11)",,,,"90"],[,,,,,,,,,[-1]],,,,"BZ",,,,,,,,,,,,,,,,,,[,,"9(?:0|11)",,,,"90"],,[,,"9(?:0|11)",,,,"90"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CA:[,[,,"[1-9]\\d\\d(?:\\d\\d(?:\\d(?:\\d{2})?)?)?",,,,,,,[3,5,6,8]],,,[,,"112|[29]11",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"CA",,,,,,,,,,,,,,,,,,[,,"112|911",,,,"112",,,[3]],,[,,"112|30000\\d{3}|[1-35-9]\\d{4,5}|[2-9]11",,,,"112"],[,,,,,,,,,[-1]],[,,"[235-7]11",,,,"211",,,[3]],,[,,"300\\d{5}|[1-35-9]\\d{4,5}",,,,"10000",,,[5,6,8]]],CC:[,[,,"[01]\\d\\d",,,,,,,[3]],,,[,,"000|112",,,,"000"],[,,,,,,,,,[-1]],,,,"CC",,,,,,,,,,,,,,,,,,[,,"000|112",,,,"000"],,[,,"000|112",,,,"000"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CD:[,[,,"[14]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"1(?:1[348]|77|88)",,,,"113",,,[3]],[,,,,,,,,,[-1]],,,,"CD",,,,,,,,,,,,,,,,,,[,,"1(?:1[348]|77|88)",,,,"113",,,[3]],,[,,"1(?:1[348]|23|77|88)|40404",,,,"113"],[,,,,,,,,,[-1]],[,,"404\\d\\d",,,,"40400",,,[5]],,[,,"404\\d\\d",,,,"40400",,,[5]]],CF:[,[,,"1\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:1[78]|22\\d)",,,,"117"],[,,,,,,,,,[-1]],,,,"CF",,,,,,,,,,,,,,,,,,[,,"1(?:1[78]|220)",,,,"117"],,[,,"1(?:1[478]|220)",,,,"114"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CG:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[178]",,,,"111"],[,,,,,,,,,[-1]],,,,"CG",,,,,,,,,,,,,,,,,,[,,"11[78]",,,,"117"],,[,,"11[126-8]",,,,"111"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CH:[,[,,"[1-9]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:1(?:[278]|6\\d{3})|4[47])|5200",,,,"112",,,[3,4,6]],[,,"1(?:14|8[01589])\\d|543|83111",,,,"543",,,[3,4,5]],,,,"CH",,,,,,,,,,,,,,,,,,[,,"1(?:1[278]|44)",,,,"112",,,[3]],,[,,"1(?:0[78]\\d\\d|1(?:[278]|45|6(?:000|111))|4(?:[03-57]|1[45])|6(?:00|[1-46])|8(?:02|1[189]|50|7|8[08]|99))|[2-9]\\d{2,4}",,,,"112"],[,,"1(?:4[035]|6[1-46])|1(?:41|60)\\d",,,,"140",,,[3,4]],[,,"5(?:200|35)",,,,"535",,,[3,4]],,[,,"[2-9]\\d{2,4}",,,,"200",,,[3,4,5]]],CI:[,[,,"[14]\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:1[01]|[78]0)",,,,"110",,,[3]],[,,,,,,,,,[-1]],,,,"CI",,,,,,,,,,,,,,,,,,[,,"1(?:1[01]|[78]0)",,,,"110",,,[3]],,[,,"1(?:1[01]|[78]0)|4443",,,,"110"],[,,,,,,,,,[-1]],[,,"444\\d",,,,"4440",,,[4]],,[,,"444\\d",,,,"4440",,,[4]]],CK:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"99[689]",,,,"996"],[,,,,,,,,,[-1]],,,,"CK",,,,,,,,,,,,,,,,,,[,,"99[689]",,,,"996"],,[,,"99[689]",,,,"996"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CL:[,[,,"[1-9]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"1(?:213|3[1-3])|434\\d|911",,,,"131",,,[3,4]],[,,"1(?:211|3(?:13|[348]0|5[01]))|(?:1(?:[05]6|[48]1|9[18])|2(?:01\\d|[23]2|77|88)|3(?:0[59]|13|3[279]|66)|4(?:[12]4|36\\d|4[017]|55)|5(?:00|41\\d|5[67]|99)|6(?:07\\d|13|22|3[06]|50|69)|787|8(?:[01]1|[48]8)|9(?:01|[12]0|33))\\d",,,,"1060",,,[4,5]],,,,"CL",,,,,,,,,,,,,,,,,,[,,"13[1-3]|911",,,,"131",,,[3]],,[,,"1(?:00|21[13]|3(?:13|[348]0|5[01])|4(?:0[02-6]|17|[379])|818|919)|2(?:0(?:01|122)|22[47]|323|777|882)|3(?:0(?:51|99)|132|3(?:29|[37]7)|665)|43656|5(?:(?:00|415)4|5(?:66|77)|995)|6(?:131|222|366|699)|7878|8(?:011|11[28]|482|889)|9(?:01|1)1|13\\d|4(?:[13]42|243|4(?:02|15|77)|554)|(?:1(?:[05]6|98)|339|6(?:07|[35])0|9(?:[12]0|33))0",,,,"100"],[,,"(?:200|333)\\d",,,,"2000",,,[4]],[,,,,,,,,,[-1]],,[,,"13(?:13|[348]0|5[01])|(?:1(?:[05]6|[28]1|4[01]|9[18])|2(?:0(?:0|1\\d)|[23]2|77|88)|3(?:0[59]|13|3[2379]|66)|436\\d|5(?:00|41\\d|5[67]|99)|6(?:07\\d|13|22|3[06]|50|69)|787|8(?:[01]1|[48]8)|9(?:01|[12]0|33))\\d|4(?:[1-3]4|4[017]|55)\\d",,,,"1060",,,[4,5]]],CM:[,[,,"[18]\\d{1,3}",,,,,,,[2,3,4]],,,[,,"1(?:1[37]|[37])",,,,"13",,,[2,3]],[,,,,,,,,,[-1]],,,,"CM",,,,,,,,,,,,,,,,,,[,,"1(?:1[37]|[37])",,,,"13",,,[2,3]],,[,,"1(?:1[37]|[37])|8711",,,,"13"],[,,,,,,,,,[-1]],[,,"871\\d",,,,"8710",,,[4]],,[,,"871\\d",,,,"8710",,,[4]]],CN:[,[,,"[19]\\d\\d(?:\\d{2,3})?",,,,,,,[3,5,6]],,,[,,"1(?:1[09]|20)",,,,"110",,,[3]],[,,,,,,,,,[-1]],,,,"CN",,,,,,,,,,,,,,,,,,[,,"1(?:1[09]|20)",,,,"110",,,[3]],,[,,"1(?:00\\d\\d|1[029]|20)|95\\d{3,4}",,,,"110"],[,,"1(?:00\\d\\d|12)|95\\d{3,4}",,,,"112"],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CO:[,[,,"[148]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"1(?:1[29]|23|32|56)",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"CO",,,,,,,,,,,,,,,,,,[,,"1(?:1[29]|23|32|56)",,,,"112",,,[3]],,[,,"1(?:06|1[2-9]|2[35-7]|3[27]|4[467]|5[36]|6[4-7]|95)|40404|85432",,,,"106"],[,,,,,,,,,[-1]],[,,"(?:40|85)4\\d\\d",,,,"40400",,,[5]],,[,,"(?:40|85)4\\d\\d",,,,"40400",,,[5]]],CR:[,[,,"[1359]\\d{2,3}",,,,,,,[3,4]],,,[,,"112|911",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"CR",,,,,,,,,,,,,,,,,,[,,"112|911",,,,"112",,,[3]],,[,,"1(?:0(?:00|15|2[2-4679])|1(?:1[0-35-9]|2|37|[46]6|7[57]|8[79]|9[0-379])|2(?:00|[12]2|34|55)|3(?:21|33)|4(?:0[06]|1[4-6])|5(?:15|5[15])|693|7(?:00|1[7-9]|2[02]|[67]7)|975)|3855|5(?:0(?:30|49)|510)|911",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"(?:385|5(?:0[34]|51))\\d",,,,"3850",,,[4]]],CU:[,[,,"[12]\\d\\d(?:\\d{3,4})?",,,,,,,[3,6,7]],,,[,,"10[4-7]|(?:116|204\\d)\\d{3}",,,,"104"],[,,,,,,,,,[-1]],,,,"CU",,,,,,,,,,,,,,,,,,[,,"10[4-6]",,,,"104",,,[3]],,[,,"1(?:0[4-7]|1(?:6111|8)|40)|2045252",,,,"104"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CV:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"13[0-2]",,,,"130"],[,,,,,,,,,[-1]],,,,"CV",,,,,,,,,,,,,,,,,,[,,"13[0-2]",,,,"130"],,[,,"13[0-2]",,,,"130"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CW:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"112|911",,,,"112"],[,,,,,,,,,[-1]],,,,"CW",,,,,,,,,,,,,,,,,,[,,"112|911",,,,"112"],,[,,"1(?:12|76)|911",,,,"112"],[,,,,,,,,,[-1]],[,,"176",,,,"176"],,[,,"176",,,,"176"]],CX:[,[,,"[01]\\d\\d",,,,,,,[3]],,,[,,"000|112",,,,"000"],[,,,,,,,,,[-1]],,,,"CX",,,,,,,,,,,,,,,,,,[,,"000|112",,,,"000"],,[,,"000|112",,,,"000"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CY:[,[,,"1\\d\\d(?:\\d{3})?",,,,,,,[3,6]],,,[,,"1(?:1(?:2|6\\d{3})|99)",,,,"112"],[,,,,,,,,,[-1]],,,,"CY",,,,,,,,,,,,,,,,,,[,,"1(?:12|99)",,,,"112",,,[3]],,[,,"1(?:1(?:2|6(?:000|111))|99)",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CZ:[,[,,"1\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:1(?:2|6(?:00[06]|1(?:11|23)))|5[0568])",,,,"112",,,[3,6]],[,,,,,,,,,[-1]],,,,"CZ",,,,,,,,,,,,,,,,,,[,,"1(?:12|5[0568])",,,,"112",,,[3]],,[,,"1(?:1(?:2|8\\d)|(?:2|3\\d)\\d{2,3}|5[0568]|99)|1(?:16|4)\\d{3}",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],DE:[,[,,"1\\d\\d(?:\\d{2,3})?",,,,,,,[3,5,6]],,,[,,"11(?:[02]|6\\d{3})",,,,"110",,,[3,6]],[,,,,,,,,,[-1]],,,,"DE",,,,,,,,,,,,,,,,,,[,,"11[02]",,,,"110",,,[3]],,[,,"11(?:[025]|6(?:00[06]|1(?:1[167]|23))|800\\d)|118\\d\\d",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],DJ:[,[,,"1\\d",,,,,,,[2]],,,[,,"1[78]",,,,"17"],[,,,,,,,,,[-1]],,,,"DJ",,,,,,,,,,,,,,,,,,[,,"1[78]",,,,"17"],,[,,"1[78]",,,,"17"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],DK:[,[,,"1\\d\\d(?:\\d(?:\\d{2})?)?",,,,,,,[3,4,6]],,,[,,"11(?:[24]|6\\d{3})",,,,"112",,,[3,6]],[,,,,,,,,,[-1]],,,,"DK",,,,,,,,,,,,,,,,,,[,,"11[24]",,,,"112",,,[3]],,[,,"1(?:1(?:[2-48]|6(?:00[06]|111))|8(?:[08]1|1[0238]|28|30|5[13]))",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],DM:[,[,,"[39]\\d\\d",,,,,,,[3]],,,[,,"333|9(?:11|99)",,,,"333"],[,,,,,,,,,[-1]],,,,"DM",,,,,,,,,,,,,,,,,,[,,"333|9(?:11|99)",,,,"333"],,[,,"333|9(?:11|99)",,,,"333"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],DO:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"112|911",,,,"112"],[,,,,,,,,,[-1]],,,,"DO",,,,,,,,,,,,,,,,,,[,,"112|911",,,,"112"],,[,,"112|911",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],DZ:[,[,,"[17]\\d{1,3}",,,,,,,[2,3,4]],,,[,,"1(?:12|[47]|54\\d)",,,,"14"],[,,,,,,,,,[-1]],,,,"DZ",,,,,,,,,,,,,,,,,,[,,"1(?:12|[47])",,,,"14",,,[2,3]],,[,,"1(?:055|12|[47]|548)|730",,,,"14"],[,,,,,,,,,[-1]],[,,"730",,,,"730",,,[3]],,[,,"730",,,,"730",,,[3]]],EC:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"1(?:0[12]|12)|911",,,,"101"],[,,,,,,,,,[-1]],,,,"EC",,,,,,,,,,,,,,,,,,[,,"1(?:0[12]|12)|911",,,,"101"],,[,,"1(?:0[12]|12)|911",,,,"101"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],EE:[,[,,"1\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:1(?:[02]|6\\d{3})|2(?:05|28)|3(?:014|3(?:21|5\\d?)|660)|492|5(?:1[03]|410|501)|6(?:112|333|644)|7(?:012|127|89)|8(?:10|8[57])|9(?:0[134]|14))",,,,"110"],[,,"1(?:18(?:00|[12458]\\d?)|2(?:0(?:[02-46-8]\\d?|1[0-36])|1(?:[0-4]\\d?|6[06])|2(?:[0-4]\\d?|5[25])|[367]|4(?:0[04]|[12]\\d?|4[24]|54)|55[12457])|3(?:0(?:[02]\\d?|1[13578]|3[356])|1[1347]|2[02-5]|3(?:[01347]\\d?|2[023]|88)|4(?:[35]\\d?|4[34])|5(?:3[134]|5[035])|666)|4(?:2(?:00|4\\d?)|4(?:0[01358]|1[024]|50|7\\d?)|900)|5(?:0[0-35]|1(?:[1267]\\d?|5[0-7]|82)|2(?:[014-6]\\d?|22)|330|4(?:[35]\\d?|44)|5(?:00|[1-69]\\d?)|9(?:[159]\\d?|[38]0|77))|6(?:1(?:00|1[19]|[35-9]\\d?)|2(?:2[26]|[68]\\d?)|3(?:22|36|6[36])|5|6(?:[0-359]\\d?|6[0-26])|7(?:00|55|7\\d?|8[89])|9(?:00|1\\d?|69))|7(?:0(?:[023]\\d?|1[0578])|1(?:00|2[034]|[4-9]\\d?)|2(?:[07]\\d?|20|44)|7(?:[0-57]\\d?|9[79])|8(?:0[08]|2\\d?|8[0178])|9(?:00|97))|8(?:1[127]|8[1268]|9[269])|9(?:0(?:[02]\\d?|69|9[0269])|1[1-3689]|21))",,,,"123",,,[3,4,5]],,,,"EE",,,,,,,,,,,,,,,,,,[,,"11[02]",,,,"110",,,[3]],,[,,"1(?:1(?:[02-579]|6(?:000|111)|8(?:[09]\\d|[1-8]))|2[36-9]|3[7-9]|4[05-7]|5[6-8]|6[05]|7[3-6]|8[02-7]|9[3-9])|1(?:2[0-245]|3[0-6]|4[1-489]|5[0-59]|6[1-46-9]|7[0-27-9]|8[189]|9[0-2])\\d\\d?",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"1(?:18[1258]|2(?:0(?:1[036]|[46]\\d?)|166|21|4(?:0[04]|1\\d?|5[47])|[67])|3(?:0(?:1[13-578]|2\\d?|3[56])|1[15]|2[045]|3(?:[13]\\d?|2[13])|43|5(?:00|3[34]|53))|44(?:0[0135]|14|50|7\\d?)|5(?:05|1(?:[12]\\d?|5[1246]|8[12])|2(?:[01]\\d?|22)|3(?:00|3[03])|4(?:15|5\\d?)|500|9(?:5\\d?|77|80))|6(?:1[35-8]|226|3(?:22|3[36]|66)|644|7(?:00|7\\d?|89)|9(?:00|69))|7(?:01[258]|1(?:00|[15]\\d?)|2(?:44|7\\d?)|8(?:00|87|9\\d?))|8(?:1[128]|8[56]|9(?:[26]\\d?|77))|90(?:2\\d?|69|92))",,,,"126",,,[3,4,5]]],EG:[,[,,"[13]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"1(?:2[23]|80)",,,,"122",,,[3]],[,,,,,,,,,[-1]],,,,"EG",,,,,,,,,,,,,,,,,,[,,"1(?:2[23]|80)",,,,"122",,,[3]],,[,,"1(?:2[23]|[69]\\d{3}|80)|34400",,,,"122"],[,,,,,,,,,[-1]],[,,"344\\d\\d",,,,"34400",,,[5]],,[,,"344\\d\\d",,,,"34400",,,[5]]],EH:[,[,,"1\\d\\d?",,,,,,,[2,3]],,,[,,"1(?:[59]|77)",,,,"15"],[,,,,,,,,,[-1]],,,,"EH",,,,,,,,,,,,,,,,,,[,,"1(?:[59]|77)",,,,"15"],,[,,"1(?:[59]|77)",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],ER:[,[,,"[12]\\d\\d(?:\\d{3})?",,,,,,,[3,6]],,,[,,"11[2-46]|(?:12[47]|20[12])\\d{3}",,,,"112"],[,,,,,,,,,[-1]],,,,"ER",,,,,,,,,,,,,,,,,,[,,"1(?:1[2-46]|24422)|20(?:1(?:606|917)|2914)|(?:1277|2020)99",,,,"112"],,[,,"1(?:1[2-6]|24422)|20(?:1(?:606|917)|2914)|(?:1277|2020)99",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],ES:[,[,,"[0-379]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"0(?:16|6[57]|8[58])|1(?:006|12|[3-7]\\d\\d)|(?:116|20\\d)\\d{3}",,,,"016",,,[3,4,6]],[,,"[12]2\\d{1,4}|90(?:5\\d|7)|(?:118|2(?:[357]\\d|80)|3[357]\\d)\\d\\d|[79]9[57]\\d{3}",,,,"120"],,,,"ES",,,,,,,,,,,,,,,,,,[,,"08[58]|112",,,,"085",,,[3]],,[,,"0(?:1[0-26]|6[0-257]|8[058]|9[12])|1(?:0[03-57]\\d{1,3}|1(?:2|6(?:000|111)|8\\d\\d)|2\\d{1,4}|[3-9]\\d\\d)|2(?:2\\d{1,4}|80\\d\\d)|90(?:5[124578]|7)|1(?:3[34]|77)|(?:2[01]\\d|[79]9[57])\\d{3}|[23][357]\\d{3}",,,,"010"],[,,"0(?:[16][0-2]|80|9[12])|21\\d{4}",,,,"010",,,[3,6]],[,,"1(?:3[34]|77)|[12]2\\d{1,4}",,,,"120"],,[,,"(?:2[0-2]\\d|3[357]|[79]9[57])\\d{3}|2(?:[2357]\\d|80)\\d\\d",,,,"22000",,,[5,6]]],ET:[,[,,"9\\d\\d?",,,,,,,[2,3]],,,[,,"9(?:07|11?|2|39?|9[17])",,,,"91"],[,,,,,,,,,[-1]],,,,"ET",,,,,,,,,,,,,,,,,,[,,"9(?:11?|2|39?|9[17])",,,,"91"],,[,,"9(?:07|11?|2|39?|45|9[17])",,,,"91"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],FI:[,[,,"[17]\\d\\d(?:\\d{2,3})?",,,,,,,[3,5,6]],,,[,,"11(?:2|6\\d{3})",,,,"112",,,[3,6]],[,,,,,,,,,[-1]],,,,"FI",,,,,,,,,,,,,,,,,,[,,"112",,,,"112",,,[3]],,[,,"11(?:2|6(?:00[06]|11[17]))|75[12]\\d\\d",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],FJ:[,[,,"[0-579]\\d(?:\\d(?:\\d{2})?)?",,,,,,,[2,3,5]],,,[,,"91[17]",,,,"911",,,[3]],[,,,,,,,,,[-1]],,,,"FJ",,,,,,,,,,,,,,,,,,[,,"91[17]",,,,"911",,,[3]],,[,,"0(?:1[34]|8[1-4])|1(?:0[1-3]|[25]9)|2[289]|30|40404|91[137]|[45]4|75",,,,"22"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"404\\d\\d",,,,"40400",,,[5]]],FK:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"999",,,,"999"],[,,,,,,,,,[-1]],,,,"FK",,,,,,,,,,,,,,,,,,[,,"999",,,,"999"],,[,,"1\\d\\d|999",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],FM:[,[,,"[39]\\d\\d(?:\\d{3})?",,,,,,,[3,6]],,,[,,"320\\d{3}|911",,,,"911"],[,,,,,,,,,[-1]],,,,"FM",,,,,,,,,,,,,,,,,,[,,"(?:32022|91)1",,,,"911"],,[,,"(?:32022|91)1",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],FO:[,[,,"1\\d{2,3}",,,,,,,[3,4]],,,[,,"11[24]",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"FO",,,,,,,,,,,,,,,,,,[,,"11[24]",,,,"112",,,[3]],,[,,"11[248]|1(?:4[124]|71|8[7-9])\\d",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],FR:[,[,,"[1-8]\\d{1,5}",,,,,,,[2,3,4,5,6]],,,[,,"1(?:0(?:07|[13]3)|1[02459]|[578]|9[167])|224|(?:3370|74)0|(?:116\\d|3[01])\\d\\d",,,,"15"],[,,"(?:118|[4-8]\\d)\\d{3}|36665",,,,"36665",,,[5,6]],,,,"FR",,,,,,,,,,,,,,,,,,[,,"1(?:12|[578])",,,,"15",,,[2,3]],,[,,"1(?:0\\d\\d|1(?:[02459]|6(?:000|111)|8\\d{3})|[578]|9[167])|2(?:0(?:00|2)0|24)|[3-8]\\d{4}|3\\d{3}|6(?:1[14]|34)|7(?:0[06]|22|40)",,,,"15"],[,,"10(?:[134]4|2[23]|5\\d|99)|202\\d|3(?:646|9[07]0)|634|70[06]|(?:106|61)[14]",,,,"611",,,[3,4]],[,,"118777|224|6(?:1[14]|34)|7(?:0[06]|22|40)|20(?:0\\d|2)\\d",,,,"224",,,[3,4,5,6]],,[,,"114|[3-8]\\d{4}",,,,"114",,,[3,5]]],GA:[,[,,"1\\d(?:\\d{2})?",,,,,,,[2,4]],,,[,,"18|1(?:3\\d|73)\\d",,,,"18"],[,,,,,,,,,[-1]],,,,"GA",,,,,,,,,,,,,,,,,,[,,"1(?:3\\d\\d|730|8)",,,,"18"],,[,,"1(?:3\\d\\d|730|8)",,,,"18"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],GB:[,[,,"[1-46-9]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:05|1(?:[29]|6\\d{3})|7[56]\\d|8000)|2(?:20\\d|48)|4444|999",,,,"105"],[,,,,,,,,,[-1]],,,,"GB",,,,,,,,,,,,,,,,,,[,,"112|999",,,,"112",,,[3]],,[,,"1(?:0[015]|1(?:[129]|6(?:000|1(?:11|23))|8\\d{3})|2(?:[1-3]|50)|33|4(?:1|7\\d)|571|7(?:0\\d|[56]0)|800\\d|9[15])|2(?:0202|1300|2(?:02|11)|3(?:02|336|45)|4(?:25|8))|3[13]3|4(?:0[02]|35[01]|44[45]|5\\d)|(?:[68]\\d|7[089])\\d{3}|15\\d|2[02]2|650|789|9(?:01|99)",,,,"100"],[,,,,,,,,,[-1]],[,,"1(?:(?:25|7[56])\\d|571)|2(?:02(?:\\d{2})?|[13]3\\d\\d|48)|4444|901",,,,"202",,,[3,4,5]],,[,,"(?:125|2(?:020|13\\d)|(?:7[089]|8[01])\\d\\d)\\d",,,,"1250",,,[4,5]]],GD:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"911",,,,"911"],[,,,,,,,,,[-1]],,,,"GD",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"176|911",,,,"176"],[,,,,,,,,,[-1]],[,,"176",,,,"176"],,[,,"176",,,,"176"]],GE:[,[,,"[014]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"0(?:11|33)|11[1-3]|[01]22",,,,"011",,,[3]],[,,,,,,,,,[-1]],,,,"GE",,,,,,,,,,,,,,,,,,[,,"0(?:11|33)|11[1-3]|[01]22",,,,"011",,,[3]],,[,,"0(?:11|33)|11[1-3]|40404|[01]22",,,,"011"],[,,,,,,,,,[-1]],[,,"404\\d\\d",,,,"40400",,,[5]],,[,,"404\\d\\d",,,,"40400",,,[5]]],GF:[,[,,"1\\d",,,,,,,[2]],,,[,,"1[578]",,,,"15"],[,,,,,,,,,[-1]],,,,"GF",,,,,,,,,,,,,,,,,,[,,"1[578]",,,,"15"],,[,,"1[578]",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],GG:[,[,,"[19]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"112|999",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"GG",,,,,,,,,,,,,,,,,,[,,"112|999",,,,"112",,,[3]],,[,,"1(?:0[01]|1[12]|23|41|55|9[05])|999|1(?:1[68]\\d\\d|47|800)\\d",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],GH:[,[,,"[14589]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"19[1-3]|999",,,,"191",,,[3]],[,,,,,,,,,[-1]],,,,"GH",,,,,,,,,,,,,,,,,,[,,"19[1-3]|999",,,,"191",,,[3]],,[,,"19[1-3]|40404|(?:54|83)00|999",,,,"191"],[,,,,,,,,,[-1]],[,,"404\\d\\d|(?:54|83)0\\d",,,,"5400",,,[4,5]],,[,,"404\\d\\d|(?:54|83)0\\d",,,,"5400",,,[4,5]]],GI:[,[,,"[158]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:00|1[25]|23|4(?:1|7\\d)|5[15]|9[02-49])|555|(?:116\\d|80)\\d\\d",,,,"100",,,[3,4,6]],[,,"8[1-69]\\d\\d",,,,"8100",,,[4]],,,,"GI",,,,,,,,,,,,,,,,,,[,,"1(?:12|9[09])",,,,"112",,,[3]],,[,,"1(?:00|1(?:[25]|6(?:00[06]|1(?:1[17]|23))|8\\d\\d)|23|4(?:1|7[014])|5[015]|9[02-49])|555|8[0-79]\\d\\d|8(?:00|4[0-2]|8[0-589])",,,,"100"],[,,"150|87\\d\\d",,,,"150",,,[3,4]],[,,"1(?:00|1(?:5|8\\d\\d)|23|51|9[2-4])|555|8(?:00|4[0-2]|8[0-589])",,,,"100",,,[3,5]],,[,,,,,,,,,[-1]]],GL:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"112",,,,"112"],[,,,,,,,,,[-1]],,,,"GL",,,,,,,,,,,,,,,,,,[,,"112",,,,"112"],,[,,"112",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],GM:[,[,,"1\\d\\d?",,,,,,,[2,3]],,,[,,"1(?:1[6-8]|[6-8])",,,,"16"],[,,,,,,,,,[-1]],,,,"GM",,,,,,,,,,,,,,,,,,[,,"1(?:1[6-8]|[6-8])",,,,"16"],,[,,"1(?:1[6-8]|[6-8])",,,,"16"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],GN:[,[,,"[14]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,,"GN",,,,,,,,,,,,,,,,,,[,,,,,,,,,[-1]],,[,,"12\\d|40404",,,,"120"],[,,,,,,,,,[-1]],[,,"404\\d\\d",,,,"40400",,,[5]],,[,,"404\\d\\d",,,,"40400",,,[5]]],GP:[,[,,"1\\d",,,,,,,[2]],,,[,,"1[578]",,,,"15"],[,,,,,,,,,[-1]],,,,"GP",,,,,,,,,,,,,,,,,,[,,"1[578]",,,,"15"],,[,,"1[578]",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],GR:[,[,,"1\\d\\d(?:\\d{2,3})?",,,,,,,[3,5,6]],,,[,,"1(?:0[089]|1(?:2|6\\d{3})|66|99)",,,,"100",,,[3,6]],[,,,,,,,,,[-1]],,,,"GR",,,,,,,,,,,,,,,,,,[,,"1(?:00|12|66|99)",,,,"100",,,[3]],,[,,"1(?:0[089]|1(?:2|320|6(?:000|1(?:1[17]|23)))|(?:389|9)9|66)",,,,"100"],[,,"113\\d\\d",,,,"11300",,,[5]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],GT:[,[,,"[14]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"1(?:10|2[03])",,,,"110",,,[3]],[,,,,,,,,,[-1]],,,,"GT",,,,,,,,,,,,,,,,,,[,,"1(?:10|2[03])",,,,"110",,,[3]],,[,,"110|40404|1(?:2|[57]\\d)\\d",,,,"110"],[,,,,,,,,,[-1]],[,,"404\\d\\d",,,,"40400",,,[5]],,[,,"404\\d\\d",,,,"40400",,,[5]]],GU:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"911",,,,"911"],[,,,,,,,,,[-1]],,,,"GU",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"911",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],GW:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[378]",,,,"113"],[,,,,,,,,,[-1]],,,,"GW",,,,,,,,,,,,,,,,,,[,,"11[378]",,,,"113"],,[,,"11[378]",,,,"113"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],GY:[,[,,"[019]\\d{2,3}",,,,,,,[3,4]],,,[,,"91[1-3]",,,,"911",,,[3]],[,,,,,,,,,[-1]],,,,"GY",,,,,,,,,,,,,,,,,,[,,"91[1-3]",,,,"911",,,[3]],,[,,"0(?:02|(?:17|80)1|444|7(?:[67]7|9)|9(?:0[78]|[2-47]))|1(?:443|5[568])|91[1-3]",,,,"002"],[,,,,,,,,,[-1]],[,,"144\\d",,,,"1440",,,[4]],,[,,"144\\d",,,,"1440",,,[4]]],HK:[,[,,"[19]\\d{2,6}",,,,,,,[3,4,5,6,7]],,,[,,"112|99[29]",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"HK",,,,,,,,,,,,,,,,,,[,,"112|99[29]",,,,"112",,,[3]],,[,,"1(?:0(?:(?:[0136]\\d|2[14])\\d{0,3}|8[138])|12|2(?:[0-3]\\d{0,4}|(?:58|8[13])\\d{0,3})|7(?:[135-9]\\d{0,4}|219\\d{0,2})|8(?:0(?:(?:[13]|60\\d)\\d|8)|1(?:0\\d|[2-8])|2(?:0[5-9]|(?:18|2)2|3|8[128])|(?:(?:3[0-689]\\d|7(?:2[1-389]|8[0235-9]|93))\\d|8)\\d|50[138]|6(?:1(?:11|86)|8)))|99[29]|10[0139]",,,,"100"],[,,,,,,,,,[-1]],[,,"109|1(?:08|85\\d)\\d",,,,"109",,,[3,4,5]],,[,,"992",,,,"992",,,[3]]],HN:[,[,,"[14]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"199",,,,"199",,,[3]],[,,,,,,,,,[-1]],,,,"HN",,,,,,,,,,,,,,,,,,[,,"199",,,,"199",,,[3]],,[,,"199|40404",,,,"199"],[,,,,,,,,,[-1]],[,,"404\\d\\d",,,,"40400",,,[5]],,[,,"404\\d\\d",,,,"40400",,,[5]]],HR:[,[,,"[19]\\d{1,5}",,,,,,,[2,3,4,5,6]],,,[,,"1(?:12|9[2-4])|9[34]|1(?:16\\d|39)\\d\\d",,,,"93",,,[2,3,5,6]],[,,"118\\d\\d",,,,"11800",,,[5]],,,,"HR",,,,,,,,,,,,,,,,,,[,,"1(?:12|9[2-4])|9[34]",,,,"93",,,[2,3]],,[,,"1(?:1(?:2|6(?:00[06]|1(?:1[17]|23))|8\\d\\d)|3977|9(?:[2-5]|87))|9[34]",,,,"93"],[,,,,,,,,,[-1]],[,,"139\\d\\d",,,,"13900",,,[5]],,[,,"139\\d\\d",,,,"13900",,,[5]]],HT:[,[,,"[14]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"11[48]",,,,"114",,,[3]],[,,,,,,,,,[-1]],,,,"HT",,,,,,,,,,,,,,,,,,[,,"11[48]",,,,"114",,,[3]],,[,,"11[48]|40404",,,,"114"],[,,,,,,,,,[-1]],[,,"404\\d\\d",,,,"40400",,,[5]],,[,,"404\\d\\d",,,,"40400",,,[5]]],HU:[,[,,"1\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:0[457]|1(?:2|6\\d{3}))",,,,"104",,,[3,6]],[,,,,,,,,,[-1]],,,,"HU",,,,,,,,,,,,,,,,,,[,,"1(?:0[457]|12)",,,,"104",,,[3]],,[,,"1(?:0[457]|1(?:2|6(?:000|1(?:11|23)))|2(?:20|7[02])|37(?:00|37|7[07])|414|777|8(?:1[27-9]|2[04]|40|[589]))",,,,"104"],[,,,,,,,,,[-1]],[,,"1(?:2[27]|41|77)\\d",,,,"1220",,,[4]],,[,,"184\\d",,,,"1840",,,[4]]],ID:[,[,,"[178]\\d\\d(?:\\d{2,3})?",,,,,,,[3,5,6]],,,[,,"11[02389]",,,,"110",,,[3]],[,,,,,,,,,[-1]],,,,"ID",,,,,,,,,,,,,,,,,,[,,"11[02389]",,,,"110",,,[3]],,[,,"1(?:1[02389]|40\\d\\d|50264)|71400|89887",,,,"110"],[,,,,,,,,,[-1]],[,,"(?:714|898)\\d\\d",,,,"71400",,,[5]],,[,,"714\\d\\d",,,,"71400",,,[5]]],IE:[,[,,"[159]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"11(?:2|6\\d{3})|999",,,,"112",,,[3,6]],[,,"5[37]\\d{3}",,,,"53000",,,[5]],,,,"IE",,,,,,,,,,,,,,,,,,[,,"112|999",,,,"112",,,[3]],,[,,"11(?:2|6(?:00[06]|1(?:1[17]|23)))|999|(?:1(?:18|9)|5[0137]\\d)\\d\\d",,,,"112"],[,,"51\\d{3}",,,,"51000",,,[5]],[,,"51210",,,,"51210",,,[5]],,[,,"51210|(?:118|5[037]\\d)\\d\\d",,,,"11800",,,[5]]],IL:[,[,,"[12]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"1(?:0[0-2]|12)",,,,"100",,,[3]],[,,,,,,,,,[-1]],,,,"IL",,,,,,,,,,,,,,,,,,[,,"1(?:0[0-2]|12)",,,,"100",,,[3]],,[,,"1(?:0[0-2]|1(?:[013-9]\\d|2)|[2-9]\\d\\d)|2407|(?:104|27)00",,,,"100"],[,,,,,,,,,[-1]],[,,"104\\d\\d",,,,"10400",,,[5]],,[,,"104\\d\\d",,,,"10400",,,[5]]],IM:[,[,,"[189]\\d\\d(?:\\d{2,3})?",,,,,,,[3,5,6]],,,[,,"999",,,,"999",,,[3]],[,,,,,,,,,[-1]],,,,"IM",,,,,,,,,,,,,,,,,,[,,"999",,,,"999",,,[3]],,[,,"1\\d\\d(?:\\d{3})?|8(?:6444|9887)|999",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"8(?:64|98)\\d\\d",,,,"86400",,,[5]]],IN:[,[,,"[12578]\\d{2,8}",,,,,,,[3,4,5,6,7,8,9]],,,[,,"1(?:0[0-248]|1[289]|21|[39][89]|4[01]|6(?:1|6\\d?)|8[12])|777|800|1[05]5\\d|1(?:07|51|94)\\d\\d?|(?:1(?:[05]5\\d|70)\\d|261)\\d|1(?:0[369]|10|29|3[126]|9[0-256])\\d",,,,"100",,,[3,4,5,6]],[,,"11[67]\\d{4}|56161561",,,,"1160000",,,[7,8]],,,,"IN",,,,,,,,,,,,,,,,,,[,,"1(?:0[0-28]|12|298)|2611",,,,"100",,,[3,4]],,[,,"1(?:0(?:[0-248]|3[39]|5(?:010|6)|6[3468]|7(?:[01357]|[28]0?|4[01])|9[0135-9])|1(?:00|[289])|2(?:1|98)|3(?:11|2[0-2]|63|[89])|4[01]|5(?:1(?:0[0-36]|[127])|54)|6(?:1|6[01]?)|7000|8[12]|9(?:0[013-59]|12|25|4[4-9]\\d?|50|6[1347]|[89]))|2611|5(?:0(?:0(?:0\\d|1|20?)|325|5[2-79]\\d{3,5})|1(?:234|555|717|818|96[49])|2(?:0(?:0[01]|[14]0)|151|555|666|888|9(?:06|99\\d?))|3(?:0[01]0|131|553|(?:66|77)6)|(?:464|55[05])\\d{1,3}|6(?:070|3[68]|43)|717\\d)|777|800|5(?:05(?:0|1\\d)|221|3(?:03|3[23]))\\d{1,4}|5(?:(?:04|88)0|2(?:2[0267]|3[16])|4(?:1[04]|20|3[02])|5(?:3[16]|67)|6(?:06|[67]\\d)|787|9(?:64|90))\\d\\d?|(?:1(?:05[79]|(?:1[67][0-2]|802)\\d|55[23])\\d|5(?:(?:00(?:0\\d|1)|(?:304|616)\\d\\d)\\d|1(?:0[12]|4[2-4])|2(?:2[3589]|3(?:1\\d{3}|2)|4[04]|7[78])|4(?:[02]4|32\\d{4}|4[04]|99)|5(?:1[25]|[36]5|4[45]|93)|7(?:(?:17\\d|57)\\d\\d|[27]7|88)|8(?:3[4-69]|4[01]|5[58]|88(?:8\\d\\d|9)|99)|9(?:0(?:0|2\\d{3})|55|6[67]|77|88)))\\d",,,,"100"],[,,"5(?:14(?:2[5-9]|[34]\\d)|757555)",,,,"51425",,,[5,7]],[,,"1(?:(?:1[67]\\d\\d|70)\\d\\d|55330|909)|5(?:300\\d|6161(?:17[89]|561))|1(?:[19][89]|21|4[01])",,,,"118",,,[3,4,5,6,7,8]],,[,,"1(?:39|90[019])|5(?:14(?:2[5-9]|[34]\\d)|6161(?:17[89]|561)|757555)",,,,"139",,,[3,4,5,7,8]]],IQ:[,[,,"[1479]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"1(?:0[04]|15|22)",,,,"100",,,[3]],[,,,,,,,,,[-1]],,,,"IQ",,,,,,,,,,,,,,,,,,[,,"1(?:0[04]|15|22)",,,,"100",,,[3]],,[,,"1(?:0[04]|15|22)|4432|71117|9988",,,,"100"],[,,,,,,,,,[-1]],[,,"(?:443|711\\d|998)\\d",,,,"4430",,,[4,5]],,[,,"(?:443|711\\d|998)\\d",,,,"4430",,,[4,5]]],IR:[,[,,"[129]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:1[0-68]|2[0-59]|9[0-579])|911",,,,"110",,,[3]],[,,,,,,,,,[-1]],,,,"IR",,,,,,,,,,,,,,,,,,[,,"1(?:1[025]|25)|911",,,,"110",,,[3]],,[,,"1(?:1[0-68]|2[0-59]|3[346-8]|4(?:[0147]|[289]0)|5(?:0[14]|1[02479]|2[0-3]|39|[49]0|65)|6(?:[16]6|[27]|90)|8(?:03|1[18]|22|3[37]|4[28]|88|99)|9[0-579])|20(?:[09]0|1(?:[038]|1[079]|26|9[69])|2[01])|9(?:11|9(?:0009|90))",,,,"110"],[,,"1(?:5[0-469]|8[0-489])\\d",,,,"1500",,,[4]],[,,"(?:1(?:5[0-469]|8[0-489])|99(?:0\\d\\d|9))\\d",,,,"1500",,,[4,6]],,[,,"990\\d{3}",,,,"990000",,,[6]]],IS:[,[,,"1\\d\\d(?:\\d(?:\\d{2})?)?",,,,,,,[3,4,6]],,,[,,"1(?:12|71\\d)",,,,"112",,,[3,4]],[,,,,,,,,,[-1]],,,,"IS",,,,,,,,,,,,,,,,,,[,,"112",,,,"112",,,[3]],,[,,"1(?:1(?:[28]|61(?:16|23))|4(?:00|1[145]|4[0146])|55|7(?:00|17|7[07-9])|8(?:[02]0|1[16-9]|88)|900)",,,,"112"],[,,,,,,,,,[-1]],[,,"14(?:0\\d|41)",,,,"1400",,,[4]],,[,,"1(?:415|90\\d)",,,,"1415",,,[4]]],IT:[,[,,"[14]\\d{2,6}",,,,,,,[3,4,5,6,7]],,,[,,"1(?:1(?:[2358]|6\\d{3})|87)",,,,"112",,,[3,6]],[,,"(?:12|4(?:[478](?:[0-4]|[5-9]\\d\\d)|55))\\d\\d",,,,"1200",,,[4,5,7]],,,,"IT",,,,,,,,,,,,,,,,,,[,,"11[2358]",,,,"112",,,[3]],,[,,"1(?:0\\d{2,3}|1(?:[2-57-9]|6(?:000|111))|3[39]|4(?:82|9\\d{1,3})|5(?:00|1[58]|2[25]|3[03]|44|[59])|60|8[67]|9(?:[01]|2[2-9]|4\\d|696))|4(?:2323|5045)|(?:1(?:2|92[01])|4(?:3(?:[01]|[45]\\d\\d)|[478](?:[0-4]|[5-9]\\d\\d)|55))\\d\\d",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"4(?:3(?:[01]|[45]\\d\\d)|[478](?:[0-4]|[5-9]\\d\\d)|5[05])\\d\\d",,,,"43000",,,[5,7]]],JE:[,[,,"[129]\\d\\d(?:\\d(?:\\d{2})?)?",,,,,,,[3,4,6]],,,[,,"112|999",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"JE",,,,,,,,,,,,,,,,,,[,,"112|999",,,,"112",,,[3]],,[,,"1(?:00|1(?:2|8\\d{3})|23|4(?:[14]|28|7\\d)|5\\d|7(?:0[12]|[128]|35?)|808|9[0135])|23[2-4]|999",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],JM:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"11[029]|911",,,,"110"],[,,,,,,,,,[-1]],,,,"JM",,,,,,,,,,,,,,,,,,[,,"11[029]|911",,,,"110"],,[,,"1(?:1[029]|76)|911",,,,"110"],[,,,,,,,,,[-1]],[,,"176",,,,"176"],,[,,"176",,,,"176"]],JO:[,[,,"[19]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"1(?:1[24]|9[127])|911",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"JO",,,,,,,,,,,,,,,,,,[,,"1(?:12|9[127])|911",,,,"112",,,[3]],,[,,"1(?:09|1[0-248]|9[0-24-79])|9(?:0903|11|8788)",,,,"109"],[,,,,,,,,,[-1]],[,,"9(?:09|87)\\d\\d",,,,"90900",,,[5]],,[,,"9(?:09|87)\\d\\d",,,,"90900",,,[5]]],JP:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[089]",,,,"110"],[,,,,,,,,,[-1]],,,,"JP",,,,,,,,,,,,,,,,,,[,,"11[09]",,,,"110"],,[,,"1(?:0[24]|1[089]|44|89)",,,,"102"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],KE:[,[,,"[1-9]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"1(?:1(?:[246]|9\\d)|5(?:01|2[127]|6[26]\\d))|999",,,,"112"],[,,"909\\d\\d",,,,"90900",,,[5]],,,,"KE",,,,,,,,,,,,,,,,,,[,,"11[24]|999",,,,"112",,,[3]],,[,,"1(?:0(?:[07-9]|1[0-25]|400)|1(?:[024-6]|9[0-579])|2[1-3]|3[01]|4[14]|5(?:[01][01]|2[0-24-79]|33|4[05]|5[59]|6(?:00|29|6[67]))|(?:6[035]\\d|[78])\\d|9(?:[02-9]\\d\\d|19))|(?:(?:2[0-79]|[37][0-29]|4[0-4]|6[2357]|8\\d)\\d|5(?:[0-7]\\d|99))\\d\\d|9(?:09\\d\\d|99)|8988",,,,"100"],[,,,,,,,,,[-1]],[,,"1(?:(?:04|6[35])\\d\\d|3[01]|4[14]|5(?:1\\d|2[25]))|(?:(?:2[0-79]|[37][0-29]|4[0-4]|6[2357]|8\\d)\\d|5(?:[0-7]\\d|99)|909)\\d\\d|898\\d",,,,"130"],,[,,"1(?:(?:04|6[035])\\d\\d|4[14]|5(?:01|55|6[26]\\d))|40404|8988|909\\d\\d",,,,"141"]],KG:[,[,,"[14]\\d{2,3}",,,,,,,[3,4]],,,[,,"10[1-3]",,,,"101",,,[3]],[,,,,,,,,,[-1]],,,,"KG",,,,,,,,,,,,,,,,,,[,,"10[1-3]",,,,"101",,,[3]],,[,,"10[1-3]|4040",,,,"101"],[,,,,,,,,,[-1]],[,,"404\\d",,,,"4040",,,[4]],,[,,"404\\d",,,,"4040",,,[4]]],KH:[,[,,"[146]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"11[7-9]|666",,,,"117",,,[3]],[,,,,,,,,,[-1]],,,,"KH",,,,,,,,,,,,,,,,,,[,,"11[7-9]|666",,,,"117",,,[3]],,[,,"11[7-9]|40404|666",,,,"117"],[,,,,,,,,,[-1]],[,,"404\\d\\d",,,,"40400",,,[5]],,[,,"404\\d\\d",,,,"40400",,,[5]]],KI:[,[,,"[179]\\d{2,3}",,,,,,,[3,4]],,,[,,"19[2-5]|99[2-4]",,,,"192",,,[3]],[,,,,,,,,,[-1]],,,,"KI",,,,,,,,,,,,,,,,,,[,,"19[2-5]|99[2-4]",,,,"192",,,[3]],,[,,"1(?:05[0-259]|88|9[2-5])|777|99[2-4]|10[0-8]",,,,"100"],[,,"103",,,,"103",,,[3]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],KM:[,[,,"1\\d",,,,,,,[2]],,,[,,"1[78]",,,,"17"],[,,,,,,,,,[-1]],,,,"KM",,,,,,,,,,,,,,,,,,[,,"1[78]",,,,"17"],,[,,"1[78]",,,,"17"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],KN:[,[,,"[39]\\d\\d",,,,,,,[3]],,,[,,"333|9(?:11|99)",,,,"333"],[,,,,,,,,,[-1]],,,,"KN",,,,,,,,,,,,,,,,,,[,,"333|9(?:11|99)",,,,"333"],,[,,"333|9(?:11|99)",,,,"333"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],KP:[,[,,"[18]\\d\\d",,,,,,,[3]],,,[,,"11[29]|819",,,,"112"],[,,,,,,,,,[-1]],,,,"KP",,,,,,,,,,,,,,,,,,[,,"11[29]|819",,,,"112"],,[,,"11[29]|819",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],KR:[,[,,"1\\d{2,4}",,,,,,,[3,4,5]],,,[,,"1(?:1[27-9]|28|330|82)",,,,"112",,,[3,4]],[,,,,,,,,,[-1]],,,,"KR",,,,,,,,,,,,,,,,,,[,,"11[29]",,,,"112",,,[3]],,[,,"1(?:[016-9]114|3(?:0[01]|2|3[0-35-9]|45?|5[057]|6[569]|7[79]|8[2589]|9[0189]))|1(?:0[015]|1\\d|2[01357-9]|41|8[28])",,,,"100"],[,,,,,,,,,[-1]],[,,"1(?:0[01]|1[4-6]|41)|1(?:[06-9]1\\d|111)\\d",,,,"100",,,[3,5]],,[,,,,,,,,,[-1]]],KW:[,[,,"[18]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"112",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"KW",,,,,,,,,,,,,,,,,,[,,"112",,,,"112",,,[3]],,[,,"1[0-7]\\d|89887",,,,"100"],[,,,,,,,,,[-1]],[,,"898\\d\\d",,,,"89800",,,[5]],,[,,,,,,,,,[-1]]],KY:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"911",,,,"911"],[,,,,,,,,,[-1]],,,,"KY",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"911",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],KZ:[,[,,"[134]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"1(?:0[1-3]|12)",,,,"101",,,[3]],[,,,,,,,,,[-1]],,,,"KZ",,,,,,,,,,,,,,,,,,[,,"1(?:0[1-3]|12)",,,,"101",,,[3]],,[,,"1(?:0[1-4]|12)|(?:3040|404)0",,,,"101"],[,,,,,,,,,[-1]],[,,"(?:304\\d|404)\\d",,,,"4040",,,[4,5]],,[,,"(?:304\\d|404)\\d",,,,"4040",,,[4,5]]],LA:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"19[015]",,,,"190"],[,,,,,,,,,[-1]],,,,"LA",,,,,,,,,,,,,,,,,,[,,"19[015]",,,,"190"],,[,,"19[015]",,,,"190"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],LB:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"1(?:12|40|75)|999",,,,"112"],[,,,,,,,,,[-1]],,,,"LB",,,,,,,,,,,,,,,,,,[,,"1(?:12|40|75)|999",,,,"112"],,[,,"1(?:12|40|75)|999",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],LC:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:11|99)",,,,"911"],[,,,,,,,,,[-1]],,,,"LC",,,,,,,,,,,,,,,,,,[,,"9(?:11|99)",,,,"911"],,[,,"9(?:11|99)",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],LI:[,[,,"1\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:1[278]|44)",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"LI",,,,,,,,,,,,,,,,,,[,,"1(?:1[278]|44)",,,,"112",,,[3]],,[,,"1(?:1(?:[278]|45)|4[3-57]|50|75|81[18])",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],LK:[,[,,"1\\d{2,3}",,,,,,,[3,4]],,,[,,"11[02689]",,,,"110",,,[3]],[,,,,,,,,,[-1]],,,,"LK",,,,,,,,,,,,,,,,,,[,,"11[02689]",,,,"110",,,[3]],,[,,"1(?:1[024-9]|3(?:00|1[2-49]|2[23]|3[1-3]|44|5[07]|[67]9|88|9[039])|9(?:0[0-2589]|1[0-357-9]|2[0-25689]|3[0389]|4[0489]|5[014-69]|6[0-2689]|7[03579]|8[02457-9]|9[0-2569]))",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],LR:[,[,,"[3489]\\d{2,3}",,,,,,,[3,4]],,,[,,"355|911",,,,"355",,,[3]],[,,,,,,,,,[-1]],,,,"LR",,,,,,,,,,,,,,,,,,[,,"355|911",,,,"355",,,[3]],,[,,"355|4040|8(?:400|933)|911",,,,"355"],[,,,,,,,,,[-1]],[,,"(?:404|8(?:40|93))\\d",,,,"4040",,,[4]],,[,,"(?:404|8(?:40|93))\\d",,,,"4040",,,[4]]],LS:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[257]",,,,"112"],[,,,,,,,,,[-1]],,,,"LS",,,,,,,,,,,,,,,,,,[,,"11[257]",,,,"112"],,[,,"11[257]",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],LT:[,[,,"[01]\\d(?:\\d(?:\\d{3})?)?",,,,,,,[2,3,6]],,,[,,"0(?:11?|22?|33?)|1(?:0[1-3]|1(?:2|6111))|116(?:0\\d|12)\\d",,,,"01"],[,,,,,,,,,[-1]],,,,"LT",,,,,,,,,,,,,,,,,,[,,"0(?:11?|22?|33?)|1(?:0[1-3]|12)",,,,"01",,,[2,3]],,[,,"0(?:11?|22?|33?)|1(?:0[1-3]|1(?:[27-9]|6(?:000|1(?:1[17]|23))))",,,,"01"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],LU:[,[,,"1\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"11(?:[23]|6\\d{3})",,,,"112",,,[3,6]],[,,,,,,,,,[-1]],,,,"LU",,,,,,,,,,,,,,,,,,[,,"11[23]",,,,"112",,,[3]],,[,,"11(?:[23]|6(?:000|111))|1(?:18|[25]\\d|3)\\d\\d",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],LV:[,[,,"[018]\\d{1,5}",,,,,,,[2,3,4,5,6]],,,[,,"0[1-3]|11(?:[023]|6\\d{3})",,,,"01",,,[2,3,6]],[,,"1180|821\\d\\d",,,,"1180",,,[4,5]],,,,"LV",,,,,,,,,,,,,,,,,,[,,"0[1-3]|11[023]",,,,"01",,,[2,3]],,[,,"0[1-4]|1(?:1(?:[02-4]|6(?:000|111)|8[0189])|(?:5|65)5|77)|821[57]4",,,,"01"],[,,"1181",,,,"1181",,,[4]],[,,"165\\d",,,,"1650",,,[4]],,[,,,,,,,,,[-1]]],LY:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"19[013]",,,,"190"],[,,,,,,,,,[-1]],,,,"LY",,,,,,,,,,,,,,,,,,[,,"19[013]",,,,"190"],,[,,"19[013]",,,,"190"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MA:[,[,,"1\\d\\d?",,,,,,,[2,3]],,,[,,"1(?:[59]|77)",,,,"15"],[,,,,,,,,,[-1]],,,,"MA",,,,,,,,,,,,,,,,,,[,,"1(?:[59]|77)",,,,"15"],,[,,"1(?:[59]|77)",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MC:[,[,,"1\\d\\d?",,,,,,,[2,3]],,,[,,"1(?:12|[578])",,,,"15"],[,,,,,,,,,[-1]],,,,"MC",,,,,,,,,,,,,,,,,,[,,"1(?:12|[578])",,,,"15"],,[,,"1(?:12|41|[578])",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MD:[,[,,"[19]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"11(?:2|6(?:000|1(?:11|2\\d)))|90[1-3]",,,,"112",,,[3,6]],[,,,,,,,,,[-1]],,,,"MD",,,,,,,,,,,,,,,,,,[,,"112|90[1-3]",,,,"112",,,[3]],,[,,"1(?:1(?:2|6(?:00[06]|1(?:1[17]|23))|8\\d\\d?|99)|90[04-9])|90[1-3]|1(?:4\\d\\d|6[0-389]|9[1-4])\\d",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],ME:[,[,,"1\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:12|2[2-4])",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"ME",,,,,,,,,,,,,,,,,,[,,"1(?:12|2[2-4])",,,,"112",,,[3]],,[,,"1(?:1(?:(?:[013-57-9]|6\\d\\d)\\d|2)|[249]\\d{3}|5999|8(?:0[089]|1[0-8]|888))|1(?:[02-5]\\d\\d|60[06]|700)|12\\d",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MF:[,[,,"1\\d",,,,,,,[2]],,,[,,"1[578]",,,,"15"],[,,,,,,,,,[-1]],,,,"MF",,,,,,,,,,,,,,,,,,[,,"1[578]",,,,"15"],,[,,"1[578]",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MG:[,[,,"1\\d\\d?",,,,,,,[2,3]],,,[,,"1(?:1[78]|[78])",,,,"17"],[,,,,,,,,,[-1]],,,,"MG",,,,,,,,,,,,,,,,,,[,,"1(?:1[78]|[78])",,,,"17"],,[,,"1(?:1[78]|[78])",,,,"17"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MH:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"911",,,,"911"],[,,,,,,,,,[-1]],,,,"MH",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"911",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MK:[,[,,"1\\d\\d(?:\\d(?:\\d{2})?)?",,,,,,,[3,4,6]],,,[,,"1(?:1(?:2|6\\d{3})|9[2-4])",,,,"112",,,[3,6]],[,,,,,,,,,[-1]],,,,"MK",,,,,,,,,,,,,,,,,,[,,"1(?:12|9[2-4])",,,,"112",,,[3]],,[,,"1(?:1(?:2|8\\d)|3\\d|9[2-4])|1(?:16|2\\d)\\d{3}",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],ML:[,[,,"[136-8]\\d{1,4}",,,,,,,[2,3,4,5]],,,[,,"1[578]|(?:352|67)00|7402|(?:677|744|8000)\\d",,,,"15",,,[2,4,5]],[,,"(?:12|800)2\\d|3(?:52(?:11|2[02]|3[04-6]|99)|7574)",,,,"1220",,,[4,5]],,,,"ML",,,,,,,,,,,,,,,,,,[,,"1[578]",,,,"15",,,[2]],,[,,"1(?:1(?:[013-9]\\d|2)|2(?:1[02-469]|2[13])|[578])|350(?:35|57)|67(?:0[09]|[59]9|77|8[89])|74(?:0[02]|44|55)|800[0-2][12]|3(?:52|[67]\\d)\\d\\d",,,,"15"],[,,"37(?:433|575)|7400|8001\\d",,,,"7400",,,[4,5]],[,,"3503\\d|(?:3[67]\\d|800)\\d\\d",,,,"35030",,,[5]],,[,,"374(?:0[24-9]|[1-9]\\d)|7400|3(?:6\\d|75)\\d\\d",,,,"7400",,,[4,5]]],MM:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"199",,,,"199"],[,,,,,,,,,[-1]],,,,"MM",,,,,,,,,,,,,,,,,,[,,"199",,,,"199"],,[,,"199",,,,"199"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MN:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"10[0-35]",,,,"100"],[,,,,,,,,,[-1]],,,,"MN",,,,,,,,,,,,,,,,,,[,,"10[0-35]",,,,"100"],,[,,"10[0-35]",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MO:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"999",,,,"999"],[,,,,,,,,,[-1]],,,,"MO",,,,,,,,,,,,,,,,,,[,,"999",,,,"999"],,[,,"999",,,,"999"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MP:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"911",,,,"911"],[,,,,,,,,,[-1]],,,,"MP",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"911",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MQ:[,[,,"1\\d\\d?",,,,,,,[2,3]],,,[,,"1(?:12|[578])",,,,"15"],[,,,,,,,,,[-1]],,,,"MQ",,,,,,,,,,,,,,,,,,[,,"1(?:12|[578])",,,,"15"],,[,,"1(?:12|[578])",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MR:[,[,,"1\\d",,,,,,,[2]],,,[,,"1[78]",,,,"17"],[,,,,,,,,,[-1]],,,,"MR",,,,,,,,,,,,,,,,,,[,,"1[78]",,,,"17"],,[,,"1[78]",,,,"17"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MS:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:11|99)",,,,"911"],[,,,,,,,,,[-1]],,,,"MS",,,,,,,,,,,,,,,,,,[,,"9(?:11|99)",,,,"911"],,[,,"9(?:11|99)",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MT:[,[,,"1\\d\\d(?:\\d{3})?",,,,,,,[3,6]],,,[,,"11(?:2|6\\d{3})",,,,"112"],[,,,,,,,,,[-1]],,,,"MT",,,,,,,,,,,,,,,,,,[,,"112",,,,"112",,,[3]],,[,,"11(?:2|6(?:000|1(?:11|23)))",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MU:[,[,,"[189]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"11[45]|99[59]",,,,"114",,,[3]],[,,,,,,,,,[-1]],,,,"MU",,,,,,,,,,,,,,,,,,[,,"11[45]|99[59]",,,,"114",,,[3]],,[,,"1\\d{2,4}|(?:8\\d\\d|99)\\d",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MV:[,[,,"[14]\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:02|1[89])",,,,"102",,,[3]],[,,,,,,,,,[-1]],,,,"MV",,,,,,,,,,,,,,,,,,[,,"1(?:02|1[89])",,,,"102",,,[3]],,[,,"1(?:[0-37-9]|[4-6]\\d)\\d|4040|1[45]1",,,,"100"],[,,,,,,,,,[-1]],[,,"1[45]1",,,,"141",,,[3]],,[,,,,,,,,,[-1]]],MW:[,[,,"[189]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"199|99[7-9]",,,,"199",,,[3]],[,,,,,,,,,[-1]],,,,"MW",,,,,,,,,,,,,,,,,,[,,"199|99[7-9]",,,,"199",,,[3]],,[,,"199|80400|99[7-9]",,,,"199"],[,,,,,,,,,[-1]],[,,"804\\d\\d",,,,"80400",,,[5]],,[,,"804\\d\\d",,,,"80400",,,[5]]],MX:[,[,,"[0579]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"0(?:6[0568]|80)|911",,,,"060",,,[3]],[,,"(?:530\\d|776)\\d",,,,"7760",,,[4,5]],,,,"MX",,,,,,,,,,,,,,,,,,[,,"0(?:6[0568]|80)|911",,,,"060",,,[3]],,[,,"0[1-9]\\d|53053|7766|911",,,,"010"],[,,,,,,,,,[-1]],[,,"0(?:[249]0|[35][01])",,,,"020",,,[3]],,[,,,,,,,,,[-1]]],MY:[,[,,"[1369]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"112|999",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"MY",,,,,,,,,,,,,,,,,,[,,"112|999",,,,"112",,,[3]],,[,,"1(?:0[01348]|1(?:[02]|1[128]|311)|2(?:0[125]|[13-6]|2\\d{0,2})|(?:3[1-35-79]|7[45])\\d\\d?|5(?:454|5\\d\\d?|77|888|999?)|8(?:18?|2|8[18])|9(?:[124]\\d?|68|71|9[0679]))|66628|99[1-469]|13[5-7]|(?:1(?:0[569]|309|5[12]|7[136-9]|9[03])|3[23679]\\d\\d)\\d",,,,"100"],[,,"666\\d\\d",,,,"66600",,,[5]],[,,,,,,,,,[-1]],,[,,"(?:3[23679]\\d|666)\\d\\d",,,,"32000",,,[5]]],MZ:[,[,,"1\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:1[79]|9[78])",,,,"117",,,[3]],[,,,,,,,,,[-1]],,,,"MZ",,,,,,,,,,,,,,,,,,[,,"1(?:1[79]|9[78])",,,,"117",,,[3]],,[,,"1(?:[02-5]\\d\\d|1[79]|9[78])",,,,"117"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],NA:[,[,,"[19]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"10111",,,,"10111",,,[5]],[,,,,,,,,,[-1]],,,,"NA",,,,,,,,,,,,,,,,,,[,,"10111",,,,"10111",,,[5]],,[,,"(?:10|93)111|(?:1\\d|9)\\d\\d",,,,"900"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],NC:[,[,,"[135]\\d{1,3}",,,,,,,[2,3,4]],,,[,,"1(?:0(?:00|1[23]|3[0-2]|8\\d)|[5-8])|363\\d|577",,,,"15"],[,,,,,,,,,[-1]],,,,"NC",,,,,,,,,,,,,,,,,,[,,"1[5-8]",,,,"15",,,[2]],,[,,"1(?:0(?:0[06]|1[02-46]|20|3[0-25]|42|5[058]|77|88)|[5-8])|3631|5[6-8]\\d",,,,"15"],[,,"5(?:67|88)",,,,"567",,,[3]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],NE:[,[,,"[1-3578]\\d(?:\\d(?:\\d{3})?)?",,,,,,,[2,3,6]],,,[,,"1(?:18|[578])|723\\d{3}",,,,"15"],[,,,,,,,,,[-1]],,,,"NE",,,,,,,,,,,,,,,,,,[,,"1(?:18|[578])|723141",,,,"15"],,[,,"1(?:0[01]|1[128]|2[034]|3[013]|[46]0|55?|[78])|222|333|555|723141|888",,,,"15"],[,,,,,,,,,[-1]],[,,"1(?:0[01]|1[12]|2[034]|3[013]|[46]0|55)|222|333|555|888",,,,"100",,,[3]],,[,,,,,,,,,[-1]]],NF:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:11|55|77)",,,,"911"],[,,,,,,,,,[-1]],,,,"NF",,,,,,,,,,,,,,,,,,[,,"9(?:11|55|77)",,,,"911"],,[,,"9(?:11|55|77)",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],NG:[,[,,"[14]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"199",,,,"199",,,[3]],[,,,,,,,,,[-1]],,,,"NG",,,,,,,,,,,,,,,,,,[,,"199",,,,"199",,,[3]],,[,,"199|40700",,,,"199"],[,,,,,,,,,[-1]],[,,"407\\d\\d",,,,"40700",,,[5]],,[,,"407\\d\\d",,,,"40700",,,[5]]],NI:[,[,,"[12467]\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:1[58]|2[08])|737\\d",,,,"115"],[,,,,,,,,,[-1]],,,,"NI",,,,,,,,,,,,,,,,,,[,,"1(?:1[58]|2[08])",,,,"115",,,[3]],,[,,"1(?:1[58]|200)|4878|7(?:010|373)|12[0158]|(?:19|[267]1)00",,,,"115"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],NL:[,[,,"[1349]\\d\\d(?:\\d(?:\\d{2})?)?",,,,,,,[3,4,6]],,,[,,"11(?:2|6\\d{3})|911",,,,"112",,,[3,6]],[,,,,,,,,,[-1]],,,,"NL",,,,,,,,,,,,,,,,,,[,,"112|911",,,,"112",,,[3]],,[,,"1(?:1(?:2|6(?:00[06]|1(?:11|23)))|2(?:0[0-4]|3[34]|44)|3[03-9]\\d|400|8(?:[02-9]\\d|1[0-79]))|[34]000|911",,,,"112"],[,,,,,,,,,[-1]],[,,"120\\d",,,,"1200",,,[4]],,[,,"[34]00\\d",,,,"3000",,,[4]]],NO:[,[,,"1\\d\\d(?:\\d(?:\\d{2})?)?",,,,,,,[3,4,6]],,,[,,"11(?:[023]|6\\d{3})",,,,"110",,,[3,6]],[,,,,,,,,,[-1]],,,,"NO",,,,,,,,,,,,,,,,,,[,,"11[023]",,,,"110",,,[3]],,[,,"1(?:1(?:[0239]|61(?:1[17]|23))|2[048]|4(?:12|[59])|7[57]|8[5-9]\\d|90)",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],NP:[,[,,"1\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:0[0-36]|12)|1(?:09|11)\\d",,,,"100"],[,,,,,,,,,[-1]],,,,"NP",,,,,,,,,,,,,,,,,,[,,"1(?:0[0-3]|12)",,,,"100",,,[3]],,[,,"1(?:0(?:[0-36]|98)|1(?:1[1-4]|2))",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],NR:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[0-2]",,,,"110"],[,,,,,,,,,[-1]],,,,"NR",,,,,,,,,,,,,,,,,,[,,"11[0-2]",,,,"110"],,[,,"1(?:1[0-2]|23|92)",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],NU:[,[,,"[019]\\d\\d",,,,,,,[3]],,,[,,"999",,,,"999"],[,,,,,,,,,[-1]],,,,"NU",,,,,,,,,,,,,,,,,,[,,"999",,,,"999"],,[,,"01[05]|101|999",,,,"010"],[,,,,,,,,,[-1]],[,,"010",,,,"010"],,[,,,,,,,,,[-1]]],NZ:[,[,,"\\d{3,4}",,,,,,,[3,4]],,,[,,"111",,,,"111",,,[3]],[,,"018",,,,"018",,,[3]],,,,"NZ",,,,,,,,,,,,,,,,,,[,,"111",,,,"111",,,[3]],,[,,"018|1(?:(?:1|37)1|(?:23|94)4|7[03]7)|[2-57-9]\\d{2,3}|6(?:161|26[0-3]|742)",,,,"018"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"018|(?:1(?:23|37|7[03]|94)|6(?:[12]6|74))\\d|[2-57-9]\\d{2,3}",,,,"018"]],OM:[,[,,"[19]\\d{3}",,,,,,,[4]],,,[,,"1444|999\\d",,,,"1444"],[,,,,,,,,,[-1]],,,,"OM",,,,,,,,,,,,,,,,,,[,,"1444|9999",,,,"1444"],,[,,"1(?:111|222|4(?:4[0-5]|50|66|7[7-9])|51[0-8])|9999|1(?:2[3-5]|3[0-2]|50)\\d",,,,"1111"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PA:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"911",,,,"911"],[,,,,,,,,,[-1]],,,,"PA",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"10[2-4]|911",,,,"102"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PE:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"1(?:05|1[67])",,,,"105"],[,,,,,,,,,[-1]],,,,"PE",,,,,,,,,,,,,,,,,,[,,"1(?:05|1[67])",,,,"105"],,[,,"1(?:05|1[67])",,,,"105"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PF:[,[,,"1\\d",,,,,,,[2]],,,[,,"1[578]",,,,"15"],[,,,,,,,,,[-1]],,,,"PF",,,,,,,,,,,,,,,,,,[,,"1[578]",,,,"15"],,[,,"1[578]",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PG:[,[,,"[01]\\d{2,6}",,,,,,,[3,4,5,6,7]],,,[,,"000|11[01]",,,,"000",,,[3]],[,,,,,,,,,[-1]],,,,"PG",,,,,,,,,,,,,,,,,,[,,"000|11[01]",,,,"000",,,[3]],,[,,"000|1(?:1[01]|5\\d\\d|6\\d{2,5})",,,,"000"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"16\\d{2,5}",,,,"1600",,,[4,5,6,7]]],PH:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"11[27]|911",,,,"112"],[,,,,,,,,,[-1]],,,,"PH",,,,,,,,,,,,,,,,,,[,,"11[27]|911",,,,"112"],,[,,"11[27]|911",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PK:[,[,,"1\\d{1,3}",,,,,,,[2,3,4]],,,[,,"1(?:1(?:2\\d?|5)|[56])",,,,"15"],[,,,,,,,,,[-1]],,,,"PK",,,,,,,,,,,,,,,,,,[,,"1(?:1(?:22?|5)|[56])",,,,"15"],,[,,"1(?:122|3[014]|[56])|11[2457-9]",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PL:[,[,,"[19]\\d\\d(?:\\d{2,3})?",,,,,,,[3,5,6]],,,[,,"11(?:2|6\\d{3})|99[7-9]",,,,"112",,,[3,6]],[,,,,,,,,,[-1]],,,,"PL",,,,,,,,,,,,,,,,,,[,,"112|99[7-9]",,,,"112",,,[3]],,[,,"1(?:1(?:2|61(?:11|23)|891[23])|9\\d{3})|9(?:8[4-7]|9[1-9])|11[68]000",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PM:[,[,,"[13]\\d(?:\\d{2})?",,,,,,,[2,4]],,,[,,"1[578]",,,,"15",,,[2]],[,,,,,,,,,[-1]],,,,"PM",,,,,,,,,,,,,,,,,,[,,"1[578]",,,,"15",,,[2]],,[,,"1[578]|3103",,,,"15"],[,,,,,,,,,[-1]],[,,"310\\d",,,,"3100",,,[4]],,[,,,,,,,,,[-1]]],PR:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"911",,,,"911"],[,,,,,,,,,[-1]],,,,"PR",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"911",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PS:[,[,,"1\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:0[0-2]|66)",,,,"100",,,[3]],[,,,,,,,,,[-1]],,,,"PS",,,,,,,,,,,,,,,,,,[,,"10[0-2]",,,,"100",,,[3]],,[,,"1(?:0[0-2]|122|44|66|99)",,,,"100"],[,,,,,,,,,[-1]],[,,"112\\d",,,,"1120",,,[4]],,[,,,,,,,,,[-1]]],PT:[,[,,"1\\d\\d(?:\\d(?:\\d{2})?)?",,,,,,,[3,4,6]],,,[,,"11[25]|1(?:16\\d\\d|5[1589]|8[279])\\d",,,,"112"],[,,,,,,,,,[-1]],,,,"PT",,,,,,,,,,,,,,,,,,[,,"11[25]",,,,"112",,,[3]],,[,,"1(?:0(?:45|5[01])|1(?:[2578]|600[06])|4(?:1[45]|4)|583|6(?:1[0236]|3[02]|9[169]))|1(?:1611|59)1|1[068]78|1[08]9[16]|1(?:0[1-38]|40|5[15]|6[258]|82)0",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PW:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"911",,,,"911"],[,,,,,,,,,[-1]],,,,"PW",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"911",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PY:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"128|911",,,,"128"],[,,,,,,,,,[-1]],,,,"PY",,,,,,,,,,,,,,,,,,[,,"128|911",,,,"128"],,[,,"1[1-4]\\d|911",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],QA:[,[,,"[129]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"999",,,,"999",,,[3]],[,,,,,,,,,[-1]],,,,"QA",,,,,,,,,,,,,,,,,,[,,"999",,,,"999",,,[3]],,[,,"999|(?:1|20|9[27]\\d)\\d\\d",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],RE:[,[,,"1\\d\\d?",,,,,,,[2,3]],,,[,,"1(?:12|[578])",,,,"15"],[,,,,,,,,,[-1]],,,,"RE",,,,,,,,,,,,,,,,,,[,,"1(?:12|[578])",,,,"15"],,[,,"1(?:12|[578])",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],RO:[,[,,"[18]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"11(?:2|6\\d{3})",,,,"112",,,[3,6]],[,,"(?:1(?:18[39]|[24])|8[48])\\d\\d",,,,"1200",,,[4,6]],,,,"RO",,,,,,,,,,,,,,,,,,[,,"112",,,,"112",,,[3]],,[,,"1(?:1(?:2|6(?:000|1(?:11|23))|8(?:(?:01|8[18])1|119|[23]00|932))|[24]\\d\\d|9(?:0(?:00|19)|1[19]|21|3[02]|5[178]))|8[48]\\d\\d",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"(?:1[24]|8[48])\\d\\d",,,,"1200",,,[4]]],RS:[,[,,"[19]\\d{1,5}",,,,,,,[2,3,4,5,6]],,,[,,"112|9[2-4]",,,,"92",,,[2,3]],[,,,,,,,,,[-1]],,,,"RS",,,,,,,,,,,,,,,,,,[,,"112|9[2-4]",,,,"92",,,[2,3]],,[,,"1[189]\\d{1,4}|9[2-4]",,,,"92"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],RU:[,[,,"[01]\\d\\d?",,,,,,,[2,3]],,,[,,"112|(?:0|10)[1-3]",,,,"01"],[,,,,,,,,,[-1]],,,,"RU",,,,,,,,,,,,,,,,,,[,,"112|(?:0|10)[1-3]",,,,"01"],,[,,"112|(?:0|10)[1-4]",,,,"01"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],RW:[,[,,"[14]\\d\\d",,,,,,,[3]],,,[,,"11[1245]",,,,"111"],[,,,,,,,,,[-1]],,,,"RW",,,,,,,,,,,,,,,,,,[,,"11[12]",,,,"111"],,[,,"1(?:0[0-2]|1[0-24-6]|2[13]|70|99)|456",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SA:[,[,,"[19]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"11(?:2|6\\d{3})|9(?:11|37|9[7-9])",,,,"112",,,[3,6]],[,,,,,,,,,[-1]],,,,"SA",,,,,,,,,,,,,,,,,,[,,"112|9(?:11|9[79])",,,,"112",,,[3]],,[,,"1(?:1(?:00|2|6111)|410|9(?:00|1[89]|9(?:099|22|9[0-3])))|9(?:0[24-79]|11|3[379]|40|66|8[5-9]|9[02-9])",,,,"112"],[,,"141\\d",,,,"1410",,,[4]],[,,"1(?:10|41)\\d|90[24679]",,,,"902",,,[3,4]],,[,,,,,,,,,[-1]]],SB:[,[,,"[127-9]\\d\\d",,,,,,,[3]],,,[,,"999",,,,"999"],[,,,,,,,,,[-1]],,,,"SB",,,,,,,,,,,,,,,,,,[,,"999",,,,"999"],,[,,"1(?:[02]\\d|1[12]|[35][01]|[49][1-9]|6[2-9]|7[7-9]|8[0-8])|269|777|835|9(?:[01]1|22|33|55|77|88|99)",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SC:[,[,,"[19]\\d{2,3}",,,,,,,[3,4]],,,[,,"999",,,,"999",,,[3]],[,,,,,,,,,[-1]],,,,"SC",,,,,,,,,,,,,,,,,,[,,"999",,,,"999",,,[3]],,[,,"1(?:0\\d|1[027]|2[0-8]|3[13]|4[0-2]|[59][15]|6[1-9]|7[124-6]|8[158])|9(?:6\\d\\d|99)",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SD:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"999",,,,"999"],[,,,,,,,,,[-1]],,,,"SD",,,,,,,,,,,,,,,,,,[,,"999",,,,"999"],,[,,"999",,,,"999"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SE:[,[,,"[1-37-9]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"112|(?:116\\d|900)\\d\\d",,,,"112",,,[3,5,6]],[,,"11811[89]|72\\d{3}",,,,"72000",,,[5,6]],,,,"SE",,,,,,,,,,,,,,,,,,[,,"112|90000",,,,"112",,,[3,5]],,[,,"11(?:[25]|313|6(?:00[06]|1(?:1[17]|23))|7[0-8])|2(?:2[02358]|33|4[01]|50|6[1-4])|32[13]|8(?:22|88)|9(?:0(?:00|51)0|12)|(?:11(?:4|8[02-46-9])|7\\d\\d|90[2-4])\\d\\d|(?:118|90)1(?:[02-9]\\d|1[013-9])",,,,"112"],[,,,,,,,,,[-1]],[,,"2(?:2[02358]|33|4[01]|50|6[1-4])|32[13]|8(?:22|88)|912",,,,"220",,,[3]],,[,,"7\\d{4}",,,,"70000",,,[5]]],SG:[,[,,"[179]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"99[359]",,,,"993",,,[3]],[,,,,,,,,,[-1]],,,,"SG",,,,,,,,,,,,,,,,,,[,,"99[359]",,,,"993",,,[3]],,[,,"1(?:(?:[01368]\\d|44)\\d|[57]\\d{2,3}|9(?:0[1-9]|[1-9]\\d))|77222|99[02-9]|100",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"772\\d\\d",,,,"77200",,,[5]]],SH:[,[,,"[129]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"9(?:11|99)",,,,"911",,,[3]],[,,,,,,,,,[-1]],,,,"SH",,,,,,,,,,,,,,,,,,[,,"9(?:11|99)",,,,"911",,,[3]],,[,,"1\\d{2,3}|26[01]\\d\\d|9(?:11|99)",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SI:[,[,,"1\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"11(?:(?:0|6\\d)\\d\\d|[23]|8\\d\\d?)",,,,"112"],[,,,,,,,,,[-1]],,,,"SI",,,,,,,,,,,,,,,,,,[,,"11[23]",,,,"112",,,[3]],,[,,"1(?:1(?:00[146]|[23]|6(?:000|1(?:11|23))|8(?:[08]|99))|9(?:059|1(?:0[12]|16)|5|70|87|9(?:00|[149])))|19(?:08|81)[09]",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SJ:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[023]",,,,"110"],[,,,,,,,,,[-1]],,,,"SJ",,,,,,,,,,,,,,,,,,[,,"11[023]",,,,"110"],,[,,"11[023]",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SK:[,[,,"1\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:1(?:2|6\\d{3})|5[058])",,,,"112",,,[3,6]],[,,,,,,,,,[-1]],,,,"SK",,,,,,,,,,,,,,,,,,[,,"1(?:12|5[058])",,,,"112",,,[3]],,[,,"1(?:1(?:2|6(?:000|111)|8[0-8])|[248]\\d{3}|5[0589])",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SL:[,[,,"[069]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"(?:01|99)9",,,,"019",,,[3]],[,,,,,,,,,[-1]],,,,"SL",,,,,,,,,,,,,,,,,,[,,"(?:01|99)9",,,,"019",,,[3]],,[,,"(?:01|99)9|60400",,,,"019"],[,,,,,,,,,[-1]],[,,"604\\d\\d",,,,"60400",,,[5]],,[,,"604\\d\\d",,,,"60400",,,[5]]],SM:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[358]",,,,"113"],[,,,,,,,,,[-1]],,,,"SM",,,,,,,,,,,,,,,,,,[,,"11[358]",,,,"113"],,[,,"11[358]",,,,"113"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SN:[,[,,"[12]\\d{1,5}",,,,,,,[2,3,4,5,6]],,,[,,"1(?:515|[78])|2(?:00|1)\\d{3}",,,,"17",,,[2,4,5,6]],[,,"2(?:0[246]|[468])\\d{3}",,,,"24000",,,[5,6]],,,,"SN",,,,,,,,,,,,,,,,,,[,,"1[78]",,,,"17",,,[2]],,[,,"1(?:1[69]|(?:[246]\\d|51)\\d)|2(?:0[0-246]|[12468])\\d{3}|1[278]",,,,"12"],[,,"2(?:01|2)\\d{3}",,,,"22000",,,[5,6]],[,,"1[46]\\d\\d",,,,"1400",,,[4]],,[,,"2[468]\\d{3}",,,,"24000",,,[5]]],SO:[,[,,"[57-9]\\d\\d",,,,,,,[3]],,,[,,"555|888|999",,,,"555"],[,,,,,,,,,[-1]],,,,"SO",,,,,,,,,,,,,,,,,,[,,"555|888|999",,,,"555"],,[,,"555|777|888|999",,,,"555"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SR:[,[,,"1\\d{2,3}",,,,,,,[3,4]],,,[,,"115",,,,"115",,,[3]],[,,,,,,,,,[-1]],,,,"SR",,,,,,,,,,,,,,,,,,[,,"115",,,,"115",,,[3]],,[,,"1\\d{2,3}",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SS:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"999",,,,"999"],[,,,,,,,,,[-1]],,,,"SS",,,,,,,,,,,,,,,,,,[,,"999",,,,"999"],,[,,"999",,,,"999"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],ST:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"112",,,,"112"],[,,,,,,,,,[-1]],,,,"ST",,,,,,,,,,,,,,,,,,[,,"112",,,,"112"],,[,,"112",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SV:[,[,,"[149]\\d\\d(?:\\d{2,3})?",,,,,,,[3,5,6]],,,[,,"116\\d{3}|911",,,,"911",,,[3,6]],[,,,,,,,,,[-1]],,,,"SV",,,,,,,,,,,,,,,,,,[,,"91[13]",,,,"911",,,[3]],,[,,"1(?:1(?:2|6111)|2[136-8]|3[0-6]|9[05])|40404|9(?:1\\d|29)",,,,"112"],[,,,,,,,,,[-1]],[,,"404\\d\\d",,,,"40400",,,[5]],,[,,"404\\d\\d",,,,"40400",,,[5]]],SX:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"919",,,,"919"],[,,,,,,,,,[-1]],,,,"SX",,,,,,,,,,,,,,,,,,[,,"919",,,,"919"],,[,,"919",,,,"919"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SY:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[023]",,,,"110"],[,,,,,,,,,[-1]],,,,"SY",,,,,,,,,,,,,,,,,,[,,"11[023]",,,,"110"],,[,,"11[023]",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SZ:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"999",,,,"999"],[,,,,,,,,,[-1]],,,,"SZ",,,,,,,,,,,,,,,,,,[,,"999",,,,"999"],,[,,"999",,,,"999"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TC:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:11|99)",,,,"911"],[,,,,,,,,,[-1]],,,,"TC",,,,,,,,,,,,,,,,,,[,,"9(?:11|99)",,,,"911"],,[,,"9(?:11|99)",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TD:[,[,,"1\\d",,,,,,,[2]],,,[,,"1[78]",,,,"17"],[,,,,,,,,,[-1]],,,,"TD",,,,,,,,,,,,,,,,,,[,,"1[78]",,,,"17"],,[,,"1[78]",,,,"17"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TG:[,[,,"1\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:1[78]|7[127])",,,,"117",,,[3]],[,,,,,,,,,[-1]],,,,"TG",,,,,,,,,,,,,,,,,,[,,"1(?:1[78]|7[127])",,,,"117",,,[3]],,[,,"1(?:011|1[078]|7[127])",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TH:[,[,,"1\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:1(?:00|2[03]|3[3479]|7[67]|9[0246])|578|6(?:44|6[79]|88|9[16])|88\\d|9[19])|1[15]55",,,,"191"],[,,"1(?:113|2[23]\\d|5(?:09|56))",,,,"1113",,,[4]],,,,"TH",,,,,,,,,,,,,,,,,,[,,"1(?:669|9[19])",,,,"191"],,[,,"1(?:0[0-2]|1(?:0[03]|1[1-35]|2[0358]|3[03-79]|4[02-489]|5[04-9]|6[04-79]|7[03-9]|8[027-9]|9[02-9])|2(?:22|3[89]|66)|3(?:18|2[23]|3[013]|5[56]|6[45]|73)|477|5(?:0\\d|4[0-37-9]|5[1-8]|6[01679]|7[12568]|8[0-24589]|9[013589])|6(?:0[0-29]|2[03]|4[3-6]|6[1-9]|7[0257-9]|8[0158]|9[014-9])|7(?:[14]9|7[27]|90)|888|9[19])",,,,"100"],[,,"1(?:1(?:03|1[15]|2[58]|3[056]|4[02-49]|5[046-9]|7[03-589]|9[57-9])|5(?:0[0-8]|4[0-378]|5[1-478]|7[156])|6(?:20|4[356]|6[1-68]|7[057-9]|8[015]|9[0457-9]))|1(?:1[68]|26|3[1-35]|5[689]|60|7[17])\\d",,,,"1103",,,[4]],[,,"114[89]",,,,"1148",,,[4]],,[,,,,,,,,,[-1]]],TJ:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"1(?:0[1-3]|12)",,,,"101"],[,,,,,,,,,[-1]],,,,"TJ",,,,,,,,,,,,,,,,,,[,,"1(?:0[1-3]|12)",,,,"101"],,[,,"1(?:0[1-3]|12)",,,,"101"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TL:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[25]",,,,"112"],[,,,,,,,,,[-1]],,,,"TL",,,,,,,,,,,,,,,,,,[,,"11[25]",,,,"112"],,[,,"1(?:0[02]|1[25]|2[0138]|72|9[07])",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TM:[,[,,"0\\d",,,,,,,[2]],,,[,,"0[1-49]",,,,"01"],[,,,,,,,,,[-1]],,,,"TM",,,,,,,,,,,,,,,,,,[,,"0[1-3]",,,,"01"],,[,,"0[1-49]",,,,"01"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TN:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"19[078]",,,,"190"],[,,,,,,,,,[-1]],,,,"TN",,,,,,,,,,,,,,,,,,[,,"19[078]",,,,"190"],,[,,"19[078]",,,,"190"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TO:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:11|22|33|99)",,,,"911"],[,,,,,,,,,[-1]],,,,"TO",,,,,,,,,,,,,,,,,,[,,"9(?:11|22|33|99)",,,,"911"],,[,,"9(?:11|22|33|99)",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TR:[,[,,"[1-9]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"1(?:1[02]|22|3[126]|4[04]|5[15-9]|6[18]|77|83)",,,,"110",,,[3]],[,,,,,,,,,[-1]],,,,"TR",,,,,,,,,,,,,,,,,,[,,"1(?:1[02]|55)",,,,"110",,,[3]],,[,,"1(?:1(?:[02-79]|8(?:1[018]|2[0245]|3[2-4]|42|5[058]|6[06]|7[07]|8[01389]|9[089]))|3(?:37|[58]6|65)|471|5(?:07|78)|6(?:[02]6|99)|8(?:63|95))|2(?:077|268|4(?:17|23)|5(?:7[26]|82)|6[14]4|8\\d\\d|9(?:30|89))|3(?:0(?:05|72)|353|4(?:06|30|64)|502|674|747|851|9(?:1[29]|60))|4(?:0(?:25|3[12]|[47]2)|3(?:3[13]|[89]1)|439|5(?:43|55)|717|832)|5(?:145|290|[4-6]\\d\\d|772|833|9(?:[06]1|92))|6(?:236|6(?:12|39|8[59])|769)|7890|8(?:688|7(?:28|65)|85[06])|9(?:159|290)|1[2-9]\\d",,,,"110"],[,,"(?:285|542)0",,,,"2850",,,[4]],[,,,,,,,,,[-1]],,[,,"1(?:3(?:37|[58]6|65)|4(?:4|71)|5(?:07|78)|6(?:[02]6|99)|8(?:3|63|95))|(?:2(?:07|26|4[12]|5[78]|6[14]|8\\d|9[38])|3(?:0[07]|[38]5|4[036]|50|67|74|9[16])|4(?:0[2-47]|3[389]|[48]3|5[45]|71)|5(?:14|29|[4-6]\\d|77|83|9[069])|6(?:23|6[138]|76)|789|8(?:68|7[26]|85)|9(?:15|29))\\d",,,,"144",,,[3,4]]],TT:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"99[09]",,,,"990"],[,,,,,,,,,[-1]],,,,"TT",,,,,,,,,,,,,,,,,,[,,"99[09]",,,,"990"],,[,,"99[09]",,,,"990"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TV:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"911",,,,"911"],[,,,,,,,,,[-1]],,,,"TV",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"1\\d\\d|911",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TW:[,[,,"1\\d{2,3}",,,,,,,[3,4]],,,[,,"11[0289]|1(?:81|92)\\d",,,,"110"],[,,"10[56]",,,,"105",,,[3]],,,,"TW",,,,,,,,,,,,,,,,,,[,,"11[029]",,,,"110",,,[3]],,[,,"1(?:0[04-6]|1[0237-9]|3[389]|6[05-8]|7[07]|8(?:0|11)|9(?:19|22|5[057]|68|8[05]|9[15689]))",,,,"100"],[,,"1(?:65|9(?:1\\d|50|85|98))",,,,"165"],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TZ:[,[,,"[149]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"11[12]|999",,,,"111",,,[3]],[,,,,,,,,,[-1]],,,,"TZ",,,,,,,,,,,,,,,,,,[,,"11[12]|999",,,,"111",,,[3]],,[,,"11[128]|46400|999",,,,"111"],[,,,,,,,,,[-1]],[,,"464\\d\\d",,,,"46400",,,[5]],,[,,"464\\d\\d",,,,"46400",,,[5]]],UA:[,[,,"[189]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:0[1-3]|1(?:2|6\\d{3}))",,,,"101",,,[3,6]],[,,,,,,,,,[-1]],,,,"UA",,,,,,,,,,,,,,,,,,[,,"1(?:0[1-3]|12)",,,,"101",,,[3]],,[,,"1(?:0[1-49]|1(?:2|6(?:000|1(?:11|23))|8\\d\\d?)|(?:[278]|5\\d)\\d)|[89]00\\d\\d?|151|1(?:06|4\\d|6)\\d\\d",,,,"101"],[,,,,,,,,,[-1]],[,,"(?:118|[89]00)\\d\\d?",,,,"1180",,,[4,5]],,[,,,,,,,,,[-1]]],UG:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"999",,,,"999"],[,,,,,,,,,[-1]],,,,"UG",,,,,,,,,,,,,,,,,,[,,"999",,,,"999"],,[,,"999",,,,"999"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],US:[,[,,"[1-9]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"112|[69]11",,,,"112",,,[3]],[,,"24280|(?:381|968)35|4(?:3355|7553|8221)|5(?:(?:489|934)2|5928)|72078|(?:323|960)40|(?:276|414)63|(?:2(?:520|744)|7390|9968)9|(?:693|732|976)88|(?:3(?:556|825)|5294|8623|9729)4|(?:3378|4136|7642|8961|9979)6|(?:4(?:6(?:15|32)|827)|(?:591|720)8|9529)7",,,,"24280",,,[5]],,,,"US",,,,,,,,,,,,,,,,,,[,,"112|911",,,,"112",,,[3]],,[,,"11(?:2|5[1-47]|[68]\\d|7[0-57]|98)|[2-9]\\d{3,5}|[2-9]11",,,,"112"],[,,"2(?:3333|(?:4224|7562|900)2|56447|6688)|3(?:1010|2665|7404)|40404|560560|6(?:0060|22639|5246|7622)|7(?:0701|3822|4666)|8(?:(?:3825|7226)5|4816)|99099",,,,"23333",,,[5,6]],[,,"336\\d\\d|[2-9]\\d{3}|[2356]11",,,,"211",,,[3,4,5]],,[,,"[2-9]\\d{4,5}",,,,"20000",,,[5,6]]],UY:[,[,,"[19]\\d{2,3}",,,,,,,[3,4]],,,[,,"128|911",,,,"128",,,[3]],[,,,,,,,,,[-1]],,,,"UY",,,,,,,,,,,,,,,,,,[,,"128|911",,,,"128",,,[3]],,[,,"1(?:0[4-9]|1[2368]|2[0-3568]|787)|911",,,,"104"],[,,"178\\d",,,,"1780",,,[4]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],UZ:[,[,,"[04]\\d(?:\\d(?:\\d{2})?)?",,,,,,,[2,3,5]],,,[,,"0(?:0[1-3]|[1-3]|50)",,,,"01",,,[2,3]],[,,,,,,,,,[-1]],,,,"UZ",,,,,,,,,,,,,,,,,,[,,"0(?:0[1-3]|[1-3]|50)",,,,"01",,,[2,3]],,[,,"0(?:0[1-3]|[1-3]|50)|45400",,,,"01"],[,,,,,,,,,[-1]],[,,"454\\d\\d",,,,"45400",,,[5]],,[,,"454\\d\\d",,,,"45400",,,[5]]],VA:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[2358]",,,,"112"],[,,,,,,,,,[-1]],,,,"VA",,,,,,,,,,,,,,,,,,[,,"11[2358]",,,,"112"],,[,,"11[2358]",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],VC:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:11|99)",,,,"911"],[,,,,,,,,,[-1]],,,,"VC",,,,,,,,,,,,,,,,,,[,,"9(?:11|99)",,,,"911"],,[,,"9(?:11|99)",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],VE:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"1(?:12|71)|911",,,,"112"],[,,,,,,,,,[-1]],,,,"VE",,,,,,,,,,,,,,,,,,[,,"1(?:12|71)|911",,,,"112"],,[,,"1(?:12|71)|911",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],VG:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:11|99)",,,,"911"],[,,,,,,,,,[-1]],,,,"VG",,,,,,,,,,,,,,,,,,[,,"9(?:11|99)",,,,"911"],,[,,"9(?:11|99)",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],VI:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"911",,,,"911"],[,,,,,,,,,[-1]],,,,"VI",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"911",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],VN:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[3-5]",,,,"113"],[,,,,,,,,,[-1]],,,,"VN",,,,,,,,,,,,,,,,,,[,,"11[3-5]",,,,"113"],,[,,"11[3-5]",,,,"113"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],VU:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"112",,,,"112"],[,,,,,,,,,[-1]],,,,"VU",,,,,,,,,,,,,,,,,,[,,"112",,,,"112"],,[,,"112",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],WF:[,[,,"1\\d",,,,,,,[2]],,,[,,"1[578]",,,,"15"],[,,,,,,,,,[-1]],,,,"WF",,,,,,,,,,,,,,,,,,[,,"1[578]",,,,"15"],,[,,"1[578]",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],WS:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"9(?:11|9[4-69])",,,,"911"],[,,,,,,,,,[-1]],,,,"WS",,,,,,,,,,,,,,,,,,[,,"9(?:11|9[4-69])",,,,"911"],,[,,"1(?:1[12]|2[0-6]|[39]0)|9(?:11|9[4-79])",,,,"111"],[,,,,,,,,,[-1]],[,,"12[0-6]",,,,"120"],,[,,,,,,,,,[-1]]],XK:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"1(?:12|9[2-4])",,,,"112"],[,,,,,,,,,[-1]],,,,"XK",,,,,,,,,,,,,,,,,,[,,"1(?:12|9[2-4])",,,,"112"],,[,,"1(?:12|9[2-4])",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],YE:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"19[1459]",,,,"191"],[,,,,,,,,,[-1]],,,,"YE",,,,,,,,,,,,,,,,,,[,,"19[1459]",,,,"191"],,[,,"19[1459]",,,,"191"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],YT:[,[,,"1\\d\\d?",,,,,,,[2,3]],,,[,,"1(?:12|5)",,,,"15"],[,,,,,,,,,[-1]],,,,"YT",,,,,,,,,,,,,,,,,,[,,"1(?:12|5)",,,,"15"],,[,,"1(?:12|5)",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],ZA:[,[,,"[134]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"1(?:01\\d\\d|12)",,,,"112",,,[3,5]],[,,"41(?:348|851)",,,,"41348",,,[5]],,,,"ZA",,,,,,,,,,,,,,,,,,[,,"1(?:01(?:11|77)|12)",,,,"112",,,[3,5]],,[,,"1(?:0(?:1(?:11|77)|20|7)|1[12]|77(?:3[237]|[45]7|6[279]|9[26]))|[34]\\d{4}",,,,"107"],[,,"3(?:078[23]|7(?:064|567)|8126)|4(?:394[16]|7751|8837)|4[23]699",,,,"30782",,,[5]],[,,"111",,,,"111",,,[3]],,[,,"[34]\\d{4}",,,,"30000",,,[5]]],ZM:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"112|99[139]",,,,"112"],[,,,,,,,,,[-1]],,,,"ZM",,,,,,,,,,,,,,,,,,[,,"112|99[139]",,,,"112"],,[,,"112|99[139]",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],ZW:[,[,,"[139]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"112|9(?:5[023]|61|9[3-59])",,,,"112",,,[3]],[,,"3[013-57-9]\\d{3}",,,,"30000",,,[5]],,,,"ZW",,,,,,,,,,,,,,,,,,[,,"112|99[3-59]",,,,"112",,,[3]],,[,,"11[2469]|3[013-57-9]\\d{3}|9(?:5[023]|6[0-25]|9[3-59])",,,,"112"],[,,,,,,,,,[-1]],[,,"114|9(?:5[023]|6[0-25])",,,,"114",,,[3]],,[,,,,,,,,,[-1]]]},i18n.phonenumbers.ShortNumberInfo=function(){this.regionToMetadataMap={}},goog.addSingletonGetter(i18n.phonenumbers.ShortNumberInfo),i18n.phonenumbers.ShortNumberInfo.REGIONS_WHERE_EMERGENCY_NUMBERS_MUST_BE_EXACT_=["BR","CL","NI"],i18n.phonenumbers.ShortNumberInfo.ShortNumberCost={TOLL_FREE:0,STANDARD_RATE:1,PREMIUM_RATE:2,UNKNOWN_COST:3},i18n.phonenumbers.ShortNumberInfo.prototype.getRegionCodesForCountryCode_=function(e){return(e=i18n.phonenumbers.metadata.countryCodeToRegionCodeMap[e])?e:[]},i18n.phonenumbers.ShortNumberInfo.prototype.regionDialingFromMatchesNumber_=function(e,t){return e=this.getRegionCodesForCountryCode_(e.getCountryCodeOrDefault()),null!=t&&e.includes(t)},i18n.phonenumbers.ShortNumberInfo.prototype.isPossibleShortNumberForRegion=function(e,t){return!!this.regionDialingFromMatchesNumber_(e,t)&&!!(t=this.getMetadataForRegion_(t))&&(e=this.getNationalSignificantNumber_(e).length,t.getGeneralDesc().possibleLengthArray().includes(e))},i18n.phonenumbers.ShortNumberInfo.prototype.isPossibleShortNumber=function(e){var t=this.getRegionCodesForCountryCode_(e.getCountryCodeOrDefault());e=this.getNationalSignificantNumber_(e).length;for(var n=0;n<t.length;n++){var r=this.getMetadataForRegion_(t[n]);if(r&&r.getGeneralDesc().possibleLengthArray().includes(e))return!0}return!1},i18n.phonenumbers.ShortNumberInfo.prototype.isValidShortNumberForRegion=function(e,t){if(!this.regionDialingFromMatchesNumber_(e,t))return!1;if(!(t=this.getMetadataForRegion_(t)))return!1;e=this.getNationalSignificantNumber_(e);var n=t.getGeneralDesc();return!!this.matchesPossibleNumberAndNationalNumber_(e,n)&&(t=t.getShortCode(),this.matchesPossibleNumberAndNationalNumber_(e,t))},i18n.phonenumbers.ShortNumberInfo.prototype.isValidShortNumber=function(e){var t=this.getRegionCodesForCountryCode_(e.getCountryCodeOrDefault()),n=this.getRegionCodeForShortNumberFromRegionList_(e,t);return 1<t.length&&null!=n||this.isValidShortNumberForRegion(e,n)},i18n.phonenumbers.ShortNumberInfo.prototype.getExpectedCostForRegion=function(e,t){var n=i18n.phonenumbers.ShortNumberInfo.ShortNumberCost;if(!this.regionDialingFromMatchesNumber_(e,t))return n.UNKNOWN_COST;var r=this.getMetadataForRegion_(t);return r?(e=this.getNationalSignificantNumber_(e),r.getGeneralDesc().possibleLengthArray().includes(e.length)?this.matchesPossibleNumberAndNationalNumber_(e,r.getPremiumRate())?n.PREMIUM_RATE:this.matchesPossibleNumberAndNationalNumber_(e,r.getStandardRate())?n.STANDARD_RATE:this.matchesPossibleNumberAndNationalNumber_(e,r.getTollFree())||this.isEmergencyNumber(e,t)?n.TOLL_FREE:n.UNKNOWN_COST:n.UNKNOWN_COST):n.UNKNOWN_COST},i18n.phonenumbers.ShortNumberInfo.prototype.getExpectedCost=function(e){var t=i18n.phonenumbers.ShortNumberInfo.ShortNumberCost,n=this.getRegionCodesForCountryCode_(e.getCountryCodeOrDefault());if(0===n.length)return t.UNKNOWN_COST;if(1===n.length)return this.getExpectedCostForRegion(e,n[0]);for(var r=t.TOLL_FREE,o=0;o<n.length;o++){var i=this.getExpectedCostForRegion(e,n[o]);switch(i){case t.PREMIUM_RATE:return t.PREMIUM_RATE;case t.UNKNOWN_COST:r=t.UNKNOWN_COST;break;case t.STANDARD_RATE:r!==t.UNKNOWN_COST&&(r=t.STANDARD_RATE);break;case t.TOLL_FREE:break;default:throw Error("Unrecognized cost for region: "+i)}}return r},i18n.phonenumbers.ShortNumberInfo.prototype.getRegionCodeForShortNumberFromRegionList_=function(e,t){if(0===t.length)return null;if(1===t.length)return t[0];e=this.getNationalSignificantNumber_(e);for(var n=0;n<t.length;n++){var r=t[n],o=this.getMetadataForRegion_(r);if(o&&this.matchesPossibleNumberAndNationalNumber_(e,o.getShortCode()))return r}return null},i18n.phonenumbers.ShortNumberInfo.prototype.getSupportedRegions=function(){return Object.keys(i18n.phonenumbers.shortnumbermetadata.countryToMetadata).filter((function(e){return isNaN(e)}))},i18n.phonenumbers.ShortNumberInfo.prototype.getExampleShortNumber=function(e){return(e=this.getMetadataForRegion_(e))&&(e=e.getShortCode()).hasExampleNumber()&&e.getExampleNumber()||""},i18n.phonenumbers.ShortNumberInfo.prototype.getExampleShortNumberForCost=function(e,t){if(!(e=this.getMetadataForRegion_(e)))return"";var n=i18n.phonenumbers.ShortNumberInfo.ShortNumberCost,r=null;switch(t){case n.TOLL_FREE:r=e.getTollFree();break;case n.STANDARD_RATE:r=e.getStandardRate();break;case n.PREMIUM_RATE:r=e.getPremiumRate()}return r&&r.hasExampleNumber()&&r.getExampleNumber()||""},i18n.phonenumbers.ShortNumberInfo.prototype.connectsToEmergencyNumber=function(e,t){return this.matchesEmergencyNumberHelper_(e,t,!0)},i18n.phonenumbers.ShortNumberInfo.prototype.isEmergencyNumber=function(e,t){return this.matchesEmergencyNumberHelper_(e,t,!1)},i18n.phonenumbers.ShortNumberInfo.prototype.getMetadataForRegion_=function(e){if(!e)return null;e=e.toUpperCase();var t=this.regionToMetadataMap[e];if(null==t){t=new goog.proto2.PbLiteSerializer;var n=i18n.phonenumbers.shortnumbermetadata.countryToMetadata[e];if(null==n)return null;t=t.deserialize(i18n.phonenumbers.PhoneMetadata.getDescriptor(),n),this.regionToMetadataMap[e]=t}return t},i18n.phonenumbers.ShortNumberInfo.prototype.matchesEmergencyNumberHelper_=function(e,t,n){var r=i18n.phonenumbers.PhoneNumberUtil.extractPossibleNumber(e);return!i18n.phonenumbers.PhoneNumberUtil.LEADING_PLUS_CHARS_PATTERN.test(r)&&!(null==(e=this.getMetadataForRegion_(t))||!e.hasEmergency())&&(r=i18n.phonenumbers.PhoneNumberUtil.normalizeDigitsOnly(r),t=n&&!i18n.phonenumbers.ShortNumberInfo.REGIONS_WHERE_EMERGENCY_NUMBERS_MUST_BE_EXACT_.includes(t),n=e.getEmergency().getNationalNumberPatternOrDefault(),i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(n,r)||t&&i18n.phonenumbers.PhoneNumberUtil.matchesPrefix(n,r))},i18n.phonenumbers.ShortNumberInfo.prototype.isCarrierSpecific=function(e){var t=this.getRegionCodesForCountryCode_(e.getCountryCodeOrDefault());return t=this.getRegionCodeForShortNumberFromRegionList_(e,t),e=this.getNationalSignificantNumber_(e),!!(t=this.getMetadataForRegion_(t))&&this.matchesPossibleNumberAndNationalNumber_(e,t.getCarrierSpecific())},i18n.phonenumbers.ShortNumberInfo.prototype.isCarrierSpecificForRegion=function(e,t){return!!this.regionDialingFromMatchesNumber_(e,t)&&(e=this.getNationalSignificantNumber_(e),!!(t=this.getMetadataForRegion_(t))&&this.matchesPossibleNumberAndNationalNumber_(e,t.getCarrierSpecific()))},i18n.phonenumbers.ShortNumberInfo.prototype.isSmsServiceForRegion=function(e,t){return!!this.regionDialingFromMatchesNumber_(e,t)&&(t=this.getMetadataForRegion_(t),e=this.getNationalSignificantNumber_(e),!!t&&this.matchesPossibleNumberAndNationalNumber_(e,t.getSmsServices()))},i18n.phonenumbers.ShortNumberInfo.prototype.getNationalSignificantNumber_=function(e){if(!e.hasNationalNumber())return"";var t=""+e.getNationalNumber();return e.hasItalianLeadingZero()&&e.getItalianLeadingZero()&&0<e.getNumberOfLeadingZerosOrDefault()?Array(e.getNumberOfLeadingZerosOrDefault()+1).join("0")+t:t},i18n.phonenumbers.ShortNumberInfo.prototype.matchesPossibleNumberAndNationalNumber_=function(e,t){return!(0<t.possibleLengthArray().length&&!t.possibleLengthArray().includes(e.length))&&i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(t.getNationalNumberPatternOrDefault(),e.toString())},i18n.phonenumbers.AsYouTypeFormatter=function(e){this.DIGIT_PLACEHOLDER_="\u2008",this.DIGIT_PATTERN_=new RegExp(this.DIGIT_PLACEHOLDER_),this.currentOutput_="",this.formattingTemplate_=new goog.string.StringBuffer,this.currentFormattingPattern_="",this.accruedInput_=new goog.string.StringBuffer,this.accruedInputWithoutFormatting_=new goog.string.StringBuffer,this.ableToFormat_=!0,this.isExpectingCountryCallingCode_=this.isCompleteNumber_=this.inputHasFormatting_=!1,this.phoneUtil_=i18n.phonenumbers.PhoneNumberUtil.getInstance(),this.positionToRemember_=this.originalPosition_=this.lastMatchPosition_=0,this.prefixBeforeNationalNumber_=new goog.string.StringBuffer,this.shouldAddSpaceAfterNationalPrefix_=!1,this.extractedNationalPrefix_="",this.nationalNumber_=new goog.string.StringBuffer,this.possibleFormats_=[],this.defaultCountry_=e,this.defaultMetadata_=this.currentMetadata_=this.getMetadataForRegion_(this.defaultCountry_)},i18n.phonenumbers.AsYouTypeFormatter.SEPARATOR_BEFORE_NATIONAL_NUMBER_=" ",i18n.phonenumbers.AsYouTypeFormatter.EMPTY_METADATA_=new i18n.phonenumbers.PhoneMetadata,i18n.phonenumbers.AsYouTypeFormatter.EMPTY_METADATA_.setInternationalPrefix("NA"),i18n.phonenumbers.AsYouTypeFormatter.ELIGIBLE_FORMAT_PATTERN_=new RegExp("^["+i18n.phonenumbers.PhoneNumberUtil.VALID_PUNCTUATION+"]*(\\$\\d["+i18n.phonenumbers.PhoneNumberUtil.VALID_PUNCTUATION+"]*)+$"),i18n.phonenumbers.AsYouTypeFormatter.NATIONAL_PREFIX_SEPARATORS_PATTERN_=/[- ]/,i18n.phonenumbers.AsYouTypeFormatter.MIN_LEADING_DIGITS_LENGTH_=3,i18n.phonenumbers.AsYouTypeFormatter.prototype.getMetadataForRegion_=function(e){return e=this.phoneUtil_.getCountryCodeForRegion(e),e=this.phoneUtil_.getRegionCodeForCountryCode(e),null!=(e=this.phoneUtil_.getMetadataForRegion(e))?e:i18n.phonenumbers.AsYouTypeFormatter.EMPTY_METADATA_},i18n.phonenumbers.AsYouTypeFormatter.prototype.maybeCreateNewTemplate_=function(){for(var e=this.possibleFormats_.length,t=0;t<e;++t){var n=this.possibleFormats_[t],r=n.getPatternOrDefault();if(this.currentFormattingPattern_==r)return!1;if(this.createFormattingTemplate_(n))return this.currentFormattingPattern_=r,this.shouldAddSpaceAfterNationalPrefix_=i18n.phonenumbers.AsYouTypeFormatter.NATIONAL_PREFIX_SEPARATORS_PATTERN_.test(n.getNationalPrefixFormattingRule()),this.lastMatchPosition_=0,!0}return this.ableToFormat_=!1},i18n.phonenumbers.AsYouTypeFormatter.prototype.getAvailableFormats_=function(e){for(var t=this.isCompleteNumber_&&0==this.extractedNationalPrefix_.length&&0<this.currentMetadata_.intlNumberFormatCount()?this.currentMetadata_.intlNumberFormatArray():this.currentMetadata_.numberFormatArray(),n=t.length,r=0;r<n;++r){var o=t[r];0<this.extractedNationalPrefix_.length&&this.phoneUtil_.formattingRuleHasFirstGroupOnly(o.getNationalPrefixFormattingRuleOrDefault())&&!o.getNationalPrefixOptionalWhenFormatting()&&!o.hasDomesticCarrierCodeFormattingRule()||(0!=this.extractedNationalPrefix_.length||this.isCompleteNumber_||this.phoneUtil_.formattingRuleHasFirstGroupOnly(o.getNationalPrefixFormattingRuleOrDefault())||o.getNationalPrefixOptionalWhenFormatting())&&i18n.phonenumbers.AsYouTypeFormatter.ELIGIBLE_FORMAT_PATTERN_.test(o.getFormatOrDefault())&&this.possibleFormats_.push(o)}this.narrowDownPossibleFormats_(e)},i18n.phonenumbers.AsYouTypeFormatter.prototype.narrowDownPossibleFormats_=function(e){for(var t=[],n=e.length-i18n.phonenumbers.AsYouTypeFormatter.MIN_LEADING_DIGITS_LENGTH_,r=this.possibleFormats_.length,o=0;o<r;++o){var i=this.possibleFormats_[o];if(0==i.leadingDigitsPatternCount())t.push(this.possibleFormats_[o]);else{var a=Math.min(n,i.leadingDigitsPatternCount()-1);i=i.getLeadingDigitsPattern(a),0==e.search(i)&&t.push(this.possibleFormats_[o])}}this.possibleFormats_=t},i18n.phonenumbers.AsYouTypeFormatter.prototype.createFormattingTemplate_=function(e){var t=e.getPatternOrDefault();return this.formattingTemplate_.clear(),0<(e=this.getFormattingTemplate_(t,e.getFormatOrDefault())).length&&(this.formattingTemplate_.append(e),!0)},i18n.phonenumbers.AsYouTypeFormatter.prototype.getFormattingTemplate_=function(e,t){var n="999999999999999".match(e)[0];return n.length<this.nationalNumber_.getLength()?"":(e=n.replace(new RegExp(e,"g"),t)).replace(/9/g,this.DIGIT_PLACEHOLDER_)},i18n.phonenumbers.AsYouTypeFormatter.prototype.clear=function(){this.currentOutput_="",this.accruedInput_.clear(),this.accruedInputWithoutFormatting_.clear(),this.formattingTemplate_.clear(),this.lastMatchPosition_=0,this.currentFormattingPattern_="",this.prefixBeforeNationalNumber_.clear(),this.extractedNationalPrefix_="",this.nationalNumber_.clear(),this.ableToFormat_=!0,this.inputHasFormatting_=!1,this.originalPosition_=this.positionToRemember_=0,this.isExpectingCountryCallingCode_=this.isCompleteNumber_=!1,this.possibleFormats_=[],this.shouldAddSpaceAfterNationalPrefix_=!1,this.currentMetadata_!=this.defaultMetadata_&&(this.currentMetadata_=this.getMetadataForRegion_(this.defaultCountry_))},i18n.phonenumbers.AsYouTypeFormatter.prototype.inputDigit=function(e){return this.currentOutput_=this.inputDigitWithOptionToRememberPosition_(e,!1)},i18n.phonenumbers.AsYouTypeFormatter.prototype.inputDigitAndRememberPosition=function(e){return this.currentOutput_=this.inputDigitWithOptionToRememberPosition_(e,!0)},i18n.phonenumbers.AsYouTypeFormatter.prototype.inputDigitWithOptionToRememberPosition_=function(e,t){if(this.accruedInput_.append(e),t&&(this.originalPosition_=this.accruedInput_.getLength()),this.isDigitOrLeadingPlusSign_(e)?e=this.normalizeAndAccrueDigitsAndPlusSign_(e,t):(this.ableToFormat_=!1,this.inputHasFormatting_=!0),!this.ableToFormat_){if(!this.inputHasFormatting_)if(this.attemptToExtractIdd_()){if(this.attemptToExtractCountryCallingCode_())return this.attemptToChoosePatternWithPrefixExtracted_()}else if(this.ableToExtractLongerNdd_())return this.prefixBeforeNationalNumber_.append(i18n.phonenumbers.AsYouTypeFormatter.SEPARATOR_BEFORE_NATIONAL_NUMBER_),this.attemptToChoosePatternWithPrefixExtracted_();return this.accruedInput_.toString()}switch(this.accruedInputWithoutFormatting_.getLength()){case 0:case 1:case 2:return this.accruedInput_.toString();case 3:if(!this.attemptToExtractIdd_())return this.extractedNationalPrefix_=this.removeNationalPrefixFromNationalNumber_(),this.attemptToChooseFormattingPattern_();this.isExpectingCountryCallingCode_=!0;default:return this.isExpectingCountryCallingCode_?(this.attemptToExtractCountryCallingCode_()&&(this.isExpectingCountryCallingCode_=!1),this.prefixBeforeNationalNumber_.toString()+this.nationalNumber_.toString()):0<this.possibleFormats_.length?(e=this.inputDigitHelper_(e),0<(t=this.attemptToFormatAccruedDigits_()).length?t:(this.narrowDownPossibleFormats_(this.nationalNumber_.toString()),this.maybeCreateNewTemplate_()?this.inputAccruedNationalNumber_():this.ableToFormat_?this.appendNationalNumber_(e):this.accruedInput_.toString())):this.attemptToChooseFormattingPattern_()}},i18n.phonenumbers.AsYouTypeFormatter.prototype.attemptToChoosePatternWithPrefixExtracted_=function(){return this.ableToFormat_=!0,this.isExpectingCountryCallingCode_=!1,this.possibleFormats_=[],this.lastMatchPosition_=0,this.formattingTemplate_.clear(),this.currentFormattingPattern_="",this.attemptToChooseFormattingPattern_()},i18n.phonenumbers.AsYouTypeFormatter.prototype.getExtractedNationalPrefix_=function(){return this.extractedNationalPrefix_},i18n.phonenumbers.AsYouTypeFormatter.prototype.ableToExtractLongerNdd_=function(){if(0<this.extractedNationalPrefix_.length){var e=this.nationalNumber_.toString();this.nationalNumber_.clear(),this.nationalNumber_.append(this.extractedNationalPrefix_),this.nationalNumber_.append(e);var t=(e=this.prefixBeforeNationalNumber_.toString()).lastIndexOf(this.extractedNationalPrefix_);this.prefixBeforeNationalNumber_.clear(),this.prefixBeforeNationalNumber_.append(e.substring(0,t))}return this.extractedNationalPrefix_!=this.removeNationalPrefixFromNationalNumber_()},i18n.phonenumbers.AsYouTypeFormatter.prototype.isDigitOrLeadingPlusSign_=function(e){return i18n.phonenumbers.PhoneNumberUtil.CAPTURING_DIGIT_PATTERN.test(e)||1==this.accruedInput_.getLength()&&i18n.phonenumbers.PhoneNumberUtil.PLUS_CHARS_PATTERN.test(e)},i18n.phonenumbers.AsYouTypeFormatter.prototype.attemptToFormatAccruedDigits_=function(){for(var e=this.nationalNumber_.toString(),t=this.possibleFormats_.length,n=0;n<t;++n){var r=this.possibleFormats_[n],o=r.getPatternOrDefault();if(new RegExp("^(?:"+o+")$").test(e)&&(this.shouldAddSpaceAfterNationalPrefix_=i18n.phonenumbers.AsYouTypeFormatter.NATIONAL_PREFIX_SEPARATORS_PATTERN_.test(r.getNationalPrefixFormattingRule()),r=e.replace(new RegExp(o,"g"),r.getFormat()),r=this.appendNationalNumber_(r),i18n.phonenumbers.PhoneNumberUtil.normalizeDiallableCharsOnly(r)==this.accruedInputWithoutFormatting_))return r}return""},i18n.phonenumbers.AsYouTypeFormatter.prototype.appendNationalNumber_=function(e){var t=this.prefixBeforeNationalNumber_.getLength();return this.shouldAddSpaceAfterNationalPrefix_&&0<t&&this.prefixBeforeNationalNumber_.toString().charAt(t-1)!=i18n.phonenumbers.AsYouTypeFormatter.SEPARATOR_BEFORE_NATIONAL_NUMBER_?this.prefixBeforeNationalNumber_+i18n.phonenumbers.AsYouTypeFormatter.SEPARATOR_BEFORE_NATIONAL_NUMBER_+e:this.prefixBeforeNationalNumber_+e},i18n.phonenumbers.AsYouTypeFormatter.prototype.getRememberedPosition=function(){if(!this.ableToFormat_)return this.originalPosition_;for(var e=0,t=0,n=this.accruedInputWithoutFormatting_.toString(),r=this.currentOutput_.toString();e<this.positionToRemember_&&t<r.length;)n.charAt(e)==r.charAt(t)&&e++,t++;return t},i18n.phonenumbers.AsYouTypeFormatter.prototype.attemptToChooseFormattingPattern_=function(){var e=this.nationalNumber_.toString();return e.length>=i18n.phonenumbers.AsYouTypeFormatter.MIN_LEADING_DIGITS_LENGTH_?(this.getAvailableFormats_(e),0<(e=this.attemptToFormatAccruedDigits_()).length?e:this.maybeCreateNewTemplate_()?this.inputAccruedNationalNumber_():this.accruedInput_.toString()):this.appendNationalNumber_(e)},i18n.phonenumbers.AsYouTypeFormatter.prototype.inputAccruedNationalNumber_=function(){var e=this.nationalNumber_.toString(),t=e.length;if(0<t){for(var n="",r=0;r<t;r++)n=this.inputDigitHelper_(e.charAt(r));return this.ableToFormat_?this.appendNationalNumber_(n):this.accruedInput_.toString()}return this.prefixBeforeNationalNumber_.toString()},i18n.phonenumbers.AsYouTypeFormatter.prototype.isNanpaNumberWithNationalPrefix_=function(){if(1!=this.currentMetadata_.getCountryCode())return!1;var e=this.nationalNumber_.toString();return"1"==e.charAt(0)&&"0"!=e.charAt(1)&&"1"!=e.charAt(1)},i18n.phonenumbers.AsYouTypeFormatter.prototype.removeNationalPrefixFromNationalNumber_=function(){var e=this.nationalNumber_.toString(),t=0;if(this.isNanpaNumberWithNationalPrefix_())t=1,this.prefixBeforeNationalNumber_.append("1").append(i18n.phonenumbers.AsYouTypeFormatter.SEPARATOR_BEFORE_NATIONAL_NUMBER_),this.isCompleteNumber_=!0;else if(this.currentMetadata_.hasNationalPrefixForParsing()){var n=new RegExp("^(?:"+this.currentMetadata_.getNationalPrefixForParsing()+")");null!=(n=e.match(n))&&null!=n[0]&&0<n[0].length&&(this.isCompleteNumber_=!0,t=n[0].length,this.prefixBeforeNationalNumber_.append(e.substring(0,t)))}return this.nationalNumber_.clear(),this.nationalNumber_.append(e.substring(t)),e.substring(0,t)},i18n.phonenumbers.AsYouTypeFormatter.prototype.attemptToExtractIdd_=function(){var e=this.accruedInputWithoutFormatting_.toString(),t=new RegExp("^(?:\\"+i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN+"|"+this.currentMetadata_.getInternationalPrefix()+")");return null!=(t=e.match(t))&&null!=t[0]&&0<t[0].length&&(this.isCompleteNumber_=!0,t=t[0].length,this.nationalNumber_.clear(),this.nationalNumber_.append(e.substring(t)),this.prefixBeforeNationalNumber_.clear(),this.prefixBeforeNationalNumber_.append(e.substring(0,t)),e.charAt(0)!=i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN&&this.prefixBeforeNationalNumber_.append(i18n.phonenumbers.AsYouTypeFormatter.SEPARATOR_BEFORE_NATIONAL_NUMBER_),!0)},i18n.phonenumbers.AsYouTypeFormatter.prototype.attemptToExtractCountryCallingCode_=function(){if(0==this.nationalNumber_.getLength())return!1;var e=new goog.string.StringBuffer,t=this.phoneUtil_.extractCountryCode(this.nationalNumber_,e);return 0!=t&&(this.nationalNumber_.clear(),this.nationalNumber_.append(e.toString()),e=this.phoneUtil_.getRegionCodeForCountryCode(t),i18n.phonenumbers.PhoneNumberUtil.REGION_CODE_FOR_NON_GEO_ENTITY==e?this.currentMetadata_=this.phoneUtil_.getMetadataForNonGeographicalRegion(t):e!=this.defaultCountry_&&(this.currentMetadata_=this.getMetadataForRegion_(e)),this.prefixBeforeNationalNumber_.append(""+t).append(i18n.phonenumbers.AsYouTypeFormatter.SEPARATOR_BEFORE_NATIONAL_NUMBER_),this.extractedNationalPrefix_="",!0)},i18n.phonenumbers.AsYouTypeFormatter.prototype.normalizeAndAccrueDigitsAndPlusSign_=function(e,t){if(e==i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN){var n=e;this.accruedInputWithoutFormatting_.append(e)}else n=i18n.phonenumbers.PhoneNumberUtil.DIGIT_MAPPINGS[e],this.accruedInputWithoutFormatting_.append(n),this.nationalNumber_.append(n);return t&&(this.positionToRemember_=this.accruedInputWithoutFormatting_.getLength()),n},i18n.phonenumbers.AsYouTypeFormatter.prototype.inputDigitHelper_=function(e){var t=this.formattingTemplate_.toString();if(0<=t.substring(this.lastMatchPosition_).search(this.DIGIT_PATTERN_)){var n=t.search(this.DIGIT_PATTERN_);return e=t.replace(this.DIGIT_PATTERN_,e),this.formattingTemplate_.clear(),this.formattingTemplate_.append(e),this.lastMatchPosition_=n,e.substring(0,this.lastMatchPosition_+1)}return 1==this.possibleFormats_.length&&(this.ableToFormat_=!1),this.currentFormattingPattern_="",this.accruedInput_.toString()},Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=i18n.phonenumbers,module.exports=exports.default}).call(this)}).call(this,"undefined"!==typeof commonjsGlobal?commonjsGlobal:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{}]},{},[1])(1)},module.exports=f()})(libphonenumber);var gPhoneNumber=getDefaultExportFromCjs(libphonenumber.exports),phoneUtil=gPhoneNumber.PhoneNumberUtil.getInstance(),YUP_PHONE_METHOD="phone",CLDR_REGION_CODE_SIZE=2,isValidCountryCode=function(e){return"string"===typeof e&&e.length===CLDR_REGION_CODE_SIZE};Yup__namespace.addMethod(Yup__namespace.string,YUP_PHONE_METHOD,(function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n="");var r="string"===typeof n&&n?n:isValidCountryCode(e)?"${path} must be a valid phone number for region "+e:"${path} must be a valid phone number.";return this.test(YUP_PHONE_METHOD,r,(function(n){isValidCountryCode(e)||(e="IN",t=!1);try{var r=phoneUtil.parseAndKeepRawInput(n,e);if(!phoneUtil.isPossibleNumber(r))return!1;var o=phoneUtil.getRegionCodeForNumber(r);return t?phoneUtil.isValidNumberForRegion(r,e):phoneUtil.isValidNumberForRegion(r,o)}catch(i){return!1}}))}))},factory(__webpack_require__(69973))},69973:function(e,t,n){"use strict";n.r(t),n.d(t,{ArraySchema:function(){return Xe},BaseSchema:function(){return ee},BooleanSchema:function(){return be},DateSchema:function(){return ke},MixedSchema:function(){return de},NumberSchema:function(){return we},ObjectSchema:function(){return Ze},StringSchema:function(){return ze},ValidationError:function(){return R},addMethod:function(){return Ke},array:function(){return Ve},bool:function(){return he},boolean:function(){return he},date:function(){return Ee},isSchema:function(){return C},lazy:function(){return Qe},mixed:function(){return pe},number:function(){return xe},object:function(){return He},reach:function(){return Q},ref:function(){return Z},setLocale:function(){return Ge},string:function(){return _e}});var r,o,i=n(93433),a=n(15671),s=n(43144);try{r=Map}catch(Je){}try{o=Set}catch(Je){}function l(e,t,n){if(!e||"object"!==typeof e||"function"===typeof e)return e;if(e.nodeType&&"cloneNode"in e)return e.cloneNode(!0);if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp)return new RegExp(e);if(Array.isArray(e))return e.map(c);if(r&&e instanceof r)return new Map(Array.from(e.entries()));if(o&&e instanceof o)return new Set(Array.from(e.values()));if(e instanceof Object){t.push(e);var i=Object.create(e);for(var a in n.push(i),e){var s=t.findIndex((function(t){return t===e[a]}));i[a]=s>-1?n[s]:l(e[a],t,n)}return i}return e}function c(e){return l(e,[],[])}var u=Object.prototype.toString,d=Error.prototype.toString,p=RegExp.prototype.toString,f="undefined"!==typeof Symbol?Symbol.prototype.toString:function(){return""},h=/^Symbol\((.*)\)(.*)$/;function b(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null==e||!0===e||!1===e)return""+e;var n=typeof e;if("number"===n)return function(e){return e!=+e?"NaN":0===e&&1/e<0?"-0":""+e}(e);if("string"===n)return t?'"'.concat(e,'"'):e;if("function"===n)return"[Function "+(e.name||"anonymous")+"]";if("symbol"===n)return f.call(e).replace(h,"Symbol($1)");var r=u.call(e).slice(8,-1);return"Date"===r?isNaN(e.getTime())?""+e:e.toISOString(e):"Error"===r||e instanceof Error?"["+d.call(e)+"]":"RegExp"===r?p.call(e):null}function A(e,t){var n=b(e,t);return null!==n?n:JSON.stringify(e,(function(e,n){var r=b(this[e],t);return null!==r?r:n}),2)}var m={default:"${path} is invalid",required:"${path} is a required field",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:function(e){var t=e.path,n=e.type,r=e.value,o=e.originalValue,i=null!=o&&o!==r,a="".concat(t," must be a `").concat(n,"` type, ")+"but the final value was: `".concat(A(r,!0),"`")+(i?" (cast from the value `".concat(A(o,!0),"`)."):".");return null===r&&(a+='\n If "null" is intended as an empty value be sure to mark the schema as `.nullable()`'),a},defined:"${path} must be defined"},g={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},v={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},y={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},M={isValue:"${path} field must be ${value}"},O={noUnknown:"${path} field has unspecified keys: ${unknown}"},_={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},z=Object.assign(Object.create(null),{mixed:m,string:g,number:v,date:y,object:O,array:_,boolean:M}),x=n(51912),w=n.n(x),C=function(e){return e&&e.__isYupSchema__},S=function(){function e(t,n){if((0,a.Z)(this,e),this.fn=void 0,this.refs=t,this.refs=t,"function"!==typeof n){if(!w()(n,"is"))throw new TypeError("`is:` is required for `when()` conditions");if(!n.then&&!n.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");var r=n.is,o=n.then,i=n.otherwise,s="function"===typeof r?r:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.every((function(e){return e===r}))};this.fn=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.pop(),a=t.pop(),l=s.apply(void 0,t)?o:i;if(l)return"function"===typeof l?l(a):a.concat(l.resolve(r))}}else this.fn=n}return(0,s.Z)(e,[{key:"resolve",value:function(e,t){var n=this.refs.map((function(e){return e.getValue(null==t?void 0:t.value,null==t?void 0:t.parent,null==t?void 0:t.context)})),r=this.fn.apply(e,n.concat(e,t));if(void 0===r||r===e)return e;if(!C(r))throw new TypeError("conditions must return a schema object");return r.resolve(t)}}]),e}(),E=S,k=n(97326),D=n(60136),N=n(29388),T=n(98737);function j(e){return null==e?[]:[].concat(e)}function B(){return B=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},B.apply(this,arguments)}var L=/\$\{\s*(\w+)\s*\}/g,R=function(e){(0,D.Z)(n,e);var t=(0,N.Z)(n);function n(e,r,o,s){var l;return(0,a.Z)(this,n),(l=t.call(this)).value=void 0,l.path=void 0,l.type=void 0,l.errors=void 0,l.params=void 0,l.inner=void 0,l.name="ValidationError",l.value=r,l.path=o,l.type=s,l.errors=[],l.inner=[],j(e).forEach((function(e){var t;n.isError(e)?((t=l.errors).push.apply(t,(0,i.Z)(e.errors)),l.inner=l.inner.concat(e.inner.length?e.inner:e)):l.errors.push(e)})),l.message=l.errors.length>1?"".concat(l.errors.length," errors occurred"):l.errors[0],Error.captureStackTrace&&Error.captureStackTrace((0,k.Z)(l),n),l}return(0,s.Z)(n,null,[{key:"formatError",value:function(e,t){var n=t.label||t.path||"this";return n!==t.path&&(t=B({},t,{path:n})),"string"===typeof e?e.replace(L,(function(e,n){return A(t[n])})):"function"===typeof e?e(t):e}},{key:"isError",value:function(e){return e&&"ValidationError"===e.name}}]),n}((0,T.Z)(Error));function q(e,t){var n=e.endEarly,r=e.tests,o=e.args,a=e.value,s=e.errors,l=e.sort,c=e.path,u=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(t),d=r.length,p=[];if(s=s||[],!d)return s.length?u(new R(s,a,c)):u(null,a);for(var f=0;f<r.length;f++){(0,r[f])(o,(function(e){if(e){if(!R.isError(e))return u(e,a);if(n)return e.value=a,u(e,a);p.push(e)}if(--d<=0){if(p.length&&(l&&p.sort(l),s.length&&p.push.apply(p,(0,i.Z)(s)),s=p),s.length)return void u(new R(s,a,c),a);u(null,a)}}))}}var P=n(28463),I=n.n(P),W=n(23294),F="$",U=".";function Z(e,t){return new H(e,t)}var H=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((0,a.Z)(this,e),this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,"string"!==typeof t)throw new TypeError("ref must be a string, got: "+t);if(this.key=t.trim(),""===t)throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===F,this.isValue=this.key[0]===U,this.isSibling=!this.isContext&&!this.isValue;var r=this.isContext?F:this.isValue?U:"";this.path=this.key.slice(r.length),this.getter=this.path&&(0,W.getter)(this.path,!0),this.map=n.map}return(0,s.Z)(e,[{key:"getValue",value:function(e,t,n){var r=this.isContext?n:this.isValue?e:t;return this.getter&&(r=this.getter(r||{})),this.map&&(r=this.map(r)),r}},{key:"cast",value:function(e,t){return this.getValue(e,null==t?void 0:t.parent,null==t?void 0:t.context)}},{key:"resolve",value:function(){return this}},{key:"describe",value:function(){return{type:"ref",key:this.key}}},{key:"toString",value:function(){return"Ref(".concat(this.key,")")}}],[{key:"isRef",value:function(e){return e&&e.__isYupRef}}]),e}();function $(){return $=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$.apply(this,arguments)}function V(e){function t(t,n){var r=t.value,o=t.path,i=void 0===o?"":o,a=t.label,s=t.options,l=t.originalValue,c=t.sync,u=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,["value","path","label","options","originalValue","sync"]),d=e.name,p=e.test,f=e.params,h=e.message,b=s.parent,A=s.context;function m(e){return H.isRef(e)?e.getValue(r,b,A):e}function g(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=I()($({value:r,originalValue:l,label:a,path:e.path||i},f,e.params),m),n=new R(R.formatError(e.message||h,t),r,t.path,e.type||d);return n.params=t,n}var v=$({path:i,parent:b,type:d,createError:g,resolve:m,options:s,originalValue:l},u);if(c){var y;try{var M;if("function"===typeof(null==(M=y=p.call(v,r,v))?void 0:M.then))throw new Error('Validation test of type: "'.concat(v.type,'" returned a Promise during a synchronous validate. ')+"This test will finish after the validate call has returned")}catch(O){return void n(O)}R.isError(y)?n(y):y?n(null,y):n(g())}else try{Promise.resolve(p.call(v,r,v)).then((function(e){R.isError(e)?n(e):e?n(null,e):n(g())})).catch(n)}catch(O){n(O)}}return t.OPTIONS=e,t}H.prototype.__isYupRef=!0;function X(e,t,n){var r,o,i,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n;return t?((0,W.forEach)(t,(function(s,l,c){var u=l?function(e){return e.substr(0,e.length-1).substr(1)}(s):s;if((e=e.resolve({context:a,parent:r,value:n})).innerType){var d=c?parseInt(u,10):0;if(n&&d>=n.length)throw new Error("Yup.reach cannot resolve an array item at index: ".concat(s,", in the path: ").concat(t,". ")+"because there is no value at that index. ");r=n,n=n&&n[d],e=e.innerType}if(!c){if(!e.fields||!e.fields[u])throw new Error("The schema does not contain the path: ".concat(t,". ")+"(failed at: ".concat(i,' which is a type: "').concat(e._type,'")'));r=n,n=n&&n[u],e=e.fields[u]}o=u,i=l?"["+s+"]":"."+s})),{schema:e,parent:r,parentPath:o}):{parent:r,parentPath:t,schema:e}}var Q=function(e,t,n,r){return X(e,t,n,r).schema},Y=n(29439),G=n(37762),K=function(){function e(){(0,a.Z)(this,e),this.list=void 0,this.refs=void 0,this.list=new Set,this.refs=new Map}return(0,s.Z)(e,[{key:"size",get:function(){return this.list.size+this.refs.size}},{key:"describe",value:function(){var e,t=[],n=(0,G.Z)(this.list);try{for(n.s();!(e=n.n()).done;){var r=e.value;t.push(r)}}catch(s){n.e(s)}finally{n.f()}var o,i=(0,G.Z)(this.refs);try{for(i.s();!(o=i.n()).done;){var a=(0,Y.Z)(o.value,2)[1];t.push(a.describe())}}catch(s){i.e(s)}finally{i.f()}return t}},{key:"toArray",value:function(){return Array.from(this.list).concat(Array.from(this.refs.values()))}},{key:"resolveAll",value:function(e){return this.toArray().reduce((function(t,n){return t.concat(H.isRef(n)?e(n):n)}),[])}},{key:"add",value:function(e){H.isRef(e)?this.refs.set(e.key,e):this.list.add(e)}},{key:"delete",value:function(e){H.isRef(e)?this.refs.delete(e.key):this.list.delete(e)}},{key:"clone",value:function(){var t=new e;return t.list=new Set(this.list),t.refs=new Map(this.refs),t}},{key:"merge",value:function(e,t){var n=this.clone();return e.list.forEach((function(e){return n.add(e)})),e.refs.forEach((function(e){return n.add(e)})),t.list.forEach((function(e){return n.delete(e)})),t.refs.forEach((function(e){return n.delete(e)})),n}}]),e}();function J(){return J=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},J.apply(this,arguments)}var ee=function(){function e(t){var n=this;(0,a.Z)(this,e),this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this._typeError=void 0,this._whitelist=new K,this._blacklist=new K,this.exclusiveTests=Object.create(null),this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation((function(){n.typeError(m.notType)})),this.type=(null==t?void 0:t.type)||"mixed",this.spec=J({strip:!1,strict:!1,abortEarly:!0,recursive:!0,nullable:!1,presence:"optional"},null==t?void 0:t.spec)}return(0,s.Z)(e,[{key:"_type",get:function(){return this.type}},{key:"_typeCheck",value:function(e){return!0}},{key:"clone",value:function(e){if(this._mutate)return e&&Object.assign(this.spec,e),this;var t=Object.create(Object.getPrototypeOf(this));return t.type=this.type,t._typeError=this._typeError,t._whitelistError=this._whitelistError,t._blacklistError=this._blacklistError,t._whitelist=this._whitelist.clone(),t._blacklist=this._blacklist.clone(),t.exclusiveTests=J({},this.exclusiveTests),t.deps=(0,i.Z)(this.deps),t.conditions=(0,i.Z)(this.conditions),t.tests=(0,i.Z)(this.tests),t.transforms=(0,i.Z)(this.transforms),t.spec=c(J({},this.spec,e)),t}},{key:"label",value:function(e){var t=this.clone();return t.spec.label=e,t}},{key:"meta",value:function(){if(0===arguments.length)return this.spec.meta;var e=this.clone();return e.spec.meta=Object.assign(e.spec.meta||{},arguments.length<=0?void 0:arguments[0]),e}},{key:"withMutation",value:function(e){var t=this._mutate;this._mutate=!0;var n=e(this);return this._mutate=t,n}},{key:"concat",value:function(e){if(!e||e===this)return this;if(e.type!==this.type&&"mixed"!==this.type)throw new TypeError("You cannot `concat()` schema's of different types: ".concat(this.type," and ").concat(e.type));var t=this,n=e.clone(),r=J({},t.spec,n.spec);return n.spec=r,n._typeError||(n._typeError=t._typeError),n._whitelistError||(n._whitelistError=t._whitelistError),n._blacklistError||(n._blacklistError=t._blacklistError),n._whitelist=t._whitelist.merge(e._whitelist,e._blacklist),n._blacklist=t._blacklist.merge(e._blacklist,e._whitelist),n.tests=t.tests,n.exclusiveTests=t.exclusiveTests,n.withMutation((function(t){e.tests.forEach((function(e){t.test(e.OPTIONS)}))})),n.transforms=[].concat((0,i.Z)(t.transforms),(0,i.Z)(n.transforms)),n}},{key:"isType",value:function(e){return!(!this.spec.nullable||null!==e)||this._typeCheck(e)}},{key:"resolve",value:function(e){var t=this;if(t.conditions.length){var n=t.conditions;(t=t.clone()).conditions=[],t=(t=n.reduce((function(t,n){return n.resolve(t,e)}),t)).resolve(e)}return t}},{key:"cast",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.resolve(J({value:e},t)),r=n._cast(e,t);if(void 0!==e&&!1!==t.assert&&!0!==n.isType(r)){var o=A(e),i=A(r);throw new TypeError("The value of ".concat(t.path||"field"," could not be cast to a value ")+'that satisfies the schema type: "'.concat(n._type,'". \n\n')+"attempted value: ".concat(o," \n")+(i!==o?"result of cast: ".concat(i):""))}return r}},{key:"_cast",value:function(e,t){var n=this,r=void 0===e?e:this.transforms.reduce((function(t,r){return r.call(n,t,e,n)}),e);return void 0===r&&(r=this.getDefault()),r}},{key:"_validate",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,o=n.sync,i=n.path,a=n.from,s=void 0===a?[]:a,l=n.originalValue,c=void 0===l?e:l,u=n.strict,d=void 0===u?this.spec.strict:u,p=n.abortEarly,f=void 0===p?this.spec.abortEarly:p,h=e;d||(h=this._cast(h,J({assert:!1},n)));var b={value:h,path:i,options:n,originalValue:c,schema:this,label:this.spec.label,sync:o,from:s},A=[];this._typeError&&A.push(this._typeError);var m=[];this._whitelistError&&m.push(this._whitelistError),this._blacklistError&&m.push(this._blacklistError),q({args:b,value:h,path:i,sync:o,tests:A,endEarly:f},(function(e){e?r(e,h):q({tests:t.tests.concat(m),args:b,path:i,sync:o,value:h,endEarly:f},r)}))}},{key:"validate",value:function(e,t,n){var r=this.resolve(J({},t,{value:e}));return"function"===typeof n?r._validate(e,t,n):new Promise((function(n,o){return r._validate(e,t,(function(e,t){e?o(e):n(t)}))}))}},{key:"validateSync",value:function(e,t){var n;return this.resolve(J({},t,{value:e}))._validate(e,J({},t,{sync:!0}),(function(e,t){if(e)throw e;n=t})),n}},{key:"isValid",value:function(e,t){return this.validate(e,t).then((function(){return!0}),(function(e){if(R.isError(e))return!1;throw e}))}},{key:"isValidSync",value:function(e,t){try{return this.validateSync(e,t),!0}catch(n){if(R.isError(n))return!1;throw n}}},{key:"_getDefault",value:function(){var e=this.spec.default;return null==e?e:"function"===typeof e?e.call(this):c(e)}},{key:"getDefault",value:function(e){return this.resolve(e||{})._getDefault()}},{key:"default",value:function(e){return 0===arguments.length?this._getDefault():this.clone({default:e})}},{key:"strict",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.clone();return t.spec.strict=e,t}},{key:"_isPresent",value:function(e){return null!=e}},{key:"defined",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m.defined;return this.test({message:e,name:"defined",exclusive:!0,test:function(e){return void 0!==e}})}},{key:"required",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m.required;return this.clone({presence:"required"}).withMutation((function(t){return t.test({message:e,name:"required",exclusive:!0,test:function(e){return this.schema._isPresent(e)}})}))}},{key:"notRequired",value:function(){var e=this.clone({presence:"optional"});return e.tests=e.tests.filter((function(e){return"required"!==e.OPTIONS.name})),e}},{key:"nullable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.clone({nullable:!1!==e})}},{key:"transform",value:function(e){var t=this.clone();return t.transforms.push(e),t}},{key:"test",value:function(){var e;if(void 0===(e=1===arguments.length?"function"===typeof(arguments.length<=0?void 0:arguments[0])?{test:arguments.length<=0?void 0:arguments[0]}:arguments.length<=0?void 0:arguments[0]:2===arguments.length?{name:arguments.length<=0?void 0:arguments[0],test:arguments.length<=1?void 0:arguments[1]}:{name:arguments.length<=0?void 0:arguments[0],message:arguments.length<=1?void 0:arguments[1],test:arguments.length<=2?void 0:arguments[2]}).message&&(e.message=m.default),"function"!==typeof e.test)throw new TypeError("`test` is a required parameters");var t=this.clone(),n=V(e),r=e.exclusive||e.name&&!0===t.exclusiveTests[e.name];if(e.exclusive&&!e.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return e.name&&(t.exclusiveTests[e.name]=!!e.exclusive),t.tests=t.tests.filter((function(t){if(t.OPTIONS.name===e.name){if(r)return!1;if(t.OPTIONS.test===n.OPTIONS.test)return!1}return!0})),t.tests.push(n),t}},{key:"when",value:function(e,t){Array.isArray(e)||"string"===typeof e||(t=e,e=".");var n=this.clone(),r=j(e).map((function(e){return new H(e)}));return r.forEach((function(e){e.isSibling&&n.deps.push(e.key)})),n.conditions.push(new E(r,t)),n}},{key:"typeError",value:function(e){var t=this.clone();return t._typeError=V({message:e,name:"typeError",test:function(e){return!(void 0!==e&&!this.schema.isType(e))||this.createError({params:{type:this.schema._type}})}}),t}},{key:"oneOf",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m.oneOf,n=this.clone();return e.forEach((function(e){n._whitelist.add(e),n._blacklist.delete(e)})),n._whitelistError=V({message:t,name:"oneOf",test:function(e){if(void 0===e)return!0;var t=this.schema._whitelist,n=t.resolveAll(this.resolve);return!!n.includes(e)||this.createError({params:{values:t.toArray().join(", "),resolved:n}})}}),n}},{key:"notOneOf",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m.notOneOf,n=this.clone();return e.forEach((function(e){n._blacklist.add(e),n._whitelist.delete(e)})),n._blacklistError=V({message:t,name:"notOneOf",test:function(e){var t=this.schema._blacklist,n=t.resolveAll(this.resolve);return!n.includes(e)||this.createError({params:{values:t.toArray().join(", "),resolved:n}})}}),n}},{key:"strip",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.clone();return t.spec.strip=e,t}},{key:"describe",value:function(){var e=this.clone(),t=e.spec,n=t.label;return{meta:t.meta,label:n,type:e.type,oneOf:e._whitelist.describe(),notOneOf:e._blacklist.describe(),tests:e.tests.map((function(e){return{name:e.OPTIONS.name,params:e.OPTIONS.params}})).filter((function(e,t,n){return n.findIndex((function(t){return t.name===e.name}))===t}))}}}]),e}();ee.prototype.__isYupSchema__=!0;for(var te=function(){var e=re[ne];ee.prototype["".concat(e,"At")]=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=X(this,t,n,r.context),i=o.parent,a=o.parentPath;return o.schema[e](i&&i[a],J({},r,{parent:i,path:t}))}},ne=0,re=["validate","validateSync"];ne<re.length;ne++)te();for(var oe=0,ie=["equals","is"];oe<ie.length;oe++){var ae=ie[oe];ee.prototype[ae]=ee.prototype.oneOf}for(var se=0,le=["not","nope"];se<le.length;se++){var ce=le[se];ee.prototype[ce]=ee.prototype.notOneOf}ee.prototype.optional=ee.prototype.notRequired;var ue=ee,de=ue;function pe(){return new ue}pe.prototype=ue.prototype;var fe=function(e){return null==e};function he(){return new be}var be=function(e){(0,D.Z)(n,e);var t=(0,N.Z)(n);function n(){var e;return(0,a.Z)(this,n),(e=t.call(this,{type:"boolean"})).withMutation((function(){e.transform((function(e){if(!this.isType(e)){if(/^(true|1)$/i.test(String(e)))return!0;if(/^(false|0)$/i.test(String(e)))return!1}return e}))})),e}return(0,s.Z)(n,[{key:"_typeCheck",value:function(e){return e instanceof Boolean&&(e=e.valueOf()),"boolean"===typeof e}},{key:"isTrue",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:M.isValue;return this.test({message:e,name:"is-value",exclusive:!0,params:{value:"true"},test:function(e){return fe(e)||!0===e}})}},{key:"isFalse",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:M.isValue;return this.test({message:e,name:"is-value",exclusive:!0,params:{value:"false"},test:function(e){return fe(e)||!1===e}})}}]),n}(ee);he.prototype=be.prototype;var Ae=n(11752),me=n(61120),ge=/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i,ve=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,ye=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,Me=function(e){return fe(e)||e===e.trim()},Oe={}.toString();function _e(){return new ze}var ze=function(e){(0,D.Z)(n,e);var t=(0,N.Z)(n);function n(){var e;return(0,a.Z)(this,n),(e=t.call(this,{type:"string"})).withMutation((function(){e.transform((function(e){if(this.isType(e))return e;if(Array.isArray(e))return e;var t=null!=e&&e.toString?e.toString():e;return t===Oe?e:t}))})),e}return(0,s.Z)(n,[{key:"_typeCheck",value:function(e){return e instanceof String&&(e=e.valueOf()),"string"===typeof e}},{key:"_isPresent",value:function(e){return(0,Ae.Z)((0,me.Z)(n.prototype),"_isPresent",this).call(this,e)&&!!e.length}},{key:"length",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g.length;return this.test({message:t,name:"length",exclusive:!0,params:{length:e},test:function(t){return fe(t)||t.length===this.resolve(e)}})}},{key:"min",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g.min;return this.test({message:t,name:"min",exclusive:!0,params:{min:e},test:function(t){return fe(t)||t.length>=this.resolve(e)}})}},{key:"max",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g.max;return this.test({name:"max",exclusive:!0,message:t,params:{max:e},test:function(t){return fe(t)||t.length<=this.resolve(e)}})}},{key:"matches",value:function(e,t){var n,r,o=!1;if(t)if("object"===typeof t){var i=t.excludeEmptyString;o=void 0!==i&&i,n=t.message,r=t.name}else n=t;return this.test({name:r||"matches",message:n||g.matches,params:{regex:e},test:function(t){return fe(t)||""===t&&o||-1!==t.search(e)}})}},{key:"email",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.email;return this.matches(ge,{name:"email",message:e,excludeEmptyString:!0})}},{key:"url",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.url;return this.matches(ve,{name:"url",message:e,excludeEmptyString:!0})}},{key:"uuid",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.uuid;return this.matches(ye,{name:"uuid",message:e,excludeEmptyString:!1})}},{key:"ensure",value:function(){return this.default("").transform((function(e){return null===e?"":e}))}},{key:"trim",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.trim;return this.transform((function(e){return null!=e?e.trim():e})).test({message:e,name:"trim",test:Me})}},{key:"lowercase",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.lowercase;return this.transform((function(e){return fe(e)?e:e.toLowerCase()})).test({message:e,name:"string_case",exclusive:!0,test:function(e){return fe(e)||e===e.toLowerCase()}})}},{key:"uppercase",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.uppercase;return this.transform((function(e){return fe(e)?e:e.toUpperCase()})).test({message:e,name:"string_case",exclusive:!0,test:function(e){return fe(e)||e===e.toUpperCase()}})}}]),n}(ee);_e.prototype=ze.prototype;function xe(){return new we}var we=function(e){(0,D.Z)(n,e);var t=(0,N.Z)(n);function n(){var e;return(0,a.Z)(this,n),(e=t.call(this,{type:"number"})).withMutation((function(){e.transform((function(e){var t=e;if("string"===typeof t){if(""===(t=t.replace(/\s/g,"")))return NaN;t=+t}return this.isType(t)?t:parseFloat(t)}))})),e}return(0,s.Z)(n,[{key:"_typeCheck",value:function(e){return e instanceof Number&&(e=e.valueOf()),"number"===typeof e&&!function(e){return e!=+e}(e)}},{key:"min",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v.min;return this.test({message:t,name:"min",exclusive:!0,params:{min:e},test:function(t){return fe(t)||t>=this.resolve(e)}})}},{key:"max",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v.max;return this.test({message:t,name:"max",exclusive:!0,params:{max:e},test:function(t){return fe(t)||t<=this.resolve(e)}})}},{key:"lessThan",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v.lessThan;return this.test({message:t,name:"max",exclusive:!0,params:{less:e},test:function(t){return fe(t)||t<this.resolve(e)}})}},{key:"moreThan",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v.moreThan;return this.test({message:t,name:"min",exclusive:!0,params:{more:e},test:function(t){return fe(t)||t>this.resolve(e)}})}},{key:"positive",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v.positive;return this.moreThan(0,e)}},{key:"negative",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v.negative;return this.lessThan(0,e)}},{key:"integer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v.integer;return this.test({name:"integer",message:e,test:function(e){return fe(e)||Number.isInteger(e)}})}},{key:"truncate",value:function(){return this.transform((function(e){return fe(e)?e:0|e}))}},{key:"round",value:function(e){var t,n=["ceil","floor","round","trunc"];if("trunc"===(e=(null==(t=e)?void 0:t.toLowerCase())||"round"))return this.truncate();if(-1===n.indexOf(e.toLowerCase()))throw new TypeError("Only valid options for round() are: "+n.join(", "));return this.transform((function(t){return fe(t)?t:Math[e](t)}))}}]),n}(ee);xe.prototype=we.prototype;var Ce=/^(\d{4}|[+\-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;var Se=new Date("");function Ee(){return new ke}var ke=function(e){(0,D.Z)(n,e);var t=(0,N.Z)(n);function n(){var e;return(0,a.Z)(this,n),(e=t.call(this,{type:"date"})).withMutation((function(){e.transform((function(e){return this.isType(e)?e:(e=function(e){var t,n,r=[1,4,5,6,7,10,11],o=0;if(n=Ce.exec(e)){for(var i,a=0;i=r[a];++a)n[i]=+n[i]||0;n[2]=(+n[2]||1)-1,n[3]=+n[3]||1,n[7]=n[7]?String(n[7]).substr(0,3):0,void 0!==n[8]&&""!==n[8]||void 0!==n[9]&&""!==n[9]?("Z"!==n[8]&&void 0!==n[9]&&(o=60*n[10]+n[11],"+"===n[9]&&(o=0-o)),t=Date.UTC(n[1],n[2],n[3],n[4],n[5]+o,n[6],n[7])):t=+new Date(n[1],n[2],n[3],n[4],n[5],n[6],n[7])}else t=Date.parse?Date.parse(e):NaN;return t}(e),isNaN(e)?Se:new Date(e))}))})),e}return(0,s.Z)(n,[{key:"_typeCheck",value:function(e){return t=e,"[object Date]"===Object.prototype.toString.call(t)&&!isNaN(e.getTime());var t}},{key:"prepareParam",value:function(e,t){var n;if(H.isRef(e))n=e;else{var r=this.cast(e);if(!this._typeCheck(r))throw new TypeError("`".concat(t,"` must be a Date or a value that can be `cast()` to a Date"));n=r}return n}},{key:"min",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:y.min,n=this.prepareParam(e,"min");return this.test({message:t,name:"min",exclusive:!0,params:{min:e},test:function(e){return fe(e)||e>=this.resolve(n)}})}},{key:"max",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:y.max,n=this.prepareParam(e,"max");return this.test({message:t,name:"max",exclusive:!0,params:{max:e},test:function(e){return fe(e)||e<=this.resolve(n)}})}}]),n}(ee);ke.INVALID_DATE=Se,Ee.prototype=ke.prototype,Ee.INVALID_DATE=Se;var De=n(63796),Ne=n.n(De),Te=n(49746),je=n.n(Te),Be=n(84129),Le=n.n(Be),Re=n(64064),qe=n.n(Re);function Pe(e,t){var n=1/0;return e.some((function(e,r){var o;if(-1!==(null==(o=t.path)?void 0:o.indexOf(e)))return n=r,!0})),n}function Ie(e){return function(t,n){return Pe(e,t)-Pe(e,n)}}function We(){return We=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},We.apply(this,arguments)}var Fe=function(e){return"[object Object]"===Object.prototype.toString.call(e)};var Ue=Ie([]),Ze=function(e){(0,D.Z)(n,e);var t=(0,N.Z)(n);function n(e){var r;return(0,a.Z)(this,n),(r=t.call(this,{type:"object"})).fields=Object.create(null),r._sortErrors=Ue,r._nodes=[],r._excludedEdges=[],r.withMutation((function(){r.transform((function(e){if("string"===typeof e)try{e=JSON.parse(e)}catch(t){e=null}return this.isType(e)?e:null})),e&&r.shape(e)})),r}return(0,s.Z)(n,[{key:"_typeCheck",value:function(e){return Fe(e)||"function"===typeof e}},{key:"_cast",value:function(e){var t,r=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=(0,Ae.Z)((0,me.Z)(n.prototype),"_cast",this).call(this,e,o);if(void 0===i)return this.getDefault();if(!this._typeCheck(i))return i;var a,s=this.fields,l=null!=(t=o.stripUnknown)?t:this.spec.noUnknown,c=this._nodes.concat(Object.keys(i).filter((function(e){return-1===r._nodes.indexOf(e)}))),u={},d=We({},o,{parent:u,__validating:o.__validating||!1}),p=!1,f=(0,G.Z)(c);try{for(f.s();!(a=f.n()).done;){var h=a.value,b=s[h],A=w()(i,h);if(b){var m,g=i[h];d.path=(o.path?"".concat(o.path,"."):"")+h;var v="spec"in(b=b.resolve({value:g,context:o.context,parent:u}))?b.spec:void 0,y=null==v?void 0:v.strict;if(null==v?void 0:v.strip){p=p||h in i;continue}void 0!==(m=o.__validating&&y?i[h]:b.cast(i[h],d))&&(u[h]=m)}else A&&!l&&(u[h]=i[h]);u[h]!==i[h]&&(p=!0)}}catch(M){f.e(M)}finally{f.f()}return p?u:i}},{key:"_validate",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2?arguments[2]:void 0,a=[],s=r.sync,l=r.from,c=void 0===l?[]:l,u=r.originalValue,d=void 0===u?e:u,p=r.abortEarly,f=void 0===p?this.spec.abortEarly:p,h=r.recursive,b=void 0===h?this.spec.recursive:h;c=[{schema:this,value:d}].concat((0,i.Z)(c)),r.__validating=!0,r.originalValue=d,r.from=c,(0,Ae.Z)((0,me.Z)(n.prototype),"_validate",this).call(this,e,r,(function(e,n){if(e){if(!R.isError(e)||f)return void o(e,n);a.push(e)}if(b&&Fe(n)){d=d||n;var i=t._nodes.map((function(e){return function(o,i){var a=-1===e.indexOf(".")?(r.path?"".concat(r.path,"."):"")+e:"".concat(r.path||"",'["').concat(e,'"]'),s=t.fields[e];s&&"validate"in s?s.validate(n[e],We({},r,{path:a,from:c,strict:!0,parent:n,originalValue:d[e]}),i):i(null)}}));q({sync:s,tests:i,value:n,errors:a,endEarly:f,sort:t._sortErrors,path:r.path},o)}else o(a[0]||null,n)}))}},{key:"clone",value:function(e){var t=(0,Ae.Z)((0,me.Z)(n.prototype),"clone",this).call(this,e);return t.fields=We({},this.fields),t._nodes=this._nodes,t._excludedEdges=this._excludedEdges,t._sortErrors=this._sortErrors,t}},{key:"concat",value:function(e){for(var t=this,r=(0,Ae.Z)((0,me.Z)(n.prototype),"concat",this).call(this,e),o=r.fields,i=0,a=Object.entries(this.fields);i<a.length;i++){var s=(0,Y.Z)(a[i],2),l=s[0],c=s[1],u=o[l];void 0===u?o[l]=c:u instanceof ee&&c instanceof ee&&(o[l]=c.concat(u))}return r.withMutation((function(){return r.shape(o,t._excludedEdges)}))}},{key:"getDefaultFromShape",value:function(){var e=this,t={};return this._nodes.forEach((function(n){var r=e.fields[n];t[n]="default"in r?r.getDefault():void 0})),t}},{key:"_getDefault",value:function(){return"default"in this.spec?(0,Ae.Z)((0,me.Z)(n.prototype),"_getDefault",this).call(this):this._nodes.length?this.getDefaultFromShape():void 0}},{key:"shape",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=this.clone(),r=Object.assign(n.fields,e);return n.fields=r,n._sortErrors=Ie(Object.keys(r)),t.length&&(Array.isArray(t[0])||(t=[t]),n._excludedEdges=[].concat((0,i.Z)(n._excludedEdges),(0,i.Z)(t))),n._nodes=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=new Set,o=new Set(t.map((function(e){var t=(0,Y.Z)(e,2),n=t[0],r=t[1];return"".concat(n,"-").concat(r)})));function i(e,t){var i=(0,W.split)(e)[0];r.add(i),o.has("".concat(t,"-").concat(i))||n.push([t,i])}var a=function(t){if(w()(e,t)){var n=e[t];r.add(t),H.isRef(n)&&n.isSibling?i(n.path,t):C(n)&&"deps"in n&&n.deps.forEach((function(e){return i(e,t)}))}};for(var s in e)a(s);return qe().array(Array.from(r),n).reverse()}(r,n._excludedEdges),n}},{key:"pick",value:function(e){var t,n={},r=(0,G.Z)(e);try{for(r.s();!(t=r.n()).done;){var o=t.value;this.fields[o]&&(n[o]=this.fields[o])}}catch(i){r.e(i)}finally{r.f()}return this.clone().withMutation((function(e){return e.fields={},e.shape(n)}))}},{key:"omit",value:function(e){var t=this.clone(),n=t.fields;t.fields={};var r,o=(0,G.Z)(e);try{for(o.s();!(r=o.n()).done;){var i=r.value;delete n[i]}}catch(a){o.e(a)}finally{o.f()}return t.withMutation((function(){return t.shape(n)}))}},{key:"from",value:function(e,t,n){var r=(0,W.getter)(e,!0);return this.transform((function(o){if(null==o)return o;var i=o;return w()(o,e)&&(i=We({},o),n||delete i[e],i[t]=r(o)),i}))}},{key:"noUnknown",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:O.noUnknown;"string"===typeof e&&(t=e,e=!0);var n=this.test({name:"noUnknown",exclusive:!0,message:t,test:function(t){if(null==t)return!0;var n=function(e,t){var n=Object.keys(e.fields);return Object.keys(t).filter((function(e){return-1===n.indexOf(e)}))}(this.schema,t);return!e||0===n.length||this.createError({params:{unknown:n.join(", ")}})}});return n.spec.noUnknown=e,n}},{key:"unknown",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:O.noUnknown;return this.noUnknown(!e,t)}},{key:"transformKeys",value:function(e){return this.transform((function(t){return t&&Le()(t,(function(t,n){return e(n)}))}))}},{key:"camelCase",value:function(){return this.transformKeys(je())}},{key:"snakeCase",value:function(){return this.transformKeys(Ne())}},{key:"constantCase",value:function(){return this.transformKeys((function(e){return Ne()(e).toUpperCase()}))}},{key:"describe",value:function(){var e=(0,Ae.Z)((0,me.Z)(n.prototype),"describe",this).call(this);return e.fields=I()(this.fields,(function(e){return e.describe()})),e}}]),n}(ee);function He(e){return new Ze(e)}function $e(){return $e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$e.apply(this,arguments)}function Ve(e){return new Xe(e)}He.prototype=Ze.prototype;var Xe=function(e){(0,D.Z)(n,e);var t=(0,N.Z)(n);function n(e){var r;return(0,a.Z)(this,n),(r=t.call(this,{type:"array"})).innerType=void 0,r.innerType=e,r.withMutation((function(){r.transform((function(e){if("string"===typeof e)try{e=JSON.parse(e)}catch(t){e=null}return this.isType(e)?e:null}))})),r}return(0,s.Z)(n,[{key:"_typeCheck",value:function(e){return Array.isArray(e)}},{key:"_subType",get:function(){return this.innerType}},{key:"_cast",value:function(e,t){var r=this,o=(0,Ae.Z)((0,me.Z)(n.prototype),"_cast",this).call(this,e,t);if(!this._typeCheck(o)||!this.innerType)return o;var i=!1,a=o.map((function(e,n){var o=r.innerType.cast(e,$e({},t,{path:"".concat(t.path||"","[").concat(n,"]")}));return o!==e&&(i=!0),o}));return i?a:o}},{key:"_validate",value:function(e){var t,r,o=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2?arguments[2]:void 0,s=[],l=i.sync,c=i.path,u=this.innerType,d=null!=(t=i.abortEarly)?t:this.spec.abortEarly,p=null!=(r=i.recursive)?r:this.spec.recursive,f=null!=i.originalValue?i.originalValue:e;(0,Ae.Z)((0,me.Z)(n.prototype),"_validate",this).call(this,e,i,(function(e,t){if(e){if(!R.isError(e)||d)return void a(e,t);s.push(e)}if(p&&u&&o._typeCheck(t)){f=f||t;for(var n=new Array(t.length),r=function(){var e=t[h],r="".concat(i.path||"","[").concat(h,"]"),o=$e({},i,{path:r,strict:!0,parent:t,index:h,originalValue:f[h]});n[h]=function(t,n){return u.validate(e,o,n)}},h=0;h<t.length;h++)r();q({sync:l,path:c,value:t,errors:s,endEarly:d,tests:n},a)}else a(s[0]||null,t)}))}},{key:"clone",value:function(e){var t=(0,Ae.Z)((0,me.Z)(n.prototype),"clone",this).call(this,e);return t.innerType=this.innerType,t}},{key:"concat",value:function(e){var t=(0,Ae.Z)((0,me.Z)(n.prototype),"concat",this).call(this,e);return t.innerType=this.innerType,e.innerType&&(t.innerType=t.innerType?t.innerType.concat(e.innerType):e.innerType),t}},{key:"of",value:function(e){var t=this.clone();if(!C(e))throw new TypeError("`array.of()` sub-schema must be a valid yup schema not: "+A(e));return t.innerType=e,t}},{key:"length",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_.length;return this.test({message:t,name:"length",exclusive:!0,params:{length:e},test:function(t){return fe(t)||t.length===this.resolve(e)}})}},{key:"min",value:function(e,t){return t=t||_.min,this.test({message:t,name:"min",exclusive:!0,params:{min:e},test:function(t){return fe(t)||t.length>=this.resolve(e)}})}},{key:"max",value:function(e,t){return t=t||_.max,this.test({message:t,name:"max",exclusive:!0,params:{max:e},test:function(t){return fe(t)||t.length<=this.resolve(e)}})}},{key:"ensure",value:function(){var e=this;return this.default((function(){return[]})).transform((function(t,n){return e._typeCheck(t)?t:null==n?[]:[].concat(n)}))}},{key:"compact",value:function(e){var t=e?function(t,n,r){return!e(t,n,r)}:function(e){return!!e};return this.transform((function(e){return null!=e?e.filter(t):e}))}},{key:"describe",value:function(){var e=(0,Ae.Z)((0,me.Z)(n.prototype),"describe",this).call(this);return this.innerType&&(e.innerType=this.innerType.describe()),e}},{key:"nullable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return(0,Ae.Z)((0,me.Z)(n.prototype),"nullable",this).call(this,e)}},{key:"defined",value:function(){return(0,Ae.Z)((0,me.Z)(n.prototype),"defined",this).call(this)}},{key:"required",value:function(e){return(0,Ae.Z)((0,me.Z)(n.prototype),"required",this).call(this,e)}}]),n}(ee);function Qe(e){return new Ye(e)}Ve.prototype=Xe.prototype;var Ye=function(){function e(t){var n=this;(0,a.Z)(this,e),this.type="lazy",this.__isYupSchema__=!0,this.__inputType=void 0,this.__outputType=void 0,this._resolve=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.builder(e,t);if(!C(r))throw new TypeError("lazy() functions must return a valid schema");return r.resolve(t)},this.builder=t}return(0,s.Z)(e,[{key:"resolve",value:function(e){return this._resolve(e.value,e)}},{key:"cast",value:function(e,t){return this._resolve(e,t).cast(e,t)}},{key:"validate",value:function(e,t,n){return this._resolve(e,t).validate(e,t,n)}},{key:"validateSync",value:function(e,t){return this._resolve(e,t).validateSync(e,t)}},{key:"validateAt",value:function(e,t,n){return this._resolve(t,n).validateAt(e,t,n)}},{key:"validateSyncAt",value:function(e,t,n){return this._resolve(t,n).validateSyncAt(e,t,n)}},{key:"describe",value:function(){return null}},{key:"isValid",value:function(e,t){return this._resolve(e,t).isValid(e,t)}},{key:"isValidSync",value:function(e,t){return this._resolve(e,t).isValidSync(e,t)}}]),e}();function Ge(e){Object.keys(e).forEach((function(t){Object.keys(e[t]).forEach((function(n){z[t][n]=e[t][n]}))}))}function Ke(e,t,n){if(!e||!C(e.prototype))throw new TypeError("You must provide a yup schema constructor function");if("string"!==typeof t)throw new TypeError("A Method name must be provided");if("function"!==typeof n)throw new TypeError("Method function must be provided");e.prototype[t]=n}},24960:function(){},26759:function(){},56272:function(){},24654:function(){},73897:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.__esModule=!0,e.exports.default=e.exports},85372:function(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},63405:function(e,t,n){var r=n(73897);e.exports=function(e){if(Array.isArray(e))return r(e)},e.exports.__esModule=!0,e.exports.default=e.exports},66115:function(e){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},38416:function(e,t,n){var r=n(64062);e.exports=function(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},10434:function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},7867:function(e,t,n){var r=n(6015);e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},64836:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},75263:function(e,t,n){var r=n(18698).default;function o(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}e.exports=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var l=a?Object.getOwnPropertyDescriptor(e,s):null;l&&(l.get||l.set)?Object.defineProperty(i,s,l):i[s]=e[s]}return i.default=e,n&&n.set(e,i),i},e.exports.__esModule=!0,e.exports.default=e.exports},79498:function(e){e.exports=function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},68872:function(e){e.exports=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(u){c=!0,o=u}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}},e.exports.__esModule=!0,e.exports.default=e.exports},12218:function(e){e.exports=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.")},e.exports.__esModule=!0,e.exports.default=e.exports},42281:function(e){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},70215:function(e,t,n){var r=n(7071);e.exports=function(e,t){if(null==e)return{};var n,o,i=r(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i},e.exports.__esModule=!0,e.exports.default=e.exports},7071:function(e){e.exports=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o},e.exports.__esModule=!0,e.exports.default=e.exports},6015:function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},27424:function(e,t,n){var r=n(85372),o=n(68872),i=n(86116),a=n(12218);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},861:function(e,t,n){var r=n(63405),o=n(79498),i=n(86116),a=n(42281);e.exports=function(e){return r(e)||o(e)||i(e)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},95036:function(e,t,n){var r=n(18698).default;e.exports=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},64062:function(e,t,n){var r=n(18698).default,o=n(95036);e.exports=function(e){var t=o(e,"string");return"symbol"===r(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},18698:function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},86116:function(e,t,n){var r=n(73897);e.exports=function(e,t){if(e){if("string"===typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},94156:function(e,t,n){"use strict";e.exports=n(8866)},76560:function(e,t,n){"use strict";var r=n(28476),o=r("%Array.prototype%"),i=r("%RangeError%"),a=r("%SyntaxError%"),s=r("%TypeError%"),l=n(65777),c=Math.pow(2,32)-1,u=n(87593)(),d=r("%Object.setPrototypeOf%",!0)||(u?function(e,t){return e.__proto__=t,e}:null);e.exports=function(e){if(!l(e)||e<0)throw new s("Assertion failed: `length` must be an integer Number >= 0");if(e>c)throw new i("length is greater than (2**32 - 1)");var t=arguments.length>1?arguments[1]:o,n=[];if(t!==o){if(!d)throw new a("ArrayCreate: a `proto` argument that is not `Array.prototype` is not supported in an environment that does not support setting the [[Prototype]]");d(n,t)}return 0!==e&&(n.length=e),n}},13339:function(e,t,n){"use strict";var r=n(28476),o=r("%Symbol.species%",!0),i=r("%TypeError%"),a=n(76560),s=n(39538),l=n(71336),c=n(53132),u=n(65777),d=n(19565);e.exports=function(e,t){if(!u(t)||t<0)throw new i("Assertion failed: length must be an integer >= 0");if(!l(e))return a(t);var n=s(e,"constructor");if(o&&"Object"===d(n)&&null===(n=s(n,o))&&(n=void 0),"undefined"===typeof n)return a(t);if(!c(n))throw new i("C must be a constructor");return new n(t)}},43913:function(e,t,n){"use strict";var r=n(28476),o=n(44680),i=r("%TypeError%"),a=n(71336),s=r("%Reflect.apply%",!0)||o("Function.prototype.apply");e.exports=function(e,t){var n=arguments.length>2?arguments[2]:[];if(!a(n))throw new i("Assertion failed: optional `argumentsList`, if provided, must be a List");return s(e,t,n)}},71342:function(e,t,n){"use strict";var r=n(28476)("%TypeError%"),o=n(37793),i=n(91729),a=n(19565);e.exports=function(e,t,n){if("Object"!==a(e))throw new r("Assertion failed: Type(O) is not Object");if(!o(t))throw new r("Assertion failed: IsPropertyKey(P) is not true");return i(e,t,{"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Value]]":n,"[[Writable]]":!0})}},33296:function(e,t,n){"use strict";var r=n(28476)("%TypeError%"),o=n(71342),i=n(37793),a=n(19565);e.exports=function(e,t,n){if("Object"!==a(e))throw new r("Assertion failed: Type(O) is not Object");if(!i(t))throw new r("Assertion failed: IsPropertyKey(P) is not true");var s=o(e,t,n);if(!s)throw new r("unable to create data property");return s}},60235:function(e,t,n){"use strict";var r=n(28476)("%TypeError%"),o=n(89572),i=n(57298),a=n(26284),s=n(28164),l=n(98633),c=n(37793),u=n(47327),d=n(46225),p=n(19565);e.exports=function(e,t,n){if("Object"!==p(e))throw new r("Assertion failed: Type(O) is not Object");if(!c(t))throw new r("Assertion failed: IsPropertyKey(P) is not true");var f=o({Type:p,IsDataDescriptor:l,IsAccessorDescriptor:s},n)?n:d(n);if(!o({Type:p,IsDataDescriptor:l,IsAccessorDescriptor:s},f))throw new r("Assertion failed: Desc is not a valid Property Descriptor");return i(l,u,a,e,t,f)}},94077:function(e,t,n){"use strict";var r=n(28476)("%TypeError%"),o=n(77160),i=n(43913),a=n(33296),s=n(39538),l=n(76120),c=n(71336),u=n(35738),d=n(39393);e.exports=function e(t,n,p,f,h){var b;arguments.length>5&&(b=arguments[5]);for(var A=f,m=0;m<p;){var g=d(m);if(!0===l(n,g)){var v=s(n,g);if("undefined"!==typeof b){if(arguments.length<=6)throw new r("Assertion failed: thisArg is required when mapperFunction is provided");v=i(b,arguments[6],[v,m,n])}var y=!1;if(h>0&&(y=c(v)),y){A=e(t,v,u(v),A,h-1)}else{if(A>=o)throw new r("index too large");a(t,d(A),v),A+=1}}m+=1}return A}},26284:function(e,t,n){"use strict";var r=n(40141),o=n(88693),i=n(19565);e.exports=function(e){return"undefined"!==typeof e&&r(i,"Property Descriptor","Desc",e),o(e)}},39538:function(e,t,n){"use strict";var r=n(28476)("%TypeError%"),o=n(73154),i=n(37793),a=n(19565);e.exports=function(e,t){if("Object"!==a(e))throw new r("Assertion failed: Type(O) is not Object");if(!i(t))throw new r("Assertion failed: IsPropertyKey(P) is not true, got "+o(t));return e[t]}},76120:function(e,t,n){"use strict";var r=n(28476)("%TypeError%"),o=n(37793),i=n(19565);e.exports=function(e,t){if("Object"!==i(e))throw new r("Assertion failed: `O` must be an Object");if(!o(t))throw new r("Assertion failed: `P` must be a Property Key");return t in e}},28164:function(e,t,n){"use strict";var r=n(37838),o=n(19565),i=n(40141);e.exports=function(e){return"undefined"!==typeof e&&(i(o,"Property Descriptor","Desc",e),!(!r(e,"[[Get]]")&&!r(e,"[[Set]]")))}},71336:function(e,t,n){"use strict";e.exports=n(18399)},30960:function(e,t,n){"use strict";e.exports=n(8866)},53132:function(e,t,n){"use strict";var r=n(32389)("%Reflect.construct%",!0),o=n(60235);try{o({},"",{"[[Get]]":function(){}})}catch(s){o=null}if(o&&r){var i={},a={};o(a,"length",{"[[Get]]":function(){throw i},"[[Enumerable]]":!0}),e.exports=function(e){try{r(e,a)}catch(t){return t===i}}}else e.exports=function(e){return"function"===typeof e&&!!e.prototype}},98633:function(e,t,n){"use strict";var r=n(37838),o=n(19565),i=n(40141);e.exports=function(e){return"undefined"!==typeof e&&(i(o,"Property Descriptor","Desc",e),!(!r(e,"[[Value]]")&&!r(e,"[[Writable]]")))}},83697:function(e,t,n){"use strict";var r=n(28476),o=r("%Object.preventExtensions%",!0),i=r("%Object.isExtensible%",!0),a=n(6083);e.exports=o?function(e){return!a(e)&&i(e)}:function(e){return!a(e)}},63270:function(e,t,n){"use strict";var r=n(40141),o=n(28164),i=n(98633),a=n(19565);e.exports=function(e){return"undefined"!==typeof e&&(r(a,"Property Descriptor","Desc",e),!o(e)&&!i(e))}},65777:function(e,t,n){"use strict";var r=n(59124),o=n(53357),i=n(19565),a=n(18144),s=n(4175);e.exports=function(e){if("Number"!==i(e)||a(e)||!s(e))return!1;var t=r(e);return o(t)===t}},37793:function(e){"use strict";e.exports=function(e){return"string"===typeof e||"symbol"===typeof e}},35738:function(e,t,n){"use strict";var r=n(28476)("%TypeError%"),o=n(39538),i=n(34283),a=n(19565);e.exports=function(e){if("Object"!==a(e))throw new r("Assertion failed: `obj` must be an Object");return i(o(e,"length"))}},91729:function(e,t,n){"use strict";var r=n(28476),o=n(56103),i=r("%SyntaxError%"),a=r("%TypeError%"),s=n(89572),l=n(28164),c=n(98633),u=n(83697),d=n(37793),p=n(46225),f=n(47327),h=n(19565),b=n(22450);e.exports=function(e,t,n){if("Object"!==h(e))throw new a("Assertion failed: O must be an Object");if(!d(t))throw new a("Assertion failed: P must be a Property Key");if(!s({Type:h,IsDataDescriptor:c,IsAccessorDescriptor:l},n))throw new a("Assertion failed: Desc must be a Property Descriptor");if(!o){if(l(n))throw new i("This environment does not support accessor property descriptors.");var r=!(t in e)&&n["[[Writable]]"]&&n["[[Enumerable]]"]&&n["[[Configurable]]"]&&"[[Value]]"in n,A=t in e&&(!("[[Configurable]]"in n)||n["[[Configurable]]"])&&(!("[[Enumerable]]"in n)||n["[[Enumerable]]"])&&(!("[[Writable]]"in n)||n["[[Writable]]"])&&"[[Value]]"in n;if(r||A)return e[t]=n["[[Value]]"],f(e[t],n["[[Value]]"]);throw new i("This environment does not support defining non-writable, non-enumerable, or non-configurable properties")}var m=o(e,t),g=m&&p(m),v=u(e);return b(e,t,v,n,g)}},73714:function(e,t,n){"use strict";e.exports=n(91683)},47327:function(e,t,n){"use strict";var r=n(18144);e.exports=function(e,t){return e===t?0!==e||1/e===1/t:r(e)&&r(t)}},43177:function(e,t,n){"use strict";var r=n(28476),o=r("%Number%"),i=r("%RegExp%"),a=r("%TypeError%"),s=r("%parseInt%"),l=n(44680),c=n(98432),u=l("String.prototype.slice"),d=c(/^0b[01]+$/i),p=c(/^0o[0-7]+$/i),f=c(/^[-+]0x[0-9a-f]+$/i),h=c(new i("["+["\x85","\u200b","\ufffe"].join("")+"]","g")),b=n(64329),A=n(19565);e.exports=function e(t){if("String"!==A(t))throw new a("Assertion failed: `argument` is not a String");if(d(t))return o(s(u(t,2),2));if(p(t))return o(s(u(t,2),8));if(h(t)||f(t))return NaN;var n=b(t);return n!==t?e(n):o(t)}},59204:function(e){"use strict";e.exports=function(e){return!!e}},81279:function(e,t,n){"use strict";var r=n(59124),o=n(53357),i=n(50233),a=n(18144),s=n(4175),l=n(28510);e.exports=function(e){var t=i(e);if(a(t)||0===t)return 0;if(!s(t))return t;var n=o(r(t));return 0===n?0:l(t)*n}},34283:function(e,t,n){"use strict";var r=n(77160),o=n(81279);e.exports=function(e){var t=o(e);return t<=0?0:t>r?r:t}},50233:function(e,t,n){"use strict";var r=n(28476),o=r("%TypeError%"),i=r("%Number%"),a=n(6083),s=n(27837),l=n(43177);e.exports=function(e){var t=a(e)?e:s(e,i);if("symbol"===typeof t)throw new o("Cannot convert a Symbol value to a number");if("bigint"===typeof t)throw new o("Conversion from 'BigInt' to 'number' is not allowed.");return"string"===typeof t?l(t):i(t)}},64504:function(e,t,n){"use strict";var r=n(28476)("%Object%"),o=n(73714);e.exports=function(e){return o(e),r(e)}},27837:function(e,t,n){"use strict";var r=n(44401);e.exports=function(e){return arguments.length>1?r(e,arguments[1]):r(e)}},46225:function(e,t,n){"use strict";var r=n(37838),o=n(28476)("%TypeError%"),i=n(19565),a=n(59204),s=n(30960);e.exports=function(e){if("Object"!==i(e))throw new o("ToPropertyDescriptor requires an object");var t={};if(r(e,"enumerable")&&(t["[[Enumerable]]"]=a(e.enumerable)),r(e,"configurable")&&(t["[[Configurable]]"]=a(e.configurable)),r(e,"value")&&(t["[[Value]]"]=e.value),r(e,"writable")&&(t["[[Writable]]"]=a(e.writable)),r(e,"get")){var n=e.get;if("undefined"!==typeof n&&!s(n))throw new o("getter must be a function");t["[[Get]]"]=n}if(r(e,"set")){var l=e.set;if("undefined"!==typeof l&&!s(l))throw new o("setter must be a function");t["[[Set]]"]=l}if((r(t,"[[Get]]")||r(t,"[[Set]]"))&&(r(t,"[[Value]]")||r(t,"[[Writable]]")))throw new o("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return t}},39393:function(e,t,n){"use strict";var r=n(28476),o=r("%String%"),i=r("%TypeError%");e.exports=function(e){if("symbol"===typeof e)throw new i("Cannot convert a Symbol value to a string");return o(e)}},19565:function(e,t,n){"use strict";var r=n(43820);e.exports=function(e){return"symbol"===typeof e?"Symbol":"bigint"===typeof e?"BigInt":r(e)}},22450:function(e,t,n){"use strict";var r=n(28476)("%TypeError%"),o=n(57298),i=n(97820),a=n(89572),s=n(26284),l=n(28164),c=n(98633),u=n(63270),d=n(37793),p=n(47327),f=n(19565);e.exports=function(e,t,n,h,b){var A,m,g=f(e);if("Undefined"!==g&&"Object"!==g)throw new r("Assertion failed: O must be undefined or an Object");if(!d(t))throw new r("Assertion failed: P must be a Property Key");if("Boolean"!==f(n))throw new r("Assertion failed: extensible must be a Boolean");if(!a({Type:f,IsDataDescriptor:c,IsAccessorDescriptor:l},h))throw new r("Assertion failed: Desc must be a Property Descriptor");if("Undefined"!==f(b)&&!a({Type:f,IsDataDescriptor:c,IsAccessorDescriptor:l},b))throw new r("Assertion failed: current must be a Property Descriptor, or undefined");if("Undefined"===f(b))return!!n&&("Undefined"===g||(l(h)?o(c,p,s,e,t,h):o(c,p,s,e,t,{"[[Configurable]]":!!h["[[Configurable]]"],"[[Enumerable]]":!!h["[[Enumerable]]"],"[[Value]]":h["[[Value]]"],"[[Writable]]":!!h["[[Writable]]"]})));if(!i({IsAccessorDescriptor:l,IsDataDescriptor:c},b))throw new r("`current`, when present, must be a fully populated and valid Property Descriptor");if(!b["[[Configurable]]"]){if("[[Configurable]]"in h&&h["[[Configurable]]"])return!1;if("[[Enumerable]]"in h&&!p(h["[[Enumerable]]"],b["[[Enumerable]]"]))return!1;if(!u(h)&&!p(l(h),l(b)))return!1;if(l(b)){if("[[Get]]"in h&&!p(h["[[Get]]"],b["[[Get]]"]))return!1;if("[[Set]]"in h&&!p(h["[[Set]]"],b["[[Set]]"]))return!1}else if(!b["[[Writable]]"]){if("[[Writable]]"in h&&h["[[Writable]]"])return!1;if("[[Value]]"in h&&!p(h["[[Value]]"],b["[[Value]]"]))return!1}}return"Undefined"===g||(c(b)&&l(h)?(A=("[[Configurable]]"in h?h:b)["[[Configurable]]"],m=("[[Enumerable]]"in h?h:b)["[[Enumerable]]"],o(c,p,s,e,t,{"[[Configurable]]":!!A,"[[Enumerable]]":!!m,"[[Get]]":("[[Get]]"in h?h:b)["[[Get]]"],"[[Set]]":("[[Set]]"in h?h:b)["[[Set]]"]})):l(b)&&c(h)?(A=("[[Configurable]]"in h?h:b)["[[Configurable]]"],m=("[[Enumerable]]"in h?h:b)["[[Enumerable]]"],o(c,p,s,e,t,{"[[Configurable]]":!!A,"[[Enumerable]]":!!m,"[[Value]]":("[[Value]]"in h?h:b)["[[Value]]"],"[[Writable]]":!!("[[Writable]]"in h?h:b)["[[Writable]]"]})):o(c,p,s,e,t,h))}},59124:function(e,t,n){"use strict";var r=n(28476)("%Math.abs%");e.exports=function(e){return r(e)}},53357:function(e,t,n){"use strict";var r=n(19565),o=Math.floor;e.exports=function(e){return"BigInt"===r(e)?e:o(e)}},91683:function(e,t,n){"use strict";var r=n(28476)("%TypeError%");e.exports=function(e,t){if(null==e)throw new r(t||"Cannot call method on "+e);return e}},43820:function(e){"use strict";e.exports=function(e){return null===e?"Null":"undefined"===typeof e?"Undefined":"function"===typeof e||"object"===typeof e?"Object":"number"===typeof e?"Number":"boolean"===typeof e?"Boolean":"string"===typeof e?"String":void 0}},32389:function(e,t,n){"use strict";e.exports=n(28476)},57298:function(e,t,n){"use strict";var r=n(82926),o=n(28476),i=r()&&o("%Object.defineProperty%",!0),a=r.hasArrayLengthDefineBug(),s=a&&n(18399),l=n(44680)("Object.prototype.propertyIsEnumerable");e.exports=function(e,t,n,r,o,c){if(!i){if(!e(c))return!1;if(!c["[[Configurable]]"]||!c["[[Writable]]"])return!1;if(o in r&&l(r,o)!==!!c["[[Enumerable]]"])return!1;var u=c["[[Value]]"];return r[o]=u,t(r[o],u)}return a&&"length"===o&&"[[Value]]"in c&&s(r)&&r.length!==c["[[Value]]"]?(r.length=c["[[Value]]"],r.length===c["[[Value]]"]):(i(r,o,n(c)),!0)}},18399:function(e,t,n){"use strict";var r=n(28476)("%Array%"),o=!r.isArray&&n(44680)("Object.prototype.toString");e.exports=r.isArray||function(e){return"[object Array]"===o(e)}},40141:function(e,t,n){"use strict";var r=n(28476),o=r("%TypeError%"),i=r("%SyntaxError%"),a=n(37838),s={"Property Descriptor":function(e){var t={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};if(!e)return!1;for(var n in e)if(a(e,n)&&!t[n])return!1;var r=a(e,"[[Value]]"),i=a(e,"[[Get]]")||a(e,"[[Set]]");if(r&&i)throw new o("Property Descriptors may not be both accessor and data descriptors");return!0},"Match Record":n(17183),"Iterator Record":function(e){return a(e,"[[Iterator]]")&&a(e,"[[NextMethod]]")&&a(e,"[[Done]]")},"PromiseCapability Record":function(e){return!!e&&a(e,"[[Resolve]]")&&"function"===typeof e["[[Resolve]]"]&&a(e,"[[Reject]]")&&"function"===typeof e["[[Reject]]"]&&a(e,"[[Promise]]")&&e["[[Promise]]"]&&"function"===typeof e["[[Promise]]"].then},"AsyncGeneratorRequest Record":function(e){return!!e&&a(e,"[[Completion]]")&&a(e,"[[Capability]]")&&s["PromiseCapability Record"](e["[[Capability]]"])}};e.exports=function(e,t,n,r){var a=s[t];if("function"!==typeof a)throw new i("unknown record type: "+t);if("Object"!==e(r)||!a(r))throw new o(n+" must be a "+t)}},88693:function(e){"use strict";e.exports=function(e){if("undefined"===typeof e)return e;var t={};return"[[Value]]"in e&&(t.value=e["[[Value]]"]),"[[Writable]]"in e&&(t.writable=!!e["[[Writable]]"]),"[[Get]]"in e&&(t.get=e["[[Get]]"]),"[[Set]]"in e&&(t.set=e["[[Set]]"]),"[[Enumerable]]"in e&&(t.enumerable=!!e["[[Enumerable]]"]),"[[Configurable]]"in e&&(t.configurable=!!e["[[Configurable]]"]),t}},4175:function(e,t,n){"use strict";var r=n(18144);e.exports=function(e){return("number"===typeof e||"bigint"===typeof e)&&!r(e)&&e!==1/0&&e!==-1/0}},97820:function(e){"use strict";e.exports=function(e,t){return!!t&&"object"===typeof t&&"[[Enumerable]]"in t&&"[[Configurable]]"in t&&(e.IsAccessorDescriptor(t)||e.IsDataDescriptor(t))}},17183:function(e,t,n){"use strict";var r=n(37838);e.exports=function(e){return r(e,"[[StartIndex]]")&&r(e,"[[EndIndex]]")&&e["[[StartIndex]]"]>=0&&e["[[EndIndex]]"]>=e["[[StartIndex]]"]&&String(parseInt(e["[[StartIndex]]"],10))===String(e["[[StartIndex]]"])&&String(parseInt(e["[[EndIndex]]"],10))===String(e["[[EndIndex]]"])}},18144:function(e){"use strict";e.exports=Number.isNaN||function(e){return e!==e}},6083:function(e){"use strict";e.exports=function(e){return null===e||"function"!==typeof e&&"object"!==typeof e}},89572:function(e,t,n){"use strict";var r=n(28476),o=n(37838),i=r("%TypeError%");e.exports=function(e,t){if("Object"!==e.Type(t))return!1;var n={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};for(var r in t)if(o(t,r)&&!n[r])return!1;if(e.IsDataDescriptor(t)&&e.IsAccessorDescriptor(t))throw new i("Property Descriptors may not be both accessor and data descriptors");return!0}},77160:function(e,t,n){"use strict";var r=n(28476),o=r("%Math%"),i=r("%Number%");e.exports=i.MAX_SAFE_INTEGER||o.pow(2,53)-1},28510:function(e){"use strict";e.exports=function(e){return e>=0?1:-1}},30907:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},83878:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:function(){return r}})},97326:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},15861:function(e,t,n){"use strict";function r(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(c){return void n(c)}s.done?t(l):Promise.resolve(l).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function s(e){r(a,o,i,s,l,"next",e)}function l(e){r(a,o,i,s,l,"throw",e)}s(void 0)}))}}n.d(t,{Z:function(){return o}})},15671:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},43144:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(49142);function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(0,r.Z)(o.key),o)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},37762:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(40181);function o(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=(0,r.Z)(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var o=0,i=function(){};return{s:i,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:i}}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,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}},29388:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(61120),o=n(78814),i=n(82963);function a(e){var t=(0,o.Z)();return function(){var n,o=(0,r.Z)(e);if(t){var a=(0,r.Z)(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return(0,i.Z)(this,n)}}},4942:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(49142);function o(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},87462:function(e,t,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:function(){return r}})},11752:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(61120);function o(){return o="undefined"!==typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var o=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=(0,r.Z)(e)););return e}(e,t);if(o){var i=Object.getOwnPropertyDescriptor(o,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},o.apply(this,arguments)}},61120:function(e,t,n){"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{Z:function(){return r}})},60136:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(89611);function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,r.Z)(e,t)}},94578:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(89611);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.Z)(e,t)}},78814:function(e,t,n){"use strict";function r(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}n.d(t,{Z:function(){return r}})},59199:function(e,t,n){"use strict";function r(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:function(){return r}})},25267:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},45987:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(63366);function o(e,t){if(null==e)return{};var n,o,i=(0,r.Z)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},63366:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{Z:function(){return r}})},82963:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(71002),o=n(97326);function i(e,t){if(t&&("object"===(0,r.Z)(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,o.Z)(e)}},74165:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(71002);function o(){o=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},s=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(k){u=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var o=t&&t.prototype instanceof h?t:h,a=Object.create(o.prototype),s=new C(r||[]);return i(a,"_invoke",{value:_(e,n,s)}),a}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(k){return{type:"throw",arg:k}}}e.wrap=d;var f={};function h(){}function b(){}function A(){}var m={};u(m,s,(function(){return this}));var g=Object.getPrototypeOf,v=g&&g(g(S([])));v&&v!==t&&n.call(v,s)&&(m=v);var y=A.prototype=h.prototype=Object.create(m);function M(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function o(i,a,s,l){var c=p(e[i],e,a);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==(0,r.Z)(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,s,l)}),(function(e){o("throw",e,s,l)})):t.resolve(d).then((function(e){u.value=e,s(u)}),(function(e){return o("throw",e,s,l)}))}l(c.arg)}var a;i(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){o(e,n,t,r)}))}return a=a?a.then(r,r):r()}})}function _(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return E()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=z(a,n);if(s){if(s===f)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=p(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===f)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function z(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,z(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var o=p(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,f;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function S(e){if(e){var t=e[s];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:E}}function E(){return{value:void 0,done:!0}}return b.prototype=A,i(y,"constructor",{value:A,configurable:!0}),i(A,"constructor",{value:b,configurable:!0}),b.displayName=u(A,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,A):(e.__proto__=A,u(e,c,"GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},M(O.prototype),u(O.prototype,l,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(d(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},M(y),u(y,c,"Generator"),u(y,s,(function(){return this})),u(y,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=S,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),w(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;w(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:S(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}},89611:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})},29439:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(83878);var o=n(40181),i=n(25267);function a(e,t){return(0,r.Z)(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(u){c=!0,o=u}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||(0,o.Z)(e,t)||(0,i.Z)()}},93433:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(30907);var o=n(59199),i=n(40181);function a(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||(0,o.Z)(e)||(0,i.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},49142:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(71002);function o(e){var t=function(e,t){if("object"!==(0,r.Z)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==(0,r.Z)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===(0,r.Z)(t)?t:String(t)}},71002:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:function(){return r}})},40181:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(30907);function o(e,t){if(e){if("string"===typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},98737:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(61120),o=n(89611);var i=n(78814);function a(e,t,n){return a=(0,i.Z)()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&(0,o.Z)(i,n.prototype),i},a.apply(null,arguments)}function s(e){var t="function"===typeof Map?new Map:void 0;return s=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,i)}function i(){return a(e,arguments,(0,r.Z)(this).constructor)}return i.prototype=Object.create(e.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),(0,o.Z)(i,e)},s(e)}},83963:function(e,t,n){"use strict";function r(e,t,n){this.x=e,this.y=t,this.time=n||(new Date).getTime()}function o(e,t,n,r){this.startPoint=e,this.control1=t,this.control2=n,this.endPoint=r}function i(e,t){var n=this,r=t||{};this.velocityFilterWeight=r.velocityFilterWeight||.7,this.minWidth=r.minWidth||.5,this.maxWidth=r.maxWidth||2.5,this.throttle="throttle"in r?r.throttle:16,this.minDistance="minDistance"in r?r.minDistance:5,this.throttle?this._strokeMoveUpdate=function(e,t,n){var r,o,i,a=null,s=0;n||(n={});var l=function(){s=!1===n.leading?0:Date.now(),a=null,i=e.apply(r,o),a||(r=o=null)};return function(){var c=Date.now();s||!1!==n.leading||(s=c);var u=t-(c-s);return r=this,o=arguments,u<=0||u>t?(a&&(clearTimeout(a),a=null),s=c,i=e.apply(r,o),a||(r=o=null)):a||!1===n.trailing||(a=setTimeout(l,u)),i}}(i.prototype._strokeUpdate,this.throttle):this._strokeMoveUpdate=i.prototype._strokeUpdate,this.dotSize=r.dotSize||function(){return(this.minWidth+this.maxWidth)/2},this.penColor=r.penColor||"black",this.backgroundColor=r.backgroundColor||"rgba(0,0,0,0)",this.onBegin=r.onBegin,this.onEnd=r.onEnd,this._canvas=e,this._ctx=e.getContext("2d"),this.clear(),this._handleMouseDown=function(e){1===e.which&&(n._mouseButtonDown=!0,n._strokeBegin(e))},this._handleMouseMove=function(e){n._mouseButtonDown&&n._strokeMoveUpdate(e)},this._handleMouseUp=function(e){1===e.which&&n._mouseButtonDown&&(n._mouseButtonDown=!1,n._strokeEnd(e))},this._handleTouchStart=function(e){if(1===e.targetTouches.length){var t=e.changedTouches[0];n._strokeBegin(t)}},this._handleTouchMove=function(e){e.preventDefault();var t=e.targetTouches[0];n._strokeMoveUpdate(t)},this._handleTouchEnd=function(e){e.target===n._canvas&&(e.preventDefault(),n._strokeEnd(e))},this.on()}n.r(t),r.prototype.velocityFrom=function(e){return this.time!==e.time?this.distanceTo(e)/(this.time-e.time):1},r.prototype.distanceTo=function(e){return Math.sqrt(Math.pow(this.x-e.x,2)+Math.pow(this.y-e.y,2))},r.prototype.equals=function(e){return this.x===e.x&&this.y===e.y&&this.time===e.time},o.prototype.length=function(){for(var e=0,t=void 0,n=void 0,r=0;r<=10;r+=1){var o=r/10,i=this._point(o,this.startPoint.x,this.control1.x,this.control2.x,this.endPoint.x),a=this._point(o,this.startPoint.y,this.control1.y,this.control2.y,this.endPoint.y);if(r>0){var s=i-t,l=a-n;e+=Math.sqrt(s*s+l*l)}t=i,n=a}return e},o.prototype._point=function(e,t,n,r,o){return t*(1-e)*(1-e)*(1-e)+3*n*(1-e)*(1-e)*e+3*r*(1-e)*e*e+o*e*e*e},i.prototype.clear=function(){var e=this._ctx,t=this._canvas;e.fillStyle=this.backgroundColor,e.clearRect(0,0,t.width,t.height),e.fillRect(0,0,t.width,t.height),this._data=[],this._reset(),this._isEmpty=!0},i.prototype.fromDataURL=function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=new Image,o=n.ratio||window.devicePixelRatio||1,i=n.width||this._canvas.width/o,a=n.height||this._canvas.height/o;this._reset(),r.src=e,r.onload=function(){t._ctx.drawImage(r,0,0,i,a)},this._isEmpty=!1},i.prototype.toDataURL=function(e){var t;if("image/svg+xml"===e)return this._toSVG();for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return(t=this._canvas).toDataURL.apply(t,[e].concat(r))},i.prototype.on=function(){this._handleMouseEvents(),this._handleTouchEvents()},i.prototype.off=function(){this._canvas.removeEventListener("mousedown",this._handleMouseDown),this._canvas.removeEventListener("mousemove",this._handleMouseMove),document.removeEventListener("mouseup",this._handleMouseUp),this._canvas.removeEventListener("touchstart",this._handleTouchStart),this._canvas.removeEventListener("touchmove",this._handleTouchMove),this._canvas.removeEventListener("touchend",this._handleTouchEnd)},i.prototype.isEmpty=function(){return this._isEmpty},i.prototype._strokeBegin=function(e){this._data.push([]),this._reset(),this._strokeUpdate(e),"function"===typeof this.onBegin&&this.onBegin(e)},i.prototype._strokeUpdate=function(e){var t=e.clientX,n=e.clientY,r=this._createPoint(t,n),o=this._data[this._data.length-1],i=o&&o[o.length-1],a=i&&r.distanceTo(i)<this.minDistance;if(!i||!a){var s=this._addPoint(r),l=s.curve,c=s.widths;l&&c&&this._drawCurve(l,c.start,c.end),this._data[this._data.length-1].push({x:r.x,y:r.y,time:r.time,color:this.penColor})}},i.prototype._strokeEnd=function(e){var t=this.points.length>2,n=this.points[0];if(!t&&n&&this._drawDot(n),n){var r=this._data[this._data.length-1],o=r[r.length-1];n.equals(o)||r.push({x:n.x,y:n.y,time:n.time,color:this.penColor})}"function"===typeof this.onEnd&&this.onEnd(e)},i.prototype._handleMouseEvents=function(){this._mouseButtonDown=!1,this._canvas.addEventListener("mousedown",this._handleMouseDown),this._canvas.addEventListener("mousemove",this._handleMouseMove),document.addEventListener("mouseup",this._handleMouseUp)},i.prototype._handleTouchEvents=function(){this._canvas.style.msTouchAction="none",this._canvas.style.touchAction="none",this._canvas.addEventListener("touchstart",this._handleTouchStart),this._canvas.addEventListener("touchmove",this._handleTouchMove),this._canvas.addEventListener("touchend",this._handleTouchEnd)},i.prototype._reset=function(){this.points=[],this._lastVelocity=0,this._lastWidth=(this.minWidth+this.maxWidth)/2,this._ctx.fillStyle=this.penColor},i.prototype._createPoint=function(e,t,n){var o=this._canvas.getBoundingClientRect();return new r(e-o.left,t-o.top,n||(new Date).getTime())},i.prototype._addPoint=function(e){var t=this.points;if(t.push(e),t.length>2){3===t.length&&t.unshift(t[0]);var n=this._calculateCurveControlPoints(t[0],t[1],t[2]).c2,r=this._calculateCurveControlPoints(t[1],t[2],t[3]).c1,i=new o(t[1],n,r,t[2]),a=this._calculateCurveWidths(i);return t.shift(),{curve:i,widths:a}}return{}},i.prototype._calculateCurveControlPoints=function(e,t,n){var o=e.x-t.x,i=e.y-t.y,a=t.x-n.x,s=t.y-n.y,l=(e.x+t.x)/2,c=(e.y+t.y)/2,u=(t.x+n.x)/2,d=(t.y+n.y)/2,p=Math.sqrt(o*o+i*i),f=Math.sqrt(a*a+s*s),h=f/(p+f),b=u+(l-u)*h,A=d+(c-d)*h,m=t.x-b,g=t.y-A;return{c1:new r(l+m,c+g),c2:new r(u+m,d+g)}},i.prototype._calculateCurveWidths=function(e){var t=e.startPoint,n=e.endPoint,r={start:null,end:null},o=this.velocityFilterWeight*n.velocityFrom(t)+(1-this.velocityFilterWeight)*this._lastVelocity,i=this._strokeWidth(o);return r.start=this._lastWidth,r.end=i,this._lastVelocity=o,this._lastWidth=i,r},i.prototype._strokeWidth=function(e){return Math.max(this.maxWidth/(e+1),this.minWidth)},i.prototype._drawPoint=function(e,t,n){var r=this._ctx;r.moveTo(e,t),r.arc(e,t,n,0,2*Math.PI,!1),this._isEmpty=!1},i.prototype._drawCurve=function(e,t,n){var r=this._ctx,o=n-t,i=Math.floor(e.length());r.beginPath();for(var a=0;a<i;a+=1){var s=a/i,l=s*s,c=l*s,u=1-s,d=u*u,p=d*u,f=p*e.startPoint.x;f+=3*d*s*e.control1.x,f+=3*u*l*e.control2.x,f+=c*e.endPoint.x;var h=p*e.startPoint.y;h+=3*d*s*e.control1.y,h+=3*u*l*e.control2.y,h+=c*e.endPoint.y;var b=t+c*o;this._drawPoint(f,h,b)}r.closePath(),r.fill()},i.prototype._drawDot=function(e){var t=this._ctx,n="function"===typeof this.dotSize?this.dotSize():this.dotSize;t.beginPath(),this._drawPoint(e.x,e.y,n),t.closePath(),t.fill()},i.prototype._fromData=function(e,t,n){for(var o=0;o<e.length;o+=1){var i=e[o];if(i.length>1)for(var a=0;a<i.length;a+=1){var s=i[a],l=new r(s.x,s.y,s.time),c=s.color;if(0===a)this.penColor=c,this._reset(),this._addPoint(l);else if(a!==i.length-1){var u=this._addPoint(l),d=u.curve,p=u.widths;d&&p&&t(d,p,c)}}else this._reset(),n(i[0])}},i.prototype._toSVG=function(){var e=this,t=this._data,n=this._canvas,r=Math.max(window.devicePixelRatio||1,1),o=n.width/r,i=n.height/r,a=document.createElementNS("http://www.w3.org/2000/svg","svg");a.setAttributeNS(null,"width",n.width),a.setAttributeNS(null,"height",n.height),this._fromData(t,(function(e,t,n){var r=document.createElement("path");if(!isNaN(e.control1.x)&&!isNaN(e.control1.y)&&!isNaN(e.control2.x)&&!isNaN(e.control2.y)){var o="M "+e.startPoint.x.toFixed(3)+","+e.startPoint.y.toFixed(3)+" C "+e.control1.x.toFixed(3)+","+e.control1.y.toFixed(3)+" "+e.control2.x.toFixed(3)+","+e.control2.y.toFixed(3)+" "+e.endPoint.x.toFixed(3)+","+e.endPoint.y.toFixed(3);r.setAttribute("d",o),r.setAttribute("stroke-width",(2.25*t.end).toFixed(3)),r.setAttribute("stroke",n),r.setAttribute("fill","none"),r.setAttribute("stroke-linecap","round"),a.appendChild(r)}}),(function(t){var n=document.createElement("circle"),r="function"===typeof e.dotSize?e.dotSize():e.dotSize;n.setAttribute("r",r),n.setAttribute("cx",t.x),n.setAttribute("cy",t.y),n.setAttribute("fill",t.color),a.appendChild(n)}));var s='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 '+o+" "+i+'" width="'+o+'" height="'+i+'">',l=a.innerHTML;if(void 0===l){var c=document.createElement("dummy"),u=a.childNodes;c.innerHTML="";for(var d=0;d<u.length;d+=1)c.appendChild(u[d].cloneNode(!0));l=c.innerHTML}return"data:image/svg+xml;base64,"+btoa(s+l+"</svg>")},i.prototype.fromData=function(e){var t=this;this.clear(),this._fromData(e,(function(e,n){return t._drawCurve(e,n.start,n.end)}),(function(e){return t._drawDot(e)})),this._data=e},i.prototype.toData=function(){return this._data},t.default=i},91128:function(e){"use strict";e.exports=JSON.parse('{"version":"2023c","zones":["Africa/Abidjan|LMT GMT|g.8 0|01|-2ldXH.Q|48e5","Africa/Nairobi|LMT +0230 EAT +0245|-2r.g -2u -30 -2J|012132|-2ua2r.g N6nV.g 3Fbu h1cu dzbJ|47e5","Africa/Algiers|LMT PMT WET WEST CET CEST|-c.c -9.l 0 -10 -10 -20|01232323232323232454542423234542324|-3bQ0c.c MDA2.P cNb9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 DA0 Imo0 rd0 De0 9Xz0 1fb0 1ap0 16K0 2yo0 mEp0 hwL0 jxA0 11A0 dDd0 17b0 11B0 1cN0 2Dy0 1cN0 1fB0 1cL0|26e5","Africa/Lagos|LMT GMT +0030 WAT|-d.z 0 -u -10|01023|-2B40d.z 7iod.z dnXK.p dLzH.z|17e6","Africa/Bissau|LMT -01 GMT|12.k 10 0|012|-2ldX0 2xoo0|39e4","Africa/Maputo|LMT CAT|-2a.k -20|01|-2GJea.k|26e5","Africa/Cairo|LMT EET EEST|-25.9 -20 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2MBC5.9 1AQM5.9 vb0 1ip0 11z0 1iN0 1nz0 12p0 1pz0 10N0 1pz0 16p0 1jz0 s3d0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1WL0 rd0 1Rz0 wp0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1qL0 Xd0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1ny0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 WL0 1qN0 Rb0 1wp0 On0 1zd0 Lz0 1EN0 Fb0 c10 8n0 8Nd0 gL0 e10 mn0 kSp0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0|15e6","Africa/Casablanca|LMT +00 +01|u.k 0 -10|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-2gMnt.E 130Lt.E rb0 Dd0 dVb0 b6p0 TX0 EoB0 LL0 gnd0 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4mn0 SyN0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0|32e5","Africa/Ceuta|LMT WET WEST CET CEST|l.g 0 -10 -10 -20|0121212121212121212121343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-2M0M0 GdX0 11z0 drd0 18p0 3HX0 17d0 1fz0 1a10 1io0 1a00 1y7o0 LL0 gnd0 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4VB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|85e3","Africa/El_Aaiun|LMT -01 +00 +01|Q.M 10 0 -10|012323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1rDz7.c 1GVA7.c 6L0 AL0 1Nd0 XX0 1Cp0 pz0 1cBB0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0|20e4","Africa/Johannesburg|LMT SAST SAST SAST|-1Q -1u -20 -30|0123232|-39EpQ qTcm 1Ajdu 1cL0 1cN0 1cL0|84e5","Africa/Juba|LMT CAT CAST EAT|-26.s -20 -30 -30|012121212121212121212121212121212131|-1yW26.s 1zK06.s 16L0 1iN0 17b0 1jd0 17b0 1ip0 17z0 1i10 17X0 1hB0 18n0 1hd0 19b0 1gp0 19z0 1iN0 17b0 1ip0 17z0 1i10 18n0 1hd0 18L0 1gN0 19b0 1gp0 19z0 1iN0 17z0 1i10 17X0 yGd0 PeX0|","Africa/Khartoum|LMT CAT CAST EAT|-2a.8 -20 -30 -30|012121212121212121212121212121212131|-1yW2a.8 1zK0a.8 16L0 1iN0 17b0 1jd0 17b0 1ip0 17z0 1i10 17X0 1hB0 18n0 1hd0 19b0 1gp0 19z0 1iN0 17b0 1ip0 17z0 1i10 18n0 1hd0 18L0 1gN0 19b0 1gp0 19z0 1iN0 17z0 1i10 17X0 yGd0 HjL0|51e5","Africa/Monrovia|LMT MMT MMT GMT|H.8 H.8 I.u 0|0123|-3ygng.Q 1usM0 28G01.m|11e5","Africa/Ndjamena|LMT WAT WAST|-10.c -10 -20|0121|-2le10.c 2J3c0.c Wn0|13e5","Africa/Sao_Tome|LMT LMT GMT WAT|-q.U A.J 0 -10|01232|-3tooq.U 18aoq.U 4i6N0 2q00|","Africa/Tripoli|LMT CET CEST EET|-Q.I -10 -20 -20|012121213121212121212121213123123|-21JcQ.I 1hnBQ.I vx0 4iP0 xx0 4eN0 Bb0 7ip0 U0n0 A10 1db0 1cN0 1db0 1dd0 1db0 1eN0 1bb0 1e10 1cL0 1c10 1db0 1dd0 1db0 1cN0 1db0 1q10 fAn0 1ep0 1db0 AKq0 TA0 1o00|11e5","Africa/Tunis|LMT PMT CET CEST|-E.I -9.l -10 -20|01232323232323232323232323232323232|-3zO0E.I 1cBAv.n 18pa9.l 1qM0 DA0 3Tc0 11B0 1ze0 WM0 7z0 3d0 14L0 1cN0 1f90 1ar0 16J0 1gXB0 WM0 1rA0 11c0 nwo0 Ko0 1cM0 1cM0 1rA0 10M0 zuM0 10N0 1aN0 1qM0 WM0 1qM0 11A0 1o00|20e5","Africa/Windhoek|LMT +0130 SAST SAST CAT WAT|-18.o -1u -20 -30 -20 -10|012324545454545454545454545454545454545454545454545454|-39Ep8.o qTbC.o 1Ajdu 1cL0 1SqL0 9Io0 16P0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0|32e4","America/Adak|LMT LMT NST NWT NPT BST BDT AHST HST HDT|-cd.m bK.C b0 a0 a0 b0 a0 a0 a0 90|01234256565656565656565656565656565678989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898|-48Pzs.L 1jVzf.p 1EX1d.m 8wW0 iB0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|326","America/Anchorage|LMT LMT AST AWT APT AHST AHDT YST AKST AKDT|-e0.o 9X.A a0 90 90 a0 90 90 90 80|01234256565656565656565656565656565678989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898|-48Pzs.L 1jVxs.n 1EX20.o 8wX0 iA0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|30e4","America/Puerto_Rico|LMT AST AWT APT|4o.p 40 30 30|01231|-2Qi7z.z 1IUbz.z 7XT0 iu0|24e5","America/Araguaina|LMT -03 -02|3c.M 30 20|0121212121212121212121212121212121212121212121212121|-2glwL.c HdKL.c 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 ny10 Lz0|14e4","America/Argentina/Buenos_Aires|LMT CMT -04 -03 -02|3R.M 4g.M 40 30 20|012323232323232323232323232323232323232323234343434343434343|-331U6.c 125cn pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 A4p0 uL0 1qN0 WL0|","America/Argentina/Catamarca|LMT CMT -04 -03 -02|4n.8 4g.M 40 30 20|012323232323232323232323232323232323232323234343434243432343|-331TA.Q 125bR.E pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 rlB0 7B0 8zb0 uL0|","America/Argentina/Cordoba|LMT CMT -04 -03 -02|4g.M 4g.M 40 30 20|012323232323232323232323232323232323232323234343434243434343|-331TH.c 125c0 pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 A4p0 uL0 1qN0 WL0|","America/Argentina/Jujuy|LMT CMT -04 -03 -02|4l.c 4g.M 40 30 20|0123232323232323232323232323232323232323232343434232434343|-331TC.M 125bT.A pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1ze0 TX0 1ld0 WK0 1wp0 TX0 A4p0 uL0|","America/Argentina/La_Rioja|LMT CMT -04 -03 -02|4r.o 4g.M 40 30 20|0123232323232323232323232323232323232323232343434342343432343|-331Tw.A 125bN.o pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 rlB0 7B0 8zb0 uL0|","America/Argentina/Mendoza|LMT CMT -04 -03 -02|4z.g 4g.M 40 30 20|012323232323232323232323232323232323232323234343423232432343|-331To.I 125bF.w pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1u20 SL0 1vd0 Tb0 1wp0 TW0 ri10 Op0 7TX0 uL0|","America/Argentina/Rio_Gallegos|LMT CMT -04 -03 -02|4A.Q 4g.M 40 30 20|012323232323232323232323232323232323232323234343434343432343|-331Tn.8 125bD.U pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 rlB0 7B0 8zb0 uL0|","America/Argentina/Salta|LMT CMT -04 -03 -02|4l.E 4g.M 40 30 20|0123232323232323232323232323232323232323232343434342434343|-331TC.k 125bT.8 pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 A4p0 uL0|","America/Argentina/San_Juan|LMT CMT -04 -03 -02|4y.4 4g.M 40 30 20|0123232323232323232323232323232323232323232343434342343432343|-331Tp.U 125bG.I pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 rld0 m10 8lb0 uL0|","America/Argentina/San_Luis|LMT CMT -04 -03 -02|4p.o 4g.M 40 30 20|0123232323232323232323232323232323232323232343434232323432323|-331Ty.A 125bP.o pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 XX0 1q20 SL0 AN0 vDb0 m10 8lb0 8L0 jd0 1qN0 WL0 1qN0|","America/Argentina/Tucuman|LMT CMT -04 -03 -02|4k.Q 4g.M 40 30 20|01232323232323232323232323232323232323232323434343424343234343|-331TD.8 125bT.U pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 rlB0 4N0 8BX0 uL0 1qN0 WL0|","America/Argentina/Ushuaia|LMT CMT -04 -03 -02|4x.c 4g.M 40 30 20|012323232323232323232323232323232323232323234343434343432343|-331Tq.M 125bH.A pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 rkN0 8p0 8zb0 uL0|","America/Asuncion|LMT AMT -04 -03|3O.E 3O.E 40 30|0123232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-3eLw9.k 1FGo0 1DKM9.k 3CL0 3Dd0 10L0 1pB0 10n0 1pB0 10n0 1pB0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1lB0 14n0 1dd0 1cL0 1fd0 WL0 1rd0 1aL0 1dB0 Xz0 1qp0 Xb0 1qN0 10L0 1rB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 WN0 1qL0 11B0 1nX0 1ip0 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 TX0 1tB0 19X0 1a10 1fz0 1a10 1fz0 1cN0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0|28e5","America/Panama|LMT CMT EST|5i.8 5j.A 50|012|-3eLuF.Q Iy01.s|15e5","America/Bahia_Banderas|LMT MST CST MDT PST CDT|71 70 60 60 80 50|0121312141313131313131313131313131313152525252525252525252525252|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nW0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|84e3","America/Bahia|LMT -03 -02|2y.4 30 20|01212121212121212121212121212121212121212121212121212121212121|-2glxp.U HdLp.U 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 l5B0 Rb0|27e5","America/Barbados|LMT AST ADT -0330|3W.t 40 30 3u|0121213121212121|-2m4k1.v 1eAN1.v RB0 1Bz0 Op0 1rb0 11d0 1jJc0 IL0 1ip0 17b0 1ip0 17b0 1ld0 13b0|28e4","America/Belem|LMT -03 -02|3d.U 30 20|012121212121212121212121212121|-2glwK.4 HdKK.4 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0|20e5","America/Belize|LMT CST -0530 CWT CPT CDT|5Q.M 60 5u 50 50 50|012121212121212121212121212121212121212121212121213412121212121212121212121212121212121212121215151|-2kBu7.c fPA7.c Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu Rcu 7Bt0 Ni0 4nd0 Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu e9Au qn0 lxB0 mn0|57e3","America/Boa_Vista|LMT -04 -03|42.E 40 30|0121212121212121212121212121212121|-2glvV.k HdKV.k 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 smp0 WL0 1tB0 2L0|62e2","America/Bogota|LMT BMT -05 -04|4U.g 4U.g 50 40|01232|-3sTv3.I 1eIo0 38yo3.I 1PX0|90e5","America/Boise|LMT PST PDT MST MWT MPT MDT|7I.N 80 70 70 60 60 60|01212134536363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363|-3tFE0 1nEe0 1nX0 11B0 1nX0 8C10 JCL0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 Dd0 1Kn0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e4","America/Cambridge_Bay|-00 MST MWT MPT MDT CST CDT EST|0 70 60 60 60 60 50 50|012314141414141414141414141414141414141414141414141414141414567541414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141|-21Jc0 RO90 8x20 ix0 14HB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11A0 1nX0 2K0 WQ0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e2","America/Campo_Grande|LMT -04 -03|3C.s 40 30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwl.w HdLl.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|77e4","America/Cancun|LMT CST EST EDT CDT|5L.4 60 50 40 50|0123232341414141414141414141414141414141412|-1UQG0 2q2o0 yLB0 1lb0 14p0 1lb0 14p0 Lz0 xB0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 Dd0|63e4","America/Caracas|LMT CMT -0430 -04|4r.I 4r.E 4u 40|012323|-3eLvw.g ROnX.U 28KM2.k 1IwOu kqo0|29e5","America/Cayenne|LMT -04 -03|3t.k 40 30|012|-2mrwu.E 2gWou.E|58e3","America/Chicago|LMT CST CDT EST CWT CPT|5O.A 60 50 50 50 50|012121212121212121212121212121212121213121212121214512121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-3tFG0 1nEe0 1nX0 11B0 1nX0 1wp0 TX0 WN0 1qL0 1cN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 11B0 1Hz0 14p0 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 RB0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|92e5","America/Chihuahua|LMT MST CST MDT CDT|74.k 70 60 60 50|0121312424231313131313131313131313131313131313131313131313132|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|81e4","America/Ciudad_Juarez|LMT MST CST MDT CDT|75.U 70 60 60 50|0121312424231313131313131313131313131313131313131313131313132131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1wn0 cm0 EP0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|","America/Costa_Rica|LMT SJMT CST CDT|5A.d 5A.d 60 50|01232323232|-3eLun.L 1fyo0 2lu0n.L Db0 1Kp0 Db0 pRB0 15b0 1kp0 mL0|12e5","America/Phoenix|LMT MST MDT MWT|7s.i 70 60 60|012121313121|-3tFF0 1nEe0 1nX0 11B0 1nX0 SgN0 4Al1 Ap0 1db0 SWqX 1cL0|42e5","America/Cuiaba|LMT -04 -03|3I.k 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwf.E HdLf.E 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 4a10 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|54e4","America/Danmarkshavn|LMT -03 -02 GMT|1e.E 30 20 0|01212121212121212121212121212121213|-2a5WJ.k 2z5fJ.k 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 DC0|8","America/Dawson_Creek|LMT PST PDT PWT PPT MST|80.U 80 70 70 70 70|01213412121212121212121212121212121212121212121212121212125|-3tofX.4 1nspX.4 1in0 UGp0 8x10 iy0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 ML0|12e3","America/Dawson|LMT YST YDT YWT YPT YDDT PST PDT MST|9h.E 90 80 80 80 70 80 70 70|0121213415167676767676767676767676767676767676767676767676767676767676767676767676767676767678|-2MSeG.k GWpG.k 1in0 1o10 13V0 Ser0 8x00 iz0 LCL0 1fA0 jrA0 fNd0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1z90|13e2","America/Denver|LMT MST MDT MWT MPT|6X.U 70 60 60 60|012121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-3tFF0 1nEe0 1nX0 11B0 1nX0 11B0 1qL0 WN0 mn0 Ord0 8x20 ix0 LCN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e5","America/Detroit|LMT CST EST EWT EPT EDT|5w.b 60 50 40 40 40|0123425252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-2Cgir.N peqr.N 156L0 8x40 iv0 6fd0 11z0 JxX1 SMX 1cN0 1cL0 aW10 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e5","America/Edmonton|LMT MST MDT MWT MPT|7x.Q 70 60 60 60|0121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2yd4q.8 shdq.8 1in0 17d0 hz0 2dB0 1fz0 1a10 11z0 1qN0 WL0 1qN0 11z0 IGN0 8x20 ix0 3NB0 11z0 XQp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|10e5","America/Eirunepe|LMT -05 -04|4D.s 50 40|0121212121212121212121212121212121|-2glvk.w HdLk.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0 yTd0 d5X0|31e3","America/El_Salvador|LMT CST CDT|5U.M 60 50|012121|-1XiG3.c 2Fvc3.c WL0 1qN0 WL0|11e5","America/Tijuana|LMT MST PST PDT PWT PPT|7M.4 70 80 70 70 70|012123245232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UQF0 4Q00 8mM0 8lc0 SN0 1cL0 pHB0 83r0 zI0 5O10 1Rz0 cOO0 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 BUp0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|20e5","America/Fort_Nelson|LMT PST PDT PWT PPT MST|8a.L 80 70 70 70 70|012134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121215|-3tofN.d 1nspN.d 1in0 UGp0 8x10 iy0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0|39e2","America/Fort_Wayne|LMT CST CDT CWT CPT EST EDT|5I.C 60 50 50 50 50 40|0121212134121212121212121212151565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-3tFG0 1nEe0 1nX0 11B0 1nX0 QI10 Db0 RB0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 5Tz0 1o10 qLb0 1cL0 1cN0 1cL0 1qhd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Fortaleza|LMT -03 -02|2y 30 20|0121212121212121212121212121212121212121|-2glxq HdLq 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 5z0 2mN0 On0|34e5","America/Glace_Bay|LMT AST ADT AWT APT|3X.M 40 30 30 30|012134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsI0.c CwO0.c 1in0 UGp0 8x50 iu0 iq10 11z0 Jg10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|19e3","America/Godthab|LMT -03 -02 -01|3q.U 30 20 10|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212123232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2a5Ux.4 2z5dx.4 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 2so0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|17e3","America/Goose_Bay|LMT NST NDT NST NDT NWT NPT AST ADT ADDT|41.E 3u.Q 2u.Q 3u 2u 2u 2u 40 30 20|0121343434343434356343434343434343434343434343434343434343437878787878787878787878787878787878787878787879787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787|-3tojW.k 1nspt.c 1in0 DXb0 2HbX.8 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 WL0 1qN0 WL0 1qN0 7UHu itu 1tB0 WL0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1tB0 WL0 1ld0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 S10 g0u 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|76e2","America/Grand_Turk|LMT KMT EST EDT AST|4I.w 57.a 50 40 40|01232323232323232323232323232323232323232323232323232323232323232323232323243232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-3eLvf.s RK0m.C 2HHBQ.O 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 7jA0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e2","America/Guatemala|LMT CST CDT|62.4 60 50|0121212121|-24KhV.U 2efXV.U An0 mtd0 Nz0 ifB0 17b0 zDB0 11z0|13e5","America/Guayaquil|LMT QMT -05 -04|5j.k 5e 50 40|01232|-3eLuE.E 1DNzS.E 2uILK rz0|27e5","America/Guyana|LMT -04 -0345 -03|3Q.D 40 3J 30|01231|-2mf87.l 8Hc7.l 2r7bJ Ey0f|80e4","America/Halifax|LMT AST ADT AWT APT|4e.o 40 30 30 30|0121212121212121212121212121212121212121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsHJ.A xzzJ.A 1db0 3I30 1in0 3HX0 IL0 1E10 ML0 1yN0 Pb0 1Bd0 Mn0 1Bd0 Rz0 1w10 Xb0 1w10 LX0 1w10 Xb0 1w10 Lz0 1C10 Jz0 1E10 OL0 1yN0 Un0 1qp0 Xb0 1qp0 11X0 1w10 Lz0 1HB0 LX0 1C10 FX0 1w10 Xb0 1qp0 Xb0 1BB0 LX0 1td0 Xb0 1qp0 Xb0 Rf0 8x50 iu0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 3Qp0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 3Qp0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 6i10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|39e4","America/Havana|LMT HMT CST CDT|5t.s 5t.A 50 40|0123232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-3eLuu.w 1qx00.8 72zu.o ML0 sld0 An0 1Nd0 Db0 1Nd0 An0 6Ep0 An0 1Nd0 An0 JDd0 Mn0 1Ap0 On0 1fd0 11X0 1qN0 WL0 1wp0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 14n0 1ld0 14L0 1kN0 15b0 1kp0 1cL0 1cN0 1fz0 1a10 1fz0 1fB0 11z0 14p0 1nX0 11B0 1nX0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 1a10 1in0 1a10 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 17c0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 11A0 6i00 Rc0 1wo0 U00 1tA0 Rc0 1wo0 U00 1wo0 U00 1zc0 U00 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0|21e5","America/Hermosillo|LMT MST CST MDT PST|7n.Q 70 60 60 80|0121312141313131|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0|64e4","America/Indiana/Knox|LMT CST CDT CWT CPT EST|5K.u 60 50 50 50 50|01212134121212121212121212121212121212151212121212121212121212121212121212121212121212121252121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-3tFG0 1nEe0 1nX0 11B0 1nX0 SgN0 8x30 iw0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 11z0 1o10 11z0 1o10 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 3Cn0 8wp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 z8o0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Marengo|LMT CST CDT CWT CPT EST EDT|5J.n 60 50 50 50 50 40|01212134121212121212121215656565656525656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-3tFG0 1nEe0 1nX0 11B0 1nX0 SgN0 8x30 iw0 dyN0 11z0 6fd0 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 jrz0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1e6p0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Petersburg|LMT CST CDT CWT CPT EST EDT|5N.7 60 50 50 50 50 40|01212134121212121212121212121512121212121212121212125212565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-3tFG0 1nEe0 1nX0 11B0 1nX0 SgN0 8x30 iw0 njX0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 3Fb0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 19co0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Tell_City|LMT CST CDT CWT CPT EST EDT|5L.3 60 50 50 50 50 40|012121341212121212121212121512165652121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-3tFG0 1nEe0 1nX0 11B0 1nX0 SgN0 8x30 iw0 njX0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 8wn0 1cN0 1cL0 1cN0 1cK0 1cN0 1cL0 1qhd0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Vevay|LMT CST CDT CWT CPT EST EDT|5E.g 60 50 50 50 50 40|0121213415656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-3tFG0 1nEe0 1nX0 11B0 1nX0 SgN0 8x30 iw0 kPB0 Awn0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1lnd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Vincennes|LMT CST CDT CWT CPT EST EDT|5O.7 60 50 50 50 50 40|01212134121212121212121212121212156565212565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-3tFG0 1nEe0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 g0p0 11z0 1o10 11z0 1qL0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 caL0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Winamac|LMT CST CDT CWT CPT EST EDT|5K.p 60 50 50 50 50 40|012121341212121212121212121212121212121565652165656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-3tFG0 1nEe0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 jrz0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1za0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Inuvik|-00 PST PDT MDT MST|0 80 70 60 70|01212121212121213434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434|-FnA0 L3K0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cK0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|35e2","America/Iqaluit|-00 EWT EPT EST EDT CST CDT|0 40 40 50 40 60 50|0123434343434343434343434343434343434343434343434343434343456343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-16K00 7nX0 iv0 14HB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11C0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|67e2","America/Jamaica|LMT KMT EST EDT|57.a 57.a 50 40|01232323232323232323232|-3eLuQ.O RK00 2uM1Q.O 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0|94e4","America/Juneau|LMT LMT PST PWT PPT PDT YDT YST AKST AKDT|-f2.j 8V.F 80 70 70 70 80 90 90 80|0123425252525252525252525252625252578989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898|-48Pzs.L 1jVwq.s 1EX12.j 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cM0 1cM0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|33e3","America/Kentucky/Louisville|LMT CST CDT CWT CPT EST EDT|5H.2 60 50 50 50 50 40|01212121213412121212121212121212121212565656565656525656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-3tFG0 1nEe0 1nX0 11B0 1nX0 3Fd0 Nb0 LPd0 11z0 RB0 8x30 iw0 1nX1 e0X 9vd0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 xz0 gso0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Kentucky/Monticello|LMT CST CDT CWT CPT EST EDT|5D.o 60 50 50 50 50 40|01212134121212121212121212121212121212121212121212121212121212121212121212565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-3tFG0 1nEe0 1nX0 11B0 1nX0 SgN0 8x30 iw0 SWp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/La_Paz|LMT CMT BST -04|4w.A 4w.A 3w.A 40|0123|-3eLvr.o 1FIo0 13b0|19e5","America/Lima|LMT LMT -05 -04|58.c 58.A 50 40|01232323232323232|-3eLuP.M JcM0.o 1bDzP.o zX0 1aN0 1cL0 1cN0 1cL0 1PrB0 zX0 1O10 zX0 6Gp0 zX0 98p0 zX0|11e6","America/Los_Angeles|LMT PST PDT PWT PPT|7Q.W 80 70 70 70|0121213412121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-3tFE0 1nEe0 1nX0 11B0 1nX0 SgN0 8x10 iy0 5Wp1 1VaX 3dA0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e6","America/Maceio|LMT -03 -02|2m.Q 30 20|012121212121212121212121212121212121212121|-2glxB.8 HdLB.8 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 8Q10 WL0 1tB0 5z0 2mN0 On0|93e4","America/Managua|LMT MMT CST EST CDT|5J.8 5J.c 60 50 50|01232424232324242|-3eLue.Q 1Mhc0.4 1yAMe.M 4mn0 9Up0 Dz0 1K10 Dz0 s3F0 1KH0 DB0 9In0 k8p0 19X0 1o30 11y0|22e5","America/Manaus|LMT -04 -03|40.4 40 30|01212121212121212121212121212121|-2glvX.U HdKX.U 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0|19e5","America/Martinique|LMT FFMT AST ADT|44.k 44.k 40 30|01232|-3eLvT.E PTA0 2LPbT.E 19X0|39e4","America/Matamoros|LMT CST CDT|6u 60 50|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1UQG0 2FjC0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|45e4","America/Mazatlan|LMT MST CST MDT PST|75.E 70 60 60 80|0121312141313131313131313131313131313131313131313131313131313131|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|44e4","America/Menominee|LMT CST CDT CWT CPT EST|5O.r 60 50 50 50 50|012121341212152121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-3pdG9.x 1jce9.x 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 LCN0 1fz0 6410 9Jb0 1cM0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|85e2","America/Merida|LMT CST EST CDT|5W.s 60 50 50|0121313131313131313131313131313131313131313131313131313131|-1UQG0 2q2o0 2hz0 wu30 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|11e5","America/Metlakatla|LMT LMT PST PWT PPT PDT AKST AKDT|-fd.G 8K.i 80 70 70 70 90 80|0123425252525252525252525252525252526767672676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-48Pzs.L 1jVwf.5 1EX1d.G 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1hU10 Rd0 1zb0 Op0 1zb0 Op0 1zb0 uM0 jB0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|14e2","America/Mexico_City|LMT MST CST MDT CDT CWT|6A.A 70 60 60 50 50|012131242425242424242424242424242424242424242424242424242424242424242|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 gEn0 TX0 3xd0 Jb0 6zB0 SL0 e5d0 17b0 1Pff0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|20e6","America/Miquelon|LMT AST -03 -02|3I.E 40 30 20|012323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2mKkf.k 2LTAf.k gQ10 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|61e2","America/Moncton|LMT EST AST ADT AWT APT|4j.8 50 40 30 30 30|0123232323232323232323245232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-3txvE.Q J4ME.Q CwN0 1in0 zAo0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1K10 Lz0 1zB0 NX0 1u10 Wn0 S20 8x50 iu0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 3Cp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14n1 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 ReX 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|64e3","America/Monterrey|LMT CST CDT|6F.g 60 50|0121212121212121212121212121212121212121212121212121212121|-1UQG0 2FjC0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|41e5","America/Montevideo|LMT MMT -04 -03 -0330 -0230 -02 -0130|3I.P 3I.P 40 30 3u 2u 20 1u|012343434343434343434343435353636353636375363636363636363636363636363636363636363636363|-2tRUf.9 sVc0 8jcf.9 1db0 1dcu 1cLu 1dcu 1cLu ircu 11zu 1o0u 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu WLu 1fAu 1cLu 1o0u 11zu NAu 3jXu zXu Dq0u 19Xu pcu jz0 cm10 19X0 6tB0 1fbu 3o0u jX0 4vB0 xz0 3Cp0 mmu 1a10 IMu Db0 4c10 uL0 1Nd0 An0 1SN0 uL0 mp0 28L0 iPB0 un0 1SN0 xz0 1zd0 Lz0 1zd0 Rb0 1zd0 On0 1wp0 Rb0 s8p0 1fB0 1ip0 11z0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 11z0|17e5","America/Toronto|LMT EST EDT EWT EPT|5h.w 50 40 40 40|012121212121212121212121212121212121212121212123412121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-32B6G.s UFdG.s 1in0 11Wu 1nzu 1fD0 WJ0 1wr0 Nb0 1Ap0 On0 1zd0 On0 1wp0 TX0 1tB0 TX0 1tB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 4kM0 8x40 iv0 1o10 11z0 1nX0 11z0 1o10 11z0 1o10 1qL0 11D0 1nX0 11B0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|65e5","America/New_York|LMT EST EDT EWT EPT|4U.2 50 40 40 40|012121212121212121212121212121212121212121212121213412121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-3tFH0 1nEe0 1nX0 11B0 1nX0 11B0 1qL0 1a10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 RB0 8x40 iv0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e6","America/Nome|LMT LMT NST NWT NPT BST BDT YST AKST AKDT|-cW.m b1.C b0 a0 a0 b0 a0 90 90 80|01234256565656565656565656565656565678989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898|-48Pzs.L 1jVyu.p 1EX1W.m 8wW0 iB0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cl0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|38e2","America/Noronha|LMT -02 -01|29.E 20 10|0121212121212121212121212121212121212121|-2glxO.k HdKO.k 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|30e2","America/North_Dakota/Beulah|LMT MST MDT MWT MPT CST CDT|6L.7 70 60 60 60 60 50|012121341212121212121212121212121212121212121212121212121212121212121212121212121212121212121212565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-3tFF0 1nEe0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0|","America/North_Dakota/Center|LMT MST MDT MWT MPT CST CDT|6J.c 70 60 60 60 60 50|0121213412121212121212121212121212121212121212121212121212125656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-3tFF0 1nEe0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/North_Dakota/New_Salem|LMT MST MDT MWT MPT CST CDT|6J.D 70 60 60 60 60 50|0121213412121212121212121212121212121212121212121212121212121212121212121212121212565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-3tFF0 1nEe0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Ojinaga|LMT MST CST MDT CDT|6V.E 70 60 60 50|0121312424231313131313131313131313131313131313131313131313132424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1wn0 Rc0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e3","America/Paramaribo|LMT PMT PMT -0330 -03|3E.E 3E.Q 3E.A 3u 30|01234|-2nDUj.k Wqo0.c qanX.I 1yVXN.o|24e4","America/Port-au-Prince|LMT PPMT EST EDT|4N.k 4N 50 40|012323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-3eLva.E 15RLX.E 2FnMb 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14q0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 i6n0 1nX0 11B0 1nX0 d430 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 3iN0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5","America/Rio_Branco|LMT -05 -04|4v.c 50 40|01212121212121212121212121212121|-2glvs.M HdLs.M 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 NBd0 d5X0|31e4","America/Porto_Velho|LMT -04 -03|4f.A 40 30|012121212121212121212121212121|-2glvI.o HdKI.o 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0|37e4","America/Punta_Arenas|LMT SMT -05 -04 -03|4H.E 4G.J 50 40 30|01213132323232323232343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434|-3eLvg.k MJbX.5 fJAh.f 5knG.J 1Vzh.f jRAG.J 1pbh.f 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 nHX0 op0 blz0 ko0 Qeo0 WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0|","America/Winnipeg|LMT CST CDT CWT CPT|6s.A 60 50 50 50|0121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-3kLtv.o 1a3bv.o WL0 3ND0 1in0 Jap0 Rb0 aCN0 8x30 iw0 1tB0 11z0 1ip0 11z0 1o10 11z0 1o10 11z0 1rd0 10L0 1op0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 1cL0 1cN0 11z0 6i10 WL0 6i10 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|66e4","America/Rankin_Inlet|-00 CST CDT EST|0 60 50 50|01212121212121212121212121212121212121212121212121212121212321212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-vDc0 Bjk0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e2","America/Recife|LMT -03 -02|2j.A 30 20|0121212121212121212121212121212121212121|-2glxE.o HdLE.o 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|33e5","America/Regina|LMT MST MDT MWT MPT CST|6W.A 70 60 60 60 60|012121212121212121212121341212121212121212121212121215|-2AD51.o uHe1.o 1in0 s2L0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 66N0 1cL0 1cN0 19X0 1fB0 1cL0 1fB0 1cL0 1cN0 1cL0 M30 8x20 ix0 1ip0 1cL0 1ip0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 3NB0 1cL0 1cN0|19e4","America/Resolute|-00 CST CDT EST|0 60 50 50|01212121212121212121212121212121212121212121212121212121212321212121212321212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-SnA0 103I0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|229","America/Santarem|LMT -04 -03|3C.M 40 30|0121212121212121212121212121212|-2glwl.c HdLl.c 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 NBd0|21e4","America/Santiago|LMT SMT -05 -04 -03|4G.J 4G.J 50 40 30|0121313232323232323432343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434|-3eLvh.f MJc0 fJAh.f 5knG.J 1Vzh.f jRAG.J 1pbh.f 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 nHX0 op0 9Bz0 hX0 1q10 ko0 Qeo0 WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0|62e5","America/Santo_Domingo|LMT SDMT EST EDT -0430 AST|4D.A 4E 50 40 4u 40|012324242424242525|-3eLvk.o 1Jic0.o 1lJMk Mn0 6sp0 Lbu 1Cou yLu 1RAu wLu 1QMu xzu 1Q0u xXu 1PAu 13jB0 e00|29e5","America/Sao_Paulo|LMT -03 -02|36.s 30 20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwR.w HdKR.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 pTd0 PX0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|20e6","America/Scoresbysund|LMT -02 -01 +00|1r.Q 20 10 0|0121323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2a5Ww.8 2z5ew.8 1a00 1cK0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|452","America/Sitka|LMT LMT PST PWT PPT PDT YST AKST AKDT|-eW.L 91.d 80 70 70 70 90 90 80|0123425252525252525252525252525252567878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787|-48Pzs.L 1jVwu 1EX0W.L 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|90e2","America/St_Johns|LMT NST NDT NST NDT NWT NPT NDDT|3u.Q 3u.Q 2u.Q 3u 2u 2u 2u 1u|012121212121212121212121212121212121213434343434343435634343434343434343434343434343434343434343434343434343434343434343434343434343434343437343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-3tokt.8 1l020 14L0 1nB0 1in0 1gm0 Dz0 1JB0 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 1cL0 1fB0 19X0 1fB0 19X0 10O0 eKX.8 19X0 1iq0 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 WL0 1qN0 WL0 1qN0 7UHu itu 1tB0 WL0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1tB0 WL0 1ld0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4","America/Swift_Current|LMT MST MDT MWT MPT CST|7b.k 70 60 60 60 60|012134121212121212121215|-2AD4M.E uHdM.E 1in0 UGp0 8x20 ix0 1o10 17b0 1ip0 11z0 1o10 11z0 1o10 11z0 isN0 1cL0 3Cp0 1cL0 1cN0 11z0 1qN0 WL0 pMp0|16e3","America/Tegucigalpa|LMT CST CDT|5M.Q 60 50|01212121|-1WGGb.8 2ETcb.8 WL0 1qN0 WL0 GRd0 AL0|11e5","America/Thule|LMT AST ADT|4z.8 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a5To.Q 31NBo.Q 1cL0 1cN0 1cL0 1fB0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|656","America/Vancouver|LMT PST PDT PWT PPT|8c.s 80 70 70 70|01213412121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-3tofL.w 1nspL.w 1in0 UGp0 8x10 iy0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5","America/Whitehorse|LMT YST YDT YWT YPT YDDT PST PDT MST|90.c 90 80 80 80 70 80 70 70|0121213415167676767676767676767676767676767676767676767676767676767676767676767676767676767678|-2MSeX.M GWpX.M 1in0 1o10 13V0 Ser0 8x00 iz0 LCL0 1fA0 LA0 ytd0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1z90|23e3","America/Yakutat|LMT LMT YST YWT YPT YDT AKST AKDT|-eF.5 9i.T 90 80 80 80 90 80|0123425252525252525252525252525252526767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-48Pzs.L 1jVwL.G 1EX1F.5 8x00 iz0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cn0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|642","Antarctica/Casey|-00 +08 +11|0 -80 -b0|0121212121212|-2q00 1DjS0 T90 40P0 KL0 blz0 3m10 1o30 14k0 1kr0 12l0 1o01|10","Antarctica/Davis|-00 +07 +05|0 -70 -50|01012121|-vyo0 iXt0 alj0 1D7v0 VB0 3Wn0 KN0|70","Pacific/Port_Moresby|LMT PMMT +10|-9M.E -9M.w -a0|012|-3D8VM.E AvA0.8|25e4","Antarctica/Macquarie|-00 AEST AEDT|0 -a0 -b0|0121012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-2OPc0 Fb40 1a00 4SK0 1ayy0 Lvs0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 3Co0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0|1","Antarctica/Mawson|-00 +06 +05|0 -60 -50|012|-CEo0 2fyk0|60","Pacific/Auckland|LMT NZMT NZST NZST NZDT|-bD.4 -bu -cu -c0 -d0|012131313131313131313131313134343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434|-46jLD.4 2nEO9.4 Lz0 1tB0 11zu 1o0u 11zu 1o0u 11zu 1o0u 14nu 1lcu 14nu 1lcu 1lbu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1qLu WMu 1qLu 11Au 1n1bu IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00|14e5","Antarctica/Palmer|-00 -03 -04 -02|0 30 40 20|0121212121213121212121212121212121212121212121212121212121212121212121212121212121|-cao0 nD0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 jsN0 14N0 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0|40","Antarctica/Rothera|-00 -03|0 30|01|gOo0|130","Asia/Riyadh|LMT +03|-36.Q -30|01|-TvD6.Q|57e5","Antarctica/Troll|-00 +00 +02|0 0 -20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|1puo0 hd0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|40","Asia/Urumqi|LMT +06|-5O.k -60|01|-1GgtO.k|32e5","Europe/Berlin|LMT CET CEST CEMT|-R.s -10 -20 -30|012121212121212321212321212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-36RcR.s UbWR.s 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 kL0 Nc0 m10 WM0 1ao0 1cp0 dX0 jz0 Dd0 1io0 17c0 1fA0 1a00 1ehA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|41e5","Asia/Almaty|LMT +05 +06 +07|-57.M -50 -60 -70|012323232323232323232321232323232323232323232323232|-1Pc57.M eUo7.M 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0|15e5","Asia/Amman|LMT EET EEST +03|-2n.I -20 -30 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212123|-1yW2n.I 1HiMn.I KL0 1oN0 11b0 1oN0 11b0 1pd0 1dz0 1cp0 11b0 1op0 11b0 fO10 1db0 1e10 1cL0 1cN0 1cL0 1cN0 1fz0 1pd0 10n0 1ld0 14n0 1hB0 15b0 1ip0 19X0 1cN0 1cL0 1cN0 17b0 1ld0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1So0 y00 1fc0 1dc0 1co0 1dc0 1cM0 1cM0 1cM0 1o00 11A0 1lc0 17c0 1cM0 1cM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 4bX0 Dd0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 LA0 1C00|25e5","Asia/Anadyr|LMT +12 +13 +14 +11|-bN.U -c0 -d0 -e0 -b0|01232121212121212121214121212121212121212121212121212121212141|-1PcbN.U eUnN.U 23CL0 1db0 2q10 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|13e3","Asia/Aqtau|LMT +04 +05 +06|-3l.4 -40 -50 -60|012323232323232323232123232312121212121212121212|-1Pc3l.4 eUnl.4 24PX0 2pX0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|15e4","Asia/Aqtobe|LMT +04 +05 +06|-3M.E -40 -50 -60|0123232323232323232321232323232323232323232323232|-1Pc3M.E eUnM.E 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0|27e4","Asia/Ashgabat|LMT +04 +05 +06|-3R.w -40 -50 -60|0123232323232323232323212|-1Pc3R.w eUnR.w 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0|41e4","Asia/Atyrau|LMT +03 +05 +06 +04|-3r.I -30 -50 -60 -40|01232323232323232323242323232323232324242424242|-1Pc3r.I eUor.I 24PW0 2pX0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 2sp0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|","Asia/Baghdad|LMT BMT +03 +04|-2V.E -2V.A -30 -40|0123232323232323232323232323232323232323232323232323232|-3eLCV.E 18ao0.4 2ACnV.A 11b0 1cp0 1dz0 1dd0 1db0 1cN0 1cp0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1de0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0|66e5","Asia/Qatar|LMT +04 +03|-3q.8 -40 -30|012|-21Jfq.8 27BXq.8|96e4","Asia/Baku|LMT +03 +04 +05|-3j.o -30 -40 -50|01232323232323232323232123232323232323232323232323232323232323232|-1Pc3j.o 1jUoj.o WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cM0 9Je0 1o00 11z0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|27e5","Asia/Bangkok|LMT BMT +07|-6G.4 -6G.4 -70|012|-3D8SG.4 1C000|15e6","Asia/Barnaul|LMT +06 +07 +08|-5z -60 -70 -80|0123232323232323232323212323232321212121212121212121212121212121212|-21S5z pCnz 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 p90 LE0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|","Asia/Beirut|LMT EET EEST|-2m -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-3D8Om 1BWom 1on0 1410 1db0 19B0 1in0 1ip0 WL0 1lQp0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 q6N0 En0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1op0 11b0 dA10 17b0 1iN0 17b0 1iN0 17b0 1iN0 17b0 1vB0 SL0 1mp0 13z0 1iN0 17b0 1iN0 17b0 1jd0 12n0 1a10 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0|22e5","Asia/Bishkek|LMT +05 +06 +07|-4W.o -50 -60 -70|012323232323232323232321212121212121212121212121212|-1Pc4W.o eUnW.o 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2e00 1tX0 17b0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1cPu 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0|87e4","Asia/Brunei|LMT +0730 +08 +0820 +09|-7l.k -7u -80 -8k -90|0123232323232323242|-1KITl.k gDbP.k 6ynu AnE 1O0k AnE 1NAk AnE 1NAk AnE 1NAk AnE 1O0k AnE 1NAk AnE pAk 8Fz0|42e4","Asia/Kolkata|LMT HMT MMT IST +0630|-5R.s -5R.k -5l.a -5u -6u|01234343|-4Fg5R.s BKo0.8 1rDcw.a 1r2LP.a 1un0 HB0 7zX0|15e6","Asia/Chita|LMT +08 +09 +10|-7x.Q -80 -90 -a0|012323232323232323232321232323232323232323232323232323232323232312|-21Q7x.Q pAnx.Q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3re0|33e4","Asia/Choibalsan|LMT +07 +08 +10 +09|-7C -70 -80 -a0 -90|0123434343434343434343434343434343434343434343424242|-2APHC 2UkoC cKn0 1da0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 3Db0 h1f0 1cJ0 1cP0 1cJ0|38e3","Asia/Shanghai|LMT CST CDT|-85.H -80 -90|012121212121212121212121212121|-2M0U5.H Iuo5.H 18n0 OjB0 Rz0 11d0 1wL0 A10 8HX0 1G10 Tz0 1ip0 1jX0 1cN0 11b0 1oN0 aL0 1tU30 Rb0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0|23e6","Asia/Colombo|LMT MMT +0530 +06 +0630|-5j.o -5j.w -5u -60 -6u|012342432|-3D8Rj.o 13inX.Q 1rFbN.w 1zzu 7Apu 23dz0 11zu n3cu|22e5","Asia/Dhaka|LMT HMT +0630 +0530 +06 +07|-61.E -5R.k -6u -5u -60 -70|01232454|-3eLG1.E 26008.k 1unn.k HB0 m6n0 2kxbu 1i00|16e6","Asia/Damascus|LMT EET EEST +03|-2p.c -20 -30 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212123|-21Jep.c Hep.c 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1xRB0 11X0 1oN0 10L0 1pB0 11b0 1oN0 10L0 1mp0 13X0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 Nb0 1AN0 Nb0 bcp0 19X0 1gp0 19X0 3ld0 1xX0 Vd0 1Bz0 Sp0 1vX0 10p0 1dz0 1cN0 1cL0 1db0 1db0 1g10 1an0 1ap0 1db0 1fd0 1db0 1cN0 1db0 1dd0 1db0 1cp0 1dz0 1c10 1dX0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 19z0 1fB0 1qL0 11B0 1on0 Wp0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0|26e5","Asia/Dili|LMT +08 +09|-8m.k -80 -90|01212|-2le8m.k 1dnXm.k 1nfA0 Xld0|19e4","Asia/Dubai|LMT +04|-3F.c -40|01|-21JfF.c|39e5","Asia/Dushanbe|LMT +05 +06 +07|-4z.c -50 -60 -70|012323232323232323232321|-1Pc4z.c eUnz.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2hB0|76e4","Asia/Famagusta|LMT EET EEST +03|-2f.M -20 -30 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212312121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1Vc2f.M 2a3cf.M 1cL0 1qp0 Xz0 19B0 19X0 1fB0 1db0 1cp0 1cL0 1fB0 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1o30 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 15U0 2Ks0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|","Asia/Gaza|LMT EET EEST IST IDT|-2h.Q -20 -30 -20 -30|01212121212121212121212121212121212343434343434343434343434343434312121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2MBCh.Q 1Azeh.Q MM0 iM0 4JA0 10o0 1pA0 10M0 1pA0 16o0 1jA0 16o0 1jA0 pBa0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 bXB0 gM0 8Q00 IM0 1wo0 TX0 1HB0 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 11z0 1o10 14o0 1lA1 SKX 1xd1 MKX 1AN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nA0 1210 1qL0 WN0 1qL0 WN0 1qL0 11c0 1on0 11B0 1o00 11A0 1qo0 XA0 1qp0 1cN0 1cL0 17d0 1in0 14p0 1lb0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1lb0 14p0 1in0 17d0 1cL0 1cN0 19X0 e10 2L0 WN0 14n0 gN0 5z0 11B0 WL0 e10 bb0 11B0 TX0 e10 dX0 11B0 On0 gN0 gL0 11B0 Lz0 e10 pb0 WN0 IL0 e10 rX0 WN0 Db0 gN0 uL0 11B0 xz0 e10 An0 11B0 rX0 gN0 Db0 11B0 pb0 e10 Lz0 WN0 mn0 e10 On0 WN0 gL0 gN0 Rb0 11B0 bb0 e10 WL0 11B0 5z0 gN0 11z0 11B0 2L0 gN0 14n0 1fB0 1cL0 1a10 1fz0 14p0 1lb0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1nX0 14p0 1in0 17d0 1fz0 1a10 19X0 1fB0 17b0 e10 28L0 e10 25X0 gN0 25X0 e10 gL0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0|18e5","Asia/Hebron|LMT EET EEST IST IDT|-2k.n -20 -30 -20 -30|0121212121212121212121212121212121234343434343434343434343434343431212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2MBCk.n 1Azek.n MM0 iM0 4JA0 10o0 1pA0 10M0 1pA0 16o0 1jA0 16o0 1jA0 pBa0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 bXB0 gM0 8Q00 IM0 1wo0 TX0 1HB0 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 12L0 1mN0 14o0 1lc0 Tb0 1xd1 MKX bB0 cn0 1cN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nA0 1210 1qL0 WN0 1qL0 WN0 1qL0 11c0 1on0 11B0 1o00 11A0 1qo0 XA0 1qp0 1cN0 1cL0 17d0 1in0 14p0 1lb0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1lb0 14p0 1in0 17d0 1cL0 1cN0 19X0 e10 2L0 WN0 14n0 gN0 5z0 11B0 WL0 e10 bb0 11B0 TX0 e10 dX0 11B0 On0 gN0 gL0 11B0 Lz0 e10 pb0 WN0 IL0 e10 rX0 WN0 Db0 gN0 uL0 11B0 xz0 e10 An0 11B0 rX0 gN0 Db0 11B0 pb0 e10 Lz0 WN0 mn0 e10 On0 WN0 gL0 gN0 Rb0 11B0 bb0 e10 WL0 11B0 5z0 gN0 11z0 11B0 2L0 gN0 14n0 1fB0 1cL0 1a10 1fz0 14p0 1lb0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1nX0 14p0 1in0 17d0 1fz0 1a10 19X0 1fB0 17b0 e10 28L0 e10 25X0 gN0 25X0 e10 gL0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0|25e4","Asia/Ho_Chi_Minh|LMT PLMT +07 +08 +09|-76.u -76.u -70 -80 -90|0123423232|-2yC76.u bK00 1h7b6.u 5lz0 18o0 3Oq0 k5b0 aW00 BAM0|90e5","Asia/Hong_Kong|LMT HKT HKST HKWT JST|-7A.G -80 -90 -8u -90|0123412121212121212121212121212121212121212121212121212121212121212121|-2CFH0 1taO0 Hc0 xUu 9tBu 11z0 1tDu Rc0 1wo0 11A0 1cM0 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1nX0 U10 1tz0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 Rd0 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 17d0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1cL0 6fd0 14n0|73e5","Asia/Hovd|LMT +06 +07 +08|-66.A -60 -70 -80|012323232323232323232323232323232323232323232323232|-2APG6.A 2Uko6.A cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0|81e3","Asia/Irkutsk|LMT IMT +07 +08 +09|-6V.5 -6V.5 -70 -80 -90|012343434343434343434343234343434343434343434343434343434343434343|-3D8SV.5 1Bxc0 pjXV.5 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|60e4","Europe/Istanbul|LMT IMT EET EEST +03 +04|-1T.Q -1U.U -20 -30 -30 -40|01232323232323232323232323232323232323232323232345423232323232323232323232323232323232323232323232323232323232323234|-3D8NT.Q 1ePXW.U dzzU.U 11b0 8tB0 1on0 1410 1db0 19B0 1in0 3Rd0 Un0 1oN0 11b0 zSN0 CL0 mp0 1Vz0 1gN0 8yn0 1yp0 ML0 1kp0 17b0 1ip0 17b0 1fB0 19X0 1ip0 19X0 1ip0 17b0 qdB0 38L0 1jd0 Tz0 l6O0 11A0 WN0 1qL0 TB0 1tX0 U10 1tz0 11B0 1in0 17d0 z90 cne0 pb0 2Cp0 1800 14o0 1dc0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1a00 1fA0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WO0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 Xc0 1qo0 WM0 1qM0 11A0 1o00 1200 1nA0 11A0 1tA0 U00 15w0|13e6","Asia/Jakarta|LMT BMT +0720 +0730 +09 +08 WIB|-77.c -77.c -7k -7u -90 -80 -70|012343536|-49jH7.c 2hiLL.c luM0 mPzO 8vWu 6kpu 4PXu xhcu|31e6","Asia/Jayapura|LMT +09 +0930 WIT|-9m.M -90 -9u -90|0123|-1uu9m.M sMMm.M L4nu|26e4","Asia/Jerusalem|LMT JMT IST IDT IDDT|-2k.S -2k.E -20 -30 -40|012323232323232432323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-3D8Ok.S 1wvA0.e SyOk.E MM0 iM0 4JA0 10o0 1pA0 10M0 1pA0 16o0 1jA0 16o0 1jA0 3LA0 Eo0 oo0 1co0 1dA0 16o0 10M0 1jc0 1tA0 14o0 1cM0 1a00 11A0 1Nc0 Ao0 1Nc0 Ao0 1Ko0 LA0 1o00 WM0 EQK0 Db0 1fB0 Rb0 bXB0 gM0 8Q00 IM0 1wo0 TX0 1HB0 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 1hB0 1dX0 1ep0 1aL0 1eN0 17X0 1nf0 11z0 1tB0 19W0 1e10 17b0 1ep0 1gL0 18N0 1fz0 1eN0 17b0 1gq0 1gn0 19d0 1dz0 1c10 17X0 1hB0 1gn0 19d0 1dz0 1c10 17X0 1kp0 1dz0 1c10 1aL0 1eN0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0|81e4","Asia/Kabul|LMT +04 +0430|-4A.M -40 -4u|012|-3eLEA.M 2dTcA.M|46e5","Asia/Kamchatka|LMT +11 +12 +13|-ay.A -b0 -c0 -d0|012323232323232323232321232323232323232323232323232323232323212|-1SLKy.A ivXy.A 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|18e4","Asia/Karachi|LMT +0530 +0630 +05 PKT PKST|-4s.c -5u -6u -50 -50 -60|012134545454|-2xoss.c 1qOKW.c 7zX0 eup0 LqMu 1fy00 1cL0 dK10 11b0 1610 1jX0|24e6","Asia/Kathmandu|LMT +0530 +0545|-5F.g -5u -5J|012|-21JhF.g 2EGMb.g|12e5","Asia/Khandyga|LMT +08 +09 +10 +11|-92.d -80 -90 -a0 -b0|0123232323232323232323212323232323232323232323232343434343434343432|-21Q92.d pAp2.d 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 qK0 yN0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0|66e2","Asia/Krasnoyarsk|LMT +06 +07 +08|-6b.q -60 -70 -80|01232323232323232323232123232323232323232323232323232323232323232|-21Hib.q prAb.q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|10e5","Asia/Kuala_Lumpur|LMT SMT +07 +0720 +0730 +09 +08|-6T.p -6T.p -70 -7k -7u -90 -80|01234546|-2M0ST.p aIM0 17anT.p l5XE 17bO 8Fyu 1so10|71e5","Asia/Macau|LMT CST +09 +10 CDT|-7y.a -80 -90 -a0 -90|012323214141414141414141414141414141414141414141414141414141414141414141|-2CFHy.a 1uqKy.a PX0 1kn0 15B0 11b0 4Qq0 1oM0 11c0 1ko0 1u00 11A0 1cM0 11c0 1o00 11A0 1o00 11A0 1oo0 1400 1o00 11A0 1o00 U00 1tA0 U00 1wo0 Rc0 1wru U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 Rd0 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 17d0 1cK0 1cO0 1cK0 1cO0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1cL0 6fd0 14n0|57e4","Asia/Magadan|LMT +10 +11 +12|-a3.c -a0 -b0 -c0|012323232323232323232321232323232323232323232323232323232323232312|-1Pca3.c eUo3.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3Cq0|95e3","Asia/Makassar|LMT MMT +08 +09 WITA|-7V.A -7V.A -80 -90 -80|01234|-21JjV.A vfc0 myLV.A 8ML0|15e5","Asia/Manila|LMT LMT PST PDT JST|fU -84 -80 -90 -90|01232423232|-54m84 2clc0 1vfc4 AL0 cK10 65X0 mXB0 vX0 VK10 1db0|24e6","Asia/Nicosia|LMT EET EEST|-2d.s -20 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1Vc2d.s 2a3cd.s 1cL0 1qp0 Xz0 19B0 19X0 1fB0 1db0 1cp0 1cL0 1fB0 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1o30 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|32e4","Asia/Novokuznetsk|LMT +06 +07 +08|-5M.M -60 -70 -80|012323232323232323232321232323232323232323232323232323232323212|-1PctM.M eULM.M 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|55e4","Asia/Novosibirsk|LMT +06 +07 +08|-5v.E -60 -70 -80|0123232323232323232323212323212121212121212121212121212121212121212|-21Qnv.E pAFv.E 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 ml0 Os0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 4eN0|15e5","Asia/Omsk|LMT +05 +06 +07|-4R.u -50 -60 -70|01232323232323232323232123232323232323232323232323232323232323232|-224sR.u pMLR.u 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|12e5","Asia/Oral|LMT +03 +05 +06 +04|-3p.o -30 -50 -60 -40|01232323232323232424242424242424242424242424242|-1Pc3p.o eUop.o 23CK0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 1cM0 IM0 1EM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|27e4","Asia/Pontianak|LMT PMT +0730 +09 +08 WITA WIB|-7h.k -7h.k -7u -90 -80 -80 -70|012324256|-2ua7h.k XE00 munL.k 8Rau 6kpu 4PXu xhcu Wqnu|23e4","Asia/Pyongyang|LMT KST JST KST|-8n -8u -90 -90|012313|-2um8n 97XR 1lTzu 2Onc0 6BA0|29e5","Asia/Qostanay|LMT +04 +05 +06|-4e.s -40 -50 -60|012323232323232323232123232323232323232323232323|-1Pc4e.s eUoe.s 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|","Asia/Qyzylorda|LMT +04 +05 +06|-4l.Q -40 -50 -60|01232323232323232323232323232323232323232323232|-1Pc4l.Q eUol.Q 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 3ao0 1EM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 zQl0|73e4","Asia/Rangoon|LMT RMT +0630 +09|-6o.L -6o.L -6u -90|01232|-3D8So.L 1BnA0 SmnS.L 7j9u|48e5","Asia/Sakhalin|LMT +09 +11 +12 +10|-9u.M -90 -b0 -c0 -a0|01232323232323232323232423232323232424242424242424242424242424242|-2AGVu.M 1BoMu.M 1qFa0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 2pB0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|58e4","Asia/Samarkand|LMT +04 +05 +06|-4r.R -40 -50 -60|01232323232323232323232|-1Pc4r.R eUor.R 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0|36e4","Asia/Seoul|LMT KST JST KST KDT KDT|-8r.Q -8u -90 -90 -a0 -9u|012343434343151515151515134343|-2um8r.Q 97XV.Q 1m1zu 6CM0 Fz0 1kN0 14n0 1kN0 14L0 1zd0 On0 69B0 2I0u OL0 1FB0 Rb0 1qN0 TX0 1tB0 TX0 1tB0 TX0 1tB0 TX0 2ap0 12FBu 11A0 1o00 11A0|23e6","Asia/Srednekolymsk|LMT +10 +11 +12|-ae.Q -a0 -b0 -c0|01232323232323232323232123232323232323232323232323232323232323232|-1Pcae.Q eUoe.Q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|35e2","Asia/Taipei|LMT CST JST CDT|-86 -80 -90 -90|012131313131313131313131313131313131313131|-30bk6 1FDc6 joM0 1yo0 Tz0 1ip0 1jX0 1cN0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 10N0 1BX0 10p0 1pz0 10p0 1pz0 10p0 1db0 1dd0 1db0 1cN0 1db0 1cN0 1db0 1cN0 1db0 1BB0 ML0 1Bd0 ML0 uq10 1db0 1cN0 1db0 97B0 AL0|74e5","Asia/Tashkent|LMT +05 +06 +07|-4B.b -50 -60 -70|012323232323232323232321|-1Pc4B.b eUnB.b 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0|23e5","Asia/Tbilisi|LMT TBMT +03 +04 +05|-2X.b -2X.b -30 -40 -50|01234343434343434343434323232343434343434343434323|-3D8OX.b 1LUM0 1jUnX.b WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cK0 1cL0 1cN0 1cL0 1cN0 2pz0 1cL0 1fB0 3Nz0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 An0 Os0 WM0|11e5","Asia/Tehran|LMT TMT +0330 +0430 +04 +05|-3p.I -3p.I -3u -4u -40 -50|012345423232323232323232323232323232323232323232323232323232323232323232|-2btDp.I Llc0 1FHaT.I 1pc0 120u Rc0 XA0 Wou JX0 1dB0 1en0 pNB0 UL0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 64p0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0|14e6","Asia/Thimphu|LMT +0530 +06|-5W.A -5u -60|012|-Su5W.A 1BGMs.A|79e3","Asia/Tokyo|LMT JST JDT|-9i.X -90 -a0|0121212121|-3jE90 2qSo0 Rc0 1lc0 14o0 1zc0 Oo0 1zc0 Oo0|38e6","Asia/Tomsk|LMT +06 +07 +08|-5D.P -60 -70 -80|0123232323232323232323212323232323232323232323212121212121212121212|-21NhD.P pxzD.P 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 co0 1bB0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3Qp0|10e5","Asia/Ulaanbaatar|LMT +07 +08 +09|-77.w -70 -80 -90|012323232323232323232323232323232323232323232323232|-2APH7.w 2Uko7.w cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0|12e5","Asia/Ust-Nera|LMT +08 +09 +12 +11 +10|-9w.S -80 -90 -c0 -b0 -a0|012343434343434343434345434343434343434343434343434343434343434345|-21Q9w.S pApw.S 23CL0 1d90 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0|65e2","Asia/Vladivostok|LMT +09 +10 +11|-8L.v -90 -a0 -b0|01232323232323232323232123232323232323232323232323232323232323232|-1SJIL.v itXL.v 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|60e4","Asia/Yakutsk|LMT +08 +09 +10|-8C.W -80 -90 -a0|01232323232323232323232123232323232323232323232323232323232323232|-21Q8C.W pAoC.W 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|28e4","Asia/Yekaterinburg|LMT PMT +04 +05 +06|-42.x -3J.5 -40 -50 -60|012343434343434343434343234343434343434343434343434343434343434343|-2ag42.x 7mQh.s qBvJ.5 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|14e5","Asia/Yerevan|LMT +03 +04 +05|-2W -30 -40 -50|0123232323232323232323212121212323232323232323232323232323232|-1Pc2W 1jUnW WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 4RX0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|13e5","Atlantic/Azores|LMT HMT -02 -01 +00 WET|1G.E 1S.w 20 10 0 0|01232323232323232323232323232323232323232323234323432343234323232323232323232323232323232323232323232343434343434343434343434343434345434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-3tomh.k 18aoh.k aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 qIl0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|25e4","Atlantic/Bermuda|LMT BMT BST AST ADT|4j.i 4j.i 3j.i 40 30|0121213434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-3eLvE.G 16mo0 1bb0 1i10 11X0 ru30 thbE.G 1PX0 11B0 1tz0 Rd0 1zb0 Op0 1zb0 3I10 Lz0 1EN0 FX0 1HB0 FX0 1Kp0 Db0 1Kp0 Db0 1Kp0 FX0 93d0 11z0 GAp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|65e3","Atlantic/Canary|LMT -01 WET WEST|11.A 10 0 -10|01232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UtaW.o XPAW.o 1lAK0 1a10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|54e4","Atlantic/Cape_Verde|LMT -02 -01|1y.4 20 10|01212|-2ldW0 1eEo0 7zX0 1djf0|50e4","Atlantic/Faroe|LMT WET WEST|r.4 0 -10|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2uSnw.U 2Wgow.U 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|49e3","Atlantic/Madeira|LMT FMT -01 +00 +01 WET WEST|17.A 17.A 10 0 -10 0 -10|01232323232323232323232323232323232323232323234323432343234323232323232323232323232323232323232323232565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-3tomQ.o 18anQ.o aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 qIl0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|27e4","Atlantic/South_Georgia|LMT -02|2q.8 20|01|-3eLxx.Q|30","Atlantic/Stanley|LMT SMT -04 -03 -02|3P.o 3P.o 40 30 20|0123232323232323434323232323232323232323232323232323232323232323232323|-3eLw8.A S200 12bA8.A 19X0 1fB0 19X0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 Cn0 1Cc10 WL0 1qL0 U10 1tz0 2mN0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 U10 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qN0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 U10 1tz0 U10 1tz0 U10|21e2","Australia/Sydney|LMT AEST AEDT|-a4.Q -a0 -b0|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-32oW4.Q RlC4.Q xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0|40e5","Australia/Adelaide|LMT ACST ACST ACDT|-9e.k -90 -9u -au|012323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-32oVe.k ak0e.k H1Bu xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 WM0 1qM0 Rc0 1zc0 U00 1tA0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0|11e5","Australia/Brisbane|LMT AEST AEDT|-ac.8 -a0 -b0|012121212121212121|-32Bmc.8 Ry2c.8 xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0|20e5","Australia/Broken_Hill|LMT AEST ACST ACST ACDT|-9p.M -a0 -90 -9u -au|0123434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434|-32oVp.M 3Lzp.M 6wp0 H1Bu xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0|18e3","Australia/Hobart|LMT AEST AEDT|-9N.g -a0 -b0|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-3109N.g Pk1N.g 1a00 1qM0 Oo0 1zc0 Oo0 TAo0 yM0 1cM0 1cM0 1fA0 1a00 VfA0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0|21e4","Australia/Darwin|LMT ACST ACST ACDT|-8H.k -90 -9u -au|01232323232|-32oUH.k ajXH.k H1Bu xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00|12e4","Australia/Eucla|LMT +0845 +0945|-8z.s -8J -9J|01212121212121212121|-30nIz.s PkpO.s xc0 10jc0 yM0 1cM0 1cM0 1gSo0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|368","Australia/Lord_Howe|LMT AEST +1030 +1130 +11|-aA.k -a0 -au -bu -b0|01232323232424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424|-32oWA.k 3tzAA.k 1zdu Rb0 1zd0 On0 1zd0 On0 1zd0 On0 1zd0 TXu 1qMu WLu 1tAu WLu 1tAu TXu 1tAu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu 11zu 1o0u 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 11Au 1nXu 1qMu 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu 11zu 1o0u WLu 1qMu 14nu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu|347","Australia/Lindeman|LMT AEST AEDT|-9T.U -a0 -b0|0121212121212121212121|-32BlT.U Ry1T.U xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0|10","Australia/Melbourne|LMT AEST AEDT|-9D.Q -a0 -b0|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-32oVD.Q RlBD.Q xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1qM0 11A0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0|39e5","Australia/Perth|LMT AWST AWDT|-7H.o -80 -90|01212121212121212121|-30nHH.o PkpH.o xc0 10jc0 yM0 1cM0 1cM0 1gSo0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|18e5","CET|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|","Pacific/Easter|LMT EMT -07 -06 -05|7h.s 7h.s 70 60 50|0123232323232323232323232323234343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434|-3eLsG.w 1HRc0 1s4IG.w WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 2pA0 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0|30e2","CST6CDT|CST CDT CWT CPT|60 50 50 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","EET|EET EEST|-20 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|","Europe/Dublin|LMT DMT IST GMT BST IST|p.l p.l -y.D 0 -10 -10|012343434343435353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353|-3BHby.D 1ra20 Rc0 1fzy.D 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 g600 14o0 1wo0 17c0 1io0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|12e5","EST|EST|50|0||","EST5EDT|EST EDT EWT EPT|50 40 40 40|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261t0 1nX0 11B0 1nX0 SgN0 8x40 iv0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","Etc/GMT-0|GMT|0|0||","Etc/GMT-1|+01|-10|0||","Etc/GMT-10|+10|-a0|0||","Etc/GMT-11|+11|-b0|0||","Etc/GMT-12|+12|-c0|0||","Etc/GMT-13|+13|-d0|0||","Etc/GMT-14|+14|-e0|0||","Etc/GMT-2|+02|-20|0||","Etc/GMT-3|+03|-30|0||","Etc/GMT-4|+04|-40|0||","Etc/GMT-5|+05|-50|0||","Etc/GMT-6|+06|-60|0||","Etc/GMT-7|+07|-70|0||","Etc/GMT-8|+08|-80|0||","Etc/GMT-9|+09|-90|0||","Etc/GMT+1|-01|10|0||","Etc/GMT+10|-10|a0|0||","Etc/GMT+11|-11|b0|0||","Etc/GMT+12|-12|c0|0||","Etc/GMT+2|-02|20|0||","Etc/GMT+3|-03|30|0||","Etc/GMT+4|-04|40|0||","Etc/GMT+5|-05|50|0||","Etc/GMT+6|-06|60|0||","Etc/GMT+7|-07|70|0||","Etc/GMT+8|-08|80|0||","Etc/GMT+9|-09|90|0||","Etc/UTC|UTC|0|0||","Europe/Brussels|LMT BMT WET CET CEST WEST|-h.u -h.u 0 -10 -20 -10|012343434325252525252525252525252525252525252525252525434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-3D8Mh.u u1Ah.u SO00 3zX0 11c0 1iO0 11A0 1o00 11A0 my0 Ic0 1qM0 Rc0 1EM0 UM0 1u00 10o0 1io0 1io0 17c0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a30 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 y00 5Wn0 WM0 1fA0 1cM0 16M0 1iM0 16M0 1C00 Uo0 1eeo0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|21e5","Europe/Andorra|LMT WET CET CEST|-6.4 0 -10 -20|0123232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2M0M6.4 1Pnc6.4 1xIN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|79e3","Europe/Astrakhan|LMT +03 +04 +05|-3c.c -30 -40 -50|012323232323232323212121212121212121212121212121212121212121212|-1Pcrc.c eUMc.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|10e5","Europe/Athens|LMT AMT EET EEST CEST CET|-1y.Q -1y.Q -20 -30 -20 -10|0123234545232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-30SNy.Q OMM1 CNbx.Q mn0 kU10 9b0 3Es0 Xa0 1fb0 1dd0 k3X0 Nz0 SCp0 1vc0 SO0 1cM0 1a00 1ao0 1fc0 1a10 1fG0 1cg0 1dX0 1bX0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|35e5","Europe/London|LMT GMT BST BDST|1.f 0 -10 -20|01212121212121212121212121212121212121212121212121232323232321212321212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-4VgnW.J 2KHdW.J Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|10e6","Europe/Belgrade|LMT CET CEST|-1m -10 -20|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-3topm 2juLm 3IP0 WM0 1fA0 1cM0 1cM0 1rc0 Qo0 1vmo0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|12e5","Europe/Prague|LMT PMT CET CEST GMT|-V.I -V.I -10 -20 0|0123232323232323232423232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-4QbAV.I 1FDc0 XPaV.I 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 1cM0 1qM0 11c0 mp0 xA0 mn0 17c0 1io0 17c0 1fc0 1ao0 1bNc0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|13e5","Europe/Bucharest|LMT BMT EET EEST|-1I.o -1I.o -20 -30|01232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-3awpI.o 1AU00 20LI.o RA0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Axc0 On0 1fA0 1a10 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|19e5","Europe/Budapest|LMT CET CEST|-1g.k -10 -20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-3cK1g.k 124Lg.k 11d0 1iO0 11A0 1o00 11A0 1oo0 11c0 1lc0 17c0 O1V0 3Nf0 WM0 1fA0 1cM0 1cM0 1oJ0 1dd0 1020 1fX0 1cp0 1cM0 1cM0 1cM0 1fA0 1a00 bhy0 Rb0 1wr0 Rc0 1C00 LA0 1C00 LA0 SNW0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cO0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|17e5","Europe/Zurich|LMT BMT CET CEST|-y.8 -t.K -10 -20|0123232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-4HyMy.8 1Dw04.m 1SfAt.K 11A0 1o00 11A0 1xG10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|38e4","Europe/Chisinau|LMT CMT BMT EET EEST CEST CET MSK MSD|-1T.k -1T -1I.o -20 -30 -20 -10 -30 -40|0123434343434343434345656578787878787878787878434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-3D8NT.k 1wNA0.k wGMa.A 20LI.o RA0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 27A0 2en0 39g0 WM0 1fA0 1cM0 V90 1t7z0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 gL0 WO0 1cM0 1cM0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11D0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|67e4","Europe/Gibraltar|LMT GMT BST BDST CET CEST|l.o 0 -10 -20 -10 -20|0121212121212121212121212121212121212121212121212123232323232121232121212121212121212145454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-3BHbC.A 1ra1C.A Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 10Jz0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|30e3","Europe/Helsinki|LMT HMT EET EEST|-1D.N -1D.N -20 -30|01232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-3H0ND.N 1Iu00 OULD.N 1dA0 1xGq0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|12e5","Europe/Kaliningrad|LMT CET CEST EET EEST MSK MSD +03|-1m -10 -20 -20 -30 -30 -40 -30|012121212121212343565656565656565654343434343434343434343434343434343434343434373|-36Rdm UbXm 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 390 7A0 1en0 12N0 1pbb0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|44e4","Europe/Kiev|LMT KMT EET MSK CEST CET MSD EEST|-22.4 -22.4 -20 -30 -20 -10 -40 -30|01234545363636363636363636367272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272|-3D8O2.4 1LUM0 eUo2.4 rnz0 2Hg0 WM0 1fA0 da0 1v4m0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 Db0 3220 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o10 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|34e5","Europe/Kirov|LMT +03 +04 +05 MSD MSK MSK|-3i.M -30 -40 -50 -40 -30 -40|0123232323232323232454524545454545454545454545454545454545454565|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 2pz0 1cN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|48e4","Europe/Lisbon|LMT WET WEST WEMT CET CEST|A.J 0 -10 -20 -10 -20|01212121212121212121212121212121212121212121232123212321232121212121212121212121212121212121212121214121212121212121212121212121212124545454212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2le00 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 pvy0 1cM0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|27e5","Europe/Madrid|LMT WET WEST WEMT CET CEST|e.I 0 -10 -20 -10 -20|0121212121212121212321454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-2M0M0 G5z0 19B0 1cL0 1dd0 b1z0 18p0 3HX0 17d0 1fz0 1a10 1io0 1a00 1in0 17d0 iIn0 Hd0 1cL0 bb0 1200 2s20 14n0 5aL0 Mp0 1vz0 17d0 1in0 17d0 1in0 17d0 1in0 17d0 6hX0 11B0 XHX0 1a10 1fz0 1a10 19X0 1cN0 1fz0 1a10 1fC0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|62e5","Europe/Malta|LMT CET CEST|-W.4 -10 -20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-35rcW.4 SXzW.4 Lz0 1cN0 1db0 1410 1on0 Wp0 1qL0 17d0 1cL0 M3B0 5M20 WM0 1fA0 1co0 17c0 1iM0 16m0 1de0 1lc0 14m0 1lc0 WO0 1qM0 GTW0 On0 1C10 LA0 1C00 LA0 1EM0 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1co0 1cM0 1lA0 Xc0 1qq0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1iN0 19z0 1fB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|42e4","Europe/Minsk|LMT MMT EET MSK CEST CET MSD EEST +03|-1O.g -1O -20 -30 -20 -10 -40 -30 -30|012345454363636363636363636372727272727272727272727272727272727272728|-3D8NO.g 1LUM0.g eUnO qNX0 3gQ0 WM0 1fA0 1cM0 Al0 1tsn0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 3Fc0 1cN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0|19e5","Europe/Paris|LMT PMT WET WEST CEST CET WEMT|-9.l -9.l 0 -10 -20 -10 -20|01232323232323232323232323232323232323232323232323234545463654545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545|-3bQ09.l MDA0 cNb9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 1u00 10o0 1io0 1wo0 Rc0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Df0 Ik0 5M30 WM0 1fA0 1cM0 Vx0 hB0 1aq0 16M0 1ekn0 1cL0 1fC0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|11e6","Europe/Moscow|LMT MMT MMT MST MDST MSD MSK +05 EET EEST MSK|-2u.h -2u.h -2v.j -3v.j -4v.j -40 -30 -50 -20 -30 -40|01232434565756865656565656565656565698656565656565656565656565656565656565656a6|-3D8Ou.h 1sQM0 2pyW.W 1bA0 11X0 GN0 1Hb0 c4v.j ik0 3DA0 dz0 15A0 c10 2q10 iM10 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|16e6","Europe/Riga|LMT RMT LST EET MSK CEST CET MSD EEST|-1A.y -1A.y -2A.y -20 -30 -20 -10 -40 -30|0121213456565647474747474747474838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383|-3D8NA.y 1xde0 11A0 1iM0 ko0 gWm0 yDXA.y 2bX0 3fE0 WM0 1fA0 1cM0 1cM0 4m0 1sLy0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 1o00 11A0 1o00 11A0 1qM0 3oo0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|64e4","Europe/Rome|LMT RMT CET CEST|-N.U -N.U -10 -20|012323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-4aU0N.U 15snN.U T000 Lz0 1cN0 1db0 1410 1on0 Wp0 1qL0 17d0 1cL0 M3B0 5M20 WM0 1fA0 1cM0 16M0 1iM0 16m0 1de0 1lc0 14m0 1lc0 WO0 1qM0 GTW0 On0 1C10 LA0 1C00 LA0 1EM0 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1C00 LA0 1zc0 Oo0 1C00 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1zc0 Oo0 1fC0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|39e5","Europe/Samara|LMT +03 +04 +05|-3k.k -30 -40 -50|0123232323232323232121232323232323232323232323232323232323212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 2y10 14m0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|12e5","Europe/Saratov|LMT +03 +04 +05|-34.i -30 -40 -50|012323232323232321212121212121212121212121212121212121212121212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1cM0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 5810|","Europe/Simferopol|LMT SMT EET MSK CEST CET MSD EEST MSK|-2g.o -2g -20 -30 -20 -10 -40 -30 -40|0123454543636363636363636363272727636363727272727272727272727272727272727283|-3D8Og.o 1LUM0.o eUog rEn0 2qs0 WM0 1fA0 1cM0 3V0 1u0L0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Q00 4eN0 1cM0 1cM0 1cM0 1cM0 dV0 WO0 1cM0 1cM0 1fy0 1o30 11B0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11z0 1nW0|33e4","Europe/Sofia|LMT IMT EET CET CEST EEST|-1x.g -1U.U -20 -10 -20 -30|0123434325252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-3D8Nx.g AiLA.k 1UFeU.U WM0 1fA0 1cM0 1cM0 1cN0 1mKH0 1dd0 1fb0 1ap0 1fb0 1a20 1fy0 1a30 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|12e5","Europe/Tallinn|LMT TMT CET CEST EET MSK MSD EEST|-1D -1D -10 -20 -20 -30 -40 -30|0123214532323565656565656565657474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474|-3D8ND 1wI00 teD 11A0 1Ta0 4rXl KSLD 2FX0 2Jg0 WM0 1fA0 1cM0 18J0 1sTX0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o10 11A0 1qM0 5QM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|41e4","Europe/Tirane|LMT CET CEST|-1j.k -10 -20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glBj.k 14pcj.k 5LC0 WM0 4M0 1fCK0 10n0 1op0 11z0 1pd0 11z0 1qN0 WL0 1qp0 Xb0 1qp0 Xb0 1qp0 11z0 1lB0 11z0 1qN0 11z0 1iN0 16n0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|42e4","Europe/Ulyanovsk|LMT +03 +04 +05 +02|-3d.A -30 -40 -50 -20|01232323232323232321214121212121212121212121212121212121212121212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|13e5","Europe/Vienna|LMT CET CEST|-15.l -10 -20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-36Rd5.l UbX5.l 11d0 1iO0 11A0 1o00 11A0 3KM0 14o0 LA00 6i00 WM0 1fA0 1cM0 1cM0 1cM0 400 2qM0 1ao0 1co0 1cM0 1io0 17c0 1gHa0 19X0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|18e5","Europe/Vilnius|LMT WMT KMT CET EET MSK CEST MSD EEST|-1F.g -1o -1z.A -10 -20 -30 -20 -40 -30|0123435636365757575757575757584848484848484848463648484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484|-3D8NF.g 1u5Ah.g 6ILM.o 1Ooz.A zz0 Mfd0 29W0 3is0 WM0 1fA0 1cM0 LV0 1tgL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11B0 1o00 11A0 1qM0 8io0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|54e4","Europe/Volgograd|LMT +03 +04 +05 MSD MSK MSK|-2V.E -30 -40 -50 -40 -30 -40|012323232323232324545452454545454545454545454545454545454545456525|-21IqV.E psLV.E 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1cM0 1fA0 1cM0 2pz0 1cN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 9Jd0 5gn0|10e5","Europe/Warsaw|LMT WMT CET CEST EET EEST|-1o -1o -10 -20 -20 -30|0123232345423232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-3D8No 1qDA0 1LXo 11d0 1iO0 11A0 1o00 11A0 1on0 11A0 6zy0 HWP0 5IM0 WM0 1fA0 1cM0 1dz0 1mL0 1en0 15B0 1aq0 1nA0 11A0 1io0 17c0 1fA0 1a00 iDX0 LA0 1cM0 1cM0 1C00 Oo0 1cM0 1cM0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1C00 LA0 uso0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|17e5","HST|HST|a0|0||","Indian/Chagos|LMT +05 +06|-4N.E -50 -60|012|-2xosN.E 3AGLN.E|30e2","Indian/Maldives|LMT MMT +05|-4S -4S -50|012|-3D8QS 3eLA0|35e4","Indian/Mauritius|LMT +04 +05|-3O -40 -50|012121|-2xorO 34unO 14L0 12kr0 11z0|15e4","Pacific/Kwajalein|LMT +11 +10 +09 -12 +12|-b9.k -b0 -a0 -90 c0 -c0|0123145|-2M0X9.k 1rDA9.k akp0 6Up0 12ry0 Wan0|14e3","MET|MET MEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|","MST|MST|70|0||","MST7MDT|MST MDT MWT MPT|70 60 60 60|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","Pacific/Chatham|LMT +1215 +1245 +1345|-cd.M -cf -cJ -dJ|0123232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-46jMd.M 37RbW.M 1adef IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00|600","Pacific/Apia|LMT LMT -1130 -11 -10 +14 +13|-cx.4 bq.U bu b0 a0 -e0 -d0|012343456565656565656565656|-38Fox.4 J1A0 1yW03.4 2rRbu 1ff0 1a00 CI0 AQ0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0|37e3","Pacific/Bougainville|LMT PMMT +10 +09 +11|-am.g -9M.w -a0 -90 -b0|012324|-3D8Wm.g AvAx.I 1TCLM.w 7CN0 2MQp0|18e4","Pacific/Efate|LMT +11 +12|-bd.g -b0 -c0|012121212121212121212121|-2l9nd.g 2uNXd.g Dc0 n610 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 Lz0 1Nd0 An0|66e3","Pacific/Enderbury|-00 -12 -11 +13|0 c0 b0 -d0|0123|-1iIo0 1GsA0 B7X0|1","Pacific/Fakaofo|LMT -11 +13|bo.U b0 -d0|012|-2M0Az.4 4ufXz.4|483","Pacific/Fiji|LMT +12 +13|-bT.I -c0 -d0|012121212121212121212121212121|-2bUzT.I 3m8NT.I LA0 1EM0 IM0 nJc0 LA0 1o00 Rc0 1wo0 Ao0 1Nc0 Ao0 1Q00 xz0 1SN0 uM0 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 s00 20o0 pc0 2hc0 bc0|88e4","Pacific/Tarawa|LMT +12|-bw.4 -c0|01|-2M0Xw.4|29e3","Pacific/Galapagos|LMT -05 -06|5W.o 50 60|01212|-1yVS1.A 2dTz1.A gNd0 rz0|25e3","Pacific/Gambier|LMT -09|8X.M 90|01|-2jof0.c|125","Pacific/Guadalcanal|LMT +11|-aD.M -b0|01|-2joyD.M|11e4","Pacific/Guam|LMT LMT GST +09 GDT ChST|el -9D -a0 -90 -b0 -a0|0123242424242424242425|-54m9D 2glc0 1DFbD 6pB0 AhB0 3QL0 g2p0 3p91 WOX rX0 1zd0 Rb0 1wp0 Rb0 5xd0 rX0 5sN0 zb1 1C0X On0 ULb0|17e4","Pacific/Honolulu|LMT HST HDT HWT HPT HST|av.q au 9u 9u 9u a0|01213415|-3061s.y 1uMdW.y 8x0 lef0 8wWu iAu 46p0|37e4","Pacific/Kiritimati|LMT -1040 -10 +14|at.k aE a0 -e0|0123|-2M0Bu.E 3bIMa.E B7Xk|51e2","Pacific/Kosrae|LMT LMT +11 +09 +10 +12|d8.4 -aP.U -b0 -90 -a0 -c0|0123243252|-54maP.U 2glc0 xsnP.U axC0 HBy0 akp0 axd0 WOK0 1bdz0|66e2","Pacific/Marquesas|LMT -0930|9i 9u|01|-2joeG|86e2","Pacific/Pago_Pago|LMT LMT SST|-cB.c bm.M b0|012|-38FoB.c J1A0|37e2","Pacific/Nauru|LMT +1130 +09 +12|-b7.E -bu -90 -c0|01213|-1Xdn7.E QCnB.E 7mqu 1lnbu|10e3","Pacific/Niue|LMT -1120 -11|bj.E bk b0|012|-FScE.k suo0.k|12e2","Pacific/Norfolk|LMT +1112 +1130 +1230 +11 +12|-bb.Q -bc -bu -cu -b0 -c0|0123245454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545|-2M0Xb.Q 21ILX.Q W01G Oo0 1COo0 9Jcu 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0|25e4","Pacific/Noumea|LMT +11 +12|-b5.M -b0 -c0|01212121|-2l9n5.M 2EqM5.M xX0 1PB0 yn0 HeP0 Ao0|98e3","Pacific/Palau|LMT LMT +09|f2.4 -8V.U -90|012|-54m8V.U 2glc0|21e3","Pacific/Pitcairn|LMT -0830 -08|8E.k 8u 80|012|-2M0Dj.E 3UVXN.E|56","Pacific/Rarotonga|LMT LMT -1030 -0930 -10|-dk.U aD.4 au 9u a0|01234343434343434343434343434|-2Otpk.U 28zc0 13tbO.U IL0 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu|13e3","Pacific/Tahiti|LMT -10|9W.g a0|01|-2joe1.I|18e4","Pacific/Tongatapu|LMT +1220 +13 +14|-cj.c -ck -d0 -e0|01232323232|-XbMj.c BgLX.c 1yndk 15A0 1wo0 xz0 1Q10 xz0 zWN0 s00|75e3","PST8PDT|PST PDT PWT PPT|80 70 70 70|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261q0 1nX0 11B0 1nX0 SgN0 8x10 iy0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","WET|WET WEST|0 -10|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|"],"links":["Africa/Abidjan|Africa/Accra","Africa/Abidjan|Africa/Bamako","Africa/Abidjan|Africa/Banjul","Africa/Abidjan|Africa/Conakry","Africa/Abidjan|Africa/Dakar","Africa/Abidjan|Africa/Freetown","Africa/Abidjan|Africa/Lome","Africa/Abidjan|Africa/Nouakchott","Africa/Abidjan|Africa/Ouagadougou","Africa/Abidjan|Africa/Timbuktu","Africa/Abidjan|Atlantic/Reykjavik","Africa/Abidjan|Atlantic/St_Helena","Africa/Abidjan|Iceland","Africa/Cairo|Egypt","Africa/Johannesburg|Africa/Maseru","Africa/Johannesburg|Africa/Mbabane","Africa/Lagos|Africa/Bangui","Africa/Lagos|Africa/Brazzaville","Africa/Lagos|Africa/Douala","Africa/Lagos|Africa/Kinshasa","Africa/Lagos|Africa/Libreville","Africa/Lagos|Africa/Luanda","Africa/Lagos|Africa/Malabo","Africa/Lagos|Africa/Niamey","Africa/Lagos|Africa/Porto-Novo","Africa/Maputo|Africa/Blantyre","Africa/Maputo|Africa/Bujumbura","Africa/Maputo|Africa/Gaborone","Africa/Maputo|Africa/Harare","Africa/Maputo|Africa/Kigali","Africa/Maputo|Africa/Lubumbashi","Africa/Maputo|Africa/Lusaka","Africa/Nairobi|Africa/Addis_Ababa","Africa/Nairobi|Africa/Asmara","Africa/Nairobi|Africa/Asmera","Africa/Nairobi|Africa/Dar_es_Salaam","Africa/Nairobi|Africa/Djibouti","Africa/Nairobi|Africa/Kampala","Africa/Nairobi|Africa/Mogadishu","Africa/Nairobi|Indian/Antananarivo","Africa/Nairobi|Indian/Comoro","Africa/Nairobi|Indian/Mayotte","Africa/Tripoli|Libya","America/Adak|America/Atka","America/Adak|US/Aleutian","America/Anchorage|US/Alaska","America/Argentina/Buenos_Aires|America/Buenos_Aires","America/Argentina/Catamarca|America/Argentina/ComodRivadavia","America/Argentina/Catamarca|America/Catamarca","America/Argentina/Cordoba|America/Cordoba","America/Argentina/Cordoba|America/Rosario","America/Argentina/Jujuy|America/Jujuy","America/Argentina/Mendoza|America/Mendoza","America/Chicago|US/Central","America/Denver|America/Shiprock","America/Denver|Navajo","America/Denver|US/Mountain","America/Detroit|US/Michigan","America/Edmonton|America/Yellowknife","America/Edmonton|Canada/Mountain","America/Fort_Wayne|America/Indiana/Indianapolis","America/Fort_Wayne|America/Indianapolis","America/Fort_Wayne|US/East-Indiana","America/Godthab|America/Nuuk","America/Halifax|Canada/Atlantic","America/Havana|Cuba","America/Indiana/Knox|America/Knox_IN","America/Indiana/Knox|US/Indiana-Starke","America/Iqaluit|America/Pangnirtung","America/Jamaica|Jamaica","America/Kentucky/Louisville|America/Louisville","America/Los_Angeles|US/Pacific","America/Manaus|Brazil/West","America/Mazatlan|Mexico/BajaSur","America/Mexico_City|Mexico/General","America/New_York|US/Eastern","America/Noronha|Brazil/DeNoronha","America/Panama|America/Atikokan","America/Panama|America/Cayman","America/Panama|America/Coral_Harbour","America/Phoenix|America/Creston","America/Phoenix|US/Arizona","America/Puerto_Rico|America/Anguilla","America/Puerto_Rico|America/Antigua","America/Puerto_Rico|America/Aruba","America/Puerto_Rico|America/Blanc-Sablon","America/Puerto_Rico|America/Curacao","America/Puerto_Rico|America/Dominica","America/Puerto_Rico|America/Grenada","America/Puerto_Rico|America/Guadeloupe","America/Puerto_Rico|America/Kralendijk","America/Puerto_Rico|America/Lower_Princes","America/Puerto_Rico|America/Marigot","America/Puerto_Rico|America/Montserrat","America/Puerto_Rico|America/Port_of_Spain","America/Puerto_Rico|America/St_Barthelemy","America/Puerto_Rico|America/St_Kitts","America/Puerto_Rico|America/St_Lucia","America/Puerto_Rico|America/St_Thomas","America/Puerto_Rico|America/St_Vincent","America/Puerto_Rico|America/Tortola","America/Puerto_Rico|America/Virgin","America/Regina|Canada/Saskatchewan","America/Rio_Branco|America/Porto_Acre","America/Rio_Branco|Brazil/Acre","America/Santiago|Chile/Continental","America/Sao_Paulo|Brazil/East","America/St_Johns|Canada/Newfoundland","America/Tijuana|America/Ensenada","America/Tijuana|America/Santa_Isabel","America/Tijuana|Mexico/BajaNorte","America/Toronto|America/Montreal","America/Toronto|America/Nassau","America/Toronto|America/Nipigon","America/Toronto|America/Thunder_Bay","America/Toronto|Canada/Eastern","America/Vancouver|Canada/Pacific","America/Whitehorse|Canada/Yukon","America/Winnipeg|America/Rainy_River","America/Winnipeg|Canada/Central","Asia/Ashgabat|Asia/Ashkhabad","Asia/Bangkok|Asia/Phnom_Penh","Asia/Bangkok|Asia/Vientiane","Asia/Bangkok|Indian/Christmas","Asia/Brunei|Asia/Kuching","Asia/Dhaka|Asia/Dacca","Asia/Dubai|Asia/Muscat","Asia/Dubai|Indian/Mahe","Asia/Dubai|Indian/Reunion","Asia/Ho_Chi_Minh|Asia/Saigon","Asia/Hong_Kong|Hongkong","Asia/Jerusalem|Asia/Tel_Aviv","Asia/Jerusalem|Israel","Asia/Kathmandu|Asia/Katmandu","Asia/Kolkata|Asia/Calcutta","Asia/Kuala_Lumpur|Asia/Singapore","Asia/Kuala_Lumpur|Singapore","Asia/Macau|Asia/Macao","Asia/Makassar|Asia/Ujung_Pandang","Asia/Nicosia|Europe/Nicosia","Asia/Qatar|Asia/Bahrain","Asia/Rangoon|Asia/Yangon","Asia/Rangoon|Indian/Cocos","Asia/Riyadh|Antarctica/Syowa","Asia/Riyadh|Asia/Aden","Asia/Riyadh|Asia/Kuwait","Asia/Seoul|ROK","Asia/Shanghai|Asia/Chongqing","Asia/Shanghai|Asia/Chungking","Asia/Shanghai|Asia/Harbin","Asia/Shanghai|PRC","Asia/Taipei|ROC","Asia/Tehran|Iran","Asia/Thimphu|Asia/Thimbu","Asia/Tokyo|Japan","Asia/Ulaanbaatar|Asia/Ulan_Bator","Asia/Urumqi|Antarctica/Vostok","Asia/Urumqi|Asia/Kashgar","Atlantic/Faroe|Atlantic/Faeroe","Australia/Adelaide|Australia/South","Australia/Brisbane|Australia/Queensland","Australia/Broken_Hill|Australia/Yancowinna","Australia/Darwin|Australia/North","Australia/Hobart|Australia/Currie","Australia/Hobart|Australia/Tasmania","Australia/Lord_Howe|Australia/LHI","Australia/Melbourne|Australia/Victoria","Australia/Perth|Australia/West","Australia/Sydney|Australia/ACT","Australia/Sydney|Australia/Canberra","Australia/Sydney|Australia/NSW","Etc/GMT-0|Etc/GMT","Etc/GMT-0|Etc/GMT+0","Etc/GMT-0|Etc/GMT0","Etc/GMT-0|Etc/Greenwich","Etc/GMT-0|GMT","Etc/GMT-0|GMT+0","Etc/GMT-0|GMT-0","Etc/GMT-0|GMT0","Etc/GMT-0|Greenwich","Etc/UTC|Etc/UCT","Etc/UTC|Etc/Universal","Etc/UTC|Etc/Zulu","Etc/UTC|UCT","Etc/UTC|UTC","Etc/UTC|Universal","Etc/UTC|Zulu","Europe/Belgrade|Europe/Ljubljana","Europe/Belgrade|Europe/Podgorica","Europe/Belgrade|Europe/Sarajevo","Europe/Belgrade|Europe/Skopje","Europe/Belgrade|Europe/Zagreb","Europe/Berlin|Arctic/Longyearbyen","Europe/Berlin|Atlantic/Jan_Mayen","Europe/Berlin|Europe/Copenhagen","Europe/Berlin|Europe/Oslo","Europe/Berlin|Europe/Stockholm","Europe/Brussels|Europe/Amsterdam","Europe/Brussels|Europe/Luxembourg","Europe/Chisinau|Europe/Tiraspol","Europe/Dublin|Eire","Europe/Helsinki|Europe/Mariehamn","Europe/Istanbul|Asia/Istanbul","Europe/Istanbul|Turkey","Europe/Kiev|Europe/Kyiv","Europe/Kiev|Europe/Uzhgorod","Europe/Kiev|Europe/Zaporozhye","Europe/Lisbon|Portugal","Europe/London|Europe/Belfast","Europe/London|Europe/Guernsey","Europe/London|Europe/Isle_of_Man","Europe/London|Europe/Jersey","Europe/London|GB","Europe/London|GB-Eire","Europe/Moscow|W-SU","Europe/Paris|Europe/Monaco","Europe/Prague|Europe/Bratislava","Europe/Rome|Europe/San_Marino","Europe/Rome|Europe/Vatican","Europe/Warsaw|Poland","Europe/Zurich|Europe/Busingen","Europe/Zurich|Europe/Vaduz","Indian/Maldives|Indian/Kerguelen","Pacific/Auckland|Antarctica/McMurdo","Pacific/Auckland|Antarctica/South_Pole","Pacific/Auckland|NZ","Pacific/Chatham|NZ-CHAT","Pacific/Easter|Chile/EasterIsland","Pacific/Enderbury|Pacific/Kanton","Pacific/Guadalcanal|Pacific/Pohnpei","Pacific/Guadalcanal|Pacific/Ponape","Pacific/Guam|Pacific/Saipan","Pacific/Honolulu|Pacific/Johnston","Pacific/Honolulu|US/Hawaii","Pacific/Kwajalein|Kwajalein","Pacific/Pago_Pago|Pacific/Midway","Pacific/Pago_Pago|Pacific/Samoa","Pacific/Pago_Pago|US/Samoa","Pacific/Port_Moresby|Antarctica/DumontDUrville","Pacific/Port_Moresby|Pacific/Chuuk","Pacific/Port_Moresby|Pacific/Truk","Pacific/Port_Moresby|Pacific/Yap","Pacific/Tarawa|Pacific/Funafuti","Pacific/Tarawa|Pacific/Majuro","Pacific/Tarawa|Pacific/Wake","Pacific/Tarawa|Pacific/Wallis"],"countries":["AD|Europe/Andorra","AE|Asia/Dubai","AF|Asia/Kabul","AG|America/Puerto_Rico America/Antigua","AI|America/Puerto_Rico America/Anguilla","AL|Europe/Tirane","AM|Asia/Yerevan","AO|Africa/Lagos Africa/Luanda","AQ|Antarctica/Casey Antarctica/Davis Antarctica/Mawson Antarctica/Palmer Antarctica/Rothera Antarctica/Troll Asia/Urumqi Pacific/Auckland Pacific/Port_Moresby Asia/Riyadh Antarctica/McMurdo Antarctica/DumontDUrville Antarctica/Syowa Antarctica/Vostok","AR|America/Argentina/Buenos_Aires America/Argentina/Cordoba America/Argentina/Salta America/Argentina/Jujuy America/Argentina/Tucuman America/Argentina/Catamarca America/Argentina/La_Rioja America/Argentina/San_Juan America/Argentina/Mendoza America/Argentina/San_Luis America/Argentina/Rio_Gallegos America/Argentina/Ushuaia","AS|Pacific/Pago_Pago","AT|Europe/Vienna","AU|Australia/Lord_Howe Antarctica/Macquarie Australia/Hobart Australia/Melbourne Australia/Sydney Australia/Broken_Hill Australia/Brisbane Australia/Lindeman Australia/Adelaide Australia/Darwin Australia/Perth Australia/Eucla","AW|America/Puerto_Rico America/Aruba","AX|Europe/Helsinki Europe/Mariehamn","AZ|Asia/Baku","BA|Europe/Belgrade Europe/Sarajevo","BB|America/Barbados","BD|Asia/Dhaka","BE|Europe/Brussels","BF|Africa/Abidjan Africa/Ouagadougou","BG|Europe/Sofia","BH|Asia/Qatar Asia/Bahrain","BI|Africa/Maputo Africa/Bujumbura","BJ|Africa/Lagos Africa/Porto-Novo","BL|America/Puerto_Rico America/St_Barthelemy","BM|Atlantic/Bermuda","BN|Asia/Kuching Asia/Brunei","BO|America/La_Paz","BQ|America/Puerto_Rico America/Kralendijk","BR|America/Noronha America/Belem America/Fortaleza America/Recife America/Araguaina America/Maceio America/Bahia America/Sao_Paulo America/Campo_Grande America/Cuiaba America/Santarem America/Porto_Velho America/Boa_Vista America/Manaus America/Eirunepe America/Rio_Branco","BS|America/Toronto America/Nassau","BT|Asia/Thimphu","BW|Africa/Maputo Africa/Gaborone","BY|Europe/Minsk","BZ|America/Belize","CA|America/St_Johns America/Halifax America/Glace_Bay America/Moncton America/Goose_Bay America/Toronto America/Iqaluit America/Winnipeg America/Resolute America/Rankin_Inlet America/Regina America/Swift_Current America/Edmonton America/Cambridge_Bay America/Inuvik America/Dawson_Creek America/Fort_Nelson America/Whitehorse America/Dawson America/Vancouver America/Panama America/Puerto_Rico America/Phoenix America/Blanc-Sablon America/Atikokan America/Creston","CC|Asia/Yangon Indian/Cocos","CD|Africa/Maputo Africa/Lagos Africa/Kinshasa Africa/Lubumbashi","CF|Africa/Lagos Africa/Bangui","CG|Africa/Lagos Africa/Brazzaville","CH|Europe/Zurich","CI|Africa/Abidjan","CK|Pacific/Rarotonga","CL|America/Santiago America/Punta_Arenas Pacific/Easter","CM|Africa/Lagos Africa/Douala","CN|Asia/Shanghai Asia/Urumqi","CO|America/Bogota","CR|America/Costa_Rica","CU|America/Havana","CV|Atlantic/Cape_Verde","CW|America/Puerto_Rico America/Curacao","CX|Asia/Bangkok Indian/Christmas","CY|Asia/Nicosia Asia/Famagusta","CZ|Europe/Prague","DE|Europe/Zurich Europe/Berlin Europe/Busingen","DJ|Africa/Nairobi Africa/Djibouti","DK|Europe/Berlin Europe/Copenhagen","DM|America/Puerto_Rico America/Dominica","DO|America/Santo_Domingo","DZ|Africa/Algiers","EC|America/Guayaquil Pacific/Galapagos","EE|Europe/Tallinn","EG|Africa/Cairo","EH|Africa/El_Aaiun","ER|Africa/Nairobi Africa/Asmara","ES|Europe/Madrid Africa/Ceuta Atlantic/Canary","ET|Africa/Nairobi Africa/Addis_Ababa","FI|Europe/Helsinki","FJ|Pacific/Fiji","FK|Atlantic/Stanley","FM|Pacific/Kosrae Pacific/Port_Moresby Pacific/Guadalcanal Pacific/Chuuk Pacific/Pohnpei","FO|Atlantic/Faroe","FR|Europe/Paris","GA|Africa/Lagos Africa/Libreville","GB|Europe/London","GD|America/Puerto_Rico America/Grenada","GE|Asia/Tbilisi","GF|America/Cayenne","GG|Europe/London Europe/Guernsey","GH|Africa/Abidjan Africa/Accra","GI|Europe/Gibraltar","GL|America/Nuuk America/Danmarkshavn America/Scoresbysund America/Thule","GM|Africa/Abidjan Africa/Banjul","GN|Africa/Abidjan Africa/Conakry","GP|America/Puerto_Rico America/Guadeloupe","GQ|Africa/Lagos Africa/Malabo","GR|Europe/Athens","GS|Atlantic/South_Georgia","GT|America/Guatemala","GU|Pacific/Guam","GW|Africa/Bissau","GY|America/Guyana","HK|Asia/Hong_Kong","HN|America/Tegucigalpa","HR|Europe/Belgrade Europe/Zagreb","HT|America/Port-au-Prince","HU|Europe/Budapest","ID|Asia/Jakarta Asia/Pontianak Asia/Makassar Asia/Jayapura","IE|Europe/Dublin","IL|Asia/Jerusalem","IM|Europe/London Europe/Isle_of_Man","IN|Asia/Kolkata","IO|Indian/Chagos","IQ|Asia/Baghdad","IR|Asia/Tehran","IS|Africa/Abidjan Atlantic/Reykjavik","IT|Europe/Rome","JE|Europe/London Europe/Jersey","JM|America/Jamaica","JO|Asia/Amman","JP|Asia/Tokyo","KE|Africa/Nairobi","KG|Asia/Bishkek","KH|Asia/Bangkok Asia/Phnom_Penh","KI|Pacific/Tarawa Pacific/Kanton Pacific/Kiritimati","KM|Africa/Nairobi Indian/Comoro","KN|America/Puerto_Rico America/St_Kitts","KP|Asia/Pyongyang","KR|Asia/Seoul","KW|Asia/Riyadh Asia/Kuwait","KY|America/Panama America/Cayman","KZ|Asia/Almaty Asia/Qyzylorda Asia/Qostanay Asia/Aqtobe Asia/Aqtau Asia/Atyrau Asia/Oral","LA|Asia/Bangkok Asia/Vientiane","LB|Asia/Beirut","LC|America/Puerto_Rico America/St_Lucia","LI|Europe/Zurich Europe/Vaduz","LK|Asia/Colombo","LR|Africa/Monrovia","LS|Africa/Johannesburg Africa/Maseru","LT|Europe/Vilnius","LU|Europe/Brussels Europe/Luxembourg","LV|Europe/Riga","LY|Africa/Tripoli","MA|Africa/Casablanca","MC|Europe/Paris Europe/Monaco","MD|Europe/Chisinau","ME|Europe/Belgrade Europe/Podgorica","MF|America/Puerto_Rico America/Marigot","MG|Africa/Nairobi Indian/Antananarivo","MH|Pacific/Tarawa Pacific/Kwajalein Pacific/Majuro","MK|Europe/Belgrade Europe/Skopje","ML|Africa/Abidjan Africa/Bamako","MM|Asia/Yangon","MN|Asia/Ulaanbaatar Asia/Hovd Asia/Choibalsan","MO|Asia/Macau","MP|Pacific/Guam Pacific/Saipan","MQ|America/Martinique","MR|Africa/Abidjan Africa/Nouakchott","MS|America/Puerto_Rico America/Montserrat","MT|Europe/Malta","MU|Indian/Mauritius","MV|Indian/Maldives","MW|Africa/Maputo Africa/Blantyre","MX|America/Mexico_City America/Cancun America/Merida America/Monterrey America/Matamoros America/Chihuahua America/Ciudad_Juarez America/Ojinaga America/Mazatlan America/Bahia_Banderas America/Hermosillo America/Tijuana","MY|Asia/Kuching Asia/Singapore Asia/Kuala_Lumpur","MZ|Africa/Maputo","NA|Africa/Windhoek","NC|Pacific/Noumea","NE|Africa/Lagos Africa/Niamey","NF|Pacific/Norfolk","NG|Africa/Lagos","NI|America/Managua","NL|Europe/Brussels Europe/Amsterdam","NO|Europe/Berlin Europe/Oslo","NP|Asia/Kathmandu","NR|Pacific/Nauru","NU|Pacific/Niue","NZ|Pacific/Auckland Pacific/Chatham","OM|Asia/Dubai Asia/Muscat","PA|America/Panama","PE|America/Lima","PF|Pacific/Tahiti Pacific/Marquesas Pacific/Gambier","PG|Pacific/Port_Moresby Pacific/Bougainville","PH|Asia/Manila","PK|Asia/Karachi","PL|Europe/Warsaw","PM|America/Miquelon","PN|Pacific/Pitcairn","PR|America/Puerto_Rico","PS|Asia/Gaza Asia/Hebron","PT|Europe/Lisbon Atlantic/Madeira Atlantic/Azores","PW|Pacific/Palau","PY|America/Asuncion","QA|Asia/Qatar","RE|Asia/Dubai Indian/Reunion","RO|Europe/Bucharest","RS|Europe/Belgrade","RU|Europe/Kaliningrad Europe/Moscow Europe/Simferopol Europe/Kirov Europe/Volgograd Europe/Astrakhan Europe/Saratov Europe/Ulyanovsk Europe/Samara Asia/Yekaterinburg Asia/Omsk Asia/Novosibirsk Asia/Barnaul Asia/Tomsk Asia/Novokuznetsk Asia/Krasnoyarsk Asia/Irkutsk Asia/Chita Asia/Yakutsk Asia/Khandyga Asia/Vladivostok Asia/Ust-Nera Asia/Magadan Asia/Sakhalin Asia/Srednekolymsk Asia/Kamchatka Asia/Anadyr","RW|Africa/Maputo Africa/Kigali","SA|Asia/Riyadh","SB|Pacific/Guadalcanal","SC|Asia/Dubai Indian/Mahe","SD|Africa/Khartoum","SE|Europe/Berlin Europe/Stockholm","SG|Asia/Singapore","SH|Africa/Abidjan Atlantic/St_Helena","SI|Europe/Belgrade Europe/Ljubljana","SJ|Europe/Berlin Arctic/Longyearbyen","SK|Europe/Prague Europe/Bratislava","SL|Africa/Abidjan Africa/Freetown","SM|Europe/Rome Europe/San_Marino","SN|Africa/Abidjan Africa/Dakar","SO|Africa/Nairobi Africa/Mogadishu","SR|America/Paramaribo","SS|Africa/Juba","ST|Africa/Sao_Tome","SV|America/El_Salvador","SX|America/Puerto_Rico America/Lower_Princes","SY|Asia/Damascus","SZ|Africa/Johannesburg Africa/Mbabane","TC|America/Grand_Turk","TD|Africa/Ndjamena","TF|Asia/Dubai Indian/Maldives Indian/Kerguelen","TG|Africa/Abidjan Africa/Lome","TH|Asia/Bangkok","TJ|Asia/Dushanbe","TK|Pacific/Fakaofo","TL|Asia/Dili","TM|Asia/Ashgabat","TN|Africa/Tunis","TO|Pacific/Tongatapu","TR|Europe/Istanbul","TT|America/Puerto_Rico America/Port_of_Spain","TV|Pacific/Tarawa Pacific/Funafuti","TW|Asia/Taipei","TZ|Africa/Nairobi Africa/Dar_es_Salaam","UA|Europe/Simferopol Europe/Kyiv","UG|Africa/Nairobi Africa/Kampala","UM|Pacific/Pago_Pago Pacific/Tarawa Pacific/Midway Pacific/Wake","US|America/New_York America/Detroit America/Kentucky/Louisville America/Kentucky/Monticello America/Indiana/Indianapolis America/Indiana/Vincennes America/Indiana/Winamac America/Indiana/Marengo America/Indiana/Petersburg America/Indiana/Vevay America/Chicago America/Indiana/Tell_City America/Indiana/Knox America/Menominee America/North_Dakota/Center America/North_Dakota/New_Salem America/North_Dakota/Beulah America/Denver America/Boise America/Phoenix America/Los_Angeles America/Anchorage America/Juneau America/Sitka America/Metlakatla America/Yakutat America/Nome America/Adak Pacific/Honolulu","UY|America/Montevideo","UZ|Asia/Samarkand Asia/Tashkent","VA|Europe/Rome Europe/Vatican","VC|America/Puerto_Rico America/St_Vincent","VE|America/Caracas","VG|America/Puerto_Rico America/Tortola","VI|America/Puerto_Rico America/St_Thomas","VN|Asia/Bangkok Asia/Ho_Chi_Minh","VU|Pacific/Efate","WF|Pacific/Tarawa Pacific/Wallis","WS|Pacific/Apia","YE|Asia/Riyadh Asia/Aden","YT|Africa/Nairobi Indian/Mayotte","ZA|Africa/Johannesburg","ZM|Africa/Maputo Africa/Lusaka","ZW|Africa/Maputo Africa/Harare"]}')}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__webpack_require__),n.loaded=!0,n.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.amdO={},__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,{a:t}),t},function(){var e,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};__webpack_require__.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"===typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"===typeof n.then)return n}var o=Object.create(null);__webpack_require__.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var a=2&r&&n;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((function(e){i[e]=function(){return n[e]}}));return i.default=function(){return n},__webpack_require__.d(o,i),o}}(),__webpack_require__.d=function(e,t){for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.f={},__webpack_require__.e=function(e){return Promise.all(Object.keys(__webpack_require__.f).reduce((function(t,n){return __webpack_require__.f[n](e,t),t}),[]))},__webpack_require__.u=function(e){return"static/js/"+e+"."+{27:"28520b25",718:"d7fbe9d8",867:"01a526f3"}[e]+".chunk.js"},__webpack_require__.miniCssF=function(e){},__webpack_require__.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),__webpack_require__.hmd=function(e){return(e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={},t="appas:";__webpack_require__.l=function(n,r,o,i){if(e[n])e[n].push(r);else{var a,s;if(void 0!==o)for(var l=document.getElementsByTagName("script"),c=0;c<l.length;c++){var u=l[c];if(u.getAttribute("src")==n||u.getAttribute("data-webpack")==t+o){a=u;break}}a||(s=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,__webpack_require__.nc&&a.setAttribute("nonce",__webpack_require__.nc),a.setAttribute("data-webpack",t+o),a.src=n),e[n]=[r];var d=function(t,r){a.onerror=a.onload=null,clearTimeout(p);var o=e[n];if(delete e[n],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach((function(e){return e(r)})),t)return t(r)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=d.bind(null,a.onerror),a.onload=d.bind(null,a.onload),s&&document.head.appendChild(a)}}}(),__webpack_require__.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},__webpack_require__.p="/",function(){var e={179:0};__webpack_require__.f.j=function(t,n){var r=__webpack_require__.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise((function(n,o){r=e[t]=[n,o]}));n.push(r[2]=o);var i=__webpack_require__.p+__webpack_require__.u(t),a=new Error;__webpack_require__.l(i,(function(n){if(__webpack_require__.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,r[1](a)}}),"chunk-"+t,t)}};var t=function(t,n){var r,o,i=n[0],a=n[1],s=n[2],l=0;if(i.some((function(t){return 0!==e[t]}))){for(r in a)__webpack_require__.o(a,r)&&(__webpack_require__.m[r]=a[r]);if(s)s(__webpack_require__)}for(t&&t(n);l<i.length;l++)o=i[l],__webpack_require__.o(e,o)&&e[o]&&e[o][0](),e[o]=0},n=self.webpackChunkappas=self.webpackChunkappas||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}();var __webpack_exports__={};!function(){"use strict";var e=__webpack_require__(47313),t=__webpack_require__.t(e,2),n=__webpack_require__(29439),r=__webpack_require__(93433),o=__webpack_require__(15671),i=__webpack_require__(43144),a=__webpack_require__(60136),s=__webpack_require__(29388),l=__webpack_require__(98737),c=__webpack_require__(83878),u=__webpack_require__(59199),d=__webpack_require__(40181),p=__webpack_require__(25267);function f(e){return(0,c.Z)(e)||(0,u.Z)(e)||(0,d.Z)(e)||(0,p.Z)()}var h,b=__webpack_require__(37762);function A(){return A=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},A.apply(this,arguments)}!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(h||(h={}));var m,g="popstate";function v(e,t){if(!1===e||null===e||"undefined"===typeof e)throw new Error(t)}function y(e,t){if(!e){"undefined"!==typeof console&&console.warn(t);try{throw new Error(t)}catch(AE){}}}function M(e,t){return{usr:e.state,key:e.key,idx:t}}function O(e,t,n,r){return void 0===n&&(n=null),A({pathname:"string"===typeof e?e:e.pathname,search:"",hash:""},"string"===typeof t?z(t):t,{state:n,key:t&&t.key||r||Math.random().toString(36).substr(2,8)})}function _(e){var t=e.pathname,n=void 0===t?"/":t,r=e.search,o=void 0===r?"":r,i=e.hash,a=void 0===i?"":i;return o&&"?"!==o&&(n+="?"===o.charAt(0)?o:"?"+o),a&&"#"!==a&&(n+="#"===a.charAt(0)?a:"#"+a),n}function z(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function x(e,t,n,r){void 0===r&&(r={});var o=r,i=o.window,a=void 0===i?document.defaultView:i,s=o.v5Compat,l=void 0!==s&&s,c=a.history,u=h.Pop,d=null,p=f();function f(){return(c.state||{idx:null}).idx}function b(){u=h.Pop;var e=f(),t=null==e?null:e-p;p=e,d&&d({action:u,location:y.location,delta:t})}function m(e){var t="null"!==a.location.origin?a.location.origin:a.location.href,n="string"===typeof e?e:_(e);return v(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==p&&(p=0,c.replaceState(A({},c.state,{idx:p}),""));var y={get action(){return u},get location(){return e(a,c)},listen:function(e){if(d)throw new Error("A history only accepts one active listener");return a.addEventListener(g,b),d=e,function(){a.removeEventListener(g,b),d=null}},createHref:function(e){return t(a,e)},createURL:m,encodeLocation:function(e){var t=m(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){u=h.Push;var r=O(y.location,e,t);n&&n(r,e);var o=M(r,p=f()+1),i=y.createHref(r);try{c.pushState(o,"",i)}catch(s){a.location.assign(i)}l&&d&&d({action:u,location:y.location,delta:1})},replace:function(e,t){u=h.Replace;var r=O(y.location,e,t);n&&n(r,e);var o=M(r,p=f()),i=y.createHref(r);c.replaceState(o,"",i),l&&d&&d({action:u,location:y.location,delta:0})},go:function(e){return c.go(e)}};return y}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(m||(m={}));new Set(["lazy","caseSensitive","path","id","index","children"]);function w(e,t,n){void 0===n&&(n="/");var r=I(("string"===typeof t?z(t):t).pathname||"/",n);if(null==r)return null;var o=C(e);!function(e){e.sort((function(e,t){return e.score!==t.score?t.score-e.score:function(e,t){var n=e.length===t.length&&e.slice(0,-1).every((function(e,n){return e===t[n]}));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((function(e){return e.childrenIndex})),t.routesMeta.map((function(e){return e.childrenIndex})))}))}(o);for(var i=null,a=0;null==i&&a<o.length;++a)i=R(o[a],P(r));return i}function C(e,t,n,r){void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===r&&(r="");var o=function(e,o,i){var a={relativePath:void 0===i?e.path||"":i,caseSensitive:!0===e.caseSensitive,childrenIndex:o,route:e};a.relativePath.startsWith("/")&&(v(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),a.relativePath=a.relativePath.slice(r.length));var s=Z([r,a.relativePath]),l=n.concat(a);e.children&&e.children.length>0&&(v(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+s+'".'),C(e.children,t,l,s)),(null!=e.path||e.index)&&t.push({path:s,score:L(s,e.index),routesMeta:l})};return e.forEach((function(e,t){var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?")){var r,i=(0,b.Z)(S(e.path));try{for(i.s();!(r=i.n()).done;){var a=r.value;o(e,t,a)}}catch(s){i.e(s)}finally{i.f()}}else o(e,t)})),t}function S(e){var t=e.split("/");if(0===t.length)return[];var n=f(t),o=n[0],i=n.slice(1),a=o.endsWith("?"),s=o.replace(/\?$/,"");if(0===i.length)return a?[s,""]:[s];var l=S(i.join("/")),c=[];return c.push.apply(c,(0,r.Z)(l.map((function(e){return""===e?s:[s,e].join("/")})))),a&&c.push.apply(c,(0,r.Z)(l)),c.map((function(t){return e.startsWith("/")&&""===t?"/":t}))}var E=/^:\w+$/,k=3,D=2,N=1,T=10,j=-2,B=function(e){return"*"===e};function L(e,t){var n=e.split("/"),r=n.length;return n.some(B)&&(r+=j),t&&(r+=D),n.filter((function(e){return!B(e)})).reduce((function(e,t){return e+(E.test(t)?k:""===t?N:T)}),r)}function R(e,t){for(var n=e.routesMeta,r={},o="/",i=[],a=0;a<n.length;++a){var s=n[a],l=a===n.length-1,c="/"===o?t:t.slice(o.length)||"/",u=q({path:s.relativePath,caseSensitive:s.caseSensitive,end:l},c);if(!u)return null;Object.assign(r,u.params);var d=s.route;i.push({params:r,pathname:Z([o,u.pathname]),pathnameBase:H(Z([o,u.pathnameBase])),route:d}),"/"!==u.pathnameBase&&(o=Z([o,u.pathnameBase]))}return i}function q(e,t){"string"===typeof e&&(e={path:e,caseSensitive:!1,end:!0});var r=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=!0);y("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');var r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(function(e,t){return r.push(t),"/([^\\/]+)"}));e.endsWith("*")?(r.push("*"),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":""!==e&&"/"!==e&&(o+="(?:(?=\\/|$))");var i=new RegExp(o,t?void 0:"i");return[i,r]}(e.path,e.caseSensitive,e.end),o=(0,n.Z)(r,2),i=o[0],a=o[1],s=t.match(i);if(!s)return null;var l=s[0],c=l.replace(/(.)\/+$/,"$1"),u=s.slice(1),d=a.reduce((function(e,t,n){if("*"===t){var r=u[n]||"";c=l.slice(0,l.length-r.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(n){return y(!1,'The value for the URL param "'+t+'" will not be decoded because the string "'+e+'" is a malformed URL segment. This is probably due to a bad percent encoding ('+n+")."),e}}(u[n]||"",t),e}),{});return{params:d,pathname:l,pathnameBase:c,pattern:e}}function P(e){try{return decodeURI(e)}catch(t){return y(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function I(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;var n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function W(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"].  Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function F(e){return e.filter((function(e,t){return 0===t||e.route.path&&e.route.path.length>0}))}function U(e,t,n,r){var o;void 0===r&&(r=!1),"string"===typeof e?o=z(e):(v(!(o=A({},e)).pathname||!o.pathname.includes("?"),W("?","pathname","search",o)),v(!o.pathname||!o.pathname.includes("#"),W("#","pathname","hash",o)),v(!o.search||!o.search.includes("#"),W("#","search","hash",o)));var i,a=""===e||""===o.pathname,s=a?"/":o.pathname;if(r||null==s)i=n;else{var l=t.length-1;if(s.startsWith("..")){for(var c=s.split("/");".."===c[0];)c.shift(),l-=1;o.pathname=c.join("/")}i=l>=0?t[l]:"/"}var u=function(e,t){void 0===t&&(t="/");var n="string"===typeof e?z(e):e,r=n.pathname,o=n.search,i=void 0===o?"":o,a=n.hash,s=void 0===a?"":a,l=r?r.startsWith("/")?r:function(e,t){var n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((function(e){".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(r,t):t;return{pathname:l,search:$(i),hash:V(s)}}(o,i),d=s&&"/"!==s&&s.endsWith("/"),p=(a||"."===s)&&n.endsWith("/");return u.pathname.endsWith("/")||!d&&!p||(u.pathname+="/"),u}var Z=function(e){return e.join("/").replace(/\/\/+/g,"/")},H=function(e){return e.replace(/\/+$/,"").replace(/^\/*/,"/")},$=function(e){return e&&"?"!==e?e.startsWith("?")?e:"?"+e:""},V=function(e){return e&&"#"!==e?e.startsWith("#")?e:"#"+e:""},X=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(){return(0,o.Z)(this,n),t.apply(this,arguments)}return(0,i.Z)(n)}((0,l.Z)(Error));function Q(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"boolean"===typeof e.internal&&"data"in e}var Y=["post","put","patch","delete"],G=(new Set(Y),["get"].concat(Y));new Set(G),new Set([301,302,303,307,308]),new Set([307,308]),"undefined"!==typeof window&&"undefined"!==typeof window.document&&window.document.createElement;Symbol("deferred");var K="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},J=e.useState,ee=e.useEffect,te=e.useLayoutEffect,ne=e.useDebugValue;function re(e){var t=e.getSnapshot,n=e.value;try{var r=t();return!K(n,r)}catch(o){return!0}}"undefined"===typeof window||"undefined"===typeof window.document||window.document.createElement,function(e){e.useSyncExternalStore}(t);var oe=e.createContext(null);var ie=e.createContext(null);var ae=e.createContext(null);var se=e.createContext(null);var le=e.createContext(null);var ce=e.createContext({outlet:null,matches:[]});var ue=e.createContext(null);function de(){return de=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},de.apply(this,arguments)}function pe(){return null!=e.useContext(le)}function fe(){return pe()||v(!1),e.useContext(le).location}function he(){pe()||v(!1);var t=e.useContext(se),n=t.basename,r=t.navigator,o=e.useContext(ce).matches,i=fe().pathname,a=JSON.stringify(F(o).map((function(e){return e.pathnameBase}))),s=e.useRef(!1);e.useEffect((function(){s.current=!0}));var l=e.useCallback((function(e,t){if(void 0===t&&(t={}),s.current)if("number"!==typeof e){var o=U(e,JSON.parse(a),i,"path"===t.relative);"/"!==n&&(o.pathname="/"===o.pathname?n:Z([n,o.pathname])),(t.replace?r.replace:r.push)(o,t.state,t)}else r.go(e)}),[n,r,a,i]);return l}var be=e.createContext(null);function Ae(){return e.useContext(be)}function me(){var t=e.useContext(ce).matches,n=t[t.length-1];return n?n.params:{}}function ge(t,n){var r=(void 0===n?{}:n).relative,o=e.useContext(ce).matches,i=fe().pathname,a=JSON.stringify(F(o).map((function(e){return e.pathnameBase})));return e.useMemo((function(){return U(t,JSON.parse(a),i,"path"===r)}),[t,a,i,r])}function ve(){var t=function(){var t,n=e.useContext(ue),r=xe(Me.UseRouteError),o=we(Me.UseRouteError);if(n)return n;return null==(t=r.errors)?void 0:t[o]}(),n=Q(t)?t.status+" "+t.statusText:t instanceof Error?t.message:JSON.stringify(t),r=t instanceof Error?t.stack:null,o="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:o};return e.createElement(e.Fragment,null,e.createElement("h2",null,"Unexpected Application Error!"),e.createElement("h3",{style:{fontStyle:"italic"}},n),r?e.createElement("pre",{style:i},r):null,null)}var ye,Me,Oe=function(t){(0,a.Z)(r,t);var n=(0,s.Z)(r);function r(e){var t;return(0,o.Z)(this,r),(t=n.call(this,e)).state={location:e.location,error:e.error},t}return(0,i.Z)(r,[{key:"componentDidCatch",value:function(e,t){console.error("React Router caught the following error during render",e,t)}},{key:"render",value:function(){return this.state.error?e.createElement(ce.Provider,{value:this.props.routeContext},e.createElement(ue.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}],[{key:"getDerivedStateFromError",value:function(e){return{error:e}}},{key:"getDerivedStateFromProps",value:function(e,t){return t.location!==e.location?{error:e.error,location:e.location}:{error:e.error||t.error,location:t.location}}}]),r}(e.Component);function _e(t){var n=t.routeContext,r=t.match,o=t.children,i=e.useContext(oe);return i&&i.static&&i.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=r.route.id),e.createElement(ce.Provider,{value:n},o)}function ze(t,n,r){if(void 0===n&&(n=[]),null==t){if(null==r||!r.errors)return null;t=r.matches}var o=t,i=null==r?void 0:r.errors;if(null!=i){var a=o.findIndex((function(e){return e.route.id&&(null==i?void 0:i[e.route.id])}));a>=0||v(!1),o=o.slice(0,Math.min(o.length,a+1))}return o.reduceRight((function(t,a,s){var l=a.route.id?null==i?void 0:i[a.route.id]:null,c=null;r&&(c=a.route.ErrorBoundary?e.createElement(a.route.ErrorBoundary,null):a.route.errorElement?a.route.errorElement:e.createElement(ve,null));var u=n.concat(o.slice(0,s+1)),d=function(){var n=t;return l?n=c:a.route.Component?n=e.createElement(a.route.Component,null):a.route.element&&(n=a.route.element),e.createElement(_e,{match:a,routeContext:{outlet:t,matches:u},children:n})};return r&&(a.route.ErrorBoundary||a.route.errorElement||0===s)?e.createElement(Oe,{location:r.location,component:c,error:l,children:d(),routeContext:{outlet:null,matches:u}}):d()}),null)}function xe(t){var n=e.useContext(ie);return n||v(!1),n}function we(t){var n=function(t){var n=e.useContext(ce);return n||v(!1),n}(),r=n.matches[n.matches.length-1];return r.route.id||v(!1),r.route.id}!function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator"}(ye||(ye={})),function(e){e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"}(Me||(Me={}));var Ce;function Se(t){var n=t.to,r=t.replace,o=t.state,i=t.relative;pe()||v(!1);var a=e.useContext(ie),s=he();return e.useEffect((function(){a&&"idle"!==a.navigation.state||s(n,{replace:r,state:o,relative:i})})),null}function Ee(t){return function(t){var n=e.useContext(ce).outlet;return n?e.createElement(be.Provider,{value:t},n):n}(t.context)}function ke(e){v(!1)}function De(t){var n=t.basename,r=void 0===n?"/":n,o=t.children,i=void 0===o?null:o,a=t.location,s=t.navigationType,l=void 0===s?h.Pop:s,c=t.navigator,u=t.static,d=void 0!==u&&u;pe()&&v(!1);var p=r.replace(/^\/*/,"/"),f=e.useMemo((function(){return{basename:p,navigator:c,static:d}}),[p,c,d]);"string"===typeof a&&(a=z(a));var b=a,A=b.pathname,m=void 0===A?"/":A,g=b.search,y=void 0===g?"":g,M=b.hash,O=void 0===M?"":M,_=b.state,x=void 0===_?null:_,w=b.key,C=void 0===w?"default":w,S=e.useMemo((function(){var e=I(m,p);return null==e?null:{location:{pathname:e,search:y,hash:O,state:x,key:C},navigationType:l}}),[p,m,y,O,x,C,l]);return null==S?null:e.createElement(se.Provider,{value:f},e.createElement(le.Provider,{children:i,value:S}))}function Ne(t){var n=t.children,r=t.location,o=e.useContext(oe);return function(t,n){pe()||v(!1);var r,o=e.useContext(se).navigator,i=e.useContext(ie),a=e.useContext(ce).matches,s=a[a.length-1],l=s?s.params:{},c=(s&&s.pathname,s?s.pathnameBase:"/"),u=(s&&s.route,fe());if(n){var d,p="string"===typeof n?z(n):n;"/"===c||(null==(d=p.pathname)?void 0:d.startsWith(c))||v(!1),r=p}else r=u;var f=r.pathname||"/",b=w(t,{pathname:"/"===c?f:f.slice(c.length)||"/"}),A=ze(b&&b.map((function(e){return Object.assign({},e,{params:Object.assign({},l,e.params),pathname:Z([c,o.encodeLocation?o.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?c:Z([c,o.encodeLocation?o.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})})),a,i||void 0);return n&&A?e.createElement(le.Provider,{value:{location:de({pathname:"/",search:"",hash:"",state:null,key:"default"},r),navigationType:h.Pop}},A):A}(o&&!n?o.router.routes:je(n),r)}!function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"}(Ce||(Ce={}));var Te=new Promise((function(){}));e.Component;function je(t,n){void 0===n&&(n=[]);var o=[];return e.Children.forEach(t,(function(t,i){if(e.isValidElement(t)){var a=[].concat((0,r.Z)(n),[i]);if(t.type!==e.Fragment){t.type!==ke&&v(!1),t.props.index&&t.props.children&&v(!1);var s={id:t.props.id||a.join("-"),caseSensitive:t.props.caseSensitive,element:t.props.element,Component:t.props.Component,index:t.props.index,path:t.props.path,loader:t.props.loader,action:t.props.action,errorElement:t.props.errorElement,ErrorBoundary:t.props.ErrorBoundary,hasErrorBoundary:null!=t.props.ErrorBoundary||null!=t.props.errorElement,shouldRevalidate:t.props.shouldRevalidate,handle:t.props.handle,lazy:t.props.lazy};t.props.children&&(s.children=je(t.props.children,a)),o.push(s)}else o.push.apply(o,je(t.props.children,a))}})),o}var Be=__webpack_require__(31881),Le=__webpack_require__.n(Be),Re=Le().create();Re.defaults.withCredentials=!0,Re.defaults.baseURL="https://api.aesthetidocs.com",Re.defaults.headers.post["Content-Type"]="application/json;charset=utf-8",Re.defaults.headers.post["Access-Control-Allow-Origin"]="*",Re.defaults.headers.common.Authorization="Bearer "+window.localStorage.getItem("jwt"),window.localStorage.getItem("imp")&&(Re.defaults.headers.common["X-IMP"]=window.localStorage.getItem("imp")),Re.interceptors.response.use((function(e){return e}),(function(e){return Promise.reject(e.response&&e.response.data||"Wrong Services")}));function qe(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error("number"===typeof e?"[MobX] minified error nr: "+e+(n.length?" "+n.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+e)}var Pe={};function Ie(){return"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof __webpack_require__.g?__webpack_require__.g:"undefined"!==typeof self?self:Pe}var We=Object.assign,Fe=Object.getOwnPropertyDescriptor,Ue=Object.defineProperty,Ze=Object.prototype,He=[];Object.freeze(He);var $e={};Object.freeze($e);var Ve="undefined"!==typeof Proxy,Xe=Object.toString();function Qe(){Ve||qe("Proxy not available")}function Ye(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var Ge=function(){};function Ke(e){return"function"===typeof e}function Je(e){switch(typeof e){case"string":case"symbol":case"number":return!0}return!1}function et(e){return null!==e&&"object"===typeof e}function tt(e){if(!et(e))return!1;var t=Object.getPrototypeOf(e);if(null==t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return"function"===typeof n&&n.toString()===Xe}function nt(e){var t=null==e?void 0:e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName)}function rt(e,t,n){Ue(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function ot(e,t,n){Ue(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function it(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return et(e)&&!0===e[n]}}function at(e){return e instanceof Map}function st(e){return e instanceof Set}var lt="undefined"!==typeof Object.getOwnPropertySymbols;var ct="undefined"!==typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:lt?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function ut(e){return null===e?null:"object"===typeof e?""+e:e}function dt(e,t){return Ze.hasOwnProperty.call(e,t)}var pt=Object.getOwnPropertyDescriptors||function(e){var t={};return ct(e).forEach((function(n){t[n]=Fe(e,n)})),t};function ft(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Mt(r.key),r)}}function ht(e,t,n){return t&&ft(e.prototype,t),n&&ft(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function bt(){return bt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bt.apply(this,arguments)}function At(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,mt(e,t)}function mt(e,t){return mt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},mt(e,t)}function gt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function yt(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"===typeof e)return vt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?vt(e,t):void 0}}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Mt(e){var t=function(e,t){if("object"!==typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===typeof t?t:String(t)}var Ot=Symbol("mobx-stored-annotations");function _t(e){return Object.assign((function(t,n){zt(t,n,e)}),e)}function zt(e,t,n){dt(e,Ot)||rt(e,Ot,bt({},e[Ot])),function(e){return e.annotationType_===Nt}(n)||(e[Ot][t]=n)}var xt=Symbol("mobx administration"),wt=function(){function e(e){void 0===e&&(e="Atom"),this.name_=void 0,this.isPendingUnobservation_=!1,this.isBeingObserved_=!1,this.observers_=new Set,this.diffValue_=0,this.lastAccessedBy_=0,this.lowestObserverState_=En.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=e}var t=e.prototype;return t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.reportObserved=function(){return er(this)},t.reportChanged=function(){Kn(),tr(this),Xn.stateVersion=Xn.stateVersion<Number.MAX_SAFE_INTEGER?Xn.stateVersion+1:Number.MIN_SAFE_INTEGER,Jn()},t.toString=function(){return this.name_},e}(),Ct=it("Atom",wt);function St(e,t,n){void 0===t&&(t=Ge),void 0===n&&(n=Ge);var r,o=new wt(e);return t!==Ge&&wr(_r,o,t,r),n!==Ge&&xr(o,n),o}var Et={identity:function(e,t){return e===t},structural:function(e,t){return ei(e,t)},default:function(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e===1/t:e!==e&&t!==t},shallow:function(e,t){return ei(e,t,1)}};function kt(e,t,n){return Zr(e)?e:Array.isArray(e)?dn.array(e,{name:n}):tt(e)?dn.object(e,void 0,{name:n}):at(e)?dn.map(e,{name:n}):st(e)?dn.set(e,{name:n}):"function"!==typeof e||vr(e)||Ir(e)?e:nt(e)?qr(e):mr(n,e)}function Dt(e){return e}var Nt="override";function Tt(e,t){return{annotationType_:e,options_:t,make_:jt,extend_:Bt}}function jt(e,t,n,r){var o;if(null!=(o=this.options_)&&o.bound)return null===this.extend_(e,t,n,!1)?0:1;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(vr(n.value))return 1;var i=Lt(e,this,t,n,!1);return Ue(r,t,i),2}function Bt(e,t,n,r){var o=Lt(e,this,t,n);return e.defineProperty_(t,o,r)}function Lt(e,t,n,r,o){var i,a,s,l,c,u,d;void 0===o&&(o=Xn.safeDescriptors),function(e,t,n,r){t.annotationType_,r.value}(0,t,0,r);var p,f=r.value;null!=(i=t.options_)&&i.bound&&(f=f.bind(null!=(p=e.proxy_)?p:e.target_));return{value:Mn(null!=(a=null==(s=t.options_)?void 0:s.name)?a:n.toString(),f,null!=(l=null==(c=t.options_)?void 0:c.autoAction)&&l,null!=(u=t.options_)&&u.bound?null!=(d=e.proxy_)?d:e.target_:void 0),configurable:!o||e.isPlainObject_,enumerable:!1,writable:!o}}function Rt(e,t){return{annotationType_:e,options_:t,make_:qt,extend_:Pt}}function qt(e,t,n,r){var o;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(null!=(o=this.options_)&&o.bound&&(!dt(e.target_,t)||!Ir(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if(Ir(n.value))return 1;var i=It(e,this,t,n,!1,!1);return Ue(r,t,i),2}function Pt(e,t,n,r){var o,i=It(e,this,t,n,null==(o=this.options_)?void 0:o.bound);return e.defineProperty_(t,i,r)}function It(e,t,n,r,o,i){void 0===i&&(i=Xn.safeDescriptors),function(e,t,n,r){t.annotationType_,r.value}(0,t,0,r);var a,s=r.value;(Ir(s)||(s=qr(s)),o)&&((s=s.bind(null!=(a=e.proxy_)?a:e.target_)).isMobXFlow=!0);return{value:s,configurable:!i||e.isPlainObject_,enumerable:!1,writable:!i}}function Wt(e,t){return{annotationType_:e,options_:t,make_:Ft,extend_:Ut}}function Ft(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function Ut(e,t,n,r){return function(e,t,n,r){t.annotationType_,r.get;0}(0,this,0,n),e.defineComputedProperty_(t,bt({},this.options_,{get:n.get,set:n.set}),r)}function Zt(e,t){return{annotationType_:e,options_:t,make_:Ht,extend_:$t}}function Ht(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function $t(e,t,n,r){var o,i;return function(e,t,n,r){t.annotationType_;0}(0,this),e.defineObservableProperty_(t,n.value,null!=(o=null==(i=this.options_)?void 0:i.enhancer)?o:kt,r)}var Vt="true",Xt=Qt();function Qt(e){return{annotationType_:Vt,options_:e,make_:Yt,extend_:Gt}}function Yt(e,t,n,r){var o,i,a,s;if(n.get)return bn.make_(e,t,n,r);if(n.set){var l=Mn(t.toString(),n.set);return r===e.target_?null===e.defineProperty_(t,{configurable:!Xn.safeDescriptors||e.isPlainObject_,set:l})?0:2:(Ue(r,t,{configurable:!0,set:l}),2)}if(r!==e.target_&&"function"===typeof n.value)return nt(n.value)?(null!=(s=this.options_)&&s.autoBind?qr.bound:qr).make_(e,t,n,r):(null!=(a=this.options_)&&a.autoBind?mr.bound:mr).make_(e,t,n,r);var c,u=!1===(null==(o=this.options_)?void 0:o.deep)?dn.ref:dn;"function"===typeof n.value&&null!=(i=this.options_)&&i.autoBind&&(n.value=n.value.bind(null!=(c=e.proxy_)?c:e.target_));return u.make_(e,t,n,r)}function Gt(e,t,n,r){var o,i,a;if(n.get)return bn.extend_(e,t,n,r);if(n.set)return e.defineProperty_(t,{configurable:!Xn.safeDescriptors||e.isPlainObject_,set:Mn(t.toString(),n.set)},r);"function"===typeof n.value&&null!=(o=this.options_)&&o.autoBind&&(n.value=n.value.bind(null!=(a=e.proxy_)?a:e.target_));return(!1===(null==(i=this.options_)?void 0:i.deep)?dn.ref:dn).extend_(e,t,n,r)}var Kt={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function Jt(e){return e||Kt}Object.freeze(Kt);var en=Zt("observable"),tn=Zt("observable.ref",{enhancer:Dt}),nn=Zt("observable.shallow",{enhancer:function(e,t,n){return void 0===e||null===e||Ro(e)||yo(e)||Co(e)||ko(e)?e:Array.isArray(e)?dn.array(e,{name:n,deep:!1}):tt(e)?dn.object(e,void 0,{name:n,deep:!1}):at(e)?dn.map(e,{name:n,deep:!1}):st(e)?dn.set(e,{name:n,deep:!1}):void 0}}),rn=Zt("observable.struct",{enhancer:function(e,t){return ei(e,t)?t:e}}),on=_t(en);function an(e){return!0===e.deep?kt:!1===e.deep?Dt:function(e){var t,n;return e&&null!=(t=null==(n=e.options_)?void 0:n.enhancer)?t:kt}(e.defaultDecorator)}function sn(e,t,n){if(!Je(t))return Zr(e)?e:tt(e)?dn.object(e,t,n):Array.isArray(e)?dn.array(e,t):at(e)?dn.map(e,t):st(e)?dn.set(e,t):"object"===typeof e&&null!==e?e:dn.box(e,t);zt(e,t,en)}We(sn,on);var ln,cn,un={box:function(e,t){var n=Jt(t);return new Cn(e,an(n),n.name,!0,n.equals)},array:function(e,t){var n=Jt(t);return(!1===Xn.useProxies||!1===n.proxy?Qo:uo)(e,an(n),n.name)},map:function(e,t){var n=Jt(t);return new wo(e,an(n),n.name)},set:function(e,t){var n=Jt(t);return new Eo(e,an(n),n.name)},object:function(e,t,n){return Dr(!1===Xn.useProxies||!1===(null==n?void 0:n.proxy)?jo({},n):function(e,t){var n,r;return Qe(),e=jo(e,t),null!=(r=(n=e[xt]).proxy_)?r:n.proxy_=new Proxy(e,Kr)}({},n),e,t)},ref:_t(tn),shallow:_t(nn),deep:on,struct:_t(rn)},dn=We(sn,un),pn="computed",fn=Wt(pn),hn=Wt("computed.struct",{equals:Et.structural}),bn=function(e,t){if(Je(t))return zt(e,t,fn);if(tt(e))return _t(Wt(pn,e));var n=tt(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new Dn(n)};Object.assign(bn,fn),bn.struct=_t(hn);var An,mn=0,gn=1,vn=null!=(ln=null==(cn=Fe((function(){}),"name"))?void 0:cn.configurable)&&ln,yn={value:"action",configurable:!0,writable:!1,enumerable:!1};function Mn(e,t,n,r){function o(){return On(e,n,t,r||this,arguments)}return void 0===n&&(n=!1),o.isMobxAction=!0,vn&&(yn.value=e,Ue(o,"name",yn)),o}function On(e,t,n,r,o){var i=function(e,t,n,r){var o=!1,i=0;0;var a=Xn.trackingDerivation,s=!t||!a;Kn();var l=Xn.allowStateChanges;s&&(In(),l=zn(!0));var c=Fn(!0),u={runAsAction_:s,prevDerivation_:a,prevAllowStateChanges_:l,prevAllowStateReads_:c,notifySpy_:o,startTime_:i,actionId_:gn++,parentActionId_:mn};return mn=u.actionId_,u}(0,t);try{return n.apply(r,o)}catch(a){throw i.error_=a,a}finally{!function(e){mn!==e.actionId_&&qe(30);mn=e.parentActionId_,void 0!==e.error_&&(Xn.suppressReactionErrors=!0);xn(e.prevAllowStateChanges_),Un(e.prevAllowStateReads_),Jn(),e.runAsAction_&&Wn(e.prevDerivation_);0;Xn.suppressReactionErrors=!1}(i)}}function _n(e,t){var n=zn(e);try{return t()}finally{xn(n)}}function zn(e){var t=Xn.allowStateChanges;return Xn.allowStateChanges=e,t}function xn(e){Xn.allowStateChanges=e}An=Symbol.toPrimitive;var wn,Cn=function(e){function t(t,n,r,o,i){var a;return void 0===r&&(r="ObservableValue"),void 0===o&&(o=!0),void 0===i&&(i=Et.default),(a=e.call(this,r)||this).enhancer=void 0,a.name_=void 0,a.equals=void 0,a.hasUnreportedChange_=!1,a.interceptors_=void 0,a.changeListeners_=void 0,a.value_=void 0,a.dehancer=void 0,a.enhancer=n,a.name_=r,a.equals=i,a.value_=n(t,void 0,r),a}At(t,e);var n=t.prototype;return n.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.set=function(e){this.value_;if((e=this.prepareNewValue_(e))!==Xn.UNCHANGED){0,this.setNewValue_(e)}},n.prepareNewValue_=function(e){if(Ln(this),Jr(this)){var t=to(this,{object:this,type:so,newValue:e});if(!t)return Xn.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value_,this.name_),this.equals(this.value_,e)?Xn.UNCHANGED:e},n.setNewValue_=function(e){var t=this.value_;this.value_=e,this.reportChanged(),no(this)&&oo(this,{type:so,object:this,newValue:e,oldValue:t})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},n.intercept_=function(e){return eo(this,e)},n.observe_=function(e,t){return t&&e({observableKind:"value",debugObjectName:this.name_,object:this,type:so,newValue:this.value_,oldValue:void 0}),ro(this,e)},n.raw=function(){return this.value_},n.toJSON=function(){return this.get()},n.toString=function(){return this.name_+"["+this.value_+"]"},n.valueOf=function(){return ut(this.get())},n[An]=function(){return this.valueOf()},t}(wt),Sn=it("ObservableValue",Cn);wn=Symbol.toPrimitive;var En,kn,Dn=function(){function e(e){this.dependenciesState_=En.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.isBeingObserved_=!1,this.isPendingUnobservation_=!1,this.observers_=new Set,this.diffValue_=0,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=En.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new Tn(null),this.name_=void 0,this.triggeredBy_=void 0,this.isComputing_=!1,this.isRunningSetter_=!1,this.derivation=void 0,this.setter_=void 0,this.isTracing_=kn.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,e.get||qe(31),this.derivation=e.get,this.name_=e.name||"ComputedValue",e.set&&(this.setter_=Mn("ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?Et.structural:Et.default),this.scope_=e.context,this.requiresReaction_=e.requiresReaction,this.keepAlive_=!!e.keepAlive}var t=e.prototype;return t.onBecomeStale_=function(){!function(e){if(e.lowestObserverState_!==En.UP_TO_DATE_)return;e.lowestObserverState_=En.POSSIBLY_STALE_,e.observers_.forEach((function(e){e.dependenciesState_===En.UP_TO_DATE_&&(e.dependenciesState_=En.POSSIBLY_STALE_,e.onBecomeStale_())}))}(this)},t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.get=function(){if(this.isComputing_&&qe(32,this.name_,this.derivation),0!==Xn.inBatch||0!==this.observers_.size||this.keepAlive_){if(er(this),Bn(this)){var e=Xn.trackingContext;this.keepAlive_&&!e&&(Xn.trackingContext=this),this.trackAndCompute()&&function(e){if(e.lowestObserverState_===En.STALE_)return;e.lowestObserverState_=En.STALE_,e.observers_.forEach((function(t){t.dependenciesState_===En.POSSIBLY_STALE_?t.dependenciesState_=En.STALE_:t.dependenciesState_===En.UP_TO_DATE_&&(e.lowestObserverState_=En.UP_TO_DATE_)}))}(this),Xn.trackingContext=e}}else Bn(this)&&(this.warnAboutUntrackedRead_(),Kn(),this.value_=this.computeValue_(!1),Jn());var t=this.value_;if(jn(t))throw t.cause;return t},t.set=function(e){if(this.setter_){this.isRunningSetter_&&qe(33,this.name_),this.isRunningSetter_=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter_=!1}}else qe(34,this.name_)},t.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===En.NOT_TRACKING_,n=this.computeValue_(!0),r=t||jn(e)||jn(n)||!this.equals_(e,n);return r&&(this.value_=n),r},t.computeValue_=function(e){this.isComputing_=!0;var t,n=zn(!1);if(e)t=Rn(this,this.derivation,this.scope_);else if(!0===Xn.disableErrorBoundaries)t=this.derivation.call(this.scope_);else try{t=this.derivation.call(this.scope_)}catch(AE){t=new Tn(AE)}return xn(n),this.isComputing_=!1,t},t.suspend_=function(){this.keepAlive_||(qn(this),this.value_=void 0)},t.observe_=function(e,t){var n=this,r=!0,o=void 0;return yr((function(){var i=n.get();if(!r||t){var a=In();e({observableKind:"computed",debugObjectName:n.name_,type:so,object:n,newValue:i,oldValue:o}),Wn(a)}r=!1,o=i}))},t.warnAboutUntrackedRead_=function(){},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return ut(this.get())},t[wn]=function(){return this.valueOf()},e}(),Nn=it("ComputedValue",Dn);!function(e){e[e.NOT_TRACKING_=-1]="NOT_TRACKING_",e[e.UP_TO_DATE_=0]="UP_TO_DATE_",e[e.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",e[e.STALE_=2]="STALE_"}(En||(En={})),function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(kn||(kn={}));var Tn=function(e){this.cause=void 0,this.cause=e};function jn(e){return e instanceof Tn}function Bn(e){switch(e.dependenciesState_){case En.UP_TO_DATE_:return!1;case En.NOT_TRACKING_:case En.STALE_:return!0;case En.POSSIBLY_STALE_:for(var t=Fn(!0),n=In(),r=e.observing_,o=r.length,i=0;i<o;i++){var a=r[i];if(Nn(a)){if(Xn.disableErrorBoundaries)a.get();else try{a.get()}catch(AE){return Wn(n),Un(t),!0}if(e.dependenciesState_===En.STALE_)return Wn(n),Un(t),!0}}return Zn(e),Wn(n),Un(t),!1}}function Ln(e){}function Rn(e,t,n){var r=Fn(!0);Zn(e),e.newObserving_=new Array(e.observing_.length+100),e.unboundDepsCount_=0,e.runId_=++Xn.runId;var o,i=Xn.trackingDerivation;if(Xn.trackingDerivation=e,Xn.inBatch++,!0===Xn.disableErrorBoundaries)o=t.call(n);else try{o=t.call(n)}catch(AE){o=new Tn(AE)}return Xn.inBatch--,Xn.trackingDerivation=i,function(e){for(var t=e.observing_,n=e.observing_=e.newObserving_,r=En.UP_TO_DATE_,o=0,i=e.unboundDepsCount_,a=0;a<i;a++){var s=n[a];0===s.diffValue_&&(s.diffValue_=1,o!==a&&(n[o]=s),o++),s.dependenciesState_>r&&(r=s.dependenciesState_)}n.length=o,e.newObserving_=null,i=t.length;for(;i--;){var l=t[i];0===l.diffValue_&&Yn(l,e),l.diffValue_=0}for(;o--;){var c=n[o];1===c.diffValue_&&(c.diffValue_=0,Qn(c,e))}r!==En.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}(e),Un(r),o}function qn(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)Yn(t[n],e);e.dependenciesState_=En.NOT_TRACKING_}function Pn(e){var t=In();try{return e()}finally{Wn(t)}}function In(){var e=Xn.trackingDerivation;return Xn.trackingDerivation=null,e}function Wn(e){Xn.trackingDerivation=e}function Fn(e){var t=Xn.allowStateReads;return Xn.allowStateReads=e,t}function Un(e){Xn.allowStateReads=e}function Zn(e){if(e.dependenciesState_!==En.UP_TO_DATE_){e.dependenciesState_=En.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=En.UP_TO_DATE_}}var Hn=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0,this.stateVersion=Number.MIN_SAFE_INTEGER},$n=!0,Vn=!1,Xn=function(){var e=Ie();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&($n=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new Hn).version&&($n=!1),$n?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new Hn):(setTimeout((function(){Vn||qe(35)}),1),new Hn)}();function Qn(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function Yn(e,t){e.observers_.delete(t),0===e.observers_.size&&Gn(e)}function Gn(e){!1===e.isPendingUnobservation_&&(e.isPendingUnobservation_=!0,Xn.pendingUnobservations.push(e))}function Kn(){Xn.inBatch++}function Jn(){if(0===--Xn.inBatch){ir();for(var e=Xn.pendingUnobservations,t=0;t<e.length;t++){var n=e[t];n.isPendingUnobservation_=!1,0===n.observers_.size&&(n.isBeingObserved_&&(n.isBeingObserved_=!1,n.onBUO()),n instanceof Dn&&n.suspend_())}Xn.pendingUnobservations=[]}}function er(e){var t=Xn.trackingDerivation;return null!==t?(t.runId_!==e.lastAccessedBy_&&(e.lastAccessedBy_=t.runId_,t.newObserving_[t.unboundDepsCount_++]=e,!e.isBeingObserved_&&Xn.trackingContext&&(e.isBeingObserved_=!0,e.onBO())),e.isBeingObserved_):(0===e.observers_.size&&Xn.inBatch>0&&Gn(e),!1)}function tr(e){e.lowestObserverState_!==En.STALE_&&(e.lowestObserverState_=En.STALE_,e.observers_.forEach((function(e){e.dependenciesState_===En.UP_TO_DATE_&&e.onBecomeStale_(),e.dependenciesState_=En.STALE_})))}var nr=function(){function e(e,t,n,r){void 0===e&&(e="Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=En.NOT_TRACKING_,this.diffValue_=0,this.runId_=0,this.unboundDepsCount_=0,this.isDisposed_=!1,this.isScheduled_=!1,this.isTrackPending_=!1,this.isRunning_=!1,this.isTracing_=kn.NONE,this.name_=e,this.onInvalidate_=t,this.errorHandler_=n,this.requiresObservable_=r}var t=e.prototype;return t.onBecomeStale_=function(){this.schedule_()},t.schedule_=function(){this.isScheduled_||(this.isScheduled_=!0,Xn.pendingReactions.push(this),ir())},t.isScheduled=function(){return this.isScheduled_},t.runReaction_=function(){if(!this.isDisposed_){Kn(),this.isScheduled_=!1;var e=Xn.trackingContext;if(Xn.trackingContext=this,Bn(this)){this.isTrackPending_=!0;try{this.onInvalidate_()}catch(AE){this.reportExceptionInDerivation_(AE)}}Xn.trackingContext=e,Jn()}},t.track=function(e){if(!this.isDisposed_){Kn();0,this.isRunning_=!0;var t=Xn.trackingContext;Xn.trackingContext=this;var n=Rn(this,e,void 0);Xn.trackingContext=t,this.isRunning_=!1,this.isTrackPending_=!1,this.isDisposed_&&qn(this),jn(n)&&this.reportExceptionInDerivation_(n.cause),Jn()}},t.reportExceptionInDerivation_=function(e){var t=this;if(this.errorHandler_)this.errorHandler_(e,this);else{if(Xn.disableErrorBoundaries)throw e;var n="[mobx] uncaught error in '"+this+"'";Xn.suppressReactionErrors||console.error(n,e),Xn.globalReactionErrorHandlers.forEach((function(n){return n(e,t)}))}},t.dispose=function(){this.isDisposed_||(this.isDisposed_=!0,this.isRunning_||(Kn(),qn(this),Jn()))},t.getDisposer_=function(){var e=this.dispose.bind(this);return e[xt]=this,e},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){void 0===e&&(e=!1),function(){qe("trace() is not available in production builds");for(var e=!1,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];"boolean"===typeof n[n.length-1]&&(e=n.pop());var o=function(e){switch(e.length){case 0:return Xn.trackingDerivation;case 1:return Yo(e[0]);case 2:return Yo(e[0],e[1])}}(n);if(!o)return qe("'trace(break?)' can only be used inside a tracked computed value or a Reaction. Consider passing in the computed value or reaction explicitly");o.isTracing_===kn.NONE&&console.log("[mobx.trace] '"+o.name_+"' tracing enabled");o.isTracing_=e?kn.BREAK:kn.LOG}(this,e)},e}();var rr=100,or=function(e){return e()};function ir(){Xn.inBatch>0||Xn.isRunningReactions||or(ar)}function ar(){Xn.isRunningReactions=!0;for(var e=Xn.pendingReactions,t=0;e.length>0;){++t===rr&&(console.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,o=n.length;r<o;r++)n[r].runReaction_()}Xn.isRunningReactions=!1}var sr=it("Reaction",nr);var lr="action",cr="autoAction",ur="<unnamed action>",dr=Tt(lr),pr=Tt("action.bound",{bound:!0}),fr=Tt(cr,{autoAction:!0}),hr=Tt("autoAction.bound",{autoAction:!0,bound:!0});function br(e){return function(t,n){return Ke(t)?Mn(t.name||ur,t,e):Ke(n)?Mn(t,n,e):Je(n)?zt(t,n,e?fr:dr):Je(t)?_t(Tt(e?cr:lr,{name:t,autoAction:e})):void 0}}var Ar=br(!1);Object.assign(Ar,dr);var mr=br(!0);function gr(e){return On(e.name,!1,e,this,void 0)}function vr(e){return Ke(e)&&!0===e.isMobxAction}function yr(e,t){var n,r;void 0===t&&(t=$e);var o,i=null!=(n=null==(r=t)?void 0:r.name)?n:"Autorun";if(!t.scheduler&&!t.delay)o=new nr(i,(function(){this.track(l)}),t.onError,t.requiresObservable);else{var a=Or(t),s=!1;o=new nr(i,(function(){s||(s=!0,a((function(){s=!1,o.isDisposed_||o.track(l)})))}),t.onError,t.requiresObservable)}function l(){e(o)}return o.schedule_(),o.getDisposer_()}Object.assign(mr,fr),Ar.bound=_t(pr),mr.bound=_t(hr);var Mr=function(e){return e()};function Or(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:Mr}var _r="onBO",zr="onBUO";function xr(e,t,n){return wr(zr,e,t,n)}function wr(e,t,n,r){var o="function"===typeof r?Yo(t,n):Yo(t),i=Ke(r)?r:n,a=e+"L";return o[a]?o[a].add(i):o[a]=new Set([i]),function(){var e=o[a];e&&(e.delete(i),0===e.size&&delete o[a])}}var Cr="never",Sr="always",Er="observed";function kr(e){!0===e.isolateGlobalState&&function(){if((Xn.pendingReactions.length||Xn.inBatch||Xn.isRunningReactions)&&qe(36),Vn=!0,$n){var e=Ie();0===--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),Xn=new Hn}}();var t=e.useProxies,n=e.enforceActions;if(void 0!==t&&(Xn.useProxies=t===Sr||t!==Cr&&"undefined"!==typeof Proxy),"ifavailable"===t&&(Xn.verifyProxies=!0),void 0!==n){var r=n===Sr?Sr:n===Er;Xn.enforceActions=r,Xn.allowStateChanges=!0!==r&&r!==Sr}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach((function(t){t in e&&(Xn[t]=!!e[t])})),Xn.allowStateReads=!Xn.observableRequiresReaction,e.reactionScheduler&&function(e){var t=or;or=function(n){return e((function(){return t(n)}))}}(e.reactionScheduler)}function Dr(e,t,n,r){var o=pt(t),i=jo(e,r)[xt];Kn();try{ct(o).forEach((function(e){i.extend_(e,o[e],!n||(!(e in n)||n[e]))}))}finally{Jn()}return e}function Nr(e,t){return Tr(Yo(e,t))}function Tr(e){var t,n={name:e.name_};return e.observing_&&e.observing_.length>0&&(n.dependencies=(t=e.observing_,Array.from(new Set(t))).map(Tr)),n}var jr=0;function Br(){this.message="FLOW_CANCELLED"}Br.prototype=Object.create(Error.prototype);var Lr=Rt("flow"),Rr=Rt("flow.bound",{bound:!0}),qr=Object.assign((function(e,t){if(Je(t))return zt(e,t,Lr);var n=e,r=n.name||"<unnamed flow>",o=function(){var e,t=arguments,o=++jr,i=Ar(r+" - runid: "+o+" - init",n).apply(this,t),a=void 0,s=new Promise((function(t,n){var s=0;function l(e){var t;a=void 0;try{t=Ar(r+" - runid: "+o+" - yield "+s++,i.next).call(i,e)}catch(AE){return n(AE)}u(t)}function c(e){var t;a=void 0;try{t=Ar(r+" - runid: "+o+" - yield "+s++,i.throw).call(i,e)}catch(AE){return n(AE)}u(t)}function u(e){if(!Ke(null==e?void 0:e.then))return e.done?t(e.value):(a=Promise.resolve(e.value)).then(l,c);e.then(u,n)}e=n,l(void 0)}));return s.cancel=Ar(r+" - runid: "+o+" - cancel",(function(){try{a&&Pr(a);var t=i.return(void 0),n=Promise.resolve(t.value);n.then(Ge,Ge),Pr(n),e(new Br)}catch(AE){e(AE)}})),s};return o.isMobXFlow=!0,o}),Lr);function Pr(e){Ke(e.cancel)&&e.cancel()}function Ir(e){return!0===(null==e?void 0:e.isMobXFlow)}function Wr(e,t,n){var r;return Co(e)||yo(e)||Sn(e)?r=Go(e):Ro(e)&&(r=Go(e,t)),r.dehancer="function"===typeof t?t:n,function(){r.dehancer=void 0}}function Fr(e,t,n){return Ke(n)?function(e,t,n){return Go(e,t).intercept_(n)}(e,t,n):function(e,t){return Go(e).intercept_(t)}(e,t)}function Ur(e,t){return!!e&&(void 0!==t?!!Ro(e)&&e[xt].values_.has(t):Ro(e)||!!e[xt]||Ct(e)||sr(e)||Nn(e))}function Zr(e){return Ur(e)}function Hr(e){return Ro(e)?e[xt].keys_():Co(e)||ko(e)?Array.from(e.keys()):yo(e)?e.map((function(e,t){return t})):void qe(5)}function $r(e){return Ro(e)?Hr(e).map((function(t){return e[t]})):Co(e)?Hr(e).map((function(t){return e.get(t)})):ko(e)?Array.from(e.values()):yo(e)?e.slice():void qe(6)}function Vr(e,t,n){if(2!==arguments.length||ko(e))Ro(e)?e[xt].set_(t,n):Co(e)?e.set(t,n):ko(e)?e.add(t):yo(e)?("number"!==typeof t&&(t=parseInt(t,10)),t<0&&qe("Invalid index: '"+t+"'"),Kn(),t>=e.length&&(e.length=t+1),e[t]=n,Jn()):qe(8);else{Kn();var r=t;try{for(var o in r)Vr(e,o,r[o])}finally{Jn()}}}function Xr(e,t,n){if(Ro(e))return e[xt].defineProperty_(t,n);qe(39)}function Qr(e,t,n,r){return Ke(n)?function(e,t,n,r){return Go(e,t).observe_(n,r)}(e,t,n,r):function(e,t,n){return Go(e).observe_(t,n)}(e,t,n)}function Yr(e,t){void 0===t&&(t=void 0),Kn();try{return e.apply(t)}finally{Jn()}}function Gr(e){return e[xt]}qr.bound=_t(Rr);var Kr={has:function(e,t){return Gr(e).has_(t)},get:function(e,t){return Gr(e).get_(t)},set:function(e,t,n){var r;return!!Je(t)&&(null==(r=Gr(e).set_(t,n,!0))||r)},deleteProperty:function(e,t){var n;return!!Je(t)&&(null==(n=Gr(e).delete_(t,!0))||n)},defineProperty:function(e,t,n){var r;return null==(r=Gr(e).defineProperty_(t,n))||r},ownKeys:function(e){return Gr(e).ownKeys_()},preventExtensions:function(e){qe(13)}};function Jr(e){return void 0!==e.interceptors_&&e.interceptors_.length>0}function eo(e,t){var n=e.interceptors_||(e.interceptors_=[]);return n.push(t),Ye((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function to(e,t){var n=In();try{for(var r=[].concat(e.interceptors_||[]),o=0,i=r.length;o<i&&((t=r[o](t))&&!t.type&&qe(14),t);o++);return t}finally{Wn(n)}}function no(e){return void 0!==e.changeListeners_&&e.changeListeners_.length>0}function ro(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),Ye((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function oo(e,t){var n=In(),r=e.changeListeners_;if(r){for(var o=0,i=(r=r.slice()).length;o<i;o++)r[o](t);Wn(n)}}function io(e,t,n){var r=jo(e,n)[xt];Kn();try{0,null!=t||(t=function(e){return dt(e,Ot)||rt(e,Ot,bt({},e[Ot])),e[Ot]}(e)),ct(t).forEach((function(e){return r.make_(e,t[e])}))}finally{Jn()}return e}var ao="splice",so="update",lo={get:function(e,t){var n=e[xt];return t===xt?n:"length"===t?n.getArrayLength_():"string"!==typeof t||isNaN(t)?dt(po,t)?po[t]:e[t]:n.get_(parseInt(t))},set:function(e,t,n){var r=e[xt];return"length"===t&&r.setArrayLength_(n),"symbol"===typeof t||isNaN(t)?e[t]=n:r.set_(parseInt(t),n),!0},preventExtensions:function(){qe(15)}},co=function(){function e(e,t,n,r){void 0===e&&(e="ObservableArray"),this.owned_=void 0,this.legacyMode_=void 0,this.atom_=void 0,this.values_=[],this.interceptors_=void 0,this.changeListeners_=void 0,this.enhancer_=void 0,this.dehancer=void 0,this.proxy_=void 0,this.lastKnownLength_=0,this.owned_=n,this.legacyMode_=r,this.atom_=new wt(e),this.enhancer_=function(e,n){return t(e,n,"ObservableArray[..]")}}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.dehanceValues_=function(e){return void 0!==this.dehancer&&e.length>0?e.map(this.dehancer):e},t.intercept_=function(e){return eo(this,e)},t.observe_=function(e,t){return void 0===t&&(t=!1),t&&e({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),ro(this,e)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(e){("number"!==typeof e||isNaN(e)||e<0)&&qe("Out of range: "+e);var t=this.values_.length;if(e!==t)if(e>t){for(var n=new Array(e-t),r=0;r<e-t;r++)n[r]=void 0;this.spliceWithArray_(t,0,n)}else this.spliceWithArray_(e,t-e)},t.updateArrayLength_=function(e,t){e!==this.lastKnownLength_&&qe(16),this.lastKnownLength_+=t,this.legacyMode_&&t>0&&Xo(e+t+1)},t.spliceWithArray_=function(e,t,n){var r=this;this.atom_;var o=this.values_.length;if(void 0===e?e=0:e>o?e=o:e<0&&(e=Math.max(0,o+e)),t=1===arguments.length?o-e:void 0===t||null===t?0:Math.max(0,Math.min(t,o-e)),void 0===n&&(n=He),Jr(this)){var i=to(this,{object:this.proxy_,type:ao,index:e,removedCount:t,added:n});if(!i)return He;t=i.removedCount,n=i.added}if(n=0===n.length?n:n.map((function(e){return r.enhancer_(e,void 0)})),this.legacyMode_){var a=n.length-t;this.updateArrayLength_(o,a)}var s=this.spliceItemsIntoValues_(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice_(e,n,s),this.dehanceValues_(s)},t.spliceItemsIntoValues_=function(e,t,n){var r;if(n.length<1e4)return(r=this.values_).splice.apply(r,[e,t].concat(n));var o=this.values_.slice(e,e+t),i=this.values_.slice(e+t);this.values_.length+=n.length-t;for(var a=0;a<n.length;a++)this.values_[e+a]=n[a];for(var s=0;s<i.length;s++)this.values_[e+n.length+s]=i[s];return o},t.notifyArrayChildUpdate_=function(e,t,n){var r=!this.owned_&&!1,o=no(this),i=o||r?{observableKind:"array",object:this.proxy_,type:so,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:n}:null;this.atom_.reportChanged(),o&&oo(this,i)},t.notifyArraySplice_=function(e,t,n){var r=!this.owned_&&!1,o=no(this),i=o||r?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:ao,index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;this.atom_.reportChanged(),o&&oo(this,i)},t.get_=function(e){if(!(this.legacyMode_&&e>=this.values_.length))return this.atom_.reportObserved(),this.dehanceValue_(this.values_[e]);console.warn("[mobx] Out of bounds read: "+e)},t.set_=function(e,t){var n=this.values_;if(this.legacyMode_&&e>n.length&&qe(17,e,n.length),e<n.length){this.atom_;var r=n[e];if(Jr(this)){var o=to(this,{type:so,object:this.proxy_,index:e,newValue:t});if(!o)return;t=o.newValue}(t=this.enhancer_(t,r))!==r&&(n[e]=t,this.notifyArrayChildUpdate_(e,t,r))}else{for(var i=new Array(e+1-n.length),a=0;a<i.length-1;a++)i[a]=void 0;i[i.length-1]=t,this.spliceWithArray_(n.length,0,i)}},e}();function uo(e,t,n,r){void 0===n&&(n="ObservableArray"),void 0===r&&(r=!1),Qe();var o=new co(n,t,r,!1);ot(o.values_,xt,o);var i=new Proxy(o.values_,lo);if(o.proxy_=i,e&&e.length){var a=zn(!0);o.spliceWithArray_(0,0,e),xn(a)}return i}var po={clear:function(){return this.splice(0)},replace:function(e){var t=this[xt];return t.spliceWithArray_(0,t.values_.length,e)},toJSON:function(){return this.slice()},splice:function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=this[xt];switch(arguments.length){case 0:return[];case 1:return i.spliceWithArray_(e);case 2:return i.spliceWithArray_(e,t)}return i.spliceWithArray_(e,t,r)},spliceWithArray:function(e,t,n){return this[xt].spliceWithArray_(e,t,n)},push:function(){for(var e=this[xt],t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.spliceWithArray_(e.values_.length,0,n),e.values_.length},pop:function(){return this.splice(Math.max(this[xt].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var e=this[xt],t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.spliceWithArray_(0,0,n),e.values_.length},reverse:function(){return Xn.trackingDerivation&&qe(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){Xn.trackingDerivation&&qe(37,"sort");var e=this.slice();return e.sort.apply(e,arguments),this.replace(e),this},remove:function(e){var t=this[xt],n=t.dehanceValues_(t.values_).indexOf(e);return n>-1&&(this.splice(n,1),!0)}};function fo(e,t){"function"===typeof Array.prototype[e]&&(po[e]=t(e))}function ho(e){return function(){var t=this[xt];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function bo(e){return function(t,n){var r=this,o=this[xt];return o.atom_.reportObserved(),o.dehanceValues_(o.values_)[e]((function(e,o){return t.call(n,e,o,r)}))}}function Ao(e){return function(){var t=this,n=this[xt];n.atom_.reportObserved();var r=n.dehanceValues_(n.values_),o=arguments[0];return arguments[0]=function(e,n,r){return o(e,n,r,t)},r[e].apply(r,arguments)}}fo("concat",ho),fo("flat",ho),fo("includes",ho),fo("indexOf",ho),fo("join",ho),fo("lastIndexOf",ho),fo("slice",ho),fo("toString",ho),fo("toLocaleString",ho),fo("every",bo),fo("filter",bo),fo("find",bo),fo("findIndex",bo),fo("flatMap",bo),fo("forEach",bo),fo("map",bo),fo("some",bo),fo("reduce",Ao),fo("reduceRight",Ao);var mo,go,vo=it("ObservableArrayAdministration",co);function yo(e){return et(e)&&vo(e[xt])}var Mo={},Oo="add",_o="delete";mo=Symbol.iterator,go=Symbol.toStringTag;var zo,xo,wo=function(){function e(e,t,n){var r=this;void 0===t&&(t=kt),void 0===n&&(n="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[xt]=Mo,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=t,this.name_=n,Ke(Map)||qe(18),this.keysAtom_=St("ObservableMap.keys()"),this.data_=new Map,this.hasMap_=new Map,_n(!0,(function(){r.merge(e)}))}var t=e.prototype;return t.has_=function(e){return this.data_.has(e)},t.has=function(e){var t=this;if(!Xn.trackingDerivation)return this.has_(e);var n=this.hasMap_.get(e);if(!n){var r=n=new Cn(this.has_(e),Dt,"ObservableMap.key?",!1);this.hasMap_.set(e,r),xr(r,(function(){return t.hasMap_.delete(e)}))}return n.get()},t.set=function(e,t){var n=this.has_(e);if(Jr(this)){var r=to(this,{type:n?so:Oo,object:this,newValue:t,name:e});if(!r)return this;t=r.newValue}return n?this.updateValue_(e,t):this.addValue_(e,t),this},t.delete=function(e){var t=this;if((this.keysAtom_,Jr(this))&&!to(this,{type:_o,object:this,name:e}))return!1;if(this.has_(e)){var n=no(this),r=n?{observableKind:"map",debugObjectName:this.name_,type:_o,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return Yr((function(){var n;t.keysAtom_.reportChanged(),null==(n=t.hasMap_.get(e))||n.setNewValue_(!1),t.data_.get(e).setNewValue_(void 0),t.data_.delete(e)})),n&&oo(this,r),!0}return!1},t.updateValue_=function(e,t){var n=this.data_.get(e);if((t=n.prepareNewValue_(t))!==Xn.UNCHANGED){var r=no(this),o=r?{observableKind:"map",debugObjectName:this.name_,type:so,object:this,oldValue:n.value_,name:e,newValue:t}:null;0,n.setNewValue_(t),r&&oo(this,o)}},t.addValue_=function(e,t){var n=this;this.keysAtom_,Yr((function(){var r,o=new Cn(t,n.enhancer_,"ObservableMap.key",!1);n.data_.set(e,o),t=o.value_,null==(r=n.hasMap_.get(e))||r.setNewValue_(!0),n.keysAtom_.reportChanged()}));var r=no(this),o=r?{observableKind:"map",debugObjectName:this.name_,type:Oo,object:this,name:e,newValue:t}:null;r&&oo(this,o)},t.get=function(e){return this.has(e)?this.dehanceValue_(this.data_.get(e).get()):this.dehanceValue_(void 0)},t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},t.values=function(){var e=this,t=this.keys();return ri({next:function(){var n=t.next(),r=n.done,o=n.value;return{done:r,value:r?void 0:e.get(o)}}})},t.entries=function(){var e=this,t=this.keys();return ri({next:function(){var n=t.next(),r=n.done,o=n.value;return{done:r,value:r?void 0:[o,e.get(o)]}}})},t[mo]=function(){return this.entries()},t.forEach=function(e,t){for(var n,r=yt(this);!(n=r()).done;){var o=n.value,i=o[0],a=o[1];e.call(t,a,i,this)}},t.merge=function(e){var t=this;return Co(e)&&(e=new Map(e)),Yr((function(){tt(e)?function(e){var t=Object.keys(e);if(!lt)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter((function(t){return Ze.propertyIsEnumerable.call(e,t)}))):t}(e).forEach((function(n){return t.set(n,e[n])})):Array.isArray(e)?e.forEach((function(e){var n=e[0],r=e[1];return t.set(n,r)})):at(e)?(e.constructor!==Map&&qe(19,e),e.forEach((function(e,n){return t.set(n,e)}))):null!==e&&void 0!==e&&qe(20,e)})),this},t.clear=function(){var e=this;Yr((function(){Pn((function(){for(var t,n=yt(e.keys());!(t=n()).done;){var r=t.value;e.delete(r)}}))}))},t.replace=function(e){var t=this;return Yr((function(){for(var n,r=function(e){if(at(e)||Co(e))return e;if(Array.isArray(e))return new Map(e);if(tt(e)){var t=new Map;for(var n in e)t.set(n,e[n]);return t}return qe(21,e)}(e),o=new Map,i=!1,a=yt(t.data_.keys());!(n=a()).done;){var s=n.value;if(!r.has(s))if(t.delete(s))i=!0;else{var l=t.data_.get(s);o.set(s,l)}}for(var c,u=yt(r.entries());!(c=u()).done;){var d=c.value,p=d[0],f=d[1],h=t.data_.has(p);if(t.set(p,f),t.data_.has(p)){var b=t.data_.get(p);o.set(p,b),h||(i=!0)}}if(!i)if(t.data_.size!==o.size)t.keysAtom_.reportChanged();else for(var A=t.data_.keys(),m=o.keys(),g=A.next(),v=m.next();!g.done;){if(g.value!==v.value){t.keysAtom_.reportChanged();break}g=A.next(),v=m.next()}t.data_=o})),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(e,t){return ro(this,e)},t.intercept_=function(e){return eo(this,e)},ht(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:go,get:function(){return"Map"}}]),e}(),Co=it("ObservableMap",wo);var So={};zo=Symbol.iterator,xo=Symbol.toStringTag;var Eo=function(){function e(e,t,n){void 0===t&&(t=kt),void 0===n&&(n="ObservableSet"),this.name_=void 0,this[xt]=So,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=n,Ke(Set)||qe(22),this.atom_=St(this.name_),this.enhancer_=function(e,r){return t(e,r,n)},e&&this.replace(e)}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.clear=function(){var e=this;Yr((function(){Pn((function(){for(var t,n=yt(e.data_.values());!(t=n()).done;){var r=t.value;e.delete(r)}}))}))},t.forEach=function(e,t){for(var n,r=yt(this);!(n=r()).done;){var o=n.value;e.call(t,o,o,this)}},t.add=function(e){var t=this;if((this.atom_,Jr(this))&&!to(this,{type:Oo,object:this,newValue:e}))return this;if(!this.has(e)){Yr((function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()}));var n=!1,r=no(this),o=r?{observableKind:"set",debugObjectName:this.name_,type:Oo,object:this,newValue:e}:null;n,r&&oo(this,o)}return this},t.delete=function(e){var t=this;if(Jr(this)&&!to(this,{type:_o,object:this,oldValue:e}))return!1;if(this.has(e)){var n=no(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:_o,object:this,oldValue:e}:null;return Yr((function(){t.atom_.reportChanged(),t.data_.delete(e)})),n&&oo(this,r),!0}return!1},t.has=function(e){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(e))},t.entries=function(){var e=0,t=Array.from(this.keys()),n=Array.from(this.values());return ri({next:function(){var r=e;return e+=1,r<n.length?{value:[t[r],n[r]],done:!1}:{done:!0}}})},t.keys=function(){return this.values()},t.values=function(){this.atom_.reportObserved();var e=this,t=0,n=Array.from(this.data_.values());return ri({next:function(){return t<n.length?{value:e.dehanceValue_(n[t++]),done:!1}:{done:!0}}})},t.replace=function(e){var t=this;return ko(e)&&(e=new Set(e)),Yr((function(){Array.isArray(e)||st(e)?(t.clear(),e.forEach((function(e){return t.add(e)}))):null!==e&&void 0!==e&&qe("Cannot initialize set from "+e)})),this},t.observe_=function(e,t){return ro(this,e)},t.intercept_=function(e){return eo(this,e)},t.toJSON=function(){return Array.from(this)},t.toString=function(){return"[object ObservableSet]"},t[zo]=function(){return this.values()},ht(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:xo,get:function(){return"Set"}}]),e}(),ko=it("ObservableSet",Eo),Do=Object.create(null),No="remove",To=function(){function e(e,t,n,r){void 0===t&&(t=new Map),void 0===r&&(r=Xt),this.target_=void 0,this.values_=void 0,this.name_=void 0,this.defaultAnnotation_=void 0,this.keysAtom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.proxy_=void 0,this.isPlainObject_=void 0,this.appliedAnnotations_=void 0,this.pendingKeys_=void 0,this.target_=e,this.values_=t,this.name_=n,this.defaultAnnotation_=r,this.keysAtom_=new wt("ObservableObject.keys"),this.isPlainObject_=tt(this.target_)}var t=e.prototype;return t.getObservablePropValue_=function(e){return this.values_.get(e).get()},t.setObservablePropValue_=function(e,t){var n=this.values_.get(e);if(n instanceof Dn)return n.set(t),!0;if(Jr(this)){var r=to(this,{type:so,object:this.proxy_||this.target_,name:e,newValue:t});if(!r)return null;t=r.newValue}if((t=n.prepareNewValue_(t))!==Xn.UNCHANGED){var o=no(this),i=o?{type:so,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:n.value_,name:e,newValue:t}:null;0,n.setNewValue_(t),o&&oo(this,i)}return!0},t.get_=function(e){return Xn.trackingDerivation&&!dt(this.target_,e)&&this.has_(e),this.target_[e]},t.set_=function(e,t,n){return void 0===n&&(n=!1),dt(this.target_,e)?this.values_.has(e)?this.setObservablePropValue_(e,t):n?Reflect.set(this.target_,e,t):(this.target_[e]=t,!0):this.extend_(e,{value:t,enumerable:!0,writable:!0,configurable:!0},this.defaultAnnotation_,n)},t.has_=function(e){if(!Xn.trackingDerivation)return e in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var t=this.pendingKeys_.get(e);return t||(t=new Cn(e in this.target_,Dt,"ObservableObject.key?",!1),this.pendingKeys_.set(e,t)),t.get()},t.make_=function(e,t){if(!0===t&&(t=this.defaultAnnotation_),!1!==t){if(Po(this,t,e),!(e in this.target_)){var n;if(null!=(n=this.target_[Ot])&&n[e])return;qe(1,t.annotationType_,this.name_+"."+e.toString())}for(var r=this.target_;r&&r!==Ze;){var o=Fe(r,e);if(o){var i=t.make_(this,e,o,r);if(0===i)return;if(1===i)break}r=Object.getPrototypeOf(r)}qo(this,t,e)}},t.extend_=function(e,t,n,r){if(void 0===r&&(r=!1),!0===n&&(n=this.defaultAnnotation_),!1===n)return this.defineProperty_(e,t,r);Po(this,n,e);var o=n.extend_(this,e,t,r);return o&&qo(this,n,e),o},t.defineProperty_=function(e,t,n){void 0===n&&(n=!1);try{Kn();var r=this.delete_(e);if(!r)return r;if(Jr(this)){var o=to(this,{object:this.proxy_||this.target_,name:e,type:Oo,newValue:t.value});if(!o)return null;var i=o.newValue;t.value!==i&&(t=bt({},t,{value:i}))}if(n){if(!Reflect.defineProperty(this.target_,e,t))return!1}else Ue(this.target_,e,t);this.notifyPropertyAddition_(e,t.value)}finally{Jn()}return!0},t.defineObservableProperty_=function(e,t,n,r){void 0===r&&(r=!1);try{Kn();var o=this.delete_(e);if(!o)return o;if(Jr(this)){var i=to(this,{object:this.proxy_||this.target_,name:e,type:Oo,newValue:t});if(!i)return null;t=i.newValue}var a=Lo(e),s={configurable:!Xn.safeDescriptors||this.isPlainObject_,enumerable:!0,get:a.get,set:a.set};if(r){if(!Reflect.defineProperty(this.target_,e,s))return!1}else Ue(this.target_,e,s);var l=new Cn(t,n,"ObservableObject.key",!1);this.values_.set(e,l),this.notifyPropertyAddition_(e,l.value_)}finally{Jn()}return!0},t.defineComputedProperty_=function(e,t,n){void 0===n&&(n=!1);try{Kn();var r=this.delete_(e);if(!r)return r;if(Jr(this))if(!to(this,{object:this.proxy_||this.target_,name:e,type:Oo,newValue:void 0}))return null;t.name||(t.name="ObservableObject.key"),t.context=this.proxy_||this.target_;var o=Lo(e),i={configurable:!Xn.safeDescriptors||this.isPlainObject_,enumerable:!1,get:o.get,set:o.set};if(n){if(!Reflect.defineProperty(this.target_,e,i))return!1}else Ue(this.target_,e,i);this.values_.set(e,new Dn(t)),this.notifyPropertyAddition_(e,void 0)}finally{Jn()}return!0},t.delete_=function(e,t){if(void 0===t&&(t=!1),!dt(this.target_,e))return!0;if(Jr(this)&&!to(this,{object:this.proxy_||this.target_,name:e,type:No}))return null;try{var n,r;Kn();var o,i=no(this),a=this.values_.get(e),s=void 0;if(!a&&i)s=null==(o=Fe(this.target_,e))?void 0:o.value;if(t){if(!Reflect.deleteProperty(this.target_,e))return!1}else delete this.target_[e];if(a&&(this.values_.delete(e),a instanceof Cn&&(s=a.value_),tr(a)),this.keysAtom_.reportChanged(),null==(n=this.pendingKeys_)||null==(r=n.get(e))||r.set(e in this.target_),i){var l={type:No,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:s,name:e};0,i&&oo(this,l)}}finally{Jn()}return!0},t.observe_=function(e,t){return ro(this,e)},t.intercept_=function(e){return eo(this,e)},t.notifyPropertyAddition_=function(e,t){var n,r,o=no(this);if(o){var i=o?{type:Oo,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;0,o&&oo(this,i)}null==(n=this.pendingKeys_)||null==(r=n.get(e))||r.set(!0),this.keysAtom_.reportChanged()},t.ownKeys_=function(){return this.keysAtom_.reportObserved(),ct(this.target_)},t.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e}();function jo(e,t){var n;if(dt(e,xt))return e;var r=null!=(n=null==t?void 0:t.name)?n:"ObservableObject",o=new To(e,new Map,String(r),function(e){var t;return e?null!=(t=e.defaultDecorator)?t:Qt(e):void 0}(t));return rt(e,xt,o),e}var Bo=it("ObservableObjectAdministration",To);function Lo(e){return Do[e]||(Do[e]={get:function(){return this[xt].getObservablePropValue_(e)},set:function(t){return this[xt].setObservablePropValue_(e,t)}})}function Ro(e){return!!et(e)&&Bo(e[xt])}function qo(e,t,n){var r;null==(r=e.target_[Ot])||delete r[n]}function Po(e,t,n){}var Io,Wo,Fo=$o(0),Uo=0,Zo=function(){};Io=Zo,Wo=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf(Io.prototype,Wo):void 0!==Io.prototype.__proto__?Io.prototype.__proto__=Wo:Io.prototype=Wo;var Ho=function(e,t,n){function r(t,n,r,o){var i;void 0===r&&(r="ObservableArray"),void 0===o&&(o=!1),i=e.call(this)||this;var a=new co(r,n,o,!0);if(a.proxy_=gt(i),ot(gt(i),xt,a),t&&t.length){var s=zn(!0);i.spliceWithArray(0,0,t),xn(s)}return Object.defineProperty(gt(i),"0",Fo),i}At(r,e);var o=r.prototype;return o.concat=function(){this[xt].atom_.reportObserved();for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Array.prototype.concat.apply(this.slice(),t.map((function(e){return yo(e)?e.slice():e})))},o[n]=function(){var e=this,t=0;return ri({next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0,value:void 0}}})},ht(r,[{key:"length",get:function(){return this[xt].getArrayLength_()},set:function(e){this[xt].setArrayLength_(e)}},{key:t,get:function(){return"Array"}}]),r}(Zo,Symbol.toStringTag,Symbol.iterator);function $o(e){return{enumerable:!1,configurable:!0,get:function(){return this[xt].get_(e)},set:function(t){this[xt].set_(e,t)}}}function Vo(e){Ue(Ho.prototype,""+e,$o(e))}function Xo(e){if(e>Uo){for(var t=Uo;t<e+100;t++)Vo(t);Uo=e}}function Qo(e,t,n){return new Ho(e,t,n)}function Yo(e,t){if("object"===typeof e&&null!==e){if(yo(e))return void 0!==t&&qe(23),e[xt].atom_;if(ko(e))return e.atom_;if(Co(e)){if(void 0===t)return e.keysAtom_;var n=e.data_.get(t)||e.hasMap_.get(t);return n||qe(25,t,Ko(e)),n}if(Ro(e)){if(!t)return qe(26);var r=e[xt].values_.get(t);return r||qe(27,t,Ko(e)),r}if(Ct(e)||Nn(e)||sr(e))return e}else if(Ke(e)&&sr(e[xt]))return e[xt];qe(28)}function Go(e,t){return e||qe(29),void 0!==t?Go(Yo(e,t)):Ct(e)||Nn(e)||sr(e)||Co(e)||ko(e)?e:e[xt]?e[xt]:void qe(24,e)}function Ko(e,t){var n;if(void 0!==t)n=Yo(e,t);else{if(vr(e))return e.name;n=Ro(e)||Co(e)||ko(e)?Go(e):Yo(e)}return n.name_}Object.entries(po).forEach((function(e){var t=e[0],n=e[1];"concat"!==t&&rt(Ho.prototype,t,n)})),Xo(1e3);var Jo=Ze.toString;function ei(e,t,n){return void 0===n&&(n=-1),ti(e,t,n)}function ti(e,t,n,r,o){if(e===t)return 0!==e||1/e===1/t;if(null==e||null==t)return!1;if(e!==e)return t!==t;var i=typeof e;if("function"!==i&&"object"!==i&&"object"!=typeof t)return!1;var a=Jo.call(e);if(a!==Jo.call(t))return!1;switch(a){case"[object RegExp]":case"[object String]":return""+e===""+t;case"[object Number]":return+e!==+e?+t!==+t:0===+e?1/+e===1/t:+e===+t;case"[object Date]":case"[object Boolean]":return+e===+t;case"[object Symbol]":return"undefined"!==typeof Symbol&&Symbol.valueOf.call(e)===Symbol.valueOf.call(t);case"[object Map]":case"[object Set]":n>=0&&n++}e=ni(e),t=ni(t);var s="[object Array]"===a;if(!s){if("object"!=typeof e||"object"!=typeof t)return!1;var l=e.constructor,c=t.constructor;if(l!==c&&!(Ke(l)&&l instanceof l&&Ke(c)&&c instanceof c)&&"constructor"in e&&"constructor"in t)return!1}if(0===n)return!1;n<0&&(n=-1),o=o||[];for(var u=(r=r||[]).length;u--;)if(r[u]===e)return o[u]===t;if(r.push(e),o.push(t),s){if((u=e.length)!==t.length)return!1;for(;u--;)if(!ti(e[u],t[u],n-1,r,o))return!1}else{var d,p=Object.keys(e);if(u=p.length,Object.keys(t).length!==u)return!1;for(;u--;)if(!dt(t,d=p[u])||!ti(e[d],t[d],n-1,r,o))return!1}return r.pop(),o.pop(),!0}function ni(e){return yo(e)?e.slice():at(e)||Co(e)||st(e)||ko(e)?Array.from(e.entries()):e}function ri(e){return e[Symbol.iterator]=oi,e}function oi(){return this}["Symbol","Map","Set"].forEach((function(e){"undefined"===typeof Ie()[e]&&qe("MobX requires global '"+e+"' to be available or polyfilled")})),"object"===typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:function(e){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}},extras:{getDebugName:Ko},$mobx:xt});var ii,ai="warn";function si(){return ai}!function(e){e.afterCreate="afterCreate",e.afterAttach="afterAttach",e.afterCreationFinalization="afterCreationFinalization",e.beforeDetach="beforeDetach",e.beforeDestroy="beforeDestroy"}(ii||(ii={}));var li=function(e,t){return li=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},li(e,t)};function ci(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}li(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var ui=function(){return ui=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},ui.apply(this,arguments)};function di(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function pi(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function fi(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(pi(arguments[t]));return e}function hi(e){return ea(e,1),ta(e).type}function bi(e,t){ea(e,1),Ca(t,(function(e){return"object"===typeof e}),"object or array",2),ta(e).applyPatches(ha(t))}function Ai(e,t){void 0===t&&(t=!0),ea(e,1);var n=ta(e);return t?n.snapshot:ga(n.type.getSnapshot(n,!1))}function mi(e,t){void 0===t&&(t=1),ea(e,1),Ea(t,2,0);for(var n=t,r=ta(e).parent;r;){if(0===--n)return r.storedValue;r=r.parent}throw ua("Failed to find the parent of "+ta(e)+" at depth "+t)}function gi(e){return ea(e,1),ta(e).root.storedValue}var vi=function(){function e(e,t,n,r){Object.defineProperty(this,"type",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"environment",{enumerable:!0,configurable:!0,writable:!0,value:r}),Object.defineProperty(this,"_escapedSubpath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_subpath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_subpathUponDeath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_pathUponDeath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"storedValue",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"aliveAtom",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_state",{enumerable:!0,configurable:!0,writable:!0,value:Xi.INITIALIZING}),Object.defineProperty(this,"_hookSubscribers",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_parent",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"pathAtom",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.environment=r,this.baseSetParent(t,n)}return Object.defineProperty(e.prototype,"subpath",{get:function(){return this._subpath},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"subpathUponDeath",{get:function(){return this._subpathUponDeath},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"pathUponDeath",{get:function(){return this._pathUponDeath},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this.type.getValue(this)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"state",{get:function(){return this._state},set:function(e){var t=this.isAlive;this._state=e;var n=this.isAlive;this.aliveAtom&&t!==n&&this.aliveAtom.reportChanged()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"fireInternalHook",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this._hookSubscribers&&this._hookSubscribers.emit(e,this,e)}}),Object.defineProperty(e.prototype,"registerHook",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){return this._hookSubscribers||(this._hookSubscribers=new Oa),this._hookSubscribers.register(e,t)}}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"getReconciliationType",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this.type}}),Object.defineProperty(e.prototype,"baseSetParent",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){this._parent=e,this._subpath=t,this._escapedSubpath=void 0,this.pathAtom&&this.pathAtom.reportChanged()}}),Object.defineProperty(e.prototype,"path",{get:function(){return this.getEscapedPath(!0)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"getEscapedPath",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return e&&(this.pathAtom||(this.pathAtom=St("path")),this.pathAtom.reportObserved()),this.parent?(void 0===this._escapedSubpath&&(this._escapedSubpath=this._subpath?Ba(this._subpath):""),this.parent.getEscapedPath(e)+"/"+this._escapedSubpath):""}}),Object.defineProperty(e.prototype,"isRoot",{get:function(){return null===this.parent},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isAlive",{get:function(){return this.state!==Xi.DEAD},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isDetaching",{get:function(){return this.state===Xi.DETACHING},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"observableIsAlive",{get:function(){return this.aliveAtom||(this.aliveAtom=St("alive")),this.aliveAtom.reportObserved(),this.isAlive},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"baseFinalizeCreation",{enumerable:!1,configurable:!0,writable:!0,value:function(e){if(this.state===Xi.CREATED){if(this.parent){if(this.parent.state!==Xi.FINALIZED)return;this.fireHook(ii.afterAttach)}this.state=Xi.FINALIZED,e&&e()}}}),Object.defineProperty(e.prototype,"baseFinalizeDeath",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._hookSubscribers&&this._hookSubscribers.clearAll(),this._subpathUponDeath=this._subpath,this._pathUponDeath=this.getEscapedPath(!1),this.baseSetParent(null,""),this.state=Xi.DEAD}}),Object.defineProperty(e.prototype,"baseAboutToDie",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.fireHook(ii.beforeDestroy)}}),e}(),yi=function(e){function t(t,n,r,o,i){var a=e.call(this,t,n,r,o)||this;try{a.storedValue=t.createNewInstance(i)}catch(AE){throw a.state=Xi.DEAD,AE}return a.state=Xi.CREATED,a.finalizeCreation(),a}return ci(t,e),Object.defineProperty(t.prototype,"root",{get:function(){if(!this.parent)throw ua("This scalar node is not part of a tree");return this.parent.root},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"setParent",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var n=this.parent!==e,r=this.subpath!==t;(n||r)&&(this.environment=void 0,this.baseSetParent(this.parent,t))}}),Object.defineProperty(t.prototype,"snapshot",{get:function(){return ga(this.getSnapshot())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"getSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this.type.getSnapshot(this)}}),Object.defineProperty(t.prototype,"toString",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=(this.isAlive?this.path:this.pathUponDeath)||"<root>";return this.type.name+"@"+e+(this.isAlive?"":" [dead]")}}),Object.defineProperty(t.prototype,"die",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.isAlive&&this.state!==Xi.DETACHING&&(this.aboutToDie(),this.finalizeDeath())}}),Object.defineProperty(t.prototype,"finalizeCreation",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.baseFinalizeCreation()}}),Object.defineProperty(t.prototype,"aboutToDie",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.baseAboutToDie()}}),Object.defineProperty(t.prototype,"finalizeDeath",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.baseFinalizeDeath()}}),Object.defineProperty(t.prototype,"fireHook",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.fireInternalHook(e)}}),t}(vi);yi.prototype.die=Ar(yi.prototype.die);var Mi,Oi,_i=1,zi={onError:function(e){throw e}},xi=function(e){function t(t,n,r,o,i){var a=e.call(this,t,n,r,o)||this;if(Object.defineProperty(a,"nodeId",{enumerable:!0,configurable:!0,writable:!0,value:++_i}),Object.defineProperty(a,"identifierAttribute",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(a,"identifier",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(a,"unnormalizedIdentifier",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(a,"identifierCache",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(a,"isProtectionEnabled",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(a,"middlewares",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(a,"_applyPatches",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(a,"_applySnapshot",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(a,"_autoUnbox",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(a,"_isRunningAction",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(a,"_hasSnapshotReaction",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(a,"_observableInstanceState",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(a,"_childNodes",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(a,"_initialSnapshot",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(a,"_cachedInitialSnapshot",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(a,"_cachedInitialSnapshotCreated",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(a,"_snapshotComputed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(a,"_snapshotUponDeath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(a,"_internalEvents",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),a._snapshotComputed=bn((function(){return ga(a.getSnapshot())})),a.unbox=a.unbox.bind(a),a._initialSnapshot=ga(i),a.identifierAttribute=t.identifierAttribute,n||(a.identifierCache=new Yi),a._childNodes=t.initializeChildNodes(a,a._initialSnapshot),a.identifier=null,a.unnormalizedIdentifier=null,a.identifierAttribute&&a._initialSnapshot){var s=a._initialSnapshot[a.identifierAttribute];if(void 0===s){var l=a._childNodes[a.identifierAttribute];l&&(s=l.value)}if("string"!==typeof s&&"number"!==typeof s)throw ua("Instance identifier '"+a.identifierAttribute+"' for type '"+a.type.name+"' must be a string or a number");a.identifier=Rs(s),a.unnormalizedIdentifier=s}return n?n.root.identifierCache.addNodeToCache(a):a.identifierCache.addNodeToCache(a),a}return ci(t,e),Object.defineProperty(t.prototype,"applyPatches",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.createObservableInstanceIfNeeded(),this._applyPatches(e)}}),Object.defineProperty(t.prototype,"applySnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.createObservableInstanceIfNeeded(),this._applySnapshot(e)}}),Object.defineProperty(t.prototype,"createObservableInstanceIfNeeded",{enumerable:!1,configurable:!0,writable:!0,value:function(){0===this._observableInstanceState&&this.createObservableInstance()}}),Object.defineProperty(t.prototype,"createObservableInstance",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e,t;this._observableInstanceState=1;for(var n=[],r=this.parent;r&&0===r._observableInstanceState;)n.unshift(r),r=r.parent;try{for(var o=di(n),i=o.next();!i.done;i=o.next()){i.value.createObservableInstanceIfNeeded()}}catch(s){e={error:s}}finally{try{i&&!i.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}var a=this.type;try{this.storedValue=a.createNewInstance(this._childNodes),this.preboot(),this._isRunningAction=!0,a.finalizeNewInstance(this,this.storedValue)}catch(AE){throw this.state=Xi.DEAD,AE}finally{this._isRunningAction=!1}this._observableInstanceState=2,this._snapshotComputed.trackAndCompute(),this.isRoot&&this._addSnapshotReaction(),this._childNodes=la,this.state=Xi.CREATED,this.fireHook(ii.afterCreate),this.finalizeCreation()}}),Object.defineProperty(t.prototype,"root",{get:function(){var e=this.parent;return e?e.root:this},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"clearParent",{enumerable:!1,configurable:!0,writable:!0,value:function(){if(this.parent){this.fireHook(ii.beforeDetach);var e=this.state;this.state=Xi.DETACHING;var t=this.root,n=t.environment,r=t.identifierCache.splitCache(this);try{this.parent.removeChild(this.subpath),this.baseSetParent(null,""),this.environment=n,this.identifierCache=r}finally{this.state=e}}}}),Object.defineProperty(t.prototype,"setParent",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var n=e!==this.parent,r=t!==this.subpath;(n||r)&&(n?(this.environment=void 0,e.root.identifierCache.mergeCache(this),this.baseSetParent(e,t),this.fireHook(ii.afterAttach)):r&&this.baseSetParent(this.parent,t))}}),Object.defineProperty(t.prototype,"fireHook",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this;this.fireInternalHook(e);var n=this.storedValue&&"object"===typeof this.storedValue&&this.storedValue[e];"function"===typeof n&&(gr?gr((function(){n.apply(t.storedValue)})):n.apply(this.storedValue))}}),Object.defineProperty(t.prototype,"snapshot",{get:function(){return this._snapshotComputed.get()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"getSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this.isAlive?2===this._observableInstanceState?this._getActualSnapshot():this._getCachedInitialSnapshot():this._snapshotUponDeath}}),Object.defineProperty(t.prototype,"_getActualSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this.type.getSnapshot(this)}}),Object.defineProperty(t.prototype,"_getCachedInitialSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(){if(!this._cachedInitialSnapshotCreated){var e=this.type,t=this._childNodes,n=this._initialSnapshot;this._cachedInitialSnapshot=e.processInitialSnapshot(t,n),this._cachedInitialSnapshotCreated=!0}return this._cachedInitialSnapshot}}),Object.defineProperty(t.prototype,"isRunningAction",{enumerable:!1,configurable:!0,writable:!0,value:function(){return!!this._isRunningAction||!this.isRoot&&this.parent.isRunningAction()}}),Object.defineProperty(t.prototype,"assertAlive",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=si();if(!this.isAlive&&"ignore"!==t){var n=this._getAssertAliveError(e);switch(t){case"error":throw ua(n);case"warn":wa(n)}}}}),Object.defineProperty(t.prototype,"_getAssertAliveError",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this.getEscapedPath(!1)||this.pathUponDeath||"",n=e.subpath&&Ba(e.subpath)||"",r=e.actionContext||Bi();r&&"action"!==r.type&&r.parentActionEvent&&(r=r.parentActionEvent);var o,i="";r&&null!=r.name&&(i=(r&&r.context&&(ea(o=r.context,1),ta(o).path)||t)+"."+r.name+"()");return"You are trying to read or write to an object that is no longer part of a state tree. (Object type: '"+this.type.name+"', Path upon death: '"+t+"', Subpath: '"+n+"', Action: '"+i+"'). Either detach nodes first, or don't use objects after removing / replacing them in the tree."}}),Object.defineProperty(t.prototype,"getChildNode",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.assertAlive({subpath:e}),this._autoUnbox=!1;try{return 2===this._observableInstanceState?this.type.getChildNode(this,e):this._childNodes[e]}finally{this._autoUnbox=!0}}}),Object.defineProperty(t.prototype,"getChildren",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.assertAlive(la),this._autoUnbox=!1;try{return 2===this._observableInstanceState?this.type.getChildren(this):ia(this._childNodes)}finally{this._autoUnbox=!0}}}),Object.defineProperty(t.prototype,"getChildType",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this.type.getChildType(e)}}),Object.defineProperty(t.prototype,"isProtected",{get:function(){return this.root.isProtectionEnabled},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"assertWritable",{enumerable:!1,configurable:!0,writable:!0,value:function(e){if(this.assertAlive(e),!this.isRunningAction()&&this.isProtected)throw ua("Cannot modify '"+this+"', the object is protected and can only be modified by using an action.")}}),Object.defineProperty(t.prototype,"removeChild",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.type.removeChild(this,e)}}),Object.defineProperty(t.prototype,"unbox",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return e?(this.assertAlive({subpath:e.subpath||e.subpathUponDeath}),this._autoUnbox?e.value:e):e}}),Object.defineProperty(t.prototype,"toString",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=(this.isAlive?this.path:this.pathUponDeath)||"<root>",t=this.identifier?"(id: "+this.identifier+")":"";return this.type.name+"@"+e+t+(this.isAlive?"":" [dead]")}}),Object.defineProperty(t.prototype,"finalizeCreation",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this;this.baseFinalizeCreation((function(){var t,n;try{for(var r=di(e.getChildren()),o=r.next();!o.done;o=r.next()){o.value.finalizeCreation()}}catch(i){t={error:i}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}e.fireInternalHook(ii.afterCreationFinalization)}))}}),Object.defineProperty(t.prototype,"detach",{enumerable:!1,configurable:!0,writable:!0,value:function(){if(!this.isAlive)throw ua("Error while detaching, node is not alive.");this.clearParent()}}),Object.defineProperty(t.prototype,"preboot",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this;this._applyPatches=Pi(this.storedValue,"@APPLY_PATCHES",(function(t){t.forEach((function(t){if(t.path){var n=qa(t.path);oa(e,n.slice(0,-1)).applyPatchLocally(n[n.length-1],t)}else e.type.applySnapshot(e,t.value)}))})),this._applySnapshot=Pi(this.storedValue,"@APPLY_SNAPSHOT",(function(t){if(t!==e.snapshot)return e.type.applySnapshot(e,t)})),ya(this.storedValue,"$treenode",this),ya(this.storedValue,"toJSON",ra)}}),Object.defineProperty(t.prototype,"die",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.isAlive&&this.state!==Xi.DETACHING&&(this.aboutToDie(),this.finalizeDeath())}}),Object.defineProperty(t.prototype,"aboutToDie",{enumerable:!1,configurable:!0,writable:!0,value:function(){0!==this._observableInstanceState&&(this.getChildren().forEach((function(e){e.aboutToDie()})),this.baseAboutToDie(),this._internalEventsEmit("dispose"),this._internalEventsClear("dispose"))}}),Object.defineProperty(t.prototype,"finalizeDeath",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.getChildren().forEach((function(e){e.finalizeDeath()})),this.root.identifierCache.notifyDied(this);var e=this.snapshot;this._snapshotUponDeath=e,this._internalEventsClearAll(),this.baseFinalizeDeath()}}),Object.defineProperty(t.prototype,"onSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this._addSnapshotReaction(),this._internalEventsRegister("snapshot",e)}}),Object.defineProperty(t.prototype,"emitSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this._internalEventsEmit("snapshot",e)}}),Object.defineProperty(t.prototype,"onPatch",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this._internalEventsRegister("patch",e)}}),Object.defineProperty(t.prototype,"emitPatch",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){if(this._internalEventsHasSubscribers("patch")){var n=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0;r<t.length;r++){var o=t[r];for(var i in o)e[i]=o[i]}return e}({},e,{path:t.path.substr(this.path.length)+"/"+e.path}),r=pi(function(e){if(!("oldValue"in e))throw ua("Patches without `oldValue` field cannot be inversed");return[Ta(e),ja(e)]}(n),2),o=r[0],i=r[1];this._internalEventsEmit("patch",o,i)}this.parent&&this.parent.emitPatch(e,t)}}),Object.defineProperty(t.prototype,"hasDisposer",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this._internalEventsHas("dispose",e)}}),Object.defineProperty(t.prototype,"addDisposer",{enumerable:!1,configurable:!0,writable:!0,value:function(e){if(this.hasDisposer(e))throw ua("cannot add a disposer when it is already registered for execution");this._internalEventsRegister("dispose",e,!0)}}),Object.defineProperty(t.prototype,"removeDisposer",{enumerable:!1,configurable:!0,writable:!0,value:function(e){if(!this._internalEventsHas("dispose",e))throw ua("cannot remove a disposer which was never registered for execution");this._internalEventsUnregister("dispose",e)}}),Object.defineProperty(t.prototype,"removeMiddleware",{enumerable:!1,configurable:!0,writable:!0,value:function(e){if(this.middlewares){var t=this.middlewares.indexOf(e);t>=0&&this.middlewares.splice(t,1)}}}),Object.defineProperty(t.prototype,"addMiddleWare",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var n=this;void 0===t&&(t=!0);var r={handler:e,includeHooks:t};return this.middlewares?this.middlewares.push(r):this.middlewares=[r],function(){n.removeMiddleware(r)}}}),Object.defineProperty(t.prototype,"applyPatchLocally",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){this.assertWritable({subpath:e}),this.createObservableInstanceIfNeeded(),this.type.applyPatchLocally(this,e,t)}}),Object.defineProperty(t.prototype,"_addSnapshotReaction",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this;if(!this._hasSnapshotReaction){var t=function(e,t,n){var r;void 0===n&&(n=$e);var o,i,a,s,l=null!=(r=n.name)?r:"Reaction",c=Ar(l,n.onError?(o=n.onError,i=t,function(){try{return i.apply(this,arguments)}catch(AE){o.call(this,AE)}}):t),u=!n.scheduler&&!n.delay,d=Or(n),p=!0,f=!1,h=n.compareStructural?Et.structural:n.equals||Et.default,b=new nr(l,(function(){p||u?A():f||(f=!0,d(A))}),n.onError,n.requiresObservable);function A(){if(f=!1,!b.isDisposed_){var t=!1;b.track((function(){var n=_n(!1,(function(){return e(b)}));t=p||!h(a,n),s=a,a=n})),(p&&n.fireImmediately||!p&&t)&&c(a,s,b),p=!1}}return b.schedule_(),b.getDisposer_()}((function(){return e.snapshot}),(function(t){return e.emitSnapshot(t)}),zi);this.addDisposer(t),this._hasSnapshotReaction=!0}}}),Object.defineProperty(t.prototype,"_internalEventsHasSubscribers",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return!!this._internalEvents&&this._internalEvents.hasSubscribers(e)}}),Object.defineProperty(t.prototype,"_internalEventsRegister",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n){return void 0===n&&(n=!1),this._internalEvents||(this._internalEvents=new Oa),this._internalEvents.register(e,t,n)}}),Object.defineProperty(t.prototype,"_internalEventsHas",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){return!!this._internalEvents&&this._internalEvents.has(e,t)}}),Object.defineProperty(t.prototype,"_internalEventsUnregister",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){this._internalEvents&&this._internalEvents.unregister(e,t)}}),Object.defineProperty(t.prototype,"_internalEventsEmit",{enumerable:!1,configurable:!0,writable:!0,value:function(e){for(var t,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];this._internalEvents&&(t=this._internalEvents).emit.apply(t,fi([e],n))}}),Object.defineProperty(t.prototype,"_internalEventsClear",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this._internalEvents&&this._internalEvents.clear(e)}}),Object.defineProperty(t.prototype,"_internalEventsClearAll",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._internalEvents&&this._internalEvents.clearAll()}}),t}(vi);xi.prototype.createObservableInstance=Ar(xi.prototype.createObservableInstance),xi.prototype.detach=Ar(xi.prototype.detach),xi.prototype.die=Ar(xi.prototype.die),function(e){e[e.String=1]="String",e[e.Number=2]="Number",e[e.Boolean=4]="Boolean",e[e.Date=8]="Date",e[e.Literal=16]="Literal",e[e.Array=32]="Array",e[e.Map=64]="Map",e[e.Object=128]="Object",e[e.Frozen=256]="Frozen",e[e.Optional=512]="Optional",e[e.Reference=1024]="Reference",e[e.Identifier=2048]="Identifier",e[e.Late=4096]="Late",e[e.Refinement=8192]="Refinement",e[e.Union=16384]="Union",e[e.Null=32768]="Null",e[e.Undefined=65536]="Undefined",e[e.Integer=131072]="Integer",e[e.Custom=262144]="Custom",e[e.SnapshotProcessor=524288]="SnapshotProcessor"}(Oi||(Oi={}));var wi="cannotDetermine",Ci=Symbol("$type"),Si=function(){function e(e){Object.defineProperty(this,Mi,{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"C",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"S",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"T",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"N",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"isType",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name=e}return Object.defineProperty(e.prototype,"create",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){return Vi(this,e),this.instantiate(null,"",t,e).value}}),Object.defineProperty(e.prototype,"getSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){throw ua("unimplemented method")}}),Object.defineProperty(e.prototype,"isAssignableFrom",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return e===this}}),Object.defineProperty(e.prototype,"validate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){if(na(e)){var n=hi(e);return this.isAssignableFrom(n)?Zi():Hi(t,e)}return this.isValidSnapshot(e,t)}}),Object.defineProperty(e.prototype,"is",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return 0===this.validate(e,[{path:"",type:this}]).length}}),Object.defineProperty(e.prototype,"Type",{get:function(){throw ua("Factory.Type should not be actually called. It is just a Type signature that can be used at compile time with Typescript, by using `typeof type.Type`")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"TypeWithoutSTN",{get:function(){throw ua("Factory.TypeWithoutSTN should not be actually called. It is just a Type signature that can be used at compile time with Typescript, by using `typeof type.TypeWithoutSTN`")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"SnapshotType",{get:function(){throw ua("Factory.SnapshotType should not be actually called. It is just a Type signature that can be used at compile time with Typescript, by using `typeof type.SnapshotType`")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"CreationType",{get:function(){throw ua("Factory.CreationType should not be actually called. It is just a Type signature that can be used at compile time with Typescript, by using `typeof type.CreationType`")},enumerable:!1,configurable:!0}),e}();Mi=Ci,Si.prototype.create=Ar(Si.prototype.create);var Ei=function(e){function t(t){var n=e.call(this,t)||this;return Object.defineProperty(n,"identifierAttribute",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),n}return ci(t,e),Object.defineProperty(t.prototype,"create",{enumerable:!1,configurable:!0,writable:!0,value:function(t,n){return void 0===t&&(t=this.getDefaultSnapshot()),e.prototype.create.call(this,t,n)}}),Object.defineProperty(t.prototype,"getValue",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return e.createObservableInstanceIfNeeded(),e.storedValue}}),Object.defineProperty(t.prototype,"isMatchingSnapshotId",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){return!e.identifierAttribute||e.identifier===Rs(t[e.identifierAttribute])}}),Object.defineProperty(t.prototype,"tryToReconcileNode",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){return!e.isDetaching&&(e.snapshot===t||(!(!Ji(t)||ta(t)!==e)||!(e.type!==this||!Aa(t)||Ji(t)||!this.isMatchingSnapshotId(e,t))&&(e.applySnapshot(t),!0)))}}),Object.defineProperty(t.prototype,"reconcile",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){if(this.tryToReconcileNode(e,t))return e.setParent(n,r),e;if(e.die(),Ji(t)&&this.isAssignableFrom(hi(t))){var o=ta(t);return o.setParent(n,r),o}return this.instantiate(n,r,void 0,t)}}),Object.defineProperty(t.prototype,"getSubTypes",{enumerable:!1,configurable:!0,writable:!0,value:function(){return null}}),t}(Si);Ei.prototype.create=Ar(Ei.prototype.create);var ki=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ci(t,e),Object.defineProperty(t.prototype,"createNewInstance",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return e}}),Object.defineProperty(t.prototype,"getValue",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return e.storedValue}}),Object.defineProperty(t.prototype,"getSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return e.storedValue}}),Object.defineProperty(t.prototype,"reconcile",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){if(!e.isDetaching&&e.type===this&&e.storedValue===t)return e;var o=this.instantiate(n,r,void 0,t);return e.die(),o}}),Object.defineProperty(t.prototype,"getSubTypes",{enumerable:!1,configurable:!0,writable:!0,value:function(){return null}}),t}(Si);function Di(e){return"object"===typeof e&&e&&!0===e.isType}function Ni(e,t){Ca(e,Di,"mobx-state-tree type",t)}new Map;!function(){function e(e,t){Object.defineProperty(this,"hooks",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"call",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(this,"flowsPending",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"running",{enumerable:!0,configurable:!0,writable:!0,value:!0}),e&&e.onStart(t)}Object.defineProperty(e.prototype,"finish",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.running&&(this.running=!1,this.hooks&&this.hooks.onFinish(this.call,e))}}),Object.defineProperty(e.prototype,"incFlowsPending",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.flowsPending++}}),Object.defineProperty(e.prototype,"decFlowsPending",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.flowsPending--}}),Object.defineProperty(e.prototype,"hasFlowsPending",{get:function(){return this.flowsPending>0},enumerable:!1,configurable:!0})}();var Ti,ji=1;function Bi(){return Ti}function Li(){return ji++}function Ri(e,t){var n=ta(e.context);"action"===e.type&&n.assertAlive({actionContext:e});var r=n._isRunningAction;n._isRunningAction=!0;var o=Ti;Ti=e;try{return function(e,t,n){var r=new Ii(e,n);if(r.isEmpty)return Ar(n).apply(null,t.args);var o=null;function i(e){var t=r.getNextMiddleware(),a=t&&t.handler;if(!a)return Ar(n).apply(null,e.args);if(!t.includeHooks&&ii[e.name])return i(e);function s(e,t){!0,o=i(e),t&&(o=t(o))}function l(e){!0,o=e}return a(e,s,l),o}return i(t)}(n,e,t)}finally{Ti=o,n._isRunningAction=r}}function qi(e){if(e)return"action"===e.type?e:e.parentActionEvent}function Pi(e,t,n){var r=function(){var r=Li(),o=Ti,i=qi(o);return Ri({type:"action",name:t,id:r,args:_a(arguments),context:e,tree:gi(e),rootId:o?o.rootId:r,parentId:o?o.id:0,allParentIds:o?fi(o.allParentIds,[o.id]):[],parentEvent:o,parentActionEvent:i},n)};return r._isMSTAction=!0,r}var Ii=function(){function e(e,t){Object.defineProperty(this,"arrayIndex",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"inArrayIndex",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"middlewares",{enumerable:!0,configurable:!0,writable:!0,value:[]}),t.$mst_middleware&&this.middlewares.push(t.$mst_middleware);for(var n=e;n;)n.middlewares&&this.middlewares.push(n.middlewares),n=n.parent}return Object.defineProperty(e.prototype,"isEmpty",{get:function(){return this.middlewares.length<=0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"getNextMiddleware",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.middlewares[this.arrayIndex];if(e){var t=e[this.inArrayIndex++];return t||(this.arrayIndex++,this.inArrayIndex=0,this.getNextMiddleware())}}}),e}();function Wi(e){return"function"===typeof e?"<function"+(e.name?" "+e.name:"")+">":Ji(e)?"<"+e+">":"`"+function(e){try{return JSON.stringify(e)}catch(AE){return"<Unserializable: "+AE+">"}}(e)+"`"}function Fi(e){var t=e.value,n=e.context[e.context.length-1].type,r=e.context.map((function(e){return e.path})).filter((function(e){return e.length>0})).join("/"),o=r.length>0?'at path "/'+r+'" ':"",i=Ji(t)?"value of type "+ta(t).type.name+":":ma(t)?"value":"snapshot",a=n&&Ji(t)&&n.is(ta(t).snapshot);return""+o+i+" "+Wi(t)+" is not assignable "+(n?"to type: `"+n.name+"`":"")+(e.message?" ("+e.message+")":"")+(n?function(e){return Di(e)&&(e.flags&(Oi.String|Oi.Number|Oi.Integer|Oi.Boolean|Oi.Date))>0}(n)||ma(t)?".":", expected an instance of `"+n.name+"` or a snapshot like `"+n.describe()+"` instead."+(a?" (Note that a snapshot of the provided value is compatible with the targeted type)":""):".")}function Ui(e,t,n){return e.concat([{path:t,type:n}])}function Zi(){return sa}function Hi(e,t,n){return[{context:e,value:t,message:n}]}function $i(e){return e.reduce((function(e,t){return e.concat(t)}),[])}function Vi(e,t){"undefined"!==typeof process&&"true"==={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_STRIPE_PUBLIC_KEY:"pk_live_51LPMPQLuStyVivuvJoKJU2JQFmFuVdvBB2TV4cmdY8g29ME4fqUEQsH25zKTvNTVga3QzQCE6Gi9E4BCWRLUIuC0003eyqqqRH",REACT_APP_SHA:"5fdfcccf20bfda563f5e09c678f489cbd56e4fca",REACT_APP_MAPBOX:"pk.eyJ1Ijoic2dvbGRpayIsImEiOiJjbDJoY29iYmkwY2twM2RxaG01ZmdrMzRhIn0.8UV6n5zz6Z2ARO7fSLzWBg",REACT_APP_DOMAINS_REDIRECT_TO_WWW:"aesthetidocs.com",REACT_APP_API_URL:"https://api.aesthetidocs.com"}.ENABLE_TYPE_CHECK&&function(e,t){var n=e.validate(t,[{path:"",type:e}]);if(n.length>0)throw ua(function(e,t,n){if(0===n.length)return;return"Error while converting "+(r=Wi(t),(r.length<280?r:r.substring(0,272)+"......"+r.substring(r.length-8))+" to `")+e.name+"`:\n\n    "+n.map(Fi).join("\n    ");var r}(e,t,n))}(e,t)}var Xi,Qi=0,Yi=function(){function e(){Object.defineProperty(this,"cacheId",{enumerable:!0,configurable:!0,writable:!0,value:Qi++}),Object.defineProperty(this,"cache",{enumerable:!0,configurable:!0,writable:!0,value:dn.map()}),Object.defineProperty(this,"lastCacheModificationPerId",{enumerable:!0,configurable:!0,writable:!0,value:dn.map()})}return Object.defineProperty(e.prototype,"updateLastCacheModificationPerId",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this.lastCacheModificationPerId.get(e);this.lastCacheModificationPerId.set(e,void 0===t?1:t+1)}}),Object.defineProperty(e.prototype,"getLastCacheModificationPerId",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this.lastCacheModificationPerId.get(e)||0;return this.cacheId+"-"+t}}),Object.defineProperty(e.prototype,"addNodeToCache",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){if(void 0===t&&(t=!0),e.identifierAttribute){var n=e.identifier;this.cache.has(n)||this.cache.set(n,dn.array([],ca));var r=this.cache.get(n);if(-1!==r.indexOf(e))throw ua("Already registered");r.push(e),t&&this.updateLastCacheModificationPerId(n)}}}),Object.defineProperty(e.prototype,"mergeCache",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this;$r(e.identifierCache.cache).forEach((function(e){return e.forEach((function(e){t.addNodeToCache(e)}))}))}}),Object.defineProperty(e.prototype,"notifyDied",{enumerable:!1,configurable:!0,writable:!0,value:function(e){if(e.identifierAttribute){var t=e.identifier,n=this.cache.get(t);n&&(n.remove(e),n.length||this.cache.delete(t),this.updateLastCacheModificationPerId(e.identifier))}}}),Object.defineProperty(e.prototype,"splitCache",{enumerable:!1,configurable:!0,writable:!0,value:function(t){var n,r=this,o=new e,i=t.path;return(n=this.cache,Ro(n)?Hr(n).map((function(e){return[e,n[e]]})):Co(n)?Hr(n).map((function(e){return[e,n.get(e)]})):ko(n)?Array.from(n.entries()):yo(n)?n.map((function(e,t){return[t,e]})):void qe(7)).forEach((function(e){for(var t=pi(e,2),n=t[0],a=t[1],s=!1,l=a.length-1;l>=0;l--)0===a[l].path.indexOf(i)&&(o.addNodeToCache(a[l],!1),a.splice(l,1),s=!0);s&&r.updateLastCacheModificationPerId(n)})),o}}),Object.defineProperty(e.prototype,"has",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var n=this.cache.get(t);return!!n&&n.some((function(t){return e.isAssignableFrom(t.type)}))}}),Object.defineProperty(e.prototype,"resolve",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var n=this.cache.get(t);if(!n)return null;var r=n.filter((function(t){return e.isAssignableFrom(t.type)}));switch(r.length){case 0:return null;case 1:return r[0];default:throw ua("Cannot resolve a reference to type '"+e.name+"' with id: '"+t+"' unambigously, there are multiple candidates: "+r.map((function(e){return e.path})).join(", "))}}}),e}();function Gi(e,t,n,r,o){var i=na(o);if(i){if(i.parent)throw ua("Cannot add an object to a state tree if it is already part of the same or another state tree. Tried to assign an object to '"+(t?t.path:"")+"/"+n+"', but it lives already at '"+i.path+"'");return t&&i.setParent(t,n),i}return new xi(e,t,n,r,o)}function Ki(e,t,n,r,o){return new yi(e,t,n,r,o)}function Ji(e){return!(!e||!e.$treenode)}function ea(e,t){Ca(e,Ji,"mobx-state-tree node",t)}function ta(e){if(!Ji(e))throw ua("Value "+e+" is no MST Node");return e.$treenode}function na(e){return e&&e.$treenode||null}function ra(){return ta(this).snapshot}!function(e){e[e.INITIALIZING=0]="INITIALIZING",e[e.CREATED=1]="CREATED",e[e.FINALIZED=2]="FINALIZED",e[e.DETACHING=3]="DETACHING",e[e.DEAD=4]="DEAD"}(Xi||(Xi={}));function oa(e,t,n){void 0===n&&(n=!0);for(var r=e,o=0;o<t.length;o++){var i=t[o];if(".."===i){if(r=r.parent)continue}else{if("."===i)continue;if(r){if(r instanceof yi)try{var a=r.value;Ji(a)&&(r=ta(a))}catch(AE){if(!n)return;throw AE}if(r instanceof xi)if(r.getChildType(i)&&(r=r.getChildNode(i)))continue}}if(n)throw ua("Could not resolve '"+i+"' in path '"+(Ra(t.slice(0,o))||"/")+"' while resolving '"+Ra(t)+"'");return}return r}function ia(e){if(!e)return sa;var t=Object.keys(e);if(!t.length)return sa;var n=new Array(t.length);return t.forEach((function(t,r){n[r]=e[t]})),n}var aa=Object.toString(),sa=Object.freeze([]),la=Object.freeze({}),ca=Xn.useProxies?{deep:!1}:{deep:!1,proxy:!1};function ua(e){return void 0===e&&(e="Illegal state"),new Error("[mobx-state-tree] "+e)}function da(e){return e}Object.freeze(ca);var pa=Number.isInteger||function(e){return"number"===typeof e&&isFinite(e)&&Math.floor(e)===e};function fa(e){return Array.isArray(e)||yo(e)}function ha(e){return e?fa(e)?e:[e]:sa}function ba(e){var t;if(null===e||"object"!==typeof e)return!1;var n=Object.getPrototypeOf(e);return null==n||(null===(t=n.constructor)||void 0===t?void 0:t.toString())===aa}function Aa(e){return null!==e&&"object"===typeof e&&!(e instanceof Date)&&!(e instanceof RegExp)}function ma(e,t){return void 0===t&&(t=!0),null===e||void 0===e||"string"===typeof e||"number"===typeof e||"boolean"===typeof e||t&&e instanceof Date}function ga(e){return e}function va(e,t,n){Ro(e)?Xr(e,t,n):Object.defineProperty(e,t,n)}function ya(e,t,n){va(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}var Ma=function(){function e(){Object.defineProperty(this,"handlers",{enumerable:!0,configurable:!0,writable:!0,value:[]})}return Object.defineProperty(e.prototype,"hasSubscribers",{get:function(){return this.handlers.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"register",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var n=this;return void 0===t&&(t=!1),t?this.handlers.unshift(e):this.handlers.push(e),function(){n.unregister(e)}}}),Object.defineProperty(e.prototype,"has",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this.handlers.indexOf(e)>=0}}),Object.defineProperty(e.prototype,"unregister",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this.handlers.indexOf(e);t>=0&&this.handlers.splice(t,1)}}),Object.defineProperty(e.prototype,"clear",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.handlers.length=0}}),Object.defineProperty(e.prototype,"emit",{enumerable:!1,configurable:!0,writable:!0,value:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.handlers.slice().forEach((function(t){return t.apply(void 0,fi(e))}))}}),e}(),Oa=function(){function e(){Object.defineProperty(this,"eventHandlers",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}return Object.defineProperty(e.prototype,"hasSubscribers",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this.eventHandlers&&this.eventHandlers[e];return!!t&&t.hasSubscribers}}),Object.defineProperty(e.prototype,"register",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n){void 0===n&&(n=!1),this.eventHandlers||(this.eventHandlers={});var r=this.eventHandlers[e];return r||(r=this.eventHandlers[e]=new Ma),r.register(t,n)}}),Object.defineProperty(e.prototype,"has",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var n=this.eventHandlers&&this.eventHandlers[e];return!!n&&n.has(t)}}),Object.defineProperty(e.prototype,"unregister",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var n=this.eventHandlers&&this.eventHandlers[e];n&&n.unregister(t)}}),Object.defineProperty(e.prototype,"clear",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.eventHandlers&&delete this.eventHandlers[e]}}),Object.defineProperty(e.prototype,"clearAll",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.eventHandlers=void 0}}),Object.defineProperty(e.prototype,"emit",{enumerable:!1,configurable:!0,writable:!0,value:function(e){for(var t,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var o=this.eventHandlers&&this.eventHandlers[e];o&&(t=o).emit.apply(t,fi(n))}}),e}();function _a(e){for(var t=new Array(e.length),n=0;n<e.length;n++)t[n]=e[n];return t}function za(e,t){return 0===e.indexOf(t)}var xa=function(e,t){};function wa(e){console.warn(new Error("[mobx-state-tree] "+e))}function Ca(e,t,n,r){0}function Sa(e,t){Ca()}function Ea(e,t,n,r){Ca(),void 0!==n&&Ca(),void 0!==r&&Ca()}function ka(e,t,n){void 0===n&&(n=!0),Ca(),n||Ca()}function Da(e){"function"===typeof queueMicrotask?queueMicrotask(e):"function"===typeof setImmediate?setImmediate(e):setTimeout(e,1)}function Na(e){return function(e,t){var n=function(){var r=Li(),o=Bi();if(!o)throw ua("a mst flow must always have a parent context");var i=qi(o);if(!i)throw ua("a mst flow must always have a parent action context");var a={name:e,id:r,tree:o.tree,context:o.context,parentId:o.id,allParentIds:fi(o.allParentIds,[o.id]),rootId:o.rootId,parentEvent:o,parentActionEvent:i},s=arguments;function l(e,t,r){return e.$mst_middleware=n.$mst_middleware,Ri(ui(ui({},a),{type:t,args:[r]}),e)}return new Promise((function(e,r){var o,i=function(){o=t.apply(null,arguments),c(void 0)};function c(e){var t;try{var n=l((function(e){t=o.next(e)}),"flow_resume",e);n instanceof Error&&(t=o.throw(n))}catch(AE){return void Da((function(){l((function(t){r(AE)}),"flow_throw",AE)}))}d(t)}function u(e){var t;try{l((function(e){t=o.throw(e)}),"flow_resume_error",e)}catch(AE){return void Da((function(){l((function(t){r(AE)}),"flow_throw",AE)}))}d(t)}function d(t){if(!t.done){if(!t.value||"function"!==typeof t.value.then)throw ua("Only promises can be yielded to `async`, got: "+t);return t.value.then(c,u)}Da((function(){l((function(t){e(t)}),"flow_return",t.value)}))}i.$mst_middleware=n.$mst_middleware,Ri(ui(ui({},a),{type:"flow_spawn",args:_a(s)}),i)}))};return n}(e.name,e)}function Ta(e){switch(e.op){case"add":return{op:"add",path:e.path,value:e.value};case"remove":return{op:"remove",path:e.path};case"replace":return{op:"replace",path:e.path,value:e.value}}}function ja(e){switch(e.op){case"add":return{op:"remove",path:e.path};case"remove":return{op:"add",path:e.path,value:e.oldValue};case"replace":return{op:"replace",path:e.path,value:e.oldValue}}}function Ba(e){return!0===("number"===typeof e)?""+e:-1===e.indexOf("/")&&-1===e.indexOf("~")?e:e.replace(/~/g,"~0").replace(/\//g,"~1")}function La(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function Ra(e){if(0===e.length)return"";var t=function(e){return e.map(Ba).join("/")};return"."===e[0]||".."===e[0]?t(e):"/"+t(e)}function qa(e){var t=e.split("/").map(La);if(!(""===e||"."===e||".."===e||za(e,"/")||za(e,"./")||za(e,"../")))throw ua("a json path must be either rooted, empty or relative, but got '"+e+"'");return""===t[0]&&t.shift(),t}xa.ids={};var Pa=Symbol("$preProcessorFailed"),Ia=function(e){function t(t,n,r){var o=e.call(this,r||t.name)||this;return Object.defineProperty(o,"_subtype",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(o,"_processors",{enumerable:!0,configurable:!0,writable:!0,value:n}),o}return ci(t,e),Object.defineProperty(t.prototype,"flags",{get:function(){return this._subtype.flags|Oi.SnapshotProcessor},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"describe",{enumerable:!1,configurable:!0,writable:!0,value:function(){return"snapshotProcessor("+this._subtype.describe()+")"}}),Object.defineProperty(t.prototype,"preProcessSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this._processors.preProcessor?this._processors.preProcessor.call(null,e):e}}),Object.defineProperty(t.prototype,"preProcessSnapshotSafe",{enumerable:!1,configurable:!0,writable:!0,value:function(e){try{return this.preProcessSnapshot(e)}catch(AE){return Pa}}}),Object.defineProperty(t.prototype,"postProcessSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this._processors.postProcessor?this._processors.postProcessor.call(null,e):e}}),Object.defineProperty(t.prototype,"_fixNode",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this;!function(e,t){for(var n,r,o=[],i=2;i<arguments.length;i++)o[i-2]=arguments[i];try{for(var a=di(o),s=a.next();!s.done;s=a.next()){var l=s.value;e[l]=t[l].bind(t)}}catch(c){n={error:c}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}}(e.type,this,"create");var n=e.getSnapshot;e.getSnapshot=function(){return t.postProcessSnapshot(n.call(e))},(this._subtype.flags&Oi.Union)>0||(e.getReconciliationType=function(){return t})}}),Object.defineProperty(t.prototype,"instantiate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){var o=Ji(r)?r:this.preProcessSnapshot(r),i=this._subtype.instantiate(e,t,n,o);return this._fixNode(i),i}}),Object.defineProperty(t.prototype,"reconcile",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){var o=this._subtype.reconcile(e,Ji(t)?t:this.preProcessSnapshot(t),n,r);return o!==e&&this._fixNode(o),o}}),Object.defineProperty(t.prototype,"getSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){void 0===t&&(t=!0);var n=this._subtype.getSnapshot(e);return t?this.postProcessSnapshot(n):n}}),Object.defineProperty(t.prototype,"isValidSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var n=this.preProcessSnapshotSafe(e);return n===Pa?Hi(t,e,"Failed to preprocess value"):this._subtype.validate(n,t)}}),Object.defineProperty(t.prototype,"getSubTypes",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this._subtype}}),Object.defineProperty(t.prototype,"is",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=Di(e)?this._subtype:Ji(e)?Ai(e,!1):this.preProcessSnapshotSafe(e);return t!==Pa&&0===this._subtype.validate(t,[{path:"",type:this._subtype}]).length}}),Object.defineProperty(t.prototype,"isAssignableFrom",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this._subtype.isAssignableFrom(e)}}),Object.defineProperty(t.prototype,"isMatchingSnapshotId",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){if(!(this._subtype instanceof Ei))return!1;var n=this.preProcessSnapshot(t);return this._subtype.isMatchingSnapshotId(e,n)}}),t}(Si);var Wa,Fa="Map.put can only be used to store complex values that have an identifier type attribute";function Ua(e,t){var n,r,o=e.getSubTypes();if(o===wi)return!1;if(o){var i=ha(o);try{for(var a=di(i),s=a.next();!s.done;s=a.next()){if(!Ua(s.value,t))return!1}}catch(l){n={error:l}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}}return e instanceof ts&&t.push(e),!0}!function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.YES=1]="YES",e[e.NO=2]="NO"}(Wa||(Wa={}));var Za=function(e){function t(t){return e.call(this,t,dn.ref.enhancer)||this}return ci(t,e),Object.defineProperty(t.prototype,"get",{enumerable:!1,configurable:!0,writable:!0,value:function(t){return e.prototype.get.call(this,""+t)}}),Object.defineProperty(t.prototype,"has",{enumerable:!1,configurable:!0,writable:!0,value:function(t){return e.prototype.has.call(this,""+t)}}),Object.defineProperty(t.prototype,"delete",{enumerable:!1,configurable:!0,writable:!0,value:function(t){return e.prototype.delete.call(this,""+t)}}),Object.defineProperty(t.prototype,"set",{enumerable:!1,configurable:!0,writable:!0,value:function(t,n){return e.prototype.set.call(this,""+t,n)}}),Object.defineProperty(t.prototype,"put",{enumerable:!1,configurable:!0,writable:!0,value:function(e){if(!e)throw ua("Map.put cannot be used to set empty values");if(Ji(e)){var t=ta(e);if(null===t.identifier)throw ua(Fa);return this.set(t.identifier,e),e}if(Aa(e)){var n=ta(this),r=n.type;if(r.identifierMode!==Wa.YES)throw ua(Fa);var o=e[r.mapIdentifierAttribute];if(!qs(o)){var i=this.put(r.getChildType().create(e,n.environment));return this.put(Ai(i))}var a=Rs(o);return this.set(a,e),this.get(a)}throw ua("Map.put can only be used to store complex values")}}),t}(wo),Ha=function(e){function t(t,n,r){void 0===r&&(r=[]);var o=e.call(this,t)||this;return Object.defineProperty(o,"_subType",{enumerable:!0,configurable:!0,writable:!0,value:n}),Object.defineProperty(o,"identifierMode",{enumerable:!0,configurable:!0,writable:!0,value:Wa.UNKNOWN}),Object.defineProperty(o,"mapIdentifierAttribute",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(o,"flags",{enumerable:!0,configurable:!0,writable:!0,value:Oi.Map}),Object.defineProperty(o,"hookInitializers",{enumerable:!0,configurable:!0,writable:!0,value:[]}),o._determineIdentifierMode(),o.hookInitializers=r,o}return ci(t,e),Object.defineProperty(t.prototype,"hooks",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var n=this.hookInitializers.length>0?this.hookInitializers.concat(e):[e];return new t(this.name,this._subType,n)}}),Object.defineProperty(t.prototype,"instantiate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){return this._determineIdentifierMode(),Gi(this,e,t,n,r)}}),Object.defineProperty(t.prototype,"_determineIdentifierMode",{enumerable:!1,configurable:!0,writable:!0,value:function(){if(this.identifierMode===Wa.UNKNOWN){var e=[];if(Ua(this._subType,e)){var t=e.reduce((function(e,t){if(!t.identifierAttribute)return e;if(e&&e!==t.identifierAttribute)throw ua("The objects in a map should all have the same identifier attribute, expected '"+e+"', but child of type '"+t.name+"' declared attribute '"+t.identifierAttribute+"' as identifier");return t.identifierAttribute}),void 0);t?(this.identifierMode=Wa.YES,this.mapIdentifierAttribute=t):this.identifierMode=Wa.NO}}}}),Object.defineProperty(t.prototype,"initializeChildNodes",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){void 0===t&&(t={});var n=e.type._subType,r={};return Object.keys(t).forEach((function(o){r[o]=n.instantiate(e,o,void 0,t[o])})),r}}),Object.defineProperty(t.prototype,"createNewInstance",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return new Za(e)}}),Object.defineProperty(t.prototype,"finalizeNewInstance",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){Wr(t,e.unbox),e.type.hookInitializers.forEach((function(e){var n=e(t);Object.keys(n).forEach((function(e){var r=n[e],o=Pi(t,e,r);ya(t,e,o)}))})),Fr(t,this.willChange),Qr(t,this.didChange)}}),Object.defineProperty(t.prototype,"describe",{enumerable:!1,configurable:!0,writable:!0,value:function(){return"Map<string, "+this._subType.describe()+">"}}),Object.defineProperty(t.prototype,"getChildren",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return $r(e.storedValue)}}),Object.defineProperty(t.prototype,"getChildNode",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var n=e.storedValue.get(""+t);if(!n)throw ua("Not a child "+t);return n}}),Object.defineProperty(t.prototype,"willChange",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=ta(e.object),n=e.name;t.assertWritable({subpath:n});var r=t.type,o=r._subType;switch(e.type){case"update":var i=e.newValue;if(i===e.object.get(n))return null;Vi(o,i),e.newValue=o.reconcile(t.getChildNode(n),e.newValue,t,n),r.processIdentifier(n,e.newValue);break;case"add":Vi(o,e.newValue),e.newValue=o.instantiate(t,n,void 0,e.newValue),r.processIdentifier(n,e.newValue)}return e}}),Object.defineProperty(t.prototype,"processIdentifier",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){if(this.identifierMode===Wa.YES&&t instanceof xi){var n=t.identifier;if(n!==e)throw ua("A map of objects containing an identifier should always store the object under their own identifier. Trying to store key '"+n+"', but expected: '"+e+"'")}}}),Object.defineProperty(t.prototype,"getSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t={};return e.getChildren().forEach((function(e){t[e.subpath]=e.snapshot})),t}}),Object.defineProperty(t.prototype,"processInitialSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t={};return Object.keys(e).forEach((function(n){t[n]=e[n].getSnapshot()})),t}}),Object.defineProperty(t.prototype,"didChange",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=ta(e.object);switch(e.type){case"update":return void t.emitPatch({op:"replace",path:Ba(e.name),value:e.newValue.snapshot,oldValue:e.oldValue?e.oldValue.snapshot:void 0},t);case"add":return void t.emitPatch({op:"add",path:Ba(e.name),value:e.newValue.snapshot,oldValue:void 0},t);case"delete":var n=e.oldValue.snapshot;return e.oldValue.die(),void t.emitPatch({op:"remove",path:Ba(e.name),oldValue:n},t)}}}),Object.defineProperty(t.prototype,"applyPatchLocally",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n){var r=e.storedValue;switch(n.op){case"add":case"replace":r.set(t,n.value);break;case"remove":r.delete(t)}}}),Object.defineProperty(t.prototype,"applySnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){Vi(this,t);var n=e.storedValue,r={};if(Array.from(n.keys()).forEach((function(e){r[e]=!1})),t)for(var o in t)n.set(o,t[o]),r[""+o]=!0;Object.keys(r).forEach((function(e){!1===r[e]&&n.delete(e)}))}}),Object.defineProperty(t.prototype,"getChildType",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this._subType}}),Object.defineProperty(t.prototype,"isValidSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var n=this;return ba(e)?$i(Object.keys(e).map((function(r){return n._subType.validate(e[r],Ui(t,r,n._subType))}))):Hi(t,e,"Value is not a plain object")}}),Object.defineProperty(t.prototype,"getDefaultSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(){return la}}),Object.defineProperty(t.prototype,"removeChild",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){e.storedValue.delete(t)}}),t}(Ei);Ha.prototype.applySnapshot=Ar(Ha.prototype.applySnapshot);var $a=function(e){function t(t,n,r){void 0===r&&(r=[]);var o=e.call(this,t)||this;return Object.defineProperty(o,"_subType",{enumerable:!0,configurable:!0,writable:!0,value:n}),Object.defineProperty(o,"flags",{enumerable:!0,configurable:!0,writable:!0,value:Oi.Array}),Object.defineProperty(o,"hookInitializers",{enumerable:!0,configurable:!0,writable:!0,value:[]}),o.hookInitializers=r,o}return ci(t,e),Object.defineProperty(t.prototype,"hooks",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var n=this.hookInitializers.length>0?this.hookInitializers.concat(e):[e];return new t(this.name,this._subType,n)}}),Object.defineProperty(t.prototype,"instantiate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){return Gi(this,e,t,n,r)}}),Object.defineProperty(t.prototype,"initializeChildNodes",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){void 0===t&&(t=[]);var n=e.type._subType,r={};return t.forEach((function(t,o){var i=""+o;r[i]=n.instantiate(e,i,void 0,t)})),r}}),Object.defineProperty(t.prototype,"createNewInstance",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return dn.array(ia(e),ca)}}),Object.defineProperty(t.prototype,"finalizeNewInstance",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){Go(t).dehancer=e.unbox,e.type.hookInitializers.forEach((function(e){var n=e(t);Object.keys(n).forEach((function(e){var r=n[e],o=Pi(t,e,r);ya(t,e,o)}))})),Fr(t,this.willChange),Qr(t,this.didChange)}}),Object.defineProperty(t.prototype,"describe",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this._subType.describe()+"[]"}}),Object.defineProperty(t.prototype,"getChildren",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return e.storedValue.slice()}}),Object.defineProperty(t.prototype,"getChildNode",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var n=Number(t);if(n<e.storedValue.length)return e.storedValue[n];throw ua("Not a child: "+t)}}),Object.defineProperty(t.prototype,"willChange",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=ta(e.object);t.assertWritable({subpath:""+e.index});var n=t.type._subType,r=t.getChildren();switch(e.type){case"update":if(e.newValue===e.object[e.index])return null;var o=Va(t,n,[r[e.index]],[e.newValue],[e.index]);if(!o)return null;e.newValue=o[0];break;case"splice":var i=e.index,a=e.removedCount,s=e.added,l=Va(t,n,r.slice(i,i+a),s,s.map((function(e,t){return i+t})));if(!l)return null;e.added=l;for(var c=i+a;c<r.length;c++)r[c].setParent(t,""+(c+s.length-a))}return e}}),Object.defineProperty(t.prototype,"getSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return e.getChildren().map((function(e){return e.snapshot}))}}),Object.defineProperty(t.prototype,"processInitialSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=[];return Object.keys(e).forEach((function(n){t.push(e[n].getSnapshot())})),t}}),Object.defineProperty(t.prototype,"didChange",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=ta(e.object);switch(e.type){case"update":return void t.emitPatch({op:"replace",path:""+e.index,value:e.newValue.snapshot,oldValue:e.oldValue?e.oldValue.snapshot:void 0},t);case"splice":for(var n=e.removedCount-1;n>=0;n--)t.emitPatch({op:"remove",path:""+(e.index+n),oldValue:e.removed[n].snapshot},t);for(n=0;n<e.addedCount;n++)t.emitPatch({op:"add",path:""+(e.index+n),value:t.getChildNode(""+(e.index+n)).snapshot,oldValue:void 0},t);return}}}),Object.defineProperty(t.prototype,"applyPatchLocally",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n){var r=e.storedValue,o="-"===t?r.length:Number(t);switch(n.op){case"replace":r[o]=n.value;break;case"add":r.splice(o,0,n.value);break;case"remove":r.splice(o,1)}}}),Object.defineProperty(t.prototype,"applySnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){Vi(this,t),e.storedValue.replace(t)}}),Object.defineProperty(t.prototype,"getChildType",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this._subType}}),Object.defineProperty(t.prototype,"isValidSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var n=this;return fa(e)?$i(e.map((function(e,r){return n._subType.validate(e,Ui(t,""+r,n._subType))}))):Hi(t,e,"Value is not an array")}}),Object.defineProperty(t.prototype,"getDefaultSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(){return sa}}),Object.defineProperty(t.prototype,"removeChild",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){e.storedValue.splice(Number(t),1)}}),t}(Ei);function Va(e,t,n,r,o){for(var i,a=!0,s=0;;s++){var l=s<=r.length-1,c=n[s],u=l?r[s]:void 0,d=""+o[s];if(((i=u)instanceof yi||i instanceof xi)&&(u=u.storedValue),!c&&!l)break;if(l)if(c)if(Qa(c,u))n[s]=Xa(t,e,d,u,c);else{for(var p=void 0,f=s;f<n.length;f++)if(Qa(n[f],u)){p=n.splice(f,1)[0];break}a=!1;h=Xa(t,e,d,u,p);n.splice(s,0,h)}else{if(Ji(u)&&ta(u).parent===e)throw ua("Cannot add an object to a state tree if it is already part of the same or another state tree. Tried to assign an object to '"+e.path+"/"+d+"', but it lives already at '"+ta(u).path+"'");a=!1;var h=Xa(t,e,d,u);n.splice(s,0,h)}else a=!1,n.splice(s,1),c instanceof xi&&c.createObservableInstanceIfNeeded(),c.die(),s--}return a?null:n}function Xa(e,t,n,r,o){Vi(e,r);var i=function(){if(Ji(r)){var i=ta(r);if(i.assertAlive(la),null!==i.parent&&i.parent===t)return i.setParent(t,n),i}return o?e.reconcile(o,r,t,n):e.instantiate(t,n,void 0,r)}();return o&&o!==i&&(o instanceof xi&&o.createObservableInstanceIfNeeded(),o.die()),i}function Qa(e,t){if(!e.isAlive)return!1;if(Ji(t)){var n=ta(t);return n.isAlive&&n===e}if(e.snapshot===t)return!0;if(!(e instanceof xi))return!1;var r=e.getReconciliationType();return null!==e.identifier&&e.identifierAttribute&&ba(t)&&r.is(t)&&r.isMatchingSnapshotId(e,t)}$a.prototype.applySnapshot=Ar($a.prototype.applySnapshot);var Ya="preProcessSnapshot",Ga="postProcessSnapshot";function Ka(){return ta(this).toString()}var Ja={name:"AnonymousModel",properties:{},initializers:sa};function es(e){return Object.keys(e).reduce((function(e,t){var n,r,o;if(t in ii)throw ua("Hook '"+t+"' was defined as property. Hooks should be defined as part of the actions");var i=Object.getOwnPropertyDescriptor(e,t);if("get"in i)throw ua("Getters are not supported as properties. Please use views instead");var a=i.value;if(null===a||void 0===a)throw ua("The default value of an attribute cannot be null or undefined as the type cannot be inferred. Did you mean `types.maybe(someType)`?");if(ma(a))return Object.assign({},e,((n={})[t]=gs(function(e){switch(typeof e){case"string":return os;case"number":return is;case"boolean":return ss;case"object":if(e instanceof Date)return ds}throw ua("Cannot determine primitive type from value "+e)}(a),a),n));if(a instanceof Ha)return Object.assign({},e,((r={})[t]=gs(a,{}),r));if(a instanceof $a)return Object.assign({},e,((o={})[t]=gs(a,[]),o));if(Di(a))return e;throw ua("Invalid type definition for property '"+t+"', cannot infer a type from a value like '"+a+"' ("+typeof a+")")}),e)}var ts=function(e){function t(t){var n=e.call(this,t.name||Ja.name)||this;return Object.defineProperty(n,"flags",{enumerable:!0,configurable:!0,writable:!0,value:Oi.Object}),Object.defineProperty(n,"initializers",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(n,"properties",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(n,"preProcessor",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(n,"postProcessor",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(n,"propertyNames",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(n,"named",{enumerable:!0,configurable:!0,writable:!0,value:function(e){return n.cloneAndEnhance({name:e})}}),Object.defineProperty(n,"props",{enumerable:!0,configurable:!0,writable:!0,value:function(e){return n.cloneAndEnhance({properties:e})}}),Object.defineProperty(n,"preProcessSnapshot",{enumerable:!0,configurable:!0,writable:!0,value:function(e){var t=n.preProcessor;return t?n.cloneAndEnhance({preProcessor:function(n){return t(e(n))}}):n.cloneAndEnhance({preProcessor:e})}}),Object.defineProperty(n,"postProcessSnapshot",{enumerable:!0,configurable:!0,writable:!0,value:function(e){var t=n.postProcessor;return t?n.cloneAndEnhance({postProcessor:function(n){return e(t(n))}}):n.cloneAndEnhance({postProcessor:e})}}),Object.assign(n,Ja,t),n.properties=es(n.properties),n.properties,n.propertyNames=Object.keys(n.properties),n.identifierAttribute=n._getIdentifierAttribute(),n}return ci(t,e),Object.defineProperty(t.prototype,"_getIdentifierAttribute",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=void 0;return this.forAllProps((function(t,n){if(n.flags&Oi.Identifier){if(e)throw ua("Cannot define property '"+t+"' as object identifier, property '"+e+"' is already defined as identifier property");e=t}})),e}}),Object.defineProperty(t.prototype,"cloneAndEnhance",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return new t({name:e.name||this.name,properties:Object.assign({},this.properties,e.properties),initializers:this.initializers.concat(e.initializers||[]),preProcessor:e.preProcessor||this.preProcessor,postProcessor:e.postProcessor||this.postProcessor})}}),Object.defineProperty(t.prototype,"actions",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this;return this.cloneAndEnhance({initializers:[function(n){return t.instantiateActions(n,e(n)),n}]})}}),Object.defineProperty(t.prototype,"instantiateActions",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){if(!ba(t))throw ua("actions initializer should return a plain object containing actions");Object.keys(t).forEach((function(n){if(n===Ya)throw ua("Cannot define action '"+Ya+"', it should be defined using 'type.preProcessSnapshot(fn)' instead");if(n===Ga)throw ua("Cannot define action '"+Ga+"', it should be defined using 'type.postProcessSnapshot(fn)' instead");var r=t[n],o=e[n];if(n in ii&&o){var i=r;r=function(){o.apply(null,arguments),i.apply(null,arguments)}}var a=r.$mst_middleware,s=r.bind(t);s.$mst_middleware=a;var l=Pi(e,n,s);t[n]=l,ya(e,n,l)}))}}),Object.defineProperty(t.prototype,"volatile",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this;if("function"!==typeof e)throw ua("You passed an "+typeof e+" to volatile state as an argument, when function is expected");return this.cloneAndEnhance({initializers:[function(n){return t.instantiateVolatileState(n,e(n)),n}]})}}),Object.defineProperty(t.prototype,"instantiateVolatileState",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){if(!ba(t))throw ua("volatile state initializer should return a plain object containing state");Vr(e,t)}}),Object.defineProperty(t.prototype,"extend",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this;return this.cloneAndEnhance({initializers:[function(n){var r=e(n),o=r.actions,i=r.views,a=r.state,s=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(r,["actions","views","state"]);for(var l in s)throw ua("The `extend` function should return an object with a subset of the fields 'actions', 'views' and 'state'. Found invalid key '"+l+"'");return a&&t.instantiateVolatileState(n,a),i&&t.instantiateViews(n,i),o&&t.instantiateActions(n,o),n}]})}}),Object.defineProperty(t.prototype,"views",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this;return this.cloneAndEnhance({initializers:[function(n){return t.instantiateViews(n,e(n)),n}]})}}),Object.defineProperty(t.prototype,"instantiateViews",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){if(!ba(t))throw ua("views initializer should return a plain object containing views");Object.getOwnPropertyNames(t).forEach((function(n){var r,o=Object.getOwnPropertyDescriptor(t,n);if("get"in o)Xr(e,n,o),io(e,((r={})[n]=bn,r));else{if("function"!==typeof o.value)throw ua("A view member should either be a function or getter based property");ya(e,n,o.value)}}))}}),Object.defineProperty(t.prototype,"instantiate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){var o=Ji(r)?r:this.applySnapshotPreProcessor(r);return Gi(this,e,t,n,o)}}),Object.defineProperty(t.prototype,"initializeChildNodes",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){void 0===t&&(t={});var n=e.type,r={};return n.forAllProps((function(n,o){r[n]=o.instantiate(e,n,void 0,t[n])})),r}}),Object.defineProperty(t.prototype,"createNewInstance",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return dn.object(e,la,ca)}}),Object.defineProperty(t.prototype,"finalizeNewInstance",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){ya(t,"toString",Ka),this.forAllProps((function(n){Wr(t,n,e.unbox)})),this.initializers.reduce((function(e,t){return t(e)}),t),Fr(t,this.willChange),Qr(t,this.didChange)}}),Object.defineProperty(t.prototype,"willChange",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=e,n=ta(t.object),r=t.name;n.assertWritable({subpath:r});var o=n.type.properties[r];return o&&(Vi(o,t.newValue),t.newValue=o.reconcile(n.getChildNode(r),t.newValue,n,r)),t}}),Object.defineProperty(t.prototype,"didChange",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=e,n=ta(t.object);if(n.type.properties[t.name]){var r=t.oldValue?t.oldValue.snapshot:void 0;n.emitPatch({op:"replace",path:Ba(t.name),value:t.newValue.snapshot,oldValue:r},n)}}}),Object.defineProperty(t.prototype,"getChildren",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this,n=[];return this.forAllProps((function(r){n.push(t.getChildNode(e,r))})),n}}),Object.defineProperty(t.prototype,"getChildNode",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){if(!(t in this.properties))throw ua("Not a value property: "+t);var n=Go(e.storedValue,t).raw();if(!n)throw ua("Node not available for property "+t);return n}}),Object.defineProperty(t.prototype,"getSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var n=this;void 0===t&&(t=!0);var r={};return this.forAllProps((function(t,o){Yo(e.storedValue,t).reportObserved(),r[t]=n.getChildNode(e,t).snapshot})),t?this.applySnapshotPostProcessor(r):r}}),Object.defineProperty(t.prototype,"processInitialSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t={};return Object.keys(e).forEach((function(n){t[n]=e[n].getSnapshot()})),this.applySnapshotPostProcessor(t)}}),Object.defineProperty(t.prototype,"applyPatchLocally",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n){if("replace"!==n.op&&"add"!==n.op)throw ua("object does not support operation "+n.op);e.storedValue[t]=n.value}}),Object.defineProperty(t.prototype,"applySnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){Vi(this,t);var n=this.applySnapshotPreProcessor(t);this.forAllProps((function(t){e.storedValue[t]=n[t]}))}}),Object.defineProperty(t.prototype,"applySnapshotPreProcessor",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this.preProcessor;return t?t.call(null,e):e}}),Object.defineProperty(t.prototype,"applySnapshotPostProcessor",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this.postProcessor;return t?t.call(null,e):e}}),Object.defineProperty(t.prototype,"getChildType",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return ka(),this.properties[e]}}),Object.defineProperty(t.prototype,"isValidSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var n=this,r=this.applySnapshotPreProcessor(e);return ba(r)?$i(this.propertyNames.map((function(e){return n.properties[e].validate(r[e],Ui(t,e,n.properties[e]))}))):Hi(t,r,"Value is not a plain object")}}),Object.defineProperty(t.prototype,"forAllProps",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this;this.propertyNames.forEach((function(n){return e(n,t.properties[n])}))}}),Object.defineProperty(t.prototype,"describe",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this;return"{ "+this.propertyNames.map((function(t){return t+": "+e.properties[t].describe()})).join("; ")+" }"}}),Object.defineProperty(t.prototype,"getDefaultSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(){return la}}),Object.defineProperty(t.prototype,"removeChild",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){e.storedValue[t]=void 0}}),t}(Ei);function ns(e){return Di(e)&&(e.flags&Oi.Object)>0}ts.prototype.applySnapshot=Ar(ts.prototype.applySnapshot);var rs=function(e){function t(t,n,r,o){void 0===o&&(o=da);var i=e.call(this,t)||this;return Object.defineProperty(i,"flags",{enumerable:!0,configurable:!0,writable:!0,value:n}),Object.defineProperty(i,"checker",{enumerable:!0,configurable:!0,writable:!0,value:r}),Object.defineProperty(i,"initializer",{enumerable:!0,configurable:!0,writable:!0,value:o}),i.flags=n,i}return ci(t,e),Object.defineProperty(t.prototype,"describe",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this.name}}),Object.defineProperty(t.prototype,"instantiate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){return Ki(this,e,t,n,r)}}),Object.defineProperty(t.prototype,"createNewInstance",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this.initializer(e)}}),Object.defineProperty(t.prototype,"isValidSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){return ma(e)&&this.checker(e)?Zi():Hi(t,e,"Value is not a "+("Date"===this.name?"Date or a unix milliseconds timestamp":this.name))}}),t}(ki),os=new rs("string",Oi.String,(function(e){return"string"===typeof e})),is=new rs("number",Oi.Number,(function(e){return"number"===typeof e})),as=new rs("integer",Oi.Integer,(function(e){return pa(e)})),ss=new rs("boolean",Oi.Boolean,(function(e){return"boolean"===typeof e})),ls=new rs("null",Oi.Null,(function(e){return null===e})),cs=new rs("undefined",Oi.Undefined,(function(e){return void 0===e})),us=new rs("Date",Oi.Date,(function(e){return"number"===typeof e||e instanceof Date}),(function(e){return e instanceof Date?e:new Date(e)}));us.getSnapshot=function(e){return e.storedValue.getTime()};var ds=us;var ps=function(e){function t(t){var n=e.call(this,JSON.stringify(t))||this;return Object.defineProperty(n,"value",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(n,"flags",{enumerable:!0,configurable:!0,writable:!0,value:Oi.Literal}),n.value=t,n}return ci(t,e),Object.defineProperty(t.prototype,"instantiate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){return Ki(this,e,t,n,r)}}),Object.defineProperty(t.prototype,"describe",{enumerable:!1,configurable:!0,writable:!0,value:function(){return JSON.stringify(this.value)}}),Object.defineProperty(t.prototype,"isValidSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){return ma(e)&&e===this.value?Zi():Hi(t,e,"Value is not a literal "+JSON.stringify(this.value))}}),t}(ki);function fs(e){return Ca(),new ps(e)}var hs=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;return Object.defineProperty(i,"_subtype",{enumerable:!0,configurable:!0,writable:!0,value:n}),Object.defineProperty(i,"_predicate",{enumerable:!0,configurable:!0,writable:!0,value:r}),Object.defineProperty(i,"_message",{enumerable:!0,configurable:!0,writable:!0,value:o}),i}return ci(t,e),Object.defineProperty(t.prototype,"flags",{get:function(){return this._subtype.flags|Oi.Refinement},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"describe",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this.name}}),Object.defineProperty(t.prototype,"instantiate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){return this._subtype.instantiate(e,t,n,r)}}),Object.defineProperty(t.prototype,"isAssignableFrom",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this._subtype.isAssignableFrom(e)}}),Object.defineProperty(t.prototype,"isValidSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var n=this._subtype.validate(e,t);if(n.length>0)return n;var r=Ji(e)?ta(e).snapshot:e;return this._predicate(r)?Zi():Hi(t,e,this._message(e))}}),Object.defineProperty(t.prototype,"reconcile",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){return this._subtype.reconcile(e,t,n,r)}}),Object.defineProperty(t.prototype,"getSubTypes",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this._subtype}}),t}(Si);var bs=function(e){function t(t,n,r){var o=e.call(this,t)||this;return Object.defineProperty(o,"_types",{enumerable:!0,configurable:!0,writable:!0,value:n}),Object.defineProperty(o,"_dispatcher",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(o,"_eager",{enumerable:!0,configurable:!0,writable:!0,value:!0}),r=ui({eager:!0,dispatcher:void 0},r),o._dispatcher=r.dispatcher,r.eager||(o._eager=!1),o}return ci(t,e),Object.defineProperty(t.prototype,"flags",{get:function(){var e=Oi.Union;return this._types.forEach((function(t){e|=t.flags})),e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isAssignableFrom",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this._types.some((function(t){return t.isAssignableFrom(e)}))}}),Object.defineProperty(t.prototype,"describe",{enumerable:!1,configurable:!0,writable:!0,value:function(){return"("+this._types.map((function(e){return e.describe()})).join(" | ")+")"}}),Object.defineProperty(t.prototype,"instantiate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){var o=this.determineType(r,void 0);if(!o)throw ua("No matching type for union "+this.describe());return o.instantiate(e,t,n,r)}}),Object.defineProperty(t.prototype,"reconcile",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){var o=this.determineType(t,e.getReconciliationType());if(!o)throw ua("No matching type for union "+this.describe());return o.reconcile(e,t,n,r)}}),Object.defineProperty(t.prototype,"determineType",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){return this._dispatcher?this._dispatcher(e):t?t.is(e)?t:this._types.filter((function(e){return e!==t})).find((function(t){return t.is(e)})):this._types.find((function(t){return t.is(e)}))}}),Object.defineProperty(t.prototype,"isValidSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){if(this._dispatcher)return this._dispatcher(e).validate(e,t);for(var n=[],r=0,o=0;o<this._types.length;o++){var i=this._types[o].validate(e,t);if(0===i.length){if(this._eager)return Zi();r++}else n.push(i)}return 1===r?Zi():Hi(t,e,"No type is applicable for the union").concat($i(n))}}),Object.defineProperty(t.prototype,"getSubTypes",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this._types}}),t}(Si);function As(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=Di(e)?void 0:e,o=Di(e)?fi([e],t):t,i="("+o.map((function(e){return e.name})).join(" | ")+")";return new bs(i,o,r)}var ms=function(e){function t(t,n,r){var o=e.call(this,t.name)||this;return Object.defineProperty(o,"_subtype",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(o,"_defaultValue",{enumerable:!0,configurable:!0,writable:!0,value:n}),Object.defineProperty(o,"optionalValues",{enumerable:!0,configurable:!0,writable:!0,value:r}),o}return ci(t,e),Object.defineProperty(t.prototype,"flags",{get:function(){return this._subtype.flags|Oi.Optional},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"describe",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this._subtype.describe()+"?"}}),Object.defineProperty(t.prototype,"instantiate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){if(this.optionalValues.indexOf(r)>=0){var o=this.getDefaultInstanceOrSnapshot();return this._subtype.instantiate(e,t,n,o)}return this._subtype.instantiate(e,t,n,r)}}),Object.defineProperty(t.prototype,"reconcile",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){return this._subtype.reconcile(e,this.optionalValues.indexOf(t)<0&&this._subtype.is(t)?t:this.getDefaultInstanceOrSnapshot(),n,r)}}),Object.defineProperty(t.prototype,"getDefaultInstanceOrSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e="function"===typeof this._defaultValue?this._defaultValue():this._defaultValue;return"function"===typeof this._defaultValue&&Vi(this,e),e}}),Object.defineProperty(t.prototype,"isValidSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){return this.optionalValues.indexOf(e)>=0?Zi():this._subtype.validate(e,t)}}),Object.defineProperty(t.prototype,"isAssignableFrom",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this._subtype.isAssignableFrom(e)}}),Object.defineProperty(t.prototype,"getSubTypes",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this._subtype}}),t}(Si);function gs(e,t,n){return function(e,t){if("function"!==typeof t&&Ji(t))throw ua("default value cannot be an instance, pass a snapshot or a function that creates an instance/snapshot instead");Ni(e,1)}(e,t),new ms(e,t,n||vs)}var vs=[void 0];var ys=gs(cs,void 0),Ms=gs(ls,null);function Os(e){return Ni(e,1),As(e,ys)}var _s=function(e){function t(t,n){var r=e.call(this,t)||this;return Object.defineProperty(r,"_definition",{enumerable:!0,configurable:!0,writable:!0,value:n}),Object.defineProperty(r,"_subType",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),r}return ci(t,e),Object.defineProperty(t.prototype,"flags",{get:function(){return(this._subType?this._subType.flags:0)|Oi.Late},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"getSubType",{enumerable:!1,configurable:!0,writable:!0,value:function(e){if(!this._subType){var t=void 0;try{t=this._definition()}catch(AE){if(!(AE instanceof ReferenceError))throw AE;t=void 0}if(e&&void 0===t)throw ua("Late type seems to be used too early, the definition (still) returns undefined");t&&(this._subType=t)}return this._subType}}),Object.defineProperty(t.prototype,"instantiate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){return this.getSubType(!0).instantiate(e,t,n,r)}}),Object.defineProperty(t.prototype,"reconcile",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){return this.getSubType(!0).reconcile(e,t,n,r)}}),Object.defineProperty(t.prototype,"describe",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.getSubType(!1);return e?e.name:"<uknown late type>"}}),Object.defineProperty(t.prototype,"isValidSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var n=this.getSubType(!1);return n?n.validate(e,t):Zi()}}),Object.defineProperty(t.prototype,"isAssignableFrom",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this.getSubType(!1);return!!t&&t.isAssignableFrom(e)}}),Object.defineProperty(t.prototype,"getSubTypes",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.getSubType(!1);return e||wi}}),t}(Si);var zs=function(e){function t(t){var n=e.call(this,t?"frozen("+t.name+")":"frozen")||this;return Object.defineProperty(n,"subType",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(n,"flags",{enumerable:!0,configurable:!0,writable:!0,value:Oi.Frozen}),n}return ci(t,e),Object.defineProperty(t.prototype,"describe",{enumerable:!1,configurable:!0,writable:!0,value:function(){return"<any immutable value>"}}),Object.defineProperty(t.prototype,"instantiate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){return Ki(this,e,t,n,r)}}),Object.defineProperty(t.prototype,"isValidSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){return function(e){return"function"!==typeof e}(e)?this.subType?this.subType.validate(e,t):Zi():Hi(t,e,"Value is not serializable and cannot be frozen")}}),t}(ki),xs=new zs;var ws=function(){function e(e,t){if(Object.defineProperty(this,"targetType",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(this,"identifier",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"node",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"resolvedReference",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),qs(e))this.identifier=e;else{if(!Ji(e))throw ua("Can only store references to tree nodes or identifiers, got: '"+e+"'");var n=ta(e);if(!n.identifierAttribute)throw ua("Can only store references with a defined identifier attribute.");var r=n.unnormalizedIdentifier;if(null===r||void 0===r)throw ua("Can only store references to tree nodes with a defined identifier.");this.identifier=r}}return Object.defineProperty(e.prototype,"updateResolvedReference",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=Rs(this.identifier),n=e.root,r=n.identifierCache.getLastCacheModificationPerId(t);if(!this.resolvedReference||this.resolvedReference.lastCacheModification!==r){var o=this.targetType,i=n.identifierCache.resolve(o,t);if(!i)throw new Cs("[mobx-state-tree] Failed to resolve reference '"+this.identifier+"' to type '"+this.targetType.name+"' (from node: "+e.path+")");this.resolvedReference={node:i,lastCacheModification:r}}}}),Object.defineProperty(e.prototype,"resolvedValue",{get:function(){return this.updateResolvedReference(this.node),this.resolvedReference.node.value},enumerable:!1,configurable:!0}),e}(),Cs=function(e){function t(n){var r=e.call(this,n)||this;return Object.setPrototypeOf(r,t.prototype),r}return ci(t,e),t}(Error),Ss=function(e){function t(t,n){var r=e.call(this,"reference("+t.name+")")||this;return Object.defineProperty(r,"targetType",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(r,"onInvalidated",{enumerable:!0,configurable:!0,writable:!0,value:n}),Object.defineProperty(r,"flags",{enumerable:!0,configurable:!0,writable:!0,value:Oi.Reference}),r}return ci(t,e),Object.defineProperty(t.prototype,"describe",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this.name}}),Object.defineProperty(t.prototype,"isAssignableFrom",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this.targetType.isAssignableFrom(e)}}),Object.defineProperty(t.prototype,"isValidSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){return qs(e)?Zi():Hi(t,e,"Value is not a valid identifier, which is a string or a number")}}),Object.defineProperty(t.prototype,"fireInvalidated",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){var o=t.parent;if(o&&o.isAlive){var i=o.storedValue;i&&this.onInvalidated({cause:e,parent:i,invalidTarget:r?r.storedValue:void 0,invalidId:n,replaceRef:function(e){bi(t.root.storedValue,{op:"replace",value:e,path:t.path})},removeRef:function(){ns(o.type)?this.replaceRef(void 0):bi(t.root.storedValue,{op:"remove",path:t.path})}})}}}),Object.defineProperty(t.prototype,"addTargetNodeWatcher",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var n=this,r=this.getValue(e);if(r){var o=ta(r),i=function(r,i){var a=function(e){switch(e){case ii.beforeDestroy:return"destroy";case ii.beforeDetach:return"detach";default:return}}(i);a&&n.fireInvalidated(a,e,t,o)},a=o.registerHook(ii.beforeDetach,i),s=o.registerHook(ii.beforeDestroy,i);return function(){a(),s()}}}}),Object.defineProperty(t.prototype,"watchTargetNodeForInvalidations",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n){var r=this;if(this.onInvalidated){var o;e.registerHook(ii.beforeDestroy,(function(){o&&o()}));var i=function(i){o&&o();var a=e.parent,s=a&&a.storedValue;if(a&&a.isAlive&&s){(n?!!n.get(t,s):e.root.identifierCache.has(r.targetType,Rs(t)))?o=r.addTargetNodeWatcher(e,t):i||r.fireInvalidated("invalidSnapshotReference",e,t,null)}};e.state===Xi.FINALIZED?i(!0):(e.isRoot||e.root.registerHook(ii.afterCreationFinalization,(function(){e.parent&&e.parent.createObservableInstanceIfNeeded()})),e.registerHook(ii.afterAttach,(function(){i(!1)})))}}}),t}(ki),Es=function(e){function t(t,n){return e.call(this,t,n)||this}return ci(t,e),Object.defineProperty(t.prototype,"getValue",{enumerable:!1,configurable:!0,writable:!0,value:function(e){if(e.isAlive)return e.storedValue.resolvedValue}}),Object.defineProperty(t.prototype,"getSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return e.storedValue.identifier}}),Object.defineProperty(t.prototype,"instantiate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){var o,i=Ji(r)?(ea(o=r,1),ta(o).identifier):r,a=new ws(r,this.targetType),s=Ki(this,e,t,n,a);return a.node=s,this.watchTargetNodeForInvalidations(s,i,void 0),s}}),Object.defineProperty(t.prototype,"reconcile",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){if(!e.isDetaching&&e.type===this){var o=Ji(t),i=e.storedValue;if(!o&&i.identifier===t||o&&i.resolvedValue===t)return e.setParent(n,r),e}var a=this.instantiate(n,r,void 0,t);return e.die(),a}}),t}(Ss),ks=function(e){function t(t,n,r){var o=e.call(this,t,r)||this;return Object.defineProperty(o,"options",{enumerable:!0,configurable:!0,writable:!0,value:n}),o}return ci(t,e),Object.defineProperty(t.prototype,"getValue",{enumerable:!1,configurable:!0,writable:!0,value:function(e){if(e.isAlive)return this.options.get(e.storedValue,e.parent?e.parent.storedValue:null)}}),Object.defineProperty(t.prototype,"getSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return e.storedValue}}),Object.defineProperty(t.prototype,"instantiate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){var o=Ji(r)?this.options.set(r,e?e.storedValue:null):r,i=Ki(this,e,t,n,o);return this.watchTargetNodeForInvalidations(i,o,this.options),i}}),Object.defineProperty(t.prototype,"reconcile",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){var o=Ji(t)?this.options.set(t,e?e.storedValue:null):t;if(!e.isDetaching&&e.type===this&&e.storedValue===o)return e.setParent(n,r),e;var i=this.instantiate(n,r,void 0,o);return e.die(),i}}),t}(Ss);function Ds(e,t){Ni(e,1);var n=t||void 0,r=t?t.onInvalidated:void 0;return n&&(n.get||n.set)?new ks(e,{get:n.get,set:n.set},r):new Es(e,r)}var Ns=function(e){function t(t,n){var r=e.call(this,t)||this;return Object.defineProperty(r,"validType",{enumerable:!0,configurable:!0,writable:!0,value:n}),Object.defineProperty(r,"flags",{enumerable:!0,configurable:!0,writable:!0,value:Oi.Identifier}),r}return ci(t,e),Object.defineProperty(t.prototype,"instantiate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){if(!e||!(e.type instanceof ts))throw ua("Identifier types can only be instantiated as direct child of a model type");return Ki(this,e,t,n,r)}}),Object.defineProperty(t.prototype,"reconcile",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){if(e.storedValue!==t)throw ua("Tried to change identifier from '"+e.storedValue+"' to '"+t+"'. Changing identifiers is not allowed.");return e.setParent(n,r),e}}),Object.defineProperty(t.prototype,"isValidSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){return typeof e!==this.validType?Hi(t,e,"Value is not a valid "+this.describe()+", expected a "+this.validType):Zi()}}),t}(ki),Ts=function(e){function t(){var t=e.call(this,"identifier","string")||this;return Object.defineProperty(t,"flags",{enumerable:!0,configurable:!0,writable:!0,value:Oi.Identifier}),t}return ci(t,e),Object.defineProperty(t.prototype,"describe",{enumerable:!1,configurable:!0,writable:!0,value:function(){return"identifier"}}),t}(Ns),js=function(e){function t(){return e.call(this,"identifierNumber","number")||this}return ci(t,e),Object.defineProperty(t.prototype,"getSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return e.storedValue}}),Object.defineProperty(t.prototype,"describe",{enumerable:!1,configurable:!0,writable:!0,value:function(){return"identifierNumber"}}),t}(Ns),Bs=new Ts,Ls=new js;function Rs(e){return""+e}function qs(e){return"string"===typeof e||"number"===typeof e}var Ps=function(e){function t(t){var n=e.call(this,t.name)||this;return Object.defineProperty(n,"options",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(n,"flags",{enumerable:!0,configurable:!0,writable:!0,value:Oi.Custom}),n}return ci(t,e),Object.defineProperty(t.prototype,"describe",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this.name}}),Object.defineProperty(t.prototype,"isValidSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){if(this.options.isTargetType(e))return Zi();var n=this.options.getValidationMessage(e);return n?Hi(t,e,"Invalid value for type '"+this.name+"': "+n):Zi()}}),Object.defineProperty(t.prototype,"getSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this.options.toSnapshot(e.storedValue)}}),Object.defineProperty(t.prototype,"instantiate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){return Ki(this,e,t,n,this.options.isTargetType(r)?r:this.options.fromSnapshot(r,e&&e.root.environment))}}),Object.defineProperty(t.prototype,"reconcile",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){var o=!this.options.isTargetType(t);if(!e.isDetaching&&(e.type===this&&(o?t===e.snapshot:t===e.storedValue)))return e.setParent(n,r),e;var i=o?this.options.fromSnapshot(t,n.root.environment):t,a=this.instantiate(n,r,void 0,i);return e.die(),a}}),t}(ki),Is={enumeration:function(e,t){var n="string"===typeof e?t:e,r=As.apply(void 0,fi(n.map((function(e){return fs(""+e)}))));return"string"===typeof e&&(r.name=e),r},model:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n="string"===typeof e[0]?e.shift():"AnonymousModel",r=e.shift()||{};return new ts({name:n,properties:r})},compose:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n="string"===typeof e[0],r=n?e[0]:"AnonymousModel";return n&&e.shift(),e.reduce((function(e,t){return e.cloneAndEnhance({name:e.name+"_"+t.name,properties:t.properties,initializers:t.initializers,preProcessor:function(n){return t.applySnapshotPreProcessor(e.applySnapshotPreProcessor(n))},postProcessor:function(n){return t.applySnapshotPostProcessor(e.applySnapshotPostProcessor(n))}})})).named(r)},custom:function(e){return new Ps(e)},reference:Ds,safeReference:function(e,t){var n=Ds(e,ui(ui({},t),{onInvalidated:function(e){t&&t.onInvalidated&&t.onInvalidated(e),e.removeRef()}}));return t&&!1===t.acceptsUndefined?n:Os(n)},union:As,optional:gs,literal:fs,maybe:Os,maybeNull:function(e){return Ni(e,1),As(e,Ms)},refinement:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n="string"===typeof e[0]?e.shift():Di(e[0])?e[0].name:null,r=e[0],o=e[1],i=e[2]?e[2]:function(e){return"Value does not respect the refinement predicate"};return Ni(r,[1,2]),ka(),Sa(),Sa(),new hs(n,r,o,i)},string:os,boolean:ss,number:is,integer:as,Date:ds,map:function(e){return new Ha("map<string, "+e.name+">",e)},array:function(e){return Ni(e,1),new $a(e.name+"[]",e)},frozen:function(e){return 0===arguments.length?xs:Di(e)?new zs(e):gs(xs,e)},identifier:Bs,identifierNumber:Ls,late:function(e,t){var n="string"===typeof e?e:"late("+e.toString()+")",r="string"===typeof e?t:e;return new _s(n,r)},undefined:cs,null:ls,snapshotProcessor:function(e,t,n){return Ni(e,1),new Ia(e,t,n)}},Ws=__webpack_require__(4942);function Fs(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Us(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fs(Object(n),!0).forEach((function(t){(0,Ws.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fs(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Zs=__webpack_require__(74165),Hs=__webpack_require__(15861),$s=__webpack_require__(70816),Vs=__webpack_require__.n($s),Xs=function(e){var t;return null===e||void 0===e||null===(t=e.charAt(0))||void 0===t?void 0:t.toUpperCase()},Qs=function(e,t){return"".concat(e," ").concat(t)},Ys=function(e){return e||""},Gs=function(e){return e||0},Ks=function(e){return e||!1},Js=function(e){var t=Vs()(e),n=5-t.minute()%5;return Vs()(t).add(n,"minutes").toString()},el=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;if(!+e)return"0 Bytes";var n=t<0?0:t,r=Math.floor(Math.log(e)/Math.log(1024));return"".concat(parseFloat((e/Math.pow(1024,r)).toFixed(n))," ").concat(["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][r])},tl=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},nl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"DD/MM/YY";return Vs()(e).format(t)},rl=function(e){var t=Vs()(e,"YYYY-MM-DD HH:mm:ss"),n=Vs()(),r=n.diff(t,"years"),o=n.diff(t,"months"),i=n.diff(t,"weeks"),a=Vs().duration(n.diff(t)).asDays();if(0===Math.round(a))return"today";if(a<7&&0!==Math.round(a)){var s=Math.round(a);return"".concat(s," day").concat(1!==s?"s":""," ago")}if(i<4){var l=Math.round(i);return"".concat(l," week").concat(1!==l?"s":""," ago")}if(o<12){var c=Math.round(o);return"".concat(c," month").concat(1!==c?"s":""," ago")}if(r<2){var u=Math.round(r),d=o%12,p=Math.round(d);return"".concat(u," year").concat(1!==u?"s":""," ").concat(p," month").concat(1!==p?"s":""," ago")}var f=Math.round(r);return"".concat(f," year").concat(1!==f?"s":""," ago")},ol=Is.model({id:Is.number,name:Is.string,slug:Is.string}),il=Is.model({id:Is.number,name:Is.string,slug:Is.string,selected:Is.boolean,is_bookable:Is.boolean,price:Is.optional(Is.number,0),deposit:Is.optional(Is.number,0),duration:Is.optional(Is.number,0)}),al=Is.model({id:Is.number,typeID:Is.number}),sl=Is.model({id:Is.number,name:Is.string,avatarUrl:Is.maybeNull(Is.string),role:Is.string}),ll=Is.model({id:Is.number,isVip:Is.boolean,isMedicalHistoryCompleted:Is.boolean,note:Is.string,existAlerts:Is.boolean,firstName:Is.maybeNull(Is.string),lastName:Is.maybeNull(Is.string),email:Is.maybeNull(Is.string),phone:Is.maybeNull(Is.string),appointmentsCount:Is.maybeNull(Is.number),completedAppointments:Is.maybeNull(Is.number),lastVisited:Is.maybeNull(Is.model({date:Is.string,services:Is.array(Is.string)}))}).actions((function(e){return{setNote:function(t){e.note=t},setMedicalHistoryCompleted:function(t){e.isMedicalHistoryCompleted=t}}})).views((function(e){return{get name(){return Qs(e.firstName,e.lastName)}}})),cl=Is.model({id:Is.number,url:Is.string}),ul=Is.model({id:Is.number,name:Is.string,slug:Is.string}),dl=Is.model({id:Is.number,name:Is.string,slug:Is.string}),pl=Is.model({id:Is.number,color:Is.string,name:Is.string,slug:Is.string,order:Is.maybeNull(Is.number)}),fl=Is.model({id:Is.number,name:Is.string}),hl=Is.model({id:Is.number,name:Is.string,fullName:Is.string,slug:Is.string,selected:Is.boolean,category:Is.maybeNull(pl),price:Is.number,deposit:Is.number,dosage:Is.number,expirationDate:Is.string,lotNumber:Is.string,productDeliveryType:ul,productMeasurement:dl,requiredPrescription:Is.boolean,hasAftercare:Is.boolean,isMedical:Is.boolean,duration:Is.number,order:Is.maybeNull(Is.number),surveys:Is.array(fl),description:Is.maybeNull(Is.string),has_pre_warning:Is.maybeNull(Is.boolean),pre_warning_text:Is.maybeNull(Is.string),locationId:Is.number,priceType:Is.string,deletedAt:Is.maybeNull(Is.string)}).views((function(e){return{get realPrice(){e.isMedical;return e.price},get vatValue(){var t=e.isMedical,n=gi(e).appointment.vat;return t?0:e.price-e.price/((n+100)/100)},get surveysIds(){return e.surveys.map((function(e){return e.id}))}}})),bl=Is.model({id:Is.number,startDate:Is.string,endDate:Is.string,treatmentTypes:Is.array(hl),types:Is.array(il)}),Al=Is.model({id:Is.number,expiration_date:Is.string,logo_url:Is.string,lot_number:Is.string,required_prescription:Is.boolean,slug:Is.string,title:Is.string}),ml=Is.model({id:Is.number,title:Is.string,slug:Is.string}),gl=Is.model({id:Is.number,name:Is.string,slug:Is.string}),vl=Is.model({id:Is.number,color:Is.string,productBrand:Al,productInstrument:ml,productMeasurement:dl,shape:Is.string,totalAmount:Is.string,techniques:Is.array(gl)}),yl=Is.model({id:Is.number,isOriginal:Is.boolean,url:Is.string,tools:Is.array(vl)}),Ml=function(e){var t,n,r,o,i,a;return{deposit:Gs(null===e||void 0===e?void 0:e.deposit),expirationDate:Ys(null===e||void 0===e?void 0:e.expirationDate),lotNumber:Ys(null===e||void 0===e?void 0:e.lotNumber),productDeliveryType:{id:Gs(null===e||void 0===e||null===(t=e.productDeliveryType)||void 0===t?void 0:t.id),name:Ys(null===e||void 0===e||null===(n=e.productDeliveryType)||void 0===n?void 0:n.name),slug:Ys(null===e||void 0===e||null===(r=e.productDeliveryType)||void 0===r?void 0:r.slug)},productMeasurement:{id:Gs(null===e||void 0===e||null===(o=e.productMeasurement)||void 0===o?void 0:o.id),name:Ys(null===e||void 0===e||null===(i=e.productMeasurement)||void 0===i?void 0:i.name),slug:Ys(null===e||void 0===e||null===(a=e.productMeasurement)||void 0===a?void 0:a.slug)},dosage:Gs(e.dosage),requiredPrescription:Ks(e.requiredPrescription),hasAftercare:Ks(e.hasAftercare),isMedical:Ks(e.isMedical),category:null===e||void 0===e?void 0:e.category,locationId:Gs(null===e||void 0===e?void 0:e.clinicLocationId),priceType:Ys(null===e||void 0===e?void 0:e.priceType)}},Ol=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,r;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get("/v1/staff/".concat(t));case 2:return n=e.sent,r=n.data,e.abrupt("return",r.data);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),_l=Is.model({doctor:sl,type:Is.string,patient:ll,treatmentTypes:Is.array(hl),linkedAppointmentsHash:Is.maybeNull(Is.string),prevAppointment:bl,hasLinkedAppointmentUpdated:Is.boolean,hasLinkedChain:Is.boolean,types:Is.array(il),concerns:Is.array(al),fundStatus:Is.number,startDate:Is.string,endDate:Is.string,recommendedEndDate:Is.maybeNull(Is.string),id:Is.number,records:Is.array(yl),deposit:Is.maybeNull(Is.number),vat:Is.number,photosBefore:Is.array(cl),photosAfter:Is.array(cl),depositNotes:Is.string,unavailabilityNotes:Is.maybeNull(Is.string),notes:Is.string,depositedAt:Is.maybeNull(Is.string),isExternal:Is.boolean,status:ol,concernNotes:Is.maybeNull(Is.string),cancelledAt:Is.maybeNull(Is.string),location:Is.number,selectedProductIndex:Is.maybeNull(Is.number)}).actions((function(e){return{setLocation:function(t){e.location=t},setCancelledAt:function(t){e.cancelledAt=t},setConcernNotes:function(t){e.concernNotes=t},setPrevAppointment:function(t){e.prevAppointment=t},clearPrevAppointment:function(){e.prevAppointment={id:0,startDate:"",endDate:"",treatmentTypes:[],types:[]}},setNotes:function(t){e.notes=t},setDoctor:function(t,n,r,o){var i=sl.create({id:t,name:n,role:r,avatarUrl:o});e.doctor=i},setTypes:function(t){e.types=t},setUnavailabilityNotes:function(t){e.unavailabilityNotes=t},setDepositNotes:function(t){e.depositNotes=t},setConcerns:function(t){e.concerns=t},clearConcerns:function(){e.concerns=[]},toggleType:function(t){e.types=e.types.map((function(e){return e.slug===t&&(e.selected=!e.selected),e}))},setPatient:function(t){var n,r,o,i,a,s,l=null!==t&&void 0!==t&&t.lastVisited?{date:(null===(n=t.lastVisited)||void 0===n?void 0:n.date)||"",services:null===t||void 0===t||null===(r=t.lastVisited)||void 0===r||null===(o=r.services)||void 0===o?void 0:o.filter((function(e){return null!==e}))}:{date:"",services:[]};e.patient={id:t.id,isVip:t.isVip,isMedicalHistoryCompleted:t.medicalHistoryCompleted,note:null!==(i=t.note)&&void 0!==i?i:"",existAlerts:(null===t||void 0===t||null===(a=t.alerts)||void 0===a?void 0:a.length)>0,firstName:null===t||void 0===t?void 0:t.firstName,lastName:null===t||void 0===t?void 0:t.lastName,email:null===t||void 0===t||null===(s=t.user)||void 0===s?void 0:s.email,phone:null===t||void 0===t?void 0:t.phone,appointmentsCount:null===t||void 0===t?void 0:t.appointments_count,completedAppointments:null===t||void 0===t?void 0:t.completed_appointments,lastVisited:l}},clearPatient:function(){e.patient={id:0,name:"",isVip:!1,isMedicalHistoryCompleted:!1,note:"",existAlerts:!1,firstName:"",lastName:"",email:"",phone:""}},setPayment:function(t){e.payment={vat:null===t||void 0===t?void 0:t.vat,remainingBalance:null===t||void 0===t?void 0:t.total}},clearPayment:function(){e.payment={vat:0,remainingBalance:0}},toggleTreatmentTypeMedical:function(t,n){e.treatmentTypes=e.treatmentTypes.map((function(e){return e.id===t&&e.isMedical!==n&&(e.isMedical=n),e}))},setTreatmentTypes:function(t){e.treatmentTypes=t},selectTreatmentType:function(t){e.treatmentTypes=e.treatmentTypes.map((function(n){return n.id===t&&n.locationId===e.location&&(n.selected=!n.selected),n}))},setSelectedTreatmentTypes:function(t){e.treatmentTypes=e.treatmentTypes.map((function(n){return t.includes(n.id)&&n.locationId===e.location?n.selected=!0:n.selected=!1,n}))},unselectTreatmentType:function(t){e.treatmentTypes.map((function(e){return e.id===t&&(e.selected=!1),e}))},setLinkedAppointmentsHash:function(t){e.linkedAppointmentsHash=t},clearLinkedAppointmentsHash:function(){e.linkedAppointmentsHash=null},setHasLinkedChain:function(t){e.hasLinkedChain=t},clearHasLinkedChain:function(){e.hasLinkedChain=!1},setHasLinkedAppointmentUpdated:function(t){e.hasLinkedAppointmentUpdated=t},clearHasLinkedAppointmentUpdated:function(){e.hasLinkedAppointmentUpdated=!1},clearTypes:function(){e.types=e.types.map((function(e){return e.selected=!1,e}))},markAsPaid:function(){var t=1===e.fundStatus?2:1;e.setDepositedAt(1===e.fundStatus?Vs()().toISOString():null),e.setFundStatus(t)},setStartDate:function(t){e.startDate=t},setEndDate:function(t){e.endDate=t},setRecommendedEndDate:function(t){e.recommendedEndDate=t},setId:function(t){e.id=t},setRecords:function(t){e.records=t},setSelectedProductByIndex:function(t){e.selectedProductIndex=t},setPhotosBefore:function(t){e.photosBefore=t},setPhotosAfter:function(t){e.photosAfter=t},setDeposit:function(t){e.deposit=t},setDepositedAt:function(t){e.depositedAt=t},setIsExternal:function(t){e.isExternal=t},setStatus:function(t){e.status=t},setExistAlerts:function(t){e.existAlerts=t},init:Na((0,Zs.Z)().mark((function t(n){var r,o,i,a,s,l,c,u,d,p,f,h,b,A,m,g,v,y,M,O,_,z,x,w,C,S,E,k,D,N;return(0,Zs.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=n.staff,a=n.patient,s=n.types,l=n.treatmentTypes,c=n.startDate,u=n.endDate,d=n.id,p=n.deposit,f=n.hasLinkedChain,h=n.linkedAppointmentsHash,b=n.fundStatus,A=n.depositNotes,m=n.further_details,g=n.depositedAt,v=n.isExternal,y=n.status,M=n.previousAppointment,O=n.concernNotes,_=n.cancelled_at,z=n.location,x=n.payment,e.setCancelledAt(_),e.setConcernNotes(null!==O&&void 0!==O?O:""),e.setNotes(null!==m&&void 0!==m?m:""),e.setDepositNotes(A||""),e.setDepositedAt(g),e.setIsExternal(v),e.setLocation(null===z||void 0===z?void 0:z.id),e.setStatus(null!==y&&void 0!==y?y:{id:0,name:"Not Created",slug:"not-created"}),w=s.map((function(e){return Us(Us({},e),{},{selected:!0})})),t.next=12,Ol(null===i||void 0===i?void 0:i.id);case 12:C=t.sent,S=C.treatmentTypes,E=C.user,k=S.map((function(e){var t,n=Ml(e);return Us(Us(Us({},e),n),{},{selected:l.filter((function(t){return t.id===e.id&&e.clinicLocationId===z.id})).length>0,isMedical:!0===(null===(t=l.filter((function(t){return t.id===e.id&&e.clinicLocationId===z.id}))[0])||void 0===t?void 0:t.isMedical)})})),e.setDoctor(null===i||void 0===i?void 0:i.id,null===i||void 0===i?void 0:i.fullName,null===i||void 0===i||null===(r=i.role)||void 0===r||null===(o=r[0])||void 0===o?void 0:o.name,null!==E&&void 0!==E&&E.avatarUrl?null===E||void 0===E?void 0:E.avatarUrl:""),e.setTypes(w),e.setPatient(a),e.setPayment(x),e.setTreatmentTypes(k),e.setStartDate(c),e.setEndDate(u),e.setId(d),e.setDeposit(p||0),e.setFundStatus(b.id),e.setHasLinkedChain(f),e.setHasLinkedAppointmentUpdated(!1),f&&e.setLinkedAppointmentsHash(h),M&&M&&(D=null===M||void 0===M?void 0:M.treatmentTypes.map((function(e){var t=Ml(e);return Us(Us({},e),{},{selected:!1},t)})),N=null===M||void 0===M?void 0:M.types.map((function(e){return Us(Us({},e),{},{selected:!1})})),e.setPrevAppointment({id:M.id,startDate:M.startDate,endDate:M.endDate,treatmentTypes:D,types:N}));case 30:case"end":return t.stop()}}),t)}))),clear:function(){e.setCancelledAt(null),e.clearHasLinkedAppointmentUpdated(),e.clearPrevAppointment(),e.clearHasLinkedChain(),e.clearLinkedAppointmentsHash(),e.setDepositNotes(""),e.setTreatmentTypes([]),e.setId(0),e.setDeposit(null),e.clearPatient(),e.clearPayment(),e.setDoctor(0,"","",""),e.setTypes([]),e.setFundStatus(1),e.setNotes(""),e.setDepositedAt(""),e.setSelectedProductByIndex(0),e.setIsExternal(!1),e.setStatus({id:0,name:"Not Created",slug:"not-created"}),mi(e).appointmentDoctor.payment.clear(),e.clearConcerns(),e.setLocation(mi(e).location.id)},setVat:function(t){e.vat=t},setFundStatus:function(t){e.fundStatus=t}}})).views((function(e){return{get canBookWithoutDeposit(){var t=e.doctor.id,n=e.patient.id,r=e.location,o=["top-up","review","consultation","quick-start"],i=e.selectedTypes.map((function(e){return e.slug})).every((function(e){return o.includes(e)})),a=e.treatmentTypes.filter((function(e){return!0===e.selected})).length>0;return!!t&&!!n&&!!r&&(!!a||i)},get canBook(){var t=e.canBookWithoutDeposit;return e.depositRequired?t&&e.isDeposited:t},get canStart(){return e.canBookWithoutDeposit&&e.patient.isMedicalHistoryCompleted},get selectedTypes(){return e.types.filter((function(e){return!0===e.selected}))},get selectedTreatmentTypes(){return e.treatmentTypes.filter((function(e){return!0===e.selected}))},get selectedTreatmentTypesSurveys(){var t=[];return e.selectedTreatmentTypes.forEach((function(e){return e.surveys.forEach((function(e){return t.push(e)}))})),t},get orderTreatmentTypes(){var t=e.treatmentTypes.slice().sort((function(e,t){return e.order-t.order}));return t},get depositMaxValue(){var t=0;return e.types.forEach((function(e){if(e.selected)return t+=e.price})),e.treatmentTypes.forEach((function(e){e.selected&&(t+=null===e||void 0===e?void 0:e.price)})),t},get depositRequired(){var t=0;return e.types.forEach((function(e){if(e.selected)return t+=e.deposit})),e.treatmentTypes.forEach((function(e){e.selected&&(t+=e.deposit)})),t},get selectedTypesPrice(){var t=0;return e.types.forEach((function(e){if(e.selected)return t+=e.price})),t},get selectedTypesDuration(){var t=0;return e.types.forEach((function(e){if(e.selected)return t+=e.duration})),t},get total(){var t=0;return e.treatmentTypes.forEach((function(e){if(e.selected)return t+=e.realPrice})),e.selectedTypesPrice+t},get totalVat(){var t=0;return e.treatmentTypes.forEach((function(e){e.selected&&(t+=e.vatValue)})),t},get aftercareTreatmentTypes(){return e.treatmentTypes.filter((function(e){return e.hasAftercare}))},get isDeposited(){return e.deposit>0},get isPaid(){return 3===e.fundStatus},get isCompleted(){return"completed"===e.status.slug},get availableTreatmentTypes(){var t,n=mi(e).appointmentDoctor.payment.items.map((function(e){return e.treatmentTypeId}));return null===(t=e.treatmentTypes)||void 0===t?void 0:t.filter((function(t){return!n.includes(t.id)&&!(null!==t&&void 0!==t&&t.deletedAt)&&t.locationId===e.location}))}}})),zl=Is.model({id:Is.number,name:Is.string,slug:Is.string}),xl=Is.model({id:Is.number,title:Is.string,isOptional:Is.boolean,result:Is.maybeNull(Is.boolean)}),wl=Is.model({id:Is.number,name:Is.string,text:Is.string,agreements:Is.array(xl),sign:Is.maybeNull(Is.string),active:Is.boolean,generic:Is.boolean,product_brand_id:Is.maybeNull(Is.number),createdDate:Is.maybeNull(Is.string),updatedDate:Is.maybeNull(Is.string)}).actions((function(e){return{updateAgreement:function(t){e.agreements=e.agreements.map((function(e){return e.id===t&&(e.result=!e.result),e}))},setActive:function(t){e.active=t},setSign:function(t){e.sign=t},setUpdatedDate:function(t){e.updatedDate=t}}})).views((function(e){return{get answers(){return e.agreements.map((function(e){return{consentFormAgreementId:e.id,result:null===e||void 0===e?void 0:e.result}}))},get allChecked(){var t=e.agreements.filter((function(e){return!e.isOptional&&(null===e||void 0===e?void 0:e.result)}));return e.agreements.filter((function(e){return!e.isOptional})).length===t.length}}})),Cl=Is.model({id:Is.number,value:Is.number,note:Is.maybeNull(Is.string)}).actions((function(e){return{setNote:function(t){e.note=t},setValue:function(t){e.value=t}}})),Sl=Is.model({id:Is.number,is_medical:Is.boolean,note:Is.maybeNull(Is.string),createdDate:Is.maybeNull(Is.string),updatedDate:Is.maybeNull(Is.string),diagnoses:Is.array(Is.number),scalingTools:Is.array(Cl),concerns:Is.array(al)}).actions((function(e){return{init:function(t){e.concerns=t.concerns},setActive:function(t){e.active=t},setSign:function(t){e.sign=t},setUpdatedDate:function(t){e.updatedDate=t}}})).views((function(e){return{get answers(){return e.agreements.map((function(e){return{consentFormAgreementId:e.id,result:null===e||void 0===e?void 0:e.result}}))},get allChecked(){var t=e.agreements.filter((function(e){return!e.isOptional&&(null===e||void 0===e?void 0:e.result)}));return e.agreements.filter((function(e){return!e.isOptional})).length===t.length}}})),El=Is.model({id:Is.maybe(Is.number),treatmentTypeId:Is.maybeNull(Is.number),name:Is.string,fullName:Is.maybeNull(Is.string),index:Is.maybe(Is.number),price:Is.number,deposit:Is.number,isMedical:Is.boolean}).actions((function(e){return{setIndex:function(t){e.index=t}}})),kl=__webpack_require__(57009);if(!e.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!io)throw new Error("mobx-react-lite@3 requires mobx at least version 6 to be available");var Dl=__webpack_require__(1168);function Nl(e){e()}function Tl(e){return Nr(e)}var jl=function(){function e(e){var t=this;Object.defineProperty(this,"finalize",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"registrations",{enumerable:!0,configurable:!0,writable:!0,value:new Map}),Object.defineProperty(this,"sweepTimeout",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"sweep",{enumerable:!0,configurable:!0,writable:!0,value:function(e){void 0===e&&(e=1e4),clearTimeout(t.sweepTimeout),t.sweepTimeout=void 0;var n=Date.now();t.registrations.forEach((function(r,o){n-r.registeredAt>=e&&(t.finalize(r.value),t.registrations.delete(o))})),t.registrations.size>0&&t.scheduleSweep()}}),Object.defineProperty(this,"finalizeAllImmediately",{enumerable:!0,configurable:!0,writable:!0,value:function(){t.sweep(0)}})}return Object.defineProperty(e.prototype,"register",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n){this.registrations.set(n,{value:t,registeredAt:Date.now()}),this.scheduleSweep()}}),Object.defineProperty(e.prototype,"unregister",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.registrations.delete(e)}}),Object.defineProperty(e.prototype,"scheduleSweep",{enumerable:!1,configurable:!0,writable:!0,value:function(){void 0===this.sweepTimeout&&(this.sweepTimeout=setTimeout(this.sweep,1e4))}}),e}(),Bl=new("undefined"!==typeof FinalizationRegistry?FinalizationRegistry:jl)((function(e){var t;null===(t=e.reaction)||void 0===t||t.dispose(),e.reaction=null})),Ll=!1;function Rl(){return Ll}var ql=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};function Pl(e){return"observer".concat(e)}var Il=function(){};function Wl(){return new Il}function Fl(t,n){if(void 0===n&&(n="observed"),Rl())return t();var r=ql(e.useState(Wl),1)[0],o=ql(e.useState(),2)[1],i=function(){return o([])},a=e.useRef(null);a.current||(a.current={reaction:null,mounted:!1,changedBeforeMount:!1});var s,l,c=a.current;if(c.reaction||(c.reaction=new nr(Pl(n),(function(){c.mounted?i():c.changedBeforeMount=!0})),Bl.register(r,c,c)),e.useDebugValue(c.reaction,Tl),e.useEffect((function(){return Bl.unregister(c),c.mounted=!0,c.reaction?c.changedBeforeMount&&(c.changedBeforeMount=!1,i()):(c.reaction=new nr(Pl(n),(function(){i()})),i()),function(){c.reaction.dispose(),c.reaction=null,c.mounted=!1,c.changedBeforeMount=!1}}),[]),c.reaction.track((function(){try{s=t()}catch(AE){l=AE}})),l)throw l;return s}var Ul="function"===typeof Symbol&&Symbol.for,Zl=Ul?Symbol.for("react.forward_ref"):"function"===typeof e.forwardRef&&(0,e.forwardRef)((function(e){return null})).$$typeof,Hl=Ul?Symbol.for("react.memo"):"function"===typeof e.memo&&(0,e.memo)((function(e){return null})).$$typeof;function $l(t,n){var r;if(Hl&&t.$$typeof===Hl)throw new Error("[mobx-react-lite] You are trying to use `observer` on a function component wrapped in either another `observer` or `React.memo`. The observer already applies 'React.memo' for you.");if(Rl())return t;var o=null!==(r=null===n||void 0===n?void 0:n.forwardRef)&&void 0!==r&&r,i=t,a=t.displayName||t.name;if(Zl&&t.$$typeof===Zl&&(o=!0,"function"!==typeof(i=t.render)))throw new Error("[mobx-react-lite] `render` property of ForwardRef was not a function");var s,l,c=function(e,t){return Fl((function(){return i(e,t)}),a)};return""!==a&&(c.displayName=a),t.contextTypes&&(c.contextTypes=t.contextTypes),o&&(c=(0,e.forwardRef)(c)),c=(0,e.memo)(c),s=t,l=c,Object.keys(s).forEach((function(e){Vl[e]||Object.defineProperty(l,e,Object.getOwnPropertyDescriptor(s,e))})),c}var Vl={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};var Xl;!function(e){e||(e=Nl),kr({reactionScheduler:e})}(Dl.unstable_batchedUpdates);Xl=Bl.finalizeAllImmediately;var Ql="paymentMethodSelector_container__BV35b",Yl="paymentMethodSelector_paymentMethod__GNTqW",Gl=__webpack_require__(50835),Kl=__webpack_require__(46417),Jl=function(){return(0,Kl.jsxs)(Gl.Z,{width:"180",height:"181",viewBox:"0 0 180 181",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,Kl.jsxs)("g",{clipPath:"url(#clip0_302_2)",children:[(0,Kl.jsx)("path",{d:"M77.05 173.87L20.25 129.47C19.6135 128.966 19.0826 128.342 18.6877 127.633C18.2928 126.924 18.0418 126.144 17.9489 125.337C17.856 124.531 17.9231 123.714 18.1463 122.934C18.3696 122.154 18.7447 121.425 19.25 120.79L112.15 2.33995C113.165 1.05148 114.648 0.216843 116.276 0.0182466C117.905 -0.180349 119.545 0.273224 120.84 1.27995L177.67 45.6499C178.311 46.1492 178.847 46.7702 179.247 47.4772C179.648 48.1841 179.905 48.9633 180.003 49.7698C180.102 50.5763 180.04 51.3943 179.821 52.1768C179.603 52.9594 179.232 53.6911 178.73 54.3299L85.77 172.81C85.2679 173.453 84.6438 173.991 83.9334 174.393C83.2229 174.795 82.4402 175.052 81.6301 175.151C80.8199 175.249 79.9983 175.187 79.2124 174.967C78.4264 174.747 77.6915 174.374 77.05 173.87Z",fill:"#57AD7B"}),(0,Kl.jsx)("path",{d:"M41.2 177.47L1.05 117.66C0.597611 116.985 0.282704 116.228 0.1233 115.431C-0.0361033 114.635 -0.0368683 113.814 0.121027 113.017C0.278922 112.221 0.59239 111.463 1.0435 110.787C1.4946 110.111 2.07449 109.531 2.74999 109.08L127.91 25.28C129.272 24.368 130.941 24.0338 132.549 24.3506C134.158 24.6674 135.575 25.6095 136.49 26.97L176.64 86.81C177.094 87.4837 177.411 88.2406 177.572 89.037C177.733 89.8335 177.735 90.6538 177.577 91.4511C177.42 92.2483 177.108 93.0066 176.657 93.6826C176.206 94.3585 175.626 94.9388 174.95 95.39L49.78 179.19C48.4176 180.102 46.749 180.436 45.1405 180.119C43.5319 179.802 42.1148 178.86 41.2 177.5V177.47Z",fill:"#81CDA1"}),(0,Kl.jsx)("path",{d:"M176.64 86.81L136.49 26.97C135.575 25.6095 134.158 24.6674 132.549 24.3506C130.941 24.0338 129.272 24.368 127.91 25.28L123.05 28.54L162.15 86.81C163.061 88.1736 163.394 89.843 163.075 91.4516C162.756 93.0603 161.812 94.4767 160.45 95.39L40.15 175.93L41.2 177.5C42.1148 178.86 43.532 179.802 45.1405 180.119C46.7491 180.436 48.4176 180.102 49.78 179.19L174.95 95.39C175.626 94.9388 176.206 94.3585 176.657 93.6826C177.108 93.0066 177.42 92.2483 177.578 91.4511C177.735 90.6538 177.733 89.8335 177.572 89.037C177.411 88.2406 177.094 87.4837 176.64 86.81Z",fill:"#60BF88"}),(0,Kl.jsx)("path",{d:"M121.796 104.234C122.853 86.0616 108.961 70.4716 90.7659 69.413C72.5713 68.3543 56.9645 82.2279 55.9071 100.4C54.8497 118.573 68.7422 134.163 86.9368 135.222C105.131 136.28 120.738 122.407 121.796 104.234Z",fill:"#29795D"}),(0,Kl.jsx)("path",{d:"M82.97 119.92L84.78 117.67L79.35 109.82L77.93 110.82C77.3129 111.195 76.5759 111.32 75.8699 111.169C75.1638 111.018 74.542 110.603 74.1319 110.009C73.7217 109.415 73.5542 108.686 73.6635 107.973C73.7728 107.259 74.1508 106.614 74.72 106.17L76.15 105.17L73.31 101.06C71.06 97.8 70.16 94.4001 70.71 91.3801C71.26 88.3601 73.08 85.65 76.29 83.43C77.8705 82.2368 79.6929 81.4037 81.6294 80.9892C83.5658 80.5746 85.5695 80.5885 87.5 81.03C88.1492 81.1309 88.753 81.4249 89.2326 81.8738C89.7123 82.3227 90.0456 82.9057 90.1892 83.5468C90.3327 84.1879 90.2798 84.8574 90.0374 85.468C89.7949 86.0786 89.3742 86.602 88.83 86.9701C88.467 87.2341 88.051 87.4163 87.6109 87.5044C87.1707 87.5924 86.7167 87.5841 86.28 87.4801C83.88 86.9601 81.95 87.0401 79.9 88.4801C79.2756 88.8727 78.7374 89.388 78.318 89.9948C77.8985 90.6016 77.6067 91.2872 77.46 92.0101C77.2528 93.9231 77.7979 95.8417 78.98 97.3601L81.72 101.36L90.72 95.1301C91.3402 94.7159 92.0973 94.5595 92.8309 94.6939C93.5644 94.8283 94.2169 95.243 94.65 95.8501C95.0687 96.4671 95.2278 97.2241 95.0931 97.9576C94.9584 98.691 94.5406 99.342 93.93 99.77L84.93 106L90.21 113.63L102.53 105.12C102.845 104.899 103.201 104.743 103.577 104.661C103.953 104.579 104.341 104.572 104.719 104.641C105.098 104.71 105.459 104.853 105.782 105.062C106.105 105.271 106.383 105.543 106.6 105.86C106.812 106.173 106.961 106.525 107.037 106.896C107.113 107.266 107.115 107.648 107.044 108.02C106.972 108.391 106.828 108.745 106.62 109.061C106.412 109.376 106.143 109.648 105.83 109.86L86.28 123.37C86.0276 123.573 85.7363 123.723 85.4239 123.81C85.1116 123.897 84.7848 123.919 84.4636 123.875C84.1425 123.831 83.8337 123.722 83.5562 123.554C83.2787 123.386 83.0384 123.164 82.85 122.9C82.5326 122.462 82.3719 121.93 82.3937 121.389C82.4154 120.849 82.6185 120.331 82.97 119.92Z",fill:"#81CDA1"}),(0,Kl.jsx)("path",{d:"M19.88 97.61C21.8408 100.532 23.2063 103.813 23.8982 107.263C24.59 110.714 24.5948 114.267 23.9121 117.719C23.2294 121.171 21.8728 124.455 19.9197 127.383C17.9666 130.31 15.4555 132.824 12.53 134.78L1.04996 117.66C0.598054 116.985 0.283787 116.227 0.125143 115.43C-0.0335019 114.633 -0.0334165 113.812 0.125417 113.015C0.284251 112.218 0.598702 111.461 1.05077 110.785C1.50284 110.11 2.08366 109.53 2.75997 109.08L19.88 97.61Z",fill:"#29795D"}),(0,Kl.jsx)("path",{d:"M29.74 160.47C35.642 156.503 42.8766 155.04 49.8563 156.401C56.836 157.762 62.9908 161.836 66.97 167.73L49.79 179.23C48.428 180.146 46.758 180.484 45.1471 180.169C43.5363 179.854 42.1165 178.912 41.2 177.55L29.74 160.47Z",fill:"#29795D"}),(0,Kl.jsx)("path",{d:"M157.83 106.87C155.869 103.949 154.503 100.67 153.811 97.2208C153.118 93.7714 153.112 90.2194 153.794 86.7679C154.476 83.3164 155.832 80.0332 157.784 77.1062C159.736 74.1792 162.246 71.6659 165.17 69.71L176.66 86.83C177.112 87.5046 177.426 88.2617 177.584 89.0579C177.743 89.8541 177.743 90.6737 177.584 91.4699C177.425 92.266 177.11 93.023 176.659 93.6974C176.207 94.3718 175.626 94.9504 174.95 95.4L157.83 106.87Z",fill:"#29795D"}),(0,Kl.jsx)("path",{d:"M147.96 44.0599C142.058 48.0267 134.823 49.49 127.844 48.1289C120.864 46.7679 114.709 42.6935 110.73 36.7999L127.91 25.2999C129.273 24.3865 130.942 24.0504 132.552 24.3653C134.162 24.6802 135.582 25.6204 136.5 26.98L147.96 44.0599Z",fill:"#29795D"}),(0,Kl.jsx)("path",{d:"M130.27 77.2201C129.68 77.2281 129.104 77.0444 128.628 76.6965C128.152 76.3487 127.802 75.8556 127.63 75.2914C127.459 74.7273 127.475 74.1227 127.677 73.5688C127.879 73.0148 128.256 72.5415 128.75 72.2201L141.56 63.6501C141.856 63.4205 142.195 63.2545 142.558 63.1623C142.921 63.07 143.298 63.0536 143.668 63.1141C144.037 63.1746 144.39 63.3106 144.704 63.5136C145.019 63.7167 145.288 63.9824 145.495 64.2942C145.701 64.606 145.842 64.9571 145.907 65.3257C145.972 65.6942 145.96 66.0722 145.872 66.4359C145.785 66.7997 145.623 67.1415 145.397 67.4399C145.171 67.7383 144.886 67.9869 144.56 68.1701L131.76 76.74C131.324 77.0476 130.804 77.215 130.27 77.2201Z",fill:"#29795D"}),(0,Kl.jsx)("path",{d:"M34.63 141.26C34.0404 141.268 33.4642 141.084 32.9881 140.736C32.512 140.389 32.1619 139.896 31.9904 139.331C31.8189 138.767 31.8354 138.163 32.0373 137.609C32.2392 137.055 32.6157 136.581 33.1099 136.26L45.91 127.69C46.2055 127.46 46.5452 127.294 46.9079 127.202C47.2706 127.11 47.6484 127.094 48.0177 127.154C48.387 127.214 48.7398 127.35 49.0542 127.554C49.3685 127.757 49.6376 128.022 49.8445 128.334C50.0514 128.646 50.1918 128.997 50.2569 129.366C50.3219 129.734 50.3102 130.112 50.2225 130.476C50.1348 130.84 49.9729 131.181 49.7471 131.48C49.5212 131.778 49.2362 132.027 48.91 132.21L36.1099 140.78C35.6736 141.08 35.1594 141.247 34.63 141.26Z",fill:"#29795D"})]}),(0,Kl.jsx)("defs",{children:(0,Kl.jsx)("clipPath",{id:"clip0_302_2",children:(0,Kl.jsx)("rect",{width:"180",height:"180.24",fill:"white"})})})]})},ec=function(){return(0,Kl.jsxs)(Gl.Z,{width:"168",height:"180",viewBox:"0 0 168 180",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,Kl.jsxs)("g",{clipPath:"url(#clip0_302_14)",children:[(0,Kl.jsx)("path",{d:"M149.87 65.96L65.9599 149.87C65.0581 150.773 63.9872 151.489 62.8084 151.978C61.6296 152.467 60.366 152.718 59.0899 152.718C57.8138 152.718 56.5503 152.467 55.3715 151.978C54.1927 151.489 53.1217 150.773 52.2199 149.87L2.83994 100.49C1.01957 98.6692 -0.00305176 96.1998 -0.00305176 93.625C-0.00305176 91.0503 1.01957 88.581 2.83994 86.7601L86.7599 2.84006C88.5808 1.0197 91.0502 -0.00292969 93.625 -0.00292969C96.1997 -0.00292969 98.6691 1.0197 100.49 2.84006L149.87 52.22C150.773 53.1219 151.489 54.1928 151.978 55.3716C152.466 56.5504 152.718 57.814 152.718 59.09C152.718 60.3661 152.466 61.6297 151.978 62.8085C151.489 63.9873 150.773 65.0582 149.87 65.96Z",fill:"#8CBAFA"}),(0,Kl.jsx)("path",{d:"M149.87 52.2199L143.71 46.0599C147.09 49.4399 146.71 55.2499 142.96 59.0599L59.04 142.96C55.25 146.75 49.44 147.09 46.04 143.71L52.2 149.87C53.1018 150.773 54.1728 151.489 55.3516 151.978C56.5304 152.466 57.794 152.718 59.0701 152.718C60.3462 152.718 61.6097 152.466 62.7885 151.978C63.9673 151.489 65.0383 150.773 65.9401 149.87L149.85 65.9599C150.754 65.0594 151.472 63.9896 151.962 62.8115C152.453 61.6334 152.706 60.3702 152.708 59.0941C152.71 57.818 152.46 56.5541 151.973 55.3745C151.486 54.195 150.772 53.1231 149.87 52.2199Z",fill:"#5692D8"}),(0,Kl.jsx)("path",{d:"M18.98 97.04C18.459 97.0393 17.9498 96.8845 17.5166 96.5949C17.0834 96.3054 16.7456 95.8942 16.5456 95.4131C16.3457 94.9319 16.2926 94.4024 16.393 93.8911C16.4934 93.3799 16.7429 92.9097 17.11 92.54L58.22 51.43C58.7146 50.9367 59.385 50.6601 60.0835 50.661C60.7821 50.662 61.4517 50.9403 61.945 51.435C62.4383 51.9296 62.7149 52.6 62.714 53.2985C62.713 53.9971 62.4347 54.6667 61.94 55.16L20.84 96.27C20.346 96.7622 19.6774 97.0391 18.98 97.04Z",fill:"#252D4C"}),(0,Kl.jsx)("path",{d:"M32.04 110.1C31.5189 110.099 31.0097 109.945 30.5765 109.655C30.1433 109.365 29.8055 108.954 29.6056 108.473C29.4056 107.992 29.3525 107.462 29.4529 106.951C29.5534 106.44 29.8029 105.97 30.17 105.6L71.2799 64.5C71.7732 64.0054 72.4428 63.727 73.1414 63.7261C73.84 63.7251 74.5104 64.0017 75.005 64.495C75.4996 64.9883 75.778 65.6579 75.7789 66.3565C75.7798 67.0551 75.5032 67.7254 75.0099 68.22L33.8999 109.35C33.4027 109.835 32.7345 110.104 32.04 110.1Z",fill:"#252D4C"}),(0,Kl.jsx)("path",{d:"M85.39 21.97L77.16 30.19C75.6071 31.7429 74.7347 33.849 74.7347 36.045C74.7347 38.2411 75.6071 40.3472 77.16 41.9C78.7128 43.4529 80.8189 44.3252 83.015 44.3252C85.211 44.3252 87.3172 43.4529 88.87 41.9L97.09 33.67C97.8582 32.9018 98.4676 31.9898 98.8834 30.986C99.2991 29.9823 99.5131 28.9065 99.5131 27.82C99.5131 26.7336 99.2991 25.6578 98.8834 24.654C98.4676 23.6503 97.8582 22.7382 97.09 21.97C96.3217 21.2018 95.4098 20.5924 94.406 20.1766C93.4023 19.7609 92.3264 19.5469 91.24 19.5469C90.1535 19.5469 89.0777 19.7609 88.074 20.1766C87.0702 20.5924 86.1582 21.2018 85.39 21.97Z",fill:"#FFCD34"}),(0,Kl.jsx)("path",{d:"M157.8 90.74H39.12C36.5448 90.74 34.075 91.763 32.254 93.584C30.4331 95.4049 29.41 97.8747 29.41 100.45V170.29C29.41 172.865 30.4331 175.335 32.254 177.156C34.075 178.977 36.5448 180 39.12 180H157.8C160.375 180 162.845 178.977 164.666 177.156C166.487 175.335 167.51 172.865 167.51 170.29V100.45C167.51 99.1748 167.259 97.9122 166.771 96.7341C166.283 95.5561 165.568 94.4856 164.666 93.584C163.764 92.6823 162.694 91.9671 161.516 91.4791C160.338 90.9911 159.075 90.74 157.8 90.74Z",fill:"#FFCD34"}),(0,Kl.jsx)("path",{d:"M157.8 90.74H149.1C151.675 90.74 154.145 91.763 155.966 93.584C157.787 95.4049 158.81 97.8747 158.81 100.45V170.29C158.81 172.865 157.787 175.335 155.966 177.156C154.145 178.977 151.675 180 149.1 180H157.8C160.375 180 162.845 178.977 164.666 177.156C166.487 175.335 167.51 172.865 167.51 170.29V100.45C167.51 99.1748 167.259 97.9122 166.771 96.7341C166.283 95.5561 165.568 94.4856 164.666 93.584C163.764 92.6823 162.694 91.9671 161.516 91.4791C160.338 90.9911 159.075 90.74 157.8 90.74Z",fill:"#E69012"}),(0,Kl.jsx)("path",{d:"M29.41 112.68H167.54V129.46H29.41V112.68Z",fill:"#575B7A"}),(0,Kl.jsx)("path",{d:"M158.81 112.68H167.54V129.46H158.84L158.81 112.68Z",fill:"#252D4C"}),(0,Kl.jsx)("path",{d:"M133.54 156.26V166.61C133.539 166.8 133.575 166.988 133.647 167.164C133.718 167.34 133.824 167.5 133.958 167.635C134.092 167.769 134.251 167.876 134.427 167.949C134.602 168.022 134.79 168.06 134.98 168.06H151.44C151.63 168.06 151.819 168.023 151.995 167.95C152.171 167.877 152.331 167.77 152.465 167.635C152.6 167.501 152.707 167.341 152.78 167.165C152.852 166.989 152.89 166.8 152.89 166.61V156.26C152.89 156.07 152.852 155.882 152.779 155.707C152.706 155.531 152.599 155.372 152.465 155.238C152.33 155.104 152.17 154.999 151.994 154.927C151.818 154.855 151.63 154.819 151.44 154.82H135.01C134.818 154.815 134.627 154.848 134.448 154.918C134.269 154.988 134.106 155.094 133.969 155.228C133.832 155.362 133.723 155.523 133.65 155.7C133.576 155.878 133.539 156.068 133.54 156.26Z",fill:"#E9E9EA"}),(0,Kl.jsx)("path",{d:"M83.9401 156.26V166.61C83.9401 166.8 83.9775 166.989 84.0504 167.165C84.1233 167.341 84.2301 167.501 84.3647 167.635C84.4994 167.77 84.6592 167.877 84.8351 167.95C85.0111 168.022 85.1996 168.06 85.39 168.06H120.2C120.39 168.06 120.579 168.022 120.755 167.95C120.931 167.877 121.091 167.77 121.225 167.635C121.36 167.501 121.467 167.341 121.54 167.165C121.613 166.989 121.65 166.8 121.65 166.61V156.26C121.65 156.07 121.612 155.882 121.539 155.707C121.466 155.531 121.36 155.372 121.225 155.238C121.09 155.104 120.93 154.998 120.754 154.927C120.578 154.855 120.39 154.819 120.2 154.82H85.39C85.2001 154.819 85.0117 154.855 84.8359 154.927C84.66 154.998 84.5001 155.104 84.3654 155.238C84.2306 155.372 84.1236 155.531 84.0506 155.707C83.9776 155.882 83.9401 156.07 83.9401 156.26Z",fill:"#E9E9EA"}),(0,Kl.jsx)("path",{d:"M69.75 170.7H52.41C51.7098 170.7 51.0383 170.422 50.5432 169.927C50.0481 169.432 49.77 168.76 49.77 168.06C49.77 167.36 50.0481 166.688 50.5432 166.193C51.0383 165.698 51.7098 165.42 52.41 165.42H69.75C70.4502 165.42 71.1217 165.698 71.6168 166.193C72.1119 166.688 72.39 167.36 72.39 168.06C72.39 168.76 72.1119 169.432 71.6168 169.927C71.1217 170.422 70.4502 170.7 69.75 170.7Z",fill:"#252D4C"})]}),(0,Kl.jsx)("defs",{children:(0,Kl.jsx)("clipPath",{id:"clip0_302_14",children:(0,Kl.jsx)("rect",{width:"167.51",height:"180",fill:"white"})})})]})},tc=function(e){var t=e.style;return(0,Kl.jsxs)(Gl.Z,{width:"180",height:"180",viewBox:"0 0 180 180",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:t,children:[(0,Kl.jsxs)("g",{clipPath:"url(#clip0_302_27)",children:[(0,Kl.jsx)("path",{d:"M94.4 118.02H105.86V161.35H94.4V118.02Z",fill:"#DDE2F6"}),(0,Kl.jsx)("path",{d:"M125.59 118.02H137.06V161.35H125.59V118.02Z",fill:"#DDE2F6"}),(0,Kl.jsx)("path",{d:"M156.78 118.02H168.25V161.35H156.78V118.02Z",fill:"#DDE2F6"}),(0,Kl.jsx)("path",{d:"M106.05 168.67L100.13 172.21L94.21 168.67C92.8017 168.67 91.4511 168.111 90.4553 167.115C89.4594 166.119 88.9 164.768 88.9 163.36C88.9 161.952 89.4594 160.601 90.4553 159.605C91.4511 158.609 92.8017 158.05 94.21 158.05H106.05C107.458 158.05 108.809 158.609 109.805 159.605C110.801 160.601 111.36 161.952 111.36 163.36C111.36 164.768 110.801 166.119 109.805 167.115C108.809 168.111 107.458 168.67 106.05 168.67Z",fill:"#7F95E0"}),(0,Kl.jsx)("path",{d:"M168.44 124.1H156.6C155.192 124.1 153.841 123.54 152.845 122.545C151.85 121.549 151.29 120.198 151.29 118.79C151.29 117.382 151.85 116.031 152.845 115.035C153.841 114.039 155.192 113.48 156.6 113.48L162.52 109.57L168.44 113.48C169.848 113.48 171.199 114.039 172.195 115.035C173.191 116.031 173.75 117.382 173.75 118.79C173.75 120.198 173.191 121.549 172.195 122.545C171.199 123.54 169.848 124.1 168.44 124.1Z",fill:"#7F95E0"}),(0,Kl.jsx)("path",{d:"M168.44 168.67L162.52 172.21L156.6 168.67C155.192 168.67 153.841 168.111 152.845 167.115C151.85 166.119 151.29 164.768 151.29 163.36C151.29 161.952 151.85 160.601 152.845 159.605C153.841 158.609 155.192 158.05 156.6 158.05H168.44C169.848 158.05 171.199 158.609 172.195 159.605C173.191 160.601 173.75 161.952 173.75 163.36C173.75 164.768 173.191 166.119 172.195 167.115C171.199 168.111 169.848 168.67 168.44 168.67Z",fill:"#7F95E0"}),(0,Kl.jsx)("path",{d:"M137.24 124.1H125.4C123.992 124.1 122.641 123.54 121.645 122.545C120.65 121.549 120.09 120.198 120.09 118.79C120.09 117.382 120.65 116.031 121.645 115.035C122.641 114.039 123.992 113.48 125.4 113.48L131.32 109.57L137.24 113.48C138.648 113.48 139.999 114.039 140.995 115.035C141.991 116.031 142.55 117.382 142.55 118.79C142.55 120.198 141.991 121.549 140.995 122.545C139.999 123.54 138.648 124.1 137.24 124.1Z",fill:"#7F95E0"}),(0,Kl.jsx)("path",{d:"M137.24 168.67L131.32 171.61L125.4 168.67C123.992 168.67 122.641 168.111 121.645 167.115C120.65 166.119 120.09 164.768 120.09 163.36C120.09 161.952 120.65 160.601 121.645 159.605C122.641 158.609 123.992 158.05 125.4 158.05H137.24C138.648 158.05 139.999 158.609 140.995 159.605C141.991 160.601 142.55 161.952 142.55 163.36C142.55 164.768 141.991 166.119 140.995 167.115C139.999 168.111 138.648 168.67 137.24 168.67Z",fill:"#7F95E0"}),(0,Kl.jsx)("path",{d:"M84.5899 106.09L127.27 80.75C128.496 80.023 129.895 79.6394 131.32 79.6394C132.745 79.6394 134.144 80.023 135.37 80.75L178.05 106.09C178.773 106.547 179.331 107.223 179.642 108.02C179.952 108.817 179.999 109.693 179.775 110.519C179.551 111.344 179.069 112.076 178.398 112.608C177.728 113.139 176.905 113.441 176.05 113.47H86.6199C85.765 113.441 84.9419 113.139 84.2714 112.608C83.6009 112.076 83.1184 111.344 82.8946 110.519C82.6709 109.693 82.7177 108.817 83.0282 108.02C83.3388 107.223 83.8966 106.547 84.6199 106.09H84.5899Z",fill:"#B1BEEB"}),(0,Kl.jsx)("path",{d:"M174.34 180H88.34C86.8379 180 85.3972 179.404 84.3342 178.343C83.2711 177.282 82.6726 175.842 82.6699 174.34C82.6699 173.596 82.8167 172.859 83.1017 172.172C83.3868 171.484 83.8046 170.86 84.3312 170.334C84.8579 169.809 85.483 169.392 86.1709 169.108C86.8588 168.824 87.5958 168.679 88.34 168.68H174.34C175.084 168.679 175.82 168.824 176.508 169.108C177.195 169.392 177.819 169.809 178.345 170.335C178.871 170.861 179.288 171.485 179.572 172.172C179.856 172.86 180.001 173.596 180 174.34C180 175.841 179.404 177.281 178.342 178.342C177.281 179.404 175.841 180 174.34 180Z",fill:"#B1BEEB"}),(0,Kl.jsx)("path",{d:"M11.76 39.14H23.22V83.71H11.76V39.14Z",fill:"#DDE2F6"}),(0,Kl.jsx)("path",{d:"M23.41 89.03L17.49 92.65L11.57 89.03C10.1617 89.03 8.81106 88.4706 7.81525 87.4748C6.81943 86.4789 6.26001 85.1283 6.26001 83.72C6.26001 82.3117 6.81943 80.9611 7.81525 79.9653C8.81106 78.9695 10.1617 78.41 11.57 78.41H23.41C24.8183 78.41 26.1689 78.9695 27.1647 79.9653C28.1606 80.9611 28.72 82.3117 28.72 83.72C28.72 85.1283 28.1606 86.4789 27.1647 87.4748C26.1689 88.4706 24.8183 89.03 23.41 89.03Z",fill:"#7F95E0"}),(0,Kl.jsx)("path",{d:"M42.9399 39.14H54.4099V83.71H42.9399V39.14Z",fill:"#DDE2F6"}),(0,Kl.jsx)("path",{d:"M74.15 39.14H85.61V83.71H74.15V39.14Z",fill:"#DDE2F6"}),(0,Kl.jsx)("path",{d:"M23.41 44.46H11.57C10.1617 44.46 8.81106 43.9006 7.81525 42.9048C6.81943 41.9089 6.26001 40.5583 6.26001 39.15C6.26001 37.7417 6.81943 36.3911 7.81525 35.3953C8.81106 34.3994 10.1617 33.84 11.57 33.84L17.49 29.63L23.41 33.84C24.8183 33.84 26.1689 34.3994 27.1647 35.3953C28.1606 36.3911 28.72 37.7417 28.72 39.15C28.72 40.5583 28.1606 41.9089 27.1647 42.9048C26.1689 43.9006 24.8183 44.46 23.41 44.46Z",fill:"#7F95E0"}),(0,Kl.jsx)("path",{d:"M85.8 44.46H73.94C72.5317 44.46 71.1811 43.9006 70.1852 42.9048C69.1894 41.9089 68.63 40.5583 68.63 39.15C68.63 37.7417 69.1894 36.3911 70.1852 35.3953C71.1811 34.3994 72.5317 33.84 73.94 33.84L79.86 29.63L85.78 33.84C87.1883 33.84 88.5389 34.3994 89.5347 35.3953C90.5305 36.3911 91.09 37.7417 91.09 39.15C91.09 40.5548 90.5333 41.9025 89.5418 42.8977C88.5503 43.893 87.2048 44.4547 85.8 44.46Z",fill:"#7F95E0"}),(0,Kl.jsx)("path",{d:"M54.6099 44.46H42.7599C41.3516 44.46 40.001 43.9006 39.0052 42.9048C38.0094 41.9089 37.45 40.5583 37.45 39.15C37.45 37.7417 38.0094 36.3911 39.0052 35.3953C40.001 34.3994 41.3516 33.84 42.7599 33.84L48.6799 29.63L54.6099 33.84C56.0182 33.84 57.3689 34.3994 58.3647 35.3953C59.3605 36.3911 59.9199 37.7417 59.9199 39.15C59.9199 40.5583 59.3605 41.9089 58.3647 42.9048C57.3689 43.9006 56.0182 44.46 54.6099 44.46Z",fill:"#7F95E0"}),(0,Kl.jsx)("path",{d:"M54.6099 89.03L48.6799 92.65L42.7599 89.03C41.3516 89.03 40.001 88.4706 39.0052 87.4748C38.0094 86.4789 37.45 85.1283 37.45 83.72C37.45 82.3117 38.0094 80.9611 39.0052 79.9653C40.001 78.9695 41.3516 78.41 42.7599 78.41H54.6099C56.0182 78.41 57.3689 78.9695 58.3647 79.9653C59.3605 80.9611 59.9199 82.3117 59.9199 83.72C59.9199 84.4174 59.7826 85.1078 59.5157 85.7521C59.2489 86.3963 58.8578 86.9817 58.3647 87.4748C57.8716 87.9678 57.2862 88.359 56.642 88.6259C55.9977 88.8927 55.3072 89.03 54.6099 89.03Z",fill:"#7F95E0"}),(0,Kl.jsx)("path",{d:"M1.93998 26.45L44.62 1.10995C45.8491 0.387209 47.2491 0.00610352 48.675 0.00610352C50.1009 0.00610352 51.5008 0.387209 52.73 1.10995L95.41 26.45C96.1333 26.9066 96.6912 27.5831 97.0017 28.3802C97.3122 29.1772 97.359 30.0529 97.1353 30.8785C96.9115 31.7041 96.429 32.4363 95.7585 32.9675C95.088 33.4987 94.2649 33.801 93.41 33.83H3.93998C3.08505 33.801 2.26195 33.4987 1.59147 32.9675C0.92098 32.4363 0.438446 31.7041 0.214697 30.8785C-0.00905128 30.0529 0.0377797 29.1772 0.348303 28.3802C0.658827 27.5831 1.21666 26.9066 1.93998 26.45Z",fill:"#B1BEEB"}),(0,Kl.jsx)("path",{d:"M91.7 100.36H5.70001C4.95589 100.361 4.2188 100.216 3.53094 99.9321C2.84309 99.6482 2.21792 99.2315 1.69128 98.7058C1.16464 98.1801 0.746859 97.5557 0.461792 96.8684C0.176725 96.181 0.0300281 95.4442 0.0300293 94.7001C0.0300281 93.9559 0.176725 93.2191 0.461792 92.5317C0.746859 91.8444 1.16464 91.22 1.69128 90.6943C2.21792 90.1686 2.84309 89.7519 3.53094 89.468C4.2188 89.1842 4.95589 89.0387 5.70001 89.04H91.7C92.4441 89.0387 93.1812 89.1842 93.8691 89.468C94.5569 89.7519 95.182 90.1686 95.7087 90.6943C96.2353 91.22 96.6532 91.8444 96.9382 92.5317C97.2233 93.2191 97.37 93.9559 97.37 94.7001C97.37 95.4442 97.2233 96.181 96.9382 96.8684C96.6532 97.5557 96.2353 98.1801 95.7087 98.7058C95.182 99.2315 94.5569 99.6482 93.8691 99.9321C93.1812 100.216 92.4441 100.361 91.7 100.36Z",fill:"#B1BEEB"}),(0,Kl.jsx)("path",{d:"M169.09 65.7799C168.541 65.3139 167.829 65.0848 167.111 65.1429C166.393 65.2011 165.727 65.5416 165.26 66.0899L161.99 69.95C160.498 58.2536 154.798 47.5009 145.955 39.7014C137.112 31.9019 125.731 27.5894 113.94 27.5699C113.219 27.5699 112.527 27.8565 112.017 28.3666C111.507 28.8767 111.22 29.5686 111.22 30.2899C111.22 31.0113 111.507 31.7032 112.017 32.2133C112.527 32.7234 113.219 33.0099 113.94 33.0099C124.382 33.0222 134.463 36.8264 142.31 43.715C150.157 50.6037 155.235 60.1078 156.6 70.46L152.67 67.14C152.12 66.6718 151.406 66.4415 150.686 66.4997C149.966 66.5578 149.298 66.8996 148.83 67.45C148.362 68.0003 148.131 68.714 148.19 69.4341C148.248 70.1543 148.59 70.8218 149.14 71.2899L158.04 78.83C158.531 79.2472 159.156 79.4743 159.8 79.4699H160.02C160.379 79.4344 160.728 79.3277 161.045 79.156C161.363 78.9843 161.643 78.7511 161.87 78.4699L169.4 69.5699C169.63 69.2988 169.805 68.9849 169.914 68.6461C170.024 68.3074 170.065 67.9505 170.036 67.5957C170.007 67.241 169.909 66.8954 169.747 66.5787C169.584 66.262 169.361 65.9804 169.09 65.7499V65.7799Z",fill:"#FE93D3"}),(0,Kl.jsx)("path",{d:"M66.08 169.45C55.6385 169.435 45.5579 165.628 37.7128 158.738C29.8677 151.847 24.7921 142.342 23.4299 131.99L27.3599 135.32C27.9142 135.751 28.6134 135.95 29.3114 135.877C30.0094 135.804 30.6523 135.464 31.1055 134.929C31.5588 134.393 31.7873 133.702 31.7434 133.002C31.6995 132.301 31.3865 131.645 30.8699 131.17L21.97 123.64C21.6985 123.408 21.3839 123.232 21.0442 123.122C20.7045 123.012 20.3464 122.97 19.9905 122.999C19.6346 123.028 19.2879 123.127 18.9703 123.29C18.6527 123.453 18.3705 123.677 18.14 123.95L10.5999 132.85C10.2625 133.245 10.0457 133.729 9.97547 134.243C9.90519 134.758 9.98438 135.282 10.2036 135.753C10.4227 136.224 10.7727 136.622 11.2117 136.9C11.6508 137.178 12.1604 137.324 12.6799 137.32C13.0774 137.317 13.4692 137.225 13.8272 137.052C14.1851 136.879 14.5002 136.629 14.7499 136.32L18.02 132.46C19.5123 144.158 25.2139 154.912 34.059 162.712C42.9041 170.512 54.2871 174.823 66.08 174.84C66.4504 174.862 66.8214 174.809 67.1704 174.683C67.5193 174.556 67.8387 174.36 68.109 174.106C68.3792 173.851 68.5945 173.545 68.7417 173.204C68.8889 172.863 68.9648 172.496 68.9648 172.125C68.9648 171.754 68.8889 171.387 68.7417 171.046C68.5945 170.705 68.3792 170.399 68.109 170.144C67.8387 169.89 67.5193 169.694 67.1704 169.567C66.8214 169.441 66.4504 169.387 66.08 169.41V169.45Z",fill:"#BAE4A5"}),(0,Kl.jsx)("path",{d:"M90 137.2C109.866 137.2 125.97 121.096 125.97 101.23C125.97 81.3643 109.866 65.26 90 65.26C70.1343 65.26 54.03 81.3643 54.03 101.23C54.03 121.096 70.1343 137.2 90 137.2Z",fill:"#FFCD55"}),(0,Kl.jsx)("path",{d:"M90 65.29C87.5682 65.2882 85.1425 65.5327 82.76 66.02C90.8555 67.7103 98.1222 72.1364 103.338 78.5542C108.554 84.9719 111.402 92.9899 111.402 101.26C111.402 109.53 108.554 117.548 103.338 123.966C98.1222 130.384 90.8555 134.81 82.76 136.5C87.7055 137.553 92.8172 137.552 97.7624 136.498C102.708 135.444 107.375 133.359 111.461 130.381C115.547 127.403 118.96 123.597 121.477 119.212C123.995 114.827 125.56 109.961 126.071 104.93C126.583 99.9001 126.029 94.8184 124.446 90.0164C122.862 85.2144 120.285 80.7998 116.882 77.0601C113.479 73.3204 109.327 70.3395 104.695 68.3115C100.063 66.2835 95.0562 65.254 90 65.29Z",fill:"#FFBE46"}),(0,Kl.jsx)("path",{d:"M90 125.88C103.614 125.88 114.65 114.844 114.65 101.23C114.65 87.6161 103.614 76.58 90 76.58C76.3862 76.58 65.35 87.6161 65.35 101.23C65.35 114.844 76.3862 125.88 90 125.88Z",fill:"#FFE177"}),(0,Kl.jsx)("path",{d:"M83.59 108.49L84.9799 108.08V103.29H84.1099C83.9249 103.293 83.7411 103.258 83.5695 103.189C83.3979 103.12 83.2419 103.017 83.1105 102.887C82.9792 102.756 82.8753 102.601 82.8047 102.43C82.7342 102.259 82.6986 102.075 82.7 101.89C82.7 101.705 82.7364 101.521 82.8073 101.35C82.8781 101.179 82.982 101.024 83.1129 100.893C83.2438 100.762 83.3993 100.658 83.5704 100.587C83.7414 100.516 83.9248 100.48 84.1099 100.48H84.9399V97.98C84.8946 97.1228 85.0197 96.2651 85.3081 95.4567C85.5965 94.6482 86.0423 93.905 86.6199 93.27C87.2232 92.6937 87.9382 92.2473 88.7208 91.9583C89.5034 91.6693 90.3369 91.544 91.1699 91.59C92.1564 91.5485 93.14 91.7231 94.052 92.1013C94.964 92.4796 95.7824 93.0525 96.45 93.78C96.6897 94.0043 96.8561 94.2959 96.9273 94.6164C96.9985 94.937 96.9713 95.2716 96.8492 95.5764C96.727 95.8812 96.5157 96.142 96.2428 96.3246C95.9699 96.5073 95.6483 96.6032 95.3199 96.6C95.0951 96.6059 94.8715 96.5634 94.6645 96.4754C94.4575 96.3874 94.2717 96.256 94.1199 96.09C93.7748 95.6508 93.3344 95.2957 92.8321 95.0514C92.3297 94.8072 91.7785 94.6802 91.22 94.68C90.8525 94.6649 90.4858 94.7244 90.1421 94.8551C89.7983 94.9857 89.4846 95.1847 89.22 95.44C88.5911 96.1633 88.2683 97.1029 88.3199 98.06V100.48H93.7999C94.1723 100.485 94.5279 100.635 94.7913 100.899C95.0546 101.162 95.2048 101.518 95.21 101.89C95.2073 102.262 95.0576 102.618 94.7935 102.881C94.5293 103.143 94.1722 103.29 93.7999 103.29H88.3199V107.93H95.7999C95.9925 107.929 96.1835 107.965 96.3618 108.038C96.54 108.111 96.7022 108.218 96.8388 108.354C96.9754 108.49 97.0838 108.651 97.1578 108.829C97.2318 109.007 97.27 109.197 97.27 109.39C97.2714 109.582 97.2341 109.772 97.1603 109.95C97.0866 110.127 96.9778 110.288 96.8406 110.422C96.7034 110.556 96.5406 110.662 96.3618 110.732C96.183 110.802 95.9919 110.835 95.7999 110.83H83.9399C83.7787 110.841 83.617 110.819 83.4646 110.765C83.3122 110.711 83.1724 110.627 83.0535 110.518C82.9347 110.408 82.8394 110.276 82.7734 110.128C82.7075 109.981 82.6723 109.822 82.6699 109.66C82.671 109.39 82.7621 109.129 82.9288 108.917C83.0954 108.705 83.3282 108.555 83.59 108.49Z",fill:"#FFBE46"})]}),(0,Kl.jsx)("defs",{children:(0,Kl.jsx)("clipPath",{id:"clip0_302_27",children:(0,Kl.jsx)("rect",{width:"180",height:"180",fill:"white"})})})]})},nc=function(){return(0,Kl.jsxs)(Gl.Z,{width:"180",height:"130",viewBox:"0 0 180 130",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,Kl.jsxs)("g",{clipPath:"url(#clip0_302_68)",children:[(0,Kl.jsx)("path",{d:"M133.41 79.41L146.55 92.66C146.651 92.7607 146.72 92.8892 146.748 93.0291C146.776 93.169 146.761 93.314 146.707 93.4458C146.652 93.5776 146.56 93.6901 146.441 93.7692C146.322 93.8483 146.183 93.8904 146.04 93.89H113.04C112.802 93.8912 112.566 93.8448 112.347 93.7538C112.127 93.6628 111.927 93.5289 111.76 93.36L84.04 65.6C83.8384 65.3944 83.7255 65.1179 83.7255 64.83C83.7255 64.5421 83.8384 64.2656 84.04 64.06L111.81 36.3C111.978 36.1319 112.178 35.9986 112.397 35.9077C112.617 35.8168 112.852 35.77 113.09 35.77H146.09C146.233 35.7697 146.372 35.8117 146.491 35.8907C146.61 35.9698 146.702 36.0824 146.757 36.2142C146.811 36.346 146.826 36.491 146.798 36.6309C146.77 36.7708 146.701 36.8993 146.6 37L133.41 50.25C133.312 50.3496 133.246 50.4763 133.221 50.6136C133.196 50.7509 133.212 50.8926 133.268 51.0206C133.324 51.1485 133.417 51.2568 133.535 51.3315C133.653 51.4063 133.79 51.4441 133.93 51.44H153.76C154.515 51.4058 155.229 51.088 155.76 50.55L179.51 26.6C179.782 26.3281 179.934 25.9594 179.934 25.575C179.934 25.1906 179.782 24.8219 179.51 24.55L155.63 0.799986C155.076 0.271886 154.335 -0.0156715 153.57 -1.96038e-06H133.74C133.593 0.0039821 133.451 0.0507948 133.331 0.134703C133.211 0.21861 133.118 0.335923 133.064 0.472105C133.009 0.608287 132.996 0.757417 133.026 0.900999C133.055 1.04458 133.126 1.17636 133.23 1.28003L146.37 14.28C146.47 14.382 146.537 14.511 146.564 14.651C146.592 14.791 146.577 14.9359 146.523 15.0677C146.469 15.1996 146.377 15.3128 146.259 15.3931C146.141 15.4735 146.003 15.5176 145.86 15.52H105.46C104.985 15.5199 104.514 15.6135 104.075 15.7953C103.635 15.9772 103.236 16.2439 102.9 16.58L64.79 54.69H1.78998C1.30994 54.69 0.849542 54.8807 0.510101 55.2201C0.17066 55.5596 -0.0200195 56.02 -0.0200195 56.5V73.1C-0.0200195 73.58 0.17066 74.0404 0.510101 74.3799C0.849542 74.7193 1.30994 74.91 1.78998 74.91H64.79L102.9 113.02C103.236 113.356 103.635 113.623 104.075 113.805C104.514 113.987 104.985 114.08 105.46 114.08H145.85C145.993 114.08 146.134 114.123 146.253 114.203C146.372 114.282 146.465 114.395 146.521 114.528C146.576 114.66 146.592 114.806 146.565 114.947C146.538 115.088 146.47 115.217 146.37 115.32L133.23 128.32C133.126 128.424 133.055 128.555 133.026 128.699C132.996 128.843 133.009 128.992 133.064 129.128C133.118 129.264 133.211 129.381 133.331 129.465C133.451 129.549 133.593 129.596 133.74 129.6H153.57C153.948 129.609 154.323 129.542 154.675 129.405C155.027 129.268 155.348 129.062 155.62 128.8L179.57 105.05C179.842 104.778 179.994 104.409 179.994 104.025C179.994 103.641 179.842 103.272 179.57 103L155.82 79.06C155.296 78.5106 154.578 78.1877 153.82 78.16H133.95C133.81 78.1559 133.673 78.1937 133.555 78.2684C133.437 78.3432 133.344 78.4515 133.288 78.5794C133.232 78.7073 133.216 78.8491 133.241 78.9864C133.266 79.1237 133.332 79.2503 133.43 79.35L133.41 79.41Z",fill:"#97D729"}),(0,Kl.jsx)("path",{d:"M179.57 24.55L155.63 0.799986C155.076 0.271886 154.335 -0.0156715 153.57 -1.96038e-06H143.57C144.162 0.103496 144.708 0.382174 145.14 0.799986L169.08 24.55C169.216 24.6839 169.324 24.8436 169.397 25.0195C169.471 25.1955 169.509 25.3843 169.509 25.575C169.509 25.7657 169.471 25.9545 169.397 26.1305C169.324 26.3064 169.216 26.466 169.08 26.6L145.34 50.55C144.809 51.088 144.095 51.4058 143.34 51.44H153.85C154.606 51.4118 155.323 51.093 155.85 50.55L179.6 26.6C179.872 26.3281 180.024 25.9594 180.024 25.575C180.024 25.1906 179.872 24.8219 179.6 24.55H179.57Z",fill:"#81B823"}),(0,Kl.jsx)("path",{d:"M179.58 103.06L155.83 79.12C155.306 78.5706 154.589 78.2477 153.83 78.22H143.28C144.039 78.2477 144.756 78.5706 145.28 79.12L169.02 103.06C169.156 103.194 169.264 103.354 169.337 103.529C169.411 103.705 169.449 103.894 169.449 104.085C169.449 104.276 169.411 104.465 169.337 104.641C169.264 104.816 169.156 104.976 169.02 105.11L145.08 128.86C144.653 129.284 144.104 129.563 143.51 129.66H153.51C154.275 129.676 155.016 129.388 155.57 128.86L179.51 105.11C179.782 104.838 179.934 104.469 179.934 104.085C179.934 103.701 179.782 103.332 179.51 103.06H179.58Z",fill:"#81B823"}),(0,Kl.jsx)("path",{d:"M111.81 93.36L84.04 65.6C83.8384 65.3944 83.7255 65.1179 83.7255 64.83C83.7255 64.5421 83.8384 64.2656 84.04 64.06L111.81 36.3C111.978 36.1319 112.178 35.9987 112.397 35.9077C112.617 35.8168 112.852 35.77 113.09 35.77H102.58C102.342 35.77 102.107 35.8168 101.887 35.9077C101.668 35.9987 101.468 36.1319 101.3 36.3L73.54 64.06C73.4378 64.1605 73.3566 64.2803 73.3012 64.4125C73.2458 64.5447 73.2173 64.6867 73.2173 64.83C73.2173 64.9734 73.2458 65.1152 73.3012 65.2474C73.3566 65.3796 73.4378 65.4995 73.54 65.6L101.3 93.36C101.468 93.5281 101.668 93.6614 101.887 93.7523C102.107 93.8433 102.342 93.8901 102.58 93.89H113.09C112.852 93.8912 112.616 93.8448 112.397 93.7538C112.177 93.6628 111.977 93.5289 111.81 93.36Z",fill:"#81B823"})]}),(0,Kl.jsx)("defs",{children:(0,Kl.jsx)("clipPath",{id:"clip0_302_68",children:(0,Kl.jsx)("rect",{width:"180",height:"129.66",fill:"white"})})})]})},rc=function(){return(0,Kl.jsxs)(Gl.Z,{width:"180",height:"180",viewBox:"0 0 180 180",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,Kl.jsxs)("g",{clipPath:"url(#clip0_302_54)",children:[(0,Kl.jsx)("path",{d:"M179.18 122.51C177.514 119.997 176.648 117.038 176.697 114.023C176.745 111.008 177.705 108.079 179.45 105.62C179.862 105.039 180.053 104.331 179.991 103.622C179.929 102.914 179.616 102.25 179.11 101.75L78.25 0.889934C77.7501 0.383458 77.0864 0.0712351 76.3774 0.00895292C75.6685 -0.0533292 74.9605 0.13842 74.38 0.549969C71.9175 2.28607 68.9892 3.24034 65.9766 3.28849C62.964 3.33665 60.0067 2.4765 57.49 0.819988C56.9096 0.441132 56.2158 0.274908 55.5267 0.349651C54.8377 0.424394 54.1957 0.735466 53.71 1.22996L1.21998 53.72C0.725486 54.2057 0.41443 54.8476 0.339687 55.5367C0.264944 56.2258 0.431122 56.9195 0.809978 57.5C2.47369 60.0117 3.33915 62.9678 3.29275 65.9802C3.24635 68.9926 2.29027 71.9207 0.549983 74.38C0.138434 74.9606 -0.0533299 75.6685 0.00895228 76.3774C0.0712344 77.0863 0.383503 77.7501 0.889979 78.25L101.75 179.11C102.25 179.616 102.914 179.929 103.623 179.991C104.331 180.053 105.039 179.862 105.62 179.45C108.078 177.708 111.006 176.75 114.018 176.702C117.031 176.654 119.987 177.518 122.5 179.18C123.079 179.56 123.772 179.728 124.461 179.655C125.15 179.582 125.793 179.273 126.28 178.78L178.77 126.28C179.262 125.795 179.572 125.155 179.646 124.468C179.721 123.781 179.556 123.089 179.18 122.51Z",fill:"#FC502A"}),(0,Kl.jsx)("path",{d:"M74.38 0.549969C71.9174 2.28607 68.9892 3.24034 65.9766 3.28849C62.964 3.33665 60.0067 2.4765 57.49 0.819988C56.9106 0.439878 56.2176 0.271975 55.5285 0.34489C54.8395 0.417806 54.1969 0.727008 53.71 1.21995L39.84 15.1C40.3257 14.6055 40.9676 14.2944 41.6567 14.2196C42.3458 14.1449 43.0395 14.3111 43.62 14.69C46.1367 16.3465 49.094 17.2066 52.1066 17.1585C55.1192 17.1103 58.0474 16.1561 60.51 14.42C61.0905 14.0084 61.7985 13.8167 62.5074 13.8789C63.2163 13.9412 63.88 14.2535 64.38 14.76L165.24 115.62C165.746 116.12 166.059 116.784 166.121 117.492C166.183 118.201 165.992 118.909 165.58 119.49C163.835 121.949 162.875 124.878 162.827 127.893C162.778 130.908 163.644 133.867 165.31 136.38C165.686 136.959 165.851 137.651 165.776 138.338C165.701 139.025 165.392 139.665 164.9 140.15L178.77 126.28C179.264 125.794 179.576 125.152 179.65 124.463C179.725 123.774 179.559 123.08 179.18 122.5C177.515 119.988 176.65 117.031 176.698 114.018C176.746 111.005 177.706 108.077 179.45 105.62C179.862 105.039 180.053 104.331 179.991 103.622C179.929 102.914 179.616 102.25 179.11 101.75L78.25 0.889934C77.7501 0.383458 77.0863 0.0712351 76.3774 0.00895292C75.6685 -0.0533292 74.9605 0.13842 74.38 0.549969Z",fill:"#E60D28"}),(0,Kl.jsx)("path",{d:"M90 133.16C113.837 133.16 133.16 113.837 133.16 90C133.16 66.1634 113.837 46.84 90 46.84C66.1634 46.84 46.84 66.1634 46.84 90C46.84 113.837 66.1634 133.16 90 133.16Z",fill:"white"}),(0,Kl.jsx)("path",{d:"M59.48 59.48C57.1186 61.835 55.038 64.4558 53.28 67.29C61.5526 62.1709 71.3118 59.9961 80.9752 61.1181C90.6387 62.2401 99.6399 66.5932 106.519 73.4716C113.399 80.35 117.754 89.3505 118.877 99.0137C120.001 108.677 117.828 118.436 112.71 126.71C117.882 123.504 122.318 119.241 125.727 114.2C129.135 109.159 131.439 103.454 132.487 97.4597C133.536 91.4655 133.304 85.3173 131.809 79.4187C130.314 73.5201 127.588 68.0044 123.81 63.2335C120.033 58.4626 115.289 54.5445 109.891 51.7361C104.493 48.9278 98.5613 47.2927 92.4865 46.9383C86.4116 46.5838 80.3304 47.518 74.642 49.6794C68.9537 51.8409 63.7866 55.1808 59.48 59.48Z",fill:"#E6E6E6"}),(0,Kl.jsx)("path",{d:"M156.45 122.35C155.898 122.359 155.357 122.202 154.895 121.901C154.432 121.6 154.071 121.167 153.856 120.659C153.641 120.151 153.583 119.59 153.689 119.049C153.794 118.507 154.06 118.01 154.45 117.62L156.54 115.52C156.797 115.263 157.103 115.058 157.439 114.919C157.776 114.78 158.136 114.708 158.5 114.708C158.864 114.708 159.224 114.78 159.561 114.919C159.897 115.058 160.203 115.263 160.46 115.52C160.717 115.777 160.922 116.083 161.061 116.419C161.2 116.756 161.272 117.116 161.272 117.48C161.272 117.844 161.2 118.204 161.061 118.541C160.922 118.877 160.717 119.183 160.46 119.44L158.37 121.53C157.864 122.047 157.173 122.342 156.45 122.35Z",fill:"white"}),(0,Kl.jsx)("path",{d:"M129.38 149.42C128.828 149.429 128.287 149.272 127.824 148.971C127.362 148.67 127.001 148.237 126.786 147.729C126.571 147.221 126.513 146.66 126.618 146.119C126.724 145.577 126.99 145.08 127.38 144.69L131.11 140.96C131.63 140.44 132.335 140.148 133.07 140.148C133.805 140.148 134.51 140.44 135.03 140.96C135.55 141.48 135.842 142.185 135.842 142.92C135.842 143.655 135.55 144.36 135.03 144.88L131.3 148.61C130.789 149.119 130.101 149.409 129.38 149.42ZM142.91 135.89C142.539 135.892 142.171 135.821 141.828 135.68C141.485 135.539 141.173 135.332 140.91 135.07C140.392 134.549 140.101 133.844 140.101 133.11C140.101 132.376 140.392 131.671 140.91 131.15L144.65 127.42C145.17 126.9 145.875 126.608 146.61 126.608C147.345 126.608 148.05 126.9 148.57 127.42C149.09 127.94 149.382 128.645 149.382 129.38C149.382 130.115 149.09 130.82 148.57 131.34L144.83 135.07C144.321 135.583 143.632 135.878 142.91 135.89Z",fill:"white"}),(0,Kl.jsx)("path",{d:"M117.48 161.32C116.928 161.329 116.387 161.172 115.924 160.871C115.462 160.57 115.101 160.137 114.886 159.629C114.671 159.121 114.613 158.56 114.718 158.019C114.824 157.477 115.09 156.98 115.48 156.59L117.57 154.5C118.09 153.98 118.795 153.688 119.53 153.688C120.265 153.688 120.97 153.98 121.49 154.5C122.01 155.02 122.302 155.725 122.302 156.46C122.302 157.195 122.01 157.9 121.49 158.42L119.4 160.51C118.89 161.021 118.201 161.311 117.48 161.32Z",fill:"white"}),(0,Kl.jsx)("path",{d:"M60.42 26.32C60.0483 26.3267 59.6793 26.2573 59.3354 26.1163C58.9915 25.9753 58.6799 25.7656 58.42 25.5C57.9021 24.9791 57.6115 24.2745 57.6115 23.54C57.6115 22.8055 57.9021 22.1008 58.42 21.58L60.5099 19.49C60.7673 19.2326 61.0729 19.0284 61.4092 18.8891C61.7455 18.7498 62.106 18.6781 62.47 18.6781C62.834 18.6781 63.1944 18.7498 63.5307 18.8891C63.867 19.0284 64.1726 19.2326 64.43 19.49C64.6874 19.7474 64.8915 20.0529 65.0308 20.3892C65.1701 20.7255 65.2418 21.086 65.2418 21.45C65.2418 21.814 65.1701 22.1744 65.0308 22.5107C64.8915 22.847 64.6874 23.1526 64.43 23.41L62.34 25.5C61.8339 26.0169 61.1433 26.3119 60.42 26.32Z",fill:"white"}),(0,Kl.jsx)("path",{d:"M33.3499 53.39C32.7983 53.3985 32.2567 53.2422 31.7945 52.9409C31.3323 52.6397 30.9705 52.2073 30.7557 51.6991C30.5408 51.1909 30.4826 50.6302 30.5885 50.0887C30.6944 49.5473 30.9595 49.0498 31.3499 48.66L35.0799 44.93C35.5998 44.4102 36.3048 44.1181 37.04 44.1181C37.7751 44.1181 38.4801 44.4102 38.9999 44.93C39.5198 45.4498 39.8118 46.1548 39.8118 46.89C39.8118 47.6251 39.5198 48.3302 38.9999 48.85L35.2699 52.58C34.758 53.0869 34.0703 53.377 33.3499 53.39ZM46.8799 39.85C46.3283 39.8585 45.7867 39.7022 45.3245 39.4009C44.8623 39.0997 44.5005 38.6673 44.2857 38.1591C44.0708 37.651 44.0126 37.0902 44.1185 36.5488C44.2244 36.0073 44.4895 35.5098 44.8799 35.12L48.62 31.39C49.1398 30.8701 49.8448 30.5781 50.5799 30.5781C51.3151 30.5781 52.0201 30.8701 52.54 31.39C53.0598 31.9098 53.3518 32.6148 53.3518 33.35C53.3518 34.0851 53.0598 34.7902 52.54 35.31L48.7999 39.04C48.2904 39.5505 47.6012 39.8412 46.8799 39.85Z",fill:"white"}),(0,Kl.jsx)("path",{d:"M21.45 65.29C20.8984 65.2986 20.3568 65.1423 19.8946 64.841C19.4324 64.5397 19.0707 64.1073 18.8558 63.5992C18.6409 63.091 18.5827 62.5303 18.6886 61.9888C18.7944 61.4474 19.0596 60.9498 19.45 60.5601L21.5401 58.47C22.0599 57.9502 22.7649 57.6582 23.5 57.6582C24.2352 57.6582 24.9402 57.9502 25.4601 58.47C25.9799 58.9899 26.2719 59.6949 26.2719 60.4301C26.2719 61.1652 25.9799 61.8702 25.4601 62.39L23.3701 64.48C22.8605 64.9906 22.1713 65.2813 21.45 65.29Z",fill:"white"}),(0,Kl.jsx)("path",{d:"M66.22 95.68C65.7562 96.1945 65.5105 96.8691 65.5347 97.5613C65.559 98.2536 65.8513 98.9093 66.35 99.39C66.6522 99.7328 67.0474 99.9805 67.4876 100.103C67.9279 100.225 68.3942 100.217 68.83 100.08L113.05 85.17C113.392 85.0563 113.701 84.8606 113.95 84.6C114.414 84.0493 114.65 83.3425 114.611 82.6235C114.572 81.9044 114.261 81.2273 113.74 80.73C113.452 80.4178 113.08 80.1945 112.669 80.0865C112.258 79.9784 111.825 79.9901 111.42 80.12L67.05 95.17C66.7474 95.2937 66.467 95.466 66.22 95.68Z",fill:"#E60D28"}),(0,Kl.jsx)("path",{d:"M89.53 97.23L83.62 103.17C79.75 107.04 80.89 110.95 84.19 114.25C87.49 117.55 91.36 118.65 95.19 114.78L101.1 108.87C104.93 105.04 103.83 101.09 100.57 97.87C97.31 94.65 93.36 93.4 89.53 97.23ZM97.68 105.38L91.77 111.29C90.26 112.8 88.67 112.59 87.25 111.17C85.83 109.75 85.66 108.17 87.17 106.68L93.07 100.78C94.58 99.27 96.13 99.43 97.56 100.86C98.99 102.29 99.19 103.87 97.68 105.38Z",fill:"#E60D28"}),(0,Kl.jsx)("path",{d:"M84.6399 65.37L78.7299 71.28C74.8999 75.11 75.9999 79.06 79.2999 82.36C82.5999 85.66 86.5099 86.72 90.2999 82.89L96.21 76.98C100.04 73.15 98.94 69.2 95.68 65.98C92.42 62.76 88.4699 61.54 84.6399 65.37ZM92.6399 69C94.0599 70.42 94.2699 72 92.7599 73.52L86.8499 79.43C85.3399 80.93 83.7499 80.73 82.3299 79.3C80.9099 77.87 80.74 76.3001 82.25 74.8201L88.15 68.92C89.69 67.41 91.2399 67.57 92.6699 69H92.6399Z",fill:"#E60D28"})]}),(0,Kl.jsx)("defs",{children:(0,Kl.jsx)("clipPath",{id:"clip0_302_54",children:(0,Kl.jsx)("rect",{width:"180",height:"180",fill:"white"})})})]})},oc=function(){return(0,Kl.jsxs)(Gl.Z,{width:"180",height:"180",viewBox:"0 0 180 180",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,Kl.jsxs)("g",{clipPath:"url(#clip0_302_73)",children:[(0,Kl.jsx)("path",{d:"M90 180C113.869 180 136.761 170.518 153.64 153.64C170.518 136.761 180 113.869 180 90L90 45L0 90C0 113.869 9.48214 136.761 26.3604 153.64C43.2387 170.518 66.1305 180 90 180Z",fill:"#B4D5E0"}),(0,Kl.jsx)("path",{d:"M90 0C66.1305 0 43.2387 9.48208 26.3604 26.3604C9.48214 43.2386 0 66.1305 0 90H180C180 66.1305 170.518 43.2386 153.64 26.3604C136.761 9.48208 113.869 0 90 0Z",fill:"#D6F9FA"}),(0,Kl.jsx)("path",{d:"M90 10.87V169.17C100.467 169.288 110.853 167.328 120.558 163.404C130.262 159.479 139.091 153.669 146.535 146.309C153.978 138.949 159.887 130.185 163.92 120.526C167.953 110.866 170.03 100.503 170.03 90.035C170.03 79.5673 167.953 69.2036 163.92 59.5441C159.887 49.8845 153.978 41.121 146.535 33.7609C139.091 26.4009 130.262 20.5906 120.558 16.6664C110.853 12.7423 100.467 10.7823 90 10.9V10.87Z",fill:"#6F8CAC"}),(0,Kl.jsx)("path",{d:"M89.9999 10.87C69.1661 11.1042 49.2651 19.5447 34.6155 34.36C19.9658 49.1752 11.7495 69.1699 11.7495 90.005C11.7495 110.84 19.9658 130.835 34.6155 145.65C49.2651 160.465 69.1661 168.906 89.9999 169.14C127.71 169.14 158.27 133.71 158.27 90C158.27 46.29 127.71 10.87 89.9999 10.87Z",fill:"#92B1C6"}),(0,Kl.jsx)("path",{d:"M90 98.15C94.5011 98.15 98.15 94.5011 98.15 90C98.15 85.4989 94.5011 81.85 90 81.85C85.4989 81.85 81.85 85.4989 81.85 90C81.85 94.5011 85.4989 98.15 90 98.15Z",fill:"white"}),(0,Kl.jsx)("path",{d:"M62.8399 98.15C67.3411 98.15 70.9899 94.5011 70.9899 90C70.9899 85.4989 67.3411 81.85 62.8399 81.85C58.3388 81.85 54.6899 85.4989 54.6899 90C54.6899 94.5011 58.3388 98.15 62.8399 98.15Z",fill:"white"}),(0,Kl.jsx)("path",{d:"M117.16 98.15C121.661 98.15 125.31 94.5011 125.31 90C125.31 85.4989 121.661 81.85 117.16 81.85C112.659 81.85 109.01 85.4989 109.01 90C109.01 94.5011 112.659 98.15 117.16 98.15Z",fill:"#D6F9FA"})]}),(0,Kl.jsx)("defs",{children:(0,Kl.jsx)("clipPath",{id:"clip0_302_73",children:(0,Kl.jsx)("rect",{width:"180",height:"180",fill:"white"})})})]})},ic=[{slug:"cash",name:"Cash",icon:(0,Kl.jsx)(Jl,{})},{slug:"bank_transfer",name:"Transfer",icon:(0,Kl.jsx)(tc,{})},{slug:"card_payment",name:"Card Payment",icon:(0,Kl.jsx)(ec,{})},{slug:"voucher",name:"Voucher",icon:(0,Kl.jsx)(rc,{})},{slug:"other",name:"Other",icon:(0,Kl.jsx)(oc,{})},{slug:"split",name:"Split Payment",icon:(0,Kl.jsx)(nc,{})}],ac=$l((function(t){var n=t.method,r=(t.onClickUpdatePayment,t.setSplitOpen),o=Fc(),i=o.appointmentDoctor,a=o.appointment,s=(0,e.useMemo)((function(){return n.slug===i.payment.paymentMethod}),[i.payment.paymentMethod,n.slug]);return(0,Kl.jsxs)("div",{className:Yl,onClick:"completed"===a.status.slug?function(){}:function(){"split"===n.slug&&r(!0),i.payment.setPaymentMethod(n.slug)},style:{border:s?"1px solid #D8A66A":"1px solid transparent"},children:[n.icon,(0,Kl.jsx)(kl.Z,{align:"center",noWrap:!0,variant:"body1",children:null===n||void 0===n?void 0:n.name})]})})),sc=$l((function(e){var t=e.onClickUpdatePayment,n=e.setSplitOpen;return(0,Kl.jsx)("div",{className:Ql,children:null===ic||void 0===ic?void 0:ic.map((function(e,r){return(0,Kl.jsx)(ac,{method:e,onClickUpdatePayment:t,setSplitOpen:n},"".concat(e.name,"_").concat(r))}))})})),lc=sc,cc=Is.model({method:Is.string,amount:Is.number}).views((function(e){return{get name(){return ic.find((function(t){return t.slug===e.method})).name}}})),uc=Is.model({stripe_id:Is.maybeNull(Is.string)}),dc=Is.model({id:Is.number,name:Is.string,image:Is.maybeNull(Is.string),price:Is.number,qnt:Is.number,quantity_limit:Is.maybeNull(Is.number),expiry_date:Is.maybeNull(Is.string),lot_number:Is.maybeNull(Is.string),inventory_expiring_item_id:Is.maybeNull(Is.number),is_expired:Is.maybeNull(Is.boolean)}),pc=Is.model({items:Is.array(El),editIndex:Is.number,vatValue:Is.number,isPaid:Is.boolean,totalPaid:Is.number,discountValue:Is.maybeNull(Is.number),remainingBalance:Is.number,discount:Is.maybeNull(Is.number),discountType:Is.maybeNull(Is.string),exists:Is.boolean,paymentMethod:Is.maybeNull(Is.string),paidAt:Is.maybeNull(Is.string),transaction:Is.maybeNull(uc),notes:Is.maybeNull(Is.string),split:Is.maybeNull(Is.array(cc)),selected_products:Is.array(dc)}).actions((function(e){return{init:function(t){var n;(e.items=t.items.map((function(e){return{id:e.treatmentType?e.treatmentType.id:-1,treatmentTypeId:e.treatmentType?e.treatmentType.id:null,name:e.name,fullName:e.fullName,price:e.price,deposit:0,isMedical:e.isMedical}})),e.selected_products=t.selected_products.map((function(e){return{id:Number(e.id),name:e.name,image:e.image,price:Number(e.price),qnt:Number(e.quantity),quantity_limit:null!=e.quantity_limit?Number(e.quantity_limit):0,expiry_date:e.expiry_date,lot_number:e.lot_number,inventory_expiring_item_id:Number(e.inventory_expiring_item_id),is_expired:e.is_expired}})),e.vatValue=t.vat,e.totalPaid=null===t||void 0===t?void 0:t.total,e.notes=null===t||void 0===t?void 0:t.notes,e.discount=t.discount,e.discountType=t.discount_type,e.discountValue=t.discount_value,e.paymentMethod=t.payment_method,e.exists=!0,e.paidAt=t.paid_at,e.transaction=t.transaction,t.split)?e.split=null===(n=t.split)||void 0===n?void 0:n.map((function(e){var t=Object.entries(e);return{method:t[0][0],amount:t[0][1]}})):e.split=[]},clear:function(){e.items=[],e.editIndex=0,e.vatValue=0,e.isPaid=!1,e.totalPaid=0,e.discount=0,e.exists=!1,e.paidAt="",e.transaction=null,e.split=[]},setNotes:function(t){e.notes=t},setItems:function(t){var n=t.filter((function(e){return e.selected}));e.items=n.map((function(e){return{treatmentTypeId:e.id?e.id:-1,name:e.name,fullName:e.fullName,price:e.realPrice,deposit:e.deposit?e.deposit:0,isMedical:e.isMedical}})),gi(e).appointment.types.filter((function(e){return e.selected&&e.price>0})).forEach((function(t){e.items.push({treatmentTypeId:-1,name:t.name,fullName:t.fullName,price:t.price,deposit:t.deposit,isMedical:!0})}))},addItem:function(t,n,r,o,i){e.items.push({treatmentTypeId:t,name:n,price:r,deposit:o,isMedical:i})},setItemsFromItems:function(t){e.items=t},editItem:function(t,n,r,o,i){e.items[n]={treatmentTypeId:t,name:r,price:o,deposit:0,isMedical:i}},editItemIsMedical:function(t,n){e.items[t].isMedical=n},setEditIndex:function(t){e.editIndex=t},setVat:function(t){e.vatValue=t},setPaid:function(){e.isPaid=!0},setTotalPaid:function(t){e.totalPaid=t},setRemainingBalance:function(t){e.remainingBalance=t},setIsPaid:function(t){e.isPaid=t},setDiscount:function(t){e.discount=t},setDiscountType:function(t){e.discountType=t},setDiscountValue:function(t){e.discountValue=t},setPaymentMethod:function(t){e.paymentMethod=t},removeItem:function(t){e.items=e.items.filter((function(e,n){return t!==n}))},setSplit:function(t){e.split=t},setSelectedProducts:function(t){e.selected_products.clear(),e.selected_products=t.map((function(e){return{id:Number(e.id),name:e.name,image:e.image,price:Number(e.price),qnt:Number(e.qnt),quantity_limit:null!=e.quantity_limit?Number(e.quantity_limit):0,expiry_date:e.expiry_date,lot_number:e.lot_number,inventory_expiring_item_id:Number(e.inventory_expiring_item_id),is_expired:void 0!==e.is_expired&&e.is_expired}}))},updateSelectedProduct:function(t,n,r){e.selected_products=e.selected_products.map((function(e){return e.id===t.id&&(isNaN(e.inventory_expiring_item_id)&&isNaN(t.inventory_expiring_item_id)||e.inventory_expiring_item_id===t.inventory_expiring_item_id)?Us(Us({},e),{},{qnt:Number(n),price:Number(r)}):e}))},addSelectedProduct:function(t){e.selected_products.push(t)},clearSelectedProducts:function(){e.selected_products.clear(),e.show_selected_products=!1}}})).views((function(e){return{get subtotal(){return e.items.reduce((function(e,t){return e+t.price}),0)},get total(){return e.totalPaid},get vat(){return e.vatValue},get selected(){return e.items[e.editIndex]},get deposit(){return gi(e).appointment.deposit},get isSplitCorrect(){return e.split.reduce((function(e,t){return e+t.amount}),0)===e.totalPaid}}})),fc=Is.model({name:Is.string,dosage:Is.number,delivery:Is.string,measurement:Is.string,treatmentTypeId:Is.number}).actions((function(e){return{editName:function(t){e.name=t},editDosage:function(t){e.dosage=t},editDelivery:function(t){e.delivery=t},editMeasurement:function(t){e.measurement=t},editTreatmentTypeId:function(t){e.treatmentTypeId=t},edit:function(t,n,r,o,i){e.editName(t),e.editDosage(n),e.editDelivery(r),e.editMeasurement(o),e.editTreatmentTypeId(i)}}})),hc=Is.model({items:Is.array(fc),prescriber:Is.number,patient:Is.number,notes:Is.string,active:Is.boolean,sign:Is.string,signAt:Is.string}).actions((function(e){return{setItems:function(t){e.items=t.filter((function(e){return e.selected})).filter((function(e){return e.requiredPrescription})).map((function(e){var t,n;return{name:null===e||void 0===e?void 0:e.name,dosage:null!==e&&void 0!==e&&e.dosage?null===e||void 0===e?void 0:e.dosage:1,delivery:null===e||void 0===e||null===(t=e.productDeliveryType)||void 0===t?void 0:t.name,measurement:null===e||void 0===e||null===(n=e.productMeasurement)||void 0===n?void 0:n.name,treatmentTypeId:null===e||void 0===e?void 0:e.id}}))},initPrescription:function(t){var n,r,o,i,a;this.setSign(null!==t&&void 0!==t&&t.signUrl?null===t||void 0===t?void 0:t.signUrl:""),this.setSignAt(null!==t&&void 0!==t&&t.signAt?null===t||void 0===t?void 0:t.signAt:""),this.setActive(!0),this.setPatient(null!==t&&void 0!==t&&null!==(n=t.patient)&&void 0!==n&&n.id?null===t||void 0===t||null===(r=t.patient)||void 0===r?void 0:r.id:""),this.setPrescriber(null!==t&&void 0!==t&&null!==(o=t.staff)&&void 0!==o&&o.id?null===t||void 0===t||null===(i=t.staff)||void 0===i?void 0:i.id:""),this.setNotes(null!==t&&void 0!==t&&t.notes?null===t||void 0===t?void 0:t.notes:""),e.items=null===t||void 0===t||null===(a=t.treatmentTypes)||void 0===a?void 0:a.map((function(e){var t,n;return{name:null===e||void 0===e?void 0:e.name,dosage:null!==e&&void 0!==e&&e.dosage?null===e||void 0===e?void 0:e.dosage:1,delivery:null!==e&&void 0!==e&&e.productDeliveryType?null===e||void 0===e||null===(t=e.productDeliveryType)||void 0===t?void 0:t.name:"",measurement:null!==e&&void 0!==e&&e.productMeasurement?null===e||void 0===e||null===(n=e.productMeasurement)||void 0===n?void 0:n.name:"",treatmentTypeId:null===e||void 0===e?void 0:e.id}}))},addItem:function(){e.items.push({name:"",dosage:1,delivery:"",measurement:"",treatmentTypeId:0})},setPrescriber:function(t){e.prescriber=t},setNotes:function(t){e.notes=t},setPatient:function(t){e.patient=t},setActive:function(t){e.active=t},setSign:function(t){e.sign=t},setSignAt:function(t){e.signAt=t}}})).views((function(e){return{get isValid(){return e.treatmentTypes.filter((function(e){return e.hasAftercare}))}}})),bc=Is.model({concerns:Is.array(al),concernTypes:Is.array(zl),consents:Is.array(wl),payment:pc,prescription:hc,consultation:Sl}).actions((function(e){return{toggleTreatmentTypeMedical:function(t,n){e.payment.items=e.payment.items.map((function(e,r){return r===t&&e.isMedical!==n&&(e.isMedical=n),e}))},setConcerns:function(t){e.concerns=t},clearConcerns:function(){e.concerns=[]},setConcernTypes:function(t){e.concernTypes=t},initConsents:function(t){e.consents=t.map((function(e){return{id:e.consentForm.id,name:e.consentForm.name,text:e.consentForm.text,createdDate:e.createdDate,updatedDate:e.updatedDate,agreements:e.consentForm.agreements.map((function(t,n){var r;return Us(Us({},t),{},{result:null===(r=e.answers[n])||void 0===r?void 0:r.result})})),sign:e.signUrl,active:!!e.signUrl,generic:e.consentForm.is_photo_form||e.consentForm.is_general,product_brand_id:e.product_brand_id}}))},addConsent:function(t){return!e.consents.find((function(e){return e.id===t.id}))&&(e.consents.push(t),!0)},removeConsent:function(t){e.consents=e.consents.filter((function(e,n){return n!==t}))}}})).views((function(e){return{get existActiveConsents(){return!!e.consents.find((function(e){return e.active}))},get customItems(){var t=mi(e).appointment.selectedTreatmentTypes.map((function(e){return e.id}));return e.payment.items.filter((function(e){return!e.treatmentTypeId||!t.includes(e.treatmentTypeId)}))}}})),Ac=Is.model({id:Is.number}),mc=Is.model({appointment_type_id:Is.number,doctor_id:Is.number,selected_services:Is.array(Ac),waiting_at:Is.string,register:Is.boolean}).actions((function(e){return{clear:function(){this.setAppointmentTypeId(0),this.setDoctorID(0),this.setSelectedServices([]),this.setWaitingAt(""),this.setRegister(!1)},set:function(e){var t=e.appointment_type_id,n=e.doctor_id,r=e.selected_services,o=e.waiting_at;this.setAppointmentTypeId(t),this.setDoctorID(n),this.setSelectedServices(r),this.setWaitingAt(o),this.setRegister(!0)},setAppointmentTypeId:function(t){e.appointment_type_id=t},setPatientId:function(t){e.patient_id=t},setDoctorID:function(t){e.doctor_id=t},setSelectedServices:function(t){e.selected_services=t},setWaitingAt:function(t){e.waiting_at=t},setRegister:function(t){e.register=t}}})),gc=Is.model({waitlist:mc}),vc=Is.model({value:Is.string}).actions((function(e){return{setValue:function(t){e.value=t}}})),yc=Is.model({slotMaxTime:Is.string,slotMinTime:Is.string,tab:Is.number,dates:Is.array(Is.Date),view:Is.string,date:Is.string,popperModalOpen:Is.boolean,refresh:Is.boolean,selectedStaff:Is.maybeNull(Is.number)}).volatile((function(){return{ref:null}})).actions((function(e){return{setSlotMaxTime:function(t){e.slotMaxTime=t},setSlotMinTime:function(t){e.slotMinTime=t},setDates:function(t){e.dates=t},setTab:function(t){e.tab=t},setRef:function(t){e.ref=t},setView:function(t){e.view=t},setPopperModalOpen:function(t){e.popperModalOpen=t},updateDates:function(t){for(var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=Vs()(t).startOf("isoWeek"),o=Vs()(t).endOf("isoWeek"),i=[],a=r,s=0;a<=o;){s++;var l=a.toDate();Vs()(l).format("YYYY-MM-DD").toString()===Vs()(t).format("YYYY-MM-DD").toString()&&e.setTab(s),i.push(l),a=a.clone().add(1,"d"),Vs()(l).format("ddd Do")===Vs()().format("ddd Do")&&n&&e.setTab(i.length)}return e.setDates(i),i},update:function(){e.refresh=!e.refresh},setDate:function(t){e.date=t},clearSelectedStaff:function(){e.selectedStaff=null},setSelectedStaff:function(t){t!==e.selectedStaff?e.selectedStaff=t:this.clearSelectedStaff()}}})),Mc=Is.model({open:Is.boolean}).actions((function(e){return{setOpen:function(t){e.open=t}}})),Oc=Is.model({date:Is.string,doctor:sl,startTime:Is.maybeNull(Is.string),endTime:Is.maybeNull(Is.string),offStart:Is.maybeNull(Is.string),offEnd:Is.maybeNull(Is.string),needUpdate:Is.boolean,location:Is.number}).actions((function(e){return{setLocation:function(t){e.location=t},setDate:function(t){e.date=t},setDoctor:function(t,n,r,o){e.doctor={id:t,name:n,role:r,avatarUrl:o}},setStartTime:function(t){e.startTime=t},setEndTime:function(t){e.endTime=t},setOffStart:function(t){e.offStart=t},setOffEnd:function(t){e.offEnd=t},setTimes:function(e,t,n,r){this.setStartTime(e),this.setEndTime(t),this.setOffStart(n),this.setOffEnd(r)},update:function(){e.needUpdate=!e.needUpdate}}})),_c=Is.model({weekday:Is.string,start_hour:Is.string,end_hour:Is.string}),zc=Is.model({id:Is.number,address:Is.string,name:Is.maybeNull(Is.string),email:Is.maybeNull(Is.string),phone:Is.maybeNull(Is.string),working_hours:Is.maybeNull(Is.array(_c)),deleted_at:Is.maybeNull(Is.string)}).actions((function(e){return{setLocation:function(t){Object.assign(e,t)},resetLocation:function(){e.id=0,e.address="All"}}})),xc=Is.model({appointmentsStaff:Is.maybeNull(Is.number),revenueStaff:Is.maybeNull(Is.number),quotaStaff:Is.maybeNull(Is.number),startDate:Is.maybeNull(Is.Date),endDate:Is.maybeNull(Is.Date)}).actions((function(e){return{setAppointmentsStaff:function(t){e.appointmentsStaff=t},setRevenueStaff:function(t){e.revenueStaff=t},setQuotaStaff:function(t){e.quotaStaff=t},setStartDate:function(t){e.startDate=t},setEndDate:function(t){e.endDate=t},setupStaff:function(e){this.setAppointmentsStaff(e),this.setRevenueStaff(e),this.setQuotaStaff(e)}}})),wc=Is.model({message:Is.maybeNull(Is.string),subject:Is.maybeNull(Is.string)}),Cc=Is.model({category:Is.string,placeholders:Is.array(Is.model({title:Is.string,placeholder:Is.string,for:Is.array(Is.string),channels:Is.array(Is.string),template:Is.maybeNull(Is.string)}))}),Sc=Is.model({id:Is.number,name:Is.string,slug:Is.string,defaults:Is.model({email:wc,sms:wc}),possible_types:Is.array(Is.string),available_filters:Is.array(Is.string),placeholders:Is.array(Cc)}),Ec=Is.model({slug:Is.string,filters:Is.array(Is.model({type:Is.string,fields:Is.array(Is.string)}))}),kc=Is.model({triggers:Is.array(Sc),smsOutgoingNumber:Is.maybeNull(Is.string),smsRemainingMessages:Is.maybeNull(Is.number),smsStripePublicKey:Is.maybeNull(Is.string),smsPricingTableId:Is.maybeNull(Is.string),campaignPlaceholders:Is.array(Cc),audiences:Is.array(Ec),smsHeaderNumberType:Is.maybeNull(Is.string)}).actions((function(e){return{setTriggers:function(t){e.triggers=t},setSmsChannelInfo:function(t){e.smsOutgoingNumber=t.notifications_outgoing_number,e.smsCampaignOutgoingNumber=t.campaigns_outgoing_number,e.smsRemainingMessages=t.remaining_sms_messages,e.smsStripePublicKey=t.stripe_public_key,e.smsPricingTableId=t.pricing_table_id},setCampaignPlaceholders:function(t){e.campaignPlaceholders=t},setAudiences:function(t){e.audiences=t},setSmsHeaderNumberType:function(t){e.smsHeaderNumberType=t},setSmsRemainingMessages:function(t){e.smsRemainingMessages=t}}})),Dc=Is.model({surveys:Is.array(fl),phone:Is.maybeNull(Is.string),smsSender:Is.maybeNull(Is.string),name:Is.maybeNull(Is.string),staff:Is.array(Is.model({id:Is.number,fullName:Is.string,is_clinic_admin:Is.boolean,user:Is.model({id:Is.number,email:Is.string})})),treatmentTypes:Is.array(Is.model({id:Is.number,fullName:Is.string,category:Is.maybeNull(Is.model({id:Is.integer,name:Is.string,slug:Is.string,color:Is.string}))})),adminEmails:Is.array(Is.string),sms_notifications_enabled:Is.boolean,email_notifications_settings:Is.maybeNull(Is.model({reply_to:Is.maybeNull(Is.string),sender_name:Is.maybeNull(Is.string)})),settings_invoice_settings_logo:Is.maybeNull(Is.string),settings_invoice_settings_clinic_address:Is.maybeNull(Is.string),settings_invoice_settings_business_name:Is.maybeNull(Is.string),settings_invoice_settings_company_number:Is.maybeNull(Is.string),feature_inventory_enabled:Is.maybeNull(Is.boolean)}).actions((function(e){return{setSurveys:function(t){e.surveys=t},setStaff:function(t){e.staff=t},setTreatmentTypes:function(t){e.treatmentTypes=t},setAdminEmails:function(t){e.adminEmails=t},setSmsNotificationsEnabled:function(t){e.sms_notifications_enabled=t},setEmailNotificationsSettings:function(t){e.email_notifications_settings=t},setInvoiceSettings:function(t){e.settings_invoice_settings_logo=t.settings_invoice_settings_logo,e.settings_invoice_settings_clinic_address=t.settings_invoice_settings_clinic_address,e.settings_invoice_settings_business_name=t.settings_invoice_settings_business_name,e.settings_invoice_settings_company_number=t.settings_invoice_settings_company_number},setPhone:function(t){e.phone=t.phone},setClinicName:function(t){e.name=t.name},setSmsSender:function(t){e.smsSender=t},setFeatureInventoryEnabled:function(t){e.feature_inventory_enabled=Boolean(t)}}})),Nc=Is.model({unsavedChanges:Is.boolean}).actions((function(e){return{updateUnsavedChanges:function(t){e.unsavedChanges=t}}})),Tc=Is.model({appointment:_l,appointmentDoctor:bc,external:gc,search:vc,calendar:yc,navigation:Mc,shifts:Oc,location:zc,dashboard:xc,notificationsStore:kc,clinic:Dc,patientRecordStore:Nc}),jc=Vs()().add(-1,"hour"),Bc=Vs()(jc).format("HH"),Lc=Vs()(jc).add(6,"hour"),Rc=Vs()(Lc).format("HH"),qc=function(){return Vs()(Bc,"HH").isAfter(Vs()("17","HH"))?{minTime:"18:00:00",maxTime:"24:00:00"}:{minTime:"".concat(Bc,":00:00"),maxTime:"".concat(Rc,":00:00")}},Pc=Tc.create({dashboard:{appointmentsStaff:0,revenueStaff:0,quotaStaff:0,startDate:Vs()().startOf("isoweek").toDate(),endDate:Vs()().endOf("isoweek").toDate()},location:{id:0,address:"All"},shifts:{date:Vs()().startOf("isoweek").toString(),doctor:{id:0,name:"",role:"",avatarUrl:""},startTime:"",endTime:"",offStart:"",offEnd:"",needUpdate:!1,location:0},navigation:{open:!1},calendar:{slotMaxTime:qc().maxTime,slotMinTime:qc().minTime,dates:[],tab:1,view:"resourceTimeGridDay",ref:null,date:Js().toString(),popperModalOpen:!1,refresh:!1,selectedStaff:null},appointment:{location:0,status:{id:0,name:"Not Created",slug:"not-created"},notes:"",hasLinkedAppointmentUpdated:!1,isExternal:!1,depositedAt:"",unavailabilityNotes:"",doctor:{id:0,name:"",role:"",avatarUrl:""},type:"",patient:{id:0,name:"",isVip:!1,isMedicalHistoryCompleted:!1,note:"",existAlerts:!1},treatmentTypes:[],linkedAppointmentsHash:null,prevAppointment:{id:0,startDate:"",endDate:"",treatmentTypes:[],types:[]},hasLinkedChain:!1,types:[],concerns:[],fundStatus:1,startDate:Js().toString(),endDate:Js().toString(),id:0,records:[],deposit:0,vat:0,photosBefore:[],photosAfter:[],depositNotes:""},appointmentDoctor:{concerns:[],concernTypes:[],consents:[],payment:{items:[],editIndex:0,vatValue:0,deposit:0,isPaid:!1,totalPaid:0,remainingBalance:0,discount:0,discountType:"absolute",exists:!1,paidAt:"",transaction:null,notes:"",split:[],selected_products:[]},prescription:{items:[],prescriber:1,notes:"",patient:0,active:!1,sign:"",signAt:""},consultation:{id:0,is_medical:!1,note:"",createdDate:null,updatedDate:null,diagnoses:[],scalingTools:[],concerns:[]}},external:{waitlist:{appointment_type_id:0,patient_id:0,doctor_id:0,selected_services:[],waiting_at:"",register:!1}},search:{value:""},notificationsStore:{triggers:[],campaignPlaceholders:[],audiences:[],smsHeaderNumberType:null},clinic:{surveys:[],staff:[],treatmentTypes:[],adminEmails:[],sms_notifications_enabled:!1,email_notifications_settings:null},patientRecordStore:{unsavedChanges:!1}});var Ic=(0,e.createContext)(null),Wc=Ic.Provider;function Fc(){var t=(0,e.useContext)(Ic);if(null===t)throw new Error("Store cannot be null, please add a context provider");return t}function Uc(){return Uc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Uc.apply(this,arguments)}var Zc="https://www.googletagmanager.com",Hc=function(e){return{getDataLayerScript:function(){var t,n,r=document.createElement("script");return e.nonce&&r.setAttribute("nonce",e.nonce),r.innerHTML=(t=e.dataLayer,void 0===(n=e.dataLayerName)&&(n="dataLayer"),"window."+n+" = window."+n+" || [];"+(t?"window."+n+".push("+JSON.stringify(t)+")":"")),r},getNoScript:function(){var t=document.createElement("noscript");return t.innerHTML=function(e,t,n){void 0===n&&(n=Zc);var r="";return t&&(r="&gtm_auth="+t.gtm_auth+"&gtm_preview="+t.gtm_preview+"&gtm_cookies_win=x"),'<iframe src="'+n+"/ns.html?id="+e+r+'" height="0" width="0" style="display:none;visibility:hidden" id="tag-manager"></iframe>'}(e.id,e.environment,e.customDomain),t},getScript:function(){var t=document.createElement("script");return e.nonce&&t.setAttribute("nonce",e.nonce),t.innerHTML=function(e,t,n,r,o){void 0===r&&(r=Zc),void 0===o&&(o="gtm.js");var i="";return n&&(i='+"&gtm_auth='+n.gtm_auth+"&gtm_preview="+n.gtm_preview+'&gtm_cookies_win=x"'),"\n    (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n      new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n      j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n      '"+r+"/"+o+"?id='+i+dl"+i+";f.parentNode.insertBefore(j,f);\n    })(window,document,'script','"+e+"','"+t+"');\n  "}(e.dataLayerName,e.id,e.environment,e.customDomain,e.customScriptName),t}}},$c=function(e){var t=e.dataLayer,n=e.dataLayerName,r=e.environment,o=e.nonce,i=e.id,a=e.customDomain,s=e.customScriptName,l=Hc({dataLayer:t,dataLayerName:n,environment:r,nonce:o,id:i,customDomain:a,customScriptName:s}),c=l.getDataLayerScript(),u=l.getScript(),d=l.getNoScript();document.head.insertBefore(c,document.head.childNodes[0]),document.head.insertBefore(u,document.head.childNodes[1]),document.body.insertBefore(d,document.body.childNodes[0])},Vc=function(e){var t=e.dataLayerName,n=e.data;window[t]?window[t].push(n):console.warn("dataLayer "+t+" does not exist, has script be initialized")},Xc={dataLayer:void 0,dataLayerName:"dataLayer",environment:void 0,nonce:void 0,id:"",injectScript:!0},Qc=(0,e.createContext)(Xc),Yc=(0,e.createContext)(void 0);function Gc(e,t){return Vc({data:t,dataLayerName:null==e?void 0:e.dataLayerName}),e}function Kc(t){var n=t.state,r=t.children,o=(0,e.useReducer)(Gc,Uc({},Xc,n)),i=o[0],a=o[1];return(0,e.useEffect)((function(){if(n&&0!=n.injectScript){var e=Uc({},i,n);$c(e)}}),[JSON.stringify(n)]),e.createElement(Qc.Provider,{value:i},e.createElement(Yc.Provider,{value:a},r))}function Jc(){var t=(0,e.useContext)(Yc);if(void 0===t)throw new Error("dispatchGTMEvent must be used within a GTMProvider");return t}var eu=Object.defineProperty,tu=Object.getOwnPropertySymbols,nu=Object.prototype.hasOwnProperty,ru=Object.prototype.propertyIsEnumerable,ou=function(e,t,n){return t in e?eu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},iu=function(e,t){for(var n in t||(t={}))nu.call(t,n)&&ou(e,n,t[n]);if(tu){var r,o=(0,b.Z)(tu(t));try{for(o.s();!(r=o.n()).done;){n=r.value;ru.call(t,n)&&ou(e,n,t[n])}}catch(i){o.e(i)}finally{o.f()}}return e},au=function(e,t){var n="[react-use-intercom]";switch(e){case"info":default:console.log("".concat(n," ").concat(t));break;case"warn":console.warn("".concat(n," ").concat(t));break;case"error":console.error("".concat(n," ").concat(t))}},su="undefined"==typeof window,lu=function e(t){return Object.keys(t).forEach((function(n){t[n]&&"object"==typeof t[n]?e(t[n]):void 0===t[n]&&delete t[n]})),t},cu=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(!su&&window.Intercom)return window.Intercom.apply(null,[e].concat(n));au("error","".concat(e," Intercom instance is not initalized yet"))},uu=e.createContext(void 0),du=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=window,r=n.Intercom;if("function"==typeof r)r("reattach_activator"),r("update",n.intercomSettings);else{var o=document,i=function e(){e.c(arguments)};i.q=[],i.c=function(e){i.q.push(e)},n.Intercom=i;var a=function(){setTimeout((function(){var t=o.createElement("script");t.type="text/javascript",t.async=!0,t.src="https://widget.intercom.io/widget/"+e;var n=o.getElementsByTagName("script")[0];n.parentNode.insertBefore(t,n)}),t)};"complete"===document.readyState?a():n.attachEvent?n.attachEvent("onload",a):n.addEventListener("load",a,!1)}},pu=function(e){return iu({company_id:e.companyId,name:e.name,created_at:e.createdAt,plan:e.plan,monthly_spend:e.monthlySpend,user_count:e.userCount,size:e.size,website:e.website,industry:e.industry},e.customAttributes)},fu=function(e){return{type:e.type,image_url:e.imageUrl}},hu=function(e){return lu(iu(iu({},function(e){return{custom_launcher_selector:e.customLauncherSelector,alignment:e.alignment,vertical_padding:e.verticalPadding,horizontal_padding:e.horizontalPadding,hide_default_launcher:e.hideDefaultLauncher,session_duration:e.sessionDuration,action_color:e.actionColor,background_color:e.backgroundColor}}(e)),function(e){var t;return iu({email:e.email,user_id:e.userId,created_at:e.createdAt,name:e.name,phone:e.phone,last_request_at:e.lastRequestAt,unsubscribed_from_emails:e.unsubscribedFromEmails,language_override:e.languageOverride,utm_campaign:e.utmCampaign,utm_content:e.utmContent,utm_medium:e.utmMedium,utm_source:e.utmSource,utm_term:e.utmTerm,avatar:e.avatar&&fu(e.avatar),user_hash:e.userHash,company:e.company&&pu(e.company),companies:null==(t=e.companies)?void 0:t.map(pu)},e.customAttributes)}(e)))},bu=function(t){var r=t,o=r.appId,i=r.autoBoot,a=void 0!==i&&i,s=r.autoBootProps,l=r.children,c=r.onHide,u=r.onShow,d=r.onUnreadCountChange,p=r.onUserEmailSupplied,f=r.shouldInitialize,h=void 0===f?!su:f,A=r.apiBase,m=r.initializeDelay,g=function(e,t){var n={};for(var r in e)nu.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&tu){var o,i=(0,b.Z)(tu(e));try{for(i.s();!(o=i.n()).done;)r=o.value,t.indexOf(r)<0&&ru.call(e,r)&&(n[r]=e[r])}catch(a){i.e(a)}finally{i.f()}}return n}(r,["appId","autoBoot","autoBootProps","children","onHide","onShow","onUnreadCountChange","onUserEmailSupplied","shouldInitialize","apiBase","initializeDelay"]),v=e.useRef(!1),y=e.useRef(!1),M=Object.keys(g).filter((function(e){return!e.startsWith("data-")}));M.length>0&&au("warn",["some invalid props were passed to IntercomProvider. ","Please check following props: ".concat(M.join(", "),".")].join(""));var O=e.useCallback((function(e){if(window.Intercom||h){var t=iu(iu({app_id:o},A&&{api_base:A}),e&&hu(e));window.intercomSettings=t,cu("boot",t),v.current=!0}else au("warn","Intercom instance is not initialized because `shouldInitialize` is set to `false` in `IntercomProvider`")}),[A,o,h]),_=e.useState(!1),z=(0,n.Z)(_,2),x=z[0],w=z[1],C=e.useCallback((function(){w(!1),c&&c()}),[c,w]),S=e.useCallback((function(){w(!0),u&&u()}),[u,w]);!su&&h&&!y.current&&(du(o,m),cu("onHide",C),cu("onShow",S),cu("onUserEmailSupplied",p),d&&cu("onUnreadCountChange",d),a&&O(s),y.current=!0);var E=e.useCallback((function(e,t){if(window.Intercom||h){if(v.current)return t();au("warn",['"'.concat(e,'" was called but Intercom has not booted yet. '),"Please call 'boot' before calling '".concat(e,"' or "),"set 'autoBoot' to true in the IntercomProvider."].join(""))}else au("warn","Intercom instance is not initialized because `shouldInitialize` is set to `false` in `IntercomProvider`")}),[h]),k=e.useCallback((function(){v.current&&(cu("shutdown"),delete window.intercomSettings,v.current=!1)}),[]),D=e.useCallback((function(){v.current&&(cu("shutdown"),delete window.Intercom,delete window.intercomSettings,v.current=!1)}),[]),N=e.useCallback((function(){E("update",(function(){var e=Math.floor((new Date).getTime()/1e3);cu("update",{last_request_at:e})}))}),[E]),T=e.useCallback((function(e){E("update",(function(){if(e){var t=hu(e);window.intercomSettings=iu(iu({},window.intercomSettings),t),cu("update",t)}else N()}))}),[E,N]),j=e.useCallback((function(){E("hide",(function(){cu("hide")}))}),[E]),B=e.useCallback((function(){E("show",(function(){return cu("show")}))}),[E]),L=e.useCallback((function(){E("showMessages",(function(){cu("showMessages")}))}),[E]),R=e.useCallback((function(e){E("showNewMessage",(function(){e?cu("showNewMessage",e):cu("showNewMessage")}))}),[E]),q=e.useCallback((function(){return E("getVisitorId",(function(){return cu("getVisitorId")}))}),[E]),P=e.useCallback((function(e){E("startTour",(function(){cu("startTour",e)}))}),[E]),I=e.useCallback((function(e,t){E("trackEvent",(function(){t?cu("trackEvent",e,t):cu("trackEvent",e)}))}),[E]),W=e.useCallback((function(e){return E("showArticle",(function(){cu("showArticle",e)}))}),[E]),F=e.useCallback((function(e){return E("showSpace",(function(){cu("showSpace",e)}))}),[E]),U=e.useCallback((function(e){E("startSurvey",(function(){cu("startSurvey",e)}))}),[E]),Z=e.useMemo((function(){return{boot:O,shutdown:k,hardShutdown:D,update:T,hide:j,show:B,isOpen:x,showMessages:L,showNewMessage:R,getVisitorId:q,startTour:P,trackEvent:I,showArticle:W,startSurvey:U,showSpace:F}}),[O,k,D,T,j,B,x,L,R,q,P,I,W,U,F]);return e.createElement(uu.Provider,{value:Z},l)},Au=function(){return function(){var t=e.useContext(uu);if(void 0===t)throw new Error('"useIntercom" must be used within `IntercomProvider`.');return t}()};function mu(){return mu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mu.apply(this,arguments)}function gu(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function vu(e){return void 0===e&&(e=""),new URLSearchParams("string"===typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((function(t,n){var r=e[n];return t.concat(Array.isArray(r)?r.map((function(e){return[n,e]})):[[n,r]])}),[]))}var yu=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],Mu=["aria-current","caseSensitive","className","end","style","to","children"];function Ou(t){var r,o=t.basename,i=t.children,a=t.window,s=e.useRef();null==s.current&&(s.current=(void 0===(r={window:a,v5Compat:!0})&&(r={}),x((function(e,t){var n=e.location;return O("",{pathname:n.pathname,search:n.search,hash:n.hash},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){return"string"===typeof t?t:_(t)}),null,r)));var l=s.current,c=e.useState({action:l.action,location:l.location}),u=(0,n.Z)(c,2),d=u[0],p=u[1];return e.useLayoutEffect((function(){return l.listen(p)}),[l]),e.createElement(De,{basename:o,children:i,location:d.location,navigationType:d.action,navigator:l})}var _u="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement,zu=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,xu=e.forwardRef((function(t,n){var r,o=t.onClick,i=t.relative,a=t.reloadDocument,s=t.replace,l=t.state,c=t.target,u=t.to,d=t.preventScrollReset,p=gu(t,yu),f=e.useContext(se).basename,h=!1;if("string"===typeof u&&zu.test(u)&&(r=u,_u)){var b=new URL(window.location.href),A=u.startsWith("//")?new URL(b.protocol+u):new URL(u),m=I(A.pathname,f);A.origin===b.origin&&null!=m?u=m+A.search+A.hash:h=!0}var g=function(t,n){var r=(void 0===n?{}:n).relative;pe()||v(!1);var o=e.useContext(se),i=o.basename,a=o.navigator,s=ge(t,{relative:r}),l=s.hash,c=s.pathname,u=s.search,d=c;return"/"!==i&&(d="/"===c?i:Z([i,c])),a.createHref({pathname:d,search:u,hash:l})}(u,{relative:i}),y=function(t,n){var r=void 0===n?{}:n,o=r.target,i=r.replace,a=r.state,s=r.preventScrollReset,l=r.relative,c=he(),u=fe(),d=ge(t,{relative:l});return e.useCallback((function(e){if(function(e,t){return 0===e.button&&(!t||"_self"===t)&&!function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)}(e,o)){e.preventDefault();var n=void 0!==i?i:_(u)===_(d);c(t,{replace:n,state:a,preventScrollReset:s,relative:l})}}),[u,c,d,i,a,o,t,s,l])}(u,{replace:s,state:l,target:c,preventScrollReset:d,relative:i});return e.createElement("a",mu({},p,{href:r||g,onClick:h||a?o:function(e){o&&o(e),e.defaultPrevented||y(e)},ref:n,target:c}))}));var wu=e.forwardRef((function(t,n){var r=t["aria-current"],o=void 0===r?"page":r,i=t.caseSensitive,a=void 0!==i&&i,s=t.className,l=void 0===s?"":s,c=t.end,u=void 0!==c&&c,d=t.style,p=t.to,f=t.children,h=gu(t,Mu),b=ge(p,{relative:h.relative}),A=fe(),m=e.useContext(ie),g=e.useContext(se).navigator,v=g.encodeLocation?g.encodeLocation(b).pathname:b.pathname,y=A.pathname,M=m&&m.navigation&&m.navigation.location?m.navigation.location.pathname:null;a||(y=y.toLowerCase(),M=M?M.toLowerCase():null,v=v.toLowerCase());var O,_=y===v||!u&&y.startsWith(v)&&"/"===y.charAt(v.length),z=null!=M&&(M===v||!u&&M.startsWith(v)&&"/"===M.charAt(v.length)),x=_?o:void 0;O="function"===typeof l?l({isActive:_,isPending:z}):[l,_?"active":null,z?"pending":null].filter(Boolean).join(" ");var w="function"===typeof d?d({isActive:_,isPending:z}):d;return e.createElement(xu,mu({},h,{"aria-current":x,className:O,ref:n,style:w,to:p}),"function"===typeof f?f({isActive:_,isPending:z}):f)}));var Cu,Su;function Eu(t){var n=e.useRef(vu(t)),r=e.useRef(!1),o=fe(),i=e.useMemo((function(){return function(e,t){var n=vu(e);if(t){var r,o=(0,b.Z)(t.keys());try{var i=function(){var e=r.value;n.has(e)||t.getAll(e).forEach((function(t){n.append(e,t)}))};for(o.s();!(r=o.n()).done;)i()}catch(a){o.e(a)}finally{o.f()}}return n}(o.search,r.current?null:n.current)}),[o.search]),a=he(),s=e.useCallback((function(e,t){var n=vu("function"===typeof e?e(i):e);r.current=!0,a("?"+n,t)}),[a,i]);return[i,s]}(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(Cu||(Cu={})),function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(Su||(Su={}));var ku,Du,Nu,Tu,ju=function(){var t,n,r,o;return null!==(t=null===(n=(0,e.useContext)(bA).user)||void 0===n||null===(r=n.staff)||void 0===r||null===(o=r.role[0])||void 0===o?void 0:o.name)&&void 0!==t?t:""},Bu=function(){var t,n,r,o=(0,e.useContext)(bA);return null!==(t=o.user)&&void 0!==t&&null!==(n=t.staff)&&void 0!==n&&n.id?null===(r=o.user.staff)||void 0===r?void 0:r.id:0},Lu=function(){var t;return!(null===(t=(0,e.useContext)(bA).user)||void 0===t||!t.staff)},Ru=function(){var t=(0,e.useState)([0,0]),r=(0,n.Z)(t,2),o=r[0],i=r[1];return(0,e.useLayoutEffect)((function(){function e(){i([window.innerWidth,window.innerHeight])}return window.addEventListener("resize",e),e(),function(){return window.removeEventListener("resize",e)}}),[]),o},qu="mainHeader_header__IDGyP",Pu="mainHeader_searchContainer__6jrUk",Iu="mainHeader_headerTitle__VNHl6",Wu=__webpack_require__(72728),Fu=__webpack_require__(87462),Uu=__webpack_require__(45987),Zu=__webpack_require__(83061),Hu=__webpack_require__(52376),$u=__webpack_require__(77047),Vu=e.forwardRef((function(t,n){var r=t.children,o=t.classes,i=t.className,a=t.component,s=void 0===a?"div":a,l=t.disablePointerEvents,c=void 0!==l&&l,u=t.disableTypography,d=void 0!==u&&u,p=t.position,f=t.variant,h=(0,Uu.Z)(t,["children","classes","className","component","disablePointerEvents","disableTypography","position","variant"]),b=(0,$u.Y)()||{},A=f;return f&&b.variant,b&&!A&&(A=b.variant),e.createElement($u.Z.Provider,{value:null},e.createElement(s,(0,Fu.Z)({className:(0,Zu.Z)(o.root,i,"end"===p?o.positionEnd:o.positionStart,c&&o.disablePointerEvents,b.hiddenLabel&&o.hiddenLabel,"filled"===A&&o.filled,"dense"===b.margin&&o.marginDense),ref:n},h),"string"!==typeof r||d?r:e.createElement(kl.Z,{color:"textSecondary"},r)))})),Xu=(0,Hu.Z)({root:{display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap"},filled:{"&$positionStart:not($hiddenLabel)":{marginTop:16}},positionStart:{marginRight:8},positionEnd:{marginLeft:8},disablePointerEvents:{pointerEvents:"none"},hiddenLabel:{},marginDense:{}},{name:"MuiInputAdornment"})(Vu),Qu=__webpack_require__(18550),Yu=function(t){var n=t.value,r=t.setValue,o=t.label,i=t.fullWidth,a=void 0!==i&&i,s=t.style,l=void 0===s?{}:s,c=fe();(0,e.useEffect)((function(){r("")}),[c]);var u=(0,e.useCallback)((function(e){return r(e.target.value)}),[]);return(0,Kl.jsx)(Wu.Z,{size:"small",style:l,id:"outlined-basic",placeholder:o,variant:"outlined",InputProps:{startAdornment:(0,Kl.jsx)(Xu,{position:"start",children:(0,Kl.jsx)(Qu.Z,{})})},value:n,onChange:u,fullWidth:a})},Gu=["title","titleId"];function Ku(){return Ku=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ku.apply(this,arguments)}function Ju(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function ed(t,n){var r=t.title,o=t.titleId,i=Ju(t,Gu);return e.createElement("svg",Ku({width:33,height:33,viewBox:"0 0 33 33",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,ku||(ku=e.createElement("path",{d:"M31.63 16.5C31.63 25.06 24.69 32 16.13 32C7.57 32 0.630005 25.06 0.630005 16.5C0.630005 7.94 7.57 1 16.13 1C24.69 1 31.63 7.94 31.63 16.5Z",stroke:"#E2A163",strokeMiterlimit:10})),Du||(Du=e.createElement("path",{d:"M19.5601 19.93V20.5H18.99C18.67 20.5 18.42 20.76 18.42 21.07C18.42 21.38 18.68 21.64 18.99 21.64H19.5601V22.21C19.5601 22.53 19.82 22.78 20.13 22.78C20.44 22.78 20.7001 22.52 20.7001 22.21V21.64H21.27C21.59 21.64 21.8401 21.38 21.8401 21.07C21.8401 20.76 21.58 20.5 21.27 20.5H20.7001V19.93C20.7001 19.61 20.44 19.36 20.13 19.36C19.82 19.36 19.5601 19.62 19.5601 19.93Z",fill:"#E2A163"})),Nu||(Nu=e.createElement("path",{d:"M9.84998 25.08H15.5601C15.8801 25.08 16.13 24.82 16.13 24.51C16.13 24.2 15.8701 23.94 15.5601 23.94H9.84998C9.52998 23.94 9.28003 23.68 9.28003 23.37V22.23C9.28003 19.39 11.58 17.09 14.42 17.09H16.13C18.66 17.09 20.7101 15.05 20.7101 12.52C20.7101 9.99 18.67 7.94 16.14 7.94C13.61 7.94 11.5601 9.98 11.5601 12.51C11.5601 13.89 12.18 15.2 13.25 16.07C10.29 16.63 8.14001 19.22 8.14001 22.24V23.38C8.14001 24.33 8.90998 25.09 9.84998 25.09V25.08ZM12.7101 12.51C12.7101 10.62 14.25 9.08 16.14 9.08C18.03 9.08 19.5701 10.62 19.5701 12.51C19.5701 14.4 18.03 15.94 16.14 15.94C14.25 15.94 12.7101 14.4 12.7101 12.51Z",fill:"#E2A163"})),Tu||(Tu=e.createElement("path",{d:"M16.13 21.08C16.13 23.29 17.92 25.08 20.13 25.08C22.34 25.08 24.13 23.29 24.13 21.08C24.13 18.87 22.34 17.08 20.13 17.08C17.92 17.08 16.13 18.87 16.13 21.08ZM22.99 21.08C22.99 22.66 21.71 23.94 20.13 23.94C18.55 23.94 17.27 22.66 17.27 21.08C17.27 19.5 18.55 18.22 20.13 18.22C21.71 18.22 22.99 19.5 22.99 21.08Z",fill:"#E2A163"})))}var td,nd,rd=e.forwardRef(ed),od=(__webpack_require__.p,["title","titleId"]);function id(){return id=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},id.apply(this,arguments)}function ad(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function sd(t,n){var r=t.title,o=t.titleId,i=ad(t,od);return e.createElement("svg",id({width:33,height:33,viewBox:"0 0 33 33",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,td||(td=e.createElement("path",{d:"M32.4601 16.5C32.4601 25.06 25.5201 32 16.9601 32C8.40008 32 1.46008 25.06 1.46008 16.5C1.46008 7.94 8.40008 1 16.9601 1C25.5201 1 32.4601 7.94 32.4601 16.5Z",stroke:"#E2A163",strokeMiterlimit:10})),nd||(nd=e.createElement("path",{d:"M20.7001 15.96C18.3501 15.96 16.4301 17.87 16.4301 20.23C16.4301 22.59 18.3401 24.5 20.7001 24.5C23.0601 24.5 24.97 22.59 24.97 20.23C24.97 17.87 23.0601 15.96 20.7001 15.96ZM20.7001 23.43C18.9401 23.43 17.5 21.99 17.5 20.23C17.5 18.47 18.9401 17.03 20.7001 17.03C22.4601 17.03 23.9 18.47 23.9 20.23C23.9 21.99 22.4601 23.43 20.7001 23.43ZM21.23 19.7H22.8301V20.77H21.23V22.37H20.16V20.77H18.5601V19.7H20.16V18.1H21.23V19.7ZM22.3 9.57H20.7001V8.5H19.63V9.57H13.23V8.5H12.16V9.57H10.5601C9.68006 9.57 8.96008 10.29 8.96008 11.17V21.84C8.96008 22.72 9.68006 23.44 10.5601 23.44H16.4301C16.1801 23.11 15.9701 22.76 15.8101 22.37H10.5601C10.2701 22.37 10.03 22.13 10.03 21.84V13.84H22.8301V15.35C23.2101 15.52 23.57 15.72 23.9 15.97V11.16C23.9 10.28 23.18 9.56 22.3 9.56V9.57ZM22.8301 12.77H10.03V11.17C10.03 10.88 10.2701 10.64 10.5601 10.64H22.29C22.58 10.64 22.8201 10.88 22.8201 11.17V12.77H22.8301ZM13.76 17.04H11.63V15.97H13.76V17.04ZM17.49 15.97C17.09 16.27 16.7301 16.64 16.4301 17.04H15.36V15.97H17.49ZM11.62 19.17H13.75V20.24H11.62V19.17Z",fill:"#E2A163"})))}var ld,cd,ud=e.forwardRef(sd),dd=(__webpack_require__.p,["title","titleId"]);function pd(){return pd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pd.apply(this,arguments)}function fd(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function hd(t,n){var r=t.title,o=t.titleId,i=fd(t,dd);return e.createElement("svg",pd({width:33,height:33,viewBox:"0 0 33 33",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,ld||(ld=e.createElement("path",{d:"M31.8 16.5C31.8 25.06 24.86 32 16.3 32C7.74005 32 0.800049 25.06 0.800049 16.5C0.800049 7.94 7.74005 1 16.3 1C24.86 1 31.8 7.94 31.8 16.5Z",stroke:"#F20057",strokeMiterlimit:10})),cd||(cd=e.createElement("path",{d:"M20.8599 12.57L22.84 10.59C23.01 10.42 23.01 10.13 22.84 9.95996C22.67 9.78996 22.38 9.78996 22.21 9.95996L20.08 12.1C18.92 11.48 17.62 11.16 16.31 11.16C13.15 11.16 10.2499 13.02 8.36994 16.27C8.28994 16.41 8.28994 16.58 8.36994 16.71C9.19994 18.19 10.3499 19.46 11.7499 20.42L9.76996 22.4C9.59996 22.57 9.59996 22.85 9.76996 23.03C9.93996 23.2 10.23 23.2 10.4 23.03L12.54 20.9C13.7 21.51 14.99 21.83 16.31 21.83C19.47 21.83 22.3699 19.97 24.2499 16.72C24.3299 16.58 24.3299 16.41 24.2499 16.28C23.4199 14.8 22.2599 13.53 20.8599 12.57ZM9.26996 16.5C10.99 13.67 13.54 12.06 16.31 12.06C17.38 12.06 18.44 12.3 19.41 12.77L18.17 14.01C16.79 12.98 14.85 13.27 13.82 14.64C13 15.74 13 17.25 13.82 18.36L12.4 19.78C11.12 18.94 10.05 17.82 9.26996 16.5ZM18.53 16.5C18.53 17.73 17.54 18.72 16.31 18.72C15.87 18.72 15.45 18.59 15.08 18.35L18.16 15.27C18.4 15.63 18.53 16.06 18.53 16.49V16.5ZM14.09 16.5C14.09 15.27 15.08 14.28 16.31 14.28C16.75 14.28 17.17 14.41 17.54 14.65L14.46 17.73C14.22 17.37 14.09 16.94 14.09 16.51V16.5ZM16.31 20.94C15.24 20.94 14.18 20.7 13.21 20.23L14.45 18.99C15.83 20.02 17.77 19.73 18.8 18.36C19.62 17.26 19.62 15.75 18.8 14.64L20.2199 13.22C21.4999 14.06 22.5699 15.18 23.3499 16.5C21.6299 19.33 19.08 20.94 16.31 20.94Z",fill:"#F20057"})))}var bd,Ad,md=e.forwardRef(hd),gd=(__webpack_require__.p,["title","titleId"]);function vd(){return vd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vd.apply(this,arguments)}function yd(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Md(t,n){var r=t.title,o=t.titleId,i=yd(t,gd);return e.createElement("svg",vd({width:33,height:33,viewBox:"0 0 33 33",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,bd||(bd=e.createElement("path",{d:"M31.8 16.5C31.8 25.06 24.8601 32 16.3 32C7.74005 32 0.800049 25.06 0.800049 16.5C0.800049 7.94 7.74005 1 16.3 1C24.8601 1 31.8 7.94 31.8 16.5Z",fill:"#F20057",stroke:"#F20057",strokeMiterlimit:10})),Ad||(Ad=e.createElement("path",{d:"M20.86 12.57L22.8402 10.59C23.0102 10.42 23.0102 10.13 22.8402 9.95996C22.6702 9.78996 22.3801 9.78996 22.2101 9.95996L20.0801 12.1C18.9201 11.48 17.6201 11.16 16.3101 11.16C13.1501 11.16 10.2501 13.02 8.37006 16.27C8.29006 16.41 8.29006 16.58 8.37006 16.71C9.20006 18.19 10.3501 19.46 11.7501 20.42L9.77008 22.4C9.60008 22.57 9.60008 22.85 9.77008 23.03C9.94008 23.2 10.2301 23.2 10.4001 23.03L12.5401 20.9C13.7001 21.51 14.9901 21.83 16.3101 21.83C19.4701 21.83 22.3701 19.97 24.2501 16.72C24.3301 16.58 24.3301 16.41 24.2501 16.28C23.4201 14.8 22.26 13.53 20.86 12.57ZM9.27008 16.5C10.9901 13.67 13.5401 12.06 16.3101 12.06C17.3801 12.06 18.4401 12.3 19.4101 12.77L18.1701 14.01C16.7901 12.98 14.8501 13.27 13.8201 14.64C13.0001 15.74 13.0001 17.25 13.8201 18.36L12.4001 19.78C11.1201 18.94 10.0501 17.82 9.27008 16.5ZM18.5301 16.5C18.5301 17.73 17.5401 18.72 16.3101 18.72C15.8701 18.72 15.4501 18.59 15.0801 18.35L18.1601 15.27C18.4001 15.63 18.5301 16.06 18.5301 16.49V16.5ZM14.0902 16.5C14.0902 15.27 15.0801 14.28 16.3101 14.28C16.7501 14.28 17.1701 14.41 17.5401 14.65L14.4601 17.73C14.2201 17.37 14.0902 16.94 14.0902 16.51V16.5ZM16.3101 20.94C15.2401 20.94 14.1801 20.7 13.2101 20.23L14.4501 18.99C15.8301 20.02 17.7701 19.73 18.8001 18.36C19.6201 17.26 19.6201 15.75 18.8001 14.64L20.22 13.22C21.5 14.06 22.57 15.18 23.35 16.5C21.63 19.33 19.0801 20.94 16.3101 20.94Z",fill:"white"})))}var Od,_d=e.forwardRef(Md),zd=(__webpack_require__.p,__webpack_require__(20337)),xd=__webpack_require__(14636),wd=__webpack_require__(54070),Cd=__webpack_require__(34018),Sd=$l((function(){var e=he(),t=fe();return(0,Kl.jsx)(wd.Z,{onClick:function(){t.search.includes("fromAppointment")?e(-2):e(-1)},style:{padding:17,position:"relative",left:"-5px"},children:(0,Kl.jsx)(Cd.Z,{})})})),Ed=["title","titleId"];function kd(){return kd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},kd.apply(this,arguments)}function Dd(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Nd(t,n){var r=t.title,o=t.titleId,i=Dd(t,Ed);return e.createElement("svg",kd({width:26,height:25,viewBox:"0 0 26 25",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,Od||(Od=e.createElement("path",{id:"Vector",fillRule:"evenodd",clipRule:"evenodd",d:"M7 0C7.26522 0 7.51957 0.101305 7.70711 0.281628C7.89464 0.461951 8 0.706523 8 0.961538V1.92308H18V0.961538C18 0.706523 18.1054 0.461951 18.2929 0.281628C18.4804 0.101305 18.7348 0 19 0C19.2652 0 19.5196 0.101305 19.7071 0.281628C19.8946 0.461951 20 0.706523 20 0.961538V1.92308H23C23.7956 1.92308 24.5587 2.22699 25.1213 2.76796C25.6839 3.30893 26 4.04264 26 4.80769V22.1154C26 22.8804 25.6839 23.6141 25.1213 24.1551C24.5587 24.6961 23.7956 25 23 25H3C2.20435 25 1.44129 24.6961 0.87868 24.1551C0.316071 23.6141 0 22.8804 0 22.1154V4.80769C0 4.04264 0.316071 3.30893 0.87868 2.76796C1.44129 2.22699 2.20435 1.92308 3 1.92308H6V0.961538C6 0.706523 6.10536 0.461951 6.29289 0.281628C6.48043 0.101305 6.73478 0 7 0ZM18 3.84615V4.80769C18 5.06271 18.1054 5.30728 18.2929 5.4876C18.4804 5.66793 18.7348 5.76923 19 5.76923C19.2652 5.76923 19.5196 5.66793 19.7071 5.4876C19.8946 5.30728 20 5.06271 20 4.80769V3.84615H23C23.2652 3.84615 23.5196 3.94746 23.7071 4.12778C23.8946 4.30811 24 4.55268 24 4.80769V7.69231H2V4.80769C2 4.55268 2.10536 4.30811 2.29289 4.12778C2.48043 3.94746 2.73478 3.84615 3 3.84615H6V4.80769C6 5.06271 6.10536 5.30728 6.29289 5.4876C6.48043 5.66793 6.73478 5.76923 7 5.76923C7.26522 5.76923 7.51957 5.66793 7.70711 5.4876C7.89464 5.30728 8 5.06271 8 4.80769V3.84615H18ZM2 9.61538V22.1154C2 22.3704 2.10536 22.615 2.29289 22.7953C2.48043 22.9756 2.73478 23.0769 3 23.0769H23C23.2652 23.0769 23.5196 22.9756 23.7071 22.7953C23.8946 22.615 24 22.3704 24 22.1154V9.61538H2ZM12 12.5C12 12.245 12.1054 12.0004 12.2929 11.8201C12.4804 11.6398 12.7348 11.5385 13 11.5385C13.2652 11.5385 13.5196 11.6398 13.7071 11.8201C13.8946 12.0004 14 12.245 14 12.5C14 12.755 13.8946 12.9996 13.7071 13.1799C13.5196 13.3602 13.2652 13.4615 13 13.4615C12.7348 13.4615 12.4804 13.3602 12.2929 13.1799C12.1054 12.9996 12 12.755 12 12.5ZM17 11.5385C16.7348 11.5385 16.4804 11.6398 16.2929 11.8201C16.1054 12.0004 16 12.245 16 12.5C16 12.755 16.1054 12.9996 16.2929 13.1799C16.4804 13.3602 16.7348 13.4615 17 13.4615C17.2652 13.4615 17.5196 13.3602 17.7071 13.1799C17.8946 12.9996 18 12.755 18 12.5C18 12.245 17.8946 12.0004 17.7071 11.8201C17.5196 11.6398 17.2652 11.5385 17 11.5385ZM20 12.5C20 12.245 20.1054 12.0004 20.2929 11.8201C20.4804 11.6398 20.7348 11.5385 21 11.5385C21.2652 11.5385 21.5196 11.6398 21.7071 11.8201C21.8946 12.0004 22 12.245 22 12.5C22 12.755 21.8946 12.9996 21.7071 13.1799C21.5196 13.3602 21.2652 13.4615 21 13.4615C20.7348 13.4615 20.4804 13.3602 20.2929 13.1799C20.1054 12.9996 20 12.755 20 12.5ZM21 15.3846C20.7348 15.3846 20.4804 15.4859 20.2929 15.6662C20.1054 15.8466 20 16.0911 20 16.3462C20 16.6012 20.1054 16.8457 20.2929 17.0261C20.4804 17.2064 20.7348 17.3077 21 17.3077C21.2652 17.3077 21.5196 17.2064 21.7071 17.0261C21.8946 16.8457 22 16.6012 22 16.3462C22 16.0911 21.8946 15.8466 21.7071 15.6662C21.5196 15.4859 21.2652 15.3846 21 15.3846ZM16 16.3462C16 16.0911 16.1054 15.8466 16.2929 15.6662C16.4804 15.4859 16.7348 15.3846 17 15.3846C17.2652 15.3846 17.5196 15.4859 17.7071 15.6662C17.8946 15.8466 18 16.0911 18 16.3462C18 16.6012 17.8946 16.8457 17.7071 17.0261C17.5196 17.2064 17.2652 17.3077 17 17.3077C16.7348 17.3077 16.4804 17.2064 16.2929 17.0261C16.1054 16.8457 16 16.6012 16 16.3462ZM13 15.3846C12.7348 15.3846 12.4804 15.4859 12.2929 15.6662C12.1054 15.8466 12 16.0911 12 16.3462C12 16.6012 12.1054 16.8457 12.2929 17.0261C12.4804 17.2064 12.7348 17.3077 13 17.3077C13.2652 17.3077 13.5196 17.2064 13.7071 17.0261C13.8946 16.8457 14 16.6012 14 16.3462C14 16.0911 13.8946 15.8466 13.7071 15.6662C13.5196 15.4859 13.2652 15.3846 13 15.3846ZM8 16.3462C8 16.0911 8.10536 15.8466 8.29289 15.6662C8.48043 15.4859 8.73478 15.3846 9 15.3846C9.26522 15.3846 9.51957 15.4859 9.70711 15.6662C9.89464 15.8466 10 16.0911 10 16.3462C10 16.6012 9.89464 16.8457 9.70711 17.0261C9.51957 17.2064 9.26522 17.3077 9 17.3077C8.73478 17.3077 8.48043 17.2064 8.29289 17.0261C8.10536 16.8457 8 16.6012 8 16.3462ZM5 15.3846C4.73478 15.3846 4.48043 15.4859 4.29289 15.6662C4.10536 15.8466 4 16.0911 4 16.3462C4 16.6012 4.10536 16.8457 4.29289 17.0261C4.48043 17.2064 4.73478 17.3077 5 17.3077C5.26522 17.3077 5.51957 17.2064 5.70711 17.0261C5.89464 16.8457 6 16.6012 6 16.3462C6 16.0911 5.89464 15.8466 5.70711 15.6662C5.51957 15.4859 5.26522 15.3846 5 15.3846ZM4 20.1923C4 19.9373 4.10536 19.6927 4.29289 19.5124C4.48043 19.3321 4.73478 19.2308 5 19.2308C5.26522 19.2308 5.51957 19.3321 5.70711 19.5124C5.89464 19.6927 6 19.9373 6 20.1923C6 20.4473 5.89464 20.6919 5.70711 20.8722C5.51957 21.0525 5.26522 21.1538 5 21.1538C4.73478 21.1538 4.48043 21.0525 4.29289 20.8722C4.10536 20.6919 4 20.4473 4 20.1923ZM9 19.2308C8.73478 19.2308 8.48043 19.3321 8.29289 19.5124C8.10536 19.6927 8 19.9373 8 20.1923C8 20.4473 8.10536 20.6919 8.29289 20.8722C8.48043 21.0525 8.73478 21.1538 9 21.1538C9.26522 21.1538 9.51957 21.0525 9.70711 20.8722C9.89464 20.6919 10 20.4473 10 20.1923C10 19.9373 9.89464 19.6927 9.70711 19.5124C9.51957 19.3321 9.26522 19.2308 9 19.2308ZM12 20.1923C12 19.9373 12.1054 19.6927 12.2929 19.5124C12.4804 19.3321 12.7348 19.2308 13 19.2308C13.2652 19.2308 13.5196 19.3321 13.7071 19.5124C13.8946 19.6927 14 19.9373 14 20.1923C14 20.4473 13.8946 20.6919 13.7071 20.8722C13.5196 21.0525 13.2652 21.1538 13 21.1538C12.7348 21.1538 12.4804 21.0525 12.2929 20.8722C12.1054 20.6919 12 20.4473 12 20.1923ZM17 19.2308C16.7348 19.2308 16.4804 19.3321 16.2929 19.5124C16.1054 19.6927 16 19.9373 16 20.1923C16 20.4473 16.1054 20.6919 16.2929 20.8722C16.4804 21.0525 16.7348 21.1538 17 21.1538C17.2652 21.1538 17.5196 21.0525 17.7071 20.8722C17.8946 20.6919 18 20.4473 18 20.1923C18 19.9373 17.8946 19.6927 17.7071 19.5124C17.5196 19.3321 17.2652 19.2308 17 19.2308Z"})))}var Td=e.forwardRef(Nd),jd=(__webpack_require__.p,__webpack_require__(97241)),Bd=__webpack_require__(31094),Ld=__webpack_require__(60596),Rd=__webpack_require__(44006),qd=__webpack_require__(31385),Pd=__webpack_require__(5475),Id=__webpack_require__(38088),Wd={entering:{opacity:1},entered:{opacity:1}},Fd={enter:Rd.x9.enteringScreen,exit:Rd.x9.leavingScreen},Ud=e.forwardRef((function(t,r){var o=t.children,i=t.disableStrictModeCompat,a=void 0!==i&&i,s=t.in,l=t.onEnter,c=t.onEntered,u=t.onEntering,d=t.onExit,p=t.onExited,f=t.onExiting,h=t.style,b=t.TransitionComponent,A=void 0===b?Ld.ZP:b,m=t.timeout,g=void 0===m?Fd:m,v=(0,Uu.Z)(t,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","TransitionComponent","timeout"]),y=(0,qd.Z)(),M=y.unstable_strictMode&&!a,O=e.useRef(null),_=(0,Id.Z)(o.ref,r),z=(0,Id.Z)(M?O:void 0,_),x=function(e){return function(t,r){if(e){var o=M?[O.current,t]:[t,r],i=(0,n.Z)(o,2),a=i[0],s=i[1];void 0===s?e(a):e(a,s)}}},w=x(u),C=x((function(e,t){(0,Pd.n)(e);var n=(0,Pd.C)({style:h,timeout:g},{mode:"enter"});e.style.webkitTransition=y.transitions.create("opacity",n),e.style.transition=y.transitions.create("opacity",n),l&&l(e,t)})),S=x(c),E=x(f),k=x((function(e){var t=(0,Pd.C)({style:h,timeout:g},{mode:"exit"});e.style.webkitTransition=y.transitions.create("opacity",t),e.style.transition=y.transitions.create("opacity",t),d&&d(e)})),D=x(p);return e.createElement(A,(0,Fu.Z)({appear:!0,in:s,nodeRef:M?O:void 0,onEnter:C,onEntered:S,onEntering:w,onExit:k,onExited:D,onExiting:E,timeout:g},v),(function(t,n){return e.cloneElement(o,(0,Fu.Z)({style:(0,Fu.Z)({opacity:0,visibility:"exited"!==t||s?void 0:"hidden"},Wd[t],h,o.props.style),ref:z},n))}))})),Zd=Ud,Hd=e.forwardRef((function(t,n){var r=t.children,o=t.classes,i=t.className,a=t.invisible,s=void 0!==a&&a,l=t.open,c=t.transitionDuration,u=t.TransitionComponent,d=void 0===u?Zd:u,p=(0,Uu.Z)(t,["children","classes","className","invisible","open","transitionDuration","TransitionComponent"]);return e.createElement(d,(0,Fu.Z)({in:l,timeout:c},p),e.createElement("div",{className:(0,Zu.Z)(o.root,i,s&&o.invisible),"aria-hidden":!0,ref:n},r))})),$d=(0,Hu.Z)({root:{zIndex:-1,position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}},{name:"MuiBackdrop"})(Hd),Vd=__webpack_require__(10670);function Xd(e,t){var n=function(e,t){var n,r=t.getBoundingClientRect();if(t.fakeTransform)n=t.fakeTransform;else{var o=window.getComputedStyle(t);n=o.getPropertyValue("-webkit-transform")||o.getPropertyValue("transform")}var i=0,a=0;if(n&&"none"!==n&&"string"===typeof n){var s=n.split("(")[1].split(")")[0].split(",");i=parseInt(s[4],10),a=parseInt(s[5],10)}return"left"===e?"translateX(".concat(window.innerWidth,"px) translateX(").concat(i-r.left,"px)"):"right"===e?"translateX(-".concat(r.left+r.width-i,"px)"):"up"===e?"translateY(".concat(window.innerHeight,"px) translateY(").concat(a-r.top,"px)"):"translateY(-".concat(r.top+r.height-a,"px)")}(e,t);n&&(t.style.webkitTransform=n,t.style.transform=n)}var Qd={enter:Rd.x9.enteringScreen,exit:Rd.x9.leavingScreen},Yd=e.forwardRef((function(t,n){var r=t.children,o=t.direction,i=void 0===o?"down":o,a=t.in,s=t.onEnter,l=t.onEntered,c=t.onEntering,u=t.onExit,d=t.onExited,p=t.onExiting,f=t.style,h=t.timeout,b=void 0===h?Qd:h,A=t.TransitionComponent,m=void 0===A?Ld.ZP:A,g=(0,Uu.Z)(t,["children","direction","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),v=(0,qd.Z)(),y=e.useRef(null),M=e.useCallback((function(e){y.current=Dl.findDOMNode(e)}),[]),O=(0,Id.Z)(r.ref,M),_=(0,Id.Z)(O,n),z=function(e){return function(t){e&&(void 0===t?e(y.current):e(y.current,t))}},x=z((function(e,t){Xd(i,e),(0,Pd.n)(e),s&&s(e,t)})),w=z((function(e,t){var n=(0,Pd.C)({timeout:b,style:f},{mode:"enter"});e.style.webkitTransition=v.transitions.create("-webkit-transform",(0,Fu.Z)({},n,{easing:v.transitions.easing.easeOut})),e.style.transition=v.transitions.create("transform",(0,Fu.Z)({},n,{easing:v.transitions.easing.easeOut})),e.style.webkitTransform="none",e.style.transform="none",c&&c(e,t)})),C=z(l),S=z(p),E=z((function(e){var t=(0,Pd.C)({timeout:b,style:f},{mode:"exit"});e.style.webkitTransition=v.transitions.create("-webkit-transform",(0,Fu.Z)({},t,{easing:v.transitions.easing.sharp})),e.style.transition=v.transitions.create("transform",(0,Fu.Z)({},t,{easing:v.transitions.easing.sharp})),Xd(i,e),u&&u(e)})),k=z((function(e){e.style.webkitTransition="",e.style.transition="",d&&d(e)})),D=e.useCallback((function(){y.current&&Xd(i,y.current)}),[i]);return e.useEffect((function(){if(!a&&"down"!==i&&"right"!==i){var e=(0,Vd.Z)((function(){y.current&&Xd(i,y.current)}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}}),[i,a]),e.useEffect((function(){a||D()}),[a,D]),e.createElement(m,(0,Fu.Z)({nodeRef:y,onEnter:x,onEntered:C,onEntering:w,onExit:E,onExited:k,onExiting:S,appear:!0,in:a,timeout:b},g),(function(t,n){return e.cloneElement(r,(0,Fu.Z)({ref:_,style:(0,Fu.Z)({visibility:"exited"!==t||a?void 0:"hidden"},f,r.props.style)},n))}))})),Gd=Yd,Kd=__webpack_require__(82277),Jd=__webpack_require__(79685),ep={left:"right",right:"left",top:"down",bottom:"up"};var tp,np={enter:Rd.x9.enteringScreen,exit:Rd.x9.leavingScreen},rp=e.forwardRef((function(t,n){var r=t.anchor,o=void 0===r?"left":r,i=t.BackdropProps,a=t.children,s=t.classes,l=t.className,c=t.elevation,u=void 0===c?16:c,d=t.ModalProps,p=(d=void 0===d?{}:d).BackdropProps,f=(0,Uu.Z)(d,["BackdropProps"]),h=t.onClose,b=t.open,A=void 0!==b&&b,m=t.PaperProps,g=void 0===m?{}:m,v=t.SlideProps,y=t.TransitionComponent,M=void 0===y?Gd:y,O=t.transitionDuration,_=void 0===O?np:O,z=t.variant,x=void 0===z?"temporary":z,w=(0,Uu.Z)(t,["anchor","BackdropProps","children","classes","className","elevation","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"]),C=(0,qd.Z)(),S=e.useRef(!1);e.useEffect((function(){S.current=!0}),[]);var E=function(e,t){return"rtl"===e.direction&&function(e){return-1!==["left","right"].indexOf(e)}(t)?ep[t]:t}(C,o),k=e.createElement(Kd.Z,(0,Fu.Z)({elevation:"temporary"===x?u:0,square:!0},g,{className:(0,Zu.Z)(s.paper,s["paperAnchor".concat((0,Jd.Z)(E))],g.className,"temporary"!==x&&s["paperAnchorDocked".concat((0,Jd.Z)(E))])}),a);if("permanent"===x)return e.createElement("div",(0,Fu.Z)({className:(0,Zu.Z)(s.root,s.docked,l),ref:n},w),k);var D=e.createElement(M,(0,Fu.Z)({in:A,direction:ep[E],timeout:_,appear:S.current},v),k);return"persistent"===x?e.createElement("div",(0,Fu.Z)({className:(0,Zu.Z)(s.root,s.docked,l),ref:n},w),D):e.createElement(Bd.Z,(0,Fu.Z)({BackdropProps:(0,Fu.Z)({},i,p,{transitionDuration:_}),BackdropComponent:$d,className:(0,Zu.Z)(s.root,s.modal,l),open:A,onClose:h,ref:n},w,f),D)})),op=(0,Hu.Z)((function(e){return{root:{},docked:{flex:"0 0 auto"},paper:{overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:e.zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},paperAnchorLeft:{left:0,right:"auto"},paperAnchorRight:{left:"auto",right:0},paperAnchorTop:{top:0,left:0,bottom:"auto",right:0,height:"auto",maxHeight:"100%"},paperAnchorBottom:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},paperAnchorDockedLeft:{borderRight:"1px solid ".concat(e.palette.divider)},paperAnchorDockedTop:{borderBottom:"1px solid ".concat(e.palette.divider)},paperAnchorDockedRight:{borderLeft:"1px solid ".concat(e.palette.divider)},paperAnchorDockedBottom:{borderTop:"1px solid ".concat(e.palette.divider)},modal:{}}}),{name:"MuiDrawer",flip:!1})(rp),ip=__webpack_require__(73481),ap=(0,jd.Z)({list:{width:320},fullList:{padding:"32px"}}),sp=$l((function(t){var r=t.children,o=ap(),i=Fc().calendar,a=e.useState({top:!1,left:!1,bottom:!1,right:!1}),s=(0,n.Z)(a,2),l=s[0],c=s[1],u=function(e,t){return function(n){("keydown"!==n.type||"Tab"!==n.key&&"Shift"!==n.key)&&c(Us(Us({},l),{},{[e]:t}))}};return(0,Kl.jsx)("div",{className:"action-menu-button ".concat("timeGridWeek"===i.view?"weekly":""),style:{position:"relative"},children:(0,Kl.jsxs)(e.Fragment,{children:[(0,Kl.jsx)(zd.Z,{onClick:u("right",!0),children:(0,Kl.jsx)(ip.Z,{})}),(0,Kl.jsx)(op,{anchor:"right",open:l.right,onClose:u("right",!1),classes:{paper:o.fullList},children:r})]},"right")})})),lp=sp,cp="badge_badge__VaGMm",up=function(){return(0,Kl.jsx)("div",{className:"".concat(cp," customBadge"),children:"beta"})},dp=$l((function(t){var n,r,o=t.Icon,i=t.title,a=t.onClickAdd,s=t.needSearch,l=t.children,c=t.onClickAddSecond,u=t.updatePrivateMode,d=t.privateMode,p=t.actionButton,f=Fc().search,h=(0,e.useContext)(bA),b=Fc().location,A=(0,e.useMemo)((function(){var e,t;return null===h||void 0===h||null===(e=h.clinic)||void 0===e||null===(t=e.locations)||void 0===t?void 0:t.filter((function(e){return!(null!==e&&void 0!==e&&e.deleted_at)}))}),[null===h||void 0===h||null===(n=h.clinic)||void 0===n?void 0:n.locations]),m=function(e){if(localStorage.setItem("aestheti_location",e.target.value),0===e.target.value)b.resetLocation();else{var t=e.target.value;localStorage.getItem("aestheti_location")&&(t=parseInt(localStorage.getItem("aestheti_location"))),b.setLocation(null===A||void 0===A?void 0:A.find((function(e){return e.id===t})))}};return(0,e.useEffect)((function(){var e;A&&1===(null===A||void 0===A?void 0:A.length)&&b.setLocation(null===h||void 0===h||null===(e=h.clinic)||void 0===e?void 0:e.mainLocation);localStorage.getItem("aestheti_location")&&b.setLocation(null===A||void 0===A?void 0:A.find((function(e){return e.id===parseInt(localStorage.getItem("aestheti_location"))})))}),[A,null===h||void 0===h||null===(r=h.clinic)||void 0===r?void 0:r.mainLocation]),(0,Kl.jsxs)("header",{className:qu,children:[(0,Kl.jsxs)("div",{className:Iu,children:[!window.location.pathname.includes("calendar")&&(0,Kl.jsx)(Sd,{}),window.location.pathname.includes("calendar")&&window.innerWidth>565&&(0,Kl.jsx)(Td,{style:{marginLeft:10},color:"#E2A163"}),!!o&&window.innerWidth>1260&&(0,Kl.jsx)(o,{color:"primary"}),(0,Kl.jsxs)("div",{style:{position:"relative"},children:[(0,Kl.jsx)(kl.Z,{variant:"h6",children:i}),["/financial/receipts","/settings","/settings/invoice-settings"].includes(window.location.pathname)?(0,Kl.jsx)("div",{className:"headerBadge",children:(0,Kl.jsx)(up,{})}):null]})]}),l,(0,Kl.jsxs)("div",{className:Pu,children:[s&&(0,Kl.jsx)(Yu,{value:null===f||void 0===f?void 0:f.value,setValue:null===f||void 0===f?void 0:f.setValue,label:"Search"}),p&&(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",onClick:p.onClick,style:{marginLeft:10},startIcon:p.icon,disabled:p.disabled,children:null===p||void 0===p?void 0:p.label}),(null===A||void 0===A?void 0:A.length)>0&&window.location.pathname.includes("calendar")&&window.innerWidth>766&&(0,Kl.jsxs)(Wu.Z,{select:!0,size:"small",variant:"outlined",name:"location",onChange:m,label:"Location",value:b.id,disabled:1===(null===A||void 0===A?void 0:A.length),style:{width:"100%",maxWidth:.3*window.innerWidth+"px",borderRadius:"5px",marginRight:"15px",borderRadius:5},SelectProps:{renderValue:function(e){var t=A.find((function(t){return t.id===e}));return(0,Kl.jsx)("div",{style:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:t?t.address:"All locations"})},style:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}},children:[(0,Kl.jsx)(xd.Z,{value:0,children:"All locations"},"location+all"),null===A||void 0===A?void 0:A.map((function(e,t){return(0,Kl.jsx)(xd.Z,{value:e.id,children:null===e||void 0===e?void 0:e.address},"location+".concat(e.id,"_").concat(t))}))]}),window.location.pathname.includes("calendar")&&window.innerWidth<=1260&&(0,Kl.jsx)(lp,{children:(0,Kl.jsxs)(Kl.Fragment,{children:[(null===A||void 0===A?void 0:A.length)>0&&window.location.pathname.includes("calendar")&&window.innerWidth<=766&&(0,Kl.jsxs)(Wu.Z,{select:!0,size:"small",variant:"outlined",name:"location",onChange:m,label:"Location",value:b.id,disabled:1===(null===A||void 0===A?void 0:A.length),style:{width:"100%",maxWidth:.68*window.innerWidth+"px",borderRadius:"5px"},SelectProps:{renderValue:function(e){var t=A.find((function(t){return t.id===e}));return(0,Kl.jsx)("div",{style:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:t?t.address:"All locations"})},style:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}},children:[(0,Kl.jsx)(xd.Z,{value:0,children:"All locations"},"location+all"),null===A||void 0===A?void 0:A.map((function(e,t){return(0,Kl.jsx)(xd.Z,{value:e.id,style:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"270px",display:"block"},children:null===e||void 0===e?void 0:e.address},"location+".concat(e.id,"_").concat(t))}))]}),window.location.pathname.includes("calendar")&&(0,Kl.jsxs)(wd.Z,{onClick:function(){u()},style:{justifyContent:"start"},children:[d?(0,Kl.jsx)(_d,{}):(0,Kl.jsx)(md,{}),(0,Kl.jsx)("span",{style:{marginLeft:15,fontSize:18},children:"Private mode"})]}),!!c&&(0,Kl.jsxs)(wd.Z,{onClick:c,style:{justifyContent:"start"},children:[(0,Kl.jsx)(rd,{}),(0,Kl.jsx)("span",{style:{marginLeft:15,fontSize:18},children:"Add patient"})]}),!!a&&(0,Kl.jsxs)(wd.Z,{onClick:a,style:{justifyContent:"start"},children:[(0,Kl.jsx)(ud,{}),(0,Kl.jsx)("span",{style:{marginLeft:15,fontSize:18},children:"Add an appointment"})]})]})}),window.innerWidth>1260&&(0,Kl.jsxs)(Kl.Fragment,{children:[window.location.pathname.includes("calendar")&&(0,Kl.jsx)(wd.Z,{onClick:function(){u()},children:d?(0,Kl.jsx)(_d,{}):(0,Kl.jsx)(md,{})}),!!c&&(0,Kl.jsx)(wd.Z,{onClick:c,children:(0,Kl.jsx)(rd,{})}),!!a&&(0,Kl.jsx)(wd.Z,{onClick:a,children:(0,Kl.jsx)(ud,{})})]}),window.innerWidth<=1260&&window.location.pathname.includes("patients")&&(0,Kl.jsx)(Kl.Fragment,{children:!!c&&(0,Kl.jsx)(wd.Z,{onClick:c,children:(0,Kl.jsx)(rd,{})})})]})]})})),pp=dp,fp=["title","titleId"];function hp(){return hp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},hp.apply(this,arguments)}function bp(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Ap(t,n){var r=t.title,o=t.titleId,i=bp(t,fp);return e.createElement("svg",hp({width:4,height:15,viewBox:"0 0 4 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,tp||(tp=e.createElement("g",{id:"Group 2"},e.createElement("rect",{id:"Rectangle 4",width:3.62071,height:3.62071,fill:"#757575"}),e.createElement("rect",{id:"Rectangle 5",y:5.6897,width:3.62071,height:3.62071,fill:"#757575"}),e.createElement("rect",{id:"Rectangle 6",y:11.3794,width:3.62071,height:3.62071,fill:"#757575"}))))}var mp,gp=e.forwardRef(Ap),vp=(__webpack_require__.p,["title","titleId"]);function yp(){return yp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yp.apply(this,arguments)}function Mp(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Op(t,n){var r=t.title,o=t.titleId,i=Mp(t,vp);return e.createElement("svg",yp({width:22,height:15,viewBox:"0 0 22 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,mp||(mp=e.createElement("g",{id:"Group 2"},e.createElement("rect",{id:"Rectangle 4",width:22,height:3.62071,fill:"#757575"}),e.createElement("rect",{id:"Rectangle 5",y:5.6897,width:22,height:3.62071,fill:"#757575"}),e.createElement("rect",{id:"Rectangle 6",y:11.3794,width:22,height:3.62071,fill:"#757575"}))))}var _p=e.forwardRef(Op),zp=(__webpack_require__.p,"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMoAAAAgCAYAAABTuudMAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABVUSURBVHgB7VwJfFTVuf/OuffOPpkEwhIIKYEQIARxr1o3WvrAgFRlabHSam1LtaitRVFZYlhEntT2UbsovFZF/WmoiKwqtVC1VKwgsoQtEJKGsmSfyczcufeec953ZzKTSTJJBuRZS+evmbn3bPc7537f+bYzAKSQQgrdgpxN4+LiYnodffNrQqaTqSzZFYuNyYokyYqNKHZbGXU6V42a9HI1pJDCBYakBaW0uMDiBulhKlEDhNgvKfJIWbG6rHYrk+3WOovdetBmc0+gNuWlIUXPfwgppHABgSbbMJ1KPxBALVwwJiRyI4CyVub0GcOQV1AhHQQh30mJvE6WLD8q/8s9AyCFFC4gyMk0+mDpV9wBPVAoc7FeCHoFS/M/Nub+T0NxTar2rZteRiXysM2h/JEQ5RYs+xWkkMIFgqQ0SkDXh0oSPQ4W6VoipBVF95eH2rcpnLiqSrJYjzMODslmuwhSSOECQlKCgj6IR1IsDRaLkq70Dnk7a1fXwI/KiiVLEEmCFFK4gJCU6WWlBHnfQdA/ybRaPPd/8uIQK5Utfzv0BmyZuno1i7Yrq6oXOYN7UirLAv59QSB9eA6APhA4DUBvvgfKO2rQFM4PPn72MqX2dCCfM6k/EZzpxH7k5sd3/oMQOGseKi2dIll3HxiB/NpbIM/i/ye2w97DJSXAu+yHgaoMLg3VBOsvS9QbaJLLbv3l7sb4NklFvT58duxoSskQbhiGYrWekG0WYrVYcmWb/Uo7t/y4/8TnAma713417ZZxo4flCioXphfMuRvON9yDbwEJXgHOV4K34gEs6XwxnQP7giTtAkJ6dtpGacyE2lpf7N6efyVY2dO4rJfjypzC4e24RBasWQz9rcuhrEwLt8sYehFw9nfoDkIsBe/R+eHrPhc5QfXvB8ZXQHPF4i77pQ/eg31fhqZjS9vVSODJC3TxwEbQyGUQLI+E6D2DDyP9X4IuaeS7oTe9PrYZeAatxD4joOno1fHN3po/YjQT8Fb77sjPQTRMqoSA7QR4afOhEX+J3zw7w8Z5I0dSwh5Cn3cSEuFoN2g5voOV1M5fHDfnwMnuxnp77tBcg8izkJlxLOjTZnpC+JC2F4hdLBs/90BlfN32n2bbG11pDyH992DLvq2PB50L8nsZ9KVjFx2qMMu60igkyoU7ZRlkWQpwK+ZLJDpFsthPSTZloNXheoNLYDrur5jt0EcBxSqDwUwCW4XwXHaHhJDIXTiwDUecDO78BeA7XNtlewIKUvIU6GRNwvqm2lamsw3KQSFZC1wcQyG4BGRyEgzJAlTcjgMtgeqQKSTLw20b2CFwQCsjScYAoNILSNvTYNANrQ8w2r5kIhSgtHtzV2C7Ts1iYQFuPARM+XPHOkNAT1YH0UwW028Fji8lCkWsBEGqwYDH42gyUEi01uGJhOvWgS/QnCAIS8dnmmViJL7jkQTI3a5hZaVbZg+69+tLjzVBIuqLgW5mBT8VwOcKQdIT7nUC8pCGJ7lKp2+cPWza+KUH90In2PRYwU0GoS8gi/VKVI80u5G2mRAik9bPKbz95sX7tkXrGl2e/8avme1pwDuFEDGDgTy6dPagK6fiXGILYiYTvwJrx6AkTJZk2SpbFP1vVgsoCjK/REGi9CUiS1MNlc0a+e2XGyvfnTEbd/Z6i8NRBFFBQc8Eu+ImpVb595esMAwddPw7+YEhC0OXQqFgmcLEquyilWeflHTl9UIGGofTeBKnPwskdh2WvtFtPyb+CYGju7ptZ4E7UUiQPcW3wVsZv/P8EtLyBiCnzITMzD9ENBDuvgFoHTM9tw5X1/yvGgLl3T/rs4IFyyFQmfg58fqmuWp/mzrP4DoA3gSBY+eDxg04YeRBwJ2YDje1gohsvLcbFpsHd+sp1/yiOhjfAevJ26LwPrxaSkzt2IpqQaCKCIFlZAje92gpHwEW+vbG4lE3ji/59HB7AjbPG3k1B/4iCklmtAzHrcOxKpBXdJSSAfjQ7JaqLFni3yudAu9PXQ3snbkXD0HuvJfEaBOm5vgr3vfBPX40icwl3yFZUZBgcXjXMm20q2DNYziRS0GmG6nFetTudten9+lb3+tL2fXZBcPUrKHDZEWxECq5dbOPxe5stjntAgUqtssw1CSGFoIP16wz9mzbVl+xd299w4kT9Sgk/7SnuXbLFvsnzZr6aNmrU6+Cs4Uk7sTJH4MQW4EL8AGq5u+ieCedB+oWhFyDq7URGiuqOlYaq7FBL2h294AUwuh92nbb+IVlE+y091U6C2vXt6N1yGjjG5zume37vF1ccAUXYhFyc1RIDnNGJqgGu7iITL6umcL1gvNLUTMtj/bB6yzUoL8vRTMpfizk2R4cxG+RoTNbHoqmo1iG+fCLdrzX6+odtOxa3QhcjmX3ofl1goJ4xePzzjCFxGyuU20yiWltgaaeGI3zmY79xuFYz8aeT8m31v0wyxHWKG6Qv48FVHD8BDJKpvJrdtndxO2YhLdYwOp0Xy/Lcq5stUOPQFhOUNNI4FN1yHRbY8zKWAh03UBlbB0uEzFLQY2kodnGbUK2WW25Sn/HPbIiv3Sm8vi9ZS/ddrLgjjWVkAyycZF8MBU3sA2gVlaAbfALWPo0eFZdCk3wMZwXhM2dxD6b17EL3MEvg1qRHL3/QRhdss3Arz1vP3XRJNbE1uEKftUsJ4Tej476Ly+fsVOPtsXUwRxcYJd5jab5aWo1Jk6Yd+hQpLbE/DBNwMpNy/MehjPKGRwEC4mEmuYqtzPtO1gXY+A0Tm5DQRkVvRdE/KRoQdmzETMfh9xmllacxo9nNi4avl6raqy55rmTMQ1HuJSLH5G+gtT3ybH/M0wFOv7r58EKifDmcDsgAXeWlctbiwtcmixdJFPpTez2Zc3RsGTM/X9vE+VpPrSkXueaR7EiL/VpERSLTbgkm0BhiDGXqVG4EQKbyxW6csbmU+3WtLr+4+JKjJzNxoar/SF9Apb9GpKBVx6FFBdgFOoH4XsrbAYVluLqmP7ReRIUsgv3l8ngGjACmv+xr20dOvE+OAwpdIqxD+3xby4e/nPB6VdbirLrqoOX4vcO8+b9JSMzfAH+X9H2yKO/vikmJG1h5umOLM9bduSMdTK+94tRYCTk/vEQJygoJEXRfQ3Npp0O2nslIWUJfeH2Tnz4+cBORN1o/LzkZGVo+tbiG180Bf/mhfs/xeJP49tTw+YYgvmRCsluvdZpT0uYTFT9fgj5AmCN8wup1SJQWQBVlFaNgv5uKKSDI82TiF7ocXlJlb+xsdJqt9l0PZR8UpKYAiIOg//I7vD96aNn8HMrznAauPv3hPMBGjBPErgwIvEmRn5+FNZiKZwVdGAfIdfGAhi6gCuj196gQDMIbOY1MrYqBHutq7GGIB9yIjbFFV0cvVi+PM9K4u6pEK+1aLakgaK33gz5RW5MN1z8Lshqtm+eU/DI2jmFHY5gyTbZ5kEv3CfZLdlnvIGEycSQvykcAsPQMLCMSPRNUezC5rALQ1Vb/QRUKRyFxZmR1imBwXrfMUOwPkZIs0Iy6JGXjVbldAwczGhTzvlvcKeZjDHda/Bufaf9JfJTSBs8LWGdMzAWTp6MuL8NJ6sgbRD6KeRJoGQZ+GxPofO7Bd/qCrA3vwenT/vhfICI25CevG5a9e8q8g2yawmkuX/WcWzwAw/cAb6TXUcD/5/gBq1ZJcoppDwrTA6BftE69GMGW2iUTDjNhVLT7YAcdsfF/vqbkVTTtBpY53ELojqjS4TFFXCWGFdyYNfGOSOKCYXZYG6Q4QgpXIHhiSss6EdtnjfiDxig/PnYkr0Hzfay5FTQ1wFwuNNIpjfxJqr61bCSsvVNQ56NKBzN0LkdxTKk6rGphNBHMSNdNqerUwKDwWacOxPo4ENS4Gyqud2Dpr3fplwSe0HQT3CZzNj5+i5GOIrM+UnCmpPOtvF+77EjkJU1HYLOK3DcyWi8TsTXehOozrXgGvwANIc12WcEvhoBrq6bmMGkLgRFiIO4iAc7lqNBivsr/ItQ480iTpePRrMB6PO2hp0ZoxCLjBPqSWI8ivZVq6DET8vX4lJGwAlJKnHeHn1ybEtrqwOnGNASXPCYUJvBBnza9xnjV78+Z/j4SYsPVMoUSANm2dPSe/bQMvMykP51vvYD+pubUNwo+iUDQNPTw2WhgMrBYQU1GKdRQgzNrxCk9ezbKXGqzzeEAynjuqFCt7hMwRza7cgYGyBUXd6mqvF4I6QPeQnfxiPIxL07ZWIm1kHzsd9AsohomL+0/D0AaQPvQKl8Aqe/BsPDN7VJUJ4LBPwRfEcXdtnGM+hAl/XM/wL4zqyFLxg8aX4347x/1HeQKYv5IDaLhP5pVAWIvqoVMvCqocsBZfRLoyCkOpqPc0O/RhVq/aJFeHDnGYlfr8JZoiXQsLJ0ypQ/pA3ZN45J9Htoxt0goklqAiMchPxi+X1502RXZs+DWlC7V7E7Xnc5HDNwLvPbJwjVpibT7kJBscYi3LLMOfH7zVBZLB7O0PTSQp2biu8/eVmOqof6EQZ7DSF2Q3dIb/oKUoK+DCbJPIM6ZrMFNyfUE+X/Nvz+HZx/cPAefxHSB2KmXPoQ9LQvA9T+CVJICM74zagMe0b1CRfGjmidRrQdMldCyHxWZHpF48KMYj3e2VgbHhmZIQS/lbSEitDseS9aZ/ojm+YXoD9EciMlZHLp09mLpj7YNm/TFVA4pP01NeHRp5SuZvicjcj7mzY+OiSXKpYVWBwOSqBZ9/V8t9JDLpy6Wtv72qQPvPVnRmZk92307isurv5r01pv45kG7teF2hCEoM/bmzlQQUmt0VOm6VxHxwW/W6NeGmoUHc2voJ+e2PLDnIYg0t3QAA11QdmAUL4a8N8JOn/GkMQ9GlMf6H464laIpNCycFGyEjahUIOzuQ169XoJamqa4VzhGNoPLKFAWFO1R+Px3ei/HEcahuFdSlASYO3DQ/thiPYxgFgoaX/RwvKj0fqJJYdrN80teBcriiIl4u5NjxaUFi0pK0s0nqTwB0VYU0SGQ4NydXw9WnJvoAP+zZbbfHejZ/HWG/MeHr2to1O/bnZBTqbmrYlPgDoL9i+6ksMg8/qt4oLnMLL5bkRBHDmGdP4WhTkSvRPCyQhYwrZdbe/CV/sHjj9YU37cZvXYP2CqOk42FKeqq2CamYZuEDlE/8R0/VLwRvKLTNUZ7iBE00KtgoL+i5lw5Lq2T+fiBxQjYCqa5FQSjIRCpxlm5QkR0yRGfmsuHHQF05yC8PGYh8Cb/nyn7Tz138BlfAWCHoyq1GyDc4Wsvwpc+iNEj6nEA3cfeGeXB5NS5y6IFxh8WXUSJv2IbHW57ar/csxFoMYXYcZD5mLI5Iva95Es8gKmh09UuJFpsoUM72yaO3Kmovu3jrHl+LfBcdknW7NoSH4Ud/fvmGHh8HAAayS17t34sYKG9S2nEtyHGqww3IbDT4LX16ZvvuHiBTZoPLW3Xhb5PSxO3aA3oEA91WTxvLu1OO/HsegYh2zMkUyNkCsGvPlY4b5vPLHvdOmUAsx3kGtiJhUlp2UiB8OCMnp0CVpC4qnqbffdgNz+DXdGRs+MXn2YYrMLySIhEUzSObNrQdOki5iVKCCoGY0fMl2LjWmgRjETjiePHLGjGdZfR3+FGShoIYPrOh/IBc+GkPT42CWfdB/xoKj6hLBjuGQDwM7OPX8+bCtI+hk0v26HljTTuYFWoNN/C3hyVkFTVVvb+Z1d5gFPjLKwHZBCGEHu+rMLhCyCgX6iXZQOPfCVH72fuQagras1dv6eHRhpWoR75xIwWRBIf0yovK4r9hObWe0JQpx2WRP5qERao0oEyjxO485rF7aNOk5durPprQWjvsU0YwtqgiwzM4j8cpcQ2hQVnEfzMtB2QWFAIekDEbU0SOU1ph87LzwAhZdRWO5oecjVssTf2zSvsAwHyY3XZCiA28cu2nMmFi1AyTRnug0SMFtz2cIxhPBcXddiJ3Q0Q1tPDOnvhPPY4TdmMBSKEDr8PPe6mX/6Hpwr8vKsUMPvwom8CYHKrk+P+g7WYRjXPIg4AUPJaVBf3jbELZFB4B50beK+OR/idFtUNX8GTSu0g+Xl4M7F3dBaiyE8O1rUU/AFLMa3vxKaKw/CFwHUPgLnlEAjYxrPd/QjvDirnMK5QYQPhbZ1Z0Uz8tEL0Ev9Wcm2xHmNj+T9y64ShXUY3l/a4jRjPAkwbyEGREaKnb7CHAf5W5DxbxfNPpQwgDJu/qf7180vuFsRZJUwfdVIfxdej0oQNMRspIgdjh1fUvbWpnkjNuPlTZGnknx8Zn48DajVTnHAYBEk+XsUQ8U5y5GIFngjwaXBX3/OFJC2J0SZFs7Ms8/6mmpgBBJ7CUhsSZI9SnFaY1GwvgbRg5JEMpNJptDcjXtX4iP/mftyoBYiL8F7bCcKyBRsuwj/doHQG8ACHlxw9FnEAvBm/Bw6i9lSDGQyXAtCO9d8VDGDNF5cfQ26BW1Cz7iz38A0giTPwu9ZHatEI9jzrosds+8IH65LF8f0w2Pgzk07mJhochjITB39NwI+ZKvj6J98xA3x/IQnysyDmJ2GqCO/Ddn3vxvmFm5HlWIeb5+OrdNjTzeDypgVJ8j8umR7dtLCnV3SO3FB2eYtCwuvYyF+H3rk3yStByojw2F6AHXAatQ6y24qKauP76s4g9O0ZtscrMMcHUmL66QRIVbLwOZFj9kn9XuU2l2PjBGGyA0FgpfKoYZZfceuSph8e+Lu4bdcM7xHrsFF4ZiHt5//36N8PqComfqBQfvhrueH5nJTi3T7+4oUzg1m9Mk5al821ckA3G50NPCPFT1W3r1pngDmEf4t8vDBqkr6KJQzg/OqmxcfPtFdv9IpILmHDs1jROqNSVHfGdCO3VHS1jJJLlGjGxxtQYLOPDQ2qZ0K1yW5LiK4xjmnZ/XvhX3BwNF8M3fk1L9P9jkg/COv1WCexfrMB05JWFsdOIKXR86mX+REcfjc2aHO2iR1TJ1pvE439AxDD6lWyZLeWTtJGPlqUKuSuPE52MgppPD5ISlB8fr0g4am52ohtjnE9Rnxv16MYkvxZTmo6wZQivrHYN0nE1NI4d8ISZtIFZvu+mYopOeHfP4mg4WGBoLB38shUaeqXlnTYDgQNlMwDL0RMYfX2acX/WqHF1JI4QJB0ofJjttzXu8TPPygoBih8BuvY0zpq5ghcXAhMSB6PYaP/4cD+S5hsCwlJClcaDgrp9s0uT5+fgImJY2bdVXri+aY1TA0jeuMcUOvULm8fGLJzn/JEe8UUkghhRT+xfg/EGcvNFjq5YUAAAAASUVORK5CYII="),xp="header-profile_headerProfile__RxVZC",wp="header-profile_headerProfileName__MY9+z",Cp="header-profile_name__RyM3i",Sp="header-profile_role__Ci0Sr",Ep="header-profile_logout__s2ze4",kp=__webpack_require__(14214),Dp=(0,kp.Z)(e.createElement("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");var Np,Tp=e.forwardRef((function(t,n){var r=t.alt,o=t.children,i=t.classes,a=t.className,s=t.component,l=void 0===s?"div":s,c=t.imgProps,u=t.sizes,d=t.src,p=t.srcSet,f=t.variant,h=void 0===f?"circular":f,b=(0,Uu.Z)(t,["alt","children","classes","className","component","imgProps","sizes","src","srcSet","variant"]),A=null,m=function(t){var n=t.src,r=t.srcSet,o=e.useState(!1),i=o[0],a=o[1];return e.useEffect((function(){if(n||r){a(!1);var e=!0,t=new Image;return t.src=n,t.srcSet=r,t.onload=function(){e&&a("loaded")},t.onerror=function(){e&&a("error")},function(){e=!1}}}),[n,r]),i}({src:d,srcSet:p}),g=d||p,v=g&&"error"!==m;return A=v?e.createElement("img",(0,Fu.Z)({alt:r,src:d,srcSet:p,sizes:u,className:i.img},c)):null!=o?o:g&&r?r[0]:e.createElement(Dp,{className:i.fallback}),e.createElement(l,(0,Fu.Z)({className:(0,Zu.Z)(i.root,i.system,i[h],a,!v&&i.colorDefault),ref:n},b),A)})),jp=(0,Hu.Z)((function(e){return{root:{position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},colorDefault:{color:e.palette.background.default,backgroundColor:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[600]},circle:{},circular:{},rounded:{borderRadius:e.shape.borderRadius},square:{borderRadius:0},img:{width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4},fallback:{width:"75%",height:"75%"}}}),{name:"MuiAvatar"})(Tp),Bp=__webpack_require__(13644),Lp=e.forwardRef((function(t,n){var r=t.animation,o=void 0===r?"pulse":r,i=t.classes,a=t.className,s=t.component,l=void 0===s?"span":s,c=t.height,u=t.variant,d=void 0===u?"text":u,p=t.width,f=(0,Uu.Z)(t,["animation","classes","className","component","height","variant","width"]),h=Boolean(f.children);return e.createElement(l,(0,Fu.Z)({ref:n,className:(0,Zu.Z)(i.root,i[d],a,h&&[i.withChildren,!p&&i.fitContent,!c&&i.heightAuto],!1!==o&&i[o])},f,{style:(0,Fu.Z)({width:p,height:c},f.style)}))})),Rp=(0,Hu.Z)((function(e){return{root:{display:"block",backgroundColor:(0,Bp.Fq)(e.palette.text.primary,"light"===e.palette.type?.11:.13),height:"1.2em"},text:{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 60%",transform:"scale(1, 0.60)",borderRadius:e.shape.borderRadius,"&:empty:before":{content:'"\\00a0"'}},rect:{},circle:{borderRadius:"50%"},pulse:{animation:"$pulse 1.5s ease-in-out 0.5s infinite"},"@keyframes pulse":{"0%":{opacity:1},"50%":{opacity:.4},"100%":{opacity:1}},wave:{position:"relative",overflow:"hidden","&::after":{animation:"$wave 1.6s linear 0.5s infinite",background:"linear-gradient(90deg, transparent, ".concat(e.palette.action.hover,", transparent)"),content:'""',position:"absolute",transform:"translateX(-100%)",bottom:0,left:0,right:0,top:0}},"@keyframes wave":{"0%":{transform:"translateX(-100%)"},"60%":{transform:"translateX(100%)"},"100%":{transform:"translateX(100%)"}},withChildren:{"& > *":{visibility:"hidden"}},fitContent:{maxWidth:"fit-content"},heightAuto:{height:"auto"}}}),{name:"MuiSkeleton"})(Lp),qp=function(){var t,n=(0,e.useContext)(bA),r=function(){var t,n,r,o=(0,e.useContext)(bA);return(null!==(t=o.user)&&void 0!==t&&t.firstName?o.user.firstName:"")+(null!==(n=o.user)&&void 0!==n&&n.lastName?" "+(null===(r=o.user)||void 0===r?void 0:r.lastName):"")}(),o=ju(),i=(0,e.useMemo)((function(){return!(null!==n&&void 0!==n&&n.user)}),[n]);return(0,Kl.jsxs)("div",{className:xp,children:[i?(0,Kl.jsx)(Rp,{variant:"circle",height:40,width:40}):(0,Kl.jsx)(jp,{alt:r,src:null===n||void 0===n||null===(t=n.user)||void 0===t?void 0:t.avatarUrl,children:Xs(r)}),(0,Kl.jsxs)("div",{className:wp,children:[i?(0,Kl.jsx)(Rp,{variant:"text",sx:{fontSize:"14px"},width:120}):(0,Kl.jsx)("span",{className:Cp,children:r}),i?(0,Kl.jsx)(Rp,{variant:"text",sx:{fontSize:"14px"},width:120}):(0,Kl.jsxs)("span",{className:Sp,children:[o," ",(0,Kl.jsx)("span",{className:Ep,onClick:n.logout,children:"(Logout)"})]})]})]})},Pp=__webpack_require__(68809),Ip=__webpack_require__(58167),Wp="navigationLinks_navigationLinks__6c8Wb",Fp="navigationLinks_navigationLink__ZdQ5X",Up="navigationLinks_iconHolder__0KSJZ",Zp="navigationLinks_activeLine__uZtZH",Hp="navigationLinks_titleAndIcon__heFe3",$p="navigationLinks_submenu__Y0Dve",Vp=__webpack_require__(72294),Xp=__webpack_require__(16108),Qp=["title","titleId"];function Yp(){return Yp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Yp.apply(this,arguments)}function Gp(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Kp(t,n){var r=t.title,o=t.titleId,i=Gp(t,Qp);return e.createElement("svg",Yp({width:30,height:30,viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,Np||(Np=e.createElement("g",{id:"Outline Icons"},e.createElement("path",{id:"Vector",d:"M12.409 11H5.59084C4.71361 11 4 10.3132 4 9.46866V5.53118C4 4.68685 4.71361 4 5.59084 4H12.409C13.2864 4 14 4.68685 14 5.53118V9.46866C14 10.3132 13.2864 11 12.409 11ZM5.59084 5.31249C5.4655 5.31249 5.36363 5.41054 5.36363 5.53118V9.46866C5.36363 9.58946 5.4655 9.68751 5.59084 9.68751H12.409C12.5345 9.68751 12.6364 9.58946 12.6364 9.46866V5.53118C12.6364 5.41054 12.5345 5.31249 12.409 5.31249H5.59084Z",fill:"#B57C2A"}),e.createElement("path",{id:"Vector_2",d:"M12.409 26H5.59084C4.71361 26 4 25.2711 4 24.3751V14.6251C4 13.7289 4.71361 13 5.59084 13H12.409C13.2864 13 14 13.7289 14 14.6251V24.3751C14 25.2711 13.2864 26 12.409 26ZM5.59084 14.3929C5.4655 14.3929 5.36363 14.4969 5.36363 14.6251V24.3751C5.36363 24.5031 5.4655 24.6071 5.59084 24.6071H12.409C12.5345 24.6071 12.6364 24.5031 12.6364 24.3751V14.6251C12.6364 14.4969 12.5345 14.3929 12.409 14.3929H5.59084Z",fill:"#B57C2A"}),e.createElement("path",{id:"Vector_3",d:"M24.4092 26H17.591C16.7136 26 16 25.3132 16 24.4688V20.5313C16 19.6868 16.7136 19 17.591 19H24.4092C25.2864 19 26 19.6868 26 20.5313V24.4688C26 25.3132 25.2864 26 24.4092 26ZM17.591 20.3125C17.4655 20.3125 17.3636 20.4105 17.3636 20.5313V24.4688C17.3636 24.5895 17.4655 24.6875 17.591 24.6875H24.4092C24.5345 24.6875 24.6364 24.5895 24.6364 24.4688V20.5313C24.6364 20.4105 24.5345 20.3125 24.4092 20.3125H17.591Z",fill:"#B57C2A"}),e.createElement("path",{id:"Vector_4",d:"M24.4092 17H17.591C16.7136 17 16 16.2711 16 15.3749V5.62494C16 4.7289 16.7136 4 17.591 4H24.4092C25.2864 4 26 4.7289 26 5.62494V15.3749C26 16.2711 25.2864 17 24.4092 17ZM17.591 5.39285C17.4655 5.39285 17.3636 5.49691 17.3636 5.62494V15.3749C17.3636 15.5031 17.4655 15.6071 17.591 15.6071H24.4092C24.5345 15.6071 24.6364 15.5031 24.6364 15.3749V5.62494C24.6364 5.49691 24.5345 5.39285 24.4092 5.39285H17.591Z",fill:"#B57C2A"}))))}var Jp,ef=e.forwardRef(Kp),tf=(__webpack_require__.p,["title","titleId"]);function nf(){return nf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},nf.apply(this,arguments)}function rf(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function of(t,n){var r=t.title,o=t.titleId,i=rf(t,tf);return e.createElement("svg",nf({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,Jp||(Jp=e.createElement("g",{id:"Group 5"},e.createElement("path",{id:"Vector",d:"M18.5935 16.1452H20.2419V20.2661H18.5935V16.1452ZM15.2969 12.0243H16.9452V20.2661H15.2969V12.0243ZM7.87924 20.2661C6.78672 20.2648 5.73932 19.8302 4.96678 19.0577C4.19425 18.2851 3.75967 17.2377 3.75836 16.1452H5.40671C5.40671 16.6343 5.55172 17.1122 5.82341 17.5189C6.0951 17.9255 6.48125 18.2424 6.93305 18.4295C7.38484 18.6166 7.88198 18.6656 8.36161 18.5702C8.84123 18.4748 9.2818 18.2393 9.62759 17.8935C9.97338 17.5478 10.2089 17.1072 10.3043 16.6276C10.3997 16.1479 10.3507 15.6509 10.1636 15.199C9.97643 14.7472 9.65952 14.3611 9.25291 14.0894C8.8463 13.8177 8.36826 13.6727 7.87924 13.6727V12.0243C8.97217 12.0243 10.0203 12.4585 10.7931 13.2313C11.5659 14.0041 12.0001 15.0522 12.0001 16.1452C12.0001 17.2381 11.5659 18.2863 10.7931 19.0591C10.0203 19.8319 8.97217 20.2661 7.87924 20.2661Z",fill:"currentColor"}),e.createElement("path",{id:"Vector_2",d:"M21.8902 0.485764H2.1099C1.67286 0.4862 1.25385 0.660005 0.944822 0.969038C0.63579 1.27807 0.461984 1.69708 0.461548 2.13412V21.9144C0.461984 22.3514 0.63579 22.7704 0.944822 23.0794C1.25385 23.3885 1.67286 23.5623 2.1099 23.5627H21.8902C22.3272 23.5621 22.746 23.3882 23.055 23.0792C23.364 22.7702 23.5379 22.3514 23.5385 21.9144V2.13412C23.5381 1.69708 23.3643 1.27807 23.0553 0.969038C22.7462 0.660005 22.3272 0.4862 21.8902 0.485764ZM21.8902 7.90336H10.3517V2.13412H21.8902V7.90336ZM8.70332 2.13412V7.90336H2.1099V2.13412H8.70332ZM2.1099 21.9144V9.55171H21.8902L21.8918 21.9144H2.1099Z",fill:"currentColor"}))))}var af,sf,lf,cf=e.forwardRef(of),uf=(__webpack_require__.p,["title","titleId"]);function df(){return df=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},df.apply(this,arguments)}function pf(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function ff(t,n){var r=t.title,o=t.titleId,i=pf(t,uf);return e.createElement("svg",df({width:30,height:30,viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,af||(af=e.createElement("path",{d:"M14.7204 25.3784L14.3594 25.5591L3.74998 20.8438V8.46176L14.1211 13.0712C14.201 13.1067 14.2875 13.125 14.375 13.125C14.4625 13.125 14.549 13.1067 14.6289 13.0712L25 8.46176V13.75C25.0016 13.9147 25.0681 14.0722 25.1852 14.1881C25.3022 14.304 25.4603 14.369 25.625 14.369C25.7897 14.369 25.9478 14.304 26.0648 14.1881C26.1818 14.0722 26.2484 13.9147 26.25 13.75V7.50001C26.25 7.37913 26.2149 7.26084 26.149 7.15948C26.0832 7.05812 25.9894 6.97802 25.8789 6.92889L14.6289 1.92891C14.549 1.89345 14.4625 1.87512 14.375 1.87512C14.2875 1.87512 14.201 1.89345 14.1211 1.92891L2.87107 6.92889C2.76063 6.97802 2.66679 7.05812 2.60093 7.15948C2.53507 7.26084 2.50001 7.37913 2.5 7.50001V21.25C2.50002 21.3709 2.53508 21.4891 2.60094 21.5905C2.6668 21.6918 2.76064 21.7719 2.87107 21.821L14.1211 26.8209C14.2053 26.8585 14.2968 26.8769 14.389 26.8748C14.4812 26.8728 14.5718 26.8504 14.6543 26.8092L15.2793 26.4967C15.3532 26.4603 15.4191 26.4096 15.4734 26.3476C15.5276 26.2856 15.5691 26.2135 15.5953 26.1354C15.6216 26.0573 15.6322 25.9748 15.6264 25.8927C15.6207 25.8105 15.5988 25.7302 15.562 25.6566C15.5251 25.5829 15.4741 25.5172 15.4118 25.4633C15.3494 25.4094 15.2771 25.3684 15.1989 25.3426C15.1206 25.3167 15.0381 25.3066 14.9559 25.3128C14.8738 25.319 14.7937 25.3413 14.7202 25.3786L14.7204 25.3784ZM14.3747 11.8161L9.95313 9.85079L19.6289 5.55053C19.64 5.54555 19.6493 5.53829 19.6599 5.53296L24.0861 7.50001L14.3747 11.8161ZM14.3747 3.18387L18.1254 4.85075L8.49607 9.13044C8.47128 9.14249 8.44732 9.15619 8.42436 9.17145L4.66404 7.50001L14.3747 3.18387Z",fill:"#B57C2A",stroke:"#B57C2A",strokeWidth:.5})),sf||(sf=e.createElement("path",{d:"M21.25 14.375C20.0139 14.375 18.8055 14.7415 17.7777 15.4283C16.7499 16.115 15.9488 17.0912 15.4757 18.2332C15.0027 19.3752 14.8789 20.6319 15.12 21.8443C15.3612 23.0567 15.9564 24.1703 16.8305 25.0444C17.7046 25.9185 18.8182 26.5138 20.0306 26.7549C21.243 26.9961 22.4997 26.8723 23.6417 26.3993C24.7838 25.9262 25.7599 25.1252 26.4467 24.0974C27.1334 23.0695 27.5 21.8612 27.5 20.625C27.4981 18.968 26.8391 17.3794 25.6674 16.2076C24.4957 15.0359 22.9071 14.3769 21.25 14.375ZM21.25 25.625C20.2611 25.625 19.2944 25.3318 18.4722 24.7824C17.6499 24.2329 17.0091 23.4521 16.6306 22.5384C16.2522 21.6248 16.1532 20.6195 16.3461 19.6496C16.539 18.6797 17.0152 17.7888 17.7145 17.0895C18.4138 16.3902 19.3047 15.914 20.2746 15.7211C21.2445 15.5282 22.2498 15.6272 23.1634 16.0056C24.0771 16.3841 24.8579 17.0249 25.4074 17.8472C25.9568 18.6694 26.25 19.6361 26.25 20.625C26.2485 21.9506 25.7212 23.2215 24.7839 24.1589C23.8465 25.0962 22.5756 25.6235 21.25 25.625Z",fill:"#B57C2A",stroke:"#B57C2A",strokeWidth:.5})),lf||(lf=e.createElement("path",{d:"M23.3081 18.9331L20.625 21.6162L19.5044 20.4956C19.4466 20.4364 19.3776 20.3894 19.3015 20.3571C19.2254 20.3248 19.1437 20.3079 19.061 20.3074C18.9783 20.3069 18.8964 20.3229 18.8199 20.3543C18.7434 20.3857 18.6739 20.432 18.6155 20.4904C18.557 20.5489 18.5107 20.6184 18.4793 20.6949C18.4479 20.7713 18.432 20.8533 18.4324 20.936C18.4329 21.0186 18.4498 21.1004 18.4821 21.1765C18.5144 21.2526 18.5615 21.3216 18.6206 21.3793L20.1831 22.9419C20.2411 22.9999 20.31 23.046 20.3859 23.0774C20.4617 23.1088 20.5429 23.125 20.625 23.125C20.7071 23.125 20.7883 23.1088 20.8642 23.0774C20.94 23.046 21.0089 22.9999 21.0669 22.9419L24.1919 19.8169C24.3068 19.6992 24.3708 19.541 24.3698 19.3765C24.3689 19.212 24.3031 19.0545 24.1868 18.9382C24.0705 18.8219 23.913 18.7561 23.7485 18.7551C23.584 18.7542 23.4258 18.8181 23.3081 18.9331V18.9331Z",fill:"#B57C2A",stroke:"#B57C2A",strokeWidth:.5})))}var hf,bf=e.forwardRef(ff),Af=(__webpack_require__.p,["title","titleId"]);function mf(){return mf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mf.apply(this,arguments)}function gf(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function vf(t,n){var r=t.title,o=t.titleId,i=gf(t,Af);return e.createElement("svg",mf({width:30,height:30,viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,hf||(hf=e.createElement("path",{d:"M17.75 24.8175L13.075 20.1425L14.615 18.6025L17.75 21.7375L23.965 15.5225L25.505 17.0625L17.75 24.8175ZM23.8 13.9H21.6V8.4H19.4V11.7H8.4V8.4H6.2V23.8H12.8V26H6.2C5.595 26 5.07708 25.7846 4.64625 25.3538C4.21542 24.9229 4 24.405 4 23.8V8.4C4 7.795 4.21542 7.27708 4.64625 6.84625C5.07708 6.41542 5.595 6.2 6.2 6.2H10.7925C10.9942 5.55833 11.3883 5.03125 11.975 4.61875C12.5617 4.20625 13.2033 4 13.9 4C14.6333 4 15.2888 4.20625 15.8663 4.61875C16.4438 5.03125 16.8333 5.55833 17.035 6.2H21.6C22.205 6.2 22.7229 6.41542 23.1538 6.84625C23.5846 7.27708 23.8 7.795 23.8 8.4V13.9ZM13.9 8.4C14.2117 8.4 14.4729 8.29458 14.6838 8.08375C14.8946 7.87292 15 7.61167 15 7.3C15 6.98833 14.8946 6.72708 14.6838 6.51625C14.4729 6.30542 14.2117 6.2 13.9 6.2C13.5883 6.2 13.3271 6.30542 13.1163 6.51625C12.9054 6.72708 12.8 6.98833 12.8 7.3C12.8 7.61167 12.9054 7.87292 13.1163 8.08375C13.3271 8.29458 13.5883 8.4 13.9 8.4Z",fill:"#B57C2A"})))}var yf,Mf,Of=e.forwardRef(vf),_f=(__webpack_require__.p,["title","titleId"]);function zf(){return zf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zf.apply(this,arguments)}function xf(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function wf(t,n){var r=t.title,o=t.titleId,i=xf(t,_f);return e.createElement("svg",zf({width:30,height:30,viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,yf||(yf=e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.9275 3C4.57982 3 4.27515 3.2327 4.18367 3.56814L3.02717 7.80865C3.00914 7.87476 3 7.94296 3 8.0115C3 9.03905 3.4467 9.96228 4.1565 10.5975V22.275C4.1565 24.404 5.88244 26.13 8.0115 26.13H14.565C14.9908 26.13 15.336 25.7848 15.336 25.359C15.336 24.9332 14.9908 24.588 14.565 24.588H8.0115C6.73407 24.588 5.6985 23.5524 5.6985 22.275V11.395C5.94646 11.4513 6.20451 11.481 6.4695 11.481C7.55942 11.481 8.53192 10.9784 9.168 10.1924C9.80407 10.9784 10.7766 11.481 11.8665 11.481C12.9564 11.481 13.9289 10.9784 14.565 10.1924C15.2011 10.9784 16.1736 11.481 17.2635 11.481C18.3534 11.481 19.3259 10.9784 19.962 10.1924C20.5981 10.9784 21.5706 11.481 22.6605 11.481C22.9255 11.481 23.1835 11.4513 23.4315 11.395V15.1432C23.4315 15.5691 23.7767 15.9142 24.2025 15.9142C24.6283 15.9142 24.9735 15.5691 24.9735 15.1432V10.5975C25.6833 9.96228 26.13 9.03905 26.13 8.0115C26.13 7.94296 26.1209 7.87476 26.1028 7.80865L24.9463 3.56814C24.8548 3.2327 24.5502 3 24.2025 3H4.9275ZM11.8665 9.939C10.802 9.939 9.939 9.07602 9.939 8.0115C9.939 7.58568 9.59382 7.2405 9.168 7.2405C8.74218 7.2405 8.397 7.58568 8.397 8.0115C8.397 9.07602 7.53402 9.939 6.4695 9.939C5.43677 9.939 4.59374 9.12683 4.54429 8.10633L5.51639 4.542H23.6136L24.5857 8.10633C24.5363 9.12683 23.6932 9.939 22.6605 9.939C21.596 9.939 20.733 9.07602 20.733 8.0115C20.733 7.58568 20.3878 7.2405 19.962 7.2405C19.5362 7.2405 19.191 7.58568 19.191 8.0115C19.191 9.07602 18.328 9.939 17.2635 9.939C16.199 9.939 15.336 9.07602 15.336 8.0115C15.336 7.58568 14.9908 7.2405 14.565 7.2405C14.1392 7.2405 13.794 7.58568 13.794 8.0115C13.794 9.07602 12.931 9.939 11.8665 9.939Z",fill:"#B57C2A"})),Mf||(Mf=e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24.2027 18.8055C24.2027 19.6096 23.8949 20.3419 23.3907 20.8909C25.0166 21.7193 26.1302 23.4091 26.1302 25.359C26.1302 25.7848 25.785 26.13 25.3592 26.13C24.9334 26.13 24.5882 25.7848 24.5882 25.359C24.5882 23.4428 23.0348 21.8895 21.1187 21.8895C19.2025 21.8895 17.6492 23.4428 17.6492 25.359C17.6492 25.7848 17.304 26.13 16.8782 26.13C16.4524 26.13 16.1072 25.7848 16.1072 25.359C16.1072 23.4091 17.2208 21.7193 18.8467 20.8909C18.3425 20.3419 18.0347 19.6096 18.0347 18.8055C18.0347 17.1022 19.4154 15.7215 21.1187 15.7215C22.8219 15.7215 24.2027 17.1022 24.2027 18.8055ZM19.5767 18.8055C19.5767 17.9539 20.2671 17.2635 21.1187 17.2635C21.9703 17.2635 22.6607 17.9539 22.6607 18.8055C22.6607 19.6571 21.9703 20.3475 21.1187 20.3475C20.2671 20.3475 19.5767 19.6571 19.5767 18.8055Z",fill:"#B57C2A"})))}var Cf,Sf,Ef,kf=e.forwardRef(wf),Df=(__webpack_require__.p,["title","titleId"]);function Nf(){return Nf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Nf.apply(this,arguments)}function Tf(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function jf(t,n){var r=t.title,o=t.titleId,i=Tf(t,Df);return e.createElement("svg",Nf({width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,Cf||(Cf=e.createElement("path",{d:"M24.75 12.5C27.6495 12.5 30 10.1495 30 7.25C30 4.35051 27.6495 2 24.75 2C21.8505 2 19.5 4.35051 19.5 7.25C19.5 10.1495 21.8505 12.5 24.75 12.5Z",stroke:"#B57C2A",strokeWidth:2.2,strokeLinecap:"round",strokeLinejoin:"round"})),Sf||(Sf=e.createElement("path",{d:"M7.25 30C10.1495 30 12.5 27.6495 12.5 24.75C12.5 21.8505 10.1495 19.5 7.25 19.5C4.35051 19.5 2 21.8505 2 24.75C2 27.6495 4.35051 30 7.25 30Z",stroke:"#B57C2A",strokeWidth:2.2,strokeLinecap:"round",strokeLinejoin:"round"})),Ef||(Ef=e.createElement("path",{d:"M19.5 19.5H30V28.25C30 28.7141 29.8156 29.1592 29.4874 29.4874C29.1592 29.8156 28.7141 30 28.25 30H21.25C20.7859 30 20.3408 29.8156 20.0126 29.4874C19.6844 29.1592 19.5 28.7141 19.5 28.25V19.5ZM2 2H12.5V10.75C12.5 11.2141 12.3156 11.6592 11.9874 11.9874C11.6592 12.3156 11.2141 12.5 10.75 12.5H3.75C3.28587 12.5 2.84075 12.3156 2.51256 11.9874C2.18437 11.6592 2 11.2141 2 10.75V2Z",stroke:"#B57C2A",strokeWidth:2.2,strokeLinecap:"round",strokeLinejoin:"round"})))}var Bf,Lf,Rf=e.forwardRef(jf),qf=(__webpack_require__.p,["title","titleId"]);function Pf(){return Pf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Pf.apply(this,arguments)}function If(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Wf(t,n){var r=t.title,o=t.titleId,i=If(t,qf);return e.createElement("svg",Pf({width:30,height:30,viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,e.createElement("mask",{id:"mask0_1524_83632",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:2,y:2,width:26,height:26},Bf||(Bf=e.createElement("path",{d:"M2 2H28V28H2V2Z",fill:"white"}))),Lf||(Lf=e.createElement("g",{mask:"url(#mask0_1524_83632)"},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.6484 27.8562C20.847 27.9994 21.1023 28.0383 21.3346 27.9609L27.4284 25.9297C27.7394 25.826 27.9492 25.5349 27.9492 25.207V16.0156C27.9492 15.7708 27.8315 15.5408 27.6329 15.3977C27.4343 15.2545 27.1789 15.2156 26.9466 15.293L20.8529 17.3242C20.5418 17.4279 20.332 17.719 20.332 18.0469V27.2383C20.332 27.4831 20.4497 27.713 20.6484 27.8562ZM21.8555 26.1814V18.5959L26.4258 17.0724V24.658L21.8555 26.1814Z",fill:"#B57C2A"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.5391 27.8562C21.7378 27.713 21.8555 27.4831 21.8555 27.2383V18.0469C21.8555 17.719 21.6457 17.4279 21.3346 17.3242L15.2409 15.293C15.0086 15.2156 14.7532 15.2545 14.5546 15.3977C14.356 15.5408 14.2383 15.7708 14.2383 16.0156V25.207C14.2383 25.5349 14.4481 25.826 14.7591 25.9297L20.8529 27.9609C21.0852 28.0383 21.3405 27.9994 21.5391 27.8562ZM15.7617 24.658V17.0724L20.332 18.5959V26.1814L15.7617 24.658Z",fill:"#B57C2A"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.8529 18.7695C21.0092 18.8216 21.1783 18.8216 21.3346 18.7695L27.4284 16.7383C27.7394 16.6346 27.9492 16.3435 27.9492 16.0156C27.9492 15.6878 27.7394 15.3967 27.4284 15.293L21.3346 13.2617C21.1783 13.2096 21.0092 13.2096 20.8529 13.2617L14.7591 15.293C14.4481 15.3967 14.2383 15.6878 14.2383 16.0156C14.2383 16.3435 14.4481 16.6346 14.7591 16.7383L20.8529 18.7695ZM17.4088 16.0156L21.0938 14.7873L24.7787 16.0156L21.0938 17.244L17.4088 16.0156Z",fill:"#B57C2A"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.46087 27.8562C8.6595 27.9994 8.91484 28.0383 9.14713 27.9609L15.2409 25.9297C15.5519 25.826 15.7617 25.5349 15.7617 25.207V16.0156C15.7617 15.7708 15.644 15.5408 15.4454 15.3977C15.2468 15.2545 14.9914 15.2156 14.7591 15.293L8.66537 17.3242C8.35433 17.4279 8.14453 17.719 8.14453 18.0469V27.2383C8.14453 27.4831 8.26223 27.713 8.46087 27.8562ZM9.66797 26.1814V18.5959L14.2383 17.0724V24.658L9.66797 26.1814Z",fill:"#B57C2A"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.35164 27.8562C9.55027 27.713 9.66797 27.4831 9.66797 27.2383V18.0469C9.66797 17.719 9.45817 17.4279 9.14713 17.3242L3.05338 15.293C2.82109 15.2156 2.56575 15.2545 2.36712 15.3977C2.16848 15.5408 2.05078 15.7708 2.05078 16.0156V25.207C2.05078 25.5349 2.26058 25.826 2.57162 25.9297L8.66537 27.9609C8.89766 28.0383 9.153 27.9994 9.35164 27.8562ZM3.57422 24.658V17.0724L8.14453 18.5959V26.1814L3.57422 24.658Z",fill:"#B57C2A"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.66537 18.7695C8.82173 18.8216 8.99077 18.8216 9.14713 18.7695L15.2409 16.7383C15.5519 16.6346 15.7617 16.3435 15.7617 16.0156C15.7617 15.6878 15.5519 15.3967 15.2409 15.293L9.14713 13.2617C8.99077 13.2096 8.82173 13.2096 8.66537 13.2617L2.57162 15.293C2.26058 15.3967 2.05078 15.6878 2.05078 16.0156C2.05078 16.3435 2.26058 16.6346 2.57162 16.7383L8.66537 18.7695ZM5.22127 16.0156L8.90625 14.7873L12.5912 16.0156L8.90625 17.244L5.22127 16.0156Z",fill:"#B57C2A"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.5546 16.6336C14.7532 16.7767 15.0086 16.8157 15.2409 16.7382L21.3346 14.707C21.6457 14.6033 21.8555 14.3122 21.8555 13.9844V4.79296C21.8555 4.54811 21.7378 4.31819 21.5391 4.17502C21.3405 4.03186 21.0852 3.9929 20.8529 4.07033L14.7591 6.10158C14.4481 6.20526 14.2383 6.49635 14.2383 6.82421V16.0156C14.2383 16.2605 14.356 16.4904 14.5546 16.6336ZM15.7617 14.9588V7.37323L20.332 5.84979V13.4354L15.7617 14.9588Z",fill:"#B57C2A"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.4454 16.6336C15.644 16.4904 15.7617 16.2605 15.7617 16.0156V6.82421C15.7617 6.49635 15.5519 6.20526 15.2409 6.10158L9.14713 4.07033C8.91484 3.9929 8.6595 4.03186 8.46087 4.17502C8.26223 4.31819 8.14453 4.54811 8.14453 4.79296V13.9844C8.14453 14.3122 8.35433 14.6033 8.66537 14.707L14.7591 16.7382C14.9914 16.8157 15.2468 16.7767 15.4454 16.6336ZM9.66797 13.4354V5.84979L14.2383 7.37323V14.9588L9.66797 13.4354Z",fill:"#B57C2A"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.7591 7.54685C14.9155 7.59897 15.0845 7.59897 15.2409 7.54685L21.3346 5.5156C21.6457 5.41192 21.8555 5.12084 21.8555 4.79297C21.8555 4.4651 21.6457 4.17402 21.3346 4.07034L15.2409 2.03909C15.0845 1.98697 14.9155 1.98697 14.7591 2.03909L8.66537 4.07034C8.35433 4.17402 8.14453 4.4651 8.14453 4.79297C8.14453 5.12084 8.35433 5.41192 8.66537 5.5156L14.7591 7.54685ZM11.315 4.79297L15 3.56464L18.685 4.79297L15 6.0213L11.315 4.79297Z",fill:"#B57C2A"}))))}var Ff,Uf=e.forwardRef(Wf),Zf=(__webpack_require__.p,["title","titleId"]);function Hf(){return Hf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Hf.apply(this,arguments)}function $f(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Vf(t,n){var r=t.title,o=t.titleId,i=$f(t,Zf);return e.createElement("svg",Hf({width:19,height:19,viewBox:"0 0 19 19",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,Ff||(Ff=e.createElement("path",{id:"Vector",fillRule:"evenodd",clipRule:"evenodd",d:"M18.6268 16.0254C19.1244 11.3443 19.1244 6.62528 18.6268 1.94417C18.449 0.27487 16.4828 -0.571273 15.1061 0.430307L10.5173 3.76891C9.11866 4.78677 7.42211 5.33643 5.67918 5.3364H1.39799C0.626298 5.3364 0 5.94939 0 6.70468V11.2649C0 12.0202 0.626298 12.6332 1.39799 12.6332H2.09586L1.15082 16.0867C1.09978 16.2732 1.11755 16.4714 1.201 16.6464C1.28446 16.8213 1.42826 16.9619 1.60713 17.0434L5.7228 18.9229C5.83387 18.9736 5.95496 19 6.07754 19C6.20013 19 6.32123 18.9738 6.43233 18.9231C6.54342 18.8723 6.64181 18.7984 6.72057 18.7065C6.79932 18.6145 6.85653 18.5068 6.88816 18.3909L8.30069 13.233C8.31507 13.1793 8.32406 13.1243 8.32753 13.0688C9.11276 13.334 9.85169 13.7158 10.5185 14.2007L15.1072 17.5393C16.4828 18.5408 18.4512 17.6947 18.6279 16.0254H18.6268ZM16.9581 2.11274C17.4435 6.68142 17.4435 11.287 16.9581 15.8557C16.9483 15.9475 16.9138 16.0351 16.8582 16.1096C16.8026 16.1841 16.7279 16.2429 16.6416 16.28C16.5553 16.3171 16.4605 16.3312 16.3668 16.3209C16.2731 16.3106 16.1839 16.2763 16.1082 16.2213L11.5172 12.8827C9.8294 11.6546 7.78229 10.9914 5.67918 10.9912H1.67758V6.97834H5.68142C7.78453 6.97821 9.83164 6.31495 11.5194 5.08683L16.1082 1.74823C16.1839 1.6933 16.2731 1.65893 16.3668 1.64863C16.4605 1.63833 16.5553 1.65246 16.6416 1.68958C16.7279 1.7267 16.8026 1.78549 16.8582 1.86C16.9138 1.93451 16.9483 2.02099 16.9581 2.11274ZM6.71705 12.6977C6.37286 12.6545 6.02619 12.6329 5.67918 12.6332H3.8316L2.95255 15.8481L5.52484 17.0226L6.67902 12.8083C6.68909 12.771 6.70179 12.7333 6.71705 12.6977Z"})))}var Xf,Qf=e.forwardRef(Vf),Yf=(__webpack_require__.p,["title","titleId"]);function Gf(){return Gf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Gf.apply(this,arguments)}function Kf(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Jf(t,n){var r=t.title,o=t.titleId,i=Kf(t,Yf);return e.createElement("svg",Gf({width:26,height:28,viewBox:"0 0 26 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,Xf||(Xf=e.createElement("g",{id:"Vector"},e.createElement("path",{d:"M9.82524 4.62368C8.95524 4.67368 8.14524 5.04368 7.56524 5.67368C6.98524 6.29368 6.68524 7.12368 6.72524 7.95368C6.77524 8.79368 7.15524 9.57368 7.80524 10.1337C8.45524 10.6937 9.30524 10.9837 10.1652 10.9337C11.0352 10.8837 11.8452 10.5137 12.4252 9.88368C13.0052 9.26368 13.3052 8.43368 13.2652 7.60368C13.2152 6.76368 12.8352 5.98368 12.1852 5.42368C11.5352 4.86368 10.6852 4.57368 9.82524 4.62368ZM8.35524 7.86368C8.33524 7.44368 8.48524 7.03368 8.77524 6.72368C9.06524 6.41368 9.47524 6.22368 9.90524 6.20368C10.3352 6.18368 10.7652 6.32368 11.0852 6.60368C11.4052 6.88368 11.6052 7.27368 11.6252 7.69368C11.6452 8.11368 11.4952 8.52368 11.2052 8.83368C10.9152 9.14368 10.5052 9.33368 10.0752 9.35368C9.64524 9.37368 9.21524 9.23368 8.89524 8.95368C8.57524 8.67368 8.37524 8.28368 8.35524 7.86368ZM4.98524 21.4937C4.76524 21.5037 4.56524 21.6037 4.41524 21.7537C4.26524 21.9137 4.19524 22.1137 4.20524 22.3237C4.21524 22.5337 4.31524 22.7337 4.47524 22.8637C4.63524 23.0037 4.84524 23.0737 5.06524 23.0637L16.5152 22.4437C16.7352 22.4337 16.9352 22.3337 17.0852 22.1837C17.2352 22.0237 17.3052 21.8237 17.2952 21.6137C17.2852 21.4037 17.1852 21.2037 17.0252 21.0737C16.8652 20.9337 16.6552 20.8637 16.4352 20.8737L4.98524 21.4937ZM0.00523887 5.15368C-0.0447611 4.31368 0.265239 3.49368 0.845239 2.87368C1.42524 2.25368 2.24524 1.87368 3.10524 1.82368L16.1952 1.12368C17.0652 1.07368 17.9152 1.36368 18.5552 1.92368C19.2052 2.48368 19.5852 3.26368 19.6352 4.10368L20.6552 23.0337C20.7052 23.8737 20.3952 24.6937 19.8152 25.3137C19.2352 25.9337 18.4152 26.3137 17.5552 26.3637L4.46524 27.0637C3.59524 27.1137 2.74524 26.8237 2.10524 26.2637C1.45524 25.7037 1.07524 24.9237 1.02524 24.0837L0.00523887 5.15368ZM16.2852 2.69368L3.19524 3.39368C2.76524 3.41368 2.35524 3.60368 2.06524 3.91368C1.77524 4.22368 1.62524 4.63368 1.64524 5.05368L2.32524 17.6737L5.59524 17.4937L5.42524 14.3337C5.40524 13.9137 5.55524 13.5037 5.84524 13.1937C6.13524 12.8837 6.54524 12.6937 6.97524 12.6737L13.5152 12.3237C13.9452 12.3037 14.3752 12.4437 14.6952 12.7237C15.0152 13.0037 15.2152 13.3937 15.2352 13.8137L15.4052 16.9737L18.6752 16.7937L17.9952 4.17368C17.9752 3.75368 17.7752 3.36368 17.4552 3.08368C17.1352 2.80368 16.7052 2.66368 16.2752 2.68368L16.2852 2.69368ZM13.6052 13.9137L7.06524 14.2637L7.23524 17.4237L13.7752 17.0737L13.6052 13.9137ZM2.40524 19.2637L2.65524 23.9937C2.67524 24.4137 2.87524 24.8037 3.19524 25.0837C3.51524 25.3637 3.94524 25.5037 4.37524 25.4837L17.4652 24.7837C17.8952 24.7637 18.3052 24.5737 18.5952 24.2637C18.8852 23.9537 19.0352 23.5437 19.0152 23.1237L18.7652 18.3937L2.40524 19.2737V19.2637Z",fill:"#B67D2B"}),e.createElement("path",{d:"M24.9352 3.37368C24.4252 2.69368 23.6452 2.23368 22.7952 2.09368L9.84524 0.0436819C8.98524 -0.0963181 8.11524 0.103682 7.41524 0.593682C6.73524 1.07368 6.27524 1.79368 6.13524 2.59368L7.83524 2.56368C7.94524 2.28368 8.13524 2.04368 8.38524 1.87368C8.73524 1.63368 9.17524 1.53368 9.60524 1.59368L15.0452 2.45368L18.2952 2.40368L18.6152 3.02368L22.5552 3.64368C22.9852 3.71368 23.3652 3.94368 23.6252 4.28368C23.8852 4.62368 23.9852 5.04368 23.9252 5.46368L21.9452 17.9437L19.8452 17.6137L19.9452 19.2337L21.6952 19.5137L20.9552 24.1937C20.8852 24.6037 20.6552 24.9737 20.3052 25.2237C19.9552 25.4637 19.5152 25.5637 19.0852 25.5037L18.2552 25.3737L12.2952 26.0237L18.8352 27.0637C19.6952 27.2037 20.5652 27.0037 21.2652 26.5137C21.9652 26.0237 22.4352 25.2837 22.5652 24.4537L25.5352 5.72368C25.6652 4.89368 25.4552 4.04368 24.9352 3.36368V3.37368Z",fill:"#B67D2B"}))))}var eh,th,nh=e.forwardRef(Jf),rh=(__webpack_require__.p,["title","titleId"]);function oh(){return oh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},oh.apply(this,arguments)}function ih(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function ah(t,n){var r=t.title,o=t.titleId,i=ih(t,rh);return e.createElement("svg",oh({width:20,height:26,viewBox:"0 0 20 26",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,eh||(eh=e.createElement("g",{id:"fontisto:prescription",clipPath:"url(#clip0_20_26)"},e.createElement("path",{id:"Vector",d:"M17.5111 3.08971H14.6478V4.41246H17.5189C18.2467 4.41246 18.8367 4.98771 18.8367 5.69729V23.4C18.8367 24.1107 18.2456 24.686 17.5178 24.686H2.66778C2.49459 24.686 2.32308 24.6527 2.16307 24.5881C2.00305 24.5234 1.85766 24.4287 1.73519 24.3093C1.61272 24.1899 1.51557 24.0482 1.44929 23.8921C1.38301 23.7361 1.3489 23.5689 1.3489 23.4V5.69729C1.3489 4.98662 1.94001 4.41137 2.66778 4.41137H5.5389V3.08971H2.67556C1.96517 3.08999 1.28395 3.36527 0.781627 3.85504C0.279302 4.3448 -0.00303195 5.00899 -0.00332642 5.70162V23.3881C-0.00273759 24.0806 0.279726 24.7445 0.78202 25.234C1.28431 25.7235 1.96536 25.9987 2.67556 25.999H17.51C18.2204 25.9987 18.9016 25.7234 19.4039 25.2336C19.9063 24.7439 20.1886 24.0797 20.1889 23.387V5.70054C20.1886 5.0079 19.9063 4.34372 19.4039 3.85395C18.9016 3.36419 18.2204 3.08891 17.51 3.08862L17.5111 3.08971Z"}),e.createElement("path",{id:"Vector_2",d:"M14.0056 2.41042H12.54C12.54 1.77113 12.2795 1.15804 11.8159 0.705995C11.3523 0.253954 10.7235 0 10.0678 0C9.41212 0 8.7833 0.253954 8.31967 0.705995C7.85604 1.15804 7.59557 1.77113 7.59557 2.41042H6.14001V5.72217H13.9989V2.41042H14.0056ZM8.64113 2.41042V2.37575C8.64113 2.00626 8.79167 1.6519 9.05964 1.39063C9.32761 1.12936 9.69105 0.982583 10.07 0.982583C10.449 0.982583 10.8124 1.12936 11.0804 1.39063C11.3484 1.6519 11.4989 2.00626 11.4989 2.37575V2.41258V2.41042H8.64113Z"}),e.createElement("path",{id:"Vector_3",d:"M9.37306 8.66675C8.51854 8.68011 7.74671 9.15334 7.39755 9.88509L11.5783 11.0576C11.762 10.0398 11.1035 9.05295 10.0438 8.75349C9.85392 8.70002 9.65483 8.67073 9.45575 8.66675H9.37306ZM7.23829 10.3754C7.05146 11.3961 7.70996 12.3858 8.77275 12.6844C9.8386 12.983 10.9749 12.4938 11.4221 11.5468L7.23829 10.3754ZM15.37 11.635C14.5951 11.6378 13.7712 11.9848 13.1495 12.801L9.32711 17.8319C8.30108 19.1799 8.74825 20.5905 9.75897 21.256C10.7728 21.9243 12.3501 21.8475 13.3761 20.4995L17.1954 15.4714C18.2215 14.1206 17.7743 12.7128 16.7636 12.0445C16.3838 11.7942 15.9274 11.6492 15.4466 11.635H15.37ZM15.3149 12.127C15.3547 12.127 15.3945 12.127 15.4313 12.1298C15.8019 12.144 16.151 12.2663 16.445 12.4625C17.2322 12.9801 17.6273 14.0125 16.7421 15.1757L14.7666 17.7778C13.6702 17.5048 12.2613 16.5749 11.6211 15.7018L13.6028 13.0967C14.1204 12.417 14.736 12.1383 15.3149 12.127ZM5.50934 14.294C5.2147 14.2969 4.92404 14.3538 4.6539 14.4647C3.63981 14.877 3.11209 15.9293 3.42144 16.919L7.42512 15.2951C7.02389 14.6666 6.29495 14.2855 5.50934 14.294ZM7.64258 15.7615L3.63951 17.3882C4.20459 18.2812 5.39449 18.6396 6.4144 18.2272C7.43125 17.812 7.95805 16.754 7.64258 15.7615Z"}))),th||(th=e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_20_26"},e.createElement("rect",{width:20,height:26,fill:"white"})))))}var sh,lh=e.forwardRef(ah),ch=(__webpack_require__.p,["title","titleId"]);function uh(){return uh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},uh.apply(this,arguments)}function dh(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function ph(t,n){var r=t.title,o=t.titleId,i=dh(t,ch);return e.createElement("svg",uh({width:30,height:30,viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,sh||(sh=e.createElement("g",{id:"Outline Icons"},e.createElement("path",{id:"Vector",d:"M16.875 12.1875C16.875 11.9389 16.7762 11.7004 16.6004 11.5246C16.4246 11.3488 16.1861 11.25 15.9375 11.25H8.4375C8.18886 11.25 7.9504 11.3488 7.77459 11.5246C7.59877 11.7004 7.5 11.9389 7.5 12.1875C7.5 12.4361 7.59877 12.6746 7.77459 12.8504C7.9504 13.0262 8.18886 13.125 8.4375 13.125H15.9375C16.1861 13.125 16.4246 13.0262 16.6004 12.8504C16.7762 12.6746 16.875 12.4361 16.875 12.1875ZM15.625 15.9375C15.625 15.6889 15.5262 15.4504 15.3504 15.2746C15.1746 15.0988 14.9361 15 14.6875 15H8.4375C8.18886 15 7.9504 15.0988 7.77459 15.2746C7.59877 15.4504 7.5 15.6889 7.5 15.9375C7.5 16.1861 7.59877 16.4246 7.77459 16.6004C7.9504 16.7762 8.18886 16.875 8.4375 16.875H14.6875C14.9361 16.875 15.1746 16.7762 15.3504 16.6004C15.5262 16.4246 15.625 16.1861 15.625 15.9375ZM15.9375 18.75C16.1861 18.75 16.4246 18.8488 16.6004 19.0246C16.7762 19.2004 16.875 19.4389 16.875 19.6875C16.875 19.9361 16.7762 20.1746 16.6004 20.3504C16.4246 20.5262 16.1861 20.625 15.9375 20.625H8.4375C8.18886 20.625 7.9504 20.5262 7.77459 20.3504C7.59877 20.1746 7.5 19.9361 7.5 19.6875C7.5 19.4389 7.59877 19.2004 7.77459 19.0246C7.9504 18.8488 8.18886 18.75 8.4375 18.75H15.9375Z",fill:"currentColor"}),e.createElement("path",{id:"Vector_2",fillRule:"evenodd",clipRule:"evenodd",d:"M7.5 27.1875H23.75C24.6617 27.1875 25.536 26.8253 26.1807 26.1807C26.8253 25.536 27.1875 24.6617 27.1875 23.75V16.875C27.1875 16.6264 27.0887 16.3879 26.9129 16.2121C26.7371 16.0363 26.4986 15.9375 26.25 15.9375H22.1875V6.17875C22.1875 4.4 20.1763 3.365 18.7288 4.39875L18.51 4.555C18.031 4.89503 17.4579 5.07728 16.8705 5.07638C16.283 5.07549 15.7105 4.89149 15.2325 4.55C14.4345 3.98208 13.4794 3.67691 12.5 3.67691C11.5206 3.67691 10.5655 3.98208 9.7675 4.55C9.28953 4.89149 8.71698 5.07549 8.12955 5.07638C7.54212 5.07728 6.96902 4.89503 6.49 4.555L6.27125 4.39875C4.82375 3.365 2.8125 4.39875 2.8125 6.17875V22.5C2.8125 23.7432 3.30636 24.9355 4.18544 25.8146C5.06451 26.6936 6.2568 27.1875 7.5 27.1875ZM10.8575 6.075C11.3374 5.7343 11.9114 5.55128 12.5 5.55128C13.0886 5.55128 13.6626 5.7343 14.1425 6.075C14.9384 6.6439 15.8919 6.95026 16.8702 6.95138C17.8485 6.9525 18.8028 6.64832 19.6 6.08125L19.8187 5.925C19.8654 5.89176 19.9204 5.872 19.9775 5.86787C20.0347 5.86375 20.0919 5.87542 20.1428 5.90162C20.1938 5.92781 20.2366 5.96752 20.2665 6.0164C20.2964 6.06527 20.3123 6.12144 20.3125 6.17875V23.75C20.3125 24.3125 20.4475 24.8437 20.6875 25.3125H7.5C6.75408 25.3125 6.03871 25.0162 5.51126 24.4887C4.98382 23.9613 4.6875 23.2459 4.6875 22.5V6.17875C4.68765 6.12144 4.70356 6.06527 4.73348 6.0164C4.7634 5.96752 4.80619 5.92781 4.85716 5.90162C4.90813 5.87542 4.96532 5.86375 5.02248 5.86787C5.07964 5.872 5.13457 5.89176 5.18125 5.925L5.4 6.08125C6.19718 6.64832 7.15145 6.9525 8.12975 6.95138C9.10805 6.95026 10.0616 6.6439 10.8575 6.075ZM22.1875 23.75V17.8125H25.3125V23.75C25.3125 24.1644 25.1479 24.5618 24.8549 24.8549C24.5618 25.1479 24.1644 25.3125 23.75 25.3125C23.3356 25.3125 22.9382 25.1479 22.6451 24.8549C22.3521 24.5618 22.1875 24.1644 22.1875 23.75Z",fill:"currentColor"}))))}var fh,hh=e.forwardRef(ph),bh=(__webpack_require__.p,["title","titleId"]);function Ah(){return Ah=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ah.apply(this,arguments)}function mh(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function gh(t,n){var r=t.title,o=t.titleId,i=mh(t,bh);return e.createElement("svg",Ah({width:26,height:26,viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,fh||(fh=e.createElement("g",{id:"settings_FILL0_wght300_GRAD0_opsz24 1"},e.createElement("path",{id:"Vector",d:"M10.5 23.2916L10.0875 19.9916C9.79723 19.8944 9.49966 19.7583 9.19479 19.5833C8.88992 19.4083 8.61735 19.2208 8.37706 19.0208L5.32082 20.3124L2.82086 15.9792L5.4646 13.9813C5.43959 13.8201 5.42188 13.6583 5.41146 13.4958C5.40105 13.3333 5.39584 13.1715 5.39584 13.0104C5.39584 12.8563 5.40105 12.6996 5.41146 12.5406C5.42188 12.3816 5.43959 12.2076 5.4646 12.0187L2.82086 10.0208L5.32082 5.70838L8.36664 6.98964C8.62775 6.78269 8.90658 6.59345 9.2031 6.42192C9.49965 6.25037 9.79097 6.11252 10.0771 6.00836L10.5 2.70836H15.4999L15.9124 6.01878C16.2374 6.13683 16.5315 6.27467 16.7948 6.43232C17.0579 6.58996 17.3236 6.77573 17.5916 6.98964L20.6791 5.70838L23.1791 10.0208L20.4937 12.05C20.5326 12.225 20.5538 12.3885 20.5572 12.5406C20.5607 12.6927 20.5624 12.8458 20.5624 13C20.5624 13.1472 20.559 13.2969 20.552 13.449C20.5451 13.601 20.5201 13.775 20.477 13.9709L23.1416 15.9792L20.6416 20.3124L17.5916 19.0104C17.3236 19.2243 17.05 19.4135 16.7708 19.5781C16.4916 19.7427 16.2055 19.8771 15.9124 19.9812L15.4999 23.2916H10.5ZM11.9166 21.6667H14.0458L14.4354 18.7646C14.9882 18.6201 15.4934 18.4149 15.951 18.1489C16.4086 17.883 16.85 17.541 17.275 17.1229L19.9666 18.2542L21.0333 16.4125L18.6833 14.6417C18.7736 14.3611 18.835 14.0861 18.8677 13.8167C18.9003 13.5472 18.9166 13.275 18.9166 13C18.9166 12.7181 18.9003 12.4458 18.8677 12.1833C18.835 11.9208 18.7736 11.6528 18.6833 11.3792L21.0541 9.5875L19.9875 7.74583L17.2645 8.89376C16.9021 8.50625 16.4677 8.16389 15.9614 7.86668C15.4552 7.56945 14.943 7.35903 14.425 7.23542L14.0833 4.33333H11.9333L11.575 7.22499C11.0222 7.35555 10.5118 7.55555 10.0437 7.825C9.57566 8.09444 9.12914 8.44167 8.70415 8.86668L6.01247 7.74583L4.94579 9.5875L7.28539 11.3313C7.19511 11.5882 7.13191 11.8555 7.0958 12.1333C7.05969 12.4111 7.04164 12.7035 7.04164 13.0104C7.04164 13.2924 7.05969 13.5687 7.0958 13.8396C7.13191 14.1104 7.19163 14.3778 7.27496 14.6417L4.94579 16.4125L6.01247 18.2542L8.69372 17.1167C9.10483 17.5389 9.54441 17.8847 10.0125 18.1542C10.4805 18.4236 10.9979 18.6306 11.5646 18.775L11.9166 21.6667ZM13.0125 16.25C13.9138 16.25 14.6809 15.9337 15.3135 15.301C15.9461 14.6684 16.2624 13.9014 16.2624 13C16.2624 12.0986 15.9461 11.3316 15.3135 10.699C14.6809 10.0663 13.9138 9.75003 13.0125 9.75003C12.1 9.75003 11.3302 10.0663 10.7031 10.699C10.076 11.3316 9.76251 12.0986 9.76251 13C9.76251 13.9014 10.076 14.6684 10.7031 15.301C11.3302 15.9337 12.1 16.25 13.0125 16.25Z",fill:"#AE7F3C"}))))}var vh,yh=e.forwardRef(gh),Mh=(__webpack_require__.p,["title","titleId"]);function Oh(){return Oh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Oh.apply(this,arguments)}function _h(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function zh(t,n){var r=t.title,o=t.titleId,i=_h(t,Mh);return e.createElement("svg",Oh({width:24,height:23,viewBox:"0 0 24 23",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,vh||(vh=e.createElement("g",{id:"Group 10"},e.createElement("path",{id:"Vector",d:"M14.1145 5.37696C14.1145 5.19072 14.0405 5.01211 13.9088 4.88042C13.7772 4.74873 13.5985 4.67474 13.4123 4.67474C13.2261 4.67474 13.0475 4.74873 12.9158 4.88042C12.7841 5.01211 12.7101 5.19072 12.7101 5.37696V10.9947C12.7101 11.181 12.7841 11.3596 12.9158 11.4913C13.0475 11.623 13.2261 11.6969 13.4123 11.6969H17.6256C17.8119 11.6969 17.9905 11.623 18.1222 11.4913C18.2539 11.3596 18.3278 11.181 18.3278 10.9947C18.3278 10.8085 18.2539 10.6299 18.1222 10.4982C17.9905 10.3665 17.8119 10.2925 17.6256 10.2925H14.1145V5.37696ZM8.49677 0.461426C7.37932 0.461426 6.30765 0.905328 5.5175 1.69548C4.72735 2.48563 4.28345 3.5573 4.28345 4.67474V10.4386C4.73963 10.3093 5.21569 10.265 5.68789 10.308V4.67474C5.68789 3.92978 5.98382 3.21533 6.51059 2.68857C7.03736 2.1618 7.75181 1.86587 8.49677 1.86587H19.7323C20.4772 1.86587 21.1917 2.1618 21.7185 2.68857C22.2452 3.21533 22.5412 3.92978 22.5412 4.67474V15.9103C22.5412 16.6552 22.2452 17.3697 21.7185 17.8964C21.1917 18.4232 20.4772 18.7191 19.7323 18.7191H15.3898C15.474 19 15.519 19.295 15.519 19.5969C15.5191 19.7731 15.5073 19.949 15.4839 20.1236H19.7323C20.8497 20.1236 21.9214 19.6797 22.7116 18.8895C23.5017 18.0994 23.9456 17.0277 23.9456 15.9103V4.67474C23.9456 3.5573 23.5017 2.48563 22.7116 1.69548C21.9214 0.905328 20.8497 0.461426 19.7323 0.461426H8.49677ZM10.6034 22.2302H10.5711C11.0529 21.5338 11.3093 20.7063 11.3056 19.8595C11.3056 19.1812 11.0978 18.5436 10.7383 18.0169H12.6118C13.4432 18.0169 14.1159 18.7248 14.1159 19.5969C14.1159 20.9087 13.1118 22.2302 10.6034 22.2302ZM10.9545 16.6125C11.4201 16.6125 11.8667 16.4275 12.1959 16.0983C12.5251 15.7691 12.7101 15.3225 12.7101 14.8569C12.7101 14.3913 12.5251 13.9448 12.1959 13.6156C11.8667 13.2863 11.4201 13.1014 10.9545 13.1014C10.4889 13.1014 10.0424 13.2863 9.71317 13.6156C9.38395 13.9448 9.19899 14.3913 9.19899 14.8569C9.19899 15.3225 9.38395 15.7691 9.71317 16.0983C10.0424 16.4275 10.4889 16.6125 10.9545 16.6125Z"}),e.createElement("path",{id:"Vector_2",fillRule:"evenodd",clipRule:"evenodd",d:"M2.37305 18.4886C2.20829 18.5896 2.08451 18.7455 2.02357 18.9288C1.96262 19.1122 1.96844 19.3112 2.04 19.4906C2.11156 19.6701 2.24424 19.8185 2.41462 19.9097C2.58499 20.0008 2.78209 20.0288 2.9711 19.9886C3.1601 19.9485 3.32884 19.8429 3.44752 19.6904C3.56619 19.538 3.62715 19.3484 3.61964 19.1554C3.61213 18.9623 3.53662 18.7781 3.40645 18.6353C3.27629 18.4925 3.09985 18.4003 2.9083 18.375C2.89806 18.3384 2.88868 18.3015 2.88017 18.2644C2.84283 18.0957 2.81366 17.9253 2.79278 17.7538C2.77022 17.5804 2.75746 17.4059 2.75455 17.2311C2.75398 17.1831 2.75535 17.1351 2.75865 17.0872C2.86351 17.0571 2.96892 17.0298 3.07406 17.0061C3.19449 16.9788 3.26604 17.1208 3.32366 17.236L3.34715 17.2821H6.55563C6.61816 17.1636 6.75989 16.9747 6.89726 17.0061C7.04363 17.0394 7.19082 17.079 7.33665 17.1243C7.33774 17.1281 7.34293 17.147 7.34894 17.1852C7.35577 17.2294 7.36041 17.2868 7.36259 17.3559C7.36642 17.4935 7.3585 17.6609 7.34239 17.8297C7.326 17.9982 7.3017 18.1612 7.27439 18.2898C7.26838 18.3185 7.26237 18.3445 7.25636 18.3679H6.89726C6.84656 18.368 6.79686 18.3821 6.75374 18.4088C6.71062 18.4354 6.67578 18.4736 6.65312 18.519L6.38003 19.0651C6.36103 19.103 6.35112 19.1448 6.35109 19.1872V19.7334C6.35109 19.8058 6.37986 19.8753 6.43107 19.9265C6.48228 19.9777 6.55174 20.0065 6.62417 20.0065H7.17034V19.4603H6.89726V19.2516L7.06602 18.9141H7.82083L7.9896 19.2516V19.4603H7.71651V20.0065H8.26268C8.33511 20.0065 8.40457 19.9777 8.45578 19.9265C8.507 19.8753 8.53577 19.8058 8.53577 19.7334V19.1872C8.53573 19.1448 8.52582 19.103 8.50682 19.0651L8.23374 18.519C8.21107 18.4736 8.17623 18.4354 8.13311 18.4088C8.08999 18.3821 8.0403 18.368 7.9896 18.3679H7.81592C7.84514 18.2224 7.86944 18.0525 7.88583 17.8821C7.90385 17.6981 7.91313 17.5072 7.90849 17.3406L7.90822 17.3329C8.99728 17.7931 9.9012 18.5498 9.9012 19.3429C9.9012 19.3429 10.0592 20.2686 9.9012 20.8257C9.37203 22.6912 6.92484 22.9324 4.98571 22.9324C3.04659 22.9324 0.599283 22.6912 0.0701191 20.8257C-0.0879077 20.2686 0.0701191 19.3429 0.0701191 19.3429C0.0701191 18.5149 1.05596 17.7262 2.20865 17.2737C2.21166 17.4435 2.22777 17.6355 2.25098 17.8215C2.2761 18.0222 2.31024 18.2218 2.34793 18.3862C2.35612 18.4215 2.36431 18.4556 2.37305 18.4886ZM2.80097 19.4644C2.94789 19.4644 3.07406 19.3442 3.07406 19.1872C3.07406 19.0304 2.94789 18.91 2.80097 18.91C2.65405 18.91 2.52789 19.0302 2.52789 19.1872C2.52789 19.3439 2.65405 19.4644 2.80097 19.4644ZM4.98566 16.4563C6.49391 16.4563 7.71651 15.2337 7.71651 13.7255C7.71651 12.2172 6.49391 10.9946 4.98566 10.9946C3.47741 10.9946 2.2548 12.2172 2.2548 13.7255C2.2548 15.2337 3.47741 16.4563 4.98566 16.4563Z"}))))}var xh,wh=e.forwardRef(zh),Ch=(__webpack_require__.p,["title","titleId"]);function Sh(){return Sh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Sh.apply(this,arguments)}function Eh(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function kh(t,n){var r=t.title,o=t.titleId,i=Eh(t,Ch);return e.createElement("svg",Sh({width:24,height:21,viewBox:"0 0 24 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,xh||(xh=e.createElement("g",{id:"Vector"},e.createElement("path",{d:"M6.08 14.7911V12.1311C6.08 11.9911 6.02 11.8511 5.92 11.7511C5.82 11.6511 5.68 11.5911 5.53 11.5911C5.38 11.5911 5.24 11.6511 5.14 11.7511C5.04 11.8511 4.98 11.9811 4.98 12.1311V15.3211C4.98 15.4611 5.04 15.6011 5.14 15.7011C5.24 15.8011 5.38 15.8611 5.53 15.8611H8.29C8.44 15.8611 8.58 15.8011 8.68 15.7011C8.78 15.6011 8.84 15.4711 8.84 15.3211C8.84 15.1711 8.78 15.0411 8.68 14.9411C8.58 14.8411 8.44 14.7811 8.29 14.7811H6.08V14.7911ZM5.53 20.6311C2.48 20.6311 0 18.2511 0 15.3211C0 12.3911 2.47 10.0111 5.53 10.0111C8.59 10.0111 11.06 12.3911 11.06 15.3211C11.06 18.2511 8.59 20.6311 5.53 20.6311Z",fill:"#B67D2B"}),e.createElement("path",{d:"M18.55 1.29114C18.86 1.23114 19.19 1.27114 19.48 1.38114C19.77 1.50114 20.03 1.70114 20.2 1.96114C20.37 2.22114 20.47 2.52114 20.47 2.82114C20.47 3.12114 20.38 3.43114 20.2 3.68114C20.02 3.94114 19.77 4.14114 19.48 4.26114C19.19 4.38114 18.86 4.41114 18.55 4.35114C18.24 4.29114 17.95 4.15114 17.72 3.93114C17.61 4.32114 17.43 4.68114 17.21 5.02114C17.75 5.08114 18.23 5.30114 18.62 5.62114C19.09 5.66114 19.56 5.59114 20 5.41114C20.44 5.23114 20.82 4.96114 21.12 4.61114C21.42 4.26114 21.63 3.85114 21.73 3.40114C21.83 2.96114 21.81 2.50114 21.69 2.06114C21.56 1.62114 21.33 1.22114 21.01 0.89114C20.69 0.56114 20.29 0.31114 19.84 0.16114C19.4 0.0111403 18.92 -0.0388597 18.45 0.0311403C17.98 0.0911403 17.54 0.27114 17.16 0.53114C17.41 0.88114 17.6 1.28114 17.73 1.70114C17.96 1.48114 18.25 1.34114 18.56 1.28114L18.55 1.29114Z",fill:"#B67D2B"}),e.createElement("path",{d:"M13.35 1.29114C13.66 1.23114 13.99 1.27114 14.28 1.38114C14.57 1.50114 14.83 1.70114 15 1.96114C15.17 2.22114 15.27 2.52114 15.27 2.82114C15.27 3.12114 15.18 3.43114 15 3.68114C14.82 3.94114 14.57 4.14114 14.28 4.26114C13.99 4.38114 13.66 4.41114 13.35 4.35114C13.04 4.29114 12.75 4.15114 12.52 3.93114C12.41 4.32114 12.23 4.68114 12.01 5.02114C12.55 5.08114 13.03 5.30114 13.42 5.62114C13.89 5.66114 14.36 5.59114 14.8 5.41114C15.24 5.23114 15.62 4.96114 15.92 4.61114C16.22 4.26114 16.43 3.85114 16.53 3.40114C16.63 2.96114 16.61 2.50114 16.49 2.06114C16.36 1.62114 16.13 1.22114 15.81 0.89114C15.49 0.56114 15.09 0.31114 14.64 0.16114C14.19 0.0111403 13.72 -0.0388597 13.25 0.0311403C12.78 0.0911403 12.34 0.27114 11.96 0.53114C12.21 0.88114 12.4 1.28114 12.53 1.70114C12.76 1.48114 13.05 1.34114 13.36 1.28114L13.35 1.29114Z",fill:"#B67D2B"}),e.createElement("path",{d:"M8.45 5.63114C8.83 5.63114 9.21 5.56114 9.57 5.42114C9.92 5.28114 10.25 5.07114 10.52 4.81114C10.79 4.55114 11.01 4.24114 11.15 3.90114C11.3 3.56114 11.37 3.19114 11.37 2.82114C11.37 2.45114 11.29 2.08114 11.15 1.74114C11 1.40114 10.79 1.09114 10.52 0.83114C10.25 0.57114 9.93 0.36114 9.57 0.22114C9.22 0.0811403 8.83 0.0111403 8.45 0.0111403C7.67 0.0111403 6.93 0.31114 6.38 0.83114C5.83 1.36114 5.52 2.07114 5.52 2.82114C5.52 3.57114 5.83 4.28114 6.38 4.81114C6.93 5.34114 7.67 5.63114 8.45 5.63114ZM7.3 1.71114C7.6 1.42114 8.02 1.25114 8.45 1.25114C8.88 1.25114 9.29 1.41114 9.6 1.71114C9.91 2.01114 10.08 2.40114 10.08 2.81114C10.08 3.22114 9.91 3.62114 9.6 3.91114C9.29 4.20114 8.88 4.37114 8.45 4.37114C8.02 4.37114 7.61 4.21114 7.3 3.91114C6.99 3.61114 6.82 3.22114 6.82 2.81114C6.82 2.40114 6.99 2.00114 7.3 1.71114Z",fill:"#B67D2B"}),e.createElement("path",{d:"M23.02 6.63114C22.78 6.40114 22.45 6.26114 22.1 6.26114H19.15C19.37 6.63114 19.5 7.05114 19.5 7.51114H22.1V13.1311C22.1 13.5711 22 14.0011 21.82 14.4011C21.64 14.8011 21.37 15.1611 21.03 15.4511C20.69 15.7411 20.3 15.9611 19.86 16.1011C19.43 16.2411 18.97 16.2811 18.52 16.2411C18.24 16.6411 17.92 17.0011 17.55 17.3211C18.23 17.5111 18.95 17.5511 19.64 17.4411C20.34 17.3211 21 17.0511 21.57 16.6411C22.14 16.2311 22.6 15.7011 22.92 15.0911C23.24 14.4811 23.4 13.8111 23.4 13.1311V7.51114C23.4 7.18114 23.26 6.86114 23.02 6.63114Z",fill:"#B67D2B"}),e.createElement("path",{d:"M18.2 13.1311V7.51114C18.2 7.18114 18.06 6.86114 17.82 6.63114C17.58 6.40114 17.25 6.26114 16.9 6.26114H13.95C14.17 6.63114 14.3 7.05114 14.3 7.51114H16.9V13.1311C16.9 13.5711 16.8 14.0011 16.62 14.4011C16.44 14.8011 16.17 15.1611 15.83 15.4511C15.49 15.7411 15.1 15.9611 14.66 16.1011C14.23 16.2411 13.77 16.2811 13.32 16.2411C13.04 16.6411 12.72 17.0011 12.35 17.3211C13.03 17.5111 13.75 17.5511 14.44 17.4411C15.14 17.3211 15.8 17.0511 16.37 16.6411C16.94 16.2311 17.4 15.7011 17.72 15.0911C18.04 14.4811 18.2 13.8111 18.2 13.1311Z",fill:"#B67D2B"}),e.createElement("path",{d:"M13 13.1311V7.51114C13 7.18114 12.86 6.86114 12.62 6.63114C12.38 6.40114 12.05 6.26114 11.7 6.26114H5.2C4.86 6.26114 4.52 6.39114 4.28 6.63114C4.04 6.86114 3.9 7.18114 3.9 7.51114V11.4211L5.2 11.1511V7.51114H11.7V13.1311C11.7 13.9611 11.36 14.7511 10.75 15.3411C10.54 15.5411 10.3 15.7011 10.04 15.8411L8.73 17.4811C9.23 17.4511 9.72 17.3611 10.18 17.1711C10.73 16.9511 11.23 16.6311 11.66 16.2211C12.08 15.8111 12.42 15.3311 12.65 14.8011C12.88 14.2711 13 13.7011 13 13.1311Z",fill:"#B67D2B"}))))}var Dh=e.forwardRef(kh),Nh=(__webpack_require__.p,function(e){var t=e.link,n=e.toggleIcon,r=e.onClick,o=t.title,i=t.href,a=t.Icon,s=t.badge,l=Fc().navigation,c=t.hasOwnProperty("isDisabled")&&t.isDisabled,u=[Fp,c?"disabled":"","mainNav"];return null!==t&&void 0!==t&&t.display?(0,Kl.jsx)(Pp.Z,{children:i?(0,Kl.jsxs)(wu,{to:i,onClick:function(e){c&&e.preventDefault()},className:u.join(" "),children:[(0,Kl.jsx)("div",{className:Up,children:(0,Kl.jsx)(a,{})}),l.open?(0,Kl.jsxs)("div",{style:{position:"relative"},children:[(0,Kl.jsx)(kl.Z,{variant:"body1",style:{whiteSpace:"nowrap",flex:1},children:o}),s?(0,Kl.jsx)("div",{style:{position:"absolute",top:0,right:-35},children:s}):null]}):null,(0,Kl.jsx)("div",{className:Zp})]}):(0,Kl.jsxs)("a",{href:"#",onClick:function(e){e.preventDefault(),e.stopPropagation(),r()},className:u.join(" "),children:[(0,Kl.jsx)("div",{className:Up,children:(0,Kl.jsx)(a,{})}),l.open?(0,Kl.jsxs)("div",{className:Hp,children:[(0,Kl.jsx)(kl.Z,{variant:"body1",children:o}),n]}):null]})}):null}),Th=function(){var t,r,o=(0,e.useContext)(bA),i=Fc().clinic,a=Fc().navigation,s=(0,e.useState)(null),l=(0,n.Z)(s,2),c=l[0],u=l[1],d=(0,e.useMemo)((function(){var e,t,n,r,s,l,c,u;return[{title:"Calendar",href:"/calendar",Icon:Td,display:!0},{title:"Patients",href:"/patients",Icon:nh,display:!0},{title:"Waitlist",href:"/waitlist",Icon:Dh,display:!0},{title:"Prescriptions",href:"/prescriptions",Icon:lh,display:!0},{title:"Shifts",href:"/shifts",Icon:wh,display:!0},{title:"Financial",href:null,Icon:cf,display:null===o||void 0===o||null===(e=o.user)||void 0===e||null===(t=e.staff)||void 0===t?void 0:t.is_clinic_admin,children:null!==a&&void 0!==a&&a.open?[{title:"Dashboard",href:"/dashboard",Icon:ef,display:null===o||void 0===o||null===(n=o.user)||void 0===n||null===(r=n.staff)||void 0===r?void 0:r.is_clinic_admin},{title:"Receipts & Invoices",href:"/financial/receipts?page=1&perPage=10",Icon:hh,display:null===o||void 0===o||null===(s=o.user)||void 0===s||null===(l=s.staff)||void 0===l?void 0:l.is_clinic_admin,badge:(0,Kl.jsx)(up,{})}]:null},{title:"Stock",href:null,Icon:bf,display:null===i||void 0===i?void 0:i.feature_inventory_enabled,children:null!==a&&void 0!==a&&a.open?[{title:"Products",href:"/stock/products",Icon:Uf,display:null===i||void 0===i?void 0:i.feature_inventory_enabled},{title:"Inventory",href:"/stock/inventory",Icon:Of,display:null===i||void 0===i?void 0:i.feature_inventory_enabled},{title:"Suppliers",href:"/stock/suppliers",Icon:kf,display:null===i||void 0===i?void 0:i.feature_inventory_enabled},{title:"Categories",href:"/stock/categories",Icon:Rf,display:null===i||void 0===i?void 0:i.feature_inventory_enabled}]:null},{title:"Marketing",href:"/marketing",Icon:Qf,display:!0},{title:"Settings",href:"/settings",Icon:yh,display:null===o||void 0===o||null===(c=o.user)||void 0===c||null===(u=c.staff)||void 0===u?void 0:u.is_clinic_admin,badge:(0,Kl.jsx)(up,{})}]}),[null===o||void 0===o||null===(t=o.user)||void 0===t||null===(r=t.staff)||void 0===r?void 0:r.is_clinic_admin,null===a||void 0===a?void 0:a.open,null===i||void 0===i?void 0:i.feature_inventory_enabled]);return(0,e.useLayoutEffect)((function(){var e=sessionStorage.getItem("childMenuIndex");e&&u(Number(e))}),[]),(0,Kl.jsx)(Ip.Z,{className:Wp,children:null===d||void 0===d?void 0:d.map((function(t,n){var r=(null===t||void 0===t?void 0:t.children)&&(null===t||void 0===t?void 0:t.children.length)>0;return(0,Kl.jsxs)(e.Fragment,{children:[(0,Kl.jsx)(Nh,{link:t,onClick:function(){return t.href?null:function(e){var t=c===e?null:e;u(t),a.open||a.setOpen(!0),sessionStorage.setItem("childMenuIndex",t)}(n)},toggleIcon:r?c===n?(0,Kl.jsx)(Vp.Z,{}):(0,Kl.jsx)(Xp.Z,{}):null}),r&&c===n?(0,Kl.jsx)("div",{className:$p,children:t.children.map((function(e){return(0,Kl.jsx)(Nh,{link:e},"navlink_child_".concat(e.title))}))}):null]},"navlink_".concat(t.title))}))})},jh={navigation:"navigation_navigation__TyWHe",toolbar:"navigation_toolbar__kZFXY",btnMenu:"navigation_btnMenu__1phw5",navigationTop:"navigation_navigationTop__ES-u3",logoLink:"navigation_logoLink__jjzRz",logo:"navigation_logo__tyoem",navigationChildren:"navigation_navigationChildren__0vqnt"},Bh=(0,jd.Z)((function(e){return{drawer:{width:280,flexShrink:0,whiteSpace:"nowrap"},drawerOpen:{width:280,transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.enteringScreen})},drawerClose:{transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.leavingScreen}),overflowX:"hidden",width:e.spacing(7)+5,[e.breakpoints.up("sm")]:{width:"58px"}}}})),Lh=$l((function(t){var r=t.children,o=(0,e.useContext)(bA),i=Bh(),a=Fc(),s=a.navigation,l=a.calendar,c=fe(),u=(0,e.useState)(o.clinic.logoUrl||zp),d=(0,n.Z)(u,2),p=d[0],f=d[1];(0,e.useEffect)((function(){f(o.clinic.logoUrl||zp)}),[o.clinic.logoUrl]);return(0,e.useEffect)((function(){s.setOpen("true"===localStorage.getItem("isSidebarOpen"))}),[]),(0,Kl.jsxs)(op,{variant:"permanent",className:[jh.navigation,i.drawer,s.open?i.drawerOpen:i.drawerClose].join(", "),classes:{paper:s.open?i.drawerOpen:i.drawerClose},children:[(0,Kl.jsxs)("div",{className:jh.toolbar,children:[s.open&&(0,Kl.jsx)("div",{className:jh.navigationTop,children:(0,Kl.jsx)(wu,{to:"/calendar",className:jh.logoLink,children:(0,Kl.jsx)("img",{id:"logo",src:p,alt:"logo",className:jh.logo})})}),(0,Kl.jsx)(wd.Z,{disableRipple:!0,disableFocusRipple:!0,onClick:function(){localStorage.setItem("isSidebarOpen",!s.open),s.setOpen(!s.open),c.pathname.includes("/calendar")&&!s.open&&(null===l||void 0===l||l.clearSelectedStaff())},className:jh.btnMenu,children:s.open?(0,Kl.jsx)(gp,{}):(0,Kl.jsx)(_p,{})})]}),(0,Kl.jsxs)("div",{className:jh.navigationChildren,children:[(0,Kl.jsx)(Th,{}),s.open&&r,s.open&&(0,Kl.jsx)(qp,{})]})]})})),Rh=Lh,qh="mainLayout_mainLayout__wxXef",Ph="mainLayout_content__Jt+gK",Ih=(0,kp.Z)(e.createElement("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),Wh=(0,kp.Z)(e.createElement("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),Fh=(0,kp.Z)(e.createElement("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),Uh=(0,kp.Z)(e.createElement("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),Zh=(0,kp.Z)(e.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),Hh={success:e.createElement(Ih,{fontSize:"inherit"}),warning:e.createElement(Wh,{fontSize:"inherit"}),error:e.createElement(Fh,{fontSize:"inherit"}),info:e.createElement(Uh,{fontSize:"inherit"})},$h=e.createElement(Zh,{fontSize:"small"}),Vh=e.forwardRef((function(t,n){var r=t.action,o=t.children,i=t.classes,a=t.className,s=t.closeText,l=void 0===s?"Close":s,c=t.color,u=t.icon,d=t.iconMapping,p=void 0===d?Hh:d,f=t.onClose,h=t.role,b=void 0===h?"alert":h,A=t.severity,m=void 0===A?"success":A,g=t.variant,v=void 0===g?"standard":g,y=(0,Uu.Z)(t,["action","children","classes","className","closeText","color","icon","iconMapping","onClose","role","severity","variant"]);return e.createElement(Kd.Z,(0,Fu.Z)({role:b,square:!0,elevation:0,className:(0,Zu.Z)(i.root,i["".concat(v).concat((0,Jd.Z)(c||m))],a),ref:n},y),!1!==u?e.createElement("div",{className:i.icon},u||p[m]||Hh[m]):null,e.createElement("div",{className:i.message},o),null!=r?e.createElement("div",{className:i.action},r):null,null==r&&f?e.createElement("div",{className:i.action},e.createElement(wd.Z,{size:"small","aria-label":l,title:l,color:"inherit",onClick:f},$h)):null)})),Xh=(0,Hu.Z)((function(e){var t="light"===e.palette.type?Bp._j:Bp.$n,n="light"===e.palette.type?Bp.$n:Bp._j;return{root:(0,Fu.Z)({},e.typography.body2,{borderRadius:e.shape.borderRadius,backgroundColor:"transparent",display:"flex",padding:"6px 16px"}),standardSuccess:{color:t(e.palette.success.main,.6),backgroundColor:n(e.palette.success.main,.9),"& $icon":{color:e.palette.success.main}},standardInfo:{color:t(e.palette.info.main,.6),backgroundColor:n(e.palette.info.main,.9),"& $icon":{color:e.palette.info.main}},standardWarning:{color:t(e.palette.warning.main,.6),backgroundColor:n(e.palette.warning.main,.9),"& $icon":{color:e.palette.warning.main}},standardError:{color:t(e.palette.error.main,.6),backgroundColor:n(e.palette.error.main,.9),"& $icon":{color:e.palette.error.main}},outlinedSuccess:{color:t(e.palette.success.main,.6),border:"1px solid ".concat(e.palette.success.main),"& $icon":{color:e.palette.success.main}},outlinedInfo:{color:t(e.palette.info.main,.6),border:"1px solid ".concat(e.palette.info.main),"& $icon":{color:e.palette.info.main}},outlinedWarning:{color:t(e.palette.warning.main,.6),border:"1px solid ".concat(e.palette.warning.main),"& $icon":{color:e.palette.warning.main}},outlinedError:{color:t(e.palette.error.main,.6),border:"1px solid ".concat(e.palette.error.main),"& $icon":{color:e.palette.error.main}},filledSuccess:{color:"#fff",fontWeight:e.typography.fontWeightMedium,backgroundColor:e.palette.success.main},filledInfo:{color:"#fff",fontWeight:e.typography.fontWeightMedium,backgroundColor:e.palette.info.main},filledWarning:{color:"#fff",fontWeight:e.typography.fontWeightMedium,backgroundColor:e.palette.warning.main},filledError:{color:"#fff",fontWeight:e.typography.fontWeightMedium,backgroundColor:e.palette.error.main},icon:{marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9},message:{padding:"8px 0"},action:{display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}}}),{name:"MuiAlert"})(Vh),Qh=$l((function(t){var r=t.title,o=t.navigationChildren,i=t.headerChildren,a=t.onClickAddSecond,s=t.Icon,l=t.needSearch,c=t.children,u=t.setPrintContent,d=t.onClickAdd,p=t.disableOutlet,f=void 0!==p&&p,h=t.actionButton,b=Lu(),A=(0,e.useContext)(bA),m=he(),g=(0,e.useRef)(),v=(0,e.useState)(localStorage.getItem("aestheti_private_mode")),y=(0,n.Z)(v,2),M=y[0],O=y[1],_=Fc().navigation;return(0,e.useEffect)((function(){u&&u(g)}),[g,u]),(0,e.useEffect)((function(){A.user&&!b&&(A.logout(),m("/login"))}),[A,b,m]),(0,Kl.jsxs)("div",{className:qh,children:[(0,Kl.jsx)(Rh,{children:o}),(0,Kl.jsxs)("div",{className:"".concat(Ph," ").concat(_.open?"sidebar-menu-opened":""),ref:g,children:[(0,Kl.jsx)(pp,{title:null!==r&&void 0!==r?r:"Calendar",onClickAddSecond:a,Icon:s,updatePrivateMode:function(){M?(localStorage.removeItem("aestheti_private_mode"),O(null)):(localStorage.setItem("aestheti_private_mode","yes"),O(localStorage.getItem("aestheti_private_mode")))},privateMode:M,needSearch:l,onClickAdd:d,actionButton:h,children:i}),!!window.localStorage.getItem("imp")&&(0,Kl.jsxs)(Xh,{variant:"filled",severity:"error",children:["This session is impersonated, ",(0,Kl.jsx)(wu,{to:"#",onClick:A.leaveImpersonation,children:"leave"})]}),c,!f&&(0,Kl.jsx)(Ee,{context:{privateMode:M}})]})]})})),Yh=Qh,Gh=__webpack_require__(3873),Kh=__webpack_require__(47166);function Jh(e,t){var n={};return Object.keys(e).forEach((function(r){-1===t.indexOf(r)&&(n[r]=e[r])})),n}function eb(e){var t=function(t){var n=e(t);return t.css?(0,Fu.Z)({},(0,Kh.Z)(n,e((0,Fu.Z)({theme:t.theme},t.css))),Jh(t.css,[e.filterProps])):t.sx?(0,Fu.Z)({},(0,Kh.Z)(n,e((0,Fu.Z)({theme:t.theme},t.sx))),Jh(t.sx,[e.filterProps])):n};return t.propTypes={},t.filterProps=["css","sx"].concat((0,r.Z)(e.filterProps)),t}var tb=eb;var nb=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=function(e){return t.reduce((function(t,n){var r=n(e);return r?(0,Kh.Z)(t,r):t}),{})};return r.propTypes={},r.filterProps=t.reduce((function(e,t){return e.concat(t.filterProps)}),[]),r},rb=__webpack_require__(32749);function ob(e,t){return t&&"string"===typeof t?t.split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e):null}var ib=function(e){var t=e.prop,n=e.cssProperty,r=void 0===n?e.prop:n,o=e.themeKey,i=e.transform,a=function(e){if(null==e[t])return null;var n=e[t],a=ob(e.theme,o)||{};return(0,rb.k)(e,n,(function(e){var t;return"function"===typeof a?t=a(e):Array.isArray(a)?t=a[e]||e:(t=ob(a,e)||e,i&&(t=i(t))),!1===r?t:(0,Ws.Z)({},r,t)}))};return a.propTypes={},a.filterProps=[t],a};function ab(e){return"number"!==typeof e?e:"".concat(e,"px solid")}var sb=nb(ib({prop:"border",themeKey:"borders",transform:ab}),ib({prop:"borderTop",themeKey:"borders",transform:ab}),ib({prop:"borderRight",themeKey:"borders",transform:ab}),ib({prop:"borderBottom",themeKey:"borders",transform:ab}),ib({prop:"borderLeft",themeKey:"borders",transform:ab}),ib({prop:"borderColor",themeKey:"palette"}),ib({prop:"borderRadius",themeKey:"shape"})),lb=nb(ib({prop:"displayPrint",cssProperty:!1,transform:function(e){return{"@media print":{display:e}}}}),ib({prop:"display"}),ib({prop:"overflow"}),ib({prop:"textOverflow"}),ib({prop:"visibility"}),ib({prop:"whiteSpace"})),cb=nb(ib({prop:"flexBasis"}),ib({prop:"flexDirection"}),ib({prop:"flexWrap"}),ib({prop:"justifyContent"}),ib({prop:"alignItems"}),ib({prop:"alignContent"}),ib({prop:"order"}),ib({prop:"flex"}),ib({prop:"flexGrow"}),ib({prop:"flexShrink"}),ib({prop:"alignSelf"}),ib({prop:"justifyItems"}),ib({prop:"justifySelf"})),ub=nb(ib({prop:"gridGap"}),ib({prop:"gridColumnGap"}),ib({prop:"gridRowGap"}),ib({prop:"gridColumn"}),ib({prop:"gridRow"}),ib({prop:"gridAutoFlow"}),ib({prop:"gridAutoColumns"}),ib({prop:"gridAutoRows"}),ib({prop:"gridTemplateColumns"}),ib({prop:"gridTemplateRows"}),ib({prop:"gridTemplateAreas"}),ib({prop:"gridArea"})),db=nb(ib({prop:"position"}),ib({prop:"zIndex",themeKey:"zIndex"}),ib({prop:"top"}),ib({prop:"right"}),ib({prop:"bottom"}),ib({prop:"left"})),pb=nb(ib({prop:"color",themeKey:"palette"}),ib({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"})),fb=ib({prop:"boxShadow",themeKey:"shadows"});function hb(e){return e<=1?"".concat(100*e,"%"):e}var bb,Ab=ib({prop:"width",transform:hb}),mb=ib({prop:"maxWidth",transform:hb}),gb=ib({prop:"minWidth",transform:hb}),vb=ib({prop:"height",transform:hb}),yb=ib({prop:"maxHeight",transform:hb}),Mb=ib({prop:"minHeight",transform:hb}),Ob=(ib({prop:"size",cssProperty:"width",transform:hb}),ib({prop:"size",cssProperty:"height",transform:hb}),nb(Ab,mb,gb,vb,yb,Mb,ib({prop:"boxSizing"}))),_b=__webpack_require__(91349),zb=nb(ib({prop:"fontFamily",themeKey:"typography"}),ib({prop:"fontSize",themeKey:"typography"}),ib({prop:"fontStyle",themeKey:"typography"}),ib({prop:"fontWeight",themeKey:"typography"}),ib({prop:"letterSpacing"}),ib({prop:"lineHeight"}),ib({prop:"textAlign"})),xb=__webpack_require__(34093),wb=tb(nb(sb,lb,cb,ub,db,pb,fb,Ob,_b.Z,zb)),Cb=(0,xb.Z)("div")(wb,{name:"MuiBox"}),Sb=(__webpack_require__(96214),__webpack_require__(63958));function Eb(){if(bb)return bb;var e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),bb="reverse",e.scrollLeft>0?bb="default":(e.scrollLeft=1,0===e.scrollLeft&&(bb="negative")),document.body.removeChild(e),bb}function kb(e,t){var n=e.scrollLeft;if("rtl"!==t)return n;switch(Eb()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}}function Db(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}var Nb={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function Tb(t){var n=t.onChange,r=(0,Uu.Z)(t,["onChange"]),o=e.useRef(),i=e.useRef(null),a=function(){o.current=i.current.offsetHeight-i.current.clientHeight};return e.useEffect((function(){var e=(0,Vd.Z)((function(){var e=o.current;a(),e!==o.current&&n(o.current)}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}),[n]),e.useEffect((function(){a(),n(o.current)}),[n]),e.createElement("div",(0,Fu.Z)({style:Nb,ref:i},r))}var jb=e.forwardRef((function(t,n){var r=t.classes,o=t.className,i=t.color,a=t.orientation,s=(0,Uu.Z)(t,["classes","className","color","orientation"]);return e.createElement("span",(0,Fu.Z)({className:(0,Zu.Z)(r.root,r["color".concat((0,Jd.Z)(i))],o,"vertical"===a&&r.vertical),ref:n},s))})),Bb=(0,Hu.Z)((function(e){return{root:{position:"absolute",height:2,bottom:0,width:"100%",transition:e.transitions.create()},colorPrimary:{backgroundColor:e.palette.primary.main},colorSecondary:{backgroundColor:e.palette.secondary.main},vertical:{height:"100%",width:2,right:0}}}),{name:"PrivateTabIndicator"})(jb),Lb=__webpack_require__(44068),Rb=__webpack_require__(205),qb=__webpack_require__(52877),Pb=e.createElement(Lb.Z,{fontSize:"small"}),Ib=e.createElement(Rb.Z,{fontSize:"small"}),Wb=e.forwardRef((function(t,n){var r=t.classes,o=t.className,i=t.direction,a=t.orientation,s=t.disabled,l=(0,Uu.Z)(t,["classes","className","direction","orientation","disabled"]);return e.createElement(qb.Z,(0,Fu.Z)({component:"div",className:(0,Zu.Z)(r.root,o,s&&r.disabled,"vertical"===a&&r.vertical),ref:n,role:null,tabIndex:null},l),"left"===i?Pb:Ib)})),Fb=(0,Hu.Z)({root:{width:40,flexShrink:0,opacity:.8,"&$disabled":{opacity:0}},vertical:{width:"100%",height:40,"& svg":{transform:"rotate(90deg)"}},disabled:{}},{name:"MuiTabScrollButton"})(Wb),Ub=__webpack_require__(72705),Zb=e.forwardRef((function(t,n){var r=t["aria-label"],o=t["aria-labelledby"],i=t.action,a=t.centered,s=void 0!==a&&a,l=t.children,c=t.classes,u=t.className,d=t.component,p=void 0===d?"div":d,f=t.indicatorColor,h=void 0===f?"secondary":f,b=t.onChange,A=t.orientation,m=void 0===A?"horizontal":A,g=t.ScrollButtonComponent,v=void 0===g?Fb:g,y=t.scrollButtons,M=void 0===y?"auto":y,O=t.selectionFollowsFocus,_=t.TabIndicatorProps,z=void 0===_?{}:_,x=t.TabScrollButtonProps,w=t.textColor,C=void 0===w?"inherit":w,S=t.value,E=t.variant,k=void 0===E?"standard":E,D=(0,Uu.Z)(t,["aria-label","aria-labelledby","action","centered","children","classes","className","component","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant"]),N=(0,qd.Z)(),T="scrollable"===k,j="rtl"===N.direction,B="vertical"===m,L=B?"scrollTop":"scrollLeft",R=B?"top":"left",q=B?"bottom":"right",P=B?"clientHeight":"clientWidth",I=B?"height":"width";var W=e.useState(!1),F=W[0],U=W[1],Z=e.useState({}),H=Z[0],$=Z[1],V=e.useState({start:!1,end:!1}),X=V[0],Q=V[1],Y=e.useState({overflow:"hidden",marginBottom:null}),G=Y[0],K=Y[1],J=new Map,ee=e.useRef(null),te=e.useRef(null),ne=function(){var e,t,n=ee.current;if(n){var r=n.getBoundingClientRect();e={clientWidth:n.clientWidth,scrollLeft:n.scrollLeft,scrollTop:n.scrollTop,scrollLeftNormalized:kb(n,N.direction),scrollWidth:n.scrollWidth,top:r.top,bottom:r.bottom,left:r.left,right:r.right}}if(n&&!1!==S){var o=te.current.children;if(o.length>0){var i=o[J.get(S)];0,t=i?i.getBoundingClientRect():null}}return{tabsMeta:e,tabMeta:t}},re=(0,Ub.Z)((function(){var e,t=ne(),n=t.tabsMeta,r=t.tabMeta,o=0;if(r&&n)if(B)o=r.top-n.top+n.scrollTop;else{var i=j?n.scrollLeftNormalized+n.clientWidth-n.scrollWidth:n.scrollLeft;o=r.left-n.left+i}var a=(e={},(0,Ws.Z)(e,R,o),(0,Ws.Z)(e,I,r?r[I]:0),e);if(isNaN(H[R])||isNaN(H[I]))$(a);else{var s=Math.abs(H[R]-a[R]),l=Math.abs(H[I]-a[I]);(s>=1||l>=1)&&$(a)}})),oe=function(e){!function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){},i=r.ease,a=void 0===i?Db:i,s=r.duration,l=void 0===s?300:s,c=null,u=t[e],d=!1,p=function(){d=!0};u===n?o(new Error("Element already at target position")):requestAnimationFrame((function r(i){if(d)o(new Error("Animation cancelled"));else{null===c&&(c=i);var s=Math.min(1,(i-c)/l);t[e]=a(s)*(n-u)+u,s>=1?requestAnimationFrame((function(){o(null)})):requestAnimationFrame(r)}}))}(L,ee.current,e)},ie=function(e){var t=ee.current[L];B?t+=e:(t+=e*(j?-1:1),t*=j&&"reverse"===Eb()?-1:1),oe(t)},ae=function(){ie(-ee.current[P])},se=function(){ie(ee.current[P])},le=e.useCallback((function(e){K({overflow:null,marginBottom:-e})}),[]),ce=(0,Ub.Z)((function(){var e=ne(),t=e.tabsMeta,n=e.tabMeta;if(n&&t)if(n[R]<t[R]){var r=t[L]+(n[R]-t[R]);oe(r)}else if(n[q]>t[q]){var o=t[L]+(n[q]-t[q]);oe(o)}})),ue=(0,Ub.Z)((function(){if(T&&"off"!==M){var e,t,n=ee.current,r=n.scrollTop,o=n.scrollHeight,i=n.clientHeight,a=n.scrollWidth,s=n.clientWidth;if(B)e=r>1,t=r<o-i-1;else{var l=kb(ee.current,N.direction);e=j?l<a-s-1:l>1,t=j?l>1:l<a-s-1}e===X.start&&t===X.end||Q({start:e,end:t})}}));e.useEffect((function(){var e=(0,Vd.Z)((function(){re(),ue()})),t=(0,Sb.Z)(ee.current);return t.addEventListener("resize",e),function(){e.clear(),t.removeEventListener("resize",e)}}),[re,ue]);var de=e.useCallback((0,Vd.Z)((function(){ue()})));e.useEffect((function(){return function(){de.clear()}}),[de]),e.useEffect((function(){U(!0)}),[]),e.useEffect((function(){re(),ue()})),e.useEffect((function(){ce()}),[ce,H]),e.useImperativeHandle(i,(function(){return{updateIndicator:re,updateScrollButtons:ue}}),[re,ue]);var pe=e.createElement(Bb,(0,Fu.Z)({className:c.indicator,orientation:m,color:h},z,{style:(0,Fu.Z)({},H,z.style)})),fe=0,he=e.Children.map(l,(function(t){if(!e.isValidElement(t))return null;var n=void 0===t.props.value?fe:t.props.value;J.set(n,fe);var r=n===S;return fe+=1,e.cloneElement(t,{fullWidth:"fullWidth"===k,indicator:r&&!F&&pe,selected:r,selectionFollowsFocus:O,onChange:b,textColor:C,value:n})})),be=function(){var t={};t.scrollbarSizeListener=T?e.createElement(Tb,{className:c.scrollable,onChange:le}):null;var n=X.start||X.end,r=T&&("auto"===M&&n||"desktop"===M||"on"===M);return t.scrollButtonStart=r?e.createElement(v,(0,Fu.Z)({orientation:m,direction:j?"right":"left",onClick:ae,disabled:!X.start,className:(0,Zu.Z)(c.scrollButtons,"on"!==M&&c.scrollButtonsDesktop)},x)):null,t.scrollButtonEnd=r?e.createElement(v,(0,Fu.Z)({orientation:m,direction:j?"left":"right",onClick:se,disabled:!X.end,className:(0,Zu.Z)(c.scrollButtons,"on"!==M&&c.scrollButtonsDesktop)},x)):null,t}();return e.createElement(p,(0,Fu.Z)({className:(0,Zu.Z)(c.root,u,B&&c.vertical),ref:n},D),be.scrollButtonStart,be.scrollbarSizeListener,e.createElement("div",{className:(0,Zu.Z)(c.scroller,T?c.scrollable:c.fixed),style:G,ref:ee,onScroll:de},e.createElement("div",{"aria-label":r,"aria-labelledby":o,className:(0,Zu.Z)(c.flexContainer,B&&c.flexContainerVertical,s&&!T&&c.centered),onKeyDown:function(e){var t=e.target;if("tab"===t.getAttribute("role")){var n=null,r="vertical"!==m?"ArrowLeft":"ArrowUp",o="vertical"!==m?"ArrowRight":"ArrowDown";switch("vertical"!==m&&"rtl"===N.direction&&(r="ArrowRight",o="ArrowLeft"),e.key){case r:n=t.previousElementSibling||te.current.lastChild;break;case o:n=t.nextElementSibling||te.current.firstChild;break;case"Home":n=te.current.firstChild;break;case"End":n=te.current.lastChild}null!==n&&(n.focus(),e.preventDefault())}},ref:te,role:"tablist"},he),F&&pe),be.scrollButtonEnd)})),Hb=(0,Hu.Z)((function(e){return{root:{overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},vertical:{flexDirection:"column"},flexContainer:{display:"flex"},flexContainerVertical:{flexDirection:"column"},centered:{justifyContent:"center"},scroller:{position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},fixed:{overflowX:"hidden",width:"100%"},scrollable:{overflowX:"scroll",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},scrollButtons:{},scrollButtonsDesktop:(0,Ws.Z)({},e.breakpoints.down("xs"),{display:"none"}),indicator:{}}}),{name:"MuiTabs"})(Zb),$b=e.forwardRef((function(t,n){var r=t.classes,o=t.className,i=t.disabled,a=void 0!==i&&i,s=t.disableFocusRipple,l=void 0!==s&&s,c=t.fullWidth,u=t.icon,d=t.indicator,p=t.label,f=t.onChange,h=t.onClick,b=t.onFocus,A=t.selected,m=t.selectionFollowsFocus,g=t.textColor,v=void 0===g?"inherit":g,y=t.value,M=t.wrapped,O=void 0!==M&&M,_=(0,Uu.Z)(t,["classes","className","disabled","disableFocusRipple","fullWidth","icon","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"]);return e.createElement(qb.Z,(0,Fu.Z)({focusRipple:!l,className:(0,Zu.Z)(r.root,r["textColor".concat((0,Jd.Z)(v))],o,a&&r.disabled,A&&r.selected,p&&u&&r.labelIcon,c&&r.fullWidth,O&&r.wrapped),ref:n,role:"tab","aria-selected":A,disabled:a,onClick:function(e){f&&f(e,y),h&&h(e)},onFocus:function(e){m&&!A&&f&&f(e,y),b&&b(e)},tabIndex:A?0:-1},_),e.createElement("span",{className:r.wrapper},u,p),d)})),Vb=(0,Hu.Z)((function(e){var t;return{root:(0,Fu.Z)({},e.typography.button,(t={maxWidth:264,minWidth:72,position:"relative",boxSizing:"border-box",minHeight:48,flexShrink:0,padding:"6px 12px"},(0,Ws.Z)(t,e.breakpoints.up("sm"),{padding:"6px 24px"}),(0,Ws.Z)(t,"overflow","hidden"),(0,Ws.Z)(t,"whiteSpace","normal"),(0,Ws.Z)(t,"textAlign","center"),(0,Ws.Z)(t,e.breakpoints.up("sm"),{minWidth:160}),t)),labelIcon:{minHeight:72,paddingTop:9,"& $wrapper > *:first-child":{marginBottom:6}},textColorInherit:{color:"inherit",opacity:.7,"&$selected":{opacity:1},"&$disabled":{opacity:.5}},textColorPrimary:{color:e.palette.text.secondary,"&$selected":{color:e.palette.primary.main},"&$disabled":{color:e.palette.text.disabled}},textColorSecondary:{color:e.palette.text.secondary,"&$selected":{color:e.palette.secondary.main},"&$disabled":{color:e.palette.text.disabled}},selected:{},disabled:{},fullWidth:{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},wrapped:{fontSize:e.typography.pxToRem(12),lineHeight:1.5},wrapper:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"100%",flexDirection:"column"}}}),{name:"MuiTab"})($b),Xb="notifications_notifications__LDCUx",Qb="notifications_subPageWrapper__MG6ZX",Yb="notifications_tabs__Ir2iK",Gb=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=(0,e.useState)(t),o=(0,n.Z)(r,2),i=o[0],a=o[1];return{activeTab:i,handleTabChange:function(e,t){a(t)}}},Kb=e.forwardRef((function(t,n){var r=t.absolute,o=void 0!==r&&r,i=t.classes,a=t.className,s=t.component,l=void 0===s?"hr":s,c=t.flexItem,u=void 0!==c&&c,d=t.light,p=void 0!==d&&d,f=t.orientation,h=void 0===f?"horizontal":f,b=t.role,A=void 0===b?"hr"!==l?"separator":void 0:b,m=t.variant,g=void 0===m?"fullWidth":m,v=(0,Uu.Z)(t,["absolute","classes","className","component","flexItem","light","orientation","role","variant"]);return e.createElement(l,(0,Fu.Z)({className:(0,Zu.Z)(i.root,a,"fullWidth"!==g&&i[g],o&&i.absolute,u&&i.flexItem,p&&i.light,"vertical"===h&&i.vertical),role:A,ref:n},v))})),Jb=(0,Hu.Z)((function(e){return{root:{height:1,margin:0,border:"none",flexShrink:0,backgroundColor:e.palette.divider},absolute:{position:"absolute",bottom:0,left:0,width:"100%"},inset:{marginLeft:72},light:{backgroundColor:(0,Bp.Fq)(e.palette.divider,.08)},middle:{marginLeft:e.spacing(2),marginRight:e.spacing(2)},vertical:{height:"100%",width:1},flexItem:{alignSelf:"stretch",height:"auto"}}}),{name:"MuiDivider"})(Kb),eA=__webpack_require__(80307),tA="notification",nA="campaign",rA=$l((function(){var t=Fc().notificationsStore,n=dA().fetchChannelInfo;return(0,e.useEffect)(n,[]),t.smsHeaderNumberType?(0,Kl.jsxs)(Cb,{sx:{display:"flex",alignItems:"center",gap:20},children:[(0,Kl.jsxs)(Cb,{sx:{textAlign:"right"},children:["Outgoing number:",(0,Kl.jsx)("br",{}),(0,Kl.jsx)("b",{children:t.smsHeaderNumberType===tA?t.smsOutgoingNumber:t.smsCampaignOutgoingNumber})]}),(0,Kl.jsx)(Jb,{orientation:"vertical",flexItem:!0}),(0,Kl.jsxs)(Cb,{sx:{textAlign:"right",display:"flex",alignItems:"center",gap:10},children:[(0,Kl.jsx)(eA.Z,{fontSize:"large"}),(0,Kl.jsxs)(Cb,{children:["Balance:",(0,Kl.jsx)("br",{}),(0,Kl.jsx)("b",{children:t.smsRemainingMessages})," sms left"]})]}),(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",component:wu,to:"/notifications/sms/top-up",style:{textTransform:"capitalize"},children:"Top-Up Account"})]}):null})),oA="email",iA="sms",aA="message",sA="subject",lA="before",cA=$l((function(){var t,n,r,o,i=(0,e.useContext)(bA),a=Fc().clinic,s=fe().pathname,l=[{label:"Email Notifications",value:"email",route:"email"},{label:"SMS Notifications",value:"sms",route:"sms"},{label:"Marketing Campaigns",value:"campaigns",route:"marketing-campaigns"},{label:"Sent History",value:"history",route:"sent-history"}],c=Gb("email"),u=c.activeTab,d=c.handleTabChange;(0,e.useEffect)((function(){var e=l.map((function(e){return e.value})).find((function(e){return s.includes(e)}));("sms"!==e||a.sms_notifications_enabled)&&d(null,e||"email")}),[s,null===a||void 0===a?void 0:a.sms_notifications_enabled]);return(0,e.useEffect)((function(){null!==a&&void 0!==a&&a.staff.length||Re.get("/v1/staff",{params:{view:"list",location:"all"}}).then((function(e){var t=e.data;a.setStaff(t.data)}))}),[]),null!==i&&void 0!==i&&null!==(t=i.user)&&void 0!==t&&t.staff?null===i||void 0===i||null===(n=i.user)||void 0===n||!n.staff||null!==i&&void 0!==i&&null!==(r=i.user)&&void 0!==r&&null!==(o=r.staff)&&void 0!==o&&o.is_clinic_admin?(0,Kl.jsx)(Yh,{disableOutlet:!0,title:"Notifications & Campaigns",headerChildren:(0,Kl.jsx)(Cb,{ml:"auto",children:(0,Kl.jsx)(rA,{})}),children:(0,Kl.jsxs)("div",{className:Xb,children:[(0,Kl.jsx)(Hb,{className:Yb,value:u,onChange:d,indicatorColor:"primary",textColor:"primary",children:l.map((function(e){if("sms"!==e.value||a.sms_notifications_enabled)return(0,Kl.jsx)(Vb,{label:e.label,value:e.value,to:e.route,component:xu},"tab-".concat(e.value))}))}),(0,Kl.jsx)("div",{className:Qb,children:(0,Kl.jsx)(Ee,{})})]})}):"Access denied":(0,Kl.jsx)($d,{open:!0,children:(0,Kl.jsx)(Gh.Z,{})})})),uA=cA,dA=function(){var t=Fc().notificationsStore,n=(0,e.useCallback)((function(){Re.get("/v1/settings/notifications/channel-info",{params:{channel:iA}}).then((function(e){var n=e.data;return t.setSmsChannelInfo(n)}))}),[]);return{fetchChannelInfo:n}},pA=(0,e.createContext)({}),fA=["/medical-history","/external-booking","/restore-password","/password-reset","/external-prescription","/survey","/online-forms","/cdl"],hA=function(t){var r=t.children,o=he(),i=dA().fetchChannelInfo,a=fe(),s=Fc().clinic,l=Jc(),c=Au(),u=c.boot,d=c.update,p=c.shutdown,f=c.hide,h=(0,e.useState)(null),b=(0,n.Z)(h,2),A=b[0],m=b[1],g=(0,e.useState)({currency:""}),v=(0,n.Z)(g,2),y=v[0],M=v[1];(0,e.useEffect)((function(){_(),i()}),[]);var O=function(){Re.get("/v1/clinic").then((function(e){var t,n,r,o,i,a,l=e.data;l.data&&(null!==l.data.staff&&d({company:{companyId:l.data.id,name:l.data.name,website:l.data.website}}),l.data.currency=l.data.currencySign,M(null===l||void 0===l?void 0:l.data),s.setSmsNotificationsEnabled(null===l||void 0===l?void 0:l.data.sms_notifications_enabled),s.setEmailNotificationsSettings(null===l||void 0===l?void 0:l.data.email_notifications_settings),s.setPhone({phone:null===l||void 0===l?void 0:l.data.phone}),s.setSmsSender(null===l||void 0===l?void 0:l.data.sms_sender),s.setClinicName({name:null===l||void 0===l||null===(t=l.data)||void 0===t?void 0:t.name}),s.setFeatureInventoryEnabled(null===l||void 0===l||null===(n=l.data)||void 0===n?void 0:n.feature_inventory_enabled),s.setInvoiceSettings({settings_invoice_settings_logo:null===l||void 0===l||null===(r=l.data)||void 0===r?void 0:r.settings_invoice_settings_logo,settings_invoice_settings_clinic_address:null===l||void 0===l||null===(o=l.data)||void 0===o?void 0:o.settings_invoice_settings_clinic_address,settings_invoice_settings_business_name:null===l||void 0===l||null===(i=l.data)||void 0===i?void 0:i.settings_invoice_settings_business_name,settings_invoice_settings_company_number:null===l||void 0===l||null===(a=l.data)||void 0===a?void 0:a.settings_invoice_settings_company_number}))}))},_=function(e){Re.get("/v1/auth/user").then((function(t){var n=t.data;if(n.data&&(l({userId:n.data.id}),null!==n.data.staff&&u({userId:n.data.id,email:n.data.email,name:"".concat(n.data.firstName," ").concat(n.data.lastName),phone:n.data.phone,avatar:n.data.avatarUrl}),m(n.data),e))return o(e)})).catch((function(){0===fA.map((function(e){return a.pathname.includes(e)})).filter((function(e){return!0===e})).length&&o("/login")})),O()},z=function(e){window.localStorage.setItem("jwt",e),Re.defaults.headers.common.Authorization="Bearer "+e},x=function(){window.localStorage.removeItem("imp"),window.localStorage.removeItem("jwt"),s.setFeatureInventoryEnabled(!1),f(),p(),m(null)};return(0,Kl.jsx)(pA.Provider,{value:{user:A,clinic:y,setToken:z,getUserWithRedirect:_,logout:function(){x(),o("/login")},logoutWithoutNavigate:x,updateClinic:function(){O()},leaveImpersonation:function(){Re.post("/v1/impersonate/leave").then((function(e){var t=e.data;window.localStorage.removeItem("imp"),z(t.token),_("/impersonate")}))}},children:r})},bA=pA,AA=function(e,t){return AA=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},AA(e,t)};function mA(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}AA(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var gA=function(){return gA=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},gA.apply(this,arguments)};Object.create;function vA(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;if(("undefined"!==typeof globalThis?globalThis:window).FullCalendarVDom={Component:e.Component,createElement:e.createElement,render:Dl.render,createRef:e.createRef,Fragment:e.Fragment,createContext:e.createContext,createPortal:Dl.createPortal,flushSync:function(e){e()},unmountComponentAtNode:Dl.unmountComponentAtNode},"undefined"===typeof FullCalendarVDom)throw new Error("Please import the top-level fullcalendar lib before attempting to import a plugin.");var yA=FullCalendarVDom.Component,MA=FullCalendarVDom.createElement,OA=(FullCalendarVDom.render,FullCalendarVDom.createRef),_A=FullCalendarVDom.Fragment,zA=FullCalendarVDom.createContext,xA=FullCalendarVDom.createPortal,wA=(FullCalendarVDom.flushSync,FullCalendarVDom.unmountComponentAtNode,function(){function e(e,t){this.context=e,this.internalEventSource=t}return e.prototype.remove=function(){this.context.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:this.internalEventSource.sourceId})},e.prototype.refetch=function(){this.context.dispatch({type:"FETCH_EVENT_SOURCES",sourceIds:[this.internalEventSource.sourceId],isRefetch:!0})},Object.defineProperty(e.prototype,"id",{get:function(){return this.internalEventSource.publicId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"url",{get:function(){return this.internalEventSource.meta.url},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"format",{get:function(){return this.internalEventSource.meta.format},enumerable:!1,configurable:!0}),e}());function CA(e){e.parentNode&&e.parentNode.removeChild(e)}function SA(e,t){if(e.closest)return e.closest(t);if(!document.documentElement.contains(e))return null;do{if(EA(e,t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}function EA(e,t){return(e.matches||e.matchesSelector||e.msMatchesSelector).call(e,t)}function kA(e,t){for(var n=e instanceof HTMLElement?[e]:e,r=[],o=0;o<n.length;o+=1)for(var i=n[o].querySelectorAll(t),a=0;a<i.length;a+=1)r.push(i[a]);return r}var DA=/(top|left|right|bottom|width|height)$/i;function NA(e,t){for(var n in t)TA(e,n,t[n])}function TA(e,t,n){null==n?e.style[t]="":"number"===typeof n&&DA.test(t)?e.style[t]=n+"px":e.style[t]=n}function jA(e){var t,n;return null!==(n=null===(t=e.composedPath)||void 0===t?void 0:t.call(e)[0])&&void 0!==n?n:e.target}function BA(e){return e.getRootNode?e.getRootNode():document}var LA=0;function RA(){return"fc-dom-"+(LA+=1)}function qA(e){e.preventDefault()}function PA(e,t,n,r){var o=function(e,t){return function(n){var r=SA(n.target,e);r&&t.call(r,n,r)}}(n,r);return e.addEventListener(t,o),function(){e.removeEventListener(t,o)}}var IA=["webkitTransitionEnd","otransitionend","oTransitionEnd","msTransitionEnd","transitionend"];function WA(e){return gA({onClick:e},FA(e))}function FA(e){return{tabIndex:0,onKeyDown:function(t){"Enter"!==t.key&&" "!==t.key||(e(t),t.preventDefault())}}}var UA=0;function ZA(){return String(UA+=1)}function HA(){document.body.classList.add("fc-not-allowed")}function $A(){document.body.classList.remove("fc-not-allowed")}function VA(e){var t,n,r=[],o=[];for("string"===typeof e?o=e.split(/\s*,\s*/):"function"===typeof e?o=[e]:Array.isArray(e)&&(o=e),t=0;t<o.length;t+=1)"string"===typeof(n=o[t])?r.push("-"===n.charAt(0)?{field:n.substring(1),order:-1}:{field:n,order:1}):"function"===typeof n&&r.push({func:n});return r}function XA(e,t,n){var r,o;for(r=0;r<n.length;r+=1)if(o=QA(e,t,n[r]))return o;return 0}function QA(e,t,n){return n.func?n.func(e,t):YA(e[n.field],t[n.field])*(n.order||1)}function YA(e,t){return e||t?null==t?-1:null==e?1:"string"===typeof e||"string"===typeof t?String(e).localeCompare(String(t)):e-t:0}function GA(e,t){var n=String(e);return"000".substr(0,t-n.length)+n}function KA(e,t,n){return"function"===typeof e?e.apply(void 0,t):"string"===typeof e?t.reduce((function(e,t,n){return e.replace("$"+n,t||"")}),e):n}function JA(e,t){return e-t}function em(e){return e%1===0}function tm(e){var t=e.querySelector(".fc-scrollgrid-shrink-frame"),n=e.querySelector(".fc-scrollgrid-shrink-cushion");if(!t)throw new Error("needs fc-scrollgrid-shrink-frame className");if(!n)throw new Error("needs fc-scrollgrid-shrink-cushion className");return e.getBoundingClientRect().width-t.getBoundingClientRect().width+n.getBoundingClientRect().width}var nm=["sun","mon","tue","wed","thu","fri","sat"];function rm(e,t){var n=fm(e);return n[2]+=7*t,hm(n)}function om(e,t){var n=fm(e);return n[2]+=t,hm(n)}function im(e,t){var n=fm(e);return n[6]+=t,hm(n)}function am(e,t){return(t.valueOf()-e.valueOf())/864e5}function sm(e,t){return Am(e)===Am(t)?Math.round(am(e,t)):null}function lm(e){return hm([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()])}function cm(e,t,n,r){var o=hm([t,0,1+um(t,n,r)]),i=lm(e),a=Math.round(am(o,i));return Math.floor(a/7)+1}function um(e,t,n){var r=7+t-n;return-((7+hm([e,0,r]).getUTCDay()-t)%7)+r-1}function dm(e){return[e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()]}function pm(e){return new Date(e[0],e[1]||0,null==e[2]?1:e[2],e[3]||0,e[4]||0,e[5]||0)}function fm(e){return[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()]}function hm(e){return 1===e.length&&(e=e.concat([0])),new Date(Date.UTC.apply(Date,e))}function bm(e){return!isNaN(e.valueOf())}function Am(e){return 1e3*e.getUTCHours()*60*60+1e3*e.getUTCMinutes()*60+1e3*e.getUTCSeconds()+e.getUTCMilliseconds()}function mm(e,t,n,r){return{instanceId:ZA(),defId:e,range:t,forcedStartTzo:null==n?null:n,forcedEndTzo:null==r?null:r}}var gm=Object.prototype.hasOwnProperty;function vm(e,t){var n={};if(t)for(var r in t){for(var o=[],i=e.length-1;i>=0;i-=1){var a=e[i][r];if("object"===typeof a&&a)o.unshift(a);else if(void 0!==a){n[r]=a;break}}o.length&&(n[r]=vm(o))}for(i=e.length-1;i>=0;i-=1){var s=e[i];for(var l in s)l in n||(n[l]=s[l])}return n}function ym(e,t){var n={};for(var r in e)t(e[r],r)&&(n[r]=e[r]);return n}function Mm(e,t){var n={};for(var r in e)n[r]=t(e[r],r);return n}function Om(e){for(var t={},n=0,r=e;n<r.length;n++){t[r[n]]=!0}return t}function _m(e){var t=[];for(var n in e)t.push(e[n]);return t}function zm(e,t){if(e===t)return!0;for(var n in e)if(gm.call(e,n)&&!(n in t))return!1;for(var n in t)if(gm.call(t,n)&&e[n]!==t[n])return!1;return!0}function xm(e,t){var n=[];for(var r in e)gm.call(e,r)&&(r in t||n.push(r));for(var r in t)gm.call(t,r)&&e[r]!==t[r]&&n.push(r);return n}function wm(e,t,n){if(void 0===n&&(n={}),e===t)return!0;for(var r in t)if(!(r in e)||!Cm(e[r],t[r],n[r]))return!1;for(var r in e)if(!(r in t))return!1;return!0}function Cm(e,t,n){return e===t||!0===n||!!n&&n(e,t)}function Sm(e,t,n,r){void 0===t&&(t=0),void 0===r&&(r=1);var o=[];null==n&&(n=Object.keys(e).length);for(var i=t;i<n;i+=r){var a=e[i];void 0!==a&&o.push(a)}return o}function Em(e,t,n){var r=n.dateEnv,o=n.pluginHooks,i=n.options,a=e.defs,s=e.instances;for(var l in s=ym(s,(function(e){return!a[e.defId].recurringDef})),a){var c=a[l];if(c.recurringDef){var u=c.recurringDef.duration;u||(u=c.allDay?i.defaultAllDayEventDuration:i.defaultTimedEventDuration);for(var d=0,p=km(c,u,t,r,o.recurringTypes);d<p.length;d++){var f=p[d],h=mm(l,{start:f,end:r.add(f,u)});s[h.instanceId]=h}}}return{defs:a,instances:s}}function km(e,t,n,r,o){var i=o[e.recurringDef.typeId].expand(e.recurringDef.typeData,{start:r.subtract(n.start,t),end:n.end},r);return e.allDay&&(i=i.map(lm)),i}var Dm=["years","months","days","milliseconds"],Nm=/^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;function Tm(e,t){var n;return"string"===typeof e?function(e){var t=Nm.exec(e);if(t){var n=t[1]?-1:1;return{years:0,months:0,days:n*(t[2]?parseInt(t[2],10):0),milliseconds:n*(60*(t[3]?parseInt(t[3],10):0)*60*1e3+60*(t[4]?parseInt(t[4],10):0)*1e3+1e3*(t[5]?parseInt(t[5],10):0)+(t[6]?parseInt(t[6],10):0))}}return null}(e):"object"===typeof e&&e?jm(e):"number"===typeof e?jm(((n={})[t||"milliseconds"]=e,n)):null}function jm(e){var t={years:e.years||e.year||0,months:e.months||e.month||0,days:e.days||e.day||0,milliseconds:60*(e.hours||e.hour||0)*60*1e3+60*(e.minutes||e.minute||0)*1e3+1e3*(e.seconds||e.second||0)+(e.milliseconds||e.millisecond||e.ms||0)},n=e.weeks||e.week;return n&&(t.days+=7*n,t.specifiedWeeks=!0),t}function Bm(e,t){return{years:e.years+t.years,months:e.months+t.months,days:e.days+t.days,milliseconds:e.milliseconds+t.milliseconds}}function Lm(e){return Rm(e)/864e5}function Rm(e){return 31536e6*e.years+2592e6*e.months+864e5*e.days+e.milliseconds}function qm(e,t){for(var n=null,r=0;r<Dm.length;r+=1){var o=Dm[r];if(t[o]){var i=e[o]/t[o];if(!em(i)||null!==n&&n!==i)return null;n=i}else if(e[o])return null}return n}function Pm(e){var t=e.milliseconds;if(t){if(t%1e3!==0)return{unit:"millisecond",value:t};if(t%6e4!==0)return{unit:"second",value:t/1e3};if(t%36e5!==0)return{unit:"minute",value:t/6e4};if(t)return{unit:"hour",value:t/36e5}}return e.days?e.specifiedWeeks&&e.days%7===0?{unit:"week",value:e.days/7}:{unit:"day",value:e.days}:e.months?{unit:"month",value:e.months}:e.years?{unit:"year",value:e.years}:{unit:"millisecond",value:0}}function Im(e,t,n){void 0===n&&(n=!1);var r=e.toISOString();return r=r.replace(".000",""),n&&(r=r.replace("T00:00:00Z","")),r.length>10&&(null==t?r=r.replace("Z",""):0!==t&&(r=r.replace("Z",Fm(t,!0)))),r}function Wm(e){return e.toISOString().replace(/T.*$/,"")}function Fm(e,t){void 0===t&&(t=!1);var n=e<0?"-":"+",r=Math.abs(e),o=Math.floor(r/60),i=Math.round(r%60);return t?n+GA(o,2)+":"+GA(i,2):"GMT"+n+o+(i?":"+GA(i,2):"")}function Um(e,t,n){if(e===t)return!0;var r,o=e.length;if(o!==t.length)return!1;for(r=0;r<o;r+=1)if(!(n?n(e[r],t[r]):e[r]===t[r]))return!1;return!0}function Zm(e,t,n){var r,o;return function(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];if(r){if(!Um(r,i)){n&&n(o);var s=e.apply(this,i);t&&t(s,o)||(o=s)}}else o=e.apply(this,i);return r=i,o}}function Hm(e,t,n){var r,o,i=this;return function(a){if(r){if(!zm(r,a)){n&&n(o);var s=e.call(i,a);t&&t(s,o)||(o=s)}}else o=e.call(i,a);return r=a,o}}function $m(e,t,n){var r=this,o=[],i=[];return function(a){for(var s=o.length,l=a.length,c=0;c<s;c+=1)if(a[c]){if(!Um(o[c],a[c])){n&&n(i[c]);var u=e.apply(r,a[c]);t&&t(u,i[c])||(i[c]=u)}}else n&&n(i[c]);for(;c<l;c+=1)i[c]=e.apply(r,a[c]);return o=a,i.splice(l),i}}function Vm(e,t,n){var r=this,o={},i={};return function(a){var s={};for(var l in a)if(i[l])if(Um(o[l],a[l]))s[l]=i[l];else{n&&n(i[l]);var c=e.apply(r,a[l]);s[l]=t&&t(c,i[l])?i[l]:c}else s[l]=e.apply(r,a[l]);return o=a,i=s,s}}var Xm={week:3,separator:0,omitZeroMinute:0,meridiem:0,omitCommas:0},Qm={timeZoneName:7,era:6,year:5,month:4,day:2,weekday:2,hour:1,minute:1,second:1},Ym=/\s*([ap])\.?m\.?/i,Gm=/,/g,Km=/\s+/g,Jm=/\u200e/g,eg=/UTC|GMT/,tg=function(){function e(e){var t={},n={},r=0;for(var o in e)o in Xm?(n[o]=e[o],r=Math.max(Xm[o],r)):(t[o]=e[o],o in Qm&&(r=Math.max(Qm[o],r)));this.standardDateProps=t,this.extendedSettings=n,this.severity=r,this.buildFormattingFunc=Zm(ng)}return e.prototype.format=function(e,t){return this.buildFormattingFunc(this.standardDateProps,this.extendedSettings,t)(e)},e.prototype.formatRange=function(e,t,n,r){var o=this.standardDateProps,i=this.extendedSettings,a=function(e,t,n){if(n.getMarkerYear(e)!==n.getMarkerYear(t))return 5;if(n.getMarkerMonth(e)!==n.getMarkerMonth(t))return 4;if(n.getMarkerDay(e)!==n.getMarkerDay(t))return 2;if(Am(e)!==Am(t))return 1;return 0}(e.marker,t.marker,n.calendarSystem);if(!a)return this.format(e,n);var s=a;!(s>1)||"numeric"!==o.year&&"2-digit"!==o.year||"numeric"!==o.month&&"2-digit"!==o.month||"numeric"!==o.day&&"2-digit"!==o.day||(s=1);var l=this.format(e,n),c=this.format(t,n);if(l===c)return l;var u=ng(function(e,t){var n={};for(var r in e)(!(r in Qm)||Qm[r]<=t)&&(n[r]=e[r]);return n}(o,s),i,n),d=u(e),p=u(t),f=function(e,t,n,r){var o=0;for(;o<e.length;){var i=e.indexOf(t,o);if(-1===i)break;var a=e.substr(0,i);o=i+t.length;for(var s=e.substr(o),l=0;l<n.length;){var c=n.indexOf(r,l);if(-1===c)break;var u=n.substr(0,c);l=c+r.length;var d=n.substr(l);if(a===u&&s===d)return{before:a,after:s}}}return null}(l,d,c,p),h=i.separator||r||n.defaultSeparator||"";return f?f.before+d+h+p+f.after:l+h+c},e.prototype.getLargestUnit=function(){switch(this.severity){case 7:case 6:case 5:return"year";case 4:return"month";case 3:return"week";case 2:return"day";default:return"time"}},e}();function ng(e,t,n){var r=Object.keys(e).length;return 1===r&&"short"===e.timeZoneName?function(e){return Fm(e.timeZoneOffset)}:0===r&&t.week?function(e){return function(e,t,n,r,o){var i=[];"long"===o?i.push(n):"short"!==o&&"narrow"!==o||i.push(t);"long"!==o&&"short"!==o||i.push(" ");i.push(r.simpleNumberFormat.format(e)),"rtl"===r.options.direction&&i.reverse();return i.join("")}(n.computeWeekNumber(e.marker),n.weekText,n.weekTextLong,n.locale,t.week)}:function(e,t,n){e=gA({},e),t=gA({},t),function(e,t){e.timeZoneName&&(e.hour||(e.hour="2-digit"),e.minute||(e.minute="2-digit"));"long"===e.timeZoneName&&(e.timeZoneName="short");t.omitZeroMinute&&(e.second||e.millisecond)&&delete t.omitZeroMinute}(e,t),e.timeZone="UTC";var r,o=new Intl.DateTimeFormat(n.locale.codes,e);if(t.omitZeroMinute){var i=gA({},e);delete i.minute,r=new Intl.DateTimeFormat(n.locale.codes,i)}return function(i){var a=i.marker;return function(e,t,n,r,o){e=e.replace(Jm,""),"short"===n.timeZoneName&&(e=function(e,t){var n=!1;e=e.replace(eg,(function(){return n=!0,t})),n||(e+=" "+t);return e}(e,"UTC"===o.timeZone||null==t.timeZoneOffset?"UTC":Fm(t.timeZoneOffset)));r.omitCommas&&(e=e.replace(Gm,"").trim());r.omitZeroMinute&&(e=e.replace(":00",""));!1===r.meridiem?e=e.replace(Ym,"").trim():"narrow"===r.meridiem?e=e.replace(Ym,(function(e,t){return t.toLocaleLowerCase()})):"short"===r.meridiem?e=e.replace(Ym,(function(e,t){return t.toLocaleLowerCase()+"m"})):"lowercase"===r.meridiem&&(e=e.replace(Ym,(function(e){return e.toLocaleLowerCase()})));return e=e.replace(Km," "),e=e.trim(),e}((r&&!a.getUTCMinutes()?r:o).format(a),i,e,t,n)}}(e,t,n)}function rg(e,t){var n=t.markerToArray(e.marker);return{marker:e.marker,timeZoneOffset:e.timeZoneOffset,array:n,year:n[0],month:n[1],day:n[2],hour:n[3],minute:n[4],second:n[5],millisecond:n[6]}}function og(e,t,n,r){var o=rg(e,n.calendarSystem);return{date:o,start:o,end:t?rg(t,n.calendarSystem):null,timeZone:n.timeZone,localeCodes:n.locale.codes,defaultSeparator:r||n.defaultSeparator}}var ig=function(){function e(e){this.cmdStr=e}return e.prototype.format=function(e,t,n){return t.cmdFormatter(this.cmdStr,og(e,null,t,n))},e.prototype.formatRange=function(e,t,n,r){return n.cmdFormatter(this.cmdStr,og(e,t,n,r))},e}(),ag=function(){function e(e){this.func=e}return e.prototype.format=function(e,t,n){return this.func(og(e,null,t,n))},e.prototype.formatRange=function(e,t,n,r){return this.func(og(e,t,n,r))},e}();function sg(e){return"object"===typeof e&&e?new tg(e):"string"===typeof e?new ig(e):"function"===typeof e?new ag(e):null}var lg={navLinkDayClick:mg,navLinkWeekClick:mg,duration:Tm,bootstrapFontAwesome:mg,buttonIcons:mg,customButtons:mg,defaultAllDayEventDuration:Tm,defaultTimedEventDuration:Tm,nextDayThreshold:Tm,scrollTime:Tm,scrollTimeReset:Boolean,slotMinTime:Tm,slotMaxTime:Tm,dayPopoverFormat:sg,slotDuration:Tm,snapDuration:Tm,headerToolbar:mg,footerToolbar:mg,defaultRangeSeparator:String,titleRangeSeparator:String,forceEventDuration:Boolean,dayHeaders:Boolean,dayHeaderFormat:sg,dayHeaderClassNames:mg,dayHeaderContent:mg,dayHeaderDidMount:mg,dayHeaderWillUnmount:mg,dayCellClassNames:mg,dayCellContent:mg,dayCellDidMount:mg,dayCellWillUnmount:mg,initialView:String,aspectRatio:Number,weekends:Boolean,weekNumberCalculation:mg,weekNumbers:Boolean,weekNumberClassNames:mg,weekNumberContent:mg,weekNumberDidMount:mg,weekNumberWillUnmount:mg,editable:Boolean,viewClassNames:mg,viewDidMount:mg,viewWillUnmount:mg,nowIndicator:Boolean,nowIndicatorClassNames:mg,nowIndicatorContent:mg,nowIndicatorDidMount:mg,nowIndicatorWillUnmount:mg,showNonCurrentDates:Boolean,lazyFetching:Boolean,startParam:String,endParam:String,timeZoneParam:String,timeZone:String,locales:mg,locale:mg,themeSystem:String,dragRevertDuration:Number,dragScroll:Boolean,allDayMaintainDuration:Boolean,unselectAuto:Boolean,dropAccept:mg,eventOrder:VA,eventOrderStrict:Boolean,handleWindowResize:Boolean,windowResizeDelay:Number,longPressDelay:Number,eventDragMinDistance:Number,expandRows:Boolean,height:mg,contentHeight:mg,direction:String,weekNumberFormat:sg,eventResizableFromStart:Boolean,displayEventTime:Boolean,displayEventEnd:Boolean,weekText:String,weekTextLong:String,progressiveEventRendering:Boolean,businessHours:mg,initialDate:mg,now:mg,eventDataTransform:mg,stickyHeaderDates:mg,stickyFooterScrollbar:mg,viewHeight:mg,defaultAllDay:Boolean,eventSourceFailure:mg,eventSourceSuccess:mg,eventDisplay:String,eventStartEditable:Boolean,eventDurationEditable:Boolean,eventOverlap:mg,eventConstraint:mg,eventAllow:mg,eventBackgroundColor:String,eventBorderColor:String,eventTextColor:String,eventColor:String,eventClassNames:mg,eventContent:mg,eventDidMount:mg,eventWillUnmount:mg,selectConstraint:mg,selectOverlap:mg,selectAllow:mg,droppable:Boolean,unselectCancel:String,slotLabelFormat:mg,slotLaneClassNames:mg,slotLaneContent:mg,slotLaneDidMount:mg,slotLaneWillUnmount:mg,slotLabelClassNames:mg,slotLabelContent:mg,slotLabelDidMount:mg,slotLabelWillUnmount:mg,dayMaxEvents:mg,dayMaxEventRows:mg,dayMinWidth:Number,slotLabelInterval:Tm,allDayText:String,allDayClassNames:mg,allDayContent:mg,allDayDidMount:mg,allDayWillUnmount:mg,slotMinWidth:Number,navLinks:Boolean,eventTimeFormat:sg,rerenderDelay:Number,moreLinkText:mg,moreLinkHint:mg,selectMinDistance:Number,selectable:Boolean,selectLongPressDelay:Number,eventLongPressDelay:Number,selectMirror:Boolean,eventMaxStack:Number,eventMinHeight:Number,eventMinWidth:Number,eventShortHeight:Number,slotEventOverlap:Boolean,plugins:mg,firstDay:Number,dayCount:Number,dateAlignment:String,dateIncrement:Tm,hiddenDays:mg,monthMode:Boolean,fixedWeekCount:Boolean,validRange:mg,visibleRange:mg,titleFormat:mg,eventInteractive:Boolean,noEventsText:String,viewHint:mg,navLinkHint:mg,closeHint:String,timeHint:String,eventHint:String,moreLinkClick:mg,moreLinkClassNames:mg,moreLinkContent:mg,moreLinkDidMount:mg,moreLinkWillUnmount:mg},cg={eventDisplay:"auto",defaultRangeSeparator:" - ",titleRangeSeparator:" \u2013 ",defaultTimedEventDuration:"01:00:00",defaultAllDayEventDuration:{day:1},forceEventDuration:!1,nextDayThreshold:"00:00:00",dayHeaders:!0,initialView:"",aspectRatio:1.35,headerToolbar:{start:"title",center:"",end:"today prev,next"},weekends:!0,weekNumbers:!1,weekNumberCalculation:"local",editable:!1,nowIndicator:!1,scrollTime:"06:00:00",scrollTimeReset:!0,slotMinTime:"00:00:00",slotMaxTime:"24:00:00",showNonCurrentDates:!0,lazyFetching:!0,startParam:"start",endParam:"end",timeZoneParam:"timeZone",timeZone:"local",locales:[],locale:"",themeSystem:"standard",dragRevertDuration:500,dragScroll:!0,allDayMaintainDuration:!1,unselectAuto:!0,dropAccept:"*",eventOrder:"start,-duration,allDay,title",dayPopoverFormat:{month:"long",day:"numeric",year:"numeric"},handleWindowResize:!0,windowResizeDelay:100,longPressDelay:1e3,eventDragMinDistance:5,expandRows:!1,navLinks:!1,selectable:!1,eventMinHeight:15,eventMinWidth:30,eventShortHeight:30},ug={datesSet:mg,eventsSet:mg,eventAdd:mg,eventChange:mg,eventRemove:mg,windowResize:mg,eventClick:mg,eventMouseEnter:mg,eventMouseLeave:mg,select:mg,unselect:mg,loading:mg,_unmount:mg,_beforeprint:mg,_afterprint:mg,_noEventDrop:mg,_noEventResize:mg,_resize:mg,_scrollRequest:mg},dg={buttonText:mg,buttonHints:mg,views:mg,plugins:mg,initialEvents:mg,events:mg,eventSources:mg},pg={headerToolbar:fg,footerToolbar:fg,buttonText:fg,buttonHints:fg,buttonIcons:fg,dateIncrement:fg};function fg(e,t){return"object"===typeof e&&"object"===typeof t&&e&&t?zm(e,t):e===t}var hg={type:String,component:mg,buttonText:String,buttonTextKey:String,dateProfileGeneratorClass:mg,usesMinMaxTime:Boolean,classNames:mg,content:mg,didMount:mg,willUnmount:mg};function bg(e){return vm(e,pg)}function Ag(e,t){var n={},r={};for(var o in t)o in e&&(n[o]=t[o](e[o]));for(var o in e)o in t||(r[o]=e[o]);return{refined:n,extra:r}}function mg(e){return e}function gg(e,t,n,r){for(var o={defs:{},instances:{}},i=jg(n),a=0,s=e;a<s.length;a++){var l=Ng(s[a],t,n,r,i);l&&vg(l,o)}return o}function vg(e,t){return void 0===t&&(t={defs:{},instances:{}}),t.defs[e.def.defId]=e.def,e.instance&&(t.instances[e.instance.instanceId]=e.instance),t}function yg(e,t){var n=e.instances[t];if(n){var r=e.defs[n.defId],o=Og(e,(function(e){return t=r,n=e,Boolean(t.groupId&&t.groupId===n.groupId);var t,n}));return o.defs[r.defId]=r,o.instances[n.instanceId]=n,o}return{defs:{},instances:{}}}function Mg(e,t){return{defs:gA(gA({},e.defs),t.defs),instances:gA(gA({},e.instances),t.instances)}}function Og(e,t){var n=ym(e.defs,t),r=ym(e.instances,(function(e){return n[e.defId]}));return{defs:n,instances:r}}function _g(e){return Array.isArray(e)?e:"string"===typeof e?e.split(/\s+/):[]}var zg={display:String,editable:Boolean,startEditable:Boolean,durationEditable:Boolean,constraint:mg,overlap:mg,allow:mg,className:_g,classNames:_g,color:String,backgroundColor:String,borderColor:String,textColor:String},xg={display:null,startEditable:null,durationEditable:null,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]};function wg(e,t){var n=function(e,t){return Array.isArray(e)?gg(e,null,t,!0):"object"===typeof e&&e?gg([e],null,t,!0):null!=e?String(e):null}(e.constraint,t);return{display:e.display||null,startEditable:null!=e.startEditable?e.startEditable:e.editable,durationEditable:null!=e.durationEditable?e.durationEditable:e.editable,constraints:null!=n?[n]:[],overlap:null!=e.overlap?e.overlap:null,allows:null!=e.allow?[e.allow]:[],backgroundColor:e.backgroundColor||e.color||"",borderColor:e.borderColor||e.color||"",textColor:e.textColor||"",classNames:(e.className||[]).concat(e.classNames||[])}}function Cg(e){return e.reduce(Sg,xg)}function Sg(e,t){return{display:null!=t.display?t.display:e.display,startEditable:null!=t.startEditable?t.startEditable:e.startEditable,durationEditable:null!=t.durationEditable?t.durationEditable:e.durationEditable,constraints:e.constraints.concat(t.constraints),overlap:"boolean"===typeof t.overlap?t.overlap:e.overlap,allows:e.allows.concat(t.allows),backgroundColor:t.backgroundColor||e.backgroundColor,borderColor:t.borderColor||e.borderColor,textColor:t.textColor||e.textColor,classNames:e.classNames.concat(t.classNames)}}var Eg={id:String,groupId:String,title:String,url:String,interactive:Boolean},kg={start:mg,end:mg,date:mg,allDay:Boolean},Dg=gA(gA(gA({},Eg),kg),{extendedProps:mg});function Ng(e,t,n,r,o){void 0===o&&(o=jg(n));var i=Tg(e,n,o),a=i.refined,s=i.extra,l=function(e,t){var n=null;e&&(n=e.defaultAllDay);null==n&&(n=t.options.defaultAllDay);return n}(t,n),c=function(e,t,n,r){for(var o=0;o<r.length;o+=1){var i=r[o].parse(e,n);if(i){var a=e.allDay;return null==a&&null==(a=t)&&null==(a=i.allDayGuess)&&(a=!1),{allDay:a,duration:i.duration,typeData:i.typeData,typeId:o}}}return null}(a,l,n.dateEnv,n.pluginHooks.recurringTypes);if(c)return(u=Bg(a,s,t?t.sourceId:"",c.allDay,Boolean(c.duration),n)).recurringDef={typeId:c.typeId,typeData:c.typeData,duration:c.duration},{def:u,instance:null};var u,d=function(e,t,n,r){var o,i,a=e.allDay,s=null,l=!1,c=null,u=null!=e.start?e.start:e.date;if(o=n.dateEnv.createMarkerMeta(u),o)s=o.marker;else if(!r)return null;null!=e.end&&(i=n.dateEnv.createMarkerMeta(e.end));null==a&&(a=null!=t?t:(!o||o.isTimeUnspecified)&&(!i||i.isTimeUnspecified));a&&s&&(s=lm(s));i&&(c=i.marker,a&&(c=lm(c)),s&&c<=s&&(c=null));c?l=!0:r||(l=n.options.forceEventDuration||!1,c=n.dateEnv.add(s,a?n.options.defaultAllDayEventDuration:n.options.defaultTimedEventDuration));return{allDay:a,hasEnd:l,range:{start:s,end:c},forcedStartTzo:o?o.forcedTzo:null,forcedEndTzo:i?i.forcedTzo:null}}(a,l,n,r);return d?{def:u=Bg(a,s,t?t.sourceId:"",d.allDay,d.hasEnd,n),instance:mm(u.defId,d.range,d.forcedStartTzo,d.forcedEndTzo)}:null}function Tg(e,t,n){return void 0===n&&(n=jg(t)),Ag(e,n)}function jg(e){return gA(gA(gA({},zg),Dg),e.pluginHooks.eventRefiners)}function Bg(e,t,n,r,o,i){for(var a={title:e.title||"",groupId:e.groupId||"",publicId:e.id||"",url:e.url||"",recurringDef:null,defId:ZA(),sourceId:n,allDay:r,hasEnd:o,interactive:e.interactive,ui:wg(e,i),extendedProps:gA(gA({},e.extendedProps||{}),t)},s=0,l=i.pluginHooks.eventDefMemberAdders;s<l.length;s++){var c=l[s];gA(a,c(e))}return Object.freeze(a.ui.classNames),Object.freeze(a.extendedProps),a}function Lg(e){var t=Math.floor(am(e.start,e.end))||1,n=lm(e.start);return{start:n,end:om(n,t)}}function Rg(e,t){void 0===t&&(t=Tm(0));var n=null,r=null;if(e.end){r=lm(e.end);var o=e.end.valueOf()-r.valueOf();o&&o>=Rm(t)&&(r=om(r,1))}return e.start&&(n=lm(e.start),r&&r<=n&&(r=om(n,1))),{start:n,end:r}}function qg(e,t,n,r){return"year"===r?Tm(n.diffWholeYears(e,t),"year"):"month"===r?Tm(n.diffWholeMonths(e,t),"month"):function(e,t){var n=lm(e),r=lm(t);return{years:0,months:0,days:Math.round(am(n,r)),milliseconds:t.valueOf()-r.valueOf()-(e.valueOf()-n.valueOf())}}(e,t)}function Pg(e,t){var n,r,o=[],i=t.start;for(e.sort(Ig),n=0;n<e.length;n+=1)(r=e[n]).start>i&&o.push({start:i,end:r.start}),r.end>i&&(i=r.end);return i<t.end&&o.push({start:i,end:t.end}),o}function Ig(e,t){return e.start.valueOf()-t.start.valueOf()}function Wg(e,t){var n=e.start,r=e.end,o=null;return null!==t.start&&(n=null===n?t.start:new Date(Math.max(n.valueOf(),t.start.valueOf()))),null!=t.end&&(r=null===r?t.end:new Date(Math.min(r.valueOf(),t.end.valueOf()))),(null===n||null===r||n<r)&&(o={start:n,end:r}),o}function Fg(e,t){return(null===e.start?null:e.start.valueOf())===(null===t.start?null:t.start.valueOf())&&(null===e.end?null:e.end.valueOf())===(null===t.end?null:t.end.valueOf())}function Ug(e,t){return(null===e.end||null===t.start||e.end>t.start)&&(null===e.start||null===t.end||e.start<t.end)}function Zg(e,t){return(null===e.start||null!==t.start&&t.start>=e.start)&&(null===e.end||null!==t.end&&t.end<=e.end)}function Hg(e,t){return(null===e.start||t>=e.start)&&(null===e.end||t<e.end)}function $g(e,t,n,r){var o={},i={},a={},s=[],l=[],c=Qg(e.defs,t);for(var u in e.defs){"inverse-background"===(f=c[(y=e.defs[u]).defId]).display&&(y.groupId?(o[y.groupId]=[],a[y.groupId]||(a[y.groupId]=y)):i[u]=[])}for(var d in e.instances){var p=e.instances[d],f=c[(y=e.defs[p.defId]).defId],h=p.range,b=!y.allDay&&r?Rg(h,r):h,A=Wg(b,n);A&&("inverse-background"===f.display?y.groupId?o[y.groupId].push(A):i[p.defId].push(A):"none"!==f.display&&("background"===f.display?s:l).push({def:y,ui:f,instance:p,range:A,isStart:b.start&&b.start.valueOf()===A.start.valueOf(),isEnd:b.end&&b.end.valueOf()===A.end.valueOf()}))}for(var m in o)for(var g=0,v=Pg(o[m],n);g<v.length;g++){var y,M=v[g];f=c[(y=a[m]).defId];s.push({def:y,ui:f,instance:null,range:M,isStart:!1,isEnd:!1})}for(var u in i)for(var O=0,_=Pg(i[u],n);O<_.length;O++){M=_[O];s.push({def:e.defs[u],ui:c[u],instance:null,range:M,isStart:!1,isEnd:!1})}return{bg:s,fg:l}}function Vg(e,t){e.fcSeg=t}function Xg(e){return e.fcSeg||e.parentNode.fcSeg||null}function Qg(e,t){return Mm(e,(function(e){return Yg(e,t)}))}function Yg(e,t){var n=[];return t[""]&&n.push(t[""]),t[e.defId]&&n.push(t[e.defId]),n.push(e.ui),Cg(n)}function Gg(e,t){var n=e.map(Kg);return n.sort((function(e,n){return XA(e,n,t)})),n.map((function(e){return e._seg}))}function Kg(e){var t=e.eventRange,n=t.def,r=t.instance?t.instance.range:t.range,o=r.start?r.start.valueOf():0,i=r.end?r.end.valueOf():0;return gA(gA(gA({},n.extendedProps),n),{id:n.publicId,start:o,end:i,duration:i-o,allDay:Number(n.allDay),_seg:e})}function Jg(e,t){for(var n=t.pluginHooks.isDraggableTransformers,r=e.eventRange,o=r.def,i=r.ui,a=i.startEditable,s=0,l=n;s<l.length;s++){a=(0,l[s])(a,o,i,t)}return a}function ev(e,t){return e.isStart&&e.eventRange.ui.durationEditable&&t.options.eventResizableFromStart}function tv(e,t){return e.isEnd&&e.eventRange.ui.durationEditable}function nv(e,t,n,r,o,i,a){var s=n.dateEnv,l=n.options,c=l.displayEventTime,u=l.displayEventEnd,d=e.eventRange.def,p=e.eventRange.instance;null==c&&(c=!1!==r),null==u&&(u=!1!==o);var f=p.range.start,h=p.range.end,b=i||e.start||e.eventRange.range.start,A=a||e.end||e.eventRange.range.end,m=lm(f).valueOf()===lm(b).valueOf(),g=lm(im(h,-1)).valueOf()===lm(im(A,-1)).valueOf();return c&&!d.allDay&&(m||g)?(b=m?f:b,A=g?h:A,u&&d.hasEnd?s.formatRange(b,A,t,{forcedStartTzo:i?null:p.forcedStartTzo,forcedEndTzo:a?null:p.forcedEndTzo}):s.format(b,t,{forcedTzo:i?null:p.forcedStartTzo})):""}function rv(e,t,n){var r=e.eventRange.range;return{isPast:r.end<(n||t.start),isFuture:r.start>=(n||t.end),isToday:t&&Hg(t,r.start)}}function ov(e){return e.instance?e.instance.instanceId:e.def.defId+":"+e.range.start.toISOString()}function iv(e,t){var n=e.eventRange,r=n.def,o=n.instance,i=r.url;if(i)return{href:i};var a=t.emitter,s=t.options.eventInteractive;return null==s&&null==(s=r.interactive)&&(s=Boolean(a.hasHandlers("eventClick"))),s?FA((function(e){a.trigger("eventClick",{el:e.target,event:new Ov(t,r,o),jsEvent:e,view:t.viewApi})})):{}}var av={start:mg,end:mg,allDay:Boolean};function sv(e,t,n){var r=function(e,t){var n=Ag(e,av),r=n.refined,o=n.extra,i=r.start?t.createMarkerMeta(r.start):null,a=r.end?t.createMarkerMeta(r.end):null,s=r.allDay;null==s&&(s=i&&i.isTimeUnspecified&&(!a||a.isTimeUnspecified));return gA({range:{start:i?i.marker:null,end:a?a.marker:null},allDay:s},o)}(e,t),o=r.range;if(!o.start)return null;if(!o.end){if(null==n)return null;o.end=t.add(o.start,n)}return r}function lv(e,t,n){return gA(gA({},cv(e,t,n)),{timeZone:t.timeZone})}function cv(e,t,n){return{start:t.toDate(e.start),end:t.toDate(e.end),startStr:t.formatIso(e.start,{omitTime:n}),endStr:t.formatIso(e.end,{omitTime:n})}}function uv(e,t,n){n.emitter.trigger("select",gA(gA({},dv(e,n)),{jsEvent:t?t.origEvent:null,view:n.viewApi||n.calendarApi.view}))}function dv(e,t){for(var n,r,o={},i=0,a=t.pluginHooks.dateSpanTransforms;i<a.length;i++){var s=a[i];gA(o,s(e,t))}return gA(o,(n=e,r=t.dateEnv,gA(gA({},cv(n.range,r,n.allDay)),{allDay:n.allDay}))),o}function pv(e,t,n){var r=n.dateEnv,o=n.options,i=t;return e?(i=lm(i),i=r.add(i,o.defaultAllDayEventDuration)):i=r.add(i,o.defaultTimedEventDuration),i}function fv(e,t,n,r){var o=Qg(e.defs,t),i={defs:{},instances:{}};for(var a in e.defs){var s=e.defs[a];i.defs[a]=hv(s,o[a],n,r)}for(var l in e.instances){var c=e.instances[l];s=i.defs[c.defId];i.instances[l]=bv(c,s,o[c.defId],n,r)}return i}function hv(e,t,n,r){var o=n.standardProps||{};null==o.hasEnd&&t.durationEditable&&(n.startDelta||n.endDelta)&&(o.hasEnd=!0);var i=gA(gA(gA({},e),o),{ui:gA(gA({},e.ui),o.ui)});n.extendedProps&&(i.extendedProps=gA(gA({},i.extendedProps),n.extendedProps));for(var a=0,s=r.pluginHooks.eventDefMutationAppliers;a<s.length;a++){(0,s[a])(i,n,r)}return!i.hasEnd&&r.options.forceEventDuration&&(i.hasEnd=!0),i}function bv(e,t,n,r,o){var i=o.dateEnv,a=r.standardProps&&!0===r.standardProps.allDay,s=r.standardProps&&!1===r.standardProps.hasEnd,l=gA({},e);return a&&(l.range=Lg(l.range)),r.datesDelta&&n.startEditable&&(l.range={start:i.add(l.range.start,r.datesDelta),end:i.add(l.range.end,r.datesDelta)}),r.startDelta&&n.durationEditable&&(l.range={start:i.add(l.range.start,r.startDelta),end:l.range.end}),r.endDelta&&n.durationEditable&&(l.range={start:l.range.start,end:i.add(l.range.end,r.endDelta)}),s&&(l.range={start:l.range.start,end:pv(t.allDay,l.range.start,o)}),t.allDay&&(l.range={start:lm(l.range.start),end:lm(l.range.end)}),l.range.end<l.range.start&&(l.range.end=pv(t.allDay,l.range.start,o)),l}var Av=function(){function e(e,t,n){this.type=e,this.getCurrentData=t,this.dateEnv=n}return Object.defineProperty(e.prototype,"calendar",{get:function(){return this.getCurrentData().calendarApi},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this.getCurrentData().viewTitle},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeStart",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.start)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeEnd",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.end)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentStart",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.start)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentEnd",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.end)},enumerable:!1,configurable:!0}),e.prototype.getOption=function(e){return this.getCurrentData().options[e]},e}(),mv={id:String,defaultAllDay:Boolean,url:String,format:String,events:mg,eventDataTransform:mg,success:mg,failure:mg};function gv(e,t,n){var r;if(void 0===n&&(n=vv(t)),"string"===typeof e?r={url:e}:"function"===typeof e||Array.isArray(e)?r={events:e}:"object"===typeof e&&e&&(r=e),r){var o=Ag(r,n),i=o.refined,a=o.extra,s=function(e,t){for(var n=t.pluginHooks.eventSourceDefs,r=n.length-1;r>=0;r-=1){var o=n[r].parseMeta(e);if(o)return{sourceDefId:r,meta:o}}return null}(i,t);if(s)return{_raw:e,isFetching:!1,latestFetchId:"",fetchRange:null,defaultAllDay:i.defaultAllDay,eventDataTransform:i.eventDataTransform,success:i.success,failure:i.failure,publicId:i.id||"",sourceId:ZA(),sourceDefId:s.sourceDefId,meta:s.meta,ui:wg(i,t),extendedProps:a}}return null}function vv(e){return gA(gA(gA({},zg),mv),e.pluginHooks.eventSourceRefiners)}function yv(e,t){return"function"===typeof e&&(e=e()),null==e?t.createNowMarker():t.createMarker(e)}var Mv=function(){function e(){}return e.prototype.getCurrentData=function(){return this.currentDataManager.getCurrentData()},e.prototype.dispatch=function(e){return this.currentDataManager.dispatch(e)},Object.defineProperty(e.prototype,"view",{get:function(){return this.getCurrentData().viewApi},enumerable:!1,configurable:!0}),e.prototype.batchRendering=function(e){e()},e.prototype.updateSize=function(){this.trigger("_resize",!0)},e.prototype.setOption=function(e,t){this.dispatch({type:"SET_OPTION",optionName:e,rawOptionValue:t})},e.prototype.getOption=function(e){return this.currentDataManager.currentCalendarOptionsInput[e]},e.prototype.getAvailableLocaleCodes=function(){return Object.keys(this.getCurrentData().availableRawLocales)},e.prototype.on=function(e,t){var n=this.currentDataManager;n.currentCalendarOptionsRefiners[e]?n.emitter.on(e,t):console.warn("Unknown listener name '"+e+"'")},e.prototype.off=function(e,t){this.currentDataManager.emitter.off(e,t)},e.prototype.trigger=function(e){for(var t,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];(t=this.currentDataManager.emitter).trigger.apply(t,vA([e],n))},e.prototype.changeView=function(e,t){var n=this;this.batchRendering((function(){if(n.unselect(),t)if(t.start&&t.end)n.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e}),n.dispatch({type:"SET_OPTION",optionName:"visibleRange",rawOptionValue:t});else{var r=n.getCurrentData().dateEnv;n.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e,dateMarker:r.createMarker(t)})}else n.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e})}))},e.prototype.zoomTo=function(e,t){var n;t=t||"day",n=this.getCurrentData().viewSpecs[t]||this.getUnitViewSpec(t),this.unselect(),n?this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:n.type,dateMarker:e}):this.dispatch({type:"CHANGE_DATE",dateMarker:e})},e.prototype.getUnitViewSpec=function(e){var t,n,r=this.getCurrentData(),o=r.viewSpecs,i=r.toolbarConfig,a=[].concat(i.header?i.header.viewsWithButtons:[],i.footer?i.footer.viewsWithButtons:[]);for(var s in o)a.push(s);for(t=0;t<a.length;t+=1)if((n=o[a[t]])&&n.singleUnit===e)return n;return null},e.prototype.prev=function(){this.unselect(),this.dispatch({type:"PREV"})},e.prototype.next=function(){this.unselect(),this.dispatch({type:"NEXT"})},e.prototype.prevYear=function(){var e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.addYears(e.currentDate,-1)})},e.prototype.nextYear=function(){var e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.addYears(e.currentDate,1)})},e.prototype.today=function(){var e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:yv(e.calendarOptions.now,e.dateEnv)})},e.prototype.gotoDate=function(e){var t=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.createMarker(e)})},e.prototype.incrementDate=function(e){var t=this.getCurrentData(),n=Tm(e);n&&(this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.add(t.currentDate,n)}))},e.prototype.getDate=function(){var e=this.getCurrentData();return e.dateEnv.toDate(e.currentDate)},e.prototype.formatDate=function(e,t){var n=this.getCurrentData().dateEnv;return n.format(n.createMarker(e),sg(t))},e.prototype.formatRange=function(e,t,n){var r=this.getCurrentData().dateEnv;return r.formatRange(r.createMarker(e),r.createMarker(t),sg(n),n)},e.prototype.formatIso=function(e,t){var n=this.getCurrentData().dateEnv;return n.formatIso(n.createMarker(e),{omitTime:t})},e.prototype.select=function(e,t){var n;n=null==t?null!=e.start?e:{start:e,end:null}:{start:e,end:t};var r=this.getCurrentData(),o=sv(n,r.dateEnv,Tm({days:1}));o&&(this.dispatch({type:"SELECT_DATES",selection:o}),uv(o,null,r))},e.prototype.unselect=function(e){var t=this.getCurrentData();t.dateSelection&&(this.dispatch({type:"UNSELECT_DATES"}),function(e,t){t.emitter.trigger("unselect",{jsEvent:e?e.origEvent:null,view:t.viewApi||t.calendarApi.view})}(e,t))},e.prototype.addEvent=function(e,t){if(e instanceof Ov){var n=e._def,r=e._instance;return this.getCurrentData().eventStore.defs[n.defId]||(this.dispatch({type:"ADD_EVENTS",eventStore:vg({def:n,instance:r})}),this.triggerEventAdd(e)),e}var o,i=this.getCurrentData();if(t instanceof wA)o=t.internalEventSource;else if("boolean"===typeof t)t&&(o=_m(i.eventSources)[0]);else if(null!=t){var a=this.getEventSourceById(t);if(!a)return console.warn('Could not find an event source with ID "'+t+'"'),null;o=a.internalEventSource}var s=Ng(e,o,i,!1);if(s){var l=new Ov(i,s.def,s.def.recurringDef?null:s.instance);return this.dispatch({type:"ADD_EVENTS",eventStore:vg(s)}),this.triggerEventAdd(l),l}return null},e.prototype.triggerEventAdd=function(e){var t=this;this.getCurrentData().emitter.trigger("eventAdd",{event:e,relatedEvents:[],revert:function(){t.dispatch({type:"REMOVE_EVENTS",eventStore:_v(e)})}})},e.prototype.getEventById=function(e){var t=this.getCurrentData(),n=t.eventStore,r=n.defs,o=n.instances;for(var i in e=String(e),r){var a=r[i];if(a.publicId===e){if(a.recurringDef)return new Ov(t,a,null);for(var s in o){var l=o[s];if(l.defId===a.defId)return new Ov(t,a,l)}}}return null},e.prototype.getEvents=function(){var e=this.getCurrentData();return zv(e.eventStore,e)},e.prototype.removeAllEvents=function(){this.dispatch({type:"REMOVE_ALL_EVENTS"})},e.prototype.getEventSources=function(){var e=this.getCurrentData(),t=e.eventSources,n=[];for(var r in t)n.push(new wA(e,t[r]));return n},e.prototype.getEventSourceById=function(e){var t=this.getCurrentData(),n=t.eventSources;for(var r in e=String(e),n)if(n[r].publicId===e)return new wA(t,n[r]);return null},e.prototype.addEventSource=function(e){var t=this.getCurrentData();if(e instanceof wA)return t.eventSources[e.internalEventSource.sourceId]||this.dispatch({type:"ADD_EVENT_SOURCES",sources:[e.internalEventSource]}),e;var n=gv(e,t);return n?(this.dispatch({type:"ADD_EVENT_SOURCES",sources:[n]}),new wA(t,n)):null},e.prototype.removeAllEventSources=function(){this.dispatch({type:"REMOVE_ALL_EVENT_SOURCES"})},e.prototype.refetchEvents=function(){this.dispatch({type:"FETCH_EVENT_SOURCES",isRefetch:!0})},e.prototype.scrollToTime=function(e){var t=Tm(e);t&&this.trigger("_scrollRequest",{time:t})},e}(),Ov=function(){function e(e,t,n){this._context=e,this._def=t,this._instance=n||null}return e.prototype.setProp=function(e,t){var n,r;if(e in kg)console.warn("Could not set date-related prop 'name'. Use one of the date-related methods instead.");else if("id"===e)t=Eg[e](t),this.mutate({standardProps:{publicId:t}});else if(e in Eg)t=Eg[e](t),this.mutate({standardProps:(n={},n[e]=t,n)});else if(e in zg){var o=zg[e](t);"color"===e?o={backgroundColor:t,borderColor:t}:"editable"===e?o={startEditable:t,durationEditable:t}:((r={})[e]=t,o=r),this.mutate({standardProps:{ui:o}})}else console.warn("Could not set prop '"+e+"'. Use setExtendedProp instead.")},e.prototype.setExtendedProp=function(e,t){var n;this.mutate({extendedProps:(n={},n[e]=t,n)})},e.prototype.setStart=function(e,t){void 0===t&&(t={});var n=this._context.dateEnv,r=n.createMarker(e);if(r&&this._instance){var o=qg(this._instance.range.start,r,n,t.granularity);t.maintainDuration?this.mutate({datesDelta:o}):this.mutate({startDelta:o})}},e.prototype.setEnd=function(e,t){void 0===t&&(t={});var n,r=this._context.dateEnv;if((null==e||(n=r.createMarker(e)))&&this._instance)if(n){var o=qg(this._instance.range.end,n,r,t.granularity);this.mutate({endDelta:o})}else this.mutate({standardProps:{hasEnd:!1}})},e.prototype.setDates=function(e,t,n){void 0===n&&(n={});var r,o,i,a=this._context.dateEnv,s={allDay:n.allDay},l=a.createMarker(e);if(l&&((null==t||(r=a.createMarker(t)))&&this._instance)){var c=this._instance.range;!0===n.allDay&&(c=Lg(c));var u=qg(c.start,l,a,n.granularity);if(r){var d=qg(c.end,r,a,n.granularity);i=d,(o=u).years===i.years&&o.months===i.months&&o.days===i.days&&o.milliseconds===i.milliseconds?this.mutate({datesDelta:u,standardProps:s}):this.mutate({startDelta:u,endDelta:d,standardProps:s})}else s.hasEnd=!1,this.mutate({datesDelta:u,standardProps:s})}},e.prototype.moveStart=function(e){var t=Tm(e);t&&this.mutate({startDelta:t})},e.prototype.moveEnd=function(e){var t=Tm(e);t&&this.mutate({endDelta:t})},e.prototype.moveDates=function(e){var t=Tm(e);t&&this.mutate({datesDelta:t})},e.prototype.setAllDay=function(e,t){void 0===t&&(t={});var n={allDay:e},r=t.maintainDuration;null==r&&(r=this._context.options.allDayMaintainDuration),this._def.allDay!==e&&(n.hasEnd=r),this.mutate({standardProps:n})},e.prototype.formatRange=function(e){var t=this._context.dateEnv,n=this._instance,r=sg(e);return this._def.hasEnd?t.formatRange(n.range.start,n.range.end,r,{forcedStartTzo:n.forcedStartTzo,forcedEndTzo:n.forcedEndTzo}):t.format(n.range.start,r,{forcedTzo:n.forcedStartTzo})},e.prototype.mutate=function(t){var n=this._instance;if(n){var r=this._def,o=this._context,i=o.getCurrentData().eventStore,a=yg(i,n.instanceId);a=fv(a,{"":{display:"",startEditable:!0,durationEditable:!0,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]}},t,o);var s=new e(o,r,n);this._def=a.defs[r.defId],this._instance=a.instances[n.instanceId],o.dispatch({type:"MERGE_EVENTS",eventStore:a}),o.emitter.trigger("eventChange",{oldEvent:s,event:this,relatedEvents:zv(a,o,n),revert:function(){o.dispatch({type:"RESET_EVENTS",eventStore:i})}})}},e.prototype.remove=function(){var e=this._context,t=_v(this);e.dispatch({type:"REMOVE_EVENTS",eventStore:t}),e.emitter.trigger("eventRemove",{event:this,relatedEvents:[],revert:function(){e.dispatch({type:"MERGE_EVENTS",eventStore:t})}})},Object.defineProperty(e.prototype,"source",{get:function(){var e=this._def.sourceId;return e?new wA(this._context,this._context.getCurrentData().eventSources[e]):null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"start",{get:function(){return this._instance?this._context.dateEnv.toDate(this._instance.range.start):null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return this._instance&&this._def.hasEnd?this._context.dateEnv.toDate(this._instance.range.end):null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"startStr",{get:function(){var e=this._instance;return e?this._context.dateEnv.formatIso(e.range.start,{omitTime:this._def.allDay,forcedTzo:e.forcedStartTzo}):""},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"endStr",{get:function(){var e=this._instance;return e&&this._def.hasEnd?this._context.dateEnv.formatIso(e.range.end,{omitTime:this._def.allDay,forcedTzo:e.forcedEndTzo}):""},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._def.publicId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"groupId",{get:function(){return this._def.groupId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"allDay",{get:function(){return this._def.allDay},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this._def.title},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"url",{get:function(){return this._def.url},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"display",{get:function(){return this._def.ui.display||"auto"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"startEditable",{get:function(){return this._def.ui.startEditable},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"durationEditable",{get:function(){return this._def.ui.durationEditable},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"constraint",{get:function(){return this._def.ui.constraints[0]||null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"overlap",{get:function(){return this._def.ui.overlap},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"allow",{get:function(){return this._def.ui.allows[0]||null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"backgroundColor",{get:function(){return this._def.ui.backgroundColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"borderColor",{get:function(){return this._def.ui.borderColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"textColor",{get:function(){return this._def.ui.textColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"classNames",{get:function(){return this._def.ui.classNames},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"extendedProps",{get:function(){return this._def.extendedProps},enumerable:!1,configurable:!0}),e.prototype.toPlainObject=function(e){void 0===e&&(e={});var t=this._def,n=t.ui,r=this.startStr,o=this.endStr,i={};return t.title&&(i.title=t.title),r&&(i.start=r),o&&(i.end=o),t.publicId&&(i.id=t.publicId),t.groupId&&(i.groupId=t.groupId),t.url&&(i.url=t.url),n.display&&"auto"!==n.display&&(i.display=n.display),e.collapseColor&&n.backgroundColor&&n.backgroundColor===n.borderColor?i.color=n.backgroundColor:(n.backgroundColor&&(i.backgroundColor=n.backgroundColor),n.borderColor&&(i.borderColor=n.borderColor)),n.textColor&&(i.textColor=n.textColor),n.classNames.length&&(i.classNames=n.classNames),Object.keys(t.extendedProps).length&&(e.collapseExtendedProps?gA(i,t.extendedProps):i.extendedProps=t.extendedProps),i},e.prototype.toJSON=function(){return this.toPlainObject()},e}();function _v(e){var t,n,r=e._def,o=e._instance;return{defs:(t={},t[r.defId]=r,t),instances:o?(n={},n[o.instanceId]=o,n):{}}}function zv(e,t,n){var r=e.defs,o=e.instances,i=[],a=n?n.instanceId:"";for(var s in o){var l=o[s],c=r[l.defId];l.instanceId!==a&&i.push(new Ov(t,c,l))}return i}var xv={};!function(e,t){xv[e]=t}("gregory",function(){function e(){}return e.prototype.getMarkerYear=function(e){return e.getUTCFullYear()},e.prototype.getMarkerMonth=function(e){return e.getUTCMonth()},e.prototype.getMarkerDay=function(e){return e.getUTCDate()},e.prototype.arrayToMarker=function(e){return hm(e)},e.prototype.markerToArray=function(e){return fm(e)},e}());var wv=/^\s*(\d{4})(-?(\d{2})(-?(\d{2})([T ](\d{2}):?(\d{2})(:?(\d{2})(\.(\d+))?)?(Z|(([-+])(\d{2})(:?(\d{2}))?))?)?)?)?$/;var Cv=function(){function e(e){var t=this.timeZone=e.timeZone,n="local"!==t&&"UTC"!==t;e.namedTimeZoneImpl&&n&&(this.namedTimeZoneImpl=new e.namedTimeZoneImpl(t)),this.canComputeOffset=Boolean(!n||this.namedTimeZoneImpl),this.calendarSystem=function(e){return new xv[e]}(e.calendarSystem),this.locale=e.locale,this.weekDow=e.locale.week.dow,this.weekDoy=e.locale.week.doy,"ISO"===e.weekNumberCalculation&&(this.weekDow=1,this.weekDoy=4),"number"===typeof e.firstDay&&(this.weekDow=e.firstDay),"function"===typeof e.weekNumberCalculation&&(this.weekNumberFunc=e.weekNumberCalculation),this.weekText=null!=e.weekText?e.weekText:e.locale.options.weekText,this.weekTextLong=(null!=e.weekTextLong?e.weekTextLong:e.locale.options.weekTextLong)||this.weekText,this.cmdFormatter=e.cmdFormatter,this.defaultSeparator=e.defaultSeparator}return e.prototype.createMarker=function(e){var t=this.createMarkerMeta(e);return null===t?null:t.marker},e.prototype.createNowMarker=function(){return this.canComputeOffset?this.timestampToMarker((new Date).valueOf()):hm(dm(new Date))},e.prototype.createMarkerMeta=function(e){if("string"===typeof e)return this.parse(e);var t=null;return"number"===typeof e?t=this.timestampToMarker(e):e instanceof Date?(e=e.valueOf(),isNaN(e)||(t=this.timestampToMarker(e))):Array.isArray(e)&&(t=hm(e)),null!==t&&bm(t)?{marker:t,isTimeUnspecified:!1,forcedTzo:null}:null},e.prototype.parse=function(e){var t=function(e){var t=wv.exec(e);if(t){var n=new Date(Date.UTC(Number(t[1]),t[3]?Number(t[3])-1:0,Number(t[5]||1),Number(t[7]||0),Number(t[8]||0),Number(t[10]||0),t[12]?1e3*Number("0."+t[12]):0));if(bm(n)){var r=null;return t[13]&&(r=("-"===t[15]?-1:1)*(60*Number(t[16]||0)+Number(t[18]||0))),{marker:n,isTimeUnspecified:!t[6],timeZoneOffset:r}}}return null}(e);if(null===t)return null;var n=t.marker,r=null;return null!==t.timeZoneOffset&&(this.canComputeOffset?n=this.timestampToMarker(n.valueOf()-60*t.timeZoneOffset*1e3):r=t.timeZoneOffset),{marker:n,isTimeUnspecified:t.isTimeUnspecified,forcedTzo:r}},e.prototype.getYear=function(e){return this.calendarSystem.getMarkerYear(e)},e.prototype.getMonth=function(e){return this.calendarSystem.getMarkerMonth(e)},e.prototype.add=function(e,t){var n=this.calendarSystem.markerToArray(e);return n[0]+=t.years,n[1]+=t.months,n[2]+=t.days,n[6]+=t.milliseconds,this.calendarSystem.arrayToMarker(n)},e.prototype.subtract=function(e,t){var n=this.calendarSystem.markerToArray(e);return n[0]-=t.years,n[1]-=t.months,n[2]-=t.days,n[6]-=t.milliseconds,this.calendarSystem.arrayToMarker(n)},e.prototype.addYears=function(e,t){var n=this.calendarSystem.markerToArray(e);return n[0]+=t,this.calendarSystem.arrayToMarker(n)},e.prototype.addMonths=function(e,t){var n=this.calendarSystem.markerToArray(e);return n[1]+=t,this.calendarSystem.arrayToMarker(n)},e.prototype.diffWholeYears=function(e,t){var n=this.calendarSystem;return Am(e)===Am(t)&&n.getMarkerDay(e)===n.getMarkerDay(t)&&n.getMarkerMonth(e)===n.getMarkerMonth(t)?n.getMarkerYear(t)-n.getMarkerYear(e):null},e.prototype.diffWholeMonths=function(e,t){var n=this.calendarSystem;return Am(e)===Am(t)&&n.getMarkerDay(e)===n.getMarkerDay(t)?n.getMarkerMonth(t)-n.getMarkerMonth(e)+12*(n.getMarkerYear(t)-n.getMarkerYear(e)):null},e.prototype.greatestWholeUnit=function(e,t){var n=this.diffWholeYears(e,t);return null!==n?{unit:"year",value:n}:null!==(n=this.diffWholeMonths(e,t))?{unit:"month",value:n}:(n=function(e,t){var n=sm(e,t);return null!==n&&n%7===0?n/7:null}(e,t),null!==n?{unit:"week",value:n}:null!==(n=sm(e,t))?{unit:"day",value:n}:(n=function(e,t){return(t.valueOf()-e.valueOf())/36e5}(e,t),em(n)?{unit:"hour",value:n}:(n=function(e,t){return(t.valueOf()-e.valueOf())/6e4}(e,t),em(n)?{unit:"minute",value:n}:(n=function(e,t){return(t.valueOf()-e.valueOf())/1e3}(e,t),em(n)?{unit:"second",value:n}:{unit:"millisecond",value:t.valueOf()-e.valueOf()}))))},e.prototype.countDurationsBetween=function(e,t,n){var r;return n.years&&null!==(r=this.diffWholeYears(e,t))?r/(Lm(n)/365):n.months&&null!==(r=this.diffWholeMonths(e,t))?r/function(e){return Lm(e)/30}(n):n.days&&null!==(r=sm(e,t))?r/Lm(n):(t.valueOf()-e.valueOf())/Rm(n)},e.prototype.startOf=function(e,t){return"year"===t?this.startOfYear(e):"month"===t?this.startOfMonth(e):"week"===t?this.startOfWeek(e):"day"===t?lm(e):"hour"===t?function(e){return hm([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours()])}(e):"minute"===t?function(e){return hm([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes()])}(e):"second"===t?function(e){return hm([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds()])}(e):null},e.prototype.startOfYear=function(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e)])},e.prototype.startOfMonth=function(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e)])},e.prototype.startOfWeek=function(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e),e.getUTCDate()-(e.getUTCDay()-this.weekDow+7)%7])},e.prototype.computeWeekNumber=function(e){return this.weekNumberFunc?this.weekNumberFunc(this.toDate(e)):function(e,t,n){var r=e.getUTCFullYear(),o=cm(e,r,t,n);if(o<1)return cm(e,r-1,t,n);var i=cm(e,r+1,t,n);return i>=1?Math.min(o,i):o}(e,this.weekDow,this.weekDoy)},e.prototype.format=function(e,t,n){return void 0===n&&(n={}),t.format({marker:e,timeZoneOffset:null!=n.forcedTzo?n.forcedTzo:this.offsetForMarker(e)},this)},e.prototype.formatRange=function(e,t,n,r){return void 0===r&&(r={}),r.isEndExclusive&&(t=im(t,-1)),n.formatRange({marker:e,timeZoneOffset:null!=r.forcedStartTzo?r.forcedStartTzo:this.offsetForMarker(e)},{marker:t,timeZoneOffset:null!=r.forcedEndTzo?r.forcedEndTzo:this.offsetForMarker(t)},this,r.defaultSeparator)},e.prototype.formatIso=function(e,t){void 0===t&&(t={});var n=null;return t.omitTimeZoneOffset||(n=null!=t.forcedTzo?t.forcedTzo:this.offsetForMarker(e)),Im(e,n,t.omitTime)},e.prototype.timestampToMarker=function(e){return"local"===this.timeZone?hm(dm(new Date(e))):"UTC"!==this.timeZone&&this.namedTimeZoneImpl?hm(this.namedTimeZoneImpl.timestampToArray(e)):new Date(e)},e.prototype.offsetForMarker=function(e){return"local"===this.timeZone?-pm(fm(e)).getTimezoneOffset():"UTC"===this.timeZone?0:this.namedTimeZoneImpl?this.namedTimeZoneImpl.offsetForArray(fm(e)):null},e.prototype.toDate=function(e,t){return"local"===this.timeZone?pm(fm(e)):"UTC"===this.timeZone?new Date(e.valueOf()):this.namedTimeZoneImpl?new Date(e.valueOf()-1e3*this.namedTimeZoneImpl.offsetForArray(fm(e))*60):new Date(e.valueOf()-(t||0))},e}(),Sv=[],Ev={code:"en",week:{dow:0,doy:4},direction:"ltr",buttonText:{prev:"prev",next:"next",prevYear:"prev year",nextYear:"next year",year:"year",today:"today",month:"month",week:"week",day:"day",list:"list"},weekText:"W",weekTextLong:"Week",closeHint:"Close",timeHint:"Time",eventHint:"Event",allDayText:"all-day",moreLinkText:"more",noEventsText:"No events to display"},kv=gA(gA({},Ev),{buttonHints:{prev:"Previous $0",next:"Next $0",today:function(e,t){return"day"===t?"Today":"This "+e}},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint:function(e){return"Show "+e+" more event"+(1===e?"":"s")}});function Dv(e){for(var t=e.length>0?e[0].code:"en",n=Sv.concat(e),r={en:kv},o=0,i=n;o<i.length;o++){var a=i[o];r[a.code]=a}return{map:r,defaultCode:t}}function Nv(e,t){return"object"!==typeof e||Array.isArray(e)?function(e,t){var n=[].concat(e||[]),r=function(e,t){for(var n=0;n<e.length;n+=1)for(var r=e[n].toLocaleLowerCase().split("-"),o=r.length;o>0;o-=1){var i=r.slice(0,o).join("-");if(t[i])return t[i]}return null}(n,t)||kv;return Tv(e,n,r)}(e,t):Tv(e.code,[e.code],e)}function Tv(e,t,n){var r=vm([Ev,n],["buttonText"]);delete r.code;var o=r.week;return delete r.week,{codeArg:e,codes:t,week:o,simpleNumberFormat:new Intl.NumberFormat(e),options:r}}var jv,Bv={startTime:"09:00",endTime:"17:00",daysOfWeek:[1,2,3,4,5],display:"inverse-background",classNames:"fc-non-business",groupId:"_businessHours"};function Lv(e,t){return gg(function(e){var t;t=!0===e?[{}]:Array.isArray(e)?e.filter((function(e){return e.daysOfWeek})):"object"===typeof e&&e?[e]:[];return t=t.map((function(e){return gA(gA({},Bv),e)}))}(e),null,t)}function Rv(e,t){return e.left>=t.left&&e.left<t.right&&e.top>=t.top&&e.top<t.bottom}function qv(e,t){var n={left:Math.max(e.left,t.left),right:Math.min(e.right,t.right),top:Math.max(e.top,t.top),bottom:Math.min(e.bottom,t.bottom)};return n.left<n.right&&n.top<n.bottom&&n}function Pv(e,t,n){return{left:e.left+t,right:e.right+t,top:e.top+n,bottom:e.bottom+n}}function Iv(){return null==jv&&(jv=function(){if("undefined"===typeof document)return!0;var e=document.createElement("div");e.style.position="absolute",e.style.top="0px",e.style.left="0px",e.innerHTML="<table><tr><td><div></div></td></tr></table>",e.querySelector("table").style.height="100px",e.querySelector("div").style.height="100%",document.body.appendChild(e);var t=e.querySelector("div").offsetHeight>0;return document.body.removeChild(e),t}()),jv}var Wv={defs:{},instances:{}},Fv=function(){function e(){this.getKeysForEventDefs=Zm(this._getKeysForEventDefs),this.splitDateSelection=Zm(this._splitDateSpan),this.splitEventStore=Zm(this._splitEventStore),this.splitIndividualUi=Zm(this._splitIndividualUi),this.splitEventDrag=Zm(this._splitInteraction),this.splitEventResize=Zm(this._splitInteraction),this.eventUiBuilders={}}return e.prototype.splitProps=function(e){var t=this,n=this.getKeyInfo(e),r=this.getKeysForEventDefs(e.eventStore),o=this.splitDateSelection(e.dateSelection),i=this.splitIndividualUi(e.eventUiBases,r),a=this.splitEventStore(e.eventStore,r),s=this.splitEventDrag(e.eventDrag),l=this.splitEventResize(e.eventResize),c={};for(var u in this.eventUiBuilders=Mm(n,(function(e,n){return t.eventUiBuilders[n]||Zm(Uv)})),n){var d=n[u],p=a[u]||Wv,f=this.eventUiBuilders[u];c[u]={businessHours:d.businessHours||e.businessHours,dateSelection:o[u]||null,eventStore:p,eventUiBases:f(e.eventUiBases[""],d.ui,i[u]),eventSelection:p.instances[e.eventSelection]?e.eventSelection:"",eventDrag:s[u]||null,eventResize:l[u]||null}}return c},e.prototype._splitDateSpan=function(e){var t={};if(e)for(var n=0,r=this.getKeysForDateSpan(e);n<r.length;n++){t[r[n]]=e}return t},e.prototype._getKeysForEventDefs=function(e){var t=this;return Mm(e.defs,(function(e){return t.getKeysForEventDef(e)}))},e.prototype._splitEventStore=function(e,t){var n=e.defs,r=e.instances,o={};for(var i in n)for(var a=0,s=t[i];a<s.length;a++){o[p=s[a]]||(o[p]={defs:{},instances:{}}),o[p].defs[i]=n[i]}for(var l in r)for(var c=r[l],u=0,d=t[c.defId];u<d.length;u++){var p;o[p=d[u]]&&(o[p].instances[l]=c)}return o},e.prototype._splitIndividualUi=function(e,t){var n={};for(var r in e)if(r)for(var o=0,i=t[r];o<i.length;o++){var a=i[o];n[a]||(n[a]={}),n[a][r]=e[r]}return n},e.prototype._splitInteraction=function(e){var t={};if(e){var n=this._splitEventStore(e.affectedEvents,this._getKeysForEventDefs(e.affectedEvents)),r=this._getKeysForEventDefs(e.mutatedEvents),o=this._splitEventStore(e.mutatedEvents,r),i=function(r){t[r]||(t[r]={affectedEvents:n[r]||Wv,mutatedEvents:o[r]||Wv,isEvent:e.isEvent})};for(var a in n)i(a);for(var a in o)i(a)}return t},e}();function Uv(e,t,n){var r=[];e&&r.push(e),t&&r.push(t);var o={"":Cg(r)};return n&&gA(o,n),o}function Zv(e,t,n,r){return{dow:e.getUTCDay(),isDisabled:Boolean(r&&!Hg(r.activeRange,e)),isOther:Boolean(r&&!Hg(r.currentRange,e)),isToday:Boolean(t&&Hg(t,e)),isPast:Boolean(n?e<n:!!t&&e<t.start),isFuture:Boolean(n?e>n:!!t&&e>=t.end)}}function Hv(e,t){var n=["fc-day","fc-day-"+nm[e.dow]];return e.isDisabled?n.push("fc-day-disabled"):(e.isToday&&(n.push("fc-day-today"),n.push(t.getClass("today"))),e.isPast&&n.push("fc-day-past"),e.isFuture&&n.push("fc-day-future"),e.isOther&&n.push("fc-day-other")),n}var $v=sg({year:"numeric",month:"long",day:"numeric"}),Vv=sg({week:"long"});function Xv(e,t,n,r){void 0===n&&(n="day"),void 0===r&&(r=!0);var o=e.dateEnv,i=e.options,a=e.calendarApi,s=o.format(t,"week"===n?Vv:$v);if(i.navLinks){var l=o.toDate(t),c=function(e){var r="day"===n?i.navLinkDayClick:"week"===n?i.navLinkWeekClick:null;"function"===typeof r?r.call(a,o.toDate(t),e):("string"===typeof r&&(n=r),a.zoomTo(t,n))};return gA({title:KA(i.navLinkHint,[s,l],s),"data-navlink":""},r?WA(c):{onClick:c})}return{"aria-label":s}}var Qv,Yv=null;function Gv(){return null===Yv&&(Yv=function(){var e=document.createElement("div");NA(e,{position:"absolute",top:-1e3,left:0,border:0,padding:0,overflow:"scroll",direction:"rtl"}),e.innerHTML="<div></div>",document.body.appendChild(e);var t=e.firstChild.getBoundingClientRect().left>e.getBoundingClientRect().left;return CA(e),t}()),Yv}function Kv(){return Qv||(Qv=function(){var e=document.createElement("div");e.style.overflow="scroll",e.style.position="absolute",e.style.top="-9999px",e.style.left="-9999px",document.body.appendChild(e);var t=Jv(e);return document.body.removeChild(e),t}()),Qv}function Jv(e){return{x:e.offsetHeight-e.clientHeight,y:e.offsetWidth-e.clientWidth}}function ey(e,t){void 0===t&&(t=!1);var n=window.getComputedStyle(e),r=parseInt(n.borderLeftWidth,10)||0,o=parseInt(n.borderRightWidth,10)||0,i=parseInt(n.borderTopWidth,10)||0,a=parseInt(n.borderBottomWidth,10)||0,s=Jv(e),l=s.y-r-o,c={borderLeft:r,borderRight:o,borderTop:i,borderBottom:a,scrollbarBottom:s.x-i-a,scrollbarLeft:0,scrollbarRight:0};return Gv()&&"rtl"===n.direction?c.scrollbarLeft=l:c.scrollbarRight=l,t&&(c.paddingLeft=parseInt(n.paddingLeft,10)||0,c.paddingRight=parseInt(n.paddingRight,10)||0,c.paddingTop=parseInt(n.paddingTop,10)||0,c.paddingBottom=parseInt(n.paddingBottom,10)||0),c}function ty(e,t,n){void 0===t&&(t=!1);var r=n?e.getBoundingClientRect():ny(e),o=ey(e,t),i={left:r.left+o.borderLeft+o.scrollbarLeft,right:r.right-o.borderRight-o.scrollbarRight,top:r.top+o.borderTop,bottom:r.bottom-o.borderBottom-o.scrollbarBottom};return t&&(i.left+=o.paddingLeft,i.right-=o.paddingRight,i.top+=o.paddingTop,i.bottom-=o.paddingBottom),i}function ny(e){var t=e.getBoundingClientRect();return{left:t.left+window.pageXOffset,top:t.top+window.pageYOffset,right:t.right+window.pageXOffset,bottom:t.bottom+window.pageYOffset}}function ry(e){for(var t=[];e instanceof HTMLElement;){var n=window.getComputedStyle(e);if("fixed"===n.position)break;/(auto|scroll)/.test(n.overflow+n.overflowY+n.overflowX)&&t.push(e),e=e.parentNode}return t}function oy(e,t,n){var r=!1,o=function(){r||(r=!0,t.apply(this,arguments))},i=function(){r||(r=!0,n&&n.apply(this,arguments))},a=e(o,i);a&&"function"===typeof a.then&&a.then(o,i)}var iy=function(){function e(){this.handlers={},this.thisContext=null}return e.prototype.setThisContext=function(e){this.thisContext=e},e.prototype.setOptions=function(e){this.options=e},e.prototype.on=function(e,t){!function(e,t,n){(e[t]||(e[t]=[])).push(n)}(this.handlers,e,t)},e.prototype.off=function(e,t){!function(e,t,n){n?e[t]&&(e[t]=e[t].filter((function(e){return e!==n}))):delete e[t]}(this.handlers,e,t)},e.prototype.trigger=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=this.handlers[e]||[],o=this.options&&this.options[e],i=0,a=[].concat(o||[],r);i<a.length;i++){a[i].apply(this.thisContext,t)}},e.prototype.hasHandlers=function(e){return Boolean(this.handlers[e]&&this.handlers[e].length||this.options&&this.options[e])},e}();var ay=function(){function e(e,t,n,r){this.els=t;var o=this.originClientRect=e.getBoundingClientRect();n&&this.buildElHorizontals(o.left),r&&this.buildElVerticals(o.top)}return e.prototype.buildElHorizontals=function(e){for(var t=[],n=[],r=0,o=this.els;r<o.length;r++){var i=o[r].getBoundingClientRect();t.push(i.left-e),n.push(i.right-e)}this.lefts=t,this.rights=n},e.prototype.buildElVerticals=function(e){for(var t=[],n=[],r=0,o=this.els;r<o.length;r++){var i=o[r].getBoundingClientRect();t.push(i.top-e),n.push(i.bottom-e)}this.tops=t,this.bottoms=n},e.prototype.leftToIndex=function(e){var t,n=this.lefts,r=this.rights,o=n.length;for(t=0;t<o;t+=1)if(e>=n[t]&&e<r[t])return t},e.prototype.topToIndex=function(e){var t,n=this.tops,r=this.bottoms,o=n.length;for(t=0;t<o;t+=1)if(e>=n[t]&&e<r[t])return t},e.prototype.getWidth=function(e){return this.rights[e]-this.lefts[e]},e.prototype.getHeight=function(e){return this.bottoms[e]-this.tops[e]},e}(),sy=function(){function e(){}return e.prototype.getMaxScrollTop=function(){return this.getScrollHeight()-this.getClientHeight()},e.prototype.getMaxScrollLeft=function(){return this.getScrollWidth()-this.getClientWidth()},e.prototype.canScrollVertically=function(){return this.getMaxScrollTop()>0},e.prototype.canScrollHorizontally=function(){return this.getMaxScrollLeft()>0},e.prototype.canScrollUp=function(){return this.getScrollTop()>0},e.prototype.canScrollDown=function(){return this.getScrollTop()<this.getMaxScrollTop()},e.prototype.canScrollLeft=function(){return this.getScrollLeft()>0},e.prototype.canScrollRight=function(){return this.getScrollLeft()<this.getMaxScrollLeft()},e}(),ly=function(e){function t(t){var n=e.call(this)||this;return n.el=t,n}return mA(t,e),t.prototype.getScrollTop=function(){return this.el.scrollTop},t.prototype.getScrollLeft=function(){return this.el.scrollLeft},t.prototype.setScrollTop=function(e){this.el.scrollTop=e},t.prototype.setScrollLeft=function(e){this.el.scrollLeft=e},t.prototype.getScrollWidth=function(){return this.el.scrollWidth},t.prototype.getScrollHeight=function(){return this.el.scrollHeight},t.prototype.getClientHeight=function(){return this.el.clientHeight},t.prototype.getClientWidth=function(){return this.el.clientWidth},t}(sy),cy=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return mA(t,e),t.prototype.getScrollTop=function(){return window.pageYOffset},t.prototype.getScrollLeft=function(){return window.pageXOffset},t.prototype.setScrollTop=function(e){window.scroll(window.pageXOffset,e)},t.prototype.setScrollLeft=function(e){window.scroll(e,window.pageYOffset)},t.prototype.getScrollWidth=function(){return document.documentElement.scrollWidth},t.prototype.getScrollHeight=function(){return document.documentElement.scrollHeight},t.prototype.getClientHeight=function(){return document.documentElement.clientHeight},t.prototype.getClientWidth=function(){return document.documentElement.clientWidth},t}(sy),uy=function(){function e(e){this.iconOverrideOption&&this.setIconOverride(e[this.iconOverrideOption])}return e.prototype.setIconOverride=function(e){var t,n;if("object"===typeof e&&e){for(n in t=gA({},this.iconClasses),e)t[n]=this.applyIconOverridePrefix(e[n]);this.iconClasses=t}else!1===e&&(this.iconClasses={})},e.prototype.applyIconOverridePrefix=function(e){var t=this.iconOverridePrefix;return t&&0!==e.indexOf(t)&&(e=t+e),e},e.prototype.getClass=function(e){return this.classes[e]||""},e.prototype.getIconClass=function(e,t){var n;return(n=t&&this.rtlIconClasses&&this.rtlIconClasses[e]||this.iconClasses[e])?this.baseIconClass+" "+n:""},e.prototype.getCustomButtonIconClass=function(e){var t;return this.iconOverrideCustomButtonOption&&(t=e[this.iconOverrideCustomButtonOption])?this.baseIconClass+" "+this.applyIconOverridePrefix(t):""},e}();uy.prototype.classes={},uy.prototype.iconClasses={},uy.prototype.baseIconClass="",uy.prototype.iconOverridePrefix="";var dy=function(){function e(e,t,n,r){var o=this;this.execFunc=e,this.emitter=t,this.scrollTime=n,this.scrollTimeReset=r,this.handleScrollRequest=function(e){o.queuedRequest=gA({},o.queuedRequest||{},e),o.drain()},t.on("_scrollRequest",this.handleScrollRequest),this.fireInitialScroll()}return e.prototype.detach=function(){this.emitter.off("_scrollRequest",this.handleScrollRequest)},e.prototype.update=function(e){e&&this.scrollTimeReset?this.fireInitialScroll():this.drain()},e.prototype.fireInitialScroll=function(){this.handleScrollRequest({time:this.scrollTime})},e.prototype.drain=function(){this.queuedRequest&&this.execFunc(this.queuedRequest)&&(this.queuedRequest=null)},e}(),py=zA({});function fy(e,t,n,r,o,i,a,s,l,c,u,d,p){return{dateEnv:o,options:n,pluginHooks:a,emitter:c,dispatch:s,getCurrentData:l,calendarApi:u,viewSpec:e,viewApi:t,dateProfileGenerator:r,theme:i,isRtl:"rtl"===n.direction,addResizeHandler:function(e){c.on("_resize",e)},removeResizeHandler:function(e){c.off("_resize",e)},createScrollResponder:function(e){return new dy(e,c,Tm(n.scrollTime),n.scrollTimeReset)},registerInteractiveComponent:d,unregisterInteractiveComponent:p}}var hy=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return mA(t,e),t.prototype.shouldComponentUpdate=function(e,t){return this.debug&&console.log(xm(e,this.props),xm(t,this.state)),!wm(this.props,e,this.propEquality)||!wm(this.state,t,this.stateEquality)},t.prototype.safeSetState=function(e){wm(this.state,gA(gA({},this.state),e),this.stateEquality)||this.setState(e)},t.addPropsEquality=Ay,t.addStateEquality=my,t.contextType=py,t}(yA);hy.prototype.propEquality={},hy.prototype.stateEquality={};var by=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return mA(t,e),t.contextType=py,t}(hy);function Ay(e){var t=Object.create(this.prototype.propEquality);gA(t,e),this.prototype.propEquality=t}function my(e){var t=Object.create(this.prototype.stateEquality);gA(t,e),this.prototype.stateEquality=t}function gy(e,t){"function"===typeof e?e(t):e&&(e.current=t)}var vy=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.uid=ZA(),t}return mA(t,e),t.prototype.prepareHits=function(){},t.prototype.queryHit=function(e,t,n,r){return null},t.prototype.isValidSegDownEl=function(e){return!this.props.eventDrag&&!this.props.eventResize&&!SA(e,".fc-event-mirror")},t.prototype.isValidDateDownEl=function(e){return!SA(e,".fc-event:not(.fc-bg-event)")&&!SA(e,".fc-more-link")&&!SA(e,"a[data-navlink]")&&!SA(e,".fc-popover")},t}(by);function yy(e){return{id:ZA(),deps:e.deps||[],reducers:e.reducers||[],isLoadingFuncs:e.isLoadingFuncs||[],contextInit:[].concat(e.contextInit||[]),eventRefiners:e.eventRefiners||{},eventDefMemberAdders:e.eventDefMemberAdders||[],eventSourceRefiners:e.eventSourceRefiners||{},isDraggableTransformers:e.isDraggableTransformers||[],eventDragMutationMassagers:e.eventDragMutationMassagers||[],eventDefMutationAppliers:e.eventDefMutationAppliers||[],dateSelectionTransformers:e.dateSelectionTransformers||[],datePointTransforms:e.datePointTransforms||[],dateSpanTransforms:e.dateSpanTransforms||[],views:e.views||{},viewPropsTransformers:e.viewPropsTransformers||[],isPropsValid:e.isPropsValid||null,externalDefTransforms:e.externalDefTransforms||[],viewContainerAppends:e.viewContainerAppends||[],eventDropTransformers:e.eventDropTransformers||[],componentInteractions:e.componentInteractions||[],calendarInteractions:e.calendarInteractions||[],themeClasses:e.themeClasses||{},eventSourceDefs:e.eventSourceDefs||[],cmdFormatter:e.cmdFormatter,recurringTypes:e.recurringTypes||[],namedTimeZonedImpl:e.namedTimeZonedImpl,initialView:e.initialView||"",elementDraggingImpl:e.elementDraggingImpl,optionChangeHandlers:e.optionChangeHandlers||{},scrollGridImpl:e.scrollGridImpl||null,contentTypeHandlers:e.contentTypeHandlers||{},listenerRefiners:e.listenerRefiners||{},optionRefiners:e.optionRefiners||{},propSetHandlers:e.propSetHandlers||{}}}function My(){var e,t=[],n=[];return function(r,o){return e&&Um(r,t)&&Um(o,n)||(e=function(e,t){var n={},r={reducers:[],isLoadingFuncs:[],contextInit:[],eventRefiners:{},eventDefMemberAdders:[],eventSourceRefiners:{},isDraggableTransformers:[],eventDragMutationMassagers:[],eventDefMutationAppliers:[],dateSelectionTransformers:[],datePointTransforms:[],dateSpanTransforms:[],views:{},viewPropsTransformers:[],isPropsValid:null,externalDefTransforms:[],viewContainerAppends:[],eventDropTransformers:[],componentInteractions:[],calendarInteractions:[],themeClasses:{},eventSourceDefs:[],cmdFormatter:null,recurringTypes:[],namedTimeZonedImpl:null,initialView:"",elementDraggingImpl:null,optionChangeHandlers:{},scrollGridImpl:null,contentTypeHandlers:{},listenerRefiners:{},optionRefiners:{},propSetHandlers:{}};function o(e){for(var t=0,i=e;t<i.length;t++){var a=i[t];n[a.id]||(n[a.id]=!0,o(a.deps),l=a,r={reducers:(s=r).reducers.concat(l.reducers),isLoadingFuncs:s.isLoadingFuncs.concat(l.isLoadingFuncs),contextInit:s.contextInit.concat(l.contextInit),eventRefiners:gA(gA({},s.eventRefiners),l.eventRefiners),eventDefMemberAdders:s.eventDefMemberAdders.concat(l.eventDefMemberAdders),eventSourceRefiners:gA(gA({},s.eventSourceRefiners),l.eventSourceRefiners),isDraggableTransformers:s.isDraggableTransformers.concat(l.isDraggableTransformers),eventDragMutationMassagers:s.eventDragMutationMassagers.concat(l.eventDragMutationMassagers),eventDefMutationAppliers:s.eventDefMutationAppliers.concat(l.eventDefMutationAppliers),dateSelectionTransformers:s.dateSelectionTransformers.concat(l.dateSelectionTransformers),datePointTransforms:s.datePointTransforms.concat(l.datePointTransforms),dateSpanTransforms:s.dateSpanTransforms.concat(l.dateSpanTransforms),views:gA(gA({},s.views),l.views),viewPropsTransformers:s.viewPropsTransformers.concat(l.viewPropsTransformers),isPropsValid:l.isPropsValid||s.isPropsValid,externalDefTransforms:s.externalDefTransforms.concat(l.externalDefTransforms),viewContainerAppends:s.viewContainerAppends.concat(l.viewContainerAppends),eventDropTransformers:s.eventDropTransformers.concat(l.eventDropTransformers),calendarInteractions:s.calendarInteractions.concat(l.calendarInteractions),componentInteractions:s.componentInteractions.concat(l.componentInteractions),themeClasses:gA(gA({},s.themeClasses),l.themeClasses),eventSourceDefs:s.eventSourceDefs.concat(l.eventSourceDefs),cmdFormatter:l.cmdFormatter||s.cmdFormatter,recurringTypes:s.recurringTypes.concat(l.recurringTypes),namedTimeZonedImpl:l.namedTimeZonedImpl||s.namedTimeZonedImpl,initialView:s.initialView||l.initialView,elementDraggingImpl:s.elementDraggingImpl||l.elementDraggingImpl,optionChangeHandlers:gA(gA({},s.optionChangeHandlers),l.optionChangeHandlers),scrollGridImpl:l.scrollGridImpl||s.scrollGridImpl,contentTypeHandlers:gA(gA({},s.contentTypeHandlers),l.contentTypeHandlers),listenerRefiners:gA(gA({},s.listenerRefiners),l.listenerRefiners),optionRefiners:gA(gA({},s.optionRefiners),l.optionRefiners),propSetHandlers:gA(gA({},s.propSetHandlers),l.propSetHandlers)})}var s,l}return e&&o(e),o(t),r}(r,o)),t=r,n=o,e}}var Oy=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return mA(t,e),t}(uy);function _y(e,t,n,r){if(t[e])return t[e];var o=function(e,t,n,r){var o=n[e],i=r[e],a=function(e){return o&&null!==o[e]?o[e]:i&&null!==i[e]?i[e]:null},s=a("component"),l=a("superType"),c=null;if(l){if(l===e)throw new Error("Can't have a custom view type that references itself");c=_y(l,t,n,r)}!s&&c&&(s=c.component);if(!s)return null;return{type:e,component:s,defaults:gA(gA({},c?c.defaults:{}),o?o.rawOptions:{}),overrides:gA(gA({},c?c.overrides:{}),i?i.rawOptions:{})}}(e,t,n,r);return o&&(t[e]=o),o}Oy.prototype.classes={root:"fc-theme-standard",tableCellShaded:"fc-cell-shaded",buttonGroup:"fc-button-group",button:"fc-button fc-button-primary",buttonActive:"fc-button-active"},Oy.prototype.baseIconClass="fc-icon",Oy.prototype.iconClasses={close:"fc-icon-x",prev:"fc-icon-chevron-left",next:"fc-icon-chevron-right",prevYear:"fc-icon-chevrons-left",nextYear:"fc-icon-chevrons-right"},Oy.prototype.rtlIconClasses={prev:"fc-icon-chevron-right",next:"fc-icon-chevron-left",prevYear:"fc-icon-chevrons-right",nextYear:"fc-icon-chevrons-left"},Oy.prototype.iconOverrideOption="buttonIcons",Oy.prototype.iconOverrideCustomButtonOption="icon",Oy.prototype.iconOverridePrefix="fc-icon-";var zy=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=OA(),t.handleRootEl=function(e){gy(t.rootElRef,e),t.props.elRef&&gy(t.props.elRef,e)},t}return mA(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.hookProps;return MA(Sy,{hookProps:n,didMount:t.didMount,willUnmount:t.willUnmount,elRef:this.handleRootEl},(function(r){return MA(wy,{hookProps:n,content:t.content,defaultContent:t.defaultContent,backupElRef:e.rootElRef},(function(e,o){return t.children(r,ky(t.classNames,n),e,o)}))}))},t}(by),xy=zA(0);function wy(e){return MA(xy.Consumer,null,(function(t){return MA(Cy,gA({renderId:t},e))}))}var Cy=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.innerElRef=OA(),t}return mA(t,e),t.prototype.render=function(){return this.props.children(this.innerElRef,this.renderInnerContent())},t.prototype.componentDidMount=function(){this.updateCustomContent()},t.prototype.componentDidUpdate=function(){this.updateCustomContent()},t.prototype.componentWillUnmount=function(){this.customContentInfo&&this.customContentInfo.destroy&&this.customContentInfo.destroy()},t.prototype.renderInnerContent=function(){var e=this.customContentInfo,t=this.getInnerContent(),n=this.getContentMeta(t);return e&&e.contentKey===n.contentKey?e&&(e.contentVal=t[n.contentKey]):(e&&(e.destroy&&e.destroy(),e=this.customContentInfo=null),n.contentKey&&(e=this.customContentInfo=gA({contentKey:n.contentKey,contentVal:t[n.contentKey]},n.buildLifecycleFuncs()))),e?[]:t},t.prototype.getInnerContent=function(){var e=this.props,t=Dy(e.content,e.hookProps);return void 0===t&&(t=Dy(e.defaultContent,e.hookProps)),null==t?null:t},t.prototype.getContentMeta=function(e){var t=this.context.pluginHooks.contentTypeHandlers,n="",r=null;if(e)for(var o in t)if(void 0!==e[o]){n=o,r=t[o];break}return{contentKey:n,buildLifecycleFuncs:r}},t.prototype.updateCustomContent=function(){this.customContentInfo&&this.customContentInfo.render(this.innerElRef.current||this.props.backupElRef.current,this.customContentInfo.contentVal)},t}(by),Sy=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleRootEl=function(e){t.rootEl=e,t.props.elRef&&gy(t.props.elRef,e)},t}return mA(t,e),t.prototype.render=function(){return this.props.children(this.handleRootEl)},t.prototype.componentDidMount=function(){var e=this.props.didMount;e&&e(gA(gA({},this.props.hookProps),{el:this.rootEl}))},t.prototype.componentWillUnmount=function(){var e=this.props.willUnmount;e&&e(gA(gA({},this.props.hookProps),{el:this.rootEl}))},t}(by);function Ey(){var e,t,n=[];return function(r,o){return t&&zm(t,o)&&r===e||(e=r,t=o,n=ky(r,o)),n}}function ky(e,t){return"function"===typeof e&&(e=e(t)),_g(e)}function Dy(e,t){return"function"===typeof e?e(t,MA):e}var Ny=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.normalizeClassNames=Ey(),t}return mA(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r={view:t.viewApi},o=this.normalizeClassNames(n.viewClassNames,r);return MA(Sy,{hookProps:r,didMount:n.viewDidMount,willUnmount:n.viewWillUnmount,elRef:e.elRef},(function(t){return e.children(t,["fc-"+e.viewSpec.type+"-view","fc-view"].concat(o))}))},t}(by);function Ty(e){return Mm(e,jy)}function jy(e){var t,n="function"===typeof e?{component:e}:e,r=n.component;return n.content&&(t=n,r=function(e){return MA(py.Consumer,null,(function(n){return MA(Ny,{viewSpec:n.viewSpec},(function(r,o){var i=gA(gA({},e),{nextDayThreshold:n.options.nextDayThreshold});return MA(zy,{hookProps:i,classNames:t.classNames,content:t.content,didMount:t.didMount,willUnmount:t.willUnmount,elRef:r},(function(e,t,n,r){return MA("div",{className:o.concat(t).join(" "),ref:e},r)}))}))}))}),{superType:n.type,component:r,rawOptions:n}}function By(e,t,n,r){var o=Ty(e),i=Ty(t.views),a=function(e,t){var n,r={};for(n in e)_y(n,r,e,t);for(n in t)_y(n,r,e,t);return r}(o,i);return Mm(a,(function(e){return function(e,t,n,r,o){var i=e.overrides.duration||e.defaults.duration||r.duration||n.duration,a=null,s="",l="",c={};if(i&&(a=function(e){var t=JSON.stringify(e),n=Ly[t];void 0===n&&(n=Tm(e),Ly[t]=n);return n}(i),a)){var u=Pm(a);s=u.unit,1===u.value&&(l=s,c=t[s]?t[s].rawOptions:{})}var d=function(t){var n=t.buttonText||{},r=e.defaults.buttonTextKey;return null!=r&&null!=n[r]?n[r]:null!=n[e.type]?n[e.type]:null!=n[l]?n[l]:null},p=function(t){var n=t.buttonHints||{},r=e.defaults.buttonTextKey;return null!=r&&null!=n[r]?n[r]:null!=n[e.type]?n[e.type]:null!=n[l]?n[l]:null};return{type:e.type,component:e.component,duration:a,durationUnit:s,singleUnit:l,optionDefaults:e.defaults,optionOverrides:gA(gA({},c),e.overrides),buttonTextOverride:d(r)||d(n)||e.overrides.buttonText,buttonTextDefault:d(o)||e.defaults.buttonText||d(cg)||e.type,buttonTitleOverride:p(r)||p(n)||e.overrides.buttonHint,buttonTitleDefault:p(o)||e.defaults.buttonHint||p(cg)}}(e,i,t,n,r)}))}var Ly={};var Ry=function(){function e(e){this.props=e,this.nowDate=yv(e.nowInput,e.dateEnv),this.initHiddenDays()}return e.prototype.buildPrev=function(e,t,n){var r=this.props.dateEnv,o=r.subtract(r.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(o,-1,n)},e.prototype.buildNext=function(e,t,n){var r=this.props.dateEnv,o=r.add(r.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(o,1,n)},e.prototype.build=function(e,t,n){void 0===n&&(n=!0);var r,o,i,a,s,l,c=this.props;return r=this.buildValidRange(),r=this.trimHiddenDays(r),n&&(e=function(e,t){return null!=t.start&&e<t.start?t.start:null!=t.end&&e>=t.end?new Date(t.end.valueOf()-1):e}(e,r)),o=this.buildCurrentRangeInfo(e,t),i=/^(year|month|week|day)$/.test(o.unit),a=this.buildRenderRange(this.trimHiddenDays(o.range),o.unit,i),s=a=this.trimHiddenDays(a),c.showNonCurrentDates||(s=Wg(s,o.range)),s=Wg(s=this.adjustActiveRange(s),r),l=Ug(o.range,r),{validRange:r,currentRange:o.range,currentRangeUnit:o.unit,isRangeAllDay:i,activeRange:s,renderRange:a,slotMinTime:c.slotMinTime,slotMaxTime:c.slotMaxTime,isValid:l,dateIncrement:this.buildDateIncrement(o.duration)}},e.prototype.buildValidRange=function(){var e=this.props.validRangeInput,t="function"===typeof e?e.call(this.props.calendarApi,this.nowDate):e;return this.refineRange(t)||{start:null,end:null}},e.prototype.buildCurrentRangeInfo=function(e,t){var n,r=this.props,o=null,i=null,a=null;return r.duration?(o=r.duration,i=r.durationUnit,a=this.buildRangeFromDuration(e,t,o,i)):(n=this.props.dayCount)?(i="day",a=this.buildRangeFromDayCount(e,t,n)):(a=this.buildCustomVisibleRange(e))?i=r.dateEnv.greatestWholeUnit(a.start,a.end).unit:(i=Pm(o=this.getFallbackDuration()).unit,a=this.buildRangeFromDuration(e,t,o,i)),{duration:o,unit:i,range:a}},e.prototype.getFallbackDuration=function(){return Tm({day:1})},e.prototype.adjustActiveRange=function(e){var t=this.props,n=t.dateEnv,r=t.usesMinMaxTime,o=t.slotMinTime,i=t.slotMaxTime,a=e.start,s=e.end;return r&&(Lm(o)<0&&(a=lm(a),a=n.add(a,o)),Lm(i)>1&&(s=om(s=lm(s),-1),s=n.add(s,i))),{start:a,end:s}},e.prototype.buildRangeFromDuration=function(e,t,n,r){var o,i,a,s=this.props,l=s.dateEnv,c=s.dateAlignment;if(!c){var u=this.props.dateIncrement;c=u&&Rm(u)<Rm(n)?Pm(u).unit:r}function d(){o=l.startOf(e,c),i=l.add(o,n),a={start:o,end:i}}return Lm(n)<=1&&this.isHiddenDay(o)&&(o=lm(o=this.skipHiddenDays(o,t))),d(),this.trimHiddenDays(a)||(e=this.skipHiddenDays(e,t),d()),a},e.prototype.buildRangeFromDayCount=function(e,t,n){var r,o=this.props,i=o.dateEnv,a=o.dateAlignment,s=0,l=e;a&&(l=i.startOf(l,a)),l=lm(l),r=l=this.skipHiddenDays(l,t);do{r=om(r,1),this.isHiddenDay(r)||(s+=1)}while(s<n);return{start:l,end:r}},e.prototype.buildCustomVisibleRange=function(e){var t=this.props,n=t.visibleRangeInput,r="function"===typeof n?n.call(t.calendarApi,t.dateEnv.toDate(e)):n,o=this.refineRange(r);return!o||null!=o.start&&null!=o.end?o:null},e.prototype.buildRenderRange=function(e,t,n){return e},e.prototype.buildDateIncrement=function(e){var t,n=this.props.dateIncrement;return n||((t=this.props.dateAlignment)?Tm(1,t):e||Tm({days:1}))},e.prototype.refineRange=function(e){if(e){var t=function(e,t){var n=null,r=null;return e.start&&(n=t.createMarker(e.start)),e.end&&(r=t.createMarker(e.end)),n||r?n&&r&&r<n?null:{start:n,end:r}:null}(e,this.props.dateEnv);return t&&(t=Rg(t)),t}return null},e.prototype.initHiddenDays=function(){var e,t=this.props.hiddenDays||[],n=[],r=0;for(!1===this.props.weekends&&t.push(0,6),e=0;e<7;e+=1)(n[e]=-1!==t.indexOf(e))||(r+=1);if(!r)throw new Error("invalid hiddenDays");this.isHiddenDayHash=n},e.prototype.trimHiddenDays=function(e){var t=e.start,n=e.end;return t&&(t=this.skipHiddenDays(t)),n&&(n=this.skipHiddenDays(n,-1,!0)),null==t||null==n||t<n?{start:t,end:n}:null},e.prototype.isHiddenDay=function(e){return e instanceof Date&&(e=e.getUTCDay()),this.isHiddenDayHash[e]},e.prototype.skipHiddenDays=function(e,t,n){for(void 0===t&&(t=1),void 0===n&&(n=!1);this.isHiddenDayHash[(e.getUTCDay()+(n?t:0)+7)%7];)e=om(e,t);return e},e}();function qy(e,t,n){var r=t?t.activeRange:null;return Wy({},function(e,t){var n=vv(t),r=[].concat(e.eventSources||[]),o=[];e.initialEvents&&r.unshift(e.initialEvents);e.events&&r.unshift(e.events);for(var i=0,a=r;i<a.length;i++){var s=gv(a[i],t,n);s&&o.push(s)}return o}(e,n),r,n)}function Py(e,t,n,r){var o,i,a=n?n.activeRange:null;switch(t.type){case"ADD_EVENT_SOURCES":return Wy(e,t.sources,a,r);case"REMOVE_EVENT_SOURCE":return o=e,i=t.sourceId,ym(o,(function(e){return e.sourceId!==i}));case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return n?Fy(e,a,r):e;case"FETCH_EVENT_SOURCES":return Uy(e,t.sourceIds?Om(t.sourceIds):Hy(e,r),a,t.isRefetch||!1,r);case"RECEIVE_EVENTS":case"RECEIVE_EVENT_ERROR":return function(e,t,n,r){var o,i=e[t];if(i&&n===i.latestFetchId)return gA(gA({},e),((o={})[t]=gA(gA({},i),{isFetching:!1,fetchRange:r}),o));return e}(e,t.sourceId,t.fetchId,t.fetchRange);case"REMOVE_ALL_EVENT_SOURCES":return{};default:return e}}function Iy(e){for(var t in e)if(e[t].isFetching)return!0;return!1}function Wy(e,t,n,r){for(var o={},i=0,a=t;i<a.length;i++){var s=a[i];o[s.sourceId]=s}return n&&(o=Fy(o,n,r)),gA(gA({},e),o)}function Fy(e,t,n){return Uy(e,ym(e,(function(e){return function(e,t,n){if(!$y(e,n))return!e.latestFetchId;return!n.options.lazyFetching||!e.fetchRange||e.isFetching||t.start<e.fetchRange.start||t.end>e.fetchRange.end}(e,t,n)})),t,!1,n)}function Uy(e,t,n,r,o){var i={};for(var a in e){var s=e[a];t[a]?i[a]=Zy(s,n,r,o):i[a]=s}return i}function Zy(e,t,n,r){var o=r.options,i=r.calendarApi,a=r.pluginHooks.eventSourceDefs[e.sourceDefId],s=ZA();return a.fetch({eventSource:e,range:t,isRefetch:n,context:r},(function(n){var a=n.rawEvents;o.eventSourceSuccess&&(a=o.eventSourceSuccess.call(i,a,n.xhr)||a),e.success&&(a=e.success.call(i,a,n.xhr)||a),r.dispatch({type:"RECEIVE_EVENTS",sourceId:e.sourceId,fetchId:s,fetchRange:t,rawEvents:a})}),(function(n){console.warn(n.message,n),o.eventSourceFailure&&o.eventSourceFailure.call(i,n),e.failure&&e.failure(n),r.dispatch({type:"RECEIVE_EVENT_ERROR",sourceId:e.sourceId,fetchId:s,fetchRange:t,error:n})})),gA(gA({},e),{isFetching:!0,latestFetchId:s})}function Hy(e,t){return ym(e,(function(e){return $y(e,t)}))}function $y(e,t){return!t.pluginHooks.eventSourceDefs[e.sourceDefId].ignoreRange}function Vy(e,t,n,r,o){switch(t.type){case"RECEIVE_EVENTS":return function(e,t,n,r,o,i){if(t&&n===t.latestFetchId){var a=gg(function(e,t,n){var r=n.options.eventDataTransform,o=t?t.eventDataTransform:null;o&&(e=Xy(e,o));r&&(e=Xy(e,r));return e}(o,t,i),t,i);return r&&(a=Em(a,r,i)),Mg(Qy(e,t.sourceId),a)}return e}(e,n[t.sourceId],t.fetchId,t.fetchRange,t.rawEvents,o);case"ADD_EVENTS":return function(e,t,n,r){n&&(t=Em(t,n,r));return Mg(e,t)}(e,t.eventStore,r?r.activeRange:null,o);case"RESET_EVENTS":return t.eventStore;case"MERGE_EVENTS":return Mg(e,t.eventStore);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return r?Em(e,r.activeRange,o):e;case"REMOVE_EVENTS":return function(e,t){var n=e.defs,r=e.instances,o={},i={};for(var a in n)t.defs[a]||(o[a]=n[a]);for(var s in r)!t.instances[s]&&o[r[s].defId]&&(i[s]=r[s]);return{defs:o,instances:i}}(e,t.eventStore);case"REMOVE_EVENT_SOURCE":return Qy(e,t.sourceId);case"REMOVE_ALL_EVENT_SOURCES":return Og(e,(function(e){return!e.sourceId}));case"REMOVE_ALL_EVENTS":return{defs:{},instances:{}};default:return e}}function Xy(e,t){var n;if(t){n=[];for(var r=0,o=e;r<o.length;r++){var i=o[r],a=t(i);a?n.push(a):null==a&&n.push(i)}}else n=e;return n}function Qy(e,t){return Og(e,(function(e){return e.sourceId!==t}))}function Yy(e,t){switch(t.type){case"UNSELECT_DATES":return null;case"SELECT_DATES":return t.selection;default:return e}}function Gy(e,t){switch(t.type){case"UNSELECT_EVENT":return"";case"SELECT_EVENT":return t.eventInstanceId;default:return e}}function Ky(e,t){var n;switch(t.type){case"UNSET_EVENT_DRAG":return null;case"SET_EVENT_DRAG":return{affectedEvents:(n=t.state).affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return e}}function Jy(e,t){var n;switch(t.type){case"UNSET_EVENT_RESIZE":return null;case"SET_EVENT_RESIZE":return{affectedEvents:(n=t.state).affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return e}}function eM(e,t,n,r,o){return{header:e.headerToolbar?tM(e.headerToolbar,e,t,n,r,o):null,footer:e.footerToolbar?tM(e.footerToolbar,e,t,n,r,o):null}}function tM(e,t,n,r,o,i){var a={},s=[],l=!1;for(var c in e){var u=nM(e[c],t,n,r,o,i);a[c]=u.widgets,s.push.apply(s,u.viewsWithButtons),l=l||u.hasTitle}return{sectionWidgets:a,viewsWithButtons:s,hasTitle:l}}function nM(e,t,n,r,o,i){var a="rtl"===t.direction,s=t.customButtons||{},l=n.buttonText||{},c=t.buttonText||{},u=n.buttonHints||{},d=t.buttonHints||{},p=e?e.split(" "):[],f=[],h=!1;return{widgets:p.map((function(e){return e.split(",").map((function(e){if("title"===e)return h=!0,{buttonName:e};var n,p,b,A,m,g;if(n=s[e])b=function(e){n.click&&n.click.call(e.target,e,e.target)},(A=r.getCustomButtonIconClass(n))||(A=r.getIconClass(e,a))||(m=n.text),g=n.hint||n.text;else if(p=o[e]){f.push(e),b=function(){i.changeView(e)},(m=p.buttonTextOverride)||(A=r.getIconClass(e,a))||(m=p.buttonTextDefault);var v=p.buttonTextOverride||p.buttonTextDefault;g=KA(p.buttonTitleOverride||p.buttonTitleDefault||t.viewHint,[v,e],v)}else if(i[e])if(b=function(){i[e]()},(m=l[e])||(A=r.getIconClass(e,a))||(m=c[e]),"prevYear"===e||"nextYear"===e){var y="prevYear"===e?"prev":"next";g=KA(u[y]||d[y],[c.year||"year","year"],c[e])}else g=function(t){return KA(u[e]||d[e],[c[t]||t,t],c[e])};return{buttonName:e,buttonClick:b,buttonIcon:A,buttonText:m,buttonHint:g}}))})),viewsWithButtons:f,hasTitle:h}}var rM={ignoreRange:!0,parseMeta:function(e){return Array.isArray(e.events)?e.events:null},fetch:function(e,t){t({rawEvents:e.eventSource.meta})}},oM={parseMeta:function(e){return"function"===typeof e.events?e.events:null},fetch:function(e,t,n){var r=e.context.dateEnv;oy(e.eventSource.meta.bind(null,lv(e.range,r)),(function(e){t({rawEvents:e})}),n)}};function iM(e,t,n,r,o){var i=null;"GET"===(e=e.toUpperCase())?t=function(e,t){return e+(-1===e.indexOf("?")?"?":"&")+aM(t)}(t,n):i=aM(n);var a=new XMLHttpRequest;a.open(e,t,!0),"GET"!==e&&a.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),a.onload=function(){if(a.status>=200&&a.status<400){var e=!1,t=void 0;try{t=JSON.parse(a.responseText),e=!0}catch(n){}e?r(t,a):o("Failure parsing JSON",a)}else o("Request failed",a)},a.onerror=function(){o("Request failed",a)},a.send(i)}function aM(e){var t=[];for(var n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}var sM={parseMeta:function(e){return!e.url||"json"!==e.format&&e.format?null:{url:e.url,format:"json",method:(e.method||"GET").toUpperCase(),extraParams:e.extraParams,startParam:e.startParam,endParam:e.endParam,timeZoneParam:e.timeZoneParam}},fetch:function(e,t,n){var r=e.eventSource.meta,o=function(e,t,n){var r,o,i,a,s=n.dateEnv,l=n.options,c={};r=e.startParam,null==r&&(r=l.startParam);o=e.endParam,null==o&&(o=l.endParam);i=e.timeZoneParam,null==i&&(i=l.timeZoneParam);a="function"===typeof e.extraParams?e.extraParams():e.extraParams||{};gA(c,a),c[r]=s.formatIso(t.start),c[o]=s.formatIso(t.end),"local"!==s.timeZone&&(c[i]=s.timeZone);return c}(r,e.range,e.context);iM(r.method,r.url,o,(function(e,n){t({rawEvents:e,xhr:n})}),(function(e,t){n({message:e,xhr:t})}))}};function lM(e,t){for(var n=_m(t.getCurrentData().eventSources),r=[],o=0,i=e;o<i.length;o++){for(var a=i[o],s=!1,l=0;l<n.length;l+=1)if(n[l]._raw===a){n.splice(l,1),s=!0;break}s||r.push(a)}for(var c=0,u=n;c<u.length;c++){var d=u[c];t.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:d.sourceId})}for(var p=0,f=r;p<f.length;p++){var h=f[p];t.calendarApi.addEventSource(h)}}var cM=[yy({eventSourceDefs:[rM]}),yy({eventSourceDefs:[oM]}),yy({eventSourceRefiners:{method:String,extraParams:mg,startParam:String,endParam:String,timeZoneParam:String},eventSourceDefs:[sM]}),yy({recurringTypes:[{parse:function(e,t){if(e.daysOfWeek||e.startTime||e.endTime||e.startRecur||e.endRecur){var n={daysOfWeek:e.daysOfWeek||null,startTime:e.startTime||null,endTime:e.endTime||null,startRecur:e.startRecur?t.createMarker(e.startRecur):null,endRecur:e.endRecur?t.createMarker(e.endRecur):null},r=void 0;return e.duration&&(r=e.duration),!r&&e.startTime&&e.endTime&&(o=e.endTime,i=e.startTime,r={years:o.years-i.years,months:o.months-i.months,days:o.days-i.days,milliseconds:o.milliseconds-i.milliseconds}),{allDayGuess:Boolean(!e.startTime&&!e.endTime),duration:r,typeData:n}}var o,i;return null},expand:function(e,t,n){var r=Wg(t,{start:e.startRecur,end:e.endRecur});return r?function(e,t,n,r){var o=e?Om(e):null,i=lm(n.start),a=n.end,s=[];for(;i<a;){var l=void 0;o&&!o[i.getUTCDay()]||(l=t?r.add(i,t):i,s.push(l)),i=om(i,1)}return s}(e.daysOfWeek,e.startTime,r,n):[]}}],eventRefiners:{daysOfWeek:mg,startTime:Tm,endTime:Tm,duration:Tm,startRecur:mg,endRecur:mg}}),yy({optionChangeHandlers:{events:function(e,t){lM([e],t)},eventSources:lM}}),yy({isLoadingFuncs:[function(e){return Iy(e.eventSources)}],contentTypeHandlers:{html:function(){var e=null,t="";return{render:function(n,r){n===e&&r===t||(n.innerHTML=r),e=n,t=r},destroy:function(){e.innerHTML="",e=null,t=""}}},domNodes:function(){var e=null,t=[];function n(){t.forEach(CA),t=[],e=null}return{render:function(r,o){var i=Array.prototype.slice.call(o);if(r!==e||!Um(t,i)){for(var a=0,s=i;a<s.length;a++){var l=s[a];r.appendChild(l)}n()}e=r,t=i},destroy:n}}},propSetHandlers:{dateProfile:function(e,t){t.emitter.trigger("datesSet",gA(gA({},lv(e.activeRange,t.dateEnv)),{view:t.viewApi}))},eventStore:function(e,t){var n=t.emitter;n.hasHandlers("eventsSet")&&n.trigger("eventsSet",zv(e,t))}}})];var uM=function(){function e(e){this.drainedOption=e,this.isRunning=!1,this.isDirty=!1,this.pauseDepths={},this.timeoutId=0}return e.prototype.request=function(e){this.isDirty=!0,this.isPaused()||(this.clearTimeout(),null==e?this.tryDrain():this.timeoutId=setTimeout(this.tryDrain.bind(this),e))},e.prototype.pause=function(e){void 0===e&&(e="");var t=this.pauseDepths;t[e]=(t[e]||0)+1,this.clearTimeout()},e.prototype.resume=function(e,t){void 0===e&&(e="");var n=this.pauseDepths;if(e in n){if(t)delete n[e];else n[e]-=1,n[e]<=0&&delete n[e];this.tryDrain()}},e.prototype.isPaused=function(){return Object.keys(this.pauseDepths).length},e.prototype.tryDrain=function(){if(!this.isRunning&&!this.isPaused()){for(this.isRunning=!0;this.isDirty;)this.isDirty=!1,this.drained();this.isRunning=!1}},e.prototype.clear=function(){this.clearTimeout(),this.isDirty=!1,this.pauseDepths={}},e.prototype.clearTimeout=function(){this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=0)},e.prototype.drained=function(){this.drainedOption&&this.drainedOption()},e}(),dM=function(){function e(e,t){this.runTaskOption=e,this.drainedOption=t,this.queue=[],this.delayedRunner=new uM(this.drain.bind(this))}return e.prototype.request=function(e,t){this.queue.push(e),this.delayedRunner.request(t)},e.prototype.pause=function(e){this.delayedRunner.pause(e)},e.prototype.resume=function(e,t){this.delayedRunner.resume(e,t)},e.prototype.drain=function(){for(var e=this.queue;e.length;){for(var t=[],n=void 0;n=e.shift();)this.runTask(n),t.push(n);this.drained(t)}},e.prototype.runTask=function(e){this.runTaskOption&&this.runTaskOption(e)},e.prototype.drained=function(e){this.drainedOption&&this.drainedOption(e)},e}();function pM(e,t,n){var r;return r=/^(year|month)$/.test(e.currentRangeUnit)?e.currentRange:e.activeRange,n.formatRange(r.start,r.end,sg(t.titleFormat||function(e){var t=e.currentRangeUnit;if("year"===t)return{year:"numeric"};if("month"===t)return{year:"numeric",month:"long"};var n=sm(e.currentRange.start,e.currentRange.end);if(null!==n&&n>1)return{year:"numeric",month:"short",day:"numeric"};return{year:"numeric",month:"long",day:"numeric"}}(e)),{isEndExclusive:e.isRangeAllDay,defaultSeparator:t.titleRangeSeparator})}var fM=function(){function e(e){var t=this;this.computeOptionsData=Zm(this._computeOptionsData),this.computeCurrentViewData=Zm(this._computeCurrentViewData),this.organizeRawLocales=Zm(Dv),this.buildLocale=Zm(Nv),this.buildPluginHooks=My(),this.buildDateEnv=Zm(hM),this.buildTheme=Zm(bM),this.parseToolbars=Zm(eM),this.buildViewSpecs=Zm(By),this.buildDateProfileGenerator=Hm(AM),this.buildViewApi=Zm(mM),this.buildViewUiProps=Hm(yM),this.buildEventUiBySource=Zm(gM,zm),this.buildEventUiBases=Zm(vM),this.parseContextBusinessHours=Hm(OM),this.buildTitle=Zm(pM),this.emitter=new iy,this.actionRunner=new dM(this._handleAction.bind(this),this.updateData.bind(this)),this.currentCalendarOptionsInput={},this.currentCalendarOptionsRefined={},this.currentViewOptionsInput={},this.currentViewOptionsRefined={},this.currentCalendarOptionsRefiners={},this.getCurrentData=function(){return t.data},this.dispatch=function(e){t.actionRunner.request(e)},this.props=e,this.actionRunner.pause();var n={},r=this.computeOptionsData(e.optionOverrides,n,e.calendarApi),o=r.calendarOptions.initialView||r.pluginHooks.initialView,i=this.computeCurrentViewData(o,r,e.optionOverrides,n);e.calendarApi.currentDataManager=this,this.emitter.setThisContext(e.calendarApi),this.emitter.setOptions(i.options);var a=function(e,t){var n=e.initialDate;return null!=n?t.createMarker(n):yv(e.now,t)}(r.calendarOptions,r.dateEnv),s=i.dateProfileGenerator.build(a);Hg(s.activeRange,a)||(a=s.currentRange.start);for(var l={dateEnv:r.dateEnv,options:r.calendarOptions,pluginHooks:r.pluginHooks,calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},c=0,u=r.pluginHooks.contextInit;c<u.length;c++){(0,u[c])(l)}for(var d=qy(r.calendarOptions,s,l),p={dynamicOptionOverrides:n,currentViewType:o,currentDate:a,dateProfile:s,businessHours:this.parseContextBusinessHours(l),eventSources:d,eventUiBases:{},eventStore:{defs:{},instances:{}},renderableEventStore:{defs:{},instances:{}},dateSelection:null,eventSelection:"",eventDrag:null,eventResize:null,selectionConfig:this.buildViewUiProps(l).selectionConfig},f=gA(gA({},l),p),h=0,b=r.pluginHooks.reducers;h<b.length;h++){var A=b[h];gA(p,A(null,null,f))}MM(p,l)&&this.emitter.trigger("loading",!0),this.state=p,this.updateData(),this.actionRunner.resume()}return e.prototype.resetOptions=function(e,t){var n=this.props;n.optionOverrides=t?gA(gA({},n.optionOverrides),e):e,this.actionRunner.request({type:"NOTHING"})},e.prototype._handleAction=function(e){var t=this,n=t.props,r=t.state,o=t.emitter,i=function(e,t){var n;return"SET_OPTION"===t.type?gA(gA({},e),((n={})[t.optionName]=t.rawOptionValue,n)):e}(r.dynamicOptionOverrides,e),a=this.computeOptionsData(n.optionOverrides,i,n.calendarApi),s=function(e,t){"CHANGE_VIEW_TYPE"===t.type&&(e=t.viewType);return e}(r.currentViewType,e),l=this.computeCurrentViewData(s,a,n.optionOverrides,i);n.calendarApi.currentDataManager=this,o.setThisContext(n.calendarApi),o.setOptions(l.options);var c={dateEnv:a.dateEnv,options:a.calendarOptions,pluginHooks:a.pluginHooks,calendarApi:n.calendarApi,dispatch:this.dispatch,emitter:o,getCurrentData:this.getCurrentData},u=r.currentDate,d=r.dateProfile;this.data&&this.data.dateProfileGenerator!==l.dateProfileGenerator&&(d=l.dateProfileGenerator.build(u)),u=function(e,t){return"CHANGE_DATE"===t.type?t.dateMarker:e}(u,e),d=function(e,t,n,r){var o;switch(t.type){case"CHANGE_VIEW_TYPE":return r.build(t.dateMarker||n);case"CHANGE_DATE":return r.build(t.dateMarker);case"PREV":if((o=r.buildPrev(e,n)).isValid)return o;break;case"NEXT":if((o=r.buildNext(e,n)).isValid)return o}return e}(d,e,u,l.dateProfileGenerator),"PREV"!==e.type&&"NEXT"!==e.type&&Hg(d.currentRange,u)||(u=d.currentRange.start);for(var p=Py(r.eventSources,e,d,c),f=Vy(r.eventStore,e,p,d,c),h=Iy(p)&&!l.options.progressiveEventRendering&&r.renderableEventStore||f,b=this.buildViewUiProps(c),A=b.eventUiSingleBase,m=b.selectionConfig,g=this.buildEventUiBySource(p),v={dynamicOptionOverrides:i,currentViewType:s,currentDate:u,dateProfile:d,eventSources:p,eventStore:f,renderableEventStore:h,selectionConfig:m,eventUiBases:this.buildEventUiBases(h.defs,A,g),businessHours:this.parseContextBusinessHours(c),dateSelection:Yy(r.dateSelection,e),eventSelection:Gy(r.eventSelection,e),eventDrag:Ky(r.eventDrag,e),eventResize:Jy(r.eventResize,e)},y=gA(gA({},c),v),M=0,O=a.pluginHooks.reducers;M<O.length;M++){var _=O[M];gA(v,_(r,e,y))}var z=MM(r,c),x=MM(v,c);!z&&x?o.trigger("loading",!0):z&&!x&&o.trigger("loading",!1),this.state=v,n.onAction&&n.onAction(e)},e.prototype.updateData=function(){var e=this.props,t=this.state,n=this.data,r=this.computeOptionsData(e.optionOverrides,t.dynamicOptionOverrides,e.calendarApi),o=this.computeCurrentViewData(t.currentViewType,r,e.optionOverrides,t.dynamicOptionOverrides),i=this.data=gA(gA(gA({viewTitle:this.buildTitle(t.dateProfile,o.options,r.dateEnv),calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},r),o),t),a=r.pluginHooks.optionChangeHandlers,s=n&&n.calendarOptions,l=r.calendarOptions;if(s&&s!==l)for(var c in s.timeZone!==l.timeZone&&(t.eventSources=i.eventSources=function(e,t,n){var r=t?t.activeRange:null;return Uy(e,Hy(e,n),r,!0,n)}(i.eventSources,t.dateProfile,i),t.eventStore=i.eventStore=function(e,t,n){var r=e.defs,o=Mm(e.instances,(function(e){var o=r[e.defId];return o.allDay||o.recurringDef?e:gA(gA({},e),{range:{start:n.createMarker(t.toDate(e.range.start,e.forcedStartTzo)),end:n.createMarker(t.toDate(e.range.end,e.forcedEndTzo))},forcedStartTzo:n.canComputeOffset?null:e.forcedStartTzo,forcedEndTzo:n.canComputeOffset?null:e.forcedEndTzo})}));return{defs:r,instances:o}}(i.eventStore,n.dateEnv,i.dateEnv)),a)s[c]!==l[c]&&a[c](l[c],i);e.onData&&e.onData(i)},e.prototype._computeOptionsData=function(e,t,n){var r=this.processRawCalendarOptions(e,t),o=r.refinedOptions,i=r.pluginHooks,a=r.localeDefaults,s=r.availableLocaleData;_M(r.extra);var l=this.buildDateEnv(o.timeZone,o.locale,o.weekNumberCalculation,o.firstDay,o.weekText,i,s,o.defaultRangeSeparator),c=this.buildViewSpecs(i.views,e,t,a),u=this.buildTheme(o,i);return{calendarOptions:o,pluginHooks:i,dateEnv:l,viewSpecs:c,theme:u,toolbarConfig:this.parseToolbars(o,e,u,c,n),localeDefaults:a,availableRawLocales:s.map}},e.prototype.processRawCalendarOptions=function(e,t){var n=bg([cg,e,t]),r=n.locales,o=n.locale,i=this.organizeRawLocales(r),a=i.map,s=this.buildLocale(o||i.defaultCode,a).options,l=this.buildPluginHooks(e.plugins||[],cM),c=this.currentCalendarOptionsRefiners=gA(gA(gA(gA(gA({},lg),ug),dg),l.listenerRefiners),l.optionRefiners),u={},d=bg([cg,s,e,t]),p={},f=this.currentCalendarOptionsInput,h=this.currentCalendarOptionsRefined,b=!1;for(var A in d)"plugins"!==A&&(d[A]===f[A]||pg[A]&&A in f&&pg[A](f[A],d[A])?p[A]=h[A]:c[A]?(p[A]=c[A](d[A]),b=!0):u[A]=f[A]);return b&&(this.currentCalendarOptionsInput=d,this.currentCalendarOptionsRefined=p),{rawOptions:this.currentCalendarOptionsInput,refinedOptions:this.currentCalendarOptionsRefined,pluginHooks:l,availableLocaleData:i,localeDefaults:s,extra:u}},e.prototype._computeCurrentViewData=function(e,t,n,r){var o=t.viewSpecs[e];if(!o)throw new Error('viewType "'+e+"\" is not available. Please make sure you've loaded all neccessary plugins");var i=this.processRawViewOptions(o,t.pluginHooks,t.localeDefaults,n,r),a=i.refinedOptions;return _M(i.extra),{viewSpec:o,options:a,dateProfileGenerator:this.buildDateProfileGenerator({dateProfileGeneratorClass:o.optionDefaults.dateProfileGeneratorClass,duration:o.duration,durationUnit:o.durationUnit,usesMinMaxTime:o.optionDefaults.usesMinMaxTime,dateEnv:t.dateEnv,calendarApi:this.props.calendarApi,slotMinTime:a.slotMinTime,slotMaxTime:a.slotMaxTime,showNonCurrentDates:a.showNonCurrentDates,dayCount:a.dayCount,dateAlignment:a.dateAlignment,dateIncrement:a.dateIncrement,hiddenDays:a.hiddenDays,weekends:a.weekends,nowInput:a.now,validRangeInput:a.validRange,visibleRangeInput:a.visibleRange,monthMode:a.monthMode,fixedWeekCount:a.fixedWeekCount}),viewApi:this.buildViewApi(e,this.getCurrentData,t.dateEnv)}},e.prototype.processRawViewOptions=function(e,t,n,r,o){var i=bg([cg,e.optionDefaults,n,r,e.optionOverrides,o]),a=gA(gA(gA(gA(gA(gA({},lg),ug),dg),hg),t.listenerRefiners),t.optionRefiners),s={},l=this.currentViewOptionsInput,c=this.currentViewOptionsRefined,u=!1,d={};for(var p in i)i[p]===l[p]||pg[p]&&pg[p](i[p],l[p])?s[p]=c[p]:(i[p]===this.currentCalendarOptionsInput[p]||pg[p]&&pg[p](i[p],this.currentCalendarOptionsInput[p])?p in this.currentCalendarOptionsRefined&&(s[p]=this.currentCalendarOptionsRefined[p]):a[p]?s[p]=a[p](i[p]):d[p]=i[p],u=!0);return u&&(this.currentViewOptionsInput=i,this.currentViewOptionsRefined=s),{rawOptions:this.currentViewOptionsInput,refinedOptions:this.currentViewOptionsRefined,extra:d}},e}();function hM(e,t,n,r,o,i,a,s){var l=Nv(t||a.defaultCode,a.map);return new Cv({calendarSystem:"gregory",timeZone:e,namedTimeZoneImpl:i.namedTimeZonedImpl,locale:l,weekNumberCalculation:n,firstDay:r,weekText:o,cmdFormatter:i.cmdFormatter,defaultSeparator:s})}function bM(e,t){return new(t.themeClasses[e.themeSystem]||Oy)(e)}function AM(e){return new(e.dateProfileGeneratorClass||Ry)(e)}function mM(e,t,n){return new Av(e,t,n)}function gM(e){return Mm(e,(function(e){return e.ui}))}function vM(e,t,n){var r={"":t};for(var o in e){var i=e[o];i.sourceId&&n[i.sourceId]&&(r[o]=n[i.sourceId])}return r}function yM(e){var t=e.options;return{eventUiSingleBase:wg({display:t.eventDisplay,editable:t.editable,startEditable:t.eventStartEditable,durationEditable:t.eventDurationEditable,constraint:t.eventConstraint,overlap:"boolean"===typeof t.eventOverlap?t.eventOverlap:void 0,allow:t.eventAllow,backgroundColor:t.eventBackgroundColor,borderColor:t.eventBorderColor,textColor:t.eventTextColor,color:t.eventColor},e),selectionConfig:wg({constraint:t.selectConstraint,overlap:"boolean"===typeof t.selectOverlap?t.selectOverlap:void 0,allow:t.selectAllow},e)}}function MM(e,t){for(var n=0,r=t.pluginHooks.isLoadingFuncs;n<r.length;n++){if((0,r[n])(e))return!0}return!1}function OM(e){return Lv(e.options.businessHours,e)}function _M(e,t){for(var n in e)console.warn("Unknown option '"+n+"'"+(t?" for view '"+t+"'":""))}var zM=function(e){function t(t){var n=e.call(this,t)||this;return n.handleData=function(e){n.dataManager?n.setState(e):n.state=e},n.dataManager=new fM({optionOverrides:t.optionOverrides,calendarApi:t.calendarApi,onData:n.handleData}),n}return mA(t,e),t.prototype.render=function(){return this.props.children(this.state)},t.prototype.componentDidUpdate=function(e){var t=this.props.optionOverrides;t!==e.optionOverrides&&this.dataManager.resetOptions(t)},t}(yA);var xM=function(){function e(){this.strictOrder=!1,this.allowReslicing=!1,this.maxCoord=-1,this.maxStackCnt=-1,this.levelCoords=[],this.entriesByLevel=[],this.stackCnts={}}return e.prototype.addSegs=function(e){for(var t=[],n=0,r=e;n<r.length;n++){var o=r[n];this.insertEntry(o,t)}return t},e.prototype.insertEntry=function(e,t){var n=this.findInsertion(e);return this.isInsertionValid(n,e)?(this.insertEntryAt(e,n),1):this.handleInvalidInsertion(n,e,t)},e.prototype.isInsertionValid=function(e,t){return(-1===this.maxCoord||e.levelCoord+t.thickness<=this.maxCoord)&&(-1===this.maxStackCnt||e.stackCnt<this.maxStackCnt)},e.prototype.handleInvalidInsertion=function(e,t,n){return this.allowReslicing&&e.touchingEntry?this.splitEntry(t,e.touchingEntry,n):(n.push(t),0)},e.prototype.splitEntry=function(e,t,n){var r=0,o=[],i=e.span,a=t.span;return i.start<a.start&&(r+=this.insertEntry({index:e.index,thickness:e.thickness,span:{start:i.start,end:a.start}},o)),i.end>a.end&&(r+=this.insertEntry({index:e.index,thickness:e.thickness,span:{start:a.end,end:i.end}},o)),r?(n.push.apply(n,vA([{index:e.index,thickness:e.thickness,span:SM(a,i)}],o)),r):(n.push(e),0)},e.prototype.insertEntryAt=function(e,t){var n=this.entriesByLevel,r=this.levelCoords;-1===t.lateral?(EM(r,t.level,t.levelCoord),EM(n,t.level,[e])):EM(n[t.level],t.lateral,e),this.stackCnts[CM(e)]=t.stackCnt},e.prototype.findInsertion=function(e){for(var t=this,n=t.levelCoords,r=t.entriesByLevel,o=t.strictOrder,i=t.stackCnts,a=n.length,s=0,l=-1,c=-1,u=null,d=0,p=0;p<a;p+=1){var f=n[p];if(!o&&f>=s+e.thickness)break;for(var h=r[p],b=void 0,A=kM(h,e.span.start,wM),m=A[0]+A[1];(b=h[m])&&b.span.start<e.span.end;){var g=f+b.thickness;g>s&&(s=g,u=b,l=p,c=m),g===s&&(d=Math.max(d,i[CM(b)]+1)),m+=1}}var v=0;if(u)for(v=l+1;v<a&&n[v]<s;)v+=1;var y=-1;return v<a&&n[v]===s&&(y=kM(r[v],e.span.end,wM)[0]),{touchingLevel:l,touchingLateral:c,touchingEntry:u,stackCnt:d,levelCoord:s,level:v,lateral:y}},e.prototype.toRects=function(){for(var e=this.entriesByLevel,t=this.levelCoords,n=e.length,r=[],o=0;o<n;o+=1)for(var i=e[o],a=t[o],s=0,l=i;s<l.length;s++){var c=l[s];r.push(gA(gA({},c),{levelCoord:a}))}return r},e}();function wM(e){return e.span.end}function CM(e){return e.index+":"+e.span.start}function SM(e,t){var n=Math.max(e.start,t.start),r=Math.min(e.end,t.end);return n<r?{start:n,end:r}:null}function EM(e,t,n){e.splice(t,0,n)}function kM(e,t,n){var r=0,o=e.length;if(!o||t<n(e[r]))return[0,0];if(t>n(e[o-1]))return[o,0];for(;r<o;){var i=Math.floor(r+(o-r)/2),a=n(e[i]);if(t<a)o=i;else{if(!(t>a))return[i,1];r=i+1}}return[r,0]}var DM=function(){function e(e){this.component=e.component,this.isHitComboAllowed=e.isHitComboAllowed||null}return e.prototype.destroy=function(){},e}();function NM(e){var t;return(t={})[e.component.uid]=e,t}var TM={},jM=function(){function e(e,t){this.emitter=new iy}return e.prototype.destroy=function(){},e.prototype.setMirrorIsVisible=function(e){},e.prototype.setMirrorNeedsRevert=function(e){},e.prototype.setAutoScrollEnabled=function(e){},e}(),BM={},LM={startTime:Tm,duration:Tm,create:Boolean,sourceId:String};function RM(e){var t=Ag(e,LM),n=t.refined,r=t.extra;return{startTime:n.startTime||null,duration:n.duration||null,create:null==n.create||n.create,sourceId:n.sourceId,leftoverProps:r}}var qM=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return mA(t,e),t.prototype.render=function(){var e=this,t=this.props.widgetGroups.map((function(t){return e.renderWidgetGroup(t)}));return MA.apply(void 0,vA(["div",{className:"fc-toolbar-chunk"}],t))},t.prototype.renderWidgetGroup=function(e){for(var t=this.props,n=this.context.theme,r=[],o=!0,i=0,a=e;i<a.length;i++){var s=a[i],l=s.buttonName,c=s.buttonClick,u=s.buttonText,d=s.buttonIcon,p=s.buttonHint;if("title"===l)o=!1,r.push(MA("h2",{className:"fc-toolbar-title",id:t.titleId},t.title));else{var f=l===t.activeButton,h=!t.isTodayEnabled&&"today"===l||!t.isPrevEnabled&&"prev"===l||!t.isNextEnabled&&"next"===l,b=["fc-"+l+"-button",n.getClass("button")];f&&b.push(n.getClass("buttonActive")),r.push(MA("button",{type:"button",title:"function"===typeof p?p(t.navUnit):p,disabled:h,"aria-pressed":f,className:b.join(" "),onClick:c},u||(d?MA("span",{className:d}):"")))}}if(r.length>1){var A=o&&n.getClass("buttonGroup")||"";return MA.apply(void 0,vA(["div",{className:A}],r))}return r[0]},t}(by),PM=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return mA(t,e),t.prototype.render=function(){var e,t,n=this.props,r=n.model,o=n.extraClassName,i=!1,a=r.sectionWidgets,s=a.center;return a.left?(i=!0,e=a.left):e=a.start,a.right?(i=!0,t=a.right):t=a.end,MA("div",{className:[o||"","fc-toolbar",i?"fc-toolbar-ltr":""].join(" ")},this.renderSection("start",e||[]),this.renderSection("center",s||[]),this.renderSection("end",t||[]))},t.prototype.renderSection=function(e,t){var n=this.props;return MA(qM,{key:e,widgetGroups:t,title:n.title,navUnit:n.navUnit,activeButton:n.activeButton,isTodayEnabled:n.isTodayEnabled,isPrevEnabled:n.isPrevEnabled,isNextEnabled:n.isNextEnabled,titleId:n.titleId})},t}(by),IM=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={availableWidth:null},t.handleEl=function(e){t.el=e,gy(t.props.elRef,e),t.updateAvailableWidth()},t.handleResize=function(){t.updateAvailableWidth()},t}return mA(t,e),t.prototype.render=function(){var e=this.props,t=this.state,n=e.aspectRatio,r=["fc-view-harness",n||e.liquid||e.height?"fc-view-harness-active":"fc-view-harness-passive"],o="",i="";return n?null!==t.availableWidth?o=t.availableWidth/n:i=1/n*100+"%":o=e.height||"",MA("div",{"aria-labelledby":e.labeledById,ref:this.handleEl,className:r.join(" "),style:{height:o,paddingBottom:i}},e.children)},t.prototype.componentDidMount=function(){this.context.addResizeHandler(this.handleResize)},t.prototype.componentWillUnmount=function(){this.context.removeResizeHandler(this.handleResize)},t.prototype.updateAvailableWidth=function(){this.el&&this.props.aspectRatio&&this.setState({availableWidth:this.el.offsetWidth})},t}(by),WM=function(e){function t(t){var n=e.call(this,t)||this;return n.handleSegClick=function(e,t){var r=n.component,o=r.context,i=Xg(t);if(i&&r.isValidSegDownEl(e.target)){var a=SA(e.target,".fc-event-forced-url"),s=a?a.querySelector("a[href]").href:"";o.emitter.trigger("eventClick",{el:t,event:new Ov(r.context,i.eventRange.def,i.eventRange.instance),jsEvent:e,view:o.viewApi}),s&&!e.defaultPrevented&&(window.location.href=s)}},n.destroy=PA(t.el,"click",".fc-event",n.handleSegClick),n}return mA(t,e),t}(DM),FM=function(e){function t(t){var n=e.call(this,t)||this;return n.handleEventElRemove=function(e){e===n.currentSegEl&&n.handleSegLeave(null,n.currentSegEl)},n.handleSegEnter=function(e,t){Xg(t)&&(n.currentSegEl=t,n.triggerEvent("eventMouseEnter",e,t))},n.handleSegLeave=function(e,t){n.currentSegEl&&(n.currentSegEl=null,n.triggerEvent("eventMouseLeave",e,t))},n.removeHoverListeners=function(e,t,n,r){var o;return PA(e,"mouseover",t,(function(e,t){t!==o&&(o=t,n(e,t),t.addEventListener("mouseleave",(function e(n){o=null,r(n,t),t.removeEventListener("mouseleave",e)})))}))}(t.el,".fc-event",n.handleSegEnter,n.handleSegLeave),n}return mA(t,e),t.prototype.destroy=function(){this.removeHoverListeners()},t.prototype.triggerEvent=function(e,t,n){var r=this.component,o=r.context,i=Xg(n);t&&!r.isValidSegDownEl(t.target)||o.emitter.trigger(e,{el:n,event:new Ov(o,i.eventRange.def,i.eventRange.instance),jsEvent:t,view:o.viewApi})},t}(DM),UM=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buildViewContext=Zm(fy),t.buildViewPropTransformers=Zm(HM),t.buildToolbarProps=Zm(ZM),t.headerRef=OA(),t.footerRef=OA(),t.interactionsStore={},t.state={viewLabelId:RA()},t.registerInteractiveComponent=function(e,n){var r=function(e,t){return{component:e,el:t.el,useEventCenter:null==t.useEventCenter||t.useEventCenter,isHitComboAllowed:t.isHitComboAllowed||null}}(e,n),o=[WM,FM].concat(t.props.pluginHooks.componentInteractions).map((function(e){return new e(r)}));t.interactionsStore[e.uid]=o,TM[e.uid]=r},t.unregisterInteractiveComponent=function(e){var n=t.interactionsStore[e.uid];if(n){for(var r=0,o=n;r<o.length;r++){o[r].destroy()}delete t.interactionsStore[e.uid]}delete TM[e.uid]},t.resizeRunner=new uM((function(){t.props.emitter.trigger("_resize",!0),t.props.emitter.trigger("windowResize",{view:t.props.viewApi})})),t.handleWindowResize=function(e){var n=t.props.options;n.handleWindowResize&&e.target===window&&t.resizeRunner.request(n.windowResizeDelay)},t}return mA(t,e),t.prototype.render=function(){var e,t=this.props,n=t.toolbarConfig,r=t.options,o=this.buildToolbarProps(t.viewSpec,t.dateProfile,t.dateProfileGenerator,t.currentDate,yv(t.options.now,t.dateEnv),t.viewTitle),i=!1,a="";t.isHeightAuto||t.forPrint?a="":null!=r.height?i=!0:null!=r.contentHeight?a=r.contentHeight:e=Math.max(r.aspectRatio,.5);var s=this.buildViewContext(t.viewSpec,t.viewApi,t.options,t.dateProfileGenerator,t.dateEnv,t.theme,t.pluginHooks,t.dispatch,t.getCurrentData,t.emitter,t.calendarApi,this.registerInteractiveComponent,this.unregisterInteractiveComponent),l=n.header&&n.header.hasTitle?this.state.viewLabelId:"";return MA(py.Provider,{value:s},n.header&&MA(PM,gA({ref:this.headerRef,extraClassName:"fc-header-toolbar",model:n.header,titleId:l},o)),MA(IM,{liquid:i,height:a,aspectRatio:e,labeledById:l},this.renderView(t),this.buildAppendContent()),n.footer&&MA(PM,gA({ref:this.footerRef,extraClassName:"fc-footer-toolbar",model:n.footer,titleId:""},o)))},t.prototype.componentDidMount=function(){var e=this.props;this.calendarInteractions=e.pluginHooks.calendarInteractions.map((function(t){return new t(e)})),window.addEventListener("resize",this.handleWindowResize);var t=e.pluginHooks.propSetHandlers;for(var n in t)t[n](e[n],e)},t.prototype.componentDidUpdate=function(e){var t=this.props,n=t.pluginHooks.propSetHandlers;for(var r in n)t[r]!==e[r]&&n[r](t[r],t)},t.prototype.componentWillUnmount=function(){window.removeEventListener("resize",this.handleWindowResize),this.resizeRunner.clear();for(var e=0,t=this.calendarInteractions;e<t.length;e++){t[e].destroy()}this.props.emitter.trigger("_unmount")},t.prototype.buildAppendContent=function(){var e=this.props,t=e.pluginHooks.viewContainerAppends.map((function(t){return t(e)}));return MA.apply(void 0,vA([_A,{}],t))},t.prototype.renderView=function(e){for(var t=e.pluginHooks,n=e.viewSpec,r={dateProfile:e.dateProfile,businessHours:e.businessHours,eventStore:e.renderableEventStore,eventUiBases:e.eventUiBases,dateSelection:e.dateSelection,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,isHeightAuto:e.isHeightAuto,forPrint:e.forPrint},o=0,i=this.buildViewPropTransformers(t.viewPropsTransformers);o<i.length;o++){var a=i[o];gA(r,a.transform(r,e))}var s=n.component;return MA(s,gA({},r))},t}(hy);function ZM(e,t,n,r,o,i){var a=n.build(o,void 0,!1),s=n.buildPrev(t,r,!1),l=n.buildNext(t,r,!1);return{title:i,activeButton:e.type,navUnit:e.singleUnit,isTodayEnabled:a.isValid&&!Hg(t.currentRange,o),isPrevEnabled:s.isValid,isNextEnabled:l.isValid}}function HM(e){return e.map((function(e){return new e}))}var $M=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={forPrint:!1},t.handleBeforePrint=function(){t.setState({forPrint:!0})},t.handleAfterPrint=function(){t.setState({forPrint:!1})},t}return mA(t,e),t.prototype.render=function(){var e=this.props,t=e.options,n=this.state.forPrint,r=n||"auto"===t.height||"auto"===t.contentHeight,o=r||null==t.height?"":t.height,i=["fc",n?"fc-media-print":"fc-media-screen","fc-direction-"+t.direction,e.theme.getClass("root")];return Iv()||i.push("fc-liquid-hack"),e.children(i,o,r,n)},t.prototype.componentDidMount=function(){var e=this.props.emitter;e.on("_beforeprint",this.handleBeforePrint),e.on("_afterprint",this.handleAfterPrint)},t.prototype.componentWillUnmount=function(){var e=this.props.emitter;e.off("_beforeprint",this.handleBeforePrint),e.off("_afterprint",this.handleAfterPrint)},t}(by);function VM(e,t){return sg(!e||t>10?{weekday:"short"}:t>1?{weekday:"short",month:"numeric",day:"numeric",omitCommas:!0}:{weekday:"long"})}var XM="fc-col-header-cell";function QM(e){return e.text}var YM=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return mA(t,e),t.prototype.render=function(){var e=this.context,t=e.dateEnv,n=e.options,r=e.theme,o=e.viewApi,i=this.props,a=i.date,s=i.dateProfile,l=Zv(a,i.todayRange,null,s),c=[XM].concat(Hv(l,r)),u=t.format(a,i.dayHeaderFormat),d=!l.isDisabled&&i.colCnt>1?Xv(this.context,a):{},p=gA(gA(gA({date:t.toDate(a),view:o},i.extraHookProps),{text:u}),l);return MA(zy,{hookProps:p,classNames:n.dayHeaderClassNames,content:n.dayHeaderContent,defaultContent:QM,didMount:n.dayHeaderDidMount,willUnmount:n.dayHeaderWillUnmount},(function(e,t,n,r){return MA("th",gA({ref:e,role:"columnheader",className:c.concat(t).join(" "),"data-date":l.isDisabled?void 0:Wm(a),colSpan:i.colSpan},i.extraDataAttrs),MA("div",{className:"fc-scrollgrid-sync-inner"},!l.isDisabled&&MA("a",gA({ref:n,className:["fc-col-header-cell-cushion",i.isSticky?"fc-sticky":""].join(" ")},d),r)))}))},t}(by),GM=sg({weekday:"long"}),KM=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return mA(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.dateEnv,r=t.theme,o=t.viewApi,i=t.options,a=om(new Date(2592e5),e.dow),s={dow:e.dow,isDisabled:!1,isFuture:!1,isPast:!1,isToday:!1,isOther:!1},l=[XM].concat(Hv(s,r),e.extraClassNames||[]),c=n.format(a,e.dayHeaderFormat),u=gA(gA(gA(gA({date:a},s),{view:o}),e.extraHookProps),{text:c});return MA(zy,{hookProps:u,classNames:i.dayHeaderClassNames,content:i.dayHeaderContent,defaultContent:QM,didMount:i.dayHeaderDidMount,willUnmount:i.dayHeaderWillUnmount},(function(t,r,o,i){return MA("th",gA({ref:t,role:"columnheader",className:l.concat(r).join(" "),colSpan:e.colSpan},e.extraDataAttrs),MA("div",{className:"fc-scrollgrid-sync-inner"},MA("a",{"aria-label":n.format(a,GM),className:["fc-col-header-cell-cushion",e.isSticky?"fc-sticky":""].join(" "),ref:o},i)))}))},t}(by),JM=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.initialNowDate=yv(n.options.now,n.dateEnv),r.initialNowQueriedMs=(new Date).valueOf(),r.state=r.computeTiming().currentState,r}return mA(t,e),t.prototype.render=function(){var e=this.props,t=this.state;return e.children(t.nowDate,t.todayRange)},t.prototype.componentDidMount=function(){this.setTimeout()},t.prototype.componentDidUpdate=function(e){e.unit!==this.props.unit&&(this.clearTimeout(),this.setTimeout())},t.prototype.componentWillUnmount=function(){this.clearTimeout()},t.prototype.computeTiming=function(){var e=this.props,t=this.context,n=im(this.initialNowDate,(new Date).valueOf()-this.initialNowQueriedMs),r=t.dateEnv.startOf(n,e.unit),o=t.dateEnv.add(r,Tm(1,e.unit)),i=o.valueOf()-n.valueOf();return i=Math.min(864e5,i),{currentState:{nowDate:r,todayRange:eO(r)},nextState:{nowDate:o,todayRange:eO(o)},waitMs:i}},t.prototype.setTimeout=function(){var e=this,t=this.computeTiming(),n=t.nextState,r=t.waitMs;this.timeoutId=setTimeout((function(){e.setState(n,(function(){e.setTimeout()}))}),r)},t.prototype.clearTimeout=function(){this.timeoutId&&clearTimeout(this.timeoutId)},t.contextType=py,t}(yA);function eO(e){var t=lm(e);return{start:t,end:om(t,1)}}var tO=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.createDayHeaderFormatter=Zm(nO),t}return mA(t,e),t.prototype.render=function(){var e=this.context,t=this.props,n=t.dates,r=t.dateProfile,o=t.datesRepDistinctDays,i=t.renderIntro,a=this.createDayHeaderFormatter(e.options.dayHeaderFormat,o,n.length);return MA(JM,{unit:"day"},(function(e,t){return MA("tr",{role:"row"},i&&i("day"),n.map((function(e){return o?MA(YM,{key:e.toISOString(),date:e,dateProfile:r,todayRange:t,colCnt:n.length,dayHeaderFormat:a}):MA(KM,{key:e.getUTCDay(),dow:e.getUTCDay(),dayHeaderFormat:a})})))}))},t}(by);function nO(e,t,n){return e||VM(t,n)}var rO=function(){function e(e,t){for(var n=e.start,r=e.end,o=[],i=[],a=-1;n<r;)t.isHiddenDay(n)?o.push(a+.5):(a+=1,o.push(a),i.push(n)),n=om(n,1);this.dates=i,this.indices=o,this.cnt=i.length}return e.prototype.sliceRange=function(e){var t=this.getDateDayIndex(e.start),n=this.getDateDayIndex(om(e.end,-1)),r=Math.max(0,t),o=Math.min(this.cnt-1,n);return(r=Math.ceil(r))<=(o=Math.floor(o))?{firstIndex:r,lastIndex:o,isStart:t===r,isEnd:n===o}:null},e.prototype.getDateDayIndex=function(e){var t=this.indices,n=Math.floor(am(this.dates[0],e));return n<0?t[0]-1:n>=t.length?t[t.length-1]+1:t[n]},e}(),oO=function(){function e(e,t){var n,r,o,i=e.dates;if(t){for(r=i[0].getUTCDay(),n=1;n<i.length&&i[n].getUTCDay()!==r;n+=1);o=Math.ceil(i.length/n)}else o=1,n=i.length;this.rowCnt=o,this.colCnt=n,this.daySeries=e,this.cells=this.buildCells(),this.headerDates=this.buildHeaderDates()}return e.prototype.buildCells=function(){for(var e=[],t=0;t<this.rowCnt;t+=1){for(var n=[],r=0;r<this.colCnt;r+=1)n.push(this.buildCell(t,r));e.push(n)}return e},e.prototype.buildCell=function(e,t){var n=this.daySeries.dates[e*this.colCnt+t];return{key:n.toISOString(),date:n}},e.prototype.buildHeaderDates=function(){for(var e=[],t=0;t<this.colCnt;t+=1)e.push(this.cells[0][t].date);return e},e.prototype.sliceRange=function(e){var t=this.colCnt,n=this.daySeries.sliceRange(e),r=[];if(n)for(var o=n.firstIndex,i=n.lastIndex,a=o;a<=i;){var s=Math.floor(a/t),l=Math.min((s+1)*t,i+1);r.push({row:s,firstCol:a%t,lastCol:(l-1)%t,isStart:n.isStart&&a===o,isEnd:n.isEnd&&l-1===i}),a=l}return r},e}(),iO=function(){function e(){this.sliceBusinessHours=Zm(this._sliceBusinessHours),this.sliceDateSelection=Zm(this._sliceDateSpan),this.sliceEventStore=Zm(this._sliceEventStore),this.sliceEventDrag=Zm(this._sliceInteraction),this.sliceEventResize=Zm(this._sliceInteraction),this.forceDayIfListItem=!1}return e.prototype.sliceProps=function(e,t,n,r){for(var o=[],i=4;i<arguments.length;i++)o[i-4]=arguments[i];var a=e.eventUiBases,s=this.sliceEventStore.apply(this,vA([e.eventStore,a,t,n],o));return{dateSelectionSegs:this.sliceDateSelection.apply(this,vA([e.dateSelection,a,r],o)),businessHourSegs:this.sliceBusinessHours.apply(this,vA([e.businessHours,t,n,r],o)),fgEventSegs:s.fg,bgEventSegs:s.bg,eventDrag:this.sliceEventDrag.apply(this,vA([e.eventDrag,a,t,n],o)),eventResize:this.sliceEventResize.apply(this,vA([e.eventResize,a,t,n],o)),eventSelection:e.eventSelection}},e.prototype.sliceNowDate=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return this._sliceDateSpan.apply(this,vA([{range:{start:e,end:im(e,1)},allDay:!1},{},t],n))},e.prototype._sliceBusinessHours=function(e,t,n,r){for(var o=[],i=4;i<arguments.length;i++)o[i-4]=arguments[i];return e?this._sliceEventStore.apply(this,vA([Em(e,aO(t,Boolean(n)),r),{},t,n],o)).bg:[]},e.prototype._sliceEventStore=function(e,t,n,r){for(var o=[],i=4;i<arguments.length;i++)o[i-4]=arguments[i];if(e){var a=$g(e,t,aO(n,Boolean(r)),r);return{bg:this.sliceEventRanges(a.bg,o),fg:this.sliceEventRanges(a.fg,o)}}return{bg:[],fg:[]}},e.prototype._sliceInteraction=function(e,t,n,r){for(var o=[],i=4;i<arguments.length;i++)o[i-4]=arguments[i];if(!e)return null;var a=$g(e.mutatedEvents,t,aO(n,Boolean(r)),r);return{segs:this.sliceEventRanges(a.fg,o),affectedInstances:e.affectedEvents.instances,isEvent:e.isEvent}},e.prototype._sliceDateSpan=function(e,t,n){for(var r=[],o=3;o<arguments.length;o++)r[o-3]=arguments[o];if(!e)return[];for(var i=function(e,t,n){var r=Tg({editable:!1},n),o=Bg(r.refined,r.extra,"",e.allDay,!0,n);return{def:o,ui:Yg(o,t),instance:mm(o.defId,e.range),range:e.range,isStart:!0,isEnd:!0}}(e,t,n),a=this.sliceRange.apply(this,vA([e.range],r)),s=0,l=a;s<l.length;s++){l[s].eventRange=i}return a},e.prototype.sliceEventRanges=function(e,t){for(var n=[],r=0,o=e;r<o.length;r++){var i=o[r];n.push.apply(n,this.sliceEventRange(i,t))}return n},e.prototype.sliceEventRange=function(e,t){var n=e.range;this.forceDayIfListItem&&"list-item"===e.ui.display&&(n={start:n.start,end:om(n.start,1)});for(var r=this.sliceRange.apply(this,vA([n],t)),o=0,i=r;o<i.length;o++){var a=i[o];a.eventRange=e,a.isStart=e.isStart&&a.isStart,a.isEnd=e.isEnd&&a.isEnd}return r},e}();function aO(e,t){var n=e.activeRange;return t?n:{start:im(n.start,e.slotMinTime.milliseconds),end:im(n.end,e.slotMaxTime.milliseconds-864e5)}}function sO(e,t,n){var r=e.mutatedEvents.instances;for(var o in r)if(!Zg(t.validRange,r[o].range))return!1;return lO({eventDrag:e},n)}function lO(e,t){var n=t.getCurrentData(),r=gA({businessHours:n.businessHours,dateSelection:"",eventStore:n.eventStore,eventUiBases:n.eventUiBases,eventSelection:"",eventDrag:null,eventResize:null},e);return(t.pluginHooks.isPropsValid||cO)(r,t)}function cO(e,t,n,r){return void 0===n&&(n={}),!(e.eventDrag&&!function(e,t,n,r){var o=t.getCurrentData(),i=e.eventDrag,a=i.mutatedEvents,s=a.defs,l=a.instances,c=Qg(s,i.isEvent?e.eventUiBases:{"":o.selectionConfig});r&&(c=Mm(c,r));var u=(h=e.eventStore,b=i.affectedEvents.instances,{defs:h.defs,instances:ym(h.instances,(function(e){return!b[e.instanceId]}))}),d=u.defs,p=u.instances,f=Qg(d,e.eventUiBases);var h,b;for(var A in l){var m=l[A],g=m.range,v=c[m.defId],y=s[m.defId];if(!uO(v.constraints,g,u,e.businessHours,t))return!1;var M=t.options.eventOverlap,O="function"===typeof M?M:null;for(var _ in p){var z=p[_];if(Ug(g,z.range)){if(!1===f[z.defId].overlap&&i.isEvent)return!1;if(!1===v.overlap)return!1;if(O&&!O(new Ov(t,d[z.defId],z),new Ov(t,y,m)))return!1}}for(var x=o.eventStore,w=0,C=v.allows;w<C.length;w++){var S=C[w],E=gA(gA({},n),{range:m.range,allDay:y.allDay}),k=x.defs[y.defId],D=x.instances[A],N=void 0;if(N=k?new Ov(t,k,D):new Ov(t,y),!S(dv(E,t),N))return!1}}return!0}(e,t,n,r))&&!(e.dateSelection&&!function(e,t,n,r){var o=e.eventStore,i=o.defs,a=o.instances,s=e.dateSelection,l=s.range,c=t.getCurrentData().selectionConfig;r&&(c=r(c));if(!uO(c.constraints,l,o,e.businessHours,t))return!1;var u=t.options.selectOverlap,d="function"===typeof u?u:null;for(var p in a){var f=a[p];if(Ug(l,f.range)){if(!1===c.overlap)return!1;if(d&&!d(new Ov(t,i[f.defId],f),null))return!1}}for(var h=0,b=c.allows;h<b.length;h++){if(!(0,b[h])(dv(gA(gA({},n),s),t),null))return!1}return!0}(e,t,n,r))}function uO(e,t,n,r,o){for(var i=0,a=e;i<a.length;i++){if(!fO(dO(a[i],t,n,r,o),t))return!1}return!0}function dO(e,t,n,r,o){return"businessHours"===e?pO(Em(r,t,o)):"string"===typeof e?pO(Og(n,(function(t){return t.groupId===e}))):"object"===typeof e&&e?pO(Em(e,t,o)):[]}function pO(e){var t=e.instances,n=[];for(var r in t)n.push(t[r].range);return n}function fO(e,t){for(var n=0,r=e;n<r.length;n++){if(Zg(r[n],t))return!0}return!1}var hO=/^(visible|hidden)$/,bO=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleEl=function(e){t.el=e,gy(t.props.elRef,e)},t}return mA(t,e),t.prototype.render=function(){var e=this.props,t=e.liquid,n=e.liquidIsAbsolute,r=t&&n,o=["fc-scroller"];return t&&(n?o.push("fc-scroller-liquid-absolute"):o.push("fc-scroller-liquid")),MA("div",{ref:this.handleEl,className:o.join(" "),style:{overflowX:e.overflowX,overflowY:e.overflowY,left:r&&-(e.overcomeLeft||0)||"",right:r&&-(e.overcomeRight||0)||"",bottom:r&&-(e.overcomeBottom||0)||"",marginLeft:!r&&-(e.overcomeLeft||0)||"",marginRight:!r&&-(e.overcomeRight||0)||"",marginBottom:!r&&-(e.overcomeBottom||0)||"",maxHeight:e.maxHeight||""}},e.children)},t.prototype.needsXScrolling=function(){if(hO.test(this.props.overflowX))return!1;for(var e=this.el,t=this.el.getBoundingClientRect().width-this.getYScrollbarWidth(),n=e.children,r=0;r<n.length;r+=1){if(n[r].getBoundingClientRect().width>t)return!0}return!1},t.prototype.needsYScrolling=function(){if(hO.test(this.props.overflowY))return!1;for(var e=this.el,t=this.el.getBoundingClientRect().height-this.getXScrollbarWidth(),n=e.children,r=0;r<n.length;r+=1){if(n[r].getBoundingClientRect().height>t)return!0}return!1},t.prototype.getXScrollbarWidth=function(){return hO.test(this.props.overflowX)?0:this.el.offsetHeight-this.el.clientHeight},t.prototype.getYScrollbarWidth=function(){return hO.test(this.props.overflowY)?0:this.el.offsetWidth-this.el.clientWidth},t}(by),AO=function(){function e(e){var t=this;this.masterCallback=e,this.currentMap={},this.depths={},this.callbackMap={},this.handleValue=function(e,n){var r=t,o=r.depths,i=r.currentMap,a=!1,s=!1;null!==e?(a=n in i,i[n]=e,o[n]=(o[n]||0)+1,s=!0):(o[n]-=1,o[n]||(delete i[n],delete t.callbackMap[n],a=!0)),t.masterCallback&&(a&&t.masterCallback(null,String(n)),s&&t.masterCallback(e,String(n)))}}return e.prototype.createRef=function(e){var t=this,n=this.callbackMap[e];return n||(n=this.callbackMap[e]=function(n){t.handleValue(n,String(e))}),n},e.prototype.collect=function(e,t,n){return Sm(this.currentMap,e,t,n)},e.prototype.getAll=function(){return _m(this.currentMap)},e}();function mO(e){for(var t=0,n=0,r=kA(e,".fc-scrollgrid-shrink");n<r.length;n++){var o=r[n];t=Math.max(t,tm(o))}return Math.ceil(t)}function gO(e,t){return e.liquid&&t.liquid}function vO(e,t){return null!=t.maxHeight||gO(e,t)}function yO(e,t,n,r){var o=n.expandRows;return"function"===typeof t.content?t.content(n):MA("table",{role:"presentation",className:[t.tableClassName,e.syncRowHeights?"fc-scrollgrid-sync-table":""].join(" "),style:{minWidth:n.tableMinWidth,width:n.clientWidth,height:o?n.clientHeight:""}},n.tableColGroupNode,MA(r?"thead":"tbody",{role:"presentation"},"function"===typeof t.rowContent?t.rowContent(n):t.rowContent))}function MO(e,t){return Um(e,t,zm)}function OO(e,t){for(var n=[],r=0,o=e;r<o.length;r++)for(var i=o[r],a=i.span||1,s=0;s<a;s+=1)n.push(MA("col",{style:{width:"shrink"===i.width?_O(t):i.width||"",minWidth:i.minWidth||""}}));return MA.apply(void 0,vA(["colgroup",{}],n))}function _O(e){return null==e?4:e}function zO(e){for(var t=0,n=e;t<n.length;t++){if("shrink"===n[t].width)return!0}return!1}function xO(e,t){var n=["fc-scrollgrid",t.theme.getClass("table")];return e&&n.push("fc-scrollgrid-liquid"),n}function wO(e,t){var n=["fc-scrollgrid-section","fc-scrollgrid-section-"+e.type,e.className];return t&&e.liquid&&null==e.maxHeight&&n.push("fc-scrollgrid-section-liquid"),e.isSticky&&n.push("fc-scrollgrid-section-sticky"),n}function CO(e){return MA("div",{className:"fc-scrollgrid-sticky-shim",style:{width:e.clientWidth,minWidth:e.tableMinWidth}})}function SO(e){var t=e.stickyHeaderDates;return null!=t&&"auto"!==t||(t="auto"===e.height||"auto"===e.viewHeight),t}function EO(e){var t=e.stickyFooterScrollbar;return null!=t&&"auto"!==t||(t="auto"===e.height||"auto"===e.viewHeight),t}var kO=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.processCols=Zm((function(e){return e}),MO),t.renderMicroColGroup=Zm(OO),t.scrollerRefs=new AO,t.scrollerElRefs=new AO(t._handleScrollerEl.bind(t)),t.state={shrinkWidth:null,forceYScrollbars:!1,scrollerClientWidths:{},scrollerClientHeights:{}},t.handleSizing=function(){t.safeSetState(gA({shrinkWidth:t.computeShrinkWidth()},t.computeScrollerDims()))},t}return mA(t,e),t.prototype.render=function(){var e=this,t=e.props,n=e.state,r=e.context,o=t.sections||[],i=this.processCols(t.cols),a=this.renderMicroColGroup(i,n.shrinkWidth),s=xO(t.liquid,r);t.collapsibleWidth&&s.push("fc-scrollgrid-collapsible");for(var l,c=o.length,u=0,d=[],p=[],f=[];u<c&&"header"===(l=o[u]).type;)d.push(this.renderSection(l,a,!0)),u+=1;for(;u<c&&"body"===(l=o[u]).type;)p.push(this.renderSection(l,a,!1)),u+=1;for(;u<c&&"footer"===(l=o[u]).type;)f.push(this.renderSection(l,a,!0)),u+=1;var h=!Iv(),b={role:"rowgroup"};return MA("table",{role:"grid",className:s.join(" "),style:{height:t.height}},Boolean(!h&&d.length)&&MA.apply(void 0,vA(["thead",b],d)),Boolean(!h&&p.length)&&MA.apply(void 0,vA(["tbody",b],p)),Boolean(!h&&f.length)&&MA.apply(void 0,vA(["tfoot",b],f)),h&&MA.apply(void 0,vA(vA(vA(["tbody",b],d),p),f)))},t.prototype.renderSection=function(e,t,n){return"outerContent"in e?MA(_A,{key:e.key},e.outerContent):MA("tr",{key:e.key,role:"presentation",className:wO(e,this.props.liquid).join(" ")},this.renderChunkTd(e,t,e.chunk,n))},t.prototype.renderChunkTd=function(e,t,n,r){if("outerContent"in n)return n.outerContent;var o=this.props,i=this.state,a=i.forceYScrollbars,s=i.scrollerClientWidths,l=i.scrollerClientHeights,c=vO(o,e),u=gO(o,e),d=o.liquid?a?"scroll":c?"auto":"hidden":"visible",p=e.key,f=yO(e,n,{tableColGroupNode:t,tableMinWidth:"",clientWidth:o.collapsibleWidth||void 0===s[p]?null:s[p],clientHeight:void 0!==l[p]?l[p]:null,expandRows:e.expandRows,syncRowHeights:!1,rowSyncHeights:[],reportRowHeightChange:function(){}},r);return MA(r?"th":"td",{ref:n.elRef,role:"presentation"},MA("div",{className:"fc-scroller-harness"+(u?" fc-scroller-harness-liquid":"")},MA(bO,{ref:this.scrollerRefs.createRef(p),elRef:this.scrollerElRefs.createRef(p),overflowY:d,overflowX:o.liquid?"hidden":"visible",maxHeight:e.maxHeight,liquid:u,liquidIsAbsolute:!0},f)))},t.prototype._handleScrollerEl=function(e,t){var n=function(e,t){for(var n=0,r=e;n<r.length;n++){var o=r[n];if(o.key===t)return o}return null}(this.props.sections,t);n&&gy(n.chunk.scrollerElRef,e)},t.prototype.componentDidMount=function(){this.handleSizing(),this.context.addResizeHandler(this.handleSizing)},t.prototype.componentDidUpdate=function(){this.handleSizing()},t.prototype.componentWillUnmount=function(){this.context.removeResizeHandler(this.handleSizing)},t.prototype.computeShrinkWidth=function(){return zO(this.props.cols)?mO(this.scrollerElRefs.getAll()):0},t.prototype.computeScrollerDims=function(){var e=Kv(),t=this.scrollerRefs,n=this.scrollerElRefs,r=!1,o={},i={};for(var a in t.currentMap){var s=t.currentMap[a];if(s&&s.needsYScrolling()){r=!0;break}}for(var l=0,c=this.props.sections;l<c.length;l++){a=c[l].key;var u=n.currentMap[a];if(u){var d=u.parentNode;o[a]=Math.floor(d.getBoundingClientRect().width-(r?e.y:0)),i[a]=Math.floor(d.getBoundingClientRect().height)}}return{forceYScrollbars:r,scrollerClientWidths:o,scrollerClientHeights:i}},t}(by);kO.addStateEquality({scrollerClientWidths:zm,scrollerClientHeights:zm});var DO=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.elRef=OA(),t}return mA(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r=e.seg,o=r.eventRange,i=o.ui,a={event:new Ov(t,o.def,o.instance),view:t.viewApi,timeText:e.timeText,textColor:i.textColor,backgroundColor:i.backgroundColor,borderColor:i.borderColor,isDraggable:!e.disableDragging&&Jg(r,t),isStartResizable:!e.disableResizing&&ev(r,t),isEndResizable:!e.disableResizing&&tv(r),isMirror:Boolean(e.isDragging||e.isResizing||e.isDateSelecting),isStart:Boolean(r.isStart),isEnd:Boolean(r.isEnd),isPast:Boolean(e.isPast),isFuture:Boolean(e.isFuture),isToday:Boolean(e.isToday),isSelected:Boolean(e.isSelected),isDragging:Boolean(e.isDragging),isResizing:Boolean(e.isResizing)},s=function(e){var t=["fc-event"];return e.isMirror&&t.push("fc-event-mirror"),e.isDraggable&&t.push("fc-event-draggable"),(e.isStartResizable||e.isEndResizable)&&t.push("fc-event-resizable"),e.isDragging&&t.push("fc-event-dragging"),e.isResizing&&t.push("fc-event-resizing"),e.isSelected&&t.push("fc-event-selected"),e.isStart&&t.push("fc-event-start"),e.isEnd&&t.push("fc-event-end"),e.isPast&&t.push("fc-event-past"),e.isToday&&t.push("fc-event-today"),e.isFuture&&t.push("fc-event-future"),t}(a).concat(i.classNames);return MA(zy,{hookProps:a,classNames:n.eventClassNames,content:n.eventContent,defaultContent:e.defaultContent,didMount:n.eventDidMount,willUnmount:n.eventWillUnmount,elRef:this.elRef},(function(t,n,r,o){return e.children(t,s.concat(n),r,o,a)}))},t.prototype.componentDidMount=function(){Vg(this.elRef.current,this.props.seg)},t.prototype.componentDidUpdate=function(e){var t=this.props.seg;t!==e.seg&&Vg(this.elRef.current,t)},t}(by),NO=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return mA(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=e.seg,r=t.options.eventTimeFormat||e.defaultTimeFormat,o=nv(n,r,t,e.defaultDisplayEventTime,e.defaultDisplayEventEnd);return MA(DO,{seg:n,timeText:o,disableDragging:e.disableDragging,disableResizing:e.disableResizing,defaultContent:e.defaultContent||TO,isDragging:e.isDragging,isResizing:e.isResizing,isDateSelecting:e.isDateSelecting,isSelected:e.isSelected,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday},(function(r,o,i,a,s){return MA("a",gA({className:e.extraClassNames.concat(o).join(" "),style:{borderColor:s.borderColor,backgroundColor:s.backgroundColor},ref:r},iv(n,t)),MA("div",{className:"fc-event-main",ref:i,style:{color:s.textColor}},a),s.isStartResizable&&MA("div",{className:"fc-event-resizer fc-event-resizer-start"}),s.isEndResizable&&MA("div",{className:"fc-event-resizer fc-event-resizer-end"}))}))},t}(by);function TO(e){return MA("div",{className:"fc-event-main-frame"},e.timeText&&MA("div",{className:"fc-event-time"},e.timeText),MA("div",{className:"fc-event-title-container"},MA("div",{className:"fc-event-title fc-sticky"},e.event.title||MA(_A,null,"\xa0"))))}var jO=function(e){return MA(py.Consumer,null,(function(t){var n=t.options,r={isAxis:e.isAxis,date:t.dateEnv.toDate(e.date),view:t.viewApi};return MA(zy,{hookProps:r,classNames:n.nowIndicatorClassNames,content:n.nowIndicatorContent,didMount:n.nowIndicatorDidMount,willUnmount:n.nowIndicatorWillUnmount},e.children)}))},BO=sg({day:"numeric"}),LO=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return mA(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r=RO({date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,showDayNumber:e.showDayNumber,extraProps:e.extraHookProps,viewApi:t.viewApi,dateEnv:t.dateEnv});return MA(wy,{hookProps:r,content:n.dayCellContent,defaultContent:e.defaultContent},e.children)},t}(by);function RO(e){var t=e.date,n=e.dateEnv,r=Zv(t,e.todayRange,null,e.dateProfile);return gA(gA(gA({date:n.toDate(t),view:e.viewApi},r),{dayNumberText:e.showDayNumber?n.format(t,BO):""}),e.extraProps)}var qO=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.refineHookProps=Hm(RO),t.normalizeClassNames=Ey(),t}return mA(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r=this.refineHookProps({date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,showDayNumber:e.showDayNumber,extraProps:e.extraHookProps,viewApi:t.viewApi,dateEnv:t.dateEnv}),o=Hv(r,t.theme).concat(r.isDisabled?[]:this.normalizeClassNames(n.dayCellClassNames,r)),i=r.isDisabled?{}:{"data-date":Wm(e.date)};return MA(Sy,{hookProps:r,didMount:n.dayCellDidMount,willUnmount:n.dayCellWillUnmount,elRef:e.elRef},(function(t){return e.children(t,o,i,r.isDisabled)}))},t}(by);function PO(e){return MA("div",{className:"fc-"+e})}var IO=function(e){return MA(DO,{defaultContent:WO,seg:e.seg,timeText:"",disableDragging:!0,disableResizing:!0,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday},(function(e,t,n,r,o){return MA("div",{ref:e,className:["fc-bg-event"].concat(t).join(" "),style:{backgroundColor:o.backgroundColor}},r)}))};function WO(e){return e.event.title&&MA("div",{className:"fc-event-title"},e.event.title)}var FO=function(e){return MA(py.Consumer,null,(function(t){var n=t.dateEnv,r=t.options,o=e.date,i=r.weekNumberFormat||e.defaultFormat,a=n.computeWeekNumber(o),s=n.format(o,i);return MA(zy,{hookProps:{num:a,text:s,date:o},classNames:r.weekNumberClassNames,content:r.weekNumberContent,defaultContent:UO,didMount:r.weekNumberDidMount,willUnmount:r.weekNumberWillUnmount},e.children)}))};function UO(e){return e.text}var ZO=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={titleId:RA()},t.handleRootEl=function(e){t.rootEl=e,t.props.elRef&&gy(t.props.elRef,e)},t.handleDocumentMouseDown=function(e){var n=jA(e);t.rootEl.contains(n)||t.handleCloseClick()},t.handleDocumentKeyDown=function(e){"Escape"===e.key&&t.handleCloseClick()},t.handleCloseClick=function(){var e=t.props.onClose;e&&e()},t}return mA(t,e),t.prototype.render=function(){var e=this.context,t=e.theme,n=e.options,r=this.props,o=this.state,i=["fc-popover",t.getClass("popover")].concat(r.extraClassNames||[]);return xA(MA("div",gA({id:r.id,className:i.join(" "),"aria-labelledby":o.titleId},r.extraAttrs,{ref:this.handleRootEl}),MA("div",{className:"fc-popover-header "+t.getClass("popoverHeader")},MA("span",{className:"fc-popover-title",id:o.titleId},r.title),MA("span",{className:"fc-popover-close "+t.getIconClass("close"),title:n.closeHint,onClick:this.handleCloseClick})),MA("div",{className:"fc-popover-body "+t.getClass("popoverContent")},r.children)),r.parentEl)},t.prototype.componentDidMount=function(){document.addEventListener("mousedown",this.handleDocumentMouseDown),document.addEventListener("keydown",this.handleDocumentKeyDown),this.updateSize()},t.prototype.componentWillUnmount=function(){document.removeEventListener("mousedown",this.handleDocumentMouseDown),document.removeEventListener("keydown",this.handleDocumentKeyDown)},t.prototype.updateSize=function(){var e=this.context.isRtl,t=this.props,n=t.alignmentEl,r=t.alignGridTop,o=this.rootEl,i=function(e){for(var t=ry(e),n=e.getBoundingClientRect(),r=0,o=t;r<o.length;r++){var i=qv(n,o[r].getBoundingClientRect());if(!i)return null;n=i}return n}(n);if(i){var a=o.getBoundingClientRect(),s=r?SA(n,".fc-scrollgrid").getBoundingClientRect().top:i.top,l=e?i.right-a.width:i.left;s=Math.max(s,10),l=Math.min(l,document.documentElement.clientWidth-10-a.width),l=Math.max(l,10);var c=o.offsetParent.getBoundingClientRect();NA(o,{top:s-c.top,left:l-c.left})}},t}(by),HO=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleRootEl=function(e){t.rootEl=e,e?t.context.registerInteractiveComponent(t,{el:e,useEventCenter:!1}):t.context.unregisterInteractiveComponent(t)},t}return mA(t,e),t.prototype.render=function(){var e=this.context,t=e.options,n=e.dateEnv,r=this.props,o=r.startDate,i=r.todayRange,a=r.dateProfile,s=n.format(o,t.dayPopoverFormat);return MA(qO,{date:o,dateProfile:a,todayRange:i,elRef:this.handleRootEl},(function(e,t,n){return MA(ZO,{elRef:e,id:r.id,title:s,extraClassNames:["fc-more-popover"].concat(t),extraAttrs:n,parentEl:r.parentEl,alignmentEl:r.alignmentEl,alignGridTop:r.alignGridTop,onClose:r.onClose},MA(LO,{date:o,dateProfile:a,todayRange:i},(function(e,t){return t&&MA("div",{className:"fc-more-popover-misc",ref:e},t)})),r.children)}))},t.prototype.queryHit=function(e,t,n,r){var o=this.rootEl,i=this.props;return e>=0&&e<n&&t>=0&&t<r?{dateProfile:i.dateProfile,dateSpan:gA({allDay:!0,range:{start:i.startDate,end:i.endDate}},i.extraDateSpan),dayEl:o,rect:{left:0,top:0,right:n,bottom:r},layer:1}:null},t}(vy),$O=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.linkElRef=OA(),t.state={isPopoverOpen:!1,popoverId:RA()},t.handleClick=function(e){var n=t,r=n.props,o=n.context,i=o.options.moreLinkClick,a=XO(r).start;function s(e){var t=e.eventRange,n=t.def,r=t.instance,i=t.range;return{event:new Ov(o,n,r),start:o.dateEnv.toDate(i.start),end:o.dateEnv.toDate(i.end),isStart:e.isStart,isEnd:e.isEnd}}"function"===typeof i&&(i=i({date:a,allDay:Boolean(r.allDayDate),allSegs:r.allSegs.map(s),hiddenSegs:r.hiddenSegs.map(s),jsEvent:e,view:o.viewApi})),i&&"popover"!==i?"string"===typeof i&&o.calendarApi.zoomTo(a,i):t.setState({isPopoverOpen:!0})},t.handlePopoverClose=function(){t.setState({isPopoverOpen:!1})},t}return mA(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.state;return MA(py.Consumer,null,(function(r){var o=r.viewApi,i=r.options,a=r.calendarApi,s=i.moreLinkText,l=t.moreCnt,c=XO(t),u="function"===typeof s?s.call(a,l):"+"+l+" "+s,d=KA(i.moreLinkHint,[l],u),p={num:l,shortText:"+"+l,text:u,view:o};return MA(_A,null,Boolean(t.moreCnt)&&MA(zy,{elRef:e.linkElRef,hookProps:p,classNames:i.moreLinkClassNames,content:i.moreLinkContent,defaultContent:t.defaultContent||VO,didMount:i.moreLinkDidMount,willUnmount:i.moreLinkWillUnmount},(function(r,o,i,a){return t.children(r,["fc-more-link"].concat(o),i,a,e.handleClick,d,n.isPopoverOpen,n.isPopoverOpen?n.popoverId:"")})),n.isPopoverOpen&&MA(HO,{id:n.popoverId,startDate:c.start,endDate:c.end,dateProfile:t.dateProfile,todayRange:t.todayRange,extraDateSpan:t.extraDateSpan,parentEl:e.parentEl,alignmentEl:t.alignmentElRef.current,alignGridTop:t.alignGridTop,onClose:e.handlePopoverClose},t.popoverContent()))}))},t.prototype.componentDidMount=function(){this.updateParentEl()},t.prototype.componentDidUpdate=function(){this.updateParentEl()},t.prototype.updateParentEl=function(){this.linkElRef.current&&(this.parentEl=SA(this.linkElRef.current,".fc-view-harness"))},t}(by);function VO(e){return e.text}function XO(e){if(e.allDayDate)return{start:e.allDayDate,end:om(e.allDayDate,1)};var t,n=e.hiddenSegs;return{start:QO(n),end:(t=n,t.reduce(GO).eventRange.range.end)}}function QO(e){return e.reduce(YO).eventRange.range.start}function YO(e,t){return e.eventRange.range.start<t.eventRange.range.start?e:t}function GO(e,t){return e.eventRange.range.end>t.eventRange.range.end?e:t}var KO=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._calendarApi=new Mv,e}return mA(n,t),n.prototype.render=function(){return e.createElement(zM,{optionOverrides:this.props,calendarApi:this._calendarApi},(function(t){return e.createElement($M,{options:t.calendarOptions,theme:t.theme,emitter:t.emitter},(function(n,r,o,i){return e.createElement("div",{className:n.join(" "),style:{height:r}},e.createElement(UM,gA({isHeightAuto:o,forPrint:i},t)))}))}))},n.prototype.getApi=function(){return this._calendarApi},n}(e.Component),JO=KO;BM.touchMouseIgnoreWait=500;var e_=0,t_=0,n_=!1,r_=function(){function e(e){var t=this;this.subjectEl=null,this.selector="",this.handleSelector="",this.shouldIgnoreMove=!1,this.shouldWatchScroll=!0,this.isDragging=!1,this.isTouchDragging=!1,this.wasTouchScroll=!1,this.handleMouseDown=function(e){if(!t.shouldIgnoreMouse()&&function(e){return 0===e.button&&!e.ctrlKey}(e)&&t.tryStart(e)){var n=t.createEventFromMouse(e,!0);t.emitter.trigger("pointerdown",n),t.initScrollWatch(n),t.shouldIgnoreMove||document.addEventListener("mousemove",t.handleMouseMove),document.addEventListener("mouseup",t.handleMouseUp)}},this.handleMouseMove=function(e){var n=t.createEventFromMouse(e);t.recordCoords(n),t.emitter.trigger("pointermove",n)},this.handleMouseUp=function(e){document.removeEventListener("mousemove",t.handleMouseMove),document.removeEventListener("mouseup",t.handleMouseUp),t.emitter.trigger("pointerup",t.createEventFromMouse(e)),t.cleanup()},this.handleTouchStart=function(e){if(t.tryStart(e)){t.isTouchDragging=!0;var n=t.createEventFromTouch(e,!0);t.emitter.trigger("pointerdown",n),t.initScrollWatch(n);var r=e.target;t.shouldIgnoreMove||r.addEventListener("touchmove",t.handleTouchMove),r.addEventListener("touchend",t.handleTouchEnd),r.addEventListener("touchcancel",t.handleTouchEnd),window.addEventListener("scroll",t.handleTouchScroll,!0)}},this.handleTouchMove=function(e){var n=t.createEventFromTouch(e);t.recordCoords(n),t.emitter.trigger("pointermove",n)},this.handleTouchEnd=function(e){if(t.isDragging){var n=e.target;n.removeEventListener("touchmove",t.handleTouchMove),n.removeEventListener("touchend",t.handleTouchEnd),n.removeEventListener("touchcancel",t.handleTouchEnd),window.removeEventListener("scroll",t.handleTouchScroll,!0),t.emitter.trigger("pointerup",t.createEventFromTouch(e)),t.cleanup(),t.isTouchDragging=!1,e_+=1,setTimeout((function(){e_-=1}),BM.touchMouseIgnoreWait)}},this.handleTouchScroll=function(){t.wasTouchScroll=!0},this.handleScroll=function(e){if(!t.shouldIgnoreMove){var n=window.pageXOffset-t.prevScrollX+t.prevPageX,r=window.pageYOffset-t.prevScrollY+t.prevPageY;t.emitter.trigger("pointermove",{origEvent:e,isTouch:t.isTouchDragging,subjectEl:t.subjectEl,pageX:n,pageY:r,deltaX:n-t.origPageX,deltaY:r-t.origPageY})}},this.containerEl=e,this.emitter=new iy,e.addEventListener("mousedown",this.handleMouseDown),e.addEventListener("touchstart",this.handleTouchStart,{passive:!0}),1===(t_+=1)&&window.addEventListener("touchmove",o_,{passive:!1})}return e.prototype.destroy=function(){this.containerEl.removeEventListener("mousedown",this.handleMouseDown),this.containerEl.removeEventListener("touchstart",this.handleTouchStart,{passive:!0}),(t_-=1)||window.removeEventListener("touchmove",o_,{passive:!1})},e.prototype.tryStart=function(e){var t=this.querySubjectEl(e),n=e.target;return!(!t||this.handleSelector&&!SA(n,this.handleSelector))&&(this.subjectEl=t,this.isDragging=!0,this.wasTouchScroll=!1,!0)},e.prototype.cleanup=function(){n_=!1,this.isDragging=!1,this.subjectEl=null,this.destroyScrollWatch()},e.prototype.querySubjectEl=function(e){return this.selector?SA(e.target,this.selector):this.containerEl},e.prototype.shouldIgnoreMouse=function(){return e_||this.isTouchDragging},e.prototype.cancelTouchScroll=function(){this.isDragging&&(n_=!0)},e.prototype.initScrollWatch=function(e){this.shouldWatchScroll&&(this.recordCoords(e),window.addEventListener("scroll",this.handleScroll,!0))},e.prototype.recordCoords=function(e){this.shouldWatchScroll&&(this.prevPageX=e.pageX,this.prevPageY=e.pageY,this.prevScrollX=window.pageXOffset,this.prevScrollY=window.pageYOffset)},e.prototype.destroyScrollWatch=function(){this.shouldWatchScroll&&window.removeEventListener("scroll",this.handleScroll,!0)},e.prototype.createEventFromMouse=function(e,t){var n=0,r=0;return t?(this.origPageX=e.pageX,this.origPageY=e.pageY):(n=e.pageX-this.origPageX,r=e.pageY-this.origPageY),{origEvent:e,isTouch:!1,subjectEl:this.subjectEl,pageX:e.pageX,pageY:e.pageY,deltaX:n,deltaY:r}},e.prototype.createEventFromTouch=function(e,t){var n,r,o=e.touches,i=0,a=0;return o&&o.length?(n=o[0].pageX,r=o[0].pageY):(n=e.pageX,r=e.pageY),t?(this.origPageX=n,this.origPageY=r):(i=n-this.origPageX,a=r-this.origPageY),{origEvent:e,isTouch:!0,subjectEl:this.subjectEl,pageX:n,pageY:r,deltaX:i,deltaY:a}},e}();function o_(e){n_&&e.preventDefault()}var i_=function(){function e(){this.isVisible=!1,this.sourceEl=null,this.mirrorEl=null,this.sourceElRect=null,this.parentNode=document.body,this.zIndex=9999,this.revertDuration=0}return e.prototype.start=function(e,t,n){this.sourceEl=e,this.sourceElRect=this.sourceEl.getBoundingClientRect(),this.origScreenX=t-window.pageXOffset,this.origScreenY=n-window.pageYOffset,this.deltaX=0,this.deltaY=0,this.updateElPosition()},e.prototype.handleMove=function(e,t){this.deltaX=e-window.pageXOffset-this.origScreenX,this.deltaY=t-window.pageYOffset-this.origScreenY,this.updateElPosition()},e.prototype.setIsVisible=function(e){e?this.isVisible||(this.mirrorEl&&(this.mirrorEl.style.display=""),this.isVisible=e,this.updateElPosition()):this.isVisible&&(this.mirrorEl&&(this.mirrorEl.style.display="none"),this.isVisible=e)},e.prototype.stop=function(e,t){var n=this,r=function(){n.cleanup(),t()};e&&this.mirrorEl&&this.isVisible&&this.revertDuration&&(this.deltaX||this.deltaY)?this.doRevertAnimation(r,this.revertDuration):setTimeout(r,0)},e.prototype.doRevertAnimation=function(e,t){var n=this.mirrorEl,r=this.sourceEl.getBoundingClientRect();n.style.transition="top "+t+"ms,left "+t+"ms",NA(n,{left:r.left,top:r.top}),function(e,t){var n=function n(r){t(r),IA.forEach((function(t){e.removeEventListener(t,n)}))};IA.forEach((function(t){e.addEventListener(t,n)}))}(n,(function(){n.style.transition="",e()}))},e.prototype.cleanup=function(){this.mirrorEl&&(CA(this.mirrorEl),this.mirrorEl=null),this.sourceEl=null},e.prototype.updateElPosition=function(){this.sourceEl&&this.isVisible&&NA(this.getMirrorEl(),{left:this.sourceElRect.left+this.deltaX,top:this.sourceElRect.top+this.deltaY})},e.prototype.getMirrorEl=function(){var e=this.sourceElRect,t=this.mirrorEl;return t||((t=this.mirrorEl=this.sourceEl.cloneNode(!0)).classList.add("fc-unselectable"),t.classList.add("fc-event-dragging"),NA(t,{position:"fixed",zIndex:this.zIndex,visibility:"",boxSizing:"border-box",width:e.right-e.left,height:e.bottom-e.top,right:"auto",bottom:"auto",margin:0}),this.parentNode.appendChild(t)),t},e}(),a_=function(e){function t(t,n){var r=e.call(this)||this;return r.handleScroll=function(){r.scrollTop=r.scrollController.getScrollTop(),r.scrollLeft=r.scrollController.getScrollLeft(),r.handleScrollChange()},r.scrollController=t,r.doesListening=n,r.scrollTop=r.origScrollTop=t.getScrollTop(),r.scrollLeft=r.origScrollLeft=t.getScrollLeft(),r.scrollWidth=t.getScrollWidth(),r.scrollHeight=t.getScrollHeight(),r.clientWidth=t.getClientWidth(),r.clientHeight=t.getClientHeight(),r.clientRect=r.computeClientRect(),r.doesListening&&r.getEventTarget().addEventListener("scroll",r.handleScroll),r}return mA(t,e),t.prototype.destroy=function(){this.doesListening&&this.getEventTarget().removeEventListener("scroll",this.handleScroll)},t.prototype.getScrollTop=function(){return this.scrollTop},t.prototype.getScrollLeft=function(){return this.scrollLeft},t.prototype.setScrollTop=function(e){this.scrollController.setScrollTop(e),this.doesListening||(this.scrollTop=Math.max(Math.min(e,this.getMaxScrollTop()),0),this.handleScrollChange())},t.prototype.setScrollLeft=function(e){this.scrollController.setScrollLeft(e),this.doesListening||(this.scrollLeft=Math.max(Math.min(e,this.getMaxScrollLeft()),0),this.handleScrollChange())},t.prototype.getClientWidth=function(){return this.clientWidth},t.prototype.getClientHeight=function(){return this.clientHeight},t.prototype.getScrollWidth=function(){return this.scrollWidth},t.prototype.getScrollHeight=function(){return this.scrollHeight},t.prototype.handleScrollChange=function(){},t}(sy),s_=function(e){function t(t,n){return e.call(this,new ly(t),n)||this}return mA(t,e),t.prototype.getEventTarget=function(){return this.scrollController.el},t.prototype.computeClientRect=function(){return ty(this.scrollController.el)},t}(a_),l_=function(e){function t(t){return e.call(this,new cy,t)||this}return mA(t,e),t.prototype.getEventTarget=function(){return window},t.prototype.computeClientRect=function(){return{left:this.scrollLeft,right:this.scrollLeft+this.clientWidth,top:this.scrollTop,bottom:this.scrollTop+this.clientHeight}},t.prototype.handleScrollChange=function(){this.clientRect=this.computeClientRect()},t}(a_),c_="function"===typeof performance?performance.now:Date.now,u_=function(){function e(){var e=this;this.isEnabled=!0,this.scrollQuery=[window,".fc-scroller"],this.edgeThreshold=50,this.maxVelocity=300,this.pointerScreenX=null,this.pointerScreenY=null,this.isAnimating=!1,this.scrollCaches=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.animate=function(){if(e.isAnimating){var t=e.computeBestEdge(e.pointerScreenX+window.pageXOffset,e.pointerScreenY+window.pageYOffset);if(t){var n=c_();e.handleSide(t,(n-e.msSinceRequest)/1e3),e.requestAnimation(n)}else e.isAnimating=!1}}}return e.prototype.start=function(e,t,n){this.isEnabled&&(this.scrollCaches=this.buildCaches(n),this.pointerScreenX=null,this.pointerScreenY=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.handleMove(e,t))},e.prototype.handleMove=function(e,t){if(this.isEnabled){var n=e-window.pageXOffset,r=t-window.pageYOffset,o=null===this.pointerScreenY?0:r-this.pointerScreenY,i=null===this.pointerScreenX?0:n-this.pointerScreenX;o<0?this.everMovedUp=!0:o>0&&(this.everMovedDown=!0),i<0?this.everMovedLeft=!0:i>0&&(this.everMovedRight=!0),this.pointerScreenX=n,this.pointerScreenY=r,this.isAnimating||(this.isAnimating=!0,this.requestAnimation(c_()))}},e.prototype.stop=function(){if(this.isEnabled){this.isAnimating=!1;for(var e=0,t=this.scrollCaches;e<t.length;e++){t[e].destroy()}this.scrollCaches=null}},e.prototype.requestAnimation=function(e){this.msSinceRequest=e,requestAnimationFrame(this.animate)},e.prototype.handleSide=function(e,t){var n=e.scrollCache,r=this.edgeThreshold,o=r-e.distance,i=o*o/(r*r)*this.maxVelocity*t,a=1;switch(e.name){case"left":a=-1;case"right":n.setScrollLeft(n.getScrollLeft()+i*a);break;case"top":a=-1;case"bottom":n.setScrollTop(n.getScrollTop()+i*a)}},e.prototype.computeBestEdge=function(e,t){for(var n=this.edgeThreshold,r=null,o=0,i=this.scrollCaches||[];o<i.length;o++){var a=i[o],s=a.clientRect,l=e-s.left,c=s.right-e,u=t-s.top,d=s.bottom-t;l>=0&&c>=0&&u>=0&&d>=0&&(u<=n&&this.everMovedUp&&a.canScrollUp()&&(!r||r.distance>u)&&(r={scrollCache:a,name:"top",distance:u}),d<=n&&this.everMovedDown&&a.canScrollDown()&&(!r||r.distance>d)&&(r={scrollCache:a,name:"bottom",distance:d}),l<=n&&this.everMovedLeft&&a.canScrollLeft()&&(!r||r.distance>l)&&(r={scrollCache:a,name:"left",distance:l}),c<=n&&this.everMovedRight&&a.canScrollRight()&&(!r||r.distance>c)&&(r={scrollCache:a,name:"right",distance:c}))}return r},e.prototype.buildCaches=function(e){return this.queryScrollEls(e).map((function(e){return e===window?new l_(!1):new s_(e,!1)}))},e.prototype.queryScrollEls=function(e){for(var t=[],n=0,r=this.scrollQuery;n<r.length;n++){var o=r[n];"object"===typeof o?t.push(o):t.push.apply(t,Array.prototype.slice.call(BA(e).querySelectorAll(o)))}return t},e}(),d_=function(e){function t(t,n){var r=e.call(this,t)||this;r.containerEl=t,r.delay=null,r.minDistance=0,r.touchScrollAllowed=!0,r.mirrorNeedsRevert=!1,r.isInteracting=!1,r.isDragging=!1,r.isDelayEnded=!1,r.isDistanceSurpassed=!1,r.delayTimeoutId=null,r.onPointerDown=function(e){var t;r.isDragging||(r.isInteracting=!0,r.isDelayEnded=!1,r.isDistanceSurpassed=!1,(t=document.body).classList.add("fc-unselectable"),t.addEventListener("selectstart",qA),function(e){e.addEventListener("contextmenu",qA)}(document.body),e.isTouch||e.origEvent.preventDefault(),r.emitter.trigger("pointerdown",e),r.isInteracting&&!r.pointer.shouldIgnoreMove&&(r.mirror.setIsVisible(!1),r.mirror.start(e.subjectEl,e.pageX,e.pageY),r.startDelay(e),r.minDistance||r.handleDistanceSurpassed(e)))},r.onPointerMove=function(e){if(r.isInteracting){if(r.emitter.trigger("pointermove",e),!r.isDistanceSurpassed){var t=r.minDistance,n=e.deltaX,o=e.deltaY;n*n+o*o>=t*t&&r.handleDistanceSurpassed(e)}r.isDragging&&("scroll"!==e.origEvent.type&&(r.mirror.handleMove(e.pageX,e.pageY),r.autoScroller.handleMove(e.pageX,e.pageY)),r.emitter.trigger("dragmove",e))}},r.onPointerUp=function(e){var t;r.isInteracting&&(r.isInteracting=!1,(t=document.body).classList.remove("fc-unselectable"),t.removeEventListener("selectstart",qA),function(e){e.removeEventListener("contextmenu",qA)}(document.body),r.emitter.trigger("pointerup",e),r.isDragging&&(r.autoScroller.stop(),r.tryStopDrag(e)),r.delayTimeoutId&&(clearTimeout(r.delayTimeoutId),r.delayTimeoutId=null))};var o=r.pointer=new r_(t);return o.emitter.on("pointerdown",r.onPointerDown),o.emitter.on("pointermove",r.onPointerMove),o.emitter.on("pointerup",r.onPointerUp),n&&(o.selector=n),r.mirror=new i_,r.autoScroller=new u_,r}return mA(t,e),t.prototype.destroy=function(){this.pointer.destroy(),this.onPointerUp({})},t.prototype.startDelay=function(e){var t=this;"number"===typeof this.delay?this.delayTimeoutId=setTimeout((function(){t.delayTimeoutId=null,t.handleDelayEnd(e)}),this.delay):this.handleDelayEnd(e)},t.prototype.handleDelayEnd=function(e){this.isDelayEnded=!0,this.tryStartDrag(e)},t.prototype.handleDistanceSurpassed=function(e){this.isDistanceSurpassed=!0,this.tryStartDrag(e)},t.prototype.tryStartDrag=function(e){this.isDelayEnded&&this.isDistanceSurpassed&&(this.pointer.wasTouchScroll&&!this.touchScrollAllowed||(this.isDragging=!0,this.mirrorNeedsRevert=!1,this.autoScroller.start(e.pageX,e.pageY,this.containerEl),this.emitter.trigger("dragstart",e),!1===this.touchScrollAllowed&&this.pointer.cancelTouchScroll()))},t.prototype.tryStopDrag=function(e){this.mirror.stop(this.mirrorNeedsRevert,this.stopDrag.bind(this,e))},t.prototype.stopDrag=function(e){this.isDragging=!1,this.emitter.trigger("dragend",e)},t.prototype.setIgnoreMove=function(e){this.pointer.shouldIgnoreMove=e},t.prototype.setMirrorIsVisible=function(e){this.mirror.setIsVisible(e)},t.prototype.setMirrorNeedsRevert=function(e){this.mirrorNeedsRevert=e},t.prototype.setAutoScrollEnabled=function(e){this.autoScroller.isEnabled=e},t}(jM),p_=function(){function e(e){this.origRect=ny(e),this.scrollCaches=ry(e).map((function(e){return new s_(e,!0)}))}return e.prototype.destroy=function(){for(var e=0,t=this.scrollCaches;e<t.length;e++){t[e].destroy()}},e.prototype.computeLeft=function(){for(var e=this.origRect.left,t=0,n=this.scrollCaches;t<n.length;t++){var r=n[t];e+=r.origScrollLeft-r.getScrollLeft()}return e},e.prototype.computeTop=function(){for(var e=this.origRect.top,t=0,n=this.scrollCaches;t<n.length;t++){var r=n[t];e+=r.origScrollTop-r.getScrollTop()}return e},e.prototype.isWithinClipping=function(e,t){for(var n={left:e,top:t},r=0,o=this.scrollCaches;r<o.length;r++){var i=o[r];if(!f_(i.getEventTarget())&&!Rv(n,i.clientRect))return!1}return!0},e}();function f_(e){var t=e.tagName;return"HTML"===t||"BODY"===t}var h_=function(){function e(e,t){var n=this;this.useSubjectCenter=!1,this.requireInitial=!0,this.initialHit=null,this.movingHit=null,this.finalHit=null,this.handlePointerDown=function(e){var t=n.dragging;n.initialHit=null,n.movingHit=null,n.finalHit=null,n.prepareHits(),n.processFirstCoord(e),n.initialHit||!n.requireInitial?(t.setIgnoreMove(!1),n.emitter.trigger("pointerdown",e)):t.setIgnoreMove(!0)},this.handleDragStart=function(e){n.emitter.trigger("dragstart",e),n.handleMove(e,!0)},this.handleDragMove=function(e){n.emitter.trigger("dragmove",e),n.handleMove(e)},this.handlePointerUp=function(e){n.releaseHits(),n.emitter.trigger("pointerup",e)},this.handleDragEnd=function(e){n.movingHit&&n.emitter.trigger("hitupdate",null,!0,e),n.finalHit=n.movingHit,n.movingHit=null,n.emitter.trigger("dragend",e)},this.droppableStore=t,e.emitter.on("pointerdown",this.handlePointerDown),e.emitter.on("dragstart",this.handleDragStart),e.emitter.on("dragmove",this.handleDragMove),e.emitter.on("pointerup",this.handlePointerUp),e.emitter.on("dragend",this.handleDragEnd),this.dragging=e,this.emitter=new iy}return e.prototype.processFirstCoord=function(e){var t,n,r,o={left:e.pageX,top:e.pageY},i=o,a=e.subjectEl;a instanceof HTMLElement&&(t=ny(a),n=i,r=t,i={left:Math.min(Math.max(n.left,r.left),r.right),top:Math.min(Math.max(n.top,r.top),r.bottom)});var s,l,c=this.initialHit=this.queryHitForOffset(i.left,i.top);if(c){if(this.useSubjectCenter&&t){var u=qv(t,c.rect);u&&(i=function(e){return{left:(e.left+e.right)/2,top:(e.top+e.bottom)/2}}(u))}this.coordAdjust=(l=o,{left:(s=i).left-l.left,top:s.top-l.top})}else this.coordAdjust={left:0,top:0}},e.prototype.handleMove=function(e,t){var n=this.queryHitForOffset(e.pageX+this.coordAdjust.left,e.pageY+this.coordAdjust.top);!t&&b_(this.movingHit,n)||(this.movingHit=n,this.emitter.trigger("hitupdate",n,!1,e))},e.prototype.prepareHits=function(){this.offsetTrackers=Mm(this.droppableStore,(function(e){return e.component.prepareHits(),new p_(e.el)}))},e.prototype.releaseHits=function(){var e=this.offsetTrackers;for(var t in e)e[t].destroy();this.offsetTrackers={}},e.prototype.queryHitForOffset=function(e,t){var n=this.droppableStore,r=this.offsetTrackers,o=null;for(var i in n){var a=n[i].component,s=r[i];if(s&&s.isWithinClipping(e,t)){var l=s.computeLeft(),c=s.computeTop(),u=e-l,d=t-c,p=s.origRect,f=p.right-p.left,h=p.bottom-p.top;if(u>=0&&u<f&&d>=0&&d<h){var b=a.queryHit(u,d,f,h);b&&Zg(b.dateProfile.activeRange,b.dateSpan.range)&&(!o||b.layer>o.layer)&&(b.componentId=i,b.context=a.context,b.rect.left+=l,b.rect.right+=l,b.rect.top+=c,b.rect.bottom+=c,o=b)}}}return o},e}();function b_(e,t){return!e&&!t||Boolean(e)===Boolean(t)&&(n=e.dateSpan,r=t.dateSpan,Fg(n.range,r.range)&&n.allDay===r.allDay&&function(e,t){for(var n in t)if("range"!==n&&"allDay"!==n&&e[n]!==t[n])return!1;for(var n in e)if(!(n in t))return!1;return!0}(n,r));var n,r}function A_(e,t){for(var n,r,o={},i=0,a=t.pluginHooks.datePointTransforms;i<a.length;i++){var s=a[i];gA(o,s(e,t))}return gA(o,(n=e,{date:(r=t.dateEnv).toDate(n.range.start),dateStr:r.formatIso(n.range.start,{omitTime:n.allDay}),allDay:n.allDay})),o}var m_=function(e){function t(t){var n=e.call(this,t)||this;n.handlePointerDown=function(e){var t=n.dragging,r=e.origEvent.target;t.setIgnoreMove(!n.component.isValidDateDownEl(r))},n.handleDragEnd=function(e){var t=n.component;if(!n.dragging.pointer.wasTouchScroll){var r=n.hitDragging,o=r.initialHit,i=r.finalHit;if(o&&i&&b_(o,i)){var a=t.context,s=gA(gA({},A_(o.dateSpan,a)),{dayEl:o.dayEl,jsEvent:e.origEvent,view:a.viewApi||a.calendarApi.view});a.emitter.trigger("dateClick",s)}}},n.dragging=new d_(t.el),n.dragging.autoScroller.isEnabled=!1;var r=n.hitDragging=new h_(n.dragging,NM(t));return r.emitter.on("pointerdown",n.handlePointerDown),r.emitter.on("dragend",n.handleDragEnd),n}return mA(t,e),t.prototype.destroy=function(){this.dragging.destroy()},t}(DM),g_=function(e){function t(t){var n=e.call(this,t)||this;n.dragSelection=null,n.handlePointerDown=function(e){var t=n,r=t.component,o=t.dragging,i=r.context.options.selectable&&r.isValidDateDownEl(e.origEvent.target);o.setIgnoreMove(!i),o.delay=e.isTouch?function(e){var t=e.context.options,n=t.selectLongPressDelay;null==n&&(n=t.longPressDelay);return n}(r):null},n.handleDragStart=function(e){n.component.context.calendarApi.unselect(e)},n.handleHitUpdate=function(e,t){var r=n.component.context,o=null,i=!1;if(e){var a=n.hitDragging.initialHit;e.componentId===a.componentId&&n.isHitComboAllowed&&!n.isHitComboAllowed(a,e)||(o=function(e,t,n){var r=e.dateSpan,o=t.dateSpan,i=[r.range.start,r.range.end,o.range.start,o.range.end];i.sort(JA);for(var a={},s=0,l=n;s<l.length;s++){var c=(0,l[s])(e,t);if(!1===c)return null;c&&gA(a,c)}return a.range={start:i[0],end:i[3]},a.allDay=r.allDay,a}(a,e,r.pluginHooks.dateSelectionTransformers)),o&&function(e,t,n){return!!Zg(t.validRange,e.range)&&lO({dateSelection:e},n)}(o,e.dateProfile,r)||(i=!0,o=null)}o?r.dispatch({type:"SELECT_DATES",selection:o}):t||r.dispatch({type:"UNSELECT_DATES"}),i?HA():$A(),t||(n.dragSelection=o)},n.handlePointerUp=function(e){n.dragSelection&&(uv(n.dragSelection,e,n.component.context),n.dragSelection=null)};var r=t.component.context.options,o=n.dragging=new d_(t.el);o.touchScrollAllowed=!1,o.minDistance=r.selectMinDistance||0,o.autoScroller.isEnabled=r.dragScroll;var i=n.hitDragging=new h_(n.dragging,NM(t));return i.emitter.on("pointerdown",n.handlePointerDown),i.emitter.on("dragstart",n.handleDragStart),i.emitter.on("hitupdate",n.handleHitUpdate),i.emitter.on("pointerup",n.handlePointerUp),n}return mA(t,e),t.prototype.destroy=function(){this.dragging.destroy()},t}(DM);var v_=function(e){function t(n){var r=e.call(this,n)||this;r.subjectEl=null,r.subjectSeg=null,r.isDragging=!1,r.eventRange=null,r.relevantEvents=null,r.receivingContext=null,r.validMutation=null,r.mutatedRelevantEvents=null,r.handlePointerDown=function(e){var t=e.origEvent.target,n=r,o=n.component,i=n.dragging,a=i.mirror,s=o.context.options,l=o.context;r.subjectEl=e.subjectEl;var c=r.subjectSeg=Xg(e.subjectEl),u=(r.eventRange=c.eventRange).instance.instanceId;r.relevantEvents=yg(l.getCurrentData().eventStore,u),i.minDistance=e.isTouch?0:s.eventDragMinDistance,i.delay=e.isTouch&&u!==o.props.eventSelection?function(e){var t=e.context.options,n=t.eventLongPressDelay;null==n&&(n=t.longPressDelay);return n}(o):null,s.fixedMirrorParent?a.parentNode=s.fixedMirrorParent:a.parentNode=SA(t,".fc"),a.revertDuration=s.dragRevertDuration;var d=o.isValidSegDownEl(t)&&!SA(t,".fc-event-resizer");i.setIgnoreMove(!d),r.isDragging=d&&e.subjectEl.classList.contains("fc-event-draggable")},r.handleDragStart=function(e){var t=r.component.context,n=r.eventRange,o=n.instance.instanceId;e.isTouch?o!==r.component.props.eventSelection&&t.dispatch({type:"SELECT_EVENT",eventInstanceId:o}):t.dispatch({type:"UNSELECT_EVENT"}),r.isDragging&&(t.calendarApi.unselect(e),t.emitter.trigger("eventDragStart",{el:r.subjectEl,event:new Ov(t,n.def,n.instance),jsEvent:e.origEvent,view:t.viewApi}))},r.handleHitUpdate=function(e,t){if(r.isDragging){var n=r.relevantEvents,o=r.hitDragging.initialHit,i=r.component.context,a=null,s=null,l=null,c=!1,u={affectedEvents:n,mutatedEvents:{defs:{},instances:{}},isEvent:!0};if(e){var d=(a=e.context).options;i===a||d.editable&&d.droppable?(s=function(e,t,n){var r=e.dateSpan,o=t.dateSpan,i=r.range.start,a=o.range.start,s={};r.allDay!==o.allDay&&(s.allDay=o.allDay,s.hasEnd=t.context.options.allDayMaintainDuration,o.allDay&&(i=lm(i)));var l=qg(i,a,e.context.dateEnv,e.componentId===t.componentId?e.largeUnit:null);l.milliseconds&&(s.allDay=!1);for(var c={datesDelta:l,standardProps:s},u=0,d=n;u<d.length;u++){(0,d[u])(c,e,t)}return c}(o,e,a.getCurrentData().pluginHooks.eventDragMutationMassagers))&&(l=fv(n,a.getCurrentData().eventUiBases,s,a),u.mutatedEvents=l,sO(u,e.dateProfile,a)||(c=!0,s=null,l=null,u.mutatedEvents={defs:{},instances:{}})):a=null}r.displayDrag(a,u),c?HA():$A(),t||(i===a&&b_(o,e)&&(s=null),r.dragging.setMirrorNeedsRevert(!s),r.dragging.setMirrorIsVisible(!e||!BA(r.subjectEl).querySelector(".fc-event-mirror")),r.receivingContext=a,r.validMutation=s,r.mutatedRelevantEvents=l)}},r.handlePointerUp=function(){r.isDragging||r.cleanup()},r.handleDragEnd=function(e){if(r.isDragging){var t=r.component.context,n=t.viewApi,o=r,i=o.receivingContext,a=o.validMutation,s=r.eventRange.def,l=r.eventRange.instance,c=new Ov(t,s,l),u=r.relevantEvents,d=r.mutatedRelevantEvents,p=r.hitDragging.finalHit;if(r.clearDrag(),t.emitter.trigger("eventDragStop",{el:r.subjectEl,event:c,jsEvent:e.origEvent,view:n}),a){if(i===t){var f=new Ov(t,d.defs[s.defId],l?d.instances[l.instanceId]:null);t.dispatch({type:"MERGE_EVENTS",eventStore:d});for(var h={oldEvent:c,event:f,relatedEvents:zv(d,t,l),revert:function(){t.dispatch({type:"MERGE_EVENTS",eventStore:u})}},b={},A=0,m=t.getCurrentData().pluginHooks.eventDropTransformers;A<m.length;A++){var g=m[A];gA(b,g(a,t))}t.emitter.trigger("eventDrop",gA(gA(gA({},h),b),{el:e.subjectEl,delta:a.datesDelta,jsEvent:e.origEvent,view:n})),t.emitter.trigger("eventChange",h)}else if(i){var v={event:c,relatedEvents:zv(u,t,l),revert:function(){t.dispatch({type:"MERGE_EVENTS",eventStore:u})}};t.emitter.trigger("eventLeave",gA(gA({},v),{draggedEl:e.subjectEl,view:n})),t.dispatch({type:"REMOVE_EVENTS",eventStore:u}),t.emitter.trigger("eventRemove",v);var y=d.defs[s.defId],M=d.instances[l.instanceId],O=new Ov(i,y,M);i.dispatch({type:"MERGE_EVENTS",eventStore:d});var _={event:O,relatedEvents:zv(d,i,M),revert:function(){i.dispatch({type:"REMOVE_EVENTS",eventStore:d})}};i.emitter.trigger("eventAdd",_),e.isTouch&&i.dispatch({type:"SELECT_EVENT",eventInstanceId:l.instanceId}),i.emitter.trigger("drop",gA(gA({},A_(p.dateSpan,i)),{draggedEl:e.subjectEl,jsEvent:e.origEvent,view:p.context.viewApi})),i.emitter.trigger("eventReceive",gA(gA({},_),{draggedEl:e.subjectEl,view:p.context.viewApi}))}}else t.emitter.trigger("_noEventDrop")}r.cleanup()};var o=r.component.context.options,i=r.dragging=new d_(n.el);i.pointer.selector=t.SELECTOR,i.touchScrollAllowed=!1,i.autoScroller.isEnabled=o.dragScroll;var a=r.hitDragging=new h_(r.dragging,TM);return a.useSubjectCenter=n.useEventCenter,a.emitter.on("pointerdown",r.handlePointerDown),a.emitter.on("dragstart",r.handleDragStart),a.emitter.on("hitupdate",r.handleHitUpdate),a.emitter.on("pointerup",r.handlePointerUp),a.emitter.on("dragend",r.handleDragEnd),r}return mA(t,e),t.prototype.destroy=function(){this.dragging.destroy()},t.prototype.displayDrag=function(e,t){var n=this.component.context,r=this.receivingContext;r&&r!==e&&(r===n?r.dispatch({type:"SET_EVENT_DRAG",state:{affectedEvents:t.affectedEvents,mutatedEvents:{defs:{},instances:{}},isEvent:!0}}):r.dispatch({type:"UNSET_EVENT_DRAG"})),e&&e.dispatch({type:"SET_EVENT_DRAG",state:t})},t.prototype.clearDrag=function(){var e=this.component.context,t=this.receivingContext;t&&t.dispatch({type:"UNSET_EVENT_DRAG"}),e!==t&&e.dispatch({type:"UNSET_EVENT_DRAG"})},t.prototype.cleanup=function(){this.subjectSeg=null,this.isDragging=!1,this.eventRange=null,this.relevantEvents=null,this.receivingContext=null,this.validMutation=null,this.mutatedRelevantEvents=null},t.SELECTOR=".fc-event-draggable, .fc-event-resizable",t}(DM);var y_=function(e){function t(t){var n=e.call(this,t)||this;n.draggingSegEl=null,n.draggingSeg=null,n.eventRange=null,n.relevantEvents=null,n.validMutation=null,n.mutatedRelevantEvents=null,n.handlePointerDown=function(e){var t=n.component,r=Xg(n.querySegEl(e)),o=n.eventRange=r.eventRange;n.dragging.minDistance=t.context.options.eventDragMinDistance,n.dragging.setIgnoreMove(!n.component.isValidSegDownEl(e.origEvent.target)||e.isTouch&&n.component.props.eventSelection!==o.instance.instanceId)},n.handleDragStart=function(e){var t=n.component.context,r=n.eventRange;n.relevantEvents=yg(t.getCurrentData().eventStore,n.eventRange.instance.instanceId);var o=n.querySegEl(e);n.draggingSegEl=o,n.draggingSeg=Xg(o),t.calendarApi.unselect(),t.emitter.trigger("eventResizeStart",{el:o,event:new Ov(t,r.def,r.instance),jsEvent:e.origEvent,view:t.viewApi})},n.handleHitUpdate=function(e,t,r){var o=n.component.context,i=n.relevantEvents,a=n.hitDragging.initialHit,s=n.eventRange.instance,l=null,c=null,u=!1,d={affectedEvents:i,mutatedEvents:{defs:{},instances:{}},isEvent:!0};e&&(e.componentId===a.componentId&&n.isHitComboAllowed&&!n.isHitComboAllowed(a,e)||(l=function(e,t,n,r){var o=e.context.dateEnv,i=e.dateSpan.range.start,a=t.dateSpan.range.start,s=qg(i,a,o,e.largeUnit);if(n){if(o.add(r.start,s)<r.end)return{startDelta:s}}else if(o.add(r.end,s)>r.start)return{endDelta:s};return null}(a,e,r.subjectEl.classList.contains("fc-event-resizer-start"),s.range)));l&&(c=fv(i,o.getCurrentData().eventUiBases,l,o),d.mutatedEvents=c,sO(d,e.dateProfile,o)||(u=!0,l=null,c=null,d.mutatedEvents=null)),c?o.dispatch({type:"SET_EVENT_RESIZE",state:d}):o.dispatch({type:"UNSET_EVENT_RESIZE"}),u?HA():$A(),t||(l&&b_(a,e)&&(l=null),n.validMutation=l,n.mutatedRelevantEvents=c)},n.handleDragEnd=function(e){var t=n.component.context,r=n.eventRange.def,o=n.eventRange.instance,i=new Ov(t,r,o),a=n.relevantEvents,s=n.mutatedRelevantEvents;if(t.emitter.trigger("eventResizeStop",{el:n.draggingSegEl,event:i,jsEvent:e.origEvent,view:t.viewApi}),n.validMutation){var l=new Ov(t,s.defs[r.defId],o?s.instances[o.instanceId]:null);t.dispatch({type:"MERGE_EVENTS",eventStore:s});var c={oldEvent:i,event:l,relatedEvents:zv(s,t,o),revert:function(){t.dispatch({type:"MERGE_EVENTS",eventStore:a})}};t.emitter.trigger("eventResize",gA(gA({},c),{el:n.draggingSegEl,startDelta:n.validMutation.startDelta||Tm(0),endDelta:n.validMutation.endDelta||Tm(0),jsEvent:e.origEvent,view:t.viewApi})),t.emitter.trigger("eventChange",c)}else t.emitter.trigger("_noEventResize");n.draggingSeg=null,n.relevantEvents=null,n.validMutation=null};var r=t.component,o=n.dragging=new d_(t.el);o.pointer.selector=".fc-event-resizer",o.touchScrollAllowed=!1,o.autoScroller.isEnabled=r.context.options.dragScroll;var i=n.hitDragging=new h_(n.dragging,NM(t));return i.emitter.on("pointerdown",n.handlePointerDown),i.emitter.on("dragstart",n.handleDragStart),i.emitter.on("hitupdate",n.handleHitUpdate),i.emitter.on("dragend",n.handleDragEnd),n}return mA(t,e),t.prototype.destroy=function(){this.dragging.destroy()},t.prototype.querySegEl=function(e){return SA(e.subjectEl,".fc-event")},t}(DM);var M_=function(){function e(e){var t=this;this.context=e,this.isRecentPointerDateSelect=!1,this.matchesCancel=!1,this.matchesEvent=!1,this.onSelect=function(e){e.jsEvent&&(t.isRecentPointerDateSelect=!0)},this.onDocumentPointerDown=function(e){var n=t.context.options.unselectCancel,r=jA(e.origEvent);t.matchesCancel=!!SA(r,n),t.matchesEvent=!!SA(r,v_.SELECTOR)},this.onDocumentPointerUp=function(e){var n=t.context,r=t.documentPointer,o=n.getCurrentData();if(!r.wasTouchScroll){if(o.dateSelection&&!t.isRecentPointerDateSelect){var i=n.options.unselectAuto;!i||i&&t.matchesCancel||n.calendarApi.unselect(e)}o.eventSelection&&!t.matchesEvent&&n.dispatch({type:"UNSELECT_EVENT"})}t.isRecentPointerDateSelect=!1};var n=this.documentPointer=new r_(document);n.shouldIgnoreMove=!0,n.shouldWatchScroll=!1,n.emitter.on("pointerdown",this.onDocumentPointerDown),n.emitter.on("pointerup",this.onDocumentPointerUp),e.emitter.on("select",this.onSelect)}return e.prototype.destroy=function(){this.context.emitter.off("select",this.onSelect),this.documentPointer.destroy()},e}(),O_={fixedMirrorParent:mg},__={dateClick:mg,eventDragStart:mg,eventDragStop:mg,eventDrop:mg,eventResizeStart:mg,eventResizeStop:mg,eventResize:mg,drop:mg,eventReceive:mg,eventLeave:mg},z_=function(){function e(e,t){var n=this;this.receivingContext=null,this.droppableEvent=null,this.suppliedDragMeta=null,this.dragMeta=null,this.handleDragStart=function(e){n.dragMeta=n.buildDragMeta(e.subjectEl)},this.handleHitUpdate=function(e,t,r){var o=n.hitDragging.dragging,i=null,a=null,s=!1,l={affectedEvents:{defs:{},instances:{}},mutatedEvents:{defs:{},instances:{}},isEvent:n.dragMeta.create};e&&(i=e.context,n.canDropElOnCalendar(r.subjectEl,i)&&(a=function(e,t,n){for(var r=gA({},t.leftoverProps),o=0,i=n.pluginHooks.externalDefTransforms;o<i.length;o++){var a=i[o];gA(r,a(e,t))}var s=Tg(r,n),l=s.refined,c=s.extra,u=Bg(l,c,t.sourceId,e.allDay,n.options.forceEventDuration||Boolean(t.duration),n),d=e.range.start;e.allDay&&t.startTime&&(d=n.dateEnv.add(d,t.startTime));var p=t.duration?n.dateEnv.add(d,t.duration):pv(e.allDay,d,n),f=mm(u.defId,{start:d,end:p});return{def:u,instance:f}}(e.dateSpan,n.dragMeta,i),l.mutatedEvents=vg(a),(s=!sO(l,e.dateProfile,i))&&(l.mutatedEvents={defs:{},instances:{}},a=null))),n.displayDrag(i,l),o.setMirrorIsVisible(t||!a||!document.querySelector(".fc-event-mirror")),s?HA():$A(),t||(o.setMirrorNeedsRevert(!a),n.receivingContext=i,n.droppableEvent=a)},this.handleDragEnd=function(e){var t=n,r=t.receivingContext,o=t.droppableEvent;if(n.clearDrag(),r&&o){var i=n.hitDragging.finalHit,a=i.context.viewApi,s=n.dragMeta;if(r.emitter.trigger("drop",gA(gA({},A_(i.dateSpan,r)),{draggedEl:e.subjectEl,jsEvent:e.origEvent,view:a})),s.create){var l=vg(o);r.dispatch({type:"MERGE_EVENTS",eventStore:l}),e.isTouch&&r.dispatch({type:"SELECT_EVENT",eventInstanceId:o.instance.instanceId}),r.emitter.trigger("eventReceive",{event:new Ov(r,o.def,o.instance),relatedEvents:[],revert:function(){r.dispatch({type:"REMOVE_EVENTS",eventStore:l})},draggedEl:e.subjectEl,view:a})}}n.receivingContext=null,n.droppableEvent=null};var r=this.hitDragging=new h_(e,TM);r.requireInitial=!1,r.emitter.on("dragstart",this.handleDragStart),r.emitter.on("hitupdate",this.handleHitUpdate),r.emitter.on("dragend",this.handleDragEnd),this.suppliedDragMeta=t}return e.prototype.buildDragMeta=function(e){return"object"===typeof this.suppliedDragMeta?RM(this.suppliedDragMeta):"function"===typeof this.suppliedDragMeta?RM(this.suppliedDragMeta(e)):function(e){var t=function(e,t){var n=BM.dataAttrPrefix,r=(n?n+"-":"")+t;return e.getAttribute("data-"+r)||""}(e,"event");return RM(t?JSON.parse(t):{create:!1})}(e)},e.prototype.displayDrag=function(e,t){var n=this.receivingContext;n&&n!==e&&n.dispatch({type:"UNSET_EVENT_DRAG"}),e&&e.dispatch({type:"SET_EVENT_DRAG",state:t})},e.prototype.clearDrag=function(){this.receivingContext&&this.receivingContext.dispatch({type:"UNSET_EVENT_DRAG"})},e.prototype.canDropElOnCalendar=function(e,t){var n=t.options.dropAccept;return"function"===typeof n?n.call(t.calendarApi,e):"string"!==typeof n||!n||Boolean(EA(e,n))},e}();BM.dataAttrPrefix="";!function(){function e(e,t){var n=this;void 0===t&&(t={}),this.handlePointerDown=function(e){var t=n.dragging,r=n.settings,o=r.minDistance,i=r.longPressDelay;t.minDistance=null!=o?o:e.isTouch?0:cg.eventDragMinDistance,t.delay=e.isTouch?null!=i?i:cg.longPressDelay:0},this.handleDragStart=function(e){e.isTouch&&n.dragging.delay&&e.subjectEl.classList.contains("fc-event")&&n.dragging.mirror.getMirrorEl().classList.add("fc-event-selected")},this.settings=t;var r=this.dragging=new d_(e);r.touchScrollAllowed=!1,null!=t.itemSelector&&(r.pointer.selector=t.itemSelector),null!=t.appendTo&&(r.mirror.parentNode=t.appendTo),r.emitter.on("pointerdown",this.handlePointerDown),r.emitter.on("dragstart",this.handleDragStart),new z_(r,t.eventData)}e.prototype.destroy=function(){this.dragging.destroy()}}();var x_=function(e){function t(t){var n=e.call(this,t)||this;n.shouldIgnoreMove=!1,n.mirrorSelector="",n.currentMirrorEl=null,n.handlePointerDown=function(e){n.emitter.trigger("pointerdown",e),n.shouldIgnoreMove||n.emitter.trigger("dragstart",e)},n.handlePointerMove=function(e){n.shouldIgnoreMove||n.emitter.trigger("dragmove",e)},n.handlePointerUp=function(e){n.emitter.trigger("pointerup",e),n.shouldIgnoreMove||n.emitter.trigger("dragend",e)};var r=n.pointer=new r_(t);return r.emitter.on("pointerdown",n.handlePointerDown),r.emitter.on("pointermove",n.handlePointerMove),r.emitter.on("pointerup",n.handlePointerUp),n}return mA(t,e),t.prototype.destroy=function(){this.pointer.destroy()},t.prototype.setIgnoreMove=function(e){this.shouldIgnoreMove=e},t.prototype.setMirrorIsVisible=function(e){if(e)this.currentMirrorEl&&(this.currentMirrorEl.style.visibility="",this.currentMirrorEl=null);else{var t=this.mirrorSelector?document.querySelector(this.mirrorSelector):null;t&&(this.currentMirrorEl=t,t.style.visibility="hidden")}},t}(jM),w_=(function(){function e(e,t){var n=document;e===document||e instanceof Element?(n=e,t=t||{}):t=e||{};var r=this.dragging=new x_(n);"string"===typeof t.itemSelector?r.pointer.selector=t.itemSelector:n===document&&(r.pointer.selector="[data-event]"),"string"===typeof t.mirrorSelector&&(r.mirrorSelector=t.mirrorSelector),new z_(r,t.eventData)}e.prototype.destroy=function(){this.dragging.destroy()}}(),yy({componentInteractions:[m_,g_,v_,y_],calendarInteractions:[M_],elementDraggingImpl:d_,optionRefiners:O_,listenerRefiners:__})),C_="2023-05-08",S_=372,E_=["GPL-My-Project-Is-Open-Source","CC-Attribution-NonCommercial-NoDerivatives"],k_={position:"absolute",zIndex:99999,bottom:"1px",left:"1px",background:"#eee",borderColor:"#ddd",borderStyle:"solid",borderWidth:"1px 1px 0 0",padding:"2px 4px",fontSize:"12px",borderTopRightRadius:"3px"};var D_=yy({optionRefiners:{schedulerLicenseKey:String},viewContainerAppends:[function(e){var t=e.options.schedulerLicenseKey,n="undefined"!==typeof window?window.location.href:"";if(!/\w+:\/\/fullcalendar\.io\/|\/examples\/[\w-]+\.html$/.test(n)){var r=function(e){if(-1!==E_.indexOf(e))return"valid";var t=(e||"").match(/^(\d+)-fcs-(\d+)$/);if(t&&10===t[1].length){var n=new Date(1e3*parseInt(t[2],10)),r=new Date(BM.mockSchedulerReleaseDate||C_);if(bm(r))return om(r,-S_)<n?"valid":"outdated"}return"invalid"}(t);if("valid"!==r)return MA("div",{className:"fc-license-message",style:k_},"outdated"===r?MA(_A,null,"Your license key is too old to work with this version. ",MA("a",{href:"http://fullcalendar.io/docs/schedulerLicenseKey#outdated"},"More Info")):MA(_A,null,"Your license key is invalid. ",MA("a",{href:"http://fullcalendar.io/docs/schedulerLicenseKey#invalid"},"More Info")))}return null}]});function N_(e,t){var n=e.resourceEditable;if(null==n){var r=e.sourceId&&t.getCurrentData().eventSources[e.sourceId];r&&(n=r.extendedProps.resourceEditable),null==n&&null==(n=t.options.eventResourceEditable)&&(n=t.options.editable)}return n}var T_=function(){function e(){this.filterResources=Zm(j_)}return e.prototype.transform=function(e,t){return t.viewSpec.optionDefaults.needsResourceData?{resourceStore:this.filterResources(t.resourceStore,t.options.filterResourcesWithEvents,t.eventStore,t.dateProfile.activeRange),resourceEntityExpansions:t.resourceEntityExpansions}:null},e}();function j_(e,t,n,r){if(t){var o=function(e,t){return ym(e,(function(e){return Ug(e.range,t)}))}(n.instances,r),i=function(e,t){var n={};for(var r in e)for(var o=0,i=t[e[r].defId].resourceIds;o<i.length;o++){n[i[o]]=!0}return n}(o,n.defs);return gA(i,function(e,t){var n={};for(var r in e)for(var o=void 0;(o=t[r])&&(r=o.parentId);)n[r]=!0;return n}(i,e)),ym(e,(function(e,t){return i[t]}))}return e}var B_=function(){function e(){this.buildResourceEventUis=Zm(L_,zm),this.injectResourceEventUis=Zm(R_)}return e.prototype.transform=function(e,t){return t.viewSpec.optionDefaults.needsResourceData?null:{eventUiBases:this.injectResourceEventUis(e.eventUiBases,e.eventStore.defs,this.buildResourceEventUis(t.resourceStore))}},e}();function L_(e){return Mm(e,(function(e){return e.ui}))}function R_(e,t,n){return Mm(e,(function(e,r){return r?function(e,t,n){for(var r=[],o=0,i=t.resourceIds;o<i.length;o++){var a=i[o];n[a]&&r.unshift(n[a])}return r.unshift(e),Cg(r)}(e,t[r],n):e}))}var q_=[];function P_(e){q_.push(e)}function I_(e){return q_[e]}function W_(){return q_}var F_={id:String,resources:mg,url:String,method:String,startParam:String,endParam:String,timeZoneParam:String,extraParams:mg};function U_(e){var t;if("string"===typeof e?t={url:e}:"function"===typeof e||Array.isArray(e)?t={resources:e}:"object"===typeof e&&e&&(t=e),t){var n=Ag(t,F_),r=n.refined;!function(e){for(var t in e)console.warn("Unknown resource prop '"+t+"'")}(n.extra);var o=function(e){for(var t=W_(),n=t.length-1;n>=0;n-=1){var r=t[n].parseMeta(e);if(r)return{meta:r,sourceDefId:n}}return null}(r);if(o)return{_raw:e,sourceId:ZA(),sourceDefId:o.sourceDefId,meta:o.meta,publicId:r.id||"",isFetching:!1,latestFetchId:"",fetchRange:null}}return null}function Z_(e,t,n){var r=n.options,o=n.dateProfile;if(!e||!t)return H_(r.initialResources||r.resources,o.activeRange,r.refetchResourcesOnNavigate,n);switch(t.type){case"RESET_RESOURCE_SOURCE":return H_(t.resourceSourceInput,o.activeRange,r.refetchResourcesOnNavigate,n);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return function(e,t,n,r){if(n&&!function(e){return Boolean(I_(e.sourceDefId).ignoreRange)}(e)&&(!e.fetchRange||!Fg(e.fetchRange,t)))return $_(e,t,r);return e}(e,o.activeRange,r.refetchResourcesOnNavigate,n);case"RECEIVE_RESOURCES":case"RECEIVE_RESOURCE_ERROR":return function(e,t,n){if(t===e.latestFetchId)return gA(gA({},e),{isFetching:!1,fetchRange:n});return e}(e,t.fetchId,t.fetchRange);case"REFETCH_RESOURCES":return $_(e,o.activeRange,n);default:return e}}function H_(e,t,n,r){if(e){var o=U_(e);return o=$_(o,n?t:null,r)}return null}function $_(e,t,n){var r=I_(e.sourceDefId),o=ZA();return r.fetch({resourceSource:e,range:t,context:n},(function(e){n.dispatch({type:"RECEIVE_RESOURCES",fetchId:o,fetchRange:t,rawResources:e.rawResources})}),(function(e){n.dispatch({type:"RECEIVE_RESOURCE_ERROR",fetchId:o,fetchRange:t,error:e})})),gA(gA({},e),{isFetching:!0,latestFetchId:o})}var V_="_fc:",X_={id:String,parentId:String,children:mg,title:String,businessHours:mg,extendedProps:mg,eventEditable:Boolean,eventStartEditable:Boolean,eventDurationEditable:Boolean,eventConstraint:mg,eventOverlap:Boolean,eventAllow:mg,eventClassNames:_g,eventBackgroundColor:String,eventBorderColor:String,eventTextColor:String,eventColor:String};function Q_(e,t,n,r){void 0===t&&(t="");var o=Ag(e,X_),i=o.refined,a=o.extra,s={id:i.id||V_+ZA(),parentId:i.parentId||t,title:i.title||"",businessHours:i.businessHours?Lv(i.businessHours,r):null,ui:wg({editable:i.eventEditable,startEditable:i.eventStartEditable,durationEditable:i.eventDurationEditable,constraint:i.eventConstraint,overlap:i.eventOverlap,allow:i.eventAllow,classNames:i.eventClassNames,backgroundColor:i.eventBackgroundColor,borderColor:i.eventBorderColor,textColor:i.eventTextColor,color:i.eventColor},r),extendedProps:gA(gA({},a),i.extendedProps)};if(Object.freeze(s.ui.classNames),Object.freeze(s.extendedProps),n[s.id]);else if(n[s.id]=s,i.children)for(var l=0,c=i.children;l<c.length;l++){Q_(c[l],s.id,n,r)}return s}function Y_(e,t,n,r){if(!e||!t)return{};switch(t.type){case"RECEIVE_RESOURCES":return function(e,t,n,r,o){if(r.latestFetchId===n){for(var i={},a=0,s=t;a<s.length;a++){Q_(s[a],"",i,o)}return i}return e}(e,t.rawResources,t.fetchId,n,r);case"ADD_RESOURCE":return o=e,i=t.resourceHash,gA(gA({},o),i);case"REMOVE_RESOURCE":return function(e,t){var n=gA({},e);for(var r in delete n[t],n)n[r].parentId===t&&(n[r]=gA(gA({},n[r]),{parentId:""}));return n}(e,t.resourceId);case"SET_RESOURCE_PROP":return function(e,t,n,r){var o,i,a=e[t];if(a)return gA(gA({},e),((o={})[t]=gA(gA({},a),((i={})[n]=r,i)),o));return e}(e,t.resourceId,t.propName,t.propValue);case"SET_RESOURCE_EXTENDED_PROP":return function(e,t,n,r){var o,i,a=e[t];if(a)return gA(gA({},e),((o={})[t]=gA(gA({},a),{extendedProps:gA(gA({},a.extendedProps),(i={},i[n]=r,i))}),o));return e}(e,t.resourceId,t.propName,t.propValue);default:return e}var o,i}var G_={resourceId:String,resourceIds:mg,resourceEditable:Boolean};var K_=function(){function e(e,t){this._context=e,this._resource=t}return e.prototype.setProp=function(e,t){var n=this._resource;this._context.dispatch({type:"SET_RESOURCE_PROP",resourceId:n.id,propName:e,propValue:t}),this.sync(n)},e.prototype.setExtendedProp=function(e,t){var n=this._resource;this._context.dispatch({type:"SET_RESOURCE_EXTENDED_PROP",resourceId:n.id,propName:e,propValue:t}),this.sync(n)},e.prototype.sync=function(t){var n=this._context,r=t.id;this._resource=n.getCurrentData().resourceStore[r],n.emitter.trigger("resourceChange",{oldResource:new e(n,t),resource:this,revert:function(){var e;n.dispatch({type:"ADD_RESOURCE",resourceHash:(e={},e[r]=t,e)})}})},e.prototype.remove=function(){var e=this._context,t=this._resource,n=t.id;e.dispatch({type:"REMOVE_RESOURCE",resourceId:n}),e.emitter.trigger("resourceRemove",{resource:this,revert:function(){var r;e.dispatch({type:"ADD_RESOURCE",resourceHash:(r={},r[n]=t,r)})}})},e.prototype.getParent=function(){var t=this._context,n=this._resource.parentId;return n?new e(t,t.getCurrentData().resourceSource[n]):null},e.prototype.getChildren=function(){var t=this._resource.id,n=this._context,r=n.getCurrentData().resourceStore,o=[];for(var i in r)r[i].parentId===t&&o.push(new e(n,r[i]));return o},e.prototype.getEvents=function(){var e=this._resource.id,t=this._context,n=t.getCurrentData().eventStore,r=n.defs,o=n.instances,i=[];for(var a in o){var s=o[a],l=r[s.defId];-1!==l.resourceIds.indexOf(e)&&i.push(new Ov(t,l,s))}return i},Object.defineProperty(e.prototype,"id",{get:function(){return 0===(e=this._resource.id).indexOf(V_)?"":e;var e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this._resource.title},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"eventConstraint",{get:function(){return this._resource.ui.constraints[0]||null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"eventOverlap",{get:function(){return this._resource.ui.overlap},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"eventAllow",{get:function(){return this._resource.ui.allows[0]||null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"eventBackgroundColor",{get:function(){return this._resource.ui.backgroundColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"eventBorderColor",{get:function(){return this._resource.ui.borderColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"eventTextColor",{get:function(){return this._resource.ui.textColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"eventClassNames",{get:function(){return this._resource.ui.classNames},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"extendedProps",{get:function(){return this._resource.extendedProps},enumerable:!1,configurable:!0}),e.prototype.toPlainObject=function(e){void 0===e&&(e={});var t=this._resource,n=t.ui,r=this.id,o={};return r&&(o.id=r),t.title&&(o.title=t.title),e.collapseEventColor&&n.backgroundColor&&n.backgroundColor===n.borderColor?o.eventColor=n.backgroundColor:(n.backgroundColor&&(o.eventBackgroundColor=n.backgroundColor),n.borderColor&&(o.eventBorderColor=n.borderColor)),n.textColor&&(o.eventTextColor=n.textColor),n.classNames.length&&(o.eventClassNames=n.classNames),Object.keys(t.extendedProps).length&&(e.collapseExtendedProps?gA(o,t.extendedProps):o.extendedProps=t.extendedProps),o},e.prototype.toJSON=function(){return this.toPlainObject()},e}();Mv.prototype.addResource=function(e,t){var n,r=this;void 0===t&&(t=!0);var o,i,a=this.getCurrentData();e instanceof K_?((n={})[(i=e._resource).id]=i,o=n):i=Q_(e,"",o={},a),this.dispatch({type:"ADD_RESOURCE",resourceHash:o}),t&&this.trigger("_scrollRequest",{resourceId:i.id});var s=new K_(a,i);return a.emitter.trigger("resourceAdd",{resource:s,revert:function(){r.dispatch({type:"REMOVE_RESOURCE",resourceId:i.id})}}),s},Mv.prototype.getResourceById=function(e){e=String(e);var t=this.getCurrentData();if(t.resourceStore){var n=t.resourceStore[e];if(n)return new K_(t,n)}return null},Mv.prototype.getResources=function(){var e=this.getCurrentData(),t=e.resourceStore,n=[];if(t)for(var r in t)n.push(new K_(e,t[r]));return n},Mv.prototype.getTopLevelResources=function(){var e=this.getCurrentData(),t=e.resourceStore,n=[];if(t)for(var r in t)t[r].parentId||n.push(new K_(e,t[r]));return n},Mv.prototype.refetchResources=function(){this.dispatch({type:"REFETCH_RESOURCES"})};var J_=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return mA(t,e),t.prototype.getKeyInfo=function(e){return gA({"":{}},e.resourceStore)},t.prototype.getKeysForDateSpan=function(e){return[e.resourceId||""]},t.prototype.getKeysForEventDef=function(e){var t=e.resourceIds;return t.length?t:[""]},t}(Fv);function ez(e,t){return gA(gA({},t),{constraints:tz(e,t.constraints)})}function tz(e,t){return t.map((function(t){var n=t.defs;if(n)for(var r in n){var o=n[r].resourceIds;if(o.length&&-1===o.indexOf(e))return!1}return t}))}Ov.prototype.getResources=function(){var e=this._context.calendarApi;return this._def.resourceIds.map((function(t){return e.getResourceById(t)}))},Ov.prototype.setResources=function(e){for(var t=[],n=0,r=e;n<r.length;n++){var o=r[n],i=null;"string"===typeof o?i=o:"number"===typeof o?i=String(o):o instanceof K_?i=o.id:console.warn("unknown resource type: "+o),i&&t.push(i)}this.mutate({standardProps:{resourceIds:t}})};var nz={resources:function(e,t){t.getCurrentData().resourceSource._raw!==e&&t.dispatch({type:"RESET_RESOURCE_SOURCE",resourceSourceInput:e})}};var rz=VA("id,title");var oz={initialResources:mg,resources:mg,eventResourceEditable:Boolean,refetchResourcesOnNavigate:Boolean,resourceOrder:VA,filterResourcesWithEvents:Boolean,resourceGroupField:String,resourceAreaWidth:mg,resourceAreaColumns:mg,resourcesInitiallyExpanded:Boolean,datesAboveResources:Boolean,needsResourceData:Boolean,resourceAreaHeaderClassNames:mg,resourceAreaHeaderContent:mg,resourceAreaHeaderDidMount:mg,resourceAreaHeaderWillUnmount:mg,resourceGroupLabelClassNames:mg,resourceGroupLabelContent:mg,resourceGroupLabelDidMount:mg,resourceGroupLabelWillUnmount:mg,resourceLabelClassNames:mg,resourceLabelContent:mg,resourceLabelDidMount:mg,resourceLabelWillUnmount:mg,resourceLaneClassNames:mg,resourceLaneContent:mg,resourceLaneDidMount:mg,resourceLaneWillUnmount:mg,resourceGroupLaneClassNames:mg,resourceGroupLaneContent:mg,resourceGroupLaneDidMount:mg,resourceGroupLaneWillUnmount:mg},iz={resourcesSet:mg,resourceAdd:mg,resourceChange:mg,resourceRemove:mg};function az(e){return MA(py.Consumer,null,(function(t){var n=t.options,r={resource:new K_(t,e.resource),date:e.date?t.dateEnv.toDate(e.date):null,view:t.viewApi},o={"data-resource-id":e.resource.id,"data-date":e.date?Wm(e.date):void 0};return MA(zy,{hookProps:r,classNames:n.resourceLabelClassNames,content:n.resourceLabelContent,defaultContent:sz,didMount:n.resourceLabelDidMount,willUnmount:n.resourceLabelWillUnmount},(function(t,n,r,i){return e.children(t,n,o,r,i)}))}))}function sz(e){return e.resource.title||e.resource.id}P_({ignoreRange:!0,parseMeta:function(e){return Array.isArray(e.resources)?e.resources:null},fetch:function(e,t){t({rawResources:e.resourceSource.meta})}}),P_({parseMeta:function(e){return"function"===typeof e.resources?e.resources:null},fetch:function(e,t,n){var r=e.context.dateEnv,o=e.resourceSource.meta,i=e.range?{start:r.toDate(e.range.start),end:r.toDate(e.range.end),startStr:r.formatIso(e.range.start),endStr:r.formatIso(e.range.end),timeZone:r.timeZone}:{};oy(o.bind(null,i),(function(e){t({rawResources:e})}),n)}}),P_({parseMeta:function(e){return e.url?{url:e.url,method:(e.method||"GET").toUpperCase(),extraParams:e.extraParams}:null},fetch:function(e,t,n){var r=e.resourceSource.meta,o=function(e,t,n){var r,o,i,a,s=n.dateEnv,l=n.options,c={};t&&(null==(r=e.startParam)&&(r=l.startParam),null==(o=e.endParam)&&(o=l.endParam),null==(i=e.timeZoneParam)&&(i=l.timeZoneParam),c[r]=s.formatIso(t.start),c[o]=s.formatIso(t.end),"local"!==s.timeZone&&(c[i]=s.timeZone));a="function"===typeof e.extraParams?e.extraParams():e.extraParams||{};return gA(c,a),c}(r,e.range,e.context);iM(r.method,r.url,o,(function(e,n){t({rawResources:e,xhr:n})}),(function(e,t){n({message:e,xhr:t})}))}});var lz=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return mA(t,e),t.prototype.render=function(){var e=this.props;return MA(az,{resource:e.resource,date:e.date},(function(t,n,r,o,i){return MA("th",gA({ref:t,role:"columnheader",className:["fc-col-header-cell","fc-resource"].concat(n).join(" "),colSpan:e.colSpan},r),MA("div",{className:"fc-scrollgrid-sync-inner"},MA("span",{className:["fc-col-header-cell-cushion",e.isSticky?"fc-sticky":""].join(" "),ref:o},i)))}))},t}(by),cz=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buildDateFormat=Zm(uz),t}return mA(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,r=this.buildDateFormat(n.options.dayHeaderFormat,t.datesRepDistinctDays,t.dates.length);return MA(JM,{unit:"day"},(function(o,i){return 1===t.dates.length?e.renderResourceRow(t.resources,t.dates[0]):n.options.datesAboveResources?e.renderDayAndResourceRows(t.dates,r,i,t.resources):e.renderResourceAndDayRows(t.resources,t.dates,r,i)}))},t.prototype.renderResourceRow=function(e,t){var n=e.map((function(e){return MA(lz,{key:e.id,resource:e,colSpan:1,date:t})}));return this.buildTr(n,"resources")},t.prototype.renderDayAndResourceRows=function(e,t,n,r){for(var o=[],i=[],a=0,s=e;a<s.length;a++){var l=s[a];o.push(this.renderDateCell(l,t,n,r.length,null,!0));for(var c=0,u=r;c<u.length;c++){var d=u[c];i.push(MA(lz,{key:d.id+":"+l.toISOString(),resource:d,colSpan:1,date:l}))}}return MA(_A,null,this.buildTr(o,"day"),this.buildTr(i,"resources"))},t.prototype.renderResourceAndDayRows=function(e,t,n,r){for(var o=[],i=[],a=0,s=e;a<s.length;a++){var l=s[a];o.push(MA(lz,{key:l.id,resource:l,colSpan:t.length,isSticky:!0}));for(var c=0,u=t;c<u.length;c++){var d=u[c];i.push(this.renderDateCell(d,n,r,1,l))}}return MA(_A,null,this.buildTr(o,"resources"),this.buildTr(i,"day"))},t.prototype.renderDateCell=function(e,t,n,r,o,i){var a=this.props,s=o?":"+o.id:"",l=o?{resource:new K_(this.context,o)}:{},c=o?{"data-resource-id":o.id}:{};return a.datesRepDistinctDays?MA(YM,{key:e.toISOString()+s,date:e,dateProfile:a.dateProfile,todayRange:n,colCnt:a.dates.length*a.resources.length,dayHeaderFormat:t,colSpan:r,isSticky:i,extraHookProps:l,extraDataAttrs:c}):MA(KM,{key:e.getUTCDay()+s,dow:e.getUTCDay(),dayHeaderFormat:t,colSpan:r,isSticky:i,extraHookProps:l,extraDataAttrs:c})},t.prototype.buildTr=function(e,t){var n=this.props.renderIntro;return e.length||(e=[MA("td",{key:0},"\xa0")]),MA("tr",{key:t,role:"row"},n&&n(t),e)},t}(by);function uz(e,t,n){return e||VM(t,n)}var dz=function(e){for(var t={},n=[],r=0;r<e.length;r+=1){var o=e[r].id;n.push(o),t[o]=r}this.ids=n,this.indicesById=t,this.length=e.length},pz=function(){function e(e,t,n){this.dayTableModel=e,this.resources=t,this.context=n,this.resourceIndex=new dz(t),this.rowCnt=e.rowCnt,this.colCnt=e.colCnt*t.length,this.cells=this.buildCells()}return e.prototype.buildCells=function(){for(var e=this,t=e.rowCnt,n=e.dayTableModel,r=e.resources,o=[],i=0;i<t;i+=1){for(var a=[],s=0;s<n.colCnt;s+=1)for(var l=0;l<r.length;l+=1){var c=r[l],u={resource:new K_(this.context,c)},d={"data-resource-id":c.id},p={resourceId:c.id},f=n.cells[i][s].date;a[this.computeCol(s,l)]={key:c.id+":"+f.toISOString(),date:f,extraHookProps:u,extraDataAttrs:d,extraClassNames:["fc-resource"],extraDateSpan:p}}o.push(a)}return o},e}(),fz=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return mA(t,e),t.prototype.computeCol=function(e,t){return t*this.dayTableModel.colCnt+e},t.prototype.computeColRanges=function(e,t,n){return[{firstCol:this.computeCol(e,n),lastCol:this.computeCol(t,n),isStart:!0,isEnd:!0}]},t}(pz),hz=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return mA(t,e),t.prototype.computeCol=function(e,t){return e*this.resources.length+t},t.prototype.computeColRanges=function(e,t,n){for(var r=[],o=e;o<=t;o+=1){var i=this.computeCol(o,n);r.push({firstCol:i,lastCol:i,isStart:o===e,isEnd:o===t})}return r},t}(pz),bz=[],Az=function(){function e(){this.joinDateSelection=Zm(this.joinSegs),this.joinBusinessHours=Zm(this.joinSegs),this.joinFgEvents=Zm(this.joinSegs),this.joinBgEvents=Zm(this.joinSegs),this.joinEventDrags=Zm(this.joinInteractions),this.joinEventResizes=Zm(this.joinInteractions)}return e.prototype.joinProps=function(e,t){for(var n=[],r=[],o=[],i=[],a=[],s=[],l="",c=0,u=t.resourceIndex.ids.concat([""]);c<u.length;c++){var d=u[c],p=e[d];n.push(p.dateSelectionSegs),r.push(d?p.businessHourSegs:bz),o.push(d?p.fgEventSegs:bz),i.push(p.bgEventSegs),a.push(p.eventDrag),s.push(p.eventResize),l=l||p.eventSelection}return{dateSelectionSegs:this.joinDateSelection.apply(this,vA([t],n)),businessHourSegs:this.joinBusinessHours.apply(this,vA([t],r)),fgEventSegs:this.joinFgEvents.apply(this,vA([t],o)),bgEventSegs:this.joinBgEvents.apply(this,vA([t],i)),eventDrag:this.joinEventDrags.apply(this,vA([t],a)),eventResize:this.joinEventResizes.apply(this,vA([t],s)),eventSelection:l}},e.prototype.joinSegs=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=e.resources.length,o=[],i=0;i<r;i+=1){for(var a=0,s=t[i];a<s.length;a++){var l=s[a];o.push.apply(o,this.transformSeg(l,e,i))}for(var c=0,u=t[r];c<u.length;c++){l=u[c];o.push.apply(o,this.transformSeg(l,e,i))}}return o},e.prototype.expandSegs=function(e,t){for(var n=e.resources.length,r=[],o=0;o<n;o+=1)for(var i=0,a=t;i<a.length;i++){var s=a[i];r.push.apply(r,this.transformSeg(s,e,o))}return r},e.prototype.joinInteractions=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=e.resources.length,o={},i=[],a=!1,s=!1,l=0;l<r;l+=1){var c=t[l];if(c){a=!0;for(var u=0,d=c.segs;u<d.length;u++){var p=d[u];i.push.apply(i,this.transformSeg(p,e,l))}gA(o,c.affectedInstances),s=s||c.isEvent}if(t[r])for(var f=0,h=t[r].segs;f<h.length;f++){p=h[f];i.push.apply(i,this.transformSeg(p,e,l))}}return a?{affectedInstances:o,segs:i,isEvent:s}:null},e}(),mz=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return mA(t,e),t.prototype.getKeyInfo=function(e){var t=e.resourceDayTableModel,n=Mm(t.resourceIndex.indicesById,(function(e){return t.resources[e]}));return n[""]={},n},t.prototype.getKeysForDateSpan=function(e){return[e.resourceId||""]},t.prototype.getKeysForEventDef=function(e){var t=e.resourceIds;return t.length?t:[""]},t}(Fv);function gz(e,t){return function(e,t,n,r,o,i){var a=function(e,t,n,r){var o=function(e,t){var n={};for(var r in e){var o=e[r];n[r]={resource:o,resourceFields:Oz(o),children:[]}}for(var r in e){if((o=e[r]).parentId){var i=n[o.parentId];i&&Mz(n[r],i.children,t)}}return n}(e,r),i=[];for(var a in o){var s=o[a];s.resource.parentId||yz(s,i,n,0,t,r)}return i}(e,r?-1:1,t,n),s=[];return vz(a,s,r,[],0,o,i),s}(e,[],t,!1,{},!0).map((function(e){return e.resource}))}function vz(e,t,n,r,o,i,a){for(var s=0;s<e.length;s+=1){var l=e[s],c=l.group;if(c)if(n){var u=t.length,d=r.length;if(vz(l.children,t,n,r.concat(0),o,i,a),u<t.length){var p=t[u];(p.rowSpans=p.rowSpans.slice())[d]=t.length-u}}else{var f=null!=i[h=c.spec.field+":"+c.value]?i[h]:a;t.push({id:h,group:c,isExpanded:f}),f&&vz(l.children,t,n,r,o+1,i,a)}else if(l.resource){var h;f=null!=i[h=l.resource.id]?i[h]:a;t.push({id:h,rowSpans:r,depth:o,isExpanded:f,hasChildren:Boolean(l.children.length),resource:l.resource,resourceFields:l.resourceFields}),f&&vz(l.children,t,n,r,o+1,i,a)}}}function yz(e,t,n,r,o,i){if(n.length&&(-1===o||r<=o)){var a=function(e,t,n){var r,o,i=e.resourceFields[n.field];if(n.order)for(o=0;o<t.length;o+=1){if((s=t[o]).group){var a=YA(i,s.group.value)*n.order;if(0===a){r=s;break}if(a<0)break}}else for(o=0;o<t.length;o+=1){var s;if((s=t[o]).group&&i===s.group.value){r=s;break}}r||(r={group:{value:i,spec:n},children:[]},t.splice(o,0,r));return r}(e,t,n[0]);yz(e,a.children,n.slice(1),r+1,o,i)}else Mz(e,t,i)}function Mz(e,t,n){var r;for(r=0;r<t.length;r+=1){if(XA(t[r].resourceFields,e.resourceFields,n)>0)break}t.splice(r,0,e)}function Oz(e){var t=gA(gA(gA({},e.extendedProps),e.ui),e);return delete t.ui,delete t.extendedProps,t}var _z=yy({deps:[D_],reducers:[function(e,t,n){var r=Z_(e&&e.resourceSource,t,n),o=Y_(e&&e.resourceStore,t,r,n),i=function(e,t){var n;return e&&t?"SET_RESOURCE_ENTITY_EXPANDED"===t.type?gA(gA({},e),((n={})[t.id]=t.isExpanded,n)):e:{}}(e&&e.resourceEntityExpansions,t);return{resourceSource:r,resourceStore:o,resourceEntityExpansions:i}}],isLoadingFuncs:[function(e){return e.resourceSource&&e.resourceSource.isFetching}],eventRefiners:G_,eventDefMemberAdders:[function(e){return{resourceIds:(t=e.resourceIds,(t||[]).map((function(e){return String(e)}))).concat(e.resourceId?[e.resourceId]:[]),resourceEditable:e.resourceEditable};var t}],isDraggableTransformers:[function(e,t,n,r){if(!e){var o=r.getCurrentData();if(o.viewSpecs[o.currentViewType].optionDefaults.needsResourceData&&N_(t,r))return!0}return e}],eventDragMutationMassagers:[function(e,t,n){var r=t.dateSpan.resourceId,o=n.dateSpan.resourceId;r&&o&&r!==o&&(e.resourceMutation={matchResourceId:r,setResourceId:o})}],eventDefMutationAppliers:[function(e,t,n){var r=t.resourceMutation;if(r&&N_(e,n)){var o=e.resourceIds.indexOf(r.matchResourceId);if(-1!==o){var i=e.resourceIds.slice();i.splice(o,1),-1===i.indexOf(r.setResourceId)&&i.push(r.setResourceId),e.resourceIds=i}}}],dateSelectionTransformers:[function(e,t){var n=e.dateSpan.resourceId,r=t.dateSpan.resourceId;return n&&r?{resourceId:n}:null}],datePointTransforms:[function(e,t){return e.resourceId?{resource:t.calendarApi.getResourceById(e.resourceId)}:{}}],dateSpanTransforms:[function(e,t){return e.resourceId?{resource:t.calendarApi.getResourceById(e.resourceId)}:{}}],viewPropsTransformers:[T_,B_],isPropsValid:function(e,t){var n=(new J_).splitProps(gA(gA({},e),{resourceStore:t.getCurrentData().resourceStore}));for(var r in n){var o=n[r];if(r&&n[""]&&(o=gA(gA({},o),{eventStore:Mg(n[""].eventStore,o.eventStore),eventUiBases:gA(gA({},n[""].eventUiBases),o.eventUiBases)})),!cO(o,t,{resourceId:r},ez.bind(null,r)))return!1}return!0},externalDefTransforms:[function(e){return e.resourceId?{resourceId:e.resourceId}:{}}],eventDropTransformers:[function(e,t){var n=e.resourceMutation;if(n){var r=t.calendarApi;return{oldResource:r.getResourceById(n.matchResourceId),newResource:r.getResourceById(n.setResourceId)}}return{oldResource:null,newResource:null}}],optionChangeHandlers:nz,optionRefiners:oz,listenerRefiners:iz,propSetHandlers:{resourceStore:function(e,t){var n=t.emitter;n.hasHandlers("resourcesSet")&&n.trigger("resourcesSet",function(e,t){var n=[];for(var r in e)n.push(new K_(t,e[r]));return n}(e,t))}}}),zz=_z,xz=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.headerElRef=OA(),t}return mA(t,e),t.prototype.renderSimpleLayout=function(e,t){var n=this.props,r=this.context,o=[],i=SO(r.options);return e&&o.push({type:"header",key:"header",isSticky:i,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),o.push({type:"body",key:"body",liquid:!0,chunk:{content:t}}),MA(Ny,{viewSpec:r.viewSpec},(function(e,t){return MA("div",{ref:e,className:["fc-daygrid"].concat(t).join(" ")},MA(kO,{liquid:!n.isHeightAuto&&!n.forPrint,collapsibleWidth:n.forPrint,cols:[],sections:o}))}))},t.prototype.renderHScrollLayout=function(e,t,n,r){var o=this.context.pluginHooks.scrollGridImpl;if(!o)throw new Error("No ScrollGrid implementation");var i=this.props,a=this.context,s=!i.forPrint&&SO(a.options),l=!i.forPrint&&EO(a.options),c=[];return e&&c.push({type:"header",key:"header",isSticky:s,chunks:[{key:"main",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),c.push({type:"body",key:"body",liquid:!0,chunks:[{key:"main",content:t}]}),l&&c.push({type:"footer",key:"footer",isSticky:!0,chunks:[{key:"main",content:CO}]}),MA(Ny,{viewSpec:a.viewSpec},(function(e,t){return MA("div",{ref:e,className:["fc-daygrid"].concat(t).join(" ")},MA(o,{liquid:!i.isHeightAuto&&!i.forPrint,collapsibleWidth:i.forPrint,colGroups:[{cols:[{span:n,minWidth:r}]}],sections:c}))}))},t}(vy);function wz(e,t){for(var n=[],r=0;r<t;r+=1)n[r]=[];for(var o=0,i=e;o<i.length;o++){var a=i[o];n[a.row].push(a)}return n}function Cz(e,t){for(var n=[],r=0;r<t;r+=1)n[r]=[];for(var o=0,i=e;o<i.length;o++){var a=i[o];n[a.firstCol].push(a)}return n}function Sz(e,t){var n=[];if(e){for(a=0;a<t;a+=1)n[a]={affectedInstances:e.affectedInstances,isEvent:e.isEvent,segs:[]};for(var r=0,o=e.segs;r<o.length;r++){var i=o[r];n[i.row].segs.push(i)}}else for(var a=0;a<t;a+=1)n[a]=null;return n}var Ez=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return mA(t,e),t.prototype.render=function(){var e=this.props,t=Xv(this.context,e.date);return MA(LO,{date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,showDayNumber:e.showDayNumber,extraHookProps:e.extraHookProps,defaultContent:kz},(function(n,r){return(r||e.forceDayTop)&&MA("div",{className:"fc-daygrid-day-top",ref:n},MA("a",gA({id:e.dayNumberId,className:"fc-daygrid-day-number"},t),r||MA(_A,null,"\xa0")))}))},t}(by);function kz(e){return e.dayNumberText}var Dz=sg({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"narrow"});function Nz(e){var t=e.eventRange.ui.display;return"list-item"===t||"auto"===t&&!e.eventRange.def.allDay&&e.firstCol===e.lastCol&&e.isStart&&e.isEnd}var Tz=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return mA(t,e),t.prototype.render=function(){var e=this.props;return MA(NO,gA({},e,{extraClassNames:["fc-daygrid-event","fc-daygrid-block-event","fc-h-event"],defaultTimeFormat:Dz,defaultDisplayEventEnd:e.defaultDisplayEventEnd,disableResizing:!e.seg.eventRange.def.allDay}))},t}(by),jz=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return mA(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options.eventTimeFormat||Dz,r=nv(e.seg,n,t,!0,e.defaultDisplayEventEnd);return MA(DO,{seg:e.seg,timeText:r,defaultContent:Bz,isDragging:e.isDragging,isResizing:!1,isDateSelecting:!1,isSelected:e.isSelected,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday},(function(n,r,o,i){return MA("a",gA({className:["fc-daygrid-event","fc-daygrid-dot-event"].concat(r).join(" "),ref:n},iv(e.seg,t)),i)}))},t}(by);function Bz(e){return MA(_A,null,MA("div",{className:"fc-daygrid-event-dot",style:{borderColor:e.borderColor||e.backgroundColor}}),e.timeText&&MA("div",{className:"fc-event-time"},e.timeText),MA("div",{className:"fc-event-title"},e.event.title||MA(_A,null,"\xa0")))}var Lz=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.compileSegs=Zm(Rz),t}return mA(t,e),t.prototype.render=function(){var e=this.props,t=this.compileSegs(e.singlePlacements),n=t.allSegs,r=t.invisibleSegs;return MA($O,{dateProfile:e.dateProfile,todayRange:e.todayRange,allDayDate:e.allDayDate,moreCnt:e.moreCnt,allSegs:n,hiddenSegs:r,alignmentElRef:e.alignmentElRef,alignGridTop:e.alignGridTop,extraDateSpan:e.extraDateSpan,popoverContent:function(){var t=(e.eventDrag?e.eventDrag.affectedInstances:null)||(e.eventResize?e.eventResize.affectedInstances:null)||{};return MA(_A,null,n.map((function(n){var r=n.eventRange.instance.instanceId;return MA("div",{className:"fc-daygrid-event-harness",key:r,style:{visibility:t[r]?"hidden":""}},Nz(n)?MA(jz,gA({seg:n,isDragging:!1,isSelected:r===e.eventSelection,defaultDisplayEventEnd:!1},rv(n,e.todayRange))):MA(Tz,gA({seg:n,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:r===e.eventSelection,defaultDisplayEventEnd:!1},rv(n,e.todayRange))))})))}},(function(e,t,n,r,o,i,a,s){return MA("a",gA({ref:e,className:["fc-daygrid-more-link"].concat(t).join(" "),title:i,"aria-expanded":a,"aria-controls":s},WA(o)),r)}))},t}(by);function Rz(e){for(var t=[],n=[],r=0,o=e;r<o.length;r++){var i=o[r];t.push(i.seg),i.isVisible||n.push(i.seg)}return{allSegs:t,invisibleSegs:n}}var qz=sg({week:"narrow"}),Pz=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=OA(),t.state={dayNumberId:RA()},t.handleRootEl=function(e){gy(t.rootElRef,e),gy(t.props.elRef,e)},t}return mA(t,e),t.prototype.render=function(){var e=this,t=e.context,n=e.props,r=e.state,o=e.rootElRef,i=n.date,a=n.dateProfile,s=Xv(t,i,"week");return MA(qO,{date:i,dateProfile:a,todayRange:n.todayRange,showDayNumber:n.showDayNumber,extraHookProps:n.extraHookProps,elRef:this.handleRootEl},(function(e,t,l,c){return MA("td",gA({ref:e,role:"gridcell",className:["fc-daygrid-day"].concat(t,n.extraClassNames||[]).join(" ")},l,n.extraDataAttrs,n.showDayNumber?{"aria-labelledby":r.dayNumberId}:{}),MA("div",{className:"fc-daygrid-day-frame fc-scrollgrid-sync-inner",ref:n.innerElRef},n.showWeekNumber&&MA(FO,{date:i,defaultFormat:qz},(function(e,t,n,r){return MA("a",gA({ref:e,className:["fc-daygrid-week-number"].concat(t).join(" ")},s),r)})),!c&&MA(Ez,{date:i,dateProfile:a,showDayNumber:n.showDayNumber,dayNumberId:r.dayNumberId,forceDayTop:n.forceDayTop,todayRange:n.todayRange,extraHookProps:n.extraHookProps}),MA("div",{className:"fc-daygrid-day-events",ref:n.fgContentElRef},n.fgContent,MA("div",{className:"fc-daygrid-day-bottom",style:{marginTop:n.moreMarginTop}},MA(Lz,{allDayDate:i,singlePlacements:n.singlePlacements,moreCnt:n.moreCnt,alignmentElRef:o,alignGridTop:!n.showDayNumber,extraDateSpan:n.extraDateSpan,dateProfile:n.dateProfile,eventSelection:n.eventSelection,eventDrag:n.eventDrag,eventResize:n.eventResize,todayRange:n.todayRange}))),MA("div",{className:"fc-daygrid-day-bg"},n.bgContent)))}))},t}(vy);function Iz(e,t,n,r,o,i,a){var s=new Fz;s.allowReslicing=!0,s.strictOrder=r,!0===t||!0===n?(s.maxCoord=i,s.hiddenConsumes=!0):"number"===typeof t?s.maxStackCnt=t:"number"===typeof n&&(s.maxStackCnt=n,s.hiddenConsumes=!0);for(var l=[],c=[],u=0;u<e.length;u+=1){var d=o[(x=e[u]).eventRange.instance.instanceId];null!=d?l.push({index:u,thickness:d,span:{start:x.firstCol,end:x.lastCol+1}}):c.push(x)}for(var p=s.addSegs(l),f=function(e,t,n){for(var r=function(e,t){for(var n=[],r=0;r<t;r+=1)n.push([]);for(var o=0,i=e;o<i.length;o++){var a=i[o];for(r=a.span.start;r<a.span.end;r+=1)n[r].push(a)}return n}(e,n.length),o=[],i=[],a=[],s=0;s<n.length;s+=1){for(var l=r[s],c=[],u=0,d=0,p=0,f=l;p<f.length;p++){var h=t[(g=f[p]).index];c.push({seg:Wz(h,s,s+1,n),isVisible:!0,isAbsolute:!1,absoluteTop:g.levelCoord,marginTop:g.levelCoord-u}),u=g.levelCoord+g.thickness}var b=[];u=0,d=0;for(var A=0,m=l;A<m.length;A++){h=t[(g=m[A]).index];var g,v=g.span.end-g.span.start>1,y=g.span.start===s;d+=g.levelCoord-u,u=g.levelCoord+g.thickness,v?(d+=g.thickness,y&&b.push({seg:Wz(h,g.span.start,g.span.end,n),isVisible:!0,isAbsolute:!0,absoluteTop:g.levelCoord,marginTop:0})):y&&(b.push({seg:Wz(h,g.span.start,g.span.end,n),isVisible:!0,isAbsolute:!1,absoluteTop:g.levelCoord,marginTop:d}),d=0)}o.push(c),i.push(b),a.push(d)}return{singleColPlacements:o,multiColPlacements:i,leftoverMargins:a}}(s.toRects(),e,a),h=f.singleColPlacements,b=f.multiColPlacements,A=f.leftoverMargins,m=[],g=[],v=0,y=c;v<y.length;v++){b[(x=y[v]).firstCol].push({seg:x,isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(var M=x.firstCol;M<=x.lastCol;M+=1)h[M].push({seg:Wz(x,M,M+1,a),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(M=0;M<a.length;M+=1)m.push(0);for(var O=0,_=p;O<_.length;O++){var z=_[O],x=e[z.index],w=z.span;b[w.start].push({seg:Wz(x,w.start,w.end,a),isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(M=w.start;M<w.end;M+=1)m[M]+=1,h[M].push({seg:Wz(x,M,M+1,a),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(M=0;M<a.length;M+=1)g.push(A[M]);return{singleColPlacements:h,multiColPlacements:b,moreCnts:m,moreMarginTops:g}}function Wz(e,t,n,r){if(e.firstCol===t&&e.lastCol===n-1)return e;var o=e.eventRange,i=o.range,a=Wg(i,{start:r[t].date,end:om(r[n-1].date,1)});return gA(gA({},e),{firstCol:t,lastCol:n-1,eventRange:{def:o.def,ui:gA(gA({},o.ui),{durationEditable:!1}),instance:o.instance,range:a},isStart:e.isStart&&a.start.valueOf()===i.start.valueOf(),isEnd:e.isEnd&&a.end.valueOf()===i.end.valueOf()})}var Fz=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.hiddenConsumes=!1,t.forceHidden={},t}return mA(t,e),t.prototype.addSegs=function(t){for(var n=this,r=e.prototype.addSegs.call(this,t),o=this.entriesByLevel,i=function(e){return!n.forceHidden[CM(e)]},a=0;a<o.length;a+=1)o[a]=o[a].filter(i);return r},t.prototype.handleInvalidInsertion=function(t,n,r){var o=this.entriesByLevel,i=this.forceHidden,a=t.touchingEntry,s=t.touchingLevel,l=t.touchingLateral;if(this.hiddenConsumes&&a){var c=CM(a);if(!i[c])if(this.allowReslicing){var u=gA(gA({},a),{span:SM(a.span,n.span)});i[CM(u)]=!0,o[s][l]=u,this.splitEntry(a,n,r)}else i[c]=!0,r.push(a)}return e.prototype.handleInvalidInsertion.call(this,t,n,r)},t}(xM),Uz=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.cellElRefs=new AO,t.frameElRefs=new AO,t.fgElRefs=new AO,t.segHarnessRefs=new AO,t.rootElRef=OA(),t.state={framePositions:null,maxContentHeight:null,eventInstanceHeights:{}},t}return mA(t,e),t.prototype.render=function(){var e=this,t=this,n=t.props,r=t.state,o=t.context.options,i=n.cells.length,a=Cz(n.businessHourSegs,i),s=Cz(n.bgEventSegs,i),l=Cz(this.getHighlightSegs(),i),c=Cz(this.getMirrorSegs(),i),u=Iz(Gg(n.fgEventSegs,o.eventOrder),n.dayMaxEvents,n.dayMaxEventRows,o.eventOrderStrict,r.eventInstanceHeights,r.maxContentHeight,n.cells),d=u.singleColPlacements,p=u.multiColPlacements,f=u.moreCnts,h=u.moreMarginTops,b=n.eventDrag&&n.eventDrag.affectedInstances||n.eventResize&&n.eventResize.affectedInstances||{};return MA("tr",{ref:this.rootElRef,role:"row"},n.renderIntro&&n.renderIntro(),n.cells.map((function(t,r){var o=e.renderFgSegs(r,n.forPrint?d[r]:p[r],n.todayRange,b),i=e.renderFgSegs(r,function(e,t){if(!e.length)return[];var n=function(e){for(var t={},n=0,r=e;n<r.length;n++)for(var o=0,i=r[n];o<i.length;o++){var a=i[o];t[a.seg.eventRange.instance.instanceId]=a.absoluteTop}return t}(t);return e.map((function(e){return{seg:e,isVisible:!0,isAbsolute:!0,absoluteTop:n[e.eventRange.instance.instanceId],marginTop:0}}))}(c[r],p),n.todayRange,{},Boolean(n.eventDrag),Boolean(n.eventResize),!1);return MA(Pz,{key:t.key,elRef:e.cellElRefs.createRef(t.key),innerElRef:e.frameElRefs.createRef(t.key),dateProfile:n.dateProfile,date:t.date,showDayNumber:n.showDayNumbers,showWeekNumber:n.showWeekNumbers&&0===r,forceDayTop:n.showWeekNumbers,todayRange:n.todayRange,eventSelection:n.eventSelection,eventDrag:n.eventDrag,eventResize:n.eventResize,extraHookProps:t.extraHookProps,extraDataAttrs:t.extraDataAttrs,extraClassNames:t.extraClassNames,extraDateSpan:t.extraDateSpan,moreCnt:f[r],moreMarginTop:h[r],singlePlacements:d[r],fgContentElRef:e.fgElRefs.createRef(t.key),fgContent:MA(_A,null,MA(_A,null,o),MA(_A,null,i)),bgContent:MA(_A,null,e.renderFillSegs(l[r],"highlight"),e.renderFillSegs(a[r],"non-business"),e.renderFillSegs(s[r],"bg-event"))})})))},t.prototype.componentDidMount=function(){this.updateSizing(!0)},t.prototype.componentDidUpdate=function(e,t){var n=this.props;this.updateSizing(!zm(e,n))},t.prototype.getHighlightSegs=function(){var e=this.props;return e.eventDrag&&e.eventDrag.segs.length?e.eventDrag.segs:e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:e.dateSelectionSegs},t.prototype.getMirrorSegs=function(){var e=this.props;return e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:[]},t.prototype.renderFgSegs=function(e,t,n,r,o,i,a){var s=this.context,l=this.props.eventSelection,c=this.state.framePositions,u=1===this.props.cells.length,d=o||i||a,p=[];if(c)for(var f=0,h=t;f<h.length;f++){var b=h[f],A=b.seg,m=A.eventRange.instance.instanceId,g=m+":"+e,v=b.isVisible&&!r[m],y=b.isAbsolute,M="",O="";y&&(s.isRtl?(O=0,M=c.lefts[A.lastCol]-c.lefts[A.firstCol]):(M=0,O=c.rights[A.firstCol]-c.rights[A.lastCol])),p.push(MA("div",{className:"fc-daygrid-event-harness"+(y?" fc-daygrid-event-harness-abs":""),key:g,ref:d?null:this.segHarnessRefs.createRef(g),style:{visibility:v?"":"hidden",marginTop:y?"":b.marginTop,top:y?b.absoluteTop:"",left:M,right:O}},Nz(A)?MA(jz,gA({seg:A,isDragging:o,isSelected:m===l,defaultDisplayEventEnd:u},rv(A,n))):MA(Tz,gA({seg:A,isDragging:o,isResizing:i,isDateSelecting:a,isSelected:m===l,defaultDisplayEventEnd:u},rv(A,n)))))}return p},t.prototype.renderFillSegs=function(e,t){var n=this.context.isRtl,r=this.props.todayRange,o=this.state.framePositions,i=[];if(o)for(var a=0,s=e;a<s.length;a++){var l=s[a],c=n?{right:0,left:o.lefts[l.lastCol]-o.lefts[l.firstCol]}:{left:0,right:o.rights[l.firstCol]-o.rights[l.lastCol]};i.push(MA("div",{key:ov(l.eventRange),className:"fc-daygrid-bg-harness",style:c},"bg-event"===t?MA(IO,gA({seg:l},rv(l,r))):PO(t)))}return MA.apply(void 0,vA([_A,{}],i))},t.prototype.updateSizing=function(e){var t=this.props,n=this.frameElRefs;if(!t.forPrint&&null!==t.clientWidth){if(e){var r=t.cells.map((function(e){return n.currentMap[e.key]}));if(r.length){var o=this.rootElRef.current;this.setState({framePositions:new ay(o,r,!0,!1)})}}var i=this.state.eventInstanceHeights,a=this.queryEventInstanceHeights(),s=!0===t.dayMaxEvents||!0===t.dayMaxEventRows;this.safeSetState({eventInstanceHeights:gA(gA({},i),a),maxContentHeight:s?this.computeMaxContentHeight():null})}},t.prototype.queryEventInstanceHeights=function(){var e=this.segHarnessRefs.currentMap,t={};for(var n in e){var r=Math.round(e[n].getBoundingClientRect().height),o=n.split(":")[0];t[o]=Math.max(t[o]||0,r)}return t},t.prototype.computeMaxContentHeight=function(){var e=this.props.cells[0].key,t=this.cellElRefs.currentMap[e],n=this.fgElRefs.currentMap[e];return t.getBoundingClientRect().bottom-n.getBoundingClientRect().top},t.prototype.getCellEls=function(){var e=this.cellElRefs.currentMap;return this.props.cells.map((function(t){return e[t.key]}))},t}(vy);Uz.addStateEquality({eventInstanceHeights:zm});var Zz=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.splitBusinessHourSegs=Zm(wz),t.splitBgEventSegs=Zm(wz),t.splitFgEventSegs=Zm(wz),t.splitDateSelectionSegs=Zm(wz),t.splitEventDrag=Zm(Sz),t.splitEventResize=Zm(Sz),t.rowRefs=new AO,t.handleRootEl=function(e){t.rootEl=e,e?t.context.registerInteractiveComponent(t,{el:e,isHitComboAllowed:t.props.isHitComboAllowed}):t.context.unregisterInteractiveComponent(t)},t}return mA(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.dateProfile,r=t.dayMaxEventRows,o=t.dayMaxEvents,i=t.expandRows,a=t.cells.length,s=this.splitBusinessHourSegs(t.businessHourSegs,a),l=this.splitBgEventSegs(t.bgEventSegs,a),c=this.splitFgEventSegs(t.fgEventSegs,a),u=this.splitDateSelectionSegs(t.dateSelectionSegs,a),d=this.splitEventDrag(t.eventDrag,a),p=this.splitEventResize(t.eventResize,a),f=!0===o||!0===r;return f&&!i&&(f=!1,r=null,o=null),MA("div",{className:["fc-daygrid-body",f?"fc-daygrid-body-balanced":"fc-daygrid-body-unbalanced",i?"":"fc-daygrid-body-natural"].join(" "),ref:this.handleRootEl,style:{width:t.clientWidth,minWidth:t.tableMinWidth}},MA(JM,{unit:"day"},(function(f,h){return MA(_A,null,MA("table",{role:"presentation",className:"fc-scrollgrid-sync-table",style:{width:t.clientWidth,minWidth:t.tableMinWidth,height:i?t.clientHeight:""}},t.colGroupNode,MA("tbody",{role:"presentation"},t.cells.map((function(i,f){return MA(Uz,{ref:e.rowRefs.createRef(f),key:i.length?i[0].date.toISOString():f,showDayNumbers:a>1,showWeekNumbers:t.showWeekNumbers,todayRange:h,dateProfile:n,cells:i,renderIntro:t.renderRowIntro,businessHourSegs:s[f],eventSelection:t.eventSelection,bgEventSegs:l[f].filter(Hz),fgEventSegs:c[f],dateSelectionSegs:u[f],eventDrag:d[f],eventResize:p[f],dayMaxEvents:o,dayMaxEventRows:r,clientWidth:t.clientWidth,clientHeight:t.clientHeight,forPrint:t.forPrint})})))))})))},t.prototype.prepareHits=function(){this.rowPositions=new ay(this.rootEl,this.rowRefs.collect().map((function(e){return e.getCellEls()[0]})),!1,!0),this.colPositions=new ay(this.rootEl,this.rowRefs.currentMap[0].getCellEls(),!0,!1)},t.prototype.queryHit=function(e,t){var n=this.colPositions,r=this.rowPositions,o=n.leftToIndex(e),i=r.topToIndex(t);if(null!=i&&null!=o){var a=this.props.cells[i][o];return{dateProfile:this.props.dateProfile,dateSpan:gA({range:this.getCellRange(i,o),allDay:!0},a.extraDateSpan),dayEl:this.getCellEl(i,o),rect:{left:n.lefts[o],right:n.rights[o],top:r.tops[i],bottom:r.bottoms[i]},layer:0}}return null},t.prototype.getCellEl=function(e,t){return this.rowRefs.currentMap[e].getCellEls()[t]},t.prototype.getCellRange=function(e,t){var n=this.props.cells[e][t].date;return{start:n,end:om(n,1)}},t}(vy);function Hz(e){return e.eventRange.def.allDay}var $z=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.forceDayIfListItem=!0,t}return mA(t,e),t.prototype.sliceRange=function(e,t){return t.sliceRange(e)},t}(iO),Vz=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.slicer=new $z,t.tableRef=OA(),t}return mA(t,e),t.prototype.render=function(){var e=this.props,t=this.context;return MA(Zz,gA({ref:this.tableRef},this.slicer.sliceProps(e,e.dateProfile,e.nextDayThreshold,t,e.dayTableModel),{dateProfile:e.dateProfile,cells:e.dayTableModel.cells,colGroupNode:e.colGroupNode,tableMinWidth:e.tableMinWidth,renderRowIntro:e.renderRowIntro,dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,showWeekNumbers:e.showWeekNumbers,expandRows:e.expandRows,headerAlignElRef:e.headerAlignElRef,clientWidth:e.clientWidth,clientHeight:e.clientHeight,forPrint:e.forPrint}))},t}(vy),Xz=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buildDayTableModel=Zm(Qz),t.headerRef=OA(),t.tableRef=OA(),t}return mA(t,e),t.prototype.render=function(){var e=this,t=this.context,n=t.options,r=t.dateProfileGenerator,o=this.props,i=this.buildDayTableModel(o.dateProfile,r),a=n.dayHeaders&&MA(tO,{ref:this.headerRef,dateProfile:o.dateProfile,dates:i.headerDates,datesRepDistinctDays:1===i.rowCnt}),s=function(t){return MA(Vz,{ref:e.tableRef,dateProfile:o.dateProfile,dayTableModel:i,businessHours:o.businessHours,dateSelection:o.dateSelection,eventStore:o.eventStore,eventUiBases:o.eventUiBases,eventSelection:o.eventSelection,eventDrag:o.eventDrag,eventResize:o.eventResize,nextDayThreshold:n.nextDayThreshold,colGroupNode:t.tableColGroupNode,tableMinWidth:t.tableMinWidth,dayMaxEvents:n.dayMaxEvents,dayMaxEventRows:n.dayMaxEventRows,showWeekNumbers:n.weekNumbers,expandRows:!o.isHeightAuto,headerAlignElRef:e.headerElRef,clientWidth:t.clientWidth,clientHeight:t.clientHeight,forPrint:o.forPrint})};return n.dayMinWidth?this.renderHScrollLayout(a,s,i.colCnt,n.dayMinWidth):this.renderSimpleLayout(a,s)},t}(xz);function Qz(e,t){var n=new rO(e.renderRange,t);return new oO(n,/year|month|week/.test(e.currentRangeUnit))}var Yz=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return mA(t,e),t.prototype.buildRenderRange=function(t,n,r){var o,i=this.props.dateEnv,a=e.prototype.buildRenderRange.call(this,t,n,r),s=a.start,l=a.end;(/^(year|month)$/.test(n)&&(s=i.startOfWeek(s),(o=i.startOfWeek(l)).valueOf()!==l.valueOf()&&(l=rm(o,1))),this.props.monthMode&&this.props.fixedWeekCount)&&(l=rm(l,6-Math.ceil(am(s,l)/7)));return{start:s,end:l}},t}(Ry),Gz=yy({initialView:"dayGridMonth",views:{dayGrid:{component:Xz,dateProfileGeneratorClass:Yz},dayGridDay:{type:"dayGrid",duration:{days:1}},dayGridWeek:{type:"dayGrid",duration:{weeks:1}},dayGridMonth:{type:"dayGrid",duration:{months:1},monthMode:!0,fixedWeekCount:!0}}}),Kz=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return mA(t,e),t.prototype.getKeyInfo=function(){return{allDay:{},timed:{}}},t.prototype.getKeysForDateSpan=function(e){return e.allDay?["allDay"]:["timed"]},t.prototype.getKeysForEventDef=function(e){return e.allDay?"background"===(t=e).ui.display||"inverse-background"===t.ui.display?["timed","allDay"]:["allDay"]:["timed"];var t},t}(Fv),Jz=sg({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"short"});function ex(e){var t=["fc-timegrid-slot","fc-timegrid-slot-label",e.isLabeled?"fc-scrollgrid-shrink":"fc-timegrid-slot-minor"];return MA(py.Consumer,null,(function(n){if(!e.isLabeled)return MA("td",{className:t.join(" "),"data-time":e.isoTimeStr});var r=n.dateEnv,o=n.options,i=n.viewApi,a=null==o.slotLabelFormat?Jz:Array.isArray(o.slotLabelFormat)?sg(o.slotLabelFormat[0]):sg(o.slotLabelFormat),s={level:0,time:e.time,date:r.toDate(e.date),view:i,text:r.format(e.date,a)};return MA(zy,{hookProps:s,classNames:o.slotLabelClassNames,content:o.slotLabelContent,defaultContent:tx,didMount:o.slotLabelDidMount,willUnmount:o.slotLabelWillUnmount},(function(n,r,o,i){return MA("td",{ref:n,className:t.concat(r).join(" "),"data-time":e.isoTimeStr},MA("div",{className:"fc-timegrid-slot-label-frame fc-scrollgrid-shrink-frame"},MA("div",{className:"fc-timegrid-slot-label-cushion fc-scrollgrid-shrink-cushion",ref:o},i)))}))}))}function tx(e){return e.text}var nx=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return mA(t,e),t.prototype.render=function(){return this.props.slatMetas.map((function(e){return MA("tr",{key:e.key},MA(ex,gA({},e)))}))},t}(by),rx=sg({week:"short"}),ox=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.allDaySplitter=new Kz,t.headerElRef=OA(),t.rootElRef=OA(),t.scrollerElRef=OA(),t.state={slatCoords:null},t.handleScrollTopRequest=function(e){var n=t.scrollerElRef.current;n&&(n.scrollTop=e)},t.renderHeadAxis=function(e,n){void 0===n&&(n="");var r=t.context.options,o=t.props.dateProfile.renderRange,i=1===am(o.start,o.end)?Xv(t.context,o.start,"week"):{};return r.weekNumbers&&"day"===e?MA(FO,{date:o.start,defaultFormat:rx},(function(e,t,r,o){return MA("th",{ref:e,"aria-hidden":!0,className:["fc-timegrid-axis","fc-scrollgrid-shrink"].concat(t).join(" ")},MA("div",{className:"fc-timegrid-axis-frame fc-scrollgrid-shrink-frame fc-timegrid-axis-frame-liquid",style:{height:n}},MA("a",gA({ref:r,className:"fc-timegrid-axis-cushion fc-scrollgrid-shrink-cushion fc-scrollgrid-sync-inner"},i),o)))})):MA("th",{"aria-hidden":!0,className:"fc-timegrid-axis"},MA("div",{className:"fc-timegrid-axis-frame",style:{height:n}}))},t.renderTableRowAxis=function(e){var n=t.context,r=n.options,o=n.viewApi,i={text:r.allDayText,view:o};return MA(zy,{hookProps:i,classNames:r.allDayClassNames,content:r.allDayContent,defaultContent:ix,didMount:r.allDayDidMount,willUnmount:r.allDayWillUnmount},(function(t,n,r,o){return MA("td",{ref:t,"aria-hidden":!0,className:["fc-timegrid-axis","fc-scrollgrid-shrink"].concat(n).join(" ")},MA("div",{className:"fc-timegrid-axis-frame fc-scrollgrid-shrink-frame"+(null==e?" fc-timegrid-axis-frame-liquid":""),style:{height:e}},MA("span",{className:"fc-timegrid-axis-cushion fc-scrollgrid-shrink-cushion fc-scrollgrid-sync-inner",ref:r},o)))}))},t.handleSlatCoords=function(e){t.setState({slatCoords:e})},t}return mA(t,e),t.prototype.renderSimpleLayout=function(e,t,n){var r=this.context,o=this.props,i=[],a=SO(r.options);return e&&i.push({type:"header",key:"header",isSticky:a,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),t&&(i.push({type:"body",key:"all-day",chunk:{content:t}}),i.push({type:"body",key:"all-day-divider",outerContent:MA("tr",{role:"presentation",className:"fc-scrollgrid-section"},MA("td",{className:"fc-timegrid-divider "+r.theme.getClass("tableCellShaded")}))})),i.push({type:"body",key:"body",liquid:!0,expandRows:Boolean(r.options.expandRows),chunk:{scrollerElRef:this.scrollerElRef,content:n}}),MA(Ny,{viewSpec:r.viewSpec,elRef:this.rootElRef},(function(e,t){return MA("div",{className:["fc-timegrid"].concat(t).join(" "),ref:e},MA(kO,{liquid:!o.isHeightAuto&&!o.forPrint,collapsibleWidth:o.forPrint,cols:[{width:"shrink"}],sections:i}))}))},t.prototype.renderHScrollLayout=function(e,t,n,r,o,i,a){var s=this,l=this.context.pluginHooks.scrollGridImpl;if(!l)throw new Error("No ScrollGrid implementation");var c=this.context,u=this.props,d=!u.forPrint&&SO(c.options),p=!u.forPrint&&EO(c.options),f=[];e&&f.push({type:"header",key:"header",isSticky:d,syncRowHeights:!0,chunks:[{key:"axis",rowContent:function(e){return MA("tr",{role:"presentation"},s.renderHeadAxis("day",e.rowSyncHeights[0]))}},{key:"cols",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),t&&(f.push({type:"body",key:"all-day",syncRowHeights:!0,chunks:[{key:"axis",rowContent:function(e){return MA("tr",{role:"presentation"},s.renderTableRowAxis(e.rowSyncHeights[0]))}},{key:"cols",content:t}]}),f.push({key:"all-day-divider",type:"body",outerContent:MA("tr",{role:"presentation",className:"fc-scrollgrid-section"},MA("td",{colSpan:2,className:"fc-timegrid-divider "+c.theme.getClass("tableCellShaded")}))}));var h=c.options.nowIndicator;return f.push({type:"body",key:"body",liquid:!0,expandRows:Boolean(c.options.expandRows),chunks:[{key:"axis",content:function(e){return MA("div",{className:"fc-timegrid-axis-chunk"},MA("table",{"aria-hidden":!0,style:{height:e.expandRows?e.clientHeight:""}},e.tableColGroupNode,MA("tbody",null,MA(nx,{slatMetas:i}))),MA("div",{className:"fc-timegrid-now-indicator-container"},MA(JM,{unit:h?"minute":"day"},(function(e){var t=h&&a&&a.safeComputeTop(e);return"number"===typeof t?MA(jO,{isAxis:!0,date:e},(function(e,n,r,o){return MA("div",{ref:e,className:["fc-timegrid-now-indicator-arrow"].concat(n).join(" "),style:{top:t}},o)})):null}))))}},{key:"cols",scrollerElRef:this.scrollerElRef,content:n}]}),p&&f.push({key:"footer",type:"footer",isSticky:!0,chunks:[{key:"axis",content:CO},{key:"cols",content:CO}]}),MA(Ny,{viewSpec:c.viewSpec,elRef:this.rootElRef},(function(e,t){return MA("div",{className:["fc-timegrid"].concat(t).join(" "),ref:e},MA(l,{liquid:!u.isHeightAuto&&!u.forPrint,collapsibleWidth:!1,colGroups:[{width:"shrink",cols:[{width:"shrink"}]},{cols:[{span:r,minWidth:o}]}],sections:f}))}))},t.prototype.getAllDayMaxEventProps=function(){var e=this.context.options,t=e.dayMaxEvents,n=e.dayMaxEventRows;return!0!==t&&!0!==n||(t=void 0,n=5),{dayMaxEvents:t,dayMaxEventRows:n}},t}(vy);function ix(e){return e.text}var ax=function(){function e(e,t,n){this.positions=e,this.dateProfile=t,this.slotDuration=n}return e.prototype.safeComputeTop=function(e){var t=this.dateProfile;if(Hg(t.currentRange,e)){var n=lm(e),r=e.valueOf()-n.valueOf();if(r>=Rm(t.slotMinTime)&&r<Rm(t.slotMaxTime))return this.computeTimeTop(Tm(r))}return null},e.prototype.computeDateTop=function(e,t){return t||(t=lm(e)),this.computeTimeTop(Tm(e.valueOf()-t.valueOf()))},e.prototype.computeTimeTop=function(e){var t,n,r=this.positions,o=this.dateProfile,i=r.els.length,a=(e.milliseconds-Rm(o.slotMinTime))/Rm(this.slotDuration);return a=Math.max(0,a),a=Math.min(i,a),t=Math.floor(a),n=a-(t=Math.min(t,i-1)),r.tops[t]+r.getHeight(t)*n},e}(),sx=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return mA(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r=e.slatElRefs;return MA("tbody",null,e.slatMetas.map((function(o,i){var a={time:o.time,date:t.dateEnv.toDate(o.date),view:t.viewApi},s=["fc-timegrid-slot","fc-timegrid-slot-lane",o.isLabeled?"":"fc-timegrid-slot-minor"];return MA("tr",{key:o.key,ref:r.createRef(o.key)},e.axis&&MA(ex,gA({},o)),MA(zy,{hookProps:a,classNames:n.slotLaneClassNames,content:n.slotLaneContent,didMount:n.slotLaneDidMount,willUnmount:n.slotLaneWillUnmount},(function(e,t,n,r){return MA("td",{ref:e,className:s.concat(t).join(" "),"data-time":o.isoTimeStr},r)})))})))},t}(by),lx=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=OA(),t.slatElRefs=new AO,t}return mA(t,e),t.prototype.render=function(){var e=this.props,t=this.context;return MA("div",{ref:this.rootElRef,className:"fc-timegrid-slots"},MA("table",{"aria-hidden":!0,className:t.theme.getClass("table"),style:{minWidth:e.tableMinWidth,width:e.clientWidth,height:e.minHeight}},e.tableColGroupNode,MA(sx,{slatElRefs:this.slatElRefs,axis:e.axis,slatMetas:e.slatMetas})))},t.prototype.componentDidMount=function(){this.updateSizing()},t.prototype.componentDidUpdate=function(){this.updateSizing()},t.prototype.componentWillUnmount=function(){this.props.onCoords&&this.props.onCoords(null)},t.prototype.updateSizing=function(){var e,t=this.context,n=this.props;n.onCoords&&null!==n.clientWidth&&(this.rootElRef.current.offsetHeight&&n.onCoords(new ax(new ay(this.rootElRef.current,(e=this.slatElRefs.currentMap,n.slatMetas.map((function(t){return e[t.key]}))),!1,!0),this.props.dateProfile,t.options.slotDuration)))},t}(by);function cx(e,t){var n,r=[];for(n=0;n<t;n+=1)r.push([]);if(e)for(n=0;n<e.length;n+=1)r[e[n].col].push(e[n]);return r}function ux(e,t){var n=[];if(e){for(a=0;a<t;a+=1)n[a]={affectedInstances:e.affectedInstances,isEvent:e.isEvent,segs:[]};for(var r=0,o=e.segs;r<o.length;r++){var i=o[r];n[i.col].segs.push(i)}}else for(var a=0;a<t;a+=1)n[a]=null;return n}var dx=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=OA(),t}return mA(t,e),t.prototype.render=function(){var e=this,t=this.props;return MA($O,{allDayDate:null,moreCnt:t.hiddenSegs.length,allSegs:t.hiddenSegs,hiddenSegs:t.hiddenSegs,alignmentElRef:this.rootElRef,defaultContent:px,extraDateSpan:t.extraDateSpan,dateProfile:t.dateProfile,todayRange:t.todayRange,popoverContent:function(){return _x(t.hiddenSegs,t)}},(function(n,r,o,i,a,s,l,c){return MA("a",{ref:function(t){gy(n,t),gy(e.rootElRef,t)},className:["fc-timegrid-more-link"].concat(r).join(" "),style:{top:t.top,bottom:t.bottom},onClick:a,title:s,"aria-expanded":l,"aria-controls":c},MA("div",{ref:o,className:"fc-timegrid-more-link-inner fc-sticky"},i))}))},t}(by);function px(e){return e.shortText}function fx(e,t,n){var r=new xM;null!=t&&(r.strictOrder=t),null!=n&&(r.maxStackCnt=n);var o=function(e){for(var t,n,r=[],o=0,i=e;o<i.length;o++){for(var a=i[o],s=[],l={span:a.span,entries:[a]},c=0,u=r;c<u.length;c++){var d=u[c];SM(d.span,l.span)?l={entries:d.entries.concat(l.entries),span:(t=d.span,n=l.span,{start:Math.min(t.start,n.start),end:Math.max(t.end,n.end)})}:s.push(d)}s.push(l),r=s}return r}(r.addSegs(e)),i=function(e){var t=e.entriesByLevel,n=mx((function(e,t){return e+":"+t}),(function(r,o){var i=function(e,t,n){for(var r=e.levelCoords,o=e.entriesByLevel,i=o[t][n],a=r[t]+i.thickness,s=r.length,l=t;l<s&&r[l]<a;l+=1);for(;l<s;l+=1){for(var c=o[l],u=void 0,d=kM(c,i.span.start,wM),p=d[0]+d[1],f=p;(u=c[f])&&u.span.start<i.span.end;)f+=1;if(p<f)return{level:l,lateralStart:p,lateralEnd:f}}return null}(e,r,o),a=hx(i,n),s=t[r][o];return[gA(gA({},s),{nextLevelNodes:a[0]}),s.thickness+a[1]]}));return hx(t.length?{level:0,lateralStart:0,lateralEnd:t[0].length}:null,n)[0]}(r);return{segRects:function(e){var t=[],n=mx((function(e,t,n){return CM(e)}),(function(e,n,o){var i=gA(gA({},e),{levelCoord:n,stackDepth:o,stackForward:0});return t.push(i),i.stackForward=r(e.nextLevelNodes,n+e.thickness,o+1)+1}));function r(e,t,r){for(var o=0,i=0,a=e;i<a.length;i++){var s=a[i];o=Math.max(n(s,t,r),o)}return o}return r(e,0,0),t}(i=function(e,t){var n=mx((function(e,t,n){return CM(e)}),(function(e,r,o){var i,a=e.nextLevelNodes,s=e.thickness,l=s+o,c=s/l,u=[];if(a.length)for(var d=0,p=a;d<p.length;d++){var f=p[d];if(void 0===i){i=(h=n(f,r,l))[0],u.push(h[1])}else{var h=n(f,i,0);u.push(h[1])}}else i=t;var b=(i-r)*c;return[i-b,gA(gA({},e),{thickness:b,nextLevelNodes:u})]}));return e.map((function(e){return n(e,0,0)[1]}))}(i,1)),hiddenGroups:o}}function hx(e,t){if(!e)return[[],0];for(var n=e.level,r=e.lateralStart,o=e.lateralEnd,i=r,a=[];i<o;)a.push(t(n,i)),i+=1;return a.sort(bx),[a.map(Ax),a[0][1]]}function bx(e,t){return t[1]-e[1]}function Ax(e){return e[0]}function mx(e,t){var n={};return function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var i=e.apply(void 0,r);return i in n?n[i]:n[i]=t.apply(void 0,r)}}function gx(e,t,n,r){void 0===n&&(n=null),void 0===r&&(r=0);var o=[];if(n)for(var i=0;i<e.length;i+=1){var a=e[i],s=n.computeDateTop(a.start,t),l=Math.max(s+(r||0),n.computeDateTop(a.end,t));o.push({start:Math.round(s),end:Math.round(l)})}return o}var vx=sg({hour:"numeric",minute:"2-digit",meridiem:!1}),yx=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return mA(t,e),t.prototype.render=function(){var e=["fc-timegrid-event","fc-v-event"];return this.props.isShort&&e.push("fc-timegrid-event-short"),MA(NO,gA({},this.props,{defaultTimeFormat:vx,extraClassNames:e}))},t}(by),Mx=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return mA(t,e),t.prototype.render=function(){var e=this.props;return MA(LO,{date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,extraHookProps:e.extraHookProps},(function(e,t){return t&&MA("div",{className:"fc-timegrid-col-misc",ref:e},t)}))},t}(by),Ox=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.sortEventSegs=Zm(Gg),t}return mA(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,r=n.options.selectMirror,o=t.eventDrag&&t.eventDrag.segs||t.eventResize&&t.eventResize.segs||r&&t.dateSelectionSegs||[],i=t.eventDrag&&t.eventDrag.affectedInstances||t.eventResize&&t.eventResize.affectedInstances||{},a=this.sortEventSegs(t.fgEventSegs,n.options.eventOrder);return MA(qO,{elRef:t.elRef,date:t.date,dateProfile:t.dateProfile,todayRange:t.todayRange,extraHookProps:t.extraHookProps},(function(n,s,l){return MA("td",gA({ref:n,role:"gridcell",className:["fc-timegrid-col"].concat(s,t.extraClassNames||[]).join(" ")},l,t.extraDataAttrs),MA("div",{className:"fc-timegrid-col-frame"},MA("div",{className:"fc-timegrid-col-bg"},e.renderFillSegs(t.businessHourSegs,"non-business"),e.renderFillSegs(t.bgEventSegs,"bg-event"),e.renderFillSegs(t.dateSelectionSegs,"highlight")),MA("div",{className:"fc-timegrid-col-events"},e.renderFgSegs(a,i,!1,!1,!1)),MA("div",{className:"fc-timegrid-col-events"},e.renderFgSegs(o,{},Boolean(t.eventDrag),Boolean(t.eventResize),Boolean(r))),MA("div",{className:"fc-timegrid-now-indicator-container"},e.renderNowIndicator(t.nowIndicatorSegs)),MA(Mx,{date:t.date,dateProfile:t.dateProfile,todayRange:t.todayRange,extraHookProps:t.extraHookProps})))}))},t.prototype.renderFgSegs=function(e,t,n,r,o){var i=this.props;return i.forPrint?_x(e,i):this.renderPositionedFgSegs(e,t,n,r,o)},t.prototype.renderPositionedFgSegs=function(e,t,n,r,o){var i=this,a=this.context.options,s=a.eventMaxStack,l=a.eventShortHeight,c=a.eventOrderStrict,u=a.eventMinHeight,d=this.props,p=d.date,f=d.slatCoords,h=d.eventSelection,b=d.todayRange,A=d.nowDate,m=n||r||o,g=function(e,t,n,r){for(var o=[],i=[],a=0;a<e.length;a+=1){var s=t[a];s?o.push({index:a,thickness:1,span:s}):i.push(e[a])}for(var l=fx(o,n,r),c=l.segRects,u=l.hiddenGroups,d=[],p=0,f=c;p<f.length;p++){var h=f[p];d.push({seg:e[h.index],rect:h})}for(var b=0,A=i;b<A.length;b++){var m=A[b];d.push({seg:m,rect:null})}return{segPlacements:d,hiddenGroups:u}}(e,gx(e,p,f,u),c,s),v=g.segPlacements,y=g.hiddenGroups;return MA(_A,null,this.renderHiddenGroups(y,e),v.map((function(e){var a=e.seg,s=e.rect,c=a.eventRange.instance.instanceId,u=m||Boolean(!t[c]&&s),d=zx(s&&s.span),p=!m&&s?i.computeSegHStyle(s):{left:0,right:0},f=Boolean(s)&&s.stackForward>0,g=Boolean(s)&&s.span.end-s.span.start<l;return MA("div",{className:"fc-timegrid-event-harness"+(f?" fc-timegrid-event-harness-inset":""),key:c,style:gA(gA({visibility:u?"":"hidden"},d),p)},MA(yx,gA({seg:a,isDragging:n,isResizing:r,isDateSelecting:o,isSelected:c===h,isShort:g},rv(a,b,A))))})))},t.prototype.renderHiddenGroups=function(e,t){var n=this.props,r=n.extraDateSpan,o=n.dateProfile,i=n.todayRange,a=n.nowDate,s=n.eventSelection,l=n.eventDrag,c=n.eventResize;return MA(_A,null,e.map((function(e){var n,u,d=zx(e.span),p=(n=e.entries,u=t,n.map((function(e){return u[e.index]})));return MA(dx,{key:Im(QO(p)),hiddenSegs:p,top:d.top,bottom:d.bottom,extraDateSpan:r,dateProfile:o,todayRange:i,nowDate:a,eventSelection:s,eventDrag:l,eventResize:c})})))},t.prototype.renderFillSegs=function(e,t){var n=this.props,r=this.context,o=gx(e,n.date,n.slatCoords,r.options.eventMinHeight).map((function(r,o){var i=e[o];return MA("div",{key:ov(i.eventRange),className:"fc-timegrid-bg-harness",style:zx(r)},"bg-event"===t?MA(IO,gA({seg:i},rv(i,n.todayRange,n.nowDate))):PO(t))}));return MA(_A,null,o)},t.prototype.renderNowIndicator=function(e){var t=this.props,n=t.slatCoords,r=t.date;return n?e.map((function(e,t){return MA(jO,{isAxis:!1,date:r,key:t},(function(t,o,i,a){return MA("div",{ref:t,className:["fc-timegrid-now-indicator-line"].concat(o).join(" "),style:{top:n.computeDateTop(e.start,r)}},a)}))})):null},t.prototype.computeSegHStyle=function(e){var t,n,r=this.context,o=r.isRtl,i=r.options.slotEventOverlap,a=e.levelCoord,s=e.levelCoord+e.thickness;i&&(s=Math.min(1,a+2*(s-a))),o?(t=1-s,n=a):(t=a,n=1-s);var l={zIndex:e.stackDepth+1,left:100*t+"%",right:100*n+"%"};return i&&!e.stackForward&&(l[o?"marginLeft":"marginRight"]=20),l},t}(by);function _x(e,t){var n=t.todayRange,r=t.nowDate,o=t.eventSelection,i=t.eventDrag,a=t.eventResize,s=(i?i.affectedInstances:null)||(a?a.affectedInstances:null)||{};return MA(_A,null,e.map((function(e){var t=e.eventRange.instance.instanceId;return MA("div",{key:t,style:{visibility:s[t]?"hidden":""}},MA(yx,gA({seg:e,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:t===o,isShort:!1},rv(e,n,r))))})))}function zx(e){return e?{top:e.start,bottom:-e.end}:{top:"",bottom:""}}var xx=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.splitFgEventSegs=Zm(cx),t.splitBgEventSegs=Zm(cx),t.splitBusinessHourSegs=Zm(cx),t.splitNowIndicatorSegs=Zm(cx),t.splitDateSelectionSegs=Zm(cx),t.splitEventDrag=Zm(ux),t.splitEventResize=Zm(ux),t.rootElRef=OA(),t.cellElRefs=new AO,t}return mA(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context.options.nowIndicator&&t.slatCoords&&t.slatCoords.safeComputeTop(t.nowDate),r=t.cells.length,o=this.splitFgEventSegs(t.fgEventSegs,r),i=this.splitBgEventSegs(t.bgEventSegs,r),a=this.splitBusinessHourSegs(t.businessHourSegs,r),s=this.splitNowIndicatorSegs(t.nowIndicatorSegs,r),l=this.splitDateSelectionSegs(t.dateSelectionSegs,r),c=this.splitEventDrag(t.eventDrag,r),u=this.splitEventResize(t.eventResize,r);return MA("div",{className:"fc-timegrid-cols",ref:this.rootElRef},MA("table",{role:"presentation",style:{minWidth:t.tableMinWidth,width:t.clientWidth}},t.tableColGroupNode,MA("tbody",{role:"presentation"},MA("tr",{role:"row"},t.axis&&MA("td",{"aria-hidden":!0,className:"fc-timegrid-col fc-timegrid-axis"},MA("div",{className:"fc-timegrid-col-frame"},MA("div",{className:"fc-timegrid-now-indicator-container"},"number"===typeof n&&MA(jO,{isAxis:!0,date:t.nowDate},(function(e,t,r,o){return MA("div",{ref:e,className:["fc-timegrid-now-indicator-arrow"].concat(t).join(" "),style:{top:n}},o)}))))),t.cells.map((function(n,r){return MA(Ox,{key:n.key,elRef:e.cellElRefs.createRef(n.key),dateProfile:t.dateProfile,date:n.date,nowDate:t.nowDate,todayRange:t.todayRange,extraHookProps:n.extraHookProps,extraDataAttrs:n.extraDataAttrs,extraClassNames:n.extraClassNames,extraDateSpan:n.extraDateSpan,fgEventSegs:o[r],bgEventSegs:i[r],businessHourSegs:a[r],nowIndicatorSegs:s[r],dateSelectionSegs:l[r],eventDrag:c[r],eventResize:u[r],slatCoords:t.slatCoords,eventSelection:t.eventSelection,forPrint:t.forPrint})}))))))},t.prototype.componentDidMount=function(){this.updateCoords()},t.prototype.componentDidUpdate=function(){this.updateCoords()},t.prototype.updateCoords=function(){var e,t=this.props;t.onColCoords&&null!==t.clientWidth&&t.onColCoords(new ay(this.rootElRef.current,(e=this.cellElRefs.currentMap,t.cells.map((function(t){return e[t.key]}))),!0,!1))},t}(by);var wx=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.processSlotOptions=Zm(Cx),t.state={slatCoords:null},t.handleRootEl=function(e){e?t.context.registerInteractiveComponent(t,{el:e,isHitComboAllowed:t.props.isHitComboAllowed}):t.context.unregisterInteractiveComponent(t)},t.handleScrollRequest=function(e){var n=t.props.onScrollTopRequest,r=t.state.slatCoords;if(n&&r){if(e.time){var o=r.computeTimeTop(e.time);(o=Math.ceil(o))&&(o+=1),n(o)}return!0}return!1},t.handleColCoords=function(e){t.colCoords=e},t.handleSlatCoords=function(e){t.setState({slatCoords:e}),t.props.onSlatCoords&&t.props.onSlatCoords(e)},t}return mA(t,e),t.prototype.render=function(){var e=this.props,t=this.state;return MA("div",{className:"fc-timegrid-body",ref:this.handleRootEl,style:{width:e.clientWidth,minWidth:e.tableMinWidth}},MA(lx,{axis:e.axis,dateProfile:e.dateProfile,slatMetas:e.slatMetas,clientWidth:e.clientWidth,minHeight:e.expandRows?e.clientHeight:"",tableMinWidth:e.tableMinWidth,tableColGroupNode:e.axis?e.tableColGroupNode:null,onCoords:this.handleSlatCoords}),MA(xx,{cells:e.cells,axis:e.axis,dateProfile:e.dateProfile,businessHourSegs:e.businessHourSegs,bgEventSegs:e.bgEventSegs,fgEventSegs:e.fgEventSegs,dateSelectionSegs:e.dateSelectionSegs,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,todayRange:e.todayRange,nowDate:e.nowDate,nowIndicatorSegs:e.nowIndicatorSegs,clientWidth:e.clientWidth,tableMinWidth:e.tableMinWidth,tableColGroupNode:e.tableColGroupNode,slatCoords:t.slatCoords,onColCoords:this.handleColCoords,forPrint:e.forPrint}))},t.prototype.componentDidMount=function(){this.scrollResponder=this.context.createScrollResponder(this.handleScrollRequest)},t.prototype.componentDidUpdate=function(e){this.scrollResponder.update(e.dateProfile!==this.props.dateProfile)},t.prototype.componentWillUnmount=function(){this.scrollResponder.detach()},t.prototype.queryHit=function(e,t){var n,r,o=this.context,i=o.dateEnv,a=o.options,s=this.colCoords,l=this.props.dateProfile,c=this.state.slatCoords,u=this.processSlotOptions(this.props.slotDuration,a.snapDuration),d=u.snapDuration,p=u.snapsPerSlot,f=s.leftToIndex(e),h=c.positions.topToIndex(t);if(null!=f&&null!=h){var b=this.props.cells[f],A=c.positions.tops[h],m=c.positions.getHeight(h),g=(t-A)/m,v=h*p+Math.floor(g*p),y=this.props.cells[f].date,M=Bm(l.slotMinTime,(r=v,{years:(n=d).years*r,months:n.months*r,days:n.days*r,milliseconds:n.milliseconds*r})),O=i.add(y,M),_=i.add(O,d);return{dateProfile:l,dateSpan:gA({range:{start:O,end:_},allDay:!1},b.extraDateSpan),dayEl:s.els[f],rect:{left:s.lefts[f],right:s.rights[f],top:A,bottom:A+m},layer:0}}return null},t}(vy);function Cx(e,t){var n=t||e,r=qm(e,n);return null===r&&(n=e,r=1),{snapDuration:n,snapsPerSlot:r}}var Sx=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return mA(t,e),t.prototype.sliceRange=function(e,t){for(var n=[],r=0;r<t.length;r+=1){var o=Wg(e,t[r]);o&&n.push({start:o.start,end:o.end,isStart:o.start.valueOf()===e.start.valueOf(),isEnd:o.end.valueOf()===e.end.valueOf(),col:r})}return n},t}(iO),Ex=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buildDayRanges=Zm(kx),t.slicer=new Sx,t.timeColsRef=OA(),t}return mA(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,r=t.dateProfile,o=t.dayTableModel,i=n.options.nowIndicator,a=this.buildDayRanges(o,r,n.dateEnv);return MA(JM,{unit:i?"minute":"day"},(function(s,l){return MA(wx,gA({ref:e.timeColsRef},e.slicer.sliceProps(t,r,null,n,a),{forPrint:t.forPrint,axis:t.axis,dateProfile:r,slatMetas:t.slatMetas,slotDuration:t.slotDuration,cells:o.cells[0],tableColGroupNode:t.tableColGroupNode,tableMinWidth:t.tableMinWidth,clientWidth:t.clientWidth,clientHeight:t.clientHeight,expandRows:t.expandRows,nowDate:s,nowIndicatorSegs:i&&e.slicer.sliceNowDate(s,n,a),todayRange:l,onScrollTopRequest:t.onScrollTopRequest,onSlatCoords:t.onSlatCoords}))}))},t}(vy);function kx(e,t,n){for(var r=[],o=0,i=e.headerDates;o<i.length;o++){var a=i[o];r.push({start:n.add(a,t.slotMinTime),end:n.add(a,t.slotMaxTime)})}return r}var Dx=[{hours:1},{minutes:30},{minutes:15},{seconds:30},{seconds:15}];function Nx(e,t,n,r,o){for(var i,a=new Date(0),s=e,l=Tm(0),c=n||function(e){var t,n,r;for(t=Dx.length-1;t>=0;t-=1)if(null!==(r=qm(n=Tm(Dx[t]),e))&&r>1)return n;return e}(r),u=[];Rm(s)<Rm(t);){var d=o.add(a,s),p=null!==qm(l,c);u.push({date:d,time:s,key:d.toISOString(),isoTimeStr:(i=d,GA(i.getUTCHours(),2)+":"+GA(i.getUTCMinutes(),2)+":"+GA(i.getUTCSeconds(),2)),isLabeled:p}),s=Bm(s,r),l=Bm(l,r)}return u}var Tx=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buildTimeColsModel=Zm(jx),t.buildSlatMetas=Zm(Nx),t}return mA(t,e),t.prototype.render=function(){var e=this,t=this.context,n=t.options,r=t.dateEnv,o=t.dateProfileGenerator,i=this.props,a=i.dateProfile,s=this.buildTimeColsModel(a,o),l=this.allDaySplitter.splitProps(i),c=this.buildSlatMetas(a.slotMinTime,a.slotMaxTime,n.slotLabelInterval,n.slotDuration,r),u=n.dayMinWidth,d=!u,p=u,f=n.dayHeaders&&MA(tO,{dates:s.headerDates,dateProfile:a,datesRepDistinctDays:!0,renderIntro:d?this.renderHeadAxis:null}),h=!1!==n.allDaySlot&&function(t){return MA(Vz,gA({},l.allDay,{dateProfile:a,dayTableModel:s,nextDayThreshold:n.nextDayThreshold,tableMinWidth:t.tableMinWidth,colGroupNode:t.tableColGroupNode,renderRowIntro:d?e.renderTableRowAxis:null,showWeekNumbers:!1,expandRows:!1,headerAlignElRef:e.headerElRef,clientWidth:t.clientWidth,clientHeight:t.clientHeight,forPrint:i.forPrint},e.getAllDayMaxEventProps()))},b=function(t){return MA(Ex,gA({},l.timed,{dayTableModel:s,dateProfile:a,axis:d,slotDuration:n.slotDuration,slatMetas:c,forPrint:i.forPrint,tableColGroupNode:t.tableColGroupNode,tableMinWidth:t.tableMinWidth,clientWidth:t.clientWidth,clientHeight:t.clientHeight,onSlatCoords:e.handleSlatCoords,expandRows:t.expandRows,onScrollTopRequest:e.handleScrollTopRequest}))};return p?this.renderHScrollLayout(f,h,b,s.colCnt,u,c,this.state.slatCoords):this.renderSimpleLayout(f,h,b)},t}(ox);function jx(e,t){var n=new rO(e.renderRange,t);return new oO(n,!1)}var Bx=yy({initialView:"timeGridWeek",optionRefiners:{allDaySlot:Boolean},views:{timeGrid:{component:Tx,usesMinMaxTime:!0,allDaySlot:!0,slotDuration:"00:30:00",slotEventOverlap:!0},timeGridDay:{type:"timeGrid",duration:{days:1}},timeGridWeek:{type:"timeGrid",duration:{weeks:1}}}}),Lx=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return mA(t,e),t.prototype.transformSeg=function(e,t,n){return t.computeColRanges(e.firstCol,e.lastCol,n).map((function(t){return gA(gA(gA({},e),t),{isStart:e.isStart&&t.isStart,isEnd:e.isEnd&&t.isEnd})}))},t}(Az),Rx=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.splitter=new mz,t.slicers={},t.joiner=new Lx,t.tableRef=OA(),t.isHitComboAllowed=function(e,n){return 1===t.props.resourceDayTableModel.dayTableModel.colCnt||e.dateSpan.resourceId===n.dateSpan.resourceId},t}return mA(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,r=t.resourceDayTableModel,o=t.nextDayThreshold,i=t.dateProfile,a=this.splitter.splitProps(t);this.slicers=Mm(a,(function(t,n){return e.slicers[n]||new $z}));var s=Mm(this.slicers,(function(e,t){return e.sliceProps(a[t],i,o,n,r.dayTableModel)}));return MA(Zz,gA({forPrint:t.forPrint,ref:this.tableRef},this.joiner.joinProps(s,r),{cells:r.cells,dateProfile:i,colGroupNode:t.colGroupNode,tableMinWidth:t.tableMinWidth,renderRowIntro:t.renderRowIntro,dayMaxEvents:t.dayMaxEvents,dayMaxEventRows:t.dayMaxEventRows,showWeekNumbers:t.showWeekNumbers,expandRows:t.expandRows,headerAlignElRef:t.headerAlignElRef,clientWidth:t.clientWidth,clientHeight:t.clientHeight,isHitComboAllowed:this.isHitComboAllowed}))},t}(vy),qx=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.flattenResources=Zm(gz),t.buildResourceDayTableModel=Zm(Px),t.headerRef=OA(),t.tableRef=OA(),t}return mA(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,r=n.options,o=r.resourceOrder||rz,i=this.flattenResources(t.resourceStore,o),a=this.buildResourceDayTableModel(t.dateProfile,n.dateProfileGenerator,i,r.datesAboveResources,n),s=r.dayHeaders&&MA(cz,{ref:this.headerRef,resources:i,dateProfile:t.dateProfile,dates:a.dayTableModel.headerDates,datesRepDistinctDays:!0}),l=function(n){return MA(Rx,{ref:e.tableRef,dateProfile:t.dateProfile,resourceDayTableModel:a,businessHours:t.businessHours,eventStore:t.eventStore,eventUiBases:t.eventUiBases,dateSelection:t.dateSelection,eventSelection:t.eventSelection,eventDrag:t.eventDrag,eventResize:t.eventResize,nextDayThreshold:r.nextDayThreshold,tableMinWidth:n.tableMinWidth,colGroupNode:n.tableColGroupNode,dayMaxEvents:r.dayMaxEvents,dayMaxEventRows:r.dayMaxEventRows,showWeekNumbers:r.weekNumbers,expandRows:!t.isHeightAuto,headerAlignElRef:e.headerElRef,clientWidth:n.clientWidth,clientHeight:n.clientHeight,forPrint:t.forPrint})};return r.dayMinWidth?this.renderHScrollLayout(s,l,a.colCnt,r.dayMinWidth):this.renderSimpleLayout(s,l)},t}(xz);function Px(e,t,n,r,o){var i=Qz(e,t);return r?new hz(i,n,o):new fz(i,n,o)}yy({deps:[D_,zz,Gz],initialView:"resourceDayGridDay",views:{resourceDayGrid:{type:"dayGrid",component:qx,needsResourceData:!0},resourceDayGridDay:{type:"resourceDayGrid",duration:{days:1}},resourceDayGridWeek:{type:"resourceDayGrid",duration:{weeks:1}},resourceDayGridMonth:{type:"resourceDayGrid",duration:{months:1},monthMode:!0,fixedWeekCount:!0}}});var Ix=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return mA(t,e),t.prototype.transformSeg=function(e,t,n){return[gA(gA({},e),{col:t.computeCol(e.col,n)})]},t}(Az),Wx=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buildDayRanges=Zm(kx),t.splitter=new mz,t.slicers={},t.joiner=new Ix,t.timeColsRef=OA(),t.isHitComboAllowed=function(e,n){return 1===t.dayRanges.length||e.dateSpan.resourceId===n.dateSpan.resourceId},t}return mA(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,r=n.dateEnv,o=n.options,i=t.dateProfile,a=t.resourceDayTableModel,s=this.dayRanges=this.buildDayRanges(a.dayTableModel,i,r),l=this.splitter.splitProps(t);this.slicers=Mm(l,(function(t,n){return e.slicers[n]||new Sx}));var c=Mm(this.slicers,(function(e,t){return e.sliceProps(l[t],i,null,n,s)}));return MA(JM,{unit:o.nowIndicator?"minute":"day"},(function(n,r){return MA(wx,gA({ref:e.timeColsRef},e.joiner.joinProps(c,a),{dateProfile:i,axis:t.axis,slotDuration:t.slotDuration,slatMetas:t.slatMetas,cells:a.cells[0],tableColGroupNode:t.tableColGroupNode,tableMinWidth:t.tableMinWidth,clientWidth:t.clientWidth,clientHeight:t.clientHeight,expandRows:t.expandRows,nowDate:n,nowIndicatorSegs:o.nowIndicator&&e.buildNowIndicatorSegs(n),todayRange:r,onScrollTopRequest:t.onScrollTopRequest,forPrint:t.forPrint,onSlatCoords:t.onSlatCoords,isHitComboAllowed:e.isHitComboAllowed}))}))},t.prototype.buildNowIndicatorSegs=function(e){var t=this.slicers[""].sliceNowDate(e,this.context,this.dayRanges);return this.joiner.expandSegs(this.props.resourceDayTableModel,t)},t}(vy),Fx=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.flattenResources=Zm(gz),t.buildResourceTimeColsModel=Zm(Ux),t.buildSlatMetas=Zm(Nx),t}return mA(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,r=n.options,o=n.dateEnv,i=t.dateProfile,a=this.allDaySplitter.splitProps(t),s=r.resourceOrder||rz,l=this.flattenResources(t.resourceStore,s),c=this.buildResourceTimeColsModel(i,n.dateProfileGenerator,l,r.datesAboveResources,n),u=this.buildSlatMetas(i.slotMinTime,i.slotMaxTime,r.slotLabelInterval,r.slotDuration,o),d=r.dayMinWidth,p=!d,f=d,h=r.dayHeaders&&MA(cz,{resources:l,dates:c.dayTableModel.headerDates,dateProfile:i,datesRepDistinctDays:!0,renderIntro:p?this.renderHeadAxis:null}),b=!1!==r.allDaySlot&&function(n){return MA(Rx,gA({},a.allDay,{dateProfile:i,resourceDayTableModel:c,nextDayThreshold:r.nextDayThreshold,tableMinWidth:n.tableMinWidth,colGroupNode:n.tableColGroupNode,renderRowIntro:p?e.renderTableRowAxis:null,showWeekNumbers:!1,expandRows:!1,headerAlignElRef:e.headerElRef,clientWidth:n.clientWidth,clientHeight:n.clientHeight,forPrint:t.forPrint},e.getAllDayMaxEventProps()))},A=function(n){return MA(Wx,gA({},a.timed,{dateProfile:i,axis:p,slotDuration:r.slotDuration,slatMetas:u,resourceDayTableModel:c,tableColGroupNode:n.tableColGroupNode,tableMinWidth:n.tableMinWidth,clientWidth:n.clientWidth,clientHeight:n.clientHeight,onSlatCoords:e.handleSlatCoords,expandRows:n.expandRows,forPrint:t.forPrint,onScrollTopRequest:e.handleScrollTopRequest}))};return f?this.renderHScrollLayout(h,b,A,c.colCnt,d,u,this.state.slatCoords):this.renderSimpleLayout(h,b,A)},t}(ox);function Ux(e,t,n,r,o){var i=jx(e,t);return r?new hz(i,n,o):new fz(i,n,o)}var Zx,Hx=yy({deps:[D_,zz,Bx],initialView:"resourceTimeGridDay",views:{resourceTimeGrid:{type:"timeGrid",component:Fx,needsResourceData:!0},resourceTimeGridDay:{type:"resourceTimeGrid",duration:{days:1}},resourceTimeGridWeek:{type:"resourceTimeGrid",duration:{weeks:1}}}}),$x="wheel mousewheel DomMouseScroll MozMousePixelScroll".split(" "),Vx=function(){function e(e){var t=this;this.el=e,this.emitter=new iy,this.isScrolling=!1,this.isTouching=!1,this.isRecentlyWheeled=!1,this.isRecentlyScrolled=!1,this.wheelWaiter=new uM(this._handleWheelWaited.bind(this)),this.scrollWaiter=new uM(this._handleScrollWaited.bind(this)),this.handleScroll=function(){t.startScroll(),t.emitter.trigger("scroll",t.isRecentlyWheeled,t.isTouching),t.isRecentlyScrolled=!0,t.scrollWaiter.request(500)},this.handleWheel=function(){t.isRecentlyWheeled=!0,t.wheelWaiter.request(500)},this.handleTouchStart=function(){t.isTouching=!0},this.handleTouchEnd=function(){t.isTouching=!1,t.isRecentlyScrolled||t.endScroll()},e.addEventListener("scroll",this.handleScroll),e.addEventListener("touchstart",this.handleTouchStart,{passive:!0}),e.addEventListener("touchend",this.handleTouchEnd);for(var n=0,r=$x;n<r.length;n++){var o=r[n];e.addEventListener(o,this.handleWheel)}}return e.prototype.destroy=function(){var e=this.el;e.removeEventListener("scroll",this.handleScroll),e.removeEventListener("touchstart",this.handleTouchStart,{passive:!0}),e.removeEventListener("touchend",this.handleTouchEnd);for(var t=0,n=$x;t<n.length;t++){var r=n[t];e.removeEventListener(r,this.handleWheel)}},e.prototype.startScroll=function(){this.isScrolling||(this.isScrolling=!0,this.emitter.trigger("scrollStart",this.isRecentlyWheeled,this.isTouching))},e.prototype.endScroll=function(){this.isScrolling&&(this.emitter.trigger("scrollEnd"),this.isScrolling=!1,this.isRecentlyScrolled=!0,this.isRecentlyWheeled=!1,this.scrollWaiter.clear(),this.wheelWaiter.clear())},e.prototype._handleScrollWaited=function(){this.isRecentlyScrolled=!1,this.isTouching||this.endScroll()},e.prototype._handleWheelWaited=function(){this.isRecentlyWheeled=!1},e}();function Xx(e){var t=e.scrollLeft;if("rtl"===window.getComputedStyle(e).direction)switch(Yx()){case"negative":t*=-1;case"reverse":t=e.scrollWidth-t-e.clientWidth}return t}function Qx(e,t){if("rtl"===window.getComputedStyle(e).direction)switch(Yx()){case"reverse":t=e.scrollWidth-t;break;case"negative":t=-(e.scrollWidth-t)}e.scrollLeft=t}function Yx(){return Zx||(Zx=function(){var e,t=document.createElement("div");t.style.position="absolute",t.style.top="-1000px",t.style.width="1px",t.style.height="1px",t.style.overflow="scroll",t.style.direction="rtl",t.style.fontSize="100px",t.innerHTML="A",document.body.appendChild(t),t.scrollLeft>0?e="positive":(t.scrollLeft=1,e=t.scrollLeft>0?"reverse":"negative");return CA(t),e}())}var Gx,Kx="undefined"!==typeof navigator&&/Edge/.test(navigator.userAgent),Jx=function(){function e(e,t){var n=this;this.scrollEl=e,this.isRtl=t,this.usingRelative=null,this.updateSize=function(){var e=n.scrollEl,t=kA(e,".fc-sticky"),r=n.queryElGeoms(t),o=e.clientWidth,i=e.clientHeight;n.usingRelative?function(e,t,n,r,o){e.forEach((function(e,i){var a,s,l=t[i],c=l.naturalBound,u=l.parentBound,d=u.right-u.left,p=u.bottom-u.bottom;d>r||p>o?(a=n[i].left-c.left,s=n[i].top-c.top):(a="",s=""),NA(e,{position:"relative",left:a,right:-a,top:s})}))}(t,r,n.computeElDestinations(r,o),o,i):function(e,t,n){e.forEach((function(e,r){var o,i=t[r],a=i.textAlign,s=i.elWidth,l=i.parentBound,c=l.right-l.left;NA(e,{left:o="center"===a&&c>n?(n-s)/2:"",right:o,top:0})}))}(t,r,o)},this.usingRelative=!function(){null==Gx&&(Gx=function(){var e=document.createElement("div");e.style.position="sticky",document.body.appendChild(e);var t=window.getComputedStyle(e).position;return CA(e),"sticky"===t}());return Gx}()||Kx&&t,this.usingRelative&&(this.listener=new Vx(e),this.listener.emitter.on("scrollEnd",this.updateSize))}return e.prototype.destroy=function(){this.listener&&this.listener.destroy()},e.prototype.queryElGeoms=function(e){for(var t=this.scrollEl,n=this.isRtl,r=function(e){var t=e.getBoundingClientRect(),n=ey(e);return{left:t.left+n.borderLeft+n.scrollbarLeft-Xx(e),top:t.top+n.borderTop-e.scrollTop}}(t),o=[],i=0,a=e;i<a.length;i++){var s=a[i],l=Pv(ty(s.parentNode,!0,!0),-r.left,-r.top),c=s.getBoundingClientRect(),u=window.getComputedStyle(s),d=window.getComputedStyle(s.parentNode).textAlign,p=null;"start"===d?d=n?"right":"left":"end"===d&&(d=n?"left":"right"),"sticky"!==u.position&&(p=Pv(c,-r.left-(parseFloat(u.left)||0),-r.top-(parseFloat(u.top)||0))),o.push({parentBound:l,naturalBound:p,elWidth:c.width,elHeight:c.height,textAlign:d})}return o},e.prototype.computeElDestinations=function(e,t){var n=this.scrollEl,r=n.scrollTop,o=Xx(n),i=o+t;return e.map((function(e){var t,n,a=e.elWidth,s=e.elHeight,l=e.parentBound,c=e.naturalBound;switch(e.textAlign){case"left":t=o;break;case"right":t=i-a;break;case"center":t=(o+i)/2-a/2}return t=Math.min(t,l.right-a),t=Math.max(t,l.left),n=r,n=Math.min(n,l.bottom-s),{left:t,top:n=Math.max(n,c.top)}}))},e}();var ew=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.elRef=OA(),t.state={xScrollbarWidth:0,yScrollbarWidth:0},t.handleScroller=function(e){t.scroller=e,gy(t.props.scrollerRef,e)},t.handleSizing=function(){var e=t.props;"scroll-hidden"===e.overflowY&&t.setState({yScrollbarWidth:t.scroller.getYScrollbarWidth()}),"scroll-hidden"===e.overflowX&&t.setState({xScrollbarWidth:t.scroller.getXScrollbarWidth()})},t}return mA(t,e),t.prototype.render=function(){var e=this,t=e.props,n=e.state,r=e.context.isRtl&&Gv(),o=0,i=0,a=0;return"scroll-hidden"===t.overflowX&&(a=n.xScrollbarWidth),"scroll-hidden"===t.overflowY&&null!=n.yScrollbarWidth&&(r?o=n.yScrollbarWidth:i=n.yScrollbarWidth),MA("div",{ref:this.elRef,className:"fc-scroller-harness"+(t.liquid?" fc-scroller-harness-liquid":"")},MA(bO,{ref:this.handleScroller,elRef:this.props.scrollerElRef,overflowX:"scroll-hidden"===t.overflowX?"scroll":t.overflowX,overflowY:"scroll-hidden"===t.overflowY?"scroll":t.overflowY,overcomeLeft:o,overcomeRight:i,overcomeBottom:a,maxHeight:"number"===typeof t.maxHeight?t.maxHeight+("scroll-hidden"===t.overflowX?n.xScrollbarWidth:0):"",liquid:t.liquid,liquidIsAbsolute:!0},t.children))},t.prototype.componentDidMount=function(){this.handleSizing(),this.context.addResizeHandler(this.handleSizing)},t.prototype.componentDidUpdate=function(e){zm(e,this.props)||this.handleSizing()},t.prototype.componentWillUnmount=function(){this.context.removeResizeHandler(this.handleSizing)},t.prototype.needsXScrolling=function(){return this.scroller.needsXScrolling()},t.prototype.needsYScrolling=function(){return this.scroller.needsYScrolling()},t}(by),tw=function(){function e(e,t){var n=this;this.isVertical=e,this.scrollEls=t,this.isPaused=!1,this.scrollListeners=t.map((function(e){return n.bindScroller(e)}))}return e.prototype.destroy=function(){for(var e=0,t=this.scrollListeners;e<t.length;e++){t[e].destroy()}},e.prototype.bindScroller=function(e){var t=this,n=this.scrollEls,r=this.isVertical,o=new Vx(e);return o.emitter.on("scroll",(function(o,i){if(!t.isPaused&&((!t.masterEl||t.masterEl!==e&&(o||i))&&t.assignMaster(e),t.masterEl===e))for(var a=0,s=n;a<s.length;a++){var l=s[a];l!==e&&(r?l.scrollTop=e.scrollTop:l.scrollLeft=e.scrollLeft)}})),o.emitter.on("scrollEnd",(function(){t.masterEl===e&&(t.masterEl=null)})),o},e.prototype.assignMaster=function(e){this.masterEl=e;for(var t=0,n=this.scrollListeners;t<n.length;t++){var r=n[t];r.el!==e&&r.endScroll()}},e.prototype.forceScrollLeft=function(e){this.isPaused=!0;for(var t=0,n=this.scrollListeners;t<n.length;t++){Qx(n[t].el,e)}this.isPaused=!1},e.prototype.forceScrollTop=function(e){this.isPaused=!0;for(var t=0,n=this.scrollListeners;t<n.length;t++){n[t].el.scrollTop=e}this.isPaused=!1},e}(),nw=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.compileColGroupStats=$m(aw,cw),t.renderMicroColGroups=$m(OO),t.clippedScrollerRefs=new AO,t.scrollerElRefs=new AO(t._handleScrollerEl.bind(t)),t.chunkElRefs=new AO(t._handleChunkEl.bind(t)),t.stickyScrollings=[],t.scrollSyncersBySection={},t.scrollSyncersByColumn={},t.rowUnstableMap=new Map,t.rowInnerMaxHeightMap=new Map,t.anyRowHeightsChanged=!1,t.recentSizingCnt=0,t.state={shrinkWidths:[],forceYScrollbars:!1,forceXScrollbars:!1,scrollerClientWidths:{},scrollerClientHeights:{},sectionRowMaxHeights:[]},t.handleSizing=function(e,n){if(t.allowSizing()){n||(t.anyRowHeightsChanged=!0);var r={};(e||!n&&!t.rowUnstableMap.size)&&(r.sectionRowMaxHeights=t.computeSectionRowMaxHeights()),t.setState(gA(gA({shrinkWidths:t.computeShrinkWidths()},t.computeScrollerDims()),r),(function(){t.rowUnstableMap.size||t.updateStickyScrolling()}))}},t.handleRowHeightChange=function(e,n){var r=t,o=r.rowUnstableMap,i=r.rowInnerMaxHeightMap;if(n){o.delete(e);var a=ow(e);i.has(e)&&i.get(e)===a||(i.set(e,a),t.anyRowHeightsChanged=!0),!o.size&&t.anyRowHeightsChanged&&(t.anyRowHeightsChanged=!1,t.setState({sectionRowMaxHeights:t.computeSectionRowMaxHeights()}))}else o.set(e,!0)},t}return mA(t,e),t.prototype.render=function(){var e=this,t=e.props,n=e.state,r=e.context,o=n.shrinkWidths,i=this.compileColGroupStats(t.colGroups.map((function(e){return[e]}))),a=this.renderMicroColGroups(i.map((function(e,t){return[e.cols,o[t]]}))),s=xO(t.liquid,r),l=this.getDims();l[0],l[1];for(var c,u=t.sections,d=u.length,p=0,f=[],h=[],b=[];p<d&&"header"===(c=u[p]).type;)f.push(this.renderSection(c,p,i,a,n.sectionRowMaxHeights,!0)),p+=1;for(;p<d&&"body"===(c=u[p]).type;)h.push(this.renderSection(c,p,i,a,n.sectionRowMaxHeights,!1)),p+=1;for(;p<d&&"footer"===(c=u[p]).type;)b.push(this.renderSection(c,p,i,a,n.sectionRowMaxHeights,!0)),p+=1;var A=!Iv(),m={role:"rowgroup"};return MA("table",{ref:t.elRef,role:"grid",className:s.join(" ")},function(e,t){var n=e.map((function(e,n){var r=e.width;return"shrink"===r&&(r=e.totalColWidth+_O(t[n])+1),MA("col",{style:{width:r}})}));return MA.apply(void 0,vA(["colgroup",{}],n))}(i,o),Boolean(!A&&f.length)&&MA.apply(void 0,vA(["thead",m],f)),Boolean(!A&&h.length)&&MA.apply(void 0,vA(["tbody",m],h)),Boolean(!A&&b.length)&&MA.apply(void 0,vA(["tfoot",m],b)),A&&MA.apply(void 0,vA(vA(vA(["tbody",m],f),h),b)))},t.prototype.renderSection=function(e,t,n,r,o,i){var a=this;return"outerContent"in e?MA(_A,{key:e.key},e.outerContent):MA("tr",{key:e.key,role:"presentation",className:wO(e,this.props.liquid).join(" ")},e.chunks.map((function(s,l){return a.renderChunk(e,t,n[l],r[l],s,l,(o[t]||[])[l]||[],i)})))},t.prototype.renderChunk=function(e,t,n,r,o,i,a,s){if("outerContent"in o)return MA(_A,{key:o.key},o.outerContent);var l=this.state,c=l.scrollerClientWidths,u=l.scrollerClientHeights,d=this.getDims(),p=d[0],f=d[1],h=t*f+i,b=i===(!this.context.isRtl||Gv()?f-1:0),A=t===p-1,m=A&&l.forceXScrollbars,g=b&&l.forceYScrollbars,v=n&&n.allowXScrolling,y=vO(this.props,e),M=gO(this.props,e),O=e.expandRows&&M,_=yO(e,o,{tableColGroupNode:r,tableMinWidth:n&&n.totalColMinWidth||"",clientWidth:void 0!==c[h]?c[h]:null,clientHeight:void 0!==u[h]?u[h]:null,expandRows:O,syncRowHeights:Boolean(e.syncRowHeights),rowSyncHeights:a,reportRowHeightChange:this.handleRowHeightChange},s),z=m?A?"scroll":"scroll-hidden":v?A?"auto":"scroll-hidden":"hidden",x=g?b?"scroll":"scroll-hidden":y?b?"auto":"scroll-hidden":"hidden";return _=MA(ew,{ref:this.clippedScrollerRefs.createRef(h),scrollerElRef:this.scrollerElRefs.createRef(h),overflowX:z,overflowY:x,liquid:M,maxHeight:e.maxHeight},_),MA(s?"th":"td",{key:o.key,ref:this.chunkElRefs.createRef(h),role:"presentation"},_)},t.prototype.componentDidMount=function(){this.getStickyScrolling=$m(pw,null,fw),this.getScrollSyncersBySection=Vm(uw.bind(this,!0),null,dw),this.getScrollSyncersByColumn=Vm(uw.bind(this,!1),null,dw),this.updateScrollSyncers(),this.handleSizing(!1),this.context.addResizeHandler(this.handleSizing)},t.prototype.componentDidUpdate=function(e,t){this.updateScrollSyncers(),this.handleSizing(!1,t.sectionRowMaxHeights!==this.state.sectionRowMaxHeights)},t.prototype.componentWillUnmount=function(){this.context.removeResizeHandler(this.handleSizing),this.destroyStickyScrolling(),this.destroyScrollSyncers()},t.prototype.allowSizing=function(){var e=new Date;return!this.lastSizingDate||e.valueOf()>this.lastSizingDate.valueOf()+BM.SCROLLGRID_RESIZE_INTERVAL?(this.lastSizingDate=e,this.recentSizingCnt=0,!0):(this.recentSizingCnt+=1)<=10},t.prototype.computeShrinkWidths=function(){var e=this,t=this.compileColGroupStats(this.props.colGroups.map((function(e){return[e]}))),n=this.getDims(),r=n[0],o=n[1],i=r*o,a=[];return t.forEach((function(t,n){if(t.hasShrinkCol){var r=e.chunkElRefs.collect(n,i,o);a[n]=mO(r)}})),a},t.prototype.computeSectionRowMaxHeights=function(){for(var e=new Map,t=this.getDims(),n=t[0],r=t[1],o=[],i=0;i<n;i+=1){var a=this.props.sections[i],s=[];if(a&&a.syncRowHeights){for(var l=[],c=0;c<r;c+=1){var u=i*r+c,d=[],p=this.chunkElRefs.currentMap[u];d=p?kA(p,".fc-scrollgrid-sync-table tr").map((function(t){var n=ow(t);return e.set(t,n),n})):[],l.push(d)}var f=l[0].length,h=!0;for(c=1;c<r;c+=1){if(!(a.chunks[c]&&void 0!==a.chunks[c].outerContent)&&l[c].length!==f){h=!1;break}}if(h){for(c=0;c<r;c+=1)s.push([]);for(y=0;y<f;y+=1){var b=[];for(c=0;c<r;c+=1){var A=l[c][y];null!=A&&b.push(A)}var m=Math.max.apply(Math,b);for(c=0;c<r;c+=1)s[c].push(m)}}else{for(var g=[],c=0;c<r;c+=1)g.push(rw(l[c])+l[c].length);for(var v=Math.max.apply(Math,g),c=0;c<r;c+=1){var y,M=l[c].length,O=v-M,_=Math.floor(O/M),z=O-_*(M-1),x=[];for((y=0)<M&&(x.push(z),y+=1);y<M;)x.push(_),y+=1;s.push(x)}}}o.push(s)}return this.rowInnerMaxHeightMap=e,o},t.prototype.computeScrollerDims=function(){for(var e=Kv(),t=this.getDims(),n=t[0],r=t[1],o=!this.context.isRtl||Gv()?r-1:0,i=n-1,a=this.clippedScrollerRefs.currentMap,s=this.scrollerElRefs.currentMap,l=!1,c=!1,u={},d={},p=0;p<n;p+=1){if((h=a[b=p*r+o])&&h.needsYScrolling()){l=!0;break}}for(var f=0;f<r;f+=1){var h;if((h=a[b=i*r+f])&&h.needsXScrolling()){c=!0;break}}for(p=0;p<n;p+=1)for(f=0;f<r;f+=1){var b,A=s[b=p*r+f];if(A){var m=A.parentNode;u[b]=Math.floor(m.getBoundingClientRect().width-(f===o&&l?e.y:0)),d[b]=Math.floor(m.getBoundingClientRect().height-(p===i&&c?e.x:0))}}return{forceYScrollbars:l,forceXScrollbars:c,scrollerClientWidths:u,scrollerClientHeights:d}},t.prototype.updateStickyScrolling=function(){var e=this.context.isRtl,t=this.scrollerElRefs.getAll().map((function(t){return[t,e]})),n=this.getStickyScrolling(t);n.forEach((function(e){return e.updateSize()})),this.stickyScrollings=n},t.prototype.destroyStickyScrolling=function(){this.stickyScrollings.forEach(fw)},t.prototype.updateScrollSyncers=function(){for(var e=this.getDims(),t=e[0],n=e[1],r=t*n,o={},i={},a=this.scrollerElRefs.currentMap,s=0;s<t;s+=1){var l=s*n,c=l+n;o[s]=Sm(a,l,c,1)}for(var u=0;u<n;u+=1)i[u]=this.scrollerElRefs.collect(u,r,n);this.scrollSyncersBySection=this.getScrollSyncersBySection(o),this.scrollSyncersByColumn=this.getScrollSyncersByColumn(i)},t.prototype.destroyScrollSyncers=function(){Mm(this.scrollSyncersBySection,dw),Mm(this.scrollSyncersByColumn,dw)},t.prototype.getChunkConfigByIndex=function(e){var t=this.getDims()[1],n=Math.floor(e/t),r=e%t,o=this.props.sections[n];return o&&o.chunks[r]},t.prototype.forceScrollLeft=function(e,t){var n=this.scrollSyncersByColumn[e];n&&n.forceScrollLeft(t)},t.prototype.forceScrollTop=function(e,t){var n=this.scrollSyncersBySection[e];n&&n.forceScrollTop(t)},t.prototype._handleChunkEl=function(e,t){var n=this.getChunkConfigByIndex(parseInt(t,10));n&&gy(n.elRef,e)},t.prototype._handleScrollerEl=function(e,t){var n=this.getChunkConfigByIndex(parseInt(t,10));n&&gy(n.scrollerElRef,e)},t.prototype.getDims=function(){var e=this.props.sections.length;return[e,e?this.props.sections[0].chunks.length:0]},t}(by);function rw(e){for(var t=0,n=0,r=e;n<r.length;n++){t+=r[n]}return t}function ow(e){var t=kA(e,".fc-scrollgrid-sync-inner").map(iw);return t.length?Math.max.apply(Math,t):0}function iw(e){return e.offsetHeight}function aw(e){var t=sw(e.cols,"width"),n=sw(e.cols,"minWidth"),r=zO(e.cols);return{hasShrinkCol:r,totalColWidth:t,totalColMinWidth:n,allowXScrolling:"shrink"!==e.width&&Boolean(t||n||r),cols:e.cols,width:e.width}}function sw(e,t){for(var n=0,r=0,o=e;r<o.length;r++){var i=o[r],a=i[t];"number"===typeof a&&(n+=a*(i.span||1))}return n}nw.addStateEquality({shrinkWidths:Um,scrollerClientWidths:zm,scrollerClientHeights:zm});var lw={cols:MO};function cw(e,t){return wm(e,t,lw)}function uw(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new tw(e,t)}function dw(e){e.destroy()}function pw(e,t){return new Jx(e,t)}function fw(e){e.destroy()}var hw=yy({deps:[D_],scrollGridImpl:nw});BM.SCROLLGRID_RESIZE_INTERVAL=500;var bw,Aw=hw,mw="calendar_calendar__3J3fH",gw="calendar_calendarContent__u4Kzy",vw="calendar_cells__M711r",yw="calendar_customDay__+O93+",Mw="calendarLabel_calendarLabel__Dh6u0",Ow=__webpack_require__(34882),_w="userCard_container__NBcwD",zw="userCard_avatar__Kws3m",xw="userCard_avatarSelected__cK4Ur",ww="userCard_userInfo__O6ydk",Cw="userCard_name__wdSDw",Sw="userCard_role__zSrs+",Ew="userCard_locationName__BpaIQ",kw="userCard_totalVisited__YDa3q",Dw="userCard_newLine__yXX8j",Nw="userCard_existAlerts__TJsJ-",Tw=$l((function(e){var t,n,r=e.id,o=e.name,i=e.avatarUrl,a=e.role,s=e.loading,l=e.appointmentsCount,c=e.completedAppointments,u=e.latestVisitedAppointment,d=e.isPatient,p=e.existAlerts,f=e.onClick,h=e.locationName,b=Fc().calendar,A="Last visited ".concat(rl(null===u||void 0===u?void 0:u.date)," on ").concat(Vs()(null===u||void 0===u?void 0:u.date).format("DD/MM/YY")," for ").concat(null===u||void 0===u||null===(t=u.services)||void 0===t?void 0:t.join(", ")," treatment");return(0,Kl.jsxs)("div",{className:_w,onClick:f,style:{cursor:f?"pointer":"default",width:165},children:[s?(0,Kl.jsx)(Rp,{variant:"circle",height:40,width:40}):(0,Kl.jsx)(jp,{alt:o||"",style:{lineHeight:"30px"},src:i,className:r===(null===b||void 0===b?void 0:b.selectedStaff)?xw:zw,children:!!o&&o.toUpperCase().charAt(0)}),(0,Kl.jsxs)("div",{className:ww,children:[s?(0,Kl.jsx)(Rp,{variant:"text",sx:{fontSize:"14px"},width:150}):(0,Kl.jsx)(kl.Z,{className:Cw,children:o}),s?(0,Kl.jsx)(Rp,{variant:"text",sx:{fontSize:"14px"},width:130}):(0,Kl.jsx)(kl.Z,{className:Sw,children:a}),h&&(0,Kl.jsx)(kl.Z,{className:Ew,children:h}),d?(0,Kl.jsxs)("div",{className:"".concat(kw," ").concat((n=rl(null===u||void 0===u?void 0:u.date),/(\d+\s*year\s*)+(\d+\s*month\s*)/i.test(n)?Dw:"")," ").concat(p?Nw:""),children:[(0,Kl.jsx)(Ow.ZP,{title:"Total ".concat(c," completed visits out of ").concat(l," booked"),arrow:!0,children:(0,Kl.jsxs)("div",{children:["Total visits:"," ",(0,Kl.jsxs)("b",{children:[c,"/",l]})]})}),c>0&&null!==u&&void 0!==u&&u.date?(0,Kl.jsx)("div",{children:(0,Kl.jsx)(Ow.ZP,{title:A,arrow:!0,children:(0,Kl.jsxs)("div",{children:["Last visited"," ",(0,Kl.jsx)("b",{children:rl(null===u||void 0===u?void 0:u.date)})]})})}):null]}):null]})]})})),jw=Tw,Bw=$l((function(t){var n,r,o,i,a=t.resource,s=t.locationName,l=(t.onClickAdd,a.toPlainObject()),c=Fc().calendar,u=(0,e.useMemo)((function(){var e,t,n,r,o,i,a,s,c="";null!==l&&void 0!==l&&null!==(e=l.extendedProps)&&void 0!==e&&null!==(t=e.jobLabel)&&void 0!==t&&t.name?c+=null===l||void 0===l||null===(r=l.extendedProps)||void 0===r||null===(o=r.jobLabel)||void 0===o?void 0:o.name:c+=null===l||void 0===l||null===(i=l.extendedProps)||void 0===i||null===(a=i.role)||void 0===a||null===(s=a[0])||void 0===s?void 0:s.name;if(null!==l&&void 0!==l&&null!==(n=l.extendedProps)&&void 0!==n&&n.workingHours[0]){var u,d,p,f,h,b,A,m;if("00:00"===(null===l||void 0===l||null===(u=l.extendedProps)||void 0===u||null===(d=u.workingHours[0])||void 0===d?void 0:d.startTime)&&"00:00"===(null===l||void 0===l||null===(p=l.extendedProps)||void 0===p||null===(f=p.workingHours[0])||void 0===f?void 0:f.endTime))return c;c+=" ".concat(null===l||void 0===l||null===(h=l.extendedProps)||void 0===h||null===(b=h.workingHours[0])||void 0===b?void 0:b.startTime," - ").concat(null===l||void 0===l||null===(A=l.extendedProps)||void 0===A||null===(m=A.workingHours[0])||void 0===m?void 0:m.endTime)}return c}),[l]),d=function(){c.setSelectedStaff(Number(null===l||void 0===l?void 0:l.id))};return a?(0,Kl.jsx)("div",{className:Mw,onClick:d,children:(0,Kl.jsx)(jw,{id:Number(null===l||void 0===l?void 0:l.id),name:null===l||void 0===l?void 0:l.title,avatarUrl:null===l||void 0===l||null===(n=l.extendedProps)||void 0===n?void 0:n.avatarUrl,role:u,loading:!(null!==l&&void 0!==l&&l.title),locationName:s})}):(0,Kl.jsx)("div",{className:Mw,onClick:d,children:(0,Kl.jsx)(jw,{id:Number(null===l||void 0===l?void 0:l.id),name:null===l||void 0===l?void 0:l.title,avatarUrl:null===l||void 0===l||null===(r=l.extendedProps)||void 0===r?void 0:r.avatarUrl,role:null===l||void 0===l||null===(o=l.extendedProps)||void 0===o||null===(i=o.role)||void 0===i?void 0:i.name,loading:!0,locationName:s})})})),Lw=Bw,Rw={container:"calendarEvent_container__yC3uD",calendarEvent:"calendarEvent_calendarEvent__0Ec34",draggable:"calendarEvent_draggable__QDA5+",icon:"calendarEvent_icon__D2IKN",calendarEventBottom:"calendarEvent_calendarEventBottom__NR560",status:"calendarEvent_status__6HutP",calendarEventTop:"calendarEvent_calendarEventTop__44BIU",calendarEventHeader:"calendarEvent_calendarEventHeader__vW+Ct",calendarEventDate:"calendarEvent_calendarEventDate__IxTCS",calendarEventPatientName:"calendarEvent_calendarEventPatientName__zS6Uv",calendarEventFooter:"calendarEvent_calendarEventFooter__XZwMg",calendarEventContent:"calendarEvent_calendarEventContent__NLoQC",calendarEventServiceName:"calendarEvent_calendarEventServiceName__QGLOX",calendarEventPatient:"calendarEvent_calendarEventPatient__9bU1Y",tags:"calendarEvent_tags__DoS1Q",health:"calendarEvent_health__cZfpM",vipContainer:"calendarEvent_vipContainer__k7W7O",directionRow:"calendarEvent_directionRow__Mzd+1"},qw=__webpack_require__(52469),Pw=(0,xb.Z)("div")((function(e){return{background:e.theme.palette.primary.main,borderRadius:"5px",color:"#fff",padding:"3px 3px",fontSize:"8px",textTransform:"uppercase",fontWeight:"bold",display:"flex",alignItems:"center"}})),Iw=function(){return(0,Kl.jsx)(Pw,{children:"New"})},Ww="calendarBreakSlot_break__bryNF";function Fw(e){var t,n=e.event,r=e.view,o=e.eventStyles,i=e.title,a=void 0===i?"Break":i;return(0,Kl.jsx)("div",{id:"break-".concat(n.id,"-event?.start"),className:Ww,style:"weekly"===r?Us({height:o.height?o.height+10:40,minHeight:o.height?o.height+10:40},o):void 0,children:(0,Kl.jsxs)("p",{children:[Vs()(null===n||void 0===n?void 0:n.start).format("HH:mm")," "," - "," ",Vs()(null!==(t=null===n||void 0===n?void 0:n.end)&&void 0!==t?t:null===n||void 0===n?void 0:n.start).format("HH:mm")," ",a]})})}var Uw=["title","titleId"];function Zw(){return Zw=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Zw.apply(this,arguments)}function Hw(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function $w(t,n){var r=t.title,o=t.titleId,i=Hw(t,Uw);return e.createElement("svg",Zw({width:34,height:34,viewBox:"0 0 34 34",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,bw||(bw=e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 17C0 7.61136 7.61136 0 17 0C26.3886 0 34 7.61136 34 17C34 26.3886 26.3886 34 17 34C7.61136 34 0 26.3886 0 17ZM18.5455 7.72727C17.7835 7.72727 16.6739 7.94364 15.7111 8.636C14.6664 9.38709 13.9091 10.6235 13.9091 12.3636V15.4545H12.3636C11.9538 15.4545 11.5607 15.6174 11.2708 15.9072C10.981 16.197 10.8182 16.5901 10.8182 17C10.8182 17.4099 10.981 17.803 11.2708 18.0928C11.5607 18.3826 11.9538 18.5455 12.3636 18.5455H13.9091V20.0909C13.9091 20.3583 13.8164 20.7956 13.5815 21.1202C13.4053 21.3659 13.0962 21.6364 12.3636 21.6364C11.9538 21.6364 11.5607 21.7992 11.2708 22.089C10.981 22.3788 10.8182 22.7719 10.8182 23.1818C10.8182 23.5917 10.981 23.9848 11.2708 24.2746C11.5607 24.5644 11.9538 24.7273 12.3636 24.7273H21.6364C22.0462 24.7273 22.4393 24.5644 22.7292 24.2746C23.019 23.9848 23.1818 23.5917 23.1818 23.1818C23.1818 22.7719 23.019 22.3788 22.7292 22.089C22.4393 21.7992 22.0462 21.6364 21.6364 21.6364H16.7435C16.9289 21.0692 17 20.5236 17 20.0909V18.5455H18.5455C18.9553 18.5455 19.3484 18.3826 19.6383 18.0928C19.9281 17.803 20.0909 17.4099 20.0909 17C20.0909 16.5901 19.9281 16.197 19.6383 15.9072C19.3484 15.6174 18.9553 15.4545 18.5455 15.4545H17V12.3636C17 11.6311 17.2705 11.322 17.5162 11.1458C17.8407 10.9109 18.2781 10.8182 18.5455 10.8182C18.8128 10.8182 19.2502 10.9109 19.5747 11.1458C19.8205 11.322 20.0909 11.6311 20.0909 12.3636C20.0909 12.7735 20.2537 13.1666 20.5436 13.4564C20.8334 13.7463 21.2265 13.9091 21.6364 13.9091C22.0462 13.9091 22.4393 13.7463 22.7292 13.4564C23.019 13.1666 23.1818 12.7735 23.1818 12.3636C23.1818 10.6235 22.4215 9.38709 21.3798 8.636C20.5493 8.05218 19.5606 7.7352 18.5455 7.72727Z",fill:"#00E15C"})))}var Vw,Xw,Qw=e.forwardRef($w),Yw=(__webpack_require__.p,["title","titleId"]);function Gw(){return Gw=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Gw.apply(this,arguments)}function Kw(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Jw(t,n){var r=t.title,o=t.titleId,i=Kw(t,Yw);return e.createElement("svg",Gw({width:34,height:34,viewBox:"0 0 34 34",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,Vw||(Vw=e.createElement("circle",{cx:17,cy:17,r:17,fill:"#0387FE"})),Xw||(Xw=e.createElement("path",{d:"M21.3636 9.19231H25V26H9V9.19231H12.6364V10.6538H21.3636V9.19231ZM11.9091 16.5H22.0909V15.0385H11.9091V16.5ZM11.9091 22.3462H22.0909V20.8846H11.9091V22.3462ZM14.0909 9.19231V7H19.9091V9.19231H14.0909Z",fill:"white"})))}var eC,tC,nC=e.forwardRef(Jw),rC=(__webpack_require__.p,function(t){var r=t.element,o=t.screenSize,i=(0,e.useState)(window.innerWidth),a=(0,n.Z)(i,2),s=a[0],l=a[1];return(0,e.useEffect)((function(){var e=function(){l(window.innerWidth)};return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}),[]),s>=o?r:null}),oC=["title","titleId"];function iC(){return iC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},iC.apply(this,arguments)}function aC(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function sC(t,n){var r=t.title,o=t.titleId,i=aC(t,oC);return e.createElement("svg",iC({width:23,height:23,viewBox:"0 0 23 23",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,eC||(eC=e.createElement("rect",{width:23,height:23,rx:11.5,fill:"#F44336"})),tC||(tC=e.createElement("path",{d:"M17.5519 14.5331L12.4085 6.65677C12.2215 6.36941 11.875 6.19238 11.5 6.19238C11.125 6.19238 10.7786 6.36956 10.5915 6.65677L5.44814 14.5331C5.26078 14.8199 5.26092 15.1733 5.44829 15.46C5.6358 15.7468 5.98209 15.9234 6.35667 15.9232H16.6433C17.0181 15.9233 17.3643 15.7468 17.5517 15.46C17.7391 15.1733 17.7392 14.8199 17.5519 14.5331ZM12.1193 14.7066H10.8809V13.4903H12.1193V14.7066ZM12.1193 8.62493V12.882H10.8809V8.62479L12.1193 8.62493Z",fill:"white"})))}var lC=e.forwardRef(sC),cC=(__webpack_require__.p,function(t){var o,i,a,s,l,c,u,d,p,f,h,b=t.privateMode,A=t.event,m=t.rooms,g={},v=Vs().duration(A.end-A.start).asMinutes(),y=Fc(),M=y.calendar,O=y.appointment,_=y.location,z=(0,e.useState)(!0),x=(0,n.Z)(z,2),w=x[0],C=x[1],S=(0,e.useContext)(bA);switch(null===A||void 0===A?void 0:A.extendedProps.status.slug){case"upcoming":g={backgroundColor:"#fff",borderColor:"#fff",fontSize:12,color:"#000000"};break;case"active":g={backgroundColor:"#fff",borderColor:"#fff",color:"#000000",Icon:(0,Kl.jsx)(qw.Z,{})};break;case"completed":case"arrived":g={backgroundColor:"#fff",borderColor:"#fff",color:"#000000"};break;case"not-show":case"cancelled":g={backgroundColor:"#cf6a87",borderColor:"#cf6a87",color:"#fff"};break;case"ready-to-be-seen":g={backgroundColor:"#fff",borderColor:"#cf6a87",color:"#000000"};break;case"unavailability":g={backgroundColor:"#f4c7ce",borderColor:"#f4c7ce",color:"#c80200"};break;case"break":g={backgroundColor:"#E9EAEF",borderColor:"#E9EAEF"};break;default:g={backgroundColor:"#E3FEFF"}}var E,k=(0,e.useMemo)((function(){var e,t,n,o,i;if(null===S||void 0===S||null===(e=S.clinic)||void 0===e||!e.locations)return[];var a=null===S||void 0===S||null===(t=S.clinic)||void 0===t||null===(n=t.locations)||void 0===n?void 0:n.find((function(e){return(null===e||void 0===e?void 0:e.id)===O.location})),s=null===S||void 0===S||null===(o=S.clinic)||void 0===o||null===(i=o.locations)||void 0===i?void 0:i.filter((function(e){return!(null!==e&&void 0!==e&&e.deleted_at)}));return null!==s&&void 0!==s&&s.find((function(e){return(null===e||void 0===e?void 0:e.id)===O.location}))?s:[].concat((0,r.Z)(s),[a])}),[null===S||void 0===S||null===(o=S.clinic)||void 0===o?void 0:o.locations,O.location]),D=function(){var e,t,n,r,o,i;return(null===(e=A.extendedProps.paymentItems)||void 0===e?void 0:e.length)>0?null===(r=A.extendedProps.paymentItems)||void 0===r?void 0:r.map((function(e,t){var n,r,o;return(0,Kl.jsx)(Ow.ZP,{title:"".concat(e.fullName),children:(0,Kl.jsx)("span",{style:{color:null!==(n=null===(r=e.treatmentType)||void 0===r||null===(o=r.category)||void 0===o?void 0:o.color)&&void 0!==n?n:"inherit"},children:e.fullName},"sn-".concat(t))})})):!(null===A||void 0===A||null===(t=A.extendedProps)||void 0===t||null===(n=t.treatmentTypes)||void 0===n||!n.length)>0?null===A||void 0===A||null===(o=A.extendedProps)||void 0===o||null===(i=o.treatmentTypes)||void 0===i?void 0:i.map((function(e,t){return(0,Kl.jsx)("span",{children:e},"sn-".concat(t))})):null},N=function(){return(0,Kl.jsx)(Ow.ZP,{title:"Appointment for ".concat(null===A||void 0===A?void 0:A.title," is set to different location: ").concat(k.filter((function(e){return(null===e||void 0===e?void 0:e.id)===(null===A||void 0===A?void 0:A.extendedProps.location)}))[0].address),arrow:!0,PopperProps:{style:{marginTop:-10}},children:(0,Kl.jsx)(lC,{width:15,style:{cursor:"pointer"}})})};return(0,e.useEffect)((function(){var e,t=m.filter((function(e){var t;return parseInt(e.id)===parseInt(null===A||void 0===A||null===(t=A.extendedProps)||void 0===t?void 0:t.staffId)}));t.length>0&&(parseInt(t[0].location)!==parseInt(null===A||void 0===A||null===(e=A.extendedProps)||void 0===e?void 0:e.location)&&C(!1))}),[m,null===A||void 0===A||null===(i=A.extendedProps)||void 0===i?void 0:i.location,M.location,M.date,M.refresh,O]),"break"===(null===A||void 0===A?void 0:A.extendedProps.status.slug)?(0,Kl.jsx)(Fw,{event:A,title:null!==(E=A.title)&&void 0!==E?E:"Break"}):(0,Kl.jsxs)("div",{className:"".concat(Rw.calendarEvent," ").concat(v<50?Rw.directionRow:""),style:Us({backgroundColor:null===(a=g)||void 0===a?void 0:a.backgroundColor,borderTopColor:null===(s=g)||void 0===s?void 0:s.borderColor,color:null===(l=g)||void 0===l?void 0:l.color,width:null===(c=g)||void 0===c?void 0:c.width},"unavailability"===(null===A||void 0===A?void 0:A.extendedProps.status.slug)?{justifyContent:(null===A||void 0===A||null===(u=A.title)||void 0===u?void 0:u.length)>25?"start":"center",display:"flex",flexDirection:"column"}:{}),onClick:function(){localStorage.setItem("isOnRightLocation",!1===w?"0":"1")},children:[(0,Kl.jsx)("div",{className:Rw.status,style:{background:function(){var e,t,n,r,o,i=100/(null!==(e=null===A||void 0===A||null===(t=A.extendedProps)||void 0===t||null===(n=t.treatmentCategories)||void 0===n?void 0:n.length)&&void 0!==e?e:0);return"\n    linear-gradient(\n      to bottom,\n      ".concat(null===A||void 0===A||null===(r=A.extendedProps)||void 0===r||null===(o=r.treatmentCategories)||void 0===o?void 0:o.reverse().map((function(e,t){var n,r;return"".concat(null!==(n=null===e||void 0===e?void 0:e.color)&&void 0!==n?n:"#000"," ").concat(i*t,"%, ").concat(null!==(r=null===e||void 0===e?void 0:e.color)&&void 0!==r?r:"#000"," ").concat(i*(t+1),"%")})),"\n    )\n    ")}()}}),(0,Kl.jsxs)("div",{className:Rw.calendarEventTop,style:Us({},"unavailability"===(null===A||void 0===A?void 0:A.extendedProps.status.slug)?{alignItems:(null===A||void 0===A||null===(d=A.title)||void 0===d?void 0:d.length)>25?"center":"start"}:{}),children:[(0,Kl.jsx)("div",{className:Rw.calendarEventHeader,children:(0,Kl.jsxs)(kl.Z,{children:[(0,Kl.jsxs)("span",{className:Rw.calendarEventDate,children:[Vs()(null===A||void 0===A?void 0:A.start).format("HH:mm")," "," - ",Vs()(null!==(p=null===A||void 0===A?void 0:A.end)&&void 0!==p?p:null===A||void 0===A?void 0:A.start).format("HH:mm")]}),!b&&(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)("span",{className:Rw.calendarEventPatientName,children:"unavailability"===(null===A||void 0===A?void 0:A.extendedProps.status.slug)?(0,Kl.jsxs)(Kl.Fragment,{children:["Unavailable"," ",D()]}):(null===A||void 0===A||null===(f=A.title)||void 0===f?void 0:f.length)>=11&&window.innerWidth<1155?(null===A||void 0===A?void 0:A.title.slice(0,7))+"...":null===A||void 0===A?void 0:A.title}),(0,Kl.jsx)("span",{children:(null===A||void 0===A?void 0:A.extendedProps.patientAppointmentsCount)<=1&&(0,Kl.jsx)(rC,{element:(0,Kl.jsx)(Iw,{}),screenSize:1600})})]})]})}),(0,Kl.jsx)("div",{className:Rw.calendarEventFooter})]}),"unavailability"!==(null===A||void 0===A?void 0:A.extendedProps.status.slug)&&!0!==b&&"yes"!==b&&(0,Kl.jsx)("div",{className:"".concat(Rw.calendarEventContent," ").concat(v>=25?Rw.pullDown:""),children:(0,Kl.jsx)(kl.Z,{children:(0,Kl.jsx)("span",{className:Rw.calendarEventServiceName,children:D()})})}),(0,Kl.jsxs)("div",{className:Rw.icon,children:[0===_.id?!1===w&&N():(null===A||void 0===A||null===(h=A.extendedProps)||void 0===h?void 0:h.location)!==(null===_||void 0===_?void 0:_.id)&&N(),(null===A||void 0===A?void 0:A.extendedProps.isMedicalHistoryCompleted)&&(0,Kl.jsx)(nC,{width:15}),"completed"===(null===A||void 0===A?void 0:A.extendedProps.status.slug)&&(0,Kl.jsx)(Qw,{width:15})]})]})}),uC={dialog:"appointmentDialog_dialog__JuqXa",container:"appointmentDialog_container__X8Sfu",eventsList:"appointmentDialog_eventsList__acjIu",dialogItem:"appointmentDialog_dialogItem__JIsat",dialogItemSelected:"appointmentDialog_dialogItemSelected__IIvHq",bookingUnavailable:"appointmentDialog_bookingUnavailable__UqCTN"},dC=[0,1,2,3,4,5,6,7,8,9,10],pC=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12];function fC(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=parseFloat(e);return"".concat(n/t).concat(String(e).replace(String(n),"")||"px")}var hC=e.forwardRef((function(t,n){var r=t.alignContent,o=void 0===r?"stretch":r,i=t.alignItems,a=void 0===i?"stretch":i,s=t.classes,l=t.className,c=t.component,u=void 0===c?"div":c,d=t.container,p=void 0!==d&&d,f=t.direction,h=void 0===f?"row":f,b=t.item,A=void 0!==b&&b,m=t.justify,g=t.justifyContent,v=void 0===g?"flex-start":g,y=t.lg,M=void 0!==y&&y,O=t.md,_=void 0!==O&&O,z=t.sm,x=void 0!==z&&z,w=t.spacing,C=void 0===w?0:w,S=t.wrap,E=void 0===S?"wrap":S,k=t.xl,D=void 0!==k&&k,N=t.xs,T=void 0!==N&&N,j=t.zeroMinWidth,B=void 0!==j&&j,L=(0,Uu.Z)(t,["alignContent","alignItems","classes","className","component","container","direction","item","justify","justifyContent","lg","md","sm","spacing","wrap","xl","xs","zeroMinWidth"]),R=(0,Zu.Z)(s.root,l,p&&[s.container,0!==C&&s["spacing-xs-".concat(String(C))]],A&&s.item,B&&s.zeroMinWidth,"row"!==h&&s["direction-xs-".concat(String(h))],"wrap"!==E&&s["wrap-xs-".concat(String(E))],"stretch"!==a&&s["align-items-xs-".concat(String(a))],"stretch"!==o&&s["align-content-xs-".concat(String(o))],"flex-start"!==(m||v)&&s["justify-content-xs-".concat(String(m||v))],!1!==T&&s["grid-xs-".concat(String(T))],!1!==x&&s["grid-sm-".concat(String(x))],!1!==_&&s["grid-md-".concat(String(_))],!1!==M&&s["grid-lg-".concat(String(M))],!1!==D&&s["grid-xl-".concat(String(D))]);return e.createElement(u,(0,Fu.Z)({className:R,ref:n},L))})),bC=(0,Hu.Z)((function(e){return(0,Fu.Z)({root:{},container:{boxSizing:"border-box",display:"flex",flexWrap:"wrap",width:"100%"},item:{boxSizing:"border-box",margin:"0"},zeroMinWidth:{minWidth:0},"direction-xs-column":{flexDirection:"column"},"direction-xs-column-reverse":{flexDirection:"column-reverse"},"direction-xs-row-reverse":{flexDirection:"row-reverse"},"wrap-xs-nowrap":{flexWrap:"nowrap"},"wrap-xs-wrap-reverse":{flexWrap:"wrap-reverse"},"align-items-xs-center":{alignItems:"center"},"align-items-xs-flex-start":{alignItems:"flex-start"},"align-items-xs-flex-end":{alignItems:"flex-end"},"align-items-xs-baseline":{alignItems:"baseline"},"align-content-xs-center":{alignContent:"center"},"align-content-xs-flex-start":{alignContent:"flex-start"},"align-content-xs-flex-end":{alignContent:"flex-end"},"align-content-xs-space-between":{alignContent:"space-between"},"align-content-xs-space-around":{alignContent:"space-around"},"justify-content-xs-center":{justifyContent:"center"},"justify-content-xs-flex-end":{justifyContent:"flex-end"},"justify-content-xs-space-between":{justifyContent:"space-between"},"justify-content-xs-space-around":{justifyContent:"space-around"},"justify-content-xs-space-evenly":{justifyContent:"space-evenly"}},function(e,t){var n={};return dC.forEach((function(r){var o=e.spacing(r);0!==o&&(n["spacing-".concat(t,"-").concat(r)]={margin:"-".concat(fC(o,2)),width:"calc(100% + ".concat(fC(o),")"),"& > $item":{padding:fC(o,2)}})})),n}(e,"xs"),e.breakpoints.keys.reduce((function(t,n){return function(e,t,n){var r={};pC.forEach((function(e){var t="grid-".concat(n,"-").concat(e);if(!0!==e)if("auto"!==e){var o="".concat(Math.round(e/12*1e8)/1e6,"%");r[t]={flexBasis:o,flexGrow:0,maxWidth:o}}else r[t]={flexBasis:"auto",flexGrow:0,maxWidth:"none"};else r[t]={flexBasis:0,flexGrow:1,maxWidth:"100%"}})),"xs"===n?(0,Fu.Z)(e,r):e[t.breakpoints.up(n)]=r}(t,e,n),t}),{}))}),{name:"MuiGrid"})(hC),AC=bC,mC={enter:Rd.x9.enteringScreen,exit:Rd.x9.leavingScreen},gC=e.forwardRef((function(t,n){var r=t.BackdropProps,o=t.children,i=t.classes,a=t.className,s=t.disableBackdropClick,l=void 0!==s&&s,c=t.disableEscapeKeyDown,u=void 0!==c&&c,d=t.fullScreen,p=void 0!==d&&d,f=t.fullWidth,h=void 0!==f&&f,b=t.maxWidth,A=void 0===b?"sm":b,m=t.onBackdropClick,g=t.onClose,v=t.onEnter,y=t.onEntered,M=t.onEntering,O=t.onEscapeKeyDown,_=t.onExit,z=t.onExited,x=t.onExiting,w=t.open,C=t.PaperComponent,S=void 0===C?Kd.Z:C,E=t.PaperProps,k=void 0===E?{}:E,D=t.scroll,N=void 0===D?"paper":D,T=t.TransitionComponent,j=void 0===T?Zd:T,B=t.transitionDuration,L=void 0===B?mC:B,R=t.TransitionProps,q=t["aria-describedby"],P=t["aria-labelledby"],I=(0,Uu.Z)(t,["BackdropProps","children","classes","className","disableBackdropClick","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","onEnter","onEntered","onEntering","onEscapeKeyDown","onExit","onExited","onExiting","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps","aria-describedby","aria-labelledby"]),W=e.useRef();return e.createElement(Bd.Z,(0,Fu.Z)({className:(0,Zu.Z)(i.root,a),BackdropComponent:$d,BackdropProps:(0,Fu.Z)({transitionDuration:L},r),closeAfterTransition:!0},l?{disableBackdropClick:l}:{},{disableEscapeKeyDown:u,onEscapeKeyDown:O,onClose:g,open:w,ref:n},I),e.createElement(j,(0,Fu.Z)({appear:!0,in:w,timeout:L,onEnter:v,onEntering:M,onEntered:y,onExit:_,onExiting:x,onExited:z,role:"none presentation"},R),e.createElement("div",{className:(0,Zu.Z)(i.container,i["scroll".concat((0,Jd.Z)(N))]),onMouseUp:function(e){e.target===e.currentTarget&&e.target===W.current&&(W.current=null,m&&m(e),!l&&g&&g(e,"backdropClick"))},onMouseDown:function(e){W.current=e.target}},e.createElement(S,(0,Fu.Z)({elevation:24,role:"dialog","aria-describedby":q,"aria-labelledby":P},k,{className:(0,Zu.Z)(i.paper,i["paperScroll".concat((0,Jd.Z)(N))],i["paperWidth".concat((0,Jd.Z)(String(A)))],k.className,p&&i.paperFullScreen,h&&i.paperFullWidth)}),o))))})),vC=(0,Hu.Z)((function(e){return{root:{"@media print":{position:"absolute !important"}},scrollPaper:{display:"flex",justifyContent:"center",alignItems:"center"},scrollBody:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}},container:{height:"100%","@media print":{height:"auto"},outline:0},paper:{margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},paperScrollPaper:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},paperScrollBody:{display:"inline-block",verticalAlign:"middle",textAlign:"left"},paperWidthFalse:{maxWidth:"calc(100% - 64px)"},paperWidthXs:{maxWidth:Math.max(e.breakpoints.values.xs,444),"&$paperScrollBody":(0,Ws.Z)({},e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64),{maxWidth:"calc(100% - 64px)"})},paperWidthSm:{maxWidth:e.breakpoints.values.sm,"&$paperScrollBody":(0,Ws.Z)({},e.breakpoints.down(e.breakpoints.values.sm+64),{maxWidth:"calc(100% - 64px)"})},paperWidthMd:{maxWidth:e.breakpoints.values.md,"&$paperScrollBody":(0,Ws.Z)({},e.breakpoints.down(e.breakpoints.values.md+64),{maxWidth:"calc(100% - 64px)"})},paperWidthLg:{maxWidth:e.breakpoints.values.lg,"&$paperScrollBody":(0,Ws.Z)({},e.breakpoints.down(e.breakpoints.values.lg+64),{maxWidth:"calc(100% - 64px)"})},paperWidthXl:{maxWidth:e.breakpoints.values.xl,"&$paperScrollBody":(0,Ws.Z)({},e.breakpoints.down(e.breakpoints.values.xl+64),{maxWidth:"calc(100% - 64px)"})},paperFullWidth:{width:"calc(100% - 64px)"},paperFullScreen:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,"&$paperScrollBody":{margin:0,maxWidth:"100%"}}}}),{name:"MuiDialog"})(gC),yC=e.forwardRef((function(t,n){var r=t.children,o=t.classes,i=t.className,a=t.disableTypography,s=void 0!==a&&a,l=(0,Uu.Z)(t,["children","classes","className","disableTypography"]);return e.createElement("div",(0,Fu.Z)({className:(0,Zu.Z)(o.root,i),ref:n},l),s?r:e.createElement(kl.Z,{component:"h2",variant:"h6"},r))})),MC=(0,Hu.Z)({root:{margin:0,padding:"16px 24px",flex:"0 0 auto"}},{name:"MuiDialogTitle"})(yC);var OC=__webpack_require__.p+"static/media/warning.456865e4d49cdbfc349ae0fb043f0373.svg";function _C(e){var t=e.description,n=e.onClick,r={mainBox:{background:"linear-gradient(to right, #B77E2C 0%, #B77E2C 100%, #DC9A3C 100%)",padding:"20px",maxWidth:"480px"},message:{color:"#fff",textAlign:"center",display:"block"},header:{marginBottom:"15px",display:"inline-flex",width:"100%"},image:{marginRight:"8px"},buttonHolder:{textAlign:"right",marginTop:"15px"},button:{boxShadow:"none",border:"none",padding:"8px 20px",borderRadius:"15px",fontSize:"14px",cursor:"pointer"}};return(0,Kl.jsxs)("div",{className:"warning-message",style:r.mainBox,children:[(0,Kl.jsxs)("div",{className:"warning-header",style:r.header,children:[(0,Kl.jsx)("img",{src:OC,style:r.image}),(0,Kl.jsx)("p",{children:"WARNING"})]}),(0,Kl.jsx)("span",{style:r.message,children:t}),(0,Kl.jsx)("div",{style:r.buttonHolder,children:(0,Kl.jsx)("button",{onClick:n,style:r.button,children:"Acknowledge"})})]})}var zC,xC,wC=function(e){var t=e.slug,n=e.name,r=e.onClickButton,o=e.selected;return(0,Kl.jsx)(AC,{item:!0,xs:6,container:!0,justifyContent:"center",alignContent:"center",children:(0,Kl.jsx)(qb.Z,{focusRipple:!0,className:[uC.dialogItem,o&&uC.dialogItemSelected].join(" "),onClick:function(){return r(t)},children:(0,Kl.jsx)(kl.Z,{children:n})})})},CC=$l((function(t){var r,o=t.dialogOpen,i=t.setDialogOpen,a=t.unavailableHours,s=Fc(),l=s.appointment,c=s.appointmentDoctor,u=(0,e.useState)(!1),d=(0,n.Z)(u,2),p=d[0],f=d[1],h=(0,e.useContext)(bA),b=he(),A=function(e){l.toggleType(e)},m=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t,n,r;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get("/v1/appointment-type",{params:{clinic_id:h.clinic.id}});case 2:t=e.sent,n=t.data,r=n.data.filter((function(e){return!e.is_hidden})).map((function(e){return Us(Us({},e),{},{selected:!1})})),l.setTypes(r);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();(0,e.useEffect)((function(){var e=Vs()(l.startDate),t=(Vs()(l.endDate),a.filter((function(e){return e.doctor.id===l.doctor.id})));if(t.length>0){var n=Vs()(t[0].start),r=Vs()(t[0].end),o=n.clone().subtract(10,"minutes");e<=n&&e>=o||e>=n&&e<r?f(!0):(f(!1),l.setTypes([]),m())}else f(!1),l.setTypes([]),m()}),[]);var g=(0,e.useMemo)((function(){return 0===l.selectedTypes.length}),[l.selectedTypes]),v=function(){f(!1),l.setTypes([]),m()};return(0,Kl.jsx)(vC,{onClose:function(){i(!1)},"aria-labelledby":"simple-dialog-title",open:o,PaperProps:{style:{borderRadius:15}},children:(0,Kl.jsx)("div",{className:"".concat(uC.container," ").concat(p?uC.bookingUnavailable:""),children:0===l.types.length?!0===p?(0,Kl.jsx)(_C,{onClick:v,description:"The selected time conflicts with an existing reservation. There's a possibility the specialist may not be available at this time. Please choose a different time slot to ensure your reservation."}):(0,Kl.jsx)(Gh.Z,{}):(0,Kl.jsx)(Kl.Fragment,{children:!0===p?(0,Kl.jsx)(_C,{onClick:v,description:"The selected time conflicts with an existing reservation. There's a possibility the specialist may not be available at this time. Please choose a different time slot to ensure your reservation."}):(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(MC,{id:"simple-dialog-title",children:"Select"}),(0,Kl.jsx)(AC,{container:!0,spacing:2,className:uC.eventsList,children:null===l||void 0===l||null===(r=l.types)||void 0===r?void 0:r.map((function(e,t){return(0,Kl.jsx)(wC,{name:e.name,onClickButton:A,index:t,slug:e.slug,selected:e.selected},"dialogItem_".concat(t))}))}),(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",onClick:function(){i(!1),c.payment.setSelectedProducts([]),b("/calendar/appointment")},disabled:g,children:"Confirm Selected"})]})})})})})),SC=CC,EC="date-selector_container__7PK6l",kC=["title","titleId"];function DC(){return DC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},DC.apply(this,arguments)}function NC(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function TC(t,n){var r=t.title,o=t.titleId,i=NC(t,kC);return e.createElement("svg",DC({width:25,height:25,viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,zC||(zC=e.createElement("path",{d:"M20.78 10.27C20.78 4.74999 16.3 0.269989 10.78 0.269989C5.26003 0.269989 0.780029 4.74999 0.780029 10.27C0.780029 15.79 5.26003 20.27 10.78 20.27C16.3 20.27 20.78 15.79 20.78 10.27ZM19.53 10.27C19.53 15.1 15.6 19.04 10.78 19.04C5.95003 19.04 2.03003 15.1 2.03003 10.27C2.03003 5.44999 5.95003 1.51999 10.78 1.51999C15.61 1.51999 19.53 5.44999 19.53 10.27Z",fill:"#AAB6BE"})),xC||(xC=e.createElement("path",{d:"M13.7299 10.73C13.9699 10.49 13.9699 10.08 13.7299 9.84L9.41999 5.47C9.17999 5.22 8.77999 5.22 8.53999 5.47C8.29999 5.72 8.29999 6.12 8.53999 6.36L12.41 10.29L8.53999 14.22C8.29999 14.47 8.29999 14.87 8.53999 15.11C8.77999 15.36 9.17999 15.36 9.41999 15.11L13.7299 10.73Z",fill:"#AAB6BE"})))}var jC,BC=e.forwardRef(TC),LC=(__webpack_require__.p,["title","titleId"]);function RC(){return RC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},RC.apply(this,arguments)}function qC(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function PC(t,n){var r=t.title,o=t.titleId,i=qC(t,LC);return e.createElement("svg",RC({width:25,height:25,viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,jC||(jC=e.createElement("g",{opacity:.5},e.createElement("path",{d:"M20.54 10.27C20.54 4.74999 16.06 0.269989 10.54 0.269989C5.02004 0.269989 0.540039 4.74999 0.540039 10.27C0.540039 15.79 5.02004 20.27 10.54 20.27C16.06 20.27 20.54 15.79 20.54 10.27ZM19.29 10.27C19.29 15.1 15.36 19.04 10.54 19.04C5.71004 19.04 1.79004 15.1 1.79004 10.27C1.79004 5.44999 5.71004 1.51999 10.54 1.51999C15.37 1.51999 19.29 5.44999 19.29 10.27Z",fill:"#AAB6BE"}),e.createElement("path",{d:"M14.84 10.73C15.08 10.49 15.08 10.08 14.84 9.84L10.53 5.47C10.29 5.22 9.88997 5.22 9.64997 5.47C9.40997 5.72 9.40997 6.12 9.64997 6.36L13.52 10.29L9.64997 14.22C9.40997 14.47 9.40997 14.87 9.64997 15.11C9.88997 15.36 10.29 15.36 10.53 15.11L14.84 10.73Z",fill:"#AAB6BE"}),e.createElement("path",{d:"M11.44 10.73C11.68 10.49 11.68 10.08 11.44 9.84L7.12995 5.47C6.88995 5.22 6.48995 5.22 6.24995 5.47C6.00995 5.72 6.00995 6.12 6.24995 6.36L10.1199 10.29L6.24995 14.22C6.00995 14.47 6.00995 14.87 6.24995 15.11C6.48995 15.36 6.88995 15.36 7.12995 15.11L11.44 10.73Z",fill:"#AAB6BE"}))))}var IC,WC,FC=e.forwardRef(PC),UC=(__webpack_require__.p,["title","titleId"]);function ZC(){return ZC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ZC.apply(this,arguments)}function HC(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function $C(t,n){var r=t.title,o=t.titleId,i=HC(t,UC);return e.createElement("svg",ZC({width:25,height:25,viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,IC||(IC=e.createElement("path",{d:"M0.230042 10.27C0.230042 15.79 4.71004 20.27 10.23 20.27C15.75 20.27 20.23 15.79 20.23 10.27C20.23 4.74999 15.75 0.269989 10.23 0.269989C4.71004 0.269989 0.230042 4.74999 0.230042 10.27ZM1.48004 10.27C1.48004 5.43999 5.41004 1.49999 10.23 1.49999C15.05 1.49999 18.98 5.43999 18.98 10.27C18.98 15.1 15.06 19.02 10.23 19.02C5.40004 19.02 1.48004 15.09 1.48004 10.27Z",fill:"#AAB6BE"})),WC||(WC=e.createElement("path",{d:"M7.29005 9.82001C7.05005 10.06 7.05005 10.47 7.29005 10.71L11.6 15.08C11.84 15.33 12.24 15.33 12.48 15.08C12.72 14.83 12.72 14.43 12.48 14.19L8.61005 10.26L12.48 6.33001C12.72 6.08001 12.72 5.68 12.48 5.44C12.24 5.19 11.84 5.19 11.6 5.44L7.29005 9.82001Z",fill:"#AAB6BE"})))}var VC,XC=e.forwardRef($C),QC=(__webpack_require__.p,["title","titleId"]);function YC(){return YC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},YC.apply(this,arguments)}function GC(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function KC(t,n){var r=t.title,o=t.titleId,i=GC(t,QC);return e.createElement("svg",YC({width:25,height:25,viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,VC||(VC=e.createElement("g",{opacity:.5},e.createElement("path",{d:"M0.480042 10.27C0.480042 15.79 4.96004 20.27 10.48 20.27C16 20.27 20.48 15.79 20.48 10.27C20.48 4.74999 16 0.269989 10.48 0.269989C4.96004 0.269989 0.480042 4.74999 0.480042 10.27ZM1.73004 10.27C1.73004 5.43999 5.66004 1.49999 10.48 1.49999C15.3 1.49999 19.23 5.43999 19.23 10.27C19.23 15.09 15.31 19.02 10.48 19.02C5.65004 19.02 1.73004 15.09 1.73004 10.27Z",fill:"#AAB6BE"}),e.createElement("path",{d:"M6.18006 9.82001C5.94006 10.06 5.94006 10.47 6.18006 10.71L10.4901 15.08C10.7301 15.33 11.1301 15.33 11.3701 15.08C11.6101 14.83 11.6101 14.43 11.3701 14.19L7.50001 10.26L11.3701 6.33001C11.6101 6.08001 11.6101 5.68 11.3701 5.44C11.1301 5.19 10.7301 5.19 10.4901 5.44L6.18006 9.82001Z",fill:"#AAB6BE"}),e.createElement("path",{d:"M9.57001 9.82001C9.33001 10.06 9.33001 10.47 9.57001 10.71L13.88 15.08C14.12 15.33 14.52 15.33 14.76 15.08C15 14.83 15 14.43 14.76 14.19L10.89 10.26L14.76 6.33001C15 6.08001 15 5.68 14.76 5.44C14.52 5.19 14.12 5.19 13.88 5.44L9.57001 9.82001Z",fill:"#AAB6BE"}))))}var JC=e.forwardRef(KC),eS=(__webpack_require__.p,function(t){var r=t.date,o=t.setDate,i=t.calendarRef,a=t.updateDates,s=(t.tab,t.setTab),l=(t.color,(0,e.useState)(0)),c=(0,n.Z)(l,2),u=(c[0],c[1]),d=(0,e.useState)([]),p=(0,n.Z)(d,2),f=p[0],h=p[1],b=Fc().navigation,A=(0,e.useCallback)((function(e){return Vs()(e).format("ddd D")}),[]),m=(0,e.useMemo)((function(){return Vs()().format("ddd D")}),[]),g=(0,e.useCallback)((function(e){return A(e)===m}),[A,m]);(0,e.useEffect)((function(){for(var e=Vs()(),t=[],n=-3;n<=3;n++){var r=Vs()(e).add(n,"days");t.push(r.toDate())}h(t)}),[]),(0,e.useEffect)((function(){var e=Vs()();a(e,!0)}),[r]),(0,e.useEffect)((function(){var e=f.findIndex((function(e){return Vs()(e).format("YYYY-MM-DD")===Vs()(r).format("YYYY-MM-DD")}));s(e+1)}),[r,f]);(0,e.useEffect)((function(){var e,t=Vs()();Vs()(null===i||void 0===i||null===(e=i.current)||void 0===e?void 0:e.getApi().getDate()).format("ddd D")===t.format("ddd D")&&function(e){for(var t=[],n=-3;n<=3;n++){var r=Vs()(e).add(n,"days");t.push(r.toDate())}h(t)}(t)}),[r]),(0,e.useEffect)((function(){for(var e=[],t=-3;t<=3;t++){var n=Vs()(r).add(t,"days");e.push(n.toDate())}h(e)}),[r,h]);var v=function(e,t){var n=t[e-1];s(e);var r=Vs()(n).format("YYYY-MM-DDTHH:mm");if(o(r),i){i.current.getApi().gotoDate(r),u(0);for(var a=[],l=-3;l<=3;l++){var c=Vs()(n).add(l,"days");a.push(c.toDate())}h(a),s(4)}},y=function(e){var t;return Vs()(null===i||void 0===i||null===(t=i.current)||void 0===t?void 0:t.getApi().getDate()).format("ddd D")===Vs()(e).format("ddd D")?"active-day":""},M=function(e,t,n){var o=Vs()(r).subtract(e,t);"add"===n&&(o=Vs()(r).add(e,t));for(var i=[],a=-3;a<=3;a++){var l=Vs()(o).add(a,"days");i.push(l.toDate())}h(i),s(4),v(4,i)};return(0,Kl.jsx)(Kl.Fragment,{children:(0,Kl.jsxs)("div",{className:"".concat(EC," days-navigation-wrapper ").concat(b.open?"nav-opened":""),children:[(0,Kl.jsx)(wd.Z,{color:"primary","aria-label":"Sub week",component:"span",style:{padding:0},onClick:function(){M(1,"weeks","subtract")},children:(0,Kl.jsx)(JC,{})}),(0,Kl.jsx)(wd.Z,{color:"primary","aria-label":"Sub day",component:"span",style:{padding:0},onClick:function(){for(var e=Vs()(f[0]).subtract(7,"days"),t=[],n=0;n<7;n++){var r=Vs()(e).add(n,"days");t.push(r.toDate())}h(t),s(4),v(4,t)},children:(0,Kl.jsx)(XC,{})}),f.map((function(e,t){return(0,Kl.jsx)("div",{style:{position:"relative"},children:(0,Kl.jsx)(zd.Z,{size:"small",className:"".concat(""!==y(e)?"active-day":""),style:{whiteSpace:"nowrap"},onClick:function(){return v(f.findIndex((function(t){return t===e}))+1,f)},children:g(e)?"today":A(e)})},t)})),(0,Kl.jsx)(wd.Z,{color:"primary","aria-label":"Add day",component:"span",style:{padding:0},onClick:function(){for(var e=Vs()(f[6]).add(1,"days"),t=[],n=0;n<7;n++){var r=Vs()(e).add(n,"days");t.push(r.toDate())}h(t),s(4),v(4,t)},children:(0,Kl.jsx)(BC,{})}),(0,Kl.jsx)(wd.Z,{color:"primary","aria-label":"Add week",component:"span",style:{padding:0},onClick:function(){M(1,"weeks","add")},children:(0,Kl.jsx)(FC,{})})]})})}),tS="toolbar_toolbar__GrnnR",nS="toolbar_toolbar_weekly__nX-N4",rS=__webpack_require__(90431),oS=__webpack_require__(56446),iS=__webpack_require__(30358),aS=(0,iS.Z)((function(e){return{root:{width:28,height:15,padding:0,display:"flex",overflow:"visible",marginRight:10},switchBase:{padding:2,color:e.palette.grey[500],"&$checked":{transform:"translateX(12px)",color:e.palette.common.white,"& + $track":{opacity:1,backgroundColor:e.palette.primary.main,borderColor:e.palette.primary.main}}},thumb:{width:12,height:12,boxShadow:"none"},track:{border:"1px solid ".concat(e.palette.grey[500]),borderRadius:8,opacity:1,backgroundColor:e.palette.common.white},checked:{}}}))(rS.Z),sS=function(e){var t=e.filter,n=e.setFilter;return(0,Kl.jsx)("div",{style:{position:"absolute",right:"22px",zIndex:99},className:"right-calendar-controls",children:(0,Kl.jsx)(oS.Z,{control:(0,Kl.jsx)(aS,{checked:!t,onChange:function(){n(!t),t?localStorage.removeItem("aestheti_working_filter"):localStorage.setItem("aestheti_working_filter","yes")},name:"checkedC"}),label:"non-working staff"})})},lS=function(){var e=Fc().calendar;return{changeCalendarViewType:function(t){var n,r,o,i;"weekly"===t&&(null===e||void 0===e||null===(n=e.ref)||void 0===n||null===(r=n.current)||void 0===r||r.getApi().changeView("timeGridWeek"),e.setView("timeGridWeek"),localStorage.setItem("aestheti_view","timeGridWeek"));"daily"===t&&(null===e||void 0===e||null===(o=e.ref)||void 0===o||null===(i=o.current)||void 0===i||i.getApi().changeView("resourceTimeGridDay"),e.setView("resourceTimeGridDay"),localStorage.setItem("aestheti_view","resourceTimeGridDay"))},changeDate:function(t){var n,r,o=Vs()(t).format("YYYY-MM-DDTHH:mm");(e.setDate(o),e.updateDates(t),null!==e&&void 0!==e&&e.ref)&&(null===e||void 0===e||null===(n=e.ref)||void 0===n||null===(r=n.current)||void 0===r||r.getApi().gotoDate(o))},handleViewChange:function(t){var n,r,o=null===e||void 0===e||null===(n=e.ref)||void 0===n||null===(r=n.current)||void 0===r?void 0:r.getApi(),i=null===o||void 0===o?void 0:o.getOption("slotDuration");localStorage.getItem("aestheti_slot_duration")&&(i=localStorage.getItem("aestheti_slot_duration")),"00:30:00"===i?(i="01:00:00",localStorage.setItem("aestheti_slot_duration","01:00:00")):(i="00:30:00",localStorage.setItem("aestheti_slot_duration","00:30:00")),null===o||void 0===o||o.setOption("slotDuration",i),null===o||void 0===o||o.changeView(t)},getWeekDaysByNumber:function(e,t){var n=Vs()().year(e).isoWeek(t).startOf("isoWeek"),r=Vs()().year(e).isoWeek(t).endOf("isoWeek");return{start:n.format("MMM D"),end:r.format("MMM D"),date:n.format("MMM D YYYY")}},isCurrentWeek:function(e){var t=Vs()(),n=Vs()(e.start,"MMM D"),r=Vs()(e.end,"MMM D");return t.isBetween(n,r,null,"[]")}}},cS=$l((function(){var e=lS().changeCalendarViewType,t=Fc().calendar,n={mainWrapper:{display:"inline-flex",position:"absolute",zIndex:99},holder:{background:"#EBEEF7",padding:"7px",borderRadius:5,width:129,height:22},firstButton:{cursor:"pointer",fontSize:12,marginRight:8,position:"relative",padding:"4px 11px"},secondButton:{cursor:"pointer",fontSize:12,position:"relative",padding:"4px 15px"}};return(0,Kl.jsx)("div",{className:"calendar-views-main-holder ".concat("timeGridWeek"===(null===t||void 0===t?void 0:t.view)?"weekly":""),style:n.mainWrapper,children:(0,Kl.jsx)("div",{className:"switcher-holder",style:n.holder,children:(0,Kl.jsxs)("div",{style:{position:"absolute",left:7},children:[(0,Kl.jsx)("span",{className:"resourceTimeGridDay"===t.view?"view-active":"",style:n.firstButton,onClick:function(){"resourceTimeGridDay"===t.view?e("weekly"):e("daily")},children:"Daily"}),(0,Kl.jsx)("span",{className:"resourceTimeGridDay"!==t.view?"view-active":"",style:n.secondButton,onClick:function(){"resourceTimeGridDay"===t.view?e("weekly"):e("daily")},children:"Weekly"})]})})})})),uS=cS,dS=$l((function(e){var t=e.filter,n=e.setFilter,r=Fc().calendar;return console.log("calendar"),(0,Kl.jsx)("div",{style:{overflow:"auto"},children:(0,Kl.jsxs)(AC,{container:!0,direction:"row",alignItems:"center",justifyContent:"space-between",className:"".concat(tS," ").concat("timeGridWeek"===(null===r||void 0===r?void 0:r.view)?nS:""),children:[(0,Kl.jsx)(uS,{}),"timeGridWeek"!==r.view&&(0,Kl.jsx)(eS,{date:r.date,setDate:r.setDate,calendarRef:r.ref,scrollButtons:"off",updateDates:r.updateDates,tab:r.tab,setTab:r.setTab}),(0,Kl.jsx)(sS,{filter:t,setFilter:n})]})})})),pS=dS,fS=e.forwardRef((function(t,n){var r=t.classes,o=t.className,i=t.raised,a=void 0!==i&&i,s=(0,Uu.Z)(t,["classes","className","raised"]);return e.createElement(Kd.Z,(0,Fu.Z)({className:(0,Zu.Z)(r.root,o),elevation:a?8:1,ref:n},s))})),hS=(0,Hu.Z)({root:{overflow:"hidden"}},{name:"MuiCard"})(fS),bS=e.forwardRef((function(t,n){var r=t.classes,o=t.className,i=t.component,a=void 0===i?"div":i,s=(0,Uu.Z)(t,["classes","className","component"]);return e.createElement(a,(0,Fu.Z)({className:(0,Zu.Z)(r.root,o),ref:n},s))})),AS=(0,Hu.Z)({root:{padding:16,"&:last-child":{paddingBottom:24}}},{name:"MuiCardContent"})(bS),mS=function(e){var t=e.popperModalOpen,n=e.setPopperModalOpen,r=e.setDialogOpen,o=he(),i=function(){n(!1)};return(0,Kl.jsx)(vC,{onClose:i,"aria-labelledby":"simple-dialog-title",open:t,PaperProps:{style:{borderRadius:15}},children:(0,Kl.jsx)(hS,{children:(0,Kl.jsx)(AS,{style:{backgroundColor:"#eff0f6"},children:(0,Kl.jsxs)(AC,{container:!0,spacing:2,direction:"row",children:[(0,Kl.jsx)(AC,{item:!0,xs:!0,children:(0,Kl.jsx)(zd.Z,{variant:"outlined",color:"primary",onClick:function(){i(),o("/calendar/unavailability")},fullWidth:!0,style:{whiteSpace:"nowrap",minWidth:"auto"},children:(0,Kl.jsx)("span",{style:{whiteSpace:"nowrap"},children:"Unavailability"})})}),(0,Kl.jsx)(AC,{item:!0,xs:!0,children:(0,Kl.jsx)(zd.Z,{variant:"outlined",color:"primary",onClick:function(){i(),r(!0)},fullWidth:!0,style:{whiteSpace:"nowrap",minWidth:"auto"},children:"New Booking"})})]})})})})},gS="calendarWeekLabel_calendarLabel__3cgdT",vS=__webpack_require__(9930),yS=$l((function(e){var t=e.date,n=e.onClickAdd,r=Fc().appointment;return(0,Kl.jsxs)("div",{className:gS,children:[(0,Kl.jsx)(kl.Z,{variant:"body1",children:(0,Kl.jsx)("b",{children:Vs()(t).format("MMM DD YYYY")})}),(0,Kl.jsx)(wd.Z,{"aria-label":"delete",type:"button",onClick:function(e){return function(e){var o=Vs()(t).format("YYYY-MM-DD"),i=Vs()().format("HH:mm"),a=Vs()("".concat(o," ").concat(i)).format("YYYY-MM-DDTHH:mm");r.setStartDate(a),n(null,0,"","","",[])}()},children:(0,Kl.jsx)(vS.Z,{})})]})})),MS=yS,OS=__webpack_require__(88137),_S=e.forwardRef((function(t,r){var o=t.children,i=t.classes,a=t.className,s=t.collapsedHeight,l=t.collapsedSize,c=void 0===l?"0px":l,u=t.component,d=void 0===u?"div":u,p=t.disableStrictModeCompat,f=void 0!==p&&p,h=t.in,b=t.onEnter,A=t.onEntered,m=t.onEntering,g=t.onExit,v=t.onExited,y=t.onExiting,M=t.style,O=t.timeout,_=void 0===O?Rd.x9.standard:O,z=t.TransitionComponent,x=void 0===z?Ld.ZP:z,w=(0,Uu.Z)(t,["children","classes","className","collapsedHeight","collapsedSize","component","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),C=(0,qd.Z)(),S=e.useRef(),E=e.useRef(null),k=e.useRef(),D="number"===typeof(s||c)?"".concat(s||c,"px"):s||c;e.useEffect((function(){return function(){clearTimeout(S.current)}}),[]);var N=C.unstable_strictMode&&!f,T=e.useRef(null),j=(0,Id.Z)(r,N?T:void 0),B=function(e){return function(t,r){if(e){var o=N?[T.current,t]:[t,r],i=(0,n.Z)(o,2),a=i[0],s=i[1];void 0===s?e(a):e(a,s)}}},L=B((function(e,t){e.style.height=D,b&&b(e,t)})),R=B((function(e,t){var n=E.current?E.current.clientHeight:0,r=(0,Pd.C)({style:M,timeout:_},{mode:"enter"}).duration;if("auto"===_){var o=C.transitions.getAutoHeightDuration(n);e.style.transitionDuration="".concat(o,"ms"),k.current=o}else e.style.transitionDuration="string"===typeof r?r:"".concat(r,"ms");e.style.height="".concat(n,"px"),m&&m(e,t)})),q=B((function(e,t){e.style.height="auto",A&&A(e,t)})),P=B((function(e){var t=E.current?E.current.clientHeight:0;e.style.height="".concat(t,"px"),g&&g(e)})),I=B(v),W=B((function(e){var t=E.current?E.current.clientHeight:0,n=(0,Pd.C)({style:M,timeout:_},{mode:"exit"}).duration;if("auto"===_){var r=C.transitions.getAutoHeightDuration(t);e.style.transitionDuration="".concat(r,"ms"),k.current=r}else e.style.transitionDuration="string"===typeof n?n:"".concat(n,"ms");e.style.height=D,y&&y(e)}));return e.createElement(x,(0,Fu.Z)({in:h,onEnter:L,onEntered:q,onEntering:R,onExit:P,onExited:I,onExiting:W,addEndListener:function(e,t){var n=N?e:t;"auto"===_&&(S.current=setTimeout(n,k.current||0))},nodeRef:N?T:void 0,timeout:"auto"===_?null:_},w),(function(t,n){return e.createElement(d,(0,Fu.Z)({className:(0,Zu.Z)(i.root,i.container,a,{entered:i.entered,exited:!h&&"0px"===D&&i.hidden}[t]),style:(0,Fu.Z)({minHeight:D},M),ref:j},n),e.createElement("div",{className:i.wrapper,ref:E},e.createElement("div",{className:i.wrapperInner},o)))}))}));_S.muiSupportAuto=!0;var zS=(0,Hu.Z)((function(e){return{root:{height:0,overflow:"hidden",transition:e.transitions.create("height")},entered:{height:"auto",overflow:"visible"},hidden:{visibility:"hidden"},wrapper:{display:"flex"},wrapperInner:{width:"100%"}}}),{name:"MuiCollapse"})(_S),xS=__webpack_require__(19828);__webpack_require__(67861);function wS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function CS(){return CS=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},CS.apply(this,arguments)}function SS(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var ES=e.createContext(),kS={root:{},anchorOriginTopCenter:{},anchorOriginBottomCenter:{},anchorOriginTopRight:{},anchorOriginBottomRight:{},anchorOriginTopLeft:{},anchorOriginBottomLeft:{}},DS={containerRoot:{},containerAnchorOriginTopCenter:{},containerAnchorOriginBottomCenter:{},containerAnchorOriginTopRight:{},containerAnchorOriginBottomRight:{},containerAnchorOriginTopLeft:{},containerAnchorOriginBottomLeft:{}},NS={default:20,dense:4},TS={default:6,dense:2},jS={maxSnack:3,dense:!1,hideIconVariant:!1,variant:"default",autoHideDuration:5e3,anchorOrigin:{vertical:"bottom",horizontal:"left"},TransitionComponent:Gd,transitionDuration:{enter:225,exit:195}},BS=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},LS=function(e){return Object.keys(e).filter((function(e){return!DS[e]})).reduce((function(t,n){var r;return CS({},t,((r={})[n]=e[n],r))}),{})},RS={TIMEOUT:"timeout",CLICKAWAY:"clickaway",MAXSNACK:"maxsnack",INSTRUCTED:"instructed"},qS=function(e){return"containerAnchorOrigin"+e},PS=function(e){var t=e.vertical,n=e.horizontal;return"anchorOrigin"+BS(t)+BS(n)},IS=function(e){return"variant"+BS(e)},WS=function(e){return!!e||0===e},FS=function(e){return"number"===typeof e||null===e};function US(e,t,n){return void 0===e&&(e={}),void 0===t&&(t={}),void 0===n&&(n={}),CS({},n,{},t,{},e)}var ZS=function(e){var t;return(0,OS.Z)({root:(t={display:"flex",flexWrap:"wrap",flexGrow:1},t[e.breakpoints.up("sm")]={flexGrow:"initial",minWidth:288},t)})},HS=(0,e.forwardRef)((function(t,n){var r=t.classes,o=t.className,i=SS(t,["classes","className"]);return e.createElement("div",Object.assign({ref:n,className:(0,Zu.Z)(r.root,o)},i))})),$S=(0,Hu.Z)(ZS)(HS),VS={right:"left",left:"right",bottom:"up",top:"down"},XS=function(e){return"center"!==e.horizontal?VS[e.horizontal]:VS[e.vertical]},QS=function(t){return e.createElement(Gl.Z,Object.assign({},t),e.createElement("path",{d:"M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41\n        10.59L10 14.17L17.59 6.58L19 8L10 17Z"}))},YS=function(t){return e.createElement(Gl.Z,Object.assign({},t),e.createElement("path",{d:"M13,14H11V10H13M13,18H11V16H13M1,21H23L12,2L1,21Z"}))},GS=function(t){return e.createElement(Gl.Z,Object.assign({},t),e.createElement("path",{d:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,\n        6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,\n        13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z"}))},KS=function(t){return e.createElement(Gl.Z,Object.assign({},t),e.createElement("path",{d:"M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,\n        0 22,12A10,10 0 0,0 12,2Z"}))},JS={fontSize:20,marginInlineEnd:8},eE={default:void 0,success:e.createElement(QS,{style:JS}),warning:e.createElement(YS,{style:JS}),error:e.createElement(GS,{style:JS}),info:e.createElement(KS,{style:JS})};function tE(e,t){return e.reduce((function(e,n){return null==n?e:function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];var a=[].concat(o);t&&-1===a.indexOf(t)&&a.push(t),e.apply(this,a),n.apply(this,a)}}),(function(){}))}var nE="undefined"!==typeof window?e.useLayoutEffect:e.useEffect;function rE(t){var n=(0,e.useRef)(t);return nE((function(){n.current=t})),(0,e.useCallback)((function(){return n.current.apply(void 0,arguments)}),[])}var oE=(0,e.forwardRef)((function(t,n){var r=t.children,o=t.autoHideDuration,i=t.ClickAwayListenerProps,a=t.disableWindowBlurListener,s=void 0!==a&&a,l=t.onClose,c=t.onMouseEnter,u=t.onMouseLeave,d=t.open,p=t.resumeHideDuration,f=SS(t,["children","autoHideDuration","ClickAwayListenerProps","disableWindowBlurListener","onClose","onMouseEnter","onMouseLeave","open","resumeHideDuration"]),h=(0,e.useRef)(),b=rE((function(){l&&l.apply(void 0,arguments)})),A=rE((function(e){l&&null!=e&&(clearTimeout(h.current),h.current=setTimeout((function(){b(null,RS.TIMEOUT)}),e))}));(0,e.useEffect)((function(){return d&&A(o),function(){clearTimeout(h.current)}}),[d,o,A]);var m=function(){clearTimeout(h.current)},g=(0,e.useCallback)((function(){null!=o&&A(null!=p?p:.5*o)}),[o,p,A]);return(0,e.useEffect)((function(){if(!s&&d)return window.addEventListener("focus",g),window.addEventListener("blur",m),function(){window.removeEventListener("focus",g),window.removeEventListener("blur",m)}}),[s,g,d]),(0,e.createElement)(xS.Z,CS({onClickAway:function(e){l&&l(e,RS.CLICKAWAY)}},i),(0,e.createElement)("div",CS({onMouseEnter:function(e){c&&c(e),m()},onMouseLeave:function(e){u&&u(e),g()},ref:n},f),r))})),iE=function(e){var t=e.palette.mode||e.palette.type,n=(0,Bp._4)(e.palette.background.default,"light"===t?.8:.98);return(0,OS.Z)(CS({},kS,{contentRoot:CS({},e.typography.body2,{backgroundColor:n,color:e.palette.getContrastText(n),alignItems:"center",padding:"6px 16px",borderRadius:"4px",boxShadow:"0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)"}),lessPadding:{paddingLeft:20},variantSuccess:{backgroundColor:"#43a047",color:"#fff"},variantError:{backgroundColor:"#d32f2f",color:"#fff"},variantInfo:{backgroundColor:"#2196f3",color:"#fff"},variantWarning:{backgroundColor:"#ff9800",color:"#fff"},message:{display:"flex",alignItems:"center",padding:"8px 0"},action:{display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8},wrappedRoot:{position:"relative",transform:"translateX(0)",top:0,right:0,bottom:0,left:0}}))},aE=function(t){var n=t.classes,r=SS(t,["classes"]),o=(0,e.useRef)(),i=(0,e.useState)(!0),a=i[0],s=i[1];(0,e.useEffect)((function(){return function(){o.current&&clearTimeout(o.current)}}),[]);var l=tE([r.snack.onClose,r.onClose],r.snack.key),c=r.style,u=r.ariaAttributes,d=r.className,p=r.hideIconVariant,f=r.iconVariant,h=r.snack,b=r.action,A=r.content,m=r.TransitionComponent,g=r.TransitionProps,v=r.transitionDuration,y=SS(r,["style","dense","ariaAttributes","className","hideIconVariant","iconVariant","snack","action","content","TransitionComponent","TransitionProps","transitionDuration","onEnter","onEntered","onEntering","onExit","onExited","onExiting"]),M=h.key,O=h.open,_=h.className,z=h.variant,x=h.content,w=h.action,C=h.ariaAttributes,S=h.anchorOrigin,E=h.message,k=h.TransitionComponent,D=h.TransitionProps,N=h.transitionDuration,T=SS(h,["persist","key","open","entered","requestClose","className","variant","content","action","ariaAttributes","anchorOrigin","message","TransitionComponent","TransitionProps","transitionDuration","onEnter","onEntered","onEntering","onExit","onExited","onExiting"]),j=CS({},eE,{},f)[z],B=CS({"aria-describedby":"notistack-snackbar"},US(C,u)),L=k||m||jS.TransitionComponent,R=US(N,v,jS.transitionDuration),q=CS({direction:XS(S)},US(D,g)),P=w||b;"function"===typeof P&&(P=P(M));var I=x||A;"function"===typeof I&&(I=I(M,h.message));var W=["onEnter","onEntering","onEntered","onExit","onExiting","onExited"].reduce((function(e,t){var n;return CS({},e,((n={})[t]=tE([r.snack[t],r[t]],r.snack.key),n))}),{});return e.createElement(zS,{unmountOnExit:!0,timeout:175,in:a,onExited:W.onExited},e.createElement(oE,Object.assign({},y,T,{open:O,className:(0,Zu.Z)(n.root,n.wrappedRoot,n[PS(S)]),onClose:l}),e.createElement(L,Object.assign({appear:!0,in:O,timeout:R},q,{onExit:W.onExit,onExiting:W.onExiting,onExited:function(){o.current=setTimeout((function(){s(!a)}),125)},onEnter:W.onEnter,onEntering:W.onEntering,onEntered:tE([W.onEntered,function(){r.snack.requestClose&&l(null,RS.INSTRCUTED)}])}),I||e.createElement($S,Object.assign({},B,{role:"alert",style:c,className:(0,Zu.Z)(n.contentRoot,n[IS(z)],d,_,!p&&j&&n.lessPadding)}),e.createElement("div",{id:B["aria-describedby"],className:n.message},p?null:j,E),P&&e.createElement("div",{className:n.action},P)))))},sE=(0,Hu.Z)(iE)(aE),lE="& > .MuiCollapse-container, & > .MuiCollapse-root",cE="& > .MuiCollapse-container > .MuiCollapse-wrapper, & > .MuiCollapse-root > .MuiCollapse-wrapper",uE=(0,jd.Z)((function(e){var t,n,r,o,i;return{root:(t={boxSizing:"border-box",display:"flex",maxHeight:"100%",position:"fixed",zIndex:e.zIndex.snackbar,height:"auto",width:"auto",transition:"top 300ms ease 0ms, right 300ms ease 0ms, bottom 300ms ease 0ms, left 300ms ease 0ms, margin 300ms ease 0ms, max-width 300ms ease 0ms",pointerEvents:"none"},t[lE]={pointerEvents:"all"},t[cE]={padding:TS.default+"px 0px",transition:"padding 300ms ease 0ms"},t.maxWidth="calc(100% - "+2*NS.default+"px)",t[e.breakpoints.down("xs")]={width:"100%",maxWidth:"calc(100% - 32px)"},t),rootDense:(n={},n[cE]={padding:TS.dense+"px 0px"},n),top:{top:NS.default-TS.default,flexDirection:"column"},bottom:{bottom:NS.default-TS.default,flexDirection:"column-reverse"},left:(r={left:NS.default},r[e.breakpoints.up("sm")]={alignItems:"flex-start"},r[e.breakpoints.down("xs")]={left:"16px"},r),right:(o={right:NS.default},o[e.breakpoints.up("sm")]={alignItems:"flex-end"},o[e.breakpoints.down("xs")]={right:"16px"},o),center:(i={left:"50%",transform:"translateX(-50%)"},i[e.breakpoints.up("sm")]={alignItems:"center"},i)}})),dE=function(t){var n=uE(),r=t.className,o=t.anchorOrigin,i=t.dense,a=SS(t,["className","anchorOrigin","dense"]),s=(0,Zu.Z)(n[o.vertical],n[o.horizontal],n.root,r,i&&n.rootDense);return e.createElement("div",Object.assign({className:s},a))},pE=e.memo(dE),fE=function(t){var n,r,o,i,a;function s(e){var n;return(n=t.call(this,e)||this).enqueueSnackbar=function(e,t){void 0===t&&(t={});var r=t,o=r.key,i=r.preventDuplicate,a=SS(r,["key","preventDuplicate"]),s=WS(o),l=s?o:(new Date).getTime()+Math.random(),c=function(e,t,n){return function(r){return"autoHideDuration"===r?FS(e.autoHideDuration)?e.autoHideDuration:FS(t.autoHideDuration)?t.autoHideDuration:jS.autoHideDuration:e[r]||t[r]||n[r]}}(a,n.props,jS),u=CS({key:l},a,{message:e,open:!0,entered:!1,requestClose:!1,variant:c("variant"),anchorOrigin:c("anchorOrigin"),autoHideDuration:c("autoHideDuration")});return a.persist&&(u.autoHideDuration=void 0),n.setState((function(t){if(void 0===i&&n.props.preventDuplicate||i){var r=function(t){return s?t.key===o:t.message===e},a=t.queue.findIndex(r)>-1,l=t.snacks.findIndex(r)>-1;if(a||l)return t}return n.handleDisplaySnack(CS({},t,{queue:[].concat(t.queue,[u])}))})),l},n.handleDisplaySnack=function(e){return e.snacks.length>=n.maxSnack?n.handleDismissOldest(e):n.processQueue(e)},n.processQueue=function(e){var t=e.queue,n=e.snacks;return t.length>0?CS({},e,{snacks:[].concat(n,[t[0]]),queue:t.slice(1,t.length)}):e},n.handleDismissOldest=function(e){if(e.snacks.some((function(e){return!e.open||e.requestClose})))return e;var t=!1,r=!1;e.snacks.reduce((function(e,t){return e+(t.open&&t.persist?1:0)}),0)===n.maxSnack&&(r=!0);var o=e.snacks.map((function(e){return t||e.persist&&!r?CS({},e):(t=!0,e.entered?(e.onClose&&e.onClose(null,RS.MAXSNACK,e.key),n.props.onClose&&n.props.onClose(null,RS.MAXSNACK,e.key),CS({},e,{open:!1})):CS({},e,{requestClose:!0}))}));return CS({},e,{snacks:o})},n.handleEnteredSnack=function(e,t,r){if(!WS(r))throw new Error("handleEnteredSnack Cannot be called with undefined key");n.setState((function(e){return{snacks:e.snacks.map((function(e){return e.key===r?CS({},e,{entered:!0}):CS({},e)}))}}))},n.handleCloseSnack=function(e,t,r){if(n.props.onClose&&n.props.onClose(e,t,r),t!==RS.CLICKAWAY){var o=void 0===r;n.setState((function(e){var t=e.snacks,n=e.queue;return{snacks:t.map((function(e){return o||e.key===r?e.entered?CS({},e,{open:!1}):CS({},e,{requestClose:!0}):CS({},e)})),queue:n.filter((function(e){return e.key!==r}))}}))}},n.closeSnackbar=function(e){var t=n.state.snacks.find((function(t){return t.key===e}));WS(e)&&t&&t.onClose&&t.onClose(null,RS.INSTRUCTED,e),n.handleCloseSnack(null,RS.INSTRUCTED,e)},n.handleExitedSnack=function(e,t,r){var o=t||r;if(!WS(o))throw new Error("handleExitedSnack Cannot be called with undefined key");n.setState((function(e){var t=n.processQueue(CS({},e,{snacks:e.snacks.filter((function(e){return e.key!==o}))}));return 0===t.queue.length?t:n.handleDismissOldest(t)}))},n.state={snacks:[],queue:[],contextValue:{enqueueSnackbar:n.enqueueSnackbar,closeSnackbar:n.closeSnackbar}},n}return r=t,(n=s).prototype=Object.create(r.prototype),n.prototype.constructor=n,n.__proto__=r,s.prototype.render=function(){var t=this,n=this.state.contextValue,r=this.props,o=r.iconVariant,i=r.dense,a=void 0===i?jS.dense:i,s=r.hideIconVariant,l=void 0===s?jS.hideIconVariant:s,c=r.domRoot,u=r.children,d=r.classes,p=void 0===d?{}:d,f=SS(r,["maxSnack","preventDuplicate","variant","anchorOrigin","iconVariant","dense","hideIconVariant","domRoot","children","classes"]),h=this.state.snacks.reduce((function(e,t){var n,r,o=(r=t.anchorOrigin,""+BS(r.vertical)+BS(r.horizontal)),i=e[o]||[];return CS({},e,((n={})[o]=[].concat(i,[t]),n))}),{}),b=Object.keys(h).map((function(n){var r=h[n];return e.createElement(pE,{key:n,dense:a,anchorOrigin:r[0].anchorOrigin,className:(0,Zu.Z)(p.containerRoot,p[qS(n)])},r.map((function(n){return e.createElement(sE,Object.assign({},f,{key:n.key,snack:n,dense:a,iconVariant:o,hideIconVariant:l,classes:LS(p),onClose:t.handleCloseSnack,onExited:tE([t.handleExitedSnack,t.props.onExited]),onEntered:tE([t.handleEnteredSnack,t.props.onEntered])}))})))}));return e.createElement(ES.Provider,{value:n},u,c?(0,Dl.createPortal)(b,c):b)},o=s,(i=[{key:"maxSnack",get:function(){return this.props.maxSnack||jS.maxSnack}}])&&wS(o.prototype,i),a&&wS(o,a),s}(e.Component),hE=function(){return(0,e.useContext)(ES)},bE=function(){function e(t,n){(0,o.Z)(this,e),this.store=n,this.attributes={},this.relationships={},this.meta={},this.links={},this.casts={},this.merge(t)}return(0,i.Z)(e,[{key:"getAttribute",value:function(e){var t,n=this.attributes[e],r=this.casts[e];return r&&null!=n?r!==String&&r!==Number&&r!==Boolean&&(t=r).prototype&&t.prototype.constructor.name?new r(n):r(n):n}},{key:"getRelationship",value:function(e){var t=this.relationships[e].data;return Array.isArray(t),this.store.find(t)}},{key:"identifier",value:function(){return{id:this.id,type:this.type}}},{key:"merge",value:function(e){var t=this;"type"in e&&(this.type=e.type),"id"in e&&(this.id=e.id),"attributes"in e&&(Object.assign(this.attributes,e.attributes),Object.keys(e.attributes).forEach((function(e){Object.getOwnPropertyDescriptor(Object.getPrototypeOf(t),e)||Object.getOwnPropertyDescriptor(t,e)||(t[e]=null,Object.defineProperty(t,e,{get:function(){return t.getAttribute(e)},configurable:!0,enumerable:!0}))}))),"relationships"in e&&Object.entries(e.relationships).forEach((function(e){var r=(0,n.Z)(e,2),o=r[0],i=r[1];t.relationships[o]=t.relationships[o]||{},Object.assign(t.relationships[o],i),Object.getOwnPropertyDescriptor(Object.getPrototypeOf(t),o)||Object.getOwnPropertyDescriptor(t,o)||(t[o]=null,Object.defineProperty(t,o,{get:function(){return t.getRelationship(o)},configurable:!0,enumerable:!0}))})),"links"in e&&(this.links=e.links),"meta"in e&&(this.meta=e.meta)}}]),e}(),AE=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,o.Z)(this,e),this.models=t,this.graph={}}return(0,i.Z)(e,[{key:"find",value:function(e,t){var n=this;return null===e?null:Array.isArray(e)?e.map((function(e){return n.find(e)})):"object"==typeof e?this.find(e.type,e.id):this.graph[e]&&this.graph[e][t]||null}},{key:"findAll",value:function(e){var t=this;return this.graph[e]?Object.keys(this.graph[e]).map((function(n){return t.graph[e][n]})):[]}},{key:"sync",value:function(e){var t=this.syncResource.bind(this);return"included"in e&&e.included.map(t),Array.isArray(e.data)?e.data.map(t):t(e.data)}},{key:"syncResource",value:function(e){var t=e.type,n=e.id;return this.graph[t]=this.graph[t]||{},this.graph[t][n]?this.graph[t][n].merge(e):this.graph[t][n]=this.createModel(e),this.graph[t][n]}},{key:"createModel",value:function(e){return new(this.models[e.type]||this.models["*"]||bE)(e,this)}},{key:"forget",value:function(e){delete this.graph[e.type][e.id]}},{key:"reset",value:function(){this.graph={}}}]),e}();function mE(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}var gE,vE,yE=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,o.Z)(this,e),this.query=Object.assign({},t)}return(0,i.Z)(e,[{key:"append",value:function(e,t){var n=this;return"object"==typeof e?Object.entries(e).map((function(e){return n.append.apply(n,e)})):this.query[e]=(this.query[e]?this.query[e]+",":"")+t,this}},{key:"set",value:function(e,t){var n=this;return"object"==typeof e?Object.entries(e).map((function(e){return n.set.apply(n,e)})):this.query[e]=t,this}},{key:"delete",value:function(e){var t=this;return Array.isArray(e)?e.forEach((function(e){return t.delete(e)})):delete this.query[e],this}},{key:"toString",value:function(){return Object.entries(this.query).sort((function(e,t){return e[0].localeCompare(t[0])})).map((function(e){var t=(0,n.Z)(e,2),r=t[0],o=t[1];return mE(r)+"="+mE(o)})).join("&")}}]),e}(),ME=new AE,OE=e.forwardRef((function(t,n){var r=t.classes,o=t.className,i=t.dividers,a=void 0!==i&&i,s=(0,Uu.Z)(t,["classes","className","dividers"]);return e.createElement("div",(0,Fu.Z)({className:(0,Zu.Z)(r.root,o,a&&r.dividers),ref:n},s))})),_E=(0,Hu.Z)((function(e){return{root:{flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"8px 24px","&:first-child":{paddingTop:20}},dividers:{padding:"16px 24px",borderTop:"1px solid ".concat(e.palette.divider),borderBottom:"1px solid ".concat(e.palette.divider)}}}),{name:"MuiDialogContent"})(OE),zE=e.forwardRef((function(t,n){var r=t.disableSpacing,o=void 0!==r&&r,i=t.classes,a=t.className,s=(0,Uu.Z)(t,["disableSpacing","classes","className"]);return e.createElement("div",(0,Fu.Z)({className:(0,Zu.Z)(i.root,a,!o&&i.spacing),ref:n},s))})),xE=(0,Hu.Z)({root:{display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},spacing:{"& > :not(:first-child)":{marginLeft:8}}},{name:"MuiDialogActions"})(zE),wE=function(){var t=(0,e.useState)(!1),r=(0,n.Z)(t,2),o=r[0],i=r[1];return{isDialogOpen:o,openDialog:function(){return i(!0)},closeDialog:function(){return i(!1)}}},CE=["title","titleId"];function SE(){return SE=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},SE.apply(this,arguments)}function EE(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function kE(t,n){var r=t.title,o=t.titleId,i=EE(t,CE);return e.createElement("svg",SE({width:164,height:168,viewBox:"0 0 164 168",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,gE||(gE=e.createElement("path",{d:"M6.25 84C6.25 104.687 14.2308 124.526 28.4367 139.154 C42.6425 153.782 61.9099 162 82 162 C102.09 162 121.357 153.782 135.563 139.154 C149.769 124.526 157.75 104.687 157.75 84 C157.75 63.3131 149.769 43.4735 135.563 28.8457 C121.357 14.2178 102.09 6 82 6",stroke:"black",strokeOpacity:.38,strokeWidth:11,strokeLinecap:"round",strokeLinejoin:"round"},e.createElement("animateTransform",{attributeName:"transform",attributeType:"XML",type:"rotate",from:"0 82 84",to:"360 82 84",dur:"5s",repeatCount:"indefinite"}))),vE||(vE=e.createElement("path",{d:"M124.083 84C124.083 75.4295 121.615 67.0514 116.991 59.9253 C112.367 52.7991 105.794 47.245 98.1046 43.9652 C90.4148 40.6854 81.9533 39.8273 73.7899 41.4993 C65.6266 43.1713 58.128 47.2984 52.2426 53.3587 C46.3571 59.419 42.3491 67.1402 40.7253 75.5461 C39.1015 83.9519 39.9349 92.6648 43.12 100.583 C46.3052 108.501 51.6992 115.269 58.6197 120.03 C65.5403 124.792 73.6767 127.333 82 127.333",stroke:"#B67D2B",strokeWidth:11,strokeLinecap:"round",strokeLinejoin:"round"},e.createElement("animateTransform",{attributeName:"transform",attributeType:"XML",type:"rotate",from:"0 82 84",to:"-360 82 84",dur:"5s",repeatCount:"indefinite"}))))}var DE=e.forwardRef(kE);__webpack_require__.p;function NE(){var t=(0,e.useState)(!0),r=(0,n.Z)(t,2),o=(r[0],r[1]);return(0,e.useEffect)((function(){var e=setTimeout((function(){o(!1)}),300);return function(){return clearTimeout(e)}}),[]),(0,Kl.jsx)("div",{className:"loader-container",children:(0,Kl.jsx)(DE,{width:100})})}var TE="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABAEAYAAAD6+a2dAAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAAGYktHRAAAAAAAAPlDu38AAAAJcEhZcwAAAGAAAABgAPBrQs8AAAAHdElNRQfnDBoKLi7nh1pVAAAPRklEQVR42u2deVwUx7bHT/XMsA/7NkBQWSSaRAFBIbIMWYjimifigkGuSOISg7jgEnxqjEGM6FVf1Ii4BZ8CCl6NMW5sclUYFlFxIWK4GmQZZoaZYRWmz/3jOeTzkcdjnx7y+P43UN31O6dOV3dVV50mMMi5+t4/7xavNjdnf9CWrjjk5UX+Dn/DGFdXeJ+Ewg47O2IBccTT3h7TYBE6WltDFERCi44O7CRR4KKhAZmYAO/o6sIvIIJEiYQ8ACFJl0gwHA5jiFhMLpBxZO2zZ2CHTnTegwe0CIHyLSlhDyNAZ92+7bPKZ5WbW2Ul037oLYRpAd0lA3OEhTlubmQNPQ8Xz5uHfELgQUAA6OEmKH77bdULgmwoQCRF4AXv3r+PXmQ92Xz1KkSReRh57pwf8YoYF3DnDtN+6wq1C4AcYY4wR8jlvqrHVTpnw8NJLO7F6iVLYA48gGmOjkzr6zZ8OA0bS0qwnNSTmUePKn5r/ox2S0j42P9jfzd3qZRpeUoYD4AMzMAiNDQEXVYZBkZFwXkww8ClS4EDxTDS0JBpff1GK4yF0ro69CNWELdnjyKjOQ0P7t3LdECoPAA2IyIiRfmdzHmncHpYGN7DvbBw+3aYCpowwsyMKUeoGrIdUsg3YjFegxF09Lp1fPCOHOeWkEAIIYQgqkyHqiq6PvHmTUGAnR0rEqOp2FOnwAS2wSsPD1XVr+6QH8AT8rKz26aSRSzf8PCPQr1/ch5dWjrQ9VIDXUEGZt8uqFqwgK2Fx1l3ioqGGv5/B5fDbRjv48N6hJ/Qkfn5mRk3s/MFs2cPdL393gMou3g+5JwpOrFzJ2SiNb63evVAG/JXhfwM30Dw7t0Zu7yvuT5au3YrIYQQmu638/fXiZKTSgJLAjU0zK+I327hHDuGn6E/rpk/nxm3/QV5BkKIP3OGO0bHFsNCQtzc3dzd3Ftb+3raPgdAviBfkC/gcOSPG38mjqmpYAMfQtnUqUz7q502sCOp9fWUATUF1r94wfqICqEONTVBDjWCOLx61V7Oi/4dn2poKK7TJ+kl2tq0OzZimq1t+0SRurADwuG3ixeb9tdf1M+ZPTtgZMBIx/9qaent6XodAMnJycnJySyWmdySZZ+emAh2YAbhc+cy5RcqkzWXCB8+NDQxGKYfVVtr+JXxt/rE1lajUmMsK3348N6e9xWvJaXNpry8bp/kpNzx+fM6j7pG2T/NzOgGej+WjhrFlL2wEeJg2unT/Fve510rgoN7O3rodQBkWGZfLPh29244DQYwOTJS1fYTGxIOaeXlVudsQi20xWLuQm649hJXV1XVL18lc2l0LyiozHu5RvirqSl9hHZB+bBhqvYD8HEYLIyN9SO+w8Y9WL++p4f3OADSv8mKLlgcFES8iT8sTUpStb0sA7aAlV5YaF/qEGodMXIk5UshJdfTU7UOJYoNihz6hUxW3lzmUNFYVtb6RZtYoenionIhfHAkN+bN8yM+PNeoM2e6e1i3AyA9OEco+NrJiYTSLZQsPx/Y8AxCVed4Mpw6RnhPnzpWOP5gO4rHo+xZjeSZ+tyb6Sya0Nz6+qdbS6/84VhdTR+gbehUe3uVCeCTlWAolQK0FVB2zs5+xI+4kPLyrg7rch4AERGRENKKodTC+HhVN7wSm8Nv0WaixkZ1a3glyp7IysJmi+nPDQ0qF5CJf4c6AwM4y5qKb/30k3I43qXurgpkZOTkFBaGh8NSXAdyb29V20VdIcbkVGmp7le6cTpWY8aouv6eonda75aO1ZgxxIFVwdr7+LHKBZjCOvyHlxcfbiYXzg4J6ap4pwGgfElDLmMtJO7YoXJDXsN1MSjRfT743rfrf8u9pcOrqmJMwBWyiOTHxPxSmmufa6+v31mxznuAzewYOj4iAgLABBYYGTFlh95W3cnaSerX5XeFznTd+ZpvMahbEy/jOUtL7VEtdzkn1qzprFiHALh29drVfIGBATThKHgUEcGYAUqBG9n7Wc6amkzr6ClsCes76m9aWkzrIH6wEb5fvjwDM7AksOOzW4cAYDlq/UTlh4UxfeUPfogHpQavvPBrmI3/aWwMX1LXmsVhYW/+v0MAUCswCEUdCw4xyJlEfQ9Xlyx588/tAZBlm2VbeNDTE1eDAUwePZppvUP0M6/XTmZNy5omyPxzoqo9AOh/UbGgPWsW0zqHGFhwFNGiBH++s/nzFrAYFsNif3+mBQ4xsGAsmML1KVOUv6kMzMC8JEtLsMYNeODdd5kWOMQAsxmsYdbo0dePXz+eZ2ViQuFKag970fvvgx/4wDjC+CrhdmjQJR5tbZwFHA8OxeUyLaentOt+bQfTetp53c6sPRoFnMleXhTsojbhKPW78vXauFLtnJycvr7PZwqlbv1Z/2MH03rehMwALqKrK0U+xPGEp34BYJRpfEJPx9iYaR19tmOl6fcG5hYWTOt4E7SBjzDYzo6CLODjFjs7pgW9CduX3cohzL3n7y8oD8qIalDDmcwMEg0l9vYUCQAeWTQ04/f/DSLBQPjM2prCSJiD6wd/VztEz8BIWAlyHR0KWPCUhAz+rnaIHuJPnCBTW5uCD8hcTOj9suKBQnGAliieqJ+untJmofhOsaGxkWkdHdiES8FZQ4OCNXgAdNRPYF22OL9+dXU10zr6isS5Nle6QCRiWkcHvGElGEqlFOyCOHUMANlZ6c2GYR4eyuXXTOvpKeJE0deyqjt36qEhoilLDfdC+kMoCRKJKEiDWngkFDKtpwMsqMHdWlovvV7Swp2dL2lSN/6wfGFSY5yVVeNWHSxu9vCATEyGMPUbBpJZEIc8kYiCWtgJzgwsXuwmWE0vRbGDw6vq1q9bD718ybSeTrGFaRDU1NQQKz/ftF39F6/iFMgGi+fPKQiHT8mlJ0+YFtQpr+euRQeFGjLZwO+X7y2icuEk6a3CQpwAJjh5EMyrPCbmxObuXQpX4mb48eFDpvV0hWykdJ080skJPoUo2KRGo4NKqAURoqhClFpXM3jmU8gychQW3btHtaWzP2AtycmBTfAtHO6/fef9DbriM6jg8WrmV79TZ5mby7QeJSILsb9s061bjG8W7S6vs5vh8NajbTeLiij/+xOdx8bV1BAT2EES795lWl9XiFeIs6QlTk50Mz0CJzA3elEcpGvoZrm8NrR6tWTCIMpe5gqn4HxxsR/xI+PnVFW1rwjCa6APk65cYVpfl2TiGoyysKjIe/FJzXaBgCkZL1c9/6rmTFERbkQX9DU3Z9ot3WYW5JGNFy8qf7YHADUa55KQtDSm9XWXhv0NsqZ0b+/6d+QmDTuKi1VVb11Q3dKGW3l5Dbsb+c1c1W+V6zNtVDPAhQvKn+0B4Jvvm+8yQyCAE2QuiS4qYlpnl2yDaPicomS0zLwpRSJRVbWyUOkH8tLmZrVbQdUVrxNX8mGiqcvEPyfWOuwLIBNBSm+Lj2da7xD9C2aQ+fDdvn1vZhLpEACNvhqWijmnTikzWzItfIg+8rod2yKalrH/+9SpN//dIQACRk4om1Amk8HH4IyOsbFM6x+ibyhT0/rf978/Nq5j3oJOdwfXj9NJAdi3j8RAFrxQ3ylYzTANwvJhsVRVH0ePfYNapbpUrr2GD9GQUlHRMEE7Cw/t2tVZsU4DYFqhm5ubW2MjvYx8Qc5t2sS0PW9CtsFB0GlsNLAylhg8Ul26eKM1xtGGQVZWygkVpv3wf7AcnkZHK9uxs0JdZgjxm+Fl5nLy2DHgAwes1WCeQAHmZFVzs8UZ3irjkuJi9nxWJfWr6pJMa+Vp22gccnTUf2joqHc1O1vtAoEPjXD3xo1M8A5yTTl5sqviXQaA8qmRPsEJZKWGhSm/rKFquzhpGhs5+wSC4an2YbyZFRWGCqMR+n6enqrWocRqv9WHpj/6+lrl2dw0P1tUROlSK8jIR4+Y0qPMPg6g+ISTEhra3ZSyPR7HZuBN3SKvwEDYjBvokOTkgRoPKx3Ks7Zabna4pYVL6f+HTqizs4r82Wukl6RH6qcVF9esrxSL5ZqaihR6Kn18AG9Ryi+X+BEfdJkzh+/n7ePmnpLS3cN7nygSsw0KV0VHQyZcxOBt2/pqh/Jh0yjWbL9BalmZ2R9maUbLJk4kbuAEjl1nu1JX5Cfk8U2HCgsrm17urxmnpUXzFWfQrB+33/PRG1y3bvUjvmQc2bKlp4f3+crNXJZtXlDw4484G84CfP55tyvOBRG5LJHojzB8pXv33j3eHqsrJvoeHpAGO8n36reCpr/ot4BgOlWsEmWy6Pofmo5QExITcSEGoyAoqEPBa/CI+DQ16flyHbXTc3Ot4q1KTaUuLtR+ViA1zsBgoByu7vT4lvEc8sna8+e5o3W86digoL5mDe+/dPHK5NFCS0+HO4cOwWj4HYMXL9YI4QjZb+Xm2kqHl/AktrbsJ5xlLFMeT8V+Vn9eLyypi6jb1PBEIKg+XPVH7TkrK6yiY3GFjQ08AX0y6fhx+EIxVloTHu5H/Igf6fuu435/eFNmFi3+uOTIU9u1ay12Wnob39ixA3hgCiaD6OUJwyhTzz5P+9eRqvqYGI8zblHvGsXE9Pc3hQa8Qapn1sbVxs2YgbYwmngdP44bwB0c/kJfA+tvboIWMZfLSR4VBoHh4Za7jJOMkwYuKbfKrsiapJqkmiQHB4U7ax+7Oj4etPEfGMznq6p+tecRGU92Z2SwZiiErBfh4eZyc7nBybKyga5W5V2y8hZR3SAxlZiGhYEJPRO/iInBcoiF1aamqtbDGBpkA6wXCkk+bIEtGzZY+BtbGVsdParqz8apfHytNNBSz1hkLDpyhO0PNXjfzg5+IblwZ/NmSIJ6YMlkqtY14OyB30EilSrt5IRiFVbZ21t+YmJtYq367wUqUbuHMtEl0SXRJX39Fhd6PPl17lxymezDSV9+CQEQAR7vvce0vm7zFZlM1vz2GwFcAUsSElp2sadTTocPDxtmaGhoqPqp9M5QuwB4k/ZbxhSxtljb3R31AQA+/RQS8DpIpk8HGbwNjQwmttSHx6Dz8CGEkY/A6MIF2IKJmJiaaulkMstkVn4+U1d2d1H7AOiKyoTKBHmhmRm1hHO+ZbOnJ34HTpS1uzveJtpoZm8PwTidHLCzIyvgKV7m8WAitIKQy8Wx0AZiLlc5/iY1YAmO9fWYDBIAmQxS4X0SUlUFp8gFXPbsGfHEJiIsKyMb4QldIRDQh1pnam69fZsXxgvjuqrh3spu8m8FWHxR641NtwAAAABJRU5ErkJggg==",jE=function(t){var r=t.setDayLabels,o=t.selectedDate,i=t.setSelectedDate,a=(0,e.useState)([]),s=(0,n.Z)(a,2),l=s[0],c=s[1],u=Fc(),d=u.calendar,p=u.navigation,f=lS(),h=f.changeDate,b=f.getWeekDaysByNumber,A=f.isCurrentWeek,m=function(e,t){i(t.date),r(Array.from({length:7}).map((function(e,n){return Vs()(t.date).startOf("isoWeek").add(n,"days").format("MMM D YYYY")}))),h(t.date)},g=function(e){var t=Vs()(o).format("MMM D YYYY");switch(e){case-1:t=Vs()(o).subtract(1,"week").format("MMM D YYYY");break;case-3:t=Vs()(o).subtract(3,"week").format("MMM D YYYY");break;case 1:t=Vs()(o).add(1,"week").format("MMM D YYYY");break;case 3:t=Vs()(o).add(3,"week").format("MMM D YYYY")}var r=Vs()(t).isoWeek(),i=t.split(" "),a=(0,n.Z)(i,3),s=(a[0],a[1],a[2]),l=b(s,r);m(0,l)};return(0,e.useEffect)((function(){var e=function(){for(var e=Vs()(d.date).isoWeek(),t=o.split(" "),r=(0,n.Z)(t,3),i=(r[0],r[1],r[2]),a=b(i,e),s=[],l=6;l>0;l--){var c=Vs()(a.date,"MMM D YYYY").isoWeek()-l,u=b(i,c);s.push(u)}for(var p=[],f=1;f<=6;f++){var h=Vs()(a.date,"MMM D YYYY").isoWeek()+f,A=b(i,h);p.push(A)}return[].concat(s,[a],p)}();c(e)}),[o]),(0,Kl.jsxs)("div",{className:"".concat(EC," days-navigation-wrapper weekly ").concat(p.open?"nav-opened":""),children:[(0,Kl.jsx)(wd.Z,{color:"primary","aria-label":"Sub week",component:"span",style:{padding:0},onClick:function(){return g(-3)},children:(0,Kl.jsx)(JC,{})}),(0,Kl.jsx)(wd.Z,{color:"primary","aria-label":"Sub week",component:"span",style:{padding:0},onClick:function(){return g(-1)},children:(0,Kl.jsx)(XC,{})}),l.map((function(e,t){return(0,Kl.jsx)("div",{style:{position:"relative"},children:(0,Kl.jsx)(zd.Z,{size:"small",className:"".concat(6===t?"active-week":""),onClick:function(){return m(0,e)},children:6===t&&A(e)?"THIS WEEK":"".concat(e.start," - ").concat(e.end)})},t)})),(0,Kl.jsx)(wd.Z,{color:"primary","aria-label":"Add day",component:"span",style:{padding:0},onClick:function(){return g(1)},children:(0,Kl.jsx)(BC,{})}),(0,Kl.jsx)(wd.Z,{color:"primary","aria-label":"Add week",component:"span",style:{padding:0},onClick:function(){return g(3)},children:(0,Kl.jsx)(FC,{})})]})},BE=__webpack_require__(92942),LE=__webpack_require__(73002),RE={paper:"appointmentDrawer_paper__uzqFU",container:"appointmentDrawer_container__fSpTj",containerTop:"appointmentDrawer_containerTop__aPxFG",successButton:"appointmentDrawer_successButton__hyWSA",defaultButton:"appointmentDrawer_defaultButton__ldcKv",notCompletedIcon:"appointmentDrawer_notCompletedIcon__vsywu",reminderContainer:"appointmentDrawer_reminderContainer__WFIuf",icon:"appointmentDrawer_icon__wDCyH",setReminderButton:"appointmentDrawer_setReminderButton__9jHqv",tabsContainer:"appointmentDrawer_tabsContainer__RePpX",bodyWrapper:"appointmentDrawer_bodyWrapper__kEHLr",appointmentBookBottomWrapper:"appointmentDrawer_appointmentBookBottomWrapper__+bYT0",appointmentBookBottom:"appointmentDrawer_appointmentBookBottom__-oqjA",dates:"appointmentDrawer_dates__Klx0m",datesRow:"appointmentDrawer_datesRow__urLTz",servicesList:"appointmentDrawer_servicesList__p1Jne",createNewService:"appointmentDrawer_createNewService__D86ap",methods:"appointmentDrawer_methods__5NCeH",methodsItems:"appointmentDrawer_methodsItems__EJvz1",discountSwiper:"appointmentDrawer_discountSwiper__N8Vcp",createNewServiceForm:"appointmentDrawer_createNewServiceForm__Zq2pL",typeGroup:"appointmentDrawer_typeGroup__4C8re",typeGroupButtons:"appointmentDrawer_typeGroupButtons__kW1UA",appointment:"appointmentDrawer_appointment__nf7X5",unavailability:"appointmentDrawer_unavailability__Nvho+",notes:"appointmentDrawer_notes__oLez+",header:"appointmentDrawer_header__8y7Ib",headerInfo:"appointmentDrawer_headerInfo__hKvi8",buttons:"appointmentDrawer_buttons__MsXFP",headerTitle:"appointmentDrawer_headerTitle__TwGvT",cancelledAt:"appointmentDrawer_cancelledAt__eeq-D",changeStatusContainer:"appointmentDrawer_changeStatusContainer__Yuku-",changeStatus:"appointmentDrawer_changeStatus__3ehAZ",content:"appointmentDrawer_content__jE4AP",loading:"appointmentDrawer_loading__NGMZG",checkout:"appointmentDrawer_checkout__Ijg1p",paymentItemsHeading:"appointmentDrawer_paymentItemsHeading__xHQYq",checkoutBottomContent:"appointmentDrawer_checkoutBottomContent__0DeSn",checkoutSummary:"appointmentDrawer_checkoutSummary__uuKEZ",splitItems:"appointmentDrawer_splitItems__BPKTS",splitItem:"appointmentDrawer_splitItem__jia9I",splitItemName:"appointmentDrawer_splitItemName__YMhPm",checkoutPaymentMethod:"appointmentDrawer_checkoutPaymentMethod__ZKyiU",prepayment:"appointmentDrawer_prepayment__9h8GV",appointmentMain:"appointmentDrawer_appointmentMain__X5-WF",types:"appointmentDrawer_types__MBerP",notesSaveButton:"appointmentDrawer_notesSaveButton__N1Rn2",patient:"appointmentDrawer_patient__nOxsu",patientButtons:"appointmentDrawer_patientButtons__rk2QR",alertExist:"appointmentDrawer_alertExist__X5M0c",alertText:"appointmentDrawer_alertText__svqrB",appointmentTabs:"appointmentDrawer_appointmentTabs__Oh37e",appointmentTab:"appointmentDrawer_appointmentTab__6G9Qp",datePickerCustom:"appointmentDrawer_datePickerCustom__VtuS0",services:"appointmentDrawer_services__5Jzbd",service:"appointmentDrawer_service__h49id",serviceHeader:"appointmentDrawer_serviceHeader__lj5VX",serviceName:"appointmentDrawer_serviceName__y-qDy",servicePrice:"appointmentDrawer_servicePrice__J6Egc",serviceFooter:"appointmentDrawer_serviceFooter__4vKC7",serviceDuration:"appointmentDrawer_serviceDuration__fB5HS",serviceRight:"appointmentDrawer_serviceRight__IIJou",deleteButton:"appointmentDrawer_deleteButton__i4BSA",additionalButtons:"appointmentDrawer_additionalButtons__uslen",appointmentTimePicker:"appointmentDrawer_appointmentTimePicker__J3n7H",appointmentTimePickerItem:"appointmentDrawer_appointmentTimePickerItem__X5EYH",appointmentTimePickerTitle:"appointmentDrawer_appointmentTimePickerTitle__Lrt5N",openContentEditTimesItem:"appointmentDrawer_openContentEditTimesItem__xj-LM",chevron:"appointmentDrawer_chevron__WjqOq",appointmentBlock:"appointmentDrawer_appointmentBlock__nEhoA",appointmentBlockHeader:"appointmentDrawer_appointmentBlockHeader__pMCZO",headerRight:"appointmentDrawer_headerRight__-PB9N",appointmentBlockContent:"appointmentDrawer_appointmentBlockContent__PXBXU",linked:"appointmentDrawer_linked__BsIbz",linkedTitle:"appointmentDrawer_linkedTitle__SRY5g",linkedServices:"appointmentDrawer_linkedServices__PYk59",deposit:"appointmentDrawer_deposit__nWXew",depositInfo:"appointmentDrawer_depositInfo__V7fls",depositPriceContainer:"appointmentDrawer_depositPriceContainer__mSe3k",depositPaid:"appointmentDrawer_depositPaid__MZBkI",depositDate:"appointmentDrawer_depositDate__XH2B3",depositStatus:"appointmentDrawer_depositStatus__VcVAw",medical:"appointmentDrawer_medical__Xc+Lg",patientNotes:"appointmentDrawer_patientNotes__sRwpJ",buttonContainer:"appointmentDrawer_buttonContainer__7jXH9",appointmentLoading:"appointmentDrawer_appointmentLoading__6BbnX",statusModal:"appointmentDrawer_statusModal__sbYLQ",patientItem:"appointmentDrawer_patientItem__P3vbV",split:"appointmentDrawer_split__e8BHl",splitHeader:"appointmentDrawer_splitHeader__wndBd",saveButton:"appointmentDrawer_saveButton__e1nv8",buttonSms:"appointmentDrawer_buttonSms__jtAQN",buttonAddProductsActions:"appointmentDrawer_buttonAddProductsActions__ANUl6",button:"appointmentDrawer_button__UNXaF",buttonAddProductsActionsTitle:"appointmentDrawer_buttonAddProductsActionsTitle__U8omh",selectedProductsDrawerTitle:"appointmentDrawer_selectedProductsDrawerTitle__qI+dn",selectedProductsItem:"appointmentDrawer_selectedProductsItem__qhfXI",appointmentAddProductsBottomWrapper:"appointmentDrawer_appointmentAddProductsBottomWrapper__pdtE9",appointmentAddProducts:"appointmentDrawer_appointmentAddProducts__VCzHt",updateProductDiscountPrice:"appointmentDrawer_updateProductDiscountPrice__ygRnx",updateProductDiscountPriceTextField:"appointmentDrawer_updateProductDiscountPriceTextField__5S3mJ"},qE="appointment-service_service__4mH95",PE="appointment-service_nameWrapper__7lkw9",IE="appointment-service_name__qdBRg",WE="appointment-service_price__NP9ck",FE="appointment-service_deleteButtonWrap__mJoqz",UE="appointment-service_bottomRow__ok1u-",ZE="appointment-service_duration__-Q978",HE=__webpack_require__(69124),$E="free",VE="from",XE="fixed",QE=[{primary_background_color:"#000000",secondary_background_color:"#EFEFEF",primary_text_color:"#333333",secondary_text_color:"#666666",border_color:"#B7B7B7"},{primary_background_color:"#EF3526",secondary_background_color:"#F6F0EB",primary_text_color:"#000000",secondary_text_color:"#666666",border_color:"#D7B79C"},{primary_background_color:"#b67d2b",secondary_background_color:"#efefef",primary_text_color:"#333333",secondary_text_color:"#666666",border_color:"#b67d2b"},{primary_background_color:"#1A94EB",secondary_background_color:"#F3FAFF",primary_text_color:"#000000",secondary_text_color:"#666666",border_color:"#81C2EE"},{primary_background_color:"#4CAF50",secondary_background_color:"#ECF9ED",primary_text_color:"#000000",secondary_text_color:"#666666",border_color:"#87C98A"},{primary_background_color:"#711AEB",secondary_background_color:"#F6EFFF",primary_text_color:"#000000",secondary_text_color:"#666666",border_color:"#AF81EE"},{primary_background_color:"#AF4C4E",secondary_background_color:"#F9ECEC",primary_text_color:"#000000",secondary_text_color:"#666666",border_color:"#C98788"},{primary_background_color:"#EB711A",secondary_background_color:"#FFF8EF",primary_text_color:"#000000",secondary_text_color:"#666666",border_color:"#EEC181"}],YE=function(){var t=Fc(),n=t.appointment,r=t.appointmentDoctor,o=(0,e.useMemo)((function(){var e=r.payment.exists?r.payment.items:n.treatmentTypes.filter((function(e){return e.selected})).map((function(e){return{id:null,treatmentTypeId:e.id,price:e.price,isMedical:e.isMedical}}));return{appointmentTypes:n.types.filter((function(e){return e.selected})).map((function(e){return e.id})),deposit:n.isDeposited&&n.depositedAt?n.deposit.toFixed(2):0,paymentItems:e,discount:r.payment.discount,discount_type:r.payment.discountType,selected_products:r.payment.selected_products.map((function(e){return{id:e.id,quantity:e.qnt,price:e.price,inventory_expiring_item_id:e.inventory_expiring_item_id}}))}}),[JSON.stringify(r),JSON.stringify(n)]);return{paymentCalculateData:o}},GE=function(e){var t=e.text,n=void 0===t?"Are you sure?":t,r=e.okButtonText,o=void 0===r?"Ok":r,i=e.isOpen,a=e.onClose,s=e.onConfirm;return(0,Kl.jsxs)(vC,{open:i,onClose:a,children:[(0,Kl.jsx)(_E,{children:(0,Kl.jsx)(kl.Z,{children:n})}),(0,Kl.jsxs)(xE,{children:[(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",onClick:s,size:"small",children:o}),(0,Kl.jsx)(zd.Z,{variant:"outlined",onClick:a,size:"small",children:"Cancel"})]})]})},KE=$l((function(e){var t=e.handleTreatmentTypeChange,n=e.disabled,r=e.isMedical,o={button:{border:"1px solid #d8a66a",borderRadius:5,background:"transparent",fontSize:"11px",fontWeight:"bold",lineHeight:"12px",textTransform:"capitalize",color:"rgba(0, 0, 0, 0.54)",padding:"6px 12px",cursor:"pointer"}};return(0,Kl.jsxs)("div",{className:"treatment-types-holder",children:[(0,Kl.jsx)("button",{className:0==r?"active":"",onClick:function(e){t(e,0)},style:o.button,disabled:n,children:"Cosmetic"}),(0,Kl.jsx)("button",{className:1==r?"active":"",onClick:function(e){t(e,1)},style:o.button,disabled:n,children:"Medical"})]})})),JE=$l((function(t){var r=t.name,o=t.price,i=t.selected,a=t.id,s=t.index,l=t.color,c=t.duration,u=t.onClick,d=t.isMedical,p=t.needDuration,f=void 0===p||p,h=t.type,b=t.priceType,A=void 0===b?XE:b,m=Fc(),g=m.appointment,v=m.appointmentDoctor,y=YE().paymentCalculateData,M=wE(),O=M.isDialogOpen,_=M.openDialog,z=M.closeDialog,x=(0,e.useState)(null),w=(0,n.Z)(x,2),C=w[0],S=w[1],E=(0,e.useMemo)((function(){return"completed"===g.status.slug&&g.isPaid}),[g]),k=(0,e.useCallback)(function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,r;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:"service"===h?(g.toggleTreatmentTypeMedical(a,1===t),r=null===(n=v.payment.items.find((function(e){return e.id===a})))||void 0===n?void 0:n.index,v.toggleTreatmentTypeMedical(r,1===t)):v.toggleTreatmentTypeMedical(s,1===t);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[JSON.stringify(v),JSON.stringify(g)]),D=(0,e.useCallback)((function(){z(),k(C).then((function(){Re.post("/v1/payment/update-payment-items",Us({appointment_id:g.id},y)).then((function(e){var t;v.payment.setVat(e.data.vat),v.payment.setTotalPaid(e.data.total),v.payment.setRemainingBalance(e.data.amount),v.payment.setDiscountValue(null===e||void 0===e||null===(t=e.data)||void 0===t?void 0:t.discountValue)}))}))}),[y,g,v,C]),N=(0,e.useContext)(bA);return(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsxs)("div",{className:qE,style:{borderTop:"3px solid ".concat(l)},children:[(0,Kl.jsxs)("div",{className:PE,children:[(0,Kl.jsx)(kl.Z,{variant:"body1",className:IE,style:{color:l},children:r}),(0,Kl.jsxs)(kl.Z,{variant:"body1",className:WE,children:[A===VE&&(0,Kl.jsx)("span",{style:{minWidth:"max-content",marginRight:"-49px",marginTop:"-5px",fontSize:"10px"},children:"Price from"}),A===$E?(0,Kl.jsx)("span",{style:{marginRight:0,marginTop:5,minWidth:"max-content"},children:"Free service"}):"".concat(N.clinic.currency).concat(null===o||void 0===o?void 0:o.toFixed(2))]})]}),(0,Kl.jsxs)("div",{className:UE,children:[f&&(0,Kl.jsxs)(kl.Z,{className:ZE,children:[c," Minutes"]}),i&&!!a&&(0,Kl.jsx)(KE,{handleTreatmentTypeChange:function(e,t){E?(S(t),_()):k(t)},tab:d?1:0,isMedical:d}),!!u&&(0,Kl.jsx)("div",{className:FE,children:(0,Kl.jsx)(wd.Z,{size:"small",onClick:u,disabled:"completed"===g.status.slug,children:(0,Kl.jsx)(HE.Z,{fontSize:"small"})})})]})]}),(0,Kl.jsx)(GE,{text:"Do you want to change type?",isOpen:O,okButtonText:"Yes",onClose:z,onConfirm:D})]})})),ek=JE,tk=__webpack_require__(61378),nk=__webpack_require__.n(tk),rk=__webpack_require__(20888),ok=function(e){var t=e.title,n=e.children,r=e.headerRight,o=e.resetContentStyles;return(0,Kl.jsxs)("div",{className:RE.appointmentBlock,children:[(0,Kl.jsxs)("div",{className:RE.appointmentBlockHeader,children:[(0,Kl.jsx)(kl.Z,{variant:"body1",children:t}),!!r&&r]}),!!n&&(0,Kl.jsx)("div",{className:o?"":RE.appointmentBlockContent,children:n})]})},ik=function(e){var t=e.open,n=e.setOpen,r=e.removeSurvey,o=function(){n(!1)};return(0,Kl.jsx)(vC,{onClose:o,"aria-labelledby":"simple-dialog-title",open:!!t,PaperProps:{style:{borderRadius:15}},children:(0,Kl.jsx)(_E,{style:{overflow:"hidden",paddingBottom:20},children:(0,Kl.jsxs)(AC,{container:!0,spacing:2,justifyContent:"center",children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(kl.Z,{variant:"h6",children:"Do you want to remove survey?"})}),(0,Kl.jsxs)(AC,{container:!0,direction:"row",justifyContent:"center",spacing:2,item:!0,children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(zd.Z,{variant:"contained",color:"secondary",onClick:o,children:"No"})}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",onClick:function(){o(),r()},children:"Yes"})})]})]})})})},ak=__webpack_require__(96790),sk=e.forwardRef((function(t,n){var r=t.classes,o=t.className,i=t.color,a=void 0===i?"primary":i,s=t.component,l=void 0===s?"a":s,c=t.onBlur,u=t.onFocus,d=t.TypographyClasses,p=t.underline,f=void 0===p?"hover":p,h=t.variant,b=void 0===h?"inherit":h,A=(0,Uu.Z)(t,["classes","className","color","component","onBlur","onFocus","TypographyClasses","underline","variant"]),m=(0,ak.Z)(),g=m.isFocusVisible,v=m.onBlurVisible,y=m.ref,M=e.useState(!1),O=M[0],_=M[1],z=(0,Id.Z)(n,y);return e.createElement(kl.Z,(0,Fu.Z)({className:(0,Zu.Z)(r.root,r["underline".concat((0,Jd.Z)(f))],o,O&&r.focusVisible,"button"===l&&r.button),classes:d,color:a,component:l,onBlur:function(e){O&&(v(),_(!1)),c&&c(e)},onFocus:function(e){g(e)&&_(!0),u&&u(e)},ref:z,variant:b},A))})),lk=(0,Hu.Z)({root:{},underlineNone:{textDecoration:"none"},underlineHover:{textDecoration:"none","&:hover":{textDecoration:"underline"}},underlineAlways:{textDecoration:"underline"},button:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none","&::-moz-focus-inner":{borderStyle:"none"},"&$focusVisible":{outline:"auto"}},focusVisible:{}},{name:"MuiLink"})(sk),ck="survey_survey__XYWkS",uk="survey_surveyName__MR1cf",dk="survey_actionButtons__d9Yd4",pk=__webpack_require__(14539),fk=function(e){var t=e.text,n=e.color,r=e.onClick;return(0,Kl.jsxs)(lk,{component:"button",color:n,onClick:r,children:[t,(0,Kl.jsx)(pk.Z,{})]})},hk=function(e){var t,n=e.surveyEntry,r=e.isSigned,o=e.isSent,i=e.onClickTrash,a=e.onClickSurveyEmail,s=he(),l=Fc().appointment;return(0,Kl.jsxs)(AC,{container:!0,direction:"row",justifyContent:"space-between",alignItems:"center",wrap:"nowrap",className:ck,children:[(0,Kl.jsxs)(AC,{item:!0,xs:10,className:uk,children:[(0,Kl.jsx)(kl.Z,{children:o?null===n||void 0===n||null===(t=n.survey)||void 0===t?void 0:t.name:n.name}),o&&!r&&(0,Kl.jsx)(kl.Z,{color:"error",variant:"caption",children:"Pending Signature"}),!o&&(0,Kl.jsx)(kl.Z,{color:"primary",variant:"caption",children:"Not Sent"}),r&&(0,Kl.jsxs)(kl.Z,{variant:"caption",children:["Signed at ",Vs()(null===n||void 0===n?void 0:n.signed_at).format("Do MMMM YYYY")]})]}),(0,Kl.jsxs)(AC,{container:!0,item:!0,justifyContent:"flex-end",direction:"row",xs:2,alignItems:"flex-start",className:dk,children:[o&&!r&&"completed"!==l.status.slug&&(0,Kl.jsx)(fk,{text:"Remove",onClick:function(){return i(null===n||void 0===n?void 0:n.id)},color:"error"}),!o&&(0,Kl.jsx)(fk,{text:"Email",onClick:function(){return a(n.id)}}),o&&!r&&(0,Kl.jsx)(fk,{text:"Complete",onClick:function(){var e;return function(e){var t;s("/patients/".concat(null===l||void 0===l||null===(t=l.patient)||void 0===t?void 0:t.id,"/complete-survey/").concat(e))}(null===n||void 0===n||null===(e=n.survey)||void 0===e?void 0:e.id)}}),r&&(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(fk,{text:"Edit",onClick:function(){return function(e){var t;s("/patients/".concat(null===l||void 0===l||null===(t=l.patient)||void 0===t?void 0:t.id,"/edit-survey/").concat(e))}(null===n||void 0===n?void 0:n.id)}}),(0,Kl.jsx)(fk,{text:"View",color:"secondary",onClick:function(){return function(e){var t;s("/patients/".concat(null===l||void 0===l||null===(t=l.patient)||void 0===t?void 0:t.id,"/survey/").concat(e))}(null===n||void 0===n?void 0:n.id)}})]})]})]})},bk=__webpack_require__(56038),Ak=(0,xb.Z)(Wu.Z)((function(e){return{"& .MuiSelect-selectMenu.MuiSelect-outlined":{textOverflow:"ellipsis",overflow:"hidden!important"},"& .MuiOutlinedInput-root":{borderRadius:0,fontWeight:"bold"}}})),mk=$l((function(){var t,o=Fc(),i=o.calendar,a=o.appointment,s=(o.location,(0,e.useContext)(bA)),l=(0,e.useState)(0),c=(0,n.Z)(l,2),u=c[0],d=c[1],p=(0,e.useMemo)((function(){var e,t,n,o,i;if(null===s||void 0===s||null===(e=s.clinic)||void 0===e||!e.locations)return[];var l=null===s||void 0===s||null===(t=s.clinic)||void 0===t||null===(n=t.locations)||void 0===n?void 0:n.find((function(e){return(null===e||void 0===e?void 0:e.id)===a.location})),c=null===s||void 0===s||null===(o=s.clinic)||void 0===o||null===(i=o.locations)||void 0===i?void 0:i.filter((function(e){return!(null!==e&&void 0!==e&&e.deleted_at)}));return null!==c&&void 0!==c&&c.find((function(e){return(null===e||void 0===e?void 0:e.id)===a.location}))?c:[].concat((0,r.Z)(c),[l])}),[null===s||void 0===s||null===(t=s.clinic)||void 0===t?void 0:t.locations,a.location]);(0,e.useEffect)((function(){if(a.doctor.id){var e=Vs()(null===i||void 0===i?void 0:i.date).format("YYYY-MM-DD");if(Re.post("v1/staff/location",{staff_id:a.doctor.id,date:e}).then((function(e){d(e.data.data.clinicLocationId)})),!a.location){var t=p.find((function(e){return!!e.is_general}));t&&a.setLocation(t.id)}}}),[a,null===a||void 0===a?void 0:a.doctor,null===a||void 0===a?void 0:a.location,p,null===i||void 0===i?void 0:i.date]);var f=(0,e.useCallback)((function(e){a.setLocation(e),a.setSelectedTreatmentTypes([])}),[a]);return(0,Kl.jsx)(Kl.Fragment,{children:(0,Kl.jsx)(ok,{title:"Location",children:(null===p||void 0===p?void 0:p.length)>0&&(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(Ak,{select:!0,value:a.location,onChange:function(e){return f(e.target.value)},variant:"outlined",fullWidth:!0,size:"small",disabled:1===(null===p||void 0===p?void 0:p.length),children:null===p||void 0===p?void 0:p.map((function(e,t){return(0,Kl.jsx)(xd.Z,{value:null===e||void 0===e?void 0:e.id,children:null===e||void 0===e?void 0:e.address},"location_".concat(null===e||void 0===e?void 0:e.id,"_").concat(t))}))}),0!==u&&u!==parseInt(null===a||void 0===a?void 0:a.location)&&(0,Kl.jsx)("p",{style:{color:"orange",fontWeight:"bold"},children:"Warning: Practitioner doesn't have a shift on this location."}),0===u&&"0"===localStorage.getItem("isOnRightLocation")&&"resourceTimeGridDay"===i.view&&(0,Kl.jsx)("p",{style:{color:"orange",fontWeight:"bold"},children:"Warning: Practitioner doesn't have a shift on this location."})]})})})})),gk=mk,vk=function(t){var r=t.sendSurveyEmail,o=t.appointmentSurveyIds,i=Fc().clinic,a=(0,e.useState)(0),s=(0,n.Z)(a,2),l=s[0],c=s[1];(0,e.useEffect)((function(){null!==i&&void 0!==i&&i.surveys.length||Re.get("/v1/surveys",{params:{perPage:-1}}).then((function(e){var t=e.data;i.setSurveys(null===t||void 0===t?void 0:t.data)}))}),[]);var u=(0,e.useCallback)((function(){l&&(r(l),c(0))}),[l]),d=(0,e.useMemo)((function(){return null===i||void 0===i?void 0:i.surveys.filter((function(e){return!o.includes(e.id)}))}),[null===i||void 0===i?void 0:i.surveys,o]);return(0,Kl.jsxs)(AC,{container:!0,justifyContent:"space-between",alignItems:"center",children:[(0,Kl.jsx)(AC,{item:!0,xs:10,children:(0,Kl.jsxs)(Ak,{select:!0,value:l,onChange:function(e){var t;(t=e.target.value)&&c(t)},variant:"outlined",fullWidth:!0,size:"small",children:[(0,Kl.jsx)(xd.Z,{value:0,children:"Add New Questionnaire"}),d.length?d.map((function(e){return(0,Kl.jsx)(xd.Z,{value:e.id,children:e.name},"s_".concat(e.id))})):(0,Kl.jsx)(xd.Z,{value:null,children:"There are no items to add"})]})}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(bk.Z,{cursor:"pointer",onClick:u,fontSize:"large",color:"primary"})})]})},yk=$l((function(){var t,r=Fc().appointment,o=hE().enqueueSnackbar,i=(0,e.useState)(),a=(0,n.Z)(i,2),s=a[0],l=a[1],c=(0,e.useState)(!1),u=(0,n.Z)(c,2),d=u[0],p=u[1],f=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.delete("/v1/patient/".concat(null===r||void 0===r||null===(n=r.patient)||void 0===n?void 0:n.id,"/survey-entries/").concat(t)).then((function(){return o("Successfully removed!",{variant:"info"})&&A()}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),h=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.post("/v1/patient/".concat(null===r||void 0===r||null===(n=r.patient)||void 0===n?void 0:n.id,"/send-surveys"),{survey_ids:[t],appointment_id:null===r||void 0===r?void 0:r.id}).then((function(){return o("Successfully send!",{variant:"success"})&&A()}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),b=function(e){p(e)},A=(0,e.useCallback)((function(){var e,t;null!==r&&void 0!==r&&r.id&&null!==r&&void 0!==r&&null!==(e=r.patient)&&void 0!==e&&e.id&&Re.get("/v1/patient/".concat(null===r||void 0===r||null===(t=r.patient)||void 0===t?void 0:t.id,"/survey-entries"),{params:{perPage:-1}}).then((function(e){var t=e.data;l(null===t||void 0===t?void 0:t.data)}))}),[null===r||void 0===r?void 0:r.id,null===r||void 0===r||null===(t=r.patient)||void 0===t?void 0:t.id]);(0,e.useEffect)((function(){A()}),[]);var m=(0,e.useMemo)((function(){return null===s||void 0===s?void 0:s.filter((function(e,t,n){return e.signed_at&&t===n.findIndex((function(t){return t.survey.id===e.survey.id}))}))}),[s]),g=(0,e.useMemo)((function(){return null===s||void 0===s?void 0:s.filter((function(e){return!e.signed_at}))}),[s]),v=((0,e.useMemo)((function(){var e=null===r||void 0===r?void 0:r.treatmentTypes.filter((function(e){return e.selected&&!!e.surveys.length})).map((function(e){return e.surveys.map((function(e){return e}))})).flat().filter((function(e,t,n){return n.findIndex((function(t){return e.id===t.id}))===t}));return null===e||void 0===e?void 0:e.filter((function(e){var t;return!(null!==s&&void 0!==s&&null!==(t=s.map((function(e){return e.survey.id})))&&void 0!==t&&t.includes(e.id))}))}),[JSON.stringify(r.treatmentTypes),s]),(0,e.useMemo)((function(){return[].concat(null===g||void 0===g?void 0:g.map((function(e){return e.survey.id})),null===m||void 0===m?void 0:m.map((function(e){return e.survey.id})))}),[g,m]));return(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsxs)(Cb,{sx:{width:"100%"},children:[null===g||void 0===g?void 0:g.map((function(e){return(0,Kl.jsx)(hk,{surveyEntry:e,isSent:!0,isSigned:!1,onClickTrash:b,onClickSurveyEmail:h},"se_".concat(e.id))})),null===m||void 0===m?void 0:m.map((function(e){return(0,Kl.jsx)(hk,{surveyEntry:e,isSent:!0,isSigned:!0,onClickTrash:b,onClickSurveyEmail:h},"se_".concat(e.id))})),(0,Kl.jsx)(vk,{appointmentSurveyIds:v,sendSurveyEmail:h})]}),(0,Kl.jsx)(ik,{open:d,setOpen:p,removeSurvey:function(){return f(d)}})]})})),Mk=yk,Ok=(0,e.forwardRef)((function(e,t){e.value;var n=e.onClick;return(0,Kl.jsx)(zd.Z,{variant:"contained",color:"secondary",fullWidth:!0,size:"small",onClick:n,children:"Reminder"})})),_k=function(e){var t=e.onClick;return(0,Kl.jsx)("div",{className:RE.setReminderButton,children:(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",onClick:t,size:"small",fullWidth:!0,children:"Set"})})},zk=$l((function(){return Fc().appointment.patient.isMedicalHistoryCompleted?null:(0,Kl.jsx)(Ow.ZP,{title:"Medical history is not completed",children:(0,Kl.jsx)(rk.Z,{className:RE.notCompletedIcon})})})),xk=$l((function(){var t,r=Fc().appointment,o=he(),i=me().appointmentId,a=(0,e.useState)(Js()),s=(0,n.Z)(a,2),l=s[0],c=s[1],u=(0,e.useRef)(null),d=hE().enqueueSnackbar;if(!r.patient.id)return null;return(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(ok,{title:"Medical Questionnaire History",headerRight:(0,Kl.jsx)(zk,{}),children:(0,Kl.jsxs)("div",{className:RE.medical,children:[i&&(0,Kl.jsx)("div",{className:RE.reminderContainer,children:(0,Kl.jsx)(nk(),{ref:u,selected:new Date(l),onChange:function(e){c(e)},timeCaption:"Time",dateFormat:"MMMM d",maxDate:new Date(r.endDate),className:RE.reminderPicker,customInput:(0,Kl.jsx)(Ok,{}),shouldCloseOnSelect:!1,calendarStartDay:1,children:(0,Kl.jsx)(_k,{onClick:function(){var e=Vs()(l).format("YYYY-MM-DD");Re.post("/v1/appointment/".concat(i,"/reminder"),{remindBefore:Vs()(r.startDate).diff(e,"days")}).then((function(e){e.data;u.current.setOpen(!1),d("Successfully set!",{variant:"success"})})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return d(e,{variant:"error"})}))}))}))}})})}),!r.patient.isMedicalHistoryCompleted&&(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",fullWidth:!0,size:"small",onClick:function(){o("/patients/".concat(r.patient.id,"/edit-medical-history?fromAppointment"))},children:"Complete"}),r.patient.isMedicalHistoryCompleted&&(0,Kl.jsx)(zd.Z,{variant:"outlined",color:"primary",fullWidth:!0,size:"small",onClick:function(){o("/patients/".concat(r.patient.id))},children:"View"})]})}),i&&!(null===r||void 0===r||null===(t=r.patient)||void 0===t||!t.id)&&(0,Kl.jsx)(ok,{title:"Additional Questionnaires",children:(0,Kl.jsx)(Mk,{})})]})})),wk=xk,Ck=(0,Hu.Z)((function(e){return{outlinedPrimary:{backgroundColor:"#FFFFFF",color:"#000000",fontWeight:300,fontSize:11,textTransform:"none",borderRadius:8,borderColor:"#E9E9E9","&:hover":{backgroundColor:"#f7f7f7"}},label:{display:"flex",justifyContent:"center",gap:"1rem",wordWrap:"nowrap"},endIcon:{margin:0}}}))(zd.Z),Sk=function(e){var t=e.open,n=e.setOpen,r=e.removeAppointment,o=function(){n(!1)};return(0,Kl.jsx)(vC,{onClose:o,"aria-labelledby":"simple-dialog-title",open:t,PaperProps:{style:{borderRadius:15}},children:(0,Kl.jsx)(_E,{style:{overflow:"hidden",paddingBottom:20},children:(0,Kl.jsxs)(AC,{container:!0,spacing:2,justifyContent:"center",children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(kl.Z,{variant:"h6",children:"Do you want to cancel appointment booking?"})}),(0,Kl.jsxs)(AC,{container:!0,direction:"row",justifyContent:"center",spacing:2,item:!0,children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(zd.Z,{variant:"contained",color:"secondary",onClick:o,children:"No"})}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",onClick:function(){o(),r()},children:"Yes"})})]})]})})})},Ek=function(e){var t=e.open,n=e.setOpen,r=e.updateAppointment,o=Fc().appointment,i=function(){n(!1)};return(0,Kl.jsx)(vC,{onClose:i,"aria-labelledby":"simple-dialog-title",open:t,PaperProps:{style:{borderRadius:15}},children:(0,Kl.jsx)(_E,{style:{overflow:"hidden",paddingBottom:20},children:(0,Kl.jsxs)(AC,{container:!0,direction:"column",spacing:2,children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(kl.Z,{variant:"h6",children:"Do you want proceed without deposit?"})}),(0,Kl.jsx)(AC,{container:!0,spacing:2,justifyContent:"center",item:!0,children:(0,Kl.jsxs)(AC,{container:!0,direction:"row",justifyContent:"center",spacing:2,item:!0,children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(zd.Z,{onClick:function(){i()},variant:"contained",color:"secondary",children:"No"})}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(zd.Z,{onClick:function(){o.setDeposit(0),r(),i()},variant:"contained",color:"primary",children:"Yes"})})]})})]})})})},kk=__webpack_require__(34960),Dk=function(t){var r=t.open,o=t.setOpen,i=t.updateAppointment,a=t.showNotifyCheckbox,s=void 0!==a&&a,l=(0,e.useState)(!1),c=(0,n.Z)(l,2),u=c[0],d=c[1],p=function(){o(!1)};return(0,Kl.jsx)(vC,{onClose:p,"aria-labelledby":"simple-dialog-title",open:r,PaperProps:{style:{borderRadius:15}},children:(0,Kl.jsx)(_E,{style:{overflow:"hidden",paddingBottom:20},children:(0,Kl.jsxs)(AC,{container:!0,direction:"column",spacing:2,children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(kl.Z,{variant:"h6",children:"Do you want to save the changes?"})}),s&&(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(oS.Z,{control:(0,Kl.jsx)(kk.Z,{checked:u,onChange:function(e){return d(e.target.checked)},color:"primary"}),label:"Notify patient about new start date"})}),(0,Kl.jsx)(AC,{container:!0,spacing:2,justifyContent:"center",item:!0,children:(0,Kl.jsxs)(AC,{container:!0,direction:"row",justifyContent:"center",spacing:2,item:!0,children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(zd.Z,{onClick:function(){p()},variant:"contained",color:"secondary",children:"No"})}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(zd.Z,{onClick:function(){i(u),p()},variant:"contained",color:"primary",children:"Yes"})})]})})]})})})};var Nk=$l((function(){var t,r,o,i=ju(),a=Fc(),s=a.appointment,l=a.appointmentDoctor,c=a.calendar,u=a.location,d=he(),p=me().appointmentId,f=(0,e.useState)(!1),h=(0,n.Z)(f,2),b=h[0],A=h[1],m=(0,e.useState)(!1),g=(0,n.Z)(m,2),v=g[0],y=g[1],M=(0,e.useState)(!1),O=(0,n.Z)(M,2),_=O[0],z=O[1],x=Ae().calendarRef,w=Eu(),C=(0,n.Z)(w,1)[0],S=fe(),E="active"===C.get("status"),k=hE().enqueueSnackbar,D=(0,e.useState)(null),N=(0,n.Z)(D,2),T=N[0],j=N[1],B=(0,e.useState)(!1),L=(0,n.Z)(B,2),R=L[0],q=L[1];(0,e.useEffect)((function(){null!==s&&void 0!==s&&s.startDate&&!T&&j(s.startDate)}),[s]);var P=l.payment.selected_products.map((function(e){return{id:e.id,quantity:e.qnt,price:e.price,inventory_expiring_item_id:0===e.inventory_expiring_item_id?null:e.inventory_expiring_item_id}})),I={items:l.payment.items.map((function(e){var t={name:e.name,price:e.price,isMedical:e.isMedical};return-1!==e.id&&(t=Us(Us({},t),{},{treatmentTypeId:e.treatmentTypeId})),t})),is_paid:!1,selected_products:P},W=(null===s||void 0===s?void 0:s.location)||(null===u||void 0===u?void 0:u.id),F={patientId:s.patient.id,staffId:s.doctor.id,startDate:Vs()(s.startDate).format("YYYY-MM-DDTHH:mm"),endDate:Vs()(s.endDate).format("YYYY-MM-DDTHH:mm"),treatmentTypes:null===s||void 0===s?void 0:s.treatmentTypes.filter((function(e){return e.selected&&e.locationId===W})).map((function(e){return{id:e.id,isMedical:e.isMedical}})),fundStatusId:null!==s&&void 0!==s&&s.isDeposited&&s.depositedAt?2:1,types:null===s||void 0===s?void 0:s.selectedTypes.map((function(e){return e.id})),deposit:null!==(t=s.deposit)&&void 0!==t?t:0,depositNotes:null!==s&&void 0!==s&&s.depositNotes?null===s||void 0===s?void 0:s.depositNotes:"",furtherDetails:null!==(r=null===s||void 0===s?void 0:s.notes)&&void 0!==r?r:"",paymentData:I,is_paid:null===s||void 0===s?void 0:s.isPaid,statusId:null===s||void 0===s||null===(o=s.status)||void 0===o?void 0:o.id,linkedAppointmentsHash:null!==s&&void 0!==s&&s.linkedAppointmentsHash?null===s||void 0===s?void 0:s.linkedAppointmentsHash:null,clinic_location_id:W,selected_products:P},U=function(e,t){var n,r=Vs()(e).format("YYYY-MM-DDTHH:mm"),o=Vs()(r).add(1,"minutes").format("YYYY-MM-DDTHH:mm");c.setDate(o),c.updateDates(o),c.update(),null===x||void 0===x||null===(n=x.current)||void 0===n||n.getApi().gotoDate(o),S.search.includes("fromPatient")?(s.clear(),d("/calendar/appointment/".concat(t))):d("/calendar")},Z=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];Re.put("/v1/appointment/".concat(p),Us(Us({},F),{},{notify:e})).then((function(e){var t=e.data;U(t.data.startDate,t.data.id)})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return k(e,{variant:"error"})}))}))}))},H=function(){q(!0),Re.post("/v1/appointment",F).then((function(e){var t=e.data;U(t.data.startDate,t.data.id)})).catch((function(e){e.errors?Object.values(e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return k(e,{variant:"error"})}))})):k("An error occurred",{variant:"error"})})).finally((function(){q(!1)}))},$=(0,e.useMemo)((function(){return s.canStart&&"Practitioner"===i}),[i,s.canStart]);return console.log(i),console.log(s.canStart),console.log("test"),(0,Kl.jsx)("div",{className:RE.appointmentBookBottomWrapper,children:(0,Kl.jsx)("div",{className:RE.appointmentBookBottom,children:(0,Kl.jsxs)(AC,{item:!0,container:!0,spacing:2,direction:"row",className:"appointment-confirm-buttons-container",children:[p&&!E&&(0,Kl.jsx)(AC,{item:!0,xs:!0,className:"appointment-confirm-buttons",children:(0,Kl.jsx)(Ck,{style:{backgroundColor:!(null!==s&&void 0!==s&&s.cancelledAt)&&"red",color:!(null!==s&&void 0!==s&&s.cancelledAt)&&"white",marginBottom:0},color:"primary",variant:"contained",fullWidth:!0,size:"small",onClick:function(){y(!0)},disabled:!(null===s||void 0===s||!s.cancelledAt),children:"Cancel"})}),(0,Kl.jsx)(AC,{item:!0,xs:!0,className:"appointment-confirm-buttons",children:(0,Kl.jsx)(Ck,{variant:"contained",color:"primary",fullWidth:!0,onClick:function(){return R?null:void(p?s.isDeposited||"number"===typeof s.deposit?z(!0):A(!0):H())},size:"small",disabled:!s.canBookWithoutDeposit||s.isCompleted&&s.isPaid||R,children:p?"Update":"Book"})}),p&&!E&&(0,Kl.jsx)(AC,{item:!0,xs:!0,className:"appointment-confirm-buttons",children:(0,Kl.jsx)(Ck,{color:"primary",fullWidth:!0,variant:"contained",onClick:function(){var e={patient_id:F.patientId,staff_id:F.staffId,start_date:F.startDate,treatmentTypes:F.treatmentTypes,types:F.types,statusId:2,deposit:F.deposit,depositNotes:F.depositNotes,furtherDetails:null===F||void 0===F?void 0:F.furtherDetails,paymentData:I,is_paid:null===s||void 0===s?void 0:s.isPaid,linkedAppointmentsHash:F.linkedAppointmentsHash,clinic_location_id:null===F||void 0===F?void 0:F.clinic_location_id};Re.put("/v1/appointment/".concat(p),e).then((function(e){e.data;d("/doctor-appointment/".concat(p,"/consultation"))})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return k(e,{variant:"error"})}))}))}))},disabled:!$,size:"small",children:"Start"})}),E&&(0,Kl.jsx)(AC,{item:!0,xs:!0,className:"appointment-confirm-buttons",children:(0,Kl.jsx)(Ck,{color:"primary",fullWidth:!0,variant:"contained",onClick:function(){"Admin"===i?d("/doctor-appointment/".concat(p,"/payment")):"Practitioner"===i&&d("/doctor-appointment/".concat(p,"/consultation"))},size:"small",disabled:"Practitioner"!==i&&"Admin"!==i,children:"View"})}),(0,Kl.jsx)(Ek,{open:b,setOpen:A,updateAppointment:Z}),(0,Kl.jsx)(Sk,{open:v,setOpen:y,removeAppointment:function(){Re.delete("/v1/appointment/".concat(p)).then((function(e){e.data;U(Vs()(s.startDate).add(1,"minutes").format("YYYY-MM-DDTHH:mm"),p)})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return k(e,{variant:"error"})}))}))}))}}),(0,Kl.jsx)(Dk,{open:_,setOpen:z,updateAppointment:Z,showNotifyCheckbox:(null===s||void 0===s?void 0:s.id)&&!Vs()(T).isSame(s.startDate)})]})})})})),Tk=Nk,jk=__webpack_require__(69973),Bk=__webpack_require__(46939),Lk=__webpack_require__.n(Bk),Rk=function(e){return function(e){return!!e&&"object"===typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===qk}(e)}(e)};var qk="function"===typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Pk(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Wk((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function Ik(e,t,n){return e.concat(t).map((function(e){return Pk(e,n)}))}function Wk(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||Ik,n.isMergeableObject=n.isMergeableObject||Rk;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):function(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach((function(t){r[t]=Pk(e[t],n)})),Object.keys(t).forEach((function(o){n.isMergeableObject(t[o])&&e[o]?r[o]=Wk(e[o],t[o],n):r[o]=Pk(t[o],n)})),r}(e,t,n):Pk(t,n)}Wk.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return Wk(e,n,t)}),{})};var Fk=Wk,Uk="object"==typeof global&&global&&global.Object===Object&&global,Zk="object"==typeof self&&self&&self.Object===Object&&self,Hk=Uk||Zk||Function("return this")(),$k=Hk.Symbol,Vk=Object.prototype,Xk=Vk.hasOwnProperty,Qk=Vk.toString,Yk=$k?$k.toStringTag:void 0;var Gk=function(e){var t=Xk.call(e,Yk),n=e[Yk];try{e[Yk]=void 0;var r=!0}catch(AE){}var o=Qk.call(e);return r&&(t?e[Yk]=n:delete e[Yk]),o},Kk=Object.prototype.toString;var Jk=function(e){return Kk.call(e)},eD=$k?$k.toStringTag:void 0;var tD=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":eD&&eD in Object(e)?Gk(e):Jk(e)};var nD=function(e,t){return function(n){return e(t(n))}},rD=nD(Object.getPrototypeOf,Object);var oD=function(e){return null!=e&&"object"==typeof e},iD=Function.prototype,aD=Object.prototype,sD=iD.toString,lD=aD.hasOwnProperty,cD=sD.call(Object);var uD=function(e){if(!oD(e)||"[object Object]"!=tD(e))return!1;var t=rD(e);if(null===t)return!0;var n=lD.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&sD.call(n)==cD};var dD=function(){this.__data__=[],this.size=0};var pD=function(e,t){return e===t||e!==e&&t!==t};var fD=function(e,t){for(var n=e.length;n--;)if(pD(e[n][0],t))return n;return-1},hD=Array.prototype.splice;var bD=function(e){var t=this.__data__,n=fD(t,e);return!(n<0)&&(n==t.length-1?t.pop():hD.call(t,n,1),--this.size,!0)};var AD=function(e){var t=this.__data__,n=fD(t,e);return n<0?void 0:t[n][1]};var mD=function(e){return fD(this.__data__,e)>-1};var gD=function(e,t){var n=this.__data__,r=fD(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};function vD(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}vD.prototype.clear=dD,vD.prototype.delete=bD,vD.prototype.get=AD,vD.prototype.has=mD,vD.prototype.set=gD;var yD=vD;var MD=function(){this.__data__=new yD,this.size=0};var OD=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n};var _D=function(e){return this.__data__.get(e)};var zD=function(e){return this.__data__.has(e)};var xD=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var wD=function(e){if(!xD(e))return!1;var t=tD(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},CD=Hk["__core-js_shared__"],SD=function(){var e=/[^.]+$/.exec(CD&&CD.keys&&CD.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();var ED=function(e){return!!SD&&SD in e},kD=Function.prototype.toString;var DD=function(e){if(null!=e){try{return kD.call(e)}catch(AE){}try{return e+""}catch(AE){}}return""},ND=/^\[object .+?Constructor\]$/,TD=Function.prototype,jD=Object.prototype,BD=TD.toString,LD=jD.hasOwnProperty,RD=RegExp("^"+BD.call(LD).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var qD=function(e){return!(!xD(e)||ED(e))&&(wD(e)?RD:ND).test(DD(e))};var PD=function(e,t){return null==e?void 0:e[t]};var ID=function(e,t){var n=PD(e,t);return qD(n)?n:void 0},WD=ID(Hk,"Map"),FD=ID(Object,"create");var UD=function(){this.__data__=FD?FD(null):{},this.size=0};var ZD=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},HD=Object.prototype.hasOwnProperty;var $D=function(e){var t=this.__data__;if(FD){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return HD.call(t,e)?t[e]:void 0},VD=Object.prototype.hasOwnProperty;var XD=function(e){var t=this.__data__;return FD?void 0!==t[e]:VD.call(t,e)};var QD=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=FD&&void 0===t?"__lodash_hash_undefined__":t,this};function YD(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}YD.prototype.clear=UD,YD.prototype.delete=ZD,YD.prototype.get=$D,YD.prototype.has=XD,YD.prototype.set=QD;var GD=YD;var KD=function(){this.size=0,this.__data__={hash:new GD,map:new(WD||yD),string:new GD}};var JD=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var eN=function(e,t){var n=e.__data__;return JD(t)?n["string"==typeof t?"string":"hash"]:n.map};var tN=function(e){var t=eN(this,e).delete(e);return this.size-=t?1:0,t};var nN=function(e){return eN(this,e).get(e)};var rN=function(e){return eN(this,e).has(e)};var oN=function(e,t){var n=eN(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};function iN(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}iN.prototype.clear=KD,iN.prototype.delete=tN,iN.prototype.get=nN,iN.prototype.has=rN,iN.prototype.set=oN;var aN=iN;var sN=function(e,t){var n=this.__data__;if(n instanceof yD){var r=n.__data__;if(!WD||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new aN(r)}return n.set(e,t),this.size=n.size,this};function lN(e){var t=this.__data__=new yD(e);this.size=t.size}lN.prototype.clear=MD,lN.prototype.delete=OD,lN.prototype.get=_D,lN.prototype.has=zD,lN.prototype.set=sN;var cN=lN;var uN=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e},dN=function(){try{var e=ID(Object,"defineProperty");return e({},"",{}),e}catch(AE){}}();var pN=function(e,t,n){"__proto__"==t&&dN?dN(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},fN=Object.prototype.hasOwnProperty;var hN=function(e,t,n){var r=e[t];fN.call(e,t)&&pD(r,n)&&(void 0!==n||t in e)||pN(e,t,n)};var bN=function(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var s=t[i],l=r?r(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),o?pN(n,s,l):hN(n,s,l)}return n};var AN=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r};var mN=function(e){return oD(e)&&"[object Arguments]"==tD(e)},gN=Object.prototype,vN=gN.hasOwnProperty,yN=gN.propertyIsEnumerable,MN=mN(function(){return arguments}())?mN:function(e){return oD(e)&&vN.call(e,"callee")&&!yN.call(e,"callee")},ON=MN,_N=Array.isArray;var zN=function(){return!1},xN="object"==typeof exports&&exports&&!exports.nodeType&&exports,wN=xN&&"object"==typeof module&&module&&!module.nodeType&&module,CN=wN&&wN.exports===xN?Hk.Buffer:void 0,SN=(CN?CN.isBuffer:void 0)||zN,EN=/^(?:0|[1-9]\d*)$/;var kN=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&EN.test(e))&&e>-1&&e%1==0&&e<t};var DN=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},NN={};NN["[object Float32Array]"]=NN["[object Float64Array]"]=NN["[object Int8Array]"]=NN["[object Int16Array]"]=NN["[object Int32Array]"]=NN["[object Uint8Array]"]=NN["[object Uint8ClampedArray]"]=NN["[object Uint16Array]"]=NN["[object Uint32Array]"]=!0,NN["[object Arguments]"]=NN["[object Array]"]=NN["[object ArrayBuffer]"]=NN["[object Boolean]"]=NN["[object DataView]"]=NN["[object Date]"]=NN["[object Error]"]=NN["[object Function]"]=NN["[object Map]"]=NN["[object Number]"]=NN["[object Object]"]=NN["[object RegExp]"]=NN["[object Set]"]=NN["[object String]"]=NN["[object WeakMap]"]=!1;var TN=function(e){return oD(e)&&DN(e.length)&&!!NN[tD(e)]};var jN=function(e){return function(t){return e(t)}},BN="object"==typeof exports&&exports&&!exports.nodeType&&exports,LN=BN&&"object"==typeof module&&module&&!module.nodeType&&module,RN=LN&&LN.exports===BN&&Uk.process,qN=function(){try{var e=LN&&LN.require&&LN.require("util").types;return e||RN&&RN.binding&&RN.binding("util")}catch(AE){}}(),PN=qN,IN=PN&&PN.isTypedArray,WN=IN?jN(IN):TN,FN=Object.prototype.hasOwnProperty;var UN=function(e,t){var n=_N(e),r=!n&&ON(e),o=!n&&!r&&SN(e),i=!n&&!r&&!o&&WN(e),a=n||r||o||i,s=a?AN(e.length,String):[],l=s.length;for(var c in e)!t&&!FN.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||kN(c,l))||s.push(c);return s},ZN=Object.prototype;var HN=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||ZN)},$N=nD(Object.keys,Object),VN=Object.prototype.hasOwnProperty;var XN=function(e){if(!HN(e))return $N(e);var t=[];for(var n in Object(e))VN.call(e,n)&&"constructor"!=n&&t.push(n);return t};var QN=function(e){return null!=e&&DN(e.length)&&!wD(e)};var YN=function(e){return QN(e)?UN(e):XN(e)};var GN=function(e,t){return e&&bN(t,YN(t),e)};var KN=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t},JN=Object.prototype.hasOwnProperty;var eT=function(e){if(!xD(e))return KN(e);var t=HN(e),n=[];for(var r in e)("constructor"!=r||!t&&JN.call(e,r))&&n.push(r);return n};var tT=function(e){return QN(e)?UN(e,!0):eT(e)};var nT=function(e,t){return e&&bN(t,tT(t),e)},rT="object"==typeof exports&&exports&&!exports.nodeType&&exports,oT=rT&&"object"==typeof module&&module&&!module.nodeType&&module,iT=oT&&oT.exports===rT?Hk.Buffer:void 0,aT=iT?iT.allocUnsafe:void 0;var sT=function(e,t){if(t)return e.slice();var n=e.length,r=aT?aT(n):new e.constructor(n);return e.copy(r),r};var lT=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t};var cT=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i};var uT=function(){return[]},dT=Object.prototype.propertyIsEnumerable,pT=Object.getOwnPropertySymbols,fT=pT?function(e){return null==e?[]:(e=Object(e),cT(pT(e),(function(t){return dT.call(e,t)})))}:uT;var hT=function(e,t){return bN(e,fT(e),t)};var bT=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e},AT=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)bT(t,fT(e)),e=rD(e);return t}:uT,mT=AT;var gT=function(e,t){return bN(e,mT(e),t)};var vT=function(e,t,n){var r=t(e);return _N(e)?r:bT(r,n(e))};var yT=function(e){return vT(e,YN,fT)};var MT=function(e){return vT(e,tT,mT)},OT=ID(Hk,"DataView"),_T=ID(Hk,"Promise"),zT=ID(Hk,"Set"),xT=ID(Hk,"WeakMap"),wT="[object Map]",CT="[object Promise]",ST="[object Set]",ET="[object WeakMap]",kT="[object DataView]",DT=DD(OT),NT=DD(WD),TT=DD(_T),jT=DD(zT),BT=DD(xT),LT=tD;(OT&&LT(new OT(new ArrayBuffer(1)))!=kT||WD&&LT(new WD)!=wT||_T&&LT(_T.resolve())!=CT||zT&&LT(new zT)!=ST||xT&&LT(new xT)!=ET)&&(LT=function(e){var t=tD(e),n="[object Object]"==t?e.constructor:void 0,r=n?DD(n):"";if(r)switch(r){case DT:return kT;case NT:return wT;case TT:return CT;case jT:return ST;case BT:return ET}return t});var RT=LT,qT=Object.prototype.hasOwnProperty;var PT=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&qT.call(e,"index")&&(n.index=e.index,n.input=e.input),n},IT=Hk.Uint8Array;var WT=function(e){var t=new e.constructor(e.byteLength);return new IT(t).set(new IT(e)),t};var FT=function(e,t){var n=t?WT(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)},UT=/\w*$/;var ZT=function(e){var t=new e.constructor(e.source,UT.exec(e));return t.lastIndex=e.lastIndex,t},HT=$k?$k.prototype:void 0,$T=HT?HT.valueOf:void 0;var VT=function(e){return $T?Object($T.call(e)):{}};var XT=function(e,t){var n=t?WT(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)};var QT=function(e,t,n){var r=e.constructor;switch(t){case"[object ArrayBuffer]":return WT(e);case"[object Boolean]":case"[object Date]":return new r(+e);case"[object DataView]":return FT(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return XT(e,n);case"[object Map]":case"[object Set]":return new r;case"[object Number]":case"[object String]":return new r(e);case"[object RegExp]":return ZT(e);case"[object Symbol]":return VT(e)}},YT=Object.create,GT=function(){function e(){}return function(t){if(!xD(t))return{};if(YT)return YT(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),KT=GT;var JT=function(e){return"function"!=typeof e.constructor||HN(e)?{}:KT(rD(e))};var ej=function(e){return oD(e)&&"[object Map]"==RT(e)},tj=PN&&PN.isMap,nj=tj?jN(tj):ej;var rj=function(e){return oD(e)&&"[object Set]"==RT(e)},oj=PN&&PN.isSet,ij=oj?jN(oj):rj,aj="[object Arguments]",sj="[object Function]",lj="[object Object]",cj={};cj[aj]=cj["[object Array]"]=cj["[object ArrayBuffer]"]=cj["[object DataView]"]=cj["[object Boolean]"]=cj["[object Date]"]=cj["[object Float32Array]"]=cj["[object Float64Array]"]=cj["[object Int8Array]"]=cj["[object Int16Array]"]=cj["[object Int32Array]"]=cj["[object Map]"]=cj["[object Number]"]=cj[lj]=cj["[object RegExp]"]=cj["[object Set]"]=cj["[object String]"]=cj["[object Symbol]"]=cj["[object Uint8Array]"]=cj["[object Uint8ClampedArray]"]=cj["[object Uint16Array]"]=cj["[object Uint32Array]"]=!0,cj["[object Error]"]=cj[sj]=cj["[object WeakMap]"]=!1;var uj=function e(t,n,r,o,i,a){var s,l=1&n,c=2&n,u=4&n;if(r&&(s=i?r(t,o,i,a):r(t)),void 0!==s)return s;if(!xD(t))return t;var d=_N(t);if(d){if(s=PT(t),!l)return lT(t,s)}else{var p=RT(t),f=p==sj||"[object GeneratorFunction]"==p;if(SN(t))return sT(t,l);if(p==lj||p==aj||f&&!i){if(s=c||f?{}:JT(t),!l)return c?gT(t,nT(s,t)):hT(t,GN(s,t))}else{if(!cj[p])return i?t:{};s=QT(t,p,l)}}a||(a=new cN);var h=a.get(t);if(h)return h;a.set(t,s),ij(t)?t.forEach((function(o){s.add(e(o,n,r,o,t,a))})):nj(t)&&t.forEach((function(o,i){s.set(i,e(o,n,r,i,t,a))}));var b=d?void 0:(u?c?MT:yT:c?tT:YN)(t);return uN(b||t,(function(o,i){b&&(o=t[i=o]),hN(s,i,e(o,n,r,i,t,a))})),s};var dj=function(e){return uj(e,4)};var pj=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o};var fj=function(e){return"symbol"==typeof e||oD(e)&&"[object Symbol]"==tD(e)};function hj(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function n(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(hj.Cache||aN),n}hj.Cache=aN;var bj=hj;var Aj=function(e){var t=bj(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t},mj=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,gj=/\\(\\)?/g,vj=Aj((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(mj,(function(e,n,r,o){t.push(r?o.replace(gj,"$1"):n||e)})),t})),yj=vj;var Mj=function(e){if("string"==typeof e||fj(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t},Oj=$k?$k.prototype:void 0,_j=Oj?Oj.toString:void 0;var zj=function e(t){if("string"==typeof t)return t;if(_N(t))return pj(t,e)+"";if(fj(t))return _j?_j.call(t):"";var n=t+"";return"0"==n&&1/t==-Infinity?"-0":n};var xj=function(e){return null==e?"":zj(e)};var wj=function(e){return _N(e)?pj(e,Mj):fj(e)?[e]:lT(yj(xj(e)))};var Cj=function(e,t){};var Sj=function(e){return uj(e,5)};function Ej(){return Ej=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ej.apply(this,arguments)}function kj(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Dj(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function Nj(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var Tj=function(e){return Array.isArray(e)&&0===e.length},jj=function(e){return"function"===typeof e},Bj=function(e){return null!==e&&"object"===typeof e},Lj=function(e){return String(Math.floor(Number(e)))===e},Rj=function(e){return"[object String]"===Object.prototype.toString.call(e)},qj=function(t){return 0===e.Children.count(t)},Pj=function(e){return Bj(e)&&jj(e.then)};function Ij(e,t,n,r){void 0===r&&(r=0);for(var o=wj(t);e&&r<o.length;)e=e[o[r++]];return void 0===e?n:e}function Wj(e,t,n){for(var r=dj(e),o=r,i=0,a=wj(t);i<a.length-1;i++){var s=a[i],l=Ij(e,a.slice(0,i+1));if(l&&(Bj(l)||Array.isArray(l)))o=o[s]=dj(l);else{var c=a[i+1];o=o[s]=Lj(c)&&Number(c)>=0?[]:{}}}return(0===i?e:o)[a[i]]===n?e:(void 0===n?delete o[a[i]]:o[a[i]]=n,0===i&&void 0===n&&delete r[a[i]],r)}function Fj(e,t,n,r){void 0===n&&(n=new WeakMap),void 0===r&&(r={});for(var o=0,i=Object.keys(e);o<i.length;o++){var a=i[o],s=e[a];Bj(s)?n.get(s)||(n.set(s,!0),r[a]=Array.isArray(s)?[]:{},Fj(s,t,n,r[a])):r[a]=t}return r}var Uj=(0,e.createContext)(void 0);Uj.displayName="FormikContext";Uj.Provider,Uj.Consumer;function Zj(){var t=(0,e.useContext)(Uj);return t||Cj(!1),t}function Hj(e,t){switch(t.type){case"SET_VALUES":return Ej({},e,{values:t.payload});case"SET_TOUCHED":return Ej({},e,{touched:t.payload});case"SET_ERRORS":return Lk()(e.errors,t.payload)?e:Ej({},e,{errors:t.payload});case"SET_STATUS":return Ej({},e,{status:t.payload});case"SET_ISSUBMITTING":return Ej({},e,{isSubmitting:t.payload});case"SET_ISVALIDATING":return Ej({},e,{isValidating:t.payload});case"SET_FIELD_VALUE":return Ej({},e,{values:Wj(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return Ej({},e,{touched:Wj(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return Ej({},e,{errors:Wj(e.errors,t.payload.field,t.payload.value)});case"RESET_FORM":return Ej({},e,t.payload);case"SET_FORMIK_STATE":return t.payload(e);case"SUBMIT_ATTEMPT":return Ej({},e,{touched:Fj(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case"SUBMIT_FAILURE":case"SUBMIT_SUCCESS":return Ej({},e,{isSubmitting:!1});default:return e}}var $j={},Vj={};function Xj(t){var n=t.validateOnChange,r=void 0===n||n,o=t.validateOnBlur,i=void 0===o||o,a=t.validateOnMount,s=void 0!==a&&a,l=t.isInitialValid,c=t.enableReinitialize,u=void 0!==c&&c,d=t.onSubmit,p=Dj(t,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),f=Ej({validateOnChange:r,validateOnBlur:i,validateOnMount:s,onSubmit:d},p),h=(0,e.useRef)(f.initialValues),b=(0,e.useRef)(f.initialErrors||$j),A=(0,e.useRef)(f.initialTouched||Vj),m=(0,e.useRef)(f.initialStatus),g=(0,e.useRef)(!1),v=(0,e.useRef)({});(0,e.useEffect)((function(){return g.current=!0,function(){g.current=!1}}),[]);var y=(0,e.useReducer)(Hj,{values:f.initialValues,errors:f.initialErrors||$j,touched:f.initialTouched||Vj,status:f.initialStatus,isSubmitting:!1,isValidating:!1,submitCount:0}),M=y[0],O=y[1],_=(0,e.useCallback)((function(e,t){return new Promise((function(n,r){var o=f.validate(e,t);null==o?n($j):Pj(o)?o.then((function(e){n(e||$j)}),(function(e){r(e)})):n(o)}))}),[f.validate]),z=(0,e.useCallback)((function(e,t){var n=f.validationSchema,r=jj(n)?n(t):n,o=t&&r.validateAt?r.validateAt(t,e):function(e,t,n,r){void 0===n&&(n=!1);void 0===r&&(r={});var o=Qj(e);return t[n?"validateSync":"validate"](o,{abortEarly:!1,context:r})}(e,r);return new Promise((function(e,t){o.then((function(){e($j)}),(function(n){"ValidationError"===n.name?e(function(e){var t={};if(e.inner){if(0===e.inner.length)return Wj(t,e.path,e.message);var n=e.inner,r=Array.isArray(n),o=0;for(n=r?n:n[Symbol.iterator]();;){var i;if(r){if(o>=n.length)break;i=n[o++]}else{if((o=n.next()).done)break;i=o.value}var a=i;Ij(t,a.path)||(t=Wj(t,a.path,a.message))}}return t}(n)):t(n)}))}))}),[f.validationSchema]),x=(0,e.useCallback)((function(e,t){return new Promise((function(n){return n(v.current[e].validate(t))}))}),[]),w=(0,e.useCallback)((function(e){var t=Object.keys(v.current).filter((function(e){return jj(v.current[e].validate)})),n=t.length>0?t.map((function(t){return x(t,Ij(e,t))})):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(n).then((function(e){return e.reduce((function(e,n,r){return"DO_NOT_DELETE_YOU_WILL_BE_FIRED"===n||n&&(e=Wj(e,t[r],n)),e}),{})}))}),[x]),C=(0,e.useCallback)((function(e){return Promise.all([w(e),f.validationSchema?z(e):{},f.validate?_(e):{}]).then((function(e){var t=e[0],n=e[1],r=e[2];return Fk.all([t,n,r],{arrayMerge:Yj})}))}),[f.validate,f.validationSchema,w,_,z]),S=Kj((function(e){return void 0===e&&(e=M.values),O({type:"SET_ISVALIDATING",payload:!0}),C(e).then((function(e){return g.current&&(O({type:"SET_ISVALIDATING",payload:!1}),O({type:"SET_ERRORS",payload:e})),e}))}));(0,e.useEffect)((function(){s&&!0===g.current&&Lk()(h.current,f.initialValues)&&S(h.current)}),[s,S]);var E=(0,e.useCallback)((function(e){var t=e&&e.values?e.values:h.current,n=e&&e.errors?e.errors:b.current?b.current:f.initialErrors||{},r=e&&e.touched?e.touched:A.current?A.current:f.initialTouched||{},o=e&&e.status?e.status:m.current?m.current:f.initialStatus;h.current=t,b.current=n,A.current=r,m.current=o;var i=function(){O({type:"RESET_FORM",payload:{isSubmitting:!!e&&!!e.isSubmitting,errors:n,touched:r,status:o,values:t,isValidating:!!e&&!!e.isValidating,submitCount:e&&e.submitCount&&"number"===typeof e.submitCount?e.submitCount:0}})};if(f.onReset){var a=f.onReset(M.values,X);Pj(a)?a.then(i):i()}else i()}),[f.initialErrors,f.initialStatus,f.initialTouched]);(0,e.useEffect)((function(){!0!==g.current||Lk()(h.current,f.initialValues)||(u&&(h.current=f.initialValues,E()),s&&S(h.current))}),[u,f.initialValues,E,s,S]),(0,e.useEffect)((function(){u&&!0===g.current&&!Lk()(b.current,f.initialErrors)&&(b.current=f.initialErrors||$j,O({type:"SET_ERRORS",payload:f.initialErrors||$j}))}),[u,f.initialErrors]),(0,e.useEffect)((function(){u&&!0===g.current&&!Lk()(A.current,f.initialTouched)&&(A.current=f.initialTouched||Vj,O({type:"SET_TOUCHED",payload:f.initialTouched||Vj}))}),[u,f.initialTouched]),(0,e.useEffect)((function(){u&&!0===g.current&&!Lk()(m.current,f.initialStatus)&&(m.current=f.initialStatus,O({type:"SET_STATUS",payload:f.initialStatus}))}),[u,f.initialStatus,f.initialTouched]);var k=Kj((function(e){if(v.current[e]&&jj(v.current[e].validate)){var t=Ij(M.values,e),n=v.current[e].validate(t);return Pj(n)?(O({type:"SET_ISVALIDATING",payload:!0}),n.then((function(e){return e})).then((function(t){O({type:"SET_FIELD_ERROR",payload:{field:e,value:t}}),O({type:"SET_ISVALIDATING",payload:!1})}))):(O({type:"SET_FIELD_ERROR",payload:{field:e,value:n}}),Promise.resolve(n))}return f.validationSchema?(O({type:"SET_ISVALIDATING",payload:!0}),z(M.values,e).then((function(e){return e})).then((function(t){O({type:"SET_FIELD_ERROR",payload:{field:e,value:t[e]}}),O({type:"SET_ISVALIDATING",payload:!1})}))):Promise.resolve()})),D=(0,e.useCallback)((function(e,t){var n=t.validate;v.current[e]={validate:n}}),[]),N=(0,e.useCallback)((function(e){delete v.current[e]}),[]),T=Kj((function(e,t){return O({type:"SET_TOUCHED",payload:e}),(void 0===t?i:t)?S(M.values):Promise.resolve()})),j=(0,e.useCallback)((function(e){O({type:"SET_ERRORS",payload:e})}),[]),B=Kj((function(e,t){var n=jj(e)?e(M.values):e;return O({type:"SET_VALUES",payload:n}),(void 0===t?r:t)?S(n):Promise.resolve()})),L=(0,e.useCallback)((function(e,t){O({type:"SET_FIELD_ERROR",payload:{field:e,value:t}})}),[]),R=Kj((function(e,t,n){return O({type:"SET_FIELD_VALUE",payload:{field:e,value:t}}),(void 0===n?r:n)?S(Wj(M.values,e,t)):Promise.resolve()})),q=(0,e.useCallback)((function(e,t){var n,r=t,o=e;if(!Rj(e)){e.persist&&e.persist();var i=e.target?e.target:e.currentTarget,a=i.type,s=i.name,l=i.id,c=i.value,u=i.checked,d=(i.outerHTML,i.options),p=i.multiple;r=t||(s||l),o=/number|range/.test(a)?(n=parseFloat(c),isNaN(n)?"":n):/checkbox/.test(a)?function(e,t,n){if("boolean"===typeof e)return Boolean(t);var r=[],o=!1,i=-1;if(Array.isArray(e))r=e,o=(i=e.indexOf(n))>=0;else if(!n||"true"==n||"false"==n)return Boolean(t);if(t&&n&&!o)return r.concat(n);if(!o)return r;return r.slice(0,i).concat(r.slice(i+1))}(Ij(M.values,r),u,c):d&&p?function(e){return Array.from(e).filter((function(e){return e.selected})).map((function(e){return e.value}))}(d):c}r&&R(r,o)}),[R,M.values]),P=Kj((function(e){if(Rj(e))return function(t){return q(t,e)};q(e)})),I=Kj((function(e,t,n){return void 0===t&&(t=!0),O({type:"SET_FIELD_TOUCHED",payload:{field:e,value:t}}),(void 0===n?i:n)?S(M.values):Promise.resolve()})),W=(0,e.useCallback)((function(e,t){e.persist&&e.persist();var n=e.target,r=n.name,o=n.id,i=(n.outerHTML,t||(r||o));I(i,!0)}),[I]),F=Kj((function(e){if(Rj(e))return function(t){return W(t,e)};W(e)})),U=(0,e.useCallback)((function(e){jj(e)?O({type:"SET_FORMIK_STATE",payload:e}):O({type:"SET_FORMIK_STATE",payload:function(){return e}})}),[]),Z=(0,e.useCallback)((function(e){O({type:"SET_STATUS",payload:e})}),[]),H=(0,e.useCallback)((function(e){O({type:"SET_ISSUBMITTING",payload:e})}),[]),$=Kj((function(){return O({type:"SUBMIT_ATTEMPT"}),S().then((function(e){var t=e instanceof Error;if(!t&&0===Object.keys(e).length){var n;try{if(void 0===(n=Q()))return}catch(r){throw r}return Promise.resolve(n).then((function(e){return g.current&&O({type:"SUBMIT_SUCCESS"}),e})).catch((function(e){if(g.current)throw O({type:"SUBMIT_FAILURE"}),e}))}if(g.current&&(O({type:"SUBMIT_FAILURE"}),t))throw e}))})),V=Kj((function(e){e&&e.preventDefault&&jj(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&jj(e.stopPropagation)&&e.stopPropagation(),$().catch((function(e){console.warn("Warning: An unhandled error was caught from submitForm()",e)}))})),X={resetForm:E,validateForm:S,validateField:k,setErrors:j,setFieldError:L,setFieldTouched:I,setFieldValue:R,setStatus:Z,setSubmitting:H,setTouched:T,setValues:B,setFormikState:U,submitForm:$},Q=Kj((function(){return d(M.values,X)})),Y=Kj((function(e){e&&e.preventDefault&&jj(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&jj(e.stopPropagation)&&e.stopPropagation(),E()})),G=(0,e.useCallback)((function(e){return{value:Ij(M.values,e),error:Ij(M.errors,e),touched:!!Ij(M.touched,e),initialValue:Ij(h.current,e),initialTouched:!!Ij(A.current,e),initialError:Ij(b.current,e)}}),[M.errors,M.touched,M.values]),K=(0,e.useCallback)((function(e){return{setValue:function(t,n){return R(e,t,n)},setTouched:function(t,n){return I(e,t,n)},setError:function(t){return L(e,t)}}}),[R,I,L]),J=(0,e.useCallback)((function(e){var t=Bj(e),n=t?e.name:e,r=Ij(M.values,n),o={name:n,value:r,onChange:P,onBlur:F};if(t){var i=e.type,a=e.value,s=e.as,l=e.multiple;"checkbox"===i?void 0===a?o.checked=!!r:(o.checked=!(!Array.isArray(r)||!~r.indexOf(a)),o.value=a):"radio"===i?(o.checked=r===a,o.value=a):"select"===s&&l&&(o.value=o.value||[],o.multiple=!0)}return o}),[F,P,M.values]),ee=(0,e.useMemo)((function(){return!Lk()(h.current,M.values)}),[h.current,M.values]),te=(0,e.useMemo)((function(){return"undefined"!==typeof l?ee?M.errors&&0===Object.keys(M.errors).length:!1!==l&&jj(l)?l(f):l:M.errors&&0===Object.keys(M.errors).length}),[l,ee,M.errors,f]);return Ej({},M,{initialValues:h.current,initialErrors:b.current,initialTouched:A.current,initialStatus:m.current,handleBlur:F,handleChange:P,handleReset:Y,handleSubmit:V,resetForm:E,setErrors:j,setFormikState:U,setFieldTouched:I,setFieldValue:R,setFieldError:L,setStatus:Z,setSubmitting:H,setTouched:T,setValues:B,submitForm:$,validateForm:S,validateField:k,isValid:te,dirty:ee,unregisterField:N,registerField:D,getFieldProps:J,getFieldMeta:G,getFieldHelpers:K,validateOnBlur:i,validateOnChange:r,validateOnMount:s})}function Qj(e){var t=Array.isArray(e)?[]:{};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=String(n);!0===Array.isArray(e[r])?t[r]=e[r].map((function(e){return!0===Array.isArray(e)||uD(e)?Qj(e):""!==e?e:void 0})):uD(e[r])?t[r]=Qj(e[r]):t[r]=""!==e[r]?e[r]:void 0}return t}function Yj(e,t,n){var r=e.slice();return t.forEach((function(t,o){if("undefined"===typeof r[o]){var i=!1!==n.clone&&n.isMergeableObject(t);r[o]=i?Fk(Array.isArray(t)?[]:{},t,n):t}else n.isMergeableObject(t)?r[o]=Fk(e[o],t,n):-1===e.indexOf(t)&&r.push(t)})),r}var Gj="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?e.useLayoutEffect:e.useEffect;function Kj(t){var n=(0,e.useRef)(t);return Gj((function(){n.current=t})),(0,e.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.current.apply(void 0,t)}),[])}var Jj=(0,e.forwardRef)((function(t,n){var r=t.action,o=Dj(t,["action"]),i=null!=r?r:"#",a=Zj(),s=a.handleReset,l=a.handleSubmit;return(0,e.createElement)("form",Object.assign({onSubmit:l,ref:n,onReset:s,action:i},o))}));Jj.displayName="Form";var eB=function(e,t,n){var r=tB(e);return r.splice(t,0,n),r},tB=function(e){if(e){if(Array.isArray(e))return[].concat(e);var t=Object.keys(e).map((function(e){return parseInt(e)})).reduce((function(e,t){return t>e?t:e}),0);return Array.from(Ej({},e,{length:t+1}))}return[]},nB=function(t){function n(e){var n;return(n=t.call(this,e)||this).updateArrayField=function(e,t,r){var o=n.props,i=o.name;(0,o.formik.setFormikState)((function(n){var o="function"===typeof r?r:e,a="function"===typeof t?t:e,s=Wj(n.values,i,e(Ij(n.values,i))),l=r?o(Ij(n.errors,i)):void 0,c=t?a(Ij(n.touched,i)):void 0;return Tj(l)&&(l=void 0),Tj(c)&&(c=void 0),Ej({},n,{values:s,errors:r?Wj(n.errors,i,l):n.errors,touched:t?Wj(n.touched,i,c):n.touched})}))},n.push=function(e){return n.updateArrayField((function(t){return[].concat(tB(t),[Sj(e)])}),!1,!1)},n.handlePush=function(e){return function(){return n.push(e)}},n.swap=function(e,t){return n.updateArrayField((function(n){return function(e,t,n){var r=tB(e),o=r[t];return r[t]=r[n],r[n]=o,r}(n,e,t)}),!0,!0)},n.handleSwap=function(e,t){return function(){return n.swap(e,t)}},n.move=function(e,t){return n.updateArrayField((function(n){return function(e,t,n){var r=tB(e),o=r[t];return r.splice(t,1),r.splice(n,0,o),r}(n,e,t)}),!0,!0)},n.handleMove=function(e,t){return function(){return n.move(e,t)}},n.insert=function(e,t){return n.updateArrayField((function(n){return eB(n,e,t)}),(function(t){return eB(t,e,null)}),(function(t){return eB(t,e,null)}))},n.handleInsert=function(e,t){return function(){return n.insert(e,t)}},n.replace=function(e,t){return n.updateArrayField((function(n){return function(e,t,n){var r=tB(e);return r[t]=n,r}(n,e,t)}),!1,!1)},n.handleReplace=function(e,t){return function(){return n.replace(e,t)}},n.unshift=function(e){var t=-1;return n.updateArrayField((function(n){var r=n?[e].concat(n):[e];return t<0&&(t=r.length),r}),(function(e){var n=e?[null].concat(e):[null];return t<0&&(t=n.length),n}),(function(e){var n=e?[null].concat(e):[null];return t<0&&(t=n.length),n})),t},n.handleUnshift=function(e){return function(){return n.unshift(e)}},n.handleRemove=function(e){return function(){return n.remove(e)}},n.handlePop=function(){return function(){return n.pop()}},n.remove=n.remove.bind(Nj(n)),n.pop=n.pop.bind(Nj(n)),n}kj(n,t);var r=n.prototype;return r.componentDidUpdate=function(e){this.props.validateOnChange&&this.props.formik.validateOnChange&&!Lk()(Ij(e.formik.values,e.name),Ij(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},r.remove=function(e){var t;return this.updateArrayField((function(n){var r=n?tB(n):[];return t||(t=r[e]),jj(r.splice)&&r.splice(e,1),r}),!0,!0),t},r.pop=function(){var e;return this.updateArrayField((function(t){var n=t;return e||(e=n&&n.pop&&n.pop()),n}),!0,!0),e},r.render=function(){var t={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},n=this.props,r=n.component,o=n.render,i=n.children,a=n.name,s=Ej({},t,{form:Dj(n.formik,["validate","validationSchema"]),name:a});return r?(0,e.createElement)(r,s):o?o(s):i?"function"===typeof i?i(s):qj(i)?null:e.Children.only(i):null},n}(e.Component);nB.defaultProps={validateOnChange:!0};e.Component,e.Component;var rB=function(e){var t=e.open,n=e.setOpen,r=Fc().appointment,o=hE().enqueueSnackbar,i=jk.object().shape({deposit:jk.number().min(0,"Deposit must be more than 0").max(r.depositMaxValue,"Deposit must be less than ".concat(r.depositMaxValue)).required("Deposit is required")}),a=function(){n(!1)},s=Xj({initialValues:{deposit:r.deposit},validationSchema:i,onSubmit:function(e){l(e)}}),l=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r.setDeposit(t.deposit),a(),r.id){e.next=4;break}return e.abrupt("return");case 4:return e.next=6,Re.post("/v1/appointment/".concat(null===r||void 0===r?void 0:r.id,"/partial-update"),{deposit:t.deposit}).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return o(e,{variant:"error"})}))}))}));case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return(0,Kl.jsxs)(vC,{onClose:a,"aria-labelledby":"simple-dialog-title",open:t,PaperProps:{style:{borderRadius:15}},children:[(0,Kl.jsx)(MC,{children:"Change Deposit"}),(0,Kl.jsx)(_E,{style:{overflow:"hidden",paddingBottom:20},children:(0,Kl.jsx)("form",{onSubmit:s.handleSubmit,children:(0,Kl.jsxs)(AC,{container:!0,spacing:2,justifyContent:"center",children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(Wu.Z,{size:"small",type:"number",name:"deposit",variant:"outlined",value:s.values.deposit,onChange:s.handleChange,onBlur:s.handleBlur,error:s.touched.deposit&&Boolean(s.errors.deposit),helperText:s.touched.deposit&&s.errors.deposit,placeholder:"Deposit"})}),(0,Kl.jsx)(AC,{container:!0,direction:"row",justifyContent:"center",spacing:2,item:!0,children:(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(zd.Z,{type:"submit",variant:"contained",color:"primary",children:"Save"})})})]})})})]})},oB=__webpack_require__(53838),iB=__webpack_require__(82374),aB=__webpack_require__.n(iB),sB=$l((function(){var t=Fc().appointment,r=(0,e.useState)(!1),o=(0,n.Z)(r,2),i=o[0],a=o[1],s=(0,e.useContext)(bA),l=hE().enqueueSnackbar,c=(0,e.useState)(!1),u=(0,n.Z)(c,2),d=u[0],p=u[1],f=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var n;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n={fund_status_id:null!==t&&void 0!==t&&t.isDeposited&&null!==t&&void 0!==t&&t.depositedAt?2:1,mark_as:t.depositedAt?"unpaid":"paid",is_deposit:!0},t.markAsPaid(),t.id){e.next=4;break}return e.abrupt("return");case 4:return p(!0),e.next=7,Re.post("/v1/appointment/".concat(null===t||void 0===t?void 0:t.id,"/partial-update"),n).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return l(e,{variant:"error"})}))}))})).finally((function(){return p(!1)}));case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),h=(0,e.useMemo)((function(){var e={title:"Paid",slug:"paid",color:"#008a00"},n={title:"Not Paid",slug:"notPaid",color:"#b7446c"},r={title:"Paid in full payment",slug:"paidInFull",color:"#f06df7"};return t.isDeposited&&t.depositedAt?e:t.isDeposited&&!t.depositedAt&&t.isPaid?r:n}),[t.isDeposited,t.isPaid,t.depositedAt]),b=(0,e.useMemo)((function(){var e=aB().tz(t.depositedAt,"Europe/Dublin");return e.add(e.utcOffset(),"minutes").format("HH:mm \u2013 ddd, DD MMM YY")}),[t.depositedAt]);return 0!==t.depositRequired||t.isDeposited?(0,Kl.jsxs)(ok,{title:"Deposit required",headerRight:(0,Kl.jsxs)("div",{className:RE.headerRight,children:[(0,Kl.jsxs)(kl.Z,{children:[s.clinic.currency,t.deposit]}),(0,Kl.jsx)(wd.Z,{onClick:function(){a(!0)},disabled:"completed"===t.status.slug,children:(0,Kl.jsx)(oB.Z,{})})]}),children:[(0,Kl.jsxs)("div",{className:RE.deposit,children:[(0,Kl.jsxs)("div",{className:RE.depositInfo,children:["paid"===h.slug&&(0,Kl.jsx)(kl.Z,{variant:"body1",className:RE.depositPaid,children:"".concat(t.isExternal?"Paid:":"In-clinic payment:"," ").concat(s.clinic.currency).concat(t.deposit)}),t.depositedAt&&(0,Kl.jsx)(kl.Z,{variant:"body1",className:RE.depositDate,children:"Date: ".concat(b)})]}),d?(0,Kl.jsx)(Gh.Z,{size:30}):(0,Kl.jsx)("div",{className:RE.depositStatus,style:{backgroundColor:h.color},onClick:"completed"===t.status.slug?function(){}:f,children:(0,Kl.jsxs)(kl.Z,{children:[h.title," "]})})]}),(0,Kl.jsx)(rB,{open:i,setOpen:a})]}):null})),lB=sB,cB=$l((function(){var e=Fc().appointment;return e.selectedTypes.find((function(e){return"review"===e.slug||"top-up"===e.slug}))?(0,Kl.jsx)(ok,{title:"Further Details",children:(0,Kl.jsx)(Wu.Z,{onChange:function(t){return e.setNotes(t.target.value)},size:"small",variant:"outlined",fullWidth:!0,multiline:!0,name:"Notes",label:"Notes",type:"text",value:e.notes})}):null})),uB=cB,dB=__webpack_require__(4058),pB=__webpack_require__(76123),fB=__webpack_require__(69184),hB=(0,e.forwardRef)((function(e,t){var n=e.value,r=e.onClick;return(0,Kl.jsxs)("div",{onClick:r,ref:t,className:RE.datePickerCustom,children:[(0,Kl.jsx)(kl.Z,{variant:"body1",children:n}),(0,Kl.jsx)(fB.Z,{})]})})),bB=$l((function(){var e=Fc().appointment;return(0,Kl.jsx)(nk(),{selected:Vs()(e.startDate).toDate(),onChange:function(t){return function(t){var n=Vs()(t).format("YYYY-MM-DD"),r=Vs()(e.startDate).format("HH:mm");e.setStartDate("".concat(n," ").concat(r));var o=Vs()(e.endDate).format("HH:mm");e.setEndDate("".concat(n," ").concat(o))}(t)},dateFormat:"EEE d MMM",minDate:new Date,customInput:(0,Kl.jsx)(hB,{}),calendarStartDay:1,className:RE.datePicker})})),AB=bB,mB=__webpack_require__(18574),gB=(0,e.forwardRef)((function(e,t){var n=e.value,r=e.onClick;return(0,Kl.jsxs)("div",{ref:t,onClick:r,className:RE.openContentEditTimesItem,children:[(0,Kl.jsx)(mB.Z,{}),(0,Kl.jsx)(kl.Z,{variant:"body2",children:Vs()(n).format("HH:mm")}),(0,Kl.jsx)(fB.Z,{className:RE.chevron})]})})),vB=function(e){var t=e.value,n=e.setValue,r=e.title;return(0,Kl.jsx)(nk(),{value:t,onChange:function(e){return function(e){n(Vs()(e).format("HH:mm"))}(e)},showTimeSelect:!0,timeFormat:"HH:mm",timeIntervals:5,timeCaption:r,minDate:new Date,showTimeSelectOnly:!0,customInput:(0,Kl.jsx)(gB,{value:t}),calendarStartDay:1})},yB=$l((function(t){var n=t.autoUpdate,r=void 0!==n&&n,o=Fc(),i=o.appointment,a=o.appointmentDoctor;(0,e.useEffect)((function(){r&&s()}),[i.startDate,i.patient.id,i.location,JSON.stringify(null===i||void 0===i?void 0:i.treatmentTypes),r]);var s=function(){var e={startDate:Vs()(i.startDate).format("YYYY-MM-DDTHH:mm"),treatmentTypes:null===i||void 0===i?void 0:i.treatmentTypes.filter((function(e){return e.selected})).map((function(e){return e.id})),paymentItems:a.customItems.map((function(e){return e.treatmentTypeId})).filter((function(e){return null!==e})),appointmentTypes:null===i||void 0===i?void 0:i.types.filter((function(e){return e.selected})).map((function(e){return e.id}))};i.patient.id&&(e=Us(Us({},e),{},{patientId:i.patient.id})),i.id&&(e=Us(Us({},e),{},{id:null===i||void 0===i?void 0:i.id})),i.doctor.id&&i.location&&(e=Us(Us({},e),{},{staffId:i.doctor.id,clinic_location_id:i.location}),Re.post("/v1/appointment/get-end-date",e).then((function(e){var t=e.data;i.setEndDate(Vs()(t.endDate).format("YYYY-MM-DDTHH:mm")),i.setRecommendedEndDate(Vs()(t.recommendedEndDate).format("YYYY-MM-DDTHH:mm"))})))};(0,e.useEffect)((function(){l()}),[i.startDate,i.endDate]);var l=function(){var e=Vs()(i.startDate),t=Vs()(i.endDate);return Math.ceil(Vs().duration(t.diff(e)).asMinutes())};return(0,Kl.jsxs)("div",{className:RE.appointmentTimePicker,children:[(0,Kl.jsxs)("div",{className:RE.appointmentTimePickerItem,children:[(0,Kl.jsx)(kl.Z,{className:RE.appointmentTimePickerTitle,children:"Start:"}),(0,Kl.jsx)(vB,{value:i.startDate,setValue:function(e){var t="".concat(Vs()(i.startDate).format("YYYY-MM-DD")," ").concat(e);i.setStartDate(t)},title:"Start"})]}),(0,Kl.jsxs)("div",{className:RE.appointmentTimePickerItem,children:[(0,Kl.jsx)(kl.Z,{className:RE.appointmentTimePickerTitle,children:i.recommendedEndDate?"End (Recommended: ".concat(Vs()(i.recommendedEndDate).format("HH:mm"),")"):"End:"}),(0,Kl.jsx)(vB,{value:i.endDate,setValue:function(e){var t="".concat(Vs()(i.endDate).format("YYYY-MM-DD")," ").concat(e);i.setEndDate(t)},title:"End"})]})]})})),MB=yB,OB=__webpack_require__(85888),_B=$l((function(){var t,n,r=Fc(),o=r.appointmentDoctor,i=r.appointment,a=(0,e.useContext)(bA),s=he(),l=me().appointmentId;return l?(0,Kl.jsx)(ok,{title:"Payment",children:(0,Kl.jsxs)(AC,{container:!0,justifyContent:"space-between",className:"appointment-checkout-container",children:[(0,Kl.jsxs)(AC,{container:!0,item:!0,alignItems:"left",xs:8,justifyContent:i.isPaid?"space-between":"flex-start",children:[(0,Kl.jsx)(AC,{item:!0,children:i.isPaid&&(0,Kl.jsx)(OB.Z,{style:{color:"lightGreen",fontSize:"25px",marginRight:"10px"}})}),(0,Kl.jsxs)(AC,{item:!0,children:[(0,Kl.jsxs)(kl.Z,{variant:"body1",style:{lineHeight:1,fontWeight:"bold"},children:[a.clinic.currency,(i.isPaid?null===o||void 0===o||null===(t=o.payment)||void 0===t?void 0:t.totalPaid:null===o||void 0===o||null===(n=o.payment)||void 0===n?void 0:n.remainingBalance).toFixed(2),i.isPaid&&(0,Kl.jsx)("span",{style:{marginLeft:"30px"},children:nl(o.payment.paidAt)})]}),(0,Kl.jsxs)(kl.Z,{variant:"caption",children:["Total VAT: ",a.clinic.currency,o.payment.vat.toFixed(2)]})]})]}),(0,Kl.jsx)(AC,{item:!0,xs:"auto",children:(0,Kl.jsx)(zd.Z,{variant:"outlined",color:"primary",onClick:function(){i.isPaid?s("/calendar/appointment/".concat(l,"/receipt")):s("/calendar/appointment/".concat(l,"/checkout"))},style:{fontSize:"12px"},children:i.isPaid?"Receipt":"Checkout"})})]})}):null})),zB=_B,xB=$l((function(){var e=Fc().appointment;return(0,Kl.jsx)(ok,{title:"Deposit Notes",children:(0,Kl.jsx)(Wu.Z,{size:"small",variant:"outlined",fullWidth:!0,multiline:!0,name:"Notes",label:"Notes",type:"text",onChange:function(t){return e.setDepositNotes(t.target.value)},value:e.depositNotes})})})),wB=xB,CB=__webpack_require__(84058),SB=function(e){e.name,e.isVip;var t,n,r,o,i,a,s,l,c,u,d,p=e.onClick,f=e.needSelector,h=void 0!==f&&f,b=Fc().appointment,A=he(),m=Ae();return(0,Kl.jsxs)("div",{className:RE.patient,children:[null!==b&&void 0!==b&&b.patient.id?(0,Kl.jsx)(jw,{onClick:function(){A("/patients/".concat(null===b||void 0===b?void 0:b.patient.id))},name:null===b||void 0===b||null===(t=b.patient)||void 0===t?void 0:t.name,avatarUrl:null===b||void 0===b||null===(n=b.patient)||void 0===n?void 0:n.avatarUrl,role:null===b||void 0===b||null===(r=b.patient)||void 0===r?void 0:r.phone,appointmentsCount:null===b||void 0===b||null===(o=b.patient)||void 0===o?void 0:o.appointmentsCount,completedAppointments:null===b||void 0===b||null===(i=b.patient)||void 0===i?void 0:i.completedAppointments,latestVisitedAppointment:null===b||void 0===b||null===(a=b.patient)||void 0===a?void 0:a.lastVisited,isPatient:!0,existAlerts:null===b||void 0===b||null===(s=b.patient)||void 0===s?void 0:s.existAlerts}):(0,Kl.jsx)(kl.Z,{variant:"body1",children:"Select Patient"}),(0,Kl.jsxs)("div",{className:RE.patientButtons,children:[(!(null!==b&&void 0!==b&&b.id)&&0===(null===b||void 0===b||null===(l=b.patient)||void 0===l?void 0:l.appointmentsCount)||!(null===b||void 0===b||!b.id)&&!(null===b||void 0===b||null===(c=b.patient)||void 0===c||!c.id)&&1===(null===b||void 0===b||null===(u=b.patient)||void 0===u?void 0:u.appointmentsCount))&&(0,Kl.jsx)(Iw,{}),(!(null===m||void 0===m||!m.calendarRef)||h)&&(0,Kl.jsx)(wd.Z,{onClick:function(){p?null===p||void 0===p||p():A("/calendar/patients")},size:"small",children:(0,Kl.jsx)(oB.Z,{})})]}),(null===b||void 0===b||null===(d=b.patient)||void 0===d?void 0:d.existAlerts)&&(0,Kl.jsxs)("div",{className:RE.alertExist,onClick:function(){A("/patients/".concat(null===b||void 0===b?void 0:b.patient.id))},children:[(0,Kl.jsx)(CB.Z,{}),(0,Kl.jsx)("div",{className:RE.alertText,children:(0,Kl.jsx)(kl.Z,{children:"This patient has an alert"})})]})]})},EB=$l((function(e){var t,n,r,o=e.onClick,i=Fc().appointment,a=he(),s=Ae();return(0,Kl.jsxs)(ok,{title:"Staff",children:[null!==i&&void 0!==i&&i.doctor.id?(0,Kl.jsx)(jw,{name:null===i||void 0===i||null===(t=i.doctor)||void 0===t?void 0:t.name,avatarUrl:null===i||void 0===i||null===(n=i.doctor)||void 0===n?void 0:n.avatarUrl,role:null===i||void 0===i||null===(r=i.doctor)||void 0===r?void 0:r.role}):(0,Kl.jsx)(kl.Z,{variant:"body1",style:{fontWeight:700},children:"Select Staff"}),(0,Kl.jsx)(wd.Z,{onClick:function(){var e;o?null===o||void 0===o||o():null!==s&&void 0!==s&&s.calendarRef?a("/calendar/doctors"):a("/patients/".concat(null===i||void 0===i||null===(e=i.patient)||void 0===e?void 0:e.id,"/doctors"))},children:(0,Kl.jsx)(oB.Z,{fontSize:"small"})})]})})),kB=EB,DB=$l((function(){var e,t=Fc().appointment;return t.patient.id?(0,Kl.jsx)(ok,{title:"Patient Notes",children:(0,Kl.jsx)("div",{className:RE.patientNotes,children:(0,Kl.jsx)(Wu.Z,{size:"small",variant:"outlined",fullWidth:!0,multiline:!0,name:"Notes",label:"Notes",type:"text",value:null===(e=t.patient)||void 0===e?void 0:e.note,onChange:function(e){var n;return null===(n=t.patient)||void 0===n?void 0:n.setNote(e.target.value)}})})}):null})),NB=DB,TB=$l((function(){var e,t,n,r,o=Fc().appointment,i=he();return(0,Kl.jsxs)(ok,{title:"Linked Appointment",children:[(0,Kl.jsxs)("div",{className:RE.linked,children:[(0,Kl.jsxs)(kl.Z,{variant:"body1",className:RE.linkedTitle,children:[null===o||void 0===o||null===(e=o.prevAppointment)||void 0===e?void 0:e.types.map((function(e){return e.name})).join(", ")," ","-"," ",!(null===o||void 0===o||null===(t=o.prevAppointment)||void 0===t||!t.startDate)&&Vs()(null===o||void 0===o||null===(n=o.prevAppointment)||void 0===n?void 0:n.startDate).format("DD.MM.YYYY HH:mm")]}),(0,Kl.jsx)(kl.Z,{variant:"body1",className:RE.linkedServices,children:null===o||void 0===o||null===(r=o.prevAppointment)||void 0===r?void 0:r.treatmentTypes.map((function(e){return e.name})).join(", ")}),!(null!==o&&void 0!==o&&o.hasLinkedAppointmentUpdated)&&(0,Kl.jsx)(zd.Z,{onClick:function(){i("/calendar/linked-appointments-chain")},variant:"contained",color:"primary",size:"small",children:"Show"})]}),(0,Kl.jsx)(wd.Z,{onClick:function(){null===o||void 0===o||o.clearLinkedAppointmentsHash(),null===o||void 0===o||o.clearHasLinkedChain(),null===o||void 0===o||o.clearPrevAppointment()},children:(0,Kl.jsx)(Ow.ZP,{title:"Remove linked appointment",children:(0,Kl.jsx)(HE.Z,{})})})]})})),jB=TB,BB=function(e){var t=e.open,n=e.setOpen,r=e.name,o=e.id,i=(e.treatmentTypeId,e.type),a=Fc(),s=a.appointment,l=a.appointmentDoctor,c=function(){n(!1)};return(0,Kl.jsx)(vC,{onClose:c,"aria-labelledby":"simple-dialog-title",open:t,PaperProps:{style:{borderRadius:15}},children:(0,Kl.jsx)(_E,{style:{overflow:"hidden",paddingBottom:20},children:(0,Kl.jsxs)(AC,{container:!0,spacing:2,justifyContent:"center",children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsxs)(kl.Z,{variant:"h6",children:["Do you want to remove ",r||"","?"]})}),(0,Kl.jsxs)(AC,{container:!0,direction:"row",justifyContent:"center",spacing:2,item:!0,children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(zd.Z,{variant:"contained",color:"secondary",onClick:c,children:"No"})}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",onClick:function(){if("service"===i){s.selectTreatmentType(o);var e=null===l||void 0===l?void 0:l.payment.items.findIndex((function(e){return e.treatmentTypeId===o}));null===l||void 0===l||l.payment.removeItem(e)}else"custom"===i&&l.payment.removeItem(o);c()},children:"Yes"})})]})]})})})};var LB=$l((function(){var t,r=Fc(),o=r.appointment,i=r.appointmentDoctor,a=(0,e.useState)(!1),s=(0,n.Z)(a,2),l=s[0],c=s[1],u=(0,e.useState)(void 0),d=(0,n.Z)(u,2),p=d[0],f=d[1],h=(0,e.useState)(void 0),b=(0,n.Z)(h,2),A=b[0],m=b[1];(0,e.useEffect)((function(){var e,t;null===i||void 0===i||null===(e=i.payment)||void 0===e||null===(t=e.items)||void 0===t||t.forEach((function(e,t){e.setIndex(t)}))}),[JSON.stringify(null===i||void 0===i||null===(t=i.payment)||void 0===t?void 0:t.items)]);var g=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t,n;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get("/v1/app/vat");case 2:t=e.sent,n=t.data,o.setVat(n.data.vat);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();(0,e.useEffect)((function(){g()}),[]);var v=function(e,t){f(e),m(t),c(!0)};return 0===o.treatmentTypes.filter((function(e){return e.locationId===o.location})).length&&0===i.customItems.length?null:(0,Kl.jsxs)("div",{className:RE.services,children:[o.treatmentTypes.filter((function(e){return e.locationId===o.location})).map((function(e,t){var n;return e.selected?(0,Kl.jsx)(ek,{name:e.fullName,selected:e.selected,price:e.realPrice,onClick:function(){return v(e,"service")},id:e.id,index:e.index,color:null===e||void 0===e||null===(n=e.category)||void 0===n?void 0:n.color,duration:e.duration,isMedical:null===e||void 0===e?void 0:e.isMedical,type:"service",priceType:e.priceType},"service_".concat(t)):null})),i.customItems.map((function(e,t){var n;if(null===(null===e||void 0===e?void 0:e.treatmentTypeId))return(0,Kl.jsx)(ek,{name:e.fullName,price:e.price,selected:!0,id:e.index,index:e.index,color:null===e||void 0===e||null===(n=e.category)||void 0===n?void 0:n.color,onClick:function(){return v(e,"custom")},needDuration:!1,isMedical:null===e||void 0===e?void 0:e.isMedical,type:"custom"},"service_".concat(t))})),(0,Kl.jsx)(BB,{open:l,setOpen:c,id:"service"===A?null===p||void 0===p?void 0:p.id:null===p||void 0===p?void 0:p.index,name:null===p||void 0===p?void 0:p.name,type:A})]})})),RB=LB,qB=function(){var t=Fc(),n=t.appointment,r=t.appointmentDoctor,o=hE().enqueueSnackbar,i=YE().paymentCalculateData;return(0,e.useEffect)((function(){n.doctor.id&&!n.isPaid&&Re.post("/v1/payment/calculate",i).then((function(e){r.payment.setVat(e.data.vat),r.payment.setTotalPaid(e.data.total-e.data.discountValue),r.payment.setRemainingBalance(e.data.amount),r.payment.setDiscountValue(e.data.discountValue)})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return o(e,{variant:"error"})}))}))}))}),[i,null===i||void 0===i?void 0:i.appointmentTypes.length,null===i||void 0===i?void 0:i.deposit,null===i||void 0===i?void 0:i.discount,null===i||void 0===i?void 0:i.discount_type.length,null===i||void 0===i?void 0:i.selected_products.length])},PB=__webpack_require__(30468),IB=__webpack_require__(67695),WB=e.forwardRef((function(t,n){var r=t.action,o=t.classes,i=t.className,a=t.message,s=t.role,l=void 0===s?"alert":s,c=(0,Uu.Z)(t,["action","classes","className","message","role"]);return e.createElement(Kd.Z,(0,Fu.Z)({role:l,square:!0,elevation:6,className:(0,Zu.Z)(o.root,i),ref:n},c),e.createElement("div",{className:o.message},a),r?e.createElement("div",{className:o.action},r):null)})),FB=(0,Hu.Z)((function(e){var t="light"===e.palette.type?.8:.98,n=(0,Bp._4)(e.palette.background.default,t);return{root:(0,Fu.Z)({},e.typography.body2,(0,Ws.Z)({color:e.palette.getContrastText(n),backgroundColor:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:e.shape.borderRadius,flexGrow:1},e.breakpoints.up("sm"),{flexGrow:"initial",minWidth:288})),message:{padding:"8px 0"},action:{display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}}}),{name:"MuiSnackbarContent"})(WB),UB=e.forwardRef((function(t,n){var r=t.action,o=t.anchorOrigin,i=(o=void 0===o?{vertical:"bottom",horizontal:"center"}:o).vertical,a=o.horizontal,s=t.autoHideDuration,l=void 0===s?null:s,c=t.children,u=t.classes,d=t.className,p=t.ClickAwayListenerProps,f=t.ContentProps,h=t.disableWindowBlurListener,b=void 0!==h&&h,A=t.message,m=t.onClose,g=t.onEnter,v=t.onEntered,y=t.onEntering,M=t.onExit,O=t.onExited,_=t.onExiting,z=t.onMouseEnter,x=t.onMouseLeave,w=t.open,C=t.resumeHideDuration,S=t.TransitionComponent,E=void 0===S?IB.Z:S,k=t.transitionDuration,D=void 0===k?{enter:Rd.x9.enteringScreen,exit:Rd.x9.leavingScreen}:k,N=t.TransitionProps,T=(0,Uu.Z)(t,["action","anchorOrigin","autoHideDuration","children","classes","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onClose","onEnter","onEntered","onEntering","onExit","onExited","onExiting","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"]),j=e.useRef(),B=e.useState(!0),L=B[0],R=B[1],q=(0,Ub.Z)((function(){m&&m.apply(void 0,arguments)})),P=(0,Ub.Z)((function(e){m&&null!=e&&(clearTimeout(j.current),j.current=setTimeout((function(){q(null,"timeout")}),e))}));e.useEffect((function(){return w&&P(l),function(){clearTimeout(j.current)}}),[w,l,P]);var I=function(){clearTimeout(j.current)},W=e.useCallback((function(){null!=l&&P(null!=C?C:.5*l)}),[l,C,P]);return e.useEffect((function(){if(!b&&w)return window.addEventListener("focus",W),window.addEventListener("blur",I),function(){window.removeEventListener("focus",W),window.removeEventListener("blur",I)}}),[b,W,w]),!w&&L?null:e.createElement(xS.Z,(0,Fu.Z)({onClickAway:function(e){m&&m(e,"clickaway")}},p),e.createElement("div",(0,Fu.Z)({className:(0,Zu.Z)(u.root,u["anchorOrigin".concat((0,Jd.Z)(i)).concat((0,Jd.Z)(a))],d),onMouseEnter:function(e){z&&z(e),I()},onMouseLeave:function(e){x&&x(e),W()},ref:n},T),e.createElement(E,(0,Fu.Z)({appear:!0,in:w,onEnter:(0,PB.Z)((function(){R(!1)}),g),onEntered:v,onEntering:y,onExit:M,onExited:(0,PB.Z)((function(){R(!0)}),O),onExiting:_,timeout:D,direction:"top"===i?"down":"up"},N),c||e.createElement(FB,(0,Fu.Z)({message:A,action:r},f)))))})),ZB=(0,Hu.Z)((function(e){var t={top:8},n={bottom:8},r={justifyContent:"flex-end"},o={justifyContent:"flex-start"},i={top:24},a={bottom:24},s={right:24},l={left:24},c={left:"50%",right:"auto",transform:"translateX(-50%)"};return{root:{zIndex:e.zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},anchorOriginTopCenter:(0,Fu.Z)({},t,(0,Ws.Z)({},e.breakpoints.up("sm"),(0,Fu.Z)({},i,c))),anchorOriginBottomCenter:(0,Fu.Z)({},n,(0,Ws.Z)({},e.breakpoints.up("sm"),(0,Fu.Z)({},a,c))),anchorOriginTopRight:(0,Fu.Z)({},t,r,(0,Ws.Z)({},e.breakpoints.up("sm"),(0,Fu.Z)({left:"auto"},i,s))),anchorOriginBottomRight:(0,Fu.Z)({},n,r,(0,Ws.Z)({},e.breakpoints.up("sm"),(0,Fu.Z)({left:"auto"},a,s))),anchorOriginTopLeft:(0,Fu.Z)({},t,o,(0,Ws.Z)({},e.breakpoints.up("sm"),(0,Fu.Z)({right:"auto"},i,l))),anchorOriginBottomLeft:(0,Fu.Z)({},n,o,(0,Ws.Z)({},e.breakpoints.up("sm"),(0,Fu.Z)({right:"auto"},a,l)))}}),{flip:!1,name:"MuiSnackbar"})(UB);function HB(e){return(0,Kl.jsx)(Xh,Us({elevation:6,variant:"filled"},e))}var $B=(0,jd.Z)((function(e){return{root:{width:"100%","& > * + *":{marginTop:e.spacing(2)}}}}));function VB(e){var t=e.type,n=e.message,r=e.autoHideDuration,o=e.open,i=e.setOpen,a=$B(),s=function(e,t){"clickaway"!==t&&i(!1)};return(0,Kl.jsx)("div",{className:a.root,children:function(){switch(t){case"success":return(0,Kl.jsx)(ZB,{open:o,autoHideDuration:r,onClose:s,children:(0,Kl.jsx)(HB,{onClose:s,severity:"success",children:n})});case"error":return(0,Kl.jsx)(ZB,{open:o,autoHideDuration:r,onClose:s,children:(0,Kl.jsx)(HB,{onClose:s,severity:"error",children:n})});case"warning":return(0,Kl.jsx)(ZB,{open:o,autoHideDuration:r,onClose:s,children:(0,Kl.jsx)(HB,{onClose:s,severity:"warning",children:n})});case"info":return(0,Kl.jsx)(ZB,{open:o,autoHideDuration:r,onClose:s,children:(0,Kl.jsx)(HB,{onClose:s,severity:"info",children:n})});default:return null}}()})}function XB(e){var t=e.styles,n=e.setOpen,r=e.open,o=e.lotNo,i=e.setLotNo,a=e.updateLotNo,s=e.lot,l=e.data,c=null!==o&&void 0!==o?o:s;return(0,Kl.jsx)(vC,{"aria-labelledby":"simple-dialog-title",open:r,onClose:function(){return n(!r)},onClick:function(e){return e.stopPropagation()},children:(0,Kl.jsxs)("div",{style:t.popupHolder,children:[(0,Kl.jsx)(kl.Z,{style:t.popupTitle,children:"Edit Lot No"}),(0,Kl.jsx)(Wu.Z,{label:"Lot No",variant:"outlined",style:t.input,value:c,onChange:function(e){return i(e.target.value)},InputLabelProps:{shrink:Boolean(c)}}),(0,Kl.jsxs)("div",{style:t.buttonHolder,children:[(0,Kl.jsx)(zd.Z,{onClick:function(){var e;a(null===l||void 0===l||null===(e=l.brand)||void 0===e?void 0:e.id)},style:t.update,children:"UPDATE"}),(0,Kl.jsx)(zd.Z,{style:t.cancel,variant:"outlined",onClick:function(){n(!r)},children:"CANCEL"})]})]})})}function QB(e){var t=e.styles,n=e.setOpen,r=e.open,o=e.expiryDate,i=e.setExpiryDate,a=e.updateLotNo,s=e.expiry,l=e.data,c=o?Vs()(o).format("YYYY-MM-DD"):s;return(0,Kl.jsx)(vC,{"aria-labelledby":"simple-dialog-title",open:r,onClose:function(){return n(!r)},onClick:function(e){return e.stopPropagation()},children:(0,Kl.jsxs)("div",{style:t.popupHolder,children:[(0,Kl.jsx)(kl.Z,{style:t.popupTitle,children:"Edit Expiry Date"}),(0,Kl.jsx)(Wu.Z,{id:"date",label:"Expiry Date",type:"date",style:t.dateHolder,onChange:function(e){return i(e.target.value)},defaultValue:null!==c&&void 0!==c?c:null,InputLabelProps:{shrink:!0}}),(0,Kl.jsx)("p",{style:{fontSize:12,fontWeight:400,color:"#757575",marginTop:5},children:"Date format used DD/MM/YYYY"}),(0,Kl.jsxs)("div",{style:t.buttonHolder,children:[(0,Kl.jsx)(zd.Z,{onClick:function(){var e;a(null===l||void 0===l||null===(e=l.brand)||void 0===e?void 0:e.id)},style:t.update,children:"UPDATE"}),(0,Kl.jsx)(zd.Z,{style:t.cancel,variant:"outlined",onClick:function(){n(!r)},children:"CANCEL"})]})]})})}function YB(e){var t=e.styles,n=e.setOpen,r=e.open,o=e.data;return(0,Kl.jsx)(vC,{"aria-labelledby":"simple-dialog-title",open:r,onClose:function(){return n(!r)},onClick:function(e){return e.stopPropagation()},style:{maxWidth:1200,maxHeight:950,margin:"0 auto"},children:(0,Kl.jsxs)("div",{style:t.popupHolder,children:[(0,Kl.jsx)(kl.Z,{style:t.popupTitle,children:o.brandName}),(0,Kl.jsx)("div",{children:(0,Kl.jsx)("img",{style:{width:"100%"},src:o.zoomedImage,alt:o.brandName})}),(0,Kl.jsx)(zd.Z,{style:{float:"right",marginTop:10},variant:"outlined",color:"primary",onClick:function(){n(!r)},children:"CLOSE"})]})})}var GB,KB,JB,eL=e.forwardRef((function(t,n){return e.createElement(kl.Z,(0,Fu.Z)({component:"p",variant:"body1",color:"textSecondary",ref:n},t))})),tL=(0,Hu.Z)({root:{marginBottom:12}},{name:"MuiDialogContentText"})(eL),nL=function(e){var t=e.open,n=e.setOpen,r=e.data,o=he(),i=Fc().patientRecordStore,a=function(){var e;o(r),e=!1,i.updateUnsavedChanges(e),n(!1)};return(0,Kl.jsxs)(vC,{open:t,onClose:function(){n(!1)},"aria-labelledby":"confirm-dialog-title",children:[(0,Kl.jsx)(MC,{id:"confirm-dialog-title",style:{textAlign:"center"},children:"Unsaved changes"}),(0,Kl.jsx)(_E,{children:(0,Kl.jsx)(tL,{children:"You have not saved your changes. Click CANCEL to return to your work or click CONTINUE to continue without saving"})}),(0,Kl.jsxs)(xE,{children:[(0,Kl.jsx)(zd.Z,{onClick:function(){a()},color:"primary",variant:"contained",children:"Continue"}),(0,Kl.jsx)(zd.Z,{onClick:function(){n(!1)},color:"primary",variant:"outlined",children:"Cancel"})]})]})},rL=__webpack_require__(2297),oL=__webpack_require__(79489),iL=__webpack_require__(52500),aL=__webpack_require__(82190),sL=__webpack_require__.n(aL),lL=["title","titleId"];function cL(){return cL=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},cL.apply(this,arguments)}function uL(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function dL(t,n){var r=t.title,o=t.titleId,i=uL(t,lL);return e.createElement("svg",cL({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,GB||(GB=e.createElement("g",{filter:"url(#filter0_d_41_865)"},e.createElement("rect",{x:4,y:3,width:16,height:16,rx:8,fill:"white"}))),KB||(KB=e.createElement("path",{d:"M11.3334 7.66683H12.6667C12.6667 7.49002 12.5964 7.32045 12.4714 7.19542C12.3464 7.0704 12.1768 7.00016 12 7.00016C11.8232 7.00016 11.6536 7.0704 11.5286 7.19542C11.4036 7.32045 11.3334 7.49002 11.3334 7.66683ZM10.6667 7.66683C10.6667 7.31321 10.8072 6.97407 11.0572 6.72402C11.3073 6.47397 11.6464 6.3335 12 6.3335C12.3536 6.3335 12.6928 6.47397 12.9428 6.72402C13.1929 6.97407 13.3334 7.31321 13.3334 7.66683H16C16.0884 7.66683 16.1732 7.70195 16.2357 7.76446C16.2982 7.82697 16.3334 7.91176 16.3334 8.00016C16.3334 8.08857 16.2982 8.17335 16.2357 8.23586C16.1732 8.29838 16.0884 8.3335 16 8.3335H15.624L14.8207 14.2255C14.7662 14.6248 14.5689 14.9908 14.2653 15.2558C13.9617 15.5208 13.5723 15.6668 13.1694 15.6668H10.8307C10.4277 15.6668 10.0384 15.5208 9.73475 15.2558C9.43115 14.9908 9.23384 14.6248 9.17935 14.2255L8.37602 8.3335H8.00002C7.91161 8.3335 7.82683 8.29838 7.76432 8.23586C7.70181 8.17335 7.66669 8.08857 7.66669 8.00016C7.66669 7.91176 7.70181 7.82697 7.76432 7.76446C7.82683 7.70195 7.91161 7.66683 8.00002 7.66683H10.6667ZM11.3334 10.0002C11.3334 9.91176 11.2982 9.82697 11.2357 9.76446C11.1732 9.70195 11.0884 9.66683 11 9.66683C10.9116 9.66683 10.8268 9.70195 10.7643 9.76446C10.7018 9.82697 10.6667 9.91176 10.6667 10.0002V13.3335C10.6667 13.4219 10.7018 13.5067 10.7643 13.5692C10.8268 13.6317 10.9116 13.6668 11 13.6668C11.0884 13.6668 11.1732 13.6317 11.2357 13.5692C11.2982 13.5067 11.3334 13.4219 11.3334 13.3335V10.0002ZM13 9.66683C13.0884 9.66683 13.1732 9.70195 13.2357 9.76446C13.2982 9.82697 13.3334 9.91176 13.3334 10.0002V13.3335C13.3334 13.4219 13.2982 13.5067 13.2357 13.5692C13.1732 13.6317 13.0884 13.6668 13 13.6668C12.9116 13.6668 12.8268 13.6317 12.7643 13.5692C12.7018 13.5067 12.6667 13.4219 12.6667 13.3335V10.0002C12.6667 9.91176 12.7018 9.82697 12.7643 9.76446C12.8268 9.70195 12.9116 9.66683 13 9.66683ZM9.84002 14.1355C9.87274 14.375 9.99112 14.5946 10.1732 14.7536C10.3554 14.9125 10.5889 15.0001 10.8307 15.0002H13.1694C13.4112 15.0003 13.6449 14.9128 13.8272 14.7538C14.0095 14.5948 14.128 14.3751 14.1607 14.1355L14.9514 8.3335H9.04869L9.84002 14.1355Z",fill:"#EB5349"})),JB||(JB=e.createElement("defs",null,e.createElement("filter",{id:"filter0_d_41_865",x:0,y:0,width:24,height:24,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feOffset",{dy:1}),e.createElement("feGaussianBlur",{stdDeviation:2}),e.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),e.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),e.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_41_865"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_41_865",result:"shape"})))))}var pL=e.forwardRef(dL),fL=__webpack_require__.p+"static/media/delete-product-image.67b2b2cff15d27833c736c83b3f88075.svg",hL=function(t){var o=t.selectedFiles,i=t.setSelectedFiles,a=(0,e.useState)(""),s=(0,n.Z)(a,2),l=s[0],c=s[1];return(0,e.useEffect)((function(){setTimeout((function(){c("")}),4e3)}),[l]),(0,Kl.jsxs)("div",{children:[(0,Kl.jsx)("input",{type:"file",multiple:!0,onChange:function(e){var t=Array.from(e.target.files),n=[].concat((0,r.Z)(o),t).reduce((function(e,t){return e+t.size}),0);n>10485760?c("Total size of selected files cannot exceed 10MB."):(c(""),i((function(e){return[].concat((0,r.Z)(e),t)}))),e.target.value=null}}),l&&(0,Kl.jsx)("p",{style:{color:"red"},children:l}),(0,Kl.jsx)("ul",{children:o.map((function(e,t){return(0,Kl.jsxs)("li",{children:[e.name," (",(e.size/1048576).toFixed(2)," MB)"," ",(0,Kl.jsx)("button",{onClick:function(){return function(e){i((function(t){return t.filter((function(t,n){return n!==e}))}))}(t)},style:{background:"transparent",border:"none"},children:(0,Kl.jsx)("img",{width:35,title:"Remove file",style:{verticalAlign:"middle",cursor:"pointer"},src:fL,alt:"Delete"})})]},t)}))})]})},bL=__webpack_require__(16286);function AL(t){var r,o,i=t.styles,a=t.setOpen,s=t.open,l=t.data,c=(0,e.useState)([]),u=(0,n.Z)(c,2),d=u[0],p=u[1],f=(0,e.useState)(""),h=(0,n.Z)(f,2),b=h[0],A=h[1],m=(0,e.useState)([]),g=(0,n.Z)(m,2),v=g[0],y=g[1],M=(0,e.useState)(!1),O=(0,n.Z)(M,2),_=O[0],z=O[1],x=(0,e.useState)(!1),w=(0,n.Z)(x,2),C=w[0],S=w[1],E=(0,e.useState)(!1),k=(0,n.Z)(E,2),D=k[0],N=k[1],T=(0,e.useState)((function(){return iL.EditorState.createEmpty()})),j=(0,n.Z)(T,2),B=j[0],L=j[1],R=(0,e.useContext)(bA),q=(0,e.useState)(null===R||void 0===R||null===(r=R.user)||void 0===r?void 0:r.email),P=(0,n.Z)(q,2),I=P[0],W=P[1],F=(0,e.useState)("".concat(null===l||void 0===l||null===(o=l.clinic)||void 0===o?void 0:o.name," to ").concat(null===l||void 0===l?void 0:l.fullName)),U=(0,n.Z)(F,2),Z=U[0],H=U[1];return(0,e.useEffect)((function(){!function(){var e;z(!0),Re.get("/v1/get-clinic-emails",{params:{location:null===l||void 0===l||null===(e=l.clinic)||void 0===e?void 0:e.id}}).then((function(e){var t=e.data.data;p(t),z(!1)}))}()}),[]),(0,e.useEffect)((function(){var e=sL()((0,iL.convertToRaw)(B.getCurrentContent()));A(e)}),[B]),(0,Kl.jsx)(vC,{"aria-labelledby":"simple-dialog-title",open:s,onClose:function(){return a(!s)},onClick:function(e){return e.stopPropagation()},children:!_&&(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsxs)("div",{style:i.popupHolder,className:"send-patient-email-holder",children:[(0,Kl.jsxs)(kl.Z,{style:i.popupTitle,children:["Email patient: ",null===l||void 0===l?void 0:l.fullName]}),(0,Kl.jsxs)("div",{style:{width:"98%",padding:"20px 10px"},children:[(0,Kl.jsxs)(AC,{container:!0,spacing:3,children:[(0,Kl.jsxs)(AC,{item:!0,md:5,xs:12,children:[(0,Kl.jsx)(rL.Z,{id:"demo-simple-select-outlined-label",children:"Sent from"}),(0,Kl.jsx)(LE.Z,{labelId:"demo-simple-select-outlined-label",id:"demo-simple-select-outlined",value:I,style:{width:"100%"},onChange:function(e){return function(e){W(e.target.value)}(e)},label:"Age",children:d.map((function(e,t){return(0,Kl.jsx)(xd.Z,{value:e,children:e},t)}))})]}),(0,Kl.jsxs)(AC,{item:!0,md:7,xs:12,children:[(0,Kl.jsx)(rL.Z,{id:"demo-simple-select-outlined-label",children:"Subject"}),(0,Kl.jsx)(BE.Z,{defaultValue:Z,style:{width:"100%"},onChange:function(e){return H(e.target.value)}})]})]}),(0,Kl.jsxs)("div",{style:{paddingTop:20,marginBottom:10},children:[(0,Kl.jsx)(rL.Z,{id:"demo-simple-select-outlined-label",children:"Message"}),(0,Kl.jsx)(oL.Editor,{editorState:B,onEditorStateChange:L,editorClassName:"editor-class"})]}),(0,Kl.jsxs)("div",{style:{paddingTop:20},children:[(0,Kl.jsx)(rL.Z,{id:"demo-simple-select-outlined-label",children:"Attach file(s)"}),(0,Kl.jsx)(hL,{selectedFiles:v,setSelectedFiles:y})]}),(0,Kl.jsxs)("div",{style:{textAlign:"right",padding:"20px 0"},children:[(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",style:{background:"#fd0001",marginRight:"15px"},size:"small",onClick:function(){a(!1)},className:"".concat(i.button," patient-send-email"),children:"Close"}),(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",size:"small",disabled:"<p></p>"===b.trim()||""===Z,onClick:function(){return function(){var e,t;z(!0);var n=new FormData;v.forEach((function(e,t){n.append("files[".concat(t,"]"),e)})),n.append("sentFrom",I),n.append("message",b),n.append("subject",Z),n.append("clinicId",null===l||void 0===l||null===(e=l.clinic)||void 0===e?void 0:e.id),n.append("patientEmail",null===l||void 0===l||null===(t=l.user)||void 0===t?void 0:t.email),Re.post("/v1/patient/email",n,{headers:{"Content-Type":"multipart/form-data"}}).then((function(e){z(!1),S(!0),setTimeout((function(){a(!1)}),4e3)})).catch((function(e){z(!1),N(!0),setTimeout((function(){a(!1)}),4e3)}))}()},startIcon:(0,Kl.jsx)(bL.Z,{}),className:"".concat(i.button," patient-send-email"),children:"Send"})]})]})]}),_&&(0,Kl.jsx)(NE,{}),(0,Kl.jsx)(VB,{type:"success",message:"Email sent successfully",autoHideDuration:3e3,open:C,setOpen:S}),(0,Kl.jsx)(VB,{type:"error",message:"Email cannot be sent at the moment",autoHideDuration:3e3,open:D,setOpen:N})]})})}function mL(t){var r=t.styles,o=t.setOpen,i=t.open,a=t.data,s=(0,e.useState)((null===a||void 0===a?void 0:a.files)||[]),l=(0,n.Z)(s,2),c=l[0];l[1];return(0,Kl.jsx)(vC,{"aria-labelledby":"simple-dialog-title",open:i,onClose:function(){return o(!i)},onClick:function(e){return e.stopPropagation()},children:(0,Kl.jsx)("div",{style:r.popupHolder,children:(0,Kl.jsxs)("div",{style:{width:"100%",padding:"20px 10px"},children:[(0,Kl.jsxs)("div",{children:[(0,Kl.jsx)("b",{children:"Subject:"})," ",null===a||void 0===a?void 0:a.subject]}),(0,Kl.jsxs)("div",{style:{paddingTop:20},children:[(0,Kl.jsx)("b",{children:"Message:"}),(0,Kl.jsx)("div",{style:{paddingTop:10},dangerouslySetInnerHTML:{__html:null===a||void 0===a?void 0:a.message}})]}),c.length>0&&(0,Kl.jsxs)("div",{style:{paddingTop:30},children:[(0,Kl.jsx)("b",{children:"Attachments:"}),(0,Kl.jsx)("ul",{children:c.map((function(e,t){return e.name?(0,Kl.jsx)("li",{children:(0,Kl.jsx)("a",{target:"_blank",href:e.path,children:e.name})},t):(0,Kl.jsx)("li",{children:(0,Kl.jsx)("a",{target:"_blank",href:e,children:"File".concat(t+1)})},t)}))})]})]})})})}var gL={version:4,country_calling_codes:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0"],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0"],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268"],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264"],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0"],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0"],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1"],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"([267]\\d{6})$|1","684$1",0,"684"],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],["(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],"0"],AU:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",[5,6,7,8,9,10,12],[["(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"(183[12])|0",0,0,0,[["(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8]))\\d{3}|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4]))|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}",[9]],["4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]]],AX:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",[5,6,7,8,9,10,11,12],0,"0",0,0,0,0,"18",0,"00"],AZ:["994","00","365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],"0"],BA:["387","00","6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],"0"],BB:["1","011","(?:246|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","246$1",0,"246"],BD:["880","00","[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],["(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],["(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|22"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0"],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0"],BF:["226","00","[025-7]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[025-7]"]]]],BG:["359","00","00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9,12],[["(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],"0"],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]]],BJ:["229","00","[24-689]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-689]"]]]],BL:["590","00","590\\d{6}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"],["69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:395|76[018])\\d|475[0-5])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441"],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]]],BO:["591","00(?:1\\d)?","(?:[2-467]\\d\\d|8001)\\d{5}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[23]|4[46]"]],["(\\d{8})","$1",["[67]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?"],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]"],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],["(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2"],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([3-8]\\d{6})$|1","242$1",0,"242"],BT:["975","00","[17]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],["(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,0,"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]]],CA:["1","011","(?:[2-8]\\d|90)\\d{8}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:00|2[125-9]|33|44|66|77|88)|622)[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CD:["243","00","[189]\\d{8}|[1-68]\\d{6}",[7,9],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"]],"0"],CF:["236","00","(?:[27]\\d{3}|8776)\\d{4}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0"],CI:["225","00","[02]\\d{9}",[10],[["(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","1[127]\\d{8,9}|2\\d{9}(?:\\d{2})?|[12]\\d{6,7}|86\\d{6}|(?:1[03-689]\\d|6)\\d{7,9}|(?:[3-579]\\d|8[0-57-9])\\d{6,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]","(?:10|2[0-57-9])(?:10|9[56])","10(?:10|9[56])|2[0-57-9](?:100|9[56])"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,0,"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:60\\d\\d|9101)\\d{6}|(?:1\\d|3)\\d{9}",[10,11],[["(\\d{3})(\\d{7})","$1 $2",["6"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|91"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0(4(?:[14]4|56)|[579])?"],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))"],CU:["53","119","[27]\\d{6,7}|[34]\\d{5,7}|63\\d{6}|(?:5|8\\d\\d)\\d{7}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0"],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]"],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]]],CZ:["420","00","(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]]],DE:["49","00","[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[0568]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],"0"],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767"],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9"],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0"],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0"],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],"0"],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,"528[89]"],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],ES:["34","00","[5-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]]],ET:["251","00","(?:11|[2-579]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"0$1"]],"0"],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d)(\\d{4,9})","$1 $2",["[2568][1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["[12]00|[368]|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[1245]|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",0,"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,0,"00"],FK:["500","00","[2-7]\\d{4}",[5]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))"],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0"],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1"],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0235])|4(?:[0-5]\\d\\d|69[7-9]|70[0-79])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-2]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473"],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0"],GF:["594","00","[56]94\\d{6}|(?:80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[56]|9[47]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],"0"],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"([25-9]\\d{5})$|0","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]]],GH:["233","00","(?:[235]\\d{3}|800)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],"0"],GI:["350","00","(?:[25]\\d|60)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]]],GM:["220","00","[2-9]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]]],GP:["590","00","590\\d{6}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"],["69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:395|76[018])\\d|475[0-5])\\d{4}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]]],GR:["30","00","5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",[10,11,12],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],["(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],["(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]]],GT:["502","00","(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([3-9]\\d{6})$|1","671$1",0,"671"],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]]],GY:["592","001","9008\\d{3}|(?:[2-467]\\d\\d|862)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-46-9]"]]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,0,"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]]],HR:["385","00","(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}",[6,7,8,9],[["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["6[01]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-5]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0"],HT:["509","00","(?:[2-489]\\d|55)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06"],ID:["62","00[89]","(?:(?:00[1-9]|8\\d)\\d{4}|[1-36])\\d{6}|00\\d{10}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],["(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],["(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0"],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],["(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0"],IL:["972","0(?:0|1[2-9])","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\d{4})(\\d{3})","$1-$2",["125"]],["(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],["(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],["(\\d{4})(\\d{6})","$1-$2",["159"]],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],"0"],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([25-8]\\d{5})$|0","1624$1",0,"74576|(?:16|7[56])24"],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",1],["(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0"],IO:["246","00","3\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["3"]]]],IQ:["964","00","(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],IR:["98","00","[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",[4,5,6,7,10],[["(\\d{4,5})","$1",["96"],"0$1"],["(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],"0"],IS:["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\d|[4-9])\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,0,"00"],IT:["39","00","0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],0,0,0,0,0,0,[["0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"],["3[1-9]\\d{8}|3[2-9]\\d{7}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],0,0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97[7-9]))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876"],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],JP:["81","010","00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"]],"0",0,"(000[259]\\d{6})$|(?:(?:003768)0?)|0","$1"],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0"],KG:["996","00","8\\d{9}|[235-9]\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],["(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],"0"],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0"],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","869$1",0,"869"],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],"0"],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",[5,6,8,9,10,11,12,13,14],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?"],KW:["965","00","18\\d{5}|(?:[2569]\\d|41)\\d{6}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[245]"]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","345$1",0,"345"],KZ:["7","810","(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"33|7",0,"8~10"],LA:["856","00","[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["30[013-9]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0"],LB:["961","00","[27-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],"0"],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"([2-8]\\d{6})$|1","758$1",0,"758"],LI:["423","00","[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"(1001)|0"],LK:["94","00","[1-9]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],"0"],LR:["231","00","(?:[25]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[4-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23578]"],"0$1"]],"0"],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(8-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"8 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(8-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(8-$1)",1]],"8",0,"[08]"],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[269]|8[01]"]]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0"],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{5})(\\d{4})","$1-$2",["5(?:29|38)","5(?:29[1289]|389)","529(?:1[1-46-9]|2[013-8]|90)|5(?:298|389)[0-46-9]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],["(\\d{4})(\\d{5})","$1-$2",["5(?:2[2-489]|3[5-9]|9)|892","5(?:2(?:[2-49]|8[235-9])|3[5-9]|9)|892"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8"],"0$1"],["(\\d{3})(\\d{6})","$1-$2",["[5-7]"],"0$1"]],"0",0,0,0,0,0,[["5293[01]\\d{4}|5(?:2(?:[0-25-7]\\d|3[1-578]|4[02-46-8]|8[0235-7]|9[0-289])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[0189]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[017]\\d|2[0-2]|6[0-8]|8[0-3]))\\d{6}"],["80\\d{7}"],["89\\d{7}"],0,0,0,0,["592(?:4[0-2]|93)\\d{4}"]]],MC:["377","00","(?:[3489]|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],"0"],MD:["373","00","(?:[235-7]\\d|[89]0)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],"0"],ME:["382","00","(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0"],MF:["590","00","590\\d{6}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"],["69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:395|76[018])\\d|475[0-5])\\d{4}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"([24-9]\\d{6})$|0","20$1"],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1"],MK:["389","00","[2-578]\\d{7}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0"],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]]],MM:["95","00","1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",[6,7,8,9,10],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["[45]|6(?:0[23]|[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-6]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],"0"],MN:["976","001","[12]\\d{7,9}|[5-9]\\d{7}",[8,9,10],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],["(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],"0"],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","670$1",0,"670"],MQ:["596","00","596\\d{6}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"([34]\\d{6})$|1","664$1",0,"664"],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["[57]"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,0,"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[34679]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,0,"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],"0"],MX:["52","0[09]","1(?:(?:[27]2|44|99)[1-9]|65[0-689])\\d{7}|(?:1(?:[01]\\d|2[13-9]|[35][1-9]|4[0-35-9]|6[0-46-9]|7[013-9]|8[1-79]|9[1-8])|[2-9]\\d)\\d{8}",[10,11],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"],0,1],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 $3 $4",["1(?:33|5[56]|81)"],0,1],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 $3 $4",["1"],0,1]],"01",0,"0(?:[12]|4[45])|1",0,0,0,0,"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],"0"],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],NC:["687","00","(?:050|[2-57-9]\\d\\d)\\d{3}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[047]"]]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1"],NG:["234","009","(?:[124-7]|9\\d{3})\\d{6}|[1-9]\\d{7}|[78]\\d{9,13}",[7,8,10,11,12,13,14],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["78"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|9(?:0[3-9]|[1-9])"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[3-7]|8[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0"],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",[5,6,7,8,9,10,11],[["(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],["(\\d)(\\d{8})","$1 $2",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],"0"],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],0,0,0,0,0,"[02-689]|7[0-8]"],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],["(\\d{3})(\\d{7})","$1-$2",["9"]]],"0"],NR:["674","00","(?:444|(?:55|8\\d)\\d|666)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[4-68]"]]]],NU:["683","00","(?:[47]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]]],NZ:["64","0(?:0|161)","[29]\\d{7,9}|50\\d{5}(?:\\d{2,3})?|6[0-35-9]\\d{6}|7\\d{7,8}|8\\d{4,9}|(?:11\\d|[34])\\d{7}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-579]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|[89]0","50(?:[0367]|88)|[89]0"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[59]|80"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7|86"],"0$1"]],"0",0,0,0,0,0,0,"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["[68]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,0,"00"," Anexo "],PF:["689","00","4\\d{5}(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,0,"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],["(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],["(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],"0"],PK:["92","00","122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["1"]],["(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],["(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],["(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],["(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0"],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]]],PM:["508","00","[45]\\d{5}|(?:708|80\\d)\\d{6}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939"],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],PY:["595","00","59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-6])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0"],QA:["974","00","800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",[7,8,9,11],[["(\\d{3})(\\d{4})","$1 $2",["2[16]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]]],RE:["262","00","(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2689]"],"0$1"]],"0",0,0,0,0,0,[["26(?:2\\d\\d|3(?:0\\d|1[0-5]))\\d{4}"],["69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-27]|8[0-8]|9[0-479]))\\d{4}"],["80\\d{7}"],["89[1-37-9]\\d{6}"],0,0,0,0,["9(?:399[0-3]|479[0-5]|76(?:2[27]|3[0-37]))\\d{4}"],["8(?:1[019]|2[0156]|84|90)\\d{6}"]]],RO:["40","00","(?:[2378]\\d|90)\\d{7}|[23]\\d{5}",[6,9],[["(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],["(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[237-9]"],"0$1"]],"0",0,0,0,0,0,0,0," int "],RS:["381","00","38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",[6,7,8,9,10,11,12],[["(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],["(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],"0"],RU:["7","810","8\\d{13}|[347-9]\\d{9}",[10,14],[["(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",1],["(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",1],["(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],"8",0,0,0,0,"3[04-689]|[489]",0,"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]]],"0"],SA:["966","00","92\\d{7}|(?:[15]|8\\d)\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["9"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["81"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0"],SB:["677","0[01]","(?:[1-6]|[7-9]\\d\\d)\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["7|8[4-9]|9(?:[1-8]|9[0-8])"]]]],SC:["248","010|0[0-2]","800\\d{4}|(?:[249]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,0,"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0"],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0"],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-8]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]"],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,0,"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|79)\\d{6}",[5,8],0,0,0,0,0,0,"79"],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],"0"],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0"],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1"],SN:["221","00","(?:[378]\\d|93)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|77|9[2-9]"]]],"0"],SR:["597","00","(?:[2-5]|68|[78]\\d)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-8]"]]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0"],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]]],SV:["503","00","[267]\\d{7}|[89]00\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[267]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"(5\\d{6})$|1","721$1",0,"721"],SY:["963","00","[1-39]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-5]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1",1]],"0"],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8"],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"([2-479]\\d{6})$|1","649$1",0,"649"],TD:["235","00|16","(?:22|[69]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2679]"]]],0,0,0,0,0,0,0,"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]]],TH:["66","00[1-9]","(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",[8,9,10,13],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],TJ:["992","810","[0-57-9]\\d{8}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[04]|[34]7"]],["(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3[1-5]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[0-57-9]"]]],0,0,0,0,0,0,0,"8~10"],TK:["690","00","[2-47]\\d{3,6}",[4,5,6,7]],TL:["670","00","7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7"]]]],TM:["993","810","[1-6]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["6"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|616)","5(?:[0-59]|6161)"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0"],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-46-8]\\d{6})$|1","868$1",0,"868"],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,0,0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["5"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0"],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,0,"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],"0"],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["5056(?:[0-35-9]\\d|4[46])\\d{4}|(?:4722|505[2-57-9]|983[29])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-589]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[01356]|3[0-24679]|4[167]|5[0-2]|6[014]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|[34][016]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-7]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],UY:["598","0(?:0|1[3-9]\\d)","(?:0004|4)\\d{9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}",[7,8,10,13],[["(\\d{3})(\\d{4})","$1 $2",["405|8|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["4"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,0,"00"," int. "],UZ:["998","810","200\\d{6}|(?:33|[5-79]\\d|88)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],VA:["39","00","0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",[6,7,8,9,10,11],0,0,0,0,0,0,"06698"],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","784$1",0,"784"],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0"],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-578]\\d{6})$|1","284$1",0,"284"],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","340$1",0,"340"],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",1],["(\\d{4})(\\d{4,6})","$1 $2",["1"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0"],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]]],WF:["681","00","(?:40|72)\\d{4}|8\\d{5}(?:\\d{3})?",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[478]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],WS:["685","0","(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",[5,6,7,10],[["(\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],XK:["383","00","[23]\\d{7,8}|(?:4\\d\\d|[89]00)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[23]"],"0$1"]],"0"],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0"],YT:["262","00","(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",[9],0,"0",0,0,0,0,0,[["269(?:0[0-467]|5[0-4]|6\\d|[78]0)\\d{4}"],["639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])\\d{4}"],["80\\d{7}"],0,0,0,0,0,["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],ZM:["260","00","800\\d{6}|(?:21|63|[79]\\d)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[79]"],"0$1"]],"0"],ZW:["263","00","2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",[5,6,7,8,9,10],[["(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],["(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],["(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],"0"]},nonGeographic:{800:["800",0,"(?:00|[1-9]\\d)\\d{6}",[8],[["(\\d{4})(\\d{4})","$1 $2",["\\d"]]],0,0,0,0,0,0,[0,0,["(?:00|[1-9]\\d)\\d{6}"]]],808:["808",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\d{7}"]]],870:["870",0,"7\\d{11}|[35-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[35-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"]]],878:["878",0,"10\\d{10}",[12],[["(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\d{10}"]]],881:["881",0,"[0-36-9]\\d{8}",[9],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-36-9]"]]],0,0,0,0,0,0,[0,["[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{6})","$1 $2",["49"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|51"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],0,0,0,0,0,0,[0,["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}",[7,8,9,10,12]],0,0,0,0,0,0,["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]],883:["883",0,"(?:[1-4]\\d|51)\\d{6,10}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],["(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[013-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}};function vL(e){return vL="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vL(e)}function yL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ML(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function OL(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(l){s=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return _L(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _L(e,t)}(e,t)||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 _L(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function zL(e){var t,n,r,o=OL(Array.prototype.slice.call(e),4),i=o[0],a=o[1],s=o[2],l=o[3];if("string"!==typeof i)throw new TypeError("A text for parsing must be a string.");if(t=i,a&&"string"!==typeof a){if(!xL(a))throw new Error("Invalid second argument: ".concat(a));s?(n=a,r=s):r=a}else l?(n=s,r=l):(n=void 0,r=s),a&&(n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yL(Object(n),!0).forEach((function(t){ML(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yL(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({defaultCountry:a},n));return{text:t,options:n,metadata:r}}var xL=function(e){return"object"===vL(e)},wL=2,CL=17,SL=3,EL="0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9",kL="".concat("-\u2010-\u2015\u2212\u30fc\uff0d").concat("\uff0f/").concat("\uff0e.").concat(" \xa0\xad\u200b\u2060\u3000").concat("()\uff08\uff09\uff3b\uff3d\\[\\]").concat("~\u2053\u223c\uff5e");function DL(e){return DL="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},DL(e)}function NL(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function TL(e){var t=RL();return function(){var n,r=PL(e);if(t){var o=PL(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===DL(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return jL(e)}(this,n)}}function jL(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BL(e){var t="function"===typeof Map?new Map:void 0;return BL=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return LL(e,arguments,PL(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),qL(r,e)},BL(e)}function LL(e,t,n){return LL=RL()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&qL(o,n.prototype),o},LL.apply(null,arguments)}function RL(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(AE){return!1}}function qL(e,t){return qL=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},qL(e,t)}function PL(e){return PL=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},PL(e)}var IL=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&qL(e,t)}(i,e);var t,n,r,o=TL(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),t=o.call(this,e),Object.setPrototypeOf(jL(t),i.prototype),t.name=t.constructor.name,t}return t=i,n&&NL(t.prototype,n),r&&NL(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(BL(Error));function WL(e,t){e=e.split("-"),t=t.split("-");for(var n=e[0].split("."),r=t[0].split("."),o=0;o<3;o++){var i=Number(n[o]),a=Number(r[o]);if(i>a)return 1;if(a>i)return-1;if(!isNaN(i)&&isNaN(a))return 1;if(isNaN(i)&&!isNaN(a))return-1}return e[1]&&t[1]?e[1]>t[1]?1:e[1]<t[1]?-1:0:!e[1]&&t[1]?1:e[1]&&!t[1]?-1:0}function FL(e){return FL="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},FL(e)}function UL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZL(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function HL(e,t,n){return t&&ZL(e.prototype,t),n&&ZL(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var $L=" ext. ",VL=/^\d+$/,XL=function(){function e(t){UL(this,e),function(e){if(!e)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!eR(e)||!eR(e.countries))throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(eR(e)?"an object of shape: { "+Object.keys(e).join(", ")+" }":"a "+tR(e)+": "+e,"."))}(t),this.metadata=t,oR.call(this,t)}return HL(e,[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter((function(e){return"001"!==e}))}},{key:"getCountryMetadata",value:function(e){return this.metadata.countries[e]}},{key:"nonGeographic",value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(e){return void 0!==this.getCountryMetadata(e)}},{key:"hasCallingCode",value:function(e){if(this.getCountryCodesForCallingCode(e))return!0;if(this.nonGeographic()){if(this.nonGeographic()[e])return!0}else{var t=this.countryCallingCodes()[e];if(t&&1===t.length&&"001"===t[0])return!0}}},{key:"isNonGeographicCallingCode",value:function(e){return this.nonGeographic()?!!this.nonGeographic()[e]:!this.getCountryCodesForCallingCode(e)}},{key:"country",value:function(e){return this.selectNumberingPlan(e)}},{key:"selectNumberingPlan",value:function(e,t){if(e&&VL.test(e)&&(t=e,e=null),e&&"001"!==e){if(!this.hasCountry(e))throw new Error("Unknown country: ".concat(e));this.numberingPlan=new QL(this.getCountryMetadata(e),this)}else if(t){if(!this.hasCallingCode(t))throw new Error("Unknown calling code: ".concat(t));this.numberingPlan=new QL(this.getNumberingPlanMetadata(t),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(e){var t=this.countryCallingCodes()[e];if(t){if(1===t.length&&3===t[0].length)return;return t}}},{key:"getCountryCodeForCallingCode",value:function(e){var t=this.getCountryCodesForCallingCode(e);if(t)return t[0]}},{key:"getNumberingPlanMetadata",value:function(e){var t=this.getCountryCodeForCallingCode(e);if(t)return this.getCountryMetadata(t);if(this.nonGeographic()){var n=this.nonGeographic()[e];if(n)return n}else{var r=this.countryCallingCodes()[e];if(r&&1===r.length&&"001"===r[0])return this.metadata.countries["001"]}}},{key:"countryCallingCode",value:function(){return this.numberingPlan.callingCode()}},{key:"IDDPrefix",value:function(){return this.numberingPlan.IDDPrefix()}},{key:"defaultIDDPrefix",value:function(){return this.numberingPlan.defaultIDDPrefix()}},{key:"nationalNumberPattern",value:function(){return this.numberingPlan.nationalNumberPattern()}},{key:"possibleLengths",value:function(){return this.numberingPlan.possibleLengths()}},{key:"formats",value:function(){return this.numberingPlan.formats()}},{key:"nationalPrefixForParsing",value:function(){return this.numberingPlan.nationalPrefixForParsing()}},{key:"nationalPrefixTransformRule",value:function(){return this.numberingPlan.nationalPrefixTransformRule()}},{key:"leadingDigits",value:function(){return this.numberingPlan.leadingDigits()}},{key:"hasTypes",value:function(){return this.numberingPlan.hasTypes()}},{key:"type",value:function(e){return this.numberingPlan.type(e)}},{key:"ext",value:function(){return this.numberingPlan.ext()}},{key:"countryCallingCodes",value:function(){return this.v1?this.metadata.country_phone_code_to_countries:this.metadata.country_calling_codes}},{key:"chooseCountryByCountryCallingCode",value:function(e){return this.selectNumberingPlan(e)}},{key:"hasSelectedNumberingPlan",value:function(){return void 0!==this.numberingPlan}}]),e}(),QL=function(){function e(t,n){UL(this,e),this.globalMetadataObject=n,this.metadata=t,oR.call(this,n.metadata)}return HL(e,[{key:"callingCode",value:function(){return this.metadata[0]}},{key:"getDefaultCountryMetadataForRegion",value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:"IDDPrefix",value:function(){if(!this.v1&&!this.v2)return this.metadata[1]}},{key:"defaultIDDPrefix",value:function(){if(!this.v1&&!this.v2)return this.metadata[12]}},{key:"nationalNumberPattern",value:function(){return this.v1||this.v2?this.metadata[1]:this.metadata[2]}},{key:"possibleLengths",value:function(){if(!this.v1)return this.metadata[this.v2?2:3]}},{key:"_getFormats",value:function(e){return e[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var e=this,t=this._getFormats(this.metadata)||this._getFormats(this.getDefaultCountryMetadataForRegion())||[];return t.map((function(t){return new YL(t,e)}))}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(e){return e[this.v1?4:this.v2?5:6]}},{key:"nationalPrefixFormattingRule",value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion())}},{key:"_nationalPrefixForParsing",value:function(){return this.metadata[this.v1?5:this.v2?6:7]}},{key:"nationalPrefixForParsing",value:function(){return this._nationalPrefixForParsing()||this.nationalPrefix()}},{key:"nationalPrefixTransformRule",value:function(){return this.metadata[this.v1?6:this.v2?7:8]}},{key:"_getNationalPrefixIsOptionalWhenFormatting",value:function(){return!!this.metadata[this.v1?7:this.v2?8:9]}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata)||this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion())}},{key:"leadingDigits",value:function(){return this.metadata[this.v1?8:this.v2?9:10]}},{key:"types",value:function(){return this.metadata[this.v1?9:this.v2?10:11]}},{key:"hasTypes",value:function(){return(!this.types()||0!==this.types().length)&&!!this.types()}},{key:"type",value:function(e){if(this.hasTypes()&&JL(this.types(),e))return new KL(JL(this.types(),e),this)}},{key:"ext",value:function(){return this.v1||this.v2?$L:this.metadata[13]||$L}}]),e}(),YL=function(){function e(t,n){UL(this,e),this._format=t,this.metadata=n}return HL(e,[{key:"pattern",value:function(){return this._format[0]}},{key:"format",value:function(){return this._format[1]}},{key:"leadingDigitsPatterns",value:function(){return this._format[2]||[]}},{key:"nationalPrefixFormattingRule",value:function(){return this._format[3]||this.metadata.nationalPrefixFormattingRule()}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return!!this._format[4]||this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"nationalPrefixIsMandatoryWhenFormattingInNationalFormat",value:function(){return this.usesNationalPrefix()&&!this.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"usesNationalPrefix",value:function(){return!(!this.nationalPrefixFormattingRule()||GL.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}]),e}(),GL=/^\(?\$1\)?$/,KL=function(){function e(t,n){UL(this,e),this.type=t,this.metadata=n}return HL(e,[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.type[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}]),e}();function JL(e,t){switch(t){case"FIXED_LINE":return e[0];case"MOBILE":return e[1];case"TOLL_FREE":return e[2];case"PREMIUM_RATE":return e[3];case"PERSONAL_NUMBER":return e[4];case"VOICEMAIL":return e[5];case"UAN":return e[6];case"PAGER":return e[7];case"VOIP":return e[8];case"SHARED_COST":return e[9]}}var eR=function(e){return"object"===FL(e)},tR=function(e){return FL(e)};function nR(e,t){if((t=new XL(t)).hasCountry(e))return t.country(e).countryCallingCode();throw new Error("Unknown country: ".concat(e))}function rR(e,t){return t.countries.hasOwnProperty(e)}function oR(e){var t=e.version;"number"===typeof t?(this.v1=1===t,this.v2=2===t,this.v3=3===t,this.v4=4===t):t?-1===WL(t,"1.2.0")?this.v2=!0:-1===WL(t,"1.7.35")?this.v3=!0:this.v4=!0:this.v1=!0}var iR=function(e){return"([".concat(EL,"]{1,").concat(e,"})")};function aR(e){var t="[ \xa0\\t,]*",n="[:\\.\uff0e]?[ \xa0\\t,-]*",r="#?",o="[ \xa0\\t]*";return";ext="+iR("20")+"|"+(t+"(?:e?xt(?:ensi(?:o\u0301?|\xf3))?n?|\uff45?\uff58\uff54\uff4e?|\u0434\u043e\u0431|anexo)"+n+iR("20")+r)+"|"+(t+"(?:[x\uff58#\uff03~\uff5e]|int|\uff49\uff4e\uff54)"+n+iR("9")+r)+"|"+("[- ]+"+iR("6")+"#")+"|"+(o+"(?:,{2}|;)"+n+iR("15")+r)+"|"+(o+"(?:,)+"+n+iR("9")+r)}var sR="["+EL+"]{"+wL+"}",lR="[+\uff0b]{0,1}(?:["+kL+"]*["+EL+"]){3,}["+kL+EL+"]*",cR=new RegExp("^[+\uff0b]{0,1}(?:["+kL+"]*["+EL+"]){1,2}$","i"),uR=lR+"(?:"+aR()+")?",dR=new RegExp("^"+sR+"$|^"+uR+"$","i");var pR=new RegExp("(?:"+aR()+")$","i");function fR(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return hR(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return hR(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function hR(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var bR={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","\uff10":"0","\uff11":"1","\uff12":"2","\uff13":"3","\uff14":"4","\uff15":"5","\uff16":"6","\uff17":"7","\uff18":"8","\uff19":"9","\u0660":"0","\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u06f0":"0","\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9"};function AR(e){return bR[e]}function mR(e){for(var t,n="",r=fR(e.split(""));!(t=r()).done;){var o=AR(t.value);o&&(n+=o)}return n}function gR(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return vR(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return vR(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function vR(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function yR(e){for(var t,n="",r=gR(e.split(""));!(t=r()).done;){n+=MR(t.value,n)||""}return n}function MR(e,t){if("+"===e){if(t)return;return"+"}return AR(e)}function OR(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return _R(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _R(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _R(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function zR(e,t){return xR(e,void 0,t)}function xR(e,t,n){var r=n.type(t),o=r&&r.possibleLengths()||n.possibleLengths();if(!o)return"IS_POSSIBLE";if("FIXED_LINE_OR_MOBILE"===t){if(!n.type("FIXED_LINE"))return xR(e,"MOBILE",n);var i=n.type("MOBILE");i&&(o=function(e,t){for(var n,r=e.slice(),o=OR(t);!(n=o()).done;){var i=n.value;e.indexOf(i)<0&&r.push(i)}return r.sort((function(e,t){return e-t}))}(o,i.possibleLengths()))}else if(t&&!r)return"INVALID_LENGTH";var a=e.length,s=o[0];return s===a?"IS_POSSIBLE":s>a?"TOO_SHORT":o[o.length-1]<a?"TOO_LONG":o.indexOf(a,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}function wR(e,t){return"IS_POSSIBLE"===zR(e,t)}function CR(e,t){return e=e||"",new RegExp("^(?:"+t+")$").test(e)}function SR(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return ER(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ER(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ER(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var kR=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function DR(e,t,n){if(t=t||{},e.country){(n=new XL(n)).selectNumberingPlan(e.country,e.countryCallingCode);var r=t.v2?e.nationalNumber:e.phone;if(CR(r,n.nationalNumberPattern())){if(NR(r,"FIXED_LINE",n))return n.type("MOBILE")&&""===n.type("MOBILE").pattern()?"FIXED_LINE_OR_MOBILE":n.type("MOBILE")?NR(r,"MOBILE",n)?"FIXED_LINE_OR_MOBILE":"FIXED_LINE":"FIXED_LINE_OR_MOBILE";for(var o,i=SR(kR);!(o=i()).done;){var a=o.value;if(NR(r,a,n))return a}}}}function NR(e,t,n){return!(!(t=n.type(t))||!t.pattern())&&(!(t.possibleLengths()&&t.possibleLengths().indexOf(e.length)<0)&&CR(e,t.pattern()))}function TR(e,t,n){var r=new XL(n).getCountryCodesForCallingCode(e);return r?r.filter((function(e){return function(e,t,n){var r=new XL(n);if(r.selectNumberingPlan(t),r.numberingPlan.possibleLengths().indexOf(e.length)>=0)return!0;return!1}(t,e,n)})):[]}function jR(e){return e.replace(new RegExp("[".concat(kL,"]+"),"g")," ").trim()}var BR=/(\$\d)/;function LR(e,t,n){var r=n.useInternationalFormat,o=n.withNationalPrefix,i=(n.carrierCode,n.metadata,e.replace(new RegExp(t.pattern()),r?t.internationalFormat():o&&t.nationalPrefixFormattingRule()?t.format().replace(BR,t.nationalPrefixFormattingRule()):t.format()));return r?jR(i):i}var RR=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function qR(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return PR(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return PR(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function PR(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function IR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WR(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?IR(Object(n),!0).forEach((function(t){FR(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):IR(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function FR(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var UR={formatExtension:function(e,t,n){return"".concat(e).concat(n.ext()).concat(t)}};function ZR(e,t,n,r){if(n=n?WR(WR({},UR),n):UR,r=new XL(r),e.country&&"001"!==e.country){if(!r.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));r.country(e.country)}else{if(!e.countryCallingCode)return e.phone||"";r.selectNumberingPlan(e.countryCallingCode)}var o,i=r.countryCallingCode(),a=n.v2?e.nationalNumber:e.phone;switch(t){case"NATIONAL":return a?$R(o=HR(a,e.carrierCode,"NATIONAL",r,n),e.ext,r,n.formatExtension):"";case"INTERNATIONAL":return a?(o=HR(a,null,"INTERNATIONAL",r,n),$R(o="+".concat(i," ").concat(o),e.ext,r,n.formatExtension)):"+".concat(i);case"E.164":return"+".concat(i).concat(a);case"RFC3966":return function(e){var t=e.number,n=e.ext;if(!t)return"";if("+"!==t[0])throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(t).concat(n?";ext="+n:"")}({number:"+".concat(i).concat(a),ext:e.ext});case"IDD":if(!n.fromCountry)return;var s=function(e,t,n,r,o){var i=nR(r,o.metadata);if(i===n){var a=HR(e,t,"NATIONAL",o);return"1"===n?n+" "+a:a}var s=function(e,t,n){var r=new XL(n);return r.selectNumberingPlan(e,t),r.defaultIDDPrefix()?r.defaultIDDPrefix():RR.test(r.IDDPrefix())?r.IDDPrefix():void 0}(r,void 0,o.metadata);if(s)return"".concat(s," ").concat(n," ").concat(HR(e,null,"INTERNATIONAL",o))}(a,e.carrierCode,i,n.fromCountry,r);return $R(s,e.ext,r,n.formatExtension);default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t,'"'))}}function HR(e,t,n,r,o){var i=function(e,t){for(var n,r=qR(e);!(n=r()).done;){var o=n.value;if(o.leadingDigitsPatterns().length>0){var i=o.leadingDigitsPatterns()[o.leadingDigitsPatterns().length-1];if(0!==t.search(i))continue}if(CR(t,o.pattern()))return o}}(r.formats(),e);return i?LR(e,i,{useInternationalFormat:"INTERNATIONAL"===n,withNationalPrefix:!i.nationalPrefixIsOptionalWhenFormattingInNationalFormat()||!o||!1!==o.nationalPrefix,carrierCode:t,metadata:r}):e}function $R(e,t,n,r){return t?r(e,t,n):e}function VR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function XR(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?VR(Object(n),!0).forEach((function(t){QR(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):VR(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function QR(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function YR(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var GR=function(){function e(t,n,r){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),!t)throw new TypeError("`country` or `countryCallingCode` not passed");if(!n)throw new TypeError("`nationalNumber` not passed");if(!r)throw new TypeError("`metadata` not passed");var o=function(e,t){var n,r,o=new XL(t);KR(e)?(n=e,o.selectNumberingPlan(n),r=o.countryCallingCode()):r=e;return{country:n,countryCallingCode:r}}(t,r),i=o.country,a=o.countryCallingCode;this.country=i,this.countryCallingCode=a,this.nationalNumber=n,this.number="+"+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return r}}var t,n,r;return t=e,n=[{key:"setExt",value:function(e){this.ext=e}},{key:"getPossibleCountries",value:function(){return this.country?[this.country]:TR(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:"isPossible",value:function(){return function(e,t,n){if(void 0===t&&(t={}),n=new XL(n),t.v2){if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(e.countryCallingCode)}else{if(!e.phone)return!1;if(e.country){if(!n.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));n.country(e.country)}else{if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(e.countryCallingCode)}}if(n.possibleLengths())return wR(e.phone||e.nationalNumber,n);if(e.countryCallingCode&&n.isNonGeographicCallingCode(e.countryCallingCode))return!0;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}(this,{v2:!0},this.getMetadata())}},{key:"isValid",value:function(){return function(e,t,n){return t=t||{},(n=new XL(n)).selectNumberingPlan(e.country,e.countryCallingCode),n.hasTypes()?void 0!==DR(e,t,n.metadata):CR(t.v2?e.nationalNumber:e.phone,n.nationalNumberPattern())}(this,{v2:!0},this.getMetadata())}},{key:"isNonGeographic",value:function(){return new XL(this.getMetadata()).isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(e){return this.number===e.number&&this.ext===e.ext}},{key:"getType",value:function(){return DR(this,{v2:!0},this.getMetadata())}},{key:"format",value:function(e,t){return ZR(this,e,t?XR(XR({},t),{},{v2:!0}):{v2:!0},this.getMetadata())}},{key:"formatNational",value:function(e){return this.format("NATIONAL",e)}},{key:"formatInternational",value:function(e){return this.format("INTERNATIONAL",e)}},{key:"getURI",value:function(e){return this.format("RFC3966",e)}}],n&&YR(t.prototype,n),r&&YR(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}(),KR=function(e){return/^[A-Z]{2}$/.test(e)};var JR=new RegExp("(["+EL+"])");function eq(e,t,n,r){if(t){var o=new XL(r);o.selectNumberingPlan(t,n);var i=new RegExp(o.IDDPrefix());if(0===e.search(i)){var a=(e=e.slice(e.match(i)[0].length)).match(JR);if(!(a&&null!=a[1]&&a[1].length>0&&"0"===a[1]))return e}}}function tq(e,t){if(e&&t.numberingPlan.nationalPrefixForParsing()){var n=new RegExp("^(?:"+t.numberingPlan.nationalPrefixForParsing()+")"),r=n.exec(e);if(r){var o,i,a,s=r.length-1,l=s>0&&r[s];if(t.nationalPrefixTransformRule()&&l)o=e.replace(n,t.nationalPrefixTransformRule()),s>1&&(i=r[1]);else{var c=r[0];o=e.slice(c.length),l&&(i=r[1])}if(l){var u=e.indexOf(r[1]);e.slice(0,u)===t.numberingPlan.nationalPrefix()&&(a=t.numberingPlan.nationalPrefix())}else a=r[0];return{nationalNumber:o,nationalPrefix:a,carrierCode:i}}}return{nationalNumber:e}}function nq(e,t){var n=tq(e,t),r=n.carrierCode,o=n.nationalNumber;if(o!==e){if(!function(e,t,n){if(CR(e,n.nationalNumberPattern())&&!CR(t,n.nationalNumberPattern()))return!1;return!0}(e,o,t))return{nationalNumber:e};if(t.possibleLengths()&&!function(e,t){switch(zR(e,t)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}(o,t))return{nationalNumber:e}}return{nationalNumber:o,carrierCode:r}}function rq(e,t,n,r){var o=t?nR(t,r):n;if(0===e.indexOf(o)){(r=new XL(r)).selectNumberingPlan(t,n);var i=e.slice(o.length),a=nq(i,r).nationalNumber,s=nq(e,r).nationalNumber;if(!CR(s,r.nationalNumberPattern())&&CR(a,r.nationalNumberPattern())||"TOO_LONG"===zR(s,r))return{countryCallingCode:o,number:i}}return{number:e}}function oq(e,t,n,r){if(!e)return{};var o;if("+"!==e[0]){var i=eq(e,t,n,r);if(!i||i===e){if(t||n){var a=rq(e,t,n,r),s=a.countryCallingCode,l=a.number;if(s)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:s,number:l}}return{number:e}}o=!0,e="+"+i}if("0"===e[1])return{};r=new XL(r);for(var c=2;c-1<=SL&&c<=e.length;){var u=e.slice(1,c);if(r.hasCallingCode(u))return r.selectNumberingPlan(u),{countryCallingCodeSource:o?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:u,number:e.slice(c)};c++}return{}}function iq(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return aq(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return aq(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function aq(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function sq(e,t){var n=t.countries,r=t.defaultCountry,o=t.metadata;o=new XL(o);for(var i,a=[],s=iq(n);!(i=s()).done;){var l=i.value;if(o.country(l),o.leadingDigits()){if(e&&0===e.search(o.leadingDigits()))return l}else if(DR({phone:e,country:l},void 0,o.metadata)){if(!r)return l;if(l===r)return l;a.push(l)}}if(a.length>0)return a[0]}var lq=!1;function cq(e,t){var n=t.nationalNumber,r=t.defaultCountry,o=t.metadata;if(lq&&o.isNonGeographicCallingCode(e))return"001";var i=o.getCountryCodesForCallingCode(e);return i?1===i.length?i[0]:sq(n,{countries:i,defaultCountry:r,metadata:o.metadata}):void 0}var uq="+",dq="(["+EL+"]|[\\-\\.\\(\\)]?)",pq=new RegExp("^\\"+uq+dq+"*["+EL+"]"+dq+"*$","g"),fq=new RegExp("^("+("["+EL+"]+((\\-)*["+EL+"])*")+"\\.)*"+("[a-zA-Z]+((\\-)*["+EL+"])*")+"\\.?$","g"),hq="tel:",bq=";phone-context=",Aq=";isub=";function mq(e,t){var n,r=t.extractFormattedPhoneNumber,o=function(e){var t=e.indexOf(bq);if(t<0)return null;var n=t+bq.length;if(n>=e.length)return"";var r=e.indexOf(";",n);return r>=0?e.substring(n,r):e.substring(n)}(e);if(!function(e){return null===e||0!==e.length&&(pq.test(e)||fq.test(e))}(o))throw new IL("NOT_A_NUMBER");if(null===o)n=r(e)||"";else{n="",o.charAt(0)===uq&&(n+=o);var i,a=e.indexOf(hq);i=a>=0?a+hq.length:0;var s=e.indexOf(bq);n+=e.substring(i,s)}var l=n.indexOf(Aq);if(l>0&&(n=n.substring(0,l)),""!==n)return n}var gq=250,vq=new RegExp("[+\uff0b"+EL+"]"),yq=new RegExp("[^"+EL+"#]+$"),Mq=!1;function Oq(e,t,n){if(t=t||{},n=new XL(n),t.defaultCountry&&!n.hasCountry(t.defaultCountry)){if(t.v2)throw new IL("INVALID_COUNTRY");throw new Error("Unknown country: ".concat(t.defaultCountry))}var r=function(e,t,n){var r=mq(e,{extractFormattedPhoneNumber:function(e){return function(e,t,n){if(!e)return;if(e.length>gq){if(n)throw new IL("TOO_LONG");return}if(!1===t)return e;var r=e.search(vq);if(r<0)return;return e.slice(r).replace(yq,"")}(e,n,t)}});if(!r)return{};if(!function(e){return e.length>=wL&&dR.test(e)}(r))return function(e){return cR.test(e)}(r)?{error:"TOO_SHORT"}:{};var o=function(e){var t=e.search(pR);if(t<0)return{};for(var n=e.slice(0,t),r=e.match(pR),o=1;o<r.length;){if(r[o])return{number:n,ext:r[o]};o++}}(r);if(o.ext)return o;return{number:r}}(e,t.v2,t.extract),o=r.number,i=r.ext,a=r.error;if(!o){if(t.v2){if("TOO_SHORT"===a)throw new IL("TOO_SHORT");throw new IL("NOT_A_NUMBER")}return{}}var s=function(e,t,n,r){var o,i=oq(yR(e),t,n,r.metadata),a=i.countryCallingCodeSource,s=i.countryCallingCode,l=i.number;if(s)r.selectNumberingPlan(s);else{if(!l||!t&&!n)return{};r.selectNumberingPlan(t,n),t?o=t:Mq&&r.isNonGeographicCallingCode(n)&&(o="001"),s=n||nR(t,r.metadata)}if(!l)return{countryCallingCodeSource:a,countryCallingCode:s};var c=nq(yR(l),r),u=c.nationalNumber,d=c.carrierCode,p=cq(s,{nationalNumber:u,defaultCountry:t,metadata:r});p&&(o=p,"001"===p||r.country(o));return{country:o,countryCallingCode:s,countryCallingCodeSource:a,nationalNumber:u,carrierCode:d}}(o,t.defaultCountry,t.defaultCallingCode,n),l=s.country,c=s.nationalNumber,u=s.countryCallingCode,d=s.countryCallingCodeSource,p=s.carrierCode;if(!n.hasSelectedNumberingPlan()){if(t.v2)throw new IL("INVALID_COUNTRY");return{}}if(!c||c.length<wL){if(t.v2)throw new IL("TOO_SHORT");return{}}if(c.length>CL){if(t.v2)throw new IL("TOO_LONG");return{}}if(t.v2){var f=new GR(u,c,n.metadata);return l&&(f.country=l),p&&(f.carrierCode=p),i&&(f.ext=i),f.__countryCallingCodeSource=d,f}var h=!!(t.extended?n.hasSelectedNumberingPlan():l)&&CR(c,n.nationalNumberPattern());return t.extended?{country:l,countryCallingCode:u,carrierCode:p,valid:h,possible:!!h||!(!0!==t.extended||!n.possibleLengths()||!wR(c,n)),phone:c,ext:i}:h?function(e,t,n){var r={country:e,phone:t};n&&(r.ext=n);return r}(l,c,i):{}}function _q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function zq(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_q(Object(n),!0).forEach((function(t){xq(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_q(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function xq(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wq(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Cq(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wq(Object(n),!0).forEach((function(t){Sq(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wq(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Sq(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Eq(e,t,n){t&&t.defaultCountry&&!rR(t.defaultCountry,n)&&(t=Cq(Cq({},t),{},{defaultCountry:void 0}));try{return function(e,t,n){return Oq(e,zq(zq({},t),{},{v2:!0}),n)}(e,t,n)}catch(r){if(!(r instanceof IL))throw r}}function kq(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Dq(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kq(Object(n),!0).forEach((function(t){Nq(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kq(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Nq(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tq(){var e=zL(arguments),t=e.text,n=e.options,r=e.metadata,o=Eq(t,n=Dq(Dq({},n),{},{extract:!1}),r);return o&&o.isValid()||!1}var jq={ext:"ext.",country:"Phone number country",phone:"Phone",AB:"Abkhazia",AC:"Ascension Island",AD:"Andorra",AE:"United Arab Emirates",AF:"Afghanistan",AG:"Antigua and Barbuda",AI:"Anguilla",AL:"Albania",AM:"Armenia",AO:"Angola",AQ:"Antarctica",AR:"Argentina",AS:"American Samoa",AT:"Austria",AU:"Australia",AW:"Aruba",AX:"\xc5land Islands",AZ:"Azerbaijan",BA:"Bosnia and Herzegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BL:"Saint Barth\xe9lemy",BM:"Bermuda",BN:"Brunei Darussalam",BO:"Bolivia",BQ:"Bonaire, Sint Eustatius and Saba",BR:"Brazil",BS:"Bahamas",BT:"Bhutan",BV:"Bouvet Island",BW:"Botswana",BY:"Belarus",BZ:"Belize",CA:"Canada",CC:"Cocos (Keeling) Islands",CD:"Congo, Democratic Republic of the",CF:"Central African Republic",CG:"Congo",CH:"Switzerland",CI:"Cote d'Ivoire",CK:"Cook Islands",CL:"Chile",CM:"Cameroon",CN:"China",CO:"Colombia",CR:"Costa Rica",CU:"Cuba",CV:"Cape Verde",CW:"Cura\xe7ao",CX:"Christmas Island",CY:"Cyprus",CZ:"Czech Republic",DE:"Germany",DJ:"Djibouti",DK:"Denmark",DM:"Dominica",DO:"Dominican Republic",DZ:"Algeria",EC:"Ecuador",EE:"Estonia",EG:"Egypt",EH:"Western Sahara",ER:"Eritrea",ES:"Spain",ET:"Ethiopia",FI:"Finland",FJ:"Fiji",FK:"Falkland Islands",FM:"Federated States of Micronesia",FO:"Faroe Islands",FR:"France",GA:"Gabon",GB:"United Kingdom",GD:"Grenada",GE:"Georgia",GF:"French Guiana",GG:"Guernsey",GH:"Ghana",GI:"Gibraltar",GL:"Greenland",GM:"Gambia",GN:"Guinea",GP:"Guadeloupe",GQ:"Equatorial Guinea",GR:"Greece",GS:"South Georgia and the South Sandwich Islands",GT:"Guatemala",GU:"Guam",GW:"Guinea-Bissau",GY:"Guyana",HK:"Hong Kong",HM:"Heard Island and McDonald Islands",HN:"Honduras",HR:"Croatia",HT:"Haiti",HU:"Hungary",ID:"Indonesia",IE:"Ireland",IL:"Israel",IM:"Isle of Man",IN:"India",IO:"British Indian Ocean Territory",IQ:"Iraq",IR:"Iran",IS:"Iceland",IT:"Italy",JE:"Jersey",JM:"Jamaica",JO:"Jordan",JP:"Japan",KE:"Kenya",KG:"Kyrgyzstan",KH:"Cambodia",KI:"Kiribati",KM:"Comoros",KN:"Saint Kitts and Nevis",KP:"North Korea",KR:"South Korea",KW:"Kuwait",KY:"Cayman Islands",KZ:"Kazakhstan",LA:"Laos",LB:"Lebanon",LC:"Saint Lucia",LI:"Liechtenstein",LK:"Sri Lanka",LR:"Liberia",LS:"Lesotho",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",LY:"Libya",MA:"Morocco",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MF:"Saint Martin (French Part)",MG:"Madagascar",MH:"Marshall Islands",MK:"North Macedonia",ML:"Mali",MM:"Myanmar",MN:"Mongolia",MO:"Macao",MP:"Northern Mariana Islands",MQ:"Martinique",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MV:"Maldives",MW:"Malawi",MX:"Mexico",MY:"Malaysia",MZ:"Mozambique",NA:"Namibia",NC:"New Caledonia",NE:"Niger",NF:"Norfolk Island",NG:"Nigeria",NI:"Nicaragua",NL:"Netherlands",NO:"Norway",NP:"Nepal",NR:"Nauru",NU:"Niue",NZ:"New Zealand",OM:"Oman",OS:"South Ossetia",PA:"Panama",PE:"Peru",PF:"French Polynesia",PG:"Papua New Guinea",PH:"Philippines",PK:"Pakistan",PL:"Poland",PM:"Saint Pierre and Miquelon",PN:"Pitcairn",PR:"Puerto Rico",PS:"Palestine",PT:"Portugal",PW:"Palau",PY:"Paraguay",QA:"Qatar",RE:"Reunion",RO:"Romania",RS:"Serbia",RU:"Russia",RW:"Rwanda",SA:"Saudi Arabia",SB:"Solomon Islands",SC:"Seychelles",SD:"Sudan",SE:"Sweden",SG:"Singapore",SH:"Saint Helena",SI:"Slovenia",SJ:"Svalbard and Jan Mayen",SK:"Slovakia",SL:"Sierra Leone",SM:"San Marino",SN:"Senegal",SO:"Somalia",SR:"Suriname",SS:"South Sudan",ST:"Sao Tome and Principe",SV:"El Salvador",SX:"Sint Maarten",SY:"Syria",SZ:"Swaziland",TA:"Tristan da Cunha",TC:"Turks and Caicos Islands",TD:"Chad",TF:"French Southern Territories",TG:"Togo",TH:"Thailand",TJ:"Tajikistan",TK:"Tokelau",TL:"Timor-Leste",TM:"Turkmenistan",TN:"Tunisia",TO:"Tonga",TR:"Turkey",TT:"Trinidad and Tobago",TV:"Tuvalu",TW:"Taiwan",TZ:"Tanzania",UA:"Ukraine",UG:"Uganda",UM:"United States Minor Outlying Islands",US:"United States",UY:"Uruguay",UZ:"Uzbekistan",VA:"Holy See (Vatican City State)",VC:"Saint Vincent and the Grenadines",VE:"Venezuela",VG:"Virgin Islands, British",VI:"Virgin Islands, U.S.",VN:"Vietnam",VU:"Vanuatu",WF:"Wallis and Futuna",WS:"Samoa",XK:"Kosovo",YE:"Yemen",YT:"Mayotte",ZA:"South Africa",ZM:"Zambia",ZW:"Zimbabwe",ZZ:"International"},Bq=__webpack_require__(75192),Lq=__webpack_require__.n(Bq),Rq=Bq.shape({country_calling_codes:Bq.object.isRequired,countries:Bq.object.isRequired}),qq=Bq.objectOf(Bq.string),Pq=__webpack_require__(46123);function Iq(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return Wq(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Wq(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Wq(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Fq(e,t){for(var n,r=0,o=Iq(t.split(""));!(n=o()).done;){n.value===e&&r++}return r}function Uq(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return Zq(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Zq(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Zq(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Hq(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"x",n=arguments.length>2?arguments[2]:void 0;if(!e)return function(e){return{text:e}};var r=Fq(t,e);return function(o){if(!o)return{text:"",template:e};for(var i,a=0,s="",l=Uq(e.split(""));!(i=l()).done;){var c=i.value;if(c===t){if(s+=o[a],++a===o.length&&o.length<r)break}else s+=c}return n&&(s=function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"x",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:" ",o=e.length,i=Fq("(",e)-Fq(")",e);i>0&&o<t.length;)e+=t[o].replace(n,r),")"===t[o]&&i--,o++;return e}(s,e)),{text:s,template:e}}}var $q={Backspace:8,Delete:46};function Vq(e,t){void 0!==t&&(!function(){if("undefined"!==typeof navigator)return Xq.test(navigator.userAgent)}()?e.setSelectionRange(t,t):setTimeout((function(){return e.setSelectionRange(t,t)}),0))}var Xq=/Android/i;function Qq(e,t,n,r,o){if(!t.hasAttribute("readonly")){var i=function(e){switch(e.keyCode){case $q.Backspace:return"Backspace";case $q.Delete:return"Delete"}}(e);switch(i){case"Delete":case"Backspace":e.preventDefault();var a=function(e){if(e.selectionStart!==e.selectionEnd)return{start:e.selectionStart,end:e.selectionEnd}}(t);return a?(Yq(t,a),Gq(t,n,r,void 0,o)):Gq(t,n,r,i,o)}}}function Yq(e,t){var n=e.value;n=n.slice(0,t.start)+n.slice(t.end),e.value=n,Vq(e,t.start)}function Gq(e,t,n,r,o){var i=function(e,t,n){for(var r="",o=0,i=0;i<e.length;){var a=n(e[i],r);void 0!==a&&(r+=a,void 0!==t&&(t===i?o=r.length-1:t>i&&(o=r.length))),i++}return void 0===t&&(o=r.length),{value:r,caret:o}}(e.value,e.selectionStart,t),a=i.value,s=i.caret;if(r){var l=function(e,t,n){switch(n){case"Backspace":t>0&&(e=e.slice(0,t-1)+e.slice(t),t--);break;case"Delete":e=e.slice(0,t)+e.slice(t+1)}return{value:e,caret:t}}(a,s,r);a=l.value,s=l.caret}var c=function(e,t,n){"string"===typeof n&&(n=Hq(n));var r=n(e)||{},o=r.text,i=r.template;if(void 0===o&&(o=e),i)if(void 0===t)t=o.length;else{for(var a=0,s=!1,l=-1;a<o.length&&a<i.length;){if(o[a]!==i[a]){if(0===t){s=!0,t=a;break}l=a,t--}a++}s||(t=l+1)}return{text:o,caret:t}}(a,s,n),u=c.text;s=c.caret,e.value=u,Vq(e,s),o(a)}var Kq=["value","parse","format","inputComponent","onChange","onKeyDown"];function Jq(){return Jq=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Jq.apply(this,arguments)}function eP(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function tP(t,n){var r=t.value,o=t.parse,i=t.format,a=t.inputComponent,s=t.onChange,l=t.onKeyDown,c=eP(t,Kq),u=(0,e.useRef)(),d=(0,e.useCallback)((function(e){u.current=e,n&&("function"===typeof n?n(e):n.current=e)}),[n]),p=(0,e.useCallback)((function(e){return function(e,t,n,r,o){Gq(t,n,r,void 0,o)}(0,u.current,o,i,s)}),[u,o,i,s]),f=(0,e.useCallback)((function(e){return l&&l(e),Qq(e,u.current,o,i,s)}),[u,o,i,s,l]);return e.createElement(a,Jq({},c,{ref:d,value:i(rP(r)?"":r).text,onKeyDown:f,onChange:p}))}(tP=e.forwardRef(tP)).propTypes={parse:Bq.func.isRequired,format:Bq.func.isRequired,inputComponent:Bq.elementType.isRequired,type:Bq.string.isRequired,value:Bq.string,onChange:Bq.func.isRequired,onKeyDown:Bq.func,onCut:Bq.func,onPaste:Bq.func},tP.defaultProps={inputComponent:"input",type:"text"};var nP=tP;function rP(e){return void 0===e||null===e}function oP(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var iP=function(){function e(t){var n=t.onCountryChange,r=t.onCallingCodeChange;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.onCountryChange=n,this.onCallingCodeChange=r}var t,n,r;return t=e,n=[{key:"reset",value:function(e){var t=e.country,n=e.callingCode;this.international=!1,this.missingPlus=!1,this.IDDPrefix=void 0,this.callingCode=void 0,this.digits="",this.resetNationalSignificantNumber(),this.initCountryAndCallingCode(t,n)}},{key:"resetNationalSignificantNumber",value:function(){this.nationalSignificantNumber=this.getNationalDigits(),this.nationalSignificantNumberMatchesInput=!0,this.nationalPrefix=void 0,this.carrierCode=void 0,this.complexPrefixBeforeNationalSignificantNumber=void 0}},{key:"update",value:function(e){for(var t=0,n=Object.keys(e);t<n.length;t++){var r=n[t];this[r]=e[r]}}},{key:"initCountryAndCallingCode",value:function(e,t){this.setCountry(e),this.setCallingCode(t)}},{key:"setCountry",value:function(e){this.country=e,this.onCountryChange(e)}},{key:"setCallingCode",value:function(e){this.callingCode=e,this.onCallingCodeChange(e,this.country)}},{key:"startInternationalNumber",value:function(e,t){this.international=!0,this.initCountryAndCallingCode(e,t)}},{key:"appendDigits",value:function(e){this.digits+=e}},{key:"appendNationalSignificantNumberDigits",value:function(e){this.nationalSignificantNumber+=e}},{key:"getNationalDigits",value:function(){return this.international?this.digits.slice((this.IDDPrefix?this.IDDPrefix.length:0)+(this.callingCode?this.callingCode.length:0)):this.digits}},{key:"getDigitsWithoutInternationalPrefix",value:function(){return this.international&&this.IDDPrefix?this.digits.slice(this.IDDPrefix.length):this.digits}}],n&&oP(t.prototype,n),r&&oP(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function aP(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return sP(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return sP(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function sP(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var lP="x",cP=new RegExp(lP);function uP(e,t){if(t<1)return"";for(var n="";t>1;)1&t&&(n+=e),t>>=1,e+=e;return n+e}function dP(e,t){return")"===e[t]&&t++,function(e){var t=[],n=0;for(;n<e.length;)"("===e[n]?t.push(n):")"===e[n]&&t.pop(),n++;var r=0,o="";t.push(e.length);for(var i=0,a=t;i<a.length;i++){var s=a[i];o+=e.slice(r,s),r=s+1}return o}(e.slice(0,t))}function pP(e,t,n){var r=n.metadata,o=n.shouldTryNationalPrefixFormattingRule,i=n.getSeparatorAfterNationalPrefix;if(new RegExp("^(?:".concat(t.pattern(),")$")).test(e.nationalSignificantNumber))return function(e,t,n){var r=n.metadata,o=n.shouldTryNationalPrefixFormattingRule,i=n.getSeparatorAfterNationalPrefix;e.nationalSignificantNumber,e.international,e.nationalPrefix,e.carrierCode;if(o(t)){var a=fP(e,t,{useNationalPrefixFormattingRule:!0,getSeparatorAfterNationalPrefix:i,metadata:r});if(a)return a}return fP(e,t,{useNationalPrefixFormattingRule:!1,getSeparatorAfterNationalPrefix:i,metadata:r})}(e,t,{metadata:r,shouldTryNationalPrefixFormattingRule:o,getSeparatorAfterNationalPrefix:i})}function fP(e,t,n){var r=n.metadata,o=n.useNationalPrefixFormattingRule,i=n.getSeparatorAfterNationalPrefix,a=LR(e.nationalSignificantNumber,t,{carrierCode:e.carrierCode,useInternationalFormat:e.international,withNationalPrefix:o,metadata:r});if(o||(e.nationalPrefix?a=e.nationalPrefix+i(t)+a:e.complexPrefixBeforeNationalSignificantNumber&&(a=e.complexPrefixBeforeNationalSignificantNumber+" "+a)),function(e,t){return mR(e)===t.getNationalDigits()}(a,e))return a}function hP(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var bP=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,n=[{key:"parse",value:function(e){if(this.context=[{or:!0,instructions:[]}],this.parsePattern(e),1!==this.context.length)throw new Error("Non-finalized contexts left when pattern parse ended");var t=this.context[0],n=t.branches,r=t.instructions;if(n)return{op:"|",args:n.concat([vP(r)])};if(0===r.length)throw new Error("Pattern is required");return 1===r.length?r[0]:r}},{key:"startContext",value:function(e){this.context.push(e)}},{key:"endContext",value:function(){this.context.pop()}},{key:"getContext",value:function(){return this.context[this.context.length-1]}},{key:"parsePattern",value:function(e){if(!e)throw new Error("Pattern is required");var t=e.match(gP);if(t){var n=t[1],r=e.slice(0,t.index),o=e.slice(t.index+n.length);switch(n){case"(?:":r&&this.parsePattern(r),this.startContext({or:!0,instructions:[],branches:[]});break;case")":if(!this.getContext().or)throw new Error('")" operator must be preceded by "(?:" operator');if(r&&this.parsePattern(r),0===this.getContext().instructions.length)throw new Error('No instructions found after "|" operator in an "or" group');var i=this.getContext().branches;i.push(vP(this.getContext().instructions)),this.endContext(),this.getContext().instructions.push({op:"|",args:i});break;case"|":if(!this.getContext().or)throw new Error('"|" operator can only be used inside "or" groups');if(r&&this.parsePattern(r),!this.getContext().branches){if(1!==this.context.length)throw new Error('"branches" not found in an "or" group context');this.getContext().branches=[]}this.getContext().branches.push(vP(this.getContext().instructions)),this.getContext().instructions=[];break;case"[":r&&this.parsePattern(r),this.startContext({oneOfSet:!0});break;case"]":if(!this.getContext().oneOfSet)throw new Error('"]" operator must be preceded by "[" operator');this.endContext(),this.getContext().instructions.push({op:"[]",args:AP(r)});break;default:throw new Error("Unknown operator: ".concat(n))}o&&this.parsePattern(o)}else{if(mP.test(e))throw new Error("Illegal characters found in a pattern: ".concat(e));this.getContext().instructions=this.getContext().instructions.concat(e.split(""))}}}],n&&hP(t.prototype,n),r&&hP(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function AP(e){for(var t=[],n=0;n<e.length;){if("-"===e[n]){if(0===n||n===e.length-1)throw new Error("Couldn't parse a one-of set pattern: ".concat(e));for(var r=e[n-1].charCodeAt(0)+1,o=e[n+1].charCodeAt(0)-1,i=r;i<=o;)t.push(String.fromCharCode(i)),i++}else t.push(e[n]);n++}return t}var mP=/[\(\)\[\]\?\:\|]/,gP=new RegExp("(\\||\\(\\?\\:|\\)|\\[|\\])");function vP(e){return 1===e.length?e[0]:e}function yP(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return MP(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return MP(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function MP(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function OP(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var _P=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.matchTree=(new bP).parse(t)}var t,n,r;return t=e,n=[{key:"match",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).allowOverflow;if(!e)throw new Error("String is required");var n=zP(e.split(""),this.matchTree,!0);if(n&&n.match&&delete n.matchedChars,!n||!n.overflow||t)return n}}],n&&OP(t.prototype,n),r&&OP(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function zP(e,t,n){if("string"===typeof t){var r=e.join("");return 0===t.indexOf(r)?e.length===t.length?{match:!0,matchedChars:e}:{partialMatch:!0}:0===r.indexOf(t)?n&&e.length>t.length?{overflow:!0}:{match:!0,matchedChars:e.slice(0,t.length)}:void 0}if(Array.isArray(t)){for(var o=e.slice(),i=0;i<t.length;){var a=zP(o,t[i],n&&i===t.length-1);if(!a)return;if(a.overflow)return a;if(!a.match){if(a.partialMatch)return{partialMatch:!0};throw new Error("Unsupported match result:\n".concat(JSON.stringify(a,null,2)))}if(0===(o=o.slice(a.matchedChars.length)).length)return i===t.length-1?{match:!0,matchedChars:e}:{partialMatch:!0};i++}return n?{overflow:!0}:{match:!0,matchedChars:e.slice(0,e.length-o.length)}}switch(t.op){case"|":for(var s,l,c=yP(t.args);!(l=c()).done;){var u=zP(e,l.value,n);if(u){if(u.overflow)return u;if(u.match)return{match:!0,matchedChars:u.matchedChars};if(!u.partialMatch)throw new Error("Unsupported match result:\n".concat(JSON.stringify(u,null,2)));s=!0}}return s?{partialMatch:!0}:void 0;case"[]":for(var d,p=yP(t.args);!(d=p()).done;){var f=d.value;if(e[0]===f)return 1===e.length?{match:!0,matchedChars:e}:n?{overflow:!0}:{match:!0,matchedChars:[f]}}return;default:throw new Error("Unsupported instruction tree: ".concat(t))}}function xP(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return wP(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return wP(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function wP(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function CP(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var SP=uP("9",15),EP=/[- ]/,kP=function(){return/\[([^\[\]])*\]/g},DP=function(){return/\d(?=[^,}][^,}])/g},NP=new RegExp("["+kL+"]*\\$1["+kL+"]*(\\$\\d["+kL+"]*)*$"),TP=function(){function e(t){t.state;var n=t.metadata;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.metadata=n,this.resetFormat()}var t,n,r;return t=e,n=[{key:"resetFormat",value:function(){this.chosenFormat=void 0,this.template=void 0,this.nationalNumberTemplate=void 0,this.populatedNationalNumberTemplate=void 0,this.populatedNationalNumberTemplatePosition=-1}},{key:"reset",value:function(e,t){this.resetFormat(),e?(this.isNANP="1"===e.callingCode(),this.matchingFormats=e.formats(),t.nationalSignificantNumber&&this.narrowDownMatchingFormats(t)):(this.isNANP=void 0,this.matchingFormats=[])}},{key:"format",value:function(e,t){var n=this;if(function(e,t){return"IS_POSSIBLE"===zR(e,t)}(t.nationalSignificantNumber,this.metadata))for(var r,o=xP(this.matchingFormats);!(r=o()).done;){var i=r.value,a=pP(t,i,{metadata:this.metadata,shouldTryNationalPrefixFormattingRule:function(e){return n.shouldTryNationalPrefixFormattingRule(e,{international:t.international,nationalPrefix:t.nationalPrefix})},getSeparatorAfterNationalPrefix:function(e){return n.getSeparatorAfterNationalPrefix(e)}});if(a)return this.resetFormat(),this.chosenFormat=i,this.setNationalNumberTemplate(a.replace(/\d/g,lP),t),this.populatedNationalNumberTemplate=a,this.populatedNationalNumberTemplatePosition=this.template.lastIndexOf(lP),a}return this.formatNationalNumberWithNextDigits(e,t)}},{key:"formatNationalNumberWithNextDigits",value:function(e,t){var n=this.chosenFormat,r=this.chooseFormat(t);if(r)return r===n?this.formatNextNationalNumberDigits(e):this.formatNextNationalNumberDigits(t.getNationalDigits())}},{key:"narrowDownMatchingFormats",value:function(e){var t=this,n=e.nationalSignificantNumber,r=e.nationalPrefix,o=e.international,i=n,a=i.length-3;a<0&&(a=0),this.matchingFormats=this.matchingFormats.filter((function(e){return t.formatSuits(e,o,r)&&t.formatMatches(e,i,a)})),this.chosenFormat&&-1===this.matchingFormats.indexOf(this.chosenFormat)&&this.resetFormat()}},{key:"formatSuits",value:function(e,t,n){return!(n&&!e.usesNationalPrefix()&&!e.nationalPrefixIsOptionalWhenFormattingInNationalFormat())&&!(!t&&!n&&e.nationalPrefixIsMandatoryWhenFormattingInNationalFormat())}},{key:"formatMatches",value:function(e,t,n){var r=e.leadingDigitsPatterns().length;if(0===r)return!0;n=Math.min(n,r-1);var o=e.leadingDigitsPatterns()[n];if(t.length<3)try{return void 0!==new _P(o).match(t,{allowOverflow:!0})}catch(i){return console.error(i),!0}return new RegExp("^(".concat(o,")")).test(t)}},{key:"getFormatFormat",value:function(e,t){return t?e.internationalFormat():e.format()}},{key:"chooseFormat",value:function(e){for(var t,n=this,r=function(){var r=t.value;return n.chosenFormat===r?"break":NP.test(n.getFormatFormat(r,e.international))?n.createTemplateForFormat(r,e)?(n.chosenFormat=r,"break"):(n.matchingFormats=n.matchingFormats.filter((function(e){return e!==r})),"continue"):"continue"},o=xP(this.matchingFormats.slice());!(t=o()).done;){var i=r();if("break"===i)break}return this.chosenFormat||this.resetFormat(),this.chosenFormat}},{key:"createTemplateForFormat",value:function(e,t){if(!(e.pattern().indexOf("|")>=0)){var n=this.getTemplateForFormat(e,t);return n?(this.setNationalNumberTemplate(n,t),!0):void 0}}},{key:"getSeparatorAfterNationalPrefix",value:function(e){return this.isNANP||e&&e.nationalPrefixFormattingRule()&&EP.test(e.nationalPrefixFormattingRule())?" ":""}},{key:"getInternationalPrefixBeforeCountryCallingCode",value:function(e,t){var n=e.IDDPrefix,r=e.missingPlus;return n?t&&!1===t.spacing?n:n+" ":r?"":"+"}},{key:"getTemplate",value:function(e){if(this.template){for(var t=-1,n=0,r=e.international?this.getInternationalPrefixBeforeCountryCallingCode(e,{spacing:!1}):"";n<r.length+e.getDigitsWithoutInternationalPrefix().length;)t=this.template.indexOf(lP,t+1),n++;return dP(this.template,t+1)}}},{key:"setNationalNumberTemplate",value:function(e,t){this.nationalNumberTemplate=e,this.populatedNationalNumberTemplate=e,this.populatedNationalNumberTemplatePosition=-1,t.international?this.template=this.getInternationalPrefixBeforeCountryCallingCode(t).replace(/[\d\+]/g,lP)+uP(lP,t.callingCode.length)+" "+e:this.template=e}},{key:"getTemplateForFormat",value:function(e,t){var n=t.nationalSignificantNumber,r=t.international,o=t.nationalPrefix,i=t.complexPrefixBeforeNationalSignificantNumber,a=e.pattern();a=a.replace(kP(),"\\d").replace(DP(),"\\d");var s=SP.match(a)[0];if(!(n.length>s.length)){var l=new RegExp("^"+a+"$"),c=n.replace(/\d/g,"9");l.test(c)&&(s=c);var u,d=this.getFormatFormat(e,r);if(this.shouldTryNationalPrefixFormattingRule(e,{international:r,nationalPrefix:o})){var p=d.replace(BR,e.nationalPrefixFormattingRule());if(mR(e.nationalPrefixFormattingRule())===(o||"")+mR("$1")&&(d=p,u=!0,o))for(var f=o.length;f>0;)d=d.replace(/\d/,lP),f--}var h=s.replace(new RegExp(a),d).replace(new RegExp("9","g"),lP);return u||(i?h=uP(lP,i.length)+" "+h:o&&(h=uP(lP,o.length)+this.getSeparatorAfterNationalPrefix(e)+h)),r&&(h=jR(h)),h}}},{key:"formatNextNationalNumberDigits",value:function(e){var t=function(e,t,n){for(var r,o=aP(n.split(""));!(r=o()).done;){var i=r.value;if(e.slice(t+1).search(cP)<0)return;t=e.search(cP),e=e.replace(cP,i)}return[e,t]}(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition,e);if(t)return this.populatedNationalNumberTemplate=t[0],this.populatedNationalNumberTemplatePosition=t[1],dP(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition+1);this.resetFormat()}},{key:"shouldTryNationalPrefixFormattingRule",value:function(e,t){var n=t.international,r=t.nationalPrefix;if(e.nationalPrefixFormattingRule()){var o=e.usesNationalPrefix();if(o&&r||!o&&!n)return!0}}}],n&&CP(t.prototype,n),r&&CP(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function jP(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(l){s=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return BP(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return BP(e,t)}(e,t)||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 BP(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function LP(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var RP=new RegExp("^"+("["+kL+EL+"]+")+"$","i"),qP="(?:[+\uff0b]["+kL+EL+"]*|["+kL+EL+"]+)",PP=new RegExp("[^"+kL+EL+"]+.*$"),IP=/[^\d\[\]]/,WP=function(){function e(t){var n=t.defaultCountry,r=t.defaultCallingCode,o=t.metadata,i=t.onNationalSignificantNumberChange;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.defaultCountry=n,this.defaultCallingCode=r,this.metadata=o,this.onNationalSignificantNumberChange=i}var t,n,r;return t=e,n=[{key:"input",value:function(e,t){var n,r=function(e){var t=function(e){var t=function(e){var t,n=e.search(qP);if(!(n<0))return"+"===(e=e.slice(n))[0]&&(t=!0,e=e.slice("+".length)),e=e.replace(PP,""),t&&(e="+"+e),e}(e)||"";return"+"===t[0]?[t.slice("+".length),!0]:[t]}(e),n=jP(t,2),r=n[0],o=n[1];return RP.test(r)||(r=""),[r,o]}(e),o=jP(r,2),i=o[0],a=o[1],s=mR(i);return a&&(t.digits||(t.startInternationalNumber(),s||(n=!0))),s&&this.inputDigits(s,t),{digits:s,justLeadingPlus:n}}},{key:"inputDigits",value:function(e,t){var n=t.digits,r=n.length<3&&n.length+e.length>=3;if(t.appendDigits(e),r&&this.extractIddPrefix(t),this.isWaitingForCountryCallingCode(t)){if(!this.extractCountryCallingCode(t))return}else t.appendNationalSignificantNumberDigits(e);t.international||this.hasExtractedNationalSignificantNumber||this.extractNationalSignificantNumber(t.getNationalDigits(),(function(e){return t.update(e)}))}},{key:"isWaitingForCountryCallingCode",value:function(e){var t=e.international,n=e.callingCode;return t&&!n}},{key:"extractCountryCallingCode",value:function(e){var t=oq("+"+e.getDigitsWithoutInternationalPrefix(),this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),n=t.countryCallingCode,r=t.number;if(n)return e.setCallingCode(n),e.update({nationalSignificantNumber:r}),!0}},{key:"reset",value:function(e){if(e){this.hasSelectedNumberingPlan=!0;var t=e._nationalPrefixForParsing();this.couldPossiblyExtractAnotherNationalSignificantNumber=t&&IP.test(t)}else this.hasSelectedNumberingPlan=void 0,this.couldPossiblyExtractAnotherNationalSignificantNumber=void 0}},{key:"extractNationalSignificantNumber",value:function(e,t){if(this.hasSelectedNumberingPlan){var n=tq(e,this.metadata),r=n.nationalPrefix,o=n.nationalNumber,i=n.carrierCode;if(o!==e)return this.onExtractedNationalNumber(r,i,o,e,t),!0}}},{key:"extractAnotherNationalSignificantNumber",value:function(e,t,n){if(!this.hasExtractedNationalSignificantNumber)return this.extractNationalSignificantNumber(e,n);if(this.couldPossiblyExtractAnotherNationalSignificantNumber){var r=tq(e,this.metadata),o=r.nationalPrefix,i=r.nationalNumber,a=r.carrierCode;if(i!==t)return this.onExtractedNationalNumber(o,a,i,e,n),!0}}},{key:"onExtractedNationalNumber",value:function(e,t,n,r,o){var i,a,s=r.lastIndexOf(n);if(s>=0&&s===r.length-n.length){a=!0;var l=r.slice(0,s);l!==e&&(i=l)}o({nationalPrefix:e,carrierCode:t,nationalSignificantNumber:n,nationalSignificantNumberMatchesInput:a,complexPrefixBeforeNationalSignificantNumber:i}),this.hasExtractedNationalSignificantNumber=!0,this.onNationalSignificantNumberChange()}},{key:"reExtractNationalSignificantNumber",value:function(e){return!!this.extractAnotherNationalSignificantNumber(e.getNationalDigits(),e.nationalSignificantNumber,(function(t){return e.update(t)}))||(this.extractIddPrefix(e)||this.fixMissingPlus(e)?(this.extractCallingCodeAndNationalSignificantNumber(e),!0):void 0)}},{key:"extractIddPrefix",value:function(e){var t=e.international,n=e.IDDPrefix,r=e.digits;if(e.nationalSignificantNumber,!t&&!n){var o=eq(r,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata);return void 0!==o&&o!==r?(e.update({IDDPrefix:r.slice(0,r.length-o.length)}),this.startInternationalNumber(e,{country:void 0,callingCode:void 0}),!0):void 0}}},{key:"fixMissingPlus",value:function(e){if(!e.international){var t=rq(e.digits,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),n=t.countryCallingCode;if(t.number,n)return e.update({missingPlus:!0}),this.startInternationalNumber(e,{country:e.country,callingCode:n}),!0}}},{key:"startInternationalNumber",value:function(e,t){var n=t.country,r=t.callingCode;e.startInternationalNumber(n,r),e.nationalSignificantNumber&&(e.resetNationalSignificantNumber(),this.onNationalSignificantNumberChange(),this.hasExtractedNationalSignificantNumber=void 0)}},{key:"extractCallingCodeAndNationalSignificantNumber",value:function(e){this.extractCountryCallingCode(e)&&this.extractNationalSignificantNumber(e.getNationalDigits(),(function(t){return e.update(t)}))}}],n&&LP(t.prototype,n),r&&LP(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function FP(e){return FP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},FP(e)}function UP(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(l){s=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return ZP(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ZP(e,t)}(e,t)||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 ZP(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function HP(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var $P=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.metadata=new XL(n);var r=UP(this.getCountryAndCallingCode(t),2),o=r[0],i=r[1];this.defaultCountry=o,this.defaultCallingCode=i,this.reset()}var t,n,r;return t=e,n=[{key:"getCountryAndCallingCode",value:function(e){var t,n;return e&&("object"===FP(e)?(t=e.defaultCountry,n=e.defaultCallingCode):t=e),t&&!this.metadata.hasCountry(t)&&(t=void 0),[t,n]}},{key:"input",value:function(e){var t=this.parser.input(e,this.state),n=t.digits;if(t.justLeadingPlus)this.formattedOutput="+";else if(n){var r;if(this.determineTheCountryIfNeeded(),this.state.nationalSignificantNumber&&this.formatter.narrowDownMatchingFormats(this.state),this.metadata.hasSelectedNumberingPlan()&&(r=this.formatter.format(n,this.state)),void 0===r&&this.parser.reExtractNationalSignificantNumber(this.state)){this.determineTheCountryIfNeeded();var o=this.state.getNationalDigits();o&&(r=this.formatter.format(o,this.state))}this.formattedOutput=r?this.getFullNumber(r):this.getNonFormattedNumber()}return this.formattedOutput}},{key:"reset",value:function(){var e=this;return this.state=new iP({onCountryChange:function(t){e.country=t},onCallingCodeChange:function(t,n){e.metadata.selectNumberingPlan(n,t),e.formatter.reset(e.metadata.numberingPlan,e.state),e.parser.reset(e.metadata.numberingPlan)}}),this.formatter=new TP({state:this.state,metadata:this.metadata}),this.parser=new WP({defaultCountry:this.defaultCountry,defaultCallingCode:this.defaultCallingCode,metadata:this.metadata,state:this.state,onNationalSignificantNumberChange:function(){e.determineTheCountryIfNeeded(),e.formatter.reset(e.metadata.numberingPlan,e.state)}}),this.state.reset({country:this.defaultCountry,callingCode:this.defaultCallingCode}),this.formattedOutput="",this}},{key:"isInternational",value:function(){return this.state.international}},{key:"getCallingCode",value:function(){if(this.isInternational())return this.state.callingCode}},{key:"getCountryCallingCode",value:function(){return this.getCallingCode()}},{key:"getCountry",value:function(){if(this.state.digits)return this._getCountry()}},{key:"_getCountry",value:function(){var e=this.state.country;return e}},{key:"determineTheCountryIfNeeded",value:function(){this.state.country&&!this.isCountryCallingCodeAmbiguous()||this.determineTheCountry()}},{key:"getFullNumber",value:function(e){var t=this;if(this.isInternational()){var n=function(e){return t.formatter.getInternationalPrefixBeforeCountryCallingCode(t.state,{spacing:!!e})+e},r=this.state.callingCode;return n(r?e?"".concat(r," ").concat(e):r:"".concat(this.state.getDigitsWithoutInternationalPrefix()))}return e}},{key:"getNonFormattedNationalNumberWithPrefix",value:function(){var e=this.state,t=e.nationalSignificantNumber,n=e.complexPrefixBeforeNationalSignificantNumber,r=e.nationalPrefix,o=t,i=n||r;return i&&(o=i+o),o}},{key:"getNonFormattedNumber",value:function(){var e=this.state.nationalSignificantNumberMatchesInput;return this.getFullNumber(e?this.getNonFormattedNationalNumberWithPrefix():this.state.getNationalDigits())}},{key:"getNonFormattedTemplate",value:function(){var e=this.getNonFormattedNumber();if(e)return e.replace(/[\+\d]/g,lP)}},{key:"isCountryCallingCodeAmbiguous",value:function(){var e=this.state.callingCode,t=this.metadata.getCountryCodesForCallingCode(e);return t&&t.length>1}},{key:"determineTheCountry",value:function(){this.state.setCountry(cq(this.isInternational()?this.state.callingCode:this.defaultCallingCode,{nationalNumber:this.state.nationalSignificantNumber,defaultCountry:this.defaultCountry,metadata:this.metadata}))}},{key:"getNumberValue",value:function(){var e=this.state,t=e.digits,n=e.callingCode,r=e.country,o=e.nationalSignificantNumber;if(t)return this.isInternational()?n?"+"+n+o:"+"+t:r||n?"+"+(r?this.metadata.countryCallingCode():n)+o:void 0}},{key:"getNumber",value:function(){var e=this.state,t=e.nationalSignificantNumber,n=e.carrierCode,r=e.callingCode,o=this._getCountry();if(t&&(o||r)){if(o&&o===this.defaultCountry){var i=new XL(this.metadata.metadata);i.selectNumberingPlan(o);var a=i.numberingPlan.callingCode(),s=this.metadata.getCountryCodesForCallingCode(a);if(s.length>1){var l=sq(t,{countries:s,defaultCountry:this.defaultCountry,metadata:this.metadata.metadata});l&&(o=l)}}var c=new GR(o||r,t,this.metadata.metadata);return n&&(c.carrierCode=n),c}}},{key:"isPossible",value:function(){var e=this.getNumber();return!!e&&e.isPossible()}},{key:"isValid",value:function(){var e=this.getNumber();return!!e&&e.isValid()}},{key:"getNationalNumber",value:function(){return this.state.nationalSignificantNumber}},{key:"getChars",value:function(){return(this.state.international?"+":"")+this.state.digits}},{key:"getTemplate",value:function(){return this.formatter.getTemplate(this.state)||this.getNonFormattedTemplate()||""}}],n&&HP(t.prototype,n),r&&HP(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function VP(e){var t=e.country,n=e.international,r=e.withCountryCallingCode,o=e.metadata;return t&&n&&!r?"+".concat(nR(t,o)):""}function XP(e,t){return t&&" "===(e=e.slice(t.length))[0]&&(e=e.slice(1)),e}var QP=["country","international","withCountryCallingCode","metadata"];function YP(){return YP=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},YP.apply(this,arguments)}function GP(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var KP=function(t){function n(n,r){var o=n.country,i=n.international,a=n.withCountryCallingCode,s=n.metadata,l=void 0===s?t:s,c=GP(n,QP),u=(0,e.useCallback)((function(e){var t=new $P(o,l),n=VP({country:o,international:i,withCountryCallingCode:a,metadata:l}),r=t.input(n+e),s=t.getTemplate();return n&&(r=XP(r,n),s&&(s=XP(s,n))),{text:r,template:s}}),[o,l]);return e.createElement(nP,YP({},c,{ref:r,parse:MR,format:u}))}return(n=e.forwardRef(n)).propTypes={value:Bq.string.isRequired,onChange:Bq.func.isRequired,country:Bq.string,international:Bq.bool,withCountryCallingCode:Bq.bool,metadata:Bq.object},n}();var JP=["value","onChange","country","international","withCountryCallingCode","metadata","inputComponent"];function eI(){return eI=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},eI.apply(this,arguments)}function tI(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var nI=function(t){function n(n,r){var o=n.value,i=n.onChange,a=n.country,s=n.international,l=n.withCountryCallingCode,c=n.metadata,u=void 0===c?t:c,d=n.inputComponent,p=void 0===d?"input":d,f=tI(n,JP),h=VP({country:a,international:s,withCountryCallingCode:l,metadata:u}),b=(0,e.useCallback)((function(e){var t=yR(e.target.value);t===o&&(0===rI(h,t,a,u).indexOf(e.target.value)&&(t=t.slice(0,-1)));i(t)}),[h,o,i,a,u]);return e.createElement(p,eI({},f,{ref:r,value:rI(h,o,a,u),onChange:b}))}return(n=e.forwardRef(n)).propTypes={value:Bq.string.isRequired,onChange:Bq.func.isRequired,country:Bq.string,international:Bq.bool,withCountryCallingCode:Bq.bool,metadata:Bq.object,inputComponent:Bq.elementType},n}();function rI(e,t,n,r){return XP(function(e,t,n){return n||(n=t,t=void 0),new $P(t,n).input(e)}(e+t,n,r),e)}function oI(e){return String.fromCodePoint(127397+e.toUpperCase().charCodeAt(0))}var iI=["value","onChange","options"],aI=["value","options","className","iconComponent","getIconAspectRatio","arrowComponent","unicodeFlags"];function sI(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return lI(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return lI(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function lI(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function cI(){return cI=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},cI.apply(this,arguments)}function uI(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function dI(t){var n=t.value,r=t.onChange,o=t.options,i=uI(t,iI),a=(0,e.useCallback)((function(e){var t=e.target.value;r("ZZ"===t?void 0:t)}),[r]);(0,e.useMemo)((function(){return bI(o,n)}),[o,n]);return e.createElement("select",cI({},i,{value:n||"ZZ",onChange:a}),o.map((function(t){var n=t.value,r=t.label,o=t.divider;return e.createElement("option",{key:o?"|":n||"ZZ",value:o?"|":n||"ZZ",disabled:!!o,style:o?pI:void 0},r)})))}dI.propTypes={value:Bq.string,onChange:Bq.func.isRequired,options:Bq.arrayOf(Bq.shape({value:Bq.string,label:Bq.string,divider:Bq.bool})).isRequired};var pI={fontSize:"1px",backgroundColor:"currentColor",color:"inherit"};function fI(t){var n,r=t.value,o=t.options,i=t.className,a=t.iconComponent,s=(t.getIconAspectRatio,t.arrowComponent),l=void 0===s?hI:s,c=t.unicodeFlags,u=uI(t,aI),d=(0,e.useMemo)((function(){return bI(o,r)}),[o,r]);return e.createElement("div",{className:"PhoneInputCountry"},e.createElement(dI,cI({},u,{value:r,options:o,className:Pq("PhoneInputCountrySelect",i)})),c&&r&&e.createElement("div",{className:"PhoneInputCountryIconUnicode"},oI((n=r)[0])+oI(n[1])),!(c&&r)&&e.createElement(a,{"aria-hidden":!0,country:r,label:d&&d.label,aspectRatio:c?1:void 0}),e.createElement(l,null))}function hI(){return e.createElement("div",{className:"PhoneInputCountrySelectArrow"})}function bI(e,t){for(var n,r=sI(e);!(n=r()).done;){var o=n.value;if(!o.divider&&o.value===t)return o}}fI.propTypes={iconComponent:Bq.elementType,arrowComponent:Bq.elementType,unicodeFlags:Bq.bool};var AI=["country","countryName","flags","flagUrl"];function mI(){return mI=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mI.apply(this,arguments)}function gI(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function vI(t){var n=t.country,r=t.countryName,o=t.flags,i=t.flagUrl,a=gI(t,AI);return o&&o[n]?o[n]({title:r}):e.createElement("img",mI({},a,{alt:r,role:r?void 0:"presentation",src:i.replace("{XX}",n).replace("{xx}",n.toLowerCase())}))}vI.propTypes={country:Bq.string.isRequired,countryName:Bq.string.isRequired,flags:Bq.objectOf(Bq.elementType),flagUrl:Bq.string.isRequired};var yI=["aspectRatio"],MI=["title"],OI=["title"];function _I(){return _I=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_I.apply(this,arguments)}function zI(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function xI(t){var n=t.aspectRatio,r=zI(t,yI);return 1===n?e.createElement(CI,r):e.createElement(wI,r)}function wI(t){var n=t.title,r=zI(t,MI);return e.createElement("svg",_I({},r,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 75 50"}),e.createElement("title",null,n),e.createElement("g",{className:"PhoneInputInternationalIconGlobe",stroke:"currentColor",fill:"none",strokeWidth:"2",strokeMiterlimit:"10"},e.createElement("path",{strokeLinecap:"round",d:"M47.2,36.1C48.1,36,49,36,50,36c7.4,0,14,1.7,18.5,4.3"}),e.createElement("path",{d:"M68.6,9.6C64.2,12.3,57.5,14,50,14c-7.4,0-14-1.7-18.5-4.3"}),e.createElement("line",{x1:"26",y1:"25",x2:"74",y2:"25"}),e.createElement("line",{x1:"50",y1:"1",x2:"50",y2:"49"}),e.createElement("path",{strokeLinecap:"round",d:"M46.3,48.7c1.2,0.2,2.5,0.3,3.7,0.3c13.3,0,24-10.7,24-24S63.3,1,50,1S26,11.7,26,25c0,2,0.3,3.9,0.7,5.8"}),e.createElement("path",{strokeLinecap:"round",d:"M46.8,48.2c1,0.6,2.1,0.8,3.2,0.8c6.6,0,12-10.7,12-24S56.6,1,50,1S38,11.7,38,25c0,1.4,0.1,2.7,0.2,4c0,0.1,0,0.2,0,0.2"})),e.createElement("path",{className:"PhoneInputInternationalIconPhone",stroke:"none",fill:"currentColor",d:"M12.4,17.9c2.9-2.9,5.4-4.8,0.3-11.2S4.1,5.2,1.3,8.1C-2,11.4,1.1,23.5,13.1,35.6s24.3,15.2,27.5,11.9c2.8-2.8,7.8-6.3,1.4-11.5s-8.3-2.6-11.2,0.3c-2,2-7.2-2.2-11.7-6.7S10.4,19.9,12.4,17.9z"}))}function CI(t){var n=t.title,r=zI(t,OI);return e.createElement("svg",_I({},r,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50"}),e.createElement("title",null,n),e.createElement("g",{className:"PhoneInputInternationalIconGlobe",stroke:"currentColor",fill:"none",strokeWidth:"2",strokeLinecap:"round"},e.createElement("path",{d:"M8.45,13A21.44,21.44,0,1,1,37.08,41.56"}),e.createElement("path",{d:"M19.36,35.47a36.9,36.9,0,0,1-2.28-13.24C17.08,10.39,21.88.85,27.8.85s10.72,9.54,10.72,21.38c0,6.48-1.44,12.28-3.71,16.21"}),e.createElement("path",{d:"M17.41,33.4A39,39,0,0,1,27.8,32.06c6.62,0,12.55,1.5,16.48,3.86"}),e.createElement("path",{d:"M44.29,8.53c-3.93,2.37-9.86,3.88-16.49,3.88S15.25,10.9,11.31,8.54"}),e.createElement("line",{x1:"27.8",y1:"0.85",x2:"27.8",y2:"34.61"}),e.createElement("line",{x1:"15.2",y1:"22.23",x2:"49.15",y2:"22.23"})),e.createElement("path",{className:"PhoneInputInternationalIconPhone",stroke:"transparent",fill:"currentColor",d:"M9.42,26.64c2.22-2.22,4.15-3.59.22-8.49S3.08,17,.93,19.17c-2.49,2.48-.13,11.74,9,20.89s18.41,11.5,20.89,9c2.15-2.15,5.91-4.77,1-8.71s-6.27-2-8.49.22c-1.55,1.55-5.48-1.69-8.86-5.08S7.87,28.19,9.42,26.64Z"}))}function SI(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return EI(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return EI(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function EI(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function kI(e,t){return!!rR(e,t)||(console.error("Country not found: ".concat(e)),!1)}function DI(e,t){return e&&0===(e=e.filter((function(e){return kI(e,t)}))).length&&(e=void 0),e}function NI(e){return new XL(e).getCountries()}xI.propTypes={title:Bq.string.isRequired,aspectRatio:Bq.number},wI.propTypes={title:Bq.string.isRequired},CI.propTypes={title:Bq.string.isRequired};var TI=["country","label","aspectRatio"];function jI(){return jI=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},jI.apply(this,arguments)}function BI(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function LI(t){var n=t.flags,r=t.flagUrl,o=t.flagComponent,i=t.internationalIcon;function a(t){var a=t.country,s=t.label,l=t.aspectRatio,c=BI(t,TI),u=i===xI?l:void 0;return e.createElement("div",jI({},c,{className:Pq("PhoneInputCountryIcon",{"PhoneInputCountryIcon--square":1===u,"PhoneInputCountryIcon--border":a})}),a?e.createElement(o,{country:a,countryName:s,flags:n,flagUrl:r,className:"PhoneInputCountryIconImg"}):e.createElement(i,{title:s,aspectRatio:u,className:"PhoneInputCountryIconImg"}))}return a.propTypes={country:Bq.string,label:Bq.string.isRequired,aspectRatio:Bq.number},a}LI({flagUrl:"https://purecatamphetamine.github.io/country-flag-icons/3x2/{XX}.svg",flagComponent:vI,internationalIcon:xI});function RI(e,t){return"+"+nR(e,t)}function qI(e,t){return function(){var e=zL(arguments);return Eq(e.text,e.options,e.metadata)}(e||"",t)}function PI(e,t){var n=t.prevCountry,r=t.newCountry,o=t.metadata,i=t.useNationalFormat;if(n===r)return e;if(!e)return i?"":r?RI(r,o):"";if(r){if("+"===e[0]){if(i)return 0===e.indexOf("+"+nR(r,o))?function(e,t,n){if(t){var r="+"+nR(t,n);if(e.length<r.length){if(0===r.indexOf(e))return""}else if(0===e.indexOf(r))return e.slice(r.length)}for(var o=0,i=Object.keys(n.country_calling_codes);o<i.length;o++){var a=i[o];if(e.indexOf(a)==="+".length)return e.slice("+".length+a.length)}return""}(e,r,o):"";if(n){var a=RI(r,o);return 0===e.indexOf(a)?e:a}var s=RI(r,o);return 0===e.indexOf(s)?e:s}}else if("+"!==e[0])return II(e,n,o)||"";return e}function II(e,t,n){if(e){if("+"===e[0]){if("+"===e)return;var r=new $P(t,n);return r.input(e),r.getNumberValue()}if(t){var o=HI(e,t,n);return"+".concat(nR(t,n)).concat(o||"")}}}function WI(e,t,n){var r=HI(e,t,n);if(r){var o=r.length-function(e,t){return t=new XL(t),t.selectNumberingPlan(e),t.numberingPlan.possibleLengths()[t.numberingPlan.possibleLengths().length-1]}(t,n);if(o>0)return e.slice(0,e.length-o)}return e}function FI(e,t){var n=t.country,r=t.countries,o=t.required,i=t.metadata;if("+"===e)return n;var a=function(e,t){var n=new $P(null,t);return n.input(e),n.getCountry()}(e,i);return a&&(!r||r.indexOf(a)>=0)?a:!n||o||$I(e,n,i)?n:void 0}function UI(e,t,n){if(0===e.indexOf(RI(t,n))){var r=new $P(t,n);r.input(e);var o=r.getNumber();return o?o.formatNational().replace(/\D/g,""):""}return e.replace(/\D/g,"")}function ZI(e,t,n){return String.prototype.localeCompare?e.localeCompare(t,n):e<t?-1:e>t?1:0}function HI(e,t,n){var r=new $P(t,n);r.input(e);var o=r.getNumber();return o&&o.nationalNumber}function $I(e,t,n){for(var r=RI(t,n),o=0;o<e.length&&o<r.length;){if(e[o]!==r[o])return!1;o++}return!0}function VI(e){var t=e.value,n=e.phoneNumber,r=e.defaultCountry,o=e.international,i=e.useNationalFormat,a=e.metadata;return(!1===o||i)&&n&&n.country?function(e){return e.formatNational().replace(/\D/g,"")}(n):!t&&o&&r?RI(r,a):t}function XI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function QI(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?XI(Object(n),!0).forEach((function(t){YI(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):XI(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function YI(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function GI(e,t){return null===e&&(e=void 0),null===t&&(t=void 0),e===t}function KI(e){return KI="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},KI(e)}var JI=["name","disabled","readOnly","autoComplete","style","className","inputRef","inputComponent","numberInputProps","smartCaret","countrySelectComponent","countrySelectProps","containerComponent","defaultCountry","countries","countryOptionsOrder","labels","flags","flagComponent","flagUrl","addInternationalOption","internationalIcon","displayInitialValueAsLocalNumber","initialValueFormat","onCountryChange","limitMaxLength","countryCallingCodeEditable","focusInputOnCountrySelection","reset","metadata","international","locales"];function eW(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function tW(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?eW(Object(n),!0).forEach((function(t){cW(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eW(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function nW(){return nW=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},nW.apply(this,arguments)}function rW(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function oW(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function iW(e,t){return iW=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},iW(e,t)}function aW(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(AE){return!1}}();return function(){var n,r=lW(e);if(t){var o=lW(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===KI(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return sW(e)}(this,n)}}function sW(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lW(e){return lW=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},lW(e)}function cW(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var uW=function(t){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&iW(e,t)}(a,t);var n,r,o,i=aW(a);function a(t){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),cW(sW(n=i.call(this,t)),"setInputRef",(function(e){n.inputRef.current=e;var t=n.props.inputRef;t&&("function"===typeof t?t(e):t.current=e)})),cW(sW(n),"isCountrySupportedWithError",(function(e){return kI(e,n.props.metadata)})),cW(sW(n),"onCountryChange",(function(e){var t=n.props,r=t.international,o=t.metadata,i=t.onChange,a=t.focusInputOnCountrySelection,s=n.state,l=PI(s.phoneDigits,{prevCountry:s.country,newCountry:e,metadata:o,useNationalFormat:!r}),c=II(l,e,o);a&&n.inputRef.current.focus(),n.setState({country:e,hasUserSelectedACountry:!0,phoneDigits:l,value:c},(function(){i(c)}))})),cW(sW(n),"onChange",(function(e){var t=n.props,r=t.defaultCountry,o=t.onChange,i=t.addInternationalOption,a=t.international,s=t.limitMaxLength,l=t.countryCallingCodeEditable,c=t.metadata,u=n.state,d=u.countries,p=function(e,t){var n,r=t.prevPhoneDigits,o=t.country,i=t.defaultCountry,a=t.countryRequired,s=t.getAnyCountry,l=t.countries,c=t.international,u=t.limitMaxLength,d=t.countryCallingCodeEditable,p=t.metadata;if(c&&!1===d&&o){var f,h=RI(o,p);if(0!==e.indexOf(h))return e&&"+"!==e[0]?f=II(e=h+e,o,p):e=h,{phoneDigits:e,value:f,country:o}}return!1===c&&o&&e&&"+"===e[0]&&(e=UI(e,o,p)),e&&o&&u&&(e=WI(e,o,p)),!e||"+"===e[0]||o&&!c||(e="+"+e),!e&&r&&"+"===r[0]&&(o=c?void 0:i),"+"===e&&r&&"+"===r[0]&&r.length>"+".length&&(o=void 0),e&&(n="+"===e[0]&&("+"===e||o&&0===RI(o,p).indexOf(e))?void 0:II(e,o,p)),n&&(o=FI(n,{country:o,countries:l,metadata:p}),!1===c&&o&&e&&"+"===e[0]&&(n=II(e=UI(e,o,p),o,p))),!o&&a&&(o=i||s()),{phoneDigits:e,country:o,value:n}}(e,{prevPhoneDigits:u.phoneDigits,country:u.country,countryRequired:!i,defaultCountry:r,getAnyCountry:function(){return n.getFirstSupportedCountry({countries:d})},countries:d,international:a,limitMaxLength:s,countryCallingCodeEditable:l,metadata:c}),f=p.phoneDigits,h=p.country,b=p.value,A={phoneDigits:f,value:b,country:h};!1===l&&(b||f!==n.state.phoneDigits||(A.forceRerender={})),n.setState(A,(function(){return o(b)}))})),cW(sW(n),"_onFocus",(function(){return n.setState({isFocused:!0})})),cW(sW(n),"_onBlur",(function(){return n.setState({isFocused:!1})})),cW(sW(n),"onFocus",(function(e){n._onFocus();var t=n.props.onFocus;t&&t(e)})),cW(sW(n),"onBlur",(function(e){var t=n.props.onBlur;n._onBlur(),t&&t(e)})),cW(sW(n),"onCountryFocus",(function(e){n._onFocus();var t=n.props.countrySelectProps;if(t){var r=t.onFocus;r&&r(e)}})),cW(sW(n),"onCountryBlur",(function(e){n._onBlur();var t=n.props.countrySelectProps;if(t){var r=t.onBlur;r&&r(e)}})),n.inputRef=e.createRef();var r=n.props,o=r.value,s=(r.labels,r.international),l=r.addInternationalOption,c=r.displayInitialValueAsLocalNumber,u=r.initialValueFormat,d=r.metadata,p=n.props,f=p.defaultCountry,h=p.countries;f&&(n.isCountrySupportedWithError(f)||(f=void 0)),h=DI(h,d);var b=qI(o,d);n.CountryIcon=LI(n.props);var A=function(e){var t,n=e.value,r=e.phoneNumber,o=e.defaultCountry,i=e.getAnyCountry,a=e.countries,s=e.required,l=e.metadata;return r&&r.country?t=r.country:o&&(n&&!$I(n,o,l)||(t=o)),a&&a.indexOf(t)<0&&(t=void 0),!t&&s&&a&&a.length>0&&(t=i()),t}({value:o,phoneNumber:b,defaultCountry:f,required:!l,countries:h||NI(d),getAnyCountry:function(){return n.getFirstSupportedCountry({countries:h})},metadata:d});return n.state={props:n.props,country:A,countries:h,phoneDigits:VI({value:o,phoneNumber:b,defaultCountry:f,international:s,useNationalFormat:c||"national"===u,metadata:d}),value:o},n}return n=a,r=[{key:"componentDidMount",value:function(){var e=this.props.onCountryChange,t=this.props.defaultCountry,n=this.state.country;e&&(t&&(this.isCountrySupportedWithError(t)||(t=void 0)),n!==t&&e(n))}},{key:"componentDidUpdate",value:function(e,t){var n=this.props.onCountryChange,r=this.state.country;n&&r!==t.country&&n(r)}},{key:"getCountrySelectOptions",value:function(e){var t=e.countries,n=this.props,r=n.international,o=n.countryCallingCodeEditable,i=n.countryOptionsOrder,a=n.addInternationalOption,s=n.labels,l=n.locales,c=n.metadata;return this.useMemoCountrySelectOptions((function(){return function(e,t){if(!t)return e;for(var n,r=[],o=[],i=r,a=SI(t);!(n=a()).done;){var s=n.value;"|"===s?i.push({divider:!0}):"..."===s||"\u2026"===s?i=o:function(){var t=void 0;t="\ud83c\udf10"===s?void 0:s;var n=e.indexOf(e.filter((function(e){return e.value===t}))[0]),r=e[n];e.splice(n,1),i.push(r)}()}return r.concat(e).concat(o)}(function(e){var t=e.countries,n=e.countryNames,r=e.addInternationalOption,o=e.compareStringsLocales,i=e.compareStrings;i||(i=ZI);var a=t.map((function(e){return{value:e,label:n[e]||e}}));return a.sort((function(e,t){return i(e.label,t.label,o)})),r&&a.unshift({label:n.ZZ}),a}({countries:t||NI(c),countryNames:s,addInternationalOption:(!r||!1!==o)&&a,compareStringsLocales:l}),function(e,t){if(e&&(e=e.filter((function(e){switch(e){case"\ud83c\udf10":case"|":case"...":case"\u2026":return!0;default:return kI(e,t)}}))).length>0)return e}(i,c))}),[t,i,a,s,c])}},{key:"useMemoCountrySelectOptions",value:function(e,t){return this.countrySelectOptionsMemoDependencies&&function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;){if(e[n]!==t[n])return!1;n++}return!0}(t,this.countrySelectOptionsMemoDependencies)||(this.countrySelectOptionsMemo=e(),this.countrySelectOptionsMemoDependencies=t),this.countrySelectOptionsMemo}},{key:"getFirstSupportedCountry",value:function(e){var t=e.countries;return this.getCountrySelectOptions({countries:t})[0].value}},{key:"render",value:function(){var t=this.props,n=t.name,r=t.disabled,o=t.readOnly,i=t.autoComplete,a=t.style,s=t.className,l=(t.inputRef,t.inputComponent),c=t.numberInputProps,u=t.smartCaret,d=t.countrySelectComponent,p=t.countrySelectProps,f=t.containerComponent,h=(t.defaultCountry,t.countries,t.countryOptionsOrder,t.labels),b=(t.flags,t.flagComponent,t.flagUrl,t.addInternationalOption,t.internationalIcon,t.displayInitialValueAsLocalNumber,t.initialValueFormat,t.onCountryChange,t.limitMaxLength,t.countryCallingCodeEditable,t.focusInputOnCountrySelection,t.reset,t.metadata),A=(t.international,t.locales,rW(t,JI)),m=this.state,g=m.country,v=m.countries,y=m.phoneDigits,M=m.isFocused,O=u?KP:nI,_=this.getCountrySelectOptions({countries:v});return e.createElement(f,{style:a,className:Pq(s,"PhoneInput",{"PhoneInput--focus":M,"PhoneInput--disabled":r,"PhoneInput--readOnly":o})},e.createElement(d,nW({name:n?"".concat(n,"Country"):void 0,"aria-label":h.country},p,{value:g,options:_,onChange:this.onCountryChange,onFocus:this.onCountryFocus,onBlur:this.onCountryBlur,disabled:r||p&&p.disabled,readOnly:o||p&&p.readOnly,iconComponent:this.CountryIcon})),e.createElement(O,nW({ref:this.setInputRef,type:"tel",autoComplete:i},c,A,{name:n,metadata:b,country:g,value:y||"",onChange:this.onChange,onFocus:this.onFocus,onBlur:this.onBlur,disabled:r,readOnly:o,inputComponent:l,className:Pq("PhoneInputInput",c&&c.className,A.className)})))}}],o=[{key:"getDerivedStateFromProps",value:function(e,t){return tW({props:e},function(e,t,n){var r=e.metadata,o=e.countries,i=e.defaultCountry,a=e.value,s=e.reset,l=e.international,c=e.displayInitialValueAsLocalNumber,u=e.initialValueFormat,d=t.defaultCountry,p=t.value,f=t.reset,h=(n.country,n.value),b=n.hasUserSelectedACountry,A=function(e){return VI(QI(QI({},e),{},{international:l,useNationalFormat:c||"national"===u,metadata:r}))};if(s!==f)return{phoneDigits:A({value:void 0,defaultCountry:i}),value:void 0,country:i,hasUserSelectedACountry:void 0};if(i!==d){var m=!i||kI(i,r),g=!h||l&&h===A({value:void 0,defaultCountry:d});if(!b&&m&&!a&&g)return{country:i,phoneDigits:A({value:void 0,defaultCountry:i}),value:void 0}}if(!GI(a,p)&&!GI(a,h)){var v,y,M;if(a){v=qI(a,r);var O=DI(o,r);v&&v.country?(!O||O.indexOf(v.country)>=0)&&(y=v.country):(y=FI(a,{country:void 0,countries:O,metadata:r}))||i&&0===a.indexOf(RI(i,r))&&(y=i)}return a||(M={hasUserSelectedACountry:void 0}),QI(QI({},M),{},{phoneDigits:A({phoneNumber:v,value:a,defaultCountry:i}),value:a,country:a?y:i})}}(e,t.props,t))}}],r&&oW(n.prototype,r),o&&oW(n,o),Object.defineProperty(n,"prototype",{writable:!1}),a}(e.PureComponent),dW=e.forwardRef((function(t,n){return e.createElement(uW,nW({},function(e){for(var t in e=tW({},e),pW)void 0===e[t]&&(e[t]=pW[t]);return e}(t),{inputRef:n}))}));dW.propTypes={value:Bq.string,onChange:Bq.func.isRequired,onFocus:Bq.func,onBlur:Bq.func,disabled:Bq.bool,readOnly:Bq.bool,autoComplete:Bq.string,initialValueFormat:Bq.oneOf(["national"]),displayInitialValueAsLocalNumber:Bq.bool,defaultCountry:Bq.string,countries:Bq.arrayOf(Bq.string),labels:qq,locales:Bq.oneOfType([Bq.string,Bq.arrayOf(Bq.string)]),flagUrl:Bq.string,flags:Bq.objectOf(Bq.elementType),flagComponent:Bq.elementType,addInternationalOption:Bq.bool,internationalIcon:Bq.elementType,countryOptionsOrder:Bq.arrayOf(Bq.string),style:Bq.object,className:Bq.string,countrySelectComponent:Bq.elementType,countrySelectProps:Bq.object,inputComponent:Bq.elementType,containerComponent:Bq.elementType,numberInputProps:Bq.object,smartCaret:Bq.bool,international:Bq.bool,limitMaxLength:Bq.bool,countryCallingCodeEditable:Bq.bool,metadata:Rq,onCountryChange:Bq.func,focusInputOnCountrySelection:Bq.bool};var pW={autoComplete:"tel",countrySelectComponent:fI,flagComponent:vI,flagUrl:"https://purecatamphetamine.github.io/country-flag-icons/3x2/{XX}.svg",internationalIcon:xI,inputComponent:"input",containerComponent:"div",reset:Bq.any,smartCaret:!0,addInternationalOption:!0,countryCallingCodeEditable:!0,focusInputOnCountrySelection:!0};var fW=dW;var hW=["metadata","labels"];function bW(){return bW=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bW.apply(this,arguments)}function AW(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function mW(t){var n=e.forwardRef((function(n,r){var o=n.metadata,i=void 0===o?t:o,a=n.labels,s=void 0===a?jq:a,l=AW(n,hW);return e.createElement(fW,bW({},l,{ref:r,metadata:i,labels:s}))}));return n.propTypes={metadata:Rq,labels:qq},n}mW();function gW(e,t){var n=Array.prototype.slice.call(t);return n.push(gL),e.apply(this,n)}var vW=mW(gL);function yW(){return gW(Tq,arguments)}var MW="phone-field_phoneFieldWrap__2ABiF",OW="phone-field_phoneField__4QqTA",_W=function(t){var r=t.value,o=t.onChange,i=t.onBlur,a=t.name,s=void 0===a?"phone":a,l=t.placeholder,c=void 0===l?"Phone":l,u=t.error,d=t.disabled,p=void 0!==d&&d,f=(0,e.useState)(null),h=(0,n.Z)(f,2),b=h[0],A=h[1];return(0,e.useEffect)((function(){A(u)}),[u]),(0,Kl.jsxs)("div",{className:MW,children:[(0,Kl.jsx)(vW,{disabled:p,className:OW,name:s,placeholder:c,value:r,onChange:function(e){return p?null:o(e)},onBlur:i,defaultCountry:"GB",countryOptionsOrder:["GB","IE","US","CA","AU"]}),b&&(0,Kl.jsx)(kl.Z,{component:"p",color:"error",className:"MuiFormHelperText-root Mui-error",children:b})]})};function zW(t){var r,o=t.styles,i=t.setOpen,a=t.open,s=t.data,l=hE().enqueueSnackbar,c=Fc(),u=c.clinic,d=c.notificationsStore,p=(0,e.useState)(""),f=(0,n.Z)(p,2),h=f[0],b=f[1],A=(0,e.useState)(null),m=(0,n.Z)(A,2),g=m[0],v=m[1],y=function(e){var t=e.length;return Math.ceil(t/160)},M=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t,n;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t={message:h,to:null===s||void 0===s?void 0:s.phone,from:(null===u||void 0===u?void 0:u.smsSender)||(null===d||void 0===d?void 0:d.smsOutgoingNumber),patientId:null===s||void 0===s?void 0:s.id},e.prev=1,n=y(h),!((null===d||void 0===d?void 0:d.smsRemainingMessages)>=n)){e.next=12;break}return e.next=6,Re.post("/v1/patient/send/sms",t);case 6:d.setSmsRemainingMessages((null===d||void 0===d?void 0:d.smsRemainingMessages)-n),v((function(e){return e-n})),l("The SMS has been sent",{variant:"success"}),i(!1),e.next=13;break;case 12:l("You have exceeded SMS limit",{variant:"error"});case 13:e.next=19;break;case 15:e.prev=15,e.t0=e.catch(1),l("You have exceeded SMS limit",{variant:"error"}),console.error(e.t0);case 19:case"end":return e.stop()}}),e,null,[[1,15]])})));return function(){return e.apply(this,arguments)}}();(0,e.useEffect)((function(){v(null===d||void 0===d?void 0:d.smsRemainingMessages)}),[null===d||void 0===d?void 0:d.smsRemainingMessages]);var O=0===h.length||0===(g||0);return(0,Kl.jsx)(vC,{fullWidth:!0,maxWidth:"sm",open:a,onClose:function(){return i(!a)},onClick:function(e){return e.stopPropagation()},children:(0,Kl.jsxs)("div",{style:o.popupHolder,className:"send-patient-email-holder",children:[(0,Kl.jsxs)("div",{style:{display:"flex",justifyContent:"space-between"},children:[(0,Kl.jsxs)(kl.Z,{style:o.popupTitle,children:["SMS patient: ","".concat(null===s||void 0===s?void 0:s.firstName," ").concat(null===s||void 0===s?void 0:s.lastName)]}),(0,Kl.jsxs)(Cb,{children:["Balance:",(0,Kl.jsx)("br",{}),(0,Kl.jsx)("b",{children:g||0})," sms left"]})]}),(0,Kl.jsxs)("div",{style:o.phoneHolder,children:[(0,Kl.jsxs)("div",{style:o.phoneItem,children:[(0,Kl.jsx)(rL.Z,{children:"To"}),(0,Kl.jsx)(_W,{disabled:!0,name:"phone",value:null===s||void 0===s?void 0:s.phone})]}),(0,Kl.jsxs)("div",{style:o.phoneItem,children:[(0,Kl.jsx)(rL.Z,{children:"From"}),(0,Kl.jsx)(Wu.Z,{fullWidth:!0,size:"small",disabled:!0,color:"primary",variant:"outlined",value:null!==(r=null===u||void 0===u?void 0:u.smsSender)&&void 0!==r?r:""})]})]}),(0,Kl.jsxs)("div",{style:{paddingTop:20,marginBottom:10},children:[(0,Kl.jsx)(rL.Z,{children:"Message"}),(0,Kl.jsxs)(Cb,{mt:2,position:"relative",children:[(0,Kl.jsx)("textarea",{style:{borderRadius:12,color:"#6E7191",border:"1px solid #EFF0F7",padding:"18.5px 14px",width:"calc(100% - 28px)",marginTop:5},rows:"5",onChange:function(e){return b(e.target.value)}}),(0,Kl.jsxs)("div",{className:"sms-counter ".concat((null===h||void 0===h?void 0:h.length)>160?"sms-exceeded":""),children:[(0,Kl.jsx)("span",{children:"Using placeholders may exceed 160 symbol limit and cause extra costs per message!"}),null===h||void 0===h?void 0:h.length," / 160"]})]})]}),(0,Kl.jsxs)("div",{style:{textAlign:"right",padding:"20px 0"},children:[(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",style:{background:"#fd0001",marginRight:"15px"},size:"small",onClick:function(){i(!1)},className:"".concat(o.button," patient-send-email"),children:"Close"}),(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",size:"small",disabled:O,onClick:function(){return O?null:M()},startIcon:(0,Kl.jsx)(bL.Z,{}),className:"".concat(o.button," patient-send-email"),children:"Send"})]})]})})}var xW,wW,CW,SW=function(t){var r=t.open,o=t.setOpen,i=t.data,a=(0,e.useState)(""),s=(0,n.Z)(a,2),l=s[0],c=s[1],u=(0,e.useState)(!1),d=(0,n.Z)(u,2),p=d[0],f=d[1],h=(0,e.useState)(!1),b=(0,n.Z)(h,2),A=b[0],m=b[1],g=(0,e.useState)(!1),v=(0,n.Z)(g,2),y=v[0],M=v[1],O=he();return(0,Kl.jsxs)(vC,{open:r,onClose:function(){o(!1)},"aria-labelledby":"confirm-dialog-title",children:[(0,Kl.jsxs)(MC,{id:"confirm-dialog-title",style:{textAlign:"center"},children:[null!==i.deletedAt?"Restore":"Archive"," patient"]}),(0,Kl.jsx)(_E,{children:(0,Kl.jsxs)(tL,{children:["Do you really want to"," ",null!==i.deletedAt?"restore":"archive"," patient card for"," ",(0,Kl.jsx)("b",{children:i.name}),"?"]})}),(0,Kl.jsxs)(xE,{children:[(0,Kl.jsx)(zd.Z,{onClick:function(){m(!0),Re.post("/v1/patient/archive",{id:i.id}).then((function(e){c(e.data.message),e.data.data&&M(!0),f(!0),setTimeout((function(){e.data.data?O("/patients"):o(!r)}),4e3)})).catch((function(e){console.log(e)}))},color:"primary",variant:"contained",disabled:A,children:"Yes"}),(0,Kl.jsx)(zd.Z,{onClick:function(){o(!1)},color:"primary",variant:"outlined",children:"Cancel"})]}),(0,Kl.jsx)(VB,{message:l,setOpen:f,open:p,autoHideDuration:4e3,type:y?"success":"error"})]})},EW=["title","titleId"];function kW(){return kW=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},kW.apply(this,arguments)}function DW(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function NW(t,n){var r=t.title,o=t.titleId,i=DW(t,EW);return e.createElement("svg",kW({width:125,height:30,viewBox:"0 0 125 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,xW||(xW=e.createElement("rect",{x:.5,y:.5,width:124,height:29,rx:6.5,stroke:"#B57C2A"})),wW||(wW=e.createElement("path",{d:"M21 16.0153V19.2644C21 19.4798 20.9172 19.6865 20.7699 19.8388C20.6225 19.9911 20.4227 20.0767 20.2143 20.0767H10.7857C10.5773 20.0767 10.3775 19.9911 10.2301 19.8388C10.0828 19.6865 10 19.4798 10 19.2644V16.0153C10 15.7999 10.0828 15.5932 10.2301 15.4409C10.3775 15.2886 10.5773 15.203 10.7857 15.203H13.1429C13.247 15.203 13.347 15.2458 13.4206 15.322C13.4943 15.3981 13.5357 15.5014 13.5357 15.6091C13.5357 15.7169 13.4943 15.8202 13.4206 15.8963C13.347 15.9725 13.247 16.0153 13.1429 16.0153H10.7857V19.2644H20.2143V16.0153H17.8571C17.753 16.0153 17.653 15.9725 17.5794 15.8963C17.5057 15.8202 17.4643 15.7169 17.4643 15.6091C17.4643 15.5014 17.5057 15.3981 17.5794 15.322C17.653 15.2458 17.753 15.203 17.8571 15.203H20.2143C20.4227 15.203 20.6225 15.2886 20.7699 15.4409C20.9172 15.5932 21 15.7999 21 16.0153ZM13.4208 13.0535L15.1071 11.3096V15.6091C15.1071 15.7169 15.1485 15.8202 15.2222 15.8963C15.2959 15.9725 15.3958 16.0153 15.5 16.0153C15.6042 16.0153 15.7041 15.9725 15.7778 15.8963C15.8515 15.8202 15.8929 15.7169 15.8929 15.6091V11.3096L17.5792 13.0535C17.6529 13.1297 17.7529 13.1725 17.8571 13.1725C17.9614 13.1725 18.0614 13.1297 18.1351 13.0535C18.2088 12.9773 18.2502 12.8739 18.2502 12.7662C18.2502 12.6584 18.2088 12.555 18.1351 12.4788L15.7779 10.042C15.7415 10.0042 15.6981 9.97425 15.6504 9.95381C15.6027 9.93337 15.5516 9.92285 15.5 9.92285C15.4484 9.92285 15.3973 9.93337 15.3496 9.95381C15.3019 9.97425 15.2585 10.0042 15.2221 10.042L12.8649 12.4788C12.7912 12.555 12.7498 12.6584 12.7498 12.7662C12.7498 12.8739 12.7912 12.9773 12.8649 13.0535C12.9386 13.1297 13.0386 13.1725 13.1429 13.1725C13.2471 13.1725 13.3471 13.1297 13.4208 13.0535ZM19.0357 17.6399C19.0357 17.5194 19.0012 17.4016 18.9364 17.3014C18.8716 17.2012 18.7796 17.1231 18.6719 17.077C18.5643 17.0309 18.4458 17.0188 18.3315 17.0423C18.2172 17.0659 18.1122 17.1239 18.0297 17.2091C17.9473 17.2943 17.8912 17.4028 17.8685 17.521C17.8457 17.6392 17.8574 17.7617 17.902 17.873C17.9466 17.9843 18.0221 18.0795 18.119 18.1464C18.2159 18.2133 18.3299 18.2491 18.4464 18.2491C18.6027 18.2491 18.7526 18.1849 18.8631 18.0706C18.9736 17.9564 19.0357 17.8014 19.0357 17.6399Z",fill:"#B57C2A"})),CW||(CW=e.createElement("path",{d:"M30.67 19.09C29.7033 19.09 28.9833 18.8467 28.51 18.36C28.0433 17.8667 27.81 17.1433 27.81 16.19V11.95H28.75V16.16C28.75 16.86 28.9033 17.3867 29.21 17.74C29.5167 18.0933 30.0033 18.27 30.67 18.27C31.31 18.27 31.79 18.0933 32.11 17.74C32.4367 17.3867 32.6 16.86 32.6 16.16V11.95H33.52V16.19C33.52 17.1433 33.28 17.8667 32.8 18.36C32.32 18.8467 31.61 19.09 30.67 19.09ZM35.654 19V11.95H38.574C39.3273 11.95 39.904 12.13 40.304 12.49C40.704 12.85 40.904 13.3467 40.904 13.98C40.904 14.6133 40.704 15.1133 40.304 15.48C39.904 15.84 39.3273 16.02 38.574 16.02H36.584V19H35.654ZM36.584 15.26H38.484C38.9773 15.26 39.3507 15.15 39.604 14.93C39.8573 14.7033 39.984 14.3867 39.984 13.98C39.984 13.5733 39.8573 13.26 39.604 13.04C39.3507 12.82 38.9773 12.71 38.484 12.71H36.584V15.26ZM42.6667 19V11.95H43.5967V18.2H47.1067V19H42.6667ZM47.9839 15.47C47.9839 14.73 48.1139 14.09 48.3739 13.55C48.6339 13.01 49.0072 12.5933 49.4939 12.3C49.9872 12.0067 50.5739 11.86 51.2539 11.86C51.9272 11.86 52.5072 12.0067 52.9939 12.3C53.4872 12.5933 53.8672 13.01 54.1339 13.55C54.4006 14.09 54.5339 14.7267 54.5339 15.46C54.5339 16.2 54.4006 16.8433 54.1339 17.39C53.8672 17.93 53.4872 18.35 52.9939 18.65C52.5072 18.9433 51.9272 19.09 51.2539 19.09C50.5739 19.09 49.9906 18.9433 49.5039 18.65C49.0172 18.35 48.6406 17.93 48.3739 17.39C48.1139 16.8433 47.9839 16.2033 47.9839 15.47ZM48.9639 15.47C48.9639 16.35 49.1572 17.0367 49.5439 17.53C49.9306 18.0233 50.5006 18.27 51.2539 18.27C51.9806 18.27 52.5439 18.0267 52.9439 17.54C53.3506 17.0467 53.5539 16.3567 53.5539 15.47C53.5539 14.5833 53.3539 13.8967 52.9539 13.41C52.5539 12.9233 51.9872 12.68 51.2539 12.68C50.5006 12.68 49.9306 12.9233 49.5439 13.41C49.1572 13.8967 48.9639 14.5833 48.9639 15.47ZM55.6206 19L58.7406 11.95H59.5506L62.7206 19H61.7606L60.8906 17L61.2906 17.24H57.0006L57.4406 17L56.5706 19H55.6206ZM59.1306 12.99L57.5706 16.69L57.3306 16.48H60.9606L60.7706 16.69L59.1706 12.99H59.1306ZM64.1834 19V11.95H66.5734C67.3601 11.95 68.0234 12.0867 68.5634 12.36C69.1101 12.6333 69.5234 13.0333 69.8034 13.56C70.0834 14.08 70.2234 14.7167 70.2234 15.47C70.2234 16.2233 70.0834 16.8633 69.8034 17.39C69.5234 17.9167 69.1101 18.3167 68.5634 18.59C68.0234 18.8633 67.3601 19 66.5734 19H64.1834ZM65.1134 18.21H66.5034C67.4434 18.21 68.1401 17.9833 68.5934 17.53C69.0468 17.0767 69.2734 16.39 69.2734 15.47C69.2734 14.55 69.0468 13.8667 68.5934 13.42C68.1401 12.9667 67.4434 12.74 66.5034 12.74H65.1134V18.21ZM75.2402 19V11.95H76.1702V19H75.2402ZM78.3369 19V11.95H79.1569L81.9369 18.21H81.6369L84.4169 11.95H85.2269V19H84.3769V13.19H84.6869L82.0769 19H81.4869L78.8769 13.19H79.1869V19H78.3369ZM86.6902 19L89.8102 11.95H90.6202L93.7902 19H92.8302L91.9602 17L92.3602 17.24H88.0702L88.5102 17L87.6402 19H86.6902ZM90.2002 12.99L88.6402 16.69L88.4002 16.48H92.0302L91.8402 16.69L90.2402 12.99H90.2002ZM98.396 19.09C97.6227 19.09 96.9727 18.9467 96.446 18.66C95.9193 18.3667 95.5227 17.95 95.256 17.41C94.996 16.87 94.866 16.2267 94.866 15.48C94.866 14.7333 95.006 14.09 95.286 13.55C95.566 13.01 95.966 12.5933 96.486 12.3C97.0127 12.0067 97.6427 11.86 98.376 11.86C98.8893 11.86 99.336 11.9333 99.716 12.08C100.096 12.2267 100.436 12.44 100.736 12.72L100.386 13.46C100.173 13.2733 99.966 13.1233 99.766 13.01C99.566 12.8967 99.356 12.8167 99.136 12.77C98.9227 12.7167 98.6693 12.69 98.376 12.69C97.556 12.69 96.9293 12.9333 96.496 13.42C96.0627 13.9067 95.846 14.5967 95.846 15.49C95.846 16.3967 96.056 17.0867 96.476 17.56C96.896 18.0333 97.5493 18.27 98.436 18.27C98.7493 18.27 99.056 18.24 99.356 18.18C99.656 18.12 99.9427 18.0333 100.216 17.92L100.026 18.39V16H98.256V15.28H100.826V18.58C100.526 18.7333 100.156 18.8567 99.716 18.95C99.276 19.0433 98.836 19.09 98.396 19.09ZM102.92 19V11.95H107.48V12.71H103.82V15.04H107.25V15.8H103.82V18.24H107.48V19H102.92ZM111.511 19.09C110.944 19.09 110.434 19.0167 109.981 18.87C109.527 18.7233 109.134 18.5167 108.801 18.25L109.121 17.51C109.354 17.6833 109.591 17.83 109.831 17.95C110.071 18.0633 110.327 18.15 110.601 18.21C110.881 18.2633 111.184 18.29 111.511 18.29C112.091 18.29 112.517 18.1867 112.791 17.98C113.071 17.7667 113.211 17.4867 113.211 17.14C113.211 16.84 113.114 16.61 112.921 16.45C112.727 16.29 112.391 16.1633 111.911 16.07L110.841 15.85C110.194 15.7167 109.711 15.5 109.391 15.2C109.077 14.8933 108.921 14.48 108.921 13.96C108.921 13.54 109.031 13.1733 109.251 12.86C109.477 12.54 109.787 12.2933 110.181 12.12C110.581 11.9467 111.047 11.86 111.581 11.86C112.074 11.86 112.531 11.9333 112.951 12.08C113.371 12.2267 113.724 12.4433 114.011 12.73L113.691 13.44C113.391 13.1667 113.067 12.97 112.721 12.85C112.381 12.7233 111.994 12.66 111.561 12.66C111.034 12.66 110.617 12.7733 110.311 13C110.004 13.2267 109.851 13.5333 109.851 13.92C109.851 14.2267 109.947 14.47 110.141 14.65C110.334 14.8233 110.654 14.9567 111.101 15.05L112.171 15.26C112.851 15.3933 113.347 15.6033 113.661 15.89C113.981 16.1767 114.141 16.5733 114.141 17.08C114.141 17.48 114.034 17.8333 113.821 18.14C113.607 18.44 113.304 18.6733 112.911 18.84C112.517 19.0067 112.051 19.09 111.511 19.09Z",fill:"#B57C2A"})))}var TW,jW,BW=e.forwardRef(NW);__webpack_require__.p;function LW(t){var r,o=t.styles,i=t.setOpen,a=t.open,s=t.data,l=(0,e.useState)([]),c=(0,n.Z)(l,2),u=c[0],d=c[1],p=(0,e.useState)(""),f=(0,n.Z)(p,2),h=f[0],b=f[1],A=(0,e.useState)(!1),m=(0,n.Z)(A,2),g=m[0],v=m[1],y=(0,e.useState)(!1),M=(0,n.Z)(y,2),O=M[0],_=M[1],z=(0,e.useState)(!1),x=(0,n.Z)(z,2),w=x[0],C=x[1],S=(0,e.useState)(),E=(0,n.Z)(S,1)[0],k=(0,e.useState)(),D=(0,n.Z)(k,1)[0],N=(0,e.useState)(1),T=(0,n.Z)(N,2),j=T[0],B=(T[1],(0,e.useState)(0)),L=(0,n.Z)(B,2),R=(L[0],L[1]),q=(0,e.useState)(100),P=(0,n.Z)(q,1)[0],I=(0,e.useState)(!1),W=(0,n.Z)(I,2),F=W[0],U=W[1],Z=(0,e.useState)([]),H=(0,n.Z)(Z,2),$=H[0],V=H[1],X=(0,e.useState)((function(){return iL.EditorState.createEmpty()})),Q=(0,n.Z)(X,2),Y=Q[0],G=Q[1],K=(0,e.useContext)(bA),J=(0,e.useState)(null===K||void 0===K||null===(r=K.user)||void 0===r?void 0:r.email),ee=(0,n.Z)(J,2),te=ee[0],ne=ee[1],re=(0,e.useState)(""),oe=(0,n.Z)(re,2),ie=oe[0],ae=oe[1],se=(0,e.useState)([]),le=(0,n.Z)(se,2),ce=le[0],ue=le[1],de=hE().enqueueSnackbar,pe={maxWidth:"180px",maxHeight:"100px",objectFit:"contain",cursor:"pointer"},fe={perPage:P,page:j};E&&D&&(fe.from=Vs()(E).format("YYYY-MM-DD"),fe.to=Vs()(D).format("YYYY-MM-DD"));var he=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var r,o,i,a,s,l;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r={perPage:P,page:j},E&&D&&(r.from=Vs()(E).format("YYYY-MM-DD"),r.to=Vs()(D).format("YYYY-MM-DD")),e.next=4,Re.get("/v1/patient/".concat(t,"/photos"),{params:r}).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return console.log(e)}))}))}));case 4:o=e.sent,(i=o.data)&&(R(null===i||void 0===i?void 0:i.total),s=/(\d{2}\/\d{2}\/\d{4} \d{2}:\d{2})/,l=null!==(a=null===i||void 0===i?void 0:i.photos)&&void 0!==a?a:{},V(Object.entries(l).map((function(e){var t=(0,n.Z)(e,2),r=t[0],o=t[1],i=s.exec(r)[1],a=o.treatmentTypes,l=o.records,c=o.doctor_avatar;return{name:r.replace(i,""),avatar:c,date:i,treatmentTypes:a,photos:l}}))));case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return(0,e.useEffect)((function(){he(s.patient.id);var e=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t,n,r;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:v(!0),Re.get("/v1/get-clinic-emails",{params:{location:(null===(t=s.patient)||void 0===t||null===(n=t.clinic)||void 0===n?void 0:n.id)||(null===K||void 0===K||null===(r=K.clinic)||void 0===r?void 0:r.id)}}).then((function(e){var t=e.data.data;d(t),v(!1)}));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}),[]),(0,e.useEffect)((function(){var e=sL()((0,iL.convertToRaw)(Y.getCurrentContent()));b(e)}),[Y]),(0,Kl.jsx)(vC,{"aria-labelledby":"simple-dialog-title",open:a,onClose:function(){return i(!a)},onClick:function(e){return e.stopPropagation()},children:(0,Kl.jsxs)(Kl.Fragment,{children:[g&&(0,Kl.jsx)(NE,{}),(0,Kl.jsxs)("div",{style:o.popupHolder,className:"send-patient-email-holder",children:[(0,Kl.jsx)(kl.Z,{style:o.popupTitle,children:"Sent Photos"}),(0,Kl.jsxs)("div",{style:{width:"98%",padding:"20px 10px"},children:[(0,Kl.jsxs)(AC,{container:!0,spacing:3,children:[(0,Kl.jsxs)(AC,{item:!0,md:6,xs:12,children:[(0,Kl.jsx)(rL.Z,{id:"demo-simple-select-outlined-label",children:"Sent from"}),(0,Kl.jsx)(LE.Z,{labelId:"demo-simple-select-outlined-label",id:"demo-simple-select-outlined",value:te,style:{width:"100%"},onChange:function(e){return function(e){ne(e.target.value)}(e)},label:"Age",children:u.map((function(e,t){return(0,Kl.jsx)(xd.Z,{value:e,children:e},t)}))})]}),(0,Kl.jsxs)(AC,{item:!0,md:6,xs:12,children:[(0,Kl.jsx)(rL.Z,{id:"demo-simple-select-outlined-label",children:"Subject"}),(0,Kl.jsx)(BE.Z,{defaultValue:ie,style:{width:"100%"},onChange:function(e){return ae(e.target.value)}})]})]}),(0,Kl.jsxs)("div",{style:{paddingTop:20,marginBottom:10},children:[(0,Kl.jsx)(rL.Z,{id:"attach-photos-message",style:{marginBottom:10},children:"Message"}),(0,Kl.jsx)(oL.Editor,{editorState:Y,onEditorStateChange:G,editorClassName:"photo-email-editor"})]}),(0,Kl.jsxs)(AC,{children:[(0,Kl.jsx)(rL.Z,{id:"attach-photos",style:{marginTop:20,marginBottom:10,float:ce.length>0?"left":"unset"},children:"Attach Photos"}),ce.length>0&&(0,Kl.jsx)(zd.Z,{color:"primary",onClick:function(){return U(!0)},style:{float:"right",marginTop:10},children:"+ Add More Photos"})]}),ce.length>0&&(0,Kl.jsx)(AC,{container:!0,spacing:6,style:{paddingLeft:20},children:ce.map((function(e,t){return(0,Kl.jsxs)(AC,{item:!0,md:2,xs:2,style:{position:"relative",overflow:"hidden",padding:0,textAlign:"center",justifyContent:"center",display:"flex",background:"#f4f5fb",marginRight:10,marginBottom:15},children:[(0,Kl.jsx)(pL,{style:{position:"absolute",right:5,cursor:"pointer"},onClick:function(){!function(e){var t=ce.filter((function(t){return t!==e}));ue(t)}(e)}}),(0,Kl.jsx)("img",{src:e.split("&type=")[0],alt:"after-".concat(t),style:pe}),(0,Kl.jsx)("span",{style:{color:"#fff",padding:"4px 8px",borderRadius:11,background:"#B57C2A",fontSize:9,bottom:5,left:5,position:"absolute"},children:e.split("&type=")[1].toUpperCase()})]},t)}))}),0===ce.length&&(0,Kl.jsx)("div",{style:{justifyContent:"center",display:"flex",border:"1px dotted"},children:(0,Kl.jsx)(BW,{style:{margin:50,cursor:"pointer"},onClick:function(){return U(!0)}})})]}),(0,Kl.jsxs)("div",{style:{textAlign:"center",padding:"20px 0"},children:[(0,Kl.jsx)(zd.Z,{variant:"outlined",color:"primary",style:{marginRight:"15px"},size:"small",onClick:function(){i(!1)},className:"".concat(o.button," patient-send-email"),children:"Close"}),(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",size:"small",disabled:0===ce.length||0===ie.length,onClick:function(){return function(){var e,t,n;v(!0),Re.post("/v1/patient/email/photos",{from:te,subject:ie,message:h,photos:ce,patientEmail:(null===(e=s.patient)||void 0===e||null===(t=e.user)||void 0===t?void 0:t.email)||(null===(n=s.patient)||void 0===n?void 0:n.email)}).then((function(e){v(!1),i(!1),de("Email sent successfully",{variant:"success"})})).catch((function(e){v(!1),i(!1),de("Email cannot be sent at the moment",{variant:"error"})}))}()},startIcon:(0,Kl.jsx)(bL.Z,{}),className:"".concat(o.button," patient-send-email"),children:"Send"})]})]}),g&&(0,Kl.jsx)(NE,{}),(0,Kl.jsx)(VB,{type:"success",message:"Email sent successfully",autoHideDuration:3e3,open:O,setOpen:_}),(0,Kl.jsx)(VB,{type:"error",message:"Email cannot be sent at the moment",autoHideDuration:3e3,open:w,setOpen:C}),F&&(0,Kl.jsx)(oF,{open:F,setOpen:U,selectedValue:"patient-photos-modal",data:s,photos:$,selectedImages:ce,setSelectedImages:ue,imageContainerStyle:{display:"flex",justifyContent:"center",alignItems:"center",overflow:"hidden",position:"relative",backgroundColor:"#f4f5fb",borderRadius:3,border:"1px solid #999999"},imageStyle:{maxWidth:"100%",maxHeight:"100%",objectFit:"contain",cursor:"pointer"}})]})})}var RW=["title","titleId"];function qW(){return qW=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qW.apply(this,arguments)}function PW(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function IW(t,n){var r=t.title,o=t.titleId,i=PW(t,RW);return e.createElement("svg",qW({width:15,height:14,viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,TW||(TW=e.createElement("g",{clipPath:"url(#clip0_220_422)"},e.createElement("path",{d:"M7.46785 0.217773C3.7694 0.217773 0.760742 3.22732 0.760742 6.92686C0.760742 10.6264 3.7694 13.636 7.46785 13.636C11.1663 13.636 14.175 10.6264 14.175 6.92686C14.175 3.22732 11.1663 0.217773 7.46785 0.217773Z",fill:"#B57C2A"}),e.createElement("path",{d:"M10.8676 5.5053L7.23458 9.13933C7.12559 9.24835 6.98251 9.30322 6.83944 9.30322C6.69636 9.30322 6.55329 9.24835 6.44429 9.13933L4.62782 7.32231C4.40922 7.10375 4.40922 6.75036 4.62782 6.53179C4.84632 6.31313 5.1995 6.31313 5.41811 6.53179L6.83944 7.95354L10.0773 4.71478C10.2958 4.49611 10.649 4.49611 10.8676 4.71478C11.0861 4.93335 11.0861 5.28664 10.8676 5.5053Z",fill:"#FAFAFA"}))),jW||(jW=e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_220_422"},e.createElement("rect",{width:13.4142,height:13.4182,fill:"white",transform:"translate(0.760742 0.217773)"})))))}var WW=e.forwardRef(IW),FW=(__webpack_require__.p,(0,kp.Z)(e.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"));function UW(t){t.styles;var o=t.setOpen,i=t.open,a=(t.data,t.selectedImages),s=t.setSelectedImages,l=(t.imageStyle,t.photos),c=(0,e.useState)({}),u=(0,n.Z)(c,2),d=u[0],p=u[1],f=(0,e.useState)([]),h=(0,n.Z)(f,2),b=h[0],A=h[1],m=(0,e.useState)(!1),g=(0,n.Z)(m,2),v=g[0],y=g[1],M=function(e,t){p((function(n){var r;return Us(Us({},n),{},{[e]:Us(Us({},n[e]),{},{[t]:!(null!==(r=n[e])&&void 0!==r&&r[t])})})}))},O=function(e,t){var n=a.filter((function(e){return e.includes(t)})),o=e+"&type="+t;a.includes(o)?s(a.filter((function(e){return e!==o}))):n.length+1>3?y(!0):(y(!1),s([].concat((0,r.Z)(a),[o])))};(0,e.useEffect)((function(){var e=l.map((function(e){var t=e.name,n=e.date,r=e.treatmentTypes,o=e.photos,i=e.avatar;return{name:t.trim(),avatar:i,date:n,treatmentTypes:r,photos:o.map((function(e){return{id:e.id,url:e.url,thumbnails:e.thumbnails,tools:e.tools,isOriginal:e.isOriginal,createdAt:e.created_at,type:e.type}}))}}));A(e)}),[]);var _=function(e){var t=e.onClose;return(0,Kl.jsxs)(Cb,{display:"flex",justifyContent:"space-between",alignItems:"center",children:[(0,Kl.jsx)(MC,{id:"simple-dialog-title",style:{display:"flex",justifyContent:"space-between",alignItems:"center",padding:"10px 20px"},children:(0,Kl.jsx)(kl.Z,{variant:"h6",children:"Select Photos"})}),(0,Kl.jsx)(wd.Z,{"aria-label":"close",onClick:t,children:(0,Kl.jsx)(FW,{})})]})},z={display:"flex",justifyContent:"center",alignItems:"center",position:"relative",backgroundColor:"#f4f5fb",borderRadius:3,border:"1px solid #999999",width:"215px",height:"123px",backgroundSize:"cover",backgroundPosition:"center",cursor:"pointer"},x=function(e){return Us(Us({},z),{},{border:"3px solid #3f51b5",backgroundImage:"url(".concat(e,")")})},w={position:"absolute",top:8,right:8,zIndex:1};return(0,Kl.jsxs)(vC,{"aria-labelledby":"simple-dialog-title",open:i,onClose:function(){return o(!i)},onClick:function(e){return e.stopPropagation()},maxWidth:"lg",className:"photos-email-dialog",fullWidth:!0,children:[(0,Kl.jsx)(_,{onClose:function(){return o(!1)}}),(0,Kl.jsx)(_E,{style:{padding:0},children:(0,Kl.jsxs)("div",{style:{maxHeight:"60vh",overflowY:"auto"},children:[(0,Kl.jsxs)("div",{style:{display:"flex"},children:[(0,Kl.jsx)("div",{style:{flex:2,border:"1px solid #E6E6E6",padding:10},children:(0,Kl.jsx)("h4",{children:"Appointment Details"})}),(0,Kl.jsx)("div",{style:{flex:5,border:"1px solid #E6E6E6",padding:10},children:(0,Kl.jsx)("h4",{children:"Before Photos (Select up to 3 images)"})}),(0,Kl.jsx)("div",{style:{flex:5,border:"1px solid #E6E6E6",padding:10},children:(0,Kl.jsx)("h4",{children:"After Photos (Select up to 3 images)"})})]}),b.map((function(e,t){var n,r,o,i,s;return(0,Kl.jsxs)("div",{style:{display:"flex"},children:[(0,Kl.jsxs)("div",{style:{flex:2,borderTop:"1px solid #E6E6E6",borderLeft:"1px solid #E6E6E6",padding:10,borderBottom:t===b.length-1?"1px solid #E6E6E6":""},children:[(0,Kl.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[e.avatar?(0,Kl.jsx)("img",{width:40,style:{borderRadius:"50%"},src:e.avatar,alt:e.name}):(0,Kl.jsx)("img",{width:40,src:TE,alt:e.name}),(0,Kl.jsxs)("div",{style:{marginLeft:10},children:[(0,Kl.jsx)(kl.Z,{variant:"subtitle1",style:{fontSize:14,fontWeight:700},children:e.name}),(0,Kl.jsx)(kl.Z,{variant:"body2",style:{color:"#6A6A6A",fontSize:12},children:e.date})]})]}),(0,Kl.jsxs)(kl.Z,{variant:"body2",style:{fontSize:11},children:[null===(n=e.treatmentTypes[0])||void 0===n?void 0:n.name,t===b.length-1?"HERE":""]})]}),(0,Kl.jsxs)("div",{style:{flex:5,borderTop:"1px solid #E6E6E6",borderLeft:"1px solid #E6E6E6",padding:10,borderBottom:t===b.length-1?"1px solid #E6E6E6":""},children:[(0,Kl.jsx)("div",{style:{display:"flex",flexWrap:"wrap"},children:e.photos.filter((function(e){return"before"===e.type})).slice(0,null!==(r=d[t])&&void 0!==r&&r.before?e.photos.length:3).map((function(e,t){return(0,Kl.jsx)("div",{style:{flex:"1 0 30%",textAlign:"center",marginBottom:10},children:(0,Kl.jsx)("div",{style:a.some((function(t){return t.split("&type=")[0]===e.url}))?x(e.url):Us(Us({},z),{},{backgroundImage:"url(".concat(e.url,")")}),className:a.some((function(t){return t.split("&type=")[0]===e.url}))?"selected-photo-email":"",onClick:function(){return O(e.url,e.type)},children:a.some((function(t){return t.split("&type=")[0]===e.url}))&&(0,Kl.jsx)(WW,{style:w})})},t)}))}),e.photos.filter((function(e){return"before"===e.type})).length>3&&(0,Kl.jsx)("div",{style:{display:"flex",justifyContent:"center"},children:(0,Kl.jsx)(zd.Z,{variant:"text",color:"primary",onClick:function(){return M(t,"before")},children:null!==(o=d[t])&&void 0!==o&&o.before?"View less photos":"View all photos"})})]}),(0,Kl.jsxs)("div",{style:{flex:5,borderTop:"1px solid #E6E6E6",borderLeft:"1px solid #E6E6E6",padding:10,borderBottom:t===b.length-1?"1px solid #E6E6E6":""},children:[(0,Kl.jsx)("div",{style:{display:"flex",flexWrap:"wrap"},children:e.photos.filter((function(e){return"after"===e.type})).slice(0,null!==(i=d[t])&&void 0!==i&&i.after?e.photos.length:3).map((function(e,t){return(0,Kl.jsx)("div",{style:{flex:"1 0 30%",textAlign:"center",marginBottom:10},children:(0,Kl.jsx)("div",{style:a.some((function(t){return t.split("&type=")[0]===e.url}))?x(e.url):Us(Us({},z),{},{backgroundImage:"url(".concat(e.url,")")}),className:a.some((function(t){return t.split("&type=")[0]===e.url}))?"selected-photo-email":"",onClick:function(){return O(e.url,e.type)},children:a.some((function(t){return t.split("&type=")[0]===e.url}))&&(0,Kl.jsx)(WW,{style:w})})},t)}))}),e.photos.filter((function(e){return"after"===e.type})).length>3&&(0,Kl.jsx)("div",{style:{display:"flex",justifyContent:"center"},children:(0,Kl.jsx)(zd.Z,{variant:"text",color:"primary",onClick:function(){return M(t,"after")},children:null!==(s=d[t])&&void 0!==s&&s.after?"View less photos":"View all photos"})})]})]},t)}))]})}),(0,Kl.jsxs)(xE,{style:{display:"flex",justifyContent:"center",marginTop:"20px",width:"100%",padding:"20px 0",boxShadow:"8px 5px 14px 5px lightgray"},children:[(0,Kl.jsx)(zd.Z,{variant:"outlined",color:"primary",onClick:function(){return o(!1)},style:{marginRight:"10px"},children:"Close"}),(0,Kl.jsx)(zd.Z,{disabled:0===a.length,variant:"contained",color:"primary",onClick:function(){return o(!1)},children:"Add Selected"})]}),(0,Kl.jsx)(VB,{type:"error",message:"You can select up to 3 images of the same type (before or after)",autoHideDuration:3e3,open:v,setOpen:y})]})}var ZW=e.forwardRef((function(t,n){var r=t.classes,o=t.className,i=t.row,a=void 0!==i&&i,s=(0,Uu.Z)(t,["classes","className","row"]);return e.createElement("div",(0,Fu.Z)({className:(0,Zu.Z)(r.root,o,a&&r.row),ref:n},s))})),HW=(0,Hu.Z)({root:{display:"flex",flexDirection:"column",flexWrap:"wrap"},row:{flexDirection:"row"}},{name:"MuiFormGroup"})(ZW),$W=__webpack_require__(10091),VW=["children","value","index"],XW=(0,$W.Z)((function(e){return{selectedTab:{width:"100%",borderRight:"none !important",textTransform:"none",fontWeight:700},tab:{paddingLeft:25,textTransform:"none",fontWeight:700,"&:focus":{outline:"none"}}}}));function QW(e){var t=e.children,n=e.value,r=e.index,o=(0,Uu.Z)(e,VW);return(0,Kl.jsx)("div",Us(Us({role:"tabpanel",hidden:n!==r,id:"vertical-tabpanel-".concat(r),"aria-labelledby":"vertical-tab-".concat(r)},o),{},{children:n===r&&(0,Kl.jsx)(Cb,{sx:{p:3},children:(0,Kl.jsx)(kl.Z,{children:t})})}))}function YW(e){return{id:"vertical-tab-".concat(e),"aria-controls":"vertical-tabpanel-".concat(e)}}function GW(t){var o=t.styles,i=t.setOpen,a=t.open,s=t.setProductCategoryFilter,l=t.productCategoryFilter,c=t.setMedicalStatusFilter,u=t.medicalStatusFilter,d=t.setRetailOptionFilter,p=t.retailOptionFilter,f=t.setUnitPriceFilter,h=t.unitPriceFilter,b=t.setRetailPriceFilter,A=t.retailPriceFilter,m=t.setClinicLocationFilter,g=t.clinicLocationFilter,v=t.applyFilters,y=t.setApplyFilters,M=(t.selectedFilters,t.setSelectedFilters,t.fetchProducts),O=XW(),_=e.useState(0),z=(0,n.Z)(_,2),x=z[0],w=z[1],C=e.useState([]),S=(0,n.Z)(C,2),E=S[0],k=S[1],D=e.useState([]),N=(0,n.Z)(D,2),T=N[0],j=N[1],B=e.useState(""),L=(0,n.Z)(B,2),R=L[0],q=L[1],P=function(e){var t=e.target,n=t.value,o=t.checked;c(o?[].concat((0,r.Z)(u),[{value:n,label:n}]):u.filter((function(e){return e.value!==n})))},I=function(e){var t=e.target,n=t.value,o=t.checked;d(o?[].concat((0,r.Z)(p),[{value:n,label:n}]):p.filter((function(e){return e.value!==n})))},W=function(e,t,n){var r=e.target.value;f("max"===t?function(e){return Us(Us({},e),{},{max:r,label:n,id:Array.from({length:5},(function(){return Math.floor(10*Math.random())})).join("")})}:function(e){return Us(Us({},e),{},{min:r,label:n,id:Array.from({length:5},(function(){return Math.floor(10*Math.random())})).join("")})})},F=function(e,t,n){var r=e.target.value;b("max"===t?function(e){return Us(Us({},e),{},{max:r,label:n,id:Array.from({length:5},(function(){return Math.floor(10*Math.random())})).join("")})}:function(e){return Us(Us({},e),{},{min:r,label:n,id:Array.from({length:5},(function(){return Math.floor(10*Math.random())})).join("")})})};return(0,e.useEffect)((function(){Re.get("v1/inventory/categories").then((function(e){k(e.data.data)})),Re.get("v1/clinic").then((function(e){j(e.data.data.locations),q(e.data.data.name)}))}),[]),(0,Kl.jsx)(vC,{"aria-labelledby":"simple-dialog-title",open:a,className:"inventory-filters",onClose:function(){return i(!a)},onClick:function(e){return e.stopPropagation()},children:(0,Kl.jsxs)("div",{style:{width:800,height:683},children:[(0,Kl.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",padding:"20px 20px 0 20px"},children:[(0,Kl.jsx)(kl.Z,{style:o.popupInventoryTitle,children:"Filters"}),(0,Kl.jsx)(wd.Z,{onClick:function(){return i(!a)},size:"small",style:o.closeButton,children:(0,Kl.jsx)(FW,{})})]}),(0,Kl.jsxs)("div",{style:{width:"100%",padding:"20px 0"},children:[(0,Kl.jsxs)(Cb,{sx:{flexGrow:1,display:"flex",height:500,borderTop:"1px solid #E6E6E6",borderBottom:"1px solid #E6E6E6",background:"#F9F9F9"},children:[(0,Kl.jsxs)(Hb,{orientation:"vertical",variant:"scrollable",value:x,onChange:function(e,t){w(t)},"aria-label":"Vertical tabs example",sx:{borderRight:1,borderColor:"divider"},TabIndicatorProps:{style:{display:"none"}},style:{background:"#fff"},children:[(0,Kl.jsx)(Vb,Us({className:0===x?O.selectedTab:O.tab,label:"Product Category"},YW(0))),(0,Kl.jsx)(Vb,Us({className:1===x?O.selectedTab:O.tab,label:"Medical Status"},YW(1))),(0,Kl.jsx)(Vb,Us({className:2===x?O.selectedTab:O.tab,label:"Retail Option"},YW(2))),(0,Kl.jsx)(Vb,Us({className:3===x?O.selectedTab:O.tab,label:"Unit Price"},YW(3))),(0,Kl.jsx)(Vb,Us({className:4===x?O.selectedTab:O.tab,label:"Retail Price"},YW(4))),(0,Kl.jsx)(Vb,Us({className:5===x?O.selectedTab:O.tab,label:"Clinic Location"},YW(5)))]}),(0,Kl.jsx)(QW,{value:x,index:0,children:(0,Kl.jsx)(HW,{children:null===E||void 0===E?void 0:E.map((function(e,t){return(0,Kl.jsx)(oS.Z,{control:(0,Kl.jsx)(kk.Z,{color:"primary",onChange:function(t){!function(e,t){var n=e.target,o=n.value;n.checked&&!l.includes(o)?s([].concat((0,r.Z)(l),[{value:o,label:t}])):s(l.filter((function(e){return e.value!==o})))}(t,e.title)},value:e.id,checked:l.some((function(t){return t.value.toString()===e.id.toString()}))}),label:e.title},t)}))})}),(0,Kl.jsx)(QW,{value:x,index:1,children:(0,Kl.jsxs)(HW,{children:[(0,Kl.jsx)(oS.Z,{control:(0,Kl.jsx)(kk.Z,{color:"primary",onChange:function(e){P(e)},checked:u.some((function(e){return"medical"===e.value.toString()})),value:"medical"}),label:"Medical"}),(0,Kl.jsx)(oS.Z,{control:(0,Kl.jsx)(kk.Z,{color:"primary",onChange:function(e){P(e)},checked:u.some((function(e){return"non-medical"===e.value.toString()})),value:"non-medical"}),label:"Non medical"}),(0,Kl.jsx)(oS.Z,{control:(0,Kl.jsx)(kk.Z,{color:"primary",onChange:function(e){P(e)},checked:u.some((function(e){return"variable"===e.value.toString()})),value:"variable"}),label:"Variable"})]})}),(0,Kl.jsx)(QW,{value:x,index:2,children:(0,Kl.jsx)(HW,{children:["Custom Tax Rate","Standard Tax Rate","Tax Exempt"].map((function(e,t){return(0,Kl.jsx)(oS.Z,{control:(0,Kl.jsx)(kk.Z,{color:"primary",onChange:I,checked:p.some((function(t){return t.value.toString()===e})),value:e}),label:e},t)}))})}),(0,Kl.jsxs)(QW,{value:x,index:3,children:[(0,Kl.jsx)(Wu.Z,{size:"small",onChange:function(e){return W(e,"min","Unit Price: ")},style:{marginRight:15},id:"min-price-unit",label:"Minimum Price",variant:"outlined",type:"number",value:h.min}),(0,Kl.jsx)(Wu.Z,{size:"small",onChange:function(e){return W(e,"max","Unit Price: ")},id:"max-price-unit",label:"Maximum Price",variant:"outlined",type:"number",value:h.max})]}),(0,Kl.jsxs)(QW,{value:x,index:4,children:[(0,Kl.jsx)(Wu.Z,{size:"small",onChange:function(e){return F(e,"min","Retail Price: ")},style:{marginRight:15},id:"min-price-retail",label:"Minimum Price",variant:"outlined",type:"number",value:A.min}),(0,Kl.jsx)(Wu.Z,{size:"small",onChange:function(e){return F(e,"max","Retail Price: ")},id:"max-price-retail",label:"Maximum Price",variant:"outlined",type:"number",value:A.max})]}),(0,Kl.jsx)(QW,{value:x,index:5,children:(0,Kl.jsx)(HW,{children:null===T||void 0===T?void 0:T.map((function(e,t){return(0,Kl.jsx)(oS.Z,{control:(0,Kl.jsx)(kk.Z,{color:"primary",onChange:function(t){!function(e,t){var n=e.target,o=n.value,i=n.checked;m(i?[].concat((0,r.Z)(g),[{value:o,label:t}]):g.filter((function(e){return e.value!==o})))}(t,e.address)},checked:g.some((function(t){return t.value.toString()===e.id.toString()})),value:e.id}),label:(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)("b",{children:R})," - ",e.address]})},t)}))})})]}),(0,Kl.jsxs)("div",{style:{display:"inline-flex",textAlign:"center",padding:"20px 0 0 0",justifyContent:"center",width:"100%"},children:[(0,Kl.jsx)(zd.Z,{onClick:function(){return s([]),c([]),d([]),f({max:null,min:null}),b({max:null,min:null}),m([]),M("reset"),void i(!a)},style:{marginRight:20},variant:"outlined",color:"primary",children:"Reset"}),(0,Kl.jsx)(zd.Z,{onClick:function(){return y(!v),void i(!a)},variant:"contained",color:"primary",children:"Apply"})]})]})]})})}var KW=__webpack_require__(37420),JW=__webpack_require__(83621);function eF(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(0,KW.Z)(),o=(0,JW.Z)({theme:r,name:"MuiUseMediaQuery",props:{}});var i="function"===typeof t?t(r):t;i=i.replace(/^@media( ?)/m,"");var a="undefined"!==typeof window&&"undefined"!==typeof window.matchMedia,s=(0,Fu.Z)({},o,n),l=s.defaultMatches,c=void 0!==l&&l,u=s.matchMedia,d=void 0===u?a?window.matchMedia:null:u,p=s.noSsr,f=void 0!==p&&p,h=s.ssrMatchMedia,b=void 0===h?null:h,A=e.useState((function(){return f&&a?d(i).matches:b?b(i).matches:c})),m=A[0],g=A[1];return e.useEffect((function(){var e=!0;if(a){var t=d(i),n=function(){e&&g(t.matches)};return n(),t.addListener(n),function(){e=!1,t.removeListener(n)}}}),[i,d,a]),m}function tF(t){t.styles;var o=t.setOpen,i=t.open,a=t.data,s=eF((0,qd.Z)().breakpoints.down("sm")),l=(0,e.useState)(!1),c=(0,n.Z)(l,2),u=c[0],d=c[1],p=(0,e.useState)(!1),f=(0,n.Z)(p,2),h=f[0],b=f[1],A=(0,e.useState)(),m=(0,n.Z)(A,1)[0],g=(0,e.useState)(),v=(0,n.Z)(g,1)[0],y=(0,e.useState)(1),M=(0,n.Z)(y,2),O=M[0],_=(M[1],(0,e.useState)(0)),z=(0,n.Z)(_,2),x=(z[0],z[1]),w=(0,e.useState)(100),C=(0,n.Z)(w,1)[0],S=(0,e.useState)({}),E=(0,n.Z)(S,2),k=E[0],D=E[1],N=(0,e.useState)([]),T=(0,n.Z)(N,2),j=T[0],B=T[1],L=(0,e.useState)([]),R=(0,n.Z)(L,2),q=R[0],P=R[1],I={display:"flex",justifyContent:"center",alignItems:"center",position:"relative",backgroundColor:"#f4f5fb",borderRadius:3,border:"1px solid #999999",width:"215px",height:"123px",backgroundSize:"cover",backgroundPosition:"center",cursor:"pointer"},W={position:"absolute",top:8,right:8,zIndex:1},F={perPage:C,page:O};m&&v&&(F.from=Vs()(m).format("YYYY-MM-DD"),F.to=Vs()(v).format("YYYY-MM-DD"));var U=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var r,o,i,a,s,l,c,u;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r={perPage:C,page:O},m&&v&&(r.from=Vs()(m).format("YYYY-MM-DD"),r.to=Vs()(v).format("YYYY-MM-DD")),e.next=4,Re.get("/v1/patient/".concat(t,"/photos"),{params:r}).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return console.log(e)}))}))}));case 4:o=e.sent,(i=o.data)&&(x(null===i||void 0===i?void 0:i.total),s=/(\d{2}\/\d{2}\/\d{4} \d{2}:\d{2})/,l=null!==(a=null===i||void 0===i?void 0:i.photos)&&void 0!==a?a:{},c=Object.entries(l).map((function(e){var t=(0,n.Z)(e,2),r=t[0],o=t[1],i=s.exec(r)[1],a=o.treatmentTypes,l=o.records,c=o.doctor_avatar;return{name:r.replace(i,""),avatar:c,date:i,treatmentTypes:a,photos:l}})),u=c.map((function(e){var t=e.name,n=e.date,r=e.treatmentTypes,o=e.photos,i=e.avatar;return{name:t.trim(),avatar:i,date:n,treatmentTypes:r,photos:o.map((function(e){return{id:e.id,url:e.url,thumbnails:e.thumbnails,tools:e.tools,isOriginal:e.isOriginal,type:e.type,createdAt:e.created_at}}))}})),B(u));case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();(0,e.useEffect)((function(){U(a.patient.id)}),[]);var Z=function(e){var t=e.onClose;return(0,Kl.jsxs)(Cb,{display:"flex",justifyContent:"space-between",alignItems:"center",children:[(0,Kl.jsx)(MC,{id:"simple-dialog-title",style:{display:"flex",justifyContent:"space-between",alignItems:"center",padding:"10px 20px"},children:(0,Kl.jsx)(kl.Z,{variant:"h6",children:"Compare Photos"})}),(0,Kl.jsx)(wd.Z,{"aria-label":"close",onClick:t,children:(0,Kl.jsx)(dB.Z,{})})]})},H=function(e,t,n){var o,i;if(!e||0===e.length)return(0,Kl.jsx)("div",{style:{textAlign:"center",padding:10},children:"No photos"});var a=s?{padding:10,border:"1px solid #E6E6E6"}:{flex:5,borderTop:"1px solid #E6E6E6",borderLeft:"1px solid #E6E6E6",padding:10,borderBottom:n===j.length-1?"1px solid #E6E6E6":""};return(0,Kl.jsxs)("div",{style:a,children:[(0,Kl.jsx)("div",{style:{display:"flex",flexWrap:"wrap",justifyContent:s?"center":"start",gap:4},children:e.filter((function(e){return e.type===t})).length>0?e.filter((function(e){return e.type===t})).slice(0,null!==(o=k[n])&&void 0!==o&&o[t]?e.length:3).map((function(e,t){return(0,Kl.jsx)("div",{style:{textAlign:"center",marginBottom:10},children:(0,Kl.jsx)("div",{style:q.some((function(t){return t.split("&type=")[0]===e.url}))?(n=e.url,Us(Us({},I),{},{border:"3px solid #3f51b5",backgroundImage:"url(".concat(n,")")})):Us(Us({},I),{},{backgroundImage:"url(".concat(e.url,")")}),className:q.some((function(t){return t.split("&type=")[0]===e.url}))?"selected-photo-email":"",onClick:function(){return function(e,t){var n="".concat(e,"&type=").concat(t),o=q.includes(n),i=q.filter((function(e){return e.includes("before")})).length,a=q.filter((function(e){return e.includes("after")})).length;o?P(q.filter((function(e){return e!==n}))):"before"===t&&i>=1||"after"===t&&a>=1?d(!0):(d(!1),P([].concat((0,r.Z)(q),[n])))}(e.url,e.type)},children:q.some((function(t){return t.split("&type=")[0]===e.url}))&&(0,Kl.jsx)(WW,{style:W})})},t);var n})):(0,Kl.jsx)("div",{style:{display:"flex",justifyContent:"center",width:"100%",height:"100%",alignItems:"center"},children:(0,Kl.jsx)(kl.Z,{style:{textAlign:"center",padding:10,fontSize:"12px",color:"#D3D3D3"},children:"No photos"})})}),e.filter((function(e){return e.type===t})).length>3&&(0,Kl.jsx)("div",{style:{display:"flex",justifyContent:"center"},children:(0,Kl.jsx)(zd.Z,{variant:"text",color:"primary",onClick:function(){return function(e,t){D((function(n){var r;return Us(Us({},n),{},{[e]:Us(Us({},n[e]),{},{[t]:!(null!==(r=n[e])&&void 0!==r&&r[t])})})}))}(n,t)},children:null!==(i=k[n])&&void 0!==i&&i[t]?"View less photos":"View all photos"})})]})};return(0,Kl.jsxs)(vC,{"aria-labelledby":"simple-dialog-title",open:i,onClose:function(){return o(!i)},onClick:function(e){return e.stopPropagation()},maxWidth:"lg",className:"photos-email-dialog",fullWidth:!0,children:[(0,Kl.jsx)(Z,{onClose:function(){return o(!1)}}),(0,Kl.jsx)(_E,{style:{padding:0},children:(0,Kl.jsx)("div",{style:{maxHeight:"60vh",overflowY:"auto"},children:s?(0,Kl.jsx)("div",{style:{display:"flex",flexDirection:"column"},children:j.map((function(e,t){var n;return(0,Kl.jsxs)(Cb,{mb:2,style:{border:"1px solid #E6E6E6",borderRadius:4,padding:10},children:[(0,Kl.jsxs)(Cb,{display:"flex",alignItems:"center",mb:2,children:[(0,Kl.jsx)("img",{width:40,style:{borderRadius:"50%"},src:e.avatar||TE,alt:e.name}),(0,Kl.jsxs)(Cb,{ml:2,children:[(0,Kl.jsx)(kl.Z,{variant:"subtitle1",style:{fontSize:14,fontWeight:700},children:e.name}),(0,Kl.jsx)(kl.Z,{variant:"body2",style:{color:"#6A6A6A",fontSize:12},children:e.date}),(0,Kl.jsx)(kl.Z,{variant:"body2",style:{fontSize:11},children:null===(n=e.treatmentTypes[0])||void 0===n?void 0:n.name})]})]}),(0,Kl.jsxs)(Cb,{children:[(0,Kl.jsx)(kl.Z,{variant:"h6",style:{fontSize:16,marginBottom:10},children:"Before Photos"}),H(e.photos,"before",t)]}),(0,Kl.jsxs)(Cb,{mt:2,children:[(0,Kl.jsx)(kl.Z,{variant:"h6",style:{fontSize:16,marginBottom:10},children:"After Photos"}),H(e.photos,"after",t)]})]},t)}))}):(0,Kl.jsxs)("div",{style:{display:"flex",flexDirection:"column"},children:[(0,Kl.jsxs)("div",{style:{display:"flex"},children:[(0,Kl.jsx)("div",{style:{flex:2,borderTop:"1px solid #E6E6E6",borderLeft:"1px solid #E6E6E6",padding:10},children:(0,Kl.jsx)("h4",{children:"Appointment Details"})}),(0,Kl.jsx)("div",{style:{flex:5,borderTop:"1px solid #E6E6E6",borderLeft:"1px solid #E6E6E6",padding:10},children:(0,Kl.jsx)("h4",{children:"Before Photos"})}),(0,Kl.jsx)("div",{style:{flex:5,borderTop:"1px solid #E6E6E6",borderLeft:"1px solid #E6E6E6",padding:10},children:(0,Kl.jsx)("h4",{children:"After Photos"})})]}),j.map((function(e,t){var n;return(0,Kl.jsxs)("div",{style:{display:"flex"},children:[(0,Kl.jsxs)("div",{style:{flex:2,borderTop:"1px solid #E6E6E6",borderLeft:"1px solid #E6E6E6",padding:10,borderBottom:t===j.length-1?"1px solid #E6E6E6":""},children:[(0,Kl.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[(0,Kl.jsx)("img",{width:40,style:{borderRadius:"50%"},src:e.avatar||TE,alt:e.name}),(0,Kl.jsxs)("div",{style:{marginLeft:10},children:[(0,Kl.jsx)(kl.Z,{variant:"subtitle1",style:{fontSize:14,fontWeight:700},children:e.name}),(0,Kl.jsx)(kl.Z,{variant:"body2",style:{color:"#6A6A6A",fontSize:12},children:e.date})]})]}),(0,Kl.jsx)(kl.Z,{variant:"body2",style:{fontSize:11},children:null===(n=e.treatmentTypes[0])||void 0===n?void 0:n.name})]}),H(e.photos,"before",t),H(e.photos,"after",t)]},t)}))]})})}),(0,Kl.jsxs)(xE,{style:{display:"flex",justifyContent:"center",marginTop:"20px",width:"100%",padding:"20px 0",boxShadow:"8px 5px 14px 5px lightgray"},children:[(0,Kl.jsx)(zd.Z,{variant:"outlined",color:"primary",onClick:function(){return o(!1)},style:{marginRight:"10px"},children:"Close"}),(0,Kl.jsx)(zd.Z,{disabled:0===q.length,variant:"contained",color:"primary",onClick:function(){return b(!0)},children:"CREATE COMPARISON"})]}),h&&(0,Kl.jsx)(oF,{open:h,setOpen:b,selectedValue:"compare-two-photos-modal",data:a,selectedImages:q,imageContainerStyle:I,imageStyle:{}}),(0,Kl.jsx)(VB,{type:"error",message:"You can only select up to 1 image of each type",autoHideDuration:3e3,open:u,setOpen:d})]})}function nF(e){e.styles;for(var t=e.setOpen,n=e.open,r=e.selectedImages,o=r.filter((function(e){return e.includes("before")})),i=r.filter((function(e){return e.includes("after")})),a=eF((0,qd.Z)().breakpoints.down("sm")),s=Math.min(o.length,i.length),l=[],c=0;c<s;c++)l.push({before:o[c],after:i[c]});var u=function(e){var t=e.onClose;return(0,Kl.jsxs)(Cb,{display:"flex",justifyContent:"space-between",alignItems:"center",children:[(0,Kl.jsx)(MC,{id:"simple-dialog-title",style:{display:"flex",justifyContent:"space-between",alignItems:"center"}}),(0,Kl.jsx)(wd.Z,{"aria-label":"close",onClick:t,children:(0,Kl.jsx)(FW,{})})]})};return(0,Kl.jsxs)(vC,{"aria-labelledby":"compare-photos-dialog",open:n,onClose:function(){return t(!n)},onClick:function(e){return e.stopPropagation()},maxWidth:"lg",fullWidth:!0,style:{padding:a?"0":"0 35px",overflow:"hidden"},children:[(0,Kl.jsx)(u,{onClose:function(){return t(!n)}}),(0,Kl.jsx)(_E,{style:{padding:a?"16px":"24px"},children:(0,Kl.jsx)(Cb,{p:a?0:2,children:l.map((function(e,t){return(0,Kl.jsxs)(Cb,{mb:2,display:a?"block":"flex",justifyContent:"space-between",style:{maxHeight:730},children:[(0,Kl.jsxs)(Cb,{flex:1,display:"flex",flexDirection:"column",mb:a?2:0,children:[(0,Kl.jsx)(kl.Z,{variant:"body1",gutterBottom:!0,children:"Before"}),(0,Kl.jsx)(Cb,{flex:1,display:"flex",flexDirection:"column",alignItems:"center",style:{padding:10,border:"2px dashed #e0e0e0"},children:(0,Kl.jsx)(Cb,{display:"flex",justifyContent:"center",alignItems:"center",style:{paddingBottom:10},children:(0,Kl.jsx)("img",{style:{width:a?"100%":450,objectFit:"contain"},src:e.before,alt:"before-image-".concat(t)})})})]}),(0,Kl.jsxs)(Cb,{flex:1,display:"flex",flexDirection:"column",children:[(0,Kl.jsx)(kl.Z,{variant:"body1",gutterBottom:!0,children:"After"}),(0,Kl.jsx)(Cb,{flex:1,display:"flex",flexDirection:"column",alignItems:"center",style:{padding:10,border:"2px dashed #e0e0e0",borderLeft:a?"2px dashed #e0e0e0":"none"},children:(0,Kl.jsx)(Cb,{display:"flex",justifyContent:"center",alignItems:"center",style:{paddingBottom:10},children:(0,Kl.jsx)("img",{style:{width:a?"100%":450,objectFit:"contain"},src:e.after,alt:"after-image-".concat(t)})})})]})]},t)}))})})]})}var rF={popupHolder:{minWidth:460,minHeight:190,padding:25},inventoryPopupHolder:{minWidth:800,minHeight:190,padding:"25px 0 25px 0"},popupInventoryTitle:{fontSize:24,fontWeight:700,padding:"0 0 0 25px"},popupTitle:{fontSize:24,fontWeight:700},input:{width:"100%",marginTop:25},buttonHolder:{display:"inline",float:"right",padding:"20px 0"},update:{marginRight:10,color:"#fff",background:"#B67D2B",padding:"5px 15px"},cancel:{border:"1px solid #B67D2B",color:"#B67D2B"},dateHolder:{width:"100%",marginTop:25},phoneHolder:{display:"flex",gap:15,marginTop:20},phoneItem:{width:"100%"}};function oF(t){var o,i,a=t.selectedValue,s=t.open,l=t.setOpen,c=t.data,u=t.setSelectedImages,d=t.selectedImages,p=t.lot,f=t.expiry,h=t.productBrands,b=t.setProductBrands,A=t.imageContainerStyle,m=t.imageStyle,g=t.photos,v=(0,e.useState)(null===c||void 0===c||null===(o=c.brand)||void 0===o?void 0:o.lot_number),y=(0,n.Z)(v,2),M=y[0],O=y[1],_=(0,e.useState)(null===c||void 0===c||null===(i=c.brand)||void 0===i?void 0:i.expiration_date),z=(0,n.Z)(_,2),x=z[0],w=z[1],C=(0,e.useState)(!1),S=(0,n.Z)(C,2),E=S[0],k=S[1],D=(0,e.useState)(""),N=(0,n.Z)(D,2),T=N[0],j=N[1],B=(0,e.useState)(""),L=(0,n.Z)(B,2),R=L[0],q=L[1],P=Fc().patientRecordStore,I=function(e){gr((function(){P.updateUnsavedChanges(e)}))},W=function(e){var t=(0,r.Z)(h),n=t.findIndex((function(t){return t.id===e}));-1!==n?t[n]=Us(Us({},t[n]),{},{lotNo:M}):t.push({id:e,lotNo:M}),b(t),I(!0),j("Lot number updated successfully"),q("success"),k(!0),l(!1)},F=function(e){var t=(0,r.Z)(h),n=t.findIndex((function(t){return t.id===e}));-1!==n?t[n]=Us(Us({},t[n]),{},{expiryDate:x}):t.push({id:e,expiryDate:x}),b(t),I(!0),j("Expiry date updated successfully"),q("success"),k(!0),l(!1)};return(0,Kl.jsxs)(Kl.Fragment,{children:[function(){switch(a){case"sms-modal":return(0,Kl.jsx)(zW,{styles:rF,setOpen:l,open:s,data:c});case"lot":return(0,Kl.jsx)(XB,{styles:rF,setOpen:l,open:s,lotNo:M,setLotNo:O,data:c,lot:p,updateLotNo:W});case"expiry_date":return(0,Kl.jsx)(QB,{styles:rF,setOpen:l,open:s,expiryDate:x,setExpiryDate:w,data:c,expiry:f,updateLotNo:F});case"zoom":return(0,Kl.jsx)(YB,{styles:rF,setOpen:l,open:s,data:c});case"unsaved-changes":return(0,Kl.jsx)(nL,{styles:rF,setOpen:l,open:s,data:c});case"email-modal":return(0,Kl.jsx)(AL,{styles:rF,setOpen:l,open:s,data:c});case"compare-photos-modal":return(0,Kl.jsx)(tF,{styles:rF,setOpen:l,open:s,data:c});case"compare-two-photos-modal":return(0,Kl.jsx)(nF,{styles:rF,setOpen:l,selectedImages:d,open:s,data:c});case"photos-modal":return(0,Kl.jsx)(LW,{styles:rF,setOpen:l,open:s,data:c});case"patient-photos-modal":return(0,Kl.jsx)(UW,{styles:rF,setOpen:l,open:s,selectedImages:d,setSelectedImages:u,imageContainerStyle:A,imageStyle:m,photos:g,data:c});case"archive-patient":return(0,Kl.jsx)(SW,{styles:rF,setOpen:l,open:s,data:c});case"inventory-filters-modal":return(0,Kl.jsx)(GW,{styles:rF,setOpen:l,setProductCategoryFilter:t.setProductCategoryFilter,productCategoryFilter:t.productCategoryFilter,setMedicalStatusFilter:t.setMedicalStatusFilter,medicalStatusFilter:t.medicalStatusFilter,setRetailOptionFilter:t.setRetailOptionFilter,retailOptionFilter:t.retailOptionFilter,setUnitPriceFilter:t.setUnitPriceFilter,setRetailPriceFilter:t.setRetailPriceFilter,setClinicLocationFilter:t.setClinicLocationFilter,clinicLocationFilter:t.clinicLocationFilter,applyFilters:t.applyFilters,setApplyFilters:t.setApplyFilters,unitPriceFilter:t.unitPriceFilter,retailPriceFilter:t.retailPriceFilter,selectedFilters:t.selectedFilters,setSelectedFilters:t.setSelectedFilters,fetchProducts:t.fetchProducts,open:s,data:c});case"email-content":return(0,Kl.jsx)(mL,{styles:rF,setOpen:l,open:s,data:c});default:return null}}(),(0,Kl.jsx)(VB,{type:R,message:T,autoHideDuration:4e3,open:E,setOpen:k})]})}var iF=e.forwardRef((function(t,n){var r=t.disableSpacing,o=void 0!==r&&r,i=t.classes,a=t.className,s=(0,Uu.Z)(t,["disableSpacing","classes","className"]);return e.createElement("div",(0,Fu.Z)({className:(0,Zu.Z)(i.root,a,!o&&i.spacing),ref:n},s))})),aF=(0,Hu.Z)({root:{display:"flex",alignItems:"center",padding:8},spacing:{"& > :not(:first-child)":{marginLeft:8}}},{name:"MuiCardActions"})(iF),sF=function(t){var n=t.item,r=t.index,o=t.isDisabled,i=Fc().appointmentDoctor,a=(0,e.useContext)(bA),s=(0,$W.Z)((function(e){return{card:{marginBottom:e.spacing(2),display:"flex",justifyContent:"space-between",alignItems:"center",marginRight:"24px",marginLeft:"24px",border:"1px solid #ddd",borderRadius:"8px",boxShadow:"0 6px 8px rgba(0, 0, 0, 0.24)",position:"relative",backgroundColor:"white"},price:{fontWeight:"400",fontSize:"15px",color:"#000",width:"50px",textAlign:"right"},quantityField:{width:"60px",fontSize:"15px",justifyContent:"center",marginRight:"10px",padding:"0px !important",textAlign:"center","& .MuiOutlinedInput-root":{padding:"1px"},"& .MuiOutlinedInput-input":{padding:"5px"},"& .MuiInputLabel-outlined.MuiInputLabel-shrink":{transform:"translate(3px, -12px) scale(0.65)",color:"#d8a66a"}},button:{marginLeft:e.spacing(1),width:"14px",height:"16px"},sectionName:{width:"100%",display:"flex",paddingLeft:e.spacing(2),flexDirection:"column",backgroundColor:"white",flexGrow:1,fontSize:"16px",fontWeight:"400",color:"#000"},sectionPriceDelete:{width:"150px",display:"flex",marginTop:"20px",alignItems:"center",justifyContent:"right",marginRight:"10px",marginBottom:"15px"}}})),l=s();return(0,Kl.jsxs)(hS,{className:l.card,children:[(0,Kl.jsxs)(AS,{className:l.sectionName,children:[(0,Kl.jsx)(kl.Z,{variant:"body1",children:n.name}),(0,Kl.jsxs)(kl.Z,{variant:"body2",style:{fontSize:"11px",display:"flex"},children:[null!=n.lot_number?(0,Kl.jsxs)("div",{style:{maxWidth:"80px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},children:[n.lot_number," ,"]}):(0,Kl.jsx)(Kl.Fragment,{}),null!=n.lot_number?(0,Kl.jsx)("div",{style:{marginLeft:"3px",color:n.is_expired?"red":"inherit"},children:n.expiry_date}):(0,Kl.jsx)(Kl.Fragment,{})]}),n.quantity_limit<=0?(0,Kl.jsx)("div",{style:{color:"red",fontSize:"11px"},children:"Out of stock"}):(0,Kl.jsx)(Kl.Fragment,{})]}),(0,Kl.jsxs)("div",{className:l.sectionPriceDelete,children:[(0,Kl.jsx)(Wu.Z,{type:"number",value:n.qnt,disabled:o,onChange:function(e){i.payment.updateSelectedProduct(n,e.target.value,n.price)},variant:"outlined",label:"Qty",className:l.quantityField,InputProps:{style:{textAlign:"center",padding:"4px !important"},inputProps:{min:1}}}),(0,Kl.jsxs)(kl.Z,{variant:"body2",className:l.price,children:[(0,Kl.jsxs)("span",{style:{margin:"3px"},children:[" ",a.clinic.currency]}),n.price]}),o?(0,Kl.jsx)("div",{style:{marginRight:"18px"}}):(0,Kl.jsx)(aF,{children:(0,Kl.jsx)(wd.Z,{onClick:function(){return function(){var e=i.payment.selected_products;i.payment.setSelectedProducts(e.filter((function(e){return!(e.id===n.id&&e.inventory_expiring_item_id===n.inventory_expiring_item_id)})))}()},size:"small",className:l.button,disabled:o,children:(0,Kl.jsx)(HE.Z,{style:{color:"#757575",fontSize:"18px"}})})})]})]},r)},lF=function(e){var t=e.title,n=e.onClick,r=e.selected;return(0,Kl.jsx)("div",{className:RE.appointmentTab,onClick:n,style:{borderColor:r?"#000":"#C6C8C7"},children:(0,Kl.jsx)(kl.Z,{style:{fontWeight:r?600:400},children:t})})},cF=["Appointment","Notes"],uF=(0,xb.Z)(BE.Z)((function(e){e.theme;return{"& .MuiInputBase-input":{minHeight:0,height:0,width:0,minWidth:0,fontSize:16,border:"none",color:"transparent","&:focus":{display:"none",border:"none"}},"&.MuiInput-underline::before":{display:"none"},"&.MuiInput-underline::after":{display:"none"}}})),dF=$l((function(){var t,r,o,i,a,s,l,c,u,d,p=Fc(),f=p.appointment,h=p.appointmentDoctor,b=me().appointmentId,A=(0,e.useState)(0),m=(0,n.Z)(A,2),g=m[0],v=m[1],y=(0,e.useState)(!1),M=(0,n.Z)(y,2),O=M[0],_=M[1],z=(0,e.useState)(!0),x=(0,n.Z)(z,2),w=x[0],C=x[1],S=(0,e.useState)(!1),E=(0,n.Z)(S,2),k=E[0],D=E[1],N=(0,e.useState)(!1),T=(0,n.Z)(N,2),j=T[0],B=T[1],L=(0,e.useState)(null),R=(0,n.Z)(L,2),q=R[0],P=R[1],I=he(),W=(0,e.useState)([]),F=(0,n.Z)(W,2),U=F[0],Z=F[1],H=(0,e.useState)(null!==f&&void 0!==f&&null!==(t=f.status)&&void 0!==t&&t.id?null===f||void 0===f||null===(r=f.status)||void 0===r?void 0:r.id:""),$=(0,n.Z)(H,2),V=$[0],X=$[1],Q=hE().enqueueSnackbar,Y=Ae().calendarRef;qB();var G=(0,e.useMemo)((function(){return f.selectedTypes.map((function(e){return e.slug})).every((function(e){return["treatment"].includes(e)}))}),[f.selectedTypes]);(0,e.useEffect)((function(){f.id<=0&&f.setDeposit(f.depositRequired)}),[JSON.stringify(f.types),JSON.stringify(f.treatmentTypes)]),(0,e.useEffect)((function(){var e,t;b||(null===h||void 0===h||null===(t=h.payment)||void 0===t||t.clear());null!==h&&void 0!==h&&null!==(e=h.payment)&&void 0!==e&&e.exists||!b||Re.get("/v1/appointment/".concat(b,"/payment")).then((function(e){h.payment.init(e.data.data)}))}),[]);var K=(0,e.useMemo)((function(){var e;switch(null===f||void 0===f||null===(e=f.status)||void 0===e?void 0:e.slug){case"":default:return"#bdc3c7";case"upcoming":return"#3498db";case"active":return"#27ae60";case"completed":return"#8e44ad";case"not-show":case"cancelled":return"#cf6a87";case"arrived":return"#be2edd";case"ready-to-be-seen":return"#f9ca24"}}),[null===f||void 0===f||null===(o=f.status)||void 0===o?void 0:o.slug]);(0,e.useEffect)((function(){Re.get("/v1/appointment-status").then((function(e){Z(e.data.data),C(!1)}))}),[]);var J=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,r;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get("/v1/patient/".concat(t));case 2:n=e.sent,r=n.data,P(r.data);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return(0,e.useEffect)((function(){var e,t;null!==f&&void 0!==f&&null!==(e=f.patient)&&void 0!==e&&e.id&&J(null===f||void 0===f||null===(t=f.patient)||void 0===t?void 0:t.id)}),[null===f||void 0===f||null===(i=f.patient)||void 0===i?void 0:i.id]),(0,Kl.jsxs)(op,{anchor:"right",open:!0,PaperProps:{className:RE.paper},variant:"permanent",className:"".concat(b&&!f.id?"drawer-loading":""," ").concat(window.location.pathname.includes("calendar")?"calendar-page":""),children:[b&&!f.id&&w?(0,Kl.jsx)("div",{className:RE.appointmentLoading,children:(0,Kl.jsx)(NE,{})}):(0,Kl.jsxs)("div",{className:RE.appointment,children:[(0,Kl.jsxs)("div",{className:RE.header,style:{backgroundColor:K},children:[(0,Kl.jsxs)("div",{className:RE.headerInfo,children:[(0,Kl.jsx)(kl.Z,{className:RE.headerTitle,children:null===f||void 0===f||null===(a=f.status)||void 0===a||null===(s=a.name)||void 0===s?void 0:s.toUpperCase()}),!!f.id&&(0,Kl.jsxs)("div",{children:[(0,Kl.jsxs)("div",{className:RE.changeStatusContainer,onClick:function(){_(!O)},children:[(0,Kl.jsx)(oB.Z,{}),(0,Kl.jsx)(kl.Z,{className:RE.changeStatus,children:"Change Status"}),(0,Kl.jsx)(LE.Z,{open:O,onClose:function(){_(!1)},onChange:function(e){f.setStatus(U.find((function(t){return t.id===e.target.value}))),X(e.target.value)},value:V,label:"Change Status",variant:"outlined",input:(0,Kl.jsx)(uF,{}),children:null===U||void 0===U?void 0:U.map((function(e,t){return(0,Kl.jsx)(xd.Z,{value:e.id,children:null===e||void 0===e?void 0:e.name},"".concat(e.name,"_").concat(t))}))})]}),!(null===f||void 0===f||!f.cancelledAt)&&"cancelled"===f.status.slug&&(0,Kl.jsxs)(kl.Z,{variant:"body1",className:RE.cancelledAt,children:["Cancelled on"," ",Vs()(null===f||void 0===f?void 0:f.cancelledAt).format("DD MMM YY, HH:mm")]})]})]}),(0,Kl.jsx)(wd.Z,{onClick:function(){I(Y?"/calendar":-1)},children:(0,Kl.jsx)(dB.Z,{})})]}),(0,Kl.jsxs)("div",{className:RE.appointmentMain,children:[(0,Kl.jsx)(SB,{}),(0,Kl.jsxs)("div",{className:RE.buttonSms,children:[(0,Kl.jsx)(zd.Z,{style:{textTransform:"capitalize"},variant:"outlined",color:"primary",size:"small",onClick:function(){return B(!0)},className:RE.button,disabled:!(null!==f&&void 0!==f&&null!==(l=f.patient)&&void 0!==l&&l.email),children:"Send Email"}),(0,Kl.jsx)(zd.Z,{style:{textTransform:"capitalize",marginLeft:10},variant:"outlined",color:"primary",size:"small",onClick:function(){return D(!0)},className:RE.button,disabled:!(null!==f&&void 0!==f&&null!==(c=f.patient)&&void 0!==c&&c.phone),children:"SMS patient"})]}),(0,Kl.jsx)("div",{className:RE.appointmentTabs,children:null===cF||void 0===cF?void 0:cF.map((function(e,t){return(0,Kl.jsx)(lF,{title:e,onClick:function(){return function(e){v(e)}(t)},selected:g===t},e)}))}),0===g&&(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(AB,{}),!G&&(0,Kl.jsx)("div",{className:RE.types,children:(0,Kl.jsx)(ek,{name:f.selectedTypes.map((function(e){return e.name})).join(", "),selected:!0,price:null===f||void 0===f?void 0:f.selectedTypesPrice,custom:!0,duration:null===f||void 0===f?void 0:f.selectedTypesDuration,needDuration:!0})}),(0,Kl.jsx)(RB,{}),(0,Kl.jsxs)("div",{className:RE.additionalButtons,children:[!!f.doctor.id&&(0,Kl.jsx)(Ck,{variant:"outlined",color:"primary",fullWidth:!0,onClick:function(){var e;Y?I("/calendar/services"):I("/patients/".concat(null===f||void 0===f||null===(e=f.patient)||void 0===e?void 0:e.id,"/services"))},disabled:"completed"===f.status.slug,endIcon:(0,Kl.jsx)(vS.Z,{}),children:"Add Service"}),!!f.patient.id&&(0,Kl.jsx)(Ck,{variant:"outlined",color:"primary",fullWidth:!0,onClick:function(){var e;Y?I("/calendar/linked-appointments"):I("/patients/".concat(null===f||void 0===f||null===(e=f.patient)||void 0===e?void 0:e.id,"/linked-appointments"))},endIcon:(0,Kl.jsx)(pB.Z,{}),children:"Link Appointment"})]}),(0,Kl.jsx)("div",{className:RE.buttonAddProductsActionsTitle,children:"Sell Products :"}),(0,Kl.jsxs)("div",{className:RE.buttonAddProductsActions,children:[(0,Kl.jsx)(zd.Z,{variant:"outlined",fullWidth:!0,color:"primary",startIcon:(0,Kl.jsx)(vS.Z,{style:{color:"#B57C2A"}}),size:"medium",disabled:"completed"===f.status.slug,onClick:function(){I("/calendar/select-products")},className:RE.button,children:"Add Products"}),(0,Kl.jsx)(zd.Z,{variant:"outlined",color:"primary",fullWidth:!0,size:"medium",disabled:"completed"===f.status.slug,startIcon:(0,Kl.jsx)(vS.Z,{style:{color:"#B57C2A"}}),onClick:function(){},className:RE.button,style:{visibility:"hidden"},children:"Add Vouchers"})]}),h.payment.selected_products.length>0?(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)("div",{className:RE.selectedProductsDrawerTitle,children:"Products Added :"}),h.payment.selected_products.map((function(e,t){return(0,Kl.jsx)(sF,{item:e,index:t,isDisabled:"completed"===f.status.slug},"item"+e.id+"Expiring"+e.inventory_expiring_item_id)}))]}):(0,Kl.jsx)(Kl.Fragment,{}),(0,Kl.jsx)(MB,{autoUpdate:!0}),!(null===(u=f.prevAppointment)||void 0===u||!u.id)&&f.hasLinkedChain&&(0,Kl.jsx)(jB,{}),(0,Kl.jsx)(kB,{}),(0,Kl.jsx)(gk,{}),(0,Kl.jsx)(wk,{}),(0,Kl.jsx)(lB,{onSubmit:function(){return C(!0)}}),(0,Kl.jsx)(zB,{}),(0,Kl.jsx)(Tk,{})]}),1===g&&(0,Kl.jsxs)(Kl.Fragment,{children:[b&&(0,Kl.jsx)(wB,{}),(0,Kl.jsx)(uB,{}),(0,Kl.jsx)(NB,{}),!!f.patient.id&&(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",onClick:function(){if(b){var e,t=h.payment.selected_products.map((function(e){return{id:e.id,quantity:e.qnt,price:e.price,inventory_expiring_item_id:e.inventory_expiring_item_id}}));Re.post("/v1/appointment/".concat(b,"/partial-update"),{deposit_notes:f.depositNotes,further_details:f.notes,skip_phone_validation:!0,patient_notes:null===(e=f.patient)||void 0===e?void 0:e.note,selected_products:t}).then((function(){Q("Successfully saved!",{variant:"success"})})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return Q(e,{variant:"error"})}))}))}))}else{var n,r,o,i,a,s;Re.put("/v1/patient/".concat(null===(n=f.patient)||void 0===n?void 0:n.id),{note:null===(r=f.patient)||void 0===r?void 0:r.note,user:{email:null===f||void 0===f||null===(o=f.patient)||void 0===o?void 0:o.email,name:null===f||void 0===f||null===(i=f.patient)||void 0===i?void 0:i.firstName,lastName:null===f||void 0===f||null===(a=f.patient)||void 0===a?void 0:a.lastName,phone:null===f||void 0===f||null===(s=f.patient)||void 0===s?void 0:s.phone},skip_phone_validation:!0}).then((function(){Q("Successfully saved!",{variant:"success"})})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return Q(e,{variant:"error"})}))}))}))}},className:RE.notesSaveButton,children:"Save"})]})]})]}),k&&null!==f&&void 0!==f&&null!==(d=f.patient)&&void 0!==d&&d.phone?(0,Kl.jsx)(oF,{open:k,setOpen:D,selectedValue:"sms-modal",data:null===f||void 0===f?void 0:f.patient}):null,j&&q&&(0,Kl.jsx)(oF,{open:j,setOpen:B,selectedValue:"email-modal",data:q})]})})),pF=dF,fF=function(t){var o,i,a,s,l,c,u,d,p,f,h,b=t.privateMode,A=t.event,m=t.style,g=t.isDragging,v=t.setIsDragging,y=t.doctorLocation,M=he(),O={},_=Vs().duration(A.end-A.start).asMinutes(),z=(0,e.useState)(!1),x=(0,n.Z)(z,2),w=x[0],C=(x[1],Fc()),S=C.appointment,E=C.calendar,k=C.location,D=(0,e.useRef)(null),N=(0,e.useContext)(bA);switch(null===A||void 0===A||null===(o=A.status)||void 0===o?void 0:o.slug){case"upcoming":O={backgroundColor:"#fff",borderColor:"#fff",fontSize:12,color:"#000000"};break;case"active":O={backgroundColor:"#fff",borderColor:"#fff",color:"#000000",Icon:(0,Kl.jsx)(qw.Z,{})};break;case"completed":case"arrived":O={backgroundColor:"#fff",borderColor:"#fff",color:"#000000"};break;case"not-show":case"cancelled":O={backgroundColor:"#cf6a87",borderColor:"#cf6a87",color:"#fff"};break;case"ready-to-be-seen":O={backgroundColor:"#fff",borderColor:"#cf6a87",color:"#000000"};break;case"unavailability":O={backgroundColor:"#f4c7ce",borderColor:"#f4c7ce",color:"#c80200"};break;case"break":O={backgroundColor:"#E9EAEF",borderColor:"#E9EAEF"};break;default:O={backgroundColor:"#E3FEFF"}}var T,j=(0,e.useMemo)((function(){var e,t,n,o,i;if(null===N||void 0===N||null===(e=N.clinic)||void 0===e||!e.locations)return[];var a=null===N||void 0===N||null===(t=N.clinic)||void 0===t||null===(n=t.locations)||void 0===n?void 0:n.find((function(e){return(null===e||void 0===e?void 0:e.id)===S.location})),s=null===N||void 0===N||null===(o=N.clinic)||void 0===o||null===(i=o.locations)||void 0===i?void 0:i.filter((function(e){return!(null!==e&&void 0!==e&&e.deleted_at)}));return null!==s&&void 0!==s&&s.find((function(e){return(null===e||void 0===e?void 0:e.id)===S.location}))?s:[].concat((0,r.Z)(s),[a])}),[null===N||void 0===N||null===(i=N.clinic)||void 0===i?void 0:i.locations,S.location]),B=function(){var e,t,n,r;return(null===A||void 0===A||null===(e=A.paymentItems)||void 0===e?void 0:e.length)>0?null===(n=A.paymentItems)||void 0===n?void 0:n.map((function(e,t){var n,r,o;return(0,Kl.jsx)("span",{style:{color:null!==(n=null===(r=e.treatmentType)||void 0===r||null===(o=r.category)||void 0===o?void 0:o.color)&&void 0!==n?n:"inherit"},children:e.fullName},"sn-".concat(t))})):!(null===A||void 0===A||null===(t=A.treatmentTypes)||void 0===t||!t.length)>0?null===A||void 0===A||null===(r=A.treatmentTypes)||void 0===r?void 0:r.map((function(e,t){return(0,Kl.jsx)("span",{children:e},"sn-".concat(t))})):null},L=function(){return(0,Kl.jsx)(Ow.ZP,{title:"Appointment for ".concat(null===A||void 0===A?void 0:A.title," is set to different location: ").concat(j.filter((function(e){return(null===e||void 0===e?void 0:e.id)===(null===A||void 0===A?void 0:A.location)}))[0].address),arrow:!0,PopperProps:{style:{marginTop:-10}},children:(0,Kl.jsx)(lC,{width:15,style:{cursor:"pointer"}})})};if("break"===(null===A||void 0===A?void 0:A.status.slug))return(0,Kl.jsx)(Fw,{event:A,view:"weekly",eventStyles:m,title:null!==(T=A.title)&&void 0!==T?T:"Break"});var R="unavailability"!==A.status.slug;return(0,Kl.jsxs)("div",{id:"".concat(A.status.slug,"-").concat(A.id),ref:D,draggable:R,onDragStart:R?function(e){v(!0),e.dataTransfer.setData("text/plain",A.id)}:function(){},onDragEnd:R?function(e){v(!1)}:function(){},"data-start":Vs()(null===A||void 0===A?void 0:A.start).format("HH:mm"),"data-end":Vs()(null!==(a=null===A||void 0===A?void 0:A.end)&&void 0!==a?a:null===A||void 0===A?void 0:A.start).format("HH:mm"),className:"".concat(Rw.calendarEvent," ").concat(R?"draggable":""),style:Us(Us({backgroundColor:null===(s=O)||void 0===s?void 0:s.backgroundColor,borderTopColor:null===(l=O)||void 0===l?void 0:l.borderColor,color:null===(c=O)||void 0===c?void 0:c.color,width:null===(u=O)||void 0===u?void 0:u.width,opacity:g?.5:1,cursor:R?"move":"pointer",height:40,zIndex:9,paddingBottom:0},m),"unavailability"===(null===A||void 0===A?void 0:A.status.slug)?{justifyContent:(null===A||void 0===A||null===(d=A.title)||void 0===d?void 0:d.length)>25?"start":"center",display:"flex",flexDirection:"column",paddingTop:0}:{}),onClick:function(e){!function(e){e.stopPropagation(),M("/calendar"),setTimeout((function(){switch(A.status.slug){case"upcoming":case"not-show":default:S.clear(),M("/calendar/appointment/".concat(A.id));break;case"active":case"completed":S.clear(),M("/calendar/appointment/".concat(A.id,"?status=active"));break;case"unavailability":var e,t,n,r;S.setUnavailabilityNotes(null!==(e=null===(t=A.treatmentTypes)||void 0===t?void 0:t[0])&&void 0!==e?e:"");var o=A.doctor,i=o.id,a=o.title,s=o.role,l=o.avatarUrl;S.setDoctor(i,a,null===s||void 0===s||null===(n=s[0])||void 0===n?void 0:n.name,l);var c=Vs()(null===A||void 0===A?void 0:A.start).format("YYYY-MM-DDTHH:mm");S.setStartDate(c);var u=Vs()(null!==(r=null===A||void 0===A?void 0:A.end)&&void 0!==r?r:null===A||void 0===A?void 0:A.start).format("YYYY-MM-DDTHH:mm");S.setLocation(null===A||void 0===A?void 0:A.location),S.setEndDate(u),M("/calendar/unavailability/".concat(A.id));break;case"break":var d,p,f=A.doctor,h=f.id,b=f.title,m=f.role,g=f.avatarUrl;S.setDoctor(h,b,null===m||void 0===m||null===(d=m[0])||void 0===d?void 0:d.name,g);var v=Vs()(null===A||void 0===A?void 0:A.start).format("YYYY-MM-DDTHH:mm");S.setStartDate(v);var y=Vs()(null!==(p=null===A||void 0===A?void 0:A.end)&&void 0!==p?p:null===A||void 0===A?void 0:A.start).format("YYYY-MM-DDTHH:mm");S.setEndDate(y),null===E||void 0===E||E.setPopperModalOpen(!0)}}),300)}(e)},children:[(0,Kl.jsx)("div",{className:Rw.status,style:{background:function(){var e,t,n,r=100/(null!==(e=null===A||void 0===A||null===(t=A.treatmentCategories)||void 0===t?void 0:t.length)&&void 0!==e?e:0);return"\n    linear-gradient(\n      to bottom,\n      ".concat(null===A||void 0===A||null===(n=A.treatmentCategories)||void 0===n?void 0:n.reverse().map((function(e,t){var n,o;return"".concat(null!==(n=null===e||void 0===e?void 0:e.color)&&void 0!==n?n:"#000"," ").concat(r*t,"%, ").concat(null!==(o=null===e||void 0===e?void 0:e.color)&&void 0!==o?o:"#000"," ").concat(r*(t+1),"%")})),"\n    )\n    ")}()}}),(0,Kl.jsxs)("div",{className:Rw.calendarEventTop,style:Us({},"unavailability"===(null===A||void 0===A?void 0:A.status.slug)?{alignItems:(null===A||void 0===A||null===(p=A.title)||void 0===p?void 0:p.length)>25?"center":"start"}:{width:"100%"}),children:[(0,Kl.jsx)("div",{className:Rw.calendarEventHeader,children:(0,Kl.jsxs)(kl.Z,{children:[(0,Kl.jsxs)("span",{className:"".concat(Rw.calendarEventDate," appointment-time"),children:[Vs()(null===A||void 0===A?void 0:A.start).format("HH:mm")," "," - ",Vs()(null!==(f=null===A||void 0===A?void 0:A.end)&&void 0!==f?f:null===A||void 0===A?void 0:A.start).format("HH:mm")]}),!b&&(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)("span",{className:Rw.calendarEventPatientName,children:"unavailability"===(null===A||void 0===A?void 0:A.status.slug)?(0,Kl.jsxs)(Kl.Fragment,{children:["Unavailable"," ",B()]}):(null===A||void 0===A||null===(h=A.title)||void 0===h?void 0:h.length)>=11&&window.innerWidth<1155?(null===A||void 0===A?void 0:A.title.slice(0,7))+"...":null===A||void 0===A?void 0:A.title}),(0,Kl.jsx)("span",{children:(null===A||void 0===A?void 0:A.patientAppointmentsCount)<=1&&(0,Kl.jsx)(rC,{element:(0,Kl.jsx)(Iw,{}),screenSize:1600})})]})]})}),(0,Kl.jsx)("div",{className:Rw.calendarEventFooter})]}),"unavailability"!==(null===A||void 0===A?void 0:A.status.slug)&&!0!==b&&"yes"!==b&&(0,Kl.jsx)("div",{className:"".concat(Rw.calendarEventContent," ").concat(_>=25?Rw.pullDown:""),children:(0,Kl.jsx)(kl.Z,{style:{position:"relative",bottom:9},children:(0,Kl.jsx)("span",{className:Rw.calendarEventServiceName,children:B()})})}),(0,Kl.jsxs)("div",{className:Rw.icon,children:[0===k.id?y&&(null===A||void 0===A?void 0:A.location)!==y&&L():(null===A||void 0===A?void 0:A.location)!==k.id&&L(),(null===A||void 0===A?void 0:A.isMedicalHistoryCompleted)&&(0,Kl.jsx)(nC,{width:15}),"completed"===(null===A||void 0===A?void 0:A.status.slug)&&(0,Kl.jsx)(Qw,{width:15})]}),w&&(0,Kl.jsx)(pF,{})]})};var hF=__webpack_require__.p+"static/media/slot-timer.8e64df8c66ebfebc3b72942bff9e045e.svg";var bF=__webpack_require__.p+"static/media/add-slot-weekly.36510228b520272e6195dfb6aff8b35f.svg";function AF(e){var t=e.appointment,n=e.formatGaps,r=e.setPickedDate,o={gapWrapper:{minHeight:20,height:function(){var e=Vs().duration(Vs()(t.end).diff(t.start)).hours(),r=n();return r&&e?20+r*e:20}(),padding:"10px 19px",background:"#F4F5FC",border:"1px solid #ddd",borderRadius:5,color:"#006517",display:"flex",alignItems:"center",fontSize:12,fontWeight:700,cursor:"pointer",flexGrow:1},timerImage:{margin:"0 5px"},addIcon:{marginLeft:"auto"}};return(0,Kl.jsxs)("div",{style:o.gapWrapper,onClick:function(e){return function(e){var n=Vs()(t.start).format("YYYY-MM-DD");r((function(e){return n+"T"+Vs()(t.start).format("HH:mm")}))}()},children:[(0,Kl.jsxs)("span",{style:o.startTime,children:[Vs()(t.start).format("HH:mm")," - ",(0,Kl.jsxs)("span",{style:o.endTime,children:[" ",Vs()(t.end).format("HH:mm")]})]}),(0,Kl.jsx)("img",{style:o.timerImage,src:hF,alt:"timer"}),function(e,t){var n=Vs().duration(Vs()(t).diff(e)),r=n.hours(),o=n.minutes()%60;return"".concat(r," hr ").concat(o," min")}(t.start,t.end),(0,Kl.jsx)("img",{style:o.addIcon,src:bF,alt:"add-weekly-slot"})]})}var mF=function(e,t){var n=t.find((function(t){return t.staff.id===parseInt(e.staffId)}));if(n){var r,o,i,a,s=n.dates.find((function(t){return t.date===e.start.split(" ")[0]}));return s?(null===s||void 0===s||null===(r=s.shifts[0])||void 0===r||null===(o=r.location)||void 0===o?void 0:o.id)||(null===s||void 0===s||null===(i=s.workingHours[0])||void 0===i||null===(a=i.location)||void 0===a?void 0:a.id):null}return null},gF=function(t){var o,i,a,s=t.day,l=t.doctor,c=t.privateMode,u=t.createNewAppointment,d=t.getDoctorAppointments,p=t.doctorShifts,f=t.activeAppointmentGroup,h=t.setActiveAppointmentGroup,b=t.setPickedDate,A=(0,e.useState)(!1),m=(0,n.Z)(A,2),g=m[0],v=m[1],y=(0,e.useState)([]),M=(0,n.Z)(y,2),O=M[0],_=M[1],z=Fc().location,x=d(l,s);x=x.map((function(e){return"break"===e.status.slug&&(e.start=e.start.replace("T"," "),e.end=e.end.replace("T"," ")),e}));var w=function(e){var t,o,i,a,l=[],c="08:00:00",u="23:00:00";O&&O.length>0&&(c=(null===(t=O[0])||void 0===t||null===(o=t.workingHours)||void 0===o?void 0:o.length)>0?O[0].workingHours[0].startHour:"08:00:00",u=(null===(i=O[0])||void 0===i||null===(a=i.workingHours)||void 0===a?void 0:a.length)>0?O[0].workingHours[0].endHour:"23:00:00");var d=function(e){if(!e)return 0;var t=e.split(":"),r=(0,n.Z)(t,2),o=r[0],i=r[1];return 60*parseInt(o)+parseInt(i)};if(!(e.length>0))return l.push({id:0,start:"".concat(s," ").concat(c),end:"".concat(s," ").concat(u)}),l.sort((function(e,t){return new Date(e.start)-new Date(t.start)}));d(e[0].start.split(" ")[1])>d(c)&&l.push({id:0,start:"".concat(e[0].start.split(" ")[0]," ").concat(c),end:e[0].start});for(var p=0;p<e.length-1;p++){var f=e[p].end,h=e[p+1].start;d(h.split(" ")[1])-d(f.split(" ")[1])>15&&l.push({id:0,start:f,end:h})}return d(e[e.length-1].end.split(" ")[1])<d(u)&&l.push({id:0,start:e[e.length-1].end,end:"".concat(s," ").concat(u)}),l.push.apply(l,(0,r.Z)(e)),l.sort((function(e,t){return new Date(e.start)-new Date(t.start)}))},C=g?w(x):w(x).slice(0,7),S=function(){var e=C.filter((function(e){return 0===e.id})),t=0;e.map((function(e){var n=Vs().duration(Vs()(e.end).diff(e.start)).hours();t+=n}));var n=C.filter((function(e){return 0===e.id})).length,r=C.filter((function(e){return 0!==e.id})).length,o=390-40*r;return(o-=20*n)/t},E=g?{zIndex:99,boxShadow:"0px 0px 9px gray",height:"".concat(40*x.length+30,"px")}:{};return(0,e.useEffect)((function(){var e;if(p.length>0&&null!==(e=p[0])&&void 0!==e&&e.dates){var t=p[0].dates.filter((function(e){return Vs()(e.date).format("MMM D YYYY")===s&&(0===(null===z||void 0===z?void 0:z.id)||e.location===(null===z||void 0===z?void 0:z.id))})).map((function(e){if(e.shifts&&e.shifts.length>0&&0===e.workingHours.length){var t=e.shifts[0],n=t.start_at.split(":")[0]+":"+t.start_at.split(":")[1],r=t.end_at.split(":")[0]+":"+t.end_at.split(":")[1];e.workingHours.push({daysOfWeek:[Vs()(e.date).day()],startHour:n,endHour:r})}return e}));_(t)}else _([])}),[p,s,null===z||void 0===z?void 0:z.id]),O&&(0,Kl.jsxs)(Kl.Fragment,{children:[O.length>0&&O[0].workingHours.length>0&&"00:00"!==O[0].workingHours[0].startHour&&"00:00"!==O[0].workingHours[0].endHour&&0===(null===(o=O[0])||void 0===o?void 0:o.dayOffs.length)&&(0===(null===z||void 0===z?void 0:z.id)||(null===(i=O[0])||void 0===i?void 0:i.location)===(null===z||void 0===z?void 0:z.id))&&(0,Kl.jsxs)("div",{className:"calendar-cell ".concat(g?"active":""),onClick:function(){return u(l,s)},style:E,children:[C.map((function(e,t){return 0===e.id?(0,Kl.jsx)(AF,{appointment:e,formatGaps:S,dailyShift:O,setPickedDate:b},t):(0,Kl.jsx)(fF,{event:e,privateMode:c,style:{height:40},doctorLocation:mF(e,p)},e.id)})),x.length>=7&&(0,Kl.jsx)("button",{onClick:function(e){!function(e){e.stopPropagation(),v(!g),h(!f)}(e)},style:{zIndex:9,position:"relative",background:"#fff",border:"1px solid #ddd",padding:"5px",marginTop:"5px",width:"100%",color:"rgba(0, 0, 0, 0.2588235294)",fontSize:"12px",cursor:"pointer","&:hover":{color:"#000"}},children:g?"SHOW LESS -":"SHOW ALL +"})]}),O.length>0&&(O[0].workingHours.length>0&&"00:00"===O[0].workingHours[0].startHour&&"00:00"===O[0].workingHours[0].endHour||0===O[0].workingHours.length||(null===(a=O[0])||void 0===a?void 0:a.dayOffs.length)>0)&&(0,Kl.jsx)("div",{className:"calendar-cell day-off",children:(0,Kl.jsx)("span",{children:"Day Off"})}),0===O.length&&(0,Kl.jsx)("div",{className:"calendar-cell day-off",children:(0,Kl.jsx)("span",{children:"Day Off"})})]})},vF=function(t){var r=t.selectedDate,o=t.setSelectedDate,i=t.setDayLabels,a=(0,e.useState)(""),s=(0,n.Z)(a,2),l=s[0],c=s[1],u=(0,e.useState)(""),d=(0,n.Z)(u,2),p=d[0],f=d[1],h=lS(),b=h.getWeekDaysByNumber,A=h.changeDate,m=Fc().navigation,g={div:{display:"block",margin:"0 auto",position:"absolute",left:40,right:0,top:20,textAlign:"center",zIndex:0,pointerEvents:"none",width:"180px",minWidth:"150px"},dateDiff:{fontSize:"12px",color:"#8B8B8B",textAlign:"center",display:"block",marginLeft:0},date:{display:"block",fontSize:"17px",marginLeft:0},rightArrow:{position:"absolute",right:0,top:0,padding:0,pointerEvents:"all"},leftArrow:{position:"absolute",left:0,top:0,padding:0,pointerEvents:"all"},viewTypes:{position:"relative",right:0,top:"60px",zIndex:999}},v=function(e){var t=Vs()(r).format("MMM D YYYY");switch(e){case-1:t=Vs()(r).subtract(1,"week").format("MMM D YYYY");break;case 1:t=Vs()(r).add(1,"week").format("MMM D YYYY")}var a,s=Vs()(t).isoWeek(),l=t.split(" "),c=(0,n.Z)(l,3),u=(c[0],c[1],c[2]),d=b(u,s);o((a=d).date),i(Array.from({length:7}).map((function(e,t){return Vs()(a.date).startOf("isoWeek").add(t,"days").format("MMM D YYYY")}))),localStorage.setItem("weekly_start",a.date),A(a.date)},y=function(e){var t=Vs()(e).isoWeek(),r=e.split(" "),o=(0,n.Z)(r,3),i=(o[0],o[1],o[2]);return b(i,t)};return(0,e.useEffect)((function(){var e=Vs()(r).format("MMM D YYYY"),t=y(e),n=Vs()().format("MMM D YYYY"),o=function(e,t){var n=Vs()(e.date,"MMM D YYYY"),r=Vs()(t.date,"MMM D YYYY").diff(n,"weeks");return 0===r?"This week":r>0?"".concat(r," ").concat(1===r?"week":"weeks"," from now"):"".concat(Math.abs(r)," ").concat(1===Math.abs(r)?"week":"weeks"," ago")}(y(n),t);c("".concat(t.start.toUpperCase()," - ").concat(t.end.toUpperCase())),f(o)}),[r]),(0,Kl.jsx)(Kl.Fragment,{children:(0,Kl.jsxs)("div",{style:g.div,className:"calendar-date-info weekly ".concat(m.open?"nav-opened":""),children:[(0,Kl.jsx)(wd.Z,{color:"primary","aria-label":"Sub day",component:"span",style:g.leftArrow,className:"calendar-nav-left",onClick:function(){v(-1)},children:(0,Kl.jsx)(XC,{})}),(0,Kl.jsx)("span",{style:g.date,className:"calendar-nav-date",children:l}),(0,Kl.jsx)("span",{style:g.dateDiff,className:"calendar-nav-diff",children:p}),(0,Kl.jsx)(wd.Z,{color:"primary","aria-label":"Add day",component:"span",style:g.rightArrow,className:"calendar-nav-right",onClick:function(){v(1)},children:(0,Kl.jsx)(BC,{})})]})})},yF=$l((function(t){var r=t.rooms,o=t.events,i=t.privateMode,a=t.onClickEvent,s=(0,e.useState)([]),l=(0,n.Z)(s,2),c=l[0],u=l[1],d=(0,e.useState)(!1),p=(0,n.Z)(d,2),f=p[0],h=p[1],b=(0,e.useState)(""),A=(0,n.Z)(b,2),m=A[0],g=A[1],v=(0,e.useState)([]),y=(0,n.Z)(v,2),M=y[0],O=y[1],_=Fc(),z=_.appointment,x=_.shifts,w=_.calendar,C=_.location,S=(0,e.useState)(Vs()(w.date).format("DD MMM YYYY")),E=(0,n.Z)(S,2),k=E[0],D=E[1],N=(0,e.useState)(Array.from({length:7}).map((function(e,t){return Vs()(w.date).startOf("isoWeek").add(t,"days").format("MMM D YYYY")}))),T=(0,n.Z)(N,2),j=T[0],B=T[1],L=(0,e.useMemo)((function(){return Vs()(x.date)}),[x.date]),R=Vs()().format("MMM D YYYY"),q=function(e){return o.filter((function(t){var n,r,o;return Vs()(t.start).format("MMM D YYYY")===e&&7!==(null===(n=t.status)||void 0===n?void 0:n.id)&&100!==(null===(r=t.status)||void 0===r?void 0:r.id)&&99!==(null===(o=t.status)||void 0===o?void 0:o.id)&&(!(null!==C&&void 0!==C&&C.id)||parseInt(t.location)===parseInt(null===C||void 0===C?void 0:C.id))})).length},P=function(e,t){return o.filter((function(n){var r;return Vs()(n.start).format("MMM D YYYY")===t&&n.resourceId===e.id&&7!==(null===(r=n.status)||void 0===r?void 0:r.id)&&(!(null!==C&&void 0!==C&&C.id)||parseInt(n.location)===parseInt(null===C||void 0===C?void 0:C.id))})).sort((function(e,t){return Vs()(e.start,["YYYY-MM-DD HH:mm:ss","YYYY-MM-DDTHH:mm"])-Vs()(t.start,["YYYY-MM-DD HH:mm:ss","YYYY-MM-DDTHH:mm"])}))},I=function(e,t){O(e),z.setDoctor(e.id,e.title,e.role[0].name,e.avatarUrl);var n=Vs()(t,"MMM D YYYY").set({hour:Vs()().hour(),minute:Vs()().minute(),second:0,millisecond:0}),r=n.minute()%5;0!==r&&n.add(5-r,"minutes"),g((function(e){var t=e;return z.setStartDate(t),t}))};return(0,e.useEffect)((function(){null!==m&&M.treatmentTypes&&a(null,z.doctor.id,z.doctor.name,"",z.doctor.avatarUrl,M.treatmentTypes)}),[m,M]),(0,e.useEffect)((function(){var e=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t,n,o,i,a,s,l;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=Vs()(L).startOf("isoWeek").format("YYYY-MM-DD"),n=Vs()(L).endOf("isoWeek").format("YYYY-MM-DD"),(o=document.querySelector(".day-label"))&&(i=o.querySelector(".date"))&&("TODAY"===(a=i.textContent)?(t=Vs()().startOf("isoWeek").format("YYYY-MM-DD"),n=Vs()().endOf("isoWeek").format("YYYY-MM-DD")):(t=Vs()(a).startOf("isoWeek").format("YYYY-MM-DD"),n=Vs()(a).endOf("isoWeek").format("YYYY-MM-DD"))),s=null===C||void 0===C?void 0:C.id,localStorage.getItem("aestheti_location")&&(s=parseInt(localStorage.getItem("aestheti_location"))),l=0===s?"all":s,e.next=9,Re.get("/v1/staff/shifts",{params:{start:t,end:n,location:l}}).then((function(e){var t=[];u([]),e.data.map((function(e){e.doctors.map((function(e){t.push(e)}))}));var n=t.map((function(e){var t=r.find((function(t){return t.id===e.staff.id}));return t&&t.workingHours&&t.workingHours.length>0&&(e.dates.forEach((function(e){var n=t.workingHours.find((function(t){return t.daysOfWeek.includes(Vs()(e.date).day())}));if(n&&n.startHour&&n.endHour){e.workingHours||(e.workingHours=[]);var r={daysOfWeek:n.daysOfWeek,startHour:n.startHour,endHour:n.endHour};e.workingHours.push(r)}})),e.dates.forEach((function(e){var n=e.shifts&&e.shifts.length>0?e.shifts[0]:null;if(n&&n.start_at&&n.end_at&&t.workingHours){var r=t.workingHours.find((function(t){return t.daysOfWeek.includes(Vs()(e.date).day())}));if(r){e.workingHours||(e.workingHours=[]);var o={daysOfWeek:r.daysOfWeek,startHour:n.start_at+":00",endHour:n.end_at+":00"};e.workingHours.push(o)}}}))),e.dates.forEach((function(e){var n=e.shifts&&e.shifts.length>0?e.shifts[0]:null;if(n&&!e.workingHours){e.workingHours=[];var r=t.workingHours.find((function(t){return t.daysOfWeek.includes(Vs()(e.date).day())}));if(r){var o={daysOfWeek:r.daysOfWeek,startHour:n.start_at+":00",endHour:n.end_at+":00"};e.workingHours.push(o)}}})),e}));u([]),u(n)}));case 9:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}),[null===C||void 0===C?void 0:C.id,w.date,w.refresh]),(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(vF,{setDayLabels:B,selectedDate:k,setSelectedDate:D}),(0,Kl.jsx)(jE,{setDayLabels:B,selectedDate:k,setSelectedDate:D}),(0,Kl.jsxs)("div",{className:"custom-calendar",style:{width:"100%"},children:[f&&(0,Kl.jsx)("div",{className:"overlay"}),(0,Kl.jsxs)("div",{className:"calendar-container",children:[(0,Kl.jsxs)("div",{className:"calendar-header",children:[(0,Kl.jsx)("div",{className:"header-label"}),j.map((function(e){return(0,Kl.jsxs)("div",{className:"day-label ".concat(e===R?"today":""),children:[(0,Kl.jsx)("span",{className:"date",children:e===R?"TODAY":e.toUpperCase()}),(0,Kl.jsxs)("span",{className:"appointment-counter",children:["Total Appointments: ",q(e)]})]},e)}))]}),(0,Kl.jsx)("div",{className:"calendar-rows",children:r.map((function(e){var t;return(0,Kl.jsxs)("div",{className:"doctor-row",children:[(0,Kl.jsxs)("div",{className:"doctor-name",children:[(0,Kl.jsx)("img",{className:"avatar",width:50,src:null!==(t=e.avatarUrl)&&void 0!==t?t:TE,alt:e.title}),e.title,(0,Kl.jsx)("span",{className:"staff-role",children:e.role[0].name})]}),c.length>0&&j.map((function(t,n){return(0,Kl.jsx)(gF,{day:t,doctor:e,privateMode:i,activeAppointmentGroup:f,setActiveAppointmentGroup:h,createNewAppointment:I,getDoctorAppointments:P,doctorShifts:null===c||void 0===c?void 0:c.filter((function(t){return t.staff.id===e.id})),setPickedDate:g},"".concat(e.id,"-").concat(n))}))]},e.id)}))})]})]})]})})),MF=yF,OF=__webpack_require__(67114),_F=__webpack_require__.n(OF),zF=$l((function(t){var o,i=t.rooms,a=t.events,s=t.appointmentUpdate,l=t.setAppointmentUpdate,c=t.privateMode,u=t.onClickEvent,d=t.singleDoctor,p=(t.setSingleDoctor,t.unavailableHours,(0,e.useState)([])),f=(0,n.Z)(p,2),h=f[0],b=f[1],A=(0,e.useState)(!1),m=(0,n.Z)(A,2),g=m[0],v=(m[1],(0,e.useState)(!1)),y=(0,n.Z)(v,2),M=y[0],O=y[1],_=(0,e.useState)(!1),z=(0,n.Z)(_,2),x=z[0],w=z[1],C=(0,e.useState)([]),S=(0,n.Z)(C,2),E=(S[0],S[1],Fc()),k=E.appointment,D=E.location,N=E.calendar,T=(0,e.useState)(Array.from({length:7}).map((function(e,t){return Vs()(N.date).startOf("isoWeek").add(t,"days").format("MMM D YYYY")}))),j=(0,n.Z)(T,2),B=j[0],L=j[1],R=Vs()().format("MMM D YYYY"),q=(he(),Ae().calendarRef,(0,e.useState)(Vs()(N.date).format("DD MMM YYYY"))),P=(0,n.Z)(q,2),I=P[0],W=P[1],F=(0,e.useState)(!1),U=(0,n.Z)(F,2),Z=(U[0],U[1]),H=(0,e.useState)(!1),$=(0,n.Z)(H,2),V=$[0],X=($[1],function(e){return a.filter((function(t){var n,r,o,i;return Vs()(null===t||void 0===t?void 0:t.start).format("MMM D YYYY")===e&&7!==(null===(n=t.status)||void 0===n?void 0:n.id)&&100!==(null===(r=t.status)||void 0===r?void 0:r.id)&&99!==(null===(o=t.status)||void 0===o?void 0:o.id)&&parseInt(t.location)===parseInt(null===D||void 0===D?void 0:D.id)&&parseInt(t.resourceId)===parseInt(null===(i=d[0])||void 0===i?void 0:i.id)})).length}),Q=function(e,t,r){var o=(e.clientY-e.currentTarget.offsetTop)/1.25,i=10*Math.round(o/10);60===i&&(i=55);var a=e.target.getAttribute("data-day");k.setDoctor(d[0].id,d[0].title,d[0].role[0].name,d[0].avatarUrl);var s=Vs()(a,"MMM D YYYY").set({hour:Vs()().hour(),minute:Vs()().minute(),second:0,millisecond:0}),l=s.minute()%5;0!==l&&s.add(5-l,"minutes");var c=s.format("YYYY-MM-DDTHH:mm");c=c.split("T");var p=function(e){var t=e.currentTarget.getAttribute("data-start").split(":").map(Number),r=(0,n.Z)(t,2),o=r[0],i=r[1],a=e.nativeEvent.offsetY,s=Math.floor(a/75*60),l=10*Math.round(s/10),c=o,u=i+(s=60===l?50:l);return u>=60&&(c+=Math.floor(u/60),u%=60),"".concat(c<10?"0"+c:c,":").concat(u<10?"0"+u:u)}(e);k.setStartDate("".concat(c[0],"T").concat(p)),u(null,k.doctor.id,k.doctor.name,"",k.doctor.avatarUrl,d[0].treatmentTypes)};(0,e.useEffect)((function(){var e=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t,n,r,o,i,a,s;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=Vs()(I).startOf("isoWeek").format("YYYY-MM-DD"),n=Vs()(I).endOf("isoWeek").format("YYYY-MM-DD"),(r=document.querySelector(".day-label"))&&(o=r.querySelector(".date"))&&("TODAY"===(i=o.textContent)?(t=Vs()().startOf("isoWeek").format("YYYY-MM-DD"),n=Vs()().endOf("isoWeek").format("YYYY-MM-DD")):(t=Vs()(i).startOf("isoWeek").format("YYYY-MM-DD"),n=Vs()(i).endOf("isoWeek").format("YYYY-MM-DD"))),a=null===D||void 0===D?void 0:D.id,localStorage.getItem("aestheti_location")&&(a=parseInt(localStorage.getItem("aestheti_location"))),s=0===a?"all":a,e.next=9,Re.get("/v1/staff/shifts",{params:{start:t,end:n,location:s}}).then((function(e){var t=[];b([]),e.data.map((function(e){e.doctors.map((function(e){t.push(e)}))}));var n=null===t||void 0===t?void 0:t.filter((function(e,t){var n;return e.staff.id===(null===(n=d[0])||void 0===n?void 0:n.id)}));b(n),O(!0)}));case 9:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}),[null===D||void 0===D?void 0:D.id,N.date,N.refresh,s]);var Y=function(e,t){var n,r,o=null===(n=h[0])||void 0===n||null===(r=n.dates)||void 0===r?void 0:r.find((function(t){return Vs()(t.date).format("MMM D YYYY")===e&&(0===(null===D||void 0===D?void 0:D.id)||t.location===(null===D||void 0===D?void 0:D.id))}));if((null===o||void 0===o?void 0:o.dayOffs.length)>0)return!1;var i=(null===o||void 0===o?void 0:o.shifts)&&(null===o||void 0===o?void 0:o.shifts.length)>0,a=(null===o||void 0===o?void 0:o.workingHours)&&(null===o||void 0===o?void 0:o.workingHours.length)>0;if(i){var s=parseInt(o.shifts[0].start_at.split(":")[0]),l=parseInt(o.shifts[0].end_at.split(":")[0]),c=parseInt(t.split(":")[0]);return c>=s&&c<l}if(a){var u=parseInt(o.workingHours[0].startHour.split(":")[0]),d=parseInt(o.workingHours[0].endHour.split(":")[0]),p=parseInt(t.split(":")[0]);return p>=u&&p<d}return!1},G=function(e){var t,n,r=null===(t=h[0])||void 0===t||null===(n=t.dates)||void 0===n?void 0:n.find((function(t){return Vs()(t.date).format("MMM D YYYY")===e&&(0===(null===D||void 0===D?void 0:D.id)||t.location===(null===D||void 0===D?void 0:D.id))}));if((null===r||void 0===r?void 0:r.dayOffs.length)>0)return"Not available";var o=(null===r||void 0===r?void 0:r.shifts)&&(null===r||void 0===r?void 0:r.shifts.length)>0,i=(null===r||void 0===r?void 0:r.workingHours)&&(null===r||void 0===r?void 0:r.workingHours.length)>0;if(o){var a=r.shifts[0].start_at,s=r.shifts[0].end_at;return"".concat(a," - ").concat(s)}if(i){var l=r.workingHours[0].startHour,c=r.workingHours[0].endHour;return"".concat(l," - ").concat(c)}return"Not available"},K=function(e){e.preventDefault()},J=function(e,t,n,r){var o=e.target.closest("td");if(o&&t){var i=t.getAttribute("data-start"),a=t.getAttribute("data-end"),c=o.getAttribute("data-day"),u=o.getAttribute("data-start").split(":")[0],d=60/(o.offsetHeight/75),p=e.clientY-o.getBoundingClientRect().top,f=5*Math.floor(p/75*d/5),h=u.padStart(2,"0"),b=f.toString().padStart(2,"0"),A="".concat(h,":").concat(b),m=Vs()(i,"HH:mm"),g=Vs()(a,"HH:mm").diff(m,"minutes"),v=Vs()(A,"HH:mm").add(g,"minutes").format("HH:mm"),y=t.querySelector(".appointment-time");y&&(y.textContent="".concat(A," - ").concat(v));var M=Vs()(c).format("YYYY-MM-DD")+" "+A+":00",O=Vs()(c).format("YYYY-MM-DD")+" "+v+":00";Re.put("/v1/appointment/update/ondrop",{id:n,start:M,end:O,notify:r}).then((function(e){e.data;l(!s)}))}},ee=function(e){var t=e.dataTransfer.getData("text/plain"),n=document.getElementById(t);_F().fire({text:"Do you want to change appointment time?",icon:"warning",showCancelButton:!0,confirmButtonColor:"#D8A66A",cancelButtonColor:"#9BD6E0",confirmButtonText:"Yes",cancelButtonText:"No"}).then((function(r){r.isConfirmed&&_F().fire({text:"Do you want to notify the patient about the change in appointment time?",showCancelButton:!0,confirmButtonColor:"#D8A66A",cancelButtonColor:"#9BD6E0",confirmButtonText:"Yes",cancelButtonText:"No"}).then((function(r){r.isConfirmed?J(e,n,t,!0):J(e,n,t,!1)}))}))};return M?(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(vF,{setDayLabels:L,selectedDate:I,setSelectedDate:W}),(0,Kl.jsx)(jE,{setDayLabels:L,selectedDate:I,setSelectedDate:W}),(0,Kl.jsxs)("div",{className:"custom-calendar",children:[g&&(0,Kl.jsx)("div",{className:"overlay"}),(0,Kl.jsxs)("div",{className:"calendar-container",children:[(0,Kl.jsxs)("table",{className:"calendar-table bordered",children:[(0,Kl.jsx)("thead",{children:(0,Kl.jsxs)("tr",{className:"calendar-head",style:{borderBottom:"1px solid #dde2ec"},children:[(0,Kl.jsx)("th",{className:"header-label"}),B.map((function(e){var t,n;return(0,Kl.jsxs)("th",{className:"day-label ".concat(e===R?"today":""),children:[(0,Kl.jsx)("span",{className:"date",children:e===R?"TODAY":e.toUpperCase()}),(0,Kl.jsxs)("span",{className:"appointment-counter",children:[null===(t=d[0])||void 0===t||null===(n=t.role[0])||void 0===n?void 0:n.name," ",G(e)]}),(0,Kl.jsxs)("span",{className:"appointment-counter",children:["Total Appointments: ",X(e)]})]},e)}))]})}),(0,Kl.jsx)("tbody",{style:0===d.length?{backgroundColor:"#F3F3F3"}:{},children:function(){for(var e=[],t=8;t<=23;t++){var n="".concat(t).padStart(2,"0");e.push("".concat(n,":00"))}return e}().map((function(e,t){return(0,Kl.jsxs)("tr",{className:"calendar-row",children:[(0,Kl.jsx)("td",{style:{minWidth:100,textAlign:"center",height:75,color:"#8d969f",fontSize:12,position:"relative",borderBottom:"1px solid #dde2ec"},children:(0,Kl.jsx)("span",{style:{top:5,left:0,right:0,position:"absolute"},children:e})}),B.map((function(t,n){var o,s=function(){var e,t=a;0!==(null===D||void 0===D?void 0:D.id)&&(t=a.filter((function(e){return e.location===(null===D||void 0===D?void 0:D.id)})));var n=[];null===(e=h[0])||void 0===e||e.dates.forEach((function(e){var t,r;if(null!==e&&void 0!==e&&null!==(t=e.workingHours[0])&&void 0!==t&&t.offTimeStart){var o,i,a,s,l={start:(null===e||void 0===e?void 0:e.date)+" "+(null===e||void 0===e||null===(o=e.workingHours[0])||void 0===o?void 0:o.offTimeStart)+":00",end:(null===e||void 0===e?void 0:e.date)+" "+(null===e||void 0===e||null===(i=e.workingHours[0])||void 0===i?void 0:i.offTimeEnd)+":00",status:{id:100,slug:"break"},id:null===(a=h[0])||void 0===a?void 0:a.staff.id,resourceId:null===(s=h[0])||void 0===s?void 0:s.staff.id,title:"Break",location:null===D||void 0===D?void 0:D.id};n.push(l)}if(null!==e&&void 0!==e&&null!==(r=e.shifts[0])&&void 0!==r&&r.off_time_start){var c,u,d,p,f={start:(null===e||void 0===e?void 0:e.date)+" "+(null===e||void 0===e||null===(c=e.shifts[0])||void 0===c?void 0:c.off_time_start)+":00",end:(null===e||void 0===e?void 0:e.date)+" "+(null===e||void 0===e||null===(u=e.shifts[0])||void 0===u?void 0:u.off_time_end)+":00",status:{id:100,slug:"break"},id:null===(d=h[0])||void 0===d?void 0:d.staff.id,resourceId:null===(p=h[0])||void 0===p?void 0:p.staff.id,title:"Break",location:null===D||void 0===D?void 0:D.id};n.push(f)}}));var o=[].concat((0,r.Z)(t),n);return o.sort((function(e,t){return new Date(e.start).getTime()-new Date(t.start).getTime()})),o.forEach((function(e,t){for(var n=new Date(e.start).getTime(),r=new Date(e.end).getTime(),i=0;i<t;i++){var a=o[i],s=new Date(a.start).getTime(),l=new Date(a.end).getTime();(n>=s&&n<l||r>s&&r<=l||n<=s&&r>=l)&&(e.overlap=!0,a.overlap=!0,e.style||(e.style={}),a.style||(a.style={}),e.style.left="50%",e.style.width="50%",a.style.right="50%",a.style.width="50%")}})),o.filter((function(e){var t;return e.resourceId===(null===(t=d[0])||void 0===t?void 0:t.id)&&(0===(null===D||void 0===D?void 0:D.id)||e.location===(null===D||void 0===D?void 0:D.id))}))}().filter((function(n){var r=Vs()(n.start),o=(Vs()(n.end),Vs()("".concat(t," ").concat(e))),i=Vs()("".concat(t," ").concat(e)).add(1,"hour");return r>=o&&r<i})).sort((function(e,t){return new Date(e.start)-new Date(t.start)})),l=new Date("".concat(t," ").concat(e));return(0,Kl.jsx)("td",{style:{position:"relative",borderBottom:"1px solid #dde2ec",width:341,borderLeft:"1px solid #dde2ec",height:75,background:Y(t,e,null===(o=d[0])||void 0===o||o.id)?"#f4f5fb":"rgba(0, 0, 0, 0.2)"},onDragOver:K,onDrop:ee,"data-day":t,"data-start":e,onClick:function(e){Q(e,i[0])},children:s.map((function(e,t){var n=Vs()(e.start),r=Vs()(e.end),o=n.diff(l,"minutes"),i=60===r.diff(n,"minutes")?75:1.25*r.diff(n,"minutes"),a={};e.overlap&&(a=e.style);var s=Us({position:"absolute",top:1.25*parseInt(Vs()(e.start).format("mm")),height:"".concat(75===i?73:"unavailability"===e.status.slug?i+3:i+5,"px"),minHeight:"".concat(75===i?73:"unavailability"===e.status.slug?i+3:i+5,"px"),width:"-webkit-fill-available",zIndex:1},a);return l=r,o+i,(0,Kl.jsx)(fF,{event:e,privateMode:c,style:s,setPopupOpen:Z,isDragging:x,setIsDragging:w,changeAppointmentTime:V,doctorLocation:mF(e,h)},"".concat(e.status.slug,"-").concat(e.id))}))},"".concat(e,"-").concat(n))}))]},"".concat(e,"-").concat(t))}))})]}),1===d.length&&(0,Kl.jsx)("div",{style:{position:"fixed",left:0,right:0,height:50,bottom:0,background:"rgba(0,0,0,0.1)",textAlign:"center",zIndex:999},className:"doctor-footer",children:(0,Kl.jsx)("p",{style:{fontSize:20,color:"#000",position:"relative",top:10},children:null===(o=d[0])||void 0===o?void 0:o.title})})]})]})]}):(0,Kl.jsx)(NE,{})})),xF=zF,wF=["/calendar/appointment","/calendar/unavailability"],CF=$l((function(){var t,o,i=(0,e.useState)([]),a=(0,n.Z)(i,2),s=a[0],l=a[1],c=(0,e.useState)(localStorage.getItem("aestheti_working_filter")),u=(0,n.Z)(c,2),d=u[0],p=u[1],f=(0,e.useState)(!1),h=(0,n.Z)(f,2),b=h[0],A=h[1],m=(0,e.useState)(!1),g=(0,n.Z)(m,2),v=g[0],y=g[1],M=(0,e.useState)(!1),O=(0,n.Z)(M,2),_=O[0],z=O[1],x=(0,e.useState)([]),w=(0,n.Z)(x,2),C=w[0],S=w[1],E=(0,e.useState)([]),k=(0,n.Z)(E,2),D=k[0],N=k[1],T=(0,e.useState)(""),j=(0,n.Z)(T,2),B=j[0],L=j[1],R=he(),q=(0,e.useRef)(null),P=Fc(),I=P.appointment,W=P.calendar,F=P.location,U=fe(),Z=(0,e.useContext)(bA),H=hE().enqueueSnackbar,$=wE(),V=$.isDialogOpen,X=$.openDialog,Q=$.closeDialog,Y=(lS().changeDate,(0,e.useState)(null)),G=(0,n.Z)(Y,2),K=G[0],J=G[1],ee=Ae().privateMode,te=(0,e.useState)(null),ne=(0,n.Z)(te,2);ne[0],ne[1];(0,e.useEffect)((function(){return function(){A(!1),null===W||void 0===W||W.setPopperModalOpen(!1)}}),[W]);var re=null===(t=Z.clinic)||void 0===t||null===(o=t.workingHours)||void 0===o?void 0:o.find((function(e){return(null===e||void 0===e?void 0:e.workingDay)===Vs()(W.date).format("dddd")})),oe=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t,o,i,a,s,c,u,p;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return y(!0),i=[],a=localStorage.getItem("aestheti_view"),null===W||void 0===W||null===(t=W.ref)||void 0===t||null===(o=t.current)||void 0===o||o.getApi().changeView(null!==a&&void 0!==a?a:"resourceTimeGridDay"),null===W||void 0===W||W.setView(null!==a&&void 0!==a?a:"resourceTimeGridDay"),s={view:"resourceTimeGridDay"===(null===W||void 0===W?void 0:W.view)?"daily":"weekly",start:Vs()(W.date).startOf("isoWeek").format("YYYY-MM-DD"),end:Vs()(Vs()(W.date).startOf("isoWeek").format("YYYY-MM-DD")).endOf("isoWeek").format("YYYY-MM-DD"),selected:Vs()(W.date).format("YYYY-MM-DD"),location:(null===F||void 0===F?void 0:F.id)||"all"},c=Object.fromEntries(Object.entries(s).filter((function(e){var t=(0,n.Z)(e,1)[0];return("resourceTimeGridDay"===W.view?["view","selected","hideNonWorking","location"]:["view","start","end","hideNonWorking","location"]).includes(t)}))),u="/v1/staff?"+Object.entries(c).map((function(e){var t=(0,n.Z)(e,2),r=t[0],o=t[1];return"".concat(r,"=").concat(encodeURIComponent(o))})).join("&"),e.next=10,Re.get(u).then((function(e){var t=e.data.data.filter((function(e){return e.id===(null===W||void 0===W?void 0:W.selectedStaff)||null===(null===W||void 0===W?void 0:W.selectedStaff)})).filter((function(e){var t,n;return!d||(e.appointments_count>0||(null===(t=e.workingHours)||void 0===t?void 0:t.length)>0||(null===e||void 0===e||null===(n=e.shifts)||void 0===n?void 0:n.length)>0||(null===e||void 0===e?void 0:e.unavailabilityHours.length)>0)&&!e.deletedAt})).filter((function(e){var t=Vs()().format("YYYY-MM-DD");return 0===(null===e||void 0===e?void 0:e.dayOffs.length)||(null===e||void 0===e?void 0:e.dayOffs.every((function(e){var n=Vs()(e.start_date),r=Vs()(e.end_date);return!Vs()(t).isBetween(n,r,null)})))})).map((function(e){e.unavailabilityHours.length>0&&e.unavailabilityHours.forEach((function(t){var n;i.push({resourceId:e.id,id:t.id,start:t.startDate,end:null===t||void 0===t?void 0:t.endDate,title:"Unavailability",isVip:!1,treatmentTypes:[null===t||void 0===t?void 0:t.notes],labels:["Notes"],status:{id:99,slug:"unavailability"},doctor:{id:e.id,title:"".concat(e.user.firstName," ").concat(e.user.lastName),avatarUrl:e.user.avatarUrl,role:e.role,jobLabel:e.jobLabel},editable:!0,resourceEditable:!0,location:null===t||void 0===t||null===(n=t.location)||void 0===n?void 0:n.id})}));var t,n,o=Vs()(W.date).format("YYYY-MM-DD"),a=new Set(null===e||void 0===e?void 0:e.shifts.map((function(e){return Vs()(null===e||void 0===e?void 0:e.start_date).weekday()}))),s=[1,2,3,4,5,6,7].filter((function(e){return!a.has(e)}));if(null!==e&&void 0!==e&&e.workingHours&&null!==e&&void 0!==e&&e.workingHours[0]&&s.includes(Vs()(o).weekday())&&re){var l,c,u=Vs()("".concat(o," ").concat(null===e||void 0===e||null===(l=e.workingHours[0])||void 0===l?void 0:l.offTimeStart)).format("YYYY-MM-DDTHH:mm"),d=Vs()("".concat(o," ").concat(null===e||void 0===e||null===(c=e.workingHours[0])||void 0===c?void 0:c.offTimeEnd)).format("YYYY-MM-DDTHH:mm");i.push({resourceId:e.id,start:u,end:d,title:"Break",isVip:!1,labels:[],status:{id:100,slug:"break"},id:e.id,doctor:{id:e.id,title:"".concat(e.user.firstName," ").concat(e.user.lastName),avatarUrl:e.user.avatarUrl,role:e.role,jobLabel:e.jobLabel},editable:!1,eventResourceEditable:!1,droppable:!1,eventStartEditable:!1})}null!==e&&void 0!==e&&e.shifts&&(null===e||void 0===e||null===(t=e.shifts)||void 0===t||t.forEach((function(t){Vs()(o).weekday()===Vs()(null===t||void 0===t?void 0:t.start_date).weekday()&&i.push({resourceId:null===t||void 0===t?void 0:t.staff_id,start:Vs()("".concat(o," ").concat(null===t||void 0===t?void 0:t.off_time_start)).format("YYYY-MM-DDTHH:mm"),end:Vs()("".concat(o," ").concat(null===t||void 0===t?void 0:t.off_time_end)).format("YYYY-MM-DDTHH:mm"),title:"Shift break",isVip:!1,labels:[],status:{id:100,slug:"break"},id:e.id,doctor:{id:e.id,title:"".concat(e.user.firstName," ").concat(e.user.lastName),avatarUrl:e.user.avatarUrl,role:e.role,jobLabel:e.jobLabel},editable:!1,eventResourceEditable:!1,droppable:!1,eventStartEditable:!1})})));null!==e&&void 0!==e&&e.dayOffs&&(null===e||void 0===e||null===(n=e.dayOffs)||void 0===n||n.forEach((function(t){i.push({resourceId:null===t||void 0===t?void 0:t.staff_id,start:"".concat(null===t||void 0===t?void 0:t.start_date," 00:00"),end:"".concat(null===t||void 0===t?void 0:t.start_date," 23:59"),title:"Break",isVip:!1,labels:[],status:{id:100,slug:"break"},id:e.id,doctor:{id:e.id,title:"".concat(e.user.firstName," ").concat(e.user.lastName),avatarUrl:e.user.avatarUrl,role:e.role,jobLabel:e.jobLabel},editable:!1,eventResourceEditable:!1,droppable:!1,eventStartEditable:!1})})));var p=function(){var t,n,i,a=[];if(null!==e&&void 0!==e&&null!==(t=e.workingHours[0])&&void 0!==t&&t.startHour&&null!==e&&void 0!==e&&null!==(n=e.workingHours[0])&&void 0!==n&&n.endHour){var s,l,c,u,d,p=null===e||void 0===e||null===(s=e.shifts)||void 0===s?void 0:s.map((function(e){return Vs()(e.start_date).weekday()}));if(!p.includes(Vs()(o).weekday()))a.push({daysOfWeek:[Vs()(o).weekday()],startTime:null!==(l=null===e||void 0===e||null===(c=e.workingHours[0])||void 0===c?void 0:c.startHour)&&void 0!==l?l:"00:00",endTime:null!==(u=null===e||void 0===e||null===(d=e.workingHours[0])||void 0===d?void 0:d.endHour)&&void 0!==u?u:"23:59"})}var f=[].concat(a,(0,r.Z)(null===e||void 0===e||null===(i=e.shifts)||void 0===i?void 0:i.filter((function(e){var t;return(null===e||void 0===e||null===(t=e.location)||void 0===t?void 0:t.id)===(null===F||void 0===F?void 0:F.id)||0===(null===F||void 0===F?void 0:F.id)})).map((function(e){return{daysOfWeek:[Vs()(null===e||void 0===e?void 0:e.start_date).weekday()],startTime:null===e||void 0===e?void 0:e.start_at,endTime:null===e||void 0===e?void 0:e.end_at}}))));return 0===f.length&&(f=[{daysOfWeek:[Vs()(o).weekday()],startTime:"00:00",endTime:"00:00"}]),f};return S(i),{id:e.id,title:e.fullName,avatarUrl:e.user.avatarUrl,role:e.role,jobLabel:e.jobLabel,treatmentTypes:e.treatmentTypes,order:e.order,businessHours:p(),workingHours:p()}})),n=t.filter((function(e){return!0}));if(n=n.filter((function(e){return!e.title.includes("[DELETED]")})),"resourceTimeGridDay"===(null===W||void 0===W?void 0:W.view)||"timeGridWeek"===(null===W||void 0===W?void 0:W.view)&&1===n.length){var o=Vs()(null===W||void 0===W?void 0:W.date).format("YYYY-MM-DD"),a=n.map((function(e){return e.id}));Re.post("v1/staff/location",{staff_ids:a,date:o}).then((function(e){var t=n.map((function(t){var n=e.data.data.find((function(e){return e.id===t.id}));return n&&(t.location=n.clinicLocationId,t.locationName=n.clinicName),t}));l(t)})).catch((function(e){console.error("Error fetching staff locations:",e)}))}else l(n);var s=n.filter((function(e){var t=!1,n=!1;e.role.forEach((function(e){"Practitioner"===e.name?t=!0:"Admin"===e.name&&(n=!0)}));var r=e.workingHours.length>0&&"00:00"!==e.workingHours[0].startTime&&"00:00"!==e.workingHours[0].endTime,o=!e.title.includes("[DELETED]");return!n&&t&&r&&o}));L(s)}));case 10:return p=new yE,["patient.user","staff","status","types","treatmentTypes.category","clinicLocation.clinic","appointmentTreatmentTypes","payment.items.treatmentType.category"].forEach((function(e){return p.append("include",e)})),"resourceTimeGridDay"===W.view?(p.append("filter[date][start]",null===s||void 0===s?void 0:s.selected),p.append("filter[date][end]",null===s||void 0===s?void 0:s.selected)):(p.append("filter[date][start]",null===s||void 0===s?void 0:s.start),p.append("filter[date][end]",null===s||void 0===s?void 0:s.end)),p.append("fields[treatment-type-categories]","color"),e.next=17,Re.get("/v2/appointments?".concat(p.toString())).then((function(e){var t=e.data;ME.sync(t);var n=ME.findAll("appointments").filter((function(e){return"cancelled"!==e.status.slug&&(0===(null===F||void 0===F?void 0:F.id)||parseInt(e.clinicLocation.id)===parseInt(null===F||void 0===F?void 0:F.id))})).map((function(e){var t,n;return{id:parseInt(e.id),resourceId:parseInt(e.staff.id),start:e.startDate,end:e.endDate,title:Qs(e.patient.name,e.patient.lastName),patientId:parseInt(e.patient.id),isMedicalHistoryCompleted:e.patient.medicalHistoryCompleted,patientAppointmentsCount:e.patient.appointmentsCount,isVip:e.patient.isVip,labels:(0,r.Z)(e.types.map((function(e){return e.name}))),status:e.status,types:e.types.map((function(e){return parseInt(e.id)})),treatmentTypes:e.treatmentTypes.map((function(e){return e.name})),treatmentsFull:e.treatmentTypes.map((function(t){var n,r,o;return{id:parseInt(t.id),isMedical:null===(n=e.relationships)||void 0===n||null===(r=n.treatmentTypes.data.find((function(e){return e.id===t.id})))||void 0===r||null===(o=r.meta)||void 0===o?void 0:o.isMedical}})),isNewPatient:e.attributes.isNewPatient,isPaid:null===(t=e.payment)||void 0===t?void 0:t.isPaid,currency:Z.clinic.currency,paymentItems:null===(n=e.payment)||void 0===n?void 0:n.items,treatmentCategories:e.treatmentTypes.map((function(e){return e.category})),staffId:e.staff.id,editable:!0,resourceEditable:!0,linkedAppointmentsHash:e.linkedAppointmentsHash,location:parseInt(e.clinicLocation.id)}})),o=[].concat((0,r.Z)(n),i);N([]),N(o)}));case 17:y(!1);case 18:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();(0,e.useEffect)((function(){var e;null!==Z&&void 0!==Z&&null!==(e=Z.clinic)&&void 0!==e&&e.id&&oe()}),[W.date,W.view,d,W.refresh,null===F||void 0===F?void 0:F.id,null===W||void 0===W?void 0:W.selectedStaff,re,null===Z||void 0===Z?void 0:Z.clinic,_]);var ie=function(e,t,n,r,o,i){if(null===W||void 0===W||W.setPopperModalOpen(!0),I.clear(),I.setDoctor(Number(t),n,r,o),0===F.id){var a=Vs()(null===W||void 0===W?void 0:W.date).format("YYYY-MM-DD");Re.post("v1/staff/location",{staff_id:t,date:a}).then((function(e){I.setLocation(e.data.data.clinicLocationId)}))}else I.setLocation(null===F||void 0===F?void 0:F.id);var s=i.map((function(e){var t=Ml(e);return Us(Us({},e),{},{selected:!1},t)}));I.setTreatmentTypes(s),I.clearTypes()},ae=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,r,o,i,a,l,c,u,d,p,f,h,b,A;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.event,o=r.start,i=r.end,a=r._def,l=r.id,c=r.extendedProps,u=Vs()(o).format("YYYY-MM-DDTHH:mm"),d=Vs()(i).format("YYYY-MM-DDTHH:mm"),p={id:l,staffId:a.resourceIds[0],startDate:u,endDate:d,patientId:c.patientId,types:c.types,treatmentTypes:c.treatmentsFull,linkedAppointmentsHash:c.linkedAppointmentsHash,clinic_location_id:null===c||void 0===c?void 0:c.location},"unavailability"!==(null===c||void 0===c||null===(n=c.status)||void 0===n?void 0:n.slug)){e.next=9;break}f={staff_id:a.resourceIds[0],start_date:u,end_date:d,notes:null===c||void 0===c?void 0:c.treatmentTypes[0],clinic_location_id:null===c||void 0===c?void 0:c.location},Re.put("/v1/unavailability-hours/".concat(l),f).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return H(e,{variant:"error"})}))}))})),e.next=22;break;case 9:if(b=c.treatmentsFull.map((function(e){return null===e||void 0===e?void 0:e.id})),Vs()(null===t||void 0===t?void 0:t.oldEvent.start).isSame(o)){e.next=14;break}return J(p),X(),e.abrupt("return");case 14:if(A=null===(h=s.find((function(e){return e.id===Number(a.resourceIds[0])})))||void 0===h?void 0:h.treatmentTypes.map((function(e){return null===e||void 0===e?void 0:e.id})),!b.every((function(e){return A.includes(e)}))){e.next=20;break}return e.next=18,se(p);case 18:e.next=22;break;case 20:t.revert(),H("The practitioner does not have the selected services",{variant:"warning"});case 22:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),se=(0,e.useCallback)((function(e){Re.put("/v1/appointment/".concat(e.id),e).then((function(){return J(null)})).catch((function(e){return H(e.message,{variant:"error"})}))}),[]),le=(0,e.useCallback)((function(e){se(Us(Us({},K),{},{notify:e})),Q()}),[K]);return(0,e.useEffect)((function(){q.current&&W.setRef(q)}),[q,W,W.date]),(0,Kl.jsxs)("div",{className:mw,children:[(0,Kl.jsx)(pS,{filter:d,setFilter:p}),(0,Kl.jsxs)("div",{className:gw,children:[v&&(0,Kl.jsx)(NE,{}),"resourceTimeGridDay"!==(null===W||void 0===W?void 0:W.view)&&B.length>1&&(0,Kl.jsx)(MF,{rooms:s,events:D,privateMode:ee,onClickEvent:ie}),"resourceTimeGridDay"!==(null===W||void 0===W?void 0:W.view)&&B.length<=1&&(0,Kl.jsx)(xF,{rooms:s,events:D,appointmentUpdate:_,setAppointmentUpdate:z,singleDoctor:B,setSingleDoctor:L,privateMode:ee,onClickEvent:ie}),"resourceTimeGridDay"===(null===W||void 0===W?void 0:W.view)&&(0,Kl.jsx)(JO,{slotEventOverlap:!1,ref:q,plugins:[Hx,w_,Aw,Bx],firstDay:1,scrollTime:null,eventDrop:ae,eventResize:ae,snapDuration:"00:05",duration:"00:15",initialView:"resourceTimeGridDay",slotDuration:"00:30:00",initialDate:Vs()(W.date).format("YYYY-MM-DDTHH:mm"),visibleRange:function(e){return{start:Vs()(e).subtract(2,"days").startOf("day").format("YYYY-MM-DD"),end:Vs()(e).add(2,"days").endOf("day").format("YYYY-MM-DD")}},resources:s,resourceOrder:"order",contentHeight:"100%",height:"100%",expandRows:!0,nowIndicator:!0,slotLabelInterval:"00:15:00",slotLabelFormat:function(e){return"".concat(e.date.hour<=9?"0".concat(e.date.hour):e.date.hour,":").concat(e.date.minute<=9?"0".concat(e.date.minute):e.date.minute)},slotMinTime:"08:00:00",slotMaxTime:"23:59:00",allDaySlot:!1,dayHeaderContent:function(e){return(0,Kl.jsx)(MS,{date:null===e||void 0===e?void 0:e.date,onClickAdd:ie})},resourceLabelContent:function(e){return(0,Kl.jsx)(Lw,Us(Us({},e),{},{setDialogOpen:A,locationName:s.filter((function(t){return parseInt(t.id)===parseInt(e.resource.id)}))[0].locationName,onClickAdd:ie}))},headerToolbar:!1,eventBackgroundColor:"transparent",eventContent:function(e){var t=e.event;return(0,Kl.jsx)(cC,{event:t,privateMode:ee,rooms:s})},dayCellClassNames:[vw],events:D,eventClick:function(e){R("/calendar"),setTimeout((function(){switch(e.event._def.extendedProps.status.slug){case"upcoming":case"not-show":default:I.clear(),R("/calendar/appointment/".concat(e.event.id));break;case"active":case"completed":I.clear(),R("/calendar/appointment/".concat(e.event.id,"?status=active"));break;case"unavailability":var t,n,r,o,i,a,s,l,c;I.setUnavailabilityNotes(null!==(t=null===(n=e.event._def.extendedProps.treatmentTypes)||void 0===n?void 0:n[0])&&void 0!==t?t:"");var u=e.event._def.extendedProps.doctor,d=u.id,p=u.title,f=u.role,h=u.avatarUrl;I.setDoctor(d,p,null===f||void 0===f||null===(r=f[0])||void 0===r?void 0:r.name,h);var b=Vs()(null===e||void 0===e||null===(o=e.event)||void 0===o?void 0:o.start).format("YYYY-MM-DDTHH:mm");I.setStartDate(b);var A=Vs()(null!==(i=null===e||void 0===e||null===(a=e.event)||void 0===a?void 0:a.end)&&void 0!==i?i:null===e||void 0===e||null===(s=e.event)||void 0===s?void 0:s.start).format("YYYY-MM-DDTHH:mm");I.setLocation(null===e||void 0===e||null===(l=e.event)||void 0===l||null===(c=l._def)||void 0===c?void 0:c.extendedProps.location),I.setEndDate(A),R("/calendar/unavailability/".concat(e.event.id));break;case"break":var m,g,v,y,M,O=e.event._def.extendedProps.doctor,_=O.id,z=O.title,x=O.role,w=O.avatarUrl;I.setDoctor(_,z,null===x||void 0===x||null===(m=x[0])||void 0===m?void 0:m.name,w);var C=Vs()(null===e||void 0===e||null===(g=e.event)||void 0===g?void 0:g.start).format("YYYY-MM-DDTHH:mm");I.setStartDate(C);var S=Vs()(null!==(v=null===e||void 0===e||null===(y=e.event)||void 0===y?void 0:y.end)&&void 0!==v?v:null===e||void 0===e||null===(M=e.event)||void 0===M?void 0:M.start).format("YYYY-MM-DDTHH:mm");I.setEndDate(S),null===W||void 0===W||W.setPopperModalOpen(!0)}}),300)},dayMinWidth:200,select:function(e){if(!(wF.map((function(e){return U.pathname.includes(e)})).filter((function(e){return!0===e})).length>0))if("resourceTimeGridDay"===e.view.type){var t,n,r,o,i,a,s,l,c,u=e.resource.toPlainObject(),d=null!==u&&void 0!==u&&u.title?null===u||void 0===u?void 0:u.title:"",p=null!==u&&void 0!==u&&null!==(t=u.extendedProps)&&void 0!==t&&null!==(n=t.role)&&void 0!==n&&null!==(r=n[0])&&void 0!==r&&r.name?null===u||void 0===u||null===(o=u.extendedProps)||void 0===o||null===(i=o.role)||void 0===i||null===(a=i[0])||void 0===a?void 0:a.name:"",f=null!==u&&void 0!==u&&null!==(s=u.extendedProps)&&void 0!==s&&s.avatarUrl?null===u||void 0===u||null===(l=u.extendedProps)||void 0===l?void 0:l.avatarUrl:"",h=null===u||void 0===u||null===(c=u.extendedProps)||void 0===c?void 0:c.treatmentTypes,b=Vs()(e.start).format("YYYY-MM-DDTHH:mm");I.setStartDate(b);var A=Vs()(e.start).add(30,"minutes").format("YYYY-MM-DDTHH:mm");I.setEndDate(A),null===W||void 0===W||W.setPopperModalOpen(!0),ie(0,null!==u&&void 0!==u&&u.id?null===u||void 0===u?void 0:u.id:0,d,p,f,h)}else{var m=Vs()(e.start).format("YYYY-MM-DDTHH:mm");I.setStartDate(m);var g=Vs()(e.start).add(30,"minutes").format("YYYY-MM-DDTHH:mm");I.setEndDate(g),null===W||void 0===W||W.setPopperModalOpen(!0),ie(0,0,"","","",[])}},selectable:!0,eventAllow:function(e){return!(wF.map((function(e){return U.pathname.includes(e)})).filter((function(e){return!0===e})).length>0)},selectAllow:function(e){if(!(wF.map((function(e){return U.pathname.includes(e)})).filter((function(e){return!0===e})).length>0))return Vs().duration(Vs()(e.end).diff(e.start)).asMinutes()<=30}}),b&&(0,Kl.jsx)(SC,{dialogOpen:b,setDialogOpen:A,unavailableHours:C}),(0,Kl.jsx)(Ee,{context:{calendarRef:q}}),(0,Kl.jsx)(mS,{popperModalOpen:null===W||void 0===W?void 0:W.popperModalOpen,setPopperModalOpen:null===W||void 0===W?void 0:W.setPopperModalOpen,setDialogOpen:A}),(0,Kl.jsxs)(vC,{open:V,onClose:function(){return le(!1)},children:[(0,Kl.jsx)(_E,{children:(0,Kl.jsx)(kl.Z,{children:"Do you want to notify the patient about the change in appointment time?"})}),(0,Kl.jsxs)(xE,{children:[(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",size:"small",onClick:function(){return le(!0)},children:"Yes"}),(0,Kl.jsx)(zd.Z,{variant:"outlined",color:"primary",size:"small",onClick:function(){return le(!1)},children:"No"})]})]})]})]})})),SF=CF,EF=$l((function(){var t=me().appointmentId,n=Fc().appointment;(0,e.useEffect)((function(){Number(t)!==Number(n.id)&&r(t)}),[n.id,t]);var r=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var r,o;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get("/v1/appointment/".concat(t));case 2:r=e.sent,o=r.data,n.init(o.data);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return(0,Kl.jsx)(pF,{})})),kF=EF,DF="dashboard_container__xu5nX",NF="dashboard_dashboardHeader__ReFk0",TF="dashboard_selector__nKSPN",jF="dashboard_locationSelector__7EbzL",BF="dashboard_accessDenied__s8YhK",LF={container:"dashboardHeader_container__DuoGt",header:"dashboardHeader_header__MMS-W",headerTitle:"dashboardHeader_headerTitle__5N6m-",headerSubTitle:"dashboardHeader_headerSubTitle__hFOEE",charts:"dashboardHeader_charts__GCdx1"},RF="headerBarChart_chartWrapper__yvD2j",qF="headerBarChart_chartHeader__s8eX7",PF="headerBarChart_chartHeaderController__7c7Df",IF="headerBarChart_chartHeaderControllerLeft__0z5vM",WF="headerBarChart_selectorsContainer__N+0a6",FF="headerBarChart_staffSelector__He3BV",UF="headerBarChart_chartHeaderControllerTitle__ITUaR",ZF="headerBarChart_chartChip__wY06k",HF="headerBarChart_chartChipNumber__eqMkU",$F="headerBarChart_chartTotal__3SMYq",VF="headerBarChart_viewButton__Vq6Zh",XF="headerBarChart_chart__o4Nno",QF="headerBarChart_noData__FBNgt",YF=__webpack_require__(97326),GF=__webpack_require__(11752),KF=__webpack_require__(61120);function JF(e){return e+.5|0}var eU=function(e,t,n){return Math.max(Math.min(e,n),t)};function tU(e){return eU(JF(2.55*e),0,255)}function nU(e){return eU(JF(255*e),0,255)}function rU(e){return eU(JF(e/2.55)/100,0,1)}function oU(e){return eU(JF(100*e),0,100)}var iU={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},aU=(0,r.Z)("0123456789ABCDEF"),sU=function(e){return aU[15&e]},lU=function(e){return aU[(240&e)>>4]+aU[15&e]},cU=function(e){return(240&e)>>4===(15&e)};function uU(e){var t=function(e){return cU(e.r)&&cU(e.g)&&cU(e.b)&&cU(e.a)}(e)?sU:lU;return e?"#"+t(e.r)+t(e.g)+t(e.b)+function(e,t){return e<255?t(e):""}(e.a,t):void 0}var dU=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function pU(e,t,n){var r=t*Math.min(n,1-n),o=function(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(t+e/30)%12;return n-r*Math.max(Math.min(o-3,9-o,1),-1)};return[o(0),o(8),o(4)]}function fU(e,t,n){var r=function(r){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(r+e/60)%6;return n-n*t*Math.max(Math.min(o,4-o,1),0)};return[r(5),r(3),r(1)]}function hU(e,t,n){var r,o=pU(e,1,.5);for(t+n>1&&(t*=r=1/(t+n),n*=r),r=0;r<3;r++)o[r]*=1-t-n,o[r]+=t;return o}function bU(e){var t,n,r,o=e.r/255,i=e.g/255,a=e.b/255,s=Math.max(o,i,a),l=Math.min(o,i,a),c=(s+l)/2;return s!==l&&(r=s-l,n=c>.5?r/(2-s-l):r/(s+l),t=function(e,t,n,r,o){return e===o?(t-n)/r+(t<n?6:0):t===o?(n-e)/r+2:(e-t)/r+4}(o,i,a,r,s),t=60*t+.5),[0|t,n||0,c]}function AU(e,t,n,r){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,n,r)).map(nU)}function mU(e,t,n){return AU(pU,e,t,n)}function gU(e){return(e%360+360)%360}function vU(e){var t,n=dU.exec(e),r=255;if(n){n[5]!==t&&(r=n[6]?tU(+n[5]):nU(+n[5]));var o=gU(+n[2]),i=+n[3]/100,a=+n[4]/100;return t="hwb"===n[1]?function(e,t,n){return AU(hU,e,t,n)}(o,i,a):"hsv"===n[1]?function(e,t,n){return AU(fU,e,t,n)}(o,i,a):mU(o,i,a),{r:t[0],g:t[1],b:t[2],a:r}}}var yU,MU={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},OU={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function _U(e){yU||(yU=function(){var e,t,n,r,o,i={},a=Object.keys(OU),s=Object.keys(MU);for(e=0;e<a.length;e++){for(r=o=a[e],t=0;t<s.length;t++)n=s[t],o=o.replace(n,MU[n]);n=parseInt(OU[r],16),i[o]=[n>>16&255,n>>8&255,255&n]}return i}(),yU.transparent=[0,0,0,0]);var t=yU[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:4===t.length?t[3]:255}}var zU=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;var xU=function(e){return e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055},wU=function(e){return e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)};function CU(e,t,n){if(e){var r=bU(e);r[t]=Math.max(0,Math.min(r[t]+r[t]*n,0===t?360:1)),r=mU(r),e.r=r[0],e.g=r[1],e.b=r[2]}}function SU(e,t){return e?Object.assign(t||{},e):e}function EU(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=nU(e[3]))):(t=SU(e,{r:0,g:0,b:0,a:1})).a=nU(t.a),t}function kU(e){return"r"===e.charAt(0)?function(e){var t,n,r,o=zU.exec(e),i=255;if(o){if(o[7]!==t){var a=+o[7];i=o[8]?tU(a):eU(255*a,0,255)}return t=+o[1],n=+o[3],r=+o[5],{r:t=255&(o[2]?tU(t):eU(t,0,255)),g:n=255&(o[4]?tU(n):eU(n,0,255)),b:r=255&(o[6]?tU(r):eU(r,0,255)),a:i}}}(e):vU(e)}var DU=function(){function e(t){if((0,o.Z)(this,e),t instanceof e)return t;var n,r=typeof t;"object"===r?n=EU(t):"string"===r&&(n=function(e){var t,n=e.length;return"#"===e[0]&&(4===n||5===n?t={r:255&17*iU[e[1]],g:255&17*iU[e[2]],b:255&17*iU[e[3]],a:5===n?17*iU[e[4]]:255}:7!==n&&9!==n||(t={r:iU[e[1]]<<4|iU[e[2]],g:iU[e[3]]<<4|iU[e[4]],b:iU[e[5]]<<4|iU[e[6]],a:9===n?iU[e[7]]<<4|iU[e[8]]:255})),t}(t)||_U(t)||kU(t)),this._rgb=n,this._valid=!!n}return(0,i.Z)(e,[{key:"valid",get:function(){return this._valid}},{key:"rgb",get:function(){var e=SU(this._rgb);return e&&(e.a=rU(e.a)),e},set:function(e){this._rgb=EU(e)}},{key:"rgbString",value:function(){return this._valid?(e=this._rgb)&&(e.a<255?"rgba(".concat(e.r,", ").concat(e.g,", ").concat(e.b,", ").concat(rU(e.a),")"):"rgb(".concat(e.r,", ").concat(e.g,", ").concat(e.b,")")):void 0;var e}},{key:"hexString",value:function(){return this._valid?uU(this._rgb):void 0}},{key:"hslString",value:function(){return this._valid?function(e){if(e){var t=bU(e),n=t[0],r=oU(t[1]),o=oU(t[2]);return e.a<255?"hsla(".concat(n,", ").concat(r,"%, ").concat(o,"%, ").concat(rU(e.a),")"):"hsl(".concat(n,", ").concat(r,"%, ").concat(o,"%)")}}(this._rgb):void 0}},{key:"mix",value:function(e,t){if(e){var n,r=this.rgb,o=e.rgb,i=t===n?.5:t,a=2*i-1,s=r.a-o.a,l=((a*s===-1?a:(a+s)/(1+a*s))+1)/2;n=1-l,r.r=255&l*r.r+n*o.r+.5,r.g=255&l*r.g+n*o.g+.5,r.b=255&l*r.b+n*o.b+.5,r.a=i*r.a+(1-i)*o.a,this.rgb=r}return this}},{key:"interpolate",value:function(e,t){return e&&(this._rgb=function(e,t,n){var r=wU(rU(e.r)),o=wU(rU(e.g)),i=wU(rU(e.b));return{r:nU(xU(r+n*(wU(rU(t.r))-r))),g:nU(xU(o+n*(wU(rU(t.g))-o))),b:nU(xU(i+n*(wU(rU(t.b))-i))),a:e.a+n*(t.a-e.a)}}(this._rgb,e._rgb,t)),this}},{key:"clone",value:function(){return new e(this.rgb)}},{key:"alpha",value:function(e){return this._rgb.a=nU(e),this}},{key:"clearer",value:function(e){return this._rgb.a*=1-e,this}},{key:"greyscale",value:function(){var e=this._rgb,t=JF(.3*e.r+.59*e.g+.11*e.b);return e.r=e.g=e.b=t,this}},{key:"opaquer",value:function(e){return this._rgb.a*=1+e,this}},{key:"negate",value:function(){var e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}},{key:"lighten",value:function(e){return CU(this._rgb,2,e),this}},{key:"darken",value:function(e){return CU(this._rgb,2,-e),this}},{key:"saturate",value:function(e){return CU(this._rgb,1,e),this}},{key:"desaturate",value:function(e){return CU(this._rgb,1,-e),this}},{key:"rotate",value:function(e){return function(e,t){var n=bU(e);n[0]=gU(n[0]+t),n=mU(n),e.r=n[0],e.g=n[1],e.b=n[2]}(this._rgb,e),this}}]),e}();function NU(){}var TU=function(){var e=0;return function(){return e++}}();function jU(e){return null===e||"undefined"===typeof e}function BU(e){if(Array.isArray&&Array.isArray(e))return!0;var t=Object.prototype.toString.call(e);return"[object"===t.slice(0,7)&&"Array]"===t.slice(-6)}function LU(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)}function RU(e){return("number"===typeof e||e instanceof Number)&&isFinite(+e)}function qU(e,t){return RU(e)?e:t}function PU(e,t){return"undefined"===typeof e?t:e}var IU=function(e,t){return"string"===typeof e&&e.endsWith("%")?parseFloat(e)/100*t:+e};function WU(e,t,n){if(e&&"function"===typeof e.call)return e.apply(n,t)}function FU(e,t,n,r){var o,i,a;if(BU(e))if(i=e.length,r)for(o=i-1;o>=0;o--)t.call(n,e[o],o);else for(o=0;o<i;o++)t.call(n,e[o],o);else if(LU(e))for(i=(a=Object.keys(e)).length,o=0;o<i;o++)t.call(n,e[a[o]],a[o])}function UU(e,t){var n,r,o,i;if(!e||!t||e.length!==t.length)return!1;for(n=0,r=e.length;n<r;++n)if(o=e[n],i=t[n],o.datasetIndex!==i.datasetIndex||o.index!==i.index)return!1;return!0}function ZU(e){if(BU(e))return e.map(ZU);if(LU(e)){for(var t=Object.create(null),n=Object.keys(e),r=n.length,o=0;o<r;++o)t[n[o]]=ZU(e[n[o]]);return t}return e}function HU(e){return-1===["__proto__","prototype","constructor"].indexOf(e)}function $U(e,t,n,r){if(HU(e)){var o=t[e],i=n[e];LU(o)&&LU(i)?VU(o,i,r):t[e]=ZU(i)}}function VU(e,t,n){var r=BU(t)?t:[t],o=r.length;if(!LU(e))return e;for(var i,a=(n=n||{}).merger||$U,s=0;s<o;++s)if(LU(i=r[s]))for(var l=Object.keys(i),c=0,u=l.length;c<u;++c)a(l[c],e,i,n);return e}function XU(e,t){return VU(e,t,{merger:QU})}function QU(e,t,n){if(HU(e)){var r=t[e],o=n[e];LU(r)&&LU(o)?XU(r,o):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=ZU(o))}}var YU={"":function(e){return e},x:function(e){return e.x},y:function(e){return e.y}};function GU(e){var t=function(e){var t,n=e.split("."),r=[],o="",i=(0,b.Z)(n);try{for(i.s();!(t=i.n()).done;)(o+=t.value).endsWith("\\")?o=o.slice(0,-1)+".":(r.push(o),o="")}catch(a){i.e(a)}finally{i.f()}return r}(e);return function(e){var n,r=(0,b.Z)(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(""===o)break;e=e&&e[o]}}catch(i){r.e(i)}finally{r.f()}return e}}function KU(e,t){return(YU[t]||(YU[t]=GU(t)))(e)}function JU(e){return e.charAt(0).toUpperCase()+e.slice(1)}var eZ=function(e){return"undefined"!==typeof e},tZ=function(e){return"function"===typeof e},nZ=function(e,t){if(e.size!==t.size)return!1;var n,r=(0,b.Z)(e);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(!t.has(o))return!1}}catch(i){r.e(i)}finally{r.f()}return!0};var rZ=Math.PI,oZ=2*rZ,iZ=oZ+rZ,aZ=Number.POSITIVE_INFINITY,sZ=rZ/180,lZ=rZ/2,cZ=rZ/4,uZ=2*rZ/3,dZ=Math.log10,pZ=Math.sign;function fZ(e,t,n){return Math.abs(e-t)<n}function hZ(e){var t=Math.round(e);e=fZ(e,t,e/1e3)?t:e;var n=Math.pow(10,Math.floor(dZ(e))),r=e/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function bZ(e){return!isNaN(parseFloat(e))&&isFinite(e)}function AZ(e,t,n){var r,o,i;for(r=0,o=e.length;r<o;r++)i=e[r][n],isNaN(i)||(t.min=Math.min(t.min,i),t.max=Math.max(t.max,i))}function mZ(e){return e*(rZ/180)}function gZ(e){return e*(180/rZ)}function vZ(e){if(RU(e)){for(var t=1,n=0;Math.round(e*t)/t!==e;)t*=10,n++;return n}}function yZ(e,t){var n=t.x-e.x,r=t.y-e.y,o=Math.sqrt(n*n+r*r),i=Math.atan2(r,n);return i<-.5*rZ&&(i+=oZ),{angle:i,distance:o}}function MZ(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function OZ(e,t){return(e-t+iZ)%oZ-rZ}function _Z(e){return(e%oZ+oZ)%oZ}function zZ(e,t,n,r){var o=_Z(e),i=_Z(t),a=_Z(n),s=_Z(i-o),l=_Z(a-o),c=_Z(o-i),u=_Z(o-a);return o===i||o===a||r&&i===a||s>l&&c<u}function xZ(e,t,n){return Math.max(t,Math.min(n,e))}function wZ(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1e-6;return e>=Math.min(t,n)-r&&e<=Math.max(t,n)+r}function CZ(e,t,n){n=n||function(n){return e[n]<t};for(var r,o=e.length-1,i=0;o-i>1;)n(r=i+o>>1)?i=r:o=r;return{lo:i,hi:o}}var SZ=function(e,t,n,r){return CZ(e,n,r?function(r){var o=e[r][t];return o<n||o===n&&e[r+1][t]===n}:function(r){return e[r][t]<n})},EZ=function(e,t,n){return CZ(e,n,(function(r){return e[r][t]>=n}))};var kZ=["push","pop","shift","splice","unshift"];function DZ(e,t){var n=e._chartjs;if(n){var r=n.listeners,o=r.indexOf(t);-1!==o&&r.splice(o,1),r.length>0||(kZ.forEach((function(t){delete e[t]})),delete e._chartjs)}}function NZ(e){var t,n,r=new Set;for(t=0,n=e.length;t<n;++t)r.add(e[t]);return r.size===n?e:Array.from(r)}var TZ="undefined"===typeof window?function(e){return e()}:window.requestAnimationFrame;function jZ(e,t){var n=[],r=!1;return function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];n=i,r||(r=!0,TZ.call(window,(function(){r=!1,e.apply(t,n)})))}}var BZ=function(e){return"start"===e?"left":"end"===e?"right":"center"},LZ=function(e,t,n){return"start"===e?t:"end"===e?n:(t+n)/2};function RZ(e,t,n){var r=t.length,o=0,i=r;if(e._sorted){var a=e.iScale,s=e._parsed,l=a.axis,c=a.getUserBounds(),u=c.min,d=c.max,p=c.minDefined,f=c.maxDefined;p&&(o=xZ(Math.min(SZ(s,a.axis,u).lo,n?r:SZ(t,l,a.getPixelForValue(u)).lo),0,r-1)),i=f?xZ(Math.max(SZ(s,a.axis,d,!0).hi+1,n?0:SZ(t,l,a.getPixelForValue(d),!0).hi+1),o,r)-o:r-o}return{start:o,count:i}}function qZ(e){var t=e.xScale,n=e.yScale,r=e._scaleRanges,o={xmin:t.min,xmax:t.max,ymin:n.min,ymax:n.max};if(!r)return e._scaleRanges=o,!0;var i=r.xmin!==t.min||r.xmax!==t.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,o),i}var PZ=function(e){return 0===e||1===e},IZ=function(e,t,n){return-Math.pow(2,10*(e-=1))*Math.sin((e-t)*oZ/n)},WZ=function(e,t,n){return Math.pow(2,-10*e)*Math.sin((e-t)*oZ/n)+1},FZ={linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return-e*(e-2)},easeInOutQuad:function(e){return(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1)},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return(e-=1)*e*e+1},easeInOutCubic:function(e){return(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return-((e-=1)*e*e*e-1)},easeInOutQuart:function(e){return(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},easeInQuint:function(e){return e*e*e*e*e},easeOutQuint:function(e){return(e-=1)*e*e*e*e+1},easeInOutQuint:function(e){return(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},easeInSine:function(e){return 1-Math.cos(e*lZ)},easeOutSine:function(e){return Math.sin(e*lZ)},easeInOutSine:function(e){return-.5*(Math.cos(rZ*e)-1)},easeInExpo:function(e){return 0===e?0:Math.pow(2,10*(e-1))},easeOutExpo:function(e){return 1===e?1:1-Math.pow(2,-10*e)},easeInOutExpo:function(e){return PZ(e)?e:e<.5?.5*Math.pow(2,10*(2*e-1)):.5*(2-Math.pow(2,-10*(2*e-1)))},easeInCirc:function(e){return e>=1?e:-(Math.sqrt(1-e*e)-1)},easeOutCirc:function(e){return Math.sqrt(1-(e-=1)*e)},easeInOutCirc:function(e){return(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},easeInElastic:function(e){return PZ(e)?e:IZ(e,.075,.3)},easeOutElastic:function(e){return PZ(e)?e:WZ(e,.075,.3)},easeInOutElastic:function(e){var t=.1125;return PZ(e)?e:e<.5?.5*IZ(2*e,t,.45):.5+.5*WZ(2*e-1,t,.45)},easeInBack:function(e){var t=1.70158;return e*e*((t+1)*e-t)},easeOutBack:function(e){var t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},easeInOutBack:function(e){var t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},easeInBounce:function(e){return 1-FZ.easeOutBounce(1-e)},easeOutBounce:function(e){var t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},easeInOutBounce:function(e){return e<.5?.5*FZ.easeInBounce(2*e):.5*FZ.easeOutBounce(2*e-1)+.5}};function UZ(e){if(e&&"object"===typeof e){var t=e.toString();return"[object CanvasPattern]"===t||"[object CanvasGradient]"===t}return!1}function ZZ(e){return UZ(e)?e:new DU(e)}function HZ(e){return UZ(e)?e:new DU(e).saturate(.5).darken(.1).hexString()}var $Z=["x","y","borderWidth","radius","tension"],VZ=["color","borderColor","backgroundColor"];var XZ=new Map;function QZ(e,t,n){return function(e,t){t=t||{};var n=e+JSON.stringify(t),r=XZ.get(n);return r||(r=new Intl.NumberFormat(e,t),XZ.set(n,r)),r}(t,n).format(e)}var YZ={values:function(e){return BU(e)?e:""+e},numeric:function(e,t,n){if(0===e)return"0";var r,o=this.chart.options.locale,i=e;if(n.length>1){var a=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(a<1e-4||a>1e15)&&(r="scientific"),i=function(e,t){var n=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;Math.abs(n)>=1&&e!==Math.floor(e)&&(n=e-Math.floor(e));return n}(e,n)}var s=dZ(Math.abs(i)),l=Math.max(Math.min(-1*Math.floor(s),20),0),c={notation:r,minimumFractionDigits:l,maximumFractionDigits:l};return Object.assign(c,this.options.ticks.format),QZ(e,o,c)},logarithmic:function(e,t,n){if(0===e)return"0";var r=n[t].significand||e/Math.pow(10,Math.floor(dZ(e)));return[1,2,3,5,10,15].includes(r)||t>.8*n.length?YZ.numeric.call(this,e,t,n):""}};var GZ={formatters:YZ};var KZ=Object.create(null),JZ=Object.create(null);function eH(e,t){if(!t)return e;for(var n=t.split("."),r=0,o=n.length;r<o;++r){var i=n[r];e=e[i]||(e[i]=Object.create(null))}return e}function tH(e,t,n){return"string"===typeof t?VU(eH(e,t),n):VU(eH(e,""),t)}var nH=function(){function e(t,n){(0,o.Z)(this,e),this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=function(e){return e.chart.platform.getDevicePixelRatio()},this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=function(e,t){return HZ(t.backgroundColor)},this.hoverBorderColor=function(e,t){return HZ(t.borderColor)},this.hoverColor=function(e,t){return HZ(t.color)},this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t),this.apply(n)}return(0,i.Z)(e,[{key:"set",value:function(e,t){return tH(this,e,t)}},{key:"get",value:function(e){return eH(this,e)}},{key:"describe",value:function(e,t){return tH(JZ,e,t)}},{key:"override",value:function(e,t){return tH(KZ,e,t)}},{key:"route",value:function(e,t,n,r){var o=eH(this,e),i=eH(this,n),a="_"+t;Object.defineProperties(o,{[a]:{value:o[t],writable:!0},[t]:{enumerable:!0,get:function(){var e=this[a],t=i[r];return LU(e)?Object.assign({},t,e):PU(e,t)},set:function(e){this[a]=e}}})}},{key:"apply",value:function(e){var t=this;e.forEach((function(e){return e(t)}))}}]),e}(),rH=new nH({_scriptable:function(e){return!e.startsWith("on")},_indexable:function(e){return"events"!==e},hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[function(e){e.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:function(e){return"onProgress"!==e&&"onComplete"!==e&&"fn"!==e}}),e.set("animations",{colors:{type:"color",properties:VZ},numbers:{type:"number",properties:$Z}}),e.describe("animations",{_fallback:"animation"}),e.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:function(e){return 0|e}}}}})},function(e){e.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})},function(e){e.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:function(e,t){return t.lineWidth},tickColor:function(e,t){return t.color},offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:GZ.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),e.route("scale.ticks","color","","color"),e.route("scale.grid","color","","borderColor"),e.route("scale.border","color","","borderColor"),e.route("scale.title","color","","color"),e.describe("scale",{_fallback:!1,_scriptable:function(e){return!e.startsWith("before")&&!e.startsWith("after")&&"callback"!==e&&"parser"!==e},_indexable:function(e){return"borderDash"!==e&&"tickBorderDash"!==e&&"dash"!==e}}),e.describe("scales",{_fallback:"scale"}),e.describe("scale.ticks",{_scriptable:function(e){return"backdropPadding"!==e&&"callback"!==e},_indexable:function(e){return"backdropPadding"!==e}})}]);function oH(e,t,n,r,o){var i=t[o];return i||(i=t[o]=e.measureText(o).width,n.push(o)),i>r&&(r=i),r}function iH(e,t,n,r){var o=(r=r||{}).data=r.data||{},i=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(o=r.data={},i=r.garbageCollect=[],r.font=t),e.save(),e.font=t;var a,s,l,c,u,d=0,p=n.length;for(a=0;a<p;a++)if(void 0!==(c=n[a])&&null!==c&&!0!==BU(c))d=oH(e,o,i,d,c);else if(BU(c))for(s=0,l=c.length;s<l;s++)void 0===(u=c[s])||null===u||BU(u)||(d=oH(e,o,i,d,u));e.restore();var f=i.length/2;if(f>n.length){for(a=0;a<f;a++)delete o[i[a]];i.splice(0,f)}return d}function aH(e,t,n){var r=e.currentDevicePixelRatio,o=0!==n?Math.max(n/2,.5):0;return Math.round((t-o)*r)/r+o}function sH(e,t){(t=t||e.getContext("2d")).save(),t.resetTransform(),t.clearRect(0,0,e.width,e.height),t.restore()}function lH(e,t,n,r){cH(e,t,n,r,null)}function cH(e,t,n,r,o){var i,a,s,l,c,u,d,p,f=t.pointStyle,h=t.rotation,b=t.radius,A=(h||0)*sZ;if(f&&"object"===typeof f&&("[object HTMLImageElement]"===(i=f.toString())||"[object HTMLCanvasElement]"===i))return e.save(),e.translate(n,r),e.rotate(A),e.drawImage(f,-f.width/2,-f.height/2,f.width,f.height),void e.restore();if(!(isNaN(b)||b<=0)){switch(e.beginPath(),f){default:o?e.ellipse(n,r,o/2,b,0,0,oZ):e.arc(n,r,b,0,oZ),e.closePath();break;case"triangle":u=o?o/2:b,e.moveTo(n+Math.sin(A)*u,r-Math.cos(A)*b),A+=uZ,e.lineTo(n+Math.sin(A)*u,r-Math.cos(A)*b),A+=uZ,e.lineTo(n+Math.sin(A)*u,r-Math.cos(A)*b),e.closePath();break;case"rectRounded":l=b-(c=.516*b),a=Math.cos(A+cZ)*l,d=Math.cos(A+cZ)*(o?o/2-c:l),s=Math.sin(A+cZ)*l,p=Math.sin(A+cZ)*(o?o/2-c:l),e.arc(n-d,r-s,c,A-rZ,A-lZ),e.arc(n+p,r-a,c,A-lZ,A),e.arc(n+d,r+s,c,A,A+lZ),e.arc(n-p,r+a,c,A+lZ,A+rZ),e.closePath();break;case"rect":if(!h){l=Math.SQRT1_2*b,u=o?o/2:l,e.rect(n-u,r-l,2*u,2*l);break}A+=cZ;case"rectRot":d=Math.cos(A)*(o?o/2:b),a=Math.cos(A)*b,s=Math.sin(A)*b,p=Math.sin(A)*(o?o/2:b),e.moveTo(n-d,r-s),e.lineTo(n+p,r-a),e.lineTo(n+d,r+s),e.lineTo(n-p,r+a),e.closePath();break;case"crossRot":A+=cZ;case"cross":d=Math.cos(A)*(o?o/2:b),a=Math.cos(A)*b,s=Math.sin(A)*b,p=Math.sin(A)*(o?o/2:b),e.moveTo(n-d,r-s),e.lineTo(n+d,r+s),e.moveTo(n+p,r-a),e.lineTo(n-p,r+a);break;case"star":d=Math.cos(A)*(o?o/2:b),a=Math.cos(A)*b,s=Math.sin(A)*b,p=Math.sin(A)*(o?o/2:b),e.moveTo(n-d,r-s),e.lineTo(n+d,r+s),e.moveTo(n+p,r-a),e.lineTo(n-p,r+a),A+=cZ,d=Math.cos(A)*(o?o/2:b),a=Math.cos(A)*b,s=Math.sin(A)*b,p=Math.sin(A)*(o?o/2:b),e.moveTo(n-d,r-s),e.lineTo(n+d,r+s),e.moveTo(n+p,r-a),e.lineTo(n-p,r+a);break;case"line":a=o?o/2:Math.cos(A)*b,s=Math.sin(A)*b,e.moveTo(n-a,r-s),e.lineTo(n+a,r+s);break;case"dash":e.moveTo(n,r),e.lineTo(n+Math.cos(A)*(o?o/2:b),r+Math.sin(A)*b);break;case!1:e.closePath()}e.fill(),t.borderWidth>0&&e.stroke()}}function uH(e,t,n){return n=n||.5,!t||e&&e.x>t.left-n&&e.x<t.right+n&&e.y>t.top-n&&e.y<t.bottom+n}function dH(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()}function pH(e){e.restore()}function fH(e,t,n,r,o){if(!t)return e.lineTo(n.x,n.y);if("middle"===o){var i=(t.x+n.x)/2;e.lineTo(i,t.y),e.lineTo(i,n.y)}else"after"===o!==!!r?e.lineTo(t.x,n.y):e.lineTo(n.x,t.y);e.lineTo(n.x,n.y)}function hH(e,t,n,r){if(!t)return e.lineTo(n.x,n.y);e.bezierCurveTo(r?t.cp1x:t.cp2x,r?t.cp1y:t.cp2y,r?n.cp2x:n.cp1x,r?n.cp2y:n.cp1y,n.x,n.y)}function bH(e,t,n,r,o){var i,a,s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},l=BU(t)?t:[t],c=s.strokeWidth>0&&""!==s.strokeColor;for(e.save(),e.font=o.string,function(e,t){t.translation&&e.translate(t.translation[0],t.translation[1]);jU(t.rotation)||e.rotate(t.rotation);t.color&&(e.fillStyle=t.color);t.textAlign&&(e.textAlign=t.textAlign);t.textBaseline&&(e.textBaseline=t.textBaseline)}(e,s),i=0;i<l.length;++i)a=l[i],s.backdrop&&mH(e,s.backdrop),c&&(s.strokeColor&&(e.strokeStyle=s.strokeColor),jU(s.strokeWidth)||(e.lineWidth=s.strokeWidth),e.strokeText(a,n,r,s.maxWidth)),e.fillText(a,n,r,s.maxWidth),AH(e,n,r,a,s),r+=o.lineHeight;e.restore()}function AH(e,t,n,r,o){if(o.strikethrough||o.underline){var i=e.measureText(r),a=t-i.actualBoundingBoxLeft,s=t+i.actualBoundingBoxRight,l=n-i.actualBoundingBoxAscent,c=n+i.actualBoundingBoxDescent,u=o.strikethrough?(l+c)/2:c;e.strokeStyle=e.fillStyle,e.beginPath(),e.lineWidth=o.decorationWidth||2,e.moveTo(a,u),e.lineTo(s,u),e.stroke()}}function mH(e,t){var n=e.fillStyle;e.fillStyle=t.color,e.fillRect(t.left,t.top,t.width,t.height),e.fillStyle=n}function gH(e,t){var n=t.x,r=t.y,o=t.w,i=t.h,a=t.radius;e.arc(n+a.topLeft,r+a.topLeft,a.topLeft,-lZ,rZ,!0),e.lineTo(n,r+i-a.bottomLeft),e.arc(n+a.bottomLeft,r+i-a.bottomLeft,a.bottomLeft,rZ,lZ,!0),e.lineTo(n+o-a.bottomRight,r+i),e.arc(n+o-a.bottomRight,r+i-a.bottomRight,a.bottomRight,lZ,0,!0),e.lineTo(n+o,r+a.topRight),e.arc(n+o-a.topRight,r+a.topRight,a.topRight,0,-lZ,!0),e.lineTo(n+a.topLeft,r)}var vH=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,yH=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function MH(e,t){var n=(""+e).match(vH);if(!n||"normal"===n[1])return 1.2*t;switch(e=+n[2],n[3]){case"px":return e;case"%":e/=100}return t*e}var OH=function(e){return+e||0};function _H(e,t){var n,r={},o=LU(t),i=o?Object.keys(t):t,a=LU(e)?o?function(n){return PU(e[n],e[t[n]])}:function(t){return e[t]}:function(){return e},s=(0,b.Z)(i);try{for(s.s();!(n=s.n()).done;){var l=n.value;r[l]=OH(a(l))}}catch(c){s.e(c)}finally{s.f()}return r}function zH(e){return _H(e,{top:"y",right:"x",bottom:"y",left:"x"})}function xH(e){return _H(e,["topLeft","topRight","bottomLeft","bottomRight"])}function wH(e){var t=zH(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function CH(e,t){e=e||{},t=t||rH.font;var n=PU(e.size,t.size);"string"===typeof n&&(n=parseInt(n,10));var r=PU(e.style,t.style);r&&!(""+r).match(yH)&&(console.warn('Invalid font style specified: "'+r+'"'),r=void 0);var o={family:PU(e.family,t.family),lineHeight:MH(PU(e.lineHeight,t.lineHeight),n),size:n,style:r,weight:PU(e.weight,t.weight),string:""};return o.string=function(e){return!e||jU(e.size)||jU(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}(o),o}function SH(e,t,n,r){var o,i,a,s=!0;for(o=0,i=e.length;o<i;++o)if(void 0!==(a=e[o])&&(void 0!==t&&"function"===typeof a&&(a=a(t),s=!1),void 0!==n&&BU(a)&&(a=a[n%a.length],s=!1),void 0!==a))return r&&!s&&(r.cacheable=!1),a}function EH(e,t){return Object.assign(Object.create(e),t)}function kH(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[""],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,o=arguments.length>3?arguments[3]:void 0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){return e[0]};eZ(o)||(o=WH("_fallback",e));var a={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:n,_fallback:o,_getTarget:i,override:function(i){return kH([i].concat((0,r.Z)(e)),t,n,o)}};return new Proxy(a,{deleteProperty:function(t,n){return delete t[n],delete t._keys,delete e[0][n],!0},get:function(n,r){return BH(n,r,(function(){return function(e,t,n,r){var o,i,a=(0,b.Z)(t);try{for(a.s();!(i=a.n()).done;){var s=i.value;if(o=WH(TH(s,e),n),eZ(o))return jH(e,o)?PH(n,r,e,o):o}}catch(l){a.e(l)}finally{a.f()}}(r,t,e,n)}))},getOwnPropertyDescriptor:function(e,t){return Reflect.getOwnPropertyDescriptor(e._scopes[0],t)},getPrototypeOf:function(){return Reflect.getPrototypeOf(e[0])},has:function(e,t){return FH(e).includes(t)},ownKeys:function(e){return FH(e)},set:function(e,t,n){var r=e._storage||(e._storage=i());return e[t]=r[t]=n,delete e._keys,!0}})}function DH(e,t,n,r){var o={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:NH(e,r),setContext:function(t){return DH(e,t,n,r)},override:function(o){return DH(e.override(o),t,n,r)}};return new Proxy(o,{deleteProperty:function(t,n){return delete t[n],delete e[n],!0},get:function(e,t,n){return BH(e,t,(function(){return function(e,t,n){var r=e._proxy,o=e._context,i=e._subProxy,a=e._descriptors,s=r[t];tZ(s)&&a.isScriptable(t)&&(s=function(e,t,n,r){var o=n._proxy,i=n._context,a=n._subProxy,s=n._stack;if(s.has(e))throw new Error("Recursion detected: "+Array.from(s).join("->")+"->"+e);s.add(e),t=t(i,a||r),s.delete(e),jH(e,t)&&(t=PH(o._scopes,o,e,t));return t}(t,s,e,n));BU(s)&&s.length&&(s=function(e,t,n,r){var o=n._proxy,i=n._context,a=n._subProxy,s=n._descriptors;if(eZ(i.index)&&r(e))t=t[i.index%t.length];else if(LU(t[0])){var l=t,c=o._scopes.filter((function(e){return e!==l}));t=[];var u,d=(0,b.Z)(l);try{for(d.s();!(u=d.n()).done;){var p=PH(c,o,e,u.value);t.push(DH(p,i,a&&a[e],s))}}catch(f){d.e(f)}finally{d.f()}}return t}(t,s,e,a.isIndexable));jH(t,s)&&(s=DH(s,o,i&&i[t],a));return s}(e,t,n)}))},getOwnPropertyDescriptor:function(t,n){return t._descriptors.allKeys?Reflect.has(e,n)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,n)},getPrototypeOf:function(){return Reflect.getPrototypeOf(e)},has:function(t,n){return Reflect.has(e,n)},ownKeys:function(){return Reflect.ownKeys(e)},set:function(t,n,r){return e[n]=r,delete t[n],!0}})}function NH(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{scriptable:!0,indexable:!0},n=e._scriptable,r=void 0===n?t.scriptable:n,o=e._indexable,i=void 0===o?t.indexable:o,a=e._allKeys;return{allKeys:void 0===a?t.allKeys:a,scriptable:r,indexable:i,isScriptable:tZ(r)?r:function(){return r},isIndexable:tZ(i)?i:function(){return i}}}var TH=function(e,t){return e?e+JU(t):t},jH=function(e,t){return LU(t)&&"adapters"!==e&&(null===Object.getPrototypeOf(t)||t.constructor===Object)};function BH(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t))return e[t];var r=n();return e[t]=r,r}function LH(e,t,n){return tZ(e)?e(t,n):e}var RH=function(e,t){return!0===e?t:"string"===typeof e?KU(t,e):void 0};function qH(e,t,n,r,o){var i,a=(0,b.Z)(t);try{for(a.s();!(i=a.n()).done;){var s=i.value,l=RH(n,s);if(l){e.add(l);var c=LH(l._fallback,n,o);if(eZ(c)&&c!==n&&c!==r)return c}else if(!1===l&&eZ(r)&&n!==r)return null}}catch(u){a.e(u)}finally{a.f()}return!1}function PH(e,t,n,o){var i=t._rootScopes,a=LH(t._fallback,n,o),s=[].concat((0,r.Z)(e),(0,r.Z)(i)),l=new Set;l.add(o);var c=IH(l,s,n,a||n,o);return null!==c&&((!eZ(a)||a===n||null!==(c=IH(l,s,a,c,o)))&&kH(Array.from(l),[""],i,a,(function(){return function(e,t,n){var r=e._getTarget();t in r||(r[t]={});var o=r[t];if(BU(o)&&LU(n))return n;return o||{}}(t,n,o)})))}function IH(e,t,n,r,o){for(;n;)n=qH(e,t,n,r,o);return n}function WH(e,t){var n,r=(0,b.Z)(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(o){var i=o[e];if(eZ(i))return i}}}catch(a){r.e(a)}finally{r.f()}}function FH(e){var t=e._keys;return t||(t=e._keys=function(e){var t,n=new Set,r=(0,b.Z)(e);try{for(r.s();!(t=r.n()).done;){var o,i=t.value,a=(0,b.Z)(Object.keys(i).filter((function(e){return!e.startsWith("_")})));try{for(a.s();!(o=a.n()).done;){var s=o.value;n.add(s)}}catch(l){a.e(l)}finally{a.f()}}}catch(l){r.e(l)}finally{r.f()}return Array.from(n)}(e._scopes)),t}function UH(e,t,n,r){var o,i,a,s,l=e.iScale,c=this._parsing.key,u=void 0===c?"r":c,d=new Array(r);for(o=0,i=r;o<i;++o)s=t[a=o+n],d[o]={r:l.parse(KU(s,u),a)};return d}var ZH=Number.EPSILON||1e-14,HH=function(e,t){return t<e.length&&!e[t].skip&&e[t]},$H=function(e){return"x"===e?"y":"x"};function VH(e,t,n,r){var o=e.skip?t:e,i=t,a=n.skip?t:n,s=MZ(i,o),l=MZ(a,i),c=s/(s+l),u=l/(s+l),d=r*(c=isNaN(c)?0:c),p=r*(u=isNaN(u)?0:u);return{previous:{x:i.x-d*(a.x-o.x),y:i.y-d*(a.y-o.y)},next:{x:i.x+p*(a.x-o.x),y:i.y+p*(a.y-o.y)}}}function XH(e){var t,n,r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"x",i=$H(o),a=e.length,s=Array(a).fill(0),l=Array(a),c=HH(e,0);for(t=0;t<a;++t)if(n=r,r=c,c=HH(e,t+1),r){if(c){var u=c[o]-r[o];s[t]=0!==u?(c[i]-r[i])/u:0}l[t]=n?c?pZ(s[t-1])!==pZ(s[t])?0:(s[t-1]+s[t])/2:s[t-1]:s[t]}!function(e,t,n){for(var r,o,i,a,s,l=e.length,c=HH(e,0),u=0;u<l-1;++u)s=c,c=HH(e,u+1),s&&c&&(fZ(t[u],0,ZH)?n[u]=n[u+1]=0:(r=n[u]/t[u],o=n[u+1]/t[u],(a=Math.pow(r,2)+Math.pow(o,2))<=9||(i=3/Math.sqrt(a),n[u]=r*i*t[u],n[u+1]=o*i*t[u])))}(e,s,l),function(e,t){for(var n,r,o,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"x",a=$H(i),s=e.length,l=HH(e,0),c=0;c<s;++c)if(r=o,o=l,l=HH(e,c+1),o){var u=o[i],d=o[a];r&&(n=(u-r[i])/3,o["cp1".concat(i)]=u-n,o["cp1".concat(a)]=d-n*t[c]),l&&(n=(l[i]-u)/3,o["cp2".concat(i)]=u+n,o["cp2".concat(a)]=d+n*t[c])}}(e,l,o)}function QH(e,t,n){return Math.max(Math.min(e,n),t)}function YH(e,t,n,r,o){var i,a,s,l;if(t.spanGaps&&(e=e.filter((function(e){return!e.skip}))),"monotone"===t.cubicInterpolationMode)XH(e,o);else{var c=r?e[e.length-1]:e[0];for(i=0,a=e.length;i<a;++i)l=VH(c,s=e[i],e[Math.min(i+1,a-(r?0:1))%a],t.tension),s.cp1x=l.previous.x,s.cp1y=l.previous.y,s.cp2x=l.next.x,s.cp2y=l.next.y,c=s}t.capBezierPoints&&function(e,t){var n,r,o,i,a,s=uH(e[0],t);for(n=0,r=e.length;n<r;++n)a=i,i=s,s=n<r-1&&uH(e[n+1],t),i&&(o=e[n],a&&(o.cp1x=QH(o.cp1x,t.left,t.right),o.cp1y=QH(o.cp1y,t.top,t.bottom)),s&&(o.cp2x=QH(o.cp2x,t.left,t.right),o.cp2y=QH(o.cp2y,t.top,t.bottom)))}(e,n)}function GH(){return"undefined"!==typeof window&&"undefined"!==typeof document}function KH(e){var t=e.parentNode;return t&&"[object ShadowRoot]"===t.toString()&&(t=t.host),t}function JH(e,t,n){var r;return"string"===typeof e?(r=parseInt(e,10),-1!==e.indexOf("%")&&(r=r/100*t.parentNode[n])):r=e,r}var e$=function(e){return e.ownerDocument.defaultView.getComputedStyle(e,null)};var t$=["top","right","bottom","left"];function n$(e,t,n){var r={};n=n?"-"+n:"";for(var o=0;o<4;o++){var i=t$[o];r[i]=parseFloat(e[t+"-"+i+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}var r$=function(e,t,n){return(e>0||t>0)&&(!n||!n.shadowRoot)};function o$(e,t){if("native"in e)return e;var n=t.canvas,r=t.currentDevicePixelRatio,o=e$(n),i="border-box"===o.boxSizing,a=n$(o,"padding"),s=n$(o,"border","width"),l=function(e,t){var n,r,o=e.touches,i=o&&o.length?o[0]:e,a=i.offsetX,s=i.offsetY,l=!1;if(r$(a,s,e.target))n=a,r=s;else{var c=t.getBoundingClientRect();n=i.clientX-c.left,r=i.clientY-c.top,l=!0}return{x:n,y:r,box:l}}(e,n),c=l.x,u=l.y,d=l.box,p=a.left+(d&&s.left),f=a.top+(d&&s.top),h=t.width,b=t.height;return i&&(h-=a.width+s.width,b-=a.height+s.height),{x:Math.round((c-p)/h*n.width/r),y:Math.round((u-f)/b*n.height/r)}}var i$=function(e){return Math.round(10*e)/10};function a$(e,t,n,r){var o=e$(e),i=n$(o,"margin"),a=JH(o.maxWidth,e,"clientWidth")||aZ,s=JH(o.maxHeight,e,"clientHeight")||aZ,l=function(e,t,n){var r,o;if(void 0===t||void 0===n){var i=KH(e);if(i){var a=i.getBoundingClientRect(),s=e$(i),l=n$(s,"border","width"),c=n$(s,"padding");t=a.width-c.width-l.width,n=a.height-c.height-l.height,r=JH(s.maxWidth,i,"clientWidth"),o=JH(s.maxHeight,i,"clientHeight")}else t=e.clientWidth,n=e.clientHeight}return{width:t,height:n,maxWidth:r||aZ,maxHeight:o||aZ}}(e,t,n),c=l.width,u=l.height;if("content-box"===o.boxSizing){var d=n$(o,"border","width"),p=n$(o,"padding");c-=p.width+d.width,u-=p.height+d.height}return c=Math.max(0,c-i.width),u=Math.max(0,r?c/r:u-i.height),c=i$(Math.min(c,a,l.maxWidth)),u=i$(Math.min(u,s,l.maxHeight)),c&&!u&&(u=i$(c/2)),(void 0!==t||void 0!==n)&&r&&l.height&&u>l.height&&(u=l.height,c=i$(Math.floor(u*r))),{width:c,height:u}}function s$(e,t,n){var r=t||1,o=Math.floor(e.height*r),i=Math.floor(e.width*r);e.height=Math.floor(e.height),e.width=Math.floor(e.width);var a=e.canvas;return a.style&&(n||!a.style.height&&!a.style.width)&&(a.style.height="".concat(e.height,"px"),a.style.width="".concat(e.width,"px")),(e.currentDevicePixelRatio!==r||a.height!==o||a.width!==i)&&(e.currentDevicePixelRatio=r,a.height=o,a.width=i,e.ctx.setTransform(r,0,0,r,0,0),!0)}var l$=function(){var e=!1;try{var t={get passive(){return e=!0,!1}};window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(AE){}return e}();function c$(e,t){var n=function(e,t){return e$(e).getPropertyValue(t)}(e,t),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function u$(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}}function d$(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:"middle"===r?n<.5?e.y:t.y:"after"===r?n<1?e.y:t.y:n>0?t.y:e.y}}function p$(e,t,n,r){var o={x:e.cp2x,y:e.cp2y},i={x:t.cp1x,y:t.cp1y},a=u$(e,o,n),s=u$(o,i,n),l=u$(i,t,n),c=u$(a,s,n),u=u$(s,l,n);return u$(c,u,n)}function f$(e,t,n){return e?function(e,t){return{x:function(n){return e+e+t-n},setWidth:function(e){t=e},textAlign:function(e){return"center"===e?e:"right"===e?"left":"right"},xPlus:function(e,t){return e-t},leftForLtr:function(e,t){return e-t}}}(t,n):{x:function(e){return e},setWidth:function(e){},textAlign:function(e){return e},xPlus:function(e,t){return e+t},leftForLtr:function(e,t){return e}}}function h$(e,t){var n,r;"ltr"!==t&&"rtl"!==t||(r=[(n=e.canvas.style).getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",t,"important"),e.prevTextDirection=r)}function b$(e,t){void 0!==t&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}function A$(e){return"angle"===e?{between:zZ,compare:OZ,normalize:_Z}:{between:wZ,compare:function(e,t){return e-t},normalize:function(e){return e}}}function m$(e){var t=e.start,n=e.end,r=e.count;return{start:t%r,end:n%r,loop:e.loop&&(n-t+1)%r===0,style:e.style}}function g$(e,t,n){if(!n)return[e];for(var r,o,i,a=n.property,s=n.start,l=n.end,c=t.length,u=A$(a),d=u.compare,p=u.between,f=u.normalize,h=function(e,t,n){var r,o,i=n.property,a=n.start,s=n.end,l=A$(i),c=l.between,u=l.normalize,d=t.length,p=e.start,f=e.end,h=e.loop;if(h){for(p+=d,f+=d,r=0,o=d;r<o&&c(u(t[p%d][i]),a,s);++r)p--,f--;p%=d,f%=d}return f<p&&(f+=d),{start:p,end:f,loop:h,style:e.style}}(e,t,n),b=h.start,A=h.end,m=h.loop,g=h.style,v=[],y=!1,M=null,O=function(){return y||p(s,i,r)&&0!==d(s,i)},_=function(){return!y||0===d(l,r)||p(l,i,r)},z=b,x=b;z<=A;++z)(o=t[z%c]).skip||(r=f(o[a]))!==i&&(y=p(r,s,l),null===M&&O()&&(M=0===d(r,s)?z:x),null!==M&&_()&&(v.push(m$({start:M,end:z,loop:m,count:c,style:g})),M=null),x=z,i=r);return null!==M&&v.push(m$({start:M,end:A,loop:m,count:c,style:g})),v}function v$(e,t){for(var n=[],o=e.segments,i=0;i<o.length;i++){var a=g$(o[i],e.points,t);a.length&&n.push.apply(n,(0,r.Z)(a))}return n}function y$(e,t,n,r){return r&&r.setContext&&n?function(e,t,n,r){var o=e._chart.getContext(),i=M$(e.options),a=e._datasetIndex,s=e.options.spanGaps,l=n.length,c=[],u=i,d=t[0].start,p=d;function f(e,t,r,o){var i=s?-1:1;if(e!==t){for(e+=l;n[e%l].skip;)e-=i;for(;n[t%l].skip;)t+=i;e%l!==t%l&&(c.push({start:e%l,end:t%l,loop:r,style:o}),u=o,d=t%l)}}var h,A=(0,b.Z)(t);try{for(A.s();!(h=A.n()).done;){var m=h.value;d=s?d:m.start;var g=n[d%l],v=void 0;for(p=d+1;p<=m.end;p++){var y=n[p%l];O$(v=M$(r.setContext(EH(o,{type:"segment",p0:g,p1:y,p0DataIndex:(p-1)%l,p1DataIndex:p%l,datasetIndex:a}))),u)&&f(d,p-1,m.loop,u),g=y,u=v}d<p-1&&f(d,p-1,m.loop,u)}}catch(M){A.e(M)}finally{A.f()}return c}(e,t,n,r):t}function M$(e){return{backgroundColor:e.backgroundColor,borderCapStyle:e.borderCapStyle,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderJoinStyle:e.borderJoinStyle,borderWidth:e.borderWidth,borderColor:e.borderColor}}function O$(e,t){return t&&JSON.stringify(e)!==JSON.stringify(t)}var _$=function(){function e(){(0,o.Z)(this,e),this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}return(0,i.Z)(e,[{key:"_notify",value:function(e,t,n,r){var o=t.listeners[r],i=t.duration;o.forEach((function(r){return r({chart:e,initial:t.initial,numSteps:i,currentStep:Math.min(n-t.start,i)})}))}},{key:"_refresh",value:function(){var e=this;this._request||(this._running=!0,this._request=TZ.call(window,(function(){e._update(),e._request=null,e._running&&e._refresh()})))}},{key:"_update",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Date.now(),n=0;this._charts.forEach((function(r,o){if(r.running&&r.items.length){for(var i,a=r.items,s=a.length-1,l=!1;s>=0;--s)(i=a[s])._active?(i._total>r.duration&&(r.duration=i._total),i.tick(t),l=!0):(a[s]=a[a.length-1],a.pop());l&&(o.draw(),e._notify(o,r,t,"progress")),a.length||(r.running=!1,e._notify(o,r,t,"complete"),r.initial=!1),n+=a.length}})),this._lastDate=t,0===n&&(this._running=!1)}},{key:"_getAnims",value:function(e){var t=this._charts,n=t.get(e);return n||(n={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},t.set(e,n)),n}},{key:"listen",value:function(e,t,n){this._getAnims(e).listeners[t].push(n)}},{key:"add",value:function(e,t){var n;t&&t.length&&(n=this._getAnims(e).items).push.apply(n,(0,r.Z)(t))}},{key:"has",value:function(e){return this._getAnims(e).items.length>0}},{key:"start",value:function(e){var t=this._charts.get(e);t&&(t.running=!0,t.start=Date.now(),t.duration=t.items.reduce((function(e,t){return Math.max(e,t._duration)}),0),this._refresh())}},{key:"running",value:function(e){if(!this._running)return!1;var t=this._charts.get(e);return!!(t&&t.running&&t.items.length)}},{key:"stop",value:function(e){var t=this._charts.get(e);if(t&&t.items.length){for(var n=t.items,r=n.length-1;r>=0;--r)n[r].cancel();t.items=[],this._notify(e,t,Date.now(),"complete")}}},{key:"remove",value:function(e){return this._charts.delete(e)}}]),e}(),z$=new _$,x$="transparent",w$={boolean:function(e,t,n){return n>.5?t:e},color:function(e,t,n){var r=ZZ(e||x$),o=r.valid&&ZZ(t||x$);return o&&o.valid?o.mix(r,n).hexString():t},number:function(e,t,n){return e+(t-e)*n}},C$=function(){function e(t,n,r,i){(0,o.Z)(this,e);var a=n[r];i=SH([t.to,i,a,t.from]);var s=SH([t.from,a,i]);this._active=!0,this._fn=t.fn||w$[t.type||typeof s],this._easing=FZ[t.easing]||FZ.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=n,this._prop=r,this._from=s,this._to=i,this._promises=void 0}return(0,i.Z)(e,[{key:"active",value:function(){return this._active}},{key:"update",value:function(e,t,n){if(this._active){this._notify(!1);var r=this._target[this._prop],o=n-this._start,i=this._duration-o;this._start=n,this._duration=Math.floor(Math.max(i,e.duration)),this._total+=o,this._loop=!!e.loop,this._to=SH([e.to,t,r,e.from]),this._from=SH([e.from,r,t])}}},{key:"cancel",value:function(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}},{key:"tick",value:function(e){var t,n=e-this._start,r=this._duration,o=this._prop,i=this._from,a=this._loop,s=this._to;if(this._active=i!==s&&(a||n<r),!this._active)return this._target[o]=s,void this._notify(!0);n<0?this._target[o]=i:(t=n/r%2,t=a&&t>1?2-t:t,t=this._easing(Math.min(1,Math.max(0,t))),this._target[o]=this._fn(i,s,t))}},{key:"wait",value:function(){var e=this._promises||(this._promises=[]);return new Promise((function(t,n){e.push({res:t,rej:n})}))}},{key:"_notify",value:function(e){for(var t=e?"res":"rej",n=this._promises||[],r=0;r<n.length;r++)n[r][t]()}}]),e}(),S$=function(){function e(t,n){(0,o.Z)(this,e),this._chart=t,this._properties=new Map,this.configure(n)}return(0,i.Z)(e,[{key:"configure",value:function(e){if(LU(e)){var t=Object.keys(rH.animation),n=this._properties;Object.getOwnPropertyNames(e).forEach((function(r){var o=e[r];if(LU(o)){for(var i={},a=0,s=t;a<s.length;a++){var l=s[a];i[l]=o[l]}(BU(o.properties)&&o.properties||[r]).forEach((function(e){e!==r&&n.has(e)||n.set(e,i)}))}}))}}},{key:"_animateOptions",value:function(e,t){var n=t.options,r=function(e,t){if(!t)return;var n=e.options;if(!n)return void(e.options=t);n.$shared&&(e.options=n=Object.assign({},n,{$shared:!1,$animations:{}}));return n}(e,n);if(!r)return[];var o=this._createAnimations(r,n);return n.$shared&&function(e,t){for(var n=[],r=Object.keys(t),o=0;o<r.length;o++){var i=e[r[o]];i&&i.active()&&n.push(i.wait())}return Promise.all(n)}(e.options.$animations,n).then((function(){e.options=n}),(function(){})),o}},{key:"_createAnimations",value:function(e,t){var n,o=this._properties,i=[],a=e.$animations||(e.$animations={}),s=Object.keys(t),l=Date.now();for(n=s.length-1;n>=0;--n){var c=s[n];if("$"!==c.charAt(0))if("options"!==c){var u=t[c],d=a[c],p=o.get(c);if(d){if(p&&d.active()){d.update(p,u,l);continue}d.cancel()}p&&p.duration?(a[c]=d=new C$(p,e,c,u),i.push(d)):e[c]=u}else i.push.apply(i,(0,r.Z)(this._animateOptions(e,t)))}return i}},{key:"update",value:function(e,t){if(0!==this._properties.size){var n=this._createAnimations(e,t);return n.length?(z$.add(this._chart,n),!0):void 0}Object.assign(e,t)}}]),e}();function E$(e,t){var n=e&&e.options||{},r=n.reverse,o=void 0===n.min?t:0,i=void 0===n.max?t:0;return{start:r?i:o,end:r?o:i}}function k$(e,t){var n,r,o=[],i=e._getSortedDatasetMetas(t);for(n=0,r=i.length;n<r;++n)o.push(i[n].index);return o}function D$(e,t,n){var r,o,i,a,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},l=e.keys,c="single"===s.mode;if(null!==t){for(r=0,o=l.length;r<o;++r){if((i=+l[r])===n){if(s.all)continue;break}RU(a=e.values[i])&&(c||0===t||pZ(t)===pZ(a))&&(t+=a)}return t}}function N$(e,t){var n=e&&e.options.stacked;return n||void 0===n&&void 0!==t.stack}function T$(e,t,n){var r=e[t]||(e[t]={});return r[n]||(r[n]={})}function j$(e,t,n,r){var o,i=(0,b.Z)(t.getMatchingVisibleMetas(r).reverse());try{for(i.s();!(o=i.n()).done;){var a=o.value,s=e[a.index];if(n&&s>0||!n&&s<0)return a.index}}catch(l){i.e(l)}finally{i.f()}return null}function B$(e,t){for(var n,r=e.chart,o=e._cachedMeta,i=r._stacks||(r._stacks={}),a=o.iScale,s=o.vScale,l=o.index,c=a.axis,u=s.axis,d=function(e,t,n){return"".concat(e.id,".").concat(t.id,".").concat(n.stack||n.type)}(a,s,o),p=t.length,f=0;f<p;++f){var h=t[f],b=h[c],A=h[u];(n=(h._stacks||(h._stacks={}))[u]=T$(i,d,b))[l]=A,n._top=j$(n,s,!0,o.type),n._bottom=j$(n,s,!1,o.type),(n._visualValues||(n._visualValues={}))[l]=A}}function L$(e,t){var n=e.scales;return Object.keys(n).filter((function(e){return n[e].axis===t})).shift()}function R$(e,t){var n=e.controller.index,r=e.vScale&&e.vScale.axis;if(r){t=t||e._parsed;var o,i=(0,b.Z)(t);try{for(i.s();!(o=i.n()).done;){var a=o.value._stacks;if(!a||void 0===a[r]||void 0===a[r][n])return;delete a[r][n],void 0!==a[r]._visualValues&&void 0!==a[r]._visualValues[n]&&delete a[r]._visualValues[n]}}catch(s){i.e(s)}finally{i.f()}}}var q$=function(e){return"reset"===e||"none"===e},P$=function(e,t){return t?e:Object.assign({},e)},I$=function(){function e(t,n){(0,o.Z)(this,e),this.chart=t,this._ctx=t.ctx,this.index=n,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=(this instanceof e?this.constructor:void 0).datasetElementType,this.dataElementType=(this instanceof e?this.constructor:void 0).dataElementType,this.initialize()}return(0,i.Z)(e,[{key:"initialize",value:function(){var e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=N$(e.vScale,e),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}},{key:"updateIndex",value:function(e){this.index!==e&&R$(this._cachedMeta),this.index=e}},{key:"linkScales",value:function(){var e=this.chart,t=this._cachedMeta,n=this.getDataset(),r=function(e,t,n,r){return"x"===e?t:"r"===e?r:n},o=t.xAxisID=PU(n.xAxisID,L$(e,"x")),i=t.yAxisID=PU(n.yAxisID,L$(e,"y")),a=t.rAxisID=PU(n.rAxisID,L$(e,"r")),s=t.indexAxis,l=t.iAxisID=r(s,o,i,a),c=t.vAxisID=r(s,i,o,a);t.xScale=this.getScaleForId(o),t.yScale=this.getScaleForId(i),t.rScale=this.getScaleForId(a),t.iScale=this.getScaleForId(l),t.vScale=this.getScaleForId(c)}},{key:"getDataset",value:function(){return this.chart.data.datasets[this.index]}},{key:"getMeta",value:function(){return this.chart.getDatasetMeta(this.index)}},{key:"getScaleForId",value:function(e){return this.chart.scales[e]}},{key:"_getOtherScale",value:function(e){var t=this._cachedMeta;return e===t.iScale?t.vScale:t.iScale}},{key:"reset",value:function(){this._update("reset")}},{key:"_destroy",value:function(){var e=this._cachedMeta;this._data&&DZ(this._data,this),e._stacked&&R$(e)}},{key:"_dataCheck",value:function(){var e=this.getDataset(),t=e.data||(e.data=[]),n=this._data;if(LU(t))this._data=function(e){var t,n,r,o=Object.keys(e),i=new Array(o.length);for(t=0,n=o.length;t<n;++t)r=o[t],i[t]={x:r,y:e[r]};return i}(t);else if(n!==t){if(n){DZ(n,this);var r=this._cachedMeta;R$(r),r._parsed=[]}t&&Object.isExtensible(t)&&function(e,t){e._chartjs?e._chartjs.listeners.push(t):(Object.defineProperty(e,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),kZ.forEach((function(t){var n="_onData"+JU(t),r=e[t];Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:function(){for(var t=arguments.length,o=new Array(t),i=0;i<t;i++)o[i]=arguments[i];var a=r.apply(this,o);return e._chartjs.listeners.forEach((function(e){"function"===typeof e[n]&&e[n].apply(e,o)})),a}})})))}(t,this),this._syncList=[],this._data=t}}},{key:"addElements",value:function(){var e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}},{key:"buildOrUpdateElements",value:function(e){var t=this._cachedMeta,n=this.getDataset(),r=!1;this._dataCheck();var o=t._stacked;t._stacked=N$(t.vScale,t),t.stack!==n.stack&&(r=!0,R$(t),t.stack=n.stack),this._resyncElements(e),(r||o!==t._stacked)&&B$(this,t._parsed)}},{key:"configure",value:function(){var e=this.chart.config,t=e.datasetScopeKeys(this._type),n=e.getOptionScopes(this.getDataset(),t,!0);this.options=e.createResolver(n,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}},{key:"parse",value:function(e,t){var n,r,o,i=this._cachedMeta,a=this._data,s=i.iScale,l=i._stacked,c=s.axis,u=0===e&&t===a.length||i._sorted,d=e>0&&i._parsed[e-1];if(!1===this._parsing)i._parsed=a,i._sorted=!0,o=a;else{o=BU(a[e])?this.parseArrayData(i,a,e,t):LU(a[e])?this.parseObjectData(i,a,e,t):this.parsePrimitiveData(i,a,e,t);for(n=0;n<t;++n)i._parsed[n+e]=r=o[n],u&&((null===r[c]||d&&r[c]<d[c])&&(u=!1),d=r);i._sorted=u}l&&B$(this,o)}},{key:"parsePrimitiveData",value:function(e,t,n,r){var o,i,a,s=e.iScale,l=e.vScale,c=s.axis,u=l.axis,d=s.getLabels(),p=s===l,f=new Array(r);for(o=0,i=r;o<i;++o)a=o+n,f[o]={[c]:p||s.parse(d[a],a),[u]:l.parse(t[a],a)};return f}},{key:"parseArrayData",value:function(e,t,n,r){var o,i,a,s,l=e.xScale,c=e.yScale,u=new Array(r);for(o=0,i=r;o<i;++o)s=t[a=o+n],u[o]={x:l.parse(s[0],a),y:c.parse(s[1],a)};return u}},{key:"parseObjectData",value:function(e,t,n,r){var o,i,a,s,l=e.xScale,c=e.yScale,u=this._parsing,d=u.xAxisKey,p=void 0===d?"x":d,f=u.yAxisKey,h=void 0===f?"y":f,b=new Array(r);for(o=0,i=r;o<i;++o)s=t[a=o+n],b[o]={x:l.parse(KU(s,p),a),y:c.parse(KU(s,h),a)};return b}},{key:"getParsed",value:function(e){return this._cachedMeta._parsed[e]}},{key:"getDataElement",value:function(e){return this._cachedMeta.data[e]}},{key:"applyStack",value:function(e,t,n){var r=this.chart,o=this._cachedMeta,i=t[e.axis];return D$({keys:k$(r,!0),values:t._stacks[e.axis]._visualValues},i,o.index,{mode:n})}},{key:"updateRangeFromParsed",value:function(e,t,n,r){var o=n[t.axis],i=null===o?NaN:o,a=r&&n._stacks[t.axis];r&&a&&(r.values=a,i=D$(r,o,this._cachedMeta.index)),e.min=Math.min(e.min,i),e.max=Math.max(e.max,i)}},{key:"getMinMax",value:function(e,t){var n,r,o=this._cachedMeta,i=o._parsed,a=o._sorted&&e===o.iScale,s=i.length,l=this._getOtherScale(e),c=function(e,t,n){return e&&!t.hidden&&t._stacked&&{keys:k$(n,!0),values:null}}(t,o,this.chart),u={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},d=function(e){var t=e.getUserBounds(),n=t.min,r=t.max,o=t.minDefined,i=t.maxDefined;return{min:o?n:Number.NEGATIVE_INFINITY,max:i?r:Number.POSITIVE_INFINITY}}(l),p=d.min,f=d.max;function h(){var t=(r=i[n])[l.axis];return!RU(r[e.axis])||p>t||f<t}for(n=0;n<s&&(h()||(this.updateRangeFromParsed(u,e,r,c),!a));++n);if(a)for(n=s-1;n>=0;--n)if(!h()){this.updateRangeFromParsed(u,e,r,c);break}return u}},{key:"getAllParsedValues",value:function(e){var t,n,r,o=this._cachedMeta._parsed,i=[];for(t=0,n=o.length;t<n;++t)RU(r=o[t][e.axis])&&i.push(r);return i}},{key:"getMaxOverflow",value:function(){return!1}},{key:"getLabelAndValue",value:function(e){var t=this._cachedMeta,n=t.iScale,r=t.vScale,o=this.getParsed(e);return{label:n?""+n.getLabelForValue(o[n.axis]):"",value:r?""+r.getLabelForValue(o[r.axis]):""}}},{key:"_update",value:function(e){var t=this._cachedMeta;this.update(e||"default"),t._clip=function(e){var t,n,r,o;return LU(e)?(t=e.top,n=e.right,r=e.bottom,o=e.left):t=n=r=o=e,{top:t,right:n,bottom:r,left:o,disabled:!1===e}}(PU(this.options.clip,function(e,t,n){if(!1===n)return!1;var r=E$(e,n),o=E$(t,n);return{top:o.end,right:r.end,bottom:o.start,left:r.start}}(t.xScale,t.yScale,this.getMaxOverflow())))}},{key:"update",value:function(e){}},{key:"draw",value:function(){var e,t=this._ctx,n=this.chart,r=this._cachedMeta,o=r.data||[],i=n.chartArea,a=[],s=this._drawStart||0,l=this._drawCount||o.length-s,c=this.options.drawActiveElementsOnTop;for(r.dataset&&r.dataset.draw(t,i,s,l),e=s;e<s+l;++e){var u=o[e];u.hidden||(u.active&&c?a.push(u):u.draw(t,i))}for(e=0;e<a.length;++e)a[e].draw(t,i)}},{key:"getStyle",value:function(e,t){var n=t?"active":"default";return void 0===e&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(n):this.resolveDataElementOptions(e||0,n)}},{key:"getContext",value:function(e,t,n){var r,o=this.getDataset();if(e>=0&&e<this._cachedMeta.data.length){var i=this._cachedMeta.data[e];r=i.$context||(i.$context=function(e,t,n){return EH(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:"default",type:"data"})}(this.getContext(),e,i)),r.parsed=this.getParsed(e),r.raw=o.data[e],r.index=r.dataIndex=e}else r=this.$context||(this.$context=function(e,t){return EH(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}(this.chart.getContext(),this.index)),r.dataset=o,r.index=r.datasetIndex=this.index;return r.active=!!t,r.mode=n,r}},{key:"resolveDatasetElementOptions",value:function(e){return this._resolveElementOptions(this.datasetElementType.id,e)}},{key:"resolveDataElementOptions",value:function(e,t){return this._resolveElementOptions(this.dataElementType.id,t,e)}},{key:"_resolveElementOptions",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default",r=arguments.length>2?arguments[2]:void 0,o="active"===n,i=this._cachedDataOpts,a=e+"-"+n,s=i[a],l=this.enableOptionSharing&&eZ(r);if(s)return P$(s,l);var c=this.chart.config,u=c.datasetElementScopeKeys(this._type,e),d=o?["".concat(e,"Hover"),"hover",e,""]:[e,""],p=c.getOptionScopes(this.getDataset(),u),f=Object.keys(rH.elements[e]),h=c.resolveNamedOptions(p,f,(function(){return t.getContext(r,o,n)}),d);return h.$shared&&(h.$shared=l,i[a]=Object.freeze(P$(h,l))),h}},{key:"_resolveAnimations",value:function(e,t,n){var r,o=this.chart,i=this._cachedDataOpts,a="animation-".concat(t),s=i[a];if(s)return s;if(!1!==o.options.animation){var l=this.chart.config,c=l.datasetAnimationScopeKeys(this._type,t),u=l.getOptionScopes(this.getDataset(),c);r=l.createResolver(u,this.getContext(e,n,t))}var d=new S$(o,r&&r.animations);return r&&r._cacheable&&(i[a]=Object.freeze(d)),d}},{key:"getSharedOptions",value:function(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}},{key:"includeOptions",value:function(e,t){return!t||q$(e)||this.chart._animationsDisabled}},{key:"_getSharedOptions",value:function(e,t){var n=this.resolveDataElementOptions(e,t),r=this._sharedOptions,o=this.getSharedOptions(n),i=this.includeOptions(t,o)||o!==r;return this.updateSharedOptions(o,t,n),{sharedOptions:o,includeOptions:i}}},{key:"updateElement",value:function(e,t,n,r){q$(r)?Object.assign(e,n):this._resolveAnimations(t,r).update(e,n)}},{key:"updateSharedOptions",value:function(e,t,n){e&&!q$(t)&&this._resolveAnimations(void 0,t).update(e,n)}},{key:"_setStyle",value:function(e,t,n,r){e.active=r;var o=this.getStyle(t,r);this._resolveAnimations(t,n,r).update(e,{options:!r&&this.getSharedOptions(o)||o})}},{key:"removeHoverStyle",value:function(e,t,n){this._setStyle(e,n,"active",!1)}},{key:"setHoverStyle",value:function(e,t,n){this._setStyle(e,n,"active",!0)}},{key:"_removeDatasetHoverStyle",value:function(){var e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}},{key:"_setDatasetHoverStyle",value:function(){var e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}},{key:"_resyncElements",value:function(e){var t,r=this._data,o=this._cachedMeta.data,i=(0,b.Z)(this._syncList);try{for(i.s();!(t=i.n()).done;){var a=(0,n.Z)(t.value,3),s=a[0],l=a[1],c=a[2];this[s](l,c)}}catch(f){i.e(f)}finally{i.f()}this._syncList=[];var u=o.length,d=r.length,p=Math.min(d,u);p&&this.parse(0,p),d>u?this._insertElements(u,d-u,e):d<u&&this._removeElements(d,u-d)}},{key:"_insertElements",value:function(e,t){var n,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=this._cachedMeta,i=o.data,a=e+t,s=function(e){for(e.length+=t,n=e.length-1;n>=a;n--)e[n]=e[n-t]};for(s(i),n=e;n<a;++n)i[n]=new this.dataElementType;this._parsing&&s(o._parsed),this.parse(e,t),r&&this.updateElements(i,e,t,"reset")}},{key:"updateElements",value:function(e,t,n,r){}},{key:"_removeElements",value:function(e,t){var n=this._cachedMeta;if(this._parsing){var r=n._parsed.splice(e,t);n._stacked&&R$(n,r)}n.data.splice(e,t)}},{key:"_sync",value:function(e){if(this._parsing)this._syncList.push(e);else{var t=(0,n.Z)(e,3),o=t[0],i=t[1],a=t[2];this[o](i,a)}this.chart._dataChanges.push([this.index].concat((0,r.Z)(e)))}},{key:"_onDataPush",value:function(){var e=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-e,e])}},{key:"_onDataPop",value:function(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}},{key:"_onDataShift",value:function(){this._sync(["_removeElements",0,1])}},{key:"_onDataSplice",value:function(e,t){t&&this._sync(["_removeElements",e,t]);var n=arguments.length-2;n&&this._sync(["_insertElements",e,n])}},{key:"_onDataUnshift",value:function(){this._sync(["_insertElements",0,arguments.length])}}]),e}();function W$(e){var t,n,r,o,i=e.iScale,a=function(e,t){if(!e._cache.$bar){for(var n=e.getMatchingVisibleMetas(t),r=[],o=0,i=n.length;o<i;o++)r=r.concat(n[o].controller.getAllParsedValues(e));e._cache.$bar=NZ(r.sort((function(e,t){return e-t})))}return e._cache.$bar}(i,e.type),s=i._length,l=function(){32767!==r&&-32768!==r&&(eZ(o)&&(s=Math.min(s,Math.abs(r-o)||s)),o=r)};for(t=0,n=a.length;t<n;++t)r=i.getPixelForValue(a[t]),l();for(o=void 0,t=0,n=i.ticks.length;t<n;++t)r=i.getPixelForTick(t),l();return s}function F$(e,t,n,r){return BU(e)?function(e,t,n,r){var o=n.parse(e[0],r),i=n.parse(e[1],r),a=Math.min(o,i),s=Math.max(o,i),l=a,c=s;Math.abs(a)>Math.abs(s)&&(l=s,c=a),t[n.axis]=c,t._custom={barStart:l,barEnd:c,start:o,end:i,min:a,max:s}}(e,t,n,r):t[n.axis]=n.parse(e,r),t}function U$(e,t,n,r){var o,i,a,s,l=e.iScale,c=e.vScale,u=l.getLabels(),d=l===c,p=[];for(o=n,i=n+r;o<i;++o)s=t[o],(a={})[l.axis]=d||l.parse(u[o],o),p.push(F$(s,a,c,o));return p}function Z$(e){return e&&void 0!==e.barStart&&void 0!==e.barEnd}function H$(e,t,n,r){var o=t.borderSkipped,i={};if(o)if(!0!==o){var a=function(e){var t,n,r,o,i;return e.horizontal?(t=e.base>e.x,n="left",r="right"):(t=e.base<e.y,n="bottom",r="top"),t?(o="end",i="start"):(o="start",i="end"),{start:n,end:r,reverse:t,top:o,bottom:i}}(e),s=a.start,l=a.end,c=a.reverse,u=a.top,d=a.bottom;"middle"===o&&n&&(e.enableBorderRadius=!0,(n._top||0)===r?o=u:(n._bottom||0)===r?o=d:(i[$$(d,s,l,c)]=!0,o=u)),i[$$(o,s,l,c)]=!0,e.borderSkipped=i}else e.borderSkipped={top:!0,right:!0,bottom:!0,left:!0};else e.borderSkipped=i}function $$(e,t,n,r){return r?(e=function(e,t,n){return e===t?n:e===n?t:e}(e,t,n),e=V$(e,n,t)):e=V$(e,t,n),e}function V$(e,t,n){return"start"===e?t:"end"===e?n:e}function X$(e,t,n){var r=t.inflateAmount;e.inflateAmount="auto"===r?1===n?.33:0:r}(0,Ws.Z)(I$,"defaults",{}),(0,Ws.Z)(I$,"datasetElementType",null),(0,Ws.Z)(I$,"dataElementType",null);var Q$=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(){return(0,o.Z)(this,n),t.apply(this,arguments)}return(0,i.Z)(n,[{key:"parsePrimitiveData",value:function(e,t,n,r){return U$(e,t,n,r)}},{key:"parseArrayData",value:function(e,t,n,r){return U$(e,t,n,r)}},{key:"parseObjectData",value:function(e,t,n,r){var o,i,a,s,l=e.iScale,c=e.vScale,u=this._parsing,d=u.xAxisKey,p=void 0===d?"x":d,f=u.yAxisKey,h=void 0===f?"y":f,b="x"===l.axis?p:h,A="x"===c.axis?p:h,m=[];for(o=n,i=n+r;o<i;++o)s=t[o],(a={})[l.axis]=l.parse(KU(s,b),o),m.push(F$(KU(s,A),a,c,o));return m}},{key:"updateRangeFromParsed",value:function(e,t,r,o){(0,GF.Z)((0,KF.Z)(n.prototype),"updateRangeFromParsed",this).call(this,e,t,r,o);var i=r._custom;i&&t===this._cachedMeta.vScale&&(e.min=Math.min(e.min,i.min),e.max=Math.max(e.max,i.max))}},{key:"getMaxOverflow",value:function(){return 0}},{key:"getLabelAndValue",value:function(e){var t=this._cachedMeta,n=t.iScale,r=t.vScale,o=this.getParsed(e),i=o._custom,a=Z$(i)?"["+i.start+", "+i.end+"]":""+r.getLabelForValue(o[r.axis]);return{label:""+n.getLabelForValue(o[n.axis]),value:a}}},{key:"initialize",value:function(){this.enableOptionSharing=!0,(0,GF.Z)((0,KF.Z)(n.prototype),"initialize",this).call(this),this._cachedMeta.stack=this.getDataset().stack}},{key:"update",value:function(e){var t=this._cachedMeta;this.updateElements(t.data,0,t.data.length,e)}},{key:"updateElements",value:function(e,t,n,r){for(var o="reset"===r,i=this.index,a=this._cachedMeta.vScale,s=a.getBasePixel(),l=a.isHorizontal(),c=this._getRuler(),u=this._getSharedOptions(t,r),d=u.sharedOptions,p=u.includeOptions,f=t;f<t+n;f++){var h=this.getParsed(f),b=o||jU(h[a.axis])?{base:s,head:s}:this._calculateBarValuePixels(f),A=this._calculateBarIndexPixels(f,c),m=(h._stacks||{})[a.axis],g={horizontal:l,base:b.base,enableBorderRadius:!m||Z$(h._custom)||i===m._top||i===m._bottom,x:l?b.head:A.center,y:l?A.center:b.head,height:l?A.size:Math.abs(b.size),width:l?Math.abs(b.size):A.size};p&&(g.options=d||this.resolveDataElementOptions(f,e[f].active?"active":r));var v=g.options||e[f].options;H$(g,v,m,i),X$(g,v,c.ratio),this.updateElement(e[f],f,g,r)}}},{key:"_getStacks",value:function(e,t){var n,r=this._cachedMeta.iScale,o=r.getMatchingVisibleMetas(this._type).filter((function(e){return e.controller.options.grouped})),i=r.options.stacked,a=[],s=function(e){var n=e.controller.getParsed(t),r=n&&n[e.vScale.axis];if(jU(r)||isNaN(r))return!0},l=(0,b.Z)(o);try{for(l.s();!(n=l.n()).done;){var c=n.value;if((void 0===t||!s(c))&&((!1===i||-1===a.indexOf(c.stack)||void 0===i&&void 0===c.stack)&&a.push(c.stack),c.index===e))break}}catch(u){l.e(u)}finally{l.f()}return a.length||a.push(void 0),a}},{key:"_getStackCount",value:function(e){return this._getStacks(void 0,e).length}},{key:"_getStackIndex",value:function(e,t,n){var r=this._getStacks(e,n),o=void 0!==t?r.indexOf(t):-1;return-1===o?r.length-1:o}},{key:"_getRuler",value:function(){var e,t,n=this.options,r=this._cachedMeta,o=r.iScale,i=[];for(e=0,t=r.data.length;e<t;++e)i.push(o.getPixelForValue(this.getParsed(e)[o.axis],e));var a=n.barThickness;return{min:a||W$(r),pixels:i,start:o._startPixel,end:o._endPixel,stackCount:this._getStackCount(),scale:o,grouped:n.grouped,ratio:a?1:n.categoryPercentage*n.barPercentage}}},{key:"_calculateBarValuePixels",value:function(e){var t,n,r=this._cachedMeta,o=r.vScale,i=r._stacked,a=r.index,s=this.options,l=s.base,c=s.minBarLength,u=l||0,d=this.getParsed(e),p=d._custom,f=Z$(p),h=d[o.axis],b=0,A=i?this.applyStack(o,d,i):h;A!==h&&(b=A-h,A=h),f&&(h=p.barStart,A=p.barEnd-p.barStart,0!==h&&pZ(h)!==pZ(p.barEnd)&&(b=0),b+=h);var m=jU(l)||f?b:l,g=o.getPixelForValue(m);if(n=(t=this.chart.getDataVisibility(e)?o.getPixelForValue(b+A):g)-g,Math.abs(n)<c){n=function(e,t,n){return 0!==e?pZ(e):(t.isHorizontal()?1:-1)*(t.min>=n?1:-1)}(n,o,u)*c,h===u&&(g-=n/2);var v=o.getPixelForDecimal(0),y=o.getPixelForDecimal(1),M=Math.min(v,y),O=Math.max(v,y);t=(g=Math.max(Math.min(g,O),M))+n,i&&!f&&(d._stacks[o.axis]._visualValues[a]=o.getValueForPixel(t)-o.getValueForPixel(g))}if(g===o.getPixelForValue(u)){var _=pZ(n)*o.getLineWidthForValue(u)/2;g+=_,n-=_}return{size:n,base:g,head:t,center:t+n/2}}},{key:"_calculateBarIndexPixels",value:function(e,t){var n,r,o=t.scale,i=this.options,a=i.skipNull,s=PU(i.maxBarThickness,1/0);if(t.grouped){var l=a?this._getStackCount(e):t.stackCount,c="flex"===i.barThickness?function(e,t,n,r){var o=t.pixels,i=o[e],a=e>0?o[e-1]:null,s=e<o.length-1?o[e+1]:null,l=n.categoryPercentage;null===a&&(a=i-(null===s?t.end-t.start:s-i)),null===s&&(s=i+i-a);var c=i-(i-Math.min(a,s))/2*l;return{chunk:Math.abs(s-a)/2*l/r,ratio:n.barPercentage,start:c}}(e,t,i,l):function(e,t,n,r){var o,i,a=n.barThickness;return jU(a)?(o=t.min*n.categoryPercentage,i=n.barPercentage):(o=a*r,i=1),{chunk:o/r,ratio:i,start:t.pixels[e]-o/2}}(e,t,i,l),u=this._getStackIndex(this.index,this._cachedMeta.stack,a?e:void 0);n=c.start+c.chunk*u+c.chunk/2,r=Math.min(s,c.chunk*c.ratio)}else n=o.getPixelForValue(this.getParsed(e)[o.axis],e),r=Math.min(s,t.min*t.ratio);return{base:n-r/2,head:n+r/2,center:n,size:r}}},{key:"draw",value:function(){for(var e=this._cachedMeta,t=e.vScale,n=e.data,r=n.length,o=0;o<r;++o)null!==this.getParsed(o)[t.axis]&&n[o].draw(this._ctx)}}]),n}(I$);(0,Ws.Z)(Q$,"id","bar"),(0,Ws.Z)(Q$,"defaults",{datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}}),(0,Ws.Z)(Q$,"overrides",{scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}});var Y$=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(){return(0,o.Z)(this,n),t.apply(this,arguments)}return(0,i.Z)(n,[{key:"initialize",value:function(){this.enableOptionSharing=!0,(0,GF.Z)((0,KF.Z)(n.prototype),"initialize",this).call(this)}},{key:"parsePrimitiveData",value:function(e,t,r,o){for(var i=(0,GF.Z)((0,KF.Z)(n.prototype),"parsePrimitiveData",this).call(this,e,t,r,o),a=0;a<i.length;a++)i[a]._custom=this.resolveDataElementOptions(a+r).radius;return i}},{key:"parseArrayData",value:function(e,t,r,o){for(var i=(0,GF.Z)((0,KF.Z)(n.prototype),"parseArrayData",this).call(this,e,t,r,o),a=0;a<i.length;a++){var s=t[r+a];i[a]._custom=PU(s[2],this.resolveDataElementOptions(a+r).radius)}return i}},{key:"parseObjectData",value:function(e,t,r,o){for(var i=(0,GF.Z)((0,KF.Z)(n.prototype),"parseObjectData",this).call(this,e,t,r,o),a=0;a<i.length;a++){var s=t[r+a];i[a]._custom=PU(s&&s.r&&+s.r,this.resolveDataElementOptions(a+r).radius)}return i}},{key:"getMaxOverflow",value:function(){for(var e=this._cachedMeta.data,t=0,n=e.length-1;n>=0;--n)t=Math.max(t,e[n].size(this.resolveDataElementOptions(n))/2);return t>0&&t}},{key:"getLabelAndValue",value:function(e){var t=this._cachedMeta,n=this.chart.data.labels||[],r=t.xScale,o=t.yScale,i=this.getParsed(e),a=r.getLabelForValue(i.x),s=o.getLabelForValue(i.y),l=i._custom;return{label:n[e]||"",value:"("+a+", "+s+(l?", "+l:"")+")"}}},{key:"update",value:function(e){var t=this._cachedMeta.data;this.updateElements(t,0,t.length,e)}},{key:"updateElements",value:function(e,t,n,r){for(var o="reset"===r,i=this._cachedMeta,a=i.iScale,s=i.vScale,l=this._getSharedOptions(t,r),c=l.sharedOptions,u=l.includeOptions,d=a.axis,p=s.axis,f=t;f<t+n;f++){var h=e[f],b=!o&&this.getParsed(f),A={},m=A[d]=o?a.getPixelForDecimal(.5):a.getPixelForValue(b[d]),g=A[p]=o?s.getBasePixel():s.getPixelForValue(b[p]);A.skip=isNaN(m)||isNaN(g),u&&(A.options=c||this.resolveDataElementOptions(f,h.active?"active":r),o&&(A.options.radius=0)),this.updateElement(h,f,A,r)}}},{key:"resolveDataElementOptions",value:function(e,t){var r=this.getParsed(e),o=(0,GF.Z)((0,KF.Z)(n.prototype),"resolveDataElementOptions",this).call(this,e,t);o.$shared&&(o=Object.assign({},o,{$shared:!1}));var i=o.radius;return"active"!==t&&(o.radius=0),o.radius+=PU(r&&r._custom,i),o}}]),n}(I$);(0,Ws.Z)(Y$,"id","bubble"),(0,Ws.Z)(Y$,"defaults",{datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}}),(0,Ws.Z)(Y$,"overrides",{scales:{x:{type:"linear"},y:{type:"linear"}}});var G$=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(e,r){var i;return(0,o.Z)(this,n),(i=t.call(this,e,r)).enableOptionSharing=!0,i.innerRadius=void 0,i.outerRadius=void 0,i.offsetX=void 0,i.offsetY=void 0,i}return(0,i.Z)(n,[{key:"linkScales",value:function(){}},{key:"parse",value:function(e,t){var n=this.getDataset().data,r=this._cachedMeta;if(!1===this._parsing)r._parsed=n;else{var o,i,a=function(e){return+n[e]};if(LU(n[e])){var s=this._parsing.key,l=void 0===s?"value":s;a=function(e){return+KU(n[e],l)}}for(o=e,i=e+t;o<i;++o)r._parsed[o]=a(o)}}},{key:"_getRotation",value:function(){return mZ(this.options.rotation-90)}},{key:"_getCircumference",value:function(){return mZ(this.options.circumference)}},{key:"_getRotationExtents",value:function(){for(var e=oZ,t=-oZ,n=0;n<this.chart.data.datasets.length;++n)if(this.chart.isDatasetVisible(n)&&this.chart.getDatasetMeta(n).type===this._type){var r=this.chart.getDatasetMeta(n).controller,o=r._getRotation(),i=r._getCircumference();e=Math.min(e,o),t=Math.max(t,o+i)}return{rotation:e,circumference:t-e}}},{key:"update",value:function(e){var t,n,r=this.chart.chartArea,o=this._cachedMeta,i=o.data,a=this.getMaxBorderWidth()+this.getMaxOffset(i)+this.options.spacing,s=Math.max((Math.min(r.width,r.height)-a)/2,0),l=Math.min((t=this.options.cutout,n=s,"string"===typeof t&&t.endsWith("%")?parseFloat(t)/100:+t/n),1),c=this._getRingWeight(this.index),u=this._getRotationExtents(),d=u.circumference,p=function(e,t,n){var r=1,o=1,i=0,a=0;if(t<oZ){var s=e,l=s+t,c=Math.cos(s),u=Math.sin(s),d=Math.cos(l),p=Math.sin(l),f=function(e,t,r){return zZ(e,s,l,!0)?1:Math.max(t,t*n,r,r*n)},h=function(e,t,r){return zZ(e,s,l,!0)?-1:Math.min(t,t*n,r,r*n)},b=f(0,c,d),A=f(lZ,u,p),m=h(rZ,c,d),g=h(rZ+lZ,u,p);r=(b-m)/2,o=(A-g)/2,i=-(b+m)/2,a=-(A+g)/2}return{ratioX:r,ratioY:o,offsetX:i,offsetY:a}}(u.rotation,d,l),f=p.ratioX,h=p.ratioY,b=p.offsetX,A=p.offsetY,m=(r.width-a)/f,g=(r.height-a)/h,v=Math.max(Math.min(m,g)/2,0),y=IU(this.options.radius,v),M=(y-Math.max(y*l,0))/this._getVisibleDatasetWeightTotal();this.offsetX=b*y,this.offsetY=A*y,o.total=this.calculateTotal(),this.outerRadius=y-M*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-M*c,0),this.updateElements(i,0,i.length,e)}},{key:"_circumference",value:function(e,t){var n=this.options,r=this._cachedMeta,o=this._getCircumference();return t&&n.animation.animateRotate||!this.chart.getDataVisibility(e)||null===r._parsed[e]||r.data[e].hidden?0:this.calculateCircumference(r._parsed[e]*o/oZ)}},{key:"updateElements",value:function(e,t,n,r){var o,i="reset"===r,a=this.chart,s=a.chartArea,l=a.options.animation,c=(s.left+s.right)/2,u=(s.top+s.bottom)/2,d=i&&l.animateScale,p=d?0:this.innerRadius,f=d?0:this.outerRadius,h=this._getSharedOptions(t,r),b=h.sharedOptions,A=h.includeOptions,m=this._getRotation();for(o=0;o<t;++o)m+=this._circumference(o,i);for(o=t;o<t+n;++o){var g=this._circumference(o,i),v=e[o],y={x:c+this.offsetX,y:u+this.offsetY,startAngle:m,endAngle:m+g,circumference:g,outerRadius:f,innerRadius:p};A&&(y.options=b||this.resolveDataElementOptions(o,v.active?"active":r)),m+=g,this.updateElement(v,o,y,r)}}},{key:"calculateTotal",value:function(){var e,t=this._cachedMeta,n=t.data,r=0;for(e=0;e<n.length;e++){var o=t._parsed[e];null===o||isNaN(o)||!this.chart.getDataVisibility(e)||n[e].hidden||(r+=Math.abs(o))}return r}},{key:"calculateCircumference",value:function(e){var t=this._cachedMeta.total;return t>0&&!isNaN(e)?oZ*(Math.abs(e)/t):0}},{key:"getLabelAndValue",value:function(e){var t=this._cachedMeta,n=this.chart,r=n.data.labels||[],o=QZ(t._parsed[e],n.options.locale);return{label:r[e]||"",value:o}}},{key:"getMaxBorderWidth",value:function(e){var t,n,r,o,i,a=0,s=this.chart;if(!e)for(t=0,n=s.data.datasets.length;t<n;++t)if(s.isDatasetVisible(t)){e=(r=s.getDatasetMeta(t)).data,o=r.controller;break}if(!e)return 0;for(t=0,n=e.length;t<n;++t)"inner"!==(i=o.resolveDataElementOptions(t)).borderAlign&&(a=Math.max(a,i.borderWidth||0,i.hoverBorderWidth||0));return a}},{key:"getMaxOffset",value:function(e){for(var t=0,n=0,r=e.length;n<r;++n){var o=this.resolveDataElementOptions(n);t=Math.max(t,o.offset||0,o.hoverOffset||0)}return t}},{key:"_getRingWeightOffset",value:function(e){for(var t=0,n=0;n<e;++n)this.chart.isDatasetVisible(n)&&(t+=this._getRingWeight(n));return t}},{key:"_getRingWeight",value:function(e){return Math.max(PU(this.chart.data.datasets[e].weight,1),0)}},{key:"_getVisibleDatasetWeightTotal",value:function(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}]),n}(I$);(0,Ws.Z)(G$,"id","doughnut"),(0,Ws.Z)(G$,"defaults",{datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"}),(0,Ws.Z)(G$,"descriptors",{_scriptable:function(e){return"spacing"!==e},_indexable:function(e){return"spacing"!==e}}),(0,Ws.Z)(G$,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels:function(e){var t=e.data;if(t.labels.length&&t.datasets.length){var n=e.legend.options.labels,r=n.pointStyle,o=n.color;return t.labels.map((function(t,n){var i=e.getDatasetMeta(0).controller.getStyle(n);return{text:t,fillStyle:i.backgroundColor,strokeStyle:i.borderColor,fontColor:o,lineWidth:i.borderWidth,pointStyle:r,hidden:!e.getDataVisibility(n),index:n}}))}return[]}},onClick:function(e,t,n){n.chart.toggleDataVisibility(t.index),n.chart.update()}}}});var K$=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(){return(0,o.Z)(this,n),t.apply(this,arguments)}return(0,i.Z)(n,[{key:"initialize",value:function(){this.enableOptionSharing=!0,this.supportsDecimation=!0,(0,GF.Z)((0,KF.Z)(n.prototype),"initialize",this).call(this)}},{key:"update",value:function(e){var t=this._cachedMeta,n=t.dataset,r=t.data,o=void 0===r?[]:r,i=t._dataset,a=this.chart._animationsDisabled,s=RZ(t,o,a),l=s.start,c=s.count;this._drawStart=l,this._drawCount=c,qZ(t)&&(l=0,c=o.length),n._chart=this.chart,n._datasetIndex=this.index,n._decimated=!!i._decimated,n.points=o;var u=this.resolveDatasetElementOptions(e);this.options.showLine||(u.borderWidth=0),u.segment=this.options.segment,this.updateElement(n,void 0,{animated:!a,options:u},e),this.updateElements(o,l,c,e)}},{key:"updateElements",value:function(e,t,n,r){for(var o="reset"===r,i=this._cachedMeta,a=i.iScale,s=i.vScale,l=i._stacked,c=i._dataset,u=this._getSharedOptions(t,r),d=u.sharedOptions,p=u.includeOptions,f=a.axis,h=s.axis,b=this.options,A=b.spanGaps,m=b.segment,g=bZ(A)?A:Number.POSITIVE_INFINITY,v=this.chart._animationsDisabled||o||"none"===r,y=t+n,M=e.length,O=t>0&&this.getParsed(t-1),_=0;_<M;++_){var z=e[_],x=v?z:{};if(_<t||_>=y)x.skip=!0;else{var w=this.getParsed(_),C=jU(w[h]),S=x[f]=a.getPixelForValue(w[f],_),E=x[h]=o||C?s.getBasePixel():s.getPixelForValue(l?this.applyStack(s,w,l):w[h],_);x.skip=isNaN(S)||isNaN(E)||C,x.stop=_>0&&Math.abs(w[f]-O[f])>g,m&&(x.parsed=w,x.raw=c.data[_]),p&&(x.options=d||this.resolveDataElementOptions(_,z.active?"active":r)),v||this.updateElement(z,_,x,r),O=w}}}},{key:"getMaxOverflow",value:function(){var e=this._cachedMeta,t=e.dataset,n=t.options&&t.options.borderWidth||0,r=e.data||[];if(!r.length)return n;var o=r[0].size(this.resolveDataElementOptions(0)),i=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(n,o,i)/2}},{key:"draw",value:function(){var e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),(0,GF.Z)((0,KF.Z)(n.prototype),"draw",this).call(this)}}]),n}(I$);(0,Ws.Z)(K$,"id","line"),(0,Ws.Z)(K$,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),(0,Ws.Z)(K$,"overrides",{scales:{_index_:{type:"category"},_value_:{type:"linear"}}});var J$=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(e,r){var i;return(0,o.Z)(this,n),(i=t.call(this,e,r)).innerRadius=void 0,i.outerRadius=void 0,i}return(0,i.Z)(n,[{key:"getLabelAndValue",value:function(e){var t=this._cachedMeta,n=this.chart,r=n.data.labels||[],o=QZ(t._parsed[e].r,n.options.locale);return{label:r[e]||"",value:o}}},{key:"parseObjectData",value:function(e,t,n,r){return UH.bind(this)(e,t,n,r)}},{key:"update",value:function(e){var t=this._cachedMeta.data;this._updateRadius(),this.updateElements(t,0,t.length,e)}},{key:"getMinMax",value:function(){var e=this,t=this._cachedMeta,n={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach((function(t,r){var o=e.getParsed(r).r;!isNaN(o)&&e.chart.getDataVisibility(r)&&(o<n.min&&(n.min=o),o>n.max&&(n.max=o))})),n}},{key:"_updateRadius",value:function(){var e=this.chart,t=e.chartArea,n=e.options,r=Math.min(t.right-t.left,t.bottom-t.top),o=Math.max(r/2,0),i=(o-Math.max(n.cutoutPercentage?o/100*n.cutoutPercentage:1,0))/e.getVisibleDatasetCount();this.outerRadius=o-i*this.index,this.innerRadius=this.outerRadius-i}},{key:"updateElements",value:function(e,t,n,r){var o,i="reset"===r,a=this.chart,s=a.options.animation,l=this._cachedMeta.rScale,c=l.xCenter,u=l.yCenter,d=l.getIndexAngle(0)-.5*rZ,p=d,f=360/this.countVisibleElements();for(o=0;o<t;++o)p+=this._computeAngle(o,r,f);for(o=t;o<t+n;o++){var h=e[o],b=p,A=p+this._computeAngle(o,r,f),m=a.getDataVisibility(o)?l.getDistanceFromCenterForValue(this.getParsed(o).r):0;p=A,i&&(s.animateScale&&(m=0),s.animateRotate&&(b=A=d));var g={x:c,y:u,innerRadius:0,outerRadius:m,startAngle:b,endAngle:A,options:this.resolveDataElementOptions(o,h.active?"active":r)};this.updateElement(h,o,g,r)}}},{key:"countVisibleElements",value:function(){var e=this,t=this._cachedMeta,n=0;return t.data.forEach((function(t,r){!isNaN(e.getParsed(r).r)&&e.chart.getDataVisibility(r)&&n++})),n}},{key:"_computeAngle",value:function(e,t,n){return this.chart.getDataVisibility(e)?mZ(this.resolveDataElementOptions(e,t).angle||n):0}}]),n}(I$);(0,Ws.Z)(J$,"id","polarArea"),(0,Ws.Z)(J$,"defaults",{dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0}),(0,Ws.Z)(J$,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels:function(e){var t=e.data;if(t.labels.length&&t.datasets.length){var n=e.legend.options.labels,r=n.pointStyle,o=n.color;return t.labels.map((function(t,n){var i=e.getDatasetMeta(0).controller.getStyle(n);return{text:t,fillStyle:i.backgroundColor,strokeStyle:i.borderColor,fontColor:o,lineWidth:i.borderWidth,pointStyle:r,hidden:!e.getDataVisibility(n),index:n}}))}return[]}},onClick:function(e,t,n){n.chart.toggleDataVisibility(t.index),n.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}});var eV=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(){return(0,o.Z)(this,n),t.apply(this,arguments)}return(0,i.Z)(n)}(G$);(0,Ws.Z)(eV,"id","pie"),(0,Ws.Z)(eV,"defaults",{cutout:0,rotation:0,circumference:360,radius:"100%"});var tV=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(){return(0,o.Z)(this,n),t.apply(this,arguments)}return(0,i.Z)(n,[{key:"getLabelAndValue",value:function(e){var t=this._cachedMeta.vScale,n=this.getParsed(e);return{label:t.getLabels()[e],value:""+t.getLabelForValue(n[t.axis])}}},{key:"parseObjectData",value:function(e,t,n,r){return UH.bind(this)(e,t,n,r)}},{key:"update",value:function(e){var t=this._cachedMeta,n=t.dataset,r=t.data||[],o=t.iScale.getLabels();if(n.points=r,"resize"!==e){var i=this.resolveDatasetElementOptions(e);this.options.showLine||(i.borderWidth=0);var a={_loop:!0,_fullLoop:o.length===r.length,options:i};this.updateElement(n,void 0,a,e)}this.updateElements(r,0,r.length,e)}},{key:"updateElements",value:function(e,t,n,r){for(var o=this._cachedMeta.rScale,i="reset"===r,a=t;a<t+n;a++){var s=e[a],l=this.resolveDataElementOptions(a,s.active?"active":r),c=o.getPointPositionForValue(a,this.getParsed(a).r),u=i?o.xCenter:c.x,d=i?o.yCenter:c.y,p={x:u,y:d,angle:c.angle,skip:isNaN(u)||isNaN(d),options:l};this.updateElement(s,a,p,r)}}}]),n}(I$);(0,Ws.Z)(tV,"id","radar"),(0,Ws.Z)(tV,"defaults",{datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}}),(0,Ws.Z)(tV,"overrides",{aspectRatio:1,scales:{r:{type:"radialLinear"}}});var nV=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(){return(0,o.Z)(this,n),t.apply(this,arguments)}return(0,i.Z)(n,[{key:"getLabelAndValue",value:function(e){var t=this._cachedMeta,n=this.chart.data.labels||[],r=t.xScale,o=t.yScale,i=this.getParsed(e),a=r.getLabelForValue(i.x),s=o.getLabelForValue(i.y);return{label:n[e]||"",value:"("+a+", "+s+")"}}},{key:"update",value:function(e){var t=this._cachedMeta,n=t.data,r=void 0===n?[]:n,o=this.chart._animationsDisabled,i=RZ(t,r,o),a=i.start,s=i.count;if(this._drawStart=a,this._drawCount=s,qZ(t)&&(a=0,s=r.length),this.options.showLine){var l=t.dataset,c=t._dataset;l._chart=this.chart,l._datasetIndex=this.index,l._decimated=!!c._decimated,l.points=r;var u=this.resolveDatasetElementOptions(e);u.segment=this.options.segment,this.updateElement(l,void 0,{animated:!o,options:u},e)}this.updateElements(r,a,s,e)}},{key:"addElements",value:function(){var e=this.options.showLine;!this.datasetElementType&&e&&(this.datasetElementType=this.chart.registry.getElement("line")),(0,GF.Z)((0,KF.Z)(n.prototype),"addElements",this).call(this)}},{key:"updateElements",value:function(e,t,n,r){for(var o="reset"===r,i=this._cachedMeta,a=i.iScale,s=i.vScale,l=i._stacked,c=i._dataset,u=this.resolveDataElementOptions(t,r),d=this.getSharedOptions(u),p=this.includeOptions(r,d),f=a.axis,h=s.axis,b=this.options,A=b.spanGaps,m=b.segment,g=bZ(A)?A:Number.POSITIVE_INFINITY,v=this.chart._animationsDisabled||o||"none"===r,y=t>0&&this.getParsed(t-1),M=t;M<t+n;++M){var O=e[M],_=this.getParsed(M),z=v?O:{},x=jU(_[h]),w=z[f]=a.getPixelForValue(_[f],M),C=z[h]=o||x?s.getBasePixel():s.getPixelForValue(l?this.applyStack(s,_,l):_[h],M);z.skip=isNaN(w)||isNaN(C)||x,z.stop=M>0&&Math.abs(_[f]-y[f])>g,m&&(z.parsed=_,z.raw=c.data[M]),p&&(z.options=d||this.resolveDataElementOptions(M,O.active?"active":r)),v||this.updateElement(O,M,z,r),y=_}this.updateSharedOptions(d,r,u)}},{key:"getMaxOverflow",value:function(){var e=this._cachedMeta,t=e.data||[];if(!this.options.showLine){for(var n=0,r=t.length-1;r>=0;--r)n=Math.max(n,t[r].size(this.resolveDataElementOptions(r))/2);return n>0&&n}var o=e.dataset,i=o.options&&o.options.borderWidth||0;if(!t.length)return i;var a=t[0].size(this.resolveDataElementOptions(0)),s=t[t.length-1].size(this.resolveDataElementOptions(t.length-1));return Math.max(i,a,s)/2}}]),n}(I$);(0,Ws.Z)(nV,"id","scatter"),(0,Ws.Z)(nV,"defaults",{datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1}),(0,Ws.Z)(nV,"overrides",{interaction:{mode:"point"},scales:{x:{type:"linear"},y:{type:"linear"}}});function rV(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}var oV=function(){function e(t){(0,o.Z)(this,e),this.options=t||{}}return(0,i.Z)(e,[{key:"init",value:function(){}},{key:"formats",value:function(){return rV()}},{key:"parse",value:function(){return rV()}},{key:"format",value:function(){return rV()}},{key:"add",value:function(){return rV()}},{key:"diff",value:function(){return rV()}},{key:"startOf",value:function(){return rV()}},{key:"endOf",value:function(){return rV()}}],[{key:"override",value:function(t){Object.assign(e.prototype,t)}}]),e}(),iV={_date:oV};function aV(e,t,n,r){var o=e.controller,i=e.data,a=e._sorted,s=o._cachedMeta.iScale;if(s&&t===s.axis&&"r"!==t&&a&&i.length){var l=s._reversePixels?EZ:SZ;if(!r)return l(i,t,n);if(o._sharedOptions){var c=i[0],u="function"===typeof c.getRange&&c.getRange(t);if(u){var d=l(i,t,n-u),p=l(i,t,n+u);return{lo:d.lo,hi:p.hi}}}}return{lo:0,hi:i.length-1}}function sV(e,t,n,r,o){for(var i=e.getSortedVisibleDatasetMetas(),a=n[t],s=0,l=i.length;s<l;++s)for(var c=i[s],u=c.index,d=c.data,p=aV(i[s],t,a,o),f=p.lo,h=p.hi,b=f;b<=h;++b){var A=d[b];A.skip||r(A,u,b)}}function lV(e,t,n,r,o){var i=[];if(!o&&!e.isPointInArea(t))return i;return sV(e,n,t,(function(n,a,s){(o||uH(n,e.chartArea,0))&&n.inRange(t.x,t.y,r)&&i.push({element:n,datasetIndex:a,index:s})}),!0),i}function cV(e,t,n,r,o,i){var a=[],s=function(e){var t=-1!==e.indexOf("x"),n=-1!==e.indexOf("y");return function(e,r){var o=t?Math.abs(e.x-r.x):0,i=n?Math.abs(e.y-r.y):0;return Math.sqrt(Math.pow(o,2)+Math.pow(i,2))}}(n),l=Number.POSITIVE_INFINITY;return sV(e,n,t,(function(n,c,u){var d=n.inRange(t.x,t.y,o);if(!r||d){var p=n.getCenterPoint(o);if(!!i||e.isPointInArea(p)||d){var f=s(t,p);f<l?(a=[{element:n,datasetIndex:c,index:u}],l=f):f===l&&a.push({element:n,datasetIndex:c,index:u})}}})),a}function uV(e,t,n,r,o,i){return i||e.isPointInArea(t)?"r"!==n||r?cV(e,t,n,r,o,i):function(e,t,n,r){var o=[];return sV(e,n,t,(function(e,n,i){var a=e.getProps(["startAngle","endAngle"],r),s=a.startAngle,l=a.endAngle;zZ(yZ(e,{x:t.x,y:t.y}).angle,s,l)&&o.push({element:e,datasetIndex:n,index:i})})),o}(e,t,n,o):[]}function dV(e,t,n,r,o){var i=[],a="x"===n?"inXRange":"inYRange",s=!1;return sV(e,n,t,(function(e,r,l){e[a](t[n],o)&&(i.push({element:e,datasetIndex:r,index:l}),s=s||e.inRange(t.x,t.y,o))})),r&&!s?[]:i}var pV={evaluateInteractionItems:sV,modes:{index:function(e,t,n,r){var o=o$(t,e),i=n.axis||"x",a=n.includeInvisible||!1,s=n.intersect?lV(e,o,i,r,a):uV(e,o,i,!1,r,a),l=[];return s.length?(e.getSortedVisibleDatasetMetas().forEach((function(e){var t=s[0].index,n=e.data[t];n&&!n.skip&&l.push({element:n,datasetIndex:e.index,index:t})})),l):[]},dataset:function(e,t,n,r){var o=o$(t,e),i=n.axis||"xy",a=n.includeInvisible||!1,s=n.intersect?lV(e,o,i,r,a):uV(e,o,i,!1,r,a);if(s.length>0){var l=s[0].datasetIndex,c=e.getDatasetMeta(l).data;s=[];for(var u=0;u<c.length;++u)s.push({element:c[u],datasetIndex:l,index:u})}return s},point:function(e,t,n,r){return lV(e,o$(t,e),n.axis||"xy",r,n.includeInvisible||!1)},nearest:function(e,t,n,r){var o=o$(t,e),i=n.axis||"xy",a=n.includeInvisible||!1;return uV(e,o,i,n.intersect,r,a)},x:function(e,t,n,r){return dV(e,o$(t,e),"x",n.intersect,r)},y:function(e,t,n,r){return dV(e,o$(t,e),"y",n.intersect,r)}}},fV=["left","top","right","bottom"];function hV(e,t){return e.filter((function(e){return e.pos===t}))}function bV(e,t){return e.filter((function(e){return-1===fV.indexOf(e.pos)&&e.box.axis===t}))}function AV(e,t){return e.sort((function(e,n){var r=t?n:e,o=t?e:n;return r.weight===o.weight?r.index-o.index:r.weight-o.weight}))}function mV(e,t){var n,r,o,i=function(e){var t,n={},r=(0,b.Z)(e);try{for(r.s();!(t=r.n()).done;){var o=t.value,i=o.stack,a=o.pos,s=o.stackWeight;if(i&&fV.includes(a)){var l=n[i]||(n[i]={count:0,placed:0,weight:0,size:0});l.count++,l.weight+=s}}}catch(c){r.e(c)}finally{r.f()}return n}(e),a=t.vBoxMaxWidth,s=t.hBoxMaxHeight;for(n=0,r=e.length;n<r;++n){var l=(o=e[n]).box.fullSize,c=i[o.stack],u=c&&o.stackWeight/c.weight;o.horizontal?(o.width=u?u*a:l&&t.availableWidth,o.height=s):(o.width=a,o.height=u?u*s:l&&t.availableHeight)}return i}function gV(e,t,n,r){return Math.max(e[n],t[n])+Math.max(e[r],t[r])}function vV(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function yV(e,t,n,r){var o=n.pos,i=n.box,a=e.maxPadding;if(!LU(o)){n.size&&(e[o]-=n.size);var s=r[n.stack]||{size:0,count:1};s.size=Math.max(s.size,n.horizontal?i.height:i.width),n.size=s.size/s.count,e[o]+=n.size}i.getPadding&&vV(a,i.getPadding());var l=Math.max(0,t.outerWidth-gV(a,e,"left","right")),c=Math.max(0,t.outerHeight-gV(a,e,"top","bottom")),u=l!==e.w,d=c!==e.h;return e.w=l,e.h=c,n.horizontal?{same:u,other:d}:{same:d,other:u}}function MV(e,t){var n=t.maxPadding;function r(e){var r={left:0,top:0,right:0,bottom:0};return e.forEach((function(e){r[e]=Math.max(t[e],n[e])})),r}return r(e?["left","right"]:["top","bottom"])}function OV(e,t,n,r){var o,i,a,s,l,c,u=[];for(o=0,i=e.length,l=0;o<i;++o){(s=(a=e[o]).box).update(a.width||t.w,a.height||t.h,MV(a.horizontal,t));var d=yV(t,n,a,r),p=d.same,f=d.other;l|=p&&u.length,c=c||f,s.fullSize||u.push(a)}return l&&OV(u,t,n,r)||c}function _V(e,t,n,r,o){e.top=n,e.left=t,e.right=t+r,e.bottom=n+o,e.width=r,e.height=o}function zV(e,t,n,r){var o,i=n.padding,a=t.x,s=t.y,l=(0,b.Z)(e);try{for(l.s();!(o=l.n()).done;){var c=o.value,u=c.box,d=r[c.stack]||{count:1,placed:0,weight:1},p=c.stackWeight/d.weight||1;if(c.horizontal){var f=t.w*p,h=d.size||u.height;eZ(d.start)&&(s=d.start),u.fullSize?_V(u,i.left,s,n.outerWidth-i.right-i.left,h):_V(u,t.left+d.placed,s,f,h),d.start=s,d.placed+=f,s=u.bottom}else{var A=t.h*p,m=d.size||u.width;eZ(d.start)&&(a=d.start),u.fullSize?_V(u,a,i.top,m,n.outerHeight-i.bottom-i.top):_V(u,a,t.top+d.placed,m,A),d.start=a,d.placed+=A,a=u.right}}}catch(g){l.e(g)}finally{l.f()}t.x=a,t.y=s}var xV={addBox:function(e,t){e.boxes||(e.boxes=[]),t.fullSize=t.fullSize||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw:function(e){t.draw(e)}}]},e.boxes.push(t)},removeBox:function(e,t){var n=e.boxes?e.boxes.indexOf(t):-1;-1!==n&&e.boxes.splice(n,1)},configure:function(e,t,n){t.fullSize=n.fullSize,t.position=n.position,t.weight=n.weight},update:function(e,t,n,r){if(e){var o=wH(e.options.layout.padding),i=Math.max(t-o.width,0),a=Math.max(n-o.height,0),s=function(e){var t=function(e){var t,n,r,o,i,a,s=[];for(t=0,n=(e||[]).length;t<n;++t){var l=r=e[t];o=l.position;var c=l.options;i=c.stack;var u=c.stackWeight;a=void 0===u?1:u,s.push({index:t,box:r,pos:o,horizontal:r.isHorizontal(),weight:r.weight,stack:i&&o+i,stackWeight:a})}return s}(e),n=AV(t.filter((function(e){return e.box.fullSize})),!0),r=AV(hV(t,"left"),!0),o=AV(hV(t,"right")),i=AV(hV(t,"top"),!0),a=AV(hV(t,"bottom")),s=bV(t,"x"),l=bV(t,"y");return{fullSize:n,leftAndTop:r.concat(i),rightAndBottom:o.concat(l).concat(a).concat(s),chartArea:hV(t,"chartArea"),vertical:r.concat(o).concat(l),horizontal:i.concat(a).concat(s)}}(e.boxes),l=s.vertical,c=s.horizontal;FU(e.boxes,(function(e){"function"===typeof e.beforeLayout&&e.beforeLayout()}));var u=l.reduce((function(e,t){return t.box.options&&!1===t.box.options.display?e:e+1}),0)||1,d=Object.freeze({outerWidth:t,outerHeight:n,padding:o,availableWidth:i,availableHeight:a,vBoxMaxWidth:i/2/u,hBoxMaxHeight:a/2}),p=Object.assign({},o);vV(p,wH(r));var f=Object.assign({maxPadding:p,w:i,h:a,x:o.left,y:o.top},o),h=mV(l.concat(c),d);OV(s.fullSize,f,d,h),OV(l,f,d,h),OV(c,f,d,h)&&OV(l,f,d,h),function(e){var t=e.maxPadding;function n(n){var r=Math.max(t[n]-e[n],0);return e[n]+=r,r}e.y+=n("top"),e.x+=n("left"),n("right"),n("bottom")}(f),zV(s.leftAndTop,f,d,h),f.x+=f.w,f.y+=f.h,zV(s.rightAndBottom,f,d,h),e.chartArea={left:f.left,top:f.top,right:f.left+f.w,bottom:f.top+f.h,height:f.h,width:f.w},FU(s.chartArea,(function(t){var n=t.box;Object.assign(n,e.chartArea),n.update(f.w,f.h,{left:0,top:0,right:0,bottom:0})}))}}},wV=function(){function e(){(0,o.Z)(this,e)}return(0,i.Z)(e,[{key:"acquireContext",value:function(e,t){}},{key:"releaseContext",value:function(e){return!1}},{key:"addEventListener",value:function(e,t,n){}},{key:"removeEventListener",value:function(e,t,n){}},{key:"getDevicePixelRatio",value:function(){return 1}},{key:"getMaximumSize",value:function(e,t,n,r){return t=Math.max(0,t||e.width),n=n||e.height,{width:t,height:Math.max(0,r?Math.floor(t/r):n)}}},{key:"isAttached",value:function(e){return!0}},{key:"updateConfig",value:function(e){}}]),e}(),CV=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(){return(0,o.Z)(this,n),t.apply(this,arguments)}return(0,i.Z)(n,[{key:"acquireContext",value:function(e){return e&&e.getContext&&e.getContext("2d")||null}},{key:"updateConfig",value:function(e){e.options.animation=!1}}]),n}(wV),SV="$chartjs",EV={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},kV=function(e){return null===e||""===e};var DV=!!l$&&{passive:!0};function NV(e,t,n){e.canvas.removeEventListener(t,n,DV)}function TV(e,t){var n,r=(0,b.Z)(e);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(o===t||o.contains(t))return!0}}catch(i){r.e(i)}finally{r.f()}}function jV(e,t,n){var r=e.canvas,o=new MutationObserver((function(e){var t,o=!1,i=(0,b.Z)(e);try{for(i.s();!(t=i.n()).done;){var a=t.value;o=(o=o||TV(a.addedNodes,r))&&!TV(a.removedNodes,r)}}catch(s){i.e(s)}finally{i.f()}o&&n()}));return o.observe(document,{childList:!0,subtree:!0}),o}function BV(e,t,n){var r=e.canvas,o=new MutationObserver((function(e){var t,o=!1,i=(0,b.Z)(e);try{for(i.s();!(t=i.n()).done;){var a=t.value;o=(o=o||TV(a.removedNodes,r))&&!TV(a.addedNodes,r)}}catch(s){i.e(s)}finally{i.f()}o&&n()}));return o.observe(document,{childList:!0,subtree:!0}),o}var LV=new Map,RV=0;function qV(){var e=window.devicePixelRatio;e!==RV&&(RV=e,LV.forEach((function(t,n){n.currentDevicePixelRatio!==e&&t()})))}function PV(e,t,n){var r=e.canvas,o=r&&KH(r);if(o){var i=jZ((function(e,t){var r=o.clientWidth;n(e,t),r<o.clientWidth&&n()}),window),a=new ResizeObserver((function(e){var t=e[0],n=t.contentRect.width,r=t.contentRect.height;0===n&&0===r||i(n,r)}));return a.observe(o),function(e,t){LV.size||window.addEventListener("resize",qV),LV.set(e,t)}(e,i),a}}function IV(e,t,n){n&&n.disconnect(),"resize"===t&&function(e){LV.delete(e),LV.size||window.removeEventListener("resize",qV)}(e)}function WV(e,t,n){var r=e.canvas,o=jZ((function(t){null!==e.ctx&&n(function(e,t){var n=EV[e.type]||e.type,r=o$(e,t),o=r.x,i=r.y;return{type:n,chart:t,native:e,x:void 0!==o?o:null,y:void 0!==i?i:null}}(t,e))}),e);return function(e,t,n){e.addEventListener(t,n,DV)}(r,t,o),o}var FV=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(){return(0,o.Z)(this,n),t.apply(this,arguments)}return(0,i.Z)(n,[{key:"acquireContext",value:function(e,t){var n=e&&e.getContext&&e.getContext("2d");return n&&n.canvas===e?(function(e,t){var n=e.style,r=e.getAttribute("height"),o=e.getAttribute("width");if(e[SV]={initial:{height:r,width:o,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",kV(o)){var i=c$(e,"width");void 0!==i&&(e.width=i)}if(kV(r))if(""===e.style.height)e.height=e.width/(t||2);else{var a=c$(e,"height");void 0!==a&&(e.height=a)}}(e,t),n):null}},{key:"releaseContext",value:function(e){var t=e.canvas;if(!t[SV])return!1;var n=t[SV].initial;["height","width"].forEach((function(e){var r=n[e];jU(r)?t.removeAttribute(e):t.setAttribute(e,r)}));var r=n.style||{};return Object.keys(r).forEach((function(e){t.style[e]=r[e]})),t.width=t.width,delete t[SV],!0}},{key:"addEventListener",value:function(e,t,n){this.removeEventListener(e,t);var r=e.$proxies||(e.$proxies={}),o={attach:jV,detach:BV,resize:PV}[t]||WV;r[t]=o(e,t,n)}},{key:"removeEventListener",value:function(e,t){var n=e.$proxies||(e.$proxies={}),r=n[t];r&&(({attach:IV,detach:IV,resize:IV}[t]||NV)(e,t,r),n[t]=void 0)}},{key:"getDevicePixelRatio",value:function(){return window.devicePixelRatio}},{key:"getMaximumSize",value:function(e,t,n,r){return a$(e,t,n,r)}},{key:"isAttached",value:function(e){var t=KH(e);return!(!t||!t.isConnected)}}]),n}(wV);var UV=function(){function e(){(0,o.Z)(this,e),(0,Ws.Z)(this,"active",!1)}return(0,i.Z)(e,[{key:"tooltipPosition",value:function(e){var t=this.getProps(["x","y"],e);return{x:t.x,y:t.y}}},{key:"hasValue",value:function(){return bZ(this.x)&&bZ(this.y)}},{key:"getProps",value:function(e,t){var n=this,r=this.$animations;if(!t||!r)return this;var o={};return e.forEach((function(e){o[e]=r[e]&&r[e].active()?r[e]._to:n[e]})),o}}]),e}();function ZV(e,t){var n=e.options.ticks,r=function(e){var t=e.options.offset,n=e._tickSize(),r=e._length/n+(t?0:1),o=e._maxLength/n;return Math.floor(Math.min(r,o))}(e),o=Math.min(n.maxTicksLimit||r,r),i=n.major.enabled?function(e){var t,n,r=[];for(t=0,n=e.length;t<n;t++)e[t].major&&r.push(t);return r}(t):[],a=i.length,s=i[0],l=i[a-1],c=[];if(a>o)return function(e,t,n,r){var o,i=0,a=n[0];for(r=Math.ceil(r),o=0;o<e.length;o++)o===a&&(t.push(e[o]),a=n[++i*r])}(t,c,i,a/o),c;var u=function(e,t,n){var r=function(e){var t,n,r=e.length;if(r<2)return!1;for(n=e[0],t=1;t<r;++t)if(e[t]-e[t-1]!==n)return!1;return n}(e),o=t.length/n;if(!r)return Math.max(o,1);for(var i=function(e){var t,n=[],r=Math.sqrt(e);for(t=1;t<r;t++)e%t===0&&(n.push(t),n.push(e/t));return r===(0|r)&&n.push(r),n.sort((function(e,t){return e-t})).pop(),n}(r),a=0,s=i.length-1;a<s;a++){var l=i[a];if(l>o)return l}return Math.max(o,1)}(i,t,o);if(a>0){var d,p,f=a>1?Math.round((l-s)/(a-1)):null;for(HV(t,c,u,jU(f)?0:s-f,s),d=0,p=a-1;d<p;d++)HV(t,c,u,i[d],i[d+1]);return HV(t,c,u,l,jU(f)?t.length:l+f),c}return HV(t,c,u),c}function HV(e,t,n,r,o){var i,a,s,l=PU(r,0),c=Math.min(PU(o,e.length),e.length),u=0;for(n=Math.ceil(n),o&&(n=(i=o-r)/Math.floor(i/n)),s=l;s<0;)u++,s=Math.round(l+u*n);for(a=Math.max(l,0);a<c;a++)a===s&&(t.push(e[a]),u++,s=Math.round(l+u*n))}(0,Ws.Z)(UV,"defaults",{}),(0,Ws.Z)(UV,"defaultRoutes",void 0);var $V=function(e,t,n){return"top"===t||"left"===t?e[t]+n:e[t]-n};function VV(e,t){for(var n=[],r=e.length/t,o=e.length,i=0;i<o;i+=r)n.push(e[Math.floor(i)]);return n}function XV(e,t,n){var r,o=e.ticks.length,i=Math.min(t,o-1),a=e._startPixel,s=e._endPixel,l=1e-6,c=e.getPixelForTick(i);if(!(n&&(r=1===o?Math.max(c-a,s-c):0===t?(e.getPixelForTick(1)-c)/2:(c-e.getPixelForTick(i-1))/2,(c+=i<t?r:-r)<a-l||c>s+l)))return c}function QV(e){return e.drawTicks?e.tickLength:0}function YV(e,t){if(!e.display)return 0;var n=CH(e.font,t),r=wH(e.padding);return(BU(e.text)?e.text.length:1)*n.lineHeight+r.height}function GV(e,t,n){var r=BZ(e);return(n&&"right"!==t||!n&&"right"===t)&&(r=function(e){return"left"===e?"right":"right"===e?"left":e}(r)),r}var KV=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(e){var r;return(0,o.Z)(this,n),(r=t.call(this)).id=e.id,r.type=e.type,r.options=void 0,r.ctx=e.ctx,r.chart=e.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(0,i.Z)(n,[{key:"init",value:function(e){this.options=e.setContext(this.getContext()),this.axis=e.axis,this._userMin=this.parse(e.min),this._userMax=this.parse(e.max),this._suggestedMin=this.parse(e.suggestedMin),this._suggestedMax=this.parse(e.suggestedMax)}},{key:"parse",value:function(e,t){return e}},{key:"getUserBounds",value:function(){var e=this._userMin,t=this._userMax,n=this._suggestedMin,r=this._suggestedMax;return e=qU(e,Number.POSITIVE_INFINITY),t=qU(t,Number.NEGATIVE_INFINITY),n=qU(n,Number.POSITIVE_INFINITY),r=qU(r,Number.NEGATIVE_INFINITY),{min:qU(e,n),max:qU(t,r),minDefined:RU(e),maxDefined:RU(t)}}},{key:"getMinMax",value:function(e){var t,n=this.getUserBounds(),r=n.min,o=n.max,i=n.minDefined,a=n.maxDefined;if(i&&a)return{min:r,max:o};for(var s=this.getMatchingVisibleMetas(),l=0,c=s.length;l<c;++l)t=s[l].controller.getMinMax(this,e),i||(r=Math.min(r,t.min)),a||(o=Math.max(o,t.max));return{min:qU(r=a&&r>o?o:r,qU(o=i&&r>o?r:o,r)),max:qU(o,qU(r,o))}}},{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 e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}},{key:"getLabelItems",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.chart.chartArea;return this._labelItems||(this._labelItems=this._computeLabelItems(e))}},{key:"beforeLayout",value:function(){this._cache={},this._dataLimitsCached=!1}},{key:"beforeUpdate",value:function(){WU(this.options.beforeUpdate,[this])}},{key:"update",value:function(e,t,n){var r=this.options,o=r.beginAtZero,i=r.grace,a=r.ticks,s=a.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=t,this._margins=n=Object.assign({left:0,right:0,top:0,bottom:0},n),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+n.left+n.right:this.height+n.top+n.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=function(e,t,n){var r=e.min,o=e.max,i=IU(t,(o-r)/2),a=function(e,t){return n&&0===e?0:e+t};return{min:a(r,-Math.abs(i)),max:a(o,i)}}(this,i,o),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();var l=s<this.ticks.length;this._convertTicksToLabels(l?VV(this.ticks,s):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),a.display&&(a.autoSkip||"auto"===a.source)&&(this.ticks=ZV(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),l&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}},{key:"configure",value:function(){var e,t,n=this.options.reverse;this.isHorizontal()?(e=this.left,t=this.right):(e=this.top,t=this.bottom,n=!n),this._startPixel=e,this._endPixel=t,this._reversePixels=n,this._length=t-e,this._alignToPixels=this.options.alignToPixels}},{key:"afterUpdate",value:function(){WU(this.options.afterUpdate,[this])}},{key:"beforeSetDimensions",value:function(){WU(this.options.beforeSetDimensions,[this])}},{key:"setDimensions",value:function(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}},{key:"afterSetDimensions",value:function(){WU(this.options.afterSetDimensions,[this])}},{key:"_callHooks",value:function(e){this.chart.notifyPlugins(e,this.getContext()),WU(this.options[e],[this])}},{key:"beforeDataLimits",value:function(){this._callHooks("beforeDataLimits")}},{key:"determineDataLimits",value:function(){}},{key:"afterDataLimits",value:function(){this._callHooks("afterDataLimits")}},{key:"beforeBuildTicks",value:function(){this._callHooks("beforeBuildTicks")}},{key:"buildTicks",value:function(){return[]}},{key:"afterBuildTicks",value:function(){this._callHooks("afterBuildTicks")}},{key:"beforeTickToLabelConversion",value:function(){WU(this.options.beforeTickToLabelConversion,[this])}},{key:"generateTickLabels",value:function(e){var t,n,r,o=this.options.ticks;for(t=0,n=e.length;t<n;t++)(r=e[t]).label=WU(o.callback,[r.value,t,e],this)}},{key:"afterTickToLabelConversion",value:function(){WU(this.options.afterTickToLabelConversion,[this])}},{key:"beforeCalculateLabelRotation",value:function(){WU(this.options.beforeCalculateLabelRotation,[this])}},{key:"calculateLabelRotation",value:function(){var e,t,n,r=this.options,o=r.ticks,i=this.ticks.length,a=o.minRotation||0,s=o.maxRotation,l=a;if(!this._isVisible()||!o.display||a>=s||i<=1||!this.isHorizontal())this.labelRotation=a;else{var c=this._getLabelSizes(),u=c.widest.width,d=c.highest.height,p=xZ(this.chart.width-u,0,this.maxWidth);u+6>(e=r.offset?this.maxWidth/i:p/(i-1))&&(e=p/(i-(r.offset?.5:1)),t=this.maxHeight-QV(r.grid)-o.padding-YV(r.title,this.chart.options.font),n=Math.sqrt(u*u+d*d),l=gZ(Math.min(Math.asin(xZ((c.highest.height+6)/e,-1,1)),Math.asin(xZ(t/n,-1,1))-Math.asin(xZ(d/n,-1,1)))),l=Math.max(a,Math.min(s,l))),this.labelRotation=l}}},{key:"afterCalculateLabelRotation",value:function(){WU(this.options.afterCalculateLabelRotation,[this])}},{key:"afterAutoSkip",value:function(){}},{key:"beforeFit",value:function(){WU(this.options.beforeFit,[this])}},{key:"fit",value:function(){var e={width:0,height:0},t=this.chart,n=this.options,r=n.ticks,o=n.title,i=n.grid,a=this._isVisible(),s=this.isHorizontal();if(a){var l=YV(o,t.options.font);if(s?(e.width=this.maxWidth,e.height=QV(i)+l):(e.height=this.maxHeight,e.width=QV(i)+l),r.display&&this.ticks.length){var c=this._getLabelSizes(),u=c.first,d=c.last,p=c.widest,f=c.highest,h=2*r.padding,b=mZ(this.labelRotation),A=Math.cos(b),m=Math.sin(b);if(s){var g=r.mirror?0:m*p.width+A*f.height;e.height=Math.min(this.maxHeight,e.height+g+h)}else{var v=r.mirror?0:A*p.width+m*f.height;e.width=Math.min(this.maxWidth,e.width+v+h)}this._calculatePadding(u,d,m,A)}}this._handleMargins(),s?(this.width=this._length=t.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=t.height-this._margins.top-this._margins.bottom)}},{key:"_calculatePadding",value:function(e,t,n,r){var o=this.options,i=o.ticks,a=i.align,s=i.padding,l=o.position,c=0!==this.labelRotation,u="top"!==l&&"x"===this.axis;if(this.isHorizontal()){var d=this.getPixelForTick(0)-this.left,p=this.right-this.getPixelForTick(this.ticks.length-1),f=0,h=0;c?u?(f=r*e.width,h=n*t.height):(f=n*e.height,h=r*t.width):"start"===a?h=t.width:"end"===a?f=e.width:"inner"!==a&&(f=e.width/2,h=t.width/2),this.paddingLeft=Math.max((f-d+s)*this.width/(this.width-d),0),this.paddingRight=Math.max((h-p+s)*this.width/(this.width-p),0)}else{var b=t.height/2,A=e.height/2;"start"===a?(b=0,A=e.height):"end"===a&&(b=t.height,A=0),this.paddingTop=b+s,this.paddingBottom=A+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(){WU(this.options.afterFit,[this])}},{key:"isHorizontal",value:function(){var e=this.options,t=e.axis,n=e.position;return"top"===n||"bottom"===n||"x"===t}},{key:"isFullSize",value:function(){return this.options.fullSize}},{key:"_convertTicksToLabels",value:function(e){var t,n;for(this.beforeTickToLabelConversion(),this.generateTickLabels(e),t=0,n=e.length;t<n;t++)jU(e[t].label)&&(e.splice(t,1),n--,t--);this.afterTickToLabelConversion()}},{key:"_getLabelSizes",value:function(){var e=this._labelSizes;if(!e){var t=this.options.ticks.sampleSize,n=this.ticks;t<n.length&&(n=VV(n,t)),this._labelSizes=e=this._computeLabelSizes(n,n.length)}return e}},{key:"_computeLabelSizes",value:function(e,t){var n,r,o,i,a,s,l,c,u,d,p,f=this.ctx,h=this._longestTextCache,b=[],A=[],m=0,g=0;for(n=0;n<t;++n){if(i=e[n].label,a=this._resolveTickFontOptions(n),f.font=s=a.string,l=h[s]=h[s]||{data:{},gc:[]},c=a.lineHeight,u=d=0,jU(i)||BU(i)){if(BU(i))for(r=0,o=i.length;r<o;++r)jU(p=i[r])||BU(p)||(u=oH(f,l.data,l.gc,u,p),d+=c)}else u=oH(f,l.data,l.gc,u,i),d=c;b.push(u),A.push(d),m=Math.max(u,m),g=Math.max(d,g)}!function(e,t){FU(e,(function(e){var n,r=e.gc,o=r.length/2;if(o>t){for(n=0;n<o;++n)delete e.data[r[n]];r.splice(0,o)}}))}(h,t);var v=b.indexOf(m),y=A.indexOf(g),M=function(e){return{width:b[e]||0,height:A[e]||0}};return{first:M(0),last:M(t-1),widest:M(v),highest:M(y),widths:b,heights:A}}},{key:"getLabelForValue",value:function(e){return e}},{key:"getPixelForValue",value:function(e,t){return NaN}},{key:"getValueForPixel",value:function(e){}},{key:"getPixelForTick",value:function(e){var t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}},{key:"getPixelForDecimal",value:function(e){this._reversePixels&&(e=1-e);var t=this._startPixel+e*this._length;return xZ(this._alignToPixels?aH(this.chart,t,0):t,-32768,32767)}},{key:"getDecimalForPixel",value:function(e){var t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t}},{key:"getBasePixel",value:function(){return this.getPixelForValue(this.getBaseValue())}},{key:"getBaseValue",value:function(){var e=this.min,t=this.max;return e<0&&t<0?t:e>0&&t>0?e:0}},{key:"getContext",value:function(e){var t=this.ticks||[];if(e>=0&&e<t.length){var n=t[e];return n.$context||(n.$context=function(e,t,n){return EH(e,{tick:n,index:t,type:"tick"})}(this.getContext(),e,n))}return this.$context||(this.$context=function(e,t){return EH(e,{scale:t,type:"scale"})}(this.chart.getContext(),this))}},{key:"_tickSize",value:function(){var e=this.options.ticks,t=mZ(this.labelRotation),n=Math.abs(Math.cos(t)),r=Math.abs(Math.sin(t)),o=this._getLabelSizes(),i=e.autoSkipPadding||0,a=o?o.widest.width+i:0,s=o?o.highest.height+i:0;return this.isHorizontal()?s*n>a*r?a/n:s/r:s*r<a*n?s/n:a/r}},{key:"_isVisible",value:function(){var e=this.options.display;return"auto"!==e?!!e:this.getMatchingVisibleMetas().length>0}},{key:"_computeGridLineItems",value:function(e){var t,n,r,o,i,a,s,l,c,u,d,p,f=this.axis,h=this.chart,b=this.options,A=b.grid,m=b.position,g=b.border,v=A.offset,y=this.isHorizontal(),M=this.ticks.length+(v?1:0),O=QV(A),_=[],z=g.setContext(this.getContext()),x=z.display?z.width:0,w=x/2,C=function(e){return aH(h,e,x)};if("top"===m)t=C(this.bottom),a=this.bottom-O,l=t-w,u=C(e.top)+w,p=e.bottom;else if("bottom"===m)t=C(this.top),u=e.top,p=C(e.bottom)-w,a=t+w,l=this.top+O;else if("left"===m)t=C(this.right),i=this.right-O,s=t-w,c=C(e.left)+w,d=e.right;else if("right"===m)t=C(this.left),c=e.left,d=C(e.right)-w,i=t+w,s=this.left+O;else if("x"===f){if("center"===m)t=C((e.top+e.bottom)/2+.5);else if(LU(m)){var S=Object.keys(m)[0],E=m[S];t=C(this.chart.scales[S].getPixelForValue(E))}u=e.top,p=e.bottom,l=(a=t+w)+O}else if("y"===f){if("center"===m)t=C((e.left+e.right)/2);else if(LU(m)){var k=Object.keys(m)[0],D=m[k];t=C(this.chart.scales[k].getPixelForValue(D))}s=(i=t-w)-O,c=e.left,d=e.right}var N=PU(b.ticks.maxTicksLimit,M),T=Math.max(1,Math.ceil(M/N));for(n=0;n<M;n+=T){var j=this.getContext(n),B=A.setContext(j),L=g.setContext(j),R=B.lineWidth,q=B.color,P=L.dash||[],I=L.dashOffset,W=B.tickWidth,F=B.tickColor,U=B.tickBorderDash||[],Z=B.tickBorderDashOffset;void 0!==(r=XV(this,n,v))&&(o=aH(h,r,R),y?i=s=c=d=o:a=l=u=p=o,_.push({tx1:i,ty1:a,tx2:s,ty2:l,x1:c,y1:u,x2:d,y2:p,width:R,color:q,borderDash:P,borderDashOffset:I,tickWidth:W,tickColor:F,tickBorderDash:U,tickBorderDashOffset:Z}))}return this._ticksLength=M,this._borderValue=t,_}},{key:"_computeLabelItems",value:function(e){var t,n,r,o,i,a,s,l,c,u,d,p=this.axis,f=this.options,h=f.position,b=f.ticks,A=this.isHorizontal(),m=this.ticks,g=b.align,v=b.crossAlign,y=b.padding,M=b.mirror,O=QV(f.grid),_=O+y,z=M?-y:_,x=-mZ(this.labelRotation),w=[],C="middle";if("top"===h)i=this.bottom-z,a=this._getXAxisLabelAlignment();else if("bottom"===h)i=this.top+z,a=this._getXAxisLabelAlignment();else if("left"===h){var S=this._getYAxisLabelAlignment(O);a=S.textAlign,o=S.x}else if("right"===h){var E=this._getYAxisLabelAlignment(O);a=E.textAlign,o=E.x}else if("x"===p){if("center"===h)i=(e.top+e.bottom)/2+_;else if(LU(h)){var k=Object.keys(h)[0],D=h[k];i=this.chart.scales[k].getPixelForValue(D)+_}a=this._getXAxisLabelAlignment()}else if("y"===p){if("center"===h)o=(e.left+e.right)/2-_;else if(LU(h)){var N=Object.keys(h)[0],T=h[N];o=this.chart.scales[N].getPixelForValue(T)}a=this._getYAxisLabelAlignment(O).textAlign}"y"===p&&("start"===g?C="top":"end"===g&&(C="bottom"));var j=this._getLabelSizes();for(t=0,n=m.length;t<n;++t){r=m[t].label;var B=b.setContext(this.getContext(t));s=this.getPixelForTick(t)+b.labelOffset,c=(l=this._resolveTickFontOptions(t)).lineHeight;var L=(u=BU(r)?r.length:1)/2,R=B.color,q=B.textStrokeColor,P=B.textStrokeWidth,I=a;A?(o=s,"inner"===a&&(I=t===n-1?this.options.reverse?"left":"right":0===t?this.options.reverse?"right":"left":"center"),d="top"===h?"near"===v||0!==x?-u*c+c/2:"center"===v?-j.highest.height/2-L*c+c:-j.highest.height+c/2:"near"===v||0!==x?c/2:"center"===v?j.highest.height/2-L*c:j.highest.height-u*c,M&&(d*=-1),0===x||B.showLabelBackdrop||(o+=c/2*Math.sin(x))):(i=s,d=(1-u)*c/2);var W=void 0;if(B.showLabelBackdrop){var F=wH(B.backdropPadding),U=j.heights[t],Z=j.widths[t],H=d-F.top,$=0-F.left;switch(C){case"middle":H-=U/2;break;case"bottom":H-=U}switch(a){case"center":$-=Z/2;break;case"right":$-=Z}W={left:$,top:H,width:Z+F.width,height:U+F.height,color:B.backdropColor}}w.push({label:r,font:l,textOffset:d,options:{rotation:x,color:R,strokeColor:q,strokeWidth:P,textAlign:I,textBaseline:C,translation:[o,i],backdrop:W}})}return w}},{key:"_getXAxisLabelAlignment",value:function(){var e=this.options,t=e.position,n=e.ticks;if(-mZ(this.labelRotation))return"top"===t?"left":"right";var r="center";return"start"===n.align?r="left":"end"===n.align?r="right":"inner"===n.align&&(r="inner"),r}},{key:"_getYAxisLabelAlignment",value:function(e){var t,n,r=this.options,o=r.position,i=r.ticks,a=i.crossAlign,s=i.mirror,l=i.padding,c=e+l,u=this._getLabelSizes().widest.width;return"left"===o?s?(n=this.right+l,"near"===a?t="left":"center"===a?(t="center",n+=u/2):(t="right",n+=u)):(n=this.right-c,"near"===a?t="right":"center"===a?(t="center",n-=u/2):(t="left",n=this.left)):"right"===o?s?(n=this.left+l,"near"===a?t="right":"center"===a?(t="center",n-=u/2):(t="left",n-=u)):(n=this.left+c,"near"===a?t="left":"center"===a?(t="center",n+=u/2):(t="right",n=this.right)):t="right",{textAlign:t,x:n}}},{key:"_computeLabelArea",value:function(){if(!this.options.ticks.mirror){var e=this.chart,t=this.options.position;return"left"===t||"right"===t?{top:0,left:this.left,bottom:e.height,right:this.right}:"top"===t||"bottom"===t?{top:this.top,left:0,bottom:this.bottom,right:e.width}:void 0}}},{key:"drawBackground",value:function(){var e=this.ctx,t=this.options.backgroundColor,n=this.left,r=this.top,o=this.width,i=this.height;t&&(e.save(),e.fillStyle=t,e.fillRect(n,r,o,i),e.restore())}},{key:"getLineWidthForValue",value:function(e){var t=this.options.grid;if(!this._isVisible()||!t.display)return 0;var n=this.ticks.findIndex((function(t){return t.value===e}));return n>=0?t.setContext(this.getContext(n)).lineWidth:0}},{key:"drawGrid",value:function(e){var t,n,r=this.options.grid,o=this.ctx,i=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e)),a=function(e,t,n){n.width&&n.color&&(o.save(),o.lineWidth=n.width,o.strokeStyle=n.color,o.setLineDash(n.borderDash||[]),o.lineDashOffset=n.borderDashOffset,o.beginPath(),o.moveTo(e.x,e.y),o.lineTo(t.x,t.y),o.stroke(),o.restore())};if(r.display)for(t=0,n=i.length;t<n;++t){var s=i[t];r.drawOnChartArea&&a({x:s.x1,y:s.y1},{x:s.x2,y:s.y2},s),r.drawTicks&&a({x:s.tx1,y:s.ty1},{x:s.tx2,y:s.ty2},{color:s.tickColor,width:s.tickWidth,borderDash:s.tickBorderDash,borderDashOffset:s.tickBorderDashOffset})}}},{key:"drawBorder",value:function(){var e=this.chart,t=this.ctx,n=this.options,r=n.border,o=n.grid,i=r.setContext(this.getContext()),a=r.display?i.width:0;if(a){var s,l,c,u,d=o.setContext(this.getContext(0)).lineWidth,p=this._borderValue;this.isHorizontal()?(s=aH(e,this.left,a)-a/2,l=aH(e,this.right,d)+d/2,c=u=p):(c=aH(e,this.top,a)-a/2,u=aH(e,this.bottom,d)+d/2,s=l=p),t.save(),t.lineWidth=i.width,t.strokeStyle=i.color,t.beginPath(),t.moveTo(s,c),t.lineTo(l,u),t.stroke(),t.restore()}}},{key:"drawLabels",value:function(e){if(this.options.ticks.display){var t=this.ctx,n=this._computeLabelArea();n&&dH(t,n);var r,o=this.getLabelItems(e),i=(0,b.Z)(o);try{for(i.s();!(r=i.n()).done;){var a=r.value,s=a.options,l=a.font;bH(t,a.label,0,a.textOffset,l,s)}}catch(c){i.e(c)}finally{i.f()}n&&pH(t)}}},{key:"drawTitle",value:function(){var e=this.ctx,t=this.options,n=t.position,r=t.title,o=t.reverse;if(r.display){var i=CH(r.font),a=wH(r.padding),s=r.align,l=i.lineHeight/2;"bottom"===n||"center"===n||LU(n)?(l+=a.bottom,BU(r.text)&&(l+=i.lineHeight*(r.text.length-1))):l+=a.top;var c=function(e,t,n,r){var o,i,a,s=e.top,l=e.left,c=e.bottom,u=e.right,d=e.chart,p=d.chartArea,f=d.scales,h=0,b=c-s,A=u-l;if(e.isHorizontal()){if(i=LZ(r,l,u),LU(n)){var m=Object.keys(n)[0],g=n[m];a=f[m].getPixelForValue(g)+b-t}else a="center"===n?(p.bottom+p.top)/2+b-t:$V(e,n,t);o=u-l}else{if(LU(n)){var v=Object.keys(n)[0],y=n[v];i=f[v].getPixelForValue(y)-A+t}else i="center"===n?(p.left+p.right)/2-A+t:$V(e,n,t);a=LZ(r,c,s),h="left"===n?-lZ:lZ}return{titleX:i,titleY:a,maxWidth:o,rotation:h}}(this,l,n,s),u=c.titleX,d=c.titleY,p=c.maxWidth,f=c.rotation;bH(e,r.text,0,0,i,{color:r.color,maxWidth:p,rotation:f,textAlign:GV(s,n,o),textBaseline:"middle",translation:[u,d]})}}},{key:"draw",value:function(e){this._isVisible()&&(this.drawBackground(),this.drawGrid(e),this.drawBorder(),this.drawTitle(),this.drawLabels(e))}},{key:"_layers",value:function(){var e=this,t=this.options,r=t.ticks&&t.ticks.z||0,o=PU(t.grid&&t.grid.z,-1),i=PU(t.border&&t.border.z,0);return this._isVisible()&&this.draw===n.prototype.draw?[{z:o,draw:function(t){e.drawBackground(),e.drawGrid(t),e.drawTitle()}},{z:i,draw:function(){e.drawBorder()}},{z:r,draw:function(t){e.drawLabels(t)}}]:[{z:r,draw:function(t){e.draw(t)}}]}},{key:"getMatchingVisibleMetas",value:function(e){var t,n,r=this.chart.getSortedVisibleDatasetMetas(),o=this.axis+"AxisID",i=[];for(t=0,n=r.length;t<n;++t){var a=r[t];a[o]!==this.id||e&&a.type!==e||i.push(a)}return i}},{key:"_resolveTickFontOptions",value:function(e){return CH(this.options.ticks.setContext(this.getContext(e)).font)}},{key:"_maxDigits",value:function(){var e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}}]),n}(UV),JV=function(){function e(t,n,r){(0,o.Z)(this,e),this.type=t,this.scope=n,this.override=r,this.items=Object.create(null)}return(0,i.Z)(e,[{key:"isForType",value:function(e){return Object.prototype.isPrototypeOf.call(this.type.prototype,e.prototype)}},{key:"register",value:function(e){var t,n=Object.getPrototypeOf(e);(function(e){return"id"in e&&"defaults"in e})(n)&&(t=this.register(n));var r=this.items,o=e.id,i=this.scope+"."+o;if(!o)throw new Error("class does not have id: "+e);return o in r||(r[o]=e,function(e,t,n){var r=VU(Object.create(null),[n?rH.get(n):{},rH.get(t),e.defaults]);rH.set(t,r),e.defaultRoutes&&function(e,t){Object.keys(t).forEach((function(n){var r=n.split("."),o=r.pop(),i=[e].concat(r).join("."),a=t[n].split("."),s=a.pop(),l=a.join(".");rH.route(i,o,l,s)}))}(t,e.defaultRoutes);e.descriptors&&rH.describe(t,e.descriptors)}(e,i,t),this.override&&rH.override(e.id,e.overrides)),i}},{key:"get",value:function(e){return this.items[e]}},{key:"unregister",value:function(e){var t=this.items,n=e.id,r=this.scope;n in t&&delete t[n],r&&n in rH[r]&&(delete rH[r][n],this.override&&delete KZ[n])}}]),e}();var eX=function(){function e(){(0,o.Z)(this,e),this.controllers=new JV(I$,"datasets",!0),this.elements=new JV(UV,"elements"),this.plugins=new JV(Object,"plugins"),this.scales=new JV(KV,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}return(0,i.Z)(e,[{key:"add",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this._each("register",t)}},{key:"remove",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this._each("unregister",t)}},{key:"addControllers",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this._each("register",t,this.controllers)}},{key:"addElements",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this._each("register",t,this.elements)}},{key:"addPlugins",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this._each("register",t,this.plugins)}},{key:"addScales",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this._each("register",t,this.scales)}},{key:"getController",value:function(e){return this._get(e,this.controllers,"controller")}},{key:"getElement",value:function(e){return this._get(e,this.elements,"element")}},{key:"getPlugin",value:function(e){return this._get(e,this.plugins,"plugin")}},{key:"getScale",value:function(e){return this._get(e,this.scales,"scale")}},{key:"removeControllers",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this._each("unregister",t,this.controllers)}},{key:"removeElements",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this._each("unregister",t,this.elements)}},{key:"removePlugins",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this._each("unregister",t,this.plugins)}},{key:"removeScales",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this._each("unregister",t,this.scales)}},{key:"_each",value:function(e,t,n){var o=this;(0,r.Z)(t).forEach((function(t){var r=n||o._getRegistryForType(t);n||r.isForType(t)||r===o.plugins&&t.id?o._exec(e,r,t):FU(t,(function(t){var r=n||o._getRegistryForType(t);o._exec(e,r,t)}))}))}},{key:"_exec",value:function(e,t,n){var r=JU(e);WU(n["before"+r],[],n),t[e](n),WU(n["after"+r],[],n)}},{key:"_getRegistryForType",value:function(e){for(var t=0;t<this._typedRegistries.length;t++){var n=this._typedRegistries[t];if(n.isForType(e))return n}return this.plugins}},{key:"_get",value:function(e,t,n){var r=t.get(e);if(void 0===r)throw new Error('"'+e+'" is not a registered '+n+".");return r}}]),e}(),tX=new eX,nX=function(){function e(){(0,o.Z)(this,e),this._init=[]}return(0,i.Z)(e,[{key:"notify",value:function(e,t,n,r){"beforeInit"===t&&(this._init=this._createDescriptors(e,!0),this._notify(this._init,e,"install"));var o=r?this._descriptors(e).filter(r):this._descriptors(e),i=this._notify(o,e,t,n);return"afterDestroy"===t&&(this._notify(o,e,"stop"),this._notify(this._init,e,"uninstall")),i}},{key:"_notify",value:function(e,t,n,r){r=r||{};var o,i=(0,b.Z)(e);try{for(i.s();!(o=i.n()).done;){var a=o.value,s=a.plugin;if(!1===WU(s[n],[t,r,a.options],s)&&r.cancelable)return!1}}catch(l){i.e(l)}finally{i.f()}return!0}},{key:"invalidate",value:function(){jU(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}},{key:"_descriptors",value:function(e){if(this._cache)return this._cache;var t=this._cache=this._createDescriptors(e);return this._notifyStateChanges(e),t}},{key:"_createDescriptors",value:function(e,t){var n=e&&e.config,r=PU(n.options&&n.options.plugins,{}),o=function(e){for(var t={},n=[],r=Object.keys(tX.plugins.items),o=0;o<r.length;o++)n.push(tX.getPlugin(r[o]));for(var i=e.plugins||[],a=0;a<i.length;a++){var s=i[a];-1===n.indexOf(s)&&(n.push(s),t[s.id]=!0)}return{plugins:n,localIds:t}}(n);return!1!==r||t?function(e,t,n,r){var o,i=t.plugins,a=t.localIds,s=[],l=e.getContext(),c=(0,b.Z)(i);try{for(c.s();!(o=c.n()).done;){var u=o.value,d=u.id,p=rX(n[d],r);null!==p&&s.push({plugin:u,options:oX(e.config,{plugin:u,local:a[d]},p,l)})}}catch(f){c.e(f)}finally{c.f()}return s}(e,o,r,t):[]}},{key:"_notifyStateChanges",value:function(e){var t=this._oldCache||[],n=this._cache,r=function(e,t){return e.filter((function(e){return!t.some((function(t){return e.plugin.id===t.plugin.id}))}))};this._notify(r(t,n),e,"stop"),this._notify(r(n,t),e,"start")}}]),e}();function rX(e,t){return t||!1!==e?!0===e?{}:e:null}function oX(e,t,n,r){var o=t.plugin,i=t.local,a=e.pluginScopeKeys(o),s=e.getOptionScopes(n,a);return i&&o.defaults&&s.push(o.defaults),e.createResolver(s,r,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function iX(e,t){var n=rH.datasets[e]||{};return((t.datasets||{})[e]||{}).indexAxis||t.indexAxis||n.indexAxis||"x"}function aX(e,t){if("x"===e||"y"===e||"r"===e)return e;if(e=t.axis||function(e){return"top"===e||"bottom"===e?"x":"left"===e||"right"===e?"y":void 0}(t.position)||e.length>1&&aX(e[0].toLowerCase(),t),e)return e;throw new Error("Cannot determine type of '".concat(name,"' axis. Please provide 'axis' or 'position' option."))}function sX(e){var t=e.options||(e.options={});t.plugins=PU(t.plugins,{}),t.scales=function(e,t){var n=KZ[e.type]||{scales:{}},r=t.scales||{},o=iX(e.type,t),i=Object.create(null);return Object.keys(r).forEach((function(e){var t=r[e];if(!LU(t))return console.error("Invalid scale configuration for scale: ".concat(e));if(t._proxy)return console.warn("Ignoring resolver passed as options for scale: ".concat(e));var a=aX(e,t),s=function(e,t){return e===t?"_index_":"_value_"}(a,o),l=n.scales||{};i[e]=XU(Object.create(null),[{axis:a},t,l[a],l[s]])})),e.data.datasets.forEach((function(n){var o=n.type||e.type,a=n.indexAxis||iX(o,t),s=(KZ[o]||{}).scales||{};Object.keys(s).forEach((function(e){var t=function(e,t){var n=e;return"_index_"===e?n=t:"_value_"===e&&(n="x"===t?"y":"x"),n}(e,a),o=n[t+"AxisID"]||t;i[o]=i[o]||Object.create(null),XU(i[o],[{axis:t},r[o],s[e]])}))})),Object.keys(i).forEach((function(e){var t=i[e];XU(t,[rH.scales[t.type],rH.scale])})),i}(e,t)}function lX(e){return(e=e||{}).datasets=e.datasets||[],e.labels=e.labels||[],e}var cX=new Map,uX=new Set;function dX(e,t){var n=cX.get(e);return n||(n=t(),cX.set(e,n),uX.add(n)),n}var pX=function(e,t,n){var r=KU(t,n);void 0!==r&&e.add(r)},fX=function(){function e(t){(0,o.Z)(this,e),this._config=function(e){return(e=e||{}).data=lX(e.data),sX(e),e}(t),this._scopeCache=new Map,this._resolverCache=new Map}return(0,i.Z)(e,[{key:"platform",get:function(){return this._config.platform}},{key:"type",get:function(){return this._config.type},set:function(e){this._config.type=e}},{key:"data",get:function(){return this._config.data},set:function(e){this._config.data=lX(e)}},{key:"options",get:function(){return this._config.options},set:function(e){this._config.options=e}},{key:"plugins",get:function(){return this._config.plugins}},{key:"update",value:function(){var e=this._config;this.clearCache(),sX(e)}},{key:"clearCache",value:function(){this._scopeCache.clear(),this._resolverCache.clear()}},{key:"datasetScopeKeys",value:function(e){return dX(e,(function(){return[["datasets.".concat(e),""]]}))}},{key:"datasetAnimationScopeKeys",value:function(e,t){return dX("".concat(e,".transition.").concat(t),(function(){return[["datasets.".concat(e,".transitions.").concat(t),"transitions.".concat(t)],["datasets.".concat(e),""]]}))}},{key:"datasetElementScopeKeys",value:function(e,t){return dX("".concat(e,"-").concat(t),(function(){return[["datasets.".concat(e,".elements.").concat(t),"datasets.".concat(e),"elements.".concat(t),""]]}))}},{key:"pluginScopeKeys",value:function(e){var t=e.id,n=this.type;return dX("".concat(n,"-plugin-").concat(t),(function(){return[["plugins.".concat(t)].concat((0,r.Z)(e.additionalOptionScopes||[]))]}))}},{key:"_cachedScopes",value:function(e,t){var n=this._scopeCache,r=n.get(e);return r&&!t||(r=new Map,n.set(e,r)),r}},{key:"getOptionScopes",value:function(e,t,n){var r=this.options,o=this.type,i=this._cachedScopes(e,n),a=i.get(t);if(a)return a;var s=new Set;t.forEach((function(t){e&&(s.add(e),t.forEach((function(t){return pX(s,e,t)}))),t.forEach((function(e){return pX(s,r,e)})),t.forEach((function(e){return pX(s,KZ[o]||{},e)})),t.forEach((function(e){return pX(s,rH,e)})),t.forEach((function(e){return pX(s,JZ,e)}))}));var l=Array.from(s);return 0===l.length&&l.push(Object.create(null)),uX.has(t)&&i.set(t,l),l}},{key:"chartOptionScopes",value:function(){var e=this.options,t=this.type;return[e,KZ[t]||{},rH.datasets[t]||{},{type:t},rH,JZ]}},{key:"resolveNamedOptions",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[""],o={$shared:!0},i=hX(this._resolverCache,e,r),a=i.resolver,s=i.subPrefixes,l=a;(function(e,t){var n,r=NH(e),o=r.isScriptable,i=r.isIndexable,a=(0,b.Z)(t);try{for(a.s();!(n=a.n()).done;){var s=n.value,l=o(s),c=i(s),u=(c||l)&&e[s];if(l&&(tZ(u)||bX(u))||c&&BU(u))return!0}}catch(d){a.e(d)}finally{a.f()}return!1})(a,t)&&(o.$shared=!1,l=DH(a,n=tZ(n)?n():n,this.createResolver(e,n,s)));var c,u=(0,b.Z)(t);try{for(u.s();!(c=u.n()).done;){var d=c.value;o[d]=l[d]}}catch(p){u.e(p)}finally{u.f()}return o}},{key:"createResolver",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[""],r=arguments.length>3?arguments[3]:void 0,o=hX(this._resolverCache,e,n).resolver;return LU(t)?DH(o,t,void 0,r):o}}]),e}();function hX(e,t,n){var r=e.get(t);r||(r=new Map,e.set(t,r));var o=n.join(),i=r.get(o);i||(i={resolver:kH(t,n),subPrefixes:n.filter((function(e){return!e.toLowerCase().includes("hover")}))},r.set(o,i));return i}var bX=function(e){return LU(e)&&Object.getOwnPropertyNames(e).reduce((function(t,n){return t||tZ(e[n])}),!1)};var AX=["top","bottom","left","right","chartArea"];function mX(e,t){return"top"===e||"bottom"===e||-1===AX.indexOf(e)&&"x"===t}function gX(e,t){return function(n,r){return n[e]===r[e]?n[t]-r[t]:n[e]-r[e]}}function vX(e){var t=e.chart,n=t.options.animation;t.notifyPlugins("afterRender"),WU(n&&n.onComplete,[e],t)}function yX(e){var t=e.chart,n=t.options.animation;WU(n&&n.onProgress,[e],t)}function MX(e){return GH()&&"string"===typeof e?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}var OX={},_X=function(e){var t=MX(e);return Object.values(OX).filter((function(e){return e.canvas===t})).pop()};function zX(e,t,n){for(var r=0,o=Object.keys(e);r<o.length;r++){var i=o[r],a=+i;if(a>=t){var s=e[i];delete e[i],(n>0||a>t)&&(e[a+n]=s)}}}var xX=function(){function e(t,n){var r=this;(0,o.Z)(this,e);var i=this.config=new fX(n),a=MX(t),s=_X(a);if(s)throw new Error("Canvas is already in use. Chart with ID '"+s.id+"' must be destroyed before the canvas with ID '"+s.canvas.id+"' can be reused.");var l=i.createResolver(i.chartOptionScopes(),this.getContext());this.platform=new(i.platform||function(e){return!GH()||"undefined"!==typeof OffscreenCanvas&&e instanceof OffscreenCanvas?CV:FV}(a)),this.platform.updateConfig(i);var c=this.platform.acquireContext(a,l.aspectRatio),u=c&&c.canvas,d=u&&u.height,p=u&&u.width;this.id=TU(),this.ctx=c,this.canvas=u,this.width=p,this.height=d,this._options=l,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 nX,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=function(e,t){var n;return function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return t?(clearTimeout(n),n=setTimeout(e,t,o)):e.apply(this,o),t}}((function(e){return r.update(e)}),l.resizeDelay||0),this._dataChanges=[],OX[this.id]=this,c&&u?(z$.listen(this,"complete",vX),z$.listen(this,"progress",yX),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}return(0,i.Z)(e,[{key:"aspectRatio",get:function(){var e=this.options,t=e.aspectRatio,n=e.maintainAspectRatio,r=this.width,o=this.height,i=this._aspectRatio;return jU(t)?n&&i?i:o?r/o:null:t}},{key:"data",get:function(){return this.config.data},set:function(e){this.config.data=e}},{key:"options",get:function(){return this._options},set:function(e){this.config.options=e}},{key:"registry",get:function(){return tX}},{key:"_initialize",value:function(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():s$(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}},{key:"clear",value:function(){return sH(this.canvas,this.ctx),this}},{key:"stop",value:function(){return z$.stop(this),this}},{key:"resize",value:function(e,t){z$.running(this)?this._resizeBeforeDraw={width:e,height:t}:this._resize(e,t)}},{key:"_resize",value:function(e,t){var n=this.options,r=this.canvas,o=n.maintainAspectRatio&&this.aspectRatio,i=this.platform.getMaximumSize(r,e,t,o),a=n.devicePixelRatio||this.platform.getDevicePixelRatio(),s=this.width?"resize":"attach";this.width=i.width,this.height=i.height,this._aspectRatio=this.aspectRatio,s$(this,a,!0)&&(this.notifyPlugins("resize",{size:i}),WU(n.onResize,[this,i],this),this.attached&&this._doResize(s)&&this.render())}},{key:"ensureScalesHaveIDs",value:function(){FU(this.options.scales||{},(function(e,t){e.id=t}))}},{key:"buildOrUpdateScales",value:function(){var e=this,t=this.options,n=t.scales,r=this.scales,o=Object.keys(r).reduce((function(e,t){return e[t]=!1,e}),{}),i=[];n&&(i=i.concat(Object.keys(n).map((function(e){var t=n[e],r=aX(e,t),o="r"===r,i="x"===r;return{options:t,dposition:o?"chartArea":i?"bottom":"left",dtype:o?"radialLinear":i?"category":"linear"}})))),FU(i,(function(n){var i=n.options,a=i.id,s=aX(a,i),l=PU(i.type,n.dtype);void 0!==i.position&&mX(i.position,s)===mX(n.dposition)||(i.position=n.dposition),o[a]=!0;var c=null;a in r&&r[a].type===l?c=r[a]:(c=new(tX.getScale(l))({id:a,type:l,ctx:e.ctx,chart:e}),r[c.id]=c);c.init(i,t)})),FU(o,(function(e,t){e||delete r[t]})),FU(r,(function(t){xV.configure(e,t,t.options),xV.addBox(e,t)}))}},{key:"_updateMetasets",value:function(){var e=this._metasets,t=this.data.datasets.length,n=e.length;if(e.sort((function(e,t){return e.index-t.index})),n>t){for(var r=t;r<n;++r)this._destroyDatasetMeta(r);e.splice(t,n-t)}this._sortedMetasets=e.slice(0).sort(gX("order","index"))}},{key:"_removeUnreferencedMetasets",value:function(){var e=this,t=this._metasets,n=this.data.datasets;t.length>n.length&&delete this._stacks,t.forEach((function(t,r){0===n.filter((function(e){return e===t._dataset})).length&&e._destroyDatasetMeta(r)}))}},{key:"buildOrUpdateControllers",value:function(){var e,t,n=[],r=this.data.datasets;for(this._removeUnreferencedMetasets(),e=0,t=r.length;e<t;e++){var o=r[e],i=this.getDatasetMeta(e),a=o.type||this.config.type;if(i.type&&i.type!==a&&(this._destroyDatasetMeta(e),i=this.getDatasetMeta(e)),i.type=a,i.indexAxis=o.indexAxis||iX(a,this.options),i.order=o.order||0,i.index=e,i.label=""+o.label,i.visible=this.isDatasetVisible(e),i.controller)i.controller.updateIndex(e),i.controller.linkScales();else{var s=tX.getController(a),l=rH.datasets[a],c=l.datasetElementType,u=l.dataElementType;Object.assign(s,{dataElementType:tX.getElement(u),datasetElementType:c&&tX.getElement(c)}),i.controller=new s(this,e),n.push(i.controller)}}return this._updateMetasets(),n}},{key:"_resetElements",value:function(){var e=this;FU(this.data.datasets,(function(t,n){e.getDatasetMeta(n).controller.reset()}),this)}},{key:"reset",value:function(){this._resetElements(),this.notifyPlugins("reset")}},{key:"update",value:function(e){var t=this.config;t.update();var n=this._options=t.createResolver(t.chartOptionScopes(),this.getContext()),r=this._animationsDisabled=!n.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1!==this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0})){var o=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");for(var i=0,a=0,s=this.data.datasets.length;a<s;a++){var l=this.getDatasetMeta(a).controller,c=!r&&-1===o.indexOf(l);l.buildOrUpdateElements(c),i=Math.max(+l.getMaxOverflow(),i)}i=this._minPadding=n.layout.autoPadding?i:0,this._updateLayout(i),r||FU(o,(function(e){e.reset()})),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(gX("z","_idx"));var u=this._active,d=this._lastEvent;d?this._eventHandler(d,!0):u.length&&this._updateHoverStyles(u,u,!0),this.render()}}},{key:"_updateScales",value:function(){var e=this;FU(this.scales,(function(t){xV.removeBox(e,t)})),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}},{key:"_checkEventBindings",value:function(){var e=this.options,t=new Set(Object.keys(this._listeners)),n=new Set(e.events);nZ(t,n)&&!!this._responsiveListeners===e.responsive||(this.unbindEvents(),this.bindEvents())}},{key:"_updateHiddenIndices",value:function(){var e,t=this._hiddenIndices,n=this._getUniformDataChanges()||[],r=(0,b.Z)(n);try{for(r.s();!(e=r.n()).done;){var o=e.value,i=o.method,a=o.start,s=o.count;zX(t,a,"_removeElements"===i?-s:s)}}catch(l){r.e(l)}finally{r.f()}}},{key:"_getUniformDataChanges",value:function(){var e=this._dataChanges;if(e&&e.length){this._dataChanges=[];for(var t=this.data.datasets.length,n=function(t){return new Set(e.filter((function(e){return e[0]===t})).map((function(e,t){return t+","+e.splice(1).join(",")})))},r=n(0),o=1;o<t;o++)if(!nZ(r,n(o)))return;return Array.from(r).map((function(e){return e.split(",")})).map((function(e){return{method:e[1],start:+e[2],count:+e[3]}}))}}},{key:"_updateLayout",value:function(e){var t=this;if(!1!==this.notifyPlugins("beforeLayout",{cancelable:!0})){xV.update(this,this.width,this.height,e);var n=this.chartArea,o=n.width<=0||n.height<=0;this._layers=[],FU(this.boxes,(function(e){var n;o&&"chartArea"===e.position||(e.configure&&e.configure(),(n=t._layers).push.apply(n,(0,r.Z)(e._layers())))}),this),this._layers.forEach((function(e,t){e._idx=t})),this.notifyPlugins("afterLayout")}}},{key:"_updateDatasets",value:function(e){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})){for(var t=0,n=this.data.datasets.length;t<n;++t)this.getDatasetMeta(t).controller.configure();for(var r=0,o=this.data.datasets.length;r<o;++r)this._updateDataset(r,tZ(e)?e({datasetIndex:r}):e);this.notifyPlugins("afterDatasetsUpdate",{mode:e})}}},{key:"_updateDataset",value:function(e,t){var n=this.getDatasetMeta(e),r={meta:n,index:e,mode:t,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetUpdate",r)&&(n.controller._update(t),r.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",r))}},{key:"render",value:function(){!1!==this.notifyPlugins("beforeRender",{cancelable:!0})&&(z$.has(this)?this.attached&&!z$.running(this)&&z$.start(this):(this.draw(),vX({chart:this})))}},{key:"draw",value:function(){var e;if(this._resizeBeforeDraw){var t=this._resizeBeforeDraw,n=t.width,r=t.height;this._resize(n,r),this._resizeBeforeDraw=null}if(this.clear(),!(this.width<=0||this.height<=0)&&!1!==this.notifyPlugins("beforeDraw",{cancelable:!0})){var o=this._layers;for(e=0;e<o.length&&o[e].z<=0;++e)o[e].draw(this.chartArea);for(this._drawDatasets();e<o.length;++e)o[e].draw(this.chartArea);this.notifyPlugins("afterDraw")}}},{key:"_getSortedDatasetMetas",value:function(e){var t,n,r=this._sortedMetasets,o=[];for(t=0,n=r.length;t<n;++t){var i=r[t];e&&!i.visible||o.push(i)}return o}},{key:"getSortedVisibleDatasetMetas",value:function(){return this._getSortedDatasetMetas(!0)}},{key:"_drawDatasets",value:function(){if(!1!==this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})){for(var e=this.getSortedVisibleDatasetMetas(),t=e.length-1;t>=0;--t)this._drawDataset(e[t]);this.notifyPlugins("afterDatasetsDraw")}}},{key:"_drawDataset",value:function(e){var t=this.ctx,n=e._clip,r=!n.disabled,o=function(e){var t=e.xScale,n=e.yScale;if(t&&n)return{left:t.left,right:t.right,top:n.top,bottom:n.bottom}}(e)||this.chartArea,i={meta:e,index:e.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",i)&&(r&&dH(t,{left:!1===n.left?0:o.left-n.left,right:!1===n.right?this.width:o.right+n.right,top:!1===n.top?0:o.top-n.top,bottom:!1===n.bottom?this.height:o.bottom+n.bottom}),e.controller.draw(),r&&pH(t),i.cancelable=!1,this.notifyPlugins("afterDatasetDraw",i))}},{key:"isPointInArea",value:function(e){return uH(e,this.chartArea,this._minPadding)}},{key:"getElementsAtEventForMode",value:function(e,t,n,r){var o=pV.modes[t];return"function"===typeof o?o(this,e,n,r):[]}},{key:"getDatasetMeta",value:function(e){var t=this.data.datasets[e],n=this._metasets,r=n.filter((function(e){return e&&e._dataset===t})).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t&&t.order||0,index:e,_dataset:t,_parsed:[],_sorted:!1},n.push(r)),r}},{key:"getContext",value:function(){return this.$context||(this.$context=EH(null,{chart:this,type:"chart"}))}},{key:"getVisibleDatasetCount",value:function(){return this.getSortedVisibleDatasetMetas().length}},{key:"isDatasetVisible",value:function(e){var t=this.data.datasets[e];if(!t)return!1;var n=this.getDatasetMeta(e);return"boolean"===typeof n.hidden?!n.hidden:!t.hidden}},{key:"setDatasetVisibility",value:function(e,t){this.getDatasetMeta(e).hidden=!t}},{key:"toggleDataVisibility",value:function(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}},{key:"getDataVisibility",value:function(e){return!this._hiddenIndices[e]}},{key:"_updateVisibility",value:function(e,t,n){var r=n?"show":"hide",o=this.getDatasetMeta(e),i=o.controller._resolveAnimations(void 0,r);eZ(t)?(o.data[t].hidden=!n,this.update()):(this.setDatasetVisibility(e,n),i.update(o,{visible:n}),this.update((function(t){return t.datasetIndex===e?r:void 0})))}},{key:"hide",value:function(e,t){this._updateVisibility(e,t,!1)}},{key:"show",value:function(e,t){this._updateVisibility(e,t,!0)}},{key:"_destroyDatasetMeta",value:function(e){var t=this._metasets[e];t&&t.controller&&t.controller._destroy(),delete this._metasets[e]}},{key:"_stop",value:function(){var e,t;for(this.stop(),z$.remove(this),e=0,t=this.data.datasets.length;e<t;++e)this._destroyDatasetMeta(e)}},{key:"destroy",value:function(){this.notifyPlugins("beforeDestroy");var e=this.canvas,t=this.ctx;this._stop(),this.config.clearCache(),e&&(this.unbindEvents(),sH(e,t),this.platform.releaseContext(t),this.canvas=null,this.ctx=null),delete OX[this.id],this.notifyPlugins("afterDestroy")}},{key:"toBase64Image",value:function(){var e;return(e=this.canvas).toDataURL.apply(e,arguments)}},{key:"bindEvents",value:function(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}},{key:"bindUserEvents",value:function(){var e=this,t=this._listeners,n=this.platform,r=function(t,n,r){t.offsetX=n,t.offsetY=r,e._eventHandler(t)};FU(this.options.events,(function(o){return function(r,o){n.addEventListener(e,r,o),t[r]=o}(o,r)}))}},{key:"bindResponsiveEvents",value:function(){var e=this;this._responsiveListeners||(this._responsiveListeners={});var t,n=this._responsiveListeners,r=this.platform,o=function(t,o){r.addEventListener(e,t,o),n[t]=o},i=function(t,o){n[t]&&(r.removeEventListener(e,t,o),delete n[t])},a=function(t,n){e.canvas&&e.resize(t,n)},s=function n(){i("attach",n),e.attached=!0,e.resize(),o("resize",a),o("detach",t)};t=function(){e.attached=!1,i("resize",a),e._stop(),e._resize(0,0),o("attach",s)},r.isAttached(this.canvas)?s():t()}},{key:"unbindEvents",value:function(){var e=this;FU(this._listeners,(function(t,n){e.platform.removeEventListener(e,n,t)})),this._listeners={},FU(this._responsiveListeners,(function(t,n){e.platform.removeEventListener(e,n,t)})),this._responsiveListeners=void 0}},{key:"updateHoverStyle",value:function(e,t,n){var r,o,i,a=n?"set":"remove";for("dataset"===t&&this.getDatasetMeta(e[0].datasetIndex).controller["_"+a+"DatasetHoverStyle"](),o=0,i=e.length;o<i;++o){var s=(r=e[o])&&this.getDatasetMeta(r.datasetIndex).controller;s&&s[a+"HoverStyle"](r.element,r.datasetIndex,r.index)}}},{key:"getActiveElements",value:function(){return this._active||[]}},{key:"setActiveElements",value:function(e){var t=this,n=this._active||[],r=e.map((function(e){var n=e.datasetIndex,r=e.index,o=t.getDatasetMeta(n);if(!o)throw new Error("No dataset found at index "+n);return{datasetIndex:n,element:o.data[r],index:r}}));!UU(r,n)&&(this._active=r,this._lastEvent=null,this._updateHoverStyles(r,n))}},{key:"notifyPlugins",value:function(e,t,n){return this._plugins.notify(this,e,t,n)}},{key:"isPluginEnabled",value:function(e){return 1===this._plugins._cache.filter((function(t){return t.plugin.id===e})).length}},{key:"_updateHoverStyles",value:function(e,t,n){var r=this.options.hover,o=function(e,t){return e.filter((function(e){return!t.some((function(t){return e.datasetIndex===t.datasetIndex&&e.index===t.index}))}))},i=o(t,e),a=n?e:o(e,t);i.length&&this.updateHoverStyle(i,r.mode,!1),a.length&&r.mode&&this.updateHoverStyle(a,r.mode,!0)}},{key:"_eventHandler",value:function(e,t){var n=this,r={event:e,replay:t,cancelable:!0,inChartArea:this.isPointInArea(e)},o=function(t){return(t.options.events||n.options.events).includes(e.native.type)};if(!1!==this.notifyPlugins("beforeEvent",r,o)){var i=this._handleEvent(e,t,r.inChartArea);return r.cancelable=!1,this.notifyPlugins("afterEvent",r,o),(i||r.changed)&&this.render(),this}}},{key:"_handleEvent",value:function(e,t,n){var r=this._active,o=void 0===r?[]:r,i=this.options,a=t,s=this._getActiveElements(e,o,n,a),l=function(e){return"mouseup"===e.type||"click"===e.type||"contextmenu"===e.type}(e),c=function(e,t,n,r){return n&&"mouseout"!==e.type?r?t:e:null}(e,this._lastEvent,n,l);n&&(this._lastEvent=null,WU(i.onHover,[e,s,this],this),l&&WU(i.onClick,[e,s,this],this));var u=!UU(s,o);return(u||t)&&(this._active=s,this._updateHoverStyles(s,o,t)),this._lastEvent=c,u}},{key:"_getActiveElements",value:function(e,t,n,r){if("mouseout"===e.type)return[];if(!n)return t;var o=this.options.hover;return this.getElementsAtEventForMode(e,o.mode,o,r)}}],[{key:"register",value:function(){tX.add.apply(tX,arguments),wX()}},{key:"unregister",value:function(){tX.remove.apply(tX,arguments),wX()}}]),e}();function wX(){return FU(xX.instances,(function(e){return e._plugins.invalidate()}))}function CX(e,t,n,r){var o=_H(e.options.borderRadius,["outerStart","outerEnd","innerStart","innerEnd"]),i=(n-t)/2,a=Math.min(i,r*t/2),s=function(e){var t=(n-Math.min(i,e))*r/2;return xZ(e,0,Math.min(i,t))};return{outerStart:s(o.outerStart),outerEnd:s(o.outerEnd),innerStart:xZ(o.innerStart,0,a),innerEnd:xZ(o.innerEnd,0,a)}}function SX(e,t,n,r){return{x:n+e*Math.cos(t),y:r+e*Math.sin(t)}}function EX(e,t,n,r,o,i){var a=t.x,s=t.y,l=t.startAngle,c=t.pixelMargin,u=t.innerRadius,d=Math.max(t.outerRadius+r+n-c,0),p=u>0?u+r+n+c:0,f=0,h=o-l;if(r){var b=((u>0?u-r:0)+(d>0?d-r:0))/2;f=(h-(0!==b?h*b/(b+r):h))/2}var A=(h-Math.max(.001,h*d-n/rZ)/d)/2,m=l+A+f,g=o-A-f,v=CX(t,p,d,g-m),y=v.outerStart,M=v.outerEnd,O=v.innerStart,_=v.innerEnd,z=d-y,x=d-M,w=m+y/z,C=g-M/x,S=p+O,E=p+_,k=m+O/S,D=g-_/E;if(e.beginPath(),i){var N=(w+C)/2;if(e.arc(a,s,d,w,N),e.arc(a,s,d,N,C),M>0){var T=SX(x,C,a,s);e.arc(T.x,T.y,M,C,g+lZ)}var j=SX(E,g,a,s);if(e.lineTo(j.x,j.y),_>0){var B=SX(E,D,a,s);e.arc(B.x,B.y,_,g+lZ,D+Math.PI)}var L=(g-_/p+(m+O/p))/2;if(e.arc(a,s,p,g-_/p,L,!0),e.arc(a,s,p,L,m+O/p,!0),O>0){var R=SX(S,k,a,s);e.arc(R.x,R.y,O,k+Math.PI,m-lZ)}var q=SX(z,m,a,s);if(e.lineTo(q.x,q.y),y>0){var P=SX(z,w,a,s);e.arc(P.x,P.y,y,m-lZ,w)}}else{e.moveTo(a,s);var I=Math.cos(w)*d+a,W=Math.sin(w)*d+s;e.lineTo(I,W);var F=Math.cos(C)*d+a,U=Math.sin(C)*d+s;e.lineTo(F,U)}e.closePath()}function kX(e,t,n,r,o){var i=t.fullCircles,a=t.startAngle,s=t.circumference,l=t.options,c=l.borderWidth,u=l.borderJoinStyle,d="inner"===l.borderAlign;if(c){d?(e.lineWidth=2*c,e.lineJoin=u||"round"):(e.lineWidth=c,e.lineJoin=u||"bevel");var p=t.endAngle;if(i){EX(e,t,n,r,p,o);for(var f=0;f<i;++f)e.stroke();isNaN(s)||(p=a+(s%oZ||oZ))}d&&function(e,t,n){var r=t.startAngle,o=t.pixelMargin,i=t.x,a=t.y,s=t.outerRadius,l=t.innerRadius,c=o/s;e.beginPath(),e.arc(i,a,s,r-c,n+c),l>o?(c=o/l,e.arc(i,a,l,n+c,r-c,!0)):e.arc(i,a,o,n+lZ,r-lZ),e.closePath(),e.clip()}(e,t,p),i||(EX(e,t,n,r,p,o),e.stroke())}}(0,Ws.Z)(xX,"defaults",rH),(0,Ws.Z)(xX,"instances",OX),(0,Ws.Z)(xX,"overrides",KZ),(0,Ws.Z)(xX,"registry",tX),(0,Ws.Z)(xX,"version","4.1.2"),(0,Ws.Z)(xX,"getChart",_X);var DX=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(e){var r;return(0,o.Z)(this,n),(r=t.call(this)).options=void 0,r.circumference=void 0,r.startAngle=void 0,r.endAngle=void 0,r.innerRadius=void 0,r.outerRadius=void 0,r.pixelMargin=0,r.fullCircles=0,e&&Object.assign((0,YF.Z)(r),e),r}return(0,i.Z)(n,[{key:"inRange",value:function(e,t,n){var r=yZ(this.getProps(["x","y"],n),{x:e,y:t}),o=r.angle,i=r.distance,a=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],n),s=a.startAngle,l=a.endAngle,c=a.innerRadius,u=a.outerRadius,d=a.circumference,p=this.options.spacing/2,f=PU(d,l-s)>=oZ||zZ(o,s,l),h=wZ(i,c+p,u+p);return f&&h}},{key:"getCenterPoint",value:function(e){var t=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],e),n=t.x,r=t.y,o=t.startAngle,i=t.endAngle,a=t.innerRadius,s=t.outerRadius,l=this.options,c=l.offset,u=(o+i)/2,d=(a+s+l.spacing+c)/2;return{x:n+Math.cos(u)*d,y:r+Math.sin(u)*d}}},{key:"tooltipPosition",value:function(e){return this.getCenterPoint(e)}},{key:"draw",value:function(e){var t=this.options,n=this.circumference,r=(t.offset||0)/4,o=(t.spacing||0)/2,i=t.circular;if(this.pixelMargin="inner"===t.borderAlign?.33:0,this.fullCircles=n>oZ?Math.floor(n/oZ):0,!(0===n||this.innerRadius<0||this.outerRadius<0)){e.save();var a=(this.startAngle+this.endAngle)/2;e.translate(Math.cos(a)*r,Math.sin(a)*r);var s=r*(1-Math.sin(Math.min(rZ,n||0)));e.fillStyle=t.backgroundColor,e.strokeStyle=t.borderColor,function(e,t,n,r,o){var i=t.fullCircles,a=t.startAngle,s=t.circumference,l=t.endAngle;if(i){EX(e,t,n,r,l,o);for(var c=0;c<i;++c)e.fill();isNaN(s)||(l=a+(s%oZ||oZ))}EX(e,t,n,r,l,o),e.fill()}(e,this,s,o,i),kX(e,this,s,o,i),e.restore()}}}]),n}(UV);function NX(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t;e.lineCap=PU(n.borderCapStyle,t.borderCapStyle),e.setLineDash(PU(n.borderDash,t.borderDash)),e.lineDashOffset=PU(n.borderDashOffset,t.borderDashOffset),e.lineJoin=PU(n.borderJoinStyle,t.borderJoinStyle),e.lineWidth=PU(n.borderWidth,t.borderWidth),e.strokeStyle=PU(n.borderColor,t.borderColor)}function TX(e,t,n){e.lineTo(n.x,n.y)}function jX(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=e.length,o=n.start,i=void 0===o?0:o,a=n.end,s=void 0===a?r-1:a,l=t.start,c=t.end,u=Math.max(i,l),d=Math.min(s,c),p=i<l&&s<l||i>c&&s>c;return{count:r,start:u,loop:t.loop,ilen:d<u&&!p?r+d-u:d-u}}function BX(e,t,n,r){var o,i,a,s=t.points,l=t.options,c=jX(s,n,r),u=c.count,d=c.start,p=c.loop,f=c.ilen,h=function(e){return e.stepped?fH:e.tension||"monotone"===e.cubicInterpolationMode?hH:TX}(l),b=r||{},A=b.move,m=void 0===A||A,g=b.reverse;for(o=0;o<=f;++o)(i=s[(d+(g?f-o:o))%u]).skip||(m?(e.moveTo(i.x,i.y),m=!1):h(e,a,i,g,l.stepped),a=i);return p&&h(e,a,i=s[(d+(g?f:0))%u],g,l.stepped),!!p}function LX(e,t,n,r){var o,i,a,s,l,c,u=t.points,d=jX(u,n,r),p=d.count,f=d.start,h=d.ilen,b=r||{},A=b.move,m=void 0===A||A,g=b.reverse,v=0,y=0,M=function(e){return(f+(g?h-e:e))%p},O=function(){s!==l&&(e.lineTo(v,l),e.lineTo(v,s),e.lineTo(v,c))};for(m&&(i=u[M(0)],e.moveTo(i.x,i.y)),o=0;o<=h;++o)if(!(i=u[M(o)]).skip){var _=i.x,z=i.y,x=0|_;x===a?(z<s?s=z:z>l&&(l=z),v=(y*v+_)/++y):(O(),e.lineTo(_,z),a=x,y=0,s=l=z),c=z}O()}function RX(e){var t=e.options,n=t.borderDash&&t.borderDash.length;return!e._decimated&&!e._loop&&!t.tension&&"monotone"!==t.cubicInterpolationMode&&!t.stepped&&!n?LX:BX}(0,Ws.Z)(DX,"id","arc"),(0,Ws.Z)(DX,"defaults",{borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0}),(0,Ws.Z)(DX,"defaultRoutes",{backgroundColor:"backgroundColor"});var qX="function"===typeof Path2D;function PX(e,t,n,r){qX&&!t.options.segment?function(e,t,n,r){var o=t._path;o||(o=t._path=new Path2D,t.path(o,n,r)&&o.closePath()),NX(e,t.options),e.stroke(o)}(e,t,n,r):function(e,t,n,r){var o,i=t.segments,a=t.options,s=RX(t),l=(0,b.Z)(i);try{for(l.s();!(o=l.n()).done;){var c=o.value;NX(e,a,c.style),e.beginPath(),s(e,t,c,{start:n,end:n+r-1})&&e.closePath(),e.stroke()}}catch(u){l.e(u)}finally{l.f()}}(e,t,n,r)}var IX=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(e){var r;return(0,o.Z)(this,n),(r=t.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,e&&Object.assign((0,YF.Z)(r),e),r}return(0,i.Z)(n,[{key:"updateControlPoints",value:function(e,t){var n=this.options;if((n.tension||"monotone"===n.cubicInterpolationMode)&&!n.stepped&&!this._pointsUpdated){var r=n.spanGaps?this._loop:this._fullLoop;YH(this._points,n,e,r,t),this._pointsUpdated=!0}}},{key:"points",get:function(){return this._points},set:function(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}},{key:"segments",get:function(){return this._segments||(this._segments=function(e,t){var n=e.points,r=e.options.spanGaps,o=n.length;if(!o)return[];var i=!!e._loop,a=function(e,t,n,r){var o=0,i=t-1;if(n&&!r)for(;o<t&&!e[o].skip;)o++;for(;o<t&&e[o].skip;)o++;for(o%=t,n&&(i+=o);i>o&&e[i%t].skip;)i--;return{start:o,end:i%=t}}(n,o,i,r),s=a.start,l=a.end;return y$(e,!0===r?[{start:s,end:l,loop:i}]:function(e,t,n,r){var o,i=e.length,a=[],s=t,l=e[t];for(o=t+1;o<=n;++o){var c=e[o%i];c.skip||c.stop?l.skip||(r=!1,a.push({start:t%i,end:(o-1)%i,loop:r}),t=s=c.stop?o:null):(s=o,l.skip&&(t=o)),l=c}return null!==s&&a.push({start:t%i,end:s%i,loop:r}),a}(n,s,l<s?l+o:l,!!e._fullLoop&&0===s&&l===o-1),n,t)}(this,this.options.segment))}},{key:"first",value:function(){var e=this.segments,t=this.points;return e.length&&t[e[0].start]}},{key:"last",value:function(){var e=this.segments,t=this.points,n=e.length;return n&&t[e[n-1].end]}},{key:"interpolate",value:function(e,t){var n=this.options,r=e[t],o=this.points,i=v$(this,{property:t,start:r,end:r});if(i.length){var a,s,l=[],c=function(e){return e.stepped?d$:e.tension||"monotone"===e.cubicInterpolationMode?p$:u$}(n);for(a=0,s=i.length;a<s;++a){var u=i[a],d=u.start,p=u.end,f=o[d],h=o[p];if(f!==h){var b=c(f,h,Math.abs((r-f[t])/(h[t]-f[t])),n.stepped);b[t]=e[t],l.push(b)}else l.push(f)}return 1===l.length?l[0]:l}}},{key:"pathSegment",value:function(e,t,n){return RX(this)(e,this,t,n)}},{key:"path",value:function(e,t,n){var r=this.segments,o=RX(this),i=this._loop;t=t||0,n=n||this.points.length-t;var a,s=(0,b.Z)(r);try{for(s.s();!(a=s.n()).done;){i&=o(e,this,a.value,{start:t,end:t+n-1})}}catch(l){s.e(l)}finally{s.f()}return!!i}},{key:"draw",value:function(e,t,n,r){var o=this.options||{};(this.points||[]).length&&o.borderWidth&&(e.save(),PX(e,this,n,r),e.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}]),n}(UV);function WX(e,t,n,r){var o=e.options,i=e.getProps([n],r)[n];return Math.abs(t-i)<o.radius+o.hitRadius}(0,Ws.Z)(IX,"id","line"),(0,Ws.Z)(IX,"defaults",{borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0}),(0,Ws.Z)(IX,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"}),(0,Ws.Z)(IX,"descriptors",{_scriptable:!0,_indexable:function(e){return"borderDash"!==e&&"fill"!==e}});var FX=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(e){var r;return(0,o.Z)(this,n),(r=t.call(this)).options=void 0,r.parsed=void 0,r.skip=void 0,r.stop=void 0,e&&Object.assign((0,YF.Z)(r),e),r}return(0,i.Z)(n,[{key:"inRange",value:function(e,t,n){var r=this.options,o=this.getProps(["x","y"],n),i=o.x,a=o.y;return Math.pow(e-i,2)+Math.pow(t-a,2)<Math.pow(r.hitRadius+r.radius,2)}},{key:"inXRange",value:function(e,t){return WX(this,e,"x",t)}},{key:"inYRange",value:function(e,t){return WX(this,e,"y",t)}},{key:"getCenterPoint",value:function(e){var t=this.getProps(["x","y"],e);return{x:t.x,y:t.y}}},{key:"size",value:function(e){var t=(e=e||this.options||{}).radius||0;return 2*((t=Math.max(t,t&&e.hoverRadius||0))+(t&&e.borderWidth||0))}},{key:"draw",value:function(e,t){var n=this.options;this.skip||n.radius<.1||!uH(this,t,this.size(n)/2)||(e.strokeStyle=n.borderColor,e.lineWidth=n.borderWidth,e.fillStyle=n.backgroundColor,lH(e,n,this.x,this.y))}},{key:"getRange",value:function(){var e=this.options||{};return e.radius+e.hitRadius}}]),n}(UV);function UX(e,t){var n,r,o,i,a,s=e.getProps(["x","y","base","width","height"],t),l=s.x,c=s.y,u=s.base,d=s.width,p=s.height;return e.horizontal?(a=p/2,n=Math.min(l,u),r=Math.max(l,u),o=c-a,i=c+a):(n=l-(a=d/2),r=l+a,o=Math.min(c,u),i=Math.max(c,u)),{left:n,top:o,right:r,bottom:i}}function ZX(e,t,n,r){return e?0:xZ(t,n,r)}function HX(e){var t=UX(e),n=t.right-t.left,r=t.bottom-t.top,o=function(e,t,n){var r=e.options.borderWidth,o=e.borderSkipped,i=zH(r);return{t:ZX(o.top,i.top,0,n),r:ZX(o.right,i.right,0,t),b:ZX(o.bottom,i.bottom,0,n),l:ZX(o.left,i.left,0,t)}}(e,n/2,r/2),i=function(e,t,n){var r=e.getProps(["enableBorderRadius"]).enableBorderRadius,o=e.options.borderRadius,i=xH(o),a=Math.min(t,n),s=e.borderSkipped,l=r||LU(o);return{topLeft:ZX(!l||s.top||s.left,i.topLeft,0,a),topRight:ZX(!l||s.top||s.right,i.topRight,0,a),bottomLeft:ZX(!l||s.bottom||s.left,i.bottomLeft,0,a),bottomRight:ZX(!l||s.bottom||s.right,i.bottomRight,0,a)}}(e,n/2,r/2);return{outer:{x:t.left,y:t.top,w:n,h:r,radius:i},inner:{x:t.left+o.l,y:t.top+o.t,w:n-o.l-o.r,h:r-o.t-o.b,radius:{topLeft:Math.max(0,i.topLeft-Math.max(o.t,o.l)),topRight:Math.max(0,i.topRight-Math.max(o.t,o.r)),bottomLeft:Math.max(0,i.bottomLeft-Math.max(o.b,o.l)),bottomRight:Math.max(0,i.bottomRight-Math.max(o.b,o.r))}}}}function $X(e,t,n,r){var o=null===t,i=null===n,a=e&&!(o&&i)&&UX(e,r);return a&&(o||wZ(t,a.left,a.right))&&(i||wZ(n,a.top,a.bottom))}function VX(e,t){e.rect(t.x,t.y,t.w,t.h)}function XX(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=e.x!==n.x?-t:0,o=e.y!==n.y?-t:0,i=(e.x+e.w!==n.x+n.w?t:0)-r,a=(e.y+e.h!==n.y+n.h?t:0)-o;return{x:e.x+r,y:e.y+o,w:e.w+i,h:e.h+a,radius:e.radius}}(0,Ws.Z)(FX,"id","point"),(0,Ws.Z)(FX,"defaults",{borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0}),(0,Ws.Z)(FX,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});var QX=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(e){var r;return(0,o.Z)(this,n),(r=t.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,e&&Object.assign((0,YF.Z)(r),e),r}return(0,i.Z)(n,[{key:"draw",value:function(e){var t,n=this.inflateAmount,r=this.options,o=r.borderColor,i=r.backgroundColor,a=HX(this),s=a.inner,l=a.outer,c=(t=l.radius).topLeft||t.topRight||t.bottomLeft||t.bottomRight?gH:VX;e.save(),l.w===s.w&&l.h===s.h||(e.beginPath(),c(e,XX(l,n,s)),e.clip(),c(e,XX(s,-n,l)),e.fillStyle=o,e.fill("evenodd")),e.beginPath(),c(e,XX(s,n)),e.fillStyle=i,e.fill(),e.restore()}},{key:"inRange",value:function(e,t,n){return $X(this,e,t,n)}},{key:"inXRange",value:function(e,t){return $X(this,e,null,t)}},{key:"inYRange",value:function(e,t){return $X(this,null,e,t)}},{key:"getCenterPoint",value:function(e){var t=this.getProps(["x","y","base","horizontal"],e),n=t.x,r=t.y,o=t.base,i=t.horizontal;return{x:i?(n+o)/2:n,y:i?r:(r+o)/2}}},{key:"getRange",value:function(e){return"x"===e?this.width/2:this.height/2}}]),n}(UV);(0,Ws.Z)(QX,"id","bar"),(0,Ws.Z)(QX,"defaults",{borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0}),(0,Ws.Z)(QX,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});var YX=function(e,t){var n=e.boxHeight,r=void 0===n?t:n,o=e.boxWidth,i=void 0===o?t:o;return e.usePointStyle&&(r=Math.min(r,t),i=e.pointStyleWidth||Math.min(i,t)),{boxWidth:i,boxHeight:r,itemHeight:Math.max(t,r)}},GX=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(e){var r;return(0,o.Z)(this,n),(r=t.call(this))._added=!1,r.legendHitBoxes=[],r._hoveredItem=null,r.doughnutMode=!1,r.chart=e.chart,r.options=e.options,r.ctx=e.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(0,i.Z)(n,[{key:"update",value:function(e,t,n){this.maxWidth=e,this.maxHeight=t,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 e=this,t=this.options.labels||{},n=WU(t.generateLabels,[this.chart],this)||[];t.filter&&(n=n.filter((function(n){return t.filter(n,e.chart.data)}))),t.sort&&(n=n.sort((function(n,r){return t.sort(n,r,e.chart.data)}))),this.options.reverse&&n.reverse(),this.legendItems=n}},{key:"fit",value:function(){var e=this.options,t=this.ctx;if(e.display){var n,r,o=e.labels,i=CH(o.font),a=i.size,s=this._computeTitleHeight(),l=YX(o,a),c=l.boxWidth,u=l.itemHeight;t.font=i.string,this.isHorizontal()?(n=this.maxWidth,r=this._fitRows(s,a,c,u)+10):(r=this.maxHeight,n=this._fitCols(s,i,c,u)+10),this.width=Math.min(n,e.maxWidth||this.maxWidth),this.height=Math.min(r,e.maxHeight||this.maxHeight)}else this.width=this.height=0}},{key:"_fitRows",value:function(e,t,n,r){var o=this.ctx,i=this.maxWidth,a=this.options.labels.padding,s=this.legendHitBoxes=[],l=this.lineWidths=[0],c=r+a,u=e;o.textAlign="left",o.textBaseline="middle";var d=-1,p=-c;return this.legendItems.forEach((function(e,f){var h=n+t/2+o.measureText(e.text).width;(0===f||l[l.length-1]+h+2*a>i)&&(u+=c,l[l.length-(f>0?0:1)]=0,p+=c,d++),s[f]={left:0,top:p,row:d,width:h,height:r},l[l.length-1]+=h+a})),u}},{key:"_fitCols",value:function(e,t,n,r){var o=this.ctx,i=this.maxHeight,a=this.options.labels.padding,s=this.legendHitBoxes=[],l=this.columnSizes=[],c=i-e,u=a,d=0,p=0,f=0,h=0;return this.legendItems.forEach((function(e,i){var b=function(e,t,n,r,o){var i=function(e,t,n,r){var o=e.text;o&&"string"!==typeof o&&(o=o.reduce((function(e,t){return e.length>t.length?e:t})));return t+n.size/2+r.measureText(o).width}(r,e,t,n),a=function(e,t,n){var r=e;"string"!==typeof t.text&&(r=KX(t,n));return r}(o,r,t.lineHeight);return{itemWidth:i,itemHeight:a}}(n,t,o,e,r),A=b.itemWidth,m=b.itemHeight;i>0&&p+m+2*a>c&&(u+=d+a,l.push({width:d,height:p}),f+=d+a,h++,d=p=0),s[i]={left:f,top:p,col:h,width:A,height:m},d=Math.max(d,A),p+=m+a})),u+=d,l.push({width:d,height:p}),u}},{key:"adjustHitBoxes",value:function(){if(this.options.display){var e=this._computeTitleHeight(),t=this.legendHitBoxes,n=this.options,r=n.align,o=n.labels.padding,i=f$(n.rtl,this.left,this.width);if(this.isHorizontal()){var a,s=0,l=LZ(r,this.left+o,this.right-this.lineWidths[s]),c=(0,b.Z)(t);try{for(c.s();!(a=c.n()).done;){var u=a.value;s!==u.row&&(s=u.row,l=LZ(r,this.left+o,this.right-this.lineWidths[s])),u.top+=this.top+e+o,u.left=i.leftForLtr(i.x(l),u.width),l+=u.width+o}}catch(m){c.e(m)}finally{c.f()}}else{var d,p=0,f=LZ(r,this.top+e+o,this.bottom-this.columnSizes[p].height),h=(0,b.Z)(t);try{for(h.s();!(d=h.n()).done;){var A=d.value;A.col!==p&&(p=A.col,f=LZ(r,this.top+e+o,this.bottom-this.columnSizes[p].height)),A.top=f,A.left+=this.left+o,A.left=i.leftForLtr(i.x(A.left),A.width),f+=A.height+o}}catch(m){h.e(m)}finally{h.f()}}}}},{key:"isHorizontal",value:function(){return"top"===this.options.position||"bottom"===this.options.position}},{key:"draw",value:function(){if(this.options.display){var e=this.ctx;dH(e,this),this._draw(),pH(e)}}},{key:"_draw",value:function(){var e,t=this,n=this.options,r=this.columnSizes,o=this.lineWidths,i=this.ctx,a=n.align,s=n.labels,l=rH.color,c=f$(n.rtl,this.left,this.width),u=CH(s.font),d=s.padding,p=u.size,f=p/2;this.drawTitle(),i.textAlign=c.textAlign("left"),i.textBaseline="middle",i.lineWidth=.5,i.font=u.string;var h=YX(s,p),b=h.boxWidth,A=h.boxHeight,m=h.itemHeight,g=this.isHorizontal(),v=this._computeTitleHeight();e=g?{x:LZ(a,this.left+d,this.right-o[0]),y:this.top+d+v,line:0}:{x:this.left+d,y:LZ(a,this.top+v+d,this.bottom-r[0].height),line:0},h$(this.ctx,n.textDirection);var y=m+d;this.legendItems.forEach((function(h,M){i.strokeStyle=h.fontColor,i.fillStyle=h.fontColor;var O=i.measureText(h.text).width,_=c.textAlign(h.textAlign||(h.textAlign=s.textAlign)),z=b+f+O,x=e.x,w=e.y;if(c.setWidth(t.width),g?M>0&&x+z+d>t.right&&(w=e.y+=y,e.line++,x=e.x=LZ(a,t.left+d,t.right-o[e.line])):M>0&&w+y>t.bottom&&(x=e.x=x+r[e.line].width+d,e.line++,w=e.y=LZ(a,t.top+v+d,t.bottom-r[e.line].height)),function(e,t,n){if(!(isNaN(b)||b<=0||isNaN(A)||A<0)){i.save();var r=PU(n.lineWidth,1);if(i.fillStyle=PU(n.fillStyle,l),i.lineCap=PU(n.lineCap,"butt"),i.lineDashOffset=PU(n.lineDashOffset,0),i.lineJoin=PU(n.lineJoin,"miter"),i.lineWidth=r,i.strokeStyle=PU(n.strokeStyle,l),i.setLineDash(PU(n.lineDash,[])),s.usePointStyle){var o={radius:A*Math.SQRT2/2,pointStyle:n.pointStyle,rotation:n.rotation,borderWidth:r},a=c.xPlus(e,b/2);cH(i,o,a,t+f,s.pointStyleWidth&&b)}else{var u=t+Math.max((p-A)/2,0),d=c.leftForLtr(e,b),h=xH(n.borderRadius);i.beginPath(),Object.values(h).some((function(e){return 0!==e}))?gH(i,{x:d,y:u,w:b,h:A,radius:h}):i.rect(d,u,b,A),i.fill(),0!==r&&i.stroke()}i.restore()}}(c.x(x),w,h),x=function(e,t,n,r){return e===(r?"left":"right")?n:"center"===e?(t+n)/2:t}(_,x+b+f,g?x+z:t.right,n.rtl),function(e,t,n){bH(i,n.text,e,t+m/2,u,{strikethrough:n.hidden,textAlign:c.textAlign(n.textAlign)})}(c.x(x),w,h),g)e.x+=z+d;else if("string"!==typeof h.text){var C=u.lineHeight;e.y+=KX(h,C)}else e.y+=y})),b$(this.ctx,n.textDirection)}},{key:"drawTitle",value:function(){var e=this.options,t=e.title,n=CH(t.font),o=wH(t.padding);if(t.display){var i,a=f$(e.rtl,this.left,this.width),s=this.ctx,l=t.position,c=n.size/2,u=o.top+c,d=this.left,p=this.width;if(this.isHorizontal())p=Math.max.apply(Math,(0,r.Z)(this.lineWidths)),i=this.top+u,d=LZ(e.align,d,this.right-p);else{var f=this.columnSizes.reduce((function(e,t){return Math.max(e,t.height)}),0);i=u+LZ(e.align,this.top,this.bottom-f-e.labels.padding-this._computeTitleHeight())}var h=LZ(l,d,d+p);s.textAlign=a.textAlign(BZ(l)),s.textBaseline="middle",s.strokeStyle=t.color,s.fillStyle=t.color,s.font=n.string,bH(s,t.text,h,i,n)}}},{key:"_computeTitleHeight",value:function(){var e=this.options.title,t=CH(e.font),n=wH(e.padding);return e.display?t.lineHeight+n.height:0}},{key:"_getLegendItemAt",value:function(e,t){var n,r,o;if(wZ(e,this.left,this.right)&&wZ(t,this.top,this.bottom))for(o=this.legendHitBoxes,n=0;n<o.length;++n)if(wZ(e,(r=o[n]).left,r.left+r.width)&&wZ(t,r.top,r.top+r.height))return this.legendItems[n];return null}},{key:"handleEvent",value:function(e){var t=this.options;if(function(e,t){if(("mousemove"===e||"mouseout"===e)&&(t.onHover||t.onLeave))return!0;if(t.onClick&&("click"===e||"mouseup"===e))return!0;return!1}(e.type,t)){var n=this._getLegendItemAt(e.x,e.y);if("mousemove"===e.type||"mouseout"===e.type){var r=this._hoveredItem,o=function(e,t){return null!==e&&null!==t&&e.datasetIndex===t.datasetIndex&&e.index===t.index}(r,n);r&&!o&&WU(t.onLeave,[e,r,this],this),this._hoveredItem=n,n&&!o&&WU(t.onHover,[e,n,this],this)}else n&&WU(t.onClick,[e,n,this],this)}}}]),n}(UV);function KX(e,t){return t*(e.text?e.text.length+.5:0)}var JX={id:"legend",_element:GX,start:function(e,t,n){var r=e.legend=new GX({ctx:e.ctx,options:n,chart:e});xV.configure(e,r,n),xV.addBox(e,r)},stop:function(e){xV.removeBox(e,e.legend),delete e.legend},beforeUpdate:function(e,t,n){var r=e.legend;xV.configure(e,r,n),r.options=n},afterUpdate:function(e){var t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent:function(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick:function(e,t,n){var r=t.datasetIndex,o=n.chart;o.isDatasetVisible(r)?(o.hide(r),t.hidden=!0):(o.show(r),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:function(e){return e.chart.options.color},boxWidth:40,padding:10,generateLabels:function(e){var t=e.data.datasets,n=e.legend.options.labels,r=n.usePointStyle,o=n.pointStyle,i=n.textAlign,a=n.color,s=n.useBorderRadius,l=n.borderRadius;return e._getSortedDatasetMetas().map((function(e){var n=e.controller.getStyle(r?0:void 0),c=wH(n.borderWidth);return{text:t[e.index].label,fillStyle:n.backgroundColor,fontColor:a,hidden:!e.visible,lineCap:n.borderCapStyle,lineDash:n.borderDash,lineDashOffset:n.borderDashOffset,lineJoin:n.borderJoinStyle,lineWidth:(c.width+c.height)/4,strokeStyle:n.borderColor,pointStyle:o||n.pointStyle,rotation:n.rotation,textAlign:i||n.textAlign,borderRadius:s&&(l||n.borderRadius),datasetIndex:e.index}}),this)}},title:{color:function(e){return e.chart.options.color},display:!1,position:"center",text:""}},descriptors:{_scriptable:function(e){return!e.startsWith("on")},labels:{_scriptable:function(e){return!["generateLabels","filter","sort"].includes(e)}}}},eQ=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(e){var r;return(0,o.Z)(this,n),(r=t.call(this)).chart=e.chart,r.options=e.options,r.ctx=e.ctx,r._padding=void 0,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.position=void 0,r.weight=void 0,r.fullSize=void 0,r}return(0,i.Z)(n,[{key:"update",value:function(e,t){var n=this.options;if(this.left=0,this.top=0,n.display){this.width=this.right=e,this.height=this.bottom=t;var r=BU(n.text)?n.text.length:1;this._padding=wH(n.padding);var o=r*CH(n.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=o:this.width=o}else this.width=this.height=this.right=this.bottom=0}},{key:"isHorizontal",value:function(){var e=this.options.position;return"top"===e||"bottom"===e}},{key:"_drawArgs",value:function(e){var t,n,r,o=this.top,i=this.left,a=this.bottom,s=this.right,l=this.options,c=l.align,u=0;return this.isHorizontal()?(n=LZ(c,i,s),r=o+e,t=s-i):("left"===l.position?(n=i+e,r=LZ(c,a,o),u=-.5*rZ):(n=s-e,r=LZ(c,o,a),u=.5*rZ),t=a-o),{titleX:n,titleY:r,maxWidth:t,rotation:u}}},{key:"draw",value:function(){var e=this.ctx,t=this.options;if(t.display){var n=CH(t.font),r=n.lineHeight/2+this._padding.top,o=this._drawArgs(r),i=o.titleX,a=o.titleY,s=o.maxWidth,l=o.rotation;bH(e,t.text,0,0,n,{color:t.color,maxWidth:s,rotation:l,textAlign:BZ(t.align),textBaseline:"middle",translation:[i,a]})}}}]),n}(UV);var tQ={id:"title",_element:eQ,start:function(e,t,n){!function(e,t){var n=new eQ({ctx:e.ctx,options:t,chart:e});xV.configure(e,n,t),xV.addBox(e,n),e.titleBlock=n}(e,n)},stop:function(e){var t=e.titleBlock;xV.removeBox(e,t),delete e.titleBlock},beforeUpdate:function(e,t,n){var r=e.titleBlock;xV.configure(e,r,n),r.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}},nQ=(new WeakMap,{average:function(e){if(!e.length)return!1;var t,n,r=0,o=0,i=0;for(t=0,n=e.length;t<n;++t){var a=e[t].element;if(a&&a.hasValue()){var s=a.tooltipPosition();r+=s.x,o+=s.y,++i}}return{x:r/i,y:o/i}},nearest:function(e,t){if(!e.length)return!1;var n,r,o,i=t.x,a=t.y,s=Number.POSITIVE_INFINITY;for(n=0,r=e.length;n<r;++n){var l=e[n].element;if(l&&l.hasValue()){var c=MZ(t,l.getCenterPoint());c<s&&(s=c,o=l)}}if(o){var u=o.tooltipPosition();i=u.x,a=u.y}return{x:i,y:a}}});function rQ(e,t){return t&&(BU(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function oQ(e){return("string"===typeof e||e instanceof String)&&e.indexOf("\n")>-1?e.split("\n"):e}function iQ(e,t){var n=t.element,r=t.datasetIndex,o=t.index,i=e.getDatasetMeta(r).controller,a=i.getLabelAndValue(o),s=a.label,l=a.value;return{chart:e,label:s,parsed:i.getParsed(o),raw:e.data.datasets[r].data[o],formattedValue:l,dataset:i.getDataset(),dataIndex:o,datasetIndex:r,element:n}}function aQ(e,t){var n=e.chart.ctx,r=e.body,o=e.footer,i=e.title,a=t.boxWidth,s=t.boxHeight,l=CH(t.bodyFont),c=CH(t.titleFont),u=CH(t.footerFont),d=i.length,p=o.length,f=r.length,h=wH(t.padding),b=h.height,A=0,m=r.reduce((function(e,t){return e+t.before.length+t.lines.length+t.after.length}),0);(m+=e.beforeBody.length+e.afterBody.length,d&&(b+=d*c.lineHeight+(d-1)*t.titleSpacing+t.titleMarginBottom),m)&&(b+=f*(t.displayColors?Math.max(s,l.lineHeight):l.lineHeight)+(m-f)*l.lineHeight+(m-1)*t.bodySpacing);p&&(b+=t.footerMarginTop+p*u.lineHeight+(p-1)*t.footerSpacing);var g=0,v=function(e){A=Math.max(A,n.measureText(e).width+g)};return n.save(),n.font=c.string,FU(e.title,v),n.font=l.string,FU(e.beforeBody.concat(e.afterBody),v),g=t.displayColors?a+2+t.boxPadding:0,FU(r,(function(e){FU(e.before,v),FU(e.lines,v),FU(e.after,v)})),g=0,n.font=u.string,FU(e.footer,v),n.restore(),{width:A+=h.width,height:b}}function sQ(e,t,n,r){var o=n.x,i=n.width,a=e.width,s=e.chartArea,l=s.left,c=s.right,u="center";return"center"===r?u=o<=(l+c)/2?"left":"right":o<=i/2?u="left":o>=a-i/2&&(u="right"),function(e,t,n,r){var o=r.x,i=r.width,a=n.caretSize+n.caretPadding;return"left"===e&&o+i+a>t.width||"right"===e&&o-i-a<0||void 0}(u,e,t,n)&&(u="center"),u}function lQ(e,t,n){var r=n.yAlign||t.yAlign||function(e,t){var n=t.y,r=t.height;return n<r/2?"top":n>e.height-r/2?"bottom":"center"}(e,n);return{xAlign:n.xAlign||t.xAlign||sQ(e,t,n,r),yAlign:r}}function cQ(e,t,n,r){var o=e.caretSize,i=e.caretPadding,a=e.cornerRadius,s=n.xAlign,l=n.yAlign,c=o+i,u=xH(a),d=u.topLeft,p=u.topRight,f=u.bottomLeft,h=u.bottomRight,b=function(e,t){var n=e.x,r=e.width;return"right"===t?n-=r:"center"===t&&(n-=r/2),n}(t,s),A=function(e,t,n){var r=e.y,o=e.height;return"top"===t?r+=n:r-="bottom"===t?o+n:o/2,r}(t,l,c);return"center"===l?"left"===s?b+=c:"right"===s&&(b-=c):"left"===s?b-=Math.max(d,f)+o:"right"===s&&(b+=Math.max(p,h)+o),{x:xZ(b,0,r.width-t.width),y:xZ(A,0,r.height-t.height)}}function uQ(e,t,n){var r=wH(n.padding);return"center"===t?e.x+e.width/2:"right"===t?e.x+e.width-r.right:e.x+r.left}function dQ(e){return rQ([],oQ(e))}function pQ(e,t){var n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}var fQ={beforeTitle:NU,title:function(e){if(e.length>0){var t=e[0],n=t.chart.data.labels,r=n?n.length:0;if(this&&this.options&&"dataset"===this.options.mode)return t.dataset.label||"";if(t.label)return t.label;if(r>0&&t.dataIndex<r)return n[t.dataIndex]}return""},afterTitle:NU,beforeBody:NU,beforeLabel:NU,label:function(e){if(this&&this.options&&"dataset"===this.options.mode)return e.label+": "+e.formattedValue||e.formattedValue;var t=e.dataset.label||"";t&&(t+=": ");var n=e.formattedValue;return jU(n)||(t+=n),t},labelColor:function(e){var t=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{borderColor:t.borderColor,backgroundColor:t.backgroundColor,borderWidth:t.borderWidth,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderRadius:0}},labelTextColor:function(){return this.options.bodyColor},labelPointStyle:function(e){var t=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{pointStyle:t.pointStyle,rotation:t.rotation}},afterLabel:NU,afterBody:NU,beforeFooter:NU,footer:NU,afterFooter:NU};function hQ(e,t,n,r){var o=e[t].call(n,r);return"undefined"===typeof o?fQ[t].call(n,r):o}var bQ=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(e){var r;return(0,o.Z)(this,n),(r=t.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=e.chart,r.options=e.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(0,i.Z)(n,[{key:"initialize",value:function(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}},{key:"_resolveAnimations",value:function(){var e=this._cachedAnimations;if(e)return e;var t=this.chart,n=this.options.setContext(this.getContext()),r=n.enabled&&t.options.animation&&n.animations,o=new S$(this.chart,r);return r._cacheable&&(this._cachedAnimations=Object.freeze(o)),o}},{key:"getContext",value:function(){return this.$context||(this.$context=(e=this.chart.getContext(),t=this,n=this._tooltipItems,EH(e,{tooltip:t,tooltipItems:n,type:"tooltip"})));var e,t,n}},{key:"getTitle",value:function(e,t){var n=t.callbacks,r=hQ(n,"beforeTitle",this,e),o=hQ(n,"title",this,e),i=hQ(n,"afterTitle",this,e),a=[];return a=rQ(a,oQ(r)),a=rQ(a,oQ(o)),a=rQ(a,oQ(i))}},{key:"getBeforeBody",value:function(e,t){return dQ(hQ(t.callbacks,"beforeBody",this,e))}},{key:"getBody",value:function(e,t){var n=this,r=t.callbacks,o=[];return FU(e,(function(e){var t={before:[],lines:[],after:[]},i=pQ(r,e);rQ(t.before,oQ(hQ(i,"beforeLabel",n,e))),rQ(t.lines,hQ(i,"label",n,e)),rQ(t.after,oQ(hQ(i,"afterLabel",n,e))),o.push(t)})),o}},{key:"getAfterBody",value:function(e,t){return dQ(hQ(t.callbacks,"afterBody",this,e))}},{key:"getFooter",value:function(e,t){var n=t.callbacks,r=hQ(n,"beforeFooter",this,e),o=hQ(n,"footer",this,e),i=hQ(n,"afterFooter",this,e),a=[];return a=rQ(a,oQ(r)),a=rQ(a,oQ(o)),a=rQ(a,oQ(i))}},{key:"_createItems",value:function(e){var t,n,r=this,o=this._active,i=this.chart.data,a=[],s=[],l=[],c=[];for(t=0,n=o.length;t<n;++t)c.push(iQ(this.chart,o[t]));return e.filter&&(c=c.filter((function(t,n,r){return e.filter(t,n,r,i)}))),e.itemSort&&(c=c.sort((function(t,n){return e.itemSort(t,n,i)}))),FU(c,(function(t){var n=pQ(e.callbacks,t);a.push(hQ(n,"labelColor",r,t)),s.push(hQ(n,"labelPointStyle",r,t)),l.push(hQ(n,"labelTextColor",r,t))})),this.labelColors=a,this.labelPointStyles=s,this.labelTextColors=l,this.dataPoints=c,c}},{key:"update",value:function(e,t){var n,r=this.options.setContext(this.getContext()),o=this._active,i=[];if(o.length){var a=nQ[r.position].call(this,o,this._eventPosition);i=this._createItems(r),this.title=this.getTitle(i,r),this.beforeBody=this.getBeforeBody(i,r),this.body=this.getBody(i,r),this.afterBody=this.getAfterBody(i,r),this.footer=this.getFooter(i,r);var s=this._size=aQ(this,r),l=Object.assign({},a,s),c=lQ(this.chart,r,l),u=cQ(r,l,c,this.chart);this.xAlign=c.xAlign,this.yAlign=c.yAlign,n={opacity:1,x:u.x,y:u.y,width:s.width,height:s.height,caretX:a.x,caretY:a.y}}else 0!==this.opacity&&(n={opacity:0});this._tooltipItems=i,this.$context=void 0,n&&this._resolveAnimations().update(this,n),e&&r.external&&r.external.call(this,{chart:this.chart,tooltip:this,replay:t})}},{key:"drawCaret",value:function(e,t,n,r){var o=this.getCaretPosition(e,n,r);t.lineTo(o.x1,o.y1),t.lineTo(o.x2,o.y2),t.lineTo(o.x3,o.y3)}},{key:"getCaretPosition",value:function(e,t,n){var r,o,i,a,s,l,c=this.xAlign,u=this.yAlign,d=n.caretSize,p=xH(n.cornerRadius),f=p.topLeft,h=p.topRight,b=p.bottomLeft,A=p.bottomRight,m=e.x,g=e.y,v=t.width,y=t.height;return"center"===u?(s=g+y/2,"left"===c?(o=(r=m)-d,a=s+d,l=s-d):(o=(r=m+v)+d,a=s-d,l=s+d),i=r):(o="left"===c?m+Math.max(f,b)+d:"right"===c?m+v-Math.max(h,A)-d:this.caretX,"top"===u?(s=(a=g)-d,r=o-d,i=o+d):(s=(a=g+y)+d,r=o+d,i=o-d),l=a),{x1:r,x2:o,x3:i,y1:a,y2:s,y3:l}}},{key:"drawTitle",value:function(e,t,n){var r,o,i,a=this.title,s=a.length;if(s){var l=f$(n.rtl,this.x,this.width);for(e.x=uQ(this,n.titleAlign,n),t.textAlign=l.textAlign(n.titleAlign),t.textBaseline="middle",r=CH(n.titleFont),o=n.titleSpacing,t.fillStyle=n.titleColor,t.font=r.string,i=0;i<s;++i)t.fillText(a[i],l.x(e.x),e.y+r.lineHeight/2),e.y+=r.lineHeight+o,i+1===s&&(e.y+=n.titleMarginBottom-o)}}},{key:"_drawColorBox",value:function(e,t,n,o,i){var a=this.labelColors[n],s=this.labelPointStyles[n],l=i.boxHeight,c=i.boxWidth,u=i.boxPadding,d=CH(i.bodyFont),p=uQ(this,"left",i),f=o.x(p),h=l<d.lineHeight?(d.lineHeight-l)/2:0,b=t.y+h;if(i.usePointStyle){var A={radius:Math.min(c,l)/2,pointStyle:s.pointStyle,rotation:s.rotation,borderWidth:1},m=o.leftForLtr(f,c)+c/2,g=b+l/2;e.strokeStyle=i.multiKeyBackground,e.fillStyle=i.multiKeyBackground,lH(e,A,m,g),e.strokeStyle=a.borderColor,e.fillStyle=a.backgroundColor,lH(e,A,m,g)}else{e.lineWidth=LU(a.borderWidth)?Math.max.apply(Math,(0,r.Z)(Object.values(a.borderWidth))):a.borderWidth||1,e.strokeStyle=a.borderColor,e.setLineDash(a.borderDash||[]),e.lineDashOffset=a.borderDashOffset||0;var v=o.leftForLtr(f,c-u),y=o.leftForLtr(o.xPlus(f,1),c-u-2),M=xH(a.borderRadius);Object.values(M).some((function(e){return 0!==e}))?(e.beginPath(),e.fillStyle=i.multiKeyBackground,gH(e,{x:v,y:b,w:c,h:l,radius:M}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),gH(e,{x:y,y:b+1,w:c-2,h:l-2,radius:M}),e.fill()):(e.fillStyle=i.multiKeyBackground,e.fillRect(v,b,c,l),e.strokeRect(v,b,c,l),e.fillStyle=a.backgroundColor,e.fillRect(y,b+1,c-2,l-2))}e.fillStyle=this.labelTextColors[n]}},{key:"drawBody",value:function(e,t,n){var r,o,i,a,s,l,c,u=this.body,d=n.bodySpacing,p=n.bodyAlign,f=n.displayColors,h=n.boxHeight,b=n.boxWidth,A=n.boxPadding,m=CH(n.bodyFont),g=m.lineHeight,v=0,y=f$(n.rtl,this.x,this.width),M=function(n){t.fillText(n,y.x(e.x+v),e.y+g/2),e.y+=g+d},O=y.textAlign(p);for(t.textAlign=p,t.textBaseline="middle",t.font=m.string,e.x=uQ(this,O,n),t.fillStyle=n.bodyColor,FU(this.beforeBody,M),v=f&&"right"!==O?"center"===p?b/2+A:b+2+A:0,a=0,l=u.length;a<l;++a){for(r=u[a],o=this.labelTextColors[a],t.fillStyle=o,FU(r.before,M),i=r.lines,f&&i.length&&(this._drawColorBox(t,e,a,y,n),g=Math.max(m.lineHeight,h)),s=0,c=i.length;s<c;++s)M(i[s]),g=m.lineHeight;FU(r.after,M)}v=0,g=m.lineHeight,FU(this.afterBody,M),e.y-=d}},{key:"drawFooter",value:function(e,t,n){var r,o,i=this.footer,a=i.length;if(a){var s=f$(n.rtl,this.x,this.width);for(e.x=uQ(this,n.footerAlign,n),e.y+=n.footerMarginTop,t.textAlign=s.textAlign(n.footerAlign),t.textBaseline="middle",r=CH(n.footerFont),t.fillStyle=n.footerColor,t.font=r.string,o=0;o<a;++o)t.fillText(i[o],s.x(e.x),e.y+r.lineHeight/2),e.y+=r.lineHeight+n.footerSpacing}}},{key:"drawBackground",value:function(e,t,n,r){var o=this.xAlign,i=this.yAlign,a=e.x,s=e.y,l=n.width,c=n.height,u=xH(r.cornerRadius),d=u.topLeft,p=u.topRight,f=u.bottomLeft,h=u.bottomRight;t.fillStyle=r.backgroundColor,t.strokeStyle=r.borderColor,t.lineWidth=r.borderWidth,t.beginPath(),t.moveTo(a+d,s),"top"===i&&this.drawCaret(e,t,n,r),t.lineTo(a+l-p,s),t.quadraticCurveTo(a+l,s,a+l,s+p),"center"===i&&"right"===o&&this.drawCaret(e,t,n,r),t.lineTo(a+l,s+c-h),t.quadraticCurveTo(a+l,s+c,a+l-h,s+c),"bottom"===i&&this.drawCaret(e,t,n,r),t.lineTo(a+f,s+c),t.quadraticCurveTo(a,s+c,a,s+c-f),"center"===i&&"left"===o&&this.drawCaret(e,t,n,r),t.lineTo(a,s+d),t.quadraticCurveTo(a,s,a+d,s),t.closePath(),t.fill(),r.borderWidth>0&&t.stroke()}},{key:"_updateAnimationTarget",value:function(e){var t=this.chart,n=this.$animations,r=n&&n.x,o=n&&n.y;if(r||o){var i=nQ[e.position].call(this,this._active,this._eventPosition);if(!i)return;var a=this._size=aQ(this,e),s=Object.assign({},i,this._size),l=lQ(t,e,s),c=cQ(e,s,l,t);r._to===c.x&&o._to===c.y||(this.xAlign=l.xAlign,this.yAlign=l.yAlign,this.width=a.width,this.height=a.height,this.caretX=i.x,this.caretY=i.y,this._resolveAnimations().update(this,c))}}},{key:"_willRender",value:function(){return!!this.opacity}},{key:"draw",value:function(e){var t=this.options.setContext(this.getContext()),n=this.opacity;if(n){this._updateAnimationTarget(t);var r={width:this.width,height:this.height},o={x:this.x,y:this.y};n=Math.abs(n)<.001?0:n;var i=wH(t.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;t.enabled&&a&&(e.save(),e.globalAlpha=n,this.drawBackground(o,e,r,t),h$(e,t.textDirection),o.y+=i.top,this.drawTitle(o,e,t),this.drawBody(o,e,t),this.drawFooter(o,e,t),b$(e,t.textDirection),e.restore())}}},{key:"getActiveElements",value:function(){return this._active||[]}},{key:"setActiveElements",value:function(e,t){var n=this,r=this._active,o=e.map((function(e){var t=e.datasetIndex,r=e.index,o=n.chart.getDatasetMeta(t);if(!o)throw new Error("Cannot find a dataset at index "+t);return{datasetIndex:t,element:o.data[r],index:r}})),i=!UU(r,o),a=this._positionChanged(o,t);(i||a)&&(this._active=o,this._eventPosition=t,this._ignoreReplayEvents=!0,this.update(!0))}},{key:"handleEvent",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(t&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;var r=this.options,o=this._active||[],i=this._getActiveElements(e,o,t,n),a=this._positionChanged(i,e),s=t||!UU(i,o)||a;return s&&(this._active=i,(r.enabled||r.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,t))),s}},{key:"_getActiveElements",value:function(e,t,n,r){var o=this.options;if("mouseout"===e.type)return[];if(!r)return t;var i=this.chart.getElementsAtEventForMode(e,o.mode,o,n);return o.reverse&&i.reverse(),i}},{key:"_positionChanged",value:function(e,t){var n=this.caretX,r=this.caretY,o=this.options,i=nQ[o.position].call(this,e,t);return!1!==i&&(n!==i.x||r!==i.y)}}]),n}(UV);(0,Ws.Z)(bQ,"positioners",nQ);var AQ={id:"tooltip",_element:bQ,positioners:nQ,afterInit:function(e,t,n){n&&(e.tooltip=new bQ({chart:e,options:n}))},beforeUpdate:function(e,t,n){e.tooltip&&e.tooltip.initialize(n)},reset:function(e,t,n){e.tooltip&&e.tooltip.initialize(n)},afterDraw:function(e){var t=e.tooltip;if(t&&t._willRender()){var n={tooltip:t};if(!1===e.notifyPlugins("beforeTooltipDraw",Us(Us({},n),{},{cancelable:!0})))return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",n)}},afterEvent:function(e,t){if(e.tooltip){var n=t.replay;e.tooltip.handleEvent(t.event,n,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:function(e,t){return t.bodyFont.size},boxWidth:function(e,t){return t.bodyFont.size},multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:fQ},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:function(e){return"filter"!==e&&"itemSort"!==e&&"external"!==e},_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};function mQ(e,t,n,r){var o=e.indexOf(t);return-1===o?function(e,t,n,r){return"string"===typeof t?(n=e.push(t)-1,r.unshift({index:n,label:t})):isNaN(t)&&(n=null),n}(e,t,n,r):o!==e.lastIndexOf(t)?n:o}function gQ(e){var t=this.getLabels();return e>=0&&e<t.length?t[e]:e}var vQ=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(e){var r;return(0,o.Z)(this,n),(r=t.call(this,e))._startValue=void 0,r._valueRange=0,r._addedLabels=[],r}return(0,i.Z)(n,[{key:"init",value:function(e){var t=this._addedLabels;if(t.length){var r,o=this.getLabels(),i=(0,b.Z)(t);try{for(i.s();!(r=i.n()).done;){var a=r.value,s=a.index,l=a.label;o[s]===l&&o.splice(s,1)}}catch(c){i.e(c)}finally{i.f()}this._addedLabels=[]}(0,GF.Z)((0,KF.Z)(n.prototype),"init",this).call(this,e)}},{key:"parse",value:function(e,t){if(jU(e))return null;var n=this.getLabels();return function(e,t){return null===e?null:xZ(Math.round(e),0,t)}(t=isFinite(t)&&n[t]===e?t:mQ(n,e,PU(t,e),this._addedLabels),n.length-1)}},{key:"determineDataLimits",value:function(){var e=this.getUserBounds(),t=e.minDefined,n=e.maxDefined,r=this.getMinMax(!0),o=r.min,i=r.max;"ticks"===this.options.bounds&&(t||(o=0),n||(i=this.getLabels().length-1)),this.min=o,this.max=i}},{key:"buildTicks",value:function(){var e=this.min,t=this.max,n=this.options.offset,r=[],o=this.getLabels();o=0===e&&t===o.length-1?o:o.slice(e,t+1),this._valueRange=Math.max(o.length-(n?0:1),1),this._startValue=this.min-(n?.5:0);for(var i=e;i<=t;i++)r.push({value:i});return r}},{key:"getLabelForValue",value:function(e){return gQ.call(this,e)}},{key:"configure",value:function(){(0,GF.Z)((0,KF.Z)(n.prototype),"configure",this).call(this),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}},{key:"getPixelForValue",value:function(e){return"number"!==typeof e&&(e=this.parse(e)),null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}},{key:"getPixelForTick",value:function(e){var t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}},{key:"getValueForPixel",value:function(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}},{key:"getBasePixel",value:function(){return this.bottom}}]),n}(KV);function yQ(e,t){var n,r,o,i,a=[],s=e.bounds,l=e.step,c=e.min,u=e.max,d=e.precision,p=e.count,f=e.maxTicks,h=e.maxDigits,b=e.includeBounds,A=l||1,m=f-1,g=t.min,v=t.max,y=!jU(c),M=!jU(u),O=!jU(p),_=(v-g)/(h+1),z=hZ((v-g)/m/A)*A;if(z<1e-14&&!y&&!M)return[{value:g},{value:v}];(i=Math.ceil(v/z)-Math.floor(g/z))>m&&(z=hZ(i*z/m/A)*A),jU(d)||(n=Math.pow(10,d),z=Math.ceil(z*n)/n),"ticks"===s?(r=Math.floor(g/z)*z,o=Math.ceil(v/z)*z):(r=g,o=v),y&&M&&l&&function(e,t){var n=Math.round(e);return n-t<=e&&n+t>=e}((u-c)/l,z/1e3)?(z=(u-c)/(i=Math.round(Math.min((u-c)/z,f))),r=c,o=u):O?z=((o=M?u:o)-(r=y?c:r))/(i=p-1):i=fZ(i=(o-r)/z,Math.round(i),z/1e3)?Math.round(i):Math.ceil(i);var x=Math.max(vZ(z),vZ(r));n=Math.pow(10,jU(d)?x:d),r=Math.round(r*n)/n,o=Math.round(o*n)/n;var w=0;for(y&&(b&&r!==c?(a.push({value:c}),r<c&&w++,fZ(Math.round((r+w*z)*n)/n,c,MQ(c,_,e))&&w++):r<c&&w++);w<i;++w)a.push({value:Math.round((r+w*z)*n)/n});return M&&b&&o!==u?a.length&&fZ(a[a.length-1].value,u,MQ(u,_,e))?a[a.length-1].value=u:a.push({value:u}):M&&o!==u||a.push({value:o}),a}function MQ(e,t,n){var r=n.horizontal,o=mZ(n.minRotation),i=(r?Math.sin(o):Math.cos(o))||.001,a=.75*t*(""+e).length;return Math.min(t/i,a)}(0,Ws.Z)(vQ,"id","category"),(0,Ws.Z)(vQ,"defaults",{ticks:{callback:gQ}});var OQ=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(e){var r;return(0,o.Z)(this,n),(r=t.call(this,e)).start=void 0,r.end=void 0,r._startValue=void 0,r._endValue=void 0,r._valueRange=0,r}return(0,i.Z)(n,[{key:"parse",value:function(e,t){return jU(e)||("number"===typeof e||e instanceof Number)&&!isFinite(+e)?null:+e}},{key:"handleTickRangeOptions",value:function(){var e=this.options.beginAtZero,t=this.getUserBounds(),n=t.minDefined,r=t.maxDefined,o=this.min,i=this.max,a=function(e){return o=n?o:e},s=function(e){return i=r?i:e};if(e){var l=pZ(o),c=pZ(i);l<0&&c<0?s(0):l>0&&c>0&&a(0)}if(o===i){var u=0===i?1:Math.abs(.05*i);s(i+u),e||a(o-u)}this.min=o,this.max=i}},{key:"getTickLimit",value:function(){var e,t=this.options.ticks,n=t.maxTicksLimit,r=t.stepSize;return r?(e=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(e," ticks. Limiting to 1000.")),e=1e3):(e=this.computeTickLimit(),n=n||11),n&&(e=Math.min(n,e)),e}},{key:"computeTickLimit",value:function(){return Number.POSITIVE_INFINITY}},{key:"buildTicks",value:function(){var e=this.options,t=e.ticks,n=this.getTickLimit(),r=yQ({maxTicks:n=Math.max(2,n),bounds:e.bounds,min:e.min,max:e.max,precision:t.precision,step:t.stepSize,count:t.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:t.minRotation||0,includeBounds:!1!==t.includeBounds},this._range||this);return"ticks"===e.bounds&&AZ(r,this,"value"),e.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 e=this.ticks,t=this.min,r=this.max;if((0,GF.Z)((0,KF.Z)(n.prototype),"configure",this).call(this),this.options.offset&&e.length){var o=(r-t)/Math.max(e.length-1,1)/2;t-=o,r+=o}this._startValue=t,this._endValue=r,this._valueRange=r-t}},{key:"getLabelForValue",value:function(e){return QZ(e,this.chart.options.locale,this.options.ticks.format)}}]),n}(KV),_Q=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(){return(0,o.Z)(this,n),t.apply(this,arguments)}return(0,i.Z)(n,[{key:"determineDataLimits",value:function(){var e=this.getMinMax(!0),t=e.min,n=e.max;this.min=RU(t)?t:0,this.max=RU(n)?n:1,this.handleTickRangeOptions()}},{key:"computeTickLimit",value:function(){var e=this.isHorizontal(),t=e?this.width:this.height,n=mZ(this.options.ticks.minRotation),r=(e?Math.sin(n):Math.cos(n))||.001,o=this._resolveTickFontOptions(0);return Math.ceil(t/Math.min(40,o.lineHeight/r))}},{key:"getPixelForValue",value:function(e){return null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}},{key:"getValueForPixel",value:function(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}]),n}(OQ);(0,Ws.Z)(_Q,"id","linear"),(0,Ws.Z)(_Q,"defaults",{ticks:{callback:GZ.formatters.numeric}});var zQ=function(e){return Math.floor(dZ(e))},xQ=function(e,t){return Math.pow(10,zQ(e)+t)};function wQ(e){return 1===e/Math.pow(10,zQ(e))}function CQ(e,t,n){var r=Math.pow(10,n),o=Math.floor(e/r);return Math.ceil(t/r)-o}function SQ(e,t){var n=t.min,r=t.max;n=qU(e.min,n);for(var o=[],i=zQ(n),a=function(e,t){for(var n=zQ(t-e);CQ(e,t,n)>10;)n++;for(;CQ(e,t,n)<10;)n--;return Math.min(n,zQ(e))}(n,r),s=a<0?Math.pow(10,Math.abs(a)):1,l=Math.pow(10,a),c=i>a?Math.pow(10,i):0,u=Math.round((n-c)*s)/s,d=Math.floor((n-c)/l/10)*l*10,p=Math.floor((u-d)/Math.pow(10,a)),f=qU(e.min,Math.round((c+d+p*Math.pow(10,a))*s)/s);f<r;)o.push({value:f,major:wQ(f),significand:p}),p>=10?p=p<15?15:20:p++,p>=20&&(p=2,s=++a>=0?1:s),f=Math.round((c+d+p*Math.pow(10,a))*s)/s;var h=qU(e.max,f);return o.push({value:h,major:wQ(h),significand:p}),o}var EQ=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(e){var r;return(0,o.Z)(this,n),(r=t.call(this,e)).start=void 0,r.end=void 0,r._startValue=void 0,r._valueRange=0,r}return(0,i.Z)(n,[{key:"parse",value:function(e,t){var n=OQ.prototype.parse.apply(this,[e,t]);if(0!==n)return RU(n)&&n>0?n:null;this._zero=!0}},{key:"determineDataLimits",value:function(){var e=this.getMinMax(!0),t=e.min,n=e.max;this.min=RU(t)?Math.max(0,t):null,this.max=RU(n)?Math.max(0,n):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!RU(this._userMin)&&(this.min=t===xQ(this.min,0)?xQ(this.min,-1):xQ(this.min,0)),this.handleTickRangeOptions()}},{key:"handleTickRangeOptions",value:function(){var e=this.getUserBounds(),t=e.minDefined,n=e.maxDefined,r=this.min,o=this.max,i=function(e){return r=t?r:e},a=function(e){return o=n?o:e};r===o&&(r<=0?(i(1),a(10)):(i(xQ(r,-1)),a(xQ(o,1)))),r<=0&&i(xQ(o,-1)),o<=0&&a(xQ(r,1)),this.min=r,this.max=o}},{key:"buildTicks",value:function(){var e=this.options,t=SQ({min:this._userMin,max:this._userMax},this);return"ticks"===e.bounds&&AZ(t,this,"value"),e.reverse?(t.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),t}},{key:"getLabelForValue",value:function(e){return void 0===e?"0":QZ(e,this.chart.options.locale,this.options.ticks.format)}},{key:"configure",value:function(){var e=this.min;(0,GF.Z)((0,KF.Z)(n.prototype),"configure",this).call(this),this._startValue=dZ(e),this._valueRange=dZ(this.max)-dZ(e)}},{key:"getPixelForValue",value:function(e){return void 0!==e&&0!==e||(e=this.min),null===e||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(dZ(e)-this._startValue)/this._valueRange)}},{key:"getValueForPixel",value:function(e){var t=this.getDecimalForPixel(e);return Math.pow(10,this._startValue+t*this._valueRange)}}]),n}(KV);function kQ(e){var t=e.ticks;if(t.display&&e.display){var n=wH(t.backdropPadding);return PU(t.font&&t.font.size,rH.font.size)+n.height}return 0}function DQ(e,t,n,r,o){return e===r||e===o?{start:t-n/2,end:t+n/2}:e<r||e>o?{start:t-n,end:t}:{start:t,end:t+n}}function NQ(e){for(var t,n,r,o={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},i=Object.assign({},o),a=[],s=[],l=e._pointLabels.length,c=e.options.pointLabels,u=c.centerPointLabels?rZ/l:0,d=0;d<l;d++){var p=c.setContext(e.getPointLabelContext(d));s[d]=p.padding;var f=e.getPointPosition(d,e.drawingArea+s[d],u),h=CH(p.font),b=(t=e.ctx,n=h,r=BU(r=e._pointLabels[d])?r:[r],{w:iH(t,n.string,r),h:r.length*n.lineHeight});a[d]=b;var A=_Z(e.getIndexAngle(d)+u),m=Math.round(gZ(A));TQ(i,o,A,DQ(m,f.x,b.w,0,180),DQ(m,f.y,b.h,90,270))}e.setCenterPoint(o.l-i.l,i.r-o.r,o.t-i.t,i.b-o.b),e._pointLabelItems=function(e,t,n){for(var r=[],o=e._pointLabels.length,i=e.options,a=kQ(i)/2,s=e.drawingArea,l=i.pointLabels.centerPointLabels?rZ/o:0,c=0;c<o;c++){var u=e.getPointPosition(c,s+a+n[c],l),d=Math.round(gZ(_Z(u.angle+lZ))),p=t[c],f=LQ(u.y,p.h,d),h=jQ(d),b=BQ(u.x,p.w,h);r.push({x:u.x,y:f,textAlign:h,left:b,top:f,right:b+p.w,bottom:f+p.h})}return r}(e,a,s)}function TQ(e,t,n,r,o){var i=Math.abs(Math.sin(n)),a=Math.abs(Math.cos(n)),s=0,l=0;r.start<t.l?(s=(t.l-r.start)/i,e.l=Math.min(e.l,t.l-s)):r.end>t.r&&(s=(r.end-t.r)/i,e.r=Math.max(e.r,t.r+s)),o.start<t.t?(l=(t.t-o.start)/a,e.t=Math.min(e.t,t.t-l)):o.end>t.b&&(l=(o.end-t.b)/a,e.b=Math.max(e.b,t.b+l))}function jQ(e){return 0===e||180===e?"center":e<180?"left":"right"}function BQ(e,t,n){return"right"===n?e-=t:"center"===n&&(e-=t/2),e}function LQ(e,t,n){return 90===n||270===n?e-=t/2:(n>270||n<90)&&(e-=t),e}function RQ(e,t,n,r){var o=e.ctx;if(n)o.arc(e.xCenter,e.yCenter,t,0,oZ);else{var i=e.getPointPosition(0,t);o.moveTo(i.x,i.y);for(var a=1;a<r;a++)i=e.getPointPosition(a,t),o.lineTo(i.x,i.y)}}(0,Ws.Z)(EQ,"id","logarithmic"),(0,Ws.Z)(EQ,"defaults",{ticks:{callback:GZ.formatters.logarithmic,major:{enabled:!0}}});var qQ=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(e){var r;return(0,o.Z)(this,n),(r=t.call(this,e)).xCenter=void 0,r.yCenter=void 0,r.drawingArea=void 0,r._pointLabels=[],r._pointLabelItems=[],r}return(0,i.Z)(n,[{key:"setDimensions",value:function(){var e=this._padding=wH(kQ(this.options)/2),t=this.width=this.maxWidth-e.width,n=this.height=this.maxHeight-e.height;this.xCenter=Math.floor(this.left+t/2+e.left),this.yCenter=Math.floor(this.top+n/2+e.top),this.drawingArea=Math.floor(Math.min(t,n)/2)}},{key:"determineDataLimits",value:function(){var e=this.getMinMax(!1),t=e.min,n=e.max;this.min=RU(t)&&!isNaN(t)?t:0,this.max=RU(n)&&!isNaN(n)?n:0,this.handleTickRangeOptions()}},{key:"computeTickLimit",value:function(){return Math.ceil(this.drawingArea/kQ(this.options))}},{key:"generateTickLabels",value:function(e){var t=this;OQ.prototype.generateTickLabels.call(this,e),this._pointLabels=this.getLabels().map((function(e,n){var r=WU(t.options.pointLabels.callback,[e,n],t);return r||0===r?r:""})).filter((function(e,n){return t.chart.getDataVisibility(n)}))}},{key:"fit",value:function(){var e=this.options;e.display&&e.pointLabels.display?NQ(this):this.setCenterPoint(0,0,0,0)}},{key:"setCenterPoint",value:function(e,t,n,r){this.xCenter+=Math.floor((e-t)/2),this.yCenter+=Math.floor((n-r)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(e,t,n,r))}},{key:"getIndexAngle",value:function(e){return _Z(e*(oZ/(this._pointLabels.length||1))+mZ(this.options.startAngle||0))}},{key:"getDistanceFromCenterForValue",value:function(e){if(jU(e))return NaN;var t=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-e)*t:(e-this.min)*t}},{key:"getValueForDistanceFromCenter",value:function(e){if(jU(e))return NaN;var t=e/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-t:this.min+t}},{key:"getPointLabelContext",value:function(e){var t=this._pointLabels||[];if(e>=0&&e<t.length){var n=t[e];return function(e,t,n){return EH(e,{label:n,index:t,type:"pointLabel"})}(this.getContext(),e,n)}}},{key:"getPointPosition",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=this.getIndexAngle(e)-lZ+n;return{x:Math.cos(r)*t+this.xCenter,y:Math.sin(r)*t+this.yCenter,angle:r}}},{key:"getPointPositionForValue",value:function(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))}},{key:"getBasePosition",value:function(e){return this.getPointPositionForValue(e||0,this.getBaseValue())}},{key:"getPointLabelPosition",value:function(e){var t=this._pointLabelItems[e];return{left:t.left,top:t.top,right:t.right,bottom:t.bottom}}},{key:"drawBackground",value:function(){var e=this.options,t=e.backgroundColor,n=e.grid.circular;if(t){var r=this.ctx;r.save(),r.beginPath(),RQ(this,this.getDistanceFromCenterForValue(this._endValue),n,this._pointLabels.length),r.closePath(),r.fillStyle=t,r.fill(),r.restore()}}},{key:"drawGrid",value:function(){var e,t,n,r=this,o=this.ctx,i=this.options,a=i.angleLines,s=i.grid,l=i.border,c=this._pointLabels.length;if(i.pointLabels.display&&function(e,t){for(var n=e.ctx,r=e.options.pointLabels,o=t-1;o>=0;o--){var i=r.setContext(e.getPointLabelContext(o)),a=CH(i.font),s=e._pointLabelItems[o],l=s.x,c=s.y,u=s.textAlign,d=s.left,p=s.top,f=s.right,h=s.bottom,b=i.backdropColor;if(!jU(b)){var A=xH(i.borderRadius),m=wH(i.backdropPadding);n.fillStyle=b;var g=d-m.left,v=p-m.top,y=f-d+m.width,M=h-p+m.height;Object.values(A).some((function(e){return 0!==e}))?(n.beginPath(),gH(n,{x:g,y:v,w:y,h:M,radius:A}),n.fill()):n.fillRect(g,v,y,M)}bH(n,e._pointLabels[o],l,c+a.lineHeight/2,a,{color:i.color,textAlign:u,textBaseline:"middle"})}}(this,c),s.display&&this.ticks.forEach((function(e,n){if(0!==n){t=r.getDistanceFromCenterForValue(e.value);var o=r.getContext(n),i=s.setContext(o),a=l.setContext(o);!function(e,t,n,r,o){var i=e.ctx,a=t.circular,s=t.color,l=t.lineWidth;!a&&!r||!s||!l||n<0||(i.save(),i.strokeStyle=s,i.lineWidth=l,i.setLineDash(o.dash),i.lineDashOffset=o.dashOffset,i.beginPath(),RQ(e,n,a,r),i.closePath(),i.stroke(),i.restore())}(r,i,t,c,a)}})),a.display){for(o.save(),e=c-1;e>=0;e--){var u=a.setContext(this.getPointLabelContext(e)),d=u.color,p=u.lineWidth;p&&d&&(o.lineWidth=p,o.strokeStyle=d,o.setLineDash(u.borderDash),o.lineDashOffset=u.borderDashOffset,t=this.getDistanceFromCenterForValue(i.ticks.reverse?this.min:this.max),n=this.getPointPosition(e,t),o.beginPath(),o.moveTo(this.xCenter,this.yCenter),o.lineTo(n.x,n.y),o.stroke())}o.restore()}}},{key:"drawBorder",value:function(){}},{key:"drawLabels",value:function(){var e=this,t=this.ctx,n=this.options,r=n.ticks;if(r.display){var o,i,a=this.getIndexAngle(0);t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(a),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach((function(a,s){if(0!==s||n.reverse){var l=r.setContext(e.getContext(s)),c=CH(l.font);if(o=e.getDistanceFromCenterForValue(e.ticks[s].value),l.showLabelBackdrop){t.font=c.string,i=t.measureText(a.label).width,t.fillStyle=l.backdropColor;var u=wH(l.backdropPadding);t.fillRect(-i/2-u.left,-o-c.size/2-u.top,i+u.width,c.size+u.height)}bH(t,a.label,0,-o,c,{color:l.color})}})),t.restore()}}},{key:"drawTitle",value:function(){}}]),n}(OQ);(0,Ws.Z)(qQ,"id","radialLinear"),(0,Ws.Z)(qQ,"defaults",{display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:GZ.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:function(e){return e},padding:5,centerPointLabels:!1}}),(0,Ws.Z)(qQ,"defaultRoutes",{"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"}),(0,Ws.Z)(qQ,"descriptors",{angleLines:{_fallback:"grid"}});var PQ={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}},IQ=Object.keys(PQ);function WQ(e,t){return e-t}function FQ(e,t){if(jU(t))return null;var n=e._adapter,r=e._parseOpts,o=r.parser,i=r.round,a=r.isoWeekday,s=t;return"function"===typeof o&&(s=o(s)),RU(s)||(s="string"===typeof o?n.parse(s,o):n.parse(s)),null===s?null:(i&&(s="week"!==i||!bZ(a)&&!0!==a?n.startOf(s,i):n.startOf(s,"isoWeek",a)),+s)}function UQ(e,t,n,r){for(var o=IQ.length,i=IQ.indexOf(e);i<o-1;++i){var a=PQ[IQ[i]],s=a.steps?a.steps:Number.MAX_SAFE_INTEGER;if(a.common&&Math.ceil((n-t)/(s*a.size))<=r)return IQ[i]}return IQ[o-1]}function ZQ(e,t,n){if(n){if(n.length){var r=CZ(n,t),o=r.lo,i=r.hi;e[n[o]>=t?n[o]:n[i]]=!0}}else e[t]=!0}function HQ(e,t,n){var r,o,i=[],a={},s=t.length;for(r=0;r<s;++r)a[o=t[r]]=r,i.push({value:o,major:!1});return 0!==s&&n?function(e,t,n,r){var o,i,a=e._adapter,s=+a.startOf(t[0].value,r),l=t[t.length-1].value;for(o=s;o<=l;o=+a.add(o,1,r))(i=n[o])>=0&&(t[i].major=!0);return t}(e,i,a,n):i}var $Q=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(e){var r;return(0,o.Z)(this,n),(r=t.call(this,e))._cache={data:[],labels:[],all:[]},r._unit="day",r._majorUnit=void 0,r._offsets={},r._normalized=!1,r._parseOpts=void 0,r}return(0,i.Z)(n,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.time||(e.time={}),o=this._adapter=new iV._date(e.adapters.date);o.init(t),XU(r.displayFormats,o.formats()),this._parseOpts={parser:r.parser,round:r.round,isoWeekday:r.isoWeekday},(0,GF.Z)((0,KF.Z)(n.prototype),"init",this).call(this,e),this._normalized=t.normalized}},{key:"parse",value:function(e,t){return void 0===e?null:FQ(this,e)}},{key:"beforeLayout",value:function(){(0,GF.Z)((0,KF.Z)(n.prototype),"beforeLayout",this).call(this),this._cache={data:[],labels:[],all:[]}}},{key:"determineDataLimits",value:function(){var e=this.options,t=this._adapter,n=e.time.unit||"day",r=this.getUserBounds(),o=r.min,i=r.max,a=r.minDefined,s=r.maxDefined;function l(e){a||isNaN(e.min)||(o=Math.min(o,e.min)),s||isNaN(e.max)||(i=Math.max(i,e.max))}a&&s||(l(this._getLabelBounds()),"ticks"===e.bounds&&"labels"===e.ticks.source||l(this.getMinMax(!1))),o=RU(o)&&!isNaN(o)?o:+t.startOf(Date.now(),n),i=RU(i)&&!isNaN(i)?i:+t.endOf(Date.now(),n)+1,this.min=Math.min(o,i-1),this.max=Math.max(o+1,i)}},{key:"_getLabelBounds",value:function(){var e=this.getLabelTimestamps(),t=Number.POSITIVE_INFINITY,n=Number.NEGATIVE_INFINITY;return e.length&&(t=e[0],n=e[e.length-1]),{min:t,max:n}}},{key:"buildTicks",value:function(){var e=this.options,t=e.time,n=e.ticks,r="labels"===n.source?this.getLabelTimestamps():this._generate();"ticks"===e.bounds&&r.length&&(this.min=this._userMin||r[0],this.max=this._userMax||r[r.length-1]);var o=this.min,i=function(e,t,n){for(var r=0,o=e.length;r<o&&e[r]<t;)r++;for(;o>r&&e[o-1]>n;)o--;return r>0||o<e.length?e.slice(r,o):e}(r,o,this.max);return this._unit=t.unit||(n.autoSkip?UQ(t.minUnit,this.min,this.max,this._getLabelCapacity(o)):function(e,t,n,r,o){for(var i=IQ.length-1;i>=IQ.indexOf(n);i--){var a=IQ[i];if(PQ[a].common&&e._adapter.diff(o,r,a)>=t-1)return a}return IQ[n?IQ.indexOf(n):0]}(this,i.length,t.minUnit,this.min,this.max)),this._majorUnit=n.major.enabled&&"year"!==this._unit?function(e){for(var t=IQ.indexOf(e)+1,n=IQ.length;t<n;++t)if(PQ[IQ[t]].common)return IQ[t]}(this._unit):void 0,this.initOffsets(r),e.reverse&&i.reverse(),HQ(this,i,this._majorUnit)}},{key:"afterAutoSkip",value:function(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map((function(e){return+e.value})))}},{key:"initOffsets",value:function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=0,o=0;this.options.offset&&n.length&&(e=this.getDecimalForValue(n[0]),r=1===n.length?1-e:(this.getDecimalForValue(n[1])-e)/2,t=this.getDecimalForValue(n[n.length-1]),o=1===n.length?t:(t-this.getDecimalForValue(n[n.length-2]))/2);var i=n.length<3?.5:.25;r=xZ(r,0,i),o=xZ(o,0,i),this._offsets={start:r,end:o,factor:1/(r+1+o)}}},{key:"_generate",value:function(){var e,t,n=this._adapter,r=this.min,o=this.max,i=this.options,a=i.time,s=a.unit||UQ(a.minUnit,r,o,this._getLabelCapacity(r)),l=PU(i.ticks.stepSize,1),c="week"===s&&a.isoWeekday,u=bZ(c)||!0===c,d={},p=r;if(u&&(p=+n.startOf(p,"isoWeek",c)),p=+n.startOf(p,u?"day":s),n.diff(o,r,s)>1e5*l)throw new Error(r+" and "+o+" are too far apart with stepSize of "+l+" "+s);var f="data"===i.ticks.source&&this.getDataTimestamps();for(e=p,t=0;e<o;e=+n.add(e,l,s),t++)ZQ(d,e,f);return e!==o&&"ticks"!==i.bounds&&1!==t||ZQ(d,e,f),Object.keys(d).sort((function(e,t){return e-t})).map((function(e){return+e}))}},{key:"getLabelForValue",value:function(e){var t=this._adapter,n=this.options.time;return n.tooltipFormat?t.format(e,n.tooltipFormat):t.format(e,n.displayFormats.datetime)}},{key:"_tickFormatFunction",value:function(e,t,n,r){var o=this.options,i=o.ticks.callback;if(i)return WU(i,[e,t,n],this);var a=o.time.displayFormats,s=this._unit,l=this._majorUnit,c=s&&a[s],u=l&&a[l],d=n[t],p=l&&u&&d&&d.major;return this._adapter.format(e,r||(p?u:c))}},{key:"generateTickLabels",value:function(e){var t,n,r;for(t=0,n=e.length;t<n;++t)(r=e[t]).label=this._tickFormatFunction(r.value,t,e)}},{key:"getDecimalForValue",value:function(e){return null===e?NaN:(e-this.min)/(this.max-this.min)}},{key:"getPixelForValue",value:function(e){var t=this._offsets,n=this.getDecimalForValue(e);return this.getPixelForDecimal((t.start+n)*t.factor)}},{key:"getValueForPixel",value:function(e){var t=this._offsets,n=this.getDecimalForPixel(e)/t.factor-t.end;return this.min+n*(this.max-this.min)}},{key:"_getLabelSize",value:function(e){var t=this.options.ticks,n=this.ctx.measureText(e).width,r=mZ(this.isHorizontal()?t.maxRotation:t.minRotation),o=Math.cos(r),i=Math.sin(r),a=this._resolveTickFontOptions(0).size;return{w:n*o+a*i,h:n*i+a*o}}},{key:"_getLabelCapacity",value:function(e){var t=this.options.time,n=t.displayFormats,r=n[t.unit]||n.millisecond,o=this._tickFormatFunction(e,0,HQ(this,[e],this._majorUnit),r),i=this._getLabelSize(o),a=Math.floor(this.isHorizontal()?this.width/i.w:this.height/i.h)-1;return a>0?a:1}},{key:"getDataTimestamps",value:function(){var e,t,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(e=0,t=r.length;e<t;++e)n=n.concat(r[e].controller.getAllParsedValues(this));return this._cache.data=this.normalize(n)}},{key:"getLabelTimestamps",value:function(){var e,t,n=this._cache.labels||[];if(n.length)return n;var r=this.getLabels();for(e=0,t=r.length;e<t;++e)n.push(FQ(this,r[e]));return this._cache.labels=this._normalized?n:this.normalize(n)}},{key:"normalize",value:function(e){return NZ(e.sort(WQ))}}]),n}(KV);function VQ(e,t,n){var r,o,i,a,s=0,l=e.length-1;if(n){if(t>=e[s].pos&&t<=e[l].pos){var c=SZ(e,"pos",t);s=c.lo,l=c.hi}var u=e[s];r=u.pos,i=u.time;var d=e[l];o=d.pos,a=d.time}else{if(t>=e[s].time&&t<=e[l].time){var p=SZ(e,"time",t);s=p.lo,l=p.hi}var f=e[s];r=f.time,i=f.pos;var h=e[l];o=h.time,a=h.pos}var b=o-r;return b?i+(a-i)*(t-r)/b:i}(0,Ws.Z)($Q,"id","time"),(0,Ws.Z)($Q,"defaults",{bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}});var XQ=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(e){var r;return(0,o.Z)(this,n),(r=t.call(this,e))._table=[],r._minPos=void 0,r._tableRange=void 0,r}return(0,i.Z)(n,[{key:"initOffsets",value:function(){var e=this._getTimestampsForTable(),t=this._table=this.buildLookupTable(e);this._minPos=VQ(t,this.min),this._tableRange=VQ(t,this.max)-this._minPos,(0,GF.Z)((0,KF.Z)(n.prototype),"initOffsets",this).call(this,e)}},{key:"buildLookupTable",value:function(e){var t,n,r,o,i,a=this.min,s=this.max,l=[],c=[];for(t=0,n=e.length;t<n;++t)(o=e[t])>=a&&o<=s&&l.push(o);if(l.length<2)return[{time:a,pos:0},{time:s,pos:1}];for(t=0,n=l.length;t<n;++t)i=l[t+1],r=l[t-1],o=l[t],Math.round((i+r)/2)!==o&&c.push({time:o,pos:t/(n-1)});return c}},{key:"_getTimestampsForTable",value:function(){var e=this._cache.all||[];if(e.length)return e;var t=this.getDataTimestamps(),n=this.getLabelTimestamps();return e=t.length&&n.length?this.normalize(t.concat(n)):t.length?t:n,e=this._cache.all=e}},{key:"getDecimalForValue",value:function(e){return(VQ(this._table,e)-this._minPos)/this._tableRange}},{key:"getValueForPixel",value:function(e){var t=this._offsets,n=this.getDecimalForPixel(e)/t.factor-t.end;return VQ(this._table,n*this._tableRange+this._minPos,!0)}}]),n}($Q);(0,Ws.Z)(XQ,"id","timeseries"),(0,Ws.Z)(XQ,"defaults",$Q.defaults);var QQ=["height","width","redraw","datasetIdKey","type","data","options","plugins","fallbackContent","updateMode"],YQ="label";function GQ(e,t){"function"===typeof e?e(t):e&&(e.current=t)}function KQ(e,t){e.labels=t}function JQ(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:YQ,r=[];e.datasets=t.map((function(t){var o=e.datasets.find((function(e){return e[n]===t[n]}));return o&&t.data&&!r.includes(o)?(r.push(o),Object.assign(o,t),o):Us({},t)}))}function eY(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:YQ,n={labels:[],datasets:[]};return KQ(n,e.labels),JQ(n,e.datasets,t),n}function tY(t,n){var r=t.height,o=void 0===r?150:r,i=t.width,a=void 0===i?300:i,s=t.redraw,l=void 0!==s&&s,c=t.datasetIdKey,u=t.type,d=t.data,p=t.options,f=t.plugins,h=void 0===f?[]:f,b=t.fallbackContent,A=t.updateMode,m=(0,Uu.Z)(t,QQ),g=(0,e.useRef)(null),v=(0,e.useRef)(),y=function(){g.current&&(v.current=new xX(g.current,{type:u,data:eY(d,c),options:p&&Us({},p),plugins:h}),GQ(n,v.current))},M=function(){GQ(n,null),v.current&&(v.current.destroy(),v.current=null)};return(0,e.useEffect)((function(){!l&&v.current&&p&&function(e,t){var n=e.options;n&&t&&Object.assign(n,t)}(v.current,p)}),[l,p]),(0,e.useEffect)((function(){!l&&v.current&&KQ(v.current.config.data,d.labels)}),[l,d.labels]),(0,e.useEffect)((function(){!l&&v.current&&d.datasets&&JQ(v.current.config.data,d.datasets,c)}),[l,d.datasets]),(0,e.useEffect)((function(){v.current&&(l?(M(),setTimeout(y)):v.current.update(A))}),[l,p,d.labels,d.datasets,A]),(0,e.useEffect)((function(){v.current&&(M(),setTimeout(y))}),[u]),(0,e.useEffect)((function(){return y(),function(){return M()}}),[]),e.createElement("canvas",Object.assign({ref:g,role:"img",height:o,width:a},m),b)}var nY=(0,e.forwardRef)(tY);function rY(t,n){return xX.register(n),(0,e.forwardRef)((function(n,r){return e.createElement(nY,Object.assign({},n,{ref:r,type:t}))}))}var oY=rY("line",K$),iY=rY("bar",Q$),aY=rY("doughnut",G$),sY=__webpack_require__(20392),lY=__webpack_require__(63197),cY=__webpack_require__.n(lY),uY=function(e){return e&&e.enabled&&e.modifierKey},dY=function(e,t){return e&&t[e+"Key"]},pY=function(e,t){return e&&!t[e+"Key"]};function fY(e,t,n){return void 0===e||("string"===typeof e?-1!==e.indexOf(t):"function"===typeof e&&-1!==e({chart:n}).indexOf(t))}function hY(e,t){return"function"===typeof e&&(e=e({chart:t})),"string"===typeof e?{x:-1!==e.indexOf("x"),y:-1!==e.indexOf("y")}:{x:!1,y:!1}}function bY(e,t,n){var r=e||{},o=r.mode,i=void 0===o?"xy":o,a=r.scaleMode,s=r.overScaleMode,l=function(e,t){for(var n=e.x,r=e.y,o=t.scales,i=Object.keys(o),a=0;a<i.length;a++){var s=o[i[a]];if(r>=s.top&&r<=s.bottom&&n>=s.left&&n<=s.right)return s}return null}(t,n),c=hY(i,n),u=hY(a,n);if(s)for(var d=hY(s,n),p=0,f=["x","y"];p<f.length;p++){var h=f[p];d[h]&&(u[h]=c[h],c[h]=!1)}if(l&&u[l.axis])return[l];var b=[];return FU(n.scales,(function(e){c[e.axis]&&b.push(e)})),b}var AY=new WeakMap;function mY(e){var t=AY.get(e);return t||(t={originalScaleLimits:{},updatedScaleLimits:{},handlers:{},panDelta:{}},AY.set(e,t)),t}function gY(e,t,n){var r=e.max-e.min,o=r*(t-1),i=e.isHorizontal()?n.x:n.y,a=Math.max(0,Math.min(1,(e.getValueForPixel(i)-e.min)/r||0));return{min:o*a,max:o*(1-a)}}function vY(e,t,n,r,o){var i=n[r];if("original"===i){var a=e.originalScaleLimits[t.id][r];i=PU(a.options,a.scale)}return PU(i,o)}function yY(e,t,n){var r=t.min,o=t.max,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=mY(e.chart),s=e.id,l=e.axis,c=e.options,u=n&&(n[s]||n[l])||{},d=u.minRange,p=void 0===d?0:d,f=vY(a,e,u,"min",-1/0),h=vY(a,e,u,"max",1/0),b=Math.max(r,f),A=Math.min(o,h),m=i?Math.max(A-b,p):e.max-e.min;if(A-b!==m)if(f>A-m)r=b,o=b+m;else if(h<b+m)o=A,r=A-m;else{var g=(m-A+b)/2;r=b-g,o=A+g}else r=b,o=A;return c.min=r,c.max=o,a.updatedScaleLimits[e.id]={min:r,max:o},e.parse(r)!==e.min||e.parse(o)!==e.max}var MY=function(e){return 0===e||isNaN(e)?0:e<0?Math.min(Math.round(e),-1):Math.max(Math.round(e),1)};var OY={second:500,minute:3e4,hour:18e5,day:432e5,week:3024e5,month:1296e6,quarter:5184e6,year:157248e5};function _Y(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=e.min,i=e.max,a=e.options,s=a.time&&a.time.round,l=OY[s]||0,c=e.getValueForPixel(e.getPixelForValue(o+l)-t),u=e.getValueForPixel(e.getPixelForValue(i+l)-t),d=r&&n&&n[e.axis]||{},p=d.min,f=void 0===p?-1/0:p,h=d.max,b=void 0===h?1/0:h;return!!(isNaN(c)||isNaN(u)||c<f||u>b)||yY(e,{min:c,max:u},n,r)}function zY(e,t,n){return _Y(e,t,n,!0)}var xY={category:function(e,t,n,r){var o=gY(e,t,n);return e.min===e.max&&t<1&&function(e){var t=e.getLabels().length-1;e.min>0&&(e.min-=1),e.max<t&&(e.max+=1)}(e),yY(e,{min:e.min+MY(o.min),max:e.max-MY(o.max)},r,!0)},default:function(e,t,n,r){var o=gY(e,t,n);return yY(e,{min:e.min+o.min,max:e.max-o.max},r,!0)}},wY={default:function(e,t,n,r){yY(e,function(e,t,n){var r=e.getValueForPixel(t),o=e.getValueForPixel(n);return{min:Math.min(r,o),max:Math.max(r,o)}}(e,t,n),r,!0)}},CY={category:function(e,t,n){var r,o=e.getLabels().length-1,i=e.min,a=e.max,s=Math.max(a-i,1),l=Math.round(function(e){return e.isHorizontal()?e.width:e.height}(e)/Math.max(s,10)),c=Math.round(Math.abs(t/l));return t<-l?(a=Math.min(a+c,o),i=1===s?a:a-s,r=a===o):t>l&&(i=Math.max(0,i-c),a=1===s?i:i+s,r=0===i),yY(e,{min:i,max:a},n)||r},default:_Y,logarithmic:zY,timeseries:zY};function SY(e,t){FU(e,(function(n,r){t[r]||delete e[r]}))}function EY(e,t){var n=e.scales,r=t.originalScaleLimits,o=t.updatedScaleLimits;return FU(n,(function(e){(function(e,t,n){var r=e.id,o=e.options,i=o.min,a=o.max;if(!t[r]||!n[r])return!0;var s=n[r];return s.min!==i||s.max!==a})(e,r,o)&&(r[e.id]={min:{scale:e.min,options:e.options.min},max:{scale:e.max,options:e.options.max}})})),SY(r,n),SY(o,n),r}function kY(e,t,n,r){WU(xY[e.type]||xY.default,[e,t,n,r])}function DY(e,t,n,r,o){WU(wY[e.type]||wY.default,[e,t,n,r,o])}function NY(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"none",r="number"===typeof t?{x:t,y:t}:t,o=r.x,i=void 0===o?1:o,a=r.y,s=void 0===a?1:a,l=r.focalPoint,c=void 0===l?function(e){var t=e.chartArea;return{x:(t.left+t.right)/2,y:(t.top+t.bottom)/2}}(e):l,u=mY(e),d=u.options,p=d.limits,f=d.zoom;EY(e,u);var h=1!==i,b=1!==s;FU(bY(f,c,e)||e.scales,(function(e){e.isHorizontal()&&h?kY(e,i,c,p):!e.isHorizontal()&&b&&kY(e,s,c,p)})),e.update(n),WU(f.onZoom,[{chart:e}])}function TY(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"none",o=mY(e),i=o.options,a=i.limits,s=i.zoom,l=s.mode,c=void 0===l?"xy":l;EY(e,o);var u=fY(c,"x",e),d=fY(c,"y",e);FU(e.scales,(function(e){e.isHorizontal()&&u?DY(e,t.x,n.x,a):!e.isHorizontal()&&d&&DY(e,t.y,n.y,a)})),e.update(r),WU(s.onZoom,[{chart:e}])}function jY(e){var t=mY(e),n=1,r=1;return FU(e.scales,(function(e){var o=function(e,t){var n=e.originalScaleLimits[t];if(n){var r=n.min,o=n.max;return PU(o.options,o.scale)-PU(r.options,r.scale)}}(t,e.id);if(o){var i=Math.round(o/(e.max-e.min)*100)/100;n=Math.min(n,i),r=Math.max(r,i)}})),n<1?n:r}function BY(e,t,n,r){var o=r.panDelta,i=o[e.id]||0;pZ(i)===pZ(t)&&(t+=i),WU(CY[e.type]||CY.default,[e,t,n])?o[e.id]=0:o[e.id]=t}function LY(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"none",o="number"===typeof t?{x:t,y:t}:t,i=o.x,a=void 0===i?0:i,s=o.y,l=void 0===s?0:s,c=mY(e),u=c.options,d=u.pan,p=u.limits,f=(d||{}).onPan;EY(e,c);var h=0!==a,b=0!==l;FU(n||e.scales,(function(e){e.isHorizontal()&&h?BY(e,a,p,c):!e.isHorizontal()&&b&&BY(e,l,p,c)})),e.update(r),WU(f,[{chart:e}])}function RY(e){for(var t=mY(e),n={},r=0,o=Object.keys(e.scales);r<o.length;r++){var i=o[r],a=t.originalScaleLimits[i]||{min:{},max:{}},s=a.min,l=a.max;n[i]={min:s.scale,max:l.scale}}return n}function qY(e,t){var n=mY(e).handlers,r=n[t];r&&r.target&&(r.target.removeEventListener(t,r),delete n[t])}function PY(e,t,n,r){var o=mY(e),i=o.handlers,a=o.options,s=i[n];s&&s.target===t||(qY(e,n),i[n]=function(t){return r(e,t,a)},i[n].target=t,t.addEventListener(n,i[n]))}function IY(e,t){var n=mY(e);n.dragStart&&(n.dragging=!0,n.dragEnd=t,e.update("none"))}function WY(e,t){var n=mY(e);n.dragStart&&"Escape"===t.key&&(qY(e,"keydown"),n.dragging=!1,n.dragStart=n.dragEnd=null,e.update("none"))}function FY(e,t,n){var r=n.onZoomStart,o=n.onZoomRejected;if(r){var i=t.target.getBoundingClientRect(),a=i.left,s=i.top;if(!1===WU(r,[{chart:e,event:t,point:{x:t.clientX-a,y:t.clientY-s}}]))return WU(o,[{chart:e,event:t}]),!1}}function UY(e,t){var n=mY(e),r=n.options,o=r.pan,i=r.zoom,a=void 0===i?{}:i;if(0!==t.button||dY(uY(o),t)||pY(uY(a.drag),t))return WU(a.onZoomRejected,[{chart:e,event:t}]);!1!==FY(e,t,a)&&(n.dragStart=t,PY(e,e.canvas,"mousemove",IY),PY(e,window.document,"keydown",WY))}function ZY(e,t,n,r){var o=n.target.getBoundingClientRect(),i=o.left,a=o.top,s=fY(t,"x",e),l=fY(t,"y",e),c=e.chartArea,u=c.top,d=c.left,p=c.right,f=c.bottom,h=c.width,b=c.height;s&&(d=Math.min(n.clientX,r.clientX)-i,p=Math.max(n.clientX,r.clientX)-i),l&&(u=Math.min(n.clientY,r.clientY)-a,f=Math.max(n.clientY,r.clientY)-a);var A=p-d,m=f-u;return{left:d,top:u,right:p,bottom:f,width:A,height:m,zoomX:s&&A?1+(h-A)/h:1,zoomY:l&&m?1+(b-m)/b:1}}function HY(e,t){var n=mY(e);if(n.dragStart){qY(e,"mousemove");var r=n.options.zoom,o=r.mode,i=r.onZoomComplete,a=r.drag.threshold,s=void 0===a?0:a,l=ZY(e,o,n.dragStart,t),c=fY(o,"x",e)?l.width:0,u=fY(o,"y",e)?l.height:0,d=Math.sqrt(c*c+u*u);if(n.dragStart=n.dragEnd=null,d<=s)return n.dragging=!1,void e.update("none");TY(e,{x:l.left,y:l.top},{x:l.right,y:l.bottom},"zoom"),setTimeout((function(){return n.dragging=!1}),500),WU(i,[{chart:e}])}}function $Y(e,t){var n=mY(e),r=n.handlers.onZoomComplete,o=n.options.zoom;if(function(e,t,n){if(pY(uY(n.wheel),t))WU(n.onZoomRejected,[{chart:e,event:t}]);else if(!1!==FY(e,t,n)&&(t.cancelable&&t.preventDefault(),void 0!==t.deltaY))return!0}(e,t,o)){var i=t.target.getBoundingClientRect(),a=1+(t.deltaY>=0?-o.wheel.speed:o.wheel.speed);NY(e,{x:a,y:a,focalPoint:{x:t.clientX-i.left,y:t.clientY-i.top}}),r&&r()}}function VY(e,t,n,r){n&&(mY(e).handlers[t]=function(e,t){var n;return function(){return clearTimeout(n),n=setTimeout(e,t),t}}((function(){return WU(n,[{chart:e}])}),r))}function XY(e,t){return function(n,r){var o=t.options,i=o.pan,a=o.zoom,s=void 0===a?{}:a;if(!i||!i.enabled)return!1;var l=r&&r.srcEvent;return!l||(!(!t.panning&&"mouse"===r.pointerType&&(pY(uY(i),l)||dY(uY(s.drag),l)))||(WU(i.onPanRejected,[{chart:e,event:r}]),!1))}}function QY(e,t,n){if(t.scale){var r=n.center,o=n.pointers,i=1/t.scale*n.scale,a=n.target.getBoundingClientRect(),s=function(e,t){var n,r,o=Math.abs(e.clientX-t.clientX),i=Math.abs(e.clientY-t.clientY),a=o/i;return a>.3&&a<1.7?n=r=!0:o>i?n=!0:r=!0,{x:n,y:r}}(o[0],o[1]),l=t.options.zoom.mode;NY(e,{x:s.x&&fY(l,"x",e)?i:1,y:s.y&&fY(l,"y",e)?i:1,focalPoint:{x:r.x-a.left,y:r.y-a.top}}),t.scale=n.scale}}function YY(e,t,n){var r=t.delta;r&&(t.panning=!0,LY(e,{x:n.deltaX-r.x,y:n.deltaY-r.y},t.panScales),t.delta={x:n.deltaX,y:n.deltaY})}var GY=new WeakMap;function KY(e,t){var n=mY(e),r=e.canvas,o=t.pan,i=t.zoom,a=new(cY().Manager)(r);i&&i.pinch.enabled&&(a.add(new(cY().Pinch)),a.on("pinchstart",(function(){return function(e,t){t.options.zoom.pinch.enabled&&(t.scale=1)}(0,n)})),a.on("pinch",(function(t){return QY(e,n,t)})),a.on("pinchend",(function(t){return function(e,t,n){t.scale&&(QY(e,t,n),t.scale=null,WU(t.options.zoom.onZoomComplete,[{chart:e}]))}(e,n,t)}))),o&&o.enabled&&(a.add(new(cY().Pan)({threshold:o.threshold,enable:XY(e,n)})),a.on("panstart",(function(t){return function(e,t,n){var r=t.options.pan,o=r.enabled,i=r.onPanStart,a=r.onPanRejected;if(o){var s=n.target.getBoundingClientRect(),l={x:n.center.x-s.left,y:n.center.y-s.top};if(!1===WU(i,[{chart:e,event:n,point:l}]))return WU(a,[{chart:e,event:n}]);t.panScales=bY(t.options.pan,l,e),t.delta={x:0,y:0},clearTimeout(t.panEndTimeout),YY(e,t,n)}}(e,n,t)})),a.on("panmove",(function(t){return YY(e,n,t)})),a.on("panend",(function(){return function(e,t){t.delta=null,t.panning&&(t.panEndTimeout=setTimeout((function(){return t.panning=!1}),500),WU(t.options.pan.onPanComplete,[{chart:e}]))}(e,n)}))),GY.set(e,a)}function JY(e,t,n){var r=n.zoom.drag,o=mY(e),i=o.dragStart,a=o.dragEnd;if(r.drawTime===t&&a){var s=ZY(e,n.zoom.mode,i,a),l=s.left,c=s.top,u=s.width,d=s.height,p=e.ctx;p.save(),p.beginPath(),p.fillStyle=r.backgroundColor||"rgba(225,225,225,0.3)",p.fillRect(l,c,u,d),r.borderWidth>0&&(p.lineWidth=r.borderWidth,p.strokeStyle=r.borderColor||"rgba(225,225,225)",p.strokeRect(l,c,u,d)),p.restore()}}var eG={id:"zoom",version:"2.0.0",defaults:{pan:{enabled:!1,mode:"xy",threshold:10,modifierKey:null},zoom:{wheel:{enabled:!1,speed:.1,modifierKey:null},drag:{enabled:!1,drawTime:"beforeDatasetsDraw",modifierKey:null},pinch:{enabled:!1},mode:"xy"}},start:function(e,t,n){mY(e).options=n,Object.prototype.hasOwnProperty.call(n.zoom,"enabled")&&console.warn("The option `zoom.enabled` is no longer supported. Please use `zoom.wheel.enabled`, `zoom.drag.enabled`, or `zoom.pinch.enabled`."),(Object.prototype.hasOwnProperty.call(n.zoom,"overScaleMode")||Object.prototype.hasOwnProperty.call(n.pan,"overScaleMode"))&&console.warn("The option `overScaleMode` is deprecated. Please use `scaleMode` instead (and update `mode` as desired)."),cY()&&KY(e,n),e.pan=function(t,n,r){return LY(e,t,n,r)},e.zoom=function(t,n){return NY(e,t,n)},e.zoomRect=function(t,n,r){return TY(e,t,n,r)},e.zoomScale=function(t,n,r){return function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"none";EY(e,mY(e)),yY(e.scales[t],n,void 0,!0),e.update(r)}(e,t,n,r)},e.resetZoom=function(t){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default",n=mY(e),r=EY(e,n);FU(e.scales,(function(e){var t=e.options;r[e.id]?(t.min=r[e.id].min.options,t.max=r[e.id].max.options):(delete t.min,delete t.max)})),e.update(t),WU(n.options.zoom.onZoomComplete,[{chart:e}])}(e,t)},e.getZoomLevel=function(){return jY(e)},e.getInitialScaleBounds=function(){return RY(e)},e.isZoomedOrPanned=function(){return function(e){for(var t=RY(e),n=0,r=Object.keys(e.scales);n<r.length;n++){var o=r[n],i=t[o],a=i.min,s=i.max;if(void 0!==a&&e.scales[o].min!==a)return!0;if(void 0!==s&&e.scales[o].max!==s)return!0}return!1}(e)}},beforeEvent:function(e){var t=mY(e);if(t.panning||t.dragging)return!1},beforeUpdate:function(e,t,n){mY(e).options=n,function(e,t){var n=e.canvas,r=t.zoom,o=r.wheel,i=r.drag,a=r.onZoomComplete;o.enabled?(PY(e,n,"wheel",$Y),VY(e,"onZoomComplete",a,250)):qY(e,"wheel"),i.enabled?(PY(e,n,"mousedown",UY),PY(e,n.ownerDocument,"mouseup",HY)):(qY(e,"mousedown"),qY(e,"mousemove"),qY(e,"mouseup"),qY(e,"keydown"))}(e,n)},beforeDatasetsDraw:function(e,t,n){JY(e,"beforeDatasetsDraw",n)},afterDatasetsDraw:function(e,t,n){JY(e,"afterDatasetsDraw",n)},beforeDraw:function(e,t,n){JY(e,"beforeDraw",n)},afterDraw:function(e,t,n){JY(e,"afterDraw",n)},stop:function(e){!function(e){qY(e,"mousedown"),qY(e,"mousemove"),qY(e,"mouseup"),qY(e,"wheel"),qY(e,"click"),qY(e,"keydown")}(e),cY()&&function(e){var t=GY.get(e);t&&(t.remove("pinchstart"),t.remove("pinch"),t.remove("pinchend"),t.remove("panstart"),t.remove("pan"),t.remove("panend"),t.destroy(),GY.delete(e))}(e),function(e){AY.delete(e)}(e)},panFunctions:CY,zoomFunctions:xY,zoomRectFunctions:wY};xX.register(vQ,_Q,QX,tQ,AQ,JX,FX,IX,eG);var tG=$l((function(t){var r=t.selected,o=t.setSelected,i=t.title,a=t.data,s=t.type,l=t.staff,c=t.loading,u=t.amount,d=t.total,p=t.button,f=(0,e.useState)(0),h=(0,n.Z)(f,2),b=h[0],A=h[1],m=(0,e.useRef)(null);(0,e.useEffect)((function(){A(m.current.clientHeight)}),[]);var g={responsive:!0,plugins:{legend:{position:"top",display:!1},customCanvasBackgroundColor:{color:"white"},title:{display:!1}},scales:{x:{borderColor:"#fff",grid:{color:"#fff"}},y:{display:!1,backgroundColor:"#fff",borderColor:"#fff",grid:{color:"#fff"}}}},v=(0,e.useMemo)((function(){return u>0}),[u]),y=(0,e.useMemo)((function(){var e;return 0===(null===a||void 0===a||null===(e=a.labels)||void 0===e?void 0:e.length)}),[a.labels]);return c||void 0===r?(0,Kl.jsx)("div",{className:RF,children:(0,Kl.jsx)(Rp,{variant:"rect",height:b,width:"100%"})}):(0,Kl.jsxs)("div",{className:RF,ref:m,children:[(0,Kl.jsxs)("div",{className:qF,children:[(0,Kl.jsxs)("div",{className:PF,children:[(0,Kl.jsxs)("div",{className:IF,children:[(0,Kl.jsx)(kl.Z,{className:UF,children:null!==i&&void 0!==i?i:"No title"}),(0,Kl.jsx)("div",{className:WF,children:(0,Kl.jsxs)(Wu.Z,{select:!0,size:"small",name:"staff",label:"Staff",onChange:function(e){o(e.target.value)},variant:"outlined",value:r,className:FF,children:[(0,Kl.jsx)(xd.Z,{value:0,children:"All Staff"},"staff_all"),null===l||void 0===l?void 0:l.map((function(e,t){return(0,Kl.jsx)(xd.Z,{value:e.id,children:e.name},"staff".concat(e.id,"_").concat(t))}))]})})]}),(0,Kl.jsx)("div",{children:d?(0,Kl.jsx)(kl.Z,{className:$F,children:d}):(0,Kl.jsx)(kl.Z,{className:$F,style:{opacity:0},children:0})})]}),u&&(0,Kl.jsxs)("div",{className:ZF,style:{backgroundColor:v?"#F0FBE5":"#FFE8EB"},children:[(0,Kl.jsx)(sY.Z,{style:{color:v?"#6DD400":"#FF1639",transform:v?"rotate(0deg)":"rotate(180deg)"}}),(0,Kl.jsx)(kl.Z,{className:HF,style:{color:v?"#6DD400":"#FF1639"},children:u})]})]}),(0,Kl.jsxs)("div",{className:XF,children:[y&&(0,Kl.jsx)(kl.Z,{align:"center",className:QF,variant:"h6",children:"No data"}),"bar"===s?(0,Kl.jsx)(iY,{options:g,data:a}):(0,Kl.jsx)(oY,{options:g,data:a})]}),!!p&&(0,Kl.jsx)(zd.Z,{onClick:null===p||void 0===p?void 0:p.onClick,variant:"contained",size:"small",className:VF,children:null===p||void 0===p?void 0:p.text})]})})),nG=tG,rG=__webpack_require__(53245),oG=$l((function(t){var r,o,i,a,s=t.overall,l=t.overallLoading,c=(0,e.useContext)(bA),u=(0,e.useState)([]),d=(0,n.Z)(u,2),p=d[0],f=d[1],h=(0,e.useState)(!1),b=(0,n.Z)(h,2),A=b[0],m=b[1],g=(0,e.useState)({}),v=(0,n.Z)(g,2),y=v[0],M=v[1],O=(0,e.useState)({}),_=(0,n.Z)(O,2),z=_[0],x=_[1],w=Fc(),C=w.dashboard,S=w.location,E=(0,e.useState)([]),k=(0,n.Z)(E,2),D=k[0],N=k[1],T=(0,e.useRef)(),j={labels:null===z||void 0===z?void 0:z.labels,datasets:[{data:null===z||void 0===z?void 0:z.data,backgroundColor:"#FD8762",borderColor:"#FD8762"}]},B={labels:null===y||void 0===y?void 0:y.labels,datasets:[{data:null===y||void 0===y?void 0:y.data,backgroundColor:"#6DD400"}]},L=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,r,o;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return m(!0),e.next=3,Re.get("/v1/staff",{params:{view:"list",location:(null===S||void 0===S?void 0:S.id)||"all"}});case 3:n=e.sent,r=n.data,o=r.data.filter((function(e){return!(null!==e&&void 0!==e&&e.deletedAt)})).map((function(e){return{id:e.id,name:Qs(e.user.firstName,e.user.lastName)}})),f(o),m(!1);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),R=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t,n,r){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return M({loading:!0}),e.next=3,Re.get("/v1/clinic/accounting/appointments",{params:{action:"view",staff_id:t||null,date_from:n,date_to:r,clinic_location_id:(null===S||void 0===S?void 0:S.id)||null}}).then((function(e){var t,n=[],r=[],o=0,i=null===e||void 0===e||null===(t=e.data)||void 0===t?void 0:t.sort((function(e,t){return new Date(e.start_date)-new Date(t.start_date)}));i.forEach((function(e){n.push(Vs()(null===e||void 0===e?void 0:e.start_date).format("MMM DD")),r.push(null===e||void 0===e?void 0:e.count),o=Number(o)+Number(null===e||void 0===e?void 0:e.count)})),M({labels:n,data:r,total:o,loading:!1})}));case 3:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}(),q=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={},"appointments"===t&&(n.staff=null===C||void 0===C?void 0:C.appointmentsStaff,n.req="/v1/clinic/accounting/appointments"),"revenue"===t&&(n.staff=null===C||void 0===C?void 0:C.revenueStaff,n.req="/v1/clinic/accounting/revenue"),e.next=5,Re.get(n.req,{params:{action:"download",staff_id:n.staff||null,date_from:null===C||void 0===C?void 0:C.startDate,date_to:null===C||void 0===C?void 0:C.endDate,clinic_location_id:(null===S||void 0===S?void 0:S.id)||null}}).then((function(e){var t=e.data.replaceAll('"',"");N(t)}));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();(0,e.useEffect)((function(){D.length>0&&T.current&&T.current.link.click()}),[D]);var P=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t,n,r){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return x({loading:!0}),e.next=3,Re.get("/v1/clinic/accounting/revenue",{params:{staff_id:t||null,date_from:n,date_to:r,action:"view",clinic_location_id:(null===S||void 0===S?void 0:S.id)||null}}).then((function(e){var t,n=[],r=[],o=0,i=null===e||void 0===e||null===(t=e.data)||void 0===t?void 0:t.sort((function(e,t){return new Date(e.start_date)-new Date(t.start_date)}));i.forEach((function(e){n.push(Vs()(null===e||void 0===e?void 0:e.start_date).format("MMM DD")),r.push(null===e||void 0===e?void 0:e.revenue),o+=Number(null===e||void 0===e?void 0:e.revenue)})),x({labels:n,data:r,total:o,loading:!1})}));case 3:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}();return(0,e.useEffect)((function(){L()}),[]),(0,e.useEffect)((function(){null!==C&&void 0!==C&&C.startDate&&null!==C&&void 0!==C&&C.endDate&&R(null===C||void 0===C?void 0:C.appointmentsStaff,null===C||void 0===C?void 0:C.startDate,null===C||void 0===C?void 0:C.endDate)}),[null===C||void 0===C?void 0:C.appointmentsStaff,null===C||void 0===C?void 0:C.startDate,null===C||void 0===C?void 0:C.endDate,null===S||void 0===S?void 0:S.id]),(0,e.useEffect)((function(){null!==C&&void 0!==C&&C.startDate&&null!==C&&void 0!==C&&C.endDate&&P(null===C||void 0===C?void 0:C.revenueStaff,null===C||void 0===C?void 0:C.startDate,null===C||void 0===C?void 0:C.endDate)}),[null===C||void 0===C?void 0:C.revenueStaff,null===C||void 0===C?void 0:C.startDate,null===C||void 0===C?void 0:C.endDate,null===S||void 0===S?void 0:S.id]),(0,Kl.jsxs)("div",{className:LF.container,children:[(0,Kl.jsxs)("div",{className:LF.header,children:[null!==c&&void 0!==c&&c.user?(0,Kl.jsxs)(kl.Z,{className:LF.headerTitle,children:["Hello, ",Qs(null===c||void 0===c||null===(r=c.user)||void 0===r?void 0:r.firstName,null===c||void 0===c||null===(o=c.user)||void 0===o?void 0:o.lastName)," \ud83d\udc4b"]}):(0,Kl.jsx)(Rp,{variant:"text",style:{fontSize:28},width:"100%"}),(0,Kl.jsx)("div",{className:LF.appointments,children:l?(0,Kl.jsx)(Rp,{align:"center",variant:"text",style:{fontSize:24},width:"70%"}):(0,Kl.jsxs)(kl.Z,{align:"left",children:["You have a total of"," ",(0,Kl.jsxs)("b",{children:[null===s||void 0===s||null===(i=s.newBookings)||void 0===i?void 0:i.count," new bookings"]})," \ud83d\udc4f"]})})]}),(0,Kl.jsxs)("div",{className:LF.charts,children:[(0,Kl.jsx)(nG,{type:"bar",data:B,staff:p,title:"Appointments",loading:A&&(null===y||void 0===y?void 0:y.loading),total:null!==(a=null===y||void 0===y?void 0:y.total)&&void 0!==a?a:"_",selected:null===C||void 0===C?void 0:C.appointmentsStaff,setSelected:null===C||void 0===C?void 0:C.setAppointmentsStaff,button:{onClick:function(){return q("appointments")},text:"View Appointments"}}),(0,Kl.jsx)(nG,{type:"line",data:j,staff:p,title:"Revenue",loading:A&&(null===z||void 0===z?void 0:z.loading),total:null!==z&&void 0!==z&&z.total?"".concat(c.clinic.currency).concat(null===z||void 0===z?void 0:z.total.toFixed(2)):"",selected:null===C||void 0===C?void 0:C.revenueStaff,setSelected:null===C||void 0===C?void 0:C.setRevenueStaff,button:{onClick:function(){return q("revenue")},text:"View Finance"}}),(0,Kl.jsx)(rG.CSVLink,{data:D,filename:"data.csv",className:"hidden",ref:T,target:"_blank",asyncOnClick:!0})]})]})})),iG=oG,aG={container:"trending_container__6EI9F",trendingHeader:"trending_trendingHeader__gabyM",title:"trending_title__yJWil",footer:"trending_footer__kg8IQ",footerText:"trending_footerText__dnH0J",pagination:"trending_pagination__YFn9V"},sG=__webpack_require__(24779),lG=__webpack_require__(794);var cG=(0,kp.Z)(e.createElement("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),uG=(0,kp.Z)(e.createElement("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),dG=(0,kp.Z)(e.createElement("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"NavigateBefore"),pG=(0,kp.Z)(e.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext"),fG=e.forwardRef((function(t,n){var r=t.classes,o=t.className,i=t.color,a=void 0===i?"standard":i,s=t.component,l=t.disabled,c=void 0!==l&&l,u=t.page,d=t.selected,p=void 0!==d&&d,f=t.shape,h=void 0===f?"round":f,b=t.size,A=void 0===b?"medium":b,m=t.type,g=void 0===m?"page":m,v=t.variant,y=void 0===v?"text":v,M=(0,Uu.Z)(t,["classes","className","color","component","disabled","page","selected","shape","size","type","variant"]),O=("rtl"===(0,qd.Z)().direction?{previous:pG,next:dG,last:cG,first:uG}:{previous:dG,next:pG,first:cG,last:uG})[g];return"start-ellipsis"===g||"end-ellipsis"===g?e.createElement("div",{ref:n,className:(0,Zu.Z)(r.root,r.ellipsis,c&&r.disabled,"medium"!==A&&r["size".concat((0,Jd.Z)(A))])},"\u2026"):e.createElement(qb.Z,(0,Fu.Z)({ref:n,component:s,disabled:c,focusVisibleClassName:r.focusVisible,className:(0,Zu.Z)(r.root,r.page,r[y],r[h],o,"standard"!==a&&r["".concat(y).concat((0,Jd.Z)(a))],c&&r.disabled,p&&r.selected,"medium"!==A&&r["size".concat((0,Jd.Z)(A))])},M),"page"===g&&u,O?e.createElement(O,{className:r.icon}):null)})),hG=(0,Hu.Z)((function(e){return{root:(0,Fu.Z)({},e.typography.body2,{borderRadius:16,textAlign:"center",boxSizing:"border-box",minWidth:32,height:32,padding:"0 6px",margin:"0 3px",color:e.palette.text.primary}),page:{transition:e.transitions.create(["color","background-color"],{duration:e.transitions.duration.short}),"&:hover":{backgroundColor:e.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},"&$focusVisible":{backgroundColor:e.palette.action.focus},"&$selected":{backgroundColor:e.palette.action.selected,"&:hover, &$focusVisible":{backgroundColor:(0,Bp.Fq)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.palette.action.selected}},"&$disabled":{opacity:1,color:e.palette.action.disabled,backgroundColor:e.palette.action.selected}},"&$disabled":{opacity:e.palette.action.disabledOpacity}},sizeSmall:{minWidth:26,height:26,borderRadius:13,margin:"0 1px",padding:"0 4px","& $icon":{fontSize:e.typography.pxToRem(18)}},sizeLarge:{minWidth:40,height:40,borderRadius:20,padding:"0 10px",fontSize:e.typography.pxToRem(15),"& $icon":{fontSize:e.typography.pxToRem(22)}},textPrimary:{"&$selected":{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.main,"&:hover, &$focusVisible":{backgroundColor:e.palette.primary.dark,"@media (hover: none)":{backgroundColor:e.palette.primary.main}},"&$disabled":{color:e.palette.action.disabled}}},textSecondary:{"&$selected":{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.main,"&:hover, &$focusVisible":{backgroundColor:e.palette.secondary.dark,"@media (hover: none)":{backgroundColor:e.palette.secondary.main}},"&$disabled":{color:e.palette.action.disabled}}},outlined:{border:"1px solid ".concat("light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),"&$selected":{"&$disabled":{border:"1px solid ".concat(e.palette.action.disabledBackground)}}},outlinedPrimary:{"&$selected":{color:e.palette.primary.main,border:"1px solid ".concat((0,Bp.Fq)(e.palette.primary.main,.5)),backgroundColor:(0,Bp.Fq)(e.palette.primary.main,e.palette.action.activatedOpacity),"&:hover, &$focusVisible":{backgroundColor:(0,Bp.Fq)(e.palette.primary.main,e.palette.action.activatedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{color:e.palette.action.disabled}}},outlinedSecondary:{"&$selected":{color:e.palette.secondary.main,border:"1px solid ".concat((0,Bp.Fq)(e.palette.secondary.main,.5)),backgroundColor:(0,Bp.Fq)(e.palette.secondary.main,e.palette.action.activatedOpacity),"&:hover, &$focusVisible":{backgroundColor:(0,Bp.Fq)(e.palette.secondary.main,e.palette.action.activatedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{color:e.palette.action.disabled}}},rounded:{borderRadius:e.shape.borderRadius},ellipsis:{height:"auto","&$disabled":{opacity:e.palette.action.disabledOpacity}},focusVisible:{},disabled:{},selected:{},icon:{fontSize:e.typography.pxToRem(20),margin:"0 -8px"}}}),{name:"MuiPaginationItem"})(fG);function bG(e,t,n){return"page"===e?"".concat(n?"":"Go to ","page ").concat(t):"Go to ".concat(e," page")}var AG=e.forwardRef((function(t,o){t.boundaryCount;var i=t.classes,a=t.className,s=t.color,l=void 0===s?"standard":s,c=(t.count,t.defaultPage,t.disabled,t.getItemAriaLabel),u=void 0===c?bG:c,d=(t.hideNextButton,t.hidePrevButton,t.onChange,t.page,t.renderItem),p=void 0===d?function(t){return e.createElement(hG,t)}:d,f=t.shape,h=void 0===f?"round":f,b=(t.showFirstButton,t.showLastButton,t.siblingCount,t.size),A=void 0===b?"medium":b,m=t.variant,g=void 0===m?"text":m,v=(0,Uu.Z)(t,["boundaryCount","classes","className","color","count","defaultPage","disabled","getItemAriaLabel","hideNextButton","hidePrevButton","onChange","page","renderItem","shape","showFirstButton","showLastButton","siblingCount","size","variant"]),y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.boundaryCount,o=void 0===t?1:t,i=e.componentName,a=void 0===i?"usePagination":i,s=e.count,l=void 0===s?1:s,c=e.defaultPage,u=void 0===c?1:c,d=e.disabled,p=void 0!==d&&d,f=e.hideNextButton,h=void 0!==f&&f,b=e.hidePrevButton,A=void 0!==b&&b,m=e.onChange,g=e.page,v=e.showFirstButton,y=void 0!==v&&v,M=e.showLastButton,O=void 0!==M&&M,_=e.siblingCount,z=void 0===_?1:_,x=(0,Uu.Z)(e,["boundaryCount","componentName","count","defaultPage","disabled","hideNextButton","hidePrevButton","onChange","page","showFirstButton","showLastButton","siblingCount"]),w=(0,lG.Z)({controlled:g,default:u,name:a,state:"page"}),C=(0,n.Z)(w,2),S=C[0],E=C[1],k=function(e,t){g||E(t),m&&m(e,t)},D=function(e,t){var n=t-e+1;return Array.from({length:n},(function(t,n){return e+n}))},N=D(1,Math.min(o,l)),T=D(Math.max(l-o+1,o+1),l),j=Math.max(Math.min(S-z,l-o-2*z-1),o+2),B=Math.min(Math.max(S+z,o+2*z+2),T[0]-2),L=[].concat((0,r.Z)(y?["first"]:[]),(0,r.Z)(A?[]:["previous"]),(0,r.Z)(N),(0,r.Z)(j>o+2?["start-ellipsis"]:o+1<l-o?[o+1]:[]),(0,r.Z)(D(j,B)),(0,r.Z)(B<l-o-1?["end-ellipsis"]:l-o>o?[l-o]:[]),(0,r.Z)(T),(0,r.Z)(h?[]:["next"]),(0,r.Z)(O?["last"]:[])),R=function(e){switch(e){case"first":return 1;case"previous":return S-1;case"next":return S+1;case"last":return l;default:return null}},q=L.map((function(e){return"number"===typeof e?{onClick:function(t){k(t,e)},type:"page",page:e,selected:e===S,disabled:p,"aria-current":e===S?"true":void 0}:{onClick:function(t){k(t,R(e))},type:e,page:R(e),selected:!1,disabled:p||-1===e.indexOf("ellipsis")&&("next"===e||"last"===e?S>=l:S<=1)}}));return(0,Fu.Z)({items:q},x)}((0,Fu.Z)({},t,{componentName:"Pagination"})),M=y.items;return e.createElement("nav",(0,Fu.Z)({"aria-label":"pagination navigation",className:(0,Zu.Z)(i.root,a),ref:o},v),e.createElement("ul",{className:i.ul},M.map((function(t,n){return e.createElement("li",{key:n},p((0,Fu.Z)({},t,{color:l,"aria-label":u(t.type,t.page,t.selected),shape:h,size:A,variant:g})))}))))})),mG=(0,Hu.Z)({root:{},ul:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}},{name:"MuiPagination"})(AG),gG=function(){var t=(0,sG.zJo)(),n=t.state,r=t.apiRef,o=(0,e.useMemo)((function(){var e=(n.pagination.page+1)*n.pagination.pageSize;return e<n.pagination.rowCount?e:n.pagination.rowCount}),[n.pagination.page,n.pagination.pageSize,n.pagination.rowCount]);return(0,Kl.jsxs)("div",{className:aG.footer,children:[(0,Kl.jsxs)(kl.Z,{className:aG.footerText,children:["Showing ",n.pagination.page*n.pagination.pageSize+1," to ",o," ","of ",n.pagination.rowCount," items"]}),(0,Kl.jsx)(mG,{className:aG.pagination,color:"primary",count:n.pagination.pageCount,page:n.pagination.page+1,onChange:function(e,t){return r.current.setPage(t-1)}})]})},vG=$l((function(){var t=(0,e.useState)([]),r=(0,n.Z)(t,2),o=r[0],i=r[1],a=(0,e.useState)(10),s=(0,n.Z)(a,2),l=s[0],c=s[1],u=(0,e.useState)(0),d=(0,n.Z)(u,2),p=d[0],f=d[1],h=(0,e.useState)(0),b=(0,n.Z)(h,2),A=b[0],m=b[1],g=(0,e.useState)(!1),v=(0,n.Z)(g,2),y=v[0],M=v[1],O=(0,e.useState)(0),_=(0,n.Z)(O,2),z=_[0],x=_[1],w=Fc(),C=w.dashboard,S=w.location,E=(0,e.useContext)(bA),k=[{field:"name",headerName:0===z?"Employee":"Treatment",width:300,editable:!1,sortable:!0,renderCell:function(e){return 0===z?(0,Kl.jsx)(jw,{name:e.row.name,avatarUrl:e.row.avatarUrl}):(0,Kl.jsx)(kl.Z,{children:e.row.name})}},{field:"appointmentsCount",headerName:"# of appointments",type:"number",width:250,editable:!1,sortable:!0,headerAlign:"right",align:"right"},{field:"revenueGenerated",headerName:"Revenue Generated",sortable:!0,editable:!1,width:250,headerAlign:"right",align:"right",renderCell:function(e){var t;return(0,Kl.jsxs)(kl.Z,{children:[E.clinic.currency,e.row.revenueGenerated?null===(t=Number(e.row.revenueGenerated))||void 0===t?void 0:t.toFixed(2):0]})}},{field:"totalDuration",headerName:0===z?"Clinics worked per person":"# of hours in appointments",sortable:!0,editable:!1,headerAlign:"right",align:"right",width:250,renderCell:function(e){return(0,Kl.jsxs)(kl.Z,{children:[e.row.totalDuration," h"]})}}],D=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return M(!0),e.next=3,Re.get("/v1/clinic/accounting/trending",{params:{trending_type:0===t?"staff":"treatment_types",date_from:null===C||void 0===C?void 0:C.startDate,date_to:null===C||void 0===C?void 0:C.endDate,clinic_location_id:(null===S||void 0===S?void 0:S.id)||null}}).then((function(e){var n=e.data,r=[];r=0===t?n.data.map((function(e,t){var n,r,o;return Us(Us({},e),{},{id:t,totalDuration:e.workingHours,name:Qs(null===e||void 0===e||null===(n=e.user)||void 0===n?void 0:n.firstName,null===e||void 0===e||null===(r=e.user)||void 0===r?void 0:r.lastName),avatarUrl:null===e||void 0===e||null===(o=e.user)||void 0===o?void 0:o.avatarUrl})})):n.data.map((function(e,t){return Us(Us({},e),{},{id:t})})),i(r),f(r.length),M(!1)}));case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();(0,e.useEffect)((function(){m(0),null!==C&&void 0!==C&&C.startDate&&null!==C&&void 0!==C&&C.endDate&&D(z)}),[z,null===C||void 0===C?void 0:C.startDate,null===C||void 0===C?void 0:C.endDate,null===S||void 0===S?void 0:S.id]);return(0,Kl.jsxs)("div",{className:aG.container,children:[(0,Kl.jsxs)("div",{className:aG.trendingHeader,children:[(0,Kl.jsx)(kl.Z,{className:aG.title,children:"Trending"}),(0,Kl.jsxs)(Hb,{value:z,onChange:function(e,t){x(t)},textColor:"primary",indicatorColor:"secondary",children:[(0,Kl.jsx)(Vb,{label:"Employees"}),(0,Kl.jsx)(Vb,{label:"Treatments"})]})]}),(0,Kl.jsx)(sG._$r,{className:aG.table,rows:o,columns:k,disableSelectionOnClick:!0,autoHeight:!0,disableColumnSelector:!0,disableColumnMenu:!0,onRowClick:function(){},pagination:!0,paginationMode:"client",pageSize:l,onPageSizeChange:function(e){return c(e)},rowCount:p,page:A,onPageChange:function(e){return m(e)},loading:y,rowsPerPageOptions:[3,5,10],components:{Footer:gG}})]})})),yG=vG,MG="overallCharts_container__422eC",OG="overallCharts_charts__KsnYc",_G={container:"ageChart_container__20d2A",containerHeader:"ageChart_containerHeader__ksDrQ",download:"ageChart_download__+W2mh",chartTitle:"ageChart_chartTitle__CGlON",chart:"ageChart_chart__RtRv-",noData:"ageChart_noData__IlM5R"};xX.register(DX,AQ,JX);var zG=function(t){var r=t.data,o=t.getDownloadData,i=(0,e.useState)([]),a=(0,n.Z)(i,2),s=a[0],l=a[1],c=(0,e.useRef)(),u=(0,e.useMemo)((function(){var e={male:"#03D0FF",female:"#FF668B",other:"#FFC715"},t=null===r||void 0===r?void 0:r.map((function(e){return null===e||void 0===e?void 0:e.name})),n={};return null===r||void 0===r||r.forEach((function(r){var o;null!==r&&void 0!==r&&r.demographic&&(null===r||void 0===r||null===(o=r.demographic)||void 0===o||o.forEach((function(o){var i=o.gender;n[i]||(n[i]={data:[],color:e[i],label:i});var a=null===t||void 0===t?void 0:t.findIndex((function(e){return e===(null===r||void 0===r?void 0:r.name)}));n[i].data[a]={name:null===r||void 0===r?void 0:r.name.replace("_","-"),count:null===o||void 0===o?void 0:o.count,percent:null===o||void 0===o?void 0:o.percent}})))})),Object.values(n)}),[r]),d=(0,e.useMemo)((function(){return{labels:null===r||void 0===r?void 0:r.map((function(e){var t;return"".concat(null===e||void 0===e||null===(t=e.name)||void 0===t?void 0:t.replace("_","-"),"\n          ")})),datasets:null===u||void 0===u?void 0:u.map((function(e){var t;return{label:tl(null===e||void 0===e?void 0:e.label),data:null===e||void 0===e||null===(t=e.data)||void 0===t?void 0:t.map((function(e){return e.count})),backgroundColor:null===e||void 0===e?void 0:e.color,borderWidth:0}}))}}),[u,r]),p=(0,e.useMemo)((function(){return 0===(null===r||void 0===r?void 0:r.filter((function(e){return e.count>0})).length)}),[r]);return(0,e.useEffect)((function(){s.length>0&&c.current&&c.current.link.click()}),[s]),(0,Kl.jsxs)("div",{className:_G.container,children:[(0,Kl.jsxs)("div",{className:_G.containerHeader,children:[(0,Kl.jsx)(kl.Z,{className:_G.chartTitle,children:"Age Profile"}),(0,Kl.jsx)("div",{className:_G.download,children:(0,Kl.jsx)(zd.Z,{onClick:function(){return o(l,"ages")},variant:"contained",size:"small",className:_G.viewButton,children:"Download"})}),(0,Kl.jsx)(rG.CSVLink,{data:s,filename:"data.csv",className:"hidden",ref:c,target:"_blank",asyncOnClick:!0})]}),(0,Kl.jsxs)("div",{className:_G.chart,children:[p&&(0,Kl.jsx)(kl.Z,{align:"center",className:_G.noData,variant:"h6",children:"No data"}),(0,Kl.jsx)(iY,{options:{responsive:!0,plugins:{legend:{position:"top",display:!1},customCanvasBackgroundColor:{color:"white"},title:{display:!1}},scales:{x:{borderColor:"#fff",grid:{color:"#fff"}},y:{display:!1,backgroundColor:"#fff",borderColor:"#fff",grid:{color:"#fff"}}}},data:d})]})]})},xG="appointmentsChart_container__PVcEm",wG="appointmentsChart_containerHeader__IBlmP",CG="appointmentsChart_chartTitle__PLuWD",SG="appointmentsChart_chart__MJOIS",EG="appointmentsChart_noData__PDXDZ";xX.register(DX,AQ,JX);var kG={"not-show":"No Show",completed:"Attended"},DG=function(t){var n=t.data,r=(0,e.useMemo)((function(){return{labels:null===n||void 0===n?void 0:n.map((function(e){return"".concat(kG[null===e||void 0===e?void 0:e.slug]," (").concat(null===e||void 0===e?void 0:e.percent,"%)")})),datasets:[{label:"Count",data:null===n||void 0===n?void 0:n.map((function(e){return e.count})),backgroundColor:["#5EDD82","#F26B7B"],borderWidth:0}]}}),[n]),o=(0,e.useMemo)((function(){return 0===(null===n||void 0===n?void 0:n.length)}),[n]);return(0,Kl.jsxs)("div",{className:xG,children:[(0,Kl.jsx)("div",{className:wG,children:(0,Kl.jsx)(kl.Z,{className:CG,children:"Attended vs No-Shows"})}),(0,Kl.jsxs)("div",{className:SG,children:[o&&(0,Kl.jsx)(kl.Z,{align:"center",className:EG,variant:"h6",children:"No data"}),(0,Kl.jsx)(aY,{data:r,options:{responsive:!0,circumference:"180",rotation:"270",plugins:{legend:{position:"bottom"}}}})]})]})},NG={demographicChartItem:"demographicChart_demographicChartItem__aipy9",demographicChartImage:"demographicChart_demographicChartImage__NfQKB",container:"demographicChart_container__XwFyc",chart:"demographicChart_chart__uEL3p",noDataContainer:"demographicChart_noDataContainer__S0h7E",noData:"demographicChart_noData__XjNXM",containerHeader:"demographicChart_containerHeader__nlssp",download:"demographicChart_download__SbD+y",chartTitle:"demographicChart_chartTitle__5kxzr",charts:"demographicChart_charts__9T6LF"};xX.register(DX,AQ,JX);var TG=function(t){var r=t.data,o=t.getDownloadData,i=(0,e.useState)([]),a=(0,n.Z)(i,2),s=a[0],l=a[1],c=(0,e.useRef)(),u={male:"#03D0FF",female:"#FF668B",other:"#FFC715"},d=(0,e.useMemo)((function(){return{labels:null===r||void 0===r?void 0:r.map((function(e){return"".concat(tl(e.gender)," (").concat(e.percent,"%)")})),datasets:[{label:"Count",data:null===r||void 0===r?void 0:r.map((function(e){return e.count})),backgroundColor:null===r||void 0===r?void 0:r.map((function(e){return u[e.gender]})),borderWidth:0}]}}),[r]),p=(0,e.useMemo)((function(){return 0===(null===r||void 0===r?void 0:r.length)}),[r]);return(0,e.useEffect)((function(){s.length>0&&c.current&&c.current.link.click()}),[s]),(0,Kl.jsxs)("div",{className:NG.container,children:[(0,Kl.jsxs)("div",{className:NG.containerHeader,children:[(0,Kl.jsx)(kl.Z,{className:NG.chartTitle,children:"Clinic Demographics"}),(0,Kl.jsx)("div",{className:NG.download,children:(0,Kl.jsx)(zd.Z,{onClick:function(){return o(l,"demographic")},variant:"contained",size:"small",className:NG.viewButton,children:"Download"})}),(0,Kl.jsx)(rG.CSVLink,{data:s,filename:"data.csv",className:"hidden",ref:c,target:"_blank",asyncOnClick:!0})]}),(0,Kl.jsxs)("div",{className:NG.chart,children:[p&&(0,Kl.jsx)("div",{className:NG.noDataContainer,children:(0,Kl.jsx)(kl.Z,{align:"center",className:NG.noData,variant:"h6",children:"No data"})}),(0,Kl.jsx)(aY,{data:d,options:{responsive:!0,plugins:{legend:{position:"bottom"}}}})]})]})},jG="medicalVsCosmeticChart_container__vsEvO",BG="medicalVsCosmeticChart_containerHeader__6JsYK",LG="medicalVsCosmeticChart_chartTitle__cSd1S",RG="medicalVsCosmeticChart_chart__nIKPJ",qG="medicalVsCosmeticChart_noData__NMLtu";xX.register(DX,AQ,JX);var PG,IG=function(t){var n=t.data,r=(0,e.useMemo)((function(){return{labels:["Cosmetic (".concat(null===n||void 0===n?void 0:n.cosmetic_percent,"%)"),"Medical (".concat(null===n||void 0===n?void 0:n.medical_percent,"%)")],datasets:[{label:"Count",data:[null===n||void 0===n?void 0:n.cosmetic_count,null===n||void 0===n?void 0:n.medical_count],backgroundColor:["#0CE8EC","#464F58"],borderWidth:0}]}}),[n]),o=(0,e.useMemo)((function(){return 0===(null===n||void 0===n?void 0:n.medical_count)&&0===(null===n||void 0===n?void 0:n.cosmetic_count)}),[n]);return(0,Kl.jsxs)("div",{className:jG,children:[(0,Kl.jsx)("div",{className:BG,children:(0,Kl.jsx)(kl.Z,{className:LG,children:"Medical vs Cosmetic"})}),(0,Kl.jsxs)("div",{className:RG,children:[o&&(0,Kl.jsx)(kl.Z,{align:"center",className:qG,variant:"h6",children:"No data"}),(0,Kl.jsx)(aY,{data:r,options:{responsive:!0,plugins:{legend:{position:"bottom"}}}})]})]})},WG=$l((function(t){var r=t.overall,o=t.loading,i=(0,e.useState)(0),a=(0,n.Z)(i,2),s=a[0],l=a[1],c=(0,e.useRef)(null),u=Fc(),d=u.dashboard,p=u.location;(0,e.useEffect)((function(){l(c.current.clientHeight)}),[]);var f=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t,n){var r;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r={headers:{"access-control-allow-origin":"*"}},e.next=3,Re.get("/v1/clinic/accounting/overall",{params:{date_from:null===d||void 0===d?void 0:d.startDate,date_to:null===d||void 0===d?void 0:d.endDate,action:"download",section:n,clinic_location_id:(null===p||void 0===p?void 0:p.id)||null}},r).then((function(e){var n=e.data,r=null===n||void 0===n?void 0:n.replaceAll('"',"");t(r)}));case 3:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}();return o?(0,Kl.jsx)(Rp,{variant:"rect",height:s,width:"100%",className:MG}):(0,Kl.jsxs)("div",{className:MG,ref:c,children:[(0,Kl.jsxs)("div",{className:OG,children:[(0,Kl.jsx)(TG,{data:null===r||void 0===r?void 0:r.demographic,getDownloadData:f}),(0,Kl.jsx)(zG,{data:null===r||void 0===r?void 0:r.ages,getDownloadData:f})]}),(0,Kl.jsxs)("div",{className:OG,children:[(0,Kl.jsx)(IG,{data:null===r||void 0===r?void 0:r.treatments}),(0,Kl.jsx)(DG,{data:null===r||void 0===r?void 0:r.appointments})]})]})})),FG=WG,UG="stats_stats__o1lI3",ZG="stats_statsContainer__KJhno",HG={container:"checkout_container__KX9-u",chartTitle:"checkout_chartTitle__lhCpX",loading:"checkout_loading__1bnho",noData:"checkout_noData__gxTWp",title:"checkout_title__cv3a8",titleContent:"checkout_titleContent__sjFa8",titleText:"checkout_titleText__gosBv",subTitleText:"checkout_subTitleText__tlc0B",download:"checkout_download__GrAXp",checkoutMethod:"checkout_checkoutMethod__t1Azm",checkoutBarContainer:"checkout_checkoutBarContainer__IriYG",checkoutBar:"checkout_checkoutBar__N2iRu",amount:"checkout_amount__e+F-o",checkoutMethodTitle:"checkout_checkoutMethodTitle__MEEIi",checkoutMethodTitleText:"checkout_checkoutMethodTitleText__g4J+k"},$G=function(t){var n=t.method,r=t.maxRevenue,o=(0,e.useContext)(bA),i=(0,e.useMemo)((function(){return ic.find((function(e){return e.slug===n.payment_method}))}),[n]),a=(0,e.useMemo)((function(){var e;return null!==n&&void 0!==n&&n.revenue?null===(e=Number(null===n||void 0===n?void 0:n.revenue))||void 0===e?void 0:e.toFixed(2):0}),[null===n||void 0===n?void 0:n.revenue]),s=(0,e.useMemo)((function(){return(null===n||void 0===n?void 0:n.revenue)/r*100}),[n.revenue,r]);return(0,Kl.jsxs)("div",{className:HG.checkoutMethod,children:[(0,Kl.jsxs)("div",{className:HG.checkoutMethodTitle,children:[null===i||void 0===i?void 0:i.icon,(0,Kl.jsx)(kl.Z,{className:HG.checkoutMethodTitleText,children:null===i||void 0===i?void 0:i.name})]}),(0,Kl.jsxs)("div",{className:HG.checkoutBarContainer,children:[(0,Kl.jsx)("div",{className:HG.checkoutBar,style:{width:"".concat(s,"%"),display:0===s?"none":"flex"}}),(0,Kl.jsxs)(kl.Z,{align:"center",className:HG.amount,children:[o.clinic.currency,a]})]})]})},VG=$l((function(){var t=Fc().dashboard,o=(0,e.useState)(!1),i=(0,n.Z)(o,2),a=i[0],s=i[1],l=(0,e.useState)([]),c=(0,n.Z)(l,2),u=c[0],d=c[1],p=(0,e.useState)([]),f=(0,n.Z)(p,2),h=f[0],b=f[1],A=(0,e.useRef)(),m=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(n){var r;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"view"===n&&s(!0),r={headers:{"access-control-allow-origin":"*"}},e.next=4,Re.get("/v1/clinic/accounting/payment-methods",{params:{date_from:null===t||void 0===t?void 0:t.startDate,date_to:null===t||void 0===t?void 0:t.endDate,action:n}},r).then((function(e){var t=e.data;if("view"===n)d(t),s(!1);else if("download"===n){var r=null===t||void 0===t?void 0:t.replaceAll('"',"");b(r)}}));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();(0,e.useEffect)((function(){null!==t&&void 0!==t&&t.startDate&&null!==t&&void 0!==t&&t.endDate&&m("view")}),[null===t||void 0===t?void 0:t.startDate,null===t||void 0===t?void 0:t.endDate]),(0,e.useEffect)((function(){h.length>0&&A.current&&A.current.link.click()}),[h]);var g=(0,e.useMemo)((function(){return 0===(null===u||void 0===u?void 0:u.length)}),[u]),v=(0,e.useMemo)((function(){var e=null===u||void 0===u?void 0:u.map((function(e){return null===e||void 0===e?void 0:e.revenue}));return Math.max.apply(Math,(0,r.Z)(e))}),[u]);return(0,Kl.jsxs)("div",{className:HG.container,children:[(0,Kl.jsx)(kl.Z,{className:HG.chartTitle,children:"Checkout Method"}),a?(0,Kl.jsx)("div",{className:HG.loading,children:(0,Kl.jsx)(Gh.Z,{})}):(0,Kl.jsxs)(Kl.Fragment,{children:[g&&(0,Kl.jsx)(kl.Z,{align:"center",className:HG.noData,variant:"h6",children:"No data"}),u.map((function(e,t){return(0,Kl.jsx)($G,{method:e,maxRevenue:v},t)}))]}),(0,Kl.jsx)("div",{className:HG.download,children:(0,Kl.jsx)(zd.Z,{onClick:function(){return m("download")},variant:"contained",size:"small",className:HG.viewButton,children:"Download"})}),(0,Kl.jsx)(rG.CSVLink,{data:h,filename:"data.csv",className:"hidden",ref:A,target:"_blank",asyncOnClick:!0})]})})),XG=VG,QG={container:"revenueAndDeposits_container__074zp",netTotal:"revenueAndDeposits_netTotal__mPIl8",revenueAndVat:"revenueAndDeposits_revenueAndVat__WrMPJ",netTotalContainer:"revenueAndDeposits_netTotalContainer__plLo8",loading:"revenueAndDeposits_loading__GfKiN",title:"revenueAndDeposits_title__lEiHg",titleContent:"revenueAndDeposits_titleContent__-80KI",titleText:"revenueAndDeposits_titleText__4Awq9",subTitleText:"revenueAndDeposits_subTitleText__1yaEH",divider:"revenueAndDeposits_divider__XWG4Z",infoItem:"revenueAndDeposits_infoItem__eMIip",infoItemBarContainer:"revenueAndDeposits_infoItemBarContainer__RBUsq",infoItemBar:"revenueAndDeposits_infoItemBar__QO6DQ",amount:"revenueAndDeposits_amount__jgMQQ",infoItemTitle:"revenueAndDeposits_infoItemTitle__nxpH9",infoItemTitleText:"revenueAndDeposits_infoItemTitleText__Wfbl6",treatmentItem:"revenueAndDeposits_treatmentItem__6gMYs",treatmentItemRow:"revenueAndDeposits_treatmentItemRow__DsGQu",treatmentItemTitle:"revenueAndDeposits_treatmentItemTitle__bv4vQ",treatmentItemVat:"revenueAndDeposits_treatmentItemVat__DiuCZ",treatmentItemDescription:"revenueAndDeposits_treatmentItemDescription__6O39T",chartTitle:"revenueAndDeposits_chartTitle__ojnlB"},YG=function(){return(0,Kl.jsxs)(Gl.Z,{width:"40",height:"36",viewBox:"0 0 40 34.46",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,Kl.jsxs)("g",{clipPath:"url(#clip0_2061_2235)",children:[(0,Kl.jsx)("path",{d:"M39.8599 11.0601L21.4799 29.4402C21.3936 29.5263 21.2767 29.5747 21.1548 29.5747C21.033 29.5747 20.9161 29.5263 20.8298 29.4402L10.5399 19.1501C10.4975 19.1083 10.4639 19.0583 10.441 19.0034C10.418 18.9485 10.4062 18.8896 10.4062 18.8301C10.4063 18.7706 10.418 18.7117 10.441 18.6567C10.4639 18.6018 10.4975 18.5519 10.5399 18.51L28.9199 0.130127C29.0061 0.0440247 29.123 -0.00439453 29.2449 -0.00439453C29.3667 -0.00439453 29.4836 0.0440247 29.5699 0.130127L39.8599 10.4202C39.9407 10.5071 39.9856 10.6215 39.9856 10.7402C39.9856 10.859 39.9407 10.9731 39.8599 11.0601Z",fill:"#5CC45C"}),(0,Kl.jsx)("path",{d:"M39.8601 10.4199L37.0801 7.6499L18.0801 26.6499L20.8501 29.4199C20.9363 29.506 21.0532 29.5544 21.1751 29.5544C21.297 29.5544 21.4139 29.506 21.5001 29.4199L39.8601 11.0598C39.9409 10.9729 39.9858 10.8587 39.9858 10.74C39.9858 10.6213 39.9409 10.5069 39.8601 10.4199Z",fill:"#4EAD4E"}),(0,Kl.jsx)("path",{d:"M14.5001 20.02C14.6971 19.6543 14.8001 19.2455 14.8001 18.8301C14.8001 18.4147 14.6971 18.0059 14.5001 17.6401C14.4691 17.5963 14.4525 17.544 14.4525 17.4902C14.4525 17.4365 14.4691 17.384 14.5001 17.3401L27.7201 4.12012C27.7627 4.08604 27.8156 4.06738 27.8701 4.06738C27.9246 4.06738 27.9775 4.08604 28.0201 4.12012C28.3876 4.31707 28.7981 4.42017 29.2151 4.42017C29.6321 4.42017 30.0426 4.31707 30.4101 4.12012C30.4527 4.08604 30.5056 4.06738 30.5601 4.06738C30.6146 4.06738 30.6675 4.08604 30.7101 4.12012L35.8401 9.25024C35.8711 9.29412 35.8878 9.34643 35.8878 9.40015C35.8878 9.45387 35.8711 9.50617 35.8401 9.55005C35.6432 9.91578 35.5401 10.3249 35.5401 10.7402C35.5401 11.1556 35.6432 11.5644 35.8401 11.9302C35.8719 11.9756 35.889 12.0297 35.889 12.0852C35.889 12.1407 35.8719 12.1948 35.8401 12.2402L22.6201 25.4502C22.5776 25.4843 22.5246 25.5027 22.4701 25.5027C22.4156 25.5027 22.3627 25.4843 22.3201 25.4502C21.9526 25.2532 21.5421 25.1501 21.1251 25.1501C20.7082 25.1501 20.2976 25.2532 19.9301 25.4502C19.8875 25.4843 19.8346 25.5027 19.7801 25.5027C19.7256 25.5027 19.6727 25.4843 19.6301 25.4502L14.5001 20.3301C14.4683 20.2847 14.4512 20.2305 14.4512 20.175C14.4512 20.1196 14.4683 20.0654 14.5001 20.02Z",fill:"#A0E557"}),(0,Kl.jsx)("path",{d:"M35.9207 11.9299C35.7238 11.5642 35.6207 11.1554 35.6207 10.74C35.6207 10.3246 35.7238 9.91554 35.9207 9.5498C35.9517 9.50593 35.9683 9.45362 35.9683 9.3999C35.9683 9.34618 35.9517 9.29388 35.9207 9.25L32.9207 6.25C32.6617 6.65631 32.5241 7.12801 32.5241 7.60986C32.5241 8.09172 32.6617 8.56366 32.9207 8.96997L19.4307 22.46C19.0264 22.2006 18.5561 22.0627 18.0757 22.0627C17.5954 22.0627 17.1251 22.2006 16.7207 22.46L19.6707 25.46C19.7133 25.494 19.7662 25.5125 19.8207 25.5125C19.8753 25.5125 19.9281 25.494 19.9707 25.46C20.3382 25.263 20.7487 25.1599 21.1657 25.1599C21.5827 25.1599 21.9932 25.263 22.3607 25.46C22.4033 25.494 22.4562 25.5125 22.5107 25.5125C22.5653 25.5125 22.6181 25.494 22.6607 25.46L35.8607 12.24C35.9034 12.2021 35.9323 12.151 35.9432 12.095C35.954 12.0389 35.9461 11.981 35.9207 11.9299Z",fill:"#93CC4A"}),(0,Kl.jsx)("path",{d:"M25.2109 18.54C27.282 18.54 28.9609 16.8611 28.9609 14.79C28.9609 12.719 27.282 11.04 25.2109 11.04C23.1399 11.04 21.4609 12.719 21.4609 14.79C21.4609 16.8611 23.1399 18.54 25.2109 18.54Z",fill:"#F3E8D7"}),(0,Kl.jsx)("path",{d:"M20.7591 23.6901L26.4191 18.03C27.0691 17.38 27.3491 16.6001 26.6991 15.9501C25.6991 14.6701 21.9191 15.7001 20.1391 17.4701L17.7591 19.88C17.6276 20.0108 17.4715 20.1144 17.2999 20.1847C17.1283 20.2551 16.9446 20.2907 16.7591 20.29C16.4165 20.2548 16.0912 20.1221 15.8218 19.9076C15.5524 19.6932 15.3501 19.406 15.2391 19.08V13.88L16.1791 12.9401L17.1791 11.9401L21.2491 7.87004C19.5791 7.68004 17.9091 7.58017 17.2491 7.50017C16.9026 7.47805 16.5553 7.52875 16.2297 7.64934C15.9042 7.76992 15.6076 7.95764 15.3591 8.20012L10.1391 12.31C9.40745 12.9225 8.87767 13.7416 8.61908 14.6601C7.96548 17.1083 7.12293 19.5021 6.09906 21.82L2.28906 25.62L8.87909 32.2001L10.709 30.37C11.0466 30.0213 11.4713 29.7693 11.9391 29.6401L15.7591 28.35C16.9637 27.941 18.0234 27.1906 18.8091 26.1901L20.7591 23.6901Z",fill:"#FCD7C3"}),(0,Kl.jsx)("path",{d:"M18.8604 26.1302L20.7904 23.6903L26.4504 18.0301C27.1004 17.3801 27.3804 16.6003 26.7304 15.9503C26.4643 15.707 26.1442 15.5303 25.7966 15.4347C25.4489 15.339 25.0835 15.3272 24.7304 15.4002C23.4428 15.5197 22.2387 16.0898 21.3304 17.0101L17.7304 20.6102L15.7904 23.0601C15.0156 24.0479 13.9748 24.794 12.7904 25.2103L8.9704 26.5003C8.50298 26.6372 8.07689 26.888 7.73041 27.2303L5.90039 29.0601L8.98041 32.1402L10.8104 30.3101C11.148 29.9614 11.5726 29.7094 12.0404 29.5802L15.8604 28.2901C17.0468 27.8726 18.0882 27.1229 18.8604 26.1302Z",fill:"#FFCDAC"}),(0,Kl.jsx)("path",{d:"M7.86096 34.24L0.240967 26.6299C0.111431 26.4957 0.0390625 26.3164 0.0390625 26.1299C0.0390625 25.9434 0.111431 25.7641 0.240967 25.6299L1.58093 24.2898C1.71391 24.1579 1.89363 24.084 2.08093 24.084C2.26824 24.084 2.44795 24.1579 2.58093 24.2898L10.201 31.8999C10.3305 32.0341 10.4029 32.2134 10.4029 32.3999C10.4029 32.5864 10.3305 32.7657 10.201 32.8999L8.86096 34.24C8.72798 34.3719 8.54827 34.4458 8.36096 34.4458C8.17366 34.4458 7.99394 34.3719 7.86096 34.24Z",fill:"#464C50"}),(0,Kl.jsx)("path",{d:"M10.1902 31.8799L7.61023 29.2998L5.24023 31.6599L7.8302 34.24C7.96318 34.3719 8.1429 34.4458 8.3302 34.4458C8.5175 34.4458 8.69722 34.3719 8.8302 34.24L10.1702 32.8999C10.2387 32.8343 10.2935 32.756 10.3316 32.6692C10.3697 32.5824 10.3902 32.4888 10.392 32.394C10.3939 32.2993 10.377 32.2052 10.3424 32.1169C10.3078 32.0287 10.2561 31.9481 10.1902 31.8799Z",fill:"#33393A"}),(0,Kl.jsx)("path",{d:"M26.1999 17.8799C25.8383 17.5208 25.3494 17.3193 24.8398 17.3193C24.3303 17.3193 23.8414 17.5208 23.4799 17.8799L22.6199 18.73C22.4366 18.9169 22.334 19.1682 22.334 19.4299C22.334 19.6917 22.4366 19.943 22.6199 20.1299L23.4799 20.99L26.3998 18.0798L26.1999 17.8799Z",fill:"#EFEFEF"})]}),(0,Kl.jsx)("defs",{children:(0,Kl.jsx)("clipPath",{id:"clip0_2061_2235",children:(0,Kl.jsx)("rect",{width:"40",height:"34.46",fill:"white"})})})]})},GG=function(){return(0,Kl.jsxs)(Gl.Z,{width:"40",height:"36",viewBox:"0 0 40 34.46",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,Kl.jsxs)("g",{clipPath:"url(#clip0_2061_2246)",children:[(0,Kl.jsx)("path",{d:"M39.22 28.4502H0.780029C0.57316 28.4502 0.374794 28.368 0.228516 28.2217C0.0822372 28.0754 0 27.877 0 27.6702V26.0103H40V27.6702C40 27.877 39.9178 28.0754 39.7715 28.2217C39.6253 28.368 39.4269 28.4502 39.22 28.4502Z",fill:"#51BE26"}),(0,Kl.jsx)("path",{d:"M0.0292969 26.0103H40.0293V27.2402H0.0292969V26.0103Z",fill:"#49A61F"}),(0,Kl.jsx)("path",{d:"M0.0292969 23.5801H40.0293V26.01H0.0292969V23.5801Z",fill:"#51BE26"}),(0,Kl.jsx)("path",{d:"M0.0292969 23.5801H40.0293V24.8H0.0292969V23.5801Z",fill:"#49A61F"}),(0,Kl.jsx)("path",{d:"M40.0293 21.1399H0.0292969V0.780029C0.0292969 0.57316 0.111473 0.374794 0.257751 0.228516C0.40403 0.0822372 0.602457 0 0.809326 0H39.2493C39.4561 0 39.6546 0.0822372 39.8008 0.228516C39.9471 0.374794 40.0293 0.57316 40.0293 0.780029V21.1399Z",fill:"#7FD061"}),(0,Kl.jsx)("path",{d:"M0.0292969 21.1401H40.0293V23.5803H0.0292969V21.1401Z",fill:"#51BE26"}),(0,Kl.jsx)("path",{d:"M0.0292969 21.1401H40.0293V22.3604H0.0292969V21.1401Z",fill:"#49A61F"}),(0,Kl.jsx)("path",{d:"M38.3809 0V21.1399H40.0309V0.800049C40.0309 0.587876 39.9466 0.384404 39.7966 0.234375C39.6465 0.0843459 39.4431 0 39.2309 0H38.3809Z",fill:"#51BE26"}),(0,Kl.jsx)("path",{d:"M37.5595 6.39991V14.73C37.5586 14.9163 37.4934 15.0966 37.375 15.2405C37.2566 15.3844 37.0922 15.4832 36.9095 15.52C36.2897 15.655 35.7217 15.9651 35.2732 16.4136C34.8247 16.8621 34.5144 17.4303 34.3795 18.0501C34.343 18.2311 34.2458 18.3942 34.1039 18.5125C33.9621 18.6307 33.7841 18.6968 33.5995 18.7H6.40949C6.22363 18.6972 6.04423 18.6313 5.9007 18.5132C5.75716 18.3951 5.65802 18.2319 5.61951 18.0501C5.4857 17.4297 5.17584 16.8611 4.72711 16.4124C4.27839 15.9636 3.7098 15.6538 3.08948 15.52C2.90763 15.4815 2.74426 15.3823 2.62616 15.2388C2.50806 15.0952 2.44222 14.9158 2.43945 14.73V6.37989C2.43934 6.19892 2.50061 6.02327 2.61322 5.8816C2.72583 5.73993 2.88318 5.64083 3.05951 5.60011C3.68404 5.47351 4.25872 5.16913 4.7146 4.72389C5.17048 4.27865 5.48814 3.71147 5.62946 3.0901C5.66449 2.90654 5.76268 2.74105 5.90698 2.62233C6.05128 2.5036 6.23263 2.43897 6.41949 2.43995H33.5995C33.7832 2.44083 33.961 2.50504 34.1031 2.62159C34.2451 2.73814 34.3427 2.90006 34.3795 3.08009C34.5186 3.69962 34.8314 4.26652 35.2812 4.71461C35.7311 5.1627 36.2994 5.47346 36.9195 5.61012C37.1003 5.64894 37.2624 5.74838 37.3788 5.8921C37.4953 6.03582 37.5591 6.21495 37.5595 6.39991Z",fill:"#BFE7AD"}),(0,Kl.jsx)("path",{d:"M19.9991 15.4499C22.6943 15.4499 24.8791 13.2651 24.8791 10.5699C24.8791 7.87479 22.6943 5.68994 19.9991 5.68994C17.304 5.68994 15.1191 7.87479 15.1191 10.5699C15.1191 13.2651 17.304 15.4499 19.9991 15.4499Z",fill:"#51BE26"}),(0,Kl.jsx)("path",{d:"M20 35.4502C25.5228 35.4502 30 30.973 30 25.4502C30 19.9273 25.5228 15.4502 20 15.4502C14.4772 15.4502 10 19.9273 10 25.4502C10 30.973 14.4772 35.4502 20 35.4502Z",fill:"#FCE25C"}),(0,Kl.jsx)("path",{d:"M26.1191 17.54C27.5634 19.4658 28.2646 21.8477 28.0939 24.2488C27.9233 26.6499 26.8923 28.909 25.1902 30.6111C23.4881 32.3132 21.2291 33.3443 18.828 33.5149C16.4269 33.6855 14.0449 32.9843 12.1191 31.54C12.9788 32.6862 14.0746 33.6343 15.3326 34.3201C16.5905 35.0058 17.9811 35.4133 19.4102 35.5149C20.8393 35.6165 22.2736 35.4097 23.6158 34.9087C24.9581 34.4077 26.1771 33.6242 27.1902 32.6111C28.2033 31.598 28.9868 30.3791 29.4878 29.0369C29.9888 27.6946 30.1955 26.2602 30.0939 24.8311C29.9924 23.4019 29.5849 22.0114 28.8992 20.7534C28.2134 19.4955 27.2653 18.3997 26.1191 17.54Z",fill:"#FBD307"}),(0,Kl.jsx)("path",{d:"M19.9995 33.0101C24.1747 33.0101 27.5595 29.6254 27.5595 25.4501C27.5595 21.2749 24.1747 17.8901 19.9995 17.8901C15.8242 17.8901 12.4395 21.2749 12.4395 25.4501C12.4395 29.6254 15.8242 33.0101 19.9995 33.0101Z",fill:"#EFF3F5"}),(0,Kl.jsx)("path",{d:"M32.5203 12.3902H29.2703C29.1233 12.3713 28.9881 12.2994 28.8902 12.1881C28.7923 12.0767 28.7383 11.9335 28.7383 11.7853C28.7383 11.637 28.7923 11.4938 28.8902 11.3824C28.9881 11.2711 29.1233 11.1992 29.2703 11.1803H32.5203C32.6063 11.1692 32.6936 11.1767 32.7766 11.202C32.8595 11.2273 32.936 11.27 33.0011 11.3272C33.0662 11.3845 33.1183 11.455 33.1541 11.534C33.1898 11.613 33.2083 11.6986 33.2083 11.7853C33.2083 11.8719 33.1898 11.9577 33.1541 12.0367C33.1183 12.1157 33.0662 12.1863 33.0011 12.2435C32.936 12.3008 32.8595 12.3434 32.7766 12.3687C32.6936 12.3941 32.6063 12.4013 32.5203 12.3902Z",fill:"#51BE26"}),(0,Kl.jsx)("path",{d:"M33.3403 9.9502H29.2703C29.1233 9.93125 28.9881 9.8594 28.8902 9.74805C28.7923 9.6367 28.7383 9.4935 28.7383 9.34521C28.7383 9.19693 28.7923 9.05373 28.8902 8.94238C28.9881 8.83103 29.1233 8.75918 29.2703 8.74023H33.3403C33.4874 8.75918 33.6225 8.83103 33.7205 8.94238C33.8184 9.05373 33.8724 9.19693 33.8724 9.34521C33.8724 9.4935 33.8184 9.6367 33.7205 9.74805C33.6225 9.8594 33.4874 9.93125 33.3403 9.9502Z",fill:"#51BE26"}),(0,Kl.jsx)("path",{d:"M10.7393 12.3901H7.47931C7.33224 12.3712 7.19711 12.2993 7.09918 12.188C7.00126 12.0766 6.94727 11.9334 6.94727 11.7852C6.94727 11.6369 7.00126 11.4937 7.09918 11.3823C7.19711 11.271 7.33224 11.1991 7.47931 11.1802H10.7393C10.8864 11.1991 11.0215 11.271 11.1194 11.3823C11.2174 11.4937 11.2714 11.6369 11.2714 11.7852C11.2714 11.9334 11.2174 12.0766 11.1194 12.188C11.0215 12.2993 10.8864 12.3712 10.7393 12.3901Z",fill:"#51BE26"}),(0,Kl.jsx)("path",{d:"M10.7407 9.9502H6.67072C6.52365 9.93125 6.38851 9.8594 6.29059 9.74805C6.19266 9.6367 6.13867 9.4935 6.13867 9.34521C6.13867 9.19693 6.19266 9.05373 6.29059 8.94238C6.38851 8.83103 6.52365 8.75918 6.67072 8.74023H10.7407C10.8878 8.75918 11.0229 8.83103 11.1208 8.94238C11.2188 9.05373 11.2728 9.19693 11.2728 9.34521C11.2728 9.4935 11.2188 9.6367 11.1208 9.74805C11.0229 9.8594 10.8878 9.93125 10.7407 9.9502Z",fill:"#51BE26"}),(0,Kl.jsx)("path",{d:"M26.1505 25.4502C26.1505 25.529 26.166 25.6071 26.1961 25.6799C26.2263 25.7527 26.2705 25.8188 26.3262 25.8745C26.3819 25.9302 26.4481 25.9745 26.5209 26.0046C26.5937 26.0348 26.6717 26.0503 26.7504 26.0503H27.5405C27.5405 25.8503 27.5405 25.6502 27.5405 25.4502C27.5405 25.2502 27.5405 25.0403 27.5405 24.8403H26.7504C26.6708 24.8403 26.592 24.8562 26.5185 24.887C26.4451 24.9177 26.3785 24.9628 26.3227 25.0195C26.2668 25.0763 26.2228 25.1436 26.1933 25.2175C26.1637 25.2915 26.1491 25.3706 26.1505 25.4502Z",fill:"#595959"}),(0,Kl.jsx)("path",{d:"M20.0297 31.5905C19.8705 31.5905 19.7179 31.6535 19.6054 31.766C19.4929 31.8785 19.4297 32.0312 19.4297 32.1903V32.9803C19.6297 32.9803 19.8297 32.9803 20.0297 32.9803C20.2329 32.9906 20.4364 32.9906 20.6396 32.9803V32.2404C20.6467 32.1566 20.636 32.0724 20.6084 31.993C20.5808 31.9137 20.5368 31.8409 20.4792 31.7797C20.4217 31.7184 20.352 31.6699 20.2746 31.6373C20.1971 31.6047 20.1137 31.5888 20.0297 31.5905Z",fill:"#595959"}),(0,Kl.jsx)("path",{d:"M12.4705 26.0503H13.2605C13.4076 26.0313 13.5427 25.9595 13.6407 25.8481C13.7386 25.7368 13.7926 25.5936 13.7926 25.4453C13.7926 25.297 13.7386 25.1538 13.6407 25.0425C13.5427 24.9311 13.4076 24.8593 13.2605 24.8403H12.4705C12.4603 25.0435 12.4603 25.247 12.4705 25.4502C12.4705 25.6502 12.4705 25.8503 12.4705 26.0503Z",fill:"#595959"}),(0,Kl.jsx)("path",{d:"M20.0297 17.8802C19.8297 17.8802 19.6297 17.8802 19.4297 17.8802V18.6703C19.4486 18.8173 19.5205 18.9525 19.6318 19.0504C19.7432 19.1483 19.8864 19.2025 20.0347 19.2025C20.183 19.2025 20.3262 19.1483 20.4375 19.0504C20.5488 18.9525 20.6207 18.8173 20.6396 18.6703V17.8802C20.4364 17.87 20.2329 17.87 20.0297 17.8802Z",fill:"#595959"}),(0,Kl.jsx)("path",{d:"M22.7295 22.72C22.6745 22.6628 22.6085 22.6172 22.5354 22.5862C22.4624 22.5551 22.3839 22.5393 22.3045 22.5393C22.2252 22.5393 22.1466 22.5551 22.0736 22.5862C22.0006 22.6172 21.9345 22.6628 21.8795 22.72L20.6095 23.99V20.8101C20.5906 20.663 20.5187 20.5279 20.4073 20.4299C20.296 20.332 20.1528 20.2778 20.0045 20.2778C19.8562 20.2778 19.713 20.332 19.6017 20.4299C19.4903 20.5279 19.4185 20.663 19.3995 20.8101V24.6799C19.2585 24.7806 19.146 24.9162 19.0731 25.0735C19.0002 25.2307 18.9695 25.4044 18.9839 25.5771C18.9983 25.7499 19.0574 25.9158 19.1553 26.0588C19.2532 26.2019 19.3866 26.3169 19.5424 26.3928C19.6982 26.4688 19.8711 26.503 20.044 26.4919C20.217 26.4809 20.3841 26.4252 20.529 26.3301C20.6739 26.235 20.7917 26.1037 20.8706 25.9495C20.9496 25.7952 20.9871 25.6231 20.9795 25.45C20.9845 25.4101 20.9845 25.3699 20.9795 25.3301L22.7395 23.5701C22.7967 23.515 22.8422 23.449 22.8732 23.376C22.9043 23.303 22.9203 23.2244 22.9203 23.145C22.9203 23.0657 22.9043 22.9871 22.8732 22.9141C22.8422 22.841 22.7967 22.775 22.7395 22.72H22.7295Z",fill:"#595959"})]}),(0,Kl.jsx)("defs",{children:(0,Kl.jsx)("clipPath",{id:"clip0_2061_2246",children:(0,Kl.jsx)("rect",{width:"40",height:"35.45",fill:"white"})})})]})},KG=function(){return(0,Kl.jsxs)(Gl.Z,{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,Kl.jsxs)("g",{clipPath:"url(#clip0_2061_2269)",children:[(0,Kl.jsx)("path",{d:"M29.4998 5.81913e-05H24.2199C23.8318 -0.00333514 23.457 0.141792 23.1726 0.40582C22.8881 0.669848 22.7154 1.0327 22.6898 1.41998C22.679 1.62228 22.7095 1.82459 22.7795 2.01471C22.8495 2.20482 22.9575 2.37875 23.0969 2.52569C23.2364 2.67264 23.4043 2.78961 23.5905 2.86944C23.7767 2.94927 23.9773 2.99034 24.1799 2.99005H25.1799C25.2203 2.99051 25.2596 3.00316 25.2927 3.02643C25.3257 3.0497 25.351 3.08252 25.3651 3.12042C25.3791 3.15832 25.3814 3.19962 25.3715 3.23883C25.3617 3.27804 25.3402 3.31316 25.3099 3.3399L20.3099 8.01007C20.2187 8.09023 20.1013 8.13434 19.9799 8.13434C19.8584 8.13434 19.7411 8.09023 19.6499 8.01007L16.6499 5.49005C16.3663 5.2535 16.0055 5.12972 15.6365 5.14264C15.2675 5.15555 14.9162 5.30408 14.6499 5.55987L9.51986 10.43C9.2647 10.7102 9.12506 11.0764 9.12899 11.4554C9.13291 11.8343 9.28013 12.1979 9.54104 12.4727C9.80194 12.7476 10.1572 12.9135 10.5354 12.9371C10.9136 12.9607 11.2868 12.8402 11.5799 12.5999L15.4199 8.95001C15.5136 8.87103 15.6323 8.82769 15.7548 8.82769C15.8774 8.82769 15.9961 8.87103 16.0899 8.95001L19.0899 11.45C19.37 11.6913 19.7299 11.8198 20.0995 11.8106C20.4691 11.8014 20.8221 11.655 21.0899 11.4L27.7399 5.24005C27.7678 5.21264 27.8032 5.19407 27.8416 5.18658C27.8801 5.17909 27.9198 5.18291 27.956 5.19781C27.9922 5.21272 28.0233 5.23795 28.0453 5.27032C28.0673 5.3027 28.0793 5.3408 28.0799 5.37994V6.77008C28.0763 7.15922 28.2212 7.535 28.485 7.8211C28.7488 8.1072 29.1117 8.28191 29.4998 8.30987C29.7026 8.31935 29.9053 8.28774 30.0954 8.21661C30.2856 8.14548 30.4593 8.03654 30.6061 7.8963C30.7529 7.75606 30.8696 7.5874 30.9494 7.40069C31.0291 7.21399 31.0701 7.01289 31.0698 6.80987V1.49005C31.0672 1.09396 30.9081 0.714995 30.627 0.435849C30.346 0.156704 29.9659 4.93891e-05 29.5698 5.81913e-05H29.4998Z",fill:"#FF7E92"}),(0,Kl.jsx)("path",{d:"M24.8093 20.53V18.53C24.8093 18.103 24.6397 17.6935 24.3378 17.3916C24.0358 17.0897 23.6263 16.9199 23.1993 16.9199H18.0293C17.1393 16.9199 16.0293 17.64 16.0293 18.53L16.4293 20.9299L24.8093 20.53Z",fill:"#FFD05B"}),(0,Kl.jsx)("path",{d:"M17.2892 20.5303C17.2004 20.5303 17.1125 20.5126 17.0305 20.4783C16.9486 20.444 16.8742 20.3936 16.8119 20.3303C16.7495 20.267 16.7004 20.1921 16.6674 20.1096C16.6343 20.0272 16.6179 19.9389 16.6193 19.8501V18.5203C16.6193 18.0933 16.7889 17.6838 17.0908 17.3818C17.3928 17.0799 17.8022 16.9102 18.2292 16.9102H16.8093C16.3823 16.9102 15.9727 17.0799 15.6708 17.3818C15.3688 17.6838 15.1992 18.0933 15.1992 18.5203V23.7803H24.8093V20.5303H17.2892Z",fill:"#FFAA5A"}),(0,Kl.jsx)("path",{d:"M3.34009 29.1299H2.77008C2.30688 29.119 1.85538 29.2762 1.49884 29.5721C1.1423 29.868 0.904759 30.2828 0.830078 30.74L0.940063 38.3899C0.977974 38.8337 1.18273 39.2467 1.51306 39.5455C1.84339 39.8442 2.27474 40.0067 2.72009 40H3.78009C4.67009 40 4.13007 39.4201 4.13007 38.5301V37.0501C4.13007 36.1601 4.20012 29.1299 3.31012 29.1299H3.34009Z",fill:"#FFD05B"}),(0,Kl.jsx)("path",{d:"M8.02954 29.1299H3.36957V32.1299C3.36957 32.3076 3.29893 32.4781 3.17328 32.6038C3.04763 32.7294 2.87722 32.8 2.69952 32.8H2.02954C1.85185 32.8 1.68144 32.7294 1.55579 32.6038C1.43014 32.4781 1.35956 32.3076 1.35956 32.1299V30.79C1.35956 30.363 1.52918 29.9535 1.83112 29.6516C2.13305 29.3497 2.54254 29.1799 2.96954 29.1799H1.62952C1.20252 29.1799 0.793022 29.3497 0.491089 29.6516C0.189155 29.9535 0.0195312 30.363 0.0195312 30.79V38.4399C0.0195312 38.8669 0.189155 39.2764 0.491089 39.5784C0.793022 39.8803 1.20252 40.05 1.62952 40.05H2.96954C2.54254 40.05 2.13305 39.8803 1.83112 39.5784C1.52918 39.2764 1.35956 38.8669 1.35956 38.4399C1.35823 38.3459 1.37562 38.2523 1.41071 38.165C1.44579 38.0777 1.49784 37.9984 1.5639 37.9314C1.62997 37.8644 1.70873 37.8112 1.79553 37.7749C1.88233 37.7386 1.97543 37.72 2.06952 37.72H2.64954C2.74362 37.72 2.83678 37.7386 2.92358 37.7749C3.01038 37.8112 3.08909 37.8644 3.15515 37.9314C3.22121 37.9984 3.27332 38.0777 3.30841 38.165C3.3435 38.2523 3.36088 38.3459 3.35956 38.4399C3.36074 39.0061 3.51261 39.5619 3.79956 40.05H8.02954C8.45654 40.05 8.86604 39.8803 9.16797 39.5784C9.4699 39.2764 9.63953 38.8669 9.63953 38.4399V30.79C9.63953 30.363 9.4699 29.9535 9.16797 29.6516C8.86604 29.3497 8.45654 29.1799 8.02954 29.1799V29.1299ZM2.69952 36.3699H2.02954C1.85185 36.3699 1.68144 36.2992 1.55579 36.1736C1.43014 36.0479 1.35956 35.8776 1.35956 35.7V34.76C1.35956 34.5717 1.43435 34.391 1.5675 34.2578C1.70066 34.1247 1.88122 34.05 2.06952 34.05H2.64954C2.83784 34.05 3.01846 34.1247 3.15161 34.2578C3.28476 34.391 3.35956 34.5717 3.35956 34.76V35.7C3.3596 35.7896 3.34162 35.8783 3.3067 35.9609C3.27179 36.0436 3.22066 36.1184 3.15631 36.1809C3.09196 36.2434 3.01568 36.2922 2.93207 36.3247C2.84846 36.3572 2.75921 36.3726 2.66956 36.3699H2.69952Z",fill:"#FFAA5A"}),(0,Kl.jsx)("path",{d:"M29.2195 40.0002H9.62946C8.73946 40.0002 9.02948 39.2801 9.02948 38.3901L6.84949 35.7202L5.93945 31.8501L6.84949 27.0901L9.1795 24.4202C9.1795 23.5302 8.73946 22.8101 9.62946 22.8101H28.7795C29.6695 22.8101 29.5395 23.5302 29.5395 24.4202V38.4202C29.5395 39.3102 30.1095 40.0303 29.2195 40.0303V40.0002Z",fill:"#8CEEA1"}),(0,Kl.jsx)("path",{d:"M6.84961 35.72V27.0898L5.84961 26.54L4.84961 27.49V35.3198L5.84961 36.1799L6.84961 35.72Z",fill:"#4CE1A1"}),(0,Kl.jsx)("path",{d:"M9.63013 22.8101H8.22015C7.78766 22.8073 7.37138 22.9746 7.06091 23.2757C6.75045 23.5768 6.57066 23.9878 6.56018 24.4202L6.16016 25.8702C6.83016 25.8702 6.27016 27.3501 6.85016 27.0901C7.67807 26.7223 8.38141 26.1223 8.87488 25.3626C9.36835 24.6028 9.63072 23.716 9.63013 22.8101Z",fill:"#3AC988"}),(0,Kl.jsx)("path",{d:"M7.02985 39.7902L8.22986 40.0001H9.64984C9.65169 39.0939 9.38986 38.2066 8.89624 37.4467C8.40262 36.6867 7.69855 36.0869 6.86987 35.7201C6.28987 35.4601 6.76984 36.62 6.08984 36.62L6.24982 38.39C6.22982 39.28 6.11985 39.7902 7.02985 39.7902Z",fill:"#3AC988"}),(0,Kl.jsx)("path",{d:"M4.94924 27.4902C5.60324 27.488 6.24988 27.3517 6.84927 27.0901V24.4202C6.84927 23.9932 7.01889 23.5837 7.32082 23.2817C7.62276 22.9798 8.03225 22.8101 8.45925 22.8101H6.55929C6.27031 22.8097 5.98662 22.8877 5.73836 23.0356C5.49011 23.1835 5.28652 23.3959 5.14925 23.6501C5.01673 23.885 4.94778 24.1505 4.94924 24.4202V27.4902Z",fill:"#2FB273"}),(0,Kl.jsx)("path",{d:"M20.0002 35.6699C22.353 35.6699 24.2602 33.7626 24.2602 31.4099C24.2602 29.0572 22.353 27.1499 20.0002 27.1499C17.6475 27.1499 15.7402 29.0572 15.7402 31.4099C15.7402 33.7626 17.6475 35.6699 20.0002 35.6699Z",fill:"#3AC988"}),(0,Kl.jsx)("path",{d:"M32.3493 39.5403V22.8101H28.7793V38.3901C28.7805 38.9563 28.9323 39.5121 29.2193 40.0002H32.3493V39.5403Z",fill:"#4CE1A1"}),(0,Kl.jsx)("path",{d:"M38.3893 11.0202H33.2893C32.8461 11.0139 32.4171 11.1768 32.09 11.476C31.7629 11.7752 31.5624 12.188 31.5293 12.6301V38.3901C31.5319 38.818 31.7038 39.2276 32.0073 39.5292C32.3108 39.8309 32.7214 40.0002 33.1493 40.0002H38.3893C38.8163 40.0002 39.2258 39.8304 39.5277 39.5285C39.8296 39.2266 39.9993 38.8171 39.9993 38.3901V37.7902L38.9993 37.1701L39.9993 36.3701V34.1701L38.8593 33.5002L39.9993 32.7502V30.5102L38.9993 29.82L39.9993 29.1301V26.9301L38.8193 26.32L39.9993 25.5502V23.31L39.3093 22.7302L39.9993 21.9301V19.6901L39.3093 19.1701L39.9993 18.31V16.07L39.5493 15.59L39.9993 14.6801V12.6801C39.9993 12.2531 39.8296 11.8436 39.5277 11.5417C39.2258 11.2397 38.8163 11.07 38.3893 11.07V11.0202Z",fill:"#FFD05B"}),(0,Kl.jsx)("path",{d:"M32.4399 16.03H40.0299V14.6399H32.5199C32.4311 14.6412 32.3429 14.6249 32.2604 14.5918C32.178 14.5587 32.103 14.5096 32.0397 14.4473C31.9764 14.3849 31.9261 14.3107 31.8918 14.2288C31.8576 14.1468 31.8399 14.0588 31.8399 13.97V12.6299C31.8399 12.2029 32.0095 11.7934 32.3115 11.4915C32.6134 11.1895 33.0229 11.02 33.4499 11.02H32.0299C31.6029 11.02 31.1934 11.1895 30.8915 11.4915C30.5895 11.7934 30.4199 12.2029 30.4199 12.6299V38.3899C30.4199 38.8169 30.5895 39.2264 30.8915 39.5283C31.1934 39.8303 31.6029 40 32.0299 40H33.4399C33.0129 40 32.6034 39.8303 32.3015 39.5283C31.9995 39.2264 31.8299 38.8169 31.8299 38.3899C31.8299 38.2308 31.8931 38.0781 32.0056 37.9656C32.1181 37.8531 32.2708 37.79 32.4299 37.79H40.0299V36.3699H32.5099C32.3322 36.3699 32.1618 36.2992 32.0361 36.1736C31.9105 36.0479 31.8399 35.8776 31.8399 35.7V34.76C31.8399 34.6817 31.8555 34.604 31.8857 34.5317C31.916 34.4595 31.9604 34.394 32.0162 34.3391C32.0721 34.2842 32.1383 34.241 32.2111 34.2119C32.2838 34.1829 32.3616 34.1686 32.4399 34.1699H40.0299V32.75H32.5199C32.4311 32.7513 32.3429 32.735 32.2604 32.7019C32.178 32.6688 32.103 32.6197 32.0397 32.5574C31.9764 32.495 31.9261 32.4206 31.8918 32.3386C31.8576 32.2567 31.8399 32.1687 31.8399 32.0798V31.1399C31.8399 30.9728 31.9063 30.8125 32.0244 30.6943C32.1426 30.5762 32.3028 30.51 32.4699 30.51H40.0299V29.1299H32.5199C32.4311 29.1312 32.3429 29.1149 32.2604 29.0818C32.178 29.0487 32.103 28.9996 32.0397 28.9373C31.9764 28.8749 31.9261 28.8007 31.8918 28.7188C31.8576 28.6368 31.8399 28.5488 31.8399 28.46V27.52C31.8399 27.3529 31.9063 27.1926 32.0244 27.0745C32.1426 26.9563 32.3028 26.8899 32.4699 26.8899H40.0299V25.51H32.5199C32.4311 25.5113 32.3429 25.495 32.2604 25.4619C32.178 25.4288 32.103 25.3797 32.0397 25.3174C31.9764 25.255 31.9261 25.1806 31.8918 25.0986C31.8576 25.0167 31.8399 24.9287 31.8399 24.8398V23.9299C31.8399 23.7628 31.9063 23.6025 32.0244 23.4844C32.1426 23.3662 32.3028 23.3 32.4699 23.3H40.0299V21.9299H31.8399V20.3198C31.8399 20.2371 31.8562 20.1553 31.8879 20.0789C31.9195 20.0024 31.9659 19.933 32.0244 19.8745C32.0829 19.816 32.1524 19.7695 32.2288 19.7378C32.3053 19.7061 32.3872 19.6899 32.4699 19.6899H40.0299V18.3098H32.5199C32.3396 18.3098 32.1666 18.2384 32.0391 18.1108C31.9115 17.9833 31.8399 17.8102 31.8399 17.6299V16.7C31.8399 16.5329 31.9063 16.3725 32.0244 16.2544C32.1426 16.1362 32.3028 16.0698 32.4699 16.0698L32.4399 16.03Z",fill:"#FFAA5A"}),(0,Kl.jsx)("path",{d:"M4.94925 35.3199C5.60376 35.3171 6.25142 35.4536 6.84927 35.72V38.3899C6.84927 38.8169 7.01889 39.2264 7.32083 39.5284C7.62276 39.8303 8.03226 40 8.45925 40H6.55929C6.26907 40.0005 5.98423 39.9216 5.73568 39.7718C5.48713 39.6219 5.28433 39.4068 5.14926 39.1499C5.01668 38.9187 4.94766 38.6565 4.94925 38.3899V35.3199Z",fill:"#2FB273"})]}),(0,Kl.jsx)("defs",{children:(0,Kl.jsx)("clipPath",{id:"clip0_2061_2269",children:(0,Kl.jsx)("rect",{width:"40",height:"40",fill:"white"})})})]})},JG=function(){return(0,Kl.jsxs)(Gl.Z,{width:"40",height:"406",viewBox:"0 0 40 34.46",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,Kl.jsxs)("g",{clipPath:"url(#clip0_2062_2303)",children:[(0,Kl.jsx)("path",{d:"M31.87 36.75H3.26001C2.39713 36.75 1.56946 36.408 0.958374 35.7988C0.347292 35.1896 0.00264686 34.3629 0 33.5V6.98975C0.00264686 6.12687 0.347292 5.30061 0.958374 4.69141C1.56946 4.0822 2.39713 3.73974 3.26001 3.73975H31.87C32.7329 3.73974 33.5605 4.0822 34.1716 4.69141C34.7827 5.30061 35.1274 6.12687 35.13 6.98975V33.5C35.1274 34.3629 34.7827 35.1896 34.1716 35.7988C33.5605 36.408 32.7329 36.75 31.87 36.75Z",fill:"#DDF5FF"}),(0,Kl.jsx)("path",{d:"M31.8694 3.73975H29.4395C30.3006 3.74238 31.1257 4.0859 31.7346 4.69482C32.3435 5.30375 32.6868 6.1286 32.6895 6.98975V33.5C32.6868 34.3611 32.3435 35.186 31.7346 35.7949C31.1257 36.4038 30.3006 36.7474 29.4395 36.75H31.8694C32.7323 36.75 33.56 36.408 34.1711 35.7988C34.7822 35.1896 35.1268 34.3629 35.1295 33.5V6.98975C35.1268 6.12687 34.7822 5.30061 34.1711 4.69141C33.56 4.0822 32.7323 3.73974 31.8694 3.73975Z",fill:"#C1E9F4"}),(0,Kl.jsx)("path",{d:"M31.87 3.73975H3.26001C2.39713 3.73974 1.56946 4.0822 0.958374 4.69141C0.347292 5.30061 0.00264686 6.12687 0 6.98975V10.6899H35.13V7.02979C35.134 6.59916 35.0526 6.17194 34.8905 5.77295C34.7284 5.37396 34.489 5.01147 34.1859 4.70557C33.8827 4.39966 33.522 4.15643 33.1245 3.99072C32.727 3.82502 32.3006 3.73973 31.87 3.73975Z",fill:"#BCE8F1"}),(0,Kl.jsx)("path",{d:"M31.8694 3.73975H29.4395C30.3006 3.74238 31.1257 4.0859 31.7346 4.69482C32.3435 5.30375 32.6868 6.1286 32.6895 6.98975V10.6899H35.1295V7.02979C35.1334 6.59916 35.052 6.17194 34.89 5.77295C34.7279 5.37396 34.4884 5.01147 34.1853 4.70557C33.8822 4.39966 33.5215 4.15643 33.124 3.99072C32.7265 3.82502 32.3001 3.73973 31.8694 3.73975Z",fill:"#93DCFC"}),(0,Kl.jsx)("path",{d:"M7.24023 7.47998C6.7098 7.47998 6.20112 7.26912 5.82605 6.89404C5.45098 6.51897 5.24023 6.01041 5.24023 5.47998V2.06006C5.24023 1.52167 5.45414 1.00521 5.83484 0.624512C6.21554 0.243813 6.73187 0.0297852 7.27026 0.0297852C7.80865 0.0297852 8.32499 0.243813 8.70569 0.624512C9.08639 1.00521 9.30023 1.52167 9.30023 2.06006V5.47998C9.30035 5.74775 9.2467 6.01263 9.14246 6.25928C9.03822 6.50592 8.88554 6.72949 8.69342 6.91602C8.5013 7.10254 8.27367 7.24831 8.02405 7.34521C7.77443 7.44212 7.50788 7.48801 7.24023 7.47998Z",fill:"#DDF5FF"}),(0,Kl.jsx)("path",{d:"M7.24078 1.4443e-05C7.00552 -0.0008809 6.77193 0.039859 6.55078 0.120132C6.94591 0.258235 7.2878 0.516734 7.5282 0.859389C7.76859 1.20204 7.89541 1.61125 7.89081 2.0298V5.44972C7.89541 5.86827 7.76859 6.27796 7.5282 6.62062C7.2878 6.96327 6.94591 7.22177 6.55078 7.35988C6.77193 7.44015 7.00552 7.48089 7.24078 7.47999C7.77122 7.47999 8.27996 7.26913 8.65503 6.89406C9.0301 6.51898 9.24078 6.01043 9.24078 5.47999V2.06007C9.24882 1.79242 9.20305 1.526 9.10614 1.27638C9.00923 1.02676 8.86316 0.799067 8.67664 0.606948C8.49011 0.414829 8.26691 0.26197 8.02026 0.157729C7.77362 0.0534887 7.50855 -0.000106081 7.24078 1.4443e-05Z",fill:"#C1E9F4"}),(0,Kl.jsx)("path",{d:"M27.8906 7.47998C27.3602 7.47998 26.8515 7.26912 26.4764 6.89404C26.1013 6.51897 25.8906 6.01041 25.8906 5.47998V2.06006C25.8906 1.52167 26.1045 1.00521 26.4852 0.624512C26.8659 0.243813 27.3822 0.0297852 27.9206 0.0297852C28.459 0.0297852 28.9753 0.243813 29.356 0.624512C29.7367 1.00521 29.9506 1.52167 29.9506 2.06006V5.47998C29.9507 5.74775 29.8971 6.01263 29.7928 6.25928C29.6886 6.50592 29.5359 6.72949 29.3438 6.91602C29.1516 7.10254 28.9241 7.24831 28.6744 7.34521C28.4248 7.44212 28.1583 7.48801 27.8906 7.47998Z",fill:"#DDF5FF"}),(0,Kl.jsx)("path",{d:"M27.8892 1.4443e-05C27.654 -0.0008809 27.4204 0.039859 27.1992 0.120132C27.5944 0.258235 27.9362 0.516734 28.1766 0.859389C28.417 1.20204 28.5438 1.61125 28.5392 2.0298V5.44972C28.5438 5.86827 28.417 6.27796 28.1766 6.62062C27.9362 6.96327 27.5944 7.22177 27.1992 7.35988C27.4204 7.44015 27.654 7.48089 27.8892 7.47999C28.4197 7.47999 28.9283 7.26913 29.3034 6.89406C29.6785 6.51898 29.8892 6.01043 29.8892 5.47999V2.06007C29.8973 1.79242 29.8514 1.526 29.7545 1.27638C29.6576 1.02676 29.5116 0.799067 29.3251 0.606948C29.1385 0.414829 28.9153 0.26197 28.6687 0.157729C28.4221 0.0534887 28.157 -0.000106081 27.8892 1.4443e-05Z",fill:"#C1E9F4"}),(0,Kl.jsx)("path",{d:"M30.0793 13.7397C30.0793 13.578 30.015 13.423 29.9006 13.3086C29.7862 13.1942 29.6311 13.1299 29.4693 13.1299H4.63928C4.4775 13.1299 4.32234 13.1942 4.20795 13.3086C4.09355 13.423 4.0293 13.578 4.0293 13.7397V32.3599C4.0293 32.5216 4.09355 32.6771 4.20795 32.7915C4.32234 32.9059 4.4775 32.9697 4.63928 32.9697H13.4993C13.5794 32.9697 13.6587 32.954 13.7327 32.9233C13.8067 32.8927 13.874 32.8481 13.9306 32.7915C13.9872 32.7349 14.0322 32.6673 14.0629 32.5933C14.0935 32.5193 14.1093 32.44 14.1093 32.3599C14.1093 32.2798 14.0935 32.2005 14.0629 32.1265C14.0322 32.0525 13.9872 31.9854 13.9306 31.9287C13.874 31.8721 13.8067 31.827 13.7327 31.7964C13.6587 31.7657 13.5794 31.75 13.4993 31.75H11.4993V26.75H13.4993C13.661 26.75 13.8162 26.6857 13.9306 26.5713C14.045 26.4569 14.1093 26.3019 14.1093 26.1401C14.1093 25.9784 14.045 25.8229 13.9306 25.7085C13.8162 25.5941 13.661 25.5298 13.4993 25.5298H11.4993V20.5298H16.4993V25.02C16.4993 25.1818 16.5635 25.3368 16.6779 25.4512C16.7923 25.5656 16.9475 25.6299 17.1093 25.6299C17.271 25.6299 17.4262 25.5656 17.5406 25.4512C17.655 25.3368 17.7193 25.1818 17.7193 25.02V20.5298H22.7193V25.02C22.7193 25.1818 22.7836 25.3368 22.8979 25.4512C23.0123 25.5656 23.1675 25.6299 23.3293 25.6299C23.4911 25.6299 23.6462 25.5656 23.7606 25.4512C23.875 25.3368 23.9393 25.1818 23.9393 25.02V20.5298H28.9393V25.02C28.9393 25.1818 29.0035 25.3368 29.1179 25.4512C29.2323 25.5656 29.3875 25.6299 29.5493 25.6299C29.711 25.6299 29.8662 25.5656 29.9806 25.4512C30.095 25.3368 30.1592 25.1818 30.1592 25.02V13.8301C30.1371 13.7963 30.1102 13.7656 30.0793 13.7397ZM5.24927 14.3501H10.2493V19.3501H5.24927V14.3501ZM10.2493 31.75H5.24927V26.75H10.2493V31.75ZM10.2493 25.54H5.24927V20.54H10.2493V25.54ZM11.4693 19.3398V14.3398H16.4693V19.3398H11.4693ZM17.6793 19.3398V14.3398H22.6793V19.3398H17.6793ZM23.8893 19.3398V14.3398H28.8893V19.3398H23.8893Z",fill:"#495959"}),(0,Kl.jsx)("path",{d:"M21.0394 16.8701L22.0394 15.8701C22.1487 15.7597 22.21 15.6105 22.21 15.4551C22.21 15.2997 22.1487 15.1505 22.0394 15.04C21.9862 14.985 21.9226 14.941 21.8521 14.9111C21.7817 14.8812 21.7059 14.8657 21.6294 14.8657C21.5529 14.8657 21.4771 14.8812 21.4067 14.9111C21.3362 14.941 21.2726 14.985 21.2194 15.04L20.2194 16.04L19.2194 15.04C19.1061 14.9479 18.9627 14.9007 18.8169 14.9082C18.6711 14.9157 18.5332 14.9773 18.4299 15.0806C18.3267 15.1838 18.2654 15.3215 18.2579 15.4673C18.2504 15.6131 18.2973 15.7568 18.3894 15.8701L19.3894 16.8701L18.3894 17.8701C18.2801 17.9806 18.2187 18.1298 18.2188 18.2852C18.2187 18.4406 18.2801 18.5892 18.3894 18.6997C18.4993 18.8067 18.646 18.8679 18.7994 18.8701C18.9556 18.8675 19.1053 18.8065 19.2194 18.6997L20.2194 17.6997L21.2194 18.6997C21.2739 18.7535 21.3385 18.7963 21.4094 18.8252C21.4804 18.8541 21.5563 18.8686 21.6329 18.8682C21.7095 18.8677 21.7853 18.8525 21.8559 18.8228C21.9265 18.793 21.9905 18.7493 22.0444 18.6948C22.0982 18.6403 22.1408 18.5758 22.1697 18.5049C22.1986 18.4339 22.2132 18.3579 22.2128 18.2812C22.2123 18.2046 22.1967 18.1292 22.167 18.0586C22.1372 17.988 22.0939 17.924 22.0394 17.8701L21.0394 16.8701Z",fill:"#E5646E"}),(0,Kl.jsx)("path",{d:"M14.31 25.04C14.0952 25.04 13.8891 25.1254 13.7372 25.2773C13.5853 25.4292 13.5 25.6353 13.5 25.8501V39.1899C13.5 39.4048 13.5853 39.6108 13.7372 39.7627C13.8891 39.9146 14.0952 40 14.31 40H39.19C39.4048 40 39.6109 39.9146 39.7628 39.7627C39.9147 39.6108 40 39.4048 40 39.1899V25.8501C40 25.6353 39.9147 25.4292 39.7628 25.2773C39.6109 25.1254 39.4048 25.04 39.19 25.04H14.31Z",fill:"#ABDE97"}),(0,Kl.jsx)("path",{d:"M38.6191 25.04V40.04H39.1891C39.404 40.04 39.61 39.9546 39.7619 39.8027C39.9138 39.6508 39.9991 39.4448 39.9991 39.23V25.8901C39.9991 25.6753 39.9138 25.4693 39.7619 25.3174C39.61 25.1655 39.404 25.0801 39.1891 25.0801L38.6191 25.04Z",fill:"#82CD64"}),(0,Kl.jsx)("path",{d:"M26.7506 37.48H18.7506C18.5783 37.4792 18.4108 37.4233 18.2723 37.3208C18.1339 37.2183 18.0316 37.0747 17.9806 36.9102C17.8796 36.6109 17.7092 36.3394 17.4832 36.1187C17.2573 35.8979 16.9822 35.7341 16.6806 35.6402C16.5225 35.5858 16.3853 35.483 16.2885 35.3467C16.1916 35.2104 16.1399 35.0471 16.1406 34.8799V30.25C16.1429 30.0781 16.1992 29.9111 16.3015 29.773C16.4037 29.6348 16.5469 29.5324 16.7106 29.48C17.0089 29.38 17.2793 29.211 17.4999 28.9868C17.7206 28.7627 17.8853 28.4897 17.9806 28.19C18.0351 28.0291 18.1388 27.8897 18.277 27.791C18.4152 27.6923 18.5808 27.6396 18.7506 27.6402H34.6706C34.8418 27.639 35.009 27.6909 35.1489 27.7896C35.2887 27.8882 35.3943 28.0283 35.4506 28.19C35.545 28.4886 35.7082 28.7608 35.927 28.9849C36.1459 29.2089 36.4143 29.3787 36.7106 29.48C36.876 29.5296 37.0209 29.6313 37.1236 29.77C37.2263 29.9088 37.2815 30.0773 37.2806 30.25V34.8799C37.2829 35.0475 37.2318 35.2115 37.1347 35.3482C37.0376 35.4848 36.8996 35.5871 36.7406 35.6402C36.4409 35.7355 36.1679 35.9 35.9437 36.1206C35.7196 36.3413 35.5506 36.612 35.4506 36.9102C35.3964 37.0747 35.292 37.2181 35.1521 37.3203C35.0122 37.4226 34.8438 37.4783 34.6706 37.48H26.7506Z",fill:"#6DC54A"}),(0,Kl.jsx)("path",{d:"M36.1498 30.4199C36.1777 30.4335 36.2011 30.4548 36.2171 30.4815C36.2331 30.5081 36.2409 30.5388 36.2397 30.5698V34.5698C36.239 34.5992 36.2303 34.6277 36.2144 34.6524C36.1985 34.6771 36.1762 34.6971 36.1498 34.71C35.4284 35.0181 34.8523 35.5907 34.5397 36.3101C34.5295 36.3391 34.5106 36.364 34.4855 36.3819C34.4605 36.3997 34.4306 36.4099 34.3998 36.4102H17.7598C17.8704 36.5668 17.958 36.7384 18.0198 36.9199C18.0708 37.0845 18.173 37.2286 18.3115 37.3311C18.4499 37.4336 18.6175 37.489 18.7897 37.4898H34.7098C34.883 37.488 35.0513 37.4323 35.1912 37.3301C35.3311 37.2279 35.4355 37.0845 35.4897 36.9199C35.5898 36.6217 35.7587 36.3515 35.9828 36.1309C36.207 35.9102 36.48 35.7453 36.7798 35.6499C36.9388 35.5969 37.0768 35.4945 37.1738 35.3579C37.2709 35.2213 37.322 35.0577 37.3198 34.8902V30.2598C37.3206 30.0871 37.2655 29.9191 37.1628 29.7803C37.06 29.6415 36.9151 29.5394 36.7498 29.4898C36.4534 29.3884 36.185 29.2192 35.9661 28.9951C35.7473 28.7711 35.5841 28.4984 35.4897 28.1997C35.4334 28.0381 35.3279 27.8985 35.188 27.7998C35.0482 27.7012 34.8809 27.6487 34.7098 27.6499H34.4998V27.8999C34.4998 28.4349 34.656 28.9582 34.949 29.4058C35.2421 29.8534 35.6594 30.2059 36.1498 30.4199Z",fill:"#5DB33A"}),(0,Kl.jsx)("path",{d:"M30.1594 31.9399H29.7394C29.7394 31.1443 29.4234 30.3815 28.8608 29.8188C28.2982 29.2562 27.5351 28.9399 26.7394 28.9399C25.9438 28.9399 25.1807 29.2562 24.6181 29.8188C24.0555 30.3815 23.7394 31.1443 23.7394 31.9399H23.2994C23.1385 31.9425 22.9848 32.0077 22.871 32.1216C22.7571 32.2354 22.692 32.3888 22.6895 32.5498C22.6895 32.6299 22.7052 32.7092 22.7359 32.7832C22.7666 32.8572 22.8115 32.9248 22.8681 32.9814C22.9247 33.0381 22.992 33.0826 23.066 33.1133C23.14 33.1439 23.2193 33.1602 23.2994 33.1602H23.7294C23.8581 33.862 24.2288 34.4963 24.7769 34.9531C25.325 35.4099 26.0159 35.6602 26.7294 35.6602C27.4429 35.6602 28.1339 35.4099 28.682 34.9531C29.2301 34.4963 29.6008 33.862 29.7294 33.1602H30.1495C30.3113 33.1602 30.4664 33.0958 30.5808 32.9814C30.6952 32.867 30.7595 32.7116 30.7595 32.5498C30.7595 32.3897 30.6966 32.2362 30.5844 32.1221C30.4721 32.008 30.3195 31.9426 30.1594 31.9399ZM26.7495 34.3799C26.2641 34.3799 25.7986 34.1869 25.4554 33.8438C25.1123 33.5006 24.9194 33.0352 24.9194 32.5498C24.9141 32.5033 24.9141 32.4567 24.9194 32.4102C24.9536 31.9495 25.1607 31.5184 25.4991 31.2041C25.8376 30.8898 26.2825 30.7153 26.7444 30.7153C27.2064 30.7153 27.6513 30.8898 27.9897 31.2041C28.3282 31.5184 28.5353 31.9495 28.5695 32.4102V32.5498C28.5695 33.0334 28.378 33.4974 28.037 33.8403C27.696 34.1832 27.2331 34.3772 26.7495 34.3799Z",fill:"#5DB33A"}),(0,Kl.jsx)("path",{d:"M34.2897 31.9399H32.2897C32.1279 31.9399 31.9727 32.0043 31.8583 32.1187C31.7439 32.233 31.6797 32.388 31.6797 32.5498C31.6797 32.7116 31.7439 32.867 31.8583 32.9814C31.9727 33.0958 32.1279 33.1602 32.2897 33.1602H34.2897C34.3698 33.1602 34.4491 33.1439 34.5231 33.1133C34.5971 33.0826 34.6644 33.0381 34.721 32.9814C34.7777 32.9248 34.8226 32.8572 34.8533 32.7832C34.8839 32.7092 34.8997 32.6299 34.8997 32.5498C34.8997 32.4697 34.8839 32.3904 34.8533 32.3164C34.8226 32.2424 34.7777 32.1753 34.721 32.1187C34.6644 32.062 34.5971 32.017 34.5231 31.9863C34.4491 31.9557 34.3698 31.9399 34.2897 31.9399Z",fill:"#5DB33A"}),(0,Kl.jsx)("path",{d:"M21.2596 31.9399H19.2097C19.0479 31.9399 18.8927 32.0043 18.7783 32.1187C18.6639 32.233 18.5996 32.388 18.5996 32.5498C18.5996 32.7116 18.6639 32.867 18.7783 32.9814C18.8927 33.0958 19.0479 33.1602 19.2097 33.1602H21.2596C21.4214 33.1602 21.5766 33.0958 21.691 32.9814C21.8054 32.867 21.8696 32.7116 21.8696 32.5498C21.8671 32.3888 21.802 32.2354 21.6881 32.1216C21.5743 32.0077 21.4206 31.9425 21.2596 31.9399Z",fill:"#5DB33A"})]}),(0,Kl.jsx)("defs",{children:(0,Kl.jsx)("clipPath",{id:"clip0_2062_2303",children:(0,Kl.jsx)("rect",{width:"40",height:"40",fill:"white"})})})]})},eK={checkouts:{title:"In clinic",icon:(0,Kl.jsx)(YG,{})},deposits:{title:"Deposits (Prior Appointment)",icon:(0,Kl.jsx)(GG,{})},revenue:{icon:(0,Kl.jsx)(KG,{}),title:"Total revenue"},futureDeposits:{icon:(0,Kl.jsx)(JG,{}),title:"Deposits (Future Appointment)"}},tK={medical:"Medical Total",cosmetic:"Cosmetic Total"},nK=function(t){var n=t.item,r=t.maxRevenue,o=(0,e.useContext)(bA),i=(0,e.useMemo)((function(){return eK[null===n||void 0===n?void 0:n[0]].title}),[n]),a=(0,e.useMemo)((function(){var e;return null!==n&&void 0!==n&&n[1]?null===(e=Number(null===n||void 0===n?void 0:n[1]))||void 0===e?void 0:e.toFixed(2):0}),[n]),s=(0,e.useMemo)((function(){return a/r*100}),[a,r]);return(0,Kl.jsxs)("div",{className:QG.infoItem,children:[(0,Kl.jsxs)("div",{className:QG.infoItemTitle,children:[eK[null===n||void 0===n?void 0:n[0]].icon,(0,Kl.jsx)(kl.Z,{className:QG.infoItemTitleText,children:i})]}),(0,Kl.jsxs)("div",{className:QG.infoItemBarContainer,children:[(0,Kl.jsx)("div",{className:QG.infoItemBar,style:{width:"".concat(s,"%"),display:0===s?"none":"flex"}}),(0,Kl.jsxs)(kl.Z,{align:"center",className:QG.amount,children:[o.clinic.currency,a]})]})]})},rK=function(t){var n,r=t.item,o=(0,e.useContext)(bA);return(0,Kl.jsxs)("div",{className:QG.treatmentItem,children:[(0,Kl.jsxs)("div",{className:QG.treatmentItemRow,children:[(0,Kl.jsx)(kl.Z,{className:QG.treatmentItemTitle,children:tK[null===r||void 0===r?void 0:r.treatments]}),(0,Kl.jsxs)(kl.Z,{align:"center",className:QG.treatmentItemDescription,children:[o.clinic.currency,null!==r&&void 0!==r&&r.total?Number(null===r||void 0===r?void 0:r.total).toFixed(2):0]})]}),(0,Kl.jsxs)("div",{className:QG.treatmentItemRow,children:[(0,Kl.jsx)(kl.Z,{className:QG.treatmentItemVat,children:"VAT"}),(0,Kl.jsxs)(kl.Z,{align:"center",className:QG.treatmentItemDescription,children:[o.clinic.currency,null!==r&&void 0!==r&&r.vat&&"medical"!==(null===r||void 0===r?void 0:r.treatments)?null===(n=Number(null===r||void 0===r?void 0:r.vat))||void 0===n?void 0:n.toFixed(2):0]})]})]})},oK=$l((function(){var t,o,i,a,s,l=Fc(),c=l.dashboard,u=l.location,d=(0,e.useState)(!1),p=(0,n.Z)(d,2),f=p[0],h=p[1],b=(0,e.useState)([]),A=(0,n.Z)(b,2),m=A[0],g=A[1],v=(0,e.useContext)(bA),y=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return h(!0),e.next=3,Re.get("/v1/clinic/accounting/revenue-deposits-vat",{params:{date_from:null===c||void 0===c?void 0:c.startDate,date_to:null===c||void 0===c?void 0:c.endDate,action:t,clinic_location_id:(null===u||void 0===u?void 0:u.id)||null}}).then((function(e){var n=e.data;"view"===t&&(g(null===n||void 0===n?void 0:n.data),h(!1))}));case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();(0,e.useEffect)((function(){null!==c&&void 0!==c&&c.startDate&&null!==c&&void 0!==c&&c.endDate&&y("view")}),[null===c||void 0===c?void 0:c.startDate,null===c||void 0===c?void 0:c.endDate,null===u||void 0===u?void 0:u.id]);var M=(0,e.useMemo)((function(){var e;if(null===m||void 0===m||!m.revenueDeposits)return 0;var t=null===(e=Object.entries(null===m||void 0===m?void 0:m.revenueDeposits))||void 0===e?void 0:e.filter((function(e){return"netTotal"!==e[0]})).map((function(e,t){var n;return null===(n=Number(null===e||void 0===e?void 0:e[1]))||void 0===n?void 0:n.toFixed(2)}));return Math.max.apply(Math,(0,r.Z)(t))}),[null===m||void 0===m?void 0:m.revenueDeposits]),O=(0,e.useMemo)((function(){var e;return 0===(null===m||void 0===m||null===(e=m.revenueVat)||void 0===e?void 0:e.length)}),[m]);return(0,Kl.jsxs)("div",{className:QG.container,children:[(0,Kl.jsx)(kl.Z,{className:QG.chartTitle,children:"Revenue & Deposits"}),f?(0,Kl.jsx)("div",{className:QG.loading,children:(0,Kl.jsx)(Gh.Z,{})}):(0,Kl.jsx)(Kl.Fragment,{children:(null===m||void 0===m?void 0:m.revenueDeposits)&&(null===(t=Object.entries(null===m||void 0===m?void 0:m.revenueDeposits))||void 0===t?void 0:t.filter((function(e){return"netTotal"!==e[0]})).map((function(e,t){return(0,Kl.jsx)(nK,{item:e,maxRevenue:M},t)})))}),(0,Kl.jsxs)("div",{className:QG.revenueAndVat,children:[(0,Kl.jsx)(Jb,{className:QG.divider}),(0,Kl.jsxs)("div",{className:QG.netTotalContainer,children:[(0,Kl.jsx)(kl.Z,{className:QG.netTotal,children:"Net Total"}),(0,Kl.jsxs)(kl.Z,{className:QG.netTotal,children:[v.clinic.currency,null!==m&&void 0!==m&&null!==(o=m.revenueDeposits)&&void 0!==o&&o.netTotal?null===(i=Number(null===m||void 0===m||null===(a=m.revenueDeposits)||void 0===a?void 0:a.netTotal))||void 0===i?void 0:i.toFixed(2):0]})]}),O&&(0,Kl.jsx)(kl.Z,{align:"center",className:QG.noData,variant:"h6",children:"No data"}),null===m||void 0===m||null===(s=m.revenueVat)||void 0===s?void 0:s.map((function(e,t){return(0,Kl.jsx)(rK,{name:"Cosmetic total",item:e},t)}))]})]})})),iK=oK,aK=function(){return(0,Kl.jsx)("div",{className:UG,children:(0,Kl.jsxs)("div",{className:ZG,children:[(0,Kl.jsx)(XG,{}),(0,Kl.jsx)(iK,{})]})})},sK=__webpack_require__(20176),lK={presets:"date-range-picker_presets__q79jm"},cK=["presets","startDate","endDate","onDatesChange"],uK=function(t){var r=t.presets,o=t.startDate,i=t.endDate,a=t.onDatesChange,s=(0,Uu.Z)(t,cK),l=(0,e.useState)(null),c=(0,n.Z)(l,2),u=c[0],d=c[1];return(0,Kl.jsx)("div",{children:(0,Kl.jsx)(sK.DateRangePicker,Us({renderCalendarInfo:function(){return(0,Kl.jsx)("div",{className:lK.presets,children:null===r||void 0===r?void 0:r.map((function(e){var t=e.text,n=e.start,r=e.end,s=(0,sK.isSameDay)(n,o)&&(0,sK.isSameDay)(r,i);return(0,Kl.jsx)(zd.Z,{className:lK.presetButton,color:s?"secondary":"default",variant:s?"contained":"outlined",size:"small",type:"button",onClick:function(){return a({startDate:n,endDate:r})},children:t},t)}))})},onFocusChange:function(e){d(e)},onDatesChange:a,focusedInput:u,startDate:o,startDateId:"startDateId",endDateId:"endDateId",endDate:i,keepOpenOnDateSelect:!0,displayFormat:"DD/MM/YYYY",readOnly:!0},s))})},dK=$l((function(){var t,r,o,i=Fc().dashboard,a=Ru(),s=(0,n.Z)(a,1)[0],l=(0,e.useState)(!1),c=(0,n.Z)(l,2),u=c[0],d=c[1],p=(0,e.useState)(),f=(0,n.Z)(p,2),h=f[0],b=f[1],A=Fc().location,m=(0,e.useContext)(bA),g=Vs()(),v=Vs()().add(-1,"day"),y=[{text:"Today",start:g,end:g},{text:"Yesterday",start:v,end:v},{text:"Last Week",start:Vs()().add(-1,"week"),end:g},{text:"Last Month",start:Vs()().add(-1,"month"),end:g},{text:"This Week",start:g,end:Vs()().add(1,"week")},{text:"This Month",start:g,end:Vs()().add(1,"month")}],M=(0,e.useMemo)((function(){return s<740?1:s<1080?2:3}),[s]),O=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t,n){var r,o;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return d(!0),e.next=3,Re.get("/v1/clinic/accounting/overall",{params:{date_from:t,date_to:n,clinic_location_id:(null===A||void 0===A?void 0:A.id)||null}});case 3:r=e.sent,o=r.data,b(o.data),d(!1);case 7:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}();(0,e.useEffect)((function(){O(null===i||void 0===i?void 0:i.startDate,null===i||void 0===i?void 0:i.endDate)}),[null===i||void 0===i?void 0:i.startDate,null===i||void 0===i?void 0:i.endDate,null===A||void 0===A?void 0:A.id]);var _=(0,e.useMemo)((function(){var e,t;return null===m||void 0===m||null===(e=m.clinic)||void 0===e||null===(t=e.locations)||void 0===t?void 0:t.filter((function(e){return!(null!==e&&void 0!==e&&e.deleted_at)}))}),[null===m||void 0===m||null===(t=m.clinic)||void 0===t?void 0:t.locations]);return null!==m&&void 0!==m&&null!==(r=m.user)&&void 0!==r&&null!==(o=r.staff)&&void 0!==o&&o.is_clinic_admin?(0,Kl.jsxs)(Yh,{title:"Dashboard",headerChildren:(0,Kl.jsxs)("div",{className:NF,children:[(null===_||void 0===_?void 0:_.length)>0&&(0,Kl.jsxs)(Wu.Z,{select:!0,size:"small",name:"location",label:"Location",onChange:function(e){0===e.target.value?A.resetLocation():A.setLocation(null===_||void 0===_?void 0:_.find((function(t){return t.id===e.target.value})))},variant:"outlined",value:A.id,disabled:1===(null===_||void 0===_?void 0:_.length),className:jF,children:[(0,Kl.jsx)(xd.Z,{value:0,children:"All"},"location+all"),null===_||void 0===_?void 0:_.map((function(e,t){return(0,Kl.jsx)(xd.Z,{value:e.id,children:null===e||void 0===e?void 0:e.address},"location+".concat(e.id,"_").concat(t))}))]}),(0,Kl.jsx)("div",{className:TF,children:(0,Kl.jsx)(uK,{startDate:null!==i&&void 0!==i&&i.startDate?Vs()(null===i||void 0===i?void 0:i.startDate):null,endDate:null!==i&&void 0!==i&&i.endDate?Vs()(null===i||void 0===i?void 0:i.endDate):null,onDatesChange:function(e){null===i||void 0===i||i.setStartDate(new Date(e.startDate)),null===i||void 0===i||i.setEndDate(new Date(e.endDate))},transitionDuration:0,numberOfMonths:M,presets:y,anchorDirection:"right",small:!0,isOutsideRange:function(){return!1}})})]}),children:[(0,Kl.jsxs)("div",{className:DF,children:[(0,Kl.jsx)(iG,{overall:h,overallLoading:u}),(0,Kl.jsx)(yG,{}),(0,Kl.jsx)(FG,{overall:h,loading:u}),(0,Kl.jsx)(aK,{loading:u})]}),(0,Kl.jsx)(Ee,{})]}):(0,Kl.jsx)("div",{className:BF,children:(0,Kl.jsx)(kl.Z,{children:"Access is denied"})})})),pK=dK,fK=(0,e.createContext)([null,function(){}]),hK=function(t){var r=(0,e.useState)(null),o=(0,n.Z)(r,2),i=o[0],a=o[1];return(0,Kl.jsx)(fK.Provider,{value:[i,function(e){a(e)}],children:t.children})},bK=__webpack_require__(23131),AK=new Uint8Array(16);function mK(){if(!PG&&!(PG="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!==typeof msCrypto&&"function"===typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return PG(AK)}var gK=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var vK=function(e){return"string"===typeof e&&gK.test(e)},yK=[],MK=0;MK<256;++MK)yK.push((MK+256).toString(16).substr(1));var OK,_K,zK=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(yK[e[t+0]]+yK[e[t+1]]+yK[e[t+2]]+yK[e[t+3]]+"-"+yK[e[t+4]]+yK[e[t+5]]+"-"+yK[e[t+6]]+yK[e[t+7]]+"-"+yK[e[t+8]]+yK[e[t+9]]+"-"+yK[e[t+10]]+yK[e[t+11]]+yK[e[t+12]]+yK[e[t+13]]+yK[e[t+14]]+yK[e[t+15]]).toLowerCase();if(!vK(n))throw TypeError("Stringified UUID is invalid");return n},xK=0,wK=0;var CK=function(e,t,n){var r=t&&n||0,o=t||new Array(16),i=(e=e||{}).node||OK,a=void 0!==e.clockseq?e.clockseq:_K;if(null==i||null==a){var s=e.random||(e.rng||mK)();null==i&&(i=OK=[1|s[0],s[1],s[2],s[3],s[4],s[5]]),null==a&&(a=_K=16383&(s[6]<<8|s[7]))}var l=void 0!==e.msecs?e.msecs:Date.now(),c=void 0!==e.nsecs?e.nsecs:wK+1,u=l-xK+(c-wK)/1e4;if(u<0&&void 0===e.clockseq&&(a=a+1&16383),(u<0||l>xK)&&void 0===e.nsecs&&(c=0),c>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");xK=l,wK=c,_K=a;var d=(1e4*(268435455&(l+=122192928e5))+c)%4294967296;o[r++]=d>>>24&255,o[r++]=d>>>16&255,o[r++]=d>>>8&255,o[r++]=255&d;var p=l/4294967296*1e4&268435455;o[r++]=p>>>8&255,o[r++]=255&p,o[r++]=p>>>24&15|16,o[r++]=p>>>16&255,o[r++]=a>>>8|128,o[r++]=255&a;for(var f=0;f<6;++f)o[r+f]=i[f];return t||zK(o)},SK="canvas_container__dwbd7",EK="canvas_mobileSpoilers__PTnzq",kK="canvas_procedures__hmExg",DK="canvas_main__75Jef",NK="canvas_sidebar__aDHdV",TK="canvas_imageContainer__HuyUh",jK="canvas_sidebarMobile__g8uPi",BK="canvas_proceduresContainer__AJyv1",LK="canvas_toolsContainer__tKhwu",RK="canvas_procedureContainerHolder__o+boH",qK="canvas_canvasContainer__FJec8",PK="canvas_canvas__SNLNv",IK="canvas_item__l5Xb3",WK="canvas_rightSection__I3jjV",FK="canvas_uploadButton__8hOAc",UK="canvas_toolbar__BtIjZ",ZK="canvas_toolbarContainer__gD5o3",HK="canvas_toolbarPanel__W8C1n",$K="canvas_uploadInput__OPGB-",VK="canvas_markerContainer__udaZF",XK="canvas_marker__-J+Bi",QK=__webpack_require__(8376),YK=(0,kp.Z)(e.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),GK=(0,kp.Z)(e.createElement("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked");var KK=(0,Hu.Z)((function(e){return{root:{position:"relative",display:"flex","&$checked $layer":{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}},layer:{left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest})},checked:{}}}),{name:"PrivateRadioButtonIcon"})((function(t){var n=t.checked,r=t.classes,o=t.fontSize;return e.createElement("div",{className:(0,Zu.Z)(r.root,n&&r.checked)},e.createElement(YK,{fontSize:o}),e.createElement(GK,{fontSize:o,className:r.layer}))}));var JK=e.createContext();var eJ=e.createElement(KK,{checked:!0}),tJ=e.createElement(KK,null),nJ=e.forwardRef((function(t,n){var r=t.checked,o=t.classes,i=t.color,a=void 0===i?"secondary":i,s=t.name,l=t.onChange,c=t.size,u=void 0===c?"medium":c,d=(0,Uu.Z)(t,["checked","classes","color","name","onChange","size"]),p=e.useContext(JK),f=r,h=(0,PB.Z)(l,p&&p.onChange),b=s;return p&&("undefined"===typeof f&&(f=p.value===t.value),"undefined"===typeof b&&(b=p.name)),e.createElement(QK.Z,(0,Fu.Z)({color:a,type:"radio",icon:e.cloneElement(tJ,{fontSize:"small"===u?"small":"medium"}),checkedIcon:e.cloneElement(eJ,{fontSize:"small"===u?"small":"medium"}),classes:{root:(0,Zu.Z)(o.root,o["color".concat((0,Jd.Z)(a))]),checked:o.checked,disabled:o.disabled},name:b,checked:f,onChange:h,ref:n},d))})),rJ=(0,Hu.Z)((function(e){return{root:{color:e.palette.text.secondary},checked:{},disabled:{},colorPrimary:{"&$checked":{color:e.palette.primary.main,"&:hover":{backgroundColor:(0,Bp.Fq)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:e.palette.action.disabled}},colorSecondary:{"&$checked":{color:e.palette.secondary.main,"&:hover":{backgroundColor:(0,Bp.Fq)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:e.palette.action.disabled}}}}),{name:"MuiRadio"})(nJ),oJ=__webpack_require__(80154),iJ=__webpack_require__(77083),aJ=function(e){return(0,Kl.jsx)(Gl.Z,Us(Us({},e),{},{viewBox:"0 0 27 27",children:(0,Kl.jsx)("path",{d:"M25.32 3.51001L22.81 1C22.1566 0.364695 21.2813 0.00927734 20.37 0.00927734C19.4587 0.00927734 18.5833 0.364695 17.93 1L1.56998 17.4C1.13202 17.8303 0.868461 18.4073 0.829956 19.02L0.289978 25.12C0.279329 25.2448 0.29608 25.3705 0.339051 25.4882C0.382022 25.6058 0.450179 25.7127 0.538758 25.8013C0.627336 25.8898 0.734169 25.958 0.851838 26.001C0.969506 26.0439 1.09516 26.0607 1.21997 26.05L7.32996 25.52C7.94598 25.4748 8.5249 25.2085 8.95996 24.77L25.32 8.38C25.9618 7.73209 26.3218 6.85693 26.3218 5.94495C26.3218 5.03296 25.9618 4.15792 25.32 3.51001ZM7.71997 23.51C7.57705 23.6514 7.39001 23.7397 7.18997 23.76L2.08997 24.2L2.52997 19.09C2.5503 18.8899 2.63853 18.703 2.77997 18.5601L15.91 5.41003L20.85 10.41L7.71997 23.51ZM24.1 7.10999L22.1 9.10999L17.16 4.10999L19.16 2.10999C19.4865 1.79154 19.9239 1.61228 20.38 1.60999C20.6062 1.60899 20.8304 1.6526 21.0398 1.7384C21.2491 1.8242 21.4395 1.9505 21.6 2.10999L24.12 4.62C24.44 4.94543 24.6193 5.38355 24.6193 5.83997C24.6193 6.29639 24.44 6.73462 24.12 7.06006L24.1 7.10999Z"})}))},sJ=function(t){var r=(0,e.useContext)(fK),o=(0,n.Z)(r,1)[0],i=t.options,a=t.setOptions;(0,e.useEffect)((function(){var e;null!==o&&void 0!==o&&null!==(e=o.freeDrawingBrush)&&void 0!==e&&e.color&&(o.freeDrawingBrush.color=i.color)}),[o,i.color]);var s=(0,e.useMemo)((function(){return"drawing"===i.activeMode}),[i.activeMode]);return(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(wd.Z,{onClick:function(){var e=s?null:"drawing";a(Us(Us({},i),{},{activeMode:e})),o.isDrawingMode=!!e,o.freeDrawingBrush.width=5},children:(0,Kl.jsx)(aJ,{style:{color:s?"#d8a66a":"#001838"}})}),"drawing"===i.activeMode&&(0,Kl.jsx)("div",{className:VK,style:{width:null===o||void 0===o?void 0:o.width},children:(0,Kl.jsx)("div",{className:XK,children:i.colors.map((function(e,t){return(0,Kl.jsx)(rJ,{style:{color:e},onClick:function(){return function(e){a(Us(Us({},i),{},{color:e})),o.freeDrawingBrush.color=e}(e)},checked:i.color===e,checkedIcon:(0,Kl.jsx)(oJ.Z,{style:{fontSize:25}}),icon:(0,Kl.jsx)(iJ.Z,{style:{fontSize:25}})},"markerTool_".concat(e,"_").concat(t))}))})})]})},lJ=function(e){return(0,Kl.jsx)(Gl.Z,Us(Us({},e),{},{viewBox:"0 0 29 27",children:(0,Kl.jsx)("path",{d:"M28.3799 0.169922V1.82983H12.6099V0.169922H28.3799ZM12.6099 11.7899H28.3799V10.1299H12.6099V11.7899ZM0.159851 21.7899H28.3799V20.1399H0.159851V21.7899ZM0.159851 16.7899H28.3799V15.1299H0.159851V16.7899ZM12.6099 6.78992H28.3799V5.12988H12.6099V6.78992ZM0.159851 26.6998H25.0599V25.0399H0.159851V26.6998ZM1.81989 1.80994H4.30988V10.1099H2.6499V11.7699H7.6499V10.1099H5.99988V1.80994H8.48987V2.63989H10.1499V0.149902H0.149902V2.63989H1.80988L1.81989 1.80994Z"})}))},cJ=function(t){var r=t.options,o=t.setOptions,i=(0,e.useContext)(fK),a=(0,n.Z)(i,1)[0];return(0,Kl.jsx)(Kl.Fragment,{children:(0,Kl.jsx)(wd.Z,{onClick:function(){var e=new bK.fabric.Textbox("Text",{top:100,left:100,fontSize:42,fill:"black",editable:!0});a.add(e),o(Us(Us({},r),{},{activeMode:null}))},children:(0,Kl.jsx)(lJ,{style:{color:"001838"}})})})},uJ=__webpack_require__(85388),dJ=function(t){var r=t.options,o=t.setOptions,i=(0,e.useContext)(fK),a=(0,n.Z)(i,1)[0],s=(0,e.useMemo)((function(){return"dot"===r.activeMode}),[r.activeMode]);return(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(wd.Z,{onClick:function(){var e=s?null:"dot";o(Us(Us({},r),{},{activeMode:e})),a.isDrawingMode=!1},children:(0,Kl.jsx)(uJ.Z,{style:{color:s?"#d8a66a":"#001838"}})}),"dot"===r.activeMode&&(0,Kl.jsx)("div",{className:VK,style:{width:null===a||void 0===a?void 0:a.width},children:(0,Kl.jsx)("div",{className:XK,children:r.colors.map((function(e,t){return(0,Kl.jsx)(rJ,{style:{color:e},onClick:function(){return function(e){o(Us(Us({},r),{},{color:e}))}(e)},checked:r.color===e,checkedIcon:(0,Kl.jsx)(oJ.Z,{style:{fontSize:25}}),icon:(0,Kl.jsx)(iJ.Z,{style:{fontSize:25}})},"markerTool_".concat(e,"_").concat(t))}))})})]})},pJ=__webpack_require__(5607),fJ=__webpack_require__(75269),hJ=__webpack_require__(39402),bJ=function(t){var r=t.options,o=t.setOptions,i=t.type,a=(0,e.useContext)(fK),s=(0,n.Z)(a,1)[0],l=(0,e.useMemo)((function(){return r.activeMode===i}),[r.activeMode,i]),c=(0,e.useMemo)((function(){switch(i){case"line":return(0,Kl.jsx)(hJ.Z,{style:{color:l?"#d8a66a":"#001838"}});case"dash":return(0,Kl.jsx)(fJ.Z,{style:{color:l?"#d8a66a":"#001838"}});default:return(0,Kl.jsx)(pJ.Z,{style:{color:l?"#d8a66a":"#001838"}})}}),[i,l]);return(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(wd.Z,{onClick:function(){var e=l?null:i;o(Us(Us({},r),{},{activeMode:e})),s.isDrawingMode=!1},children:c}),r.activeMode===i&&(0,Kl.jsx)("div",{className:VK,style:{width:null===s||void 0===s?void 0:s.width},children:(0,Kl.jsx)("div",{className:XK,children:r.colors.map((function(e,t){return(0,Kl.jsx)(rJ,{style:{color:e},onClick:function(){return function(e){o(Us(Us({},r),{},{color:e}))}(e)},checked:r.color===e,checkedIcon:(0,Kl.jsx)(oJ.Z,{style:{fontSize:25}}),icon:(0,Kl.jsx)(iJ.Z,{style:{fontSize:25}})},"markerTool_".concat(e,"_").concat(t))}))})})]})},AJ=__webpack_require__(6085),mJ=function(e){return(0,Kl.jsx)(Gl.Z,Us(Us({},e),{},{viewBox:"0 0 17 30",children:(0,Kl.jsx)("path",{d:"M16.16 0.869937H1.65995C1.44778 0.869937 1.24431 0.954283 1.09428 1.10431C0.94425 1.25434 0.859965 1.45781 0.859965 1.66999V4.88996C0.858271 4.99551 0.877773 5.10028 0.917277 5.19818C0.956781 5.29609 1.01553 5.38508 1.09001 5.4599C1.2414 5.61123 1.44591 5.69736 1.65995 5.69989H3.27V8.37995C2.56125 8.66857 1.95278 9.15885 1.52 9.78998C1.09036 10.4247 0.860461 11.1734 0.859965 11.9399V25.2299C0.859172 25.7316 0.957774 26.2285 1.15 26.692C1.34223 27.1554 1.62428 27.5762 1.97996 27.93C2.69732 28.6456 3.66675 29.0513 4.67997 29.06H13.14C14.1532 29.0547 15.1233 28.6491 15.8388 27.9317C16.5544 27.2143 16.9574 26.2432 16.96 25.2299V11.9399C16.9595 11.1734 16.7296 10.4247 16.3 9.78998C15.8672 9.15885 15.2587 8.66857 14.55 8.37995V5.69989H16.16C16.374 5.69736 16.5786 5.61123 16.73 5.4599C16.8044 5.38508 16.8632 5.29609 16.9027 5.19818C16.9422 5.10028 16.9617 4.99551 16.96 4.88996V1.66999C16.9613 1.56456 16.9416 1.45991 16.9018 1.36225C16.8621 1.26458 16.8032 1.17582 16.7287 1.10126C16.6541 1.0267 16.5654 0.967771 16.4677 0.928043C16.37 0.888315 16.2654 0.868594 16.16 0.869937ZM2.46995 14.56H15.35V22.56H2.46995V14.56ZM13.14 27.4399H4.67997C4.38938 27.4412 4.10141 27.385 3.83268 27.2744C3.56395 27.1638 3.31978 27.0011 3.1143 26.7956C2.90882 26.5901 2.74613 26.3459 2.63554 26.0772C2.52494 25.8085 2.46863 25.5205 2.46995 25.2299V24.2299H15.35V25.2299C15.3513 25.5205 15.295 25.8085 15.1844 26.0772C15.0738 26.3459 14.9111 26.5901 14.7056 26.7956C14.5001 27.0011 14.256 27.1638 13.9873 27.2744C13.7186 27.385 13.4306 27.4412 13.14 27.4399ZM15.35 11.9399V12.9399H2.46995V11.9399C2.46934 11.6482 2.52648 11.3595 2.63804 11.09C2.7496 10.8206 2.9134 10.5758 3.11997 10.3699C3.53576 9.95879 4.09527 9.72564 4.67997 9.71991H13.14C13.7247 9.72564 14.2842 9.95879 14.7 10.3699C14.9066 10.5758 15.0704 10.8206 15.1819 11.09C15.2935 11.3595 15.3506 11.6482 15.35 11.9399ZM12.94 8.10993H4.87998V5.69989H12.94V8.10993ZM15.35 4.10993H2.46995V2.49994H15.35V4.10993Z"})}))},gJ=function(e){return(0,Kl.jsx)(Gl.Z,Us(Us({},e),{},{viewBox:"0 0 16 38",children:(0,Kl.jsx)("path",{d:"M14.6201 28.26H12.73V10.66C12.7322 10.5782 12.7173 10.4968 12.6863 10.421C12.6554 10.3453 12.6089 10.2768 12.55 10.22C12.4311 10.0996 12.2693 10.0314 12.1 10.03H10.1L9.54004 5.56006C9.52496 5.40715 9.45277 5.26554 9.33783 5.16357C9.22289 5.06161 9.07366 5.00675 8.92004 5.01001H8.29004V1.22998C8.27075 1.07783 8.19667 0.937948 8.0816 0.836548C7.96654 0.735148 7.81841 0.679199 7.66504 0.679199C7.51167 0.679199 7.3636 0.735148 7.24854 0.836548C7.13347 0.937948 7.05932 1.07783 7.04004 1.22998V5H6.41003C6.25593 4.99875 6.10676 5.05404 5.99066 5.1554C5.87457 5.25675 5.79965 5.39718 5.78009 5.55005L5.22003 10.02H3.22003C3.05468 10.0226 2.897 10.0901 2.78101 10.208C2.66501 10.3259 2.60002 10.4847 2.60004 10.65V28.25H0.710083C0.542997 28.25 0.382735 28.3164 0.264587 28.4346C0.146439 28.5527 0.0800781 28.7129 0.0800781 28.88V30.76C0.0814273 30.9292 0.149745 31.091 0.270081 31.21C0.387613 31.3251 0.545538 31.3898 0.710083 31.39H5.11005V33.9H3.30005C3.1347 33.9026 2.97702 33.9701 2.86102 34.088C2.74503 34.2059 2.68003 34.3647 2.68005 34.53V36.42C2.67963 36.5016 2.69531 36.5825 2.7262 36.658C2.75708 36.7335 2.80257 36.8021 2.86005 36.86C2.97595 36.9788 3.13408 37.0472 3.30005 37.05H12.1C12.2693 37.0487 12.4311 36.9803 12.55 36.86C12.6075 36.8021 12.653 36.7335 12.6839 36.658C12.7148 36.5825 12.7305 36.5016 12.73 36.42V34.53C12.7305 34.4485 12.7148 34.3676 12.6839 34.2921C12.653 34.2166 12.6075 34.1479 12.55 34.09C12.4311 33.9696 12.2693 33.9014 12.1 33.9H10.22V31.39H14.6201C14.7838 31.3858 14.9403 31.3217 15.0601 31.21C15.1804 31.091 15.2487 30.9292 15.2501 30.76V28.88C15.2487 28.7108 15.1804 28.549 15.0601 28.4301C15.0022 28.3726 14.9335 28.327 14.858 28.2961C14.7825 28.2653 14.7016 28.2496 14.6201 28.25V28.26ZM7.00006 6.26001H8.41003L8.88007 10.03H6.53009L7.00006 6.26001ZM3.93005 25.12H6.45007C6.61636 25.1174 6.77511 25.0502 6.8927 24.9326C7.01029 24.815 7.0775 24.6563 7.08008 24.49C7.08008 24.3229 7.01366 24.1627 6.89551 24.0446C6.77736 23.9264 6.61716 23.86 6.45007 23.86H3.93005V22H6.45007C6.53878 22.0112 6.62888 22.0034 6.71436 21.9772C6.79983 21.9509 6.87871 21.9068 6.9458 21.8477C7.01289 21.7885 7.06665 21.7158 7.10345 21.6343C7.14026 21.5528 7.1593 21.4644 7.1593 21.375C7.1593 21.2856 7.14026 21.1972 7.10345 21.1157C7.06665 21.0342 7.01289 20.9615 6.9458 20.9023C6.87871 20.8432 6.79983 20.7991 6.71436 20.7728C6.62888 20.7466 6.53878 20.7388 6.45007 20.75H3.93005V18.86H6.45007C6.61716 18.86 6.77736 18.7937 6.89551 18.6755C7.01366 18.5574 7.08008 18.3971 7.08008 18.23C7.0775 18.0637 7.01029 17.9049 6.8927 17.7874C6.77511 17.6698 6.61636 17.6026 6.45007 17.6H3.93005V15.72H6.45007C6.61716 15.72 6.77736 15.6537 6.89551 15.5355C7.01366 15.4174 7.08008 15.2571 7.08008 15.09C7.08008 14.9229 7.01366 14.7627 6.89551 14.6445C6.77736 14.5264 6.61716 14.46 6.45007 14.46H3.93005V11.3199H11.47V28.3199H3.93005V25.12ZM11.47 35.8H3.93005V35.17H11.47V35.8ZM8.96008 33.91H6.45007V31.4H9.00006L8.96008 33.91ZM13.9601 30.14H1.42004V29.51H14.0001L13.9601 30.14Z"})}))},vJ=function(e){return(0,Kl.jsx)(Gl.Z,Us(Us({},e),{},{viewBox:"0 0 29 37",children:(0,Kl.jsx)("path",{d:"M9.84 36.6899C9.82076 36.6977 9.79924 36.6977 9.78 36.6899L9.12998 35.9V35.78C10.22 34.89 9.90997 32.6 9.55997 31.39C7.86471 29.9769 6.5886 28.1267 5.86997 26.04C5.34108 24.0811 5.03907 22.0679 4.96994 20.04L5.05997 19.9399H6.05997C6.08384 19.9399 6.10675 19.9494 6.12363 19.9663C6.14051 19.9832 6.15 20.0062 6.15 20.03C6.22507 21.9494 6.5135 23.8544 7.00998 25.71C7.76998 28.6 11.43 31.54 13.54 33.03C13.9949 33.3557 14.5404 33.5309 15.0999 33.5309C15.6595 33.5309 16.205 33.3557 16.6599 33.03C17.4799 32.45 18.27 31.84 19 31.22L19.42 30.85C19.76 30.54 20.09 30.2401 20.42 29.9301C21.6554 28.8045 22.5845 27.3833 23.12 25.8C23.1276 25.7825 23.1402 25.7675 23.1562 25.7568C23.1721 25.7462 23.1908 25.7403 23.21 25.74L24.21 26.01L24.27 26.12C23.6921 27.9048 22.6579 29.5078 21.27 30.77C21.1274 30.9209 20.9772 31.0643 20.82 31.2C20.51 32.2 20.02 34.79 21.2 35.76V35.88L20.55 36.67H20.43C19.25 35.67 19.15 34.01 19.27 32.76V32.52L19.08 32.67C18.52 33.12 17.93 33.57 17.33 33.99C16.6752 34.4634 15.888 34.7188 15.08 34.72C14.2724 34.7161 13.486 34.461 12.83 33.99C12.25 33.58 11.7 33.17 11.17 32.75L10.99 32.61V32.84C11.1148 33.5262 11.0747 34.2322 10.873 34.8999C10.6713 35.5676 10.3138 36.1777 9.82999 36.6801L9.84 36.6899ZM14.84 31.86H14.6599C14.3734 31.8354 14.0946 31.7538 13.84 31.62L13.17 31.11C13.1614 31.1025 13.1547 31.0932 13.15 31.0829C13.1453 31.0725 13.1429 31.0614 13.1429 31.05C13.1429 31.0387 13.1453 31.0274 13.15 31.0171C13.1547 31.0067 13.1614 30.9975 13.17 30.99L13.61 30.42H13.74L14.31 30.86C14.4494 30.9229 14.5979 30.9634 14.75 30.98H15.75H15.94C16.094 30.9608 16.2432 30.9133 16.38 30.84L16.87 30.4399H16.99L17.44 31V31.12L16.88 31.5699C16.6363 31.7115 16.3684 31.8065 16.09 31.85C15.9802 31.8599 15.8698 31.8599 15.76 31.85L14.84 31.86ZM4.63999 31.72L3.63999 31.37L3.57999 31.25C3.93201 30.2857 3.96354 29.2336 3.66996 28.25C3.38577 27.4727 3.0062 26.7338 2.53995 26.05L2.44998 25.89L2.09 25.3C0.932598 23.1568 0.642632 20.6509 1.28 18.3C2.13 15.23 4.52995 14.08 6.84995 12.97C8.34554 12.3738 9.70588 11.4828 10.8499 10.35C11.3566 9.8377 11.7508 9.22538 12.0074 8.55212C12.2639 7.87887 12.3772 7.15946 12.34 6.43994C12.13 3.83994 9.75 1.80997 9.65 1.71997C9.64148 1.71246 9.63465 1.70322 9.62998 1.69287C9.62531 1.68253 9.6229 1.67138 9.6229 1.66003C9.6229 1.64868 9.62531 1.63742 9.62998 1.62708C9.63465 1.61673 9.64148 1.60748 9.65 1.59998L10.29 0.810059H10.42C10.53 0.910059 13.29 3.19 13.54 6.37C13.5945 7.24998 13.4643 8.13159 13.1577 8.95825C12.8512 9.78491 12.3751 10.5384 11.76 11.17C10.5006 12.4267 9.00066 13.4163 7.34995 14.08C5.16995 15.08 3.10995 16.08 2.40995 18.64C1.86212 20.671 2.10886 22.8344 3.09995 24.6899L3.45999 25.28C4.01479 26.0886 4.46184 26.9659 4.78995 27.89C5.16935 29.134 5.13428 30.4676 4.68997 31.6899H4.60996L4.63999 31.72ZM15.27 28.98C14.3686 28.9753 13.4785 28.7776 12.6599 28.4L12.26 28.21V28.08L12.95 27.16C13.1693 26.8601 13.477 26.6363 13.83 26.52C13.9513 26.4872 14.075 26.4638 14.2 26.45H14.36C14.5715 26.4501 14.7813 26.4874 14.98 26.5601C15.0891 26.6005 15.2038 26.624 15.32 26.63C15.4295 26.6303 15.538 26.6099 15.64 26.5699C15.83 26.505 16.0292 26.4712 16.23 26.47H16.44C16.5935 26.4846 16.7447 26.5182 16.89 26.5699C17.1883 26.691 17.4477 26.8917 17.64 27.15L18.3499 28.0601V28.2L17.93 28.39C17.1207 28.7637 16.2413 28.9613 15.3499 28.97L15.27 28.98ZM27.43 27.55H27.37L26.57 26.92V26.8C27.4044 25.6523 27.805 24.2458 27.7007 22.8306C27.5963 21.4154 26.9937 20.0829 26 19.0699C25.1652 18.2862 24.2053 17.6475 23.1599 17.1801C22.2467 16.7321 21.3793 16.1961 20.57 15.58C19.4775 14.7652 18.5603 13.7388 17.8731 12.5619C17.1859 11.385 16.7427 10.0818 16.57 8.72998L16.65 8.63L17.65 8.56006C17.65 8.56006 17.72 8.56001 17.73 8.64001C17.8945 9.83002 18.2973 10.9746 18.9141 12.0055C19.5309 13.0364 20.3492 13.9324 21.32 14.64C22.0451 15.196 22.8259 15.6752 23.65 16.0699C24.8291 16.6085 25.9131 17.3346 26.86 18.22C28.0647 19.435 28.793 21.0424 28.9123 22.7493C29.0316 24.4562 28.534 26.1492 27.51 27.52L27.43 27.55ZM15.17 25C14.7692 25.0133 14.3742 24.9015 14.04 24.6801L13.77 24.5C13.51 24.32 13.32 24.2 13.25 23.9C13.2469 23.8776 13.2524 23.8548 13.2654 23.8363C13.2784 23.8178 13.2979 23.8049 13.32 23.8L13.9099 23.66L13.9699 23.6H14.08L14.2 23.6899L14.5 23.89C14.6909 24.0077 14.9107 24.0701 15.135 24.0701C15.3592 24.0701 15.5791 24.0077 15.77 23.89L16.07 23.6899L16.25 23.5699H16.38L17.02 23.74L17.08 23.85C17.0388 23.9775 16.9725 24.0954 16.8849 24.1968C16.7973 24.2981 16.6902 24.3808 16.57 24.4399L16.28 24.63C15.9569 24.8646 15.5692 24.9938 15.17 25ZM10.07 20.71L9.4 20.4399V20.33C9.45123 20.1925 9.52941 20.0667 9.62998 19.96L9.69998 19.88L9.44998 19.6899C9.34216 19.5948 9.20374 19.5417 9.05997 19.54C8.8843 19.5326 8.7114 19.5855 8.56998 19.6899H8.44998L8.00998 19.12V18.99C8.29966 18.7763 8.65001 18.6607 9.00998 18.66C9.37312 18.6613 9.7253 18.7846 10.01 19.01C10.2967 19.2632 10.6394 19.4449 11.01 19.54C11.1796 19.5558 11.3504 19.5558 11.52 19.54H11.8C12.2012 19.4792 12.5962 19.3821 12.98 19.25L13.71 19.05C13.7308 19.0483 13.7517 19.0532 13.7696 19.064C13.7876 19.0747 13.8017 19.0908 13.81 19.11L14.01 19.8C14.0162 19.8226 14.0134 19.8467 14.0022 19.8672C13.991 19.8877 13.9723 19.9031 13.95 19.91L13.23 20.12C12.7978 20.2664 12.3524 20.3703 11.9 20.4301H11.52C11.2812 20.4276 11.0433 20.4007 10.81 20.35H10.68C10.5814 20.352 10.4849 20.3787 10.3993 20.4276C10.3137 20.4765 10.2418 20.5461 10.19 20.63L10.11 20.6899L10.07 20.71ZM21.07 20.71C21.0518 20.7105 21.034 20.705 21.0194 20.6941C21.0049 20.6832 20.9945 20.6676 20.99 20.65C20.91 20.45 20.63 20.37 20.52 20.34H20.43V20.41C20.1867 20.4618 19.9387 20.4886 19.69 20.49H19.32C18.863 20.4324 18.4136 20.3251 17.98 20.17L17.26 19.97C17.2389 19.9612 17.2215 19.9455 17.2106 19.9255C17.1997 19.9055 17.196 19.8824 17.2 19.86L17.4 19.17C17.4061 19.1506 17.4179 19.1335 17.434 19.121C17.4501 19.1085 17.4696 19.1011 17.49 19.1L18.23 19.3101C18.6091 19.444 19.0013 19.5377 19.4 19.59H19.69C19.8618 19.5909 20.0331 19.5708 20.2 19.53C20.5704 19.44 20.9135 19.2616 21.2 19.01C21.4833 18.781 21.8357 18.6542 22.2 18.65C22.5608 18.655 22.9109 18.774 23.2 18.99V19.11L22.77 19.6801H22.64C22.5139 19.59 22.3647 19.5379 22.21 19.53C22.0389 19.5336 21.8737 19.5933 21.74 19.7L21.51 19.88L21.59 19.96C21.6842 20.0696 21.7586 20.1948 21.81 20.33L21.76 20.4399L21.0999 20.7L21.07 20.71ZM13.4699 16.9399C13.4589 16.9446 13.447 16.9471 13.435 16.9471C13.4229 16.9471 13.4111 16.9446 13.4 16.9399C12.9864 16.4998 12.4371 16.2111 11.84 16.12C11.4369 16.0523 11.0287 16.0189 10.62 16.02C10.1218 16.0255 9.62438 16.0588 9.12998 16.12C9.106 16.1181 9.08276 16.1109 9.06198 16.0988C9.04121 16.0866 9.02344 16.07 9.00998 16.05L8.9 15.34C8.89952 15.3166 8.90723 15.2938 8.92185 15.2755C8.93646 15.2572 8.95703 15.2447 8.97995 15.24C9.51364 15.1682 10.0515 15.1314 10.59 15.13C11.0627 15.125 11.5349 15.1652 12 15.25C12.8145 15.3729 13.5607 15.7761 14.11 16.39V16.52L13.54 16.95L13.4699 16.9399ZM17.01 16.9399H16.95L16.38 16.51C16.3715 16.5025 16.3646 16.4933 16.36 16.4829C16.3553 16.4726 16.3529 16.4613 16.3529 16.45C16.3529 16.4386 16.3553 16.4275 16.36 16.4171C16.3646 16.4068 16.3715 16.3975 16.38 16.39C16.8605 15.8268 17.5149 15.4398 18.24 15.29C18.2608 15.2883 18.2817 15.2932 18.2996 15.304C18.3175 15.3147 18.3317 15.3308 18.34 15.35L18.52 16.05L18.45 16.16C17.9255 16.2634 17.4485 16.5335 17.09 16.9301L17.01 16.9399Z"})}))},yJ=function(t){var o,i=(0,e.useContext)(fK),a=(0,n.Z)(i,1)[0],s=t.options,l=t.setOptions,c=t.toolsOptions,u=t.setToolsOptions,d=t.type,p=t.name,f=t.initTechniques,h=(0,e.useState)(!1),b=(0,n.Z)(h,2),A=b[0],m=b[1],g=["#B67D2B","#DBA75D","#DBBD5D","#B6952B","#B6582B","#DB865D"],v=["#F8B8D3","#F180B0","#817DC4","#A8A4E2","#B4F2CB","#7AE5A2"],y=(0,e.useMemo)((function(){return"botulinum"===d?f.filter((function(e){return 6===e.id})):f}),[f,d]),M=(0,e.useMemo)((function(){return"dermal"===d?v:g}),[d]),O=(0,e.useMemo)((function(){var e,t,n,r,o=null===c||void 0===c||null===(e=c.tools)||void 0===e||null===(t=e.filter((function(e){return"dermal"===e.type})))||void 0===t?void 0:t.length,i=null===c||void 0===c||null===(n=c.tools)||void 0===n||null===(r=n.filter((function(e){return"dermal"!==e.type})))||void 0===r?void 0:r.length,a="dermal"===d?o:i;return a>=6?a-6:null!==a&&void 0!==a?a:0}),[null===c||void 0===c?void 0:c.tools,d]),_={color:M[O],technique:6,techniques:[],shape:"line",amount:"",totalAmount:0,letter:"A",brand:{},instrument:"",measurement:"",type:d},z=(0,e.useState)(_),x=(0,n.Z)(z,2),w=x[0],C=x[1],S=(0,e.useState)([]),E=(0,n.Z)(S,2),k=E[0],D=E[1],N=(0,e.useMemo)((function(){var e;return null===(e=k.find((function(e){var t;return(null===(t=w.brand)||void 0===t?void 0:t.id)===e.id})))||void 0===e?void 0:e.instruments}),[k,w.brand.id]),T=(0,e.useMemo)((function(){var e;return null===(e=k.find((function(e){var t;return(null===(t=w.brand)||void 0===t?void 0:t.id)===e.id})))||void 0===e?void 0:e.measurement}),[k,w.brand.id]),j=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t,n,r,o,i,a,s,l,c,u,p,f;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get("/v1/product-categories/".concat(d,"/brands"));case 2:n=e.sent,r=n.data,(null===(t=r.data)||void 0===t?void 0:t.length)>0&&(D(r.data),C(Us(Us({},w),{},{brand:null===(o=r.data)||void 0===o?void 0:o[0],instrument:null!==(i=null===(a=r.data)||void 0===a||null===(s=a[0])||void 0===s||null===(l=s.instruments[0])||void 0===l?void 0:l.id)&&void 0!==i?i:"",measurement:null!==(c=null===(u=r.data)||void 0===u||null===(p=u[0])||void 0===p||null===(f=p.measurement)||void 0===f?void 0:f.id)&&void 0!==c?c:""})));case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();(0,e.useEffect)((function(){j()}),[]);var B=(0,e.useMemo)((function(){return s.activeTool===d}),[s.activeTool,d]),L=function(){var e=B?null:y.find((function(e){return e.id===w.technique})).shape,t=B?null:d;l(Us(Us({},s),{},{activeMode:e,activeTool:t})),e||u(Us(Us({},c),{},{currentTool:null})),a.isDrawingMode=!1},R=function(e,t){C(Us(Us({},w),{},{[e.target.name]:e.target.value}))},q=(0,e.useMemo)((function(){switch(d){case"botulinum":default:return(0,Kl.jsx)(mJ,{style:{color:B?"#b67d2b":"#000"}});case"dermal":return(0,Kl.jsx)(gJ,{style:{color:B?"#b67d2b":"#000"}});case"other":return(0,Kl.jsx)(vJ,{style:{color:B?"#b67d2b":"#000"}})}}),[d,B]);return(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(wd.Z,{onClick:function(){B?(C(_),l(Us(Us({},s),{},{activeMode:null,activeTool:null})),C(Us(Us({},w),{},{color:M[O]}))):m(!0)},children:q}),(0,Kl.jsxs)(vC,{open:A,onClose:function(){m(!1),l(Us(Us({},s),{},{activeMode:null,activeTool:null})),C(Us(Us({},w),{},{color:M[O]}))},"aria-labelledby":"alert-dialog-title","aria-describedby":"alert-dialog-description",children:[(0,Kl.jsx)(MC,{id:"alert-dialog-title",children:p}),(0,Kl.jsx)(_E,{children:(0,Kl.jsx)("form",{onSubmit:function(e){if(e.preventDefault(),null!==w&&void 0!==w&&w.amount){var t,n,o=null===c||void 0===c||null===(t=c.tools)||void 0===t?void 0:t.find((function(e){return e.brand.id===w.brand.id&&e.instrument===w.instrument}));if(o)u(Us(Us({},c),{},{currentTool:Us(Us({},o),{},{amount:null===w||void 0===w?void 0:w.amount,shape:5===w.technique?"arrow":"line",technique:null===w||void 0===w?void 0:w.technique})}));else null===c||void 0===c||null===(n=c.tools)||void 0===n||n.push(Us(Us({},w),{},{totalAmount:0,techniques:[]})),u({tools:(0,r.Z)(c.tools),currentTool:Us(Us({},w),{},{shape:5===w.technique?"arrow":"line",technique:null===w||void 0===w?void 0:w.technique,totalAmount:0})});L(),m(!1)}},children:(0,Kl.jsxs)(AC,{container:!0,direction:"column",justifyContent:"center",children:[(0,Kl.jsxs)(AC,{container:!0,direction:"column",spacing:2,children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(AJ.Z,{fullWidth:!0,children:(0,Kl.jsx)(Wu.Z,{select:!0,size:"small",name:"brand",label:"Brand",disabled:!(null!==k&&void 0!==k&&k.length)||1===(null===k||void 0===k?void 0:k.length),onChange:function(e){var t,n;C(Us(Us({},w),{},{brand:k.find((function(t){return t.id===e.target.value})),instrument:null===(t=k.find((function(t){return t.id===e.target.value})))||void 0===t||null===(n=t.instruments[0])||void 0===n?void 0:n.id}))},variant:"outlined",value:null===(o=w.brand)||void 0===o?void 0:o.id,children:null===k||void 0===k?void 0:k.map((function(e,t){return(0,Kl.jsx)(xd.Z,{value:e.id,children:e.title},"brand_".concat(e.id,"_").concat(t))}))})})}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(AJ.Z,{fullWidth:!0,children:(0,Kl.jsx)(Wu.Z,{select:!0,disabled:!(null!==N&&void 0!==N&&N.length)||1===(null===N||void 0===N?void 0:N.length),size:"small",name:"instrument",label:"Instrument",onChange:R,variant:"outlined",value:w.instrument,children:null===N||void 0===N?void 0:N.map((function(e,t){return(0,Kl.jsx)(xd.Z,{value:e.id,children:null===e||void 0===e?void 0:e.title},"instrument_".concat(e.id,"_").concat(t))}))})})}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(AJ.Z,{fullWidth:!0,children:(0,Kl.jsx)(Wu.Z,{select:!0,size:"small",name:"technique",label:"Technique",onChange:R,variant:"outlined",value:w.technique,children:null===y||void 0===y?void 0:y.map((function(e,t){return(0,Kl.jsx)(xd.Z,{value:e.id,children:e.name},"instrument_".concat(e.id,"_").concat(t))}))})})}),(0,Kl.jsxs)(AC,{container:!0,item:!0,direction:"row",spacing:2,children:[(0,Kl.jsx)(AC,{item:!0,xs:!0,children:(0,Kl.jsx)(AJ.Z,{fullWidth:!0,children:(0,Kl.jsx)(Wu.Z,{size:"small",variant:"outlined",name:"amount",type:"number",inputProps:{step:.01,min:.01,max:100},value:null===w||void 0===w?void 0:w.amount,onChange:function(e){C(Us(Us({},w),{},{amount:e.target.value}))},placeholder:"Amount"})})}),(0,Kl.jsx)(AC,{item:!0,xs:!0,children:(0,Kl.jsx)(AJ.Z,{fullWidth:!0,children:(0,Kl.jsx)(Wu.Z,{disabled:!0,size:"small",name:"measurement",label:"Measurement",variant:"outlined",value:null===T||void 0===T?void 0:T.name})})})]})]}),(0,Kl.jsx)(AC,{container:!0,justifyContent:"center",item:!0,style:{marginTop:20},children:(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(zd.Z,{type:"submit",variant:"contained",color:"primary",disabled:!w.brand||!w.instrument,children:"Add"})})})]})})})]})]})},MJ=function(e){e((function(e){var t;return Us(Us({},e),{},{tools:null===e||void 0===e||null===(t=e.tools)||void 0===t?void 0:t.map((function(t){if(t.brand.id===e.currentTool.brand.id&&t.instrument===e.currentTool.instrument){var n,r=null!==(n=null===t||void 0===t?void 0:t.techniques)&&void 0!==n?n:[];r.includes(e.currentTool.technique)||r.push(e.currentTool.technique),t.totalAmount=function(e,t){var n=Number(e)+Number(t);return Number(n.toFixed(2))}(t.totalAmount,e.currentTool.amount),t.techniques=r}return t}))})}))},OJ=function(t){var r=t.tools,o=t.toolsOptions,i=t.setToolsOptions,a=t.options,s=t.setOptions,l=t.techniques,c=(0,e.useContext)(fK),u=(0,n.Z)(c,1)[0],d=(0,e.useState)(!1),p=(0,n.Z)(d,2),f=p[0],h=p[1],b=(0,e.useState)(null),A=(0,n.Z)(b,2),m=A[0],g=A[1],v=(0,e.useState)({line:null,triangle:null,deltaY:null,deltaX:null,lastObj:null}),y=(0,n.Z)(v,2),M=y[0],O=y[1];(0,e.useEffect)((function(){return u&&(u.on("mouse:down",_),u.on("mouse:move",z),u.on("mouse:up",x),a.activeMode?(u.selection=!1,u.skipTargetFind=!0):(u.selection=!0,u.skipTargetFind=!1)),function(){u&&(u.off("mouse:down",_),u.off("mouse:move",z),u.off("mouse:up",x))}}),[u,a,M,f,m,o]);var _=function(e){var t,n,r,s;h(!0);var l=u.getPointer(e.e),c=["tenting","needle"].includes(a.activeMode)?null===o||void 0===o||null===(t=o.currentTool)||void 0===t?void 0:t.color:a.color;if(("arrow"===a.activeMode||["tenting","needle"].includes(a.activeMode)&&"arrow"===(null===o||void 0===o||null===(n=o.currentTool)||void 0===n?void 0:n.shape))&&!u.getActiveObject()){var d=[l.x,l.y,l.x,l.y],p=new bK.fabric.Line(d,{strokeWidth:3,fill:c,stroke:c,originX:"center",originY:"center",id:"temp",uuid:CK(),type:"line"}),f=(p.x1+p.x2)/2,b=(p.y1+p.y2)/2,A=p.left-f,m=p.top-b,v=new bK.fabric.Triangle({left:p.get("x1")+A,top:p.get("y1")+m,originX:"center",originY:"center",selectable:!1,pointType:"arrow_start",angle:-45,width:10,height:10,fill:c,id:"temp",uuid:p.uuid,type:"triangle"});u.add(p,v),O({line:p,triangle:v,deltaY:m,deltaX:A,lastObj:p})}if("dot"===a.activeMode&&!u.getActiveObject()){u.selection=!1;var y=new bK.fabric.Circle({top:l.y,left:l.x,originX:"center",originY:"center",radius:5,fill:a.color});u.add(y)}if("unit"===a.activeMode&&!u.getActiveObject()){u.selection=!1;var M=new bK.fabric.Text(String(o.currentTool.amount),{top:l.y-30,left:l.x-5,fontSize:20,fill:"white",editable:!1,shadow:{color:"black",offsetX:0,offsetY:0,blur:6},fontFamily:"Neuzeit Grotesk"}),_=new bK.fabric.Circle({top:l.y,left:l.x,originX:"center",originY:"center",radius:5,shadow:{color:"black",offsetX:0,offsetY:0,blur:2},fill:o.currentTool.color}),z=new bK.fabric.Group([M,_]);u.add(z),MJ(i)}if("bolus"===a.activeMode&&!u.getActiveObject()){u.selection=!1;var x=new bK.fabric.Text(String(o.currentTool.amount),{top:l.y-45,left:l.x-8,fontSize:20,fill:"white",editable:!1,shadow:{color:"black",offsetX:0,offsetY:0,blur:6},fontFamily:"Neuzeit Grotesk"}),w=new bK.fabric.Circle({top:l.y,left:l.x,originX:"center",originY:"center",radius:10,shadow:{color:"black",offsetX:0,offsetY:0,blur:2},fill:o.currentTool.color}),C=new bK.fabric.Group([x,w]);u.add(C),MJ(i)}if("microdroplet"===a.activeMode&&!u.getActiveObject()){u.selection=!1;var S=new bK.fabric.Text(String(o.currentTool.amount),{top:l.y-35,left:l.x-7,fontSize:20,fill:"white",editable:!1,shadow:{color:"black",offsetX:0,offsetY:0,blur:6},fontFamily:"Neuzeit Grotesk"}),E=new bK.fabric.Circle({top:l.y,left:l.x-15,originX:"center",originY:"center",radius:3,shadow:{color:"black",offsetX:0,offsetY:0,blur:2},fill:o.currentTool.color}),k=new bK.fabric.Circle({top:l.y+15,left:l.x,originX:"center",originY:"center",radius:3,shadow:{color:"black",offsetX:0,offsetY:0,blur:2},fill:o.currentTool.color}),D=new bK.fabric.Circle({top:l.y,left:l.x+15,originX:"center",originY:"center",radius:3,shadow:{color:"black",offsetX:0,offsetY:0,blur:2},fill:o.currentTool.color}),N=new bK.fabric.Group([S,E,k,D]);u.add(N),MJ(i)}if("fanning"===a.activeMode&&!u.getActiveObject()){u.selection=!1;var T=new bK.fabric.Text(String(o.currentTool.amount),{top:l.y-10,left:l.x+7,fontSize:20,fill:"white",editable:!1,shadow:{color:"black",offsetX:0,offsetY:0,blur:6},hasControls:!1,fontFamily:"Neuzeit Grotesk"}),j=[l.x,l.y,l.x-20,l.y-7],B=new bK.fabric.Line(j,{strokeWidth:3,fill:o.currentTool.color,stroke:o.currentTool.color,originX:"center",originY:"center",id:"temp",uuid:CK(),type:"line"}),L=[l.x-20,l.y,l.x,l.y],R=new bK.fabric.Line(L,{strokeWidth:3,fill:o.currentTool.color,stroke:o.currentTool.color,originX:"center",originY:"center",id:"temp",uuid:CK(),type:"line"}),q=[l.x-20,l.y+7,l.x,l.y],P=new bK.fabric.Line(q,{strokeWidth:3,fill:o.currentTool.color,stroke:o.currentTool.color,originX:"center",originY:"center",id:"temp",uuid:CK(),type:"line"}),I=new bK.fabric.Group([B,R,P],{hasControls:!0}),W=new bK.fabric.Group([I,T],{hasControls:!0});u.add(W),MJ(i)}if("line"===a.activeMode||"dash"===a.activeMode||("line"===(null===o||void 0===o||null===(r=o.currentTool)||void 0===r?void 0:r.shape)||"dash"===(null===o||void 0===o||null===(s=o.currentTool)||void 0===s?void 0:s.shape))&&["tenting","needle"].includes(a.activeMode)&&!u.getActiveObject()){u.selection=!1;var F=[l.x,l.y,l.x,l.y],U={strokeWidth:3,fill:c,stroke:c,originX:"center",originY:"center",id:"temp",uuid:CK(),type:"line"};("dash"===a.activeMode||["tenting","needle"].includes(a.activeMode)&&"dash"===o.currentTool.shape)&&(U.strokeDashArray=[8,8]);var Z=new bK.fabric.Line(F,U);u.add(Z),g(Z)}},z=function(e){var t,n,r,i=u.getPointer(e.e);("arrow"===a.activeMode||["tenting","needle"].includes(a.activeMode)&&"arrow"===(null===o||void 0===o||null===(t=o.currentTool)||void 0===t?void 0:t.shape))&&f&&!u.getActiveObject()&&M.line&&M.triangle&&(M.line.set({x2:i.x,y2:i.y}),M.triangle.set({left:i.x+M.deltaX,top:i.y+M.deltaY,angle:w(M.line.x1,M.line.y1,M.line.x2,M.line.y2)}),u.renderAll()),"line"!==a.activeMode&&"dash"!==a.activeMode&&("line"!==(null===o||void 0===o||null===(n=o.currentTool)||void 0===n?void 0:n.shape)&&"dash"!==(null===o||void 0===o||null===(r=o.currentTool)||void 0===r?void 0:r.shape)||!["tenting","needle"].includes(a.activeMode)||u.getActiveObject())||m&&(m.set({x2:i.x,y2:i.y}),u.renderAll())},x=function(e){var t,n;if(h(!1),"arrow"===a.activeMode||["tenting","needle"].includes(a.activeMode)&&"arrow"===(null===(t=o.currentTool)||void 0===t?void 0:t.shape)){if(M.line&&M.triangle){var r=[];if(["tenting","needle"].includes(a.activeMode)){var s=new bK.fabric.Text("".concat(o.currentTool.amount),{fontSize:20,fill:"white",type:"text",selectable:!1,left:M.line.left,top:M.line.top,uuid:M.line.uuid,shadow:{color:"black",offsetX:0,offsetY:0,blur:6},fontFamily:"Neuzeit Grotesk",angle:M.line.x1>M.line.x2?M.triangle.angle+90:M.triangle.angle-90});r.push(s)}var l=new bK.fabric.Group([].concat(r,[M.line,M.triangle]),{borderColor:"black",cornerColor:"green",lockScalingFlip:!0,typeOfGroup:"arrow",userLevel:1,name:"arrowGroup",uuid:M.lastObj.uuid,type:"group"});u.remove(M.line,M.triangle),(M.line.width>10||M.line.height>10)&&(u.add(l),MJ(i))}O({line:null,triangle:null,deltaY:null,deltaX:null,lastObj:null})}if(("line"===a.activeMode||"dash"===a.activeMode||["tenting","needle"].includes(a.activeMode)&&["line","dash"].includes(null===(n=o.currentTool)||void 0===n?void 0:n.shape))&&m){var c=[];if(["tenting","needle"].includes(a.activeMode)){var d=w(m.x1,m.y1,m.x2,m.y2),p=new bK.fabric.Text("".concat(o.currentTool.amount),{fontSize:20,fill:"white",type:"text",selectable:!1,left:m.left,top:m.top,uuid:m.uuid,shadow:{color:"black",offsetX:0,offsetY:0,blur:4},fontFamily:"Neuzeit Grotesk",angle:m.x1>m.x2?d+90:d-90});c.push(p)}var f=new bK.fabric.Group([].concat(c,[m]),{borderColor:"black",cornerColor:"green",lockScalingFlip:!0,typeOfGroup:"line",userLevel:1,name:"line"});u.remove(m),(m.width>10||m.height>10)&&(u.add(f),MJ(i)),g(null)}u.selection=!0},w=function(e,t,n,r){var o,i;return i=r-t,180*(0===(o=n-e)?0===i?0:i>0?Math.PI/2:3*Math.PI/2:0===i?o>0?0:Math.PI:o<0?Math.atan(i/o)+Math.PI:i<0?Math.atan(i/o)+2*Math.PI:Math.atan(i/o))/Math.PI+90};return(0,Kl.jsx)("div",{className:HK,children:r.map((function(e){return function(e){switch(e){case"marker":return(0,Kl.jsx)(sJ,{options:a,setOptions:s},e);case"text":return(0,Kl.jsx)(cJ,{options:a,setOptions:s},e);case"dot":return(0,Kl.jsx)(dJ,{options:a,setOptions:s},e);case"line":return(0,Kl.jsx)(bJ,{options:a,setOptions:s,type:"line"},e);case"dash":return(0,Kl.jsx)(bJ,{options:a,setOptions:s,type:"dash"},e);case"arrow":return(0,Kl.jsx)(bJ,{options:a,setOptions:s,type:"arrow"},e);case"botulinum":return(0,Kl.jsx)(yJ,{type:"botulinum",name:"Botulinum Toxin",options:a,setOptions:s,toolsOptions:o,setToolsOptions:i,initTechniques:l},e);case"dermal":return(0,Kl.jsx)(yJ,{type:"dermal",name:"Dermal Filler",options:a,setOptions:s,toolsOptions:o,setToolsOptions:i,initTechniques:l},e);case"other":return(0,Kl.jsx)(yJ,{type:"other",name:"Other",options:a,setOptions:s,toolsOptions:o,setToolsOptions:i,initTechniques:l},e);default:return null}}(e)}))})};var _J=function(e,t,n){var r=(e=e||{}).random||(e.rng||mK)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var o=0;o<16;++o)t[n+o]=r[o];return t}return zK(r)};var zJ=__webpack_require__.p+"static/media/camera.88aaf9ed410e794f9fa468e0da83b38a.svg";var xJ=__webpack_require__.p+"static/media/file.e49ed927d7bd486c53ed2b97b153709f.svg";function wJ(e,t){return new Promise((function(n,r){var o;return CJ(e).then((function(e){try{return o=e,n(new Blob([t.slice(0,2),o,t.slice(2)],{type:"image/jpeg"}))}catch(e){return r(e)}}),r)}))}var CJ=function(e){return new Promise((function(t,n){var r=new FileReader;r.addEventListener("load",(function(e){var r=e.target.result,o=new DataView(r),i=0;if(65496!==o.getUint16(i))return n("not a valid JPEG");for(i+=2;;){var a=o.getUint16(i);if(65498===a)break;var s=o.getUint16(i+2);if(65505===a&&1165519206===o.getUint32(i+4)){var l=i+10,c=void 0;switch(o.getUint16(l)){case 18761:c=!0;break;case 19789:c=!1;break;default:return n("TIFF header contains invalid endian")}if(42!==o.getUint16(l+2,c))return n("TIFF header contains invalid version");for(var u=o.getUint32(l+4,c),d=l+u+2+12*o.getUint16(l+u,c),p=l+u+2;p<d;p+=12)if(274==o.getUint16(p,c)){if(3!==o.getUint16(p+2,c))return n("Orientation data type is invalid");if(1!==o.getUint32(p+4,c))return n("Orientation data count is invalid");o.setUint16(p+8,1,c);break}return t(r.slice(i,i+2+s))}i+=2+s}return t(new Blob)})),r.readAsArrayBuffer(e)}))},SJ={},EJ={get exports(){return SJ},set exports(e){SJ=e}};!function(e){var t,n,r={};EJ.exports=r,r.parse=function(e,t){for(var n=r.bin.readUshort,o=r.bin.readUint,i=0,a={},s=new Uint8Array(e),l=s.length-4;101010256!=o(s,l);)l--;i=l,i+=4;var c=n(s,i+=4);n(s,i+=2);var u=o(s,i+=2),d=o(s,i+=4);i+=4,i=d;for(var p=0;p<c;p++){o(s,i),i+=4,i+=4,i+=4,o(s,i+=4),u=o(s,i+=4);var f=o(s,i+=4),h=n(s,i+=4),b=n(s,i+2),A=n(s,i+4);i+=6;var m=o(s,i+=8);i+=4,i+=h+b+A,r._readLocal(s,m,a,u,f,t)}return a},r._readLocal=function(e,t,n,o,i,a){var s=r.bin.readUshort,l=r.bin.readUint;l(e,t),s(e,t+=4),s(e,t+=2);var c=s(e,t+=2);l(e,t+=2),l(e,t+=4),t+=4;var u=s(e,t+=8),d=s(e,t+=2);t+=2;var p=r.bin.readUTF8(e,t,u);if(t+=u,t+=d,a)n[p]={size:i,csize:o};else{var f=new Uint8Array(e.buffer,t);if(0==c)n[p]=new Uint8Array(f.buffer.slice(t,t+o));else{if(8!=c)throw"unknown compression method: "+c;var h=new Uint8Array(i);r.inflateRaw(f,h),n[p]=h}}},r.inflateRaw=function(e,t){return r.F.inflate(e,t)},r.inflate=function(e,t){return e[0],e[1],r.inflateRaw(new Uint8Array(e.buffer,e.byteOffset+2,e.length-6),t)},r.deflate=function(e,t){null==t&&(t={level:6});var n=0,o=new Uint8Array(50+Math.floor(1.1*e.length));o[n]=120,o[n+1]=156,n+=2,n=r.F.deflateRaw(e,o,n,t.level);var i=r.adler(e,0,e.length);return o[n+0]=i>>>24&255,o[n+1]=i>>>16&255,o[n+2]=i>>>8&255,o[n+3]=i>>>0&255,new Uint8Array(o.buffer,0,n+4)},r.deflateRaw=function(e,t){null==t&&(t={level:6});var n=new Uint8Array(50+Math.floor(1.1*e.length)),o=r.F.deflateRaw(e,n,o,t.level);return new Uint8Array(n.buffer,0,o)},r.encode=function(e,t){null==t&&(t=!1);var n=0,o=r.bin.writeUint,i=r.bin.writeUshort,a={};for(var s in e){var l=!r._noNeed(s)&&!t,c=e[s],u=r.crc.crc(c,0,c.length);a[s]={cpr:l,usize:c.length,crc:u,file:l?r.deflateRaw(c):c}}for(var s in a)n+=a[s].file.length+30+46+2*r.bin.sizeUTF8(s);n+=22;var d=new Uint8Array(n),p=0,f=[];for(var s in a){var h=a[s];f.push(p),p=r._writeHeader(d,p,s,h,0)}var b=0,A=p;for(var s in a)h=a[s],f.push(p),p=r._writeHeader(d,p,s,h,1,f[b++]);var m=p-A;return o(d,p,101010256),p+=4,i(d,p+=4,b),i(d,p+=2,b),o(d,p+=2,m),o(d,p+=4,A),p+=4,p+=2,d.buffer},r._noNeed=function(e){var t=e.split(".").pop().toLowerCase();return-1!="png,jpg,jpeg,zip".indexOf(t)},r._writeHeader=function(e,t,n,o,i,a){var s=r.bin.writeUint,l=r.bin.writeUshort,c=o.file;return s(e,t,0==i?67324752:33639248),t+=4,1==i&&(t+=2),l(e,t,20),l(e,t+=2,0),l(e,t+=2,o.cpr?8:0),s(e,t+=2,0),s(e,t+=4,o.crc),s(e,t+=4,c.length),s(e,t+=4,o.usize),l(e,t+=4,r.bin.sizeUTF8(n)),l(e,t+=2,0),t+=2,1==i&&(t+=2,t+=2,s(e,t+=6,a),t+=4),t+=r.bin.writeUTF8(e,t,n),0==i&&(e.set(c,t),t+=c.length),t},r.crc={table:function(){for(var e=new Uint32Array(256),t=0;t<256;t++){for(var n=t,r=0;r<8;r++)1&n?n=3988292384^n>>>1:n>>>=1;e[t]=n}return e}(),update:function(e,t,n,o){for(var i=0;i<o;i++)e=r.crc.table[255&(e^t[n+i])]^e>>>8;return e},crc:function(e,t,n){return 4294967295^r.crc.update(4294967295,e,t,n)}},r.adler=function(e,t,n){for(var r=1,o=0,i=t,a=t+n;i<a;){for(var s=Math.min(i+5552,a);i<s;)o+=r+=e[i++];r%=65521,o%=65521}return o<<16|r},r.bin={readUshort:function(e,t){return e[t]|e[t+1]<<8},writeUshort:function(e,t,n){e[t]=255&n,e[t+1]=n>>8&255},readUint:function(e,t){return 16777216*e[t+3]+(e[t+2]<<16|e[t+1]<<8|e[t])},writeUint:function(e,t,n){e[t]=255&n,e[t+1]=n>>8&255,e[t+2]=n>>16&255,e[t+3]=n>>24&255},readASCII:function(e,t,n){for(var r="",o=0;o<n;o++)r+=String.fromCharCode(e[t+o]);return r},writeASCII:function(e,t,n){for(var r=0;r<n.length;r++)e[t+r]=n.charCodeAt(r)},pad:function(e){return e.length<2?"0"+e:e},readUTF8:function(e,t,n){for(var o,i="",a=0;a<n;a++)i+="%"+r.bin.pad(e[t+a].toString(16));try{o=decodeURIComponent(i)}catch(o){return r.bin.readASCII(e,t,n)}return o},writeUTF8:function(e,t,n){for(var r=n.length,o=0,i=0;i<r;i++){var a=n.charCodeAt(i);if(0==(4294967168&a))e[t+o]=a,o++;else if(0==(4294965248&a))e[t+o]=192|a>>6,e[t+o+1]=128|a>>0&63,o+=2;else if(0==(4294901760&a))e[t+o]=224|a>>12,e[t+o+1]=128|a>>6&63,e[t+o+2]=128|a>>0&63,o+=3;else{if(0!=(4292870144&a))throw"e";e[t+o]=240|a>>18,e[t+o+1]=128|a>>12&63,e[t+o+2]=128|a>>6&63,e[t+o+3]=128|a>>0&63,o+=4}}return o},sizeUTF8:function(e){for(var t=e.length,n=0,r=0;r<t;r++){var o=e.charCodeAt(r);if(0==(4294967168&o))n++;else if(0==(4294965248&o))n+=2;else if(0==(4294901760&o))n+=3;else{if(0!=(4292870144&o))throw"e";n+=4}}return n}},r.F={},r.F.deflateRaw=function(e,t,n,o){var i=[[0,0,0,0,0],[4,4,8,4,0],[4,5,16,8,0],[4,6,16,16,0],[4,10,16,32,0],[8,16,32,32,0],[8,16,128,128,0],[8,32,128,256,0],[32,128,258,1024,1],[32,258,258,4096,1]][o],a=r.F.U,s=r.F._goodIndex;r.F._hash;var l=r.F._putsE,c=0,u=n<<3,d=0,p=e.length;if(0==o){for(;c<p;)l(t,u,c+(z=Math.min(65535,p-c))==p?1:0),u=r.F._copyExact(e,c,z,t,u+8),c+=z;return u>>>3}var f=a.lits,h=a.strt,b=a.prev,A=0,m=0,g=0,v=0,y=0,M=0;for(p>2&&(h[M=r.F._hash(e,0)]=0),c=0;c<p;c++){if(y=M,c+1<p-2){M=r.F._hash(e,c+1);var O=c+1&32767;b[O]=h[M],h[M]=O}if(d<=c){(A>14e3||m>26697)&&p-c>100&&(d<c&&(f[A]=c-d,A+=2,d=c),u=r.F._writeBlock(c==p-1||d==p?1:0,f,A,v,e,g,c-g,t,u),A=m=v=0,g=c);var _=0;c<p-2&&(_=r.F._bestMatch(e,c,b,y,Math.min(i[2],p-c),i[3]));var z=_>>>16,x=65535&_;if(0!=_){x=65535&_;var w=s(z=_>>>16,a.of0);a.lhst[257+w]++;var C=s(x,a.df0);a.dhst[C]++,v+=a.exb[w]+a.dxb[C],f[A]=z<<23|c-d,f[A+1]=x<<16|w<<8|C,A+=2,d=c+z}else a.lhst[e[c]]++;m++}}for(g==c&&0!=e.length||(d<c&&(f[A]=c-d,A+=2,d=c),u=r.F._writeBlock(1,f,A,v,e,g,c-g,t,u),A=0,m=0,A=m=v=0,g=c);0!=(7&u);)u++;return u>>>3},r.F._bestMatch=function(e,t,n,o,i,a){var s=32767&t,l=n[s],c=s-l+32768&32767;if(l==s||o!=r.F._hash(e,t-c))return 0;for(var u=0,d=0,p=Math.min(32767,t);c<=p&&0!=--a&&l!=s;){if(0==u||e[t+u]==e[t+u-c]){var f=r.F._howLong(e,t,c);if(f>u){if(d=c,(u=f)>=i)break;c+2<f&&(f=c+2);for(var h=0,b=0;b<f-2;b++){var A=t-c+b+32768&32767,m=A-n[A]+32768&32767;m>h&&(h=m,l=A)}}}c+=(s=l)-(l=n[s])+32768&32767}return u<<16|d},r.F._howLong=function(e,t,n){if(e[t]!=e[t-n]||e[t+1]!=e[t+1-n]||e[t+2]!=e[t+2-n])return 0;var r=t,o=Math.min(e.length,t+258);for(t+=3;t<o&&e[t]==e[t-n];)t++;return t-r},r.F._hash=function(e,t){return(e[t]<<8|e[t+1])+(e[t+2]<<4)&65535},r.saved=0,r.F._writeBlock=function(e,t,n,o,i,a,s,l,c){var u,d,p,f,h,b,A,m,g,v=r.F.U,y=r.F._putsF,M=r.F._putsE;v.lhst[256]++,d=(u=r.F.getTrees())[0],p=u[1],f=u[2],h=u[3],b=u[4],A=u[5],m=u[6],g=u[7];var O=32+(0==(c+3&7)?0:8-(c+3&7))+(s<<3),_=o+r.F.contSize(v.fltree,v.lhst)+r.F.contSize(v.fdtree,v.dhst),z=o+r.F.contSize(v.ltree,v.lhst)+r.F.contSize(v.dtree,v.dhst);z+=14+3*A+r.F.contSize(v.itree,v.ihst)+(2*v.ihst[16]+3*v.ihst[17]+7*v.ihst[18]);for(var x=0;x<286;x++)v.lhst[x]=0;for(x=0;x<30;x++)v.dhst[x]=0;for(x=0;x<19;x++)v.ihst[x]=0;var w=O<_&&O<z?0:_<z?1:2;if(y(l,c,e),y(l,c+1,w),c+=3,0==w){for(;0!=(7&c);)c++;c=r.F._copyExact(i,a,s,l,c)}else{var C,S;if(1==w&&(C=v.fltree,S=v.fdtree),2==w){r.F.makeCodes(v.ltree,d),r.F.revCodes(v.ltree,d),r.F.makeCodes(v.dtree,p),r.F.revCodes(v.dtree,p),r.F.makeCodes(v.itree,f),r.F.revCodes(v.itree,f),C=v.ltree,S=v.dtree,M(l,c,h-257),M(l,c+=5,b-1),M(l,c+=5,A-4),c+=4;for(var E=0;E<A;E++)M(l,c+3*E,v.itree[1+(v.ordr[E]<<1)]);c+=3*A,c=r.F._codeTiny(m,v.itree,l,c),c=r.F._codeTiny(g,v.itree,l,c)}for(var k=a,D=0;D<n;D+=2){for(var N=t[D],T=N>>>23,j=k+(8388607&N);k<j;)c=r.F._writeLit(i[k++],C,l,c);if(0!=T){var B=t[D+1],L=B>>16,R=B>>8&255,q=255&B;M(l,c=r.F._writeLit(257+R,C,l,c),T-v.of0[R]),c+=v.exb[R],y(l,c=r.F._writeLit(q,S,l,c),L-v.df0[q]),c+=v.dxb[q],k+=T}}c=r.F._writeLit(256,C,l,c)}return c},r.F._copyExact=function(e,t,n,r,o){var i=o>>>3;return r[i]=n,r[i+1]=n>>>8,r[i+2]=255-r[i],r[i+3]=255-r[i+1],i+=4,r.set(new Uint8Array(e.buffer,t,n),i),o+(n+4<<3)},r.F.getTrees=function(){for(var e=r.F.U,t=r.F._hufTree(e.lhst,e.ltree,15),n=r.F._hufTree(e.dhst,e.dtree,15),o=[],i=r.F._lenCodes(e.ltree,o),a=[],s=r.F._lenCodes(e.dtree,a),l=0;l<o.length;l+=2)e.ihst[o[l]]++;for(l=0;l<a.length;l+=2)e.ihst[a[l]]++;for(var c=r.F._hufTree(e.ihst,e.itree,7),u=19;u>4&&0==e.itree[1+(e.ordr[u-1]<<1)];)u--;return[t,n,c,i,s,u,o,a]},r.F.getSecond=function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(e[n+1]);return t},r.F.nonZero=function(e){for(var t="",n=0;n<e.length;n+=2)0!=e[n+1]&&(t+=(n>>1)+",");return t},r.F.contSize=function(e,t){for(var n=0,r=0;r<t.length;r++)n+=t[r]*e[1+(r<<1)];return n},r.F._codeTiny=function(e,t,n,o){for(var i=0;i<e.length;i+=2){var a=e[i],s=e[i+1];o=r.F._writeLit(a,t,n,o);var l=16==a?2:17==a?3:7;a>15&&(r.F._putsE(n,o,s,l),o+=l)}return o},r.F._lenCodes=function(e,t){for(var n=e.length;2!=n&&0==e[n-1];)n-=2;for(var r=0;r<n;r+=2){var o=e[r+1],i=r+3<n?e[r+3]:-1,a=r+5<n?e[r+5]:-1,s=0==r?-1:e[r-1];if(0==o&&i==o&&a==o){for(var l=r+5;l+2<n&&e[l+2]==o;)l+=2;(c=Math.min(l+1-r>>>1,138))<11?t.push(17,c-3):t.push(18,c-11),r+=2*c-2}else if(o==s&&i==o&&a==o){for(l=r+5;l+2<n&&e[l+2]==o;)l+=2;var c=Math.min(l+1-r>>>1,6);t.push(16,c-3),r+=2*c-2}else t.push(o,0)}return n>>>1},r.F._hufTree=function(e,t,n){var o=[],i=e.length,a=t.length,s=0;for(s=0;s<a;s+=2)t[s]=0,t[s+1]=0;for(s=0;s<i;s++)0!=e[s]&&o.push({lit:s,f:e[s]});var l=o.length,c=o.slice(0);if(0==l)return 0;if(1==l){var u=o[0].lit;return c=0==u?1:0,t[1+(u<<1)]=1,t[1+(c<<1)]=1,1}o.sort((function(e,t){return e.f-t.f}));var d=o[0],p=o[1],f=0,h=1,b=2;for(o[0]={lit:-1,f:d.f+p.f,l:d,r:p,d:0};h!=l-1;)d=f!=h&&(b==l||o[f].f<o[b].f)?o[f++]:o[b++],p=f!=h&&(b==l||o[f].f<o[b].f)?o[f++]:o[b++],o[h++]={lit:-1,f:d.f+p.f,l:d,r:p};var A=r.F.setDepth(o[h-1],0);for(A>n&&(r.F.restrictDepth(c,n,A),A=n),s=0;s<l;s++)t[1+(c[s].lit<<1)]=c[s].d;return A},r.F.setDepth=function(e,t){return-1!=e.lit?(e.d=t,t):Math.max(r.F.setDepth(e.l,t+1),r.F.setDepth(e.r,t+1))},r.F.restrictDepth=function(e,t,n){var r=0,o=1<<n-t,i=0;for(e.sort((function(e,t){return t.d==e.d?e.f-t.f:t.d-e.d})),r=0;r<e.length&&e[r].d>t;r++){var a=e[r].d;e[r].d=t,i+=o-(1<<n-a)}for(i>>>=n-t;i>0;)(a=e[r].d)<t?(e[r].d++,i-=1<<t-a-1):r++;for(;r>=0;r--)e[r].d==t&&i<0&&(e[r].d--,i++);0!=i&&console.log("debt left")},r.F._goodIndex=function(e,t){var n=0;return t[16|n]<=e&&(n|=16),t[8|n]<=e&&(n|=8),t[4|n]<=e&&(n|=4),t[2|n]<=e&&(n|=2),t[1|n]<=e&&(n|=1),n},r.F._writeLit=function(e,t,n,o){return r.F._putsF(n,o,t[e<<1]),o+t[1+(e<<1)]},r.F.inflate=function(e,t){var n=Uint8Array;if(3==e[0]&&0==e[1])return t||new n(0);var o=r.F,i=o._bitsF,a=o._bitsE,s=o._decodeTiny,l=o.makeCodes,c=o.codes2map,u=o._get17,d=o.U,p=null==t;p&&(t=new n(e.length>>>2<<3));for(var f,h,b=0,A=0,m=0,g=0,v=0,y=0,M=0,O=0,_=0;0==b;)if(b=i(e,_,1),A=i(e,_+1,2),_+=3,0!=A){if(p&&(t=r.F._check(t,O+(1<<17))),1==A&&(f=d.flmap,h=d.fdmap,y=511,M=31),2==A){m=a(e,_,5)+257,g=a(e,_+5,5)+1,v=a(e,_+10,4)+4,_+=14;for(var z=0;z<38;z+=2)d.itree[z]=0,d.itree[z+1]=0;var x=1;for(z=0;z<v;z++){var w=a(e,_+3*z,3);d.itree[1+(d.ordr[z]<<1)]=w,w>x&&(x=w)}_+=3*v,l(d.itree,x),c(d.itree,x,d.imap),f=d.lmap,h=d.dmap,_=s(d.imap,(1<<x)-1,m+g,e,_,d.ttree);var C=o._copyOut(d.ttree,0,m,d.ltree);y=(1<<C)-1;var S=o._copyOut(d.ttree,m,g,d.dtree);M=(1<<S)-1,l(d.ltree,C),c(d.ltree,C,f),l(d.dtree,S),c(d.dtree,S,h)}for(;;){var E=f[u(e,_)&y];_+=15&E;var k=E>>>4;if(k>>>8==0)t[O++]=k;else{if(256==k)break;var D=O+k-254;if(k>264){var N=d.ldef[k-257];D=O+(N>>>3)+a(e,_,7&N),_+=7&N}var T=h[u(e,_)&M];_+=15&T;var j=T>>>4,B=d.ddef[j],L=(B>>>4)+i(e,_,15&B);for(_+=15&B,p&&(t=r.F._check(t,O+(1<<17)));O<D;)t[O]=t[O++-L],t[O]=t[O++-L],t[O]=t[O++-L],t[O]=t[O++-L];O=D}}}else{0!=(7&_)&&(_+=8-(7&_));var R=4+(_>>>3),q=e[R-4]|e[R-3]<<8;p&&(t=r.F._check(t,O+q)),t.set(new n(e.buffer,e.byteOffset+R,q),O),_=R+q<<3,O+=q}return t.length==O?t:t.slice(0,O)},r.F._check=function(e,t){var n=e.length;if(t<=n)return e;var r=new Uint8Array(Math.max(n<<1,t));return r.set(e,0),r},r.F._decodeTiny=function(e,t,n,o,i,a){for(var s=r.F._bitsE,l=r.F._get17,c=0;c<n;){var u=e[l(o,i)&t];i+=15&u;var d=u>>>4;if(d<=15)a[c]=d,c++;else{var p=0,f=0;16==d?(f=3+s(o,i,2),i+=2,p=a[c-1]):17==d?(f=3+s(o,i,3),i+=3):18==d&&(f=11+s(o,i,7),i+=7);for(var h=c+f;c<h;)a[c]=p,c++}}return i},r.F._copyOut=function(e,t,n,r){for(var o=0,i=0,a=r.length>>>1;i<n;){var s=e[i+t];r[i<<1]=0,r[1+(i<<1)]=s,s>o&&(o=s),i++}for(;i<a;)r[i<<1]=0,r[1+(i<<1)]=0,i++;return o},r.F.makeCodes=function(e,t){for(var n,o,i,a,s=r.F.U,l=e.length,c=s.bl_count,u=0;u<=t;u++)c[u]=0;for(u=1;u<l;u+=2)c[e[u]]++;var d=s.next_code;for(n=0,c[0]=0,o=1;o<=t;o++)n=n+c[o-1]<<1,d[o]=n;for(i=0;i<l;i+=2)0!=(a=e[i+1])&&(e[i]=d[a],d[a]++)},r.F.codes2map=function(e,t,n){for(var o=e.length,i=r.F.U.rev15,a=0;a<o;a+=2)if(0!=e[a+1])for(var s=a>>1,l=e[a+1],c=s<<4|l,u=t-l,d=e[a]<<u,p=d+(1<<u);d!=p;)n[i[d]>>>15-t]=c,d++},r.F.revCodes=function(e,t){for(var n=r.F.U.rev15,o=15-t,i=0;i<e.length;i+=2){var a=e[i]<<t-e[i+1];e[i]=n[a]>>>o}},r.F._putsE=function(e,t,n){n<<=7&t;var r=t>>>3;e[r]|=n,e[r+1]|=n>>>8},r.F._putsF=function(e,t,n){n<<=7&t;var r=t>>>3;e[r]|=n,e[r+1]|=n>>>8,e[r+2]|=n>>>16},r.F._bitsE=function(e,t,n){return(e[t>>>3]|e[1+(t>>>3)]<<8)>>>(7&t)&(1<<n)-1},r.F._bitsF=function(e,t,n){return(e[t>>>3]|e[1+(t>>>3)]<<8|e[2+(t>>>3)]<<16)>>>(7&t)&(1<<n)-1},r.F._get17=function(e,t){return(e[t>>>3]|e[1+(t>>>3)]<<8|e[2+(t>>>3)]<<16)>>>(7&t)},r.F._get25=function(e,t){return(e[t>>>3]|e[1+(t>>>3)]<<8|e[2+(t>>>3)]<<16|e[3+(t>>>3)]<<24)>>>(7&t)},r.F.U=(t=Uint16Array,n=Uint32Array,{next_code:new t(16),bl_count:new t(16),ordr:[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],of0:[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,999,999,999],exb:[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0],ldef:new t(32),df0:[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,65535,65535],dxb:[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0],ddef:new n(32),flmap:new t(512),fltree:[],fdmap:new t(32),fdtree:[],lmap:new t(32768),ltree:[],ttree:[],dmap:new t(32768),dtree:[],imap:new t(512),itree:[],rev15:new t(32768),lhst:new n(286),dhst:new n(30),ihst:new n(19),lits:new n(15e3),strt:new t(65536),prev:new t(32768)}),function(){for(var e=r.F.U,t=0;t<32768;t++){var n=t;n=(4278255360&(n=(4042322160&(n=(3435973836&(n=(2863311530&n)>>>1|(1431655765&n)<<1))>>>2|(858993459&n)<<2))>>>4|(252645135&n)<<4))>>>8|(16711935&n)<<8,e.rev15[t]=(n>>>16|n<<16)>>>17}function o(e,t,n){for(;0!=t--;)e.push(0,n)}for(t=0;t<32;t++)e.ldef[t]=e.of0[t]<<3|e.exb[t],e.ddef[t]=e.df0[t]<<4|e.dxb[t];o(e.fltree,144,8),o(e.fltree,112,9),o(e.fltree,24,7),o(e.fltree,8,8),r.F.makeCodes(e.fltree,9),r.F.codes2map(e.fltree,9,e.flmap),r.F.revCodes(e.fltree,9),o(e.fdtree,32,5),r.F.makeCodes(e.fdtree,5),r.F.codes2map(e.fdtree,5,e.fdmap),r.F.revCodes(e.fdtree,5),o(e.itree,19,0),o(e.ltree,286,0),o(e.dtree,30,0),o(e.ttree,320,0)}()}();var kJ=function(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}}))})),Object.freeze(e)}({__proto__:null,default:SJ},[SJ]),DJ=function(){var e={nextZero:function(e,t){for(;0!=e[t];)t++;return t},readUshort:function(e,t){return e[t]<<8|e[t+1]},writeUshort:function(e,t,n){e[t]=n>>8&255,e[t+1]=255&n},readUint:function(e,t){return 16777216*e[t]+(e[t+1]<<16|e[t+2]<<8|e[t+3])},writeUint:function(e,t,n){e[t]=n>>24&255,e[t+1]=n>>16&255,e[t+2]=n>>8&255,e[t+3]=255&n},readASCII:function(e,t,n){for(var r="",o=0;o<n;o++)r+=String.fromCharCode(e[t+o]);return r},writeASCII:function(e,t,n){for(var r=0;r<n.length;r++)e[t+r]=n.charCodeAt(r)},readBytes:function(e,t,n){for(var r=[],o=0;o<n;o++)r.push(e[t+o]);return r},pad:function(e){return e.length<2?"0".concat(e):e},readUTF8:function(t,n,r){for(var o,i="",a=0;a<r;a++)i+="%".concat(e.pad(t[n+a].toString(16)));try{o=decodeURIComponent(i)}catch(o){return e.readASCII(t,n,r)}return o}};function t(t,n,r,o){var a=n*r,s=i(o),l=Math.ceil(n*s/8),c=new Uint8Array(4*a),u=new Uint32Array(c.buffer),d=o.ctype,p=o.depth,f=e.readUshort;if(6==d){var h=a<<2;if(8==p)for(var b=0;b<h;b+=4)c[b]=t[b],c[b+1]=t[b+1],c[b+2]=t[b+2],c[b+3]=t[b+3];if(16==p)for(b=0;b<h;b++)c[b]=t[b<<1]}else if(2==d){var A=o.tabs.tRNS;if(null==A){if(8==p)for(b=0;b<a;b++){var m=3*b;u[b]=255<<24|t[m+2]<<16|t[m+1]<<8|t[m]}if(16==p)for(b=0;b<a;b++)m=6*b,u[b]=255<<24|t[m+4]<<16|t[m+2]<<8|t[m]}else{var g=A[0],v=A[1],y=A[2];if(8==p)for(b=0;b<a;b++){var M=b<<2;m=3*b,u[b]=255<<24|t[m+2]<<16|t[m+1]<<8|t[m],t[m]==g&&t[m+1]==v&&t[m+2]==y&&(c[M+3]=0)}if(16==p)for(b=0;b<a;b++)M=b<<2,m=6*b,u[b]=255<<24|t[m+4]<<16|t[m+2]<<8|t[m],f(t,m)==g&&f(t,m+2)==v&&f(t,m+4)==y&&(c[M+3]=0)}}else if(3==d){var O=o.tabs.PLTE,_=o.tabs.tRNS,z=_?_.length:0;if(1==p)for(var x=0;x<r;x++){var w=x*l,C=x*n;for(b=0;b<n;b++){M=C+b<<2;var S=3*(E=t[w+(b>>3)]>>7-((7&b)<<0)&1);c[M]=O[S],c[M+1]=O[S+1],c[M+2]=O[S+2],c[M+3]=E<z?_[E]:255}}if(2==p)for(x=0;x<r;x++)for(w=x*l,C=x*n,b=0;b<n;b++)M=C+b<<2,S=3*(E=t[w+(b>>2)]>>6-((3&b)<<1)&3),c[M]=O[S],c[M+1]=O[S+1],c[M+2]=O[S+2],c[M+3]=E<z?_[E]:255;if(4==p)for(x=0;x<r;x++)for(w=x*l,C=x*n,b=0;b<n;b++)M=C+b<<2,S=3*(E=t[w+(b>>1)]>>4-((1&b)<<2)&15),c[M]=O[S],c[M+1]=O[S+1],c[M+2]=O[S+2],c[M+3]=E<z?_[E]:255;if(8==p)for(b=0;b<a;b++){var E;M=b<<2,S=3*(E=t[b]),c[M]=O[S],c[M+1]=O[S+1],c[M+2]=O[S+2],c[M+3]=E<z?_[E]:255}}else if(4==d){if(8==p)for(b=0;b<a;b++){M=b<<2;var k=t[D=b<<1];c[M]=k,c[M+1]=k,c[M+2]=k,c[M+3]=t[D+1]}if(16==p)for(b=0;b<a;b++){var D;M=b<<2,k=t[D=b<<2],c[M]=k,c[M+1]=k,c[M+2]=k,c[M+3]=t[D+2]}}else if(0==d)for(g=o.tabs.tRNS?o.tabs.tRNS:-1,x=0;x<r;x++){var N=x*l,T=x*n;if(1==p)for(var j=0;j<n;j++){var B=(k=255*(t[N+(j>>>3)]>>>7-(7&j)&1))==255*g?0:255;u[T+j]=B<<24|k<<16|k<<8|k}else if(2==p)for(j=0;j<n;j++)B=(k=85*(t[N+(j>>>2)]>>>6-((3&j)<<1)&3))==85*g?0:255,u[T+j]=B<<24|k<<16|k<<8|k;else if(4==p)for(j=0;j<n;j++)B=(k=17*(t[N+(j>>>1)]>>>4-((1&j)<<2)&15))==17*g?0:255,u[T+j]=B<<24|k<<16|k<<8|k;else if(8==p)for(j=0;j<n;j++)B=(k=t[N+j])==g?0:255,u[T+j]=B<<24|k<<16|k<<8|k;else if(16==p)for(j=0;j<n;j++)k=t[N+(j<<1)],B=f(t,N+(j<<1))==g?0:255,u[T+j]=B<<24|k<<16|k<<8|k}return c}function n(e,t,n,s){var l=i(e),c=Math.ceil(n*l/8),u=new Uint8Array((c+1+e.interlace)*s);return t=e.tabs.CgBI?o(t,u):r(t,u),0==e.interlace?t=a(t,e,0,n,s):1==e.interlace&&(t=function(e,t){for(var n=t.width,r=t.height,o=i(t),s=o>>3,l=Math.ceil(n*o/8),c=new Uint8Array(r*l),u=0,d=[0,0,4,0,2,0,1],p=[0,4,0,2,0,1,0],f=[8,8,8,4,4,2,2],h=[8,8,4,4,2,2,1],b=0;b<7;){for(var A=f[b],m=h[b],g=0,v=0,y=d[b];y<r;)y+=A,v++;for(var M=p[b];M<n;)M+=m,g++;var O=Math.ceil(g*o/8);a(e,t,u,g,v);for(var _=0,z=d[b];z<r;){for(var x=p[b],w=u+_*O<<3;x<n;){var C;if(1==o&&(C=(C=e[w>>3])>>7-(7&w)&1,c[z*l+(x>>3)]|=C<<7-((7&x)<<0)),2==o&&(C=(C=e[w>>3])>>6-(7&w)&3,c[z*l+(x>>2)]|=C<<6-((3&x)<<1)),4==o&&(C=(C=e[w>>3])>>4-(7&w)&15,c[z*l+(x>>1)]|=C<<4-((1&x)<<2)),o>=8)for(var S=z*l+x*s,E=0;E<s;E++)c[S+E]=e[(w>>3)+E];w+=o,x+=m}_++,z+=A}g*v!=0&&(u+=v*(1+O)),b+=1}return c}(t,e)),t}function r(e,t){return o(new Uint8Array(e.buffer,2,e.length-6),t)}var o=function(){var e={H:{}};return e.H.N=function(t,n){var r,o,i=Uint8Array,a=0,s=0,l=0,c=0,u=0,d=0,p=0,f=0,h=0;if(3==t[0]&&0==t[1])return n||new i(0);var b=e.H,A=b.b,m=b.e,g=b.R,v=b.n,y=b.A,M=b.Z,O=b.m,_=null==n;for(_&&(n=new i(t.length>>>2<<5));0==a;)if(a=A(t,h,1),s=A(t,h+1,2),h+=3,0!=s){if(_&&(n=e.H.W(n,f+(1<<17))),1==s&&(r=O.J,o=O.h,d=511,p=31),2==s){l=m(t,h,5)+257,c=m(t,h+5,5)+1,u=m(t,h+10,4)+4,h+=14;for(var z=1,x=0;x<38;x+=2)O.Q[x]=0,O.Q[x+1]=0;for(x=0;x<u;x++){var w=m(t,h+3*x,3);O.Q[1+(O.X[x]<<1)]=w,w>z&&(z=w)}h+=3*u,v(O.Q,z),y(O.Q,z,O.u),r=O.w,o=O.d,h=g(O.u,(1<<z)-1,l+c,t,h,O.v);var C=b.V(O.v,0,l,O.C);d=(1<<C)-1;var S=b.V(O.v,l,c,O.D);p=(1<<S)-1,v(O.C,C),y(O.C,C,r),v(O.D,S),y(O.D,S,o)}for(;;){var E=r[M(t,h)&d];h+=15&E;var k=E>>>4;if(k>>>8==0)n[f++]=k;else{if(256==k)break;var D=f+k-254;if(k>264){var N=O.q[k-257];D=f+(N>>>3)+m(t,h,7&N),h+=7&N}var T=o[M(t,h)&p];h+=15&T;var j=T>>>4,B=O.c[j],L=(B>>>4)+A(t,h,15&B);for(h+=15&B;f<D;)n[f]=n[f++-L],n[f]=n[f++-L],n[f]=n[f++-L],n[f]=n[f++-L];f=D}}}else{0!=(7&h)&&(h+=8-(7&h));var R=4+(h>>>3),q=t[R-4]|t[R-3]<<8;_&&(n=e.H.W(n,f+q)),n.set(new i(t.buffer,t.byteOffset+R,q),f),h=R+q<<3,f+=q}return n.length==f?n:n.slice(0,f)},e.H.W=function(e,t){var n=e.length;if(t<=n)return e;var r=new Uint8Array(n<<1);return r.set(e,0),r},e.H.R=function(t,n,r,o,i,a){for(var s=e.H.e,l=e.H.Z,c=0;c<r;){var u=t[l(o,i)&n];i+=15&u;var d=u>>>4;if(d<=15)a[c]=d,c++;else{var p=0,f=0;16==d?(f=3+s(o,i,2),i+=2,p=a[c-1]):17==d?(f=3+s(o,i,3),i+=3):18==d&&(f=11+s(o,i,7),i+=7);for(var h=c+f;c<h;)a[c]=p,c++}}return i},e.H.V=function(e,t,n,r){for(var o=0,i=0,a=r.length>>>1;i<n;){var s=e[i+t];r[i<<1]=0,r[1+(i<<1)]=s,s>o&&(o=s),i++}for(;i<a;)r[i<<1]=0,r[1+(i<<1)]=0,i++;return o},e.H.n=function(t,n){for(var r,o,i,a,s=e.H.m,l=t.length,c=s.j,u=0;u<=n;u++)c[u]=0;for(u=1;u<l;u+=2)c[t[u]]++;var d=s.K;for(r=0,c[0]=0,o=1;o<=n;o++)r=r+c[o-1]<<1,d[o]=r;for(i=0;i<l;i+=2)0!=(a=t[i+1])&&(t[i]=d[a],d[a]++)},e.H.A=function(t,n,r){for(var o=t.length,i=e.H.m.r,a=0;a<o;a+=2)if(0!=t[a+1])for(var s=a>>1,l=t[a+1],c=s<<4|l,u=n-l,d=t[a]<<u,p=d+(1<<u);d!=p;)r[i[d]>>>15-n]=c,d++},e.H.l=function(t,n){for(var r=e.H.m.r,o=15-n,i=0;i<t.length;i+=2){var a=t[i]<<n-t[i+1];t[i]=r[a]>>>o}},e.H.M=function(e,t,n){n<<=7&t;var r=t>>>3;e[r]|=n,e[r+1]|=n>>>8},e.H.I=function(e,t,n){n<<=7&t;var r=t>>>3;e[r]|=n,e[r+1]|=n>>>8,e[r+2]|=n>>>16},e.H.e=function(e,t,n){return(e[t>>>3]|e[1+(t>>>3)]<<8)>>>(7&t)&(1<<n)-1},e.H.b=function(e,t,n){return(e[t>>>3]|e[1+(t>>>3)]<<8|e[2+(t>>>3)]<<16)>>>(7&t)&(1<<n)-1},e.H.Z=function(e,t){return(e[t>>>3]|e[1+(t>>>3)]<<8|e[2+(t>>>3)]<<16)>>>(7&t)},e.H.i=function(e,t){return(e[t>>>3]|e[1+(t>>>3)]<<8|e[2+(t>>>3)]<<16|e[3+(t>>>3)]<<24)>>>(7&t)},e.H.m=function(){var e=Uint16Array,t=Uint32Array;return{K:new e(16),j:new e(16),X:[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],S:[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,999,999,999],T:[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0],q:new e(32),p:[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,65535,65535],z:[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0],c:new t(32),J:new e(512),_:[],h:new e(32),$:[],w:new e(32768),C:[],v:[],d:new e(32768),D:[],u:new e(512),Q:[],r:new e(32768),s:new t(286),Y:new t(30),a:new t(19),t:new t(15e3),k:new e(65536),g:new e(32768)}}(),function(){for(var t=e.H.m,n=0;n<32768;n++){var r=n;r=(4278255360&(r=(4042322160&(r=(3435973836&(r=(2863311530&r)>>>1|(1431655765&r)<<1))>>>2|(858993459&r)<<2))>>>4|(252645135&r)<<4))>>>8|(16711935&r)<<8,t.r[n]=(r>>>16|r<<16)>>>17}function o(e,t,n){for(;0!=t--;)e.push(0,n)}for(n=0;n<32;n++)t.q[n]=t.S[n]<<3|t.T[n],t.c[n]=t.p[n]<<4|t.z[n];o(t._,144,8),o(t._,112,9),o(t._,24,7),o(t._,8,8),e.H.n(t._,9),e.H.A(t._,9,t.J),e.H.l(t._,9),o(t.$,32,5),e.H.n(t.$,5),e.H.A(t.$,5,t.h),e.H.l(t.$,5),o(t.Q,19,0),o(t.C,286,0),o(t.D,30,0),o(t.v,320,0)}(),e.H.N}();function i(e){return[1,null,3,1,2,null,4][e.ctype]*e.depth}function a(e,t,n,r,o){var a,l,c=i(t),u=Math.ceil(r*c/8);c=Math.ceil(c/8);var d=e[n],p=0;if(d>1&&(e[n]=[0,0,1][d-2]),3==d)for(p=c;p<u;p++)e[p+1]=e[p+1]+(e[p+1-c]>>>1)&255;for(var f=0;f<o;f++)if(p=0,0==(d=e[(l=(a=n+f*u)+f+1)-1]))for(;p<u;p++)e[a+p]=e[l+p];else if(1==d){for(;p<c;p++)e[a+p]=e[l+p];for(;p<u;p++)e[a+p]=e[l+p]+e[a+p-c]}else if(2==d)for(;p<u;p++)e[a+p]=e[l+p]+e[a+p-u];else if(3==d){for(;p<c;p++)e[a+p]=e[l+p]+(e[a+p-u]>>>1);for(;p<u;p++)e[a+p]=e[l+p]+(e[a+p-u]+e[a+p-c]>>>1)}else{for(;p<c;p++)e[a+p]=e[l+p]+s(0,e[a+p-u],0);for(;p<u;p++)e[a+p]=e[l+p]+s(e[a+p-c],e[a+p-u],e[a+p-c-u])}return e}function s(e,t,n){var r=e+t-n,o=r-e,i=r-t,a=r-n;return o*o<=i*i&&o*o<=a*a?e:i*i<=a*a?t:n}function l(t,n,r){r.width=e.readUint(t,n),n+=4,r.height=e.readUint(t,n),n+=4,r.depth=t[n],n++,r.ctype=t[n],n++,r.compress=t[n],n++,r.filter=t[n],n++,r.interlace=t[n],n++}function c(e,t,n,r,o,i,a,s,l){for(var c=Math.min(t,o),u=Math.min(n,i),d=0,p=0,f=0;f<u;f++)for(var h=0;h<c;h++)if(a>=0&&s>=0?(d=f*t+h<<2,p=(s+f)*o+a+h<<2):(d=(-s+f)*t-a+h<<2,p=f*o+h<<2),0==l)r[p]=e[d],r[p+1]=e[d+1],r[p+2]=e[d+2],r[p+3]=e[d+3];else if(1==l){var b=e[d+3]*(1/255),A=e[d]*b,m=e[d+1]*b,g=e[d+2]*b,v=r[p+3]*(1/255),y=r[p]*v,M=r[p+1]*v,O=r[p+2]*v,_=1-b,z=b+v*_,x=0==z?0:1/z;r[p+3]=255*z,r[p+0]=(A+y*_)*x,r[p+1]=(m+M*_)*x,r[p+2]=(g+O*_)*x}else if(2==l)b=e[d+3],A=e[d],m=e[d+1],g=e[d+2],v=r[p+3],y=r[p],M=r[p+1],O=r[p+2],b==v&&A==y&&m==M&&g==O?(r[p]=0,r[p+1]=0,r[p+2]=0,r[p+3]=0):(r[p]=A,r[p+1]=m,r[p+2]=g,r[p+3]=b);else if(3==l){if(b=e[d+3],A=e[d],m=e[d+1],g=e[d+2],v=r[p+3],y=r[p],M=r[p+1],O=r[p+2],b==v&&A==y&&m==M&&g==O)continue;if(b<220&&v>20)return!1}return!0}return{decode:function(t){for(var i,a,s=new Uint8Array(t),c=8,u=e,d=u.readUshort,p=u.readUint,f={tabs:{},frames:[]},h=new Uint8Array(s.length),b=0,A=0,m=[137,80,78,71,13,10,26,10],g=0;g<8;g++)if(s[g]!=m[g])throw"The input is not a PNG file!";for(;c<s.length;){var v=u.readUint(s,c);c+=4;var y=u.readASCII(s,c,4);if(c+=4,"IHDR"==y)l(s,c,f);else if("iCCP"==y){for(var M=c;0!=s[M];)M++;u.readASCII(s,c,M-c),s[M+1];var O=s.slice(M+2,c+v),_=null;try{_=r(O)}catch(e){_=o(O)}f.tabs[y]=_}else if("CgBI"==y)f.tabs[y]=s.slice(c,c+4);else if("IDAT"==y){for(g=0;g<v;g++)h[b+g]=s[c+g];b+=v}else if("acTL"==y)f.tabs[y]={num_frames:p(s,c),num_plays:p(s,c+4)},i=new Uint8Array(s.length);else if("fcTL"==y){0!=A&&((a=f.frames[f.frames.length-1]).data=n(f,i.slice(0,A),a.rect.width,a.rect.height),A=0);var z={x:p(s,c+12),y:p(s,c+16),width:p(s,c+4),height:p(s,c+8)},x=d(s,c+22);x=d(s,c+20)/(0==x?100:x);var w={rect:z,delay:Math.round(1e3*x),dispose:s[c+24],blend:s[c+25]};f.frames.push(w)}else if("fdAT"==y){for(g=0;g<v-4;g++)i[A+g]=s[c+g+4];A+=v-4}else if("pHYs"==y)f.tabs[y]=[u.readUint(s,c),u.readUint(s,c+4),s[c+8]];else if("cHRM"==y)for(f.tabs[y]=[],g=0;g<8;g++)f.tabs[y].push(u.readUint(s,c+4*g));else if("tEXt"==y||"zTXt"==y){null==f.tabs[y]&&(f.tabs[y]={});var C=u.nextZero(s,c),S=u.readASCII(s,c,C-c),E=c+v-C-1;if("tEXt"==y)D=u.readASCII(s,C+1,E);else{var k=r(s.slice(C+2,C+2+E));D=u.readUTF8(k,0,k.length)}f.tabs[y][S]=D}else if("iTXt"==y){null==f.tabs[y]&&(f.tabs[y]={}),C=0,M=c,C=u.nextZero(s,M),S=u.readASCII(s,M,C-M);var D,N=s[M=C+1];s[M+1],M+=2,C=u.nextZero(s,M),u.readASCII(s,M,C-M),M=C+1,C=u.nextZero(s,M),u.readUTF8(s,M,C-M),E=v-((M=C+1)-c),0==N?D=u.readUTF8(s,M,E):(k=r(s.slice(M,M+E)),D=u.readUTF8(k,0,k.length)),f.tabs[y][S]=D}else if("PLTE"==y)f.tabs[y]=u.readBytes(s,c,v);else if("hIST"==y){var T=f.tabs.PLTE.length/3;for(f.tabs[y]=[],g=0;g<T;g++)f.tabs[y].push(d(s,c+2*g))}else if("tRNS"==y)3==f.ctype?f.tabs[y]=u.readBytes(s,c,v):0==f.ctype?f.tabs[y]=d(s,c):2==f.ctype&&(f.tabs[y]=[d(s,c),d(s,c+2),d(s,c+4)]);else if("gAMA"==y)f.tabs[y]=u.readUint(s,c)/1e5;else if("sRGB"==y)f.tabs[y]=s[c];else if("bKGD"==y)0==f.ctype||4==f.ctype?f.tabs[y]=[d(s,c)]:2==f.ctype||6==f.ctype?f.tabs[y]=[d(s,c),d(s,c+2),d(s,c+4)]:3==f.ctype&&(f.tabs[y]=s[c]);else if("IEND"==y)break;c+=v,u.readUint(s,c),c+=4}return 0!=A&&((a=f.frames[f.frames.length-1]).data=n(f,i.slice(0,A),a.rect.width,a.rect.height)),f.data=n(f,h,f.width,f.height),delete f.compress,delete f.interlace,delete f.filter,f},toRGBA8:function(e){var n=e.width,r=e.height;if(null==e.tabs.acTL)return[t(e.data,n,r,e).buffer];var o=[];null==e.frames[0].data&&(e.frames[0].data=e.data);for(var i=n*r*4,a=new Uint8Array(i),s=new Uint8Array(i),l=new Uint8Array(i),u=0;u<e.frames.length;u++){var d=e.frames[u],p=d.rect.x,f=d.rect.y,h=d.rect.width,b=d.rect.height,A=t(d.data,h,b,e);if(0!=u)for(var m=0;m<i;m++)l[m]=a[m];if(0==d.blend?c(A,h,b,a,n,r,p,f,0):1==d.blend&&c(A,h,b,a,n,r,p,f,1),o.push(a.buffer.slice(0)),0==d.dispose);else if(1==d.dispose)c(s,h,b,a,n,r,p,f,0);else if(2==d.dispose)for(m=0;m<i;m++)a[m]=l[m]}return o},_paeth:s,_copyTile:c,_bin:e}}();!function(){var e=DJ._copyTile,t=DJ._bin,n=DJ._paeth,r={table:function(){for(var e=new Uint32Array(256),t=0;t<256;t++){for(var n=t,r=0;r<8;r++)1&n?n=3988292384^n>>>1:n>>>=1;e[t]=n}return e}(),update:function(e,t,n,o){for(var i=0;i<o;i++)e=r.table[255&(e^t[n+i])]^e>>>8;return e},crc:function(e,t,n){return 4294967295^r.update(4294967295,e,t,n)}};function o(e,t,n,r){t[n]+=e[0]*r>>4,t[n+1]+=e[1]*r>>4,t[n+2]+=e[2]*r>>4,t[n+3]+=e[3]*r>>4}function i(e){return Math.max(0,Math.min(255,e))}function a(e,t){var n=e[0]-t[0],r=e[1]-t[1],o=e[2]-t[2],i=e[3]-t[3];return n*n+r*r+o*o+i*i}function s(e,t,n,r,s,l,c){null==c&&(c=1);for(var u=r.length,d=[],p=0;p<u;p++){var f=r[p];d.push([f>>>0&255,f>>>8&255,f>>>16&255,f>>>24&255])}for(p=0;p<u;p++)for(var h=4294967295,b=0,A=0;A<u;A++){var m=a(d[p],d[A]);A!=p&&m<h&&(h=m,b=A)}var g=new Uint32Array(s.buffer),v=new Int16Array(t*n*4),y=[0,8,2,10,12,4,14,6,3,11,1,9,15,7,13,5];for(p=0;p<y.length;p++)y[p]=255*((y[p]+.5)/16-.5);for(var M=0;M<n;M++)for(var O=0;O<t;O++){var _;p=4*(M*t+O),2!=c?_=[i(e[p]+v[p]),i(e[p+1]+v[p+1]),i(e[p+2]+v[p+2]),i(e[p+3]+v[p+3])]:(m=y[4*(3&M)+(3&O)],_=[i(e[p]+m),i(e[p+1]+m),i(e[p+2]+m),i(e[p+3]+m)]),b=0;var z=16777215;for(A=0;A<u;A++){var x=a(_,d[A]);x<z&&(z=x,b=A)}var w=d[b],C=[_[0]-w[0],_[1]-w[1],_[2]-w[2],_[3]-w[3]];1==c&&(O!=t-1&&o(C,v,p+4,7),M!=n-1&&(0!=O&&o(C,v,p+4*t-4,3),o(C,v,p+4*t,5),O!=t-1&&o(C,v,p+4*t+4,1))),l[p>>2]=b,g[p>>2]=r[b]}}function l(e,n,o,i,a){null==a&&(a={});var s,l=r.crc,c=t.writeUint,u=t.writeUshort,d=t.writeASCII,p=8,f=e.frames.length>1,h=!1,b=33+(f?20:0);if(null!=a.sRGB&&(b+=13),null!=a.pHYs&&(b+=21),null!=a.iCCP&&(b+=21+(s=pako.deflate(a.iCCP)).length+4),3==e.ctype){for(var A=e.plte.length,m=0;m<A;m++)e.plte[m]>>>24!=255&&(h=!0);b+=8+3*A+4+(h?8+1*A+4:0)}for(var g=0;g<e.frames.length;g++)f&&(b+=38),b+=(S=e.frames[g]).cimg.length+12,0!=g&&(b+=4);b+=12;var v=new Uint8Array(b),y=[137,80,78,71,13,10,26,10];for(m=0;m<8;m++)v[m]=y[m];if(c(v,p,13),d(v,p+=4,"IHDR"),c(v,p+=4,n),c(v,p+=4,o),v[p+=4]=e.depth,v[++p]=e.ctype,v[++p]=0,v[++p]=0,v[++p]=0,c(v,++p,l(v,p-17,17)),p+=4,null!=a.sRGB&&(c(v,p,1),d(v,p+=4,"sRGB"),v[p+=4]=a.sRGB,c(v,++p,l(v,p-5,5)),p+=4),null!=a.iCCP){var M=13+s.length;c(v,p,M),d(v,p+=4,"iCCP"),d(v,p+=4,"ICC profile"),p+=11,p+=2,v.set(s,p),c(v,p+=s.length,l(v,p-(M+4),M+4)),p+=4}if(null!=a.pHYs&&(c(v,p,9),d(v,p+=4,"pHYs"),c(v,p+=4,a.pHYs[0]),c(v,p+=4,a.pHYs[1]),v[p+=4]=a.pHYs[2],c(v,++p,l(v,p-13,13)),p+=4),f&&(c(v,p,8),d(v,p+=4,"acTL"),c(v,p+=4,e.frames.length),c(v,p+=4,null!=a.loop?a.loop:0),c(v,p+=4,l(v,p-12,12)),p+=4),3==e.ctype){for(c(v,p,3*(A=e.plte.length)),d(v,p+=4,"PLTE"),p+=4,m=0;m<A;m++){var O=3*m,_=e.plte[m],z=255&_,x=_>>>8&255,w=_>>>16&255;v[p+O+0]=z,v[p+O+1]=x,v[p+O+2]=w}if(c(v,p+=3*A,l(v,p-3*A-4,3*A+4)),p+=4,h){for(c(v,p,A),d(v,p+=4,"tRNS"),p+=4,m=0;m<A;m++)v[p+m]=e.plte[m]>>>24&255;c(v,p+=A,l(v,p-A-4,A+4)),p+=4}}var C=0;for(g=0;g<e.frames.length;g++){var S=e.frames[g];f&&(c(v,p,26),d(v,p+=4,"fcTL"),c(v,p+=4,C++),c(v,p+=4,S.rect.width),c(v,p+=4,S.rect.height),c(v,p+=4,S.rect.x),c(v,p+=4,S.rect.y),u(v,p+=4,i[g]),u(v,p+=2,1e3),v[p+=2]=S.dispose,v[++p]=S.blend,c(v,++p,l(v,p-30,30)),p+=4);var E=S.cimg;c(v,p,(A=E.length)+(0==g?0:4));var k=p+=4;d(v,p,0==g?"IDAT":"fdAT"),p+=4,0!=g&&(c(v,p,C++),p+=4),v.set(E,p),c(v,p+=A,l(v,k,p-k)),p+=4}return c(v,p,0),d(v,p+=4,"IEND"),c(v,p+=4,l(v,p-4,4)),p+=4,v.buffer}function c(e,t,n){for(var r=0;r<e.frames.length;r++){var o=e.frames[r];o.rect.width;var i=o.rect.height,a=new Uint8Array(i*o.bpl+i);o.cimg=f(o.img,i,o.bpp,o.bpl,a,t,n)}}function u(t,n,r,o,i){for(var a=i[0],l=i[1],c=i[2],u=i[3],f=i[4],h=i[5],A=6,m=8,g=255,v=0;v<t.length;v++)for(var y=new Uint8Array(t[v]),M=y.length,O=0;O<M;O+=4)g&=y[O+3];var _=255!=g,z=function(t,n,r,o,i,a){for(var s=[],l=0;l<t.length;l++){var c,u=new Uint8Array(t[l]),f=new Uint32Array(u.buffer),h=0,b=0,A=n,m=r,g=o?1:0;if(0!=l){for(var v=a||o||1==l||0!=s[l-2].dispose?1:2,y=0,M=1e9,O=0;O<v;O++){for(var _=new Uint8Array(t[l-1-O]),z=new Uint32Array(t[l-1-O]),x=n,w=r,C=-1,S=-1,E=0;E<r;E++)for(var k=0;k<n;k++)f[R=E*n+k]!=z[R]&&(k<x&&(x=k),k>C&&(C=k),E<w&&(w=E),E>S&&(S=E));-1==C&&(x=w=C=S=0),i&&(1==(1&x)&&x--,1==(1&w)&&w--);var D=(C-x+1)*(S-w+1);D<M&&(M=D,y=O,h=x,b=w,A=C-x+1,m=S-w+1)}_=new Uint8Array(t[l-1-y]),1==y&&(s[l-1].dispose=2),c=new Uint8Array(A*m*4),e(_,n,r,c,A,m,-h,-b,0),1==(g=e(u,n,r,c,A,m,-h,-b,3)?1:0)?p(u,n,r,c,{x:h,y:b,width:A,height:m}):e(u,n,r,c,A,m,-h,-b,0)}else c=u.slice(0);s.push({rect:{x:h,y:b,width:A,height:m},img:c,blend:g,dispose:0})}if(o)for(l=0;l<s.length;l++)if(1!=(q=s[l]).blend){var N=q.rect,T=s[l-1].rect,j=Math.min(N.x,T.x),B=Math.min(N.y,T.y),L={x:j,y:B,width:Math.max(N.x+N.width,T.x+T.width)-j,height:Math.max(N.y+N.height,T.y+T.height)-B};s[l-1].dispose=1,l-1!=0&&d(t,n,r,s,l-1,L,i),d(t,n,r,s,l,L,i)}if(1!=t.length)for(var R=0;R<s.length;R++){var q;(q=s[R]).rect.width*q.rect.height}return s}(t,n,r,a,l,c),x={},w=[],C=[];if(0!=o){var S=[];for(O=0;O<z.length;O++)S.push(z[O].img.buffer);var E=function(e){for(var t=0,n=0;n<e.length;n++)t+=e[n].byteLength;var r=new Uint8Array(t),o=0;for(n=0;n<e.length;n++){for(var i=new Uint8Array(e[n]),a=i.length,s=0;s<a;s+=4){var l=i[s],c=i[s+1],u=i[s+2],d=i[s+3];0==d&&(l=c=u=0),r[o+s]=l,r[o+s+1]=c,r[o+s+2]=u,r[o+s+3]=d}o+=a}return r.buffer}(S),k=b(E,o);for(O=0;O<k.plte.length;O++)w.push(k.plte[O].est.rgba);var D=0;for(O=0;O<z.length;O++){var N=(B=z[O]).img.length,T=new Uint8Array(k.inds.buffer,D>>2,N>>2);C.push(T);var j=new Uint8Array(k.abuf,D,N);h&&s(B.img,B.rect.width,B.rect.height,w,j,T),B.img.set(j),D+=N}}else for(v=0;v<z.length;v++){var B=z[v],L=new Uint32Array(B.img.buffer),R=B.rect.width;for(M=L.length,T=new Uint8Array(M),C.push(T),O=0;O<M;O++){var q=L[O];if(0!=O&&q==L[O-1])T[O]=T[O-1];else if(O>R&&q==L[O-R])T[O]=T[O-R];else{var P=x[q];if(null==P&&(x[q]=P=w.length,w.push(q),w.length>=300))break;T[O]=P}}}var I=w.length;for(I<=256&&0==f&&(m=I<=2?1:I<=4?2:I<=16?4:8,m=Math.max(m,u)),v=0;v<z.length;v++){(B=z[v]).rect.x,B.rect.y,R=B.rect.width;var W=B.rect.height,F=B.img;new Uint32Array(F.buffer);var U=4*R,Z=4;if(I<=256&&0==f){U=Math.ceil(m*R/8);for(var H=new Uint8Array(U*W),$=C[v],V=0;V<W;V++){O=V*U;var X=V*R;if(8==m)for(var Q=0;Q<R;Q++)H[O+Q]=$[X+Q];else if(4==m)for(Q=0;Q<R;Q++)H[O+(Q>>1)]|=$[X+Q]<<4-4*(1&Q);else if(2==m)for(Q=0;Q<R;Q++)H[O+(Q>>2)]|=$[X+Q]<<6-2*(3&Q);else if(1==m)for(Q=0;Q<R;Q++)H[O+(Q>>3)]|=$[X+Q]<<7-1*(7&Q)}F=H,A=3,Z=1}else if(0==_&&1==z.length){H=new Uint8Array(R*W*3);var Y=R*W;for(O=0;O<Y;O++){var G=3*O,K=4*O;H[G]=F[K],H[G+1]=F[K+1],H[G+2]=F[K+2]}F=H,A=2,Z=3,U=3*R}B.img=F,B.bpl=U,B.bpp=Z}return{ctype:A,depth:m,plte:w,frames:z}}function d(t,n,r,o,i,a,s){for(var l=Uint8Array,c=Uint32Array,u=new l(t[i-1]),d=new c(t[i-1]),f=i+1<t.length?new l(t[i+1]):null,h=new l(t[i]),b=new c(h.buffer),A=n,m=r,g=-1,v=-1,y=0;y<a.height;y++)for(var M=0;M<a.width;M++){var O=a.x+M,_=a.y+y,z=_*n+O,x=b[z];0==x||0==o[i-1].dispose&&d[z]==x&&(null==f||0!=f[4*z+3])||(O<A&&(A=O),O>g&&(g=O),_<m&&(m=_),_>v&&(v=_))}-1==g&&(A=m=g=v=0),s&&(1==(1&A)&&A--,1==(1&m)&&m--),a={x:A,y:m,width:g-A+1,height:v-m+1};var w=o[i];w.rect=a,w.blend=1,w.img=new Uint8Array(a.width*a.height*4),0==o[i-1].dispose?(e(u,n,r,w.img,a.width,a.height,-a.x,-a.y,0),p(h,n,r,w.img,a)):e(h,n,r,w.img,a.width,a.height,-a.x,-a.y,0)}function p(t,n,r,o,i){e(t,n,r,o,i.width,i.height,-i.x,-i.y,2)}function f(e,t,n,r,o,i,a){var s,l=[],c=[0,1,2,3,4];-1!=i?c=[i]:(t*r>5e5||1==n)&&(c=[0]),a&&(s={level:0});for(var u=kJ,d=0;d<c.length;d++){for(var p=0;p<t;p++)h(o,e,p,r,n,c[d]);l.push(u.deflate(o,s))}var f,b=1e9;for(d=0;d<l.length;d++)l[d].length<b&&(f=d,b=l[d].length);return l[f]}function h(e,t,r,o,i,a){var s=r*o,l=s+r;if(e[l]=a,l++,0==a)if(o<500)for(var c=0;c<o;c++)e[l+c]=t[s+c];else e.set(new Uint8Array(t.buffer,s,o),l);else if(1==a){for(c=0;c<i;c++)e[l+c]=t[s+c];for(c=i;c<o;c++)e[l+c]=t[s+c]-t[s+c-i]+256&255}else if(0==r){for(c=0;c<i;c++)e[l+c]=t[s+c];if(2==a)for(c=i;c<o;c++)e[l+c]=t[s+c];if(3==a)for(c=i;c<o;c++)e[l+c]=t[s+c]-(t[s+c-i]>>1)+256&255;if(4==a)for(c=i;c<o;c++)e[l+c]=t[s+c]-n(t[s+c-i],0,0)+256&255}else{if(2==a)for(c=0;c<o;c++)e[l+c]=t[s+c]+256-t[s+c-o]&255;if(3==a){for(c=0;c<i;c++)e[l+c]=t[s+c]+256-(t[s+c-o]>>1)&255;for(c=i;c<o;c++)e[l+c]=t[s+c]+256-(t[s+c-o]+t[s+c-i]>>1)&255}if(4==a){for(c=0;c<i;c++)e[l+c]=t[s+c]+256-n(0,t[s+c-o],0)&255;for(c=i;c<o;c++)e[l+c]=t[s+c]+256-n(t[s+c-i],t[s+c-o],t[s+c-i-o])&255}}}function b(e,t){var n,r=new Uint8Array(e),o=r.slice(0),i=new Uint32Array(o.buffer),a=A(o,t),s=a[0],l=a[1],c=r.length,u=new Uint8Array(c>>2);if(r.length<2e7)for(var d=0;d<c;d+=4)n=m(s,p=r[d]*(1/255),f=r[d+1]*(1/255),h=r[d+2]*(1/255),b=r[d+3]*(1/255)),u[d>>2]=n.ind,i[d>>2]=n.est.rgba;else for(d=0;d<c;d+=4){var p=r[d]*(1/255),f=r[d+1]*(1/255),h=r[d+2]*(1/255),b=r[d+3]*(1/255);for(n=s;n.left;)n=g(n.est,p,f,h,b)<=0?n.left:n.right;u[d>>2]=n.ind,i[d>>2]=n.est.rgba}return{abuf:o.buffer,inds:u,plte:l}}function A(e,t,n){null==n&&(n=1e-4);var r=new Uint32Array(e.buffer),o={i0:0,i1:e.length,bst:null,est:null,tdst:0,left:null,right:null};o.bst=M(e,o.i0,o.i1),o.est=O(o.bst);for(var i=[o];i.length<t;){for(var a=0,s=0,l=0;l<i.length;l++)i[l].est.L>a&&(a=i[l].est.L,s=l);if(a<n)break;var c=i[s],u=v(e,r,c.i0,c.i1,c.est.e,c.est.eMq255);if(c.i0>=u||c.i1<=u)c.est.L=0;else{var d={i0:c.i0,i1:u,bst:null,est:null,tdst:0,left:null,right:null};d.bst=M(e,d.i0,d.i1),d.est=O(d.bst);var p={i0:u,i1:c.i1,bst:null,est:null,tdst:0,left:null,right:null};for(p.bst={R:[],m:[],N:c.bst.N-d.bst.N},l=0;l<16;l++)p.bst.R[l]=c.bst.R[l]-d.bst.R[l];for(l=0;l<4;l++)p.bst.m[l]=c.bst.m[l]-d.bst.m[l];p.est=O(p.bst),c.left=d,c.right=p,i[s]=d,i.push(p)}}for(i.sort((function(e,t){return t.bst.N-e.bst.N})),l=0;l<i.length;l++)i[l].ind=l;return[o,i]}function m(e,t,n,r,o){if(null==e.left)return e.tdst=function(e,t,n,r,o){var i=t-e[0],a=n-e[1],s=r-e[2],l=o-e[3];return i*i+a*a+s*s+l*l}(e.est.q,t,n,r,o),e;var i=g(e.est,t,n,r,o),a=e.left,s=e.right;i>0&&(a=e.right,s=e.left);var l=m(a,t,n,r,o);if(l.tdst<=i*i)return l;var c=m(s,t,n,r,o);return c.tdst<l.tdst?c:l}function g(e,t,n,r,o){var i=e.e;return i[0]*t+i[1]*n+i[2]*r+i[3]*o-e.eMq}function v(e,t,n,r,o,i){for(r-=4;n<r;){for(;y(e,n,o)<=i;)n+=4;for(;y(e,r,o)>i;)r-=4;if(n>=r)break;var a=t[n>>2];t[n>>2]=t[r>>2],t[r>>2]=a,n+=4,r-=4}for(;y(e,n,o)>i;)n-=4;return n+4}function y(e,t,n){return e[t]*n[0]+e[t+1]*n[1]+e[t+2]*n[2]+e[t+3]*n[3]}function M(e,t,n){for(var r=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],o=[0,0,0,0],i=n-t>>2,a=t;a<n;a+=4){var s=e[a]*(1/255),l=e[a+1]*(1/255),c=e[a+2]*(1/255),u=e[a+3]*(1/255);o[0]+=s,o[1]+=l,o[2]+=c,o[3]+=u,r[0]+=s*s,r[1]+=s*l,r[2]+=s*c,r[3]+=s*u,r[5]+=l*l,r[6]+=l*c,r[7]+=l*u,r[10]+=c*c,r[11]+=c*u,r[15]+=u*u}return r[4]=r[1],r[8]=r[2],r[9]=r[6],r[12]=r[3],r[13]=r[7],r[14]=r[11],{R:r,m:o,N:i}}function O(e){var t=e.R,n=e.m,r=e.N,o=n[0],i=n[1],a=n[2],s=n[3],l=0==r?0:1/r,c=[t[0]-o*o*l,t[1]-o*i*l,t[2]-o*a*l,t[3]-o*s*l,t[4]-i*o*l,t[5]-i*i*l,t[6]-i*a*l,t[7]-i*s*l,t[8]-a*o*l,t[9]-a*i*l,t[10]-a*a*l,t[11]-a*s*l,t[12]-s*o*l,t[13]-s*i*l,t[14]-s*a*l,t[15]-s*s*l],u=c,d=_,p=[Math.random(),Math.random(),Math.random(),Math.random()],f=0,h=0;if(0!=r)for(var b=0;b<16&&(p=d.multVec(u,p),h=Math.sqrt(d.dot(p,p)),p=d.sml(1/h,p),!(0!=b&&Math.abs(h-f)<1e-9));b++)f=h;var A=[o*l,i*l,a*l,s*l];return{Cov:c,q:A,e:p,L:f,eMq255:d.dot(d.sml(255,A),p),eMq:d.dot(p,A),rgba:(Math.round(255*A[3])<<24|Math.round(255*A[2])<<16|Math.round(255*A[1])<<8|Math.round(255*A[0])<<0)>>>0}}var _={multVec:function(e,t){return[e[0]*t[0]+e[1]*t[1]+e[2]*t[2]+e[3]*t[3],e[4]*t[0]+e[5]*t[1]+e[6]*t[2]+e[7]*t[3],e[8]*t[0]+e[9]*t[1]+e[10]*t[2]+e[11]*t[3],e[12]*t[0]+e[13]*t[1]+e[14]*t[2]+e[15]*t[3]]},dot:function(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]+e[3]*t[3]},sml:function(e,t){return[e*t[0],e*t[1],e*t[2],e*t[3]]}};DJ.encode=function(e,t,n,r,o,i,a){null==r&&(r=0),null==a&&(a=!1);var s=u(e,t,n,r,[!1,!1,!1,0,a,!1]);return c(s,-1),l(s,t,n,o,i)},DJ.encodeLL=function(e,t,n,r,o,i,a,s){for(var u={ctype:0+(1==r?0:2)+(0==o?0:4),depth:i,frames:[]},d=(r+o)*i,p=d*t,f=0;f<e.length;f++)u.frames.push({rect:{x:0,y:0,width:t,height:n},img:new Uint8Array(e[f]),blend:0,dispose:1,bpp:Math.ceil(d/8),bpl:Math.ceil(p/8)});return c(u,0,!0),l(u,t,n,a,s)},DJ.encode.compress=u,DJ.encode.dither=s,DJ.quantize=b,DJ.quantize.getKDtree=A,DJ.quantize.getNearest=m}();var NJ={toArrayBuffer:function(e,t){var n,r,o,i,a=e.width,s=e.height,l=a<<2,c=e.getContext("2d").getImageData(0,0,a,s),u=new Uint32Array(c.data.buffer),d=(32*a+31)/32<<2,p=d*s,f=122+p,h=new ArrayBuffer(f),b=new DataView(h),A=1<<20,m=A,g=0,v=0,y=0;function M(e){b.setUint16(v,e,!0),v+=2}function O(e){b.setUint32(v,e,!0),v+=4}function _(e){v+=e}M(19778),O(f),_(4),O(122),O(108),O(a),O(-s>>>0),M(1),M(32),O(3),O(p),O(2835),O(2835),_(8),O(16711680),O(65280),O(255),O(4278190080),O(1466527264),function e(){for(;g<s&&m>0;){for(i=122+g*d,n=0;n<l;)m--,r=u[y++],o=r>>>24,b.setUint32(i+n,r<<8|o),n+=4;g++}y<u.length?(m=A,setTimeout(e,NJ._dly)):t(h)}()},toBlob:function(e,t){this.toArrayBuffer(e,(function(e){t(new Blob([e],{type:"image/bmp"}))}))},_dly:9},TJ={CHROME:"CHROME",FIREFOX:"FIREFOX",DESKTOP_SAFARI:"DESKTOP_SAFARI",IE:"IE",IOS:"IOS",ETC:"ETC"},jJ={[TJ.CHROME]:16384,[TJ.FIREFOX]:11180,[TJ.DESKTOP_SAFARI]:16384,[TJ.IE]:8192,[TJ.IOS]:4096,[TJ.ETC]:8192},BJ="undefined"!=typeof window,LJ="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,RJ=BJ&&window.cordova&&window.cordova.require&&window.cordova.require("cordova/modulemapper"),qJ=(BJ||LJ)&&(RJ&&RJ.getOriginalSymbol(window,"File")||"undefined"!=typeof File&&File),PJ=(BJ||LJ)&&(RJ&&RJ.getOriginalSymbol(window,"FileReader")||"undefined"!=typeof FileReader&&FileReader);function IJ(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Date.now();return new Promise((function(r){for(var o=e.split(","),i=o[0].match(/:(.*?);/)[1],a=globalThis.atob(o[1]),s=a.length,l=new Uint8Array(s);s--;)l[s]=a.charCodeAt(s);var c=new Blob([l],{type:i});c.name=t,c.lastModified=n,r(c)}))}function WJ(e){return new Promise((function(t,n){var r=new PJ;r.onload=function(){return t(r.result)},r.onerror=function(e){return n(e)},r.readAsDataURL(e)}))}function FJ(e){return new Promise((function(t,n){var r=new Image;r.onload=function(){return t(r)},r.onerror=function(e){return n(e)},r.src=e}))}function UJ(){if(void 0!==UJ.cachedResult)return UJ.cachedResult;var e=TJ.ETC,t=navigator.userAgent;return/Chrom(e|ium)/i.test(t)?e=TJ.CHROME:/iP(ad|od|hone)/i.test(t)&&/WebKit/i.test(t)?e=TJ.IOS:/Safari/i.test(t)?e=TJ.DESKTOP_SAFARI:/Firefox/i.test(t)?e=TJ.FIREFOX:(/MSIE/i.test(t)||1==!!document.documentMode)&&(e=TJ.IE),UJ.cachedResult=e,UJ.cachedResult}function ZJ(e,t){for(var n=UJ(),r=jJ[n],o=e,i=t,a=o*i,s=o>i?i/o:o/i;a>r*r;){var l=(r+o)/2,c=(r+i)/2;l<c?(i=c,o=c*s):(i=l*s,o=l),a=o*i}return{width:o,height:i}}function HJ(e,t){var n,r;try{if(null===(r=(n=new OffscreenCanvas(e,t)).getContext("2d")))throw new Error("getContext of OffscreenCanvas returns null")}catch(e){r=(n=document.createElement("canvas")).getContext("2d")}return n.width=e,n.height=t,[n,r]}function $J(e,t){var r=ZJ(e.width,e.height),o=HJ(r.width,r.height),i=(0,n.Z)(o,2),a=i[0],s=i[1];return t&&/jpe?g/.test(t)&&(s.fillStyle="white",s.fillRect(0,0,a.width,a.height)),s.drawImage(e,0,0,a.width,a.height),a}function VJ(){return void 0!==VJ.cachedResult||(VJ.cachedResult=["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"undefined"!=typeof document&&"ontouchend"in document),VJ.cachedResult}function XJ(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise((function(n,r){var o,i,a=function(){try{return i=$J(o,t.fileType||e.type),n([o,i])}catch(e){return r(e)}},s=function(t){try{var n=function(e){try{throw e}catch(e){return r(e)}};try{return WJ(e).then((function(e){try{return FJ(e).then((function(e){try{return o=e,function(){try{return a()}catch(e){return r(e)}}()}catch(e){return n(e)}}),n)}catch(e){return n(e)}}),n)}catch(e){n(e)}}catch(e){return r(e)}};try{if(VJ()||[TJ.DESKTOP_SAFARI,TJ.MOBILE_SAFARI].includes(UJ()))throw new Error("Skip createImageBitmap on IOS and Safari");return createImageBitmap(e).then((function(e){try{return o=e,a()}catch(e){return s()}}),s)}catch(e){s()}}))}function QJ(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1;return new Promise((function(i,a){var s,l,c;if("image/png"===t)return l=e.getContext("2d").getImageData(0,0,e.width,e.height).data,c=DJ.encode([l.buffer],e.width,e.height,4096*o),(s=new Blob([c],{type:t})).name=n,s.lastModified=r,p.call(this);var u=function(){return p.call(this)};if("image/bmp"===t)return new Promise((function(t){return NJ.toBlob(e,t)})).then(function(e){try{return(s=e).name=n,s.lastModified=r,u.call(this)}catch(e){return a(e)}}.bind(this),a);var d=function(){return u.call(this)};return"function"==typeof OffscreenCanvas&&e instanceof OffscreenCanvas?e.convertToBlob({type:t,quality:o}).then(function(e){try{return(s=e).name=n,s.lastModified=r,d.call(this)}catch(e){return a(e)}}.bind(this),a):IJ(e.toDataURL(t,o),n,r).then(function(e){try{return s=e,d.call(this)}catch(e){return a(e)}}.bind(this),a);function p(){return i(s)}}))}function YJ(e){e.width=0,e.height=0}function GJ(){return new Promise((function(e,t){var n,r,o,i;return void 0!==GJ.cachedResult?e(GJ.cachedResult):("data:image/jpeg;base64,/9j/4QAiRXhpZgAATU0AKgAAAAgAAQESAAMAAAABAAYAAAAAAAD/2wCEAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAf/AABEIAAEAAgMBEQACEQEDEQH/xABKAAEAAAAAAAAAAAAAAAAAAAALEAEAAAAAAAAAAAAAAAAAAAAAAQEAAAAAAAAAAAAAAAAAAAAAEQEAAAAAAAAAAAAAAAAAAAAA/9oADAMBAAIRAxEAPwA/8H//2Q==",IJ("data:image/jpeg;base64,/9j/4QAiRXhpZgAATU0AKgAAAAgAAQESAAMAAAABAAYAAAAAAAD/2wCEAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAf/AABEIAAEAAgMBEQACEQEDEQH/xABKAAEAAAAAAAAAAAAAAAAAAAALEAEAAAAAAAAAAAAAAAAAAAAAAQEAAAAAAAAAAAAAAAAAAAAAEQEAAAAAAAAAAAAAAAAAAAAA/9oADAMBAAIRAxEAPwA/8H//2Q==","test.jpg",Date.now()).then((function(a){try{return XJ(n=a).then((function(a){try{return QJ(r=a[1],n.type,n.name,n.lastModified).then((function(n){try{return o=n,YJ(r),XJ(o).then((function(n){try{return i=n[0],GJ.cachedResult=1===i.width&&2===i.height,e(GJ.cachedResult)}catch(e){return t(e)}}),t)}catch(e){return t(e)}}),t)}catch(e){return t(e)}}),t)}catch(e){return t(e)}}),t))}))}function KJ(e){return new Promise((function(t,n){var r=new PJ;r.onload=function(e){var n=new DataView(e.target.result);if(65496!=n.getUint16(0,!1))return t(-2);for(var r=n.byteLength,o=2;o<r;){if(n.getUint16(o+2,!1)<=8)return t(-1);var i=n.getUint16(o,!1);if(o+=2,65505==i){if(1165519206!=n.getUint32(o+=2,!1))return t(-1);var a=18761==n.getUint16(o+=6,!1);o+=n.getUint32(o+4,a);var s=n.getUint16(o,a);o+=2;for(var l=0;l<s;l++)if(274==n.getUint16(o+12*l,a))return t(n.getUint16(o+12*l+8,a))}else{if(65280!=(65280&i))break;o+=n.getUint16(o,!1)}}return t(-1)},r.onerror=function(e){return n(e)},r.readAsArrayBuffer(e)}))}function JJ(e,t){var r,o,i,a=e.width,s=e.height,l=t.maxWidthOrHeight,c=e;return isFinite(l)&&(a>l||s>l)&&(r=HJ(a,s),c=(o=(0,n.Z)(r,2))[0],i=o[1],a>s?(c.width=l,c.height=s/a*l):(c.width=a/s*l,c.height=l),i.drawImage(e,0,0,c.width,c.height),YJ(e)),c}function e0(e,t){var r=e.width,o=e.height,i=HJ(r,o),a=(0,n.Z)(i,2),s=a[0],l=a[1];switch(t>4&&t<9?(s.width=o,s.height=r):(s.width=r,s.height=o),t){case 2:l.transform(-1,0,0,1,r,0);break;case 3:l.transform(-1,0,0,-1,r,o);break;case 4:l.transform(1,0,0,-1,0,o);break;case 5:l.transform(0,1,1,0,0,0);break;case 6:l.transform(0,1,-1,0,o,0);break;case 7:l.transform(0,-1,-1,0,o,r);break;case 8:l.transform(0,-1,1,0,0,r)}return l.drawImage(e,0,0,r,o),YJ(e),s}function t0(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return new Promise((function(o,i){var a,s,l,c,u,d,p,f,h,b,A,m,g,v,y,M,O,_,z;function x(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:5;if(t.signal&&t.signal.aborted)throw t.signal.reason;a+=e,t.onProgress(Math.min(a,100))}function w(e){if(t.signal&&t.signal.aborted)throw t.signal.reason;a=Math.min(Math.max(e,a),100),t.onProgress(a)}return a=r,s=t.maxIteration||10,l=1024*t.maxSizeMB*1024,x(),XJ(e,t).then(function(r){try{var a;return a=(0,n.Z)(r,2),c=a[1],x(),u=JJ(c,t),x(),new Promise((function(n,r){var o;if(!(o=t.exifOrientation))return KJ(e).then(function(e){try{return o=e,i.call(this)}catch(e){return r(e)}}.bind(this),r);function i(){return n(o)}return i.call(this)})).then(function(r){try{return d=r,x(),GJ().then(function(r){try{return p=r?u:e0(u,d),x(),f=t.initialQuality||1,h=t.fileType||e.type,QJ(p,h,e.name,e.lastModified,f).then(function(r){try{var a,C=function t(){var r,o,a,c;return s--&&(y>l||y>g)?(r=HJ(a=z?.95*_.width:_.width,c=z?.95*_.height:_.height),o=(0,n.Z)(r,2),O=o[0],o[1].drawImage(_,0,0,a,c),f*="image/png"===h?.85:.95,QJ(O,h,e.name,e.lastModified,f).then((function(e){try{return M=e,YJ(_),_=O,y=M.size,w(Math.min(99,Math.floor((v-y)/(v-l)*100))),t}catch(e){return i(e)}}),i)):[1]},S=function(){return YJ(_),YJ(O),YJ(u),YJ(p),YJ(c),w(100),o(M)};return b=r,x(),A=b.size>l,m=b.size>e.size,A||m?(g=e.size,v=b.size,y=v,_=p,z=!t.alwaysKeepResolution&&A,(a=function(e){for(;e;){if(e.then)return void e.then(a,i);try{if(e.pop){if(e.length)return e.pop()?S.call(this):e;e=C}else e=e.call(this)}catch(e){return i(e)}}}.bind(this))(C)):(w(100),o(b))}catch(d){return i(d)}}.bind(this),i)}catch(e){return i(e)}}.bind(this),i)}catch(e){return i(e)}}.bind(this),i)}catch(e){return i(e)}}.bind(this),i)}))}var n0,r0="\nlet scriptImported = false\nself.addEventListener('message', async (e) => {\n  const { file, id, imageCompressionLibUrl, options } = e.data\n  options.onProgress = (progress) => self.postMessage({ progress, id })\n  try {\n    if (!scriptImported) {\n      // console.log('[worker] importScripts', imageCompressionLibUrl)\n      self.importScripts(imageCompressionLibUrl)\n      scriptImported = true\n    }\n    // console.log('[worker] self', self)\n    const compressedFile = await imageCompression(file, options)\n    self.postMessage({ file: compressedFile, id })\n  } catch (e) {\n    // console.error('[worker] error', e)\n    self.postMessage({ error: e.message + '\\n' + e.stack, id })\n  }\n})\n";function o0(e,t){return new Promise((function(n,r){n0||(n0=function(e){var t=[];return"function"==typeof e?t.push("(".concat(e,")()")):t.push(e),URL.createObjectURL(new Blob(t))}(r0));var o=new Worker(n0);o.addEventListener("message",(function(e){if(t.signal&&t.signal.aborted)o.terminate();else if(void 0===e.data.progress){if(e.data.error)return r(new Error(e.data.error)),void o.terminate();n(e.data.file),o.terminate()}else t.onProgress(e.data.progress)})),o.addEventListener("error",r),t.signal&&t.signal.addEventListener("abort",(function(){r(t.signal.reason),o.terminate()})),o.postMessage({file:e,imageCompressionLibUrl:t.libURL,options:Us(Us({},t),{},{onProgress:void 0,signal:void 0})})}))}function i0(e,t){return new Promise((function(n,r){var o,i,a,s,l,c;if(o=Us({},t),a=0,s=o.onProgress,o.maxSizeMB=o.maxSizeMB||Number.POSITIVE_INFINITY,l="boolean"!=typeof o.useWebWorker||o.useWebWorker,delete o.useWebWorker,o.onProgress=function(e){a=e,"function"==typeof s&&s(a)},!(e instanceof Blob||e instanceof qJ))return r(new Error("The file given is not an instance of Blob or File"));if(!/^image/.test(e.type))return r(new Error("The file given is not an image"));if(c="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,!l||"function"!=typeof Worker||c)return t0(e,o).then(function(e){try{return i=e,p.call(this)}catch(e){return r(e)}}.bind(this),r);var u=function(){try{return p.call(this)}catch(e){return r(e)}}.bind(this),d=function(t){try{return t0(e,o).then((function(e){try{return i=e,u()}catch(e){return r(e)}}),r)}catch(e){return r(e)}};try{return o.libURL=o.libURL||"https://cdn.jsdelivr.net/npm/browser-image-compression@2.0.2/dist/browser-image-compression.js",o0(e,o).then((function(e){try{return i=e,u()}catch(e){return d()}}),d)}catch(e){d()}function p(){try{i.name=e.name,i.lastModified=e.lastModified}catch(e){}try{o.preserveExif&&"image/jpeg"===e.type&&(!o.fileType||o.fileType&&o.fileType===e.type)&&(i=wJ(e,i))}catch(e){}return n(i)}}))}i0.getDataUrlFromFile=WJ,i0.getFilefromDataUrl=IJ,i0.loadImage=FJ,i0.drawImageInCanvas=$J,i0.drawFileInCanvas=XJ,i0.canvasToFile=QJ,i0.getExifOrientation=KJ,i0.handleMaxWidthOrHeight=JJ,i0.followExifOrientation=e0,i0.cleanupCanvasMemory=YJ,i0.isAutoOrientationInBrowser=GJ,i0.approximateBelowMaximumCanvasSizeOfBrowser=ZJ,i0.copyExifWithoutOrientation=wJ,i0.getBrowserName=UJ,i0.version="2.0.2";var a0=function(t){var r=t.storeImage,o=t.disabled,i=(0,e.useState)(!1),a=(0,n.Z)(i,2),s=a[0],l=a[1],c=(0,e.useRef)(null),u=function(){l(!1)},d=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,o;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={maxSizeMB:3,maxWidthOrHeight:1920,useWebWorker:!0},e.prev=1,e.next=4,i0(t,n);case 4:o=e.sent,r(window.URL.createObjectURL(o),!0),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),console.error(e.t0);case 11:case"end":return e.stop()}}),e,null,[[1,8]])})));return function(t){return e.apply(this,arguments)}}(),p=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,r,o,i;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:u(),n=t.target.files,r=(0,b.Z)(n),e.prev=3,r.s();case 5:if((o=r.n()).done){e.next=11;break}return i=o.value,e.next=9,d(i);case 9:e.next=5;break;case 11:e.next=16;break;case 13:e.prev=13,e.t0=e.catch(3),r.e(e.t0);case 16:return e.prev=16,r.f(),e.finish(16);case 19:case"end":return e.stop()}}),e,null,[[3,13,16,19]])})));return function(t){return e.apply(this,arguments)}}();return(0,Kl.jsxs)("div",{children:[(0,Kl.jsx)("div",{ref:c,className:FK,onClick:function(){o||l(!0)},style:{cursor:o&&"not-allowed"}}),(0,Kl.jsx)(vC,{onClose:u,"aria-labelledby":"simple-dialog-title",open:s,PaperProps:{style:{borderRadius:15}},children:(0,Kl.jsx)(_E,{style:{overflow:"hidden",paddingBottom:30},children:(0,Kl.jsx)(AC,{container:!0,spacing:2,justifyContent:"center",children:(0,Kl.jsxs)(AC,{container:!0,direction:"row",justifyContent:"center",spacing:2,item:!0,children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)("input",{className:$K,style:{backgroundImage:"url(".concat(xJ,")")},type:"file",accept:"image/*",onChange:p,multiple:!0})}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)("input",{className:$K,style:{backgroundImage:"url(".concat(zJ,")")},type:"file",accept:"image/*",capture:"environment",onChange:p,multiple:!0})})]})})})})]})},s0=(0,e.memo)(a0);var l0,c0,u0=e.createContext({}),d0=e.forwardRef((function(t,r){var o=t.children,i=t.classes,a=t.className,s=t.defaultExpanded,l=void 0!==s&&s,c=t.disabled,u=void 0!==c&&c,d=t.expanded,p=t.onChange,h=t.square,b=void 0!==h&&h,A=t.TransitionComponent,m=void 0===A?zS:A,g=t.TransitionProps,v=(0,Uu.Z)(t,["children","classes","className","defaultExpanded","disabled","expanded","onChange","square","TransitionComponent","TransitionProps"]),y=(0,lG.Z)({controlled:d,default:l,name:"Accordion",state:"expanded"}),M=(0,n.Z)(y,2),O=M[0],_=M[1],z=e.useCallback((function(e){_(!O),p&&p(e,!O)}),[O,p,_]),x=f(e.Children.toArray(o)),w=x[0],C=x.slice(1),S=e.useMemo((function(){return{expanded:O,disabled:u,toggle:z}}),[O,u,z]);return e.createElement(Kd.Z,(0,Fu.Z)({className:(0,Zu.Z)(i.root,a,O&&i.expanded,u&&i.disabled,!b&&i.rounded),ref:r,square:b},v),e.createElement(u0.Provider,{value:S},w),e.createElement(m,(0,Fu.Z)({in:O,timeout:"auto"},g),e.createElement("div",{"aria-labelledby":w.props.id,id:w.props["aria-controls"],role:"region"},C)))})),p0=(0,Hu.Z)((function(e){var t={duration:e.transitions.duration.shortest};return{root:{position:"relative",transition:e.transitions.create(["margin"],t),"&:before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:e.palette.divider,transition:e.transitions.create(["opacity","background-color"],t)},"&:first-child":{"&:before":{display:"none"}},"&$expanded":{margin:"16px 0","&:first-child":{marginTop:0},"&:last-child":{marginBottom:0},"&:before":{opacity:0}},"&$expanded + &":{"&:before":{display:"none"}},"&$disabled":{backgroundColor:e.palette.action.disabledBackground}},rounded:{borderRadius:0,"&:first-child":{borderTopLeftRadius:e.shape.borderRadius,borderTopRightRadius:e.shape.borderRadius},"&:last-child":{borderBottomLeftRadius:e.shape.borderRadius,borderBottomRightRadius:e.shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}},expanded:{},disabled:{}}}),{name:"MuiAccordion"})(d0),f0=e.forwardRef((function(t,n){var r=t.children,o=t.classes,i=t.className,a=t.expandIcon,s=t.focusVisibleClassName,l=t.IconButtonProps,c=void 0===l?{}:l,u=t.onClick,d=(0,Uu.Z)(t,["children","classes","className","expandIcon","focusVisibleClassName","IconButtonProps","onClick"]),p=e.useContext(u0),f=p.disabled,h=void 0!==f&&f,b=p.expanded,A=p.toggle;return e.createElement(qb.Z,(0,Fu.Z)({focusRipple:!1,disableRipple:!0,disabled:h,component:"div","aria-expanded":b,className:(0,Zu.Z)(o.root,i,h&&o.disabled,b&&o.expanded),focusVisibleClassName:(0,Zu.Z)(o.focusVisible,o.focused,s),onClick:function(e){A&&A(e),u&&u(e)},ref:n},d),e.createElement("div",{className:(0,Zu.Z)(o.content,b&&o.expanded)},r),a&&e.createElement(wd.Z,(0,Fu.Z)({className:(0,Zu.Z)(o.expandIcon,b&&o.expanded),edge:"end",component:"div",tabIndex:null,role:null,"aria-hidden":!0},c),a))})),h0=(0,Hu.Z)((function(e){var t={duration:e.transitions.duration.shortest};return{root:{display:"flex",minHeight:48,transition:e.transitions.create(["min-height","background-color"],t),padding:e.spacing(0,2),"&:hover:not($disabled)":{cursor:"pointer"},"&$expanded":{minHeight:64},"&$focused, &$focusVisible":{backgroundColor:e.palette.action.focus},"&$disabled":{opacity:e.palette.action.disabledOpacity}},expanded:{},focused:{},focusVisible:{},disabled:{},content:{display:"flex",flexGrow:1,transition:e.transitions.create(["margin"],t),margin:"12px 0","&$expanded":{margin:"20px 0"}},expandIcon:{transform:"rotate(0deg)",transition:e.transitions.create("transform",t),"&:hover":{backgroundColor:"transparent"},"&$expanded":{transform:"rotate(180deg)"}}}}),{name:"MuiAccordionSummary"})(f0),b0=e.forwardRef((function(t,n){var r=t.classes,o=t.className,i=(0,Uu.Z)(t,["classes","className"]);return e.createElement("div",(0,Fu.Z)({className:(0,Zu.Z)(r.root,o),ref:n},i))})),A0=(0,Hu.Z)((function(e){return{root:{display:"flex",padding:e.spacing(1,2,2)}}}),{name:"MuiAccordionDetails"})(b0),m0="elements_dot__aYbKM",g0="elements_procedure__ko8xt",v0="elements_icon__9q5Pn",y0="elements_iconMain__jS6Hj",M0="elements_brandContent__fQGqa",O0="elements_info__7c36T",_0="elements_addProductPhotos__rZpEA",z0="elements_uploadProductButton__9tkaV",x0="elements_control__mRgZl",w0=["title","titleId"];function C0(){return C0=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},C0.apply(this,arguments)}function S0(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function E0(t,n){var r=t.title,o=t.titleId,i=S0(t,w0);return e.createElement("svg",C0({width:14,height:14,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,l0||(l0=e.createElement("path",{d:"M9.80529 2.69966L11.3004 4.19402M10.7667 1.38318L6.72408 5.4258C6.5152 5.63439 6.37275 5.90015 6.31467 6.18957L5.94125 8.05877L7.81045 7.68465C8.09986 7.62676 8.36528 7.48488 8.57422 7.27594L12.6168 3.23331C12.7383 3.11183 12.8347 2.96761 12.9004 2.80889C12.9662 2.65016 13 2.48004 13 2.30824C13 2.13644 12.9662 1.96632 12.9004 1.8076C12.8347 1.64888 12.7383 1.50466 12.6168 1.38318C12.4954 1.26169 12.3511 1.16533 12.1924 1.09958C12.0337 1.03384 11.8636 1 11.6918 1C11.52 1 11.3499 1.03384 11.1911 1.09958C11.0324 1.16533 10.8882 1.26169 10.7667 1.38318Z",stroke:"#AE7E3C",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"})),c0||(c0=e.createElement("path",{d:"M11.5883 9.47054V11.5882C11.5883 11.9626 11.4396 12.3217 11.1748 12.5865C10.9101 12.8512 10.551 13 10.1766 13H2.41178C2.03735 13 1.67826 12.8512 1.4135 12.5865C1.14874 12.3217 1 11.9626 1 11.5882V3.82343C1 3.449 1.14874 3.08991 1.4135 2.82515C1.67826 2.56039 2.03735 2.41165 2.41178 2.41165H4.52944",stroke:"#AE7E3C",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"})))}var k0,D0,N0=e.forwardRef(E0),T0=(__webpack_require__.p,["title","titleId"]);function j0(){return j0=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},j0.apply(this,arguments)}function B0(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function L0(t,n){var r=t.title,o=t.titleId,i=B0(t,T0);return e.createElement("svg",j0({width:14,height:12,viewBox:"0 0 14 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,k0||(k0=e.createElement("path",{d:"M2.33333 2.66669H3C3.35362 2.66669 3.69276 2.52621 3.94281 2.27616C4.19286 2.02611 4.33333 1.68698 4.33333 1.33335C4.33333 1.15654 4.40357 0.986974 4.5286 0.861949C4.65362 0.736925 4.82319 0.666687 5 0.666687H9C9.17681 0.666687 9.34638 0.736925 9.4714 0.861949C9.59643 0.986974 9.66667 1.15654 9.66667 1.33335C9.66667 1.68698 9.80714 2.02611 10.0572 2.27616C10.3072 2.52621 10.6464 2.66669 11 2.66669H11.6667C12.0203 2.66669 12.3594 2.80716 12.6095 3.05721C12.8595 3.30726 13 3.6464 13 4.00002V10C13 10.3536 12.8595 10.6928 12.6095 10.9428C12.3594 11.1929 12.0203 11.3334 11.6667 11.3334H2.33333C1.97971 11.3334 1.64057 11.1929 1.39052 10.9428C1.14048 10.6928 1 10.3536 1 10V4.00002C1 3.6464 1.14048 3.30726 1.39052 3.05721C1.64057 2.80716 1.97971 2.66669 2.33333 2.66669Z",stroke:"#AE7E3C",strokeLinecap:"round",strokeLinejoin:"round"})),D0||(D0=e.createElement("path",{d:"M5 6.66669C5 7.19712 5.21071 7.70583 5.58579 8.0809C5.96086 8.45597 6.46957 8.66669 7 8.66669C7.53043 8.66669 8.03914 8.45597 8.41421 8.0809C8.78929 7.70583 9 7.19712 9 6.66669C9 6.13625 8.78929 5.62755 8.41421 5.25247C8.03914 4.8774 7.53043 4.66669 7 4.66669C6.46957 4.66669 5.96086 4.8774 5.58579 5.25247C5.21071 5.62755 5 6.13625 5 6.66669Z",stroke:"#AE7E3C",strokeLinecap:"round",strokeLinejoin:"round"})))}var R0,q0,P0,I0,W0=e.forwardRef(L0),F0=(__webpack_require__.p,function(t){var o,i,a,s,l,c,u,d,p,f,h,b,A,m,g,v=t.procedure,y=t.collapse,M=(t.setCollapse,t.techniques),O=t.productBrands,_=t.setProductBrands,z=(0,e.useState)(""),x=(0,n.Z)(z,2),w=x[0],C=x[1],S=(0,e.useState)(!1),E=(0,n.Z)(S,2),k=E[0],D=E[1],N=(0,e.useState)(!y),T=(0,n.Z)(N,2),j=T[0],B=T[1],L=(0,e.useState)(null===v||void 0===v||null===(o=v.brand)||void 0===o?void 0:o.lot_number),R=(0,n.Z)(L,2),q=(R[0],R[1]),P=(0,e.useState)(null===v||void 0===v||null===(i=v.brand)||void 0===i?void 0:i.expiration_date),I=(0,n.Z)(P,2),W=(I[0],I[1]),F=(0,e.useState)(!1),U=(0,n.Z)(F,2),Z=U[0],H=U[1],$=(0,e.useState)(!1),V=(0,n.Z)($,2),X=V[0],Q=V[1],Y=(0,e.useState)(""),G=(0,n.Z)(Y,2),K=G[0],J=G[1],ee=(0,e.useState)(""),te=(0,n.Z)(ee,2),ne=te[0],re=te[1],oe=(0,e.useState)(""),ie=(0,n.Z)(oe,2),ae=ie[0],se=ie[1],le=(0,e.useState)(""),ce=(0,n.Z)(le,2),ue=ce[0],de=ce[1],pe=null!==(a=null===(s=O.find((function(e){var t;return e.id===(null===v||void 0===v||null===(t=v.brand)||void 0===t?void 0:t.id)})))||void 0===s?void 0:s.lotNo)&&void 0!==a?a:null===v||void 0===v?void 0:v.lot_number,fe=null!==(l=O.find((function(e){var t;return e.id===(null===v||void 0===v||null===(t=v.brand)||void 0===t?void 0:t.id)})))&&void 0!==l&&l.expiryDate?Vs()(null===(c=O.find((function(e){var t;return e.id===(null===v||void 0===v||null===(t=v.brand)||void 0===t?void 0:t.id)})))||void 0===c?void 0:c.expiryDate).format("DD/MM/YYYY"):Vs()(null===v||void 0===v?void 0:v.expiration_date).format("DD/MM/YYYY"),he=null!==(u=O.find((function(e){var t;return e.id===(null===v||void 0===v||null===(t=v.brand)||void 0===t?void 0:t.id)})))&&void 0!==u&&u.expiryDate?Vs()(null===(d=O.find((function(e){var t;return e.id===(null===v||void 0===v||null===(t=v.brand)||void 0===t?void 0:t.id)})))||void 0===d?void 0:d.expiryDate).format("YYYY-MM-DD"):Vs()(null===v||void 0===v?void 0:v.expiration_date).format("YYYY-MM-DD"),be=(0,e.useCallback)((function(){B(!j)}),[j]),Ae=(0,e.useMemo)((function(){var e,t;return null===v||void 0===v||null===(e=v.brand)||void 0===e||null===(t=e.instruments)||void 0===t?void 0:t.find((function(e){return(null===e||void 0===e?void 0:e.id)===(null===v||void 0===v?void 0:v.instrument)}))}),[null===v||void 0===v||null===(p=v.brand)||void 0===p?void 0:p.instruments,null===v||void 0===v?void 0:v.instrument]),me=(0,e.useMemo)((function(){var e;return null===v||void 0===v||null===(e=v.techniques)||void 0===e?void 0:e.map((function(e){var t;return null===M||void 0===M||null===(t=M.find((function(t){return t.id===e})))||void 0===t?void 0:t.name})).join(", ")}),[M,null===v||void 0===v||null===(f=v.techniques)||void 0===f?void 0:f.length]),ge=(0,e.useMemo)((function(){var e;return null===v||void 0===v||null===(e=v.brand)||void 0===e?void 0:e.measurement}),[null===v||void 0===v||null===(h=v.brand)||void 0===h?void 0:h.measurement]),ve=function(e){C(e),D(!k)};return(0,e.useEffect)((function(){var e=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get("/v1/product-brands/".concat(null===v||void 0===v||null===(t=v.brand)||void 0===t?void 0:t.id)).then((function(e){se(e.data.data.lot_number),de(e.data.data.expiration_date)})).catch((function(e){console.log(e)}));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}),[]),(0,Kl.jsxs)("div",{className:g0,style:{borderTopColor:"".concat(v.color)},children:[(0,Kl.jsx)("div",{className:v0,style:{color:v.color},children:(0,Kl.jsxs)("div",{className:y0,children:[(0,Kl.jsxs)("div",{className:M0,children:[(0,Kl.jsx)("img",{src:null===v||void 0===v||null===(b=v.brand)||void 0===b?void 0:b.logo_url,alt:"brand logo"}),(0,Kl.jsx)("h2",{children:null!==(A=null===v||void 0===v||null===(m=v.brand)||void 0===m?void 0:m.title)&&void 0!==A?A:"not set"})]}),(0,Kl.jsxs)("div",{className:x0,children:[(0,Kl.jsx)("div",{className:m0,style:{backgroundColor:null===v||void 0===v?void 0:v.color},children:(0,Kl.jsx)("p",{children:null===v||void 0===v?void 0:v.totalAmount})}),(0,Kl.jsx)(wd.Z,{onClick:be,style:{padding:0},children:j?(0,Kl.jsx)(Vp.Z,{}):(0,Kl.jsx)(Xp.Z,{})})]})]})}),j&&(0,Kl.jsxs)("div",{className:O0,children:[(0,Kl.jsxs)("p",{children:["Lot No: ",pe||ae,(0,Kl.jsx)(N0,{onClick:function(){ve("lot")}})]}),(0,Kl.jsxs)("p",{children:["Exp:"," ",void 0===(null===v||void 0===v?void 0:v.expiration_date)&&void 0===(null===(g=O.find((function(e){var t;return e.id===(null===v||void 0===v||null===(t=v.brand)||void 0===t?void 0:t.id)})))||void 0===g?void 0:g.expiryDate)?Vs()(ue,"DD/MM/YYYY",!0).isValid()?Vs()(ue).format("DD/MM/YYYY"):"no date":fe,(0,Kl.jsx)(N0,{onClick:function(){ve("expiry_date")}})]}),(0,Kl.jsxs)("p",{children:["Total: ",null===v||void 0===v?void 0:v.totalAmount," ",null===ge||void 0===ge?void 0:ge.title]}),(0,Kl.jsxs)("p",{children:["Instrument: ",null===Ae||void 0===Ae?void 0:Ae.title]}),(0,Kl.jsxs)("p",{children:["Technique: ",me]}),(0,Kl.jsxs)("div",{className:_0,children:[(0,Kl.jsx)(BE.Z,{id:"contained-button-file",type:"file",inputProps:{accept:"image/*",multiple:!0},onChange:function(e){!function(e,n){var o;H(!0);for(var i=e.target.files,a=new FormData,s=0;s<i.length;s++){var l;a.append("images[]",i[s]),a.append("brandName","brand"===n?null===v||void 0===v||null===(l=v.brand)||void 0===l?void 0:l.title:"")}Re.post("/v1/product-brands/".concat(null===v||void 0===v||null===(o=v.brand)||void 0===o?void 0:o.id,"/").concat(t.params.appointmentId,"/upload-product-image"),a,{headers:{"Content-Type":"multipart/form-data"}}).then((function(e){J("success"),re(e.data.message),t.setProductImages([].concat((0,r.Z)(t.productImages),(0,r.Z)(e.data.urls))),H(!1),Q(!0)})).catch((function(e){J("error"),re(e.message),H(!1),Q(!0)}))}(e,"brand")},style:{display:"none"}}),(0,Kl.jsx)("label",{htmlFor:"contained-button-file",children:(0,Kl.jsx)(zd.Z,{variant:"contained",color:"default",startIcon:(0,Kl.jsx)(W0,{}),component:"span",className:z0,children:"Add Product Photos"})})]})]}),(0,Kl.jsx)(oF,{selectedValue:w,open:k,setOpen:D,data:v,setLotNumber:q,setExpirationDate:W,productBrands:O,setProductBrands:_,lot:pe,expiry:he}),(0,Kl.jsx)(VB,{open:X,setOpen:Q,type:K,message:ne,autoHideDuration:4e3}),Z&&(0,Kl.jsx)(NE,{})]})}),U0="snippets-scroller_snippetsWrapper__79UyW",Z0="snippets-scroller_loader__BG2kq",H0="snippets-scroller_snippetsWrapperHeader__0uXom",$0="snippets-scroller_snippetsContent__L3Guv",V0="snippets-scroller_snippets__clNE9",X0="snippets-scroller_snippet__aXCx8",Q0="snippets-scroller_body__6XWOP",Y0="snippets-scroller_titleContainer__Di3qK",G0="snippets-scroller_category__SkC8N",K0="snippets-scroller_snippetCategory__9Qkf3",J0="snippets-scroller_snippetName__HUeix",e1="snippets-scroller_snippetBody__9D7N3",t1=__webpack_require__(29708),n1={snippet:"snippetModal_snippet__34abx",snippetHeader:"snippetModal_snippetHeader__SfKs6"},r1=$l((function(e){var t=e.setSnippet,n=e.snippet,r=e.onClickAdd,o=function(){t(void 0)};return(0,Kl.jsxs)(vC,{onClose:o,open:!!n,PaperProps:{className:n1.snippet},children:[(0,Kl.jsx)(MC,{children:(0,Kl.jsxs)("div",{className:n1.snippetHeader,children:[(0,Kl.jsx)(kl.Z,{className:n1.changeStatus,children:null===n||void 0===n?void 0:n.title}),(0,Kl.jsx)(wd.Z,{onClick:o,children:(0,Kl.jsx)(dB.Z,{})})]})}),(0,Kl.jsx)(_E,{style:{paddingBottom:20},children:(0,Kl.jsx)("div",{className:n1.body,children:(0,Kl.jsx)(kl.Z,{className:n1.changeStatus,children:null===n||void 0===n?void 0:n.body})})}),(0,Kl.jsx)(xE,{children:(0,Kl.jsx)(zd.Z,{variant:"contained",fullWidth:!0,onClick:function(){r(),o()},color:"primary",children:"Add"})})]})})),o1=r1,i1=function(t){var r=t.snippets,o=t.notes,i=t.setNotes,a=t.loading,s=(0,e.useRef)(null),l=(0,e.useState)(void 0),c=(0,n.Z)(l,2),u=c[0],d=c[1],p=(0,e.useState)(0),f=(0,n.Z)(p,2),h=f[0],b=f[1],A=(0,e.useMemo)((function(){return 0!==h?null===r||void 0===r?void 0:r.filter((function(e){var t;return(null===e||void 0===e||null===(t=e.category)||void 0===t?void 0:t.id)===h})):r.sort((function(e,t){var n,r;return(null===e||void 0===e||null===(n=e.category)||void 0===n?void 0:n.order)-(null===t||void 0===t||null===(r=t.category)||void 0===r?void 0:r.order)}))}),[r,h]),m=(0,e.useMemo)((function(){var e=[];return null===r||void 0===r||r.forEach((function(t){null!==e&&void 0!==e&&e.find((function(e){var n;return(null===e||void 0===e?void 0:e.id)===(null===t||void 0===t||null===(n=t.category)||void 0===n?void 0:n.id)}))||e.push(t.category)})),[{id:0,name:"All"}].concat(e)}),[r]),g=function(e){i(o?o+e.body:e.body)};return(0,Kl.jsxs)("div",{className:U0,children:[(0,Kl.jsxs)("div",{className:H0,children:["Sort by",(0,Kl.jsx)(Wu.Z,{select:!0,value:h,onChange:function(e){b(e.target.value)},variant:"outlined",size:"small",children:null===m||void 0===m?void 0:m.map((function(e,t){return(0,Kl.jsx)(xd.Z,{value:null===e||void 0===e?void 0:e.id,children:null===e||void 0===e?void 0:e.name},"location_".concat(e,"_").concat(t))}))})]}),(0,Kl.jsxs)("div",{className:$0,children:[(0,Kl.jsx)(wd.Z,{onClick:function(){s.current.scrollLeft-=200},children:(0,Kl.jsx)(Cd.Z,{})}),a?(0,Kl.jsx)("div",{className:Z0,children:(0,Kl.jsx)(Gh.Z,{})}):(0,Kl.jsx)("div",{className:V0,ref:s,children:A.map((function(e){var t,n;return(0,Kl.jsxs)("div",{className:X0,children:[(0,Kl.jsxs)("div",{className:Q0,children:[(0,Kl.jsxs)("div",{className:Y0,children:[(0,Kl.jsx)(kl.Z,{className:J0,children:e.title}),(0,Kl.jsx)(wd.Z,{onClick:function(){return function(e){d(e)}(e)},children:(0,Kl.jsx)(t1.Z,{})})]}),(0,Kl.jsx)("span",{}),(0,Kl.jsx)(kl.Z,{className:e1,onClick:function(){g(e)},children:e.body})]}),(null===e||void 0===e?void 0:e.category)&&(0,Kl.jsxs)("div",{className:G0,children:[(0,Kl.jsx)("span",{}),(0,Kl.jsxs)(kl.Z,{className:K0,style:{color:null===e||void 0===e||null===(t=e.category)||void 0===t?void 0:t.color},children:["in ",null===e||void 0===e||null===(n=e.category)||void 0===n?void 0:n.name]})]})]},e.id)}))}),(0,Kl.jsx)(wd.Z,{onClick:function(){s.current.scrollLeft+=200},children:(0,Kl.jsx)(fB.Z,{})})]}),(0,Kl.jsx)(o1,{snippet:u,setSnippet:d,onClickAdd:function(){return g(u)}})]})},a1="notes_notesContainer__QCbfp",s1="notes_notesGrid__afOpJ",l1="notes_addProductPhotos__iw6KP",c1="notes_title__82PuZ",u1="notes_uploadHolder__TS10Q",d1="notes_snippets__uz9eq",p1="notes_header__864aU",f1="notes_searchContainer__fYTOA",h1="notes_updated__Fvnsx",b1="notes_loader__287+C",A1="notes_buttonContainer__zNBLZ",m1=["title","titleId"];function g1(){return g1=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},g1.apply(this,arguments)}function v1(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function y1(t,n){var r=t.title,o=t.titleId,i=v1(t,m1);return e.createElement("svg",g1({width:29,height:29,viewBox:"0 0 29 29",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,R0||(R0=e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.6 11.6C11.9846 11.6 12.3534 11.4472 12.6253 11.1753C12.8972 10.9034 13.05 10.5346 13.05 10.15C13.05 9.76544 12.8972 9.39662 12.6253 9.1247C12.3534 8.85277 11.9846 8.7 11.6 8.7C11.2154 8.7 10.8466 8.85277 10.5747 9.1247C10.3028 9.39662 10.15 9.76544 10.15 10.15C10.15 10.5346 10.3028 10.9034 10.5747 11.1753C10.8466 11.4472 11.2154 11.6 11.6 11.6ZM11.6 13.05C12.3691 13.05 13.1068 12.7445 13.6506 12.2006C14.1945 11.6568 14.5 10.9191 14.5 10.15C14.5 9.38087 14.1945 8.64325 13.6506 8.09939C13.1068 7.55553 12.3691 7.25 11.6 7.25C10.8309 7.25 10.0933 7.55553 9.5494 8.09939C9.00555 8.64325 8.70001 9.38087 8.70001 10.15C8.70001 10.9191 9.00555 11.6568 9.5494 12.2006C10.0933 12.7445 10.8309 13.05 11.6 13.05Z",fill:"#AE7E3C"})),q0||(q0=e.createElement("path",{d:"M10.875 15.4831L8.1055 19.2125H10.875L13.6445 20.6625H8.1055C7.83695 20.6622 7.57375 20.5874 7.34524 20.4463C7.11673 20.3053 6.93188 20.1035 6.8113 19.8636C6.69073 19.6236 6.63915 19.3549 6.66233 19.0873C6.68552 18.8198 6.78254 18.5639 6.9426 18.3483L9.71064 14.6189C9.84554 14.4372 10.0211 14.2895 10.2233 14.1878C10.4255 14.0861 10.6487 14.0331 10.875 14.0331C11.1013 14.0331 11.3245 14.0861 11.5267 14.1878C11.7289 14.2895 11.9045 14.4372 12.0393 14.6189L13.4241 16.4836L12.2597 17.3478L10.875 15.4831Z",fill:"#AE7E3C"})),P0||(P0=e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.6726 19.2125L16.3125 14.1781L11.9523 19.2125H20.6726ZM17.4087 13.2283C17.2725 13.0711 17.1042 12.945 16.9151 12.8586C16.7259 12.7722 16.5204 12.7275 16.3125 12.7275C16.1045 12.7275 15.899 12.7722 15.7099 12.8586C15.5207 12.945 15.3524 13.0711 15.2163 13.2283L10.8561 18.2627C10.674 18.4728 10.5561 18.7309 10.5165 19.0061C10.477 19.2813 10.5173 19.5621 10.6329 19.815C10.7484 20.0679 10.9342 20.2822 11.1681 20.4325C11.4021 20.5828 11.6743 20.6626 11.9523 20.6625H20.6726C20.9506 20.6626 21.2229 20.5828 21.4568 20.4325C21.6907 20.2822 21.8765 20.0679 21.9921 19.815C22.1076 19.5621 22.148 19.2813 22.1084 19.0061C22.0688 18.7309 21.9509 18.4728 21.7688 18.2627L17.4087 13.2283Z",fill:"#AE7E3C"})),I0||(I0=e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24.65 3.62499H4.34999C4.15771 3.62499 3.9733 3.70137 3.83734 3.83734C3.70137 3.9733 3.62499 4.15771 3.62499 4.34999V24.65C3.62499 24.8423 3.70137 25.0267 3.83734 25.1626C3.9733 25.2986 4.15771 25.375 4.34999 25.375H24.65C24.8423 25.375 25.0267 25.2986 25.1626 25.1626C25.2986 25.0267 25.375 24.8423 25.375 24.65V4.34999C25.375 4.15771 25.2986 3.9733 25.1626 3.83734C25.0267 3.70137 24.8423 3.62499 24.65 3.62499ZM4.34999 2.17499C3.77314 2.17499 3.21992 2.40414 2.81203 2.81203C2.40414 3.21992 2.17499 3.77314 2.17499 4.34999V24.65C2.17499 25.2268 2.40414 25.7801 2.81203 26.1879C3.21992 26.5958 3.77314 26.825 4.34999 26.825H24.65C25.2268 26.825 25.7801 26.5958 26.1879 26.1879C26.5958 25.7801 26.825 25.2268 26.825 24.65V4.34999C26.825 3.77314 26.5958 3.21992 26.1879 2.81203C25.7801 2.40414 25.2268 2.17499 24.65 2.17499H4.34999Z",fill:"#AE7E3C"})))}var M1,O1=e.forwardRef(y1),_1=(__webpack_require__.p,["title","titleId"]);function z1(){return z1=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},z1.apply(this,arguments)}function x1(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function w1(t,n){var r=t.title,o=t.titleId,i=x1(t,_1);return e.createElement("svg",z1({width:13,height:12,viewBox:"0 0 13 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,M1||(M1=e.createElement("path",{d:"M13 7.20015V11.04C13 11.2946 12.9022 11.5388 12.728 11.7188C12.5539 11.8989 12.3177 12 12.0714 12H0.928571C0.682299 12 0.446113 11.8989 0.271972 11.7188C0.0978313 11.5388 0 11.2946 0 11.04V7.20015C0 6.94555 0.0978313 6.70138 0.271972 6.52135C0.446113 6.34132 0.682299 6.24018 0.928571 6.24018H3.71429C3.83742 6.24018 3.95551 6.29075 4.04258 6.38077C4.12966 6.47078 4.17857 6.59287 4.17857 6.72017C4.17857 6.84747 4.12966 6.96955 4.04258 7.05957C3.95551 7.14958 3.83742 7.20015 3.71429 7.20015H0.928571V11.04H12.0714V7.20015H9.28571C9.16258 7.20015 9.04448 7.14958 8.95741 7.05957C8.87034 6.96955 8.82143 6.84747 8.82143 6.72017C8.82143 6.59287 8.87034 6.47078 8.95741 6.38077C9.04448 6.29075 9.16258 6.24018 9.28571 6.24018H12.0714C12.3177 6.24018 12.5539 6.34132 12.728 6.52135C12.9022 6.70138 13 6.94555 13 7.20015ZM4.04277 3.69986L6.03571 1.63893V6.72017C6.03571 6.84747 6.08463 6.96955 6.1717 7.05957C6.25877 7.14958 6.37686 7.20015 6.5 7.20015C6.62314 7.20015 6.74123 7.14958 6.8283 7.05957C6.91537 6.96955 6.96429 6.84747 6.96429 6.72017V1.63893L8.95723 3.69986C9.04435 3.78993 9.16251 3.84052 9.28571 3.84052C9.40892 3.84052 9.52708 3.78993 9.6142 3.69986C9.70131 3.6098 9.75026 3.48764 9.75026 3.36027C9.75026 3.2329 9.70131 3.11075 9.6142 3.02068L6.82848 0.140773C6.78536 0.0961459 6.73416 0.0607426 6.67779 0.0365877C6.62143 0.0124328 6.56101 0 6.5 0C6.43899 0 6.37857 0.0124328 6.32221 0.0365877C6.26584 0.0607426 6.21464 0.0961459 6.17152 0.140773L3.3858 3.02068C3.29868 3.11075 3.24974 3.2329 3.24974 3.36027C3.24974 3.48764 3.29868 3.6098 3.3858 3.69986C3.47292 3.78993 3.59108 3.84052 3.71429 3.84052C3.83749 3.84052 3.95565 3.78993 4.04277 3.69986ZM10.6786 9.12009C10.6786 8.97769 10.6377 8.83849 10.5612 8.72009C10.4847 8.60169 10.3759 8.50941 10.2487 8.45492C10.1214 8.40042 9.98137 8.38617 9.84628 8.41395C9.71118 8.44173 9.58709 8.5103 9.48969 8.61099C9.3923 8.71168 9.32597 8.83997 9.2991 8.97963C9.27222 9.11929 9.28602 9.26405 9.33873 9.39561C9.39144 9.52717 9.4807 9.63962 9.59523 9.71873C9.70975 9.79784 9.8444 9.84007 9.98214 9.84007C10.1668 9.84007 10.344 9.76421 10.4746 9.62919C10.6052 9.49417 10.6786 9.31104 10.6786 9.12009Z",fill:"white"})))}var C1,S1=e.forwardRef(w1),E1=(__webpack_require__.p,["title","titleId"]);function k1(){return k1=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},k1.apply(this,arguments)}function D1(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function N1(t,n){var r=t.title,o=t.titleId,i=D1(t,E1);return e.createElement("svg",k1({width:15,height:14,viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,C1||(C1=e.createElement("path",{d:"M13.2692 2.10867H11.2702L10.2873 0.638398C10.2346 0.559671 10.1633 0.495114 10.0796 0.450447C9.99598 0.40578 9.90258 0.382381 9.80769 0.382324H5.19231C5.09742 0.382381 5.00402 0.40578 4.92037 0.450447C4.83672 0.495114 4.7654 0.559671 4.71274 0.638398L3.72909 2.10867H1.73077C1.27174 2.10867 0.831513 2.29055 0.506931 2.6143C0.182348 2.93805 0 3.37716 0 3.83501V11.8913C0 12.3491 0.182348 12.7882 0.506931 13.112C0.831513 13.4357 1.27174 13.6176 1.73077 13.6176H13.2692C13.7283 13.6176 14.1685 13.4357 14.4931 13.112C14.8177 12.7882 15 12.3491 15 11.8913V3.83501C15 3.37716 14.8177 2.93805 14.4931 2.6143C14.1685 2.29055 13.7283 2.10867 13.2692 2.10867ZM13.8462 11.8913C13.8462 12.0439 13.7854 12.1903 13.6772 12.2982C13.569 12.4061 13.4222 12.4667 13.2692 12.4667H1.73077C1.57776 12.4667 1.43102 12.4061 1.32282 12.2982C1.21463 12.1903 1.15385 12.0439 1.15385 11.8913V3.83501C1.15385 3.68239 1.21463 3.53602 1.32282 3.42811C1.43102 3.32019 1.57776 3.25956 1.73077 3.25956H4.03846C4.13347 3.25962 4.22702 3.23628 4.3108 3.19161C4.39459 3.14694 4.46602 3.08232 4.51875 3.00349L5.50096 1.53322H9.49832L10.4812 3.00349C10.534 3.08232 10.6054 3.14694 10.6892 3.19161C10.773 3.23628 10.8665 3.25962 10.9615 3.25956H13.2692C13.4222 3.25956 13.569 3.32019 13.6772 3.42811C13.7854 3.53602 13.8462 3.68239 13.8462 3.83501V11.8913ZM7.5 4.41046C6.87242 4.41046 6.25894 4.59608 5.73713 4.94385C5.21532 5.29162 4.80862 5.78592 4.56846 6.36424C4.3283 6.94256 4.26546 7.57893 4.38789 8.19287C4.51033 8.80681 4.81253 9.37076 5.2563 9.81339C5.70006 10.256 6.26545 10.5574 6.88096 10.6796C7.49648 10.8017 8.13448 10.739 8.71428 10.4995C9.29409 10.2599 9.78965 9.85425 10.1383 9.33378C10.487 8.8133 10.6731 8.20139 10.6731 7.57542C10.6721 6.73631 10.3375 5.93184 9.74265 5.3385C9.14779 4.74516 8.34126 4.41141 7.5 4.41046ZM7.5 9.58949C7.10063 9.58949 6.71024 9.47136 6.37818 9.25005C6.04611 9.02874 5.7873 8.71419 5.63447 8.34617C5.48164 7.97815 5.44166 7.57318 5.51957 7.18249C5.59748 6.7918 5.78979 6.43293 6.07219 6.15126C6.35458 5.86959 6.71438 5.67776 7.10607 5.60005C7.49776 5.52234 7.90376 5.56222 8.27273 5.71466C8.64169 5.8671 8.95705 6.12525 9.17893 6.45646C9.4008 6.78767 9.51923 7.17707 9.51923 7.57542C9.51923 8.10958 9.30649 8.62187 8.92781 8.99958C8.54913 9.37729 8.03553 9.58949 7.5 9.58949Z",fill:"white"})))}var T1=e.forwardRef(N1),j1=(__webpack_require__.p,function(t){var o=t.notes,i=t.setNotes,a=t.onClickSave,s=t.snippets,l=t.productImages,c=t.setProductImages,u=(t.updateChanges,t.params),d=(0,e.useState)(!1),p=(0,n.Z)(d,2),f=(p[0],p[1]),h=(0,e.useState)(""),b=(0,n.Z)(h,2),A=(b[0],b[1]),m=(0,e.useState)(""),g=(0,n.Z)(m,2),v=(g[0],g[1]),y=(0,e.useState)(!1),M=(0,n.Z)(y,2),O=(M[0],M[1]),_=(0,e.useState)(""),z=(0,n.Z)(_,2),x=(z[0],z[1]),w=(0,e.useState)(""),C=(0,n.Z)(w,2),S=C[0],E=C[1],k=(0,e.useState)(""),D=(0,n.Z)(k,2),N=D[0],T=D[1],j=(0,e.useState)(""),B=(0,n.Z)(j,2),L=B[0],R=B[1],q=(0,e.useState)(!1),P=(0,n.Z)(q,2),I=P[0],W=P[1],F=(0,e.useState)(!1),U=(0,n.Z)(F,2),Z=U[0],H=U[1],$=function(e){var t=e.target.files;if(t.length>0){W(!0);for(var n=new FormData,o=0;o<t.length;o++)n.append("images[]",t[o]);Re.post("/v1/patient-record/".concat(u.appointmentId,"/upload-product-image"),n,{headers:{"Content-Type":"multipart/form-data"}}).then((function(e){R("success"),T(e.data.message),c([].concat((0,r.Z)(l),(0,r.Z)(e.data.urls))),W(!1),H(!0)})).catch((function(e){R("error"),T(e.message),W(!1),H(!0)}))}};return(0,Kl.jsxs)(AC,{container:!0,spacing:2,justifyContent:"space-between",alignItems:"flex-end",direction:"column",style:{height:"100%",width:"100%"},children:[(0,Kl.jsxs)(AC,{item:!0,style:{width:"100%",height:"93%"},children:[(0,Kl.jsx)(Wu.Z,{style:{flex:1,height:"100%",backgroundColor:"#EFF0F7",borderRadius:12,width:"100%"},fullWidth:!0,multiline:!0,value:null!==o&&void 0!==o?o:"",onChange:function(e){i(e.target.value)},minRows:30,variant:"outlined"}),(0,Kl.jsx)(AC,{item:!0,style:{width:"100%",textAlign:"end",marginTop:"15px"},children:(0,Kl.jsx)(zd.Z,{onClick:function(){a()},variant:"contained",color:"primary",size:"small",children:"Save Record"})})]}),(0,Kl.jsx)(AC,{item:!0,style:{width:"100%"},children:window.location.pathname.includes("record")&&(0,Kl.jsxs)("div",{className:l1,style:{position:"relative",border:"1px solid #EFF0F7",borderRadius:"12px",padding:"10px"},children:[(0,Kl.jsx)(kl.Z,{className:c1,variant:"body1",children:"Used Product Photos"}),(0,Kl.jsx)("div",{className:u1,children:l&&0===Object.keys(l).length?(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(O1,{}),(0,Kl.jsx)("p",{children:"There are no product photos added"}),(0,Kl.jsxs)("div",{style:{paddingTop:10},children:[(0,Kl.jsx)(BE.Z,{id:"contained-button-file-browse",type:"file",inputProps:{accept:"image/*",multiple:!0},onChange:function(e){$(e)},style:{display:"none"}}),(0,Kl.jsx)(BE.Z,{id:"contained-button-file-photo",type:"file",inputProps:{accept:"image/*",multiple:!0},onChange:function(e){$(e)},style:{display:"none"}}),(0,Kl.jsx)("label",{htmlFor:"contained-button-file-browse",style:{marginRight:10},children:(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",style:{background:"#B67D2B"},startIcon:(0,Kl.jsx)(S1,{}),component:"span",children:"BROWSE"})}),(0,Kl.jsx)("label",{htmlFor:"contained-button-file-photo",children:(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",style:{background:"#B67D2B"},startIcon:(0,Kl.jsx)(T1,{}),component:"span",children:"TAKE PHOTO"})})]})]}):(0,Kl.jsxs)("div",{style:{overflowX:"auto",display:"inline-flex",padding:"10px 0",width:"100%"},children:[(0,Kl.jsxs)("div",{style:{position:"absolute",right:"5px",top:0},children:[(0,Kl.jsx)(BE.Z,{id:"contained-button-file-more",type:"file",inputProps:{accept:"image/*",multiple:!0},onChange:function(e){$(e)},style:{display:"none"}}),(0,Kl.jsx)("label",{htmlFor:"contained-button-file-more",children:(0,Kl.jsx)(zd.Z,{variant:"contained",color:"default",startIcon:(0,Kl.jsx)(W0,{}),component:"span",style:{fontSize:14,color:"#AE7E3C",padding:0,background:"transparent",textTransform:"capitalize",boxShadow:"none"},children:"Add More Photos"})})]}),(0,Kl.jsx)("div",{style:{display:"flex"},children:null===l||void 0===l?void 0:l.map((function(e,t){var n;return(0,Kl.jsxs)("div",{style:{display:"flex",marginRight:10,alignItems:"center",justifyContent:"center",height:100,width:85,border:"1px solid #EAE9E9",position:"relative"},children:[(0,Kl.jsx)(pL,{style:{right:0,top:0,position:"absolute",cursor:"pointer"},onClick:function(){!function(e){O(!0),x(e)}(e.url)}}),(0,Kl.jsxs)("div",{onClick:function(){!function(e,t){A(e),E(t),v("zoom"),f(!0)}(e.url,S)},style:{cursor:"pointer"},children:[(0,Kl.jsx)("img",{style:{maxWidth:"100%",maxHeight:"100%"},src:e.url,alt:"product-image"},t),(null===e||void 0===e||null===(n=e.brandName)||void 0===n?void 0:n.length)>0&&(0,Kl.jsx)("span",{style:{position:"absolute",fontSize:"10px",bottom:0,padding:"3px 3px",background:"rgba(0,0,0,0.4)",color:"#fff",left:0,right:0,display:"block",maxWidth:"100%",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:e.brandName})]})]},t)}))})]})})]})}),(0,Kl.jsx)(AC,{item:!0,style:{width:"100%"},children:(0,Kl.jsx)(i1,{snippets:s,notes:o,setNotes:i})}),(0,Kl.jsx)(VB,{open:Z,setOpen:H,type:L,message:N,autoHideDuration:4e3}),I&&(0,Kl.jsx)(NE,{})]})}),B1=function(e){var t=e.open,n=e.onClose,r=e.title,o=e.message,i=e.imageToDelete,a=e.setProductImages,s=e.productImages,l=e.appointmentId,c=e.setIsLoading;return(0,Kl.jsxs)(vC,{open:t,onClose:n,"aria-labelledby":"confirm-dialog-title",children:[(0,Kl.jsx)(MC,{id:"confirm-dialog-title",style:{textAlign:"center"},children:r}),(0,Kl.jsx)(_E,{children:(0,Kl.jsx)(tL,{children:o})}),(0,Kl.jsxs)(xE,{children:[(0,Kl.jsx)(zd.Z,{onClick:n,color:"default",variant:"contained",children:"Cancel"}),(0,Kl.jsx)(zd.Z,{onClick:function(){c(!0),Re.delete("/v1/patient-record/".concat(l,"/remove/image"),{data:{imageUrl:i}}).then((function(e){var t=s.filter((function(e){return e.url!==i}));a(t),c(!1),n()})).catch((function(e){c(!1),n(),console.error(e)}))},color:"primary",variant:"contained",children:"Confirm"})]})]})},L1=function(t){var o=t.notesUpdated,i=t.notes,a=t.onClickSave,s=t.snippets,l=t.setNotes,c=t.loading,u=t.productImages,d=t.setProductImages,p=t.updateChanges,f=t.params,h=eF("(max-width:1024px)"),b=(0,e.useState)(""),A=(0,n.Z)(b,2),m=A[0],g=A[1],v=(0,e.useState)(!1),y=(0,n.Z)(v,2),M=y[0],O=y[1],_=(0,e.useState)(!1),z=(0,n.Z)(_,2),x=z[0],w=z[1],C=(0,e.useState)(!1),S=(0,n.Z)(C,2),E=S[0],k=S[1],D=(0,e.useState)(!1),N=(0,n.Z)(D,2),T=N[0],j=N[1],B=(0,e.useState)(""),L=(0,n.Z)(B,2),R=L[0],q=L[1],P=(0,e.useState)(""),I=(0,n.Z)(P,2),W=I[0],F=I[1],U=(0,e.useState)(""),Z=(0,n.Z)(U,2),H=Z[0],$=Z[1],V=(0,e.useState)(""),X=(0,n.Z)(V,2),Q=X[0],Y=X[1],G=(0,e.useState)(""),K=(0,n.Z)(G,2),J=K[0],ee=K[1],te=(0,e.useState)(""),ne=(0,n.Z)(te,2),re=ne[0],oe=ne[1],ie=(0,e.useMemo)((function(){return s.filter((function(e){return(null===e||void 0===e?void 0:e.title.toLowerCase().includes(m.toLowerCase()))||(null===e||void 0===e?void 0:e.body.toLowerCase().includes(m.toLowerCase()))}))}),[m,s]),ae=eF("(max-width: 1920px)"),se=function(e){var t=e.target.files;if(t.length>0){w(!0);for(var n=new FormData,o=0;o<t.length;o++)n.append("images[]",t[o]);Re.post("/v1/patient-record/".concat(f.appointmentId,"/upload-product-image"),n,{headers:{"Content-Type":"multipart/form-data"}}).then((function(e){ee("success"),Y(e.data.message),d([].concat((0,r.Z)(u),(0,r.Z)(e.data.urls))),w(!1),k(!0)})).catch((function(e){ee("error"),Y(e.message),w(!1),k(!0)}))}};return(0,Kl.jsxs)("div",{className:a1,children:[(0,Kl.jsxs)("div",{className:s1,children:[(0,Kl.jsxs)("div",{className:h1,children:[(0,Kl.jsxs)(AC,{direction:"row",item:!0,container:!0,justifyContent:"space-between",children:[(0,Kl.jsx)(kl.Z,{variant:"body1",className:c1,children:"Record"}),c?(0,Kl.jsx)(Rp,{variant:"text",width:200,height:24}):!!o&&(0,Kl.jsxs)(kl.Z,{variant:"body2",children:["Updated at: ",Vs()(o).format("DD.MM.YYYY HH:mm")]})]}),c?(0,Kl.jsx)("div",{className:b1,children:(0,Kl.jsx)(Gh.Z,{})}):(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(Wu.Z,{style:{height:h?"auto":"100%",backgroundColor:"#ffff"},className:"record-textarea-field",fullWidth:!0,multiline:!0,value:null!==i&&void 0!==i?i:"",onChange:function(e){return function(e){l(e.target.value),p(!0)}(e)},minRows:10,maxRows:10,variant:"outlined",inputProps:{style:Us({height:"98%",top:0,position:"absolute",padding:5,width:"97%"},ae&&{height:"91%"})}}),(0,Kl.jsxs)("div",{className:A1,children:[(0,Kl.jsx)(zd.Z,{onClick:function(){return l(""),void p(!0)},variant:"contained",size:"small",children:"Clear"}),(0,Kl.jsx)(zd.Z,{onClick:a,className:i?"":"disabled-button",variant:"contained",color:"primary",size:"small",disabled:!i,style:{background:"#B67D2B"},children:"Save"})]})]})]}),window.location.pathname.includes("record")&&(0,Kl.jsxs)("div",{className:l1,children:[(0,Kl.jsx)(kl.Z,{className:c1,variant:"body1",children:"Used Product Photos"}),(0,Kl.jsx)("div",{className:u1,children:u&&0===Object.keys(u).length?(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(O1,{}),(0,Kl.jsx)("p",{children:"There are no product photos added"}),(0,Kl.jsxs)("div",{style:{paddingTop:10},children:[(0,Kl.jsx)(BE.Z,{id:"contained-button-file-browse",type:"file",inputProps:{accept:"image/*",multiple:!0},onChange:function(e){se(e)},style:{display:"none"}}),(0,Kl.jsx)(BE.Z,{id:"contained-button-file-photo",type:"file",inputProps:{accept:"image/*",multiple:!0},onChange:function(e){se(e)},style:{display:"none"}}),(0,Kl.jsx)("label",{htmlFor:"contained-button-file-browse",style:{marginRight:10},children:(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",style:{background:"#B67D2B"},startIcon:(0,Kl.jsx)(S1,{}),component:"span",children:"BROWSE"})}),(0,Kl.jsx)("label",{htmlFor:"contained-button-file-photo",children:(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",style:{background:"#B67D2B"},startIcon:(0,Kl.jsx)(T1,{}),component:"span",children:"TAKE PHOTO"})})]})]}):(0,Kl.jsxs)("div",{style:{overflowX:"auto",display:"inline-flex",padding:"10px 0",width:"100%"},children:[(0,Kl.jsxs)("div",{style:{position:"absolute",right:"5px",top:0},children:[(0,Kl.jsx)(BE.Z,{id:"contained-button-file-more",type:"file",inputProps:{accept:"image/*",multiple:!0},onChange:function(e){se(e)},style:{display:"none"}}),(0,Kl.jsx)("label",{htmlFor:"contained-button-file-more",children:(0,Kl.jsx)(zd.Z,{variant:"contained",color:"default",startIcon:(0,Kl.jsx)(W0,{}),component:"span",style:{fontSize:14,color:"#AE7E3C",padding:0,background:"transparent",textTransform:"capitalize",boxShadow:"none"},children:"Add More Photos"})})]}),(0,Kl.jsx)("div",{style:{display:"flex"},children:null===u||void 0===u?void 0:u.map((function(e,t){var n;return(0,Kl.jsxs)("div",{style:{display:"flex",marginRight:10,alignItems:"center",justifyContent:"center",height:100,width:85,border:"1px solid #EAE9E9",position:"relative"},children:[(0,Kl.jsx)(pL,{style:{right:0,top:0,position:"absolute",cursor:"pointer"},onClick:function(){!function(e){O(!0),oe(e)}(e.url)}}),(0,Kl.jsxs)("div",{onClick:function(){!function(e,t){q(e),$(t),F("zoom"),j(!0)}(e.url,H)},style:{cursor:"pointer"},children:[(0,Kl.jsx)("img",{style:{maxWidth:"100%",maxHeight:"100%"},src:e.url,alt:"product-image"},t),(null===e||void 0===e||null===(n=e.brandName)||void 0===n?void 0:n.length)>0&&(0,Kl.jsx)("span",{style:{position:"absolute",fontSize:"10px",bottom:0,padding:"3px 3px",background:"rgba(0,0,0,0.4)",color:"#fff",left:0,right:0,display:"block",maxWidth:"100%",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:e.brandName})]})]},t)}))})]})})]}),(0,Kl.jsxs)("div",{className:d1,children:[(0,Kl.jsx)("div",{className:d1,children:(0,Kl.jsxs)("div",{className:p1,children:[(0,Kl.jsx)(kl.Z,{variant:"body1",className:c1,children:"Quick Notes"}),(0,Kl.jsx)("div",{className:f1,children:(0,Kl.jsx)(Yu,{value:m,setValue:g,fullWidth:!0,label:"Search Notes"})})]})}),(0,Kl.jsx)(i1,{snippets:ie,notes:i,setNotes:l,loading:c})]})]}),(0,Kl.jsx)(oF,{selectedValue:W,open:T,setOpen:j,data:{zoomedImage:R,brandName:H}}),(0,Kl.jsx)(B1,{title:"Delete product image",message:"Are you sure you want to delete product image?",open:M,onClose:function(){O(!1)},imageToDelete:re,setProductImages:d,productImages:u,appointmentId:null===f||void 0===f?void 0:f.appointmentId,setIsLoading:w}),(0,Kl.jsx)(VB,{open:E,setOpen:k,type:J,message:Q,autoHideDuration:4e3}),x&&(0,Kl.jsx)(NE,{})]})},R1=function(e){var t=e.open,n=e.setOpen,r=e.id,o=e.handleAction,i=function(){n(!1)};return(0,Kl.jsx)(vC,{onClose:i,"aria-labelledby":"simple-dialog-title",open:t,PaperProps:{style:{borderRadius:15}},children:(0,Kl.jsx)(_E,{style:{overflow:"hidden",paddingBottom:20},children:(0,Kl.jsxs)(AC,{container:!0,spacing:2,justifyContent:"center",children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(kl.Z,{variant:"h6",children:"Do you want to remove record?"})}),(0,Kl.jsxs)(AC,{container:!0,direction:"row",justifyContent:"center",spacing:2,item:!0,children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(zd.Z,{variant:"contained",color:"secondary",onClick:i,children:"No"})}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",onClick:function(){o(r),i()},children:"Yes"})})]})]})})})};var q1=__webpack_require__.p+"static/media/line.f462d932c517812d0aa66f709050723b.svg",P1=function(e){return(0,Kl.jsx)(Gl.Z,Us(Us({},e),{},{viewBox:"0 0 27 27",children:(0,Kl.jsx)("path",{d:"M13.5399 26.9999C11.6626 27.0032 9.80669 26.6021 8.09835 25.8239C6.39001 25.0456 4.86939 23.9085 3.63991 22.4899L5.63991 20.4899C6.96713 22.0757 8.73934 23.2272 10.7277 23.7955C12.716 24.3638 14.8291 24.3229 16.794 23.678C18.7588 23.0331 20.4851 21.8138 21.7499 20.1777C23.0147 18.5417 23.7598 16.5639 23.8891 14.5C24.0184 12.4361 23.5258 10.3808 22.4751 8.59973C21.4243 6.81862 19.8636 5.39345 17.9946 4.50842C16.1256 3.62339 14.0341 3.31911 11.9904 3.63489C9.94673 3.95067 8.04465 4.87205 6.52992 6.27991L5.8199 6.93982L9.01992 10.1699C9.04039 10.1828 9.05741 10.2004 9.0696 10.2213C9.08179 10.2422 9.0888 10.2658 9.08992 10.2899C9.09735 10.3073 9.10115 10.3259 9.10115 10.3448C9.10115 10.3638 9.09735 10.3825 9.08992 10.3999C9.06732 10.4479 9.03688 10.4918 8.9999 10.5299C8.95699 10.5385 8.9128 10.5385 8.86989 10.5299H0.64992C0.618374 10.53 0.58711 10.5239 0.55794 10.5118C0.52877 10.4998 0.502221 10.4821 0.479876 10.4598C0.457145 10.4378 0.439186 10.4115 0.427142 10.3822C0.415097 10.353 0.409219 10.3215 0.409869 10.2899V2.05994C0.396906 2.02099 0.396906 1.97877 0.409869 1.93982C0.432986 1.90011 0.467992 1.86868 0.509906 1.84985H0.609881C0.662635 1.8506 0.71297 1.87223 0.749896 1.90991L3.7499 4.90991L4.40987 4.27991C6.86683 1.9537 10.1165 0.648827 13.4999 0.629883C16.9903 0.635178 20.336 2.02478 22.8031 4.49377C25.2702 6.96277 26.6572 10.3096 26.6599 13.7999C26.6476 17.2901 25.2608 20.6349 22.7999 23.1099C21.5789 24.3343 20.1277 25.3049 18.5298 25.9657C16.9319 26.6265 15.219 26.9643 13.4899 26.9598L13.5399 26.9999Z"})}))},I1=function(e){return(0,Kl.jsx)(Gl.Z,Us(Us({},e),{},{viewBox:"0 0 448 512",children:(0,Kl.jsx)("path",{d:"M224 256c-35.2 0-64 28.8-64 64c0 35.2 28.8 64 64 64c35.2 0 64-28.8 64-64C288 284.8 259.2 256 224 256zM433.1 129.1l-83.9-83.9C341.1 37.06 328.8 32 316.1 32H64C28.65 32 0 60.65 0 96v320c0 35.35 28.65 64 64 64h320c35.35 0 64-28.65 64-64V163.9C448 151.2 442.9 138.9 433.1 129.1zM128 80h144V160H128V80zM400 416c0 8.836-7.164 16-16 16H64c-8.836 0-16-7.164-16-16V96c0-8.838 7.164-16 16-16h16v104c0 13.25 10.75 24 24 24h192C309.3 208 320 197.3 320 184V83.88l78.25 78.25C399.4 163.2 400 164.8 400 166.3V416z"})}))},W1=new Map;W1.set("linear-thread","tenting"),W1.set("bolus","bolus"),W1.set("microdroplet","microdroplet"),W1.set("fanning","fanning"),W1.set("tenting","needle"),W1.set("botulinum-toxin-injection","unit");var F1=function(t){var o,i,a,s,l,c,u,d=t.type,p=t.tools,f=me(),h=(0,e.useContext)(fK),b=(0,n.Z)(h,2),A=b[0],m=b[1],g=(0,e.useState)({state:[],nextState:null}),v=(0,n.Z)(g,2),y=v[0],M=v[1],O=(0,e.useState)(null),_=(0,n.Z)(O,2),z=_[0],x=_[1],w=(0,e.useState)(!1),C=(0,n.Z)(w,2),S=C[0],E=C[1],k=(0,e.useState)(""),D=(0,n.Z)(k,2),N=D[0],T=D[1],j=(0,e.useState)(),B=(0,n.Z)(j,2),L=B[0],R=B[1],q=(0,e.useState)(void 0),P=(0,n.Z)(q,2),I=P[0],W=P[1],F=(0,e.useState)(!1),U=(0,n.Z)(F,2),Z=U[0],H=U[1],$=(0,e.useState)([]),V=(0,n.Z)($,2),X=V[0],Q=V[1],Y=(0,e.useState)(!1),G=(0,n.Z)(Y,2),K=G[0],J=G[1],ee=(0,e.useState)({tools:[],currentTool:null}),te=(0,n.Z)(ee,2),ne=te[0],re=te[1],oe=(0,e.useState)({activeMode:null,activeTool:null,colors:["#060606","#ff0000","#0EFF0A","#FFE600","#3300FF","#ffffff"],color:"#060606"}),ie=(0,n.Z)(oe,2),ae=ie[0],se=ie[1],le=(0,e.useState)([]),ce=(0,n.Z)(le,2),ue=ce[0],de=ce[1],pe=(0,e.useState)([]),fe=(0,n.Z)(pe,2),he=fe[0],be=fe[1],Ae=(0,e.useState)(null),ge=(0,n.Z)(Ae,2),ve=ge[0],ye=ge[1],Me=(0,e.useState)(!1),Oe=(0,n.Z)(Me,2),_e=Oe[0],ze=Oe[1],xe=(0,e.useState)(!1),we=(0,n.Z)(xe,2),Ce=we[0],Se=we[1],Ee=(0,e.useState)(!1),ke=(0,n.Z)(Ee,2),De=ke[0],Ne=ke[1],Te=(0,e.useState)(!1),je=(0,n.Z)(Te,2),Be=je[0],Le=je[1],qe=(0,e.useState)([]),Pe=(0,n.Z)(qe,2),Ie=Pe[0],We=Pe[1],Fe=(0,e.useState)(!1),Ue=(0,n.Z)(Fe,2),Ze=Ue[0],He=Ue[1],$e=(0,e.useState)([]),Ve=(0,n.Z)($e,2),Xe=Ve[0],Qe=Ve[1],Ye=hE().enqueueSnackbar,Ge=Fc().patientRecordStore,Ke=Ge.unsavedChanges,Je=function(e){gr((function(){Ge.updateUnsavedChanges(e)}))};(0,e.useEffect)((function(){var e=new bK.fabric.Canvas("c");m(e)}),[]),(0,e.useEffect)((function(){X.length>0&&!z&&nt(Us({},X[0]))}),[X,z]),(0,e.useEffect)((function(){return A&&(A.on("object:added",it),A.on("object:modified",it),A.on("object:removed",it)),function(){A&&(A.off("object:added",it),A.off("object:modified",it),A.off("object:removed",it))}}),[A,y,S,ne]),(0,e.useEffect)((function(){return A&&(ot(),window.addEventListener("resize",ot,!1)),function(){A&&window.removeEventListener("resize",ot,!1)}}),[A]),(0,e.useEffect)((function(){tt(),et(),re({})}),[Ze]),(0,e.useEffect)((function(){Re.get("/v1/text-snippets").then((function(e){var t;be(null===e||void 0===e||null===(t=e.data)||void 0===t?void 0:t.data.filter((function(e){var t;return null===e||void 0===e||null===(t=e.for_pages)||void 0===t?void 0:t.includes(null===d||void 0===d?void 0:d.toLowerCase())})))}))}),[]),(0,e.useEffect)((function(){Re.get("/v1/treatment-techniques").then((function(e){var t,n=null===(t=e.data)||void 0===t?void 0:t.data.map((function(e){return Us(Us({},e),{},{shape:W1.get(e.slug),icon:q1})}));de(n)}))}),[]),(0,e.useEffect)((function(){Re.get("/v1/appointment/".concat(f.appointmentId,"/treatment-notes")).then((function(e){var t=e.data.data.find((function(e){return e.stage===d}));T(null===t||void 0===t?void 0:t.note),R(null===t||void 0===t?void 0:t.lastUpdated),W(null===t||void 0===t?void 0:t.id)}))}),[f.appointmentId,d]);var et=function(){Re.get("/v1/patient-record/images/".concat(f.appointmentId),{headers:{"Content-Type":"multipart/form-data"}}).then((function(e){0===e.data.urls.length?We([]):We(e.data.urls),Le(!1)})).catch((function(){}))},tt=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t,n,o;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=ve?"".concat(ve,"&type=").concat(d):"/v1/appointment/".concat(f.appointmentId,"/record?type=").concat(d),e.next=3,Re.get(t);case 3:if(n=e.sent,(o=n.data).data.length&&(!o.links.prev||o.links.next)&&(o.links.prev||o.links.next||_e!==o.links.prev)){e.next=7;break}return e.abrupt("return",!1);case 7:ze(o.links.prev),ye(o.links.next),X.push.apply(X,(0,r.Z)(o.data.map((function(e){return Us(Us({},e),{},{name:CK(),canvasHistory:{state:[],nextState:null,defaultState:null},canvasInstance:null,tools:{tools:null===e||void 0===e?void 0:e.tools.map((function(e){var t,n,r;return Us(Us({},e),{},{brand:Us(Us({},e.productBrand),{},{instruments:[null===e||void 0===e?void 0:e.productInstrument]}),techniques:null===e||void 0===e||null===(t=e.techniques)||void 0===t?void 0:t.map((function(e){return e.id})),instrument:null===e||void 0===e||null===(n=e.productInstrument)||void 0===n?void 0:n.id,measurement:null===e||void 0===e||null===(r=e.productMeasurement)||void 0===r?void 0:r.id})})),currentTool:null}})})))),Q((0,r.Z)(X));case 11:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),nt=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:E(!0),A.off("object:added",it),A.off("object:modified",it),A.off("object:removed",it),A.clear(),rt(t),re(Us({},t.tools)),x(t),setTimeout((function(){E(!1)}),0);case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),rt=function(e){bK.fabric.Image.fromURL(e.url,(function(t){var n=(null===A||void 0===A?void 0:A.width)/(null===t||void 0===t?void 0:t.width),r=(null===A||void 0===A?void 0:A.height)/(null===t||void 0===t?void 0:t.height),o=0,i=0,a=0;n<r?(i=t.width*n,o=t.height*i/t.width):(o=t.height*r,a=(i=t.width*o/t.height)!==(null===A||void 0===A?void 0:A.width)?((null===A||void 0===A?void 0:A.width)-i)/2:0),A.setBackgroundImage(t,A.renderAll.bind(A),{top:0,left:a,scaleX:i/t.width,scaleY:o/t.height}),A.renderAll(),M(Us(Us({},e.canvasHistory),{},{defaultState:JSON.stringify(A.toDatalessJSON(A.extraProps))}))}),{crossOrigin:"anonymous"})},ot=function(){setTimeout((function(){A.setWidth(720),A.setHeight(900),A.renderAll()}),1)},it=function(e){var t=e.target;if("temp"===(null===t||void 0===t?void 0:t.id))return!1;if(S)return!1;var n={json:y.nextState};y.nextState=JSON.stringify(A.toDatalessJSON(A.extraProps)),null!==ne&&void 0!==ne&&ne.currentTool&&(n.toolsHistory=JSON.stringify((0,r.Z)(ne.tools))),y.state!==n&&y.state.push(n),M(y),Je(!0)},at=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,r,o=arguments;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=o.length>1&&void 0!==o[1]&&o[1],r={name:CK(),url:t,canvasInstance:null,notes:null,tools:{tools:[],currentTool:null},canvasHistory:{state:[],nextState:null,defaultState:null},isOriginal:n,default:!1},setTimeout((function(){re(Us(Us({},ne),{},{tools:[],currentTool:null}))}),1),x(r),e.next=6,st(r,!0);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),st=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,o,i,a,s,l,c,u,p=arguments;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=p.length>1&&void 0!==p[1]&&p[1],o=function(e){var t=Xe.find((function(t){return t.id===e}));return(null===t||void 0===t?void 0:t.lotNo)||""},i=function(e){var t=Xe.find((function(t){return t.id===e}));return(null===t||void 0===t?void 0:t.expiryDate)||""},a=new FormData,!n){e.next=8;break}s=t.url,e.next=12;break;case 8:return l=JSON.stringify(A.toDatalessJSON(A.extraProps)),e.next=11,new Promise((function(e){return A.loadFromJSON(l,(function(){e(A.toDataURL())}))}));case 11:s=e.sent;case 12:return e.next=14,fetch(s.toString(),{credentials:"omit"}).then((function(e){return e.blob()})).then((function(e){return new File([e],"".concat(t.name,".png"),{type:"image/png"})}));case 14:c=e.sent,a.append("image",c),a.append("type",d),a.append("isOriginal",t.isOriginal),n||null===ne||void 0===ne||null===(u=ne.tools)||void 0===u||u.filter((function(e){return 0!==(null===e||void 0===e?void 0:e.totalAmount)})).forEach((function(e,n){var r,s,l;t.id&&a.append("tools[".concat(n,"][treatmentRecordId]"),t.id),e.id&&a.append("tools[".concat(n,"][id]"),e.id),a.append("tools[".concat(n,"][product_brand_id]"),null===(r=e.brand)||void 0===r?void 0:r.id),a.append("tools[".concat(n,"][product_instrument_id]"),null===e||void 0===e?void 0:e.instrument),a.append("tools[".concat(n,"][product_measurement_id]"),null===e||void 0===e?void 0:e.measurement),null===e||void 0===e||e.techniques.forEach((function(e,t){a.append("tools[".concat(n,"][techniques][").concat(t,"]"),e)})),a.append("tools[".concat(n,"][total_amount]"),null===e||void 0===e?void 0:e.totalAmount),a.append("tools[".concat(n,"][color]"),null===e||void 0===e?void 0:e.color),a.append("tools[".concat(n,"][shape]"),null===e||void 0===e?void 0:e.shape);var c=o(null===(s=e.brand)||void 0===s?void 0:s.id),u=i(null===(l=e.brand)||void 0===l?void 0:l.id);""!==c&&a.append("tools[".concat(n,"][lot_number]"),c),""!==u&&a.append("tools[".concat(n,"][expiration_date]"),u)})),t.id&&!t.isOriginal?(Le(!0),a.append("_method","PUT"),Re.post("/v1/treatment-record/".concat(t.id),a,{headers:{"Content-Type":"multipart/form-data"}}).then((function(e){var n,r=e.data,o=Us(Us({},t),{},{url:r.data.url,id:r.data.id,name:_J(),thumbnails:r.data.thumbnails,tools:{tools:null===r||void 0===r||null===(n=r.data)||void 0===n?void 0:n.tools.map((function(e){var t,n,r;return Us(Us({},e),{},{brand:Us(Us({},e.productBrand),{},{instruments:[null===e||void 0===e?void 0:e.productInstrument]}),techniques:null===e||void 0===e||null===(t=e.techniques)||void 0===t?void 0:t.map((function(e){return e.id})),instrument:null===e||void 0===e||null===(n=e.productInstrument)||void 0===n?void 0:n.id,measurement:null===e||void 0===e||null===(r=e.productMeasurement)||void 0===r?void 0:r.id})})),currentTool:null}});se(Us(Us({},ae),{},{activeMode:null,activeTool:null}));var i=X.concat().map((function(e){return e.id!==t.id||e.isOriginal?e:o}));Le(!1),Q(i),nt(o),x(o),Je(!1),H(!0)})).catch((function(e){Le(!1),Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return Ye(e,{variant:"error"})}))}))}))):(Le(!0),(t.id&&t.isOriginal||t.default)&&a.set("isOriginal",!1),Re.post("/v1/appointment/".concat(f.appointmentId,"/new-record"),a,{headers:{"Content-Type":"multipart/form-data"}}).then((function(e){var n,o=e.data,i=Us(Us({},t),{},{url:o.data.url,id:o.data.id,thumbnails:o.data.thumbnails,name:_J(),isOriginal:Boolean(o.data.isOriginal),tools:{tools:null===o||void 0===o||null===(n=o.data)||void 0===n?void 0:n.tools.map((function(e){var t,n,r;return Us(Us({},e),{},{brand:Us(Us({},e.productBrand),{},{instruments:[null===e||void 0===e?void 0:e.productInstrument]}),techniques:null===e||void 0===e||null===(t=e.techniques)||void 0===t?void 0:t.map((function(e){return e.id})),instrument:null===e||void 0===e||null===(n=e.productInstrument)||void 0===n?void 0:n.id,measurement:null===e||void 0===e||null===(r=e.productMeasurement)||void 0===r?void 0:r.id})})),currentTool:null}});X.push(i),nt(i),Q((0,r.Z)(X.map((function(e){return e.id===t.id&&e.name===t.name&&(e.canvasInstance=null,e.canvasHistory={state:[],nextState:null,defaultState:null},e.tools={tools:[],currentTool:null}),e})))),Le(!1),se(Us(Us({},ae),{},{activeMode:null,activeTool:null})),x(i),Je(!1),H(!0)})).catch((function(e){Le(!1),Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return Ye(e,{variant:"error"})}))}))})));case 20:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),lt=(0,e.useMemo)((function(){var e,t;return(null===(e=window)||void 0===e?void 0:e.innerWidth)>1280&&(null===(t=window)||void 0===t?void 0:t.innerHeight)>=750}),[null===(o=window)||void 0===o?void 0:o.innerWidth]),ct=function(){I?Re.put("/v1/treatment-record-note/".concat(I),{note:N,stage:d}).then((function(e){var t,n;R(null===e||void 0===e||null===(t=e.data)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.lastUpdated),Je(!1),ut()})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return Ye(e,{variant:"error"})}))}))})):Re.post("/v1/appointment/".concat(f.appointmentId,"/treatment-notes"),{note:N,stage:d}).then((function(e){var t,n,r,o;R(null===e||void 0===e||null===(t=e.data)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.lastUpdated),Je(!1),ut(),W(null===e||void 0===e||null===(r=e.data)||void 0===r||null===(o=r.data)||void 0===o?void 0:o.id)})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return Ye(e,{variant:"error"})}))}))}))},ut=function(){H(!0),setTimeout((function(){H(!1)}),5e3)};return(0,Kl.jsxs)("div",{className:SK,children:[(0,Kl.jsxs)("div",{className:DK,children:[(0,Kl.jsxs)("div",{className:qK,children:[(0,Kl.jsxs)("div",{className:PK,children:[(0,Kl.jsxs)("div",{style:{backgroundColor:"#fff",padding:"25px 0 0 25px"},children:[(0,Kl.jsx)("canvas",{id:"c"}),(0,Kl.jsx)("div",{className:jK,style:{height:"100%",maxHeight:"100%"},children:(0,Kl.jsxs)("div",{className:TK,children:[(0,Kl.jsx)(s0,{disabled:Be,storeImage:at}),X.map((function(e){var t;return(0,Kl.jsxs)("div",{className:IK,onClick:function(){return nt(Us({},e))},children:[(0,Kl.jsx)("button",{onClick:function(){return J(!0)},children:(0,Kl.jsx)(dB.Z,{style:{fontSize:8,color:"#fff"}})}),(0,Kl.jsx)("img",{src:null!==e&&void 0!==e&&null!==(t=e.thumbnails)&&void 0!==t&&t.length?e.thumbnails[e.thumbnails.length-1].url:e.url,alt:e.name})]},e.id+e.name)}))]})})]}),(0,Kl.jsx)("div",{className:NK,style:{height:"100%",maxHeight:"100%"},children:(0,Kl.jsxs)("div",{className:TK,children:[(0,Kl.jsx)(s0,{disabled:Be,storeImage:at}),X.map((function(e){var t;return(0,Kl.jsxs)("div",{className:IK,onClick:function(){return nt(Us({},e))},children:[(0,Kl.jsx)("button",{onClick:function(){return J(!0)},children:(0,Kl.jsx)(dB.Z,{style:{fontSize:8,color:"#fff"}})}),(0,Kl.jsx)("img",{src:null!==e&&void 0!==e&&null!==(t=e.thumbnails)&&void 0!==t&&t.length?e.thumbnails[e.thumbnails.length-1].url:e.url,alt:e.name})]},e.id+e.name)}))]})})]}),(0,Kl.jsxs)("div",{className:UK,style:{width:A?Number(null===A||void 0===A?void 0:A.width):"100%"},children:[(0,Kl.jsxs)("div",{className:ZK,children:[(0,Kl.jsx)(wd.Z,{onClick:function(){var e,t;E(!0);var n=null===y||void 0===y||null===(e=y.state)||void 0===e?void 0:e.pop();if(setTimeout((function(){var e;return A.loadFromJSON(null!==(e=null===n||void 0===n?void 0:n.json)&&void 0!==e?e:y.defaultState,A.renderAll.bind(A))}),0),M(Us(Us({},y),{},{nextState:null!==(t=null===n||void 0===n?void 0:n.json)&&void 0!==t?t:y.defaultState})),null!==n&&void 0!==n&&n.toolsHistory){var r,o=JSON.parse(n.toolsHistory).filter((function(e){return 0!==e.totalAmount&&0!==e.amount})),i=null!==(r=o.find((function(e){var t,n;return e.brand.id===(null===ne||void 0===ne||null===(t=ne.currentTool)||void 0===t?void 0:t.brand.id)&&e.instrument===(null===ne||void 0===ne||null===(n=ne.currentTool)||void 0===n?void 0:n.instrument)})))&&void 0!==r?r:null;null!==i&&void 0!==i&&i.amount||se(Us(Us({},ae),{},{activeMode:null,activeTool:null})),0===o.length&&se(Us(Us({},ae),{},{activeMode:null,activeTool:null})),re(Us(Us({},ne),{},{tools:o,currentTool:i}))}Je(!1),setTimeout((function(){return E(!1)}),1)},style:{color:"#001838"},children:(0,Kl.jsx)(P1,{})}),(0,Kl.jsx)(OJ,{options:ae,setOptions:se,tools:p,toolsOptions:ne,setToolsOptions:re,techniques:ue}),(0,Kl.jsx)(wd.Z,{onClick:Be?null:function(){return st(z)},disabled:!z,style:{color:"#001838",opacity:z?1:.5},className:Ke?"blinking":"",children:Be?(0,Kl.jsx)(DE,{className:"loading-icon",width:30,height:30}):(0,Kl.jsx)(I1,{})})]}),z&&z.id&&(0,Kl.jsx)(Kl.Fragment,{children:(0,Kl.jsx)(R1,{open:K,setOpen:J,id:z.id,handleAction:function(e){Le(!0),Re.delete("/v1/treatment-record/".concat(e)).then((function(t){t.data;Q((function(t){return(0,r.Z)(t.filter((function(t){return t.id!==e})))})),(null===z||void 0===z?void 0:z.id)===e&&(A.clear(),x(null),He(!Ze),Je(!1),Le(!1))})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return Ye(e,{variant:"error"})}))})),Je(!1),Le(!1)}))}})})]})]}),window.location.pathname.includes("record")&&lt&&!(null===ne||void 0===ne||null===(i=ne.tools)||void 0===i||!i.length)&&(0,Kl.jsx)("div",{className:BK,children:"record"===d&&(0,Kl.jsxs)("div",{className:LK,children:[(0,Kl.jsx)(kl.Z,{variant:"body1",style:{marginBottom:"14px"},children:"Procedures"}),(0,Kl.jsx)("div",{className:RK,children:null!==ne&&void 0!==ne&&null!==(a=ne.tools)&&void 0!==a&&a.length?null===ne||void 0===ne||null===(s=ne.tools)||void 0===s?void 0:s.filter((function(e){return 0!==(null===e||void 0===e?void 0:e.totalAmount)})).map((function(e,t){return(0,Kl.jsx)(F0,{procedure:e,collapse:!1,setCollapse:function(){return null},techniques:ue,productImages:Ie,setProductImages:We,productBrands:Xe,setProductBrands:Qe,params:f},"procedure_".concat(t))})):(0,Kl.jsx)("p",{style:{fontWeight:300,textAlign:"center",color:"gray",marginTop:"130%",position:"absolute"},children:"No information logged. Use facemapping tool to activate procedure log."})})]})}),lt&&(0,Kl.jsx)("div",{className:WK,children:(0,Kl.jsx)(L1,{snippets:he,notes:N,setNotes:T,notesUpdated:L,onClickSave:ct,productImages:Ie,setProductImages:We,updateChanges:Je,params:f})})]}),!lt&&(0,Kl.jsxs)("div",{className:EK,children:["record"===d&&!(null===ne||void 0===ne||null===(l=ne.tools)||void 0===l||!l.length)&&(0,Kl.jsxs)(p0,{expanded:Ce,onChange:function(){return Se(!Ce)},children:[(0,Kl.jsx)(h0,{expandIcon:(0,Kl.jsx)(Xp.Z,{}),"aria-controls":"panel1a-content",id:"panel1a-header",children:(0,Kl.jsx)(kl.Z,{children:"Procedures"})}),(0,Kl.jsx)(A0,{children:(0,Kl.jsx)("div",{className:kK,children:!(null===ne||void 0===ne||null===(c=ne.tools)||void 0===c||!c.length)&&(null===ne||void 0===ne||null===(u=ne.tools)||void 0===u?void 0:u.filter((function(e){return 0!==(null===e||void 0===e?void 0:e.totalAmount)})).map((function(e,t){return(0,Kl.jsx)(F0,{procedure:e,collapse:!1,setCollapse:function(){return null},techniques:ue,productBrands:Xe,setProductBrands:Qe},"procedure_".concat(t))})))})})]}),(0,Kl.jsxs)(p0,{expanded:De,onChange:function(){return Ne(!De)},children:[(0,Kl.jsx)(h0,{expandIcon:(0,Kl.jsx)(Xp.Z,{}),"aria-controls":"panel1a-content",id:"panel1a-header",children:(0,Kl.jsxs)(AC,{direction:"row",item:!0,container:!0,justifyContent:"space-between",children:[(0,Kl.jsx)(kl.Z,{children:"Records"}),!!L&&(0,Kl.jsxs)(kl.Z,{variant:"body2",children:["Updated at:"," ",Vs()(L).format("DD.MM.YYYY HH:mm")]})]})}),(0,Kl.jsx)(A0,{children:(0,Kl.jsx)(j1,{notes:N,setNotes:T,storeImage:at,snippets:he,close:z||A||ne||ae,canvasHistory:y,currentImage:z,onClickSave:ct,productImages:Ie,setProductImages:We,updateChanges:Je,params:f})})]})]}),(0,Kl.jsx)(ZB,{open:Z,autoHideDuration:4e3,onClose:function(){return H(!1)},anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Kl.jsx)(Xh,{severity:"success",children:"Successfully saved!"})})]})},U1=function(){return(0,Kl.jsx)(hK,{children:(0,Kl.jsx)(F1,{type:"after",tools:["marker","dot","arrow","line","dash","text"]})})},Z1={container:"aftercare_container__jn46v",sendButtonContainer:"aftercare_sendButtonContainer__n0XIs",box:"aftercare_box__tV10l",aftercareHeader:"aftercare_aftercareHeader__SwV7F",aftercareItems:"aftercare_aftercareItems__afoIZ",care:"aftercare_care__l3F49",img:"aftercare_img__eR0e7",aftercareItemsHistory:"aftercare_aftercareItemsHistory__AbMJE",careItem:"aftercare_careItem__PfCoQ",careItemHistory:"aftercare_careItemHistory__svbcI",time:"aftercare_time__9NXIx"},H1=__webpack_require__(20971),$1=__webpack_require__(78689),V1=function(e){var t=e.name,n=e.id,r=e.handleChange,o=e.value,i=e.disabled;return(0,Kl.jsx)(hS,{onClick:i?null:function(){r(n)},className:Z1.careItem,children:(0,Kl.jsx)(AC,{container:!0,direction:"column",children:(0,Kl.jsx)(AS,{className:Z1.care,children:(0,Kl.jsxs)(AC,{container:!0,direction:"row",alignItems:"center",wrap:"nowrap",children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(kk.Z,{icon:(0,Kl.jsx)($1.Z,{}),checkedIcon:(0,Kl.jsx)(H1.Z,{}),checked:o,name:n.toString(),color:"primary",disabled:i})}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(kl.Z,{style:{wordBreak:"break-word"},children:t})})]})})})})},X1=function(e){var t=e.name,n=e.id,r=e.handleChange,o=e.sentAt;return(0,Kl.jsx)(hS,{onClick:function(){r(n)},className:Z1.careItemHistory,children:(0,Kl.jsx)(AC,{container:!0,direction:"column",children:(0,Kl.jsx)(AS,{className:Z1.care,children:(0,Kl.jsxs)(AC,{container:!0,direction:"row",alignItems:"center",wrap:"nowrap",justifyContent:"space-between",children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(kl.Z,{style:{wordBreak:"break-word"},children:t})}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsxs)(kl.Z,{style:{wordBreak:"break-word"},align:"right",className:Z1.time,children:["Sent at: ",Vs()(o).format("DD.MM.YYYY HH:mm")]})})]})})})})},Q1=$l((function(){var t=(0,e.useState)([]),o=(0,n.Z)(t,2),i=o[0],a=o[1],s=me(),l=he(),c=(0,e.useState)([]),u=(0,n.Z)(c,2),d=u[0],p=u[1],f=(0,e.useState)([]),h=(0,n.Z)(f,2),b=h[0],A=h[1],m=(0,e.useState)(""),g=(0,n.Z)(m,2),v=g[0],y=g[1],M=(0,e.useState)(!1),O=(0,n.Z)(M,2),_=O[0],z=O[1],x=hE().enqueueSnackbar,w=function(){Re.get("/v1/aftercare-documents",{params:{search:v}}).then((function(e){var t;p(null===e||void 0===e||null===(t=e.data)||void 0===t?void 0:t.data)}))},C=function(e){var t=(0,r.Z)(i);if(i.includes(e)){var n=t.filter((function(t){return t!==e}));a(n)}else t.push(e),a(t)};(0,e.useEffect)((function(){w(),Re.get("/v1/appointment/".concat(s.appointmentId,"/sent-aftercare-documents")).then((function(e){var t;A(null===e||void 0===e||null===(t=e.data)||void 0===t?void 0:t.data)}))}),[]);return(0,Kl.jsxs)(AC,{container:!0,direction:"column",className:Z1.container,children:[(0,Kl.jsxs)(AC,{container:!0,direction:"column",justifyContent:"space-between",alignItems:"center",className:Z1.box,children:[(0,Kl.jsx)(kl.Z,{children:"Documents"}),(0,Kl.jsxs)(AC,{container:!0,direction:"row",spacing:2,alignItems:"center",justifyContent:"space-between",className:Z1.aftercareHeader,children:[(0,Kl.jsx)(AC,{item:!0,xs:!0,children:(0,Kl.jsx)(oS.Z,{className:Z1.label,label:"Aftercare sheet not needed",control:(0,Kl.jsx)(kk.Z,{checked:_,onChange:function(){z(!_),_||a([])},color:"primary"})})}),(0,Kl.jsxs)(AC,{xs:!0,item:!0,container:!0,direction:"row",spacing:2,alignItems:"center",justifyContent:"flex-end",children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(Yu,{value:v,setValue:function(e){y(e)},label:"Search in documents..."})}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",onClick:function(){return w()},children:"Search"})})]})]}),(0,Kl.jsx)("div",{className:Z1.aftercareItems,children:null===d||void 0===d?void 0:d.map((function(e,t){var n;return(0,Kl.jsx)(V1,{disabled:_,name:null===e||void 0===e||null===(n=e.attachment)||void 0===n?void 0:n.original_name,id:null===e||void 0===e?void 0:e.id,handleChange:C,value:i.includes(null===e||void 0===e?void 0:e.id)},"".concat(null===e||void 0===e?void 0:e.name,"_").concat(t))}))}),(null===b||void 0===b?void 0:b.length)>0&&(0,Kl.jsxs)("div",{className:Z1.aftercareItemsHistory,children:[(0,Kl.jsx)(kl.Z,{children:"History"}),null===b||void 0===b?void 0:b.map((function(e,t){var n;return(0,Kl.jsx)(X1,{name:null===e||void 0===e||null===(n=e.attachment)||void 0===n?void 0:n.original_name,sentAt:null===e||void 0===e?void 0:e.sentAt,id:null===e||void 0===e?void 0:e.id,handleChange:C,value:i.includes(null===e||void 0===e?void 0:e.id)},"".concat(null===e||void 0===e?void 0:e.name,"_").concat(t))}))]})]}),(0,Kl.jsx)(AC,{item:!0,container:!0,justifyContent:"center",className:Z1.sendButtonContainer,children:(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",onClick:_?function(){Re.post("/v1/appointment/".concat(s.appointmentId,"/partial-update"),{without_aftercare_documents:!0}).then((function(){l("/doctor-appointment/".concat(s.appointmentId,"/payment"))})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return x(e,{variant:"error"})}))}))}))}:function(){Re.post("/v1/appointment/".concat(s.appointmentId,"/send-aftercare"),{aftercareDocuments:i.filter((function(e){return d.map((function(e){return e.id})).includes(e)}))}).then((function(){l("/doctor-appointment/".concat(s.appointmentId,"/payment"))})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return x(e,{variant:"error"})}))}))}))},children:_?"Next":"Send"})})]})})),Y1=Q1,G1=function(){return(0,Kl.jsx)(hK,{children:(0,Kl.jsx)(F1,{type:"before",tools:["marker","dot","arrow","line","dash","text"]})})},K1={container:"consents_container__G3anB",formControl:"consents_formControl__bJUxQ",selector:"consents_selector__WtC54",continueButton:"consents_continueButton__MIVtF"},J1=e.forwardRef((function(t,n){var r=t.classes,o=t.className,i=t.disableSpacing,a=void 0!==i&&i,s=(0,Uu.Z)(t,["classes","className","disableSpacing"]);return e.createElement("div",(0,Fu.Z)({className:(0,Zu.Z)(r.root,o,!a&&r.spacing),ref:n},s))})),e2=(0,Hu.Z)({root:{display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end"},spacing:{"& > :not(:first-child)":{marginLeft:8}}},{name:"MuiAccordionActions"})(J1),t2=__webpack_require__(90194),n2=__webpack_require__.n(t2),r2=__webpack_require__(19687),o2="signature_container__RCiCv",i2="signature_signatureHeader__w5Dz3",a2="signature_eraseContainer__YTlOC",s2="signature_buttonErase__WjGEF",l2="signature_canvas__kqOD0",c2=__webpack_require__(14056),u2=__webpack_require__.n(c2),d2=__webpack_require__.p+"static/media/no_image.16ad51e0b8a09da6f5c8.jpg";var p2=__webpack_require__.p+"static/media/erase-active.6873830e6640d350e19814d0e97294b0.svg";var f2,h2,b2=__webpack_require__.p+"static/media/erase-inactive.b3bada78ab38522675fece0b30c495b8.svg",A2=e.forwardRef((function(t,n){var r=t.title,o=t.sign,i=t.signedAt,a=(t.active,t.isEmpty),s=t.setIsEmpty,l=t.createdDate,c=(t.empty,t.showErase),u=void 0===c||c;Fc().patientRecordStore;return(0,e.useEffect)((function(){for(var e=document.getElementsByTagName("img"),t=0;t<e.length;t++)"logo"!==e[t].id&&e[t].setAttribute("crossorigin","*")}),[o]),(0,Kl.jsxs)(AC,{container:!0,direction:"column",className:o2,children:[(0,Kl.jsxs)(AC,{container:!0,justifyContent:"space-between",alignItems:"center",className:i2,children:[(0,Kl.jsxs)(kl.Z,{variant:"h6",children:[r,i&&(0,Kl.jsxs)(Kl.Fragment,{children:[" (",Vs()(i).format("MM/DD/YYYY"),")"]})]}),(0,Kl.jsxs)("div",{className:a2,children:[u&&(0,Kl.jsx)("button",{className:s2,onClick:function(e){return function(e){var t;e.preventDefault(),null===n||void 0===n||null===(t=n.current)||void 0===t||t.clear(),s(!0)}(e)},disabled:a&&!o,children:!0!==a||o?(0,Kl.jsx)("img",{src:p2,alt:"Erase signature",title:"Erase signature"}):(0,Kl.jsx)("img",{src:b2,alt:"Erase signature inactive",title:"Erase signature inactive"})}),!!l&&(0,Kl.jsxs)(kl.Z,{children:["Signed at: ",Vs()(l).format("DD.MM.YYYY HH:mm")]})]})]}),(0,Kl.jsx)(AC,{container:!0,direction:"row",children:o?(0,Kl.jsx)("img",{className:l2,component:"img",onError:function(e){return function(e){return e.target.src=d2,!0}(e)},alt:"signature",src:o+"?t="+(new Date).getTime()}):(0,Kl.jsx)(u2(),{ref:n,clearOnResize:!1,canvasProps:{className:l2},onEnd:function(){return s(!1)}})})]})})),m2=A2,g2=$l((function(t){var r=t.consent,o=t.removeConsent,i=(t.expanded,me()),a=r.id,s=r.name,l=r.text,c=r.agreements,u=r.updateAgreement,d=r.answers,p=r.sign,f=r.active,h=r.setActive,b=r.setSign,A=r.allChecked,m=r.generic,g=r.updatedDate,v=r.setUpdatedDate,y=(0,e.useState)(m),M=(0,n.Z)(y,2),O=M[0],_=M[1],z=hE().enqueueSnackbar,x=(0,e.useState)(!1),w=(0,n.Z)(x,2),C=w[0],S=w[1],E=Fc().appointment,k=(0,e.createRef)(),D=(0,e.useState)(!0),N=(0,n.Z)(D,2),T=N[0],j=N[1],B=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t,n;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=k.current.toDataURL(),n=new FormData,fetch(t).then((function(e){return e.blob()})).then((function(e){var t,r=new File([e],"sign_".concat(null===E||void 0===E||null===(t=E.patient)||void 0===t?void 0:t.id,".png"),{type:"image/png"});n.append("sign",r),d.forEach((function(e,t){n.append("answers[".concat(t,"][consentFormAgreementId]"),e.consentFormAgreementId),n.append("answers[".concat(t,"][result]"),e.result?1:0)})),Re.post("/v1/appointment/".concat(i.appointmentId,"/consent-form/").concat(a),n,{headers:{"Content-Type":"multipart/form-data"}}).then((function(e){var t,n,r=e.data;b(null===r||void 0===r||null===(t=r.data)||void 0===t?void 0:t.signUrl),h(!0),v(null===r||void 0===r||null===(n=r.data)||void 0===n?void 0:n.updatedDate),z("Successfully saved",{variant:"success"})})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return z(e,{variant:"error"})}))}))}))}));case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,Kl.jsx)("div",{id:"consent-".concat(a),style:{marginBottom:16},children:(0,Kl.jsx)(AC,{item:!0,container:!0,spacing:2,direction:"row",alignItems:"center",justifyContent:"center",children:(0,Kl.jsx)(AC,{item:!0,xs:!0,children:(0,Kl.jsxs)(p0,{expanded:O,onChange:function(){return _(!O)},children:[(0,Kl.jsx)(h0,{expandIcon:(0,Kl.jsx)(Xp.Z,{}),"aria-controls":"panel1a-content",id:"panel1a-header",children:(0,Kl.jsxs)(AC,{container:!0,justifyContent:"space-between",direction:"row",children:[(0,Kl.jsxs)(AC,{item:!0,container:!0,xs:!0,children:[f&&(0,Kl.jsx)(OB.Z,{style:{color:r2.Z[500],marginRight:10}}),(0,Kl.jsx)(kl.Z,{children:s})]}),!m&&(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(oS.Z,{"aria-label":"Acknowledge",onClick:function(e){return e.stopPropagation()},onFocus:function(e){return e.stopPropagation()},control:(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(wd.Z,{size:"small","aria-label":"close",color:"primary",onClick:function(){S(!0),o()},disabled:C,children:(0,Kl.jsx)(HE.Z,{fontSize:"small"})})})})})]})}),(0,Kl.jsx)(A0,{children:(0,Kl.jsxs)(AC,{container:!0,direction:"column",children:[n2()(l),(0,Kl.jsx)(AJ.Z,{component:"fieldset",children:(0,Kl.jsx)(HW,{children:null===c||void 0===c?void 0:c.map((function(e,t){return(0,Kl.jsx)(oS.Z,{control:(0,Kl.jsx)(kk.Z,{disabled:f,checked:e.result,onChange:function(){return function(e){u(e)}(e.id)},name:e.title,required:!e.isOptional,color:"primary"}),label:e.title},e.title)}))})}),(0,Kl.jsx)(m2,{title:"Patient Signature",ref:k,sign:p,active:f,isEmpty:T,setIsEmpty:j,showErase:!p,createdDate:f?g:null})]})}),!f&&(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(Jb,{}),(0,Kl.jsx)(e2,{children:(0,Kl.jsx)(zd.Z,{size:"small",variant:"contained",color:"primary",onClick:function(){B()},disabled:T||!A,children:"Save"})})]})]})})})})})),v2=g2,y2=$l((function(){var t=me(),r=(0,e.useState)(""),o=(0,n.Z)(r,2),i=o[0],a=o[1],s=he(),l=(0,e.useState)([]),c=(0,n.Z)(l,2),u=c[0],d=c[1],p=Fc(),f=p.appointment,h=p.appointmentDoctor;(0,e.useEffect)((function(){yr((0,Hs.Z)((0,Zs.Z)().mark((function e(){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,A();case 2:return e.next=4,b();case 4:case"end":return e.stop()}}),e)}))))}),[null===f||void 0===f?void 0:f.treatmentTypes]);var b=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,r,o,i,s;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get("/v1/consent-forms",{params:{limit:100}});case 2:r=e.sent,o=r.data,d(null===o||void 0===o?void 0:o.data),(null===o||void 0===o||null===(n=o.data)||void 0===n?void 0:n.length)>0&&a(null===o||void 0===o||null===(i=o.data)||void 0===i||null===(s=i[0])||void 0===s?void 0:s.id);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),A=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(n){var r,o;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get("/v1/appointment/".concat(t.appointmentId,"/consent-forms"));case 2:r=e.sent,o=r.data,h.initConsents(o.data);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),m=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.post("/v1/appointment/".concat(t.appointmentId,"/consent-form"),{consent_form_id:i}).then((function(){return A()}));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),g=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(n){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.delete("/v1/appointment/".concat(t.appointmentId,"/consent-form/").concat(n)).then((function(){return A()}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),v=bn((function(){return h.consents.filter((function(e){return(null===e||void 0===e?void 0:e.id)===i})).length>0})).get();return(0,Kl.jsxs)("div",{className:K1.container,children:[(0,Kl.jsxs)(AC,{container:!0,alignItems:"center",justifyContent:"space-between",className:K1.selector,children:[(0,Kl.jsxs)(AC,{container:!0,alignItems:"center",justifyContent:"space-between",className:K1.selector,children:[(0,Kl.jsx)(AC,{item:!0,children:u.length>0&&(0,Kl.jsxs)(AJ.Z,{className:K1.formControl,children:[(0,Kl.jsx)(rL.Z,{children:"Consent Form"}),(0,Kl.jsx)(LE.Z,{variant:"outlined",value:i,onChange:function(e){a(e.target.value)},children:u.map((function(e){return(0,Kl.jsx)(xd.Z,{value:e.id,children:e.name},e.id)}))})]})}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(zd.Z,{className:K1.saveBtn,variant:"contained",color:"primary",onClick:m,disabled:!i||v,children:"Add Form"})})]}),(0,Kl.jsx)(AC,{container:!0,direction:"column",spacing:1,children:h.consents.map((function(e,t){return(0,Kl.jsx)(v2,{expanded:null===e||void 0===e?void 0:e.generic,consent:e,removeConsent:function(){return g(e.id)}},e.id)}))})]}),(0,Kl.jsx)(AC,{container:!0,justifyContent:"center",alignItems:"center",className:K1.continueButton,children:(0,Kl.jsx)(zd.Z,{className:K1.saveBtn,variant:"contained",color:"primary",onClick:function(){s("/doctor-appointment/".concat(t.appointmentId,"/before"))},disabled:!i||!h.existActiveConsents,children:"Continue to Treatment"})})]})})),M2=y2,O2="consultation_container__lzSU6",_2="overview_container__zQLrN",z2="overview_loader__voxto",x2="overview_header__e3POn",w2="overview_title__1QCa-",C2="overview_main__XCtPE",S2={container:"concentDropdown_container__373Kq",badges:"concentDropdown_badges__9RcJG",dropdownHeader:"concentDropdown_dropdownHeader__QrXNa",dropdownSelector:"concentDropdown_dropdownSelector__HKqHu",dropdownText:"concentDropdown_dropdownText__A-FW+",title:"concentDropdown_title__TQoEq",dropdownContent:"concentDropdown_dropdownContent__RhiiL",items:"concentDropdown_items__pzmrH",sidebar:"concentDropdown_sidebar__OIub+",label:"concentDropdown_label__hOzdx",selectTitle:"concentDropdown_selectTitle__mf+vA",main:"concentDropdown_main__SVeyy"},E2="concernGroup_container__3a976",k2="concernGroup_selectTitle__Kb5IJ",D2="concernGroup_concerns__Ybd+C",N2="concernGroup_label__609Ja",T2=function(e){var t=e.selectedConcerns,n=e.onChange,r=e.id,o=e.name,i=e.type;return(0,Kl.jsx)(oS.Z,{className:N2,label:o,control:(0,Kl.jsx)(kk.Z,{name:"concernCheckbox",checked:!!t.find((function(e){return e.id===r&&i===e.type})),onChange:function(){return n(r,i)},color:"primary"})},r)},j2=function(e){var t=e.type,n=e.concerns,o=e.setSelectedConcerns,i=e.selectedConcerns,a=e.updateChanges,s=function(e,t){i.find((function(n){return n.id===e&&t===n.type}))?(o(i.filter((function(n){return n.id!==e||t!==n.type}))),a(!0)):(o([].concat((0,r.Z)(i),[{id:e,type:t}])),a(!0))};return(0,Kl.jsxs)("div",{className:E2,children:[(0,Kl.jsx)(kl.Z,{className:k2,children:t.name}),(0,Kl.jsx)("div",{className:D2,children:n.map((function(e,n){return(0,Kl.jsx)(T2,{id:e.id,name:e.name,onChange:s,selectedConcerns:i,type:t.id},"concern_".concat(n))}))})]})},B2="badge_container__9mKg4",L2="badge_close__XUyOY",R2="badge_text__i05VI",q2=function(e){var t=e.text,n=e.onClick;return(0,Kl.jsxs)("div",{className:B2,children:[(0,Kl.jsx)(wd.Z,{className:L2,onClick:n,children:(0,Kl.jsx)(dB.Z,{})}),(0,Kl.jsx)(kl.Z,{className:R2,children:t})]})},P2=function(t){var o=t.title,i=t.dropdownTitle,a=t.searchLabel,s=t.categories,l=t.selectedTypes,c=t.setSelectedTypes,u=t.concerns,d=t.selectedConcerns,p=t.setSelectedConcerns,f=t.updateChanges,h=(0,e.useState)(""),b=(0,n.Z)(h,2),A=b[0],m=b[1],g=(0,e.useState)(!1),v=(0,n.Z)(g,2),y=v[0],M=v[1],O=(0,e.useMemo)((function(){return d.map((function(e){return Us(Us({},null===u||void 0===u?void 0:u.find((function(t){return t.id===e.id}))),{},{type:s.find((function(t){return t.id===e.type}))})}))}),[d,u]),_=(0,e.useMemo)((function(){return u.filter((function(e){return e.name.toLowerCase().includes(A.toLowerCase())})).filter((function(e){return e.available_types.map((function(e){return e.id})).some((function(e){return l.includes(e)}))})).sort((function(e,t){return e.name>t.name?1:-1}))}),[l,u,A]),z=(0,e.useMemo)((function(){var e={};return _.forEach((function(t){t.available_types.forEach((function(n){l.includes(n.id)&&(e[n.id]||(e[n.id]={type:n,concerns:[]}),e[n.id].concerns.some((function(e){return e.id===t.id}))||e[n.id].concerns.push(t))}))})),Object.values(e)}),[_,l]);return(0,Kl.jsxs)("div",{className:S2.container,children:[(0,Kl.jsxs)("div",{className:S2.dropdownHeader,children:[(0,Kl.jsx)(kl.Z,{className:S2.title,children:o}),(0,Kl.jsxs)("div",{className:S2.dropdownSelector,onClick:function(){M(!y)},style:{border:y?"1px solid #d8a66a":"1px solid #b3bac9",borderBottom:y?"1px solid transparent":"1px solid #b3bac9"},children:[(0,Kl.jsx)(kl.Z,{className:S2.dropdownText,children:0===(null===d||void 0===d?void 0:d.length)?i:"".concat(null===d||void 0===d?void 0:d.length," selected")}),(0,Kl.jsx)(fB.Z,{className:S2.dropdownChevron,style:{color:y?"#d8a66a":"#b3bac9",transform:y?"rotate(270deg)":"rotate(90deg)"}})]})]}),y?(0,Kl.jsxs)("div",{className:S2.dropdownContent,children:[(0,Kl.jsx)(Yu,{value:A,setValue:m,label:a,fullWidth:!0}),(0,Kl.jsxs)("div",{className:S2.items,children:[!!s&&(0,Kl.jsxs)("div",{className:S2.sidebar,children:[(0,Kl.jsx)(kl.Z,{className:S2.selectTitle,children:"Please Select"}),s.sort((function(e,t){return e.name>t.name?1:-1})).map((function(e){return(0,Kl.jsx)(oS.Z,{className:S2.label,label:e.name,control:(0,Kl.jsx)(kk.Z,{name:"checkbox",checked:l.includes(e.id),onChange:function(){return t=e.id,void(l.includes(t)?(c(l.filter((function(e){return e!==t}))),p(d.filter((function(e){return e.type!==t}))),f(!0)):(c([].concat((0,r.Z)(l),[t])),f(!0)));var t},color:"primary"})},e.id)}))]}),(0,Kl.jsx)("div",{className:S2.main,children:null===z||void 0===z?void 0:z.map((function(e,t){return(0,Kl.jsx)(j2,{type:e.type,concerns:e.concerns,selectedConcerns:d,setSelectedConcerns:p,updateChanges:f},"group_concern_".concat(t))}))})]})]}):(0,Kl.jsx)("div",{className:S2.badges,children:O.map((function(e,t){var n;return(0,Kl.jsx)(q2,{text:"".concat(null===e||void 0===e||null===(n=e.type)||void 0===n?void 0:n.name," \u2013 ").concat(null===e||void 0===e?void 0:e.name),onClick:function(){return t=e.id,p(d.filter((function(e){return e.id!==t}))),void f(!0);var t}},"badge_".concat(t))}))})]})},I2={container:"contentDropdown_container__Dsp4N",badges:"contentDropdown_badges__ks+7M",badgeItems:"contentDropdown_badgeItems__ihXFN",scaleSpoiler:"contentDropdown_scaleSpoiler__3lYQX",dropdownHeader:"contentDropdown_dropdownHeader__50oQR",dropdownSelector:"contentDropdown_dropdownSelector__JrUGv",dropdownText:"contentDropdown_dropdownText__EPwKA",title:"contentDropdown_title__JMhA+",dropdownContent:"contentDropdown_dropdownContent__SeBGS",items:"contentDropdown_items__wf+ct",sidebar:"contentDropdown_sidebar__tIW-d",label:"contentDropdown_label__Qq4uL",selectTitle:"contentDropdown_selectTitle__MzFBR",main:"contentDropdown_main__CUwXh"},W2="scale_container__qwC7I",F2="scale_dropdownHeader__OUfey",U2="scale_dropdownSelector__GI2iJ",Z2="scale_dropdownText__nbRHr",H2="scale_dropdownChevron__z6EQI",$2="scale_dropdownContent__-7rsc",V2="scale_notes__3cAUR",X2="scale_items__6f2Th",Q2="scale_scaleItems__2fwFt",Y2="scale_scaleItem__w32lp",G2={0:{backgroundColor:"#FF00FF"},1:{backgroundColor:"#0000FF"},2:{backgroundColor:"#00FF00",color:"#000"},3:{backgroundColor:"#FFFF00",color:"#000"},4:{backgroundColor:"#FFA500",color:"#000"},5:{backgroundColor:"#FF1616"}},K2=function(e){var t=e.number,n=e.onClick,r=e.selected;return(0,Kl.jsx)("div",{className:Y2,onClick:n,style:{backgroundColor:r?G2[t].backgroundColor:"#b3bac9"},children:(0,Kl.jsx)(kl.Z,{style:{color:r?G2[t].color:"#fff"},children:t})})},J2=function(t){var o,i=t.id,a=t.title,s=t.selected,l=t.setSelected,c=t.max,u=t.updateChanges,d=(0,e.useState)(!0),p=(0,n.Z)(d,2),f=p[0],h=p[1],b=(0,e.useMemo)((function(){return s.find((function(e){return e.id===i}))}),[s]),A=(0,e.useCallback)((function(e){return e===(null===b||void 0===b?void 0:b.value)}),[s,b]);return(0,Kl.jsxs)("div",{className:W2,children:[(0,Kl.jsx)("div",{className:F2,children:(0,Kl.jsxs)("div",{className:U2,onClick:function(){h(!f)},style:{border:f?"1px solid #d8a66a":"1px solid #b3bac9",borderBottom:f?"1px solid transparent":"1px solid #b3bac9"},children:[(0,Kl.jsxs)(kl.Z,{className:Z2,children:[a," - ",null===b||void 0===b?void 0:b.value]}),(0,Kl.jsx)(fB.Z,{className:H2,style:{color:f?"#d8a66a":"#b3bac9",transform:f?"rotate(270deg)":"rotate(90deg)"}})]})}),f&&(0,Kl.jsxs)("div",{className:$2,children:[(0,Kl.jsx)("div",{className:X2,children:(0,Kl.jsx)("div",{className:Q2,children:(0,r.Z)(Array(null!==c&&void 0!==c?c:0).keys()).map((function(e){return(0,Kl.jsx)(K2,{number:e,onClick:function(){return function(e){var t=s.concat();t=t.map((function(t){return t.id===i&&(t.value=e),t})),l(t),u(!0)}(e)},selected:A(e)},"".concat(i,"_scale_").concat(e))}))})}),(0,Kl.jsx)(Wu.Z,{className:V2,size:"small",variant:"outlined",fullWidth:!0,multiline:!0,name:"Notes",label:"Notes",type:"text",onChange:function(e){var t=s.concat();t=t.map((function(t){return t.id===i&&(t.note=e.target.value),t})),l(t),u(!0)},value:null!==(o=null===b||void 0===b?void 0:b.note)&&void 0!==o?o:""})]})]})},e3=function(t){var o,i,a=t.title,s=t.searchLabel,l=t.selected,c=t.setSelected,u=t.items,d=t.dropdownTitle,p=t.type,f=t.updateChanges,h=(0,e.useState)(""),b=(0,n.Z)(h,2),A=b[0],m=b[1],g=(0,e.useState)(!1),v=(0,n.Z)(g,2),y=v[0],M=v[1],O=(0,e.useMemo)((function(){return l.map((function(e){return null===u||void 0===u?void 0:u.find((function(t){return t.id===e.id}))}))}),[l,u]);return(0,Kl.jsxs)("div",{className:I2.container,children:[(0,Kl.jsxs)("div",{className:I2.dropdownHeader,children:[(0,Kl.jsx)(kl.Z,{className:I2.title,children:a}),(0,Kl.jsxs)("div",{className:I2.dropdownSelector,onClick:function(){M(!y)},style:{border:y?"1px solid #d8a66a":"1px solid #b3bac9",borderBottom:y?"1px solid transparent":"1px solid #b3bac9"},children:[(0,Kl.jsx)(kl.Z,{className:I2.dropdownText,children:0===(null===l||void 0===l?void 0:l.length)?d:"".concat(null===l||void 0===l?void 0:l.length," selected")}),(0,Kl.jsx)(fB.Z,{className:I2.dropdownChevron,style:{color:y?"#d8a66a":"#b3bac9",transform:y?"rotate(270deg)":"rotate(90deg)"}})]})]}),y?(0,Kl.jsxs)("div",{className:I2.dropdownContent,children:[(0,Kl.jsx)(Yu,{value:A,setValue:m,label:s,fullWidth:!0}),(0,Kl.jsx)("div",{className:I2.items,children:(0,Kl.jsxs)("div",{className:I2.sidebar,children:[(0,Kl.jsx)(kl.Z,{className:I2.selectTitle,children:"Please Select"}),null===(o=u.filter((function(e){return"".concat(e.name," \u2013 ").concat(null===e||void 0===e?void 0:e.code).toLowerCase().includes(A.toLowerCase())})))||void 0===o||null===(i=o.sort((function(e,t){return"".concat(null===e||void 0===e?void 0:e.name," \u2013 ").concat(null===e||void 0===e?void 0:e.code)>"".concat(null===t||void 0===t?void 0:t.name," \u2013 ").concat(null===t||void 0===t?void 0:t.code)?1:-1})))||void 0===i?void 0:i.map((function(e){return(0,Kl.jsx)(oS.Z,{className:I2.label,label:null!==e&&void 0!==e&&e.code?"".concat(null===e||void 0===e?void 0:e.name," \u2013 ").concat(null===e||void 0===e?void 0:e.code):"".concat(null===e||void 0===e?void 0:e.name),control:(0,Kl.jsx)(kk.Z,{name:"checkbox",checked:!!l.find((function(t){return e.id===t.id})),onChange:function(){return t=e.id,void(l.find((function(e){return e.id===t}))?(c(l.filter((function(e){return e.id!==t}))),f(!0)):(c([].concat((0,r.Z)(l),[{id:t,value:0,note:""}])),f(!0)));var t},color:"primary"})},"".concat(p,"_checkbox_").concat(e.id))}))]})})]}):(0,Kl.jsxs)("div",{className:I2.badges,children:[(0,Kl.jsx)("div",{className:I2.badgeItems,children:O.map((function(e,t){return(0,Kl.jsx)(q2,{text:null!==e&&void 0!==e&&e.code?"".concat(null===e||void 0===e?void 0:e.name," \u2013 ").concat(null===e||void 0===e?void 0:e.code):"".concat(null===e||void 0===e?void 0:e.name),onClick:function(){return t=e.id,c(l.filter((function(e){return e.id!==t}))),void f(!0);var t}},"badge_".concat(t))}))}),"scaling"===p&&(0,Kl.jsx)("div",{className:I2.scaleSpoiler,children:O.map((function(e){return(0,Kl.jsx)(J2,{title:null===e||void 0===e?void 0:e.name,setSelected:c,selected:l,id:null===e||void 0===e?void 0:e.id,max:(null===e||void 0===e?void 0:e.maximum)+1,updateChanges:f},"scaleSpoiler_".concat(null===e||void 0===e?void 0:e.id))}))})]})]})},t3=$l((function(t){var r=t.setNotes,o=t.updatedAt,i=t.setUpdatedAt,a=t.setConsultationId,s=t.loading,l=t.setLoading,c=t.selectedTypes,u=t.setSelectedTypes,d=t.selectedConcerns,p=t.setSelectedConcerns,f=t.selectedScaling,h=t.setSelectedScaling,b=t.selectedDiagnoses,A=t.setSelectedDiagnoses,m=t.updateChanges,g=me(),v=(0,e.useState)([]),y=(0,n.Z)(v,2),M=y[0],O=y[1],_=(0,e.useState)([]),z=(0,n.Z)(_,2),x=z[0],w=z[1],C=(0,e.useState)([]),S=(0,n.Z)(C,2),E=S[0],k=S[1],D=(0,e.useState)([]),N=(0,n.Z)(D,2),T=N[0],j=N[1];return(0,e.useEffect)((function(){var e=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get("/v1/consultation/concern-types").then((function(e){var t=e.data;O(null===t||void 0===t?void 0:t.data)}));case 2:return e.next=4,Re.get("/v1/consultation/concerns").then((function(e){var t=e.data;w(null===t||void 0===t?void 0:t.data)}));case 4:return e.next=6,Re.get("/v1/consultation/scaling-tools").then((function(e){var t,n=e.data;k(null===n||void 0===n?void 0:n.data);var r=null===n||void 0===n||null===(t=n.data)||void 0===t?void 0:t.filter((function(e){return null===e||void 0===e?void 0:e.is_select_by_default})).map((function(e){var t;return Us(Us({},e),{},{value:null!==(t=null===e||void 0===e?void 0:e.default_value)&&void 0!==t?t:0,note:""})}));h(r)}));case 6:return e.next=8,Re.get("/v1/consultation/diagnoses").then((function(e){var t=e.data;j(null===t||void 0===t?void 0:t.data)}));case 8:return e.next=10,Re.get("/v1/appointment/".concat(null===g||void 0===g?void 0:g.appointmentId,"/consultation")).then((function(e){var t=e.data;if(null!==t&&void 0!==t&&t.data){var n,o,s,l,d;r(null===t||void 0===t||null===(n=t.data)||void 0===n?void 0:n.note),p(null===t||void 0===t?void 0:t.data.concerns.map((function(e){return{id:e.id,type:e.type.id}}))),h(null===t||void 0===t||null===(o=t.data)||void 0===o?void 0:o.scaling_tools),A(null===t||void 0===t||null===(s=t.data)||void 0===s?void 0:s.diagnoses),i(null===t||void 0===t||null===(l=t.data)||void 0===l?void 0:l.updated_at),a(null===t||void 0===t||null===(d=t.data)||void 0===d?void 0:d.id);var f=null===t||void 0===t?void 0:t.data.concerns.filter((function(e){return!c.includes(e.type.id)})).map((function(e){return e.type.id}));u(f)}}));case 10:l(!1);case 11:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}),[]),(0,Kl.jsxs)("div",{className:_2,children:[(0,Kl.jsxs)("div",{className:x2,children:[(0,Kl.jsx)(kl.Z,{variant:"body1",className:w2,children:"Consultation Overview"}),(0,Kl.jsx)(kl.Z,{variant:"body2",children:s?(0,Kl.jsx)(Rp,{variant:"text",width:200,height:24}):o&&"Updated at ".concat(Vs()(o).format("DD.MM.YYYY HH:mm"))})]}),s?(0,Kl.jsx)("div",{className:z2,children:(0,Kl.jsx)(Gh.Z,{})}):(0,Kl.jsxs)("div",{className:C2,children:[(0,Kl.jsx)(P2,{title:"What are the main concern?",dropdownTitle:"Select Concerns",searchLabel:"Type a concerns",categories:M,selectedTypes:c,setSelectedTypes:u,selectedConcerns:d,setSelectedConcerns:p,concerns:x,updateChanges:m}),(0,Kl.jsx)(e3,{title:"Use a scaling tool",dropdownTitle:"Select a scale",searchLabel:"Type a scale",selected:f,setSelected:h,items:E,type:"scaling",updateChanges:m}),(0,Kl.jsx)(e3,{title:"Make a diagnoses",dropdownTitle:"Select ICD Code",searchLabel:"Type ICD Code",selected:b,setSelected:A,items:T,updateChanges:m})]})]})})),n3=t3,r3="notes_container__BSeE+",o3=$l((function(t){var r=t.notes,o=t.setNotes,i=t.updatedAt,a=t.setUpdatedAt,s=t.consultationId,l=t.loading,c=t.setConsultationId,u=t.selectedConcerns,d=t.selectedScaling,p=t.selectedDiagnoses,f=t.updateChanges,h=(0,e.useState)([]),b=(0,n.Z)(h,2),A=b[0],m=b[1],g=me(),v=hE().enqueueSnackbar;(0,e.useEffect)((function(){Re.get("/v1/text-snippets").then((function(e){var t;m(null===e||void 0===e||null===(t=e.data)||void 0===t?void 0:t.data.filter((function(e){var t;return null===e||void 0===e||null===(t=e.for_pages)||void 0===t?void 0:t.includes("consultation")})))}))}),[]);return(0,Kl.jsx)("div",{className:r3,children:(0,Kl.jsx)(L1,{notesUpdated:i,notes:r,setNotes:o,onClickSave:function(){var e={note:r,concerns:u.map((function(e){return{concern_id:e.id,concern_type_id:e.type}})),scaling_tools:null===d||void 0===d?void 0:d.map((function(e){return{scaling_tool_id:null===e||void 0===e?void 0:e.id,value:e.value,note:null===e||void 0===e?void 0:e.note}})),diagnoses:null===p||void 0===p?void 0:p.map((function(e){return e.id}))};s?Re.put("/v1/appointment/".concat(null===g||void 0===g?void 0:g.appointmentId,"/consultation/").concat(s),e).then((function(e){var t,n,r=e.data;c(null===r||void 0===r||null===(t=r.data)||void 0===t?void 0:t.id),a(null===r||void 0===r||null===(n=r.data)||void 0===n?void 0:n.updated_at),v("Successfully saved!",{variant:"success"}),f(!1)})).catch((function(e){f(!1),Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return v(e,{variant:"error"})}))}))})):Re.post("/v1/appointment/".concat(null===g||void 0===g?void 0:g.appointmentId,"/consultation"),e).then((function(e){var t,n,r=e.data;c(null===r||void 0===r||null===(t=r.data)||void 0===t?void 0:t.id),a(null===r||void 0===r||null===(n=r.data)||void 0===n?void 0:n.updated_at),v("Successfully saved!",{variant:"success"}),f(!1)})).catch((function(e){f(!1),Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return v(e,{variant:"error"})}))}))}))},snippets:A,loading:l,updateChanges:f})})})),i3=o3,a3=$l((function(){var t=(0,e.useState)(""),r=(0,n.Z)(t,2),o=r[0],i=r[1],a=(0,e.useState)(""),s=(0,n.Z)(a,2),l=s[0],c=s[1],u=(0,e.useState)(),d=(0,n.Z)(u,2),p=d[0],f=d[1],h=(0,e.useState)(!0),b=(0,n.Z)(h,2),A=b[0],m=b[1],g=(0,e.useState)([]),v=(0,n.Z)(g,2),y=v[0],M=v[1],O=(0,e.useState)([]),_=(0,n.Z)(O,2),z=_[0],x=_[1],w=(0,e.useState)([]),C=(0,n.Z)(w,2),S=C[0],E=C[1],k=(0,e.useState)([]),D=(0,n.Z)(k,2),N=D[0],T=D[1],j=Fc().patientRecordStore,B=function(e){gr((function(){j.updateUnsavedChanges(e)}))};return(0,Kl.jsxs)("div",{className:O2,children:[(0,Kl.jsx)(n3,{setNotes:i,setUpdatedAt:c,updatedAt:l,setConsultationId:f,loading:A,setLoading:m,selectedTypes:y,setSelectedTypes:M,selectedConcerns:z,setSelectedConcerns:x,selectedScaling:S,setSelectedScaling:E,selectedDiagnoses:N,setSelectedDiagnoses:T,updateChanges:B}),(0,Kl.jsx)(i3,{setNotes:i,notes:o,setUpdatedAt:c,updatedAt:l,setConsultationId:f,consultationId:p,loading:A,setLoading:m,selectedTypes:y,setSelectedTypes:M,selectedConcerns:z,setSelectedConcerns:x,selectedScaling:S,setSelectedScaling:E,selectedDiagnoses:N,setSelectedDiagnoses:T,updateChanges:B})]})})),s3=a3,l3="final_container__MbmYV",c3=__webpack_require__(74920),u3=__webpack_require__(75513),d3=__webpack_require__(59484),p3="sidebar_container__qG6Yc",f3={container:"documents_container__4gDEH",loader:"documents_loader__RBKK6",title:"documents_title__PMzL4",checkList:"documents_checkList__gqVss",checkItem:"documents_checkItem__DYWYF",textContainer:"documents_textContainer__q-COA",check:"documents_check__YEIxx",cancel:"documents_cancel__bRQnd",documentItem:"documents_documentItem__CBW-5",titleContainer:"documents_titleContainer__x-AYE"},h3=__webpack_require__(77152),b3=function(e){var t=e.title,n=e.to,r=he();return(0,Kl.jsxs)("div",{className:f3.documentItem,children:[(0,Kl.jsxs)("div",{className:f3.titleContainer,children:[(0,Kl.jsx)(h3.Z,{}),(0,Kl.jsx)(kl.Z,{className:f3.text,children:t})]}),(0,Kl.jsx)(zd.Z,{onClick:function(){return function(e){r(e)}(n)},children:"View"})]})},A3=$l((function(){var t=me(),o=(0,e.useState)([]),i=(0,n.Z)(o,2),a=i[0],s=i[1],l=(0,e.useState)(!0),c=(0,n.Z)(l,2),u=c[0],d=c[1],p=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(n){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get("/v1/appointment/".concat(t.appointmentId,"/consent-forms")).then((function(e){var n=e.data.data.map((function(e){var n,r;return{name:null===e||void 0===e||null===(n=e.consentForm)||void 0===n?void 0:n.name,link:"/doctor-appointment/".concat(null===t||void 0===t?void 0:t.appointmentId,"/consent#consent-").concat(null===e||void 0===e||null===(r=e.consentForm)||void 0===r?void 0:r.id)}}));s((function(e){return(0,r.Z)(n)}))}));case 2:return e.next=4,Re.get("/v1/appointment/".concat(t.appointmentId,"/prescriptions")).then((function(e){var n=e.data.data.map((function(e){return{name:"Prescription #".concat(null===e||void 0===e?void 0:e.id),link:"/doctor-appointment/".concat(null===t||void 0===t?void 0:t.appointmentId,"/prescription#prescriptionId-").concat(null===e||void 0===e?void 0:e.id)}}));s((function(e){return[].concat((0,r.Z)(e),(0,r.Z)(n))}))}));case 4:d(!1);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return(0,e.useEffect)((function(){p()}),[]),(0,Kl.jsxs)("div",{className:f3.container,children:[(0,Kl.jsx)(kl.Z,{className:f3.title,children:"Documents"}),u?(0,Kl.jsx)("div",{className:f3.loader,children:(0,Kl.jsx)(Gh.Z,{size:32})}):null===a||void 0===a?void 0:a.map((function(e){return(0,Kl.jsx)(b3,{title:null===e||void 0===e?void 0:e.name,to:null===e||void 0===e?void 0:e.link},"document_".concat(null===e||void 0===e?void 0:e.name))}))]})})),m3=A3,g3="payments_container__+uOUN",v3="payments_title__mQpL2",y3="payments_paymentItem__ZtxQv",M3="payments_text__m1MeK",O3=function(t){var n,r=t.title,o=t.amount,i=t.date,a=t.method,s=t.loading,l=(0,e.useContext)(bA),c=(0,e.useMemo)((function(){return null===ic||void 0===ic?void 0:ic.find((function(e){return e.slug===a}))}),[ic,a]);return(0,Kl.jsx)("div",{className:y3,children:s?(0,Kl.jsx)(Rp,{width:"100%",height:24}):(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(kl.Z,{className:M3,children:r}),(0,Kl.jsx)(kl.Z,{className:M3,children:"".concat(null===l||void 0===l||null===(n=l.clinic)||void 0===n?void 0:n.currency).concat(o)}),(0,Kl.jsx)(kl.Z,{className:M3,style:{opacity:i?1:0},children:!!i&&Vs()(i).format("DD/MM/YYYY")}),null!==c&&void 0!==c&&c.icon?null===c||void 0===c?void 0:c.icon:(0,Kl.jsx)(tc,{style:{opacity:0}})]})})},_3=$l((function(){var e,t,n,r=Fc(),o=r.appointmentDoctor,i=r.appointment;return(0,Kl.jsxs)("div",{className:g3,children:[(0,Kl.jsx)(kl.Z,{className:v3,children:"Payments"}),(0,Kl.jsx)(O3,{title:"Deposit",amount:i.isDeposited||i.isPaid?i.deposit.toFixed(2):0,date:null===i||void 0===i?void 0:i.depositedAt,method:"card_payment",loading:!(null!==i&&void 0!==i&&i.id)}),(0,Kl.jsx)(O3,{title:"Final",amount:null===o||void 0===o||null===(e=o.payment)||void 0===e?void 0:e.total.toFixed(2),date:null===o||void 0===o||null===(t=o.payment)||void 0===t?void 0:t.paidAt,method:null===o||void 0===o||null===(n=o.payment)||void 0===n?void 0:n.paymentMethod,loading:!(null!==i&&void 0!==i&&i.id)})]})})),z3=_3,x3="todo_container__0JwGo",w3="todo_title__GFPJ4",C3="todo_checkList__s-p9v",S3="todo_button__IqI83",E3="todo_checkItem__zxosP",k3="todo_textContainer__WEszv",D3="todo_check__3mwsA",N3="todo_cancel__VZadd",T3="todo_text__Y97pJ",j3=__webpack_require__(3847),B3=$l((function(e){var t=e.checklist,n=he();return(0,Kl.jsxs)("div",{className:x3,children:[(0,Kl.jsx)(kl.Z,{className:w3,children:"To-Do List"}),(0,Kl.jsx)("div",{className:C3,children:null===t||void 0===t?void 0:t.map((function(e,t){return(0,Kl.jsxs)("div",{className:E3,children:[null!==e&&void 0!==e&&e.loading?(0,Kl.jsx)(Rp,{variant:"text",width:"100%",height:24}):(0,Kl.jsxs)("div",{className:k3,children:[e.status?(0,Kl.jsx)(OB.Z,{className:D3}):(0,Kl.jsx)(j3.Z,{className:N3}),(0,Kl.jsx)(kl.Z,{className:T3,children:null===e||void 0===e?void 0:e.text})]}),!e.status&&!(null!==e&&void 0!==e&&e.loading)&&(0,Kl.jsx)(zd.Z,{onClick:function(){return function(e){n(e)}(null===e||void 0===e?void 0:e.to)},variant:"outlined",className:S3,children:null===e||void 0===e?void 0:e.todoText})]},"todo_".concat(t))}))})]})})),L3=B3,R3=$l((function(e){var t=e.checklist;return(0,Kl.jsxs)("div",{className:p3,children:[(0,Kl.jsx)(z3,{}),(0,Kl.jsx)(L3,{checklist:t}),(0,Kl.jsx)(m3,{})]})})),q3=R3,P3="overview_container__irc8R",I3="overview_header__IdiR7",W3="overview_title__VbnHC",F3="consultation_container__G7cjO",U3="concerns_container__peTqG",Z3="concerns_list__40aY2",H3="concerns_loading__iPQbN",$3="concerns_concern__YP-Yg",V3="concerns_title__MsDxU",X3=$l((function(e){var t=e.concerns,n=e.loading;return(0,Kl.jsxs)("div",{className:U3,children:[(0,Kl.jsx)(kl.Z,{className:V3,children:"Concerns"}),(0,Kl.jsx)("ul",{className:Z3,children:n?(0,Kl.jsx)("div",{className:H3,children:(0,Kl.jsx)(Gh.Z,{color:"primary",size:32})}):(null===t||void 0===t?void 0:t.length)>0?null===t||void 0===t?void 0:t.map((function(e,t){var n,r;return(0,Kl.jsx)("li",{className:$3,children:"".concat(null===e||void 0===e||null===(r=e.type)||void 0===r?void 0:r.name," \u2013 ").concat(null===e||void 0===e?void 0:e.name)},"".concat(null===e||void 0===e||null===(n=e.type)||void 0===n?void 0:n.name,"_").concat(null===e||void 0===e?void 0:e.name,"_").concat(t))})):(0,Kl.jsx)("div",{className:H3,children:(0,Kl.jsx)(kl.Z,{children:"Not recorded"})})})]})})),Q3=X3,Y3="scales_container__MYgdx",G3="scales_header__FsNEm",K3="scales_title__zbcv+",J3="scales_list__HDtcC",e4="scales_loading__4Sx-T",t4="scales_anxietyScale__aRyFk",n4="scales_scale__7D4UG",r4="scales_note__b8KU1",o4=function(e){var t,n=e.scale;return(0,Kl.jsxs)("div",{className:t4,children:[(0,Kl.jsxs)("div",{className:G3,children:[(0,Kl.jsx)(kl.Z,{className:K3,children:null===n||void 0===n?void 0:n.name}),(0,Kl.jsx)("div",{className:n4,style:{backgroundColor:G2[null===n||void 0===n?void 0:n.value].backgroundColor},children:(0,Kl.jsx)(kl.Z,{style:{color:null!==(t=G2[null===n||void 0===n?void 0:n.value].color)&&void 0!==t?t:"#fff"},children:n.value})})]}),(0,Kl.jsx)("div",{className:r4,children:null===n||void 0===n?void 0:n.note})]})},i4=$l((function(e){var t=e.scales,n=e.loading;return(0,Kl.jsxs)("div",{className:Y3,children:[(0,Kl.jsx)(kl.Z,{className:K3,children:"Scaling Tools"}),(0,Kl.jsx)("div",{className:J3,children:n?(0,Kl.jsx)("div",{className:e4,children:(0,Kl.jsx)(Gh.Z,{color:"primary",size:32})}):(null===t||void 0===t?void 0:t.length)>0?null===t||void 0===t?void 0:t.map((function(e,t){return(0,Kl.jsx)(o4,{scale:e},"".concat(null===e||void 0===e?void 0:e.name,"_").concat(t))})):(0,Kl.jsx)("div",{className:e4,children:(0,Kl.jsx)(kl.Z,{children:"Not recorded"})})})]})})),a4=i4,s4="diagnoses_container__AyMnZ",l4="diagnoses_header__0xcST",c4="diagnoses_title__aps1r",u4="diagnoses_icd__xyHxf",d4="diagnoses_list__eJ43R",p4="diagnoses_loading__EZbiL",f4="diagnoses_diagnose__K+QgQ",h4=$l((function(e){var t=e.diagnoses,n=e.loading;return(0,Kl.jsxs)("div",{className:s4,children:[(0,Kl.jsxs)("div",{className:l4,children:[(0,Kl.jsx)(kl.Z,{className:c4,children:"Diagnosis"}),(0,Kl.jsx)(kl.Z,{className:u4,children:"ICD Code"})]}),(0,Kl.jsx)("div",{className:d4,children:n?(0,Kl.jsx)("div",{className:p4,children:(0,Kl.jsx)(Gh.Z,{color:"primary",size:32})}):(null===t||void 0===t?void 0:t.length)>0?null===t||void 0===t?void 0:t.map((function(e,t){return(0,Kl.jsxs)("div",{className:f4,children:[(0,Kl.jsx)(kl.Z,{align:"left",children:null===e||void 0===e?void 0:e.name}),(0,Kl.jsx)(kl.Z,{align:"right",children:null===e||void 0===e?void 0:e.code})]},"".concat(null===e||void 0===e?void 0:e.name,"_").concat(t))})):(0,Kl.jsx)("div",{className:p4,children:(0,Kl.jsx)(kl.Z,{children:"Not recorded"})})})]})})),b4=h4,A4=$l((function(e){var t=e.consultation,n=e.loading;return(0,Kl.jsxs)("div",{className:F3,children:[(0,Kl.jsx)(Q3,{concerns:null===t||void 0===t?void 0:t.concerns,loading:n}),(0,Kl.jsx)(a4,{scales:null===t||void 0===t?void 0:t.scaling_tools,loading:n}),(0,Kl.jsx)(b4,{diagnoses:null===t||void 0===t?void 0:t.diagnoses,loading:n})]})})),m4=A4,g4="notes_container__fhXGK",v4="note_container__jm+J0",y4="note_loading__Ovu6r",M4="note_header__2SpN9",O4="note_types__VJ18M",_4="note_type__aAkhc",z4="note_typeText__rYHJH",x4="note_title__QhOjt",w4=$l((function(e){var t=e.title,n=e.types,r=e.type,o=e.setType,i=e.note,a=e.loading;return(0,Kl.jsxs)("div",{className:v4,children:[(0,Kl.jsxs)("div",{className:M4,children:[(0,Kl.jsx)(kl.Z,{className:x4,children:t}),(0,Kl.jsx)("div",{className:O4,children:null===n||void 0===n?void 0:n.map((function(e,t){return(0,Kl.jsx)("div",{className:_4,onClick:function(){return o(e)},style:{color:r===e?"#d8a66a":"initial"},children:(0,Kl.jsx)(kl.Z,{className:z4,children:null===e||void 0===e?void 0:e.toUpperCase()})},"type_".concat(e))}))})]}),a?(0,Kl.jsx)("div",{className:y4,children:(0,Kl.jsx)(Gh.Z,{color:"primary",size:32})}):(null===i||void 0===i?void 0:i.length)>0?(0,Kl.jsx)(Wu.Z,{style:{height:"100%",backgroundColor:"#ffff"},fullWidth:!0,multiline:!0,value:null!==i&&void 0!==i?i:"",minRows:10,maxRows:10,variant:"outlined",inputProps:{style:{height:"100%"}},disabled:!0}):(0,Kl.jsx)("div",{className:y4,children:(0,Kl.jsx)(kl.Z,{children:"Not recorded"})})]})})),C4=w4,S4=$l((function(t){var r,o=t.consultationNote,i=(0,e.useState)("record"),a=(0,n.Z)(i,2),s=a[0],l=a[1],c=(0,e.useState)(),u=(0,n.Z)(c,2),d=u[0],p=u[1],f=me(),h=(0,e.useState)(!0),b=(0,n.Z)(h,2),A=b[0],m=b[1],g=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Re.get("/v1/appointment/".concat(f.appointmentId,"/treatment-notes")).then((function(e){var t={};e.data.data.forEach((function(e){return t[e.stage]={note:e.note,lastUpdated:e.lastUpdated}})),p(t),m(!1)}));case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,e.useEffect)((function(){g()}),[]),(0,Kl.jsxs)("div",{className:g4,children:[(0,Kl.jsx)(C4,{title:"Consultation Notes",note:o,loading:A}),(0,Kl.jsx)(C4,{title:"Treatment Notes",types:["record","before","after"],type:s,setType:l,note:null===d||void 0===d||null===(r=d[s])||void 0===r?void 0:r.note,loading:A})]})})),E4=S4,k4="photos_usedPhotos__PktVG",D4="photos_title__FYCk5",N4="photos_container__aM8oY",T4="photos_photoViewer__GN6G-",j4="photos_imageContainer__Yxu3R",B4="photo_container__C2L+n",L4="photo_photoContainer__g-OZw",R4="photo_photo__QuegM",q4="photo_notPhoto__UfhPE",P4="photo_photoViewer__fvyfz",I4="photo_imageContainer__vF6Ix",W4=function(t){var r=t.img,o=(t.alt,t.title),i=t.loading,a=(0,e.useState)(!1),s=(0,n.Z)(a,2),l=s[0],c=s[1],u=he(),d=me().appointmentId,p=function(e){return e.target.src=d2,!0};return(0,Kl.jsxs)("div",{className:B4,children:[(0,Kl.jsx)("div",{className:L4,children:i?(0,Kl.jsx)(Rp,{variant:"rect",className:R4}):r?(0,Kl.jsx)("img",{className:R4,src:r,alt:"photo_".concat(o),onClick:function(){c(!0)},onError:function(e){return p(e)}}):(0,Kl.jsx)("div",{className:q4,onClick:function(){u("/doctor-appointment/".concat(d,"/").concat(null===o||void 0===o?void 0:o.toLowerCase()))},style:{minHeight:"250px"},children:(0,Kl.jsx)(kl.Z,{children:"Click to add a photo"})})}),(0,Kl.jsx)(kl.Z,{children:o}),(0,Kl.jsx)(vC,{open:l,onClose:function(){c(!1)},className:P4,children:(0,Kl.jsx)("div",{className:I4,children:(0,Kl.jsx)("img",{src:r,alt:"photo_viewer",onError:function(e){return p(e)}})})})]})},F4="selector_container__8rAvC",U4="selector_button__zs-jQ",Z4="selector_header__218zK",H4="selector_title__ffxVX",$4={container:"gallery_container__gU6gm",images:"gallery_images__O7v3J",imageContainer:"gallery_imageContainer__YFxJU",image:"gallery_image__8DQsO",noImageContainer:"gallery_noImageContainer__hOZE5",noImage:"gallery_noImage__t06nT"},V4=function(e){var t=e.images,n=e.title,r=e.setImage,o=e.loading,i=e.setType,a=he(),s=me().appointmentId;return(0,Kl.jsxs)("div",{className:$4.container,children:[(0,Kl.jsx)("div",{className:$4.header,children:o?(0,Kl.jsx)(Rp,{variant:"text",width:200,height:24}):(0,Kl.jsx)(kl.Z,{className:$4.title,children:n})}),(0,Kl.jsx)("div",{className:$4.images,children:o?Array.from({length:7}).map((function(e,t){return(0,Kl.jsx)("div",{className:$4.imageContainer,children:(0,Kl.jsx)(Rp,{variant:"rect",className:$4.image})},"image_mini_".concat(n,"_").concat(t))})):(null===t||void 0===t?void 0:t.length)>0?null===t||void 0===t?void 0:t.map((function(e,t){return(0,Kl.jsx)("div",{onClick:function(){return function(e){"Before Gallery"!==n&&i("After Gallery"===n?"after":"record"),r(e)}(t)},className:$4.imageContainer,children:(0,Kl.jsx)("img",{className:$4.image,src:null===e||void 0===e?void 0:e.url,alt:"image_".concat(n,"_").concat(t),onError:function(e){return function(e){return e.target.src=d2,!0}(e)}})},"image_mini_".concat(n,"_").concat(t))})):(0,Kl.jsxs)("div",{className:$4.noImageContainer,children:[(0,Kl.jsx)("div",{onClick:function(){"Before Gallery"!==n&&a("/doctor-appointment/".concat(s,"/").concat("After Gallery"===n?"after":"record"))},className:$4.noImage,children:(0,Kl.jsx)(vS.Z,{})}),(0,Kl.jsx)(kl.Z,{children:"No photo added"})]})})]})},X4=function(t){var r=t.beforeImages,o=t.setBefore,i=t.afterImages,a=t.setAfter,s=t.title,l=t.beforeTitle,c=t.loading,u=t.recordImages,d=t.setRecord,p=t.setType,f=t.emailPhotos,h=(0,e.useState)(!1),b=(0,n.Z)(h,2),A=b[0],m=b[1],g=Fc().appointment;return(0,Kl.jsxs)("div",{className:F4,children:[(0,Kl.jsx)("div",{className:Z4,children:(0,Kl.jsx)(kl.Z,{className:H4,children:s})}),(0,Kl.jsx)(V4,{images:r,setImage:o,title:l,loading:c}),(0,Kl.jsx)(V4,{images:i,setImage:a,title:"After Gallery",loading:c,setType:p}),(0,Kl.jsx)(V4,{images:u,setImage:d,title:"Record Gallery",loading:c,setType:p}),("undefined"===typeof f||!0===f)&&(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",size:"small",onClick:function(){return m(!0)},startIcon:(0,Kl.jsx)(u3.Z,{}),className:U4,children:"EMAIL PHOTOS"}),A&&(0,Kl.jsx)(oF,{open:A,setOpen:m,selectedValue:"photos-modal",data:{patient:null===g||void 0===g?void 0:g.patient,appointment:g}})]})},Q4=__webpack_require__(48253),Y4=e.forwardRef((function(t,n){var r=t.classes,o=t.className,i=t.component,a=void 0===i?"div":i,s=(0,Uu.Z)(t,["classes","className","component"]);return e.createElement(a,(0,Fu.Z)({ref:n,className:(0,Zu.Z)(r.root,o)},s))})),G4=(0,Hu.Z)({root:{width:"100%",overflowX:"auto"}},{name:"MuiTableContainer"})(Y4),K4=__webpack_require__(61562),J4="table",e5=e.forwardRef((function(t,n){var r=t.classes,o=t.className,i=t.component,a=void 0===i?J4:i,s=t.padding,l=void 0===s?"normal":s,c=t.size,u=void 0===c?"medium":c,d=t.stickyHeader,p=void 0!==d&&d,f=(0,Uu.Z)(t,["classes","className","component","padding","size","stickyHeader"]),h=e.useMemo((function(){return{padding:l,size:u,stickyHeader:p}}),[l,u,p]);return e.createElement(K4.Z.Provider,{value:h},e.createElement(a,(0,Fu.Z)({role:a===J4?null:"table",ref:n,className:(0,Zu.Z)(r.root,o,p&&r.stickyHeader)},f)))})),t5=(0,Hu.Z)((function(e){return{root:{display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":(0,Fu.Z)({},e.typography.body2,{padding:e.spacing(2),color:e.palette.text.secondary,textAlign:"left",captionSide:"bottom"})},stickyHeader:{borderCollapse:"separate"}}}),{name:"MuiTable"})(e5),n5=__webpack_require__(83147),r5={variant:"head"},o5="thead",i5=e.forwardRef((function(t,n){var r=t.classes,o=t.className,i=t.component,a=void 0===i?o5:i,s=(0,Uu.Z)(t,["classes","className","component"]);return e.createElement(n5.Z.Provider,{value:r5},e.createElement(a,(0,Fu.Z)({className:(0,Zu.Z)(r.root,o),ref:n,role:a===o5?null:"rowgroup"},s)))})),a5=(0,Hu.Z)({root:{display:"table-header-group"}},{name:"MuiTableHead"})(i5),s5=e.forwardRef((function(t,n){var r=t.classes,o=t.className,i=t.component,a=void 0===i?"tr":i,s=t.hover,l=void 0!==s&&s,c=t.selected,u=void 0!==c&&c,d=(0,Uu.Z)(t,["classes","className","component","hover","selected"]),p=e.useContext(n5.Z);return e.createElement(a,(0,Fu.Z)({ref:n,className:(0,Zu.Z)(r.root,o,p&&{head:r.head,footer:r.footer}[p.variant],l&&r.hover,u&&r.selected),role:"tr"===a?null:"row"},d))})),l5=(0,Hu.Z)((function(e){return{root:{color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,"&$hover:hover":{backgroundColor:e.palette.action.hover},"&$selected, &$selected:hover":{backgroundColor:(0,Bp.Fq)(e.palette.secondary.main,e.palette.action.selectedOpacity)}},selected:{},hover:{},head:{},footer:{}}}),{name:"MuiTableRow"})(s5),c5=__webpack_require__(36060),u5={variant:"body"},d5="tbody",p5=e.forwardRef((function(t,n){var r=t.classes,o=t.className,i=t.component,a=void 0===i?d5:i,s=(0,Uu.Z)(t,["classes","className","component"]);return e.createElement(n5.Z.Provider,{value:u5},e.createElement(a,(0,Fu.Z)({className:(0,Zu.Z)(r.root,o),ref:n,role:a===d5?null:"rowgroup"},s)))})),f5=(0,Hu.Z)({root:{display:"table-row-group"}},{name:"MuiTableBody"})(p5),h5=["title","titleId"];function b5(){return b5=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},b5.apply(this,arguments)}function A5(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function m5(t,n){var r=t.title,o=t.titleId,i=A5(t,h5);return e.createElement("svg",b5({width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,f2||(f2=e.createElement("g",{clipPath:"url(#clip0_333_436)"},e.createElement("path",{d:"M0.527344 10.2305C0.818578 10.2305 1.05469 9.99436 1.05469 9.70312V8.29688C1.05469 8.00564 0.818578 7.76953 0.527344 7.76953C0.236109 7.76953 0 8.00564 0 8.29688V9.70312C0 9.99436 0.236109 10.2305 0.527344 10.2305Z",fill:"white"}),e.createElement("path",{d:"M0.527344 6.71484C0.818578 6.71484 1.05469 6.47873 1.05469 6.1875V4.78125C1.05469 4.49002 0.818578 4.25391 0.527344 4.25391C0.236109 4.25391 0 4.49002 0 4.78125V6.1875C0 6.47873 0.236109 6.71484 0.527344 6.71484Z",fill:"white"}),e.createElement("path",{d:"M1.93359 0.738281H1.23047C0.551988 0.738281 0 1.29027 0 1.96875V2.67188C0 2.96311 0.236109 3.19922 0.527344 3.19922C0.818578 3.19922 1.05469 2.96311 1.05469 2.67188V1.96875C1.05469 1.87182 1.13354 1.79297 1.23047 1.79297H1.93359C2.22483 1.79297 2.46094 1.55686 2.46094 1.26562C2.46094 0.974391 2.22483 0.738281 1.93359 0.738281Z",fill:"white"}),e.createElement("path",{d:"M4.04297 1.79297H5.44922C5.74045 1.79297 5.97656 1.55686 5.97656 1.26562C5.97656 0.974391 5.74045 0.738281 5.44922 0.738281H4.04297C3.75173 0.738281 3.51562 0.974391 3.51562 1.26562C3.51562 1.55686 3.75173 1.79297 4.04297 1.79297Z",fill:"white"}),e.createElement("path",{d:"M5.44922 16.207H4.04297C3.75173 16.207 3.51562 16.4431 3.51562 16.7344C3.51562 17.0256 3.75173 17.2617 4.04297 17.2617H5.44922C5.74045 17.2617 5.97656 17.0256 5.97656 16.7344C5.97656 16.4431 5.74045 16.207 5.44922 16.207Z",fill:"white"}),e.createElement("path",{d:"M0.527344 13.7461C0.818578 13.7461 1.05469 13.51 1.05469 13.2188V11.8125C1.05469 11.5213 0.818578 11.2852 0.527344 11.2852C0.236109 11.2852 0 11.5213 0 11.8125V13.2188C0 13.51 0.236109 13.7461 0.527344 13.7461Z",fill:"white"}),e.createElement("path",{d:"M1.93359 16.207H1.23047C1.13354 16.207 1.05469 16.1282 1.05469 16.0312V15.3281C1.05469 15.0369 0.818578 14.8008 0.527344 14.8008C0.236109 14.8008 0 15.0369 0 15.3281V16.0312C0 16.7097 0.551988 17.2617 1.23047 17.2617H1.93359C2.22483 17.2617 2.46094 17.0256 2.46094 16.7344C2.46094 16.4431 2.22483 16.207 1.93359 16.207Z",fill:"white"}),e.createElement("path",{d:"M16.7695 0.738281H9.52733V0.527344C9.52733 0.236109 9.29122 0 8.99999 0C8.70875 0 8.47264 0.236109 8.47264 0.527344V0.738281H7.55858C7.26735 0.738281 7.03124 0.974391 7.03124 1.26562C7.03124 1.55686 7.26735 1.79297 7.55858 1.79297H8.47264V10.582H6.05435L6.20879 10.4276C6.41474 10.2216 6.41474 9.88777 6.20879 9.68182C6.00285 9.47588 5.66897 9.47588 5.46302 9.68182L4.40833 10.7365C4.20239 10.9425 4.20239 11.2763 4.40833 11.4823L5.46302 12.537C5.66897 12.7429 6.00285 12.7429 6.20879 12.537C6.41474 12.331 6.41474 11.9971 6.20879 11.7912L6.05435 11.6367H8.47264V16.207H7.55858C7.26735 16.207 7.03124 16.4431 7.03124 16.7344C7.03124 17.0256 7.26735 17.2617 7.55858 17.2617H8.47264V17.4727C8.47264 17.7639 8.70875 18 8.99999 18C9.29122 18 9.52733 17.7639 9.52733 17.4727V17.2617H16.7695C17.448 17.2617 18 16.7097 18 16.0312V1.96875C18 1.29027 17.448 0.738281 16.7695 0.738281ZM13.5916 7.26349L12.5369 8.31818C12.331 8.52413 11.9971 8.52413 11.7911 8.31818C11.5852 8.11223 11.5852 7.77836 11.7911 7.57241L11.9456 7.41797H9.52733V6.36328H11.9456L11.7912 6.20884C11.5852 6.00289 11.5852 5.66902 11.7912 5.46307C11.9971 5.25712 12.331 5.25712 12.537 5.46307L13.5916 6.51776C13.7976 6.72367 13.7975 7.05758 13.5916 7.26349Z",fill:"white"}))),h2||(h2=e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_333_436"},e.createElement("rect",{width:18,height:18,fill:"white"})))))}var g5=e.forwardRef(m5),v5=(__webpack_require__.p,(0,kp.Z)(e.createElement("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"}),"Email")),y5=$l((function(t){var o,i,a,s,l,c,u,d,p,f=t.procedures,h=(0,e.useState)(!0),A=(0,n.Z)(h,2),m=A[0],g=A[1],v=me(),y=(0,e.useState)([]),M=(0,n.Z)(y,2),O=M[0],_=M[1],z=(0,e.useState)([]),x=(0,n.Z)(z,2),w=x[0],C=x[1],S=(0,e.useState)([]),E=(0,n.Z)(S,2),k=E[0],D=E[1],N=(0,e.useState)([]),T=(0,n.Z)(N,2),j=T[0],B=T[1],L=(0,e.useState)(0),R=(0,n.Z)(L,2),q=R[0],P=R[1],I=(0,e.useState)(0),W=(0,n.Z)(I,2),F=W[0],U=W[1],Z=(0,e.useState)(0),H=(0,n.Z)(Z,2),$=H[0],V=H[1],X=(0,e.useState)("after"),Q=(0,n.Z)(X,2),Y=Q[0],G=Q[1],K=(0,e.useState)(!1),J=(0,n.Z)(K,2),ee=J[0],te=J[1],ne=(0,e.useState)(!1),re=(0,n.Z)(ne,2),oe=re[0],ie=re[1],ae=(0,e.useState)(!1),se=(0,n.Z)(ae,2),le=(se[0],se[1]),ce=(0,e.useState)(""),ue=(0,n.Z)(ce,2),de=(ue[0],ue[1]),pe=(0,e.useState)(""),fe=(0,n.Z)(pe,2),he=(fe[0],fe[1]),be=(0,e.useState)(""),Ae=(0,n.Z)(be,2),ge=Ae[0],ve=Ae[1],ye=(0,e.useState)(!1),Me=(0,n.Z)(ye,2),Oe=Me[0],_e=Me[1],ze=(0,qd.Z)(),xe=eF(ze.breakpoints.down("md")),we=eF(ze.breakpoints.down("xs")),Ce=Fc().appointment;(0,e.useEffect)((function(){Se("before",_),Se("after",C),Se("record",D),ke()}),[]),(0,e.useEffect)((function(){0===(null===w||void 0===w?void 0:w.length)&&(null===k||void 0===k?void 0:k.length)>0&&G("record")}),[w,k]);var Se=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t,n){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get("/v1/appointment/".concat(v.appointmentId,"/record?type=").concat(t)).then((function(e){var t;n(null===e||void 0===e||null===(t=e.data)||void 0===t?void 0:t.data),g(!1)}));case 2:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),Ee=function(e){return e.target.src=d2,!0},ke=function(){Re.get("/v1/patient-record/images/".concat(v.appointmentId),{headers:{"Content-Type":"multipart/form-data"}}).then((function(e){B([].concat((0,r.Z)(j),(0,r.Z)(e.data.urls)))})).catch((function(e){console.log(e)}))},De=(0,jd.Z)({table:{minWidth:650}})(),Ne=(0,e.useRef)(null),Te=(0,e.useState)(!1),je=(0,n.Z)(Te,2),Be=je[0],Le=je[1];return(0,e.useEffect)((function(){var e=new ResizeObserver((function(e){var t,n=(0,b.Z)(e);try{for(n.s();!(t=n.n()).done;){var r=t.value.contentRect.width;Le(r<400)}}catch(o){n.e(o)}finally{n.f()}}));return Ne.current&&e.observe(Ne.current),function(){Ne.current&&e.unobserve(Ne.current)}}),[]),(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsxs)(Cb,{className:N4,flexDirection:"column",children:[(0,Kl.jsxs)(Cb,{display:"flex",flexDirection:xe?"column":"row",gridGap:"5%",id:"BOX1",width:"100%",flex:"1",ref:Ne,children:[(0,Kl.jsxs)(Cb,{display:"flex",flexDirection:we||Be?"column":"row",flex:"1",children:[(0,Kl.jsx)(W4,{img:null===O||void 0===O||null===(o=O[q])||void 0===o?void 0:o.url,title:"Before",loading:m,style:{flex:1}}),("after"===Y?!(null===w||void 0===w||null===(i=w[F])||void 0===i||!i.url):!(null===k||void 0===k||null===(a=k[$])||void 0===a||!a.url))&&!(null===O||void 0===O||null===(s=O[q])||void 0===s||!s.url)&&(0,Kl.jsx)(Kl.Fragment,{children:(0,Kl.jsx)(Cb,{display:"flex",alignSelf:"flex-end",marginBottom:3,children:(0,Kl.jsx)(wd.Z,{onClick:function(){te(!0)},children:(0,Kl.jsx)(Q4.Z,{fontSize:"small"})})})}),(0,Kl.jsx)(W4,{img:"after"===Y?null===w||void 0===w||null===(l=w[F])||void 0===l?void 0:l.url:null===k||void 0===k||null===(c=k[$])||void 0===c?void 0:c.url,title:"after"===Y?"After":"Record",loading:m,style:{flex:1}})]}),(0,Kl.jsx)(Cb,{flex:"1",marginTop:xe?"20px":"0",minWidth:"250px",children:(0,Kl.jsx)(X4,{beforeImages:O,setBefore:P,afterImages:w,setAfter:U,title:"Select comparison photos",beforeTitle:"Before Gallery",loading:m,recordImages:k,setRecord:V,setType:G,emailPhotos:!1})})]}),(0,Kl.jsxs)(Cb,{display:"flex",justifyContent:"center",gridGap:"15px",padding:1,flexDirection:we||Be?"column":"row",children:[(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",size:"small",onClick:function(){return ie(!0)},startIcon:(0,Kl.jsx)(g5,{}),children:"PREVIOUS PHOTOS"}),(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",size:"small",onClick:function(){return _e(!0)},startIcon:(0,Kl.jsx)(v5,{}),children:"EMAIL PHOTOS"})]})]}),(0,Kl.jsxs)(Cb,{className:k4,children:[(0,Kl.jsx)(Cb,{children:(0,Kl.jsx)(kl.Z,{className:D4,children:"Procedures"})}),(0,Kl.jsx)(Cb,{children:f.length>0?(0,Kl.jsx)(G4,{component:Kd.Z,children:(0,Kl.jsxs)(t5,{className:De.table,"aria-label":"simple table",children:[(0,Kl.jsx)(a5,{children:(0,Kl.jsxs)(l5,{children:[(0,Kl.jsx)(c5.Z,{style:{fontWeight:700},children:"Title"}),(0,Kl.jsx)(c5.Z,{style:{fontWeight:700},align:"right",children:"Lot Number"}),(0,Kl.jsx)(c5.Z,{style:{fontWeight:700},align:"right",children:"Expiration Date"}),(0,Kl.jsx)(c5.Z,{style:{fontWeight:700},align:"right",children:"Technique"}),(0,Kl.jsx)(c5.Z,{style:{fontWeight:700},align:"right",children:"Amount"})]})}),(0,Kl.jsx)(f5,{children:f.map((function(t,n){var r;return!t.isOriginal&&(0,Kl.jsx)(e.Fragment,{children:null===(r=t.tools)||void 0===r?void 0:r.tools.map((function(e,t){var r,o,i,a;return(0,Kl.jsxs)(l5,{children:[(0,Kl.jsx)(c5.Z,{component:"th",scope:"row",children:null===(r=e.productBrand)||void 0===r?void 0:r.title}),(0,Kl.jsx)(c5.Z,{align:"right",children:null!==(o=e.lot_number)&&void 0!==o?o:"no data"}),(0,Kl.jsx)(c5.Z,{align:"right",children:Vs()(e.expiration_date).isValid()?Vs()(e.expiration_date).format("DD/MM/YYYY"):"no data"}),(0,Kl.jsx)(c5.Z,{align:"right",children:null===(i=e.techniques[0])||void 0===i?void 0:i.name}),(0,Kl.jsxs)(c5.Z,{align:"right",children:[e.totalAmount," ",null===(a=e.productMeasurement)||void 0===a?void 0:a.slug,"(s)"]})]},"".concat(n,"-").concat(t))}))},n)}))})]})}):(0,Kl.jsx)("p",{style:{fontSize:16,textAlign:"center"},children:"No procedures logged"})})]}),(0,Kl.jsxs)(Cb,{className:k4,children:[(0,Kl.jsx)(Cb,{children:(0,Kl.jsx)(kl.Z,{className:D4,children:"Used Product Photos"})}),(0,Kl.jsx)(Cb,{style:{display:"inline-flex",width:"100%",overflow:"auto"},children:0===j.length?(0,Kl.jsx)(Cb,{style:{textAlign:"center",width:"100%"},children:(0,Kl.jsx)("p",{children:"Not recorded"})}):null===j||void 0===j?void 0:j.map((function(e,t){var n;return(0,Kl.jsx)(Cb,{style:{display:"flex",marginRight:10,alignItems:"center",justifyContent:"center",height:100,width:85,border:"1px solid #EAE9E9",position:"relative"},children:(0,Kl.jsxs)(Cb,{onClick:function(){!function(e,t){de(e),ve(t),he("zoom"),le(!0)}(e.url,ge)},style:{cursor:"pointer"},children:[(0,Kl.jsx)("img",{style:{maxWidth:"100%",maxHeight:"100%"},src:e.url,alt:"product-image"},t),(null===e||void 0===e||null===(n=e.brandName)||void 0===n?void 0:n.length)>0&&(0,Kl.jsx)("span",{style:{position:"absolute",fontSize:"10px",bottom:0,padding:"3px 3px",background:"rgba(0,0,0,0.4)",color:"#fff",left:0,right:0,display:"block",maxWidth:"100%",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:e.brandName})]})},t)}))})]}),(0,Kl.jsxs)(vC,{open:ee,onClose:function(){return te(!1)},PaperProps:{style:{maxWidth:"90vw",display:"flex",flexDirection:"row",justifyContent:"space-between"}},className:T4,children:[(0,Kl.jsx)(Cb,{className:j4,children:(0,Kl.jsx)("img",{src:null===O||void 0===O||null===(u=O[q])||void 0===u?void 0:u.url,alt:"photo_viewer",onError:function(e){return Ee(e)}})}),(0,Kl.jsx)(Cb,{className:j4,children:(0,Kl.jsx)("img",{src:"after"===Y?null===w||void 0===w||null===(d=w[F])||void 0===d?void 0:d.url:null===k||void 0===k||null===(p=k[$])||void 0===p?void 0:p.url,onError:function(e){return Ee(e)},alt:"photo_viewer"})})]}),oe&&(0,Kl.jsx)(oF,{open:oe,setOpen:ie,selectedValue:"compare-photos-modal",data:{patient:null===Ce||void 0===Ce?void 0:Ce.patient,appointment:Ce,type:"compare"}}),Oe&&(0,Kl.jsx)(oF,{open:Oe,setOpen:_e,selectedValue:"photos-modal",data:{patient:null===Ce||void 0===Ce?void 0:Ce.patient,appointment:Ce}})]})})),M5=y5,O5=$l((function(){var t,o,i,a=(0,e.useState)(!0),s=(0,n.Z)(a,2),l=s[0],c=s[1],u=(0,e.useState)(!1),d=(0,n.Z)(u,2),p=d[0],f=d[1],h=(0,e.useState)(null),b=(0,n.Z)(h,2),A=b[0],m=b[1],g=(0,e.useState)([]),v=(0,n.Z)(g,2),y=v[0],M=v[1],O=Fc().appointment,_=(0,e.useState)(),z=(0,n.Z)(_,2),x=z[0],w=z[1],C=me();return(0,e.useEffect)((function(){var e=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get("/v1/appointment/".concat(null===C||void 0===C?void 0:C.appointmentId,"/consultation")).then((function(e){var t=e.data;null!==t&&void 0!==t&&t.data&&w(null===t||void 0===t?void 0:t.data),c(!1)}));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),t=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t,n,o;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=A?"".concat(A,"&type=record"):"/v1/appointment/".concat(C.appointmentId,"/record?type=record"),e.next=3,Re.get(t);case 3:if(n=e.sent,(o=n.data).data.length&&(!o.links.prev||o.links.next)&&(o.links.prev||o.links.next||p!==o.links.prev)){e.next=7;break}return e.abrupt("return",!1);case 7:f(o.links.prev),m(o.links.next),y.push.apply(y,(0,r.Z)(o.data.map((function(e){return Us(Us({},e),{},{name:CK(),canvasHistory:{state:[],nextState:null,defaultState:null},canvasInstance:null,tools:{tools:null===e||void 0===e?void 0:e.tools.map((function(e){var t,n,r;return Us(Us({},e),{},{brand:Us(Us({},e.productBrand),{},{instruments:[null===e||void 0===e?void 0:e.productInstrument]}),techniques:null===e||void 0===e||null===(t=e.techniques)||void 0===t?void 0:t.map((function(e){return e})),instrument:null===e||void 0===e||null===(n=e.productInstrument)||void 0===n?void 0:n.id,measurement:null===e||void 0===e||null===(r=e.productMeasurement)||void 0===r?void 0:r.id})})),currentTool:null}})})))),M((0,r.Z)(y));case 11:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e(),t()}),[]),(0,Kl.jsxs)("div",{className:P3,children:[(0,Kl.jsxs)("div",{className:I3,children:[(0,Kl.jsx)(kl.Z,{variant:"body1",className:W3,children:"Treatment Overview"}),(0,Kl.jsx)(jw,{name:null===O||void 0===O||null===(t=O.doctor)||void 0===t?void 0:t.name,avatarUrl:null===O||void 0===O||null===(o=O.doctor)||void 0===o?void 0:o.avatarUrl,role:null===O||void 0===O||null===(i=O.doctor)||void 0===i?void 0:i.role,loading:l})]}),(0,Kl.jsx)(m4,{consultation:x,loading:l}),(0,Kl.jsx)(E4,{consultationNote:null===x||void 0===x?void 0:x.note}),(0,Kl.jsx)(M5,{procedures:y})]})})),_5=O5,z5=$l((function(){var t=me().appointmentId,r=Fc(),o=r.appointment,i=r.appointmentDoctor,a=(0,e.useState)([{title:"consent",text:"Consent Form Signed",todoText:"Sign Consent Form",todoBtn:"Sign",to:"/doctor-appointment/".concat(t,"/consent"),icon:c3.Z,loading:!0},{title:"prescription",text:"Prescription Form Signed",todoText:"Sign Prescription",todoBtn:"Sign",to:"/doctor-appointment/".concat(t,"/prescription"),icon:c3.Z,loading:!0},{title:"payment",text:"Payment Complete",todoText:"Verify Payment",todoBtn:"To Payment",to:"/calendar/appointment/".concat(t),icon:d3.Z,loading:!0},{title:"aftercare",text:"Aftercare Email Sent",todoText:"Send Aftercare Email",todoBtn:"Send",to:"/doctor-appointment/".concat(t,"/aftercare"),icon:u3.Z,loading:!0},{title:"photoForm",text:"Photo Consent Form Signed",todoText:"Sign",todoBtn:"Sign",to:"/doctor-appointment/".concat(t,"/consent"),icon:c3.Z,loading:!0}]),s=(0,n.Z)(a,2),l=s[0],c=s[1];(0,e.useEffect)((function(){return function(){i.payment.clear()}}),[]),(0,e.useEffect)((function(){u()}),[o,i,null===i||void 0===i?void 0:i.payment]);var u=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var n;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=!0,e.next=3,Re.get("/v1/appointment/".concat(t,"/final")).then((function(e){var t=e.data,r=[];return l.forEach((function(e){t.data.hasOwnProperty(e.title)&&r.push(Us(Us({},e),{},{status:t.data[e.title],loading:!1}))})),n&&c(r),function(){n=!1}}));case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,Kl.jsxs)("div",{className:l3,children:[(0,Kl.jsx)(_5,{}),(0,Kl.jsx)(q3,{checklist:l})]})})),x5=z5,w5="payment_container__jppL8",C5="payment_item__BHRbA",S5="payment_editButton__LqG5m",E5="payment_dots__2awPj",k5="payment_itemInfo__xQdww",D5="payment_paramProp__0TLqr",N5="payment_total__C-9c0",T5="payment_summary__cQ4+p",j5="payment_paymentItems__ObvDd",B5="payment_paymentItemsHeading__isHNG",L5="payment_saveBtn__gStNB",R5="payment_discountField__5q2qV",q5="payment_paramPropWeight__v5WrD",P5="payment_paramPropLOTProp__je5a8",I5="payment_paramPropLOT__2MYfV",W5="payment_priceProp__le6qj",F5=__webpack_require__(62531),U5=__webpack_require__(81225);function Z5(e){return"undefined"!==typeof e.normalize?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}function H5(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.ignoreAccents,n=void 0===t||t,r=e.ignoreCase,o=void 0===r||r,i=e.limit,a=e.matchFrom,s=void 0===a?"any":a,l=e.stringify,c=e.trim,u=void 0!==c&&c;return function(e,t){var r=t.inputValue,a=t.getOptionLabel,c=u?r.trim():r;o&&(c=c.toLowerCase()),n&&(c=Z5(c));var d=e.filter((function(e){var t=(l||a)(e);return o&&(t=t.toLowerCase()),n&&(t=Z5(t)),"start"===s?0===t.indexOf(c):t.indexOf(c)>-1}));return"number"===typeof i?d.slice(0,i):d}}function $5(e,t){for(var n=0;n<e.length;n+=1)if(t(e[n]))return n;return-1}var V5=H5();function X5(t){var r=t.autoComplete,o=void 0!==r&&r,i=t.autoHighlight,a=void 0!==i&&i,s=t.autoSelect,l=void 0!==s&&s,c=t.blurOnSelect,u=void 0!==c&&c,d=t.clearOnBlur,p=void 0===d?!t.freeSolo:d,f=t.clearOnEscape,h=void 0!==f&&f,b=t.componentName,A=void 0===b?"useAutocomplete":b,m=t.debug,g=void 0!==m&&m,v=t.defaultValue,y=void 0===v?t.multiple?[]:null:v,M=t.disableClearable,O=void 0!==M&&M,_=t.disableCloseOnSelect,z=void 0!==_&&_,x=t.disabledItemsFocusable,w=void 0!==x&&x,C=t.disableListWrap,S=void 0!==C&&C,E=t.filterOptions,k=void 0===E?V5:E,D=t.filterSelectedOptions,N=void 0!==D&&D,T=t.freeSolo,j=void 0!==T&&T,B=t.getOptionDisabled,L=t.getOptionLabel,R=void 0===L?function(e){return e}:L,q=t.getOptionSelected,P=void 0===q?function(e,t){return e===t}:q,I=t.groupBy,W=t.handleHomeEndKeys,F=void 0===W?!t.freeSolo:W,U=t.id,Z=t.includeInputInList,H=void 0!==Z&&Z,$=t.inputValue,V=t.multiple,X=void 0!==V&&V,Q=t.onChange,Y=t.onClose,G=t.onHighlightChange,K=t.onInputChange,J=t.onOpen,ee=t.open,te=t.openOnFocus,ne=void 0!==te&&te,re=t.options,oe=t.selectOnFocus,ie=void 0===oe?!t.freeSolo:oe,ae=t.value,se=(0,F5.Z)(U),le=R;var ce=e.useRef(!1),ue=e.useRef(!0),de=e.useRef(null),pe=e.useRef(null),fe=e.useState(null),he=fe[0],be=fe[1],Ae=e.useState(-1),me=Ae[0],ge=Ae[1],ve=a?0:-1,ye=e.useRef(ve),Me=(0,lG.Z)({controlled:ae,default:y,name:A}),Oe=(0,n.Z)(Me,2),_e=Oe[0],ze=Oe[1],xe=(0,lG.Z)({controlled:$,default:"",name:A,state:"inputValue"}),we=(0,n.Z)(xe,2),Ce=we[0],Se=we[1],Ee=e.useState(!1),ke=Ee[0],De=Ee[1],Ne=(0,Ub.Z)((function(e,t){var n;if(X)n="";else if(null==t)n="";else{var r=le(t);n="string"===typeof r?r:""}Ce!==n&&(Se(n),K&&K(e,n,"reset"))}));e.useEffect((function(){Ne(null,_e)}),[_e,Ne]);var Te=(0,lG.Z)({controlled:ee,default:!1,name:A,state:"open"}),je=(0,n.Z)(Te,2),Be=je[0],Le=je[1],Re=!X&&null!=_e&&Ce===le(_e),qe=Be,Pe=qe?k(re.filter((function(e){return!N||!(X?_e:[_e]).some((function(t){return null!==t&&P(e,t)}))})),{inputValue:Re?"":Ce,getOptionLabel:le}):[],Ie=(0,Ub.Z)((function(e){-1===e?de.current.focus():he.querySelector('[data-tag-index="'.concat(e,'"]')).focus()}));e.useEffect((function(){X&&me>_e.length-1&&(ge(-1),Ie(-1))}),[_e,X,me,Ie]);var We=(0,Ub.Z)((function(e){var t=e.event,n=e.index,r=e.reason,o=void 0===r?"auto":r;if(ye.current=n,-1===n?de.current.removeAttribute("aria-activedescendant"):de.current.setAttribute("aria-activedescendant","".concat(se,"-option-").concat(n)),G&&G(t,-1===n?null:Pe[n],o),pe.current){var i=pe.current.querySelector("[data-focus]");i&&i.removeAttribute("data-focus");var a=pe.current.parentElement.querySelector('[role="listbox"]');if(a)if(-1!==n){var s=pe.current.querySelector('[data-option-index="'.concat(n,'"]'));if(s&&(s.setAttribute("data-focus","true"),a.scrollHeight>a.clientHeight&&"mouse"!==o)){var l=s,c=a.clientHeight+a.scrollTop,u=l.offsetTop+l.offsetHeight;u>c?a.scrollTop=u-a.clientHeight:l.offsetTop-l.offsetHeight*(I?1.3:0)<a.scrollTop&&(a.scrollTop=l.offsetTop-l.offsetHeight*(I?1.3:0))}}else a.scrollTop=0}})),Fe=(0,Ub.Z)((function(e){var t=e.event,n=e.diff,r=e.direction,i=void 0===r?"next":r,a=e.reason,s=void 0===a?"auto":a;if(qe){var l=function(e,t){if(!pe.current||-1===e)return-1;for(var n=e;;){if("next"===t&&n===Pe.length||"previous"===t&&-1===n)return-1;var r=pe.current.querySelector('[data-option-index="'.concat(n,'"]')),o=!w&&r&&(r.disabled||"true"===r.getAttribute("aria-disabled"));if(!(r&&!r.hasAttribute("tabindex")||o))return n;n+="next"===t?1:-1}}(function(){var e=Pe.length-1;if("reset"===n)return ve;if("start"===n)return 0;if("end"===n)return e;var t=ye.current+n;return t<0?-1===t&&H?-1:S&&-1!==ye.current||Math.abs(n)>1?0:e:t>e?t===e+1&&H?-1:S||Math.abs(n)>1?e:0:t}(),i);if(We({index:l,reason:s,event:t}),o&&"reset"!==n)if(-1===l)de.current.value=Ce;else{var c=le(Pe[l]);de.current.value=c,0===c.toLowerCase().indexOf(Ce.toLowerCase())&&Ce.length>0&&de.current.setSelectionRange(Ce.length,c.length)}}})),Ue=e.useCallback((function(){if(qe){var e=X?_e[0]:_e;if(0!==Pe.length&&null!=e){if(pe.current)if(N||null==e)ye.current>=Pe.length-1?We({index:Pe.length-1}):We({index:ye.current});else{var t=Pe[ye.current];if(X&&t&&-1!==$5(_e,(function(e){return P(t,e)})))return;var n=$5(Pe,(function(t){return P(t,e)}));-1===n?Fe({diff:"reset"}):We({index:n})}}else Fe({diff:"reset"})}}),[0===Pe.length,!X&&_e,N,Fe,We,qe,Ce,X]),Ze=(0,Ub.Z)((function(e){(0,U5.Z)(pe,e),e&&Ue()}));e.useEffect((function(){Ue()}),[Ue]);var He=function(e){Be||(Le(!0),J&&J(e))},$e=function(e,t){Be&&(Le(!1),Y&&Y(e,t))},Ve=function(e,t,n,r){_e!==t&&(Q&&Q(e,t,n,r),ze(t))},Xe=e.useRef(!1),Qe=function(e,t){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"options",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"select-option",o=t;if(X){var i=$5(o=Array.isArray(_e)?_e.slice():[],(function(e){return P(t,e)}));-1===i?o.push(t):"freeSolo"!==n&&(o.splice(i,1),r="remove-option")}Ne(e,o),Ve(e,o,r,{option:t}),z||$e(e,r),(!0===u||"touch"===u&&Xe.current||"mouse"===u&&!Xe.current)&&de.current.blur()};var Ye=function(e,t){if(X){$e(e,"toggleInput");var n=me;-1===me?""===Ce&&"previous"===t&&(n=_e.length-1):((n+="next"===t?1:-1)<0&&(n=0),n===_e.length&&(n=-1)),n=function(e,t){if(-1===e)return-1;for(var n=e;;){if("next"===t&&n===_e.length||"previous"===t&&-1===n)return-1;var r=he.querySelector('[data-tag-index="'.concat(n,'"]'));if(!r||r.hasAttribute("tabindex")&&!r.disabled&&"true"!==r.getAttribute("aria-disabled"))return n;n+="next"===t?1:-1}}(n,t),ge(n),Ie(n)}},Ge=function(e){ce.current=!0,Se(""),K&&K(e,"","clear"),Ve(e,X?[]:null,"clear")},Ke=function(e){return function(t){switch(-1!==me&&-1===["ArrowLeft","ArrowRight"].indexOf(t.key)&&(ge(-1),Ie(-1)),t.key){case"Home":qe&&F&&(t.preventDefault(),Fe({diff:"start",direction:"next",reason:"keyboard",event:t}));break;case"End":qe&&F&&(t.preventDefault(),Fe({diff:"end",direction:"previous",reason:"keyboard",event:t}));break;case"PageUp":t.preventDefault(),Fe({diff:-5,direction:"previous",reason:"keyboard",event:t}),He(t);break;case"PageDown":t.preventDefault(),Fe({diff:5,direction:"next",reason:"keyboard",event:t}),He(t);break;case"ArrowDown":t.preventDefault(),Fe({diff:1,direction:"next",reason:"keyboard",event:t}),He(t);break;case"ArrowUp":t.preventDefault(),Fe({diff:-1,direction:"previous",reason:"keyboard",event:t}),He(t);break;case"ArrowLeft":Ye(t,"previous");break;case"ArrowRight":Ye(t,"next");break;case"Enter":if(229===t.which)break;if(-1!==ye.current&&qe){var n=Pe[ye.current],r=!!B&&B(n);if(t.preventDefault(),r)return;Qe(t,n,"select-option"),o&&de.current.setSelectionRange(de.current.value.length,de.current.value.length)}else j&&""!==Ce&&!1===Re&&(X&&t.preventDefault(),Qe(t,Ce,"create-option","freeSolo"));break;case"Escape":qe?(t.preventDefault(),t.stopPropagation(),$e(t,"escape")):h&&(""!==Ce||X&&_e.length>0)&&(t.preventDefault(),t.stopPropagation(),Ge(t));break;case"Backspace":if(X&&""===Ce&&_e.length>0){var i=-1===me?_e.length-1:me,a=_e.slice();a.splice(i,1),Ve(t,a,"remove-option",{option:_e[i]})}}e.onKeyDown&&e.onKeyDown(t)}},Je=function(e){De(!0),ne&&!ce.current&&He(e)},et=function(e){null===pe.current||document.activeElement!==pe.current.parentElement?(De(!1),ue.current=!0,ce.current=!1,g&&""!==Ce||(l&&-1!==ye.current&&qe?Qe(e,Pe[ye.current],"blur"):l&&j&&""!==Ce?Qe(e,Ce,"blur","freeSolo"):p&&Ne(e,_e),$e(e,"blur"))):de.current.focus()},tt=function(e){var t=e.target.value;Ce!==t&&(Se(t),K&&K(e,t,"input")),""===t?O||X||Ve(e,null,"clear"):He(e)},nt=function(e){We({event:e,index:Number(e.currentTarget.getAttribute("data-option-index")),reason:"mouse"})},rt=function(){Xe.current=!0},ot=function(e){var t=Number(e.currentTarget.getAttribute("data-option-index"));Qe(e,Pe[t],"select-option"),Xe.current=!1},it=function(e){return function(t){var n=_e.slice();n.splice(e,1),Ve(t,n,"remove-option",{option:_e[e]})}},at=function(e){Be?$e(e,"toggleInput"):He(e)},st=function(e){e.target.getAttribute("id")!==se&&e.preventDefault()},lt=function(){de.current.focus(),ie&&ue.current&&de.current.selectionEnd-de.current.selectionStart===0&&de.current.select(),ue.current=!1},ct=function(e){""!==Ce&&Be||at(e)},ut=j&&Ce.length>0;ut=ut||(X?_e.length>0:null!==_e);var dt=Pe;if(I){new Map;dt=Pe.reduce((function(e,t,n){var r=I(t);return e.length>0&&e[e.length-1].group===r?e[e.length-1].options.push(t):e.push({key:n,index:n,group:r,options:[t]}),e}),[])}return{getRootProps:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,Fu.Z)({"aria-owns":qe?"".concat(se,"-popup"):null,role:"combobox","aria-expanded":qe},e,{onKeyDown:Ke(e),onMouseDown:st,onClick:lt})},getInputLabelProps:function(){return{id:"".concat(se,"-label"),htmlFor:se}},getInputProps:function(){return{id:se,value:Ce,onBlur:et,onFocus:Je,onChange:tt,onMouseDown:ct,"aria-activedescendant":qe?"":null,"aria-autocomplete":o?"both":"list","aria-controls":qe?"".concat(se,"-popup"):null,autoComplete:"off",ref:de,autoCapitalize:"none",spellCheck:"false"}},getClearProps:function(){return{tabIndex:-1,onClick:Ge}},getPopupIndicatorProps:function(){return{tabIndex:-1,onClick:at}},getTagProps:function(e){var t=e.index;return{key:t,"data-tag-index":t,tabIndex:-1,onDelete:it(t)}},getListboxProps:function(){return{role:"listbox",id:"".concat(se,"-popup"),"aria-labelledby":"".concat(se,"-label"),ref:Ze,onMouseDown:function(e){e.preventDefault()}}},getOptionProps:function(e){var t=e.index,n=e.option,r=(X?_e:[_e]).some((function(e){return null!=e&&P(n,e)})),o=!!B&&B(n);return{key:t,tabIndex:-1,role:"option",id:"".concat(se,"-option-").concat(t),onMouseOver:nt,onClick:ot,onTouchStart:rt,"data-option-index":t,"aria-disabled":o,"aria-selected":r}},id:se,inputValue:Ce,value:_e,dirty:ut,popupOpen:qe,focused:ke||-1!==me,anchorEl:he,setAnchorEl:be,focusedTag:me,groupedOptions:dt}}var Q5=__webpack_require__(85616),Y5=e.forwardRef((function(t,n){var r=t.classes,o=t.className,i=t.color,a=void 0===i?"default":i,s=t.component,l=void 0===s?"li":s,c=t.disableGutters,u=void 0!==c&&c,d=t.disableSticky,p=void 0!==d&&d,f=t.inset,h=void 0!==f&&f,b=(0,Uu.Z)(t,["classes","className","color","component","disableGutters","disableSticky","inset"]);return e.createElement(l,(0,Fu.Z)({className:(0,Zu.Z)(r.root,o,"default"!==a&&r["color".concat((0,Jd.Z)(a))],h&&r.inset,!p&&r.sticky,!u&&r.gutters),ref:n},b))})),G5=(0,Hu.Z)((function(e){return{root:{boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:e.palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14)},colorPrimary:{color:e.palette.primary.main},colorInherit:{color:"inherit"},gutters:{paddingLeft:16,paddingRight:16},inset:{paddingLeft:72},sticky:{position:"sticky",top:0,zIndex:1,backgroundColor:"inherit"}}}),{name:"MuiListSubheader"})(Y5),K5=(0,kp.Z)(e.createElement("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function J5(e){return"Backspace"===e.key||"Delete"===e.key}var e6=e.forwardRef((function(t,n){var r=t.avatar,o=t.classes,i=t.className,a=t.clickable,s=t.color,l=void 0===s?"default":s,c=t.component,u=t.deleteIcon,d=t.disabled,p=void 0!==d&&d,f=t.icon,h=t.label,b=t.onClick,A=t.onDelete,m=t.onKeyDown,g=t.onKeyUp,v=t.size,y=void 0===v?"medium":v,M=t.variant,O=void 0===M?"default":M,_=(0,Uu.Z)(t,["avatar","classes","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant"]),z=e.useRef(null),x=(0,Id.Z)(z,n),w=function(e){e.stopPropagation(),A&&A(e)},C=!(!1===a||!b)||a,S="small"===y,E=c||(C?qb.Z:"div"),k=E===qb.Z?{component:"div"}:{},D=null;if(A){var N=(0,Zu.Z)("default"!==l&&("default"===O?o["deleteIconColor".concat((0,Jd.Z)(l))]:o["deleteIconOutlinedColor".concat((0,Jd.Z)(l))]),S&&o.deleteIconSmall);D=u&&e.isValidElement(u)?e.cloneElement(u,{className:(0,Zu.Z)(u.props.className,o.deleteIcon,N),onClick:w}):e.createElement(K5,{className:(0,Zu.Z)(o.deleteIcon,N),onClick:w})}var T=null;r&&e.isValidElement(r)&&(T=e.cloneElement(r,{className:(0,Zu.Z)(o.avatar,r.props.className,S&&o.avatarSmall,"default"!==l&&o["avatarColor".concat((0,Jd.Z)(l))])}));var j=null;return f&&e.isValidElement(f)&&(j=e.cloneElement(f,{className:(0,Zu.Z)(o.icon,f.props.className,S&&o.iconSmall,"default"!==l&&o["iconColor".concat((0,Jd.Z)(l))])})),e.createElement(E,(0,Fu.Z)({role:C||A?"button":void 0,className:(0,Zu.Z)(o.root,i,"default"!==l&&[o["color".concat((0,Jd.Z)(l))],C&&o["clickableColor".concat((0,Jd.Z)(l))],A&&o["deletableColor".concat((0,Jd.Z)(l))]],"default"!==O&&[o.outlined,{primary:o.outlinedPrimary,secondary:o.outlinedSecondary}[l]],p&&o.disabled,S&&o.sizeSmall,C&&o.clickable,A&&o.deletable),"aria-disabled":!!p||void 0,tabIndex:C||A?0:void 0,onClick:b,onKeyDown:function(e){e.currentTarget===e.target&&J5(e)&&e.preventDefault(),m&&m(e)},onKeyUp:function(e){e.currentTarget===e.target&&(A&&J5(e)?A(e):"Escape"===e.key&&z.current&&z.current.blur()),g&&g(e)},ref:x},k,_),T||j,e.createElement("span",{className:(0,Zu.Z)(o.label,S&&o.labelSmall)},h),D)})),t6=(0,Hu.Z)((function(e){var t="light"===e.palette.type?e.palette.grey[300]:e.palette.grey[700],n=(0,Bp.Fq)(e.palette.text.primary,.26);return{root:{fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:e.palette.getContrastText(t),backgroundColor:t,borderRadius:16,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"default",outline:0,textDecoration:"none",border:"none",padding:0,verticalAlign:"middle",boxSizing:"border-box","&$disabled":{opacity:.5,pointerEvents:"none"},"& $avatar":{marginLeft:5,marginRight:-6,width:24,height:24,color:"light"===e.palette.type?e.palette.grey[700]:e.palette.grey[300],fontSize:e.typography.pxToRem(12)},"& $avatarColorPrimary":{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.dark},"& $avatarColorSecondary":{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.dark},"& $avatarSmall":{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)}},sizeSmall:{height:24},colorPrimary:{backgroundColor:e.palette.primary.main,color:e.palette.primary.contrastText},colorSecondary:{backgroundColor:e.palette.secondary.main,color:e.palette.secondary.contrastText},disabled:{},clickable:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover, &:focus":{backgroundColor:(0,Bp._4)(t,.08)},"&:active":{boxShadow:e.shadows[1]}},clickableColorPrimary:{"&:hover, &:focus":{backgroundColor:(0,Bp._4)(e.palette.primary.main,.08)}},clickableColorSecondary:{"&:hover, &:focus":{backgroundColor:(0,Bp._4)(e.palette.secondary.main,.08)}},deletable:{"&:focus":{backgroundColor:(0,Bp._4)(t,.08)}},deletableColorPrimary:{"&:focus":{backgroundColor:(0,Bp._4)(e.palette.primary.main,.2)}},deletableColorSecondary:{"&:focus":{backgroundColor:(0,Bp._4)(e.palette.secondary.main,.2)}},outlined:{backgroundColor:"transparent",border:"1px solid ".concat("light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),"$clickable&:hover, $clickable&:focus, $deletable&:focus":{backgroundColor:(0,Bp.Fq)(e.palette.text.primary,e.palette.action.hoverOpacity)},"& $avatar":{marginLeft:4},"& $avatarSmall":{marginLeft:2},"& $icon":{marginLeft:4},"& $iconSmall":{marginLeft:2},"& $deleteIcon":{marginRight:5},"& $deleteIconSmall":{marginRight:3}},outlinedPrimary:{color:e.palette.primary.main,border:"1px solid ".concat(e.palette.primary.main),"$clickable&:hover, $clickable&:focus, $deletable&:focus":{backgroundColor:(0,Bp.Fq)(e.palette.primary.main,e.palette.action.hoverOpacity)}},outlinedSecondary:{color:e.palette.secondary.main,border:"1px solid ".concat(e.palette.secondary.main),"$clickable&:hover, $clickable&:focus, $deletable&:focus":{backgroundColor:(0,Bp.Fq)(e.palette.secondary.main,e.palette.action.hoverOpacity)}},avatar:{},avatarSmall:{},avatarColorPrimary:{},avatarColorSecondary:{},icon:{color:"light"===e.palette.type?e.palette.grey[700]:e.palette.grey[300],marginLeft:5,marginRight:-6},iconSmall:{width:18,height:18,marginLeft:4,marginRight:-4},iconColorPrimary:{color:"inherit"},iconColorSecondary:{color:"inherit"},label:{overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},labelSmall:{paddingLeft:8,paddingRight:8},deleteIcon:{WebkitTapHighlightColor:"transparent",color:n,height:22,width:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:(0,Bp.Fq)(n,.4)}},deleteIconSmall:{height:16,width:16,marginRight:4,marginLeft:-4},deleteIconColorPrimary:{color:(0,Bp.Fq)(e.palette.primary.contrastText,.7),"&:hover, &:active":{color:e.palette.primary.contrastText}},deleteIconColorSecondary:{color:(0,Bp.Fq)(e.palette.secondary.contrastText,.7),"&:hover, &:active":{color:e.palette.secondary.contrastText}},deleteIconOutlinedColorPrimary:{color:(0,Bp.Fq)(e.palette.primary.main,.7),"&:hover, &:active":{color:e.palette.primary.main}},deleteIconOutlinedColorSecondary:{color:(0,Bp.Fq)(e.palette.secondary.main,.7),"&:hover, &:active":{color:e.palette.secondary.main}}}}),{name:"MuiChip"})(e6),n6=(0,kp.Z)(e.createElement("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function r6(t){t.anchorEl,t.open;var n=(0,Uu.Z)(t,["anchorEl","open"]);return e.createElement("div",n)}var o6=e.createElement(Zh,{fontSize:"small"}),i6=e.createElement(n6,null),a6=e.forwardRef((function(t,n){t.autoComplete,t.autoHighlight,t.autoSelect,t.blurOnSelect;var r,o=t.ChipProps,i=t.classes,a=t.className,s=t.clearOnBlur,l=(void 0===s&&t.freeSolo,t.clearOnEscape,t.clearText),c=void 0===l?"Clear":l,u=t.closeIcon,d=void 0===u?o6:u,p=t.closeText,f=void 0===p?"Close":p,h=(t.debug,t.defaultValue),b=(void 0===h&&t.multiple,t.disableClearable),A=void 0!==b&&b,m=(t.disableCloseOnSelect,t.disabled),g=void 0!==m&&m,v=(t.disabledItemsFocusable,t.disableListWrap,t.disablePortal),y=void 0!==v&&v,M=(t.filterOptions,t.filterSelectedOptions,t.forcePopupIcon),O=void 0===M?"auto":M,_=t.freeSolo,z=void 0!==_&&_,x=t.fullWidth,w=void 0!==x&&x,C=t.getLimitTagsText,S=void 0===C?function(e){return"+".concat(e)}:C,E=(t.getOptionDisabled,t.getOptionLabel),k=void 0===E?function(e){return e}:E,D=(t.getOptionSelected,t.groupBy),N=t.handleHomeEndKeys,T=(void 0===N&&t.freeSolo,t.id,t.includeInputInList,t.inputValue,t.limitTags),j=void 0===T?-1:T,B=t.ListboxComponent,L=void 0===B?"ul":B,R=t.ListboxProps,q=t.loading,P=void 0!==q&&q,I=t.loadingText,W=void 0===I?"Loading\u2026":I,F=t.multiple,U=void 0!==F&&F,Z=t.noOptionsText,H=void 0===Z?"No options":Z,$=(t.onChange,t.onClose,t.onHighlightChange,t.onInputChange,t.onOpen,t.open,t.openOnFocus,t.openText),V=void 0===$?"Open":$,X=(t.options,t.PaperComponent),Q=void 0===X?Kd.Z:X,Y=t.PopperComponent,G=void 0===Y?Q5.Z:Y,K=t.popupIcon,J=void 0===K?i6:K,ee=t.renderGroup,te=t.renderInput,ne=t.renderOption,re=t.renderTags,oe=t.selectOnFocus,ie=(void 0===oe&&t.freeSolo,t.size),ae=void 0===ie?"medium":ie,se=(t.value,(0,Uu.Z)(t,["autoComplete","autoHighlight","autoSelect","blurOnSelect","ChipProps","classes","className","clearOnBlur","clearOnEscape","clearText","closeIcon","closeText","debug","defaultValue","disableClearable","disableCloseOnSelect","disabled","disabledItemsFocusable","disableListWrap","disablePortal","filterOptions","filterSelectedOptions","forcePopupIcon","freeSolo","fullWidth","getLimitTagsText","getOptionDisabled","getOptionLabel","getOptionSelected","groupBy","handleHomeEndKeys","id","includeInputInList","inputValue","limitTags","ListboxComponent","ListboxProps","loading","loadingText","multiple","noOptionsText","onChange","onClose","onHighlightChange","onInputChange","onOpen","open","openOnFocus","openText","options","PaperComponent","PopperComponent","popupIcon","renderGroup","renderInput","renderOption","renderTags","selectOnFocus","size","value"])),le=y?r6:G,ce=X5((0,Fu.Z)({},t,{componentName:"Autocomplete"})),ue=ce.getRootProps,de=ce.getInputProps,pe=ce.getInputLabelProps,fe=ce.getPopupIndicatorProps,he=ce.getClearProps,be=ce.getTagProps,Ae=ce.getListboxProps,me=ce.getOptionProps,ge=ce.value,ve=ce.dirty,ye=ce.id,Me=ce.popupOpen,Oe=ce.focused,_e=ce.focusedTag,ze=ce.anchorEl,xe=ce.setAnchorEl,we=ce.inputValue,Ce=ce.groupedOptions;if(U&&ge.length>0){var Se=function(e){return(0,Fu.Z)({className:(0,Zu.Z)(i.tag,"small"===ae&&i.tagSizeSmall),disabled:g},be(e))};r=re?re(ge,Se):ge.map((function(t,n){return e.createElement(t6,(0,Fu.Z)({label:k(t),size:ae},Se({index:n}),o))}))}if(j>-1&&Array.isArray(r)){var Ee=r.length-j;!Oe&&Ee>0&&(r=r.splice(0,j)).push(e.createElement("span",{className:i.tag,key:r.length},S(Ee)))}var ke=ee||function(t){return e.createElement("li",{key:t.key},e.createElement(G5,{className:i.groupLabel,component:"div"},t.group),e.createElement("ul",{className:i.groupUl},t.children))},De=ne||k,Ne=function(t,n){var r=me({option:t,index:n});return e.createElement("li",(0,Fu.Z)({},r,{className:i.option}),De(t,{selected:r["aria-selected"],inputValue:we}))},Te=!A&&!g,je=(!z||!0===O)&&!1!==O;return e.createElement(e.Fragment,null,e.createElement("div",(0,Fu.Z)({ref:n,className:(0,Zu.Z)(i.root,a,Oe&&i.focused,w&&i.fullWidth,Te&&i.hasClearIcon,je&&i.hasPopupIcon)},ue(se)),te({id:ye,disabled:g,fullWidth:!0,size:"small"===ae?"small":void 0,InputLabelProps:pe(),InputProps:{ref:xe,className:i.inputRoot,startAdornment:r,endAdornment:e.createElement("div",{className:i.endAdornment},Te?e.createElement(wd.Z,(0,Fu.Z)({},he(),{"aria-label":c,title:c,className:(0,Zu.Z)(i.clearIndicator,ve&&i.clearIndicatorDirty)}),d):null,je?e.createElement(wd.Z,(0,Fu.Z)({},fe(),{disabled:g,"aria-label":Me?f:V,title:Me?f:V,className:(0,Zu.Z)(i.popupIndicator,Me&&i.popupIndicatorOpen)}),J):null)},inputProps:(0,Fu.Z)({className:(0,Zu.Z)(i.input,-1===_e&&i.inputFocused),disabled:g},de())})),Me&&ze?e.createElement(le,{className:(0,Zu.Z)(i.popper,y&&i.popperDisablePortal),style:{width:ze?ze.clientWidth:null},role:"presentation",anchorEl:ze,open:!0},e.createElement(Q,{className:i.paper},P&&0===Ce.length?e.createElement("div",{className:i.loading},W):null,0!==Ce.length||z||P?null:e.createElement("div",{className:i.noOptions},H),Ce.length>0?e.createElement(L,(0,Fu.Z)({className:i.listbox},Ae(),R),Ce.map((function(e,t){return D?ke({key:e.key,group:e.group,children:e.options.map((function(t,n){return Ne(t,e.index+n)}))}):Ne(e,t)}))):null)):null)})),s6=(0,Hu.Z)((function(e){var t;return{root:{"&$focused $clearIndicatorDirty":{visibility:"visible"},"@media (pointer: fine)":{"&:hover $clearIndicatorDirty":{visibility:"visible"}}},fullWidth:{width:"100%"},focused:{},tag:{margin:3,maxWidth:"calc(100% - 6px)"},tagSizeSmall:{margin:2,maxWidth:"calc(100% - 4px)"},hasPopupIcon:{},hasClearIcon:{},inputRoot:{flexWrap:"wrap","$hasPopupIcon &, $hasClearIcon &":{paddingRight:30},"$hasPopupIcon$hasClearIcon &":{paddingRight:56},"& $input":{width:0,minWidth:30},'&[class*="MuiInput-root"]':{paddingBottom:1,"& $input":{padding:4},"& $input:first-child":{padding:"6px 0"}},'&[class*="MuiInput-root"][class*="MuiInput-marginDense"]':{"& $input":{padding:"4px 4px 5px"},"& $input:first-child":{padding:"3px 0 6px"}},'&[class*="MuiOutlinedInput-root"]':{padding:9,"$hasPopupIcon &, $hasClearIcon &":{paddingRight:39},"$hasPopupIcon$hasClearIcon &":{paddingRight:65},"& $input":{padding:"9.5px 4px"},"& $input:first-child":{paddingLeft:6},"& $endAdornment":{right:9}},'&[class*="MuiOutlinedInput-root"][class*="MuiOutlinedInput-marginDense"]':{padding:6,"& $input":{padding:"4.5px 4px"}},'&[class*="MuiFilledInput-root"]':{paddingTop:19,paddingLeft:8,"$hasPopupIcon &, $hasClearIcon &":{paddingRight:39},"$hasPopupIcon$hasClearIcon &":{paddingRight:65},"& $input":{padding:"9px 4px"},"& $endAdornment":{right:9}},'&[class*="MuiFilledInput-root"][class*="MuiFilledInput-marginDense"]':{paddingBottom:1,"& $input":{padding:"4.5px 4px"}}},input:{flexGrow:1,textOverflow:"ellipsis",opacity:0},inputFocused:{opacity:1},endAdornment:{position:"absolute",right:0,top:"calc(50% - 14px)"},clearIndicator:{marginRight:-2,padding:4,visibility:"hidden"},clearIndicatorDirty:{},popupIndicator:{padding:2,marginRight:-2},popupIndicatorOpen:{transform:"rotate(180deg)"},popper:{zIndex:e.zIndex.modal},popperDisablePortal:{position:"absolute"},paper:(0,Fu.Z)({},e.typography.body1,{overflow:"hidden",margin:"4px 0"}),listbox:{listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto"},loading:{color:e.palette.text.secondary,padding:"14px 16px"},noOptions:{color:e.palette.text.secondary,padding:"14px 16px"},option:(t={minHeight:48,display:"flex",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16},(0,Ws.Z)(t,e.breakpoints.up("sm"),{minHeight:"auto"}),(0,Ws.Z)(t,'&[aria-selected="true"]',{backgroundColor:e.palette.action.selected}),(0,Ws.Z)(t,'&[data-focus="true"]',{backgroundColor:e.palette.action.hover}),(0,Ws.Z)(t,"&:active",{backgroundColor:e.palette.action.selected}),(0,Ws.Z)(t,'&[aria-disabled="true"]',{opacity:e.palette.action.disabledOpacity,pointerEvents:"none"}),t),groupLabel:{backgroundColor:e.palette.background.paper,top:-8},groupUl:{padding:0,"& $option":{paddingLeft:24}}}}),{name:"MuiAutocomplete"})(a6),l6=H5(),c6=jk.object({price:jk.number("Enter price").required("Price is required").min(0,"Minimum 0").max(1e7,"Maximum 10000000"),service:jk.string("Select service").required("Service is required"),name:jk.string("Name is required").max(100,"Max 100 characters"),discountTotal:jk.number("Enter discount").required("Discount is required").min(0,"Minimum 0").max(1e7,"Maximum 10000000"),discountPercent:jk.number("Enter discount").min(0,"Minimum 0%").max(100,"Maximum 100%")}),u6=$l((function(t){var r=t.open,o=t.setOpen,i=t.initValues,a=t.onSubmit,s=(t.tab,t.setTab,t.title),l=t.disableTabs,c=void 0!==l&&l,u=Fc(),d=u.appointment,p=u.appointmentDoctor,f=(0,e.useState)(!1),h=(0,n.Z)(f,2),b=h[0],A=(h[1],Xj({enableReinitialize:!0,initialValues:Us(Us({},i),{},{discountTotal:0,discountPercent:0}),validationSchema:c6,onSubmit:function(e,t){var n=t.resetForm;a(Us(Us({},e),{},{isMedical:b})),o(!1),n()},validator:function(){return{}}})),m=function(){o(!1),A.resetForm()};return(0,Kl.jsx)(vC,{onClose:m,"aria-labelledby":"simple-dialog-title",open:r,children:(0,Kl.jsxs)("div",{className:w5,children:[(0,Kl.jsx)(MC,{id:"simple-dialog-title",children:s}),(0,Kl.jsxs)("form",{onSubmit:A.handleSubmit,children:[(0,Kl.jsx)(s6,{value:A.values.brand,onChange:function(e,t){"string"===typeof t?A.setFieldValue("brand",{title:t,id:-1}):t&&t.inputValue?A.setFieldValue("brand",{title:t.inputValue,id:-1}):A.setFieldValue("brand",t)},filterOptions:function(e,t){var n=l6(e,t);return""!==t.inputValue&&n.push({inputValue:t.inputValue,title:'Click to Add "'.concat(t.inputValue,'"')}),n},selectOnFocus:!0,clearOnBlur:!0,style:{margin:"24px 0px"},handleHomeEndKeys:!0,id:"brand",options:null===d||void 0===d?void 0:d.treatmentTypes,getOptionLabel:function(e){return"string"===typeof e?e:e.inputValue?null!==(t=null===e||void 0===e?void 0:e.inputValue)&&void 0!==t?t:"":e.title;var t},renderOption:function(e){var t;return null!==(t=null===e||void 0===e?void 0:e.title)&&void 0!==t?t:""},freeSolo:!0,renderInput:function(e){return(0,Kl.jsx)(Wu.Z,Us(Us({},e),{},{label:"Drug Name",variant:"outlined"}))}}),(0,Kl.jsx)(Wu.Z,{size:"small",type:"number",name:"amount",variant:"outlined",label:"Dosage",value:A.values.amount,onChange:A.handleChange,onBlur:A.handleBlur,error:A.touched.amount&&Boolean(A.errors.amount),helperText:A.touched.amount&&A.errors.amount,placeholder:"Type dosage here...",InputLabelProps:{shrink:!0},style:{margin:"24px 0px"}}),(0,Kl.jsx)(Wu.Z,{size:"small",type:"number",name:"description",variant:"outlined",label:"Description",value:A.values.description,onChange:A.handleChange,onBlur:A.handleBlur,error:A.touched.description&&Boolean(A.errors.description),helperText:A.touched.description&&A.errors.description,placeholder:"Type description here...",InputLabelProps:{shrink:!0},minRows:5,multiline:!0,style:{margin:"24px 0px"}}),(0,Kl.jsxs)(xE,{children:[c&&(0,Kl.jsx)(zd.Z,{color:"secondary",variant:"contained",onClick:function(){var e=p.payment.editIndex;p.payment.removeItem(e),Re.put("/v1/appointment/".concat(null===d||void 0===d?void 0:d.id,"/payment"),function(){var e,t={items:p.payment.items.map((function(e){var t={name:e.name,price:e.price,isMedical:e.isMedical};return e.treatmentTypeId&&(t=Us(Us({},t),{},{treatmentTypeId:e.treatmentTypeId})),t})),notes:p.payment.notes,is_paid:p.payment.isPaid,split:"split"===p.payment.paymentMethod?null===(e=p.payment)||void 0===e?void 0:e.split:[]};return p.payment.discount&&(t=Us(Us({},t),{},{discount:p.payment.discount,discount_type:p.payment.discountType})),t}()),m()},children:"Delete"}),(0,Kl.jsx)(zd.Z,{color:"primary",variant:"contained",type:"submit",children:"Save"})]})]})]})})})),d6=u6,p6=$l((function(t){var r,o,i=t.open,a=t.setOpen,s=Fc(),l=s.appointment,c=s.appointmentDoctor,u=(0,e.useState)(0),d=(0,n.Z)(u,2),p=d[0],f=d[1],h={id:null===l||void 0===l||null===(r=l.treatmentTypes[0])||void 0===r?void 0:r.id,price:null===l||void 0===l||null===(o=l.treatmentTypes[0])||void 0===o?void 0:o.realPrice,service:0,name:"",isMedical:!1},b=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,r;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:2===p?t.discountTotal?(c.payment.setDiscount(t.discountTotal),c.payment.setDiscountType("absolute")):(c.payment.setDiscount(t.discountPercent),c.payment.setDiscountType("percent")):c.payment.addItem(0===p?l.treatmentTypes[t.service].id:null,0===p?l.treatmentTypes[t.service].name:t.name,Number(t.price),0===p?l.treatmentTypes[t.service].deposit:0,t.isMedical),r=function(){var e,t={items:c.payment.items.map((function(e){var t={name:e.name,price:e.price,isMedical:e.isMedical};return e.treatmentTypeId&&(t=Us(Us({},t),{},{treatmentTypeId:e.treatmentTypeId})),t})),notes:c.payment.notes,is_paid:c.payment.isPaid,split:"split"===c.payment.paymentMethod?null===(e=c.payment)||void 0===e?void 0:e.split:[]};return c.payment.discount&&(t=Us(Us({},t),{},{discount:c.payment.discount,discount_type:c.payment.discountType})),t},null!==c&&void 0!==c&&null!==(n=c.payment)&&void 0!==n&&n.exists?Re.put("/v1/appointment/".concat(null===l||void 0===l?void 0:l.id,"/payment"),r()).then((function(e){c.payment.init(e.data.data)})):Re.post("/v1/appointment/".concat(null===l||void 0===l?void 0:l.id,"/payment"),r()).then((function(e){c.payment.init(e.data.data)}));case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return(0,Kl.jsx)(d6,{onSubmit:b,initValues:h,tab:p,setTab:f,open:i,setOpen:a,title:"New Item"})})),f6=p6,h6=$l((function(t){var r=t.open,o=t.setOpen,i=Fc(),a=i.appointment,s=i.appointmentDoctor,l=(0,e.useState)(),c=(0,n.Z)(l,2),u=c[0],d=c[1];(0,e.useEffect)((function(){yr((function(){if(s.payment.items.length>0){var e=s.payment.selected;d({treatmentTypeId:e.treatmentTypeId?e.treatmentTypeId:null,price:e.price,name:e.name,id:e.treatmentType?e.treatmentType:null,isMedical:e.isMedical})}}))}),[s.items]);var p=(0,e.useMemo)((function(){return{price:u?u.price:"",name:u?u.name:"",service:"Test",isMedical:!!u&&u.isMedical}}),[u]),f=function(){var e,t={items:s.payment.items.map((function(e){var t={name:e.name,price:e.price,isMedical:e.isMedical};return e.treatmentTypeId&&(t=Us(Us({},t),{},{treatmentTypeId:e.treatmentTypeId})),t})),notes:s.payment.notes,is_paid:s.payment.isPaid,split:"split"===s.payment.paymentMethod?null===(e=s.payment)||void 0===e?void 0:e.split:[],selected_products:s.payment.selected_products};return s.payment.discount&&(t=Us(Us({},t),{},{discount:s.payment.discount,discount_type:s.payment.discountType})),t};return(0,Kl.jsx)(d6,{onSubmit:function(e){var t;s.payment.editItem(u.treatmentTypeId,s.payment.editIndex,e.name,Number(e.price),e.isMedical),null!==s&&void 0!==s&&null!==(t=s.payment)&&void 0!==t&&t.exists?Re.put("/v1/appointment/".concat(null===a||void 0===a?void 0:a.id,"/payment"),f()).then((function(e){s.payment.init(e.data.data)})):Re.post("/v1/appointment/".concat(null===a||void 0===a?void 0:a.id,"/payment"),f()).then((function(e){s.payment.init(e.data.data)}))},initValues:p,tab:1,title:"Edit Item",open:r,setOpen:o,disableTabs:!0})})),b6=h6,A6=$l((function(t){var n=t.index,r=t.order,o=t.name,i=t.price,a=t.setEditOpen,s=t.setDiscountEditOpen,l=t.active,c=t.needEdit,u=void 0===c||c,d=Fc().appointmentDoctor,p=(0,e.useContext)(bA);return(0,Kl.jsxs)(AC,{container:!0,direction:"row",justifyContent:"space-between",alignItems:"center",item:!0,className:C5,children:[(0,Kl.jsxs)("div",{className:k5,children:[(0,Kl.jsxs)(kl.Z,{className:D5,children:[r+1,". ",o]}),(0,Kl.jsx)("span",{className:E5}),(0,Kl.jsxs)(kl.Z,{className:W5,children:["Discount"!==o&&p.clinic.currency,"Discount"===o&&"absolute"===d.payment.discountType&&p.clinic.currency,i.toFixed(2),"Discount"===o&&"percent"===d.payment.discountType&&"%"]})]}),!l&&u?a?(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(wd.Z,{"aria-label":"back",color:"primary",onClick:function(){"Discount"===o?s():(d.payment.setEditIndex(n),a())},children:(0,Kl.jsx)(oB.Z,{className:S5})})}):(0,Kl.jsx)("div",{className:N5}):null]})})),m6=A6,g6=$l((function(t){var n=t.index,r=t.product,o=t.order,i=t.setEditOpen,a=t.setDiscountEditOpen,s=t.active,l=t.needEdit,c=void 0===l||l,u=Fc(),d=u.appointment,p=u.appointmentDoctor,f=(0,e.useContext)(bA);return(0,Kl.jsxs)(AC,{container:!0,direction:"row",justifyContent:"space-between",alignItems:"center",item:!0,className:C5,children:[(0,Kl.jsxs)("div",{className:k5,children:[(0,Kl.jsxs)(kl.Z,{className:D5,children:[o+1,". ",r.name]}),(0,Kl.jsx)("div",{children:(0,Kl.jsxs)(kl.Z,{variant:"body2",className:P5,children:[null!=r.lot_number?(0,Kl.jsxs)("div",{className:I5,children:[r.lot_number," ,"]}):(0,Kl.jsx)(Kl.Fragment,{}),null!=r.expiry_date?(0,Kl.jsx)("div",{style:{marginLeft:"3px",color:r.is_expired?"red":"inherit"},children:r.expiry_date}):(0,Kl.jsx)(Kl.Fragment,{})]})}),(0,Kl.jsx)("span",{className:E5}),(0,Kl.jsxs)(kl.Z,{className:W5,children:[" ".concat(r.qnt," x "),"Discount"!==r.name&&f.clinic.currency,r.price.toFixed(2)]})]}),!s&&c?i?(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(wd.Z,{"aria-label":"back",color:"primary",onClick:function(){d.setSelectedProductByIndex(p.payment.selected_products.findIndex((function(e){return e===r}))),a()},children:(0,Kl.jsx)(oB.Z,{className:S5})})}):(0,Kl.jsx)("div",{className:N5}):null]},n)})),v6=g6,y6=$l((function(t){var n,r,o,i,a,s,l=t.active,c=t.setEditOpen,u=t.setDiscountEditOpen,d=t.setDiscountProductEditOpen,p=t.needEdit,f=Fc().appointmentDoctor;(0,e.useEffect)((function(){var e,t;null===f||void 0===f||null===(e=f.payment)||void 0===e||null===(t=e.items)||void 0===t||t.forEach((function(e,t){e.setIndex(t)}))}),[JSON.stringify(null===f||void 0===f||null===(n=f.payment)||void 0===n?void 0:n.items)]);var h=null===f||void 0===f||null===(r=f.payment)||void 0===r?void 0:r.items.filter((function(e){return e.isMedical})),b=null===f||void 0===f||null===(o=f.payment)||void 0===o?void 0:o.items.filter((function(e){return!e.isMedical})),A=null===f||void 0===f||null===(i=f.payment)||void 0===i?void 0:i.selected_products;return(0,Kl.jsxs)(AC,{className:j5,children:[b.length>0&&(0,Kl.jsx)(kl.Z,{className:B5,children:"Cosmetic treatments"}),b.map((function(e,t){var n;return(0,Kl.jsx)(m6,{index:e.index,order:t,name:null!==(n=e.fullName)&&void 0!==n?n:e.name,discount:e.discount,price:e.price,setEditOpen:c,active:l,setDiscountEditOpen:u,needEdit:p},"".concat(e.name,"_").concat(t))})),h.length>0&&(0,Kl.jsx)(kl.Z,{className:B5,children:"Medical treatments"}),h.map((function(e,t){var n;return(0,Kl.jsx)(m6,{index:e.index,order:t,name:null!==(n=e.fullName)&&void 0!==n?n:e.name,discount:e.discount,price:e.price,active:l,setDiscountEditOpen:u,needEdit:p},"".concat(e.name,"_").concat(t))})),A.length>0&&(0,Kl.jsx)(kl.Z,{className:B5,children:"Products added"}),A.map((function(e,t){return(0,Kl.jsx)(v6,{product:e,index:t,order:t,setEditOpen:c,active:l,setDiscountEditOpen:d,needEdit:!0},"".concat(e.name,"_").concat(t))})),!(null===f||void 0===f||null===(a=f.payment)||void 0===a||!a.discount)&&(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(kl.Z,{className:B5,children:"Discount"}),(0,Kl.jsx)(m6,{order:0,name:"Discount",price:-(null===f||void 0===f||null===(s=f.payment)||void 0===s?void 0:s.discount),setEditOpen:c,active:l,setDiscountEditOpen:u,needEdit:p})]})]})})),M6=y6,O6=jk.object({discountTotal:jk.number("Enter discount").required("Discount is required").min(0,"Minimum 0").max(1e7,"Maximum 10000000"),discountPercent:jk.number("Enter discount").min(0,"Minimum 0%").max(100,"Maximum 100%")}),_6=$l((function(t){var r,o=t.open,i=t.setOpen,a=Fc(),s=a.appointment,l=a.appointmentDoctor,c=(0,e.useState)(0),u=(0,n.Z)(c,2),d=u[0],p=u[1],f=Xj({enableReinitialize:!0,validationSchema:O6,initialValues:{discountPercent:0,discountTotal:null===l||void 0===l||null===(r=l.payment)||void 0===r?void 0:r.discount},onSubmit:function(e,t){var n=t.resetForm;b(e),i(!1),n()},validator:function(){return{}}}),h=function(){Re.put("/v1/appointment/".concat(null===s||void 0===s?void 0:s.id,"/payment"),function(){var e,t={items:l.payment.items.map((function(e){var t={name:e.name,price:e.price,isMedical:e.isMedical};return e.treatmentTypeId&&(t=Us(Us({},t),{},{treatmentTypeId:e.treatmentTypeId})),t})),is_paid:l.payment.isPaid,split:"split"===l.payment.paymentMethod?null===(e=l.payment)||void 0===e?void 0:e.split:[]};return l.payment.discount&&(t=Us(Us({},t),{},{discount:l.payment.discount,discount_type:l.payment.discountType})),t}()).then((function(e){l.payment.init(e.data.data)}))},b=function(e){0===d?(l.payment.setDiscount(e.discountPercent),l.payment.setDiscountType("percent")):1===d&&(l.payment.setDiscount(e.discountTotal),l.payment.setDiscountType("absolute")),h()};return(0,Kl.jsx)(vC,{onClose:function(){i(!1),f.resetForm()},"aria-labelledby":"simple-dialog-title",open:o,children:(0,Kl.jsxs)("div",{className:w5,children:[(0,Kl.jsxs)(MC,{id:"simple-dialog-title",children:["Edit discount",(0,Kl.jsxs)(Hb,{value:d,indicatorColor:"primary",textColor:"primary",onChange:function(e,t){p(t)},children:[(0,Kl.jsx)(Vb,{label:"Percent",fullWidth:!0}),(0,Kl.jsx)(Vb,{label:"Total",fullWidth:!0})]})]}),(0,Kl.jsxs)("form",{onSubmit:f.handleSubmit,children:[(0,Kl.jsx)(_E,{children:0===d?(0,Kl.jsx)(AC,{container:!0,direction:"row",children:(0,Kl.jsx)(Wu.Z,{type:"number",id:"discountPercent",name:"discountPercent",label:"Discount, %",values:f.values.discountPercent,onChange:f.handleChange,error:f.touched.discountPercent&&Boolean(f.errors.discountPercent),helperText:f.touched.discountPercent&&f.errors.discountPercent,className:R5})}):(0,Kl.jsx)(AC,{container:!0,direction:"row",children:(0,Kl.jsx)(Wu.Z,{type:"number",id:"discountTotal",name:"discountTotal",label:"Discount, total",values:f.values.discountTotal,onChange:f.handleChange,error:f.touched.discountTotal&&Boolean(f.errors.discountTotal),helperText:f.touched.discountTotal&&f.errors.discountTotal,className:R5})})}),(0,Kl.jsxs)(xE,{children:[(0,Kl.jsx)(zd.Z,{color:"secondary",variant:"contained",onClick:function(){null===l||void 0===l||l.payment.setDiscount(0),h(),i(!1),f.resetForm()},children:"Delete"}),(0,Kl.jsx)(zd.Z,{color:"primary",variant:"contained",type:"submit",children:"Save"})]})]})]})})})),z6=_6,x6=$l((function(){var t,n,r,o,i,a,s,l=(0,e.useContext)(bA),c=Fc(),u=c.appointmentDoctor,d=c.appointment;return(0,Kl.jsxs)(AC,{container:!0,className:T5,children:[(0,Kl.jsx)(AC,{item:!0,container:!0,direction:"row",justifyContent:"flex-end",className:N5,children:(0,Kl.jsxs)(kl.Z,{className:D5,children:["Total Cost ",l.clinic.currency,((null===u||void 0===u||null===(t=u.payment)||void 0===t||null===(n=t.items)||void 0===n?void 0:n.reduce((function(e,t){return e+(t.price||0)}),0))+(null===u||void 0===u||null===(r=u.payment)||void 0===r||null===(o=r.selected_products)||void 0===o?void 0:o.reduce((function(e,t){return e+t.price*t.qnt}),0))-(null===u||void 0===u||null===(i=u.payment)||void 0===i?void 0:i.discountValue)).toFixed(2)]})}),(0,Kl.jsx)(AC,{item:!0,container:!0,direction:"row",justifyContent:"flex-end",className:N5,children:(0,Kl.jsxs)(kl.Z,{className:D5,children:["Deposit Paid ",l.clinic.currency,d.isDeposited&&d.depositedAt?d.deposit.toFixed(2):0]})}),(0,Kl.jsx)(AC,{item:!0,container:!0,direction:"row",justifyContent:"flex-end",className:N5,style:{marginBottom:24,marginTop:24},children:(0,Kl.jsxs)(kl.Z,{className:D5,children:[(0,Kl.jsx)("span",{className:q5,children:"Remaining Balance"})," ",l.clinic.currency,d.isPaid?0:null===u||void 0===u||null===(a=u.payment)||void 0===a?void 0:a.remainingBalance.toFixed(2)]})}),(0,Kl.jsx)(AC,{item:!0,container:!0,direction:"row",justifyContent:"flex-end",className:N5,children:(0,Kl.jsxs)(kl.Z,{className:D5,children:["Total VAT ",l.clinic.currency,null===u||void 0===u||null===(s=u.payment)||void 0===s?void 0:s.vat.toFixed(2)]})})]})})),w6=x6,C6=$l((function(){var t=me(),r=(0,e.useState)(!1),o=(0,n.Z)(r,2),i=o[0],a=o[1],s=(0,e.useState)(!1),l=(0,n.Z)(s,2),c=l[0],u=l[1],d=(0,e.useState)(!1),p=(0,n.Z)(d,2),f=p[0],h=p[1],b=he(),A=Fc(),m=A.appointmentDoctor,g=A.appointment,v=(g.patient.id,g.doctor.id,Vs()(g.startDate).format("YYYY-MM-DDTHH:mm"),null===g||void 0===g||g.treatmentTypes.filter((function(e){return e.selected})).map((function(e){return{id:e.id,isMedical:e.isMedical}})),g.isPaid,null===g||void 0===g||g.selectedTypes.map((function(e){return e.id})),m.payment.deposit,function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var n,r;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Re.get("/v1/appointment/".concat(t.appointmentId,"/payment"));case 3:return n=e.sent,r=n.data,e.abrupt("return",r.data);case 8:return e.prev=8,e.t0=e.catch(0),e.abrupt("return",!1);case 11:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(){return e.apply(this,arguments)}}()),y=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(n){var r,o;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v();case 2:(r=e.sent)?(r.items.forEach((function(e){var t;e.id=null===(t=e.treatmentType)||void 0===t?void 0:t.id})),m.payment.init(r)):n.length>0&&(null===m||void 0===m||null===(o=m.payment)||void 0===o||o.setItems(n),Re.post("/v1/appointment/".concat(t.appointmentId,"/payment"),{items:m.payment.items.map((function(e){var t={name:e.name,price:e.price,isMedical:e.isMedical};return-1!==e.id&&(t=Us(Us({},t),{},{treatmentTypeId:e.id})),t})),notes:m.payment.notes,vat:m.payment.vat,total:m.payment.total}));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();(0,e.useEffect)((function(){yr((0,Hs.Z)((0,Zs.Z)().mark((function e(){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:y(null===g||void 0===g?void 0:g.treatmentTypes);case 1:case"end":return e.stop()}}),e)}))))}),[null===g||void 0===g?void 0:g.treatmentTypes.length]),(0,e.useEffect)((function(){M()}),[]);var M=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t,n;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get("/v1/app/vat");case 2:t=e.sent,n=t.data,g.setVat(n.data.vat);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(AC,{container:!0,justifyContent:"space-between",direction:"column",className:w5,children:(0,Kl.jsxs)(AC,{item:!0,container:!0,alignItems:"center",justifyContent:"center",children:[(0,Kl.jsx)(M6,{active:g.isPaid,setEditOpen:u,setDiscountEditOpen:h,needEdit:!1}),(0,Kl.jsx)(w6,{}),(0,Kl.jsx)(zd.Z,{className:L5,variant:"contained",color:"primary",onClick:function(){b("/doctor-appointment/".concat(t.appointmentId,"/payment/checkout?navigate-to=/doctor-appointment/").concat(t.appointmentId,"/record"))},children:"Checkout"})]})}),(0,Kl.jsx)(f6,{open:i,setOpen:a}),(0,Kl.jsx)(b6,{open:c,setOpen:u}),(0,Kl.jsx)(z6,{open:f,setOpen:h}),(0,Kl.jsx)(Ee,{context:{calendarRef:void 0}})]})})),S6=C6,E6={prescriptions:"prescriptions_prescriptions__dRNcY",prescriptionsHeader:"prescriptions_prescriptionsHeader__7qg-h",appointmentHeader:"prescriptions_appointmentHeader__WcWS8",right:"prescriptions_right__q6IiD",addPrescription:"prescriptions_addPrescription__P1+Rs",prescriptionsFilter:"prescriptions_prescriptionsFilter__DjyHR",prescriptionList:"prescriptions_prescriptionList__gntdi",prescriptionsContainer:"prescriptions_prescriptionsContainer__1AKlq",loading:"prescriptions_loading__Y0QLI"},k6="patientInfo_patientInfo__f062H",D6="patientInfo_patientMain__xEMof",N6="patientInfo_patientLeft__DbigK",T6="patientInfo_avatar__RFUtp",j6="patientInfo_patientMeta__klBE9",B6="patientInfo_name__R8VMH",L6="patientInfo_key__cl69i",R6="patientInfo_email__h2dTl",q6="patientInfo_dob__Q1mhn",P6="patientInfo_additional__PFsaO",I6="patientInfo_patientAdditionalItem__-fyA5",W6="patientInfo_title__ytS79",F6="patientInfo_description__HfilR",U6="patientInfo_rightBlock__bQam9",Z6="patientInfo_status__DohfY",H6=function(e){var t=e.title,n=e.description,r=e.loading;return(0,Kl.jsxs)("div",{className:I6,children:[(0,Kl.jsx)(kl.Z,{variant:"body1",className:W6,align:"right",children:t}),r?(0,Kl.jsx)(Rp,{variant:"text",width:100,height:24,align:"right"}):(0,Kl.jsx)(kl.Z,{variant:"body1",className:F6,align:"right",children:null!==n&&void 0!==n?n:"not set"})]})},$6=function(t){var n,r=t.status,o=t.loading,i=(0,e.useContext)(bA),a=(0,e.useMemo)((function(){switch(r){case"Open":return"#E4513E";case"Pending":default:return"#E2B740";case"Signed":return"#67CE5B"}}),[r]);return(0,Kl.jsxs)("div",{className:U6,children:[(0,Kl.jsxs)("div",{className:Z6,children:[(0,Kl.jsx)(kl.Z,{variant:"body1",className:W6,align:"right",children:"Status"}),o?(0,Kl.jsx)(Rp,{variant:"rect",width:80,height:32}):(0,Kl.jsx)(kl.Z,{variant:"body1",className:F6,style:{color:a},align:"right",children:null!==r&&void 0!==r?r:"not set"})]}),(0,Kl.jsx)(H6,{title:"Clinic Address",description:null===i||void 0===i||null===(n=i.clinic)||void 0===n?void 0:n.address,loading:o})]})},V6=function(t){var n,r=t.patient,o=t.status,i=(0,e.useMemo)((function(){return"".concat(null===r||void 0===r?void 0:r.name," ").concat(null===r||void 0===r?void 0:r.lastName)}),[r]),a=(0,e.useMemo)((function(){return Xs(i)}),[i]);return(0,Kl.jsxs)("div",{className:k6,children:[(0,Kl.jsxs)("div",{className:D6,children:[(0,Kl.jsxs)("div",{className:N6,children:[r?(0,Kl.jsx)(jp,{alt:i,src:null===r||void 0===r?void 0:r.avatarUrl,className:T6,children:!!i&&a}):(0,Kl.jsx)(Rp,{variant:"circle",className:T6}),(0,Kl.jsxs)("div",{className:j6,children:[r?(0,Kl.jsxs)(kl.Z,{variant:"body1",className:L6,children:[(0,Kl.jsx)("span",{children:"Patient name:"})," ",null===r||void 0===r?void 0:r.fullName]}):(0,Kl.jsx)(Rp,{variant:"text",width:170,className:B6}),r?(0,Kl.jsxs)(kl.Z,{variant:"body1",className:L6,children:[(0,Kl.jsx)("span",{children:" DOB:"})," ",Vs()(null===r||void 0===r?void 0:r.dateOfBirth).format("DD/MM/YYYY")]}):(0,Kl.jsx)(Rp,{variant:"text",width:180,className:q6}),r?(0,Kl.jsxs)(kl.Z,{variant:"body1",className:L6,children:[(0,Kl.jsx)("span",{children:" Tel:"})," ",null===r||void 0===r?void 0:r.phone]}):(0,Kl.jsx)(Rp,{variant:"text",width:150,className:q6}),r?(0,Kl.jsxs)(kl.Z,{variant:"body1",className:L6,children:[(0,Kl.jsx)("span",{children:"Email address:"})," ",null===r||void 0===r||null===(n=r.user)||void 0===n?void 0:n.email]}):(0,Kl.jsx)(Rp,{variant:"text",width:200,className:R6})]})]}),(0,Kl.jsx)("div",{className:P6,children:(0,Kl.jsx)(H6,{title:"Patient Address",description:null===r||void 0===r?void 0:r.address,loading:!r})})]}),(0,Kl.jsx)($6,{status:o,loading:!r})]})},X6=function(e){var t=e.open,n=e.setOpen,r=e.onDelete,o=e.title,i=function(){n(!1)};return(0,Kl.jsx)(vC,{onClose:i,"aria-labelledby":"simple-dialog-title",open:t,PaperProps:{style:{borderRadius:15}},children:(0,Kl.jsx)(_E,{style:{overflow:"hidden",paddingBottom:20},children:(0,Kl.jsxs)(AC,{container:!0,spacing:2,justifyContent:"center",children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(kl.Z,{variant:"h6",children:o})}),(0,Kl.jsxs)(AC,{container:!0,direction:"row",justifyContent:"center",spacing:2,item:!0,children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(zd.Z,{variant:"contained",color:"secondary",onClick:i,children:"No"})}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",onClick:function(){r(),i()},children:"Yes"})})]})]})})})},Q6={prescriptionSidebar:"prescriptionSidebar_prescriptionSidebar__+QQcY",prescriptionDoctors:"prescriptionSidebar_prescriptionDoctors__Cz3ez",prescriptionDoctor:"prescriptionSidebar_prescriptionDoctor__FqsL3",prescriptionSignature:"prescriptionSidebar_prescriptionSignature__nCiUP",header:"prescriptionSidebar_header__GOToG",noSignature:"prescriptionSidebar_noSignature__0S24c",prescriptionDoctorCard:"prescriptionSidebar_prescriptionDoctorCard__IveGQ",avatar:"prescriptionSidebar_avatar__FE5EL",doctorMeta:"prescriptionSidebar_doctorMeta__9WIVA",name:"prescriptionSidebar_name__Q00PE",pin:"prescriptionSidebar_pin__BcPaF",date:"prescriptionSidebar_date__7IbUz"},Y6=function(t){var n=t.isPrescriber,r=t.pin,o=t.prescriber,i=t.avatarUrl,a=t.date,s=(0,e.useMemo)((function(){var e;return(null!==(e=null===o||void 0===o?void 0:o.name)&&void 0!==e?e:null===o||void 0===o?void 0:o.firstName)+" "+(null===o||void 0===o?void 0:o.lastName)}),[o]),l=(0,e.useMemo)((function(){return Xs(s)}),[s]);return(0,Kl.jsxs)("div",{className:Q6.prescriptionDoctorCard,children:[o?(0,Kl.jsx)(jp,{alt:s,src:i,className:Q6.avatar,children:!!s&&l}):(0,Kl.jsx)(Rp,{variant:"circle",width:50,height:50}),(0,Kl.jsxs)("div",{className:Q6.doctorMeta,children:[o?(0,Kl.jsx)(kl.Z,{variant:"body1",className:Q6.name,children:null===o||void 0===o?void 0:o.fullName}):(0,Kl.jsx)(Rp,{variant:"text",className:Q6.name,height:26}),n&&(o?(0,Kl.jsxs)(kl.Z,{variant:"body1",className:Q6.pin,children:["PIN: ",null!==r&&void 0!==r?r:"not set"]}):(0,Kl.jsx)(Rp,{variant:"text",className:Q6.pin,height:24})),o?(0,Kl.jsxs)(kl.Z,{variant:"body1",className:Q6.date,children:[r||n?"Signed at: ":"Issued at: "," ",a?Vs()(a).format("DD/MM/YYYY"):"not signed"]}):(0,Kl.jsx)(Rp,{variant:"text",className:Q6.date})]})]})},G6=function(t){var n,r,o,i=t.practitioner,a=t.prescriber,s=t.doctors,l=t.issuedAt,c=t.signedAt,u=t.status,d=(0,e.useMemo)((function(){return s.find((function(e){return(null===e||void 0===e?void 0:e.id)===i}))}),[i,s]);return(0,Kl.jsxs)("div",{className:Q6.prescriptionDoctors,children:[(0,Kl.jsxs)("div",{className:Q6.prescriptionDoctor,children:[(0,Kl.jsx)(kl.Z,{variant:"h6",children:"Practitioner"}),(0,Kl.jsx)(Y6,{prescriber:d,avatarUrl:null===d||void 0===d||null===(n=d.user)||void 0===n?void 0:n.avatarUrl,date:l})]}),(0,Kl.jsx)(Jb,{}),(0,Kl.jsxs)("div",{className:Q6.prescriptionDoctor,children:[(0,Kl.jsx)(kl.Z,{variant:"h6",children:"Prescriber"}),"Pending"===u&&null!==a&&void 0!==a&&a.isExternal?(0,Kl.jsxs)(zd.Z,{variant:"outlined",size:"small",color:"primary",disabled:!0,children:[(0,Kl.jsx)(OB.Z,{style:{color:"#4AD84A"}})," Signature Request Sent"]}):(0,Kl.jsx)(Y6,{prescriber:a,avatarUrl:null===a||void 0===a||null===(r=a.user)||void 0===r?void 0:r.avatarUrl,pin:(null===a||void 0===a?void 0:a.licensePin)||(null===a||void 0===a||null===(o=a.user)||void 0===o?void 0:o.licensePin),date:c,isPrescriber:!0})]})]})},K6="prescriptionItem_prescriptionItemContainer__pPdCn",J6="prescriptionItem_prescriptionItem__LjZYl",e8="prescriptionItem_doctorAndTreatments__mqlTp",t8="prescriptionItem_doctor__YbmT3",n8="prescriptionItem_treatmentsContainer__FLbzJ",r8="prescriptionItem_treatments__cP5lo",o8="prescriptionItem_treatmentsTitle__U30jB",i8="prescriptionItem_treatmentsDescription__Rtnae",a8="prescriptionItem_productBrands__bNFtJ",s8=function(t){var r,o=t.id,i=t.treatmentTypes,a=t.status,s=t.practitioner,l=t.date,c=t.productBrands,u=t.customProducts,d=t.patient,p=t.getPrescriptions,f=he(),h=(0,e.useState)(!1),b=(0,n.Z)(h,2),A=b[0],m=b[1],g=(0,e.useCallback)((function(){return f("/prescriptions/".concat(o))}),[o]),v=hE().enqueueSnackbar;return(0,Kl.jsxs)("div",{className:K6,children:[(0,Kl.jsxs)("div",{className:J6,onClick:g,children:[(0,Kl.jsxs)("div",{className:e8,children:[(0,Kl.jsx)("div",{className:t8,children:(0,Kl.jsx)(Y6,{prescriber:s,avatarUrl:null===s||void 0===s||null===(r=s.user)||void 0===r?void 0:r.avatarUrl,date:l})}),(0,Kl.jsxs)("div",{className:n8,children:[(0,Kl.jsxs)("div",{className:r8,children:[(0,Kl.jsx)(kl.Z,{variant:"body1",className:o8,children:"Patient"}),(0,Kl.jsx)(kl.Z,{variant:"body1",className:i8,children:null===d||void 0===d?void 0:d.fullName}),(0,Kl.jsxs)(kl.Z,{variant:"caption",children:["DOB: ",Vs()(null===d||void 0===d?void 0:d.dateOfBirth).format("DD/MM/YYYY")]})]}),(0,Kl.jsxs)("div",{className:r8,children:[(0,Kl.jsx)(kl.Z,{variant:"body1",className:o8,children:"Treatments"}),i.length>0?null===i||void 0===i?void 0:i.map((function(e,t){return(0,Kl.jsx)(kl.Z,{variant:"body1",className:i8,children:null===e||void 0===e?void 0:e.name},"treatment_".concat(e.id,"_").concat(t))})):"no items"]}),(0,Kl.jsxs)("div",{className:a8,children:[(0,Kl.jsx)(kl.Z,{variant:"body1",className:o8,children:"Prescription"}),0===(null===c||void 0===c?void 0:c.length)&&0===(null===u||void 0===u?void 0:u.length)?"no items":(0,Kl.jsxs)(Kl.Fragment,{children:[null===c||void 0===c?void 0:c.map((function(e,t){return(0,Kl.jsx)(kl.Z,{variant:"body1",className:i8,children:null===e||void 0===e?void 0:e.title},"brand_".concat(e.id,"_").concat(t))})),null===u||void 0===u?void 0:u.map((function(e,t){return(0,Kl.jsx)(kl.Z,{variant:"body1",className:i8,children:null===e||void 0===e?void 0:e.title},"product_".concat(e.id,"_").concat(t))}))]})]})]})]}),(0,Kl.jsx)("div",{children:(0,Kl.jsx)($6,{status:a,loading:!s})})]}),(0,Kl.jsx)("div",{children:(0,Kl.jsx)(wd.Z,{onClick:function(){m(!0)},children:(0,Kl.jsx)(HE.Z,{})})}),(0,Kl.jsx)(X6,{open:A,setOpen:m,onDelete:function(){Re.delete("/v1/prescriptions/".concat(o)).then((function(e){v("Prescription successfully deleted!",{variant:"success"}),p()})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return v(e,{variant:"error"})}))}))}))},title:"Do you want to delete prescription? "})]})},l8=jk.object({prescriber:jk.number("Select Prescriber").required("Prescriber is required"),patient:jk.number("Select Patient").required("Patient is required"),practitioner:jk.number("Select Practitioner").required("Practitioner is required"),notes:jk.string("Enter notes").max(500,"Max 500 characters")}),c8=$l((function(t){var o=t.open,i=t.setOpen,a=t.appointmentId,s=t.patient,l=t.getPrescriptions,c=t.doctor,u=(0,e.useState)([]),d=(0,n.Z)(u,2),p=d[0],f=d[1],h=Fc(),b=h.appointment,A=h.location,m=(0,e.useState)([]),g=(0,n.Z)(m,2),v=g[0],y=g[1],M=(0,e.useState)(""),O=(0,n.Z)(M,2),_=O[0],z=O[1],x=(0,e.useState)(""),w=(0,n.Z)(x,2),C=w[0],S=w[1],E=(0,e.useState)(""),k=(0,n.Z)(E,2),D=k[0],N=k[1],T=(0,e.useState)([]),j=(0,n.Z)(T,2),B=j[0],L=j[1],R=Xj({enableReinitialize:!0,initialValues:{prescriber:0,practitioner:null!==c&&void 0!==c?c:void 0,patient:null!==s&&void 0!==s?s:void 0,notes:"",appointmentId:null!==a&&void 0!==a?a:null},validationSchema:l8,onSubmit:function(e,t){var n=t.resetForm;W(e,n)},validator:function(){return{}}});(0,e.useEffect)((function(){if(c){var e=null===B||void 0===B?void 0:B.find((function(e){return e.value===c}));N(null===e||void 0===e?void 0:e.label),R.setFieldValue("practitioner",c)}else{var t,n;N(null===B||void 0===B||null===(t=B[0])||void 0===t?void 0:t.label),R.setFieldValue("practitioner",null===B||void 0===B||null===(n=B[0])||void 0===n?void 0:n.value)}}),[B,c]);var q=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t,n,o,i,a,s,l;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get("/v1/staff",{params:{view:"list",prescriber:1,location:(null===A||void 0===A?void 0:A.id)||"all"}});case 2:return o=e.sent,i=o.data,a=i.data.filter((function(e){return!(null!==e&&void 0!==e&&e.deletedAt)})).map((function(e,t){var n,r;return{item:e,label:Qs(null===e||void 0===e||null===(n=e.user)||void 0===n?void 0:n.firstName,null===e||void 0===e||null===(r=e.user)||void 0===r?void 0:r.lastName),value:t,isExternal:!1}})),e.next=7,F(a.length);case 7:s=e.sent,l=[].concat((0,r.Z)(a),(0,r.Z)(s)),S(null===l||void 0===l||null===(t=l[0])||void 0===t?void 0:t.label),R.setFieldValue("prescriber",null===l||void 0===l||null===(n=l[0])||void 0===n?void 0:n.value),f(l);case 12:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),P=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t,n,r,o;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get("/v1/staff",{params:{view:"list",location:(null===A||void 0===A?void 0:A.id)||"all"}});case 2:n=e.sent,r=n.data,(null===(t=r.data)||void 0===t?void 0:t.length)>0&&(o=r.data.filter((function(e){return!(null!==e&&void 0!==e&&e.deletedAt)})).map((function(e){var t,n;return{label:Qs(null===e||void 0===e||null===(t=e.user)||void 0===t?void 0:t.firstName,null===e||void 0===e||null===(n=e.user)||void 0===n?void 0:n.lastName),value:null===e||void 0===e?void 0:e.id}})),L(o));case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),I=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,r,o;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get("/v1/patient",{params:{search:t}});case 2:n=e.sent,r=n.data,o=r.data.filter((function(e){return!(null!==e&&void 0!==e&&e.deletedAt)})).map((function(e){return{value:e.id,label:Qs(e.firstName,e.lastName)}})),y(o);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();(0,e.useEffect)((function(){q(),P()}),[]),(0,e.useEffect)((function(){I(_)}),[_]);var W=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t,n){var r,o;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r={patientId:t.patient,notes:t.notes,practitionerId:t.practitioner,appointmentId:a,treatmentTypes:a?null===b||void 0===b?void 0:b.treatmentTypes.filter((function(e){return null===e||void 0===e?void 0:e.selected})).map((function(e){return e.id})):[]},o=p[t.prescriber],r=o.isExternal?Us(Us({},r),{},{externalPrescriberId:o.item.id,staffId:null}):Us(Us({},r),{},{staffId:o.item.id,externalPrescriberId:null}),e.next=5,Re.post("/v1/prescriptions",r).then((function(e){e.data;l?null===l||void 0===l||l(a):window.location.reload(),i(!1)}));case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),F=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,r,o,i;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get("/v1/external-prescribers");case 2:if(r=e.sent,o=r.data,!((null===(n=o.data)||void 0===n?void 0:n.length)>0)){e.next=7;break}return i=o.data.map((function(e,n){return{item:e,label:Qs(e.name,e.last_name),value:n+t,isExternal:!0}})),e.abrupt("return",i);case 7:return e.abrupt("return",[]);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return(0,Kl.jsx)(vC,{onClose:function(){i(!1)},"aria-labelledby":"simple-dialog-title",open:o,PaperProps:{style:{maxWidth:500}},children:(0,Kl.jsxs)("div",{className:E6.dialogContainer,children:[(0,Kl.jsx)(MC,{id:"simple-dialog-title",children:"Create Prescription"}),(0,Kl.jsxs)("form",{onSubmit:R.handleSubmit,children:[(0,Kl.jsx)(_E,{children:(0,Kl.jsxs)(AC,{container:!0,spacing:2,xs:12,item:!0,children:[!c&&(0,Kl.jsx)(AC,{item:!0,xs:12,children:(0,Kl.jsx)(s6,{value:R.values.practitioner,onChange:function(e,t){e&&R.setFieldValue("practitioner",t.value)},inputValue:D,onInputChange:function(e,t){N(t)},getOptionLabel:function(e){var t;return null!==(t=null===e||void 0===e?void 0:e.label)&&void 0!==t?t:D},getOptionSelected:function(e,t){return e.value===t},options:B,variant:"outlined",fullWidth:!0,sx:{width:300},renderInput:function(e){return(0,Kl.jsx)(Wu.Z,Us(Us({},e),{},{label:"Practitioner",variant:"outlined",fullWidth:!0,error:R.touched.practitioner&&Boolean(R.errors.practitioner),helperText:R.touched.practitioner&&R.errors.practitioner}))}})}),(0,Kl.jsx)(AC,{item:!0,xs:12,children:(0,Kl.jsx)(s6,{value:R.values.prescriber,onChange:function(e,t){R.setFieldValue("prescriber",t.value)},inputValue:C,onInputChange:function(e,t){S(t)},getOptionLabel:function(e){var t;return null!==(t=null===e||void 0===e?void 0:e.label)&&void 0!==t?t:C},getOptionSelected:function(e,t){return(null===e||void 0===e?void 0:e.value)===t},options:p,variant:"outlined",fullWidth:!0,sx:{width:300},renderInput:function(e){return(0,Kl.jsx)(Wu.Z,Us(Us({},e),{},{label:"Prescriber",variant:"outlined",fullWidth:!0,error:R.touched.prescriber&&Boolean(R.errors.prescriber),helperText:R.touched.prescriber&&R.errors.prescriber}))}})}),!s&&(0,Kl.jsx)(AC,{item:!0,xs:12,children:(0,Kl.jsx)(s6,{value:R.values.patient,onChange:function(e,t){R.setFieldValue("patient",t.value)},inputValue:_,onInputChange:function(e,t){z(t)},getOptionLabel:function(e){return e.label},getOptionSelected:function(e,t){return e.value===t.value},options:v,variant:"outlined",fullWidth:!0,sx:{width:300},renderInput:function(e){return(0,Kl.jsx)(Wu.Z,Us(Us({},e),{},{label:"Patient",variant:"outlined",fullWidth:!0,error:R.touched.patient&&Boolean(R.errors.patient),helperText:R.touched.patient&&R.errors.patient}))}})}),(0,Kl.jsx)(AC,{item:!0,xs:12,children:(0,Kl.jsx)(Wu.Z,{label:"Notes",variant:"outlined",value:R.values.notes,id:"notes",name:"notes",onChange:R.handleChange,fullWidth:!0,multiline:!0,minRows:4,maxRows:6,error:R.touched.notes&&Boolean(R.errors.notes),helperText:R.touched.notes&&R.errors.notes})})]})}),(0,Kl.jsx)(xE,{children:(0,Kl.jsx)(zd.Z,{color:"primary",variant:"contained",type:"submit",children:"Add"})})]})]})})})),u8=c8,d8="patientMisc_patientMisc__8vdjB",p8="patientMisc_patientMiscFilter__nNwAe",f8="patientMisc_patientMiscFilterButtons__bxu6W",h8="patientMisc_filter__COuWs",b8="patientMisc_patientMiscFilterButton__TuQ0w",A8=function(e){var t=e.name,n=e.onClick,r=e.active;return(0,Kl.jsx)("div",{className:b8,onClick:n,style:{color:r?"#e1a360":"#000"},children:(0,Kl.jsx)(kl.Z,{children:t})})},m8=function(t){var n=t.setFilter,r=t.filter,o=t.setOrderBy,i=t.orderBy,a=function(e){n(e)},s=(0,e.useCallback)((function(e){return e===r}),[r]);return(0,Kl.jsxs)("div",{className:p8,children:[(0,Kl.jsxs)("div",{className:f8,children:[(0,Kl.jsx)(A8,{name:"Upcoming Appointments",onClick:function(){return a("upcoming")},active:s("upcoming")}),(0,Kl.jsx)(A8,{name:"Past Appointments",onClick:function(){return a("past")},active:s("past")}),(0,Kl.jsx)(A8,{name:"No Show / Cancelled",onClick:function(){return a("not-show")},active:s("not-show")}),(0,Kl.jsx)(A8,{name:"Questionnaires",onClick:function(){return a("questionnaires")},active:s("questionnaires")}),(0,Kl.jsx)(A8,{name:"Medical Questionnaires",onClick:function(){return a("medical-history-snapshots")},active:s("medical-history-snapshots")}),(0,Kl.jsx)(A8,{name:"Prescriptions",onClick:function(){return a("prescriptions")},active:s("prescriptions")}),(0,Kl.jsx)(A8,{name:"Message Log",onClick:function(){return a("message-log")},active:s("message-log")}),(0,Kl.jsx)(A8,{name:"Emails",onClick:function(){return a("emails")},active:s("emails")}),(0,Kl.jsx)(A8,{name:"SMS",onClick:function(){return a("sms")},active:s("sms")})]}),(0,Kl.jsx)("div",{className:h8,children:(0,Kl.jsx)(wd.Z,{onClick:function(e){o("desc"===i?"asc":"desc")},children:(0,Kl.jsx)(sY.Z,{style:{rotate:"desc"===i?"0deg":"180deg"}})})})]})},g8=$l((function(t){var r,o,i,a=t.appointmentId,s=t.patientName,l=t.lastUpdate,c=Fc(),u=c.search,d=c.appointment,p=(0,e.useState)([]),f=(0,n.Z)(p,2),h=f[0],b=f[1],A=(0,e.useState)(100),m=(0,n.Z)(A,1)[0],g=(0,e.useState)("open"),v=(0,n.Z)(g,2),y=v[0],M=v[1],O=(0,e.useState)(!0),_=(0,n.Z)(O,2),z=_[0],x=_[1],w=(0,e.useState)(!1),C=(0,n.Z)(w,2),S=C[0],E=C[1],k=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t,n,r,o){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get("/v1/appointment/".concat(t,"/prescriptions"),{params:{limit:null!==r&&void 0!==r?r:100,search:null!==n&&void 0!==n?n:"",status:o,prescriptionStatus:"all"!==o?o:null}}).then(function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=t.data,ME.sync(n),b(n.data),x(!1);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 2:case"end":return e.stop()}}),e)})));return function(t,n,r,o){return e.apply(this,arguments)}}();(0,e.useEffect)((function(){k(a,u.value,m,y)}),[a,u.value,m,y]);var D=(0,e.useCallback)((function(e){return e===y}),[y]);return(0,Kl.jsxs)("div",{className:E6.prescriptions,children:[(0,Kl.jsxs)("div",{className:E6.prescriptionsHeader,children:[s&&(0,Kl.jsxs)("div",{className:E6.appointmentHeader,children:[(0,Kl.jsxs)(kl.Z,{variant:"body1",children:[s," Prescriptions"]}),(0,Kl.jsxs)("div",{className:E6.right,children:[(0,Kl.jsxs)(kl.Z,{variant:"caption",className:E6.addPrescription,children:["Last Update: ",Vs()(l).format("DD/MM/YYYY")]}),(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",onClick:function(){E(!0)},size:"small",children:"Add Prescription"})]})]}),(0,Kl.jsx)("div",{className:E6.prescriptionsFilter,children:[{name:"Open Prescriptions",value:"open"},{name:"Signed Prescriptions",value:"signed"},{name:"View All",value:"all"}].map((function(e,t){return(0,Kl.jsx)(A8,{name:e.name,onClick:function(){return M(e.value)},active:D(e.value)},"button_".concat(e.name))}))})]}),(0,Kl.jsx)("div",{className:E6.prescriptionList,children:z?(0,Kl.jsx)("div",{className:E6.loading,children:(0,Kl.jsx)(Gh.Z,{})}):h.map((function(e,t){return(0,Kl.jsx)(s8,{id:e.id,treatmentTypes:e.treatmentTypes,status:null===e||void 0===e?void 0:e.status,practitioner:null===e||void 0===e?void 0:e.practitioner,date:null===e||void 0===e?void 0:e.dateIssued,productBrands:null===e||void 0===e?void 0:e.productBrands,customProducts:null===e||void 0===e?void 0:e.customProducts,patient:null===e||void 0===e?void 0:e.patient,getPrescriptions:function(){return k(a,u.value,m,y)}},"prescription_".concat(e.id,"_").concat(t))}))}),(0,Kl.jsx)(u8,{open:S,setOpen:E,appointmentId:a,patient:null===d||void 0===d||null===(r=d.patient)||void 0===r?void 0:r.id,doctor:null!==(o=null===d||void 0===d||null===(i=d.doctor)||void 0===i?void 0:i.id)&&void 0!==o?o:"",getPrescriptions:function(){return k(a,u.value,m,y)}})]})})),v8=g8,y8="prescription_prescriptions__mTbFJ",M8=$l((function(){var e,t=me(),n=Fc().appointment;return(0,Kl.jsx)("div",{className:y8,children:(0,Kl.jsx)(v8,{appointmentId:t.appointmentId,patientName:null===n||void 0===n||null===(e=n.patient)||void 0===e?void 0:e.name})})})),O8=M8,_8=function(){return(0,Kl.jsx)(hK,{children:(0,Kl.jsx)(F1,{type:"record",tools:["marker","botulinum","dermal","other","text"]})})},z8={container:"finalPDF_container__0y41o",statusBar:"finalPDF_statusBar__8xm71",preloader:"finalPDF_preloader__iGpao",spin:"finalPDF_spin__yIHE5"},x8=__webpack_require__(35508);function w8(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;var n=document.implementation.createHTMLDocument(),r=n.createElement("base"),o=n.createElement("a");return n.head.appendChild(r),n.body.appendChild(o),t&&(r.href=t),o.href=e,o.href}var C8=function(){var e=0;return function(){return e+=1,"u".concat("0000".concat((Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4)).concat(e)}}();function S8(e){for(var t=[],n=0,r=e.length;n<r;n++)t.push(e[n]);return t}function E8(e,t){var n=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return n?parseFloat(n.replace("px","")):0}function k8(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{width:t.width||function(e){var t=E8(e,"border-left-width"),n=E8(e,"border-right-width");return e.clientWidth+t+n}(e),height:t.height||function(e){var t=E8(e,"border-top-width"),n=E8(e,"border-bottom-width");return e.clientHeight+t+n}(e)}}function D8(){var e,t;try{t=process}catch(AE){}var n=t&&t.env?t.env.devicePixelRatio:null;return n&&(e=parseInt(n,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}var N8=16384;function T8(e){(e.width>N8||e.height>N8)&&(e.width>N8&&e.height>N8?e.width>e.height?(e.height*=N8/e.width,e.width=N8):(e.width*=N8/e.height,e.height=N8):e.width>N8?(e.height*=N8/e.width,e.width=N8):(e.width*=N8/e.height,e.height=N8))}function j8(e){return new Promise((function(t,n){var r=new Image;r.decode=function(){return t(r)},r.onload=function(){return t(r)},r.onerror=n,r.crossOrigin="anonymous",r.decoding="async",r.src=e}))}function B8(e){return L8.apply(this,arguments)}function L8(){return(L8=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.resolve().then((function(){return(new XMLSerializer).serializeToString(t)})).then(encodeURIComponent).then((function(e){return"data:image/svg+xml;charset=utf-8,".concat(e)})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function R8(e,t,n){return q8.apply(this,arguments)}function q8(){return q8=(0,Hs.Z)((0,Zs.Z)().mark((function e(t,n,r){var o,i,a;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o="http://www.w3.org/2000/svg",i=document.createElementNS(o,"svg"),a=document.createElementNS(o,"foreignObject"),i.setAttribute("width","".concat(n)),i.setAttribute("height","".concat(r)),i.setAttribute("viewBox","0 0 ".concat(n," ").concat(r)),a.setAttribute("width","100%"),a.setAttribute("height","100%"),a.setAttribute("x","0"),a.setAttribute("y","0"),a.setAttribute("externalResourcesRequired","true"),i.appendChild(a),a.appendChild(t),e.abrupt("return",B8(i));case 14:case"end":return e.stop()}}),e)}))),q8.apply(this,arguments)}var P8=function e(t,n){if(t instanceof n)return!0;var r=Object.getPrototypeOf(t);return null!==r&&(r.constructor.name===n.name||e(r,n))};function I8(e,t,n){var r=".".concat(e,":").concat(t),o=n.cssText?function(e){var t=e.getPropertyValue("content");return"".concat(e.cssText," content: '").concat(t.replace(/'|"/g,""),"';")}(n):function(e){return S8(e).map((function(t){var n=e.getPropertyValue(t),r=e.getPropertyPriority(t);return"".concat(t,": ").concat(n).concat(r?" !important":"",";")})).join(" ")}(n);return document.createTextNode("".concat(r,"{").concat(o,"}"))}function W8(e,t,n){var r=window.getComputedStyle(e,n),o=r.getPropertyValue("content");if(""!==o&&"none"!==o){var i=C8();try{t.className="".concat(t.className," ").concat(i)}catch(s){return}var a=document.createElement("style");a.appendChild(I8(i,n,r)),t.appendChild(a)}}var F8="application/font-woff",U8="image/jpeg",Z8={woff:F8,woff2:F8,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:U8,jpeg:U8,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function H8(e){var t=function(e){var t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}(e).toLowerCase();return Z8[t]||""}function $8(e){return e.split(/,/)[1]}function V8(e){return-1!==e.search(/^(data:)/)}function X8(e,t){return"data:".concat(t,";base64,").concat(e)}function Q8(e,t,n){return Y8.apply(this,arguments)}function Y8(){return Y8=(0,Hs.Z)((0,Zs.Z)().mark((function e(t,n,r){var o,i;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(t,n);case 2:if(404!==(o=e.sent).status){e.next=5;break}throw new Error('Resource "'.concat(o.url,'" not found'));case 5:return e.next=7,o.blob();case 7:return i=e.sent,e.abrupt("return",new Promise((function(e,t){var n=new FileReader;n.onerror=t,n.onloadend=function(){try{e(r({res:o,result:n.result}))}catch(i){t(i)}},n.readAsDataURL(i)})));case 9:case"end":return e.stop()}}),e)}))),Y8.apply(this,arguments)}var G8={};function K8(e,t,n){var r=e.replace(/\?.*/,"");return n&&(r=e),/ttf|otf|eot|woff2?/i.test(r)&&(r=r.replace(/.*\//,"")),t?"[".concat(t,"]").concat(r):r}function J8(e,t,n){return e9.apply(this,arguments)}function e9(){return e9=(0,Hs.Z)((0,Zs.Z)().mark((function e(t,n,r){var o,i,a,s;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=K8(t,n,r.includeQueryParams),null==G8[o]){e.next=3;break}return e.abrupt("return",G8[o]);case 3:return r.cacheBust&&(t+=(/\?/.test(t)?"&":"?")+(new Date).getTime()),e.prev=4,e.next=7,Q8(t,r.fetchRequestInit,(function(e){var t=e.res,r=e.result;return n||(n=t.headers.get("Content-Type")||""),$8(r)}));case 7:a=e.sent,i=X8(a,n),e.next=17;break;case 11:e.prev=11,e.t0=e.catch(4),i=r.imagePlaceholder||"",s="Failed to fetch resource: ".concat(t),e.t0&&(s="string"===typeof e.t0?e.t0:e.t0.message),s&&console.warn(s);case 17:return G8[o]=i,e.abrupt("return",i);case 19:case"end":return e.stop()}}),e,null,[[4,11]])}))),e9.apply(this,arguments)}function t9(e){return n9.apply(this,arguments)}function n9(){return n9=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("data:,"!==(n=t.toDataURL())){e.next=3;break}return e.abrupt("return",t.cloneNode(!1));case 3:return e.abrupt("return",j8(n));case 4:case"end":return e.stop()}}),e)}))),n9.apply(this,arguments)}function r9(e,t){return o9.apply(this,arguments)}function o9(){return o9=(0,Hs.Z)((0,Zs.Z)().mark((function e(t,n){var r,o,i,a,s,l;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.currentSrc){e.next=8;break}return r=document.createElement("canvas"),o=r.getContext("2d"),r.width=t.clientWidth,r.height=t.clientHeight,null===o||void 0===o||o.drawImage(t,0,0,r.width,r.height),i=r.toDataURL(),e.abrupt("return",j8(i));case 8:return a=t.poster,s=H8(a),e.next=12,J8(a,s,n);case 12:return l=e.sent,e.abrupt("return",j8(l));case 14:case"end":return e.stop()}}),e)}))),o9.apply(this,arguments)}function i9(e){return a9.apply(this,arguments)}function a9(){return a9=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,!(null===(n=null===t||void 0===t?void 0:t.contentDocument)||void 0===n?void 0:n.body)){e.next=5;break}return e.next=4,b9(t.contentDocument.body,{},!0);case 4:return e.abrupt("return",e.sent);case 5:e.next=9;break;case 7:e.prev=7,e.t0=e.catch(0);case 9:return e.abrupt("return",t.cloneNode(!1));case 10:case"end":return e.stop()}}),e,null,[[0,7]])}))),a9.apply(this,arguments)}function s9(e,t){return l9.apply(this,arguments)}function l9(){return(l9=(0,Hs.Z)((0,Zs.Z)().mark((function e(t,n){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!P8(t,HTMLCanvasElement)){e.next=2;break}return e.abrupt("return",t9(t));case 2:if(!P8(t,HTMLVideoElement)){e.next=4;break}return e.abrupt("return",r9(t,n));case 4:if(!P8(t,HTMLIFrameElement)){e.next=6;break}return e.abrupt("return",i9(t));case 6:return e.abrupt("return",t.cloneNode(!1));case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var c9=function(e){return null!=e.tagName&&"SLOT"===e.tagName.toUpperCase()};function u9(e,t,n){return d9.apply(this,arguments)}function d9(){return d9=(0,Hs.Z)((0,Zs.Z)().mark((function e(t,n,r){var o,i,a;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=[],0!==(a=c9(t)&&t.assignedNodes?S8(t.assignedNodes()):P8(t,HTMLIFrameElement)&&(null===(o=t.contentDocument)||void 0===o?void 0:o.body)?S8(t.contentDocument.body.childNodes):S8((null!==(i=t.shadowRoot)&&void 0!==i?i:t).childNodes)).length&&!P8(t,HTMLVideoElement)){e.next=4;break}return e.abrupt("return",n);case 4:return e.next=6,a.reduce((function(e,t){return e.then((function(){return b9(t,r)})).then((function(e){e&&n.appendChild(e)}))}),Promise.resolve());case 6:return e.abrupt("return",n);case 7:case"end":return e.stop()}}),e)}))),d9.apply(this,arguments)}function p9(e,t){return P8(t,Element)&&(function(e,t){var n=t.style;if(n){var r=window.getComputedStyle(e);r.cssText?(n.cssText=r.cssText,n.transformOrigin=r.transformOrigin):S8(r).forEach((function(o){var i=r.getPropertyValue(o);if("font-size"===o&&i.endsWith("px")){var a=Math.floor(parseFloat(i.substring(0,i.length-2)))-.1;i="".concat(a,"px")}P8(e,HTMLIFrameElement)&&"display"===o&&"inline"===i&&(i="block"),"d"===o&&t.getAttribute("d")&&(i="path(".concat(t.getAttribute("d"),")")),n.setProperty(o,i,r.getPropertyPriority(o))}))}}(e,t),function(e,t){W8(e,t,":before"),W8(e,t,":after")}(e,t),function(e,t){P8(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),P8(e,HTMLInputElement)&&t.setAttribute("value",e.value)}(e,t),function(e,t){if(P8(e,HTMLSelectElement)){var n=t,r=Array.from(n.children).find((function(t){return e.value===t.getAttribute("value")}));r&&r.setAttribute("selected","")}}(e,t)),t}function f9(e,t){return h9.apply(this,arguments)}function h9(){return h9=(0,Hs.Z)((0,Zs.Z)().mark((function e(t,n){var r,o,i,a,s,l,c,u,d,p,f,h;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(0!==(r=t.querySelectorAll?t.querySelectorAll("use"):[]).length){e.next=3;break}return e.abrupt("return",t);case 3:o={},i=0;case 5:if(!(i<r.length)){e.next=18;break}if(a=r[i],!(s=a.getAttribute("xlink:href"))){e.next=15;break}if(l=t.querySelector(s),c=document.querySelector(s),l||!c||o[s]){e.next=15;break}return e.next=14,b9(c,n,!0);case 14:o[s]=e.sent;case 15:i++,e.next=5;break;case 18:if((u=Object.values(o)).length){for(d="http://www.w3.org/1999/xhtml",(p=document.createElementNS(d,"svg")).setAttribute("xmlns",d),p.style.position="absolute",p.style.width="0",p.style.height="0",p.style.overflow="hidden",p.style.display="none",f=document.createElementNS(d,"defs"),p.appendChild(f),h=0;h<u.length;h++)f.appendChild(u[h]);t.appendChild(p)}return e.abrupt("return",t);case 21:case"end":return e.stop()}}),e)}))),h9.apply(this,arguments)}function b9(e,t,n){return A9.apply(this,arguments)}function A9(){return A9=(0,Hs.Z)((0,Zs.Z)().mark((function e(t,n,r){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r||!n.filter||n.filter(t)){e.next=2;break}return e.abrupt("return",null);case 2:return e.abrupt("return",Promise.resolve(t).then((function(e){return s9(e,n)})).then((function(e){return u9(t,e,n)})).then((function(e){return p9(t,e)})).then((function(e){return f9(e,n)})));case 3:case"end":return e.stop()}}),e)}))),A9.apply(this,arguments)}var m9=/url\((['"]?)([^'"]+?)\1\)/g,g9=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,v9=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function y9(e){var t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp("(url\\(['\"]?)(".concat(t,")(['\"]?\\))"),"g")}function M9(e){var t=[];return e.replace(m9,(function(e,n,r){return t.push(r),e})),t.filter((function(e){return!V8(e)}))}function O9(e,t,n,r,o){return _9.apply(this,arguments)}function _9(){return(_9=(0,Hs.Z)((0,Zs.Z)().mark((function e(t,n,r,o,i){var a,s,l,c;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,a=r?w8(n,r):n,s=H8(n),!i){e.next=10;break}return e.next=6,i(a);case 6:c=e.sent,l=X8(c,s),e.next=13;break;case 10:return e.next=12,J8(a,s,o);case 12:l=e.sent;case 13:return e.abrupt("return",t.replace(y9(n),"$1".concat(l,"$3")));case 16:e.prev=16,e.t0=e.catch(0);case 18:return e.abrupt("return",t);case 19:case"end":return e.stop()}}),e,null,[[0,16]])})))).apply(this,arguments)}function z9(e,t){var r=t.preferredFontFormat;return r?e.replace(v9,(function(e){for(;;){var t=g9.exec(e)||[],o=(0,n.Z)(t,3),i=o[0],a=o[2];if(!a)return"";if(a===r)return"src: ".concat(i,";")}})):e}function x9(e){return-1!==e.search(m9)}function w9(e,t,n){return C9.apply(this,arguments)}function C9(){return C9=(0,Hs.Z)((0,Zs.Z)().mark((function e(t,n,r){var o,i;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(x9(t)){e.next=2;break}return e.abrupt("return",t);case 2:return o=z9(t,r),i=M9(o),e.abrupt("return",i.reduce((function(e,t){return e.then((function(e){return O9(e,t,n,r)}))}),Promise.resolve(o)));case 5:case"end":return e.stop()}}),e)}))),C9.apply(this,arguments)}function S9(e,t,n){return E9.apply(this,arguments)}function E9(){return E9=(0,Hs.Z)((0,Zs.Z)().mark((function e(t,n,r){var o,i,a;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(i=null===(o=n.style)||void 0===o?void 0:o.getPropertyValue(t))){e.next=7;break}return e.next=4,w9(i,null,r);case 4:return a=e.sent,n.style.setProperty(t,a,n.style.getPropertyPriority(t)),e.abrupt("return",!0);case 7:return e.abrupt("return",!1);case 8:case"end":return e.stop()}}),e)}))),E9.apply(this,arguments)}function k9(e,t){return D9.apply(this,arguments)}function D9(){return(D9=(0,Hs.Z)((0,Zs.Z)().mark((function e(t,n){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,S9("background",t,n);case 2:if(e.sent){e.next=5;break}return e.next=5,S9("background-image",t,n);case 5:return e.next=7,S9("mask",t,n);case 7:if(e.sent){e.next=10;break}return e.next=10,S9("mask-image",t,n);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function N9(e,t){return T9.apply(this,arguments)}function T9(){return T9=(0,Hs.Z)((0,Zs.Z)().mark((function e(t,n){var r,o,i;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((r=P8(t,HTMLImageElement))&&!V8(t.src)||P8(t,SVGImageElement)&&!V8(t.href.baseVal)){e.next=3;break}return e.abrupt("return");case 3:return o=r?t.src:t.href.baseVal,e.next=6,J8(o,H8(o),n);case 6:return i=e.sent,e.next=9,new Promise((function(e,n){t.onload=e,t.onerror=n;var o=t;o.decode&&(o.decode=e),"lazy"===o.loading&&(o.loading="eager"),r?(t.srcset="",t.src=i):t.href.baseVal=i}));case 9:case"end":return e.stop()}}),e)}))),T9.apply(this,arguments)}function j9(e,t){return B9.apply(this,arguments)}function B9(){return(B9=(0,Hs.Z)((0,Zs.Z)().mark((function e(t,n){var r,o;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=S8(t.childNodes),o=r.map((function(e){return L9(e,n)})),e.next=4,Promise.all(o).then((function(){return t}));case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function L9(e,t){return R9.apply(this,arguments)}function R9(){return(R9=(0,Hs.Z)((0,Zs.Z)().mark((function e(t,n){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!P8(t,Element)){e.next=7;break}return e.next=3,k9(t,n);case 3:return e.next=5,N9(t,n);case 5:return e.next=7,j9(t,n);case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function q9(e,t){var n=e.style;t.backgroundColor&&(n.backgroundColor=t.backgroundColor),t.width&&(n.width="".concat(t.width,"px")),t.height&&(n.height="".concat(t.height,"px"));var r=t.style;return null!=r&&Object.keys(r).forEach((function(e){n[e]=r[e]})),e}var P9={};function I9(e){return W9.apply(this,arguments)}function W9(){return W9=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,r,o;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null==(n=P9[t])){e.next=3;break}return e.abrupt("return",n);case 3:return e.next=5,fetch(t);case 5:return r=e.sent,e.next=8,r.text();case 8:return o=e.sent,n={url:t,cssText:o},P9[t]=n,e.abrupt("return",n);case 12:case"end":return e.stop()}}),e)}))),W9.apply(this,arguments)}function F9(e,t){return U9.apply(this,arguments)}function U9(){return U9=(0,Hs.Z)((0,Zs.Z)().mark((function e(t,n){var r,o,i,a;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.cssText,o=/url\(["']?([^"')]+)["']?\)/g,i=r.match(/url\([^)]+\)/g)||[],a=i.map(function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(i){var a;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(a=i.replace(o,"$1")).startsWith("https://")||(a=new URL(a,t.url).href),e.abrupt("return",Q8(a,n.fetchRequestInit,(function(e){var t=e.result;return r=r.replace(i,"url(".concat(t,")")),[i,t]})));case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),e.abrupt("return",Promise.all(a).then((function(){return r})));case 5:case"end":return e.stop()}}),e)}))),U9.apply(this,arguments)}function Z9(e){if(null==e)return[];for(var t=[],n=e.replace(/(\/\*[\s\S]*?\*\/)/gi,""),r=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");;){var o=r.exec(n);if(null===o)break;t.push(o[0])}n=n.replace(r,"");for(var i=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,a=new RegExp("((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})","gi");;){var s=i.exec(n);if(null===s){if(null===(s=a.exec(n)))break;i.lastIndex=a.lastIndex}else a.lastIndex=i.lastIndex;t.push(s[0])}return t}function H9(e,t){return $9.apply(this,arguments)}function $9(){return $9=(0,Hs.Z)((0,Zs.Z)().mark((function e(t,n){var r,o;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=[],o=[],t.forEach((function(e){if("cssRules"in e)try{S8(e.cssRules||[]).forEach((function(t,r){if(t.type===CSSRule.IMPORT_RULE){var i=r+1,a=I9(t.href).then((function(e){return F9(e,n)})).then((function(t){return Z9(t).forEach((function(t){try{e.insertRule(t,t.startsWith("@import")?i+=1:e.cssRules.length)}catch(n){console.error("Error inserting rule from remote css",{rule:t,error:n})}}))})).catch((function(e){console.error("Error loading remote css",e.toString())}));o.push(a)}}))}catch(AE){var r=t.find((function(e){return null==e.href}))||document.styleSheets[0];null!=e.href&&o.push(I9(e.href).then((function(e){return F9(e,n)})).then((function(t){return Z9(t).forEach((function(t){r.insertRule(t,e.cssRules.length)}))})).catch((function(e){console.error("Error loading remote stylesheet",e)}))),console.error("Error inlining remote css file",AE)}})),e.abrupt("return",Promise.all(o).then((function(){return t.forEach((function(e){if("cssRules"in e)try{S8(e.cssRules||[]).forEach((function(e){r.push(e)}))}catch(AE){console.error("Error while reading CSS rules from ".concat(e.href),AE)}})),r})));case 4:case"end":return e.stop()}}),e)}))),$9.apply(this,arguments)}function V9(e){return e.filter((function(e){return e.type===CSSRule.FONT_FACE_RULE})).filter((function(e){return x9(e.style.getPropertyValue("src"))}))}function X9(e,t){return Q9.apply(this,arguments)}function Q9(){return(Q9=(0,Hs.Z)((0,Zs.Z)().mark((function e(t,n){var r,o;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=t.ownerDocument){e.next=2;break}throw new Error("Provided element is not within a Document");case 2:return r=S8(t.ownerDocument.styleSheets),e.next=5,H9(r,n);case 5:return o=e.sent,e.abrupt("return",V9(o));case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Y9(e,t){return G9.apply(this,arguments)}function G9(){return(G9=(0,Hs.Z)((0,Zs.Z)().mark((function e(t,n){var r,o;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,X9(t,n);case 2:return r=e.sent,e.next=5,Promise.all(r.map((function(e){var t=e.parentStyleSheet?e.parentStyleSheet.href:null;return w9(e.cssText,t,n)})));case 5:return o=e.sent,e.abrupt("return",o.join("\n"));case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function K9(e,t){return J9.apply(this,arguments)}function J9(){return(J9=(0,Hs.Z)((0,Zs.Z)().mark((function e(t,n){var r,o,i;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null==n.fontEmbedCSS){e.next=4;break}e.t0=n.fontEmbedCSS,e.next=12;break;case 4:if(!n.skipFonts){e.next=8;break}e.t1=null,e.next=11;break;case 8:return e.next=10,Y9(t,n);case 10:e.t1=e.sent;case 11:e.t0=e.t1;case 12:(r=e.t0)&&(o=document.createElement("style"),i=document.createTextNode(r),o.appendChild(i),t.firstChild?t.insertBefore(o,t.firstChild):t.appendChild(o));case 14:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function e7(e){return t7.apply(this,arguments)}function t7(){return t7=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,r,o,i,a,s,l=arguments;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=k8(t,n=l.length>1&&void 0!==l[1]?l[1]:{}),o=r.width,i=r.height,e.next=4,b9(t,n,!0);case 4:return a=e.sent,e.next=7,K9(a,n);case 7:return e.next=9,L9(a,n);case 9:return q9(a,n),e.next=12,R8(a,o,i);case 12:return s=e.sent,e.abrupt("return",s);case 14:case"end":return e.stop()}}),e)}))),t7.apply(this,arguments)}function n7(e){return r7.apply(this,arguments)}function r7(){return r7=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,r,o,i,a,s,l,c,u,d,p,f=arguments;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=k8(t,n=f.length>1&&void 0!==f[1]?f[1]:{}),o=r.width,i=r.height,e.next=4,e7(t,n);case 4:return a=e.sent,e.next=7,j8(a);case 7:return s=e.sent,l=document.createElement("canvas"),c=l.getContext("2d"),u=n.pixelRatio||D8(),d=n.canvasWidth||o,p=n.canvasHeight||i,l.width=d*u,l.height=p*u,n.skipAutoScale||T8(l),l.style.width="".concat(d),l.style.height="".concat(p),n.backgroundColor&&(c.fillStyle=n.backgroundColor,c.fillRect(0,0,l.width,l.height)),c.drawImage(s,0,0,l.width,l.height),e.abrupt("return",l);case 21:case"end":return e.stop()}}),e)}))),r7.apply(this,arguments)}var o7,i7,a7,s7,l7=[],c7=[],u7=.3,d7="jpeg",p7=.98,f7=[.5,.5],h7=8.5,b7=11,A7=f7[0],m7=new Set,g7=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,r,o;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0!==t){e.next=2;break}return e.abrupt("return");case 2:if(m7.add(t),5!==m7.size||y7){e.next=15;break}y7=!0,r=(0,Zs.Z)().mark((function e(t){var r,o;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r="section".concat(t),(o=document.getElementById(r))?((n=n7(o,{})).then((function(e){l7[t-1]=e})).catch((function(e){l7[t-1]=null,console.error('Error rendering canvas for ID "'.concat(r,'":'),e)})),c7.push(n)):(console.error('Cannot find "'.concat(r,'":')),l7[t-1]=null);case 3:case"end":return e.stop()}}),e)})),o=1;case 7:if(!(o<=s7)){e.next=12;break}return e.delegateYield(r(o),"t0",9);case 9:o++,e.next=7;break;case 12:return e.next=14,Promise.all(c7);case 14:O7();case 15:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),v7=function(e,t,n,r){var o=Math.floor(e*(r/n));return{pxPageHeight:o,nPages:Math.ceil(t/o)}},y7=!1,M7=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t,n,r,o,i,a,s,l,c,u,d;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(t=1,n=f7[0],r=0,o=l7;r<o.length;r++)(i=o[r])&&i.height>0&&(a=0,s=v7(i.width,i.height,h7,b7),l=s.pxPageHeight,c=s.nPages,u=h7-2*f7[0],d=b7-2*f7[1],a===c-1&&i.height%l!==0&&(d=i.height*u/i.width),(a>0||i!==l7[0])&&n+d+u7>b7&&(a++,t++,n=f7[0]),n+=d+u7);return n+2*i7.length*.5>b7&&t++,e.abrupt("return",t);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),O7=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t,n,r,o,i,a,s,l,c,u,d,p,f,h,b,A,m,g;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(t=new x8.default("p","in",[h7,b7])).setFont("helvetica","normal"),t.setFontSize(8),e.next=5,M7();case 5:for(n=e.sent,A7=f7[0],r=1,o=0,i=l7;o<i.length;o++)(a=i[o])&&a.height>0&&(s=0,l=v7(a.width,a.height,h7,b7),c=l.pxPageHeight,u=l.nPages,d=h7-2*f7[0],p=b7-2*f7[1],(f=document.createElement("canvas")).width=a.width,a.height/90,h=f.getContext("2d"),s===u-1&&a.height%c!==0?(f.height=a.height%c,p=f.height*d/f.width):f.height=c,h.fillStyle="white",h.fillRect(0,0,f.width,f.height),h.drawImage(a,0,0,f.width,f.height,0,0,f.width,f.height),(s>0||a!==l7[0])&&A7+p+u7>b7&&(t.text(a7,.2,10.8),t.text("".concat(r,"/").concat(n),8.1,10.8),t.addPage(),s++,r++,A7=f7[0]),b=f.toDataURL("image/".concat(d7),p7),t.addImage(b,d7,f7[1],A7,d,p),A7+=p+u7);if(t.text(a7,.2,10.8),t.text("".concat(r,"/").concat(n),8.1,10.8),!(i7&&i7.length>0)){e.next=24;break}if(!(A=document.getElementById("documentSVG"))){e.next=24;break}return e.next=16,n7(A);case 16:m=e.sent,g=b7-A7,.5*i7.length*2>g&&(t.addPage(),r++,t.text(a7,.2,10.8),t.text("".concat(r,"/").concat(n),8.1,10.8),A7=f7[0]),t.setFontSize(12),t.setFont("helvetica","bold"),t.text("Documents",f7[1],A7),t.setFont("helvetica","normal"),i7.forEach((function(e,n){t.addImage(m,"PNG",f7[1],A7+.2+2*n*.4+.315,.2,.2),t.text(e.name,f7[1]+.2,A7+.2+2*n*.4+.5),t.textWithLink("".concat(window.location.origin).concat(e.link),f7[1],A7+.2+.4*(2*n+1)+.5,{url:"".concat(window.location.origin).concat(e.link)})}));case 24:t.save("".concat(o7,".pdf")),window.close();case 26:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();var _7={header:"overview_header__wfwfv",title:"overview_title__gD2FL",overviewContent:"overview_overviewContent__kVR90",overviewContainer:"overview_overviewContainer__XLm1J",itemContainer:"overview_itemContainer__QqoOw",overviewConsultation:"overview_overviewConsultation__I67+u",diagnosesContainer:"overview_diagnosesContainer__trWY7",concernsContainer:"overview_concernsContainer__OH+oH"},z7={usedPhotos:"photos_usedPhotos__gZgrH",title:"photos_title__MbFKe",container:"photos_container__-gcXm",header:"photos_header__dRJZ0",types:"photos_types__TtWQd",type:"photos_type__Bgk97",images:"photos_images__z-y1a",compareContainer:"photos_compareContainer__HXqyr",compare:"photos_compare__xN8jI",photoViewer:"photos_photoViewer__S01lK",imageContainer:"photos_imageContainer__blrPp",page2Content:"photos_page2Content__XmIcJ",page3Content:"photos_page3Content__XNp+K"},x7="selector_container__7fIWW",w7={container:"gallery_container__EPkj1",images:"gallery_images__TQVcT",imageContainer:"gallery_imageContainer__bg3l3",image:"gallery_image__hTKrs",noImageContainer:"gallery_noImageContainer__i69Kf",noImage:"gallery_noImage__b1-dj"},C7=function(e){return fetch(e).then((function(e){if(!e.ok)throw new Error("Network response was not ok");return e.blob()})).then((function(e){return new Promise((function(t,n){var r=new FileReader;r.onloadend=function(){return t(r.result)},r.onerror=n,r.readAsDataURL(e)}))}))},S7=function(t){var r=t.images,o=t.title,i=t.customGalleryClass,a=t.id,s=(0,e.useState)([]),l=(0,n.Z)(s,2),c=l[0],u=l[1];return(0,e.useEffect)((function(){if((null===r||void 0===r?void 0:r.length)>0){var e=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t,n;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t=r.map(function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!==t&&void 0!==t&&t.url){e.next=2;break}return e.abrupt("return",t);case 2:return e.prev=2,e.next=5,C7(t.url);case 5:return n=e.sent,e.abrupt("return",Us(Us({},t),{},{url:n}));case 9:return e.prev=9,e.t0=e.catch(2),console.error("Error converting image to base64:",e.t0),e.abrupt("return",t);case 13:case"end":return e.stop()}}),e,null,[[2,9]])})));return function(t){return e.apply(this,arguments)}}()),e.next=4,Promise.all(t);case 4:n=e.sent,u(n),setTimeout((function(){return g7(o)}),500),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),console.error("Error processing images:",e.t0);case 12:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(){return e.apply(this,arguments)}}();e()}else g7(o)}),[r]),(0,Kl.jsx)("div",{className:w7.container,id:a,children:c.length>0&&(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)("div",{className:w7.header,children:(0,Kl.jsx)(kl.Z,{className:w7.title,children:o})}),(0,Kl.jsx)("div",{className:i?"".concat(w7.images," ").concat(w7[i]):w7.images,children:c.map((function(e,t){return(0,Kl.jsx)("div",{className:w7.imageContainer,children:(0,Kl.jsx)("img",{style:{height:"190px"},className:w7.image,src:null===e||void 0===e?void 0:e.url,alt:"image_".concat(o,"_").concat(t)})},"image_mini_".concat(o,"_").concat(t))}))})]})})},E7=function(t){var r=t.beforeImages,o=t.afterImages,i=t.beforeTitle,a=t.recordImages,s=t.setRecord,l=t.setType,c=(0,e.useState)(0),u=(0,n.Z)(c,2);u[0],u[1];return(0,Kl.jsxs)("div",{className:x7,children:[(0,Kl.jsx)(S7,{images:r,title:i,customGalleryClass:"beforeImageGallery",id:"section9"}),(0,Kl.jsx)(S7,{images:o,title:"After Gallery",customGalleryClass:"afterImageGallery",id:"section10"}),(0,Kl.jsx)(S7,{images:a,setImage:s,title:"Record Gallery",setType:l,id:"section11"})]})},k7=function(t){var n=t.procedures;return(0,Kl.jsxs)("div",{className:z7.usedPhotos,id:"section13",children:[(0,Kl.jsx)("div",{children:(0,Kl.jsx)(kl.Z,{className:z7.title,children:"Procedures"})}),(0,Kl.jsx)("div",{children:n.length>0?(0,Kl.jsx)(G4,{component:Kd.Z,children:(0,Kl.jsxs)(t5,{className:z7.table,"aria-label":"simple table",children:[(0,Kl.jsx)(a5,{children:(0,Kl.jsxs)(l5,{children:[(0,Kl.jsx)(c5.Z,{style:{fontWeight:700},children:"Title"}),(0,Kl.jsx)(c5.Z,{style:{fontWeight:700},align:"right",children:"Lot Number"}),(0,Kl.jsx)(c5.Z,{style:{fontWeight:700},align:"right",children:"Expiration Date"}),(0,Kl.jsx)(c5.Z,{style:{fontWeight:700},align:"right",children:"Technique"}),(0,Kl.jsx)(c5.Z,{style:{fontWeight:700},align:"right",children:"Amount"})]})}),(0,Kl.jsx)(f5,{children:n.map((function(t,n){var r;return!t.isOriginal&&(0,Kl.jsx)(e.Fragment,{children:null===(r=t.tools)||void 0===r?void 0:r.tools.map((function(e,t){var r,o,i,a;return(0,Kl.jsxs)(l5,{children:[(0,Kl.jsx)(c5.Z,{component:"th",scope:"row",children:null===(r=e.productBrand)||void 0===r?void 0:r.title}),(0,Kl.jsx)(c5.Z,{align:"right",children:null!==(o=e.lot_number)&&void 0!==o?o:"no data"}),(0,Kl.jsx)(c5.Z,{align:"right",children:Vs()(e.expiration_date).isValid()?Vs()(e.expiration_date).format("DD/MM/YYYY"):"no data"}),(0,Kl.jsx)(c5.Z,{align:"right",children:null===(i=e.techniques[0])||void 0===i?void 0:i.name}),(0,Kl.jsxs)(c5.Z,{align:"right",children:[e.totalAmount," ",null===(a=e.productMeasurement)||void 0===a?void 0:a.slug,"(s)"]})]},"".concat(n,"-").concat(t))}))},n)}))})]})}):(0,Kl.jsx)("p",{style:{fontSize:16,textAlign:"center"},children:"No procedures logged"})})]})},D7=$l((function(t){var r=t.productImages,o=(0,e.useState)([]),i=(0,n.Z)(o,2),a=i[0],s=i[1];return(0,e.useEffect)((function(){var e=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all(r.map(function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,C7(t.url);case 2:return n=e.sent,e.abrupt("return",Us(Us({},t),{},{base64:n}));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 2:t=e.sent,s(t),g7("Used Prodcuts");case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();r&&(r.length>0?e():g7("Used Prodcuts"))}),[r]),(0,Kl.jsx)("div",{children:a.length>0?(0,Kl.jsxs)("div",{className:z7.usedPhotos,id:"section12",children:[(0,Kl.jsx)("div",{children:(0,Kl.jsx)(kl.Z,{className:z7.title,children:"Used Product Photos"})}),(0,Kl.jsx)("div",{style:{display:"inline-flex",width:"100%",overflow:"auto",flexWrap:"wrap"},children:a.map((function(e,t){var n;return(0,Kl.jsx)("div",{style:{display:"flex",marginRight:10,alignItems:"center",justifyContent:"center",height:190,border:"1px solid #EAE9E9",position:"relative"},children:(0,Kl.jsxs)("div",{style:{cursor:"pointer"},children:[(0,Kl.jsx)("img",{style:{height:190},src:e.base64,alt:"product-image"}),(null===e||void 0===e||null===(n=e.brandName)||void 0===n?void 0:n.length)>0&&(0,Kl.jsx)("span",{style:{position:"absolute",fontSize:"10px",bottom:0,padding:"3px 3px",background:"rgba(0,0,0,0.4)",color:"#fff",left:0,right:0,display:"block",maxWidth:"100%",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:e.brandName})]})},t)}))})]}):null})})),N7=D7,T7=$l((function(t){var o=t.procedures,i=(0,e.useState)(!0),a=(0,n.Z)(i,2),s=a[0],l=a[1],c=me(),u=(0,e.useState)(0),d=(0,n.Z)(u,2),p=d[0],f=d[1],h=(0,e.useState)(0),b=(0,n.Z)(h,2),A=b[0],m=b[1],g=(0,e.useState)(0),v=(0,n.Z)(g,2),y=v[0],M=v[1],O=(0,e.useState)(0),_=(0,n.Z)(O,2),z=_[0],x=_[1],w=(0,e.useState)(0),C=(0,n.Z)(w,2),S=C[0],E=C[1];(0,e.useEffect)((function(){k("before",f),k("after",m),k("record",M),D()}),[]);var k=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t,n){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get("/v1/appointment/".concat(c.appointmentId,"/record?type=").concat(t)).then((function(e){var t;n(null===e||void 0===e||null===(t=e.data)||void 0===t?void 0:t.data.filter((function(e){return!e.url.includes("/default/")}))),l(!1),E((function(e){return e+1}))}));case 2:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),D=function(){Re.get("/v1/patient-record/images/".concat(c.appointmentId),{headers:{"Content-Type":"multipart/form-data"}}).then((function(e){x(z?[].concat((0,r.Z)(z),(0,r.Z)(e.data.urls)):e.data.urls),E((function(e){return e+1}))})).catch((function(e){console.log(e)}))};return(0,Kl.jsx)("div",{className:z7.container,children:(0,Kl.jsxs)("div",{className:z7.page2Content,children:[4===S?(0,Kl.jsx)(E7,{beforeImages:p,afterImages:A,title:"Select comparison photos",beforeTitle:"Before Gallery",loading:s,recordImages:y}):(0,Kl.jsx)(Kl.Fragment,{}),4===S?(0,Kl.jsx)(N7,{productImages:z}):(0,Kl.jsx)(Kl.Fragment,{}),o.length>0&&o.filter((function(e){var t;return!e.isOriginal&&(null===(t=e.tools.tools)||void 0===t?void 0:t.tools)})).length>0?(0,Kl.jsx)(k7,{procedures:o}):(0,Kl.jsx)(Kl.Fragment,{})]})})})),j7=T7,B7={headerContainer:"header_headerContainer__bdrg5",header:"header_header__N86K2",logo:"header_logo__YVX7H",title:"header_title__mG78X",content:"header_content__gaYSe",fullWidth:"header_fullWidth__noOae",flexContainer:"header_flexContainer__pDfoD",section:"header_section__001mH",sectionWrapper:"header_sectionWrapper__uF-nt",text:"header_text__8L0Sf"},L7=$l((function(t){var r,o,i,a,s,l,c,u,d,p,f,h=(0,e.useContext)(bA),b=(0,e.useState)(h.clinic.logoUrl||zp),A=(0,n.Z)(b,2),m=(A[0],A[1]),g=(0,e.useState)(),v=(0,n.Z)(g,2),y=v[0],M=v[1],O=Fc(),_=O.appointment,z=O.appointmentDoctor,x=_.doctor.id;return(0,e.useEffect)((function(){var e=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(0===x){e.next=3;break}return e.next=3,Re.get("/v1/staff/".concat(x)).then((function(e){var t=e.data;null!==t&&void 0!==t&&t.data&&M(t.data)}));case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}),[x]),(0,e.useEffect)((function(){m(h.clinic.logoUrl||zp)}),[h.clinic.logoUrl]),(0,e.useEffect)((function(){t&&y&&g7("header")}),[t,y]),(0,Kl.jsxs)("div",{className:B7.headerContainer,id:"section1",children:[(0,Kl.jsx)(Kd.Z,{elevation:0,className:B7.header,children:(0,Kl.jsx)(kl.Z,{variant:"h4",className:B7.title,children:"Treatment Overview"})}),(0,Kl.jsxs)("div",{className:B7.content,children:[(0,Kl.jsxs)("div",{className:B7.flexContainer,children:[(0,Kl.jsxs)(Kd.Z,{elevation:0,className:"".concat(B7.section," ").concat(B7.sectionWrapper),children:[(0,Kl.jsx)(kl.Z,{variant:"h6",className:B7.sectionTitle,children:"Clinic Information"}),(0,Kl.jsxs)(kl.Z,{className:B7.text,children:[(0,Kl.jsx)("strong",{children:"Address:"})," ",h.clinic.address]}),(0,Kl.jsxs)(kl.Z,{className:B7.text,children:[(0,Kl.jsx)("strong",{children:"Name:"})," ",h.clinic.name]}),(0,Kl.jsxs)(kl.Z,{className:B7.text,children:[(0,Kl.jsx)("strong",{children:"Email:"})," ",h.clinic.email]})]}),(0,Kl.jsxs)(Kd.Z,{elevation:0,className:"".concat(B7.section," ").concat(B7.sectionWrapper),children:[(0,Kl.jsxs)("div",{className:B7.flexContainer,children:[(0,Kl.jsx)(kl.Z,{variant:"h6",className:B7.sectionTitle,children:"Appointment Services"}),(0,Kl.jsx)(kl.Z,{variant:"body1",children:null===_||void 0===_||null===(r=_.patient)||void 0===r||null===(o=r.lastVisited)||void 0===o?void 0:o.date})]}),null!==z&&void 0!==z&&null!==(i=z.payment)&&void 0!==i&&i.items?null===z||void 0===z||null===(a=z.payment)||void 0===a?void 0:a.items.map((function(e,t){return(0,Kl.jsx)(kl.Z,{variant:"body1",children:e.name},t)})):(0,Kl.jsx)(Kl.Fragment,{})]})]}),(0,Kl.jsxs)("div",{className:B7.flexContainer,children:[(0,Kl.jsxs)(Kd.Z,{elevation:0,className:"".concat(B7.section," ").concat(B7.sectionWrapper),children:[(0,Kl.jsx)(kl.Z,{variant:"h6",className:B7.sectionTitle,children:"Patient Information"}),(0,Kl.jsxs)(kl.Z,{className:B7.text,children:[(0,Kl.jsx)("strong",{children:"ID:"})," ",null===_||void 0===_||null===(s=_.patient)||void 0===s?void 0:s.id]}),(0,Kl.jsxs)(kl.Z,{className:B7.text,children:[(0,Kl.jsx)("strong",{children:"Name:"})," ",null===_||void 0===_||null===(l=_.patient)||void 0===l?void 0:l.name]}),(0,Kl.jsxs)(kl.Z,{className:B7.text,children:[(0,Kl.jsx)("strong",{children:"Email:"})," ",null===_||void 0===_||null===(c=_.patient)||void 0===c?void 0:c.email]}),(0,Kl.jsxs)(kl.Z,{className:B7.text,children:[(0,Kl.jsx)("strong",{children:"Phone:"})," ",null===_||void 0===_||null===(u=_.patient)||void 0===u?void 0:u.phone]})]}),(0,Kl.jsxs)(Kd.Z,{elevation:0,className:"".concat(B7.section," ").concat(B7.sectionWrapper),children:[(0,Kl.jsx)(kl.Z,{variant:"h6",className:B7.sectionTitle,children:"Practitioner Information"}),(0,Kl.jsxs)(kl.Z,{className:B7.text,children:[(0,Kl.jsx)("strong",{children:"ID:"})," ",null===y||void 0===y?void 0:y.id]}),(0,Kl.jsxs)(kl.Z,{className:B7.text,children:[(0,Kl.jsx)("strong",{children:"Role:"})," ",null===_||void 0===_||null===(d=_.doctor)||void 0===d?void 0:d.role]}),(0,Kl.jsxs)(kl.Z,{className:B7.text,children:[(0,Kl.jsx)("strong",{children:"Full Name:"})," ",null===y||void 0===y?void 0:y.fullName]}),(0,Kl.jsxs)(kl.Z,{className:B7.text,children:[(0,Kl.jsx)("strong",{children:"Email:"})," ",null===y||void 0===y||null===(p=y.user)||void 0===p?void 0:p.email]}),(0,Kl.jsxs)(kl.Z,{className:B7.text,children:[(0,Kl.jsx)("strong",{children:"Phone:"})," ",null===y||void 0===y||null===(f=y.user)||void 0===f?void 0:f.phone]})]})]})]})]})})),R7=L7,q7=$l((function(e){var t=e.title,n=e.note,r=e.id,o=e.date,i=o?Vs()(o).format("YYYY-MM-DD HH:mm:ss"):"";return(0,Kl.jsxs)("div",{className:_7.itemContainer,style:{padding:"16px 16px 30px 16px"},id:r,children:[(0,Kl.jsxs)("div",{className:_7.header,children:[(0,Kl.jsx)(kl.Z,{className:_7.title,children:t}),(0,Kl.jsx)(kl.Z,{className:_7.date,children:i})]}),(0,Kl.jsx)("span",{children:n})]})})),P7=q7,I7=$l((function(t){var o,i,a,s,l,c,u,d,p;!function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t);var f=(0,e.useState)(!1),h=(0,n.Z)(f,2),b=h[0],A=h[1],m=(0,e.useState)(),g=(0,n.Z)(m,2),v=g[0],y=g[1],M=(0,e.useState)(),O=(0,n.Z)(M,2),_=O[0],z=O[1],x=me(),w=["record","before","after"],C=(0,e.useState)([]),S=(0,n.Z)(C,2),E=S[0],k=S[1],D=(0,e.useState)(null),N=(0,n.Z)(D,2),T=N[0],j=N[1],B=(0,e.useState)(!1),L=(0,n.Z)(B,2),R=L[0],q=L[1];return(0,e.useEffect)((function(){var e=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Re.get("/v1/appointment/".concat(null===x||void 0===x?void 0:x.appointmentId,"/treatment-notes")).then((function(e){var t={};e.data.data.forEach((function(e){return t[e.stage]={note:e.note,lastUpdated:e.lastUpdated}})),y(t)}));case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),t=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get("/v1/appointment/".concat(null===x||void 0===x?void 0:x.appointmentId,"/consultation")).then((function(e){var t=e.data;null!==t&&void 0!==t&&t.data&&z(null===t||void 0===t?void 0:t.data)}));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e(),t()}),[]),(0,e.useEffect)((function(){var e=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t,n,o;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=T?"".concat(T,"&type=record"):"/v1/appointment/".concat(x.appointmentId,"/record?type=record"),e.next=3,Re.get(t);case 3:if(n=e.sent,(o=n.data).data.length&&(!o.links.prev||o.links.next)&&(o.links.prev||o.links.next||R!==o.links.prev)){e.next=7;break}return e.abrupt("return",!1);case 7:q(o.links.prev),j(o.links.next),E.push.apply(E,(0,r.Z)(o.data.map((function(e){return Us(Us({},e),{},{name:CK(),canvasHistory:{state:[],nextState:null,defaultState:null},canvasInstance:null,tools:{tools:null===e||void 0===e?void 0:e.tools.map((function(e){var t,n,r;return Us(Us({},e),{},{brand:Us(Us({},e.productBrand),{},{instruments:[null===e||void 0===e?void 0:e.productInstrument]}),techniques:null===e||void 0===e||null===(t=e.techniques)||void 0===t?void 0:t.map((function(e){return e})),instrument:null===e||void 0===e||null===(n=e.productInstrument)||void 0===n?void 0:n.id,measurement:null===e||void 0===e||null===(r=e.productMeasurement)||void 0===r?void 0:r.id})})),currentTool:null}})})))),k((0,r.Z)(E)),A(!0);case 12:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}),[]),(0,Kl.jsxs)("div",{className:_7.overviewConsultation,children:[(0,Kl.jsxs)("div",{id:"page1",className:_7.overviewContent,children:[(0,Kl.jsx)(R7,{appointmentLoading:b}),null!==_&&void 0!==_&&_.concerns?(0,Kl.jsx)("div",{id:"section2",className:_7.concernsContainer,children:(0,Kl.jsx)(Q3,{concerns:null===_||void 0===_?void 0:_.concerns})}):(0,Kl.jsx)(Kl.Fragment,{}),null!==_&&void 0!==_&&_.scaling_tools?(0,Kl.jsx)("div",{id:"section3",className:_7.scalingToolsContainer,children:(0,Kl.jsx)(a4,{scales:null===_||void 0===_?void 0:_.scaling_tools})}):(0,Kl.jsx)(Kl.Fragment,{}),null!==_&&void 0!==_&&_.diagnoses?(0,Kl.jsx)("div",{id:"section4",className:_7.diagnosesContainer,children:(0,Kl.jsx)(b4,{diagnoses:null===_||void 0===_?void 0:_.diagnoses})}):(0,Kl.jsx)(Kl.Fragment,{}),null!==_&&void 0!==_&&_.note?(0,Kl.jsx)(P7,{note:null===_||void 0===_?void 0:_.note,title:"Consultation Notes",id:"section5",date:null===_||void 0===_?void 0:_.note_updated_at}):(0,Kl.jsx)(Kl.Fragment,{}),null!==v&&void 0!==v&&null!==(o=v[w[0]])&&void 0!==o&&o.note?(0,Kl.jsx)(P7,{note:null===v||void 0===v||null===(i=v[w[0]])||void 0===i?void 0:i.note,title:"Treatment Notes Record",id:"section6",date:null===v||void 0===v||null===(a=v[w[0]])||void 0===a?void 0:a.lastUpdated}):(0,Kl.jsx)(Kl.Fragment,{}),null!==v&&void 0!==v&&null!==(s=v[w[1]])&&void 0!==s&&s.note?(0,Kl.jsx)(P7,{note:null===v||void 0===v||null===(l=v[w[1]])||void 0===l?void 0:l.note,title:"Treatment Notes Before",id:"section7",date:null===v||void 0===v||null===(c=v[w[1]])||void 0===c?void 0:c.lastUpdated}):(0,Kl.jsx)(Kl.Fragment,{}),null!==v&&void 0!==v&&null!==(u=v[w[2]])&&void 0!==u&&u.note?(0,Kl.jsx)(P7,{note:null===v||void 0===v||null===(d=v[w[2]])||void 0===d?void 0:d.note,title:"Treatment Notes After",id:"section8",date:null===v||void 0===v||null===(p=v[w[2]])||void 0===p?void 0:p.lastUpdated}):(0,Kl.jsx)(Kl.Fragment,{})]}),(0,Kl.jsx)(j7,{procedures:E}),(0,Kl.jsx)("div",{id:"documentSVG",children:(0,Kl.jsx)("svg",{className:"MuiSvgIcon-root",focusable:"false",viewBox:"0 0 24 24","aria-hidden":"true",children:(0,Kl.jsx)("path",{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z"})})})]})})),W7=I7,F7=$l((function(){var t=me().appointmentId,n=Fc(),o=n.appointment,i=n.appointmentDoctor;s7=14;var a=(0,e.useMemo)((function(){if(null!==o&&void 0!==o&&o.id)return Vs()(null===o||void 0===o?void 0:o.startDate).format("DD.MM.YYYY")}),[null===o||void 0===o?void 0:o.id,null===o||void 0===o?void 0:o.startDate]),s=(0,e.useRef)(null);(0,e.useEffect)((function(){Re.get("/v1/appointment/".concat(t)).then((function(e){var t=e.data;o.init(t.data)}))}),[]),(0,e.useEffect)((function(){var e,n;t||(null===i||void 0===i||null===(n=i.payment)||void 0===n||n.clear());null!==i&&void 0!==i&&null!==(e=i.payment)&&void 0!==e&&e.exists||!t||Re.get("/v1/appointment/".concat(t,"/payment")).then((function(e){i.payment.init(e.data.data)}))}),[]);var l=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(n){var i,s,l,c,u,d,p;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Re.get("/v1/appointment/".concat(t,"/consent-forms"));case 3:return l=e.sent,c=l.data.data.map((function(e){var n,r;return{name:null===e||void 0===e||null===(n=e.consentForm)||void 0===n?void 0:n.name,link:"/doctor-appointment/".concat(t,"/consent#consent-").concat(null===e||void 0===e||null===(r=e.consentForm)||void 0===r?void 0:r.id)}})),e.next=7,Re.get("/v1/appointment/".concat(t,"/prescriptions"));case 7:u=e.sent,d=u.data.data.map((function(e){return{name:"Prescription #".concat(null===e||void 0===e?void 0:e.id),link:"/doctor-appointment/".concat(t,"/prescription#prescriptionId-").concat(null===e||void 0===e?void 0:e.id)}})),p=[].concat((0,r.Z)(c),(0,r.Z)(d)),n="appointment-".concat(t),f=p,h="".concat(a," ").concat(null===o||void 0===o||null===(i=o.patient)||void 0===i?void 0:i.id," ").concat(null===o||void 0===o||null===(s=o.patient)||void 0===s?void 0:s.name),o7=n,i7=f,a7=h,e.next=16;break;case 13:e.prev=13,e.t0=e.catch(0),console.error("Error fetching data:",e.t0);case 16:case"end":return e.stop()}var n,f,h}),e,null,[[0,13]])})));return function(t){return e.apply(this,arguments)}}();return(0,e.useEffect)((function(){l()}),[a,o]),(0,Kl.jsxs)("div",{className:z8.container,children:[(0,Kl.jsxs)("div",{className:z8.statusBar,children:[(0,Kl.jsx)("div",{className:z8.preloader}),(0,Kl.jsx)("span",{children:"We are building your PDF, please wait a bit..."})]}),(0,Kl.jsx)("div",{className:z8.overviewContainer,ref:s,children:(0,Kl.jsx)(W7,{})})]})})),U7=F7,Z7=__webpack_require__(71807),H7=e.forwardRef((function(t,r){var o=t.actions,i=t.children,a=t.name,s=t.value,l=t.onChange,c=(0,Uu.Z)(t,["actions","children","name","value","onChange"]),u=e.useRef(null),d=(0,lG.Z)({controlled:s,default:t.defaultValue,name:"RadioGroup"}),p=(0,n.Z)(d,2),f=p[0],h=p[1];e.useImperativeHandle(o,(function(){return{focus:function(){var e=u.current.querySelector("input:not(:disabled):checked");e||(e=u.current.querySelector("input:not(:disabled)")),e&&e.focus()}}}),[]);var b=(0,Id.Z)(r,u),A=(0,F5.Z)(a);return e.createElement(JK.Provider,{value:{name:A,onChange:function(e){h(e.target.value),l&&l(e,e.target.value)},value:f}},e.createElement(HW,(0,Fu.Z)({role:"radiogroup",ref:b},c),i))})),$7="medicalHistory_medicalHistory__RzCP3",V7="medicalHistory_editPatient__c2v5t",X7="medicalHistory_patientNameContainer__1qxLW",Q7="medicalHistory_answers__iR2Dj",Y7="medicalHistory_medicalHistoryTitleContainer__-3Mjn",G7="medicalHistory_logo__Sd4Mi",K7="medicalHistory_submitButton__3uIeO",J7="medicalHistory_fieldSet__LuAEW",eee="medicalHistory_completed__8VvGg",tee="medicalHistory_errorText__DA5MX",nee=/^[a-zA-Z0-9 -]*$/gi,ree=[{name:"firstName",type:"text",label:"First Name"},{name:"lastName",type:"text",label:"Last Name"},{name:"phone",type:"phoneField",label:"Phone"},{name:"dob",type:"date",label:"DOB"},{name:"city",type:"text",label:"City"},{name:"address",type:"text",label:"Address"},{name:"zipCode",type:"string",label:"Post Code"},{name:"gpName",type:"text",label:"GP Name"},{name:"gpAddress",type:"text",label:"GP Address"}],oee=jk.object({firstName:jk.string("Enter patient first name").required("First name is required"),lastName:jk.string("Enter patient first name").required("First name is required"),email:jk.string("Enter email").email("Enter a valid email").required("Email is required"),phone:jk.string(),dob:jk.date("Enter patient date of birth").required("Date of birth is required"),city:jk.string("Enter city"),address:jk.string("Enter address"),zipCode:jk.string("Enter Post code").matches(nee,"Post code is not valid"),gpName:jk.string("Enter GP Name"),gpAddress:jk.string("Enter GP Address"),gender:jk.string("Choose gender").required().test("validGender","Gender is required",(function(e){return"0"!==e})),gdprAccepted:jk.boolean()}),iee=function(t){var o,i=t.foreignHash,a=t.submit,s=t.onComplete,l=t.patientData,c=Fc().appointment,u=fe(),d=(0,e.useState)(),p=(0,n.Z)(d,2),f=p[0],h=p[1],b=(0,e.useState)([]),A=(0,n.Z)(b,2),m=A[0],g=A[1],v=(0,e.useRef)(null),y=(0,e.useState)(!0),M=(0,n.Z)(y,2),O=M[0],_=M[1],z=hE().enqueueSnackbar,x=(0,e.useState)(void 0),w=(0,n.Z)(x,2),C=w[0],S=w[1],E=(0,e.useMemo)((function(){return u.search.replace("?hash=","")}),[u]),k=i||E;(0,e.useEffect)((function(){T(k)}),[k]);var D=(0,e.useState)([{id:0,name:"Choose gender"},{id:1,name:"Male"},{id:2,name:"Female"},{id:3,name:"Other"}]),N=(0,n.Z)(D,1)[0],T=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,r,o,i,a,c;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get(l?"/v1/patient/".concat(l.id,"/medical-history"):"/v1/medical-history?hash=".concat(t));case 2:a=e.sent,null!==(c=a.data)&&void 0!==c&&null!==(n=c.error)&&void 0!==n&&n.message&&(S(c.error.message),s&&s()),g(l?null===(r=c.data)||void 0===r?void 0:r.answers:null===(o=c.data)||void 0===o||null===(i=o.medicalHistory)||void 0===i?void 0:i.answers),h(l?Us(Us({},l),{},{medicalHistory:c.data}):c.data);case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),j=(0,e.useCallback)((function(e,t){var n,o=(0,r.Z)(m);o[e].result=JSON.parse(t),g(o),P(!0),null===v||void 0===v||null===(n=v.current)||void 0===n||n.clear()}),[f,v]),B=(0,e.useCallback)((function(e,t){var n,o=(0,r.Z)(m);o[e].description=t.target.value,g(o),P(!0),null===v||void 0===v||null===(n=v.current)||void 0===n||n.clear()}),[m,v]),L=(0,e.useCallback)((function(e){var t,n,r,o;return(0,Kl.jsx)(AC,{item:!0,xs:12,children:(0,Kl.jsxs)(AJ.Z,{component:"fieldset",className:J7,children:[(0,Kl.jsx)(Z7.Z,{component:"legend",children:null===(t=m[e])||void 0===t||null===(n=t.question)||void 0===n?void 0:n.text}),(0,Kl.jsxs)(H7,{value:null===(r=m[e])||void 0===r?void 0:r.result,onChange:function(t,n){return j(e,n)},row:!0,children:[(0,Kl.jsx)(oS.Z,{value:!0,control:(0,Kl.jsx)(rJ,{color:"primary"}),label:"Yes"}),(0,Kl.jsx)(oS.Z,{value:!1,control:(0,Kl.jsx)(rJ,{color:"primary"}),label:"No"})]}),(0,Kl.jsx)(Wu.Z,{fullWidth:!0,name:"Description",label:"Description",type:"text",value:null!==(o=m[e])&&void 0!==o&&o.description?m[e].description:"",onChange:function(t){return B(e,t)}})]})},"answer_".concat(e))}),[m,B,j]),R=(0,e.useCallback)((function(e){var t,n;if(null!==f&&void 0!==f&&null!==(t=f.medicalHistory)&&void 0!==t&&t.signUrl||null!==v&&void 0!==v&&v.current){var r=new FormData;r.append("user[lastName]",e.lastName),r.append("user[name]",e.firstName),r.append("user[phone]",e.phone),r.append("dateOfBirth",e.dob),r.append("city",e.city),r.append("address",e.address),r.append("zipCode",e.zipCode),r.append("gpName",e.gpName),r.append("gpAddress",e.gpAddress),r.append("gender",N.find((function(t){return(null===t||void 0===t?void 0:t.id)===e.gender})).name.toLowerCase()),m.forEach((function(e,t){var n;r.append("answers[".concat(t,"][id]"),null!==(n=e.id)&&void 0!==n?n:""),r.append("answers[".concat(t,"][questionId]"),e.questionId),r.append("answers[".concat(t,"][result]"),e.result?1:0),r.append("answers[".concat(t,"][description]"),e.description?e.description:"")})),r.append("_method","PUT");var o=null!==v&&void 0!==v&&v.current?v.current.toDataURL():null===f||void 0===f||null===(n=f.medicalHistory)||void 0===n?void 0:n.signUrl;fetch(o).then((function(e){return e.blob()})).then((function(e){var t=new File([e],"sign_".concat(null===f||void 0===f?void 0:f.id,".png"),{type:"image/png"});r.append("sign",t),q(r)}))}else z("Please sign Medical History form",{variant:"error"})}),[f,O]),q=(0,e.useCallback)((function(e){Re.post(l?"/v1/patient/".concat(l.id,"/medical-history"):"/v1/medical-history?hash=".concat(k),e,{headers:{"Content-Type":"multipart/form-data"}}).then((function(e){var t;e.data;_(!0),S("Successfully saved!"),null===c||void 0===c||null===(t=c.patient)||void 0===t||t.setMedicalHistoryCompleted(!0),s&&s()})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return z(e,{variant:"error"})}))}))}))}),[k,z,_,S,l]),P=function(e){h(Us(Us({},f),{},{medicalHistory:Us(Us({},null===f||void 0===f?void 0:f.medicalHistory),{},{signUrl:null})})),_(e)},I=Xj({enableReinitialize:!0,initialValues:(0,e.useMemo)((function(){var e,t,n,r,o,i,a,s,l,c,u,d,p,h,b;return{firstName:null!==(e=null===f||void 0===f?void 0:f.firstName)&&void 0!==e?e:"",lastName:null!==(t=null===f||void 0===f?void 0:f.lastName)&&void 0!==t?t:"",email:null!==(n=null===f||void 0===f||null===(r=f.user)||void 0===r?void 0:r.email)&&void 0!==n?n:"",phone:null!==(o=null===f||void 0===f?void 0:f.phone)&&void 0!==o?o:"",dob:null!==(i=null===f||void 0===f?void 0:f.dateOfBirth)&&void 0!==i?i:"",city:null!==(a=null===f||void 0===f?void 0:f.city)&&void 0!==a?a:"",address:null!==(s=null===f||void 0===f?void 0:f.address)&&void 0!==s?s:"",zipCode:null!==(l=null===f||void 0===f?void 0:f.zipCode)&&void 0!==l?l:"",gpName:null!==(c=null===f||void 0===f?void 0:f.gpName)&&void 0!==c?c:"",gpAddress:null!==(u=null===f||void 0===f?void 0:f.gpAddress)&&void 0!==u?u:"",isVip:null!==(d=null===f||void 0===f?void 0:f.isVip)&&void 0!==d&&d,note:null!==(p=null===f||void 0===f?void 0:f.note)&&void 0!==p?p:"",gender:null!==(h={Male:1,Female:2,Other:3}[null===f||void 0===f?void 0:f.gender])&&void 0!==h?h:0,gdprAccepted:null!==(b=null===f||void 0===f?void 0:f.gdprAccepted)&&void 0!==b&&b}}),[f]),validationSchema:oee,onSubmit:function(e){R(e)}});(0,e.useEffect)((function(){a<=0||I.submitForm()}),[a]);var W=(0,e.useCallback)((function(e,t,n,r){return(0,Kl.jsx)(AC,{item:!0,xs:12,sm:r?12:6,children:"phoneField"===t?(0,Kl.jsx)(_W,{name:e,placeholder:n,value:I.values[e],onChange:function(t){return I.setFieldValue(e,t)},error:I.touched[e]&&I.errors[e]?I.errors[e]:null,onBlur:I.handleBlur}):(0,Kl.jsx)(Wu.Z,{size:"small",variant:"outlined",fullWidth:!0,multiline:r||!1,minRows:4,id:e,name:e,label:n,type:t,value:I.values[e],onChange:I.handleChange,error:I.touched[e]&&Boolean(I.errors[e]),helperText:I.touched[e]&&I.errors[e]})},"input_".concat(e))}),[I]),F=(0,e.useMemo)((function(){return null===f||void 0===f?void 0:f.medicalHistoryCompleted}),[null===f||void 0===f?void 0:f.medicalHistoryCompleted]);return C?(0,Kl.jsx)("div",{className:eee,children:(0,Kl.jsx)(kl.Z,{children:C})}):f?(0,Kl.jsxs)("form",{onSubmit:I.handleSubmit,className:$7,children:[(0,Kl.jsx)("img",{src:zp,alt:"logo",className:G7}),(0,Kl.jsx)("div",{className:X7,children:(0,Kl.jsx)(kl.Z,{variant:"h5",component:"h3",children:"Patient Details"})}),(0,Kl.jsxs)(AC,{container:!0,spacing:3,className:V7,children:[ree.map((function(e){return W(e.name,e.type,e.label,e.multiline,e.select)})),(0,Kl.jsxs)(AC,{item:!0,xs:6,children:[(0,Kl.jsx)(Wu.Z,{select:!0,fullWidth:!0,value:I.values.gender,name:"gender",id:"gender",label:"Gender",variant:"outlined",size:"small",onChange:I.handleChange,error:I.touched.gender&&Boolean(I.errors.gender),children:null===N||void 0===N?void 0:N.map((function(e,t){return(0,Kl.jsx)(xd.Z,{value:e.id,children:e.name},"".concat(e.name,"_").concat(t))}))}),I.touched.gender&&I.errors.gender&&(0,Kl.jsx)("p",{className:tee,children:I.errors.gender})]},"input_gender}")]}),(0,Kl.jsx)("div",{className:Y7,children:(0,Kl.jsx)(kl.Z,{variant:"h5",component:"h3",children:"Medical History"})}),(0,Kl.jsx)(hS,{className:Q7,children:(0,Kl.jsx)(AS,{children:(0,Kl.jsxs)(AC,{container:!0,spacing:3,justifyContent:"center",children:[null===m||void 0===m?void 0:m.map((function(e,t){return L(t,e)})),(0,Kl.jsx)(m2,{title:"Patient Signature",ref:v,sign:null===f||void 0===f||null===(o=f.medicalHistory)||void 0===o?void 0:o.signUrl,active:F,isEmpty:O,setIsEmpty:P,empty:O}),void 0===a&&(0,Kl.jsx)("div",{className:K7,children:(0,Kl.jsx)(zd.Z,{color:"primary",variant:"contained",type:"submit",disabled:O,children:F?"Update":"Submit"})})]})})})]}):null},aee=$l((function(){var t=me().patientId,r=he(),o=fe(),i=(0,e.useState)(),a=(0,n.Z)(i,2),s=a[0],l=a[1];(0,e.useEffect)((function(){c(t)}),[t]);var c=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,r;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get("/v1/patient/".concat(t));case 2:n=e.sent,r=n.data,l(r.data);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),u=(0,e.useCallback)((function(){o.search.includes("fromAppointment")?r("/patients/".concat(t,"?fromAppointment")):r(-1)}),[o,t]);return s?(0,Kl.jsx)(iee,{patientData:s,onComplete:u}):null})),see=aee,lee="prescriptionCard_prescriptionCard__ynjFb",cee="newPrescription_newPrescription__F-gv2",uee="newPrescription_inputs__hx2Jf",dee="newPrescription_buttons__JaD22",pee=H5(),fee=function(e){var t=e.initialValues,n=e.brands,r=void 0===n?[]:n,o=e.handleSubmit,i=e.close,a=Xj({enableReinitialize:!0,initialValues:t,validationSchema:jk.object().shape({amount:jk.number("Enter amount").required("Dosage is required").min(0,"Minimum 0").max(1e3,"Maximum 1000"),description:jk.string("Enter description"),brand:jk.object({title:jk.string(),id:jk.number()})}),onSubmit:function(e){o(e)}});return(0,Kl.jsxs)("form",{className:cee,onSubmit:a.handleSubmit,children:[(0,Kl.jsxs)("div",{className:uee,children:[(0,Kl.jsx)(kl.Z,{variant:"body1",children:"Add New Prescription"}),(0,Kl.jsx)(s6,{value:a.values.brand,onChange:function(e,t){"string"===typeof t?a.setFieldValue("brand",{title:t,id:-1}):t&&t.inputValue?a.setFieldValue("brand",{title:t.inputValue,id:-1}):a.setFieldValue("brand",t)},filterOptions:function(e,t){var n=pee(e,t);return""!==t.inputValue&&n.push({inputValue:t.inputValue,title:'Click to Add "'.concat(t.inputValue,'"')}),n},selectOnFocus:!0,clearOnBlur:!0,style:{margin:"24px 0px"},handleHomeEndKeys:!0,id:"brand",options:r,getOptionLabel:function(e){return"string"===typeof e?e:e.inputValue?null!==(t=null===e||void 0===e?void 0:e.inputValue)&&void 0!==t?t:"":e.title;var t},renderOption:function(e){var t;return null!==(t=null===e||void 0===e?void 0:e.title)&&void 0!==t?t:""},freeSolo:!0,renderInput:function(e){return(0,Kl.jsx)(Wu.Z,Us(Us({},e),{},{label:"Drug Name",variant:"outlined"}))}}),(0,Kl.jsx)(Wu.Z,{size:"small",type:"number",name:"amount",variant:"outlined",label:"Dosage",value:a.values.amount,onChange:a.handleChange,onBlur:a.handleBlur,error:a.touched.amount&&Boolean(a.errors.amount),helperText:a.touched.amount&&a.errors.amount,placeholder:"Type dosage here...",InputLabelProps:{shrink:!0},style:{margin:"24px 0px"}}),(0,Kl.jsx)(Wu.Z,{size:"small",type:"number",name:"description",variant:"outlined",label:"Description",value:a.values.description,onChange:a.handleChange,onBlur:a.handleBlur,error:a.touched.description&&Boolean(a.errors.description),helperText:a.touched.description&&a.errors.description,placeholder:"Type description here...",InputLabelProps:{shrink:!0},minRows:5,multiline:!0,style:{margin:"24px 0px"}})]}),(0,Kl.jsxs)("div",{className:dee,children:[(0,Kl.jsx)(zd.Z,{type:"submit",variant:"contained",color:"primary",fullWidth:!1,children:"Save Prescription"}),(0,Kl.jsx)(zd.Z,{variant:"outlined",color:"secondary",fullWidth:!1,onClick:i,children:"Cancel"})]})]})},hee="prescriptionItems_prescriptionItems__Wk20I",bee="prescriptionItems_loading__v2y2t",Aee=__webpack_require__(28190),mee=(0,iS.Z)((function(e){return{head:{border:"1px solid #DCE3F0",color:"#fff"},body:{fontSize:14,border:"1px solid #DCE3F0",padding:"0px 16px"}}}))(c5.Z),gee=(0,iS.Z)((function(e){return{root:{background:"#D8A66A",color:"#fff"}}}))(a5),vee=function(e){var t=e.title,n=e.amount,r=e.description,o=e.onClickRemove;return(0,Kl.jsxs)(yee,{children:[(0,Kl.jsx)(mee,{component:"th",scope:"row",children:t}),(0,Kl.jsx)(mee,{component:"th",scope:"row",children:n}),(0,Kl.jsx)(mee,{component:"th",scope:"row",children:(0,Kl.jsx)(Kl.Fragment,{children:(0,Kl.jsxs)(AC,{container:!0,justifyContent:"space-between",alignItems:"center",children:[(0,Kl.jsx)(AC,{item:!0,xs:!0,children:r}),(0,Kl.jsx)(AC,{item:!0,xs:!0,justifyContent:"flex-end",container:!0,children:o&&(0,Kl.jsx)(wd.Z,{style:{padding:0,border:"1px solid #D8A66A"},onClick:o,children:(0,Kl.jsx)(Aee.Z,{style:{color:"#D8A66A",height:12,width:12,padding:4}})})})]})})})]},"re2")},yee=(0,iS.Z)((function(e){return{root:{height:"46px !important"}}}))(l5),Mee=function(t){var n=t.onClickAddNew,r=t.tableItems,o=t.setTableItems,i=t.sign,a=t.setNotRequire,s=t.notRequire,l=(0,e.useCallback)((function(e){var t=r.filter((function(t){return t.index!==e}));o(t)}),[r,o]);return(0,Kl.jsxs)(AC,{item:!0,container:!0,direction:"column",spacing:2,justifyContent:"space-between",children:[(null===r||void 0===r?void 0:r.length)>0?(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(G4,{children:(0,Kl.jsxs)(t5,{sx:{minWidth:700},"aria-label":"customized table",children:[(0,Kl.jsx)(gee,{children:(0,Kl.jsxs)(yee,{children:[(0,Kl.jsx)(mee,{children:(0,Kl.jsx)(kl.Z,{children:"Product"})}),(0,Kl.jsx)(mee,{children:(0,Kl.jsx)(kl.Z,{children:"Dosage"})}),(0,Kl.jsx)(mee,{children:(0,Kl.jsx)(kl.Z,{children:"Description"})})]})}),(0,Kl.jsx)(f5,{children:null===r||void 0===r?void 0:r.map((function(e,t){return(0,Kl.jsx)(vee,{title:e.title,description:e.description,amount:e.amount,onClickRemove:i||s?null:function(){return l(e.index)}},"".concat(e.title,"_ ").concat(t))}))})]})})}):(0,Kl.jsx)(kl.Z,{variant:"h6",children:"No Prescriptions"}),(0,Kl.jsxs)(AC,{item:!0,container:!0,justifyContent:"space-between",children:[(0,Kl.jsx)(AC,{item:!0,style:{display:"flex"},children:(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",onClick:n,disabled:!!i||s,children:"Add new product"})}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(oS.Z,{control:(0,Kl.jsx)(kk.Z,{checked:s,onChange:function(){return a((function(e){return!e}))},name:"Does not require a prescription",color:"primary"}),label:"Does not require a prescription"})})]})]})},Oee=function(e){var t=e.tableItems,n=e.setTableItems,r=e.onClickAddNew,o=e.loading,i=e.sign,a=e.setNotRequire,s=e.notRequire;return(0,Kl.jsx)("div",{className:hee,children:o?(0,Kl.jsx)("div",{className:bee,children:(0,Kl.jsx)(Gh.Z,{})}):(0,Kl.jsx)(Mee,{tableItems:t,setTableItems:n,onClickAddNew:r,sign:i,setNotRequire:a,notRequire:s})})},_ee=e.forwardRef((function(e,t){var n=e.sign,r=e.canEditSignature,o=e.external,i=e.loading,a=e.setSignEmpty;return(0,Kl.jsxs)("div",{className:Q6.prescriptionSignature,children:[(0,Kl.jsxs)("div",{className:Q6.header,children:[(0,Kl.jsx)(kl.Z,{variant:"h6",children:"Signature"}),!i&&!n&&r&&(0,Kl.jsx)(zd.Z,{size:"small",variant:"outlined",onClick:function(){t.current.clear(),a(!0)},children:"Erase"})]}),i?(0,Kl.jsx)(Rp,{variant:"rect",width:"100%",height:"70px"}):n?(0,Kl.jsx)("img",{component:"img",alt:"signature",src:n}):r||o?(0,Kl.jsx)(u2(),{ref:t,clearOnResize:!1,canvasProps:{className:Q6.canvas},onEnd:function(){return a(!1)}}):(0,Kl.jsx)("div",{className:Q6.noSignature,children:(0,Kl.jsx)(kl.Z,{children:"No Signature"})})]})})),zee=_ee,xee=function(e){var t=e.prescriber,n=e.practitioner,r=e.doctors,o=e.sign,i=e.canvasRef,a=e.canEditSignature,s=e.external,l=e.loading,c=e.issuedAt,u=e.signedAt,d=e.setSignEmpty,p=e.status;return(0,Kl.jsxs)("div",{className:Q6.prescriptionSidebar,children:[(0,Kl.jsx)(G6,{prescriber:t,practitioner:n,doctors:r,issuedAt:c,signedAt:u,status:p}),(0,Kl.jsx)(zee,{sign:o,ref:i,canEditSignature:a,external:s,loading:l,setSignEmpty:d})]})},wee="prescriptionInfo_prescriptionInfo__WjwVh",Cee="prescriptionInfo_prescriptionInfoMain__tkNqb",See="prescriptionInfo_prescriptionInfoButton__ECQ4h",Eee=function(t){var o=t.tableItems,i=t.prescriber,a=t.practitioner,s=t.doctors,l=t.brands,c=t.setTableItems,u=t.initialValues,d=t.loading,p=t.sign,f=t.hasDeletedUser,h=t.onClickSave,b=t.canvasRef,A=t.canEditSignature,m=t.external,g=t.signedAt,v=t.issuedAt,y=t.setSignEmpty,M=t.setNotRequire,O=t.notRequire,_=t.status,z=t.id,x=(0,e.useState)(!1),w=(0,n.Z)(x,2),C=w[0],S=w[1],E=(0,e.useState)(!1),k=(0,n.Z)(E,2),D=k[0],N=k[1],T=he(),j=hE().enqueueSnackbar;return(0,Kl.jsxs)("div",{className:wee,children:[(0,Kl.jsxs)("div",{className:Cee,children:[C?(0,Kl.jsx)(fee,{brands:l,handleSubmit:function(e){var t={title:e.brand.title,description:e.description,amount:e.amount,index:o.length+1,id:-1===e.brand.id?void 0:e.brand.id};c([].concat((0,r.Z)(o),[t])),S(!1)},initialValues:u,close:function(){return S(!1)}}):(0,Kl.jsx)(Oee,{tableItems:o,onClickAddNew:function(){S(!0)},setTableItems:c,loading:d,sign:p,setNotRequire:M,notRequire:O}),(0,Kl.jsx)(xee,{prescriber:i,practitioner:a,doctors:s,sign:p,loading:d,canvasRef:b,canEditSignature:A,external:m,signedAt:g,issuedAt:v,setSignEmpty:y,status:_})]}),(0,Kl.jsxs)("div",{className:See,children:[(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",style:{backgroundColor:"red",color:"white"},onClick:function(){N(!0)},children:"Delete"}),(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",onClick:h,disabled:!!p||d||f,children:"Save"})]}),(0,Kl.jsx)(X6,{open:D,setOpen:N,onDelete:function(){Re.delete("/v1/prescriptions/".concat(z)).then((function(e){T(-1),j("Prescription successfully deleted!",{variant:"success"})})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return j(e,{variant:"error"})}))}))}))},title:"Do you want to delete prescription? "})]})},kee=(0,e.forwardRef)((function(t,n){var r,o,i,a,s=t.prescription,l=t.tableItems,c=t.setTableItems,u=t.brands,d=t.prescriber,p=t.doctor,f=t.doctors,h=t.loading,b=t.sign,A=t.onClickSave,m=t.canvasRef,g=t.external,v=t.setSignEmpty,y=t.setNotRequire,M=t.notRequire,O=(0,e.useContext)(bA),_={brand:{id:null===(r=u[0])||void 0===r?void 0:r.id,title:null===(o=u[0])||void 0===o?void 0:o.title},description:"",amount:0},z=(0,e.useMemo)((function(){var e,t;return(null===O||void 0===O||null===(e=O.user)||void 0===e||null===(t=e.staff)||void 0===t?void 0:t.id)===(null===d||void 0===d?void 0:d.id)}),[null===O||void 0===O||null===(i=O.user)||void 0===i||null===(a=i.staff)||void 0===a?void 0:a.id,null===d||void 0===d?void 0:d.id]),x=(0,e.useMemo)((function(){var e,t;return(null===s||void 0===s||null===(e=s.patient)||void 0===e?void 0:e.deletedAt)||(null===s||void 0===s||null===(t=s.practitioner)||void 0===t?void 0:t.deletedAt)}),[s]),w=(0,e.useMemo)((function(){var e;return(null===s||void 0===s||null===(e=s.prescriptionStatus)||void 0===e?void 0:e.title)||(null===s||void 0===s?void 0:s.status)}),[s]);return(0,Kl.jsxs)("div",{className:lee,ref:n,id:"prescriptionCard",children:[(0,Kl.jsx)(V6,{patient:null===s||void 0===s?void 0:s.patient,status:w}),(0,Kl.jsx)(Eee,{tableItems:l,prescriber:d,practitioner:p,doctors:f,brands:u,setTableItems:c,initialValues:_,loading:h,sign:b,hasDeletedUser:x,onClickSave:A,canvasRef:m,canEditSignature:z,external:g,issuedAt:null===s||void 0===s?void 0:s.createdAt,signedAt:null===s||void 0===s?void 0:s.signAt,setSignEmpty:v,setNotRequire:y,notRequire:M,status:w,id:null===s||void 0===s?void 0:s.id})]})})),Dee=kee,Nee="prescription_container__Roppp",Tee=function(){var t=(0,e.useRef)(null),o=me(),i=(0,e.useState)([]),a=(0,n.Z)(i,2),s=a[0],l=a[1],c=(0,e.useState)(),u=(0,n.Z)(c,2),d=u[0],p=u[1],f=(0,e.useState)([]),h=(0,n.Z)(f,2),b=h[0],A=h[1],m=(0,e.useState)(0),g=(0,n.Z)(m,2),v=g[0],y=g[1],M=(0,e.useState)(),O=(0,n.Z)(M,2),_=O[0],z=O[1],x=(0,e.useState)([]),w=(0,n.Z)(x,2),C=w[0],S=w[1],E=(0,e.useState)([]),k=(0,n.Z)(E,2),D=k[0],N=k[1],T=(0,e.useState)(void 0),j=(0,n.Z)(T,2),B=j[0],L=j[1],R=(0,e.useState)(!0),q=(0,n.Z)(R,2),P=q[0],I=q[1],W=(0,e.useState)(void 0),F=(0,n.Z)(W,2),U=F[0],Z=F[1],H=(0,e.useRef)(null),$=(0,e.useState)(!0),V=(0,n.Z)($,2),X=V[0],Q=V[1],Y=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var n,r,i;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=new FormData,B||X||!t.current){e.next=5;break}return i=t.current.toDataURL(),e.next=5,fetch(i).then((function(e){return e.blob()})).then(function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=new File([t],"sign_".concat(null===_||void 0===_?void 0:_.id,".png"),{type:"image/png"}),r.append("sign",n);case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 5:return C.filter((function(e){return!e.id})).forEach((function(e,t){r.append("customProducts[".concat(t,"][description]"),e.description),r.append("customProducts[".concat(t,"][dosage]"),e.amount),r.append("customProducts[".concat(t,"][title]"),e.title)})),C.filter((function(e){return e.id})).forEach((function(e,t){r.append("productBrands[".concat(t,"][id]"),e.id),r.append("productBrands[".concat(t,"][dosage]"),e.amount),r.append("productBrands[".concat(t,"][description]"),e.description)})),r.append("patientId",null===_||void 0===_||null===(n=_.patient)||void 0===n?void 0:n.id),r.append(d.isExternal?"externalPrescriberId":"staffId",d.id),r.append(d.isExternal?"staffId":"externalPrescriberId",""),r.append("practitionerId",v),e.next=13,Re.post("/v1/prescriptions/".concat(null===o||void 0===o?void 0:o.hash,"/external"),r,{headers:{"Content-Type":"multipart/form-data"}}).then((function(e){L(e.data.data.signUrl),z((function(t){return Us(Us({},t),{},{status:e.data.data.status})})),Z("Successfully updated!"),setTimeout((function(){Z(void 0)}),5e3)}));case 13:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),G=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t,n,i,a,s,l,c,u,d;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get("/v1/prescriptions/".concat(null===o||void 0===o?void 0:o.hash,"/external"));case 2:if(t=e.sent,n=t.data,z(n.data),!n.data){e.next=20;break}if(y(n.data.practitioner.id),null!==n&&void 0!==n&&null!==(i=n.data)&&void 0!==i&&i.staff&&p(Us(Us({},null===n||void 0===n||null===(s=n.data)||void 0===s?void 0:s.staff),{},{isExternal:!1})),null!==n&&void 0!==n&&null!==(a=n.data)&&void 0!==a&&a.externalPrescriber&&p(Us(Us({},null===n||void 0===n||null===(l=n.data)||void 0===l?void 0:l.externalPrescriber),{},{isExternal:!0})),c=[],n.data.productBrands&&(u=n.data.productBrands.map((function(e,t){return{title:e.title,description:e.description,amount:e.dosage,id:e.id,index:t}})),c.push.apply(c,(0,r.Z)(u))),n.data.customProducts&&(d=n.data.customProducts.map((function(e,t){return{title:e.title,description:e.description,amount:e.dosage,index:c.length+t}})),c.push.apply(c,(0,r.Z)(d))),S(c),!n.data.signUrl){e.next=16;break}return e.next=16,fetch(n.data.signUrl).then((function(e){return e.blob()})).then(function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:(n=new FileReader).readAsDataURL(t),n.onloadend=function(){L(n.result)},L(t);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 16:A([n.data.practitioner]),J(n.data),Q(!n.data.signUrl),I(!1);case 20:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),K=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t,n,r;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get("/v1/product-brands",{params:{limit:-1}});case 2:n=e.sent,r=n.data,(null===(t=r.data)||void 0===t?void 0:t.length)>0&&N(r.data);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),J=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,r,o,i,a;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=[],null!==t&&void 0!==t&&t.externalPrescriber&&(n={id:null===t||void 0===t||null===(r=t.externalPrescriber)||void 0===r?void 0:r.id,user:{firstName:null===t||void 0===t||null===(o=t.externalPrescriber)||void 0===o?void 0:o.name,lastName:null===t||void 0===t||null===(i=t.externalPrescriber)||void 0===i?void 0:i.last_name},licensePin:null===t||void 0===t||null===(a=t.externalPrescriber)||void 0===a?void 0:a.license_pin,isExternal:!0}),null!==t&&void 0!==t&&t.staff&&(n=Us(Us({},null===t||void 0===t?void 0:t.staff),{},{licensePin:null===t||void 0===t?void 0:t.staff.license_pin,isExternal:!1})),l([n]);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return(0,e.useEffect)((function(){G(),K()}),[]),(0,Kl.jsxs)("div",{className:Nee,children:[(0,Kl.jsx)(Dee,{prescription:_,tableItems:C,setTableItems:S,sign:B,brands:D,onClickSave:Y,prescribers:s,prescriber:d,doctors:b,doctor:v,setDoctor:y,canvasRef:t,external:!0,closed:!1,loading:P,ref:H,signedAt:null===_||void 0===_?void 0:_.signAt,issuedAt:null===_||void 0===_?void 0:_.dateIssued,setSignEmpty:Q}),(0,Kl.jsx)(ZB,{open:!!U,autoHideDuration:4e3,onClose:function(){Z(void 0)},anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Kl.jsx)(Xh,{severity:"success",children:U})})]})},jee=__webpack_require__(23252),Bee=__webpack_require__(43386),Lee="businessHours_businessHours__narXR",Ree="businessHours_hoursTitle__cfrcG",qee="businessHours_hoursItems__D7ozB",Pee="businessHours_hoursItem__NshT1",Iee="businessHours_itemTitle__Og3Rk",Wee="businessHours_itemTime__2g-t5",Fee=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Uee=function(t){t.clinic;var n=t.selectedLocation,r=(0,e.useMemo)((function(){var e=[];return Fee.forEach((function(t){var r,o;null!==n&&void 0!==n&&n.working_hours&&(r=null===n||void 0===n||null===(o=n.working_hours)||void 0===o?void 0:o.filter((function(e){return parseInt(e.weekday)===parseInt(Vs()().day(t).weekday())})).map((function(e){return{workingDay:t,startHour:e.start_hour,endHour:e.end_hour}})).pop());r?e.push(r):e.push({workingDay:t})})),e}),[null===n||void 0===n?void 0:n.id]);return(0,Kl.jsxs)("div",{className:Lee,children:[(0,Kl.jsx)(kl.Z,{className:Ree,children:"Business Hours"}),(0,Kl.jsx)("div",{className:qee,children:r.map((function(e,t){return e.startHour?(0,Kl.jsxs)("div",{className:Pee,children:[(0,Kl.jsx)(kl.Z,{className:Iee,children:e.workingDay}),(0,Kl.jsx)(kl.Z,{className:Wee,children:"".concat(e.startHour," - ").concat(e.endHour)})]},t):(0,Kl.jsxs)("div",{className:Pee,children:[(0,Kl.jsx)(kl.Z,{className:Iee,children:e.workingDay}),(0,Kl.jsx)(kl.Z,{className:Wee,children:"Closed"})]},t)}))})]})},Zee=__webpack_require__(25056),Hee="clinicLocation_mapWrapper__pNPg0",$ee="clinicLocation_map__228NY",Vee=$l((function(t){var r=t.address;Zee.accessToken="pk.eyJ1Ijoic2dvbGRpayIsImEiOiJjbDJoY29iYmkwY2twM2RxaG01ZmdrMzRhIn0.8UV6n5zz6Z2ARO7fSLzWBg";var o=(0,e.useState)(null),i=(0,n.Z)(o,2),a=i[0],s=i[1],l=(0,e.useState)(null),c=(0,n.Z)(l,2),u=c[0],d=c[1],p=(0,e.useRef)(null),f=(0,e.useRef)(null);(0,e.useEffect)((function(){h()}),[r]),(0,e.useEffect)((function(){!f.current&&a&&(f.current=new Zee.Map({container:p.current,style:"mapbox://styles/mapbox/streets-v9",zoom:12,center:[a.coordinates[0],a.coordinates[1]],attributionControl:!1}),d(new Zee.Marker({color:"black",scale:.5}).setLngLat([a.coordinates[0],a.coordinates[1]]).addTo(f.current)))}),[a]),(0,e.useEffect)((function(){return function(){var e;null===f||void 0===f||null===(e=f.current)||void 0===e||e.remove()}}),[]);var h=function(){if(r){var e="https://api.mapbox.com/geocoding/v5/mapbox.places/".concat(r,".json?access_token=").concat("pk.eyJ1Ijoic2dvbGRpayIsImEiOiJjbDJoY29iYmkwY2twM2RxaG01ZmdrMzRhIn0.8UV6n5zz6Z2ARO7fSLzWBg");Re.get(e,{headers:{"Access-Control-Allow-Origin":"*"},withCredentials:!1}).then((function(e){var t;s(e.data.features[0].geometry);var n=e.data.features[0].geometry.coordinates[0],r=e.data.features[0].geometry.coordinates[1];null===f||void 0===f||null===(t=f.current)||void 0===t||t.flyTo({center:[n,r]}),null===u||void 0===u||u.setLngLat([n,r])}))}};return(0,Kl.jsx)(AC,{container:!0,children:!!a&&(0,Kl.jsx)("div",{className:Hee,children:(0,Kl.jsx)("div",{ref:p,className:$ee})})})})),Xee=Vee,Qee="clinicInfo_clinicInfo__n1sml",Yee="clinicInfo_infoHeader__JMVaC",Gee="clinicInfo_infoName__+DeCn",Kee="clinicInfo_infoAddress__EDZdc",Jee="clinicInfo_infoLocation__Oh+gp",ete="clinicInfo_infoFooter__A8+Gf",tte="clinicInfo_infoSocial__C4XyT",nte="clinicInfo_socialLink__j2E6q",rte="clinicInfo_infoDocs__c-4NM",ote="clinicInfo_docsLink__7FDjc",ite="clinicInfo_docsDivider__WmkYh",ate=$l((function(){var t,n,r,o,i,a,s,l,c,u,d,p=(0,e.useContext)(bA),f=Fc().location,h=(0,e.useMemo)((function(){var e;return f.id?f:null===p||void 0===p||null===(e=p.clinic)||void 0===e?void 0:e.mainLocation}),[f.id,null===p||void 0===p||null===(t=p.clinic)||void 0===t||null===(n=t.mainLocation)||void 0===n?void 0:n.id]);return(0,Kl.jsxs)(AC,{container:!0,item:!0,direction:"column",className:Qee,children:[(0,Kl.jsx)(AC,{container:!0,item:!0,direction:"row",className:Yee,children:(0,Kl.jsxs)(kl.Z,{className:Gee,children:[null===(r=p.clinic)||void 0===r?void 0:r.name,!(null===h||void 0===h||!h.name)&&" - ".concat(null===h||void 0===h?void 0:h.name)]})}),!!h&&(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(kl.Z,{className:Kee,children:h.address}),(0,Kl.jsx)("div",{className:Jee,children:(0,Kl.jsx)(Xee,{address:h.address})})]}),(0,Kl.jsx)(Uee,{clinic:p.clinic,selectedLocation:h}),(0,Kl.jsxs)(AC,{container:!0,item:!0,className:ete,children:[!(null!==(o=p.clinic)&&void 0!==o&&null!==(i=o.description)&&void 0!==i&&i.length)&&(0,Kl.jsxs)(AC,{container:!0,item:!0,className:rte,children:[(0,Kl.jsx)(wu,{to:"/external-booking/terms-and-conditions",className:ote,children:"Terms & Conditions"}),(0,Kl.jsx)("span",{className:ite}),(0,Kl.jsx)(wu,{to:"/external-booking/privacy-policy",className:ote,children:"Privacy Policy"})]}),null!==(a=p.clinic)&&void 0!==a&&a.facebook||null!==(s=p.clinic)&&void 0!==s&&s.instagram?(0,Kl.jsxs)(AC,{container:!0,item:!0,className:tte,children:[(null===(l=p.clinic)||void 0===l?void 0:l.facebook)&&(0,Kl.jsx)("a",{alt:"facebook",href:null===(c=p.clinic)||void 0===c?void 0:c.facebook,className:nte,children:(0,Kl.jsx)(jee.Z,{})}),(null===(u=p.clinic)||void 0===u?void 0:u.instagram)&&(0,Kl.jsx)("a",{alt:"facebook",href:null===(d=p.clinic)||void 0===d?void 0:d.instagram,className:nte,children:(0,Kl.jsx)(Bee.Z,{})})]}):null]})]})})),ste=ate,lte={wrapper:"externalBookingMain_wrapper__Fqz8G",main:"externalBookingMain_main__0Gl3U",mobileNav:"externalBookingMain_mobileNav__yhcOk",mainHeaderAndStepper:"externalBookingMain_mainHeaderAndStepper__5-ZW5",mainHeader:"externalBookingMain_mainHeader__PkTDM",mainTitle:"externalBookingMain_mainTitle__MbESw",mainDesc:"externalBookingMain_mainDesc__TSCHE",stepper:"externalBookingMain_stepper__-Bb1i","MuiSvgIcon-root":"externalBookingMain_MuiSvgIcon-root__4hhJt",actionBlock:"externalBookingMain_actionBlock__0GJ3i",container:"externalBookingMain_container__SOvHh",content:"externalBookingMain_content__QX4JX",about:"externalBookingMain_about__aUbua",serviceCard:"externalBookingMain_serviceCard__lp3d4",button:"externalBookingMain_button__UMQNT",dialogContent:"externalBookingMain_dialogContent__nMRtQ",input:"externalBookingMain_input__f39eM",inputContainer:"externalBookingMain_inputContainer__0pq2J",label:"externalBookingMain_label__roT9r",locationItem:"externalBookingMain_locationItem__ySO2r",action:"externalBookingMain_action__0a8cA",address:"externalBookingMain_address__ilwg1",info:"externalBookingMain_info__WezcJ",secondary:"externalBookingMain_secondary__sYnKs",checkboxLabel:"externalBookingMain_checkboxLabel__3B05b",clinicInfo:"externalBookingMain_clinicInfo__BwyTZ",errorText:"externalBookingMain_errorText__YrCwl"},cte=function(t){var n=t.clinic,r=(0,e.useContext)(bA);return(0,Kl.jsxs)("div",{className:lte.locationItem,children:[(0,Kl.jsxs)("div",{className:lte.main,children:[(0,Kl.jsx)("div",{className:lte.name,children:(0,Kl.jsx)(kl.Z,{variant:"h6",children:n.name})}),(0,Kl.jsxs)("div",{className:lte.info,children:[(0,Kl.jsx)("div",{className:lte.address,children:(0,Kl.jsx)(kl.Z,{children:n.address})}),(0,Kl.jsxs)("div",{className:lte.secondary,children:[n.phone&&(0,Kl.jsxs)(kl.Z,{align:"right",children:["Tel: ",n.phone]}),n.email&&(0,Kl.jsxs)(kl.Z,{align:"right",children:["Email: ",n.email]})]})]})]}),(0,Kl.jsx)(Jb,{}),(0,Kl.jsx)("div",{className:lte.action,children:(0,Kl.jsx)(zd.Z,{onClick:function(){window.location.replace("".concat(window.location.origin.replace(r.clinic.subdomain,n.subdomain),"/external-booking"))},color:"primary",size:"small",children:"Select"})})]})},ute=function(){var t,n,r=(0,e.useContext)(bA);return(0,Kl.jsxs)(AC,{container:!0,className:lte.wrapper,direction:"row",children:[(0,Kl.jsxs)(AC,{container:!0,item:!0,className:lte.main,children:[(0,Kl.jsx)(AC,{container:!0,item:!0,className:lte.mainHeader,style:{marginBottom:24},children:(0,Kl.jsx)(kl.Z,{className:lte.mainTitle,children:"Change Location"})}),(0,Kl.jsxs)(AC,{container:!0,item:!0,className:lte.actionBlock,children:[(0,Kl.jsx)(cte,{clinic:r.clinic}),(null===(t=r.clinic)||void 0===t?void 0:t.relatedClinics)&&(null===(n=r.clinic)||void 0===n?void 0:n.relatedClinics.map((function(e){return(0,Kl.jsx)(cte,{clinic:e},null===e||void 0===e?void 0:e.name)})))]})]}),(0,Kl.jsx)(ste,{})]})},dte="clinicInfo_container__UOUEh",pte=__webpack_require__(313),fte="bookingInformation_Accordion__s-qD1",hte="bookingInformation_NavLink__gbZVX",bte="bookingInformation_AccordionActions__Y8a07",Ate=$l((function(){var t,n,r=(0,e.useContext)(bA),o=pte.sanitize(null===(t=r.clinic)||void 0===t?void 0:t.description);return(0,Kl.jsxs)(p0,{className:fte,defaultExpanded:!0,children:[(0,Kl.jsx)(h0,{expandIcon:(0,Kl.jsx)(Xp.Z,{}),children:(0,Kl.jsx)(kl.Z,{variant:"h6",children:"Booking Information"})}),(0,Kl.jsx)(A0,{children:(0,Kl.jsx)(kl.Z,{variant:"body1",dangerouslySetInnerHTML:{__html:(n=o,n.replace(/[\w\.-]+@[\w\.-]+\.\w+/g,(function(e){return'<a href="mailto:'+e+'">'+e+"</a>"})).replace(/(https?:\/\/[^\s]+)/g,(function(e){return'<a href="'+e+'" target="_blank">'+e+"</a>"})))}})}),(0,Kl.jsxs)(e2,{className:bte,children:[(0,Kl.jsx)(wu,{to:"/external-booking/terms-and-conditions",className:hte,children:"Terms & Conditions"}),(0,Kl.jsx)(Jb,{orientation:"vertical",flexItem:!0}),(0,Kl.jsx)(wu,{to:"/external-booking/privacy-policy",className:hte,children:"Privacy Policy"})]})]})})),mte=function(){var t,n,r=(0,e.useContext)(bA);return(0,Kl.jsxs)(AC,{container:!0,direction:"column",className:dte,children:[!(null===(t=r.clinic)||void 0===t||null===(n=t.description)||void 0===n||!n.length)&&(0,Kl.jsx)(Ate,{}),(0,Kl.jsx)(ste,{})]})},gte=e.forwardRef((function(t,n){var r=t.active,o=t.alternativeLabel,i=void 0!==o&&o,a=t.classes,s=t.className,l=t.completed,c=t.disabled,u=(t.index,t.orientation),d=void 0===u?"horizontal":u,p=(0,Uu.Z)(t,["active","alternativeLabel","classes","className","completed","disabled","index","orientation"]);return e.createElement("div",(0,Fu.Z)({className:(0,Zu.Z)(a.root,a[d],s,i&&a.alternativeLabel,r&&a.active,l&&a.completed,c&&a.disabled),ref:n},p),e.createElement("span",{className:(0,Zu.Z)(a.line,{horizontal:a.lineHorizontal,vertical:a.lineVertical}[d])}))})),vte=(0,Hu.Z)((function(e){return{root:{flex:"1 1 auto"},horizontal:{},vertical:{marginLeft:12,padding:"0 0 8px"},alternativeLabel:{position:"absolute",top:12,left:"calc(-50% + 20px)",right:"calc(50% + 20px)"},active:{},completed:{},disabled:{},line:{display:"block",borderColor:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[600]},lineHorizontal:{borderTopStyle:"solid",borderTopWidth:1},lineVertical:{borderLeftStyle:"solid",borderLeftWidth:1,minHeight:24}}}),{name:"MuiStepConnector"})(gte),yte=e.createElement(vte,null),Mte=e.forwardRef((function(t,n){var r=t.activeStep,o=void 0===r?0:r,i=t.alternativeLabel,a=void 0!==i&&i,s=t.children,l=t.classes,c=t.className,u=t.connector,d=void 0===u?yte:u,p=t.nonLinear,f=void 0!==p&&p,h=t.orientation,b=void 0===h?"horizontal":h,A=(0,Uu.Z)(t,["activeStep","alternativeLabel","children","classes","className","connector","nonLinear","orientation"]),m=e.isValidElement(d)?e.cloneElement(d,{orientation:b}):null,g=e.Children.toArray(s),v=g.map((function(t,n){var r={index:n,active:!1,completed:!1,disabled:!1};return o===n?r.active=!0:!f&&o>n?r.completed=!0:!f&&o<n&&(r.disabled=!0),e.cloneElement(t,(0,Fu.Z)({alternativeLabel:a,connector:m,last:n+1===g.length,orientation:b},r,t.props))}));return e.createElement(Kd.Z,(0,Fu.Z)({square:!0,elevation:0,className:(0,Zu.Z)(l.root,l[b],c,a&&l.alternativeLabel),ref:n},A),v)})),Ote=(0,Hu.Z)({root:{display:"flex",padding:24},horizontal:{flexDirection:"row",alignItems:"center"},vertical:{flexDirection:"column"},alternativeLabel:{alignItems:"flex-start"}},{name:"MuiStepper"})(Mte),_te=e.forwardRef((function(t,n){var r=t.active,o=void 0!==r&&r,i=t.alternativeLabel,a=t.children,s=t.classes,l=t.className,c=t.completed,u=void 0!==c&&c,d=t.connector,p=t.disabled,f=void 0!==p&&p,h=t.expanded,b=void 0!==h&&h,A=t.index,m=t.last,g=t.orientation,v=(0,Uu.Z)(t,["active","alternativeLabel","children","classes","className","completed","connector","disabled","expanded","index","last","orientation"]),y=d?e.cloneElement(d,{orientation:g,alternativeLabel:i,index:A,active:o,completed:u,disabled:f}):null,M=e.createElement("div",(0,Fu.Z)({className:(0,Zu.Z)(s.root,s[g],l,i&&s.alternativeLabel,u&&s.completed),ref:n},v),y&&i&&0!==A?y:null,e.Children.map(a,(function(t){return e.isValidElement(t)?e.cloneElement(t,(0,Fu.Z)({active:o,alternativeLabel:i,completed:u,disabled:f,expanded:b,last:m,icon:A+1,orientation:g},t.props)):null})));return y&&!i&&0!==A?e.createElement(e.Fragment,null,y,M):M})),zte=(0,Hu.Z)({root:{},horizontal:{paddingLeft:8,paddingRight:8},vertical:{},alternativeLabel:{flex:1,position:"relative"},completed:{}},{name:"MuiStep"})(_te),xte=(0,kp.Z)(e.createElement("path",{d:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z"}),"CheckCircle"),wte=(0,kp.Z)(e.createElement("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),"Warning"),Cte=e.createElement("circle",{cx:"12",cy:"12",r:"12"}),Ste=e.forwardRef((function(t,n){var r=t.completed,o=void 0!==r&&r,i=t.icon,a=t.active,s=void 0!==a&&a,l=t.error,c=void 0!==l&&l,u=t.classes;if("number"===typeof i||"string"===typeof i){var d=(0,Zu.Z)(u.root,s&&u.active,c&&u.error,o&&u.completed);return c?e.createElement(wte,{className:d,ref:n}):o?e.createElement(xte,{className:d,ref:n}):e.createElement(Gl.Z,{className:d,ref:n},Cte,e.createElement("text",{className:u.text,x:"12",y:"16",textAnchor:"middle"},i))}return i})),Ete=(0,Hu.Z)((function(e){return{root:{display:"block",color:e.palette.text.disabled,"&$completed":{color:e.palette.primary.main},"&$active":{color:e.palette.primary.main},"&$error":{color:e.palette.error.main}},text:{fill:e.palette.primary.contrastText,fontSize:e.typography.caption.fontSize,fontFamily:e.typography.fontFamily},active:{},completed:{},error:{}}}),{name:"MuiStepIcon"})(Ste),kte=e.forwardRef((function(t,n){var r=t.active,o=void 0!==r&&r,i=t.alternativeLabel,a=void 0!==i&&i,s=t.children,l=t.classes,c=t.className,u=t.completed,d=void 0!==u&&u,p=t.disabled,f=void 0!==p&&p,h=t.error,b=void 0!==h&&h,A=(t.expanded,t.icon),m=(t.last,t.optional),g=t.orientation,v=void 0===g?"horizontal":g,y=t.StepIconComponent,M=t.StepIconProps,O=(0,Uu.Z)(t,["active","alternativeLabel","children","classes","className","completed","disabled","error","expanded","icon","last","optional","orientation","StepIconComponent","StepIconProps"]),_=y;return A&&!_&&(_=Ete),e.createElement("span",(0,Fu.Z)({className:(0,Zu.Z)(l.root,l[v],c,f&&l.disabled,a&&l.alternativeLabel,b&&l.error),ref:n},O),A||_?e.createElement("span",{className:(0,Zu.Z)(l.iconContainer,a&&l.alternativeLabel)},e.createElement(_,(0,Fu.Z)({completed:d,active:o,error:b,icon:A},M))):null,e.createElement("span",{className:l.labelContainer},s?e.createElement(kl.Z,{variant:"body2",component:"span",display:"block",className:(0,Zu.Z)(l.label,a&&l.alternativeLabel,d&&l.completed,o&&l.active,b&&l.error)},s):null,m))}));kte.muiName="StepLabel";var Dte=(0,Hu.Z)((function(e){return{root:{display:"flex",alignItems:"center","&$alternativeLabel":{flexDirection:"column"},"&$disabled":{cursor:"default"}},horizontal:{},vertical:{},label:{color:e.palette.text.secondary,"&$active":{color:e.palette.text.primary,fontWeight:500},"&$completed":{color:e.palette.text.primary,fontWeight:500},"&$alternativeLabel":{textAlign:"center",marginTop:16},"&$error":{color:e.palette.error.main}},active:{},completed:{},error:{},disabled:{},iconContainer:{flexShrink:0,display:"flex",paddingRight:8,"&$alternativeLabel":{paddingRight:0}},alternativeLabel:{},labelContainer:{width:"100%"}}}),{name:"MuiStepLabel"})(kte),Nte={calendarWrapper:"bookTimePicker_calendarWrapper__j4-mG",calendarContainer:"bookTimePicker_calendarContainer__pFnh+",doctorWrapper:"bookTimePicker_doctorWrapper__AcVsC",summary:"bookTimePicker_summary__iKy+Q",services:"bookTimePicker_services__veeVC",serviceInfo:"bookTimePicker_serviceInfo__-kkHj",serviceName:"bookTimePicker_serviceName__BrAnk",mobileNavButtons:"bookTimePicker_mobileNavButtons__J7D0T",calendarSkeleton:"bookTimePicker_calendarSkeleton__naqGS",time:"bookTimePicker_time__+z8tL",timePicker:"bookTimePicker_timePicker__s2mb9",timeSlots:"bookTimePicker_timeSlots__2blED",message:"bookTimePicker_message__9OXaw",timeSlotActive:"bookTimePicker_timeSlotActive__Myc6H",timeSlot:"bookTimePicker_timeSlot__avgAs",nextButton:"bookTimePicker_nextButton__Ggnhv"},Tte=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],jte=$l((function(t){var r,o,i,a,s,l,c,u=t.staff,d=t.practitioner,p=t.services,f=t.setSelectedDate,h=t.setNextStep,b=t.setDialog,A=t.setEndDate,m=t.setPrevStep,g=t.nextAvailable,v=t.setSelectedPractitioner,y=t.workingDays,M=t.location,O=t.clinicLocations,_=(0,e.useContext)(bA),z=(0,e.useState)(Vs()().toDate()),x=(0,n.Z)(z,2),w=x[0],C=x[1],S=(0,e.useState)(),E=(0,n.Z)(S,2),k=E[0],D=E[1],N=(0,e.useState)([]),T=(0,n.Z)(N,2),j=T[0],B=T[1],L=(0,e.useState)(),R=(0,n.Z)(L,2),q=R[0],P=R[1],I=Fc(),W=I.external,F=I.location,U=(0,e.useState)([]),Z=(0,n.Z)(U,2),H=Z[0],$=Z[1],V=(0,e.useState)([]),X=(0,n.Z)(V,2),Q=X[0],Y=X[1],G=(0,e.useState)(!0),K=(0,n.Z)(G,2),J=K[0],ee=K[1],te=hE().enqueueSnackbar,ne=(0,e.useMemo)((function(){var e,t=null===(e=_.clinic)||void 0===e?void 0:e.workingHours.map((function(e){return e.workingDay})),n=[];if(g)n=null===y||void 0===y?void 0:y.filter((function(e){return null===t||void 0===t?void 0:t.includes(e)}));else if(d){var r=d.workingHours.map((function(e){return e.workingDay}));n=r.filter((function(e){return t.includes(e)}))}return null===Tte||void 0===Tte?void 0:Tte.filter((function(e){var t;return!(null!==(t=n)&&void 0!==t&&t.includes(e))}))}),[_.clinic,y]),re=(0,e.useCallback)((function(e){return e?null===O||void 0===O?void 0:O.find((function(t){return(null===t||void 0===t?void 0:t.id)===e})):null}),[O]),oe=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.post("/v1/next-available-staff",{treatmentTypes:p.map((function(e){return e.id})),time:Vs()().format("HH:mm"),location:M||"all"}).then((function(e){var t;if(null!==e&&void 0!==e&&null!==(t=e.data)&&void 0!==t&&t.message){var n;P(null===e||void 0===e||null===(n=e.data)||void 0===n?void 0:n.message),B([])}else{var r,o,i,a,s,l,c,d,p,f,h,b,A,m,g,y,M,O;$(null===e||void 0===e||null===(r=e.data)||void 0===r||null===(o=r.calendar)||void 0===o||null===(i=o.shift)||void 0===i?void 0:i.map((function(e){return null===e||void 0===e?void 0:e.start_date})));var _=null===e||void 0===e||null===(a=e.data)||void 0===a||null===(s=a.calendar)||void 0===s||null===(l=s.daysOff)||void 0===l?void 0:l.map((function(e){return null===e||void 0===e?void 0:e.start_date}));Y(_),B(null===e||void 0===e||null===(c=e.data)||void 0===c||null===(d=c.calendar)||void 0===d?void 0:d.timeSlots),C(Vs()(null===e||void 0===e||null===(p=e.data)||void 0===p?void 0:p.day).toDate()),D(null===e||void 0===e||null===(f=e.data)||void 0===f||null===(h=f.calendar)||void 0===h||null===(b=h.timeSlots)||void 0===b?void 0:b[0]),v(u.find((function(t){var n,r,o,i,a,s;return(null===t||void 0===t?void 0:t.id)===(null===e||void 0===e||null===(n=e.data)||void 0===n||null===(r=n.calendar)||void 0===r||null===(o=r.timeSlots)||void 0===o||null===(i=o[0])||void 0===i||null===(a=i.staff)||void 0===a||null===(s=a[0])||void 0===s?void 0:s.id)}))),null===F||void 0===F||F.setLocation(re(null===e||void 0===e||null===(A=e.data)||void 0===A||null===(m=A.calendar)||void 0===m||null===(g=m.timeSlots)||void 0===g||null===(y=g[0])||void 0===y||null===(M=y.staff)||void 0===M||null===(O=M[0])||void 0===O?void 0:O.location)),ee(!1)}}));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),ie=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.post("/v1/staff/".concat(null===d||void 0===d?void 0:d.id,"/get-calendar"),{start:Vs()(t).startOf("month").format("YYYY-MM-DD"),end:Vs()(t).endOf("month").format("YYYY-MM-DD"),date:Vs()(t).format("YYYY-MM-DD"),treatmentTypes:p.map((function(e){return e.id})),time:Vs()().format("HH:mm"),location:M||"all"}).then((function(e){var t,n,r,o,i,a,s;$(null===e||void 0===e||null===(t=e.data)||void 0===t||null===(n=t.shift)||void 0===n?void 0:n.map((function(e){return null===e||void 0===e?void 0:e.start_date})));var l=null===e||void 0===e||null===(r=e.data)||void 0===r||null===(o=r.daysOff)||void 0===o?void 0:o.map((function(e){return null===e||void 0===e?void 0:e.start_date}));Y(l),B(null===e||void 0===e||null===(i=e.data)||void 0===i?void 0:i.timeSlots),D(null===e||void 0===e||null===(a=e.data)||void 0===a||null===(s=a.timeSlots)||void 0===s?void 0:s[0])}));case 2:ee(!1);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();(0,e.useEffect)((function(){ee(!0),g?oe():ie()}),[g]);var ae=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t,n,r,o,i;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Re.post("/v1/staff/".concat(d.id,"/time-slots"),{date:Vs()(w).format("YYYY-MM-DD"),treatmentTypes:p.map((function(e){return e.id})),time:Vs()().format("HH:mm"),location:M||"all"});case 3:t=e.sent,(n=t.data).message?(P(n.message),B([])):(P(null),B(n),n.length>0&&(D(null===n||void 0===n?void 0:n[0]),null===F||void 0===F||F.setLocation(re(null===n||void 0===n||null===(r=n[0])||void 0===r||null===(o=r.staff)||void 0===o||null===(i=o[0])||void 0===i?void 0:i.location)))),e.next=12;break;case 8:e.prev=8,e.t0=e.catch(0),B([]),Object.values(null===e.t0||void 0===e.t0?void 0:e.t0.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return te(e,{variant:"error"})}))}));case 12:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(){return e.apply(this,arguments)}}(),se=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,r,o,i,a;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Re.post("/v1/all-time-slots",{date:Vs()(t).format("YYYY-MM-DD"),treatmentTypes:p.map((function(e){return e.id})),time:Vs()().format("HH:mm"),location:M||"all"});case 3:n=e.sent,(r=n.data).message?(P(r.message),B([])):(P(null),B(r),D(null===r||void 0===r?void 0:r[0]),v(u.find((function(e){var t,n,o;return(null===e||void 0===e?void 0:e.id)===(null===r||void 0===r||null===(t=r[0])||void 0===t||null===(n=t.staff)||void 0===n||null===(o=n[0])||void 0===o?void 0:o.id)}))),null===F||void 0===F||F.setLocation(re(null===r||void 0===r||null===(o=r[0])||void 0===o||null===(i=o.staff)||void 0===i||null===(a=i[0])||void 0===a?void 0:a.location))),e.next=12;break;case 8:e.prev=8,e.t0=e.catch(0),B([]),Object.values(null===e.t0||void 0===e.t0?void 0:e.t0.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return te(e,{variant:"error"})}))}));case 12:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(t){return e.apply(this,arguments)}}(),le=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Re.post("/v1/get-all-calendar",{start:Vs()(t).startOf("month").format("YYYY-MM-DD"),end:Vs()(t).endOf("month").format("YYYY-MM-DD"),date:Vs()(t).format("YYYY-MM-DD"),treatmentTypes:p.map((function(e){return e.id})),time:Vs()().format("HH:mm"),location:M||"all"}).then((function(e){var t,n,r,o,i,a,s,l,c,u,d;$(null===e||void 0===e||null===(t=e.data)||void 0===t||null===(n=t.calendar)||void 0===n||null===(r=n.shift)||void 0===r?void 0:r.map((function(e){return null===e||void 0===e?void 0:e.start_date})));var p=null===e||void 0===e||null===(o=e.data)||void 0===o||null===(i=o.calendar)||void 0===i||null===(a=i.daysOff)||void 0===a?void 0:a.map((function(e){return null===e||void 0===e?void 0:e.start_date}));Y(p),B(null===e||void 0===e||null===(s=e.data)||void 0===s||null===(l=s.calendar)||void 0===l?void 0:l.timeSlots),D(null===e||void 0===e||null===(c=e.data)||void 0===c||null===(u=c.calendar)||void 0===u||null===(d=u.timeSlots)||void 0===d?void 0:d[0])}));case 3:e.next=9;break;case 5:e.prev=5,e.t0=e.catch(0),B([]),Object.values(null===e.t0||void 0===e.t0?void 0:e.t0.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return te(e,{variant:"error"})}))}));case 9:case"end":return e.stop()}}),e,null,[[0,5]])})));return function(t){return e.apply(this,arguments)}}(),ce=function(){var e,t;f(Vs()(w).format("YYYY-MM-DD")+" "+(null===k||void 0===k?void 0:k.date)),(null===_||void 0===_||null===(e=_.user)||void 0===e||null===(t=e.patients)||void 0===t?void 0:t.length)>0?h():b("signIn")};(0,e.useEffect)((function(){g||(ae(),D(null))}),[w]);return(0,Kl.jsxs)("div",{className:Nte.calendarWrapper,children:[(0,Kl.jsxs)("div",{className:Nte.mobileNavButtons,children:[(0,Kl.jsx)(zd.Z,{onClick:m,className:Nte.mobileNextButton,fullWidth:!0,color:"primary",variant:"contained",children:"Previous"}),(0,Kl.jsx)(zd.Z,{disabled:!k||!w,onClick:ce,className:Nte.mobileNextButton,fullWidth:!0,color:"primary",variant:"contained",children:"Next"})]}),J?(0,Kl.jsx)(Rp,{variant:"rect",height:440,className:Nte.calendarSkeleton}):(0,Kl.jsxs)("div",{className:Nte.calendarContainer,children:[(0,Kl.jsx)(nk(),{dateFormat:"MMMM d",calendarStartDay:1,inline:!0,calendarClassName:"external-booking-calendar",selected:w,onChange:function(e){return C(t=e),void(g&&se(t));var t},onMonthChange:function(e){return function(e){var t=Vs()(e).isBefore(Vs()());C(t?new Date:e),g?le(t?new Date:e):ie(t?new Date:e)}(e)},dayClassName:function(e){return function(e){return!(null===Q||void 0===Q||!Q.includes(Vs()(e).format("yyyy-MM-DD")))||Vs()(e).isBefore(Vs()().subtract(1,"day"))||(null===ne||void 0===ne?void 0:ne.includes(Vs()(e).format("dddd")))&&!H.includes(Vs()(e).format("yyyy-MM-DD"))||Vs()(e).isAfter(Vs()(_.clinic.maxAvailableDateForBooking))}(e)?"react-datepicker__day--non-working":void 0}}),(0,Kl.jsx)("div",{className:Nte.doctorWrapper,children:!!d&&(0,Kl.jsx)(jw,{name:Qs(null===d||void 0===d||null===(r=d.user)||void 0===r?void 0:r.firstName,null===d||void 0===d||null===(o=d.user)||void 0===o?void 0:o.lastName),avatarUrl:null===d||void 0===d||null===(i=d.user)||void 0===i?void 0:i.avatarUrl,role:null===d||void 0===d||null===(a=d.role)||void 0===a?void 0:a.name})})]}),(0,Kl.jsxs)("div",{className:Nte.time,children:[(0,Kl.jsx)("div",{className:Nte.timePicker,children:(null===j||void 0===j?void 0:j.length)>0?(0,Kl.jsx)("div",{className:Nte.timeSlots,children:null===j||void 0===j?void 0:j.map((function(e,t){return(0,Kl.jsx)("div",{className:(null===k||void 0===k?void 0:k.date)===(null===e||void 0===e?void 0:e.date)?Nte.timeSlotActive:Nte.timeSlot,onClick:function(t){return function(e){var t,n;D(e),v(u.find((function(t){var n,r;return(null===t||void 0===t?void 0:t.id)===(null===e||void 0===e||null===(n=e.staff)||void 0===n||null===(r=n[0])||void 0===r?void 0:r.id)}))),null===F||void 0===F||F.setLocation(re(null===e||void 0===e||null===(t=e.staff)||void 0===t||null===(n=t[0])||void 0===n?void 0:n.location))}(e)},children:null===e||void 0===e?void 0:e.date},t)}))}):(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(kl.Z,{className:Nte.message,children:q||(g?"The available practitioners on this day cannot perform the treatment(s) you have selected. Please choose another day":"No available time slots for this day!")}),!g&&(0,Kl.jsx)(zd.Z,{className:Nte.nextButton,onClick:function(){var e,t;(null===_||void 0===_||null===(e=_.user)||void 0===e||null===(t=e.patients)||void 0===t?void 0:t.length)>0?(f(Vs()(w).toDate()),A(Vs()(w).toDate()),b("waitlist")):(W.waitlist.setRegister(!0),b("signIn"))},children:"Join Waitlist"})]})}),(0,Kl.jsxs)("div",{className:Nte.summary,children:[(0,Kl.jsx)("div",{className:Nte.services,children:p.map((function(e,t){var n;return(0,Kl.jsxs)("div",{className:Nte.serviceInfo,children:[(0,Kl.jsx)(kl.Z,{className:Nte.serviceName,children:e.name}),(0,Kl.jsxs)(kl.Z,{variant:"h6",className:Nte.servicePrice,children:[null===(n=_.clinic)||void 0===n?void 0:n.currency," ",e.price]})]},t)}))}),(0,Kl.jsx)(Jb,{style:{marginBottom:14,marginTop:14}}),!!d&&(0,Kl.jsx)(jw,{name:Qs(null===d||void 0===d||null===(s=d.user)||void 0===s?void 0:s.firstName,null===d||void 0===d||null===(l=d.user)||void 0===l?void 0:l.lastName),avatarUrl:null===d||void 0===d||null===(c=d.user)||void 0===c?void 0:c.avatarUrl})]}),(0,Kl.jsx)(zd.Z,{disabled:!k||!w,className:Nte.nextButton,onClick:ce,children:"Next Step"})]})]})})),Bte=jte,Lte="practitionerPicker_practitionerPicker__lHeIN",Rte="practitionerPicker_noStaff__S-w+h",qte="practitionerPicker_mobileNextButton__CFRDN",Pte="practitionerPicker_practitioner__zng9U",Ite="practitionerPicker_practitionerInfo__l7Ewu",Wte="practitionerPicker_practitionerName__Oe+GC",Fte=function(t){var n=t.staff,r=t.services,o=t.setPractitioner,i=t.setNextStep,a=t.setPrevStep,s=t.setNextAvailable,l=(0,e.useMemo)((function(){return n.filter((function(e){if(e.deletedAt)return!1;var t=e.treatmentTypes.map((function(e){return e.id})),n=r.map((function(e){return e.id}));return n.every((function(e){return t.includes(e)}))}))}),[n,r]),c=function(e){return e.split(" ").map((function(e){return e[0]})).join("").toUpperCase()},u=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i(),s(!0);case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,Kl.jsxs)("div",{className:Lte,children:[(0,Kl.jsx)(zd.Z,{onClick:a,className:qte,fullWidth:!0,color:"primary",variant:"contained",children:"Previous"}),l.length>1&&(0,Kl.jsxs)("div",{className:Pte,onClick:u,children:[(0,Kl.jsx)("div",{className:Ite,children:(0,Kl.jsx)(kl.Z,{className:Wte,children:"Next Available Appointment"})}),(0,Kl.jsx)(zd.Z,{onClick:u,color:"primary",variant:"outlined",size:"small",children:"Select"})]}),0===l.length&&(0,Kl.jsx)("div",{className:Rte,children:"Doctors for the selected services were not found"}),null===l||void 0===l?void 0:l.map((function(e,t){var n,r,a,l,u,d,p;return(0,Kl.jsxs)("div",{className:Pte,children:[(0,Kl.jsxs)("div",{className:Ite,children:[(0,Kl.jsx)(jp,{alt:"".concat(null===(n=e.user)||void 0===n?void 0:n.firstName," ").concat(null===(r=e.user)||void 0===r?void 0:r.lastName),src:null===(a=e.user)||void 0===a?void 0:a.avatarUrl,children:c("".concat(null===(l=e.user)||void 0===l?void 0:l.firstName," ").concat(null===(u=e.user)||void 0===u?void 0:u.lastName))}),(0,Kl.jsxs)(kl.Z,{className:Wte,children:[null===(d=e.user)||void 0===d?void 0:d.firstName," ",null===(p=e.user)||void 0===p?void 0:p.lastName]})]}),(0,Kl.jsx)(zd.Z,{onClick:function(){return t=e,s(!1),o(t),void i();var t},color:"primary",variant:"outlined",size:"small",children:"Select"})]},t)}))]})},Ute=__webpack_require__(88340),Zte=e.forwardRef((function(t,n){var r=t.children,o=t.classes,i=t.className,a=t.disableTypography,s=void 0!==a&&a,l=t.inset,c=void 0!==l&&l,u=t.primary,d=t.primaryTypographyProps,p=t.secondary,f=t.secondaryTypographyProps,h=(0,Uu.Z)(t,["children","classes","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"]),b=e.useContext(Ute.Z).dense,A=null!=u?u:r;null==A||A.type===kl.Z||s||(A=e.createElement(kl.Z,(0,Fu.Z)({variant:b?"body2":"body1",className:o.primary,component:"span",display:"block"},d),A));var m=p;return null==m||m.type===kl.Z||s||(m=e.createElement(kl.Z,(0,Fu.Z)({variant:"body2",className:o.secondary,color:"textSecondary",display:"block"},f),m)),e.createElement("div",(0,Fu.Z)({className:(0,Zu.Z)(o.root,i,b&&o.dense,c&&o.inset,A&&m&&o.multiline),ref:n},h),A,m)})),Hte=(0,Hu.Z)({root:{flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},multiline:{marginTop:6,marginBottom:6},dense:{},inset:{paddingLeft:56},primary:{},secondary:{}},{name:"MuiListItemText"})(Zte),$te=__webpack_require__(85375),Vte=function(e){var t=e.disabled,n=e.onClick;return(0,Kl.jsx)(zd.Z,{disabled:t,onClick:n,color:"primary",variant:"contained",fullWidth:!0,children:"Next"})},Xte="treatmentPicker_treatmentPicker__kNoQh",Qte="treatmentPicker_search__timzZ",Yte="treatmentPicker_categorySelect__G7elX",Gte="treatmentPicker_category__q9JPm",Kte="treatmentPicker_services__t0KOl",Jte="treatmentPicker_service__s-UQy",ene="treatmentPicker_serviceName__UtSsO",tne="treatmentPicker_serviceMenu__wc8uJ",nne="treatmentPicker_serviceDivider__8vNpg",rne=__webpack_require__(16031),one=__webpack_require__.n(rne),ine=(0,xb.Z)(kl.Z)((function(e){return{fontSize:"16px",fontWeight:700,whiteSpace:"nowrap",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center","& span":{fontSize:"10px",lineHeight:"10px",color:e.theme.palette.lightGray.main,textAlign:"center"}}})),ane=function(e){var t=e.price,n=e.type,r=e.currency;return(0,Kl.jsxs)(ine,{children:[n===VE&&(0,Kl.jsx)("span",{children:"Price from"}),n===$E?(0,Kl.jsxs)("span",{children:["Free",(0,Kl.jsx)("br",{}),"service"]}):"".concat(r," ").concat(t)]})},sne=(0,xb.Z)(kl.Z)((function(e){return{fontSize:"16px",fontWeight:700,whiteSpace:"nowrap",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center","& span":{fontSize:"10px",lineHeight:"10px",color:e.theme.palette.lightGray.main,textAlign:"center"}}})),lne=function(e){var t=e.dynamicPriceRange,n=e.currency;return(0,Kl.jsx)(sne,{children:"".concat(n," ").concat(t.minPrice," - ").concat(n," ").concat(t.maxPrice)})},cne=$l((function(t){var o=t.staff,i=t.setServices,a=t.services,s=t.setNextStep,l=(0,e.useContext)(bA),c=(0,e.useState)([]),u=(0,n.Z)(c,2),d=u[0],p=u[1],f=(0,e.useState)(""),h=(0,n.Z)(f,2),b=h[0],A=h[1],m=(0,e.useState)(null),g=(0,n.Z)(m,2),v=g[0],y=g[1],M=(0,e.useState)(!1),O=(0,n.Z)(M,2),_=O[0],z=O[1],x=(0,e.useMemo)((function(){var e=[],t=[];return null===o||void 0===o||o.filter((function(e){return!e.deletedAt})).forEach((function(t){var n;return(n=e).push.apply(n,(0,r.Z)(t.treatmentTypes.filter((function(e){return!e.deletedAt&&!e.hide_on_external_booking}))))})),e=e.map((function(t){var n=(0,r.Z)(e).sort((function(e,t){return(null===e||void 0===e?void 0:e.price)-(null===t||void 0===t?void 0:t.price)})).find((function(e){return e.id===t.id})).price,o=(0,r.Z)(e).sort((function(e,t){return(null===t||void 0===t?void 0:t.price)-(null===e||void 0===e?void 0:e.price)})).find((function(e){return e.id===t.id})).price;return n===o?t:Us(Us({},t),{},{dynamicPriceRange:{minPrice:n,maxPrice:o}})})),e=e.sort((function(e,t){return(null===e||void 0===e?void 0:e.price)-(null===t||void 0===t?void 0:t.price)})),e=e.filter((function(e,t,n){return n.findIndex((function(t){return t.id===e.id}))===t})),e=e.sort((function(e,t){return(null===e||void 0===e?void 0:e.order)-(null===t||void 0===t?void 0:t.order)})),e=e.filter((function(e){return e.name.toLowerCase().includes(b.toLowerCase())})),e.forEach((function(e){var n,r,o=t.find((function(t){var n,r;return(null===t||void 0===t||null===(n=t.category)||void 0===n?void 0:n.name)===(null===e||void 0===e||null===(r=e.category)||void 0===r?void 0:r.name)}));o?o.treatmentTypes.push(e):t.push({category:Us(Us({},null===e||void 0===e?void 0:e.category),{},{order:null!==(n=null===e||void 0===e||null===(r=e.category)||void 0===r?void 0:r.order)&&void 0!==n?n:9999}),treatmentTypes:[e]})})),t.sort((function(e,t){var n,r;return(null===e||void 0===e||null===(n=e.category)||void 0===n?void 0:n.order)-(null===t||void 0===t||null===(r=t.category)||void 0===r?void 0:r.order)}))}),[o,b]),w=(0,e.useMemo)((function(){return d.length>0?x.filter((function(e){var t;return d.indexOf(null===(t=e.category)||void 0===t?void 0:t.name)>-1})):x}),[x,d]),C=(0,e.useCallback)((function(){return y(a.filter((function(e){return!!e.has_pre_warning})))}),[a]),S=(0,e.useCallback)((function(){z(!1),y((function(e){return(0,rne.tail)(e)}))}),[]);(0,e.useEffect)((function(){if(null!==v)return v.length>0?z(!0):void s()}),[v]);var E=(0,e.useCallback)((function(e){var t;return null===(t=e.treatmentTypes.filter((function(e){return a.map((function(e){return e.id})).includes(e.id)})))||void 0===t?void 0:t.length}),[a]),k=(0,e.useCallback)((function(e){return a.map((function(e){return e.id})).includes(e.id)}),[a]);return(0,Kl.jsxs)("div",{className:Xte,children:[(0,Kl.jsxs)(AJ.Z,{className:Yte,children:[(0,Kl.jsx)(rL.Z,{id:"categories-select-label",children:"Choose a category"}),(0,Kl.jsx)(LE.Z,{labelId:"categories-select-label",id:"categories-select",multiple:!0,value:d,onChange:function(e){p("string"===typeof e.target.value?e.target.value.split(","):e.target.value)},renderValue:function(e){return e.join(", ")},variant:"standard",children:null===x||void 0===x?void 0:x.map((function(e,t){var n,r,o;return(0,Kl.jsxs)(xd.Z,{value:null===(n=e.category)||void 0===n?void 0:n.name,children:[(0,Kl.jsx)(kk.Z,{checked:d.includes(null===(r=e.category)||void 0===r?void 0:r.name)}),(0,Kl.jsx)(Hte,{primary:null===e||void 0===e||null===(o=e.category)||void 0===o?void 0:o.name})]},t)}))})]}),(0,Kl.jsx)(Vte,{disabled:a.length<=0,onClick:C}),(0,Kl.jsx)(Wu.Z,{value:b,onChange:function(e){return A(e.target.value)},fullWidth:!0,variant:"outlined",placeholder:"Search for treatment",size:"small",className:Qte,InputProps:{startAdornment:(0,Kl.jsx)(Xu,{position:"start",children:(0,Kl.jsx)(Qu.Z,{})})}}),null===w||void 0===w?void 0:w.map((function(e,t){var n,o,s,c;return(0,Kl.jsxs)(p0,{className:Gte,children:[(0,Kl.jsx)(h0,{expandIcon:(0,Kl.jsx)(Xp.Z,{color:E(e)>0?"primary":"action"}),children:(0,Kl.jsxs)(AC,{container:!0,direction:"row",justifyContent:"space-between",alignItems:"center",children:[(0,Kl.jsx)(kl.Z,{children:null!==(n=null===e||void 0===e||null===(o=e.category)||void 0===o?void 0:o.name)&&void 0!==n?n:"Without category"}),E(e)>0&&(0,Kl.jsxs)(kl.Z,{color:"textSecondary",variant:"caption",children:[E(e)," of ",null===e||void 0===e||null===(s=e.treatmentTypes)||void 0===s?void 0:s.length]})]})}),(0,Kl.jsx)(A0,{children:(0,Kl.jsx)("div",{className:Kte,children:null===e||void 0===e||null===(c=e.treatmentTypes)||void 0===c?void 0:c.map((function(e,t){var n,o;return(0,Kl.jsxs)("div",{className:Jte,children:[(0,Kl.jsx)(kl.Z,{className:ene,children:null===e||void 0===e?void 0:e.name}),(0,Kl.jsxs)("div",{className:tne,children:[!!e.description&&(0,Kl.jsx)(Ow.ZP,{enterTouchDelay:0,title:e.description,children:(0,Kl.jsxs)(wd.Z,{children:[" ",(0,Kl.jsx)($te.Z,{})," "]})}),e.dynamicPriceRange?(0,Kl.jsx)(lne,{dynamicPriceRange:e.dynamicPriceRange,currency:null===(o=l.clinic)||void 0===o?void 0:o.currency}):(0,Kl.jsx)(ane,{price:e.price,type:e.priceType,currency:null===(n=l.clinic)||void 0===n?void 0:n.currency}),(0,Kl.jsx)("span",{className:nne}),(0,Kl.jsx)(zd.Z,{onClick:function(){return function(e){a.map((function(e){return e.id})).includes(e.id)?i(a.filter((function(t){return t.id!==e.id}))):i([].concat((0,r.Z)(a),[e]))}(e)},variant:k(e)?"contained":"outlined",size:"small",color:"primary",children:k(e)?"Selected":"Select"})]})]},t)}))})})]},t)})),(0,Kl.jsx)(Vte,{disabled:a.length<=0,onClick:C}),null!==v&&v.length>0&&(0,Kl.jsxs)(vC,{open:_,children:[(0,Kl.jsx)(MC,{children:"A little bit of information for you..."}),(0,Kl.jsxs)(_E,{dividers:!0,children:[(0,rne.first)(v).pre_warning_text?(0,rne.first)(v).pre_warning_text:(0,Kl.jsxs)(Kl.Fragment,{children:[(0,rne.first)(v).name,' involves a patch test that is a legal requirement before having this treatment done in our clinic. If you are a new patient, please do not book this appointment. But instead book "patch test".']})," ",(0,Kl.jsxs)(Cb,{sx:{marginTop:10},children:[" If you have any questions, please contact the clinic on ",(0,Kl.jsx)(lk,{href:"mailto:".concat(l.clinic.email),children:l.clinic.email})]})]}),(0,Kl.jsx)(xE,{children:(0,Kl.jsx)(AC,{container:!0,justifyContent:"center",alignItems:"center",children:(0,Kl.jsx)(zd.Z,{onClick:S,color:"primary",variant:"contained",children:"Ok"})})})]})]})})),une=cne,dne={paymentWrapper:"payment_paymentWrapper__XWH7G",cardInfo:"payment_cardInfo__BZ4WQ",bookingInfo:"payment_bookingInfo__cGlWj",paymentFinish:"payment_paymentFinish__hcVpX",bookingInfoTitle:"payment_bookingInfoTitle__TB03V",practitioner:"payment_practitioner__+tIOs",practitionerTitle:"payment_practitionerTitle__d1Tfp",practitionerInfo:"payment_practitionerInfo__VYocy",service:"payment_service__Hz9Y4",serviceTitle:"payment_serviceTitle__U8M9l",serviceInfo:"payment_serviceInfo__+d-Ve",serviceName:"payment_serviceName__iIKpz"},pne=__webpack_require__(60298),fne=__webpack_require__(14696),hne="checkoutForm_checkout__9TP3r",bne="checkoutForm_heading__EIGns",Ane="checkoutForm_submit__jKzy5",mne=function(e){var t=e.open,n=e.setOpen,r=e.redirectToUrl,o=e.setNextStep,i=e.setIsLoading,a=hE().enqueueSnackbar,s=function(){n(!1),i(!1)};return window.addEventListener("message",(function(e){if("https://api.aesthetidocs.com"===e.origin){var t=JSON.parse(e.data);"object"===typeof t&&(t.result?(s(),o(),a("Successfully!",{variant:"success",preventDuplicate:!0})):(a(null===t||void 0===t?void 0:t.message,{variant:"error",preventDuplicate:!0}),s()))}}),!1),(0,Kl.jsx)(vC,{open:t,"aria-labelledby":"form-dialog-title",PaperProps:{style:{minWidth:"90%",backgroundColor:"#f7f7fc",overflowX:"hidden"}},children:(0,Kl.jsx)("iframe",{id:"iframe",src:null===r||void 0===r?void 0:r.url,width:"100%",height:600,title:"3DS"})})},gne=$l((function(t){var r=t.deposit,o=t.services,i=t.doctor,a=t.date,s=t.setNextStep,l=t.setEndDate,c=t.setFundStatus,u=t.type,d=(0,e.useContext)(bA),p=hE().enqueueSnackbar,f=(0,fne.useStripe)(),h=(0,fne.useElements)(),b=(0,e.useState)(null),A=(0,n.Z)(b,2),m=A[0],g=A[1],v=(0,e.useState)(!1),y=(0,n.Z)(v,2),M=y[0],O=y[1],_=(0,e.useState)(!1),z=(0,n.Z)(_,2),x=z[0],w=z[1],C=(0,e.useState)(),S=(0,n.Z)(C,2),E=S[0],k=S[1],D=(0,e.useState)(),N=(0,n.Z)(D,2),T=N[0],j=N[1],B=Fc().location,L=function(e){g(e),setTimeout((function(){g(null)}),4e3)},R=function(e){var t=d.user.patients.filter((function(e){return e.clinic.id===d.clinic.id}))[0];if(!t)return L("Could not find the patient in provided clinic"),void O(!1);var n={start_date:a,payment_method:e.id,amount:100*r,treatment_types:null===o||void 0===o?void 0:o.map((function(e){return e.id})),staff_id:i.id,patient_id:t.id,clinic_id:d.clinic.id,types:[u],clinic_location_id:null===B||void 0===B?void 0:B.id};Re.post("/v1/process-payment",n).then((function(e){var t=e.data;if(null!==t&&void 0!==t&&t.redirect_to_url){var n=null===t||void 0===t?void 0:t.redirect_to_url.url.substring((null===t||void 0===t?void 0:t.redirect_to_url.url.indexOf("&payment_intent_client_secret="))+30,null===t||void 0===t?void 0:t.redirect_to_url.url.lastIndexOf("&publishable_key"));j(n),w(!0),k(null===t||void 0===t?void 0:t.redirect_to_url)}else{var r,o;O(!1),s(),l(null),c(null===t||void 0===t||null===(r=t.data)||void 0===r||null===(o=r.fundStatus)||void 0===o?void 0:o.slug)}})).catch((function(e){var t;p(null===e||void 0===e||null===(t=e.error)||void 0===t?void 0:t.message,{variant:"error"}),O(!1)}))};return(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsxs)(AC,{container:!0,direction:"column",justifyContent:"center",alignItems:"center",className:hne,children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(kl.Z,{className:bne,variant:"h5",children:"Enter your card details"})}),(0,Kl.jsxs)(AC,{item:!0,container:!0,justifyContent:"center",alignItems:"center",direction:"column",spacing:2,children:[(0,Kl.jsx)(AC,{item:!0,container:!0,direction:"column",children:(0,Kl.jsx)(hS,{children:(0,Kl.jsx)(AS,{style:{backgroundColor:"#EFF0F7"},children:(0,Kl.jsx)(fne.CardNumberElement,{})})})}),(0,Kl.jsx)(AC,{item:!0,container:!0,direction:"column",children:(0,Kl.jsxs)(AC,{container:!0,direction:"row",spacing:2,children:[(0,Kl.jsx)(AC,{item:!0,xs:8,children:(0,Kl.jsx)(hS,{children:(0,Kl.jsx)(AS,{style:{backgroundColor:"#EFF0F7"},children:(0,Kl.jsx)(fne.CardExpiryElement,{})})})}),(0,Kl.jsx)(AC,{item:!0,xs:4,children:(0,Kl.jsx)(hS,{children:(0,Kl.jsx)(AS,{style:{backgroundColor:"#EFF0F7"},children:(0,Kl.jsx)(fne.CardCvcElement,{})})})})]})})]}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(zd.Z,{color:"secondary",variant:"contained",onClick:function(e,t){return(0,Hs.Z)((0,Zs.Z)().mark((function n(){var r,o,i,a;return(0,Zs.Z)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!M){n.next=2;break}return n.abrupt("return");case 2:return O(!0),r=t.getElement(fne.CardNumberElement),n.next=6,e.createPaymentMethod({type:"card",card:r});case 6:o=n.sent,i=o.error,a=o.paymentMethod,i?(L(i.message),O(!1)):R(a);case 10:case"end":return n.stop()}}),n)})))}(f,h),disabled:M||(null===o||void 0===o?void 0:o.length)<=0||!i,className:Ane,children:"Pay Online"})}),(0,Kl.jsx)(zS,{in:!!m,children:(0,Kl.jsx)(Xh,{severity:"error",children:m})})]}),(0,Kl.jsx)(mne,{open:x,setOpen:w,redirectToUrl:E,secret:T,setNextStep:s,setIsLoading:O})]})})),vne=gne,yne=$l((function(t){var r,o,i,a,s,l,c,u,d,p,f=t.staff,h=t.services,b=t.date,A=t.setNextStep,m=t.setEndDate,g=t.setFundStatus,v=(0,e.useContext)(bA),y=(0,e.useState)(null),M=(0,n.Z)(y,2),O=M[0],_=M[1],z=hE().enqueueSnackbar,x=(0,e.useState)(!1),w=(0,n.Z)(x,2),C=w[0],S=w[1],E=Fc().location,k=(0,e.useState)(),D=(0,n.Z)(k,2),N=D[0],T=D[1],j=(0,e.useMemo)((function(){var e=0;return null===h||void 0===h||h.forEach((function(t){return e+=t.deposit})),e}),[h]),B=(0,e.useMemo)((function(){var e=0;return null===h||void 0===h||h.forEach((function(t){return e+=t.price})),e}),[h]),L=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t,n;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get("/v1/appointment-type",{params:{clinic_id:v.clinic.id}});case 2:t=e.sent,n=t.data,T(n.data.find((function(e){return"treatment"===e.slug})).id);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();(0,e.useEffect)((function(){var e;_((e="pk_live_51LPMPQLuStyVivuvJoKJU2JQFmFuVdvBB2TV4cmdY8g29ME4fqUEQsH25zKTvNTVga3QzQCE6Gi9E4BCWRLUIuC0003eyqqqRH",pne.loadStripe.setLoadParameters({advancedFraudSignals:!1}),(0,pne.loadStripe)(e))),L()}),[v.clinic.id]);return(0,Kl.jsxs)("div",{className:dne.paymentWrapper,children:[(0,Kl.jsx)("div",{className:dne.cardInfo,children:j>0?(0,Kl.jsx)(fne.Elements,{stripe:O,children:(0,Kl.jsx)(vne,{deposit:j,services:h,doctor:f,date:b,setNextStep:A,setEndDate:m,setFundStatus:g,type:N})}):(0,Kl.jsx)(zd.Z,{color:"secondary",variant:"contained",onClick:function(){var e,t=v.user.patients.filter((function(e){return e.clinic.id===v.clinic.id}))[0];if(t){var n={start_date:b,amount:100*j,treatment_types:null===h||void 0===h?void 0:h.map((function(e){return e.id})),staff_id:null===f||void 0===f?void 0:f.id,patient_id:null===t||void 0===t?void 0:t.id,clinic_id:null===v||void 0===v||null===(e=v.clinic)||void 0===e?void 0:e.id,types:[N],clinic_location_id:null===E||void 0===E?void 0:E.id};Re.post("/v1/external-appointment",n).then((function(e){e.data;S(!1),A(),m(null)})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return z(e,{variant:"error"})}))})),S(!1)}))}else z("Could not find the patient in provided clinic",{variant:"error"})},disabled:C||(null===h||void 0===h?void 0:h.length)<=0||!f,className:dne.submit,children:"Book"})}),(0,Kl.jsxs)("div",{className:dne.bookingInfo,children:[(0,Kl.jsx)(kl.Z,{className:dne.bookingInfoTitle,children:"Booking Overview"}),(0,Kl.jsxs)("div",{className:dne.practitioner,children:[(0,Kl.jsx)(kl.Z,{className:dne.practitionerTitle,children:"Selected Practitioner"}),(0,Kl.jsxs)("div",{className:dne.practitionerInfo,children:[(0,Kl.jsx)(jp,{alt:"".concat(null===(r=f.user)||void 0===r?void 0:r.firstName," ").concat(null===(o=f.user)||void 0===o?void 0:o.lastName),src:null===(i=f.user)||void 0===i?void 0:i.avatarUrl,children:function(e){return e.split(" ").map((function(e){return e[0]})).join("").toUpperCase()}("".concat(null===(a=f.user)||void 0===a?void 0:a.firstName," ").concat(null===(s=f.user)||void 0===s?void 0:s.lastName))}),(0,Kl.jsxs)(kl.Z,{className:dne.practitionerName,children:[null===(l=f.user)||void 0===l?void 0:l.firstName," ",null===(c=f.user)||void 0===c?void 0:c.lastName]})]})]}),(0,Kl.jsxs)("div",{className:dne.service,children:[(0,Kl.jsx)(kl.Z,{className:dne.serviceTitle,children:"Location"}),(0,Kl.jsx)("div",{className:dne.serviceInfo,children:(0,Kl.jsx)(kl.Z,{className:dne.serviceName,children:null===E||void 0===E?void 0:E.address})})]}),(0,Kl.jsxs)("div",{className:dne.service,children:[(0,Kl.jsx)(kl.Z,{className:dne.serviceTitle,children:"Selected Date"}),(0,Kl.jsx)("div",{className:dne.serviceInfo,children:(0,Kl.jsx)(kl.Z,{className:dne.serviceName,children:Vs()(b).format("HH:mm DD/MM/YYYY")})})]}),(0,Kl.jsxs)("div",{className:dne.service,children:[(0,Kl.jsx)(kl.Z,{className:dne.serviceTitle,children:"Selected Services"}),h.map((function(e,t){var n;return(0,Kl.jsxs)("div",{className:dne.serviceInfo,children:[(0,Kl.jsx)(kl.Z,{className:dne.serviceName,children:null===e||void 0===e?void 0:e.name}),(0,Kl.jsxs)(kl.Z,{className:dne.servicePrice,children:[null===(n=v.clinic)||void 0===n?void 0:n.currency," ",null===e||void 0===e?void 0:e.price]})]},t)}))]}),(0,Kl.jsxs)("div",{className:dne.service,children:[(0,Kl.jsxs)("div",{className:dne.serviceInfo,children:[(0,Kl.jsx)(kl.Z,{className:dne.serviceTitle,children:"Total"}),(0,Kl.jsxs)(kl.Z,{className:dne.serviceName,children:[null===(u=v.clinic)||void 0===u?void 0:u.currency," ",null===B||void 0===B?void 0:B.toFixed(2)]})]}),(0,Kl.jsxs)("div",{className:dne.serviceInfo,children:[(0,Kl.jsx)(kl.Z,{className:dne.serviceTitle,children:"You are paying today"}),(0,Kl.jsxs)(kl.Z,{className:dne.serviceName,children:[null===(d=v.clinic)||void 0===d?void 0:d.currency," ",null===j||void 0===j?void 0:j.toFixed(2)]})]}),(0,Kl.jsxs)("div",{className:dne.serviceInfo,children:[(0,Kl.jsx)(kl.Z,{className:dne.serviceTitle,children:"Remaining Balance"}),(0,Kl.jsxs)(kl.Z,{className:dne.serviceName,children:[null===(p=v.clinic)||void 0===p?void 0:p.currency," ",((null===B||void 0===B?void 0:B.toFixed(2))-(null===j||void 0===j?void 0:j.toFixed(2))).toFixed(2)]})]})]})]})]})})),Mne=yne,One=__webpack_require__(32015),_ne=["children","onClose","onClickBack"],zne=function(e){var t=e.children,n=e.onClose,r=e.onClickBack,o=(0,Uu.Z)(e,_ne);return(0,Kl.jsx)(MC,Us(Us({disableTypography:!0},o),{},{children:(0,Kl.jsxs)(AC,{container:!0,justifyContent:"space-between",alignItems:"center",children:[(0,Kl.jsxs)(AC,{item:!0,container:!0,wrap:"nowrap",xs:!0,alignItems:"center",children:[r?(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(wd.Z,{"aria-label":"close",onClick:r,children:(0,Kl.jsx)(One.Z,{})})}):null,(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(kl.Z,{variant:"h6",children:t})})]}),n?(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(wd.Z,{"aria-label":"close",onClick:n,children:(0,Kl.jsx)(dB.Z,{})})}):null]})}))},xne="waitlist_containerWrapper__tKspf",wne="waitlist_container__+wd3s",Cne="waitlist_topContent__bNmS-",Sne="waitlist_bottomContent__Mm87A",Ene=$l((function(t){var r=t.selectedServices,o=t.staff,i=t.dialog,a=t.setDialog,s=t.setActiveStep,l=t.startDate,c=t.setStartDate,u=t.endDate,d=t.setEndDate,p=(0,e.useContext)(bA),f=hE().enqueueSnackbar,h=Fc().location,b=Ru(),A=(0,n.Z)(b,1)[0],m=function(){a("close")},g=Vs()(),v=Vs()().add(1,"day"),y=[{text:"Today",start:g,end:g},{text:"Tomorrow",start:v,end:v},{text:"Next Week",start:g,end:Vs()().add(1,"week")},{text:"Next Month",start:g,end:Vs()().add(1,"month")}],M=(0,e.useMemo)((function(){return A<740?1:A<1080?2:3}),[A]),O=(0,e.useMemo)((function(){return A<740?850:700}),[A]);return(0,Kl.jsx)(Kl.Fragment,{children:(0,Kl.jsxs)(vC,{onClose:m,"aria-labelledby":"simple-dialog-title",open:"waitlist"===i,PaperProps:{style:{minWidth:"90%",backgroundColor:"#f7f7fc",minHeight:O}},children:[(0,Kl.jsx)(zne,{id:"customized-dialog-title",onClose:m,children:"Join Waitlist"}),(0,Kl.jsx)(_E,{dividers:!0,className:xne,children:(0,Kl.jsxs)("div",{className:wne,children:[(0,Kl.jsxs)("div",{className:Cne,children:[(0,Kl.jsx)(kl.Z,{children:"To join our waitlist, please select a date or range that suit you and watch"}),(0,Kl.jsx)(kl.Z,{children:"out for a email or call from the clinic if space becomes available"}),(0,Kl.jsx)(uK,{startDate:l?Vs()(l):null,endDate:u?Vs()(u):null,onDatesChange:function(e){c(e.startDate),d(e.endDate)},transitionDuration:0,numberOfMonths:M,presets:y})]}),(0,Kl.jsx)("div",{className:Sne,children:(0,Kl.jsx)(zd.Z,{color:"secondary",variant:"contained",onClick:function(){var e,t,n;Re.post("/v1/wait-list",{appointment_type_id:1,doctor_id:null===o||void 0===o?void 0:o.id,selected_services:r.map((function(e){return{id:e.id}})),waiting_at:Vs()(l).format("YYYY-MM-DDTHH:mm"),end_waiting_at:Vs()(u).format("YYYY-MM-DDTHH:mm"),patient_id:null===p||void 0===p||null===(e=p.user)||void 0===e||null===(t=e.patients)||void 0===t||null===(n=t.find((function(e){var t,n;return(null===e||void 0===e||null===(t=e.clinic)||void 0===t?void 0:t.id)===(null===p||void 0===p||null===(n=p.clinic)||void 0===n?void 0:n.id)})))||void 0===n?void 0:n.id,clinic_location_id:null===h||void 0===h?void 0:h.id}).then((function(e){e.data;f("You have been successfully added to the waitlist!",{variant:"success"}),a("close"),s(5)})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return f(e,{variant:"error"})}))}))}))},children:"Join"})})]})})]})})})),kne=Ene,Dne="success_successMessage__7tO-7",Nne="success_successText__7EyIw",Tne="success_summary__YIsBR",jne="success_summaryRow__1Brk5",Bne="success_rowName__FAeX6",Lne="success_rowValue__EekGn",Rne=$l((function(t){var n,r,o,i,a,s,l,c,u,d,p=t.practitioner,f=t.services,h=t.startDate,b=t.endDate,A=t.fundStatus,m=(0,e.useContext)(bA),g=Fc().location,v=(0,e.useMemo)((function(){var e=0;return null===f||void 0===f||f.forEach((function(t){return e+=t.deposit})),e}),[f]),y=(0,e.useMemo)((function(){var e=0;return null===f||void 0===f||f.forEach((function(t){return e+=t.price})),e}),[f]);return(0,Kl.jsxs)("div",{className:Dne,children:[(0,Kl.jsx)(kl.Z,{className:Nne,children:b?"Successfully added to waitlist!":"Successfully booked!"}),(0,Kl.jsxs)("div",{className:Tne,children:[(0,Kl.jsx)("div",{className:jne,children:(0,Kl.jsxs)("div",{children:[(0,Kl.jsx)(jp,{alt:"".concat(null===(n=p.user)||void 0===n?void 0:n.firstName," ").concat(null===(r=p.user)||void 0===r?void 0:r.lastName),src:null===(o=p.user)||void 0===o?void 0:o.avatarUrl,children:function(e){return e.split(" ").map((function(e){return e[0]})).join("").toUpperCase()}("".concat(null===(i=p.user)||void 0===i?void 0:i.firstName," ").concat(null===(a=p.user)||void 0===a?void 0:a.lastName))}),(0,Kl.jsx)(kl.Z,{className:Lne,children:"".concat(null===(s=p.user)||void 0===s?void 0:s.firstName," ").concat(null===(l=p.user)||void 0===l?void 0:l.lastName)})]})}),(0,Kl.jsxs)("div",{className:jne,children:[(0,Kl.jsx)(kl.Z,{className:Bne,children:"Location"}),(0,Kl.jsx)(kl.Z,{className:Lne,children:null===g||void 0===g?void 0:g.address})]}),f.map((function(e,t){var n,r;return(0,Kl.jsxs)("div",{children:[(0,Kl.jsxs)("div",{className:jne,children:[(0,Kl.jsx)(kl.Z,{className:Bne,children:"Service:"}),(0,Kl.jsx)(kl.Z,{className:Lne,children:e.name})]}),(0,Kl.jsxs)("div",{className:jne,children:[(0,Kl.jsx)(kl.Z,{className:Bne,children:"Price:"}),(0,Kl.jsxs)(kl.Z,{className:Lne,children:[null===(n=m.clinic)||void 0===n?void 0:n.currency," ",e.price]})]}),!b&&(0,Kl.jsxs)("div",{className:jne,children:[(0,Kl.jsx)(kl.Z,{className:Bne,children:"Deposit:"}),(0,Kl.jsxs)(kl.Z,{className:Lne,children:[null===(r=m.clinic)||void 0===r?void 0:r.currency," ",e.deposit]})]})]},t)})),(0,Kl.jsxs)("div",{className:jne,children:[(0,Kl.jsx)(kl.Z,{className:Bne,children:"Start Date:"}),(0,Kl.jsx)(kl.Z,{className:Lne,children:Vs()(h).format("HH:mm DD/MM/YYYY")})]}),b&&(0,Kl.jsxs)("div",{className:jne,children:[(0,Kl.jsx)(kl.Z,{className:Bne,children:"End Date:"}),(0,Kl.jsx)(kl.Z,{className:Lne,children:Vs()(b).format("HH:mm DD/MM/YYYY")})]}),!b&&(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsxs)("div",{className:jne,children:[(0,Kl.jsx)(kl.Z,{className:Bne,children:"Deposit Paid:"}),(0,Kl.jsx)(kl.Z,{className:Lne,style:{color:"not-paid"===A?"red":"black"},children:"not-paid"===A?"payment failed":"".concat(null===(c=m.clinic)||void 0===c?void 0:c.currency," ").concat(null===v||void 0===v?void 0:v.toFixed(2))})]}),(0,Kl.jsxs)("div",{className:jne,children:[(0,Kl.jsx)(kl.Z,{className:Bne,children:"Remaining Balance:"}),(0,Kl.jsxs)(kl.Z,{className:Lne,children:[null===(u=m.clinic)||void 0===u?void 0:u.currency," ","not-paid"===A?null===y||void 0===y?void 0:y.toFixed(2):((null===y||void 0===y?void 0:y.toFixed(2))-(null===v||void 0===v?void 0:v.toFixed(2))).toFixed(2)]})]})]}),(0,Kl.jsxs)("div",{className:jne,children:[(0,Kl.jsx)(kl.Z,{className:Bne,children:"Total Price:"}),(0,Kl.jsxs)(kl.Z,{className:Lne,children:[null===(d=m.clinic)||void 0===d?void 0:d.currency," ",null===y||void 0===y?void 0:y.toFixed(2)]})]})]})]})})),qne=Rne,Pne="locationPicker_locationPicker__xeL+j",Ine="locationPicker_search__cFzlp",Wne="locationPicker_locations__JFv+h",Fne="locationPicker_location__DTHA5",Une="locationPicker_serviceMenu__vo+bi",Zne=function(e){var t=e.address,n=e.id,r=e.location,o=e.onClick;return(0,Kl.jsxs)("div",{className:Fne,children:[(0,Kl.jsx)(kl.Z,{children:t}),(0,Kl.jsx)("div",{className:Une,children:(0,Kl.jsx)(zd.Z,{onClick:function(){return o(n)},variant:n===r?"contained":"outlined",size:"small",color:"primary",disableElevation:!0,children:n===r?"Selected":"Select"})})]},n)},Hne=$l((function(t){var r=t.location,o=t.setLocation,i=t.setNextStep,a=t.clinicLocations,s=(0,e.useState)(""),l=(0,n.Z)(s,2),c=l[0],u=l[1],d=Fc().location,p=function(e){o(e),null===d||void 0===d||d.setLocation(null===a||void 0===a?void 0:a.find((function(t){return(null===t||void 0===t?void 0:t.id)===e})))},f=(0,e.useMemo)((function(){return null===a||void 0===a?void 0:a.filter((function(e){return e.address.toLowerCase().includes(c.toLowerCase())}))}),[a,c]);return(0,Kl.jsxs)("div",{className:Pne,children:[(0,Kl.jsx)(Vte,{onClick:i}),(0,Kl.jsx)(Wu.Z,{value:c,onChange:function(e){return u(e.target.value)},fullWidth:!0,variant:"outlined",placeholder:"Search location",size:"small",className:Ine,InputProps:{startAdornment:(0,Kl.jsx)(Xu,{position:"start",children:(0,Kl.jsx)(Qu.Z,{})})}}),(0,Kl.jsx)("div",{className:Wne,children:null===f||void 0===f?void 0:f.map((function(e,t){return(0,Kl.jsx)(Zne,{id:null===e||void 0===e?void 0:e.id,address:null===e||void 0===e?void 0:e.address,location:r,onClick:p},null===e||void 0===e?void 0:e.id)}))}),(0,Kl.jsx)(Vte,{onClick:i})]})})),$ne=Hne,Vne=$l((function(t){var r,o,i,a,s=Ae(),l=s.setDialog,c=s.dialog,u=(0,e.useState)(0),d=(0,n.Z)(u,2),p=d[0],f=d[1],h=(0,e.useState)(),b=(0,n.Z)(h,2),A=b[0],m=b[1],g=(0,e.useState)([]),v=(0,n.Z)(g,2),y=v[0],M=v[1],O=(0,e.useState)(null),_=(0,n.Z)(O,2),z=_[0],x=_[1],w=(0,e.useState)(),C=(0,n.Z)(w,2),S=C[0],E=C[1],k=(0,e.useState)(),D=(0,n.Z)(k,2),N=D[0],T=D[1],j=(0,e.useState)(!1),B=(0,n.Z)(j,2),L=B[0],R=B[1],q=(0,e.useState)(),P=(0,n.Z)(q,2),I=P[0],W=P[1],F=(0,e.useState)(),U=(0,n.Z)(F,2),Z=U[0],H=U[1],$=Fc().location,V=(0,e.useContext)(bA),X=(0,e.useRef)(null),Q=(0,e.useMemo)((function(){var e,t;return null===V||void 0===V||null===(e=V.clinic)||void 0===e||null===(t=e.locations)||void 0===t?void 0:t.filter((function(e){return!(null!==e&&void 0!==e&&e.deleted_at)}))}),[null===V||void 0===V||null===(r=V.clinic)||void 0===r?void 0:r.locations]),Y=(0,e.useMemo)((function(){if(Q){var e=["Treatment","Practitioner","Time","Payment","Finish"];return(null===Q||void 0===Q?void 0:Q.length)>1?["Location"].concat(e):(f(1),e)}return[]}),[Q]);(0,e.useEffect)((function(){var e,t,n,r;null===V||void 0===V||null===(e=V.clinic)||void 0===e||!e.mainLocation||null!==$&&void 0!==$&&$.id||(H(null===V||void 0===V||null===(t=V.clinic)||void 0===t||null===(n=t.mainLocation)||void 0===n?void 0:n.id),null===$||void 0===$||$.setLocation(null===V||void 0===V||null===(r=V.clinic)||void 0===r?void 0:r.mainLocation))}),[null===V||void 0===V||null===(o=V.clinic)||void 0===o?void 0:o.mainLocation,null===$||void 0===$?void 0:$.id]),(0,e.useEffect)((function(){Z&&G(Z)}),[Z]);var G=function(e){X.current&&X.current.cancel("Operation canceled due to new request."),X.current=Le().CancelToken.source(),Re.get("/v1/staff-by-subdomain",{params:{location:e||"all"},cancelToken:X.current.token}).then((function(e){m(e.data.data)})).catch((function(e){Le().isCancel(e)&&console.log("Request canceled",e.message)}))},K=function(){f(p+1),window.scrollTo(0,0)},J=function(){2===p&&(x(null),R(!1)),f(p-1),window.scrollTo(0,0)},ee=(0,e.useMemo)((function(){var e=[];return null===A||void 0===A||A.filter((function(e){return e.treatmentTypes.some((function(e){return y.map((function(e){return e.id})).includes(e.id)}))})).forEach((function(t){return t.workingHours.forEach((function(t){return e.includes(t.workingDay)?null:e.push(t.workingDay)}))})),e}),[A,y]),te=(0,e.useMemo)((function(){return z?null===y||void 0===y?void 0:y.map((function(e){var t,n=null===z||void 0===z||null===(t=z.treatmentTypes)||void 0===t?void 0:t.find((function(t){return t.id===e.id}));return n})):y}),[y,z]);return(0,Kl.jsxs)(AC,{container:!0,className:lte.wrapper,direction:"row",children:[(0,Kl.jsxs)(AC,{container:!0,item:!0,className:lte.main,children:[(0,Kl.jsxs)(AC,{container:!0,className:lte.mainHeaderAndStepper,children:[(0,Kl.jsxs)(AC,{container:!0,item:!0,className:lte.mainHeader,children:[(0,Kl.jsxs)(AC,{container:!0,item:!0,xs:!0,alignItems:"center",children:[0===p||5===p?(0,Kl.jsx)(wd.Z,{onClick:J,style:{opacity:0},disabled:!0,children:(0,Kl.jsx)(Cd.Z,{})}):(0,Kl.jsx)(wd.Z,{onClick:J,disabled:0===p,children:(0,Kl.jsx)(Cd.Z,{})}),(0,Kl.jsx)(kl.Z,{className:lte.mainTitle,children:"Book an Appointment"})]}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsxs)(kl.Z,{className:lte.mainDesc,children:["Follow the ",Y.length," simple steps to complete your booking."]})})]}),(0,Kl.jsx)(Ote,{alternativeLabel:!0,activeStep:(null===Q||void 0===Q?void 0:Q.length)>1?p:p-1,connector:(0,Kl.jsx)(vte,{}),className:lte.stepper,children:Y.map((function(e){return(0,Kl.jsx)(zte,{children:(0,Kl.jsx)(Dte,{className:lte.step,children:e})},e)}))})]}),(0,Kl.jsxs)(AC,{container:!0,item:!0,className:lte.actionBlock,children:[0===p&&(0,Kl.jsx)($ne,{setNextStep:K,setLocation:H,location:Z,clinicLocations:Q}),1===p&&(0,Kl.jsx)(une,{staff:A,services:y,setServices:M,setNextStep:K,setLocation:H,location:Z}),2===p&&(0,Kl.jsx)(Fte,{staff:A,services:y,setPractitioner:x,setNextStep:K,setPrevStep:J,setNextAvailable:R}),3===p&&(0,Kl.jsx)(Bte,{practitioner:z,staff:A,services:y,setSelectedDate:E,setNextStep:K,setEndDate:T,setDialog:l,setPrevStep:J,nextAvailable:L,setSelectedPractitioner:x,setNextAvailable:R,workingDays:ee,location:Z,clinicLocations:Q}),4===p&&(0,Kl.jsx)(Mne,{staff:z,services:te,date:S,setNextStep:K,setEndDate:T,setFundStatus:W}),5===p&&(0,Kl.jsx)(qne,{practitioner:z,services:te,startDate:S,endDate:N,fundStatus:I})]})]}),(0,Kl.jsxs)(AC,{container:!0,item:!0,direction:"column",className:lte.clinicInfo,children:[!(null===(i=V.clinic)||void 0===i||null===(a=i.description)||void 0===a||!a.length)&&(0,Kl.jsx)(Ate,{}),(0,Kl.jsx)(ste,{})]}),(0,Kl.jsx)(kne,{selectedServices:y,staff:z,setDialog:l,dialog:c,selectedDate:S,setEndDate:T,endDate:N,setActiveStep:f,startDate:S,setStartDate:E,location:Z})]})})),Xne=Vne,Qne=function(){var t=(0,e.useContext)(bA).clinic;return(0,Kl.jsxs)(AC,{container:!0,className:lte.wrapper,direction:"column",children:[!!t.policy&&(0,Kl.jsxs)(AC,{container:!0,item:!0,className:lte.main,children:[(0,Kl.jsx)(AC,{container:!0,item:!0,className:lte.mainHeader,style:{marginBottom:24},children:(0,Kl.jsx)(kl.Z,{className:lte.mainTitle,children:"Privacy Policy from your clinic"})}),(0,Kl.jsx)(AC,{container:!0,item:!0,className:lte.actionBlock,dangerouslySetInnerHTML:{__html:t.policy}})]}),(0,Kl.jsxs)(AC,{container:!0,item:!0,className:lte.main,children:[(0,Kl.jsx)(AC,{container:!0,item:!0,className:lte.mainHeader,style:{marginBottom:24},children:(0,Kl.jsx)(kl.Z,{className:lte.mainTitle,children:"Privacy Policy from the AesthetiDocs Software"})}),(0,Kl.jsxs)(AC,{container:!0,item:!0,className:lte.actionBlock,children:[(0,Kl.jsx)(kl.Z,{variant:"body1",children:'Aesthetidocs Limited ("Aesthetidocs") is committed to protecting your personal information and respecting applicable data protection laws around the world. This privacy policy explains how we do this, and it applies to your use of our websites, products, and services.'}),(0,Kl.jsx)(kl.Z,{variant:"h6",children:"How we use your personal information"}),(0,Kl.jsxs)(kl.Z,{variant:"body1",children:["We use personal information in order to promote and provide the Aesthetidocs software service, to ensure the security of our websites, and to run our business. We have set out below more information on the categories of personal information that we collect, the specific ways in which that personal information is processed by us, the legal bases which permit us to do this, and the types of partners with whom we share your personal information.",(0,Kl.jsx)("br",{})," ",(0,Kl.jsx)("br",{}),"In some cases where we ask for your personal information, we do so in order for us to fulfil your request or order (e.g. needing your email address to create your account with us). If you do not provide that personal information we will not be able to process your request or order."]}),(0,Kl.jsx)(kl.Z,{variant:"h6",children:"What information does Aesthetidocs collect?"}),(0,Kl.jsxs)(kl.Z,{variant:"body1",children:["We collect and process personal data about you when you purchase our services and interact with us and our platform. This information may include:",(0,Kl.jsxs)("ul",{children:[(0,Kl.jsx)("li",{children:"Your name, username, and password"}),(0,Kl.jsx)("li",{children:"Your address, email address, and phone number"}),(0,Kl.jsx)("li",{children:"Your payment details"}),(0,Kl.jsx)("li",{children:"Your marketing preferences, including any consents you have given us"}),(0,Kl.jsx)("li",{children:"Information related to the browser or device you use to access our websites"}),(0,Kl.jsx)("li",{children:"Records of your use of Aesthetidocs services"}),(0,Kl.jsx)("li",{children:"Any personal medical information you submit to us when completing any of our forms, documentation or otherwise provided by you as part of booking and managing your appointment with your chosen clinic"})]})]}),(0,Kl.jsx)(kl.Z,{variant:"h6",children:"How does Aesthetidocs use your information?"}),(0,Kl.jsxs)(kl.Z,{variant:"body1",children:["We use your information as follows:",(0,Kl.jsx)("br",{}),(0,Kl.jsx)("br",{}),"To fulfil a contract with you or take steps at your request before this:",(0,Kl.jsxs)("ul",{children:[(0,Kl.jsxs)("li",{children:["When you use our platform to create and manage a booking with a clinic"," "]}),(0,Kl.jsxs)("li",{children:["Providing information and technical support if you ask for this"," "]}),(0,Kl.jsxs)("li",{children:["Contacting you with information about changes to services"," "]}),(0,Kl.jsxs)("li",{children:["Handling credit card information provided through our websites using PCI-compliant payment services"," "]}),(0,Kl.jsx)("li",{children:"Storing and analysing your information in order to review and progress your job application if you apply to work with us"})]}),(0,Kl.jsx)("br",{}),"As required by Aesthetidocs to conduct our business and pursue our legitimate interests, in particular:",(0,Kl.jsxs)("ul",{children:[(0,Kl.jsx)("li",{children:"Giving you access to our products or services"}),(0,Kl.jsxs)("li",{children:["Providing you with different content within a product or service, depending on how you use that product or service"," "]}),(0,Kl.jsxs)("li",{children:["Letting you know about Aesthetidocs products and services by post, email, and phone in accordance with your marketing preferences and laws relating to direct marketing"," "]}),(0,Kl.jsxs)("li",{children:["Analysing how you use Aesthetidocs products and services so we can improve our levels of service and develop future products and services, including through the use of surveys"," "]}),(0,Kl.jsx)("li",{children:"Ensuring the security of Aesthetidocs websites and information technology systems and protecting our rights."})]}),(0,Kl.jsx)("br",{}),"Where you give us consent:",(0,Kl.jsxs)("ul",{children:[(0,Kl.jsxs)("li",{children:["Where we need your consent to process your medical and other sensitive personal information"," "]}),(0,Kl.jsxs)("li",{children:["If we need your consent in order to send marketing for Aesthetidocs products and services to you"," "]})]}),(0,Kl.jsx)("br",{}),"For purposes which are required by law:",(0,Kl.jsx)("ul",{children:(0,Kl.jsx)("li",{children:"Sharing your personal information in order to comply with legal obligations to which Aesthetidocs is subject."})})]}),(0,Kl.jsx)(kl.Z,{variant:"h6",children:"How will Aesthetidocs share your information?"}),(0,Kl.jsxs)(kl.Z,{variant:"body1",children:["We share your personal details:",(0,Kl.jsxs)("ul",{children:[(0,Kl.jsx)("li",{children:"Within Aesthetidocs in order to carry out the processing described above"}),(0,Kl.jsxs)("li",{children:["With such clinics or treatment providers with whom you are seeking to make and manage a booking or appointment"," "]}),(0,Kl.jsxs)("li",{children:["With third party service providers who process your information on Aesthetidocs\u2019s behalf for the purposes above \u2013 such as payment processors, or IT service providers"," "]})]}),(0,Kl.jsx)("br",{}),"We will also share your personal information:",(0,Kl.jsxs)("ul",{children:[(0,Kl.jsx)("li",{children:"If we think this is necessary to in order to protect the rights, property, or safety of Aesthetidocs, our employees, our commercial partners, or our customers. This includes sharing information for the purposes of fraud protection and credit risk reduction"}),(0,Kl.jsxs)("li",{children:["With government authorities and/or law enforcement officials if required by law."," "]})]})]}),(0,Kl.jsx)(kl.Z,{variant:"h6",children:"Giving and withdrawing your consent, and updating your personal information"}),(0,Kl.jsxs)(kl.Z,{variant:"body1",children:["Where your consent is required for us to process your personal information, we will ask for your consent at the point at which you provide your data. You have the right to withdraw that consent at any time. You can also update your personal information at any time. If you wish to do either, contact us at"," ",(0,Kl.jsx)("a",{href:"mailto:support@aesthetidocs.com",children:"support@aesthetidocs.com"}),"."]}),(0,Kl.jsx)(kl.Z,{variant:"h6",children:"Storing your personal information"}),(0,Kl.jsxs)(kl.Z,{variant:"body1",children:["Your personal information may be stored and processed outside of the country where it is collected, including outside of the United Kingdom or the European Economic Area. When transferring information to others, within the UK, the EEA or otherwise, we ensure that appropriate and suitable safeguards and technical measures are in place to protect your personal data. To do this, we make use of standard contractual clauses that have been approved by the UK authorities and the European Commission with our suppliers, or we implement other similar measures required by laws around the world.",(0,Kl.jsx)("br",{}),(0,Kl.jsx)("br",{}),"We will only keep records of your personal information for as long as is reasonably necessary for the purposes for which we have collected it, and in order to comply with any statutory or regulatory obligations in relation to retention of records. We respect requests to stop processing your personal data for marketing purposes. This includes keeping a record of your request indefinitely so that we can respect your request in future."]}),(0,Kl.jsx)(kl.Z,{variant:"h6",children:"Your rights"}),(0,Kl.jsx)(kl.Z,{variant:"body1",children:"You have the right to request access to and rectification or erasure of personal information, the right to restrict processing of your personal information, and the right to object to processing of your personal information. You have the right to object to your personal information being processed on the grounds of Aesthetidocs\u2019s legitimate interests. You have the right to object to us sending you direct marketing and profiling you for the purposes of direct marketing. You have the right to lodge a complaint regarding our processing of your personal information with a data protection supervisory authority in a country where you live, work, or where you believe a breach may have occurred."}),(0,Kl.jsx)(kl.Z,{variant:"h6",children:"Contacting us"}),(0,Kl.jsxs)(kl.Z,{variant:"body1",children:["The data controller for our websites, products and services is Aesthetidocs Ltd of Lockview House, 49 Lockview Road, Belfast, Northern Ireland, BT9 5FJ.",(0,Kl.jsx)("br",{}),(0,Kl.jsx)("br",{}),"You can contact us by email at"," ",(0,Kl.jsx)("a",{href:"mailto:support@aesthetidocs.com",children:"support@aesthetidocs.com"})," ","in relation to any of the rights described in this privacy policy, or if you have any questions regarding this privacy policy"]})]})]}),(0,Kl.jsx)(ste,{})]})},Yne=function(){var t=(0,e.useContext)(bA).clinic;return(0,Kl.jsxs)(AC,{container:!0,className:lte.wrapper,direction:"column",children:[!!t.tic&&(0,Kl.jsxs)(AC,{container:!0,item:!0,className:lte.main,children:[(0,Kl.jsx)(AC,{container:!0,item:!0,className:lte.mainHeader,style:{marginBottom:24},children:(0,Kl.jsx)(kl.Z,{className:lte.mainTitle,children:"Terms & Conditions from your clinic"})}),(0,Kl.jsx)(AC,{container:!0,item:!0,className:lte.actionBlock,dangerouslySetInnerHTML:{__html:t.tic}})]}),(0,Kl.jsxs)(AC,{container:!0,item:!0,className:lte.main,children:[(0,Kl.jsx)(AC,{container:!0,item:!0,className:lte.mainHeader,style:{marginBottom:24},children:(0,Kl.jsx)(kl.Z,{className:lte.mainTitle,children:"Terms & Conditions from the AesthetiDocs Software"})}),(0,Kl.jsxs)(AC,{container:!0,item:!0,className:lte.actionBlock,children:[(0,Kl.jsxs)(kl.Z,{variant:"body1",children:["Please read these terms of use carefully before using the Aesthetidocs website, mobile app, or online appointment booking platform (the site) \u2013 your use of the site is subject to these terms.",(0,Kl.jsx)("br",{}),(0,Kl.jsx)("br",{}),"The site is operated by Aesthetidocs Limited (Aesthetidocs, we, our or us) of Lockview House, 49 Lockview Road, Belfast, Northern Ireland, BT9 5FJ.",(0,Kl.jsx)("br",{}),(0,Kl.jsx)("br",{}),"By using our site, you confirm that you accept these terms and that you agree to comply with them. If you do not agree to them, you must not use our site.",(0,Kl.jsx)("br",{}),(0,Kl.jsx)("br",{}),"Our site is a service operated by us to facilitate the arranging and managing of bookings with aesthetic treatment clinics. These terms only apply to the booking management process. You may be subject to additional terms and conditions with your treating clinic or practitioner which govern your relationship with them and any services they provide to you.",(0,Kl.jsx)("br",{}),(0,Kl.jsx)("br",{}),"When you use our site, you will be providing us with personal data about you. You can see how we use personal data by going to our privacy policy"," ",(0,Kl.jsx)("a",{href:"https://www.aesthetidocs.com/privacy",target:"_blank",rel:"noreferrer",children:"www.aesthetidocs.com/privacy"})]}),(0,Kl.jsx)(kl.Z,{variant:"h6",children:"Authorization to use the site"}),(0,Kl.jsxs)(kl.Z,{variant:"body1",children:["Subject to your compliance with these terms, you may access or use the site solely for the purpose of arranging, managing, and paying for bookings with clinics or practitioners offering aesthetic treatment services.",(0,Kl.jsx)("br",{}),(0,Kl.jsx)("br",{}),"You must not access or use the site except as permitted by these terms. In particular, you must not and must not permit any other person to:",(0,Kl.jsxs)("ul",{children:[(0,Kl.jsxs)("li",{children:["pretend that you are, or that you represent, someone else, or impersonate any other individual or entity when using the site;"," "]}),(0,Kl.jsxs)("li",{children:["resell, assign, transfer, distribute or provide others with access to the site or any of our materials;"," "]}),(0,Kl.jsxs)("li",{children:["copy, modify, frame, repost, publicly perform or display, sell, reproduce, distribute, or create derivative works of the site;"," "]}),(0,Kl.jsxs)("li",{children:["use the site to transmit, publish or communicate material that is defamatory, offensive, abusive, indecent, menacing or unwanted;"," "]}),(0,Kl.jsxs)("li",{children:["use the site in any way that damages, interferes with or interrupts the availability of the site;"," "]}),(0,Kl.jsxs)("li",{children:["introduce malicious programs into our hardware and software or our hardware, software and services which are integrated and operate together, including our networks, including viruses, worms, trojan horses and e-mail bombs;"," "]}),(0,Kl.jsxs)("li",{children:["reveal your account password to others or allow others to use your account;"," "]}),(0,Kl.jsxs)("li",{children:["use the site to carry out security breaches or disruptions of a network. Security breaches include accessing data where you are not the intended recipient or logging into a server or account that you are not expressly authorised to access or corrupting any data (including network sniffing/monitoring, pinged floods, packet spoofing, denial of service and forged routing information for malicious purposes);"," "]}),(0,Kl.jsxs)("li",{children:["use any program/script/command, or send messages of any kind, with the intent to interfere with, or disable, any person\u2019s use of the site;"," "]}),(0,Kl.jsx)("li",{children:"send any unsolicited messages through or to users of the site or to send any form of harassment via email, or any other form of messaging, whether through language, frequency, or size of messages or use the site in breach of any person\u2019s privacy (such as by way of identity theft or \u201cphishing\u201d)."})]}),(0,Kl.jsx)("br",{}),"Any non-compliance by you with these terms shall give us the right to suspend provision of the site to you and access to your account, and to terminate our relationship with you without liability."]}),(0,Kl.jsx)(kl.Z,{variant:"h6",children:"Reservation of rights"}),(0,Kl.jsx)(kl.Z,{variant:"body1",children:"Aesthetidocs and its licensors each own and retain their respective rights in and to all logos, company names, marks, trademarks, copyrights, trade secrets, know-how, patents and patent applications that are used or embodied in or otherwise related to the site. Aesthetidocs grants no rights or licenses (implied, by estoppel, or otherwise) whatsoever to you under these terms."}),(0,Kl.jsx)(kl.Z,{variant:"h6",children:"Information provided to us"}),(0,Kl.jsxs)(kl.Z,{variant:"body1",children:["You are solely responsible for all data, information and other content, that you upload, post, or otherwise provide or store in connection with or relating to the site.",(0,Kl.jsx)("br",{}),(0,Kl.jsx)("br",{}),"By providing us any information through the site, you grant Aesthetidocs a worldwide, non- exclusive, perpetual, irrevocable, royalty-free, fully paid, sublicensable and transferable license to use, modify, reproduce, distribute, display, publish and perform that information in connection with the site. Aesthetidocs may remove or disable any information provided by you at any time for any reason, or for no reason at all. ",(0,Kl.jsx)("br",{}),(0,Kl.jsx)("br",{}),"You agree that we may share any information provided by you with the treating clinic or practitioner with whom you are seeking to make or have made an appointment."]}),(0,Kl.jsx)(kl.Z,{variant:"h6",children:"Your commitments"}),(0,Kl.jsxs)(kl.Z,{variant:"body1",children:["You represent and warrant to Aesthetidocs that your activity on the site does not and will not violate, infringe, or misappropriate any third party\u2019s copyright, trademark, right of privacy or publicity, or other personal or proprietary right. ",(0,Kl.jsx)("br",{})," ",(0,Kl.jsx)("br",{}),"You represent and warrant that all information you provide to us through the site is complete, accurate and not misleading. You must ensure that you promptly provide us with any updates or changes to any information previously provided to us."]}),(0,Kl.jsx)(kl.Z,{variant:"h6",children:"Disclaimer"}),(0,Kl.jsxs)(kl.Z,{variant:"body1",children:["THE SITE AND ITS CONTENT ARE PROVIDED ON AN \u201cAS IS\u201d AND \u201cAS AVAILABLE\u201d BASIS WITH ALL ERRORS AND DEFECTS AND WITHOUT ANY WARRANTIES OF ANY KIND, AND AESTHETIDOCS EXPRESSLY DISCLAIMS ALL REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTIES OF ACCURACY, COMPLETENESS, MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, AND ANY REPRESENTATIONS OR WARRANTIES ARISING FROM COURSE OF DEALING, COURSE OF PERFORMANCE OR USAGE OF TRADE. YOU ACKNOWLEDGE THAT AESTHETIDOCS DOES NOT WARRANT THAT YOUR ACCESS OR USE OR BOTH OF THE SITE AND ITS CONTENT WILL BE UNINTERRUPTED, TIMELY, SECURE, ERROR-FREE OR VIRUS-FREE, AND AESTHETIDOCS DOES NOT MAKE ANY WARRANTY AS TO THE RESULTS THAT MAY BE OBTAINED FROM USE OF THE SITE AND ITS CONTENT. NO INFORMATION, ADVICE OR SERVICES OBTAINED BY YOU FROM AESTHETIDOCS OR THROUGH THE SITE WILL CREATE ANY WARRANTY NOT EXPRESSLY STATED IN THESE T&Cs AND YOU SHOULD NOT RELY ON THE SITE AND THE GENERAL CONTENT ALONE AS THE BASIS FOR ANY DECISIONS. ",(0,Kl.jsx)("br",{})," ",(0,Kl.jsx)("br",{}),"NOTHING ON THIS SITE CONSTITUTES MEDICAL ADVICE, AND YOU SHOULD ALWAYS SEEK ADVICE FROM A QUALIFIED MEDICAL PRACTITIONER AS APPROPRIATE."]}),(0,Kl.jsx)(kl.Z,{variant:"h6",children:"Liability"}),(0,Kl.jsx)(kl.Z,{variant:"body1",children:"AESTHETIDOCS WILL NOT BE LIABLE TO YOU FOR ANY INCIDENTAL, CONSEQUENTIAL, INDIRECT, SPECIAL, PUNITIVE OR EXEMPLARY DAMAGES (INCLUDING DAMAGES FOR LOSS OF BUSINESS, LOSS OF PROFITS OR THE LIKE) ARISING OUT OF OR RELATING TO THIS SITE, INCLUDING WITHOUT LIMITATION, YOUR USE OR INABILITY TO USE THE SITE, SITE, MATCHING SERVICES, CONTENT, PROPRIETARY INFORMATION, OR ANY INTERRUPTION OR DISRUPTION OF SUCH USE, EVEN IF AESTHETIDOCS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES AND REGARDLESS OF THE CAUSE OF ACTION (WHETHER IN CONTRACT, TORT, BREACH OF WARRANTY OR OTHERWISE). THE AGGREGATE LIABILITY OF AESTHETIDOCS WITH REGARD TO THESE TERMS WILL IN NO EVENT EXCEED \xa350."}),(0,Kl.jsx)(kl.Z,{variant:"h6",children:"Updates to the terms"}),(0,Kl.jsxs)(kl.Z,{variant:"body1",children:["Aesthetidocs reserves the right to do any of the following, at any time, without notice: (1) to modify, suspend or terminate operation of or access to the site, or any portion of the site, for any reason; (2) to modify or change the site, or any portion of the site, for any reason; and (3) to interrupt the operation of the site, or any portion of the site, as necessary to perform routine or non-routine maintenance, error correction, or other changes. ",(0,Kl.jsx)("br",{})," ",(0,Kl.jsx)("br",{}),"Aesthetidocs reserves the right, at its sole discretion, to change or modify portions of these terms at any time. Your continued use of the site after the date any such changes become effective constitutes your acceptance of the new or revised terms."]}),(0,Kl.jsx)(kl.Z,{variant:"h6",children:"Jurisdiction"}),(0,Kl.jsx)(kl.Z,{variant:"body1",children:"These terms shall be governed by and interpreted according to the law of Northern Ireland and all disputes arising under these terms (including non-contractual disputes or claims) shall be subject to the exclusive jurisdiction of the Northern Irish courts."})]})]}),(0,Kl.jsx)(ste,{})]})},Gne=$l((function(){var t=(0,e.useContext)(bA),r=(he(),me()),o=r.authToken,i=r.impToken,a=(0,e.useState)(!1),s=(0,n.Z)(a,2),l=s[0],c=s[1],u=(0,e.useState)([]),d=(0,n.Z)(u,2),p=d[0],f=d[1],h=(0,e.useState)(),b=(0,n.Z)(h,2),A=b[0],m=b[1],g=(0,e.useMemo)((function(){return!!t.user&&(!!t.user&&t.user.canImpersonate)}),[t.user]);(0,e.useEffect)((function(){g&&Re.get("/v1/impersonate").then((function(e){var t=e.data;f(t.data.sort((function(e,t){return-t.staff.clinic.name.localeCompare(e.staff.clinic.name)||-t.fullName.localeCompare(e.fullName)})))}))}),[g]);var v=(0,e.useCallback)((function(){Re.post("/v1/impersonate",{user:A}).then((function(e){var t=e.data;return window.location.href="".concat(window.location.protocol,"//").concat(A.staff.clinic.frontendUrl,"/impersonate/").concat(t.token,"/").concat(t.imp)}))}),[A]);return o&&i?(window.localStorage.setItem("jwt",o),window.localStorage.setItem("imp",i),window.location.href="/calendar"):g?(0,Kl.jsxs)(hS,{children:[(0,Kl.jsxs)(AS,{children:[(0,Kl.jsx)(kl.Z,{variant:"h6",gutterBottom:!0,children:"Select user to impersonate"}),(0,Kl.jsx)(s6,{style:{width:300},open:l,onOpen:function(){return c(!0)},onClose:function(){return c(!1)},onChange:function(e,t){return m(t)},getOptionSelected:function(e,t){return e.id===t.id},getOptionLabel:function(e){return e.fullName},options:p,groupBy:function(e){return e.staff.clinic.name},disableClearable:!0,blurOnSelect:!0,renderInput:function(e){return(0,Kl.jsx)(Wu.Z,Us(Us({},e),{},{label:"User",variant:"outlined"}))}})]}),(0,Kl.jsx)(aF,{children:(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",disabled:!A,onClick:v,children:"Impersonate"})})]}):(0,Kl.jsx)(Xh,{variant:"filled",severity:"error",children:"Access is denied"})})),Kne=Gne,Jne="leafletDocument_leafletDocument__wRvlr",ere="leafletDocument_content__3E+JL",tre="leafletDocument_column__ecYt5",nre="leafletDocument_name__9Eb-o",rre=function(e){var t=e.name,n=e.id,r=e.handleChange,o=e.value,i=e.disabled;return(0,Kl.jsx)("div",{onClick:i?null:function(){r(n)},className:Jne,children:(0,Kl.jsxs)("div",{className:ere,children:[(0,Kl.jsx)("div",{className:tre,children:(0,Kl.jsx)(kk.Z,{icon:(0,Kl.jsx)($1.Z,{}),checkedIcon:(0,Kl.jsx)(H1.Z,{}),checked:o,name:null===n||void 0===n?void 0:n.toString(),color:"primary",disabled:i})}),(0,Kl.jsx)("div",{className:tre,children:(0,Kl.jsx)(kl.Z,{className:nre,children:t})})]})})},ore="leaflets_leaflets__b91+O",ire="leaflets_topContent__jvdl2",are="leaflets_documents__ITtlc",sre="leaflets_bottomContainer__ef5tb",lre="leaflets_loading__J8I+O",cre="sendLeaflets_container__uYLn2",ure="sendLeaflets_emailContainer__rPQ9V",dre="sendLeaflets_email__haraI",pre=jk.object({patient:jk.string("Select Patient or Enter Email").email("Please enter valid Email").required("Patient or Email is required")}),fre=H5(),hre=function(t){var r=t.disabled,o=t.selected,i=t.setSelected,a=t.setRefresh,s=(0,e.useState)([]),l=(0,n.Z)(s,2),c=l[0],u=l[1],d=(0,e.useState)(""),p=(0,n.Z)(d,2),f=p[0],h=p[1],b=hE().enqueueSnackbar,A=Xj({enableReinitialize:!0,initialValues:{patient:""},validationSchema:pre,onSubmit:function(e,t){var n=t.resetForm;g(e,n)},validator:function(){return{}}}),m=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,r,o;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get("/v1/patient",{params:{search:t}});case 2:n=e.sent,r=n.data,o=r.data.filter((function(e){return!(null!==e&&void 0!==e&&e.deletedAt)})).map((function(e){var t;return{value:e.id,label:e.fullName,email:null===e||void 0===e||null===(t=e.user)||void 0===t?void 0:t.email}})),u(o);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();(0,e.useEffect)((function(){m(f)}),[f]);var g=function(e){Re.post("/v1/leaflets/send",{email:null===e||void 0===e?void 0:e.patient,leaflet_ids:o}).then((function(e){e.data;i([]),a((function(e){return!e})),b("Successfully send!",{variant:"success"})})).catch((function(e){null!==e&&void 0!==e&&e.errors&&Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return b(e,{variant:"error"})}))})),null!==e&&void 0!==e&&e.message&&b(null===e||void 0===e?void 0:e.message,{variant:"error"})}))};return(0,Kl.jsxs)("form",{className:cre,onSubmit:A.handleSubmit,children:[0!==A.values.patient&&(0,Kl.jsx)(s6,{value:A.values.patient,onChange:function(e,t){"string"===typeof t?A.setFieldValue("patient",null===t||void 0===t?void 0:t.email):t&&t.inputValue?A.setFieldValue("patient",t.inputValue):t?A.setFieldValue("patient",null===t||void 0===t?void 0:t.email):A.setFieldValue("patient","")},filterOptions:function(e,t){var n=fre(e,t);return""!==t.inputValue&&n.push({inputValue:null===t||void 0===t?void 0:t.inputValue,label:'Send to "'.concat(null===t||void 0===t?void 0:t.inputValue,'"')}),n},inputValue:f,onInputChange:function(e,t){h(t)},getOptionLabel:function(e){var t,n;return"string"===typeof e?e:null!==e&&void 0!==e&&e.inputValue?null!==(n=null===e||void 0===e?void 0:e.inputValue)&&void 0!==n?n:"":null!==(t=null===e||void 0===e?void 0:e.label)&&void 0!==t?t:""},renderOption:function(e){return"string"===typeof e?e:null!==e&&void 0!==e&&e.inputValue?"".concat(null===e||void 0===e?void 0:e.label):(0,Kl.jsxs)("div",{className:ure,children:[(0,Kl.jsx)(kl.Z,{children:null===e||void 0===e?void 0:e.label}),(0,Kl.jsxs)(kl.Z,{className:dre,children:["(",null===e||void 0===e?void 0:e.email,")"]})]})},getOptionSelected:function(e,t){return(null===e||void 0===e?void 0:e.email)===t},options:c,variant:"outlined",style:{backgroundColor:"#fff",borderRadius:12},fullWidth:!0,sx:{width:300},freeSolo:!0,renderInput:function(e){return(0,Kl.jsx)(Wu.Z,Us(Us({},e),{},{label:"Select a patient or type a new email address to send to",variant:"outlined",size:"small",error:A.touched.patient&&Boolean(A.errors.patient),helperText:A.touched.patient&&A.errors.patient}))}}),(0,Kl.jsx)(zd.Z,{disabled:r||0===A.values.patient.length,type:"submit",variant:"contained",size:"small",color:"primary",children:"Send"})]})},bre="leafletsHistory_leafletsHistory__ijAvg",Are="leafletsHistory_leafletDocuments__v+PH2",mre="leafletsHistory_leafletDocumentsHeader__nVQnl",gre="leafletsHistory_leafletDocumentsItems__yBWLJ",vre="leafletsHistory_leafletDocumentsLoading__B9-Q9",yre=__webpack_require__(29060),Mre="leafletHistoryItem_leafletHistoryItem__V6ChD",Ore="leafletHistoryItem_leafletHistoryItemTitle__ao90V",_re="leafletHistoryItem_historyLeaflets__abfld",zre="leafletHistoryItem_historyLeaflet__9iryJ",xre="leafletHistoryItem_historyLeafletBody__NizpL",wre="leafletHistoryItem_historyLeafletName__OSkzR",Cre="leafletHistoryItem_historyLeafletTo__9ZKVK",Sre="leafletHistoryItem_historyLeafletFrom__6oGWm",Ere=function(e){var t=e.leaflet,n=e.to,r=e.sender;return(0,Kl.jsxs)("div",{className:zre,children:[(0,Kl.jsx)(OB.Z,{}),(0,Kl.jsxs)("div",{className:xre,children:[(0,Kl.jsx)(kl.Z,{className:wre,children:null===t||void 0===t?void 0:t.name}),(0,Kl.jsxs)(kl.Z,{className:Cre,children:["Sent to ",n]}),(0,Kl.jsxs)(kl.Z,{className:Sre,children:["Sender: ",r]})]})]})},kre=function(e){var t,n=e.item;return(0,Kl.jsxs)("div",{className:Mre,children:[(0,Kl.jsx)(kl.Z,{className:Ore,children:Vs()(null===n||void 0===n?void 0:n.created_at).format("ddd DD MMM")}),(0,Kl.jsx)("div",{className:_re,children:null===n||void 0===n||null===(t=n.leaflets)||void 0===t?void 0:t.map((function(e,t){var n,r,o,i;return(0,Kl.jsx)(Ere,{leaflet:e,to:null===e||void 0===e?void 0:e.to,sender:Qs(null===e||void 0===e||null===(n=e.causer)||void 0===n||null===(r=n.user)||void 0===r?void 0:r.firstName,null===e||void 0===e||null===(o=e.causer)||void 0===o||null===(i=o.user)||void 0===i?void 0:i.lastName)},"historyLeaflet_".concat(t))}))})]})},Dre=function(t){var o=t.refresh,i=(0,e.useState)(!1),a=(0,n.Z)(i,2),s=a[0],l=a[1],c=(0,e.useState)(),u=(0,n.Z)(c,2),d=u[0],p=u[1],f=(0,e.useState)([]),h=(0,n.Z)(f,2),b=h[0],A=h[1],m=(0,e.useState)(!0),g=(0,n.Z)(m,2),v=g[0],y=g[1],M=function(){l(!s)},O=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return y(!0),e.next=3,Re.get("/v1/leaflets/history",{params:{cursor:t}}).then((function(e){var t,n=e.data;p(null===n||void 0===n||null===(t=n.meta)||void 0===t?void 0:t.next_cursor);var o=[].concat((0,r.Z)(b),(0,r.Z)(null===n||void 0===n?void 0:n.data)).filter((function(e,t,n){return t===n.findIndex((function(t){return t.id===e.id}))})).sort((function(e,t){return t.id-e.id}));A(o),y(!1)}));case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();(0,e.useEffect)((function(){return O(),function(){A([]),p()}}),[o]);var _=(0,e.useMemo)((function(){var e=b.reduce((function(e,t){var n=t.created_at,r=t.leaflets,o=t.causer,i=e.find((function(e){return Vs()(e.created_at).format("DD.MM.YYYY")===Vs()(n).format("DD.MM.YYYY")})),a=null===r||void 0===r?void 0:r.map((function(e){return Us(Us({},e),{},{to:t.to,causer:o})}));return i?i.leaflets=i.leaflets.concat(a):e.push({created_at:n,leaflets:a}),e}),[]);return e}),[b]);return(0,Kl.jsxs)("div",{className:bre,children:[(0,Kl.jsx)(wd.Z,{onClick:M,children:(0,Kl.jsx)(Ow.ZP,{title:"History",children:(0,Kl.jsx)(yre.Z,{})})}),s&&(0,Kl.jsxs)("div",{className:Are,onScroll:function(e){var t=e.target;t.scrollTop+t.clientHeight===t.scrollHeight&&d&&!v&&O(d)},children:[(0,Kl.jsxs)("div",{className:mre,children:[(0,Kl.jsx)(wd.Z,{onClick:M,children:(0,Kl.jsx)(dB.Z,{})}),(0,Kl.jsx)(kl.Z,{children:"Sent Items"})]}),(0,Kl.jsxs)("div",{className:gre,children:[null===_||void 0===_?void 0:_.map((function(e,t){return(0,Kl.jsx)(kre,{item:e},"leafletHistory_".concat(t))})),v&&(0,Kl.jsx)("div",{className:vre,children:(0,Kl.jsx)(Gh.Z,{size:32})})]})]})]})},Nre=$l((function(){var t=(0,e.useState)([]),o=(0,n.Z)(t,2),i=o[0],a=o[1],s=(0,e.useState)(!0),l=(0,n.Z)(s,2),c=l[0],u=l[1],d=(0,e.useState)([]),p=(0,n.Z)(d,2),f=p[0],h=p[1],b=(0,e.useState)(1),A=(0,n.Z)(b,2),m=A[0],g=A[1],v=(0,e.useState)(),y=(0,n.Z)(v,2),M=y[0],O=y[1],_=Fc().search,z=(0,e.useState)(""),x=(0,n.Z)(z,2),w=x[0],C=x[1],S=(0,e.useState)(!1),E=(0,n.Z)(S,2),k=E[0],D=E[1],N=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return u(!0),e.next=3,Re.get("/v1/leaflets",{params:{page:m,search:null===_||void 0===_?void 0:_.value}}).then((function(e){var t=e.data;a(null===t||void 0===t?void 0:t.data),O(null===t||void 0===t?void 0:t.meta),u(!1)}));case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),T=(0,rne.debounce)((function(){N()}),500);(0,e.useEffect)((function(){var e=(0,rne.debounce)((function(){C(_.value)}),500);return e(),function(){e.cancel()}}),[_.value]),(0,e.useEffect)((function(){return T(),function(){T.cancel()}}),[w,m]);var j=function(e){var t=(0,r.Z)(f);if(f.includes(e)){var n=t.filter((function(t){return t!==e}));h(n)}else t.push(e),h(t)};return(0,Kl.jsx)(Yh,{title:"Leaflets",children:(0,Kl.jsxs)("div",{className:ore,children:[(0,Kl.jsxs)("div",{className:ire,children:[(0,Kl.jsx)(hre,{disabled:0===(null===f||void 0===f?void 0:f.length),selected:f,setSelected:h,setRefresh:D}),c?(0,Kl.jsx)("div",{className:lre,children:(0,Kl.jsx)(Gh.Z,{})}):(0,Kl.jsx)("div",{className:are,children:null===i||void 0===i?void 0:i.map((function(e){return(0,Kl.jsx)(rre,{id:null===e||void 0===e?void 0:e.id,name:null===e||void 0===e?void 0:e.name,value:f.includes(null===e||void 0===e?void 0:e.id),handleChange:j},"leaflet_".concat(null===e||void 0===e?void 0:e.id))}))})]}),(0,Kl.jsxs)("div",{className:sre,children:[(0,Kl.jsx)(mG,{count:null===M||void 0===M?void 0:M.last_page,page:m,onChange:function(e,t){g(t)}}),(0,Kl.jsx)(Dre,{refresh:k})]})]})})})),Tre=Nre,jre="login_login__jHKHW",Bre="login_restore__Xl5P3",Lre="login_loginHolder__MIxzX",Rre="login_field__E3iHw",qre="login_cdl__h4q1V",Pre="login_cdlBackdrop__5Vqo3",Ire=function(){var t=me().authToken,n=(0,e.useContext)(bA);return t&&(n.setToken(t),n.getUserWithRedirect("/calendar")),(0,Kl.jsx)(Cb,{className:qre,children:(0,Kl.jsx)($d,{open:!0,className:Pre,children:(0,Kl.jsx)(Gh.Z,{})})})},Wre=__webpack_require__(69297),Fre=e.forwardRef((function(t,n){var r=t.classes,o=t.className,i=(0,Uu.Z)(t,["classes","className"]);return e.createElement(kl.Z,(0,Fu.Z)({gutterBottom:!0,component:"div",ref:n,className:(0,Zu.Z)(r.root,o)},i))})),Ure=(0,Hu.Z)((function(e){return{root:{fontWeight:e.typography.fontWeightMedium,marginTop:-2}}}),{name:"MuiAlertTitle"})(Fre);var Zre,Hre,$re=__webpack_require__.p+"static/media/login-logo.5af667d95738baa302649d947c85cb7b.svg",Vre=function(){var t,r,o=(0,e.useContext)(bA),i=Jc(),a=(0,e.useState)(null),s=(0,n.Z)(a,2),l=s[0],c=s[1],u=(0,e.useState)(!1),d=(0,n.Z)(u,2),p=d[0],f=d[1],h=he();(0,e.useEffect)((function(){var e;null!==o&&void 0!==o&&null!==(e=o.user)&&void 0!==e&&e.id&&h("/calendar")}),[null===o||void 0===o||null===(t=o.user)||void 0===t?void 0:t.id]);var b=Xj({initialValues:{email:"",password:""},validationSchema:jk.object().shape({email:jk.string().nullable().max(255,"Email must be at most 255 characters").email("Invalid email").required("Email is required"),password:jk.string().nullable().min(8,"Password must be at least 8 characters length ").max(255,"Password must be at most 255 characters").required("Password is required")}),onSubmit:function(e){A(e)}}),A=function(e){Re.get("/sanctum/csrf-cookie").then((function(t){Re.post("/v1/auth/staff",{email:e.email,password:e.password}).then((function(e){var t=e.data;if(t.token){if(i({event:"sign-in",value:"1"}),!window.location.hostname.includes(t.clinic_subdomain))return window.location.href="".concat(window.location.protocol,"//").concat(t.clinic_frontend_url,"/cdl/").concat(t.token);o.setToken(t.token),o.getUserWithRedirect("/calendar")}})).catch((function(e){!function(e){c(e),f(!0)}(e.message),b.setSubmitting(!1)}))}))};return(0,Kl.jsx)("div",{className:jre,children:(0,Kl.jsxs)("div",{className:Lre,children:[void 0!==o.clinic.logoUrl&&(0,Kl.jsx)("img",{src:null!==o.clinic.logoUrl?o.clinic.logoUrl:$re,alt:"logo"}),!(null!==o&&void 0!==o&&null!==(r=o.clinic)&&void 0!==r&&r.id)&&(0,Kl.jsx)("img",{src:$re,alt:"logo"}),(0,Kl.jsxs)("form",{onSubmit:b.handleSubmit,children:[(0,Kl.jsx)("h3",{children:"Login"}),(0,Kl.jsx)(Wu.Z,{size:"small",type:"email",name:"email",variant:"outlined",value:b.values.email,onChange:b.handleChange,onBlur:b.handleBlur,error:b.touched.email&&Boolean(b.errors.email),helperText:b.touched.email&&b.errors.email,className:Rre,placeholder:"E-mail"}),(0,Kl.jsx)(Wu.Z,{size:"small",type:"password",name:"password",variant:"outlined",color:"primary",value:b.values.password,onChange:b.handleChange,onBlur:b.handleBlur,className:Rre,error:b.touched.password&&Boolean(b.errors.password),helperText:b.touched.password&&b.errors.password,placeholder:"Password"}),(0,Kl.jsx)(zd.Z,{color:"primary",variant:"contained",fullWidth:!0,type:"submit",disabled:b.isSubmitting,endIcon:(0,Kl.jsx)(Wre.Z,{}),children:"Log In"}),(0,Kl.jsx)(kl.Z,{color:"primary",align:"right",className:Bre,onClick:function(){h("/restore-password")},children:"Restore Password"})]}),(0,Kl.jsx)(ZB,{open:p,autoHideDuration:4e3,onClose:function(){f(!1)},anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Kl.jsxs)(Xh,{severity:"error",children:[(0,Kl.jsx)(Ure,{children:"Error"}),l]})})]})})},Xre="marketing_container__9PM2u",Qre="marketing_title__cX-OA",Yre="marketing_tools__1pe2C",Gre="marketing_marketingTool__hIkni",Kre="marketing_marketingToolTitle__SE0hz",Jre="marketing_marketingToolText__G8XWf",eoe=function(){return(0,Kl.jsxs)(Gl.Z,{width:"559",height:"396",viewBox:"0 0 589 426",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,Kl.jsx)("mask",{id:"mask0_2090_2342",maskUnits:"userSpaceOnUse",x:"94",y:"19",width:"125",height:"359",children:(0,Kl.jsx)("path",{d:"M94.6592 19.9497H218.82V377.791H94.6592V19.9497Z",fill:"white"})}),(0,Kl.jsx)("g",{mask:"url(#mask0_2090_2342)",children:(0,Kl.jsx)("path",{d:"M217.91 51.6924V377.822L217.884 377.817L97.6671 345.908C97.2307 345.788 96.8255 345.606 96.4514 345.357C96.0774 345.108 95.7501 344.806 95.4747 344.448C95.1994 344.089 94.9916 343.7 94.8461 343.274C94.7007 342.843 94.6279 342.406 94.6279 341.954V24.2824C94.6279 23.9707 94.6643 23.659 94.737 23.3577C94.8046 23.0512 94.9085 22.7602 95.0487 22.4745C95.189 22.194 95.3553 21.9342 95.5527 21.6952C95.7501 21.451 95.9735 21.2329 96.2229 21.0458C96.467 20.8536 96.7372 20.6925 97.0177 20.5627C97.3035 20.4328 97.5996 20.3393 97.9061 20.2769C98.2126 20.2146 98.5243 20.1886 98.8361 20.199C99.1478 20.2042 99.4543 20.251 99.7556 20.3341L217.91 51.6924Z",fill:"#E9E9FF"})}),(0,Kl.jsx)("mask",{id:"mask1_2090_2342",maskUnits:"userSpaceOnUse",x:"339",y:"18",width:"126",height:"360",children:(0,Kl.jsx)("path",{d:"M339.848 18.916H464.502V377.713H339.848V18.916Z",fill:"white"})}),(0,Kl.jsx)("g",{mask:"url(#mask1_2090_2342)",children:(0,Kl.jsx)("path",{d:"M464.455 54.8357V372.507C464.455 372.819 464.419 373.126 464.346 373.432C464.279 373.739 464.175 374.03 464.034 374.31C463.894 374.591 463.728 374.856 463.531 375.095C463.333 375.339 463.11 375.552 462.86 375.744C462.611 375.936 462.346 376.097 462.065 376.227C461.78 376.357 461.484 376.451 461.177 376.513C460.871 376.575 460.559 376.601 460.247 376.591C459.935 376.581 459.629 376.539 459.328 376.456L341.173 345.103V18.9731L461.416 50.8821C461.852 50.9964 462.258 51.1835 462.632 51.4328C463.006 51.6822 463.333 51.9835 463.603 52.342C463.879 52.7005 464.092 53.0901 464.237 53.5161C464.383 53.9421 464.455 54.3837 464.455 54.8357Z",fill:"#E9E9FF"})}),(0,Kl.jsx)("mask",{id:"mask2_2090_2342",maskUnits:"userSpaceOnUse",x:"217",y:"18",width:"125",height:"360",children:(0,Kl.jsx)("path",{d:"M217.49 18.916H341.178V377.791H217.49V18.916Z",fill:"white"})}),(0,Kl.jsx)("g",{mask:"url(#mask2_2090_2342)",children:(0,Kl.jsx)("path",{d:"M217.891 377.817L341.173 345.103V18.9731L217.891 51.6874V377.817Z",fill:"#AAAAF9"})}),(0,Kl.jsx)("path",{d:"M292.696 94.5219V73.7826C292.696 73.5332 292.665 73.289 292.608 73.0449C292.55 72.8007 292.467 72.5669 292.358 72.3383C292.249 72.1149 292.114 71.9071 291.953 71.7097C291.797 71.5175 291.621 71.346 291.418 71.1902C291.22 71.0395 291.007 70.9096 290.779 70.8057C290.555 70.7018 290.317 70.6239 290.072 70.5771C289.828 70.5252 289.579 70.5044 289.329 70.5148C289.08 70.52 288.831 70.5564 288.592 70.6239L268.819 75.8711C268.471 75.9646 268.149 76.11 267.847 76.3075C267.546 76.5101 267.286 76.7491 267.068 77.0348C266.845 77.3205 266.678 77.6374 266.564 77.9803C266.444 78.318 266.387 78.6713 266.387 79.0298V100.128L242.515 106.46C242.162 106.554 241.84 106.699 241.539 106.902C241.243 107.1 240.983 107.344 240.759 107.629C240.541 107.915 240.375 108.227 240.255 108.57C240.141 108.913 240.084 109.266 240.084 109.624V127.174C240.084 127.423 240.11 127.673 240.167 127.917C240.224 128.161 240.307 128.395 240.416 128.618C240.531 128.847 240.666 129.054 240.822 129.247C240.983 129.444 241.159 129.616 241.357 129.766C241.554 129.922 241.767 130.052 241.996 130.156C242.224 130.255 242.458 130.332 242.708 130.384C242.952 130.431 243.196 130.452 243.45 130.447C243.7 130.436 243.944 130.4 244.188 130.338L266.387 124.446V146.443C266.387 146.697 266.419 146.942 266.476 147.186C266.528 147.43 266.616 147.664 266.725 147.892C266.834 148.116 266.969 148.324 267.125 148.516C267.286 148.713 267.463 148.885 267.66 149.04C267.863 149.191 268.076 149.321 268.299 149.425C268.528 149.529 268.767 149.602 269.011 149.653C269.255 149.7 269.504 149.721 269.754 149.716C270.003 149.705 270.247 149.674 270.492 149.607L290.265 144.36C290.613 144.266 290.935 144.121 291.236 143.923C291.537 143.721 291.797 143.476 292.015 143.191C292.239 142.905 292.405 142.593 292.519 142.25C292.639 141.907 292.696 141.559 292.696 141.196V118.841L316.568 112.508C316.916 112.414 317.243 112.269 317.545 112.071C317.841 111.869 318.101 111.625 318.324 111.339C318.542 111.053 318.708 110.741 318.828 110.398C318.942 110.056 318.999 109.707 318.999 109.344V91.7892C318.999 91.5398 318.973 91.2957 318.916 91.0515C318.859 90.8073 318.776 90.5735 318.662 90.3449C318.552 90.1215 318.417 89.9137 318.262 89.7163C318.101 89.5241 317.924 89.3527 317.726 89.1968C317.529 89.0461 317.316 88.9163 317.087 88.8123C316.859 88.7084 316.625 88.6305 316.376 88.5838C316.132 88.5318 315.882 88.511 315.633 88.5214C315.383 88.5266 315.139 88.563 314.895 88.6305L292.696 94.5219Z",fill:"#ED524E"}),(0,Kl.jsx)("path",{d:"M390.294 284.776L415.335 309.858L399.37 325.854C398.549 326.675 397.65 327.413 396.684 328.062C395.717 328.707 394.699 329.252 393.624 329.699C392.548 330.146 391.442 330.483 390.304 330.707C389.161 330.935 388.013 331.05 386.849 331.05C385.685 331.05 384.532 330.935 383.394 330.707C382.251 330.483 381.145 330.146 380.069 329.699C378.999 329.252 377.976 328.707 377.009 328.062C376.043 327.413 375.15 326.675 374.323 325.854C373.503 325.028 372.77 324.135 372.126 323.169C371.477 322.197 370.931 321.174 370.489 320.098C370.043 319.023 369.705 317.916 369.482 316.773C369.253 315.63 369.139 314.477 369.139 313.313C369.139 312.149 369.253 310.996 369.482 309.853C369.705 308.71 370.043 307.598 370.489 306.523C370.931 305.448 371.477 304.424 372.126 303.458C372.77 302.492 373.503 301.593 374.323 300.772L390.294 284.776Z",fill:"#ED524E"}),(0,Kl.jsx)("path",{d:"M431.304 268.78C432.125 269.606 432.857 270.499 433.507 271.466C434.151 272.437 434.696 273.461 435.143 274.536C435.585 275.611 435.923 276.718 436.151 277.861C436.375 279.004 436.489 280.157 436.489 281.321C436.489 282.49 436.375 283.643 436.151 284.781C435.923 285.924 435.585 287.036 435.143 288.111C434.696 289.186 434.151 290.21 433.507 291.176C432.857 292.148 432.125 293.041 431.304 293.867L415.334 309.858L390.293 284.776L406.258 268.78C407.084 267.959 407.977 267.221 408.944 266.577C409.91 265.928 410.928 265.382 412.004 264.935C413.079 264.488 414.186 264.151 415.329 263.927C416.466 263.699 417.62 263.584 418.784 263.584C419.942 263.584 421.095 263.699 422.238 263.927C423.376 264.151 424.483 264.488 425.558 264.935C426.633 265.382 427.652 265.928 428.618 266.577C429.584 267.221 430.483 267.959 431.304 268.78Z",fill:"#EEF8FF"}),(0,Kl.jsx)("path",{d:"M244.977 213.773C244.479 213.773 244.001 213.684 243.533 213.508C243.071 213.336 242.655 213.082 242.281 212.754C241.907 212.427 241.606 212.043 241.372 211.606C241.138 211.165 240.988 210.702 240.925 210.209C240.863 209.715 240.884 209.227 240.998 208.744C241.112 208.261 241.31 207.814 241.585 207.398C241.86 206.988 242.203 206.64 242.608 206.349C243.014 206.063 243.455 205.855 243.933 205.725L313.035 187.386C313.559 187.246 314.095 187.21 314.635 187.277C315.17 187.35 315.679 187.516 316.147 187.791C316.619 188.062 317.019 188.415 317.352 188.846C317.679 189.282 317.918 189.76 318.053 190.285C318.194 190.815 318.23 191.345 318.157 191.885C318.079 192.426 317.908 192.929 317.632 193.402C317.357 193.87 317.004 194.27 316.567 194.597C316.136 194.924 315.653 195.158 315.128 195.293L246.027 213.632C245.679 213.726 245.331 213.773 244.977 213.773Z",fill:"#4F5D99"}),(0,Kl.jsx)("path",{d:"M244.978 246.04C244.479 246.04 244.001 245.952 243.539 245.775C243.071 245.604 242.656 245.349 242.282 245.022C241.907 244.695 241.606 244.31 241.372 243.874C241.139 243.432 240.993 242.97 240.926 242.476C240.863 241.983 240.889 241.494 241.004 241.011C241.118 240.528 241.31 240.081 241.591 239.671C241.866 239.255 242.204 238.907 242.609 238.616C243.014 238.331 243.456 238.123 243.934 237.998L313.035 219.654C313.56 219.513 314.095 219.477 314.635 219.545C315.17 219.617 315.68 219.789 316.147 220.059C316.62 220.329 317.02 220.682 317.352 221.114C317.68 221.55 317.913 222.028 318.054 222.553C318.194 223.083 318.225 223.612 318.152 224.153C318.08 224.693 317.908 225.197 317.633 225.67C317.358 226.137 317.004 226.537 316.568 226.865C316.137 227.192 315.654 227.426 315.129 227.561L246.027 245.9C245.679 245.993 245.331 246.04 244.978 246.04Z",fill:"#4F5D99"}),(0,Kl.jsx)("path",{d:"M244.977 278.307C244.479 278.307 244.001 278.219 243.538 278.048C243.071 277.871 242.655 277.622 242.281 277.289C241.907 276.962 241.606 276.583 241.372 276.141C241.138 275.705 240.993 275.237 240.93 274.744C240.863 274.255 240.889 273.767 241.003 273.284C241.117 272.801 241.31 272.349 241.59 271.938C241.866 271.528 242.203 271.174 242.608 270.889C243.014 270.598 243.455 270.39 243.933 270.265L313.035 251.926C313.559 251.791 314.084 251.76 314.619 251.833C315.154 251.911 315.653 252.082 316.121 252.357C316.583 252.627 316.983 252.981 317.305 253.407C317.633 253.838 317.866 254.316 318.007 254.835C318.142 255.36 318.178 255.89 318.105 256.425C318.033 256.96 317.866 257.459 317.596 257.927C317.326 258.394 316.978 258.794 316.552 259.127C316.121 259.454 315.648 259.688 315.128 259.833L246.027 278.172C245.679 278.261 245.331 278.307 244.977 278.307Z",fill:"#4F5D99"}),(0,Kl.jsx)("path",{d:"M244.977 310.575C244.479 310.575 244.001 310.487 243.538 310.315C243.071 310.139 242.655 309.889 242.281 309.562C241.907 309.23 241.606 308.85 241.372 308.409C241.138 307.972 240.993 307.505 240.93 307.016C240.863 306.523 240.889 306.034 241.003 305.551C241.117 305.068 241.31 304.616 241.59 304.206C241.866 303.795 242.203 303.442 242.608 303.156C243.014 302.865 243.455 302.658 243.933 302.533L313.035 284.194C313.559 284.048 314.095 284.012 314.635 284.085C315.17 284.152 315.679 284.324 316.147 284.594C316.619 284.869 317.019 285.222 317.352 285.654C317.684 286.085 317.918 286.563 318.059 287.093C318.199 287.617 318.23 288.153 318.157 288.693C318.085 289.233 317.908 289.737 317.633 290.205C317.357 290.677 317.004 291.077 316.568 291.405C316.136 291.732 315.653 291.966 315.128 292.101L246.027 310.44C245.679 310.534 245.331 310.575 244.977 310.575Z",fill:"#4F5D99"}),(0,Kl.jsx)("path",{d:"M437.367 140.053C437.014 140.053 436.661 140.006 436.318 139.918L367.216 121.573C366.697 121.433 366.224 121.199 365.793 120.867C365.367 120.54 365.019 120.14 364.748 119.672C364.484 119.204 364.312 118.7 364.239 118.165C364.172 117.63 364.203 117.106 364.343 116.581C364.478 116.061 364.712 115.583 365.039 115.152C365.361 114.726 365.762 114.373 366.224 114.097C366.691 113.827 367.19 113.651 367.725 113.578C368.255 113.505 368.785 113.536 369.31 113.666L438.411 132.011C438.889 132.135 439.331 132.343 439.736 132.634C440.141 132.92 440.479 133.268 440.754 133.683C441.035 134.094 441.227 134.541 441.341 135.024C441.456 135.507 441.482 135.995 441.414 136.489C441.352 136.982 441.206 137.45 440.973 137.886C440.739 138.323 440.432 138.707 440.063 139.035C439.689 139.362 439.274 139.616 438.806 139.788C438.344 139.964 437.866 140.053 437.367 140.053Z",fill:"#4F5D99"}),(0,Kl.jsx)("path",{d:"M437.367 172.32C437.014 172.32 436.66 172.273 436.318 172.185L367.216 153.846C366.686 153.706 366.208 153.477 365.772 153.15C365.34 152.817 364.987 152.417 364.712 151.95C364.437 151.482 364.265 150.973 364.187 150.433C364.114 149.898 364.151 149.363 364.286 148.838C364.426 148.308 364.66 147.83 364.992 147.399C365.325 146.962 365.725 146.614 366.198 146.339C366.665 146.069 367.174 145.897 367.71 145.83C368.25 145.757 368.785 145.793 369.31 145.939L438.411 164.278C438.889 164.403 439.331 164.611 439.736 164.901C440.141 165.187 440.479 165.54 440.754 165.951C441.035 166.361 441.227 166.813 441.341 167.296C441.456 167.78 441.482 168.268 441.414 168.756C441.352 169.25 441.206 169.717 440.972 170.154C440.739 170.595 440.432 170.975 440.063 171.302C439.689 171.634 439.274 171.884 438.806 172.06C438.344 172.232 437.866 172.32 437.367 172.32Z",fill:"#4F5D99"}),(0,Kl.jsx)("path",{d:"M437.367 204.593C437.013 204.593 436.66 204.546 436.317 204.453L367.216 186.114C366.696 185.973 366.223 185.734 365.792 185.407C365.366 185.075 365.018 184.675 364.748 184.207C364.478 183.739 364.312 183.241 364.239 182.706C364.166 182.17 364.203 181.641 364.338 181.121C364.478 180.596 364.712 180.118 365.039 179.692C365.361 179.261 365.761 178.908 366.223 178.638C366.691 178.362 367.19 178.191 367.725 178.118C368.255 178.04 368.785 178.071 369.309 178.206L438.411 196.546C438.889 196.675 439.331 196.883 439.736 197.169C440.141 197.455 440.479 197.808 440.754 198.218C441.035 198.634 441.227 199.081 441.341 199.564C441.455 200.047 441.481 200.536 441.414 201.029C441.351 201.517 441.206 201.985 440.972 202.421C440.738 202.863 440.432 203.247 440.063 203.575C439.689 203.902 439.273 204.151 438.806 204.328C438.343 204.505 437.865 204.593 437.367 204.593Z",fill:"#4F5D99"}),(0,Kl.jsx)("path",{d:"M437.367 236.86C437.014 236.86 436.661 236.813 436.318 236.72L367.216 218.381C366.686 218.246 366.208 218.012 365.772 217.685C365.341 217.357 364.987 216.957 364.712 216.49C364.437 216.017 364.26 215.513 364.187 214.973C364.115 214.432 364.146 213.902 364.286 213.372C364.426 212.848 364.66 212.37 364.993 211.933C365.325 211.502 365.725 211.149 366.193 210.879C366.665 210.603 367.169 210.437 367.71 210.364C368.25 210.297 368.785 210.333 369.31 210.474L438.411 228.813C438.889 228.943 439.331 229.15 439.736 229.436C440.141 229.727 440.479 230.075 440.754 230.486C441.035 230.901 441.227 231.348 441.342 231.831C441.456 232.314 441.482 232.803 441.414 233.296C441.352 233.79 441.206 234.252 440.973 234.694C440.739 235.13 440.432 235.514 440.063 235.842C439.689 236.169 439.274 236.418 438.806 236.595C438.344 236.772 437.866 236.86 437.367 236.86Z",fill:"#4F5D99"}),(0,Kl.jsx)("path",{d:"M186.921 133.954C186.562 133.954 186.214 133.907 185.871 133.819L116.765 115.479C116.245 115.334 115.778 115.1 115.352 114.768C114.926 114.435 114.577 114.04 114.312 113.573C114.042 113.105 113.871 112.607 113.803 112.071C113.731 111.536 113.767 111.006 113.902 110.487C114.042 109.967 114.271 109.489 114.598 109.063C114.926 108.632 115.315 108.279 115.783 108.009C116.245 107.733 116.744 107.562 117.274 107.484C117.809 107.411 118.334 107.437 118.858 107.572L187.96 125.911C188.443 126.036 188.885 126.244 189.29 126.535C189.69 126.821 190.033 127.169 190.308 127.584C190.583 127.995 190.781 128.442 190.895 128.925C191.009 129.413 191.035 129.901 190.968 130.39C190.906 130.883 190.76 131.351 190.526 131.787C190.292 132.229 189.986 132.613 189.617 132.941C189.243 133.268 188.822 133.517 188.36 133.694C187.892 133.871 187.414 133.954 186.921 133.954Z",fill:"#4F5D99"}),(0,Kl.jsx)("path",{d:"M186.921 166.226C186.562 166.221 186.214 166.179 185.871 166.086L116.765 147.747C116.245 147.601 115.778 147.367 115.352 147.035C114.926 146.708 114.577 146.307 114.312 145.84C114.042 145.372 113.871 144.874 113.803 144.338C113.731 143.803 113.767 143.279 113.902 142.754C114.042 142.234 114.271 141.762 114.598 141.33C114.926 140.899 115.315 140.551 115.783 140.276C116.245 140.006 116.744 139.829 117.274 139.751C117.809 139.678 118.334 139.704 118.858 139.839L187.96 158.179C188.443 158.303 188.885 158.511 189.29 158.802C189.69 159.088 190.033 159.441 190.308 159.851C190.583 160.262 190.781 160.714 190.895 161.197C191.009 161.68 191.035 162.168 190.968 162.662C190.906 163.156 190.76 163.618 190.526 164.06C190.292 164.496 189.986 164.88 189.617 165.208C189.243 165.535 188.822 165.784 188.36 165.961C187.892 166.138 187.414 166.226 186.921 166.226Z",fill:"#4F5D99"}),(0,Kl.jsx)("path",{d:"M186.921 198.494C186.562 198.494 186.214 198.447 185.871 198.354L116.765 180.014C116.245 179.874 115.778 179.635 115.352 179.303C114.926 178.975 114.577 178.575 114.312 178.108C114.042 177.64 113.871 177.141 113.803 176.606C113.731 176.071 113.767 175.547 113.902 175.022C114.042 174.502 114.271 174.03 114.598 173.598C114.926 173.172 115.315 172.819 115.783 172.544C116.245 172.274 116.744 172.097 117.274 172.024C117.809 171.946 118.334 171.977 118.858 172.107L187.96 190.446C188.443 190.576 188.885 190.784 189.285 191.07C189.69 191.361 190.033 191.709 190.308 192.119C190.583 192.535 190.781 192.982 190.89 193.465C191.004 193.948 191.03 194.436 190.968 194.93C190.906 195.423 190.755 195.886 190.521 196.327C190.287 196.764 189.986 197.148 189.612 197.476C189.238 197.803 188.822 198.052 188.36 198.229C187.892 198.405 187.414 198.494 186.921 198.494Z",fill:"#4F5D99"}),(0,Kl.jsx)("path",{d:"M186.921 230.761C186.562 230.761 186.214 230.714 185.871 230.626L116.765 212.281C116.245 212.141 115.778 211.902 115.352 211.575C114.926 211.242 114.577 210.842 114.312 210.375C114.042 209.912 113.871 209.409 113.803 208.873C113.731 208.344 113.767 207.814 113.902 207.294C114.042 206.775 114.271 206.297 114.598 205.865C114.926 205.439 115.32 205.086 115.783 204.816C116.245 204.541 116.744 204.369 117.279 204.291C117.809 204.213 118.334 204.244 118.858 204.374L187.96 222.719C188.443 222.843 188.885 223.051 189.285 223.337C189.69 223.628 190.033 223.976 190.308 224.392C190.583 224.802 190.781 225.249 190.89 225.732C191.004 226.215 191.03 226.703 190.968 227.197C190.906 227.691 190.755 228.158 190.521 228.594C190.287 229.031 189.986 229.415 189.612 229.743C189.238 230.07 188.822 230.324 188.36 230.496C187.892 230.673 187.414 230.761 186.921 230.761Z",fill:"#4F5D99"}),(0,Kl.jsx)("mask",{id:"mask3_2090_2342",maskUnits:"userSpaceOnUse",x:"94",y:"300",width:"125",height:"78",children:(0,Kl.jsx)("path",{d:"M94.6592 300.574H218.82V377.791H94.6592V300.574Z",fill:"white"})}),(0,Kl.jsx)("g",{mask:"url(#mask3_2090_2342)",children:(0,Kl.jsx)("path",{d:"M217.884 300.704V377.817L97.6671 345.908C97.2307 345.788 96.8255 345.606 96.4514 345.357C96.0774 345.108 95.7501 344.806 95.4747 344.448C95.1994 344.089 94.9916 343.7 94.8461 343.274C94.7007 342.842 94.6279 342.406 94.6279 341.954V313.36L158.846 327.937C161.194 328.467 163.568 328.836 165.974 329.034C168.374 329.236 170.774 329.267 173.18 329.132C175.585 328.997 177.97 328.691 180.333 328.223C182.697 327.75 185.014 327.122 187.29 326.327C189.565 325.532 191.773 324.581 193.914 323.475C196.054 322.368 198.111 321.121 200.08 319.729C202.044 318.337 203.909 316.814 205.66 315.162C207.416 313.505 209.047 311.739 210.554 309.858L217.884 300.704Z",fill:"#CFCFFF"})}),(0,Kl.jsx)("mask",{id:"mask4_2090_2342",maskUnits:"userSpaceOnUse",x:"339",y:"323",width:"126",height:"55",children:(0,Kl.jsx)("path",{d:"M339.848 323.184H464.502V377.713H339.848V323.184Z",fill:"white"})}),(0,Kl.jsx)("g",{mask:"url(#mask4_2090_2342)",children:(0,Kl.jsx)("path",{d:"M464.455 324.197V372.508C464.455 372.819 464.419 373.126 464.346 373.432C464.279 373.739 464.175 374.03 464.034 374.31C463.894 374.591 463.728 374.856 463.531 375.095C463.333 375.339 463.11 375.552 462.86 375.744C462.611 375.936 462.346 376.097 462.065 376.227C461.78 376.357 461.484 376.451 461.177 376.513C460.871 376.575 460.559 376.601 460.247 376.591C459.935 376.581 459.629 376.539 459.328 376.456L341.173 345.103V324.441L407.853 341.425C411.355 342.313 414.909 342.832 418.514 342.978C422.125 343.123 425.709 342.89 429.268 342.282C432.827 341.674 436.282 340.702 439.638 339.367C442.994 338.037 446.179 336.37 449.187 334.364L464.455 324.197Z",fill:"#CFCFFF"})}),(0,Kl.jsx)("path",{d:"M182.547 316.872C181.996 317.9 181.399 318.898 180.744 319.869C180.09 320.836 179.388 321.771 178.64 322.664C177.892 323.563 177.103 324.42 176.266 325.231C175.43 326.046 174.557 326.82 173.643 327.543C172.728 328.27 171.777 328.945 170.796 329.574C169.808 330.203 168.795 330.779 167.756 331.304C166.712 331.829 165.647 332.296 164.556 332.712C163.465 333.127 162.359 333.486 161.231 333.787C160.104 334.089 158.961 334.333 157.813 334.52C156.659 334.702 155.501 334.826 154.337 334.894C153.173 334.961 152.004 334.967 150.841 334.915C149.677 334.857 148.519 334.748 147.36 334.577C146.207 334.4 145.069 334.172 143.936 333.881C142.804 333.595 141.692 333.247 140.601 332.842C139.505 332.442 138.435 331.984 137.385 331.47C136.336 330.956 135.317 330.39 134.325 329.771C133.338 329.153 132.382 328.488 131.457 327.771C130.538 327.059 129.655 326.296 128.808 325.49C127.961 324.685 127.161 323.838 126.402 322.95C125.649 322.062 124.937 321.137 124.272 320.176C123.607 319.215 122.994 318.222 122.433 317.199C121.872 316.175 121.363 315.121 120.911 314.045C120.454 312.97 120.054 311.874 119.711 310.757C119.368 309.64 119.088 308.507 118.859 307.364C118.63 306.216 118.464 305.063 118.355 303.899C118.246 302.735 118.194 301.572 118.204 300.403C118.215 299.234 118.282 298.07 118.412 296.906C118.542 295.743 118.729 294.595 118.973 293.452C119.223 292.309 119.524 291.181 119.888 290.069C120.251 288.963 120.667 287.872 121.14 286.802C121.612 285.737 122.137 284.692 122.719 283.679C123.296 282.666 123.93 281.684 124.605 280.734C125.286 279.783 126.013 278.874 126.787 277.996C127.556 277.123 128.371 276.287 129.234 275.497C130.091 274.702 130.985 273.959 131.92 273.258C132.855 272.556 133.821 271.907 134.824 271.31C135.821 270.707 136.85 270.161 137.91 269.663C138.965 269.169 140.045 268.728 141.146 268.343C142.248 267.959 143.365 267.631 144.497 267.361C145.635 267.091 146.778 266.883 147.937 266.727C149.095 266.577 150.254 266.483 151.423 266.447C152.586 266.416 153.75 266.442 154.914 266.525C156.078 266.613 157.236 266.759 158.384 266.961C159.532 267.169 160.665 267.429 161.787 267.751C162.909 268.073 164.011 268.447 165.096 268.883C166.177 269.315 167.237 269.803 168.271 270.343C169.305 270.889 170.307 271.481 171.279 272.125C172.255 272.769 173.191 273.466 174.095 274.203C175.612 275.455 177.009 276.822 178.292 278.313C179.575 279.804 180.724 281.393 181.732 283.082C182.745 284.77 183.602 286.537 184.308 288.371C185.015 290.21 185.555 292.09 185.94 294.023C186.324 295.956 186.537 297.904 186.584 299.868C186.631 301.837 186.511 303.795 186.225 305.743C185.934 307.686 185.482 309.598 184.864 311.463C184.246 313.334 183.477 315.136 182.547 316.872Z",fill:"#EEF8FF"}),(0,Kl.jsx)("path",{d:"M174.094 274.203L142.435 333.522C138.086 332.197 134.154 330.088 130.642 327.205L162.301 267.891C166.644 269.216 170.577 271.32 174.089 274.203H174.094Z",fill:"#CAD3EA"})]})},toe=["title","titleId"];function noe(){return noe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},noe.apply(this,arguments)}function roe(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function ooe(t,n){var r=t.title,o=t.titleId,i=roe(t,toe);return e.createElement("svg",noe({id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 350.8 299.8",style:{enableBackground:"new 0 0 350.8 299.8"},xmlSpace:"preserve",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,Zre||(Zre=e.createElement("style",{type:"text/css"},"\n\t.st0{fill:#FDC144;}\n\t.st1{fill:#EEFAFF;}\n\t.st2{fill:#D4EAFC;}\n\t.st3{fill:#B7DCF7;}\n\t.st4{fill:#FDDF76;}\n\t.st5{fill:#F04C60;}\n\t.st6{fill:#FA7F85;}\n\t.st7{fill:#F7D25D;}\n\t.st8{fill:#FC646F;}\n\t.st9{fill:#8B8E9D;}\n\t.st10{fill:#757988;}\n\t.st11{fill:#E2E8F6;}\n\t.st12{fill:#D6DAE3;}\n\t.st13{fill:#7E8090;}\n\t.st14{fill:#07C1FD;}\n\t.st15{fill:#F05C5D;}\n\t.st16{fill:#E34A4A;}\n\t.st17{fill:#05A8EE;}\n")),Hre||(Hre=e.createElement("g",null,e.createElement("g",null,e.createElement("g",null,e.createElement("g",null,e.createElement("path",{className:"st0",d:"M298.7,149.4l-149.4,93.4L0,149.4L149.4,56L298.7,149.4z"}),e.createElement("g",null,e.createElement("path",{className:"st1",d:"M242.8,280.1H46.7V4.2c0-2.3,1.9-4.2,4.2-4.2H224l18.7,28V280.1z"}),e.createElement("path",{className:"st2",d:"M233.4,14l0.6,14v252.1h18V28L233.4,14z"}),e.createElement("path",{className:"st3",d:"M224,0v23.8c0,2.3,1.9,4.2,4.2,4.2h23.8L224,0z"})),e.createElement("path",{className:"st4",d:"M0,280.7V149.4l149.4,93.4L0,280.7z"}),e.createElement("path",{className:"st4",d:"M298.7,280.7V149.4l-149.4,93.4L298.7,280.7z"}),e.createElement("g",null,e.createElement("path",{className:"st5",d:"M109.9,155.9l-11.2,2c-2.3,0.4-4.5-1.2-4.8-3.5l-5.2-43.8l22.8-4l1.7,45.2 C113.3,153.8,111.9,155.6,109.9,155.9L109.9,155.9z"}),e.createElement("path",{className:"st6",d:"M86.5,109.1l-14.8,2.6c-2.4,0.4-4.6-1.2-5-3.5l-2.9-16.4c-0.4-2.4,1.2-4.6,3.5-5l14.8-2.6l11.2,10.3 L86.5,109.1z"}),e.createElement("path",{className:"st3",d:"M146.7,116.2l-20.4-4.4L88.9,111c-1.2,0-2.2-0.9-2.4-2.1l-4.3-24.6c-0.2-1.2,0.4-2.3,1.5-2.7L118.6,68 l17.7-11.1l13.3,28L146.7,116.2z"}),e.createElement("path",{className:"st6",d:"M162.1,117.3l-10.5,1.8c-2.4,0.4-4.6-1.2-5-3.5l-10.2-58.1c-0.4-2.4,1.2-4.6,3.5-5l10.5-1.8 c2.4-0.4,4.6,1.2,5,3.5l10.2,58.1C166,114.6,164.4,116.9,162.1,117.3L162.1,117.3z"})),e.createElement("g",null,e.createElement("path",{className:"st3",d:"M74.7,41.8h40.9c2.5,0,4.5-2,4.5-4.5s-2-4.5-4.5-4.5H74.7c-2.5,0-4.5,2-4.5,4.5S72.2,41.8,74.7,41.8z"}),e.createElement("path",{className:"st3",d:"M74.7,60.5H100c2.5,0,4.5-2,4.5-4.5c0-2.5-2-4.5-4.5-4.5H74.7c-2.5,0-4.5,2-4.5,4.5 C70.2,58.5,72.2,60.5,74.7,60.5z"}))),e.createElement("path",{className:"st7",d:"M149.4,242.7L296.9,298c1.1-0.7,1.8-2,1.8-3.4v-13.9L193.7,215L149.4,242.7z"}),e.createElement("path",{className:"st7",d:"M1.8,298l147.5-55.3L105.1,215L0,280.7v13.9C0,296.1,0.7,297.3,1.8,298L1.8,298z"}),e.createElement("path",{className:"st4",d:"M149.4,205.4L1.5,297.8c0.7,0.6,1.6,0.9,2.6,0.9h290.6c1,0,1.9-0.3,2.6-0.9L149.4,205.4z"}),e.createElement("g",null,e.createElement("path",{className:"st6",d:"M180.8,228.3c0,42.4-37.4,43.4-40.2,42.8c-19.9-4.1-34.9-21.7-34.9-42.8c0-21,14.9-38.6,34.7-42.8 C143.3,184.9,180.8,187.8,180.8,228.3z"})),e.createElement("path",{className:"st8",d:"M140.3,185.5c19.8,4.2,34.7,21.7,34.7,42.8s-14.9,38.6-34.7,42.8c27.2,5.7,52.7-15.1,52.7-42.8 C193.1,200.6,167.6,179.8,140.3,185.5z"}),e.createElement("path",{className:"st1",d:"M160.4,207.5c-5.6-3-12-3.5-18.1-1.6c-11.9,3.8-18.8,16.2-15.6,28.3c2.8,10.5,12.5,17.5,22.2,17.5 c2,0,3.6-1.6,3.7-3.6c0.1-2-1.5-3.7-3.6-3.8c-7.1-0.2-13.3-5.2-15.2-12c-3.6-13.6,10.8-24.9,23.1-18.4c5.7,3,9.6,9.4,7.9,16.2 c-0.7,2.6-1.7,5.4-4.4,5.4c-0.6,0-1.5-0.8-1.5-1.2c0.1-6.7,0.1-6.4,0.1-6.8c-0.2-6-4.2-10.4-9.4-10.4c-5.5,0-9.9,4.8-9.9,11 c0,8,7,13.3,13.2,10.5c1.7,2.5,4.7,4.3,7.6,4.3C174.2,242.9,179.2,217.4,160.4,207.5L160.4,207.5z M149.5,232 c-1,0-2.4-1.5-2.4-3.9c0-2.2,1.3-3.6,2.5-3.6c1.2,0,2.1,1.5,2.1,3.6C151.7,230.5,150.4,232,149.5,232z"})),e.createElement("g",null,e.createElement("path",{className:"st9",d:"M293.2,71.2h-96.3c-8.7,0-15.9,7.2-15.9,15.9v196.8c0,8.7,7.2,15.9,15.9,15.9h96.3c8.7,0,15.9-7.2,15.9-15.9 V87.1C309.1,78.3,301.9,71.2,293.2,71.2z"}),e.createElement("path",{className:"st10",d:"M194.8,283.9V87.1c0-8.7,7.2-15.9,15.9-15.9h-13.8c-8.7,0-15.9,7.2-15.9,15.9v196.8 c0,8.7,7.2,15.9,15.9,15.9h13.8C202,299.8,194.8,292.6,194.8,283.9z"}),e.createElement("path",{className:"st11",d:"M194.8,114.1v145.8c0,1.1,1,2.1,2.1,2.1h96.3c1.1,0,2.1-1,2.1-2.1V114.1H194.8z"}),e.createElement("path",{className:"st12",d:"M208.6,259.9V114.1h-13.8v145.8c0,1.1,1,2.1,2.1,2.1h13.8C209.6,262,208.6,261,208.6,259.9z"}),e.createElement("path",{className:"st10",d:"M245,272.6c-4.3,0-7.9,3.5-7.9,7.9c0,4.3,3.5,7.9,7.9,7.9s7.9-3.5,7.9-7.9 C252.9,276.1,249.4,272.6,245,272.6z"}),e.createElement("path",{className:"st13",d:"M248.2,280.4c0-2.2,0.9-4.1,2.3-5.6c-1.4-1.4-3.4-2.3-5.5-2.3c-4.3,0-7.9,3.5-7.9,7.9s3.5,7.9,7.9,7.9 c2.1,0,4.1-0.9,5.5-2.3C249.1,284.6,248.2,282.6,248.2,280.4z"}),e.createElement("path",{className:"st10",d:"M253.4,88.5h-16.7c-1.9,0-3.4-1.5-3.4-3.4c0-1.9,1.5-3.4,3.4-3.4h16.7c1.9,0,3.4,1.5,3.4,3.4 C256.8,86.9,255.3,88.5,253.4,88.5z"}),e.createElement("path",{className:"st14",d:"M293.2,98.8h-96.3c-1.1,0-2.1,1-2.1,2.1V115h100.5v-14.1C295.3,99.8,294.3,98.8,293.2,98.8z"}),e.createElement("path",{className:"st15",d:"M213.2,98.8h-16.3c-1.1,0-2.1,1-2.1,2.1V115h18.4V98.8z"}),e.createElement("path",{className:"st16",d:"M210.7,98.8h-13.9c-1.1,0-2.1,1-2.1,2.1V115h13.9v-14.1C208.7,99.8,209.6,98.8,210.7,98.8z"}),e.createElement("path",{className:"st14",d:"M329.5,143.2h-70.2c-3.4,0-6.1,2.8-6.1,6.1v53.3c0,3.4,2.8,6.2,6.1,6.2H303c1.3,0,2.5,0.6,3.3,1.6 l11.2,13.7c0.8,1,2.5,0.4,2.5-0.9v-12.5c0-1,0.8-1.8,1.8-1.8h8.3c3.4,0,6.2-2.8,6.2-6.2v-52.7 C336.2,146.2,333.2,143.2,329.5,143.2z"}),e.createElement("g",null,e.createElement("path",{className:"st17",d:"M267,202.6v-53.3c0-3.4,2.8-6.2,6.1-6.2h-13.8c-3.4,0-6.1,2.8-6.1,6.2v53.3c0,3.4,2.8,6.2,6.1,6.2h13.8 C269.8,208.8,267,206,267,202.6z"}),e.createElement("path",{className:"st17",d:"M316.8,208.8H303c1.3,0,2.5,0.6,3.3,1.6l11.2,13.7c0.8,1,2.5,0.4,2.5-0.9v-12.5c0-0.1,0-0.2,0-0.4 C319.1,209.3,318,208.8,316.8,208.8z"}),e.createElement("path",{className:"st17",d:"M319.9,179.4h-50.4c-1.9,0-3.4-1.5-3.4-3.4c0-1.9,1.5-3.4,3.4-3.4h50.4c1.9,0,3.4,1.5,3.4,3.4 S321.8,179.4,319.9,179.4z"}),e.createElement("path",{className:"st17",d:"M319.9,195.8h-50.4c-1.9,0-3.4-1.5-3.4-3.5c0-1.9,1.5-3.4,3.4-3.4h50.4c1.9,0,3.4,1.5,3.4,3.4 C323.4,194.3,321.8,195.8,319.9,195.8z"}),e.createElement("path",{className:"st17",d:"M319.9,163h-50.4c-1.9,0-3.4-1.5-3.4-3.4c0-1.9,1.5-3.4,3.4-3.4h50.4c1.9,0,3.4,1.5,3.4,3.4 C323.4,161.5,321.8,163,319.9,163z"})),e.createElement("path",{className:"st15",d:"M350.8,150.5c0,10.7-8.7,19.4-19.4,19.4c-10.7,0-19.4-8.7-19.4-19.4c0-10.7,8.7-19.4,19.4-19.4 C342.1,131.1,350.8,139.8,350.8,150.5z"}),e.createElement("path",{className:"st16",d:"M325.9,150.5c0-8.3,5.2-15.3,12.5-18.1c-2.1-0.8-4.5-1.3-6.9-1.3c-10.7,0-19.4,8.7-19.4,19.4 c0,10.7,8.7,19.4,19.4,19.4c2.4,0,4.8-0.5,6.9-1.3C331.1,165.8,325.9,158.8,325.9,150.5z"}),e.createElement("path",{className:"st11",d:"M331.4,161.2c-1.9,0-3.4-1.5-3.4-3.4v-11.1c-1.6-0.3-2.8-1.7-2.8-3.4c0-1.9,1.5-3.4,3.5-3.4h2.8 c1.9,0,3.4,1.5,3.4,3.4v14.5C334.9,159.7,333.3,161.2,331.4,161.2z"}))))))}var ioe=e.forwardRef(ooe),aoe=(__webpack_require__.p,function(){return(0,Kl.jsx)(Gl.Z,{height:"370",viewBox:"0 -70 350 476",fill:"none",xmlns:"http://www.w3.org/2000/svg",component:ioe})}),soe=function(e){var t=e.tool,n=t.Icon,r=t.title,o=t.href,i=t.text,a=he();return(0,Kl.jsxs)("div",{className:Gre,children:[n,(0,Kl.jsx)(kl.Z,{align:"center",className:Kre,children:r}),null===i||void 0===i?void 0:i.map((function(e,t){return(0,Kl.jsx)(kl.Z,{align:"center",className:Jre,children:e},"t-".concat(t))})),(0,Kl.jsx)(zd.Z,{onClick:function(){a(o)},size:"small",variant:"contained",color:"primary",children:"View"})]})},loe=function(){var t,n,r=(0,e.useContext)(bA),o=[{href:"/leaflets",title:"Patient Information Leaflets",Icon:(0,Kl.jsx)(eoe,{}),text:["Provide patients with in-depth treatment details and proper aftercare through digital information leaflets.","Customise and automatically send educational pre-treatment guides to keep patients informed, set clear expectations, and reduce complications with these comprehensive, branded digital leaflets."],display:!0},{href:"/notifications",title:"Email & SMS Notifications",Icon:(0,Kl.jsx)(aoe,{}),text:["Build lasting client relationships with personalised, automated communication. Easily customise and send appointment reminders, promotions, and other updates via email and SMS text messages","Drive retention, reduce no-shows, and boost engagement with modern, tailored communication to both clients and staff."],display:null===r||void 0===r||null===(t=r.user)||void 0===t||null===(n=t.staff)||void 0===n?void 0:n.is_clinic_admin}];return(0,Kl.jsx)(Yh,{title:"Marketing",Icon:h3.Z,children:(0,Kl.jsxs)("div",{className:Xre,children:[(0,Kl.jsx)(kl.Z,{className:Qre,children:"Marketing tools"}),(0,Kl.jsx)("div",{className:Yre,children:null===o||void 0===o?void 0:o.map((function(e,t){return e.display?(0,Kl.jsx)(soe,{tool:e},"tool_".concat(t)):null}))})]})})},coe={medicalHistory:"medical-history-snapshot_medicalHistory__eW0SD",logoContainer:"medical-history-snapshot_logoContainer__btKoh",loading:"medical-history-snapshot_loading__asBFH",history:"medical-history-snapshot_history__oCZ5x",answers:"medical-history-snapshot_answers__YEBZu"},uoe=__webpack_require__(53350),doe="chip_chip__4WJJC",poe="chip_chipQuestion__-cI-z",foe="chip_heading__6pxwg",hoe="chip_description__UGnE-",boe="chip_chipResult__KZhW7",Aoe=function(e){var t=e.text,n=e.description,r=e.result;return(0,Kl.jsxs)("div",{className:doe,style:{backgroundColor:r?"#FF968F":"none"},children:[(0,Kl.jsxs)("div",{className:poe,children:[(0,Kl.jsx)(kl.Z,{className:foe,variant:"body1",style:{color:r?"#fff":"#000"},children:t}),(0,Kl.jsx)(kl.Z,{className:hoe,variant:"body1",style:{color:r?"#fff":"#000"},children:n})]}),(0,Kl.jsx)("div",{className:boe,children:r?(0,Kl.jsx)(uoe.Z,{style:{color:"#fff"}}):(0,Kl.jsx)(j3.Z,{})})]})},moe=__webpack_require__(17468),goe=__webpack_require__(40651),voe=__webpack_require__.n(goe),yoe=__webpack_require__(43295),Moe="patientInfo_container__hg326",Ooe=function(e){var t=e.field,n=e.text;return t&&n?(0,Kl.jsx)(AC,{item:!0,xs:6,container:!0,children:(0,Kl.jsx)(kl.Z,{variant:"caption",children:t+": "+n})}):null},_oe=function(e){var t,n=e.patient;return(0,Kl.jsx)(hS,{className:Moe,children:(0,Kl.jsx)(AS,{children:(0,Kl.jsxs)(AC,{container:!0,spacing:3,children:[(0,Kl.jsx)(Ooe,{field:"Email",text:null===n||void 0===n||null===(t=n.user)||void 0===t?void 0:t.email}),(0,Kl.jsx)(Ooe,{field:"Clinic",text:null===n||void 0===n?void 0:n.clinicName}),(0,Kl.jsx)(Ooe,{field:"Address",text:null===n||void 0===n?void 0:n.address}),(0,Kl.jsx)(Ooe,{field:"Phone",text:null===n||void 0===n?void 0:n.phone}),(0,Kl.jsx)(Ooe,{field:"City",text:null===n||void 0===n?void 0:n.city}),(0,Kl.jsx)(Ooe,{field:"DOB",text:null===n||void 0===n?void 0:n.dateOfBirth}),(0,Kl.jsx)(Ooe,{field:"Postcode",text:null===n||void 0===n?void 0:n.zipCode}),(0,Kl.jsx)(Ooe,{field:"GP Name",text:null===n||void 0===n?void 0:n.gpName}),(0,Kl.jsx)(Ooe,{field:"GP Address",text:null===n||void 0===n?void 0:n.gpAddress})]})})})},zoe=function(t){var r,o,i=t.isSurvey,a=me().token,s=(0,e.useState)(),l=(0,n.Z)(s,2),c=l[0],u=l[1],d=(0,e.useRef)(null),p=(0,e.useState)(void 0),f=(0,n.Z)(p,2),h=f[0],b=f[1],A=(0,e.useState)(!0),m=(0,n.Z)(A,2),g=m[0],v=m[1],y=(0,e.useRef)(null);(0,e.useEffect)((function(){M(a)}),[a]);var M=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,r,o,a;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get("/v1/".concat(i?"survey-entry-snapshot":"medical-history-snapshot","/").concat(t));case 2:r=e.sent,null!==(o=r.data)&&void 0!==o&&null!==(n=o.error)&&void 0!==n&&n.message?b(o.error.message):((a=o.data.payload).patient={user:{email:a.patient.email},clinicName:a.clinic.name,address:a.patient.address,phone:a.patient.phone,city:a.patient.city,dateOfBirth:Vs()(a.patient.date_of_birth).format("DD/MM/YYYY"),zipCode:a.patient.zip_code,gpName:a.patient.gp_name,gpAddress:a.patient.gp_address},u(null===o||void 0===o?void 0:o.data)),v(!1);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),O=(0,yoe.useReactToPrint)({content:function(){return y.current},documentTitle:"medical-history-shapshot.pdf",copyStyles:!0,print:function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,r;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(n=t.contentDocument)){e.next=6;break}return r=n.getElementById("medical-history-snapshot"),n.querySelectorAll("button").forEach((function(e){return e.remove()})),e.next=6,voe()().set({filename:"medical-history-shapshot_".concat(null===c||void 0===c?void 0:c.id,".pdf"),jsPDF:{orientation:"landscape"}}).from(r).save();case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()});return h?(0,Kl.jsx)("div",{className:coe.completed,children:(0,Kl.jsx)(kl.Z,{children:h})}):(0,Kl.jsx)("div",{className:coe.medicalHistory,ref:y,id:"medical-history-snapshot",children:g?(0,Kl.jsx)("div",{className:coe.loading,children:(0,Kl.jsx)(Gh.Z,{})}):(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsxs)("div",{className:coe.logoContainer,children:[(0,Kl.jsx)("img",{src:zp,alt:"logo",className:coe.logo}),(0,Kl.jsx)(wd.Z,{variant:"outlined",size:"small",onClick:O,children:(0,Kl.jsx)(moe.Z,{className:coe.actionIcon})})]}),(0,Kl.jsx)("div",{className:coe.patientNameContainer,children:(0,Kl.jsx)(kl.Z,{variant:"h5",component:"h3",children:null===c||void 0===c?void 0:c.patientName})}),(0,Kl.jsx)(_oe,{patient:null===c||void 0===c||null===(r=c.payload)||void 0===r?void 0:r.patient}),(0,Kl.jsxs)("div",{className:coe.medicalHistoryTitleContainer,children:[(0,Kl.jsx)(kl.Z,{variant:"h5",component:"h3",children:"Medical History"}),(0,Kl.jsxs)("div",{className:coe.history,children:[(0,Kl.jsx)("div",{className:coe.answers,children:null===c||void 0===c||null===(o=c.snapshot)||void 0===o?void 0:o.map((function(e,t){return(0,Kl.jsx)(Aoe,{text:null===e||void 0===e?void 0:e.question,result:null===e||void 0===e?void 0:e.answer,description:null===e||void 0===e?void 0:e.description},"answer_".concat(t))}))}),(0,Kl.jsx)(m2,{title:"Patient Signature",ref:d,sign:null===c||void 0===c?void 0:c.signUrl,signedAt:null===c||void 0===c?void 0:c.signedAt,showErase:!1})]})]})]})})},xoe="notFound_container__yTfOG",woe=function(){return(0,Kl.jsx)(AC,{container:!0,justifyContent:"center",alignItems:"center",className:xoe,children:(0,Kl.jsx)(kl.Z,{children:"Not found"})})},Coe="survey_loading__-jls-",Soe="survey_completed__vh39e",Eoe={surveyContainer:"surveyForm_surveyContainer__az4iG",logo:"surveyForm_logo__5KD33",survey:"surveyForm_survey__zssiK",submitButton:"surveyForm_submitButton__ZgdPa"},koe={container:"surveyQuestion_container__Vb1nL"},Doe=function(e){var t=e.question,n=e.setResult,r=e.setDescription,o=e.index;return(0,Kl.jsxs)("div",{className:koe.container,children:[(0,Kl.jsxs)(AJ.Z,{component:"fieldset",className:koe.fieldSet,children:[(0,Kl.jsx)(Z7.Z,{component:"legend",children:null===t||void 0===t?void 0:t.content}),(0,Kl.jsxs)(H7,{value:null===t||void 0===t?void 0:t.value,onChange:function(e,t){return n(o,t)},row:!0,children:[(0,Kl.jsx)(oS.Z,{value:!0,control:(0,Kl.jsx)(rJ,{color:"primary"}),label:"Yes"}),(0,Kl.jsx)(oS.Z,{value:!1,control:(0,Kl.jsx)(rJ,{color:"primary"}),label:"No"})]})]}),(0,Kl.jsx)(Wu.Z,{fullWidth:!0,name:"Description",label:"Description",type:"text",variant:"outlined",multiline:!0,value:null===t||void 0===t?void 0:t.description,onChange:function(e){return r(o,e)}})]})},Noe=(0,e.forwardRef)((function(t,r){var o,i,a,s,l=t.onClickSubmit,c=t.data,u=t.setData,d=t.patient,p=t.canvasRef,f=t.sign,h=t.signedAt,b=t.hideButton,A=(0,e.useState)(!0),m=(0,n.Z)(A,2),g=m[0],v=m[1];(0,e.useImperativeHandle)(r,(function(){return{getIsEmpty:function(){return g}}}),[g]);var y=function(e,t){var n=Us({},c);n.questions[e]=Us(Us({},n.questions[e]),{},{value:"true"===t}),u(n)},M=(0,e.useCallback)((function(e,t){var n,r=Us({},c);r.questions[e]=Us(Us({},r.questions[e]),{},{description:null===t||void 0===t||null===(n=t.target)||void 0===n?void 0:n.value}),u(r)}),[c]);return(0,Kl.jsxs)("div",{className:Eoe.surveyContainer,children:[(0,Kl.jsx)("div",{className:Eoe.medicalHistoryTitleContainer,children:(0,Kl.jsx)(kl.Z,{variant:"h5",component:"h3",children:null!==(o=null===c||void 0===c?void 0:c.name)&&void 0!==o?o:null===c||void 0===c||null===(i=c.survey)||void 0===i?void 0:i.name})}),(0,Kl.jsx)("div",{className:Eoe.survey,children:f?null===c||void 0===c||null===(s=c.answers)||void 0===s?void 0:s.map((function(e,t){var n;return(0,Kl.jsx)(Aoe,{text:null===e||void 0===e||null===(n=e.question)||void 0===n?void 0:n.content,result:null===e||void 0===e?void 0:e.value,description:null===e||void 0===e?void 0:e.description},"answer_".concat(t))})):null===c||void 0===c||null===(a=c.questions)||void 0===a?void 0:a.map((function(e,t){return(0,Kl.jsx)(Doe,{question:e,index:t,setResult:y,setDescription:M},null===e||void 0===e?void 0:e.id)}))}),(0,Kl.jsx)(m2,{title:"Patient Signature",ref:p,sign:f,active:!f,setIsEmpty:function(e){v(e)},signedAt:h,showErase:!f}),f&&(0,Kl.jsx)(Cb,{display:"flex",justifyContent:"flex-end",mb:2,children:(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",href:"/patients/".concat(null===d||void 0===d?void 0:d.id,"/edit-survey/").concat(null===c||void 0===c?void 0:c.id,"?redirect-to-new-entry=1"),children:"Edit"})}),!f&&!b&&(0,Kl.jsx)("div",{className:Eoe.submitButton,children:(0,Kl.jsx)(zd.Z,{color:"primary",variant:"contained",onClick:l,disabled:(null===f||void 0===f?void 0:f.length)>0||g,children:"Submit"})})]})})),Toe=Noe,joe=function(t){var r=t.foreignHash,o=t.submit,i=t.onComplete,a=me().token,s=(0,e.useState)(!0),l=(0,n.Z)(s,2),c=l[0],u=l[1],d=(0,e.useState)(),p=(0,n.Z)(d,2),f=p[0],h=p[1],b=(0,e.useState)(),A=(0,n.Z)(b,2),m=A[0],g=A[1],v=(0,e.useRef)(null),y=hE().enqueueSnackbar,M=(0,e.useState)(void 0),O=(0,n.Z)(M,2),_=O[0],z=O[1],x=(0,e.useRef)(),w=r||a;(0,e.useEffect)((function(){o<=0||S()}),[o]),(0,e.useEffect)((function(){C(w)}),[w]);var C=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get("/v1/encrypted-survey/".concat(t)).then((function(e){var t,n=e.data;n.data.questions=null===n||void 0===n||null===(t=n.data)||void 0===t?void 0:t.questions.map((function(e){return Us(Us({},e),{},{value:!1,description:""})})),g(n.data),h(null===n||void 0===n?void 0:n.patient),u(!1)})).catch((function(e){u(!1),z(null===e||void 0===e?void 0:e.message),i&&i()}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),S=function(){if(x.current)if(x.current.getIsEmpty()){var e,t;y("Please sign ".concat(null!==(e=null===m||void 0===m?void 0:m.name)&&void 0!==e?e:null===m||void 0===m||null===(t=m.survey)||void 0===t?void 0:t.name," form"),{variant:"error"})}else{var n=v.current.toDataURL(),r=new FormData;fetch(n).then((function(e){return e.blob()})).then((function(e){var t=new File([e],"sign_".concat(null===f||void 0===f?void 0:f.id,".png"),{type:"image/png"});r.append("sign",t),r.append("survey_id",null===m||void 0===m?void 0:m.id),null===m||void 0===m||m.questions.forEach((function(e,t){r.append("answers[".concat(t,"][survey_question_id]"),e.id),r.append("answers[".concat(t,"][value]"),e.value?1:0),r.append("answers[".concat(t,"][description]"),e.description)})),Re.post("/v1/encrypted-survey/".concat(w),r,{headers:{"Content-Type":"multipart/form-data"}}).then((function(e){e.data;z("Successfully saved!"),i&&i()})).catch((function(e){z(e.message),i&&i(),Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return y(e,{variant:"error"})}))}))}))}))}};return _?(0,Kl.jsx)("div",{className:Soe,children:(0,Kl.jsx)(kl.Z,{children:_})}):c?(0,Kl.jsx)("div",{className:Coe,children:(0,Kl.jsx)(Gh.Z,{})}):(0,Kl.jsx)(Toe,{ref:x,onClickSubmit:S,data:m,setData:g,canvasRef:v,hideButton:!!r})},Boe=function(){var t=(0,e.useState)(Object.fromEntries(new URLSearchParams(window.location.search).entries())),o=(0,n.Z)(t,1)[0],i=(0,e.useState)(0),a=(0,n.Z)(i,2),s=a[0],l=a[1],c=(0,e.useState)([]),u=(0,n.Z)(c,2),d=u[0],p=u[1],f=(0,e.useCallback)((function(e){p((function(t){return[].concat((0,r.Z)(t),[e])}))}),[]);return d.length<Object.keys(o).length?(0,Kl.jsxs)(Kl.Fragment,{children:[Object.keys(o).map((function(e){return"msh"===e?(0,Kl.jsx)(iee,{foreignHash:o[e],submit:s,onComplete:function(){return f(e)}},e):(0,Kl.jsx)(joe,{foreignHash:o[e],submit:s,onComplete:function(){return f(e)}},e)})),(0,Kl.jsx)(Cb,{textAlign:"center",p:2,children:(0,Kl.jsx)(zd.Z,{type:"button",variant:"contained",color:"primary",onClick:function(){l(s+1)},children:"Submit"})})]}):(0,Kl.jsx)(Cb,{height:"100%",alignItems:"center",justifyContent:"center",display:"flex",children:(0,Kl.jsx)(kl.Z,{children:"Successfully saved!"})})},Loe={submitButton:"patientForm_submitButton__C-8gX",formCard:"patientForm_formCard__V4FM+",createPatient:"patientForm_createPatient__OuX8n",switch:"patientForm_switch__3dV84",errorText:"patientForm_errorText__tUdff"},Roe=[{name:"firstName",type:"text",label:"First Name"},{name:"lastName",type:"text",label:"Last Name"},{name:"email",type:"email",label:"Email"},{name:"phone",type:"phoneField",label:"Phone"},{name:"dob",type:"date",label:"DOB"},{name:"city",type:"text",label:"City"},{name:"address",type:"text",label:"Address"},{name:"zipCode",type:"string",label:"Post Code"},{name:"gpName",type:"text",label:"GP Name"},{name:"gpAddress",type:"text",label:"GP Address"},{name:"nextOfKin",type:"text",label:"Next of Kin"},{name:"nextOfKinContactNumber",type:"phoneField",label:"Next of Kin contact number"},{name:"note",type:"text",label:"Notes",multiline:!0}],qoe=jk.object({firstName:jk.string("Enter patient first name").required("First name is required"),lastName:jk.string("Enter patient first name").required("First name is required"),email:jk.string("Enter email").email("Enter a valid email").required("Email is required"),phone:jk.string().test("validPhone","Phone is required and must be a valid",(function(e){return yW(e||"")})).required("Phone is required and must be a valid"),dob:jk.date("Enter patient date of birth").required("Date of birth is required"),city:jk.string("Enter city"),address:jk.string("Enter address"),zipCode:jk.string("Enter Post code").matches(nee,"Post code is not valid"),gpName:jk.string("Enter GP Name"),gpAddress:jk.string("Enter GP Address"),nextOfKin:jk.string(),nextOfKinContactNumber:jk.string().when("nextOfKin",{is:function(e){return e&&e.length>0},then:jk.string().test("validNextOfKinContactNumber","Phone is required and must be a valid",(function(e){return yW(e||"")})).required("Phone is required and must be a valid")}),note:jk.string("Enter notes").nullable(),gender:jk.string("Choose gender").required().test("validGender","Gender is required",(function(e){return"0"!==e})),gdprAccepted:jk.boolean()}),Poe=function(t){var o=t.title,i=t.submit,a=t.initValues,s=t.type,l=(0,e.useState)(!1),c=(0,n.Z)(l,2),u=c[0],d=c[1],p=(0,e.useState)(!1),f=(0,n.Z)(p,2),h=f[0],b=f[1],A=(0,e.useState)([]),m=(0,n.Z)(A,2),g=m[0],v=m[1],y=(0,e.useRef)(null),M=(0,e.useState)(!0),O=(0,n.Z)(M,2),_=O[0],z=O[1],x=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,r;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get("/v1/medical-history-questions");case 2:n=e.sent,r=n.data,v(r.data);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();(0,e.useEffect)((function(){x()}),[]);var w=(0,e.useState)([{id:0,name:"Choose gender"},{id:1,name:"Male"},{id:2,name:"Female"},{id:3,name:"Other"}]),C=(0,n.Z)(w,1)[0],S=(0,e.useCallback)((function(e){d(e.target.checked)}),[]);(0,e.useEffect)((function(){d(a.isVip)}),[a.isVip,d]);var E=Xj({enableReinitialize:!0,initialValues:a,validationSchema:qoe,onSubmit:function(e){D(e)}}),k=(0,e.useCallback)((function(e,t,n,r){return(0,Kl.jsx)(AC,{item:!0,xs:r?12:6,children:"phoneField"===t?(0,Kl.jsx)(_W,{name:e,placeholder:n,value:E.values[e]||"",onChange:function(t){E.setFieldValue(e,t||"")},error:E.touched[e]||E.errors[e]?E.errors[e]:null,onBlur:E.handleBlur}):(0,Kl.jsx)(Wu.Z,{size:"small",variant:"outlined",fullWidth:!0,multiline:r||!1,minRows:4,id:e,name:e,label:n,type:t,value:E.values[e],onChange:E.handleChange,error:E.touched[e]&&Boolean(E.errors[e]),helperText:E.touched[e]&&E.errors[e]})},"input_".concat(e))}),[E]),D=function(e){var t=new FormData;if(t.append("user[email]",e.email),t.append("user[lastName]",e.lastName),t.append("user[name]",e.firstName),t.append("user[phone]",e.phone),t.append("dateOfBirth",e.dob),t.append("city",e.city),t.append("address",e.address),t.append("zipCode",e.zipCode),t.append("gpName",e.gpName),t.append("gpAddress",e.gpAddress),t.append("nextOfKin",e.nextOfKin),t.append("nextOfKinContactNumber",e.nextOfKinContactNumber),t.append("isVip",u?1:0),t.append("note",e.note),t.append("gender",C.find((function(t){return(null===t||void 0===t?void 0:t.id)===e.gender})).name.toLowerCase()),t.append("gdpr_accepted",e.gdprAccepted?1:0),t.append("_method","create"===s?"POST":"PUT"),"create"===s&&h){var n=y.current.toDataURL();fetch(n).then((function(e){return e.blob()})).then((function(n){var r=new File([n],"sign_".concat(e.email,".png"),{type:"image/png"});t.append("sign",r),g.forEach((function(e,n){t.append("answers[".concat(n,"][questionId]"),e.id),t.append("answers[".concat(n,"][result]"),e.result?1:0),t.append("answers[".concat(n,"][description]"),e.description?e.description:"")})),i(t)}))}else i(t)},N=(0,e.useCallback)((function(e,t){var n=(0,r.Z)(g);n[e].result=JSON.parse(t),v(n)}),[g]),T=(0,e.useCallback)((function(e,t){var n=(0,r.Z)(g);n[e].description=t.target.value,v(n)}),[g]),j=(0,e.useCallback)((function(e){var t,n,r,o;return(0,Kl.jsx)(AC,{item:!0,xs:12,children:(0,Kl.jsxs)(AJ.Z,{component:"fieldset",className:Loe.fieldSet,children:[(0,Kl.jsx)(Z7.Z,{component:"legend",children:null===(t=g[e])||void 0===t?void 0:t.text}),(0,Kl.jsxs)(H7,{value:null!==(n=null===(r=g[e])||void 0===r?void 0:r.result)&&void 0!==n&&n,onChange:function(t,n){return N(e,n)},row:!0,children:[(0,Kl.jsx)(oS.Z,{value:!0,control:(0,Kl.jsx)(rJ,{color:"primary"}),label:"Yes"}),(0,Kl.jsx)(oS.Z,{value:!1,control:(0,Kl.jsx)(rJ,{color:"primary"}),label:"No"})]}),(0,Kl.jsx)(Wu.Z,{fullWidth:!0,name:"Description",label:"Description",type:"text",value:null!==(o=g[e])&&void 0!==o&&o.description?g[e].description:"",onChange:function(t){return T(e,t)}})]})},"answer_".concat(e))}),[g,T,N]);return(0,Kl.jsxs)("div",{className:Loe.createPatient,children:[(0,Kl.jsxs)(AC,{container:!0,direction:"row",justifyContent:"flex-start",alignItems:"center",children:[(0,Kl.jsx)(kl.Z,{variant:"h5",component:"h3",children:o}),(0,Kl.jsx)("div",{className:Loe.switch,children:(0,Kl.jsx)(oS.Z,{control:(0,Kl.jsx)(rS.Z,{checked:u,onChange:S,color:"primary",name:"vip",inputProps:{"aria-label":"primary checkbox"}}),label:"Vip"})})]}),(0,Kl.jsx)(hS,{className:Loe.formCard,children:(0,Kl.jsx)(AS,{children:(0,Kl.jsxs)("form",{onSubmit:E.handleSubmit,children:[(0,Kl.jsxs)(AC,{container:!0,spacing:3,children:[Roe.map((function(e){return k(e.name,e.type,e.label,e.multiline,e.select)})),(0,Kl.jsxs)(AC,{item:!0,xs:6,children:[(0,Kl.jsx)(LE.Z,{fullWidth:!0,value:E.values.gender,name:"gender",id:"gender",label:"Gender",variant:"outlined",onChange:E.handleChange,error:E.touched.gender&&Boolean(E.errors.gender),children:null===C||void 0===C?void 0:C.map((function(e,t){return(0,Kl.jsx)(xd.Z,{value:e.id,children:e.name},"".concat(e.name,"_").concat(t))}))}),E.touched.gender&&E.errors.gender&&(0,Kl.jsx)("p",{className:Loe.errorText,children:E.errors.gender})]},"input_gender}"),(0,Kl.jsx)(AC,{item:!0,xs:6,children:(0,Kl.jsx)(oS.Z,{control:(0,Kl.jsx)(kk.Z,{id:"gdprAccepted",name:"gdprAccepted",checked:E.values.gdprAccepted,variant:"outlined",onChange:E.handleChange}),label:(0,Kl.jsx)(Ow.ZP,{placement:"top",title:(0,Kl.jsx)("div",{style:{fontSize:14},children:"Customers who opt in will receive any bulk messages you send for marketing purposes"}),arrow:!0,children:(0,Kl.jsx)("div",{children:"Send this customer SMS/email marketing messages"})})})},"input_gdprAccepted}")]}),"edit"===s&&(0,Kl.jsx)("div",{className:Loe.submitButton,children:(0,Kl.jsx)(zd.Z,{color:"primary",variant:"contained",type:"submit",children:"Save"})}),"create"===s&&(0,Kl.jsxs)("div",{className:Loe.submitButton,children:[(0,Kl.jsx)(zd.Z,{color:"primary",variant:"contained",type:"submit",children:"Submit"}),(0,Kl.jsxs)(zd.Z,{color:"primary",variant:"contained",onClick:function(){b(!h)},children:[h?"Remove":"Add"," Medical Questionnaire"]})]})]})})}),h&&!!g&&"create"===s&&(0,Kl.jsx)(hS,{children:(0,Kl.jsx)(AS,{children:(0,Kl.jsxs)(AC,{container:!0,spacing:3,justifyContent:"center",children:[g.map((function(e,t){return j(t,e)})),(0,Kl.jsx)(AC,{item:!0,container:!0,children:(0,Kl.jsx)(m2,{title:"Patient Signature",ref:y,sign:null,active:!1,setIsEmpty:z,isEmpty:_})}),(0,Kl.jsx)("div",{className:Loe.submitButton,children:(0,Kl.jsx)(zd.Z,{color:"primary",variant:"contained",onClick:E.handleSubmit,disabled:_,children:"Submit"})})]})})})]})},Ioe=function(){var t=he(),n=hE().enqueueSnackbar,r=Fc().appointment,o=fe(),i=(0,e.useMemo)((function(){return(new Date).toISOString().split("T")[0]}),[]),a=(0,e.useMemo)((function(){return{firstName:"",lastName:"",email:"",phone:"",dob:i,city:"",address:"",zipCode:"",gpName:"",gpAddress:"",nextOfKin:"",nextOfKinContactNumber:"",isVip:!1,gender:0,gdprAccepted:!1,note:""}}),[i]);return(0,Kl.jsx)(Poe,{title:"New Patient",submit:function(e){Re.post("/v1/patient",e,{headers:{"Content-Type":"multipart/form-data"}}).then((function(e){var n,i=e.data;o.search.includes("fromAppointment")?(r.clearLinkedAppointmentsHash(),r.clearPrevAppointment(),r.setPatient(null===i||void 0===i?void 0:i.data),null!==r&&void 0!==r&&r.id?t("/calendar/appointment/".concat(null===r||void 0===r?void 0:r.id)):t("/calendar/appointment")):t("/patients/".concat(null===i||void 0===i||null===(n=i.data)||void 0===n?void 0:n.id))})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return n(e,{variant:"error"})}))}))}))},initValues:a,type:"create"})},Woe=function(){var t=he(),r=me().patientId,o=(0,e.useState)(),i=(0,n.Z)(o,2),a=i[0],s=i[1],l=hE().enqueueSnackbar;(0,e.useEffect)((function(){c(r)}),[r]);var c=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,r;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get("/v1/patient/".concat(t));case 2:n=e.sent,r=n.data,s(r.data);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),u=(0,e.useMemo)((function(){var e,t,n,r,o,i,s,l,c,u,d,p,f,h,b,A,m;return{firstName:null!==(e=null===a||void 0===a?void 0:a.firstName)&&void 0!==e?e:"",lastName:null!==(t=null===a||void 0===a?void 0:a.lastName)&&void 0!==t?t:"",email:null!==(n=null===a||void 0===a||null===(r=a.user)||void 0===r?void 0:r.email)&&void 0!==n?n:"",phone:null!==(o=null===a||void 0===a?void 0:a.phone)&&void 0!==o?o:"",dob:null!==(i=null===a||void 0===a?void 0:a.dateOfBirth)&&void 0!==i?i:"",city:null!==(s=null===a||void 0===a?void 0:a.city)&&void 0!==s?s:"",address:null!==(l=null===a||void 0===a?void 0:a.address)&&void 0!==l?l:"",zipCode:null!==(c=null===a||void 0===a?void 0:a.zipCode)&&void 0!==c?c:"",gpName:null!==(u=null===a||void 0===a?void 0:a.gpName)&&void 0!==u?u:"",gpAddress:null!==(d=null===a||void 0===a?void 0:a.gpAddress)&&void 0!==d?d:"",nextOfKin:null!==(p=null===a||void 0===a?void 0:a.nextOfKin)&&void 0!==p?p:"",nextOfKinContactNumber:null!==(f=null===a||void 0===a?void 0:a.nextOfKinContactNumber)&&void 0!==f?f:"",isVip:null!==(h=null===a||void 0===a?void 0:a.isVip)&&void 0!==h&&h,note:null!==(b=null===a||void 0===a?void 0:a.note)&&void 0!==b?b:"",gender:null!==(A={Male:1,Female:2,Other:3}[null===a||void 0===a?void 0:a.gender])&&void 0!==A?A:0,gdprAccepted:null!==(m=null===a||void 0===a?void 0:a.gdprAccepted)&&void 0!==m&&m}}),[a]);return a?(0,Kl.jsx)(Poe,{title:"Edit Patient",submit:function(e){Re.post("/v1/patient/".concat(r),e,{headers:{"Content-Type":"multipart/form-data"}}).then((function(e){e.data;t("/patients/".concat(r))})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return l(e,{variant:"error"})}))}))}))},initValues:u,type:"edit"}):null},Foe="edit-survey_loading__6+PV8",Uoe="edit-survey_completed__bfurt",Zoe="medicalHistory_media__l1Uni",Hoe="medicalHistory_mediaPlaceholder__-zMIC",$oe="medicalHistory_tooltip__Ae5-G",Voe="medicalHistory_notCompletedIcon__SBhfx",Xoe="medicalHistory_medicalHistory__IU7vT",Qoe="medicalHistory_accordion__bIcj6",Yoe="medicalHistory_accordionSummary__C8n8K",Goe="medicalHistory_emailButton__YvqLX",Koe="medicalHistory_questions__nHLgT",Joe="medicalHistory_heading__H-mUA",eie=function(t){var r=t.patientId,o=t.completed,i=t.snapshot,a=void 0===i?null:i,s=(0,e.useState)(),l=(0,n.Z)(s,2),c=l[0],u=l[1],d=he(),p=hE().enqueueSnackbar;(0,e.useEffect)((function(){r&&!a&&f(r)}),[r]);var f=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,r;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get("/v1/patient/".concat(t,"/medical-history"));case 2:n=e.sent,r=n.data,u(r.data);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),h=(0,e.useMemo)((function(){return a||c}),[a,c]),b=function(e){var t=e.img;return(0,Kl.jsxs)(AC,{item:!0,xs:6,direction:"column",container:!0,children:[(0,Kl.jsx)(kl.Z,{className:Joe,variant:"body1",style:{fontWeight:700},children:"Patient Signature"}),(0,Kl.jsx)(Cb,{className:Zoe,component:"img",alt:"signature",src:t+"?t="+(new Date).getTime()})]})},A=function(){return(0,Kl.jsxs)(AC,{item:!0,xs:6,direction:"column",container:!0,children:[(0,Kl.jsx)(kl.Z,{className:Joe,variant:"body1",children:"Patient Signature"}),(0,Kl.jsx)(Kd.Z,{elevation:0,className:Hoe,variant:"outlined"})]})},m=function(e){var t=e.text,n=e.description;return(0,Kl.jsxs)(AC,{item:!0,xs:6,container:!0,justifyContent:"space-between",children:[(0,Kl.jsx)(kl.Z,{className:Joe,variant:"body1",style:{fontWeight:700},children:t}),(0,Kl.jsx)(kl.Z,{className:Joe,variant:"body1",children:n})]})};return(0,Kl.jsx)("div",{className:Xoe,children:(0,Kl.jsxs)(p0,{expanded:o||!1,className:Qoe,children:[(0,Kl.jsx)(h0,{className:Yoe,"aria-controls":"panel1a-content",id:"panel1a-header","aria-label":"Expand",children:(0,Kl.jsxs)(AC,{container:!0,alignItems:"center",justifyContent:"space-between",children:[(0,Kl.jsx)(AC,{item:!0,xs:!0,children:(0,Kl.jsx)(kl.Z,{className:Joe,children:"Medical History"})}),!o&&(0,Kl.jsx)(AC,{item:!0,className:$oe,children:(0,Kl.jsx)(Ow.ZP,{title:"Medical history is not completed",children:(0,Kl.jsx)(rk.Z,{className:Voe})})}),(0,Kl.jsxs)(AC,{item:!0,container:!0,xs:!0,justifyContent:"flex-end",children:[!o&&(0,Kl.jsx)(AC,{item:!0,className:Goe,children:(0,Kl.jsx)(zd.Z,{size:"small",variant:"contained",color:"primary",onClick:function(){d("/patients/".concat(r,"/edit-medical-history"))},children:"Complete"})}),!a&&(0,Kl.jsx)(oS.Z,{"aria-label":"Acknowledge",onClick:function(e){return e.stopPropagation()},onFocus:function(e){return e.stopPropagation()},control:(0,Kl.jsx)(AC,{item:!0,className:Goe,children:(0,Kl.jsx)(zd.Z,{size:"small",variant:"outlined",color:"primary",onClick:function(){Re.post("/v1/patient/".concat(r,"/medical-history/send")).then((function(e){e.data;p("Email sent!",{variant:"success"})}))},children:"Email"})})})]})]})}),(0,Kl.jsx)(A0,{children:(0,Kl.jsxs)(AC,{container:!0,children:[(0,Kl.jsx)(AC,{item:!0,container:!0,spacing:3,direction:"column",className:Koe,children:!!h&&h.answers.map((function(e,t){var n;return(0,Kl.jsx)(Aoe,{text:null===e||void 0===e||null===(n=e.question)||void 0===n?void 0:n.text,result:null===e||void 0===e?void 0:e.result,description:null===e||void 0===e?void 0:e.description},"answer_".concat(t))}))}),(0,Kl.jsxs)(AC,{container:!0,spacing:3,children:[null!==h&&void 0!==h&&h.signUrl?(0,Kl.jsx)(b,{img:null!==h&&void 0!==h&&h.signUrl?null===h||void 0===h?void 0:h.signUrl:""}):(0,Kl.jsx)(A,{}),(null===h||void 0===h?void 0:h.signUrl)&&(0,Kl.jsx)(m,{text:"Signed: ",description:null===h||void 0===h?void 0:h.signedAt})]}),!a&&(0,Kl.jsx)(AC,{container:!0,item:!0,justifyContent:"flex-end",children:(0,Kl.jsx)(zd.Z,{style:{marginLeft:"10px"},size:"small",variant:"contained",color:"primary",onClick:function(){d("/patients/".concat(r,"/edit-medical-history"))},children:"Edit"})})]})})]})})},tie=function(){var t=me(),r=t.patientId,o=t.surveyId,i=(0,e.useState)(!0),a=(0,n.Z)(i,2),s=a[0],l=a[1],c=(0,e.useState)(),u=(0,n.Z)(c,2),d=u[0],p=u[1],f=(0,e.useState)(),h=(0,n.Z)(f,2),b=h[0],A=h[1],m=(0,e.useState)(void 0),g=(0,n.Z)(m,2),v=g[0],y=g[1],M=(0,e.useState)(0),O=(0,n.Z)(M,2),_=O[0],z=O[1],x=(0,e.useRef)(null),w=he(),C=hE().enqueueSnackbar,S=fe();(0,e.useEffect)((function(){S.pathname.includes("/edit-survey")?E(r,o):k(r,o)}),[r,o]);var E=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t,n){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l(!0),e.next=3,Re.get("/v1/patient/".concat(t,"/survey-entries/").concat(n),{params:{perPage:-1}}).then((function(e){var t,n=e.data;n.data.questions=null===n||void 0===n||null===(t=n.data)||void 0===t?void 0:t.answers.map((function(e){var t,n;return Us(Us({},e.question),{},{value:null!==(t=null===e||void 0===e?void 0:e.value)&&void 0!==t&&t,description:null!==(n=null===e||void 0===e?void 0:e.description)&&void 0!==n?n:""})})),n.data.id=n.data.survey.id,A(n.data),T(r)})).catch((function(e){l(!1),y(null===e||void 0===e?void 0:e.message)}));case 3:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),k=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t,n){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get("/v1/surveys/".concat(n)).then((function(e){var n,r=e.data;r.data.questions=null===r||void 0===r||null===(n=r.data)||void 0===n?void 0:n.questions.map((function(e){return Us(Us({},e),{},{value:!1,description:""})})),A(r.data),T(t)})).catch((function(e){l(!1),y(null===e||void 0===e?void 0:e.message)}));case 2:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),D=(0,e.useCallback)((function(){null!==d&&void 0!==d&&d.medicalHistoryCompleted?N():z(_+1)}),[_,d]),N=function(){var e=x.current.toDataURL(),t=new FormData;fetch(e).then((function(e){return e.blob()})).then((function(e){var n=new File([e],"sign_".concat(null===d||void 0===d?void 0:d.id,".png"),{type:"image/png"});t.append("sign",n),t.append("survey_id",null===b||void 0===b?void 0:b.id),null===b||void 0===b||b.questions.forEach((function(e,n){t.append("answers[".concat(n,"][survey_question_id]"),e.id),t.append("answers[".concat(n,"][value]"),e.value?1:0),t.append("answers[".concat(n,"][description]"),e.description)})),null!==b&&void 0!==b&&b.appointment_id&&t.append("appointment_id",b.appointment_id),Re.post("/v1/patient/".concat(r,"/survey-entries"),t,{headers:{"Content-Type":"multipart/form-data"}}).then((function(e){var t=e.data;if(y("Successfully saved!"),new URLSearchParams(window.location.search).get("redirect-to-new-entry"))return w("/patients/".concat(r,"/survey/").concat(null===t||void 0===t?void 0:t.data.id));w(-1)})).catch((function(e){y(e.message),Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return C(e,{variant:"error"})}))}))}))}))},T=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get("/v1/patient/".concat(t)).then((function(e){var t=e.data;p(null===t||void 0===t?void 0:t.data),l(!1)})).catch((function(e){l(!1),y(null===e||void 0===e?void 0:e.message)}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return v?(0,Kl.jsx)("div",{className:Uoe,children:(0,Kl.jsx)(kl.Z,{children:v})}):s?(0,Kl.jsx)("div",{className:Foe,children:(0,Kl.jsx)(Gh.Z,{})}):(0,Kl.jsxs)(Kl.Fragment,{children:[null!==d&&void 0!==d&&d.medicalHistoryCompleted?(0,Kl.jsx)(Cb,{mx:"46px",children:(0,Kl.jsx)(eie,{patientId:null===d||void 0===d?void 0:d.id,completed:null===d||void 0===d?void 0:d.medicalHistoryCompleted})}):(0,Kl.jsx)(iee,{patientData:d,submit:_,onComplete:N}),(0,Kl.jsx)(Toe,{onClickSubmit:D,data:b,patient:d,setData:A,canvasRef:x})]})},nie=function(){var t=Fc().search,r=(0,e.useState)(""),o=(0,n.Z)(r,2),i=o[0],a=o[1];return(0,e.useEffect)((function(){var e=(0,rne.debounce)((function(){a(t.value)}),500);return e(),function(){e.cancel()}}),[t.value]),i},rie=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(){return(0,o.Z)(this,n),t.apply(this,arguments)}return(0,i.Z)(n,[{key:"merge",value:function(e){(0,GF.Z)((0,KF.Z)(n.prototype),"merge",this).call(this,e),"id"in e&&(this.id=parseInt(e.id))}}]),n}(bE),oie=rie,iie=function(t){var r=t.dataType,o=t.fields,i=t.includes,a=t.filters,s=t.endpoint,l=t.page,c=t.perPage,u=t.search,d=t.cursorPageLimit,p=t.modelId,f=t.order,h=t.showDeleted,b=(0,e.useState)(null),A=(0,n.Z)(b,2),m=A[0],g=A[1],v=(0,e.useState)(!1),y=(0,n.Z)(v,2),M=y[0],O=y[1],_=(0,e.useState)(),z=(0,n.Z)(_,2),x=z[0],w=z[1],C=(0,e.useState)(null),S=(0,n.Z)(C,2),E=S[0],k=S[1],D=new AE({users:oie,patients:oie,staff:oie,treatmentTypes:oie}),N=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t,n,b=arguments;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=b.length>0&&void 0!==b[0]?b[0]:null,O(!0),k(null),n=new yE,l&&n.append("page[number]",l),c&&n.append("page[size]",c),f&&n.append("order",f),u&&n.append("filter[search]",u),void 0!==h&&n.append("filter[deleted_at]",h?"true":"false"),d&&n.append("page[limit]",d),t&&n.append("page[after]",t),i.forEach((function(e){return n.append("include",e)})),o.forEach((function(e){e.items.forEach((function(t){return n.append("fields[".concat(e.name,"]"),t)}))})),a&&a.forEach((function(e){return n.append("filter".concat(e.name),e.value)})),e.next=16,Re.get("/v2/".concat(s).concat(p?"/".concat(p):"","?").concat(n.toString())).then((function(e){var t=e.data;D.sync(t),g(p?D.find(r,p):D.findAll(r)),w(null===t||void 0===t?void 0:t.meta),O(!1)})).catch((function(e){g(null),k(e),O(!1)})).finally((function(){O(!1)}));case 16:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,e.useEffect)((function(){N()}),[]),{data:m,meta:x,isLoading:M,error:E,runQuery:N}},aie=function(e,t,n,r,o){var i=iie({includes:["user"],fields:[{name:"patients",items:["fullName","dateOfBirth","phone","address","user","medicalHistoryCompleted","lastVisited"]},{name:"users",items:["email"]}],filter:{},endpoint:"patients",dataType:"patients",page:e,perPage:t,search:n,showDeleted:r});return{data:i.data,meta:i.meta,isLoading:i.isLoading,runQuery:i.runQuery}},sie={appointmentPatient:"patientNavigation_appointmentPatient__zK5z-",patientData:"patientNavigation_patientData__cIrsj",list:"patientNavigation_list__8ok49",patient:"patientNavigation_patient__xUUd0",link:"patientNavigation_link__ZOio9",arrow:"patientNavigation_arrow__Wg5J2",actions:"patientNavigation_actions__6M0yt",actionsPrint:"patientNavigation_actionsPrint__E8fgd",actionsEdit:"patientNavigation_actionsEdit__tx2bB",actionsEditText:"patientNavigation_actionsEditText__JZcDF"},lie=__webpack_require__(23308),cie=__webpack_require__(24983),uie=function(t){var r,o=t.name,i=t.id,a=t.loading,s=t.printContent,l=t.date,c=t.services,u=t.showDeleted,d=t.setShowDeleted,p=he(),f=(0,e.useState)(!1),h=(0,n.Z)(f,2),b=h[0],A=h[1],m=(0,e.useState)([]),g=(0,n.Z)(m,2),v=g[0],y=g[1],M=(0,e.useState)({}),O=(0,n.Z)(M,2),_=O[0],z=O[1],x=(0,yoe.useReactToPrint)({content:function(){return s.current}}),w=fe().pathname;return(0,e.useEffect)((function(){if(0!==i&&void 0!==i){Re.get("/v1/patient/".concat(i)).then((function(e){y(e.data.data)}))}}),[i]),(0,Kl.jsx)("div",{className:sie.appointmentPatient,style:window.location.pathname.includes("/patients/")?{}:{paddingRight:50},children:a?(0,Kl.jsx)(Rp,{variant:"rect",width:300,height:32}):(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsxs)(AC,{className:sie.patientData,children:[(0,Kl.jsx)(wu,{to:"/patients",className:sie.link,children:(0,Kl.jsx)(kl.Z,{className:sie.list,children:"Patient List"})}),(0,Kl.jsx)(fB.Z,{className:sie.arrow}),(0,Kl.jsx)(wu,{to:"/patients/".concat(i),className:sie.link,children:(0,Kl.jsx)(kl.Z,{className:"".concat(sie.patient," patient-name-navigation"),children:o})}),"/patients"===window.location.pathname&&(0,Kl.jsxs)("div",{style:{position:"absolute",right:40},children:[(0,Kl.jsx)("span",{className:"label-active-desktop",children:"Active patients"}),(0,Kl.jsx)("span",{className:"label-active-mobile",children:"Active"}),(0,Kl.jsx)(rS.Z,{checked:u,onChange:function(e){d(e.target.checked)},color:"primary",name:"checkedB",inputProps:{"aria-label":"primary checkbox"}}),(0,Kl.jsx)("span",{className:"label-active-desktop",children:"Archived patients"}),(0,Kl.jsx)("span",{className:"label-active-mobile",children:"Archived"})]}),!!l&&(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(fB.Z,{className:sie.arrow}),(0,Kl.jsx)(kl.Z,{className:sie.patient,children:l})]}),!!c&&(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(fB.Z,{className:sie.arrow}),(0,Kl.jsx)(kl.Z,{className:sie.patient,children:null===c||void 0===c||null===(r=c.map((function(e){return null===e||void 0===e?void 0:e.name})))||void 0===r?void 0:r.join(", ")})]})]}),(0,Kl.jsx)(AC,{className:sie.actions,children:!!o&&(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)("span",{className:sie.actionsPrint,onClick:function(){w.startsWith("/doctor-appointment")&&w.endsWith("/final")?window.open("final-pdf","_blank"):x()},children:(0,Kl.jsx)(lie.Z,{className:sie.actionIcon})}),(0,Kl.jsxs)("span",{className:sie.actionsEdit,onClick:function(){return[p("/patients/".concat(i,"/edit"))]},children:[(0,Kl.jsx)(oB.Z,{className:sie.actionIcon}),(0,Kl.jsx)(kl.Z,{className:sie.actionsEditText,children:"Edit Patient"})]}),window.location.pathname.includes("/patients/")&&(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsxs)("span",{className:sie.actionsEdit,onClick:function(){z({id:i,name:o,deletedAt:v.deletedAt}),A(!b)},children:[(0,Kl.jsx)(cie.Z,{className:sie.actionIcon}),(0,Kl.jsx)(kl.Z,{className:sie.actionsEditText,children:null!==v.deletedAt?"Restore":"Archive"})]}),b&&(0,Kl.jsx)(oF,{selectedValue:"archive-patient",open:b,setOpen:A,data:_})]})]})})]})})},die={patients:"patients_patients__7NAH5",header:"patients_header__DlEj+",username:"patients_username__z3FBP",tooltip:"patients_tooltip__TlBlP"},pie=[{field:"name",headerName:"Name",width:300,editable:!1,sortable:!1,renderCell:function(e){var t;return(0,Kl.jsxs)("div",{className:die.username,children:[(0,Kl.jsx)("span",{children:e.value})," ",null!==e&&void 0!==e&&null!==(t=e.row)&&void 0!==t&&t.medicalHistoryCompleted?(0,Kl.jsx)(nC,{width:15}):""]})}},{field:"dob",headerName:"DOB",type:"number",width:110,editable:!1,sortable:!1},{field:"phone",headerName:"Phone",sortable:!1,width:160},{field:"email",headerName:"Email",sortable:!1,width:250},{field:"address",headerName:"Address",sortable:!1,width:250},{field:"lastVisited",headerName:"Last visited",sortable:!1,width:250,renderCell:function(e){var t,n,r,o,i,a,s=e.row,l="Last visited ".concat(rl(null===(t=s.lastVisited)||void 0===t?void 0:t.date)," on ").concat(Vs()(null===(n=s.lastVisited)||void 0===n?void 0:n.date).format("DD/MM/YY")," for ").concat(null===(r=s.lastVisited)||void 0===r||null===(o=r.services)||void 0===o?void 0:o.join(", ")," treatment");return null!==s&&void 0!==s&&null!==(i=s.lastVisited)&&void 0!==i&&i.date?(0,Kl.jsx)(Ow.ZP,{title:l,arrow:!0,PopperProps:{style:{marginTop:-10}},children:(0,Kl.jsx)("div",{className:die.tooltip,children:(0,Kl.jsxs)("div",{children:["Last visited ",(0,Kl.jsx)("b",{children:rl(null===(a=s.lastVisited)||void 0===a?void 0:a.date)})]})})}):""}}],fie=$l((function(){var t=he(),r=(0,e.useState)(25),o=(0,n.Z)(r,2),i=o[0],a=o[1],s=(0,e.useState)(!1),l=(0,n.Z)(s,2),c=l[0],u=l[1],d=(0,e.useState)(0),p=(0,n.Z)(d,2),f=p[0],h=p[1],b=nie(),A=aie(f+1,i,b,c),m=A.data,g=A.meta,v=A.isLoading,y=A.runQuery;(0,e.useEffect)((function(){g&&y()}),[i,f,b,c]);var M=(0,e.useMemo)((function(){return null===m||void 0===m?void 0:m.map((function(e){return Us(Us({},e),{},{name:e.fullName,dob:Vs()(e.dateOfBirth).format("YYYY-MM-DD"),email:e.user.email})}))}),[m]);return M?(0,Kl.jsxs)("div",{className:die.patients,children:[(0,Kl.jsx)(uie,{showDeleted:c,setShowDeleted:u}),(0,Kl.jsx)(sG._$r,{className:die.table,rows:M,columns:pie,disableSelectionOnClick:!0,autoHeight:!0,disableColumnSelector:!0,disableColumnMenu:!0,onRowClick:function(e){var n;t("/patients/".concat((n=e).row.id),{user:n.row})},pagination:!0,paginationMode:"server",pageSize:i,onPageSizeChange:function(e){return a(e)},rowCount:null===g||void 0===g?void 0:g.page.total,page:f,onPageChange:function(e){return h(e)}}),v&&(0,Kl.jsx)(NE,{})]}):null})),hie=fie,bie="patientInfo_patientInfo__wQXe3",Aie="patientInfo_patientCard__Fq0t3",mie="patientInfo_avatar__4u7bV",gie="patientInfo_button__qxBl0",vie="patientInfo_breakWord__rsU9I",yie="patientInfo_patientInformation__WT1CW",Mie="patientInfo_patientInformationItem__Kgtdg",Oie="patientInfo_gridContainer__4uQcR",_ie="patientInfo_gridItem__L7gh1",zie="patientInfo_fakeColumnSm__jQKv6",xie="patientInfo_fakeColumnXs__+s6Kf";function wie(t){var r=t.name,o=t.email,i=t.avatarUrl,a=t.patient,s=Fc(),l=s.appointment,c=s.calendar,u=(0,e.useState)(!1),d=(0,n.Z)(u,2),p=d[0],f=d[1],h=(0,e.useState)(!1),b=(0,n.Z)(h,2),A=b[0],m=b[1],g=he(),v=ju(),y=(0,e.useContext)(bA),M=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t,n,r;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get("/v1/appointment-type",{params:{clinic_id:y.clinic.id}});case 2:t=e.sent,n=t.data,r=n.data.map((function(e){return Us(Us({},e),{},{selected:!1})})),l.setTypes(r),l.toggleType("quick-start");case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),O=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t,n,r,o,i,s,u,d,p,f,h,b,A,m,O;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l.clear(),t=Js(Vs()()),l.setStartDate(t),l.setLocation(y.clinic.locations.find((function(e){return!!e.is_general})).id),n=Vs()(c.date).add(30,"minutes").format("YYYY-MM-DDTHH:mm"),l.setEndDate(n),l.setPatient(a),"Practitioner"===v&&(l.setDoctor(null===y||void 0===y||null===(r=y.user)||void 0===r||null===(o=r.staff)||void 0===o?void 0:o.id,Qs(null===y||void 0===y||null===(i=y.user)||void 0===i?void 0:i.firstName,null===y||void 0===y||null===(s=y.user)||void 0===s?void 0:s.lastName),null===y||void 0===y||null===(u=y.user)||void 0===u||null===(d=u.staff)||void 0===d||null===(p=d.role)||void 0===p||null===(f=p[0])||void 0===f?void 0:f.name,null===y||void 0===y||null===(h=y.user)||void 0===h?void 0:h.avatarUrl),O=null===y||void 0===y||null===(b=y.user)||void 0===b||null===(A=b.staff)||void 0===A||null===(m=A.treatmentTypes)||void 0===m?void 0:m.map((function(e){var t=Ml(e);return Us(Us({},e),{},{selected:l.selectedTreatmentTypes.map((function(e){return null===e||void 0===e?void 0:e.id})).includes(e.id)},t)})),l.setTreatmentTypes(O)),e.next=10,M();case 10:g("/calendar/appointment?fromPatient");case 11:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),_=(0,e.useMemo)((function(){return Xs(r)}),[r]);return(0,Kl.jsxs)("div",{className:Aie,children:[a?(0,Kl.jsx)(jp,{alt:r,src:i,className:mie,children:!!r&&_}):(0,Kl.jsx)(Rp,{variant:"circle",width:115,height:115}),a?(0,Kl.jsx)(kl.Z,{variant:"h6",align:"center",children:r}):(0,Kl.jsx)(Rp,{variant:"rect",width:150,height:32}),a?(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(kl.Z,{variant:"body1",align:"center",className:vie,children:o}),(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",size:"small",onClick:function(){return f(!p)},startIcon:(0,Kl.jsx)(u3.Z,{}),className:gie,children:"Email patient"}),(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",size:"small",onClick:function(){return m(!0)},startIcon:(0,Kl.jsx)(u3.Z,{}),className:gie,disabled:!(null!==a&&void 0!==a&&a.phone),children:"SMS patient"})]}):(0,Kl.jsx)(Rp,{variant:"rect",width:150,height:24}),(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",onClick:function(){l.clear();var e="".concat(Vs()(c.date).format("YYYY-MM-DD")," 13:00");l.setStartDate(e);var t=Vs()(c.date).add(30,"minutes").format("YYYY-MM-DDTHH:mm");l.setEndDate(t),c.setPopperModalOpen(!0),l.setPatient(a),g("/calendar")},size:"small",className:gie,children:"Add Appointment"}),(0,Kl.jsx)(zd.Z,{variant:"outlined",color:"primary",onClick:O,size:"small",className:gie,disabled:!(null!==a&&void 0!==a&&a.medicalHistoryCompleted),children:"Quick Appointment"}),p&&(0,Kl.jsx)(oF,{open:p,setOpen:f,selectedValue:"email-modal",data:a}),A&&null!==a&&void 0!==a&&a.phone?(0,Kl.jsx)(oF,{open:A,setOpen:m,selectedValue:"sms-modal",data:a}):null]})}var Cie,Sie=function(e){var t=e.title,n=e.description,r=e.loading,o=e.style;return(0,Kl.jsxs)("div",{className:Mie,style:o,children:[(0,Kl.jsx)(kl.Z,{variant:"body1",children:t}),r?(0,Kl.jsx)(Rp,{variant:"rect",width:100,height:24}):(0,Kl.jsx)(kl.Z,{variant:"body1",style:{fontWeight:700},children:"undefined"!==n&&null!==n?n:"not set"})]})},Eie=function(e){var t,n=e.patient;return(0,Kl.jsx)("div",{className:yie,children:(0,Kl.jsxs)("div",{className:Oie,children:[(0,Kl.jsx)("div",{className:_ie,children:(0,Kl.jsx)(Sie,{title:"Gender",description:null===n||void 0===n?void 0:n.gender,loading:!n})}),(0,Kl.jsx)("div",{className:_ie,children:(0,Kl.jsx)(Sie,{title:"Birthday",description:null===n||void 0===n?void 0:n.dateOfBirth,loading:!n})}),(0,Kl.jsx)("div",{className:_ie,children:(0,Kl.jsx)(Sie,{title:"Phone Number",description:null===n||void 0===n?void 0:n.phone,loading:!n})}),(0,Kl.jsx)("div",{className:_ie,children:(0,Kl.jsx)(Sie,{title:"Street Address",description:null===n||void 0===n?void 0:n.address,loading:!n})}),(0,Kl.jsx)("div",{className:_ie,children:(0,Kl.jsx)(Sie,{title:"City",description:null===n||void 0===n?void 0:n.city,loading:!n})}),(0,Kl.jsx)("div",{className:_ie,children:(0,Kl.jsx)(Sie,{title:"Postcode",description:null===n||void 0===n?void 0:n.zipCode,loading:!n})}),(0,Kl.jsx)("div",{className:_ie,children:(0,Kl.jsx)(Sie,{title:(0,Kl.jsx)(Ow.ZP,{placement:"top",title:(0,Kl.jsx)("div",{style:{fontSize:14},children:"Customers who opt in will receive any bulk messages you send for marketing purposes"}),arrow:!0,children:(0,Kl.jsx)("div",{children:"Send this customer SMS/email marketing messages"})}),description:null!==n&&void 0!==n&&n.gdprAccepted?"Accepted":"Not Accepted",loading:!n})}),(0,Kl.jsx)("div",{className:_ie,children:(0,Kl.jsx)(Sie,{title:"Registered Date",description:Vs()(null===n||void 0===n?void 0:n.registeredDate).format("YYYY-MM-DD"),loading:!n})}),(0,Kl.jsx)("div",{className:"".concat(_ie," ").concat(zie)}),(0,Kl.jsx)("div",{className:_ie,children:(0,Kl.jsx)(Sie,{title:"GP Name",description:null===n||void 0===n?void 0:n.gpName,loading:!n})}),(0,Kl.jsx)("div",{className:_ie,children:(0,Kl.jsx)(Sie,{title:"GP Address",description:null===n||void 0===n?void 0:n.gpAddress,loading:!n})}),(0,Kl.jsx)("div",{className:"".concat(_ie," ").concat(zie)}),(0,Kl.jsx)("div",{className:_ie,children:(0,Kl.jsx)(Sie,{title:"Next of Kin",description:null===n||void 0===n?void 0:n.nextOfKin,loading:!n})}),(0,Kl.jsx)("div",{className:_ie,children:(0,Kl.jsx)(Sie,{title:"Next of Kin contact number",description:null!==(t=null===n||void 0===n?void 0:n.nextOfKinContactNumber)&&void 0!==t?t:"not set",loading:!n})}),(0,Kl.jsx)("div",{className:"".concat(_ie," ").concat(zie)}),(0,Kl.jsx)("div",{className:_ie,children:(0,Kl.jsx)(Sie,{title:"Patient Notes",description:null===n||void 0===n?void 0:n.note,loading:!n})}),(0,Kl.jsx)("div",{className:"".concat(_ie," ").concat(xie)}),(0,Kl.jsx)("div",{className:"".concat(_ie," ").concat(zie)})]})})},kie=function(e){var t=e.name,n=e.email,r=e.avatarUrl,o=e.patient;return(0,Kl.jsxs)("div",{className:bie,children:[(0,Kl.jsx)(wie,{name:t,email:n,avatarUrl:r,patient:o}),(0,Kl.jsx)(Eie,{patient:o})]})},Die={appointmentHeaderItem:"infoRows_appointmentHeaderItem__bqYSI",accordion:"infoRows_accordion__uUROC",accordionHeader:"infoRows_accordionHeader__d-H1E",appointmentIconItem:"infoRows_appointmentIconItem__1LMvK",appointmentPrefix:"infoRows_appointmentPrefix__-C3uM",appointmentItem:"infoRows_appointmentItem__MzCxC",appointmentItemWrapper:"infoRows_appointmentItemWrapper__QQldk",gap:"infoRows_gap__UZRoq",questionnaireItem:"infoRows_questionnaireItem__X7k8r",questionnaireInfo:"infoRows_questionnaireInfo__PG1C2",questionnaireNameContainer:"infoRows_questionnaireNameContainer__5cOoM",questionnaireName:"infoRows_questionnaireName__2Q1-u",questionnaireSignedAt:"infoRows_questionnaireSignedAt__3RL1U",sendAndSigned:"infoRows_sendAndSigned__9np0g",sendAndSignedText:"infoRows_sendAndSignedText__lg-gl",notSignedText:"infoRows_notSignedText__2QV6U",questionnaireButtons:"infoRows_questionnaireButtons__TcxAH",questionnaireViewButton:"infoRows_questionnaireViewButton__qN6ke",questionnaireCompleteButton:"infoRows_questionnaireCompleteButton__HjKnc",questionnaireEmailButton:"infoRows_questionnaireEmailButton__pr7wf",deleteButton:"infoRows_deleteButton__atj0t",questionnaireItemWrapper:"infoRows_questionnaireItemWrapper__odTXm",appointments:"infoRows_appointments__9AFy8",noData:"infoRows_noData__ZM2Y-",appointmentContainer:"infoRows_appointmentContainer__B1cg0",buttons:"infoRows_buttons__9u0UB",appointment:"infoRows_appointment__hDfSc"},Nie=function(e,t,n){var r=iie({includes:["treatmentTypes","staff","status","types"],fields:[{name:"appointments",items:["startDate","endDate","treatmentTypes","staff","status","types","hasLinkedChain"]}],filters:t,endpoint:"patients/".concat(e,"/appointments"),dataType:"appointments",order:n});return{data:r.data,isLoading:r.isLoading,runQuery:r.runQuery}},Tie="not-show",jie="cancelled",Bie="upcoming",Lie="past",Rie="not-show",qie=__webpack_require__(35862),Pie=__webpack_require__(98690),Iie=function(e){var t=e.text,n=e.color,r=e.fontWeight;return(0,Kl.jsx)("div",{className:Die.appointmentHeaderItem,children:(0,Kl.jsx)(kl.Z,{variant:"body1",style:{color:n,fontWeight:r},children:t})})},Wie=function(e){var t=e.type,n=e.treatmentType,r=e.doctor,o=e.time,i=e.hasLinkedChain,a=e.onClick,s=e.status;return(0,Kl.jsxs)("div",{className:Die.appointmentItem,onClick:a,children:[(0,Kl.jsx)(Iie,{text:"".concat(t),color:"#DA4B4B",fontWeight:700}),(0,Kl.jsx)(Iie,{text:n}),(0,Kl.jsx)(Iie,{text:(null===r||void 0===r?void 0:r.fullName)||"not set"}),(0,Kl.jsx)(Iie,{text:o,fontWeight:700}),(0,Kl.jsxs)("div",{className:Die.appointmentIconItem,children:["cancelled"===s&&(0,Kl.jsx)(Ow.ZP,{title:"Cancelled",children:(0,Kl.jsx)(qie.Z,{className:Die.appointmentPrefix})}),"not-show"===s&&(0,Kl.jsx)(Ow.ZP,{title:"No Show",children:(0,Kl.jsx)(Pie.Z,{className:Die.appointmentPrefix})}),i&&(0,Kl.jsx)(Ow.ZP,{title:"It has linked appointments",children:(0,Kl.jsx)(pB.Z,{className:Die.appointmentPrefix})})]})]})},Fie=function(t){var r,o,i,a,s,l,c,u=t.id,d=t.item,p=t.getAppointments,f=t.onClick,h=(0,e.useState)(!1),b=(0,n.Z)(h,2),A=b[0],m=b[1],g=hE().enqueueSnackbar;return(0,Kl.jsxs)("div",{className:Die.appointmentItemWrapper,children:[(0,Kl.jsx)(Wie,{onClick:function(){return f(null===d||void 0===d?void 0:d.id)},type:(null===d||void 0===d||null===(r=d.types)||void 0===r?void 0:r.length)>0?null===d||void 0===d||null===(o=d.types)||void 0===o||null===(i=o[0])||void 0===i?void 0:i.name:"not set",treatmentType:(null===d||void 0===d||null===(a=d.treatmentTypes)||void 0===a?void 0:a.length)>0?null===d||void 0===d||null===(s=d.treatmentTypes)||void 0===s||null===(l=s[0])||void 0===l?void 0:l.name:"not set",doctor:null===d||void 0===d?void 0:d.staff,time:"".concat(Vs()(null===d||void 0===d?void 0:d.startDate).format("DD MMM YY")," at ").concat(Vs()(null===d||void 0===d?void 0:d.startDate).format("HH:mm")),status:null===d||void 0===d||null===(c=d.status)||void 0===c?void 0:c.name}),(0,Kl.jsx)(wd.Z,{onClick:u===(null===d||void 0===d?void 0:d.id)?null:function(e){m(!0)},style:{opacity:u===(null===d||void 0===d?void 0:d.id)?0:1},children:(0,Kl.jsx)(HE.Z,{})}),(0,Kl.jsx)("div",{className:Die.gap}),(0,Kl.jsx)(X6,{open:A,setOpen:m,onDelete:function(e){Re.post("/v1/appointment/".concat(null===d||void 0===d?void 0:d.id,"/partial-update"),{linked_appointments_hash:null}).then((function(){g("Successfully unlinked!",{variant:"success"}),null===p||void 0===p||p()})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return g(e,{variant:"error"})}))}))}))},title:"Do you want to unlink appointment? "})]},"linked_".concat(null===d||void 0===d?void 0:d.id))},Uie=function(t){var r,o,i=t.start,a=t.treatmentTypes,s=t.types,l=t.doctor,c=t.id,u=t.status,d=t.hasLinkedChain,p=he(),f=(0,e.useState)(d),h=(0,n.Z)(f,2),b=h[0],A=h[1],m=(0,e.useState)(!1),g=(0,n.Z)(m,2),v=g[0],y=g[1],M=(0,e.useState)([]),O=(0,n.Z)(M,2),_=O[0],z=O[1],x=(0,e.useState)(!1),w=(0,n.Z)(x,2),C=w[0],S=w[1],E=me().patientId,k=Fc().appointment;(0,e.useEffect)((function(){A(d)}),[d]);var D=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return S(!0),e.next=3,Re.get("/v1/patient/".concat(E,"/linked-chain-appointments/").concat(c)).then((function(e){var t,n=e.data;z(null===n||void 0===n?void 0:n.data),S(!1),1===(null===n||void 0===n||null===(t=n.data)||void 0===t?void 0:t.length)&&(A(!1),y(!1))}));case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),N=function(e){k.clear(),p("cancelled"===u||"not-show"===u?"/calendar/appointment/".concat(e):"/doctor-appointment/".concat(e,"/final"))};return(0,Kl.jsxs)(p0,{className:Die.accordion,expanded:v,onChange:function(){!v&&b&&D(),y(!v)},onClick:b?null:function(){return N(c)},children:[(0,Kl.jsx)(h0,{"aria-controls":"panel1a-content",id:"panel1a-header",className:Die.accordionHeader,children:(0,Kl.jsx)(Wie,{type:s.length>0?null===(r=s[0])||void 0===r?void 0:r.name:"not set",treatmentType:a.length>0?null===(o=a[0])||void 0===o?void 0:o.name:"not set",doctor:l,time:"".concat(Vs()(i).format("DD MMM YY")," at ").concat(Vs()(i).format("HH:mm")),status:u,hasLinkedChain:b})}),(0,Kl.jsxs)(A0,{className:Die.appointmentContainer,children:[b&&(0,Kl.jsx)(Kl.Fragment,{children:_.length>0&&!C?(0,Kl.jsxs)("div",{className:Die.appointment,children:[(0,Kl.jsx)(kl.Z,{variant:"body1",style:{fontWeight:700},children:"Treatment History"}),null===_||void 0===_?void 0:_.map((function(e,t){return(0,Kl.jsx)(Fie,{item:e,getAppointments:D,onClick:N,id:c},"appointment_".concat(t))}))]}):(0,Kl.jsx)("div",{className:Die.noData,children:(0,Kl.jsx)(Gh.Z,{})})}),(0,Kl.jsx)("div",{className:Die.buttons,children:(0,Kl.jsx)("div",{className:Die.delete})})]})]})},Zie=function(t){var n=t.type,r=t.patientId,o=t.order,i=(0,e.useMemo)((function(){var e=Vs()().format("YYYY-MM-DD");switch(n){case Bie:default:return[{name:"[date][start]",value:e}];case Lie:return[{name:"[date][end]",value:e}];case Rie:return[{name:"[status][slug][0]",value:Tie},{name:"[status][slug][1]",value:jie}]}}),[n]),a=Nie(r,i,o),s=a.data,l=a.isLoading,c=a.runQuery;return(0,e.useEffect)((function(){c()}),[i,o]),l?(0,Kl.jsx)("div",{className:Die.appointments,children:(0,Kl.jsx)("div",{className:Die.noData,children:(0,Kl.jsx)(Gh.Z,{})})}):null!==s&&void 0!==s&&s.length?s.sort((function(e,t){return n===Bie?Vs()(e.attributes.startDate).diff(Vs()(t.attributes.startDate)):Vs()(t.startDate).diff(Vs()(e.startDate))})).map((function(e){var t;return(0,Kl.jsx)(Uie,{id:null===e||void 0===e?void 0:e.id,start:null===e||void 0===e?void 0:e.startDate,end:null===e||void 0===e?void 0:e.endDate,treatmentTypes:null===e||void 0===e?void 0:e.treatmentTypes,doctor:null===e||void 0===e?void 0:e.staff,status:null===e||void 0===e||null===(t=e.status)||void 0===t?void 0:t.slug,hasLinkedChain:null===e||void 0===e?void 0:e.hasLinkedChain,types:null===e||void 0===e?void 0:e.types},"appointment_".concat(null===e||void 0===e?void 0:e.id))})):(0,Kl.jsx)("div",{className:Die.noData,children:(0,Kl.jsx)(kl.Z,{variant:"h6",children:"No Items"})})},Hie=function(e,t){var n=iie({includes:["treatmentTypes","prescriptionStatus","practitioner.user","productBrands","customProducts","patient"],fields:[{name:"prescriptions",items:["createdAt","treatmentTypes","prescriptionStatus","practitioner","productBrands","customProducts","patient"]}],endpoint:"patients/".concat(e,"/prescriptions"),dataType:"prescriptions",order:t});return{data:n.data,isLoading:n.isLoading,runQuery:n.runQuery}},$ie=function(t){var n=t.patientId,r=t.order,o=Hie(n,r),i=o.data,a=o.isLoading,s=o.runQuery;return(0,e.useEffect)((function(){s()}),[r]),a?(0,Kl.jsx)("div",{className:Die.appointments,children:(0,Kl.jsx)("div",{className:Die.noData,children:(0,Kl.jsx)(Gh.Z,{})})}):null!==i&&void 0!==i&&i.length?i.map((function(e){return(0,Kl.jsx)(s8,{id:e.id,treatmentTypes:e.treatmentTypes,status:null===e||void 0===e?void 0:e.prescriptionStatus.title,practitioner:null===e||void 0===e?void 0:e.practitioner,date:null===e||void 0===e?void 0:e.dateIssued,productBrands:null===e||void 0===e?void 0:e.productBrands,customProducts:null===e||void 0===e?void 0:e.customProducts,patient:null===e||void 0===e?void 0:e.patient,getPrescriptions:s},"prescription_".concat(e.id))})):(0,Kl.jsx)("div",{className:Die.noData,children:(0,Kl.jsx)(kl.Z,{variant:"h6",children:"No Items"})})},Vie=function(t){var r,o=t.questionnaire,i=t.setQuestionnaires,a=he(),s=me().patientId,l=hE().enqueueSnackbar,c=(0,e.useState)(!1),u=(0,n.Z)(c,2),d=u[0],p=u[1],f=function(e){var t;("view"===e&&a("/patients/".concat(s,"/survey/").concat(null===o||void 0===o?void 0:o.id)),"complete"===e)&&a("/patients/".concat(s,"/complete-survey/").concat(null===o||void 0===o||null===(t=o.survey)||void 0===t?void 0:t.id));if("edit"===e&&a("/patients/".concat(s,"/edit-survey/").concat(null===o||void 0===o?void 0:o.id)),"email"===e){var n,r={survey_ids:[null===o||void 0===o||null===(n=o.survey)||void 0===n?void 0:n.id]};null!==o&&void 0!==o&&o.appointment_id&&(r.appointment_id=o.appointment_id),Re.post("/v1/patient/".concat(s,"/send-surveys"),r).then((function(e){e.data;l("Successfully send!",{variant:"success"})})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return l(e,{variant:"error"})}))}))}))}},h=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.delete("/v1/patient/".concat(s,"/survey-entries/").concat(null===o||void 0===o?void 0:o.id)).then((function(e){i((function(e){return e.filter((function(e){return(null===e||void 0===e?void 0:e.id)!==(null===o||void 0===o?void 0:o.id)}))})),l("Successfully deleted!",{variant:"success"})}));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,Kl.jsxs)("div",{className:Die.questionnaireItem,children:[(0,Kl.jsxs)("div",{className:Die.questionnaireInfo,children:[(0,Kl.jsxs)("div",{className:Die.questionnaireNameContainer,children:[(0,Kl.jsx)(kl.Z,{variant:"body1",className:Die.questionnaireName,children:null===o||void 0===o||null===(r=o.survey)||void 0===r?void 0:r.name}),(null===o||void 0===o?void 0:o.signed_at)&&(0,Kl.jsxs)(kl.Z,{variant:"body1",className:Die.questionnaireSignedAt,children:["Signed at"," ",Vs()(null===o||void 0===o?void 0:o.signed_at).format("Do MMMM YYYY")]})]}),(0,Kl.jsx)("div",{className:Die.sendAndSigned,children:null!==o&&void 0!==o&&o.signed_at?(0,Kl.jsxs)(kl.Z,{variant:"body1",className:Die.sendAndSignedText,children:["Completed & signed at"," ",Vs()(null===o||void 0===o?void 0:o.signed_at).format("Do MMMM YYYY")]}):(0,Kl.jsxs)(kl.Z,{variant:"body1",className:Die.notSignedText,children:["Sent ",Vs()(null===o||void 0===o?void 0:o.send_at).format("Do MMMM YYYY"),", not completed"]})})]}),(0,Kl.jsx)("div",{className:Die.questionnaireButtons,children:null!==o&&void 0!==o&&o.signed_at?(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(zd.Z,{size:"small",className:Die.questionnaireEmailButton,variant:"contained",onClick:function(){return f("edit")},color:"primary",children:"Edit"}),(0,Kl.jsx)(zd.Z,{size:"small",className:Die.questionnaireViewButton,variant:"outlined",onClick:function(){return f("view")},color:"primary",children:"View"})]}):(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(zd.Z,{size:"small",className:Die.questionnaireCompleteButton,variant:"contained",onClick:function(){return f("complete")},color:"primary",children:"Complete"}),(0,Kl.jsx)(zd.Z,{size:"small",className:Die.questionnaireEmailButton,variant:"outlined",onClick:function(){return f("email")},color:"primary",children:"Email"}),(0,Kl.jsx)(wd.Z,{onClick:function(){return p(!0)},className:Die.deleteButton,children:(0,Kl.jsx)(HE.Z,{})})]})}),(0,Kl.jsx)(ik,{open:d,setOpen:p,removeSurvey:h})]})},Xie=function(t){var r=t.patientId,o=t.order,i=(0,e.useState)(!0),a=(0,n.Z)(i,2),s=a[0],l=a[1],c=(0,e.useState)([]),u=(0,n.Z)(c,2),d=u[0],p=u[1];return(0,e.useEffect)((function(){l(!0),Re.get("/v1/patient/".concat(r,"/survey-entries"),{params:{orderBy:o,perPage:-1}}).then((function(e){var t;p(null===e||void 0===e||null===(t=e.data)||void 0===t?void 0:t.data)})).catch((function(e){p([])})).finally((function(){l(!1)}))}),[o]),s?(0,Kl.jsx)("div",{className:Die.appointments,children:(0,Kl.jsx)("div",{className:Die.noData,children:(0,Kl.jsx)(Gh.Z,{})})}):d.length?null===d||void 0===d?void 0:d.map((function(e){return(0,Kl.jsx)(Vie,{questionnaire:e,setQuestionnaires:p},"questionnaire_".concat(null===e||void 0===e?void 0:e.id))})):(0,Kl.jsx)("div",{className:Die.noData,children:(0,Kl.jsx)(kl.Z,{variant:"h6",children:"No Items"})})},Qie=__webpack_require__(8441),Yie=__webpack_require__(37745),Gie=(0,xb.Z)(zd.Z)((function(e){var t=e.theme;return{backgroundColor:t.palette.error.main,color:"white","&:hover":{backgroundColor:t.palette.error.main}}})),Kie=function(e){var t=e.text,n=e.isOpen,r=e.onClose,o=e.onDeleteConfirm;return(0,Kl.jsxs)(vC,{open:n,onClose:r,children:[(0,Kl.jsx)(_E,{children:(0,Kl.jsx)(kl.Z,{children:t})}),(0,Kl.jsxs)(xE,{children:[(0,Kl.jsx)(Gie,{variant:"contained",onClick:o,size:"small",children:"Delete"}),(0,Kl.jsx)(zd.Z,{variant:"outlined",onClick:r,size:"small",children:"Cancel"})]})]})},Jie=__webpack_require__(32804),eae=__webpack_require__(86708),tae=function(e){var t=e.getCampaigns,n=e.setIsLoading,r=e.campaignId,o=hE().enqueueSnackbar,i=wE(),a=i.isDialogOpen,s=i.openDialog,l=i.closeDialog;return(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(Ow.ZP,{title:"Duplicate",children:(0,Kl.jsx)(wd.Z,{size:"small",onClick:s,children:(0,Kl.jsx)(eae.Z,{fontSize:"small"})})}),(0,Kl.jsx)(GE,{isOpen:a,onClose:l,onConfirm:function(){n(!0),Re.post("/v1/settings/marketing-campaign/".concat(r,"/duplicate")).then((function(e){e.data;return t()})).catch((function(e){return o(e.message,{variant:"error"})})).finally((function(){return l()}))},text:"Are you sure you want to duplicate this campaign?"})]})},nae=(0,xb.Z)(t5)((function(e){var t=e.theme;return{"& .MuiTableBody-root .MuiTableRow-root":{"&:nth-of-type(even)":{backgroundColor:t.palette.action.hover},"&:hover":{backgroundColor:t.palette.action.focus}}}})),rae="email",oae="sms",iae="draft",aae="scheduled",sae="preparing",lae="queued",cae="sent",uae=[iae,aae],dae='Only campaigns in status "Draft" or "Scheduled" allowed to be edited or deleted.',pae="YYYY-MM-DD HH:mm",fae=function(e,t){switch(e){case aae:return"#1f9bea";case iae:return"#888";case cae:return"#4cc944";case lae:case sae:return"#f6a20e";default:return t.palette.primary.main}},hae=(0,xb.Z)(t6,{shouldForwardProp:function(e){return"status"!==e}})((function(e){var t=e.theme,n=e.status;return{color:"#fff",textTransform:"capitalize",backgroundColor:fae(n,t),fontSize:"12px"}})),bae=function(){var t=(0,e.useState)(null),r=(0,n.Z)(t,2),o=r[0],i=r[1],a=(0,e.useState)(!1),s=(0,n.Z)(a,2),l=s[0],c=s[1],u=(0,e.useState)([]),d=(0,n.Z)(u,2),p=d[0],f=d[1],h=(0,e.useState)(0),b=(0,n.Z)(h,2),A=b[0],m=b[1],g=(0,e.useState)(1),v=(0,n.Z)(g,2),y=v[0],M=v[1],O=wE(),_=O.isDialogOpen,z=O.openDialog,x=O.closeDialog,w=function(){c(!0),Re.get("v1/settings/marketing-campaign",{params:{page:A+1}}).then((function(e){var t=e.data;f(t.data),M(t.meta.total)})).finally((function(){return c(!1)}))};(0,e.useEffect)((function(){w()}),[A]);var C=function(e){return e?Vs()(e).format(pae):"..."};return(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsxs)(Kd.Z,{children:[(0,Kl.jsxs)(AC,{container:!0,justifyContent:"space-between",alignItems:"center",children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(kl.Z,{variant:"subtitle1",children:"Campaigns"})}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",startIcon:(0,Kl.jsx)(Jie.Z,{}),component:wu,to:"/notifications/marketing-campaigns/new",children:"New Campaign"})})]}),(0,Kl.jsx)(G4,{children:(0,Kl.jsxs)(nae,{size:"small",children:[(0,Kl.jsx)(a5,{children:(0,Kl.jsxs)(l5,{children:[(0,Kl.jsx)(c5.Z,{children:"Name"}),(0,Kl.jsx)(c5.Z,{align:"center",children:"Type"}),(0,Kl.jsx)(c5.Z,{align:"center",children:"Status"}),(0,Kl.jsx)(c5.Z,{align:"center",children:"Scheduled at"}),(0,Kl.jsx)(c5.Z,{align:"center",children:"Sent at"}),(0,Kl.jsx)(c5.Z,{align:"center",children:"Sent / Delivered"}),(0,Kl.jsx)(c5.Z,{align:"center",children:"Opened"}),(0,Kl.jsx)(c5.Z,{align:"center",children:"Clicked"}),(0,Kl.jsx)(c5.Z,{align:"center",children:"Unsubscribed"}),(0,Kl.jsx)(c5.Z,{align:"center",children:"Actions"})]})}),(0,Kl.jsx)(f5,{children:p.map((function(e){var t,n,r,o=!uae.includes(e.status);return(0,Kl.jsxs)(l5,{children:[(0,Kl.jsx)(c5.Z,{children:e.name}),(0,Kl.jsx)(c5.Z,{align:"center",children:e.channel===rae?"Email":"SMS"}),(0,Kl.jsx)(c5.Z,{align:"center",children:(0,Kl.jsx)(hae,{size:"small",label:e.status,status:e.status})}),(0,Kl.jsx)(c5.Z,{align:"center",children:C(e.scheduled_at)}),(0,Kl.jsx)(c5.Z,{align:"center",children:C(e.sent_at)}),(0,Kl.jsx)(c5.Z,{align:"center",children:null!==e&&void 0!==e&&e.statistics?"".concat(e.statistics.sent," / ").concat(e.statistics.delivered," "):"..."}),(0,Kl.jsx)(c5.Z,{align:"center",children:(null===e||void 0===e||null===(t=e.statistics)||void 0===t?void 0:t.uniqueViews)||"..."}),(0,Kl.jsx)(c5.Z,{align:"center",children:(null===e||void 0===e||null===(n=e.statistics)||void 0===n?void 0:n.uniqueClicks)||"..."}),(0,Kl.jsx)(c5.Z,{align:"center",children:(null===e||void 0===e||null===(r=e.statistics)||void 0===r?void 0:r.unsubscriptions)||"..."}),(0,Kl.jsxs)(c5.Z,{align:"center",children:[(0,Kl.jsx)(Ow.ZP,{title:"Edit",children:(0,Kl.jsx)(wd.Z,{size:"small",component:wu,to:"/notifications/marketing-campaigns/".concat(e.id),children:(0,Kl.jsx)(oB.Z,{fontSize:"small"})})}),(0,Kl.jsx)(tae,{getCampaigns:w,setIsLoading:c,campaignId:e.id}),(0,Kl.jsx)(Ow.ZP,{title:o?dae:"Delete",children:(0,Kl.jsx)("span",{children:(0,Kl.jsx)(wd.Z,{disabled:o,size:"small",onClick:function(){return t=e.id,i(t),void z();var t},children:(0,Kl.jsx)(HE.Z,{fontSize:"small",color:o?"disabled":"primary"})})})}),!!e.statistics_download_url&&(0,Kl.jsx)(Ow.ZP,{title:"Download recipients statistics",children:(0,Kl.jsx)(wd.Z,{size:"small",component:lk,href:e.statistics_download_url,target:"_blank",children:(0,Kl.jsx)(Yie.Z,{fontSize:"small"})})})]})]},"mc-row-".concat(e.id))}))})]})}),(0,Kl.jsx)(Qie.Z,{rowsPerPageOptions:[],component:"div",count:y,rowsPerPage:50,page:A,onPageChange:function(e,t){return m(t)}})]}),(0,Kl.jsx)(Kie,{isOpen:_,onClose:x,onDeleteConfirm:function(){c(!0),Re.delete("/v1/settings/marketing-campaign/".concat(o)).then((function(){w(),x(),i(null)})).finally((function(){return c(!1)}))},text:"Are you sure you want to delete this campaign?"}),l&&(0,Kl.jsx)($d,{open:l,style:{zIndex:9999999},children:(0,Kl.jsx)(Gh.Z,{})})]})},Aae=function(t){var r=t.patientId,o=(0,e.useState)(0),i=(0,n.Z)(o,2),a=i[0],s=i[1],l=(0,e.useState)(1),c=(0,n.Z)(l,2),u=c[0],d=c[1],p=(0,e.useState)([]),f=(0,n.Z)(p,2),h=f[0],b=f[1],A=(0,e.useState)(!1),m=(0,n.Z)(A,2),g=m[0],v=m[1],y={"NotificationChannels\\Twilio\\TwilioChannel":"SMS","Illuminate\\Notifications\\Channels\\MailChannel":"Email"},M=(0,e.useCallback)((function(){v(!0);var e=r?"/v1/patient/".concat(r,"/notifications-history"):"/v1/settings/notifications/clinic-notification-trigger-history";Re.get(e,{params:{page:a+1}}).then((function(e){var t=e.data;b(t.data),d(t.meta.total)})).finally((function(){return v(!1)}))}),[a]);return(0,e.useEffect)((function(){M()}),[a]),(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsxs)(Kd.Z,{children:[!r&&(0,Kl.jsx)(kl.Z,{variant:"subtitle1",children:"Sent History"}),(0,Kl.jsx)(G4,{children:(0,Kl.jsxs)(nae,{size:"small",children:[(0,Kl.jsx)(a5,{children:(0,Kl.jsxs)(l5,{children:[(0,Kl.jsx)(c5.Z,{children:"Notification Name"}),(0,Kl.jsx)(c5.Z,{children:"Date"}),(0,Kl.jsx)(c5.Z,{children:"Sent To"}),(0,Kl.jsx)(c5.Z,{children:"Channel"})]})}),(0,Kl.jsx)(f5,{children:h.map((function(e){var t;return(0,Kl.jsxs)(l5,{children:[(0,Kl.jsxs)(c5.Z,{children:[(null===e||void 0===e||null===(t=e.causer)||void 0===t?void 0:t.name)||(null===e||void 0===e?void 0:e.clinic_notification_trigger_name),!(null!==e&&void 0!==e&&e.causer)&&(0,Kl.jsx)("em",{children:"(deleted trigger)"}),e.is_test_message&&(0,Kl.jsx)(t6,{size:"small",label:"Test",color:"secondary",style:{marginLeft:"5px"}})]}),(0,Kl.jsx)(c5.Z,{children:Vs()(e.created_at).format(pae)}),(0,Kl.jsx)(c5.Z,{children:e.subject_id?(0,Kl.jsx)(wu,{style:{textDecoration:"none",color:"inherit"},to:"/patients/".concat(e.subject_id),children:e.to}):e.to}),(0,Kl.jsx)(c5.Z,{style:{textTransform:"capitalize"},children:y[e.channel]})]},"sh-row-".concat(e.id))}))})]})}),(0,Kl.jsx)(Qie.Z,{rowsPerPageOptions:[],component:"div",count:u,rowsPerPage:50,page:a,onPageChange:function(e,t){return s(t)}})]}),g&&(0,Kl.jsx)($d,{open:g,style:{zIndex:9999999},children:(0,Kl.jsx)(Gh.Z,{})})]})},mae="medical-history-snapshots_loader__0cf3G",gae="medical-history-snapshots_snapshot__-NFuc",vae=function(){var t=me().patientId,r=hE().enqueueSnackbar,o=(0,e.useState)([]),i=(0,n.Z)(o,2),a=i[0],s=i[1],l=(0,e.useState)(!1),c=(0,n.Z)(l,2),u=c[0],d=c[1],p=(0,e.useCallback)((function(){d(!0),Re.get("/v1/patient/".concat(t,"/medical-history-snapshots")).then((function(e){var t=e.data;return s(t.data)})).catch((function(e){return r(e.message,{variant:"error"})})).finally((function(){return d(!1)}))}),[t]);return(0,e.useEffect)((function(){p()}),[t]),u?(0,Kl.jsx)(Gh.Z,{className:mae}):a.length?a.map((function(e){return(0,Kl.jsxs)(Kd.Z,{className:gae,children:[(0,Kl.jsxs)(kl.Z,{children:["Signed at: ",e.signedAt]}),(0,Kl.jsx)(zd.Z,{component:wu,to:"/patients/".concat(t,"/medical-history-snapshot/").concat(e.encId),variant:"outlined",color:"primary",size:"small",children:"View"})]},"snapshot-".concat(e.id))})):(0,Kl.jsx)(kl.Z,{children:"There is no snapshots yet."})},yae=function(t){var r=t.patientId,o=(0,e.useState)(!1),i=(0,n.Z)(o,2),a=i[0],s=i[1],l=(0,e.useState)(0),c=(0,n.Z)(l,2),u=c[0],d=c[1],p=(0,e.useState)(1),f=(0,n.Z)(p,2),h=f[0],b=f[1],A=(0,e.useState)(null),m=(0,n.Z)(A,2),g=m[0],v=m[1],y=(0,e.useState)([]),M=(0,n.Z)(y,2),O=M[0],_=M[1],z=(0,e.useState)(!1),x=(0,n.Z)(z,2),w=x[0],C=x[1],S=(0,e.useContext)(bA),E=(0,e.useCallback)((function(){var e;C(!0),Re.get("/v1/patient/email/".concat(r,"/").concat(null===S||void 0===S||null===(e=S.clinic)||void 0===e?void 0:e.id),{params:{page:u+1}}).then((function(e){var t=e.data;_(t.emails.data),b(t.emails.total)})).finally((function(){return C(!1)}))}),[u]);return(0,e.useEffect)((function(){E()}),[u]),(0,Kl.jsxs)(Kl.Fragment,{children:[O.length>0&&(0,Kl.jsxs)(Kd.Z,{children:[(0,Kl.jsx)(G4,{children:(0,Kl.jsxs)(nae,{size:"small",children:[(0,Kl.jsx)(a5,{children:(0,Kl.jsxs)(l5,{children:[(0,Kl.jsx)(c5.Z,{children:"Subject"}),(0,Kl.jsx)(c5.Z,{children:"Sent from"}),(0,Kl.jsx)(c5.Z,{children:"Sent To"}),(0,Kl.jsx)(c5.Z,{children:"Created at"})]})}),(0,Kl.jsx)(f5,{children:O.map((function(e,t){return(0,Kl.jsxs)(l5,{style:{cursor:"pointer"},onClick:function(){return function(e){v(e),s(!0)}(e)},children:[(0,Kl.jsx)(c5.Z,{children:e.subject}),(0,Kl.jsx)(c5.Z,{children:e.sent_from}),(0,Kl.jsx)(c5.Z,{children:e.patient}),(0,Kl.jsx)(c5.Z,{children:e.updated_at})]},t)}))})]})}),(0,Kl.jsx)(Qie.Z,{rowsPerPageOptions:[],component:"div",count:h,rowsPerPage:50,page:u,onPageChange:function(e,t){return d(t)}})]}),0===O.length&&(0,Kl.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",flex:1},children:(0,Kl.jsx)("h6",{style:{fontFamily:"Mulish",fontSize:"1.25rem",fontWeight:500},children:"No Items"})}),a&&(0,Kl.jsx)(oF,{selectedValue:"email-content",data:g,open:a,setOpen:s}),w&&(0,Kl.jsx)(NE,{})]})},Mae=function(t){var r=t.patientId,o=(0,e.useContext)(bA),i=(0,e.useState)([]),a=(0,n.Z)(i,2),s=a[0],l=a[1],c=(0,e.useState)(0),u=(0,n.Z)(c,2),d=u[0],p=u[1],f=(0,e.useState)(1),h=(0,n.Z)(f,2),b=h[0],A=h[1],m=(0,e.useState)(!1),g=(0,n.Z)(m,2),v=g[0],y=g[1],M=(0,e.useCallback)((function(){var e;y(!0),Re.get("/v1/patient/sms/".concat(r,"/").concat(null===o||void 0===o||null===(e=o.user)||void 0===e?void 0:e.id),{params:{page:d+1}}).then((function(e){var t=e.data;l(t.sms),A(t.total)})).finally((function(){return y(!1)}))}),[d]);return(0,e.useEffect)((function(){M()}),[d]),(0,Kl.jsxs)(Kl.Fragment,{children:[s.length>0&&(0,Kl.jsxs)(Kd.Z,{children:[(0,Kl.jsx)(G4,{children:(0,Kl.jsxs)(nae,{size:"small",children:[(0,Kl.jsx)(a5,{children:(0,Kl.jsxs)(l5,{children:[(0,Kl.jsx)(c5.Z,{children:"Message"}),(0,Kl.jsx)(c5.Z,{children:"Sent from"}),(0,Kl.jsx)(c5.Z,{children:"Sent To"}),(0,Kl.jsx)(c5.Z,{children:"Created at"})]})}),(0,Kl.jsx)(f5,{children:s.map((function(e,t){return(0,Kl.jsxs)(l5,{children:[(0,Kl.jsx)(c5.Z,{children:e.message.length>=30?(0,Kl.jsx)(Ow.ZP,{title:e.message,arrow:!0,children:(0,Kl.jsxs)("div",{children:[e.message.substring(0,30),"..."]})}):e.message}),(0,Kl.jsx)(c5.Z,{children:e.from}),(0,Kl.jsx)(c5.Z,{children:e.patient.phone}),(0,Kl.jsx)(c5.Z,{children:Vs()(e.createdAt).format("DD-MM-YYYY HH:mm")})]},t)}))})]})}),(0,Kl.jsx)(Qie.Z,{rowsPerPageOptions:[],component:"div",count:b,rowsPerPage:50,page:d,onPageChange:function(e,t){return p(t)}})]}),0===s.length&&(0,Kl.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",flex:1},children:(0,Kl.jsx)("h6",{style:{fontFamily:"Mulish",fontSize:"1.25rem",fontWeight:500},children:"No Items"})}),v&&(0,Kl.jsx)(NE,{})]})},Oae=function(e){var t=e.filter,n=e.patientId,r=e.order;return"questionnaires"===t?(0,Kl.jsx)("div",{className:Die.appointments,children:(0,Kl.jsx)(Xie,{patientId:n,order:r})}):"prescriptions"===t?(0,Kl.jsx)("div",{className:Die.appointments,children:(0,Kl.jsx)($ie,{patientId:n,order:r})}):"message-log"===t?(0,Kl.jsx)("div",{className:Die.appointments,children:(0,Kl.jsx)(Aae,{patientId:n})}):"emails"===t?(0,Kl.jsx)("div",{className:Die.appointments,children:(0,Kl.jsx)(yae,{patientId:n})}):"medical-history-snapshots"===t?(0,Kl.jsx)("div",{className:Die.appointments,children:(0,Kl.jsx)(vae,{})}):"sms"===t?(0,Kl.jsx)("div",{className:Die.appointments,children:(0,Kl.jsx)(Mae,{patientId:n})}):(0,Kl.jsx)("div",{className:Die.appointments,children:(0,Kl.jsx)(Zie,{patientId:n,type:t,order:r})})},_ae=function(){var t=me().patientId,r=(0,e.useState)(Bie),o=(0,n.Z)(r,2),i=o[0],a=o[1],s=(0,e.useState)("desc"),l=(0,n.Z)(s,2),c=l[0],u=l[1];return(0,Kl.jsxs)("div",{className:d8,children:[(0,Kl.jsx)(m8,{setFilter:a,filter:i,setOrderBy:u,orderBy:c}),(0,Kl.jsx)(Oae,{patientId:t,filter:i,order:c})]})},zae="patientDocuments_patientDocuments__lWUPT",xae="patientDocuments_documentUpload__SuuZE",wae="patientDocuments_patientDocumentsBox__btY1p",Cae="patientDocuments_patientDocumentWrapper__6Bk6D",Sae="patientDocuments_patientDocument__gqHhi",Eae="patientDocuments_documentInfo__srOb6",kae=__webpack_require__(12441),Dae=function(t){var r=t.name,o=t.setName,i=t.open,a=t.setOpen,s=t.patientId,l=t.id,c=t.setDocuments,u=(0,e.useState)(r),d=(0,n.Z)(u,2),p=d[0],f=d[1],h=function(){a(!1),l||f("")};(0,e.useEffect)((function(){f(r)}),[r]);var b=hE().enqueueSnackbar,A=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!l){e.next=3;break}return e.next=3,Re.put("v1/patient/".concat(s,"/documents/").concat(l),{name:p}).then((function(){o(p),h()})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return b(e,{variant:"error"})}))}))}));case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),m=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.delete("v1/patient/".concat(s,"/documents/").concat(l)).then((function(e){c((function(e){return e.filter((function(e){return e.id!==l}))})),h()})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return b(e,{variant:"error"})}))}))}));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,Kl.jsxs)(vC,{onClose:h,"aria-labelledby":"simple-dialog-title",open:i,PaperProps:{style:{borderRadius:15}},children:[(0,Kl.jsx)(MC,{children:"Change Document"}),(0,Kl.jsx)(_E,{style:{paddingBottom:20},children:(0,Kl.jsxs)(AC,{container:!0,spacing:2,justifyContent:"center",children:[(0,Kl.jsx)(AC,{item:!0,xs:!0,children:(0,Kl.jsx)(Wu.Z,{size:"small",variant:"outlined",fullWidth:!0,name:"Name",label:"Name",type:"text",value:p,onChange:function(e){return f(e.target.value)}})}),(0,Kl.jsxs)(AC,{container:!0,direction:"row",justifyContent:"center",spacing:2,item:!0,children:[!!l&&(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(zd.Z,{onClick:m,variant:"contained",color:"secondary",children:"Delete"})}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(zd.Z,{onClick:A,variant:"contained",color:"primary",children:"Save"})})]})]})})]})},Nae=function(t){var r=t.title,o=t.size,i=t.url,a=t.id,s=t.patientId,l=t.setDocuments,c=(0,e.useState)(!1),u=(0,n.Z)(c,2),d=u[0],p=u[1],f=(0,e.useState)(r),h=(0,n.Z)(f,2),b=h[0],A=h[1];return(0,Kl.jsxs)("div",{className:Cae,children:[(0,Kl.jsxs)("a",{href:i,download:"myimage",target:"_blank",className:Sae,rel:"noreferrer",children:[(0,Kl.jsx)(h3.Z,{}),(0,Kl.jsxs)("div",{className:Eae,children:[(0,Kl.jsx)(kl.Z,{variant:"h6",children:b}),(0,Kl.jsx)(kl.Z,{variant:"body1",children:el(o)})]})]}),(0,Kl.jsx)("div",{children:(0,Kl.jsx)(wd.Z,{onClick:function(){return p(!0)},children:(0,Kl.jsx)(oB.Z,{})})}),(0,Kl.jsx)(Dae,{open:d,setOpen:p,name:b,setName:A,id:a,patientId:s,setDocuments:l})]})},Tae=function(t){var o=t.patientId,i=(0,e.useState)([]),a=(0,n.Z)(i,2),s=a[0],l=a[1],c=hE().enqueueSnackbar,u=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t,n;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get("/v1/patient/".concat(o,"/documents")).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return c(e,{variant:"error"})}))}))}));case 2:t=e.sent,(n=t.data)&&l(null===n||void 0===n?void 0:n.data);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();(0,e.useEffect)((function(){o&&u(o)}),[o]);var d=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,i;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(n=t.target.files[0])){e.next=6;break}return(i=new FormData).append("document",n),e.next=6,Re.post("/v1/patient/".concat(o,"/documents"),i).then((function(e){l((function(t){return[e.data.data].concat((0,r.Z)(t))}))})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return c(e,{variant:"error"})}))}))}));case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return(0,Kl.jsxs)("div",{className:zae,children:[(0,Kl.jsxs)("label",{className:xae,children:[(0,Kl.jsx)(kl.Z,{variant:"h6",align:"center",children:"Patient Document Upload"}),(0,Kl.jsx)("input",{type:"file",size:1,onChange:d}),(0,Kl.jsx)(kae.Z,{}),(0,Kl.jsxs)(kl.Z,{variant:"body2",align:"center",children:["Drag file here or ",(0,Kl.jsx)("span",{children:"browse"})]})]}),(0,Kl.jsx)("div",{className:wae,children:null===s||void 0===s?void 0:s.map((function(e){var t;return(0,Kl.jsx)(Nae,{size:e.file.size,title:null===e||void 0===e?void 0:e.file.original_name,url:null===e||void 0===e||null===(t=e.file)||void 0===t?void 0:t.url,id:null===e||void 0===e?void 0:e.id,patientId:o,setDocuments:l},"notes_".concat(null===e||void 0===e?void 0:e.id))}))})]})},jae=__webpack_require__(18018),Bae=function(t){var o=t.title,i=t.note,a=t.setNote,s=t.open,l=t.setOpen,c=t.patientId,u=t.id,d=t.setNotes,p=t.type,f=(0,e.useState)(i),h=(0,n.Z)(f,2),b=h[0],A=h[1],m=Bu(),g=function(){l(!1),u||A("")};(0,e.useEffect)((function(){A(i)}),[i]);var v=hE().enqueueSnackbar,y=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!u){e.next=5;break}return e.next=3,Re.post("v1/patient/".concat(c,"/").concat(p,"/").concat(u),{text:b}).then((function(){a(b),g()})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return v(e,{variant:"error"})}))}))}));case 3:e.next=7;break;case 5:return e.next=7,Re.post("v1/patient/".concat(c,"/").concat(p),{text:b,staff_id:m}).then((function(e){d((function(t){var n;return[null===e||void 0===e||null===(n=e.data)||void 0===n?void 0:n.data].concat((0,r.Z)(t))})),g()})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return v(e,{variant:"error"})}))}))}));case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),M=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.delete("v1/patient/".concat(c,"/").concat(p,"/").concat(u)).then((function(e){d((function(e){return e.filter((function(e){return e.id!==u}))})),g()})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return v(e,{variant:"error"})}))}))}));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,Kl.jsxs)(vC,{onClose:g,"aria-labelledby":"simple-dialog-title",open:s,PaperProps:{style:{borderRadius:15}},children:[(0,Kl.jsx)(MC,{children:o}),(0,Kl.jsx)(_E,{style:{paddingBottom:20},children:(0,Kl.jsxs)(AC,{container:!0,spacing:2,justifyContent:"center",children:[(0,Kl.jsx)(AC,{item:!0,xs:!0,children:(0,Kl.jsx)(Wu.Z,{size:"small",variant:"outlined",fullWidth:!0,multiline:!0,minRows:3,name:"Alert",label:"Alert",type:"text",value:b,onChange:function(e){return A(e.target.value)}})}),(0,Kl.jsxs)(AC,{container:!0,direction:"row",justifyContent:"center",spacing:2,item:!0,children:[!!u&&(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(zd.Z,{onClick:M,variant:"contained",color:"secondary",children:"Delete"})}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(zd.Z,{onClick:y,variant:"contained",color:"primary",children:"Save"})})]})]})})]})},Lae="patientNotes_patientNotes__QXoBg",Rae="patientNotes_patientNotesHeader__ql1QS",qae="patientNotes_addNew__NQmXl",Pae="patientNotes_patientNotesBox__NcdVS",Iae="patientNotes_patientNote__K9-6h",Wae="patientNotes_patientNoteHeader__OjFwx",Fae="patientNotes_patientNoteFooter__6pGMC",Uae="patientNotes_doctor__WG0LY",Zae=function(t){var r=t.text,o=t.doctor,i=t.id,a=t.date,s=t.patientId,l=t.setNotes,c=t.type,u=(0,e.useState)(r),d=(0,n.Z)(u,2),p=d[0],f=d[1],h=(0,e.useState)(!1),b=(0,n.Z)(h,2),A=b[0],m=b[1];return(0,Kl.jsxs)("div",{className:Iae,children:[(0,Kl.jsxs)("div",{className:Wae,children:[(0,Kl.jsx)(kl.Z,{variant:"body1",children:p}),(0,Kl.jsx)(wd.Z,{onClick:function(){return m(!0)},style:{padding:0},children:(0,Kl.jsx)(oB.Z,{style:{marginRight:0},fontSize:"small"})})]}),(0,Kl.jsxs)("div",{className:Fae,children:[(0,Kl.jsxs)("div",{className:Uae,children:[(0,Kl.jsx)(jae.Z,{}),(0,Kl.jsx)(kl.Z,{variant:"body2",children:o})]}),(0,Kl.jsx)(kl.Z,{variant:"body2",children:Vs()(a).format("DD/MM/YYYY")})]}),(0,Kl.jsx)(Bae,{title:"Edit ".concat("reception-note"===c?"Note":"Alert"),open:A,setOpen:m,note:p,id:i,setNote:f,patientId:s,setNotes:l,type:c})]})},Hae=function(t){var r=t.title,o=t.patientId,i=t.alerts,a=t.type,s=(0,e.useState)(i),l=(0,n.Z)(s,2),c=l[0],u=l[1],d=(0,e.useState)(!1),p=(0,n.Z)(d,2),f=p[0],h=p[1];(0,e.useEffect)((function(){u(i)}),[i]);var b="reception-note"===a?"#fff":"#fd0001";return(0,Kl.jsxs)("div",{className:Lae,style:{borderColor:b},children:[(0,Kl.jsxs)("div",{className:Rae,children:[(0,Kl.jsx)(kl.Z,{variant:"h6",children:r}),(0,Kl.jsx)(zd.Z,{variant:"contained",size:"small",type:"contained",color:"primary",className:"reception-note"===a?void 0:qae,onClick:function(){h(!0)},children:"Add New"})]}),(0,Kl.jsx)("div",{className:Pae,children:null===c||void 0===c?void 0:c.map((function(e){return(0,Kl.jsx)(Zae,{text:e.text,doctor:null===e||void 0===e?void 0:e.staffName,date:null===e||void 0===e?void 0:e.date,id:null===e||void 0===e?void 0:e.id,patientId:o,setNotes:u,type:a},"notes_".concat(null===e||void 0===e?void 0:e.id))}))}),(0,Kl.jsx)(Bae,{title:"Add ".concat("reception-note"===a?"Note":"Alert"),open:f,setOpen:h,patientId:o,setNotes:u,type:a})]})},$ae={patientPhotos:"patientPhotos_patientPhotos__8yyuY",button:"patientPhotos_button__KFmkw",patientPhotosHeader:"patientPhotos_patientPhotosHeader__d71bt",pagination:"patientPhotos_pagination__btEqH",patientPhotosContainer:"patientPhotos_patientPhotosContainer__DVEGL",noPhotos:"patientPhotos_noPhotos__SN86t",patientPhotoGroup:"patientPhotos_patientPhotoGroup__eLH8D",patientPhotoGroupHeader:"patientPhotos_patientPhotoGroupHeader__5aeZ4",patientPhotoGroupHeaderDate:"patientPhotos_patientPhotoGroupHeaderDate__w1os5",patientPhotoGroupPhotos:"patientPhotos_patientPhotoGroupPhotos__hrUVI",singleImageModal:"patientPhotos_singleImageModal__83wYZ",patientPhoto:"patientPhotos_patientPhoto__zUUYw"},Vae=function(e){var t=e.photo,n=e.onClick;return(0,Kl.jsx)("div",{className:$ae.patientPhoto,onClick:n,children:(0,Kl.jsx)("img",{src:t,alt:t.toString()})})},Xae=function(e){var t=e.direction,n=e.onClick,r=e.enabled;return(0,Kl.jsx)(wd.Z,{className:$ae.paginationButton,onClick:n,disabled:!r,children:"left"===t?(0,Kl.jsx)(Cd.Z,{}):(0,Kl.jsx)(fB.Z,{})})},Qae=function(t){var r=t.patientId,o=t.patient,i=(0,e.useState)([]),a=(0,n.Z)(i,2),s=a[0],l=a[1],c=(0,e.useState)(!1),u=(0,n.Z)(c,2),d=u[0],p=u[1],f=(0,e.useState)(null),h=(0,n.Z)(f,2),b=h[0],A=h[1],m=(0,e.useState)(!1),g=(0,n.Z)(m,2),v=g[0],y=g[1],M=(0,e.useState)(),O=(0,n.Z)(M,1)[0],_=(0,e.useState)(),z=(0,n.Z)(_,1)[0],x=hE().enqueueSnackbar,w=(0,e.useState)(1),C=(0,n.Z)(w,2),S=C[0],E=C[1],k=(0,e.useState)(0),D=(0,n.Z)(k,2),N=D[0],T=D[1],j=(0,e.useState)(5),B=(0,n.Z)(j,1)[0],L=(0,e.useState)(!1),R=(0,n.Z)(L,2),q=R[0],P=R[1],I=Fc().appointment,W=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var r,o,i,a,s,c;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r={perPage:B,page:S},O&&z&&(r.from=Vs()(O).format("YYYY-MM-DD"),r.to=Vs()(z).format("YYYY-MM-DD")),e.next=4,Re.get("/v1/patient/".concat(t,"/photos"),{params:r}).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return x(e,{variant:"error"})}))}))}));case 4:o=e.sent,(i=o.data)&&(T(null===i||void 0===i?void 0:i.total),s=/(\d{2}\/\d{2}\/\d{4} \d{2}:\d{2})/,c=null!==(a=null===i||void 0===i?void 0:i.photos)&&void 0!==a?a:{},l(Object.entries(c).map((function(e){var t=(0,n.Z)(e,2),r=t[0],o=t[1],i=s.exec(r)[1],a=o.treatmentTypes,l=o.records,c=o.doctor_avatar;return{name:r.replace(i,""),avatar:c,date:i,treatmentTypes:a,photos:l}}))));case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();(0,e.useEffect)((function(){r&&W(r)}),[r,O,z,S]);return(0,Kl.jsxs)("div",{className:$ae.patientPhotos,children:[(0,Kl.jsxs)("div",{className:$ae.patientPhotosHeader,children:[(0,Kl.jsx)(kl.Z,{variant:"h6",children:"Photos"}),(0,Kl.jsxs)("div",{className:$ae.pagination,children:[(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",size:"small",onClick:function(){return P(!0)},startIcon:(0,Kl.jsx)(g5,{}),style:{marginRight:15,float:"right",whiteSpace:"nowrap"},children:"COMPARE ALL"}),(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",size:"small",onClick:function(){return y(!0)},startIcon:(0,Kl.jsx)(u3.Z,{}),className:$ae.button,children:"EMAIL PHOTOS"}),(0,Kl.jsx)(Xae,{onClick:function(){S>1&&E(S-1)},direction:"left",enabled:S>1}),(0,Kl.jsxs)(kl.Z,{variant:"body1",children:[S,"/",(N/B).toFixed(0)]}),(0,Kl.jsx)(Xae,{onClick:function(){N>S*B&&E(S+1)},direction:"right",enabled:N>4*S})]})]}),(0,Kl.jsx)("div",{className:$ae.patientPhotosContainer,children:s.length>0?(0,Kl.jsx)(Kl.Fragment,{children:!!s&&(null===s||void 0===s?void 0:s.map((function(e,t){var n;return(0,Kl.jsxs)("div",{className:$ae.patientPhotoGroup,children:[(0,Kl.jsxs)("div",{className:$ae.patientPhotoGroupHeader,children:[(0,Kl.jsx)(kl.Z,{variant:"body1",children:null===e||void 0===e?void 0:e.name}),(0,Kl.jsx)(kl.Z,{variant:"body2",className:$ae.patientPhotoGroupHeaderDate,children:null===e||void 0===e?void 0:e.date})]}),(0,Kl.jsx)("div",{className:$ae.patientPhotoGroupPhotos,children:(null===e||void 0===e?void 0:e.photos)&&"map"in(null===e||void 0===e?void 0:e.photos)&&(null===e||void 0===e||null===(n=e.photos)||void 0===n?void 0:n.map((function(e){return(0,Kl.jsx)(Vae,{photo:e.url,onClick:function(){A(e),p(!0)}},"photo_".concat(null===e||void 0===e?void 0:e.id))})))})]},"photoGroup_".concat(null===e||void 0===e?void 0:e.name,"_").concat(t))})))}):(0,Kl.jsx)(kl.Z,{variant:"body1",align:"center",className:$ae.noPhotos,children:"No Photos"})}),(0,Kl.jsx)(vC,{className:"patient-profile-photos-modal",open:d,onClose:function(){p(!1)},children:(0,Kl.jsx)("div",{className:$ae.singleImageModal,children:(0,Kl.jsx)("img",{src:null===b||void 0===b?void 0:b.url,alt:"photo_".concat(null===b||void 0===b?void 0:b.id)})})}),v&&(0,Kl.jsx)(oF,{open:v,setOpen:y,selectedValue:"photos-modal",data:{patient:o}}),q&&(0,Kl.jsx)(oF,{open:q,setOpen:P,selectedValue:"compare-photos-modal",data:{patient:o,appointment:I,type:"compare"}})]})},Yae="patientSidebar_patientSidebar__FhZrc",Gae=function(e){var t,n,r=e.patientId,o=e.patient;return(0,Kl.jsxs)("div",{className:Yae,children:[(0,Kl.jsx)(Hae,{patientId:r,alerts:null!==(t=null===o||void 0===o?void 0:o.alerts)&&void 0!==t?t:[],title:"Patient Alerts",type:"alert"}),(0,Kl.jsx)(Tae,{patientId:r}),(0,Kl.jsx)(Hae,{patientId:r,alerts:null!==(n=null===o||void 0===o?void 0:o.receptionNotes)&&void 0!==n?n:[],title:"Reception Notes",type:"reception-note"}),(0,Kl.jsx)(Qae,{patientId:r,patient:o})]})},Kae="profile_patient__C2Kbv",Jae="profile_patientContent__bbjYH",ese=function(t){var r,o=me().patientId,i=(0,e.useState)(),a=(0,n.Z)(i,2),s=a[0],l=a[1],c=(0,e.useRef)(null);(0,e.useEffect)((function(){u(o)}),[o]);var u=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,r;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get("/v1/patient/".concat(t));case 2:n=e.sent,r=n.data,l(r.data);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return(0,Kl.jsxs)(AC,{className:Kae,children:[(0,Kl.jsx)(uie,{name:null===s||void 0===s?void 0:s.fullName,id:o,loading:!s,printContent:c}),(0,Kl.jsxs)(AC,{container:!0,className:Jae,ref:c,spacing:2,children:[(0,Kl.jsxs)(AC,{item:!0,xs:12,lg:9,xl:8,children:[(0,Kl.jsx)(kie,{name:null===s||void 0===s?void 0:s.fullName,email:null===s||void 0===s||null===(r=s.user)||void 0===r?void 0:r.email,avatarUrl:null===s||void 0===s?void 0:s.avatarUrl,patient:s}),(0,Kl.jsx)(_ae,{}),(0,Kl.jsx)(eie,{patientId:null===s||void 0===s?void 0:s.id,completed:null===s||void 0===s?void 0:s.medicalHistoryCompleted})]}),(0,Kl.jsx)(AC,{item:!0,xs:12,lg:3,xl:4,children:(0,Kl.jsx)(Gae,{patientId:null===s||void 0===s?void 0:s.id,patient:s})})]}),(0,Kl.jsx)(Ee,{context:{calendarRef:null}})]})},tse="survey_loading__C0Y6B",nse="survey_completed__tukh8",rse=function(){var t=me(),r=t.patientId,o=t.surveyId,i=(0,e.useState)(!0),a=(0,n.Z)(i,2),s=a[0],l=a[1],c=(0,e.useState)(),u=(0,n.Z)(c,2),d=u[0],p=u[1],f=(0,e.useRef)(null),h=(0,e.useState)(void 0),b=(0,n.Z)(h,2),A=b[0],m=b[1],g=(0,e.useState)(),v=(0,n.Z)(g,2),y=v[0],M=v[1],O=(0,e.useState)(),_=(0,n.Z)(O,2),z=_[0],x=_[1],w=(0,e.useState)(),C=(0,n.Z)(w,2),S=C[0],E=C[1];(0,e.useEffect)((function(){k(r,o)}),[r,o]);var k=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t,n){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get("/v1/patient/".concat(t,"/survey-entries/").concat(n),{params:{perPage:-1}}).then((function(e){var n,r,o=e.data;M(null===o||void 0===o||null===(n=o.data)||void 0===n?void 0:n.sign_url),x(null===o||void 0===o||null===(r=o.data)||void 0===r?void 0:r.signed_at),p(o.data),D(t)})).catch((function(e){l(!1),m(null===e||void 0===e?void 0:e.message)}));case 2:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),D=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get("/v1/patient/".concat(t)).then((function(e){var t=e.data;E(null===t||void 0===t?void 0:t.data),l(!1)})).catch((function(e){l(!1),m(null===e||void 0===e?void 0:e.message)}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return A?(0,Kl.jsx)("div",{className:nse,children:(0,Kl.jsx)(kl.Z,{children:A})}):s?(0,Kl.jsx)("div",{className:tse,children:(0,Kl.jsx)(Gh.Z,{})}):(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(Cb,{mx:"46px",children:(0,Kl.jsx)(eie,{patientId:null===S||void 0===S?void 0:S.id,completed:null===S||void 0===S?void 0:S.medicalHistoryCompleted})}),(0,Kl.jsx)(Toe,{data:d,setData:p,canvasRef:f,sign:y,signedAt:z,patient:S})]})},ose="prescriptionNavigation_appointmentPatient__UKZSK",ise="prescriptionNavigation_patientData__vmguV",ase="prescriptionNavigation_list__95Bms",sse="prescriptionNavigation_patient__SozI1",lse="prescriptionNavigation_link__WZOof",cse="prescriptionNavigation_arrow__HZ6fF",use="prescriptionNavigation_actions__QnC6I",dse="prescriptionNavigation_actionsPrint__K4T6Z",pse=(0,e.forwardRef)((function(t,r){var o=t.open,i=t.setOpen,a=t.prescriptionId,s=jk.object().shape({email:jk.string().email().required("Email is required")}),l=(0,e.useState)(""),c=(0,n.Z)(l,2),u=c[0],d=c[1],p=hE().enqueueSnackbar,f=function(){i(!1)},h=Xj({initialValues:{email:""},validationSchema:s,onSubmit:function(e){A(e)}}),b=(0,yoe.useReactToPrint)({content:function(){return r.current},documentTitle:"test.pdf",copyStyles:!0,print:function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,r,o;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(n=t.contentDocument)){e.next=7;break}return r=n.getElementById("prescriptionCard"),n.querySelectorAll("button").forEach((function(e){return e.remove()})),o=new FormData,e.next=7,voe()().set({jsPDF:{orientation:"landscape"}}).from(r).outputPdf("blob").then(function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=new File([t],"prescription_".concat(a,".pdf"),{type:"application/pdf"}),o.append("prescription",n),o.append("email",u),e.next=5,Re.post("/v1/prescriptions/".concat(a,"/send-pdf"),o,{headers:{"Content-Type":"multipart/form-data"}}).then((function(e){p("Email sent!",{variant:"success"})})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return p(e,{variant:"error"})}))}))}));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()});(0,e.useEffect)((function(){u.length>0&&b()}),[u]);var A=function(e){d(e.email),f()};return(0,Kl.jsxs)(vC,{onClose:f,"aria-labelledby":"simple-dialog-title",open:o,PaperProps:{style:{borderRadius:15}},children:[(0,Kl.jsx)(MC,{children:"Enter Email"}),(0,Kl.jsx)(_E,{style:{overflow:"hidden",paddingBottom:20},children:(0,Kl.jsx)("form",{onSubmit:h.handleSubmit,children:(0,Kl.jsxs)(AC,{container:!0,spacing:2,justifyContent:"center",children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(Wu.Z,{size:"small",type:"text",name:"email",variant:"outlined",value:h.values.email,onChange:h.handleChange,onBlur:h.handleBlur,error:h.touched.email&&Boolean(h.errors.email),helperText:h.touched.email&&h.errors.email,placeholder:"Email"})}),(0,Kl.jsx)(AC,{container:!0,direction:"row",justifyContent:"center",spacing:2,item:!0,children:(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(zd.Z,{type:"submit",variant:"contained",color:"primary",children:"Send"})})})]})})})]})})),fse=pse,hse=(0,e.forwardRef)((function(t,r){var o=t.name,i=t.id,a=t.loading,s=t.prescriptionId,l=(0,e.useState)(!1),c=(0,n.Z)(l,2),u=c[0],d=c[1],p=(0,yoe.useReactToPrint)({content:function(){return r.current},documentTitle:"prescription_".concat(s,".pdf"),copyStyles:!0}),f=(0,yoe.useReactToPrint)({content:function(){return r.current},documentTitle:"prescription_".concat(s,".pdf"),copyStyles:!0,print:function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,r;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(n=t.contentDocument)){e.next=6;break}return r=n.getElementById("prescriptionCard"),n.querySelectorAll("button").forEach((function(e){return e.remove()})),e.next=6,voe()().set({jsPDF:{orientation:"landscape"}}).from(r).save();case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()});return(0,Kl.jsxs)("div",{className:ose,children:[a?(0,Kl.jsx)(Rp,{variant:"rect",width:300,height:32}):(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsxs)(AC,{className:ise,children:[(0,Kl.jsx)(wu,{to:"/prescriptions",className:lse,children:(0,Kl.jsx)(kl.Z,{className:ase,children:"Prescriptions"})}),(0,Kl.jsx)(fB.Z,{className:cse}),(0,Kl.jsx)(wu,{to:"/patients/".concat(i),className:lse,children:(0,Kl.jsx)(kl.Z,{className:sse,children:o})})]}),(0,Kl.jsxs)(AC,{className:use,children:[(0,Kl.jsx)("span",{className:dse,onClick:function(){return p()},children:(0,Kl.jsx)(lie.Z,{})}),(0,Kl.jsx)("span",{className:dse,onClick:function(){return d(!0)},children:(0,Kl.jsx)(u3.Z,{})}),(0,Kl.jsx)("span",{className:dse,onClick:function(){return f()},children:(0,Kl.jsx)(moe.Z,{})})]})]}),(0,Kl.jsx)(fse,{open:u,setOpen:d,prescriptionId:s,ref:r})]})})),bse=hse,Ase=function(e){var t=iie({includes:["customProducts","externalPrescriber","patient.user","practitioner.user","productBrands","treatmentTypes","prescriptionStatus","staff.user"],fields:[{name:"prescriptions",items:["createdAt","patient","treatmentTypes","prescriptionStatus","practitioner","customProducts","productBrands","signAt","signUrl","staff","externalPrescriber"]},{name:"patients",items:["fullName","address","phone","dateOfBirth","user"]}],endpoint:"prescriptions",modelId:e,dataType:"prescriptions"});return{data:t.data,isLoading:t.isLoading,runQuery:t.runQuery}},mse=$l((function(){var t,o,i=(0,e.useRef)(null),a=me(),s=(0,e.useState)(),l=(0,n.Z)(s,2),c=l[0],u=l[1],d=(0,e.useState)([]),p=(0,n.Z)(d,2),f=p[0],h=p[1],b=(0,e.useState)(0),A=(0,n.Z)(b,2),m=A[0],g=A[1],v=(0,e.useState)(),y=(0,n.Z)(v,2),M=y[0],O=y[1],_=(0,e.useState)([]),z=(0,n.Z)(_,2),x=z[0],w=z[1],C=(0,e.useState)([]),S=(0,n.Z)(C,2),E=S[0],k=S[1],D=(0,e.useState)(void 0),N=(0,n.Z)(D,2),T=N[0],j=N[1],B=(0,e.useState)(void 0),L=(0,n.Z)(B,2),R=L[0],q=L[1],P=he(),I=(0,e.useRef)(null),W=(0,e.useState)(!0),F=(0,n.Z)(W,2),U=F[0],Z=F[1],H=(0,e.useState)(!0),$=(0,n.Z)(H,2),V=$[0],X=$[1],Q=Fc().location,Y=Ase(null===a||void 0===a?void 0:a.prescriptionId),G=Y.data,K=Y.isLoading,J=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t,n,r;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=new FormData,T||U||!i.current){e.next=5;break}return r=i.current.toDataURL(),e.next=5,fetch(r).then((function(e){return e.blob()})).then(function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var r;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=new File([t],"sign_".concat(null===M||void 0===M?void 0:M.id,".png"),{type:"image/png"}),n.append("sign",r);case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 5:return x.filter((function(e){return!e.id})).forEach((function(e,t){n.append("customProducts[".concat(t,"][description]"),e.description),n.append("customProducts[".concat(t,"][dosage]"),e.amount),n.append("customProducts[".concat(t,"][title]"),e.title)})),x.filter((function(e){return e.id})).forEach((function(e,t){n.append("productBrands[".concat(t,"][id]"),e.id),n.append("productBrands[".concat(t,"][dosage]"),e.amount),n.append("productBrands[".concat(t,"][description]"),e.description)})),n.append("patientId",null===M||void 0===M||null===(t=M.patient)||void 0===t?void 0:t.id),n.append(c.isExternal?"externalPrescriberId":"staffId",c.id),n.append(c.isExternal?"staffId":"externalPrescriberId",""),n.append("practitionerId",m),V&&n.append("notRequired",V),e.next=14,Re.post("/v1/prescriptions/".concat(null===a||void 0===a?void 0:a.prescriptionId),n,{headers:{"Content-Type":"multipart/form-data"}}).then((function(e){j(e.data.data.signUrl),O((function(t){return Us(Us({},t),{},{status:e.data.data.status})})),q("Successfully updated!"),P(-1),setTimeout((function(){q(void 0)}),5e3)})).then((function(){setTimeout((function(){window.location.reload()}),1e3)}));case 14:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),ee=(0,e.useCallback)((function(e,t){var n,r,o,i;return null===G||void 0===G||null===(n=G.relationships)||void 0===n||null===(r=n.productBrands)||void 0===r||null===(o=r.data)||void 0===o||null===(i=o.find((function(t){return t.id===e})))||void 0===i?void 0:i.meta[t]}),[G]);(0,e.useEffect)((function(){if(G){O(G),g(parseInt(G.practitioner.id)),null!==G&&void 0!==G&&G.staff&&u(Us(Us({},null===G||void 0===G?void 0:G.staff),{},{isExternal:!1})),null!==G&&void 0!==G&&G.externalPrescriber&&u(Us(Us({},null===G||void 0===G?void 0:G.externalPrescriber),{},{isExternal:!0}));var e=[];if(G.productBrands){var t=G.productBrands.map((function(e,t){return{title:e.title,description:ee(e.id,"description"),amount:ee(e.id,"dosage"),id:e.id,index:t}}));e.push.apply(e,(0,r.Z)(t))}if(G.customProducts){var n=G.customProducts.map((function(t,n){return{title:t.title,description:t.description,amount:t.dosage,index:e.length+n}}));e.push.apply(e,(0,r.Z)(n))}w(e),G.signUrl&&fetch(G.signUrl).then((function(e){return e.blob()})).then(function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:(n=new FileReader).readAsDataURL(t),n.onloadend=function(){j(n.result)},j(t);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),Z(!G.signUrl),"Not Required"===G.status?X(!0):X(!1)}}),[G]);var te=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t,n,r;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get("/v1/product-brands",{params:{limit:-1}});case 2:n=e.sent,r=n.data,(null===(t=r.data)||void 0===t?void 0:t.length)>0&&k(r.data);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),ne=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t,n,r;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get("/v1/staff",{params:{view:"list",location:(null===Q||void 0===Q?void 0:Q.id)||"all"}});case 2:n=e.sent,r=n.data,(null===(t=r.data)||void 0===t?void 0:t.length)>0&&h(r.data);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();(0,e.useEffect)((function(){yr((0,Hs.Z)((0,Zs.Z)().mark((function e(){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ne();case 2:return e.next=4,te();case 4:case"end":return e.stop()}}),e)}))))}),[]);return(0,Kl.jsxs)("div",{className:Nee,children:[(0,Kl.jsx)(bse,{name:null===M||void 0===M||null===(t=M.patient)||void 0===t?void 0:t.fullName,id:null===M||void 0===M||null===(o=M.patient)||void 0===o?void 0:o.id,loading:!(null!==M&&void 0!==M&&M.patient),prescriptionId:null===M||void 0===M?void 0:M.id,ref:I}),(0,Kl.jsx)(Dee,{prescription:M,tableItems:x,setTableItems:w,sign:T,brands:E,onClickSave:J,prescriber:c,doctors:f,doctor:m,setDoctor:g,canvasRef:i,external:!1,closed:!1,loading:K,ref:I,setSignEmpty:Z,setNotRequire:X,notRequire:V}),(0,Kl.jsx)(ZB,{open:!!R,autoHideDuration:4e3,onClose:function(){q(void 0)},anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Kl.jsx)(Xh,{severity:"success",children:R})})]})})),gse=function(t,n,r){var o=(0,e.useMemo)((function(){return"all"!==n?[{name:"[prescriptionStatus][slug]",value:n}]:null}),[n]),i=iie({includes:["patient.user","treatmentTypes","prescriptionStatus","practitioner.user","customProducts","productBrands"],fields:[{name:"prescriptions",items:["createdAt","patient","treatmentTypes","prescriptionStatus","practitioner","customProducts","productBrands"]},{name:"patients",items:["dateOfBirth","fullName","user"]},{name:"users",items:["name","lastName","avatarUrl"]},{name:"treatment-types",items:["name"]},{name:"prescription-statuses",items:["title","slug"]}],endpoint:"prescriptions",dataType:"prescriptions",cursorPageLimit:t,filters:o,search:r});return{isLoading:i.isLoading,runQuery:i.runQuery,data:i.data,meta:i.meta}},vse=$l((function(t){var r,o,i,a=t.appointmentId,s=t.patientName,l=t.lastUpdate,c=Fc().appointment,u=nie(),d=(0,e.useState)("open"),p=(0,n.Z)(d,2),f=p[0],h=p[1],b=(0,e.useState)(!1),A=(0,n.Z)(b,2),m=A[0],g=A[1],v=gse(8,f,u),y=v.data,M=v.meta,O=v.isLoading,_=v.runQuery;(0,e.useEffect)((function(){M&&_()}),[f,u]);var z=e.useRef(M);(0,e.useEffect)((function(){z.current=M}),[M]);var x=(0,e.useCallback)((function(){var e,t,n;window.innerHeight+window.scrollY>=document.body.scrollHeight&&(null!==z&&void 0!==z&&null!==(e=z.current)&&void 0!==e&&e.page.to&&null!==z&&void 0!==z&&null!==(t=z.current)&&void 0!==t&&t.page.hasMore&&!O&&_(null===z||void 0===z||null===(n=z.current)||void 0===n?void 0:n.page.to))}),[O,f]);(0,e.useEffect)((function(){return window.addEventListener("scroll",x),function(){window.removeEventListener("scroll",x)}}),[f]);var w=(0,e.useCallback)((function(e){return e===f}),[f]);return(0,Kl.jsxs)("div",{className:E6.prescriptions,children:[(0,Kl.jsxs)("div",{className:E6.prescriptionsHeader,children:[s&&(0,Kl.jsxs)("div",{className:E6.appointmentHeader,children:[(0,Kl.jsxs)(kl.Z,{variant:"body1",children:[s," Prescriptions"]}),(0,Kl.jsxs)("div",{className:E6.right,children:[(0,Kl.jsxs)(kl.Z,{variant:"caption",className:E6.addPrescription,children:["Last Update: ",Vs()(l).format("DD/MM/YYYY")]}),(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",onClick:function(){g(!0)},size:"small",children:"Add Prescription"})]})]}),(0,Kl.jsx)("div",{className:E6.prescriptionsFilter,children:[{name:"Open Prescriptions",value:"open"},{name:"Signed Prescriptions",value:"signed"},{name:"View All",value:"all"}].map((function(e,t){return(0,Kl.jsx)(A8,{name:e.name,onClick:function(){return h(e.value)},active:w(e.value)},"button_".concat(e.name))}))})]}),(0,Kl.jsxs)("div",{className:E6.prescriptionList,children:[(0,Kl.jsx)("div",{className:E6.prescriptionsContainer,children:null===y||void 0===y?void 0:y.map((function(e,t){var n;return(0,Kl.jsx)(s8,{id:e.id,treatmentTypes:e.treatmentTypes,status:null===e||void 0===e||null===(n=e.prescriptionStatus)||void 0===n?void 0:n.title,practitioner:null===e||void 0===e?void 0:e.practitioner,date:null===e||void 0===e?void 0:e.createdAt,productBrands:null===e||void 0===e?void 0:e.productBrands,customProducts:null===e||void 0===e?void 0:e.customProducts,patient:null===e||void 0===e?void 0:e.patient,getPrescriptions:_},"prescription_".concat(e.id,"_").concat(t))}))}),O&&(0,Kl.jsx)("div",{className:E6.loading,children:(0,Kl.jsx)(Gh.Z,{size:32})})]}),(0,Kl.jsx)(u8,{open:m,setOpen:g,appointmentId:a,patient:null===c||void 0===c||null===(r=c.patient)||void 0===r?void 0:r.id,doctor:null!==(o=null===c||void 0===c||null===(i=c.doctor)||void 0===i?void 0:i.id)&&void 0!==o?o:"",getPrescriptions:_})]})})),yse=vse,Mse=function(){var t,r=fe(),o=(0,e.useState)(null),i=(0,n.Z)(o,2),a=i[0],s=i[1],l=(0,e.useState)(!1),c=(0,n.Z)(l,2),u=c[0],d=c[1],p=me().token,f=(0,e.useState)(!1),h=(0,n.Z)(f,2),b=h[0],A=h[1],m=he(),g=(0,e.useContext)(bA);(0,e.useEffect)((function(){var e;null!==g&&void 0!==g&&null!==(e=g.user)&&void 0!==e&&e.id&&m("/calendar")}),[null===g||void 0===g||null===(t=g.user)||void 0===t?void 0:t.id]);var v=(0,e.useMemo)((function(){return r.search.replace("?email=","")}),[r]),y=Xj({initialValues:{password:"",passwordConfirmation:""},validationSchema:jk.object().shape({password:jk.string().nullable().min(8,"Password must be at least 8 characters length ").max(255,"Password must be at most 255 characters").required("Password is required"),passwordConfirmation:jk.string().nullable().min(8,"Password must be at least 8 characters length ").max(255,"Password must be at most 255 characters").required("Password is required").oneOf([jk.ref("password"),null],"Passwords must match")}),onSubmit:function(e){M(e)}}),M=function(e){Re.post("/v1/new-password",{email:v,password:e.password,password_confirmation:e.passwordConfirmation,token:p}).then((function(e){e.data;A(!0)})).catch((function(e){!function(e){s(e),d(!0)}(e.message)}))};return b?(0,Kl.jsxs)("div",{className:jre,children:[(0,Kl.jsx)("img",{src:$re,alt:"logo"}),(0,Kl.jsx)("h3",{style:{color:"#fff"},children:"Password successfully changed!"})]}):(0,Kl.jsxs)("div",{className:jre,children:[(0,Kl.jsx)("img",{src:$re,alt:"logo"}),(0,Kl.jsxs)("form",{onSubmit:y.handleSubmit,children:[(0,Kl.jsx)("h3",{children:"New Password"}),(0,Kl.jsx)(Wu.Z,{size:"small",type:"password",name:"password",variant:"outlined",color:"primary",value:y.values.password,onChange:y.handleChange,onBlur:y.handleBlur,className:Rre,error:y.touched.password&&Boolean(y.errors.password),helperText:y.touched.password&&y.errors.password,placeholder:"Password"}),(0,Kl.jsx)(Wu.Z,{size:"small",type:"password",name:"passwordConfirmation",variant:"outlined",color:"primary",value:y.values.passwordConfirmation,onChange:y.handleChange,onBlur:y.handleBlur,className:Rre,error:y.touched.passwordConfirmation&&Boolean(y.errors.passwordConfirmation),helperText:y.touched.passwordConfirmation&&y.errors.passwordConfirmation,placeholder:"Password Confirmation"}),(0,Kl.jsx)(zd.Z,{color:"primary",variant:"contained",fullWidth:!0,type:"submit",endIcon:(0,Kl.jsx)(Wre.Z,{}),children:"Save"})]}),(0,Kl.jsx)(ZB,{open:u,autoHideDuration:4e3,onClose:function(){d(!1)},anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Kl.jsxs)(Xh,{severity:"error",children:[(0,Kl.jsx)(Ure,{children:"Error"}),a]})})]})},Ose=function(){var t,r=(0,e.useState)(null),o=(0,n.Z)(r,2),i=o[0],a=o[1],s=(0,e.useState)(!1),l=(0,n.Z)(s,2),c=l[0],u=l[1],d=(0,e.useState)(!1),p=(0,n.Z)(d,2),f=p[0],h=p[1],b=he(),A=(0,e.useContext)(bA);(0,e.useEffect)((function(){var e;null!==A&&void 0!==A&&null!==(e=A.user)&&void 0!==e&&e.id&&b("/calendar")}),[null===A||void 0===A||null===(t=A.user)||void 0===t?void 0:t.id]);var m=Xj({initialValues:{email:""},validationSchema:jk.object().shape({email:jk.string().nullable().max(255,"Email must be at most 255 characters").email("Invalid email").required("Email is required")}),onSubmit:function(e){g(e)}}),g=function(e){Re.post("/v1/reset-password",{email:e.email}).then((function(e){e.data;u(!0),setTimeout((function(){b("/login")}),4e3)})).catch((function(e){!function(e){a(e),h(!0)}(e.message)}))};return(0,Kl.jsxs)("div",{className:jre,children:[(0,Kl.jsx)("img",{src:$re,alt:"logo"}),(0,Kl.jsxs)("form",{onSubmit:m.handleSubmit,children:[(0,Kl.jsx)("h3",{children:"Enter your Email"}),(0,Kl.jsx)(Wu.Z,{size:"small",type:"email",name:"email",variant:"outlined",value:m.values.email,onChange:m.handleChange,onBlur:m.handleBlur,error:m.touched.email&&Boolean(m.errors.email),helperText:m.touched.email&&m.errors.email,className:Rre,placeholder:"E-mail"}),(0,Kl.jsx)(zd.Z,{color:"primary",variant:"contained",fullWidth:!0,type:"submit",disabled:m.isSubmitting,endIcon:(0,Kl.jsx)(Wre.Z,{}),children:"Send Email"}),(0,Kl.jsx)(kl.Z,{color:"primary",align:"right",className:Bre,onClick:function(){b("/login")},children:"Sign In"})]}),(0,Kl.jsx)(ZB,{open:f,autoHideDuration:4e3,onClose:function(){h(!1)},anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Kl.jsxs)(Xh,{severity:"error",children:[(0,Kl.jsx)(Ure,{children:"Error"}),i]})}),(0,Kl.jsx)(ZB,{open:c,autoHideDuration:4e3,onClose:function(){return u(!1)},anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Kl.jsxs)(Xh,{severity:"success",children:[(0,Kl.jsx)(Ure,{children:"Success"}),"Check your Email!"]})})]})},_se="settings_accessDenied__ZDMgG",zse="settings_pageWrapper__DUCaK",xse="settings_menuWrapper__-2HdW",wse="settings_pageContainer__liEHn",Cse=__webpack_require__(75816),Sse=["title","titleId"];function Ese(){return Ese=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ese.apply(this,arguments)}function kse(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Dse(t,n){var r=t.title,o=t.titleId,i=kse(t,Sse);return e.createElement("svg",Ese({width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,Cie||(Cie=e.createElement("path",{d:"M10.6043 11.5378C10.8287 11.5378 11.0247 11.454 11.1922 11.2866C11.3596 11.1191 11.4434 10.9232 11.4434 10.6987C11.4434 10.4742 11.3596 10.2782 11.1922 10.1108C11.0247 9.94333 10.8287 9.8596 10.6043 9.8596C10.3798 9.8596 10.1838 9.94333 10.0164 10.1108C9.84891 10.2782 9.76517 10.4742 9.76517 10.6987C9.76517 10.9232 9.84891 11.1191 10.0164 11.2866C10.1838 11.454 10.3798 11.5378 10.6043 11.5378ZM10.0578 8.78072H11.1507C11.1625 8.36706 11.2157 8.06004 11.3103 7.85966C11.4049 7.65929 11.629 7.38811 11.9828 7.04612C12.4059 6.64067 12.6938 6.2981 12.8466 6.01839C12.9993 5.7387 13.0757 5.41376 13.0757 5.04357C13.0757 4.39133 12.8454 3.85337 12.3847 3.42971C11.924 3.00604 11.3305 2.7942 10.6043 2.7942C10.0366 2.7942 9.53748 2.9508 9.10677 3.264C8.67605 3.57719 8.36314 3.99762 8.16806 4.52528L9.15875 4.94131C9.31388 4.57112 9.51279 4.29347 9.75547 4.10838C9.99815 3.92328 10.2811 3.83072 10.6043 3.83072C11.0062 3.83072 11.3364 3.94707 11.595 4.17977C11.8535 4.41246 11.9828 4.7192 11.9828 5.09996C11.9828 5.33148 11.9173 5.54861 11.7863 5.75135C11.6552 5.95407 11.4281 6.20351 11.1049 6.49967C10.6595 6.88983 10.3736 7.2183 10.2473 7.48506C10.121 7.75184 10.0578 8.18373 10.0578 8.78072ZM5.38634 14.041C4.9233 14.041 4.53137 13.8806 4.21056 13.5597C3.88972 13.2389 3.72931 12.847 3.72931 12.3839V1.94808C3.72931 1.48504 3.88972 1.0931 4.21056 0.772266C4.53137 0.451432 4.9233 0.291016 5.38634 0.291016H15.8222C16.2852 0.291016 16.6772 0.451432 16.998 0.772266C17.3188 1.0931 17.4792 1.48504 17.4792 1.94808V12.3839C17.4792 12.847 17.3188 13.2389 16.998 13.5597C16.6772 13.8806 16.2852 14.041 15.8222 14.041H5.38634ZM5.38634 12.666H15.8222C15.8927 12.666 15.9574 12.6366 16.0161 12.5779C16.0749 12.5191 16.1043 12.4544 16.1043 12.3839V1.94808C16.1043 1.87755 16.0749 1.8129 16.0161 1.75413C15.9574 1.69537 15.8927 1.66599 15.8222 1.66599H5.38634C5.31582 1.66599 5.25118 1.69537 5.19242 1.75413C5.13365 1.8129 5.10426 1.87755 5.10426 1.94808V12.3839C5.10426 12.4544 5.13365 12.5191 5.19242 12.5779C5.25118 12.6366 5.31582 12.666 5.38634 12.666ZM2.17803 17.2493C1.71501 17.2493 1.32308 17.0888 1.00225 16.768C0.681413 16.4472 0.520996 16.0552 0.520996 15.5922V3.78141H1.89597V15.5922C1.89597 15.6627 1.92535 15.7274 1.98411 15.7861C2.04288 15.8449 2.10752 15.8743 2.17803 15.8743H13.9889V17.2493H2.17803Z",fill:"#B57C2A"})))}var Nse,Tse,jse,Bse,Lse,Rse=e.forwardRef(Dse),qse=(__webpack_require__.p,["title","titleId"]);function Pse(){return Pse=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Pse.apply(this,arguments)}function Ise(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Wse(t,n){var r=t.title,o=t.titleId,i=Ise(t,qse);return e.createElement("svg",Pse({width:22,height:22,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,Nse||(Nse=e.createElement("path",{d:"M5.05162 8.86643H11.155C11.3659 8.86643 11.5364 8.69592 11.5364 8.48497C11.5364 8.27403 11.3659 8.10352 11.155 8.10352H5.05162C4.84068 8.10352 4.67017 8.27403 4.67017 8.48497C4.67017 8.69592 4.84068 8.86643 5.05162 8.86643Z",fill:"#B57C2A",stroke:"#B57C2A",strokeWidth:.3})),Tse||(Tse=e.createElement("path",{d:"M5.05162 11.5364H8.10329C8.31424 11.5364 8.48475 11.3658 8.48475 11.1549C8.48475 10.9439 8.31424 10.7734 8.10329 10.7734H5.05162C4.84068 10.7734 4.67017 10.9439 4.67017 11.1549C4.67017 11.3658 4.84068 11.5364 5.05162 11.5364Z",fill:"#B57C2A",stroke:"#B57C2A",strokeWidth:.3})),jse||(jse=e.createElement("path",{d:"M14.7925 16.6715L16.2844 15.9262C16.4061 15.8651 16.4862 15.7438 16.4946 15.6076C16.5026 15.4718 16.4377 15.3418 16.3241 15.2662L11.3414 11.9807C11.227 11.906 11.0824 11.8976 10.9607 11.9578C10.8391 12.0189 10.759 12.1402 10.7506 12.2764L10.3928 18.2294C10.3847 18.3652 10.4492 18.4953 10.5633 18.5704C10.6766 18.646 10.8219 18.6543 10.944 18.5937L12.4362 17.8483L13.1808 19.336C13.2476 19.4695 13.3822 19.547 13.5226 19.547C13.5745 19.547 13.6271 19.5367 13.6775 19.5138L15.3876 18.7509C15.4826 18.7085 15.5562 18.6292 15.5913 18.5311C15.6264 18.4331 15.6199 18.3251 15.5733 18.2321L14.7925 16.6715ZM13.7 18.6685L12.9481 17.1663C12.881 17.0324 12.7467 16.9553 12.6064 16.9553C12.5491 16.9553 12.4908 16.9683 12.4362 16.9954L11.1938 17.616L11.4723 12.9809L15.3513 15.5394L14.1097 16.1596C14.0193 16.2046 13.9502 16.284 13.9186 16.3801C13.8865 16.4762 13.8942 16.5807 13.9392 16.6715L14.7124 18.2168L13.7 18.6685Z",fill:"#B57C2A",stroke:"#B57C2A",strokeWidth:.3})),Bse||(Bse=e.createElement("path",{d:"M18.7842 2H3.52583C2.68434 2 2 2.68434 2 3.52583V7.34042C2 7.55136 2.17051 7.72188 2.38146 7.72188C2.5924 7.72188 2.76292 7.55136 2.76292 7.34042V6.19604H14.9696C15.1805 6.19604 15.351 6.02553 15.351 5.81458C15.351 5.60364 15.1805 5.43313 14.9696 5.43313H2.76292V3.52583C2.76292 3.10508 3.10508 2.76292 3.52583 2.76292H18.7842C19.2049 2.76292 19.5471 3.10508 19.5471 3.52583V5.43313H16.8769C16.6659 5.43313 16.4954 5.60364 16.4954 5.81458C16.4954 6.02553 16.6659 6.19604 16.8769 6.19604H19.5471V16.4954C19.5471 16.9162 19.2049 17.2583 18.7842 17.2583H16.4954C16.2845 17.2583 16.114 17.4288 16.114 17.6398C16.114 17.8507 16.2845 18.0213 16.4954 18.0213H18.7842C19.6257 18.0213 20.31 17.3369 20.31 16.4954V3.52583C20.31 2.68434 19.6257 2 18.7842 2Z",fill:"#B57C2A",stroke:"#B57C2A",strokeWidth:.3})),Lse||(Lse=e.createElement("path",{d:"M9.24771 17.2593H3.52583C3.10508 17.2593 2.76292 16.9171 2.76292 16.4964V9.24865C2.76292 9.0377 2.5924 8.86719 2.38146 8.86719C2.17051 8.86719 2 9.0377 2 9.24865V16.4964C2 17.3379 2.68434 18.0222 3.52583 18.0222H9.24771C9.45865 18.0222 9.62917 17.8517 9.62917 17.6407C9.62917 17.4298 9.45865 17.2593 9.24771 17.2593Z",fill:"#B57C2A",stroke:"#B57C2A",strokeWidth:.3})))}var Fse,Use=e.forwardRef(Wse),Zse=(__webpack_require__.p,"sidebar_title__2M3W7"),Hse="sidebar_list__whtYd",$se="sidebar_link__x0NaW",Vse="#B57C2A",Xse=[{title:"Invoices",links:[{label:"Invoice Settings",path:"invoice-settings",icon:(0,Kl.jsx)(hh,{color:Vse})}]},{title:"Email",links:[{label:"Email/SMS",path:"email-and-sms",icon:(0,Kl.jsx)(Cse.Z,{size:"30px",color:"primary"})}]}],Qse=function(){var t=(0,e.useContext)(bA),n=null===t||void 0===t?void 0:t.clinic.feature_forms_enabled,o=null===t||void 0===t?void 0:t.clinic.brand_settings_enabled,i=[].concat((0,r.Z)(o?[{title:"External Booking",links:[{label:"Brand",path:"external-booking/brand",icon:(0,Kl.jsx)(hh,{color:Vse})},{label:"Registration",path:"external-booking/registration",icon:(0,Kl.jsx)(hh,{color:Vse})}]}]:[]),Xse,(0,r.Z)(n?[{title:"FORMS & Questionnaires",hidden:!1,links:[{label:"All Forms List",path:"forms/list",icon:(0,Kl.jsx)(Rse,{color:Vse})},{label:"Form Builder",path:"forms/builder",icon:(0,Kl.jsx)(Use,{color:Vse})}]}]:[]));return(0,Kl.jsx)("div",{children:i.map((function(e){return e.hidden?null:(0,Kl.jsxs)("div",{children:[(0,Kl.jsx)("h5",{className:Zse,children:e.title}),(0,Kl.jsx)("ul",{className:Hse,children:e.links.map((function(e){return e.hidden?null:(0,Kl.jsx)("li",{children:(0,Kl.jsxs)(xu,{to:e.path,className:$se,children:[e.icon,e.label]})},e.label)}))})]},e.title)}))})},Yse=$l((function(){var t,n,r=(0,e.useContext)(bA);return null!==r&&void 0!==r&&null!==(t=r.user)&&void 0!==t&&null!==(n=t.staff)&&void 0!==n&&n.is_clinic_admin?(0,Kl.jsx)(Yh,{title:"Settings",Icon:yh,disableOutlet:!0,children:(0,Kl.jsxs)("div",{className:zse,children:[(0,Kl.jsx)("div",{className:xse,children:(0,Kl.jsx)(Qse,{})}),(0,Kl.jsx)("div",{className:wse,children:(0,Kl.jsx)(Ee,{})})]})}):(0,Kl.jsx)("div",{className:_se,children:(0,Kl.jsx)(kl.Z,{children:"Access is denied"})})})),Gse=["title","titleId"];function Kse(){return Kse=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Kse.apply(this,arguments)}function Jse(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function ele(t,n){var r=t.title,o=t.titleId,i=Jse(t,Gse);return e.createElement("svg",Kse({width:84,height:84,viewBox:"0 0 84 84",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,Fse||(Fse=e.createElement("g",{id:"pepicons-print:bulletin-notice"},e.createElement("g",{id:"Group"},e.createElement("g",{id:"Group_2",opacity:.2},e.createElement("path",{id:"Vector",d:"M8.40039 33.6C8.40039 32.4861 8.84289 31.4178 9.63054 30.6302C10.4182 29.8425 11.4865 29.4 12.6004 29.4H79.8004C80.9143 29.4 81.9826 29.8425 82.7702 30.6302C83.5579 31.4178 84.0004 32.4861 84.0004 33.6V79.8C84.0004 80.9139 83.5579 81.9822 82.7702 82.7699C81.9826 83.5575 80.9143 84 79.8004 84H12.6004C11.4865 84 10.4182 83.5575 9.63054 82.7699C8.84289 81.9822 8.40039 80.9139 8.40039 79.8V33.6Z",fill:"#B67D2B"}),e.createElement("path",{id:"Vector_2",fillRule:"evenodd",clipRule:"evenodd",d:"M16.8004 37.8V75.6H75.6004V37.8H16.8004ZM12.6004 29.4C11.4865 29.4 10.4182 29.8425 9.63054 30.6302C8.84289 31.4178 8.40039 32.4861 8.40039 33.6V79.8C8.40039 80.9139 8.84289 81.9822 9.63054 82.7699C10.4182 83.5575 11.4865 84 12.6004 84H79.8004C80.9143 84 81.9826 83.5575 82.7702 82.7699C83.5579 81.9822 84.0004 80.9139 84.0004 79.8V33.6C84.0004 32.4861 83.5579 31.4178 82.7702 30.6302C81.9826 29.8425 80.9143 29.4 79.8004 29.4H12.6004Z",fill:"#B67D2B"}),e.createElement("path",{id:"Vector_3",fillRule:"evenodd",clipRule:"evenodd",d:"M52.1395 16.0776C50.5642 14.5029 48.428 13.6182 46.2007 13.6182C43.9733 13.6182 41.8371 14.5029 40.2619 16.0776L23.9701 32.3736C23.5798 32.7636 23.1166 33.0728 22.6069 33.2838C22.0971 33.4947 21.5508 33.6032 20.9992 33.603C20.4475 33.6028 19.9013 33.4939 19.3917 33.2826C18.8821 33.0713 18.4191 32.7617 18.0292 32.3715C17.6392 31.9813 17.3299 31.5181 17.119 31.0083C16.9081 30.4986 16.7996 29.9523 16.7998 29.4006C16.8 28.849 16.9089 28.3027 17.1201 27.7931C17.3314 27.2836 17.641 26.8206 18.0313 26.4306L34.3231 10.1388C37.4735 6.9893 41.7459 5.22 46.2007 5.22C50.6554 5.22 54.9278 6.9893 58.0783 10.1388L74.3743 26.4306C75.1618 27.2187 75.604 28.2874 75.6036 29.4015C75.6032 30.5156 75.1603 31.584 74.3722 32.3715C73.5841 33.159 72.5154 33.6013 71.4013 33.6009C70.2871 33.6005 69.2188 33.1575 68.4313 32.3694L52.1395 16.0776Z",fill:"#B67D2B"})),e.createElement("path",{id:"Vector_4",fillRule:"evenodd",clipRule:"evenodd",d:"M75.6002 29.0766H8.4002V75.2766H75.6002V29.0766ZM8.4002 24.8766C7.28629 24.8766 6.218 25.3191 5.43035 26.1068C4.64269 26.8944 4.2002 27.9627 4.2002 29.0766V75.2766C4.2002 76.3905 4.64269 77.4588 5.43035 78.2465C6.218 79.0341 7.28629 79.4766 8.4002 79.4766H75.6002C76.7141 79.4766 77.7824 79.0341 78.57 78.2465C79.3577 77.4588 79.8002 76.3905 79.8002 75.2766V29.0766C79.8002 27.9627 79.3577 26.8944 78.57 26.1068C77.7824 25.3191 76.7141 24.8766 75.6002 24.8766H8.4002Z",fill:"#B67D2B"}),e.createElement("path",{id:"Vector_5",fillRule:"evenodd",clipRule:"evenodd",d:"M25.1999 39.5766C25.1999 39.0197 25.4212 38.4855 25.815 38.0917C26.2088 37.6979 26.743 37.4766 27.2999 37.4766H56.6999C57.2569 37.4766 57.791 37.6979 58.1848 38.0917C58.5787 38.4855 58.7999 39.0197 58.7999 39.5766C58.7999 40.1336 58.5787 40.6677 58.1848 41.0615C57.791 41.4554 57.2569 41.6766 56.6999 41.6766H27.2999C26.743 41.6766 26.2088 41.4554 25.815 41.0615C25.4212 40.6677 25.1999 40.1336 25.1999 39.5766ZM20.9999 52.1766C20.9999 51.6197 21.2212 51.0855 21.615 50.6917C22.0088 50.2979 22.543 50.0766 23.0999 50.0766H60.8999C61.4569 50.0766 61.991 50.2979 62.3848 50.6917C62.7787 51.0855 62.9999 51.6197 62.9999 52.1766C62.9999 52.7336 62.7787 53.2677 62.3848 53.6615C61.991 54.0554 61.4569 54.2766 60.8999 54.2766H23.0999C22.543 54.2766 22.0088 54.0554 21.615 53.6615C21.2212 53.2677 20.9999 52.7336 20.9999 52.1766ZM25.1999 64.7766C25.1999 64.2197 25.4212 63.6855 25.815 63.2917C26.2088 62.8979 26.743 62.6766 27.2999 62.6766H56.6999C57.2569 62.6766 57.791 62.8979 58.1848 63.2917C58.5787 63.6855 58.7999 64.2197 58.7999 64.7766C58.7999 65.3336 58.5787 65.8677 58.1848 66.2615C57.791 66.6554 57.2569 66.8766 56.6999 66.8766H27.2999C26.743 66.8766 26.2088 66.6554 25.815 66.2615C25.4212 65.8677 25.1999 65.3336 25.1999 64.7766ZM49.4255 10.0716C48.4505 9.0963 47.2928 8.32263 46.0187 7.79478C44.7446 7.26693 43.379 6.99525 41.9999 6.99525C40.6208 6.99525 39.2552 7.26693 37.9811 7.79478C36.707 8.32263 35.5494 9.0963 34.5743 10.0716L18.2867 26.3634C17.8924 26.7577 17.3576 26.9793 16.7999 26.9793C16.2423 26.9793 15.7074 26.7577 15.3131 26.3634C14.9188 25.9691 14.6973 25.4343 14.6973 24.8766C14.6973 24.6005 14.7517 24.3271 14.8573 24.072C14.963 23.8169 15.1179 23.5851 15.3131 23.3898L31.6091 7.10221C34.3658 4.34638 38.1041 2.79825 42.002 2.79825C45.8999 2.79825 49.6383 4.34638 52.3949 7.10221L68.6867 23.394C68.8817 23.5893 69.0363 23.821 69.1417 24.076C69.2471 24.331 69.3013 24.6043 69.3011 24.8802C69.3009 25.1561 69.2463 25.4293 69.1406 25.6842C69.0348 25.939 68.8799 26.1705 68.6846 26.3655C68.4894 26.5605 68.2576 26.7151 68.0026 26.8205C67.7476 26.9259 67.4744 26.9801 67.1984 26.9799C66.9225 26.9797 66.6493 26.9251 66.3945 26.8194C66.1396 26.7136 65.9081 26.5587 65.7131 26.3634L49.4255 10.0716Z",fill:"#B67D2B"})))))}var tle,nle=e.forwardRef(ele),rle=(__webpack_require__.p,"info_infoPage__H5ZEx"),ole="info_infoWrapper__NNuaL",ile=function(){return(0,Kl.jsx)("div",{className:rle,children:(0,Kl.jsxs)("div",{className:ole,children:[(0,Kl.jsx)(nle,{}),(0,Kl.jsx)("h3",{children:"Important Information"}),(0,Kl.jsx)("p",{children:"We are working hard on moving all administrative settings to our platform. To make things easier for you, we will be adding all the new settings here and will be working to bring all existing settings into this section here in the coming months."}),(0,Kl.jsxs)("p",{children:["To access all the admin settings you're familiar with please visit \u200b",(0,Kl.jsx)("br",{})," ",(0,Kl.jsx)(xu,{to:"https://admin.aesthetidocs.com",target:"_blank",children:"admin.aesthetidocs.com"}),"\u200b. If you have any questions or need assistance, feel free to ",(0,Kl.jsx)("br",{})," ","reach out \u2013 we're here to help!"]})]})})},ale=["title","titleId"];function sle(){return sle=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},sle.apply(this,arguments)}function lle(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function cle(t,n){var r=t.title,o=t.titleId,i=lle(t,ale);return e.createElement("svg",sle({width:17,height:17,viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,tle||(tle=e.createElement("g",{id:"fluent:delete-28-regular"},e.createElement("path",{id:"Vector",d:"M7.0715 3.98957H9.92864C9.92864 3.61069 9.77813 3.24733 9.51022 2.97942C9.24231 2.71151 8.87895 2.561 8.50007 2.561C8.12119 2.561 7.75782 2.71151 7.48992 2.97942C7.22201 3.24733 7.0715 3.61069 7.0715 3.98957ZM6.21435 3.98957C6.21435 3.38336 6.45517 2.80198 6.88382 2.37333C7.31248 1.94467 7.89386 1.70386 8.50007 1.70386C9.10628 1.70386 9.68766 1.94467 10.1163 2.37333C10.545 2.80198 10.7858 3.38336 10.7858 3.98957H14.3572C14.4709 3.98957 14.5799 4.03472 14.6603 4.1151C14.7406 4.19547 14.7858 4.30448 14.7858 4.41814C14.7858 4.53181 14.7406 4.64082 14.6603 4.72119C14.5799 4.80156 14.4709 4.84671 14.3572 4.84671H13.6086L12.9132 13.1913C12.8626 13.7983 12.5857 14.3642 12.1375 14.7767C11.6892 15.1891 11.1024 15.4181 10.4932 15.4181H6.50693C5.89778 15.4181 5.31089 15.1891 4.86264 14.7767C4.41439 14.3642 4.13752 13.7983 4.08693 13.1913L3.3915 4.84671H2.64293C2.52926 4.84671 2.42025 4.80156 2.33988 4.72119C2.25951 4.64082 2.21436 4.53181 2.21436 4.41814C2.21436 4.30448 2.25951 4.19547 2.33988 4.1151C2.42025 4.03472 2.52926 3.98957 2.64293 3.98957H6.21435ZM4.94121 13.1199C4.97389 13.5127 5.153 13.8788 5.44301 14.1458C5.73302 14.4127 6.11276 14.5609 6.50693 14.561H10.4932C10.8874 14.5609 11.2671 14.4127 11.5571 14.1458C11.8471 13.8788 12.0262 13.5127 12.0589 13.1199L12.7492 4.84671H4.2515L4.94121 13.1199ZM7.21435 6.84671C7.32802 6.84671 7.43703 6.89187 7.5174 6.97224C7.59777 7.05261 7.64293 7.16162 7.64293 7.27528V12.1324C7.64293 12.2461 7.59777 12.3551 7.5174 12.4355C7.43703 12.5158 7.32802 12.561 7.21435 12.561C7.10069 12.561 6.99168 12.5158 6.91131 12.4355C6.83094 12.3551 6.78578 12.2461 6.78578 12.1324V7.27528C6.78578 7.16162 6.83094 7.05261 6.91131 6.97224C6.99168 6.89187 7.10069 6.84671 7.21435 6.84671ZM10.2144 7.27528C10.2144 7.16162 10.1692 7.05261 10.0888 6.97224C10.0085 6.89187 9.89945 6.84671 9.78578 6.84671C9.67212 6.84671 9.56311 6.89187 9.48274 6.97224C9.40236 7.05261 9.35721 7.16162 9.35721 7.27528V12.1324C9.35721 12.2461 9.40236 12.3551 9.48274 12.4355C9.56311 12.5158 9.67212 12.561 9.78578 12.561C9.89945 12.561 10.0085 12.5158 10.0888 12.4355C10.1692 12.3551 10.2144 12.2461 10.2144 12.1324V7.27528Z",fill:"#EF5350"}))))}var ule,dle=e.forwardRef(cle),ple=(__webpack_require__.p,["title","titleId"]);function fle(){return fle=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fle.apply(this,arguments)}function hle(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function ble(t,n){var r=t.title,o=t.titleId,i=hle(t,ple);return e.createElement("svg",fle({width:11,height:11,viewBox:"0 0 11 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,ule||(ule=e.createElement("path",{d:"M11 6.51529V9.76442C11 9.97985 10.9172 10.1865 10.7699 10.3388C10.6225 10.4911 10.4227 10.5767 10.2143 10.5767H0.785714C0.57733 10.5767 0.37748 10.4911 0.23013 10.3388C0.0827803 10.1865 0 9.97985 0 9.76442V6.51529C0 6.29986 0.0827803 6.09325 0.23013 5.94092C0.37748 5.78859 0.57733 5.70301 0.785714 5.70301H3.14286C3.24705 5.70301 3.34697 5.7458 3.42065 5.82196C3.49432 5.89813 3.53571 6.00143 3.53571 6.10915C3.53571 6.21686 3.49432 6.32017 3.42065 6.39633C3.34697 6.4725 3.24705 6.51529 3.14286 6.51529H0.785714V9.76442H10.2143V6.51529H7.85714C7.75295 6.51529 7.65303 6.4725 7.57935 6.39633C7.50568 6.32017 7.46429 6.21686 7.46429 6.10915C7.46429 6.00143 7.50568 5.89813 7.57935 5.82196C7.65303 5.7458 7.75295 5.70301 7.85714 5.70301H10.2143C10.4227 5.70301 10.6225 5.78859 10.7699 5.94092C10.9172 6.09325 11 6.29986 11 6.51529ZM3.4208 3.5535L5.10714 1.80964V6.10915C5.10714 6.21686 5.14853 6.32017 5.22221 6.39633C5.29588 6.4725 5.39581 6.51529 5.5 6.51529C5.60419 6.51529 5.70412 6.4725 5.77779 6.39633C5.85147 6.32017 5.89286 6.21686 5.89286 6.10915V1.80964L7.5792 3.5535C7.65291 3.62971 7.75289 3.67253 7.85714 3.67253C7.96139 3.67253 8.06137 3.62971 8.13509 3.5535C8.20881 3.4773 8.25022 3.37393 8.25022 3.26616C8.25022 3.15838 8.20881 3.05502 8.13509 2.97881L5.77795 0.541967C5.74146 0.504206 5.69813 0.474249 5.65044 0.45381C5.60275 0.433372 5.55163 0.422852 5.5 0.422852C5.44837 0.422852 5.39725 0.433372 5.34956 0.45381C5.30187 0.474249 5.25854 0.504206 5.22205 0.541967L2.86491 2.97881C2.79119 3.05502 2.74978 3.15838 2.74978 3.26616C2.74978 3.37393 2.79119 3.47729 2.86491 3.5535C2.93863 3.62971 3.03861 3.67253 3.14286 3.67253C3.24711 3.67253 3.34709 3.62971 3.4208 3.5535ZM9.03571 8.13985C9.03571 8.01936 9.00115 7.90158 8.9364 7.80139C8.87165 7.70121 8.77962 7.62312 8.67194 7.57701C8.56426 7.5309 8.44578 7.51884 8.33146 7.54235C8.21715 7.56585 8.11215 7.62387 8.02974 7.70907C7.94733 7.79427 7.8912 7.90282 7.86847 8.021C7.84573 8.13918 7.8574 8.26167 7.902 8.37299C7.9466 8.48431 8.02213 8.57945 8.11904 8.64639C8.21595 8.71333 8.32988 8.74906 8.44643 8.74906C8.60272 8.74906 8.7526 8.68488 8.86312 8.57063C8.97363 8.45638 9.03571 8.30142 9.03571 8.13985Z",fill:"#B57C2A"})))}var Ale,mle=e.forwardRef(ble),gle=(__webpack_require__.p,["title","titleId"]);function vle(){return vle=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vle.apply(this,arguments)}function yle(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Mle(t,n){var r=t.title,o=t.titleId,i=yle(t,gle);return e.createElement("svg",vle({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,Ale||(Ale=e.createElement("g",{id:"Custom Form Icons"},e.createElement("path",{id:"Vector",d:"M10.9054 17.6973C10.4576 17.6973 10.0786 17.5422 9.7683 17.2319C9.45803 16.9217 9.30289 16.5426 9.30289 16.0948V6.00254C9.30289 5.55474 9.45803 5.1757 9.7683 4.86543C10.0786 4.55516 10.4576 4.40002 10.9054 4.40002H18.3382C18.786 4.40002 19.165 4.55516 19.4753 4.86543C19.7856 5.1757 19.9407 5.55474 19.9407 6.00254V16.0948C19.9407 16.5426 19.7856 16.9217 19.4753 17.2319C19.165 17.5422 18.786 17.6973 18.3382 17.6973H10.9054ZM10.9054 16.3676H18.3382C18.4064 16.3676 18.4689 16.3392 18.5258 16.2824C18.5826 16.2256 18.611 16.163 18.611 16.0948V6.00254C18.611 5.93433 18.5826 5.87181 18.5258 5.81498C18.4689 5.75815 18.4064 5.72974 18.3382 5.72974H10.9054C10.8372 5.72974 10.7747 5.75815 10.7178 5.81498C10.661 5.87181 10.6326 5.93433 10.6326 6.00254V16.0948C10.6326 16.163 10.661 16.2256 10.7178 16.2824C10.7747 16.3392 10.8372 16.3676 10.9054 16.3676ZM7.80268 20.8C7.3549 20.8 6.97588 20.6449 6.6656 20.3346C6.35533 20.0243 6.2002 19.6453 6.2002 19.1975V7.77552H7.52991V19.1975C7.52991 19.2657 7.55832 19.3282 7.61515 19.3851C7.67199 19.4419 7.7345 19.4703 7.80268 19.4703H16.5652V20.8H7.80268Z",fill:"#8A8A8A"}))))}var Ole,_le=e.forwardRef(Mle),zle=(__webpack_require__.p,["title","titleId"]);function xle(){return xle=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xle.apply(this,arguments)}function wle(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Cle(t,n){var r=t.title,o=t.titleId,i=wle(t,zle);return e.createElement("svg",xle({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,Ole||(Ole=e.createElement("g",{id:"Custom Form Icons"},e.createElement("path",{id:"Vector",d:"M10.9051 17.6973C10.4573 17.6973 10.0783 17.5422 9.76806 17.2319C9.45778 16.9217 9.30265 16.5426 9.30265 16.0948V6.00254C9.30265 5.55474 9.45778 5.1757 9.76806 4.86543C10.0783 4.55516 10.4573 4.40002 10.9051 4.40002H18.338C18.7858 4.40002 19.1648 4.55516 19.4751 4.86543C19.7853 5.1757 19.9405 5.55474 19.9405 6.00254V16.0948C19.9405 16.5426 19.7853 16.9217 19.4751 17.2319C19.1648 17.5422 18.7858 17.6973 18.338 17.6973H10.9051ZM10.9051 16.3676H18.338C18.4062 16.3676 18.4687 16.3392 18.5255 16.2824C18.5823 16.2256 18.6108 16.163 18.6108 16.0948V6.00254C18.6108 5.93433 18.5823 5.87181 18.5255 5.81498C18.4687 5.75815 18.4062 5.72974 18.338 5.72974H10.9051C10.8369 5.72974 10.7744 5.75815 10.7176 5.81498C10.6608 5.87181 10.6323 5.93433 10.6323 6.00254V16.0948C10.6323 16.163 10.6608 16.2256 10.7176 16.2824C10.7744 16.3392 10.8369 16.3676 10.9051 16.3676ZM7.80244 20.8C7.35466 20.8 6.97563 20.6449 6.66536 20.3346C6.35509 20.0243 6.19995 19.6453 6.19995 19.1975V7.77552H7.52967V19.1975C7.52967 19.2657 7.55808 19.3282 7.6149 19.3851C7.67174 19.4419 7.73425 19.4703 7.80244 19.4703H16.565V20.8H7.80244Z",fill:"#B57C2A"}))))}var Sle,Ele,kle,Dle=e.forwardRef(Cle),Nle=(__webpack_require__.p,"external-booking_externalBookingBrandSettingsPage__KH3e5"),Tle="external-booking_externalBookingBrandSettingsHead__0tpCa",jle="external-booking_externalBookingBrandSettingsInfo__BYUsl",Ble="external-booking_externalBookingBrandSettingsBreadcrumbs__GH61g",Lle="external-booking_externalBookingBrandSettingBrandLink__igDe6",Rle="external-booking_externalBookingBrandSettingLink__1UOeX",qle="external-booking_externalBookingBrandSettingsButtons__V4y36",Ple="external-booking_formWrapper__-ZVVE",Ile="external-booking_uploadWrapper__TF0Uh",Wle="external-booking_logoContent__HHfJE",Fle="external-booking_upload__Fsqfr",Ule="external-booking_logoWrapper__70Pm4",Zle="external-booking_field__-Zrgk",Hle="external-booking_textareaField__8+eQf",$le="external-booking_uploadButton__xBdvF",Vle="external-booking_deleteButton__4XlO1",Xle="external-booking_externalBookingBrandSettingsFormSubmitWrapper__DH499",Qle="external-booking_copyExternalBookingLink__KLCxC",Yle="external-booking_copyExternalBookingLinkLabel__BuolK",Gle="external-booking_copyExternalBookingLinkDisabled__DuRbU",Kle="preview_externalBookingBrandSettingsPreview__X6l1k",Jle="preview_externalBookingBrandSettingsPreviewTitle__vJ0p4",ece="preview_externalBookingBrandSettingsPreviewContentWrapper__yQV7Y",tce="preview_externalBookingBrandSettingsPreviewContent__L3WSO",nce="preview_externalBookingBrandSettingsPreviewHead__yp0Bw",rce="preview_externalBookingBrandSettingsPreviewHeadLogo__vruwW",oce="preview_externalBookingBrandSettingsPreviewHeadButtons__1xcBB",ice="preview_externalBookingBrandSettingsPreviewInfo__rYedi",ace="preview_externalBookingBrandSettingsPreviewInfoBadge__l3AoL",sce="preview_externalBookingBrandSettingsPreviewInfoTitle__GriqQ",lce="preview_externalBookingBrandSettingsPreviewInfoText__NZfMY",cce="preview_externalBookingBrandSettingsPreviewInfoReadMore__t4xlA",uce="preview_externalBookingBrandSettingsPreviewSelect__KmOPp",dce="preview_externalBookingBrandSettingsPreviewLocation__BQDzK",pce="preview_externalBookingBrandSettingsPreviewLocationTitle__hh5ag",fce="preview_externalBookingBrandSettingsPreviewLocationAddress__2q07J",hce="preview_externalBookingBrandSettingsPreviewLocationAddressText__UJGxi",bce="preview_externalBookingBrandSettingsPreviewLocationDays__DrRiD",Ace="preview_externalBookingBrandSettingsPreviewLocationDaysWrapper__8IDv+",mce="preview_externalBookingBrandSettingsPreviewLocationWeekDays__0q2TJ",gce="preview_externalBookingBrandSettingsPreviewLocationWeekDay__jygQj",vce="preview_externalBookingBrandSettingsPreviewLocationWeekendDay__ycFAC",yce="preview_externalBookingBrandSettingsPreviewLocationOpenTime__ducid",Mce="preview_externalBookingBrandSettingsPreviewLocationBookButton__C4k6J",Oce="preview_externalBookingBrandSettingsPreviewAbout__c61PR",_ce="preview_externalBookingBrandSettingsPreviewAboutTitle__IomRa",zce="preview_externalBookingBrandSettingsPreviewText__X-ACk",xce=["title","titleId"];function wce(){return wce=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wce.apply(this,arguments)}function Cce(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Sce(t,n){var r=t.title,o=t.titleId,i=Cce(t,xce);return e.createElement("svg",wce({width:32,height:32,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,Sle||(Sle=e.createElement("path",{d:"M26.5 10.5H5.5C4.65 10.5 4 9.85 4 9C4 8.15 4.65 7.5 5.5 7.5H26.5C27.35 7.5 28 8.15 28 9C28 9.85 27.35 10.5 26.5 10.5Z"})),Ele||(Ele=e.createElement("path",{d:"M26.5 17.5H5.5C4.65 17.5 4 16.85 4 16C4 15.15 4.65 14.5 5.5 14.5H26.5C27.35 14.5 28 15.15 28 16C28 16.85 27.35 17.5 26.5 17.5Z"})),kle||(kle=e.createElement("path",{d:"M26.5 24.5H5.5C4.65 24.5 4 23.85 4 23C4 22.15 4.65 21.5 5.5 21.5H26.5C27.35 21.5 28 22.15 28 23C28 23.85 27.35 24.5 26.5 24.5Z"})))}var Ece,kce=e.forwardRef(Sce),Dce=(__webpack_require__.p,["title","titleId"]);function Nce(){return Nce=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Nce.apply(this,arguments)}function Tce(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function jce(t,n){var r=t.title,o=t.titleId,i=Tce(t,Dce);return e.createElement("svg",Nce({width:28,height:28,viewBox:"0 0 28 28",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,Ece||(Ece=e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.3334 2.33301C20.961 2.33301 26.3334 7.7054 26.3334 14.333C26.3376 17.1025 25.3798 19.7874 23.6238 21.929L23.6478 21.9554L23.4894 22.0898C22.364 23.4209 20.9617 24.4902 19.3802 25.2231C17.7988 25.956 16.0764 26.3348 14.3334 26.333C10.7934 26.333 7.61338 24.8006 5.41738 22.3646L5.17738 22.0886L5.01898 21.9566L5.04298 21.9278C3.2871 19.7866 2.32933 17.1021 2.33339 14.333C2.33339 7.7054 7.70578 2.33301 14.3334 2.33301ZM14.3334 20.333C12.1014 20.333 10.0842 21.0434 8.58178 22.019C10.2405 23.2641 12.2593 23.9359 14.3334 23.933C16.4075 23.9359 18.4262 23.2641 20.085 22.019C18.3681 20.9193 16.3722 20.3343 14.3334 20.333ZM14.3334 4.733C12.5268 4.73295 10.7569 5.24266 9.22705 6.20354C7.69721 7.16442 6.46955 8.53748 5.68518 10.1649C4.9008 11.7923 4.59155 13.608 4.79297 15.4033C4.99438 17.1986 5.69829 18.9006 6.82378 20.3138C8.76898 18.9182 11.4234 17.933 14.3334 17.933C17.2434 17.933 19.8978 18.9182 21.843 20.3138C22.9685 18.9006 23.6724 17.1986 23.8738 15.4033C24.0752 13.608 23.7659 11.7923 22.9816 10.1649C22.1972 8.53748 20.9695 7.16442 19.4397 6.20354C17.9099 5.24266 16.1399 4.73295 14.3334 4.733ZM14.3334 7.133C15.6064 7.133 16.8273 7.63871 17.7275 8.53889C18.6277 9.43906 19.1334 10.66 19.1334 11.933C19.1334 13.206 18.6277 14.4269 17.7275 15.3271C16.8273 16.2273 15.6064 16.733 14.3334 16.733C13.0603 16.733 11.8394 16.2273 10.9393 15.3271C10.0391 14.4269 9.53338 13.206 9.53338 11.933C9.53338 10.66 10.0391 9.43906 10.9393 8.53889C11.8394 7.63871 13.0603 7.133 14.3334 7.133ZM14.3334 9.533C13.6969 9.533 13.0864 9.78586 12.6363 10.2359C12.1862 10.686 11.9334 11.2965 11.9334 11.933C11.9334 12.5695 12.1862 13.18 12.6363 13.63C13.0864 14.0801 13.6969 14.333 14.3334 14.333C14.9699 14.333 15.5803 14.0801 16.0304 13.63C16.4805 13.18 16.7334 12.5695 16.7334 11.933C16.7334 11.2965 16.4805 10.686 16.0304 10.2359C15.5803 9.78586 14.9699 9.533 14.3334 9.533Z"})))}var Bce,Lce=e.forwardRef(jce),Rce=(__webpack_require__.p,["title","titleId"]);function qce(){return qce=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qce.apply(this,arguments)}function Pce(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Ice(t,n){var r=t.title,o=t.titleId,i=Pce(t,Rce);return e.createElement("svg",qce({width:8,height:11,viewBox:"0 0 8 11",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,Bce||(Bce=e.createElement("path",{d:"M3.99987 10.0335L0.0332031 5.99345L0.772556 5.24043L3.99987 8.51643L7.22718 5.24043L7.96654 5.99345L3.99987 10.0335ZM3.99987 5.75983L0.0332031 1.71982L0.772556 0.966797L3.99987 4.2428L7.22718 0.966797L7.96654 1.71982L3.99987 5.75983Z"})))}var Wce,Fce,Uce=e.forwardRef(Ice),Zce=(__webpack_require__.p,["title","titleId"]);function Hce(){return Hce=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Hce.apply(this,arguments)}function $ce(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Vce(t,n){var r=t.title,o=t.titleId,i=$ce(t,Zce);return e.createElement("svg",Hce({width:24,height:24,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,Wce||(Wce=e.createElement("path",{d:"M12 0C7.34756 0 3.5625 3.78506 3.5625 8.4375C3.5625 10.0094 3.99792 11.5434 4.82198 12.8743L11.5197 23.6676C11.648 23.8744 11.874 24 12.1171 24C12.119 24 12.1208 24 12.1227 24C12.3679 23.9981 12.5944 23.8686 12.7204 23.6582L19.2474 12.7603C20.026 11.4576 20.4375 9.96277 20.4375 8.4375C20.4375 3.78506 16.6524 0 12 0ZM18.0406 12.0383L12.1065 21.9462L6.0172 12.1334C5.33128 11.0257 4.95938 9.74766 4.95938 8.4375C4.95938 4.56047 8.12297 1.39687 12 1.39687C15.877 1.39687 19.0359 4.56047 19.0359 8.4375C19.0359 9.7088 18.6885 10.9541 18.0406 12.0383Z"})),Fce||(Fce=e.createElement("path",{d:"M12 4.21875C9.67378 4.21875 7.78125 6.11128 7.78125 8.4375C7.78125 10.7489 9.64298 12.6562 12 12.6562C14.3861 12.6562 16.2188 10.7235 16.2188 8.4375C16.2188 6.11128 14.3262 4.21875 12 4.21875ZM12 11.2594C10.4411 11.2594 9.17813 9.9922 9.17813 8.4375C9.17813 6.88669 10.4492 5.61563 12 5.61563C13.5508 5.61563 14.8172 6.88669 14.8172 8.4375C14.8172 9.96952 13.5836 11.2594 12 11.2594Z"})))}var Xce,Qce=e.forwardRef(Vce),Yce=(__webpack_require__.p,["title","titleId"]);function Gce(){return Gce=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Gce.apply(this,arguments)}function Kce(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Jce(t,n){var r=t.title,o=t.titleId,i=Kce(t,Yce);return e.createElement("svg",Gce({width:24,height:24,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,Xce||(Xce=e.createElement("path",{d:"M12 15.3746L6 9.37461L7.4 7.97461L12 12.5746L16.6 7.97461L18 9.37461L12 15.3746Z"})))}var eue,tue=e.forwardRef(Jce),nue=(__webpack_require__.p,["title","titleId"]);function rue(){return rue=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},rue.apply(this,arguments)}function oue(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function iue(t,n){var r=t.title,o=t.titleId,i=oue(t,nue);return e.createElement("svg",rue({width:24,height:24,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,eue||(eue=e.createElement("path",{d:"M19.6911 10.9526C19.8714 10.9526 20.0409 10.9853 20.1995 11.0508C20.3582 11.1162 20.4952 11.2108 20.6106 11.3345C20.726 11.4581 20.8197 11.5999 20.8918 11.76C20.9639 11.92 21 12.0909 21 12.2728V20.8048C21 20.9867 20.9675 21.1576 20.9026 21.3176C20.8377 21.4776 20.744 21.6158 20.6214 21.7322C20.4988 21.8486 20.3582 21.9432 20.1995 22.0159C20.0409 22.0886 19.8714 22.125 19.6911 22.125H4.30889C4.12861 22.125 3.95913 22.0923 3.80048 22.0268C3.64183 21.9613 3.50481 21.8668 3.38942 21.7431C3.27404 21.6195 3.18029 21.4776 3.10817 21.3176C3.03606 21.1576 3 20.9867 3 20.8048V12.2728C3 12.0909 3.03245 11.92 3.09736 11.76C3.16226 11.5999 3.25601 11.4617 3.37861 11.3454C3.5012 11.229 3.64183 11.1344 3.80048 11.0617C3.95913 10.989 4.12861 10.9526 4.30889 10.9526H4.78486L9.62019 6.08648C9.49038 5.87554 9.39303 5.65005 9.32812 5.41002C9.26322 5.16999 9.23077 4.92268 9.23077 4.6681C9.23077 4.2826 9.30288 3.92255 9.44712 3.58796C9.59135 3.25337 9.78966 2.95515 10.0421 2.69329C10.2945 2.43144 10.5865 2.23141 10.9183 2.09321C11.25 1.95501 11.6106 1.88227 12 1.875C12.3822 1.875 12.7392 1.94774 13.0709 2.09321C13.4026 2.23869 13.6983 2.43871 13.9579 2.69329C14.2175 2.94787 14.4159 3.24246 14.5529 3.57705C14.6899 3.91164 14.762 4.27532 14.7692 4.6681C14.7692 4.92268 14.7368 5.16999 14.6719 5.41002C14.607 5.65005 14.5096 5.87554 14.3798 6.08648L19.2151 10.9526H19.6911ZM12 3.27155C11.8053 3.27155 11.625 3.30792 11.4591 3.38066C11.2933 3.45339 11.149 3.55159 11.0264 3.67524C10.9038 3.7989 10.8029 3.94801 10.7236 4.12258C10.6442 4.29714 10.6082 4.47899 10.6154 4.6681C10.6154 4.86449 10.6514 5.04634 10.7236 5.21363C10.7957 5.38093 10.893 5.5264 11.0156 5.65005C11.1382 5.77371 11.2861 5.87554 11.4591 5.95555C11.6322 6.03556 11.8125 6.07193 12 6.06466C12.1947 6.06466 12.375 6.02829 12.5409 5.95555C12.7067 5.88281 12.851 5.78462 12.9736 5.66096C13.0962 5.53731 13.1971 5.3882 13.2764 5.21363C13.3558 5.03906 13.3918 4.85722 13.3846 4.6681C13.3846 4.47171 13.3486 4.28987 13.2764 4.12258C13.2043 3.95528 13.107 3.80981 12.9844 3.68615C12.8618 3.5625 12.7139 3.46067 12.5409 3.38066C12.3678 3.30065 12.1875 3.26428 12 3.27155ZM6.75361 10.9526H17.2464L13.4062 7.06843C12.9808 7.33028 12.512 7.46121 12 7.46121C11.7476 7.46121 11.5024 7.42848 11.2644 7.36301C11.0264 7.29755 10.8029 7.19935 10.5938 7.06843L6.75361 10.9526ZM19.6154 12.3491H4.38462V20.7284H19.6154V12.3491ZM16.8462 16.5388H7.15385V15.1422H16.8462V16.5388Z"})))}var aue,sue=e.forwardRef(iue),lue=(__webpack_require__.p,function(e){var t,n,r=e.props,o=e.info,i=null===r||void 0===r?void 0:r.description.replace(/<PhoneNumber(?:\s([^>]+))?>/g,(function(e,t){var n=t||(null===r||void 0===r?void 0:r.phone),o=r.settings_external_booking_brand_primary_background_color||"blue";return'<a href="tel:'.concat(n,'" style="color: ').concat(o,';">').concat(n,"</a>")})).replace(/<Email(?:\s([^>]+))?>/g,(function(e,t){var n=t||(null===r||void 0===r?void 0:r.email),o=r.settings_external_booking_brand_primary_background_color||"blue";return'<a href="mailto:'.concat(n,'" style="color: ').concat(o,';">').concat(n,"</a>")}));return(0,Kl.jsxs)("div",{className:Kle,children:[(0,Kl.jsx)("h2",{className:Jle,children:"Preview"}),(0,Kl.jsx)("div",{className:ece,children:(0,Kl.jsxs)("div",{className:tce,children:[(0,Kl.jsxs)("div",{className:nce,children:[(0,Kl.jsx)("img",{src:r.settings_external_booking_brand_logo?r.settings_external_booking_brand_logo:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGYAAAAoCAYAAAAMjY9+AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAPiSURBVHgB7ZvNUeMwFMefnZ0hMzCz2wHaCjAVYC5ATiQVYCogW0FMBRsqsKkgcOLjEm8FMRXEVLDmECYXyL6XyFgY2WNmiayDfjOaGOk92by/n2Q5kQUSRqPRj83Nze5isWBgWCfx6+tr3Ol0kmKDJf5xc3PDWq1WgIcOlisU5hEMa8O27R0UxrEsK3p5eTkXBXoT5u7u7gQNfBTj8vn5edjr9VIwKOH29raPsT/DQ//w8PCS6pbCYKa4qF6Ajb2Dg4MYDMrho9UEM6eHmRMthbm/v59ixSlVgKExKEFoKpnNZrsWiuJh3R5myikYGgf1GOO8c23j8QlmyyUYtIAeAnBaOSZhnPl8buYVTWi326SFQ6mzAINWkCY2GLTECKMpRhhNMcJoyjdQB+OFXvXUfQr8gcXln5lfUtPX4QW4T1LDt+gT8/OqR+FTWYiFzjWuYcu43UJSRry9DHrn9LfENyjxdSvONwDFLDXRUBiGZQp5YMg+gPeBm4I8wAPBhsQZSXy9gk+34BPwMilcgzJ0FSaAPPhOoY1BLlqxHw/yQA5hNfwVfYfwXlCxv4nEpy/06YMidBSGQfmdneEKNq5QXyZYFZ7QFyuxCSHPJiXouMB0heOrEpsI8gk5s2eQB/Yz7/1OhD6TEpvsOiibHFCEyqeyOjD+mUL101ACqyBtF/wI8YmPgtmV+EZCe1ZXRly4PiXvFXUTJiP9j3ZxyKHAB4X2CD4Kox26CZMFnEG+dpGRDSlPBT9iF8ujUJ99z0T9/Qb5+apgn7T/EnSbY8Rhomw8Z5Df6ZHgl0r8qC7kRTZn/eGfXSjPnmPhOAJF6CZMBLk4dHfLgpXd9Qm8D3Y26dMCk0E9xIl9IGlnkM9RISikiaGMgXxNkMDqn/8Fq0deuvNpbXHB28iP7l6X258X/H3eTnZT3hdlBGUNBX5Pcs6I909i9rndNW/bEeoSyfnWSwPrmLIirj/oLp2W2NHk3i85B6vwq1rF+xX2E6ifgV8CaaIyY2jYSCrak4ItDWkurDLnO69/gJXAaUUfP7kflW2h7YH3GUn8fN6vJ/g88euIoAnMV8v6Yb5a1hgjjKYYYTTFCKMpJExK+2HAoAXj8Xj5KoqEidvttrLX2YZq5vM5aRHb9APmVqs1AIMWoBbL35LbGxsbIW3poy0AYGgU0gC1cDudTmjv7++nmDWnqNSINs+AoRFwUenQ3hjSgv5+2+qHoni2bQ9QsYujo6MhGJRAD15bW1tnGHeP78MMqf7D5lgUx7csaw8N6b3SAxjWBsZ5GwvtDo/5jr7krU3mwAUSf5VoWAMoSjKbza5kG5H/Acbfs25whmXCAAAAAElFTkSuQmCC",alt:"logo",className:rce}),(0,Kl.jsxs)("div",{className:oce,children:[(0,Kl.jsx)("button",{children:(0,Kl.jsx)(Lce,{fill:r.settings_external_booking_brand_border_color})}),(0,Kl.jsx)("button",{children:(0,Kl.jsx)(kce,{fill:r.settings_external_booking_brand_border_color})})]})]}),i?(0,Kl.jsxs)("div",{className:ice,style:{borderColor:r.settings_external_booking_brand_border_color},children:[(0,Kl.jsx)("span",{className:ace,style:{backgroundColor:r.settings_external_booking_brand_primary_background_color},children:"IMPORTANT"}),(0,Kl.jsx)("h2",{className:sce,style:{color:r.settings_external_booking_brand_primary_text_color},children:"Booking Information"}),(0,Kl.jsx)("p",{className:lce,dangerouslySetInnerHTML:{__html:i}}),(0,Kl.jsxs)("div",{className:cce,children:[(0,Kl.jsx)("span",{children:" READ MORE "}),(0,Kl.jsx)("div",{children:(0,Kl.jsx)(Uce,{fill:r.settings_external_booking_brand_border_color})})]})]}):(0,Kl.jsx)(Kl.Fragment,{}),(0,Kl.jsx)("h2",{className:uce,children:"Select a location"}),(0,Kl.jsxs)("div",{className:dce,style:{borderColor:r.settings_external_booking_brand_border_color,backgroundColor:r.settings_external_booking_brand_secondary_background_color},children:[(0,Kl.jsxs)("h3",{className:pce,style:{color:r.settings_external_booking_brand_primary_text_color},children:[" ",null===o||void 0===o||null===(t=o.location)||void 0===t?void 0:t.name]}),(0,Kl.jsxs)("div",{className:fce,children:[(0,Kl.jsx)(Qce,{fill:r.settings_external_booking_brand_border_color}),(0,Kl.jsx)("span",{className:hce,style:{color:r.settings_external_booking_brand_secondary_text_color},children:null===o||void 0===o||null===(n=o.location)||void 0===n?void 0:n.address}),(0,Kl.jsx)(tue,{fill:r.settings_external_booking_brand_border_color})]}),(0,Kl.jsxs)("div",{className:bce,children:[(0,Kl.jsxs)("div",{className:Ace,children:[(0,Kl.jsx)(sue,{fill:r.settings_external_booking_brand_border_color}),(0,Kl.jsxs)("div",{className:mce,children:[(0,Kl.jsx)("span",{className:gce,children:"M"}),(0,Kl.jsx)("span",{className:gce,children:"T"}),(0,Kl.jsx)("span",{className:gce,children:"W"}),(0,Kl.jsx)("span",{className:gce,children:"T"}),(0,Kl.jsx)("span",{className:gce,children:"F"}),(0,Kl.jsx)("span",{className:"".concat(gce," ").concat(vce),children:"S"}),(0,Kl.jsx)("span",{className:"".concat(gce," ").concat(vce),children:"S"})]})]}),(0,Kl.jsx)("span",{className:yce,children:" Opening Times"})]}),(0,Kl.jsx)("button",{className:Mce,style:{backgroundColor:r.settings_external_booking_brand_primary_background_color},children:"BOOK APPOINTMENT"})]}),null!==r&&void 0!==r&&r.about?(0,Kl.jsxs)("div",{className:Oce,children:[(0,Kl.jsxs)("h3",{className:_ce,style:{color:r.settings_external_booking_brand_primary_text_color},children:["About ",null===o||void 0===o?void 0:o.name]}),(0,Kl.jsx)("p",{className:zce,children:null===r||void 0===r?void 0:r.about})]}):(0,Kl.jsx)(Kl.Fragment,{})]})})]})}),cue=__webpack_require__(29584),uue=["title","titleId"];function due(){return due=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},due.apply(this,arguments)}function pue(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function fue(t,n){var r=t.title,o=t.titleId,i=pue(t,uue);return e.createElement("svg",due({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,aue||(aue=e.createElement("path",{d:"M3 20.975V16.225L11.95 7.275L10.5 5.875L11.95 4.475L13.85 6.375L16.95 3.275C17.0333 3.19167 17.1375 3.125 17.2625 3.075C17.3875 3.025 17.5167 3 17.65 3C17.7833 3 17.9083 3.025 18.025 3.075C18.1417 3.125 18.25 3.19167 18.35 3.275L20.7 5.625C20.7833 5.725 20.85 5.83333 20.9 5.95C20.95 6.06667 20.975 6.19167 20.975 6.325C20.975 6.45833 20.95 6.5875 20.9 6.7125C20.85 6.8375 20.7833 6.94167 20.7 7.025L17.625 10.1L19.525 12.05L18.1 13.475L16.7 12.025L7.75 20.975H3ZM5 18.975H6.95L15.25 10.625L13.35 8.725L5 17.025V18.975ZM16.175 8.725L18.575 6.325L17.65 5.4L15.25 7.8L16.175 8.725Z",fill:"#B57C2A"})))}var hue,bue=e.forwardRef(fue),Aue=(__webpack_require__.p,["title","titleId"]);function mue(){return mue=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mue.apply(this,arguments)}function gue(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function vue(t,n){var r=t.title,o=t.titleId,i=gue(t,Aue);return e.createElement("svg",mue({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,hue||(hue=e.createElement("path",{d:"M7.20703 2.54279C7.3945 2.73031 7.49982 2.98462 7.49982 3.24979C7.49982 3.51495 7.3945 3.76926 7.20703 3.95679L5.41403 5.74979H13.25C14.8323 5.74979 16.379 6.21898 17.6946 7.09803C19.0102 7.97708 20.0356 9.22651 20.6411 10.6883C21.2466 12.1501 21.405 13.7587 21.0963 15.3105C20.7876 16.8624 20.0257 18.2878 18.9069 19.4066C17.7881 20.5255 16.3626 21.2874 14.8108 21.5961C13.2589 21.9048 11.6504 21.7463 10.1886 21.1408C8.72675 20.5353 7.47732 19.5099 6.59827 18.1943C5.71922 16.8788 5.25003 15.332 5.25003 13.7498C5.25003 13.4846 5.35539 13.2302 5.54292 13.0427C5.73046 12.8551 5.98481 12.7498 6.25003 12.7498C6.51525 12.7498 6.7696 12.8551 6.95714 13.0427C7.14467 13.2302 7.25003 13.4846 7.25003 13.7498C7.25003 14.9365 7.60192 16.0965 8.26121 17.0832C8.9205 18.0699 9.85757 18.8389 10.9539 19.2931C12.0503 19.7472 13.2567 19.866 14.4206 19.6345C15.5845 19.403 16.6536 18.8315 17.4927 17.9924C18.3318 17.1533 18.9032 16.0842 19.1347 14.9203C19.3663 13.7564 19.2474 12.55 18.7933 11.4537C18.3392 10.3573 17.5701 9.42026 16.5835 8.76097C15.5968 8.10168 14.4367 7.74979 13.25 7.74979H5.41403L7.20703 9.54279C7.38919 9.73139 7.48998 9.98399 7.4877 10.2462C7.48543 10.5084 7.38026 10.7592 7.19485 10.9446C7.00944 11.13 6.75863 11.2352 6.49643 11.2375C6.23423 11.2397 5.98163 11.1389 5.79303 10.9568L2.29303 7.45679C2.10556 7.26926 2.00024 7.01495 2.00024 6.74979C2.00024 6.48462 2.10556 6.23031 2.29303 6.04279L5.79303 2.54279C5.98056 2.35532 6.23487 2.25 6.50003 2.25C6.76519 2.25 7.0195 2.35532 7.20703 2.54279Z",fill:"#AE7F3C"})))}var yue=e.forwardRef(vue),Mue=(__webpack_require__.p,{}),Oue=function(e,t,n,r){var o=e+"-"+t+"-"+n+(r?"-server":"");if(Mue[o])return Mue[o];var i=function(e,t,n,r){if("undefined"===typeof document&&!r)return null;var o=r?new r:document.createElement("canvas");o.width=2*n,o.height=2*n;var i=o.getContext("2d");return i?(i.fillStyle=e,i.fillRect(0,0,o.width,o.height),i.fillStyle=t,i.fillRect(0,0,n,n),i.translate(n,n),i.fillRect(0,0,n,n),o.toDataURL()):null}(e,t,n,r);return Mue[o]=i,i},_ue=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zue=function(t){var n=t.white,r=t.grey,o=t.size,i=t.renderers,a=t.borderRadius,s=t.boxShadow,l=t.children,c=(0,cue.ZP)({default:{grid:{borderRadius:a,boxShadow:s,absolute:"0px 0px 0px 0px",background:"url("+Oue(n,r,o,i.canvas)+") center left"}}});return(0,e.isValidElement)(l)?e.cloneElement(l,_ue({},l.props,{style:_ue({},l.props.style,c.grid)})):e.createElement("div",{style:c.grid})};zue.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}};var xue=zue,wue=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Cue=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function Sue(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var Eue=function(t){function n(){var e,t,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return t=r=Sue(this,(e=n.__proto__||Object.getPrototypeOf(n)).call.apply(e,[this].concat(i))),r.handleChange=function(e){var t=function(e,t,n,r,o){var i=o.clientWidth,a=o.clientHeight,s="number"===typeof e.pageX?e.pageX:e.touches[0].pageX,l="number"===typeof e.pageY?e.pageY:e.touches[0].pageY,c=s-(o.getBoundingClientRect().left+window.pageXOffset),u=l-(o.getBoundingClientRect().top+window.pageYOffset);if("vertical"===n){var d=void 0;if(d=u<0?0:u>a?1:Math.round(100*u/a)/100,t.a!==d)return{h:t.h,s:t.s,l:t.l,a:d,source:"rgb"}}else{var p=void 0;if(r!==(p=c<0?0:c>i?1:Math.round(100*c/i)/100))return{h:t.h,s:t.s,l:t.l,a:p,source:"rgb"}}return null}(e,r.props.hsl,r.props.direction,r.props.a,r.container);t&&"function"===typeof r.props.onChange&&r.props.onChange(t,e)},r.handleMouseDown=function(e){r.handleChange(e),window.addEventListener("mousemove",r.handleChange),window.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},r.unbindEventListeners=function(){window.removeEventListener("mousemove",r.handleChange),window.removeEventListener("mouseup",r.handleMouseUp)},Sue(r,t)}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),Cue(n,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var t=this,n=this.props.rgb,r=(0,cue.ZP)({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden",borderRadius:this.props.radius},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba("+n.r+","+n.g+","+n.b+", 0) 0%,\n           rgba("+n.r+","+n.g+","+n.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:100*n.a+"%"},slider:{width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",marginTop:"1px",transform:"translateX(-2px)"}},vertical:{gradient:{background:"linear-gradient(to bottom, rgba("+n.r+","+n.g+","+n.b+", 0) 0%,\n           rgba("+n.r+","+n.g+","+n.b+", 1) 100%)"},pointer:{left:0,top:100*n.a+"%"}},overwrite:wue({},this.props.style)},{vertical:"vertical"===this.props.direction,overwrite:!0});return e.createElement("div",{style:r.alpha},e.createElement("div",{style:r.checkboard},e.createElement(xue,{renderers:this.props.renderers})),e.createElement("div",{style:r.gradient}),e.createElement("div",{style:r.container,ref:function(e){return t.container=e},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},e.createElement("div",{style:r.pointer},this.props.pointer?e.createElement(this.props.pointer,this.props):e.createElement("div",{style:r.slider}))))}}]),n}(e.PureComponent||e.Component),kue=Eue,Due=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var Nue=[38,40],Tue=1,jue=function(t){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return t.handleBlur=function(){t.state.blurValue&&t.setState({value:t.state.blurValue,blurValue:null})},t.handleChange=function(e){t.setUpdatedValue(e.target.value,e)},t.handleKeyDown=function(e){var n,r=function(e){return Number(String(e).replace(/%/g,""))}(e.target.value);if(!isNaN(r)&&(n=e.keyCode,Nue.indexOf(n)>-1)){var o=t.getArrowOffset(),i=38===e.keyCode?r+o:r-o;t.setUpdatedValue(i,e)}},t.handleDrag=function(e){if(t.props.dragLabel){var n=Math.round(t.props.value+e.movementX);n>=0&&n<=t.props.dragMax&&t.props.onChange&&t.props.onChange(t.getValueObjectWithLabel(n),e)}},t.handleMouseDown=function(e){t.props.dragLabel&&(e.preventDefault(),t.handleDrag(e),window.addEventListener("mousemove",t.handleDrag),window.addEventListener("mouseup",t.handleMouseUp))},t.handleMouseUp=function(){t.unbindEventListeners()},t.unbindEventListeners=function(){window.removeEventListener("mousemove",t.handleDrag),window.removeEventListener("mouseup",t.handleMouseUp)},t.state={value:String(e.value).toUpperCase(),blurValue:String(e.value).toUpperCase()},t.inputId="rc-editable-input-"+Tue++,t}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),Due(n,[{key:"componentDidUpdate",value:function(e,t){this.props.value===this.state.value||e.value===this.props.value&&t.value===this.state.value||(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(e){return function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},this.props.label,e)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||1}},{key:"setUpdatedValue",value:function(e,t){var n=this.props.label?this.getValueObjectWithLabel(e):e;this.props.onChange&&this.props.onChange(n,t),this.setState({value:e})}},{key:"render",value:function(){var t=this,n=(0,cue.ZP)({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return e.createElement("div",{style:n.wrap},e.createElement("input",{id:this.inputId,style:n.input,ref:function(e){return t.input=e},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?e.createElement("label",{htmlFor:this.inputId,style:n.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),n}(e.PureComponent||e.Component),Bue=jue,Lue=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function Rue(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var que=function(t){function n(){var e,t,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return t=r=Rue(this,(e=n.__proto__||Object.getPrototypeOf(n)).call.apply(e,[this].concat(i))),r.handleChange=function(e){var t=function(e,t,n,r){var o=r.clientWidth,i=r.clientHeight,a="number"===typeof e.pageX?e.pageX:e.touches[0].pageX,s="number"===typeof e.pageY?e.pageY:e.touches[0].pageY,l=a-(r.getBoundingClientRect().left+window.pageXOffset),c=s-(r.getBoundingClientRect().top+window.pageYOffset);if("vertical"===t){var u=void 0;if(u=c<0?359:c>i?0:360*(-100*c/i+100)/100,n.h!==u)return{h:u,s:n.s,l:n.l,a:n.a,source:"hsl"}}else{var d=void 0;if(d=l<0?0:l>o?359:100*l/o*360/100,n.h!==d)return{h:d,s:n.s,l:n.l,a:n.a,source:"hsl"}}return null}(e,r.props.direction,r.props.hsl,r.container);t&&"function"===typeof r.props.onChange&&r.props.onChange(t,e)},r.handleMouseDown=function(e){r.handleChange(e),window.addEventListener("mousemove",r.handleChange),window.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},Rue(r,t)}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),Lue(n,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var t=this,n=this.props.direction,r=void 0===n?"horizontal":n,o=(0,cue.ZP)({default:{hue:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius,boxShadow:this.props.shadow},container:{padding:"0 2px",position:"relative",height:"100%",borderRadius:this.props.radius},pointer:{position:"absolute",left:100*this.props.hsl.h/360+"%"},slider:{marginTop:"1px",width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",transform:"translateX(-2px)"}},vertical:{pointer:{left:"0px",top:-100*this.props.hsl.h/360+100+"%"}}},{vertical:"vertical"===r});return e.createElement("div",{style:o.hue},e.createElement("div",{className:"hue-"+r,style:o.container,ref:function(e){return t.container=e},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},e.createElement("style",null,"\n            .hue-horizontal {\n              background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0\n                33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n              background: -webkit-linear-gradient(to right, #f00 0%, #ff0\n                17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n            }\n\n            .hue-vertical {\n              background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%,\n                #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n              background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,\n                #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n            }\n          "),e.createElement("div",{style:o.pointer},this.props.pointer?e.createElement(this.props.pointer,this.props):e.createElement("div",{style:o.slider}))))}}]),n}(e.PureComponent||e.Component),Pue=que;var Iue=function(e,t,n){(void 0!==n&&!pD(e[t],n)||void 0===n&&!(t in e))&&pN(e,t,n)};var Wue=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),s=a.length;s--;){var l=a[e?s:++o];if(!1===n(i[l],l,i))break}return t}},Fue=Wue();var Uue=function(e){return oD(e)&&QN(e)};var Zue=function(e,t){if(("constructor"!==t||"function"!==typeof e[t])&&"__proto__"!=t)return e[t]};var Hue=function(e){return bN(e,tT(e))};var $ue=function(e,t,n,r,o,i,a){var s=Zue(e,n),l=Zue(t,n),c=a.get(l);if(c)Iue(e,n,c);else{var u=i?i(s,l,n+"",e,t,a):void 0,d=void 0===u;if(d){var p=_N(l),f=!p&&SN(l),h=!p&&!f&&WN(l);u=l,p||f||h?_N(s)?u=s:Uue(s)?u=lT(s):f?(d=!1,u=sT(l,!0)):h?(d=!1,u=XT(l,!0)):u=[]:uD(l)||ON(l)?(u=s,ON(s)?u=Hue(s):xD(s)&&!wD(s)||(u=JT(l))):d=!1}d&&(a.set(l,u),o(u,l,r,i,a),a.delete(l)),Iue(e,n,u)}};var Vue=function e(t,n,r,o,i){t!==n&&Fue(n,(function(a,s){if(i||(i=new cN),xD(a))$ue(t,n,s,r,e,o,i);else{var l=o?o(Zue(t,s),a,s+"",t,n,i):void 0;void 0===l&&(l=a),Iue(t,s,l)}}),tT)};var Xue=function(e){return e};var Que=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)},Yue=Math.max;var Gue=function(e,t,n){return t=Yue(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=Yue(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=r[o];return s[t]=n(a),Que(e,this,s)}};var Kue=function(e){return function(){return e}},Jue=dN?function(e,t){return dN(e,"toString",{configurable:!0,enumerable:!1,value:Kue(t),writable:!0})}:Xue,ede=Jue,tde=Date.now;var nde=function(e){var t=0,n=0;return function(){var r=tde(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}},rde=nde(ede);var ode=function(e,t){return rde(Gue(e,t,Xue),e+"")};var ide=function(e,t,n){if(!xD(n))return!1;var r=typeof t;return!!("number"==r?QN(n)&&kN(t,n.length):"string"==r&&t in n)&&pD(n[t],e)};var ade=function(e){return ode((function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(o--,i):void 0,a&&ide(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),t=Object(t);++r<o;){var s=n[r];s&&e(t,s,r,i)}return t}))},sde=ade((function(e,t,n){Vue(e,t,n)})),lde=function(t){var n=t.zDepth,r=t.radius,o=t.background,i=t.children,a=t.styles,s=void 0===a?{}:a,l=(0,cue.ZP)(sde({default:{wrap:{position:"relative",display:"inline-block"},content:{position:"relative"},bg:{absolute:"0px 0px 0px 0px",boxShadow:"0 "+n+"px "+4*n+"px rgba(0,0,0,.24)",borderRadius:r,background:o}},"zDepth-0":{bg:{boxShadow:"none"}},"zDepth-1":{bg:{boxShadow:"0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16)"}},"zDepth-2":{bg:{boxShadow:"0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2)"}},"zDepth-3":{bg:{boxShadow:"0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24)"}},"zDepth-4":{bg:{boxShadow:"0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22)"}},"zDepth-5":{bg:{boxShadow:"0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2)"}},square:{bg:{borderRadius:"0"}},circle:{bg:{borderRadius:"50%"}}},s),{"zDepth-1":1===n});return e.createElement("div",{style:l.wrap},e.createElement("div",{style:l.bg}),e.createElement("div",{style:l.content},i))};lde.propTypes={background:Lq().string,zDepth:Lq().oneOf([0,1,2,3,4,5]),radius:Lq().number,styles:Lq().object},lde.defaultProps={background:"#fff",zDepth:1,radius:2,styles:{}};var cde=lde,ude=function(){return Hk.Date.now()},dde=/\s/;var pde=function(e){for(var t=e.length;t--&&dde.test(e.charAt(t)););return t},fde=/^\s+/;var hde=function(e){return e?e.slice(0,pde(e)+1).replace(fde,""):e},bde=/^[-+]0x[0-9a-f]+$/i,Ade=/^0b[01]+$/i,mde=/^0o[0-7]+$/i,gde=parseInt;var vde=function(e){if("number"==typeof e)return e;if(fj(e))return NaN;if(xD(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=xD(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=hde(e);var n=Ade.test(e);return n||mde.test(e)?gde(e.slice(2),n?2:8):bde.test(e)?NaN:+e},yde=Math.max,Mde=Math.min;var Ode=function(e,t,n){var r,o,i,a,s,l,c=0,u=!1,d=!1,p=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function f(t){var n=r,i=o;return r=o=void 0,c=t,a=e.apply(i,n)}function h(e){var n=e-l;return void 0===l||n>=t||n<0||d&&e-c>=i}function b(){var e=ude();if(h(e))return A(e);s=setTimeout(b,function(e){var n=t-(e-l);return d?Mde(n,i-(e-c)):n}(e))}function A(e){return s=void 0,p&&r?f(e):(r=o=void 0,a)}function m(){var e=ude(),n=h(e);if(r=arguments,o=this,l=e,n){if(void 0===s)return function(e){return c=e,s=setTimeout(b,t),u?f(e):a}(l);if(d)return clearTimeout(s),s=setTimeout(b,t),f(l)}return void 0===s&&(s=setTimeout(b,t)),a}return t=vde(t)||0,xD(n)&&(u=!!n.leading,i=(d="maxWait"in n)?yde(vde(n.maxWait)||0,t):i,p="trailing"in n?!!n.trailing:p),m.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=l=o=s=void 0},m.flush=function(){return void 0===s?a:A(ude())},m};var _de=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return xD(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Ode(e,t,{leading:r,maxWait:t,trailing:o})},zde=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var xde=function(t){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.handleChange=function(e){"function"===typeof t.props.onChange&&t.throttle(t.props.onChange,function(e,t,n){var r=n.getBoundingClientRect(),o=r.width,i=r.height,a="number"===typeof e.pageX?e.pageX:e.touches[0].pageX,s="number"===typeof e.pageY?e.pageY:e.touches[0].pageY,l=a-(n.getBoundingClientRect().left+window.pageXOffset),c=s-(n.getBoundingClientRect().top+window.pageYOffset);l<0?l=0:l>o&&(l=o),c<0?c=0:c>i&&(c=i);var u=l/o,d=1-c/i;return{h:t.h,s:u,v:d,a:t.a,source:"hsv"}}(e,t.props.hsl,t.container),e)},t.handleMouseDown=function(e){t.handleChange(e);var n=t.getContainerRenderWindow();n.addEventListener("mousemove",t.handleChange),n.addEventListener("mouseup",t.handleMouseUp)},t.handleMouseUp=function(){t.unbindEventListeners()},t.throttle=_de((function(e,t,n){e(t,n)}),50),t}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),zde(n,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"getContainerRenderWindow",value:function(){for(var e=this.container,t=window;!t.document.contains(e)&&t.parent!==t;)t=t.parent;return t}},{key:"unbindEventListeners",value:function(){var e=this.getContainerRenderWindow();e.removeEventListener("mousemove",this.handleChange),e.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var t=this,n=this.props.style||{},r=n.color,o=n.white,i=n.black,a=n.pointer,s=n.circle,l=(0,cue.ZP)({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl("+this.props.hsl.h+",100%, 50%)",borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},black:{absolute:"0px 0px 0px 0px",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:"absolute",top:-100*this.props.hsv.v+100+"%",left:100*this.props.hsv.s+"%",cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:"0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),\n            0 0 1px 2px rgba(0,0,0,.4)",borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:r,white:o,black:i,pointer:a,circle:s}},{custom:!!this.props.style});return e.createElement("div",{style:l.color,ref:function(e){return t.container=e},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},e.createElement("style",null,"\n          .saturation-white {\n            background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));\n            background: linear-gradient(to right, #fff, rgba(255,255,255,0));\n          }\n          .saturation-black {\n            background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));\n            background: linear-gradient(to top, #000, rgba(0,0,0,0));\n          }\n        "),e.createElement("div",{style:l.white,className:"saturation-white"},e.createElement("div",{style:l.black,className:"saturation-black"}),e.createElement("div",{style:l.pointer},this.props.pointer?e.createElement(this.props.pointer,this.props):e.createElement("div",{style:l.circle}))))}}]),n}(e.PureComponent||e.Component),wde=xde;var Cde=function(e,t){return function(n,r){if(null==n)return n;if(!QN(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=Object(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}},Sde=Cde((function(e,t){return e&&Fue(e,t,YN)}));var Ede=function(e){return"function"==typeof e?e:Xue};var kde=function(e,t){return(_N(e)?uN:Sde)(e,Ede(t))};function Dde(e){return Dde="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Dde(e)}var Nde=/^\s+/,Tde=/\s+$/;function jde(e,t){if(t=t||{},(e=e||"")instanceof jde)return e;if(!(this instanceof jde))return new jde(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,r=null,o=null,i=null,a=!1,s=!1;"string"==typeof e&&(e=function(e){e=e.replace(Nde,"").replace(Tde,"").toLowerCase();var t,n=!1;if(Gde[e])e=Gde[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=spe.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=spe.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=spe.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=spe.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=spe.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=spe.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=spe.hex8.exec(e))return{r:npe(t[1]),g:npe(t[2]),b:npe(t[3]),a:ape(t[4]),format:n?"name":"hex8"};if(t=spe.hex6.exec(e))return{r:npe(t[1]),g:npe(t[2]),b:npe(t[3]),format:n?"name":"hex"};if(t=spe.hex4.exec(e))return{r:npe(t[1]+""+t[1]),g:npe(t[2]+""+t[2]),b:npe(t[3]+""+t[3]),a:ape(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=spe.hex3.exec(e))return{r:npe(t[1]+""+t[1]),g:npe(t[2]+""+t[2]),b:npe(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==Dde(e)&&(lpe(e.r)&&lpe(e.g)&&lpe(e.b)?(t=function(e,t,n){return{r:255*epe(e,255),g:255*epe(t,255),b:255*epe(n,255)}}(e.r,e.g,e.b),a=!0,s="%"===String(e.r).substr(-1)?"prgb":"rgb"):lpe(e.h)&&lpe(e.s)&&lpe(e.v)?(r=ope(e.s),o=ope(e.v),t=function(e,t,n){e=6*epe(e,360),t=epe(t,100),n=epe(n,100);var r=Math.floor(e),o=e-r,i=n*(1-t),a=n*(1-o*t),s=n*(1-(1-o)*t),l=r%6,c=[n,a,i,i,s,n][l],u=[s,n,n,a,i,i][l],d=[i,i,s,n,n,a][l];return{r:255*c,g:255*u,b:255*d}}(e.h,r,o),a=!0,s="hsv"):lpe(e.h)&&lpe(e.s)&&lpe(e.l)&&(r=ope(e.s),i=ope(e.l),t=function(e,t,n){var r,o,i;function a(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=epe(e,360),t=epe(t,100),n=epe(n,100),0===t)r=o=i=n;else{var s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;r=a(l,s,e+1/3),o=a(l,s,e),i=a(l,s,e-1/3)}return{r:255*r,g:255*o,b:255*i}}(e.h,r,i),a=!0,s="hsl"),e.hasOwnProperty("a")&&(n=e.a));return n=Jde(n),{ok:a,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=n.ok}function Bde(e,t,n){e=epe(e,255),t=epe(t,255),n=epe(n,255);var r,o,i=Math.max(e,t,n),a=Math.min(e,t,n),s=(i+a)/2;if(i==a)r=o=0;else{var l=i-a;switch(o=s>.5?l/(2-i-a):l/(i+a),i){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:o,l:s}}function Lde(e,t,n){e=epe(e,255),t=epe(t,255),n=epe(n,255);var r,o,i=Math.max(e,t,n),a=Math.min(e,t,n),s=i,l=i-a;if(o=0===i?0:l/i,i==a)r=0;else{switch(i){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:o,v:s}}function Rde(e,t,n,r){var o=[rpe(Math.round(e).toString(16)),rpe(Math.round(t).toString(16)),rpe(Math.round(n).toString(16))];return r&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function qde(e,t,n,r){return[rpe(ipe(r)),rpe(Math.round(e).toString(16)),rpe(Math.round(t).toString(16)),rpe(Math.round(n).toString(16))].join("")}function Pde(e,t){t=0===t?0:t||10;var n=jde(e).toHsl();return n.s-=t/100,n.s=tpe(n.s),jde(n)}function Ide(e,t){t=0===t?0:t||10;var n=jde(e).toHsl();return n.s+=t/100,n.s=tpe(n.s),jde(n)}function Wde(e){return jde(e).desaturate(100)}function Fde(e,t){t=0===t?0:t||10;var n=jde(e).toHsl();return n.l+=t/100,n.l=tpe(n.l),jde(n)}function Ude(e,t){t=0===t?0:t||10;var n=jde(e).toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),jde(n)}function Zde(e,t){t=0===t?0:t||10;var n=jde(e).toHsl();return n.l-=t/100,n.l=tpe(n.l),jde(n)}function Hde(e,t){var n=jde(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,jde(n)}function $de(e){var t=jde(e).toHsl();return t.h=(t.h+180)%360,jde(t)}function Vde(e,t){if(isNaN(t)||t<=0)throw new Error("Argument to polyad must be a positive number");for(var n=jde(e).toHsl(),r=[jde(e)],o=360/t,i=1;i<t;i++)r.push(jde({h:(n.h+i*o)%360,s:n.s,l:n.l}));return r}function Xde(e){var t=jde(e).toHsl(),n=t.h;return[jde(e),jde({h:(n+72)%360,s:t.s,l:t.l}),jde({h:(n+216)%360,s:t.s,l:t.l})]}function Qde(e,t,n){t=t||6,n=n||30;var r=jde(e).toHsl(),o=360/n,i=[jde(e)];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(jde(r));return i}function Yde(e,t){t=t||6;for(var n=jde(e).toHsv(),r=n.h,o=n.s,i=n.v,a=[],s=1/t;t--;)a.push(jde({h:r,s:o,v:i})),i=(i+s)%1;return a}jde.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=Jde(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=Lde(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=Lde(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=Bde(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=Bde(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return Rde(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,o){var i=[rpe(Math.round(e).toString(16)),rpe(Math.round(t).toString(16)),rpe(Math.round(n).toString(16)),rpe(ipe(r))];if(o&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1))return i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0);return i.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*epe(this._r,255))+"%",g:Math.round(100*epe(this._g,255))+"%",b:Math.round(100*epe(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*epe(this._r,255))+"%, "+Math.round(100*epe(this._g,255))+"%, "+Math.round(100*epe(this._b,255))+"%)":"rgba("+Math.round(100*epe(this._r,255))+"%, "+Math.round(100*epe(this._g,255))+"%, "+Math.round(100*epe(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(Kde[Rde(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+qde(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=jde(e);n="#"+qde(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return jde(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(Fde,arguments)},brighten:function(){return this._applyModification(Ude,arguments)},darken:function(){return this._applyModification(Zde,arguments)},desaturate:function(){return this._applyModification(Pde,arguments)},saturate:function(){return this._applyModification(Ide,arguments)},greyscale:function(){return this._applyModification(Wde,arguments)},spin:function(){return this._applyModification(Hde,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(Qde,arguments)},complement:function(){return this._applyCombination($de,arguments)},monochromatic:function(){return this._applyCombination(Yde,arguments)},splitcomplement:function(){return this._applyCombination(Xde,arguments)},triad:function(){return this._applyCombination(Vde,[3])},tetrad:function(){return this._applyCombination(Vde,[4])}},jde.fromRatio=function(e,t){if("object"==Dde(e)){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:ope(e[r]));e=n}return jde(e,t)},jde.equals=function(e,t){return!(!e||!t)&&jde(e).toRgbString()==jde(t).toRgbString()},jde.random=function(){return jde.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},jde.mix=function(e,t,n){n=0===n?0:n||50;var r=jde(e).toRgb(),o=jde(t).toRgb(),i=n/100;return jde({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},jde.readability=function(e,t){var n=jde(e),r=jde(t);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)},jde.isReadable=function(e,t,n){var r,o,i=jde.readability(e,t);switch(o=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":o=i>=4.5;break;case"AAlarge":o=i>=3;break;case"AAAsmall":o=i>=7}return o},jde.mostReadable=function(e,t,n){var r,o,i,a,s=null,l=0;o=(n=n||{}).includeFallbackColors,i=n.level,a=n.size;for(var c=0;c<t.length;c++)(r=jde.readability(e,t[c]))>l&&(l=r,s=jde(t[c]));return jde.isReadable(e,s,{level:i,size:a})||!o?s:(n.includeFallbackColors=!1,jde.mostReadable(e,["#fff","#000"],n))};var Gde=jde.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},Kde=jde.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(Gde);function Jde(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function epe(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"===typeof e&&-1!=e.indexOf("%")}(e);return e=Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function tpe(e){return Math.min(1,Math.max(0,e))}function npe(e){return parseInt(e,16)}function rpe(e){return 1==e.length?"0"+e:""+e}function ope(e){return e<=1&&(e=100*e+"%"),e}function ipe(e){return Math.round(255*parseFloat(e)).toString(16)}function ape(e){return npe(e)/255}var spe=function(){var e="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",t="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?",n="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?";return{CSS_UNIT:new RegExp(e),rgb:new RegExp("rgb"+t),rgba:new RegExp("rgba"+n),hsl:new RegExp("hsl"+t),hsla:new RegExp("hsla"+n),hsv:new RegExp("hsv"+t),hsva:new RegExp("hsva"+n),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function lpe(e){return!!spe.CSS_UNIT.exec(e)}var cpe=function(e){var t=0,n=0;return kde(["r","g","b","a","h","s","l","v"],(function(r){if(e[r]&&(t+=1,isNaN(e[r])||(n+=1),"s"===r||"l"===r)){/^\d+%$/.test(e[r])&&(n+=1)}})),t===n&&e},upe=function(e,t){var n=e.hex?jde(e.hex):jde(e),r=n.toHsl(),o=n.toHsv(),i=n.toRgb(),a=n.toHex();return 0===r.s&&(r.h=t||0,o.h=t||0),{hsl:r,hex:"000000"===a&&0===i.a?"transparent":"#"+a,rgb:i,hsv:o,oldHue:e.h||t||r.h,source:e.source}},dpe=function(e){if("transparent"===e)return!0;var t="#"===String(e).charAt(0)?1:0;return e.length!==4+t&&e.length<7+t&&jde(e).isValid()},ppe=function(e){if(!e)return"#fff";var t=upe(e);return"transparent"===t.hex?"rgba(0,0,0,0.4)":(299*t.rgb.r+587*t.rgb.g+114*t.rgb.b)/1e3>=128?"#000":"#fff"},fpe=function(e,t){return jde(t+" ("+e.replace("\xb0","")+")")._ok},hpe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bpe=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var Ape=function(t){var n=function(n){function r(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(r.__proto__||Object.getPrototypeOf(r)).call(this));return t.handleChange=function(e,n){if(cpe(e)){var r=upe(e,e.h||t.state.oldHue);t.setState(r),t.props.onChangeComplete&&t.debounce(t.props.onChangeComplete,r,n),t.props.onChange&&t.props.onChange(r,n)}},t.handleSwatchHover=function(e,n){if(cpe(e)){var r=upe(e,e.h||t.state.oldHue);t.props.onSwatchHover&&t.props.onSwatchHover(r,n)}},t.state=hpe({},upe(e.color,0)),t.debounce=Ode((function(e,t,n){e(t,n)}),100),t}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,n),bpe(r,[{key:"render",value:function(){var n={};return this.props.onSwatchHover&&(n.onSwatchHover=this.handleSwatchHover),e.createElement(t,hpe({},this.props,this.state,{onChange:this.handleChange},n))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return hpe({},upe(e.color,t.oldHue))}}]),r}(e.PureComponent||e.Component);return n.propTypes=hpe({},t.propTypes),n.defaultProps=hpe({},t.defaultProps,{color:{h:250,s:.5,l:.2,a:1}}),n},mpe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gpe=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function vpe(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var ype=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Mpe=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(r){function o(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o);for(var r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];return t=n=vpe(this,(e=o.__proto__||Object.getPrototypeOf(o)).call.apply(e,[this].concat(i))),n.state={focus:!1},n.handleFocus=function(){return n.setState({focus:!0})},n.handleBlur=function(){return n.setState({focus:!1})},vpe(n,t)}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(o,r),gpe(o,[{key:"render",value:function(){return e.createElement(n,{onFocus:this.handleFocus,onBlur:this.handleBlur},e.createElement(t,mpe({},this.props,this.state)))}}]),o}(e.Component)}((function(t){var n=t.color,r=t.style,o=t.onClick,i=void 0===o?function(){}:o,a=t.onHover,s=t.title,l=void 0===s?n:s,c=t.children,u=t.focus,d=t.focusStyle,p=void 0===d?{}:d,f="transparent"===n,h=(0,cue.ZP)({default:{swatch:ype({background:n,height:"100%",width:"100%",cursor:"pointer",position:"relative",outline:"none"},r,u?p:{})}}),b={};return a&&(b.onMouseOver=function(e){return a(n,e)}),e.createElement("div",ype({style:h.swatch,onClick:function(e){return i(n,e)},title:l,tabIndex:0,onKeyDown:function(e){return 13===e.keyCode&&i(n,e)}},b),c,f&&e.createElement(xue,{borderRadius:h.swatch.borderRadius,boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"}))})),Ope=function(t){var n=t.direction,r=(0,cue.ZP)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===n});return e.createElement("div",{style:r.picker})},_pe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zpe=function(t){var n=t.rgb,r=t.hsl,o=t.width,i=t.height,a=t.onChange,s=t.direction,l=t.style,c=t.renderers,u=t.pointer,d=t.className,p=void 0===d?"":d,f=(0,cue.ZP)({default:{picker:{position:"relative",width:o,height:i},alpha:{radius:"2px",style:l}}});return e.createElement("div",{style:f.picker,className:"alpha-picker "+p},e.createElement(kue,_pe({},f.alpha,{rgb:n,hsl:r,pointer:u,renderers:c,onChange:a,direction:s})))};zpe.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:Ope};Ape(zpe);var xpe=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this};var wpe=function(e){return this.__data__.has(e)};function Cpe(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new aN;++t<n;)this.add(e[t])}Cpe.prototype.add=Cpe.prototype.push=xpe,Cpe.prototype.has=wpe;var Spe=Cpe;var Epe=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1};var kpe=function(e,t){return e.has(t)};var Dpe=function(e,t,n,r,o,i){var a=1&n,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var c=i.get(e),u=i.get(t);if(c&&u)return c==t&&u==e;var d=-1,p=!0,f=2&n?new Spe:void 0;for(i.set(e,t),i.set(t,e);++d<s;){var h=e[d],b=t[d];if(r)var A=a?r(b,h,d,t,e,i):r(h,b,d,e,t,i);if(void 0!==A){if(A)continue;p=!1;break}if(f){if(!Epe(t,(function(e,t){if(!kpe(f,t)&&(h===e||o(h,e,n,r,i)))return f.push(t)}))){p=!1;break}}else if(h!==b&&!o(h,b,n,r,i)){p=!1;break}}return i.delete(e),i.delete(t),p};var Npe=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n};var Tpe=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n},jpe=$k?$k.prototype:void 0,Bpe=jpe?jpe.valueOf:void 0;var Lpe=function(e,t,n,r,o,i,a){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!i(new IT(e),new IT(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return pD(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var s=Npe;case"[object Set]":var l=1&r;if(s||(s=Tpe),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;r|=2,a.set(e,t);var u=Dpe(s(e),s(t),r,o,i,a);return a.delete(e),u;case"[object Symbol]":if(Bpe)return Bpe.call(e)==Bpe.call(t)}return!1},Rpe=Object.prototype.hasOwnProperty;var qpe=function(e,t,n,r,o,i){var a=1&n,s=yT(e),l=s.length;if(l!=yT(t).length&&!a)return!1;for(var c=l;c--;){var u=s[c];if(!(a?u in t:Rpe.call(t,u)))return!1}var d=i.get(e),p=i.get(t);if(d&&p)return d==t&&p==e;var f=!0;i.set(e,t),i.set(t,e);for(var h=a;++c<l;){var b=e[u=s[c]],A=t[u];if(r)var m=a?r(A,b,u,t,e,i):r(b,A,u,e,t,i);if(!(void 0===m?b===A||o(b,A,n,r,i):m)){f=!1;break}h||(h="constructor"==u)}if(f&&!h){var g=e.constructor,v=t.constructor;g==v||!("constructor"in e)||!("constructor"in t)||"function"==typeof g&&g instanceof g&&"function"==typeof v&&v instanceof v||(f=!1)}return i.delete(e),i.delete(t),f},Ppe="[object Arguments]",Ipe="[object Array]",Wpe="[object Object]",Fpe=Object.prototype.hasOwnProperty;var Upe=function(e,t,n,r,o,i){var a=_N(e),s=_N(t),l=a?Ipe:RT(e),c=s?Ipe:RT(t),u=(l=l==Ppe?Wpe:l)==Wpe,d=(c=c==Ppe?Wpe:c)==Wpe,p=l==c;if(p&&SN(e)){if(!SN(t))return!1;a=!0,u=!1}if(p&&!u)return i||(i=new cN),a||WN(e)?Dpe(e,t,n,r,o,i):Lpe(e,t,l,n,r,o,i);if(!(1&n)){var f=u&&Fpe.call(e,"__wrapped__"),h=d&&Fpe.call(t,"__wrapped__");if(f||h){var b=f?e.value():e,A=h?t.value():t;return i||(i=new cN),o(b,A,n,r,i)}}return!!p&&(i||(i=new cN),qpe(e,t,n,r,o,i))};var Zpe=function e(t,n,r,o,i){return t===n||(null==t||null==n||!oD(t)&&!oD(n)?t!==t&&n!==n:Upe(t,n,r,o,e,i))};var Hpe=function(e,t,n,r){var o=n.length,i=o,a=!r;if(null==e)return!i;for(e=Object(e);o--;){var s=n[o];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<i;){var l=(s=n[o])[0],c=e[l],u=s[1];if(a&&s[2]){if(void 0===c&&!(l in e))return!1}else{var d=new cN;if(r)var p=r(c,u,l,e,t,d);if(!(void 0===p?Zpe(u,c,3,r,d):p))return!1}}return!0};var $pe=function(e){return e===e&&!xD(e)};var Vpe=function(e){for(var t=YN(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,$pe(o)]}return t};var Xpe=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}};var Qpe=function(e){var t=Vpe(e);return 1==t.length&&t[0][2]?Xpe(t[0][0],t[0][1]):function(n){return n===e||Hpe(n,e,t)}},Ype=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Gpe=/^\w*$/;var Kpe=function(e,t){if(_N(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!fj(e))||(Gpe.test(e)||!Ype.test(e)||null!=t&&e in Object(t))};var Jpe=function(e,t){return _N(e)?e:Kpe(e,t)?[e]:yj(xj(e))};var efe=function(e,t){for(var n=0,r=(t=Jpe(t,e)).length;null!=e&&n<r;)e=e[Mj(t[n++])];return n&&n==r?e:void 0};var tfe=function(e,t,n){var r=null==e?void 0:efe(e,t);return void 0===r?n:r};var nfe=function(e,t){return null!=e&&t in Object(e)};var rfe=function(e,t,n){for(var r=-1,o=(t=Jpe(t,e)).length,i=!1;++r<o;){var a=Mj(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&DN(o)&&kN(a,o)&&(_N(e)||ON(e))};var ofe=function(e,t){return null!=e&&rfe(e,t,nfe)};var ife=function(e,t){return Kpe(e)&&$pe(t)?Xpe(Mj(e),t):function(n){var r=tfe(n,e);return void 0===r&&r===t?ofe(n,e):Zpe(t,r,3)}};var afe=function(e){return function(t){return null==t?void 0:t[e]}};var sfe=function(e){return function(t){return efe(t,e)}};var lfe=function(e){return Kpe(e)?afe(Mj(e)):sfe(e)};var cfe=function(e){return"function"==typeof e?e:null==e?Xue:"object"==typeof e?_N(e)?ife(e[0],e[1]):Qpe(e):lfe(e)};var ufe=function(e,t){var n=-1,r=QN(e)?Array(e.length):[];return Sde(e,(function(e,o,i){r[++n]=t(e,o,i)})),r};var dfe=function(e,t){return(_N(e)?pj:ufe)(e,cfe(t,3))},pfe=function(t){var n=t.colors,r=t.onClick,o=t.onSwatchHover,i=(0,cue.ZP)({default:{swatches:{marginRight:"-10px"},swatch:{width:"22px",height:"22px",float:"left",marginRight:"10px",marginBottom:"10px",borderRadius:"4px"},clear:{clear:"both"}}});return e.createElement("div",{style:i.swatches},dfe(n,(function(t){return e.createElement(Mpe,{key:t,color:t,style:i.swatch,onClick:r,onHover:o,focusStyle:{boxShadow:"0 0 4px "+t}})})),e.createElement("div",{style:i.clear}))},ffe=function(t){var n=t.onChange,r=t.onSwatchHover,o=t.hex,i=t.colors,a=t.width,s=t.triangle,l=t.styles,c=void 0===l?{}:l,u=t.className,d=void 0===u?"":u,p="transparent"===o,f=function(e,t){dpe(e)&&n({hex:e,source:"hex"},t)},h=(0,cue.ZP)(sde({default:{card:{width:a,background:"#fff",boxShadow:"0 1px rgba(0,0,0,.1)",borderRadius:"6px",position:"relative"},head:{height:"110px",background:o,borderRadius:"6px 6px 0 0",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},body:{padding:"10px"},label:{fontSize:"18px",color:ppe(o),position:"relative"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 10px 10px 10px",borderColor:"transparent transparent "+o+" transparent",position:"absolute",top:"-10px",left:"50%",marginLeft:"-10px"},input:{width:"100%",fontSize:"12px",color:"#666",border:"0px",outline:"none",height:"22px",boxShadow:"inset 0 0 0 1px #ddd",borderRadius:"4px",padding:"0 7px",boxSizing:"border-box"}},"hide-triangle":{triangle:{display:"none"}}},c),{"hide-triangle":"hide"===s});return e.createElement("div",{style:h.card,className:"block-picker "+d},e.createElement("div",{style:h.triangle}),e.createElement("div",{style:h.head},p&&e.createElement(xue,{borderRadius:"6px 6px 0 0"}),e.createElement("div",{style:h.label},o)),e.createElement("div",{style:h.body},e.createElement(pfe,{colors:i,onClick:f,onSwatchHover:r}),e.createElement(Bue,{style:{input:h.input},value:o,onChange:f})))};ffe.propTypes={width:Lq().oneOfType([Lq().string,Lq().number]),colors:Lq().arrayOf(Lq().string),triangle:Lq().oneOf(["top","hide"]),styles:Lq().object},ffe.defaultProps={width:170,colors:["#D9E3F0","#F47373","#697689","#37D67A","#2CCCE4","#555555","#dce775","#ff8a65","#ba68c8"],triangle:"top",styles:{}};Ape(ffe);var hfe={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",a100:"#ff8a80",a200:"#ff5252",a400:"#ff1744",a700:"#d50000"},bfe={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",a100:"#ff80ab",a200:"#ff4081",a400:"#f50057",a700:"#c51162"},Afe={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",a100:"#ea80fc",a200:"#e040fb",a400:"#d500f9",a700:"#aa00ff"},mfe={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",a100:"#b388ff",a200:"#7c4dff",a400:"#651fff",a700:"#6200ea"},gfe={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",a100:"#8c9eff",a200:"#536dfe",a400:"#3d5afe",a700:"#304ffe"},vfe={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",a100:"#82b1ff",a200:"#448aff",a400:"#2979ff",a700:"#2962ff"},yfe={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",a100:"#80d8ff",a200:"#40c4ff",a400:"#00b0ff",a700:"#0091ea"},Mfe={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",a100:"#84ffff",a200:"#18ffff",a400:"#00e5ff",a700:"#00b8d4"},Ofe={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",a100:"#a7ffeb",a200:"#64ffda",a400:"#1de9b6",a700:"#00bfa5"},_fe={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",a100:"#b9f6ca",a200:"#69f0ae",a400:"#00e676",a700:"#00c853"},zfe={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",a100:"#ccff90",a200:"#b2ff59",a400:"#76ff03",a700:"#64dd17"},xfe={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",a100:"#f4ff81",a200:"#eeff41",a400:"#c6ff00",a700:"#aeea00"},wfe={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",a100:"#ffff8d",a200:"#ffff00",a400:"#ffea00",a700:"#ffd600"},Cfe={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",a100:"#ffe57f",a200:"#ffd740",a400:"#ffc400",a700:"#ffab00"},Sfe={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",a100:"#ffd180",a200:"#ffab40",a400:"#ff9100",a700:"#ff6d00"},Efe={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",a100:"#ff9e80",a200:"#ff6e40",a400:"#ff3d00",a700:"#dd2c00"},kfe={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723"},Dfe={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238"},Nfe=function(t){var n=t.color,r=t.onClick,o=t.onSwatchHover,i=t.hover,a=t.active,s=t.circleSize,l=t.circleSpacing,c=(0,cue.ZP)({default:{swatch:{width:s,height:s,marginRight:l,marginBottom:l,transform:"scale(1)",transition:"100ms transform ease"},Swatch:{borderRadius:"50%",background:"transparent",boxShadow:"inset 0 0 0 "+(s/2+1)+"px "+n,transition:"100ms box-shadow ease"}},hover:{swatch:{transform:"scale(1.2)"}},active:{Swatch:{boxShadow:"inset 0 0 0 3px "+n}}},{hover:i,active:a});return e.createElement("div",{style:c.swatch},e.createElement(Mpe,{style:c.Swatch,color:n,onClick:r,onHover:o,focusStyle:{boxShadow:c.Swatch.boxShadow+", 0 0 5px "+n}}))};Nfe.defaultProps={circleSize:28,circleSpacing:14};var Tfe=(0,cue.tz)(Nfe),jfe=function(t){var n=t.width,r=t.onChange,o=t.onSwatchHover,i=t.colors,a=t.hex,s=t.circleSize,l=t.styles,c=void 0===l?{}:l,u=t.circleSpacing,d=t.className,p=void 0===d?"":d,f=(0,cue.ZP)(sde({default:{card:{width:n,display:"flex",flexWrap:"wrap",marginRight:-u,marginBottom:-u}}},c)),h=function(e,t){return r({hex:e,source:"hex"},t)};return e.createElement("div",{style:f.card,className:"circle-picker "+p},dfe(i,(function(t){return e.createElement(Tfe,{key:t,color:t,onClick:h,onSwatchHover:o,active:a===t.toLowerCase(),circleSize:s,circleSpacing:u})})))};jfe.propTypes={width:Lq().oneOfType([Lq().string,Lq().number]),circleSize:Lq().number,circleSpacing:Lq().number,styles:Lq().object},jfe.defaultProps={width:252,circleSize:28,circleSpacing:14,colors:[hfe[500],bfe[500],Afe[500],mfe[500],gfe[500],vfe[500],yfe[500],Mfe[500],Ofe[500],_fe[500],zfe[500],xfe[500],wfe[500],Cfe[500],Sfe[500],Efe[500],kfe[500],Dfe[500]],styles:{}};Ape(jfe);var Bfe=function(e){return void 0===e},Lfe=__webpack_require__(3050),Rfe=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var qfe=function(t){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return t.toggleViews=function(){"hex"===t.state.view?t.setState({view:"rgb"}):"rgb"===t.state.view?t.setState({view:"hsl"}):"hsl"===t.state.view&&(1===t.props.hsl.a?t.setState({view:"hex"}):t.setState({view:"rgb"}))},t.handleChange=function(e,n){e.hex?dpe(e.hex)&&t.props.onChange({hex:e.hex,source:"hex"},n):e.r||e.g||e.b?t.props.onChange({r:e.r||t.props.rgb.r,g:e.g||t.props.rgb.g,b:e.b||t.props.rgb.b,source:"rgb"},n):e.a?(e.a<0?e.a=0:e.a>1&&(e.a=1),t.props.onChange({h:t.props.hsl.h,s:t.props.hsl.s,l:t.props.hsl.l,a:Math.round(100*e.a)/100,source:"rgb"},n)):(e.h||e.s||e.l)&&("string"===typeof e.s&&e.s.includes("%")&&(e.s=e.s.replace("%","")),"string"===typeof e.l&&e.l.includes("%")&&(e.l=e.l.replace("%","")),1==e.s?e.s=.01:1==e.l&&(e.l=.01),t.props.onChange({h:e.h||t.props.hsl.h,s:Number(Bfe(e.s)?t.props.hsl.s:e.s),l:Number(Bfe(e.l)?t.props.hsl.l:e.l),source:"hsl"},n))},t.showHighlight=function(e){e.currentTarget.style.background="#eee"},t.hideHighlight=function(e){e.currentTarget.style.background="transparent"},1!==e.hsl.a&&"hex"===e.view?t.state={view:"rgb"}:t.state={view:e.view},t}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),Rfe(n,[{key:"render",value:function(){var t=this,n=(0,cue.ZP)({default:{wrap:{paddingTop:"16px",display:"flex"},fields:{flex:"1",display:"flex",marginLeft:"-6px"},field:{paddingLeft:"6px",width:"100%"},alpha:{paddingLeft:"6px",width:"100%"},toggle:{width:"32px",textAlign:"right",position:"relative"},icon:{marginRight:"-4px",marginTop:"12px",cursor:"pointer",position:"relative"},iconHighlight:{position:"absolute",width:"24px",height:"28px",background:"#eee",borderRadius:"4px",top:"10px",left:"12px",display:"none"},input:{fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px",textAlign:"center"},label:{textTransform:"uppercase",fontSize:"11px",lineHeight:"11px",color:"#969696",textAlign:"center",display:"block",marginTop:"12px"},svg:{fill:"#333",width:"24px",height:"24px",border:"1px transparent solid",borderRadius:"5px"}},disableAlpha:{alpha:{display:"none"}}},this.props,this.state),r=void 0;return"hex"===this.state.view?r=e.createElement("div",{style:n.fields,className:"flexbox-fix"},e.createElement("div",{style:n.field},e.createElement(Bue,{style:{input:n.input,label:n.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):"rgb"===this.state.view?r=e.createElement("div",{style:n.fields,className:"flexbox-fix"},e.createElement("div",{style:n.field},e.createElement(Bue,{style:{input:n.input,label:n.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),e.createElement("div",{style:n.field},e.createElement(Bue,{style:{input:n.input,label:n.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),e.createElement("div",{style:n.field},e.createElement(Bue,{style:{input:n.input,label:n.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),e.createElement("div",{style:n.alpha},e.createElement(Bue,{style:{input:n.input,label:n.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):"hsl"===this.state.view&&(r=e.createElement("div",{style:n.fields,className:"flexbox-fix"},e.createElement("div",{style:n.field},e.createElement(Bue,{style:{input:n.input,label:n.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),e.createElement("div",{style:n.field},e.createElement(Bue,{style:{input:n.input,label:n.label},label:"s",value:Math.round(100*this.props.hsl.s)+"%",onChange:this.handleChange})),e.createElement("div",{style:n.field},e.createElement(Bue,{style:{input:n.input,label:n.label},label:"l",value:Math.round(100*this.props.hsl.l)+"%",onChange:this.handleChange})),e.createElement("div",{style:n.alpha},e.createElement(Bue,{style:{input:n.input,label:n.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),e.createElement("div",{style:n.wrap,className:"flexbox-fix"},r,e.createElement("div",{style:n.toggle},e.createElement("div",{style:n.icon,onClick:this.toggleViews,ref:function(e){return t.icon=e}},e.createElement(Lfe.Z,{style:n.svg,onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight}))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 1!==e.hsl.a&&"hex"===t.view?{view:"rgb"}:null}}]),n}(e.Component);qfe.defaultProps={view:"hex"};var Pfe=qfe,Ife=function(){var t=(0,cue.ZP)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",transform:"translate(-6px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return e.createElement("div",{style:t.picker})},Wfe=function(){var t=(0,cue.ZP)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}}});return e.createElement("div",{style:t.picker})},Ffe=function(t){var n=t.width,r=t.onChange,o=t.disableAlpha,i=t.rgb,a=t.hsl,s=t.hsv,l=t.hex,c=t.renderers,u=t.styles,d=void 0===u?{}:u,p=t.className,f=void 0===p?"":p,h=t.defaultView,b=(0,cue.ZP)(sde({default:{picker:{width:n,background:"#fff",borderRadius:"2px",boxShadow:"0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3)",boxSizing:"initial",fontFamily:"Menlo"},saturation:{width:"100%",paddingBottom:"55%",position:"relative",borderRadius:"2px 2px 0 0",overflow:"hidden"},Saturation:{radius:"2px 2px 0 0"},body:{padding:"16px 16px 12px"},controls:{display:"flex"},color:{width:"32px"},swatch:{marginTop:"6px",width:"16px",height:"16px",borderRadius:"8px",position:"relative",overflow:"hidden"},active:{absolute:"0px 0px 0px 0px",borderRadius:"8px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.1)",background:"rgba("+i.r+", "+i.g+", "+i.b+", "+i.a+")",zIndex:"2"},toggles:{flex:"1"},hue:{height:"10px",position:"relative",marginBottom:"8px"},Hue:{radius:"2px"},alpha:{height:"10px",position:"relative"},Alpha:{radius:"2px"}},disableAlpha:{color:{width:"22px"},alpha:{display:"none"},hue:{marginBottom:"0px"},swatch:{width:"10px",height:"10px",marginTop:"0px"}}},d),{disableAlpha:o});return e.createElement("div",{style:b.picker,className:"chrome-picker "+f},e.createElement("div",{style:b.saturation},e.createElement(wde,{style:b.Saturation,hsl:a,hsv:s,pointer:Wfe,onChange:r})),e.createElement("div",{style:b.body},e.createElement("div",{style:b.controls,className:"flexbox-fix"},e.createElement("div",{style:b.color},e.createElement("div",{style:b.swatch},e.createElement("div",{style:b.active}),e.createElement(xue,{renderers:c}))),e.createElement("div",{style:b.toggles},e.createElement("div",{style:b.hue},e.createElement(Pue,{style:b.Hue,hsl:a,pointer:Ife,onChange:r})),e.createElement("div",{style:b.alpha},e.createElement(kue,{style:b.Alpha,rgb:i,hsl:a,pointer:Ife,renderers:c,onChange:r})))),e.createElement(Pfe,{rgb:i,hsl:a,hex:l,view:h,onChange:r,disableAlpha:o})))};Ffe.propTypes={width:Lq().oneOfType([Lq().string,Lq().number]),disableAlpha:Lq().bool,styles:Lq().object,defaultView:Lq().oneOf(["hex","rgb","hsl"])},Ffe.defaultProps={width:225,disableAlpha:!1,styles:{}};Ape(Ffe);var Ufe=function(t){var n=t.color,r=t.onClick,o=void 0===r?function(){}:r,i=t.onSwatchHover,a=t.active,s=(0,cue.ZP)({default:{color:{background:n,width:"15px",height:"15px",float:"left",marginRight:"5px",marginBottom:"5px",position:"relative",cursor:"pointer"},dot:{absolute:"5px 5px 5px 5px",background:ppe(n),borderRadius:"50%",opacity:"0"}},active:{dot:{opacity:"1"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},dot:{background:"#000"}},transparent:{dot:{background:"#000"}}},{active:a,"color-#FFFFFF":"#FFFFFF"===n,transparent:"transparent"===n});return e.createElement(Mpe,{style:s.color,color:n,onClick:o,onHover:i,focusStyle:{boxShadow:"0 0 4px "+n}},e.createElement("div",{style:s.dot}))},Zfe=function(t){var n=t.hex,r=t.rgb,o=t.onChange,i=(0,cue.ZP)({default:{fields:{display:"flex",paddingBottom:"6px",paddingRight:"5px",position:"relative"},active:{position:"absolute",top:"6px",left:"5px",height:"9px",width:"9px",background:n},HEXwrap:{flex:"6",position:"relative"},HEXinput:{width:"80%",padding:"0px",paddingLeft:"20%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},HEXlabel:{display:"none"},RGBwrap:{flex:"3",position:"relative"},RGBinput:{width:"70%",padding:"0px",paddingLeft:"30%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},RGBlabel:{position:"absolute",top:"3px",left:"0px",lineHeight:"16px",textTransform:"uppercase",fontSize:"12px",color:"#999"}}}),a=function(e,t){e.r||e.g||e.b?o({r:e.r||r.r,g:e.g||r.g,b:e.b||r.b,source:"rgb"},t):o({hex:e.hex,source:"hex"},t)};return e.createElement("div",{style:i.fields,className:"flexbox-fix"},e.createElement("div",{style:i.active}),e.createElement(Bue,{style:{wrap:i.HEXwrap,input:i.HEXinput,label:i.HEXlabel},label:"hex",value:n,onChange:a}),e.createElement(Bue,{style:{wrap:i.RGBwrap,input:i.RGBinput,label:i.RGBlabel},label:"r",value:r.r,onChange:a}),e.createElement(Bue,{style:{wrap:i.RGBwrap,input:i.RGBinput,label:i.RGBlabel},label:"g",value:r.g,onChange:a}),e.createElement(Bue,{style:{wrap:i.RGBwrap,input:i.RGBinput,label:i.RGBlabel},label:"b",value:r.b,onChange:a}))},Hfe=function(t){var n=t.onChange,r=t.onSwatchHover,o=t.colors,i=t.hex,a=t.rgb,s=t.styles,l=void 0===s?{}:s,c=t.className,u=void 0===c?"":c,d=(0,cue.ZP)(sde({default:{Compact:{background:"#f6f6f6",radius:"4px"},compact:{paddingTop:"5px",paddingLeft:"5px",boxSizing:"initial",width:"240px"},clear:{clear:"both"}}},l)),p=function(e,t){e.hex?dpe(e.hex)&&n({hex:e.hex,source:"hex"},t):n(e,t)};return e.createElement(cde,{style:d.Compact,styles:l},e.createElement("div",{style:d.compact,className:"compact-picker "+u},e.createElement("div",null,dfe(o,(function(t){return e.createElement(Ufe,{key:t,color:t,active:t.toLowerCase()===i,onClick:p,onSwatchHover:r})})),e.createElement("div",{style:d.clear})),e.createElement(Zfe,{hex:i,rgb:a,onChange:p})))};Hfe.propTypes={colors:Lq().arrayOf(Lq().string),styles:Lq().object},Hfe.defaultProps={colors:["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#cccccc","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"],styles:{}};Ape(Hfe);var $fe=(0,cue.tz)((function(t){var n=t.hover,r=t.color,o=t.onClick,i=t.onSwatchHover,a={position:"relative",zIndex:"2",outline:"2px solid #fff",boxShadow:"0 0 5px 2px rgba(0,0,0,0.25)"},s=(0,cue.ZP)({default:{swatch:{width:"25px",height:"25px",fontSize:"0"}},hover:{swatch:a}},{hover:n});return e.createElement("div",{style:s.swatch},e.createElement(Mpe,{color:r,onClick:o,onHover:i,focusStyle:a}))})),Vfe=function(t){var n=t.width,r=t.colors,o=t.onChange,i=t.onSwatchHover,a=t.triangle,s=t.styles,l=void 0===s?{}:s,c=t.className,u=void 0===c?"":c,d=(0,cue.ZP)(sde({default:{card:{width:n,background:"#fff",border:"1px solid rgba(0,0,0,0.2)",boxShadow:"0 3px 12px rgba(0,0,0,0.15)",borderRadius:"4px",position:"relative",padding:"5px",display:"flex",flexWrap:"wrap"},triangle:{position:"absolute",border:"7px solid transparent",borderBottomColor:"#fff"},triangleShadow:{position:"absolute",border:"8px solid transparent",borderBottomColor:"rgba(0,0,0,0.15)"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-14px",left:"10px"},triangleShadow:{top:"-16px",left:"9px"}},"top-right-triangle":{triangle:{top:"-14px",right:"10px"},triangleShadow:{top:"-16px",right:"9px"}},"bottom-left-triangle":{triangle:{top:"35px",left:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",left:"9px",transform:"rotate(180deg)"}},"bottom-right-triangle":{triangle:{top:"35px",right:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",right:"9px",transform:"rotate(180deg)"}}},l),{"hide-triangle":"hide"===a,"top-left-triangle":"top-left"===a,"top-right-triangle":"top-right"===a,"bottom-left-triangle":"bottom-left"===a,"bottom-right-triangle":"bottom-right"===a}),p=function(e,t){return o({hex:e,source:"hex"},t)};return e.createElement("div",{style:d.card,className:"github-picker "+u},e.createElement("div",{style:d.triangleShadow}),e.createElement("div",{style:d.triangle}),dfe(r,(function(t){return e.createElement($fe,{color:t,key:t,onClick:p,onSwatchHover:i})})))};Vfe.propTypes={width:Lq().oneOfType([Lq().string,Lq().number]),colors:Lq().arrayOf(Lq().string),triangle:Lq().oneOf(["hide","top-left","top-right","bottom-left","bottom-right"]),styles:Lq().object},Vfe.defaultProps={width:200,colors:["#B80000","#DB3E00","#FCCB00","#008B02","#006B76","#1273DE","#004DCF","#5300EB","#EB9694","#FAD0C3","#FEF3BD","#C1E1C5","#BEDADC","#C4DEF6","#BED3F3","#D4C4FB"],triangle:"top-left",styles:{}};Ape(Vfe);var Xfe=function(t){var n=t.direction,r=(0,cue.ZP)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===n});return e.createElement("div",{style:r.picker})},Qfe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Yfe=function(t){var n=t.width,r=t.height,o=t.onChange,i=t.hsl,a=t.direction,s=t.pointer,l=t.styles,c=void 0===l?{}:l,u=t.className,d=void 0===u?"":u,p=(0,cue.ZP)(sde({default:{picker:{position:"relative",width:n,height:r},hue:{radius:"2px"}}},c));return e.createElement("div",{style:p.picker,className:"hue-picker "+d},e.createElement(Pue,Qfe({},p.hue,{hsl:i,pointer:s,onChange:function(e){return o({a:1,h:e.h,l:.5,s:1})},direction:a})))};Yfe.propTypes={styles:Lq().object},Yfe.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:Xfe,styles:{}};Ape(Yfe),Ape((function(t){var n=t.onChange,r=t.hex,o=t.rgb,i=t.styles,a=void 0===i?{}:i,s=t.className,l=void 0===s?"":s,c=(0,cue.ZP)(sde({default:{material:{width:"98px",height:"98px",padding:"16px",fontFamily:"Roboto"},HEXwrap:{position:"relative"},HEXinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"2px solid "+r,outline:"none",height:"30px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},Hex:{style:{}},RGBwrap:{position:"relative"},RGBinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"1px solid #eee",outline:"none",height:"30px"},RGBlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},split:{display:"flex",marginRight:"-10px",paddingTop:"11px"},third:{flex:"1",paddingRight:"10px"}}},a)),u=function(e,t){e.hex?dpe(e.hex)&&n({hex:e.hex,source:"hex"},t):(e.r||e.g||e.b)&&n({r:e.r||o.r,g:e.g||o.g,b:e.b||o.b,source:"rgb"},t)};return e.createElement(cde,{styles:a},e.createElement("div",{style:c.material,className:"material-picker "+l},e.createElement(Bue,{style:{wrap:c.HEXwrap,input:c.HEXinput,label:c.HEXlabel},label:"hex",value:r,onChange:u}),e.createElement("div",{style:c.split,className:"flexbox-fix"},e.createElement("div",{style:c.third},e.createElement(Bue,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"r",value:o.r,onChange:u})),e.createElement("div",{style:c.third},e.createElement(Bue,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"g",value:o.g,onChange:u})),e.createElement("div",{style:c.third},e.createElement(Bue,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"b",value:o.b,onChange:u})))))}));var Gfe=function(t){var n=t.onChange,r=t.rgb,o=t.hsv,i=t.hex,a=(0,cue.ZP)({default:{fields:{paddingTop:"5px",paddingBottom:"9px",width:"80px",position:"relative"},divider:{height:"5px"},RGBwrap:{position:"relative"},RGBinput:{marginLeft:"40%",width:"40%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"5px",fontSize:"13px",paddingLeft:"3px",marginRight:"10px"},RGBlabel:{left:"0px",top:"0px",width:"34px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px",position:"absolute"},HEXwrap:{position:"relative"},HEXinput:{marginLeft:"20%",width:"80%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"6px",fontSize:"13px",paddingLeft:"3px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",width:"14px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px"},fieldSymbols:{position:"absolute",top:"5px",right:"-7px",fontSize:"13px"},symbol:{height:"20px",lineHeight:"22px",paddingBottom:"7px"}}}),s=function(e,t){e["#"]?dpe(e["#"])&&n({hex:e["#"],source:"hex"},t):e.r||e.g||e.b?n({r:e.r||r.r,g:e.g||r.g,b:e.b||r.b,source:"rgb"},t):(e.h||e.s||e.v)&&n({h:e.h||o.h,s:e.s||o.s,v:e.v||o.v,source:"hsv"},t)};return e.createElement("div",{style:a.fields},e.createElement(Bue,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"h",value:Math.round(o.h),onChange:s}),e.createElement(Bue,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"s",value:Math.round(100*o.s),onChange:s}),e.createElement(Bue,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"v",value:Math.round(100*o.v),onChange:s}),e.createElement("div",{style:a.divider}),e.createElement(Bue,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"r",value:r.r,onChange:s}),e.createElement(Bue,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"g",value:r.g,onChange:s}),e.createElement(Bue,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"b",value:r.b,onChange:s}),e.createElement("div",{style:a.divider}),e.createElement(Bue,{style:{wrap:a.HEXwrap,input:a.HEXinput,label:a.HEXlabel},label:"#",value:i.replace("#",""),onChange:s}),e.createElement("div",{style:a.fieldSymbols},e.createElement("div",{style:a.symbol},"\xb0"),e.createElement("div",{style:a.symbol},"%"),e.createElement("div",{style:a.symbol},"%")))},Kfe=function(t){var n=t.hsl,r=(0,cue.ZP)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}},"black-outline":{picker:{boxShadow:"inset 0 0 0 1px #000"}}},{"black-outline":n.l>.5});return e.createElement("div",{style:r.picker})},Jfe=function(){var t=(0,cue.ZP)({default:{triangle:{width:0,height:0,borderStyle:"solid",borderWidth:"4px 0 4px 6px",borderColor:"transparent transparent transparent #fff",position:"absolute",top:"1px",left:"1px"},triangleBorder:{width:0,height:0,borderStyle:"solid",borderWidth:"5px 0 5px 8px",borderColor:"transparent transparent transparent #555"},left:{Extend:"triangleBorder",transform:"translate(-13px, -4px)"},leftInside:{Extend:"triangle",transform:"translate(-8px, -5px)"},right:{Extend:"triangleBorder",transform:"translate(20px, -14px) rotate(180deg)"},rightInside:{Extend:"triangle",transform:"translate(-8px, -5px)"}}});return e.createElement("div",{style:t.pointer},e.createElement("div",{style:t.left},e.createElement("div",{style:t.leftInside})),e.createElement("div",{style:t.right},e.createElement("div",{style:t.rightInside})))},ehe=function(t){var n=t.onClick,r=t.label,o=t.children,i=t.active,a=(0,cue.ZP)({default:{button:{backgroundImage:"linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)",border:"1px solid #878787",borderRadius:"2px",height:"20px",boxShadow:"0 1px 0 0 #EAEAEA",fontSize:"14px",color:"#000",lineHeight:"20px",textAlign:"center",marginBottom:"10px",cursor:"pointer"}},active:{button:{boxShadow:"0 0 0 1px #878787"}}},{active:i});return e.createElement("div",{style:a.button,onClick:n},r||o)},the=function(t){var n=t.rgb,r=t.currentColor,o=(0,cue.ZP)({default:{swatches:{border:"1px solid #B3B3B3",borderBottom:"1px solid #F0F0F0",marginBottom:"2px",marginTop:"1px"},new:{height:"34px",background:"rgb("+n.r+","+n.g+", "+n.b+")",boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000"},current:{height:"34px",background:r,boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000"},label:{fontSize:"14px",color:"#000",textAlign:"center"}}});return e.createElement("div",null,e.createElement("div",{style:o.label},"new"),e.createElement("div",{style:o.swatches},e.createElement("div",{style:o.new}),e.createElement("div",{style:o.current})),e.createElement("div",{style:o.label},"current"))},nhe=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var rhe=function(t){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return t.state={currentColor:e.hex},t}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),nhe(n,[{key:"render",value:function(){var t=this.props,n=t.styles,r=void 0===n?{}:n,o=t.className,i=void 0===o?"":o,a=(0,cue.ZP)(sde({default:{picker:{background:"#DCDCDC",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.25), 0 8px 16px rgba(0,0,0,.15)",boxSizing:"initial",width:"513px"},head:{backgroundImage:"linear-gradient(-180deg, #F0F0F0 0%, #D4D4D4 100%)",borderBottom:"1px solid #B1B1B1",boxShadow:"inset 0 1px 0 0 rgba(255,255,255,.2), inset 0 -1px 0 0 rgba(0,0,0,.02)",height:"23px",lineHeight:"24px",borderRadius:"4px 4px 0 0",fontSize:"13px",color:"#4D4D4D",textAlign:"center"},body:{padding:"15px 15px 0",display:"flex"},saturation:{width:"256px",height:"256px",position:"relative",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0",overflow:"hidden"},hue:{position:"relative",height:"256px",width:"19px",marginLeft:"10px",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0"},controls:{width:"180px",marginLeft:"10px"},top:{display:"flex"},previews:{width:"60px"},actions:{flex:"1",marginLeft:"20px"}}},r));return e.createElement("div",{style:a.picker,className:"photoshop-picker "+i},e.createElement("div",{style:a.head},this.props.header),e.createElement("div",{style:a.body,className:"flexbox-fix"},e.createElement("div",{style:a.saturation},e.createElement(wde,{hsl:this.props.hsl,hsv:this.props.hsv,pointer:Kfe,onChange:this.props.onChange})),e.createElement("div",{style:a.hue},e.createElement(Pue,{direction:"vertical",hsl:this.props.hsl,pointer:Jfe,onChange:this.props.onChange})),e.createElement("div",{style:a.controls},e.createElement("div",{style:a.top,className:"flexbox-fix"},e.createElement("div",{style:a.previews},e.createElement(the,{rgb:this.props.rgb,currentColor:this.state.currentColor})),e.createElement("div",{style:a.actions},e.createElement(ehe,{label:"OK",onClick:this.props.onAccept,active:!0}),e.createElement(ehe,{label:"Cancel",onClick:this.props.onCancel}),e.createElement(Gfe,{onChange:this.props.onChange,rgb:this.props.rgb,hsv:this.props.hsv,hex:this.props.hex}))))))}}]),n}(e.Component);rhe.propTypes={header:Lq().string,styles:Lq().object},rhe.defaultProps={header:"Color Picker",styles:{}};Ape(rhe);var ohe=function(t){var n=t.onChange,r=t.rgb,o=t.hsl,i=t.hex,a=t.disableAlpha,s=(0,cue.ZP)({default:{fields:{display:"flex",paddingTop:"4px"},single:{flex:"1",paddingLeft:"6px"},alpha:{flex:"1",paddingLeft:"6px"},double:{flex:"2"},input:{width:"80%",padding:"4px 10% 3px",border:"none",boxShadow:"inset 0 0 0 1px #ccc",fontSize:"11px"},label:{display:"block",textAlign:"center",fontSize:"11px",color:"#222",paddingTop:"3px",paddingBottom:"4px",textTransform:"capitalize"}},disableAlpha:{alpha:{display:"none"}}},{disableAlpha:a}),l=function(e,t){e.hex?dpe(e.hex)&&n({hex:e.hex,source:"hex"},t):e.r||e.g||e.b?n({r:e.r||r.r,g:e.g||r.g,b:e.b||r.b,a:r.a,source:"rgb"},t):e.a&&(e.a<0?e.a=0:e.a>100&&(e.a=100),e.a/=100,n({h:o.h,s:o.s,l:o.l,a:e.a,source:"rgb"},t))};return e.createElement("div",{style:s.fields,className:"flexbox-fix"},e.createElement("div",{style:s.double},e.createElement(Bue,{style:{input:s.input,label:s.label},label:"hex",value:i.replace("#",""),onChange:l})),e.createElement("div",{style:s.single},e.createElement(Bue,{style:{input:s.input,label:s.label},label:"r",value:r.r,onChange:l,dragLabel:"true",dragMax:"255"})),e.createElement("div",{style:s.single},e.createElement(Bue,{style:{input:s.input,label:s.label},label:"g",value:r.g,onChange:l,dragLabel:"true",dragMax:"255"})),e.createElement("div",{style:s.single},e.createElement(Bue,{style:{input:s.input,label:s.label},label:"b",value:r.b,onChange:l,dragLabel:"true",dragMax:"255"})),e.createElement("div",{style:s.alpha},e.createElement(Bue,{style:{input:s.input,label:s.label},label:"a",value:Math.round(100*r.a),onChange:l,dragLabel:"true",dragMax:"100"})))},ihe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ahe=function(t){var n=t.colors,r=t.onClick,o=void 0===r?function(){}:r,i=t.onSwatchHover,a=(0,cue.ZP)({default:{colors:{margin:"0 -10px",padding:"10px 0 0 10px",borderTop:"1px solid #eee",display:"flex",flexWrap:"wrap",position:"relative"},swatchWrap:{width:"16px",height:"16px",margin:"0 10px 10px 0"},swatch:{borderRadius:"3px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15)"}},"no-presets":{colors:{display:"none"}}},{"no-presets":!n||!n.length}),s=function(e,t){o({hex:e,source:"hex"},t)};return e.createElement("div",{style:a.colors,className:"flexbox-fix"},n.map((function(t){var n="string"===typeof t?{color:t}:t,r=""+n.color+(n.title||"");return e.createElement("div",{key:r,style:a.swatchWrap},e.createElement(Mpe,ihe({},n,{style:a.swatch,onClick:s,onHover:i,focusStyle:{boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), 0 0 4px "+n.color}})))})))};ahe.propTypes={colors:Lq().arrayOf(Lq().oneOfType([Lq().string,Lq().shape({color:Lq().string,title:Lq().string})])).isRequired};var she=ahe,lhe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},che=function(t){var n=t.width,r=t.rgb,o=t.hex,i=t.hsv,a=t.hsl,s=t.onChange,l=t.onSwatchHover,c=t.disableAlpha,u=t.presetColors,d=t.renderers,p=t.styles,f=void 0===p?{}:p,h=t.className,b=void 0===h?"":h,A=(0,cue.ZP)(sde({default:lhe({picker:{width:n,padding:"10px 10px 0",boxSizing:"initial",background:"#fff",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.15), 0 8px 16px rgba(0,0,0,.15)"},saturation:{width:"100%",paddingBottom:"75%",position:"relative",overflow:"hidden"},Saturation:{radius:"3px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},controls:{display:"flex"},sliders:{padding:"4px 0",flex:"1"},color:{width:"24px",height:"24px",position:"relative",marginTop:"4px",marginLeft:"4px",borderRadius:"3px"},activeColor:{absolute:"0px 0px 0px 0px",borderRadius:"2px",background:"rgba("+r.r+","+r.g+","+r.b+","+r.a+")",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},hue:{position:"relative",height:"10px",overflow:"hidden"},Hue:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},alpha:{position:"relative",height:"10px",marginTop:"4px",overflow:"hidden"},Alpha:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"}},f),disableAlpha:{color:{height:"10px"},hue:{height:"10px"},alpha:{display:"none"}}},f),{disableAlpha:c});return e.createElement("div",{style:A.picker,className:"sketch-picker "+b},e.createElement("div",{style:A.saturation},e.createElement(wde,{style:A.Saturation,hsl:a,hsv:i,onChange:s})),e.createElement("div",{style:A.controls,className:"flexbox-fix"},e.createElement("div",{style:A.sliders},e.createElement("div",{style:A.hue},e.createElement(Pue,{style:A.Hue,hsl:a,onChange:s})),e.createElement("div",{style:A.alpha},e.createElement(kue,{style:A.Alpha,rgb:r,hsl:a,renderers:d,onChange:s}))),e.createElement("div",{style:A.color},e.createElement(xue,null),e.createElement("div",{style:A.activeColor}))),e.createElement(ohe,{rgb:r,hsl:a,hex:o,onChange:s,disableAlpha:c}),e.createElement(she,{colors:u,onClick:s,onSwatchHover:l}))};che.propTypes={disableAlpha:Lq().bool,width:Lq().oneOfType([Lq().string,Lq().number]),styles:Lq().object},che.defaultProps={disableAlpha:!1,width:200,styles:{},presetColors:["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF"]};var uhe=Ape(che),dhe=function(t){var n=t.hsl,r=t.offset,o=t.onClick,i=void 0===o?function(){}:o,a=t.active,s=t.first,l=t.last,c=(0,cue.ZP)({default:{swatch:{height:"12px",background:"hsl("+n.h+", 50%, "+100*r+"%)",cursor:"pointer"}},first:{swatch:{borderRadius:"2px 0 0 2px"}},last:{swatch:{borderRadius:"0 2px 2px 0"}},active:{swatch:{transform:"scaleY(1.8)",borderRadius:"3.6px/2px"}}},{active:a,first:s,last:l});return e.createElement("div",{style:c.swatch,onClick:function(e){return i({h:n.h,s:.5,l:r,source:"hsl"},e)}})},phe=function(t){var n=t.onClick,r=t.hsl,o=(0,cue.ZP)({default:{swatches:{marginTop:"20px"},swatch:{boxSizing:"border-box",width:"20%",paddingRight:"1px",float:"left"},clear:{clear:"both"}}}),i=.1;return e.createElement("div",{style:o.swatches},e.createElement("div",{style:o.swatch},e.createElement(dhe,{hsl:r,offset:".80",active:Math.abs(r.l-.8)<i&&Math.abs(r.s-.5)<i,onClick:n,first:!0})),e.createElement("div",{style:o.swatch},e.createElement(dhe,{hsl:r,offset:".65",active:Math.abs(r.l-.65)<i&&Math.abs(r.s-.5)<i,onClick:n})),e.createElement("div",{style:o.swatch},e.createElement(dhe,{hsl:r,offset:".50",active:Math.abs(r.l-.5)<i&&Math.abs(r.s-.5)<i,onClick:n})),e.createElement("div",{style:o.swatch},e.createElement(dhe,{hsl:r,offset:".35",active:Math.abs(r.l-.35)<i&&Math.abs(r.s-.5)<i,onClick:n})),e.createElement("div",{style:o.swatch},e.createElement(dhe,{hsl:r,offset:".20",active:Math.abs(r.l-.2)<i&&Math.abs(r.s-.5)<i,onClick:n,last:!0})),e.createElement("div",{style:o.clear}))},fhe=function(){var t=(0,cue.ZP)({default:{picker:{width:"14px",height:"14px",borderRadius:"6px",transform:"translate(-7px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return e.createElement("div",{style:t.picker})},hhe=function(t){var n=t.hsl,r=t.onChange,o=t.pointer,i=t.styles,a=void 0===i?{}:i,s=t.className,l=void 0===s?"":s,c=(0,cue.ZP)(sde({default:{hue:{height:"12px",position:"relative"},Hue:{radius:"2px"}}},a));return e.createElement("div",{style:c.wrap||{},className:"slider-picker "+l},e.createElement("div",{style:c.hue},e.createElement(Pue,{style:c.Hue,hsl:n,pointer:o,onChange:r})),e.createElement("div",{style:c.swatches},e.createElement(phe,{hsl:n,onClick:r})))};hhe.propTypes={styles:Lq().object},hhe.defaultProps={pointer:fhe,styles:{}};Ape(hhe);var bhe=__webpack_require__(99932),Ahe=function(t){var n=t.color,r=t.onClick,o=void 0===r?function(){}:r,i=t.onSwatchHover,a=t.first,s=t.last,l=t.active,c=(0,cue.ZP)({default:{color:{width:"40px",height:"24px",cursor:"pointer",background:n,marginBottom:"1px"},check:{color:ppe(n),marginLeft:"8px",display:"none"}},first:{color:{overflow:"hidden",borderRadius:"2px 2px 0 0"}},last:{color:{overflow:"hidden",borderRadius:"0 0 2px 2px"}},active:{check:{display:"block"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},check:{color:"#333"}},transparent:{check:{color:"#333"}}},{first:a,last:s,active:l,"color-#FFFFFF":"#FFFFFF"===n,transparent:"transparent"===n});return e.createElement(Mpe,{color:n,style:c.color,onClick:o,onHover:i,focusStyle:{boxShadow:"0 0 4px "+n}},e.createElement("div",{style:c.check},e.createElement(bhe.Z,null)))},mhe=function(t){var n=t.onClick,r=t.onSwatchHover,o=t.group,i=t.active,a=(0,cue.ZP)({default:{group:{paddingBottom:"10px",width:"40px",float:"left",marginRight:"10px"}}});return e.createElement("div",{style:a.group},dfe(o,(function(t,a){return e.createElement(Ahe,{key:t,color:t,active:t.toLowerCase()===i,first:0===a,last:a===o.length-1,onClick:n,onSwatchHover:r})})))},ghe=function(t){var n=t.width,r=t.height,o=t.onChange,i=t.onSwatchHover,a=t.colors,s=t.hex,l=t.styles,c=void 0===l?{}:l,u=t.className,d=void 0===u?"":u,p=(0,cue.ZP)(sde({default:{picker:{width:n,height:r},overflow:{height:r,overflowY:"scroll"},body:{padding:"16px 0 6px 16px"},clear:{clear:"both"}}},c)),f=function(e,t){return o({hex:e,source:"hex"},t)};return e.createElement("div",{style:p.picker,className:"swatches-picker "+d},e.createElement(cde,null,e.createElement("div",{style:p.overflow},e.createElement("div",{style:p.body},dfe(a,(function(t){return e.createElement(mhe,{key:t.toString(),group:t,active:s,onClick:f,onSwatchHover:i})})),e.createElement("div",{style:p.clear})))))};ghe.propTypes={width:Lq().oneOfType([Lq().string,Lq().number]),height:Lq().oneOfType([Lq().string,Lq().number]),colors:Lq().arrayOf(Lq().arrayOf(Lq().string)),styles:Lq().object},ghe.defaultProps={width:320,height:240,colors:[[hfe[900],hfe[700],hfe[500],hfe[300],hfe[100]],[bfe[900],bfe[700],bfe[500],bfe[300],bfe[100]],[Afe[900],Afe[700],Afe[500],Afe[300],Afe[100]],[mfe[900],mfe[700],mfe[500],mfe[300],mfe[100]],[gfe[900],gfe[700],gfe[500],gfe[300],gfe[100]],[vfe[900],vfe[700],vfe[500],vfe[300],vfe[100]],[yfe[900],yfe[700],yfe[500],yfe[300],yfe[100]],[Mfe[900],Mfe[700],Mfe[500],Mfe[300],Mfe[100]],[Ofe[900],Ofe[700],Ofe[500],Ofe[300],Ofe[100]],["#194D33",_fe[700],_fe[500],_fe[300],_fe[100]],[zfe[900],zfe[700],zfe[500],zfe[300],zfe[100]],[xfe[900],xfe[700],xfe[500],xfe[300],xfe[100]],[wfe[900],wfe[700],wfe[500],wfe[300],wfe[100]],[Cfe[900],Cfe[700],Cfe[500],Cfe[300],Cfe[100]],[Sfe[900],Sfe[700],Sfe[500],Sfe[300],Sfe[100]],[Efe[900],Efe[700],Efe[500],Efe[300],Efe[100]],[kfe[900],kfe[700],kfe[500],kfe[300],kfe[100]],[Dfe[900],Dfe[700],Dfe[500],Dfe[300],Dfe[100]],["#000000","#525252","#969696","#D9D9D9","#FFFFFF"]],styles:{}};Ape(ghe);var vhe=function(t){var n=t.onChange,r=t.onSwatchHover,o=t.hex,i=t.colors,a=t.width,s=t.triangle,l=t.styles,c=void 0===l?{}:l,u=t.className,d=void 0===u?"":u,p=(0,cue.ZP)(sde({default:{card:{width:a,background:"#fff",border:"0 solid rgba(0,0,0,0.25)",boxShadow:"0 1px 4px rgba(0,0,0,0.25)",borderRadius:"4px",position:"relative"},body:{padding:"15px 9px 9px 15px"},label:{fontSize:"18px",color:"#fff"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent #fff transparent",position:"absolute"},triangleShadow:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent rgba(0,0,0,.1) transparent",position:"absolute"},hash:{background:"#F0F0F0",height:"30px",width:"30px",borderRadius:"4px 0 0 4px",float:"left",color:"#98A1A4",display:"flex",alignItems:"center",justifyContent:"center"},input:{width:"100px",fontSize:"14px",color:"#666",border:"0px",outline:"none",height:"28px",boxShadow:"inset 0 0 0 1px #F0F0F0",boxSizing:"content-box",borderRadius:"0 4px 4px 0",float:"left",paddingLeft:"8px"},swatch:{width:"30px",height:"30px",float:"left",borderRadius:"4px",margin:"0 6px 6px 0"},clear:{clear:"both"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-10px",left:"12px"},triangleShadow:{top:"-11px",left:"12px"}},"top-right-triangle":{triangle:{top:"-10px",right:"12px"},triangleShadow:{top:"-11px",right:"12px"}}},c),{"hide-triangle":"hide"===s,"top-left-triangle":"top-left"===s,"top-right-triangle":"top-right"===s}),f=function(e,t){dpe(e)&&n({hex:e,source:"hex"},t)};return e.createElement("div",{style:p.card,className:"twitter-picker "+d},e.createElement("div",{style:p.triangleShadow}),e.createElement("div",{style:p.triangle}),e.createElement("div",{style:p.body},dfe(i,(function(t,n){return e.createElement(Mpe,{key:n,color:t,hex:t,style:p.swatch,onClick:f,onHover:r,focusStyle:{boxShadow:"0 0 4px "+t}})})),e.createElement("div",{style:p.hash},"#"),e.createElement(Bue,{label:null,style:{input:p.input},value:o.replace("#",""),onChange:f}),e.createElement("div",{style:p.clear})))};vhe.propTypes={width:Lq().oneOfType([Lq().string,Lq().number]),triangle:Lq().oneOf(["hide","top-left","top-right"]),colors:Lq().arrayOf(Lq().string),styles:Lq().object},vhe.defaultProps={width:276,colors:["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"],triangle:"top-left",styles:{}};Ape(vhe);var yhe=function(t){var n=(0,cue.ZP)({default:{picker:{width:"20px",height:"20px",borderRadius:"22px",border:"2px #fff solid",transform:"translate(-12px, -13px)",background:"hsl("+Math.round(t.hsl.h)+", "+Math.round(100*t.hsl.s)+"%, "+Math.round(100*t.hsl.l)+"%)"}}});return e.createElement("div",{style:n.picker})};yhe.propTypes={hsl:Lq().shape({h:Lq().number,s:Lq().number,l:Lq().number,a:Lq().number})},yhe.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}};var Mhe=yhe,Ohe=function(t){var n=(0,cue.ZP)({default:{picker:{width:"20px",height:"20px",borderRadius:"22px",transform:"translate(-10px, -7px)",background:"hsl("+Math.round(t.hsl.h)+", 100%, 50%)",border:"2px white solid"}}});return e.createElement("div",{style:n.picker})};Ohe.propTypes={hsl:Lq().shape({h:Lq().number,s:Lq().number,l:Lq().number,a:Lq().number})},Ohe.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}};var _he=Ohe,zhe=function(t){var n=t.onChange,r=t.rgb,o=t.hsl,i=t.hex,a=t.hsv,s=function(e,t){if(e.hex)dpe(e.hex)&&n({hex:e.hex,source:"hex"},t);else if(e.rgb){var r=e.rgb.split(",");fpe(e.rgb,"rgb")&&n({r:r[0],g:r[1],b:r[2],a:1,source:"rgb"},t)}else if(e.hsv){var o=e.hsv.split(",");fpe(e.hsv,"hsv")&&(o[2]=o[2].replace("%",""),o[1]=o[1].replace("%",""),o[0]=o[0].replace("\xb0",""),1==o[1]?o[1]=.01:1==o[2]&&(o[2]=.01),n({h:Number(o[0]),s:Number(o[1]),v:Number(o[2]),source:"hsv"},t))}else if(e.hsl){var i=e.hsl.split(",");fpe(e.hsl,"hsl")&&(i[2]=i[2].replace("%",""),i[1]=i[1].replace("%",""),i[0]=i[0].replace("\xb0",""),1==d[1]?d[1]=.01:1==d[2]&&(d[2]=.01),n({h:Number(i[0]),s:Number(i[1]),v:Number(i[2]),source:"hsl"},t))}},l=(0,cue.ZP)({default:{wrap:{display:"flex",height:"100px",marginTop:"4px"},fields:{width:"100%"},column:{paddingTop:"10px",display:"flex",justifyContent:"space-between"},double:{padding:"0px 4.4px",boxSizing:"border-box"},input:{width:"100%",height:"38px",boxSizing:"border-box",padding:"4px 10% 3px",textAlign:"center",border:"1px solid #dadce0",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",fontFamily:"Roboto,Arial,sans-serif"},input2:{height:"38px",width:"100%",border:"1px solid #dadce0",boxSizing:"border-box",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",paddingLeft:"10px",fontFamily:"Roboto,Arial,sans-serif"},label:{textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"35px",top:"-6px",left:"0",right:"0",marginLeft:"auto",marginRight:"auto",fontFamily:"Roboto,Arial,sans-serif"},label2:{left:"10px",textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"32px",top:"-6px",fontFamily:"Roboto,Arial,sans-serif"},single:{flexGrow:"1",margin:"0px 4.4px"}}}),c=r.r+", "+r.g+", "+r.b,u=Math.round(o.h)+"\xb0, "+Math.round(100*o.s)+"%, "+Math.round(100*o.l)+"%",d=Math.round(a.h)+"\xb0, "+Math.round(100*a.s)+"%, "+Math.round(100*a.v)+"%";return e.createElement("div",{style:l.wrap,className:"flexbox-fix"},e.createElement("div",{style:l.fields},e.createElement("div",{style:l.double},e.createElement(Bue,{style:{input:l.input,label:l.label},label:"hex",value:i,onChange:s})),e.createElement("div",{style:l.column},e.createElement("div",{style:l.single},e.createElement(Bue,{style:{input:l.input2,label:l.label2},label:"rgb",value:c,onChange:s})),e.createElement("div",{style:l.single},e.createElement(Bue,{style:{input:l.input2,label:l.label2},label:"hsv",value:d,onChange:s})),e.createElement("div",{style:l.single},e.createElement(Bue,{style:{input:l.input2,label:l.label2},label:"hsl",value:u,onChange:s})))))},xhe=function(t){var n=t.width,r=t.onChange,o=t.rgb,i=t.hsl,a=t.hsv,s=t.hex,l=t.header,c=t.styles,u=void 0===c?{}:c,d=t.className,p=void 0===d?"":d,f=(0,cue.ZP)(sde({default:{picker:{width:n,background:"#fff",border:"1px solid #dfe1e5",boxSizing:"initial",display:"flex",flexWrap:"wrap",borderRadius:"8px 8px 0px 0px"},head:{height:"57px",width:"100%",paddingTop:"16px",paddingBottom:"16px",paddingLeft:"16px",fontSize:"20px",boxSizing:"border-box",fontFamily:"Roboto-Regular,HelveticaNeue,Arial,sans-serif"},saturation:{width:"70%",padding:"0px",position:"relative",overflow:"hidden"},swatch:{width:"30%",height:"228px",padding:"0px",background:"rgba("+o.r+", "+o.g+", "+o.b+", 1)",position:"relative",overflow:"hidden"},body:{margin:"auto",width:"95%"},controls:{display:"flex",boxSizing:"border-box",height:"52px",paddingTop:"22px"},color:{width:"32px"},hue:{height:"8px",position:"relative",margin:"0px 16px 0px 16px",width:"100%"},Hue:{radius:"2px"}}},u));return e.createElement("div",{style:f.picker,className:"google-picker "+p},e.createElement("div",{style:f.head},l),e.createElement("div",{style:f.swatch}),e.createElement("div",{style:f.saturation},e.createElement(wde,{hsl:i,hsv:a,pointer:Mhe,onChange:r})),e.createElement("div",{style:f.body},e.createElement("div",{style:f.controls,className:"flexbox-fix"},e.createElement("div",{style:f.hue},e.createElement(Pue,{style:f.Hue,hsl:i,radius:"4px",pointer:_he,onChange:r}))),e.createElement(zhe,{rgb:o,hsl:i,hex:s,hsv:a,onChange:r})))};xhe.propTypes={width:Lq().oneOfType([Lq().string,Lq().number]),styles:Lq().object,header:Lq().string},xhe.defaultProps={width:652,styles:{},header:"Color picker"};Ape(xhe);var whe,Che="sketch-color-picker_sketchColorPicker__ppCMx",She="#ef3526",Ehe=function(t){var r=(0,e.useState)(!1),o=(0,n.Z)(r,2),i=o[0],a=o[1],s=(0,e.useState)({hex:t.color||She}),l=(0,n.Z)(s,2),c=l[0],u=l[1],d=function(){a(!i)};(0,e.useEffect)((function(){t.onChange(c)}),[c]);var p=(0,cue.ZP)({default:{color:{width:"28px",height:"28px",borderRadius:"4px",background:"".concat(c.hex)},swatch:{background:"#fff",borderRadius:"1px",display:"inline-block",cursor:"pointer"},popover:{position:"absolute",zIndex:"2",right:"0"},cover:{position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}}});return(0,e.useEffect)((function(){u({hex:t.color||She})}),[t.color]),(0,Kl.jsxs)("div",{className:Che,children:[(0,Kl.jsx)("div",{style:p.swatch,onClick:d,children:(0,Kl.jsx)("div",{style:p.color})}),i&&(0,Kl.jsxs)("div",{style:p.popover,children:[(0,Kl.jsx)("div",{style:p.cover,onClick:d}),(0,Kl.jsx)(uhe,{color:c,onChange:function(e){u({hex:e.hex}),t.onChange(e)}})]}),(0,Kl.jsx)(bue,{onClick:d}),(0,Kl.jsx)(yue,{onClick:function(){u({hex:t.defaultColor})}})]})},khe=function(e){var t=e.name,n=e.label,r=e.formikBlock0,o=e.handleChangeSketchColorPicker,i=(e.savedSettings,e.defaultColor);return(0,Kl.jsx)(AC,{item:!0,xs:12,children:(0,Kl.jsxs)(AC,{container:!0,spacing:2,style:{justifyContent:"space-between",width:"100%",gap:"20px"},children:[(0,Kl.jsx)(AC,{item:!0,xs:!0,children:(0,Kl.jsx)(Wu.Z,{fullWidth:!0,name:t,label:n,variant:"outlined",InputLabelProps:{style:{color:"#B57C2A"}},InputProps:{className:Zle,readOnly:!0},value:r.values[t],onChange:function(e){return r.setFieldValue(e.target.name,e.target.value)},"aria-readonly":!0})}),(0,Kl.jsx)(AC,{item:!0,style:{width:"120px"},children:(0,Kl.jsx)(AC,{container:!0,alignItems:"center",justifyContent:"center",style:{height:"100%"},children:(0,Kl.jsx)(Ehe,{defaultColor:i,color:r.values[t],onChange:function(e){return o(t,e)}})})})]})})},Dhe=function(e){return{width:"40px",height:"40px",borderRadius:"50%",border:"2px solid ".concat(e),display:"flex",justifyContent:"center",alignItems:"center",cursor:"pointer",position:"relative",overflow:"hidden",transition:"border-color 0.3s"}},Nhe=function(e,t){return{width:"50%",height:"50%",backgroundColor:e,position:"absolute",top:t<2?0:"50%",left:t%2===0?0:"50%",transformOrigin:"0 0"}},The=function(e){var t=e.colors,n=e.onClick,r=t.border_color,o=[t.primary_background_color,t.primary_text_color,t.secondary_background_color,t.secondary_text_color,r];return(0,Kl.jsx)("button",{style:Dhe(r),onClick:n,children:o.slice(0,4).map((function(e,t){return(0,Kl.jsx)("div",{style:Nhe(e,t)},t)}))})},jhe=/^#([0-9a-fA-F]{6})$/,Bhe=/^(https?:\/\/)?((([a-zA-Z0-9_-]+\.)+[a-zA-Z]{2,})|localhost|(\d{1,3}\.){3}\d{1,3})(:\d{2,5})?(\/[a-zA-Z0-9._~-]*)*(\?[a-zA-Z0-9&%=._~-]*)?(#[a-zA-Z0-9-_]*)?$/,Lhe=jk.object({settings_external_booking_brand_primary_background_color:jk.string().matches(jhe,"Enter a valid primary background color"),settings_external_booking_brand_secondary_background_color:jk.string().matches(jhe,"Enter a valid secondary background color"),settings_external_booking_brand_primary_text_color:jk.string().matches(jhe,"Enter a valid primary text color"),settings_external_booking_brand_secondary_text_color:jk.string().matches(jhe,"Enter a valid secondary text color"),settings_external_booking_brand_border_color:jk.string().matches(jhe,"Enter a valid border text color"),settings_external_booking_brand_website_url:jk.string().matches(Bhe,"Enter a valid URL"),settings_external_booking_brand_x_url:jk.string().matches(Bhe,"Enter a valid URL"),settings_external_booking_brand_facebook_url:jk.string().matches(Bhe,"Enter a valid URL"),settings_external_booking_brand_instagram_url:jk.string().matches(Bhe,"Enter a valid URL"),settings_external_booking_brand_tiktok_url:jk.string().matches(Bhe,"Enter a valid URL")}),Rhe=function(){var t=eF((0,qd.Z)().breakpoints.down("xs")),r=(0,e.useRef)(null),o=hE().enqueueSnackbar,i=(0,e.useContext)(bA),a=(0,e.useState)(!1),s=(0,n.Z)(a,2),l=s[0],c=s[1],u=(0,e.useState)(""),d=(0,n.Z)(u,2),p=d[0],f=d[1],h=(0,e.useState)(null),b=(0,n.Z)(h,2),A=b[0],m=b[1],g=(0,e.useState)(!1),v=(0,n.Z)(g,2),y=v[0],M=v[1],O={settings_external_booking_brand_logo:"",settings_external_booking_brand_primary_background_color:"",settings_external_booking_brand_secondary_background_color:"",settings_external_booking_brand_primary_text_color:"",settings_external_booking_brand_secondary_text_color:"",settings_external_booking_brand_border_color:"",settings_external_booking_brand_website_url:"",settings_external_booking_brand_x_url:"",settings_external_booking_brand_facebook_url:"",settings_external_booking_brand_instagram_url:"",settings_external_booking_brand_tiktok_url:"",about:"",description:"",phone:"",email:"",can_pay_full_amount:!0},_=(0,e.useState)(O),z=(0,n.Z)(_,2),x=z[0],w=z[1],C=(0,e.useState)(O),S=(0,n.Z)(C,2),E=S[0],k=S[1],D=(0,e.useState)({}),N=(0,n.Z)(D,2),T=N[0],j=N[1],B=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t,n,r,i,a,s,l,c,u,d,p,h,b,A,g,v,y,O,_,z,x,C,S,E,D,N,T,B,R,q,P,I,W,F,U,Z,H,$,V,X;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return L.setSubmitting(!0),M(!0),e.prev=2,e.next=5,Re.get("/v1/clinic");case 5:V=e.sent,j({location:null===V||void 0===V||null===(t=V.data)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.mainLocation,name:null===V||void 0===V||null===(r=V.data)||void 0===r||null===(i=r.data)||void 0===i?void 0:i.name}),X={settings_external_booking_brand_logo:(null===V||void 0===V||null===(a=V.data)||void 0===a||null===(s=a.data)||void 0===s?void 0:s.settings_external_booking_brand_logo)||"",settings_external_booking_brand_primary_background_color:(null===V||void 0===V||null===(l=V.data)||void 0===l||null===(c=l.data)||void 0===c?void 0:c.settings_external_booking_brand_primary_background_color)||"",settings_external_booking_brand_secondary_background_color:(null===V||void 0===V||null===(u=V.data)||void 0===u||null===(d=u.data)||void 0===d?void 0:d.settings_external_booking_brand_secondary_background_color)||"",settings_external_booking_brand_primary_text_color:(null===V||void 0===V||null===(p=V.data)||void 0===p||null===(h=p.data)||void 0===h?void 0:h.settings_external_booking_brand_primary_text_color)||"",settings_external_booking_brand_secondary_text_color:(null===V||void 0===V||null===(b=V.data)||void 0===b||null===(A=b.data)||void 0===A?void 0:A.settings_external_booking_brand_secondary_text_color)||"",settings_external_booking_brand_border_color:(null===V||void 0===V||null===(g=V.data)||void 0===g||null===(v=g.data)||void 0===v?void 0:v.settings_external_booking_brand_border_color)||"",settings_external_booking_brand_website_url:(null===V||void 0===V||null===(y=V.data)||void 0===y||null===(O=y.data)||void 0===O?void 0:O.settings_external_booking_brand_website_url)||"",settings_external_booking_brand_x_url:(null===V||void 0===V||null===(_=V.data)||void 0===_||null===(z=_.data)||void 0===z?void 0:z.settings_external_booking_brand_x_url)||"",settings_external_booking_brand_facebook_url:(null===V||void 0===V||null===(x=V.data)||void 0===x||null===(C=x.data)||void 0===C?void 0:C.settings_external_booking_brand_facebook_url)||"",settings_external_booking_brand_instagram_url:(null===V||void 0===V||null===(S=V.data)||void 0===S||null===(E=S.data)||void 0===E?void 0:E.settings_external_booking_brand_instagram_url)||"",settings_external_booking_brand_tiktok_url:(null===V||void 0===V||null===(D=V.data)||void 0===D||null===(N=D.data)||void 0===N?void 0:N.settings_external_booking_brand_tiktok_url)||"",about:(null===V||void 0===V||null===(T=V.data)||void 0===T||null===(B=T.data)||void 0===B?void 0:B.about)||"",description:(null===V||void 0===V||null===(R=V.data)||void 0===R||null===(q=R.data)||void 0===q?void 0:q.description)||"",phone:(null===V||void 0===V||null===(P=V.data)||void 0===P||null===(I=P.data)||void 0===I?void 0:I.phone)||"",email:(null===V||void 0===V||null===(W=V.data)||void 0===W||null===(F=W.data)||void 0===F?void 0:F.email)||"",can_pay_full_amount:null===V||void 0===V||null===(U=V.data)||void 0===U||null===(Z=U.data)||void 0===Z?void 0:Z.can_pay_full_amount},w(Us({},X)),k(Us({},X)),f(V.data.data.external_booking_link),m(null===V||void 0===V||null===(H=V.data)||void 0===H||null===($=H.data)||void 0===$?void 0:$.settings_external_booking_brand_logo),e.next=17;break;case 14:e.prev=14,e.t0=e.catch(2),Object.values(null===e.t0||void 0===e.t0?void 0:e.t0.errors).forEach((function(e){return null===e||void 0===e?void 0:e.forEach((function(e){return o(e,{variant:"error"})}))}));case 17:return e.prev=17,setTimeout((function(){L.setSubmitting(!1),M(!1)}),1e3),e.finish(17);case 20:case"end":return e.stop()}}),e,null,[[2,14,17,20]])})));return function(){return e.apply(this,arguments)}}(),L=Xj({initialValues:E,enableReinitialize:!0,validationSchema:Lhe,onSubmit:function(e,t){q(e,t).catch(console.error)}}),R=function(e,t){e.resetForm({values:t}),e.setTouched({}),e.setErrors({}),e.setValues(t),e.setSubmitting(!1)},q=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t,n){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Re.put("/v1/clinic/".concat(i.clinic.id,"/settings/external-booking/brand"),t);case 3:o("The Brand details has been submitted",{variant:"success"}),e.next=9;break;case 6:e.prev=6,e.t0=e.catch(0),Object.values(null===e.t0||void 0===e.t0?void 0:e.t0.errors).forEach((function(e){return null===e||void 0===e?void 0:e.forEach((function(e){return o(e,{variant:"error"})}))}));case 9:return e.prev=9,R(n,t),e.finish(9);case 12:case"end":return e.stop()}}),e,null,[[0,6,9,12]])})));return function(t,n){return e.apply(this,arguments)}}(),P=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,r,a,s,l;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return M(!0),n=new FormData,r=t.target.files[0],n.append("image",r),e.prev=4,e.next=7,Re.post("/v1/clinic/".concat(i.clinic.id,"/settings/external-booking/brand/logo"),n);case 7:l=e.sent,m(null===l||void 0===l||null===(a=l.data)||void 0===a?void 0:a.image_url),o("The logo has been uploaded",{variant:"success"}),k(Us(Us({},E),{},{settings_external_booking_brand_logo:null===l||void 0===l||null===(s=l.data)||void 0===s?void 0:s.image_url})),e.next=16;break;case 13:e.prev=13,e.t0=e.catch(4),Object.values(null===e.t0||void 0===e.t0?void 0:e.t0.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return o(e,{variant:"error"})}))}));case 16:return e.prev=16,M(!1),e.finish(16);case 19:case"end":return e.stop()}}),e,null,[[4,13,16,19]])})));return function(t){return e.apply(this,arguments)}}(),I=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return M(!0),e.prev=1,e.next=4,Re.delete("/v1/clinic/".concat(i.clinic.id,"/settings/external-booking/brand/logo"),{data:{url:A}});case 4:m(null),o("The logo has been removed",{variant:"success"}),k(Us(Us({},E),{},{settings_external_booking_brand_logo:""})),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(1),Object.values(null===e.t0||void 0===e.t0?void 0:e.t0.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return o(e,{variant:"error"})}))}));case 12:return e.prev=12,M(!1),e.finish(12);case 15:case"end":return e.stop()}}),e,null,[[1,9,12,15]])})));return function(){return e.apply(this,arguments)}}(),W=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(k(Us({},x)),x.settings_external_booking_brand_logo||!A){e.next=4;break}return e.next=4,I();case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),F=function(e,t){L.setFieldValue(e,t.hex)};(0,e.useEffect)((function(){B().catch(console.error)}),[]);var U=L.dirty,Z=L.isSubmitting;return(0,Kl.jsxs)("div",{className:Nle,children:[(0,Kl.jsxs)("div",{className:Tle,children:[(0,Kl.jsxs)("div",{className:jle,children:[(0,Kl.jsxs)("div",{className:Ble,children:[(0,Kl.jsx)("a",{href:"/settings",className:Rle,children:"Settings"}),(0,Kl.jsx)("svg",{width:"7",height:"12",viewBox:"0 0 7 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,Kl.jsx)("path",{d:"M0.178664 11.8433C-0.0510655 11.6267 -0.05962 11.2644 0.156375 11.0358L4.92734 5.99971L0.156399 0.96416C-0.0601819 0.73558 -0.0510417 0.373854 0.178687 0.156711C0.40783 -0.0604327 0.769556 -0.0507298 0.986699 0.178437L6.12968 5.60714C6.23369 5.71685 6.28626 5.85857 6.28626 5.99971C6.28626 6.14084 6.23369 6.28313 6.12968 6.39286L0.986699 11.8216C0.769532 12.0507 0.40783 12.0604 0.178664 11.8433Z",fill:"#78828A"})}),(0,Kl.jsx)("a",{href:"/",className:Lle,children:"Brand Setting"})]}),(0,Kl.jsx)("h2",{children:"Brand Settings"})]}),(0,Kl.jsxs)("div",{className:qle,children:[(0,Kl.jsxs)(zd.Z,{variant:"outlined",className:"".concat(Qle," ").concat(l?Gle:""),color:"primary",onClick:function(){navigator.clipboard.writeText(p).then((function(){c(!0),setTimeout((function(){return c(!1)}),2e3)}))},children:[(0,Kl.jsx)("span",{className:Yle,children:String(p)}),l?(0,Kl.jsx)(_le,{}):(0,Kl.jsx)(Dle,{})]}),(0,Kl.jsx)(zd.Z,{variant:"outlined",color:"primary",style:{color:"#B67D2B",width:"105px"},component:"button",onClick:W,children:"CANCEL"}),(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",style:{background:"#B57C2A",width:"105px"},component:"button",onClick:function(){L.handleSubmit()},children:"SAVE"})]})]}),(0,Kl.jsxs)(AC,{container:!0,spacing:t?3:4,children:[(0,Kl.jsxs)(AC,{item:!0,xs:12,md:12,lg:7,children:[(0,Kl.jsx)(AC,{item:!0,xs:12,children:(0,Kl.jsxs)("div",{className:Ple,children:[y?(0,Kl.jsx)(NE,{}):null,(0,Kl.jsxs)("div",{className:Ile,children:[A?(0,Kl.jsxs)("div",{className:Wle,children:[(0,Kl.jsx)("div",{className:Ule,children:(0,Kl.jsx)("img",{src:A,alt:"Logo"})}),(0,Kl.jsx)(zd.Z,{variant:"contained",startIcon:(0,Kl.jsx)(dle,{}),className:Vle,onClick:function(){return I()}})]}):"",!A&&(0,Kl.jsxs)("div",{className:Fle,children:[(0,Kl.jsx)(BE.Z,{id:"contained-button-file-browse",type:"file",inputProps:{accept:"image/*"},onInput:function(e){return P(e)},style:{display:"none"},ref:r}),!A&&(0,Kl.jsx)(Kl.Fragment,{children:(0,Kl.jsx)("label",{htmlFor:"contained-button-file-browse",children:(0,Kl.jsx)(zd.Z,{variant:"outlined",color:"primary",startIcon:(0,Kl.jsx)(mle,{}),component:"span",className:$le,onClick:function(){var e=document.createElement("input");e.type="file",e.accept="image/*",e.style.display="none";var t=r.current;t&&t.parentNode&&t.parentNode.replaceChild(e,t),r.current=e,e.addEventListener("change",P),e.click()},children:"UPLOAD brand logo"})})})]})]})]})}),(0,Kl.jsx)(AC,{item:!0,xs:12,children:(0,Kl.jsx)("form",{onSubmit:function(e){e.preventDefault(),k(Us(Us({},L.values),{},{settings_external_booking_brand_logo:A}))},children:(0,Kl.jsxs)("div",{className:Ple,children:[Z?(0,Kl.jsx)(NE,{}):null,(0,Kl.jsxs)(AC,{container:!0,spacing:t?3:4,children:[(0,Kl.jsxs)(Cb,{display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%",padding:"0 16px",children:[(0,Kl.jsx)("h4",{children:"Themes"}),(0,Kl.jsx)(Cb,{display:"flex",children:QE.map((function(e,t){return(0,Kl.jsx)(The,{colors:e,onClick:function(){return t=e,void Object.entries(t).forEach((function(e){var t=(0,n.Z)(e,2),r=t[0],o=t[1],i="settings_external_booking_brand_"+r;L.setFieldValue(i,o)}));var t}},t)}))})]}),(0,Kl.jsxs)(Cb,{display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%",padding:"0 16px",children:[(0,Kl.jsx)("h4",{children:"Can Pay Full Amount"}),(0,Kl.jsx)(rS.Z,{name:"can_pay_full_amount",color:"primary",checked:L.values.can_pay_full_amount,onChange:function(e){L.setFieldValue("can_pay_full_amount",!L.values.can_pay_full_amount)}})]}),(0,Kl.jsx)(khe,{name:"settings_external_booking_brand_primary_background_color",label:"Primary Color",formikBlock0:L,defaultColor:QE[0].primary_background_color,handleChangeSketchColorPicker:F,savedSettings:x}),(0,Kl.jsx)(khe,{name:"settings_external_booking_brand_secondary_background_color",label:"Background Color",formikBlock0:L,defaultColor:QE[0].secondary_background_color,handleChangeSketchColorPicker:F,savedSettings:x}),(0,Kl.jsx)(khe,{name:"settings_external_booking_brand_primary_text_color",label:"Primary Text Color",defaultColor:QE[0].primary_text_color,formikBlock0:L,handleChangeSketchColorPicker:F,savedSettings:x}),(0,Kl.jsx)(khe,{name:"settings_external_booking_brand_secondary_text_color",label:"Secondary Text Color",defaultColor:QE[0].secondary_text_color,formikBlock0:L,handleChangeSketchColorPicker:F,savedSettings:x}),(0,Kl.jsx)(khe,{name:"settings_external_booking_brand_border_color",label:"BorderColor",defaultColor:QE[0].border_color,formikBlock0:L,handleChangeSketchColorPicker:F,savedSettings:x}),(0,Kl.jsx)(AC,{item:!0,xs:12,md:12,lg:12,children:(0,Kl.jsx)(Wu.Z,{fullWidth:!0,name:"settings_external_booking_brand_website_url",label:"Website URL",variant:"outlined",InputProps:{className:Zle},value:L.values.settings_external_booking_brand_website_url,error:L.touched.settings_external_booking_brand_website_url&&Boolean(L.errors.settings_external_booking_brand_website_url),helperText:L.touched.settings_external_booking_brand_website_url&&L.errors.settings_external_booking_brand_website_url,onChange:function(e){return L.setFieldValue(e.target.name,e.target.value)}})}),(0,Kl.jsx)(AC,{item:!0,xs:12,md:12,lg:12,children:(0,Kl.jsx)(Wu.Z,{fullWidth:!0,name:"settings_external_booking_brand_x_url",label:"X URL",variant:"outlined",InputProps:{className:Zle},value:L.values.settings_external_booking_brand_x_url,error:L.touched.settings_external_booking_brand_x_url&&Boolean(L.errors.settings_external_booking_brand_x_url),helperText:L.touched.settings_external_booking_brand_x_url&&L.errors.settings_external_booking_brand_x_url,onChange:function(e){return L.setFieldValue(e.target.name,e.target.value)}})}),(0,Kl.jsx)(AC,{item:!0,xs:12,md:12,lg:12,children:(0,Kl.jsx)(Wu.Z,{fullWidth:!0,name:"settings_external_booking_brand_facebook_url",label:"Facebook URL",variant:"outlined",InputProps:{className:Zle},value:L.values.settings_external_booking_brand_facebook_url,error:L.touched.settings_external_booking_brand_facebook_url&&Boolean(L.errors.settings_external_booking_brand_facebook_url),helperText:L.touched.settings_external_booking_brand_facebook_url&&L.errors.settings_external_booking_brand_facebook_url,onChange:function(e){return L.setFieldValue(e.target.name,e.target.value)}})}),(0,Kl.jsx)(AC,{item:!0,xs:12,md:12,lg:12,children:(0,Kl.jsx)(Wu.Z,{fullWidth:!0,name:"settings_external_booking_brand_instagram_url",label:"Instagram URL",variant:"outlined",InputProps:{className:Zle},value:L.values.settings_external_booking_brand_instagram_url,error:L.touched.settings_external_booking_brand_instagram_url&&Boolean(L.errors.settings_external_booking_brand_instagram_url),helperText:L.touched.settings_external_booking_brand_instagram_url&&L.errors.settings_external_booking_brand_instagram_url,onChange:function(e){return L.setFieldValue(e.target.name,e.target.value)}})}),(0,Kl.jsx)(AC,{item:!0,xs:12,md:12,lg:12,children:(0,Kl.jsx)(Wu.Z,{fullWidth:!0,name:"settings_external_booking_brand_tiktok_url",label:"TikTok URL",variant:"outlined",InputProps:{className:Zle},value:L.values.settings_external_booking_brand_tiktok_url,error:L.touched.settings_external_booking_brand_tiktok_url&&Boolean(L.errors.settings_external_booking_brand_tiktok_url),helperText:L.touched.settings_external_booking_brand_tiktok_url&&L.errors.settings_external_booking_brand_tiktok_url,onChange:function(e){return L.setFieldValue(e.target.name,e.target.value)}})}),(0,Kl.jsx)(AC,{item:!0,xs:12,md:12,lg:12,children:(0,Kl.jsx)(Wu.Z,{fullWidth:!0,name:"phone",label:"Phone",variant:"outlined",InputProps:{className:Zle},value:L.values.phone,error:L.touched.phone&&Boolean(L.errors.phone),helperText:L.touched.phone&&L.errors.phone,onChange:function(e){return L.setFieldValue(e.target.name,e.target.value)}})}),(0,Kl.jsx)(AC,{item:!0,xs:12,md:12,lg:12,children:(0,Kl.jsx)(Wu.Z,{fullWidth:!0,name:"email",label:"Email",variant:"outlined",InputProps:{className:Zle},value:L.values.email,error:L.touched.email&&Boolean(L.errors.email),helperText:L.touched.email&&L.errors.email,onChange:function(e){return L.setFieldValue(e.target.name,e.target.value)}})}),(0,Kl.jsx)(AC,{item:!0,xs:12,md:12,lg:12,children:(0,Kl.jsx)(Wu.Z,{fullWidth:!0,name:"description",variant:"outlined",label:"Description",InputProps:{className:Hle},value:L.values.description,error:L.touched.description&&Boolean(L.errors.description),helperText:L.touched.description&&L.errors.description,onChange:function(e){return L.setFieldValue(e.target.name,e.target.value)},multiline:!0,minRows:6})}),(0,Kl.jsx)(AC,{item:!0,xs:12,md:12,lg:12,children:(0,Kl.jsx)(Wu.Z,{fullWidth:!0,variant:"outlined",name:"about",label:"About",InputProps:{className:Hle},value:L.values.about,error:L.touched.about&&Boolean(L.errors.about),helperText:L.touched.about&&L.errors.about,onChange:function(e){return L.setFieldValue(e.target.name,e.target.value)},multiline:!0,minRows:6})}),(0,Kl.jsx)(AC,{item:!0,xs:12,md:12,lg:12,children:(0,Kl.jsx)("div",{className:Xle,children:(0,Kl.jsx)(zd.Z,{type:"submit",variant:"outlined",color:"primary",disabled:Z||!U,children:"APPLY"})})})]})]})})})]}),(0,Kl.jsx)(AC,{item:!0,xs:12,md:12,lg:5,style:{paddingTop:"0"},children:(0,Kl.jsx)(lue,{props:E,info:T})})]})]})},qhe=function(){var t=hE().enqueueSnackbar,r={addressRequired:!1,dateOfBirthRequired:!1,genderRequired:!1,nextOfKinRequired:!1,nextOfKinContactNumberRequired:!1,zipCodeRequired:!1},o=(0,e.useState)(r),i=(0,n.Z)(o,2),a=i[0],s=i[1],l=(0,e.useState)(r),c=(0,n.Z)(l,2),u=c[0],d=c[1],p=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b.setValues(u);case 2:s(Us({},u));case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),f=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(n,r){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Re.post("/v1/clinic-settings/registration",n);case 3:t("The Registration details has been submitted",{variant:"success"}),e.next=9;break;case 6:e.prev=6,e.t0=e.catch(0),Object.values(null===e.t0||void 0===e.t0?void 0:e.t0.errors).forEach((function(e){return null===e||void 0===e?void 0:e.forEach((function(e){return t(e,{variant:"error"})}))}));case 9:return e.prev=9,A(r,n),e.finish(9);case 12:case"end":return e.stop()}}),e,null,[[0,6,9,12]])})));return function(t,n){return e.apply(this,arguments)}}(),h=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var n,o;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return b.setSubmitting(!0),e.prev=1,e.next=4,Re.get("/v1/clinic-settings/registration");case 4:n=e.sent,o=Us({},r),Object.keys(n.data).forEach((function(e){e in o&&(o[e]="1"===n.data[e])})),s(o),d(o),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(1),Object.values(null===e.t0||void 0===e.t0?void 0:e.t0.errors).forEach((function(e){return null===e||void 0===e?void 0:e.forEach((function(e){return t(e,{variant:"error"})}))}));case 14:return e.prev=14,setTimeout((function(){b.setSubmitting(!1)}),1e3),e.finish(14);case 17:case"end":return e.stop()}}),e,null,[[1,11,14,17]])})));return function(){return e.apply(this,arguments)}}(),b=Xj({initialValues:a,enableReinitialize:!0,onSubmit:function(e,t){f(e,t).catch(console.error)}}),A=function(e,t){e.resetForm({values:t}),e.setTouched({}),e.setErrors({}),e.setValues(t),e.setSubmitting(!1)};return(0,e.useEffect)((function(){h().catch(console.error)}),[]),(0,Kl.jsxs)("div",{className:Nle,children:[(0,Kl.jsxs)("div",{className:Tle,children:[(0,Kl.jsxs)("div",{className:jle,children:[(0,Kl.jsxs)("div",{className:Ble,children:[(0,Kl.jsx)("a",{href:"/settings",className:Rle,children:"Settings"}),(0,Kl.jsx)("svg",{width:"7",height:"12",viewBox:"0 0 7 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,Kl.jsx)("path",{d:"M0.178664 11.8433C-0.0510655 11.6267 -0.05962 11.2644 0.156375 11.0358L4.92734 5.99971L0.156399 0.96416C-0.0601819 0.73558 -0.0510417 0.373854 0.178687 0.156711C0.40783 -0.0604327 0.769556 -0.0507298 0.986699 0.178437L6.12968 5.60714C6.23369 5.71685 6.28626 5.85857 6.28626 5.99971C6.28626 6.14084 6.23369 6.28313 6.12968 6.39286L0.986699 11.8216C0.769532 12.0507 0.40783 12.0604 0.178664 11.8433Z",fill:"#78828A"})}),(0,Kl.jsx)("a",{href:"/",className:Lle,children:"Registration"})]}),(0,Kl.jsx)("h2",{children:"Registration"})]}),(0,Kl.jsxs)("div",{className:qle,children:[(0,Kl.jsx)(zd.Z,{variant:"outlined",color:"primary",style:{color:"#B67D2B",width:"105px"},component:"button",onClick:p,children:"CANCEL"}),(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",style:{background:"#B57C2A",width:"105px"},component:"button",onClick:function(){b.handleSubmit()},children:"SAVE"})]})]}),(0,Kl.jsx)(AC,{item:!0,xs:12,md:12,lg:12,children:(0,Kl.jsx)("form",{onSubmit:f,children:(0,Kl.jsx)("div",{className:Ple,children:Object.entries({addressRequired:"address",dateOfBirthRequired:"date of birth",genderRequired:"gender",nextOfKinRequired:"next of kin",nextOfKinContactNumberRequired:"next of kin contact number",zipCodeRequired:"zip code"}).map((function(e){var t=(0,n.Z)(e,2),r=t[0],o=t[1];return(0,Kl.jsxs)(AC,{container:!0,justifyContent:"space-between",alignItems:"center",style:{marginBottom:"16px"},children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsxs)(kl.Z,{variant:"body1",children:["Make ",o," field required"]})}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(rS.Z,{name:r,color:"primary",checked:b.values[r],onChange:function(e){b.setFieldValue(r,!b.values[r])}})})]},r)}))})})})]})},Phe=["title","titleId"];function Ihe(){return Ihe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ihe.apply(this,arguments)}function Whe(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Fhe(t,n){var r=t.title,o=t.titleId,i=Whe(t,Phe);return e.createElement("svg",Ihe({width:33,height:34,viewBox:"0 0 33 34",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,whe||(whe=e.createElement("g",{id:"simple-line-icons:cloud-upload"},e.createElement("path",{id:"Vector",d:"M24.5896 8.87786C23.1515 5.0612 20.0598 2.64392 15.3898 2.64392C9.44776 2.64392 5.29028 7.05612 4.93298 12.8126C2.06814 13.7288 0 16.6514 0 19.9617C0 24.014 3.18553 27.4372 6.95523 27.4372H9.93451C10.5038 27.4372 10.9658 26.9752 10.9658 26.406C10.9658 25.8362 10.5038 25.3747 9.93451 25.3747H6.95523C4.30286 25.3747 2.02998 22.8961 2.02998 19.9617C2.02998 17.3686 3.84808 15.0292 6.12869 14.6374L7.06455 14.476L6.98153 13.5308L6.9738 13.519C6.9738 8.49575 10.2795 4.70694 15.3898 4.70694C19.486 4.70694 21.7872 6.72509 22.8515 10.1674L23.0721 10.8774L23.8151 10.8934C27.6462 10.9738 31.005 14.0821 31.005 17.9436C31.005 21.4581 28.6759 25.3748 25.1496 25.3748H22.7932C22.2239 25.3748 21.7619 25.8368 21.7619 26.406C21.7619 26.9758 22.2239 27.4373 22.7932 27.4373L25.1418 27.4342C30.2981 27.2981 32.984 22.3723 32.984 17.9436C32.984 13.1834 29.2534 9.37963 24.5896 8.87792L24.5896 8.87786ZM17.2729 17.0948C17.2672 17.0886 17.2651 17.0834 17.2615 17.0783L17.0006 16.8055C16.8578 16.6544 16.6675 16.5797 16.4772 16.5807C16.2869 16.5791 16.0977 16.6544 15.9523 16.8055L15.6914 17.0782C15.6863 17.0834 15.6852 17.0896 15.6806 17.0948L11.9583 21.2115C11.6701 21.5126 11.6701 21.9999 11.9583 22.3021L12.2182 22.4784C12.5065 22.7795 12.9736 22.682 13.2613 22.3809L15.4563 19.9338V30.3247C15.4563 30.8939 15.9183 31.3559 16.4876 31.3559C17.0568 31.3559 17.5188 30.8939 17.5188 30.3247V19.9436L19.7866 22.4453C20.0748 22.7465 20.5409 22.8439 20.8286 22.5428L21.0885 22.3665C21.3768 22.0643 21.3768 21.5771 21.0885 21.2759L17.2729 17.0948Z",fill:"black",fillOpacity:.38}))))}var Uhe,Zhe,Hhe,$he=e.forwardRef(Fhe),Vhe=(__webpack_require__.p,"invoice_invoiceSettingsPage__3fEmN"),Xhe="invoice_formWrapper__-RwK8",Qhe="invoice_flexEnd__nagHw",Yhe="invoice_uploadWrapper__iqlZO",Ghe="invoice_uploadLogo__CHEP2",Khe="invoice_upload__WrSG8",Jhe="invoice_logoWrapper__JUTA6",ebe="invoice_phoneInput__xR1lF",tbe="invoice_errorText__Slh5f",nbe="invoice_field__Q0pgz",rbe="invoice_deleteButton__WwELB",obe=jk.object({settings_invoice_settings_email:jk.string("Enter email").email("Enter a valid email"),settings_invoice_settings_phone:jk.string().test("validPhone","Phone is required and must be a valid",(function(e){return!e||yW(e||"")})),settings_invoice_settings_website:jk.string().matches(/^(https?:\/\/)?(www\.)?([a-zA-Z0-9]+(-[a-zA-Z0-9]+)*\.)+[a-zA-Z]{2,}$/,"Enter a valid URL")}),ibe=function(){var t=eF((0,qd.Z)().breakpoints.down("xs")),r=(0,e.useRef)(null),o=hE().enqueueSnackbar,i=(0,e.useContext)(bA),a=(0,e.useState)(null),s=(0,n.Z)(a,2),l=s[0],c=s[1],u=(0,e.useState)(!1),d=(0,n.Z)(u,2),p=d[0],f=d[1],h=(0,e.useState)({settings_invoice_settings_slogan:""}),b=(0,n.Z)(h,2),A=b[0],m=b[1],g=(0,e.useState)({settings_invoice_settings_clinic_address:"",settings_invoice_settings_business_name:"",settings_invoice_settings_company_number:"",settings_invoice_settings_website:"",settings_invoice_settings_vat_code:"",settings_invoice_settings_phone:"",settings_invoice_settings_email:""}),v=(0,n.Z)(g,2),y=v[0],M=v[1],O=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t,n,r,i,a,s,l,u,d,p,h,b,A,g,v,y,O,x,w;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return _.setSubmitting(!0),z.setSubmitting(!0),f(!0),e.prev=3,e.next=6,Re.get("/v1/clinic");case 6:w=e.sent,m({settings_invoice_settings_slogan:(null===w||void 0===w||null===(t=w.data)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.settings_invoice_settings_slogan)||""}),M({settings_invoice_settings_clinic_address:(null===w||void 0===w||null===(r=w.data)||void 0===r||null===(i=r.data)||void 0===i?void 0:i.settings_invoice_settings_clinic_address)||"",settings_invoice_settings_business_name:(null===w||void 0===w||null===(a=w.data)||void 0===a||null===(s=a.data)||void 0===s?void 0:s.settings_invoice_settings_business_name)||"",settings_invoice_settings_company_number:(null===w||void 0===w||null===(l=w.data)||void 0===l||null===(u=l.data)||void 0===u?void 0:u.settings_invoice_settings_company_number)||"",settings_invoice_settings_website:(null===w||void 0===w||null===(d=w.data)||void 0===d||null===(p=d.data)||void 0===p?void 0:p.settings_invoice_settings_website)||"",settings_invoice_settings_vat_code:(null===w||void 0===w||null===(h=w.data)||void 0===h||null===(b=h.data)||void 0===b?void 0:b.settings_invoice_settings_vat_code)||"",settings_invoice_settings_phone:(null===w||void 0===w||null===(A=w.data)||void 0===A||null===(g=A.data)||void 0===g?void 0:g.settings_invoice_settings_phone)||"",settings_invoice_settings_email:(null===w||void 0===w||null===(v=w.data)||void 0===v||null===(y=v.data)||void 0===y?void 0:y.settings_invoice_settings_email)||""}),c(null===w||void 0===w||null===(O=w.data)||void 0===O||null===(x=O.data)||void 0===x?void 0:x.settings_invoice_settings_logo),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(3),Object.values(null===e.t0||void 0===e.t0?void 0:e.t0.errors).forEach((function(e){return null===e||void 0===e?void 0:e.forEach((function(e){return o(e,{variant:"error"})}))}));case 15:return e.prev=15,setTimeout((function(){_.setSubmitting(!1),z.setSubmitting(!1),f(!1)}),1e3),e.finish(15);case 18:case"end":return e.stop()}}),e,null,[[3,12,15,18]])})));return function(){return e.apply(this,arguments)}}(),_=Xj({initialValues:A,enableReinitialize:!0,onSubmit:function(e,t){w(e,t)}}),z=Xj({initialValues:y,enableReinitialize:!0,validationSchema:obe,onSubmit:function(e,t){w(e,t)}}),x=function(e,t){e.resetForm({values:t}),e.setTouched({}),e.setErrors({}),e.setValues(t),e.setSubmitting(!1)},w=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t,n){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Re.put("/v1/clinic/".concat(i.clinic.id,"/settings/invoice"),t);case 3:o("The invoice details has been submitted",{variant:"success"}),e.next=9;break;case 6:e.prev=6,e.t0=e.catch(0),Object.values(null===e.t0||void 0===e.t0?void 0:e.t0.errors).forEach((function(e){return null===e||void 0===e?void 0:e.forEach((function(e){return o(e,{variant:"error"})}))}));case 9:return e.prev=9,x(n,t),e.finish(9);case 12:case"end":return e.stop()}}),e,null,[[0,6,9,12]])})));return function(t,n){return e.apply(this,arguments)}}(),C=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,r,a,s;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return f(!0),n=new FormData,r=t.target.files[0],n.append("image",r),e.prev=4,e.next=7,Re.post("/v1/clinic/".concat(i.clinic.id,"/settings/invoice/logo"),n);case 7:s=e.sent,c(null===s||void 0===s||null===(a=s.data)||void 0===a?void 0:a.image_url),o("The logo has been uploaded",{variant:"success"}),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(4),Object.values(null===e.t0||void 0===e.t0?void 0:e.t0.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return o(e,{variant:"error"})}))}));case 15:return e.prev=15,f(!1),e.finish(15);case 18:case"end":return e.stop()}}),e,null,[[4,12,15,18]])})));return function(t){return e.apply(this,arguments)}}(),S=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return f(!0),e.prev=1,e.next=4,Re.delete("/v1/clinic/".concat(i.clinic.id,"/settings/invoice/logo"),{data:{url:l}});case 4:c(null),o("The logo has been removed",{variant:"success"}),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),Object.values(null===e.t0||void 0===e.t0?void 0:e.t0.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return o(e,{variant:"error"})}))}));case 11:return e.prev=11,f(!1),e.finish(11);case 14:case"end":return e.stop()}}),e,null,[[1,8,11,14]])})));return function(){return e.apply(this,arguments)}}();(0,e.useEffect)((function(){O()}),[]);var E=_.dirty,k=_.isSubmitting,D=z.dirty,N=z.isSubmitting;return(0,Kl.jsxs)("div",{className:Vhe,children:[(0,Kl.jsx)("h2",{children:"Invoice Settings"}),(0,Kl.jsxs)(AC,{container:!0,spacing:t?3:4,children:[(0,Kl.jsx)(AC,{item:!0,xs:12,children:(0,Kl.jsxs)("div",{className:Xhe,children:[p?(0,Kl.jsx)(NE,{}):null,(0,Kl.jsxs)("div",{className:Yhe,children:[l?(0,Kl.jsx)("div",{className:Jhe,children:(0,Kl.jsx)("img",{src:l,alt:"Logo"})}):(0,Kl.jsxs)("div",{className:Ghe,children:[(0,Kl.jsx)($he,{}),(0,Kl.jsx)("p",{children:"Upload Company Logo"})]}),(0,Kl.jsxs)("div",{className:Khe,children:[(0,Kl.jsx)(BE.Z,{id:"contained-button-file-browse",type:"file",inputProps:{accept:"image/*"},onInput:function(e){return C(e)},style:{display:"none"},ref:r}),l?(0,Kl.jsx)(zd.Z,{variant:"contained",startIcon:(0,Kl.jsx)(dle,{}),className:rbe,onClick:function(){return S()},children:"REMOVE"}):(0,Kl.jsx)(Kl.Fragment,{children:(0,Kl.jsx)("label",{htmlFor:"contained-button-file-browse",children:(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",style:{background:"#B67D2B"},startIcon:(0,Kl.jsx)(S1,{}),component:"span",onClick:function(){var e=document.createElement("input");e.type="file",e.accept="image/*",e.style.display="none";var t=r.current;t&&t.parentNode&&t.parentNode.replaceChild(e,t),r.current=e,e.addEventListener("change",C),e.click()},children:"BROWSE"})})})]})]})]})}),(0,Kl.jsx)(AC,{item:!0,xs:12,children:(0,Kl.jsx)("form",{onSubmit:_.handleSubmit,children:(0,Kl.jsxs)("div",{className:Xhe,children:[k?(0,Kl.jsx)(NE,{}):null,(0,Kl.jsxs)(AC,{container:!0,spacing:t?3:4,children:[(0,Kl.jsx)(AC,{item:!0,xs:12,children:(0,Kl.jsx)(Wu.Z,{fullWidth:!0,multiline:!0,rows:4,name:"settings_invoice_settings_slogan",label:"Slogan",variant:"outlined",InputProps:{className:nbe},value:_.values.settings_invoice_settings_slogan,onChange:function(e){return _.setFieldValue(e.target.name,e.target.value)}})}),(0,Kl.jsx)(AC,{item:!0,xs:12,children:(0,Kl.jsx)(AC,{container:!0,spacing:t?3:4,className:Qhe,children:(0,Kl.jsx)(AC,{item:!0,xs:12,md:6,lg:4,children:(0,Kl.jsx)(zd.Z,{fullWidth:!0,type:"submit",variant:"contained",color:"primary",disabled:k||!E,children:"Submit"})})})})]})]})})}),(0,Kl.jsx)(AC,{item:!0,xs:12,children:(0,Kl.jsx)("form",{onSubmit:z.handleSubmit,children:(0,Kl.jsxs)("div",{className:Xhe,children:[N?(0,Kl.jsx)(NE,{}):null,(0,Kl.jsxs)(AC,{container:!0,spacing:t?3:4,children:[(0,Kl.jsx)(AC,{item:!0,xs:12,md:6,lg:4,children:(0,Kl.jsx)(Wu.Z,{fullWidth:!0,name:"settings_invoice_settings_clinic_address",label:"Clinic Address",variant:"outlined",InputProps:{className:nbe},value:z.values.settings_invoice_settings_clinic_address,onChange:function(e){return z.setFieldValue(e.target.name,e.target.value)}})}),(0,Kl.jsx)(AC,{item:!0,xs:12,md:6,lg:4,children:(0,Kl.jsx)(Wu.Z,{fullWidth:!0,name:"settings_invoice_settings_business_name",label:"Business name",variant:"outlined",InputProps:{className:nbe},value:z.values.settings_invoice_settings_business_name,onChange:function(e){return z.setFieldValue(e.target.name,e.target.value)}})}),(0,Kl.jsx)(AC,{item:!0,xs:12,md:6,lg:4,children:(0,Kl.jsx)(Wu.Z,{fullWidth:!0,name:"settings_invoice_settings_company_number",label:"Company number",variant:"outlined",InputProps:{className:nbe},value:z.values.settings_invoice_settings_company_number,onChange:function(e){return z.setFieldValue(e.target.name,e.target.value)}})}),(0,Kl.jsx)(AC,{item:!0,xs:12,md:6,lg:4,children:(0,Kl.jsx)(Wu.Z,{fullWidth:!0,name:"settings_invoice_settings_vat_code",label:"VAT Code",variant:"outlined",InputProps:{className:nbe},value:z.values.settings_invoice_settings_vat_code,onChange:function(e){return z.setFieldValue(e.target.name,e.target.value)}})}),(0,Kl.jsx)(AC,{item:!0,xs:12,md:6,lg:4,children:(0,Kl.jsx)(Wu.Z,{fullWidth:!0,name:"settings_invoice_settings_website",label:"Website",variant:"outlined",InputProps:{className:nbe},value:z.values.settings_invoice_settings_website,error:z.touched.settings_invoice_settings_website&&Boolean(z.errors.settings_invoice_settings_website),helperText:z.touched.settings_invoice_settings_website&&z.errors.settings_invoice_settings_website,onChange:function(e){return z.setFieldValue(e.target.name,e.target.value)}})}),(0,Kl.jsx)(AC,{item:!0,xs:12,md:6,lg:4,children:(0,Kl.jsxs)("div",{className:ebe,children:[(0,Kl.jsx)(_W,{name:"settings_invoice_settings_phone",value:z.values.settings_invoice_settings_phone,onChange:function(e){z.setFieldValue("settings_invoice_settings_phone",e||"")},onBlur:z.handleBlur}),z.touched.settings_invoice_settings_phone&&z.errors.settings_invoice_settings_phone&&(0,Kl.jsx)("p",{className:tbe,children:z.errors.settings_invoice_settings_phone})]})}),(0,Kl.jsx)(AC,{item:!0,xs:12,md:6,lg:4,children:(0,Kl.jsx)(Wu.Z,{fullWidth:!0,name:"settings_invoice_settings_email",label:"Email",variant:"outlined",InputProps:{className:nbe},value:z.values.settings_invoice_settings_email,error:z.touched.settings_invoice_settings_email&&Boolean(z.errors.settings_invoice_settings_email),helperText:z.touched.settings_invoice_settings_email&&z.errors.settings_invoice_settings_email,onChange:function(e){return z.setFieldValue(e.target.name,e.target.value)}})}),(0,Kl.jsx)(AC,{item:!0,xs:12,children:(0,Kl.jsx)(AC,{container:!0,spacing:t?3:4,className:Qhe,children:(0,Kl.jsx)(AC,{item:!0,xs:12,md:6,lg:4,children:(0,Kl.jsx)(zd.Z,{fullWidth:!0,type:"submit",variant:"contained",color:"primary",disabled:N||!D,children:"Submit"})})})})]})]})})})]})]})},abe="emailAndSms_invoiceSettingsPage__wpYWf",sbe="emailAndSms_formWrapper__59nnt",lbe="emailAndSms_field__yTZaW",cbe=jk.object({sms_sender:jk.string("Enter SMS").matches(/^[a-zA-Z0-9]+$/,"SMS must be alphanumeric").max(11,"SMS must be at most 11 characters")}),ube=function(){var t=hE().enqueueSnackbar,r=(0,e.useContext)(bA),o=Fc().clinic,i=(0,e.useState)({sms_sender:""}),a=(0,n.Z)(i,2),s=a[0],l=a[1],c=Xj({initialValues:s,enableReinitialize:!0,validationSchema:cbe,onSubmit:function(e,t){p(e,t)}}),u=function(e,t){e.resetForm({values:t}),e.setTouched({}),e.setErrors({}),e.setValues(t),e.setSubmitting(!1)},d=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var n,r,o;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return c.setSubmitting(!0),e.prev=1,e.next=4,Re.get("/v1/clinic");case 4:o=e.sent,l({sms_sender:null===o||void 0===o||null===(n=o.data)||void 0===n||null===(r=n.data)||void 0===r?void 0:r.sms_sender}),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),Object.values(null===e.t0||void 0===e.t0?void 0:e.t0.errors).forEach((function(e){return null===e||void 0===e?void 0:e.forEach((function(e){return t(e,{variant:"error"})}))}));case 11:case"end":return e.stop()}}),e,null,[[1,8]])})));return function(){return e.apply(this,arguments)}}();(0,e.useEffect)((function(){d()}),[]);var p=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(n,i){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Re.post("/v1/clinic/".concat(r.clinic.id,"/settings/sms"),n);case 3:t("The SMS name is submitted",{variant:"success"}),o.setSmsSender(n.sms_sender),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),Object.values(null===e.t0||void 0===e.t0?void 0:e.t0.errors).forEach((function(e){return null===e||void 0===e?void 0:e.forEach((function(e){return t(e,{variant:"error"})}))}));case 10:return e.prev=10,u(i,n),e.finish(10);case 13:case"end":return e.stop()}}),e,null,[[0,7,10,13]])})));return function(t,n){return e.apply(this,arguments)}}();c.dirty,c.isSubmitting;return(0,Kl.jsxs)("div",{className:abe,children:[(0,Kl.jsx)("h2",{children:"SMS Settings"}),(0,Kl.jsx)("div",{children:(0,Kl.jsx)("form",{onSubmit:c.handleSubmit,children:(0,Kl.jsx)("div",{className:sbe,children:(0,Kl.jsxs)(AC,{container:!0,spacing:4,children:[(0,Kl.jsx)(AC,{item:!0,xs:12,children:(0,Kl.jsx)(Wu.Z,{fullWidth:!0,name:"sms_sender",label:"SMS From text",variant:"outlined",inputProps:{maxLength:11},InputProps:{className:lbe},value:c.values.sms_sender||"",onChange:function(e){return c.setFieldValue(e.target.name,e.target.value)},error:c.touched.sms_sender&&Boolean(c.errors.sms_sender),helperText:c.touched.sms_sender&&c.errors.sms_sender})}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(zd.Z,{fullWidth:!0,type:"submit",variant:"contained",color:"primary",disabled:""===c.values.sms_sender,children:"Submit"})})]})})})})]})},dbe={shiftsHeaderItem:"shiftsHeaderItem_shiftsHeaderItem__1+OWq",dayContainer:"shiftsHeaderItem_dayContainer__xv3Ng",dayName:"shiftsHeaderItem_dayName__6KRh6"},pbe=function(e){var t=e.day;return(0,Kl.jsxs)("div",{className:dbe.shiftsHeaderItem,children:[(0,Kl.jsx)(kl.Z,{variant:"body2",className:dbe.dayName,children:t.title}),(0,Kl.jsx)(kl.Z,{variant:"body1",className:dbe.time,children:null===t||void 0===t?void 0:t.description}),(null===t||void 0===t?void 0:t.duration)&&(0,Kl.jsx)(kl.Z,{variant:"caption",className:dbe.duration,children:null===t||void 0===t?void 0:t.duration})]})},fbe="shiftsHeader_shiftsHeader__s47qO",hbe={shiftsHeaderItem:"businessHours_shiftsHeaderItem__gVn47",titleContainer:"businessHours_titleContainer__vDBOY"},bbe=function(e){e.duration;var t=he();return(0,Kl.jsx)("div",{className:hbe.shiftsHeaderItem,children:(0,Kl.jsxs)("div",{className:hbe.titleContainer,children:[(0,Kl.jsx)(kl.Z,{variant:"body1",className:hbe.title,children:"Business Hours"}),(0,Kl.jsx)(wd.Z,{onClick:function(){t("/shifts/edit-business-hours")},children:(0,Kl.jsx)(oB.Z,{fontSize:"small",className:hbe.icon})})]})})},Abe=function(t){var n=t.current,r=(0,e.useContext)(bA),o=(0,e.useMemo)((function(){for(var e=Vs()(n).startOf("isoWeek"),t=Vs()(n).endOf("isoWeek"),o=[],i=e;i<=t;){var a=i.toDate();o.push(a),i=i.clone().add(1,"d")}return o.map((function(e,t){var n,o,i=null===(n=r.clinic)||void 0===n||null===(o=n.workingHours)||void 0===o?void 0:o.find((function(t){return(null===t||void 0===t?void 0:t.workingDay)===Vs()(e).format("dddd")}));if(i){var a=Vs()().format("YYYY-MM-DD"),s=Vs()("".concat(a," ").concat(null===i||void 0===i?void 0:i.endHour)).valueOf(),l=Vs()("".concat(a," ").concat(null===i||void 0===i?void 0:i.startHour)).valueOf(),c=Vs().duration(s-l);return{title:Vs()(e).format("ddd, DD"),description:"".concat(null===i||void 0===i?void 0:i.startHour," \u2013 ").concat(null===i||void 0===i?void 0:i.endHour),duration:"".concat(null===c||void 0===c?void 0:c.hours(),"h ").concat(null===c||void 0===c?void 0:c.minutes(),"m")}}return{title:Vs()(e).format("ddd, DD"),description:"Closed"}}))}),[r.clinic,n]);return(0,Kl.jsxs)("div",{className:fbe,children:[(0,Kl.jsx)(bbe,{}),o.map((function(e){return(0,Kl.jsx)(pbe,{day:e},"shiftHeader_".concat(null===e||void 0===e?void 0:e.title))}))]})},mbe="doctorCategory_doctorCategory__Y4l3B",gbe="doctorCategory_doctors__zdgFf",vbe="doctorCategoryHeader_doctorCategoryHeader__3zMDd",ybe=function(e){var t=e.title;return(0,Kl.jsx)("div",{className:vbe,children:(0,Kl.jsx)(kl.Z,{variant:"h6",children:t})})},Mbe="doctorCategoryLine_doctorCategoryLine__MvR1v",Obe="doctorCategoryLine_doctorCard__oClDG",_be={weekOff:"timeBadge_weekOff__aVX0g",timeBadge:"timeBadge_timeBadge__5JFDj",wrapper:"timeBadge_wrapper__loN-R",timeContainer:"timeBadge_timeContainer__-P2ol",location:"timeBadge_location__sP01V"},zbe=function(e){var t=e.open,n=e.setOpen,r=e.name,o=e.onDelete,i=function(){n(!1)};return(0,Kl.jsx)(vC,{onClose:i,"aria-labelledby":"simple-dialog-title",open:t,PaperProps:{style:{borderRadius:15}},children:(0,Kl.jsx)(_E,{style:{overflow:"hidden",paddingBottom:20},children:(0,Kl.jsxs)(AC,{container:!0,spacing:2,justifyContent:"center",children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsxs)(kl.Z,{variant:"h6",children:["Do you want to delete ",r||"","?"]})}),(0,Kl.jsxs)(AC,{container:!0,direction:"row",justifyContent:"center",spacing:2,item:!0,children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(zd.Z,{variant:"contained",color:"secondary",onClick:i,children:"No"})}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",onClick:function(){o(),i()},children:"Yes"})})]})]})})})},xbe=$l((function(t){var r=t.date,o=t.staff,i=r.shifts,a=r.workingHours,s=r.date,l=r.dayOffs,c=(0,e.useState)(!1),u=(0,n.Z)(c,2),d=u[0],p=u[1],f=hE().enqueueSnackbar,h=Fc().shifts,b=he(),A=(0,e.useMemo)((function(){return null!==l&&void 0!==l&&l[0]?"break":i[0]?"shift":null!==a&&void 0!==a&&a[0]?"default":"noShift"}),[i,a,l]),m=(0,e.useMemo)((function(){switch(A){case"break":var e,t;return{background:"#FF0043",color:"#ffffff",title:"Day Off",description:null===l||void 0===l?void 0:l[0].name,edit:!1,delete:!0,location:null===l||void 0===l||null===(e=l[0])||void 0===e||null===(t=e.location)||void 0===t?void 0:t.address};case"noShift":return{background:"#F4F5FB",color:"#000000",title:"No Shift",description:"Add extra hours",edit:!0,delete:!1};case"shift":var n,r,o,s,c,u,d,p,f;return{background:"#FDDAB8",color:"#000000",title:"".concat(null===(n=i[0])||void 0===n?void 0:n.start_at," \u2013 ").concat(null===(r=i[0])||void 0===r?void 0:r.end_at),description:null!==(o=i[0])&&void 0!==o&&o.off_time_start&&null!==(s=i[0])&&void 0!==s&&s.off_time_end?"Break: ".concat(null===(c=i[0])||void 0===c?void 0:c.off_time_start," \u2013 ").concat(null===(u=i[0])||void 0===u?void 0:u.off_time_end):"No Break",edit:!0,delete:!0,location:null===(d=i[0])||void 0===d||null===(p=d.location)||void 0===p?void 0:p.address,locationId:null===(f=i[0])||void 0===f?void 0:f.location,shiftId:i[0].id};default:var h,b,m,g,v,y,M,O;return{background:"#c5f5c5",color:"#000000",title:"".concat(null===a||void 0===a||null===(h=a[0])||void 0===h?void 0:h.startHour," \u2013 ").concat(null===a||void 0===a||null===(b=a[0])||void 0===b?void 0:b.endHour),description:null!==a&&void 0!==a&&null!==(m=a[0])&&void 0!==m&&m.offTimeStart&&null!==a&&void 0!==a&&null!==(g=a[0])&&void 0!==g&&g.offTimeEnd?"Break: ".concat(null===a||void 0===a||null===(v=a[0])||void 0===v?void 0:v.offTimeStart," \u2013 ").concat(null===a||void 0===a||null===(y=a[0])||void 0===y?void 0:y.offTimeEnd):"No Break",edit:!0,delete:!1,location:null===a||void 0===a||null===(M=a[0])||void 0===M||null===(O=M.location)||void 0===O?void 0:O.address}}}),[A,i,a,l]);return(0,Kl.jsxs)("div",{className:[_be.timeBadge,"weekOff"===A?_be.weekOff:null].join(" "),children:[(0,Kl.jsxs)("div",{className:_be.wrapper,style:{backgroundColor:null===m||void 0===m?void 0:m.background,color:null===m||void 0===m?void 0:m.color},children:[(0,Kl.jsxs)("div",{className:_be.timeContainer,children:[(0,Kl.jsx)(kl.Z,{variant:"body1",children:null===m||void 0===m?void 0:m.title}),(null===m||void 0===m?void 0:m.edit)&&(0,Kl.jsx)(wd.Z,{onClick:function(){var e,t,n,r,l;if(h.setDate(s),h.setDoctor(null===o||void 0===o?void 0:o.id,Qs(null===o||void 0===o||null===(e=o.user)||void 0===e?void 0:e.firstName,null===o||void 0===o||null===(t=o.user)||void 0===t?void 0:t.lastName),null===o||void 0===o||null===(n=o.role)||void 0===n||null===(r=n[0])||void 0===r?void 0:r.name,null===o||void 0===o||null===(l=o.user)||void 0===l?void 0:l.avatarUrl),"noShift"===A&&(h.setLocation(0),null===h||void 0===h||h.setTimes(null,null,null,null),b("/shifts/shift")),"shift"===A){var c,u,d,p,f,m,g;h.setLocation(null===(c=i[0])||void 0===c||null===(u=c.location)||void 0===u?void 0:u.id),null===h||void 0===h||h.setTimes(null===(d=i[0])||void 0===d?void 0:d.start_at,null===(p=i[0])||void 0===p?void 0:p.end_at,null===(f=i[0])||void 0===f?void 0:f.off_time_start,null===(m=i[0])||void 0===m?void 0:m.off_time_end),b("/shifts/shift/".concat(null===(g=i[0])||void 0===g?void 0:g.id))}else{var v,y,M,O,_,z,x,w;if(null!==a&&void 0!==a&&a[0])h.setLocation(null===a||void 0===a||null===(v=a[0])||void 0===v||null===(y=v.location)||void 0===y?void 0:y.id),null===h||void 0===h||h.setTimes(null===a||void 0===a||null===(M=a[0])||void 0===M?void 0:M.startHour,null===a||void 0===a||null===(O=a[0])||void 0===O?void 0:O.endHour,null!==(_=null===a||void 0===a||null===(z=a[0])||void 0===z?void 0:z.offTimeStart)&&void 0!==_?_:"",null!==(x=null===a||void 0===a||null===(w=a[0])||void 0===w?void 0:w.offTimeEnd)&&void 0!==x?x:"");b("/shifts/shift")}},children:(0,Kl.jsx)(oB.Z,{fontSize:"small",className:_be.icon,style:{color:null===m||void 0===m?void 0:m.color}})})]}),(0,Kl.jsx)("div",{className:_be.timeContainer,children:(0,Kl.jsx)(kl.Z,{variant:"body2",children:null===m||void 0===m?void 0:m.description})}),(0,Kl.jsxs)("div",{className:_be.timeContainer,children:[(0,Kl.jsx)(kl.Z,{variant:"body2",className:_be.location,children:null===m||void 0===m?void 0:m.location}),(null===m||void 0===m?void 0:m.delete)&&(0,Kl.jsx)(wd.Z,{onClick:function(){return p(!0)},children:(0,Kl.jsx)(HE.Z,{fontSize:"small",className:_be.icon,style:{color:null===m||void 0===m?void 0:m.color}})})]})]}),(0,Kl.jsx)(zbe,{open:d,setOpen:p,onDelete:function(){var e,t;"shift"===A&&Re.delete("/v1/staff/".concat(null===o||void 0===o?void 0:o.id,"/shifts/").concat(null===i||void 0===i||null===(e=i[0])||void 0===e?void 0:e.id)).then((function(e){h.update()})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return f(e,{variant:"error"})}))}))}));"break"===A&&Re.delete("/v1/staff/".concat(o.id,"/day-offs"),{params:{ids:[null===l||void 0===l||null===(t=l[0])||void 0===t?void 0:t.id]}}).then((function(e){e.data;h.update()})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return f(e,{variant:"error"})}))}))}))},name:"break"===A?"Day Off":"Shift"})]})})),wbe=xbe,Cbe=function(t){var n,r,o,i,a,s,l=t.doctor,c=t.weekOff,u=he(),d=(0,e.useMemo)((function(){var e,t,n,r;return Qs(null===l||void 0===l||null===(e=l.staff)||void 0===e||null===(t=e.user)||void 0===t?void 0:t.firstName,null===l||void 0===l||null===(n=l.staff)||void 0===n||null===(r=n.user)||void 0===r?void 0:r.lastName)}),[null===l||void 0===l||null===(n=l.staff)||void 0===n?void 0:n.user]),p=(0,e.useMemo)((function(){var e,t=Object.entries(null===l||void 0===l||null===(e=l.businessHours)||void 0===e?void 0:e.monthly).map((function(e){return"".concat(Vs()(e[0],"MMMM").format("MMM"),": ").concat(e[1],"h")}));return null===t||void 0===t?void 0:t.join(", ")}),[null===l||void 0===l||null===(r=l.businessHours)||void 0===r?void 0:r.monthly]);return(0,Kl.jsxs)("div",{className:Mbe,children:[(0,Kl.jsxs)("div",{className:Obe,children:[(0,Kl.jsx)(jw,{name:d,role:"W: ".concat(null===l||void 0===l||null===(o=l.businessHours)||void 0===o?void 0:o.weekly,"h, ").concat(p),avatarUrl:null===l||void 0===l||null===(i=l.staff)||void 0===i||null===(a=i.user)||void 0===a?void 0:a.avatarUrl}),(0,Kl.jsx)(wd.Z,{onClick:function(){var e;u("/shifts/edit-employee/".concat(null===l||void 0===l||null===(e=l.staff)||void 0===e?void 0:e.id))},children:(0,Kl.jsx)(oB.Z,{fontSize:"small"})})]}),c?(0,Kl.jsx)(wbe,{status:"weekOff",time:"Day Off",breakTime:"Holiday"}):(0,Kl.jsx)(Kl.Fragment,{children:null===l||void 0===l||null===(s=l.dates)||void 0===s?void 0:s.map((function(e,t){return(0,Kl.jsx)(wbe,{date:e,staff:null===l||void 0===l?void 0:l.staff},"".concat(null===e||void 0===e?void 0:e.date,"_").concat(t))}))})]})},Sbe=function(e){var t=e.category,n=t.title,r=t.doctors;return(0,Kl.jsxs)("div",{className:mbe,children:[(0,Kl.jsx)(ybe,{title:n}),(0,Kl.jsx)("div",{className:gbe,children:r.map((function(e,t){return(0,Kl.jsx)(Cbe,{doctor:e},"doctor_".concat(t))}))})]})},Ebe="shifts_shifts__ms3ul",kbe="shifts_shiftsMain__pq7r2",Dbe="rangeSelector_rangeSelector__AqIhZ",Nbe="rangeSelector_info__D3AV+",Tbe=function(t){var n=t.current,r=t.setCurrent,o=(0,e.useMemo)((function(){return n.startOf("isoWeek").format("ddd DD")}),[n]),i=(0,e.useMemo)((function(){return n.endOf("isoWeek").format("ddd DD")}),[n]);return(0,Kl.jsxs)("div",{className:Dbe,children:[(0,Kl.jsx)(wd.Z,{onClick:function(){r(Vs()(n).add(-7,"days").toString())},children:(0,Kl.jsx)(Cd.Z,{style:{color:"#D5D6D8",border:"1px solid",borderRadius:30}})}),(0,Kl.jsxs)("div",{className:Nbe,children:[(0,Kl.jsx)(kl.Z,{variant:"body1",children:n.format("MMMM")}),(0,Kl.jsx)(kl.Z,{variant:"body1",children:"".concat(o," \u2013 \n          ").concat(i)})]}),(0,Kl.jsx)(wd.Z,{onClick:function(){r(Vs()(n).add(7,"days").toString())},children:(0,Kl.jsx)(fB.Z,{style:{color:"#D5D6D8",border:"1px solid",borderRadius:30}})})]})},jbe="shiftsToolbar_shiftsToolbar__u7aie",Bbe="shiftsToolbar_actions__lDnnt",Lbe=function(e){var t=e.current,n=e.setCurrent;return(0,Kl.jsxs)("div",{className:jbe,children:[(0,Kl.jsx)(Tbe,{current:t,setCurrent:n}),(0,Kl.jsx)("div",{className:Bbe})]})},Rbe=function(e,t){return(0,Kl.jsxs)("div",{className:yw,children:[(0,Kl.jsx)("p",{children:e}),(0,Kl.jsx)("span",{})]})},qbe=$l((function(t){var r=t.date,o=t.handleDateChange,i=Bu(),a=(0,e.useState)([]),s=(0,n.Z)(a,2),l=s[0],c=s[1],u=Fc(),d=u.location,p=u.calendar,f=lS().changeDate,h={holder:{textAlign:"center"},row:{display:"flex",alignItems:"center",padding:"5px 0px",justifyContent:"center"},label:{padding:"5px",width:"30px",fontSize:13,fontWeight:700,cursor:"pointer"}},b=function(e){var t=Vs()(e).startOf("month").add(-7,"days").format("YYYY-MM-DD"),n=Vs()(e).endOf("month").add(7,"days").format("YYYY-MM-DD"),r=(null===p||void 0===p?void 0:p.selectedStaff)||i;r>0&&Re.post("/v1/staff/".concat(r,"/work-day-availability"),{start:t,end:n,location:(null===d||void 0===d?void 0:d.id)||"all",staffId:r}).then((function(e){var t,n=[],r=[];null===(t=Object.entries(null===e||void 0===e?void 0:e.data))||void 0===t||t.forEach((function(e){e[1]?n.push(new Date(e[0])):r.push(new Date(e[0]))})),c([{"react-datepicker__day--highlighted-custom-1":n},{"react-datepicker__day--highlighted-custom-2":r}])}))},A=function(e,t){var n=document.querySelector(".active-week");if(n){var r=n.parentElement;if(r){for(var o="add"===t?r.nextElementSibling:r.previousElementSibling,i=1;i<e;i++){if(!o)return void console.error("Not enough siblings to move forward");o="add"===t?o.nextElementSibling:o.previousElementSibling}if(o){var a=o.querySelector("button");a?a.click():console.error("Button not found")}else console.error("Target sibling div not found")}else console.error("Parent div not found")}else console.error("Element with class active-week not found")},m=function(e,t){var n=Vs()(p.date);if("add"===t)if("resourceTimeGridDay"===p.view){var r=n.add(e,"weeks").format("YYYY-MM-DDTHH:mm");f(r)}else A(e,t);else if("resourceTimeGridDay"===p.view){var o=n.subtract(e,"weeks").format("YYYY-MM-DDTHH:mm");f(o)}else A(e,t)};(0,e.useEffect)((function(){b(r)}),[r,i,null===d||void 0===d?void 0:d.id,null===p||void 0===p?void 0:p.selectedStaff]);return(0,Kl.jsxs)("div",{className:h.calendarSelector,children:[(0,Kl.jsx)("div",{style:{display:"flex",justifyContent:"center",marginTop:25},children:(0,Kl.jsx)(nk(),{selected:Vs()(r).toDate(),onChange:function(e){return o(e)},dateFormat:"MMMM d",inline:!0,calendarStartDay:1,highlightDates:l,renderDayContents:Rbe,onMonthChange:function(e){b(e)}})}),(0,Kl.jsxs)("div",{className:"jump-weeks-holder",style:h.holder,children:[(0,Kl.jsx)("h4",{children:"Jump By Week"}),(0,Kl.jsxs)("div",{className:"row",style:h.row,children:[(0,Kl.jsx)("span",{onClick:function(){m(1,"add")},className:"label",style:h.label,children:"+1"}),(0,Kl.jsx)("span",{onClick:function(){m(2,"add")},className:"label",style:h.label,children:"+2"}),(0,Kl.jsx)("span",{onClick:function(){m(3,"add")},className:"label",style:h.label,children:"+3"}),(0,Kl.jsx)("span",{onClick:function(){m(4,"add")},className:"label",style:h.label,children:"+4"}),(0,Kl.jsx)("span",{onClick:function(){m(5,"add")},className:"label",style:h.label,children:"+5"}),(0,Kl.jsx)("span",{onClick:function(){m(6,"add")},className:"label",style:h.label,children:"+6"})]}),(0,Kl.jsxs)("div",{className:"row",style:h.row,children:[(0,Kl.jsx)("span",{onClick:function(){m(1,"sub")},className:"label",style:h.label,children:"-1"}),(0,Kl.jsx)("span",{onClick:function(){m(2,"sub")},className:"label",style:h.label,children:"-2"}),(0,Kl.jsx)("span",{onClick:function(){m(3,"sub")},className:"label",style:h.label,children:"-3"}),(0,Kl.jsx)("span",{onClick:function(){m(4,"sub")},className:"label",style:h.label,children:"-4"}),(0,Kl.jsx)("span",{onClick:function(){m(5,"sub")},className:"label",style:h.label,children:"-5"}),(0,Kl.jsx)("span",{onClick:function(){m(6,"sub")},className:"label",style:h.label,children:"-6"})]})]})]})})),Pbe=qbe,Ibe=$l((function(){var t,r,o,i=(0,e.useState)([]),a=(0,n.Z)(i,2),s=a[0],l=a[1],c=Fc().shifts,u=Fc().location,d=(0,e.useMemo)((function(){return Vs()(c.date)}),[c.date]),p=(0,e.useContext)(bA),f=(0,e.useMemo)((function(){var e,t;return null===p||void 0===p||null===(e=p.clinic)||void 0===e||null===(t=e.locations)||void 0===t?void 0:t.filter((function(e){return!(null!==e&&void 0!==e&&e.deleted_at)}))}),[null===p||void 0===p||null===(t=p.clinic)||void 0===t?void 0:t.locations]);(0,e.useEffect)((function(){if((null===f||void 0===f?void 0:f.length)>0){var e,t,n=Vs()(d).startOf("isoWeek").format("YYYY-MM-DD"),r=Vs()(d).endOf("isoWeek").format("YYYY-MM-DD"),o=1===(null===f||void 0===f?void 0:f.length)?null===p||void 0===p||null===(e=p.clinic)||void 0===e||null===(t=e.mainLocation)||void 0===t?void 0:t.id:"all";Re.get("/v1/staff/shifts",{params:{start:n,end:r,location:o}}).then((function(e){l(null===e||void 0===e?void 0:e.data)}))}}),[c.needUpdate,d,null===u||void 0===u?void 0:u.id,f,null===p||void 0===p||null===(r=p.clinic)||void 0===r||null===(o=r.mainLocation)||void 0===o?void 0:o.id]);return(0,Kl.jsxs)(Yh,{title:"Shifts",navigationChildren:(0,Kl.jsx)(Pbe,{handleDateChange:function(e){var t=Vs()(e).format("YYYY-MM-DDTHH:mm").toString();c.setDate(t)},date:c.date}),children:[(0,Kl.jsxs)("div",{className:Ebe,children:[(0,Kl.jsx)(Lbe,{current:d,setCurrent:c.setDate}),(0,Kl.jsxs)("div",{className:kbe,children:[(0,Kl.jsx)(Abe,{current:d}),s.map((function(e,t){return(0,Kl.jsx)(Sbe,{category:e},"".concat(e.title,"_").concat(t))}))]})]}),(0,Kl.jsx)(Ee,{})]})})),Wbe=Ibe,Fbe="businessHoursDrawer_paper__-jMFt",Ube="businessHoursDrawer_container__AYVUh",Zbe="shiftsDrawer_paper__poI6w",Hbe="shiftsDrawer_container__tGaRI",$be="shiftsDrawer_userCardWrapper__H0G8K",Vbe="shiftsDrawer_workHours__zDr+7",Xbe="shiftsDrawer_editEmployeeHeader__igYHB",Qbe=function(e){var t=e.title,n=he();return(0,Kl.jsxs)("div",{className:Xbe,children:[(0,Kl.jsx)(kl.Z,{variant:"h6",children:t}),(0,Kl.jsx)(wd.Z,{onClick:function(){n("/shifts")},children:(0,Kl.jsx)(dB.Z,{})})]})},Ybe="workHours_workHours__ubxy6",Gbe={workHourSpoiler:"workHourSpoiler_workHourSpoiler__WWFsJ",workHourHeader:"workHourSpoiler_workHourHeader__HQC4F",workHourContent:"workHourSpoiler_workHourContent__fcOzN",workHourContentTime:"workHourSpoiler_workHourContentTime__KBXLH",openContent:"workHourSpoiler_openContent__q4+0P",openContentButton:"workHourSpoiler_openContentButton__1JGZo",openContentEditItem:"workHourSpoiler_openContentEditItem__NMVs6",openContentEditTimes:"workHourSpoiler_openContentEditTimes__N6lXu",openContentEditTimesItem:"workHourSpoiler_openContentEditTimesItem__bkC5B"},Kbe=function(t){var n,o=t.title,i=t.value,a=t.setValue,s=t.initLocation,l=(0,e.useContext)(bA),c=(0,e.useMemo)((function(){var e,t,n,o,a;if(null===l||void 0===l||null===(e=l.clinic)||void 0===e||!e.locations)return[];var s=null===l||void 0===l||null===(t=l.clinic)||void 0===t||null===(n=t.locations)||void 0===n?void 0:n.find((function(e){return(null===e||void 0===e?void 0:e.id)===i})),c=null===l||void 0===l||null===(o=l.clinic)||void 0===o||null===(a=o.locations)||void 0===a?void 0:a.filter((function(e){return!(null!==e&&void 0!==e&&e.deleted_at)}));return null!==c&&void 0!==c&&c.find((function(e){return(null===e||void 0===e?void 0:e.id)===i}))?c:[].concat((0,r.Z)(c),[s])}),[null===l||void 0===l||null===(n=l.clinic)||void 0===n?void 0:n.locations,i]);return(0,Kl.jsxs)("div",{className:Gbe.openContentEditItem,children:[(0,Kl.jsx)(kl.Z,{variant:"body2",children:o}),(0,Kl.jsx)("div",{className:Gbe.openContentEditTimes,children:(null===c||void 0===c?void 0:c.length)>0&&(0,Kl.jsx)(Wu.Z,{select:!0,defaultValue:s||i,onChange:function(e){return a(e.target.value)},variant:"outlined",fullWidth:!0,size:"small",disabled:1===(null===c||void 0===c?void 0:c.length),children:null===c||void 0===c?void 0:c.map((function(e,t){return(0,Kl.jsx)(xd.Z,{value:null===e||void 0===e?void 0:e.id,children:null===e||void 0===e?void 0:e.address},"location_".concat(null===e||void 0===e?void 0:e.id,"_").concat(t))}))})})]})},Jbe=(0,e.forwardRef)((function(e,t){var n=e.value,r=e.onClick;return(0,Kl.jsxs)("div",{ref:t,onClick:r,className:Gbe.openContentEditTimesItem,children:[(0,Kl.jsx)(mB.Z,{}),(0,Kl.jsx)(kl.Z,{variant:"body2",children:n})]})})),eAe=function(e){var t=e.value,n=e.setValue;return(0,Kl.jsx)(nk(),{value:t,onChange:function(e){return function(e){n(Vs()(e).format("HH:mm"))}(e)},showTimeSelect:!0,timeFormat:"HH:mm",timeIntervals:5,timeCaption:"Start",dateFormat:"HH:mm",minDate:new Date,showTimeSelectOnly:!0,customInput:(0,Kl.jsx)(Jbe,{value:t}),calendarStartDay:1})},tAe=function(e){var t=e.title,n=e.startTime,r=e.endTime,o=e.setStartTime,i=e.setEndTime;return(0,Kl.jsxs)("div",{className:Gbe.openContentEditItem,children:[(0,Kl.jsx)(kl.Z,{variant:"body2",children:t}),(0,Kl.jsxs)("div",{className:Gbe.openContentEditTimes,children:[(0,Kl.jsx)(eAe,{value:n,setValue:o}),(0,Kl.jsx)(eAe,{value:r,setValue:i}),(0,Kl.jsx)(wd.Z,{onClick:function(){o(null),i(null)},children:(0,Kl.jsx)(dB.Z,{fontSize:"small",className:Gbe.icon})})]})]})},nAe=$l((function(t){var o,i=t.day,a=t.initStartTime,s=t.initEndTime,l=t.initOffStart,c=t.initOffEnd,u=t.onSave,d=t.original,p=t.dayId,f=t.id,h=t.needBreaks,b=void 0===h||h,A=t.initOpen,m=void 0!==A&&A,g=t.initLocation,v=t.onClickDelete,y=t.needLocation,M=(0,e.useState)(m),O=(0,n.Z)(M,2),_=O[0],z=O[1],x=(0,e.useState)(a),w=(0,n.Z)(x,2),C=w[0],S=w[1],E=(0,e.useState)(s),k=(0,n.Z)(E,2),D=k[0],N=k[1],T=(0,e.useState)(l),j=(0,n.Z)(T,2),B=j[0],L=j[1],R=(0,e.useState)(c),q=(0,n.Z)(R,2),P=q[0],I=q[1],W=(0,e.useState)(g),F=(0,n.Z)(W,2),U=F[0],Z=F[1],H=(0,e.useContext)(bA);(0,e.useEffect)((function(){S(a)}),[a]),(0,e.useEffect)((function(){N(s)}),[s]),(0,e.useEffect)((function(){L(l)}),[l]),(0,e.useEffect)((function(){I(c)}),[c]),(0,e.useEffect)((function(){z(m)}),[m]),(0,e.useEffect)((function(){Z(g)}),[g]);var $=(0,e.useMemo)((function(){var e,t,n,o,i;if(null===H||void 0===H||null===(e=H.clinic)||void 0===e||!e.locations)return[];var a=null===H||void 0===H||null===(t=H.clinic)||void 0===t||null===(n=t.locations)||void 0===n?void 0:n.find((function(e){return(null===e||void 0===e?void 0:e.id)===U})),s=null===H||void 0===H||null===(o=H.clinic)||void 0===o||null===(i=o.locations)||void 0===i?void 0:i.filter((function(e){return!(null!==e&&void 0!==e&&e.deleted_at)}));return null!==s&&void 0!==s&&s.find((function(e){return(null===e||void 0===e?void 0:e.id)===U}))?s:[].concat((0,r.Z)(s),[a])}),[null===H||void 0===H||null===(o=H.clinic)||void 0===o?void 0:o.locations,U]),V=(0,e.useMemo)((function(){return U?null===$||void 0===$?void 0:$.find((function(e){return(null===e||void 0===e?void 0:e.id)===U})).address:null}),[$,U]);return(0,Kl.jsxs)("div",{className:Gbe.workHourSpoiler,children:[(0,Kl.jsxs)("div",{className:Gbe.workHourHeader,children:[(0,Kl.jsx)(kl.Z,{variant:"h6",children:i}),!!v&&(0,Kl.jsx)(wd.Z,{onClick:v,children:(0,Kl.jsx)(HE.Z,{fontSize:"small",className:Gbe.icon})})]}),_?(0,Kl.jsxs)("div",{className:Gbe.openContent,children:[(0,Kl.jsx)(tAe,{title:"Work Hours",startTime:C,setStartTime:S,endTime:D,setEndTime:N}),b&&(0,Kl.jsx)(tAe,{title:"Breaks",startTime:B,setStartTime:L,endTime:P,setEndTime:I,location:U,setLocation:Z}),null!==U&&y&&(0,Kl.jsx)(Kbe,{title:"Location",value:U,setValue:Z,initLocation:g}),(0,Kl.jsx)("div",{className:Gbe.openContentButton,children:(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",size:"small",onClick:function(){u(C,D,B,P,z,p,f,d,U)},children:"Save"})})]}):(0,Kl.jsxs)("div",{className:Gbe.workHourContent,children:[(0,Kl.jsxs)("div",{className:Gbe.workHourContentTime,children:[(0,Kl.jsx)(kl.Z,{variant:"body1",children:C&&D?"\n                   ".concat(C," \u2013 ").concat(D,"\n                "):"No working hours"}),b&&(0,Kl.jsx)(kl.Z,{variant:"body2",children:B&&P?"\n                   Break: ".concat(B," \u2013 ").concat(P,"\n                "):"No Break"}),V&&d&&(0,Kl.jsx)(kl.Z,{variant:"body2",children:V})]}),(0,Kl.jsx)(wd.Z,{onClick:function(){z(!_)},children:(0,Kl.jsx)(oB.Z,{fontSize:"small",className:Gbe.icon})})]})]})})),rAe=function(e){var t=e.needBreaks;return(0,Kl.jsxs)("div",{className:Gbe.workHourSpoiler,children:[(0,Kl.jsx)("div",{className:Gbe.workHourHeader,children:(0,Kl.jsx)(Rp,{variant:"text",style:{fontSize:"26px"},width:"100%"})}),(0,Kl.jsxs)("div",{className:Gbe.workHourContent,children:[(0,Kl.jsxs)("div",{className:Gbe.workHourContentTime,children:[(0,Kl.jsx)(Rp,{variant:"text",style:{fontSize:"24px"},width:150}),t&&(0,Kl.jsx)(Rp,{variant:"text",style:{fontSize:"20px"},width:200})]}),(0,Kl.jsx)(wd.Z,{disabled:!0,children:(0,Kl.jsx)(oB.Z,{fontSize:"small",className:Gbe.icon})})]})]})},oAe=function(e){var t=e.workingHours,n=e.needBreaks,r=e.onSave,o=e.onClickDelete,i=e.needLocation;return(0,Kl.jsx)("div",{className:Ybe,children:t&&0!==(null===t||void 0===t?void 0:t.length)?null===t||void 0===t?void 0:t.map((function(e,t){return(0,Kl.jsx)(nAe,{day:null===e||void 0===e?void 0:e.workingDay,id:null===e||void 0===e?void 0:e.id,dayId:null===e||void 0===e?void 0:e.dayId,needBreaks:n,initStartTime:null===e||void 0===e?void 0:e.startHour,initEndTime:null===e||void 0===e?void 0:e.endHour,initOffStart:null===e||void 0===e?void 0:e.offTimeStart,initOffEnd:null===e||void 0===e?void 0:e.offTimeEnd,original:null===e||void 0===e?void 0:e.original,onSave:r,onClickDelete:null!==e&&void 0!==e&&e.id?function(){return o(null===e||void 0===e?void 0:e.id)}:null,initLocation:null===e||void 0===e?void 0:e.location,needLocation:i},"".concat(null===e||void 0===e?void 0:e.workingDay,"_").concat(t))})):Array.from({length:7}).map((function(e,t){return(0,Kl.jsx)(rAe,{needBreaks:n},"".concat(t,"_skeleton"))}))})},iAe=function(){var t,r=he(),o=(0,e.useState)([]),i=(0,n.Z)(o,2),a=i[0],s=i[1],l=(0,e.useContext)(bA),c=hE().enqueueSnackbar,u=(0,e.useMemo)((function(){return null===a||void 0===a?void 0:a.map((function(e){var t,n,r=null===(t=l.clinic)||void 0===t||null===(n=t.workingHours)||void 0===n?void 0:n.find((function(t){return(null===t||void 0===t?void 0:t.workingDay)===(null===e||void 0===e?void 0:e.name)}));return r?Us(Us({},r),{},{original:!0,dayId:null===e||void 0===e?void 0:e.id}):{workingDay:null===e||void 0===e?void 0:e.name,endHour:"",offTimeEnd:"",offTimeStart:"",startHour:"",original:!1,dayId:null===e||void 0===e?void 0:e.id}}))}),[null===(t=l.clinic)||void 0===t?void 0:t.workingHours,a]);(0,e.useEffect)((function(){0===a.length&&Re.get("/v1/working-days").then((function(e){s(null===e||void 0===e?void 0:e.data)}))}),[a]);return(0,Kl.jsx)(op,{anchor:"right",open:!0,onClose:function(){r("/shifts")},PaperProps:{className:Fbe},variant:"permanent",children:(0,Kl.jsxs)("div",{className:Ube,children:[(0,Kl.jsx)(Qbe,{title:"Edit Business Hours"}),(0,Kl.jsx)(oAe,{workingHours:u,getWorkingHours:function(){},onSave:function(e,t,n,r,o,i,a,s,u){s?Re.put("/v1/clinic/working-hours/".concat(a),{working_day_id:i,start_hour:e,end_hour:t,clinic_location_id:u}).then((function(e){o(!1),null===l||void 0===l||l.updateClinic()})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return c(e,{variant:"error"})}))}))})):Re.post("/v1/clinic/working-hours",{working_day_id:i,start_hour:e,end_hour:t,clinic_location_id:u}).then((function(e){o(!1),null===l||void 0===l||l.updateClinic()})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return c(e,{variant:"error"})}))}))}))},needBreaks:!1,onClickDelete:function(e){Re.delete("/v1/clinic/working-hours/".concat(e)).then((function(e){null===l||void 0===l||l.updateClinic()})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return c(e,{variant:"error"})}))}))}))},needLocation:!1})]})})},aAe="editEmployeeDrawer_paper__rf5aO",sAe="editEmployeeDrawer_container__HEhyw",lAe="editEmployeeDrawer_userCardWrapper__-ytFt",cAe="daysOff_daysOff__mlu3t",uAe=__webpack_require__(93015),dAe=__webpack_require__(66772),pAe={daysList:"daysList_daysList__5nvu8",tableHeadCol:"daysList_tableHeadCol__KQHzn",tableBodyRow:"daysList_tableBodyRow__Tjx+z",tableBodyColAction:"daysList_tableBodyColAction__vX9Ih",tableBodyCol:"daysList_tableBodyCol__kPuIS",datePicker:"daysList_datePicker__nhEOl",dateValue:"daysList_dateValue__6ftCv"},fAe=(0,e.forwardRef)((function(e,t){var n=e.value,r=e.onClick;return(0,Kl.jsx)("div",{onClick:r,ref:t,children:n})})),hAe=function(t){var r=t.allDayOffDates,o=t.setDays,i=t.item,a=t.dayItemKey,s=(0,e.useState)(),l=(0,n.Z)(s,2),c=l[0],u=l[1],d=(0,e.useState)(Us(Us({},i),{},{isValid:!1})),p=(0,n.Z)(d,2),f=p[0],h=p[1],b=me().doctorId,A=Fc().shifts,m=hE().enqueueSnackbar,g=function(e,t){var n=JSON.parse(JSON.stringify(r));return delete n[a],Object.keys(n).forEach((function(o){var i={start:"earliestStartDate"===e?t:r[a].earliestStartDate,end:"latestStartDate"===e?t:r[a].latestStartDate},s=Vs()(i.start),l=Vs()(i.end),c=Vs()(n[o].earliestStartDate),u=Vs()(n[o].latestStartDate);s.isSameOrBefore(u)&&l.isSameOrAfter(c)&&(m("The date ranges overlap.",{variant:"error"}),!1)})),!0},v=function(e,t){var n=Vs()(t).format("YYYY-MM-DD");h((function(t){return Us(Us({},t),{},{[e]:n,isValid:g(e,n)})}))},y=function(e,t){var n=Vs()(e),r=Vs()(t);if(!n.isValid()||!r.isValid()||n.isAfter(r))return[];for(var o=[],i=n;i.isSameOrBefore(r);)o.push(i.format("YYYY-MM-DD")),i.add(1,"day");return o};return(0,Kl.jsxs)("tr",{className:pAe.tableBodyRow,children:[(0,Kl.jsx)("td",{className:pAe.tableBodyCol,children:c?(0,Kl.jsxs)("div",{className:pAe.datePicker,children:[(0,Kl.jsx)(nk(),{selected:new Date(null===f||void 0===f?void 0:f.earliestStartDate),onChange:function(e){return v("earliestStartDate",e)},dateFormat:"yyyy-MM-dd",minDate:new Date,maxDate:new Date(null===f||void 0===f?void 0:f.latestStartDate),customInput:(0,Kl.jsx)(fAe,{}),calendarStartDay:1,className:pAe.dates}),"-",(0,Kl.jsx)(nk(),{selected:new Date(null===f||void 0===f?void 0:f.latestStartDate),onChange:function(e){return v("latestStartDate",e)},dateFormat:"yyyy-MM-dd",minDate:new Date(null===f||void 0===f?void 0:f.earliestStartDate),customInput:(0,Kl.jsx)(fAe,{}),calendarStartDay:1,className:pAe.dates})]}):(0,Kl.jsxs)("div",{className:pAe.dateValue,children:[null===f||void 0===f?void 0:f.earliestStartDate," - ",null===f||void 0===f?void 0:f.latestStartDate]})}),(0,Kl.jsx)("td",{className:pAe.tableBodyCol,children:c?(0,Kl.jsx)(uAe.Z,{onChange:function(e){return t=e.target.value,void h((function(e){return Us(Us({},e),{},{name:t,isValid:t!==i.name})}));var t},value:f.name,style:{color:c?"#d8a66a":"inherit",fontSize:11}}):f.name}),(0,Kl.jsx)("td",{children:(0,Kl.jsx)("div",{className:pAe.tableBodyColAction,children:c?(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(wd.Z,{disabled:!f.isValid,onClick:function(){var e=Vs()(f.earliestStartDate).format("YYYY-MM-DD"),t=Vs()(f.latestStartDate).format("YYYY-MM-DD"),n={dateRange:y(e,t),identifier:a,name:f.name,clinic_location_id:void 0};Re.put("/v1/staff/".concat(b,"/day-offs"),n).then((function(e){e.data;A.update(),u(!1)})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return m(e,{variant:"error"})}))}))}))},children:(0,Kl.jsx)(dAe.Z,{})}),(0,Kl.jsx)(wd.Z,{onClick:function(){return u(!1)},children:(0,Kl.jsx)(dB.Z,{})})]}):(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(wd.Z,{onClick:function(){return u(!0)},children:(0,Kl.jsx)(oB.Z,{})}),(0,Kl.jsx)(wd.Z,{onClick:function(){return e=a,void Re.delete("/v1/staff/".concat(b,"/day-offs"),{params:{ids:i.ids}}).then((function(t){t.data,A.update(),o((function(t){var n=Us({},t);return delete n[e],n}))})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return m(e,{variant:"error"})}))}))}));var e},children:(0,Kl.jsx)(HE.Z,{})})]})})})]})},bAe=function(t){var r=t.daysOff,o=(0,e.useState)(null),i=(0,n.Z)(o,2),a=i[0],s=i[1];return(0,e.useEffect)((function(){s(r)}),[r]),(0,Kl.jsx)("div",{className:pAe.daysList,children:(0,Kl.jsxs)("table",{cellSpacing:0,width:"100%",children:[(0,Kl.jsx)("thead",{children:(0,Kl.jsxs)("tr",{children:[(0,Kl.jsx)("th",{className:pAe.tableHeadCol,children:"Date"}),(0,Kl.jsx)("th",{className:pAe.tableHeadCol,children:"Reason"}),(0,Kl.jsx)("th",{className:pAe.tableHeadCol})]})}),(0,Kl.jsx)("tbody",{children:a&&Object.keys(a).map((function(e){return(0,Kl.jsx)(hAe,{dayItemKey:e,item:a[e],setDays:s,allDayOffDates:a},e)}))})]})})},AAe={addDayOff:"addDayOff_addDayOff__0aAQU",addDayOffHeader:"addDayOff_addDayOffHeader__eo-0c",addDayOffElements:"addDayOff_addDayOffElements__3B4Xg",addDayOffDates:"addDayOff_addDayOffDates__P5tH2",addDayOffDatesButton:"addDayOff_addDayOffDatesButton__VtS6J"},mAe=(0,e.forwardRef)((function(e,t){var n=e.value,r=e.onClick,o=e.name;return(0,Kl.jsx)("div",{onClick:r,ref:t,children:(0,Kl.jsx)(Wu.Z,{InputProps:{readOnly:!0},size:"small",type:"text",name:"deposit",variant:"outlined",label:o,value:n,fullWidth:!0})})})),gAe=function(){var t=(0,e.useState)(new Date),r=(0,n.Z)(t,2),o=r[0],i=r[1],a=(0,e.useState)(new Date),s=(0,n.Z)(a,2),l=s[0],c=s[1],u=(0,e.useState)(""),d=(0,n.Z)(u,2),p=d[0],f=d[1],h=Fc().shifts,b=he(),A=me().doctorId,m=hE().enqueueSnackbar;return(0,Kl.jsxs)("div",{className:AAe.addDayOff,children:[(0,Kl.jsx)("div",{className:AAe.addDayOffHeader,children:(0,Kl.jsx)(kl.Z,{variant:"body2",children:"Add Day Off"})}),(0,Kl.jsxs)("div",{className:AAe.addDayOffElements,children:[(0,Kl.jsx)(Wu.Z,{size:"small",type:"text",name:"reason",variant:"outlined",label:"Day Off Name",focused:!0,value:p,onChange:function(e){return f(e.target.value)},placeholder:"Type text here...",fullWidth:!0}),(0,Kl.jsxs)("div",{className:AAe.addDayOffDates,children:[(0,Kl.jsx)(nk(),{selected:new Date(o),onChange:function(e){return i(e)},dateFormat:"dd.MM.yyyy",minDate:new Date,customInput:(0,Kl.jsx)(mAe,{name:"Start Date",value:o}),calendarStartDay:1,className:AAe.datePicker}),(0,Kl.jsx)(nk(),{selected:new Date(l),onChange:function(e){return c(e)},dateFormat:"dd.MM.yyyy",minDate:new Date,customInput:(0,Kl.jsx)(mAe,{name:"End Date",value:l}),calendarStartDay:1,className:AAe.datePicker})]}),(0,Kl.jsx)("div",{className:AAe.addDayOffDatesButton,children:(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",size:"small",onClick:function(){var e={start_date:Vs()(o).format("YYYY-MM-DD"),end_date:Vs()(l).format("YYYY-MM-DD"),name:p};Re.post("/v1/staff/".concat(A,"/day-offs"),e).then((function(e){e.data;h.update(),b("/shifts")})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return m(e,{variant:"error"})}))}))}))},children:"Save"})})]})]})},vAe=$l((function(){var t=(0,e.useState)([]),r=(0,n.Z)(t,2),o=r[0],i=r[1],a=me().doctorId,s=function(e){var t=new Date(e.valueOf()),n=(e.getUTCDay()+6)%7;t.setUTCDate(t.getUTCDate()-n+3);var r=t.valueOf();return t.setUTCMonth(0,1),4!==t.getUTCDay()&&t.setUTCMonth(0,1+(4-t.getUTCDay()+7)%7),1+Math.ceil((r-t)/6048e5)};return(0,e.useEffect)((function(){Re.get("/v1/staff/".concat(a,"/day-offs")).then((function(e){var t;i(null===e||void 0===e||null===(t=e.data)||void 0===t?void 0:t.data)}))}),[a]),(0,Kl.jsxs)("div",{className:cAe,children:[(0,Kl.jsx)(bAe,{daysOff:function(e){var t={},n=function(n){e.hasOwnProperty(n)&&e[n].forEach((function(e){t[n]||(t[n]={ids:[],name:e.name,earliestStartDate:e.start_date,latestStartDate:e.start_date}),t[n].ids.push(e.id),e.start_date<t[n].earliestStartDate&&(t[n].earliestStartDate=e.start_date),e.start_date>t[n].latestStartDate&&(t[n].latestStartDate=e.start_date)}))};for(var r in e)n(r);return t}(function(e){var t={};return e.forEach((function(e){var n,r=new Date(e.start_date);n=null!==e.unique_hash?e.unique_hash:s(r),t[n]||(t[n]=[]),t[n].push(e)})),t}(o))}),(0,Kl.jsx)(gAe,{})]})})),yAe=vAe,MAe=(0,Hu.Z)((function(e){return{root:{height:"auto",flex:1,backgroundColor:"#F4F5FB",fontWeight:700,"&.Mui-selected":{backgroundColor:"#E0A160",color:"#fff"}}}}))(Vb),OAe=$l((function(){var t,r,o,i,a,s,l=he(),c=(0,e.useState)(),u=(0,n.Z)(c,2),d=u[0],p=u[1],f=(0,e.useState)(0),h=(0,n.Z)(f,2),b=h[0],A=h[1],m=me().doctorId,g=(0,e.useState)([]),v=(0,n.Z)(g,2),y=v[0],M=v[1],O=Fc().location,_=(0,e.useContext)(bA),z=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get("/v1/staff/".concat(m)).then((function(e){var t=e.data.data,n=null===y||void 0===y?void 0:y.map((function(e){var n,r,o,i,a,s,l=null===t||void 0===t||null===(n=t.workingHours)||void 0===n?void 0:n.find((function(t){return(null===t||void 0===t?void 0:t.workingDay)===(null===e||void 0===e?void 0:e.name)}));return l?Us(Us({},l),{},{original:!0,dayId:null===e||void 0===e?void 0:e.id,location:(null===l||void 0===l||null===(r=l.location)||void 0===r?void 0:r.id)||(null===_||void 0===_||null===(o=_.clinic)||void 0===o||null===(i=o.mainLocation)||void 0===i?void 0:i.id)}):{workingDay:null===e||void 0===e?void 0:e.name,endHour:"",offTimeEnd:"",offTimeStart:"",startHour:"",original:!1,dayId:null===e||void 0===e?void 0:e.id,location:null===_||void 0===_||null===(a=_.clinic)||void 0===a||null===(s=a.mainLocation)||void 0===s?void 0:s.id}}));t.workingHours=n,p(t)}));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();(0,e.useEffect)((function(){0===y.length&&Re.get("/v1/working-days").then((function(e){M(null===e||void 0===e?void 0:e.data)})),z()}),[m,y,null===O||void 0===O?void 0:O.id]);var x=Fc().shifts,w=hE().enqueueSnackbar,C=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t,n,r,o,i,a,s,l,c){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:l?Re.put("/v1/staff/".concat(m,"/working-hours/").concat(s),{working_day_id:a,start_hour:t,end_hour:n,off_time_start:r,off_time_end:o,clinic_location_id:c}).then((function(e){x.update(),z(),i(!1)})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return w(e,{variant:"error"})}))}))})):Re.post("/v1/staff/".concat(m,"/working-hours"),{working_day_id:a,start_hour:t,end_hour:n,off_time_start:r,off_time_end:o,clinic_location_id:c}).then((function(e){x.update(),z(),i(!1)})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return w(e,{variant:"error"})}))}))}));case 1:case"end":return e.stop()}}),e)})));return function(t,n,r,o,i,a,s,l,c){return e.apply(this,arguments)}}();return(0,Kl.jsx)(op,{anchor:"right",open:!0,onClose:function(){l("/shifts")},PaperProps:{className:aAe},variant:"permanent",children:(0,Kl.jsxs)("div",{className:sAe,children:[(0,Kl.jsx)(Qbe,{title:"Edit Employee"}),(0,Kl.jsx)("div",{className:lAe,children:(0,Kl.jsx)(jw,{loading:!d,avatarUrl:null===d||void 0===d||null===(t=d.user)||void 0===t?void 0:t.avatarUrl,name:null!==(r=Qs(null===d||void 0===d||null===(o=d.user)||void 0===o?void 0:o.firstName,null===d||void 0===d||null===(i=d.user)||void 0===i?void 0:i.lastName))&&void 0!==r?r:"Doctor Name",role:null!==(a=null===d||void 0===d||null===(s=d.role)||void 0===s?void 0:s.name)&&void 0!==a?a:"Doctor Role",id:null===d||void 0===d?void 0:d.id})}),(0,Kl.jsxs)("div",{children:[(0,Kl.jsxs)(Hb,{value:b,onChange:function(e,t){A(t)},"aria-label":"simple tabs example",children:[(0,Kl.jsx)(MAe,{label:"Work Hours",fullWidth:!0,disableRipple:!0,wrapped:!0}),(0,Kl.jsx)(MAe,{label:"Days Off",fullWidth:!0,disableRipple:!0,wrapped:!0})]}),0===b?(0,Kl.jsx)(oAe,{workingHours:null===d||void 0===d?void 0:d.workingHours,onSave:C,onClickDelete:function(e){Re.delete("v1/staff/".concat(m,"/working-hours/").concat(e)).then((function(e){x.update(),z()})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return w(e,{variant:"error"})}))}))}))},needLocation:!0}):(0,Kl.jsx)(yAe,{})]})]})})})),_Ae=OAe,zAe=$l((function(){var e,t,n,r=he(),o=me().shiftId,i=Fc(),a=i.shifts,s=(i.location,hE().enqueueSnackbar);return(0,Kl.jsx)(op,{anchor:"right",open:!0,onClose:function(){r("/shifts")},PaperProps:{className:Zbe},variant:"permanent",children:(0,Kl.jsxs)("div",{className:Hbe,children:[(0,Kl.jsx)(Qbe,{title:o?"Edit Shift":"Add Shift"}),(0,Kl.jsx)("div",{className:$be,children:(0,Kl.jsx)(jw,{avatarUrl:null===a||void 0===a||null===(e=a.doctor)||void 0===e?void 0:e.avatarUrl,name:null!==(t=null===a||void 0===a?void 0:a.doctor.name)&&void 0!==t?t:"Doctor Name",role:null!==(n=null===a||void 0===a?void 0:a.doctor.role)&&void 0!==n?n:"Doctor Role",id:null===a||void 0===a?void 0:a.doctor.id})}),(0,Kl.jsx)("div",{className:Vbe,children:(0,Kl.jsx)(nAe,{day:Vs()(null===a||void 0===a?void 0:a.date).format("dddd"),initStartTime:null===a||void 0===a?void 0:a.startTime,initEndTime:null===a||void 0===a?void 0:a.endTime,initOffStart:null===a||void 0===a?void 0:a.offStart,initOffEnd:null===a||void 0===a?void 0:a.offEnd,initLocation:null===a||void 0===a?void 0:a.location,onSave:function(e,t,n,i,l,c,u,d,p){var f,h,b,A;o?Re.put("/v1/staff/".concat(null===a||void 0===a||null===(f=a.doctor)||void 0===f?void 0:f.id,"/shifts/").concat(o),{staff_id:null===a||void 0===a||null===(h=a.doctor)||void 0===h?void 0:h.id,start_date:Vs()(null===a||void 0===a?void 0:a.date).format("YYYY-MM-DD"),start_at:e,end_at:t,off_time_start:n,off_time_end:i,clinic_location_id:p}).then((function(e){a.update(),r("/shifts"),l(!1)})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return s(e,{variant:"error"})}))}))})):Re.post("/v1/staff/".concat(null===a||void 0===a||null===(b=a.doctor)||void 0===b?void 0:b.id,"/shifts"),{staff_id:null===a||void 0===a||null===(A=a.doctor)||void 0===A?void 0:A.id,start_date:Vs()(null===a||void 0===a?void 0:a.date).format("YYYY-MM-DD"),start_at:e,end_at:t,off_time_start:n,off_time_end:i,clinic_location_id:p}).then((function(e){a.update(),r("/shifts"),l(!1)})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return s(e,{variant:"error"})}))}))}))},initOpen:!o,onClickDelete:o?function(){var e;Re.delete("/v1/staff/".concat(null===a||void 0===a||null===(e=a.doctor)||void 0===e?void 0:e.id,"/shifts/").concat(o)).then((function(e){a.update(),r("/shifts")})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return s(e,{variant:"error"})}))}))}))}:null,needLocation:!0})})]})})})),xAe=zAe,wAe="waitlist_patients__wtbnP",CAe="waitlist_table__gNvs0",SAe=function(e){var t=e.open,n=e.setOpen,r=e.id,o=function(){n(!1)},i=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.delete("/v1/wait-list/".concat(r)).then((function(e){e.data;o(),window.location.reload()}));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,Kl.jsx)(vC,{onClose:o,"aria-labelledby":"simple-dialog-title",open:t,PaperProps:{style:{borderRadius:15}},children:(0,Kl.jsx)(_E,{style:{overflow:"hidden",paddingBottom:20},children:(0,Kl.jsxs)(AC,{container:!0,spacing:2,justifyContent:"center",children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(kl.Z,{variant:"h6",children:"Do you want to remove this item?"})}),(0,Kl.jsxs)(AC,{container:!0,direction:"row",justifyContent:"center",spacing:2,item:!0,children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(zd.Z,{variant:"contained",color:"secondary",onClick:o,children:"No"})}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",onClick:i,children:"Yes"})})]})]})})})},EAe=function(e){var t=he();return(0,Kl.jsx)(zd.Z,{onClick:function(){t("/patients/".concat(e.row.patientId))},variant:"contained",color:"primary",size:"small",style:{marginLeft:16},children:"Info"})},kAe=$l((function(){var t=(0,e.useState)([]),r=(0,n.Z)(t,2),o=r[0],i=r[1],a=Fc().search,s=(0,e.useState)(!1),l=(0,n.Z)(s,2),c=l[0],u=l[1],d=(0,e.useState)(),p=(0,n.Z)(d,2),f=p[0],h=p[1],b=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get("/v1/wait-list").then((function(e){var n=e.data.data.map((function(e){var t;return{id:e.id,patient:e.patient.fullName,startDate:e.waiting_at?Vs()(e.waiting_at).format("YYYY-MM-DD HH:mm"):"",endDate:e.end_waiting_at?Vs()(e.end_waiting_at).format("YYYY-MM-DD HH:mm"):"",doctor:e.doctor.fullName,type:e.appointment_type.name,services:e.treatment_types.map((function(e){return e.name})).join(", "),patientId:e.patient.id,location:null===e||void 0===e||null===(t=e.location)||void 0===t?void 0:t.address}}));i(n.filter((function(e){return e.patient.toLowerCase().includes(t.toLowerCase())})))}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),A=[{field:"patient",headerName:"Patient",width:200,editable:!1,sortable:!1},{field:"startDate",headerName:"Start Date",type:"string",width:140,editable:!1,sortable:!1},{field:"endDate",headerName:"End Date",type:"string",width:140,editable:!1,sortable:!1},{field:"doctor",headerName:"Doctor",sortable:!1,width:260},{field:"location",headerName:"Location",sortable:!1,width:200},{field:"type",headerName:"Type",sortable:!1,width:260},{field:"services",headerName:"Services",sortable:!1,width:200},{field:"info",headerName:"Info",width:100,renderCell:EAe,disableClickEventBubbling:!0,sortable:!1,editable:!1},{field:"remove",headerName:"Remove",width:120,renderCell:function(e){return(0,Kl.jsx)(Kl.Fragment,{children:(0,Kl.jsx)(wd.Z,{onClick:function(){u(!0),h(e.row.id)},children:(0,Kl.jsx)(HE.Z,{})})})},sortable:!1,editable:!1}];return(0,e.useEffect)((function(){b(a.value)}),[a.value]),o?(0,Kl.jsxs)("div",{className:wAe,children:[(0,Kl.jsx)(sG._$r,{className:CAe,rows:o,columns:A,disableSelectionOnClick:!0,autoHeight:!0,disableColumnSelector:!0,row:!0}),(0,Kl.jsx)(SAe,{open:c,setOpen:u,id:f})]}):null})),DAe=kAe,NAe=$l((function(t){var n,r=t.handleClose,o=t.title,i=t.children,a=Fc().appointment,s=(0,e.useMemo)((function(){var e;switch(null===a||void 0===a||null===(e=a.status)||void 0===e?void 0:e.slug){case"":default:return"#bdc3c7";case"upcoming":return"#3498db";case"active":return"#27ae60";case"completed":return"#8e44ad";case"not-show":case"cancelled":return"#cf6a87";case"arrived":return"#be2edd";case"ready-to-be-seen":return"#f9ca24"}}),[null===a||void 0===a||null===(n=a.status)||void 0===n?void 0:n.slug]);return(0,Kl.jsxs)("div",{className:RE.header,style:{backgroundColor:s},children:[(0,Kl.jsxs)("div",{className:RE.headerInfo,children:[(0,Kl.jsx)(kl.Z,{className:RE.headerTitle,children:o}),i]}),(0,Kl.jsx)(wd.Z,{onClick:r,children:(0,Kl.jsx)(dB.Z,{})})]})})),TAe=NAe,jAe=$l((function(){var t,n=Fc(),r=n.appointment,o=n.appointmentDoctor,i=hE().enqueueSnackbar,a=(0,e.useCallback)((function(){Re.put("/v1/appointment/".concat(r.id,"/payment/update-notes"),{notes:o.payment.notes}).then((function(){return i("Successfully saved!",{variant:"success"})})).catch((function(e){var t=e.message;return i(t,{variant:"error"})}))}),[r.id,o.payment.notes]);return(0,Kl.jsx)(ok,{title:"Notes",children:(0,Kl.jsxs)("div",{className:RE.patientNotes,children:[(0,Kl.jsx)(Wu.Z,{name:"Notes",size:"small",variant:"outlined",fullWidth:!0,multiline:!0,minRows:2,value:null!==(t=o.payment.notes)&&void 0!==t?t:"",onChange:function(e){return o.payment.setNotes(e.target.value)}}),(0,Kl.jsx)("div",{className:RE.buttonContainer,children:(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",size:"small",onClick:a,children:"Save"})})]})})})),BAe=jAe,LAe=$l((function(){var t,r,o,i,a,s=he(),l=Fc(),c=l.appointment,u=l.appointmentDoctor,d=me().appointmentId,p=(0,e.useState)([]),f=(0,n.Z)(p,2),h=f[0],b=f[1],A=(0,e.useContext)(bA),m=Ae().calendarRef;qB(),(0,e.useEffect)((function(){var e,t;d||(null===u||void 0===u||null===(t=u.payment)||void 0===t||t.clear());null!==u&&void 0!==u&&null!==(e=u.payment)&&void 0!==e&&e.exists||!d||Re.get("/v1/appointment/".concat(d,"/payment")).then((function(e){u.payment.init(e.data.data)}))}),[]);var g=function(){s(m?"/calendar":-2)},v=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get("/v1/payment/methods").then((function(e){var t;(null===e||void 0===e||null===(t=e.data)||void 0===t?void 0:t.length)>0&&b(null===e||void 0===e?void 0:e.data)}));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();(0,e.useEffect)((function(){null!==c&&void 0!==c&&c.id||!m||s("/calendar/appointment/".concat(d)),v()}),[null===c||void 0===c?void 0:c.id,m]);var y=(0,e.useMemo)((function(){return u.payment.paidAt?"".concat(Vs()(u.payment.paidAt).format("DD/MM/YYYY HH:mm")):null}),[u.payment.paidAt]),M=(0,e.useMemo)((function(){return c.depositedAt?"".concat(Vs()(c.depositedAt).format("DD/MM/YYYY HH:mm")):null}),[u.depositedAt]),O=(0,e.useMemo)((function(){var e;return null===(e=h.find((function(e){return e.slug===u.payment.paymentMethod})))||void 0===e?void 0:e.name}),[h,u.payment.paymentMethod]);return null!==c&&void 0!==c&&c.id?(0,Kl.jsx)(op,{anchor:"right",open:!0,onClose:g,PaperProps:{className:RE.paper},variant:"permanent",children:(0,Kl.jsxs)("div",{className:RE.appointment,children:[(0,Kl.jsx)(TAe,{title:"RECEIPT",handleClose:g}),(0,Kl.jsxs)("div",{className:RE.appointmentMain,children:[(0,Kl.jsxs)("div",{className:RE.patient,children:[(0,Kl.jsx)(jw,{name:null===c||void 0===c||null===(t=c.patient)||void 0===t?void 0:t.name,avatarUrl:null===c||void 0===c||null===(r=c.patient)||void 0===r?void 0:r.avatarUrl,role:y}),c.isPaid&&(0,Kl.jsx)(t6,{label:"Paid",style:{backgroundColor:"#E4F8EF"}})]}),(0,Kl.jsxs)("div",{className:RE.checkout,children:[(0,Kl.jsx)(M6,{active:!1}),(0,Kl.jsx)(Jb,{style:{marginBottom:24}})]}),(0,Kl.jsxs)("div",{className:RE.checkoutBottomContent,children:[(0,Kl.jsxs)("div",{className:RE.prepayment,children:[!!M&&(0,Kl.jsxs)(AC,{item:!0,container:!0,justifyContent:"space-between",children:[(0,Kl.jsx)(kl.Z,{align:"center",children:"Prepayment"}),(0,Kl.jsxs)(kl.Z,{children:[" ",M]})]}),!(null===(o=u.payment)||void 0===o||!o.transaction)&&(0,Kl.jsxs)(AC,{item:!0,container:!0,justifyContent:"space-between",children:[(0,Kl.jsx)(kl.Z,{align:"center",children:"Stripe transaction ID"}),(0,Kl.jsx)(kl.Z,{align:"center",children:null===(i=u.payment)||void 0===i||null===(a=i.transaction)||void 0===a?void 0:a.stripe_id})]})]}),(0,Kl.jsx)("div",{className:RE.checkoutSummary,children:(0,Kl.jsx)(w6,{})}),c.isPaid&&(0,Kl.jsxs)("div",{className:RE.checkoutPaymentMethod,children:[(0,Kl.jsxs)(AC,{item:!0,container:!0,justifyContent:"space-between",children:[(0,Kl.jsxs)(kl.Z,{align:"center",children:["Paid by ",O]}),(0,Kl.jsx)(kl.Z,{align:"center",children:y})]}),"split"===u.payment.paymentMethod&&(0,Kl.jsx)("div",{children:u.payment.split.map((function(e,t){return(0,Kl.jsxs)(AC,{item:!0,container:!0,justifyContent:"space-between",children:[(0,Kl.jsx)(kl.Z,{className:RE.splitItemName,children:null===e||void 0===e?void 0:e.name}),(0,Kl.jsxs)(kl.Z,{className:RE.splitItemValue,children:[A.clinic.currency,null===e||void 0===e?void 0:e.amount]})]},"payment_method_".concat(t))}))})]}),(0,Kl.jsx)(BAe,{})]})]})]})}):null})),RAe=LAe,qAe=__webpack_require__(29278),PAe=H5(),IAe=jk.object({price:jk.number("Enter price").required("Price is required").min(0,"Minimum 0").max(1e7,"Maximum 10000000"),service:jk.object({name:jk.string().required("Service Name is required"),id:jk.number()}),isMedical:jk.boolean()}),WAe=$l((function(e){var t=e.open,n=e.setOpen,r=e.initValues,o=e.onSubmit,i=e.onClickDelete,a=Fc().appointment,s=Xj({enableReinitialize:!0,initialValues:Us({},r),validationSchema:IAe,onSubmit:function(e,t){var r=t.resetForm;o(Us({},e)),n(!1),r()},validator:function(){return{}}}),l=function(){n(!1),s.resetForm()};return(0,Kl.jsxs)(op,{anchor:"right",open:!!t,onClose:l,PaperProps:{className:RE.paper},variant:"persistent",children:[(0,Kl.jsx)(TAe,{title:"add"===t?"ADD NEW SERVICE":"EDIT SERVICE",handleClose:l}),(0,Kl.jsx)("div",{className:RE.appointment,children:(0,Kl.jsx)("div",{className:RE.createNewService,children:(0,Kl.jsx)(ok,{title:"New Service",children:(0,Kl.jsxs)("form",{onSubmit:s.handleSubmit,className:RE.createNewServiceForm,children:[(0,Kl.jsx)(s6,{value:s.values.service,onChange:function(e,t){if("string"===typeof t)s.setFieldValue("service",{name:t,id:-1});else if(t&&t.inputValue)s.setFieldValue("service",{name:t.inputValue,id:-1});else{var n;s.setFieldValue("service",t),s.setFieldValue("price",null===a||void 0===a||null===(n=a.treatmentTypes.find((function(e){return e.id===(null===t||void 0===t?void 0:t.id)})))||void 0===n?void 0:n.realPrice)}},filterOptions:function(e,t){var n=PAe(e,t);return""!==t.inputValue&&n.push({inputValue:t.inputValue,name:'Click to Add "'.concat(t.inputValue,'"')}),n},selectOnFocus:!0,clearOnBlur:!0,style:{margin:"24px 0px"},handleHomeEndKeys:!0,id:"service",options:null===a||void 0===a?void 0:a.availableTreatmentTypes,getOptionLabel:function(e){return"string"===typeof e?e:e.inputValue?null!==(t=null===e||void 0===e?void 0:e.inputValue)&&void 0!==t?t:"":e.name;var t},renderOption:function(e){var t;return null!==(t=null===e||void 0===e?void 0:e.name)&&void 0!==t?t:""},freeSolo:!0,renderInput:function(e){var t,n,r;return(0,Kl.jsx)(Wu.Z,Us(Us({},e),{},{label:"Service Name",variant:"outlined",size:"small",error:s.touched.service&&Boolean(null===(t=s.errors.service)||void 0===t?void 0:t.name),helperText:(null===(n=s.touched.service)||void 0===n?void 0:n.name)&&(null===(r=s.errors.service)||void 0===r?void 0:r.name)}))}}),(0,Kl.jsx)(Wu.Z,{size:"small",type:"number",name:"price",variant:"outlined",label:"Price",fullWidth:!0,value:Number(s.values.price).toString(),onChange:function(e){s.setFieldValue("price",e.target.value)},onBlur:s.handleBlur,error:s.touched.price&&Boolean(s.errors.price),helperText:s.touched.price&&s.errors.price,placeholder:"Type price here...",InputLabelProps:{shrink:!0}}),(0,Kl.jsxs)("div",{className:RE.typeGroup,children:[(0,Kl.jsx)(KE,{id:s.values.service,isMedical:s.values.isMedical?1:0,handleTreatmentTypeChange:function(e,t){s.setFieldValue("isMedical",1===t)}}),(0,Kl.jsxs)("div",{className:RE.typeGroupButtons,children:["edit"===t&&(0,Kl.jsx)(zd.Z,{color:"primary",variant:"contained",onClick:i,size:"small",style:{backgroundColor:"red"},children:"Delete"}),(0,Kl.jsx)(zd.Z,{color:"primary",variant:"contained",type:"submit",size:"small",children:"add"===t?"Add":"Save"})]})]})]})})})})]})})),FAe=WAe,UAe=jk.object({discountTotal:jk.number("Enter discount").required("Discount is required").min(0,"Minimum 0").max(1e7,"Maximum 10000000"),discountPercent:jk.number("Enter discount").min(0,"Minimum 0%").max(100,"Maximum 100%")}),ZAe=$l((function(t){var r,o=t.open,i=t.setOpen,a=t.initValues,s=t.onSubmit,l=(t.onClickDelete,(0,e.useState)(0)),c=(0,n.Z)(l,2),u=c[0],d=c[1],p=Xj({enableReinitialize:!0,initialValues:Us({},a),validationSchema:UAe,onSubmit:function(e,t){var n=t.resetForm;s(u,Us({},e)),i(!1),n()},validator:function(){return{}}}),f=function(){i(!1),p.resetForm()};return(0,Kl.jsxs)(op,{anchor:"right",open:!!o,onClose:f,PaperProps:{className:RE.paper},variant:"persistent",children:[(0,Kl.jsx)(TAe,{title:"DISCOUNT",handleClose:f}),(0,Kl.jsx)("div",{className:RE.appointment,children:(0,Kl.jsxs)("div",{className:RE.createNewService,children:[(0,Kl.jsxs)("div",{className:RE.discountSwiper,children:[(0,Kl.jsx)(lF,{title:"Discount, %",onClick:function(){return d(0)},selected:0===u}),(0,Kl.jsx)(lF,{title:"Discount, total",onClick:function(){return d(1)},selected:1===u})]}),(0,Kl.jsx)(ok,{title:"Discount",children:(0,Kl.jsxs)("form",{onSubmit:p.handleSubmit,className:RE.createNewServiceForm,children:[0===u?(0,Kl.jsx)(Wu.Z,{type:"number",name:"discountPercent",label:"Discount, %",variant:"outlined",size:"small",value:null!==(r=p.values.discountPercent)&&void 0!==r?r:void 0,onChange:p.handleChange,error:p.touched.discountPercent&&Boolean(p.errors.discountPercent),helperText:p.touched.discountPercent&&p.errors.discountPercent,className:RE.discountField,InputLabelProps:{shrink:!0}}):(0,Kl.jsx)(Wu.Z,{type:"number",name:"discountTotal",label:"Discount, total",variant:"outlined",size:"small",value:p.values.discountTotal,onChange:p.handleChange,error:p.touched.discountTotal&&Boolean(p.errors.discountTotal),helperText:p.touched.discountTotal&&p.errors.discountTotal,className:RE.discountField,InputLabelProps:{shrink:!0}}),(0,Kl.jsx)("div",{className:RE.typeGroup,children:(0,Kl.jsx)(zd.Z,{color:"primary",variant:"contained",type:"submit",size:"small",children:"Save"})})]})})]})})]})})),HAe=ZAe,$Ae="splitElement_container__GBgWi",VAe=function(t){var n=t.value,r=t.onChange,o=t.index,i=t.values,a=function(e,t){var n=i.concat();n[o][t]=e,r("split",n)},s=(0,e.useMemo)((function(){return ic.filter((function(e){return"split"!==e.slug}))}),[]);return(0,Kl.jsxs)("div",{className:$Ae,children:[(0,Kl.jsx)(Wu.Z,{size:"small",variant:"outlined",fullWidth:!0,name:"amount",label:"Price",type:"number",value:Number(n.amount).toString(),onChange:function(e){return a(Number(e.target.value),"amount")}}),(0,Kl.jsx)(Wu.Z,{fullWidth:!0,value:n.method,name:"method",label:"Payment Method",variant:"outlined",onChange:function(e){return a(e.target.value,"method")},select:!0,size:"small",children:null===s||void 0===s?void 0:s.map((function(e,t){return(0,Kl.jsx)(xd.Z,{value:e.slug,children:null===e||void 0===e?void 0:e.name},"".concat(e.name,"_").concat(t))}))}),(0,Kl.jsx)(wd.Z,{onClick:function(){var e=i.concat();e=e.filter((function(e,t){return o!==t})),r("split",e)},children:(0,Kl.jsx)(dB.Z,{})})]})},XAe=jk.object({split:jk.array().of(jk.object({amount:jk.number("Enter price").required("Price is required").min(0,"Minimum 0").max(1e7,"Maximum 10000000"),method:jk.string().required("Payment Method is required")}))}),QAe=$l((function(t){var n,r=t.open,o=t.setOpen,i=t.onClickUpdatePayment,a=Fc().appointmentDoctor,s=(0,e.useContext)(bA),l=Xj({enableReinitialize:!0,initialValues:{split:(0,e.useMemo)((function(){return JSON.parse(JSON.stringify(a.payment.split))}),[JSON.stringify(a.payment.split)])},validationSchema:XAe,onSubmit:function(e,t){t.resetForm;a.payment.setSplit(e.split),"record"===r&&i(!0),c()},validator:function(){return{}}}),c=function(){o(!1),l.resetForm()},u=(0,e.useMemo)((function(){return ic.filter((function(e){return"split"!==e.slug})).filter((function(e){var t,n;return null===(t=l.values)||void 0===t||null===(n=t.split)||void 0===n?void 0:n.every((function(t){return t.method!==e.slug}))}))}),[l.values.split]),d=(0,e.useMemo)((function(){var e=l.values.split.reduce((function(e,t){return Number(e)+Number(t.amount)}),0);return e}),[l.values.split]),p=(0,e.useMemo)((function(){var e;return Number(d)===Number(null===a||void 0===a||null===(e=a.payment)||void 0===e?void 0:e.remainingBalance.toFixed(2))&&l.isValid}),[d,a.payment.total,l.isValid]),f=(0,e.useMemo)((function(){var e;return((null===a||void 0===a||null===(e=a.payment)||void 0===e?void 0:e.remainingBalance.toFixed(2))-d).toFixed(2)}),[d,a.payment.total,l.isValid]);return(0,Kl.jsxs)(vC,{onClose:c,open:!!r,PaperProps:{className:RE.split},children:[(0,Kl.jsxs)(MC,{className:RE.splitHeader,children:[(0,Kl.jsxs)("div",{children:["Split Payment",(0,Kl.jsxs)(kl.Z,{className:RE.changeStatus,children:["Remaining ",s.clinic.currency,f]})]}),(0,Kl.jsx)(wd.Z,{onClick:c,children:(0,Kl.jsx)(dB.Z,{})})]}),(0,Kl.jsx)(_E,{style:{paddingBottom:20},children:(0,Kl.jsxs)("div",{className:RE.methods,children:[(0,Kl.jsx)("div",{className:RE.methodsItems,children:null===(n=l.values.split)||void 0===n?void 0:n.map((function(e,t){return(0,Kl.jsx)(VAe,{value:e,onChange:l.setFieldValue,index:t,values:l.values.split,filteredPaymentMethods:u},"split_".concat(t))}))}),(0,Kl.jsx)(zd.Z,{variant:"contained",startIcon:(0,Kl.jsx)(vS.Z,{}),fullWidth:!0,onClick:function(){var e;l.setFieldValue("split",null===(e=l.values.split)||void 0===e?void 0:e.concat({amount:0,method:""}))},disabled:0===u.length,color:"primary",children:"Add Payment Method"})]})}),(0,Kl.jsx)(xE,{children:(0,Kl.jsx)(zd.Z,{variant:"contained",fullWidth:!0,onClick:l.handleSubmit,color:"primary",disabled:!p,children:"Save"})})]})})),YAe=QAe,GAe=jk.object({id:jk.number("Enter price"),expiringItemId:jk.number().nullable(),name:jk.string("Enter name").required("Name is required"),lot:jk.string("Enter name").nullable(),expire_date:jk.string("").nullable(),price:jk.number("Enter price").required("Price is required").min(0,"Minimum 0").max(1e7,"Maximum 10000000").positive("Price must be positive").test("is-decimal","Enter a valid decimal number",(function(e){return e%1!==0||0===e})),quantity:jk.number("Enter price").required("Price is required").min(0,"Minimum 0").max(1e7,"Maximum 10000000"),total_price:jk.number().min(0,"Minimum 0").max(1e7,"Maximum 10000000")}),KAe=$l((function(e){var t,n,r,o=e.open,i=e.setOpen,a=e.initValues,s=e.onSubmit,l=(e.onClickDelete,Fc().appointmentDoctor),c=null===l||void 0===l||null===(t=l.payment)||void 0===t?void 0:t.selected_products.find((function(e){return e.id===a.id&&e.inventory_expiring_item_id===a.expiringItemId})),u=Xj({enableReinitialize:!0,initialValues:Us({},a),validationSchema:GAe,onSubmit:function(e,t){var n=t.resetForm;i(!1),n(),s()},validator:function(){return{}}}),d=function(){i(!1),u.resetForm()};return(0,Kl.jsxs)(op,{anchor:"right",open:!!o,onClose:d,PaperProps:{className:RE.paper},variant:"persistent",children:[(0,Kl.jsx)(TAe,{title:"EDIT PRODUCT",handleClose:d}),(0,Kl.jsx)("div",{className:RE.appointment,children:(0,Kl.jsxs)("form",{onSubmit:u.handleSubmit,className:RE.updateProductDiscountPrice,children:[(0,Kl.jsx)(Wu.Z,{style:{marginBottom:"15px"},disabled:!0,type:"text",size:"small",name:"name",variant:"outlined",label:"Name",fullWidth:!0,value:u.values.name,onChange:function(e){u.setFieldValue("name",e.target.value)},onBlur:u.handleBlur,error:u.touched.name&&Boolean(u.errors.price),helperText:u.touched.name&&u.errors.name,placeholder:"Type name here...",InputLabelProps:{shrink:!0}}),null!=u.values.lot?(0,Kl.jsx)(Wu.Z,{style:{marginBottom:"15px"},disabled:!0,type:"text",size:"small",name:"lot",variant:"outlined",label:"LOT Number",fullWidth:!0,value:u.values.lot,onBlur:u.handleBlur,placeholder:"Type name here...",InputLabelProps:{shrink:!0}}):(0,Kl.jsx)(Kl.Fragment,{}),null!=u.values.expire_date?(0,Kl.jsx)(Wu.Z,{style:{marginBottom:"15px"},disabled:!0,type:"text",size:"small",name:"expire_date",variant:"outlined",label:"Expire Date",fullWidth:!0,value:u.values.expire_date,onBlur:u.handleBlur,placeholder:"Type name here...",InputLabelProps:{shrink:!0}}):(0,Kl.jsx)(Kl.Fragment,{}),(0,Kl.jsx)(Wu.Z,{size:"small",type:"number",name:"quantity",variant:"outlined",label:"Amount",style:{marginBottom:"15px"},fullWidth:!0,value:Number(u.values.quantity).toString(),onChange:function(e){u.setFieldValue("quantity",e.target.value)},onBlur:u.handleBlur,error:u.touched.quantity&&Boolean(u.errors.quantity),helperText:u.touched.quantity&&u.errors.quantity,placeholder:"Type price here...",InputLabelProps:{shrink:!0}}),Number(null===c||void 0===c?void 0:c.price).toString()!==Number(u.values.price).toString()?(0,Kl.jsx)(Kl.Fragment,{children:(0,Kl.jsx)(Wu.Z,{style:{marginBottom:"15px"},size:"small",type:"number",name:"amount",disabled:!0,variant:"outlined",label:"Original Price",fullWidth:!0,value:Number(null===c||void 0===c?void 0:c.price).toString(),onChange:function(e){u.setFieldValue("price",e.target.value)},onBlur:u.handleBlur,error:u.touched.price&&Boolean(u.errors.price),InputLabelProps:{shrink:!0}})}):(0,Kl.jsx)(Kl.Fragment,{}),(0,Kl.jsx)(Wu.Z,{style:{marginBottom:"15px"},size:"small",type:"number",name:"amount",variant:"outlined",label:"Unit Price",fullWidth:!0,value:u.values.price,onChange:function(e){u.setFieldValue("price",e.target.value)},onBlur:u.handleBlur,error:u.touched.price&&Boolean(u.errors.price),helperText:u.touched.price&&u.errors.price,placeholder:"Type price here...",InputLabelProps:{shrink:!0},InputProps:{inputProps:{step:"0.01"}}}),Number(null===c||void 0===c?void 0:c.price).toString()!==Number(u.values.price).toString()?(0,Kl.jsx)(Kl.Fragment,{children:(0,Kl.jsx)(Wu.Z,{style:{marginBottom:"15px"},size:"small",type:"number",name:"percentage",disabled:!0,variant:"outlined",label:"Discount, %",fullWidth:!0,value:(n=null===c||void 0===c?void 0:c.price,r=u.values.price,Math.round((n-r)/n*100)).toString(),onChange:function(e){u.setFieldValue("price",e.target.value)},onBlur:u.handleBlur,error:u.touched.price&&Boolean(u.errors.price),InputLabelProps:{shrink:!0}})}):(0,Kl.jsx)(Kl.Fragment,{}),(0,Kl.jsx)(Wu.Z,{style:{marginBottom:"15px"},size:"small",type:"number",name:"total_price",variant:"outlined",label:"Total Price",fullWidth:!0,value:Number(u.values.price*u.values.quantity).toString(),onChange:function(e){u.setFieldValue("total_price",e.target.value)},disabled:!0,onBlur:u.handleBlur,error:u.touched.price&&Boolean(u.errors.price),helperText:u.touched.price&&u.errors.price,placeholder:"Type price here...",InputLabelProps:{shrink:!0}}),(0,Kl.jsx)("div",{className:RE.typeGroup,children:(0,Kl.jsxs)("div",{className:RE.typeGroupButtons,children:[(0,Kl.jsx)(zd.Z,{color:"primary",variant:"contained",onClick:d,size:"small",style:{backgroundColor:"red"},children:"Cancel"}),(0,Kl.jsx)(zd.Z,{color:"primary",variant:"contained",type:"submit",size:"small",onClick:function(){var e,t=null===l||void 0===l||null===(e=l.payment)||void 0===e?void 0:e.selected_products.find((function(e){return e.id===a.id}));l.payment.updateSelectedProduct(t,u.values.quantity,u.values.price),i(!1)},children:"Update"})]})})]})})]})})),JAe=KAe,eme=$l((function(){var t,r,o,i,a,s=he(),l=(0,e.useState)(!1),c=(0,n.Z)(l,2),u=c[0],d=c[1],p=(0,e.useContext)(bA),f=Fc(),h=f.appointment,b=f.appointmentDoctor,A=f.calendar,m=f.location,g=me().appointmentId,v=(0,e.useState)(!1),y=(0,n.Z)(v,2),M=y[0],O=y[1],_=(0,e.useState)(void 0),z=(0,n.Z)(_,2),x=z[0],w=z[1],C=(0,e.useState)(!1),S=(0,n.Z)(C,2),E=S[0],k=S[1],D=Ae().calendarRef,N=(0,e.useState)(!1),T=(0,n.Z)(N,2),j=T[0],B=T[1],L=(0,e.useState)(0),R=(0,n.Z)(L,2),q=(R[0],R[1],hE().enqueueSnackbar);qB();var P=(0,e.useState)({service:{id:-1,name:""},price:0,isMedical:!1}),I=(0,n.Z)(P,2),W=I[0],F=I[1],U=(0,e.useState)({discountTotal:b.payment.discount,discountPercent:b.payment.discount}),Z=(0,n.Z)(U,2),H=Z[0],$=Z[1],V=(0,e.useState)({price:0}),X=(0,n.Z)(V,2),Q=X[0],Y=X[1];(0,e.useEffect)((function(){$({discountTotal:b.payment.discount,discountPercent:b.payment.discount})}),[b.payment.discount]),(0,e.useEffect)((function(){E||te(!1)}),[E]),(0,e.useEffect)((function(){var e,t;g||(null===b||void 0===b||null===(t=b.payment)||void 0===t||t.clear());null!==b&&void 0!==b&&null!==(e=b.payment)&&void 0!==e&&e.exists||!g||Re.get("/v1/appointment/".concat(g,"/payment")).then((function(e){b.payment.init(e.data.data)}))}),[]);var G=function(){var e=new URLSearchParams(window.location.search).get("navigate-to");if(e)return s(e);s(D?"/calendar":-1)};(0,e.useEffect)((function(){null!==h&&void 0!==h&&h.id||!D||s("/calendar/appointment/".concat(g))}),[null===h||void 0===h?void 0:h.id,D]);var K=function(){var e,t={items:b.payment.items.map((function(e){var t={name:e.name,price:e.price,isMedical:e.isMedical};return e.treatmentTypeId>0&&(t=Us(Us({},t),{},{treatmentTypeId:e.treatmentTypeId})),t})),notes:b.payment.notes,is_paid:b.payment.isPaid,split:"split"===b.payment.paymentMethod?null===(e=b.payment)||void 0===e?void 0:e.split:[],selected_products:b.payment.selected_products.map((function(e){return{id:e.id,price:e.price,quantity:e.qnt,inventory_expiring_item_id:0===e.inventory_expiring_item_id?null:e.inventory_expiring_item_id}}))};return b.payment.discount&&(t=Us(Us({},t),{},{discount:b.payment.discount,discount_type:b.payment.discountType})),t},J=(0,e.useMemo)((function(){var e="";return null!==h&&void 0!==h&&h.startDate&&(e=Vs()(null===h||void 0===h?void 0:h.startDate).format("DD/MM/YYYY HH:mm")),e+=" \u2013 ",null!==h&&void 0!==h&&h.endDate&&(e+=Vs()(null===h||void 0===h?void 0:h.endDate).format("HH:mm")),e}),[null===h||void 0===h?void 0:h.startDate,null===h||void 0===h?void 0:h.endDate]),ee=function(){var e,t;O(!0),$({discountTotal:null!==(e=b.payment.discount)&&void 0!==e?e:0,discountPercent:null!==(t=b.payment.discount)&&void 0!==t?t:0})},te=function(e){var t;d(!0);var n=null!==b&&void 0!==b&&null!==(t=b.payment)&&void 0!==t&&t.exists?"put":"post";Re[n]("/v1/appointment/".concat(g,"/payment"),Us(Us({},K()),{},{is_paid:e?!h.isPaid:h.isPaid,payment_method:b.payment.paymentMethod})).then((function(t){var n;e&&re(),D&&function(e){if(D){var t=Vs()(e).format("YYYY-MM-DDTHH:mm"),n=Vs()(t).add(1,"minutes").format("YYYY-MM-DDTHH:mm");A.setDate(n),D.current.getApi().gotoDate(n),A.update()}}(),b.payment.init(t.data.data),n=g,Re.get("/v1/appointment/".concat(n)).then((function(e){var t=e.data;h.init(t.data)}))})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return q(e,{variant:"error"})}))}))})).finally((function(){d(!1)}))},ne={patientId:h.patient.id,staffId:h.doctor.id,startDate:Vs()(h.startDate).format("YYYY-MM-DDTHH:mm"),endDate:Vs()(h.endDate).format("YYYY-MM-DDTHH:mm"),treatmentTypes:null===h||void 0===h?void 0:h.treatmentTypes.filter((function(e){return e.selected})).map((function(e){return{id:e.id,isMedical:e.isMedical}})),fundStatusId:h.isPaid?1:3,types:null===h||void 0===h?void 0:h.selectedTypes.map((function(e){return e.id})),deposit:null!==(t=b.payment.deposit)&&void 0!==t?t:0,clinic_location_id:(null===h||void 0===h?void 0:h.location)||(null===m||void 0===m?void 0:m.id)},re=function(){Re.put("/v1/appointment/".concat(g),ne).then((function(e){var t,n=e.data;h.setStatus(null===n||void 0===n||null===(t=n.data)||void 0===t?void 0:t.status),h.setFundStatus(h.isPaid?1:3),s("/calendar/appointment/".concat(g,"/receipt"))}))},oe=function(){s(D?"/calendar/appointment/".concat(g,"/receipt"):"/doctor-appointment/".concat(g,"/payment/receipt"))},ie=(0,e.useMemo)((function(){var e;return null===(e=ic.find((function(e){return e.slug===b.payment.paymentMethod})))||void 0===e?void 0:e.name}),[ic,b.payment.paymentMethod]),ae=(0,e.useMemo)((function(){var e,t,n=0===(null===b||void 0===b||null===(e=b.payment)||void 0===e?void 0:e.items.length),r=!(null!==b&&void 0!==b&&null!==(t=b.payment)&&void 0!==t&&t.paymentMethod);return n||r}),[null===b||void 0===b||null===(r=b.payment)||void 0===r?void 0:r.items.length,null===b||void 0===b||null===(o=b.payment)||void 0===o?void 0:o.paymentMethod]);return null!==h&&void 0!==h&&h.id?(0,Kl.jsxs)(op,{anchor:"right",open:!0,onClose:G,PaperProps:{className:RE.paper},variant:"permanent",children:[(0,Kl.jsxs)("div",{className:RE.appointment,children:[(0,Kl.jsx)(TAe,{title:"CHECKOUT",handleClose:G,children:"completed"!==h.status.slug?(0,Kl.jsxs)("div",{className:RE.buttons,children:[(0,Kl.jsxs)("div",{className:RE.changeStatusContainer,onClick:function(){w("add")},disabled:"completed"===h.status.slug,children:[(0,Kl.jsx)(vS.Z,{}),(0,Kl.jsx)(kl.Z,{className:RE.changeStatus,children:"Add New Item"})]}),(0,Kl.jsxs)("div",{className:RE.changeStatusContainer,onClick:ee,disabled:h.isPaid,children:[(0,Kl.jsx)(vS.Z,{}),(0,Kl.jsx)(kl.Z,{className:RE.changeStatus,children:"Discount"})]})]}):null}),(0,Kl.jsxs)("div",{className:RE.appointmentMain,children:[(0,Kl.jsxs)("div",{className:RE.patient,children:[(0,Kl.jsx)(jw,{name:null===h||void 0===h||null===(i=h.patient)||void 0===i?void 0:i.name,avatarUrl:null===h||void 0===h||null===(a=h.patient)||void 0===a?void 0:a.avatarUrl,role:J}),(0,Kl.jsx)(wd.Z,{onClick:oe,children:(0,Kl.jsx)(qAe.Z,{})})]}),(0,Kl.jsxs)("div",{className:RE.checkout,children:[(0,Kl.jsx)(lc,{onClickUpdatePayment:te,setSplitOpen:B}),(0,Kl.jsx)(M6,{active:"completed"===h.status.slug,setEditOpen:function(){w("edit");var e=b.payment.selected;F({service:{id:null===e||void 0===e?void 0:e.id,name:null===e||void 0===e?void 0:e.name},price:null===e||void 0===e?void 0:e.price,isMedical:null===e||void 0===e?void 0:e.isMedical})},setDiscountEditOpen:ee,setDiscountProductEditOpen:function(){var e=b.payment.selected_products[h.selectedProductIndex];void 0!==e&&(k(!0),Y({id:null===e||void 0===e?void 0:e.id,expiringItemId:null===e||void 0===e?void 0:e.inventory_expiring_item_id,lot:null===e||void 0===e?void 0:e.lot_number,expire_date:null===e||void 0===e?void 0:e.expiry_date,name:null===e||void 0===e?void 0:e.name,price:null===e||void 0===e?void 0:e.price,quantity:null===e||void 0===e?void 0:e.qnt}))},needEdit:!0})]}),(0,Kl.jsxs)("div",{className:RE.checkoutBottomContent,children:[(0,Kl.jsx)("div",{className:RE.checkoutSummary,children:(0,Kl.jsx)(w6,{})}),ie&&(0,Kl.jsx)("div",{children:(0,Kl.jsxs)(kl.Z,{align:"center",gutterBottom:!0,children:["Payment Method: ",ie]})}),"split"===b.payment.paymentMethod&&(0,Kl.jsx)("div",{className:RE.splitItems,children:b.payment.split.map((function(e,t){return(0,Kl.jsxs)("div",{className:RE.splitItem,children:[(0,Kl.jsx)(kl.Z,{className:RE.splitItemName,children:null===e||void 0===e?void 0:e.name}),(0,Kl.jsxs)(kl.Z,{className:RE.splitItemValue,children:[p.clinic.currency,null===e||void 0===e?void 0:e.amount]})]},"payment_method_".concat(t))}))}),(0,Kl.jsx)(BAe,{})]}),(0,Kl.jsx)("div",{className:RE.appointmentBookBottomWrapper,children:(0,Kl.jsx)("div",{className:RE.appointmentBookBottom,children:(0,Kl.jsx)(AC,{item:!0,container:!0,justifyContent:"flex-end",direction:"column",alignItems:"center",children:(0,Kl.jsx)(zd.Z,{variant:"outlined",onClick:function(){return"completed"===h.status.slug?oe():void te(!0)},disabled:ae||u,children:"completed"===h.status.slug?"View Receipt":"Record Payment"})})})})]})]}),u&&(0,Kl.jsx)(NE,{}),(0,Kl.jsx)(HAe,{open:M,setOpen:O,onSubmit:function(e,t){0===e?(b.payment.setDiscount(t.discountPercent),b.payment.setDiscountType("percent")):1===e&&(b.payment.setDiscount(t.discountTotal),b.payment.setDiscountType("absolute"))},initValues:H}),(0,Kl.jsx)(JAe,{open:E,setOpen:k,onSubmit:function(){te(!1)},initValues:Q}),(0,Kl.jsx)(FAe,{open:x,setOpen:w,onSubmit:function(e){var t,n;"add"===x?b.payment.addItem(e.service.id,e.service.name,Number(e.price),null!==(t=null===(n=h.treatmentTypes[e.service.id])||void 0===n?void 0:n.deposit)&&void 0!==t?t:0,e.isMedical):b.payment.editItem(e.service.id,b.payment.editIndex,e.service.name,Number(e.price),e.isMedical);e.service.id&&(null===h||void 0===h||h.selectTreatmentType(e.service.id)),te(!1)},initValues:W,onClickDelete:function(){var e=b.payment.editIndex;b.payment.removeItem(e),Re.put("/v1/appointment/".concat(null===h||void 0===h?void 0:h.id,"/payment"),K()),w(!1)}}),(0,Kl.jsx)(YAe,{open:j,setOpen:B,onClickUpdatePayment:te})]}):null})),tme=eme,nme=$l((function(){var t=Fc().appointment,r=he(),o=function(){r(-1)},i=(0,e.useState)(t.depositNotes),a=(0,n.Z)(i,2),s=a[0],l=a[1],c=(0,e.useMemo)((function(){return t.depositNotes===s}),[t.depositNotes,s]);return(0,Kl.jsx)(op,{anchor:"right",open:!0,onClose:o,PaperProps:{className:RE.paper},variant:"permanent",children:(0,Kl.jsxs)(AC,{container:!0,className:RE.container,direction:"column",spacing:3,style:{flex:1},children:[(0,Kl.jsx)(TAe,{title:"Deposit Notes",handleClose:o}),(0,Kl.jsxs)(AC,{container:!0,direction:"column",spacing:2,item:!0,style:{flex:1},children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(kB,{})}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(Wu.Z,{size:"small",variant:"outlined",fullWidth:!0,multiline:!0,name:"Notes",label:"Notes",type:"text",value:s,onChange:function(e){return l(e.target.value)}})})]}),(0,Kl.jsx)(AC,{item:!0,container:!0,direction:"column",justifyContent:"flex-end",alignItems:"center",spacing:2,children:(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",onClick:function(){t.setDepositNotes(s),o()},disabled:c,children:"Save"})})})]})})})),rme=nme,ome=$l((function(t){var r=t.open,o=void 0===r||r,i=t.setOpen,a=void 0===i?void 0:i,s=he(),l=(0,e.useState)([]),c=(0,n.Z)(l,2),u=c[0],d=c[1],p=(0,e.useState)(""),f=(0,n.Z)(p,2),h=f[0],b=f[1],A=Fc().appointment,m=(0,e.useState)(!1),g=(0,n.Z)(m,2),v=g[0],y=g[1],M=hE().enqueueSnackbar,O=function(){a?a("waitlist"):s(-1)},_=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,r,o;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return y(!0),e.next=3,Re.get("/v1/staff",{params:{view:"list",search:t,location:"all"}});case 3:n=e.sent,r=n.data,o=r.data.filter((function(e){return!(null!==e&&void 0!==e&&e.deletedAt)})).map((function(e){var t,n;return{id:e.id,name:Qs(e.user.firstName,e.user.lastName),treatmentTypes:e.treatmentTypes,role:null===e||void 0===e||null===(t=e.role)||void 0===t||null===(n=t[0])||void 0===n?void 0:n.name,avatarUrl:e.user.avatarUrl}})),d(o),y(!1);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();(0,e.useEffect)((function(){_(h)}),[h]);return(0,Kl.jsx)(op,{anchor:"right",open:!!o,onClose:O,PaperProps:{className:RE.paper},hideBackdrop:!0,elevation:0,children:(0,Kl.jsxs)("div",{className:RE.appointment,children:[(0,Kl.jsx)(TAe,{title:"STAFF",handleClose:O}),(0,Kl.jsxs)("div",{className:RE.content,children:[(0,Kl.jsx)(Yu,{value:h,setValue:b,fullWidth:!0,label:"Type to search staff"}),v?(0,Kl.jsx)("div",{className:RE.loading,children:(0,Kl.jsx)(Gh.Z,{color:"primary"})}):(0,Kl.jsx)(Kl.Fragment,{children:!!u&&u.map((function(e,t){return(0,Kl.jsx)("div",{style:{cursor:"pointer"},onClick:function(){return function(e,t,n,r,o){if(A.selectedTreatmentTypes.map((function(e){return null===e||void 0===e?void 0:e.id})).every((function(e){return o.map((function(e){return null===e||void 0===e?void 0:e.id})).includes(e)}))){A.setDoctor(e,t,n,r);var i=o.map((function(e){var t=Ml(e);return Us(Us({},e),{},{selected:A.selectedTreatmentTypes.map((function(e){return null===e||void 0===e?void 0:e.id})).includes(e.id)},t)}));A.setTreatmentTypes(i),O()}else M("The practitioner does not have the selected services",{variant:"warning"})}(e.id,e.name,e.role,e.avatarUrl,e.treatmentTypes)},children:(0,Kl.jsx)(jw,{avatarUrl:null===e||void 0===e?void 0:e.avatarUrl,name:e.name,role:e.isVip,id:e.id})},"doctor_".concat(t))}))})]})]})})})),ime=ome,ame="appointmentItem_container__A7XDI",sme="appointmentItem_title__eUEpq",lme=function(e){var t,n,r,o,i=e.appointmentTypes,a=e.treatmentTypes,s=e.startDate,l=e.onClick,c=e.staff;return(0,Kl.jsxs)("div",{onClick:l,className:ame,children:[(0,Kl.jsxs)(kl.Z,{variant:"body1",className:sme,children:[i.map((function(e){return e.name})).join(", ")," -"," ",!!s&&Vs()(s).format("DD.MM.YYYY HH:mm")]}),(0,Kl.jsx)(jw,{name:Qs(null===c||void 0===c||null===(t=c.user)||void 0===t?void 0:t.firstName,null===c||void 0===c||null===(n=c.user)||void 0===n?void 0:n.lastName),avatarUrl:null===c||void 0===c||null===(r=c.user)||void 0===r?void 0:r.avatarUrl,role:null===c||void 0===c||null===(o=c.role)||void 0===o?void 0:o.name,onClick:l}),(0,Kl.jsx)(kl.Z,{children:a.map((function(e){return e.name})).join(", ")})]})},cme=$l((function(){var t=he(),r=(0,e.useState)([]),o=(0,n.Z)(r,2),i=o[0],a=o[1],s=Fc().appointment,l=(0,e.useState)(!1),c=(0,n.Z)(l,2),u=c[0],d=c[1],p=function(){t(-1)},f=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,r;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return d(!0),e.next=3,Re.get("/v1/patient/".concat(s.patient.id,"/linked-chain-appointments/").concat(null===s||void 0===s?void 0:s.id));case 3:n=e.sent,r=n.data,a(r.data),d(!1);case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();(0,e.useEffect)((function(){f()}),[]);return s.patient.id?(0,Kl.jsx)(op,{anchor:"right",open:!0,onClose:p,PaperProps:{className:RE.paper},variant:"permanent",children:(0,Kl.jsxs)("div",{className:RE.appointment,children:[(0,Kl.jsx)(TAe,{s:!0,title:"APPOINTMENTS CHAIN",handleClose:p}),(0,Kl.jsx)("div",{className:RE.content,children:u?(0,Kl.jsx)("div",{className:RE.loading,children:(0,Kl.jsx)(Gh.Z,{color:"primary"})}):(0,Kl.jsxs)(Kl.Fragment,{children:[0===i.length&&(0,Kl.jsx)(kl.Z,{children:"Not found"}),!!i&&i.map((function(e,n){return(0,Kl.jsx)(lme,{onClick:function(){return n=e.id,void t("/calendar/appointment/".concat(n));var n},appointmentTypes:e.types,treatmentTypes:e.treatmentTypes,startDate:e.startDate,staff:null===e||void 0===e?void 0:e.staff},"appointment_".concat(n))}))]})})]})}):null})),ume=cme,dme=$l((function(){var t,r,o=Fc().appointment,i=he(),a=function(){i(-1)},s=(0,e.useState)(null===(t=o.patient)||void 0===t?void 0:t.note),l=(0,n.Z)(s,2),c=l[0],u=l[1],d=(0,e.useMemo)((function(){var e;return(null===(e=o.patient)||void 0===e?void 0:e.note)===c}),[null===(r=o.patient)||void 0===r?void 0:r.note,c]);return(0,Kl.jsx)(op,{anchor:"right",open:!0,onClose:a,PaperProps:{className:RE.paper},variant:"permanent",children:(0,Kl.jsxs)(AC,{container:!0,className:RE.container,direction:"column",spacing:3,style:{flex:1},children:[(0,Kl.jsx)(TAe,{title:"Patient Notes",handleClose:a}),(0,Kl.jsxs)(AC,{container:!0,direction:"column",spacing:2,item:!0,style:{flex:1},children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(kB,{})}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(Wu.Z,{size:"small",variant:"outlined",fullWidth:!0,multiline:!0,name:"Notes",label:"Notes",type:"text",value:c,onChange:function(e){return u(e.target.value)}})})]}),(0,Kl.jsx)(AC,{item:!0,container:!0,direction:"column",justifyContent:"flex-end",alignItems:"center",spacing:2,children:(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",onClick:function(){var e,t,n,r,i;Re.put("/v1/patient/".concat(null===(e=o.patient)||void 0===e?void 0:e.id),{note:c,email:null===o||void 0===o||null===(t=o.patient)||void 0===t?void 0:t.email,name:null===o||void 0===o||null===(n=o.patient)||void 0===n?void 0:n.firstName,lastName:null===o||void 0===o||null===(r=o.patient)||void 0===r?void 0:r.lastName,phone:null===o||void 0===o||null===(i=o.patient)||void 0===i?void 0:i.phone}).then((function(e){var t;e.data;null===(t=o.patient)||void 0===t||t.setNote(c),a()}))},disabled:d,children:"Save"})})})]})})})),pme=dme,fme="vipLabel_container__M8j6d",hme="vipLabel_vip__YBR5t",bme=function(){return(0,Kl.jsx)("div",{className:fme,children:(0,Kl.jsx)(kl.Z,{className:hme,variant:"caption",children:"VIP"})})},Ame=function(e){var t=e.name,n=e.isVip,r=e.onClick;return(0,Kl.jsxs)("div",{onClick:r,className:RE.patientItem,children:[(0,Kl.jsx)(kl.Z,{variant:"body1",children:t}),n&&(0,Kl.jsx)(bme,{})]})},mme=$l((function(t){var r=t.open,o=void 0===r||r,i=t.setOpen,a=void 0===i?void 0:i,s=he(),l=(0,e.useState)([]),c=(0,n.Z)(l,2),u=c[0],d=c[1],p=(0,e.useState)(""),f=(0,n.Z)(p,2),h=f[0],b=f[1],A=Fc().appointment,m=(0,e.useState)(!1),g=(0,n.Z)(m,2),v=g[0],y=g[1],M=function(){a?a("waitlist"):s(-1)},O=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,r,o;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return y(!0),e.next=3,Re.get("/v1/patient",{params:{search:t}});case 3:n=e.sent,r=n.data,o=r.data.filter((function(e){return!(null!==e&&void 0!==e&&e.deletedAt)})),d(o),y(!1);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();(0,e.useEffect)((function(){O(h)}),[h]);return o?(0,Kl.jsx)(op,{anchor:"right",open:!!o,onClose:M,PaperProps:{className:RE.paper},variant:"permanent",children:(0,Kl.jsxs)("div",{className:RE.appointment,children:[(0,Kl.jsx)(TAe,{title:"PATIENTS",handleClose:M,children:(0,Kl.jsxs)("div",{className:RE.changeStatusContainer,onClick:function(){s("/patients/create?fromAppointment")},children:[(0,Kl.jsx)(vS.Z,{}),(0,Kl.jsx)(kl.Z,{className:RE.changeStatus,children:"Add New Client"})]})}),(0,Kl.jsxs)("div",{className:RE.content,children:[(0,Kl.jsx)(Yu,{value:h,setValue:b,fullWidth:!0,label:"Type to search patients"}),v?(0,Kl.jsx)("div",{className:RE.loading,children:(0,Kl.jsx)(Gh.Z,{color:"primary"})}):(0,Kl.jsx)(Kl.Fragment,{children:!!u&&u.map((function(e,t){return(0,Kl.jsx)(Ame,{onClick:function(){return function(e){(null===e||void 0===e?void 0:e.id)!==A.patient.id&&(A.clearLinkedAppointmentsHash(),A.clearPrevAppointment()),A.setPatient(e),M()}(e)},name:Qs(e.firstName,e.lastName),isVip:e.isVip,id:e.id},"patient_".concat(t))}))})]})]})}):null})),gme=mme,vme={accordion:"appointmentItem_accordion__Rd4qQ",controls:"appointmentItem_controls__hblGx",accordionHeader:"appointmentItem_accordionHeader__bNj8F",accordionHeaderContent:"appointmentItem_accordionHeaderContent__fcOVJ",appointmentTitle:"appointmentItem_appointmentTitle__RFbWN",accordionInner:"appointmentItem_accordionInner__pjnc7",appointmentServices:"appointmentItem_appointmentServices__hbJOC"},yme=function(t){var r=t.id,o=t.patientId,i=t.hasLinkedChain,a=t.appointmentTypes,s=t.treatmentTypes,l=t.startDate,c=t.onClick,u=t.selected,d=(0,e.useState)(!1),p=(0,n.Z)(d,2),f=p[0],h=p[1],b=(0,e.useState)([]),A=(0,n.Z)(b,2),m=A[0],g=A[1],v=(0,e.useState)(!1),y=(0,n.Z)(v,2),M=y[0],O=y[1],_=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return h(!0),e.next=3,Re.get("/v1/patient/".concat(o,"/linked-chain-appointments/").concat(r)).then((function(e){var t=e.data;g(null===t||void 0===t?void 0:t.data),h(!1)}));case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,Kl.jsxs)(p0,{className:vme.accordion,expanded:M,onChange:function(){i&&(0===m.length&&_(),O(!M))},children:[(0,Kl.jsx)(h0,{expandIcon:null,"aria-controls":"panel1a-content",id:"panel1a-header",className:vme.accordionHeader,children:(0,Kl.jsxs)("div",{className:vme.accordionHeaderContent,children:[(0,Kl.jsxs)(AC,{container:!0,direction:"column",justifyContent:"center",children:[(0,Kl.jsxs)(kl.Z,{variant:"body1",className:vme.appointmentTitle,children:[a.map((function(e){return e.name})).join(", ")," -"," ",!!l&&Vs()(l).format("DD.MM.YYYY HH:mm")]}),(0,Kl.jsx)(kl.Z,{variant:"body2",children:s.map((function(e){return e.name})).join(", ")})]}),i?(0,Kl.jsx)(pB.Z,{}):(0,Kl.jsx)(pB.Z,{style:{opacity:0}}),(0,Kl.jsx)(oS.Z,{className:vme.controls,"aria-label":"Acknowledge",onClick:function(e){return e.stopPropagation()},onFocus:function(e){return e.stopPropagation()},control:(0,Kl.jsx)(Kl.Fragment,{children:(0,Kl.jsx)(rJ,{checked:u,onClick:c,color:"primary"})})})]})}),(0,Kl.jsx)(A0,{className:vme.accordionInner,children:i&&(0,Kl.jsx)(Kl.Fragment,{children:m.length>0&&!f?(0,Kl.jsx)("div",{className:vme.appointment,children:(0,Kl.jsx)(Kl.Fragment,{children:null===m||void 0===m?void 0:m.map((function(e,t){return(0,Kl.jsxs)(AC,{container:!0,direction:"column",children:[(0,Kl.jsxs)(kl.Z,{variant:"body1",className:vme.appointmentTitle,children:[e.types.map((function(e){return e.name})).join(", ")," -"," ",!!e.startDate&&Vs()(e.startDate).format("DD.MM.YYYY HH:mm")]}),(0,Kl.jsx)(kl.Z,{variant:"body2",className:vme.appointmentServices,children:e.treatmentTypes.map((function(e){return e.name})).join(", ")})]},"appointment_".concat(t))}))})}):(0,Kl.jsx)("div",{className:vme.noData,children:(0,Kl.jsx)(Gh.Z,{})})})})]})},Mme=$l((function(){var t=he(),r=(0,e.useState)([]),o=(0,n.Z)(r,2),i=o[0],a=o[1],s=Fc().appointment,l=(0,e.useState)(!1),c=(0,n.Z)(l,2),u=c[0],d=c[1],p=function(){t(-1)},f=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,r;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return d(!0),e.next=3,Re.get("/v1/patient/".concat(s.patient.id,"/linked-appointments"));case 3:n=e.sent,r=n.data,a(r.data),d(!1);case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();(0,e.useEffect)((function(){f()}),[]);return s.patient.id?(0,Kl.jsxs)(op,{anchor:"right",open:!0,onClose:p,PaperProps:{className:RE.paper},variant:"permanent",children:[(0,Kl.jsxs)("div",{className:RE.appointment,children:[(0,Kl.jsx)(TAe,{s:!0,title:"APPOINTMENTS",handleClose:p}),(0,Kl.jsx)("div",{className:RE.content,children:u?(0,Kl.jsx)("div",{className:RE.loading,children:(0,Kl.jsx)(Gh.Z,{color:"primary"})}):(0,Kl.jsxs)(Kl.Fragment,{children:[0===i.length&&(0,Kl.jsx)(kl.Z,{children:"Not found"}),!!i&&i.map((function(e,t){return(0,Kl.jsx)(yme,{id:null===e||void 0===e?void 0:e.id,patientId:s.patient.id,hasLinkedChain:null===e||void 0===e?void 0:e.hasLinkedChain,onClick:function(){return function(e,t,n,r,o,i){if(i===(null===s||void 0===s?void 0:s.linkedAppointmentsHash))null===s||void 0===s||s.clearPrevAppointment(),null===s||void 0===s||s.clearLinkedAppointmentsHash(),null===s||void 0===s||s.clearHasLinkedChain();else{null===s||void 0===s||s.clearHasLinkedChain(),s.setLinkedAppointmentsHash(i),null===s||void 0===s||s.setHasLinkedChain(!0),null===s||void 0===s||s.setHasLinkedAppointmentUpdated(!0);var a=r.map((function(e){var t=Ml(e);return Us(Us({},e),{},{selected:!1},t)})),l=o.map((function(e){return Us(Us({},e),{},{selected:!1})}));s.setPrevAppointment({id:e,startDate:t,endDate:n,treatmentTypes:a,types:l})}}(e.id,e.startDate,e.endDate,e.treatmentTypes,e.types,e.linkedAppointmentsHash)},appointmentTypes:e.types,treatmentTypes:e.treatmentTypes,startDate:e.startDate,selected:(null===s||void 0===s?void 0:s.linkedAppointmentsHash)===e.linkedAppointmentsHash},"appointment_".concat(t))}))]})})]}),(0,Kl.jsx)("div",{className:RE.appointmentBookBottomWrapper,children:(0,Kl.jsx)("div",{className:RE.appointmentBookBottom,children:(0,Kl.jsx)(Ck,{variant:"contained",color:"primary",fullWidth:!0,onClick:function(){p()},size:"small",disabled:!s.canBookWithoutDeposit,children:"Confirm"})})})]}):null})),Ome=Mme,_me={accordion:"servicesDrawer_accordion__BsCRw",accordionHeader:"servicesDrawer_accordionHeader__MXI1c",accordionInner:"servicesDrawer_accordionInner__9cMcD"},zme=function(t){var n=t.name,r=t.price,o=t.selected,i=t.onClick,a=(0,e.useContext)(bA);return(0,Kl.jsx)(AC,{item:!0,style:{cursor:"pointer"},children:(0,Kl.jsx)(hS,{children:(0,Kl.jsx)(AS,{children:(0,Kl.jsxs)(AC,{container:!0,direction:"row",justifyContent:"space-between",alignItems:"center",spacing:2,wrap:"nowrap",onClick:i,children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsxs)(kl.Z,{variant:"body1",children:[n," (",a.clinic.currency," ",r.toFixed(2),")"]})}),(0,Kl.jsx)(AC,{item:!0,className:_me.icon,children:o&&(0,Kl.jsx)(OB.Z,{})})]})})})})},xme=function(e){var t,n,r=e.category,o=e.services,i=e.onClickService,a=e.selected;return(0,Kl.jsxs)(p0,{className:_me.accordion,style:{border:"1px solid ".concat(null!==(t=null===r||void 0===r?void 0:r.color)&&void 0!==t?t:"#000")},children:[(0,Kl.jsx)(h0,{expandIcon:(0,Kl.jsx)(Xp.Z,{}),"aria-controls":"panel1a-content",id:"panel1a-header",className:_me.accordionHeader,children:(0,Kl.jsx)(kl.Z,{className:_me.accordionHeading,children:null!==(n=null===r||void 0===r?void 0:r.name)&&void 0!==n?n:"Without Category"})}),(0,Kl.jsx)(A0,{className:_me.accordionInner,children:!!o&&(null===o||void 0===o?void 0:o.filter((function(e){var t;return(null===(t=e.category)||void 0===t?void 0:t.id)===(null===r||void 0===r?void 0:r.id)})).map((function(e,t){return(0,Kl.jsx)(zme,{name:e.fullName,price:e.price,onClick:function(){return i(e)},selected:a.includes(e.id)},t)})))})]})},wme=$l((function(t){var o=t.open,i=void 0===o||o,a=t.setOpen,s=void 0===a?void 0:a,l=he(),c=function(){s?s("waitlist"):l(-1)},u=(0,e.useState)(""),d=(0,n.Z)(u,2),p=d[0],f=d[1],h=Fc(),b=h.appointment,A=h.appointmentDoctor,m=(0,e.useState)([]),g=(0,n.Z)(m,2),v=g[0],y=g[1],M=function(e){if(v.includes(e.id)){var t,n,o=v.filter((function(t){return t!==e.id}));y(o),null===A||void 0===A||A.payment.setItemsFromItems(null===A||void 0===A||null===(t=A.payment)||void 0===t||null===(n=t.items)||void 0===n?void 0:n.filter((function(t){return t.treatmentTypeId!==e.id})))}else y([].concat((0,r.Z)(v),[e.id])),null===A||void 0===A||A.payment.addItem(e.id,e.name,e.price,e.deposit,e.isMedical)};(0,e.useEffect)((function(){var e;if(null!==A&&void 0!==A&&null!==(e=A.payment)&&void 0!==e&&e.exists){var t,n;null===A||void 0===A||null===(t=A.payment)||void 0===t||null===(n=t.items)||void 0===n||n.filter((function(e){return e.treatmentTypeId})).map((function(e){return e.treatmentTypeId}))}}),[]),(0,e.useEffect)((function(){var e=b.treatmentTypes.filter((function(e){return e.selected})).map((function(e){return e.id}));y(e)}),[b.treatmentTypes]);var O=function(){b.setSelectedTreatmentTypes(v),s?s("waitlist"):l(-1)},_=bn((function(){var e;return null===b||void 0===b||null===(e=b.orderTreatmentTypes)||void 0===e?void 0:e.filter((function(e){return e.name.toLowerCase().includes(p.toLowerCase())&&e.locationId===b.location&&(!(null!==e&&void 0!==e&&e.deletedAt)||(null===e||void 0===e?void 0:e.deletedAt)&&(null===e||void 0===e?void 0:e.selected))}))})).get(),z=(0,e.useMemo)((function(){var e=_.map((function(e){return e.category})),t=e.filter((function(e,t,n){return n.findIndex((function(t){return(null===t||void 0===t?void 0:t.id)===(null===e||void 0===e?void 0:e.id)}))===t}));return t.sort((function(e,t){return(null===e||void 0===e?void 0:e.order)-(null===t||void 0===t?void 0:t.order)}))}),[_]);return 0===b.doctor.name.length?null:i?(0,Kl.jsx)(op,{anchor:"right",open:i,onClose:c,PaperProps:{className:RE.paper},variant:"permanent",children:(0,Kl.jsxs)("div",{className:RE.appointment,children:[(0,Kl.jsx)(TAe,{title:"SERVICES",handleClose:c,onClickConfirm:v.length>0?O:void 0}),(0,Kl.jsxs)("div",{className:RE.content,children:[(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",size:"small",onClick:O,children:"Confirm"}),(0,Kl.jsx)(Yu,{value:p,setValue:f,fullWidth:!0,label:"Type to search services"}),!!z&&z.map((function(e,t){return(0,Kl.jsx)(xme,{category:e,services:_,onClickService:M,selected:v},t)}))]})]})}):null})),Cme=wme,Sme=$l((function(){var t=Ae().calendarRef,n=Fc(),r=n.appointment,o=n.calendar,i=n.location,a=me().unavailabilityId,s=he(),l=function(){s(-1)};!r.unavailabilityNotes&&(null===r||void 0===r||r.setUnavailabilityNotes(""));var c=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,o,i,a,s,l,c,u,d,p,f,h,b,A,m,g;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get("/v1/unavailability-hours/"+t);case 2:l=e.sent,c=l.data,u=c.data,d=u.startDate,p=u.endDate,f=u.notes,h=u.staff_id,b=u.staff,A=Qs(null===b||void 0===b||null===(n=b.user)||void 0===n?void 0:n.firstName,null===b||void 0===b||null===(o=b.user)||void 0===o?void 0:o.lastName),r.setDoctor(h,A,null===b||void 0===b||null===(i=b.role)||void 0===i||null===(a=i[0])||void 0===a?void 0:a.name,null===b||void 0===b||null===(s=b.user)||void 0===s?void 0:s.avatarUrl),m=Vs()(d).format("YYYY-MM-DDTHH:mm"),r.setStartDate(m),g=Vs()(p).format("YYYY-MM-DDTHH:mm"),r.setEndDate(g),r.setUnavailabilityNotes(f);case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();(0,e.useEffect)((function(){if(r.startDate){var e=Vs()(r.startDate).add(30,"minutes").format("YYYY-MM-DDTHH:mm");r.setEndDate(e)}}),[r.startDate]),(0,e.useEffect)((function(){return a&&c(a),function(){null===r||void 0===r||r.setUnavailabilityNotes("")}}),[a]);var u=hE().enqueueSnackbar,d=function(e){if(t){var n,r=Vs()(e).format("YYYY-MM-DDTHH:mm"),i=Vs()(r).add(1,"minutes").format("YYYY-MM-DDTHH:mm");o.setDate(i),null===t||void 0===t||null===(n=t.current)||void 0===n||n.getApi().gotoDate(i),o.update()}s("/calendar")};return(0,Kl.jsx)(op,{anchor:"right",open:!0,onClose:l,PaperProps:{className:RE.paper},variant:"permanent",children:(0,Kl.jsxs)("div",{className:RE.appointment,children:[(0,Kl.jsx)(TAe,{title:"UNAVAILABILITY",handleClose:l}),(0,Kl.jsxs)("div",{className:RE.unavailability,children:[(0,Kl.jsx)(AB,{}),(0,Kl.jsx)(MB,{}),(0,Kl.jsx)(kB,{}),!!r.doctor.id&&(0,Kl.jsx)("div",{className:RE.notes,children:(0,Kl.jsx)(Wu.Z,{size:"small",variant:"outlined",fullWidth:!0,multiline:!0,name:"Notes",label:"Notes",type:"text",value:null===r||void 0===r?void 0:r.unavailabilityNotes,onChange:function(e){return null===r||void 0===r?void 0:r.setUnavailabilityNotes(e.target.value)}})}),(0,Kl.jsx)(gk,{})]}),(0,Kl.jsx)("div",{className:RE.appointmentBookBottomWrapper,children:(0,Kl.jsx)("div",{className:RE.appointmentBookBottom,children:(0,Kl.jsxs)(AC,{item:!0,container:!0,spacing:2,direction:"row",children:[!!a&&(0,Kl.jsx)(AC,{item:!0,xs:!0,children:(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",style:{backgroundColor:"red",color:"white"},onClick:function(){Re.delete("/v1/unavailability-hours/".concat(a)).then((function(e){e.data;d(r.startDate)})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return u(e,{variant:"error"})}))}))}))},disabled:!r.doctor.id,fullWidth:!0,children:"Delete"})}),(0,Kl.jsx)(AC,{item:!0,xs:!0,children:(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",onClick:function(){var e={staff_id:r.doctor.id,start_date:Vs()(r.startDate).format("YYYY-MM-DDTHH:mm"),end_date:Vs()(r.endDate).format("YYYY-MM-DDTHH:mm"),notes:null===r||void 0===r?void 0:r.unavailabilityNotes,clinic_location_id:(null===r||void 0===r?void 0:r.location)||(null===i||void 0===i?void 0:i.id)};a?Re.put("/v1/unavailability-hours/".concat(a),e).then((function(e){var t=e.data;d(t.data.startDate)})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return u(e,{variant:"error"})}))}))})):Re.post("/v1/unavailability-hours",e).then((function(e){var t=e.data;d(t.data.startDate)})).catch((function(e){null!==e&&void 0!==e&&e.errors?Object.values(e.errors).forEach((function(e){return null===e||void 0===e?void 0:e.forEach((function(e){return u(e,{variant:"error"})}))})):u("An unexpected error occurred",{variant:"error"})}))},fullWidth:!0,disabled:!r.doctor.id||!r.location,children:"Save"})})]})})})]})})})),Eme=Sme,kme="calendarLayout_calendarNav__G74oQ",Dme=$l((function(){var t=Fc().calendar,n=lS(),r=n.changeDate,o=(n.getWeekDaysByNumber,(0,e.useMemo)((function(){return Vs()().isSame(Vs()(t.date),"timeGridWeek"===t.view?"isoweek":"day")}),[t.view,t.date]));return(0,Kl.jsx)(Kl.Fragment,{children:(0,Kl.jsx)(zd.Z,{size:"small",variant:"outlined",disabled:o,style:{padding:"3px 22px",borderRadius:5},onClick:"timeGridWeek"===t.view?function(){window.location.reload()}:function(){var e=Vs()();r(e)},className:"today-button ".concat("timeGridWeek"===(null===t||void 0===t?void 0:t.view)?"weekly":""),children:"timeGridWeek"===t.view?"THIS WEEK":"TODAY"})})})),Nme=Dme;function Tme(e){var t=Vs()(),n=Vs()(e).startOf("day").diff(t.startOf("day"),"days",!0),r=Math.round(n);if(0===r)return"current";if(r>0){if(r<7)return 1===r?"+1 day from now":"+".concat(r," days from now");if(r<30){var o=Math.floor(r/7),i=r%7;return 0===i?1===o?"+1 week from now":"+".concat(o," weeks from now"):1===o?"+1 week and ".concat(i," days from now"):"+".concat(o," weeks and ").concat(i," days from now")}if(r<365)return r<60?"+1 month from now":"+".concat(Math.floor(r/30)," months from now");var a=Math.floor(r/365),s=r%365;return 0===s?1===a?"+1 year from now":"+".concat(a," years from now"):1===a?"+1 year and ".concat(s," days from now"):"+".concat(a," years and ").concat(s," days from now")}var l=Math.abs(r);if(0===l)return"current";if(l<7)return 1===l?"-1 day from now":"-".concat(l," days from now");if(l<30){var c=Math.floor(l/7),u=l%7;return 0===u?1===c?"-1 week from now":"-".concat(c," weeks from now"):1===c?"-1 week and ".concat(u," days from now"):"-".concat(c," weeks and ").concat(u," days from now")}if(l<365)return l<60?"-1 month from now":"-".concat(Math.floor(l/30)," months from now");var d=Math.floor(l/365),p=l%365;return 0===p?1===d?"-1 year from now":"-".concat(d," years from now"):1===d?"-1 year and ".concat(p," days from now"):"-".concat(d," years and ").concat(p," days from now")}var jme=["title","titleId"];function Bme(){return Bme=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Bme.apply(this,arguments)}function Lme(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Rme(t,n){var r=t.title,o=t.titleId,i=Lme(t,jme);return e.createElement("svg",Bme({width:29,height:34,viewBox:"0 0 29 34",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,Uhe||(Uhe=e.createElement("path",{d:"M15.6075 29.7881L18.0222 26.8676H18.0389C18.4386 26.3976 19.138 26.3305 19.6043 26.7333C20.0706 27.1361 20.1372 27.8411 19.7375 28.3111L15.3576 33.5983L15.2078 33.7493C14.7415 34.1354 14.0253 34.0682 13.6423 33.5983L9.26245 28.3111C8.86276 27.8411 8.92936 27.1361 9.39566 26.7333C9.86196 26.3305 10.5614 26.3976 10.9611 26.8676L13.3758 29.7713V23.1246C13.3758 22.5035 13.8755 22 14.4917 22C15.1078 22 15.6075 22.5035 15.6075 23.1246V29.7881Z",fill:"#AAB6BE"})),Zhe||(Zhe=e.createElement("path",{d:"M13.1925 4.21188L10.7778 7.13241H10.7611C10.3614 7.60238 9.66195 7.66952 9.19564 7.26669C8.72934 6.86386 8.66275 6.15889 9.06244 5.68892L13.4424 0.401737L13.5922 0.250681C14.0585 -0.135368 14.7746 -0.0682354 15.1577 0.401737L19.5375 5.68892C19.9372 6.15889 19.8706 6.86386 19.4043 7.26669C18.938 7.66952 18.2386 7.60238 17.8389 7.13241L15.4241 4.22866L15.4241 10.8754C15.4241 11.4965 14.9245 12 14.3083 12C13.6921 12 13.1925 11.4965 13.1925 10.8754V4.21188Z",fill:"#AAB6BE"})),Hhe||(Hhe=e.createElement("path",{d:"M1.21364 16H27.7864C28.4566 16 29 16.4478 29 17C29 17.5522 28.4566 18 27.7864 18H1.21364C0.543434 18 0 17.5522 0 17C0 16.4478 0.543434 16 1.21364 16Z",fill:"#AAB6BE"})))}var qme,Pme,Ime,Wme=e.forwardRef(Rme),Fme=(__webpack_require__.p,["title","titleId"]);function Ume(){return Ume=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ume.apply(this,arguments)}function Zme(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Hme(t,n){var r=t.title,o=t.titleId,i=Zme(t,Fme);return e.createElement("svg",Ume({width:30,height:34,viewBox:"0 0 30 34",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,qme||(qme=e.createElement("path",{d:"M13.6925 26.2119L11.2778 29.1324H11.2611C10.8614 29.6024 10.162 29.6695 9.69566 29.2667C9.22936 28.8639 9.16277 28.1589 9.56245 27.6889L13.9424 22.4017L14.0922 22.2507C14.5585 21.8646 15.2747 21.9318 15.6577 22.4017L20.0376 27.6889C20.4372 28.1589 20.3706 28.8639 19.9043 29.2667C19.438 29.6695 18.7386 29.6024 18.3389 29.1324L15.9242 26.2287V32.8754C15.9242 33.4965 15.4245 34 14.8083 34C14.1922 34 13.6925 33.4965 13.6925 32.8754L13.6925 26.2119Z",fill:"#AAB6BE"})),Pme||(Pme=e.createElement("path",{d:"M15.6075 7.78812L18.0222 4.86759H18.0389C18.4386 4.39762 19.138 4.33047 19.6043 4.73331C20.0706 5.13614 20.1372 5.8411 19.7376 6.31108L15.3576 11.5983L15.2078 11.7493C14.7415 12.1354 14.0253 12.0682 13.6423 11.5983L9.26245 6.31108C8.86277 5.84111 8.92936 5.13614 9.39566 4.73331C9.86196 4.33048 10.5614 4.39762 10.9611 4.86759L13.3759 7.77134L13.3758 1.12457C13.3758 0.503539 13.8755 1.07737e-07 14.4917 0C15.1078 -1.07737e-07 15.6075 0.503539 15.6075 1.12457L15.6075 7.78812Z",fill:"#AAB6BE"})),Ime||(Ime=e.createElement("path",{d:"M0.5 17C0.5 15.3431 1.84315 14 3.5 14H26.5C28.1569 14 29.5 15.3431 29.5 17C29.5 18.6569 28.1569 20 26.5 20H3.5C1.84315 20 0.5 18.6569 0.5 17Z",fill:"#AAB6BE"})))}var $me,Vme=e.forwardRef(Hme),Xme=(__webpack_require__.p,function(){var t=lS(),r=t.handleViewChange,o=t.changeDate,i=Fc().calendar,a=(0,e.useState)(""),s=(0,n.Z)(a,2),l=s[0],c=s[1],u=(0,e.useState)(""),d=(0,n.Z)(u,2),p=d[0],f=d[1],h={div:{display:"block",margin:"0 auto",position:"relative",left:0,right:0,textAlign:"center",zIndex:0,pointerEvents:"none",minWidth:150,width:200},dateDiff:{fontSize:"12px",color:"#8B8B8B",textAlign:"center",display:"block"},date:{display:"block",fontSize:"17px"},rightArrow:{right:0,top:6,position:"absolute",padding:0,pointerEvents:"all"},leftArrow:{left:0,top:6,position:"absolute",padding:0,pointerEvents:"all"},viewTypes:{position:"relative",right:"146px",top:"60px",zIndex:999}},b=Vs()(i.date).format("D MMMM 'YY"),A=function(){var e,t,n=null===(e=i.ref)||void 0===e||null===(t=e.current)||void 0===t?void 0:t.getApi(),o=null===n||void 0===n?void 0:n.getOption("slotDuration");localStorage.getItem("aestheti_slot_duration")&&(o=localStorage.getItem("aestheti_slot_duration")),f("00:30:00"===o?"one hour":"half an hour"),r(null===i||void 0===i?void 0:i.view)},m=function(e,t,n){var r,a;if(null===i||void 0===i||null===(r=i.ref)||void 0===r||null===(a=r.current)||void 0===a?void 0:a.getApi()){var s=Vs()(i.date);if("add"===n){var l=s.add(e,t).format("YYYY-MM-DDTHH:mm");o(l)}else{var c=s.subtract(e,t).format("YYYY-MM-DDTHH:mm");o(c)}}};return(0,e.useEffect)((function(){c(null===i||void 0===i?void 0:i.view),A()}),[l]),(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(zd.Z,{size:"small",style:h.viewTypes,onClick:function(){return A()},className:"calendar-hourly-views",children:"half an hour"===p?(0,Kl.jsx)(Vme,{height:25}):(0,Kl.jsx)(Wme,{height:25})}),(0,Kl.jsxs)("div",{style:h.div,className:"calendar-date-info",children:[(0,Kl.jsx)(wd.Z,{color:"primary","aria-label":"Sub day",component:"span",style:h.leftArrow,className:"calendar-nav-left",onClick:function(){m(1,"days","sub")},children:(0,Kl.jsx)(XC,{})}),(0,Kl.jsx)("span",{style:h.date,className:"calendar-nav-date",children:b}),(0,Kl.jsx)("span",{style:h.dateDiff,className:"calendar-nav-diff",children:Tme(i.date)}),(0,Kl.jsx)(wd.Z,{color:"primary","aria-label":"Add day",component:"span",style:h.rightArrow,className:"calendar-nav-right",onClick:function(){m(1,"days","add")},children:(0,Kl.jsx)(BC,{})})]})]})}),Qme=$l((function(e){e.expandCalendar,e.setExpanded,e.expanded;var t=Fc().calendar;return(0,Kl.jsxs)("div",{className:kme,children:[(0,Kl.jsx)(Nme,{}),"timeGridWeek"!==(null===t||void 0===t?void 0:t.view)&&(0,Kl.jsx)(Xme,{})]})})),Yme=$l((function(){var t=Fc(),r=t.calendar,o=t.appointment,i=(0,e.useState)(!1),a=(0,n.Z)(i,2),s=a[0],l=a[1],c=he(),u=lS().changeDate;return(0,Kl.jsx)(Yh,{title:"",onClickAdd:function(){o.clear();var e="".concat(Vs()(r.date).format("YYYY-MM-DD")," 13:00");o.setStartDate(e);var t=Vs()(r.date).add(30,"minutes").format("YYYY-MM-DDTHH:mm");o.setEndDate(t),r.setPopperModalOpen(!0)},onClickAddSecond:function(){c("/patients/create")},navigationChildren:(0,Kl.jsx)("div",{children:(0,Kl.jsx)(Pbe,{handleDateChange:u,date:r.date})}),headerChildren:(0,Kl.jsx)(Qme,{expandCalendar:function(){document.querySelectorAll(".fc .fc-timegrid-slot").forEach((function(e){return e.setAttribute("style","height: ".concat(s?85:24,"px !important"))})),r.setSlotMaxTime(r.slotMaxTime===qc().maxTime?"24:00:00":qc().maxTime),r.setSlotMinTime(r.slotMinTime===qc().minTime?"08:00:00":qc().minTime),l((function(e){return!e}))},setExpanded:l,expanded:s,calendar:r})})})),Gme=Yme,Kme="doctorsAppointment_appointmentMenuWrapper__IxssW",Jme="doctorsAppointment_appointmentMenu__+CREb",ege="doctorsAppointment_divider__A8rB4",tge=["consultation","consent","before","after","aftercare","payment","record","prescription","final"],nge=$l((function(t){var r=t.id,o=t.link,i=t.navigate,a=(0,e.useState)(!1),s=(0,n.Z)(a,2),l=s[0],c=s[1],u=(0,e.useState)(""),d=(0,n.Z)(u,2),p=d[0],f=d[1],h=Fc().patientRecordStore.unsavedChanges;return(0,Kl.jsxs)("li",{children:[(0,Kl.jsx)("a",{href:"#",onClick:function(){var e;e="/doctor-appointment/".concat(r,"/").concat(o),f(e),h?c(!0):i(e)},className:"patient-record-links ".concat(window.location.pathname==="/doctor-appointment/".concat(r,"/").concat(o)?"active":""),children:o.charAt(0).toUpperCase()+o.slice(1)}),(0,Kl.jsx)(oF,{open:l,setOpen:c,selectedValue:"unsaved-changes",data:p})]})})),rge=function(){var t=me(),n=ju(),r=he(),o=Fc(),i=o.appointment,a=o.appointmentDoctor,s="Admin"===n;return(0,e.useEffect)((function(){Re.get("/v1/appointment/".concat(t.appointmentId)).then((function(e){var t=e.data;i.init(t.data)}))}),[]),(0,e.useEffect)((function(){var e,n;t.appointmentId||(null===a||void 0===a||null===(n=a.payment)||void 0===n||n.clear());null!==a&&void 0!==a&&null!==(e=a.payment)&&void 0!==e&&e.exists||!t.appointmentId||Re.get("/v1/appointment/".concat(t.appointmentId,"/payment")).then((function(e){a.payment.init(e.data.data)}))}),[]),(0,e.useEffect)((function(){s&&r("/doctor-appointment/".concat(t.appointmentId,"/payment"))}),[s]),s?null:(0,Kl.jsx)("div",{className:Kme,children:(0,Kl.jsx)("ul",{className:Jme,children:tge.map((function(n,o){return(0,Kl.jsxs)(e.Fragment,{children:[(0,Kl.jsx)(nge,{link:n,id:t.appointmentId,navigate:r},o),(0,Kl.jsx)("div",{className:ege})]},n)}))})})},oge="doctorAppointmentLayout_revertAppointment__b8Fx5",ige=$l((function(){var e,t=Fc().appointment,n=hE().enqueueSnackbar,r=he();return 2===(null===t||void 0===t||null===(e=t.status)||void 0===e?void 0:e.id)?(0,Kl.jsx)("div",{className:oge,children:(0,Kl.jsx)(zd.Z,{color:"secondary",variant:"contained",onClick:function(){Re.post("/v1/appointment/".concat(null===t||void 0===t?void 0:t.id,"/partial-update"),{status_id:1}).then((function(){r("/calendar"),n("Successfully reset!",{variant:"success"})})).catch((function(e){Object.values(null===e||void 0===e?void 0:e.errors).map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return n(e,{variant:"error"})}))}))}))},children:"Reset"})}):null})),age=$l((function(){var t,r,o,i,a=Lu(),s=(0,e.useContext)(bA),l=he(),c=Fc(),u=c.appointment,d=c.appointmentDoctor,p=(0,e.useState)(null),f=(0,n.Z)(p,2),h=f[0],b=f[1];(0,e.useEffect)((function(){s.user&&!a&&(s.logout(),l("/login"))}),[s,a,l]);var A=(0,e.useMemo)((function(){if(null!==u&&void 0!==u&&u.id)return Vs()(null===u||void 0===u?void 0:u.startDate).format("DD.MM.YYYY")}),[null===u||void 0===u?void 0:u.id,null===u||void 0===u?void 0:u.startDate]);return(0,Kl.jsxs)(Yh,{title:"Patients",Icon:jae.Z,setPrintContent:b,headerChildren:(0,Kl.jsx)(ige,{}),children:[(0,Kl.jsx)(uie,{name:null===u||void 0===u||null===(t=u.patient)||void 0===t?void 0:t.name,id:null===u||void 0===u||null===(r=u.patient)||void 0===r?void 0:r.id,loading:!(null!==u&&void 0!==u&&null!==(o=u.patient)&&void 0!==o&&o.id),printContent:h,date:A,services:null===d||void 0===d||null===(i=d.payment)||void 0===i?void 0:i.items}),(0,Kl.jsx)(rge,{})]})})),sge=age,lge=jk.object().shape({email:jk.string().nullable().max(255,"Email must be at most 255 characters").email("Invalid email").required("Email is required")}),cge=function(t){var r=t.dialog,o=t.setDialog,i=(0,e.useState)(null),a=(0,n.Z)(i,2),s=a[0],l=a[1],c=(0,e.useState)(!1),u=(0,n.Z)(c,2),d=u[0],p=u[1],f=function(){o("close")},h=Xj({initialValues:{password:""},validationSchema:lge,onSubmit:function(e){b(e)}}),b=function(e){Re.post("/v1/reset-password",{email:e.email}).then((function(e){e.data;p(!0),setTimeout((function(){p(null),o("signIn")}),4e3)})).catch((function(e){!function(e){l(e),setTimeout((function(){l(null)}),4e3)}(e.message)}))};return(0,Kl.jsxs)(vC,{onClose:f,"aria-labelledby":"simple-dialog-title",open:"restore"===r,PaperProps:{style:{minWidth:"90%",backgroundColor:"#f7f7fc",height:600}},children:[(0,Kl.jsx)(zne,{id:"customized-dialog-title",onClose:f,onClickBack:function(){o("dateAndTime")},children:"Restore Your Password"}),(0,Kl.jsx)(_E,{dividers:!0,className:lte.dialogContent,children:(0,Kl.jsx)("form",{onSubmit:h.handleSubmit,children:(0,Kl.jsxs)(AC,{container:!0,direction:"column",justifyContent:"center",alignItems:"center",spacing:2,children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(kl.Z,{variant:"h5",children:"What\u2019s your Email?"})}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(Wu.Z,{className:lte.input,size:"small",type:"email",name:"email",variant:"outlined",value:h.values.email,onChange:h.handleChange,onBlur:h.handleBlur,error:h.touched.email&&Boolean(h.errors.email),helperText:h.touched.email&&h.errors.email,placeholder:"E-mail"})}),s&&(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(zS,{in:s,children:(0,Kl.jsx)(Xh,{severity:"error",children:s})})}),d&&(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(zS,{in:d,children:(0,Kl.jsx)(Xh,{severity:"success",children:"Check your Email"})})}),(0,Kl.jsxs)(AC,{item:!0,container:!0,direction:"row",justifyContent:"center",alignItems:"center",spacing:2,children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(zd.Z,{type:"submit",color:"secondary",variant:"contained",disabled:d,children:"Send Email"})}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(kl.Z,{variant:"caption",onClick:function(){o("signIn")},style:{cursor:"pointer"},children:"Sign In"})})]})]})})})]})},uge=jk.object().shape({email:jk.string().nullable().max(255,"Email must be at most 255 characters").email("Invalid email").required("Email is required"),password:jk.string().nullable().min(8,"Password must be at least 8 characters length ").max(255,"Password must be at most 255 characters").required("Password is required")}),dge=$l((function(t){var r=t.dialog,o=t.setDialog,i=(0,e.useContext)(bA),a=Fc().external,s=(0,e.useState)(null),l=(0,n.Z)(s,2),c=l[0],u=l[1],d=function(){o("close")},p=Xj({initialValues:{email:"",password:""},validationSchema:uge,onSubmit:function(e){h(e)}}),f=function(e){u(e),setTimeout((function(){u(null)}),4e3)},h=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Re.get("/sanctum/csrf-cookie").then((function(){Re.post("/v1/auth/patient",{email:t.email,password:t.password}).then(function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((n=t.data).token){e.next=3;break}return e.abrupt("return");case 3:i.setToken(n.token),i.getUserWithRedirect(),a.waitlist.register?o("waitlist"):o("summary");case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){f(e.message),p.setSubmitting(!1)}))}));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),b=(0,e.useMemo)((function(){return!p.errors.email&&p.values.email}),[p.errors.email,p.values.email]);return(0,Kl.jsxs)(vC,{onClose:d,"aria-labelledby":"simple-dialog-title",open:"signIn"===r,PaperProps:{style:{minWidth:"90%",backgroundColor:"#f7f7fc",height:600}},children:[(0,Kl.jsx)(zne,{id:"customized-dialog-title",onClose:d,onClickBack:function(){o("dateAndTime")},children:"Sign In"}),(0,Kl.jsx)(_E,{dividers:!0,className:lte.dialogContent,children:(0,Kl.jsx)("form",{onSubmit:p.handleSubmit,children:(0,Kl.jsxs)(AC,{container:!0,direction:"column",justifyContent:"center",alignItems:"center",spacing:2,children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsxs)(kl.Z,{variant:"h5",children:["What\u2019s your ",b?"Password":"Email","?"]})}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(Wu.Z,{className:lte.input,size:"small",type:"email",name:"email",variant:"outlined",value:p.values.email,onChange:p.handleChange,onBlur:p.handleBlur,error:p.touched.email&&Boolean(p.errors.email),helperText:p.touched.email&&p.errors.email,placeholder:"E-mail"})}),b&&(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(Wu.Z,{className:lte.input,size:"small",type:"password",name:"password",variant:"outlined",color:"primary",value:p.values.password,onChange:p.handleChange,onBlur:p.handleBlur,error:p.touched.password&&Boolean(p.errors.password),helperText:p.touched.password&&p.errors.password,placeholder:"Password"})}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(zS,{in:c,children:(0,Kl.jsx)(Xh,{severity:"error",children:c})})}),(0,Kl.jsxs)(AC,{item:!0,container:!0,direction:"row",justifyContent:"center",alignItems:"center",spacing:2,children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(zd.Z,{type:"submit",color:"secondary",variant:"contained",children:"Continue"})}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(kl.Z,{variant:"caption",onClick:function(){o("signUp")},style:{cursor:"pointer"},children:"Sign Up"})})]}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(kl.Z,{variant:"caption",onClick:function(){o("restore")},style:{cursor:"pointer"},children:"Restore Password"})})]})})})]})})),pge=dge,fge=jk.object().shape({email:jk.string().nullable().max(255,"Email must be at most 255 characters").email("Invalid email").required("Email is required"),password:jk.string().nullable().min(8,"Password must be at least 8 characters length ").max(255,"Password must be at most 255 characters").required("Password is required"),phone:jk.string().test("validPhone","Phone number is not valid",(function(e){return yW(e||"")})).required("Phone is required"),name:jk.string("Enter your first name").required("First name is required"),lastname:jk.string("Enter your last name").required("Last name is required"),address:jk.string("Enter address").required("Address is required"),zipCode:jk.string("Enter Post Code"),gender:jk.string("Choose Gender").required("Gender is required"),nextOfKin:jk.string(),nextOfKinContactNumber:jk.string().when("nextOfKin",{is:function(e){return e&&e.length>0},then:jk.string().test("validNextOfKinContactNumber","Next of Kin contact number is not valid",(function(e){return yW(e||"")})).required("Enter Next of Kin contact number")}),dateOfBirth:jk.date().required("Date of birth is required"),termsAccepted:jk.boolean().required("Terms and conditions are required"),privacyPolicyAccepted:jk.boolean().required("Privacy Policy is required"),gdprAccepted:jk.boolean()}),hge=function(e){var t=e.label,n=e.link;return(0,Kl.jsxs)("div",{className:lte.checkboxLabel,children:["I agree to the",(0,Kl.jsxs)(xu,{to:n,target:"_blank",children:[" ",t]}),"."]})},bge=$l((function(t){var r=t.dialog,o=t.setDialog,i=(0,e.useContext)(bA),a=(0,e.useState)([{slug:"male",name:"Male"},{slug:"female",name:"Female"},{slug:"other",name:"Other"}]),s=(0,n.Z)(a,1)[0],l=(0,e.useState)(null),c=(0,n.Z)(l,2),u=c[0],d=c[1],p=Fc().external,f=function(e){d(e),setTimeout((function(){d(null)}),5e3)},h=function(){o("close")},b=Xj({initialValues:{email:"",password:"",phone:"",name:"",lastname:"",dateOfBirth:"",termsAccepted:!1,privacyPolicyAccepted:!1,gdprAccepted:!1,gender:"",address:"",zipCode:"",nextOfKin:"",nextOfKinContactNumber:""},validationSchema:fge,onSubmit:function(e){A(e)}}),A=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Re.get("/sanctum/csrf-cookie").then((function(){Re.post("/v1/register-patient",{user:{name:t.name,lastName:t.lastname,phone:t.phone,email:t.email,password:t.password},dateOfBirth:t.dateOfBirth,terms_accepted:t.termsAccepted,privacy_policy_accepted:t.privacyPolicyAccepted,gdpr_accepted:t.gdprAccepted,gender:t.gender,address:t.address,zipCode:t.zipCode,nextOfKin:t.nextOfKin,nextOfKinContactNumber:t.nextOfKinContactNumber}).then((function(e){e.data;Re.post("/v1/auth/patient",{email:t.email,password:t.password}).then(function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((n=t.data).token){e.next=3;break}return e.abrupt("return");case 3:i.setToken(n.token),i.getUserWithRedirect(),p.waitlist.register?o("waitlist"):o("summary");case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){f(e.message)}))})).catch((function(e){var t=e.message;e.errors&&(t=Object.values(e.errors).join(" ")),f(t),b.setSubmitting(!1)}))}));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return(0,Kl.jsxs)(vC,{onClose:h,"aria-labelledby":"simple-dialog-title",open:"signUp"===r,PaperProps:{style:{minWidth:"90%",backgroundColor:"#f7f7fc",height:1e3}},children:[(0,Kl.jsx)(zne,{id:"customized-dialog-title",onClose:h,onClickBack:function(){o("signIn")},children:"Sign Up"}),(0,Kl.jsx)(_E,{dividers:!0,className:lte.dialogContent,children:(0,Kl.jsx)("form",{onSubmit:b.handleSubmit,children:(0,Kl.jsxs)(AC,{container:!0,direction:"column",alignItems:"center",spacing:2,children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(kl.Z,{variant:"h5",children:"Create an Account"})}),(0,Kl.jsxs)(AC,{container:!0,direction:"row",alignItems:"center",spacing:2,children:[(0,Kl.jsx)(AC,{item:!0,className:lte.inputContainer,xs:12,sm:6,children:(0,Kl.jsx)(Wu.Z,{className:lte.input,size:"small",type:"email",name:"email",variant:"outlined",value:b.values.email,onChange:b.handleChange,onBlur:b.handleBlur,error:b.touched.email&&Boolean(b.errors.email),helperText:b.touched.email&&b.errors.email,placeholder:"E-mail",fullWidth:!0})}),(0,Kl.jsx)(AC,{item:!0,className:lte.inputContainer,xs:12,sm:6,children:(0,Kl.jsx)(Wu.Z,{className:lte.input,size:"small",type:"text",name:"name",variant:"outlined",color:"primary",value:b.values.name,onChange:b.handleChange,onBlur:b.handleBlur,error:b.touched.name&&Boolean(b.errors.name),helperText:b.touched.name&&b.errors.name,placeholder:"Name",fullWidth:!0})}),(0,Kl.jsx)(AC,{item:!0,className:lte.inputContainer,xs:12,sm:6,children:(0,Kl.jsx)(Wu.Z,{className:lte.input,size:"small",type:"text",name:"lastname",variant:"outlined",color:"primary",value:b.values.lastname,onChange:b.handleChange,onBlur:b.handleBlur,error:b.touched.lastname&&Boolean(b.errors.lastname),helperText:b.touched.lastname&&b.errors.lastname,placeholder:"Last Name",fullWidth:!0})}),(0,Kl.jsx)(AC,{item:!0,className:lte.inputContainer,xs:12,sm:6,children:(0,Kl.jsx)(_W,{name:"phone",placeholder:"Phone",value:b.values.phone,onChange:function(e){return b.setFieldValue("phone",e)},error:b.touched.phone&&b.errors.phone?b.errors.phone:null,onBlur:b.handleBlur})}),(0,Kl.jsx)(AC,{item:!0,className:lte.inputContainer,xs:12,sm:6,children:(0,Kl.jsx)(Wu.Z,{className:lte.input,size:"small",type:"date",name:"dateOfBirth",variant:"outlined",color:"primary",value:b.values.dateOfBirth,onChange:b.handleChange,onBlur:b.handleBlur,error:b.touched.dateOfBirth&&Boolean(b.errors.dateOfBirth),helperText:b.touched.dateOfBirth&&b.errors.dateOfBirth,placeholder:"Date of birth",fullWidth:!0})}),(0,Kl.jsx)(AC,{item:!0,className:lte.inputContainer,xs:12,sm:6,children:(0,Kl.jsx)(Wu.Z,{fullWidth:!0,value:b.values.gender,name:"gender",select:!0,id:"gender",label:""===b.values.gender?"Choose gender":"",variant:"outlined",onChange:b.handleChange,onBlur:b.handleBlur,error:b.touched.gender&&Boolean(b.errors.gender),helperText:b.touched.gender&&b.errors.gender,children:null===s||void 0===s?void 0:s.map((function(e,t){return(0,Kl.jsx)(xd.Z,{value:e.slug,children:e.name},"".concat(e.name,"_").concat(t))}))})}),(0,Kl.jsx)(AC,{item:!0,className:lte.inputContainer,xs:12,sm:6,children:(0,Kl.jsx)(Wu.Z,{className:lte.input,size:"small",type:"password",name:"password",variant:"outlined",color:"primary",value:b.values.password,onChange:b.handleChange,onBlur:b.handleBlur,error:b.touched.password&&Boolean(b.errors.password),helperText:b.touched.password&&b.errors.password,placeholder:"Password",fullWidth:!0})}),(0,Kl.jsx)(AC,{item:!0,className:lte.inputContainer,xs:12,sm:6,children:(0,Kl.jsx)(Wu.Z,{className:lte.input,size:"small",name:"address",variant:"outlined",color:"primary",value:b.values.address,onChange:b.handleChange,onBlur:b.handleBlur,error:b.touched.address&&Boolean(b.errors.address),helperText:b.touched.address&&b.errors.address,placeholder:"Address",fullWidth:!0})}),(0,Kl.jsx)(AC,{item:!0,className:lte.inputContainer,xs:12,sm:6,children:(0,Kl.jsx)(Wu.Z,{className:lte.input,size:"small",name:"zipCode",variant:"outlined",color:"primary",value:b.values.zipCode,onChange:b.handleChange,onBlur:b.handleBlur,error:b.touched.zipCode&&Boolean(b.errors.zipCode),helperText:b.touched.zipCode&&b.errors.zipCode,placeholder:"Post Code",fullWidth:!0})}),(0,Kl.jsx)(AC,{item:!0,className:lte.inputContainer,xs:12,sm:6,children:(0,Kl.jsx)(Wu.Z,{className:lte.input,size:"small",type:"text",name:"nextOfKin",variant:"outlined",color:"primary",value:b.values.nextOfKin,onChange:b.handleChange,onBlur:b.handleBlur,placeholder:"Next of Kin",fullWidth:!0})}),(0,Kl.jsxs)(AC,{item:!0,className:lte.inputContainer,xs:12,sm:6,children:[(0,Kl.jsx)(_W,{name:"nextOfKinContactNumber",placeholder:"Next of Kin contact number",value:b.values.nextOfKinContactNumber,onChange:function(e){return b.setFieldValue("nextOfKinContactNumber",e)},onBlur:b.handleBlur}),b.touched.nextOfKinContactNumber&&b.errors.nextOfKinContactNumber&&(0,Kl.jsx)("p",{className:lte.errorText,children:b.errors.nextOfKinContactNumber})]}),(0,Kl.jsxs)(AC,{item:!0,container:!0,direction:"column",children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(oS.Z,{className:lte.label,label:(0,Kl.jsx)(hge,{label:"terms and conditions",link:"/external-booking/terms-and-conditions"}),control:(0,Kl.jsx)(kk.Z,{name:"termsAccepted",checked:b.values.termsAccepted,onChange:b.handleChange,color:"primary"})})}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(oS.Z,{className:lte.label,label:(0,Kl.jsx)(hge,{label:"privacy policy",link:"/external-booking/privacy-policy"}),control:(0,Kl.jsx)(kk.Z,{name:"privacyPolicyAccepted",checked:b.values.privacyPolicyAccepted,onChange:b.handleChange,color:"primary"})})}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(oS.Z,{className:lte.label,label:"Occasionally we would like to send you information about our products services and offers by telephone, email and SMS. By ticking this box you are confirming that you are happy to be contacted in this way for this purpose.",control:(0,Kl.jsx)(kk.Z,{name:"gdprAccepted",checked:b.values.gdprAccepted,onChange:b.handleChange,color:"primary"})})})]}),(0,Kl.jsx)(AC,{item:!0,container:!0,direction:"row",justifyContent:"center",alignItems:"center",spacing:2,children:(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(zd.Z,{type:"submit",color:"secondary",variant:"contained",disabled:!b.values.termsAccepted||!b.values.privacyPolicyAccepted,children:"Continue"})})}),(0,Kl.jsx)(AC,{item:!0,xs:12,children:(0,Kl.jsx)(zS,{in:!!u,children:(0,Kl.jsx)(Xh,{severity:"error",children:u})})})]})]})})})]})})),Age=bge,mge=e.forwardRef((function(t,n){var r=t.children,o=t.classes,i=t.className,a=t.focusVisibleClassName,s=(0,Uu.Z)(t,["children","classes","className","focusVisibleClassName"]);return e.createElement(qb.Z,(0,Fu.Z)({className:(0,Zu.Z)(o.root,i),focusVisibleClassName:(0,Zu.Z)(a,o.focusVisible),ref:n},s),r,e.createElement("span",{className:o.focusHighlight}))})),gge=(0,Hu.Z)((function(e){return{root:{display:"block",textAlign:"inherit",width:"100%","&:hover $focusHighlight":{opacity:e.palette.action.hoverOpacity},"&$focusVisible $focusHighlight":{opacity:.12}},focusVisible:{},focusHighlight:{overflow:"hidden",pointerEvents:"none",position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:"inherit",opacity:0,backgroundColor:"currentcolor",transition:e.transitions.create("opacity",{duration:e.transitions.duration.short})}}}),{name:"MuiCardActionArea"})(mge),vge=__webpack_require__(22857),yge=__webpack_require__(71693),Mge=__webpack_require__(1238),Oge=__webpack_require__(98282),_ge="externalBookingHeader_header__TbGIb",zge="externalBookingHeader_logo__ga30P",xge="externalBookingHeader_headerMenu__zkxMP",wge="externalBookingHeader_headerContacts__EwprL",Cge="externalBookingHeader_contactItem__4JlfS",Sge="externalBookingHeader_contactText__Ok5rs",Ege="externalBookingHeader_contactIcon__2lvm5",kge="externalBookingHeader_authButton__VBHrh",Dge="externalBookingHeader_menuDivider__3hdVn",Nge="externalBookingHeader_mobileHeader__XJSPJ",Tge="externalBookingHeader_mobileHeaderButtons__RH+GC",jge="externalBookingHeader_mobileHeaderLogin__8w9qE",Bge="externalBookingHeader_loginText__vx71N",Lge="externalBookingHeader_loginIcon__h6EXL",Rge="externalBookingHeader_clinicCard__Ge7Dn",qge="externalBookingHeader_clinicCardHeader__BMjFf",Pge="externalBookingHeader_clinicCardAvatar__Rh67M",Ige="externalBookingHeader_clinicCardTitle__4zIjF",Wge="externalBookingHeader_clinicCardSubheader__xi4qi",Fge="externalBookingHeader_clinicCardActions__7BvMf",Uge=$l((function(t){var r,o,i,a,s,l=t.setDialog,c=(0,e.useContext)(bA),u=he(),d=fe(),p=Fc().location,f=(0,e.useState)(!1),h=(0,n.Z)(f,2),b=h[0],A=h[1],m="/external-booking/clinic-info"===d.pathname,g=function(){l("signIn")},v=function(){u("/external-booking")},y=(0,e.useMemo)((function(){var e;return p.id?p:null===c||void 0===c||null===(e=c.clinic)||void 0===e?void 0:e.mainLocation}),[p.id,null===c||void 0===c||null===(r=c.clinic)||void 0===r||null===(o=r.mainLocation)||void 0===o?void 0:o.id]),M=(0,e.useMemo)((function(){var e,t;return null!==y&&void 0!==y&&y.name?"".concat(null===c||void 0===c||null===(t=c.clinic)||void 0===t?void 0:t.name," - ").concat(null===y||void 0===y?void 0:y.name):null===c||void 0===c||null===(e=c.clinic)||void 0===e?void 0:e.name}),[p.id,null===c||void 0===c||null===(i=c.clinic)||void 0===i||null===(a=i.mainLocation)||void 0===a?void 0:a.id]);return(0,e.useEffect)((function(){c.clinic.id&&A(!0)}),[c.clinic]),(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsxs)("header",{className:_ge,children:[(0,Kl.jsx)("img",{className:zge,src:null!==(s=c.clinic.logoUrl)&&void 0!==s?s:zp,alt:"logo"}),(0,Kl.jsxs)(AC,{container:!0,className:xge,children:[(0,Kl.jsxs)(AC,{container:!0,item:!0,className:wge,direction:"row",children:[(null===y||void 0===y?void 0:y.email)&&(0,Kl.jsxs)(AC,{container:!0,item:!0,className:Cge,children:[(0,Kl.jsx)(Cse.Z,{className:Ege}),(0,Kl.jsx)(kl.Z,{className:Sge,children:y.email})]}),null!==y&&void 0!==y&&y.phone?(0,Kl.jsxs)(AC,{container:!0,item:!0,className:Cge,children:[(0,Kl.jsx)(Oge.Z,{className:Ege}),(0,Kl.jsx)(kl.Z,{className:Sge,children:y.phone})]}):null]}),(0,Kl.jsx)("span",{className:Dge}),(0,Kl.jsx)(zd.Z,{variant:"text",className:kge,startIcon:c.user?(0,Kl.jsx)(Mge.Z,{style:{fontSize:28}}):(0,Kl.jsx)(vge.Z,{style:{fontSize:28}}),onClick:function(){return c.user?c.logoutWithoutNavigate():g()},children:c.user?"Logout":"Login"})]})]}),(0,Kl.jsx)("header",{className:Nge,children:(0,Kl.jsxs)(hS,{className:Rge,children:[(0,Kl.jsx)(gge,{onClick:v,children:(0,Kl.jsxs)("div",{className:qge,children:[(0,Kl.jsx)(jp,{alt:M,src:c.clinic.logoUrl,className:Pge,children:b?null===M||void 0===M?void 0:M.toUpperCase().charAt(0):(0,Kl.jsx)(Rp,{className:Pge,animation:"wave",variant:"circle"})}),(0,Kl.jsxs)("div",{style:{textAlign:"center"},children:[(0,Kl.jsx)(kl.Z,{className:Ige,children:b?M:(0,Kl.jsx)(Rp,{animation:"wave"})}),(0,Kl.jsx)(kl.Z,{className:Wge,children:b?null===y||void 0===y?void 0:y.address:(0,Kl.jsx)(Rp,{animation:"wave"})})]})]})}),(0,Kl.jsx)(aF,{className:Fge,children:(0,Kl.jsxs)("div",{className:Tge,children:[(0,Kl.jsxs)("div",{className:jge,onClick:function(){m?v():u("/external-booking/clinic-info")},children:[m?(0,Kl.jsx)(oB.Z,{className:Lge}):(0,Kl.jsx)(yge.Z,{className:Lge}),(0,Kl.jsx)(kl.Z,{className:Bge,children:m?"Treatments":"Clinic Info"})]}),!c.user&&(0,Kl.jsxs)("div",{className:jge,onClick:g,children:[(0,Kl.jsx)(vge.Z,{className:Lge}),(0,Kl.jsx)(kl.Z,{className:Bge,children:"Login"})]})]})})]})})]})})),Zge=Uge,Hge="externaBookingLayout_container__LDtKh",$ge=function(){var t=(0,e.useState)("close"),r=(0,n.Z)(t,2),o=r[0],i=r[1];return(0,Kl.jsxs)("div",{className:Hge,children:[(0,Kl.jsx)(Zge,{setDialog:i}),(0,Kl.jsx)(Ee,{context:{setDialog:i,dialog:o}}),(0,Kl.jsx)(pge,{dialog:o,setDialog:i}),(0,Kl.jsx)(Age,{dialog:o,setDialog:i}),(0,Kl.jsx)(cge,{dialog:o,setDialog:i})]})},Vge=["title","titleId"];function Xge(){return Xge=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Xge.apply(this,arguments)}function Qge(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Yge(t,n){var r=t.title,o=t.titleId,i=Qge(t,Vge);return e.createElement("svg",Xge({width:30,height:30,viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,$me||($me=e.createElement("g",{id:"Outline Icons"},e.createElement("path",{id:"Vector",d:"M16.875 12.1875C16.875 11.9389 16.7762 11.7004 16.6004 11.5246C16.4246 11.3488 16.1861 11.25 15.9375 11.25H8.4375C8.18886 11.25 7.9504 11.3488 7.77459 11.5246C7.59877 11.7004 7.5 11.9389 7.5 12.1875C7.5 12.4361 7.59877 12.6746 7.77459 12.8504C7.9504 13.0262 8.18886 13.125 8.4375 13.125H15.9375C16.1861 13.125 16.4246 13.0262 16.6004 12.8504C16.7762 12.6746 16.875 12.4361 16.875 12.1875ZM15.625 15.9375C15.625 15.6889 15.5262 15.4504 15.3504 15.2746C15.1746 15.0988 14.9361 15 14.6875 15H8.4375C8.18886 15 7.9504 15.0988 7.77459 15.2746C7.59877 15.4504 7.5 15.6889 7.5 15.9375C7.5 16.1861 7.59877 16.4246 7.77459 16.6004C7.9504 16.7762 8.18886 16.875 8.4375 16.875H14.6875C14.9361 16.875 15.1746 16.7762 15.3504 16.6004C15.5262 16.4246 15.625 16.1861 15.625 15.9375ZM15.9375 18.75C16.1861 18.75 16.4246 18.8488 16.6004 19.0246C16.7762 19.2004 16.875 19.4389 16.875 19.6875C16.875 19.9361 16.7762 20.1746 16.6004 20.3504C16.4246 20.5262 16.1861 20.625 15.9375 20.625H8.4375C8.18886 20.625 7.9504 20.5262 7.77459 20.3504C7.59877 20.1746 7.5 19.9361 7.5 19.6875C7.5 19.4389 7.59877 19.2004 7.77459 19.0246C7.9504 18.8488 8.18886 18.75 8.4375 18.75H15.9375Z",fill:"#B57C2A"}),e.createElement("path",{id:"Vector_2",fillRule:"evenodd",clipRule:"evenodd",d:"M7.5 27.1875H23.75C24.6617 27.1875 25.536 26.8253 26.1807 26.1807C26.8253 25.536 27.1875 24.6617 27.1875 23.75V16.875C27.1875 16.6264 27.0887 16.3879 26.9129 16.2121C26.7371 16.0363 26.4986 15.9375 26.25 15.9375H22.1875V6.17875C22.1875 4.4 20.1763 3.365 18.7288 4.39875L18.51 4.555C18.031 4.89503 17.4579 5.07728 16.8705 5.07638C16.283 5.07549 15.7105 4.89149 15.2325 4.55C14.4345 3.98208 13.4794 3.67691 12.5 3.67691C11.5206 3.67691 10.5655 3.98208 9.7675 4.55C9.28953 4.89149 8.71698 5.07549 8.12955 5.07638C7.54212 5.07728 6.96902 4.89503 6.49 4.555L6.27125 4.39875C4.82375 3.365 2.8125 4.39875 2.8125 6.17875V22.5C2.8125 23.7432 3.30636 24.9355 4.18544 25.8146C5.06451 26.6936 6.2568 27.1875 7.5 27.1875ZM10.8575 6.075C11.3374 5.7343 11.9114 5.55128 12.5 5.55128C13.0886 5.55128 13.6626 5.7343 14.1425 6.075C14.9384 6.6439 15.8919 6.95026 16.8702 6.95138C17.8485 6.9525 18.8028 6.64832 19.6 6.08125L19.8187 5.925C19.8654 5.89176 19.9204 5.872 19.9775 5.86787C20.0347 5.86375 20.0919 5.87542 20.1428 5.90162C20.1938 5.92781 20.2366 5.96752 20.2665 6.0164C20.2964 6.06527 20.3123 6.12144 20.3125 6.17875V23.75C20.3125 24.3125 20.4475 24.8437 20.6875 25.3125H7.5C6.75408 25.3125 6.03871 25.0162 5.51126 24.4887C4.98382 23.9613 4.6875 23.2459 4.6875 22.5V6.17875C4.68765 6.12144 4.70356 6.06527 4.73348 6.0164C4.7634 5.96752 4.80619 5.92781 4.85716 5.90162C4.90813 5.87542 4.96532 5.86375 5.02248 5.86787C5.07964 5.872 5.13457 5.89176 5.18125 5.925L5.4 6.08125C6.19718 6.64832 7.15145 6.9525 8.12975 6.95138C9.10805 6.95026 10.0616 6.6439 10.8575 6.075ZM22.1875 23.75V17.8125H25.3125V23.75C25.3125 24.1644 25.1479 24.5618 24.8549 24.8549C24.5618 25.1479 24.1644 25.3125 23.75 25.3125C23.3356 25.3125 22.9382 25.1479 22.6451 24.8549C22.3521 24.5618 22.1875 24.1644 22.1875 23.75Z",fill:"#B57C2A"}))))}var Gge,Kge=e.forwardRef(Yge),Jge=(__webpack_require__.p,["title","titleId"]);function eve(){return eve=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},eve.apply(this,arguments)}function tve(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function nve(t,n){var r=t.title,o=t.titleId,i=tve(t,Jge);return e.createElement("svg",eve({width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,Gge||(Gge=e.createElement("path",{d:"M9 15H11V11H15V9H11V5H9V9H5V11H9V15ZM10 20C8.61667 20 7.31667 19.7375 6.1 19.2125C4.88333 18.6875 3.825 17.975 2.925 17.075C2.025 16.175 1.3125 15.1167 0.7875 13.9C0.2625 12.6833 0 11.3833 0 10C0 8.61667 0.2625 7.31667 0.7875 6.1C1.3125 4.88333 2.025 3.825 2.925 2.925C3.825 2.025 4.88333 1.3125 6.1 0.7875C7.31667 0.2625 8.61667 0 10 0C11.3833 0 12.6833 0.2625 13.9 0.7875C15.1167 1.3125 16.175 2.025 17.075 2.925C17.975 3.825 18.6875 4.88333 19.2125 6.1C19.7375 7.31667 20 8.61667 20 10C20 11.3833 19.7375 12.6833 19.2125 13.9C18.6875 15.1167 17.975 16.175 17.075 17.075C16.175 17.975 15.1167 18.6875 13.9 19.2125C12.6833 19.7375 11.3833 20 10 20ZM10 18C12.2333 18 14.125 17.225 15.675 15.675C17.225 14.125 18 12.2333 18 10C18 7.76667 17.225 5.875 15.675 4.325C14.125 2.775 12.2333 2 10 2C7.76667 2 5.875 2.775 4.325 4.325C2.775 5.875 2 7.76667 2 10C2 12.2333 2.775 14.125 4.325 15.675C5.875 17.225 7.76667 18 10 18Z",fill:"white"})))}var rve=e.forwardRef(nve),ove=(__webpack_require__.p,$l((function(){var e=he(),t={label:"CREATE INVOICE",onClick:function(){e("invoices/issue/new")},icon:(0,Kl.jsx)(rve,{width:16}),disabled:!0};return(0,Kl.jsx)(Yh,{title:"Receipts & Invoices",Icon:Kge,disableOutlet:!0,needSearch:!0,actionButton:t,children:(0,Kl.jsx)(Ee,{})})}))),ive=ove,ave=function(){var e=he();return(0,Kl.jsx)(Yh,{title:"Patients",onClickAddSecond:function(){e("/patients/create")},onClickAdd:function(){e("/calendar/appointment")},Icon:jae.Z,needSearch:!0})},sve=function(){var t=(0,e.useState)(!1),r=(0,n.Z)(t,2),o=r[0],i=r[1];return(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(Yh,{title:"Prescriptions",onClickAdd:function(){i(!0)},Icon:yre.Z,needSearch:!0}),(0,Kl.jsx)(u8,{open:o,setOpen:i})]})},lve=$l((function(t){var n,r=t.open,o=t.setOpen,i=Fc(),a=i.appointment,s=i.location,l=(0,e.useContext)(bA),c=hE().enqueueSnackbar;(0,e.useEffect)((function(){var e,t,n,r,o,i,s,c,u,d,p,f,h=null===l||void 0===l||null===(e=l.user)||void 0===e||null===(t=e.staff)||void 0===t||null===(n=t.treatmentTypes)||void 0===n?void 0:n.map((function(e){var t=Ml(e);return Us(Us({},e),{},{selected:!1},t)}));(a.setTreatmentTypes(h),null!==l&&void 0!==l&&l.user)&&(null===a||void 0===a||a.setDoctor(null===l||void 0===l||null===(r=l.user)||void 0===r||null===(o=r.staff)||void 0===o?void 0:o.id,Qs(null===l||void 0===l||null===(i=l.user)||void 0===i?void 0:i.firstName,null===l||void 0===l||null===(s=l.user)||void 0===s?void 0:s.lastName),null===l||void 0===l||null===(c=l.user)||void 0===c||null===(u=c.staff)||void 0===u||null===(d=u.role)||void 0===d||null===(p=d[0])||void 0===p?void 0:p.name,null===l||void 0===l||null===(f=l.user)||void 0===f?void 0:f.avatarUrl))}),[l.user,a]);var u=function(){o("none"),a.clear()},d=(0,e.useMemo)((function(){return!a.doctor.id||!a.patient.id||!(null!==a&&void 0!==a&&a.location)||0===(null===a||void 0===a?void 0:a.selectedTreatmentTypes.length)}),[null===a||void 0===a||null===(n=a.doctor)||void 0===n?void 0:n.id,a.patient.id,null===a||void 0===a?void 0:a.location,null===a||void 0===a?void 0:a.selectedTreatmentTypes.length]);return r?(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(op,{anchor:"right",open:"waitlist"===r,onClose:u,PaperProps:{className:RE.paper},hideBackdrop:!0,elevation:0,children:(0,Kl.jsxs)("div",{className:RE.appointment,children:[(0,Kl.jsx)(TAe,{title:"Waitlist",handleClose:u}),(0,Kl.jsxs)("div",{className:RE.appointmentMain,children:[(0,Kl.jsx)(SB,{onClick:function(){o("patients")},needSelector:!0}),(0,Kl.jsx)(AB,{}),(0,Kl.jsx)(LB,{}),(0,Kl.jsx)("div",{className:RE.additionalButtons,children:!!a.doctor.id&&(0,Kl.jsx)(Ck,{variant:"outlined",color:"primary",fullWidth:!0,onClick:function(){o("services")},endIcon:(0,Kl.jsx)(vS.Z,{}),children:"Select Service"})}),(0,Kl.jsx)(MB,{autoUpdate:!0}),(0,Kl.jsx)(kB,{onClick:function(){o("doctors")}}),(0,Kl.jsx)(gk,{})]}),(0,Kl.jsx)("div",{className:RE.appointmentBookBottomWrapper,children:(0,Kl.jsx)("div",{className:RE.appointmentBookBottom,children:(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",onClick:function(){Re.post("/v1/wait-list",{appointment_type_id:1,doctor_id:a.doctor.id,selected_services:null===a||void 0===a?void 0:a.treatmentTypes.filter((function(e){return e.selected})).map((function(e){return{id:e.id}})),waiting_at:Vs()(a.startDate).format("YYYY-MM-DDTHH:mm"),patient_id:a.patient.id,clinic_location_id:(null===a||void 0===a?void 0:a.location)||(null===s||void 0===s?void 0:s.id)}).then((function(e){e.data;a.clear(),o(!1),c("Successfully added!",{variant:"success"}),window.location.reload()}))},disabled:d,children:"Save"})})})]})}),(0,Kl.jsx)(gme,{open:"patients"===r,setOpen:o}),(0,Kl.jsx)(Cme,{open:"services"===r,setOpen:o}),(0,Kl.jsx)(ime,{open:"doctors"===r,setOpen:o})]}):null})),cve=lve,uve=function(){var t=(0,e.useState)(!1),r=(0,n.Z)(t,2),o=r[0],i=r[1];return(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(Yh,{title:"Waitlist",onClickAdd:function(){i("waitlist")},Icon:yre.Z,needSearch:!0}),(0,Kl.jsx)(cve,{open:o,setOpen:i})]})},dve=function(){var t=Ae(),r=t.encryptedAppointmentId,o=t.appointment,i=t.appointmentLoading,a=t.setAppointmentLoading,s=t.setMainTitle,l=hE().enqueueSnackbar,c=(0,e.useState)(),u=(0,n.Z)(c,2),d=u[0],p=u[1],f=(0,e.useState)(!1),h=(0,n.Z)(f,2),b=h[0],A=h[1],m=(0,e.useCallback)((function(){A(!1),p("Appointment has not been cancelled")}),[]),g=(0,e.useCallback)((function(){a(!0),A(!1),Re.post("/v1/encrypted-appointment/".concat(r,"/cancel")).then((function(){p("Appointment has been successfully cancelled")})).catch((function(e){var t=e.message;p("Appointment has not been cancelled"),l(t,{variant:"error"})})).finally((function(){return a(!1)}))}),[r,l,a]);return(0,e.useEffect)((function(){o&&(A(!0),s("Cancel an Appointment on ".concat(Vs()(o.startDate).format("DD/MM/YYYY HH:mm"))))}),[o,s]),!o||null!==o&&void 0!==o&&o.canBeCancelled?(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(kl.Z,{align:"center",children:!b&&i?(0,Kl.jsx)(Rp,{}):d}),(0,Kl.jsxs)(vC,{open:b,children:[(0,Kl.jsx)(MC,{children:"Are you sure to cancel appointment?"}),(0,Kl.jsxs)(xE,{children:[(0,Kl.jsx)(zd.Z,{variant:"outlined",color:"primary",onClick:m,children:"No"}),(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",onClick:g,children:"Yes"})]})]})]}):(0,Kl.jsx)(kl.Z,{align:"center",children:"Cancelling is not allowed"})},pve=function(){var t,r=(0,e.useContext)(bA),o=Ae(),i=o.encryptedAppointmentId,a=o.appointment,s=o.setAppointmentLoading,l=o.setMainTitle,c=hE().enqueueSnackbar,u=Fc().location,d=(0,e.useState)(!1),p=(0,n.Z)(d,2),f=p[0],h=p[1],b=(0,e.useState)(!1),A=(0,n.Z)(b,2),m=A[0],g=A[1],v=(0,e.useState)([]),y=(0,n.Z)(v,2),M=y[0],O=y[1],_=(0,e.useState)([]),z=(0,n.Z)(_,2),x=z[0],w=z[1],C=(0,e.useState)([]),S=(0,n.Z)(C,2),E=S[0],k=S[1],D=(0,e.useState)(),N=(0,n.Z)(D,2),T=N[0],j=N[1],B=(0,e.useState)(),L=(0,n.Z)(B,2),R=L[0],q=L[1],P=(0,e.useState)(),I=(0,n.Z)(P,2),W=I[0],F=I[1],U=(0,e.useCallback)((function(e){Re.post("/v1/staff/".concat(a.staff.id,"/reschedule-get-calendar"),{start:Vs()(e).startOf("month").format("YYYY-MM-DD"),end:Vs()(e).endOf("month").format("YYYY-MM-DD"),date:Vs()(a.startDate).format("YYYY-MM-DD"),appointmentTypes:a.types.map((function(e){return e.id})),treatmentTypes:a.treatmentTypes.map((function(e){return e.id})),time:Vs()().format("HH:mm"),location:a.location.id}).then((function(e){var t=e.data;w(t.daysOff.map((function(e){return e.start_date}))),O(t.shift.map((function(e){return e.start_date})))})).catch((function(e){var t=e.message;return c(t,{variant:"error"})}))}),[a,c]),Z=(0,e.useCallback)((function(){Re.post("/v1/staff/".concat(a.staff.id,"/reschedule-time-slots"),{date:Vs()(R).format("YYYY-MM-DD"),appointmentTypes:a.types.map((function(e){return e.id})),treatmentTypes:a.treatmentTypes.map((function(e){return e.id})),time:Vs()().format("HH:mm"),location:a.location.id,ignoredAppointmentId:a.id}).then((function(e){var t=e.data,n=[];t.message?j(t.message):n=t,k(n),F(void 0)})).catch((function(e){var t=e.message;return c(t,{variant:"error"})}))}),[a,R,c]),H=(0,e.useCallback)((function(){h(!1),s(!0);var e=W.split(":"),t=(0,n.Z)(e,2),r=t[0],o=t[1];Re.post("/v1/encrypted-appointment/".concat(i,"/reschedule"),{startDate:Vs()(R).set({hour:r,minute:o,second:0}).format("YYYY-MM-DD HH:mm:ss")}).then((function(){return g(!0)})).catch((function(e){var t=e.message;return c(t,{variant:"error"})})).finally((function(){return s(!1)}))}),[i,R,W,c,s]),$=(0,e.useCallback)((function(e){var t="react-datepicker__day--non-working",n=Vs()(e).format("yyyy-MM-DD"),r=Vs()(e).format("dddd");return x.includes(n)?t:M.some((function(e){return e===n}))||a.staff.workingHours.map((function(e){return e.workingDay})).includes(r)?"react-datepicker__day--working-day":t}),[x,M,a]);return(0,e.useEffect)((function(){a&&(null===u||void 0===u||u.setLocation(a.location),q(a.startDate),U(a.startDate),l("Reschedule an Appointment on ".concat(Vs()(a.startDate).format("DD/MM/YYYY HH:mm"))))}),[a,u,U,l]),(0,e.useEffect)((function(){R&&Z()}),[R,Z]),!a||null!==a&&void 0!==a&&a.canBeRescheduled?(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsxs)(vC,{open:f,children:[(0,Kl.jsx)(MC,{children:"Are you sure to reschedule appointment?"}),(0,Kl.jsxs)(xE,{children:[(0,Kl.jsx)(zd.Z,{variant:"outlined",color:"primary",onClick:function(){return h(!1)},children:"No"}),(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",onClick:H,children:"Yes"})]})]}),m&&(0,Kl.jsx)(kl.Z,{align:"center",children:"Appointment has been successfully rescheduled"}),!m&&(0,Kl.jsxs)(Cb,{className:Nte.calendarWrapper,children:[!R&&(0,Kl.jsx)(Rp,{variant:"rect",height:440,className:Nte.calendarSkeleton}),R&&(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsxs)(Cb,{className:Nte.calendarContainer,children:[(0,Kl.jsx)(nk(),{dateFormat:"MMMM d",calendarStartDay:1,inline:!0,calendarClassName:"external-booking-calendar",minDate:new Date,maxDate:new Date(null===(t=r.clinic)||void 0===t?void 0:t.maxAvailableDateForBooking),selected:Date.parse(R),onChange:q,onMonthChange:U,dayClassName:$}),(0,Kl.jsx)(Cb,{className:Nte.doctorWrapper,children:(0,Kl.jsx)(jw,{name:Qs(a.staff.user.firstName,a.staff.user.lastName),avatarUrl:a.staff.user.avatarUrl})})]}),(0,Kl.jsxs)(Cb,{className:Nte.time,children:[(0,Kl.jsx)(Cb,{className:Nte.timePicker,children:E.length?(0,Kl.jsx)(Cb,{className:Nte.timeSlots,children:E.map((function(e){return(0,Kl.jsx)(zd.Z,{className:e.date===W?Nte.timeSlotActive:Nte.timeSlot,onClick:function(){return F(e.date)},children:e.date},e.date)}))}):(0,Kl.jsx)(kl.Z,{className:Nte.message,children:null!==T&&void 0!==T?T:"No available time slots for this day!"})}),(0,Kl.jsx)(Cb,{className:Nte.summary,children:(0,Kl.jsx)(jw,{name:Qs(a.staff.user.firstName,a.staff.user.lastName),avatarUrl:a.staff.user.avatarUrl})}),(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",size:"large",fullWidth:!0,disabled:!W,onClick:function(){return h(!0)},className:Nte.nextButton,children:"Reschedule"})]})]})]})]}):(0,Kl.jsx)(kl.Z,{align:"center",children:"Rescheduling is not allowed"})};zd.Z.styles;var fve,hve=e.forwardRef((function(t,n){var r=t.children,o=t.classes,i=t.className,a=t.color,s=void 0===a?"default":a,l=t.component,c=void 0===l?"div":l,u=t.disabled,d=void 0!==u&&u,p=t.disableElevation,f=void 0!==p&&p,h=t.disableFocusRipple,b=void 0!==h&&h,A=t.disableRipple,m=void 0!==A&&A,g=t.fullWidth,v=void 0!==g&&g,y=t.orientation,M=void 0===y?"horizontal":y,O=t.size,_=void 0===O?"medium":O,z=t.variant,x=void 0===z?"outlined":z,w=(0,Uu.Z)(t,["children","classes","className","color","component","disabled","disableElevation","disableFocusRipple","disableRipple","fullWidth","orientation","size","variant"]),C=(0,Zu.Z)(o.grouped,o["grouped".concat((0,Jd.Z)(M))],o["grouped".concat((0,Jd.Z)(x))],o["grouped".concat((0,Jd.Z)(x)).concat((0,Jd.Z)(M))],o["grouped".concat((0,Jd.Z)(x)).concat("default"!==s?(0,Jd.Z)(s):"")],d&&o.disabled);return e.createElement(c,(0,Fu.Z)({role:"group",className:(0,Zu.Z)(o.root,i,v&&o.fullWidth,f&&o.disableElevation,"contained"===x&&o.contained,"vertical"===M&&o.vertical),ref:n},w),e.Children.map(r,(function(t){return e.isValidElement(t)?e.cloneElement(t,{className:(0,Zu.Z)(C,t.props.className),color:t.props.color||s,disabled:t.props.disabled||d,disableElevation:t.props.disableElevation||f,disableFocusRipple:b,disableRipple:m,fullWidth:v,size:t.props.size||_,variant:t.props.variant||x}):null})))})),bve=(0,Hu.Z)((function(e){return{root:{display:"inline-flex",borderRadius:e.shape.borderRadius},contained:{boxShadow:e.shadows[2]},disableElevation:{boxShadow:"none"},disabled:{},fullWidth:{width:"100%"},vertical:{flexDirection:"column"},grouped:{minWidth:40},groupedHorizontal:{"&:not(:first-child)":{borderTopLeftRadius:0,borderBottomLeftRadius:0},"&:not(:last-child)":{borderTopRightRadius:0,borderBottomRightRadius:0}},groupedVertical:{"&:not(:first-child)":{borderTopRightRadius:0,borderTopLeftRadius:0},"&:not(:last-child)":{borderBottomRightRadius:0,borderBottomLeftRadius:0}},groupedText:{},groupedTextHorizontal:{"&:not(:last-child)":{borderRight:"1px solid ".concat("light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)")}},groupedTextVertical:{"&:not(:last-child)":{borderBottom:"1px solid ".concat("light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)")}},groupedTextPrimary:{"&:not(:last-child)":{borderColor:(0,Bp.Fq)(e.palette.primary.main,.5)}},groupedTextSecondary:{"&:not(:last-child)":{borderColor:(0,Bp.Fq)(e.palette.secondary.main,.5)}},groupedOutlined:{},groupedOutlinedHorizontal:{"&:not(:first-child)":{marginLeft:-1},"&:not(:last-child)":{borderRightColor:"transparent"}},groupedOutlinedVertical:{"&:not(:first-child)":{marginTop:-1},"&:not(:last-child)":{borderBottomColor:"transparent"}},groupedOutlinedPrimary:{"&:hover":{borderColor:e.palette.primary.main}},groupedOutlinedSecondary:{"&:hover":{borderColor:e.palette.secondary.main}},groupedContained:{boxShadow:"none"},groupedContainedHorizontal:{"&:not(:last-child)":{borderRight:"1px solid ".concat(e.palette.grey[400]),"&$disabled":{borderRight:"1px solid ".concat(e.palette.action.disabled)}}},groupedContainedVertical:{"&:not(:last-child)":{borderBottom:"1px solid ".concat(e.palette.grey[400]),"&$disabled":{borderBottom:"1px solid ".concat(e.palette.action.disabled)}}},groupedContainedPrimary:{"&:not(:last-child)":{borderColor:e.palette.primary.dark}},groupedContainedSecondary:{"&:not(:last-child)":{borderColor:e.palette.secondary.dark}}}}),{name:"MuiButtonGroup"})(hve),Ave=__webpack_require__(90374),mve=function(t){var r=t.value,o=t.onChange,i=t.placeholder,a=t.editText,s=t.pleaseEnterText,l=void 0===s?"Please enter name":s,c=(0,e.useState)(!1),u=(0,n.Z)(c,2),d=u[0],p=u[1],f=function(){return p(!d)};return d?(0,Kl.jsx)(Wu.Z,{value:r,placeholder:i,onChange:o,fullWidth:!0,size:"small",variant:"outlined",onBlur:f,InputProps:{endAdornment:(0,Kl.jsx)(Xu,{position:"end",children:(0,Kl.jsx)(wd.Z,{size:"small",onClick:f,children:(0,Kl.jsx)(Ave.Z,{color:"primary"})})})}}):(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(kl.Z,{variant:"h6",children:r||l}),(0,Kl.jsx)(lk,{onClick:f,component:"button",variant:"caption",color:"primary",children:a})]})},gve="form_settingsWrap__9gHcF",vve="form_label__bL4KX",yve="form_buttonGroup__mm1Aa",Mve="form_notificationForm__vEgp1",Ove="form_buttons__jaLYz",_ve=function(t){var n=t.onChange,r=t.editorState,o=(0,e.useCallback)((function(){var e=iL.Modifier.replaceText(r.getCurrentContent(),r.getSelection(),"%divider%",r.getCurrentInlineStyle());n(iL.EditorState.push(r,e,"insert-characters"))}),[r,n]);return(0,Kl.jsx)("div",{className:"rdw-option-wrapper",onClick:o,title:"Horizontal Divider",children:(0,Kl.jsx)("hr",{style:{width:"15px"}})})},zve=__webpack_require__(67282),xve=__webpack_require__.n(zve),wve="text-editor_editorWrap__17n0v",Cve=__webpack_require__(25734),Sve=function(t){var n=t.editorState,r=t.setEditorState,o=t.fieldName,i=t.setFieldValue,a=t.touched,s=t.errors,l=t.placeholderSelector,c=/%divider%+/g,u=/%[\w\u0590-\u05ff]*_header%+/g;function d(e,t,n){for(var r,o,i=t.getText();null!==(r=e.exec(i));)n(o=r.index,o+r[0].length)}var p=[{strategy:function(e,t,n){return d(c,e,t)},component:function(e){return(0,Kl.jsx)("span",{style:{color:"#2C82C9"},children:e.children})}},{strategy:function(e,t,n){return d(u,e,t)},component:function(e){return(0,Kl.jsx)("span",{style:{color:"#2C82C9",fontWeight:"bold"},children:e.children})}}];return(0,Kl.jsxs)(Kl.Fragment,{children:[l&&(0,Kl.jsxs)(AC,{container:!0,spacing:2,alignItems:"center",children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(kl.Z,{variant:"caption",children:"Insert email placeholders:"})}),(0,Kl.jsx)(AC,{item:!0,xs:"auto",children:e.cloneElement(l,{onSelect:function(e){var t=xve()(e),a=t.contentBlocks,s=t.entityMap,l=iL.Modifier.replaceWithFragment(n.getCurrentContent(),n.getSelection(),iL.ContentState.createFromBlockArray(a,s).getBlockMap()),c=iL.EditorState.push(n,l,"insert-fragment");r(c),i(o,sL()((0,iL.convertToRaw)(c.getCurrentContent())))}})})]}),(0,Kl.jsxs)(Cb,{className:wve,mt:2,children:[(0,Kl.jsx)(oL.Editor,{editorState:n,toolbarClassName:"toolbarClassName",wrapperClassName:"wrapperClassName",editorClassName:"editorClassName",onEditorStateChange:function(e){var t=sL()((0,iL.convertToRaw)(e.getCurrentContent()));i(o,t),r(e)},toolbarCustomButtons:[(0,Kl.jsx)(_ve,{})],customDecorators:p}),(null===a||void 0===a?void 0:a[o])&&(null===s||void 0===s?void 0:s[o])&&(0,Kl.jsx)(Cve.Z,{variant:"outlined",error:!0,id:"err-".concat(o),children:s[o]})]})]})},Eve=function(e){var t=e.onSelect,n=e.placeholderCategories,r=function(e){t(e.target.value)};return(0,Kl.jsx)(AC,{container:!0,spacing:2,justifyContent:"center",children:n.map((function(e){if(e.placeholders.length)return(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(AJ.Z,{variant:"outlined",size:"small",children:(0,Kl.jsxs)(LE.Z,{id:"placeholder_".concat(e.category),value:e.category,onChange:r,label:e.category,children:[(0,Kl.jsx)(xd.Z,{value:e.category,children:(0,Kl.jsx)("strong",{style:{textTransform:"capitalize"},children:e.category})}),e.placeholders.map((function(e){return(0,Kl.jsx)(xd.Z,{value:(null===e||void 0===e?void 0:e.template)||"%".concat(e.placeholder,"%"),children:e.title},e.placeholder)}))]})})},"ph_selector_".concat(e.category))}))})},kve=$l((function(t){var n=t.onSelect,r=t.channel,o=t.useFor,i=Fc().notificationsStore,a=(0,e.useMemo)((function(){return i.campaignPlaceholders?i.campaignPlaceholders.map((function(e){return{category:e.category,placeholders:e.placeholders.filter((function(e){return e.for.includes(o)&&e.channels.includes(r)}))}})):[]}),[JSON.stringify(i.campaignPlaceholders)]);return(0,Kl.jsx)(Eve,{onSelect:n,placeholderCategories:a})})),Dve=kve,Nve=function(t){var r=(0,e.useState)(t?function(e){var t=xve()(e),n=iL.ContentState.createFromBlockArray(t.contentBlocks);return iL.EditorState.createWithContent(n)}(t):iL.EditorState.createEmpty()),o=(0,n.Z)(r,2);return{editorState:o[0],setEditorState:o[1]}},Tve=function(t){var r=t.placeholderSelector,o=(0,e.useState)(!1),i=(0,n.Z)(o,2),a=i[0],s=i[1];return(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(Cb,{display:"flex",alignItems:"center",onClick:function(){return s(!0)},sx:{cursor:"pointer"},children:(0,Kl.jsx)(kl.Z,{color:"secondary",children:"</> Insert Email Placeholders"})}),(0,Kl.jsx)(vC,{open:a,onClose:function(){return s(!1)},children:(0,Kl.jsx)(_E,{style:{padding:"10px 25px"},children:r})})]})},jve=function(t){var n=t.fieldName,r=t.placeholder,o=t.value,i=t.setFieldValue,a=t.handleChange,s=t.touched,l=t.errors,c=t.placeholderSelector,u=(0,e.useCallback)((function(e){i(n,"".concat(o," ").concat(e))}),[o]);return(0,Kl.jsxs)(Cb,{children:[(0,Kl.jsx)(kl.Z,{variant:"body2",style:{margin:"20px 0 10px"},children:(0,Kl.jsx)("label",{htmlFor:"subject",children:"Subject:"})}),(0,Kl.jsx)(Wu.Z,{value:o,id:n,placeholder:r,onChange:a,fullWidth:!0,size:"small",variant:"outlined",InputProps:{endAdornment:(0,Kl.jsx)(Xu,{position:"end",children:(0,Kl.jsx)(Tve,{placeholderSelector:e.cloneElement(c,{onSelect:u})})})},error:Boolean((null===s||void 0===s?void 0:s[n])&&(null===l||void 0===l?void 0:l[n])),helperText:null!==s&&void 0!==s&&s[n]&&null!==l&&void 0!==l&&l[n]?l[n]:""})]})},Bve=function(e){var t=e.setFieldValue,n=e.handleChange,r=e.values,o=e.touched,i=e.errors,a=Nve(r.message),s=a.editorState,l=a.setEditorState;return(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(jve,{fieldName:"subject",placeholder:"Subject",value:r.subject,setFieldValue:t,handleChange:n,touched:o,errors:i,placeholderSelector:(0,Kl.jsx)(Dve,{channel:rae,useFor:sA})}),(0,Kl.jsxs)(Cb,{children:[(0,Kl.jsx)(kl.Z,{variant:"body2",className:vve,children:"Message: "}),(0,Kl.jsx)(Sve,{editorState:s,setEditorState:l,fieldName:"message",setFieldValue:t,values:r,touched:o,errors:i,placeholderSelector:(0,Kl.jsx)(Dve,{channel:rae,useFor:aA})})]})]})},Lve=(__webpack_require__(87131),"send-test_notificationForm__mnDDd"),Rve="send-test_label__-GdLA",qve=function(e){var t=e.isLoading,n=e.setIsLoading,r=e.formData,o=e.channel,i=e.forCampaign,a=void 0!==i&&i,s=wE(),l=s.isDialogOpen,c=s.openDialog,u=s.closeDialog,d=hE().enqueueSnackbar,p=dA().fetchChannelInfo,f=Xj({enableReinitialize:!0,initialValues:{to_email:"",to_phone:""},validationSchema:jk.object().shape({to_email:o===oA?jk.string().email("Must be a valid email").required("Email field is required"):null,to_phone:o===iA?jk.string().phone("US",!1,"Must be a valid phone number").required("Phone field is required"):null}),onSubmit:function(e){if(!t){n(!0);var i={message:r.message};o===oA?i=Us(Us({},i),{},{to_email:e.to_email,subject:r.subject}):o===iA&&(i.to_phone=e.to_phone);var s=a?"/v1/settings/marketing-campaign/".concat(r.id,"/send-test"):"/v1/settings/notifications/clinic-notification-trigger/".concat(r.id,"/preview");Re.post(s,i).then((function(e){o===iA&&p(),d("Sent successfully!",{variant:"success"}),u(),v()})).catch((function(e){y(e.errors),d(e.message,{variant:"error"})})).finally((function(){n(!1)}))}}}),h=f.handleSubmit,b=f.values,A=f.touched,m=f.errors,g=f.handleChange,v=f.resetForm,y=f.setErrors;return(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsxs)(zd.Z,{variant:"outlined",color:"primary",onClick:c,style:{textTransform:"capitalize"},children:["Send Test ",o]}),(0,Kl.jsxs)(vC,{open:l,onClose:u,maxWidth:"sm",fullWidth:!0,children:[(0,Kl.jsx)(_E,{children:(0,Kl.jsxs)("form",{noValidate:!0,id:"send-test-form",onSubmit:h,className:Lve,children:[o===oA&&(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(kl.Z,{variant:"body2",className:Rve,children:(0,Kl.jsx)("label",{htmlFor:"to_email",children:"Email:"})}),(0,Kl.jsx)(Wu.Z,{value:b.to_email,id:"to_email",placeholder:"Email",onChange:g,fullWidth:!0,size:"small",variant:"outlined",error:Boolean((null===A||void 0===A?void 0:A.to_email)&&(null===m||void 0===m?void 0:m.to_email)),helperText:null!==A&&void 0!==A&&A.to_email&&null!==m&&void 0!==m&&m.to_email?m.to_email:""})]}),o===iA&&(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(kl.Z,{variant:"body2",className:Rve,children:(0,Kl.jsx)("label",{htmlFor:"to_phone",children:"Phone:"})}),(0,Kl.jsx)(Wu.Z,{value:b.to_phone,id:"to_phone",placeholder:"Phone",onChange:g,fullWidth:!0,size:"small",variant:"outlined",error:Boolean((null===A||void 0===A?void 0:A.to_phone)&&(null===m||void 0===m?void 0:m.to_phone)),helperText:null!==A&&void 0!==A&&A.to_phone&&null!==m&&void 0!==m&&m.to_phone?m.to_phone:""})]})]})}),(0,Kl.jsxs)(xE,{children:[(0,Kl.jsx)(zd.Z,{type:"submit",form:"send-test-form",variant:"contained",color:"primary",children:"Send"}),(0,Kl.jsx)(zd.Z,{onClick:u,children:"Cancel"})]})]})]})},Pve="sms-message-field_smsMessage__jDuDU",Ive="sms-message-field_counter__pA0cH",Wve="sms-message-field_exceeded__2uBjy",Fve=function(e){var t=e.value,n=e.handleChange,r=e.errors,o=e.touched,i=e.placeholderSelector;return(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsxs)(AC,{container:!0,spacing:2,alignItems:"center",children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(kl.Z,{variant:"caption",children:"Insert sms placeholders:"})}),(0,Kl.jsx)(AC,{item:!0,xs:"auto",children:i})]}),(0,Kl.jsxs)(Cb,{mt:2,position:"relative",children:[(0,Kl.jsx)(Wu.Z,{className:Pve,multiline:!0,value:t,id:"message",placeholder:"Message",onChange:n,fullWidth:!0,size:"small",variant:"outlined",error:Boolean((null===o||void 0===o?void 0:o.message)&&(null===r||void 0===r?void 0:r.message)),helperText:null!==o&&void 0!==o&&o.message&&null!==r&&void 0!==r&&r.message?r.message:""}),(0,Kl.jsxs)("div",{className:"".concat(Ive," ").concat((null===t||void 0===t?void 0:t.length)>160?Wve:""),children:[(0,Kl.jsx)("span",{children:"Using placeholders may exceed 160 symbol limit and cause extra costs per message!"}),null===t||void 0===t?void 0:t.length," / 160"]})]})]})},Uve=__webpack_require__(78611),Zve=__webpack_require__(63630),Hve=["children"],$ve=function(t){var n=t.fieldName,r=t.value,o=t.options,i=t.groupBy,a=t.onChangeValue,s=t.label,l=void 0===s?"":s,c=(null===r||void 0===r?void 0:r.length)===(null===o||void 0===o?void 0:o.length),u=(0,e.useCallback)((function(e){var t=e.children,n=(0,Uu.Z)(e,Hve);return(0,Kl.jsxs)(Kd.Z,Us(Us({},n),{},{children:[(0,Kl.jsx)(oS.Z,{style:{marginLeft:"8px"},control:(0,Kl.jsx)(kk.Z,{icon:(0,Kl.jsx)(Uve.Z,{fontSize:"small"}),checkedIcon:(0,Kl.jsx)(Zve.Z,{fontSize:"small"}),checked:c,size:"small",onMouseDown:function(e){return e.preventDefault()},onChange:function(){a(c?[]:o.map((function(e){return e.value})))}}),label:c?"Unselect all":"Select all",onClick:function(e){e.preventDefault(),a(c?[]:o.map((function(e){return e.value})))},onMouseDown:function(e){return e.preventDefault()}}),t]}))}),[c]);return(0,Kl.jsx)(s6,{autoComplete:!0,multiple:!0,disableCloseOnSelect:!0,id:n,name:n,value:r,options:o,groupBy:i,getOptionLabel:function(e){return e.name},limitTags:3,getOptionSelected:function(e,t){return t===e.value},onChange:function(e,t){a(t.map((function(e){return"object"===typeof e?e.value:e})))},renderOption:function(e,t){var n=t.selected;return(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(kk.Z,{icon:(0,Kl.jsx)(Uve.Z,{fontSize:"small"}),checkedIcon:(0,Kl.jsx)(Zve.Z,{fontSize:"small"}),style:{marginRight:8,padding:0},checked:n,size:"small"}),e.name]})},renderTags:function(e){return e.map((function(t){var n;return(0,Kl.jsx)(t6,{className:"MuiAutocomplete-tag",size:"small",label:null===(n=o.find((function(e){return e.value===t})))||void 0===n?void 0:n.name,onDelete:function(){a(e.filter((function(e){return e!==t})))}},"tag-tt-".concat(t))}))},renderInput:function(e){return(0,Kl.jsx)(Wu.Z,Us(Us({},e),{},{size:"small",variant:"outlined",label:l}))},PaperComponent:u})},Vve="filters_filter__3vJ4c",Xve="filters_capitalize__hFFL8",Qve="filters_centeredFields__V8YAU",Yve="filters_errors__1MYDP",Gve=function(t){var n=t.values,r=t.handleChange,o=t.setFieldValue,i=t.fields,a=t.fieldIndex,s=t.errors,l="audiences.".concat(a,".data.date_range.").concat(i[0]),c="audiences.".concat(a,".data.date_range.").concat(i[1]),u=(0,e.useMemo)((function(){var e,t;return null===n||void 0===n||null===(e=n.audiences[a])||void 0===e||null===(t=e.data)||void 0===t?void 0:t.date_range[i[0]]}),[n]),d=(0,e.useMemo)((function(){var e,t;return null===n||void 0===n||null===(e=n.audiences[a])||void 0===e||null===(t=e.data)||void 0===t?void 0:t.date_range[i[1]]}),[n]);return(0,e.useEffect)((function(){o(l,u||""),o(c,d||"")}),[]),(0,Kl.jsxs)(AC,{container:!0,justifyContent:"space-between",className:Vve,children:[(0,Kl.jsxs)(AC,{item:!0,xs:12,className:Yve,children:[!!s[l]&&(0,Kl.jsx)("p",{children:s[l]}),!!s[c]&&(0,Kl.jsx)("p",{children:s[c]})]}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(Wu.Z,{defaultValue:u,onChange:r,label:"From",variant:"outlined",id:l,name:l,type:"date",InputLabelProps:{shrink:!0}})}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(Wu.Z,{defaultValue:d,onChange:r,label:"To",variant:"outlined",id:c,name:c,type:"date",InputLabelProps:{shrink:!0}})})]})},Kve={},Jve=$l((function(t){var n=t.fieldName,r=t.value,o=t.touched,i=t.errors,a=t.onChange,s=t.hideLabel,l=void 0!==s&&s,c=t.label,u=void 0===c?"":c,d=Fc().clinic;(0,e.useEffect)((function(){null!==d&&void 0!==d&&d.treatmentTypes.length||Re.get("/v1/treatment-types").then((function(e){var t=e.data;d.setTreatmentTypes(t.data.filter((function(e){return!e.deletedAt})))}))}),[]);var p=(0,e.useCallback)((function(){return one().sortBy(d.treatmentTypes.filter((function(e){return!e.deletedAt})),(function(e){var t,n;return null!==(t=null===(n=e.category)||void 0===n?void 0:n.id)&&void 0!==t?t:-1})).map((function(e){var t,n;return{value:e.id,name:e.fullName,category:null!==(t=null===(n=e.category)||void 0===n?void 0:n.name)&&void 0!==t?t:"Without category"}}))}),[d.treatmentTypes]);return null!==d&&void 0!==d&&d.treatmentTypes.length?(0,Kl.jsxs)(Kl.Fragment,{children:[!l&&(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(Jb,{}),(0,Kl.jsx)(kl.Z,{variant:"body2",className:Kve.label,children:(0,Kl.jsx)("label",{htmlFor:n,children:"Treatment Filter"})})]}),(0,Kl.jsxs)(AJ.Z,{variant:"outlined",size:"small",fullWidth:!0,children:[(0,Kl.jsx)($ve,{fieldName:n,value:r,options:p(),groupBy:function(e){return e.category},onChangeValue:a,label:u}),o[n]&&i[n]&&(0,Kl.jsx)(Cve.Z,{variant:"outlined",error:!0,id:"err-".concat(n),children:i[n]})]})]}):null})),eye=Jve,tye=function(t){var n,r,o=t.values,i=t.setFieldValue,a=t.fieldIndex,s=t.errors,l="audiences.".concat(a,".data.treatment_type_ids"),c=(0,e.useMemo)((function(){var e,t;return null===o||void 0===o||null===(e=o.audiences[a])||void 0===e||null===(t=e.data)||void 0===t?void 0:t.treatment_type_ids}),[o]);return(0,e.useEffect)((function(){i(l,c||[])}),[]),(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)("div",{className:Yve,children:!!s[l]&&(0,Kl.jsx)("p",{children:s[l]})}),(0,Kl.jsx)(eye,{fieldName:l,value:(null===o||void 0===o||null===(n=o.audiences[a])||void 0===n||null===(r=n.data)||void 0===r?void 0:r.treatment_type_ids)||[],onChange:function(e){i(l,e)},errors:[],touched:[],hideLabel:!0,label:"Treatment types"})]})},nye="notification-form_notificationForm__9YWCl",rye="notification-form_notificationName__fnZP7",oye="notification-form_label__vOIc4",iye="notification-form_buttons__QoAqW",aye="notification-settings_settingsWrap__cnbKg",sye="notification-settings_header__uhk4R",lye="notification-settings_label__b8CUp",cye="notification-settings_timeIntervalFields__Dg-U3",uye="notification-settings_capitalize__PsP6e",dye="notification-settings_notificationSettings__iLtqn",pye=__webpack_require__(58318),fye=$l((function(t){var n=t.selectedTrigger,r=t.setFieldValue,o=t.notification,i=t.errors,a=t.touched,s=Fc().clinic,l=(0,e.useCallback)((function(){return s.staff.map((function(e){return{value:e.id,name:e.fullName}}))}),[s.staff]);return null!==n&&void 0!==n&&n.available_filters.includes("staff")&&null!==s&&void 0!==s&&s.staff.length?(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(Jb,{}),(0,Kl.jsx)(kl.Z,{variant:"body2",className:Kve.label,children:(0,Kl.jsx)("label",{htmlFor:"staff_ids",children:"Staff Filter"})}),(0,Kl.jsxs)(AJ.Z,{variant:"outlined",size:"small",fullWidth:!0,children:[(0,Kl.jsx)($ve,{fieldName:"staff_ids",value:null===o||void 0===o?void 0:o.staff_ids,options:l(),onChangeValue:function(e){r("staff_ids",e)}}),a.staff_ids&&i.staff_ids&&(0,Kl.jsx)(Cve.Z,{variant:"outlined",error:!0,id:"err-staff-ids",children:i.staff_ids})]})]}):null})),hye=fye,bye=$l((function(t){var n,r=t.selectedTrigger,o=t.setFieldValue,i=t.notification,a=t.errors,s=t.touched,l=(0,e.useContext)(bA),c=(0,e.useCallback)((function(){return l.clinic.locations.map((function(e){return{value:e.id,name:e.address}}))}),[null===l||void 0===l||null===(n=l.clinic)||void 0===n?void 0:n.locations]);return null!==r&&void 0!==r&&r.available_filters.includes("clinicLocations")?(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(Jb,{}),(0,Kl.jsx)(kl.Z,{variant:"body2",className:Kve.label,children:(0,Kl.jsx)("label",{htmlFor:"location_ids",children:"Location Filter"})}),(0,Kl.jsxs)(AJ.Z,{variant:"outlined",size:"small",fullWidth:!0,children:[(0,Kl.jsx)($ve,{fieldName:"location_ids",value:null===i||void 0===i?void 0:i.location_ids,options:c(),onChangeValue:function(e){o("location_ids",e)}}),s.location_ids&&a.location_ids&&(0,Kl.jsx)(Cve.Z,{variant:"outlined",error:!0,id:"err-location-type-ids",children:a.location_ids})]})]}):null})),Aye=bye,mye=function(e){var t=e.notification,n=e.handleChange,r=Fc().clinic;return(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(Jb,{}),null===t||void 0===t?void 0:t.send_copy_to_admins,(0,Kl.jsx)(oS.Z,{control:(0,Kl.jsx)(kk.Z,{size:"small",name:"send_copy_to_admins",checked:null===t||void 0===t?void 0:t.send_copy_to_admins,onChange:n}),label:(0,Kl.jsx)(kl.Z,{variant:"body2",children:"Send copy to clinic admins"})}),(null===t||void 0===t?void 0:t.send_copy_to_admins)&&(0,Kl.jsx)(AJ.Z,{variant:"outlined",size:"small",fullWidth:!0,children:(0,Kl.jsx)(LE.Z,{multiple:!0,id:"bcc_emails",value:null===t||void 0===t?void 0:t.bcc_emails,onChange:n,name:"bcc_emails",renderValue:function(e){return e.join(", ")},children:r.adminEmails.map((function(e){return(0,Kl.jsxs)(xd.Z,{value:e,children:[(0,Kl.jsx)(kk.Z,{checked:null===t||void 0===t?void 0:t.bcc_emails.includes(e)}),(0,Kl.jsx)(Hte,{primary:e})]},"bcc_".concat(e))}))})})]})},gye=function(e){var t,n,r,o=e.isOpen,i=e.onClose,a=e.notification,s=e.handleChange,l=e.setFieldValue,c=e.channel,u=e.touched,d=e.errors,p=e.selectedTrigger,f=Fc().notificationsStore;return(0,Kl.jsx)(op,{open:o,onClose:i,anchor:"right",className:aye,children:(0,Kl.jsxs)(Cb,{className:dye,children:[(0,Kl.jsxs)(AC,{container:!0,justifyContent:"space-between",alignItems:"center",className:sye,children:[(0,Kl.jsx)(AC,{item:!0,xs:"auto",children:(0,Kl.jsx)(kl.Z,{variant:"subtitle1",children:"Notification Settings"})}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(wd.Z,{onClick:i,size:"small",children:(0,Kl.jsx)(pye.Z,{})})})]}),(0,Kl.jsx)(mve,{value:a.name,onChange:function(e){return l("name",e.target.value)},placeholder:"Notification name",editText:"Edit notification name",pleaseEnterText:"Please enter name"}),(null===u||void 0===u?void 0:u.name)&&(null===d||void 0===d?void 0:d.name)&&(0,Kl.jsx)(Cve.Z,{variant:"outlined",error:!0,id:"err-name",children:d.name}),(0,Kl.jsx)(Jb,{}),(0,Kl.jsx)(kl.Z,{variant:"body2",className:lye,children:(0,Kl.jsx)("label",{htmlFor:"trigger_id",children:"Trigger"})}),(0,Kl.jsxs)(AJ.Z,{variant:"outlined",size:"small",fullWidth:!0,children:[(0,Kl.jsx)(LE.Z,{disabled:!(null===a||void 0===a||!a.id),id:"trigger_id",value:a.trigger_id,onChange:function(e){s(e),l("trigger_type",f.triggers.find((function(t){return t.id===e.target.value})).possible_types[0])},name:"trigger_id",children:f.triggers.map((function(e){return(0,Kl.jsx)(xd.Z,{value:e.id,children:e.name},"trigger_".concat(e.id))}))}),(null===u||void 0===u?void 0:u.trigger_id)&&(null===d||void 0===d?void 0:d.trigger_id)&&(0,Kl.jsx)(Cve.Z,{variant:"outlined",error:!0,id:"err-trigger-id",children:d.trigger_id})]}),(0,Kl.jsx)(Jb,{}),(0,Kl.jsxs)(AC,{container:!0,justifyContent:"space-between",alignItems:"center",className:lye,children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(kl.Z,{variant:"body2",children:(0,Kl.jsx)("label",{htmlFor:"trigger_id",children:"When to send"})})}),((null===a||void 0===a?void 0:a.trigger_type)!==lA||(null===p||void 0===p||null===(t=p.possible_types)||void 0===t?void 0:t.length)>1)&&(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(oS.Z,{control:(0,Kl.jsx)(kk.Z,{size:"small",name:"is_instant",checked:null===a||void 0===a?void 0:a.is_instant,onChange:s}),label:(0,Kl.jsx)(kl.Z,{variant:"body2",children:"Send immediately"})})})]}),!(null!==a&&void 0!==a&&a.is_instant)&&(0,Kl.jsxs)(AC,{container:!0,className:cye,children:[(0,Kl.jsx)(AC,{item:!0,xs:4,children:(0,Kl.jsx)(LE.Z,{fullWidth:!0,variant:"outlined",id:"trigger_type",value:a.trigger_type,onChange:s,name:"trigger_type",disabled:(null===p||void 0===p?void 0:p.possible_types.length)<2,children:null===p||void 0===p?void 0:p.possible_types.map((function(e){return(0,Kl.jsx)(xd.Z,{className:uye,value:e,children:e},"tt_".concat(e))}))})}),(0,Kl.jsx)(AC,{item:!0,xs:4,children:(0,Kl.jsx)(Wu.Z,{fullWidth:!0,variant:"outlined",value:null===a||void 0===a||null===(n=a.time_interval)||void 0===n?void 0:n.value,name:"time_interval.value",id:"time_interval.value",onChange:s,size:"small"})}),(0,Kl.jsx)(AC,{item:!0,xs:4,children:(0,Kl.jsx)(LE.Z,{fullWidth:!0,variant:"outlined",id:"time_interval.unit",value:null===a||void 0===a||null===(r=a.time_interval)||void 0===r?void 0:r.unit,onChange:s,name:"time_interval.unit",children:zye.map((function(e){return(0,Kl.jsx)(xd.Z,{className:uye,value:e,children:e},"tiu_".concat(e))}))})})]}),(null===u||void 0===u?void 0:u.trigger_type)&&(null===d||void 0===d?void 0:d.trigger_type)||(null===u||void 0===u?void 0:u.time_interval)&&(null===d||void 0===d?void 0:d.time_interval)&&(0,Kl.jsx)(Cve.Z,{variant:"outlined",error:!0,id:"err-trigger-type-interval",children:d.trigger_type||d.time_interval}),(0,Kl.jsx)(hye,{selectedTrigger:p,setFieldValue:l,notification:a,errors:d,touched:u}),(0,Kl.jsx)(Aye,{selectedTrigger:p,setFieldValue:l,notification:a,errors:d,touched:u}),(null===p||void 0===p?void 0:p.available_filters.includes("treatmentTypes"))&&(0,Kl.jsx)(eye,{fieldName:"treatment_type_ids",value:null===a||void 0===a?void 0:a.treatment_type_ids,touched:u,errors:d,onChange:function(e){l("treatment_type_ids",e)}}),c===oA&&(0,Kl.jsx)(mye,{notification:a,handleChange:s}),(0,Kl.jsx)(Cb,{display:"flex",justifyContent:"flex-end",mt:2,children:(0,Kl.jsx)(zd.Z,{type:"submit",variant:"contained",color:"primary",form:"notification-form",children:"Save"})})]})})},vye=__webpack_require__(37341),yye=function(t){var n=t.onSelect,r=t.triggerId,o=t.channel,i=t.useFor,a=Fc().notificationsStore,s=(0,e.useMemo)((function(){var e,t=null===(e=a.triggers.find((function(e){return e.id===r})))||void 0===e?void 0:e.placeholders;return t?t.map((function(e){return{category:e.category,placeholders:e.placeholders.filter((function(e){return e.for.includes(i)&&e.channels.includes(o)}))}})):[]}),[a.triggers,r]);return(0,Kl.jsx)(Eve,{onSelect:n,placeholderCategories:s})},Mye=function(t){var r=t.setFieldValue,o=t.handleChange,i=t.values,a=t.touched,s=t.errors,l=Fc().notificationsStore,c=function(e){var t=xve()(e),n=iL.ContentState.createFromBlockArray(t.contentBlocks);return iL.EditorState.createWithContent(n)},u=(0,e.useState)(i.message?c(i.message):iL.EditorState.createEmpty()),d=(0,n.Z)(u,2),p=d[0],f=d[1],h=(0,e.useCallback)((function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=null===(t=l.triggers.find((function(t){return t.id===e})))||void 0===t?void 0:t.defaults[oA];o&&(r("message",o.message),f(c(o.message)),n||r("subject",o.subject))}),[l.triggers]);return(0,e.useEffect)((function(){i.id||h(i.trigger_id)}),[i.trigger_id,i.id]),(0,e.useEffect)((function(){i.id&&f(c(i.message))}),[i.id]),(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(jve,{fieldName:"subject",placeholder:"Subject",value:i.subject,setFieldValue:r,handleChange:o,touched:a,errors:s,placeholderSelector:(0,Kl.jsx)(yye,{triggerId:i.trigger_id,channel:oA,useFor:aA})}),(0,Kl.jsxs)(Cb,{children:[(0,Kl.jsxs)(AC,{container:!0,justifyContent:"space-between",alignItems:"center",children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(kl.Z,{variant:"body2",className:oye,children:"Message: "})}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(zd.Z,{variant:"outlined",color:"primary",onClick:function(){return h(i.trigger_id,!0)},children:"Restore Default Message"})})]}),(0,Kl.jsx)(Sve,{editorState:p,setEditorState:f,fieldName:"message",setFieldValue:r,values:i,touched:a,errors:s,placeholderSelector:(0,Kl.jsx)(yye,{triggerId:i.trigger_id,channel:oA,useFor:aA})})]})]})},Oye=function(t){var n=t.setFieldValue,r=t.handleChange,o=t.values,i=t.touched,a=t.errors,s=Fc().notificationsStore,l=(0,e.useCallback)((function(e){var t,r=null===(t=s.triggers.find((function(t){return t.id===e})))||void 0===t?void 0:t.defaults[iA];r&&n("message",r.message)}),[s.triggers]);return(0,e.useEffect)((function(){o.id||l(o.trigger_id)}),[o.trigger_id,o.id]),(0,Kl.jsxs)(Cb,{children:[(0,Kl.jsxs)(AC,{container:!0,justifyContent:"space-between",alignItems:"center",children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(kl.Z,{variant:"body2",className:oye,children:"Message: "})}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(zd.Z,{variant:"outlined",color:"primary",onClick:function(){return l(o.trigger_id)},children:"Restore Default Message"})})]}),(0,Kl.jsx)(Fve,{value:o.message,handleChange:r,errors:a,touched:i,placeholderSelector:(0,Kl.jsx)(yye,{onSelect:function(e){return n("message",o.message+" ".concat(e))},triggerId:o.trigger_id,channel:iA,useFor:aA})})]})},_ye=function(t){var r=t.setIsLoading,o=t.formData,i=t.forCampaign,a=void 0!==i&&i,s=wE(),l=s.isDialogOpen,c=s.openDialog,u=s.closeDialog,d=(0,e.useState)(null),p=(0,n.Z)(d,2),f=p[0],h=p[1],b=function(){r(!0);var e=a?"/v1/settings/marketing-campaign/preview":"/v1/settings/notifications/clinic-notification-trigger/".concat(o.id,"/preview");Re.post(e,o).then((function(e){h(e.data),c()})).finally((function(){r(!1)}))};return(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(zd.Z,{variant:"outlined",color:"primary",onClick:b,children:"Preview"}),(0,Kl.jsxs)(vC,{open:l,onClose:u,maxWidth:"md",fullWidth:!0,scroll:"body",children:[(0,Kl.jsx)(_E,{children:(0,Kl.jsx)("iframe",{src:"data:text/html,"+encodeURIComponent(f),style:{border:"none",width:"100%",height:"80vh"}})}),(0,Kl.jsx)(xE,{children:(0,Kl.jsxs)(AC,{container:!0,justifyContent:"space-between",alignItems:"center",children:[(0,Kl.jsx)(zd.Z,{color:"primary",variant:"outlined",onClick:u,children:"Close"}),(0,Kl.jsx)(kl.Z,{variant:"h6",children:"This preview is generated with random data"}),(0,Kl.jsx)(zd.Z,{color:"primary",variant:"contained",onClick:b,children:"Refresh Preview"})]})})]})]})},zye=["minutes","hours","days","months"],xye=function(t){var r=t.channel,o=t.notification,i=t.isNew,a=t.recipient,s=t.fetchNotifications,l=t.isLoading,c=t.setIsLoading,u=Fc().notificationsStore,d=wE(),p=d.isDialogOpen,f=d.openDialog,h=d.closeDialog,b=hE().enqueueSnackbar,A=he(),m=(0,e.useState)(!1),g=(0,n.Z)(m,2),v=g[0],y=g[1],M=function(){return y(!0)},O=function(){return y(!1)},_=(0,e.useMemo)((function(){return o?o.name:"Create new notification"}),[o]),z=(0,e.useCallback)((function(){var e={unit:zye[0],value:5};return null!==o&&void 0!==o&&o.id?Us(Us({},o),{},{trigger_id:o.trigger.id,time_interval:(null===o||void 0===o?void 0:o.time_interval)||e,staff_ids:(null===o||void 0===o?void 0:o.staff_ids)||[],treatment_type_ids:(null===o||void 0===o?void 0:o.treatment_type_ids)||[],location_ids:(null===o||void 0===o?void 0:o.location_ids)||[],bcc_emails:(null===o||void 0===o?void 0:o.bcc_emails)||[]}):{trigger_id:"",message:"",subject:"",name:"New Notification",trigger_type:"",time_interval:e,staff_ids:[],treatment_type_ids:[],location_ids:[],is_instant:!1,send_copy_to_admins:!1,bcc_emails:[],recipient:a,channel:r,is_active:!1}}),[o,u.triggers]),x=["name","trigger_id","time_interval","treatment_type_ids","location_ids","staff_ids","bcc_emails"],w=Xj({enableReinitialize:!0,initialValues:z(),validationSchema:jk.object().shape({name:jk.string().trim().required("Name is required"),subject:r===oA?jk.string().trim().required("Subject is required"):null,message:jk.string().trim().required("Message is required"),trigger_id:jk.number().required("Trigger Type is required"),treatment_type_ids:jk.array().when("trigger_id",{is:function(e){return e===u.triggers.find((function(e){return"appointment_rebooking_reminder_trigger"===e.slug})).id},then:jk.array().min(1,"At least 1 treatment type is required for the selected trigger").required("This filter is required for the selected trigger")})}),onSubmit:function(e){var t=Us(Us({},e),{},{time_interval:e.is_instant?[]:e.time_interval,treatment_type_ids:e.treatment_type_ids.length?e.treatment_type_ids:null,location_ids:e.location_ids.length?e.location_ids:null,staff_ids:e.staff_ids.length?e.staff_ids:null});(r!==oA&&(delete t.send_copy_to_admins,delete t.bcc_emails),l)||(c(!0),(e.id?Re.put("/v1/settings/notifications/clinic-notification-trigger/".concat(e.id),t):Re.post("/v1/settings/notifications/clinic-notification-trigger",t)).then((function(e){s(),O(),i&&A("/notifications/".concat(r))})).catch((function(e){T(e.errors),b(e.message,{variant:"error"})})).finally((function(){c(!1)})))}}),C=w.handleSubmit,S=w.values,E=w.touched,k=w.errors,D=w.handleChange,N=w.setFieldValue,T=w.setErrors,j=w.isSubmitting,B=(0,e.useMemo)((function(){return u.triggers.find((function(e){return e.id===S.trigger_id}))}),[null===u||void 0===u?void 0:u.triggers,S.trigger_id]),L=(0,e.useCallback)((function(){l||(c(!0),Re.delete("/v1/settings/notifications/clinic-notification-trigger/".concat(o.id)).then((function(e){s(),O()})).finally((function(){c(!1)})))}),[null===o||void 0===o?void 0:o.id]);return(0,e.useEffect)((function(){i&&M()}),[i]),(0,e.useEffect)((function(){var e=k&&Object.keys(k)||[];e.length>0&&e.some((function(e){return x.includes(e)}))&&M()}),[k,j]),(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsxs)("div",{className:nye,children:[(0,Kl.jsxs)(AC,{container:!0,justifyContent:"space-between",alignItems:"center",children:[(0,Kl.jsx)(AC,{item:!0,xs:"auto",children:(0,Kl.jsxs)(kl.Z,{variant:"subtitle1",className:rye,children:[_,B&&(0,Kl.jsxs)("span",{children:["Trigger type: ",B.name]})]})}),(0,Kl.jsxs)(AC,{item:!0,children:[(0,Kl.jsx)(wd.Z,{onClick:M,size:"small",children:(0,Kl.jsx)(vye.Z,{})}),(null===o||void 0===o?void 0:o.id)&&(0,Kl.jsx)(wd.Z,{onClick:f,size:"small",children:(0,Kl.jsx)(HE.Z,{})})]})]}),(0,Kl.jsxs)("form",{noValidate:!0,id:"notification-form",onSubmit:C,children:[r===oA&&(0,Kl.jsx)(Mye,{setFieldValue:N,handleChange:D,values:S,touched:E,errors:k}),r===iA&&(0,Kl.jsx)(Oye,{setFieldValue:N,handleChange:D,values:S,touched:E,errors:k}),(0,Kl.jsxs)(AC,{container:!0,justifyContent:S.id?"space-between":"flex-end",className:iye,children:[S.id&&(0,Kl.jsxs)(AC,{container:!0,item:!0,xs:6,spacing:2,children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(_ye,{setIsLoading:c,formData:S})}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(qve,{isLoading:l,setIsLoading:c,formData:S,channel:r})})]}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(zd.Z,{type:"submit",variant:"contained",color:"primary",children:"Save Template"})})]})]}),(0,Kl.jsx)(gye,{isOpen:v,onClose:O,notification:S,handleChange:D,setFieldValue:N,channel:r,touched:E,errors:k,selectedTrigger:B})]}),(0,Kl.jsx)(Kie,{isOpen:p,onClose:h,onDeleteConfirm:L,text:"Are you sure you want to delete this notification?"})]})},wye=function(t){var n,r,o,i,a=t.values,s=t.handleChange,l=t.setFieldValue,c=t.fields,u=t.fieldIndex,d=t.errors,p="audiences.".concat(u,".data.time_interval.").concat(c[0]),f="audiences.".concat(u,".data.time_interval.").concat(c[1]),h=(0,e.useMemo)((function(){var e,t;return null===a||void 0===a||null===(e=a.audiences[u])||void 0===e||null===(t=e.data)||void 0===t?void 0:t.time_interval[c[0]]}),[a]),b=(0,e.useMemo)((function(){var e,t;return null===a||void 0===a||null===(e=a.audiences[u])||void 0===e||null===(t=e.data)||void 0===t?void 0:t.time_interval[c[1]]}),[a]);return(0,e.useEffect)((function(){l(p,h||"5"),l(f,b||zye[0])}),[]),(0,Kl.jsxs)(AC,{container:!0,className:"".concat(Vve," ").concat(Qve),children:[(0,Kl.jsxs)(AC,{item:!0,xs:12,className:Yve,children:[!!d[p]&&(0,Kl.jsx)("p",{children:d[p]}),!!d[f]&&(0,Kl.jsx)("p",{children:d[f]})]}),(0,Kl.jsx)(AC,{item:!0,xs:6,children:(0,Kl.jsx)(Wu.Z,{id:p,name:p,fullWidth:!0,variant:"outlined",size:"small",value:(null===a||void 0===a||null===(n=a.audiences[u])||void 0===n||null===(r=n.data)||void 0===r?void 0:r.time_interval[c[0]])||"",onChange:s})}),(0,Kl.jsx)(AC,{item:!0,xs:6,children:(0,Kl.jsx)(LE.Z,{className:Xve,fullWidth:!0,variant:"outlined",id:f,name:f,value:(null===a||void 0===a||null===(o=a.audiences[u])||void 0===o||null===(i=o.data)||void 0===i?void 0:i.time_interval[c[1]])||zye[0],onChange:s,children:zye.map((function(e){return(0,Kl.jsx)(xd.Z,{className:Xve,value:e,children:e},"tiu_".concat(e))}))})})]})},Cye=function(t){var n=t.values,r=t.handleChange,o=t.setFieldValue,i=t.fields,a=t.fieldIndex,s=t.errors,l="audiences.".concat(a,".data.range.").concat(i[0]),c="audiences.".concat(a,".data.range.").concat(i[1]),u=(0,e.useMemo)((function(){var e,t;return null===n||void 0===n||null===(e=n.audiences[a])||void 0===e||null===(t=e.data)||void 0===t?void 0:t.range[i[0]]}),[n]),d=(0,e.useMemo)((function(){var e,t;return null===n||void 0===n||null===(e=n.audiences[a])||void 0===e||null===(t=e.data)||void 0===t?void 0:t.range[i[1]]}),[n]);return(0,e.useEffect)((function(){o(l,u||""),o(c,d||"")}),[]),(0,Kl.jsxs)(AC,{container:!0,justifyContent:"space-between",className:Vve,spacing:2,children:[(0,Kl.jsxs)(AC,{item:!0,xs:12,className:Yve,children:[!!s[l]&&(0,Kl.jsx)("p",{children:s[l]}),!!s[c]&&(0,Kl.jsx)("p",{children:s[c]})]}),(0,Kl.jsx)(AC,{item:!0,xs:6,children:(0,Kl.jsx)(Wu.Z,{defaultValue:u,onChange:r,label:"From",variant:"outlined",id:l,name:l,type:"number",inputProps:{min:1},InputLabelProps:{shrink:!0}})}),(0,Kl.jsx)(AC,{item:!0,xs:6,children:(0,Kl.jsx)(Wu.Z,{defaultValue:d,onChange:r,label:"To",variant:"outlined",id:c,name:c,type:"number",inputProps:{min:1},InputLabelProps:{shrink:!0}})})]})},Sye=function(t){var n,r,o=t.values,i=t.setFieldValue,a=t.fieldIndex,s=t.errors,l="audiences.".concat(a,".data.genders"),c=(0,e.useMemo)((function(){var e,t;return null===o||void 0===o||null===(e=o.audiences[a])||void 0===e||null===(t=e.data)||void 0===t?void 0:t.genders}),[o]);return(0,e.useEffect)((function(){i(l,c||[])}),[]),(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)("div",{className:Yve,children:!!s[l]&&(0,Kl.jsx)("p",{children:s[l]})}),(0,Kl.jsx)($ve,{value:(null===o||void 0===o||null===(n=o.audiences[a])||void 0===n||null===(r=n.data)||void 0===r?void 0:r.genders)||[],fieldName:l,options:[{value:"male",name:"Male"},{value:"female",name:"Female"},{value:"other",name:"Other"}],onChangeValue:function(e){i(l,e)},label:"Gender"})]})},Eye=function(t){var r=t.audience,o=t.setErrors,i=t.setIsLoading,a=wE(),s=a.isDialogOpen,l=a.openDialog,c=a.closeDialog,u=hE().enqueueSnackbar,d=[10,25,100],p=(0,e.useState)([]),f=(0,n.Z)(p,2),h=f[0],b=f[1],A=(0,e.useState)(0),m=(0,n.Z)(A,2),g=m[0],v=m[1],y=(0,e.useState)(d[0]),M=(0,n.Z)(y,2),O=M[0],_=M[1],z=(0,e.useMemo)((function(){return h.slice(g*O,g*O+O)}),[h,g,O]);return(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(zd.Z,{size:"small",onClick:function(){i(!0),Re.post("/v1/settings/marketing-campaign/preview-audiences",{audiences:[r]}).then((function(e){var t,n=e.data;b(null===n||void 0===n||null===(t=n.data[0])||void 0===t?void 0:t.patients),l()})).catch((function(e){c(),o(e.errors),u(e.message,{variant:"error"})})).finally((function(){return i(!1)}))},children:"Preview patients"}),(0,Kl.jsxs)(vC,{open:s,onClose:c,maxWidth:h.length?"xl":"sm",fullWidth:!0,children:[(0,Kl.jsx)(_E,{children:h.length?(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsxs)(kl.Z,{variant:"h6",align:"center",children:["This is an approximate list of users and it may vary at the time of campaign launch.",(0,Kl.jsx)("br",{}),(0,Kl.jsxs)("strong",{children:["Total recipients count: ",h.length]})]}),(0,Kl.jsxs)(G4,{children:[(0,Kl.jsxs)(t5,{size:"small",children:[(0,Kl.jsx)(a5,{children:(0,Kl.jsxs)(l5,{children:[(0,Kl.jsx)(c5.Z,{variant:"head",style:{width:"30%"},children:"Name"}),(0,Kl.jsx)(c5.Z,{variant:"head",style:{width:"30%"},children:"Email"}),(0,Kl.jsx)(c5.Z,{variant:"head",children:"Phone"}),(0,Kl.jsx)(c5.Z,{variant:"head",children:"Date of birth"})]})}),(0,Kl.jsx)(f5,{children:z.map((function(e){return(0,Kl.jsxs)(l5,{children:[(0,Kl.jsx)(c5.Z,{children:e.full_name}),(0,Kl.jsx)(c5.Z,{children:e.email}),(0,Kl.jsx)(c5.Z,{children:e.phone}),(0,Kl.jsx)(c5.Z,{children:Vs()(e.date_of_birth).format("YYYY-MM-DD")})]},"p-".concat(e.id))}))})]}),(0,Kl.jsx)(Qie.Z,{rowsPerPageOptions:d,component:"div",count:h.length,rowsPerPage:O,page:g,onPageChange:function(e,t){v(t)},onRowsPerPageChange:function(e){_(+e.target.value),v(0)}})]})]}):(0,Kl.jsx)(kl.Z,{variant:"subtitle1",align:"center",children:"None of the patients fall into the selected audience."})}),(0,Kl.jsx)(xE,{children:(0,Kl.jsx)(zd.Z,{variant:"outlined",onClick:c,children:"Close"})})]})]})},kye=__webpack_require__(43746),Dye=function(t){var r=t.audiences,o=t.setErrors,i=(0,e.useState)(!1),a=(0,n.Z)(i,2),s=a[0],l=a[1],c=(0,e.useState)(null),u=(0,n.Z)(c,2),d=u[0],p=u[1],f=(0,e.useCallback)((function(){s||(l(!0),Re.post("/v1/settings/marketing-campaign/audiences-patients-total-count",{audiences:r}).then((function(e){var t=e.data;return p(null===t||void 0===t?void 0:t.totalCount)})).catch((function(e){o(e.errors),p(null)})).finally((function(){return l(!1)})))}),[r]);return null!==r&&void 0!==r&&r.length?null!==d?(0,Kl.jsxs)(kl.Z,{variant:"subtitle2",color:"primary",style:{alignItems:"center"},children:["Patients count: ",d,(0,Kl.jsx)(Ow.ZP,{title:"Refresh patients count",children:(0,Kl.jsx)(wd.Z,{onClick:f,size:"small",color:"primary",disabled:s,children:s?(0,Kl.jsx)(Gh.Z,{size:24}):(0,Kl.jsx)(kye.Z,{})})})]}):(0,Kl.jsx)(zd.Z,{startIcon:s?(0,Kl.jsx)(Gh.Z,{size:15}):null,disabled:s,onClick:f,variant:"outlined",size:"small",color:"primary",children:"Get patients count"}):null},Nye=$l((function(t){var n,r=t.values,o=t.handleChange,i=t.setFieldValue,a=t.errors,s=t.setErrors,l=t.setIsLoading,c=Fc().notificationsStore,u=function(e){return e.charAt(0).toUpperCase()+e.slice(1).replaceAll("_"," ")},d=(0,e.useCallback)((function(){return null===c||void 0===c?void 0:c.audiences.map((function(e){var t=u(e.slug);return"all"===e.slug?t="All patients (only opted-in)":"allPatientsIgnoreOptIn"===e.slug&&(t="All Patients (ignore opt-in status)"),{value:e.slug,name:t}}))}),[null===c||void 0===c?void 0:c.audiences]),p=(0,e.useCallback)((function(e){return r.audiences.findIndex((function(t){return t.slug===e}))}),[r.audiences]);return(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsxs)(kl.Z,{variant:"body2",className:vve,style:{justifyContent:"space-between"},children:[(0,Kl.jsx)("label",{htmlFor:"audiences",children:"Audience"}),(0,Kl.jsx)(Dye,{audiences:r.audiences,setErrors:s})]}),(0,Kl.jsx)(AJ.Z,{variant:"outlined",size:"small",fullWidth:!0,children:(0,Kl.jsx)($ve,{fieldName:"audience_slugs",value:r.audience_slugs,options:d(),onChangeValue:function(e){var t=r.audiences;t.forEach((function(n,r){e.includes(n.slug)||t.splice(r,1)})),e.forEach((function(e){-1===p(e)&&t.push({slug:e})})),i("audience_slugs",e),i("audiences",t)}})}),!(null===(n=r.audience_slugs)||void 0===n||!n.length)&&!(1===r.audience_slugs.length&&"all"===r.audience_slugs[0])&&(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(Jb,{}),(0,Kl.jsx)(kl.Z,{variant:"body2",className:vve,children:"Audience filters"}),r.audience_slugs.map((function(e){if("all"!==e&&"allPatientsIgnoreOptIn"!==e){var t=null===c||void 0===c?void 0:c.audiences.find((function(t){return t.slug===e})),n=p(e);return(0,Kl.jsxs)("div",{style:{marginBottom:"10px"},children:[(0,Kl.jsx)(Jb,{}),(0,Kl.jsxs)(kl.Z,{variant:"body2",className:vve,style:{justifyContent:"space-between"},children:[u(e),(0,Kl.jsx)(Eye,{audience:r.audiences.find((function(t){return t.slug===e})),setErrors:s,setIsLoading:l})]}),null===t||void 0===t?void 0:t.filters.map((function(e){var s="af-".concat(t.slug,"-").concat(e.type,"-").concat(n);switch(e.type){case"date_range":return(0,Kl.jsx)(Gve,{values:r,handleChange:o,setFieldValue:i,fieldIndex:n,fields:e.fields,errors:a},s);case"treatment_type_ids":return(0,Kl.jsx)(tye,{values:r,handleChange:o,setFieldValue:i,fieldIndex:n,errors:a},s);case"time_interval":return(0,Kl.jsx)(wye,{values:r,handleChange:o,setFieldValue:i,fieldIndex:n,fields:e.fields,errors:a},s);case"range":return(0,Kl.jsx)(Cye,{values:r,handleChange:o,setFieldValue:i,fieldIndex:n,fields:e.fields,errors:a},s);case"genders":return(0,Kl.jsx)(Sye,{values:r,setFieldValue:i,fieldIndex:n,errors:a},s)}}))]},"a-".concat(e))}}))]})]})})),Tye=Nye,jye=function(){var t=Fc().notificationsStore;return(0,e.useEffect)((function(){var e,r;null!==t&&void 0!==t&&null!==(e=t.placeholders)&&void 0!==e&&e.length&&null!==t&&void 0!==t&&null!==(r=t.audiences)&&void 0!==r&&r.length||Re.get("/v1/settings/marketing-campaign/common-data").then((function(e){var r=e.data;t.setAudiences(Object.entries(r.audiences).map((function(e){var t=(0,n.Z)(e,2);return{slug:t[0],filters:t[1]}}))),t.setCampaignPlaceholders(r.placeholders)}))}),[])},Bye=__webpack_require__(25162),Lye="attachments_label__5aTnj",Rye="attachments_attachmentHeading__yrWRi",qye="attachments_attachmentWrap__+Z+zD",Pye="attachments_deleteButton__GY9Va",Iye="attachments_icon__PoWW8",Wye="attachments_title__uQsO7",Fye=function(t){var n=t.values,r=t.setFieldValue,o=(0,e.useRef)(null),i=(0,e.useMemo)((function(){var e;return null!==n&&void 0!==n&&null!==(e=n.attachments)&&void 0!==e&&e.length?null===n||void 0===n?void 0:n.attachments[0]:null}),[n]);return(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(Jb,{}),(0,Kl.jsxs)(AC,{container:!0,justifyContent:"space-between",className:Rye,children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(kl.Z,{variant:"body2",className:Lye,children:(0,Kl.jsx)("label",{htmlFor:"from_name",children:"Attachments"})})}),(0,Kl.jsx)(AC,{item:!0,children:i&&(0,Kl.jsxs)(kl.Z,{variant:"body2",className:Lye,children:["Size: ",(i.size/Math.pow(1024,2)).toFixed(2),"MB"]})})]}),(0,Kl.jsxs)(AC,{container:!0,justifyContent:"space-between",alignItems:"center",children:[(0,Kl.jsx)(AC,{item:!0,xs:6,children:(0,Kl.jsx)(zd.Z,{variant:"outlined",color:"primary",size:"small",onClick:function(){o.current.click()},children:"Choose File"})}),(0,Kl.jsx)(AC,{item:!0,className:qye,children:i&&(0,Kl.jsxs)(Cb,{display:"flex",flexDirection:"column",alignItems:"center",children:[(0,Kl.jsx)(wd.Z,{onClick:function(){r("attachments",[])},size:"small",className:Pye,children:(0,Kl.jsx)(j3.Z,{})}),(0,Kl.jsx)(Bye.Z,{className:Iye,color:"primary"}),(0,Kl.jsx)("span",{className:Wye,children:(null===i||void 0===i?void 0:i.name)||(null===i||void 0===i?void 0:i.original_name)})]})})]}),(0,Kl.jsx)("input",{type:"file",ref:o,style:{display:"none"},onChange:function(e){r("attachments",[e.currentTarget.files[0]])}})]})},Uye=$l((function(){var t,r;jye();var o=Fc(),i=o.notificationsStore,a=o.clinic,s=he(),l=me().id,c=hE().enqueueSnackbar,u=(0,e.useState)(!1),d=(0,n.Z)(u,2),p=d[0],f=d[1],h=wE(),b=h.isDialogOpen,A=h.openDialog,m=h.closeDialog,g=Xj({enableReinitialize:!0,initialValues:{name:l?"":"New Campaign",channel:rae,subject:"",message:"",audience_slugs:null,audiences:null,reply_to:null===a||void 0===a||null===(t=a.email_notifications_settings)||void 0===t?void 0:t.reply_to,from_name:null===a||void 0===a||null===(r=a.email_notifications_settings)||void 0===r?void 0:r.sender_name,scheduled_at:"",attachments:[],send_immediately:!1},validationSchema:jk.object().shape({name:jk.string().trim().required("Name is required"),reply_to:jk.string().email("Should be valid email").nullable(),from_name:jk.string().trim().required("Sender name is required").typeError("Sender name is required"),message:jk.string().trim().required("Message is required"),subject:jk.string().nullable().when("channel",{is:function(e){return e===rae},then:jk.string().trim().required("Subject is required")})})}),v=g.values,y=g.touched,M=g.errors,O=g.handleChange,_=g.setFieldValue,z=g.setErrors,x=g.setFieldTouched,w=g.setFieldError,C=g.setValues,S=g.validateForm,E=g.isValid,k=(0,e.useCallback)((function(e){var t,n;if(!p){f(!0);var r=Us({},v);if(r.channel===oae?(delete r.attachments,delete r.subject):null!==r&&void 0!==r&&null!==(t=r.attachments[0])&&void 0!==t&&t.id&&delete r.attachments,null===r||void 0===r||!r.scheduled_at||null!==e&&void 0!==e&&e.draft?r.scheduled_at=null:r.scheduled_at=Vs()(r.scheduled_at).utc().format(pae),null!==r&&void 0!==r&&null!==(n=r.attachments)&&void 0!==n&&n.length){var o=new FormData;o.append("attachments[]",r.attachments[0]),Re.post("/v1/settings/marketing-campaign/upload-attachments",o,{headers:{"Content-Type":"multipart/form-data"}}).then((function(t){var n=t.data;N(Us(Us({},r),{},{attachments:n.data.map((function(e){return e.id}))}),null===e||void 0===e?void 0:e.immediately)})).catch((function(e){f(!1),c(e.message,{variant:"error"})})).finally((function(){return m()}))}else N(r,null===e||void 0===e?void 0:e.immediately)}}),[v,p]),D=(0,e.useCallback)((function(e){Re.post("/v1/settings/marketing-campaign/".concat(e,"/send-immediately")).then((function(e){e.data;c("Campaign will be processed soon",{variant:"success"}),s("/notifications/marketing-campaigns")})).catch((function(e){f(!1),m(),c(e.message,{variant:"error"})}))}),[]),N=(0,e.useCallback)((function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(l?Re.put("v1/settings/marketing-campaign/".concat(l),e):Re.post("v1/settings/marketing-campaign",e)).then((function(e){var n=e.data;if(c("Saved successfully",{variant:"success"}),t)return D(n.data.id);s("/notifications/marketing-campaigns")})).catch((function(e){z(e.errors),c(e.message,{variant:"error"})})).finally((function(){f(!1),m()}))}),[l]),T=(0,e.useCallback)((function(){Re.get("v1/settings/marketing-campaign/".concat(l)).then((function(e){var t,n=e.data;C(Us(Us({},n.data),{},{audiences:n.data.audiences||[],audience_slugs:null!==(t=n.data.audiences)&&void 0!==t&&t.length?n.data.audiences.map((function(e){return e.slug})):[],scheduled_at:n.data.scheduled_at?Vs().utc(n.data.scheduled_at,pae).local().format(pae):"",send_immediately:n.data.send_immediately||!1}))})).finally((function(){return f(!1)}))}),[l]),j=(0,e.useCallback)((function(e){return _("message",v.message+" ".concat(e))}),[null===v||void 0===v?void 0:v.message]);(0,e.useEffect)((function(){l?T():(_("audiences",[]),_("audience_slugs",[]))}),[]),(0,e.useEffect)((function(){return v.channel===oae&&_("message",v.message.replace(/<[^>]*>/g,"")),i.setSmsHeaderNumberType((null===v||void 0===v?void 0:v.channel)===iA?nA:null),function(){return i.setSmsHeaderNumberType(null)}}),[v.channel]);var B=(0,e.useMemo)((function(){return!!v.status&&!uae.includes(v.status)}),[v]),L=function(e){S().then((function(t){if(E)k(e);else for(var n in t)w(n,t[n]),x(n),m()}))};return l&&!v.id?null:(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)("form",{noValidate:!0,id:"campaign-form",children:(0,Kl.jsxs)(AC,{container:!0,spacing:2,className:gve,children:[(0,Kl.jsx)(AC,{item:!0,xs:3,children:(0,Kl.jsxs)(Kd.Z,{children:[(0,Kl.jsx)(kl.Z,{variant:"subtitle1",children:"Campaign Settings"}),(0,Kl.jsx)(mve,{value:v.name,onChange:function(e){return _("name",e.target.value)},placeholder:"Campaign name",editText:"Edit campaign name",pleaseEnterText:"Please enter name"}),(0,Kl.jsx)(Jb,{}),(0,Kl.jsxs)(AC,{container:!0,justifyContent:"space-between",alignItems:"center",className:vve,children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(kl.Z,{variant:"body2",children:(0,Kl.jsx)("label",{htmlFor:"trigger_id",children:"Campaign Type"})})}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsxs)(bve,{size:"small",className:yve,disabled:!!v.id,children:[(0,Kl.jsx)(zd.Z,{variant:v.channel===rae?"contained":"outlined",onClick:function(){return _("channel",rae)},color:v.channel===rae?"primary":"",children:rae}),(0,Kl.jsx)(zd.Z,{disabled:!a.sms_notifications_enabled,variant:v.channel===oae?"contained":"outlined",onClick:function(){return _("channel",oae)},color:v.channel===oae?"primary":"",children:oae})]})})]}),(0,Kl.jsx)(Jb,{}),(0,Kl.jsxs)(AC,{container:!0,justifyContent:"space-between",alignItems:"center",className:vve,children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(kl.Z,{variant:"body2",children:(0,Kl.jsx)("label",{htmlFor:"scheduled_at",children:"Scheduled at"})})}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(oS.Z,{control:(0,Kl.jsx)(kk.Z,{size:"small",name:"send_immediately",checked:null===v||void 0===v?void 0:v.send_immediately,onChange:O}),label:(0,Kl.jsx)(kl.Z,{variant:"body2",children:"Send immediately"})})})]}),!v.send_immediately&&(0,Kl.jsx)(Wu.Z,{value:v.scheduled_at||"",fullWidth:!0,name:"scheduled_at",onChange:O,variant:"outlined",type:"datetime-local",InputLabelProps:{shrink:!0},error:!(null===M||void 0===M||!M.scheduled_at),helperText:(null===M||void 0===M?void 0:M.scheduled_at)||""}),v.channel===rae&&(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(Jb,{}),(0,Kl.jsx)(kl.Z,{variant:"body2",className:vve,children:(0,Kl.jsx)("label",{htmlFor:"reply_to",children:"Reply to"})}),(0,Kl.jsx)(AJ.Z,{variant:"outlined",size:"small",fullWidth:!0,children:(0,Kl.jsx)(Wu.Z,{id:"reply_to",value:v.reply_to||"",onChange:O,name:"reply_to",variant:"outlined",error:Boolean((null===y||void 0===y?void 0:y.reply_to)&&(null===M||void 0===M?void 0:M.reply_to)),helperText:null!==y&&void 0!==y&&y.reply_to&&null!==M&&void 0!==M&&M.reply_to?null===M||void 0===M?void 0:M.reply_to:""})})]}),(0,Kl.jsx)(Jb,{}),(0,Kl.jsxs)(kl.Z,{variant:"body2",className:vve,children:[(0,Kl.jsx)("label",{htmlFor:"from_name",children:"Sender name"}),v.channel===rae&&(0,Kl.jsx)(Ow.ZP,{title:"Enter a name (e.g. your company name) to help campaign recipients recognize you in their inbox.",children:(0,Kl.jsx)($te.Z,{fontSize:"small",color:"primary"})}),v.channel===oae&&(0,Kl.jsx)(Ow.ZP,{title:"Enter a personalized name for your sender using up to 11 alphabetic characters or 15 numerical digits.",children:(0,Kl.jsx)($te.Z,{fontSize:"small",color:"primary"})})]}),(0,Kl.jsx)(AJ.Z,{variant:"outlined",size:"small",fullWidth:!0,children:(0,Kl.jsx)(Wu.Z,{id:"from_name",value:v.from_name||"",onChange:O,name:"from_name",variant:"outlined",error:Boolean((null===y||void 0===y?void 0:y.from_name)&&(null===M||void 0===M?void 0:M.from_name)),helperText:null!==y&&void 0!==y&&y.from_name&&null!==M&&void 0!==M&&M.from_name?null===M||void 0===M?void 0:M.from_name:""})}),(0,Kl.jsx)(Jb,{}),v.audience_slugs&&v.audiences&&(0,Kl.jsx)(Tye,{values:v,handleChange:O,setFieldValue:_,errors:M,touched:y,setErrors:z,setIsLoading:f}),v.channel===rae&&(0,Kl.jsx)(Fye,{values:v,setFieldValue:_})]})}),(0,Kl.jsx)(AC,{item:!0,xs:9,children:(0,Kl.jsxs)(Kd.Z,{className:Mve,children:[(0,Kl.jsxs)(AC,{container:!0,justifyContent:"space-between",children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(kl.Z,{variant:"subtitle1",children:"Campaign Content"})}),v.scheduled_at&&(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsxs)(kl.Z,{variant:"subtitle1",children:["Scheduled at ",Vs()(v.scheduled_at).format("YYYY-MM-DD HH:mm:ss")]})})]}),v.channel===oA&&(0,Kl.jsx)(Bve,{setFieldValue:_,handleChange:O,values:v,touched:y,errors:M}),v.channel===iA&&(0,Kl.jsx)(Fve,{value:v.message,handleChange:O,errors:M,touched:y,placeholderSelector:(0,Kl.jsx)(Dve,{channel:oae,useFor:aA,onSelect:j})}),(0,Kl.jsxs)(AC,{container:!0,justifyContent:"space-between",className:Ove,children:[(0,Kl.jsxs)(AC,{container:!0,item:!0,xs:6,spacing:2,children:[v.id&&(0,Kl.jsx)(Kl.Fragment,{children:(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(qve,{isLoading:p,setIsLoading:f,formData:v,channel:v.channel,forCampaign:!0})})}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(_ye,{setIsLoading:f,formData:v,forCampaign:!0})}),v.id&&v.channel===oae&&(0,Kl.jsx)(AC,{item:!0,xs:12,children:(0,Kl.jsx)(kl.Z,{variant:"subtitle2",children:"Please save the campaign first to see the changes in the test SMS."})})]}),(0,Kl.jsxs)(AC,{container:!0,item:!0,xs:6,spacing:2,justifyContent:"flex-end",children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(Ow.ZP,{title:B?dae:"",children:(0,Kl.jsx)("span",{children:(0,Kl.jsx)(zd.Z,{type:"button",variant:"contained",color:"primary",disabled:p||!!B,onClick:function(){return L({draft:!0})},children:"Save as Draft"})})})}),(v.scheduled_at||v.send_immediately)&&(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(Ow.ZP,{title:B?dae:"",children:(0,Kl.jsx)("span",{children:(0,Kl.jsx)(zd.Z,{type:"button",variant:"contained",color:"primary",disabled:p||!!B,onClick:v.send_immediately?A:L,children:v.send_immediately?"Send Campaign":"Schedule Campaign"})})})})]})]})]})})]})}),(0,Kl.jsx)(GE,{isOpen:b,onClose:m,text:"Are you sure you want to send this campaign?",okButtonText:"Send",onConfirm:function(){L({immediately:!0})}}),p&&(0,Kl.jsx)($d,{open:p,style:{zIndex:9999999},children:(0,Kl.jsx)(Gh.Z,{})})]})})),Zye=Uye,Hye="notifications-template_notificationsTabs__KvVqj",$ye="notifications-template_notificationsSidebar__zBmtz",Vye="notifications-template_addButton__TghZB",Xye="notification-button_notificationButton__-kG3l",Qye="notification-button_selected__VppPS",Yye=function(e){var t=e.notification,n=e.selectedNotificationId,r=e.channel,o=e.setNotification,i=he();return(0,Kl.jsx)(zd.Z,{tabIndex:-1,onClick:function(e){"INPUT"!==e.target.tagName?i("/notifications/".concat(r,"/").concat(t.id)):Re.put("/v1/settings/notifications/clinic-notification-trigger/".concat(t.id,"/update-status"),Us(Us({},t),{},{is_active:!t.is_active})).then((function(e){var t=e.data;o(t.data)}))},className:"".concat(Xye," ").concat(n===t.id?Qye:""),variant:"outlined",fullWidth:!0,startIcon:(0,Kl.jsx)(kk.Z,{tabIndex:-1,size:"small",checked:t.is_active}),children:t.name})},Gye=["children","value","index"],Kye=function(e){var t=e.children,n=e.value,r=e.index,o=(0,Uu.Z)(e,Gye);return(0,Kl.jsx)(Cb,Us(Us({role:"tabpanel",hidden:n!==r,id:"notification-tabpanel-".concat(r),"aria-labelledby":"notification-tab-".concat(r)},o),{},{children:n===r?t:null}))},Jye="patient",eMe="staff",tMe=$l((function(t){var r=t.channel,o=t.isNew,i=void 0!==o&&o,a=Fc(),s=a.notificationsStore,l=a.clinic,c=Gb(),u=c.activeTab,d=c.handleTabChange,p=me().id,f=(0,e.useState)([]),h=(0,n.Z)(f,2),b=h[0],A=h[1],m=(0,e.useState)(!1),g=(0,n.Z)(m,2),v=g[0],y=g[1],M=Eu(),O=(0,n.Z)(M,1)[0],_=hE(),z=_.enqueueSnackbar,x=_.closeSnackbar,w=function(e){return(0,Kl.jsx)(wd.Z,{onClick:function(){x(e)},size:"small",children:(0,Kl.jsx)(dB.Z,{})})},C=(0,e.useMemo)((function(){return p?parseInt(p):null}),[p]);(0,e.useEffect)((function(){return s.setSmsHeaderNumberType(r===iA?tA:null),function(){return s.setSmsHeaderNumberType(null)}}),[r]),(0,e.useEffect)((function(){null!==l&&void 0!==l&&l.staff.length||Re.get("/v1/staff",{params:{view:"list",location:"all"}}).then((function(e){var t=e.data;l.setStaff(t.data)}))}),[]);(0,e.useEffect)((function(){Re.get("v1/settings/notifications/triggers").then((function(e){var t=e.data;s.setTriggers(t.data),l.setAdminEmails(t.admin_emails)}))}),[]);var S=(0,e.useCallback)((function(){y(!0),Re.get("/v1/settings/notifications/clinic-notification-trigger",{params:{channel:r}}).then((function(e){var t=e.data;A(one().orderBy(t.data,["id"],["asc"]))})).finally((function(){y(!1)}))}),[r]);(0,e.useEffect)((function(){r===iA&&O.has("success")&&z("Payment has been completed",{action:w,variant:"success",autoHideDuration:18e4,anchorOrigin:{vertical:"top",horizontal:"center"}}),S(),Re.patch("/v1/settings/notifications/clinic-notification-trigger/update-bcc-emails").then((function(e){var t=e.data;A((function(e){return e.map((function(e){var n=e.bcc_emails.filter((function(e){return t.includes(e)}));return Us(Us({},e),{},{bcc_emails:n})}))}))}))}),[r]);var E=(0,e.useMemo)((function(){return b.find((function(e){return e.id===C}))}),[C,b]),k=(0,e.useCallback)((function(e){A(b.map((function(t){return t.id===e.id?Us(Us({},t),{},{is_active:e.is_active}):t})))}),[b]),D=(0,e.useMemo)((function(){switch(u){case 0:return Jye;case 1:return eMe}return null}),[u]),N=(0,e.useMemo)((function(){return b.filter((function(e){return"appointment"===e.trigger.category}))}),[b]),T=(0,e.useMemo)((function(){return b.filter((function(e){return"appointment"!==e.trigger.category}))}),[b]);return r!==iA||l.sms_notifications_enabled?(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsxs)(AC,{container:!0,spacing:2,children:[(0,Kl.jsx)(AC,{item:!0,xs:12,sm:6,md:3,children:(0,Kl.jsxs)(Kd.Z,{children:[(0,Kl.jsx)(Hb,{className:Hye,value:u,onChange:d,indicatorColor:"primary",textColor:"primary",children:(0,Kl.jsx)(Vb,{label:"To Customer"})}),(0,Kl.jsxs)(Cb,{className:$ye,display:"flex",flexDirection:"column",gridGap:"10px",children:[(0,Kl.jsx)(kl.Z,{variant:"subtitle1",children:"Appointment Notifications"}),(0,Kl.jsx)(zd.Z,{className:Vye,tabIndex:-1,fullWidth:!0,variant:"contained",color:"primary",startIcon:(0,Kl.jsx)(Jie.Z,{}),component:wu,to:"/notifications/".concat(r,"/new"),children:"Create New Notification"}),(0,Kl.jsxs)(Kye,{value:u,index:0,display:"flex",flexDirection:"column",gridGap:"10px",children:[N.map((function(e){return(0,Kl.jsx)(Yye,{notification:e,selectedNotificationId:C,channel:r,setNotification:k},"button_".concat(e.id))})),!!T.length&&(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(kl.Z,{variant:"subtitle1",children:"Other Notifications"}),T.map((function(e){return(0,Kl.jsx)(Yye,{notification:e,selectedNotificationId:C,channel:r,setNotification:k},"button_".concat(e.id))}))]})]})]})]})}),(0,Kl.jsx)(AC,{item:!0,xs:12,sm:6,md:9,children:(0,Kl.jsx)(Kd.Z,{children:E||i?(0,Kl.jsx)(xye,{notification:E,isNew:i,channel:r,recipient:D,fetchNotifications:S,isLoading:v,setIsLoading:y}):(0,Kl.jsxs)(Cb,{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",height:"100%",gridGap:10,children:[(0,Kl.jsx)(kl.Z,{align:"center",variant:"subtitle1",children:"Select notification or create new one"}),(0,Kl.jsx)(zd.Z,{tabIndex:-1,variant:"contained",color:"primary",startIcon:(0,Kl.jsx)(Jie.Z,{}),component:wu,to:"/notifications/".concat(r,"/new"),children:"Create New Notification"})]})})})]}),(0,Kl.jsx)($d,{open:v,style:{zIndex:9999999},children:(0,Kl.jsx)(Gh.Z,{color:"primary"})})]}):(0,Kl.jsx)(Kd.Z,{children:(0,Kl.jsx)(kl.Z,{children:"SMS notifications disabled for this clinic"})})})),nMe=tMe,rMe=e.forwardRef((function(t,n){var r=t.classes,o=t.className,i=t.component,a=void 0===i?"div":i,s=t.disableGutters,l=void 0!==s&&s,c=t.fixed,u=void 0!==c&&c,d=t.maxWidth,p=void 0===d?"lg":d,f=(0,Uu.Z)(t,["classes","className","component","disableGutters","fixed","maxWidth"]);return e.createElement(a,(0,Fu.Z)({className:(0,Zu.Z)(r.root,o,u&&r.fixed,l&&r.disableGutters,!1!==p&&r["maxWidth".concat((0,Jd.Z)(String(p)))]),ref:n},f))})),oMe=(0,Hu.Z)((function(e){return{root:(0,Ws.Z)({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",paddingLeft:e.spacing(2),paddingRight:e.spacing(2),display:"block"},e.breakpoints.up("sm"),{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}),disableGutters:{paddingLeft:0,paddingRight:0},fixed:Object.keys(e.breakpoints.values).reduce((function(t,n){var r=e.breakpoints.values[n];return 0!==r&&(t[e.breakpoints.up(n)]={maxWidth:r}),t}),{}),maxWidthXs:(0,Ws.Z)({},e.breakpoints.up("xs"),{maxWidth:Math.max(e.breakpoints.values.xs,444)}),maxWidthSm:(0,Ws.Z)({},e.breakpoints.up("sm"),{maxWidth:e.breakpoints.values.sm}),maxWidthMd:(0,Ws.Z)({},e.breakpoints.up("md"),{maxWidth:e.breakpoints.values.md}),maxWidthLg:(0,Ws.Z)({},e.breakpoints.up("lg"),{maxWidth:e.breakpoints.values.lg}),maxWidthXl:(0,Ws.Z)({},e.breakpoints.up("xl"),{maxWidth:e.breakpoints.values.xl})}}),{name:"MuiContainer"})(rMe),iMe=$l((function(){var t=Fc().notificationsStore,n=(0,e.useContext)(bA).clinic,r=dA().fetchChannelInfo;return(0,e.useEffect)((function(){r();var e=document.createElement("script");return e.src="https://js.stripe.com/v3/pricing-table.js",e.async=!0,document.body.appendChild(e),function(){document.body.removeChild(e)}}),[]),(0,Kl.jsx)(Yh,{title:"Top-Up",children:(0,Kl.jsx)(oMe,{maxWidth:"lg",children:(0,Kl.jsx)(Cb,{sx:{p:5,mt:5,borderRadius:10,overflow:"hidden",bgcolor:"#fff"},children:(0,Kl.jsx)("stripe-pricing-table",{"pricing-table-id":t.smsPricingTableId,"publishable-key":t.smsStripePublicKey,"client-reference-id":n.id})})})})})),aMe=function(){var t=me().snapshotId,r=hE().enqueueSnackbar,o=(0,e.useState)(!1),i=(0,n.Z)(o,2),a=i[0],s=i[1],l=(0,e.useState)(!1),c=(0,n.Z)(l,2),u=c[0],d=c[1],p=(0,e.useCallback)((function(){s(!0),Re.get("/v1/medical-history-snapshot/".concat(t)).then((function(e){var t=e.data;d(Us(Us({},t.data),{},{answers:t.data.snapshot.map((function(e){return{description:e.description,result:e.answer,question:{text:e.question}}}))}))})).catch((function(e){return r(e.message,{variant:"error"})})).finally((function(){return s(!1)}))}),[t]);return(0,e.useEffect)((function(){t&&p()}),[t]),a?(0,Kl.jsx)(Gh.Z,{style:{margin:"20px auto"}}):u?(0,Kl.jsx)(Cb,{mx:"46px",children:(0,Kl.jsx)(eie,{completed:!0,snapshot:u})}):(0,Kl.jsx)(kl.Z,{varian:"h6",children:"Snapshot was not found"})},sMe=["title","titleId"];function lMe(){return lMe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lMe.apply(this,arguments)}function cMe(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function uMe(t,n){var r=t.title,o=t.titleId,i=cMe(t,sMe);return e.createElement("svg",lMe({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,fve||(fve=e.createElement("g",{id:"Outline Icons"},e.createElement("path",{id:"Vector",fillRule:"evenodd",clipRule:"evenodd",d:"M7.7397 2.76904C7.92802 2.76904 8.10863 2.84098 8.24179 2.96902C8.37495 3.09706 8.44976 3.27072 8.44976 3.45179V4.13454H15.5504V3.45179C15.5504 3.27072 15.6252 3.09706 15.7583 2.96902C15.8915 2.84098 16.0721 2.76904 16.2604 2.76904C16.4487 2.76904 16.6294 2.84098 16.7625 2.96902C16.8956 3.09706 16.9705 3.27072 16.9705 3.45179V4.13454H19.1007C19.6656 4.13454 20.2074 4.35034 20.6069 4.73446C21.0064 5.11858 21.2308 5.63956 21.2308 6.18279V18.4723C21.2308 19.0155 21.0064 19.5365 20.6069 19.9206C20.2074 20.3047 19.6656 20.5205 19.1007 20.5205H4.89946C4.33451 20.5205 3.79269 20.3047 3.3932 19.9206C2.99372 19.5365 2.76929 19.0155 2.76929 18.4723V6.18279C2.76929 5.63956 2.99372 5.11858 3.3932 4.73446C3.79269 4.35034 4.33451 4.13454 4.89946 4.13454H7.02964V3.45179C7.02964 3.27072 7.10445 3.09706 7.23761 2.96902C7.37078 2.84098 7.55138 2.76904 7.7397 2.76904ZM15.5504 5.50004V6.18279C15.5504 6.36387 15.6252 6.53753 15.7583 6.66556C15.8915 6.79361 16.0721 6.86554 16.2604 6.86554C16.4487 6.86554 16.6294 6.79361 16.7625 6.66556C16.8956 6.53753 16.9705 6.36387 16.9705 6.18279V5.50004H19.1007C19.289 5.50004 19.4696 5.57197 19.6027 5.70001C19.7359 5.82806 19.8107 6.00172 19.8107 6.18279V8.23104H4.18941V6.18279C4.18941 6.00172 4.26422 5.82806 4.39737 5.70001C4.53054 5.57197 4.71114 5.50004 4.89946 5.50004H7.02964V6.18279C7.02964 6.36387 7.10445 6.53753 7.23761 6.66556C7.37078 6.79361 7.55138 6.86554 7.7397 6.86554C7.92802 6.86554 8.10863 6.79361 8.24179 6.66556C8.37495 6.53753 8.44976 6.36387 8.44976 6.18279V5.50004H15.5504ZM4.18941 9.59653V18.4723C4.18941 18.6534 4.26422 18.827 4.39737 18.9551C4.53054 19.0831 4.71114 19.155 4.89946 19.155H19.1007C19.289 19.155 19.4696 19.0831 19.6027 18.9551C19.7359 18.827 19.8107 18.6534 19.8107 18.4723V9.59653H4.18941ZM11.29 11.6448C11.29 11.4637 11.3648 11.29 11.498 11.162C11.6311 11.034 11.8117 10.9621 12.0001 10.9621C12.1884 10.9621 12.369 11.034 12.5021 11.162C12.6353 11.29 12.7101 11.4637 12.7101 11.6448C12.7101 11.8258 12.6353 11.9995 12.5021 12.1276C12.369 12.2556 12.1884 12.3275 12.0001 12.3275C11.8117 12.3275 11.6311 12.2556 11.498 12.1276C11.3648 11.9995 11.29 11.8258 11.29 11.6448ZM14.8403 10.9621C14.652 10.9621 14.4713 11.034 14.3382 11.162C14.2051 11.29 14.1302 11.4637 14.1302 11.6448C14.1302 11.8258 14.2051 11.9995 14.3382 12.1276C14.4713 12.2556 14.652 12.3275 14.8403 12.3275C15.0286 12.3275 15.2092 12.2556 15.3424 12.1276C15.4755 11.9995 15.5504 11.8258 15.5504 11.6448C15.5504 11.4637 15.4755 11.29 15.3424 11.162C15.2092 11.034 15.0286 10.9621 14.8403 10.9621ZM16.9705 11.6448C16.9705 11.4637 17.0453 11.29 17.1784 11.162C17.3116 11.034 17.4922 10.9621 17.6805 10.9621C17.8688 10.9621 18.0495 11.034 18.1826 11.162C18.3158 11.29 18.3906 11.4637 18.3906 11.6448C18.3906 11.8258 18.3158 11.9995 18.1826 12.1276C18.0495 12.2556 17.8688 12.3275 17.6805 12.3275C17.4922 12.3275 17.3116 12.2556 17.1784 12.1276C17.0453 11.9995 16.9705 11.8258 16.9705 11.6448ZM17.6805 13.693C17.4922 13.693 17.3116 13.7649 17.1784 13.893C17.0453 14.0211 16.9705 14.1947 16.9705 14.3758C16.9705 14.5569 17.0453 14.7305 17.1784 14.8586C17.3116 14.9866 17.4922 15.0585 17.6805 15.0585C17.8688 15.0585 18.0495 14.9866 18.1826 14.8586C18.3158 14.7305 18.3906 14.5569 18.3906 14.3758C18.3906 14.1947 18.3158 14.0211 18.1826 13.893C18.0495 13.7649 17.8688 13.693 17.6805 13.693ZM14.1302 14.3758C14.1302 14.1947 14.2051 14.0211 14.3382 13.893C14.4713 13.7649 14.652 13.693 14.8403 13.693C15.0286 13.693 15.2092 13.7649 15.3424 13.893C15.4755 14.0211 15.5504 14.1947 15.5504 14.3758C15.5504 14.5569 15.4755 14.7305 15.3424 14.8586C15.2092 14.9866 15.0286 15.0585 14.8403 15.0585C14.652 15.0585 14.4713 14.9866 14.3382 14.8586C14.2051 14.7305 14.1302 14.5569 14.1302 14.3758ZM12.0001 13.693C11.8117 13.693 11.6311 13.7649 11.498 13.893C11.3648 14.0211 11.29 14.1947 11.29 14.3758C11.29 14.5569 11.3648 14.7305 11.498 14.8586C11.6311 14.9866 11.8117 15.0585 12.0001 15.0585C12.1884 15.0585 12.369 14.9866 12.5021 14.8586C12.6353 14.7305 12.7101 14.5569 12.7101 14.3758C12.7101 14.1947 12.6353 14.0211 12.5021 13.893C12.369 13.7649 12.1884 13.693 12.0001 13.693ZM8.44976 14.3758C8.44976 14.1947 8.52457 14.0211 8.65773 13.893C8.79089 13.7649 8.9715 13.693 9.15982 13.693C9.34814 13.693 9.52875 13.7649 9.66191 13.893C9.79507 14.0211 9.86988 14.1947 9.86988 14.3758C9.86988 14.5569 9.79507 14.7305 9.66191 14.8586C9.52875 14.9866 9.34814 15.0585 9.15982 15.0585C8.9715 15.0585 8.79089 14.9866 8.65773 14.8586C8.52457 14.7305 8.44976 14.5569 8.44976 14.3758ZM6.31958 13.693C6.13126 13.693 5.95066 13.7649 5.81749 13.893C5.68434 14.0211 5.60952 14.1947 5.60952 14.3758C5.60952 14.5569 5.68434 14.7305 5.81749 14.8586C5.95066 14.9866 6.13126 15.0585 6.31958 15.0585C6.50791 15.0585 6.68851 14.9866 6.82167 14.8586C6.95483 14.7305 7.02964 14.5569 7.02964 14.3758C7.02964 14.1947 6.95483 14.0211 6.82167 13.893C6.68851 13.7649 6.50791 13.693 6.31958 13.693ZM5.60952 17.1068C5.60952 16.9257 5.68434 16.752 5.81749 16.624C5.95066 16.496 6.13126 16.424 6.31958 16.424C6.50791 16.424 6.68851 16.496 6.82167 16.624C6.95483 16.752 7.02964 16.9257 7.02964 17.1068C7.02964 17.2878 6.95483 17.4615 6.82167 17.5895C6.68851 17.7176 6.50791 17.7895 6.31958 17.7895C6.13126 17.7895 5.95066 17.7176 5.81749 17.5895C5.68434 17.4615 5.60952 17.2878 5.60952 17.1068ZM9.15982 16.424C8.9715 16.424 8.79089 16.496 8.65773 16.624C8.52457 16.752 8.44976 16.9257 8.44976 17.1068C8.44976 17.2878 8.52457 17.4615 8.65773 17.5895C8.79089 17.7176 8.9715 17.7895 9.15982 17.7895C9.34814 17.7895 9.52875 17.7176 9.66191 17.5895C9.79507 17.4615 9.86988 17.2878 9.86988 17.1068C9.86988 16.9257 9.79507 16.752 9.66191 16.624C9.52875 16.496 9.34814 16.424 9.15982 16.424ZM11.29 17.1068C11.29 16.9257 11.3648 16.752 11.498 16.624C11.6311 16.496 11.8117 16.424 12.0001 16.424C12.1884 16.424 12.369 16.496 12.5021 16.624C12.6353 16.752 12.7101 16.9257 12.7101 17.1068C12.7101 17.2878 12.6353 17.4615 12.5021 17.5895C12.369 17.7176 12.1884 17.7895 12.0001 17.7895C11.8117 17.7895 11.6311 17.7176 11.498 17.5895C11.3648 17.4615 11.29 17.2878 11.29 17.1068ZM14.8403 16.424C14.652 16.424 14.4713 16.496 14.3382 16.624C14.2051 16.752 14.1302 16.9257 14.1302 17.1068C14.1302 17.2878 14.2051 17.4615 14.3382 17.5895C14.4713 17.7176 14.652 17.7895 14.8403 17.7895C15.0286 17.7895 15.2092 17.7176 15.3424 17.5895C15.4755 17.4615 15.5504 17.2878 15.5504 17.1068C15.5504 16.9257 15.4755 16.752 15.3424 16.624C15.2092 16.496 15.0286 16.424 14.8403 16.424Z",fill:"#B57C2A"}))))}var dMe,pMe=e.forwardRef(uMe),fMe=(__webpack_require__.p,"elements_radioGroup__-fckv"),hMe="elements_checkboxGroup__YgDyp",bMe="elements_customLabel__kEV8I",AMe="elements_datePicker__-hMof",mMe="elements_patientWrapper__A0JLb",gMe="elements_checkedPatients__A0fE9",vMe="elements_patientResult__iPre4",yMe="elements_banner__oRAUC",MMe="elements_searchHolder__cJ0aQ",OMe="elements_serviceHolder__XPUQJ",_Me="elements_service__x2tvu",zMe="elements_row__xfqjW",xMe=(0,e.forwardRef)((function(e,t){var n=e.value,r=e.onClick;return(0,Kl.jsx)(Wu.Z,{label:"Start Date",variant:"outlined",size:"small",color:"primary",value:n,onClick:r,inputRef:t,InputProps:{endAdornment:(0,Kl.jsx)(Xu,{position:"end",children:(0,Kl.jsx)(pMe,{})})}})})),wMe=(0,e.forwardRef)((function(e,t){var n=e.value,r=e.onClick;return(0,Kl.jsx)(Wu.Z,{label:"End Date",variant:"outlined",size:"small",color:"primary",fullWidth:!0,value:n,onClick:r,inputRef:t,InputProps:{endAdornment:(0,Kl.jsx)(Xu,{position:"end",children:(0,Kl.jsx)(pMe,{})})}})})),CMe=(0,Hu.Z)((function(e){return{root:{"& MuiInputBase-root":{border:"1px solid red"}}}}))((function(e){return(0,Kl.jsx)(nk(),Us({},e))})),SMe=function(e){if(!e)return null;var t=e.startDate,n=e.endDate,r=e.isCustom,o=Vs()(n,"YYYY-MM-DD").diff(Vs()(t,"YYYY-MM-DD"),"days");return r?"custom":o.toString()},EMe=function(t){var r=t.value,o=t.onChange,i=(0,e.useState)(SMe(r)),a=(0,n.Z)(i,2),s=a[0],l=a[1],c=(0,e.useState)(null!==r&&void 0!==r&&r.startDate?Vs()(null===r||void 0===r?void 0:r.startDate).toDate():Vs()().toDate()),u=(0,n.Z)(c,2),d=u[0],p=u[1],f=(0,e.useState)(null!==r&&void 0!==r&&r.endDate?Vs()(null===r||void 0===r?void 0:r.endDate).toDate():Vs()().toDate()),h=(0,n.Z)(f,2),b=h[0],A=h[1];return(0,e.useEffect)((function(){r.startDate||r.endDate?(p(Vs()(null===r||void 0===r?void 0:r.startDate).toDate()),A(Vs()(null===r||void 0===r?void 0:r.endDate).toDate()),l(SMe(r))):(l(null),p(Vs()().toDate()),A(Vs()().toDate()))}),[r.startDate,r.endDate]),(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(AJ.Z,{component:"fieldset",className:fMe,children:(0,Kl.jsxs)(H7,{name:"date",value:s,onChange:function(e){return function(e){var t="",n=Vs()().toDate();l(e),t="custom"===e?Vs()().toDate():Vs()().subtract(Number(e),"days").toDate(),p(t),A(n),o({startDate:Vs()(t).format("YYYY-MM-DD"),endDate:Vs()(n).format("YYYY-MM-DD"),isCustom:"custom"===e})}(e.target.value)},children:[(0,Kl.jsx)(oS.Z,{value:"7",control:(0,Kl.jsx)(rJ,{color:"primary"}),label:"Last 7 days"}),(0,Kl.jsx)(oS.Z,{value:"15",control:(0,Kl.jsx)(rJ,{color:"primary"}),label:"Last 15 days"}),(0,Kl.jsx)(oS.Z,{value:"30",control:(0,Kl.jsx)(rJ,{color:"primary"}),label:"Last 30 days"}),(0,Kl.jsx)(oS.Z,{value:"custom",control:(0,Kl.jsx)(rJ,{color:"primary"}),label:"Custom"})]})}),"custom"===s?(0,Kl.jsxs)("div",{className:AMe,id:"custom-picker",children:[(0,Kl.jsx)("div",{children:(0,Kl.jsx)(CMe,{className:"custom-picker",selected:d,onChange:function(e){p(e),o({startDate:Vs()(e).format("YYYY-MM-DD"),endDate:Vs()(b).format("YYYY-MM-DD"),isCustom:!0})},customInput:(0,Kl.jsx)(xMe,{})})}),(0,Kl.jsx)("div",{children:(0,Kl.jsx)(CMe,{className:"custom-picker",selected:b,onChange:function(e){A(e),o({startDate:Vs()(d).format("YYYY-MM-DD"),endDate:Vs()(e).format("YYYY-MM-DD"),isCustom:!0})},customInput:(0,Kl.jsx)(wMe,{})})})]}):null]})},kMe=function(t){var r=t.value,o=t.onChange,i=(0,e.useState)({deposit:!1,fullPayment:!1,remainingBalance:!1}),a=(0,n.Z)(i,2),s=a[0],l=a[1],c=function(e){l((function(t){var n=Us(Us({},t),{},{[e.target.name]:e.target.checked});return o(n),n}))};return(0,e.useEffect)((function(){l(r)}),[r]),(0,Kl.jsx)(AJ.Z,{component:"fieldset",className:hMe,children:(0,Kl.jsxs)(HW,{children:[(0,Kl.jsx)(oS.Z,{control:(0,Kl.jsx)(kk.Z,{color:"primary",checked:null===s||void 0===s?void 0:s.deposit,onChange:c,name:"deposit"}),label:"Deposit"}),(0,Kl.jsx)(oS.Z,{control:(0,Kl.jsx)(kk.Z,{color:"primary",checked:null===s||void 0===s?void 0:s.fullPayment,onChange:c,name:"fullPayment"}),label:"Full Payment"}),(0,Kl.jsx)(oS.Z,{control:(0,Kl.jsx)(kk.Z,{color:"primary",checked:null===s||void 0===s?void 0:s.remainingBalance,onChange:c,name:"remainingBalance"}),label:"Remaining Balance"})]})})},DMe=function(t){var r=t.value,o=t.onChange,i=(0,e.useState)({cash:!1,transfer:!1,cardPayment:!1,voucher:!1,other:!1,splitPayment:!1}),a=(0,n.Z)(i,2),s=a[0],l=a[1],c=function(e){l((function(t){var n=Us(Us({},t),{},{[e.target.name]:e.target.checked});return o(n),n}))};return(0,e.useEffect)((function(){l(r)}),[r]),(0,Kl.jsx)(AJ.Z,{component:"fieldset",className:hMe,children:(0,Kl.jsxs)(HW,{children:[(0,Kl.jsx)(oS.Z,{control:(0,Kl.jsx)(kk.Z,{color:"primary",checked:!(null===s||void 0===s||!s.cash),onChange:c,name:"cash"}),label:"Cash"}),(0,Kl.jsx)(oS.Z,{control:(0,Kl.jsx)(kk.Z,{color:"primary",checked:!(null===s||void 0===s||!s.transfer),onChange:c,name:"transfer"}),label:"Transfer"}),(0,Kl.jsx)(oS.Z,{control:(0,Kl.jsx)(kk.Z,{color:"primary",checked:!(null===s||void 0===s||!s.cardPayment),onChange:c,name:"cardPayment"}),label:"Card Payment"}),(0,Kl.jsx)(oS.Z,{control:(0,Kl.jsx)(kk.Z,{color:"primary",checked:!(null===s||void 0===s||!s.voucher),onChange:c,name:"voucher"}),label:"Voucher"}),(0,Kl.jsx)(oS.Z,{control:(0,Kl.jsx)(kk.Z,{color:"primary",checked:!(null===s||void 0===s||!s.other),onChange:c,name:"other"}),label:"Other"}),(0,Kl.jsx)(oS.Z,{control:(0,Kl.jsx)(kk.Z,{color:"primary",checked:!(null===s||void 0===s||!s.splitPayment),onChange:c,name:"splitPayment"}),label:"Split Payment"})]})})},NMe=function(t){var o,i=t.value,a=t.onChange,s=(0,e.useContext)(bA),l=(0,e.useState)([]),c=(0,n.Z)(l,2),u=c[0],d=c[1],p=function(e){var t=(0,r.Z)(u),n=t.indexOf(e);-1===n?t.push(e):t.splice(n,1),d(t),a(t)};return(0,e.useEffect)((function(){d(i||[])}),[i]),(0,Kl.jsx)(AJ.Z,{component:"fieldset",className:hMe,children:(0,Kl.jsx)(HW,{children:null===s||void 0===s||null===(o=s.clinic)||void 0===o?void 0:o.locations.map((function(e){return(0,Kl.jsx)(oS.Z,{control:(0,Kl.jsx)(kk.Z,{color:"primary",checked:u.includes(e.id),onChange:function(){return p(e.id)},name:"clinic-location-".concat(e.id)}),label:(0,Kl.jsxs)("div",{className:bMe,children:[(0,Kl.jsx)("span",{children:e.name})," ",e.name?"-":""," ",e.address]})},e.id)}))})})},TMe=["title","titleId"];function jMe(){return jMe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},jMe.apply(this,arguments)}function BMe(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function LMe(t,n){var r=t.title,o=t.titleId,i=BMe(t,TMe);return e.createElement("svg",jMe({width:62,height:63,viewBox:"0 0 62 63",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,dMe||(dMe=e.createElement("g",{id:"people 1"},e.createElement("path",{id:"Vector",d:"M35.3871 36.4677C36.8292 35.2264 37.7635 33.411 37.7635 31.3638C37.7635 27.6345 34.7292 24.5996 30.9999 24.5996C27.2706 24.5996 24.2364 27.6351 24.2364 31.3638C24.2364 33.411 25.1707 35.2264 26.6128 36.4677C23.6188 38.0549 21.5518 41.1673 21.5518 44.785C21.5518 46.6313 24.3418 46.6313 24.3418 44.785C24.3418 41.1139 27.3289 38.1262 30.9999 38.1262C34.671 38.1262 37.6581 41.1139 37.6581 44.785C37.6581 46.6313 40.4481 46.6313 40.4481 44.785C40.4481 41.1673 38.381 38.0549 35.3871 36.4677ZM27.0264 31.3632C27.0264 29.1727 28.8089 27.389 30.9999 27.389C33.191 27.389 34.9735 29.1727 34.9735 31.3632C34.9735 33.5536 33.1904 35.3362 30.9999 35.3362C28.8095 35.3362 27.0264 33.5536 27.0264 31.3632Z",fill:"#B57C2A"}),e.createElement("path",{id:"Vector_2",d:"M51.3851 17.328C52.8272 16.0868 53.7615 14.2714 53.7615 12.2242C53.7615 8.49548 50.7273 5.45996 46.998 5.45996C43.2687 5.45996 40.2344 8.49548 40.2344 12.2242C40.2344 14.2695 41.1669 16.0837 42.6065 17.3249C41.821 17.7403 41.072 18.2307 40.4185 18.865C39.0942 20.1527 41.0453 22.151 42.3622 20.867C43.6109 19.6555 45.2564 18.9871 46.998 18.9871C50.669 18.9871 53.6561 21.9749 53.6561 25.6459C53.6561 27.4923 56.4461 27.4923 56.4461 25.6459C56.4461 22.0282 54.3791 18.9152 51.3851 17.328ZM43.025 12.2242C43.025 10.0337 44.8075 8.24996 46.9986 8.24996C49.1897 8.24996 50.9722 10.0337 50.9722 12.2242C50.9722 14.4146 49.1897 16.1965 46.9986 16.1965C44.8075 16.1965 43.025 14.4146 43.025 12.2242Z",fill:"#B57C2A"}),e.createElement("path",{id:"Vector_3",d:"M19.6335 20.8632C20.969 22.1485 22.896 20.1372 21.5754 18.8582C20.9231 18.2264 20.1767 17.7384 19.3936 17.3249C20.8332 16.0837 21.7651 14.2702 21.7651 12.2248C21.7651 8.49548 18.7308 5.45996 15.0021 5.45996C11.2735 5.45996 8.23855 8.49548 8.23855 12.2242C8.23855 14.2714 9.17289 16.0868 10.615 17.328C7.62103 18.9152 5.55396 22.0276 5.55396 25.6453C5.55396 27.4917 8.34395 27.4917 8.34395 25.6453C8.34395 21.9743 11.3311 18.9865 15.0021 18.9865C16.74 18.9865 18.3849 19.6536 19.6335 20.8632ZM11.0286 12.2242C11.0286 10.0337 12.8111 8.24996 15.0021 8.24996C17.1932 8.24996 18.9757 10.0337 18.9757 12.2242C18.9757 14.4146 17.1932 16.1965 15.0021 16.1965C12.8111 16.1965 11.0286 14.4146 11.0286 12.2242Z",fill:"#B57C2A"}),e.createElement("path",{id:"Vector_4",d:"M45.1893 45.9299C49.2671 39.4509 48.5001 30.7734 42.8631 25.1376C36.3221 18.5948 25.6779 18.5948 19.1369 25.1376C12.5953 31.6786 12.5953 42.3228 19.1369 48.8638C22.4074 52.1349 26.704 53.7698 31 53.7698C34.1074 53.7698 37.2093 52.9018 39.9286 51.1906L45.1608 56.4222C46.611 57.8724 48.9695 57.8717 50.4209 56.4222C51.8711 54.9726 51.8711 52.6117 50.4209 51.1621L45.1893 45.9299ZM21.1098 46.8903C15.6562 41.4374 15.6562 32.5627 21.1098 27.1098C23.8359 24.3837 27.4183 23.0191 31 23.0191C34.5817 23.0191 38.1641 24.3831 40.8902 27.1098C46.3438 32.5627 46.3438 41.4374 40.8902 46.8903C35.4373 52.3432 26.5627 52.3432 21.1098 46.8903ZM47.133 54.4487L42.1718 49.4881C43.0478 48.7032 42.7056 49.0454 43.4868 48.1731L48.448 53.1337C49.3191 54.0061 47.9992 55.3186 47.133 54.4487Z",fill:"#B57C2A"}))))}var RMe=e.forwardRef(LMe),qMe=(__webpack_require__.p,(0,Kl.jsx)(Uve.Z,{fontSize:"small"})),PMe=(0,Kl.jsx)(Zve.Z,{fontSize:"small"}),IMe=function(t){var o=t.value,i=t.names,a=t.onChange,s=(0,e.useState)([]),l=(0,n.Z)(s,2),c=l[0],u=l[1],d=(0,e.useState)([]),p=(0,n.Z)(d,2),f=p[0],h=p[1],b=(0,e.useState)(!0),A=(0,n.Z)(b,2),m=A[0],g=A[1],v=function(e){var t=f.some((function(t){return t.id===e.id}))?f.filter((function(t){return t.id!==e.id})):[].concat((0,r.Z)(f),[e]);h(t),a({ids:t.map((function(e){return e.id})),names:t.map((function(e){return e.fullName}))})};(0,e.useEffect)((function(){if(o&&i){var e=null===o||void 0===o?void 0:o.map((function(e,t){return{id:e,fullName:null===i||void 0===i?void 0:i[t]}}));h(e)}}),[o]);var y=(0,rne.debounce)(function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,o,i,a;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.get("/v1/patient?search=".concat(t));case 2:n=e.sent,o=n.data,i=o.data.filter((function(e){return!(null!==e&&void 0!==e&&e.deletedAt)})),a=i.map((function(e){return{id:e.id,fullName:e.fullName}})),u([].concat((0,r.Z)(f),(0,r.Z)(a)));case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),800);return(0,Kl.jsxs)("div",{className:mMe,children:[(0,Kl.jsx)(xS.Z,{onClickAway:function(){return g(!1)},children:(0,Kl.jsxs)("div",{children:[(0,Kl.jsx)(Wu.Z,{fullWidth:!0,size:"small",color:"primary",className:"custom-input",variant:"outlined",label:"Search Patients",placeholder:"Search Patients",onChange:function(e){return y(e.target.value)},onFocus:function(){return g(!0)},InputProps:{style:{backgroundColor:"white"},startAdornment:(0,Kl.jsx)(Xu,{position:"start",children:(0,Kl.jsx)(Qu.Z,{})})}}),m&&c.length>0?(0,Kl.jsx)("div",{className:vMe,children:c.map((function(e){return(0,Kl.jsx)("div",{children:(0,Kl.jsx)(oS.Z,{control:(0,Kl.jsx)(kk.Z,{icon:qMe,checkedIcon:PMe,checked:f.map((function(e){return e.id})).includes(e.id),color:"primary",onChange:function(){return v(e)}}),label:e.fullName})},e.id)}))}):null]})}),f.length>0?(0,Kl.jsx)("div",{className:gMe,children:f.map((function(e){return(0,Kl.jsx)(oS.Z,{control:(0,Kl.jsx)(kk.Z,{icon:qMe,checkedIcon:PMe,checked:f.map((function(e){return e.id})).includes(e.id),color:"primary",onChange:function(){return v(e)}}),label:e.fullName},"selected_".concat(e.id))}))}):(0,Kl.jsx)("div",{className:yMe,children:(0,Kl.jsxs)("div",{children:[(0,Kl.jsx)(RMe,{}),(0,Kl.jsx)("h4",{children:"No Patients Selected"}),(0,Kl.jsx)("p",{children:"Search the patient name to select"})]})})]})},WMe=function(t){var o,i=t.data,a=t.value,s=t.onChange,l=t.initValues,c=(0,e.useState)(""),u=(0,n.Z)(c,2),d=u[0],p=u[1],f=(0,e.useState)([]),h=(0,n.Z)(f,2),b=h[0],A=h[1],m=function(e){var t,n=null===(t=v().find((function(t){return t.categoryId===e})))||void 0===t?void 0:t.treatmentTypes.map((function(e){return e.id}));A((function(e){var t=(0,r.Z)(e),o=n.filter((function(t){return e.includes(t)}));if(o.length>0&&n.length!==o.length){var i=t.filter((function(e){return!n.includes(e)}));return s(i),i}return n.forEach((function(e){if(t.includes(e)){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}else t.push(e)})),s(t),t}))},g=function(e){var t=b.includes(e)?b.filter((function(t){return t!==e})):[].concat((0,r.Z)(b),[e]);A(t),s(t)};(0,e.useEffect)((function(){A(a||[])}),[a]),(0,e.useEffect)((function(){l&&A(l)}),[l]);var v=function(){var e=new Set,t={},n=new Set(i.map((function(e){return e.id}))),r=Array.from(n);return i.filter((function(e){return r.includes(e.id)})).forEach((function(n){var r,o,i=(null===n||void 0===n||null===(r=n.category)||void 0===r?void 0:r.id)||0,a=(null===n||void 0===n||null===(o=n.category)||void 0===o?void 0:o.name)||"no-category";t[i]||(t[i]={categoryId:i,categoryName:a,treatmentTypes:[]}),e.has(n.id)||(t[i].treatmentTypes.push({id:n.id,name:n.fullName,categoryId:i}),e.add(n.id))})),Object.values(t)};return(0,Kl.jsxs)("div",{children:[(0,Kl.jsx)("div",{className:MMe,children:(0,Kl.jsx)(Wu.Z,{variant:"outlined",size:"small",fullWidth:!0,placeholder:"Search services or products",InputProps:{style:{backgroundColor:"white"},startAdornment:(0,Kl.jsx)(Xu,{position:"start",children:(0,Kl.jsx)(Qu.Z,{})})},onChange:function(e){return p(e.target.value)}})}),(0,Kl.jsx)("div",{className:"".concat(hMe," ").concat(OMe),children:null===(o=v())||void 0===o?void 0:o.map((function(e,t){var n,r=e.treatmentTypes.length,o=null===(n=e.treatmentTypes)||void 0===n?void 0:n.map((function(e){return e.id})),i=b.filter((function(e){return o.includes(e)})),a=i.length>0&&i.length!==r,s=i.length===r,l=e.treatmentTypes.filter((function(e){return e.name.toLocaleLowerCase().trim().includes(d.toLocaleLowerCase().trim())}));return(0,Kl.jsxs)("div",{className:zMe,children:[l.length>0?0!==e.categoryId?(0,Kl.jsx)(oS.Z,{className:"custom-indeterminate",control:(0,Kl.jsx)(kk.Z,{onChange:function(){return m(e.categoryId)},name:"category_".concat(e.categoryId),color:"primary",checked:s,indeterminate:a}),label:e.categoryName}):e.treatmentTypes.map((function(e){return(0,Kl.jsx)(oS.Z,{fullWidth:!0,control:(0,Kl.jsx)(kk.Z,{onChange:function(){return g(e.id)},name:"service_".concat(e.id),color:"primary",checked:b.includes(e.id)}),label:e.name},"service_".concat(e.id))})):null,0!==e.categoryId?(0,Kl.jsx)("div",{className:_Me,children:l.map((function(e){return(0,Kl.jsx)(oS.Z,{control:(0,Kl.jsx)(kk.Z,{onChange:function(){return g(e.id)},name:"service_".concat(e.id),color:"primary",checked:b.includes(e.id)}),label:e.name},e.id)}))}):null]},e.categoryId)}))})]})},FMe="filters_header__AHUgG",UMe="filters_wrapper__+TpFK",ZMe="filters_filterSidebar__83GAz",HMe="filters_active__A3TYh",$Me="filters_content__JIfMW",VMe=function(t){var r=t.value,o=t.onChange,i=(0,e.useState)({paid:!1,refunded:!1}),a=(0,n.Z)(i,2),s=a[0],l=a[1],c=function(e){l((function(t){var n=Us(Us({},t),{},{[e.target.name]:e.target.checked});return o(n),n}))};return(0,e.useEffect)((function(){l(r)}),[r]),(0,Kl.jsx)(AJ.Z,{component:"fieldset",className:hMe,children:(0,Kl.jsxs)(HW,{children:[(0,Kl.jsx)(oS.Z,{control:(0,Kl.jsx)(kk.Z,{color:"primary",checked:!(null===s||void 0===s||!s.paid),onChange:c,name:"paid"}),label:"Paid"}),(0,Kl.jsx)(oS.Z,{control:(0,Kl.jsx)(kk.Z,{color:"primary",checked:!(null===s||void 0===s||!s.refunded),onChange:c,name:"refunded"}),label:"Refunded"})]})})},XMe=function(t){var r=t.onChange,o=t.value,i=(0,e.useState)({product:!1,service:!1}),a=(0,n.Z)(i,2),s=a[0],l=a[1],c=function(e){l((function(t){var n=Us(Us({},t),{},{[e.target.name]:e.target.checked});return r(n),n}))};return(0,e.useEffect)((function(){l(o)}),[o]),(0,Kl.jsx)(AJ.Z,{component:"fieldset",className:hMe,children:(0,Kl.jsxs)(HW,{children:[(0,Kl.jsx)(oS.Z,{control:(0,Kl.jsx)(kk.Z,{color:"primary",checked:!(null===s||void 0===s||!s.product),onChange:c,name:"product"}),label:"Product"}),(0,Kl.jsx)(oS.Z,{control:(0,Kl.jsx)(kk.Z,{color:"primary",checked:!(null===s||void 0===s||!s.service),onChange:c,name:"service"}),label:"Service"})]})})},QMe=(0,e.forwardRef)((function(e,t){return(0,Kl.jsx)(Gd,Us({direction:"up",ref:t},e))})),YMe=(0,Hu.Z)((function(){return{root:{"& .MuiPaper-root":{width:"800px",height:"683px"},"& .MuiDialogActions-root":{padding:20,justifyContent:"center",borderTop:"1px solid #e6e6e6","& .MuiButton-root":{width:"100%",maxWidth:"186px"}}}}}))((function(e){return(0,Kl.jsx)(vC,Us({},e))})),GMe=function(t){var r,o,i=t.open,a=t.treatments,s=t.onClose,l=he(),c=fe(),u=(0,e.useState)("date"),d=(0,n.Z)(u,2),p=d[0],f=d[1],h=(0,e.useState)(null),A=(0,n.Z)(h,2),m=A[0],g=A[1],v={date:{label:"Date",component:(0,Kl.jsx)(EMe,{onChange:function(e){return g((function(t){return Us(Us({},t),e)}))},value:{startDate:null===m||void 0===m?void 0:m.startDate,endDate:null===m||void 0===m?void 0:m.endDate,isCustom:null===m||void 0===m?void 0:m.isCustom}})},paymentType:{label:"Payment Type",component:(0,Kl.jsx)(kMe,{onChange:function(e){return g((function(t){return Us(Us({},t),{},{paymentType:e})}))},value:null===m||void 0===m?void 0:m.paymentType})},paymentStatus:{label:"Status",component:(0,Kl.jsx)(VMe,{onChange:function(e){return g((function(t){return Us(Us({},t),{},{paymentStatus:e})}))},value:null===m||void 0===m?void 0:m.paymentStatus})},clinicLocation:{label:"Clinic Location",component:(0,Kl.jsx)(NMe,{onChange:function(e){return g((function(t){return Us(Us({},t),{},{clinicLocation:e})}))},value:null===m||void 0===m?void 0:m.clinicLocation})},type:{label:"Type",component:(0,Kl.jsx)(XMe,{onChange:function(e){return g((function(t){return Us(Us({},t),{},{types:e})}))},value:null===m||void 0===m?void 0:m.types})},paymentMethod:{label:"Payment Method",component:(0,Kl.jsx)(DMe,{onChange:function(e){return g((function(t){return Us(Us({},t),{},{paymentMethod:e})}))},value:null===m||void 0===m?void 0:m.paymentMethod})},serviceOrProduct:{label:"Service or Product",component:(0,Kl.jsx)(WMe,{onChange:function(e){return g((function(t){return Us(Us({},t),{},{services:e})}))},value:null===m||void 0===m?void 0:m.services,data:a})},patients:{label:"Patients",component:(0,Kl.jsx)(IMe,{onChange:function(e){g((function(t){return Us(Us({},t),{},{patients:e.ids,patientsName:e.names})}))},value:null===m||void 0===m||null===(r=m.patients)||void 0===r?void 0:r.map((function(e){return Number(e)})),names:null===m||void 0===m||null===(o=m.patientsName)||void 0===o?void 0:o.map((function(e){return e}))})}};return(0,e.useEffect)((function(){var e=new URLSearchParams(c.search),t=e.getAll("paymentType[]"),n=e.getAll("paymentMethod[]"),r=e.getAll("paymentStatus[]"),o=e.getAll("clinicLocation[]"),i=e.getAll("services[]"),a=e.getAll("patients[]"),s=e.getAll("patientsName[]"),l=e.get("startDate"),u=e.get("endDate"),d=e.get("isCustom"),p=e.getAll("types[]");g((function(e){return Us(Us({},e),{},{startDate:l,endDate:u,isCustom:"true"===d,paymentType:{deposit:t.includes("deposit"),fullPayment:t.includes("fullPayment"),remainingBalance:t.includes("remainingBalance")},paymentMethod:{cash:n.includes("cash"),transfer:n.includes("transfer"),cardPayment:n.includes("cardPayment"),voucher:n.includes("voucher"),other:n.includes("other"),splitPayment:n.includes("splitPayment")},paymentStatus:{paid:r.includes("paid"),refunded:r.includes("refunded")},services:null===i||void 0===i?void 0:i.map((function(e){return Number(e)})),clinicLocation:null===o||void 0===o?void 0:o.map((function(e){return Number(e)})),patients:null===a||void 0===a?void 0:a.map((function(e){return Number(e)})),patientsName:null===s||void 0===s?void 0:s.map((function(e){return e})),types:{product:p.includes("product"),service:p.includes("service"),both:p.includes("both")}})}))}),[c.search]),(0,Kl.jsxs)(YMe,{open:i,TransitionComponent:QMe,keepMounted:!0,onClose:function(){return s()},children:[(0,Kl.jsxs)("div",{className:FMe,children:["Filters",(0,Kl.jsx)(wd.Z,{onClick:function(){return s()},size:"small",children:(0,Kl.jsx)(dB.Z,{fontSize:"inherit"})})]}),(0,Kl.jsxs)("div",{className:UMe,children:[(0,Kl.jsx)("div",{className:ZMe,children:(0,Kl.jsx)("ul",{children:Object.keys(v).map((function(e){return(0,Kl.jsx)("li",{children:(0,Kl.jsx)("button",{className:p===e?HMe:"",onClick:function(){return f(e)},children:v[e].label})},e)}))})}),(0,Kl.jsx)("div",{className:$Me,children:v[p].component})]}),(0,Kl.jsxs)(xE,{children:[(0,Kl.jsx)(zd.Z,{onClick:function(){return function(){var e=new URLSearchParams(window.location.search).get("perPage",10);(isNaN(e)||e<1)&&(e=10),g(null),l("".concat(window.location.pathname,"?page=1&perPage=").concat(e)),s()}()},color:"primary",variant:"outlined",children:"Reset"}),(0,Kl.jsx)(zd.Z,{onClick:function(){return function(){var e=new URLSearchParams(window.location.search),t=new URLSearchParams,n=e.get("perPage",10);(isNaN(n)||n<1)&&(n=10),Object.keys(m).map((function(e){if("object"!==typeof m[e]||Array.isArray(m[e]))if("object"===typeof m[e]&&Array.isArray(m[e])){var n,r=(0,b.Z)(m[e]);try{for(r.s();!(n=r.n()).done;){var o=n.value;t.append("".concat(e,"[]"),o)}}catch(a){r.e(a)}finally{r.f()}}else t.set(e,m[e]);else for(var i in m[e])m[e][i]&&t.append("".concat(e,"[]"),i)})),l("".concat(window.location.pathname,"?page=1&perPage=").concat(n,"&").concat(t.toString())),s()}()},color:"primary",variant:"contained",children:"Apply"})]})]})},KMe="pdf-template_content__tK2+l",JMe="pdf-template_textCenter__nsF4n",eOe="pdf-template_textLeft__3VedG",tOe="pdf-template_textRight__zHigC",nOe="pdf-template_pdfLogo__wn9mR",rOe="pdf-template_title__3kxzq",oOe="pdf-template_mainTitle__XjCvr",iOe="pdf-template_pdfInfoWrapper__fDKVg",aOe="pdf-template_pdfInfo__YNA62",sOe="pdf-template_totalPrice__5e4FP",lOe="pdf-template_tableWrapper__Q8kl0",cOe="pdf-template_table__nyA6m",uOe="pdf-template_paid__2n3X1",dOe="pdf-template_amount__gIv0w",pOe="pdf-template_width100__jXxUd";function fOe(e){if(!e)return"";var t=e.replace("_"," ");return t.charAt(0).toUpperCase()+t.slice(1).toLowerCase()}var hOe,bOe,AOe=function(e){var t,n,r,o,i=e.data,a=Fc(),s=i||{},l=s.invoiceId,c=s.to,u=s.transactionTime,d=s.appointment,p="".concat((null===c||void 0===c?void 0:c.name)||""," ").concat((null===c||void 0===c?void 0:c.last_name)||""),f=null===c||void 0===c?void 0:c.phone,h="".concat(null!==c&&void 0!==c&&c.address?c.address+", ":"").concat(null!==c&&void 0!==c&&c.city?c.city+", ":"").concat((null===c||void 0===c?void 0:c.zip_code)||""),b=null===(t=a.clinic)||void 0===t?void 0:t.settings_invoice_settings_company_number,A=null===(n=a.clinic)||void 0===n?void 0:n.settings_invoice_settings_clinic_address,m=null===(r=a.clinic)||void 0===r?void 0:r.settings_invoice_settings_business_name,g=null===(o=a.clinic)||void 0===o?void 0:o.settings_invoice_settings_logo;return(0,Kl.jsxs)("div",{className:KMe,children:[(0,Kl.jsx)("div",{className:JMe,children:g?(0,Kl.jsx)("img",{className:nOe,src:g,alt:"Image"}):null}),(0,Kl.jsxs)("div",{className:rOe,children:[(0,Kl.jsxs)("div",{className:eOe,children:["Receipt : # ",l]}),(0,Kl.jsx)("div",{className:"".concat(JMe," ").concat(oOe),children:"RECEIPT"}),(0,Kl.jsxs)("div",{className:tOe,children:["Date : ",Vs()(u).format("DD/MM/YYYY")]})]}),(0,Kl.jsxs)("div",{className:iOe,children:[(0,Kl.jsxs)("div",{className:aOe,children:[(0,Kl.jsx)("h4",{children:"FROM"}),m?(0,Kl.jsx)("p",{children:m}):null,b?(0,Kl.jsx)("p",{children:b}):null,A?(0,Kl.jsx)("p",{children:A}):null]}),(0,Kl.jsxs)("div",{className:aOe,children:[(0,Kl.jsx)("h4",{children:"BILL TO"}),(0,Kl.jsx)("p",{children:p}),f?(0,Kl.jsx)("p",{children:f}):null,(0,Kl.jsx)("p",{children:h})]}),(0,Kl.jsxs)("div",{className:aOe,children:[(0,Kl.jsx)("h4",{children:"PAYMENT"}),(0,Kl.jsxs)("p",{children:["Payment Date ",Vs()(u).format("DD/MM/YYYY")]}),(0,Kl.jsxs)("div",{className:sOe,children:["\xa3",null===d||void 0===d?void 0:d.totalAmount]})]})]}),(0,Kl.jsx)("div",{className:lOe,children:(0,Kl.jsxs)("table",{className:cOe,children:[(0,Kl.jsx)("thead",{children:(0,Kl.jsxs)("tr",{children:[(0,Kl.jsx)("th",{colSpan:3,children:"ITEM"}),(0,Kl.jsx)("th",{children:"PRICE"})]})}),(0,Kl.jsx)("tbody",{children:(0,Kl.jsxs)("tr",{children:[(0,Kl.jsxs)("td",{colSpan:3,children:["Appointment"," ",Vs()(null===d||void 0===d?void 0:d.appointmentTime).format("DD-MM-YYYY | hh:mm A")," ",fOe(null===d||void 0===d?void 0:d.paymentType)]}),(0,Kl.jsxs)("td",{className:tOe,children:["\xa3",null===d||void 0===d?void 0:d.totalAmount]})]})}),(0,Kl.jsxs)("tfoot",{children:[(0,Kl.jsxs)("tr",{children:[(0,Kl.jsx)("td",{colSpan:2}),(0,Kl.jsx)("td",{className:pOe,children:"Sub Total"}),(0,Kl.jsxs)("td",{className:"".concat(tOe," ").concat(pOe),children:["\xa3",(null===d||void 0===d?void 0:d.netAmount.toFixed(2))||0]})]}),(0,Kl.jsxs)("tr",{children:[(0,Kl.jsx)("td",{colSpan:2}),(0,Kl.jsx)("td",{className:pOe,children:"VAT"}),(0,Kl.jsxs)("td",{className:"".concat(tOe," ").concat(pOe),children:["\xa3",(null===d||void 0===d?void 0:d.vat)||0]})]}),(0,Kl.jsxs)("tr",{children:[(0,Kl.jsx)("td",{colSpan:2}),(0,Kl.jsx)("td",{className:"".concat(uOe," ").concat(pOe),children:"Amount paid"}),(0,Kl.jsxs)("td",{className:"".concat(dOe," ").concat(tOe," ").concat(pOe),children:["\xa3",null===d||void 0===d?void 0:d.totalAmount]})]})]})]})})]})},mOe=["title","titleId"];function gOe(){return gOe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gOe.apply(this,arguments)}function vOe(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function yOe(t,n){var r=t.title,o=t.titleId,i=vOe(t,mOe);return e.createElement("svg",gOe({width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,hOe||(hOe=e.createElement("g",{clipPath:"url(#clip0_1493_149228)"},e.createElement("path",{d:"M12.0158 10.0002L20.5823 1.43337C21.1398 0.876132 21.1398 -0.0248395 20.5823 -0.582074C20.0251 -1.13931 19.1241 -1.13931 18.5669 -0.582074L10.0001 7.98472L1.43356 -0.582074C0.876066 -1.13931 -0.0246438 -1.13931 -0.581878 -0.582074C-1.13937 -0.0248395 -1.13937 0.876132 -0.581878 1.43337L7.98466 10.0002L-0.581878 18.567C-1.13937 19.1242 -1.13937 20.0252 -0.581878 20.5824C-0.304175 20.8604 0.0609641 21 0.425842 21C0.790719 21 1.1556 20.8604 1.43356 20.5824L10.0001 12.0156L18.5669 20.5824C18.8449 20.8604 19.2097 21 19.5746 21C19.9395 21 20.3044 20.8604 20.5823 20.5824C21.1398 20.0252 21.1398 19.1242 20.5823 18.567L12.0158 10.0002Z",fill:"black"}))),bOe||(bOe=e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_1493_149228"},e.createElement("rect",{width:20,height:20,fill:"white"})))))}var MOe,OOe=e.forwardRef(yOe),_Oe=(__webpack_require__.p,"pdfPreview_header__S4Zs+"),zOe="pdfPreview_wrapper__aTtZM",xOe="pdfPreview_patientEmail__kxdMq",wOe="pdfPreview_buttonGroup__Xtq83",COe="pdfPreview_noPDF__sllY2",SOe=(0,Hu.Z)((function(){return{root:{"& .MuiPaper-root":{width:"800px",minHeight:"703px"},"& .MuiDialogActions-root":{padding:20,justifyContent:"space-between",borderTop:"1px solid #e6e6e6","& .MuiButton-root":{width:"100%",maxWidth:"186px"}}}}}))((function(e){return(0,Kl.jsx)(vC,Us({},e))})),EOe=(0,e.forwardRef)((function(e,t){return(0,Kl.jsx)(Gd,Us({direction:"up",ref:t},e))})),kOe=function(t){var r,o,i=t.open,a=t.selectedRowPayload,s=t.onClose,l=(0,e.useRef)(),c=hE().enqueueSnackbar,u=(0,e.useState)(!1),d=(0,n.Z)(u,2),p=d[0],f=d[1],h=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,f(!0),e.next=4,Re.post("/v1/receipts/".concat(a.id,"/pdf"));case 4:t=e.sent,a.pdfUrl=t.data.pdfUrl,f(!1),c(t.data.message,{variant:"success"}),e.next=14;break;case 10:e.prev=10,e.t0=e.catch(0),f(!1),c(null===e.t0||void 0===e.t0?void 0:e.t0.message,{variant:"error"});case 14:case"end":return e.stop()}}),e,null,[[0,10]])})));return function(){return e.apply(this,arguments)}}(),b=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return f(!0),e.prev=1,e.next=4,Re.post("/v1/receipts/".concat(a.id,"/send"));case 4:t=e.sent,c(t.data.message,{variant:"success"}),s(),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(1),c(null===e.t0||void 0===e.t0?void 0:e.t0.message,{variant:"error"});case 12:return e.prev=12,f(!1),e.finish(12);case 15:case"end":return e.stop()}}),e,null,[[1,9,12,15]])})));return function(){return e.apply(this,arguments)}}();return(0,Kl.jsxs)(SOe,{open:i,TransitionComponent:EOe,keepMounted:!0,onClose:function(){return s()},children:[p?(0,Kl.jsx)(NE,{}):null,(0,Kl.jsxs)("div",{className:_Oe,children:["Email Receipts",(0,Kl.jsx)(wd.Z,{onClick:function(){return s()},size:"small",children:(0,Kl.jsx)(OOe,{fontSize:"inherit"})})]}),(0,Kl.jsx)("div",{className:zOe,children:null!==a&&void 0!==a&&a.pdfUrl?(0,Kl.jsx)("div",{ref:l,children:(0,Kl.jsx)(AOe,{data:{invoiceId:null===a||void 0===a?void 0:a.id,to:null===a||void 0===a?void 0:a.patient,transactionTime:null===a||void 0===a?void 0:a.datetime,appointment:{appointmentTime:null===a||void 0===a?void 0:a.appointmentTime,paymentType:null===a||void 0===a?void 0:a.paymentType,totalAmount:null===a||void 0===a?void 0:a.totalAmount,netAmount:null===a||void 0===a?void 0:a.netAmount,vat:null===a||void 0===a?void 0:a.vat}}})}):(0,Kl.jsx)("div",{className:COe,children:(0,Kl.jsx)("h4",{children:"No PDF generated"})})}),(0,Kl.jsxs)(xE,{children:[(0,Kl.jsxs)("div",{className:xOe,children:[(0,Kl.jsx)("h6",{children:"Patient Email"}),(0,Kl.jsx)("p",{children:(null===a||void 0===a||null===(r=a.patient)||void 0===r||null===(o=r.user)||void 0===o?void 0:o.email)||""})]}),(0,Kl.jsxs)("div",{className:wOe,children:[(0,Kl.jsx)(zd.Z,{onClick:function(){return s()},color:"primary",variant:"outlined",children:"Cancel"}),(null===a||void 0===a?void 0:a.pdfUrl)&&(0,Kl.jsx)(zd.Z,{color:"primary",variant:"contained",endIcon:(0,Kl.jsx)(Wre.Z,{}),onClick:function(){return p||null===a||void 0===a||!a.pdfUrl?null:b()},disabled:p||!(null!==a&&void 0!==a&&a.pdfUrl),children:"Send"}),!(null!==a&&void 0!==a&&a.pdfUrl)&&(0,Kl.jsx)(zd.Z,{color:"primary",variant:"contained",onClick:function(){return h()},children:"Generate"})]})]})]})},DOe=__webpack_require__(76661),NOe=__webpack_require__(83630),TOe=["title","titleId"];function jOe(){return jOe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},jOe.apply(this,arguments)}function BOe(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function LOe(t,n){var r=t.title,o=t.titleId,i=BOe(t,TOe);return e.createElement("svg",jOe({width:20,height:13,viewBox:"0 0 20 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,MOe||(MOe=e.createElement("g",{id:"Group 13"},e.createElement("g",{id:"Group"},e.createElement("g",{id:"Group_2"},e.createElement("path",{id:"Vector",d:"M19.4784 6.34534C19.3069 6.1107 15.22 0.600098 10.0003 0.600098C4.78063 0.600098 0.693566 6.1107 0.522228 6.34512C0.359778 6.56772 0.359778 6.86963 0.522228 7.09223C0.693566 7.32687 4.78063 12.8375 10.0003 12.8375C15.22 12.8375 19.3069 7.32683 19.4784 7.09242C19.6411 6.86985 19.6411 6.56772 19.4784 6.34534ZM10.0003 11.5715C6.15546 11.5715 2.82541 7.91405 1.83964 6.71835C2.82414 5.52161 6.14721 1.86603 10.0003 1.86603C13.845 1.86603 17.1748 5.52289 18.161 6.71922C17.1765 7.91592 13.8534 11.5715 10.0003 11.5715Z",fill:"#B57C2A"}))),e.createElement("g",{id:"Group_3"},e.createElement("g",{id:"Group_4"},e.createElement("path",{id:"Vector_2",d:"M9.99997 2.9209C7.90589 2.9209 6.20215 4.62464 6.20215 6.71872C6.20215 8.8128 7.90589 10.5165 9.99997 10.5165C12.0941 10.5165 13.7978 8.8128 13.7978 6.71872C13.7978 4.62464 12.0941 2.9209 9.99997 2.9209ZM9.99997 9.25058C8.60384 9.25058 7.46811 8.11481 7.46811 6.71872C7.46811 5.32263 8.60388 4.18686 9.99997 4.18686C11.3961 4.18686 12.5318 5.32263 12.5318 6.71872C12.5318 8.11481 11.3961 9.25058 9.99997 9.25058Z",fill:"#B57C2A"}))))))}var ROe,qOe=e.forwardRef(LOe),POe=(__webpack_require__.p,["title","titleId"]);function IOe(){return IOe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},IOe.apply(this,arguments)}function WOe(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function FOe(t,n){var r=t.title,o=t.titleId,i=WOe(t,POe);return e.createElement("svg",IOe({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,ROe||(ROe=e.createElement("g",{id:"Outline Icons"},e.createElement("path",{id:"Vector",d:"M22.3803 3.00847C22.2828 2.57587 21.8102 2.29003 21.3799 2.44063C21.3799 2.44063 2.91572 8.95727 2.9042 8.96265C2.59992 9.09097 2.38324 9.38218 2.40091 9.72181C2.41551 9.99151 2.5907 10.2658 2.83812 10.3811L10.734 14.067C10.734 14.067 14.4084 21.9398 14.4322 21.9821C14.7611 22.5753 15.5848 22.4946 15.8407 21.8937C15.8407 21.8937 22.3596 3.42339 22.3604 3.42032C22.4065 3.29046 22.4111 3.14524 22.3803 3.00847ZM15.0162 19.6093L12.2354 13.6521L14.5721 11.3154C14.8725 11.015 14.8725 10.5294 14.5721 10.2289C14.2716 9.9285 13.786 9.9285 13.4856 10.2289L11.1489 12.5656L5.1909 9.78405L20.3756 4.42459L15.0162 19.6093Z",fill:"#B57C2A"}))))}var UOe,ZOe=e.forwardRef(FOe),HOe=(__webpack_require__.p,["title","titleId"]);function $Oe(){return $Oe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$Oe.apply(this,arguments)}function VOe(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function XOe(t,n){var r=t.title,o=t.titleId,i=VOe(t,HOe);return e.createElement("svg",$Oe({width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,UOe||(UOe=e.createElement("g",{id:"Group 14"},e.createElement("path",{id:"Vector",d:"M14.3338 12.0912C14.663 11.7611 14.8488 11.3144 14.8508 10.8482V7.15771C14.8488 6.69147 14.663 6.24483 14.3338 5.91471C14.171 5.75069 13.9774 5.62056 13.764 5.53182C13.5507 5.44308 13.3218 5.3975 13.0908 5.39771H4.87377C4.6427 5.3975 4.41388 5.44308 4.20053 5.53182C3.98719 5.62056 3.79353 5.75069 3.63077 5.91471C3.30154 6.24483 3.11577 6.69147 3.11377 7.15771V10.8482C3.11577 11.3144 3.30154 11.7611 3.63077 12.0912C3.79353 12.2552 3.98719 12.3854 4.20053 12.4741C4.41388 12.5628 4.6427 12.6084 4.87377 12.6082H13.0908C13.3218 12.6084 13.5507 12.5628 13.764 12.4741C13.9774 12.3854 14.171 12.2552 14.3338 12.0912ZM4.43377 11.2607C4.32497 11.1509 4.26373 11.0028 4.26327 10.8482V7.15771C4.26327 7.00163 4.32527 6.85194 4.43564 6.74157C4.546 6.63121 4.69569 6.56921 4.85177 6.56921H13.0908C13.2468 6.56921 13.3965 6.63121 13.5069 6.74157C13.6173 6.85194 13.6793 7.00163 13.6793 7.15771V10.8482C13.6793 11.0043 13.6173 11.154 13.5069 11.2643C13.3965 11.3747 13.2468 11.4367 13.0908 11.4367H4.87377C4.71855 11.4342 4.57049 11.371 4.46127 11.2607H4.43377Z",fill:"#B57C2A"}),e.createElement("path",{id:"Vector_2",d:"M8.98223 7.09155C8.60477 7.09155 8.23578 7.20348 7.92193 7.41319C7.60807 7.6229 7.36346 7.92097 7.21901 8.2697C7.07456 8.61843 7.03676 9.00217 7.1104 9.37238C7.18404 9.7426 7.36581 10.0827 7.63272 10.3496C7.89963 10.6165 8.23969 10.7982 8.6099 10.8719C8.98011 10.9455 9.36385 10.9077 9.71258 10.7633C10.0613 10.6188 10.3594 10.3742 10.5691 10.0604C10.7788 9.74651 10.8907 9.37752 10.8907 9.00005C10.8907 8.49389 10.6897 8.00845 10.3317 7.65054C9.97383 7.29263 9.4884 7.09155 8.98223 7.09155ZM8.98223 9.73155C8.83755 9.73155 8.69613 9.68865 8.57583 9.60827C8.45554 9.52789 8.36178 9.41365 8.30641 9.27999C8.25105 9.14632 8.23656 8.99924 8.26479 8.85734C8.29301 8.71545 8.36268 8.58511 8.46498 8.4828C8.56729 8.3805 8.69763 8.31083 8.83952 8.28261C8.98142 8.25438 9.1285 8.26887 9.26216 8.32424C9.39583 8.3796 9.51007 8.47336 9.59045 8.59365C9.67083 8.71395 9.71373 8.85538 9.71373 9.00005C9.71373 9.19406 9.63666 9.38012 9.49948 9.5173C9.3623 9.65448 9.17624 9.73155 8.98223 9.73155Z",fill:"#B57C2A"}),e.createElement("path",{id:"Vector_3",d:"M8.98222 0.200131C7.28477 0.203599 5.62455 0.697925 4.20166 1.62353C2.77877 2.54913 1.65395 3.86651 0.962765 5.41687C0.271584 6.96723 0.0435444 8.68441 0.306133 10.3614C0.568721 12.0385 1.31073 13.6037 2.44272 14.8686H2.23372C2.15203 14.8607 2.06959 14.87 1.99168 14.8958C1.91378 14.9216 1.84214 14.9635 1.78137 15.0186C1.72059 15.0738 1.67203 15.141 1.6388 15.2161C1.60557 15.2911 1.5884 15.3723 1.5884 15.4544C1.5884 15.5365 1.60557 15.6176 1.6388 15.6927C1.67203 15.7677 1.72059 15.835 1.78137 15.8901C1.84214 15.9453 1.91378 15.9871 1.99168 16.013C2.06959 16.0388 2.15203 16.0481 2.23372 16.0401H3.88372C4.03764 16.0334 4.18345 15.9692 4.29239 15.8603C4.40133 15.7514 4.46549 15.6055 4.47222 15.4516V13.8016C4.48015 13.7199 4.4709 13.6375 4.44507 13.5596C4.41924 13.4817 4.3774 13.41 4.32223 13.3493C4.26707 13.2885 4.19981 13.2399 4.12476 13.2067C4.04972 13.1735 3.96855 13.1563 3.88647 13.1563C3.8044 13.1563 3.72323 13.1735 3.64819 13.2067C3.57314 13.2399 3.50588 13.2885 3.45071 13.3493C3.39555 13.41 3.35371 13.4817 3.32788 13.5596C3.30205 13.6375 3.2928 13.7199 3.30072 13.8016V14.0821C2.092 12.7168 1.41773 10.9604 1.40228 9.13698C1.38682 7.31354 2.03122 5.546 3.21662 4.16036C4.40203 2.77472 6.04848 1.86444 7.85233 1.5974C9.65618 1.33036 11.4958 1.72457 13.0318 2.70733C14.5678 3.6901 15.6967 5.19512 16.2102 6.94483C16.7237 8.69454 16.5872 10.5709 15.8259 12.2279C15.0646 13.8849 13.7298 15.2107 12.0678 15.9609C10.4057 16.711 8.52844 16.8349 6.78222 16.3096C6.64835 16.2987 6.51476 16.3339 6.40365 16.4093C6.29253 16.4848 6.21058 16.596 6.17139 16.7245C6.13221 16.853 6.13815 16.991 6.18824 17.1156C6.23832 17.2402 6.32953 17.344 6.44672 17.4096C7.65924 17.7833 8.93822 17.8904 10.196 17.7235C11.4537 17.5566 12.6606 17.1197 13.7337 16.4428C14.8068 15.7658 15.7208 14.8648 16.4131 13.8015C17.1054 12.7383 17.5596 11.5379 17.7445 10.2826C17.9294 9.02738 17.8408 7.747 17.4845 6.52924C17.1283 5.31149 16.513 4.18516 15.6807 3.22749C14.8484 2.26981 13.8189 1.50344 12.6627 0.980899C11.5065 0.45836 10.251 0.192018 8.98222 0.200131Z",fill:"#B57C2A"}))))}var QOe=e.forwardRef(XOe),YOe=(__webpack_require__.p,{action:"table_action__6riF+",status:"table_status__H4lQp",paid:"table_paid__9LO10",refunded:"table_refunded__zT-qd",reversed:"table_reversed__HfSic",tableLink:"table_tableLink__3CLcT",clinic:"table_clinic__NQswU",type:"table_type__cEFNn",actionMenu:"table_actionMenu__FAaun",fullyPayment:"table_fullyPayment__qFDF7",deposit:"table_deposit__QRWSv",remainingBalance:"table_remainingBalance__v-e-2"}),GOe=function(e){var t=e.value,n={paid:YOe.paid,refunded:YOe.refunded,reversed:YOe.reversed};return(0,Kl.jsx)("div",{className:[YOe.status,n[t.toLowerCase()]].join(" "),children:t})},KOe=function(e){var t=e.url,n=e.label;return(0,Kl.jsx)(xu,{className:YOe.tableLink,to:t,children:n})},JOe=function(e){var t=e.amount,n=Math.round(t),r=new Intl.NumberFormat("en-GB",{style:"currency",currency:"GBP"}).format(n);return(0,Kl.jsx)("div",{children:r})},e_e=function(t){var r=t.data,o=t.setOpenPdfPreview,i=t.setReceiptId,a=(0,e.useState)(null),s=(0,n.Z)(a,2),l=s[0],c=s[1],u=function(){c(null)},d="refunded"===r.status,p="invoiced"===r.status||!0,f="paid"===r.status;return(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(zd.Z,{size:"small",onClick:function(e){c(e.currentTarget)},className:YOe.action,children:(0,Kl.jsx)(NOe.Z,{})}),(0,Kl.jsxs)(DOe.Z,{anchorEl:l,keepMounted:!0,open:Boolean(l),onClose:u,className:YOe.actionMenu,children:[(0,Kl.jsx)(xd.Z,{children:(0,Kl.jsxs)(xu,{to:"/financial/receipts/".concat(r.id),children:[(0,Kl.jsx)(qOe,{}),"View Receipt"]})}),(0,Kl.jsx)(xd.Z,{children:(0,Kl.jsx)("button",{type:"button",onClick:function(){o(!0),u()},children:(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(ZOe,{width:20}),"Send Receipt"]})})}),f&&(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(xd.Z,{disabled:p,children:(0,Kl.jsxs)(xu,{to:"/financial/receipts/invoice/".concat(r.id),children:[(0,Kl.jsx)(Kge,{width:20}),"Issue Invoice"]})}),(0,Kl.jsx)(xd.Z,{disabled:d,children:(0,Kl.jsx)("button",{disabled:d,type:"button",onClick:function(){return d?null:(i(),void u())},children:(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(QOe,{width:20}),"Refund"]})})})]})]})]})},t_e=function(e){var t=e.name,n=e.address;return(0,Kl.jsx)("div",{className:YOe.clinic,children:(0,Kl.jsxs)("p",{children:[(0,Kl.jsx)("b",{children:t})," - ",n]})})},n_e=function(e){var t=e.date;return t?(0,Kl.jsx)("div",{children:Vs()(t).format("DD-MM-YYYY hh:mm A")}):""},r_e=function(e){var t=e.value;return(0,Kl.jsx)("div",{className:YOe.type,children:t})},o_e=function(e){var t=e.value;if(!t)return"";var n=t.split("_").map((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})).join(" ");return(0,Kl.jsx)("div",{children:n})},i_e=function(e){var t,n,r=e.value,o={"Full Payment":{label:"Full Payment",className:"fullyPayment"},Deposit:{label:"Deposit",className:"deposit"},"Remaining Balance":{label:"Remaining Balance",className:"remainingBalance"}};return(0,Kl.jsx)("div",{className:YOe[null===(t=o[r])||void 0===t?void 0:t.className],children:null===(n=o[r])||void 0===n?void 0:n.label})};__webpack_require__.p;var a_e,s_e="refundDrawer_drawerWrapper__uAl2Y",l_e="refundDrawer_header__WwqRT",c_e="refundDrawer_headerTitle__Tu5Lm",u_e="refundDrawer_closeButton__WlBal",d_e="refundDrawer_headerInfo__azU7I",p_e="refundDrawer_content__zOstg",f_e="refundDrawer_elements__iRZaf",h_e="refundDrawer_sectionWrapper__z24Qf",b_e="refundDrawer_paymentMethodHolder__ge2tx",A_e="refundDrawer_paymentMethod__mLyJn",m_e="refundDrawer_paymentInfo__WX-F0",g_e="refundDrawer_paymentInfoItem__+rrgm",v_e="refundDrawer_label__KERXJ",y_e="refundDrawer_totalLabel__srVOc",M_e="refundDrawer_paymentInfoItemAmount__-P9ks",O_e="refundDrawer_paymentInfoItemTotalAmount__JyAt0",__e="refundDrawer_sectionFormWrapper__jlgRQ",z_e="refundDrawer_receiptDetailsWrapper__nuz5l",x_e="refundDrawer_receiptDetailsHeader__tqAOR",w_e="refundDrawer_receiptId__pnt1Y",C_e="refundDrawer_receiptDetailsContent__kyOgO",S_e="refundDrawer_receiptDetails__NeDQa",E_e="refundDrawer_totalAmount__HTeSV",k_e="refundDrawer_currentAmount__VkiE-",D_e="refundDrawer_amountHolder__hCAda",N_e="refundDrawer_sectionFooter__RimOM",T_e="refundDrawer_modalTitle__-zNfS",j_e="refundDrawer_modalContent__kLSxt",B_e="refundDrawer_resendopt__Oi54L",L_e=(0,Hu.Z)((function(){return{root:{"& .MuiPaper-root":{width:"100%",maxWidth:"443px !important"},"& .MuiDialogContent-root":{paddingTop:"13px"},"& .MuiDialogActions-root":{padding:"26px 24px 18px"}}}}))((function(e){return(0,Kl.jsx)(vC,Us({},e))})),R_e=function(t){var r,o,i,a,s,l=t.open,c=t.data,u=t.receiptId,d=t.onClose,p=hE().enqueueSnackbar,f=Fc().appointment,h=(0,e.useState)(c),b=(0,n.Z)(h,2),A=b[0],m=b[1],g=(0,e.useState)(!1),v=(0,n.Z)(g,2),y=v[0],M=v[1],O=(0,e.useState)(!1),_=(0,n.Z)(O,2),z=_[0],x=_[1],w=(0,e.useState)(""),C=(0,n.Z)(w,2),S=C[0],E=C[1],k=(0,e.useState)((null===c||void 0===c?void 0:c.totalAmount)||""),D=(0,n.Z)(k,2),N=D[0],T=D[1],j=(0,e.useState)(null),B=(0,n.Z)(j,2),L=B[0],R=B[1],q=(0,e.useState)(!1),P=(0,n.Z)(q,2),I=P[0],W=P[1],F=(0,e.useState)(""),U=(0,n.Z)(F,2),Z=U[0],H=U[1],$=(0,e.useState)(!1),V=(0,n.Z)($,2),X=V[0],Q=V[1],Y=[{slug:"cash",name:"Cash",icon:(0,Kl.jsx)(Jl,{})},{slug:"bank_transfer",name:"Transfer",icon:(0,Kl.jsx)(tc,{})},{slug:"card_payment",name:"Card Payment",icon:(0,Kl.jsx)(ec,{})},{slug:"voucher",name:"Voucher",icon:(0,Kl.jsx)(rc,{})},{slug:"other",name:"Other",icon:(0,Kl.jsx)(oc,{})}],G=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t,n,r,o;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return M(!0),e.prev=1,e.next=4,Re.get("/v1/receipts/".concat(u));case 4:o=e.sent,m(null===o||void 0===o||null===(t=o.data)||void 0===t?void 0:t.data),T(null===o||void 0===o||null===(n=o.data)||void 0===n||null===(r=n.data)||void 0===r?void 0:r.totalAmount),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(1),Object.values(null===e.t0||void 0===e.t0?void 0:e.t0.errors).forEach((function(e){return null===e||void 0===e?void 0:e.forEach((function(e){return p(e,{variant:"error"})}))}));case 12:return e.prev=12,M(!1),e.finish(12);case 15:case"end":return e.stop()}}),e,null,[[1,9,12,15]])})));return function(){return e.apply(this,arguments)}}(),K=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t,n,r;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t=Number(N),n={note:S,amount:t,paymentMethod:L,linkedReceiptId:u||A.id,appointmentId:A.appointmentId,otp:Z},e.next=5,Re.post("/v1/receipts/refund",n);case 5:r=e.sent,p(r.data.message,{variant:"success"}),x(!1),W(!1),d(),e.next=16;break;case 12:e.prev=12,e.t0=e.catch(0),x(!1),null!==e.t0&&void 0!==e.t0&&e.t0.error?p(null===e.t0||void 0===e.t0?void 0:e.t0.error,{variant:"error"}):Object.values(null===e.t0||void 0===e.t0?void 0:e.t0.errors).forEach((function(e){return null===e||void 0===e?void 0:e.forEach((function(e){return p(e,{variant:"error"})}))}));case 16:case"end":return e.stop()}}),e,null,[[0,12]])})));return function(){return e.apply(this,arguments)}}(),J=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,Q(!0),W(!0),e.next=5,Re.post("/v1/receipts/".concat(u,"/generate-otp"));case 5:Q(!1),e.next=13;break;case 8:e.prev=8,e.t0=e.catch(0),W(!1),Q(!1),null!==e.t0&&void 0!==e.t0&&e.t0.message?p(null===e.t0||void 0===e.t0?void 0:e.t0.message,{variant:"error"}):Object.values(null===e.t0||void 0===e.t0?void 0:e.t0.errors).forEach((function(e){return null===e||void 0===e?void 0:e.forEach((function(e){return p(e,{variant:"error"})}))}));case 13:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(){return e.apply(this,arguments)}}();(0,e.useEffect)((function(){u&&!c&&G()}),[u,c]);var ee=!L||""===N||""===S,te=Number(N)>Number(null===A||void 0===A?void 0:A.totalAmount),ne=null===A||void 0===A||null===(r=A.clientName)||void 0===r?void 0:r.split(" "),re=null===ne||void 0===ne||null===(o=ne.map((function(e){return e.charAt(0)})))||void 0===o?void 0:o.join(""),oe=(null===A||void 0===A||null===(i=A.payment)||void 0===i?void 0:i.total)+Number(null!==A&&void 0!==A&&null!==(a=A.paidDeposit)&&void 0!==a&&a.total?null===A||void 0===A||null===(s=A.paidDeposit)||void 0===s?void 0:s.total:0);return(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(op,{anchor:"right",open:l,onClose:function(){return d()},children:y?(0,Kl.jsx)(NE,{}):(0,Kl.jsxs)("div",{className:s_e,children:[(0,Kl.jsx)("div",{className:l_e,children:(0,Kl.jsxs)("div",{className:c_e,children:["REFUND",(0,Kl.jsx)(wd.Z,{size:"small",onClick:function(){return d()},children:(0,Kl.jsx)(dB.Z,{className:u_e})})]})}),(0,Kl.jsxs)("div",{className:d_e,children:[(0,Kl.jsx)(jp,{src:null===A||void 0===A?void 0:A.clientAvatar,children:re}),(0,Kl.jsxs)("div",{children:[(0,Kl.jsx)("h6",{children:null===A||void 0===A?void 0:A.clientName}),(0,Kl.jsx)("p",{children:Vs().utc(null===A||void 0===A?void 0:A.datetime).format("DD/MM/YYYY hh:mm A")})]})]}),(0,Kl.jsxs)("div",{className:p_e,children:[(0,Kl.jsxs)("div",{className:f_e,children:[(0,Kl.jsx)("div",{className:h_e,children:(0,Kl.jsxs)("div",{className:z_e,children:[(0,Kl.jsxs)("div",{className:x_e,children:[(0,Kl.jsxs)("div",{className:w_e,children:["#R-",null===A||void 0===A?void 0:A.id]}),(0,Kl.jsx)(i_e,{value:null===A||void 0===A?void 0:A.paymentType})]}),(0,Kl.jsxs)("div",{className:C_e,children:[(0,Kl.jsxs)("div",{className:S_e,children:[(0,Kl.jsx)("h6",{children:"AMOUNT PAID"}),(0,Kl.jsxs)("div",{className:D_e,children:[(0,Kl.jsx)("div",{className:k_e,children:(0,Kl.jsx)(JOe,{amount:null===A||void 0===A?void 0:A.totalAmount})}),(0,Kl.jsxs)("div",{className:E_e,children:["out of",(0,Kl.jsx)(JOe,{amount:oe})]})]})]}),(0,Kl.jsxs)("div",{className:S_e,children:[(0,Kl.jsx)("h6",{children:"PAYMENT METHOD"}),(0,Kl.jsx)("div",{className:A_e,children:(0,Kl.jsx)(o_e,{value:null===A||void 0===A?void 0:A.paymentMethod})})]})]})]})}),(0,Kl.jsxs)("div",{className:h_e,children:[(0,Kl.jsx)("h5",{children:"REFUND METHOD"}),(0,Kl.jsx)("div",{className:b_e,children:Y.map((function(e){return(0,Kl.jsxs)("div",{className:A_e,onClick:"completed"===f.status.slug||e.disabled?function(){}:function(){return R(e.slug)},style:{border:e.slug===L?"1px solid #D8A66A":"1px solid transparent",cursor:"completed"===f.status.slug||e.disabled?"not-allowed":"pointer",opacity:"completed"===f.status.slug||e.disabled?.5:1},children:[e.icon,(0,Kl.jsx)(kl.Z,{align:"center",noWrap:!0,variant:"body1",children:null===e||void 0===e?void 0:e.name})]},e.slug)}))})]}),(0,Kl.jsxs)("div",{className:h_e,children:[(0,Kl.jsx)("h5",{children:"REFUND AMOUNT"}),(0,Kl.jsxs)("div",{className:m_e,children:[(0,Kl.jsxs)("div",{className:g_e,children:[(0,Kl.jsx)("div",{className:v_e,children:"Total Cost"}),(0,Kl.jsx)("div",{className:M_e,children:(0,Kl.jsx)(JOe,{amount:null===A||void 0===A?void 0:A.totalAmount})})]}),(0,Kl.jsxs)("div",{className:g_e,children:[(0,Kl.jsx)("div",{className:v_e,children:"Total VAT"}),(0,Kl.jsx)("div",{className:M_e,children:(0,Kl.jsx)(JOe,{amount:null===A||void 0===A?void 0:A.vat})})]}),(0,Kl.jsx)("hr",{}),(0,Kl.jsxs)("div",{className:g_e,children:[(0,Kl.jsx)("div",{className:y_e,children:"Total Amount Paid"}),(0,Kl.jsx)("div",{className:O_e,children:(0,Kl.jsx)(JOe,{amount:Number(null===A||void 0===A?void 0:A.totalAmount)-Number(null===A||void 0===A?void 0:A.vat)})})]})]})]}),(0,Kl.jsxs)("div",{className:"".concat(h_e," ").concat(__e),children:[(0,Kl.jsx)(Wu.Z,{className:"native-border",error:te,label:"Amount to Refund",variant:"outlined",fullWidth:!0,value:N,helperText:te?"Incorrect entry":null,onChange:function(e){return T(e.target.value)}}),(0,Kl.jsx)(Wu.Z,{className:"native-border",label:"Refund note",variant:"outlined",fullWidth:!0,multiline:!0,rows:4,value:S,onChange:function(e){return E(e.target.value)}})]})]}),(0,Kl.jsx)("div",{className:N_e,children:(0,Kl.jsx)(Ck,{disabled:ee,variant:"contained",color:"primary",onClick:function(){return ee?null:"stripe"==L?J(!0):x(!0)},children:"RECORD REFUND"})})]})]})}),(0,Kl.jsxs)(L_e,{onClose:function(){return x(!1)},open:z,children:[(0,Kl.jsxs)("div",{className:T_e,children:["Confirm Refund",(0,Kl.jsx)(wd.Z,{size:"small",onClick:function(){return x(!1)},children:(0,Kl.jsx)(dB.Z,{})})]}),(0,Kl.jsx)(_E,{children:(0,Kl.jsxs)("div",{className:j_e,children:["Are you sure you want to refund",(0,Kl.jsx)("b",{children:(0,Kl.jsx)(JOe,{amount:N})})," ","to the patient ",(0,Kl.jsx)("b",{children:null===A||void 0===A?void 0:A.clientName}),"?"]})}),(0,Kl.jsxs)(xE,{children:[(0,Kl.jsx)(zd.Z,{fullWidth:!0,onClick:function(){return x(!1)},variant:"outlined",color:"primary",children:"Cancel"}),(0,Kl.jsx)(zd.Z,{fullWidth:!0,onClick:function(){return K()},variant:"contained",color:"primary",children:"Yes, Refund It"})]})]}),(0,Kl.jsxs)(L_e,{onClose:function(){return W(!1)},open:I,children:[(0,Kl.jsxs)("div",{className:T_e,children:["Confirm Refund",(0,Kl.jsx)(wd.Z,{size:"small",onClick:function(){return W(!1)},children:(0,Kl.jsx)(dB.Z,{})})]}),(0,Kl.jsx)(_E,{children:(0,Kl.jsxs)("div",{className:j_e,children:["Enter OTP that you have get on your phone to initiate refund,",(0,Kl.jsxs)("small",{children:[(0,Kl.jsx)("b",{children:"OTP will expire in 5 minutes"}),X&&(0,Kl.jsx)("span",{className:B_e,children:"OTP sending..."}),!X&&(0,Kl.jsx)("a",{className:B_e,onClick:function(){return J()},children:"Resend OTP"})]}),(0,Kl.jsx)(Wu.Z,{className:"native-border",label:"OTP",variant:"outlined",fullWidth:!0,value:Z,onChange:function(e){return H(e.target.value)},style:{marginTop:"10px"}})]})}),(0,Kl.jsxs)(xE,{children:[(0,Kl.jsx)(zd.Z,{fullWidth:!0,onClick:function(){return W(!1)},variant:"outlined",color:"primary",children:"Cancel"}),(0,Kl.jsx)(zd.Z,{fullWidth:!0,onClick:function(){return K()},variant:"contained",color:"primary",disabled:""===Z,children:"Submit"})]})]})]})},q_e=["title","titleId"];function P_e(){return P_e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},P_e.apply(this,arguments)}function I_e(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function W_e(t,n){var r=t.title,o=t.titleId,i=I_e(t,q_e);return e.createElement("svg",P_e({width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,a_e||(a_e=e.createElement("g",{id:"Outline Icons"},e.createElement("path",{id:"Vector",d:"M4.99998 19.1666C4.54165 19.1666 4.14929 19.0034 3.8229 18.677C3.49651 18.3506 3.33331 17.9583 3.33331 17.4999V8.33325C3.33331 7.87492 3.49651 7.48256 3.8229 7.15617C4.14929 6.82978 4.54165 6.66658 4.99998 6.66658H7.49998V8.33325H4.99998V17.4999H15V8.33325H12.5V6.66658H15C15.4583 6.66658 15.8507 6.82978 16.1771 7.15617C16.5035 7.48256 16.6666 7.87492 16.6666 8.33325V17.4999C16.6666 17.9583 16.5035 18.3506 16.1771 18.677C15.8507 19.0034 15.4583 19.1666 15 19.1666H4.99998ZM9.16665 13.3333V4.02075L7.83331 5.35408L6.66665 4.16658L9.99998 0.833252L13.3333 4.16658L12.1666 5.35408L10.8333 4.02075V13.3333H9.16665Z",fill:"#B57C2A"}))))}var F_e,U_e=e.forwardRef(W_e),Z_e=(__webpack_require__.p,["title","titleId"]);function H_e(){return H_e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},H_e.apply(this,arguments)}function $_e(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function V_e(t,n){var r=t.title,o=t.titleId,i=$_e(t,Z_e);return e.createElement("svg",H_e({width:15,height:16,viewBox:"0 0 15 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,F_e||(F_e=e.createElement("g",{id:"Group"},e.createElement("path",{id:"Vector",d:"M1.15551 3.46613H8.36406C8.58919 4.50599 9.51527 5.28773 10.6215 5.28773C11.7277 5.28773 12.6538 4.50599 12.8789 3.46613H14.3245C14.5945 3.46613 14.8134 3.24723 14.8134 2.97724C14.8134 2.70725 14.5945 2.48835 14.3245 2.48835H12.8789C12.6538 1.44848 11.7277 0.666748 10.6215 0.666748C9.51527 0.666748 8.58919 1.44848 8.36406 2.48835H1.15551C0.885526 2.48835 0.666626 2.70725 0.666626 2.97724C0.666626 3.24723 0.885526 3.46613 1.15551 3.46613ZM10.6215 1.64453C11.3564 1.64453 11.9542 2.24244 11.9542 2.97724C11.9542 3.71204 11.3563 4.30995 10.6215 4.30995C9.8867 4.30995 9.28879 3.71204 9.28879 2.97724C9.28879 2.24244 9.88658 1.64453 10.6215 1.64453Z",fill:"#B57C2A"}),e.createElement("path",{id:"Vector_2",d:"M14.3245 7.5113H7.11593C6.89079 6.47143 5.96472 5.6897 4.85848 5.6897C3.75225 5.6897 2.82617 6.47143 2.60104 7.5113H1.15551C0.885526 7.5113 0.666626 7.7302 0.666626 8.00019C0.666626 8.27017 0.885526 8.48907 1.15551 8.48907H2.60104C2.82617 9.52894 3.75225 10.3107 4.85848 10.3107C5.96472 10.3107 6.89079 9.52894 7.11593 8.48907H14.3245C14.5945 8.48907 14.8134 8.27017 14.8134 8.00019C14.8134 7.7302 14.5945 7.5113 14.3245 7.5113ZM4.85848 9.3329C4.12356 9.3329 3.52577 8.73499 3.52577 8.00019C3.52577 7.26539 4.12368 6.66747 4.85848 6.66747C5.59328 6.66747 6.19119 7.26526 6.19119 8.00019C6.19119 8.73511 5.5934 9.3329 4.85848 9.3329Z",fill:"#B57C2A"}),e.createElement("path",{id:"Vector_3",d:"M14.3245 12.534H12.8789C12.6538 11.4941 11.7277 10.7124 10.6215 10.7124C9.51527 10.7124 8.58919 11.4941 8.36406 12.534H1.15551C0.885526 12.534 0.666626 12.7529 0.666626 13.0229C0.666626 13.2929 0.885526 13.5118 1.15551 13.5118H8.36406C8.58919 14.5516 9.51527 15.3334 10.6215 15.3334C11.7277 15.3334 12.6538 14.5516 12.8789 13.5118H14.3245C14.5945 13.5118 14.8134 13.2929 14.8134 13.0229C14.8134 12.7529 14.5945 12.534 14.3245 12.534ZM10.6215 14.3556C9.88658 14.3556 9.28879 13.7577 9.28879 13.0229C9.28879 12.2881 9.8867 11.6902 10.6215 11.6902C11.3563 11.6902 11.9542 12.2881 11.9542 13.0229C11.9542 13.7577 11.3564 14.3556 10.6215 14.3556Z",fill:"#B57C2A"}))))}var X_e,Q_e,Y_e,G_e=e.forwardRef(V_e),K_e=(__webpack_require__.p,["title","titleId"]);function J_e(){return J_e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},J_e.apply(this,arguments)}function eze(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function tze(t,n){var r=t.title,o=t.titleId,i=eze(t,K_e);return e.createElement("svg",J_e({width:81,height:80,viewBox:"0 0 81 80",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,X_e||(X_e=e.createElement("rect",{x:.333008,width:80,height:80,rx:40,fill:"#F8F2EA"})),Q_e||(Q_e=e.createElement("path",{d:"M42.833 36.25C42.833 35.9185 42.7013 35.6005 42.4669 35.3661C42.2325 35.1317 41.9145 35 41.583 35H31.583C31.2515 35 30.9335 35.1317 30.6991 35.3661C30.4647 35.6005 30.333 35.9185 30.333 36.25C30.333 36.5815 30.4647 36.8995 30.6991 37.1339C30.9335 37.3683 31.2515 37.5 31.583 37.5H41.583C41.9145 37.5 42.2325 37.3683 42.4669 37.1339C42.7013 36.8995 42.833 36.5815 42.833 36.25ZM41.1663 41.25C41.1663 40.9185 41.0346 40.6005 40.8002 40.3661C40.5658 40.1317 40.2479 40 39.9163 40H31.583C31.2515 40 30.9335 40.1317 30.6991 40.3661C30.4647 40.6005 30.333 40.9185 30.333 41.25C30.333 41.5815 30.4647 41.8995 30.6991 42.1339C30.9335 42.3683 31.2515 42.5 31.583 42.5H39.9163C40.2479 42.5 40.5658 42.3683 40.8002 42.1339C41.0346 41.8995 41.1663 41.5815 41.1663 41.25ZM41.583 45C41.9145 45 42.2325 45.1317 42.4669 45.3661C42.7013 45.6005 42.833 45.9185 42.833 46.25C42.833 46.5815 42.7013 46.8995 42.4669 47.1339C42.2325 47.3683 41.9145 47.5 41.583 47.5H31.583C31.2515 47.5 30.9335 47.3683 30.6991 47.1339C30.4647 46.8995 30.333 46.5815 30.333 46.25C30.333 45.9185 30.4647 45.6005 30.6991 45.3661C30.9335 45.1317 31.2515 45 31.583 45H41.583Z",fill:"#B57C2A"})),Y_e||(Y_e=e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M30.333 56.25H51.9997C53.2153 56.25 54.381 55.7672 55.2406 54.9076C56.1001 54.0481 56.583 52.8823 56.583 51.6667V42.5C56.583 42.1685 56.4513 41.8506 56.2169 41.6162C55.9825 41.3817 55.6645 41.25 55.333 41.25H49.9163V28.2384C49.9163 25.8667 47.2347 24.4867 45.3047 25.865L45.013 26.0734C44.3743 26.5267 43.6102 26.7697 42.8269 26.7686C42.0437 26.7674 41.2803 26.522 40.643 26.0667C39.579 25.3095 38.3056 24.9026 36.9997 24.9026C35.6938 24.9026 34.4203 25.3095 33.3563 26.0667C32.719 26.522 31.9557 26.7674 31.1724 26.7686C30.3892 26.7697 29.625 26.5267 28.9863 26.0734L28.6947 25.865C26.7647 24.4867 24.083 25.865 24.083 28.2384V50C24.083 51.6576 24.7415 53.2474 25.9136 54.4195C27.0857 55.5916 28.6754 56.25 30.333 56.25ZM34.8097 28.1C35.4496 27.6458 36.2149 27.4017 36.9997 27.4017C37.7844 27.4017 38.5498 27.6458 39.1897 28.1C40.2508 28.8586 41.5223 29.2671 42.8267 29.2686C44.1311 29.27 45.4034 28.8645 46.4663 28.1084L46.758 27.9C46.8203 27.8557 46.8935 27.8294 46.9697 27.8239C47.0459 27.8184 47.1222 27.8339 47.1901 27.8689C47.2581 27.9038 47.3151 27.9567 47.355 28.0219C47.3949 28.0871 47.4161 28.162 47.4163 28.2384V51.6667C47.4163 52.4167 47.5963 53.125 47.9163 53.75H30.333C29.3384 53.75 28.3846 53.3549 27.6814 52.6517C26.9781 51.9484 26.583 50.9946 26.583 50V28.2384C26.5832 28.162 26.6044 28.0871 26.6443 28.0219C26.6842 27.9567 26.7413 27.9038 26.8092 27.8689C26.8772 27.8339 26.9534 27.8184 27.0296 27.8239C27.1059 27.8294 27.1791 27.8557 27.2413 27.9L27.533 28.1084C28.5959 28.8645 29.8683 29.27 31.1727 29.2686C32.4771 29.2671 33.7485 28.8586 34.8097 28.1ZM49.9163 51.6667V43.75H54.083V51.6667C54.083 52.2192 53.8635 52.7491 53.4728 53.1398C53.0821 53.5305 52.5522 53.75 51.9997 53.75C51.4471 53.75 50.9172 53.5305 50.5265 53.1398C50.1358 52.7491 49.9163 52.2192 49.9163 51.6667Z",fill:"#B57C2A"})))}var nze=e.forwardRef(tze),rze=(__webpack_require__.p,{pageWrapper:"receipts_pageWrapper__o06um",receiptDetails:"receipts_receiptDetails__hEU7e",statusWrapper:"receipts_statusWrapper__Htty2",title:"receipts_title__EIx5s",statusDetails:"receipts_statusDetails__DtNod",date:"receipts_date__Hqbdp",status:"receipts_status__tQ8T7",netBox:"receipts_netBox__JsDne",nexBoxItem:"receipts_nexBoxItem__O3Y7z",nexBoxItemTotal:"receipts_nexBoxItemTotal__vLSYH",breadcrumbs:"receipts_breadcrumbs__WJKNw",tableBox:"receipts_tableBox__aR+lD",patientWrapper:"receipts_patientWrapper__Lcwmr",patientContent:"receipts_patientContent__+2s8W",patientContentItem:"receipts_patientContentItem__dHAVP",avatar:"receipts_avatar__rRoyj",label:"receipts_label__2Y8dw",patientName:"receipts_patientName__hpw7u",dateValue:"receipts_dateValue__0HFSn",locationValue:"receipts_locationValue__lL4kk",patientHeader:"receipts_patientHeader__HyRxo",patientInfo:"receipts_patientInfo__Qw4Qr",patientLink:"receipts_patientLink__T6T69",patientId:"receipts_patientId__mM65s",buttonHolder:"receipts_buttonHolder__BmlxZ",refundButton:"receipts_refundButton__xNOOr",headerButtons:"receipts_headerButtons__096jp",box:"receipts_box__4Kh28",topBox:"receipts_topBox__zhkeL",summary:"receipts_summary__3un51",currentMonth:"receipts_currentMonth__hxL7y",totalPrice:"receipts_totalPrice__yXTP3",prevMonthPrice:"receipts_prevMonthPrice__fnEJx",percent:"receipts_percent__0yMlD",icon:"receipts_icon__hf3Fi",pageContent:"receipts_pageContent__a1zuI",tabWrapper:"receipts_tabWrapper__fN3lN",line:"receipts_line__Ie5J-",tab:"receipts_tab__44Jyg",table:"receipts_table__HcKRy",tableHeader:"receipts_tableHeader__nUoIr",buttonGroup:"receipts_buttonGroup__HC-zw",typeBox:"receipts_typeBox__WB893",rateColumn:"receipts_rateColumn__MBSuc",vatColumn:"receipts_vatColumn__nYMOD",tablePriceColumn:"receipts_tablePriceColumn__68lFl",priceWrapper:"receipts_priceWrapper__IVas5",paymentDetails:"receipts_paymentDetails__6bE2K",paymentDetailsHolder:"receipts_paymentDetailsHolder__muu1y",boxTimeline:"receipts_boxTimeline__TW-pF",boxBalance:"receipts_boxBalance__PaBkB",balanceWrapper:"receipts_balanceWrapper__sGopL",titleHolder:"receipts_titleHolder__U434S",titleBox:"receipts_titleBox__5JPVr",remainingBalance:"receipts_remainingBalance__w6FYW",price:"receipts_price__iqKjX",greenPrice:"receipts_greenPrice__VJFEy",redPrice:"receipts_redPrice__nAwQD",timelineWrapper:"receipts_timelineWrapper__5W8yL",timelineTitle:"receipts_timelineTitle__74oSX",subtitleBox:"receipts_subtitleBox__ada1Z",timelineSeparator:"receipts_timelineSeparator__Hq6B0",timelineItem:"receipts_timelineItem__kSpN1",timelineItemTitle:"receipts_timelineItemTitle__Xj75O",timelineItemSubTitle:"receipts_timelineItemSubTitle__WWBzf",timelineItemContent:"receipts_timelineItemContent__aGv4W",timelineItemHolder:"receipts_timelineItemHolder__pGpac",details:"receipts_details__sfwSc",serviceTitle:"receipts_serviceTitle__njgMe",tableDescriptionColumn:"receipts_tableDescriptionColumn__u9Mbu",tableId:"receipts_tableId__Mbujw",tablePrice:"receipts_tablePrice__unyw3",tableService:"receipts_tableService__zJWi9",serviceTable:"receipts_serviceTable__aqSWP",tableDescription:"receipts_tableDescription__FtTdW",warningModalWrapper:"receipts_warningModalWrapper__4NSay"}),oze=function(e){var t=e.label,n=e.onDelete;return(0,Kl.jsx)(t6,{size:"small",label:t,color:"primary",onDelete:n})},ize=function(t){var n,o=t.treatments,i=he(),a=fe(),s=(0,e.useContext)(bA),l=new URLSearchParams(a.search),c=l.getAll("paymentType[]"),u=l.getAll("paymentMethod[]"),d=l.getAll("paymentStatus[]"),p=l.getAll("services[]"),f=l.getAll("patients[]"),h=l.getAll("patientsName[]"),b=l.get("startDate"),A=l.get("endDate"),m=l.getAll("clinicLocation[]"),g=l.getAll("types[]"),v={deposit:"Deposit",fullPayment:"Full Payment",remainingBalance:"Remaining Balance"},y={cash:"Cash",transfer:"Transfer",cardPayment:"Card Payment",voucher:"Voucher",other:"Other",splitPayment:"Split Payment"},M={paid:"Paid",refunded:"Refunded"},O={product:"Product",service:"Service"},_=null===s||void 0===s||null===(n=s.clinic)||void 0===n?void 0:n.locations,z=[{key:"startDate",label:b&&A?"Date Updated: ".concat(Vs()(b).format("DD MMM, YYYY")," to ").concat(Vs()(A).format("DD MMM, YYYY")):null,onDelete:function(){return x("date")}},{key:"paymentType[]",label:(null===c||void 0===c?void 0:c.length)>0?"Type: ".concat(c.map((function(e){return v[e]})).join(", ")):null,onDelete:function(){return x("paymentType[]")}},{key:"paymentMethod[]",label:(null===u||void 0===u?void 0:u.length)>0?"Method: ".concat(u.map((function(e){return y[e]})).join(", ")):null,onDelete:function(){return x("paymentMethod[]")}},{key:"paymentStatus[]",label:(null===d||void 0===d?void 0:d.length)>0?"Status: ".concat(d.map((function(e){return M[e]})).join(", ")):null,onDelete:function(){return x("paymentStatus[]")}},{key:"services[]",label:(null===p||void 0===p?void 0:p.length)>0?"Service: ".concat((0,r.Z)(new Set(o.filter((function(e){return p.map((function(e){return Number(e)})).includes(e.id)})).map((function(e){return e.name})))).join(", ")):null,onDelete:function(){return x("services[]")}},{key:"patients[]",label:(null===f||void 0===f?void 0:f.length)>0?"Patient: ".concat(h.join(", ")):null,onDelete:function(){return x("patients[]")}},{key:"clinicLocation[]",label:(null===m||void 0===m?void 0:m.length)>0?"Location: ".concat(m.map((function(e){return _.find((function(t){return t.id===Number(e)})).name})).join(", ")):null,onDelete:function(){return x("clinicLocation[]")}},{key:"types[]",label:(null===g||void 0===g?void 0:g.length)>0?"Type: ".concat(g.map((function(e){return O[e]})).join(", ")):null,onDelete:function(){return x("types[]")}}],x=function(e){var t=new URLSearchParams(a.search),n={date:["startDate","endDate","isCustom"],"patients[]":["patients[]","patientsName[]"],"paymentType[]":["paymentType[]"],"paymentMethod[]":["paymentMethod[]"],"paymentStatus[]":["paymentStatus[]"],"services[]":["services[]"],"clinicLocation[]":["clinicLocation[]"],"types[]":["types[]"]};n[e]&&n[e].forEach((function(e){return t.delete(e)})),i("".concat(a.pathname,"?").concat(t.toString()))};return(0,Kl.jsx)("div",{className:"chip-holder",children:z.map((function(e,t){return e.label&&(0,Kl.jsx)(oze,{label:e.label,onDelete:e.onDelete},t)}))})},aze=["children","value","index"];function sze(e){var t=e.children,n=e.value,r=e.index,o=(0,Uu.Z)(e,aze);return(0,Kl.jsx)("div",Us(Us({role:"tabpanel",hidden:n!==r,id:"full-width-tabpanel-".concat(r),"aria-labelledby":"full-width-tab-".concat(r)},o),{},{children:n===r&&(0,Kl.jsx)(Cb,{p:3,children:(0,Kl.jsx)(kl.Z,{children:t})})}))}function lze(e){return{id:"full-width-tab-".concat(e),"aria-controls":"full-width-tabpanel-".concat(e)}}var cze,uze=(0,Hu.Z)((function(e){return{root:{color:"#6a6a6a",fontSize:16,height:54,"&.Mui-selected":{color:"#B57C2A !important"},"&.MuiTab-labelIcon":{minHeight:"auto"}}}}))((function(e){return(0,Kl.jsx)(Vb,Us({},e))})),dze=(0,Hu.Z)((function(e){return{root:{"& .MuiDataGrid-cell":{borderLeft:"1px solid #E9E9E9"},"& .MuiDataGrid-cell:focus":{outline:"none"},"& .MuiDataGrid-cell:first-child":{borderLeft:"none"},"& .MuiDataGrid-columnHeader":{borderLeft:"1px solid #E9E9E9"},"& .MuiDataGrid-columnHeader:first-child":{borderLeft:"none"},"& .MuiDataGrid-columnHeaderTitle":{whiteSpace:"normal",lineHeight:"normal"},"&  .MuiDataGrid-columnSeparator":{display:"none"},"& .MuiDataGrid-overlay":{backgroundColor:"#fff",zIndex:1},"& .MuiTablePagination-caption[id]":{[e.breakpoints.up("xs")]:{display:"block"}},"& .MuiTablePagination-input":{[e.breakpoints.up("xs")]:{display:"block"}}}}}))((function(e){return(0,Kl.jsx)(sG._$r,Us({},e))})),pze=function(){var t,r,o,i,a,s,l,c=fe(),u=he(),d=hE().enqueueSnackbar,p=(0,e.useState)(0),f=(0,n.Z)(p,2),h=f[0],A=f[1],m=(0,e.useState)(0),g=(0,n.Z)(m,2),v=g[0],y=g[1],M=(0,e.useState)(!1),O=(0,n.Z)(M,2),_=O[0],z=O[1],x=(0,e.useState)(!1),w=(0,n.Z)(x,2),C=w[0],S=w[1],E=(0,e.useState)(!1),k=(0,n.Z)(E,2),D=(k[0],k[1],(0,e.useState)([])),N=(0,n.Z)(D,2),T=N[0],j=N[1],B=(0,e.useState)([]),L=(0,n.Z)(B,2),R=L[0],q=L[1],P=(0,e.useState)(null),I=(0,n.Z)(P,2),W=I[0],F=I[1],U=(0,e.useState)(!1),Z=(0,n.Z)(U,2),H=Z[0],$=Z[1],V=(0,e.useState)(null),X=(0,n.Z)(V,2),Q=X[0],Y=X[1],G=(0,e.useState)(null),K=(0,n.Z)(G,2),J=(K[0],K[1]),ee=(0,e.useState)(""),te=(0,n.Z)(ee,2),ne=te[0],re=te[1],oe=(0,e.useState)(null),ie=(0,n.Z)(oe,2),ae=ie[0],se=ie[1],le=new URLSearchParams(c.search),ce=[{field:"id",headerName:"Number",width:120,headerClassName:rze.tableHeader,filterable:!1,renderCell:function(e){var t=e.value;return"R-".concat(t)}},{field:"paymentType",headerName:"Payment Type",width:160,headerClassName:rze.tableHeader,filterable:!1,renderCell:function(e){var t=e.value;return(0,Kl.jsx)(i_e,{value:t})}},{field:"clientName",headerName:"Client Name",width:170,headerClassName:rze.tableHeader,filterable:!1,renderCell:function(e){var t=e.row;return(0,Kl.jsx)(KOe,{label:t.clientName,url:"/patients/".concat(t.clientId)})}},{field:"type",headerName:"Type",width:160,headerClassName:rze.tableHeader,filterable:!1,renderCell:function(){return(0,Kl.jsx)("div",{className:rze.typeBox,children:"Service"})}},{field:"datetime",headerName:"Transaction Time",headerClassName:rze.tableHeader,width:180,filterable:!1,renderCell:function(e){var t=e.value;return(0,Kl.jsx)(n_e,{date:t})}},{field:"appointmentTime",headerName:"Appointment Time",headerClassName:rze.tableHeader,width:180,filterable:!1,renderCell:function(e){var t=e.row;return(0,Kl.jsx)(KOe,{label:Vs()(t.appointmentTime).format("DD-MM-YYYY hh:mm A"),url:"/calendar/appointment/".concat(t.appointmentId)})}},{field:"clinicAddress",headerName:"Clinic Address",headerClassName:rze.tableHeader,width:270,filterable:!1,renderCell:function(e){var t=e.row;return(0,Kl.jsx)(t_e,{name:t.clinicName,address:t.location||t.clinicAddress})}},{field:"treatmentType",headerName:"Product / Services",width:250,filterable:!1,renderCell:function(e){var t=e.value.filter((function(e){return null!==e}));return(0,Kl.jsx)(Ow.ZP,{title:t.join(", "),arrow:!0,children:(0,Kl.jsx)("div",{children:(0,Kl.jsx)(r_e,{value:t.join(", ")})})})}},{field:"totalAmount",headerName:"Total Amount",width:155,headerClassName:rze.tableHeader,filterable:!1,renderCell:function(e){var t=e.value;return(0,Kl.jsx)(JOe,{amount:t})}},{field:"netAmount",headerName:"Net Amount",width:145,filterable:!1,headerClassName:rze.tableHeader,renderCell:function(e){var t=e.value;return(0,Kl.jsx)(JOe,{amount:t})}},{field:"vat",headerName:"Tax on Transaction",width:142,filterable:!1,headerClassName:rze.tableHeader,renderCell:function(e){var t=e.value;return(0,Kl.jsx)(JOe,{amount:t})}},{field:"paymentMethod",filterable:!1,headerName:"Payment Method",headerClassName:rze.tableHeader,width:190,renderCell:function(e){var t=e.value;return(0,Kl.jsx)(o_e,{value:t})}},{field:"status",headerName:"Status",width:139,filterable:!1,sortable:!1,headerClassName:rze.tableHeader,renderCell:function(e){var t=e.value;return(0,Kl.jsx)(GOe,{value:t})}},{field:"action",headerName:"Action",headerClassName:rze.tableHeader,width:76,sortable:!1,renderCell:function(e){var t=e.row;return(0,Kl.jsx)(e_e,{data:t,setOpenPdfPreview:function(e){$(e),Y(t)},setReceiptId:function(){return se(t.id)}})}}],ue=function(){var e,t=new URLSearchParams(c.search),r={},o=(0,b.Z)(t.entries());try{for(o.s();!(e=o.n()).done;){var i=(0,n.Z)(e.value,2),a=i[0],s=i[1];r[a]=!isNaN(parseFloat(s))&&isFinite(s)?parseFloat(s):decodeURIComponent(s)}}catch(l){o.e(l)}finally{o.f()}return r},de=(0,e.useCallback)((0,Hs.Z)((0,Zs.Z)().mark((function e(){var t,n,r,o,i;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return z(!0),e.prev=1,e.next=4,Re.get("/v1/receipts".concat(c.search));case 4:i=e.sent,j(null===i||void 0===i||null===(t=i.data)||void 0===t?void 0:t.data),y(null===i||void 0===i||null===(n=i.data)||void 0===n?void 0:n.total),F(null===i||void 0===i||null===(r=i.data)||void 0===r?void 0:r.summary),J(null===i||void 0===i||null===(o=i.data)||void 0===o?void 0:o.earliestCreatedReceipt),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(1),console.log(e.t0);case 14:return e.prev=14,z(!1),e.finish(14);case 17:case"end":return e.stop()}}),e,null,[[1,11,14,17]])}))),[c.search]),pe=function(e,t){le.set(e,t),z(!0),u("".concat(c.pathname,"?").concat(le.toString()))},be=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t,n,r,o;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=c.search?"".concat(c.search,"&receipts_id=").concat(ne):"?receipt_ids=".concat(ne),n="/v1/receipts/export".concat(t),e.next=4,Re.get(n);case 4:r=e.sent,o=r.data,d(o.message,{variant:o.status});case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,e.useEffect)((function(){Re.get("/v1/staff-by-subdomain",{params:{location:"all"}}).then((function(e){var t;return q(null===(t=e.data.data)||void 0===t?void 0:t.flatMap((function(e){return e.treatmentTypes})))}))}),[]),(0,e.useEffect)((function(){C||de()}),[c.search]),(0,Kl.jsxs)("div",{className:rze.pageWrapper,children:[(0,Kl.jsx)("div",{className:rze.summary,children:(0,Kl.jsxs)("div",{className:rze.box,children:[(0,Kl.jsxs)("div",{children:[(0,Kl.jsx)("h4",{children:"Total Transaction"}),(0,Kl.jsxs)("div",{className:rze.currentMonth,children:[(0,Kl.jsx)("div",{className:rze.totalPrice,children:(0,Kl.jsx)(JOe,{amount:(null===W||void 0===W||null===(t=W.totalTransaction)||void 0===t?void 0:t.currentMonth)||0})}),(0,Kl.jsx)("div",{className:rze.percent,children:"".concat((null===W||void 0===W||null===(r=W.totalTransaction)||void 0===r?void 0:r.diffInPercent)>0?"+":"").concat((null===W||void 0===W||null===(o=W.totalTransaction)||void 0===o?void 0:o.diffInPercent)||0,"%")})]}),(0,Kl.jsxs)("div",{className:rze.prevMonthPrice,children:["previous month :"," ",(0,Kl.jsx)(JOe,{amount:(null===W||void 0===W||null===(i=W.totalTransaction)||void 0===i?void 0:i.prevMonth)||0})]})]}),(0,Kl.jsx)("div",{className:rze.icon,children:(0,Kl.jsx)(nze,{})})]})}),(0,Kl.jsxs)("div",{className:rze.pageContent,children:[(0,Kl.jsxs)(Hb,{centered:!0,value:h,onChange:function(e,t){A(t)},className:rze.tabWrapper,TabIndicatorProps:{style:{backgroundColor:"#b57c2a"}},children:[(0,Kl.jsx)(uze,Us(Us({label:"RECEIPTS",icon:(0,Kl.jsx)(cf,{})},lze(0)),{},{className:rze.tab})),(0,Kl.jsx)(uze,Us(Us({label:"INVOICES",icon:(0,Kl.jsx)(hh,{})},lze(1)),{},{className:rze.tab,disabled:!0}))]}),(0,Kl.jsx)("div",{className:rze.line}),(0,Kl.jsxs)(sze,{value:h,index:0,children:[(0,Kl.jsxs)("div",{className:rze.buttonGroup,children:[(0,Kl.jsx)(zd.Z,{variant:"outlined",color:"primary",startIcon:(0,Kl.jsx)(G_e,{}),onClick:function(){return S(!0)},children:"Filter"}),(0,Kl.jsx)(zd.Z,{variant:"outlined",color:"primary",startIcon:(0,Kl.jsx)(U_e,{}),onClick:function(){return be()},children:"Export"})]}),(0,Kl.jsx)(ize,{treatments:R}),(0,Kl.jsx)("div",{style:{height:(-1!=navigator.platform.indexOf("Win")?130:110)+52*(T.length||(null===(a=ue())||void 0===a?void 0:a.perPage)||10),width:"100%"},children:(0,Kl.jsx)(dze,{className:rze.table,rows:T,columns:ce,loading:_,page:((null===(s=ue())||void 0===s?void 0:s.page)||1)-1,pageSize:(null===(l=ue())||void 0===l?void 0:l.perPage)||10,rowsPerPageOptions:[5,10,20,50,100],rowCount:v,checkboxSelection:!0,disableSelectionOnClick:!0,disableColumnMenu:!0,pagination:!0,paginationMode:"server",sortingMode:"server",onSortModelChange:function(e){return function(e){var t,n,r=(null===(t=e[0])||void 0===t?void 0:t.field)||"id",o=(null===(n=e[0])||void 0===n?void 0:n.sort)||"asc",i=new URLSearchParams(c.search);r===i.get("sortBy")&&o===i.get("sortOrder")||(i.set("sortOrder",o),i.set("sortBy",r),u("".concat(c.pathname,"?").concat(i.toString())))}(e)},onPageSizeChange:function(e){return pe("perPage",e)},onPageChange:function(e){return pe("page",e+1)},onSelectionModelChange:function(e){return function(e){new URLSearchParams(c.search),e.join(","),re(e)}(e)}})}),(0,Kl.jsx)(GMe,{treatments:R,open:C,onClose:function(){return S(!1)}}),(0,Kl.jsx)(kOe,{open:H,selectedRowPayload:Q,onClose:function(){return $(!1)}})]}),(0,Kl.jsx)(sze,{value:h,index:1,children:"Invoice goes here"})]}),(0,Kl.jsx)(R_e,{open:!!ae,receiptId:ae,onClose:function(){return se(null),void de()}})]})},fze="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAuCAYAAABXuSs3AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAP7SURBVHgB1Vm/T9tAFH4+pzhpEQpVUmIEIikLKkOzNRsZKiF1aLu1IyMjc39s7Vz+BEakLixVhdohbGGpoqoVqC0kVUMSCGoiSnBMEl/vnTDKL2IncYL9LXHO96zvnt+9e++zAH2CUurO5/NzUK0GNEq9IAgBNuzGcX2OIAhFqmlFkZAcAUiJHk9ufHy8CH1AgB6ApA4PDsIUYI6xCkIvoDQlAiTuTE0loAd0RRwJ59LpiCCKkXqP9gP+Nmq1hDw9HevKzuzEbDYbFCh9SjEcBgBcANG0mNk3YEgcPZtNp6MCIREYAkRBiPtlOcYWUu40ryPxQqHgPVeU52zTBWCIQO9LHs9apw18JXEkrSrK0qBCwwhG5NsSv27SOjqRJ80DGNN2IH3BhYdquwzWQhw3oh1I68D9lc9mo83jDcSP0unwsLJHN6hRGsF0XD/WQFwjJApdYu/Di8Wd98vPBjVfx8UZchkyLv2CrSjK6glTIXJ+mndXzo75Q9STTECrqO7S0Y4p2+b5N276yiOj/rKRHYYvntrsMsYXot/IZTIrRrGNhPc/vn5ydrw3BxZiVJ5PBB++3DRaAB5KE7K8ir88VDC2zWzI1Oe3i1aTRpxmv4f/bL1bMJrHi7vDwzBec+I1UQyDCZwd/bKctI5/B19NcaDVKudA8LABTQuaMdJqqiUVYV/PZmU0ep4oijLUOsQKYOOCoRIEp4F1Wy4BWy1KTdt4fLO7vnuPt8FC/P356X4p+81UjCOwRXSxxO41T5s1k96pnH/+UQosxGnmy0ypGwPmbGKnuqQLuAk4EDyrgENBjHo7uwI97jjiXBFgAZMDhwFVMaIx9uAwcCnP5XI5zuOoP5JSqbQLDoOoqjkSCoXKQEgKnAImlo6HQkWex4VazTFeR4UXfzlxpVJJmMnnRJTKldKx5SUCPhOfbTQP06AuivJmGcOFNctx9hqinQzHgpHt4t7Wwo+NFbhxy2dJNkLS2Lrdnl2IGc1FOVq/vmyWk8mk2yNJy0ZF1/7mm+jJ7/gDq7oh9PTYTGT77uKrWKd56O3A5OTq5f/6m1x00bQlsCFESjfqtfOGIkuW5RRl+jTYDKiZNwv+LdWhqqoxaqMyAEPEzzg1j7cQx43qqVTWBRuUAlxmVtU1Ac+a5ntXGRWSSa8qSdcr7DPSeNi0vd/J+LrIsyYhN6Kq61eRRhh+vMI0KUlSlDXVw/t4xWK6XXjUw/TnQtQXUYYe5OdCltE2MLOZmg9dAuVo5v2wVQvAUgNTcKBcjht5ucEOegS+AS6WmtQdW8AqUizuJrBO6oKwjp6J68ANrEhSgBU9wRoTarjAVPc2Loq3MraIBFMsa1z8rAfohWw9/gO2NA71sM5tCQAAAABJRU5ErkJggg==",hze=["title","titleId"];function bze(){return bze=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bze.apply(this,arguments)}function Aze(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function mze(t,n){var r=t.title,o=t.titleId,i=Aze(t,hze);return e.createElement("svg",bze({width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,cze||(cze=e.createElement("g",{id:"Group 14"},e.createElement("path",{id:"Vector",d:"M14.3333 12.0912C14.6625 11.7611 14.8483 11.3144 14.8503 10.8482V7.15771C14.8483 6.69147 14.6625 6.24483 14.3333 5.91471C14.1705 5.75069 13.9769 5.62056 13.7635 5.53182C13.5502 5.44308 13.3213 5.3975 13.0903 5.39771H4.87328C4.64221 5.3975 4.4134 5.44308 4.20005 5.53182C3.9867 5.62056 3.79305 5.75069 3.63028 5.91471C3.30105 6.24483 3.11528 6.69147 3.11328 7.15771V10.8482C3.11528 11.3144 3.30105 11.7611 3.63028 12.0912C3.79305 12.2552 3.9867 12.3854 4.20005 12.4741C4.4134 12.5628 4.64221 12.6084 4.87328 12.6082H13.0903C13.3213 12.6084 13.5502 12.5628 13.7635 12.4741C13.9769 12.3854 14.1705 12.2552 14.3333 12.0912ZM4.43328 11.2607C4.32449 11.1509 4.26324 11.0028 4.26278 10.8482V7.15771C4.26278 7.00163 4.32478 6.85194 4.43515 6.74157C4.54551 6.63121 4.6952 6.56921 4.85128 6.56921H13.0903C13.2464 6.56921 13.396 6.63121 13.5064 6.74157C13.6168 6.85194 13.6788 7.00163 13.6788 7.15771V10.8482C13.6788 11.0043 13.6168 11.154 13.5064 11.2643C13.396 11.3747 13.2464 11.4367 13.0903 11.4367H4.87328C4.71807 11.4342 4.57 11.371 4.46078 11.2607H4.43328Z",fill:"#F44336"}),e.createElement("path",{id:"Vector_2",d:"M8.98077 7.09155C8.6033 7.09155 8.23431 7.20348 7.92046 7.41319C7.60661 7.6229 7.36199 7.92097 7.21754 8.2697C7.07309 8.61843 7.0353 9.00217 7.10894 9.37238C7.18258 9.7426 7.36434 10.0827 7.63125 10.3496C7.89816 10.6165 8.23822 10.7982 8.60844 10.8719C8.97865 10.9455 9.36239 10.9077 9.71112 10.7633C10.0599 10.6188 10.3579 10.3742 10.5676 10.0604C10.7773 9.74651 10.8893 9.37752 10.8893 9.00005C10.8893 8.49389 10.6882 8.00845 10.3303 7.65054C9.97237 7.29263 9.48693 7.09155 8.98077 7.09155ZM8.98077 9.73155C8.83609 9.73155 8.69466 9.68865 8.57437 9.60827C8.45407 9.52789 8.36031 9.41365 8.30495 9.27999C8.24958 9.14632 8.2351 8.99924 8.26332 8.85734C8.29155 8.71545 8.36122 8.58511 8.46352 8.4828C8.56582 8.3805 8.69616 8.31083 8.83806 8.28261C8.97996 8.25438 9.12704 8.26887 9.2607 8.32424C9.39436 8.3796 9.50861 8.47336 9.58899 8.59365C9.66937 8.71395 9.71227 8.85538 9.71227 9.00005C9.71227 9.19406 9.6352 9.38012 9.49802 9.5173C9.36083 9.65448 9.17477 9.73155 8.98077 9.73155Z",fill:"#F44336"}),e.createElement("path",{id:"Vector_3",d:"M8.98125 0.200131C7.28379 0.203599 5.62357 0.697925 4.20068 1.62353C2.77779 2.54913 1.65297 3.86651 0.961788 5.41687C0.270607 6.96723 0.0425678 8.68441 0.305156 10.3614C0.567745 12.0385 1.30975 13.6037 2.44175 14.8686H2.23275C2.15106 14.8607 2.06861 14.87 1.99071 14.8958C1.9128 14.9216 1.84116 14.9635 1.78039 15.0186C1.71962 15.0738 1.67105 15.141 1.63782 15.2161C1.60459 15.2911 1.58742 15.3723 1.58742 15.4544C1.58742 15.5365 1.60459 15.6176 1.63782 15.6927C1.67105 15.7677 1.71962 15.835 1.78039 15.8901C1.84116 15.9453 1.9128 15.9871 1.99071 16.013C2.06861 16.0388 2.15106 16.0481 2.23275 16.0401H3.88275C4.03667 16.0334 4.18247 15.9692 4.29141 15.8603C4.40035 15.7514 4.46452 15.6055 4.47125 15.4516V13.8016C4.47917 13.7199 4.46992 13.6375 4.44409 13.5596C4.41826 13.4817 4.37642 13.41 4.32126 13.3493C4.2661 13.2885 4.19883 13.2399 4.12379 13.2067C4.04874 13.1735 3.96757 13.1563 3.8855 13.1563C3.80342 13.1563 3.72226 13.1735 3.64721 13.2067C3.57216 13.2399 3.5049 13.2885 3.44974 13.3493C3.39457 13.41 3.35273 13.4817 3.3269 13.5596C3.30107 13.6375 3.29182 13.7199 3.29975 13.8016V14.0821C2.09102 12.7168 1.41676 10.9604 1.4013 9.13698C1.38584 7.31354 2.03024 5.546 3.21564 4.16036C4.40105 2.77472 6.04751 1.86444 7.85136 1.5974C9.6552 1.33036 11.4948 1.72457 13.0308 2.70733C14.5668 3.6901 15.6957 5.19512 16.2092 6.94483C16.7227 8.69454 16.5862 10.5709 15.8249 12.2279C15.0636 13.8849 13.7289 15.2107 12.0668 15.9609C10.4047 16.711 8.52747 16.8349 6.78125 16.3096C6.64737 16.2987 6.51379 16.3339 6.40267 16.4093C6.29156 16.4848 6.2096 16.596 6.17042 16.7245C6.13123 16.853 6.13717 16.991 6.18726 17.1156C6.23734 17.2402 6.32856 17.344 6.44575 17.4096C7.65826 17.7833 8.93724 17.8904 10.195 17.7235C11.4528 17.5566 12.6596 17.1197 13.7327 16.4428C14.8058 15.7658 15.7198 14.8648 16.4121 13.8015C17.1044 12.7383 17.5586 11.5379 17.7435 10.2826C17.9285 9.02738 17.8398 7.747 17.4836 6.52924C17.1273 5.31149 16.512 4.18516 15.6797 3.22749C14.8474 2.26981 13.8179 1.50344 12.6617 0.980899C11.5055 0.45836 10.25 0.192018 8.98125 0.200131Z",fill:"#F44336"}))))}var gze,vze,yze,Mze=e.forwardRef(mze),Oze=(__webpack_require__.p,["title","titleId"]);function _ze(){return _ze=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_ze.apply(this,arguments)}function zze(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function xze(t,n){var r=t.title,o=t.titleId,i=zze(t,Oze);return e.createElement("svg",_ze({width:"800px",height:"800px",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,gze||(gze=e.createElement("g",{id:"SVGRepo_bgCarrier",strokeWidth:0})),vze||(vze=e.createElement("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"})),yze||(yze=e.createElement("g",{id:"SVGRepo_iconCarrier"},e.createElement("path",{d:"M3 15C3 17.8284 3 19.2426 3.87868 20.1213C4.75736 21 6.17157 21 9 21H15C17.8284 21 19.2426 21 20.1213 20.1213C21 19.2426 21 17.8284 21 15",stroke:"#D8A66A",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M12 3V16M12 16L16 11.625M12 16L8 11.625",stroke:"#D8A66A",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))))}var wze,Cze,Sze,Eze=e.forwardRef(xze),kze=(__webpack_require__.p,["title","titleId"]);function Dze(){return Dze=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Dze.apply(this,arguments)}function Nze(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Tze(t,n){var r=t.title,o=t.titleId,i=Nze(t,kze);return e.createElement("svg",Dze({width:"800px",height:"800px",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,wze||(wze=e.createElement("g",{id:"SVGRepo_bgCarrier",strokeWidth:0})),Cze||(Cze=e.createElement("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"})),Sze||(Sze=e.createElement("g",{id:"SVGRepo_iconCarrier"},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.75 5.25L3 6V18L3.75 18.75H20.25L21 18V6L20.25 5.25H3.75ZM4.5 7.6955V17.25H19.5V7.69525L11.9999 14.5136L4.5 7.6955ZM18.3099 6.75H5.68986L11.9999 12.4864L18.3099 6.75Z",fill:"#D8A66A"}))))}var jze,Bze,Lze,Rze,qze,Pze,Ize,Wze,Fze,Uze=e.forwardRef(Tze),Zze=(__webpack_require__.p,["title","titleId"]);function Hze(){return Hze=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Hze.apply(this,arguments)}function $ze(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Vze(t,n){var r=t.title,o=t.titleId,i=$ze(t,Zze);return e.createElement("svg",Hze({width:158,height:57,viewBox:"0 0 158 57",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,jze||(jze=e.createElement("rect",{x:2,y:8.51172,width:151.906,height:46.1968,rx:10,transform:"rotate(-2.45724 2 8.51172)",stroke:"#F6695E",strokeWidth:4})),Bze||(Bze=e.createElement("path",{d:"M130.123 38.8599L129.017 13.0703L135.544 12.7902C142.262 12.5019 144.308 14.8383 144.554 20.5694L144.955 29.93C145.204 35.7247 143.368 38.2915 136.714 38.577L130.123 38.8599ZM135.653 34.6673L136.545 34.629C139.124 34.5183 139.235 33.3971 139.135 31.0729L138.653 19.8338C138.556 17.5732 138.261 16.6608 135.746 16.7687L134.887 16.8056L135.653 34.6673Z",fill:"#F6695E"})),Lze||(Lze=e.createElement("path",{d:"M115.883 39.4712L114.776 13.6816L126.366 13.1843L126.532 17.0687L120.642 17.3214L120.917 23.7211L125.406 23.5284L125.576 27.4764L121.086 27.6691L121.417 35.3741L127.371 35.1186L127.536 38.9711L115.883 39.4712Z",fill:"#F6695E"})),Rze||(Rze=e.createElement("path",{d:"M97.2283 40.272L96.1216 14.4824L102.649 14.2023C109.367 13.914 111.413 16.2505 111.659 21.9815L112.06 31.3421C112.309 37.1368 110.473 39.7036 103.819 39.9892L97.2283 40.272ZM102.758 36.0794L103.65 36.0411C106.228 35.9305 106.34 34.8093 106.24 32.485L105.758 21.2459C105.661 18.9853 105.366 18.0729 102.851 18.1808L101.992 18.2177L102.758 36.0794Z",fill:"#F6695E"})),qze||(qze=e.createElement("path",{d:"M79.3821 41.0376L78.2754 15.248L82.2871 15.0759L88.1052 27.2663L87.5724 14.8491L92.2845 14.6469L93.3912 40.4364L89.5387 40.6018L83.6796 27.4562L84.2535 40.8286L79.3821 41.0376Z",fill:"#F6695E"})),Pze||(Pze=e.createElement("path",{d:"M68.1297 41.9043C62.1758 42.1598 60.3613 39.2712 60.129 33.8585L59.3652 16.0605L65.0007 15.8187L65.8014 34.4763C65.8711 36.1001 66.1386 37.8749 67.9534 37.797C69.7683 37.7192 69.8509 35.9293 69.7813 34.3056L68.9806 15.6479L74.6479 15.4047L75.4117 33.2027C75.644 38.6153 74.0517 41.6501 68.1297 41.9043Z",fill:"#F6695E"})),Ize||(Ize=e.createElement("path",{d:"M46.8572 42.4341L45.7505 16.6445L56.8941 16.1663L57.0595 20.0188L51.615 20.2525L51.8937 26.7476L56.6377 26.544L56.8085 30.5239L52.0645 30.7275L52.5564 42.1895L46.8572 42.4341Z",fill:"#F6695E"})),Wze||(Wze=e.createElement("path",{d:"M32.617 43.0454L31.5103 17.2559L43.0996 16.7585L43.2663 20.6429L37.3761 20.8956L37.6507 27.2953L42.14 27.1026L42.3095 31.0507L37.8202 31.2433L38.1508 38.9483L44.1047 38.6928L44.27 42.5454L32.617 43.0454Z",fill:"#F6695E"})),Fze||(Fze=e.createElement("path",{d:"M13.5261 43.8638L12.4194 18.0742L19.5195 17.7695C24.7093 17.5468 28.1443 18.8029 28.3766 24.2155C28.5132 27.3994 27.9985 29.5268 25.5033 30.8459L29.573 43.1752L23.6828 43.4279L20.3531 31.992L18.7294 32.0617L19.2253 43.6192L13.5261 43.8638ZM18.5886 28.7823L20.1806 28.7139C22.5685 28.6115 23.2116 27.2442 23.1132 24.9518C23.0189 22.7549 22.2943 21.4782 20.1292 21.5711L18.2826 21.6503L18.5886 28.7823Z",fill:"#F6695E"})))}var Xze,Qze=e.forwardRef(Vze),Yze=(__webpack_require__.p,["title","titleId"]);function Gze(){return Gze=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Gze.apply(this,arguments)}function Kze(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Jze(t,n){var r=t.title,o=t.titleId,i=Kze(t,Yze);return e.createElement("svg",Gze({xmlns:"http://www.w3.org/2000/svg",width:12,height:12,viewBox:"0 0 12 12",fill:"none",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,Xze||(Xze=e.createElement("path",{d:"M3.17869 11.8433C2.94897 11.6267 2.94041 11.2644 3.15641 11.0358L7.92737 5.99971L3.15643 0.96416C2.93985 0.73558 2.94899 0.373854 3.17872 0.156711C3.40786 -0.0604327 3.76959 -0.0507298 3.98673 0.178437L9.12971 5.60714C9.23372 5.71685 9.28629 5.85857 9.28629 5.99971C9.28629 6.14084 9.23372 6.28313 9.12971 6.39286L3.98673 11.8216C3.76956 12.0507 3.40786 12.0604 3.17869 11.8433Z",fill:"#78828A"})))}var exe,txe,nxe=e.forwardRef(Jze),rxe=(__webpack_require__.p,["title","titleId"]);function oxe(){return oxe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},oxe.apply(this,arguments)}function ixe(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function axe(t,n){var r=t.title,o=t.titleId,i=ixe(t,rxe);return e.createElement("svg",oxe({width:21,height:21,viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,exe||(exe=e.createElement("g",{id:"check (7) 1",clipPath:"url(#clip0_635_46722)"},e.createElement("path",{id:"Vector",d:"M10.5 0C4.71007 0 0 4.71007 0 10.5C0 16.2899 4.71007 21 10.5 21C16.2899 21 21 16.2899 21 10.5C21 4.71007 16.2899 0 10.5 0Z",fill:"currentColor"}),e.createElement("path",{id:"Vector_2",d:"M15.822 8.27487L10.1344 13.9623C9.96381 14.1329 9.73982 14.2188 9.51584 14.2188C9.29185 14.2188 9.06787 14.1329 8.89724 13.9623L6.05354 11.1186C5.71132 10.7765 5.71132 10.2234 6.05354 9.88137C6.39561 9.53915 6.94852 9.53915 7.29074 9.88137L9.51584 12.1065L14.5848 7.03767C14.9269 6.69545 15.4798 6.69545 15.822 7.03767C16.1641 7.37974 16.1641 7.93265 15.822 8.27487Z",fill:"#FAFAFA"}))),txe||(txe=e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_635_46722"},e.createElement("rect",{width:21,height:21,fill:"white"})))))}var sxe,lxe=e.forwardRef(axe),cxe=(__webpack_require__.p,function(e){var t=e.paymentDetails,n=null===t||void 0===t?void 0:t.timeline,r=he(),o={danger:"#f44336",success:"#4CAF50",dark:"#000000"};return(0,Kl.jsxs)("div",{className:rze.boxTimeline,children:[(0,Kl.jsx)("div",{className:rze.timelineTitle,children:"Appointment timeline"}),(0,Kl.jsx)("hr",{className:rze.timelineSeparator}),(0,Kl.jsx)("div",{className:rze.timelineWrapper,children:n&&n.map((function(e,n){return(0,Kl.jsxs)("div",{className:"".concat(rze.timelineItemHolder),style:null!==e&&void 0!==e&&e.id&&(null===e||void 0===e?void 0:e.id)!=t.id?{cursor:"pointer"}:{},onClick:(i=e.id||null,function(){i&&t.id!=i&&r("/financial/receipts/".concat(i))}),children:[(0,Kl.jsxs)("div",{className:rze.timelineItem,children:[(0,Kl.jsx)(lxe,{color:o[e.statusMark],width:21,height:21}),(0,Kl.jsxs)("div",{className:rze.timelineItemContent,children:[(0,Kl.jsx)("span",{className:rze.timelineItemTitle,children:e.text}),(0,Kl.jsx)("span",{className:rze.timelineItemSubTitle,children:e.date})]})]}),(0,Kl.jsx)("div",{className:rze.price,style:{color:o[e.statusMark]},children:(0,Kl.jsx)(JOe,{amount:e.amount||0})})]},n);var i}))})]})}),uxe=function(){var t,r,o,i,a,s,l,c,u,d=hE().enqueueSnackbar,p=me().id,f=(0,e.useState)(null),h=(0,n.Z)(f,2),b=h[0],A=h[1],m=(0,e.useState)(!1),g=(0,n.Z)(m,2),v=g[0],y=g[1],M=(0,e.useState)(!1),O=(0,n.Z)(M,2),_=O[0],z=O[1],x=(0,e.useState)(!1),w=(0,n.Z)(x,2),C=w[0],S=w[1],E=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t,n;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return y(!0),e.prev=1,e.next=4,Re.get("/v1/receipts/".concat(p));case 4:n=e.sent,A(null===n||void 0===n||null===(t=n.data)||void 0===t?void 0:t.data),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),Object.values(null===e.t0||void 0===e.t0?void 0:e.t0.errors).forEach((function(e){return null===e||void 0===e?void 0:e.forEach((function(e){return d(e,{variant:"error"})}))}));case 11:return e.prev=11,y(!1),e.finish(11);case 14:case"end":return e.stop()}}),e,null,[[1,8,11,14]])})));return function(){return e.apply(this,arguments)}}(),k=function(e){return e-e/((((null===b||void 0===b?void 0:b.clinicVat)||0)+100)/100)},D=function(e,t){return e*("0"!==t?t:null===b||void 0===b?void 0:b.clinicVat)/100},N=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,r,o,i;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,y(!0),e.next=4,Re.get("/v1/receipts/".concat(t,"/download"),{responseType:"blob"});case 4:n=e.sent,r=new Blob([n.data],{type:"application/pdf"}),o=window.URL.createObjectURL(r),(i=document.createElement("a")).href=o,i.download="receipt.pdf",document.body.appendChild(i),i.click(),window.URL.revokeObjectURL(o),y(!1),e.next=20;break;case 16:e.prev=16,e.t0=e.catch(0),y(!1),d("No receipt found",{variant:"error"});case 20:case"end":return e.stop()}}),e,null,[[0,16]])})));return function(t){return e.apply(this,arguments)}}();if((0,e.useEffect)((function(){E()}),[p]),v)return(0,Kl.jsx)(NE,{});null===b||void 0===b||b.paymentType,null===b||void 0===b||b.paymentType;return(0,Kl.jsxs)("div",{className:"".concat(rze.pageWrapper," ").concat(rze.receiptDetails),children:[(0,Kl.jsxs)("div",{className:rze.breadcrumbs,children:[(0,Kl.jsx)(xu,{color:"#00ffff",to:"/financial/receipts",children:"Receipts & Invoices"}),(0,Kl.jsx)("span",{children:(0,Kl.jsx)(nxe,{})}),(0,Kl.jsx)("span",{children:"Receipt"})]}),(0,Kl.jsxs)("div",{className:"".concat(rze.box," ").concat(rze.topBox),children:[(0,Kl.jsxs)("div",{className:rze.patientWrapper,children:[(0,Kl.jsxs)("div",{className:rze.patientHeader,children:[(0,Kl.jsxs)("div",{className:rze.patientInfo,children:[(0,Kl.jsx)(xu,{target:"_blank",to:"/patients/".concat((null===b||void 0===b?void 0:b.clientId)||""),className:rze.patientLink,children:(null===b||void 0===b?void 0:b.clientName)||""}),(0,Kl.jsxs)("span",{className:rze.patientId,children:["Receipt No. : R-",(null===b||void 0===b?void 0:b.id)||""]})]}),(0,Kl.jsxs)("div",{className:rze.buttonHolder,children:["paid"===(null===b||void 0===b?void 0:b.status)?(0,Kl.jsx)(zd.Z,{variant:"outlined",className:rze.refundButton,startIcon:(0,Kl.jsx)(Mze,{width:24,height:24}),onClick:function(){return z(!0)},children:"Refund"}):(0,Kl.jsx)(Qze,{}),(0,Kl.jsx)(zd.Z,{variant:"outlined",color:"primary",className:rze.headerButtons,startIcon:(0,Kl.jsx)(Uze,{width:24,height:24}),onClick:function(){return S(!0)},children:"Email Receipt"}),(0,Kl.jsx)(zd.Z,{variant:"outlined",color:"primary",className:rze.headerButtons,startIcon:(0,Kl.jsx)(Eze,{width:24,height:24}),onClick:function(){return N(null===b||void 0===b?void 0:b.id)},children:"Download PDF"}),(0,Kl.jsx)(zd.Z,{variant:"outlined",color:"primary",disabled:!0,className:rze.headerButtons,startIcon:(0,Kl.jsx)(Kge,{width:24,height:24}),children:"Issue Invoice"})]})]}),(0,Kl.jsx)("hr",{}),(0,Kl.jsxs)("div",{className:rze.patientContent,children:[(0,Kl.jsxs)("div",{className:rze.patientContentItem,children:[(0,Kl.jsx)("img",{src:fze,alt:"Date"}),(0,Kl.jsxs)("div",{children:[(0,Kl.jsx)("span",{className:rze.label,children:"Payment Date & Time"}),(0,Kl.jsx)("div",{children:(0,Kl.jsx)("div",{className:rze.paymentDateValue,children:Vs().utc(null===b||void 0===b?void 0:b.datetime).format("DD-MM-YYYY | hh:mm A")})})]})]}),(0,Kl.jsxs)("div",{className:rze.patientContentItem,children:[(0,Kl.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAuCAYAAABXuSs3AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAUZSURBVHgBzZlPaCNVHMd/M5PNn223ptuNTSBtJ/aSsoIFWYyy0lx0sR70pN62l4q3BT0p4s0FT+JNbysIrnipF6Ug2KBgRIR4UHspSXdTktq1yULbmdkmM77vbCfMTJNM5k365wMlzZv32u/7vd/7vd/7jUABMQwjurOzk6VWK6kbRpwEIcmao2i3+giC0DR0vSmJYl0kqkixWH18fLxJARCIA4ja3tqaN4iyTJVMPBhGRSIqPZlOl4gDX8IhuF6t5gRJytktGgRzNdrtUmpqas3XuEE71mo1WTCM1w24wwmACYi6vjboCngKh2Vr1WpeEMUcnQKSIBQTqdQam4jar19f4Y1GI/5IUd5imy5JpwisH4nF7vTbwD2FQ7SmKEsn5RpeeInvKvysRVv0Ey+6G+DT50H0kRbTVbtFsGPCsRHPg2gL7K+dWi3vbncI/7danT+t6OGHtmHkEI7tbSH7F10U82x9iJf/1n+YebC+Oq/tbsotbc9ctfDolXr40mR9InujNJF9ZZM4OTpDPrfCZGdz1rAcup4nDvbr/8Q3f/rkNbW5Jffrd/HK7PrUi7dWR5JzfHkKO6CsE7bjKmxG88QBRG98/8FNL9Hg4MFGFn0xhjiwpxqmcPg2z4a0RFtuMQjoizGP9nZ85zpmcre9bRrYFN6WJC5rbxW/WHCLFqWIOjZzrTg5/8YKfkZST5e6ib9f+HSBODBarSw+Qzhs1IMDmXwCa+/V/nJMOBQZbc4u3v7S5cN/sr4F98o8vPd7jlm9EB5NqOQHlkbD8qKiKFx5SLP8y4y7rYtoE7Slnlv+zt1e/+OrZ4gDXFzgKjJxoOyWHROOxtOVftEicXWxgtDo+BuNe3zJG7tticLjq5b/scquw7elWNwzxF24lHQI1w8VrssIroiiwHm8C6GY6ldEW2k4N/KFmD//7vxzISny5iXR+NS2/bvWqMr9Qhw2szvWh0cmeC/MUZE4uZjIOpe9rUUrP358o1f/+z9/duzZWPrZCnFgRhXiBJsNMdvehvC4/u07bz7c/HXSakP+8vfXSzdxatr7InROzPHnLiEkLbw39jE591tzo+A4SB4f6x9lvcZenlssUABgcb4Nwki/sFx0W30QYO3xzPUKcWJWBJjD1ImT8OikCquTT5hvl7gzRAaqYqLO1FMAYHVYcND+6Cu//GEgNzFLeaFQiNviAFbvdpz3IqhvA9Qfxf39/XUKCCLM2PS1olc/ZIrp55e5aoV2JE2ri5lMRiVRrFBAphduFfq5DJ6lc28HtjaKpeOZTNOM40K7HdjqXi4znX/vmyAb0gIVXnyawpXDw5JXrW4Q4DLsUFl1t1+eXViLP3U90F4CCINWUdQUDncxWLGRhsBM/t3iaPJqx4+fYL4fNIpYoBxt/d458lVVLQoBQ6OF/NL7q8i9kaPPvnp7lYYAtNlr6I7aoVl00fUlOodIhrFir507kqxUKlUZlssME9TM3QX/Y9mhpmlrRoA0YNjARRJMk7v9mHBs1Njh4d1h+XsQzDKzpt0RcNa4n/Ua1CiX41okcraFfSYah03X5/0Gn5V4doOvhzXtbi/RwPPlVblcjkYikTy7VJ/eyyvm093cw87ArwtRX0QZ+iRfF7KItoLINlB/8gnK0ajsDmsC5tWRWTmJA9DDyo5xxAlWwCyW6rpMPLCMFMndJPIkH4ItuIVbYAMrkUiSvdqQ26xQgwKTfTWOkjcVV0QRIZZdXBLsDsAj1s7/51aITEDH2tcAAAAASUVORK5CYII=",alt:"Location"}),(0,Kl.jsxs)("div",{children:[(0,Kl.jsx)("span",{className:rze.label,children:"Clinic Address"}),(0,Kl.jsxs)("div",{className:rze.locationValue,children:[(0,Kl.jsx)("span",{children:(null===b||void 0===b?void 0:b.clinicName)||""})," -"," ",(null===b||void 0===b?void 0:b.clinicAddress)||""]})]})]}),(0,Kl.jsxs)("div",{className:rze.patientContentItem,children:[(0,Kl.jsx)(jp,{alt:"Avatar",src:(null===b||void 0===b||null===(t=b.staff)||void 0===t?void 0:t.avatar_url)||"",className:rze.avatar,children:"".concat(null===b||void 0===b||null===(r=b.staff)||void 0===r?void 0:r.name.charAt(0)).concat(null===b||void 0===b||null===(o=b.staff)||void 0===o?void 0:o.last_name.charAt(0))}),(0,Kl.jsxs)("div",{children:[(0,Kl.jsx)("span",{className:rze.label,children:"Practitioner"}),(0,Kl.jsx)("div",{className:rze.patientName,children:"".concat((null===b||void 0===b||null===(i=b.staff)||void 0===i?void 0:i.name)||""," ").concat((null===b||void 0===b||null===(a=b.staff)||void 0===a?void 0:a.last_name)||"")})]})]}),(0,Kl.jsxs)("div",{className:rze.patientContentItem,children:[(0,Kl.jsx)("img",{src:fze,alt:"Date"}),(0,Kl.jsxs)("div",{children:[(0,Kl.jsx)("span",{className:rze.label,children:"Appointment Date & Time"}),(0,Kl.jsx)("div",{children:(0,Kl.jsx)(xu,{target:"_blank",className:rze.dateValue,to:"/calendar/appointment/".concat(null===b||void 0===b?void 0:b.appointmentId),children:(0,Kl.jsxs)("div",{children:[Vs().utc(null===b||void 0===b?void 0:b.appointmentDate).format("DD-MM-YYYY | hh:mm A"),(0,Kl.jsx)("span",{children:"View details"})]})})})]})]})]})]}),(0,Kl.jsxs)("div",{className:rze.details,children:[(0,Kl.jsx)("h4",{className:rze.serviceTitle,children:"Service & Product Booked"}),(0,Kl.jsx)("div",{className:rze.serviceTable,children:(0,Kl.jsxs)("table",{className:rze.table,children:[(0,Kl.jsx)("thead",{children:(0,Kl.jsxs)("tr",{children:[(0,Kl.jsx)("th",{children:"No"}),(0,Kl.jsx)("th",{children:"Description"}),(0,Kl.jsx)("th",{children:"Type"}),(0,Kl.jsx)("th",{children:"Quantity"}),(0,Kl.jsx)("th",{children:"Deposit"}),(0,Kl.jsx)("th",{children:"Rate"}),(0,Kl.jsx)("th",{children:"Tax"}),(0,Kl.jsx)("th",{style:{whiteSpace:"nowrap"},children:"Total Amount"})]})}),(0,Kl.jsxs)("tbody",{children:[((null===b||void 0===b||null===(s=b.payment)||void 0===s?void 0:s.items)||[]).map((function(e){var t;return(0,Kl.jsxs)("tr",{children:[(0,Kl.jsx)("td",{className:rze.tableId,children:e.id}),(0,Kl.jsx)("td",{className:rze.tableDescription,children:e.name}),(0,Kl.jsx)("td",{className:rze.tableService,children:(0,Kl.jsx)("div",{children:"Service"})}),(0,Kl.jsx)("td",{children:"1"}),(0,Kl.jsx)("td",{children:(0,Kl.jsx)(JOe,{amount:(null===e||void 0===e||null===(t=e.treatmentType)||void 0===t?void 0:t.deposit)||0})}),(0,Kl.jsx)("td",{children:(0,Kl.jsx)(JOe,{amount:e.price-k(e.price)})}),(0,Kl.jsx)("td",{children:(0,Kl.jsx)(JOe,{amount:k(e.price)})}),(0,Kl.jsx)("td",{className:rze.tablePrice,children:(0,Kl.jsx)(JOe,{amount:e.price})})]},e.id)})),((null===b||void 0===b||null===(l=b.payment)||void 0===l?void 0:l.selected_products)||[]).map((function(e,t){var n;return(0,Kl.jsxs)("tr",{children:[(0,Kl.jsx)("td",{className:rze.tableId,children:t+1}),(0,Kl.jsxs)("td",{className:rze.tableDescription,children:[e.name," ",e.lot_number]}),(0,Kl.jsx)("td",{className:rze.tableInventory,children:(0,Kl.jsx)("div",{children:"Product"})}),(0,Kl.jsx)("td",{children:e.quantity}),(0,Kl.jsx)("td",{children:(0,Kl.jsx)(JOe,{amount:0})}),(0,Kl.jsx)("td",{children:(0,Kl.jsx)(JOe,{amount:e.price-D(e.price,e.tax_value)})}),(0,Kl.jsx)("td",{children:(0,Kl.jsx)(JOe,{amount:D(e.price,e.tax_value)*e.quantity})}),(0,Kl.jsx)("td",{className:rze.tablePrice,children:(0,Kl.jsx)(JOe,{amount:e.price*e.quantity})})]},t+(null===b||void 0===b||null===(n=b.payment)||void 0===n?void 0:n.items.length)+e.id)}))]})]})})]})]}),(0,Kl.jsxs)("div",{className:rze.paymentDetails,children:[(0,Kl.jsxs)("div",{className:rze.paymentDetailsHolder,children:[(0,Kl.jsx)("div",{className:rze.details,children:(0,Kl.jsx)("div",{className:"".concat(rze.tableBox),children:(0,Kl.jsxs)("table",{className:rze.table,children:[(0,Kl.jsx)("thead",{children:(0,Kl.jsxs)("tr",{children:[(0,Kl.jsx)("th",{children:"No"}),(0,Kl.jsx)("th",{children:"Payment For"}),(0,Kl.jsx)("th",{children:"Rate"}),(0,Kl.jsx)("th",{children:"VAT"}),(0,Kl.jsx)("th",{children:"Total Price"})]})}),(0,Kl.jsx)("tbody",{children:(0,Kl.jsxs)("tr",{children:[(0,Kl.jsx)("td",{className:rze.tableId,children:"1"}),(0,Kl.jsxs)("td",{className:rze.tableDescriptionColumn,children:["Appointment"," ",Vs().utc(null===b||void 0===b?void 0:b.appointmentDate).format("DD-MM-YYYY | hh:mm A")," ",(null===b||void 0===b?void 0:b.paymentType)||""]}),(0,Kl.jsx)("td",{className:rze.rateColumn,children:null!==b&&void 0!==b&&b.netAmount?(0,Kl.jsx)(JOe,{amount:null===b||void 0===b?void 0:b.netAmount}):null}),(0,Kl.jsx)("td",{className:rze.vatColumn,children:(0,Kl.jsx)(JOe,{amount:null!==(c=null===b||void 0===b?void 0:b.vat)&&void 0!==c?c:0})}),(0,Kl.jsx)("td",{className:rze.tablePriceColumn,children:null!==b&&void 0!==b&&b.totalAmount?(0,Kl.jsx)(JOe,{amount:b.totalAmount}):null})]})})]})})}),(0,Kl.jsxs)("div",{className:rze.priceWrapper,children:[(0,Kl.jsxs)("div",{className:"".concat(rze.box," ").concat(rze.netBox),children:[(0,Kl.jsxs)("div",{className:rze.nexBoxItem,children:[(0,Kl.jsxs)("h4",{children:["Total amount"," ",null!==b&&void 0!==b&&b.discount?(0,Kl.jsxs)("span",{className:rze.subtitleBox,children:["(After a discount of ",null===b||void 0===b?void 0:b.discount,")"]}):null]}),null!==b&&void 0!==b&&b.netAmount?(0,Kl.jsx)(JOe,{amount:null===b||void 0===b?void 0:b.totalAmount}):null]}),(0,Kl.jsxs)("div",{className:rze.nexBoxItem,children:[(0,Kl.jsx)("h4",{children:"Net Amount"}),null!==b&&void 0!==b&&b.netAmount?(0,Kl.jsx)(JOe,{amount:null===b||void 0===b?void 0:b.netAmount}):null]}),(0,Kl.jsxs)("div",{className:rze.nexBoxItem,children:[(0,Kl.jsx)("h4",{children:"Tax on Transaction"}),null!==b&&void 0!==b&&b.vat?(0,Kl.jsx)(JOe,{amount:b.vat}):null]}),(0,Kl.jsx)("hr",{}),(0,Kl.jsxs)("div",{className:"".concat(rze.nexBoxItem," ").concat(rze.nexBoxItemTotal),children:[(0,Kl.jsx)("h4",{children:"Total Amount"}),null!==b&&void 0!==b&&b.totalAmount?(0,Kl.jsx)(JOe,{amount:b.totalAmount}):null]})]}),(0,Kl.jsxs)("div",{className:rze.boxBalance,children:[(0,Kl.jsx)("div",{children:(0,Kl.jsxs)("div",{className:rze.balanceWrapper,children:[(0,Kl.jsxs)("div",{className:rze.titleHolder,children:[(0,Kl.jsx)("span",{className:rze.titleBox,children:"Total Paid (Deposit)"}),(0,Kl.jsxs)("span",{className:rze.subtitleBox,children:["Payment Method:"," ",(null===b||void 0===b||null===(u=b.paidDeposit)||void 0===u?void 0:u.payment_method)||(null===b||void 0===b?void 0:b.payment_method)||""]})]}),(0,Kl.jsx)("div",{className:rze.greenPrice,children:null!==b&&void 0!==b&&b.totalAmount?(0,Kl.jsx)(JOe,{amount:function(){var e;return(null===b||void 0===b||null===(e=b.paidDeposit)||void 0===e?void 0:e.total)||0}()}):null})]})}),(0,Kl.jsxs)("div",{className:rze.remainingBalance,children:[(0,Kl.jsx)("span",{className:rze.titleBox,children:"Remaining Balance"}),(0,Kl.jsx)("div",{className:rze.redPrice,children:(0,Kl.jsx)(JOe,{amount:(null===b||void 0===b?void 0:b.remainigAmount)||0})})]})]})]})]}),(0,Kl.jsx)(cxe,{paymentDetails:b})]}),(0,Kl.jsx)(R_e,{open:_,data:b,onClose:function(){return z(!1)},receiptId:null===b||void 0===b?void 0:b.id}),(0,Kl.jsx)(kOe,{open:C,selectedRowPayload:b,onClose:function(){return S(!1)}})]})},dxe=function(){var t=(0,e.useState)(""),r=(0,n.Z)(t,2),o=r[0],i=r[1],a=hE().enqueueSnackbar,s=me().encryptedAppointmentId,l=(0,e.useState)(),c=(0,n.Z)(l,2),u=c[0],d=c[1],p=(0,e.useState)(!1),f=(0,n.Z)(p,2),h=f[0],b=f[1],A=(0,e.useCallback)((function(){b(!0),Re.get("/v1/encrypted-appointment/".concat(s)).then((function(e){var t=e.data;return d(t.data)})).catch((function(e){var t=e.message;return a(t,{variant:"error"})})).finally((function(){return b(!1)}))}),[s,a]);return(0,e.useEffect)(A,[s,A]),(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)($d,{style:{zIndex:1200},open:h,children:(0,Kl.jsx)(Gh.Z,{})}),(0,Kl.jsxs)(AC,{container:!0,className:lte.wrapper,direction:"row",children:[(0,Kl.jsxs)(AC,{container:!0,item:!0,className:lte.main,children:[(0,Kl.jsx)(AC,{container:!0,className:lte.mainHeaderAndStepper,children:(0,Kl.jsx)(AC,{container:!0,item:!0,className:lte.mainHeader,children:(0,Kl.jsx)(AC,{container:!0,item:!0,xs:!0,alignItems:"center",children:(0,Kl.jsx)(kl.Z,{className:lte.mainTitle,gutterBottom:!0,children:o})})})}),(0,Kl.jsx)(AC,{container:!0,item:!0,className:lte.actionBlock,children:(0,Kl.jsx)(Ee,{context:{encryptedAppointmentId:s,setMainTitle:i,appointment:u,setAppointment:d,appointmentLoading:h,setAppointmentLoading:b,fetchAppointment:A}})})]}),(0,Kl.jsx)(AC,{className:lte.clinicInfo,children:(0,Kl.jsx)(ste,{})})]})]})},pxe=function(){return(0,Kl.jsx)(Kl.Fragment,{children:"LIST TABLE"})},fxe="invoices_pageWrapper__DdP9P",hxe="invoices_singleInvoice__ORlD3",bxe="invoices_preheader__77tA4",Axe="invoices_middleContent__abWoI",mxe="invoices_box__zMFv9",gxe="invoices_left__nxBKg",vxe="invoices_right__WhRKZ",yxe="invoices_balance__gWvUe",Mxe="invoices_PatientBox__MLr+e",Oxe=function(){var e={breadcrumbs:{fontSize:"16px",fontWeight:600,lineHeight:"16px",display:"flex",gap:"5px",alignItems:"center"},link:{color:"#b57c2a",textDecoration:"none"},span:{color:"#8a8a8a"}};return(0,Kl.jsxs)("div",{style:e.breadcrumbs,children:[(0,Kl.jsx)(xu,{style:e.link,to:"/financial/receipts",children:"Receipts & Invoices"}),(0,Kl.jsx)("span",{children:(0,Kl.jsx)(nxe,{})}),(0,Kl.jsx)("span",{style:e.span,children:"Issue invoice"})]})},_xe=(0,e.forwardRef)((function(e,t){var n=e.value,r=e.onClick;return(0,Kl.jsx)(Wu.Z,{label:"Invoice Date",variant:"outlined",size:"small",color:"primary",value:n,onClick:r,inputRef:t,InputProps:{endAdornment:(0,Kl.jsx)(Xu,{position:"end",children:(0,Kl.jsx)(pMe,{})})}})})),zxe=(0,e.forwardRef)((function(e,t){var n=e.value,r=e.onClick;return(0,Kl.jsx)(Wu.Z,{label:"Due Date",variant:"outlined",size:"small",color:"primary",fullWidth:!0,value:n,onClick:r,inputRef:t,InputProps:{endAdornment:(0,Kl.jsx)(Xu,{position:"end",children:(0,Kl.jsx)(pMe,{})})}})})),xxe=(0,Hu.Z)((function(e){return{root:{"& MuiInputBase-root":{border:"1px solid red"}}}}))((function(e){return(0,Kl.jsx)(nk(),Us({},e))})),wxe=function(t){var r=t.balance,o=(0,e.useState)(new Date),i=(0,n.Z)(o,2),a=i[0],s=i[1],l=(0,e.useState)(new Date),c=(0,n.Z)(l,2),u=c[0],d=c[1],p=["Net 15","Net 30","Net 45","Net 60","Due end of the month","Due end of the next month","Due on receipt","Custom"],f=(0,e.useState)(p[0]),h=(0,n.Z)(f,2),b=h[0],A=h[1];return(0,Kl.jsxs)("div",{className:mxe,children:[(0,Kl.jsxs)("div",{className:gxe,children:[(0,Kl.jsx)("div",{children:(0,Kl.jsx)(xxe,{className:"custom-picker",selected:a,onChange:function(e){s(e)},customInput:(0,Kl.jsx)(_xe,{})})}),(0,Kl.jsx)("div",{children:(0,Kl.jsx)(AJ.Z,{variant:"outlined",size:"small",fullWidth:!0,children:(0,Kl.jsx)(LE.Z,{value:b,onChange:function(e){A(e.target.value)},selected:b,children:p.map((function(e,t){return(0,Kl.jsx)(xd.Z,{value:e,children:e},t)}))})})}),(0,Kl.jsx)("div",{children:(0,Kl.jsx)(xxe,{className:"custom-picker",selected:u,onChange:function(e){d(e)},customInput:(0,Kl.jsx)(zxe,{})})})]}),(0,Kl.jsx)("div",{className:vxe,children:(0,Kl.jsxs)("div",{children:[(0,Kl.jsx)("p",{children:"Balance Due"}),(0,Kl.jsxs)("span",{className:yxe,children:["\xa3",Number(r).toFixed(2)||"0.00"]})]})})]})},Cxe=function(e){e.receipt;return(0,Kl.jsxs)("div",{className:"".concat(mxe," ").concat(Mxe),children:[(0,Kl.jsx)("h4",{children:"Associated Patient"}),(0,Kl.jsx)(Jb,{}),(0,Kl.jsx)("div",{})]})},Sxe=function(){},Exe=["title","titleId"];function kxe(){return kxe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},kxe.apply(this,arguments)}function Dxe(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Nxe(t,n){var r=t.title,o=t.titleId,i=Dxe(t,Exe);return e.createElement("svg",kxe({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,sxe||(sxe=e.createElement("path",{d:"M19.6801 3.19922H4.0001C2.67674 3.19922 1.6001 4.27586 1.6001 5.59922V15.1992C1.6001 16.5226 2.67674 17.5992 4.0001 17.5992H11.0401V19.1992H6.8801V20.7992H16.8001V19.1992H12.6401V17.5992H19.6801C21.0035 17.5992 22.0801 16.5226 22.0801 15.1992V5.59922C22.0801 4.27586 21.0035 3.19922 19.6801 3.19922ZM20.4801 15.1992C20.4801 15.6403 20.1212 15.9992 19.6801 15.9992H4.0001C3.55898 15.9992 3.2001 15.6403 3.2001 15.1992V5.59922C3.2001 5.1581 3.55898 4.79922 4.0001 4.79922H19.6801C20.1212 4.79922 20.4801 5.1581 20.4801 5.59922V15.1992Z",fill:"#B57C2A"})))}var Txe,jxe=e.forwardRef(Nxe),Bxe=(__webpack_require__.p,["title","titleId"]);function Lxe(){return Lxe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Lxe.apply(this,arguments)}function Rxe(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function qxe(t,n){var r=t.title,o=t.titleId,i=Rxe(t,Bxe);return e.createElement("svg",Lxe({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,Txe||(Txe=e.createElement("path",{d:"M12 4L10.59 5.41L16.17 11H4V13H16.17L10.59 18.59L12 20L20 12L12 4Z",fill:"white"})))}var Pxe,Ixe,Wxe=e.forwardRef(qxe),Fxe=(__webpack_require__.p,function(){return(0,Kl.jsxs)("div",{className:bxe,children:[(0,Kl.jsx)("h4",{children:"Issue invoice"}),(0,Kl.jsxs)("div",{children:[(0,Kl.jsx)(zd.Z,{variant:"outlined",color:"primary",style:{marginLeft:10},startIcon:(0,Kl.jsx)(jxe,{}),children:"PREVIEW"}),(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",style:{marginLeft:10},endIcon:(0,Kl.jsx)(Wxe,{}),children:"SAVE AND SEND"})]})]})}),Uxe=function(){he();var t=me().receiptId,r=(0,e.useState)({}),o=(0,n.Z)(r,2),i=o[0],a=o[1],s=hE().enqueueSnackbar;(0,e.useEffect)((function(){l(t)}),[t]);var l=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,r;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,void 0===t||null===t||"new"===t){e.next=9;break}return e.next=4,Re.get("/v1/receipts/".concat(t));case 4:n=e.sent,r=n.data,a(r.data),e.next=10;break;case 9:console.log("Empty invoice");case 10:e.next=15;break;case 12:e.prev=12,e.t0=e.catch(0),s(e.t0.message,{variant:"error"});case 15:case"end":return e.stop()}}),e,null,[[0,12]])})));return function(t){return e.apply(this,arguments)}}();return(0,Kl.jsxs)("div",{className:"".concat(fxe," ").concat(hxe),children:[(0,Kl.jsx)(Oxe,{}),(0,Kl.jsx)(Fxe,{}),(0,Kl.jsx)(wxe,{balance:i.totalAmount}),(0,Kl.jsxs)("div",{className:Axe,children:[(0,Kl.jsx)(Cxe,{receipt:i}),(0,Kl.jsx)(Sxe,{})]})]})},Zxe=__webpack_require__(16183),Hxe=function(e){var t=e.links,n=e.active,r={breadcrumbs:{fontSize:"16px",fontWeight:600,lineHeight:"16px",display:"flex",gap:"5px",alignItems:"center"},link:{color:"#b57c2a",textDecoration:"none"},span:{color:"#8a8a8a"}};return(0,Kl.jsxs)("div",{style:r.breadcrumbs,children:[t.map((function(e,t){return(0,Kl.jsxs)("div",{children:[(0,Kl.jsx)(xu,{style:r.link,to:e.url,children:e.text}),(0,Kl.jsx)("span",{children:(0,Kl.jsx)(nxe,{})})]},t)})),(0,Kl.jsx)("span",{style:r.span,children:n})]})},$xe={formHeader:"FormHeader_formHeader__gc+sf",right:"FormHeader_right__qghZ6",chip:"FormHeader_chip__iHpAD",chip_number:"FormHeader_chip_number__u2Y8F",chip_content:"FormHeader_chip_content__A+D-V",disabled:"FormHeader_disabled__5Ug4h"},Vxe=function(e){var t=e.disable,n=e.links,r=e.active,o=e.tab,i=he();return(0,Kl.jsxs)(Cb,{className:$xe.formHeader,display:"grid",gridTemplateColumns:{xs:"1fr",sm:"auto 1fr"},alignItems:"center",padding:"10px",gap:"10px",children:[(0,Kl.jsx)(Cb,{className:$xe.left,children:(0,Kl.jsx)(Hxe,{links:n,active:r})}),(0,Kl.jsxs)(Cb,{className:$xe.right,display:"grid",gridTemplateColumns:{xs:"1fr",sm:"auto auto"},gap:"10px",alignItems:"center",justifyContent:{xs:"center",sm:"flex-end"},children:["new_form"===o&&(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsxs)(Cb,{className:"".concat($xe.chip," ").concat(1===t?$xe.disabled:""),display:"flex",alignItems:"center",justifyContent:"center",children:[(0,Kl.jsx)(kl.Z,{className:$xe.chip_number,variant:"body1",children:"1"}),(0,Kl.jsx)(kl.Z,{className:$xe.chip_content,variant:"body1",children:"Form details"})]}),(0,Kl.jsx)(kl.Z,{variant:"body1",sx:{display:{xs:"none",sm:"block"}},children:"---"}),(0,Kl.jsxs)(Cb,{className:"".concat($xe.chip," ").concat(2===t?$xe.disabled:""),display:"flex",alignItems:"center",justifyContent:"center",children:[(0,Kl.jsx)(kl.Z,{className:$xe.chip_number,variant:"body1",children:"2"}),(0,Kl.jsx)(kl.Z,{className:$xe.chip_content,variant:"body1",children:"Form builder"})]})]}),"list"===o&&(0,Kl.jsxs)(Cb,{display:"flex",gap:"10px",alignItems:"center",justifyContent:"flex-end",children:[(0,Kl.jsx)(zd.Z,{variant:"outlined",color:"primary",onClick:function(){return i("/settings/forms/templates")},style:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",marginRight:"10px"},children:"Browse Templates"}),(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",onClick:function(){return i("/settings/forms/new")},startIcon:(0,Kl.jsx)(rve,{}),style:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:"Create New Form"})]})]})]})},Xxe={container:{display:"inline-flex",justifyContent:"center",alignItems:"center",padding:"0.25rem 0.75rem",borderRadius:"9999px",fontSize:"0.875rem",fontWeight:"700",lineHeight:"1.5",border:"1px solid transparent"},chip:{display:"inline-block",padding:"0",borderRadius:"inherit",fontSize:"12px"}},Qxe=function(e){var t=e.text,n=e.color,r=e.background,o=e.onClick;return(0,Kl.jsx)("div",{style:Us(Us({},Xxe.container),{},{backgroundColor:"#".concat(r),color:"#".concat(n)}),onClick:o,children:(0,Kl.jsx)("div",{style:Xxe.chip,children:t})})},Yxe=["title","titleId"];function Gxe(){return Gxe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Gxe.apply(this,arguments)}function Kxe(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Jxe(t,n){var r=t.title,o=t.titleId,i=Kxe(t,Yxe);return e.createElement("svg",Gxe({width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,Pxe||(Pxe=e.createElement("g",{clipPath:"url(#clip0_1562_14970)"},e.createElement("path",{d:"M8 0C3.58862 0 0 3.58862 0 8C0 12.4114 3.58862 16 8 16C12.4114 16 16 12.4114 16 8C16 3.58862 12.4114 0 8 0Z",fill:"#B57C2A"}),e.createElement("path",{d:"M12.0547 6.30469L7.72131 10.6379C7.59131 10.7679 7.42065 10.8334 7.25 10.8334C7.07935 10.8334 6.90869 10.7679 6.77869 10.6379L4.61206 8.47131C4.35132 8.21069 4.35132 7.78931 4.61206 7.52869C4.87268 7.26794 5.29395 7.26794 5.55469 7.52869L7.25 9.224L11.1121 5.36206C11.3727 5.10132 11.7939 5.10132 12.0547 5.36206C12.3153 5.62268 12.3153 6.04395 12.0547 6.30469Z",fill:"#FAFAFA"}))),Ixe||(Ixe=e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_1562_14970"},e.createElement("rect",{width:16,height:16,fill:"white"})))))}var ewe,twe=e.forwardRef(Jxe),nwe=(__webpack_require__.p,function(e){var t=e.Icon,n=e.text,r=e.title,o=e.isSelected,i=e.onCheck,a=e.size,s=void 0===a?"small":a;return(0,Kl.jsxs)("div",{className:"container ".concat(o?"checked":""," ").concat(s," "),onClick:function(){return i()},children:[t&&(0,Kl.jsx)("div",{className:"icon",children:t}),r&&(0,Kl.jsx)("div",{className:"title",children:r}),n&&(0,Kl.jsx)("div",{className:"text",children:n}),(0,Kl.jsx)("div",{className:"checkmark",children:o&&(0,Kl.jsx)(twe,{})})]})}),rwe=["title","titleId"];function owe(){return owe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},owe.apply(this,arguments)}function iwe(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function awe(t,n){var r=t.title,o=t.titleId,i=iwe(t,rwe);return e.createElement("svg",owe({width:42,height:42,viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,ewe||(ewe=e.createElement("path",{d:"M11.511 31.8889H16.1777V22.5556H25.511V31.8889H30.1777V17.8889L20.8443 10.8889L11.511 17.8889V31.8889ZM8.3999 35V16.3333L20.8443 7L33.2888 16.3333V35H22.3999V25.6667H19.2888V35H8.3999Z",fill:"#DDC39D"})))}var swe,lwe=e.forwardRef(awe),cwe=(__webpack_require__.p,["title","titleId"]);function uwe(){return uwe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},uwe.apply(this,arguments)}function dwe(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function pwe(t,n){var r=t.title,o=t.titleId,i=dwe(t,cwe);return e.createElement("svg",uwe({width:26,height:28,viewBox:"0 0 26 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,swe||(swe=e.createElement("path",{d:"M10.511 21.7778H15.1777V17.8889H19.0666V13.2222H15.1777V9.33333H10.511V13.2222H6.62213V17.8889H10.511V21.7778ZM0.399902 28V9.33333L12.8443 0L25.2888 9.33333V28H0.399902ZM3.51101 24.8889H22.1777V10.8889L12.8443 3.88889L3.51101 10.8889V24.8889Z",fill:"#CDA770"})))}var fwe,hwe=e.forwardRef(pwe),bwe=(__webpack_require__.p,["title","titleId"]);function Awe(){return Awe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Awe.apply(this,arguments)}function mwe(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function gwe(t,n){var r=t.title,o=t.titleId,i=mwe(t,bwe);return e.createElement("svg",Awe({width:28,height:28,viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,fwe||(fwe=e.createElement("path",{d:"M14 28C12.0633 28 10.2433 27.6325 8.54 26.8975C6.83667 26.1625 5.355 25.165 4.095 23.905C2.835 22.645 1.8375 21.1633 1.1025 19.46C0.3675 17.7567 0 15.9367 0 14C0 12.0633 0.3675 10.2433 1.1025 8.54C1.8375 6.83667 2.835 5.355 4.095 4.095C5.355 2.835 6.83667 1.8375 8.54 1.1025C10.2433 0.3675 12.0633 0 14 0C15.9367 0 17.7567 0.3675 19.46 1.1025C21.1633 1.8375 22.645 2.835 23.905 4.095C25.165 5.355 26.1625 6.83667 26.8975 8.54C27.6325 10.2433 28 12.0633 28 14C28 15.9367 27.6325 17.7567 26.8975 19.46C26.1625 21.1633 25.165 22.645 23.905 23.905C22.645 25.165 21.1633 26.1625 19.46 26.8975C17.7567 27.6325 15.9367 28 14 28ZM14 25.2C17.1267 25.2 19.775 24.115 21.945 21.945C24.115 19.775 25.2 17.1267 25.2 14C25.2 13.8367 25.1942 13.6675 25.1825 13.4925C25.1708 13.3175 25.165 13.1717 25.165 13.055C25.0483 13.7317 24.7333 14.2917 24.22 14.735C23.7067 15.1783 23.1 15.4 22.4 15.4H19.6C18.83 15.4 18.1708 15.1258 17.6225 14.5775C17.0742 14.0292 16.8 13.37 16.8 12.6V11.2H11.2V8.4C11.2 7.63 11.4742 6.97083 12.0225 6.4225C12.5708 5.87417 13.23 5.6 14 5.6H15.4C15.4 5.06333 15.5458 4.59083 15.8375 4.1825C16.1292 3.77417 16.485 3.44167 16.905 3.185C16.4383 3.06833 15.9658 2.975 15.4875 2.905C15.0092 2.835 14.5133 2.8 14 2.8C10.8733 2.8 8.225 3.885 6.055 6.055C3.885 8.225 2.8 10.8733 2.8 14H9.8C11.34 14 12.6583 14.5483 13.755 15.645C14.8517 16.7417 15.4 18.06 15.4 19.6V21H11.2V24.85C11.6667 24.9667 12.1275 25.0542 12.5825 25.1125C13.0375 25.1708 13.51 25.2 14 25.2Z",fill:"#DDC39D"})))}var vwe,ywe=e.forwardRef(gwe),Mwe=(__webpack_require__.p,{}),Owe=function(t){var r=t.sites,o=t.onSelect,i=t.initialSelectedSite,a=(0,e.useState)(i||2),s=(0,n.Z)(a,2),l=s[0],c=s[1],u={home:(0,Kl.jsx)(lwe,{}),clinic:(0,Kl.jsx)(hwe,{}),globe:(0,Kl.jsx)(ywe,{})};return(0,e.useEffect)((function(){o(l)}),[l]),(0,e.useEffect)((function(){i&&c(i)}),[i]),(0,Kl.jsxs)("div",{className:"block",children:[(0,Kl.jsx)("div",{className:"blockTitle",children:"Completion Site"}),(0,Kl.jsx)("div",{className:"flex",children:r.map((function(e){return(0,Kl.jsx)(nwe,{title:e.title,Icon:u[e.icon],isSelected:l==e.id,onCheck:function(){return c(e.id)}},e.id)}))})]})},_we=$l((function(t){var o,i=t.onSelect,a=t.initialSelectedLocations,s=(0,e.useContext)(bA),l=(0,e.useMemo)((function(){var e,t;return null===s||void 0===s||null===(e=s.clinic)||void 0===e||null===(t=e.locations)||void 0===t?void 0:t.filter((function(e){return!(null!==e&&void 0!==e&&e.deleted_at)}))}),[null===s||void 0===s||null===(o=s.clinic)||void 0===o?void 0:o.locations]),c=(0,e.useState)([]),u=(0,n.Z)(c,2),d=u[0],p=u[1];return(0,e.useEffect)((function(){i(d)}),[d]),(0,e.useEffect)((function(){a&&p(a)}),[a]),(0,Kl.jsxs)("div",{className:"block",children:[(0,Kl.jsx)("div",{className:"blockTitle",children:"Locations"}),(0,Kl.jsx)("div",{className:"gridLayout",children:null===l||void 0===l?void 0:l.map((function(e){return(0,Kl.jsx)(nwe,{title:e.name,text:e.address,isSelected:d.includes(e.id),onCheck:function(){return t=e.id,void p((function(e){return e.includes(t)?e.filter((function(e){return e!==t})):[].concat((0,r.Z)(e),[t])}));var t},size:"large"},e.id)}))})]})})),zwe=_we,xwe=["title","titleId"];function wwe(){return wwe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wwe.apply(this,arguments)}function Cwe(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Swe(t,n){var r=t.title,o=t.titleId,i=Cwe(t,xwe);return e.createElement("svg",wwe({width:42,height:42,viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,vwe||(vwe=e.createElement("path",{d:"M24.4999 29.4C23.5199 29.4 22.6916 29.0617 22.0149 28.385C21.3382 27.7083 20.9999 26.88 20.9999 25.9C20.9999 24.92 21.3382 24.0917 22.0149 23.415C22.6916 22.7383 23.5199 22.4 24.4999 22.4C25.4799 22.4 26.3082 22.7383 26.9849 23.415C27.6616 24.0917 27.9999 24.92 27.9999 25.9C27.9999 26.88 27.6616 27.7083 26.9849 28.385C26.3082 29.0617 25.4799 29.4 24.4999 29.4ZM11.1999 35C10.4299 35 9.77074 34.7258 9.2224 34.1775C8.67407 33.6292 8.3999 32.97 8.3999 32.2V12.6C8.3999 11.83 8.67407 11.1708 9.2224 10.6225C9.77074 10.0742 10.4299 9.8 11.1999 9.8H12.5999V7H15.3999V9.8H26.5999V7H29.3999V9.8H30.7999C31.5699 9.8 32.2291 10.0742 32.7774 10.6225C33.3257 11.1708 33.5999 11.83 33.5999 12.6V32.2C33.5999 32.97 33.3257 33.6292 32.7774 34.1775C32.2291 34.7258 31.5699 35 30.7999 35H11.1999ZM11.1999 32.2H30.7999V18.2H11.1999V32.2ZM11.1999 15.4H30.7999V12.6H11.1999V15.4Z",fill:"#DDC39D"})))}var Ewe,kwe=e.forwardRef(Swe),Dwe=(__webpack_require__.p,["title","titleId"]);function Nwe(){return Nwe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Nwe.apply(this,arguments)}function Twe(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function jwe(t,n){var r=t.title,o=t.titleId,i=Twe(t,Dwe);return e.createElement("svg",Nwe({width:42,height:42,viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,Ewe||(Ewe=e.createElement("path",{d:"M23.1 35C20.58 35 18.4333 34.1133 16.66 32.34C14.8867 30.5667 14 28.42 14 25.9V25.095C11.9933 24.7683 10.325 23.8292 8.995 22.2775C7.665 20.7258 7 18.9 7 16.8V8.4H11.2V7H14V12.6H11.2V11.2H9.8V16.8C9.8 18.34 10.3483 19.6583 11.445 20.755C12.5417 21.8517 13.86 22.4 15.4 22.4C16.94 22.4 18.2583 21.8517 19.355 20.755C20.4517 19.6583 21 18.34 21 16.8V11.2H19.6V12.6H16.8V7H19.6V8.4H23.8V16.8C23.8 18.9 23.135 20.7258 21.805 22.2775C20.475 23.8292 18.8067 24.7683 16.8 25.095V25.9C16.8 27.65 17.4125 29.1375 18.6375 30.3625C19.8625 31.5875 21.35 32.2 23.1 32.2C24.85 32.2 26.3375 31.5875 27.5625 30.3625C28.7875 29.1375 29.4 27.65 29.4 25.9V23.555C28.5833 23.275 27.9125 22.7733 27.3875 22.05C26.8625 21.3267 26.6 20.51 26.6 19.6C26.6 18.4333 27.0083 17.4417 27.825 16.625C28.6417 15.8083 29.6333 15.4 30.8 15.4C31.9667 15.4 32.9583 15.8083 33.775 16.625C34.5917 17.4417 35 18.4333 35 19.6C35 20.51 34.7375 21.3267 34.2125 22.05C33.6875 22.7733 33.0167 23.275 32.2 23.555V25.9C32.2 28.42 31.3133 30.5667 29.54 32.34C27.7667 34.1133 25.62 35 23.1 35ZM30.8 21C31.1967 21 31.5292 20.8658 31.7975 20.5975C32.0658 20.3292 32.2 19.9967 32.2 19.6C32.2 19.2033 32.0658 18.8708 31.7975 18.6025C31.5292 18.3342 31.1967 18.2 30.8 18.2C30.4033 18.2 30.0708 18.3342 29.8025 18.6025C29.5342 18.8708 29.4 19.2033 29.4 19.6C29.4 19.9967 29.5342 20.3292 29.8025 20.5975C30.0708 20.8658 30.4033 21 30.8 21Z",fill:"#CDA770"})))}var Bwe,Lwe=e.forwardRef(jwe),Rwe=(__webpack_require__.p,["title","titleId"]);function qwe(){return qwe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qwe.apply(this,arguments)}function Pwe(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Iwe(t,n){var r=t.title,o=t.titleId,i=Pwe(t,Rwe);return e.createElement("svg",qwe({width:42,height:42,viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,Bwe||(Bwe=e.createElement("path",{d:"M19.4127 20.3651L28.3968 11.381C28.6508 11.127 28.9471 11 29.2857 11C29.6243 11 29.9206 11.127 30.1746 11.381C30.4286 11.6349 30.5556 11.9312 30.5556 12.2698C30.5556 12.6085 30.4286 12.9048 30.1746 13.1587L21.2222 22.1429L19.4127 20.3651ZM22.5556 23.5079L30.619 15.4127C30.873 15.1587 31.1746 15.0317 31.5238 15.0317C31.873 15.0317 32.1746 15.1587 32.4286 15.4127C32.6825 15.6667 32.8095 15.9683 32.8095 16.3175C32.8095 16.6667 32.6825 16.9683 32.4286 17.2222L24.3651 25.2857L22.5556 23.5079ZM12.4603 29.5397C10.5344 27.6138 9.57143 25.2963 9.57143 22.5873C9.57143 19.8783 10.5344 17.5608 12.4603 15.6349L16.2698 11.8254L18.1429 13.6984C18.291 13.8466 18.418 14 18.5238 14.1587C18.6296 14.3175 18.7355 14.4815 18.8413 14.6508L23.5397 9.92063C23.7937 9.66667 24.0952 9.53968 24.4444 9.53968C24.7937 9.53968 25.0952 9.66667 25.3492 9.92063C25.6032 10.1746 25.7302 10.4762 25.7302 10.8254C25.7302 11.1746 25.6032 11.4762 25.3492 11.7302L19.8571 17.2222L17.1587 19.8889L17.7619 20.4921C18.7355 21.4656 19.2011 22.6296 19.1587 23.9841C19.1164 25.3386 18.5979 26.5132 17.6032 27.5079L15.7937 25.7302C16.2804 25.2434 16.5503 24.6667 16.6032 24C16.6561 23.3333 16.4392 22.7566 15.9524 22.2698L14.4603 20.8095C14.2063 20.5556 14.0794 20.254 14.0794 19.9048C14.0794 19.5556 14.2063 19.254 14.4603 19L16.2698 17.2222C16.5238 16.9683 16.6508 16.6667 16.6508 16.3175C16.6508 15.9683 16.5238 15.6667 16.2698 15.4127L14.2381 17.4444C12.7989 18.8836 12.0794 20.6032 12.0794 22.6032C12.0794 24.6032 12.7989 26.3228 14.2381 27.7619C15.6772 29.2011 17.4021 29.9206 19.4127 29.9206C21.4233 29.9206 23.1481 29.2011 24.5873 27.7619L32.1746 20.1429C32.4286 19.8889 32.7302 19.7619 33.0794 19.7619C33.4286 19.7619 33.7302 19.8889 33.9841 20.1429C34.2381 20.3968 34.3651 20.6984 34.3651 21.0476C34.3651 21.3968 34.2381 21.6984 33.9841 21.9524L26.3651 29.5397C24.4392 31.4656 22.1217 32.4286 19.4127 32.4286C16.7037 32.4286 14.3862 31.4656 12.4603 29.5397ZM27.3492 35V32.4286C28.746 32.4286 29.9418 31.9312 30.9365 30.9365C31.9312 29.9418 32.4286 28.746 32.4286 27.3492H35C35 29.4656 34.254 31.2698 32.7619 32.7619C31.2698 34.254 29.4656 35 27.3492 35ZM7 14.6508C7 12.5344 7.74603 10.7302 9.2381 9.2381C10.7302 7.74603 12.5344 7 14.6508 7V9.57143C13.254 9.57143 12.0582 10.0688 11.0635 11.0635C10.0688 12.0582 9.57143 13.254 9.57143 14.6508H7Z",fill:"#DDC39D"})))}var Wwe,Fwe=e.forwardRef(Iwe),Uwe=(__webpack_require__.p,["title","titleId"]);function Zwe(){return Zwe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Zwe.apply(this,arguments)}function Hwe(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function $we(t,n){var r=t.title,o=t.titleId,i=Hwe(t,Uwe);return e.createElement("svg",Zwe({width:42,height:42,viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,Wwe||(Wwe=e.createElement("path",{d:"M20.1998 35C19.5776 35 18.9942 34.8667 18.4498 34.6C17.9054 34.3333 17.4442 33.9556 17.0665 33.4667L9.7998 24.2333L10.4331 23.5667C10.8776 23.1 11.4109 22.8222 12.0331 22.7333C12.6554 22.6444 13.2331 22.7667 13.7665 23.1L16.2331 24.6V13.6667C16.2331 13.2889 16.3609 12.9722 16.6165 12.7167C16.872 12.4611 17.1887 12.3333 17.5665 12.3333C17.9442 12.3333 18.2665 12.4611 18.5331 12.7167C18.7998 12.9722 18.9331 13.2889 18.9331 13.6667V29.4L15.6998 27.4L19.1665 31.8333C19.2998 31.9889 19.4554 32.1111 19.6331 32.2C19.8109 32.2889 19.9998 32.3333 20.1998 32.3333H27.5665C28.2998 32.3333 28.9276 32.0722 29.4498 31.55C29.972 31.0278 30.2331 30.4 30.2331 29.6667V24.3333C30.2331 23.9556 30.1054 23.6389 29.8498 23.3833C29.5942 23.1278 29.2776 23 28.8998 23H21.5998V20.3333H28.8998C30.0109 20.3333 30.9554 20.7222 31.7331 21.5C32.5109 22.2778 32.8998 23.2222 32.8998 24.3333V29.6667C32.8998 31.1333 32.3776 32.3889 31.3331 33.4333C30.2887 34.4778 29.0331 35 27.5665 35H20.1998ZM11.7998 17C11.5109 16.5111 11.2887 15.9833 11.1331 15.4167C10.9776 14.85 10.8998 14.2667 10.8998 13.6667C10.8998 11.8222 11.5498 10.25 12.8498 8.95C14.1498 7.65 15.722 7 17.5665 7C19.4109 7 20.9831 7.65 22.2831 8.95C23.5831 10.25 24.2331 11.8222 24.2331 13.6667C24.2331 14.2667 24.1554 14.85 23.9998 15.4167C23.8442 15.9833 23.622 16.5111 23.3331 17L21.0331 15.6667C21.2109 15.3556 21.3442 15.0389 21.4331 14.7167C21.522 14.3944 21.5665 14.0444 21.5665 13.6667C21.5665 12.5556 21.1776 11.6111 20.3998 10.8333C19.622 10.0556 18.6776 9.66667 17.5665 9.66667C16.4554 9.66667 15.5109 10.0556 14.7331 10.8333C13.9554 11.6111 13.5665 12.5556 13.5665 13.6667C13.5665 14.0444 13.6109 14.3944 13.6998 14.7167C13.7887 15.0389 13.922 15.3556 14.0998 15.6667L11.7998 17Z",fill:"#DDC39D"})))}var Vwe,Xwe=e.forwardRef($we),Qwe=(__webpack_require__.p,function(t){var r=t.phases,o=t.onSelect,i=t.initialSelectedPhase,a=(0,e.useState)(2),s=(0,n.Z)(a,2),l=s[0],c=s[1],u=(0,e.useState)(!1),d=(0,n.Z)(u,2),p=d[0],f=d[1],h=(0,e.useState)(!1),b=(0,n.Z)(h,2),A=b[0],m=b[1],g=(0,e.useState)(0),v=(0,n.Z)(g,2),y=v[0],M=v[1],O=(0,e.useState)("Days"),_=(0,n.Z)(O,2),z=_[0],x=_[1],w=(0,e.useState)(!1),C=(0,n.Z)(w,2),S=C[0],E=C[1],k={beforeAppointment:(0,Kl.jsx)(kwe,{}),consultation:(0,Kl.jsx)(Lwe,{}),afterTreatment:(0,Kl.jsx)(Fwe,{}),action:(0,Kl.jsx)(Xwe,{})};return(0,e.useEffect)((function(){o({id:l,timeValue:y,timeUnit:z,attached:S})}),[l,y,z,S]),(0,e.useEffect)((function(){i&&(c(i.id),M(i.timeValue),x(i.timeUnit),E(i.attached),f(1===i.id),m(3===i.id))}),[i]),(0,Kl.jsxs)("div",{className:"block",children:[(0,Kl.jsx)("div",{className:"blockTitle",children:"Completion Phase"}),(0,Kl.jsx)("div",{className:"flex",children:r.map((function(e){return(0,Kl.jsx)(nwe,{title:e.title,Icon:k[e.icon],isSelected:l==e.id,onCheck:function(){c(e.id),f(1===e.id),m(3===e.id)}},e.id)}))}),(p||A)&&(0,Kl.jsxs)(Cb,{children:[(0,Kl.jsxs)(Cb,{display:"flex",className:"".concat(S?"disabled":""),alignItems:"center",mb:2,mt:2,children:[(0,Kl.jsx)(Wu.Z,{variant:"outlined",size:"small",value:y,onChange:function(e){M(e.target.value)},style:{width:"60px",marginRight:"8px"}}),(0,Kl.jsx)(AJ.Z,{variant:"outlined",size:"small",style:{marginRight:"8px"},children:(0,Kl.jsxs)(LE.Z,{value:z,onChange:function(e){x(e.target.value)},children:[(0,Kl.jsx)(xd.Z,{value:"Days",children:"Days"}),(0,Kl.jsx)(xd.Z,{value:"Hours",children:"Hours"}),(0,Kl.jsx)(xd.Z,{value:"Minutes",children:"Minutes"})]})}),(0,Kl.jsx)(kl.Z,{variant:"body1",style:{marginRight:"8px"},children:p?"Before Treatment":"After Treatment"})]}),(0,Kl.jsx)(oS.Z,{control:(0,Kl.jsx)(kk.Z,{checked:S,onChange:function(e){E(e.target.checked)},color:"primary"}),label:p?"Attach to booking confirmation":"Attach to completion notification"})]})]})}),Ywe=["title","titleId"];function Gwe(){return Gwe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Gwe.apply(this,arguments)}function Kwe(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Jwe(t,n){var r=t.title,o=t.titleId,i=Kwe(t,Ywe);return e.createElement("svg",Gwe({width:42,height:42,viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,Vwe||(Vwe=e.createElement("path",{d:"M28.6364 23.9273V20.1091H24.8182V17.5636H28.6364V13.7455H31.1818V17.5636H35V20.1091H31.1818V23.9273H28.6364ZM17.1818 21.3818C15.7818 21.3818 14.5833 20.8833 13.5864 19.8864C12.5894 18.8894 12.0909 17.6909 12.0909 16.2909C12.0909 14.8909 12.5894 13.6924 13.5864 12.6955C14.5833 11.6985 15.7818 11.2 17.1818 11.2C18.5818 11.2 19.7803 11.6985 20.7773 12.6955C21.7742 13.6924 22.2727 14.8909 22.2727 16.2909C22.2727 17.6909 21.7742 18.8894 20.7773 19.8864C19.7803 20.8833 18.5818 21.3818 17.1818 21.3818ZM7 31.5636V28C7 27.2788 7.18561 26.6159 7.55682 26.0114C7.92803 25.4068 8.42121 24.9455 9.03636 24.6273C10.3515 23.9697 11.6879 23.4765 13.0455 23.1477C14.403 22.819 15.7818 22.6546 17.1818 22.6546C18.5818 22.6546 19.9606 22.819 21.3182 23.1477C22.6758 23.4765 24.0121 23.9697 25.3273 24.6273C25.9424 24.9455 26.4356 25.4068 26.8068 26.0114C27.178 26.6159 27.3636 27.2788 27.3636 28V31.5636H7ZM9.54545 29.0182H24.8182V28C24.8182 27.7667 24.7598 27.5546 24.6432 27.3636C24.5265 27.1727 24.3727 27.0243 24.1818 26.9182C23.0364 26.3455 21.8803 25.9159 20.7136 25.6296C19.547 25.3432 18.3697 25.2 17.1818 25.2C15.9939 25.2 14.8167 25.3432 13.65 25.6296C12.4833 25.9159 11.3273 26.3455 10.1818 26.9182C9.99091 27.0243 9.83712 27.1727 9.72045 27.3636C9.60379 27.5546 9.54545 27.7667 9.54545 28V29.0182ZM17.1818 18.8364C17.8818 18.8364 18.4811 18.5871 18.9795 18.0886C19.478 17.5902 19.7273 16.9909 19.7273 16.2909C19.7273 15.5909 19.478 14.9917 18.9795 14.4932C18.4811 13.9947 17.8818 13.7455 17.1818 13.7455C16.4818 13.7455 15.8826 13.9947 15.3841 14.4932C14.8856 14.9917 14.6364 15.5909 14.6364 16.2909C14.6364 16.9909 14.8856 17.5902 15.3841 18.0886C15.8826 18.5871 16.4818 18.8364 17.1818 18.8364Z",fill:"#DDC39D"})))}var eCe,tCe,nCe=e.forwardRef(Jwe),rCe=(__webpack_require__.p,function(t){var r=t.frequencies,o=t.onSelect,i=t.initialSelectedFrequency,a=(0,e.useState)(2),s=(0,n.Z)(a,2),l=s[0],c=s[1],u={newPatient:(0,Kl.jsx)(nCe,{}),beforeTreatment:(0,Kl.jsx)(kwe,{}),action:(0,Kl.jsx)(Xwe,{})};return(0,e.useEffect)((function(){o(l)}),[l]),(0,e.useEffect)((function(){i&&c(i)}),[i]),(0,Kl.jsxs)("div",{className:"block",children:[(0,Kl.jsx)("div",{className:"blockTitle",children:"Frequency"}),(0,Kl.jsx)("div",{className:"flex",children:r.map((function(e){return(0,Kl.jsx)(nwe,{title:e.title,Icon:u[e.icon],isSelected:l==e.id,onCheck:function(){return c(e.id)}},e.id)}))})]})}),oCe=["title","titleId"];function iCe(){return iCe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},iCe.apply(this,arguments)}function aCe(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function sCe(t,n){var r=t.title,o=t.titleId,i=aCe(t,oCe);return e.createElement("svg",iCe({width:42,height:42,viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,eCe||(eCe=e.createElement("path",{d:"M27.1677 7C26.9792 7.00123 26.7937 7.04775 26.6262 7.13432L22.0514 9.43942C21.4616 9.73877 21.2232 10.4573 21.5169 11.0499L23.822 15.6224C24.5456 17.0587 26.7 15.9731 25.9763 14.5368L24.6672 11.9492C28.8852 12.8903 32.0345 16.6433 32.0345 21.1577C32.0345 25.6248 28.9398 29.3527 24.792 30.3426C23.1059 30.636 23.7161 33.185 25.3524 32.6831C30.5681 31.4383 34.4479 26.7385 34.4479 21.1577C34.4479 15.956 31.0738 11.5314 26.3954 9.94555L27.7022 9.28619C28.8448 8.72085 28.4426 7.00023 27.1677 7ZM8.3999 20.7668C8.3999 25.9683 11.7719 30.3981 16.45 31.986L15.1362 32.6477C13.5056 33.3 14.7311 35.7191 16.2216 34.7903L20.787 32.4946C21.3857 32.1985 21.6296 31.4722 21.3309 30.8748L19.0258 26.3093C18.8086 25.861 18.338 25.5925 17.8415 25.6336C16.979 25.7028 16.4682 26.6314 16.8714 27.3971L18.1735 29.9753C13.9588 29.0317 10.8109 25.2788 10.8109 20.7668C10.8109 16.2997 13.8985 12.5812 18.0463 11.5913C19.516 11.3617 19.3208 8.91721 17.6732 9.21792C12.2135 10.2144 8.3999 15.186 8.3999 20.7668Z",fill:"#CDA770",stroke:"#CDA770",strokeWidth:.3})),tCe||(tCe=e.createElement("path",{d:"M19.6001 23.8V22.6085H20.9572V19.4153H21.6786L19.7461 20.4321V19.0817L21.4124 18.2H22.5375V22.6085H23.8001V23.8H19.6001Z",fill:"#CDA770"})))}var lCe,cCe=e.forwardRef(sCe),uCe=(__webpack_require__.p,["title","titleId"]);function dCe(){return dCe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},dCe.apply(this,arguments)}function pCe(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function fCe(t,n){var r=t.title,o=t.titleId,i=pCe(t,uCe);return e.createElement("svg",dCe({width:42,height:42,viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,lCe||(lCe=e.createElement("path",{d:"M27.1677 7C26.9792 7.00123 26.7937 7.04775 26.6262 7.13432L22.0514 9.43942C21.4616 9.73877 21.2232 10.4573 21.5169 11.0499L23.822 15.6224C24.5456 17.0587 26.7 15.9731 25.9763 14.5368L24.6672 11.9492C28.8852 12.8903 32.0345 16.6433 32.0345 21.1577C32.0345 25.6248 28.9398 29.3527 24.792 30.3426C23.1059 30.636 23.7161 33.185 25.3524 32.6831C30.5681 31.4383 34.4479 26.7385 34.4479 21.1577C34.4479 15.956 31.0738 11.5314 26.3954 9.94555L27.7022 9.28619C28.8448 8.72085 28.4426 7.00023 27.1677 7ZM8.3999 20.7668C8.3999 25.9683 11.7719 30.3981 16.45 31.986L15.1362 32.6477C13.5056 33.3 14.7311 35.7191 16.2216 34.7903L20.787 32.4946C21.3857 32.1985 21.6296 31.4722 21.3309 30.8748L19.0258 26.3093C18.8086 25.861 18.338 25.5925 17.8415 25.6336C16.979 25.7028 16.4682 26.6314 16.8714 27.3971L18.1735 29.9753C13.9588 29.0317 10.8109 25.2788 10.8109 20.7668C10.8109 16.2997 13.8985 12.5812 18.0463 11.5913C19.516 11.3617 19.3208 8.91721 17.6732 9.21792C12.2135 10.2144 8.3999 15.186 8.3999 20.7668Z",fill:"#DDC39D",stroke:"#DDC39D",strokeWidth:.3})))}var hCe,bCe,ACe,mCe=e.forwardRef(fCe),gCe=(__webpack_require__.p,function(t){var r=t.frequenciesPerService,o=t.onSelect,i=t.initialSelectedFrequencyPerService,a=(0,e.useState)(2),s=(0,n.Z)(a,2),l=s[0],c=s[1],u={frequencyOnce:(0,Kl.jsx)(cCe,{}),frequency:(0,Kl.jsx)(mCe,{})};return(0,e.useEffect)((function(){o(l)}),[l]),(0,e.useEffect)((function(){i&&c(i)}),[i]),(0,Kl.jsxs)("div",{className:"block",children:[(0,Kl.jsx)("div",{className:"blockTitle",children:"Frequency Per Service"}),(0,Kl.jsx)("div",{className:"flex",children:r.map((function(e){return(0,Kl.jsx)(nwe,{title:e.title,Icon:u[e.icon],isSelected:l==e.id,onCheck:function(){return c(e.id)}},e.id)}))})]})}),vCe=function(t){var r=t.onSelect,o=t.initialSelectedServices,i=t.hideTitle,a=t.onServiceLoad,s=(0,e.useState)([]),l=(0,n.Z)(s,2),c=l[0],u=l[1],d=(0,e.useState)([]),p=(0,n.Z)(d,2),f=p[0],h=p[1];return(0,e.useEffect)((function(){Re.get("/v1/staff-by-subdomain",{params:{location:"all"}}).then((function(e){var t,n;u(null===(t=e.data.data)||void 0===t?void 0:t.flatMap((function(e){return e.treatmentTypes}))),a(null===(n=e.data.data)||void 0===n?void 0:n.flatMap((function(e){return e.treatmentTypes})))}))}),[]),(0,e.useEffect)((function(){o&&!(0,rne.isEqual)(f,o)&&h(o)}),[o,r,f]),(0,Kl.jsxs)("div",{className:"block",children:[!i&&(0,Kl.jsx)("div",{className:"blockTitle",children:"Associated services"}),(0,Kl.jsx)("div",{className:i?"":"services",children:(0,Kl.jsx)(WMe,{data:c,onChange:function(e){h(e),r(e)},value:f,initValues:o})})]})},yCe=(0,jd.Z)({menuItem:{padding:"5px !important","&:hover":{backgroundColor:"#F8F2EA",color:"#B57C2A"},"&.Mui-selected":{backgroundColor:"#F8F2EA",color:"#B57C2A"},"&.Mui-selected:hover":{backgroundColor:"#e0e0e0",color:"#B57C2A"}}}),MCe=function(t){var r=t.options,o=t.onChange,i=t.value,a=(0,e.useState)(""),s=(0,n.Z)(a,2),l=s[0],c=s[1],u=(0,e.useState)(!1),d=(0,n.Z)(u,2),p=d[0],f=d[1],h=(0,e.useRef)(null),b=yCe(),A=function(e){h.current&&!h.current.contains(e.target)&&f(!1)};return(0,e.useEffect)((function(){return document.addEventListener("mousedown",A),function(){document.removeEventListener("mousedown",A)}}),[]),(0,e.useEffect)((function(){o(l)}),[l]),(0,e.useEffect)((function(){i&&c(i)}),[i]),(0,Kl.jsxs)(Cb,{className:"name-settings",padding:2,borderRadius:8,bgcolor:"#fff7f0",marginBottom:2,children:[(0,Kl.jsx)(kl.Z,{variant:"h6",gutterBottom:!0,children:"Name Settings"}),(0,Kl.jsxs)(kl.Z,{variant:"body1",className:"note",paragraph:!0,children:[(0,Kl.jsx)("strong",{children:"Note:"})," Type ",(0,Kl.jsx)("code",{children:"{{"})," to get the list of variables. For example, you can set clinic location name, patient name, etc dynamically using variables."]}),(0,Kl.jsxs)(Cb,{className:"file-name-settings",mb:2,position:"relative",children:[(0,Kl.jsx)(kl.Z,{variant:"body1",mb:2,children:"Settings for dynamically generated content"}),(0,Kl.jsxs)(AJ.Z,{variant:"outlined",className:"file-name-input",fullWidth:!0,children:[(0,Kl.jsx)(Wu.Z,{label:"File Name Template",variant:"outlined",fullWidth:!0,value:l,onChange:function(e){var t=e.target.value;c(t),"{{"===t.slice(-2)?f(!0):t.includes("{{")||f(!1)},size:"small"}),p&&(0,Kl.jsx)(Cb,{ref:h,position:"absolute",bgcolor:"white",border:"1px solid #ccc",borderRadius:"4px",mt:1,zIndex:1,width:"100%",boxShadow:1,children:(0,Kl.jsx)(Ip.Z,{children:r.map((function(e){return(0,Kl.jsx)(xd.Z,{button:!0,onClick:function(){return function(e){var t=l.lastIndexOf("{{")+2,n=l.slice(0,t-2)+e.name+l.slice(t);c(n),f(!1)}(e)},children:(0,Kl.jsx)(Hte,{className:b.menuItem,primary:e.name})},e.name)}))})})]})]}),(0,Kl.jsx)(kl.Z,{className:"example",children:"Example: data-privacy-compliance-John_Doe-Omagh_Clinic-13022024T1214.pdf"})]})},OCe=(0,jd.Z)({menuItem:{padding:"5px !important","&:hover":{backgroundColor:"#F8F2EA",color:"#B57C2A"},"&.Mui-selected":{backgroundColor:"#F8F2EA",color:"#B57C2A"},"&.Mui-selected:hover":{backgroundColor:"#e0e0e0",color:"#B57C2A"}}}),_Ce=function(t){var r=t.onSelect,o=t.initialValue,i=(0,e.useState)(!1),a=(0,n.Z)(i,2),s=a[0],l=a[1],c=(0,e.useState)("3 Months"),u=(0,n.Z)(c,2),d=u[0],p=u[1],f=(0,e.useState)(Vs()().format("DD-MM-YYYY")),h=(0,n.Z)(f,2),b=(h[0],h[1]),A=(0,e.useState)(!1),m=(0,n.Z)(A,2),g=m[0],v=m[1],y=(0,e.useState)(0),M=(0,n.Z)(y,2),O=M[0],_=M[1],z=OCe();(0,e.useEffect)((function(){if(g)b(Vs()().add(O,"days").format("DD-MM-YYYY"));else{var e=parseInt(d,10);b(Vs()().add(e,"months").format("DD-MM-YYYY"))}}),[d,O]);return(0,e.useEffect)((function(){r({enabled:s,duration:d,days:O})}),[d,O]),(0,e.useEffect)((function(){o&&(l(o.enabled),p(o.duration),_(o.days),v("Custom days"===o.duration))}),[o]),(0,Kl.jsxs)(Cb,{className:"form-expiry",padding:2,borderRadius:8,bgcolor:"#fff7f0",marginBottom:2,children:[(0,Kl.jsxs)(Cb,{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:2,children:[(0,Kl.jsx)(kl.Z,{variant:"h6",children:"Form Expiry"}),(0,Kl.jsxs)(Cb,{display:"flex",alignItems:"center",children:[(0,Kl.jsx)(kl.Z,{variant:"body1",children:"Activate Expiry"}),(0,Kl.jsx)(rS.Z,{checked:s,onChange:function(e){l(e.target.checked)},color:"primary"})]})]}),s&&(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(AJ.Z,{variant:"outlined",fullWidth:!0,children:(0,Kl.jsx)(Wu.Z,{select:!0,label:"Form Expires After",value:d,onChange:function(e){v("Custom days"===e.target.value),p(e.target.value)},variant:"outlined",fullWidth:!0,size:"small",children:["3 Months","6 Months","12 Months","18 Months","Custom days"].map((function(e){return(0,Kl.jsx)(xd.Z,{value:e,size:"small",className:z.menuItem,children:e},e)}))})}),g&&(0,Kl.jsx)(AJ.Z,{variant:"outlined",fullWidth:!0,style:{marginTop:"20px"},children:(0,Kl.jsx)(Wu.Z,{label:"Enter Number of Days",value:O,onChange:function(e){return _(e.target.value)},variant:"outlined",fullWidth:!0,size:"small"})})]})]})},zCe=__webpack_require__(80590),xCe=(0,jd.Z)({menuItem:{padding:"5px !important","&:hover":{backgroundColor:"#F8F2EA",color:"#B57C2A"},"&.Mui-selected":{backgroundColor:"#F8F2EA",color:"#B57C2A"},"&.Mui-selected:hover":{backgroundColor:"#e0e0e0",color:"#B57C2A"}}}),wCe=function(t){var r=t.onSelect,o=t.error,i=t.initialValue,a=(0,e.useState)(!1),s=(0,n.Z)(a,2),l=s[0],c=s[1],u=(0,e.useState)("Remind to Read Document"),d=(0,n.Z)(u,2),p=d[0],f=d[1],h=(0,e.useState)(""),b=(0,n.Z)(h,2),A=b[0],m=b[1],g=xCe();return(0,e.useEffect)((function(){r({enabled:l,type:p,duration:A})}),[l,p,A,r]),(0,e.useEffect)((function(){i&&(c(i.enabled),f(i.type),m(i.duration))}),[i]),(0,Kl.jsxs)(Cb,{padding:2,borderRadius:8,bgcolor:"#fff7f0",marginBottom:2,children:[(0,Kl.jsxs)(Cb,{display:"flex",justifyContent:"space-between",alignItems:"center",mb:2,children:[(0,Kl.jsx)(kl.Z,{variant:"h6",children:"Reminder"}),(0,Kl.jsxs)(Cb,{display:"flex",alignItems:"center",children:[(0,Kl.jsx)(kl.Z,{variant:"body1",children:"Activate Reminder"}),(0,Kl.jsx)(rS.Z,{checked:l,onChange:function(e){c(e.target.checked)},color:"primary"})]})]}),l&&(0,Kl.jsxs)(Cb,{children:[(0,Kl.jsx)(AJ.Z,{variant:"outlined",fullWidth:!0,margin:"normal",children:(0,Kl.jsx)(Wu.Z,{select:!0,label:"Reminder Type",value:p,onChange:function(e){f(e.target.value)},variant:"outlined",fullWidth:!0,size:"small",children:["Remind to Read Document","Remind to Submit Form","Both"].map((function(e){return(0,Kl.jsx)(xd.Z,{value:e,className:g.menuItem,children:e},e)}))})}),(0,Kl.jsxs)(AC,{container:!0,alignItems:"center",spacing:1,mt:2,children:[(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(kl.Z,{variant:"body1",children:"Send reminder every"})}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(AJ.Z,{variant:"outlined",children:(0,Kl.jsx)(Wu.Z,{value:A,onChange:function(e){m(e.target.value)},variant:"outlined",placeholder:"Interval",style:{width:"80px"},size:"small"})})}),(0,Kl.jsx)(AC,{item:!0,children:(0,Kl.jsx)(kl.Z,{variant:"body1",children:"Day(s)"})})]}),o&&(0,Kl.jsxs)(Cb,{display:"flex",alignItems:"center",color:"red",mt:1,children:[(0,Kl.jsx)(zCe.Z,{width:10}),(0,Kl.jsx)(kl.Z,{variant:"body2",style:{marginLeft:"4px"},children:o})]})]})]})},CCe=(0,kp.Z)(e.createElement("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z"}),"CloudUpload"),SCe=function(t){var r=t.onFileSelect,o=t.initFile,i=(0,e.useState)(null),a=(0,n.Z)(i,2),s=a[0],l=a[1],c=(0,e.useState)(!1),u=(0,n.Z)(c,2),d=u[0],p=u[1];return(0,e.useEffect)((function(){r(s)}),[s]),(0,e.useEffect)((function(){l(o)}),[o]),(0,Kl.jsx)(Cb,{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",border:d?"2px dashed #000":"1px dashed #ccc",borderRadius:"8px",padding:"16px",height:"100px",onDragOver:function(e){e.preventDefault(),p(!0)},onDragLeave:function(){p(!1)},onDrop:function(e){e.preventDefault();var t=e.dataTransfer.files;t&&t[0]&&l(t[0]),p(!1)},children:s?(0,Kl.jsxs)(Cb,{display:"flex",alignItems:"center",children:[(0,Kl.jsx)(kl.Z,{variant:"body1",style:{marginRight:"8px"},children:s.name}),(0,Kl.jsx)(wd.Z,{onClick:function(){l(null)},size:"small",children:(0,Kl.jsx)(FW,{})})]}):(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(kl.Z,{variant:"body2",color:"textSecondary",align:"center",children:"Upload PDF of Leaflet that will be shown in place of form"}),(0,Kl.jsx)("input",{accept:"application/pdf",id:"contained-button-file",type:"file",style:{display:"none"},onChange:function(e){l(e.target.files[0])}}),(0,Kl.jsx)("label",{htmlFor:"contained-button-file",children:(0,Kl.jsx)(zd.Z,{variant:"outlined",color:"primary",component:"span",startIcon:(0,Kl.jsx)(CCe,{}),style:{marginTop:"16px"},children:"Browse"})}),(0,Kl.jsx)(kl.Z,{variant:"body2",color:"textSecondary",align:"center",style:{marginTop:"16px"},children:"or drag and drop here"})]})})},ECe=function(){var t=(0,e.useState)(""),r=(0,n.Z)(t,2),o=r[0],i=r[1],a=(0,e.useState)(""),s=(0,n.Z)(a,2),l=s[0],c=s[1],u=(0,e.useState)(!1),d=(0,n.Z)(u,2),p=d[0],f=d[1],h=(0,e.useState)([]),b=(0,n.Z)(h,2),A=b[0],m=b[1],g=(0,e.useState)(null),v=(0,n.Z)(g,2),y=v[0],M=v[1],O=(0,e.useState)(null),_=(0,n.Z)(O,2),z=_[0],x=_[1],w=(0,e.useState)(null),C=(0,n.Z)(w,2),S=C[0],E=C[1],k=(0,e.useState)(null),D=(0,n.Z)(k,2),N=D[0],T=D[1],j=(0,e.useState)([]),B=(0,n.Z)(j,2),L=B[0],R=B[1],q=(0,e.useState)(""),P=(0,n.Z)(q,2),I=P[0],W=P[1],F=(0,e.useState)(null),U=(0,n.Z)(F,2),Z=U[0],H=U[1],$=(0,e.useState)(""),V=(0,n.Z)($,2),X=V[0],Q=V[1],Y=(0,e.useState)({}),G=(0,n.Z)(Y,2),K=G[0],J=G[1],ee=(0,e.useState)({}),te=(0,n.Z)(ee,2),ne=te[0],re=te[1],oe=(0,e.useState)({}),ie=(0,n.Z)(oe,2),ae=ie[0],se=ie[1],le=hE().enqueueSnackbar,ce=(0,e.useState)([]),ue=(0,n.Z)(ce,2),de=ue[0],pe=ue[1],fe=(0,e.useState)([]),be=(0,n.Z)(fe,2),Ae=be[0],ge=be[1],ve=(0,e.useState)([]),ye=(0,n.Z)(ve,2),Me=ye[0],Oe=ye[1],_e=(0,e.useState)([]),ze=(0,n.Z)(_e,2),xe=ze[0],we=ze[1],Ce=(0,e.useState)([]),Se=(0,n.Z)(Ce,2),Ee=Se[0],ke=Se[1],De=(0,e.useState)(!1),Ne=(0,n.Z)(De,2),Te=Ne[0],je=Ne[1],Be=(0,e.useState)([]),Le=(0,n.Z)(Be,2),qe=Le[0],Pe=Le[1],Ie=he(),We=(0,e.useState)({}),Fe=(0,n.Z)(We,2),Ue=Fe[0],Ze=Fe[1],He=me(),$e=He.formId?"Edit Form":"Create New Form";(0,e.useEffect)((function(){var e=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t,n,r,o,i;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,je(!0),e.next=4,Re.get("/v1/documents/settings");case 4:if(t=e.sent,n=t.data,r=n.settings,pe(r.form_types),ge(r.sites),Oe(r.phases),we(r.frequencies),ke(r.frequencies_per_service),Pe(r.name_settings),!He.formId){e.next=19;break}return e.next=16,Re.get("/v1/documents/".concat(He.formId));case 16:o=e.sent,i=o.data.data,Ve(i);case 19:e.next=24;break;case 21:e.prev=21,e.t0=e.catch(0),le("Error fetching form settings",{variant:"error"});case 24:return e.prev=24,je(!1),e.finish(24);case 27:case"end":return e.stop()}}),e,null,[[0,21,24,27]])})));return function(){return e.apply(this,arguments)}}();e()}),[He.formId]);var Ve=function(e){Ze(e),i(e.form_name),c(e.form_type.id),f(e.override_form_builder),m(e.locations),M(e.completion_site),x(e.completion_phase),E(e.frequency),T(e.frequency_per_service),R(e.services_ids),W(e.purpose_of_form),Q(e.template_name),J(e.form_expiry),re(e.form_reminder),H(e.file)},Xe=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t,n,r,i,a,s;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Qe()){e.next=2;break}return e.abrupt("return",le("Please fill all required fields",{variant:"error"}));case 2:return e.prev=2,je(!0),(r=new FormData).append("form_name",o),r.append("form_type",l),r.append("override_form_builder",p),r.append("locations",JSON.stringify(A)),r.append("completion_site",y),r.append("completion_phase",JSON.stringify(z)),r.append("frequency",S),r.append("frequency_per_service",N),r.append("services",JSON.stringify(L)),r.append("purpose_of_form",I),Z&&Z instanceof File?r.append("file",Z):r.append("file",JSON.stringify(Z)),r.append("template_name",X),r.append("form_expiry",JSON.stringify(K)),r.append("form_reminder",JSON.stringify(ne)),He.formId&&r.append("id",He.formId),i=He.formId?"/v1/documents/".concat(He.formId):"/v1/documents/",e.next=23,Re.post(i,r,{headers:{"Content-Type":"multipart/form-data"}});case 23:a=e.sent,le("Form saved successfully",{variant:"success"}),s=null===a||void 0===a||null===(t=a.data)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.id,Ie(p?"/settings/forms/list":"/settings/forms/builder/".concat(s)),e.next=32;break;case 29:e.prev=29,e.t0=e.catch(2),le("Error saving form",{variant:"error"});case 32:return e.prev=32,je(!1),e.finish(32);case 35:case"end":return e.stop()}}),e,null,[[2,29,32,35]])})));return function(){return e.apply(this,arguments)}}(),Qe=function(){var e={};return o||(e.formName="Form Name is required"),p&&!Z&&(e.file="File is required when overriding form builder"),ne.enabled&&!ne.duration&&(e.formReminder="Please set reminder days"),se(e),0===Object.keys(e).length};return(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(Vxe,{disable:2,links:[{url:"/settings",text:"Settings"},{url:"/settings/forms/list",text:"Forms & Questionnaires"}],active:$e,tab:"new_form"}),(0,Kl.jsxs)(Cb,{marginTop:1,bgcolor:"#fff",borderRadius:4,padding:2,children:[(0,Kl.jsxs)(Cb,{sx:{display:"grid",gridTemplateColumns:"55% 40%",width:"100%",justifyContent:"space-between"},children:[(0,Kl.jsxs)(Cb,{sx:{width:"100%"},children:[(0,Kl.jsx)(kl.Z,{variant:"h6",className:Mwe.title,children:"Enter Basic Details of Form"}),(0,Kl.jsx)(AJ.Z,{fullWidth:!0,style:{marginBottom:20},children:(0,Kl.jsx)(Wu.Z,{size:"small",name:"formName",label:"Enter Form Name",variant:"outlined",value:o,onChange:function(e){return i(e.target.value)},required:!0,helperText:ae.formName,error:!!ae.formName})}),(0,Kl.jsxs)(AJ.Z,{variant:"outlined",className:Mwe.FormControl,fullWidth:!0,error:!!ae.formType,style:{marginBottom:20},size:"small",children:[(0,Kl.jsx)(rL.Z,{htmlFor:"form-type-select",children:"Form Type"}),(0,Kl.jsx)(LE.Z,{size:"small",fullWidth:!0,value:l,onChange:function(e){return c(e.target.value)},input:(0,Kl.jsx)(Zxe.Z,{label:"Form Type",id:"form-type-select"}),renderValue:function(e){var t=de.find((function(t){return t.id===e}));return(0,Kl.jsx)(Qxe,{text:t?t.name:"",background:t?t.background:"",color:t?t.color:""})},MenuProps:{PaperProps:{style:{maxHeight:300,width:250}}},children:de.map((function(e){return(0,Kl.jsx)(xd.Z,{value:e.id,size:"small",style:{marginBottom:10},children:(0,Kl.jsx)(Qxe,{text:e.name,background:e.background,color:e.color})},e.id)}))}),ae.formType&&(0,Kl.jsx)(Cve.Z,{children:ae.formType})]}),(0,Kl.jsx)(zwe,{onSelect:m,initialSelectedLocations:Ue.locations}),(0,Kl.jsx)(Owe,{sites:Ae,onSelect:M,initialSelectedSite:Ue.completion_site}),(0,Kl.jsx)(Qwe,{phases:Me,onSelect:x,initialSelectedPhase:Ue.completion_phase}),(0,Kl.jsx)(rCe,{frequencies:xe,onSelect:E,initialSelectedFrequency:Ue.frequency}),(0,Kl.jsx)(gCe,{frequenciesPerService:Ee,onSelect:T,initialSelectedFrequencyPerService:Ue.frequency_per_service}),(0,Kl.jsx)(vCe,{onSelect:R,initialSelectedServices:Ue.services_ids,onServiceLoad:function(){}}),(0,Kl.jsx)(AJ.Z,{fullWidth:!0,style:{marginBottom:20},children:(0,Kl.jsx)(Wu.Z,{label:"Purpose of Form",placeholder:"This form will be used to take consent of patient during the treatment",multiline:!0,minRows:5,maxRows:10,variant:"outlined",value:I,onChange:function(e){return W(e.target.value)}})}),(0,Kl.jsx)(oS.Z,{style:{marginBottom:20},control:(0,Kl.jsx)(kk.Z,{checked:p,onChange:function(e){return f(e.target.checked)},color:"primary"}),label:"Override form builder"}),p&&(0,Kl.jsxs)(Cb,{mb:2,error:!!ae.file,children:[(0,Kl.jsx)(SCe,{onFileSelect:H,initFile:Ue.file}),ae.file&&(0,Kl.jsx)(kl.Z,{color:"error",variant:"body2",children:ae.file})]})]}),(0,Kl.jsxs)(Cb,{sx:{width:"100%"},children:[(0,Kl.jsx)(MCe,{options:qe,onChange:Q,value:X}),(0,Kl.jsx)(_Ce,{onSelect:J,initialValue:Ue.form_expiry}),(0,Kl.jsx)(wCe,{onSelect:re,error:ae.formReminder,initialValue:Ue.form_reminder})]})]}),(0,Kl.jsx)(Jb,{className:Mwe.divider,style:{marginTop:"16px",marginBottom:"16px"}}),(0,Kl.jsxs)(Cb,{display:"flex",justifyContent:"space-between",mt:2,children:[(0,Kl.jsx)(zd.Z,{variant:"outlined",color:"primary",className:Mwe.button,children:"CANCEL"}),(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",endIcon:p?null:(0,Kl.jsx)(pk.Z,{}),className:Mwe.button,onClick:Xe,children:p?He.formId?"UPDATE FORM":"SAVE FORM":"CONTINUE TO FORM BUILDER"})]})]}),Te&&(0,Kl.jsx)(NE,{})]})},kCe=function(){var e=me().formId;return(0,Kl.jsx)("div",{children:(0,Kl.jsxs)("h1",{children:["Form Builder for formId : ",e]})})},DCe=["title","titleId"];function NCe(){return NCe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},NCe.apply(this,arguments)}function TCe(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function jCe(t,n){var r=t.title,o=t.titleId,i=TCe(t,DCe);return e.createElement("svg",NCe({width:114,height:113,viewBox:"0 0 114 113",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,e.createElement("g",{clipPath:"url(#clip0_1335_34916)"},e.createElement("mask",{id:"mask0_1335_34916",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:0,y:0,width:114,height:113},hCe||(hCe=e.createElement("path",{d:"M0.665039 0.165062H113.335V112.835H0.665039V0.165062Z",fill:"white"}))),bCe||(bCe=e.createElement("g",{mask:"url(#mask0_1335_34916)"},e.createElement("path",{d:"M99.0176 74.4174V93.3836L81.0947 111.202H18.6602C16.6289 111.202 14.9822 109.555 14.9822 107.524V5.47601C14.9822 3.44444 16.6289 1.79796 18.6602 1.79796H35.4615",stroke:"#BABABA",strokeWidth:3,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M43.0962 1.798H95.3394C97.3708 1.798 99.0175 3.44448 99.0175 5.47606V66.7281",stroke:"#BABABA",strokeWidth:3,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M81.0947 111.202V96.0791C81.0947 94.5838 82.3075 93.3722 83.8028 93.373L99.0176 93.3836L81.0947 111.202Z",stroke:"#BABABA",strokeWidth:3,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M24.3435 36.2446H89.656",stroke:"#BABABA",strokeWidth:3,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M39.6633 44.3468H89.6563",stroke:"#BABABA",strokeWidth:3,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M24.3435 44.3468H32.1125",stroke:"#BABABA",strokeWidth:3,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M68.1924 52.4489H89.6562",stroke:"#BABABA",strokeWidth:3,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M24.3435 52.4489H60.5475",stroke:"#BABABA",strokeWidth:3,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M24.3435 60.5511H89.656",stroke:"#BABABA",strokeWidth:3,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M58.1228 68.6533H89.6563",stroke:"#BABABA",strokeWidth:3,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M24.3435 68.6533H50.6077",stroke:"#BABABA",strokeWidth:3,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M45.0999 76.7555H70.4332",stroke:"#BABABA",strokeWidth:3,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M24.3435 76.7555H37.4755",stroke:"#BABABA",strokeWidth:3,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M73.6658 26.3013L76.2653 11.8989C76.3302 11.5616 76.8007 11.5301 76.9101 11.8556L81.1387 26.1891C81.2413 26.4943 81.6739 26.4921 81.7734 26.186L85.8577 11.858C85.9637 11.5314 86.4342 11.5581 86.5029 11.8943L89.2563 26.3013",stroke:"#BABABA",strokeWidth:3,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M30.694 11.7353H24.7437V26.4167",stroke:"#BABABA",strokeWidth:3,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M24.7437 18.937H30.2214",stroke:"#BABABA",strokeWidth:3,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M60.7246 19.3578L66.9373 26.4166",stroke:"#BABABA",strokeWidth:3,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M58.9412 11.6269V26.4166",stroke:"#BABABA",strokeWidth:3,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M66.9372 15.4707C66.9372 17.5933 65.076 19.3144 62.876 19.3144C61.785 19.3144 58.9733 19.3314 58.9733 19.3314C58.9733 19.3314 58.9557 16.5406 58.9557 15.4707C58.9557 14.5917 58.9458 11.6269 58.9458 11.6269H62.876C65.076 11.6269 66.9372 13.348 66.9372 15.4707Z",stroke:"#BABABA",strokeWidth:3,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M52.2123 19.022C52.2123 23.106 48.9015 26.4168 44.8175 26.4168C40.7332 26.4168 37.4226 23.106 37.4226 19.022C37.4226 14.9377 40.7332 11.6271 44.8175 11.6271C48.9015 11.6271 52.2123 14.9377 52.2123 19.022Z",stroke:"#BABABA",strokeWidth:3,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M38.0405 86.1851C37.6057 89.6762 36.8714 93.1302 35.8483 96.496C35.4639 97.7611 35.0099 99.0617 34.0788 100C32.8157 101.274 30.8105 101.652 29.0813 101.174C26.5255 100.467 23.4091 97.637 24.6084 94.7223C25.0027 93.7644 25.8216 93.0406 26.7852 92.6839C28.4869 92.0541 30.4074 92.11 32.1918 92.1971C33.4926 92.261 43.3101 92.4159 44.3072 92.0711C43.9729 93.4321 43.7872 95.191 44.9779 95.93C45.7428 96.4047 46.7879 96.1758 47.4905 95.6133C48.1934 95.0506 48.6238 94.2221 49.0006 93.4046C48.5825 94.9272 49.9257 96.5088 51.4705 96.8344C53.0155 97.1601 54.6085 96.5426 55.9584 95.7238",stroke:"#BABABA",strokeWidth:3,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})))),ACe||(ACe=e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_1335_34916"},e.createElement("rect",{width:112.67,height:112.67,fill:"white",transform:"translate(0.665039 0.165009)"})))))}var BCe,LCe=e.forwardRef(jCe),RCe=(__webpack_require__.p,function(){var e=he();return(0,Kl.jsxs)(Cb,{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",height:"100vh",textAlign:"center",marginTop:1,bgcolor:"#fff",borderRadius:4,children:[(0,Kl.jsx)(LCe,{style:{fontSize:100,marginBottom:20}}),(0,Kl.jsx)(kl.Z,{variant:"h6",gutterBottom:!0,children:"You don't have any forms created"}),(0,Kl.jsx)(kl.Z,{variant:"body1",gutterBottom:!0,children:"You can start by creating a new form or use template library of forms"}),(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",onClick:function(){return e("/settings/forms/templates")},children:"Browse Templates"})]})}),qCe=function(e){var t=e.value;return(0,Kl.jsx)("div",{style:{whiteSpace:"normal",wordWrap:"break-word",overflowWrap:"break-word",lineHeight:"1.5"},children:t})},PCe=["title","titleId"];function ICe(){return ICe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ICe.apply(this,arguments)}function WCe(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function FCe(t,n){var r=t.title,o=t.titleId,i=WCe(t,PCe);return e.createElement("svg",ICe({width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,BCe||(BCe=e.createElement("path",{d:"M15.1069 14.0477L12.6746 11.6153C13.4117 10.6503 13.816 9.47983 13.8162 8.24469C13.8162 6.75623 13.2365 5.35675 12.1838 4.30426C11.1313 3.25177 9.73203 2.67206 8.24338 2.67206C6.75491 2.67206 5.35544 3.25177 4.30295 4.30426C2.13022 6.47717 2.13022 10.0126 4.30295 12.1851C5.35544 13.2378 6.75491 13.8175 8.24338 13.8175C9.47852 13.8173 10.649 13.413 11.614 12.6759L14.0464 15.1082C14.1927 15.2547 14.3847 15.3279 14.5766 15.3279C14.7685 15.3279 14.9606 15.2547 15.1069 15.1082C15.3999 14.8154 15.3999 14.3405 15.1069 14.0477ZM5.36349 11.1246C3.7756 9.53668 3.77579 6.95288 5.36349 5.36481C6.13272 4.59576 7.15555 4.17206 8.24338 4.17206C9.33139 4.17206 10.354 4.59576 11.1233 5.36481C11.8925 6.13403 12.3162 7.15686 12.3162 8.24469C12.3162 9.3327 11.8925 10.3553 11.1233 11.1246C10.354 11.8938 9.33139 12.3175 8.24338 12.3175C7.15555 12.3175 6.13272 11.8938 5.36349 11.1246Z",fill:"#999999"})))}var UCe,ZCe=e.forwardRef(FCe),HCe=(__webpack_require__.p,["title","titleId"]);function $Ce(){return $Ce=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$Ce.apply(this,arguments)}function VCe(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function XCe(t,n){var r=t.title,o=t.titleId,i=VCe(t,HCe);return e.createElement("svg",$Ce({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,UCe||(UCe=e.createElement("path",{d:"M5 22C4.45 22 3.97917 21.8042 3.5875 21.4125C3.19583 21.0208 3 20.55 3 20V6C3 5.45 3.19583 4.97917 3.5875 4.5875C3.97917 4.19583 4.45 4 5 4H9.2C9.41667 3.4 9.77917 2.91667 10.2875 2.55C10.7958 2.18333 11.3667 2 12 2C12.6333 2 13.2042 2.18333 13.7125 2.55C14.2208 2.91667 14.5833 3.4 14.8 4H19C19.55 4 20.0208 4.19583 20.4125 4.5875C20.8042 4.97917 21 5.45 21 6V20C21 20.55 20.8042 21.0208 20.4125 21.4125C20.0208 21.8042 19.55 22 19 22H5ZM5 20H19V6H5V20ZM7 18H14V16H7V18ZM7 14H17V12H7V14ZM7 10H17V8H7V10ZM12 5.25C12.2167 5.25 12.3958 5.17917 12.5375 5.0375C12.6792 4.89583 12.75 4.71667 12.75 4.5C12.75 4.28333 12.6792 4.10417 12.5375 3.9625C12.3958 3.82083 12.2167 3.75 12 3.75C11.7833 3.75 11.6042 3.82083 11.4625 3.9625C11.3208 4.10417 11.25 4.28333 11.25 4.5C11.25 4.71667 11.3208 4.89583 11.4625 5.0375C11.6042 5.17917 11.7833 5.25 12 5.25Z",fill:"#B57C2A"})))}var QCe,YCe=e.forwardRef(XCe),GCe=(__webpack_require__.p,["title","titleId"]);function KCe(){return KCe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},KCe.apply(this,arguments)}function JCe(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function eSe(t,n){var r=t.title,o=t.titleId,i=JCe(t,GCe);return e.createElement("svg",KCe({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,QCe||(QCe=e.createElement("path",{d:"M20 19H9C8.45 19 7.97917 18.8042 7.5875 18.4125C7.19583 18.0208 7 17.55 7 17V3C7 2.45 7.19583 1.97917 7.5875 1.5875C7.97917 1.19583 8.45 1 9 1H16L22 7V17C22 17.55 21.8042 18.0208 21.4125 18.4125C21.0208 18.8042 20.55 19 20 19ZM15 8V3H9V17H20V8H15ZM5 23C4.45 23 3.97917 22.8042 3.5875 22.4125C3.19583 22.0208 3 21.55 3 21V7H5V21H16V23H5Z",fill:"#B57C2A"})))}var tSe,nSe=e.forwardRef(eSe),rSe=(__webpack_require__.p,["title","titleId"]);function oSe(){return oSe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},oSe.apply(this,arguments)}function iSe(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function aSe(t,n){var r=t.title,o=t.titleId,i=iSe(t,rSe);return e.createElement("svg",oSe({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,tSe||(tSe=e.createElement("path",{d:"M4.31999 21.624C3.79199 21.624 3.33999 21.436 2.96399 21.06C2.58799 20.684 2.39999 20.232 2.39999 19.704V6.26402C2.39999 5.73602 2.58799 5.28402 2.96399 4.90802C3.33999 4.53202 3.79199 4.34402 4.31999 4.34402H12.888L10.968 6.26402H4.31999V19.704H17.76V13.032L19.68 11.112V19.704C19.68 20.232 19.492 20.684 19.116 21.06C18.74 21.436 18.288 21.624 17.76 21.624H4.31999ZM8.15999 15.864V11.784L16.968 2.97602C17.16 2.78402 17.376 2.64002 17.616 2.54402C17.856 2.44802 18.096 2.40002 18.336 2.40002C18.592 2.40002 18.836 2.44802 19.068 2.54402C19.3 2.64002 19.512 2.78402 19.704 2.97602L21.048 4.34402C21.224 4.53602 21.36 4.74802 21.456 4.98002C21.552 5.21202 21.6 5.44802 21.6 5.68802C21.6 5.92802 21.556 6.16402 21.468 6.39602C21.38 6.62802 21.24 6.84002 21.048 7.03202L12.24 15.864H8.15999ZM10.08 13.944H11.424L16.992 8.37602L16.32 7.70402L15.624 7.03202L10.08 12.576V13.944Z",fill:"#B57C2A"})))}var sSe,lSe=e.forwardRef(aSe),cSe=(__webpack_require__.p,["title","titleId"]);function uSe(){return uSe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},uSe.apply(this,arguments)}function dSe(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function pSe(t,n){var r=t.title,o=t.titleId,i=dSe(t,cSe);return e.createElement("svg",uSe({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,sSe||(sSe=e.createElement("path",{d:"M6.39274 21.6C5.82564 21.6 5.34126 21.3992 4.93963 20.9975C4.53797 20.5959 4.33715 20.1115 4.33715 19.5444V5.11161H3.20001V3.40593H8.31709V2.40002H15.1399V3.40593H20.257V5.11161H19.1198V19.5444C19.1198 20.1188 18.9208 20.605 18.5228 21.003C18.1248 21.401 17.6386 21.6 17.0642 21.6H6.39274ZM17.4142 5.11161H6.04282V19.5444C6.04282 19.6465 6.07563 19.7303 6.14124 19.7959C6.20685 19.8615 6.29069 19.8944 6.39274 19.8944H17.0642C17.1517 19.8944 17.2319 19.8579 17.3048 19.785C17.3777 19.7121 17.4142 19.6319 17.4142 19.5444V5.11161ZM8.77635 17.6201H10.482V7.38588H8.77635V17.6201ZM12.975 17.6201H14.6806V7.38588H12.975V17.6201Z",fill:"#B57C2A"})))}var fSe,hSe=e.forwardRef(pSe),bSe=(__webpack_require__.p,(0,jd.Z)((function(e){return{menu:{"& .MuiPaper-root":{borderRadius:"8px",boxShadow:"0px 4px 10px rgba(0, 0, 0, 0.1)",minWidth:"150px",padding:e.spacing(1)}},menuItem:{display:"flex",alignItems:"center",gap:e.spacing(1.5),fontSize:"0.90rem","& .MuiSvgIcon-root":{fontSize:"0.5rem",color:"#A9701C"},"&:hover":{backgroundColor:"#f5f5f5"},"&:not(:last-child)":{marginBottom:e.spacing(1)}}}}))),ASe=function(t){var r=t.data,o=t.fetchForms,i=t.startLoading,a=hE().enqueueSnackbar,s=he(),l=(0,e.useState)(null),c=(0,n.Z)(l,2),u=c[0],d=c[1],p=(0,e.useState)(!1),f=(0,n.Z)(p,2),h=f[0],b=f[1],A=bSe(),m=function(){b(!1)},g=[{title:"Preview",icon:(0,Kl.jsx)(YCe,{width:18}),disabled:!0,onClick:function(){console.log("Preview")}},{title:"Duplicate",icon:(0,Kl.jsx)(nSe,{width:18}),onClick:function(){i(!0),Re.post("/v1/documents/".concat(r.id,"/duplicate")).then((function(e){a("Form duplicated successfully",{variant:"success"}),o()})).catch((function(e){a("Failed to duplicate form",{variant:"error"})})).finally((function(){i(!1),console.log("Duplicate")}))}},{title:"Edit",icon:(0,Kl.jsx)(lSe,{width:18}),onClick:function(){s("/settings/forms/edit/".concat(r.id))}},{title:"Delete",icon:(0,Kl.jsx)(hSe,{width:18}),onClick:function(){b(!0),d(null)}}];return(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(zd.Z,{size:"small",onClick:function(e){d(e.currentTarget)},children:(0,Kl.jsx)(NOe.Z,{})}),(0,Kl.jsx)(DOe.Z,{anchorEl:u,keepMounted:!0,open:Boolean(u),onClose:function(){d(null)},children:g.map((function(e,t){return(0,Kl.jsxs)(xd.Z,{onClick:e.onClick,className:A.menuItem,disabled:e.disabled||!1,children:[e.icon,e.title]},t)}))}),(0,Kl.jsxs)(vC,{open:h,onClose:m,children:[(0,Kl.jsx)(MC,{children:"Confirm Delete"}),(0,Kl.jsx)(_E,{children:(0,Kl.jsx)(tL,{children:"Are you sure you want to delete this form? This action cannot be undone."})}),(0,Kl.jsxs)(xE,{children:[(0,Kl.jsx)(zd.Z,{onClick:m,color:"primary",variant:"outlined",children:"Cancel"}),(0,Kl.jsx)(zd.Z,{onClick:function(){i(!0),Re.delete("/v1/documents/".concat(r.id)).then((function(e){a("Form deleted successfully",{variant:"success"}),o()})).catch((function(e){a("Failed to delete form",{variant:"error"}),console.log(e)})).finally((function(){i(!1),b(!1),console.log("Delete")}))},color:"primary",variant:"contained",children:"Delete"})]})]})]})},mSe=(0,Hu.Z)((function(){return{root:{"& .MuiPaper-root":{width:"800px",height:"683px"},"& .MuiDialogActions-root":{padding:20,justifyContent:"center",borderTop:"1px solid #e6e6e6","& .MuiButton-root":{width:"100%",maxWidth:"186px"}}}}}))((function(e){return(0,Kl.jsx)(vC,Us({},e))})),gSe=function(t){var o,i,a,s,l=t.data,c=t.open,u=t.onClose,d=t.onApply,p=t.onServiceLoad,f=(0,e.useState)("updated_date"),h=(0,n.Z)(f,2),b=h[0],A=h[1],m=(0,e.useState)(null),g=(0,n.Z)(m,2),v=g[0],y=g[1],M=(0,e.useContext)(bA),O=(0,e.useMemo)((function(){var e,t;return null===M||void 0===M||null===(e=M.clinic)||void 0===e||null===(t=e.locations)||void 0===t?void 0:t.filter((function(e){return!(null!==e&&void 0!==e&&e.deleted_at)}))}),[null===M||void 0===M||null===(o=M.clinic)||void 0===o?void 0:o.locations]),_=[{key:"updated_date",label:"Last updated date",component:(0,Kl.jsx)(EMe,{onChange:function(e){return y((function(t){return Us(Us({},t),{updating_startDate:e.startDate,updating_endDate:e.endDate,updating_isCustom:e.isCustom})}))},value:{startDate:null===v||void 0===v?void 0:v.updating_startDate,endDate:null===v||void 0===v?void 0:v.updating_endDate,isCustom:null===v||void 0===v?void 0:v.updating_isCustom}})},{key:"creation_date",label:"Creation date",component:(0,Kl.jsx)(EMe,{onChange:function(e){return y((function(t){return Us(Us({},t),{creation_startDate:e.startDate,creation_endDate:e.endDate,creation_isCustom:e.isCustom})}))},value:{startDate:null===v||void 0===v?void 0:v.creation_startDate,endDate:null===v||void 0===v?void 0:v.creation_endDate,isCustom:null===v||void 0===v?void 0:v.creation_isCustom}})},{key:"completion_phase",label:"Completion phase",component:(0,Kl.jsx)(Kl.Fragment,{children:l&&(null===l||void 0===l||null===(i=l.phases)||void 0===i?void 0:i.map((function(e){var t;return(0,Kl.jsxs)(Cb,{display:"flex",alignItems:"center",children:[(0,Kl.jsx)(kk.Z,{style:{color:"#B57C2A"},checked:(null===v||void 0===v||null===(t=v.phases)||void 0===t?void 0:t.includes(e.id))||!1,onChange:function(t){return y((function(n){return Us(Us({},n),{},{phases:t.target.checked?[].concat((0,r.Z)((null===n||void 0===n?void 0:n.phases)||[]),[e.id]):((null===n||void 0===n?void 0:n.phases)||[]).filter((function(t){return t!==e.id}))})}))}}),(0,Kl.jsx)(kl.Z,{children:e.title})]},e.id)})))})},{key:"completion_site",label:"Completion Site",component:(0,Kl.jsx)(Kl.Fragment,{children:l&&(null===l||void 0===l||null===(a=l.sites)||void 0===a?void 0:a.map((function(e){var t;return(0,Kl.jsxs)(Cb,{display:"flex",alignItems:"center",children:[(0,Kl.jsx)(kk.Z,{style:{color:"#B57C2A"},checked:(null===v||void 0===v||null===(t=v.sites)||void 0===t?void 0:t.includes(e.id))||!1,onChange:function(t){return y((function(n){return Us(Us({},n),{},{sites:t.target.checked?[].concat((0,r.Z)((null===n||void 0===n?void 0:n.sites)||[]),[e.id]):((null===n||void 0===n?void 0:n.sites)||[]).filter((function(t){return t!==e.id}))})}))}}),(0,Kl.jsx)(kl.Z,{children:e.title})]},e.id)})))})},{key:"signature",label:"Signature",component:(0,Kl.jsx)(Kl.Fragment,{})},{key:"associated_services",label:"Associated Services",component:(0,Kl.jsx)(vCe,{hideTitle:!0,onSelect:function(e){y((function(t){return Us(Us({},t),{},{services:e})}))},initialSelectedServices:null===v||void 0===v?void 0:v.services,onServiceLoad:function(e){return p(e)}})},{key:"associated_clinics",label:"Associated Clinics",component:O&&O.map((function(e){var t;return(0,Kl.jsxs)(Cb,{display:"flex",alignItems:"center",children:[(0,Kl.jsx)(kk.Z,{checked:(null===v||void 0===v||null===(t=v.locations)||void 0===t?void 0:t.includes(e.id))||!1,style:{color:"#B57C2A"},onChange:function(t){return y((function(n){return Us(Us({},n),{},{locations:t.target.checked?[].concat((0,r.Z)((null===n||void 0===n?void 0:n.locations)||[]),[e.id]):((null===n||void 0===n?void 0:n.locations)||[]).filter((function(t){return t!==e.id}))})}))}}),(0,Kl.jsx)(kl.Z,{fontWeight:"bold",style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",maxWidth:"250px"},children:e.name}),(0,Kl.jsxs)("span",{style:{marginLeft:"5px",color:"#6A6A6A",fontSize:".8rem"},children:["- ",e.address]})]},e.id)}))}];return(0,Kl.jsxs)(mSe,{open:c,onClose:u,children:[(0,Kl.jsxs)(MC,{style:{backgroundColor:"#FFFFFF",borderBottom:"1px solid #E6E6E6"},children:["Filters",(0,Kl.jsx)(wd.Z,{"aria-label":"close",onClick:u,style:{position:"absolute",right:"10px",top:"10px"},children:(0,Kl.jsx)(dB.Z,{})})]}),(0,Kl.jsx)(_E,{style:{height:"100%",padding:0},children:(0,Kl.jsxs)(Cb,{display:"flex",style:{height:"100%"},children:[(0,Kl.jsx)(Cb,{flex:"1",borderRight:"1px solid #e6e6e6",style:{height:"100%"},children:_.map((function(e){return(0,Kl.jsx)(Cb,{display:"flex",alignItems:"center",padding:"10px",style:{cursor:"pointer",color:b===e.key?"#B57C2A":"inherit",backgroundColor:b===e.key?"#F8F2EA":"inherit"},onClick:function(){return A(e.key)},children:(0,Kl.jsx)(kl.Z,{style:{fontWeight:b===e.key?"bold":"normal"},children:e.label})},e.key)}))}),(0,Kl.jsx)(Cb,{flex:"2",paddingLeft:"20px",paddingTop:"5px",style:{backgroundColor:"#F9F9F9",height:"100%"},children:null===(s=_.find((function(e){return e.key===b})))||void 0===s?void 0:s.component})]})}),(0,Kl.jsxs)(xE,{children:[(0,Kl.jsx)(zd.Z,{onClick:function(){y(null),d(null),u()},color:"primary",variant:"outlined",children:"Reset"}),(0,Kl.jsx)(zd.Z,{onClick:function(){d(v),u()},color:"primary",variant:"contained",children:"Apply"})]})]})},vSe=["title","titleId"];function ySe(){return ySe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ySe.apply(this,arguments)}function MSe(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function OSe(t,n){var r=t.title,o=t.titleId,i=MSe(t,vSe);return e.createElement("svg",ySe({width:13,height:19,viewBox:"0 0 13 19",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,fSe||(fSe=e.createElement("path",{d:"M7.92467 9.5L0.833008 2.40833L2.99134 0.25L12.2413 9.5L2.99134 18.75L0.833008 16.5917L7.92467 9.5Z",fill:"black"})))}var _Se,zSe=e.forwardRef(OSe),xSe=(__webpack_require__.p,["title","titleId"]);function wSe(){return wSe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wSe.apply(this,arguments)}function CSe(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function SSe(t,n){var r=t.title,o=t.titleId,i=CSe(t,xSe);return e.createElement("svg",wSe({width:13,height:19,viewBox:"0 0 13 19",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,_Se||(_Se=e.createElement("path",{d:"M10.083 18.75L0.833008 9.5L10.083 0.25L12.2413 2.40833L5.14967 9.5L12.2413 16.5917L10.083 18.75Z",fill:"black"})))}var ESe,kSe,DSe,NSe,TSe,jSe,BSe,LSe,RSe,qSe,PSe=e.forwardRef(SSe),ISe=(__webpack_require__.p,function(t){var r,o=t.payload,i=t.data,a=t.onDelete,s=(0,e.useState)([]),l=(0,n.Z)(s,2),c=l[0],u=l[1],d=(0,e.useRef)(null),p=(0,e.useState)(0),f=(0,n.Z)(p,2),h=f[0],b=f[1],A=(0,e.useRef)(null),m=(0,e.useContext)(bA),g=(0,e.useMemo)((function(){var e,t;return null===m||void 0===m||null===(e=m.clinic)||void 0===e||null===(t=e.locations)||void 0===t?void 0:t.filter((function(e){return!(null!==e&&void 0!==e&&e.deleted_at)}))}),[null===m||void 0===m||null===(r=m.clinic)||void 0===r?void 0:r.locations]);(0,e.useEffect)((function(){u(o?v():[])}),[o,i]);var v=function(){var e,t,n,r=new Set,a=null===i||void 0===i||null===(e=i.services)||void 0===e?void 0:e.filter((function(e){var t;return!(null===o||void 0===o||null===(t=o.services)||void 0===t||!t.includes(e.id)||r.has(e.id))&&(r.add(e.id),!0)})).map((function(e){return e.name})).join(", "),s={creation_startDate:{label:"Created between ".concat(Vs()(o.creation_startDate).format("DD-MM-YYYY")," and ").concat(Vs()(o.creation_endDate).format("DD-MM-YYYY")),keys:["creation_startDate","creation_endDate","creation_isCustom"]},updating_startDate:{label:"Updated between ".concat(Vs()(o.updating_startDate).format("DD-MM-YYYY")," and ").concat(Vs()(o.updating_endDate).format("DD-MM-YYYY")),keys:["updating_startDate","updating_endDate","updating_isCustom"]},phases:{label:"Phases: ".concat(null===i||void 0===i||null===(t=i.phases)||void 0===t?void 0:t.filter((function(e){var t;return null===o||void 0===o||null===(t=o.phases)||void 0===t?void 0:t.includes(e.id)})).map((function(e){return e.title})).join(", ")),keys:["phases"]},sites:{label:"Sites: ".concat(null===i||void 0===i||null===(n=i.sites)||void 0===n?void 0:n.filter((function(e){var t;return null===o||void 0===o||null===(t=o.sites)||void 0===t?void 0:t.includes(e.id)})).map((function(e){return e.title})).join(", ")),keys:["sites"]},locations:{label:"Locations: ".concat(null===g||void 0===g?void 0:g.filter((function(e){var t;return null===o||void 0===o||null===(t=o.locations)||void 0===t?void 0:t.includes(e.id)})).map((function(e){return e.name})).join(", ")),keys:["locations"]},services:{label:"Services: ".concat(a),keys:["services"]}},l=[];for(var c in s)o[c]&&l.push(s[c]);return l},y=function(e){u(c.filter((function(t){return t!==e}))),a(e.keys),M()},M=function(){var e=d.current.clientWidth,t=A.current.firstChild.clientWidth,n=Math.max(h-e+t,0);b(n)};return(0,Kl.jsx)(Kl.Fragment,{children:c.length>0&&(0,Kl.jsxs)("div",{className:"carousel-container",children:[c.length>2&&(0,Kl.jsx)(wd.Z,{className:"arrow prev",onClick:M,children:(0,Kl.jsx)(PSe,{})}),(0,Kl.jsx)("div",{className:"carousel",ref:d,children:(0,Kl.jsx)("div",{className:"chips",ref:A,style:{transform:"translateX(-".concat(h,"px)")},children:c.map((function(e,t){return(0,Kl.jsx)(t6,{label:e.label,onDelete:function(){return y(e)},className:"chip"},t)}))})}),c.length>2&&(0,Kl.jsx)(wd.Z,{className:"arrow next",onClick:function(){if(d.current&&A.current){var e=d.current.clientWidth,t=A.current.firstChild.clientWidth,n=d.current.scrollWidth-e,r=Math.min(h+e-t,n);b(r)}},children:(0,Kl.jsx)(zSe,{})})]})})}),WSe=[{url:"/settings",text:"Settings"}],FSe=function(){console.log("FormsList");var t=(0,e.useState)([]),o=(0,n.Z)(t,2),i=o[0],a=o[1],s=(0,e.useState)(!1),l=(0,n.Z)(s,2),c=l[0],u=l[1],d=(0,e.useState)(""),p=(0,n.Z)(d,2),f=p[0],h=p[1],b=(0,e.useState)(1),A=(0,n.Z)(b,2),m=A[0],g=A[1],v=(0,e.useState)(10),y=(0,n.Z)(v,2),M=y[0],O=y[1],_=(0,e.useState)(!0),z=(0,n.Z)(_,2),x=z[0],w=z[1],C=(0,e.useState)(0),S=(0,n.Z)(C,2),E=S[0],k=S[1],D=(0,e.useState)([]),N=(0,n.Z)(D,2),T=N[0],j=N[1],B=(0,e.useState)(0),L=(0,n.Z)(B,2),R=L[0],q=L[1],P=(0,e.useState)("created_at"),I=(0,n.Z)(P,2),W=I[0],F=I[1],U=(0,e.useState)("desc"),Z=(0,n.Z)(U,2),H=Z[0],$=Z[1],V=(0,e.useState)([]),X=(0,n.Z)(V,2),Q=X[0],Y=X[1],G=(0,e.useState)(null),K=(0,n.Z)(G,2),J=K[0],ee=K[1],te=hE().enqueueSnackbar,ne=(0,e.useState)(!1),re=(0,n.Z)(ne,2),oe=re[0],ie=re[1],ae=(0,e.useRef)(null),se=(0,Hu.Z)((function(e){return{root:{"& .MuiDataGrid-cell":{borderLeft:"1px solid #E9E9E9"},"& .MuiDataGrid-cell:focus":{outline:"none"},"& .MuiDataGrid-cell:first-child":{borderLeft:"none"},"& .MuiDataGrid-columnHeader":{borderLeft:"1px solid #E9E9E9"},"& .MuiDataGrid-columnHeader:first-child":{borderLeft:"none"},"& .MuiDataGrid-columnHeaderTitle":{whiteSpace:"normal",lineHeight:"normal"},"& .MuiDataGrid-overlay":{backgroundColor:"#fff",zIndex:1},"& .MuiTablePagination-caption[id]":{[e.breakpoints.up("xs")]:{display:"block"}},"& .MuiTablePagination-input":{[e.breakpoints.up("xs")]:{display:"block"}}}}}))((function(e){return(0,Kl.jsx)(sG._$r,Us({},e))})),le=function(){u(!0);var e="/v1/documents?page=".concat(m,"\n    &pageSize=").concat(M,"\n    &search=").concat(f,"\n    &formType=").concat(R,"\n    &sortBy=").concat(W,"\n    &sortOrder=").concat(H,"\n    ");J&&Object.keys(J).forEach((function(t){J[t]&&(e+="&".concat(t,"=").concat(J[t]))})),Re.get(e).then((function(e){var t=null===e||void 0===e?void 0:e.data;w((null===t||void 0===t?void 0:t.hasForms)||!1),a((null===t||void 0===t?void 0:t.data)||[]),k((null===t||void 0===t?void 0:t.total)||0)})).catch((function(e){te(e.message,{variant:"error"})})).finally((function(){u(!1)}))};(0,e.useEffect)((function(){return ae.current&&clearTimeout(ae.current),ae.current=setTimeout((function(){le()}),300),function(){return clearTimeout(ae.current)}}),[f,m,M,R,W,H,J]),(0,e.useEffect)((function(){u(!0),Re.get("/v1/documents/settings").then((function(e){var t=e.data.settings;Y(t);var n=[{id:0,name:"All",color:"B57C2A",background:"E8D6BD"}].concat((0,r.Z)(t.form_types));j(n)})).finally((function(){return u(!1)}))}),[]);var ce=(0,e.useMemo)((function(){return[{field:"actions",headerName:"Actions",minWidth:50,maxWidth:50,sortable:!1,headerAlign:"center",renderHeader:function(){return(0,Kl.jsx)("strong",{children:"Actions"})},renderCell:function(e){var t=e.row;return(0,Kl.jsx)(ASe,{data:t,fetchForms:le,startLoading:ue})}},{field:"form_name",headerName:"Title",minWidth:250,headerAlign:"center",renderHeader:function(){return(0,Kl.jsx)("strong",{children:"Title"})},renderCell:function(e){var t=e.value;return(0,Kl.jsx)(qCe,{value:t})}},{field:"form_type",headerName:"Form Type",minWidth:250,headerAlign:"center",sortable:!1,renderHeader:function(){return(0,Kl.jsx)("strong",{children:"Form Type"})},renderCell:function(e){var t=e.value;return(0,Kl.jsx)(Qxe,{text:t.name,color:t.color,background:t.background})}},{field:"phase",headerName:"Completion Phase",minWidth:250,headerAlign:"center",sortable:!1,renderHeader:function(){return(0,Kl.jsx)("strong",{children:"Completion Phase"})},renderCell:function(e){var t=e.value;return(0,Kl.jsx)(qCe,{value:t})}},{field:"site",headerName:"Completion Site",minWidth:250,headerAlign:"center",sortable:!1,renderHeader:function(){return(0,Kl.jsx)("strong",{children:"Completion Site"})},renderCell:function(e){var t=e.value;return(0,Kl.jsx)(qCe,{value:t})}},{field:"signature",headerName:"Signature Required",minWidth:250,headerAlign:"center",sortable:!1,renderHeader:function(){return(0,Kl.jsx)("strong",{children:"Signature Required"})},renderCell:function(e){var t=e.value;return(0,Kl.jsx)(qCe,{value:t.status})}},{field:"services",headerName:"Associated Services",minWidth:250,headerAlign:"center",sortable:!1,renderHeader:function(){return(0,Kl.jsx)("strong",{children:"Associated Services"})},renderCell:function(e){var t=e.value;return(0,Kl.jsx)(qCe,{value:t})}},{field:"clinics",headerName:"Associated Clinics",minWidth:250,headerAlign:"center",sortable:!1,renderHeader:function(){return(0,Kl.jsx)("strong",{children:"Associated Clinics"})},renderCell:function(e){var t=e.value;return(0,Kl.jsx)(qCe,{value:t})}},{field:"created_at",headerName:"Created At",minWidth:150,headerAlign:"center",renderHeader:function(){return(0,Kl.jsx)("strong",{children:"Created At"})},renderCell:function(e){var t=e.value;return(0,Kl.jsx)(qCe,{value:t})}},{field:"updated_at",headerName:"Updated At",minWidth:150,headerAlign:"center",renderHeader:function(){return(0,Kl.jsx)("strong",{children:"Updated At"})},renderCell:function(e){var t=e.value;return(0,Kl.jsx)(qCe,{value:t})}}]}),[]),ue=function(e){u(e)};return(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(gSe,{open:oe,data:Q,onClose:function(){ie(!1)},onServiceLoad:function(e){Y((function(t){var n=Us({},t);return n.services=e,n}))},onApply:function(e){return ee(e)}}),(0,Kl.jsx)(Vxe,{links:WSe,active:"Forms & Questionnaires",tab:"list"}),c&&(0,Kl.jsx)(NE,{}),x?(0,Kl.jsxs)(Cb,{marginTop:1,bgcolor:"#fff",borderRadius:4,padding:2,height:"auto",children:[(0,Kl.jsxs)(Cb,{display:"flex",justifyContent:"space-between",marginBottom:2,children:[(0,Kl.jsx)(Cb,{marginRight:2,flexBasis:"25%",children:(0,Kl.jsxs)(AJ.Z,{variant:"outlined",fullWidth:!0,size:"small",children:[(0,Kl.jsx)(rL.Z,{htmlFor:"form-type-select",children:"Form Type"}),(0,Kl.jsx)(LE.Z,{value:R,size:"small",fullWidth:!0,onChange:function(e){return q(e.target.value)},input:(0,Kl.jsx)(Zxe.Z,{label:"Form Type"}),renderValue:function(e){var t=T.find((function(t){return t.id===e}));return(0,Kl.jsx)(Qxe,{text:t?t.name:"",background:t?t.background:"",color:t?t.color:""})},MenuProps:{PaperProps:{style:{maxHeight:400,width:250}}},children:T.map((function(e){return(0,Kl.jsx)(xd.Z,{value:e.id,style:{marginBottom:"5%"},children:(0,Kl.jsx)(Qxe,{text:e.name,background:e.background,color:e.color})},e.id)}))})]})}),(0,Kl.jsxs)(Cb,{display:"flex",alignItems:"center",children:[(0,Kl.jsx)(Wu.Z,{variant:"outlined",fullWidth:!0,placeholder:"Search table",size:"small",value:f,onChange:function(e){return h(e.target.value)},InputProps:{startAdornment:(0,Kl.jsx)(Xu,{position:"start",children:(0,Kl.jsx)(ZCe,{style:{color:"#a1a1a1"}})})}}),(0,Kl.jsx)(zd.Z,{variant:"outlined",color:"primary",style:{marginLeft:"10px"},startIcon:(0,Kl.jsx)(G_e,{}),onClick:function(){return ie(!0)},children:"Filter"})]})]}),(0,Kl.jsx)(ISe,{payload:J,data:Q,onDelete:function(e){return function(e){ee((function(t){var n=Us({},t);return e.forEach((function(e){n[e]=null})),n}))}(e)}}),(0,Kl.jsx)(se,{rows:i,columns:ce,loading:c,pageSize:M,rowsPerPageOptions:[5,10,20,50,100],rowCount:E,disableSelectionOnClick:!0,disableColumnMenu:!0,pagination:!0,paginationMode:"server",sortingMode:"server",sortModel:[{field:W,sort:H}],onSortModelChange:function(e){return function(e){var t=e[0];F((null===t||void 0===t?void 0:t.field)||"created_at"),$((null===t||void 0===t?void 0:t.sort)||"desc")}(e)},onPageSizeChange:function(e){return O(e)},onPageChange:function(e){return g(e+1)},page:m-1,autoHeight:!0})]}):(0,Kl.jsx)(RCe,{})]})},USe=function(t){var n=t.children,r=(0,e.useContext)(bA);return(null===r||void 0===r?void 0:r.clinic.feature_forms_enabled)?n:(0,Kl.jsx)(Se,{to:"/calendar",replace:!0})},ZSe=$l((function(e){e.title,e.icon;var t=he(),n=fe(),r="",o=Of,i="",a="";switch(n.pathname.startsWith("/stock/categories/")&&(r="Categories",o=Rf,i="categories/create",a="Add New Category"),n.pathname.startsWith("/stock/suppliers/")&&(r="Supplier",o=kf,i="suppliers/create",a="Add Supplier"),(n.pathname.startsWith("/stock/inventory/product")||n.pathname.startsWith("/stock/inventory/create"))&&(r="Inventory",o=Of,i="inventory/create",a="Add New Item"),n.pathname){case"/stock/inventory":case"/stock/inventory/create":r="Inventory",o=Of,i="inventory/create",a="Add New Item";break;case"/stock/products":r="Products",o=Uf,i="inventory/create",a="Add New Item";break;case"/stock/suppliers":case"/stock/suppliers/create":r="Supplier",o=kf,i="suppliers/create",a="Add Supplier";break;case"/stock/categories":case"/stock/categories/create":r="Categories",o=Rf,i="categories/create",a="Add New Category"}var s={label:a,onClick:function(){t(i)},icon:(0,Kl.jsx)(rve,{width:16}),disabled:!1};return(0,Kl.jsx)(Kl.Fragment,{children:(0,Kl.jsx)(Yh,{title:r,Icon:o,disableOutlet:!0,needSearch:!0,actionButton:s,children:(0,Kl.jsx)(Ee,{})})})})),HSe=ZSe,$Se={"All Products":1,"Out of Stock Products":2,"Low Stock Products":3,"Products Expiring":4};function VSe(t){var r=t.title,o=t.value,i=t.color,a=t.icon,s=t.onClick,l=t.productType,c=t.viewDetails,u=t.setViewDetailsOpen,d=(0,e.useState)(!1),p=(0,n.Z)(d,2),f=p[0],h=p[1],b=f||$Se[r]===l?"3px solid ".concat(i):"3px solid transparent";return(0,Kl.jsx)("div",{className:"info-box",style:{border:b,height:"105px"},onMouseEnter:function(){return h(!0)},onMouseLeave:function(){return h(!1)},onClick:s,children:(0,Kl.jsxs)("div",{className:"info-box-content",children:[(0,Kl.jsxs)("div",{className:"title",children:[(0,Kl.jsx)("h4",{children:r}),(0,Kl.jsx)("span",{style:{color:i},children:o}),!0===c&&o>0&&(0,Kl.jsx)("span",{style:{color:"#B57C2A",fontWeight:"bold",fontSize:"16px",marginLeft:"10px"},onClick:function(){u(!0)},children:"View details"})]}),(0,Kl.jsx)("div",{className:"icon",children:(0,Kl.jsx)(a,{})})]})})}var XSe=["title","titleId"];function QSe(){return QSe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},QSe.apply(this,arguments)}function YSe(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function GSe(t,n){var r=t.title,o=t.titleId,i=YSe(t,XSe);return e.createElement("svg",QSe({width:81,height:80,viewBox:"0 0 81 80",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,ESe||(ESe=e.createElement("rect",{x:.5,width:80,height:80,rx:40,fill:"#F8F2EA"})),kSe||(kSe=e.createElement("path",{d:"M57.4466 37.5H55.5005C55.3897 37.0988 55.1512 36.7445 54.8211 36.4908C54.4911 36.2371 54.0874 36.0977 53.6711 36.0938H51.5938V31.0138C51.5961 30.9188 51.5731 30.8248 51.5272 30.7416C51.4812 30.6584 51.414 30.5889 51.3323 30.5402L36.6779 22.076C36.5953 22.028 36.5015 22.0027 36.4059 22.0027C36.3104 22.0027 36.2166 22.028 36.134 22.076L21.475 30.5402C21.3921 30.5883 21.3233 30.6574 21.2755 30.7405C21.2278 30.8237 21.2028 30.9179 21.2031 31.0138V47.9423C21.2031 48.0383 21.2284 48.1326 21.2764 48.2157C21.3244 48.2989 21.3934 48.3679 21.4766 48.4159L36.137 56.8801C36.2202 56.9281 36.3145 56.9534 36.4105 56.9534C36.5089 56.9535 36.6058 56.9282 36.6917 56.8801L44.4063 52.4304V55.6471C44.4055 55.9533 44.4654 56.2567 44.5827 56.5396C44.6999 56.8226 44.8721 57.0794 45.0893 57.2953C45.3065 57.5113 45.5643 57.682 45.8479 57.7976C46.1315 57.9132 46.4352 57.9714 46.7415 57.9688H57.4466C57.7536 57.9716 58.0582 57.9137 58.3427 57.7984C58.6273 57.6831 58.8863 57.5127 59.1047 57.2969C59.3232 57.0811 59.4968 56.8242 59.6156 56.5411C59.7344 56.258 59.796 55.9541 59.7969 55.6471V39.858C59.7965 39.2341 59.549 38.6357 59.1085 38.1938C58.6681 37.7519 58.0705 37.5024 57.4466 37.5ZM53.6905 37.1875C53.9011 37.1875 54.103 37.2712 54.2519 37.42C54.4007 37.5689 54.4844 37.7708 54.4844 37.9814V38.0343C54.4844 38.2449 54.4007 38.4468 54.2519 38.5957C54.103 38.7445 53.9011 38.8282 53.6905 38.8282H50.5126C50.302 38.8282 50.1001 38.7445 49.9513 38.5957C49.8024 38.4468 49.7188 38.2449 49.7188 38.0343V37.9814C49.7188 37.7708 49.8024 37.5689 49.9513 37.42C50.1001 37.2712 50.302 37.1875 50.5126 37.1875H53.6905ZM36.4105 23.1811L42.5022 26.6981L28.9364 34.5303L22.8448 31.0132L36.4105 23.1811ZM35.8906 55.4593L22.2969 47.6265V31.9598L35.8906 39.7925V55.4593ZM36.4105 38.8454L30.0302 35.1617L43.5959 27.3296L49.9766 31.0132L36.4105 38.8454ZM44.4063 39.858V51.1675L36.9844 55.4593V39.7925L50.5 31.9598V36.0938H50.517C50.1007 36.0977 49.697 36.237 49.3669 36.4908C49.0368 36.7445 48.7983 37.0988 48.6875 37.5H46.7415C46.1191 37.5031 45.5235 37.7532 45.0855 38.1954C44.6476 38.6376 44.4032 39.2357 44.4063 39.858ZM58.7031 55.6471C58.7024 55.8105 58.6692 55.9722 58.6054 56.1227C58.5416 56.2733 58.4486 56.4096 58.3317 56.5239C58.2147 56.6381 58.0763 56.728 57.9244 56.7883C57.7724 56.8486 57.61 56.8781 57.4466 56.875H46.7415C46.5788 56.8778 46.4173 56.848 46.2663 56.7874C46.1153 56.7268 45.978 56.6367 45.8623 56.5223C45.7467 56.4079 45.655 56.2716 45.5928 56.1213C45.5306 55.971 45.499 55.8097 45.5 55.6471V39.858C45.4984 39.6934 45.5292 39.5302 45.5907 39.3775C45.6522 39.2249 45.7433 39.0859 45.8586 38.9684C45.9739 38.851 46.1112 38.7575 46.2627 38.6932C46.4142 38.6289 46.5769 38.5951 46.7415 38.5938H48.7088C48.8261 38.9809 49.0657 39.3195 49.3917 39.559C49.7177 39.7984 50.1125 39.9258 50.517 39.9219H53.6711C54.0755 39.9258 54.4704 39.7985 54.7963 39.559C55.1223 39.3196 55.3619 38.9809 55.4791 38.5938H57.4466C57.7805 38.5959 58.1001 38.73 58.3355 38.9669C58.5709 39.2037 58.7031 39.5241 58.7031 39.858V55.6471Z",fill:"#B57C2A"})),DSe||(DSe=e.createElement("path",{d:"M47.371 45.3906H47.9435C48.0885 45.3906 48.2276 45.333 48.3301 45.2304C48.4327 45.1279 48.4903 44.9888 48.4903 44.8438C48.4903 44.6987 48.4327 44.5596 48.3301 44.4571C48.2276 44.3545 48.0885 44.2969 47.9435 44.2969H47.9219V42.8125H49.4302C49.4646 42.9225 49.534 43.0181 49.6279 43.0848C49.7218 43.1515 49.835 43.1856 49.9502 43.1818C50.0954 43.1822 50.2348 43.125 50.3379 43.0227C50.441 42.9204 50.4993 42.7814 50.5 42.6362V42.2682C50.4988 42.1223 50.44 41.9827 50.3365 41.8799C50.233 41.777 50.0931 41.7191 49.9472 41.7188H47.371C47.2993 41.7191 47.2283 41.7336 47.1622 41.7615C47.0961 41.7893 47.0361 41.8299 46.9856 41.8809C46.9352 41.9319 46.8954 41.9924 46.8683 42.0589C46.8413 42.1253 46.8276 42.1965 46.8281 42.2682V44.8444C46.8277 44.9159 46.8414 44.9869 46.8685 45.0532C46.8956 45.1194 46.9355 45.1796 46.986 45.2304C47.0364 45.2812 47.0964 45.3215 47.1625 45.349C47.2286 45.3765 47.2995 45.3906 47.371 45.3906Z",fill:"#B57C2A"})),NSe||(NSe=e.createElement("path",{d:"M47.375 50.3906H49.9531C50.0982 50.3906 50.2373 50.333 50.3398 50.2304C50.4424 50.1279 50.5 49.9888 50.5 49.8438V47.2656C50.5 47.1206 50.4424 46.9815 50.3398 46.8789C50.2373 46.7764 50.0982 46.7188 49.9531 46.7188H47.375C47.23 46.7188 47.0909 46.7764 46.9883 46.8789C46.8857 46.9815 46.8281 47.1206 46.8281 47.2656V49.8438C46.8281 49.9888 46.8857 50.1279 46.9883 50.2304C47.0909 50.333 47.23 50.3906 47.375 50.3906ZM47.9219 47.8125H49.4062V49.2969H47.9219V47.8125Z",fill:"#B57C2A"})),TSe||(TSe=e.createElement("path",{d:"M47.9436 54.2969H47.9219V52.8125H49.4007C49.4036 52.9563 49.4626 53.0933 49.5653 53.1941C49.668 53.2948 49.806 53.3513 49.9499 53.3515C50.0937 53.3516 50.2319 53.2954 50.3347 53.1948C50.4376 53.0943 50.4969 52.9574 50.5 52.8136V52.2866C50.4995 52.1388 50.4415 51.9969 50.3384 51.891C50.2353 51.785 50.095 51.7233 49.9472 51.7188H47.3711C47.2243 51.7237 47.0853 51.7859 46.9838 51.892C46.8824 51.9982 46.8265 52.1398 46.8282 52.2866V54.8628C46.8281 54.9334 46.8422 55.0033 46.8696 55.0684C46.8971 55.1335 46.9373 55.1923 46.988 55.2416C47.0386 55.2908 47.0986 55.3293 47.1644 55.3549C47.2302 55.3806 47.3005 55.3927 47.3711 55.3906H47.9436C48.0886 55.3906 48.2277 55.333 48.3303 55.2304C48.4328 55.1279 48.4904 54.9888 48.4904 54.8438C48.4904 54.6987 48.4328 54.5596 48.3303 54.4571C48.2277 54.3545 48.0886 54.2969 47.9436 54.2969Z",fill:"#B57C2A"})),jSe||(jSe=e.createElement("path",{d:"M51.2063 42.39L49.6048 43.9916L49.1176 43.5043C49.0668 43.4535 49.0065 43.4133 48.9402 43.3858C48.8738 43.3583 48.8027 43.3441 48.7309 43.3441C48.659 43.3441 48.5879 43.3583 48.5216 43.3858C48.4552 43.4133 48.3949 43.4535 48.3441 43.5043C48.2934 43.5551 48.2531 43.6154 48.2256 43.6818C48.1981 43.7481 48.184 43.8192 48.184 43.891C48.184 43.9629 48.1981 44.034 48.2256 44.1003C48.2531 44.1667 48.2934 44.227 48.3441 44.2778L49.2181 45.1517C49.2689 45.2025 49.3292 45.2427 49.3956 45.2702C49.4619 45.2977 49.533 45.3119 49.6048 45.3119C49.6767 45.3119 49.7478 45.2977 49.8141 45.2702C49.8805 45.2427 49.9408 45.2025 49.9916 45.1517L51.98 43.1632C52.0826 43.0607 52.1402 42.9216 52.1402 42.7765C52.1402 42.6315 52.0826 42.4924 51.98 42.3898C51.8774 42.2872 51.7383 42.2296 51.5933 42.2296C51.4482 42.2296 51.3091 42.2872 51.2066 42.3898L51.2063 42.39Z",fill:"#B57C2A"})),BSe||(BSe=e.createElement("path",{d:"M51.2063 52.4876L49.6048 54.0891L49.1176 53.6019C49.0668 53.5511 49.0065 53.5108 48.9402 53.4833C48.8738 53.4558 48.8027 53.4417 48.7309 53.4417C48.659 53.4417 48.5879 53.4558 48.5216 53.4833C48.4552 53.5108 48.3949 53.5511 48.3441 53.6019C48.2934 53.6526 48.2531 53.7129 48.2256 53.7793C48.1981 53.8456 48.184 53.9168 48.184 53.9886C48.184 54.0604 48.1981 54.1315 48.2256 54.1979C48.2531 54.2642 48.2934 54.3245 48.3441 54.3753L49.2181 55.2492C49.2689 55.3 49.3292 55.3403 49.3956 55.3678C49.4619 55.3953 49.533 55.4094 49.6048 55.4094C49.6767 55.4094 49.7478 55.3953 49.8141 55.3678C49.8805 55.3403 49.9408 55.3 49.9916 55.2492L51.98 53.2608C52.0826 53.1582 52.1402 53.0191 52.1402 52.8741C52.1402 52.729 52.0826 52.5899 51.98 52.4873C51.8774 52.3848 51.7383 52.3271 51.5933 52.3271C51.4482 52.3271 51.3091 52.3848 51.2066 52.4873L51.2063 52.4876Z",fill:"#B57C2A"})),LSe||(LSe=e.createElement("path",{d:"M56.8169 43.0469H53.3821C53.237 43.0469 53.0979 43.1045 52.9954 43.2071C52.8928 43.3096 52.8352 43.4487 52.8352 43.5938C52.8352 43.7388 52.8928 43.8779 52.9954 43.9804C53.0979 44.083 53.237 44.1406 53.3821 44.1406H56.8169C56.962 44.1406 57.1011 44.083 57.2036 43.9804C57.3062 43.8779 57.3638 43.7388 57.3638 43.5938C57.3638 43.4487 57.3062 43.3096 57.2036 43.2071C57.1011 43.1045 56.962 43.0469 56.8169 43.0469Z",fill:"#B57C2A"})),RSe||(RSe=e.createElement("path",{d:"M56.8169 48.0469H53.3821C53.237 48.0469 53.0979 48.1045 52.9954 48.2071C52.8928 48.3096 52.8352 48.4487 52.8352 48.5938C52.8352 48.7388 52.8928 48.8779 52.9954 48.9804C53.0979 49.083 53.237 49.1406 53.3821 49.1406H56.8169C56.962 49.1406 57.1011 49.083 57.2036 48.9804C57.3062 48.8779 57.3638 48.7388 57.3638 48.5938C57.3638 48.4487 57.3062 48.3096 57.2036 48.2071C57.1011 48.1045 56.962 48.0469 56.8169 48.0469Z",fill:"#B57C2A"})),qSe||(qSe=e.createElement("path",{d:"M56.8169 53.0469H53.3821C53.237 53.0469 53.0979 53.1045 52.9954 53.2071C52.8928 53.3096 52.8352 53.4487 52.8352 53.5938C52.8352 53.7388 52.8928 53.8779 52.9954 53.9804C53.0979 54.083 53.237 54.1406 53.3821 54.1406H56.8169C56.962 54.1406 57.1011 54.083 57.2036 53.9804C57.3062 53.8779 57.3638 53.7388 57.3638 53.5938C57.3638 53.4487 57.3062 53.3096 57.2036 53.2071C57.1011 53.1045 56.962 53.0469 56.8169 53.0469Z",fill:"#B57C2A"})))}var KSe,JSe,eEe,tEe,nEe=e.forwardRef(GSe),rEe=(__webpack_require__.p,["title","titleId"]);function oEe(){return oEe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},oEe.apply(this,arguments)}function iEe(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function aEe(t,n){var r=t.title,o=t.titleId,i=iEe(t,rEe);return e.createElement("svg",oEe({width:80,height:80,viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,KSe||(KSe=e.createElement("rect",{width:80,height:80,rx:40,fill:"#FEECEB"})),JSe||(JSe=e.createElement("path",{d:"M39.6273 53.8379L39.146 54.0787L25 47.7917V31.2823L38.8281 37.4282C38.9347 37.4755 39.0501 37.5 39.1667 37.5C39.2833 37.5 39.3987 37.4755 39.5052 37.4282L53.3334 31.2823V38.3333C53.3355 38.5529 53.4242 38.7628 53.5803 38.9174C53.7363 39.0719 53.9471 39.1586 54.1667 39.1586C54.3863 39.1586 54.5971 39.0719 54.7531 38.9174C54.9092 38.7628 54.9979 38.5529 55 38.3333V30C55 29.8388 54.9533 29.6811 54.8654 29.5459C54.7776 29.4108 54.6525 29.304 54.5052 29.2385L39.5052 22.5718C39.3986 22.5246 39.2833 22.5001 39.1667 22.5001C39.0501 22.5001 38.9347 22.5246 38.8281 22.5718L23.8281 29.2385C23.6809 29.304 23.5558 29.4108 23.468 29.5459C23.3801 29.6811 23.3334 29.8388 23.3334 30V48.3333C23.3334 48.4945 23.3801 48.6522 23.468 48.7873C23.5558 48.9224 23.6809 49.0291 23.8281 49.0946L38.8281 55.7612C38.9405 55.8112 39.0624 55.8358 39.1854 55.8331C39.3083 55.8304 39.4291 55.8005 39.5391 55.7456L40.3724 55.329C40.471 55.2804 40.5589 55.2128 40.6312 55.1301C40.7035 55.0475 40.7588 54.9513 40.7938 54.8472C40.8288 54.7431 40.8429 54.6331 40.8353 54.5235C40.8277 54.4139 40.7984 54.3069 40.7493 54.2087C40.7002 54.1105 40.6321 54.0229 40.549 53.951C40.466 53.8792 40.3695 53.8245 40.2652 53.79C40.1609 53.7556 40.0508 53.7421 39.9413 53.7504C39.8318 53.7586 39.7249 53.7884 39.627 53.8381L39.6273 53.8379ZM39.1663 35.7547L33.2709 33.1343L46.1719 27.4007C46.1867 27.394 46.1991 27.3843 46.2133 27.3772L52.1148 30L39.1663 35.7547ZM39.1663 24.2451L44.1672 26.4676L31.3281 32.1739C31.2951 32.1899 31.2631 32.2082 31.2325 32.2286L26.2188 30L39.1663 24.2451Z",fill:"#F44336"})),eEe||(eEe=e.createElement("path",{d:"M48.3333 39.1666C46.6851 39.1666 45.074 39.6553 43.7035 40.571C42.3331 41.4867 41.265 42.7882 40.6342 44.3109C40.0035 45.8336 39.8385 47.5092 40.16 49.1257C40.4815 50.7422 41.2752 52.2271 42.4406 53.3925C43.6061 54.558 45.0909 55.3517 46.7075 55.6732C48.324 55.9948 49.9995 55.8297 51.5223 55.199C53.045 54.5683 54.3465 53.5002 55.2622 52.1298C56.1779 50.7593 56.6666 49.1482 56.6666 47.5C56.6641 45.2906 55.7854 43.1724 54.2231 41.6102C52.6609 40.0479 50.5427 39.1691 48.3333 39.1666ZM48.3333 54.1666C47.0148 54.1666 45.7259 53.7756 44.6295 53.0431C43.5332 52.3106 42.6787 51.2694 42.1741 50.0512C41.6696 48.833 41.5375 47.4926 41.7948 46.1994C42.052 44.9062 42.6869 43.7183 43.6193 42.786C44.5516 41.8536 45.7395 41.2187 47.0327 40.9614C48.3259 40.7042 49.6664 40.8362 50.8845 41.3408C52.1027 41.8454 53.1439 42.6999 53.8764 43.7962C54.609 44.8925 55 46.1814 55 47.5C54.9979 49.2675 54.2949 50.962 53.0451 52.2118C51.7953 53.4616 50.1008 54.1646 48.3333 54.1666Z",fill:"#F44336"})),tEe||(tEe=e.createElement("path",{d:"M51.4225 44.4107C51.3452 44.3334 51.2533 44.272 51.1522 44.2301C51.0511 44.1882 50.9428 44.1666 50.8334 44.1666C50.7239 44.1666 50.6156 44.1882 50.5145 44.2301C50.4134 44.272 50.3215 44.3334 50.2442 44.4107L48.3334 46.3215L46.4226 44.4107C46.2657 44.2575 46.0548 44.1722 45.8354 44.1734C45.6161 44.1747 45.4061 44.2624 45.251 44.4175C45.0959 44.5726 45.0082 44.7826 45.007 45.0019C45.0057 45.2212 45.091 45.4322 45.2443 45.5891L47.155 47.5L45.2442 49.4107C45.1653 49.4878 45.1026 49.5797 45.0595 49.6812C45.0164 49.7827 44.9939 49.8917 44.9933 50.0019C44.9927 50.1121 45.0139 50.2214 45.0558 50.3234C45.0977 50.4253 45.1594 50.518 45.2373 50.5959C45.3153 50.6739 45.4079 50.7356 45.5099 50.7775C45.6119 50.8194 45.7211 50.8406 45.8314 50.84C45.9416 50.8393 46.0506 50.8168 46.1521 50.7738C46.2536 50.7307 46.3455 50.6679 46.4225 50.5891L48.3333 48.6783L50.2441 50.5891C50.3211 50.6679 50.4131 50.7307 50.5145 50.7738C50.616 50.8168 50.725 50.8393 50.8353 50.84C50.9455 50.8406 51.0548 50.8194 51.1567 50.7775C51.2587 50.7356 51.3513 50.6739 51.4293 50.5959C51.5072 50.518 51.5689 50.4253 51.6108 50.3234C51.6527 50.2214 51.674 50.1121 51.6733 50.0019C51.6727 49.8917 51.6502 49.7827 51.6071 49.6812C51.5641 49.5797 51.5013 49.4878 51.4225 49.4107L49.5118 47.5L51.4225 45.5892C51.4999 45.5118 51.5613 45.42 51.6032 45.3189C51.6451 45.2178 51.6667 45.1094 51.6667 45C51.6667 44.8905 51.6451 44.7822 51.6032 44.6811C51.5613 44.58 51.4999 44.4881 51.4225 44.4107Z",fill:"#F44336"})))}var sEe,lEe,cEe=e.forwardRef(aEe),uEe=(__webpack_require__.p,["title","titleId"]);function dEe(){return dEe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},dEe.apply(this,arguments)}function pEe(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function fEe(t,n){var r=t.title,o=t.titleId,i=pEe(t,uEe);return e.createElement("svg",dEe({width:81,height:80,viewBox:"0 0 81 80",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,sEe||(sEe=e.createElement("rect",{x:.5,width:80,height:80,rx:40,fill:"#FFF8E6"})),lEe||(lEe=e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M25.92 25.13C25.54 25.3616 25.4 25.8183 25.595 26.1866C25.6483 26.285 27.8166 28.4883 30.4133 31.0833L35.135 35.8H35.8633L39.44 32.225C42.15 29.5183 43.0416 28.665 43.115 28.7083C43.1683 28.74 45.275 30.5366 47.7983 32.7L52.3833 36.6333L50.0583 36.6666C47.5333 36.7033 47.5316 36.7033 47.2966 37.0883C47.2398 37.1798 47.2021 37.2819 47.1859 37.3885C47.1697 37.495 47.1754 37.6037 47.2025 37.708C47.2296 37.8123 47.2776 37.91 47.3437 37.9951C47.4097 38.0802 47.4924 38.1511 47.5866 38.2033C47.7916 38.3266 47.9466 38.3333 51.3333 38.3333C54.72 38.3333 54.875 38.3266 55.08 38.2033C55.51 37.94 55.5 38.0366 55.5 34.1666C55.5 30.2966 55.51 30.3933 55.08 30.13C54.9575 30.0493 54.8141 30.0063 54.6675 30.0063C54.5208 30.0063 54.3774 30.0493 54.255 30.13C53.8666 30.3666 53.87 30.3466 53.8333 33.1166L53.8 35.6666L48.6333 31.2333C45.0483 28.1583 43.3916 26.7783 43.2233 26.725C43.0829 26.6829 42.9348 26.6726 42.79 26.695C42.6583 26.7266 41.505 27.835 39.05 30.2866L35.5 33.8316L31.15 29.49C28.7566 27.1016 26.735 25.1133 26.655 25.0733C26.5376 25.0199 26.4087 24.9971 26.2802 25.007C26.1516 25.0169 26.0277 25.0592 25.92 25.13ZM27.5866 35.13C27.1366 35.405 27.1666 34.6833 27.1666 45.0133C27.1666 54.1716 27.17 54.3716 27.2966 54.58C27.3723 54.7006 27.4755 54.8016 27.5977 54.8746C27.72 54.9476 27.8579 54.9906 28 55C28.1421 54.9906 28.2799 54.9476 28.4022 54.8746C28.5244 54.8016 28.6276 54.7006 28.7033 54.58C28.83 54.3716 28.8333 54.1733 28.8333 45C28.8333 35.8266 28.83 35.6283 28.7033 35.42C28.6509 35.3257 28.5799 35.243 28.4946 35.1769C28.4093 35.1109 28.3115 35.0628 28.2071 35.0357C28.1027 35.0086 27.9938 35.003 27.8872 35.0192C27.7805 35.0354 27.6783 35.0731 27.5866 35.13ZM42.5866 36.7966C42.1366 37.0716 42.1666 36.4383 42.1666 45.8466C42.1666 54.18 42.17 54.3716 42.2966 54.58C42.63 55.1266 43.37 55.1266 43.7033 54.58C43.83 54.3716 43.8333 54.18 43.8333 45.8333C43.8333 37.4866 43.83 37.295 43.7033 37.0866C43.6509 36.9923 43.5799 36.9096 43.4946 36.8436C43.4093 36.7775 43.3115 36.7295 43.2071 36.7024C43.1027 36.6752 42.9938 36.6696 42.8872 36.6858C42.7805 36.702 42.6783 36.7397 42.5866 36.7966ZM32.5866 40.13C32.14 40.4016 32.1666 39.9483 32.1666 47.5C32.1666 55.0516 32.14 54.5983 32.5866 54.87C32.7093 54.9508 32.853 54.9938 33 54.9938C33.1469 54.9938 33.2906 54.9508 33.4133 54.87C33.86 54.5983 33.8333 55.0533 33.8333 47.4866C33.8333 40.8066 33.83 40.6283 33.7033 40.42C33.6509 40.3257 33.5799 40.243 33.4946 40.1769C33.4093 40.1109 33.3115 40.0628 33.2071 40.0357C33.1027 40.0086 32.9938 40.003 32.8872 40.0192C32.7805 40.0354 32.6783 40.0731 32.5866 40.13ZM37.5866 40.13C37.14 40.4016 37.1666 39.9483 37.1666 47.5C37.1666 55.0516 37.14 54.5983 37.5866 54.87C37.7093 54.9508 37.853 54.9938 38 54.9938C38.1469 54.9938 38.2906 54.9508 38.4133 54.87C38.86 54.5983 38.8333 55.0533 38.8333 47.4866C38.8333 40.8066 38.83 40.6283 38.7033 40.42C38.6509 40.3257 38.5799 40.243 38.4946 40.1769C38.4093 40.1109 38.3115 40.0628 38.2071 40.0357C38.1027 40.0086 37.9938 40.003 37.8872 40.0192C37.7805 40.0354 37.6783 40.0731 37.5866 40.13ZM47.5866 43.4633C47.1466 43.7316 47.1666 43.455 47.1666 49.18C47.1666 54.2066 47.1716 54.3733 47.2966 54.58C47.63 55.1266 48.37 55.1266 48.7033 54.58C48.8283 54.3733 48.8333 54.2066 48.8333 49.1666C48.8333 44.1266 48.8283 43.96 48.7033 43.7533C48.6509 43.659 48.5799 43.5763 48.4946 43.5102C48.4093 43.4442 48.3115 43.3961 48.2071 43.369C48.1027 43.3419 47.9938 43.3363 47.8872 43.3525C47.7805 43.3687 47.6783 43.4064 47.5866 43.4633ZM52.5866 43.4633C52.1466 43.7316 52.1666 43.455 52.1666 49.18C52.1666 54.2066 52.1716 54.3733 52.2966 54.58C52.63 55.1266 53.37 55.1266 53.7033 54.58C53.8283 54.3733 53.8333 54.2066 53.8333 49.1666C53.8333 44.1266 53.8283 43.96 53.7033 43.7533C53.6509 43.659 53.5799 43.5763 53.4946 43.5102C53.4093 43.4442 53.3115 43.3961 53.2071 43.369C53.1027 43.3419 52.9938 43.3363 52.8872 43.3525C52.7805 43.3687 52.6783 43.4064 52.5866 43.4633Z",fill:"#FAB401"})))}var hEe,bEe,AEe,mEe,gEe,vEe,yEe,MEe,OEe,_Ee,zEe,xEe,wEe=e.forwardRef(fEe),CEe=(__webpack_require__.p,["title","titleId"]);function SEe(){return SEe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},SEe.apply(this,arguments)}function EEe(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function kEe(t,n){var r=t.title,o=t.titleId,i=EEe(t,CEe);return e.createElement("svg",SEe({width:80,height:80,viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,hEe||(hEe=e.createElement("rect",{width:80,height:80,rx:40,fill:"#EBF1FF"})),bEe||(bEe=e.createElement("path",{d:"M36.6335 28.2812C36.447 28.2812 36.2682 28.3553 36.1363 28.4872C36.0045 28.6191 35.9304 28.7979 35.9304 28.9844V35.6648C35.57 35.783 35.2452 35.9903 34.9862 36.2675C34.7272 36.5447 34.5424 36.8827 34.4489 37.2504C34.3554 37.618 34.3562 38.0033 34.4513 38.3705C34.5464 38.7377 34.7326 39.075 34.9928 39.351C35.2529 39.6271 35.5786 39.833 35.9395 39.9497C36.3004 40.0664 36.685 40.09 37.0575 40.0185C37.43 39.9469 37.7784 39.7825 38.0705 39.5404C38.3625 39.2983 38.5887 38.9864 38.7281 38.6336C38.7715 38.6426 38.8157 38.6474 38.8601 38.6477L43.6257 38.6945H43.6327C43.8071 38.6788 43.9693 38.5987 44.0877 38.4698C44.206 38.3408 44.2721 38.1724 44.2728 37.9974C44.2736 37.8223 44.2091 37.6533 44.0919 37.5233C43.9747 37.3934 43.8132 37.3118 43.639 37.2945L38.8734 37.2477C38.8531 37.2477 38.8327 37.2477 38.8132 37.2477C38.7181 36.8809 38.5323 36.544 38.2729 36.2678C38.0135 35.9916 37.6889 35.7851 37.3288 35.6672V28.9867C37.3295 28.8012 37.2567 28.6229 37.1265 28.4908C36.9963 28.3586 36.8191 28.2833 36.6335 28.2812ZM36.6335 38.6555C36.4648 38.6555 36.2998 38.6054 36.1595 38.5116C36.0192 38.4179 35.9098 38.2846 35.8453 38.1286C35.7807 37.9727 35.7639 37.8011 35.7969 37.6356C35.8298 37.4701 35.9112 37.3181 36.0306 37.1988C36.1499 37.0795 36.302 36.9983 36.4676 36.9655C36.6331 36.9327 36.8047 36.9497 36.9605 37.0144C37.1164 37.0791 37.2496 37.1885 37.3433 37.3289C37.4369 37.4693 37.4868 37.6344 37.4867 37.8031C37.4864 38.0295 37.3964 38.2465 37.2363 38.4064C37.0762 38.5664 36.8591 38.6562 36.6327 38.6562L36.6335 38.6555Z",fill:"#3377FF"})),AEe||(AEe=e.createElement("path",{d:"M38.3921 52.957C38.0414 52.9976 37.689 53.0242 37.3312 53.0398V49.4828C37.3398 49.3856 37.3281 49.2877 37.2968 49.1953C37.2655 49.1029 37.2153 49.018 37.1494 48.9461C37.0836 48.8741 37.0034 48.8167 36.9142 48.7773C36.8249 48.738 36.7284 48.7177 36.6308 48.7177C36.5333 48.7177 36.4368 48.738 36.3475 48.7773C36.2582 48.8167 36.1781 48.8741 36.1122 48.9461C36.0463 49.018 35.9961 49.1029 35.9648 49.1953C35.9336 49.2877 35.9218 49.3856 35.9304 49.4828V53.0398C28.0859 52.6797 21.7703 46.3601 21.4171 38.5156H24.975C25.0721 38.5242 25.17 38.5125 25.2624 38.4812C25.3548 38.4499 25.4397 38.3997 25.5117 38.3338C25.5836 38.268 25.6411 38.1878 25.6804 38.0986C25.7197 38.0093 25.74 37.9128 25.74 37.8152C25.74 37.7177 25.7197 37.6212 25.6804 37.5319C25.6411 37.4426 25.5836 37.3625 25.5117 37.2966C25.4397 37.2307 25.3548 37.1805 25.2624 37.1492C25.17 37.118 25.0721 37.1062 24.975 37.1148H21.4171C21.7773 29.2687 28.0976 22.9531 35.9437 22.6V26.1578C35.9351 26.255 35.9468 26.3529 35.9781 26.4453C36.0094 26.5377 36.0596 26.6226 36.1255 26.6945C36.1914 26.7665 36.2715 26.8239 36.3608 26.8633C36.4501 26.9026 36.5465 26.9229 36.6441 26.9229C36.7417 26.9229 36.8382 26.9026 36.9274 26.8633C37.0167 26.8239 37.0969 26.7665 37.1627 26.6945C37.2286 26.6226 37.2788 26.5377 37.3101 26.4453C37.3414 26.3529 37.3531 26.255 37.3445 26.1578V22.6C45.189 22.9601 51.5047 29.2805 51.8578 37.1265H48.2992C48.1241 37.142 47.9612 37.2225 47.8425 37.3522C47.7238 37.4818 47.658 37.6512 47.658 37.8269C47.658 38.0027 47.7238 38.1721 47.8425 38.3017C47.9612 38.4314 48.1241 38.5118 48.2992 38.5273H51.8578C51.8461 38.7828 51.8281 39.0375 51.8046 39.2898C51.7863 39.386 51.7882 39.4849 51.8102 39.5803C51.8323 39.6757 51.874 39.7654 51.9328 39.8437C51.9915 39.922 52.0659 39.9872 52.1513 40.0351C52.2367 40.083 52.3311 40.1125 52.4286 40.1218C52.526 40.1311 52.6243 40.1199 52.7172 40.089C52.8101 40.0581 52.8955 40.0081 52.968 39.9423C53.0405 39.8765 53.0984 39.7963 53.1381 39.7068C53.1777 39.6173 53.1983 39.5205 53.1984 39.4226C53.2492 38.8937 53.2765 38.3547 53.2765 37.8203C53.2755 34.53 52.299 31.3138 50.4705 28.5783C48.6421 25.8427 46.0437 23.7107 43.0038 22.4516C39.9639 21.1924 36.6189 20.8628 33.3917 21.5042C30.1645 22.1457 27.1999 23.7295 24.8726 26.0555C22.547 28.383 20.9636 31.3478 20.3226 34.575C19.6815 37.8023 20.0116 41.1471 21.271 44.1868C22.5304 47.2265 24.6627 49.8246 27.3984 51.6528C30.1341 53.4809 33.3503 54.4571 36.6406 54.4578C37.2802 54.4578 37.9192 54.4213 38.5546 54.3484C38.6525 54.3466 38.7489 54.3244 38.8376 54.2832C38.9264 54.242 39.0055 54.1827 39.0701 54.1091C39.1346 54.0356 39.1831 53.9494 39.2124 53.856C39.2417 53.7626 39.2512 53.6642 39.2403 53.567C39.2293 53.4697 39.1982 53.3758 39.149 53.2913C39.0997 53.2068 39.0333 53.1334 38.9541 53.076C38.8748 53.0186 38.7845 52.9784 38.6888 52.9579C38.5931 52.9374 38.4942 52.9371 38.3984 52.957H38.3921Z",fill:"#3377FF"})),mEe||(mEe=e.createElement("path",{d:"M31.2312 27.0555L30.5757 25.9203C30.5336 25.8332 30.4739 25.7557 30.4005 25.6927C30.327 25.6297 30.2414 25.5825 30.1488 25.5541C30.0563 25.5257 29.9589 25.5168 29.8628 25.5277C29.7667 25.5387 29.6738 25.5694 29.5901 25.618C29.5063 25.6665 29.4335 25.7318 29.3762 25.8097C29.3189 25.8877 29.2782 25.9767 29.2569 26.071C29.2355 26.1654 29.2338 26.2632 29.252 26.3583C29.2702 26.4533 29.3077 26.5436 29.3624 26.6235L30.0179 27.7578C30.118 27.9042 30.2698 28.0073 30.4428 28.0465C30.6158 28.0856 30.7972 28.058 30.9506 27.969C31.1041 27.8801 31.2183 27.7365 31.2703 27.5669C31.3223 27.3974 31.3083 27.2144 31.2312 27.0547V27.0555Z",fill:"#3377FF"})),gEe||(gEe=e.createElement("path",{d:"M26.5727 31.2008L25.4383 30.5469C25.2786 30.4697 25.0957 30.4557 24.9261 30.5077C24.7565 30.5597 24.6129 30.6739 24.524 30.8274C24.435 30.9808 24.4074 31.1622 24.4466 31.3352C24.4857 31.5082 24.5888 31.66 24.7352 31.7602L25.8703 32.4156C26.03 32.4928 26.213 32.5068 26.3825 32.4548C26.5521 32.4028 26.6957 32.2886 26.7847 32.1351C26.8736 31.9817 26.9012 31.8003 26.8621 31.6273C26.8229 31.4543 26.7198 31.3025 26.5735 31.2023L26.5727 31.2008Z",fill:"#3377FF"})),vEe||(vEe=e.createElement("path",{d:"M25.8727 43.2266L24.7375 43.882C24.6498 43.9238 24.5717 43.9833 24.5082 44.0567C24.4446 44.1302 24.3969 44.216 24.3682 44.3088C24.3394 44.4016 24.3302 44.4993 24.3411 44.5958C24.352 44.6923 24.3828 44.7856 24.4315 44.8696C24.4803 44.9536 24.5459 45.0267 24.6242 45.0841C24.7026 45.1415 24.792 45.182 24.8868 45.2032C24.9816 45.2243 25.0798 45.2256 25.1751 45.2069C25.2704 45.1882 25.3609 45.1499 25.4407 45.0945L26.575 44.4398C26.7214 44.3397 26.8245 44.1879 26.8637 44.0149C26.9028 43.8419 26.8752 43.6605 26.7863 43.5071C26.6973 43.3536 26.5537 43.2394 26.3841 43.1874C26.2146 43.1354 26.0316 43.1494 25.8719 43.2266H25.8727Z",fill:"#3377FF"})),yEe||(yEe=e.createElement("path",{d:"M48.7937 30.8024C48.7001 30.6422 48.547 30.5254 48.3678 30.4775C48.1885 30.4297 47.9976 30.4546 47.8366 30.5469L46.7015 31.2024C46.5551 31.3026 46.452 31.4544 46.4129 31.6273C46.3737 31.8003 46.4014 31.9817 46.4903 32.1352C46.5792 32.2886 46.7229 32.4028 46.8924 32.4548C47.062 32.5068 47.2449 32.4929 47.4046 32.4157L48.539 31.7602C48.6993 31.6665 48.8161 31.5132 48.8638 31.3338C48.9115 31.1544 48.8863 30.9633 48.7937 30.8024Z",fill:"#3377FF"})),MEe||(MEe=e.createElement("path",{d:"M30.9743 47.6281C30.8132 47.5362 30.6223 47.5116 30.4432 47.5597C30.2641 47.6079 30.1113 47.7248 30.018 47.8851L29.3625 49.0195C29.2854 49.1792 29.2714 49.3622 29.3234 49.5317C29.3754 49.7013 29.4896 49.8449 29.6431 49.9338C29.7965 50.0228 29.9779 50.0504 30.1509 50.0113C30.3239 49.9721 30.4757 49.869 30.5758 49.7226L31.2313 48.5875C31.3242 48.4261 31.3493 48.2345 31.3011 48.0546C31.253 47.8748 31.1354 47.7214 30.9743 47.6281Z",fill:"#3377FF"})),OEe||(OEe=e.createElement("path",{d:"M42.6499 28.1062C42.7729 28.106 42.8937 28.0735 43.0002 28.0119C43.1068 27.9504 43.1953 27.8619 43.2569 27.7555L43.9116 26.6211C43.967 26.5413 44.0052 26.4509 44.0239 26.3555C44.0426 26.2602 44.0414 26.1621 44.0202 26.0672C43.9991 25.9724 43.9585 25.883 43.9011 25.8047C43.8437 25.7263 43.7707 25.6607 43.6867 25.612C43.6026 25.5632 43.5094 25.5324 43.4129 25.5215C43.3164 25.5106 43.2186 25.5198 43.1258 25.5486C43.0331 25.5773 42.9472 25.625 42.8738 25.6886C42.8003 25.7522 42.7409 25.8303 42.6991 25.918L42.0436 27.0531C41.983 27.1597 41.9513 27.2803 41.9517 27.4029C41.952 27.5256 41.9845 27.646 42.0458 27.7522C42.107 27.8584 42.195 27.9467 42.301 28.0084C42.407 28.0701 42.5273 28.103 42.6499 28.1039V28.1062Z",fill:"#3377FF"})),_Ee||(_Ee=e.createElement("path",{d:"M59.6874 55.3375L51.9859 41.8937C51.7858 41.5444 51.4983 41.253 51.1517 41.0482C50.8051 40.8433 50.4113 40.732 50.0087 40.7252C49.6062 40.7183 49.2087 40.8162 48.8554 41.0091C48.502 41.202 48.2048 41.4834 47.9929 41.8258L39.7898 55.0875C39.573 55.4379 39.4533 55.8395 39.4429 56.2514C39.4324 56.6633 39.5317 57.0705 39.7304 57.4314C39.9291 57.7923 40.2202 58.0939 40.5739 58.3052C40.9275 58.5166 41.3309 58.6302 41.7429 58.6344L57.6507 58.8172H57.6781C58.0848 58.8159 58.4841 58.7079 58.836 58.504C59.1879 58.3001 59.4802 58.0075 59.6835 57.6552C59.8869 57.303 59.9943 56.9036 59.995 56.4969C59.9957 56.0902 59.8896 55.6904 59.6874 55.3375ZM58.4679 56.9609C58.3868 57.1024 58.2691 57.2194 58.127 57.2996C57.985 57.3798 57.8239 57.4201 57.6609 57.4164L41.7531 57.2344C41.5894 57.2324 41.4292 57.187 41.2889 57.1028C41.1485 57.0187 41.0331 56.8988 40.9542 56.7554C40.8754 56.6119 40.8361 56.4502 40.8403 56.2866C40.8445 56.123 40.892 55.9634 40.9781 55.8242L49.1812 42.5633C49.2622 42.4287 49.3768 42.3175 49.5138 42.2406C49.6508 42.1638 49.8054 42.1239 49.9624 42.125H49.9796C50.1401 42.1258 50.2974 42.1693 50.4356 42.251C50.5737 42.3327 50.6876 42.4496 50.7656 42.5898L58.4679 56.0336C58.5506 56.1741 58.5941 56.3342 58.5941 56.4973C58.5941 56.6603 58.5506 56.8204 58.4679 56.9609Z",fill:"#3377FF"})),zEe||(zEe=e.createElement("path",{d:"M49.6812 46.3531C49.4947 46.3531 49.3159 46.4272 49.184 46.5591C49.0522 46.6909 48.9781 46.8698 48.9781 47.0563V51.6227C48.9695 51.7199 48.9812 51.8178 49.0125 51.9102C49.0438 52.0026 49.094 52.0874 49.1598 52.1594C49.2257 52.2314 49.3058 52.2888 49.3951 52.3281C49.4844 52.3675 49.5809 52.3878 49.6785 52.3878C49.776 52.3878 49.8725 52.3675 49.9618 52.3281C50.0511 52.2888 50.1312 52.2314 50.1971 52.1594C50.263 52.0874 50.3131 52.0026 50.3444 51.9102C50.3757 51.8178 50.3875 51.7199 50.3789 51.6227V47.0531C50.378 46.8682 50.3043 46.6909 50.1738 46.5599C50.0432 46.4289 49.8662 46.3546 49.6812 46.3531Z",fill:"#3377FF"})),xEe||(xEe=e.createElement("path",{d:"M49.6812 53.8555C49.4947 53.8555 49.3158 53.9295 49.184 54.0614C49.0521 54.1933 48.978 54.3721 48.978 54.5586V54.6492C48.9935 54.8243 49.074 54.9872 49.2036 55.1059C49.3333 55.2246 49.5027 55.2904 49.6784 55.2904C49.8542 55.2904 50.0236 55.2246 50.1532 55.1059C50.2828 54.9872 50.3633 54.8243 50.3788 54.6492V54.5586C50.3788 54.3731 50.3055 54.195 50.1748 54.0633C50.0441 53.9316 49.8667 53.8569 49.6812 53.8555Z",fill:"#3377FF"})))}var DEe,NEe=e.forwardRef(kEe),TEe=(__webpack_require__.p,(0,kp.Z)(e.createElement("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreVert")),jEe=["title","titleId"];function BEe(){return BEe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},BEe.apply(this,arguments)}function LEe(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function REe(t,n){var r=t.title,o=t.titleId,i=LEe(t,jEe);return e.createElement("svg",BEe({width:18,height:20,viewBox:"0 0 18 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,DEe||(DEe=e.createElement("path",{d:"M3.39268 19.6004C2.82557 19.6004 2.3412 19.3996 1.93957 18.9979C1.53791 18.5963 1.33709 18.1119 1.33709 17.5448V3.11197H0.199951V1.4063H5.31703V0.400391H12.1398V1.4063H17.2569V3.11197H16.1198V17.5448C16.1198 18.1192 15.9208 18.6054 15.5228 19.0034C15.1248 19.4014 14.6386 19.6004 14.0642 19.6004H3.39268ZM14.4141 3.11197H3.04276V17.5448C3.04276 17.6469 3.07556 17.7307 3.14118 17.7963C3.20679 17.8619 3.29062 17.8947 3.39268 17.8947H14.0642C14.1517 17.8947 14.2319 17.8583 14.3048 17.7854C14.3777 17.7125 14.4141 17.6323 14.4141 17.5448V3.11197ZM5.77629 15.6205H7.48196V5.38624H5.77629V15.6205ZM9.9749 15.6205H11.6806V5.38624H9.9749V15.6205Z",fill:"#B57C2A"})))}var qEe=e.forwardRef(REe),PEe=(__webpack_require__.p,__webpack_require__(99747)),IEe=(0,jd.Z)((function(e){return{root:{maxWidth:"100%",overflow:"hidden",margin:"auto",marginBottom:e.spacing(2),position:"relative"},slideContainer:{display:"flex",flexDirection:"row",flexWrap:"nowrap",overflowX:"auto",scrollBehavior:"smooth","&::-webkit-scrollbar":{display:"none"},justifyContent:"left",margin:"0 auto"},chip:{margin:e.spacing(1),color:"#FFF",fontWeight:"bold"},chipLabel:{display:"flex",alignItems:"center",justifyContent:"space-between",paddingRight:e.spacing(1)},deleteIcon:{cursor:"pointer",position:"relative",right:"-15px"},arrowButton:{position:"absolute",top:"50%",transform:"translateY(-50%)",zIndex:1,backgroundColor:"#fff",border:"none",cursor:"pointer","&:focus":{outline:"none"}},arrowLeft:{left:0},arrowRight:{right:0}}})),WEe=function(t){var r=t.items,o=t.handleDeleteChip,i=IEe(),a=(0,e.useState)(0),s=(0,n.Z)(a,2),l=s[0],c=s[1],u=(0,e.useRef)(null),d=function(e){if(u.current){var t=l+e;u.current.scrollLeft=t,c(t)}},p=r.reduce((function(e,t){return e+(Array.isArray(t)?t.length:1)}),0);return(0,e.useEffect)((function(){u.current&&(u.current.scrollLeft=l)}),[l]),(0,Kl.jsxs)(Cb,{className:i.root,children:[(0,Kl.jsx)("div",{className:i.slideContainer,ref:u,children:r.map((function(e,t){return Array.isArray(e)?e.map((function(e,t){return(0,Kl.jsx)(t6,{label:(0,Kl.jsxs)(kl.Z,{variant:"body1",className:i.chipLabel,children:[e.label,(0,Kl.jsx)(j3.Z,{className:i.deleteIcon,onClick:function(){return o(e.value,["product-category","medical-status","retail-option","clinic-location"])}})]}),className:i.chip},t)})):null!==e.max&&null!==e.min?(0,Kl.jsx)(t6,{label:(0,Kl.jsxs)(kl.Z,{variant:"body1",className:i.chipLabel,children:[e.label," ",e.min," "," - "," ",e.max,(0,Kl.jsx)(j3.Z,{className:i.deleteIcon,onClick:function(){return o(e.id,["unit-price","retail-price"])}})]}),className:i.chip},e.max):null}))}),l>0&&(0,Kl.jsx)(zd.Z,{className:"".concat(i.arrowButton," ").concat(i.arrowLeft),onClick:function(){return d(-250)},children:(0,Kl.jsx)(PEe.Z,{})}),p>5&&l<100*(p-5)&&(0,Kl.jsx)(zd.Z,{className:"".concat(i.arrowButton," ").concat(i.arrowRight),onClick:function(){return d(250)},children:(0,Kl.jsx)(pk.Z,{})})]})},FEe=(0,jd.Z)((function(e){return{formControl:{minWidth:300,width:"100%",margin:0},select:{"& .MuiOutlinedInput-root":{"& fieldset":{borderColor:"#ced4da"},"&:hover fieldset":{borderColor:"#adb5bd"},"&.Mui-focused fieldset":{borderColor:"#495057"}}}}}));function UEe(t){var r=t.selectedColumns,o=t.setSelectedColumns,i=(0,e.useState)([{field:"image",headerName:"Image"},{field:"title",headerName:"Product Name"},{field:"quantity",headerName:"Stock"},{field:"reorderLevel",headerName:"Reorder Level"},{field:"unitPrice",headerName:"Unit Price"},{field:"retailPrice",headerName:"Retail Price"},{field:"productCategories",headerName:"Categories"},{field:"medicalStatus",headerName:"Medical Status"},{field:"tax_type",headerName:"Tax Rate Type"},{field:"tax_rate",headerName:"Tax Rate %"},{field:"productId",headerName:"Product ID"},{field:"sku",headerName:"SKU"},{field:"clinicLocations",headerName:"Clinic Locations"},{field:"suppliers",headerName:"Suppliers"}]),a=(0,n.Z)(i,2),s=a[0],l=(a[1],FEe());return(0,Kl.jsxs)(AJ.Z,{variant:"outlined",className:l.formControl,size:"small",style:{whiteSpace:"normal !important"},children:[(0,Kl.jsx)(rL.Z,{id:"demo-multiple-checkbox-label",style:{whiteSpace:"normal !important"},children:"Select Columns"}),(0,Kl.jsx)(LE.Z,{size:"small",multiple:!0,value:r,style:{whiteSpace:"normal !important"},onChange:function(e){o(e.target.value)},renderValue:function(e){return(0,Kl.jsx)("div",{style:{whiteSpace:"normal",wordBreak:"break-word"},children:e.map((function(e,t){var n=s.find((function(t){return t.field===e.field}));return(0,Kl.jsxs)("span",{children:[n?n.headerName:e," ,"]},t)}))})},children:s.map((function(e){return(0,Kl.jsxs)(xd.Z,{value:e.headerName,children:[(0,Kl.jsx)(kk.Z,{checked:r.indexOf(e.headerName)>-1,color:"primary"}),(0,Kl.jsx)(Hte,{primary:e.headerName})]},e.field)}))})]})}var ZEe=function(e){var t=e.value;return(0,Kl.jsx)("span",{children:t||"N/A"})},HEe=(0,Hu.Z)((function(e){return{root:{"& .MuiDataGrid-cell":{borderLeft:"1px solid #E9E9E9",whiteSpace:"break-spaces",lineHeight:"normal !important",padding:"15px"},"& .MuiDataGrid-cell:focus":{outline:"none"},"& .MuiDataGrid-cell:first-child":{borderLeft:"none"},"& .MuiDataGrid-columnHeader":{borderLeft:"1px solid #E9E9E9"},"& .MuiDataGrid-columnHeader:first-child":{borderLeft:"none"},"& .MuiDataGrid-columnHeaderTitle":{whiteSpace:"nowrap",fontSize:14,fontWeight:700},"&  .MuiDataGrid-columnSeparator":{display:"none"},"& .MuiDataGrid-overlay":{backgroundColor:"#fff",zIndex:1},"& .MuiTablePagination-caption[id]":{[e.breakpoints.up("xs")]:{display:"block"}},"& .MuiTablePagination-input":{[e.breakpoints.up("xs")]:{display:"block"}},"& .lowQuantity":{backgroundColor:"#FFF8E6 !important"},"& .expired":{backgroundColor:"#FEECEB !important"},"& .expiringSoon":{backgroundColor:"#EBF1FF !important"},"& .outOfStock":{backgroundColor:"#FEECEB !important"}}}}))((function(e){return(0,Kl.jsx)(sG._$r,Us({},e))}));function $Ee(t){var o=t.products,i=t.setProducts,a=t.locations,s=t.locationFilter,l=t.setLocationFilter,c=t.page,u=t.setPage,d=t.rowsPerPage,p=t.setRowsPerPage,f=t.totalTableRows,h=t.productType,b=t.filtersOpened,A=t.setFiltersOpen,m=t.setProductCategoryFilter,g=t.productCategoryFilter,v=t.setMedicalStatusFilter,y=t.medicalStatusFilter,M=t.setRetailOptionFilter,O=t.retailOptionFilter,_=t.setUnitPriceFilter,z=t.setRetailPriceFilter,x=t.setClinicLocationFilter,w=t.clinicLocationFilter,C=t.applyFilters,S=t.setApplyFilters,E=t.unitPriceFilter,k=t.retailPriceFilter,D=t.selectedFilters,N=t.setSelectedFilters,T=t.fetchProducts,j=t.sorting,B=t.setSorting,L=t.parentSelectedColumns,R=t.setParentSelectedColumns,q=t.currencySign,P=(0,e.useState)([]),I=(0,n.Z)(P,2),W=(I[0],I[1],(0,e.useState)(null)),F=(0,n.Z)(W,2),U=F[0],Z=F[1],H=(0,e.useState)(null),$=(0,n.Z)(H,2),V=$[0],X=$[1],Q=(0,e.useState)(!1),Y=(0,n.Z)(Q,2),G=Y[0],K=Y[1],J=(0,e.useState)(!1),ee=(0,n.Z)(J,2),te=ee[0],ne=ee[1],re=(0,e.useState)(null),oe=(0,n.Z)(re,2),ie=oe[0],ae=oe[1],se=hE().enqueueSnackbar,le=he(),ce=(0,e.useState)(L),ue=(0,n.Z)(ce,2),de=ue[0],pe=ue[1],fe=function(e){return e?q+e:0},be=[{field:"image",filtrable:!1,sortable:!1,headerName:"Image",width:80,renderCell:function(e){var t=e.value;return(0,Kl.jsx)(Cb,{display:"flex",alignItems:"center",justifyContent:"center",style:{height:50},children:t?(0,Kl.jsx)("img",{src:t,alt:"product logo",style:{width:50,height:50,objectFit:"contain",padding:"5px"}}):(0,Kl.jsx)("span",{style:{fontSize:10},children:"No Image"})})}},{field:"title",filtrable:!1,headerName:"Product Name",width:300,renderCell:function(e){var t=e.value;return(0,Kl.jsx)(ZEe,{value:t})}},{field:"quantity",filtrable:!1,headerName:"Stock",with:100,renderCell:function(e){var t=e.value;return(0,Kl.jsx)(ZEe,{value:t})}},{field:"reorderLevel",filtrable:!1,headerName:"Reorder Level",minWidth:150,renderCell:function(e){var t=e.value;return(0,Kl.jsx)(ZEe,{value:t})}},{field:"unitPrice",filtrable:!1,headerName:"Unit Price",minWidth:150,renderCell:function(e){var t=e.value;return(0,Kl.jsx)(ZEe,{value:fe(t)})}},{field:"retailPrice",filtrable:!1,minWidth:150,headerName:"Retail Price",renderCell:function(e){var t=e.value;return(0,Kl.jsx)(ZEe,{value:fe(t)})}},{field:"productCategories",filtrable:!1,minWidth:250,headerName:"Categories",renderCell:function(e){var t=e.value;return(0,Kl.jsx)(ZEe,{value:t})}},{field:"medicalStatus",filtrable:!1,minWidth:200,headerName:"Medical Status",renderCell:function(e){var t=e.value;return(0,Kl.jsx)(ZEe,{value:"medical"==t?"Medical":"Non Medical"})}},{field:"tax_type",filtrable:!1,headerName:"Tax Rate Type",minWidth:200,renderCell:function(e){var t=e.value;return(0,Kl.jsx)(ZEe,{value:"custom-tax-rate"===t?"Custom Tax Rate":"tax-exempt"===t?"Tax Exempt":"Standard Tax Rate"})}},{field:"tax_rate",filtrable:!1,headerName:"Tax Rate %",minWidth:200,renderCell:function(e){var t=e.value;return(0,Kl.jsx)(ZEe,{value:t})}},{field:"productId",filtrable:!1,headerName:"Product ID",minWidth:200,renderCell:function(e){var t=e.value;return(0,Kl.jsx)(ZEe,{value:t})}},{field:"sku",filtrable:!1,headerName:"SKU",minWidth:100,renderCell:function(e){var t=e.value;return(0,Kl.jsx)(ZEe,{value:t})}},{field:"clinicLocations",filtrable:!1,headerName:"Clinic Locations",minWidth:300,renderCell:function(e){var t=e.value.map((function(e){return e.name+" - "+e.address}));return(0,Kl.jsx)(ZEe,{style:{whiteSpace:"nowrap",lineHeight:"normal"},value:t.join(", ")})}},{field:"suppliers",filtrable:!1,headerName:"Suppliers",minWidth:300,renderCell:function(e){var t=e.value;return(0,Kl.jsx)(ZEe,{value:t})}}],Ae=(0,e.useState)([]),me=(0,n.Z)(Ae,2),ge=me[0],ve=me[1],ye=function(){Z(null),X(null)},Me=function(e){var t=new Date(e);return!!function(e){var t=new Date;return e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}(t)||!!function(e){var t=new Date;return t.setDate(t.getDate()+1),e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}(t)};return(0,e.useEffect)((function(){pe([]),0===ge.length?(pe(be),R(be)):(pe([]),R([]),ge.forEach((function(e){var t=be.find((function(t){return t.headerName===e}));void 0!==t&&(pe((function(e){return[].concat((0,r.Z)(e),[t])})),R((function(e){return[].concat((0,r.Z)(e),[t])})))})))}),[ge]),(0,e.useEffect)((function(){0===de.length&&pe(be),ve(L.map((function(e){return e.headerName})))}),[]),(0,Kl.jsxs)(Cb,{display:"flex",flexDirection:"column",padding:2,height:"100vh",children:[(0,Kl.jsxs)(Cb,{display:"flex",justifyContent:"space-between",flexWrap:"wrap",mb:2,children:[(0,Kl.jsx)(AJ.Z,{variant:"outlined",size:"small",children:(0,Kl.jsxs)(LE.Z,{size:"small",labelId:"clinic-select-label",id:"clinic-select",label:"All Clinics",value:s,defaultValue:"all",onChange:function(e){l(e.target.value)},style:{minWidth:200},children:[(0,Kl.jsx)(xd.Z,{value:"all",children:"All Clinics"}),a.length>0&&a.map((function(e,t){return(0,Kl.jsx)(xd.Z,{value:e.id,children:e.address},t)}))]})}),(0,Kl.jsx)(zd.Z,{size:"small",variant:"outlined",color:"primary",startIcon:(0,Kl.jsx)(G_e,{}),onClick:function(){return A(!b)},children:"Filter"})]}),(g.length>0||y.length>0||O.length>0||w.length>0||null!==k.max||null!==k.min||null!==E.max||null!==E.min)&&(0,Kl.jsx)(Cb,{mb:2,children:(0,Kl.jsx)(WEe,{items:[g,y,O,w,E,k],handleDeleteChip:function(e,t){if(t.includes("product-category")){var n=g.filter((function(t){return t.value!==e}));m(n),S(!C)}if(t.includes("medical-status")){var r=y.filter((function(t){return t.value!==e}));v(r),S(!C)}if(t.includes("retail-option")){var o=O.filter((function(t){return t.value!==e}));M(o),S(!C)}if(t.includes("clinic-location")){var i=w.filter((function(t){return t.value!==e}));x(i),S(!C)}t.includes("unit-price")&&(_({min:null,max:null}),S(!C))}})}),(0,Kl.jsx)(Cb,{style:{width:"100%",overflowX:"auto",flexGrow:1},children:(0,Kl.jsx)(HEe,{rows:o,columns:[].concat((0,r.Z)(de),[{field:" ",filtrable:!1,sortable:!1,headerName:"Action",width:80,renderCell:function(e){var t=e.row;return(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(wd.Z,{onClick:function(e){return function(e,t){Z(e.currentTarget),X(t)}(e,t)},children:(0,Kl.jsx)(TEe,{})}),(0,Kl.jsxs)(DOe.Z,{anchorEl:U,open:Boolean(U)&&V===t,onClose:ye,children:[(0,Kl.jsxs)(xd.Z,{onClick:function(){return e=null===t||void 0===t?void 0:t.id,void le("/stock/inventory/product/".concat(e));var e},children:[(0,Kl.jsx)(N0,{width:15,height:15,style:{marginRight:10}}),"Edit"]}),(0,Kl.jsxs)(xd.Z,{onClick:function(){var e;e=t.id,Z(null),X(null),ae(e),K(!0)},children:[(0,Kl.jsx)(qEe,{width:15,height:15,style:{marginRight:10}}),"Delete"]})]})]})}}]),disableColumnMenu:!0,checkboxSelection:!0,disableSelectionOnClick:!0,pagination:!0,paginationMode:"server",sortingMode:"server",rowsPerPageOptions:[5,10,20,50,100],getRowClassName:function(e){var t;return e.row.quantity>=1&&e.row.quantity<=5&&1===h||3===h?"lowQuantity":e.row.quantity<1||2===h?"outOfStock":2===h||1===h&&Vs()(null===(t=e.row.expiringItems[0])||void 0===t?void 0:t.expiry_date)<Vs()()?"expired":4===h||1===h&&Me(e.row.expiration_date)?"expiringSoon":""},rowCount:f,page:c-1,onPageSizeChange:function(e){return p(e),void u(1)},labelDisplayedRows:function(e){e.from;var t=e.to,n=e.count;return"".concat(c,"-").concat(t," of ").concat(-1!==n?n:"more than ".concat(t))},pageSize:d||10,onPageChange:function(e){u(e+1)},onSortModelChange:function(e,t){if(e.length>0){var n=e[0],r=n.field;n.sort;B((function(e){return{field:r,direction:e.field===r&&"asc"===j.direction?"desc":"asc"}}))}}})}),b&&(0,Kl.jsx)(oF,{open:b,setOpen:A,selectedValue:"inventory-filters-modal",setProductCategoryFilter:m,productCategoryFilter:g,setMedicalStatusFilter:v,medicalStatusFilter:y,setRetailOptionFilter:M,retailOptionFilter:O,setUnitPriceFilter:_,setRetailPriceFilter:z,setClinicLocationFilter:x,clinicLocationFilter:w,applyFilters:C,setApplyFilters:S,unitPriceFilter:E,selectedFilters:D,setSelectedFilters:N,retailPriceFilter:!0,data:{},fetchProducts:T}),G&&(0,Kl.jsxs)(vC,{maxWidth:"xs",open:G,children:[(0,Kl.jsx)(MC,{children:(0,Kl.jsxs)(Cb,{display:"flex",justifyContent:"space-between",alignItems:"center",borderBottom:"1px solid #E9E9E9",children:[(0,Kl.jsx)(kl.Z,{variant:"h6",children:"Confirmation"}),(0,Kl.jsx)(wd.Z,{onClick:function(){return K(!1)},children:(0,Kl.jsx)(FW,{})})]})}),(0,Kl.jsx)(_E,{children:(0,Kl.jsx)(kl.Z,{children:"Are you sure you want to delete the Product ?"})}),(0,Kl.jsxs)(xE,{style:{display:"flex",justifyContent:"center",padding:"10px 24px"},children:[(0,Kl.jsx)(zd.Z,{variant:"outlined",onClick:function(){K(!1)},color:"primary",children:"CANCEL"}),(0,Kl.jsx)(zd.Z,{variant:"contained",onClick:function(){Re.delete("v1/inventory/".concat(ie)).then((function(e){se("Product removed successfully",{variant:"success"});var t=o.filter((function(e){return e.id!==ie}));i(t),K(!1),ae(null)})).catch((function(e){console.error("Error fetching locations:",e)})),K(!1)},color:"primary",children:"YES, DELETE IT"})]})]}),te&&(0,Kl.jsxs)(vC,{maxWidth:"xl",open:te,children:[(0,Kl.jsx)(MC,{children:(0,Kl.jsxs)(Cb,{display:"flex",justifyContent:"space-between",alignItems:"center",borderBottom:"1px solid #E9E9E9",children:[(0,Kl.jsx)(kl.Z,{variant:"h6",children:"Change Columns"}),(0,Kl.jsx)(wd.Z,{onClick:function(){return ne(!1)},children:(0,Kl.jsx)(FW,{})})]})}),(0,Kl.jsxs)(_E,{style:{width:"450px",height:"300px"},children:[(0,Kl.jsx)(kl.Z,{style:{marginBottom:"25px"},children:"Select Columns to display"}),(0,Kl.jsx)(UEe,{selectedColumns:ge,setSelectedColumns:ve})]}),(0,Kl.jsxs)(xE,{style:{display:"flex",justifyContent:"center",padding:"10px 24px"},children:[(0,Kl.jsx)(zd.Z,{variant:"outlined",onClick:function(){ne(!1)},color:"primary",children:"CANCEL"}),(0,Kl.jsx)(zd.Z,{variant:"contained",onClick:function(){ne(!1)},color:"primary",children:"Update"})]})]})]})}var VEe,XEe=(0,kp.Z)(e.createElement("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),"WarningSharp"),QEe=["title","titleId"];function YEe(){return YEe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},YEe.apply(this,arguments)}function GEe(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function KEe(t,n){var r=t.title,o=t.titleId,i=GEe(t,QEe);return e.createElement("svg",YEe({width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,VEe||(VEe=e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 1C24.2828 1 31 7.71719 31 16C31 24.2828 24.2828 31 16 31C7.71719 31 1 24.2828 1 16C1 7.71719 7.71719 1 16 1ZM14.393 17.2908V9.57045C14.393 8.68539 15.115 7.96345 16 7.96345C16.8851 7.96345 17.607 8.6921 17.607 9.57045V17.2908C17.607 18.1691 16.8851 18.8978 16 18.8978C15.1149 18.8978 14.393 18.1758 14.393 17.2908ZM15.993 20.6213C16.9988 20.6213 17.8145 21.4371 17.8145 22.4427C17.8145 23.4485 16.9988 24.2642 15.993 24.2642C14.9874 24.2642 14.1717 23.4485 14.1717 22.4427C14.1717 21.4371 14.9874 20.6213 15.993 20.6213Z",fill:"#F44336"})))}var JEe=e.forwardRef(KEe),eke=(__webpack_require__.p,$l((function(){var t=(0,e.useState)([]),r=(0,n.Z)(t,2),o=r[0],i=r[1],a=(0,e.useState)([]),s=(0,n.Z)(a,2),l=s[0],c=s[1],u=(0,e.useState)(!0),d=(0,n.Z)(u,2),p=d[0],f=d[1],h=(0,e.useState)(!0),b=(0,n.Z)(h,2),A=b[0],m=b[1],g=(0,e.useState)(!1),v=(0,n.Z)(g,2),y=v[0],M=v[1],O=(0,e.useState)("all"),_=(0,n.Z)(O,2),z=_[0],x=_[1],w=(0,e.useState)(""),C=(0,n.Z)(w,2),S=C[0],E=C[1],k=(0,e.useState)(1),D=(0,n.Z)(k,2),N=D[0],T=D[1],j=(0,e.useState)(1),B=(0,n.Z)(j,2),L=B[0],R=B[1],q=(0,e.useState)(10),P=(0,n.Z)(q,2),I=P[0],W=P[1],F=(0,e.useState)(0),U=(0,n.Z)(F,2),Z=U[0],H=U[1],$=(0,e.useState)(0),V=(0,n.Z)($,2),X=V[0],Q=V[1],Y=(0,e.useState)(0),G=(0,n.Z)(Y,2),K=G[0],J=G[1],ee=(0,e.useState)(0),te=(0,n.Z)(ee,2),ne=te[0],re=te[1],oe=(0,e.useState)(0),ie=(0,n.Z)(oe,2),ae=ie[0],se=ie[1],le=(0,e.useState)({direction:"desc",field:"id"}),ce=(0,n.Z)(le,2),ue=ce[0],de=ce[1],pe=(0,e.useState)(!1),fe=(0,n.Z)(pe,2),he=fe[0],be=fe[1],Ae=(0,e.useState)([]),me=(0,n.Z)(Ae,2),ge=me[0],ve=me[1],ye=(0,e.useState)([]),Me=(0,n.Z)(ye,2),Oe=Me[0],_e=Me[1],ze=(0,e.useState)([]),xe=(0,n.Z)(ze,2),we=xe[0],Ce=xe[1],Se=(0,e.useState)(!1),Ee=(0,n.Z)(Se,2),ke=Ee[0],De=Ee[1],Ne=(0,e.useState)([]),Te=(0,n.Z)(Ne,2),je=Te[0],Be=Te[1],Le=(0,e.useState)([]),qe=(0,n.Z)(Le,2),Pe=qe[0],Ie=qe[1],We=(0,e.useState)({max:null,min:null}),Fe=(0,n.Z)(We,2),Ue=Fe[0],Ze=Fe[1],He=(0,e.useState)({max:null,min:null}),$e=(0,n.Z)(He,2),Ve=$e[0],Xe=$e[1],Qe=(0,e.useState)([]),Ye=(0,n.Z)(Qe,2),Ge=Ye[0],Ke=Ye[1],Je=(0,e.useState)([]),et=(0,n.Z)(Je,2),tt=et[0],nt=et[1],rt=Fc().search,ot=(0,e.useState)(""),it=(0,n.Z)(ot,2),at=it[0],st=it[1],lt=(0,e.useState)(""),ct=(0,n.Z)(lt,2),ut=(ct[0],ct[1]),dt=function(e){e!==N&&(ut(e),f(!0),T(e),R(1))},pt=function(e){if("reset"==e)return R(1),W(10),T(1),ve([]),_e([]),Ce([]),Ze({max:null,min:null}),Xe({max:null,min:null}),Ke([]),nt([]),void be(!1);f(!0),Re.get("/v1/inventory/?location=".concat(z)+"&page=".concat(L)+"&rowsPerPage=".concat(I)+"&productType=".concat(N)+"&search=".concat(S)+"&productCategories=".concat(JSON.stringify(ge))+"&medicalStatus=".concat(JSON.stringify(Oe))+"&retailOptions=".concat(JSON.stringify(we))+"&unitPrice=".concat(JSON.stringify(Ue))+"&retailPrice=".concat(JSON.stringify(Ve))+"&clinicLocations=".concat(JSON.stringify(Ge))+"&sortBy=".concat(ue.field)+"&sortDirection=".concat(ue.direction)).then((function(e){var t;i(e.data.data),H(parseInt(e.data.meta.total)),se(parseInt(e.data.meta.total)),Q(parseInt(e.data.meta.totalOutOfStock)),J(parseInt(e.data.meta.totalLowStock)),re(parseInt(e.data.meta.totalExpiring)),R(parseInt(e.data.meta.page)),W(parseInt(e.data.meta.rowsPerPage)),f(!1);var n=null===(t=e.data.meta)||void 0===t?void 0:t.expiringIds,r=e.data.data.filter((function(e){return n.includes(e.id)})),o=[];switch(r.forEach((function(e,t){e.expiringItems.forEach((function(t,n){var r=Vs()(t.expiry_date,"DD/MM/YYYY HH:mm").clone().subtract(e.expirationWarning,"days"),i=Vs()();r.isBefore(i)&&o.push({id:t.id,title:e.title,lot_number:t.lot_number,expiration_date:t.expiry_date,count:t.count,expired:Vs()(t.expiry_date,"DD/MM/YYYY HH:mm").isBefore(Vs()())})}))})),Be(o),N){case 2:se(e.data.meta.totalOutOfStock);break;case 3:se(e.data.meta.totalLowStock);break;case 4:se(e.data.meta.totalExpiring);break;default:se(e.data.meta.total)}})).catch((function(e){console.error("Error fetching products:",e),f(!1)}))};if((0,e.useEffect)((function(){pt()}),[z,L,I,N,S,he,ue]),(0,e.useEffect)((function(){Re.get("v1/clinic").then((function(e){st(e.data.data.currencySign),c(e.data.data.locations),m(!1)})).catch((function(e){console.error("Error fetching locations:",e),m(!1)}))}),[]),(0,e.useEffect)((function(){var e=(0,rne.debounce)((function(){E(rt.value)}),700);return e(),function(){e.cancel()}}),[rt.value]),p||A)return(0,Kl.jsx)(NE,{});var ft=[{field:"id",headerName:"Sr No",minWidth:120,maxWidth:250},{field:"title",headerName:"Product Name",flex:1,minWidth:160,maxWidth:250},{field:"lot_number",headerName:"Lot Number",flex:1,minWidth:160,maxWidth:250},{field:"expiration_date",headerName:"Expiration Date",flex:1,minWidth:180,maxWidth:250,renderCell:function(e){return(0,Kl.jsxs)(Cb,{display:"flex",alignItems:"center",justifyContent:"space-between",gridGap:4,children:[(0,Kl.jsx)(kl.Z,{style:{color:e.row.expired?"red":"inherit"},children:e.row.expiration_date}),e.row.expired&&(0,Kl.jsx)(XEe,{style:{color:"red",fontSize:"14px"}})]})}},{field:"count",headerName:"Count",flex:1,minWidth:180,maxWidth:250}],ht=(0,Hu.Z)((function(e){return{root:{"& .MuiDataGrid-cell":{borderLeft:"1px solid #E9E9E9"},"& .MuiDataGrid-cell:focus":{outline:"none"},"& .MuiDataGrid-cell:first-child":{borderLeft:"none"},"& .MuiDataGrid-columnHeader":{borderLeft:"1px solid #E9E9E9"},"& .MuiDataGrid-columnHeader:first-child":{borderLeft:"none"},"& .MuiDataGrid-columnHeaderTitle":{whiteSpace:"nowrap",lineHeight:"normal",fontSize:14,fontWeight:700},"& .MuiDataGrid-footerContainer":{display:"none"}}}}))((function(e){return(0,Kl.jsx)(sG._$r,Us({},e))}));return(0,Kl.jsxs)(Cb,{display:"flex",flexDirection:"column",justifyContent:"space-between",margin:5,children:[(0,Kl.jsxs)(Cb,{display:"flex",flexWrap:"wrap",justifyContent:"center",style:{gap:"15px"},children:[(0,Kl.jsx)(Cb,{flex:"1 1 calc(25% - 16px)",minWidth:"200px",textAlign:"center",height:"115px",children:(0,Kl.jsx)(VSe,{title:"All Products",value:Z,color:"#B57C2A",height:"115px",icon:nEe,onClick:function(){return dt($Se["All Products"])},productType:N})}),(0,Kl.jsx)(Cb,{flex:"1 1 calc(25% - 16px)",minWidth:"200px",textAlign:"center",height:"115px",children:(0,Kl.jsx)(VSe,{title:"Out of Stock Products",value:X,color:"#F44336",height:"115px",icon:cEe,onClick:function(){return dt($Se["Out of Stock Products"])},productType:N})}),(0,Kl.jsx)(Cb,{flex:"1 1 calc(25% - 16px)",minWidth:"200px",textAlign:"center",height:"115px",children:(0,Kl.jsx)(VSe,{title:"Low Stock Products",value:K,color:"#FAB401",icon:wEe,onClick:function(){return dt($Se["Low Stock Products"])},productType:N})}),(0,Kl.jsx)(Cb,{flex:"1 1 calc(25% - 16px)",minWidth:"200px",textAlign:"center",maxHeight:"115px",children:(0,Kl.jsx)(VSe,{title:"Products Expiring",value:ne,color:"#3377FF",height:"115px",icon:NEe,productType:N,viewDetails:!0,setViewDetailsOpen:function(e){e&&dt($Se["Products Expiring"]),De(e)}})})]}),(0,Kl.jsx)(Cb,{display:"flex",flexDirection:"column",width:"100%",bgcolor:"#fff",borderRadius:5,marginTop:5,paddingTop:5,style:{paddingTop:"5px"},children:(0,Kl.jsx)($Ee,{products:o,locations:l,locationFilter:z,setLocationFilter:function(e){x(e),R(1)},page:L,setPage:R,rowsPerPage:I,setRowsPerPage:W,totalTableRows:ae,productType:N,setProducts:i,filtersOpened:y,setFiltersOpen:M,setProductCategoryFilter:ve,productCategoryFilter:ge,setMedicalStatusFilter:_e,medicalStatusFilter:Oe,setRetailOptionFilter:Ce,retailOptionFilter:we,setUnitPriceFilter:Ze,setRetailPriceFilter:Xe,setClinicLocationFilter:Ke,clinicLocationFilter:Ge,applyFilters:he,setApplyFilters:be,unitPriceFilter:Ue,retailPriceFilter:Ve,selectedFilters:tt,setSelectedFilters:nt,fetchProducts:pt,sorting:ue,setSorting:de,parentSelectedColumns:Pe,setParentSelectedColumns:Ie,currencySign:at})}),(0,Kl.jsxs)(vC,{open:ke,onClose:function(){return De(!1)},maxWidth:"md",fullWidth:!0,children:[(0,Kl.jsx)(MC,{children:(0,Kl.jsxs)(Cb,{display:"flex",justifyContent:"space-between",alignContent:"center",alignItems:"center",children:[(0,Kl.jsxs)(Cb,{display:"flex",children:[(0,Kl.jsx)(JEe,{}),(0,Kl.jsx)(kl.Z,{variant:"h6",style:{marginLeft:"10px",fontWeight:700},children:"Items expiring in near future"})]}),(0,Kl.jsx)(wd.Z,{onClick:function(){return De(!1)},children:(0,Kl.jsx)(FW,{})})]})}),(0,Kl.jsx)(_E,{children:(0,Kl.jsx)(ht,{autoHeight:!0,rows:je,columns:ft})})]})]})}))),tke=eke,nke=(0,jd.Z)((function(e){return{root:{maxWidth:"100%",overflow:"hidden",margin:"auto",marginBottom:e.spacing(2),position:"relative"},slideContainer:{display:"flex",flexDirection:"row",flexWrap:"nowrap",overflowX:"auto",scrollBehavior:"smooth","&::-webkit-scrollbar":{display:"none"},justifyContent:"left",margin:"0 auto"},chip:{margin:e.spacing(1),color:"#FFF",fontWeight:"bold"},chipLabel:{display:"flex",alignItems:"center",justifyContent:"space-between",paddingRight:e.spacing(1)},deleteIcon:{cursor:"pointer",position:"relative",right:"-15px"},arrowButton:{position:"absolute",top:"50%",transform:"translateY(-50%)",zIndex:1,backgroundColor:"#fff",border:"none",cursor:"pointer","&:focus":{outline:"none"}},arrowLeft:{left:0},arrowRight:{right:0},stickyColumn:{position:"sticky",left:0,zIndex:1,backgroundColor:"#fff"}}})),rke=function(t){var r=t.items,o=t.handleDeleteChip,i=nke(),a=(0,e.useState)(0),s=(0,n.Z)(a,2),l=s[0],c=s[1],u=(0,e.useRef)(null),d=function(e){if(u.current){var t=l+e;u.current.scrollLeft=t,c(t)}},p=r.reduce((function(e,t){return e+(Array.isArray(t)?t.length:1)}),0);return(0,e.useEffect)((function(){u.current&&(u.current.scrollLeft=l)}),[l]),(0,Kl.jsxs)(Cb,{className:i.root,children:[(0,Kl.jsx)("div",{className:i.slideContainer,ref:u,children:r.map((function(e,t){return Array.isArray(e)?e.map((function(e,t){return(0,Kl.jsx)(t6,{label:(0,Kl.jsxs)(kl.Z,{variant:"body1",className:i.chipLabel,children:[e.label,(0,Kl.jsx)(j3.Z,{className:i.deleteIcon,onClick:function(){return o(e.value,["product-category","medical-status","retail-option","clinic-location"])}})]}),className:i.chip},t)})):null!==e.max&&null!==e.min?(0,Kl.jsx)(t6,{label:(0,Kl.jsxs)(kl.Z,{variant:"body1",className:i.chipLabel,children:[e.label," ",e.min," "," - "," ",e.max,(0,Kl.jsx)(j3.Z,{className:i.deleteIcon,onClick:function(){return o(e.id,["unit-price","retail-price"])}})]}),className:i.chip},e.max):null}))}),l>0&&(0,Kl.jsx)(zd.Z,{className:"".concat(i.arrowButton," ").concat(i.arrowLeft),onClick:function(){return d(-250)},children:(0,Kl.jsx)(PEe.Z,{})}),p>5&&l<100*(p-5)&&(0,Kl.jsx)(zd.Z,{className:"".concat(i.arrowButton," ").concat(i.arrowRight),onClick:function(){return d(250)},children:(0,Kl.jsx)(pk.Z,{})})]})},oke=function(e){var t=e.value;return(0,Kl.jsx)("span",{children:t||"N/A"})},ike=(0,Hu.Z)((function(e){return{root:{"& .MuiDataGrid-cell":{borderLeft:"1px solid #E9E9E9",whiteSpace:"break-spaces",lineHeight:"normal !important",padding:"15px"},"& .MuiDataGrid-cell:focus":{outline:"none"},"& .MuiDataGrid-cell:first-child":{borderLeft:"none"},"& .MuiDataGrid-columnHeader":{borderLeft:"1px solid #E9E9E9"},"& .MuiDataGrid-columnHeader:first-child":{borderLeft:"none"},"& .MuiDataGrid-columnHeaderTitle":{whiteSpace:"nowrap",fontSize:14,fontWeight:700},"&  .MuiDataGrid-columnSeparator":{display:"none"},"& .MuiDataGrid-overlay":{backgroundColor:"#fff",zIndex:1},"& .MuiTablePagination-caption[id]":{[e.breakpoints.up("xs")]:{display:"block"}},"& .MuiTablePagination-input":{[e.breakpoints.up("xs")]:{display:"block"}},"& .lowQuantity":{backgroundColor:"#FFF8E6 !important"},"& .expired":{backgroundColor:"#FEECEB !important"},"& .expiringSoon":{backgroundColor:"#EBF1FF !important"}}}}))((function(e){return(0,Kl.jsx)(sG._$r,Us({},e))}));function ake(t){var r=t.products,o=t.setProducts,i=(t.locations,t.locationFilter,t.setLocationFilter,t.page),a=t.setPage,s=t.rowsPerPage,l=t.setRowsPerPage,c=t.totalTableRows,u=t.productType,d=t.filtersOpened,p=t.setFiltersOpen,f=t.setProductCategoryFilter,h=t.productCategoryFilter,b=t.setMedicalStatusFilter,A=t.medicalStatusFilter,m=t.setRetailOptionFilter,g=t.retailOptionFilter,v=t.setUnitPriceFilter,y=t.setRetailPriceFilter,M=t.setClinicLocationFilter,O=t.clinicLocationFilter,_=t.applyFilters,z=t.setApplyFilters,x=t.unitPriceFilter,w=t.retailPriceFilter,C=t.selectedFilters,S=t.setSelectedFilters,E=t.fetchProducts,k=t.sorting,D=t.setSorting,N=t.currencySign,T=(0,e.useState)([]),j=(0,n.Z)(T,2),B=(j[0],j[1],(0,e.useState)(null)),L=(0,n.Z)(B,2),R=L[0],q=L[1],P=(0,e.useState)(null),I=(0,n.Z)(P,2),W=I[0],F=I[1],U=(0,e.useState)(!1),Z=(0,n.Z)(U,2),H=Z[0],$=Z[1],V=(0,e.useState)(null),X=(0,n.Z)(V,2),Q=X[0],Y=X[1],G=hE().enqueueSnackbar,K=he(),J=function(e){return e?N+e:0},ee=[{field:"image",filtrable:!1,sortable:!1,headerName:"Image",width:80,renderCell:function(e){var t=e.value;return(0,Kl.jsx)(Cb,{display:"flex",alignItems:"center",justifyContent:"center",style:{height:50},children:t?(0,Kl.jsx)("img",{src:t,alt:"product logo",style:{width:50,height:50,objectFit:"contain"}}):(0,Kl.jsx)("span",{style:{fontSize:10},children:"No Image"})})}},{field:"title",filtrable:!1,headerName:"Product Name",flex:3,minWidth:200,maxWidth:350,renderCell:function(e){var t=e.value;return(0,Kl.jsx)(oke,{value:t})}},{field:"productCategories",filtrable:!1,flex:3,minWidth:200,maxWidth:350,headerName:"Categories",renderCell:function(e){var t=e.value;return(0,Kl.jsx)(oke,{value:t})}},{field:"unitPrice",filtrable:!1,headerName:"Unit Price",flex:2,minWidth:130,maxWidth:160,renderCell:function(e){var t=e.value;return(0,Kl.jsx)(oke,{value:J(t)})}},{field:"retailPrice",filtrable:!1,flex:2,minWidth:130,maxWidth:160,headerName:"Retail Price",renderCell:function(e){var t=e.value;return(0,Kl.jsx)(oke,{value:J(t)})}},{field:"quantity",filtrable:!1,headerName:"Stock",flex:2,minWidth:130,maxWidth:160,renderCell:function(e){var t=e.value;return(0,Kl.jsx)(oke,{value:t})}},{field:" ",filtrable:!1,sortable:!1,width:80,headerName:"Action",cellClassName:"sticky-column",renderCell:function(e){var t=e.row;return(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(wd.Z,{onClick:function(e){return te(e,t)},children:(0,Kl.jsx)(TEe,{})}),(0,Kl.jsxs)(DOe.Z,{anchorEl:R,open:Boolean(R)&&W===t,onClose:ne,children:[(0,Kl.jsxs)(xd.Z,{onClick:function(){return oe(null===t||void 0===t?void 0:t.id)},children:[(0,Kl.jsx)(N0,{width:15,height:15,style:{marginRight:10}}),"Edit"]}),(0,Kl.jsxs)(xd.Z,{onClick:function(){re(t.id)},children:[(0,Kl.jsx)(qEe,{width:15,height:15,style:{marginRight:10}}),"Delete"]})]})]})}}],te=function(e,t){q(e.currentTarget),F(t)},ne=function(){q(null),F(null)},re=function(e){q(null),F(null),Y(e),$(!0)},oe=function(e){K("/stock/inventory/product/".concat(e))},ie=function(e){var t=new Date(e);return!!function(e){var t=new Date;return e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}(t)||!!function(e){var t=new Date;return t.setDate(t.getDate()+1),e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}(t)};return(0,Kl.jsxs)(Cb,{display:"flex",flexDirection:"column",padding:2,height:"100vh",children:[(0,Kl.jsxs)(Cb,{display:"flex",justifyContent:"space-between",flexWrap:"wrap",mb:2,children:[(0,Kl.jsx)(AJ.Z,{variant:"outlined",size:"small"}),(0,Kl.jsx)(zd.Z,{size:"small",variant:"outlined",color:"primary",startIcon:(0,Kl.jsx)(G_e,{}),onClick:function(){return p(!d)},children:"Filter"})]}),(h.length>0||A.length>0||g.length>0||O.length>0||null!==w.max||null!==w.min||null!==x.max||null!==x.min)&&(0,Kl.jsx)(Cb,{mb:2,children:(0,Kl.jsx)(rke,{items:[h,A,g,O,x,w],handleDeleteChip:function(e,t){if(t.includes("product-category")){var n=h.filter((function(t){return t.value!==e}));f(n),z(!_)}if(t.includes("medical-status")){var r=A.filter((function(t){return t.value!==e}));b(r),z(!_)}if(t.includes("retail-option")){var o=g.filter((function(t){return t.value!==e}));m(o),z(!_)}if(t.includes("clinic-location")){var i=O.filter((function(t){return t.value!==e}));M(i),z(!_)}t.includes("unit-price")&&(v({min:null,max:null}),z(!_))}})}),(0,Kl.jsx)(Cb,{style:{width:"100%",overflowX:"auto",flexGrow:1},children:(0,Kl.jsx)(ike,{rows:r,columns:ee,disableColumnMenu:!0,checkboxSelection:!0,disableSelectionOnClick:!0,pagination:!0,paginationMode:"server",sortingMode:"server",rowsPerPageOptions:[5,10,20,50,100],getRowClassName:function(e){return e.row.quantity<=5&&1===u||3===u?"lowQuantity":2===u||1===u&&Vs()(e.row.expiration_date)<Vs()()?"expired":4===u||1===u&&ie(e.row.expiration_date)?"expiringSoon":""},rowCount:c,page:i-1,onPageSizeChange:function(e){return l(e),void a(1)},labelDisplayedRows:function(e){e.from;var t=e.to,n=e.count;return"".concat(i,"-").concat(t," of ").concat(-1!==n?n:"more than ".concat(t))},pageSize:s||10,onPageChange:function(e){a(e+1)},onSortModelChange:function(e,t){if(e.length>0){var n=e[0],r=n.field;n.sort;D((function(e){return{field:r,direction:e.field===r&&"asc"===k.direction?"desc":"asc"}}))}}})}),d&&(0,Kl.jsx)(oF,{open:d,setOpen:p,selectedValue:"inventory-filters-modal",setProductCategoryFilter:f,productCategoryFilter:h,setMedicalStatusFilter:b,medicalStatusFilter:A,setRetailOptionFilter:m,retailOptionFilter:g,setUnitPriceFilter:v,setRetailPriceFilter:y,setClinicLocationFilter:M,clinicLocationFilter:O,applyFilters:_,setApplyFilters:z,unitPriceFilter:x,selectedFilters:C,setSelectedFilters:S,retailPriceFilter:!0,data:{},fetchProducts:E}),H&&(0,Kl.jsxs)(vC,{maxWidth:"xs",open:H,children:[(0,Kl.jsx)(MC,{children:(0,Kl.jsxs)(Cb,{display:"flex",justifyContent:"space-between",alignItems:"center",borderBottom:"1px solid #E9E9E9",children:[(0,Kl.jsx)(kl.Z,{variant:"h6",children:"Confirmation"}),(0,Kl.jsx)(wd.Z,{onClick:function(){return $(!1)},children:(0,Kl.jsx)(FW,{})})]})}),(0,Kl.jsx)(_E,{children:(0,Kl.jsx)(kl.Z,{children:"Are you sure you want to delete the Product ?"})}),(0,Kl.jsxs)(xE,{style:{display:"flex",justifyContent:"center",padding:"10px 24px"},children:[(0,Kl.jsx)(zd.Z,{variant:"outlined",onClick:function(){$(!1)},color:"primary",children:"CANCEL"}),(0,Kl.jsx)(zd.Z,{variant:"contained",onClick:function(){Re.delete("v1/inventory/".concat(Q)).then((function(e){G("Product removed successfully",{variant:"success"});var t=r.filter((function(e){return e.id!==Q}));o(t),$(!1),Y(null),E()})).catch((function(e){console.error("Error fetching locations:",e)})),$(!1)},color:"primary",children:"YES, DELETE IT"})]})]})]})}var ske=$l((function(){var t=(0,e.useState)([]),r=(0,n.Z)(t,2),o=r[0],i=r[1],a=(0,e.useState)([]),s=(0,n.Z)(a,2),l=s[0],c=s[1],u=(0,e.useState)(!0),d=(0,n.Z)(u,2),p=d[0],f=d[1],h=(0,e.useState)(!0),b=(0,n.Z)(h,2),A=b[0],m=b[1],g=(0,e.useState)(!1),v=(0,n.Z)(g,2),y=v[0],M=v[1],O=(0,e.useState)("all"),_=(0,n.Z)(O,2),z=_[0],x=_[1],w=(0,e.useState)(""),C=(0,n.Z)(w,2),S=C[0],E=C[1],k=(0,e.useState)(1),D=(0,n.Z)(k,2),N=D[0],T=D[1],j=(0,e.useState)(1),B=(0,n.Z)(j,2),L=B[0],R=B[1],q=(0,e.useState)(10),P=(0,n.Z)(q,2),I=P[0],W=P[1],F=(0,e.useState)(0),U=(0,n.Z)(F,2),Z=U[0],H=U[1],$=(0,e.useState)({direction:"desc",field:"id"}),V=(0,n.Z)($,2),X=V[0],Q=V[1],Y=(0,e.useState)(!1),G=(0,n.Z)(Y,2),K=G[0],J=G[1],ee=(0,e.useState)([]),te=(0,n.Z)(ee,2),ne=te[0],re=te[1],oe=(0,e.useState)([]),ie=(0,n.Z)(oe,2),ae=ie[0],se=ie[1],le=(0,e.useState)([]),ce=(0,n.Z)(le,2),ue=ce[0],de=ce[1],pe=(0,e.useState)(!1),fe=(0,n.Z)(pe,2),he=fe[0],be=fe[1],Ae=(0,e.useState)([]),me=(0,n.Z)(Ae,2),ge=me[0],ve=(me[1],(0,e.useState)({max:null,min:null})),ye=(0,n.Z)(ve,2),Me=ye[0],Oe=ye[1],_e=(0,e.useState)({max:null,min:null}),ze=(0,n.Z)(_e,2),xe=ze[0],we=ze[1],Ce=(0,e.useState)([]),Se=(0,n.Z)(Ce,2),Ee=Se[0],ke=Se[1],De=(0,e.useState)([]),Ne=(0,n.Z)(De,2),Te=Ne[0],je=Ne[1],Be=Fc().search,Le=(0,e.useState)(""),qe=(0,n.Z)(Le,2),Pe=qe[0],Ie=qe[1],We=function(e){if("reset"==e)return R(1),W(10),T(1),re([]),se([]),de([]),Oe({max:null,min:null}),we({max:null,min:null}),ke([]),je([]),void J(!1);f(!0),Re.get("/v1/inventory/retail_products/?location=".concat(z)+"&page=".concat(L)+"&rowsPerPage=".concat(I)+"&productType=".concat(N)+"&search=".concat(S)+"&productCategories=".concat(JSON.stringify(ne))+"&medicalStatus=".concat(JSON.stringify(ae))+"&retailOptions=".concat(JSON.stringify(ue))+"&unitPrice=".concat(JSON.stringify(Me))+"&retailPrice=".concat(JSON.stringify(xe))+"&clinicLocations=".concat(JSON.stringify(Ee))+"&sortBy=".concat(X.field)+"&sortDirection=".concat(X.direction)).then((function(e){i(e.data.data),H(parseInt(e.data.meta.total)),R(parseInt(e.data.meta.page)),W(parseInt(e.data.meta.rowsPerPage)),f(!1)})).catch((function(e){console.error("Error fetching products:",e),f(!1)}))};if((0,e.useEffect)((function(){We()}),[z,L,I,N,S,K,X]),(0,e.useEffect)((function(){Re.get("v1/clinic").then((function(e){c(e.data.data.locations),Ie(e.data.data.currencySign),m(!1)})).catch((function(e){console.error("Error fetching locations:",e),m(!1)}))}),[]),(0,e.useEffect)((function(){var e=(0,rne.debounce)((function(){E(Be.value)}),700);return e(),function(){e.cancel()}}),[Be.value]),p||A)return(0,Kl.jsx)(NE,{});var Fe=[{field:"id",headerName:"Sr No",width:120},{field:"title",headerName:"Product Name",flex:1,minWidth:200,maxWidth:400},{field:"lot_number",headerName:"Lot Number",flex:1,minWidth:100,maxWidth:200},{field:"expiration_date",headerName:"Expiration Date",flex:1,minWidth:100,maxWidth:200,renderCell:function(e){return(0,Kl.jsxs)(Cb,{display:"flex",alignItems:"center",justifyContent:"space-between",gridGap:4,children:[(0,Kl.jsx)(kl.Z,{style:{color:e.row.expired?"red":"inherit"},children:e.row.expiration_date}),e.row.expired&&(0,Kl.jsx)(XEe,{style:{color:"red",fontSize:"14px"}})]})}},{field:"count",headerName:"Count",flex:1,minWidth:150,maxWidth:250}],Ue=(0,Hu.Z)((function(e){return{root:{"& .MuiDataGrid-cell":{borderLeft:"1px solid #E9E9E9"},"& .MuiDataGrid-cell:focus":{outline:"none"},"& .MuiDataGrid-cell:first-child":{borderLeft:"none"},"& .MuiDataGrid-columnHeader":{borderLeft:"1px solid #E9E9E9"},"& .MuiDataGrid-columnHeader:first-child":{borderLeft:"none"},"& .MuiDataGrid-columnHeaderTitle":{whiteSpace:"nowrap",lineHeight:"normal",fontSize:14,fontWeight:700},"& .MuiDataGrid-footerContainer":{display:"none"}}}}))((function(e){return(0,Kl.jsx)(sG._$r,Us({},e))}));return(0,Kl.jsxs)(Cb,{display:"flex",flexDirection:"column",justifyContent:"space-between",margin:5,children:[(0,Kl.jsx)(Cb,{display:"flex",flexDirection:"column",width:"100%",bgcolor:"#fff",borderRadius:5,marginTop:0,paddingTop:5,style:{paddingTop:"5px"},children:(0,Kl.jsx)(ake,{products:o,locations:l,locationFilter:z,setLocationFilter:function(e){x(e),R(1)},page:L,setPage:R,rowsPerPage:I,setRowsPerPage:W,totalTableRows:Z,productType:N,setProducts:i,filtersOpened:y,setFiltersOpen:M,setProductCategoryFilter:re,productCategoryFilter:ne,setMedicalStatusFilter:se,medicalStatusFilter:ae,setRetailOptionFilter:de,retailOptionFilter:ue,setUnitPriceFilter:Oe,setRetailPriceFilter:we,setClinicLocationFilter:ke,clinicLocationFilter:Ee,applyFilters:K,setApplyFilters:J,unitPriceFilter:Me,retailPriceFilter:xe,selectedFilters:Te,setSelectedFilters:je,fetchProducts:We,sorting:X,setSorting:Q,currencySign:Pe})}),(0,Kl.jsxs)(vC,{open:he,onClose:function(){return be(!1)},maxWidth:"md",fullWidth:!0,children:[(0,Kl.jsx)(MC,{children:(0,Kl.jsxs)(Cb,{display:"flex",justifyContent:"space-between",alignContent:"center",alignItems:"center",children:[(0,Kl.jsxs)(Cb,{display:"flex",children:[(0,Kl.jsx)(JEe,{}),(0,Kl.jsx)(kl.Z,{variant:"h6",style:{marginLeft:"10px",fontWeight:700},children:"Items expiring in near future"})]}),(0,Kl.jsx)(wd.Z,{onClick:function(){return be(!1)},children:(0,Kl.jsx)(FW,{})})]})}),(0,Kl.jsx)(_E,{children:(0,Kl.jsx)(Ue,{autoHeight:!0,rows:ge,columns:Fe})})]})]})})),lke=ske,cke=function(e){var t=e.value;return(0,Kl.jsx)("span",{children:t||"N/A"})},uke=(0,Hu.Z)((function(e){return{root:{"& .MuiDataGrid-cell":{borderLeft:"1px solid #E9E9E9",whiteSpace:"break-spaces",lineHeight:"normal !important",padding:"15px"},"& .MuiDataGrid-cell:focus":{outline:"none"},"& .MuiDataGrid-cell:first-child":{borderLeft:"none"},"& .MuiDataGrid-columnHeader":{borderLeft:"1px solid #E9E9E9"},"& .MuiDataGrid-columnHeader:first-child":{borderLeft:"none"},"& .MuiDataGrid-columnHeaderTitle":{whiteSpace:"nowrap",fontSize:14,fontWeight:700},"&  .MuiDataGrid-columnSeparator":{display:"none"},"& .MuiDataGrid-overlay":{backgroundColor:"#fff",zIndex:1},"& .MuiTablePagination-caption[id]":{[e.breakpoints.up("xs")]:{display:"block"}},"& .MuiTablePagination-input":{[e.breakpoints.up("xs")]:{display:"block"}},"& .lowQuantity":{backgroundColor:"#FFF8E6 !important"},"& .expired":{backgroundColor:"#FEECEB !important"},"& .expiringSoon":{backgroundColor:"#EBF1FF !important"}}}}))((function(e){return(0,Kl.jsx)(sG._$r,Us({},e))}));function dke(t){var r=t.suppliers,o=t.setSuppliers,i=t.page,a=t.setPage,s=t.rowsPerPage,l=t.setRowsPerPage,c=t.totalTableRows,u=t.fetchSuppliers,d=t.setSorting,p=t.sorting,f=(0,e.useState)([]),h=(0,n.Z)(f,2),b=(h[0],h[1],(0,e.useState)(null)),A=(0,n.Z)(b,2),m=A[0],g=A[1],v=(0,e.useState)(null),y=(0,n.Z)(v,2),M=y[0],O=y[1],_=(0,e.useState)(!1),z=(0,n.Z)(_,2),x=z[0],w=z[1],C=(0,e.useState)(null),S=(0,n.Z)(C,2),E=S[0],k=S[1],D=hE().enqueueSnackbar,N=he(),T=[{field:"name",filtrable:!1,headerName:"Supplier Name",flex:2,minWidth:250,maxWidth:300,renderCell:function(e){var t=e.value;return(0,Kl.jsx)(cke,{value:t})}},{field:"phone",filtrable:!1,headerName:"Phone Number",flex:2,minWidth:200,maxWidth:250,renderCell:function(e){var t=e.value;return(0,Kl.jsx)(cke,{value:t})}},{field:"email",filtrable:!1,headerName:"Email",flex:2,minWidth:200,maxWidth:250,renderCell:function(e){var t=e.value;return(0,Kl.jsx)(cke,{value:t})}},{field:"address",filtrable:!1,headerName:"Address",flex:3,minWidth:300,maxWidth:450,renderCell:function(e){var t=e.value;return(0,Kl.jsx)(cke,{value:t})}},{field:"products",filtrable:!1,headerName:"No. Of Associated Products",flex:3,minWidth:200,maxWidth:250,renderCell:function(e){var t=e.value,n=t.length>0?t.length:"No products tied up";return(0,Kl.jsx)(cke,{value:n})}},{field:" ",filtrable:!1,sortable:!1,width:80,headerName:"Action",renderCell:function(e){var t=e.row;return(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(wd.Z,{onClick:function(e){return j(e,t)},children:(0,Kl.jsx)(TEe,{})}),(0,Kl.jsxs)(DOe.Z,{anchorEl:m,open:Boolean(m)&&M===t,onClose:B,children:[(0,Kl.jsxs)(xd.Z,{onClick:function(){return R(null===t||void 0===t?void 0:t.id)},children:[(0,Kl.jsx)(N0,{width:15,height:15,style:{marginRight:10}}),"Edit"]}),(0,Kl.jsxs)(xd.Z,{onClick:function(){L(t.id)},children:[(0,Kl.jsx)(qEe,{width:15,height:15,style:{marginRight:10}}),"Delete"]})]})]})}}],j=function(e,t){g(e.currentTarget),O(t)},B=function(){g(null),O(null)},L=function(e){g(null),O(null),k(e),w(!0)},R=function(e){N("/stock/suppliers/".concat(e))};return(0,Kl.jsxs)(Cb,{display:"flex",flexDirection:"column",padding:2,height:"100vh",children:[(0,Kl.jsx)(Cb,{style:{width:"100%",overflowX:"auto",flexGrow:1},children:(0,Kl.jsx)(uke,{rows:r,columns:T,disableColumnMenu:!0,checkboxSelection:!0,disableSelectionOnClick:!0,pagination:!0,paginationMode:"server",sortingMode:"server",rowsPerPageOptions:[5,10,20,50,100],getRowClassName:function(e){return""},rowCount:c,page:i-1,onPageSizeChange:function(e){return l(e),void a(1)},labelDisplayedRows:function(e){e.from;var t=e.to,n=e.count;return"".concat(i,"-").concat(t," of ").concat(-1!==n?n:"more than ".concat(t))},pageSize:s||10,onPageChange:function(e){a(e+1)},onSortModelChange:function(e,t){if(e.length>0){var n=e[0],r=n.field;n.sort;d((function(e){return{field:r,direction:e.field===r&&"asc"===p.direction?"desc":"asc"}}))}}})}),x&&(0,Kl.jsxs)(vC,{maxWidth:"xs",open:x,children:[(0,Kl.jsx)(MC,{children:(0,Kl.jsxs)(Cb,{display:"flex",justifyContent:"space-between",alignItems:"center",borderBottom:"1px solid #E9E9E9",children:[(0,Kl.jsx)(kl.Z,{variant:"h6",children:"Confirmation"}),(0,Kl.jsx)(wd.Z,{onClick:function(){return w(!1)},children:(0,Kl.jsx)(FW,{})})]})}),(0,Kl.jsx)(_E,{children:(0,Kl.jsx)(kl.Z,{children:"Are you sure you want to delete the Supplier ?"})}),(0,Kl.jsxs)(xE,{style:{display:"flex",justifyContent:"center",padding:"10px 24px"},children:[(0,Kl.jsx)(zd.Z,{variant:"outlined",onClick:function(){w(!1)},color:"primary",children:"CANCEL"}),(0,Kl.jsx)(zd.Z,{variant:"contained",onClick:function(){Re.delete("v1/suppliers/".concat(E)).then((function(e){D("Supplier removed successfully",{variant:"success"});var t=r.filter((function(e){return e.id!==E}));o(t),w(!1),k(null),u()})).catch((function(e){console.error("Error fetching locations:",e)})),w(!1)},color:"primary",children:"YES, DELETE IT"})]})]})]})}var pke=$l((function(){var t=(0,e.useState)([]),r=(0,n.Z)(t,2),o=r[0],i=r[1],a=(0,e.useState)(!0),s=(0,n.Z)(a,2),l=s[0],c=s[1],u=(0,e.useState)(""),d=(0,n.Z)(u,2),p=d[0],f=d[1],h=(0,e.useState)(1),b=(0,n.Z)(h,2),A=b[0],m=b[1],g=(0,e.useState)(10),v=(0,n.Z)(g,2),y=v[0],M=v[1],O=(0,e.useState)(0),_=(0,n.Z)(O,2),z=_[0],x=_[1],w=(0,e.useState)({direction:"desc",field:"id"}),C=(0,n.Z)(w,2),S=C[0],E=C[1],k=(0,e.useState)(!1),D=(0,n.Z)(k,2),N=(D[0],D[1],Fc().search),T=(0,e.useCallback)((function(e){c(!0),Re.get("v1/suppliers?search=".concat(p)+"&sortBy=".concat(S.field)+"&sortDirection=".concat(S.direction)).then((function(e){i(e.data.data),c(!1),x(e.data.data.length)})).catch((function(e){console.error("Error fetching locations:",e),c(!1)}))}),[p,S]);return(0,e.useEffect)((function(){T()}),[T]),(0,e.useEffect)((function(){var e=(0,rne.debounce)((function(){f(N.value)}),700);return e(),function(){e.cancel()}}),[N.value]),l?(0,Kl.jsx)(NE,{}):(0,Kl.jsx)(Cb,{display:"flex",flexDirection:"column",justifyContent:"space-between",margin:5,children:(0,Kl.jsx)(Cb,{display:"flex",flexDirection:"column",width:"100%",bgcolor:"#fff",borderRadius:5,marginTop:0,paddingTop:5,style:{paddingTop:"5px"},children:(0,Kl.jsx)(dke,{suppliers:o,page:A,setPage:m,rowsPerPage:y,setRowsPerPage:M,totalTableRows:z,setSuppliers:i,setSorting:E,fetchSuppliers:T,sorting:S})})})}));function fke(e){var t=e.supplierId;return(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsxs)("ul",{className:"inventory-navigation",children:[(0,Kl.jsx)("li",{children:(0,Kl.jsx)(xu,{to:"/stock/suppliers",children:"Supplier"})}),(0,Kl.jsx)("li",{children:(0,Kl.jsx)(fB.Z,{})}),(0,Kl.jsxs)("li",{children:[t?"Edit":"Add"," Supplier"]})]}),(0,Kl.jsxs)("h4",{children:[t?"Edit":"Add"," Supplier"]})]})}function hke(e){var t=e.handleSubmit,n=e.supplierId,r=e.submitDisabled,o=he();return(0,Kl.jsxs)("div",{className:"inventory-header-buttons",children:[(0,Kl.jsx)(zd.Z,{variant:"outlined",color:"primary",onClick:function(){return o("/stock/suppliers")},children:"Cancel"}),(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",onClick:function(e){return t(e)},disabled:r,children:n?"Update":"Submit"})]})}var bke=(0,kp.Z)(e.createElement("path",{d:"M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"}),"ExpandLess"),Ake=(0,kp.Z)(e.createElement("path",{d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");var mke=__webpack_require__.p+"static/media/checked.dcb07cf2bba65fac5c3fb67fe13e3b64.svg";var gke=__webpack_require__.p+"static/media/empty.0318aaffb1dea515421f0978a5c3f66b.svg";var vke=__webpack_require__.p+"static/media/dash.e79cb202f63fdf6a830ea9846f866447.svg",yke=function(t){var o=t.row,i=t.selectedProducts,a=t.setOnChangeProducts,s=t.checkBoxes,l=t.setCheckedBoxes,c=t.onCategoryChecked,u=(0,e.useState)(i),d=(0,n.Z)(u,2),p=d[0],f=d[1];(0,e.useEffect)((function(){a(p)}),[p,a]);var h=function(){if(o.items.length>0){if(o.items.every((function(e){return i.includes(e.id)})))return mke;if(o.items.some((function(e){return i.includes(e.id)})))return vke}return gke},b=(0,e.useState)([]),A=(0,n.Z)(b,2),m=A[0],g=A[1];return(0,e.useEffect)((function(){var e=[];o.items.map((function(t){e.push(t.id)})),g(e)}),[o.items]),(0,Kl.jsx)(Kl.Fragment,{children:(0,Kl.jsx)(wd.Z,{onClick:function(){f((function(e){var t=i;return h()===mke?(t=t.filter((function(e){return!m.includes(e)})),l(s.filter((function(e){return!m.includes(e)})))):h()!==gke&&h()!==vke||(m.forEach((function(e){t.includes(e)||t.push(e)})),c(o.id),l([].concat((0,r.Z)(s),[o.id]))),t}))},children:(0,Kl.jsx)("img",{src:h(),alt:"icon"})})})},Mke=function(t){var o=t.data,i=t.selectedIds,a=t.setOnSelectedProducts,s=(0,e.useState)([]),l=(0,n.Z)(s,2),c=l[0],u=l[1],d=(0,e.useState)([]),p=(0,n.Z)(d,2),f=p[0],h=p[1],b=(0,e.useState)(i),A=(0,n.Z)(b,2),m=A[0],g=A[1];(0,e.useEffect)((function(){g(i)}),[]),(0,e.useEffect)((function(){a(m)}),[m,a]);var v=(0,e.useState)(!1),y=(0,n.Z)(v,2),M=y[0],O=y[1],_=function(){O(!M),M?(h([]),g([])):o.forEach((function(e){void 0===f.find((function(t){return t===e.id}))&&h((function(t){return[].concat((0,r.Z)(t),[e.id])})),e.items.forEach((function(e){void 0===m.find((function(t){return t===e.id}))&&g((function(t){return[].concat((0,r.Z)(t),[e.id])}))}))}))},z=function(e,t){if(m.find((function(e){return e===t}))?g(m.filter((function(e){return e!==t}))):g([].concat((0,r.Z)(m),[t])),m.find((function(e){return e===t}))){var n=0;o.find((function(t){return t.id===e.id})).items.map((function(e){m.includes(e.id)&&n++}));var i=f;n===o.find((function(t){return t.id===e.id})).items.length?(i.push(e.id),h(i)):(i=i.filter((function(t){return t!==e.id})),h(i))}};return(0,Kl.jsx)("table",{style:{width:"100%",borderCollapse:"collapse",border:"0.2px solid rgb(233, 233, 233)",borderRadius:"4px",marginTop:"25px"},children:(0,Kl.jsxs)("tbody",{children:[(0,Kl.jsxs)("tr",{style:{height:"55px"},children:[(0,Kl.jsx)("td",{style:{width:"55px",border:"0.2px solid rgb(233, 233, 233)",height:"55px"},children:(0,Kl.jsx)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center"},children:(0,Kl.jsx)(kk.Z,{color:"primary",onClick:function(){return _()},checked:function(){var e=0;return o.forEach((function(t){e+=t.items.length})),e===m.length}()})})}),(0,Kl.jsx)("td",{onClick:function(){return _()},style:{cursor:"pointer"},children:(0,Kl.jsx)("div",{style:{fontWeight:"bold"},children:(0,Kl.jsx)("div",{style:{display:"flex",alignItems:"center",paddingLeft:"15px",width:"100%"},children:"Select Products"})})})]}),o.map((function(t){return(0,Kl.jsxs)(e.Fragment,{children:[(0,Kl.jsxs)("tr",{style:{border:"0.2px solid rgb(233, 233, 233)",height:"55px"},children:[(0,Kl.jsx)("td",{style:{width:"55px",border:"0.2px solid rgb(233, 233, 233)",height:"55px"},children:(0,Kl.jsx)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center"},children:(0,Kl.jsx)(yke,{row:t,selectedProducts:m,setOnChangeProducts:g,checkBoxes:f,setCheckedBoxes:h,onCategoryChecked:function(e){g((function(e){return e.filter((function(e){return-1!==t.items.find((function(t){return t.id===e}))}))}))}})})}),(0,Kl.jsx)("td",{onClick:function(){return e=t.id,void(c.find((function(t){return t===e}))?u(c.filter((function(t){return t!==e}))):u([].concat((0,r.Z)(c),[e])));var e},style:{cursor:"pointer"},children:(0,Kl.jsxs)("div",{style:{display:"flex",alignItems:"center",paddingLeft:"15px",width:"100%"},children:[(0,Kl.jsx)("div",{style:{flex:1,color:"#4D4D4D",fontWeight:"500",fontSize:"15px"},children:t.name}),(0,Kl.jsx)("div",{style:{width:"60px"},children:(0,Kl.jsx)(wd.Z,{style:{padding:"0"},children:void 0!==c.find((function(e){return e===t.id}))?(0,Kl.jsx)(bke,{}):(0,Kl.jsx)(Ake,{})})})]})})]},"parent"+t.id),void 0!==c.find((function(e){return e===t.id}))&&t.items.map((function(e){return(0,Kl.jsxs)("tr",{children:[(0,Kl.jsx)("td",{style:{border:"0.2px solid #E9E9E9"}}),(0,Kl.jsxs)("td",{colSpan:"3",onClick:function(){return z(t,e.id)},style:{paddingLeft:"20px",display:"flex",alignItems:"center",border:"0.2px solid #E9E9E9",borderRadius:"4px",background:m.includes(e.id)?"#F8F2EA":"Background",height:"55px"},children:[(0,Kl.jsx)(kk.Z,{color:"primary",onClick:function(){return z(t,e.id)},checked:m.includes(e.id)}),(0,Kl.jsx)("div",{style:{marginLeft:"8px",color:"#6A6A6A",fontWeight:"400",fontSize:"15px"},children:e.name})]})]},"item"+e.id)}))]})}))]})},"table")},Oke=(0,jd.Z)({headerCell:{fontWeight:700,border:"1px solid #BDBDBD"},tableCell:{padding:0,border:"1px solid #E0E0E0"},firstHeaderCell:{borderTopLeftRadius:"10px",borderBottomLeftRadius:"10px"},lastHeaderCell:{borderTopRightRadius:"10px",borderBottomRightRadius:"10px"}});function _ke(){Oke();var t=(0,e.useState)(""),r=(0,n.Z)(t,2),o=r[0],i=r[1],a=(0,e.useState)(""),s=(0,n.Z)(a,2),l=s[0],c=s[1],u=(0,e.useState)(""),d=(0,n.Z)(u,2),p=d[0],f=d[1],h=(0,e.useState)(""),b=(0,n.Z)(h,2),A=b[0],m=b[1],g=(0,e.useState)(!0),v=(0,n.Z)(g,2),y=v[0],M=v[1],O=(0,e.useState)(""),_=(0,n.Z)(O,2),z=_[0],x=_[1],w=hE().enqueueSnackbar,C=he(),S=me(),E=(0,e.useState)(!1),k=(0,n.Z)(E,2),D=k[0],N=k[1],T=(0,e.useState)([]),j=(0,n.Z)(T,2),B=j[0],L=j[1],R=(0,e.useState)(!0),q=(0,n.Z)(R,2),P=q[0],I=q[1],W=(0,e.useMemo)((function(){return[o,A,l,p]}),[o,A,l,p]);(0,e.useEffect)((function(){N(W.some((function(e){return""===e||null===e||void 0===e||0===e.replace(/\s+/g,"").length})))}),[W]);var F=function(e){var t;if(null!==e&&void 0!==e&&null!==(t=e.target)&&void 0!==t&&t.name){var n=null===e||void 0===e?void 0:e.target,r=n.name,o=n.value;switch(r){case"name":i(o);break;case"phone":f(o);break;case"email":c(o);break;case"address":m(o)}}},U=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,r;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.preventDefault(),M(!0),!S.supplierId){e.next=4;break}return e.abrupt("return",Z(t));case 4:return n={name:o,email:l,address:A,phone:p,selected_inventories:V},e.prev=5,"/v1/suppliers",e.next=9,Re.post("/v1/suppliers",JSON.stringify(n),{headers:{"Content-Type":"application/json"}});case 9:200===(r=e.sent).status||201===r.status?(w("Supplier added successfully",{variant:"success"}),setTimeout((function(){C("/stock/suppliers")}),300)):w("Unexpected error: ".concat(r.status),{variant:"error"}),e.next=16;break;case 13:e.prev=13,e.t0=e.catch(5),w("Unexpected error: ".concat(e.t0.message),{variant:"error"});case 16:return e.prev=16,M(!1),e.finish(16);case 19:case"end":return e.stop()}}),e,null,[[5,13,16,19]])})));return function(t){return e.apply(this,arguments)}}(),Z=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,r,i;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),M(!0),n={name:o,email:l,address:A,phone:p,selected_inventories:V},e.prev=3,r="/v1/suppliers/".concat(S.supplierId),e.next=7,Re.put(r,JSON.stringify(n),{headers:{"Content-Type":"application/json"}});case 7:i=e.sent,K(V.filter((function(e){return void 0!==e||null!==e})).length),200===i.status||201===i.status?(w("Supplier ".concat(S.supplierId?"updated":"added"," successfully"),{variant:"success"}),setTimeout((function(){C("/stock/suppliers")}),300)):w("Unexpected error: ".concat(i.status),{variant:"error"}),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(3),w("Unexpected error: ".concat(e.t0.message),{variant:"error"});case 15:return e.prev=15,M(!1),e.finish(15);case 18:case"end":return e.stop()}}),e,null,[[3,12,15,18]])})));return function(t){return e.apply(this,arguments)}}(),H=(0,e.useState)([]),$=(0,n.Z)(H,2),V=$[0],X=$[1],Q=(0,e.useState)(0),Y=(0,n.Z)(Q,2),G=Y[0],K=Y[1],J=(0,e.useState)(!1),ee=(0,n.Z)(J,2),te=ee[0],ne=ee[1];(0,e.useEffect)((function(){K(V.filter((function(e){return void 0!==e||null!==e})).length),I(!0)}),[V]);var re=B.map((function(e){var t=e.items.filter((function(e){return e.name.toLowerCase().includes(z.toLowerCase())}));return e.name.toLowerCase().includes(z.toLowerCase())||t.length>0?Us(Us({},e),{},{items:t}):null})).filter((function(e){return null!==e}));(0,e.useEffect)((function(){M(!0),S.supplierId&&(I(!1),Re.get("v1/suppliers/".concat(S.supplierId)).then((function(e){i(e.data.data.name),m(e.data.data.address),f(e.data.data.phone),c(e.data.data.email);var t=e.data.data.items.map((function(e){return e.id}));X(t),ne(!0),I(!0)})).catch((function(e){console.error("Error fetching locations:",e)}))),Re.get("v1/inventory/categories_with_items").then((function(e){L(e.data.data)})).catch((function(e){console.error("Error fetching locations:",e)})),S.supplierId||ne(!0),M(!1)}),[S.supplierId]);var oe=fe();return(0,e.useEffect)((function(){i(""),m(""),c(""),f(""),X([])}),[oe.pathname]),y?(0,Kl.jsx)(NE,{}):(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsxs)(Cb,{padding:4,children:[(0,Kl.jsxs)(AC,{className:"create-new-product",container:!0,alignItems:"center",children:[(0,Kl.jsx)(AC,{item:!0,md:6,xs:12,style:{textAlign:"left"},children:(0,Kl.jsx)(fke,{supplierId:null===S||void 0===S?void 0:S.supplierId})}),(0,Kl.jsx)(AC,{item:!0,md:6,xs:12,style:{textAlign:"right"},children:(0,Kl.jsx)(hke,{handleSubmit:U,supplierId:null===S||void 0===S?void 0:S.supplierId,submitDisabled:D})})]}),(0,Kl.jsxs)(AC,{className:"create-product-form",container:!0,children:[(0,Kl.jsx)(AC,{item:!0,md:12,xs:12,children:(0,Kl.jsx)("h4",{children:S.supplierId?"Edit Supplier":"Enter Details to Add New Supplier"})}),(0,Kl.jsx)(AC,{item:!0,md:6,xs:12,children:(0,Kl.jsx)("div",{style:{width:"85%",marginBottom:30,marginRight:10},children:(0,Kl.jsx)(Wu.Z,{size:"small",label:"Enter Supplier Name",variant:"outlined",placeholder:"Enter Supplier Name",fullWidth:!0,name:"name",value:o,onChange:F})})}),(0,Kl.jsx)(AC,{item:!0,md:6,xs:12,children:(0,Kl.jsx)("div",{style:{width:"85%",marginBottom:30,marginRight:10},children:(0,Kl.jsx)(Wu.Z,{size:"small",label:"Enter Supplier Email",variant:"outlined",placeholder:"Enter Supplier Email",fullWidth:!0,name:"email",value:l,onChange:F})})}),(0,Kl.jsx)(AC,{item:!0,md:6,xs:12,children:(0,Kl.jsx)("div",{style:{width:"85%",marginBottom:30,marginRight:10},children:(0,Kl.jsx)(Wu.Z,{size:"small",label:"Enter Supplier Phone Number",variant:"outlined",placeholder:"Enter Supplier Phone Number",fullWidth:!0,type:"number",name:"phone",value:p,onChange:F})})}),(0,Kl.jsx)(AC,{item:!0,md:6,xs:12,children:(0,Kl.jsx)("div",{style:{width:"85%",marginBottom:30,marginRight:10},children:(0,Kl.jsx)(Wu.Z,{size:"small",label:"Enter Supplier Address",variant:"outlined",placeholder:"Enter Supplier Address",fullWidth:!0,name:"address",value:A,onChange:F})})})]})]}),(0,Kl.jsx)(Cb,{padding:4,children:(0,Kl.jsxs)(AC,{className:"create-product-form",container:!0,children:[(0,Kl.jsx)(AC,{item:!0,md:6,xs:12,children:(0,Kl.jsx)(zke,{selectedItemsCount:G})}),(0,Kl.jsx)(AC,{item:!0,md:2,xs:12}),(0,Kl.jsx)(AC,{item:!0,md:4,xs:12,children:(0,Kl.jsx)("div",{style:{width:"100%"},children:(0,Kl.jsx)(Yu,{value:z,setValue:x,label:"Search Products",style:{width:"100%"}})})}),(0,Kl.jsx)(AC,{item:!0,md:12,xs:12,children:P&&te&&(0,Kl.jsx)(Mke,{data:re,selectedIds:V,setOnSelectedProducts:X})})]})})]})}function zke(e){var t=e.selectedItemsCount;return(0,Kl.jsxs)("h4",{style:{fontSize:20,fontWeight:"bold",marginBottom:0},children:["Associated Products ",(0,Kl.jsxs)("span",{style:{fontSize:17,fontWeight:"normal"},children:[" ( ",t," ",t>1?"Products":"Product"," Selected )"]})]})}var xke=function(e){var t=e.value;return(0,Kl.jsx)("span",{children:t||"N/A"})},wke=(0,Hu.Z)((function(e){return{root:{"& .MuiDataGrid-cell":{borderLeft:"1px solid #E9E9E9",whiteSpace:"break-spaces",lineHeight:"normal !important",padding:"15px"},"& .MuiDataGrid-cell:focus":{outline:"none"},"& .MuiDataGrid-cell:first-child":{borderLeft:"none"},"& .MuiDataGrid-columnHeader":{borderLeft:"1px solid #E9E9E9"},"& .MuiDataGrid-columnHeader:first-child":{borderLeft:"none"},"& .MuiDataGrid-columnHeaderTitle":{whiteSpace:"nowrap",fontSize:14,fontWeight:700},"&  .MuiDataGrid-columnSeparator":{display:"none"},"& .MuiDataGrid-overlay":{backgroundColor:"#fff",zIndex:1},"& .MuiTablePagination-caption[id]":{[e.breakpoints.up("xs")]:{display:"block"}},"& .MuiTablePagination-input":{[e.breakpoints.up("xs")]:{display:"block"}},"& .lowQuantity":{backgroundColor:"#FFF8E6 !important"},"& .expired":{backgroundColor:"#FEECEB !important"},"& .expiringSoon":{backgroundColor:"#EBF1FF !important"}}}}))((function(e){return(0,Kl.jsx)(sG._$r,Us({},e))}));function Cke(t){var r=t.categories,o=t.setCategories,i=t.page,a=t.setPage,s=t.rowsPerPage,l=t.setRowsPerPage,c=t.totalTableRows,u=t.fetchCategories,d=t.setSorting,p=t.sorting,f=(0,e.useState)([]),h=(0,n.Z)(f,2),b=(h[0],h[1],(0,e.useState)(null)),A=(0,n.Z)(b,2),m=A[0],g=A[1],v=(0,e.useState)(null),y=(0,n.Z)(v,2),M=y[0],O=y[1],_=(0,e.useState)(!1),z=(0,n.Z)(_,2),x=z[0],w=z[1],C=(0,e.useState)(null),S=(0,n.Z)(C,2),E=S[0],k=S[1],D=hE().enqueueSnackbar,N=he(),T=[{field:"title",filtrable:!1,headerName:"Category Name",flex:2,minWidth:300,maxWidth:400,renderCell:function(e){var t=e.value;return(0,Kl.jsx)(xke,{value:t})}},{field:"description",filtrable:!1,headerName:"Description",flex:3,minWidth:600,maxWidth:800,renderCell:function(e){var t=e.value;return(0,Kl.jsx)(xke,{value:t})}},{field:" ",filtrable:!1,sortable:!1,width:80,headerName:"Action",renderCell:function(e){var t=e.row;return(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)(wd.Z,{onClick:function(e){return j(e,t)},children:(0,Kl.jsx)(TEe,{})}),(0,Kl.jsxs)(DOe.Z,{anchorEl:m,open:Boolean(m)&&M===t,onClose:B,children:[(0,Kl.jsxs)(xd.Z,{onClick:function(){return R(null===t||void 0===t?void 0:t.id)},children:[(0,Kl.jsx)(N0,{width:15,height:15,style:{marginRight:10}}),"Edit"]}),(0,Kl.jsxs)(xd.Z,{onClick:function(){L(t.id)},children:[(0,Kl.jsx)(qEe,{width:15,height:15,style:{marginRight:10}}),"Delete"]})]})]})}}],j=function(e,t){g(e.currentTarget),O(t)},B=function(){g(null),O(null)},L=function(e){g(null),O(null),k(e),w(!0)},R=function(e){N("/stock/categories/".concat(e))};return(0,Kl.jsxs)(Cb,{display:"flex",flexDirection:"column",padding:2,height:"100vh",children:[(0,Kl.jsx)(Cb,{display:"flex",justifyContent:"space-between",flexWrap:"wrap",mb:2,children:(0,Kl.jsx)(AJ.Z,{variant:"outlined",size:"small"})}),(0,Kl.jsx)(Cb,{style:{width:"100%",overflowX:"auto",flexGrow:1},children:(0,Kl.jsx)(wke,{onSortModelChange:function(e,t){if(e.length>0){var n=e[0],r=n.field;n.sort;d((function(e){return{field:r,direction:e.field===r&&"asc"===p.direction?"desc":"asc"}}))}},rows:r,columns:T,disableColumnMenu:!0,checkboxSelection:!0,disableSelectionOnClick:!0,pagination:!0,paginationMode:"server",sortingMode:"server",rowsPerPageOptions:[5,10,20,50,100],getRowClassName:function(e){return""},rowCount:c,page:i-1,onPageSizeChange:function(e){return l(e),void a(1)},labelDisplayedRows:function(e){e.from;var t=e.to,n=e.count;return"".concat(i,"-").concat(t," of ").concat(-1!==n?n:"more than ".concat(t))},pageSize:s||10,onPageChange:function(e){a(e+1)}})}),x&&(0,Kl.jsxs)(vC,{maxWidth:"xs",open:x,children:[(0,Kl.jsx)(MC,{children:(0,Kl.jsxs)(Cb,{display:"flex",justifyContent:"space-between",alignItems:"center",borderBottom:"1px solid #E9E9E9",children:[(0,Kl.jsx)(kl.Z,{variant:"h6",children:"Confirmation"}),(0,Kl.jsx)(wd.Z,{onClick:function(){return w(!1)},children:(0,Kl.jsx)(FW,{})})]})}),(0,Kl.jsx)(_E,{children:(0,Kl.jsx)(kl.Z,{children:"Are you sure you want to delete the Category ?"})}),(0,Kl.jsxs)(xE,{style:{display:"flex",justifyContent:"center",padding:"10px 24px"},children:[(0,Kl.jsx)(zd.Z,{variant:"outlined",onClick:function(){w(!1)},color:"primary",children:"CANCEL"}),(0,Kl.jsx)(zd.Z,{variant:"contained",onClick:function(){Re.delete("v1/categories/".concat(E)).then((function(e){D("Category removed successfully",{variant:"success"});var t=r.filter((function(e){return e.id!==E}));o(t),w(!1),k(null),u()})).catch((function(e){console.error("Error fetching locations:",e)})),w(!1)},color:"primary",children:"YES, DELETE IT"})]})]})]})}var Ske=$l((function(){var t=(0,e.useState)([]),r=(0,n.Z)(t,2),o=r[0],i=r[1],a=(0,e.useState)(!0),s=(0,n.Z)(a,2),l=s[0],c=s[1],u=(0,e.useState)(""),d=(0,n.Z)(u,2),p=d[0],f=d[1],h=(0,e.useState)(1),b=(0,n.Z)(h,2),A=b[0],m=b[1],g=(0,e.useState)(10),v=(0,n.Z)(g,2),y=v[0],M=v[1],O=(0,e.useState)(0),_=(0,n.Z)(O,2),z=_[0],x=_[1],w=(0,e.useState)({direction:"desc",field:"id"}),C=(0,n.Z)(w,2),S=C[0],E=C[1],k=(0,e.useState)(!1),D=(0,n.Z)(k,2),N=(D[0],D[1],Fc().search),T=(0,e.useCallback)((function(e){c(!0),Re.get("v1/categories?search=".concat(p)+"&sortBy=".concat(S.field)+"&sortDirection=".concat(S.direction)).then((function(e){i(e.data.data),c(!1),x(e.data.data.length)})).catch((function(e){console.error("Error fetching locations:",e),c(!1)}))}),[p,S]);return(0,e.useEffect)((function(){T()}),[T]),(0,e.useEffect)((function(){}),[]),(0,e.useEffect)((function(){var e=(0,rne.debounce)((function(){f(N.value)}),700);return e(),function(){e.cancel()}}),[N.value]),l?(0,Kl.jsx)(NE,{}):(0,Kl.jsx)(Cb,{display:"flex",flexDirection:"column",justifyContent:"space-between",margin:5,children:(0,Kl.jsx)(Cb,{display:"flex",flexDirection:"column",width:"100%",bgcolor:"#fff",borderRadius:5,marginTop:0,paddingTop:5,style:{paddingTop:"5px"},children:(0,Kl.jsx)(Cke,{categories:o,page:A,setPage:m,rowsPerPage:y,setRowsPerPage:M,totalTableRows:z,setCategories:i,setSorting:E,fetchCategories:T,sorting:S})})})}));function Eke(e){var t=e.handleSubmit,n=e.categoryId,r=e.submitDisabled,o=he();return(0,Kl.jsxs)("div",{className:"inventory-header-buttons",children:[(0,Kl.jsx)(zd.Z,{variant:"outlined",color:"primary",onClick:function(){return o("/stock/categories")},children:"Cancel"}),(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",onClick:function(e){return t(e)},disabled:r,children:n?"Update":"Submit"})]})}function kke(e){var t=e.categoryId;return(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsxs)("ul",{className:"inventory-navigation",children:[(0,Kl.jsx)("li",{children:(0,Kl.jsx)(xu,{to:"/stock/categories",children:"Categories"})}),(0,Kl.jsx)("li",{children:(0,Kl.jsx)(fB.Z,{})}),(0,Kl.jsxs)("li",{children:[t?"Edit":"Add"," Category"]})]}),(0,Kl.jsxs)("h4",{children:[t?"Edit":"Add"," Category"]})]})}var Dke=(0,jd.Z)({headerCell:{fontWeight:700,border:"1px solid #BDBDBD"},tableCell:{padding:0,border:"1px solid #E0E0E0"},firstHeaderCell:{borderTopLeftRadius:"10px",borderBottomLeftRadius:"10px"},lastHeaderCell:{borderTopRightRadius:"10px",borderBottomRightRadius:"10px"}});function Nke(){Dke();var t=(0,e.useState)(""),r=(0,n.Z)(t,2),o=r[0],i=r[1],a=(0,e.useState)(""),s=(0,n.Z)(a,2),l=s[0],c=s[1],u=(0,e.useState)(!1),d=(0,n.Z)(u,2),p=d[0],f=d[1],h=hE().enqueueSnackbar,b=he(),A=me(),m=(0,e.useState)(!1),g=(0,n.Z)(m,2),v=g[0],y=(g[1],function(e){var t;if(null!==e&&void 0!==e&&null!==(t=e.target)&&void 0!==t&&t.name){var n=null===e||void 0===e?void 0:e.target,r=n.name,o=n.value;switch(r){case"title":i(o);break;case"description":c(o)}}}),M=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,r;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.preventDefault(),f(!0),new FormData,!A.categoryId){e.next=5;break}return e.abrupt("return",O(t));case 5:return n={title:o,description:l},e.prev=6,"/v1/categories",e.next=10,Re.post("/v1/categories",JSON.stringify(n),{headers:{"Content-Type":"application/json"}});case 10:200===(r=e.sent).status||201===r.status?(h("Category ".concat(A.categoryId?"updated":"created"," successfully"),{variant:"success"}),setTimeout((function(){b("/stock/categories")}),300)):h("Unexpected error: ".concat(r.status),{variant:"error"}),e.next=17;break;case 14:e.prev=14,e.t0=e.catch(6),h("Unexpected error: ".concat(e.t0.message),{variant:"error"});case 17:return e.prev=17,f(!1),e.finish(17);case 20:case"end":return e.stop()}}),e,null,[[6,14,17,20]])})));return function(t){return e.apply(this,arguments)}}(),O=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,r,i,a,s;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(i in t.preventDefault(),f(!0),n=new FormData,A.categoryId&&n.append("_method","PUT"),r={title:o,description:l})r.hasOwnProperty(i)&&n.append(i,r[i]);return e.prev=6,a="/v1/categories/".concat(A.categoryId),e.next=10,Re.put(a,JSON.stringify(r),{headers:{"Content-Type":"application/json"}});case 10:200===(s=e.sent).status||201===s.status?(h("Category ".concat(A.categoryId?"updated":"created"," successfully"),{variant:"success"}),setTimeout((function(){b("/stock/categories")}),300)):h("Unexpected error: ".concat(s.status),{variant:"error"}),e.next=17;break;case 14:e.prev=14,e.t0=e.catch(6),h("Unexpected error: ".concat(e.t0.message),{variant:"error"});case 17:return e.prev=17,f(!1),e.finish(17);case 20:case"end":return e.stop()}}),e,null,[[6,14,17,20]])})));return function(t){return e.apply(this,arguments)}}();(0,e.useEffect)((function(){f(!0),A.categoryId&&Re.get("v1/categories/".concat(A.categoryId)).then((function(e){i(e.data.data.title),c(e.data.data.description)})).catch((function(e){console.error("Error fetching locations:",e)})),f(!1)}),[]);var _=fe();return(0,e.useEffect)((function(){i(""),c("")}),[_.pathname]),p?(0,Kl.jsx)(NE,{}):(0,Kl.jsx)(Kl.Fragment,{children:(0,Kl.jsxs)(Cb,{padding:4,children:[(0,Kl.jsxs)(AC,{className:"create-new-product",container:!0,alignItems:"center",children:[(0,Kl.jsx)(AC,{item:!0,md:6,xs:12,style:{textAlign:"left"},children:(0,Kl.jsx)(kke,{categoryId:null===A||void 0===A?void 0:A.categoryId})}),(0,Kl.jsx)(AC,{item:!0,md:6,xs:12,style:{textAlign:"right"},children:(0,Kl.jsx)(Eke,{handleSubmit:M,categoryId:null===A||void 0===A?void 0:A.categoryId,submitDisabled:v})})]}),(0,Kl.jsxs)(AC,{className:"create-product-form",container:!0,children:[(0,Kl.jsx)(AC,{item:!0,md:12,xs:12,children:(0,Kl.jsx)("h4",{children:A.categoryId?"Edit Category":"Enter Details to Add New Category"})}),(0,Kl.jsx)(AC,{item:!0,md:6,xs:12,children:(0,Kl.jsx)("div",{style:{width:"85%",marginBottom:30,marginRight:10},children:(0,Kl.jsx)(Wu.Z,{size:"small",label:"Category Name",variant:"outlined",placeholder:"Enter Category Name",fullWidth:!0,name:"title",value:o,onChange:y})})}),(0,Kl.jsx)(AC,{item:!0,md:6,xs:12,children:(0,Kl.jsx)("div",{style:{width:"85%",marginBottom:30,marginRight:10},children:(0,Kl.jsx)(Wu.Z,{size:"small",label:"Category Description",variant:"outlined",placeholder:"Enter Category Description",fullWidth:!0,name:"description",value:l,onChange:y})})})]})]})})}function Tke(e){var t=e.productId;return(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsxs)("ul",{className:"inventory-navigation",children:[(0,Kl.jsx)("li",{children:(0,Kl.jsx)(xu,{to:"/stock/inventory",children:"Inventory"})}),(0,Kl.jsx)("li",{children:(0,Kl.jsx)(fB.Z,{})}),(0,Kl.jsxs)("li",{children:[t?"Edit":"Add"," Inventory Item"]})]}),(0,Kl.jsxs)("h4",{children:[t?"Edit":"Add"," Inventory Item"]})]})}function jke(e){var t=e.handleSubmit,n=e.productId,r=e.submitDisabled,o=he();return(0,Kl.jsxs)("div",{className:"inventory-header-buttons",children:[(0,Kl.jsx)(zd.Z,{variant:"outlined",color:"primary",onClick:function(){return o("/stock/inventory")},children:"Cancel"}),(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",onClick:function(e){return t(e)},disabled:r,children:n?"Update":"Submit"})]})}var Bke=["label","checked"],Lke=(0,jd.Z)((function(e){return{root:{display:"flex",flexDirection:"row"},radio:{display:"none"},label:{border:"1px solid #BABABA",borderRadius:8,padding:"20px 30px",height:45,display:"flex",alignItems:"center",justifyContent:"left",fontWeight:700,fontSize:16,width:"203px",textAlign:"left",position:"relative",cursor:"pointer",marginRight:25,marginBottom:"5px","&.Mui-checked":{borderColor:"#bc8b41",background:"#F8F2EA"}},checkedIcon:{position:"absolute",top:"5px",right:"5px",color:"#bc8b41"}}})),Rke=function(e){var t=e.label,n=e.checked,r=(0,Uu.Z)(e,Bke),o=Lke();return(0,Kl.jsx)(oS.Z,Us({control:(0,Kl.jsx)(rJ,Us({className:o.radio,checked:n},r)),label:(0,Kl.jsxs)("div",{className:"".concat(o.label," ").concat(n?"Mui-checked":""),children:[t,n&&(0,Kl.jsx)(lxe,{className:o.checkedIcon})]})},r))};function qke(e){var t=e.labelOne,n=e.labelTwo,r=e.setInventoryType,o=e.inventoryType,i=Lke();return(0,Kl.jsx)(AJ.Z,{component:"fieldset",children:(0,Kl.jsxs)(H7,{value:o,onChange:function(e){r(e.target.value)},className:i.root,children:[(0,Kl.jsx)(Rke,{value:"single",label:t,checked:"single"===o}),(0,Kl.jsx)(Rke,{value:"expiration",label:n,checked:"expiration"===o})]})})}var Pke,Ike=(0,jd.Z)((function(e){return{formControl:{minWidth:300,width:"100%",margin:0},select:{"& .MuiOutlinedInput-root":{"& fieldset":{borderColor:"#ced4da"},"&:hover fieldset":{borderColor:"#adb5bd"},"&.Mui-focused fieldset":{borderColor:"#495057"}}}}}));function Wke(t){var r=t.clinicLocations,o=t.setClinicLocations,i=(0,e.useState)([]),a=(0,n.Z)(i,2),s=a[0],l=a[1],c=Ike();return(0,e.useEffect)((function(){Re.get("v1/clinic").then((function(e){l(e.data.data.locations)}))}),[]),(0,Kl.jsxs)(AJ.Z,{variant:"outlined",className:c.formControl,size:"small",style:{whiteSpace:"normal !important"},children:[(0,Kl.jsx)(rL.Z,{id:"demo-multiple-checkbox-label",style:{whiteSpace:"normal !important"},children:"Select Clinic Location"}),(0,Kl.jsx)(LE.Z,{size:"small",multiple:!0,value:r,style:{whiteSpace:"normal !important"},onChange:function(e){console.log("Locations",e.target.value),o(e.target.value)},renderValue:function(e){return(0,Kl.jsx)("div",{style:{whiteSpace:"normal",wordBreak:"break-word"},children:e.map((function(t,n){var r=s.find((function(e){return e.id===t}));return(0,Kl.jsxs)("span",{children:[r?r.address:t,n<e.length-1?", ":""]},t)}))})},children:s.map((function(e){return(0,Kl.jsxs)(xd.Z,{value:e.id,children:[(0,Kl.jsx)(kk.Z,{checked:r.indexOf(e.id)>-1,color:"primary"}),(0,Kl.jsx)(Hte,{primary:e.address})]},e.id)}))})]})}var Fke=["title","titleId"];function Uke(){return Uke=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Uke.apply(this,arguments)}function Zke(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Hke(t,n){var r=t.title,o=t.titleId,i=Zke(t,Fke);return e.createElement("svg",Uke({width:18,height:20,viewBox:"0 0 18 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,Pke||(Pke=e.createElement("path",{d:"M3.39268 19.6004C2.82557 19.6004 2.3412 19.3996 1.93957 18.9979C1.53791 18.5963 1.33709 18.1119 1.33709 17.5448V3.11197H0.199951V1.4063H5.31703V0.400391H12.1398V1.4063H17.2569V3.11197H16.1198V17.5448C16.1198 18.1192 15.9208 18.6054 15.5228 19.0034C15.1248 19.4014 14.6386 19.6004 14.0642 19.6004H3.39268ZM14.4141 3.11197H3.04276V17.5448C3.04276 17.6469 3.07556 17.7307 3.14118 17.7963C3.20679 17.8619 3.29062 17.8947 3.39268 17.8947H14.0642C14.1517 17.8947 14.2319 17.8583 14.3048 17.7854C14.3777 17.7125 14.4141 17.6323 14.4141 17.5448V3.11197ZM5.77629 15.6205H7.48196V5.38624H5.77629V15.6205ZM9.9749 15.6205H11.6806V5.38624H9.9749V15.6205Z",fill:"#F44336"})))}var $ke=e.forwardRef(Hke),Vke=(__webpack_require__.p,(0,jd.Z)((function(e){return{root:{display:"flex",flexDirection:"column",alignItems:"center",border:"1px dotted #ccc",padding:"45px 30px",position:"relative"},input:{display:"none"},thumbnail:{maxWidth:"100%",maxHeight:"150px",marginTop:e.spacing(2)},delete:{cursor:"pointer",position:"absolute",right:10,top:10}}}))),Xke=function(t){var r=t.productImage,o=t.setProductImage,i=Vke(),a=(0,e.useState)(""),s=(0,n.Z)(a,2),l=s[0],c=s[1];return(0,Kl.jsxs)("div",{className:i.root,children:[!l&&!r&&(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)("input",{accept:"image/*",className:i.input,id:"contained-button-file",type:"file",onChange:function(e){var t=e.target.files[0];if(t){o(t);var n=new FileReader;n.onload=function(){c(n.result)},n.readAsDataURL(t)}}}),(0,Kl.jsx)("label",{htmlFor:"contained-button-file",children:(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",component:"span",startIcon:(0,Kl.jsx)(kae.Z,{}),children:"Upload Image"})})]}),(l||r)&&(0,Kl.jsxs)("div",{children:[(0,Kl.jsx)("img",{src:l||r,alt:"Uploaded",className:i.thumbnail}),(0,Kl.jsx)($ke,{className:i.delete,onClick:function(){o(null),c("")}})]})]})},Qke=(0,jd.Z)((function(e){return{select:{backgroundColor:"white","& .MuiSelect-select":{backgroundColor:"white"}},menuPaper:{paddingLeft:0,paddingRight:0,marginLeft:0,marginRight:0},menuItem:{height:"40px","&:hover":{backgroundColor:"#F8F2EA",color:"#B57C2A"},"&.Mui-selected":{backgroundColor:"#F8F2EA",color:"#B57C2A"},"&.Mui-selected:hover":{backgroundColor:"#e0e0e0",color:"#B57C2A"}},inputLabelOutlined:{backgroundColor:"#F8F2EA"},chip:{color:"#F8F2EA",fontSize:"14px",fontWeight:"700",backgroundColor:"#B57C2A","& .MuiChip-deleteIcon":{color:"#E9E9E9"}}}})),Yke=(0,xb.Z)(Cb)((function(e){return{display:"flex",alignItems:"center",padding:e.theme.spacing(0),height:"40px"}}));function Gke(t){var o=t.selectedData,i=t.onSelectedDataChange,a=t.parentData,s=t.title,l=t.content,c=t.labelKey,u=(0,e.useState)([]),d=(0,n.Z)(u,2),p=(d[0],d[1],Qke()),f=(0,e.useState)(""),h=(0,n.Z)(f,2),b=h[0],A=h[1],m=(0,e.useState)(a),g=(0,n.Z)(m,2),v=g[0],y=g[1],M=(0,e.useRef)(null);(0,e.useEffect)((function(){var e=b||"";y(a.filter((function(t){return t[c].toLowerCase().includes(e.toLowerCase())})))}),[b,a,c]),(0,e.useEffect)((function(){M.current&&M.current.focus()}),[]);var O=function(e){i((function(t){return t.filter((function(t){return t!==e}))}))};return(0,Kl.jsxs)("div",{children:[(0,Kl.jsxs)(AJ.Z,{variant:"outlined",fullWidth:!0,size:"small",children:[(0,Kl.jsx)(rL.Z,{children:s}),(0,Kl.jsxs)(LE.Z,{multiple:!0,className:p.select,value:o,renderValue:function(e){return(0,Kl.jsxs)("div",{children:[l," ",e.length]})},inputProps:{"aria-label":"Select Suppliers"},MenuProps:{PaperProps:{className:p.menuPaper},anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},getContentAnchorEl:null},style:{height:"44px"},children:[(0,Kl.jsxs)(Yke,{children:[(0,Kl.jsx)(wd.Z,{children:(0,Kl.jsx)(Qu.Z,{})}),(0,Kl.jsx)(Wu.Z,{variant:"standard",placeholder:"Search...",value:b,onKeyDown:function(e){"Enter"===e.key||"ArrowDown"===e.key||"ArrowUp"===e.key?e.preventDefault():"Backspace"===e.key?A((function(e){return e.slice(0,-1)})):(/^[a-zA-Z]$/.test(e.key)||" "===e.key)&&A((function(t){return t+e.key}))},fullWidth:!0,InputProps:{disableUnderline:!0},inputRef:M})]}),v.map((function(e){return(0,Kl.jsxs)(xd.Z,{value:e.id,className:p.menuItem,onClick:o.includes(e.id)?function(){return O(e.id)}:function(){return t=e.id,void i((function(e){return[].concat((0,r.Z)(e),[t])}));var t},children:[(0,Kl.jsx)("div",{style:{width:"20px"}}),e[c]]},e.id)}))]})]}),(0,Kl.jsx)("div",{style:{marginTop:"15px"},children:(0,Kl.jsx)(Cb,{sx:{display:"flex",flexWrap:"wrap",gap:6},children:o.filter((function(e){return""!==e})).map((function(e){var t=a.find((function(t){return t.id===e}));return(0,Kl.jsx)(t6,{label:t[c],onDelete:function(){return O(e)},className:p.chip},e)}))})})]})}function Kke(e){var t=e.retailOption,n=e.setRetailOption;return(0,Kl.jsx)(Kl.Fragment,{children:(0,Kl.jsx)(AJ.Z,{component:"fieldset",children:(0,Kl.jsx)(HW,{children:(0,Kl.jsx)(oS.Z,{control:(0,Kl.jsx)(rS.Z,{color:"primary",checked:t.value,onChange:function(e){n(Us(Us({},t),{},{[e.target.name]:e.target.checked}))},name:"value"}),label:""})})})})}var Jke=__webpack_require__(10516);var eDe=(0,Hu.Z)((function(e){return{thumb:{"&$open":{"& $offset":{transform:"scale(1) translateY(-10px)"}}},open:{},offset:(0,Fu.Z)({zIndex:1},e.typography.body2,{fontSize:e.typography.pxToRem(12),lineHeight:1.2,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),top:-34,transformOrigin:"bottom center",transform:"scale(0)",position:"absolute"}),circle:{display:"flex",alignItems:"center",justifyContent:"center",width:32,height:32,borderRadius:"50% 50% 50% 0",backgroundColor:"currentColor",transform:"rotate(-45deg)"},label:{color:e.palette.primary.contrastText,transform:"rotate(45deg)"}}}),{name:"PrivateValueLabel"})((function(t){var n=t.children,r=t.classes,o=t.className,i=t.open,a=t.value,s=t.valueLabelDisplay;return"off"===s?n:e.cloneElement(n,{className:(0,Zu.Z)(n.props.className,(i||"on"===s)&&r.open,r.thumb)},e.createElement("span",{className:(0,Zu.Z)(r.offset,o)},e.createElement("span",{className:r.circle},e.createElement("span",{className:r.label},a))))}));function tDe(e,t){return e-t}function nDe(e,t,n){return Math.min(Math.max(t,e),n)}function rDe(e,t){var n=e.reduce((function(e,n,r){var o=Math.abs(t-n);return null===e||o<e.distance||o===e.distance?{distance:o,index:r}:e}),null);return n.index}function oDe(e,t){if(void 0!==t.current&&e.changedTouches){for(var n=0;n<e.changedTouches.length;n+=1){var r=e.changedTouches[n];if(r.identifier===t.current)return{x:r.clientX,y:r.clientY}}return!1}return{x:e.clientX,y:e.clientY}}function iDe(e,t,n){return 100*(e-t)/(n-t)}function aDe(e,t,n){var r=Math.round((e-n)/t)*t+n;return Number(r.toFixed(function(e){if(Math.abs(e)<1){var t=e.toExponential().split("e-"),n=t[0].split(".")[1];return(n?n.length:0)+parseInt(t[1],10)}var r=e.toString().split(".")[1];return r?r.length:0}(t)))}function sDe(e){var t=e.values,n=e.source,r=e.newValue,o=e.index;if(t[o]===r)return n;var i=t.slice();return i[o]=r,i}function lDe(e){var t=e.sliderRef,n=e.activeIndex,r=e.setActive;t.current.contains(document.activeElement)&&Number(document.activeElement.getAttribute("data-index"))===n||t.current.querySelector('[role="slider"][data-index="'.concat(n,'"]')).focus(),r&&r(n)}var cDe,uDe={horizontal:{offset:function(e){return{left:"".concat(e,"%")}},leap:function(e){return{width:"".concat(e,"%")}}},"horizontal-reverse":{offset:function(e){return{right:"".concat(e,"%")}},leap:function(e){return{width:"".concat(e,"%")}}},vertical:{offset:function(e){return{bottom:"".concat(e,"%")}},leap:function(e){return{height:"".concat(e,"%")}}}},dDe=function(e){return e},pDe=e.forwardRef((function(t,o){var i=t["aria-label"],a=t["aria-labelledby"],s=t["aria-valuetext"],l=t.classes,c=t.className,u=t.color,d=void 0===u?"primary":u,p=t.component,f=void 0===p?"span":p,h=t.defaultValue,b=t.disabled,A=void 0!==b&&b,m=t.getAriaLabel,g=t.getAriaValueText,v=t.marks,y=void 0!==v&&v,M=t.max,O=void 0===M?100:M,_=t.min,z=void 0===_?0:_,x=t.name,w=t.onChange,C=t.onChangeCommitted,S=t.onMouseDown,E=t.orientation,k=void 0===E?"horizontal":E,D=t.scale,N=void 0===D?dDe:D,T=t.step,j=void 0===T?1:T,B=t.ThumbComponent,L=void 0===B?"span":B,R=t.track,q=void 0===R?"normal":R,P=t.value,I=t.ValueLabelComponent,W=void 0===I?eDe:I,F=t.valueLabelDisplay,U=void 0===F?"off":F,Z=t.valueLabelFormat,H=void 0===Z?dDe:Z,$=(0,Uu.Z)(t,["aria-label","aria-labelledby","aria-valuetext","classes","className","color","component","defaultValue","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","onMouseDown","orientation","scale","step","ThumbComponent","track","value","ValueLabelComponent","valueLabelDisplay","valueLabelFormat"]),V=(0,qd.Z)(),X=e.useRef(),Q=e.useState(-1),Y=Q[0],G=Q[1],K=e.useState(-1),J=K[0],ee=K[1],te=(0,lG.Z)({controlled:P,default:h,name:"Slider"}),ne=(0,n.Z)(te,2),re=ne[0],oe=ne[1],ie=Array.isArray(re),ae=ie?re.slice().sort(tDe):[re];ae=ae.map((function(e){return nDe(e,z,O)}));var se=!0===y&&null!==j?(0,r.Z)(Array(Math.floor((O-z)/j)+1)).map((function(e,t){return{value:z+j*t}})):y||[],le=(0,ak.Z)(),ce=le.isFocusVisible,ue=le.onBlurVisible,de=le.ref,pe=e.useState(-1),fe=pe[0],he=pe[1],be=e.useRef(),Ae=(0,Id.Z)(de,be),me=(0,Id.Z)(o,Ae),ge=(0,Ub.Z)((function(e){var t=Number(e.currentTarget.getAttribute("data-index"));ce(e)&&he(t),ee(t)})),ve=(0,Ub.Z)((function(){-1!==fe&&(he(-1),ue()),ee(-1)})),ye=(0,Ub.Z)((function(e){var t=Number(e.currentTarget.getAttribute("data-index"));ee(t)})),Me=(0,Ub.Z)((function(){ee(-1)})),Oe="rtl"===V.direction,_e=(0,Ub.Z)((function(e){var t,n=Number(e.currentTarget.getAttribute("data-index")),r=ae[n],o=(O-z)/10,i=se.map((function(e){return e.value})),a=i.indexOf(r),s=Oe?"ArrowLeft":"ArrowRight",l=Oe?"ArrowRight":"ArrowLeft";switch(e.key){case"Home":t=z;break;case"End":t=O;break;case"PageUp":j&&(t=r+o);break;case"PageDown":j&&(t=r-o);break;case s:case"ArrowUp":t=j?r+j:i[a+1]||i[i.length-1];break;case l:case"ArrowDown":t=j?r-j:i[a-1]||i[0];break;default:return}if(e.preventDefault(),j&&(t=aDe(t,j,z)),t=nDe(t,z,O),ie){var c=t;t=sDe({values:ae,source:re,newValue:t,index:n}).sort(tDe),lDe({sliderRef:be,activeIndex:t.indexOf(c)})}oe(t),he(n),w&&w(e,t),C&&C(e,t)})),ze=e.useRef(),xe=k;Oe&&"vertical"!==k&&(xe+="-reverse");var we=function(e){var t,n,r=e.finger,o=e.move,i=void 0!==o&&o,a=e.values,s=e.source,l=be.current.getBoundingClientRect(),c=l.width,u=l.height,d=l.bottom,p=l.left;if(t=0===xe.indexOf("vertical")?(d-r.y)/u:(r.x-p)/c,-1!==xe.indexOf("-reverse")&&(t=1-t),n=function(e,t,n){return(n-t)*e+t}(t,z,O),j)n=aDe(n,j,z);else{var f=se.map((function(e){return e.value}));n=f[rDe(f,n)]}n=nDe(n,z,O);var h=0;if(ie){var b=n;h=(n=sDe({values:a,source:s,newValue:n,index:h=i?ze.current:rDe(a,n)}).sort(tDe)).indexOf(b),ze.current=h}return{newValue:n,activeIndex:h}},Ce=(0,Ub.Z)((function(e){var t=oDe(e,X);if(t){var n=we({finger:t,move:!0,values:ae,source:re}),r=n.newValue,o=n.activeIndex;lDe({sliderRef:be,activeIndex:o,setActive:G}),oe(r),w&&w(e,r)}})),Se=(0,Ub.Z)((function(e){var t=oDe(e,X);if(t){var n=we({finger:t,values:ae,source:re}).newValue;G(-1),"touchend"===e.type&&ee(-1),C&&C(e,n),X.current=void 0;var r=(0,Jke.Z)(be.current);r.removeEventListener("mousemove",Ce),r.removeEventListener("mouseup",Se),r.removeEventListener("touchmove",Ce),r.removeEventListener("touchend",Se)}})),Ee=(0,Ub.Z)((function(e){e.preventDefault();var t=e.changedTouches[0];null!=t&&(X.current=t.identifier);var n=oDe(e,X),r=we({finger:n,values:ae,source:re}),o=r.newValue,i=r.activeIndex;lDe({sliderRef:be,activeIndex:i,setActive:G}),oe(o),w&&w(e,o);var a=(0,Jke.Z)(be.current);a.addEventListener("touchmove",Ce),a.addEventListener("touchend",Se)}));e.useEffect((function(){var e=be.current;e.addEventListener("touchstart",Ee);var t=(0,Jke.Z)(e);return function(){e.removeEventListener("touchstart",Ee),t.removeEventListener("mousemove",Ce),t.removeEventListener("mouseup",Se),t.removeEventListener("touchmove",Ce),t.removeEventListener("touchend",Se)}}),[Se,Ce,Ee]);var ke=(0,Ub.Z)((function(e){S&&S(e),e.preventDefault();var t=oDe(e,X),n=we({finger:t,values:ae,source:re}),r=n.newValue,o=n.activeIndex;lDe({sliderRef:be,activeIndex:o,setActive:G}),oe(r),w&&w(e,r);var i=(0,Jke.Z)(be.current);i.addEventListener("mousemove",Ce),i.addEventListener("mouseup",Se)})),De=iDe(ie?ae[0]:z,z,O),Ne=iDe(ae[ae.length-1],z,O)-De,Te=(0,Fu.Z)({},uDe[xe].offset(De),uDe[xe].leap(Ne));return e.createElement(f,(0,Fu.Z)({ref:me,className:(0,Zu.Z)(l.root,l["color".concat((0,Jd.Z)(d))],c,A&&l.disabled,se.length>0&&se.some((function(e){return e.label}))&&l.marked,!1===q&&l.trackFalse,"vertical"===k&&l.vertical,"inverted"===q&&l.trackInverted),onMouseDown:ke},$),e.createElement("span",{className:l.rail}),e.createElement("span",{className:l.track,style:Te}),e.createElement("input",{value:ae.join(","),name:x,type:"hidden"}),se.map((function(t,n){var r,o=iDe(t.value,z,O),i=uDe[xe].offset(o);return r=!1===q?-1!==ae.indexOf(t.value):"normal"===q&&(ie?t.value>=ae[0]&&t.value<=ae[ae.length-1]:t.value<=ae[0])||"inverted"===q&&(ie?t.value<=ae[0]||t.value>=ae[ae.length-1]:t.value>=ae[0]),e.createElement(e.Fragment,{key:t.value},e.createElement("span",{style:i,"data-index":n,className:(0,Zu.Z)(l.mark,r&&l.markActive)}),null!=t.label?e.createElement("span",{"aria-hidden":!0,"data-index":n,style:i,className:(0,Zu.Z)(l.markLabel,r&&l.markLabelActive)},t.label):null)})),ae.map((function(t,n){var r=iDe(t,z,O),o=uDe[xe].offset(r);return e.createElement(W,{key:n,valueLabelFormat:H,valueLabelDisplay:U,className:l.valueLabel,value:"function"===typeof H?H(N(t),n):H,index:n,open:J===n||Y===n||"on"===U,disabled:A},e.createElement(L,{className:(0,Zu.Z)(l.thumb,l["thumbColor".concat((0,Jd.Z)(d))],Y===n&&l.active,A&&l.disabled,fe===n&&l.focusVisible),tabIndex:A?null:0,role:"slider",style:o,"data-index":n,"aria-label":m?m(n):i,"aria-labelledby":a,"aria-orientation":k,"aria-valuemax":N(O),"aria-valuemin":N(z),"aria-valuenow":N(t),"aria-valuetext":g?g(N(t),n):s,onKeyDown:_e,onFocus:ge,onBlur:ve,onMouseOver:ye,onMouseLeave:Me}))})))})),fDe=(0,Hu.Z)((function(e){return{root:{height:2,width:"100%",boxSizing:"content-box",padding:"13px 0",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",color:e.palette.primary.main,WebkitTapHighlightColor:"transparent","&$disabled":{pointerEvents:"none",cursor:"default",color:e.palette.grey[400]},"&$vertical":{width:2,height:"100%",padding:"0 13px"},"@media (pointer: coarse)":{padding:"20px 0","&$vertical":{padding:"0 20px"}},"@media print":{colorAdjust:"exact"}},colorPrimary:{},colorSecondary:{color:e.palette.secondary.main},marked:{marginBottom:20,"&$vertical":{marginBottom:"auto",marginRight:20}},vertical:{},disabled:{},rail:{display:"block",position:"absolute",width:"100%",height:2,borderRadius:1,backgroundColor:"currentColor",opacity:.38,"$vertical &":{height:"100%",width:2}},track:{display:"block",position:"absolute",height:2,borderRadius:1,backgroundColor:"currentColor","$vertical &":{width:2}},trackFalse:{"& $track":{display:"none"}},trackInverted:{"& $track":{backgroundColor:"light"===e.palette.type?(0,Bp.$n)(e.palette.primary.main,.62):(0,Bp._j)(e.palette.primary.main,.5)},"& $rail":{opacity:1}},thumb:{position:"absolute",width:12,height:12,marginLeft:-6,marginTop:-5,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow"],{duration:e.transitions.duration.shortest}),"&::after":{position:"absolute",content:'""',borderRadius:"50%",left:-15,top:-15,right:-15,bottom:-15},"&$focusVisible,&:hover":{boxShadow:"0px 0px 0px 8px ".concat((0,Bp.Fq)(e.palette.primary.main,.16)),"@media (hover: none)":{boxShadow:"none"}},"&$active":{boxShadow:"0px 0px 0px 14px ".concat((0,Bp.Fq)(e.palette.primary.main,.16))},"&$disabled":{width:8,height:8,marginLeft:-4,marginTop:-3,"&:hover":{boxShadow:"none"}},"$vertical &":{marginLeft:-5,marginBottom:-6},"$vertical &$disabled":{marginLeft:-3,marginBottom:-4}},thumbColorPrimary:{},thumbColorSecondary:{"&$focusVisible,&:hover":{boxShadow:"0px 0px 0px 8px ".concat((0,Bp.Fq)(e.palette.secondary.main,.16))},"&$active":{boxShadow:"0px 0px 0px 14px ".concat((0,Bp.Fq)(e.palette.secondary.main,.16))}},active:{},focusVisible:{},valueLabel:{left:"calc(-50% - 4px)"},mark:{position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor"},markActive:{backgroundColor:e.palette.background.paper,opacity:.8},markLabel:(0,Fu.Z)({},e.typography.body2,{color:e.palette.text.secondary,position:"absolute",top:26,transform:"translateX(-50%)",whiteSpace:"nowrap","$vertical &":{top:"auto",left:26,transform:"translateY(50%)"},"@media (pointer: coarse)":{top:40,"$vertical &":{left:31}}}),markLabelActive:{color:e.palette.text.primary}}}),{name:"MuiSlider"})(pDe),hDe=(0,jd.Z)({root:{width:"100%"},input:{width:50,border:"none",backgroundColor:"#E8D6BD",textAlign:"center",padding:10,"&::before":{padding:10,borderBottom:"none"}},reorderLabel:{fontSize:16,fontWeight:700,marginRight:20}});function bDe(e){var t=e.reorderLevel,n=e.setReorderLevel,r=e.subTitle,o=hDe();return(0,Kl.jsxs)("div",{className:o.root,children:[(0,Kl.jsx)(AC,{container:!0,spacing:2,alignItems:"center",children:(0,Kl.jsx)(AC,{item:!0,xs:!0,children:(0,Kl.jsx)(fDe,{value:"number"===typeof t?t:0,onChange:function(e,t){n(t)},"aria-labelledby":"input-slider"})})}),(0,Kl.jsx)(AC,{container:!0,children:(0,Kl.jsxs)(AC,{item:!0,children:[(0,Kl.jsx)("span",{className:o.reorderLabel,children:r}),(0,Kl.jsx)(BE.Z,{className:o.input,value:t,margin:"dense",onChange:function(e){n(""===e.target.value?"":Number(e.target.value))},onBlur:function(){t<0?n(0):t>100&&n(100)},readOnly:!0,inputProps:{step:10,min:0,max:100,"aria-labelledby":"input-slider"}})]})})]})}var ADe=["title","titleId"];function mDe(){return mDe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mDe.apply(this,arguments)}function gDe(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function vDe(t,n){var r=t.title,o=t.titleId,i=gDe(t,ADe);return e.createElement("svg",mDe({width:25,height:24,viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,cDe||(cDe=e.createElement("path",{d:"M11.5 17H13.5V13H17.5V11H13.5V7H11.5V11H7.5V13H11.5V17ZM12.5 22C11.1167 22 9.81667 21.7375 8.6 21.2125C7.38333 20.6875 6.325 19.975 5.425 19.075C4.525 18.175 3.8125 17.1167 3.2875 15.9C2.7625 14.6833 2.5 13.3833 2.5 12C2.5 10.6167 2.7625 9.31667 3.2875 8.1C3.8125 6.88333 4.525 5.825 5.425 4.925C6.325 4.025 7.38333 3.3125 8.6 2.7875C9.81667 2.2625 11.1167 2 12.5 2C13.8833 2 15.1833 2.2625 16.4 2.7875C17.6167 3.3125 18.675 4.025 19.575 4.925C20.475 5.825 21.1875 6.88333 21.7125 8.1C22.2375 9.31667 22.5 10.6167 22.5 12C22.5 13.3833 22.2375 14.6833 21.7125 15.9C21.1875 17.1167 20.475 18.175 19.575 19.075C18.675 19.975 17.6167 20.6875 16.4 21.2125C15.1833 21.7375 13.8833 22 12.5 22ZM12.5 20C14.7333 20 16.625 19.225 18.175 17.675C19.725 16.125 20.5 14.2333 20.5 12C20.5 9.76667 19.725 7.875 18.175 6.325C16.625 4.775 14.7333 4 12.5 4C10.2667 4 8.375 4.775 6.825 6.325C5.275 7.875 4.5 9.76667 4.5 12C4.5 14.2333 5.275 16.125 6.825 17.675C8.375 19.225 10.2667 20 12.5 20Z",fill:"white"})))}var yDe,MDe,ODe=e.forwardRef(vDe),_De=(__webpack_require__.p,["title","titleId"]);function zDe(){return zDe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zDe.apply(this,arguments)}function xDe(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function wDe(t,n){var r=t.title,o=t.titleId,i=xDe(t,_De);return e.createElement("svg",zDe({width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":o},i),r?e.createElement("title",{id:o},r):null,yDe||(yDe=e.createElement("path",{d:"M10 20C8.61667 20 7.31667 19.7375 6.1 19.2125C4.88333 18.6875 3.825 17.975 2.925 17.075C2.025 16.175 1.3125 15.1167 0.7875 13.9C0.2625 12.6833 0 11.3833 0 10C0 8.61667 0.2625 7.31667 0.7875 6.1C1.3125 4.88333 2.025 3.825 2.925 2.925C3.825 2.025 4.88333 1.3125 6.1 0.7875C7.31667 0.2625 8.61667 0 10 0C11.3833 0 12.6833 0.2625 13.9 0.7875C15.1167 1.3125 16.175 2.025 17.075 2.925C17.975 3.825 18.6875 4.88333 19.2125 6.1C19.7375 7.31667 20 8.61667 20 10C20 11.3833 19.7375 12.6833 19.2125 13.9C18.6875 15.1167 17.975 16.175 17.075 17.075C16.175 17.975 15.1167 18.6875 13.9 19.2125C12.6833 19.7375 11.3833 20 10 20ZM10 18C12.2333 18 14.125 17.225 15.675 15.675C17.225 14.125 18 12.2333 18 10C18 7.76667 17.225 5.875 15.675 4.325C14.125 2.775 12.2333 2 10 2C7.76667 2 5.875 2.775 4.325 4.325C2.775 5.875 2 7.76667 2 10C2 12.2333 2.775 14.125 4.325 15.675C5.875 17.225 7.76667 18 10 18Z",fill:"white"})),MDe||(MDe=e.createElement("path",{d:"M10 11H15V9H10H5V11H10Z",fill:"white"})))}var CDe=e.forwardRef(wDe),SDe=(__webpack_require__.p,__webpack_require__(5690)),EDe=(0,jd.Z)({inputField:{width:"100%",backgroundColor:"#f9f9f9","& .MuiFilledInput-root":{borderRadius:0,"&:before, &:after":{display:"none"},"& input":{padding:"10px 12px"}},"& .MuiSvgIcon-root":{color:"#B57C2A"}},tableCell:{padding:0,border:"1px solid #E0E0E0"},iconButton:{padding:5},smallIcon:{fontSize:"1.0rem"}});function kDe(e){var t=e.item,n=e.availableQuantity,r=e.deleteRow,o=e.handleChange,i=EDe(),a=t.lot_number||"",s=t.expiry_date||"",l=n||"",c=t.reserved_quantity||null,u=t.note||"",d=s?Vs()(s,"DD/MM/YYYY HH:mm").toDate():null;return(0,Kl.jsxs)(l5,{children:[(0,Kl.jsx)(c5.Z,{component:"th",scope:"row",className:i.tableCell,style:{textAlign:"center"},children:t.id||1}),(0,Kl.jsx)(c5.Z,{className:i.tableCell,children:(0,Kl.jsx)(Wu.Z,{className:i.inputField,id:"lot-no-".concat(t.id),variant:"filled",value:a,onChange:function(e){return o(e,t.id,"lot_number")}})}),(0,Kl.jsx)(c5.Z,{className:i.tableCell,style:{width:"250px",textAlign:"center"},children:(0,Kl.jsx)(nk(),{selected:d,showTimeSelect:!0,dateFormat:"dd/MM/yyyy HH:mm",onChange:function(e){return function(e,t){var n=e?Vs()(e).format("DD/MM/YYYY HH:mm"):"";o({target:{value:n}},t,"expiry_date")}(e,t.id)},calendarStartDay:1,customInput:(0,Kl.jsx)(Wu.Z,{className:i.inputField,variant:"filled",value:s,InputProps:{endAdornment:(0,Kl.jsx)(Xu,{position:"end",children:(0,Kl.jsx)(wd.Z,{className:i.iconButton,children:(0,Kl.jsx)(SDe.Z,{className:i.smallIcon})})})}})})}),(0,Kl.jsx)(c5.Z,{className:i.tableCell,style:{width:"100px",textAlign:"center"},children:(0,Kl.jsx)(Wu.Z,{className:i.inputField,id:"count-".concat(t.id),variant:"filled",type:"number",value:l,onChange:function(e){return o(e,t.id,"count")}})}),(0,Kl.jsx)(c5.Z,{className:i.tableCell,style:{width:"100px",textAlign:"center"},children:c}),(0,Kl.jsx)(c5.Z,{className:i.tableCell,children:(0,Kl.jsx)(Wu.Z,{disabled:!0,className:i.inputField,id:"note-".concat(t.id),variant:"filled",value:u,onChange:function(e){return o(e,t.id,"note")}})}),(0,Kl.jsx)(c5.Z,{className:i.tableCell,style:{textAlign:"center"},children:(0,Kl.jsx)($ke,{style:{cursor:"pointer"},onClick:function(){return r(t.id)}})})]})}var DDe=(0,jd.Z)((function(e){return{menuItem:{padding:"5px !important","&:hover":{backgroundColor:"#F8F2EA",color:"#B57C2A"},"&.Mui-selected":{backgroundColor:"#F8F2EA",color:"#B57C2A"},"&.Mui-selected:hover":{backgroundColor:"#e0e0e0",color:"#B57C2A"}},inputLabelOutlined:{backgroundColor:"#F8F2EA"}}})),NDe=function(t){var r=t.type,o=t.pourcentage,i=t.setTaxRateType,a=t.setTaxRatePercentage,s=DDe(),l=(0,e.useState)(r||0),c=(0,n.Z)(l,2),u=c[0],d=c[1],p=(0,e.useState)(o||0),f=(0,n.Z)(p,2),h=f[0],b=f[1],A=(0,e.useContext)(bA);return(0,Kl.jsxs)(Cb,{display:"flex",justifyContent:"space-between",style:{marginTop:"20px"},children:[(0,Kl.jsx)(AJ.Z,{variant:"outlined",style:{width:"50%"},children:(0,Kl.jsxs)(Wu.Z,{variant:"outlined",select:!0,fullWidth:!0,value:u,onChange:function(e){var t,n;(d(e.target.value),i(e.target.value),"tax-exempt"===e.target.value&&(b(0),a(0)),"standard-tax-rate"===e.target.value)&&(b(null===A||void 0===A||null===(t=A.clinic)||void 0===t?void 0:t.vat),a(null===A||void 0===A||null===(n=A.clinic)||void 0===n?void 0:n.vat))},label:"Select Tax Type",InputLabelProps:{classes:{outlined:s.inputLabelOutlined}},SelectProps:{MenuProps:{anchorOrigin:{vertical:"bottom",horizontal:"left"},getContentAnchorEl:null}},children:[(0,Kl.jsx)(xd.Z,{value:"standard-tax-rate",className:s.menuItem,children:"Standard Tax Rate"}),(0,Kl.jsx)(xd.Z,{value:"tax-exempt",className:s.menuItem,children:"Tax Exempt"}),(0,Kl.jsx)(xd.Z,{value:"custom-tax-rate",className:s.menuItem,children:"Custom Tax Rate"})]})}),"tax-exempt"!==u&&(0,Kl.jsx)(AJ.Z,{variant:"outlined",fullWidth:!0,style:{width:"50%",marginLeft:"20px"},children:(0,Kl.jsx)(Wu.Z,{type:"number",disabled:"custom-tax-rate"!==u,onChange:function(e){e.target.value>100&&(e.target.value=100),e.target.value<0&&(e.target.value=0),b(e.target.value),a(e.target.value)},value:h,variant:"outlined",fullWidth:!0,label:"Tax Rate",InputProps:{inputProps:{min:0,max:100},endAdornment:(0,Kl.jsx)(Xu,{position:"start",children:"%"})},InputLabelProps:{classes:{outlined:s.inputLabelOutlined}}})})]})},TDe=(0,jd.Z)({headerCell:{fontWeight:700,border:"1px solid #BDBDBD"},tableCell:{padding:0,border:"1px solid #E0E0E0"},firstHeaderCell:{borderTopLeftRadius:"10px",borderBottomLeftRadius:"10px"},lastHeaderCell:{borderTopRightRadius:"10px",borderBottomRightRadius:"10px"}});(0,xb.Z)(Wu.Z)((function(e){var t=e.theme,n=e.error;return{"& .MuiOutlinedInput-root":{"& fieldset":{borderColor:n?"red":t.palette.text.primary},"&:hover fieldset":{borderColor:n?"red":t.palette.primary.main},"&.Mui-focused fieldset":{borderColor:n?"red":t.palette.primary.main}}}}));function jDe(){var t=TDe(),o=(0,e.useState)(""),i=(0,n.Z)(o,2),a=i[0],s=i[1],l=(0,e.useState)(""),c=(0,n.Z)(l,2),u=c[0],d=c[1],p=(0,e.useState)(""),f=(0,n.Z)(p,2),h=f[0],b=f[1],A=(0,e.useState)(""),m=(0,n.Z)(A,2),g=m[0],v=m[1],y=(0,e.useState)(""),M=(0,n.Z)(y,2),O=M[0],_=M[1],z=(0,e.useState)(0),x=(0,n.Z)(z,2),w=x[0],C=x[1],S=(0,e.useState)(0),E=(0,n.Z)(S,2),k=E[0],D=E[1],N=(0,e.useState)(0),T=(0,n.Z)(N,2),j=T[0],B=T[1],L=(0,e.useState)(""),R=(0,n.Z)(L,2),q=R[0],P=R[1],I=(0,e.useState)(0),W=(0,n.Z)(I,2),F=W[0],U=W[1],Z=(0,e.useState)([]),H=(0,n.Z)(Z,2),$=H[0],V=H[1],X=(0,e.useState)([]),Q=(0,n.Z)(X,2),Y=Q[0],G=Q[1],K=(0,e.useState)(null),J=(0,n.Z)(K,2),ee=J[0],te=J[1],ne=(0,e.useState)(!1),re=(0,n.Z)(ne,2),oe=re[0],ie=re[1],ae=(0,e.useState)([]),se=(0,n.Z)(ae,2),le=se[0],ce=se[1],ue=(0,e.useState)([]),de=(0,n.Z)(ue,2),pe=de[0],be=de[1],Ae=(0,e.useState)([]),ge=(0,n.Z)(Ae,2),ve=ge[0],ye=ge[1],Me=(0,e.useState)(!1),Oe=(0,n.Z)(Me,2),_e=Oe[0],ze=Oe[1],xe=(0,e.useState)(null),we=(0,n.Z)(xe,2),Ce=we[0],Se=we[1],Ee=(0,e.useState)({value:!1}),ke=(0,n.Z)(Ee,2),De=ke[0],Ne=ke[1],Te=(0,e.useState)([{serial:1,lot:"",expiry_date:"",count:0,note:""}]),je=(0,n.Z)(Te,2),Be=je[0],Le=je[1],qe=(0,e.useState)(0),Pe=(0,n.Z)(qe,2),Ie=Pe[0],We=Pe[1],Fe=(0,e.useState)("single"),Ue=(0,n.Z)(Fe,2),Ze=Ue[0],He=Ue[1],$e=hE().enqueueSnackbar,Ve=he(),Xe=me(),Qe=(0,e.useState)(!1),Ye=(0,n.Z)(Qe,2),Ge=Ye[0],Ke=Ye[1],Je=(0,e.useState)(!1),et=(0,n.Z)(Je,2),tt=et[0],nt=et[1],rt=[a],ot=(0,e.useState)(!1),it=(0,n.Z)(ot,2),at=it[0],st=it[1],lt=(0,e.useState)(!1),ct=(0,n.Z)(lt,2),ut=ct[0],dt=ct[1],pt=function(e){return!isNaN(e)&&Number(e)>=0};(0,e.useEffect)((function(){Ke(rt.some((function(e){return""===e||null===e||void 0===e||0===e.replace(/\s+/g,"").length})))}),[rt]);var ft=function(e){var t;if(null!==e&&void 0!==e&&null!==(t=e.target)&&void 0!==t&&t.name){var n=null===e||void 0===e?void 0:e.target,r=n.name,o=n.value;switch(r){case"productName":s(o),ze(0===o.replace(/\s+/g,"").length);break;case"unitPrice":d(o);break;case"retailPrice":b(o);break;case"sku":v(o);break;case"productId":_(o);break;case"quantity":C(o)}}},ht=function(e){nt(e)},bt=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var r,o,i,s,l,c,d;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.preventDefault(),ie(!0),r=new FormData,Xe.productId&&r.append("_method","PUT"),o={productName:a,unitPrice:u,retailPrice:h,sku:g,productId:O,quantity:w,selectedSuppliers:ve,inventoryType:Ze,productCategories:$,productImage:ee,reorderLevel:Ie,retailOption:De.value?1:0,taxRateType:q,taxRatePercentage:F,isMedical:tt,clinicLocations:Y,expirableItems:"expiration"===Ze?Be:[],expirationWarning:"expiration"===Ze?Ce:null},console.log("productData",o),i=(0,Zs.Z)().mark((function e(){var t,o,i;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=(0,n.Z)(l[s],2),o=t[0],i=t[1],Array.isArray(i)?i.forEach((function(e,t){"clinicLocations"===o||"productCategories"===o||"selectedSuppliers"===o?r.append("".concat(o,"[").concat(t,"]"),e):"expirableItems"===o&&e.expiry_date&&(r.append("".concat(o,"[").concat(t,"][lot_number]"),e.lot_number||""),r.append("".concat(o,"[").concat(t,"][expiry_date]"),e.expiry_date),r.append("".concat(o,"[").concat(t,"][count]"),e.count||0),r.append("".concat(o,"[").concat(t,"][note]"),e.note||""))})):r.append(o,i);case 2:case"end":return e.stop()}}),e)})),s=0,l=Object.entries(o);case 8:if(!(s<l.length)){e.next=13;break}return e.delegateYield(i(),"t0",10);case 10:s++,e.next=8;break;case 13:return e.prev=13,c=Xe.productId?"/v1/inventory/".concat(Xe.productId):"/v1/inventory",e.next=17,Re.post(c,r,{headers:{"Content-Type":"multipart/form-data"}});case 17:200===(d=e.sent).status||201===d.status?($e("Product ".concat(Xe.productId?"updated":"created"," successfully"),{variant:"success"}),null==Xe.productId&&te(null),setTimeout((function(){Ve("/stock/inventory")}),300)):$e("".concat(d.status),{}),e.next=24;break;case 21:e.prev=21,e.t1=e.catch(13),$e("".concat(e.t1.message),{});case 24:return e.prev=24,ie(!1),e.finish(24);case 27:case"end":return e.stop()}}),e,null,[[13,21,24,27]])})));return function(t){return e.apply(this,arguments)}}(),At=function(e){var t=Be.filter((function(t){return t.id!==e})).map((function(e,t){return Us(Us({},e),{},{id:t+1})}));Le(t)},mt=function(e,t,n){var r=e.target.value;Le((function(e){return e.map((function(e){return e.id===t?Us(Us({},e),{},{[n]:r}):e}))}))};(0,e.useEffect)((function(){var e=null===Be||void 0===Be?void 0:Be.reduce((function(e,t){return e+(t.count?parseInt(t.count):0)}),0);"expiration"===Ze&&C(e)}),[Be]),(0,e.useEffect)((function(){var e=null===Be||void 0===Be?void 0:Be.reduce((function(e,t){return e+(t.count?parseInt(t.count):0)}),0);"expiration"===Ze?(null===Ce&&Se(3),C(e)):(C(0),Se(null))}),[Ze]),(0,e.useEffect)((function(){Re.get("v1/inventory/suppliers").then((function(e){ce(e.data.data)})).catch((function(e){console.error("Error fetching suppliers:",e)})),ze(0===a.length),Re.get("v1/inventory/categories").then((function(e){be(e.data.data)}))}),[]),(0,e.useEffect)((function(){ze(0===a.replace(/\s+/g,"").length)}),[a]),(0,e.useEffect)((function(){ze(0===a.length)}),[a]),(0,e.useEffect)((function(){Xe.productId?Re.get("v1/inventory/".concat(Xe.productId)).then((function(e){s(e.data.data.title),d(e.data.data.unitPrice),b(e.data.data.retailPrice),v(e.data.data.sku),_(e.data.data.productId),C(e.data.data.available_quantity),ye(e.data.data.suppliers),P(e.data.data.tax_type),U(null===e.data.data.tax_rate?0:e.data.data.tax_rate),te(e.data.data.image),Ne({value:e.data.data.isRetail}),We(e.data.data.reorderLevel),He(e.data.data.inventory_type),V(e.data.data.product_categories),Le(e.data.data.expiringItems),nt(e.data.data.medicalStatus),"expiration"===e.data.data.inventory_type?Se(e.data.data.expirationWarning):Se(3);var t=[];e.data.data.clinicLocations.map((function(e){t.push(e.id)})),G(t)})).catch((function(e){console.error("Error fetching locations:",e)})):gt()}),[]);var gt=function(){s(""),d(""),b(""),v(""),C(0),V([]),P(""),U(0),te(null),ye([]),G([]),_(""),Le([]),Se(null),He("single")},vt=fe();return(0,e.useEffect)((function(){gt()}),[vt.pathname]),oe?(0,Kl.jsx)(NE,{}):(0,Kl.jsxs)(Cb,{padding:4,children:[(0,Kl.jsxs)(AC,{className:"create-new-product",container:!0,alignItems:"center",children:[(0,Kl.jsx)(AC,{item:!0,md:6,xs:12,style:{textAlign:"left"},children:(0,Kl.jsx)(Tke,{productId:null===Xe||void 0===Xe?void 0:Xe.productId})}),(0,Kl.jsx)(AC,{item:!0,md:6,xs:12,style:{textAlign:"right"},children:(0,Kl.jsx)(jke,{handleSubmit:bt,productId:null===Xe||void 0===Xe?void 0:Xe.productId,submitDisabled:Ge})})]}),(0,Kl.jsxs)(AC,{className:"create-product-form",container:!0,children:[(0,Kl.jsxs)(AC,{item:!0,md:6,xs:12,children:[(0,Kl.jsx)("h4",{children:Xe.productId?"Edit Product":"Enter Details to Add New Product"}),(0,Kl.jsx)("div",{className:"fields",children:(0,Kl.jsx)(qke,{labelOne:"Single Inventory",labelTwo:"Inventory with Expiration / Lot Numbers",setInventoryType:He,inventoryType:Ze})}),(0,Kl.jsx)("div",{style:{width:"100%",marginBottom:30},children:(0,Kl.jsx)(Wu.Z,{size:"small",label:"Enter Product Name",variant:"outlined",placeholder:"Enter Product Name",fullWidth:!0,name:"productName",value:a,onChange:ft,error:_e})}),(0,Kl.jsx)("div",{style:{width:"100%",marginBottom:30},children:(0,Kl.jsx)(Wu.Z,{size:"small",label:"Enter Unit Price",variant:"outlined",placeholder:"Enter Unit Price",fullWidth:!0,type:"number",name:"unitPrice",value:u,onChange:ft})}),(0,Kl.jsx)("div",{style:{width:"100%",marginBottom:30},children:(0,Kl.jsx)(Wu.Z,{size:"small",label:"Enter Retail Price",variant:"outlined",placeholder:"Enter Retail Price",fullWidth:!0,type:"number",name:"retailPrice",value:h,onChange:ft})}),(0,Kl.jsx)("div",{style:{width:"100%",marginBottom:30},children:(0,Kl.jsx)(Wu.Z,{size:"small",label:"Enter SKU",variant:"outlined",placeholder:"Enter SKU",fullWidth:!0,name:"sku",value:g,onChange:ft})}),(0,Kl.jsx)("div",{style:{width:"100%",marginBottom:30},children:(0,Kl.jsx)(Wu.Z,{size:"small",label:"Enter Product ID",variant:"outlined",placeholder:"Enter Product ID",fullWidth:!0,name:"productId",value:O,onChange:ft})}),(0,Kl.jsx)("div",{style:{width:"100%",marginBottom:30},children:"expiration"!==Ze?(0,Kl.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[(0,Kl.jsx)(Wu.Z,{size:"small",label:"Enter Quantity in Stock",type:"number",variant:"outlined",placeholder:"Enter Quantity in Stock",name:"quantity",disabled:!0,value:w,style:{flex:1,marginRight:16}}),(0,Kl.jsx)(zd.Z,{variant:"contained",startIcon:(0,Kl.jsx)(ODe,{width:16}),onClick:function(){st(!0)},style:{backgroundColor:"#4CAF50",color:"white",marginRight:8,fontWeight:"600"},children:"Add"}),(0,Kl.jsx)(zd.Z,{variant:"contained",startIcon:(0,Kl.jsx)(CDe,{width:16}),onClick:function(){dt(!0)},style:{backgroundColor:"#F6695E",color:"white",fontWeight:"600"},children:"Remove"})]}):(0,Kl.jsx)("div",{style:{display:"flex",alignItems:"center"},children:(0,Kl.jsx)(Wu.Z,{size:"small",label:"Quantity",type:"number",variant:"outlined",placeholder:"Enter Quantity in Stock",name:"quantity",disabled:!0,value:w,style:{flex:1,marginRight:16}})})}),(0,Kl.jsx)("div",{style:{width:"100%",marginBottom:30},children:le.length>0?(0,Kl.jsx)(Gke,{parentData:le,selectedData:ve,onSelectedDataChange:ye,title:"Select Suppliers",content:"Selected Suppliers: ",labelKey:"name"}):(0,Kl.jsx)("div",{})}),(0,Kl.jsx)("div",{children:(0,Kl.jsx)(Wke,{clinicLocations:Y,setClinicLocations:G})})]}),(0,Kl.jsxs)(AC,{className:"right-side",item:!0,md:6,xs:12,children:[(0,Kl.jsxs)("div",{className:"right-side-box",children:[(0,Kl.jsx)("h4",{children:"Product Image"}),(0,Kl.jsx)(Xke,{productImage:ee,setProductImage:te})]}),(0,Kl.jsxs)("div",{className:"right-side-box",children:[(0,Kl.jsx)("h4",{children:"Select Product Category"}),pe.length>0?(0,Kl.jsx)(Gke,{parentData:pe,selectedData:$,onSelectedDataChange:V,labelKey:"title",title:"Select Category",content:"Selected  Category: "}):(0,Kl.jsx)("div",{})]}),(0,Kl.jsxs)("div",{className:"right-side-box",children:[(0,Kl.jsx)("h4",{children:"Select Medical Status"}),(0,Kl.jsx)(oS.Z,{control:(0,Kl.jsx)(rJ,{checked:"medical"===tt,onChange:function(){return ht("medical")},name:"isMedical",color:"primary"}),label:"Medical"}),(0,Kl.jsx)(oS.Z,{control:(0,Kl.jsx)(rJ,{checked:"non-medical"===tt,onChange:function(){return ht("non-medical")},name:"isNonMedical",color:"primary"}),label:"Non Medical"})]}),(0,Kl.jsx)("div",{className:"right-side-box padding",children:(0,Kl.jsxs)(Cb,{display:"flex",flexDirection:"column",children:[(0,Kl.jsxs)(Cb,{display:"flex",justifyContent:"space-between",children:[(0,Kl.jsx)(kl.Z,{variant:"h6",children:"Retail option"}),(0,Kl.jsx)(Kke,{retailOption:De,setRetailOption:Ne})]}),De.value&&(0,Kl.jsx)(NDe,{type:q,pourcentage:F,setTaxRateType:P,setTaxRatePercentage:U})]})}),(0,Kl.jsxs)("div",{className:"right-side-box",children:[(0,Kl.jsx)("h4",{children:"Set Reorder Level"}),(0,Kl.jsx)(bDe,{subTitle:"Reorder Level:",reorderLevel:Ie,setReorderLevel:We})]}),"expiration"===Ze?(0,Kl.jsxs)("div",{className:"right-side-box",children:[(0,Kl.jsx)("h4",{children:"Expiration Warning"}),(0,Kl.jsx)(bDe,{subTitle:"Warn Before Days:",reorderLevel:Ce,setReorderLevel:Se})]}):(0,Kl.jsx)("div",{})]})]}),"expiration"===Ze&&(0,Kl.jsx)(AC,{className:"create-new-product",container:!0,alignItems:"center",children:(0,Kl.jsxs)(G4,{component:Kd.Z,children:[(0,Kl.jsxs)(AC,{container:!0,style:{padding:20},children:[(0,Kl.jsx)(AC,{item:!0,md:6,xs:12,children:(0,Kl.jsx)("h4",{children:"Expirable Inventory Items"})}),(0,Kl.jsx)(AC,{item:!0,md:6,xs:12,style:{textAlign:"right"},children:(0,Kl.jsx)(zd.Z,{variant:"contained",color:"primary",style:{marginLeft:10},startIcon:(0,Kl.jsx)(ODe,{width:16}),onClick:function(){Le((function(e){return[].concat((0,r.Z)(e),[{id:e.length+1,lot_number:"",expiry_date:"",count:0,note:""}])}))},children:"ADD NEW"})})]}),(0,Kl.jsx)(Cb,{padding:4,children:(0,Kl.jsxs)(t5,{sx:{minWidth:650},"aria-label":"simple table",children:[(0,Kl.jsx)(a5,{children:(0,Kl.jsxs)(l5,{children:[(0,Kl.jsx)(c5.Z,{className:"".concat(t.headerCell," ").concat(t.firstHeaderCell),children:"Sr No"}),(0,Kl.jsx)(c5.Z,{className:t.headerCell,children:"Lot Number"}),(0,Kl.jsx)(c5.Z,{className:t.headerCell,children:"Expiration Date"}),(0,Kl.jsx)(c5.Z,{className:t.headerCell,children:"Count"}),(0,Kl.jsx)(c5.Z,{className:t.headerCell,children:"Reserved Items"}),(0,Kl.jsx)(c5.Z,{className:t.headerCell,children:"Note"}),(0,Kl.jsx)(c5.Z,{className:"".concat(t.headerCell," ").concat(t.lastHeaderCell),children:"Action"})]})}),(0,Kl.jsx)(f5,{children:Be.map((function(e,t){return(0,Kl.jsx)(kDe,{item:e,availableQuantity:e.count,deleteRow:At,handleChange:mt},t)}))})]})})]})}),at&&(0,Kl.jsxs)(vC,{maxWidth:"xl",open:at,children:[(0,Kl.jsx)(MC,{children:(0,Kl.jsxs)(Cb,{display:"flex",justifyContent:"space-between",alignItems:"center",borderBottom:"1px solid #E9E9E9",children:[(0,Kl.jsx)(kl.Z,{variant:"h6",children:"Add Quantity"}),(0,Kl.jsx)(wd.Z,{onClick:function(){return st(!1)},children:(0,Kl.jsx)(FW,{})})]})}),(0,Kl.jsxs)(_E,{style:{width:"350px",height:"110px"},children:[(0,Kl.jsx)(Wu.Z,{size:"small",fullWidth:!0,type:"number",variant:"outlined",inputProps:{min:1},name:"quantity",label:"Increase Stock Number by",value:k,onChange:function(e){return D(e.target.value)}}),(0,Kl.jsx)(Wu.Z,{style:{marginTop:"20px"},size:"small",fullWidth:!0,type:"number",variant:"outlined",disabled:!0,name:"quantity",label:"Total Stock will be",value:pt(parseInt(w)+parseInt(k))?parseInt(w)+parseInt(k):w})]}),(0,Kl.jsxs)(xE,{style:{display:"flex",justifyContent:"center",padding:"10px 24px"},children:[(0,Kl.jsx)(zd.Z,{variant:"outlined",onClick:function(){st(!1)},color:"primary",children:"CANCEL"}),(0,Kl.jsx)(zd.Z,{variant:"contained",onClick:function(){C(pt(parseInt(w)+parseInt(k))?parseInt(w)+parseInt(k):w),D(0),st(!1)},color:"primary",children:"Update"})]})]}),ut&&(0,Kl.jsxs)(vC,{maxWidth:"xl",open:ut,children:[(0,Kl.jsx)(MC,{children:(0,Kl.jsxs)(Cb,{display:"flex",justifyContent:"space-between",alignItems:"center",borderBottom:"1px solid #E9E9E9",children:[(0,Kl.jsx)(kl.Z,{variant:"h6",children:"Adjust Quantity"}),(0,Kl.jsx)(wd.Z,{onClick:function(){return dt(!1)},children:(0,Kl.jsx)(FW,{})})]})}),(0,Kl.jsxs)(_E,{style:{width:"350px",height:"110px"},children:[(0,Kl.jsx)(Wu.Z,{size:"small",type:"number",fullWidth:!0,variant:"outlined",name:"quantity",label:"Adjust Stock Number by",value:j,inputProps:{min:1,max:w},onChange:function(e){pt(e.target.value)&&e.target.value>w?B(w):B(e.target.value)}}),(0,Kl.jsx)(Wu.Z,{style:{marginTop:"20px"},size:"small",type:"number",fullWidth:!0,variant:"outlined",name:"quantity",disabled:!0,label:"Total Stock will be",value:pt(parseInt(w)+parseInt(j))?parseInt(w)-parseInt(j):w,inputProps:{min:1,max:w}})]}),(0,Kl.jsxs)(xE,{style:{display:"flex",justifyContent:"center",padding:"10px 24px"},children:[(0,Kl.jsx)(zd.Z,{variant:"outlined",onClick:function(){dt(!1)},color:"primary",children:"CANCEL"}),(0,Kl.jsx)(zd.Z,{variant:"contained",onClick:function(){C(pt(parseInt(w)-parseInt(j))?parseInt(w)-parseInt(j):w),B(0),dt(!1)},color:"primary",children:"Update"})]})]})]})}var BDe=function(t){var o=t.data,i=t.selectedProducts,a=t.setOnSelectedProducts,s=(0,e.useContext)(bA),l=(0,e.useState)([]),c=(0,n.Z)(l,2),u=c[0],d=c[1],p=(0,e.useState)(i),f=(0,n.Z)(p,2),h=f[0],b=f[1];(0,e.useEffect)((function(){a(h)}),[h,a]),(0,e.useEffect)((function(){a(h)}),[h,a]);var A=function(e,t){return e.slice(0,t).concat(e.slice(t+1))};return(0,Kl.jsx)("div",{style:{width:"100%",borderCollapse:"collapse",borderRadius:"4px",marginTop:"5px",height:"400px",overflowY:"auto",overflowX:"hidden",scrollbarWidth:"none",msOverflowStyle:"none"},children:o.map((function(t){return(0,Kl.jsxs)(e.Fragment,{children:[(0,Kl.jsx)("div",{style:{border:"0.2px solid rgb(233, 233, 233)",height:"55px",alignContent:"center",color:"#000000"},children:(0,Kl.jsx)("div",{onClick:function(){return e=t.id,u.find((function(t){return t===e}))?d(u.filter((function(t){return t!==e}))):d([].concat((0,r.Z)(u),[e])),void a(h);var e},style:{cursor:"pointer"},children:(0,Kl.jsxs)("div",{style:{display:"flex",alignItems:"center",paddingLeft:"15px",width:"100%"},children:[(0,Kl.jsx)("div",{style:{flex:1,color:"#000000",fontWeight:"500",fontSize:"15px"},children:t.name}),(0,Kl.jsx)("div",{style:{width:"60px"},children:(0,Kl.jsx)(wd.Z,{style:{padding:"0"},children:void 0!==u.find((function(e){return e===t.id}))?(0,Kl.jsx)(bke,{}):(0,Kl.jsx)(Ake,{})})})]})})},"parent"+t.id),void 0!==u.find((function(e){return e===t.id}))&&t.items.map((function(e){return(0,Kl.jsx)("div",{children:(0,Kl.jsxs)("div",{onClick:function(){var t;0===(t=e).inventory_expiring_item_id||null===t.inventory_expiring_item_id?h.find((function(e){return e.id===t.id}))?b(A(h,h.findIndex((function(e){return e.id===t.id&&null===e.inventory_expiring_item_id})))):b([].concat((0,r.Z)(h),[t])):h.find((function(e){return e.id===t.id&&e.inventory_expiring_item_id===t.inventory_expiring_item_id}))?b(A(h,h.findIndex((function(e){return e.id===t.id&&e.inventory_expiring_item_id===t.inventory_expiring_item_id})))):b([].concat((0,r.Z)(h),[t]))},style:{paddingLeft:"20px",display:"flex",alignItems:"center",border:(t=e,(0===t.inventory_expiring_item_id||null===t.inventory_expiring_item_id?h.find((function(e){return e.id===t.id})):h.find((function(e){return e.id===t.id&&e.inventory_expiring_item_id===t.inventory_expiring_item_id})))?"1.5px solid #B57C2A":"1px solid #E9E9E9"),borderRadius:"4px",background:"Background",height:"55px",justifyContent:"space-between",color:"#000",fontWeight:"500",fontSize:"14px"},children:[(0,Kl.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[(0,Kl.jsx)("div",{style:{marginLeft:"8px",marginRight:"8px",width:"35px",height:"35px",alignContent:"center",backgroundColor:"#f1f1f1",borderRadius:5},children:e.image&&(0,Kl.jsx)("img",{src:e.image,width:35,height:35,alt:""})}),(0,Kl.jsxs)("div",{style:{marginLeft:"8px"},children:[e.name,null!=e.lot_number?(0,Kl.jsxs)("div",{style:{maxWidth:"80px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},children:[e.lot_number,","]}):(0,Kl.jsx)(Kl.Fragment,{}),(0,Kl.jsx)("div",{style:{marginLeft:"3px",color:e.is_expired?"red":"inherit"},children:e.expiry_date})]}),e.quantity_limit<=0?(0,Kl.jsx)("div",{style:{color:"red",fontSize:"11px",marginLeft:"3px",marginTop:"3px"},children:"Out of stock"}):(0,Kl.jsx)(Kl.Fragment,{})]}),(0,Kl.jsxs)("div",{style:{marginRight:"15px",fontSize:"14px"},children:[(0,Kl.jsxs)("span",{style:{marginLeft:"5px"},children:[" ",s.clinic.currency," "]}),e.price]})]})},"item"+e.id);var t}))]})}))})},LDe=$l((function(){var t=he(),r=(0,e.useState)([]),o=(0,n.Z)(r,2),i=o[0],a=o[1],s=(0,e.useState)(""),l=(0,n.Z)(s,2),c=l[0],u=l[1],d=Fc(),p=(d.appointment,d.appointmentDoctor),f=(0,e.useState)(!1),h=(0,n.Z)(f,2),A=h[0],m=h[1],g=(0,e.useState)([]),v=(0,n.Z)(g,2),y=v[0],M=v[1],O=function(){t(-1)},_=function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return m(!0),e.next=3,Re.get("v1/inventory/categories_with_expiring_items").then((function(e){a(e.data.data),m(!1)}));case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();(0,e.useEffect)((function(){_(),M(p.payment.selected_products)}),[]);var z=function(){var e=p.payment.selected_products,t=[];y.forEach((function(n){var r,o,a,s,l=function(e,t){var n,r=(0,b.Z)(e);try{for(r.s();!(n=r.n()).done;){var o=n.value.items.find((function(e){return e.id===t.id&&(!t.inventory_expiring_item_id||e.inventory_expiring_item_id===t.inventory_expiring_item_id)}));if(o)return o}}catch(i){r.e(i)}finally{r.f()}return null}(i,n),c=null!==(r=null===(o=e.find((function(e){return e.id===n.id&&e.inventory_expiring_item_id===n.inventory_expiring_item_id})))||void 0===o?void 0:o.qnt)&&void 0!==r?r:1,u=null!==(a=null===(s=e.find((function(e){return e.id===n.id&&e.inventory_expiring_item_id===n.inventory_expiring_item_id})))||void 0===s?void 0:s.price)&&void 0!==a?a:l.price;t.push({id:l.id,name:l.name,image:l.image,price:Number(u),qnt:Number(c),quantity_limit:null!=l.quantity_limit?Number(l.quantity_limit):0,expiry_date:l.expiry_date,lot_number:l.lot_number,inventory_expiring_item_id:Number(l.inventory_expiring_item_id),is_expired:void 0!==l.is_expired&&l.is_expired})})),p.payment.setSelectedProducts(t),O()},x=i.map((function(e){var t=e.items.filter((function(e){return e.name.toLowerCase().includes(c.toLowerCase())||e.lot_number.toLowerCase().includes(c.toLowerCase())}));return e.name.toLowerCase().includes(c.toLowerCase())||t.length>0?Us(Us({},e),{},{items:t}):null})).filter((function(e){return null!==e}));return(0,Kl.jsxs)(op,{anchor:"right",open:!0,onClose:O,PaperProps:{className:RE.paper},variant:"permanent",children:[(0,Kl.jsxs)("div",{className:RE.appointment,children:[(0,Kl.jsx)(TAe,{s:!0,title:"ADD PRODUCTS",handleClose:O}),(0,Kl.jsx)("div",{className:RE.content,children:A?(0,Kl.jsx)("div",{className:RE.loading,children:(0,Kl.jsx)(Gh.Z,{color:"primary"})}):(0,Kl.jsxs)(Kl.Fragment,{children:[(0,Kl.jsx)("div",{style:{width:"100%"},children:(0,Kl.jsx)(Yu,{value:c,setValue:u,label:"Type to search Product",style:{width:"100%"}})}),(0,Kl.jsx)(BDe,{data:x,selectedProducts:y,setOnSelectedProducts:M})]})})]}),(0,Kl.jsx)("div",{className:RE.appointmentAddProductsBottomWrapper,children:(0,Kl.jsx)("div",{children:(0,Kl.jsx)(Ck,{className:RE.appointmentAddProducts,variant:"contained",color:"primary",fullWidth:!0,onClick:function(){z()},size:"small",children:"ADD PRODUCTS"})})})]})})),RDe=LDe,qDe=function(){return(0,Kl.jsxs)(Ne,{children:[(0,Kl.jsx)(ke,{path:"*",element:(0,Kl.jsx)(woe,{})}),(0,Kl.jsx)(ke,{path:"/",element:(0,Kl.jsx)(Se,{to:"/calendar",replace:!0})}),(0,Kl.jsxs)(ke,{exact:!0,path:"/shifts",element:(0,Kl.jsx)(Wbe,{}),children:[(0,Kl.jsx)(ke,{exact:!0,path:"/shifts/edit-employee/:doctorId",element:(0,Kl.jsx)(_Ae,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"/shifts/shift",element:(0,Kl.jsx)(xAe,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"/shifts/shift/:shiftId",element:(0,Kl.jsx)(xAe,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"/shifts/edit-business-hours",element:(0,Kl.jsx)(iAe,{})})]}),(0,Kl.jsx)(ke,{exact:!0,path:"/leaflets",element:(0,Kl.jsx)(Tre,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"/marketing",element:(0,Kl.jsx)(loe,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"/dashboard",element:(0,Kl.jsx)(pK,{})}),(0,Kl.jsxs)(ke,{exact:!0,path:"/settings",element:(0,Kl.jsx)(Yse,{}),children:[(0,Kl.jsx)(ke,{index:!0,element:(0,Kl.jsx)(ile,{})}),(0,Kl.jsx)(ke,{path:"external-booking/brand",element:(0,Kl.jsx)(Rhe,{})}),(0,Kl.jsx)(ke,{path:"external-booking/registration",element:(0,Kl.jsx)(qhe,{})}),(0,Kl.jsx)(ke,{path:"invoice-settings",element:(0,Kl.jsx)(ibe,{})}),(0,Kl.jsx)(ke,{path:"email-and-sms",element:(0,Kl.jsx)(ube,{})}),(0,Kl.jsx)(ke,{path:"forms/*",element:(0,Kl.jsx)(USe,{children:(0,Kl.jsxs)(Ne,{children:[(0,Kl.jsx)(ke,{path:"new",element:(0,Kl.jsx)(ECe,{})}),(0,Kl.jsx)(ke,{path:"edit/:formId",element:(0,Kl.jsx)(ECe,{})}),(0,Kl.jsx)(ke,{path:"list",element:(0,Kl.jsx)(FSe,{})}),(0,Kl.jsx)(ke,{path:"builder/:formId",element:(0,Kl.jsx)(kCe,{})})]})})})]}),(0,Kl.jsxs)(ke,{exact:!0,path:"/financial",element:(0,Kl.jsx)(ive,{}),children:[(0,Kl.jsx)(ke,{path:"receipts",element:(0,Kl.jsx)(pze,{})}),(0,Kl.jsx)(ke,{path:"receipts/:id",element:(0,Kl.jsx)(uxe,{})}),(0,Kl.jsx)(ke,{path:"invoices",element:(0,Kl.jsx)(pxe,{})}),(0,Kl.jsx)(ke,{path:"invoices/issue/:receiptId",element:(0,Kl.jsx)(Uxe,{})})]}),(0,Kl.jsxs)(ke,{exact:!0,path:"/stock",element:(0,Kl.jsx)(HSe,{}),children:[(0,Kl.jsx)(ke,{path:"inventory",element:(0,Kl.jsx)(tke,{})}),(0,Kl.jsx)(ke,{path:"inventory/create",element:(0,Kl.jsx)(jDe,{})}),(0,Kl.jsx)(ke,{path:"inventory/product/:productId",element:(0,Kl.jsx)(jDe,{})}),(0,Kl.jsx)(ke,{path:"products",element:(0,Kl.jsx)(lke,{})}),(0,Kl.jsx)(ke,{path:"suppliers",element:(0,Kl.jsx)(pke,{})}),(0,Kl.jsx)(ke,{path:"suppliers/create",element:(0,Kl.jsx)(_ke,{})}),(0,Kl.jsx)(ke,{path:"suppliers/:supplierId",element:(0,Kl.jsx)(_ke,{})}),(0,Kl.jsx)(ke,{path:"categories",element:(0,Kl.jsx)(Ske,{})}),(0,Kl.jsx)(ke,{path:"categories/create",element:(0,Kl.jsx)(Nke,{})}),(0,Kl.jsx)(ke,{path:"categories/:categoryId",element:(0,Kl.jsx)(Nke,{})})]}),(0,Kl.jsxs)(ke,{exact:!0,path:"/notifications",element:(0,Kl.jsx)(uA,{}),children:[(0,Kl.jsx)(ke,{index:!0,element:(0,Kl.jsx)(nMe,{channel:oA})}),(0,Kl.jsx)(ke,{path:"email",element:(0,Kl.jsx)(nMe,{channel:oA})}),(0,Kl.jsx)(ke,{path:"email/:id",element:(0,Kl.jsx)(nMe,{channel:oA})}),(0,Kl.jsx)(ke,{path:"email/new",element:(0,Kl.jsx)(nMe,{channel:oA,isNew:!0})}),(0,Kl.jsx)(ke,{path:"sms",element:(0,Kl.jsx)(nMe,{channel:iA})}),(0,Kl.jsx)(ke,{path:"sms/:id",element:(0,Kl.jsx)(nMe,{channel:iA})}),(0,Kl.jsx)(ke,{path:"sms/new",element:(0,Kl.jsx)(nMe,{channel:iA,isNew:!0})}),(0,Kl.jsx)(ke,{path:"marketing-campaigns",element:(0,Kl.jsx)(bae,{})}),(0,Kl.jsx)(ke,{path:"marketing-campaigns/:id",element:(0,Kl.jsx)(Zye,{})}),(0,Kl.jsx)(ke,{path:"marketing-campaigns/new",element:(0,Kl.jsx)(Zye,{isNew:!0})}),(0,Kl.jsx)(ke,{path:"sent-history",element:(0,Kl.jsx)(Aae,{})})]}),(0,Kl.jsx)(ke,{exact:!0,path:"/notifications/sms/top-up",element:(0,Kl.jsx)(iMe,{})}),(0,Kl.jsx)(ke,{element:(0,Kl.jsx)(Gme,{}),children:(0,Kl.jsxs)(ke,{exact:!0,path:"/calendar",element:(0,Kl.jsx)(SF,{}),children:[(0,Kl.jsx)(ke,{exact:!0,path:"/calendar/appointment",element:(0,Kl.jsx)(pF,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"/calendar/appointment/:appointmentId",element:(0,Kl.jsx)(kF,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"/calendar/appointment/:appointmentId/checkout",element:(0,Kl.jsx)(tme,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"/calendar/appointment/:appointmentId/receipt",element:(0,Kl.jsx)(RAe,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"/calendar/patients",element:(0,Kl.jsx)(gme,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"/calendar/doctors",element:(0,Kl.jsx)(ime,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"/calendar/services",element:(0,Kl.jsx)(Cme,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"/calendar/linked-appointments",element:(0,Kl.jsx)(Ome,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"/calendar/linked-appointments-chain",element:(0,Kl.jsx)(ume,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"/calendar/select-products",element:(0,Kl.jsx)(RDe,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"/calendar/unavailability",element:(0,Kl.jsx)(Eme,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"/calendar/unavailability/:unavailabilityId",element:(0,Kl.jsx)(Eme,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"/calendar/notes",element:(0,Kl.jsx)(pme,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"/calendar/deposit-notes",element:(0,Kl.jsx)(rme,{})})]})}),(0,Kl.jsx)(ke,{element:(0,Kl.jsx)(uve,{}),children:(0,Kl.jsx)(ke,{exact:!0,path:"/waitlist",element:(0,Kl.jsx)(DAe,{})})}),(0,Kl.jsxs)(ke,{element:(0,Kl.jsx)(sve,{}),children:[(0,Kl.jsx)(ke,{exact:!0,path:"/prescriptions",element:(0,Kl.jsx)(yse,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"/prescriptions/:prescriptionId",element:(0,Kl.jsx)(mse,{})})]}),(0,Kl.jsxs)(ke,{element:(0,Kl.jsx)(ave,{}),children:[(0,Kl.jsx)(ke,{exact:!0,path:"/patients",element:(0,Kl.jsx)(hie,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"/patients/:patientId",element:(0,Kl.jsx)(ese,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"/patients/:patientId/edit",element:(0,Kl.jsx)(Woe,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"/patients/create",element:(0,Kl.jsx)(Ioe,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"/patients/:patientId/edit-medical-history",element:(0,Kl.jsx)(see,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"/patients/:patientId/edit-survey/:surveyId",element:(0,Kl.jsx)(tie,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"/patients/:patientId/complete-survey/:surveyId",element:(0,Kl.jsx)(tie,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"/patients/:patientId/survey/:surveyId",element:(0,Kl.jsx)(rse,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"/patients/:patientId/medical-history-snapshot/:snapshotId",element:(0,Kl.jsx)(aMe,{})})]}),(0,Kl.jsx)(ke,{element:(0,Kl.jsx)(sge,{}),exact:!0,children:(0,Kl.jsxs)(ke,{exact:!0,path:"/doctor-appointment/:appointmentId",children:[(0,Kl.jsx)(ke,{exact:!0,path:"/doctor-appointment/:appointmentId/consultation",element:(0,Kl.jsx)(s3,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"/doctor-appointment/:appointmentId/before",element:(0,Kl.jsx)(G1,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"/doctor-appointment/:appointmentId/consent",element:(0,Kl.jsx)(M2,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"/doctor-appointment/:appointmentId/after",element:(0,Kl.jsx)(U1,{})}),(0,Kl.jsxs)(ke,{exact:!0,path:"/doctor-appointment/:appointmentId/payment",element:(0,Kl.jsx)(S6,{}),children:[(0,Kl.jsx)(ke,{exact:!0,path:"/doctor-appointment/:appointmentId/payment/checkout",element:(0,Kl.jsx)(tme,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"/doctor-appointment/:appointmentId/payment/receipt",element:(0,Kl.jsx)(RAe,{})})]}),(0,Kl.jsx)(ke,{exact:!0,path:"/doctor-appointment/:appointmentId/prescription",element:(0,Kl.jsx)(O8,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"/doctor-appointment/:appointmentId/record",element:(0,Kl.jsx)(_8,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"/doctor-appointment/:appointmentId/aftercare",element:(0,Kl.jsx)(Y1,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"/doctor-appointment/:appointmentId/final",element:(0,Kl.jsx)(x5,{})})]})}),(0,Kl.jsx)(ke,{exact:!0,path:"/doctor-appointment/:appointmentId/final-pdf",element:(0,Kl.jsx)(U7,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"/medical-history",element:(0,Kl.jsx)(iee,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"/online-forms",element:(0,Kl.jsx)(Boe,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"/survey/:token",element:(0,Kl.jsx)(joe,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"/medical-history-snapshot/:token",element:(0,Kl.jsx)(zoe,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"/survey-entry-snapshot/:token",element:(0,Kl.jsx)(zoe,{isSurvey:!0})}),(0,Kl.jsx)(ke,{exact:!0,path:"/external-prescription/:hash",element:(0,Kl.jsx)(Tee,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"/login",element:(0,Kl.jsx)(Vre,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"/cdl/:authToken?",element:(0,Kl.jsx)(Ire,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"/restore-password",element:(0,Kl.jsx)(Ose,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"/password-reset/:token",element:(0,Kl.jsx)(Mse,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"/impersonate/:authToken?/:impToken?",element:(0,Kl.jsx)(Kne,{})}),(0,Kl.jsxs)(ke,{element:(0,Kl.jsx)($ge,{}),path:"/external-booking",children:[(0,Kl.jsx)(ke,{index:!0,element:(0,Kl.jsx)(Xne,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"change-location",element:(0,Kl.jsx)(ute,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"privacy-policy",element:(0,Kl.jsx)(Qne,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"terms-and-conditions",element:(0,Kl.jsx)(Yne,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"clinic-info",element:(0,Kl.jsx)(mte,{})}),(0,Kl.jsxs)(ke,{path:"appointment/:encryptedAppointmentId",element:(0,Kl.jsx)(dxe,{}),children:[(0,Kl.jsx)(ke,{exact:!0,path:"cancel",element:(0,Kl.jsx)(dve,{})}),(0,Kl.jsx)(ke,{exact:!0,path:"reschedule",element:(0,Kl.jsx)(pve,{})})]})]})]})},PDe=__webpack_require__(27010),IDe="#D8A66A",WDe="#008a00",FDe="#9BD6E0",UDe="#a0a3bd",ZDe="#e71515",HDe={MuiAccordion:{root:{borderRadius:"16px !important","&$expanded":{margin:"0 !important"},"&:before":{display:"none"}}},MuiAccordionSummary:{root:{backgroundColor:"#ffffff",borderRadius:16}}},$De={MuiButton:{root:{borderRadius:12},contained:{boxShadow:0},containedPrimary:{color:"#ffffff"}}},VDe={MuiCardContent:{root:{"&:last-child":{paddingBottom:16},backgroundColor:"#FCFCFC"}},MuiCard:{root:{borderRadius:16}}},XDe=(0,__webpack_require__(96908).Z)({palette:{primary:{main:IDe,success:WDe},secondary:{main:FDe},lightGray:{main:UDe},error:{main:ZDe}},overrides:Us(Us(Us(Us(Us(Us(Us(Us({},VDe),$De),{}),{MuiOutlinedInput:{root:{border:"1px solid #EFF0F7",borderRadius:10,color:"#6E7191"},notchedOutline:{borderStyle:"hidden"},input:{}}}),{MuiPaper:{elevation1:{boxShadow:"none"}},MuiMenu:{paper:{paddingLeft:10,paddingRight:10,borderRadius:8}}}),{MuiSelect:{outlined:{borderRadius:12}}}),HDe),{MuiDialog:{paper:{borderRadius:16}}}),typography:{fontFamily:"Mulish"}});var QDe=function(){return(0,Kl.jsx)(Kc,{state:{id:"GTM-K59QH8P7"},children:(0,Kl.jsx)(bu,{appId:"rd8yv1m0",children:(0,Kl.jsx)(Ou,{children:(0,Kl.jsx)(PDe.Z,{theme:XDe,children:(0,Kl.jsx)(fE,{maxSnack:3,children:(0,Kl.jsx)(Wc,{value:Pc,children:(0,Kl.jsx)(hA,{children:(0,Kl.jsx)(qDe,{})})})})})})})})},YDe=function(e){e&&e instanceof Function&&__webpack_require__.e(27).then(__webpack_require__.bind(__webpack_require__,64027)).then((function(t){var n=t.getCLS,r=t.getFID,o=t.getFCP,i=t.getLCP,a=t.getTTFB;n(e),r(e),o(e),i(e),a(e)}))},GDe=__webpack_require__(21739),KDe=(__webpack_require__(64343),"7.72.0"),JDe=__webpack_require__(10076),eNe=["debug","info","warn","error","log","assert","trace"],tNe={};function nNe(e){if(!("console"in JDe.n2))return e();var t=JDe.n2.console,n={},r=Object.keys(tNe);r.forEach((function(e){var r=tNe[e];n[e]=t[e],t[e]=r}));try{return e()}finally{r.forEach((function(e){t[e]=n[e]}))}}var rNe=function(){var e=!1,t={enable:function(){e=!0},disable:function(){e=!1}};return"undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?eNe.forEach((function(n){t[n]=function(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];e&&nNe((function(){var e;(e=JDe.n2.console)[n].apply(e,["".concat("Sentry Logger ","[").concat(n,"]:")].concat(r))}))}})):eNe.forEach((function(e){t[e]=function(){}})),t}(),oNe=Object.prototype.toString;function iNe(e){switch(oNe.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return bNe(e,Error)}}function aNe(e,t){return oNe.call(e)==="[object ".concat(t,"]")}function sNe(e){return aNe(e,"ErrorEvent")}function lNe(e){return aNe(e,"DOMError")}function cNe(e){return aNe(e,"String")}function uNe(e){return null===e||"object"!==typeof e&&"function"!==typeof e}function dNe(e){return aNe(e,"Object")}function pNe(e){return"undefined"!==typeof Event&&bNe(e,Event)}function fNe(e){return Boolean(e&&e.then&&"function"===typeof e.then)}function hNe(e){return"number"===typeof e&&e!==e}function bNe(e,t){try{return e instanceof t}catch(n){return!1}}function ANe(e){return!("object"!==typeof e||null===e||!e.__isVue&&!e._isVue)}var mNe=(0,JDe.Rf)(),gNe=80;function vNe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{for(var n,r=e,o=[],i=0,a=0,s=" > ".length,l=Array.isArray(t)?t:t.keyAttrs,c=!Array.isArray(t)&&t.maxStringLength||gNe;r&&i++<5&&!("html"===(n=yNe(r,l))||i>1&&a+o.length*s+n.length>=c);)o.push(n),a+=n.length,r=r.parentNode;return o.reverse().join(" > ")}catch(u){return"<unknown>"}}function yNe(e,t){var n,r,o,i,a,s=e,l=[];if(!s||!s.tagName)return"";l.push(s.tagName.toLowerCase());var c=t&&t.length?t.filter((function(e){return s.getAttribute(e)})).map((function(e){return[e,s.getAttribute(e)]})):null;if(c&&c.length)c.forEach((function(e){l.push("[".concat(e[0],'="').concat(e[1],'"]'))}));else if(s.id&&l.push("#".concat(s.id)),(n=s.className)&&cNe(n))for(r=n.split(/\s+/),a=0;a<r.length;a++)l.push(".".concat(r[a]));var u=["aria-label","type","name","title","alt"];for(a=0;a<u.length;a++)o=u[a],(i=s.getAttribute(o))&&l.push("[".concat(o,'="').concat(i,'"]'));return l.join("")}function MNe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"string"!==typeof e||0===t||e.length<=t?e:"".concat(e.slice(0,t),"...")}function ONe(e,t){if(!Array.isArray(e))return"";for(var n=[],r=0;r<e.length;r++){var o=e[r];try{ANe(o)?n.push("[VueViewModel]"):n.push(String(o))}catch(AE){n.push("[value cannot be serialized]")}}return n.join(t)}function _Ne(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!!cNe(e)&&(aNe(t,"RegExp")?t.test(e):!!cNe(t)&&(n?e===t:e.includes(t)))}function zNe(e){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).some((function(n){return _Ne(e,n,t)}))}function xNe(e,t,n){if(t in e){var r=e[t],o=n(r);"function"===typeof o&&CNe(o,r),e[t]=o}}function wNe(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch(r){("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.log('Failed to add non-enumerable property "'.concat(t,'" to object'),e)}}function CNe(e,t){try{var n=t.prototype||{};e.prototype=t.prototype=n,wNe(e,"__sentry_original__",t)}catch(r){}}function SNe(e){return e.__sentry_original__}function ENe(e){if(iNe(e))return Us({message:e.message,name:e.name,stack:e.stack},DNe(e));if(pNe(e)){var t=Us({type:e.type,target:kNe(e.target),currentTarget:kNe(e.currentTarget)},DNe(e));return"undefined"!==typeof CustomEvent&&bNe(e,CustomEvent)&&(t.detail=e.detail),t}return e}function kNe(e){try{return t=e,"undefined"!==typeof Element&&bNe(t,Element)?vNe(e):Object.prototype.toString.call(e)}catch(n){return"<unknown>"}var t}function DNe(e){if("object"===typeof e&&null!==e){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}return{}}function NNe(e){return TNe(e,new Map)}function TNe(e,t){if(dNe(e)){var n=t.get(e);if(void 0!==n)return n;var r={};t.set(e,r);for(var o=0,i=Object.keys(e);o<i.length;o++){var a=i[o];"undefined"!==typeof e[a]&&(r[a]=TNe(e[a],t))}return r}if(Array.isArray(e)){var s=t.get(e);if(void 0!==s)return s;var l=[];return t.set(e,l),e.forEach((function(e){l.push(TNe(e,t))})),l}return e}function jNe(){var e=JDe.n2,t=e.crypto||e.msCrypto,n=function(){return 16*Math.random()};try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(n=function(){return t.getRandomValues(new Uint8Array(1))[0]})}catch(r){}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,(function(e){return(e^(15&n())>>e/4).toString(16)}))}function BNe(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function LNe(e){var t=e.message,n=e.event_id;if(t)return t;var r=BNe(e);return r?r.type&&r.value?"".concat(r.type,": ").concat(r.value):r.type||r.value||n||"<unknown>":n||"<unknown>"}function RNe(e,t,n){var r=e.exception=e.exception||{},o=r.values=r.values||[],i=o[0]=o[0]||{};i.value||(i.value=t||""),i.type||(i.type=n||"Error")}function qNe(e,t){var n=BNe(e);if(n){var r=n.mechanism;if(n.mechanism=Us(Us(Us({},{type:"generic",handled:!0}),r),t),t&&"data"in t){var o=Us(Us({},r&&r.data),t.data);n.mechanism.data=o}}}function PNe(e){if(e&&e.__sentry_captured__)return!0;try{wNe(e,"__sentry_captured__",!0)}catch(t){}return!1}function INe(e){return Array.isArray(e)?e:[e]}var WNe,FNe=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],UNe=[/^.*healthcheck.*$/,/^.*healthy.*$/,/^.*live.*$/,/^.*ready.*$/,/^.*heartbeat.*$/,/^.*\/health$/,/^.*\/healthz$/],ZNe=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,o.Z)(this,e),this.name=e.id,this._options=t}return(0,i.Z)(e,[{key:"setupOnce",value:function(t,n){var o=function(t){var o=n();if(o){var i=o.getIntegration(e);if(i){var a=o.getClient(),s=a?a.getOptions():{},l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{allowUrls:[].concat((0,r.Z)(e.allowUrls||[]),(0,r.Z)(t.allowUrls||[])),denyUrls:[].concat((0,r.Z)(e.denyUrls||[]),(0,r.Z)(t.denyUrls||[])),ignoreErrors:[].concat((0,r.Z)(e.ignoreErrors||[]),(0,r.Z)(t.ignoreErrors||[]),(0,r.Z)(e.disableErrorDefaults?[]:FNe)),ignoreTransactions:[].concat((0,r.Z)(e.ignoreTransactions||[]),(0,r.Z)(t.ignoreTransactions||[]),(0,r.Z)(e.disableTransactionDefaults?[]:UNe)),ignoreInternal:void 0===e.ignoreInternal||e.ignoreInternal}}(i._options,s);return function(e,t){if(t.ignoreInternal&&function(e){try{return"SentryError"===e.exception.values[0].type}catch(AE){}return!1}(e))return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.warn("Event dropped due to being internal Sentry Error.\nEvent: ".concat(LNe(e))),!0;if(function(e,t){if(e.type||!t||!t.length)return!1;return function(e){var t,n=[];e.message&&n.push(e.message);try{t=e.exception.values[e.exception.values.length-1]}catch(AE){}t&&t.value&&(n.push(t.value),t.type&&n.push("".concat(t.type,": ").concat(t.value)));"undefined"!==typeof __SENTRY_DEBUG__&&!__SENTRY_DEBUG__||0!==n.length||rNe.error("Could not extract message for event ".concat(LNe(e)));return n}(e).some((function(e){return zNe(e,t)}))}(e,t.ignoreErrors))return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: ".concat(LNe(e))),!0;if(function(e,t){if("transaction"!==e.type||!t||!t.length)return!1;var n=e.transaction;return!!n&&zNe(n,t)}(e,t.ignoreTransactions))return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.warn("Event dropped due to being matched by `ignoreTransactions` option.\nEvent: ".concat(LNe(e))),!0;if(function(e,t){if(!t||!t.length)return!1;var n=HNe(e);return!!n&&zNe(n,t)}(e,t.denyUrls))return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: ".concat(LNe(e),".\nUrl: ").concat(HNe(e))),!0;if(!function(e,t){if(!t||!t.length)return!0;var n=HNe(e);return!n||zNe(n,t)}(e,t.allowUrls))return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: ".concat(LNe(e),".\nUrl: ").concat(HNe(e))),!0;return!1}(t,l)?null:t}}return t};o.id=this.name,t(o)}}],[{key:"__initStatic",value:function(){this.id="InboundFilters"}}]),e}();function HNe(e){try{var t;try{t=e.exception.values[0].stacktrace.frames}catch(AE){}return t?function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=e.length-1;t>=0;t--){var n=e[t];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(t):null}catch(n){return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.error("Cannot extract url for event ".concat(LNe(e))),null}}ZNe.__initStatic();var $Ne,VNe=function(){function e(){(0,o.Z)(this,e),this.name=e.id}return(0,i.Z)(e,[{key:"setupOnce",value:function(){WNe=Function.prototype.toString;try{Function.prototype.toString=function(){for(var e=SNe(this)||this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return WNe.apply(e,n)}}catch(AE){}}}],[{key:"__initStatic",value:function(){this.id="FunctionToString"}}]),e}();function XNe(e){return new YNe((function(t){t(e)}))}function QNe(e){return new YNe((function(t,n){n(e)}))}VNe.__initStatic(),function(e){e[e.PENDING=0]="PENDING";e[e.RESOLVED=1]="RESOLVED";e[e.REJECTED=2]="REJECTED"}($Ne||($Ne={}));var YNe=function(){function e(t){(0,o.Z)(this,e),e.prototype.__init.call(this),e.prototype.__init2.call(this),e.prototype.__init3.call(this),e.prototype.__init4.call(this),this._state=$Ne.PENDING,this._handlers=[];try{t(this._resolve,this._reject)}catch(AE){this._reject(AE)}}return(0,i.Z)(e,[{key:"then",value:function(t,n){var r=this;return new e((function(e,o){r._handlers.push([!1,function(n){if(t)try{e(t(n))}catch(AE){o(AE)}else e(n)},function(t){if(n)try{e(n(t))}catch(AE){o(AE)}else o(t)}]),r._executeHandlers()}))}},{key:"catch",value:function(e){return this.then((function(e){return e}),e)}},{key:"finally",value:function(t){var n=this;return new e((function(e,r){var o,i;return n.then((function(e){i=!1,o=e,t&&t()}),(function(e){i=!0,o=e,t&&t()})).then((function(){i?r(o):e(o)}))}))}},{key:"__init",value:function(){var e=this;this._resolve=function(t){e._setResult($Ne.RESOLVED,t)}}},{key:"__init2",value:function(){var e=this;this._reject=function(t){e._setResult($Ne.REJECTED,t)}}},{key:"__init3",value:function(){var e=this;this._setResult=function(t,n){e._state===$Ne.PENDING&&(fNe(n)?n.then(e._resolve,e._reject):(e._state=t,e._value=n,e._executeHandlers()))}}},{key:"__init4",value:function(){var e=this;this._executeHandlers=function(){if(e._state!==$Ne.PENDING){var t=e._handlers.slice();e._handlers=[],t.forEach((function(t){t[0]||(e._state===$Ne.RESOLVED&&t[1](e._value),e._state===$Ne.REJECTED&&t[2](e._value),t[0]=!0)}))}}}}]),e}();function GNe(){return(0,JDe.YO)("globalEventProcessors",(function(){return[]}))}function KNe(e){GNe().push(e)}function JNe(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return new YNe((function(o,i){var a=e[r];if(null===t||"function"!==typeof a)o(t);else{var s=a(Us({},t),n);("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.id&&null===s&&rNe.log('Event processor "'.concat(a.id,'" dropped event')),fNe(s)?s.then((function(t){return JNe(e,t,n,r+1).then(o)})).then(null,i):JNe(e,s,n,r+1).then(o).then(null,i)}}))}var eTe=__webpack_require__(11048),tTe="production";function nTe(e){var t=(0,eTe.ph)(),n={sid:jNe(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:function(){return function(e){return NNe({sid:"".concat(e.sid),init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"===typeof e.did||"string"===typeof e.did?"".concat(e.did):void 0,duration:e.duration,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}(n)}};return e&&rTe(n,e),n}function rTe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||(0,eTe.ph)(),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:jNe()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did="".concat(t.did)),"number"===typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"===typeof t.duration)e.duration=t.duration;else{var n=e.timestamp-e.started;e.duration=n>=0?n:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"===typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}var oTe=function(){function e(){(0,o.Z)(this,e),this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=iTe()}return(0,i.Z)(e,[{key:"addScopeListener",value:function(e){this._scopeListeners.push(e)}},{key:"addEventProcessor",value:function(e){return this._eventProcessors.push(e),this}},{key:"setUser",value:function(e){return this._user=e||{},this._session&&rTe(this._session,{user:e}),this._notifyScopeListeners(),this}},{key:"getUser",value:function(){return this._user}},{key:"getRequestSession",value:function(){return this._requestSession}},{key:"setRequestSession",value:function(e){return this._requestSession=e,this}},{key:"setTags",value:function(e){return this._tags=Us(Us({},this._tags),e),this._notifyScopeListeners(),this}},{key:"setTag",value:function(e,t){return this._tags=Us(Us({},this._tags),{},{[e]:t}),this._notifyScopeListeners(),this}},{key:"setExtras",value:function(e){return this._extra=Us(Us({},this._extra),e),this._notifyScopeListeners(),this}},{key:"setExtra",value:function(e,t){return this._extra=Us(Us({},this._extra),{},{[e]:t}),this._notifyScopeListeners(),this}},{key:"setFingerprint",value:function(e){return this._fingerprint=e,this._notifyScopeListeners(),this}},{key:"setLevel",value:function(e){return this._level=e,this._notifyScopeListeners(),this}},{key:"setTransactionName",value:function(e){return this._transactionName=e,this._notifyScopeListeners(),this}},{key:"setContext",value:function(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}},{key:"setSpan",value:function(e){return this._span=e,this._notifyScopeListeners(),this}},{key:"getSpan",value:function(){return this._span}},{key:"getTransaction",value:function(){var e=this.getSpan();return e&&e.transaction}},{key:"setSession",value:function(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}},{key:"getSession",value:function(){return this._session}},{key:"update",value:function(t){if(!t)return this;if("function"===typeof t){var n=t(this);return n instanceof e?n:this}return t instanceof e?(this._tags=Us(Us({},this._tags),t._tags),this._extra=Us(Us({},this._extra),t._extra),this._contexts=Us(Us({},this._contexts),t._contexts),t._user&&Object.keys(t._user).length&&(this._user=t._user),t._level&&(this._level=t._level),t._fingerprint&&(this._fingerprint=t._fingerprint),t._requestSession&&(this._requestSession=t._requestSession),t._propagationContext&&(this._propagationContext=t._propagationContext)):dNe(t)&&(this._tags=Us(Us({},this._tags),t.tags),this._extra=Us(Us({},this._extra),t.extra),this._contexts=Us(Us({},this._contexts),t.contexts),t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession),t.propagationContext&&(this._propagationContext=t.propagationContext)),this}},{key:"clear",value:function(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=iTe(),this}},{key:"addBreadcrumb",value:function(e,t){var n="number"===typeof t?t:100;if(n<=0)return this;var r=Us({timestamp:(0,eTe.yW)()},e),o=this._breadcrumbs;return o.push(r),this._breadcrumbs=o.length>n?o.slice(-n):o,this._notifyScopeListeners(),this}},{key:"getLastBreadcrumb",value:function(){return this._breadcrumbs[this._breadcrumbs.length-1]}},{key:"clearBreadcrumbs",value:function(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}},{key:"addAttachment",value:function(e){return this._attachments.push(e),this}},{key:"getAttachments",value:function(){return this._attachments}},{key:"clearAttachments",value:function(){return this._attachments=[],this}},{key:"applyToEvent",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;if(this._extra&&Object.keys(this._extra).length&&(e.extra=Us(Us({},this._extra),e.extra)),this._tags&&Object.keys(this._tags).length&&(e.tags=Us(Us({},this._tags),e.tags)),this._user&&Object.keys(this._user).length&&(e.user=Us(Us({},this._user),e.user)),this._contexts&&Object.keys(this._contexts).length&&(e.contexts=Us(Us({},this._contexts),e.contexts)),this._level&&(e.level=this._level),this._transactionName&&(e.transaction=this._transactionName),this._span){e.contexts=Us({trace:this._span.getTraceContext()},e.contexts);var o=this._span.transaction;if(o){e.sdkProcessingMetadata=Us({dynamicSamplingContext:o.getDynamicSamplingContext()},e.sdkProcessingMetadata);var i=o.name;i&&(e.tags=Us({transaction:i},e.tags))}}this._applyFingerprint(e);var a=this._getBreadcrumbs(),s=[].concat((0,r.Z)(e.breadcrumbs||[]),(0,r.Z)(a));return e.breadcrumbs=s.length>0?s:void 0,e.sdkProcessingMetadata=Us(Us(Us({},e.sdkProcessingMetadata),this._sdkProcessingMetadata),{},{propagationContext:this._propagationContext}),JNe([].concat((0,r.Z)(n||[]),(0,r.Z)(GNe()),(0,r.Z)(this._eventProcessors)),e,t)}},{key:"setSDKProcessingMetadata",value:function(e){return this._sdkProcessingMetadata=Us(Us({},this._sdkProcessingMetadata),e),this}},{key:"setPropagationContext",value:function(e){return this._propagationContext=e,this}},{key:"getPropagationContext",value:function(){return this._propagationContext}},{key:"_getBreadcrumbs",value:function(){return this._breadcrumbs}},{key:"_notifyScopeListeners",value:function(){var e=this;this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((function(t){t(e)})),this._notifyingListeners=!1)}},{key:"_applyFingerprint",value:function(e){e.fingerprint=e.fingerprint?INe(e.fingerprint):[],this._fingerprint&&(e.fingerprint=e.fingerprint.concat(this._fingerprint)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}}],[{key:"clone",value:function(t){var n=new e;return t&&(n._breadcrumbs=(0,r.Z)(t._breadcrumbs),n._tags=Us({},t._tags),n._extra=Us({},t._extra),n._contexts=Us({},t._contexts),n._user=t._user,n._level=t._level,n._span=t._span,n._session=t._session,n._transactionName=t._transactionName,n._fingerprint=t._fingerprint,n._eventProcessors=(0,r.Z)(t._eventProcessors),n._requestSession=t._requestSession,n._attachments=(0,r.Z)(t._attachments),n._sdkProcessingMetadata=Us({},t._sdkProcessingMetadata),n._propagationContext=Us({},t._propagationContext)),n}}]),e}();function iTe(){return{traceId:jNe(),spanId:jNe().substring(16)}}var aTe=4,sTe=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new oTe,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:aTe;(0,o.Z)(this,e),this._version=r,this._stack=[{scope:n}],t&&this.bindClient(t)}return(0,i.Z)(e,[{key:"isOlderThan",value:function(e){return this._version<e}},{key:"bindClient",value:function(e){this.getStackTop().client=e,e&&e.setupIntegrations&&e.setupIntegrations()}},{key:"pushScope",value:function(){var e=oTe.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:e}),e}},{key:"popScope",value:function(){return!(this.getStack().length<=1)&&!!this.getStack().pop()}},{key:"withScope",value:function(e){var t=this.pushScope();try{e(t)}finally{this.popScope()}}},{key:"getClient",value:function(){return this.getStackTop().client}},{key:"getScope",value:function(){return this.getStackTop().scope}},{key:"getStack",value:function(){return this._stack}},{key:"getStackTop",value:function(){return this._stack[this._stack.length-1]}},{key:"captureException",value:function(e,t){var n=this._lastEventId=t&&t.event_id?t.event_id:jNe(),r=new Error("Sentry syntheticException");return this._withClient((function(o,i){o.captureException(e,Us(Us({originalException:e,syntheticException:r},t),{},{event_id:n}),i)})),n}},{key:"captureMessage",value:function(e,t,n){var r=this._lastEventId=n&&n.event_id?n.event_id:jNe(),o=new Error(e);return this._withClient((function(i,a){i.captureMessage(e,t,Us(Us({originalException:e,syntheticException:o},n),{},{event_id:r}),a)})),r}},{key:"captureEvent",value:function(e,t){var n=t&&t.event_id?t.event_id:jNe();return e.type||(this._lastEventId=n),this._withClient((function(r,o){r.captureEvent(e,Us(Us({},t),{},{event_id:n}),o)})),n}},{key:"lastEventId",value:function(){return this._lastEventId}},{key:"addBreadcrumb",value:function(e,t){var n=this.getStackTop(),r=n.scope,o=n.client;if(o){var i=o.getOptions&&o.getOptions()||{},a=i.beforeBreadcrumb,s=void 0===a?null:a,l=i.maxBreadcrumbs,c=void 0===l?100:l;if(!(c<=0)){var u=Us({timestamp:(0,eTe.yW)()},e),d=s?nNe((function(){return s(u,t)})):u;null!==d&&(o.emit&&o.emit("beforeAddBreadcrumb",d,t),r.addBreadcrumb(d,c))}}}},{key:"setUser",value:function(e){this.getScope().setUser(e)}},{key:"setTags",value:function(e){this.getScope().setTags(e)}},{key:"setExtras",value:function(e){this.getScope().setExtras(e)}},{key:"setTag",value:function(e,t){this.getScope().setTag(e,t)}},{key:"setExtra",value:function(e,t){this.getScope().setExtra(e,t)}},{key:"setContext",value:function(e,t){this.getScope().setContext(e,t)}},{key:"configureScope",value:function(e){var t=this.getStackTop(),n=t.scope;t.client&&e(n)}},{key:"run",value:function(e){var t=cTe(this);try{e(this)}finally{cTe(t)}}},{key:"getIntegration",value:function(e){var t=this.getClient();if(!t)return null;try{return t.getIntegration(e)}catch(n){return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.warn("Cannot retrieve integration ".concat(e.id," from the current Hub")),null}}},{key:"startTransaction",value:function(e,t){var n=this._callExtensionMethod("startTransaction",e,t);"undefined"!==typeof __SENTRY_DEBUG__&&!__SENTRY_DEBUG__||n||(this.getClient()?console.warn("Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':\nSentry.addTracingExtensions();\nSentry.init({...});\n"):console.warn("Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'"));return n}},{key:"traceHeaders",value:function(){return this._callExtensionMethod("traceHeaders")}},{key:"captureSession",value:function(){if(arguments.length>0&&void 0!==arguments[0]&&arguments[0])return this.endSession();this._sendSessionUpdate()}},{key:"endSession",value:function(){var e=this.getStackTop().scope,t=e.getSession();t&&function(e,t){var n={};t?n={status:t}:"ok"===e.status&&(n={status:"exited"}),rTe(e,n)}(t),this._sendSessionUpdate(),e.setSession()}},{key:"startSession",value:function(e){var t=this.getStackTop(),n=t.scope,r=t.client,o=r&&r.getOptions()||{},i=o.release,a=o.environment,s=void 0===a?tTe:a,l=(JDe.n2.navigator||{}).userAgent,c=nTe(Us(Us({release:i,environment:s,user:n.getUser()},l&&{userAgent:l}),e)),u=n.getSession&&n.getSession();return u&&"ok"===u.status&&rTe(u,{status:"exited"}),this.endSession(),n.setSession(c),c}},{key:"shouldSendDefaultPii",value:function(){var e=this.getClient(),t=e&&e.getOptions();return Boolean(t&&t.sendDefaultPii)}},{key:"_sendSessionUpdate",value:function(){var e=this.getStackTop(),t=e.scope,n=e.client,r=t.getSession();r&&n&&n.captureSession&&n.captureSession(r)}},{key:"_withClient",value:function(e){var t=this.getStackTop(),n=t.scope,r=t.client;r&&e(r,n)}},{key:"_callExtensionMethod",value:function(e){var t=lTe().__SENTRY__;if(t&&t.extensions&&"function"===typeof t.extensions[e]){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t.extensions[e].apply(this,r)}("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.warn("Extension method ".concat(e," couldn't be found, doing nothing."))}}]),e}();function lTe(){return JDe.n2.__SENTRY__=JDe.n2.__SENTRY__||{extensions:{},hub:void 0},JDe.n2}function cTe(e){var t=lTe(),n=fTe(t);return hTe(t,e),n}function uTe(){var e=lTe();if(e.__SENTRY__&&e.__SENTRY__.acs){var t=e.__SENTRY__.acs.getCurrentHub();if(t)return t}return dTe(e)}function dTe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:lTe();return pTe(e)&&!fTe(e).isOlderThan(aTe)||hTe(e,new sTe),fTe(e)}function pTe(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function fTe(e){return(0,JDe.YO)("hub",(function(){return new sTe}),e)}function hTe(e,t){return!!e&&((e.__SENTRY__=e.__SENTRY__||{}).hub=t,!0)}var bTe=[];function ATe(e){var t=e.defaultIntegrations||[],o=e.integrations;t.forEach((function(e){e.isDefaultInstance=!0}));var i=function(e){var t={};return e.forEach((function(e){var n=e.name,r=t[n];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)})),Object.keys(t).map((function(e){return t[e]}))}(Array.isArray(o)?[].concat((0,r.Z)(t),(0,r.Z)(o)):"function"===typeof o?INe(o(t)):t),a=function(e,t){for(var n=0;n<e.length;n++)if(!0===t(e[n]))return n;return-1}(i,(function(e){return"Debug"===e.name}));if(-1!==a){var s=i.splice(a,1),l=(0,n.Z)(s,1)[0];i.push(l)}return i}function mTe(e,t,n){if(n[t.name]=t,-1===bTe.indexOf(t.name)&&(t.setupOnce(KNe,uTe),bTe.push(t.name)),e.on&&"function"===typeof t.preprocessEvent){var r=t.preprocessEvent.bind(t);e.on("preprocessEvent",(function(t,n){return r(t,n,e)}))}if(e.addEventProcessor&&"function"===typeof t.processEvent){var o=t.processEvent.bind(t),i=Object.assign((function(t,n){return o(t,n,e)}),{id:t.name});e.addEventProcessor(i)}("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.log("Integration installed: ".concat(t.name))}var gTe=50,vTe=/\(error: (.*)\)/,yTe=/captureMessage|captureException/;function MTe(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.sort((function(e,t){return e[0]-t[0]})).map((function(e){return e[1]}));return function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],o=e.split("\n"),i=t;i<o.length;i++){var a=o[i];if(!(a.length>1024)){var s=vTe.test(a)?a.replace(vTe,"$1"):a;if(!s.match(/\S*Error: /)){var l,c=(0,b.Z)(r);try{for(c.s();!(l=c.n()).done;){var u=(0,l.value)(s);if(u){n.push(u);break}}}catch(d){c.e(d)}finally{c.f()}if(n.length>=gTe)break}}}return function(e){if(!e.length)return[];var t=Array.from(e);/sentryWrapped/.test(t[t.length-1].function||"")&&t.pop();t.reverse(),yTe.test(t[t.length-1].function||"")&&(t.pop(),yTe.test(t[t.length-1].function||"")&&t.pop());return t.slice(0,gTe).map((function(e){return Us(Us({},e),{},{filename:e.filename||t[t.length-1].filename,function:e.function||"?"})}))}(n)}}var OTe="<anonymous>";function _Te(e){try{return e&&"function"===typeof e&&e.name||OTe}catch(AE){return OTe}}var zTe=(0,JDe.Rf)();function xTe(){if(!("fetch"in zTe))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(AE){return!1}}function wTe(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}var CTe=(0,JDe.Rf)();var STe,ETe=(0,JDe.Rf)(),kTe="__sentry_xhr_v2__",DTe={},NTe={};function TTe(e){if(!NTe[e])switch(NTe[e]=!0,e){case"console":!function(){if(!("console"in JDe.n2))return;eNe.forEach((function(e){e in JDe.n2.console&&xNe(JDe.n2.console,e,(function(t){return tNe[e]=t,function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];BTe("console",{args:n,level:e});var o=tNe[e];o&&o.apply(JDe.n2.console,n)}}))}))}();break;case"dom":!function(){if(!ETe.document)return;var e=BTe.bind(null,"dom"),t=WTe(e,!0);ETe.document.addEventListener("click",t,!1),ETe.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach((function(t){var n=ETe[t]&&ETe[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(xNe(n,"addEventListener",(function(t){return function(n,r,o){if("click"===n||"keypress"==n)try{var i=this,a=i.__sentry_instrumentation_handlers__=i.__sentry_instrumentation_handlers__||{},s=a[n]=a[n]||{refCount:0};if(!s.handler){var l=WTe(e);s.handler=l,t.call(this,n,l,o)}s.refCount++}catch(AE){}return t.call(this,n,r,o)}})),xNe(n,"removeEventListener",(function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{var o=this,i=o.__sentry_instrumentation_handlers__||{},a=i[t];a&&(a.refCount--,a.refCount<=0&&(e.call(this,t,a.handler,r),a.handler=void 0,delete i[t]),0===Object.keys(i).length&&delete o.__sentry_instrumentation_handlers__)}catch(AE){}return e.call(this,t,n,r)}})))}))}();break;case"xhr":!function(){if(!ETe.XMLHttpRequest)return;var e=XMLHttpRequest.prototype;xNe(e,"open",(function(e){return function(){for(var t=this,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=r[1],a=this[kTe]={method:cNe(r[0])?r[0].toUpperCase():r[0],url:r[1],request_headers:{}};cNe(i)&&"POST"===a.method&&i.match(/sentry_key/)&&(this.__sentry_own_request__=!0);var s=function(){var e=t[kTe];if(e&&4===t.readyState){try{e.status_code=t.status}catch(AE){}BTe("xhr",{args:r,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:t})}};return"onreadystatechange"in this&&"function"===typeof this.onreadystatechange?xNe(this,"onreadystatechange",(function(e){return function(){s();for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.apply(this,n)}})):this.addEventListener("readystatechange",s),xNe(this,"setRequestHeader",(function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=n[0],i=n[1],a=this[kTe];return a&&(a.request_headers[o.toLowerCase()]=i),e.apply(this,n)}})),e.apply(this,r)}})),xNe(e,"send",(function(e){return function(){for(var t=this[kTe],n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t&&void 0!==r[0]&&(t.body=r[0]),BTe("xhr",{args:r,startTimestamp:Date.now(),xhr:this}),e.apply(this,r)}}))}();break;case"fetch":!function(){if(!function(){if(!xTe())return!1;if(wTe(zTe.fetch))return!0;var e=!1,t=zTe.document;if(t&&"function"===typeof t.createElement)try{var n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=wTe(n.contentWindow.fetch)),t.head.removeChild(n)}catch(r){("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",r)}return e}())return;xNe(JDe.n2,"fetch",(function(e){return function(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];var i=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){var t=(0,n.Z)(e,2),r=t[0],o=t[1];return{url:RTe(r),method:LTe(o,"method")?String(o.method).toUpperCase():"GET"}}var i=e[0];return{url:RTe(i),method:LTe(i,"method")?String(i.method).toUpperCase():"GET"}}(r),a={args:r,fetchData:{method:i.method,url:i.url},startTimestamp:Date.now()};return BTe("fetch",Us({},a)),e.apply(JDe.n2,r).then((function(e){return BTe("fetch",Us(Us({},a),{},{endTimestamp:Date.now(),response:e})),e}),(function(e){throw BTe("fetch",Us(Us({},a),{},{endTimestamp:Date.now(),error:e})),e}))}}))}();break;case"history":!function(){if(!function(){var e=CTe.chrome,t=e&&e.app&&e.app.runtime,n="history"in CTe&&!!CTe.history.pushState&&!!CTe.history.replaceState;return!t&&n}())return;var e=ETe.onpopstate;function t(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=n.length>2?n[2]:void 0;if(o){var i=STe,a=String(o);STe=a,BTe("history",{from:i,to:a})}return e.apply(this,n)}}ETe.onpopstate=function(){var t=ETe.location.href,n=STe;if(STe=t,BTe("history",{from:n,to:t}),e)try{for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e.apply(this,o)}catch(a){}},xNe(ETe.history,"pushState",t),xNe(ETe.history,"replaceState",t)}();break;case"error":FTe=ETe.onerror,ETe.onerror=function(e,t,n,r,o){return BTe("error",{column:r,error:o,line:n,msg:e,url:t}),!(!FTe||FTe.__SENTRY_LOADER__)&&FTe.apply(this,arguments)},ETe.onerror.__SENTRY_INSTRUMENTED__=!0;break;case"unhandledrejection":UTe=ETe.onunhandledrejection,ETe.onunhandledrejection=function(e){return BTe("unhandledrejection",e),!(UTe&&!UTe.__SENTRY_LOADER__)||UTe.apply(this,arguments)},ETe.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0;break;default:return void(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.warn("unknown instrumentation type:",e))}}function jTe(e,t){DTe[e]=DTe[e]||[],DTe[e].push(t),TTe(e)}function BTe(e,t){if(e&&DTe[e]){var n,r=(0,b.Z)(DTe[e]||[]);try{for(r.s();!(n=r.n()).done;){var o=n.value;try{o(t)}catch(AE){("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.error("Error while triggering instrumentation handler.\nType: ".concat(e,"\nName: ").concat(_Te(o),"\nError:"),AE)}}}catch(i){r.e(i)}finally{r.f()}}}function LTe(e,t){return!!e&&"object"===typeof e&&!!e[t]}function RTe(e){return"string"===typeof e?e:e?LTe(e,"url")?e.url:e.toString?e.toString():"":""}var qTe,PTe,ITe=1e3;function WTe(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n){if(n&&PTe!==n&&!function(e){if("keypress"!==e.type)return!1;try{var t=e.target;if(!t||!t.tagName)return!0;if("INPUT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable)return!1}catch(AE){}return!0}(n)){var r="keypress"===n.type?"input":n.type;(void 0===qTe||function(e,t){if(!e)return!0;if(e.type!==t.type)return!0;try{if(e.target!==t.target)return!0}catch(AE){}return!1}(PTe,n))&&(e({event:n,name:r,global:t}),PTe=n),clearTimeout(qTe),qTe=ETe.setTimeout((function(){qTe=void 0}),ITe)}}}var FTe=null;var UTe=null;var ZTe=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function HTe(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.host,r=e.path,o=e.pass,i=e.port,a=e.projectId,s=e.protocol,l=e.publicKey;return"".concat(s,"://").concat(l).concat(t&&o?":".concat(o):"")+"@".concat(n).concat(i?":".concat(i):"","/").concat(r?"".concat(r,"/"):r).concat(a)}function $Te(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function VTe(e){var t="string"===typeof e?function(e){var t=ZTe.exec(e);if(t){var r=t.slice(1),o=(0,n.Z)(r,6),i=o[0],a=o[1],s=o[2],l=void 0===s?"":s,c=o[3],u=o[4],d=void 0===u?"":u,p="",f=o[5],h=f.split("/");if(h.length>1&&(p=h.slice(0,-1).join("/"),f=h.pop()),f){var b=f.match(/^\d+/);b&&(f=b[0])}return $Te({host:c,pass:l,path:p,projectId:f,port:d,protocol:i,publicKey:a})}console.error("Invalid Sentry Dsn: ".concat(e))}(e):$Te(e);if(t&&function(e){if("undefined"!==typeof __SENTRY_DEBUG__&&!__SENTRY_DEBUG__)return!0;var t=e.port,n=e.projectId,r=e.protocol;return!["protocol","publicKey","host","projectId"].find((function(t){return!e[t]&&(rNe.error("Invalid Sentry Dsn: ".concat(t," missing")),!0)}))&&(n.match(/^\d+$/)?function(e){return"http"===e||"https"===e}(r)?!t||!isNaN(parseInt(t,10))||(rNe.error("Invalid Sentry Dsn: Invalid port ".concat(t)),!1):(rNe.error("Invalid Sentry Dsn: Invalid protocol ".concat(r)),!1):(rNe.error("Invalid Sentry Dsn: Invalid projectId ".concat(n)),!1))}(t))return t}function XTe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0;try{return YTe("",e,t,n)}catch(r){return{ERROR:"**non-serializable** (".concat(r,")")}}}function QTe(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:102400,o=XTe(e,n);return t=o,function(e){return~-encodeURI(e).split(/%..|./).length}(JSON.stringify(t))>r?QTe(e,n-1,r):o}function YTe(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1/0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){var e="function"===typeof WeakSet,t=e?new WeakSet:[];return[function(n){if(e)return!!t.has(n)||(t.add(n),!1);for(var r=0;r<t.length;r++)if(t[r]===n)return!0;return t.push(n),!1},function(n){if(e)t.delete(n);else for(var r=0;r<t.length;r++)if(t[r]===n){t.splice(r,1);break}}]}(),a=(0,n.Z)(i,2),s=a[0],l=a[1];if(null==t||["number","boolean","string"].includes(typeof t)&&!hNe(t))return t;var c=function(e,t){try{if("domain"===e&&t&&"object"===typeof t&&t._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if("undefined"!==typeof __webpack_require__.g&&t===__webpack_require__.g)return"[Global]";if("undefined"!==typeof window&&t===window)return"[Window]";if("undefined"!==typeof document&&t===document)return"[Document]";if(ANe(t))return"[VueViewModel]";if(dNe(r=t)&&"nativeEvent"in r&&"preventDefault"in r&&"stopPropagation"in r)return"[SyntheticEvent]";if("number"===typeof t&&t!==t)return"[NaN]";if("function"===typeof t)return"[Function: ".concat(_Te(t),"]");if("symbol"===typeof t)return"[".concat(String(t),"]");if("bigint"===typeof t)return"[BigInt: ".concat(String(t),"]");var n=function(e){var t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}(t);return/^HTML(\w*)Element$/.test(n)?"[HTMLElement: ".concat(n,"]"):"[object ".concat(n,"]")}catch(o){return"**non-serializable** (".concat(o,")")}var r}(e,t);if(!c.startsWith("[object "))return c;if(t.__sentry_skip_normalization__)return t;var u="number"===typeof t.__sentry_override_normalization_depth__?t.__sentry_override_normalization_depth__:r;if(0===u)return c.replace("object ","");if(s(t))return"[Circular ~]";var d=t;if(d&&"function"===typeof d.toJSON)try{return YTe("",d.toJSON(),u-1,o,i)}catch(m){}var p=Array.isArray(t)?[]:{},f=0,h=ENe(t);for(var b in h)if(Object.prototype.hasOwnProperty.call(h,b)){if(f>=o){p[b]="[MaxProperties ~]";break}var A=h[b];p[b]=YTe(b,A,u-1,o,i),f++}return l(t),p}function GTe(e){return[e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]]}function KTe(e,t){var o=(0,n.Z)(e,2),i=o[0],a=o[1];return[i,[].concat((0,r.Z)(a),[t])]}function JTe(e,t){var n,r=e[1],o=(0,b.Z)(r);try{for(o.s();!(n=o.n()).done;){var i=n.value;if(t(i,i[0].type))return!0}}catch(a){o.e(a)}finally{o.f()}return!1}function eje(e,t){return(t||new TextEncoder).encode(e)}function tje(e,t){var r=(0,n.Z)(e,2),o=r[0],i=r[1],a=JSON.stringify(o);function s(e){"string"===typeof a?a="string"===typeof e?a+e:[eje(a,t),e]:a.push("string"===typeof e?eje(e,t):e)}var l,c=(0,b.Z)(i);try{for(c.s();!(l=c.n()).done;){var u=l.value,d=(0,n.Z)(u,2),p=d[0],f=d[1];if(s("\n".concat(JSON.stringify(p),"\n")),"string"===typeof f||f instanceof Uint8Array)s(f);else{var h=void 0;try{h=JSON.stringify(f)}catch(AE){h=JSON.stringify(XTe(f))}s(h)}}}catch(A){c.e(A)}finally{c.f()}return"string"===typeof a?a:function(e){var t,n=e.reduce((function(e,t){return e+t.length}),0),r=new Uint8Array(n),o=0,i=(0,b.Z)(e);try{for(i.s();!(t=i.n()).done;){var a=t.value;r.set(a,o),o+=a.length}}catch(A){i.e(A)}finally{i.f()}return r}(a)}function nje(e,t){var n="string"===typeof e.data?eje(e.data,t):e.data;return[NNe({type:"attachment",length:n.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),n]}var rje={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor"};function oje(e){return rje[e]}function ije(e){if(e&&e.sdk){var t=e.sdk;return{name:t.name,version:t.version}}}function aje(e,t,n,r){var o=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return Us(Us(Us({event_id:e.event_id,sent_at:(new Date).toISOString()},t&&{sdk:t}),!!n&&{dsn:HTe(r)}),o&&{trace:NNe(Us({},o))})}var sje=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(e){var r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"warn";return(0,o.Z)(this,n),(r=t.call(this,e)).message=e,r.name=(this instanceof n?this.constructor:void 0).prototype.constructor.name,Object.setPrototypeOf((0,YF.Z)(r),(this instanceof n?this.constructor:void 0).prototype),r.logLevel=i,r}return(0,i.Z)(n)}((0,l.Z)(Error)),lje="7";function cje(e){var t=e.protocol?"".concat(e.protocol,":"):"",n=e.port?":".concat(e.port):"";return"".concat(t,"//").concat(e.host).concat(n).concat(e.path?"/".concat(e.path):"","/api/")}function uje(e,t){return n=Us({sentry_key:e.publicKey,sentry_version:lje},t&&{sentry_client:"".concat(t.name,"/").concat(t.version)}),Object.keys(n).map((function(e){return"".concat(encodeURIComponent(e),"=").concat(encodeURIComponent(n[e]))})).join("&");var n}function dje(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="string"===typeof t?t:t.tunnel,r="string"!==typeof t&&t._metadata?t._metadata.sdk:void 0;return n||"".concat(function(e){return"".concat(cje(e)).concat(e.projectId,"/envelope/")}(e),"?").concat(uje(e,r))}function pje(e,t,n,o){var i=ije(n),a=e.type&&"replay_event"!==e.type?e.type:"event";!function(e,t){t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[].concat((0,r.Z)(e.sdk.integrations||[]),(0,r.Z)(t.integrations||[])),e.sdk.packages=[].concat((0,r.Z)(e.sdk.packages||[]),(0,r.Z)(t.packages||[])))}(e,n&&n.sdk);var s=aje(e,i,o,t);return delete e.sdkProcessingMetadata,GTe(s,[[{type:a},e]])}function fje(e,t,n){var r=t.getOptions(),o=(t.getDsn()||{}).publicKey,i=(n&&n.getUser()||{}).segment,a=NNe({environment:r.environment||tTe,release:r.release,user_segment:i,public_key:o,trace_id:e});return t.emit&&t.emit("createDsc",a),a}function hje(e,t,n,o,i){var a=e.normalizeDepth,s=void 0===a?3:a,l=e.normalizeMaxBreadth,c=void 0===l?1e3:l,u=Us(Us({},t),{},{event_id:t.event_id||n.event_id||jNe(),timestamp:t.timestamp||(0,eTe.yW)()}),d=n.integrations||e.integrations.map((function(e){return e.name}));!function(e,t){var n=t.environment,r=t.release,o=t.dist,i=t.maxValueLength,a=void 0===i?250:i;"environment"in e||(e.environment="environment"in t?n:tTe);void 0===e.release&&void 0!==r&&(e.release=r);void 0===e.dist&&void 0!==o&&(e.dist=o);e.message&&(e.message=MNe(e.message,a));var s=e.exception&&e.exception.values&&e.exception.values[0];s&&s.value&&(s.value=MNe(s.value,a));var l=e.request;l&&l.url&&(l.url=MNe(l.url,a))}(u,e),function(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[].concat((0,r.Z)(e.sdk.integrations||[]),(0,r.Z)(t)))}(u,d),void 0===t.type&&function(e,t){var n,r=JDe.n2._sentryDebugIds;if(!r)return;var o=bje.get(t);o?n=o:(n=new Map,bje.set(t,n));var i=Object.keys(r).reduce((function(e,o){var i,a=n.get(o);a?i=a:(i=t(o),n.set(o,i));for(var s=i.length-1;s>=0;s--){var l=i[s];if(l.filename){e[l.filename]=r[o];break}}return e}),{});try{e.exception.values.forEach((function(e){e.stacktrace.frames.forEach((function(e){e.filename&&(e.debug_id=i[e.filename])}))}))}catch(AE){}}(u,e.stackParser);var p=o;n.captureContext&&(p=oTe.clone(p).update(n.captureContext));var f=XNe(u),h=i&&i.getEventProcessors?i.getEventProcessors():[];if(p){if(p.getAttachments){var b=[].concat((0,r.Z)(n.attachments||[]),(0,r.Z)(p.getAttachments()));b.length&&(n.attachments=b)}f=p.applyToEvent(u,n,h)}else f=JNe([].concat((0,r.Z)(h),(0,r.Z)(GNe())),u,n);return f.then((function(e){return e&&function(e){var t={};try{e.exception.values.forEach((function(e){e.stacktrace.frames.forEach((function(e){e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)}))}))}catch(AE){}if(0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];var n=e.debug_meta.images;Object.keys(t).forEach((function(e){n.push({type:"sourcemap",code_file:e,debug_id:t[e]})}))}(e),"number"===typeof s&&s>0?function(e,t,n){if(!e)return null;var r=Us(Us(Us(Us(Us({},e),e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map((function(e){return Us(Us({},e),e.data&&{data:XTe(e.data,t,n)})}))}),e.user&&{user:XTe(e.user,t,n)}),e.contexts&&{contexts:XTe(e.contexts,t,n)}),e.extra&&{extra:XTe(e.extra,t,n)});e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=XTe(e.contexts.trace.data,t,n)));e.spans&&(r.spans=e.spans.map((function(e){return e.data&&(e.data=XTe(e.data,t,n)),e})));return r}(e,s,c):e}))}var bje=new WeakMap;var Aje="Not capturing exception because it's already been captured.",mje=function(){function e(t){if((0,o.Z)(this,e),this._options=t,this._integrations={},this._integrationsInitialized=!1,this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],t.dsn?this._dsn=VTe(t.dsn):("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.warn("No DSN provided, client will not do anything."),this._dsn){var n=dje(this._dsn,t);this._transport=t.transport(Us(Us({recordDroppedEvent:this.recordDroppedEvent.bind(this)},t.transportOptions),{},{url:n}))}}return(0,i.Z)(e,[{key:"captureException",value:function(e,t,n){var r=this;if(!PNe(e)){var o=t&&t.event_id;return this._process(this.eventFromException(e,t).then((function(e){return r._captureEvent(e,t,n)})).then((function(e){o=e}))),o}("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.log(Aje)}},{key:"captureMessage",value:function(e,t,n,r){var o=this,i=n&&n.event_id,a=uNe(e)?this.eventFromMessage(String(e),t,n):this.eventFromException(e,n);return this._process(a.then((function(e){return o._captureEvent(e,n,r)})).then((function(e){i=e}))),i}},{key:"captureEvent",value:function(e,t,n){if(!(t&&t.originalException&&PNe(t.originalException))){var r=t&&t.event_id;return this._process(this._captureEvent(e,t,n).then((function(e){r=e}))),r}("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.log(Aje)}},{key:"captureSession",value:function(e){this._isEnabled()?"string"!==typeof e.release?("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),rTe(e,{init:!1})):("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.warn("SDK not enabled, will not capture session.")}},{key:"getDsn",value:function(){return this._dsn}},{key:"getOptions",value:function(){return this._options}},{key:"getSdkMetadata",value:function(){return this._options._metadata}},{key:"getTransport",value:function(){return this._transport}},{key:"flush",value:function(e){var t=this._transport;return t?this._isClientDoneProcessing(e).then((function(n){return t.flush(e).then((function(e){return n&&e}))})):XNe(!0)}},{key:"close",value:function(e){var t=this;return this.flush(e).then((function(e){return t.getOptions().enabled=!1,e}))}},{key:"getEventProcessors",value:function(){return this._eventProcessors}},{key:"addEventProcessor",value:function(e){this._eventProcessors.push(e)}},{key:"setupIntegrations",value:function(){this._isEnabled()&&!this._integrationsInitialized&&(this._integrations=function(e,t){var n={};return t.forEach((function(t){t&&mTe(e,t,n)})),n}(this,this._options.integrations),this._integrationsInitialized=!0)}},{key:"getIntegrationById",value:function(e){return this._integrations[e]}},{key:"getIntegration",value:function(e){try{return this._integrations[e.id]||null}catch(t){return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.warn("Cannot retrieve integration ".concat(e.id," from the current Client")),null}}},{key:"addIntegration",value:function(e){mTe(this,e,this._integrations)}},{key:"sendEvent",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.emit("beforeSendEvent",e,n),this._dsn){var r,o=pje(e,this._dsn,this._options._metadata,this._options.tunnel),i=(0,b.Z)(n.attachments||[]);try{for(i.s();!(r=i.n()).done;){o=KTe(o,nje(r.value,this._options.transportOptions&&this._options.transportOptions.textEncoder))}}catch(s){i.e(s)}finally{i.f()}var a=this._sendEnvelope(o);a&&a.then((function(n){return t.emit("afterSendEvent",e,n)}),null)}}},{key:"sendSession",value:function(e){if(this._dsn){var t=function(e,t,n,r){var o=ije(n);return GTe(Us(Us({sent_at:(new Date).toISOString()},o&&{sdk:o}),!!r&&{dsn:HTe(t)}),["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()]])}(e,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(t)}}},{key:"recordDroppedEvent",value:function(e,t,n){if(this._options.sendClientReports){var r="".concat(e,":").concat(t);("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.log('Adding outcome: "'.concat(r,'"')),this._outcomes[r]=this._outcomes[r]+1||1}}},{key:"on",value:function(e,t){this._hooks[e]||(this._hooks[e]=[]),this._hooks[e].push(t)}},{key:"emit",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this._hooks[e]&&this._hooks[e].forEach((function(e){return e.apply(void 0,n)}))}},{key:"_updateSessionFromEvent",value:function(e,t){var n=!1,r=!1,o=t.exception&&t.exception.values;if(o){r=!0;var i,a=(0,b.Z)(o);try{for(a.s();!(i=a.n()).done;){var s=i.value.mechanism;if(s&&!1===s.handled){n=!0;break}}}catch(c){a.e(c)}finally{a.f()}}var l="ok"===e.status;(l&&0===e.errors||l&&n)&&(rTe(e,Us(Us({},n&&{status:"crashed"}),{},{errors:e.errors||Number(r||n)})),this.captureSession(e))}},{key:"_isClientDoneProcessing",value:function(e){var t=this;return new YNe((function(n){var r=0,o=setInterval((function(){0==t._numProcessing?(clearInterval(o),n(!0)):(r+=1,e&&r>=e&&(clearInterval(o),n(!1)))}),1)}))}},{key:"_isEnabled",value:function(){return!1!==this.getOptions().enabled&&void 0!==this._dsn}},{key:"_prepareEvent",value:function(e,t,n){var r=this,o=this.getOptions(),i=Object.keys(this._integrations);return!t.integrations&&i.length>0&&(t.integrations=i),this.emit("preprocessEvent",e,t),hje(o,e,t,n,this).then((function(e){if(null===e)return e;var t=(e.sdkProcessingMetadata||{}).propagationContext;if(!(e.contexts&&e.contexts.trace)&&t){var o=t.traceId,i=t.spanId,a=t.parentSpanId,s=t.dsc;e.contexts=Us({trace:{trace_id:o,span_id:i,parent_span_id:a}},e.contexts);var l=s||fje(o,r,n);e.sdkProcessingMetadata=Us({dynamicSamplingContext:l},e.sdkProcessingMetadata)}return e}))}},{key:"_captureEvent",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return this._processEvent(e,t,n).then((function(e){return e.event_id}),(function(e){if("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__){var t=e;"log"===t.logLevel?rNe.log(t.message):rNe.warn(t)}}))}},{key:"_processEvent",value:function(e,t,n){var r=this,o=this.getOptions(),i=o.sampleRate;if(!this._isEnabled())return QNe(new sje("SDK not enabled, will not capture event.","log"));var a=vje(e),s=gje(e),l=e.type||"error",c="before send for type `".concat(l,"`");if(s&&"number"===typeof i&&Math.random()>i)return this.recordDroppedEvent("sample_rate","error",e),QNe(new sje("Discarding event because it's not included in the random sample (sampling rate = ".concat(i,")"),"log"));var u="replay_event"===l?"replay":l;return this._prepareEvent(e,t,n).then((function(n){if(null===n)throw r.recordDroppedEvent("event_processor",u,e),new sje("An event processor returned `null`, will not send event.","log");if(t.data&&!0===t.data.__sentry__)return n;var i=function(e,t,n){var r=e.beforeSend,o=e.beforeSendTransaction;if(gje(t)&&r)return r(t,n);if(vje(t)&&o)return o(t,n);return t}(o,n,t);return function(e,t){var n="".concat(t," must return `null` or a valid event.");if(fNe(e))return e.then((function(e){if(!dNe(e)&&null!==e)throw new sje(n);return e}),(function(e){throw new sje("".concat(t," rejected with ").concat(e))}));if(!dNe(e)&&null!==e)throw new sje(n);return e}(i,c)})).then((function(o){if(null===o)throw r.recordDroppedEvent("before_send",u,e),new sje("".concat(c," returned `null`, will not send event."),"log");var i=n&&n.getSession();!a&&i&&r._updateSessionFromEvent(i,o);var s=o.transaction_info;if(a&&s&&o.transaction!==e.transaction){o.transaction_info=Us(Us({},s),{},{source:"custom"})}return r.sendEvent(o,t),o})).then(null,(function(e){if(e instanceof sje)throw e;throw r.captureException(e,{data:{__sentry__:!0},originalException:e}),new sje("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ".concat(e))}))}},{key:"_process",value:function(e){var t=this;this._numProcessing++,e.then((function(e){return t._numProcessing--,e}),(function(e){return t._numProcessing--,e}))}},{key:"_sendEnvelope",value:function(e){if(this._transport&&this._dsn)return this.emit("beforeEnvelope",e),this._transport.send(e).then(null,(function(e){("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.error("Error while sending event:",e)}));("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.error("Transport disabled")}},{key:"_clearOutcomes",value:function(){var e=this._outcomes;return this._outcomes={},Object.keys(e).map((function(t){var r=t.split(":"),o=(0,n.Z)(r,2);return{reason:o[0],category:o[1],quantity:e[t]}}))}}]),e}();function gje(e){return void 0===e.type}function vje(e){return"transaction"===e.type}var yje=__webpack_require__(66895);function Mje(e,t){var n=_je(e,t),r={type:t&&t.name,value:xje(t)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function Oje(e,t){return{exception:{values:[Mje(e,t)]}}}function _je(e,t){var n=t.stacktrace||t.stack||"",r=function(e){if(e){if("number"===typeof e.framesToPop)return e.framesToPop;if(zje.test(e.message))return 1}return 0}(t);try{return e(n,r)}catch(AE){}return[]}var zje=/Minified React error #\d+;/i;function xje(e){var t=e&&e.message;return t?t.error&&"string"===typeof t.error.message?t.error.message:t:"No error message"}function wje(e,t,n,r,o){var i;if(sNe(t)&&t.error)return Oje(e,t.error);if(lNe(t)||aNe(t,"DOMException")){var a=t;if("stack"in t)i=Oje(e,t);else{var s=a.name||(lNe(a)?"DOMError":"DOMException"),l=a.message?"".concat(s,": ").concat(a.message):s;RNe(i=Cje(e,l,n,r),l)}return"code"in a&&(i.tags=Us(Us({},i.tags),{},{"DOMException.code":"".concat(a.code)})),i}return iNe(t)?Oje(e,t):dNe(t)||pNe(t)?(i=function(e,t,n,r){var o=uTe().getClient(),i=o&&o.getOptions().normalizeDepth,a={exception:{values:[{type:pNe(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:Sje(t,{isUnhandledRejection:r})}]},extra:{__serialized__:QTe(t,i)}};if(n){var s=_je(e,n);s.length&&(a.exception.values[0].stacktrace={frames:s})}return a}(e,t,n,o),qNe(i,{synthetic:!0}),i):(RNe(i=Cje(e,t,n,r),"".concat(t),void 0),qNe(i,{synthetic:!0}),i)}function Cje(e,t,n,r){var o={message:t};if(r&&n){var i=_je(e,n);i.length&&(o.exception={values:[{value:t,stacktrace:{frames:i}}]})}return o}function Sje(e,t){var n=t.isUnhandledRejection,r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:40,n=Object.keys(ENe(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return MNe(n[0],t);for(var r=n.length;r>0;r--){var o=n.slice(0,r).join(", ");if(!(o.length>t))return r===n.length?o:MNe(o,t)}return""}(e),o=n?"promise rejection":"exception";if(sNe(e))return"Event `ErrorEvent` captured as ".concat(o," with message `").concat(e.message,"`");if(pNe(e)){var i=function(e){try{var t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(AE){}}(e);return"Event `".concat(i,"` (type=").concat(e.type,") captured as ").concat(o)}return"Object captured as ".concat(o," with keys: ").concat(r)}function Eje(e,t){return uTe().captureException(e,{captureContext:t})}function kje(e,t){uTe().setContext(e,t)}var Dje=JDe.n2,Nje=0;function Tje(){return Nje>0}function jje(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;if("function"!==typeof e)return e;try{var r=e.__sentry_wrapped__;if(r)return r;if(SNe(e))return e}catch(AE){return e}var o=function(){var r=Array.prototype.slice.call(arguments);try{n&&"function"===typeof n&&n.apply(this,arguments);var o=r.map((function(e){return jje(e,t)}));return e.apply(this,o)}catch(i){throw Nje++,setTimeout((function(){Nje--})),function(e){uTe().withScope(e)}((function(e){e.addEventProcessor((function(e){return t.mechanism&&(RNe(e,void 0,void 0),qNe(e,t.mechanism)),e.extra=Us(Us({},e.extra),{},{arguments:r}),e})),Eje(i)})),i}};try{for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(o[i]=e[i])}catch(a){}CNe(o,e),wNe(e,"__sentry_wrapped__",o);try{Object.getOwnPropertyDescriptor(o,"name").configurable&&Object.defineProperty(o,"name",{get:function(){return e.name}})}catch(a){}return o}var Bje=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(e){var r;(0,o.Z)(this,n);var i=Dje.SENTRY_SDK_SOURCE||(0,yje.S)();return e._metadata=e._metadata||{},e._metadata.sdk=e._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:"".concat(i,":@sentry/browser"),version:KDe}],version:KDe},r=t.call(this,e),e.sendClientReports&&Dje.document&&Dje.document.addEventListener("visibilitychange",(function(){"hidden"===Dje.document.visibilityState&&r._flushOutcomes()})),r}return(0,i.Z)(n,[{key:"eventFromException",value:function(e,t){return function(e,t,n,r){var o=wje(e,t,n&&n.syntheticException||void 0,r);return qNe(o),o.level="error",n&&n.event_id&&(o.event_id=n.event_id),XNe(o)}(this._options.stackParser,e,t,this._options.attachStacktrace)}},{key:"eventFromMessage",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"info",n=arguments.length>2?arguments[2]:void 0;return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"info",r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0,i=Cje(e,t,r&&r.syntheticException||void 0,o);return i.level=n,r&&r.event_id&&(i.event_id=r.event_id),XNe(i)}(this._options.stackParser,e,t,n,this._options.attachStacktrace)}},{key:"captureUserFeedback",value:function(e){if(this._isEnabled()){var t=function(e,t){var n=t.metadata,r=t.tunnel,o=t.dsn,i=Us(Us({event_id:e.event_id,sent_at:(new Date).toISOString()},n&&n.sdk&&{sdk:{name:n.sdk.name,version:n.sdk.version}}),!!r&&!!o&&{dsn:HTe(o)}),a=function(e){return[{type:"user_report"},e]}(e);return GTe(i,[a])}(e,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this._sendEnvelope(t)}else("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.warn("SDK not enabled, will not capture user feedback.")}},{key:"_prepareEvent",value:function(e,t,r){return e.platform=e.platform||"javascript",(0,GF.Z)((0,KF.Z)(n.prototype),"_prepareEvent",this).call(this,e,t,r)}},{key:"_flushOutcomes",value:function(){var e=this._clearOutcomes();if(0!==e.length)if(this._dsn){("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.log("Sending outcomes:",e);var t,n,r,o=(t=e,GTe((n=this._options.tunnel&&HTe(this._dsn))?{dsn:n}:{},[[{type:"client_report"},{timestamp:r||(0,eTe.yW)(),discarded_events:t}]]));this._sendEnvelope(o)}else("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.log("No dsn provided, will not send outcomes");else("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.log("No outcomes to send")}}]),n}(mje),Lje=function(){function e(t){(0,o.Z)(this,e),this.name=e.id,this._options=Us({onerror:!0,onunhandledrejection:!0},t),this._installFunc={onerror:Rje,onunhandledrejection:qje}}return(0,i.Z)(e,[{key:"setupOnce",value:function(){Error.stackTraceLimit=50;var e,t=this._options;for(var n in t){var r=this._installFunc[n];r&&t[n]&&(e=n,("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.log("Global Handler attached: ".concat(e)),r(),this._installFunc[n]=void 0)}}}],[{key:"__initStatic",value:function(){this.id="GlobalHandlers"}}]),e}();function Rje(){jTe("error",(function(e){var t=Wje(),r=(0,n.Z)(t,3),o=r[0],i=r[1],a=r[2];if(o.getIntegration(Lje)){var s=e.msg,l=e.url,c=e.line,u=e.column,d=e.error;if(!(Tje()||d&&d.__sentry_own_request__)){var p=void 0===d&&cNe(s)?function(e,t,n,r){var o=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i,i=sNe(e)?e.message:e,a="Error",s=i.match(o);s&&(a=s[1],i=s[2]);var l={exception:{values:[{type:a,value:i}]}};return Pje(l,t,n,r)}(s,l,c,u):Pje(wje(i,d||s,void 0,a,!1),l,c,u);p.level="error",Ije(o,d,p,"onerror")}}}))}function qje(){jTe("unhandledrejection",(function(e){var t=Wje(),r=(0,n.Z)(t,3),o=r[0],i=r[1],a=r[2];if(o.getIntegration(Lje)){var s=e;try{"reason"in e?s=e.reason:"detail"in e&&"reason"in e.detail&&(s=e.detail.reason)}catch(c){}if(Tje()||s&&s.__sentry_own_request__)return!0;var l=uNe(s)?{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: ".concat(String(s))}]}}:wje(i,s,void 0,a,!0);l.level="error",Ije(o,s,l,"onunhandledrejection")}}))}function Pje(e,t,n,r){var o=e.exception=e.exception||{},i=o.values=o.values||[],a=i[0]=i[0]||{},s=a.stacktrace=a.stacktrace||{},l=s.frames=s.frames||[],c=isNaN(parseInt(r,10))?void 0:r,u=isNaN(parseInt(n,10))?void 0:n,d=cNe(t)&&t.length>0?t:function(){try{return mNe.document.location.href}catch(e){return""}}();return 0===l.length&&l.push({colno:c,filename:d,function:"?",in_app:!0,lineno:u}),e}function Ije(e,t,n,r){qNe(n,{handled:!1,type:r}),e.captureEvent(n,{originalException:t})}function Wje(){var e=uTe(),t=e.getClient(),n=t&&t.getOptions()||{stackParser:function(){return[]},attachStacktrace:!1};return[e,n.stackParser,n.attachStacktrace]}Lje.__initStatic();var Fje=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],Uje=function(){function e(t){(0,o.Z)(this,e),this.name=e.id,this._options=Us({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},t)}return(0,i.Z)(e,[{key:"setupOnce",value:function(){this._options.setTimeout&&xNe(Dje,"setTimeout",Zje),this._options.setInterval&&xNe(Dje,"setInterval",Zje),this._options.requestAnimationFrame&&xNe(Dje,"requestAnimationFrame",Hje),this._options.XMLHttpRequest&&"XMLHttpRequest"in Dje&&xNe(XMLHttpRequest.prototype,"send",$je);var e=this._options.eventTarget;e&&(Array.isArray(e)?e:Fje).forEach(Vje)}}],[{key:"__initStatic",value:function(){this.id="TryCatch"}}]),e}();function Zje(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=n[0];return n[0]=jje(o,{mechanism:{data:{function:_Te(e)},handled:!1,type:"instrument"}}),e.apply(this,n)}}function Hje(e){return function(t){return e.apply(this,[jje(t,{mechanism:{data:{function:"requestAnimationFrame",handler:_Te(e)},handled:!1,type:"instrument"}})])}}function $je(e){return function(){var t=this;["onload","onerror","onprogress","onreadystatechange"].forEach((function(e){e in t&&"function"===typeof t[e]&&xNe(t,e,(function(t){var n={mechanism:{data:{function:e,handler:_Te(t)},handled:!1,type:"instrument"}},r=SNe(t);return r&&(n.mechanism.data.handler=_Te(r)),jje(t,n)}))}));for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return e.apply(this,r)}}function Vje(e){var t=Dje,n=t[e]&&t[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(xNe(n,"addEventListener",(function(t){return function(n,r,o){try{"function"===typeof r.handleEvent&&(r.handleEvent=jje(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:_Te(r),target:e},handled:!1,type:"instrument"}}))}catch(i){}return t.apply(this,[n,jje(r,{mechanism:{data:{function:"addEventListener",handler:_Te(r),target:e},handled:!1,type:"instrument"}}),o])}})),xNe(n,"removeEventListener",(function(e){return function(t,n,r){var o=n;try{var i=o&&o.__sentry_wrapped__;i&&e.call(this,t,i,r)}catch(AE){}return e.call(this,t,o,r)}})))}Uje.__initStatic();var Xje=["fatal","error","warning","log","info","debug"];function Qje(e){return"warn"===e?"warning":Xje.includes(e)?e:"log"}function Yje(e){if(!e)return{};var t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};var n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}var Gje=1024,Kje=function(){function e(t){(0,o.Z)(this,e),this.name=e.id,this.options=Us({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},t)}return(0,i.Z)(e,[{key:"setupOnce",value:function(){if(this.options.console&&jTe("console",eBe),this.options.dom&&jTe("dom",function(e){function t(t){var n,r="object"===typeof e?e.serializeAttribute:void 0,o="object"===typeof e&&"number"===typeof e.maxStringLength?e.maxStringLength:void 0;o&&o>Gje&&(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.warn("`dom.maxStringLength` cannot exceed ".concat(Gje,", but a value of ").concat(o," was configured. Sentry will use ").concat(Gje," instead.")),o=Gje),"string"===typeof r&&(r=[r]);try{var i=t.event;n=function(e){return!!e&&!!e.target}(i)?vNe(i.target,{keyAttrs:r,maxStringLength:o}):vNe(i,{keyAttrs:r,maxStringLength:o})}catch(AE){n="<unknown>"}0!==n.length&&uTe().addBreadcrumb({category:"ui.".concat(t.name),message:n},{event:t.event,name:t.name,global:t.global})}return t}(this.options.dom)),this.options.xhr&&jTe("xhr",tBe),this.options.fetch&&jTe("fetch",nBe),this.options.history&&jTe("history",rBe),this.options.sentry){var e=uTe().getClient();e&&e.on&&e.on("beforeSendEvent",Jje)}}}],[{key:"__initStatic",value:function(){this.id="Breadcrumbs"}}]),e}();function Jje(e){uTe().addBreadcrumb({category:"sentry.".concat("transaction"===e.type?"transaction":"event"),event_id:e.event_id,level:e.level,message:LNe(e)},{event:e})}function eBe(e){var t={category:"console",data:{arguments:e.args,logger:"console"},level:Qje(e.level),message:ONe(e.args," ")};if("assert"===e.level){if(!1!==e.args[0])return;t.message="Assertion failed: ".concat(ONe(e.args.slice(1)," ")||"console.assert"),t.data.arguments=e.args.slice(1)}uTe().addBreadcrumb(t,{input:e.args,level:e.level})}function tBe(e){var t=e.startTimestamp,n=e.endTimestamp,r=e.xhr[kTe];if(t&&n&&r){var o=r.method,i=r.url,a=r.status_code,s=r.body,l={method:o,url:i,status_code:a},c={xhr:e.xhr,input:s,startTimestamp:t,endTimestamp:n};uTe().addBreadcrumb({category:"xhr",data:l,type:"http"},c)}}function nBe(e){var t=e.startTimestamp,n=e.endTimestamp;if(n&&(!e.fetchData.url.match(/sentry_key/)||"POST"!==e.fetchData.method))if(e.error){var r=e.fetchData,o={data:e.error,input:e.args,startTimestamp:t,endTimestamp:n};uTe().addBreadcrumb({category:"fetch",data:r,level:"error",type:"http"},o)}else{var i=Us(Us({},e.fetchData),{},{status_code:e.response&&e.response.status}),a={input:e.args,response:e.response,startTimestamp:t,endTimestamp:n};uTe().addBreadcrumb({category:"fetch",data:i,type:"http"},a)}}function rBe(e){var t=e.from,n=e.to,r=Yje(Dje.location.href),o=Yje(t),i=Yje(n);o.path||(o=r),r.protocol===i.protocol&&r.host===i.host&&(n=i.relative),r.protocol===o.protocol&&r.host===o.host&&(t=o.relative),uTe().addBreadcrumb({category:"navigation",data:{from:t,to:n}})}function oBe(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:250,r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0,i=arguments.length>5?arguments[5]:void 0,a=arguments.length>6?arguments[6]:void 0;if(i.exception&&i.exception.values&&a&&bNe(a.originalException,Error)){var s,l,c=i.exception.values.length>0?i.exception.values[i.exception.values.length-1]:void 0;c&&(i.exception.values=(s=iBe(e,t,o,a.originalException,r,i.exception.values,c,0),l=n,s.map((function(e){return e.value&&(e.value=MNe(e.value,l)),e}))))}}function iBe(e,t,n,o,i,a,s,l){if(a.length>=n+1)return a;var c=(0,r.Z)(a);if(bNe(o[i],Error)){aBe(s,l);var u=e(t,o[i]),d=c.length;sBe(u,i,d,l),c=iBe(e,t,n,o[i],i,[u].concat((0,r.Z)(c)),u,d)}return Array.isArray(o.errors)&&o.errors.forEach((function(o,a){if(bNe(o,Error)){aBe(s,l);var u=e(t,o),d=c.length;sBe(u,"errors[".concat(a,"]"),d,l),c=iBe(e,t,n,o,i,[u].concat((0,r.Z)(c)),u,d)}})),c}function aBe(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism=Us(Us({},e.mechanism),{},{is_exception_group:!0,exception_id:t})}function sBe(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism=Us(Us({},e.mechanism),{},{type:"chained",source:t,exception_id:n,parent_id:r})}Kje.__initStatic();var lBe=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,o.Z)(this,e),this.name=e.id,this._key=t.key||"cause",this._limit=t.limit||5}return(0,i.Z)(e,[{key:"setupOnce",value:function(){}},{key:"preprocessEvent",value:function(e,t,n){var r=n.getOptions();oBe(Mje,r.stackParser,r.maxValueLength,this._key,this._limit,e,t)}}],[{key:"__initStatic",value:function(){this.id="LinkedErrors"}}]),e}();lBe.__initStatic();var cBe=function(){function e(){(0,o.Z)(this,e),this.name=e.id}return(0,i.Z)(e,[{key:"setupOnce",value:function(){}},{key:"preprocessEvent",value:function(e){if(Dje.navigator||Dje.location||Dje.document){var t=e.request&&e.request.url||Dje.location&&Dje.location.href,n=(Dje.document||{}).referrer,r=(Dje.navigator||{}).userAgent,o=Us(Us(Us({},e.request&&e.request.headers),n&&{Referer:n}),r&&{"User-Agent":r}),i=Us(Us(Us({},e.request),t&&{url:t}),{},{headers:o});e.request=i}}}],[{key:"__initStatic",value:function(){this.id="HttpContext"}}]),e}();cBe.__initStatic();var uBe=function(){function e(){(0,o.Z)(this,e),this.name=e.id}return(0,i.Z)(e,[{key:"setupOnce",value:function(e,t){}},{key:"processEvent",value:function(e){if(e.type)return e;try{if(function(e,t){if(!t)return!1;if(function(e,t){var n=e.message,r=t.message;if(!n&&!r)return!1;if(n&&!r||!n&&r)return!1;if(n!==r)return!1;if(!pBe(e,t))return!1;if(!dBe(e,t))return!1;return!0}(e,t))return!0;if(function(e,t){var n=fBe(t),r=fBe(e);if(!n||!r)return!1;if(n.type!==r.type||n.value!==r.value)return!1;if(!pBe(e,t))return!1;if(!dBe(e,t))return!1;return!0}(e,t))return!0;return!1}(e,this._previousEvent))return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(t){}return this._previousEvent=e}}],[{key:"__initStatic",value:function(){this.id="Dedupe"}}]),e}();function dBe(e,t){var n=hBe(e),r=hBe(t);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(var o=0;o<r.length;o++){var i=r[o],a=n[o];if(i.filename!==a.filename||i.lineno!==a.lineno||i.colno!==a.colno||i.function!==a.function)return!1}return!0}function pBe(e,t){var n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return!(n.join("")!==r.join(""))}catch(o){return!1}}function fBe(e){return e.exception&&e.exception.values&&e.exception.values[0]}function hBe(e){var t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch(n){return}}uBe.__initStatic();var bBe="?";function ABe(e,t,n,r){var o={filename:e,function:t,in_app:!0};return void 0!==n&&(o.lineno=n),void 0!==r&&(o.colno=r),o}var mBe=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,gBe=/\((\S*)(?::(\d+))(?::(\d+))\)/,vBe=[30,function(e){var t=mBe.exec(e);if(t){if(t[2]&&0===t[2].indexOf("eval")){var r=gBe.exec(t[2]);r&&(t[2]=r[1],t[3]=r[2],t[4]=r[3])}var o=CBe(t[1]||bBe,t[2]),i=(0,n.Z)(o,2),a=i[0];return ABe(i[1],a,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}}],yBe=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,MBe=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,OBe=[50,function(e){var t=yBe.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){var r=MBe.exec(t[3]);r&&(t[1]=t[1]||"eval",t[3]=r[1],t[4]=r[2],t[5]="")}var o=t[3],i=t[1]||bBe,a=CBe(i,o),s=(0,n.Z)(a,2);return i=s[0],ABe(o=s[1],i,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],_Be=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,zBe=[40,function(e){var t=_Be.exec(e);return t?ABe(t[2],t[1]||bBe,+t[3],t[4]?+t[4]:void 0):void 0}],xBe=[vBe,OBe,zBe],wBe=MTe.apply(void 0,xBe),CBe=function(e,t){var n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:bBe,n?"safari-extension:".concat(t):"safari-web-extension:".concat(t)]:[e,t]};function SBe(e){var t=[];function n(e){return t.splice(t.indexOf(e),1)[0]}return{$:t,add:function(r){if(!(void 0===e||t.length<e))return QNe(new sje("Not adding Promise because buffer limit was reached."));var o=r();return-1===t.indexOf(o)&&t.push(o),o.then((function(){return n(o)})).then(null,(function(){return n(o).then(null,(function(){}))})),o},drain:function(e){return new YNe((function(n,r){var o=t.length;if(!o)return n(!0);var i=setTimeout((function(){e&&e>0&&n(!1)}),e);t.forEach((function(e){XNe(e).then((function(){--o||(clearTimeout(i),n(!0))}),r)}))}))}}}var EBe=6e4;function kBe(e,t){var r=t.statusCode,o=t.headers,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Date.now(),a=Us({},e),s=o&&o["x-sentry-rate-limits"],l=o&&o["retry-after"];if(s){var c,u=(0,b.Z)(s.trim().split(","));try{for(u.s();!(c=u.n()).done;){var d=c.value.split(":",2),p=(0,n.Z)(d,2),f=p[0],h=p[1],A=parseInt(f,10),m=1e3*(isNaN(A)?60:A);if(h){var g,v=(0,b.Z)(h.split(";"));try{for(v.s();!(g=v.n()).done;){a[g.value]=i+m}}catch(y){v.e(y)}finally{v.f()}}else a.all=i+m}}catch(y){u.e(y)}finally{u.f()}}else l?a.all=i+function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now(),n=parseInt("".concat(e),10);if(!isNaN(n))return 1e3*n;var r=Date.parse("".concat(e));return isNaN(r)?EBe:r-t}(l,i):429===r&&(a.all=i+6e4);return a}var DBe=30;function NBe(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:SBe(e.bufferSize||DBe),r={};function o(o){var i=[];if(JTe(o,(function(t,n){var o=oje(n);if(function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Date.now();return function(e,t){return e[t]||e.all||0}(e,t)>n}(r,o)){var a=TBe(t,n);e.recordDroppedEvent("ratelimit_backoff",o,a)}else i.push(t)})),0===i.length)return XNe();var a=GTe(o[0],i),s=function(t){JTe(a,(function(n,r){var o=TBe(n,r);e.recordDroppedEvent(t,oje(r),o)}))};return n.add((function(){return t({body:tje(a,e.textEncoder)}).then((function(e){return void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.warn("Sentry responded with status code ".concat(e.statusCode," to sent event.")),r=kBe(r,e),e}),(function(e){throw s("network_error"),e}))})).then((function(e){return e}),(function(e){if(e instanceof sje)return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.error("Skipped sending event because buffer is full."),s("queue_overflow"),XNe();throw e}))}return o.__sentry__baseTransport__=!0,{send:o,flush:function(e){return n.drain(e)}}}function TBe(e,t){if("event"===t||"transaction"===t)return Array.isArray(e)?e[1]:void 0}var jBe=void 0;function BBe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){if(jBe)return jBe;if(wTe(Dje.fetch))return jBe=Dje.fetch.bind(Dje);var e=Dje.document,t=Dje.fetch;if(e&&"function"===typeof e.createElement)try{var n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n);var r=n.contentWindow;r&&r.fetch&&(t=r.fetch),e.head.removeChild(n)}catch(AE){("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",AE)}return jBe=t.bind(Dje)}(),n=0,r=0;return NBe(e,(function(o){var i=o.body.length;n+=i,r++;var a=Us({body:o.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:n<=6e4&&r<15},e.fetchOptions);try{return t(e.url,a).then((function(e){return n-=i,r--,{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}}}))}catch(AE){return jBe=void 0,n-=i,r--,QNe(AE)}}))}var LBe=4;function RBe(e){return NBe(e,(function(t){return new YNe((function(n,r){var o=new XMLHttpRequest;for(var i in o.onerror=r,o.onreadystatechange=function(){o.readyState===LBe&&n({statusCode:o.status,headers:{"x-sentry-rate-limits":o.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":o.getResponseHeader("Retry-After")}})},o.open("POST",e.url),e.headers)Object.prototype.hasOwnProperty.call(e.headers,i)&&o.setRequestHeader(i,e.headers[i]);o.send(t.body)}))}))}var qBe=[new ZNe,new VNe,new Uje,new Kje,new Lje,new lBe,new uBe,new cBe];function PBe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};void 0===e.defaultIntegrations&&(e.defaultIntegrations=qBe),void 0===e.release&&("string"===typeof __SENTRY_RELEASE__&&(e.release=__SENTRY_RELEASE__),Dje.SENTRY_RELEASE&&Dje.SENTRY_RELEASE.id&&(e.release=Dje.SENTRY_RELEASE.id)),void 0===e.autoSessionTracking&&(e.autoSessionTracking=!0),void 0===e.sendClientReports&&(e.sendClientReports=!0);var t,n=Us(Us({},e),{},{stackParser:(t=e.stackParser||wBe,Array.isArray(t)?MTe.apply(void 0,(0,r.Z)(t)):t),integrations:ATe(e),transport:e.transport||(xTe()?BBe:RBe)});!function(e,t){!0===t.debug&&("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?rNe.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));var n=uTe();n.getScope().update(t.initialScope);var r=new e(t);n.bindClient(r)}(Bje,n),e.autoSessionTracking&&function(){if("undefined"===typeof Dje.document)return void(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.warn("Session tracking in non-browser environment with @sentry/browser is not supported."));var e=uTe();if(!e.captureSession)return;IBe(e),jTe("history",(function(e){var t=e.from,n=e.to;void 0!==t&&t!==n&&IBe(uTe())}))}()}function IBe(e){e.startSession({ignoreDuration:!0}),e.captureSession()}var WBe="baggage",FBe="sentry-",UBe=/^sentry-/,ZBe=8192;function HBe(e){if(e)return function(e){if(0===Object.keys(e).length)return;return Object.entries(e).reduce((function(e,t,r){var o=(0,n.Z)(t,2),i=o[0],a=o[1],s="".concat(encodeURIComponent(i),"=").concat(encodeURIComponent(a)),l=0===r?s:"".concat(e,",").concat(s);return l.length>ZBe?(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.warn("Not adding key: ".concat(i," with val: ").concat(a," to baggage header due to exceeding baggage size limits.")),e):l}),"")}(Object.entries(e).reduce((function(e,t){var r=(0,n.Z)(t,2),o=r[0],i=r[1];return i&&(e["".concat(FBe).concat(o)]=i),e}),{}))}function $Be(e){return e.split(",").map((function(e){return e.split("=").map((function(e){return decodeURIComponent(e.trim())}))})).reduce((function(e,t){var r=(0,n.Z)(t,2),o=r[0],i=r[1];return e[o]=i,e}),{})}var VBe=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function XBe(e,t){var r=function(e){if(e){var t,n=e.match(VBe);if(n)return"1"===n[3]?t=!0:"0"===n[3]&&(t=!1),{traceId:n[1],parentSampled:t,parentSpanId:n[2]}}}(e),o=function(e){if(cNe(e)||Array.isArray(e)){var t={};if(Array.isArray(e))t=e.reduce((function(e,t){var n=$Be(t);return Us(Us({},e),n)}),{});else{if(!e)return;t=$Be(e)}var r=Object.entries(t).reduce((function(e,t){var r=(0,n.Z)(t,2),o=r[0],i=r[1];return o.match(UBe)&&(e[o.slice(FBe.length)]=i),e}),{});return Object.keys(r).length>0?r:void 0}}(t),i=r||{},a=i.traceId,s=i.parentSpanId,l=i.parentSampled,c={traceId:a||jNe(),spanId:jNe().substring(16),sampled:l};return s&&(c.parentSpanId=s),o&&(c.dsc=o),{traceparentData:r,dynamicSamplingContext:o,propagationContext:c}}function QBe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:jNe(),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:jNe().substring(16),n=arguments.length>2?arguments[2]:void 0,r="";return void 0!==n&&(r=n?"-1":"-0"),"".concat(e,"-").concat(t).concat(r)}var YBe=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3;(0,o.Z)(this,e),this._maxlen=t,this.spans=[]}return(0,i.Z)(e,[{key:"add",value:function(e){this.spans.length>this._maxlen?e.spanRecorder=void 0:this.spans.push(e)}}]),e}(),GBe=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,o.Z)(this,e),this.traceId=t.traceId||jNe(),this.spanId=t.spanId||jNe().substring(16),this.startTimestamp=t.startTimestamp||(0,eTe.ph)(),this.tags=t.tags||{},this.data=t.data||{},this.instrumenter=t.instrumenter||"sentry",this.origin=t.origin||"manual",t.parentSpanId&&(this.parentSpanId=t.parentSpanId),"sampled"in t&&(this.sampled=t.sampled),t.op&&(this.op=t.op),t.description&&(this.description=t.description),t.name&&(this.description=t.name),t.status&&(this.status=t.status),t.endTimestamp&&(this.endTimestamp=t.endTimestamp)}return(0,i.Z)(e,[{key:"name",get:function(){return this.description||""},set:function(e){this.setName(e)}},{key:"startChild",value:function(t){var n=new e(Us(Us({},t),{},{parentSpanId:this.spanId,sampled:this.sampled,traceId:this.traceId}));if(n.spanRecorder=this.spanRecorder,n.spanRecorder&&n.spanRecorder.add(n),n.transaction=this.transaction,("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&n.transaction){var r=t&&t.op||"< unknown op >",o=n.transaction.name||"< unknown name >",i=n.transaction.spanId,a="[Tracing] Starting '".concat(r,"' span on transaction '").concat(o,"' (").concat(i,").");n.transaction.metadata.spanMetadata[n.spanId]={logMessage:a},rNe.log(a)}return n}},{key:"setTag",value:function(e,t){return this.tags=Us(Us({},this.tags),{},{[e]:t}),this}},{key:"setData",value:function(e,t){return this.data=Us(Us({},this.data),{},{[e]:t}),this}},{key:"setStatus",value:function(e){return this.status=e,this}},{key:"setHttpStatus",value:function(e){this.setTag("http.status_code",String(e)),this.setData("http.response.status_code",e);var t=function(e){if(e<400&&e>=100)return"ok";if(e>=400&&e<500)switch(e){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(e>=500&&e<600)switch(e){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}(e);return"unknown_error"!==t&&this.setStatus(t),this}},{key:"setName",value:function(e){this.description=e}},{key:"isSuccess",value:function(){return"ok"===this.status}},{key:"finish",value:function(e){if(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&this.transaction&&this.transaction.spanId!==this.spanId){var t=this.transaction.metadata.spanMetadata[this.spanId].logMessage;t&&rNe.log(t.replace("Starting","Finishing"))}this.endTimestamp="number"===typeof e?e:(0,eTe.ph)()}},{key:"toTraceparent",value:function(){return QBe(this.traceId,this.spanId,this.sampled)}},{key:"toContext",value:function(){return NNe({data:this.data,description:this.description,endTimestamp:this.endTimestamp,op:this.op,parentSpanId:this.parentSpanId,sampled:this.sampled,spanId:this.spanId,startTimestamp:this.startTimestamp,status:this.status,tags:this.tags,traceId:this.traceId})}},{key:"updateWithContext",value:function(e){return this.data=e.data||{},this.description=e.description,this.endTimestamp=e.endTimestamp,this.op=e.op,this.parentSpanId=e.parentSpanId,this.sampled=e.sampled,this.spanId=e.spanId||this.spanId,this.startTimestamp=e.startTimestamp||this.startTimestamp,this.status=e.status,this.tags=e.tags||{},this.traceId=e.traceId||this.traceId,this}},{key:"getTraceContext",value:function(){return NNe({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,trace_id:this.traceId})}},{key:"toJSON",value:function(){return NNe({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,start_timestamp:this.startTimestamp,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this.endTimestamp,trace_id:this.traceId,origin:this.origin})}}]),e}();var KBe=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(e,r){var i;(0,o.Z)(this,n),delete(i=t.call(this,e)).description,i._measurements={},i._contexts={},i._hub=r||uTe(),i._name=e.name||"",i.metadata=Us(Us({source:"custom"},e.metadata),{},{spanMetadata:{}}),i._trimEnd=e.trimEnd,i.transaction=(0,YF.Z)(i);var a=i.metadata.dynamicSamplingContext;return a&&(i._frozenDynamicSamplingContext=Us({},a)),i}return(0,i.Z)(n,[{key:"name",get:function(){return this._name},set:function(e){this.setName(e)}},{key:"setName",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"custom";this._name=e,this.metadata.source=t}},{key:"initSpanRecorder",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3;this.spanRecorder||(this.spanRecorder=new YBe(e)),this.spanRecorder.add(this)}},{key:"setContext",value:function(e,t){null===t?delete this._contexts[e]:this._contexts[e]=t}},{key:"setMeasurement",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";this._measurements[e]={value:t,unit:n}}},{key:"setMetadata",value:function(e){this.metadata=Us(Us({},this.metadata),e)}},{key:"finish",value:function(e){var t=this;if(void 0===this.endTimestamp){this.name||(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this.name="<unlabeled transaction>"),(0,GF.Z)((0,KF.Z)(n.prototype),"finish",this).call(this,e);var r=this._hub.getClient();if(r&&r.emit&&r.emit("finishTransaction",this),!0!==this.sampled)return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),void(r&&r.recordDroppedEvent("sample_rate","transaction"));var o=this.spanRecorder?this.spanRecorder.spans.filter((function(e){return e!==t&&e.endTimestamp})):[];this._trimEnd&&o.length>0&&(this.endTimestamp=o.reduce((function(e,t){return e.endTimestamp&&t.endTimestamp?e.endTimestamp>t.endTimestamp?e:t:e})).endTimestamp);var i=this.metadata,a=Us({contexts:Us(Us({},this._contexts),{},{trace:this.getTraceContext()}),spans:o,start_timestamp:this.startTimestamp,tags:this.tags,timestamp:this.endTimestamp,transaction:this.name,type:"transaction",sdkProcessingMetadata:Us(Us({},i),{},{dynamicSamplingContext:this.getDynamicSamplingContext()})},i.source&&{transaction_info:{source:i.source}});return Object.keys(this._measurements).length>0&&(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),a.measurements=this._measurements),("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.log("[Tracing] Finishing ".concat(this.op," transaction: ").concat(this.name,".")),this._hub.captureEvent(a)}}},{key:"toContext",value:function(){return NNe(Us(Us({},(0,GF.Z)((0,KF.Z)(n.prototype),"toContext",this).call(this)),{},{name:this.name,trimEnd:this._trimEnd}))}},{key:"updateWithContext",value:function(e){return(0,GF.Z)((0,KF.Z)(n.prototype),"updateWithContext",this).call(this,e),this.name=e.name||"",this._trimEnd=e.trimEnd,this}},{key:"getDynamicSamplingContext",value:function(){if(this._frozenDynamicSamplingContext)return this._frozenDynamicSamplingContext;var e=this._hub||uTe(),t=e.getClient();if(!t)return{};var n=e.getScope(),r=fje(this.traceId,t,n),o=this.metadata.sampleRate;void 0!==o&&(r.sample_rate="".concat(o));var i=this.metadata.source;return i&&"url"!==i&&(r.transaction=this.name),void 0!==this.sampled&&(r.sampled=String(this.sampled)),r}},{key:"setHub",value:function(e){this._hub=e}}]),n}(GBe),JBe={idleTimeout:1e3,finalTimeout:3e4,heartbeatInterval:5e3},eLe=["heartbeatFailed","idleTimeout","documentHidden","finalTimeout","externalFinish","cancelled"],tLe=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(e,r,i,a){var s;return(0,o.Z)(this,n),(s=t.call(this,a))._pushActivity=e,s._popActivity=r,s.transactionSpanId=i,s}return(0,i.Z)(n,[{key:"add",value:function(e){var t=this;e.spanId!==this.transactionSpanId&&(e.finish=function(n){e.endTimestamp="number"===typeof n?n:(0,eTe.ph)(),t._popActivity(e.spanId)},void 0===e.endTimestamp&&this._pushActivity(e.spanId)),(0,GF.Z)((0,KF.Z)(n.prototype),"add",this).call(this,e)}}]),n}(YBe),nLe=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(e,r){var i,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:JBe.idleTimeout,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:JBe.finalTimeout,l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:JBe.heartbeatInterval,c=arguments.length>5&&void 0!==arguments[5]&&arguments[5];return(0,o.Z)(this,n),(i=t.call(this,e,r))._idleHub=r,i._idleTimeout=a,i._finalTimeout=s,i._heartbeatInterval=l,i._onScope=c,i.activities={},i._heartbeatCounter=0,i._finished=!1,i._idleTimeoutCanceledPermanently=!1,i._beforeFinishCallbacks=[],i._finishReason=eLe[4],c&&(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.log("Setting idle transaction on scope. Span ID: ".concat(i.spanId)),r.configureScope((function(e){return e.setSpan((0,YF.Z)(i))}))),i._restartIdleTimeout(),setTimeout((function(){i._finished||(i.setStatus("deadline_exceeded"),i._finishReason=eLe[3],i.finish())}),i._finalTimeout),i}return(0,i.Z)(n,[{key:"finish",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,eTe.ph)();if(this._finished=!0,this.activities={},"ui.action.click"===this.op&&this.setTag("finishReason",this._finishReason),this.spanRecorder){("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.log("[Tracing] finishing IdleTransaction",new Date(1e3*t).toISOString(),this.op);var r,o=(0,b.Z)(this._beforeFinishCallbacks);try{for(o.s();!(r=o.n()).done;){(0,r.value)(this,t)}}catch(a){o.e(a)}finally{o.f()}this.spanRecorder.spans=this.spanRecorder.spans.filter((function(n){if(n.spanId===e.spanId)return!0;n.endTimestamp||(n.endTimestamp=t,n.setStatus("cancelled"),("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(n,void 0,2)));var r=n.startTimestamp<t,o=(e._finalTimeout+e._idleTimeout)/1e3,i=n.endTimestamp-e.startTimestamp<o;if("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__){var a=JSON.stringify(n,void 0,2);r?i||rNe.log("[Tracing] discarding Span since it finished after Transaction final timeout",a):rNe.log("[Tracing] discarding Span since it happened after Transaction was finished",a)}return r&&i})),("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.log("[Tracing] flushing IdleTransaction")}else("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.log("[Tracing] No active IdleTransaction");if(this._onScope){var i=this._idleHub.getScope();i.getTransaction()===this&&i.setSpan(void 0)}return(0,GF.Z)((0,KF.Z)(n.prototype),"finish",this).call(this,t)}},{key:"registerBeforeFinishCallback",value:function(e){this._beforeFinishCallbacks.push(e)}},{key:"initSpanRecorder",value:function(e){var t=this;if(!this.spanRecorder){this.spanRecorder=new tLe((function(e){t._finished||t._pushActivity(e)}),(function(e){t._finished||t._popActivity(e)}),this.spanId,e),("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.log("Starting heartbeat"),this._pingHeartbeat()}this.spanRecorder.add(this)}},{key:"cancelIdleTimeout",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{restartOnChildSpanChange:!0}).restartOnChildSpanChange;this._idleTimeoutCanceledPermanently=!1===t,this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0,0===Object.keys(this.activities).length&&this._idleTimeoutCanceledPermanently&&(this._finishReason=eLe[5],this.finish(e)))}},{key:"setFinishReason",value:function(e){this._finishReason=e}},{key:"_restartIdleTimeout",value:function(e){var t=this;this.cancelIdleTimeout(),this._idleTimeoutID=setTimeout((function(){t._finished||0!==Object.keys(t.activities).length||(t._finishReason=eLe[1],t.finish(e))}),this._idleTimeout)}},{key:"_pushActivity",value:function(e){this.cancelIdleTimeout(void 0,{restartOnChildSpanChange:!this._idleTimeoutCanceledPermanently}),("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.log("[Tracing] pushActivity: ".concat(e)),this.activities[e]=!0,("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.log("[Tracing] new activities count",Object.keys(this.activities).length)}},{key:"_popActivity",value:function(e){if(this.activities[e]&&(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.log("[Tracing] popActivity ".concat(e)),delete this.activities[e],("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.log("[Tracing] new activities count",Object.keys(this.activities).length)),0===Object.keys(this.activities).length){var t=(0,eTe.ph)();this._idleTimeoutCanceledPermanently?(this._finishReason=eLe[5],this.finish(t)):this._restartIdleTimeout(t+this._idleTimeout/1e3)}}},{key:"_beat",value:function(){if(!this._finished){var e=Object.keys(this.activities).join("");e===this._prevHeartbeatString?this._heartbeatCounter++:this._heartbeatCounter=1,this._prevHeartbeatString=e,this._heartbeatCounter>=3?(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this._finishReason=eLe[0],this.finish()):this._pingHeartbeat()}}},{key:"_pingHeartbeat",value:function(){var e=this;("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.log("pinging Heartbeat -> current counter: ".concat(this._heartbeatCounter)),setTimeout((function(){e._beat()}),this._heartbeatInterval)}}]),n}(KBe);function rLe(e){if("boolean"===typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;var t=uTe().getClient(),n=e||t&&t.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}function oLe(e){return(e||uTe()).getScope().getTransaction()}var iLe=!1;function aLe(){var e=oLe();if(e){var t="internal_error";("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.log("[Tracing] Transaction: ".concat(t," -> Global error occured")),e.setStatus(t)}}function sLe(){var e=this.getScope().getSpan();return e?{"sentry-trace":e.toTraceparent()}:{}}function lLe(e,t,n){return rLe(t)?void 0!==e.sampled?(e.setMetadata({sampleRate:Number(e.sampled)}),e):("function"===typeof t.tracesSampler?(r=t.tracesSampler(n),e.setMetadata({sampleRate:Number(r)})):void 0!==n.parentSampled?r=n.parentSampled:"undefined"!==typeof t.tracesSampleRate?(r=t.tracesSampleRate,e.setMetadata({sampleRate:Number(r)})):(r=1,e.setMetadata({sampleRate:r})),function(e){if(hNe(e)||"number"!==typeof e&&"boolean"!==typeof e)return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.warn("[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ".concat(JSON.stringify(e)," of type ").concat(JSON.stringify(typeof e),".")),!1;if(e<0||e>1)return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.warn("[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ".concat(e,".")),!1;return!0}(r)?r?(e.sampled=Math.random()<r,e.sampled?(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.log("[Tracing] starting ".concat(e.op," transaction - ").concat(e.name)),e):(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.log("[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ".concat(Number(r),")")),e)):(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.log("[Tracing] Discarding transaction because ".concat("function"===typeof t.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0")),e.sampled=!1,e):(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.warn("[Tracing] Discarding transaction because of invalid sample rate."),e.sampled=!1,e)):(e.sampled=!1,e);var r}function cLe(e,t){var n=this.getClient(),r=n&&n.getOptions()||{},o=r.instrumenter||"sentry",i=e.instrumenter||"sentry";o!==i&&(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.error("A transaction was started with instrumenter=`".concat(i,"`, but the SDK is configured with the `").concat(o,"` instrumenter.\nThe transaction will not be sampled. Please use the ").concat(o," instrumentation to start transactions.")),e.sampled=!1);var a=new KBe(e,this);return(a=lLe(a,r,Us({parentSampled:e.parentSampled,transactionContext:e},t))).sampled&&a.initSpanRecorder(r._experiments&&r._experiments.maxSpans),n&&n.emit&&n.emit("startTransaction",a),a}function uLe(e,t,n,r,o,i,a){var s=e.getClient(),l=s&&s.getOptions()||{},c=new nLe(t,e,n,r,a,o);return(c=lLe(c,l,Us({parentSampled:t.parentSampled,transactionContext:t},i))).sampled&&c.initSpanRecorder(l._experiments&&l._experiments.maxSpans),s&&s.emit&&s.emit("startTransaction",c),c}function dLe(){var e=lTe();e.__SENTRY__&&(e.__SENTRY__.extensions=e.__SENTRY__.extensions||{},e.__SENTRY__.extensions.startTransaction||(e.__SENTRY__.extensions.startTransaction=cLe),e.__SENTRY__.extensions.traceHeaders||(e.__SENTRY__.extensions.traceHeaders=sLe),iLe||(iLe=!0,jTe("error",aLe),jTe("unhandledrejection",aLe)))}aLe.tag="sentry_tracingErrorCallback";var pLe=JDe.n2;var fLe=function(e,t,n){var r,o;return function(i){t.value>=0&&(i||n)&&((o=t.value-(r||0))||void 0===r)&&(r=t.value,t.delta=o,e(t))}},hLe=function(){return pLe.__WEB_VITALS_POLYFILL__?pLe.performance&&(performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]||function(){var e=pLe.performance.timing,t=pLe.performance.navigation.type,n={entryType:"navigation",startTime:0,type:2==t?"back_forward":1===t?"reload":"navigate"};for(var r in e)"navigationStart"!==r&&"toJSON"!==r&&(n[r]=Math.max(e[r]-e.navigationStart,0));return n}()):pLe.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},bLe=function(){var e=hLe();return e&&e.activationStart||0},ALe=function(e,t){var n=hLe(),r="navigate";return n&&(r=pLe.document.prerendering||bLe()>0?"prerender":n.type.replace(/_/g,"-")),{name:e,value:"undefined"===typeof t?-1:t,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:r}},mLe=function(e,t,n){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var r=new PerformanceObserver((function(e){t(e.getEntries())}));return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch(AE){}},gLe=function(e,t){var n=function n(r){"pagehide"!==r.type&&"hidden"!==pLe.document.visibilityState||(e(r),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},vLe=function(e){var t,n=ALe("CLS",0),r=0,o=[],i=function(e){e.forEach((function(e){if(!e.hadRecentInput){var i=o[0],a=o[o.length-1];r&&0!==o.length&&e.startTime-a.startTime<1e3&&e.startTime-i.startTime<5e3?(r+=e.value,o.push(e)):(r=e.value,o=[e]),r>n.value&&(n.value=r,n.entries=o,t&&t())}}))},a=mLe("layout-shift",i);if(a){t=fLe(e,n);var s=function(){i(a.takeRecords()),t(!0)};return gLe(s),s}},yLe=-1,MLe=function(){return yLe<0&&(yLe="hidden"!==pLe.document.visibilityState||pLe.document.prerendering?1/0:0,gLe((function(e){var t=e.timeStamp;yLe=t}),!0)),{get firstHiddenTime(){return yLe}}},OLe=function(e){var t,n=MLe(),r=ALe("FID"),o=function(e){e.startTime<n.firstHiddenTime&&(r.value=e.processingStart-e.startTime,r.entries.push(e),t(!0))},i=function(e){e.forEach(o)},a=mLe("first-input",i);t=fLe(e,r),a&&gLe((function(){i(a.takeRecords()),a.disconnect()}),!0)},_Le={},zLe=function(e){var t,n=MLe(),r=ALe("LCP"),o=function(e){var o=e[e.length-1];if(o){var i=Math.max(o.startTime-bLe(),0);i<n.firstHiddenTime&&(r.value=i,r.entries=[o],t())}},i=mLe("largest-contentful-paint",o);if(i){t=fLe(e,r);var a=function(){_Le[r.id]||(o(i.takeRecords()),i.disconnect(),_Le[r.id]=!0,t(!0))};return["keydown","click"].forEach((function(e){addEventListener(e,a,{once:!0,capture:!0})})),gLe(a,!0),a}},xLe=["startTimestamp"];function wLe(e){return"number"===typeof e&&isFinite(e)}function CLe(e,t){var n=t.startTimestamp,r=(0,Uu.Z)(t,xLe);return n&&e.startTimestamp>n&&(e.startTimestamp=n),e.startChild(Us({startTimestamp:n},r))}function SLe(e){return e/1e3}function ELe(){return pLe&&pLe.addEventListener&&pLe.performance}var kLe,DLe,NLe=0,TLe={};function jLe(){var e=ELe();if(e&&eTe.Z1){e.mark&&pLe.performance.mark("sentry-tracing-init"),OLe((function(e){var t=e.entries.pop();if(t){var n=SLe(eTe.Z1),r=SLe(t.startTime);("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.log("[Measurements] Adding FID"),TLe.fid={value:e.value,unit:"millisecond"},TLe["mark.fid"]={value:n+r,unit:"second"}}}));var t=vLe((function(e){var t=e.entries.pop();t&&(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.log("[Measurements] Adding CLS"),TLe.cls={value:e.value,unit:""},DLe=t)})),n=zLe((function(e){var t=e.entries.pop();t&&(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.log("[Measurements] Adding LCP"),TLe.lcp={value:e.value,unit:"millisecond"},kLe=t)}));return function(){t&&t(),n&&n()}}return function(){}}function BLe(e){var t=ELe();if(t&&pLe.performance.getEntries&&eTe.Z1){("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.log("[Tracing] Adding & adjusting spans using Performance API");var n,r,o=SLe(eTe.Z1),i=t.getEntries();if(i.slice(NLe).forEach((function(t){var i=SLe(t.startTime),a=SLe(t.duration);if(!("navigation"===e.op&&o+i<e.startTimestamp))switch(t.entryType){case"navigation":!function(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach((function(r){LLe(e,t,r,n)})),LLe(e,t,"secureConnection",n,"TLS/SSL","connectEnd"),LLe(e,t,"fetch",n,"cache","domainLookupStart"),LLe(e,t,"domainLookup",n,"DNS"),function(e,t,n){CLe(e,{op:"browser",origin:"auto.browser.browser.metrics",description:"request",startTimestamp:n+SLe(t.requestStart),endTimestamp:n+SLe(t.responseEnd)}),CLe(e,{op:"browser",origin:"auto.browser.browser.metrics",description:"response",startTimestamp:n+SLe(t.responseStart),endTimestamp:n+SLe(t.responseEnd)})}(e,t,n)}(e,t,o),n=o+SLe(t.responseStart),r=o+SLe(t.requestStart);break;case"mark":case"paint":case"measure":!function(e,t,n,r,o){var i=o+n,a=i+r;CLe(e,{description:t.name,endTimestamp:a,op:t.entryType,origin:"auto.resource.browser.metrics",startTimestamp:i})}(e,t,i,a,o);var s=MLe(),l=t.startTime<s.firstHiddenTime;"first-paint"===t.name&&l&&(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.log("[Measurements] Adding FP"),TLe.fp={value:t.startTime,unit:"millisecond"}),"first-contentful-paint"===t.name&&l&&(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.log("[Measurements] Adding FCP"),TLe.fcp={value:t.startTime,unit:"millisecond"});break;case"resource":var c=t.name.replace(pLe.location.origin,"");!function(e,t,n,r,o,i){if("xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType)return;var a={};"transferSize"in t&&(a["http.response_transfer_size"]=t.transferSize);"encodedBodySize"in t&&(a["http.response_content_length"]=t.encodedBodySize);"decodedBodySize"in t&&(a["http.decoded_response_content_length"]=t.decodedBodySize);"renderBlockingStatus"in t&&(a["resource.render_blocking_status"]=t.renderBlockingStatus);var s=i+r,l=s+o;CLe(e,{description:n,endTimestamp:l,op:t.initiatorType?"resource.".concat(t.initiatorType):"resource.other",origin:"auto.resource.browser.metrics",startTimestamp:s,data:a})}(e,t,c,i,a,o)}})),NLe=Math.max(i.length-1,0),function(e){var t=pLe.navigator;if(!t)return;var n=t.connection;n&&(n.effectiveType&&e.setTag("effectiveConnectionType",n.effectiveType),n.type&&e.setTag("connectionType",n.type),wLe(n.rtt)&&(TLe["connection.rtt"]={value:n.rtt,unit:"millisecond"}));wLe(t.deviceMemory)&&e.setTag("deviceMemory","".concat(t.deviceMemory," GB"));wLe(t.hardwareConcurrency)&&e.setTag("hardwareConcurrency",String(t.hardwareConcurrency))}(e),"pageload"===e.op){"number"===typeof n&&(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.log("[Measurements] Adding TTFB"),TLe.ttfb={value:1e3*(n-e.startTimestamp),unit:"millisecond"},"number"===typeof r&&r<=n&&(TLe["ttfb.requestTime"]={value:1e3*(n-r),unit:"millisecond"})),["fcp","fp","lcp"].forEach((function(t){if(TLe[t]&&!(o>=e.startTimestamp)){var n=TLe[t].value,r=o+SLe(n),i=Math.abs(1e3*(r-e.startTimestamp)),a=i-n;("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.log("[Measurements] Normalized ".concat(t," from ").concat(n," to ").concat(i," (").concat(a,")")),TLe[t].value=i}}));var a=TLe["mark.fid"];a&&TLe.fid&&(CLe(e,{description:"first input delay",endTimestamp:a.value+SLe(TLe.fid.value),op:"ui.action",origin:"auto.ui.browser.metrics",startTimestamp:a.value}),delete TLe["mark.fid"]),"fcp"in TLe||delete TLe.cls,Object.keys(TLe).forEach((function(t){e.setMeasurement(t,TLe[t].value,TLe[t].unit)})),function(e){kLe&&(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.log("[Measurements] Adding LCP Data"),kLe.element&&e.setTag("lcp.element",vNe(kLe.element)),kLe.id&&e.setTag("lcp.id",kLe.id),kLe.url&&e.setTag("lcp.url",kLe.url.trim().slice(0,200)),e.setTag("lcp.size",kLe.size));DLe&&DLe.sources&&(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.log("[Measurements] Adding CLS Data"),DLe.sources.forEach((function(t,n){return e.setTag("cls.source.".concat(n+1),vNe(t.node))})))}(e)}kLe=void 0,DLe=void 0,TLe={}}}function LLe(e,t,n,r,o,i){var a=i?t[i]:t["".concat(n,"End")],s=t["".concat(n,"Start")];s&&a&&CLe(e,{op:"browser",origin:"auto.browser.browser.metrics",description:o||n,startTimestamp:r+SLe(s),endTimestamp:r+SLe(a)})}var RLe=["localhost",/^\/(?!\/)/],qLe={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,tracingOrigins:RLe,tracePropagationTargets:RLe};function PLe(e){var t=Us({traceFetch:qLe.traceFetch,traceXHR:qLe.traceXHR},e),n=t.traceFetch,o=t.traceXHR,i=t.tracePropagationTargets,a=t.tracingOrigins,s=t.shouldCreateSpanForRequest,l=t.enableHTTPTimings,c="function"===typeof s?s:function(e){return!0},u=function(e){return function(e,t){return zNe(e,t||RLe)}(e,i||a)},d={};n&&jTe("fetch",(function(e){var t=function(e,t,n,o){if(!rLe()||!e.fetchData)return;var i=t(e.fetchData.url);if(e.endTimestamp&&i){var a=e.fetchData.__span;if(!a)return;var s=o[a];if(s){if(e.response){s.setHttpStatus(e.response.status);var l=e.response&&e.response.headers&&e.response.headers.get("content-length"),c=parseInt(l);c>0&&s.setData("http.response_content_length",c)}else e.error&&s.setStatus("internal_error");s.finish(),delete o[a]}return}var u=uTe(),d=u.getScope(),p=u.getClient(),f=d.getSpan(),h=e.fetchData,b=h.method,A=h.url,m=i&&f?f.startChild({data:{url:A,type:"fetch","http.method":b},description:"".concat(b," ").concat(A),op:"http.client",origin:"auto.http.browser"}):void 0;m&&(e.fetchData.__span=m.spanId,o[m.spanId]=m);if(n(e.fetchData.url)&&p){var g=e.args[0];e.args[1]=e.args[1]||{};var v=e.args[1];v.headers=function(e,t,n,o,i){var a=i||n.getSpan(),s=a&&a.transaction,l=n.getPropagationContext(),c=l.traceId,u=l.sampled,d=l.dsc,p=a?a.toTraceparent():QBe(c,void 0,u),f=s?s.getDynamicSamplingContext():d||fje(c,t,n),h=HBe(f),b="undefined"!==typeof Request&&bNe(e,Request)?e.headers:o.headers;if(b){if("undefined"!==typeof Headers&&bNe(b,Headers)){var A=new Headers(b);return A.append("sentry-trace",p),h&&A.append(WBe,h),A}if(Array.isArray(b)){var m=[].concat((0,r.Z)(b),[["sentry-trace",p]]);return h&&m.push([WBe,h]),m}var g="baggage"in b?b.baggage:void 0,v=[];return Array.isArray(g)?v.push.apply(v,(0,r.Z)(g)):g&&v.push(g),h&&v.push(h),Us(Us({},b),{},{"sentry-trace":p,baggage:v.length>0?v.join(","):void 0})}return{"sentry-trace":p,baggage:h}}(g,p,d,v,m)}return m}(e,c,u,d);l&&t&&ILe(t)})),o&&jTe("xhr",(function(e){var t=function(e,t,n,r){var o=e.xhr,i=o&&o[kTe];if(!rLe()||o&&o.__sentry_own_request__||!o||!i)return;var a=t(i.url);if(e.endTimestamp&&a){var s=o.__sentry_xhr_span_id__;if(!s)return;var l=r[s];return void(l&&(l.setHttpStatus(i.status_code),l.finish(),delete r[s]))}var c=uTe(),u=c.getScope(),d=u.getSpan(),p=a&&d?d.startChild({data:Us(Us({},i.data),{},{type:"xhr","http.method":i.method,url:i.url}),description:"".concat(i.method," ").concat(i.url),op:"http.client",origin:"auto.http.browser"}):void 0;p&&(o.__sentry_xhr_span_id__=p.spanId,r[o.__sentry_xhr_span_id__]=p);if(o.setRequestHeader&&n(i.url))if(p){var f=p&&p.transaction,h=HBe(f&&f.getDynamicSamplingContext());FLe(o,p.toTraceparent(),h)}else{var b=c.getClient(),A=u.getPropagationContext(),m=A.traceId,g=A.sampled,v=A.dsc;FLe(o,QBe(m,void 0,g),HBe(v||(b?fje(m,b,u):void 0)))}return p}(e,c,u,d);l&&t&&ILe(t)}))}function ILe(e){var t=e.data.url,o=new PerformanceObserver((function(i){i.getEntries().forEach((function(i){if(function(e){return"resource"===e.entryType&&"initiatorType"in e&&"string"===typeof e.nextHopProtocol&&("fetch"===e.initiatorType||"xmlhttprequest"===e.initiatorType)}(i)&&i.name.endsWith(t)){var a=function(e){var t=function(e){var t,r="unknown",o="unknown",i="",a=(0,b.Z)(e);try{for(a.s();!(t=a.n()).done;){var s=t.value;if("/"===s){var l=e.split("/"),c=(0,n.Z)(l,2);r=c[0],o=c[1];break}if(!isNaN(Number(s))){r="h"===i?"http":i,o=e.split(i)[1];break}i+=s}}catch(u){a.e(u)}finally{a.f()}i===e&&(r=i);return{name:r,version:o}}(e.nextHopProtocol),r=t.name,o=t.version,i=[];if(i.push(["network.protocol.version",o],["network.protocol.name",r]),!eTe.Z1)return i;return[].concat(i,[["http.request.redirect_start",WLe(e.redirectStart)],["http.request.fetch_start",WLe(e.fetchStart)],["http.request.domain_lookup_start",WLe(e.domainLookupStart)],["http.request.domain_lookup_end",WLe(e.domainLookupEnd)],["http.request.connect_start",WLe(e.connectStart)],["http.request.secure_connection_start",WLe(e.secureConnectionStart)],["http.request.connection_end",WLe(e.connectEnd)],["http.request.request_start",WLe(e.requestStart)],["http.request.response_start",WLe(e.responseStart)],["http.request.response_end",WLe(e.responseEnd)]])}(i);a.forEach((function(t){return e.setData.apply(e,(0,r.Z)(t))})),o.disconnect()}}))}));o.observe({entryTypes:["resource"]})}function WLe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return((eTe.Z1||performance.timeOrigin)+e)/1e3}function FLe(e,t,n){try{e.setRequestHeader("sentry-trace",t),n&&e.setRequestHeader(WBe,n)}catch(r){}}var ULe=Us(Us({},JBe),{},{markBackgroundTransactions:!0,routingInstrumentation:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(pLe&&pLe.location){var r,o=pLe.location.href;t&&(r=e({name:pLe.location.pathname,startTimestamp:eTe.Z1?eTe.Z1/1e3:void 0,op:"pageload",origin:"auto.pageload.browser",metadata:{source:"url"}})),n&&jTe("history",(function(t){var n=t.to,i=t.from;void 0===i&&o&&-1!==o.indexOf(n)?o=void 0:i!==n&&(o=void 0,r&&(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.log("[Tracing] Finishing current transaction with op: ".concat(r.op)),r.finish()),r=e({name:pLe.location.pathname,op:"navigation",origin:"auto.navigation.browser",metadata:{source:"url"}}))}))}else("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.warn("Could not initialize routing instrumentation due to invalid location")},startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,enableLongTask:!0,_experiments:{}},qLe),ZLe=function(){function e(t){(0,o.Z)(this,e),this.name="BrowserTracing",this._hasSetTracePropagationTargets=!1,dLe(),("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&(this._hasSetTracePropagationTargets=!(!t||!t.tracePropagationTargets&&!t.tracingOrigins)),this.options=Us(Us({},ULe),t),void 0!==this.options._experiments.enableLongTask&&(this.options.enableLongTask=this.options._experiments.enableLongTask),t&&!t.tracePropagationTargets&&t.tracingOrigins&&(this.options.tracePropagationTargets=t.tracingOrigins),this._collectWebVitals=jLe(),this.options.enableLongTask&&mLe("longtask",(function(e){var t,n=(0,b.Z)(e);try{for(n.s();!(t=n.n()).done;){var r=t.value,o=oLe();if(!o)return;var i=SLe(eTe.Z1+r.startTime),a=SLe(r.duration);o.startChild({description:"Main UI thread blocked",op:"ui.long-task",origin:"auto.ui.browser.metrics",startTimestamp:i,endTimestamp:i+a})}}catch(s){n.e(s)}finally{n.f()}})),this.options._experiments.enableInteractions&&mLe("event",(function(e){var t,n=(0,b.Z)(e);try{for(n.s();!(t=n.n()).done;){var r=t.value,o=oLe();if(!o)return;if("click"===r.name){var i=SLe(eTe.Z1+r.startTime),a=SLe(r.duration);o.startChild({description:vNe(r.target),op:"ui.interaction.".concat(r.name),origin:"auto.ui.browser.metrics",startTimestamp:i,endTimestamp:i+a})}}}catch(s){n.e(s)}finally{n.f()}}),{durationThreshold:0})}return(0,i.Z)(e,[{key:"setupOnce",value:function(e,t){var n=this;this._getCurrentHub=t;var r=t().getClient(),o=r&&r.getOptions(),i=this.options,a=i.routingInstrumentation,s=i.startTransactionOnLocationChange,l=i.startTransactionOnPageLoad,c=i.markBackgroundTransactions,u=i.traceFetch,d=i.traceXHR,p=i.shouldCreateSpanForRequest,f=i.enableHTTPTimings,h=i._experiments,b=o&&o.tracePropagationTargets,A=b||this.options.tracePropagationTargets;("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&this._hasSetTracePropagationTargets&&b&&rNe.warn("[Tracing] The `tracePropagationTargets` option was set in the BrowserTracing integration and top level `Sentry.init`. The top level `Sentry.init` value is being used."),a((function(e){var r=n._createRouteTransaction(e);return n.options._experiments.onStartRouteTransaction&&n.options._experiments.onStartRouteTransaction(r,e,t),r}),l,s),c&&(pLe&&pLe.document?pLe.document.addEventListener("visibilitychange",(function(){var e=oLe();if(pLe.document.hidden&&e){var t="cancelled";("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.log("[Tracing] Transaction: ".concat(t," -> since tab moved to the background, op: ").concat(e.op)),e.status||e.setStatus(t),e.setTag("visibilitychange","document.hidden"),e.finish()}})):("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.warn("[Tracing] Could not set up background tab detection due to lack of global document")),h.enableInteractions&&this._registerInteractionListener(),PLe({traceFetch:u,traceXHR:d,tracePropagationTargets:A,shouldCreateSpanForRequest:p,enableHTTPTimings:f})}},{key:"_createRouteTransaction",value:function(e){var t=this;if(this._getCurrentHub){var n=this._getCurrentHub(),r=this.options,o=r.beforeNavigate,i=r.idleTimeout,a=r.finalTimeout,s=r.heartbeatInterval,l="pageload"===e.op,c=XBe(l?HLe("sentry-trace"):"",l?HLe("baggage"):""),u=c.traceparentData,d=c.dynamicSamplingContext,p=c.propagationContext,f=Us(Us(Us({},e),u),{},{metadata:Us(Us({},e.metadata),{},{dynamicSamplingContext:u&&!d?{}:d}),trimEnd:!0}),h="function"===typeof o?o(f):f,b=void 0===h?Us(Us({},f),{},{sampled:!1}):h;b.metadata=b.name!==f.name?Us(Us({},b.metadata),{},{source:"custom"}):b.metadata,this._latestRouteName=b.name,this._latestRouteSource=b.metadata&&b.metadata.source,!1===b.sampled&&("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.log("[Tracing] Will not send ".concat(b.op," transaction because of beforeNavigate.")),("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.log("[Tracing] Starting ".concat(b.op," transaction on scope"));var A=uLe(n,b,i,a,!0,{location:pLe.location},s),m=n.getScope();return l&&u?m.setPropagationContext(p):m.setPropagationContext({traceId:A.traceId,spanId:A.spanId,parentSpanId:A.parentSpanId,sampled:A.sampled}),A.registerBeforeFinishCallback((function(e){t._collectWebVitals(),BLe(e)})),A}("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.warn("[Tracing] Did not create ".concat(e.op," transaction because _getCurrentHub is invalid."))}},{key:"_registerInteractionListener",value:function(){var e,t=this,n=function(){var n=t.options,r=n.idleTimeout,o=n.finalTimeout,i=n.heartbeatInterval,a="ui.action.click",s=oLe();if(s&&s.op&&["navigation","pageload"].includes(s.op))("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.warn("[Tracing] Did not create ".concat(a," transaction because a pageload or navigation transaction is in progress."));else if(e&&(e.setFinishReason("interactionInterrupted"),e.finish(),e=void 0),t._getCurrentHub)if(t._latestRouteName){var l=t._getCurrentHub(),c=pLe.location,u={name:t._latestRouteName,op:a,trimEnd:!0,metadata:{source:t._latestRouteSource||"url"}};e=uLe(l,u,r,o,!0,{location:c},i)}else("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.warn("[Tracing] Did not create ".concat(a," transaction because _latestRouteName is missing."));else("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.warn("[Tracing] Did not create ".concat(a," transaction because _getCurrentHub is invalid."))};["click"].forEach((function(e){addEventListener(e,n,{once:!1,capture:!0})}))}}]),e}();function HLe(e){var t=function(e){return mNe.document&&mNe.document.querySelector?mNe.document.querySelector(e):null}("meta[name=".concat(e,"]"));return t?t.getAttribute("content"):void 0}var $Le,VLe=__webpack_require__(63331),XLe=JDe.n2,QLe="sentryReplaySession",YLe="replay_event",GLe="Unable to send Replay",KLe=5e3,JLe=3,eRe=15e4,tRe=5e3,nRe=2e7,rRe=36e5;function oRe(e){var t=null===e||void 0===e?void 0:e.host;return Boolean(t&&t.shadowRoot&&t.shadowRoot===e)}function iRe(e){var t=e.maskInputOptions,n=e.tagName,r=e.type;"option"===n.toLowerCase()&&(n="select");var o="string"===typeof r?r.toLowerCase():void 0;return t[n.toLowerCase()]||o&&t[o]||"password"===o||"input"===n&&!r&&t.text}function aRe(e){var t=e.input,n=e.maskInputSelector,r=e.unmaskInputSelector,o=e.maskInputOptions,i=e.tagName,a=e.type,s=e.value,l=e.maskInputFn,c=s||"";return r&&t.matches(r)||(t.hasAttribute("data-rr-is-password")&&(a="password"),(iRe({maskInputOptions:o,tagName:i,type:a})||n&&t.matches(n))&&(c=l?l(c):"*".repeat(c.length))),c}!function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"}($Le||($Le={}));var sRe="__rrweb_original__";function lRe(e){var t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?t.toLowerCase():null}function cRe(e,t,n){return"string"===typeof n&&n.toLowerCase(),"INPUT"!==t||"radio"!==n&&"checkbox"!==n?e.value:e.getAttribute("value")||""}var uRe,dRe,pRe=1,fRe=new RegExp("[^a-z0-9-_:]"),hRe=-2;function bRe(e){return e?e.replace(/[\S]/g,"*"):""}function ARe(e){try{var t=e.rules||e.cssRules;return t?Array.from(t).map(mRe).join(""):null}catch(n){return null}}function mRe(e){var t=e.cssText;if(function(e){return"styleSheet"in e}(e))try{t=ARe(e.styleSheet)||t}catch(Mi){}return gRe(t)}function gRe(e){if(e.indexOf(":")>-1){return e.replace(/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm,"$1\\$2")}return e}var vRe=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,yRe=/^(?!www\.|(?:http|ftp)s?:\/\/|[A-Za-z]:\\|\/\/|#).*/,MRe=/^(data:)([^,]*),(.*)/i;function ORe(e,t){return(e||"").replace(vRe,(function(e,n,r,o,i,a){var s,l=r||i||a,c=n||o||"";if(!l)return e;if(!yRe.test(l))return"url(".concat(c).concat(l).concat(c,")");if(MRe.test(l))return"url(".concat(c).concat(l).concat(c,")");if("/"===l[0])return"url(".concat(c).concat((s=t,(s.indexOf("//")>-1?s.split("/").slice(0,3).join("/"):s.split("/")[0]).split("?")[0]+l)).concat(c,")");var u=t.split("/"),d=l.split("/");u.pop();var p,f=(0,b.Z)(d);try{for(f.s();!(p=f.n()).done;){var h=p.value;"."!==h&&(".."===h?u.pop():u.push(h))}}catch(A){f.e(A)}finally{f.f()}return"url(".concat(c).concat(u.join("/")).concat(c,")")}))}var _Re,zRe,xRe,wRe,CRe,SRe,ERe=/^[^ \t\n\r\u000c]+/,kRe=/^[, \t\n\r\u000c]+/;function DRe(e,t){if(!t||""===t.trim())return t;var n=e.createElement("a");return n.href=t,n.href}function NRe(e){return Boolean("svg"===e.tagName||e.ownerSVGElement)}function TRe(){var e=document.createElement("a");return e.href="",e.href}function jRe(e,t,n,r,o,i,a,s){if(!o)return o;var l=r.toLowerCase(),c=n.toLowerCase();return"src"===l||"href"===l||"xlink:href"===l&&"#"!==o[0]?DRe(e,o):"background"!==l||"table"!==c&&"td"!==c&&"th"!==c?"srcset"===l?function(e,t){if(""===t.trim())return t;var n=0;function r(e){var r,o=e.exec(t.substring(n));return o?(r=o[0],n+=r.length,r):""}for(var o=[];r(kRe),!(n>=t.length);){var i=r(ERe);if(","===i.slice(-1))i=DRe(e,i.substring(0,i.length-1)),o.push(i);else{var a="";i=DRe(e,i);for(var s=!1;;){var l=t.charAt(n);if(""===l){o.push((i+a).trim());break}if(s)")"===l&&(s=!1);else{if(","===l){n+=1,o.push((i+a).trim());break}"("===l&&(s=!0)}a+=l,n+=1}}}return o.join(", ")}(e,o):"style"===l?ORe(o,TRe()):"object"===c&&"data"===l?DRe(e,o):i&&function(e,t,n,r){if(r&&e.matches(r))return!1;return["placeholder","title","aria-label"].indexOf(t)>-1||"input"===n&&"value"===t&&e.hasAttribute("type")&&["submit","button"].indexOf(e.getAttribute("type").toLowerCase())>-1}(t,l,c,a)?s?s(o):bRe(o):o:DRe(e,o)}function BRe(e,t,n,r,o){if(!e)return!1;if(e.nodeType!==e.ELEMENT_NODE)return BRe(e.parentNode,t,n,r,o);if(r&&(e.matches(r)||e.closest(r)))return!1;if(o)return!0;if("string"===typeof t){if(e.classList.contains(t))return!0}else for(var i=0;i<e.classList.length;i++){var a=e.classList[i];if(t.test(a))return!0}return!(!n||!e.matches(n))||BRe(e.parentNode,t,n,r,o)}function LRe(e,t){var n,r,o,i=t.doc,a=t.blockClass,s=t.blockSelector,l=t.unblockSelector,c=t.maskTextClass,u=t.maskTextSelector,d=t.unmaskTextSelector,p=t.inlineStylesheet,f=t.maskInputSelector,h=t.unmaskInputSelector,b=t.maskAllText,A=t.maskInputOptions,m=void 0===A?{}:A,g=t.maskTextFn,v=t.maskInputFn,y=t.dataURLOptions,M=void 0===y?{}:y,O=t.inlineImages,_=t.recordCanvas,z=t.keepIframeSrcFn;if(i.__sn){var x=i.__sn.id;r=1===x?void 0:x}switch(e.nodeType){case e.DOCUMENT_NODE:return"CSS1Compat"!==e.compatMode?{type:$Le.Document,childNodes:[],compatMode:e.compatMode,rootId:r}:{type:$Le.Document,childNodes:[],rootId:r};case e.DOCUMENT_TYPE_NODE:return{type:$Le.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:r};case e.ELEMENT_NODE:for(var w=function(e,t,n,r){if(r&&e.matches(r))return!1;if("string"===typeof t){if(e.classList.contains(t))return!0}else for(var o=0;o<e.classList.length;o++){var i=e.classList[o];if(t.test(i))return!0}return!!n&&e.matches(n)}(e,a,s,l),C=function(e){if(e instanceof HTMLFormElement)return"form";var t=e.tagName.toLowerCase().trim();return fRe.test(t)?"div":t}(e),S={},E=0,k=Array.from(e.attributes);E<k.length;E++){var D=k[E],N=D.name,T=D.value;PRe(C,N)||(S[N]=jRe(i,e,C,N,T,b,d,g))}if("link"===C&&p){var j=Array.from(i.styleSheets).find((function(t){return t.href===e.href})),B=null;j&&(B=ARe(j)),B&&(delete S.rel,delete S.href,S._cssText=ORe(B,j.href))}if("style"===C&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){var L=ARe(e.sheet);L&&(S._cssText=ORe(L,TRe()))}if("input"===C||"textarea"===C||"select"===C||"option"===C){var R=e,q=lRe(R),P=cRe(R,C.toUpperCase(),q),I=e.checked;"submit"!==q&&"button"!==q&&P&&(S.value=aRe({input:R,type:q,tagName:C,value:P,maskInputSelector:f,unmaskInputSelector:h,maskInputOptions:m,maskInputFn:v})),I&&(S.checked=I)}if("option"===C&&(e.selected&&!m.select?S.selected=!0:delete S.selected),"canvas"===C&&_)if("2d"===e.__context)(function(e){var t=e.getContext("2d");if(!t)return!0;for(var n=0;n<e.width;n+=50)for(var r=0;r<e.height;r+=50){var o=t.getImageData,i=sRe in o?o[sRe]:o;if(new Uint32Array(i.call(t,n,r,Math.min(50,e.width-n),Math.min(50,e.height-r)).data.buffer).some((function(e){return 0!==e})))return!1}return!0})(e)||(S.rr_dataURL=e.toDataURL(M.type,M.quality));else if(!("__context"in e)){var W=e.toDataURL(M.type,M.quality),F=document.createElement("canvas");F.width=e.width,F.height=e.height,W!==F.toDataURL(M.type,M.quality)&&(S.rr_dataURL=W)}if("img"===C&&O){uRe||(uRe=i.createElement("canvas"),dRe=uRe.getContext("2d"));var U=e,Z=U.crossOrigin;U.crossOrigin="anonymous";var H=function(){try{uRe.width=U.naturalWidth,uRe.height=U.naturalHeight,dRe.drawImage(U,0,0),S.rr_dataURL=uRe.toDataURL(M.type,M.quality)}catch(e){console.warn("Cannot inline img src=".concat(U.currentSrc,"! Error: ").concat(e))}Z?S.crossOrigin=Z:delete S.crossOrigin};U.complete&&0!==U.naturalWidth?H():U.onload=H}if("audio"!==C&&"video"!==C||(S.rr_mediaState=e.paused?"paused":"played",S.rr_mediaCurrentTime=e.currentTime),e.scrollLeft&&(S.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(S.rr_scrollTop=e.scrollTop),w){var $=e.getBoundingClientRect(),V=$.width,X=$.height;S={class:S.class,rr_width:"".concat(V,"px"),rr_height:"".concat(X,"px")}}return"iframe"!==C||z(S.src)||(e.contentDocument||(S.rr_src=S.src),delete S.src),{type:$Le.Element,tagName:C,attributes:S,childNodes:[],isSVG:NRe(e)||void 0,needBlock:w,rootId:r};case e.TEXT_NODE:var Q=e.parentNode&&e.parentNode.tagName,Y=e.textContent,G="STYLE"===Q||void 0,K="SCRIPT"===Q||void 0;if(G&&Y){try{e.nextSibling||e.previousSibling||(null===(n=e.parentNode.sheet)||void 0===n?void 0:n.cssRules)&&(Y=(o=e.parentNode.sheet).cssRules?Array.from(o.cssRules).map((function(e){return e.cssText?gRe(e.cssText):""})).join(""):"")}catch(J){console.warn("Cannot get CSS styles from text's parentNode. Error: ".concat(J),e)}Y=ORe(Y,TRe())}if(K&&(Y="SCRIPT_PLACEHOLDER"),"TEXTAREA"===Q&&Y)Y="";else if("OPTION"===Q&&Y){Y=aRe({input:e.parentNode,type:null,tagName:Q,value:Y,maskInputSelector:f,unmaskInputSelector:h,maskInputOptions:m,maskInputFn:v})}else!G&&!K&&BRe(e,c,u,d,b)&&Y&&(Y=g?g(Y):bRe(Y));return{type:$Le.Text,textContent:Y||"",isStyle:G,rootId:r};case e.CDATA_SECTION_NODE:return{type:$Le.CDATA,textContent:"",rootId:r};case e.COMMENT_NODE:return{type:$Le.Comment,textContent:e.textContent||"",rootId:r};default:return!1}}function RRe(e){return void 0===e||null===e?"":e.toLowerCase()}function qRe(e,t){var n,r=t.doc,o=t.map,i=t.blockClass,a=t.blockSelector,s=t.unblockSelector,l=t.maskTextClass,c=t.maskTextSelector,u=t.unmaskTextSelector,d=t.skipChild,p=void 0!==d&&d,f=t.inlineStylesheet,h=void 0===f||f,b=t.maskInputSelector,A=t.unmaskInputSelector,m=t.maskAllText,g=t.maskInputOptions,v=void 0===g?{}:g,y=t.maskTextFn,M=t.maskInputFn,O=t.slimDOMOptions,_=t.dataURLOptions,z=void 0===_?{}:_,x=t.inlineImages,w=void 0!==x&&x,C=t.recordCanvas,S=void 0!==C&&C,E=t.onSerialize,k=t.onIframeLoad,D=t.iframeLoadTimeout,N=void 0===D?5e3:D,T=t.keepIframeSrcFn,j=void 0===T?function(){return!1}:T,B=t.preserveWhiteSpace,L=void 0===B||B,R=LRe(e,{doc:r,blockClass:i,blockSelector:a,unblockSelector:s,maskTextClass:l,maskTextSelector:c,unmaskTextSelector:u,inlineStylesheet:h,maskInputSelector:b,unmaskInputSelector:A,maskAllText:m,maskInputOptions:v,maskTextFn:y,maskInputFn:M,dataURLOptions:z,inlineImages:w,recordCanvas:S,keepIframeSrcFn:j});if(!R)return console.warn(e,"not serialized"),null;n="__sn"in e?e.__sn.id:!function(e,t){if(t.comment&&e.type===$Le.Comment)return!0;if(e.type===$Le.Element){if(t.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel||"modulepreload"===e.attributes.rel)&&"script"===e.attributes.as||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"===typeof e.attributes.href&&e.attributes.href.endsWith(".js")))return!0;if(t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(RRe(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===RRe(e.attributes.name)||"icon"===RRe(e.attributes.rel)||"apple-touch-icon"===RRe(e.attributes.rel)||"shortcut icon"===RRe(e.attributes.rel))))return!0;if("meta"===e.tagName){if(t.headMetaDescKeywords&&RRe(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(RRe(e.attributes.property).match(/^(og|twitter|fb):/)||RRe(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===RRe(e.attributes.name)))return!0;if(t.headMetaRobots&&("robots"===RRe(e.attributes.name)||"googlebot"===RRe(e.attributes.name)||"bingbot"===RRe(e.attributes.name)))return!0;if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;if(t.headMetaAuthorship&&("author"===RRe(e.attributes.name)||"generator"===RRe(e.attributes.name)||"framework"===RRe(e.attributes.name)||"publisher"===RRe(e.attributes.name)||"progid"===RRe(e.attributes.name)||RRe(e.attributes.property).match(/^article:/)||RRe(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&("google-site-verification"===RRe(e.attributes.name)||"yandex-verification"===RRe(e.attributes.name)||"csrf-token"===RRe(e.attributes.name)||"p:domain_verify"===RRe(e.attributes.name)||"verify-v1"===RRe(e.attributes.name)||"verification"===RRe(e.attributes.name)||"shopify-checkout-api-token"===RRe(e.attributes.name)))return!0}}return!1}(R,O)&&(L||R.type!==$Le.Text||R.isStyle||R.textContent.replace(/^\s+|\s+$/gm,"").length)?pRe++:hRe;var q=Object.assign(R,{id:n});if(e.__sn=q,n===hRe)return null;o[n]=e,E&&E(e);var P=!p;if(q.type===$Le.Element&&(P=P&&!q.needBlock,delete q.needBlock,e.shadowRoot&&(q.isShadowHost=!0)),(q.type===$Le.Document||q.type===$Le.Element)&&P){O.headWhitespace&&R.type===$Le.Element&&"head"===R.tagName&&(L=!1);for(var I={doc:r,map:o,blockClass:i,blockSelector:a,unblockSelector:s,maskTextClass:l,maskTextSelector:c,unmaskTextSelector:u,skipChild:p,inlineStylesheet:h,maskInputSelector:b,unmaskInputSelector:A,maskAllText:m,maskInputOptions:v,maskTextFn:y,maskInputFn:M,slimDOMOptions:O,dataURLOptions:z,inlineImages:w,recordCanvas:S,preserveWhiteSpace:L,onSerialize:E,onIframeLoad:k,iframeLoadTimeout:N,keepIframeSrcFn:j},W=0,F=Array.from(e.childNodes);W<F.length;W++){var U=qRe(F[W],I);U&&q.childNodes.push(U)}if(function(e){return e.nodeType===e.ELEMENT_NODE}(e)&&e.shadowRoot)for(var Z=0,H=Array.from(e.shadowRoot.childNodes);Z<H.length;Z++){var $=qRe(H[Z],I);$&&($.isShadow=!0,q.childNodes.push($))}}return e.parentNode&&oRe(e.parentNode)&&(q.isShadow=!0),q.type===$Le.Element&&"iframe"===q.tagName&&function(e,t,n){var r=e.contentWindow;if(r){var o,i=!1;try{o=r.document.readyState}catch(l){return}if("complete"===o){var a="about:blank";r.location.href===a&&e.src!==a&&""!==e.src?e.addEventListener("load",t):setTimeout(t,0)}else{var s=setTimeout((function(){i||(t(),i=!0)}),n);e.addEventListener("load",(function(){clearTimeout(s),i=!0,t()}))}}}(e,(function(){var t=e.contentDocument;if(t&&k){var n=qRe(t,{doc:t,map:o,blockClass:i,blockSelector:a,unblockSelector:s,maskTextClass:l,maskTextSelector:c,unmaskTextSelector:u,skipChild:!1,inlineStylesheet:h,maskInputSelector:b,unmaskInputSelector:A,maskAllText:m,maskInputOptions:v,maskTextFn:y,maskInputFn:M,slimDOMOptions:O,dataURLOptions:z,inlineImages:w,recordCanvas:S,preserveWhiteSpace:L,onSerialize:E,onIframeLoad:k,iframeLoadTimeout:N,keepIframeSrcFn:j});n&&k(e,n)}}),N),q}function PRe(e,t,n){return("video"===e||"audio"===e)&&"autoplay"===t}function IRe(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document,r={capture:!0,passive:!0};return n.addEventListener(e,t,r),function(){return n.removeEventListener(e,t,r)}}!function(e){e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin"}(_Re||(_Re={})),function(e){e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration"}(zRe||(zRe={})),function(e){e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel"}(xRe||(xRe={})),function(e){e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2"}(wRe||(wRe={})),function(e){e[e.Play=0]="Play",e[e.Pause=1]="Pause",e[e.Seeked=2]="Seeked",e[e.VolumeChange=3]="VolumeChange"}(CRe||(CRe={})),function(e){e.Start="start",e.Pause="pause",e.Resume="resume",e.Resize="resize",e.Finish="finish",e.FullsnapshotRebuilded="fullsnapshot-rebuilded",e.LoadStylesheetStart="load-stylesheet-start",e.LoadStylesheetEnd="load-stylesheet-end",e.SkipStart="skip-start",e.SkipEnd="skip-end",e.MouseInteraction="mouse-interaction",e.EventCast="event-cast",e.CustomEvent="custom-event",e.Flush="flush",e.StateChange="state-change",e.PlayBack="play-back"}(SRe||(SRe={}));var WRe="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.",FRe={map:{},getId:function(){return console.error(WRe),-1},getNode:function(){return console.error(WRe),null},removeNodeFromMap:function(){console.error(WRe)},has:function(){return console.error(WRe),!1},reset:function(){console.error(WRe)}};function URe(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=null,o=0;return function(i){var a=Date.now();o||!1!==n.leading||(o=a);var s=t-(a-o),l=this,c=arguments;s<=0||s>t?(r&&(clearTimeout(r),r=null),o=a,e.apply(l,c)):r||!1===n.trailing||(r=setTimeout((function(){o=!1===n.leading?0:Date.now(),r=null,e.apply(l,c)}),s))}}function ZRe(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:window,i=o.Object.getOwnPropertyDescriptor(e,t);return o.Object.defineProperty(e,t,r?n:{set:function(e){var t=this;setTimeout((function(){n.set.call(t,e)}),0),i&&i.set&&i.set.call(this,e)}}),function(){return ZRe(e,t,i||{},!0)}}function HRe(e,t,n){try{if(!(t in e))return function(){};var r=e[t],o=n(r);return"function"===typeof o&&(o.prototype=o.prototype||{},Object.defineProperties(o,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=o,function(){e[t]=r}}catch(Mi){return function(){}}}function $Re(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function VRe(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function XRe(e,t,n,r){if(!e)return!1;if(e.nodeType===e.ELEMENT_NODE){var o=!1,i=r&&e.matches(r);return"string"===typeof t?o=void 0!==e.closest?!i&&null!==e.closest("."+t):!i&&e.classList.contains(t):!i&&e.classList.forEach((function(e){t.test(e)&&(o=!0)})),!o&&n&&(o=e.matches(n)),!i&&o||XRe(e.parentNode,t,n,r)}return e.nodeType,e.TEXT_NODE,XRe(e.parentNode,t,n,r)}function QRe(e){return"__sn"in e&&e.__sn.id===hRe}function YRe(e,t){if(oRe(e))return!1;var n=t.getId(e);return!t.has(n)||(!e.parentNode||e.parentNode.nodeType!==e.DOCUMENT_NODE)&&(!e.parentNode||YRe(e.parentNode,t))}function GRe(e){return Boolean(e.changedTouches)}function KRe(e){return"__sn"in e&&(e.__sn.type===$Le.Element&&"iframe"===e.__sn.tagName)}function JRe(e){return Boolean(null===e||void 0===e?void 0:e.shadowRoot)}function eqe(e){return"__ln"in e}"undefined"!==typeof window&&window.Proxy&&window.Reflect&&(FRe=new Proxy(FRe,{get:function(e,t,n){return"map"===t&&console.error(WRe),Reflect.get(e,t,n)}}));var tqe=function(){function e(){(0,o.Z)(this,e),this.length=0,this.head=null}return(0,i.Z)(e,[{key:"get",value:function(e){if(e>=this.length)throw new Error("Position outside of list range");for(var t=this.head,n=0;n<e;n++)t=(null===t||void 0===t?void 0:t.next)||null;return t}},{key:"addNode",value:function(e){var t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&eqe(e.previousSibling)){var n=e.previousSibling.__ln.next;t.next=n,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,n&&(n.previous=t)}else if(e.nextSibling&&eqe(e.nextSibling)&&e.nextSibling.__ln.previous){var r=e.nextSibling.__ln.previous;t.previous=r,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,r&&(r.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;this.length++}},{key:"removeNode",value:function(e){var t=e.__ln;this.head&&(t.previous?(t.previous.next=t.next,t.next&&(t.next.previous=t.previous)):(this.head=t.next,this.head&&(this.head.previous=null)),e.__ln&&delete e.__ln,this.length--)}}]),e}(),nqe=function(e,t){return"".concat(e,"@").concat(t)};function rqe(e){return"__sn"in e}var oqe=function(){function e(){var t=this;(0,o.Z)(this,e),this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=function(e){e.forEach(t.processMutation),t.emit()},this.emit=function(){if(!t.frozen&&!t.locked){for(var e=[],n=new tqe,r=function(e){for(var n=e,r=hRe;r===hRe;)r=(n=n&&n.nextSibling)&&t.mirror.getId(n);return r},o=function(o){for(var i,a,s,l,c,u=o.getRootNode?null===(i=o.getRootNode())||void 0===i?void 0:i.host:null,d=u;null===(s=null===(a=null===d||void 0===d?void 0:d.getRootNode)||void 0===a?void 0:a.call(d))||void 0===s?void 0:s.host;)d=(null===(c=null===(l=null===d||void 0===d?void 0:d.getRootNode)||void 0===l?void 0:l.call(d))||void 0===c?void 0:c.host)||null;var p=!t.doc.contains(o)&&(!d||!t.doc.contains(d));if(o.parentNode&&!p){var f=oRe(o.parentNode)?t.mirror.getId(u):t.mirror.getId(o.parentNode),h=r(o);if(-1===f||-1===h)return n.addNode(o);var b=qRe(o,{doc:t.doc,map:t.mirror.map,blockClass:t.blockClass,blockSelector:t.blockSelector,unblockSelector:t.unblockSelector,maskTextClass:t.maskTextClass,maskTextSelector:t.maskTextSelector,unmaskTextSelector:t.unmaskTextSelector,maskInputSelector:t.maskInputSelector,unmaskInputSelector:t.unmaskInputSelector,skipChild:!0,inlineStylesheet:t.inlineStylesheet,maskAllText:t.maskAllText,maskInputOptions:t.maskInputOptions,maskTextFn:t.maskTextFn,maskInputFn:t.maskInputFn,slimDOMOptions:t.slimDOMOptions,recordCanvas:t.recordCanvas,inlineImages:t.inlineImages,onSerialize:function(e){KRe(e)&&t.iframeManager.addIframe(e),JRe(o)&&t.shadowDomManager.addShadowRoot(o.shadowRoot,document)},onIframeLoad:function(e,n){t.iframeManager.attachIframe(e,n),t.shadowDomManager.observeAttachShadow(e)}});b&&e.push({parentId:f,nextId:h,node:b})}};t.mapRemoves.length;)t.mirror.removeNodeFromMap(t.mapRemoves.shift());var i,a=(0,b.Z)(t.movedSet);try{for(a.s();!(i=a.n()).done;){var s=i.value;aqe(t.removes,s,t.mirror)&&!t.movedSet.has(s.parentNode)||o(s)}}catch(M){a.e(M)}finally{a.f()}var l,c=(0,b.Z)(t.addedSet);try{for(c.s();!(l=c.n()).done;){var u=l.value;sqe(t.droppedSet,u)||aqe(t.removes,u,t.mirror)?sqe(t.movedSet,u)?o(u):t.droppedSet.add(u):o(u)}}catch(M){c.e(M)}finally{c.f()}for(var d=null;n.length;){var p=null;if(d){var f=t.mirror.getId(d.value.parentNode),h=r(d.value);-1!==f&&-1!==h&&(p=d)}if(!p)for(var A=n.length-1;A>=0;A--){var m=n.get(A);if(m){var g=t.mirror.getId(m.value.parentNode),v=r(m.value);if(-1!==g&&-1!==v){p=m;break}}}if(!p){for(;n.head;)n.removeNode(n.head.value);break}d=p.previous,n.removeNode(p.value),o(p.value)}var y={texts:t.texts.map((function(e){return{id:t.mirror.getId(e.node),value:e.value}})).filter((function(e){return t.mirror.has(e.id)})),attributes:t.attributes.map((function(e){return{id:t.mirror.getId(e.node),attributes:e.attributes}})).filter((function(e){return t.mirror.has(e.id)})),removes:t.removes,adds:e};(y.texts.length||y.attributes.length||y.removes.length||y.adds.length)&&(t.texts=[],t.attributes=[],t.removes=[],t.addedSet=new Set,t.movedSet=new Set,t.droppedSet=new Set,t.movedMap={},t.mutationCb(y))}},this.processMutation=function(e){if(!QRe(e.target))switch(e.type){case"characterData":var n=e.target.textContent;XRe(e.target,t.blockClass,t.blockSelector,t.unblockSelector)||n===e.oldValue||t.texts.push({value:BRe(e.target,t.maskTextClass,t.maskTextSelector,t.unmaskTextSelector,t.maskAllText)&&n?t.maskTextFn?t.maskTextFn(n):n.replace(/[\S]/g,"*"):n,node:e.target});break;case"attributes":var r=e.target,o=r.getAttribute(e.attributeName);if("value"===e.attributeName&&(o=aRe({input:r,maskInputSelector:t.maskInputSelector,unmaskInputSelector:t.unmaskInputSelector,maskInputOptions:t.maskInputOptions,tagName:r.tagName,type:r.getAttribute("type"),value:o,maskInputFn:t.maskInputFn})),XRe(e.target,t.blockClass,t.blockSelector,t.unblockSelector)||o===e.oldValue)return;var i=t.attributes.find((function(t){return t.node===e.target}));if(i||(i={node:e.target,attributes:{}},t.attributes.push(i)),"type"===e.attributeName&&"INPUT"===r.tagName&&"password"===(e.oldValue||"").toLowerCase()&&r.setAttribute("data-rr-is-password","true"),"style"===e.attributeName){var a=t.doc.createElement("span");e.oldValue&&a.setAttribute("style",e.oldValue),void 0!==i.attributes.style&&null!==i.attributes.style||(i.attributes.style={});try{for(var s=i.attributes.style,l=0,c=Array.from(r.style);l<c.length;l++){var u=c[l],d=r.style.getPropertyValue(u),p=r.style.getPropertyPriority(u);d===a.style.getPropertyValue(u)&&p===a.style.getPropertyPriority(u)||(s[u]=""===p?d:[d,p])}for(var f=0,h=Array.from(a.style);f<h.length;f++){var b=h[f];""===r.style.getPropertyValue(b)&&(s[b]=!1)}}catch(m){console.warn("[rrweb] Error when parsing update to style attribute:",m)}}else{var A=e.target;i.attributes[e.attributeName]=jRe(t.doc,A,A.tagName,e.attributeName,o,t.maskAllText,t.unmaskTextSelector,t.maskTextFn)}break;case"childList":e.addedNodes.forEach((function(n){return t.genAdds(n,e.target)})),e.removedNodes.forEach((function(n){var r=t.mirror.getId(n),o=oRe(e.target)?t.mirror.getId(e.target.host):t.mirror.getId(e.target);XRe(e.target,t.blockClass,t.blockSelector,t.unblockSelector)||QRe(n)||(t.addedSet.has(n)?(iqe(t.addedSet,n),t.droppedSet.add(n)):t.addedSet.has(e.target)&&-1===r||YRe(e.target,t.mirror)||(t.movedSet.has(n)&&t.movedMap[nqe(r,o)]?iqe(t.movedSet,n):t.removes.push({parentId:o,id:r,isShadow:!!oRe(e.target)||void 0})),t.mapRemoves.push(n))}))}},this.genAdds=function(e,n){if(!n||!XRe(n,t.blockClass,t.blockSelector,t.unblockSelector)){if(rqe(e)){if(QRe(e))return;t.movedSet.add(e);var r=null;n&&rqe(n)&&(r=n.__sn.id),r&&(t.movedMap[nqe(e.__sn.id,r)]=!0)}else t.addedSet.add(e),t.droppedSet.delete(e);XRe(e,t.blockClass,t.blockSelector,t.unblockSelector)||e.childNodes.forEach((function(e){return t.genAdds(e)}))}}}return(0,i.Z)(e,[{key:"init",value:function(e){var t=this;["mutationCb","blockClass","blockSelector","unblockSelector","maskTextClass","maskTextSelector","unmaskTextSelector","maskInputSelector","unmaskInputSelector","inlineStylesheet","maskAllText","maskInputOptions","maskTextFn","maskInputFn","recordCanvas","inlineImages","slimDOMOptions","doc","mirror","iframeManager","shadowDomManager","canvasManager"].forEach((function(n){t[n]=e[n]}))}},{key:"freeze",value:function(){this.frozen=!0,this.canvasManager.freeze()}},{key:"unfreeze",value:function(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}},{key:"isFrozen",value:function(){return this.frozen}},{key:"lock",value:function(){this.locked=!0,this.canvasManager.lock()}},{key:"unlock",value:function(){this.locked=!1,this.canvasManager.unlock(),this.emit()}},{key:"reset",value:function(){this.shadowDomManager.reset(),this.canvasManager.reset()}}]),e}();function iqe(e,t){e.delete(t),t.childNodes.forEach((function(t){return iqe(e,t)}))}function aqe(e,t,n){var r=t.parentNode;if(!r)return!1;var o=n.getId(r);return!!e.some((function(e){return e.id===o}))||aqe(e,r,n)}function sqe(e,t){var n=t.parentNode;return!!n&&(!!e.has(n)||sqe(e,n))}var lqe=function(e){return function(){try{return e.apply(void 0,arguments)}catch(t){try{t.__rrweb__=!0}catch(Mi){}throw t}}},cqe=[];function uqe(e){try{if("composedPath"in e){var t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch(Mi){}return e&&e.target}function dqe(e,t){var n,r,o=new oqe;cqe.push(o),o.init(e);var i=window.MutationObserver||window.__rrMutationObserver,a=null===(r=null===(n=null===window||void 0===window?void 0:window.Zone)||void 0===n?void 0:n.__symbol__)||void 0===r?void 0:r.call(n,"MutationObserver");a&&window[a]&&(i=window[a]);var s=new i(lqe((function(t){e.onMutation&&!1===e.onMutation(t)||o.processMutations(t)})));return s.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),s}function pqe(e){var t=e.mouseInteractionCb,n=e.doc,r=e.mirror,o=e.blockClass,i=e.blockSelector,a=e.unblockSelector,s=e.sampling;if(!1===s.mouseInteraction)return function(){};var l=!0===s.mouseInteraction||void 0===s.mouseInteraction?{}:s.mouseInteraction,c=[];return Object.keys(xRe).filter((function(e){return Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==l[e]})).forEach((function(e){var s=e.toLowerCase(),l=lqe(function(e){return function(n){var s=uqe(n);if(!XRe(s,o,i,a)){var l=GRe(n)?n.changedTouches[0]:n;if(l){var c=r.getId(s),u=l.clientX,d=l.clientY;lqe(t)({type:xRe[e],id:c,x:u,y:d})}}}}(e));c.push(IRe(s,l,n))})),lqe((function(){c.forEach((function(e){return e()}))}))}function fqe(e){var t=e.scrollCb,n=e.doc,r=e.mirror,o=e.blockClass,i=e.blockSelector,a=e.unblockSelector,s=URe((function(e){var s=uqe(e);if(s&&!XRe(s,o,i,a)){var l=r.getId(s);if(s===n){var c=n.scrollingElement||n.documentElement;lqe(t)({id:l,x:c.scrollLeft,y:c.scrollTop})}else lqe(t)({id:l,x:s.scrollLeft,y:s.scrollTop})}}),e.sampling.scroll||100);return IRe("scroll",lqe(s),n)}function hqe(e,t){var n=Object.assign({},e);return t||delete n.userTriggered,n}var bqe=["INPUT","TEXTAREA","SELECT"],Aqe=new WeakMap;function mqe(e){var t=e.inputCb,n=e.doc,o=e.mirror,i=e.blockClass,a=e.blockSelector,s=e.unblockSelector,l=e.ignoreClass,c=e.ignoreSelector,u=e.maskInputSelector,d=e.unmaskInputSelector,p=e.maskInputOptions,f=e.maskInputFn,h=e.sampling,b=e.userTriggeredOnInput;function A(e){var t=uqe(e),r=t&&t.tagName,o=e.isTrusted;if("OPTION"===r&&(t=t.parentElement),t&&r&&!(bqe.indexOf(r)<0)&&!XRe(t,i,a,s)){var h=t,A=lRe(h);if(!(h.classList.contains(l)||c&&h.matches(c))){var g=cRe(h,r,A),v=!1;"radio"!==A&&"checkbox"!==A||(v=t.checked),function(e){var t=e.tagName,n=e.type,r=e.maskInputOptions;return e.maskInputSelector||iRe({maskInputOptions:r,tagName:t,type:n})}({maskInputOptions:p,maskInputSelector:u,tagName:r,type:A})&&(g=aRe({input:h,maskInputOptions:p,maskInputSelector:u,unmaskInputSelector:d,tagName:r,type:A,value:g,maskInputFn:f})),m(t,lqe(hqe)({text:g,isChecked:v,userTriggered:o},b));var y=t.name;"radio"===A&&y&&v&&n.querySelectorAll('input[type="radio"][name="'.concat(y,'"]')).forEach((function(e){if(e!==t){var n=aRe({input:e,maskInputOptions:p,maskInputSelector:u,unmaskInputSelector:d,tagName:r,type:A,value:cRe(e,r,A),maskInputFn:f});m(e,lqe(hqe)({text:n,isChecked:!v,userTriggered:!1},b))}}))}}}function m(e,n){var r=Aqe.get(e);if(!r||r.text!==n.text||r.isChecked!==n.isChecked){Aqe.set(e,n);var i=o.getId(e);t(Object.assign(Object.assign({},n),{id:i}))}}var g=("last"===h.input?["change"]:["input","change"]).map((function(e){return IRe(e,lqe(A),n)})),v=Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value"),y=[[HTMLInputElement.prototype,"value"],[HTMLInputElement.prototype,"checked"],[HTMLSelectElement.prototype,"value"],[HTMLTextAreaElement.prototype,"value"],[HTMLSelectElement.prototype,"selectedIndex"],[HTMLOptionElement.prototype,"selected"]];return v&&v.set&&g.push.apply(g,(0,r.Z)(y.map((function(e){return ZRe(e[0],e[1],{set:function(){lqe(A)({target:this})}})})))),lqe((function(){g.forEach((function(e){return e()}))}))}function gqe(e){return function(e,t){if(yqe("CSSGroupingRule")&&e.parentRule instanceof CSSGroupingRule||yqe("CSSMediaRule")&&e.parentRule instanceof CSSMediaRule||yqe("CSSSupportsRule")&&e.parentRule instanceof CSSSupportsRule||yqe("CSSConditionRule")&&e.parentRule instanceof CSSConditionRule){var n=Array.from(e.parentRule.cssRules).indexOf(e);t.unshift(n)}else{var r=Array.from(e.parentStyleSheet.cssRules).indexOf(e);t.unshift(r)}return t}(e,[])}function vqe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=e.doc.defaultView;if(!o)return function(){};!function(e,t){var n=e.mutationCb,r=e.mousemoveCb,o=e.mouseInteractionCb,i=e.scrollCb,a=e.viewportResizeCb,s=e.inputCb,l=e.mediaInteractionCb,c=e.styleSheetRuleCb,u=e.styleDeclarationCb,d=e.canvasMutationCb,p=e.fontCb;e.mutationCb=function(){t.mutation&&t.mutation.apply(t,arguments),n.apply(void 0,arguments)},e.mousemoveCb=function(){t.mousemove&&t.mousemove.apply(t,arguments),r.apply(void 0,arguments)},e.mouseInteractionCb=function(){t.mouseInteraction&&t.mouseInteraction.apply(t,arguments),o.apply(void 0,arguments)},e.scrollCb=function(){t.scroll&&t.scroll.apply(t,arguments),i.apply(void 0,arguments)},e.viewportResizeCb=function(){t.viewportResize&&t.viewportResize.apply(t,arguments),a.apply(void 0,arguments)},e.inputCb=function(){t.input&&t.input.apply(t,arguments),s.apply(void 0,arguments)},e.mediaInteractionCb=function(){t.mediaInteaction&&t.mediaInteaction.apply(t,arguments),l.apply(void 0,arguments)},e.styleSheetRuleCb=function(){t.styleSheetRule&&t.styleSheetRule.apply(t,arguments),c.apply(void 0,arguments)},e.styleDeclarationCb=function(){t.styleDeclaration&&t.styleDeclaration.apply(t,arguments),u.apply(void 0,arguments)},e.canvasMutationCb=function(){t.canvasMutation&&t.canvasMutation.apply(t,arguments),d.apply(void 0,arguments)},e.fontCb=function(){t.font&&t.font.apply(t,arguments),p.apply(void 0,arguments)}}(e,t);var i,a=dqe(e,e.doc),s=function(e){var t=e.mousemoveCb,n=e.sampling,r=e.doc,o=e.mirror;if(!1===n.mousemove)return function(){};var i,a="number"===typeof n.mousemove?n.mousemove:50,s="number"===typeof n.mousemoveCallback?n.mousemoveCallback:500,l=[],c=URe((function(e){var n=Date.now()-i;lqe(t)(l.map((function(e){return e.timeOffset-=n,e})),e),l=[],i=null}),s),u=URe((function(e){var t=uqe(e),n=GRe(e)?e.changedTouches[0]:e,r=n.clientX,a=n.clientY;i||(i=Date.now()),l.push({x:r,y:a,id:o.getId(t),timeOffset:Date.now()-i}),c("undefined"!==typeof DragEvent&&e instanceof DragEvent?zRe.Drag:e instanceof MouseEvent?zRe.MouseMove:zRe.TouchMove)}),a,{trailing:!1}),d=[IRe("mousemove",lqe(u),r),IRe("touchmove",lqe(u),r),IRe("drag",lqe(u),r)];return lqe((function(){d.forEach((function(e){return e()}))}))}(e),l=pqe(e),c=fqe(e),u=function(e){var t=e.viewportResizeCb,n=-1,r=-1,o=URe((function(){var e=$Re(),o=VRe();n===e&&r===o||(lqe(t)({width:Number(o),height:Number(e)}),n=e,r=o)}),200);return IRe("resize",lqe(o),window)}(e),d=mqe(e),p=function(e){var t=e.mediaInteractionCb,n=e.blockClass,r=e.blockSelector,o=e.unblockSelector,i=e.mirror,a=e.sampling,s=function(e){return URe(lqe((function(a){var s=uqe(a);if(s&&!XRe(s,n,r,o)){var l=s.currentTime,c=s.volume,u=s.muted;t({type:e,id:i.getId(s),currentTime:l,volume:c,muted:u})}})),a.media||500)},l=[IRe("play",s(0)),IRe("pause",s(1)),IRe("seeked",s(2)),IRe("volumechange",s(3))];return lqe((function(){l.forEach((function(e){return e()}))}))}(e),f=function(e,t){var o=e.styleSheetRuleCb,i=e.mirror,a=t.win;if(!a.CSSStyleSheet||!a.CSSStyleSheet.prototype)return function(){};var s=a.CSSStyleSheet.prototype.insertRule;a.CSSStyleSheet.prototype.insertRule=new Proxy(s,{apply:lqe((function(e,t,r){var a=(0,n.Z)(r,2),s=a[0],l=a[1],c=i.getId(t.ownerNode);return-1!==c&&o({id:c,adds:[{rule:s,index:l}]}),e.apply(t,r)}))});var l=a.CSSStyleSheet.prototype.deleteRule;a.CSSStyleSheet.prototype.deleteRule=new Proxy(l,{apply:lqe((function(e,t,r){var a=(0,n.Z)(r,1)[0],s=i.getId(t.ownerNode);return-1!==s&&o({id:s,removes:[{index:a}]}),e.apply(t,r)}))});var c={};Mqe("CSSGroupingRule")?c.CSSGroupingRule=a.CSSGroupingRule:(Mqe("CSSMediaRule")&&(c.CSSMediaRule=a.CSSMediaRule),Mqe("CSSConditionRule")&&(c.CSSConditionRule=a.CSSConditionRule),Mqe("CSSSupportsRule")&&(c.CSSSupportsRule=a.CSSSupportsRule));var u={};return Object.entries(c).forEach((function(e){var t=(0,n.Z)(e,2),a=t[0],s=t[1];u[a]={insertRule:s.prototype.insertRule,deleteRule:s.prototype.deleteRule},s.prototype.insertRule=new Proxy(u[a].insertRule,{apply:lqe((function(e,t,a){var s=(0,n.Z)(a,2),l=s[0],c=s[1],u=i.getId(t.parentStyleSheet.ownerNode);return-1!==u&&o({id:u,adds:[{rule:l,index:[].concat((0,r.Z)(gqe(t)),[c||0])}]}),e.apply(t,a)}))}),s.prototype.deleteRule=new Proxy(u[a].deleteRule,{apply:lqe((function(e,t,a){var s=(0,n.Z)(a,1)[0],l=i.getId(t.parentStyleSheet.ownerNode);return-1!==l&&o({id:l,removes:[{index:[].concat((0,r.Z)(gqe(t)),[s])}]}),e.apply(t,a)}))})})),lqe((function(){a.CSSStyleSheet.prototype.insertRule=s,a.CSSStyleSheet.prototype.deleteRule=l,Object.entries(c).forEach((function(e){var t=(0,n.Z)(e,2),r=t[0],o=t[1];o.prototype.insertRule=u[r].insertRule,o.prototype.deleteRule=u[r].deleteRule}))}))}(e,{win:o}),h=function(e,t){var r=e.styleDeclarationCb,o=e.mirror,i=t.win,a=i.CSSStyleDeclaration.prototype.setProperty;i.CSSStyleDeclaration.prototype.setProperty=new Proxy(a,{apply:lqe((function(e,t,i){var a,s,l=(0,n.Z)(i,3),c=l[0],u=l[1],d=l[2],p=o.getId(null===(s=null===(a=t.parentRule)||void 0===a?void 0:a.parentStyleSheet)||void 0===s?void 0:s.ownerNode);return-1!==p&&r({id:p,set:{property:c,value:u,priority:d},index:gqe(t.parentRule)}),e.apply(t,i)}))});var s=i.CSSStyleDeclaration.prototype.removeProperty;return i.CSSStyleDeclaration.prototype.removeProperty=new Proxy(s,{apply:lqe((function(e,t,i){var a,s,l=(0,n.Z)(i,1)[0],c=o.getId(null===(s=null===(a=t.parentRule)||void 0===a?void 0:a.parentStyleSheet)||void 0===s?void 0:s.ownerNode);return-1!==c&&r({id:c,remove:{property:l},index:gqe(t.parentRule)}),e.apply(t,i)}))}),lqe((function(){i.CSSStyleDeclaration.prototype.setProperty=a,i.CSSStyleDeclaration.prototype.removeProperty=s}))}(e,{win:o}),A=e.collectFonts?function(e){var t=e.fontCb,n=e.doc,r=n.defaultView;if(!r)return function(){};var o=[],i=new WeakMap,a=r.FontFace;r.FontFace=function(e,t,n){var r=new a(e,t,n);return i.set(r,{family:e,buffer:"string"!==typeof t,descriptors:n,fontSource:"string"===typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),r};var s=HRe(n.fonts,"add",(function(e){return function(n){return setTimeout((function(){var e=i.get(n);e&&(t(e),i.delete(n))}),0),e.apply(this,[n])}}));return o.push((function(){r.FontFace=a})),o.push(s),lqe((function(){o.forEach((function(e){return e()}))}))}(e):function(){},m=[],g=(0,b.Z)(e.plugins);try{for(g.s();!(i=g.n()).done;){var v=i.value;m.push(v.observer(v.callback,o,v.options))}}catch(y){g.e(y)}finally{g.f()}return lqe((function(){cqe.forEach((function(e){return e.reset()})),a.disconnect(),s(),l(),c(),u(),d(),p();try{f(),h()}catch(AE){}A(),m.forEach((function(e){return e()}))}))}function yqe(e){return"undefined"!==typeof window[e]}function Mqe(e){return Boolean("undefined"!==typeof window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}var Oqe=function(){function e(t){(0,o.Z)(this,e),this.iframes=new WeakMap,this.mutationCb=t.mutationCb}return(0,i.Z)(e,[{key:"addIframe",value:function(e){this.iframes.set(e,!0)}},{key:"addLoadListener",value:function(e){this.loadListener=e}},{key:"attachIframe",value:function(e,t){var n;this.mutationCb({adds:[{parentId:e.__sn.id,nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),null===(n=this.loadListener)||void 0===n||n.call(this,e)}}]),e}(),_qe=function(){function e(t){(0,o.Z)(this,e),this.restorePatches=[],this.mutationCb=t.mutationCb,this.scrollCb=t.scrollCb,this.bypassOptions=t.bypassOptions,this.mirror=t.mirror;var n=this;this.restorePatches.push(HRe(HTMLElement.prototype,"attachShadow",(function(e){return function(){var t=e.apply(this,arguments);return this.shadowRoot&&n.addShadowRoot(this.shadowRoot,this.ownerDocument),t}})))}return(0,i.Z)(e,[{key:"addShadowRoot",value:function(e,t){dqe(Object.assign(Object.assign({},this.bypassOptions),{doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),e),fqe(Object.assign(Object.assign({},this.bypassOptions),{scrollCb:this.scrollCb,doc:e,mirror:this.mirror}))}},{key:"observeAttachShadow",value:function(e){if(e.contentWindow){var t=this;this.restorePatches.push(HRe(e.contentWindow.HTMLElement.prototype,"attachShadow",(function(n){return function(){var r=n.apply(this,arguments);return this.shadowRoot&&t.addShadowRoot(this.shadowRoot,e.contentDocument),r}})))}}},{key:"reset",value:function(){this.restorePatches.forEach((function(e){return e()}))}}]),e}();for(var zqe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",xqe="undefined"===typeof Uint8Array?[]:new Uint8Array(256),wqe=0;wqe<zqe.length;wqe++)xqe[zqe.charCodeAt(wqe)]=wqe;var Cqe=new Map;var Sqe=function(e,t,n){if(e&&(Dqe(e,t)||"object"===typeof e)){var r=function(e,t){var n=Cqe.get(e);return n||(n=new Map,Cqe.set(e,n)),n.has(t)||n.set(t,[]),n.get(t)}(n,e.constructor.name),o=r.indexOf(e);return-1===o&&(o=r.length,r.push(e)),o}};function Eqe(e,t,n){if(e instanceof Array)return e.map((function(e){return Eqe(e,t,n)}));if(null===e)return e;if(e instanceof Float32Array||e instanceof Float64Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Uint8Array||e instanceof Uint16Array||e instanceof Int16Array||e instanceof Int8Array||e instanceof Uint8ClampedArray)return{rr_type:e.constructor.name,args:[Object.values(e)]};if(e instanceof ArrayBuffer){var r=e.constructor.name,o=function(e){var t,n=new Uint8Array(e),r=n.length,o="";for(t=0;t<r;t+=3)o+=zqe[n[t]>>2],o+=zqe[(3&n[t])<<4|n[t+1]>>4],o+=zqe[(15&n[t+1])<<2|n[t+2]>>6],o+=zqe[63&n[t+2]];return r%3===2?o=o.substring(0,o.length-1)+"=":r%3===1&&(o=o.substring(0,o.length-2)+"=="),o}(e);return{rr_type:r,base64:o}}return e instanceof DataView?{rr_type:e.constructor.name,args:[Eqe(e.buffer,t,n),e.byteOffset,e.byteLength]}:e instanceof HTMLImageElement?{rr_type:e.constructor.name,src:e.src}:e instanceof ImageData?{rr_type:e.constructor.name,args:[Eqe(e.data,t,n),e.width,e.height]}:Dqe(e,t)||"object"===typeof e?{rr_type:e.constructor.name,index:Sqe(e,t,n)}:e}var kqe=function(e,t,n){return(0,r.Z)(e).map((function(e){return Eqe(e,t,n)}))},Dqe=function(e,t){var n=["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter((function(e){return"function"===typeof t[e]}));return Boolean(n.find((function(n){return e instanceof t[n]})))};function Nqe(e,t,n,r,o,i,a,s){var l,c=[],u=Object.getOwnPropertyNames(e),d=(0,b.Z)(u);try{var p=function(){var u=l.value;try{if("function"!==typeof e[u])return"continue";var d=HRe(e,u,(function(l){return function(){for(var c=arguments.length,d=new Array(c),p=0;p<c;p++)d[p]=arguments[p];var f=l.apply(this,d);if(Sqe(f,s,e),!XRe(this.canvas,r,i,o)){a.getId(this.canvas);var h=kqe([].concat(d),s,e),b={type:t,property:u,args:h};n(this.canvas,b)}return f}}));c.push(d)}catch(Mi){var p=ZRe(e,u,{set:function(e){n(this.canvas,{type:t,property:u,args:[e],setter:!0})}});c.push(p)}};for(d.s();!(l=d.n()).done;)p()}catch(f){d.e(f)}finally{d.f()}return c}var Tqe,jqe,Bqe=function(){function e(t){(0,o.Z)(this,e),this.pendingCanvasMutations=new Map,this.rafStamps={latestId:0,invokeId:null},this.frozen=!1,this.locked=!1,this.processMutation=function(e,t){!(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId)&&this.rafStamps.invokeId||(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(e)||this.pendingCanvasMutations.set(e,[]),this.pendingCanvasMutations.get(e).push(t)},this.mutationCb=t.mutationCb,this.mirror=t.mirror,!0===t.recordCanvas&&this.initCanvasMutationObserver(t.win,t.blockClass,t.blockSelector,t.unblockSelector)}return(0,i.Z)(e,[{key:"reset",value:function(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()}},{key:"freeze",value:function(){this.frozen=!0}},{key:"unfreeze",value:function(){this.frozen=!1}},{key:"lock",value:function(){this.locked=!0}},{key:"unlock",value:function(){this.locked=!1}},{key:"initCanvasMutationObserver",value:function(e,t,n,o){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();var i=function(e,t,n,r){var o=[];try{var i=HRe(e.HTMLCanvasElement.prototype,"getContext",(function(e){return function(o){XRe(this,t,n,r)||"__context"in this||(this.__context=o);for(var i=arguments.length,a=new Array(i>1?i-1:0),s=1;s<i;s++)a[s-1]=arguments[s];return e.apply(this,[o].concat(a))}}));o.push(i)}catch(Mi){console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return function(){o.forEach((function(e){return e()}))}}(e,t,o,n),a=function(e,t,n,r,o,i){var a,s=[],l=Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype),c=(0,b.Z)(l);try{var u=function(){var i=a.value;try{if("function"!==typeof t.CanvasRenderingContext2D.prototype[i])return"continue";var l=HRe(t.CanvasRenderingContext2D.prototype,i,(function(t){return function(){for(var a=this,s=arguments.length,l=new Array(s),c=0;c<s;c++)l[c]=arguments[c];return XRe(this.canvas,n,o,r)||setTimeout((function(){var t=[].concat(l);if("drawImage"===i&&t[0]&&t[0]instanceof HTMLCanvasElement){var n=t[0],r=n.getContext("2d"),o=null===r||void 0===r?void 0:r.getImageData(0,0,n.width,n.height),s=null===o||void 0===o?void 0:o.data;t[0]=JSON.stringify(s)}e(a.canvas,{type:wRe["2D"],property:i,args:t})}),0),t.apply(this,l)}}));s.push(l)}catch(Mi){var c=ZRe(t.CanvasRenderingContext2D.prototype,i,{set:function(t){e(this.canvas,{type:wRe["2D"],property:i,args:[t],setter:!0})}});s.push(c)}};for(c.s();!(a=c.n()).done;)u()}catch(d){c.e(d)}finally{c.f()}return function(){s.forEach((function(e){return e()}))}}(this.processMutation.bind(this),e,t,o,n,this.mirror),s=function(e,t,n,o,i,a){var s=[];return s.push.apply(s,(0,r.Z)(Nqe(t.WebGLRenderingContext.prototype,wRe.WebGL,e,n,o,i,a,t))),"undefined"!==typeof t.WebGL2RenderingContext&&s.push.apply(s,(0,r.Z)(Nqe(t.WebGL2RenderingContext.prototype,wRe.WebGL2,e,n,o,i,a,t))),function(){s.forEach((function(e){return e()}))}}(this.processMutation.bind(this),e,t,o,n,this.mirror);this.resetObservers=function(){i(),a(),s()}}},{key:"startPendingCanvasMutationFlusher",value:function(){var e=this;requestAnimationFrame((function(){return e.flushPendingCanvasMutations()}))}},{key:"startRAFTimestamping",value:function(){var e=this;requestAnimationFrame((function t(n){e.rafStamps.latestId=n,requestAnimationFrame(t)}))}},{key:"flushPendingCanvasMutations",value:function(){var e=this;this.pendingCanvasMutations.forEach((function(t,n){var r=e.mirror.getId(n);e.flushPendingCanvasMutationFor(n,r)})),requestAnimationFrame((function(){return e.flushPendingCanvasMutations()}))}},{key:"flushPendingCanvasMutationFor",value:function(e,t){if(!this.frozen&&!this.locked){var n=this.pendingCanvasMutations.get(e);if(n&&-1!==t){var r=n.map((function(e){var t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["type"]);return t})),o=n[0].type;this.mutationCb({id:t,type:o,commands:r}),this.pendingCanvasMutations.delete(e)}}}}]),e}();function Lqe(e){return Object.assign(Object.assign({},e),{timestamp:Date.now()})}var Rqe={map:{},getId:function(e){return e&&e.__sn?e.__sn.id:-1},getNode:function(e){return this.map[e]||null},removeNodeFromMap:function(e){var t=this,n=e.__sn&&e.__sn.id;delete this.map[n],e.childNodes&&e.childNodes.forEach((function(e){return t.removeNodeFromMap(e)}))},has:function(e){return this.map.hasOwnProperty(e)},reset:function(){this.map={}}};function qqe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.emit,r=e.checkoutEveryNms,o=e.checkoutEveryNth,i=e.blockClass,a=void 0===i?"rr-block":i,s=e.blockSelector,l=void 0===s?null:s,c=e.unblockSelector,u=void 0===c?null:c,d=e.ignoreClass,p=void 0===d?"rr-ignore":d,f=e.ignoreSelector,h=void 0===f?null:f,A=e.maskTextClass,m=void 0===A?"rr-mask":A,g=e.maskTextSelector,v=void 0===g?null:g,y=e.maskInputSelector,M=void 0===y?null:y,O=e.unmaskTextSelector,_=void 0===O?null:O,z=e.unmaskInputSelector,x=void 0===z?null:z,w=e.inlineStylesheet,C=void 0===w||w,S=e.maskAllText,E=void 0!==S&&S,k=e.maskAllInputs,D=e.maskInputOptions,N=e.slimDOMOptions,T=e.maskInputFn,j=e.maskTextFn,B=e.hooks,L=e.packFn,R=e.sampling,q=void 0===R?{}:R,P=e.mousemoveWait,I=e.recordCanvas,W=void 0!==I&&I,F=e.userTriggeredOnInput,U=void 0!==F&&F,Z=e.collectFonts,H=void 0!==Z&&Z,$=e.inlineImages,V=void 0!==$&&$,X=e.plugins,Q=e.keepIframeSrcFn,Y=void 0===Q?function(){return!1}:Q,G=e.onMutation;if(!t)throw new Error("emit function is required");void 0!==P&&void 0===q.mousemove&&(q.mousemove=P);var K,J=!0===k?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,radio:!0,checkbox:!0}:void 0!==D?D:{},ee=!0===N||"all"===N?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===N,headMetaDescKeywords:"all"===N}:N||{};!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=function(e){if(!(0 in arguments))throw new TypeError("1 argument is required");do{if(this===e)return!0}while(e=e&&e.parentNode);return!1})}();var te=0;Tqe=function(e,n){var i;if(!(null===(i=cqe[0])||void 0===i?void 0:i.isFrozen())||e.type===_Re.FullSnapshot||e.type===_Re.IncrementalSnapshot&&e.data.source===zRe.Mutation||cqe.forEach((function(e){return e.unfreeze()})),t(function(e){var t,n=(0,b.Z)(X||[]);try{for(n.s();!(t=n.n()).done;){var r=t.value;r.eventProcessor&&(e=r.eventProcessor(e))}}catch(o){n.e(o)}finally{n.f()}return L&&(e=L(e)),e}(e),n),e.type===_Re.FullSnapshot)K=e,te=0;else if(e.type===_Re.IncrementalSnapshot){if(e.data.source===zRe.Mutation&&e.data.isAttachIframe)return;te++;var a=o&&te>=o,s=r&&e.timestamp-K.timestamp>r;(a||s)&&jqe(!0)}};var ne=function(e){Tqe(Lqe({type:_Re.IncrementalSnapshot,data:Object.assign({source:zRe.Mutation},e)}))},re=function(e){return Tqe(Lqe({type:_Re.IncrementalSnapshot,data:Object.assign({source:zRe.Scroll},e)}))},oe=function(e){return Tqe(Lqe({type:_Re.IncrementalSnapshot,data:Object.assign({source:zRe.CanvasMutation},e)}))},ie=new Oqe({mutationCb:ne}),ae=new Bqe({recordCanvas:W,mutationCb:oe,win:window,blockClass:a,blockSelector:l,unblockSelector:u,mirror:Rqe}),se=new _qe({mutationCb:ne,scrollCb:re,bypassOptions:{onMutation:G,blockClass:a,blockSelector:l,unblockSelector:u,maskTextClass:m,maskTextSelector:v,unmaskTextSelector:_,maskInputSelector:M,unmaskInputSelector:x,inlineStylesheet:C,maskAllText:E,maskInputOptions:J,maskTextFn:j,maskInputFn:T,recordCanvas:W,inlineImages:V,sampling:q,slimDOMOptions:ee,iframeManager:ie,canvasManager:ae},mirror:Rqe});jqe=function(){var e,t,r,o,i=arguments.length>0&&void 0!==arguments[0]&&arguments[0];Tqe(Lqe({type:_Re.Meta,data:{href:window.location.href,width:VRe(),height:$Re()}}),i),cqe.forEach((function(e){return e.lock()}));var s=function(e,t){var n=t||{},r=n.blockClass,o=void 0===r?"rr-block":r,i=n.blockSelector,a=void 0===i?null:i,s=n.unblockSelector,l=void 0===s?null:s,c=n.maskTextClass,u=void 0===c?"rr-mask":c,d=n.maskTextSelector,p=void 0===d?null:d,f=n.unmaskTextSelector,h=void 0===f?null:f,b=n.inlineStylesheet,A=void 0===b||b,m=n.inlineImages,g=void 0!==m&&m,v=n.recordCanvas,y=void 0!==v&&v,M=n.maskInputSelector,O=void 0===M?null:M,_=n.unmaskInputSelector,z=void 0===_?null:_,x=n.maskAllText,w=void 0!==x&&x,C=n.maskAllInputs,S=void 0!==C&&C,E=n.maskTextFn,k=n.maskInputFn,D=n.slimDOM,N=void 0!==D&&D,T=n.dataURLOptions,j=n.preserveWhiteSpace,B=n.onSerialize,L=n.onIframeLoad,R=n.iframeLoadTimeout,q=n.keepIframeSrcFn,P={};return[qRe(e,{doc:e,map:P,blockClass:o,blockSelector:a,unblockSelector:l,maskTextClass:u,maskTextSelector:p,unmaskTextSelector:h,skipChild:!1,inlineStylesheet:A,maskInputSelector:O,unmaskInputSelector:z,maskAllText:w,maskInputOptions:!0===S?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0}:!1===S?{}:S,maskTextFn:E,maskInputFn:k,slimDOMOptions:!0===N||"all"===N?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===N,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===N?{}:N,dataURLOptions:T,inlineImages:g,recordCanvas:y,preserveWhiteSpace:j,onSerialize:B,onIframeLoad:L,iframeLoadTimeout:R,keepIframeSrcFn:void 0===q?function(){return!1}:q}),P]}(document,{blockClass:a,blockSelector:l,unblockSelector:u,maskTextClass:m,maskTextSelector:v,unmaskTextSelector:_,maskInputSelector:M,unmaskInputSelector:x,inlineStylesheet:C,maskAllText:E,maskAllInputs:J,maskTextFn:j,slimDOM:ee,recordCanvas:W,inlineImages:V,onSerialize:function(e){KRe(e)&&ie.addIframe(e),JRe(e)&&se.addShadowRoot(e.shadowRoot,document)},onIframeLoad:function(e,t){ie.attachIframe(e,t),se.observeAttachShadow(e)},keepIframeSrcFn:Y}),c=(0,n.Z)(s,2),d=c[0],p=c[1];if(!d)return console.warn("Failed to snapshot the document");Rqe.map=p,Tqe(Lqe({type:_Re.FullSnapshot,data:{node:d,initialOffset:{left:void 0!==window.pageXOffset?window.pageXOffset:(null===document||void 0===document?void 0:document.documentElement.scrollLeft)||(null===(t=null===(e=null===document||void 0===document?void 0:document.body)||void 0===e?void 0:e.parentElement)||void 0===t?void 0:t.scrollLeft)||(null===document||void 0===document?void 0:document.body.scrollLeft)||0,top:void 0!==window.pageYOffset?window.pageYOffset:(null===document||void 0===document?void 0:document.documentElement.scrollTop)||(null===(o=null===(r=null===document||void 0===document?void 0:document.body)||void 0===r?void 0:r.parentElement)||void 0===o?void 0:o.scrollTop)||(null===document||void 0===document?void 0:document.body.scrollTop)||0}}})),cqe.forEach((function(e){return e.unlock()}))};try{var le=[];le.push(IRe("DOMContentLoaded",(function(){Tqe(Lqe({type:_Re.DomContentLoaded,data:{}}))})));var ce=function(e){var t;return lqe(vqe)({onMutation:G,mutationCb:ne,mousemoveCb:function(e,t){return Tqe(Lqe({type:_Re.IncrementalSnapshot,data:{source:t,positions:e}}))},mouseInteractionCb:function(e){return Tqe(Lqe({type:_Re.IncrementalSnapshot,data:Object.assign({source:zRe.MouseInteraction},e)}))},scrollCb:re,viewportResizeCb:function(e){return Tqe(Lqe({type:_Re.IncrementalSnapshot,data:Object.assign({source:zRe.ViewportResize},e)}))},inputCb:function(e){return Tqe(Lqe({type:_Re.IncrementalSnapshot,data:Object.assign({source:zRe.Input},e)}))},mediaInteractionCb:function(e){return Tqe(Lqe({type:_Re.IncrementalSnapshot,data:Object.assign({source:zRe.MediaInteraction},e)}))},styleSheetRuleCb:function(e){return Tqe(Lqe({type:_Re.IncrementalSnapshot,data:Object.assign({source:zRe.StyleSheetRule},e)}))},styleDeclarationCb:function(e){return Tqe(Lqe({type:_Re.IncrementalSnapshot,data:Object.assign({source:zRe.StyleDeclaration},e)}))},canvasMutationCb:oe,fontCb:function(e){return Tqe(Lqe({type:_Re.IncrementalSnapshot,data:Object.assign({source:zRe.Font},e)}))},blockClass:a,ignoreClass:p,ignoreSelector:h,maskTextClass:m,maskTextSelector:v,unmaskTextSelector:_,maskInputSelector:M,unmaskInputSelector:x,maskInputOptions:J,inlineStylesheet:C,sampling:q,recordCanvas:W,inlineImages:V,userTriggeredOnInput:U,collectFonts:H,doc:e,maskAllText:E,maskInputFn:T,maskTextFn:j,blockSelector:l,unblockSelector:u,slimDOMOptions:ee,mirror:Rqe,iframeManager:ie,shadowDomManager:se,canvasManager:ae,plugins:(null===(t=null===X||void 0===X?void 0:X.filter((function(e){return e.observer})))||void 0===t?void 0:t.map((function(e){return{observer:e.observer,options:e.options,callback:function(t){return Tqe(Lqe({type:_Re.Plugin,data:{plugin:e.name,payload:t}}))}}})))||[]},B)};ie.addLoadListener((function(e){try{le.push(ce(e.contentDocument))}catch(t){console.warn(t)}}));var ue=function(){jqe(),le.push(ce(document))};return"interactive"===document.readyState||"complete"===document.readyState?ue():le.push(IRe("load",(function(){Tqe(Lqe({type:_Re.Load,data:{}})),ue()}),window)),function(){le.forEach((function(e){return e()}))}}catch(de){console.warn(de)}}function Pqe(e){return e>9999999999?e:1e3*e}function Iqe(e,t){"sentry.transaction"!==t.category&&(["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate((function(){return e.throttledAddEvent({type:_Re.Custom,timestamp:1e3*(t.timestamp||0),data:{tag:"breadcrumb",payload:XTe(t,10,1e3)}}),"console"===t.category})))}qqe.addCustomEvent=function(e,t){if(!Tqe)throw new Error("please add custom event after start recording");Tqe(Lqe({type:_Re.Custom,data:{tag:e,payload:t}}))},qqe.freezePage=function(){cqe.forEach((function(e){return e.freeze()}))},qqe.takeFullSnapshot=function(e){if(!jqe)throw new Error("please take full snapshot after start recording");jqe(e)},qqe.mirror=Rqe;var Wqe,Fqe="button,a";function Uqe(e){var t=Zqe(e);return t&&t instanceof Element&&t.closest(Fqe)||t}function Zqe(e){return function(e){return"object"===typeof e&&!!e&&"target"in e}(e)?e.target:e}function Hqe(e){return Wqe||(Wqe=[],xNe(XLe,"open",(function(e){return function(){if(Wqe)try{Wqe.forEach((function(e){return e()}))}catch(AE){}for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.apply(XLe,n)}}))),Wqe.push(e),function(){var t=Wqe?Wqe.indexOf(e):-1;t>-1&&Wqe.splice(t,1)}}var $qe,Vqe=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Iqe;(0,o.Z)(this,e),this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=n.timeout/1e3,this._threshold=n.threshold/1e3,this._scollTimeout=n.scrollTimeout/1e3,this._replay=t,this._ignoreSelector=n.ignoreSelector,this._addBreadcrumbEvent=r}return(0,i.Z)(e,[{key:"addListeners",value:function(){var e=this,t=function(){e._lastScroll=Qqe()},n=Hqe((function(){e._lastMutation=Qqe()})),r=function(t){if(t.target){var n=Uqe(t);n&&e._handleMultiClick(n)}},o=new MutationObserver((function(){e._lastMutation=Qqe()}));o.observe(XLe.document.documentElement,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),XLe.addEventListener("scroll",t,{passive:!0}),XLe.addEventListener("click",r,{passive:!0}),this._teardown=function(){XLe.removeEventListener("scroll",t),XLe.removeEventListener("click",r),n(),o.disconnect(),e._clicks=[],e._lastMutation=0,e._lastScroll=0}}},{key:"removeListeners",value:function(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)}},{key:"handleClick",value:function(e,t){if(!function(e,t){if(!Xqe.includes(e.tagName))return!0;if("INPUT"===e.tagName&&!["submit","button"].includes(e.getAttribute("type")||""))return!0;if("A"===e.tagName&&(e.hasAttribute("download")||e.hasAttribute("target")&&"_self"!==e.getAttribute("target")))return!0;if(t&&e.matches(t))return!0;return!1}(t,this._ignoreSelector)&&function(e){return!(!e.data||"number"!==typeof e.data.nodeId||!e.timestamp)}(e)){var n,r={timestamp:(n=e.timestamp,n>9999999999?n/1e3:n),clickBreadcrumb:e,clickCount:0,node:t};this._clicks.some((function(e){return e.node===r.node&&Math.abs(e.timestamp-r.timestamp)<1}))||(this._clicks.push(r),1===this._clicks.length&&this._scheduleCheckClicks())}}},{key:"_handleMultiClick",value:function(e){this._getClicks(e).forEach((function(e){e.clickCount++}))}},{key:"_getClicks",value:function(e){return this._clicks.filter((function(t){return t.node===e}))}},{key:"_checkClicks",value:function(){var e=this,t=[],n=Qqe();this._clicks.forEach((function(r){!r.mutationAfter&&e._lastMutation&&(r.mutationAfter=r.timestamp<=e._lastMutation?e._lastMutation-r.timestamp:void 0),!r.scrollAfter&&e._lastScroll&&(r.scrollAfter=r.timestamp<=e._lastScroll?e._lastScroll-r.timestamp:void 0),r.timestamp+e._timeout<=n&&t.push(r)}));for(var r=0,o=t;r<o.length;r++){var i=o[r],a=this._clicks.indexOf(i);a>-1&&(this._generateBreadcrumbs(i),this._clicks.splice(a,1))}this._clicks.length&&this._scheduleCheckClicks()}},{key:"_generateBreadcrumbs",value:function(e){var t=this._replay,n=e.scrollAfter&&e.scrollAfter<=this._scollTimeout,r=e.mutationAfter&&e.mutationAfter<=this._threshold,o=!n&&!r,i=e.clickCount,a=e.clickBreadcrumb;if(o){var s=1e3*Math.min(e.mutationAfter||this._timeout,this._timeout),l=s<1e3*this._timeout?"mutation":"timeout",c={type:"default",message:a.message,timestamp:a.timestamp,category:"ui.slowClickDetected",data:Us(Us({},a.data),{},{url:XLe.location.href,route:t.getCurrentRoute(),timeAfterClickMs:s,endReason:l,clickCount:i||1})};this._addBreadcrumbEvent(t,c)}else if(i>1){var u={type:"default",message:a.message,timestamp:a.timestamp,category:"ui.multiClick",data:Us(Us({},a.data),{},{url:XLe.location.href,route:t.getCurrentRoute(),clickCount:i,metric:!0})};this._addBreadcrumbEvent(t,u)}}},{key:"_scheduleCheckClicks",value:function(){var e=this;this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=setTimeout((function(){return e._checkClicks()}),1e3)}}]),e}(),Xqe=["A","BUTTON","INPUT"];function Qqe(){return Date.now()/1e3}function Yqe(e){return Us({timestamp:Date.now()/1e3,type:"default"},e)}!function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"}($qe||($qe={}));var Gqe=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled"]);function Kqe(e){var t={};for(var n in e)if(Gqe.has(n)){var r=n;"data-testid"!==n&&"data-test-id"!==n||(r="testId"),t[r]=e[n]}return t}var Jqe=function(e){return function(t){if(e.isEnabled()){var n=function(e){var t=function(e){var t,n="click"===e.name,r=null;try{t=vNe(r=n?Uqe(e.event):Zqe(e.event),{maxStringLength:200})||"<unknown>"}catch(AE){t="<unknown>"}return{target:r,message:t}}(e),n=t.target,r=t.message;return Yqe(Us({category:"ui.".concat(e.name)},ePe(n,r)))}(t);if(n){var r="click"===t.name,o=r&&t.event;!(r&&e.clickDetector&&o)||o.altKey||o.metaKey||o.ctrlKey||o.shiftKey||function(e,t,n){e.handleClick(t,n)}(e.clickDetector,n,Uqe(t.event)),Iqe(e,n)}}}};function ePe(e,t){var n=e&&function(e){return"__sn"in e}(e)&&e.__sn.type===$qe.Element?e.__sn:null;return{message:t,data:n?{nodeId:n.id,node:{id:n.id,tagName:n.tagName,textContent:e?Array.from(e.childNodes).map((function(e){return"__sn"in e&&e.__sn.type===$qe.Text&&e.__sn.textContent})).filter(Boolean).map((function(e){return e.trim()})).join(""):"",attributes:Kqe(n.attributes)}}:{}}}function tPe(e,t){if(e.isEnabled()){e.updateUserActivity();var n=function(e){var t=e.metaKey,n=e.shiftKey,r=e.ctrlKey,o=e.altKey,i=e.key,a=e.target;if(!a||function(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable}(a)||!i)return null;var s=t||r||o,l=1===i.length;if(!s&&l)return null;var c=vNe(a,{maxStringLength:200})||"<unknown>",u=ePe(a,c);return Yqe({category:"ui.keyDown",message:c,data:Us(Us({},u.data),{},{metaKey:t,shiftKey:n,ctrlKey:r,altKey:o,key:i})})}(t);n&&Iqe(e,n)}}var nPe=["name","type","startTime","transferSize","duration"];function rPe(e){return function(t){return nPe.every((function(n){return e[n]===t[n]}))}}function oPe(e){var t=new PerformanceObserver((function(t){var o=function(e,t){var o=e.reduce((function(e,t){return"navigation"===t.entryType?e[0].push(t):"largest-contentful-paint"===t.entryType?e[1].push(t):e[2].push(t),e}),[[],[],[]]),i=(0,n.Z)(o,3),a=i[0],s=i[1],l=i[2],c=[],u=[],d=s.length?s[s.length-1]:void 0;return t.forEach((function(e){if("largest-contentful-paint"!==e.entryType)if("navigation"!==e.entryType)c.push(e);else{var t=e;e.duration>0&&!a.find(rPe(t))&&!u.find(rPe(t))&&u.push(t)}else(!d||d.startTime<e.startTime)&&(d=e)})),[].concat((0,r.Z)(d?[d]:[]),(0,r.Z)(a),(0,r.Z)(l),c,u).sort((function(e,t){return e.startTime-t.startTime}))}(e.performanceEvents,t.getEntries());e.performanceEvents=o}));return["element","event","first-input","largest-contentful-paint","layout-shift","longtask","navigation","paint","resource"].forEach((function(e){try{t.observe({type:e,buffered:!0})}catch(AE){}})),t}var iPe='/*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */\nfunction t(t){let e=t.length;for(;--e>=0;)t[e]=0}const e=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),a=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),i=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),n=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=new Array(576);t(s);const r=new Array(60);t(r);const o=new Array(512);t(o);const l=new Array(256);t(l);const h=new Array(29);t(h);const d=new Array(30);function _(t,e,a,i,n){this.static_tree=t,this.extra_bits=e,this.extra_base=a,this.elems=i,this.max_length=n,this.has_stree=t&&t.length}let f,c,u;function w(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}t(d);const m=t=>t<256?o[t]:o[256+(t>>>7)],b=(t,e)=>{t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},g=(t,e,a)=>{t.bi_valid>16-a?(t.bi_buf|=e<<t.bi_valid&65535,b(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=a-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=a)},p=(t,e,a)=>{g(t,a[2*e],a[2*e+1])},k=(t,e)=>{let a=0;do{a|=1&t,t>>>=1,a<<=1}while(--e>0);return a>>>1},v=(t,e,a)=>{const i=new Array(16);let n,s,r=0;for(n=1;n<=15;n++)r=r+a[n-1]<<1,i[n]=r;for(s=0;s<=e;s++){let e=t[2*s+1];0!==e&&(t[2*s]=k(i[e]++,e))}},y=t=>{let e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.sym_next=t.matches=0},x=t=>{t.bi_valid>8?b(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},z=(t,e,a,i)=>{const n=2*e,s=2*a;return t[n]<t[s]||t[n]===t[s]&&i[e]<=i[a]},A=(t,e,a)=>{const i=t.heap[a];let n=a<<1;for(;n<=t.heap_len&&(n<t.heap_len&&z(e,t.heap[n+1],t.heap[n],t.depth)&&n++,!z(e,i,t.heap[n],t.depth));)t.heap[a]=t.heap[n],a=n,n<<=1;t.heap[a]=i},E=(t,i,n)=>{let s,r,o,_,f=0;if(0!==t.sym_next)do{s=255&t.pending_buf[t.sym_buf+f++],s+=(255&t.pending_buf[t.sym_buf+f++])<<8,r=t.pending_buf[t.sym_buf+f++],0===s?p(t,r,i):(o=l[r],p(t,o+256+1,i),_=e[o],0!==_&&(r-=h[o],g(t,r,_)),s--,o=m(s),p(t,o,n),_=a[o],0!==_&&(s-=d[o],g(t,s,_)))}while(f<t.sym_next);p(t,256,i)},R=(t,e)=>{const a=e.dyn_tree,i=e.stat_desc.static_tree,n=e.stat_desc.has_stree,s=e.stat_desc.elems;let r,o,l,h=-1;for(t.heap_len=0,t.heap_max=573,r=0;r<s;r++)0!==a[2*r]?(t.heap[++t.heap_len]=h=r,t.depth[r]=0):a[2*r+1]=0;for(;t.heap_len<2;)l=t.heap[++t.heap_len]=h<2?++h:0,a[2*l]=1,t.depth[l]=0,t.opt_len--,n&&(t.static_len-=i[2*l+1]);for(e.max_code=h,r=t.heap_len>>1;r>=1;r--)A(t,a,r);l=s;do{r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],A(t,a,1),o=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=o,a[2*l]=a[2*r]+a[2*o],t.depth[l]=(t.depth[r]>=t.depth[o]?t.depth[r]:t.depth[o])+1,a[2*r+1]=a[2*o+1]=l,t.heap[1]=l++,A(t,a,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],((t,e)=>{const a=e.dyn_tree,i=e.max_code,n=e.stat_desc.static_tree,s=e.stat_desc.has_stree,r=e.stat_desc.extra_bits,o=e.stat_desc.extra_base,l=e.stat_desc.max_length;let h,d,_,f,c,u,w=0;for(f=0;f<=15;f++)t.bl_count[f]=0;for(a[2*t.heap[t.heap_max]+1]=0,h=t.heap_max+1;h<573;h++)d=t.heap[h],f=a[2*a[2*d+1]+1]+1,f>l&&(f=l,w++),a[2*d+1]=f,d>i||(t.bl_count[f]++,c=0,d>=o&&(c=r[d-o]),u=a[2*d],t.opt_len+=u*(f+c),s&&(t.static_len+=u*(n[2*d+1]+c)));if(0!==w){do{for(f=l-1;0===t.bl_count[f];)f--;t.bl_count[f]--,t.bl_count[f+1]+=2,t.bl_count[l]--,w-=2}while(w>0);for(f=l;0!==f;f--)for(d=t.bl_count[f];0!==d;)_=t.heap[--h],_>i||(a[2*_+1]!==f&&(t.opt_len+=(f-a[2*_+1])*a[2*_],a[2*_+1]=f),d--)}})(t,e),v(a,h,t.bl_count)},Z=(t,e,a)=>{let i,n,s=-1,r=e[1],o=0,l=7,h=4;for(0===r&&(l=138,h=3),e[2*(a+1)+1]=65535,i=0;i<=a;i++)n=r,r=e[2*(i+1)+1],++o<l&&n===r||(o<h?t.bl_tree[2*n]+=o:0!==n?(n!==s&&t.bl_tree[2*n]++,t.bl_tree[32]++):o<=10?t.bl_tree[34]++:t.bl_tree[36]++,o=0,s=n,0===r?(l=138,h=3):n===r?(l=6,h=3):(l=7,h=4))},U=(t,e,a)=>{let i,n,s=-1,r=e[1],o=0,l=7,h=4;for(0===r&&(l=138,h=3),i=0;i<=a;i++)if(n=r,r=e[2*(i+1)+1],!(++o<l&&n===r)){if(o<h)do{p(t,n,t.bl_tree)}while(0!=--o);else 0!==n?(n!==s&&(p(t,n,t.bl_tree),o--),p(t,16,t.bl_tree),g(t,o-3,2)):o<=10?(p(t,17,t.bl_tree),g(t,o-3,3)):(p(t,18,t.bl_tree),g(t,o-11,7));o=0,s=n,0===r?(l=138,h=3):n===r?(l=6,h=3):(l=7,h=4)}};let S=!1;const D=(t,e,a,i)=>{g(t,0+(i?1:0),3),x(t),b(t,a),b(t,~a),a&&t.pending_buf.set(t.window.subarray(e,e+a),t.pending),t.pending+=a};var T=(t,e,a,i)=>{let o,l,h=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=(t=>{let e,a=4093624447;for(e=0;e<=31;e++,a>>>=1)if(1&a&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0})(t)),R(t,t.l_desc),R(t,t.d_desc),h=(t=>{let e;for(Z(t,t.dyn_ltree,t.l_desc.max_code),Z(t,t.dyn_dtree,t.d_desc.max_code),R(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*n[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e})(t),o=t.opt_len+3+7>>>3,l=t.static_len+3+7>>>3,l<=o&&(o=l)):o=l=a+5,a+4<=o&&-1!==e?D(t,e,a,i):4===t.strategy||l===o?(g(t,2+(i?1:0),3),E(t,s,r)):(g(t,4+(i?1:0),3),((t,e,a,i)=>{let s;for(g(t,e-257,5),g(t,a-1,5),g(t,i-4,4),s=0;s<i;s++)g(t,t.bl_tree[2*n[s]+1],3);U(t,t.dyn_ltree,e-1),U(t,t.dyn_dtree,a-1)})(t,t.l_desc.max_code+1,t.d_desc.max_code+1,h+1),E(t,t.dyn_ltree,t.dyn_dtree)),y(t),i&&x(t)},O={_tr_init:t=>{S||((()=>{let t,n,w,m,b;const g=new Array(16);for(w=0,m=0;m<28;m++)for(h[m]=w,t=0;t<1<<e[m];t++)l[w++]=m;for(l[w-1]=m,b=0,m=0;m<16;m++)for(d[m]=b,t=0;t<1<<a[m];t++)o[b++]=m;for(b>>=7;m<30;m++)for(d[m]=b<<7,t=0;t<1<<a[m]-7;t++)o[256+b++]=m;for(n=0;n<=15;n++)g[n]=0;for(t=0;t<=143;)s[2*t+1]=8,t++,g[8]++;for(;t<=255;)s[2*t+1]=9,t++,g[9]++;for(;t<=279;)s[2*t+1]=7,t++,g[7]++;for(;t<=287;)s[2*t+1]=8,t++,g[8]++;for(v(s,287,g),t=0;t<30;t++)r[2*t+1]=5,r[2*t]=k(t,5);f=new _(s,e,257,286,15),c=new _(r,a,0,30,15),u=new _(new Array(0),i,0,19,7)})(),S=!0),t.l_desc=new w(t.dyn_ltree,f),t.d_desc=new w(t.dyn_dtree,c),t.bl_desc=new w(t.bl_tree,u),t.bi_buf=0,t.bi_valid=0,y(t)},_tr_stored_block:D,_tr_flush_block:T,_tr_tally:(t,e,a)=>(t.pending_buf[t.sym_buf+t.sym_next++]=e,t.pending_buf[t.sym_buf+t.sym_next++]=e>>8,t.pending_buf[t.sym_buf+t.sym_next++]=a,0===e?t.dyn_ltree[2*a]++:(t.matches++,e--,t.dyn_ltree[2*(l[a]+256+1)]++,t.dyn_dtree[2*m(e)]++),t.sym_next===t.sym_end),_tr_align:t=>{g(t,2,3),p(t,256,s),(t=>{16===t.bi_valid?(b(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)})(t)}};var F=(t,e,a,i)=>{let n=65535&t|0,s=t>>>16&65535|0,r=0;for(;0!==a;){r=a>2e3?2e3:a,a-=r;do{n=n+e[i++]|0,s=s+n|0}while(--r);n%=65521,s%=65521}return n|s<<16|0};const L=new Uint32Array((()=>{let t,e=[];for(var a=0;a<256;a++){t=a;for(var i=0;i<8;i++)t=1&t?3988292384^t>>>1:t>>>1;e[a]=t}return e})());var N=(t,e,a,i)=>{const n=L,s=i+a;t^=-1;for(let a=i;a<s;a++)t=t>>>8^n[255&(t^e[a])];return-1^t},I={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},B={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:C,_tr_stored_block:H,_tr_flush_block:M,_tr_tally:j,_tr_align:K}=O,{Z_NO_FLUSH:P,Z_PARTIAL_FLUSH:Y,Z_FULL_FLUSH:G,Z_FINISH:X,Z_BLOCK:W,Z_OK:q,Z_STREAM_END:J,Z_STREAM_ERROR:Q,Z_DATA_ERROR:V,Z_BUF_ERROR:$,Z_DEFAULT_COMPRESSION:tt,Z_FILTERED:et,Z_HUFFMAN_ONLY:at,Z_RLE:it,Z_FIXED:nt,Z_DEFAULT_STRATEGY:st,Z_UNKNOWN:rt,Z_DEFLATED:ot}=B,lt=(t,e)=>(t.msg=I[e],e),ht=t=>2*t-(t>4?9:0),dt=t=>{let e=t.length;for(;--e>=0;)t[e]=0},_t=t=>{let e,a,i,n=t.w_size;e=t.hash_size,i=e;do{a=t.head[--i],t.head[i]=a>=n?a-n:0}while(--e);e=n,i=e;do{a=t.prev[--i],t.prev[i]=a>=n?a-n:0}while(--e)};let ft=(t,e,a)=>(e<<t.hash_shift^a)&t.hash_mask;const ct=t=>{const e=t.state;let a=e.pending;a>t.avail_out&&(a=t.avail_out),0!==a&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+a),t.next_out),t.next_out+=a,e.pending_out+=a,t.total_out+=a,t.avail_out-=a,e.pending-=a,0===e.pending&&(e.pending_out=0))},ut=(t,e)=>{M(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,ct(t.strm)},wt=(t,e)=>{t.pending_buf[t.pending++]=e},mt=(t,e)=>{t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},bt=(t,e,a,i)=>{let n=t.avail_in;return n>i&&(n=i),0===n?0:(t.avail_in-=n,e.set(t.input.subarray(t.next_in,t.next_in+n),a),1===t.state.wrap?t.adler=F(t.adler,e,n,a):2===t.state.wrap&&(t.adler=N(t.adler,e,n,a)),t.next_in+=n,t.total_in+=n,n)},gt=(t,e)=>{let a,i,n=t.max_chain_length,s=t.strstart,r=t.prev_length,o=t.nice_match;const l=t.strstart>t.w_size-262?t.strstart-(t.w_size-262):0,h=t.window,d=t.w_mask,_=t.prev,f=t.strstart+258;let c=h[s+r-1],u=h[s+r];t.prev_length>=t.good_match&&(n>>=2),o>t.lookahead&&(o=t.lookahead);do{if(a=e,h[a+r]===u&&h[a+r-1]===c&&h[a]===h[s]&&h[++a]===h[s+1]){s+=2,a++;do{}while(h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&s<f);if(i=258-(f-s),s=f-258,i>r){if(t.match_start=e,r=i,i>=o)break;c=h[s+r-1],u=h[s+r]}}}while((e=_[e&d])>l&&0!=--n);return r<=t.lookahead?r:t.lookahead},pt=t=>{const e=t.w_size;let a,i,n;do{if(i=t.window_size-t.lookahead-t.strstart,t.strstart>=e+(e-262)&&(t.window.set(t.window.subarray(e,e+e-i),0),t.match_start-=e,t.strstart-=e,t.block_start-=e,t.insert>t.strstart&&(t.insert=t.strstart),_t(t),i+=e),0===t.strm.avail_in)break;if(a=bt(t.strm,t.window,t.strstart+t.lookahead,i),t.lookahead+=a,t.lookahead+t.insert>=3)for(n=t.strstart-t.insert,t.ins_h=t.window[n],t.ins_h=ft(t,t.ins_h,t.window[n+1]);t.insert&&(t.ins_h=ft(t,t.ins_h,t.window[n+3-1]),t.prev[n&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=n,n++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<262&&0!==t.strm.avail_in)},kt=(t,e)=>{let a,i,n,s=t.pending_buf_size-5>t.w_size?t.w_size:t.pending_buf_size-5,r=0,o=t.strm.avail_in;do{if(a=65535,n=t.bi_valid+42>>3,t.strm.avail_out<n)break;if(n=t.strm.avail_out-n,i=t.strstart-t.block_start,a>i+t.strm.avail_in&&(a=i+t.strm.avail_in),a>n&&(a=n),a<s&&(0===a&&e!==X||e===P||a!==i+t.strm.avail_in))break;r=e===X&&a===i+t.strm.avail_in?1:0,H(t,0,0,r),t.pending_buf[t.pending-4]=a,t.pending_buf[t.pending-3]=a>>8,t.pending_buf[t.pending-2]=~a,t.pending_buf[t.pending-1]=~a>>8,ct(t.strm),i&&(i>a&&(i=a),t.strm.output.set(t.window.subarray(t.block_start,t.block_start+i),t.strm.next_out),t.strm.next_out+=i,t.strm.avail_out-=i,t.strm.total_out+=i,t.block_start+=i,a-=i),a&&(bt(t.strm,t.strm.output,t.strm.next_out,a),t.strm.next_out+=a,t.strm.avail_out-=a,t.strm.total_out+=a)}while(0===r);return o-=t.strm.avail_in,o&&(o>=t.w_size?(t.matches=2,t.window.set(t.strm.input.subarray(t.strm.next_in-t.w_size,t.strm.next_in),0),t.strstart=t.w_size,t.insert=t.strstart):(t.window_size-t.strstart<=o&&(t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,t.insert>t.strstart&&(t.insert=t.strstart)),t.window.set(t.strm.input.subarray(t.strm.next_in-o,t.strm.next_in),t.strstart),t.strstart+=o,t.insert+=o>t.w_size-t.insert?t.w_size-t.insert:o),t.block_start=t.strstart),t.high_water<t.strstart&&(t.high_water=t.strstart),r?4:e!==P&&e!==X&&0===t.strm.avail_in&&t.strstart===t.block_start?2:(n=t.window_size-t.strstart,t.strm.avail_in>n&&t.block_start>=t.w_size&&(t.block_start-=t.w_size,t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,n+=t.w_size,t.insert>t.strstart&&(t.insert=t.strstart)),n>t.strm.avail_in&&(n=t.strm.avail_in),n&&(bt(t.strm,t.window,t.strstart,n),t.strstart+=n,t.insert+=n>t.w_size-t.insert?t.w_size-t.insert:n),t.high_water<t.strstart&&(t.high_water=t.strstart),n=t.bi_valid+42>>3,n=t.pending_buf_size-n>65535?65535:t.pending_buf_size-n,s=n>t.w_size?t.w_size:n,i=t.strstart-t.block_start,(i>=s||(i||e===X)&&e!==P&&0===t.strm.avail_in&&i<=n)&&(a=i>n?n:i,r=e===X&&0===t.strm.avail_in&&a===i?1:0,H(t,t.block_start,a,r),t.block_start+=a,ct(t.strm)),r?3:1)},vt=(t,e)=>{let a,i;for(;;){if(t.lookahead<262){if(pt(t),t.lookahead<262&&e===P)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==a&&t.strstart-a<=t.w_size-262&&(t.match_length=gt(t,a)),t.match_length>=3)if(i=j(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=ft(t,t.ins_h,t.window[t.strstart+1]);else i=j(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(i&&(ut(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2},yt=(t,e)=>{let a,i,n;for(;;){if(t.lookahead<262){if(pt(t),t.lookahead<262&&e===P)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==a&&t.prev_length<t.max_lazy_match&&t.strstart-a<=t.w_size-262&&(t.match_length=gt(t,a),t.match_length<=5&&(t.strategy===et||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){n=t.strstart+t.lookahead-3,i=j(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=n&&(t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,i&&(ut(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if(i=j(t,0,t.window[t.strstart-1]),i&&ut(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(i=j(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2};function xt(t,e,a,i,n){this.good_length=t,this.max_lazy=e,this.nice_length=a,this.max_chain=i,this.func=n}const zt=[new xt(0,0,0,0,kt),new xt(4,4,8,4,vt),new xt(4,5,16,8,vt),new xt(4,6,32,32,vt),new xt(4,4,16,16,yt),new xt(8,16,32,32,yt),new xt(8,16,128,128,yt),new xt(8,32,128,256,yt),new xt(32,128,258,1024,yt),new xt(32,258,258,4096,yt)];function At(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=ot,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),dt(this.dyn_ltree),dt(this.dyn_dtree),dt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),dt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),dt(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const Et=t=>{if(!t)return 1;const e=t.state;return!e||e.strm!==t||42!==e.status&&57!==e.status&&69!==e.status&&73!==e.status&&91!==e.status&&103!==e.status&&113!==e.status&&666!==e.status?1:0},Rt=t=>{if(Et(t))return lt(t,Q);t.total_in=t.total_out=0,t.data_type=rt;const e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=2===e.wrap?57:e.wrap?42:113,t.adler=2===e.wrap?0:1,e.last_flush=-2,C(e),q},Zt=t=>{const e=Rt(t);var a;return e===q&&((a=t.state).window_size=2*a.w_size,dt(a.head),a.max_lazy_match=zt[a.level].max_lazy,a.good_match=zt[a.level].good_length,a.nice_match=zt[a.level].nice_length,a.max_chain_length=zt[a.level].max_chain,a.strstart=0,a.block_start=0,a.lookahead=0,a.insert=0,a.match_length=a.prev_length=2,a.match_available=0,a.ins_h=0),e},Ut=(t,e,a,i,n,s)=>{if(!t)return Q;let r=1;if(e===tt&&(e=6),i<0?(r=0,i=-i):i>15&&(r=2,i-=16),n<1||n>9||a!==ot||i<8||i>15||e<0||e>9||s<0||s>nt||8===i&&1!==r)return lt(t,Q);8===i&&(i=9);const o=new At;return t.state=o,o.strm=t,o.status=42,o.wrap=r,o.gzhead=null,o.w_bits=i,o.w_size=1<<o.w_bits,o.w_mask=o.w_size-1,o.hash_bits=n+7,o.hash_size=1<<o.hash_bits,o.hash_mask=o.hash_size-1,o.hash_shift=~~((o.hash_bits+3-1)/3),o.window=new Uint8Array(2*o.w_size),o.head=new Uint16Array(o.hash_size),o.prev=new Uint16Array(o.w_size),o.lit_bufsize=1<<n+6,o.pending_buf_size=4*o.lit_bufsize,o.pending_buf=new Uint8Array(o.pending_buf_size),o.sym_buf=o.lit_bufsize,o.sym_end=3*(o.lit_bufsize-1),o.level=e,o.strategy=s,o.method=a,Zt(t)};var St={deflateInit:(t,e)=>Ut(t,e,ot,15,8,st),deflateInit2:Ut,deflateReset:Zt,deflateResetKeep:Rt,deflateSetHeader:(t,e)=>Et(t)||2!==t.state.wrap?Q:(t.state.gzhead=e,q),deflate:(t,e)=>{if(Et(t)||e>W||e<0)return t?lt(t,Q):Q;const a=t.state;if(!t.output||0!==t.avail_in&&!t.input||666===a.status&&e!==X)return lt(t,0===t.avail_out?$:Q);const i=a.last_flush;if(a.last_flush=e,0!==a.pending){if(ct(t),0===t.avail_out)return a.last_flush=-1,q}else if(0===t.avail_in&&ht(e)<=ht(i)&&e!==X)return lt(t,$);if(666===a.status&&0!==t.avail_in)return lt(t,$);if(42===a.status&&0===a.wrap&&(a.status=113),42===a.status){let e=ot+(a.w_bits-8<<4)<<8,i=-1;if(i=a.strategy>=at||a.level<2?0:a.level<6?1:6===a.level?2:3,e|=i<<6,0!==a.strstart&&(e|=32),e+=31-e%31,mt(a,e),0!==a.strstart&&(mt(a,t.adler>>>16),mt(a,65535&t.adler)),t.adler=1,a.status=113,ct(t),0!==a.pending)return a.last_flush=-1,q}if(57===a.status)if(t.adler=0,wt(a,31),wt(a,139),wt(a,8),a.gzhead)wt(a,(a.gzhead.text?1:0)+(a.gzhead.hcrc?2:0)+(a.gzhead.extra?4:0)+(a.gzhead.name?8:0)+(a.gzhead.comment?16:0)),wt(a,255&a.gzhead.time),wt(a,a.gzhead.time>>8&255),wt(a,a.gzhead.time>>16&255),wt(a,a.gzhead.time>>24&255),wt(a,9===a.level?2:a.strategy>=at||a.level<2?4:0),wt(a,255&a.gzhead.os),a.gzhead.extra&&a.gzhead.extra.length&&(wt(a,255&a.gzhead.extra.length),wt(a,a.gzhead.extra.length>>8&255)),a.gzhead.hcrc&&(t.adler=N(t.adler,a.pending_buf,a.pending,0)),a.gzindex=0,a.status=69;else if(wt(a,0),wt(a,0),wt(a,0),wt(a,0),wt(a,0),wt(a,9===a.level?2:a.strategy>=at||a.level<2?4:0),wt(a,3),a.status=113,ct(t),0!==a.pending)return a.last_flush=-1,q;if(69===a.status){if(a.gzhead.extra){let e=a.pending,i=(65535&a.gzhead.extra.length)-a.gzindex;for(;a.pending+i>a.pending_buf_size;){let n=a.pending_buf_size-a.pending;if(a.pending_buf.set(a.gzhead.extra.subarray(a.gzindex,a.gzindex+n),a.pending),a.pending=a.pending_buf_size,a.gzhead.hcrc&&a.pending>e&&(t.adler=N(t.adler,a.pending_buf,a.pending-e,e)),a.gzindex+=n,ct(t),0!==a.pending)return a.last_flush=-1,q;e=0,i-=n}let n=new Uint8Array(a.gzhead.extra);a.pending_buf.set(n.subarray(a.gzindex,a.gzindex+i),a.pending),a.pending+=i,a.gzhead.hcrc&&a.pending>e&&(t.adler=N(t.adler,a.pending_buf,a.pending-e,e)),a.gzindex=0}a.status=73}if(73===a.status){if(a.gzhead.name){let e,i=a.pending;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i)),ct(t),0!==a.pending)return a.last_flush=-1,q;i=0}e=a.gzindex<a.gzhead.name.length?255&a.gzhead.name.charCodeAt(a.gzindex++):0,wt(a,e)}while(0!==e);a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i)),a.gzindex=0}a.status=91}if(91===a.status){if(a.gzhead.comment){let e,i=a.pending;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i)),ct(t),0!==a.pending)return a.last_flush=-1,q;i=0}e=a.gzindex<a.gzhead.comment.length?255&a.gzhead.comment.charCodeAt(a.gzindex++):0,wt(a,e)}while(0!==e);a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i))}a.status=103}if(103===a.status){if(a.gzhead.hcrc){if(a.pending+2>a.pending_buf_size&&(ct(t),0!==a.pending))return a.last_flush=-1,q;wt(a,255&t.adler),wt(a,t.adler>>8&255),t.adler=0}if(a.status=113,ct(t),0!==a.pending)return a.last_flush=-1,q}if(0!==t.avail_in||0!==a.lookahead||e!==P&&666!==a.status){let i=0===a.level?kt(a,e):a.strategy===at?((t,e)=>{let a;for(;;){if(0===t.lookahead&&(pt(t),0===t.lookahead)){if(e===P)return 1;break}if(t.match_length=0,a=j(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(ut(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2})(a,e):a.strategy===it?((t,e)=>{let a,i,n,s;const r=t.window;for(;;){if(t.lookahead<=258){if(pt(t),t.lookahead<=258&&e===P)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=t.strstart-1,i=r[n],i===r[++n]&&i===r[++n]&&i===r[++n])){s=t.strstart+258;do{}while(i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&n<s);t.match_length=258-(s-n),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(a=j(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=j(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(ut(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2})(a,e):zt[a.level].func(a,e);if(3!==i&&4!==i||(a.status=666),1===i||3===i)return 0===t.avail_out&&(a.last_flush=-1),q;if(2===i&&(e===Y?K(a):e!==W&&(H(a,0,0,!1),e===G&&(dt(a.head),0===a.lookahead&&(a.strstart=0,a.block_start=0,a.insert=0))),ct(t),0===t.avail_out))return a.last_flush=-1,q}return e!==X?q:a.wrap<=0?J:(2===a.wrap?(wt(a,255&t.adler),wt(a,t.adler>>8&255),wt(a,t.adler>>16&255),wt(a,t.adler>>24&255),wt(a,255&t.total_in),wt(a,t.total_in>>8&255),wt(a,t.total_in>>16&255),wt(a,t.total_in>>24&255)):(mt(a,t.adler>>>16),mt(a,65535&t.adler)),ct(t),a.wrap>0&&(a.wrap=-a.wrap),0!==a.pending?q:J)},deflateEnd:t=>{if(Et(t))return Q;const e=t.state.status;return t.state=null,113===e?lt(t,V):q},deflateSetDictionary:(t,e)=>{let a=e.length;if(Et(t))return Q;const i=t.state,n=i.wrap;if(2===n||1===n&&42!==i.status||i.lookahead)return Q;if(1===n&&(t.adler=F(t.adler,e,a,0)),i.wrap=0,a>=i.w_size){0===n&&(dt(i.head),i.strstart=0,i.block_start=0,i.insert=0);let t=new Uint8Array(i.w_size);t.set(e.subarray(a-i.w_size,a),0),e=t,a=i.w_size}const s=t.avail_in,r=t.next_in,o=t.input;for(t.avail_in=a,t.next_in=0,t.input=e,pt(i);i.lookahead>=3;){let t=i.strstart,e=i.lookahead-2;do{i.ins_h=ft(i,i.ins_h,i.window[t+3-1]),i.prev[t&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=t,t++}while(--e);i.strstart=t,i.lookahead=2,pt(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=2,i.match_available=0,t.next_in=r,t.input=o,t.avail_in=s,i.wrap=n,q},deflateInfo:"pako deflate (from Nodeca project)"};const Dt=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var Tt=function(t){const e=Array.prototype.slice.call(arguments,1);for(;e.length;){const a=e.shift();if(a){if("object"!=typeof a)throw new TypeError(a+"must be non-object");for(const e in a)Dt(a,e)&&(t[e]=a[e])}}return t},Ot=t=>{let e=0;for(let a=0,i=t.length;a<i;a++)e+=t[a].length;const a=new Uint8Array(e);for(let e=0,i=0,n=t.length;e<n;e++){let n=t[e];a.set(n,i),i+=n.length}return a};let Ft=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){Ft=!1}const Lt=new Uint8Array(256);for(let t=0;t<256;t++)Lt[t]=t>=252?6:t>=248?5:t>=240?4:t>=224?3:t>=192?2:1;Lt[254]=Lt[254]=1;var Nt=t=>{if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(t);let e,a,i,n,s,r=t.length,o=0;for(n=0;n<r;n++)a=t.charCodeAt(n),55296==(64512&a)&&n+1<r&&(i=t.charCodeAt(n+1),56320==(64512&i)&&(a=65536+(a-55296<<10)+(i-56320),n++)),o+=a<128?1:a<2048?2:a<65536?3:4;for(e=new Uint8Array(o),s=0,n=0;s<o;n++)a=t.charCodeAt(n),55296==(64512&a)&&n+1<r&&(i=t.charCodeAt(n+1),56320==(64512&i)&&(a=65536+(a-55296<<10)+(i-56320),n++)),a<128?e[s++]=a:a<2048?(e[s++]=192|a>>>6,e[s++]=128|63&a):a<65536?(e[s++]=224|a>>>12,e[s++]=128|a>>>6&63,e[s++]=128|63&a):(e[s++]=240|a>>>18,e[s++]=128|a>>>12&63,e[s++]=128|a>>>6&63,e[s++]=128|63&a);return e},It=(t,e)=>{const a=e||t.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(t.subarray(0,e));let i,n;const s=new Array(2*a);for(n=0,i=0;i<a;){let e=t[i++];if(e<128){s[n++]=e;continue}let r=Lt[e];if(r>4)s[n++]=65533,i+=r-1;else{for(e&=2===r?31:3===r?15:7;r>1&&i<a;)e=e<<6|63&t[i++],r--;r>1?s[n++]=65533:e<65536?s[n++]=e:(e-=65536,s[n++]=55296|e>>10&1023,s[n++]=56320|1023&e)}}return((t,e)=>{if(e<65534&&t.subarray&&Ft)return String.fromCharCode.apply(null,t.length===e?t:t.subarray(0,e));let a="";for(let i=0;i<e;i++)a+=String.fromCharCode(t[i]);return a})(s,n)},Bt=(t,e)=>{(e=e||t.length)>t.length&&(e=t.length);let a=e-1;for(;a>=0&&128==(192&t[a]);)a--;return a<0||0===a?e:a+Lt[t[a]]>e?a:e};var Ct=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0};const Ht=Object.prototype.toString,{Z_NO_FLUSH:Mt,Z_SYNC_FLUSH:jt,Z_FULL_FLUSH:Kt,Z_FINISH:Pt,Z_OK:Yt,Z_STREAM_END:Gt,Z_DEFAULT_COMPRESSION:Xt,Z_DEFAULT_STRATEGY:Wt,Z_DEFLATED:qt}=B;function Jt(t){this.options=Tt({level:Xt,method:qt,chunkSize:16384,windowBits:15,memLevel:8,strategy:Wt},t||{});let e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ct,this.strm.avail_out=0;let a=St.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(a!==Yt)throw new Error(I[a]);if(e.header&&St.deflateSetHeader(this.strm,e.header),e.dictionary){let t;if(t="string"==typeof e.dictionary?Nt(e.dictionary):"[object ArrayBuffer]"===Ht.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,a=St.deflateSetDictionary(this.strm,t),a!==Yt)throw new Error(I[a]);this._dict_set=!0}}function Qt(t,e){const a=new Jt(e);if(a.push(t,!0),a.err)throw a.msg||I[a.err];return a.result}Jt.prototype.push=function(t,e){const a=this.strm,i=this.options.chunkSize;let n,s;if(this.ended)return!1;for(s=e===~~e?e:!0===e?Pt:Mt,"string"==typeof t?a.input=Nt(t):"[object ArrayBuffer]"===Ht.call(t)?a.input=new Uint8Array(t):a.input=t,a.next_in=0,a.avail_in=a.input.length;;)if(0===a.avail_out&&(a.output=new Uint8Array(i),a.next_out=0,a.avail_out=i),(s===jt||s===Kt)&&a.avail_out<=6)this.onData(a.output.subarray(0,a.next_out)),a.avail_out=0;else{if(n=St.deflate(a,s),n===Gt)return a.next_out>0&&this.onData(a.output.subarray(0,a.next_out)),n=St.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===Yt;if(0!==a.avail_out){if(s>0&&a.next_out>0)this.onData(a.output.subarray(0,a.next_out)),a.avail_out=0;else if(0===a.avail_in)break}else this.onData(a.output)}return!0},Jt.prototype.onData=function(t){this.chunks.push(t)},Jt.prototype.onEnd=function(t){t===Yt&&(this.result=Ot(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};var Vt={Deflate:Jt,deflate:Qt,deflateRaw:function(t,e){return(e=e||{}).raw=!0,Qt(t,e)},gzip:function(t,e){return(e=e||{}).gzip=!0,Qt(t,e)},constants:B};var $t=function(t,e){let a,i,n,s,r,o,l,h,d,_,f,c,u,w,m,b,g,p,k,v,y,x,z,A;const E=t.state;a=t.next_in,z=t.input,i=a+(t.avail_in-5),n=t.next_out,A=t.output,s=n-(e-t.avail_out),r=n+(t.avail_out-257),o=E.dmax,l=E.wsize,h=E.whave,d=E.wnext,_=E.window,f=E.hold,c=E.bits,u=E.lencode,w=E.distcode,m=(1<<E.lenbits)-1,b=(1<<E.distbits)-1;t:do{c<15&&(f+=z[a++]<<c,c+=8,f+=z[a++]<<c,c+=8),g=u[f&m];e:for(;;){if(p=g>>>24,f>>>=p,c-=p,p=g>>>16&255,0===p)A[n++]=65535&g;else{if(!(16&p)){if(0==(64&p)){g=u[(65535&g)+(f&(1<<p)-1)];continue e}if(32&p){E.mode=16191;break t}t.msg="invalid literal/length code",E.mode=16209;break t}k=65535&g,p&=15,p&&(c<p&&(f+=z[a++]<<c,c+=8),k+=f&(1<<p)-1,f>>>=p,c-=p),c<15&&(f+=z[a++]<<c,c+=8,f+=z[a++]<<c,c+=8),g=w[f&b];a:for(;;){if(p=g>>>24,f>>>=p,c-=p,p=g>>>16&255,!(16&p)){if(0==(64&p)){g=w[(65535&g)+(f&(1<<p)-1)];continue a}t.msg="invalid distance code",E.mode=16209;break t}if(v=65535&g,p&=15,c<p&&(f+=z[a++]<<c,c+=8,c<p&&(f+=z[a++]<<c,c+=8)),v+=f&(1<<p)-1,v>o){t.msg="invalid distance too far back",E.mode=16209;break t}if(f>>>=p,c-=p,p=n-s,v>p){if(p=v-p,p>h&&E.sane){t.msg="invalid distance too far back",E.mode=16209;break t}if(y=0,x=_,0===d){if(y+=l-p,p<k){k-=p;do{A[n++]=_[y++]}while(--p);y=n-v,x=A}}else if(d<p){if(y+=l+d-p,p-=d,p<k){k-=p;do{A[n++]=_[y++]}while(--p);if(y=0,d<k){p=d,k-=p;do{A[n++]=_[y++]}while(--p);y=n-v,x=A}}}else if(y+=d-p,p<k){k-=p;do{A[n++]=_[y++]}while(--p);y=n-v,x=A}for(;k>2;)A[n++]=x[y++],A[n++]=x[y++],A[n++]=x[y++],k-=3;k&&(A[n++]=x[y++],k>1&&(A[n++]=x[y++]))}else{y=n-v;do{A[n++]=A[y++],A[n++]=A[y++],A[n++]=A[y++],k-=3}while(k>2);k&&(A[n++]=A[y++],k>1&&(A[n++]=A[y++]))}break}}break}}while(a<i&&n<r);k=c>>3,a-=k,c-=k<<3,f&=(1<<c)-1,t.next_in=a,t.next_out=n,t.avail_in=a<i?i-a+5:5-(a-i),t.avail_out=n<r?r-n+257:257-(n-r),E.hold=f,E.bits=c};const te=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),ee=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),ae=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),ie=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]);var ne=(t,e,a,i,n,s,r,o)=>{const l=o.bits;let h,d,_,f,c,u,w=0,m=0,b=0,g=0,p=0,k=0,v=0,y=0,x=0,z=0,A=null;const E=new Uint16Array(16),R=new Uint16Array(16);let Z,U,S,D=null;for(w=0;w<=15;w++)E[w]=0;for(m=0;m<i;m++)E[e[a+m]]++;for(p=l,g=15;g>=1&&0===E[g];g--);if(p>g&&(p=g),0===g)return n[s++]=20971520,n[s++]=20971520,o.bits=1,0;for(b=1;b<g&&0===E[b];b++);for(p<b&&(p=b),y=1,w=1;w<=15;w++)if(y<<=1,y-=E[w],y<0)return-1;if(y>0&&(0===t||1!==g))return-1;for(R[1]=0,w=1;w<15;w++)R[w+1]=R[w]+E[w];for(m=0;m<i;m++)0!==e[a+m]&&(r[R[e[a+m]]++]=m);if(0===t?(A=D=r,u=20):1===t?(A=te,D=ee,u=257):(A=ae,D=ie,u=0),z=0,m=0,w=b,c=s,k=p,v=0,_=-1,x=1<<p,f=x-1,1===t&&x>852||2===t&&x>592)return 1;for(;;){Z=w-v,r[m]+1<u?(U=0,S=r[m]):r[m]>=u?(U=D[r[m]-u],S=A[r[m]-u]):(U=96,S=0),h=1<<w-v,d=1<<k,b=d;do{d-=h,n[c+(z>>v)+d]=Z<<24|U<<16|S|0}while(0!==d);for(h=1<<w-1;z&h;)h>>=1;if(0!==h?(z&=h-1,z+=h):z=0,m++,0==--E[w]){if(w===g)break;w=e[a+r[m]]}if(w>p&&(z&f)!==_){for(0===v&&(v=p),c+=b,k=w-v,y=1<<k;k+v<g&&(y-=E[k+v],!(y<=0));)k++,y<<=1;if(x+=1<<k,1===t&&x>852||2===t&&x>592)return 1;_=z&f,n[_]=p<<24|k<<16|c-s|0}}return 0!==z&&(n[c+z]=w-v<<24|64<<16|0),o.bits=p,0};const{Z_FINISH:se,Z_BLOCK:re,Z_TREES:oe,Z_OK:le,Z_STREAM_END:he,Z_NEED_DICT:de,Z_STREAM_ERROR:_e,Z_DATA_ERROR:fe,Z_MEM_ERROR:ce,Z_BUF_ERROR:ue,Z_DEFLATED:we}=B,me=16209,be=t=>(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24);function ge(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const pe=t=>{if(!t)return 1;const e=t.state;return!e||e.strm!==t||e.mode<16180||e.mode>16211?1:0},ke=t=>{if(pe(t))return _e;const e=t.state;return t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=16180,e.last=0,e.havedict=0,e.flags=-1,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new Int32Array(852),e.distcode=e.distdyn=new Int32Array(592),e.sane=1,e.back=-1,le},ve=t=>{if(pe(t))return _e;const e=t.state;return e.wsize=0,e.whave=0,e.wnext=0,ke(t)},ye=(t,e)=>{let a;if(pe(t))return _e;const i=t.state;return e<0?(a=0,e=-e):(a=5+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?_e:(null!==i.window&&i.wbits!==e&&(i.window=null),i.wrap=a,i.wbits=e,ve(t))},xe=(t,e)=>{if(!t)return _e;const a=new ge;t.state=a,a.strm=t,a.window=null,a.mode=16180;const i=ye(t,e);return i!==le&&(t.state=null),i};let ze,Ae,Ee=!0;const Re=t=>{if(Ee){ze=new Int32Array(512),Ae=new Int32Array(32);let e=0;for(;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(ne(1,t.lens,0,288,ze,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;ne(2,t.lens,0,32,Ae,0,t.work,{bits:5}),Ee=!1}t.lencode=ze,t.lenbits=9,t.distcode=Ae,t.distbits=5},Ze=(t,e,a,i)=>{let n;const s=t.state;return null===s.window&&(s.wsize=1<<s.wbits,s.wnext=0,s.whave=0,s.window=new Uint8Array(s.wsize)),i>=s.wsize?(s.window.set(e.subarray(a-s.wsize,a),0),s.wnext=0,s.whave=s.wsize):(n=s.wsize-s.wnext,n>i&&(n=i),s.window.set(e.subarray(a-i,a-i+n),s.wnext),(i-=n)?(s.window.set(e.subarray(a-i,a),0),s.wnext=i,s.whave=s.wsize):(s.wnext+=n,s.wnext===s.wsize&&(s.wnext=0),s.whave<s.wsize&&(s.whave+=n))),0};var Ue={inflateReset:ve,inflateReset2:ye,inflateResetKeep:ke,inflateInit:t=>xe(t,15),inflateInit2:xe,inflate:(t,e)=>{let a,i,n,s,r,o,l,h,d,_,f,c,u,w,m,b,g,p,k,v,y,x,z=0;const A=new Uint8Array(4);let E,R;const Z=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(pe(t)||!t.output||!t.input&&0!==t.avail_in)return _e;a=t.state,16191===a.mode&&(a.mode=16192),r=t.next_out,n=t.output,l=t.avail_out,s=t.next_in,i=t.input,o=t.avail_in,h=a.hold,d=a.bits,_=o,f=l,x=le;t:for(;;)switch(a.mode){case 16180:if(0===a.wrap){a.mode=16192;break}for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(2&a.wrap&&35615===h){0===a.wbits&&(a.wbits=15),a.check=0,A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0),h=0,d=0,a.mode=16181;break}if(a.head&&(a.head.done=!1),!(1&a.wrap)||(((255&h)<<8)+(h>>8))%31){t.msg="incorrect header check",a.mode=me;break}if((15&h)!==we){t.msg="unknown compression method",a.mode=me;break}if(h>>>=4,d-=4,y=8+(15&h),0===a.wbits&&(a.wbits=y),y>15||y>a.wbits){t.msg="invalid window size",a.mode=me;break}a.dmax=1<<a.wbits,a.flags=0,t.adler=a.check=1,a.mode=512&h?16189:16191,h=0,d=0;break;case 16181:for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(a.flags=h,(255&a.flags)!==we){t.msg="unknown compression method",a.mode=me;break}if(57344&a.flags){t.msg="unknown header flags set",a.mode=me;break}a.head&&(a.head.text=h>>8&1),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0)),h=0,d=0,a.mode=16182;case 16182:for(;d<32;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.head&&(a.head.time=h),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,A[2]=h>>>16&255,A[3]=h>>>24&255,a.check=N(a.check,A,4,0)),h=0,d=0,a.mode=16183;case 16183:for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.head&&(a.head.xflags=255&h,a.head.os=h>>8),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0)),h=0,d=0,a.mode=16184;case 16184:if(1024&a.flags){for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.length=h,a.head&&(a.head.extra_len=h),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0)),h=0,d=0}else a.head&&(a.head.extra=null);a.mode=16185;case 16185:if(1024&a.flags&&(c=a.length,c>o&&(c=o),c&&(a.head&&(y=a.head.extra_len-a.length,a.head.extra||(a.head.extra=new Uint8Array(a.head.extra_len)),a.head.extra.set(i.subarray(s,s+c),y)),512&a.flags&&4&a.wrap&&(a.check=N(a.check,i,c,s)),o-=c,s+=c,a.length-=c),a.length))break t;a.length=0,a.mode=16186;case 16186:if(2048&a.flags){if(0===o)break t;c=0;do{y=i[s+c++],a.head&&y&&a.length<65536&&(a.head.name+=String.fromCharCode(y))}while(y&&c<o);if(512&a.flags&&4&a.wrap&&(a.check=N(a.check,i,c,s)),o-=c,s+=c,y)break t}else a.head&&(a.head.name=null);a.length=0,a.mode=16187;case 16187:if(4096&a.flags){if(0===o)break t;c=0;do{y=i[s+c++],a.head&&y&&a.length<65536&&(a.head.comment+=String.fromCharCode(y))}while(y&&c<o);if(512&a.flags&&4&a.wrap&&(a.check=N(a.check,i,c,s)),o-=c,s+=c,y)break t}else a.head&&(a.head.comment=null);a.mode=16188;case 16188:if(512&a.flags){for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(4&a.wrap&&h!==(65535&a.check)){t.msg="header crc mismatch",a.mode=me;break}h=0,d=0}a.head&&(a.head.hcrc=a.flags>>9&1,a.head.done=!0),t.adler=a.check=0,a.mode=16191;break;case 16189:for(;d<32;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}t.adler=a.check=be(h),h=0,d=0,a.mode=16190;case 16190:if(0===a.havedict)return t.next_out=r,t.avail_out=l,t.next_in=s,t.avail_in=o,a.hold=h,a.bits=d,de;t.adler=a.check=1,a.mode=16191;case 16191:if(e===re||e===oe)break t;case 16192:if(a.last){h>>>=7&d,d-=7&d,a.mode=16206;break}for(;d<3;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}switch(a.last=1&h,h>>>=1,d-=1,3&h){case 0:a.mode=16193;break;case 1:if(Re(a),a.mode=16199,e===oe){h>>>=2,d-=2;break t}break;case 2:a.mode=16196;break;case 3:t.msg="invalid block type",a.mode=me}h>>>=2,d-=2;break;case 16193:for(h>>>=7&d,d-=7&d;d<32;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if((65535&h)!=(h>>>16^65535)){t.msg="invalid stored block lengths",a.mode=me;break}if(a.length=65535&h,h=0,d=0,a.mode=16194,e===oe)break t;case 16194:a.mode=16195;case 16195:if(c=a.length,c){if(c>o&&(c=o),c>l&&(c=l),0===c)break t;n.set(i.subarray(s,s+c),r),o-=c,s+=c,l-=c,r+=c,a.length-=c;break}a.mode=16191;break;case 16196:for(;d<14;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(a.nlen=257+(31&h),h>>>=5,d-=5,a.ndist=1+(31&h),h>>>=5,d-=5,a.ncode=4+(15&h),h>>>=4,d-=4,a.nlen>286||a.ndist>30){t.msg="too many length or distance symbols",a.mode=me;break}a.have=0,a.mode=16197;case 16197:for(;a.have<a.ncode;){for(;d<3;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.lens[Z[a.have++]]=7&h,h>>>=3,d-=3}for(;a.have<19;)a.lens[Z[a.have++]]=0;if(a.lencode=a.lendyn,a.lenbits=7,E={bits:a.lenbits},x=ne(0,a.lens,0,19,a.lencode,0,a.work,E),a.lenbits=E.bits,x){t.msg="invalid code lengths set",a.mode=me;break}a.have=0,a.mode=16198;case 16198:for(;a.have<a.nlen+a.ndist;){for(;z=a.lencode[h&(1<<a.lenbits)-1],m=z>>>24,b=z>>>16&255,g=65535&z,!(m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(g<16)h>>>=m,d-=m,a.lens[a.have++]=g;else{if(16===g){for(R=m+2;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(h>>>=m,d-=m,0===a.have){t.msg="invalid bit length repeat",a.mode=me;break}y=a.lens[a.have-1],c=3+(3&h),h>>>=2,d-=2}else if(17===g){for(R=m+3;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}h>>>=m,d-=m,y=0,c=3+(7&h),h>>>=3,d-=3}else{for(R=m+7;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}h>>>=m,d-=m,y=0,c=11+(127&h),h>>>=7,d-=7}if(a.have+c>a.nlen+a.ndist){t.msg="invalid bit length repeat",a.mode=me;break}for(;c--;)a.lens[a.have++]=y}}if(a.mode===me)break;if(0===a.lens[256]){t.msg="invalid code -- missing end-of-block",a.mode=me;break}if(a.lenbits=9,E={bits:a.lenbits},x=ne(1,a.lens,0,a.nlen,a.lencode,0,a.work,E),a.lenbits=E.bits,x){t.msg="invalid literal/lengths set",a.mode=me;break}if(a.distbits=6,a.distcode=a.distdyn,E={bits:a.distbits},x=ne(2,a.lens,a.nlen,a.ndist,a.distcode,0,a.work,E),a.distbits=E.bits,x){t.msg="invalid distances set",a.mode=me;break}if(a.mode=16199,e===oe)break t;case 16199:a.mode=16200;case 16200:if(o>=6&&l>=258){t.next_out=r,t.avail_out=l,t.next_in=s,t.avail_in=o,a.hold=h,a.bits=d,$t(t,f),r=t.next_out,n=t.output,l=t.avail_out,s=t.next_in,i=t.input,o=t.avail_in,h=a.hold,d=a.bits,16191===a.mode&&(a.back=-1);break}for(a.back=0;z=a.lencode[h&(1<<a.lenbits)-1],m=z>>>24,b=z>>>16&255,g=65535&z,!(m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(b&&0==(240&b)){for(p=m,k=b,v=g;z=a.lencode[v+((h&(1<<p+k)-1)>>p)],m=z>>>24,b=z>>>16&255,g=65535&z,!(p+m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}h>>>=p,d-=p,a.back+=p}if(h>>>=m,d-=m,a.back+=m,a.length=g,0===b){a.mode=16205;break}if(32&b){a.back=-1,a.mode=16191;break}if(64&b){t.msg="invalid literal/length code",a.mode=me;break}a.extra=15&b,a.mode=16201;case 16201:if(a.extra){for(R=a.extra;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.length+=h&(1<<a.extra)-1,h>>>=a.extra,d-=a.extra,a.back+=a.extra}a.was=a.length,a.mode=16202;case 16202:for(;z=a.distcode[h&(1<<a.distbits)-1],m=z>>>24,b=z>>>16&255,g=65535&z,!(m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(0==(240&b)){for(p=m,k=b,v=g;z=a.distcode[v+((h&(1<<p+k)-1)>>p)],m=z>>>24,b=z>>>16&255,g=65535&z,!(p+m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}h>>>=p,d-=p,a.back+=p}if(h>>>=m,d-=m,a.back+=m,64&b){t.msg="invalid distance code",a.mode=me;break}a.offset=g,a.extra=15&b,a.mode=16203;case 16203:if(a.extra){for(R=a.extra;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.offset+=h&(1<<a.extra)-1,h>>>=a.extra,d-=a.extra,a.back+=a.extra}if(a.offset>a.dmax){t.msg="invalid distance too far back",a.mode=me;break}a.mode=16204;case 16204:if(0===l)break t;if(c=f-l,a.offset>c){if(c=a.offset-c,c>a.whave&&a.sane){t.msg="invalid distance too far back",a.mode=me;break}c>a.wnext?(c-=a.wnext,u=a.wsize-c):u=a.wnext-c,c>a.length&&(c=a.length),w=a.window}else w=n,u=r-a.offset,c=a.length;c>l&&(c=l),l-=c,a.length-=c;do{n[r++]=w[u++]}while(--c);0===a.length&&(a.mode=16200);break;case 16205:if(0===l)break t;n[r++]=a.length,l--,a.mode=16200;break;case 16206:if(a.wrap){for(;d<32;){if(0===o)break t;o--,h|=i[s++]<<d,d+=8}if(f-=l,t.total_out+=f,a.total+=f,4&a.wrap&&f&&(t.adler=a.check=a.flags?N(a.check,n,f,r-f):F(a.check,n,f,r-f)),f=l,4&a.wrap&&(a.flags?h:be(h))!==a.check){t.msg="incorrect data check",a.mode=me;break}h=0,d=0}a.mode=16207;case 16207:if(a.wrap&&a.flags){for(;d<32;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(4&a.wrap&&h!==(4294967295&a.total)){t.msg="incorrect length check",a.mode=me;break}h=0,d=0}a.mode=16208;case 16208:x=he;break t;case me:x=fe;break t;case 16210:return ce;default:return _e}return t.next_out=r,t.avail_out=l,t.next_in=s,t.avail_in=o,a.hold=h,a.bits=d,(a.wsize||f!==t.avail_out&&a.mode<me&&(a.mode<16206||e!==se))&&Ze(t,t.output,t.next_out,f-t.avail_out),_-=t.avail_in,f-=t.avail_out,t.total_in+=_,t.total_out+=f,a.total+=f,4&a.wrap&&f&&(t.adler=a.check=a.flags?N(a.check,n,f,t.next_out-f):F(a.check,n,f,t.next_out-f)),t.data_type=a.bits+(a.last?64:0)+(16191===a.mode?128:0)+(16199===a.mode||16194===a.mode?256:0),(0===_&&0===f||e===se)&&x===le&&(x=ue),x},inflateEnd:t=>{if(pe(t))return _e;let e=t.state;return e.window&&(e.window=null),t.state=null,le},inflateGetHeader:(t,e)=>{if(pe(t))return _e;const a=t.state;return 0==(2&a.wrap)?_e:(a.head=e,e.done=!1,le)},inflateSetDictionary:(t,e)=>{const a=e.length;let i,n,s;return pe(t)?_e:(i=t.state,0!==i.wrap&&16190!==i.mode?_e:16190===i.mode&&(n=1,n=F(n,e,a,0),n!==i.check)?fe:(s=Ze(t,e,a,a),s?(i.mode=16210,ce):(i.havedict=1,le)))},inflateInfo:"pako inflate (from Nodeca project)"};var Se=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1};const De=Object.prototype.toString,{Z_NO_FLUSH:Te,Z_FINISH:Oe,Z_OK:Fe,Z_STREAM_END:Le,Z_NEED_DICT:Ne,Z_STREAM_ERROR:Ie,Z_DATA_ERROR:Be,Z_MEM_ERROR:Ce}=B;function He(t){this.options=Tt({chunkSize:65536,windowBits:15,to:""},t||{});const e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ct,this.strm.avail_out=0;let a=Ue.inflateInit2(this.strm,e.windowBits);if(a!==Fe)throw new Error(I[a]);if(this.header=new Se,Ue.inflateGetHeader(this.strm,this.header),e.dictionary&&("string"==typeof e.dictionary?e.dictionary=Nt(e.dictionary):"[object ArrayBuffer]"===De.call(e.dictionary)&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(a=Ue.inflateSetDictionary(this.strm,e.dictionary),a!==Fe)))throw new Error(I[a])}He.prototype.push=function(t,e){const a=this.strm,i=this.options.chunkSize,n=this.options.dictionary;let s,r,o;if(this.ended)return!1;for(r=e===~~e?e:!0===e?Oe:Te,"[object ArrayBuffer]"===De.call(t)?a.input=new Uint8Array(t):a.input=t,a.next_in=0,a.avail_in=a.input.length;;){for(0===a.avail_out&&(a.output=new Uint8Array(i),a.next_out=0,a.avail_out=i),s=Ue.inflate(a,r),s===Ne&&n&&(s=Ue.inflateSetDictionary(a,n),s===Fe?s=Ue.inflate(a,r):s===Be&&(s=Ne));a.avail_in>0&&s===Le&&a.state.wrap>0&&0!==t[a.next_in];)Ue.inflateReset(a),s=Ue.inflate(a,r);switch(s){case Ie:case Be:case Ne:case Ce:return this.onEnd(s),this.ended=!0,!1}if(o=a.avail_out,a.next_out&&(0===a.avail_out||s===Le))if("string"===this.options.to){let t=Bt(a.output,a.next_out),e=a.next_out-t,n=It(a.output,t);a.next_out=e,a.avail_out=i-e,e&&a.output.set(a.output.subarray(t,t+e),0),this.onData(n)}else this.onData(a.output.length===a.next_out?a.output:a.output.subarray(0,a.next_out));if(s!==Fe||0!==o){if(s===Le)return s=Ue.inflateEnd(this.strm),this.onEnd(s),this.ended=!0,!0;if(0===a.avail_in)break}}return!0},He.prototype.onData=function(t){this.chunks.push(t)},He.prototype.onEnd=function(t){t===Fe&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=Ot(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};const{Deflate:Me,deflate:je,deflateRaw:Ke,gzip:Pe}=Vt;var Ye=Me,Ge=je,Xe=B;const We=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const e=this._hasEvents?",":"";this.deflate.push(e+t,Xe.Z_SYNC_FLUSH),this._hasEvents=!0}finish(){if(this.deflate.push("]",Xe.Z_FINISH),this.deflate.err)throw this.deflate.err;const t=this.deflate.result;return this._init(),t}_init(){this._hasEvents=!1,this.deflate=new Ye,this.deflate.push("[",Xe.Z_NO_FLUSH)}},qe={clear:()=>{We.clear()},addEvent:t=>We.addEvent(t),finish:()=>We.finish(),compress:t=>function(t){return Ge(t)}(t)};addEventListener("message",(function(t){const e=t.data.method,a=t.data.id,i=t.data.arg;if(e in qe&&"function"==typeof qe[e])try{const t=qe[e](i);postMessage({id:a,method:e,success:!0,response:t})}catch(t){postMessage({id:a,method:e,success:!1,response:t.message}),console.error(t)}})),postMessage({id:void 0,method:"init",success:!0,response:void 0});';function aPe(e,t){("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&(rNe.info(e),t&&lPe(e))}function sPe(e,t){("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&(rNe.info(e),t&&setTimeout((function(){lPe(e)}),0))}function lPe(e){uTe().addBreadcrumb({category:"console",data:{logger:"replay"},level:"info",message:e},{level:"info"})}var cPe=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(){return(0,o.Z)(this,n),t.call(this,"Event buffer exceeded maximum size of ".concat(nRe,"."))}return(0,i.Z)(n)}((0,l.Z)(Error)),uPe=function(){function e(){(0,o.Z)(this,e),this.events=[],this._totalSize=0,this.hasCheckout=!1}return(0,i.Z)(e,[{key:"hasEvents",get:function(){return this.events.length>0}},{key:"type",get:function(){return"sync"}},{key:"destroy",value:function(){this.events=[]}},{key:"addEvent",value:function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=JSON.stringify(t).length,this._totalSize+=n,!(this._totalSize>nRe)){e.next=4;break}throw new cPe;case 4:this.events.push(t);case 5:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"finish",value:function(){var e=this;return new Promise((function(t){var n=e.events;e.clear(),t(JSON.stringify(n))}))}},{key:"clear",value:function(){this.events=[],this._totalSize=0,this.hasCheckout=!1}},{key:"getEarliestTimestamp",value:function(){var e=this.events.map((function(e){return e.timestamp})).sort()[0];return e?Pqe(e):null}}]),e}(),dPe=function(){function e(t){(0,o.Z)(this,e),this._worker=t,this._id=0}return(0,i.Z)(e,[{key:"ensureReady",value:function(){var e=this;return this._ensureReadyPromise||(this._ensureReadyPromise=new Promise((function(t,n){e._worker.addEventListener("message",(function(e){e.data.success?t():n()}),{once:!0}),e._worker.addEventListener("error",(function(e){n(e)}),{once:!0})}))),this._ensureReadyPromise}},{key:"destroy",value:function(){aPe("[Replay] Destroying compression worker"),this._worker.terminate()}},{key:"postMessage",value:function(e,t){var n=this,r=this._getAndIncrementId();return new Promise((function(o,i){n._worker.addEventListener("message",(function t(a){var s=a.data;if(s.method===e&&s.id===r){if(n._worker.removeEventListener("message",t),!s.success)return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.error("[Replay]",s.response),void i(new Error("Error in compression worker"));o(s.response)}})),n._worker.postMessage({id:r,method:e,arg:t})}))}},{key:"_getAndIncrementId",value:function(){return this._id++}}]),e}(),pPe=function(){function e(t){(0,o.Z)(this,e),this._worker=new dPe(t),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1}return(0,i.Z)(e,[{key:"hasEvents",get:function(){return!!this._earliestTimestamp}},{key:"type",get:function(){return"worker"}},{key:"ensureReady",value:function(){return this._worker.ensureReady()}},{key:"destroy",value:function(){this._worker.destroy()}},{key:"addEvent",value:function(e){var t=Pqe(e.timestamp);(!this._earliestTimestamp||t<this._earliestTimestamp)&&(this._earliestTimestamp=t);var n=JSON.stringify(e);return this._totalSize+=n.length,this._totalSize>nRe?Promise.reject(new cPe):this._sendEventToWorker(n)}},{key:"finish",value:function(){return this._finishRequest()}},{key:"clear",value:function(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear")}},{key:"getEarliestTimestamp",value:function(){return this._earliestTimestamp}},{key:"_sendEventToWorker",value:function(e){return this._worker.postMessage("addEvent",e)}},{key:"_finishRequest",value:function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._worker.postMessage("finish");case 2:return t=e.sent,this._earliestTimestamp=null,this._totalSize=0,e.abrupt("return",t);case 6:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()}]),e}(),fPe=function(){function e(t){(0,o.Z)(this,e),this._fallback=new uPe,this._compression=new pPe(t),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}return(0,i.Z)(e,[{key:"type",get:function(){return this._used.type}},{key:"hasEvents",get:function(){return this._used.hasEvents}},{key:"hasCheckout",get:function(){return this._used.hasCheckout},set:function(e){this._used.hasCheckout=e}},{key:"destroy",value:function(){this._fallback.destroy(),this._compression.destroy()}},{key:"clear",value:function(){return this._used.clear()}},{key:"getEarliestTimestamp",value:function(){return this._used.getEarliestTimestamp()}},{key:"addEvent",value:function(e){return this._used.addEvent(e)}},{key:"finish",value:function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.ensureWorkerIsLoaded();case 2:return e.abrupt("return",this._used.finish());case 3:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"ensureWorkerIsLoaded",value:function(){return this._ensureWorkerIsLoadedPromise}},{key:"_ensureWorkerIsLoaded",value:function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this._compression.ensureReady();case 3:e.next=9;break;case 5:return e.prev=5,e.t0=e.catch(0),aPe("[Replay] Failed to load the compression worker, falling back to simple buffer"),e.abrupt("return");case 9:return e.next=11,this._switchToCompressionWorker();case 11:case"end":return e.stop()}}),e,this,[[0,5]])})));return function(){return e.apply(this,arguments)}}()},{key:"_switchToCompressionWorker",value:function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t,n,r,o,i,a,s;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=this._fallback,n=t.events,r=t.hasCheckout,o=[],i=(0,b.Z)(n);try{for(i.s();!(a=i.n()).done;)s=a.value,o.push(this._compression.addEvent(s))}catch(l){i.e(l)}finally{i.f()}return this._compression.hasCheckout=r,this._used=this._compression,e.prev=6,e.next=9,Promise.all(o);case 9:e.next=14;break;case 11:e.prev=11,e.t0=e.catch(6),("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.warn("[Replay] Failed to add events when switching buffers.",e.t0);case 14:case"end":return e.stop()}}),e,this,[[6,11]])})));return function(){return e.apply(this,arguments)}}()}]),e}();function hPe(e){if(e.useCompression&&window.Worker)try{var t=function(){var e=new Blob([iPe]);return URL.createObjectURL(e)}();aPe("[Replay] Using compression worker");var n=new Worker(t);return new fPe(n)}catch(r){aPe("[Replay] Failed to create compression worker")}return aPe("[Replay] Using simple buffer"),new uPe}function bPe(){try{return"sessionStorage"in XLe&&!!XLe.sessionStorage}catch(AE){return!1}}function APe(e){!function(){if(!bPe())return;try{XLe.sessionStorage.removeItem(QLe)}catch(AE){}}(),e.session=void 0}function mPe(e){return void 0!==e&&Math.random()<e}function gPe(e){if(bPe())try{XLe.sessionStorage.setItem(QLe,JSON.stringify(e))}catch(AE){}}function vPe(e){var t=Date.now();return{id:e.id||jNe(),started:e.started||t,lastActivity:e.lastActivity||t,segmentId:e.segmentId||0,sampled:e.sampled,previousSessionId:e.previousSessionId}}function yPe(e){var t=e.sessionSampleRate,n=e.allowBuffering,r=e.stickySession,o=void 0!==r&&r,i=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).previousSessionId,a=function(e,t){return mPe(e)?"session":!!t&&"buffer"}(t,n),s=vPe({sampled:a,previousSessionId:i});return o&&gPe(s),s}function MPe(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:+new Date;return null===e||void 0===t||t<0||0!==t&&e+t<=n}function OPe(e,t){var n=t.maxReplayDuration,r=t.sessionIdleExpire,o=t.targetTime,i=void 0===o?Date.now():o;return MPe(e.started,n,i)||MPe(e.lastActivity,r,i)}function _Pe(e,t){return!!OPe(e,{sessionIdleExpire:t.sessionIdleExpire,maxReplayDuration:t.maxReplayDuration})&&("buffer"!==e.sampled||0!==e.segmentId)}function zPe(e,t){var n=e.traceInternals,r=e.sessionIdleExpire,o=e.maxReplayDuration,i=e.previousSessionId,a=t.stickySession&&function(e){if(!bPe())return null;try{var t=XLe.sessionStorage.getItem(QLe);if(!t)return null;var n=JSON.parse(t);return sPe("[Replay] Loading existing session",e),vPe(n)}catch(AE){return null}}(n);return a?_Pe(a,{sessionIdleExpire:r,maxReplayDuration:o})?(sPe("[Replay] Session in sessionStorage is expired, creating new one..."),yPe(t,{previousSessionId:a.id})):a:(sPe("[Replay] Creating new session",n),yPe(t,{previousSessionId:i}))}function xPe(e,t,n){return!!SPe(e,t)&&(wPe(e,t,n),!0)}function wPe(e,t,n){return CPe.apply(this,arguments)}function CPe(){return CPe=(0,Hs.Z)((0,Zs.Z)().mark((function e(t,n,r){var o,i,a,s;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.eventBuffer){e.next=2;break}return e.abrupt("return",null);case 2:if(e.prev=2,r&&"buffer"===t.recordingMode&&t.eventBuffer.clear(),r&&(t.eventBuffer.hasCheckout=!0),o=t.getOptions(),i=EPe(n,o.beforeAddRecordingEvent)){e.next=9;break}return e.abrupt("return");case 9:return e.next=11,t.eventBuffer.addEvent(i);case 11:return e.abrupt("return",e.sent);case 14:return e.prev=14,e.t0=e.catch(2),a=e.t0&&e.t0 instanceof cPe?"addEventSizeExceeded":"addEvent",("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.error(e.t0),e.next=20,t.stop({reason:a});case 20:(s=uTe().getClient())&&s.recordDroppedEvent("internal_sdk_error","replay");case 22:case"end":return e.stop()}}),e,null,[[2,14]])}))),CPe.apply(this,arguments)}function SPe(e,t){if(!e.eventBuffer||e.isPaused()||!e.isEnabled())return!1;var n=Pqe(t.timestamp);return!(n+e.timeouts.sessionIdlePause<Date.now())&&(!(n>e.getContext().initialTimestamp+e.getOptions().maxReplayDuration)||(aPe("[Replay] Skipping event with timestamp ".concat(n," because it is after maxReplayDuration"),e.getOptions()._experiments.traceInternals),!1))}function EPe(e,t){try{if("function"===typeof t&&function(e){return e.type===_Re.Custom}(e))return t(e)}catch(n){return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.error("[Replay] An error occured in the `beforeAddRecordingEvent` callback, skipping the event...",n),null}return e}function kPe(e){return!e.type}function DPe(e){return"transaction"===e.type}function NPe(e){var t=function(){var e=uTe().getClient();if(!e)return!1;var t=e.getTransport();if(!t)return!1;return t.send.__sentry__baseTransport__||!1}();return function(n,r){if(e.isEnabled()&&(kPe(n)||DPe(n))){var o=r&&r.statusCode;t&&(!o||o<200||o>=300)||(DPe(n)?function(e,t){var n=e.getContext();t.contexts&&t.contexts.trace&&t.contexts.trace.trace_id&&n.traceIds.size<100&&n.traceIds.add(t.contexts.trace.trace_id)}(e,n):function(e,t){var n=e.getContext();t.event_id&&n.errorIds.size<100&&n.errorIds.add(t.event_id);"buffer"===e.recordingMode&&t.tags&&t.tags.replayId&&setTimeout((function(){e.sendBufferedReplayOrFlush()}))}(e,n))}}}function TPe(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1]?NPe(e):void 0;return Object.assign((function(n,r){if(!e.isEnabled())return n;if(function(e){return"replay_event"===e.type}(n))return delete n.breadcrumbs,n;if(!kPe(n)&&!DPe(n))return n;if(!e.checkAndHandleExpiredSession())return n;if(function(e,t){return!(e.type||!e.exception||!e.exception.values||!e.exception.values.length)&&(!(!t.originalException||!t.originalException.__rrweb__)||e.exception.values.some((function(e){return!!(e.stacktrace&&e.stacktrace.frames&&e.stacktrace.frames.length)&&e.stacktrace.frames.some((function(e){return e.filename&&e.filename.includes("/rrweb/src/")}))})))}(n,r)&&!e.getOptions()._experiments.captureExceptions)return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.log("[Replay] Ignoring error from rrweb internals",n),null;var o=function(e,t){return"buffer"===e.recordingMode&&t.message!==GLe&&!(!t.exception||t.type)&&mPe(e.getOptions().errorSampleRate)}(e,n);return(o||"session"===e.recordingMode)&&(n.tags=Us(Us({},n.tags),{},{replayId:e.getSessionId()})),t&&t(n,{statusCode:200}),n}),{id:"Replay"})}function jPe(e,t){return t.map((function(t){var n=t.type,r=t.start,o=t.end,i=t.name,a=t.data,s=e.throttledAddEvent({type:_Re.Custom,timestamp:r,data:{tag:"performanceSpan",payload:{op:n,description:i,startTimestamp:r,endTimestamp:o,data:a}}});return"string"===typeof s?Promise.resolve(null):s}))}function BPe(e){return function(t){if(e.isEnabled()){var n=function(e){var t=e.from,n=e.to,r=Date.now()/1e3;return{type:"navigation.push",start:r,end:r,name:n,data:{previous:t}}}(t);null!==n&&(e.getContext().urls.push(n.name),e.triggerUserActivity(),e.addUpdate((function(){return jPe(e,[n]),!1})))}}}function LPe(e,t){return("undefined"!==typeof __SENTRY_DEBUG__&&!__SENTRY_DEBUG__||!e.getOptions()._experiments.traceInternals)&&function(e){var t=uTe().getClient(),n=t&&t.getDsn();return!!n&&e.includes(n.host)}(t)}function RPe(e,t){e.isEnabled()&&null!==t&&(LPe(e,t.name)||e.addUpdate((function(){return jPe(e,[t]),!0})))}function qPe(e){return function(t){if(e.isEnabled()){var n=function(e){var t=e.startTimestamp,n=e.endTimestamp,r=e.xhr[kTe];if(!t||!n||!r)return null;var o=r.method,i=r.url,a=r.status_code;return void 0===i?null:{type:"resource.xhr",name:i,start:t/1e3,end:n/1e3,data:{method:o,statusCode:a}}}(t);RPe(e,n)}}}var PPe=10,IPe=11,WPe=12,FPe=13,UPe=14,ZPe=15,HPe=20,$Pe=21,VPe=22,XPe=23,QPe=["true","false","null"];function YPe(e,t){if(!t.length)return e;var n=e,r=t.length-1;n=function(e,t){switch(t){case PPe:return"".concat(e,'"~~":"~~"');case IPe:return"".concat(e,':"~~"');case WPe:return"".concat(e,'~~":"~~"');case FPe:return function(e){var t=e.lastIndexOf(":"),n=e.slice(t+1);if(QPe.includes(n.trim()))return"".concat(e,',"~~":"~~"');return"".concat(e.slice(0,t+1),'"~~"')}(e);case UPe:return"".concat(e,'~~"');case ZPe:return"".concat(e,',"~~":"~~"');case HPe:return"".concat(e,'"~~"');case $Pe:return function(e){var t=function(e){for(var t=e.length-1;t>=0;t--){var n=e[t];if(","===n||"["===n)return t}return-1}(e);if(t>-1){var n=e.slice(t+1);return QPe.includes(n.trim())?"".concat(e,',"~~"'):"".concat(e.slice(0,t+1),'"~~"')}return e}(e);case VPe:return"".concat(e,'~~"');case XPe:return"".concat(e,',"~~"')}return e}(n,t[r]);for(var o=r;o>=0;o--){switch(t[o]){case PPe:n="".concat(n,"}");break;case HPe:n="".concat(n,"]")}}return n}function GPe(e,t,n){var r=e[e.length-1],o=t[n];if(!/\s/.test(o))if('"'!==o||KPe(t,n))switch(o){case"{":!function(e,t){if(!t)return void e.push(PPe);if(t===FPe)return void e.push(PPe);t===$Pe&&e.push(PPe);if(t===HPe)e.push(PPe)}(e,r);break;case"[":!function(e,t){if(!t)return e.push(HPe),void e.push($Pe);if(t===FPe)return e.push(HPe),void e.push($Pe);t===$Pe&&(e.push(HPe),e.push($Pe));if(t===HPe)e.push(HPe),e.push($Pe)}(e,r);break;case":":!function(e,t){t===IPe&&(e.pop(),e.push(FPe))}(e,r);break;case",":!function(e,t){if(t===FPe)return void e.pop();if(t===ZPe)return e.pop(),void e.pop();if(t===$Pe)return;if(t===XPe)e.pop()}(e,r);break;case"}":!function(e,t){t===PPe&&e.pop();t===FPe&&(e.pop(),e.pop());t===ZPe&&(e.pop(),e.pop(),e.pop());e[e.length-1]===FPe&&e.push(ZPe);e[e.length-1]===$Pe&&e.push(XPe)}(e,r);break;case"]":!function(e,t){t===HPe&&e.pop();t===$Pe&&(e.pop(),e.pop());t===XPe&&(e.pop(),e.pop(),e.pop());e[e.length-1]===FPe&&e.push(ZPe);e[e.length-1]===$Pe&&e.push(XPe)}(e,r)}else!function(e,t){if(t===UPe)return e.pop(),void e.push(ZPe);if(t===VPe)return e.pop(),void e.push(XPe);if(t===FPe)return void e.push(UPe);if(t===$Pe)return void e.push(VPe);if(t===PPe)return void e.push(WPe);if(t===WPe)e.pop(),e.push(IPe)}(e,r)}function KPe(e,t){return"\\"===e[t-1]&&!KPe(e,t-1)}function JPe(e){var t=function(e){for(var t=[],n=0;n<e.length;n++)GPe(t,e,n);return t}(e);return YPe(e,t)}function eIe(e,t){if(e)try{if("string"===typeof e)return t.encode(e).length;if(e instanceof URLSearchParams)return t.encode(e.toString()).length;if(e instanceof FormData){var n=sIe(e);return t.encode(n).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch(AE){}}function tIe(e){if(e){var t=parseInt(e,10);return isNaN(t)?void 0:t}}function nIe(e){return"string"===typeof e?e:e instanceof URLSearchParams?e.toString():e instanceof FormData?sIe(e):void 0}function rIe(e,t){return t?{type:e,start:t.startTimestamp/1e3,end:t.endTimestamp/1e3,name:t.url,data:NNe({method:t.method,statusCode:t.statusCode,request:t.request,response:t.response})}:null}function oIe(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function iIe(e,t,n){if(t||0!==Object.keys(e).length){if(!t)return{headers:e};if(!n)return{headers:e,size:t};var r={headers:e,size:t},o=function(e){if(!e||"string"!==typeof e)return{body:e,warnings:[]};var t=e.length>eRe;if(function(e){var t=e[0],n=e[e.length-1];return"["===t&&"]"===n||"{"===t&&"}"===n}(e))try{var n=t?JPe(e.slice(0,eRe)):e;return{body:JSON.parse(n),warnings:t?["JSON_TRUNCATED"]:[]}}catch(r){return{body:t?"".concat(e.slice(0,eRe),"\u2026"):e,warnings:t?["INVALID_JSON","TEXT_TRUNCATED"]:["INVALID_JSON"]}}return{body:t?"".concat(e.slice(0,eRe),"\u2026"):e,warnings:t?["TEXT_TRUNCATED"]:[]}}(n),i=o.body,a=o.warnings;return r.body=i,a.length>0&&(r._meta={warnings:a}),r}}function aIe(e,t){return Object.keys(e).reduce((function(n,r){var o=r.toLowerCase();return t.includes(o)&&e[r]&&(n[o]=e[r]),n}),{})}function sIe(e){return new URLSearchParams(e).toString()}function lIe(e,t){var n=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:XLe.document.baseURI;if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(XLe.location.origin))return e;var n=new URL(e,t);if(n.origin!==new URL(t).origin)return e;var r=n.href;if(!e.endsWith("/")&&r.endsWith("/"))return r.slice(0,-1);return r}(e);return zNe(n,t)}function cIe(){return cIe=(0,Hs.Z)((0,Zs.Z)().mark((function e(t,n,r){var o,i;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,uIe(t,n,r);case 3:o=e.sent,i=rIe("resource.fetch",o),RPe(r.replay,i),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.error("[Replay] Failed to capture fetch breadcrumb",e.t0);case 11:case"end":return e.stop()}}),e,null,[[0,8]])}))),cIe.apply(this,arguments)}function uIe(e,t,n){return dIe.apply(this,arguments)}function dIe(){return(dIe=(0,Hs.Z)((0,Zs.Z)().mark((function e(t,n,r){var o,i,a,s,l,c,u,d,p,f,h,b;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=n.startTimestamp,i=n.endTimestamp,a=t.data,s=a.url,l=a.method,c=a.status_code,u=void 0===c?0:c,d=a.request_body_size,p=a.response_body_size,f=lIe(s,r.networkDetailAllowUrls)&&!lIe(s,r.networkDetailDenyUrls),h=f?pIe(r,n.input,d):oIe(d),e.next=6,fIe(f,r,n.response,p);case 6:return b=e.sent,e.abrupt("return",{startTimestamp:o,endTimestamp:i,url:s,method:l,statusCode:u,request:h,response:b});case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function pIe(e,t,n){var r=e.networkCaptureBodies,o=function(e,t){if(1===e.length&&"string"!==typeof e[0])return vIe(e[0],t);if(2===e.length)return vIe(e[1],t);return{}}(t,e.networkRequestHeaders);return iIe(o,n,r?nIe(mIe(t)):void 0)}function fIe(e,t,n,r){return hIe.apply(this,arguments)}function hIe(){return(hIe=(0,Hs.Z)((0,Zs.Z)().mark((function e(t,n,r,o){var i,a,s,l,c,u,d;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=n.networkCaptureBodies,a=n.textEncoder,s=n.networkResponseHeaders,t||void 0===o){e.next=3;break}return e.abrupt("return",oIe(o));case 3:if(l=gIe(r.headers,s),i||void 0===o){e.next=6;break}return e.abrupt("return",iIe(l,o,void 0));case 6:return e.prev=6,c=r.clone(),e.next=10,bIe(c);case 10:if(u=e.sent,d=u&&u.length&&void 0===o?eIe(u,a):o,t){e.next=14;break}return e.abrupt("return",oIe(d));case 14:if(!i){e.next=16;break}return e.abrupt("return",iIe(l,d,u));case 16:return e.abrupt("return",iIe(l,d,void 0));case 19:return e.prev=19,e.t0=e.catch(6),e.abrupt("return",iIe(l,o,void 0));case 22:case"end":return e.stop()}}),e,null,[[6,19]])})))).apply(this,arguments)}function bIe(e){return AIe.apply(this,arguments)}function AIe(){return(AIe=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.text();case 3:return e.abrupt("return",e.sent);case 6:return e.prev=6,e.t0=e.catch(0),e.abrupt("return",void 0);case 9:case"end":return e.stop()}}),e,null,[[0,6]])})))).apply(this,arguments)}function mIe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(2===e.length&&"object"===typeof e[1])return e[1].body}function gIe(e,t){var n={};return t.forEach((function(t){e.get(t)&&(n[t]=e.get(t))})),n}function vIe(e,t){if(!e)return{};var n=e.headers;return n?n instanceof Headers?gIe(n,t):Array.isArray(n)?{}:aIe(n,t):{}}function yIe(){return yIe=(0,Hs.Z)((0,Zs.Z)().mark((function e(t,n,r){var o,i;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:try{o=MIe(t,n,r),i=rIe("resource.xhr",o),RPe(r.replay,i)}catch(a){("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.error("[Replay] Failed to capture fetch breadcrumb",a)}case 1:case"end":return e.stop()}}),e)}))),yIe.apply(this,arguments)}function MIe(e,t,r){var o=t.startTimestamp,i=t.endTimestamp,a=t.input,s=t.xhr,l=e.data,c=l.url,u=l.method,d=l.status_code,p=void 0===d?0:d,f=l.request_body_size,h=l.response_body_size;if(!c)return null;if(!lIe(c,r.networkDetailAllowUrls)||lIe(c,r.networkDetailDenyUrls))return{startTimestamp:o,endTimestamp:i,url:c,method:u,statusCode:p,request:oIe(f),response:oIe(h)};var b=s[kTe],A=b?aIe(b.request_headers,r.networkRequestHeaders):{},m=aIe(function(e){var t=e.getAllResponseHeaders();if(!t)return{};return t.split("\r\n").reduce((function(e,t){var r=t.split(": "),o=(0,n.Z)(r,2),i=o[0],a=o[1];return e[i.toLowerCase()]=a,e}),{})}(s),r.networkResponseHeaders);return{startTimestamp:o,endTimestamp:i,url:c,method:u,statusCode:p,request:iIe(A,f,r.networkCaptureBodies?nIe(a):void 0),response:iIe(m,h,r.networkCaptureBodies?t.xhr.responseText:void 0)}}function OIe(e){var t=uTe().getClient();try{var n=new TextEncoder,r=e.getOptions(),o={replay:e,textEncoder:n,networkDetailAllowUrls:r.networkDetailAllowUrls,networkDetailDenyUrls:r.networkDetailDenyUrls,networkCaptureBodies:r.networkCaptureBodies,networkRequestHeaders:r.networkRequestHeaders,networkResponseHeaders:r.networkResponseHeaders};t&&t.on?t.on("beforeAddBreadcrumb",(function(e,t){return function(e,t,n){if(!t.data)return;try{(function(e){return"xhr"===e.category})(t)&&function(e){return e&&e.xhr}(n)&&(function(e,t,n){var r=t.xhr,o=eIe(t.input,n.textEncoder),i=r.getResponseHeader("content-length")?tIe(r.getResponseHeader("content-length")):eIe(r.response,n.textEncoder);void 0!==o&&(e.data.request_body_size=o),void 0!==i&&(e.data.response_body_size=i)}(t,n,e),function(e,t,n){yIe.apply(this,arguments)}(t,n,e)),function(e){return"fetch"===e.category}(t)&&function(e){return e&&e.response}(n)&&(function(e,t,n){var r=t.input,o=t.response,i=eIe(mIe(r),n.textEncoder),a=o?tIe(o.headers.get("content-length")):void 0;void 0!==i&&(e.data.request_body_size=i),void 0!==a&&(e.data.response_body_size=a)}(t,n,e),function(e,t,n){cIe.apply(this,arguments)}(t,n,e))}catch(AE){("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.warn("Error when enriching network breadcrumb")}}(o,e,t)})):(jTe("fetch",function(e){return function(t){if(e.isEnabled()){var n=function(e){var t=e.startTimestamp,n=e.endTimestamp,r=e.fetchData,o=e.response;if(!n)return null;var i=r.method;return{type:"resource.fetch",start:t/1e3,end:n/1e3,name:r.url,data:{method:i,statusCode:o?o.status:void 0}}}(t);RPe(e,n)}}}(e)),jTe("xhr",qPe(e)))}catch(i){}}var _Ie=null;var zIe=function(e){return function(t){if(e.isEnabled()){var n=function(e){var t=e.getLastBreadcrumb&&e.getLastBreadcrumb();if(_Ie===t||!t)return null;if(_Ie=t,!function(e){return!!e.category}(t)||["fetch","xhr","sentry.event","sentry.transaction"].includes(t.category)||t.category.startsWith("ui."))return null;if("console"===t.category)return function(e){var t=e.data&&e.data.arguments;if(!Array.isArray(t)||0===t.length)return Yqe(e);var n=!1,r=t.map((function(e){if(!e)return e;if("string"===typeof e)return e.length>tRe?(n=!0,"".concat(e.slice(0,tRe),"\u2026")):e;if("object"===typeof e)try{var t=XTe(e,7),r=JSON.stringify(t);if(r.length>tRe){var o=JPe(r.slice(0,tRe)),i=JSON.parse(o);return n=!0,i}return t}catch(AE){}return e}));return Yqe(Us(Us({},e),{},{data:Us(Us({},e.data),{},{arguments:r},n?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{})}))}(t);return Yqe(t)}(t);n&&Iqe(e,n)}}};function xIe(e){return!(!e||!e.on)}function wIe(e){return CIe.apply(this,arguments)}function CIe(){return(CIe=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.abrupt("return",Promise.all(jPe(t,[SIe(XLe.performance.memory)])));case 4:return e.prev=4,e.t0=e.catch(0),e.abrupt("return",[]);case 7:case"end":return e.stop()}}),e,null,[[0,4]])})))).apply(this,arguments)}function SIe(e){var t=e.jsHeapSizeLimit,n=e.totalJSHeapSize,r=e.usedJSHeapSize,o=Date.now()/1e3;return{type:"memory",name:"memory",start:o,end:o,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}}}}var EIe={resource:function(e){var t=e.entryType,n=e.initiatorType,r=e.name,o=e.responseEnd,i=e.startTime,a=e.decodedBodySize,s=e.encodedBodySize,l=e.responseStatus,c=e.transferSize;if(["fetch","xmlhttprequest"].includes(n))return null;return{type:"".concat(t,".").concat(n),start:DIe(i),end:DIe(o),name:r,data:{size:c,statusCode:l,decodedBodySize:a,encodedBodySize:s}}},paint:function(e){var t=e.duration,n=e.entryType,r=e.name,o=DIe(e.startTime);return{type:n,name:r,start:o,end:o+t,data:void 0}},navigation:function(e){var t=e.entryType,n=e.name,r=e.decodedBodySize,o=e.duration,i=e.domComplete,a=e.encodedBodySize,s=e.domContentLoadedEventStart,l=e.domContentLoadedEventEnd,c=e.domInteractive,u=e.loadEventStart,d=e.loadEventEnd,p=e.redirectCount,f=e.startTime,h=e.transferSize,b=e.type;if(0===o)return null;return{type:"".concat(t,".").concat(b),start:DIe(f),end:DIe(i),name:n,data:{size:h,decodedBodySize:r,encodedBodySize:a,duration:o,domInteractive:c,domContentLoadedEventStart:s,domContentLoadedEventEnd:l,loadEventStart:u,loadEventEnd:d,domComplete:i,redirectCount:p}}},"largest-contentful-paint":function(e){var t=e.entryType,n=e.startTime,r=e.size,o=0;if(XLe.performance){var i=XLe.performance.getEntriesByType("navigation")[0];o=i&&i.activationStart||0}var a=Math.max(n-o,0),s=DIe(o)+a/1e3;return{type:t,name:t,start:s,end:s,data:{value:a,size:r,nodeId:qqe.mirror.getId(e.element)}}}};function kIe(e){return void 0===EIe[e.entryType]?null:EIe[e.entryType](e)}function DIe(e){return((eTe.Z1||XLe.performance.timeOrigin)+e)/1e3}function NIe(e){var t=!1;return function(n,r){if(e.checkAndHandleExpiredSession()){var o=r||!t;t=!0,e.addUpdate((function(){if("buffer"===e.recordingMode&&o&&e.setInitialState(),!xPe(e,n,o))return!0;if(!o)return!1;if(function(e,t){if(!t||!e.session||0!==e.session.segmentId)return;xPe(e,function(e){var t=e.getOptions();return{type:_Re.Custom,timestamp:Date.now(),data:{tag:"options",payload:{sessionSampleRate:t.sessionSampleRate,errorSampleRate:t.errorSampleRate,useCompressionOption:t.useCompression,blockAllMedia:t.blockAllMedia,maskAllText:t.maskAllText,maskAllInputs:t.maskAllInputs,useCompression:!!e.eventBuffer&&"worker"===e.eventBuffer.type,networkDetailHasUrls:t.networkDetailAllowUrls.length>0,networkCaptureBodies:t.networkCaptureBodies,networkRequestHasHeaders:t.networkRequestHeaders.length>0,networkResponseHasHeaders:t.networkResponseHeaders.length>0}}}}(e),!1)}(e,o),e.session&&e.session.previousSessionId)return!0;if("buffer"===e.recordingMode&&e.session&&e.eventBuffer){var t=e.eventBuffer.getEarliestTimestamp();t&&(aPe("[Replay] Updating session start time to earliest event in buffer to ".concat(new Date(t)),e.getOptions()._experiments.traceInternals),e.session.started=t,e.getOptions().stickySession&&gPe(e.session))}return"session"===e.recordingMode&&e.flush(),!0}))}else("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.warn("[Replay] Received replay event after session expired.")}}function TIe(e,t,n,r){return GTe(aje(e,ije(e),r,n),[[{type:"replay_event"},e],[{type:"replay_recording",length:"string"===typeof t?(new TextEncoder).encode(t).length:t.length},t]])}function jIe(e){var t,n=e.recordingData,r=e.headers,o="".concat(JSON.stringify(r),"\n");if("string"===typeof n)t="".concat(o).concat(n);else{var i=(new TextEncoder).encode(o);(t=new Uint8Array(i.length+n.length)).set(i),t.set(n,i.length)}return t}function BIe(e){return LIe.apply(this,arguments)}function LIe(){return LIe=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,r,o,i,a,s,l,c,u,d,p;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.client,r=t.scope,o=t.replayId,i=t.event,a="object"!==typeof n._integrations||null===n._integrations||Array.isArray(n._integrations)?void 0:Object.keys(n._integrations),s={event_id:o,integrations:a},n.emit&&n.emit("preprocessEvent",i,s),e.next=6,hje(n.getOptions(),i,s,r,n);case 6:if(l=e.sent){e.next=9;break}return e.abrupt("return",null);case 9:return l.platform=l.platform||"javascript",c=n.getSdkMetadata&&n.getSdkMetadata(),u=c&&c.sdk||{},d=u.name,p=u.version,l.sdk=Us(Us({},l.sdk),{},{name:d||"sentry.javascript.unknown",version:p||"0.0.0"}),e.abrupt("return",l);case 14:case"end":return e.stop()}}),e)}))),LIe.apply(this,arguments)}function RIe(e){return qIe.apply(this,arguments)}function qIe(){return qIe=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,r,o,i,a,s,l,c,u,d,p,f,h,b,A,m,g,v,y,M,O;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.recordingData,r=t.replayId,o=t.segmentId,i=t.eventContext,a=t.timestamp,s=t.session,l=jIe({recordingData:n,headers:{segment_id:o}}),c=i.urls,u=i.errorIds,d=i.traceIds,p=i.initialTimestamp,f=uTe(),h=f.getClient(),b=f.getScope(),A=h&&h.getTransport(),m=h&&h.getDsn(),h&&A&&m&&s.sampled){e.next=10;break}return e.abrupt("return");case 10:return g={type:YLe,replay_start_timestamp:p/1e3,timestamp:a/1e3,error_ids:u,trace_ids:d,urls:c,replay_id:r,segment_id:o,replay_type:s.sampled},e.next=13,BIe({scope:b,client:h,replayId:r,event:g});case 13:if(v=e.sent){e.next=18;break}return h.recordDroppedEvent("event_processor","replay",g),aPe("An event processor returned `null`, will not send event."),e.abrupt("return");case 18:return delete v.sdkProcessingMetadata,y=TIe(v,l,m,h.getOptions().tunnel),e.prev=20,e.next=23,A.send(y);case 23:M=e.sent,e.next=31;break;case 26:e.prev=26,e.t0=e.catch(20),O=new Error(GLe);try{O.cause=e.t0}catch(AE){}throw O;case 31:if(M){e.next=33;break}return e.abrupt("return",M);case 33:if("number"!==typeof M.statusCode||!(M.statusCode<200||M.statusCode>=300)){e.next=35;break}throw new PIe(M.statusCode);case 35:return e.abrupt("return",M);case 36:case"end":return e.stop()}}),e,null,[[20,26]])}))),qIe.apply(this,arguments)}var PIe=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(e){return(0,o.Z)(this,n),t.call(this,"Transport returned status code ".concat(e))}return(0,i.Z)(n)}((0,l.Z)(Error));function IIe(e){return WIe.apply(this,arguments)}function WIe(){return WIe=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){var n,r,o,i,a=arguments;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=a.length>1&&void 0!==a[1]?a[1]:{count:0,interval:KLe},r=t.recordingData,o=t.options,r.length){e.next=4;break}return e.abrupt("return");case 4:return e.prev=4,e.next=7,RIe(t);case 7:return e.abrupt("return",!0);case 10:if(e.prev=10,e.t0=e.catch(4),!(e.t0 instanceof PIe)){e.next=14;break}throw e.t0;case 14:if(kje("Replays",{_retryCount:n.count}),("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o._experiments&&o._experiments.captureExceptions&&Eje(e.t0),!(n.count>=JLe)){e.next=20;break}i=new Error("".concat(GLe," - max retries exceeded"));try{i.cause=e.t0}catch(AE){}throw i;case 20:return n.interval*=++n.count,e.abrupt("return",new Promise((function(e,r){setTimeout((0,Hs.Z)((0,Zs.Z)().mark((function o(){return(0,Zs.Z)().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.prev=0,o.next=3,IIe(t,n);case 3:e(!0),o.next=9;break;case 6:o.prev=6,o.t0=o.catch(0),r(o.t0);case 9:case"end":return o.stop()}}),o,null,[[0,6]])}))),n.interval)})));case 22:case"end":return e.stop()}}),e,null,[[4,10]])}))),WIe.apply(this,arguments)}var FIe="__THROTTLED";function UIe(e,t,n){var o=new Map,i=!1;return function(){var a=Math.floor(Date.now()/1e3);if(function(e){var t=e-n;o.forEach((function(e,n){n<t&&o.delete(n)}))}(a),(0,r.Z)(o.values()).reduce((function(e,t){return e+t}),0)>=t){var s=i;return i=!0,s?"__SKIPPED":FIe}i=!1;var l=o.get(a)||0;return o.set(a,l+1),e.apply(void 0,arguments)}}var ZIe=function(){function e(t){var n=this,r=t.options,i=t.recordingOptions;(0,o.Z)(this,e),e.prototype.__init.call(this),e.prototype.__init2.call(this),e.prototype.__init3.call(this),e.prototype.__init4.call(this),e.prototype.__init5.call(this),e.prototype.__init6.call(this),this.eventBuffer=null,this.performanceEvents=[],this.recordingMode="session",this.timeouts={sessionIdlePause:3e5,sessionIdleExpire:9e5},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._hasInitializedCoreListeners=!1,this._context={errorIds:new Set,traceIds:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:""},this._recordingOptions=i,this._options=r,this._debouncedFlush=function(e,t,n){var r,o,i,a=n&&n.maxWait?Math.max(n.maxWait,t):0;function s(){return l(),r=e()}function l(){void 0!==o&&clearTimeout(o),void 0!==i&&clearTimeout(i),o=i=void 0}function c(){return o&&clearTimeout(o),o=setTimeout(s,t),a&&void 0===i&&(i=setTimeout(s,a)),r}return c.cancel=l,c.flush=function(){return void 0!==o||void 0!==i?s():r},c}((function(){return n._flush()}),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=UIe((function(e,t){return function(e,t,n){return SPe(e,t)?wPe(e,t,n):Promise.resolve(null)}(n,e,t)}),300,5);var a=this.getOptions(),s=a.slowClickTimeout,l=a.slowClickIgnoreSelectors,c=s?{threshold:Math.min(3e3,s),timeout:s,scrollTimeout:300,ignoreSelector:l?l.join(","):""}:void 0;c&&(this.clickDetector=new Vqe(this,c))}return(0,i.Z)(e,[{key:"getContext",value:function(){return this._context}},{key:"isEnabled",value:function(){return this._isEnabled}},{key:"isPaused",value:function(){return this._isPaused}},{key:"getOptions",value:function(){return this._options}},{key:"initializeSampling",value:function(e){var t=this._options,n=t.errorSampleRate,r=t.sessionSampleRate;n<=0&&r<=0||(this._initializeSessionForSampling(e),this.session?!1!==this.session.sampled&&(this.recordingMode="buffer"===this.session.sampled&&0===this.session.segmentId?"buffer":"session",sPe("[Replay] Starting replay in ".concat(this.recordingMode," mode"),this._options._experiments.traceInternals),this._initializeRecording()):this._handleException(new Error("Unable to initialize and create session")))}},{key:"start",value:function(){if(this._isEnabled&&"session"===this.recordingMode)throw new Error("Replay recording is already in progress");if(this._isEnabled&&"buffer"===this.recordingMode)throw new Error("Replay buffering is in progress, call `flush()` to save the replay");sPe("[Replay] Starting replay in session mode",this._options._experiments.traceInternals);var e=zPe({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire,traceInternals:this._options._experiments.traceInternals},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=e,this._initializeRecording()}},{key:"startBuffering",value:function(){if(this._isEnabled)throw new Error("Replay recording is already in progress");sPe("[Replay] Starting replay in buffer mode",this._options._experiments.traceInternals);var e=zPe({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,traceInternals:this._options._experiments.traceInternals},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=e,this.recordingMode="buffer",this._initializeRecording()}},{key:"startRecording",value:function(){try{this._stopRecording=qqe(Us(Us(Us({},this._recordingOptions),"buffer"===this.recordingMode&&{checkoutEveryNms:6e4}),{},{emit:NIe(this),onMutation:this._onMutationHandler}))}catch(e){this._handleException(e)}}},{key:"stopRecording",value:function(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0),!0}catch(e){return this._handleException(e),!1}}},{key:"stop",value:function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t,n,r,o,i=arguments;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=(t=i.length>0&&void 0!==i[0]?i[0]:{}).forceFlush,r=void 0!==n&&n,o=t.reason,this._isEnabled){e.next=3;break}return e.abrupt("return");case 3:if(this._isEnabled=!1,e.prev=4,aPe("[Replay] Stopping Replay".concat(o?" triggered by ".concat(o):""),this._options._experiments.traceInternals),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),!r){e.next=12;break}return e.next=12,this._flush({force:!0});case 12:this.eventBuffer&&this.eventBuffer.destroy(),this.eventBuffer=null,APe(this),e.next=20;break;case 17:e.prev=17,e.t0=e.catch(4),this._handleException(e.t0);case 20:case"end":return e.stop()}}),e,this,[[4,17]])})));return function(){return e.apply(this,arguments)}}()},{key:"pause",value:function(){this._isPaused||(this._isPaused=!0,this.stopRecording(),aPe("[Replay] Pausing replay",this._options._experiments.traceInternals))}},{key:"resume",value:function(){this._isPaused&&this._checkSession()&&(this._isPaused=!1,this.startRecording(),aPe("[Replay] Resuming replay",this._options._experiments.traceInternals))}},{key:"sendBufferedReplayOrFlush",value:function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t,n,r,o,i=arguments;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=(i.length>0&&void 0!==i[0]?i[0]:{}).continueRecording,n=void 0===t||t,"session"!==this.recordingMode){e.next=3;break}return e.abrupt("return",this.flushImmediate());case 3:return r=Date.now(),aPe("[Replay] Converting buffer to session",this._options._experiments.traceInternals),e.next=7,this.flushImmediate();case 7:if(o=this.stopRecording(),n&&o){e.next=10;break}return e.abrupt("return");case 10:if("session"!==this.recordingMode){e.next=12;break}return e.abrupt("return");case 12:this.recordingMode="session",this.session&&(this._updateUserActivity(r),this._updateSessionActivity(r),this._maybeSaveSession()),this.startRecording();case 15:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"addUpdate",value:function(e){var t=e();"buffer"!==this.recordingMode&&!0!==t&&this._debouncedFlush()}},{key:"triggerUserActivity",value:function(){if(this._updateUserActivity(),this._stopRecording)this.checkAndHandleExpiredSession(),this._updateSessionActivity();else{if(!this._checkSession())return;this.resume()}}},{key:"updateUserActivity",value:function(){this._updateUserActivity(),this._updateSessionActivity()}},{key:"conditionalFlush",value:function(){return"buffer"===this.recordingMode?Promise.resolve():this.flushImmediate()}},{key:"flush",value:function(){return this._debouncedFlush()}},{key:"flushImmediate",value:function(){return this._debouncedFlush(),this._debouncedFlush.flush()}},{key:"cancelFlush",value:function(){this._debouncedFlush.cancel()}},{key:"getSessionId",value:function(){return this.session&&this.session.id}},{key:"checkAndHandleExpiredSession",value:function(){if(!(this._lastActivity&&MPe(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session&&"session"===this.session.sampled))return!!this._checkSession();this.pause()}},{key:"setInitialState",value:function(){var e="".concat(XLe.location.pathname).concat(XLe.location.hash).concat(XLe.location.search),t="".concat(XLe.location.origin).concat(e);this.performanceEvents=[],this._clearContext(),this._context.initialUrl=t,this._context.initialTimestamp=Date.now(),this._context.urls.push(t)}},{key:"throttledAddEvent",value:function(e,t){var n=this,r=this._throttledAddEvent(e,t);if(r===FIe){var o=Yqe({category:"replay.throttled"});this.addUpdate((function(){return!xPe(n,{type:5,timestamp:o.timestamp||0,data:{tag:"breadcrumb",payload:o,metric:!0}})}))}return r}},{key:"getCurrentRoute",value:function(){var e=this.lastTransaction||uTe().getScope().getTransaction();if(e&&["route","custom"].includes(e.metadata.source))return e.name}},{key:"_initializeRecording",value:function(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=hPe({useCompression:this._options.useCompression}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.startRecording()}},{key:"_handleException",value:function(e){("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.error("[Replay]",e),("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&this._options._experiments&&this._options._experiments.captureExceptions&&Eje(e)}},{key:"_initializeSessionForSampling",value:function(e){var t=this._options.errorSampleRate>0,n=zPe({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,traceInternals:this._options._experiments.traceInternals,previousSessionId:e},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:t});this.session=n}},{key:"_checkSession",value:function(){if(!this.session)return!1;var e=this.session;return!_Pe(e,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})||(this._refreshSession(e),!1)}},{key:"_refreshSession",value:function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(t){return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this._isEnabled){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,this.stop({reason:"refresh session"});case 4:this.initializeSampling(t.id);case 5:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"_addListeners",value:function(){try{XLe.document.addEventListener("visibilitychange",this._handleVisibilityChange),XLe.addEventListener("blur",this._handleWindowBlur),XLe.addEventListener("focus",this._handleWindowFocus),XLe.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(!function(e){var t=uTe().getScope(),n=uTe().getClient();t.addScopeListener(zIe(e)),jTe("dom",Jqe(e)),jTe("history",BPe(e)),OIe(e);var r=TPe(e,!xIe(n));n&&n.addEventProcessor?n.addEventProcessor(r):KNe(r),xIe(n)&&(n.on("afterSendEvent",NPe(e)),n.on("createDsc",(function(t){var n=e.getSessionId();n&&e.isEnabled()&&"session"===e.recordingMode&&(t.replay_id=n)})),n.on("startTransaction",(function(t){e.lastTransaction=t})),n.on("finishTransaction",(function(t){e.lastTransaction=t})))}(this),this._hasInitializedCoreListeners=!0)}catch(e){this._handleException(e)}"PerformanceObserver"in XLe&&(this._performanceObserver=oPe(this))}},{key:"_removeListeners",value:function(){try{XLe.document.removeEventListener("visibilitychange",this._handleVisibilityChange),XLe.removeEventListener("blur",this._handleWindowBlur),XLe.removeEventListener("focus",this._handleWindowFocus),XLe.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceObserver&&(this._performanceObserver.disconnect(),this._performanceObserver=void 0)}catch(e){this._handleException(e)}}},{key:"__init",value:function(){var e=this;this._handleVisibilityChange=function(){"visible"===XLe.document.visibilityState?e._doChangeToForegroundTasks():e._doChangeToBackgroundTasks()}}},{key:"__init2",value:function(){var e=this;this._handleWindowBlur=function(){var t=Yqe({category:"ui.blur"});e._doChangeToBackgroundTasks(t)}}},{key:"__init3",value:function(){var e=this;this._handleWindowFocus=function(){var t=Yqe({category:"ui.focus"});e._doChangeToForegroundTasks(t)}}},{key:"__init4",value:function(){var e=this;this._handleKeyboardEvent=function(t){tPe(e,t)}}},{key:"_doChangeToBackgroundTasks",value:function(e){this.session&&(OPe(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})||(e&&this._createCustomBreadcrumb(e),this.conditionalFlush()))}},{key:"_doChangeToForegroundTasks",value:function(e){this.session&&(this.checkAndHandleExpiredSession()?e&&this._createCustomBreadcrumb(e):aPe("[Replay] Document has become active, but session has expired"))}},{key:"_triggerFullSnapshot",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];try{aPe("[Replay] Taking full rrweb snapshot"),qqe.takeFullSnapshot(e)}catch(t){this._handleException(t)}}},{key:"_updateUserActivity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Date.now();this._lastActivity=e}},{key:"_updateSessionActivity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Date.now();this.session&&(this.session.lastActivity=e,this._maybeSaveSession())}},{key:"_createCustomBreadcrumb",value:function(e){var t=this;this.addUpdate((function(){t.throttledAddEvent({type:_Re.Custom,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e}})}))}},{key:"_addPerformanceEntries",value:function(){var e=(0,r.Z)(this.performanceEvents);return this.performanceEvents=[],Promise.all(jPe(this,function(e){return e.map(kIe).filter(Boolean)}(e)))}},{key:"_clearContext",value:function(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}},{key:"_updateInitialTimestampFromEventBuffer",value:function(){var e=this.session,t=this.eventBuffer;if(e&&t&&!e.segmentId){var n=t.getEarliestTimestamp();n&&n<this._context.initialTimestamp&&(this._context.initialTimestamp=n)}}},{key:"_popEventContext",value:function(){var e={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds),traceIds:Array.from(this._context.traceIds),urls:this._context.urls};return this._clearContext(),e}},{key:"_runFlush",value:function(){var e=(0,Hs.Z)((0,Zs.Z)().mark((function e(){var t,n,r,o,i,a;return(0,Zs.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.getSessionId(),this.session&&this.eventBuffer&&t){e.next=4;break}return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.error("[Replay] No session or eventBuffer found to flush."),e.abrupt("return");case 4:return e.next=6,this._addPerformanceEntries();case 6:if(this.eventBuffer&&this.eventBuffer.hasEvents){e.next=8;break}return e.abrupt("return");case 8:return e.next=10,wIe(this);case 10:if(this.eventBuffer){e.next=12;break}return e.abrupt("return");case 12:if(t===this.getSessionId()){e.next=14;break}return e.abrupt("return");case 14:if(e.prev=14,this._updateInitialTimestampFromEventBuffer(),!((n=Date.now())-this._context.initialTimestamp>this._options.maxReplayDuration+3e4)){e.next=19;break}throw new Error("Session is too long, not sending replay");case 19:return r=this._popEventContext(),o=this.session.segmentId++,this._maybeSaveSession(),e.next=24,this.eventBuffer.finish();case 24:return i=e.sent,e.next=27,IIe({replayId:t,recordingData:i,segmentId:o,eventContext:r,session:this.session,options:this.getOptions(),timestamp:n});case 27:e.next=35;break;case 29:e.prev=29,e.t0=e.catch(14),this._handleException(e.t0),this.stop({reason:"sendReplay"}),(a=uTe().getClient())&&a.recordDroppedEvent("send_error","replay");case 35:case"end":return e.stop()}}),e,this,[[14,29]])})));return function(){return e.apply(this,arguments)}}()},{key:"__init5",value:function(){var e=this;this._flush=(0,Hs.Z)((0,Zs.Z)().mark((function t(){var n,r,o,i,a,s,l,c,u=arguments;return(0,Zs.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=(u.length>0&&void 0!==u[0]?u[0]:{}).force,r=void 0!==n&&n,e._isEnabled||r){t.next=3;break}return t.abrupt("return");case 3:if(e.checkAndHandleExpiredSession()){t.next=6;break}return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.error("[Replay] Attempting to finish replay event after session expired."),t.abrupt("return");case 6:if(e.session){t.next=9;break}return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.error("[Replay] No session found to flush."),t.abrupt("return");case 9:if(o=e.session.started,i=Date.now(),a=i-o,e._debouncedFlush.cancel(),s=a<e._options.minReplayDuration,l=a>e._options.maxReplayDuration+5e3,!s&&!l){t.next=19;break}return aPe("[Replay] Session duration (".concat(Math.floor(a/1e3),"s) is too ").concat(s?"short":"long",", not sending replay."),e._options._experiments.traceInternals),s&&e._debouncedFlush(),t.abrupt("return");case 19:if((c=e.eventBuffer)&&0===e.session.segmentId&&!c.hasCheckout&&aPe("[Replay] Flushing initial segment without checkout.",e._options._experiments.traceInternals),e._flushLock){t.next=27;break}return e._flushLock=e._runFlush(),t.next=25,e._flushLock;case 25:return e._flushLock=void 0,t.abrupt("return");case 27:return t.prev=27,t.next=30,e._flushLock;case 30:t.next=35;break;case 32:t.prev=32,t.t0=t.catch(27),("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&rNe.error(t.t0);case 35:return t.prev=35,e._debouncedFlush(),t.finish(35);case 38:case"end":return t.stop()}}),t,null,[[27,32,35,38]])})))}},{key:"_maybeSaveSession",value:function(){this.session&&this._options.stickySession&&gPe(this.session)}},{key:"__init6",value:function(){var e=this;this._onMutationHandler=function(t){var n=t.length,r=e._options.mutationLimit,o=r&&n>r;if(n>e._options.mutationBreadcrumbLimit||o){var i=Yqe({category:"replay.mutations",data:{count:n,limit:o}});e._createCustomBreadcrumb(i)}return!o||(e.stop({reason:"mutationLimit",forceFlush:"session"===e.recordingMode}),!1)}}}]),e}();function HIe(e,t,n,o){var i="string"===typeof o?o.split(","):[],a=[].concat((0,r.Z)(e),(0,r.Z)(i),(0,r.Z)(t));return"undefined"!==typeof n&&("string"===typeof n&&a.push(".".concat(n)),console.warn("[Replay] You are using a deprecated configuration item for privacy. Read the documentation on how to use the new privacy configuration.")),a.join(",")}function $Ie(){return"undefined"!==typeof window&&(!(0,VLe.KV)()||"undefined"!==typeof process&&"renderer"===process.type)}var VIe,XIe='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',QIe=["content-length","content-type","accept"],YIe=!1,GIe=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.flushMinDelay,r=void 0===n?5e3:n,i=t.flushMaxDelay,a=void 0===i?5500:i,s=t.minReplayDuration,l=void 0===s?4999:s,c=t.maxReplayDuration,u=void 0===c?rRe:c,d=t.stickySession,p=void 0===d||d,f=t.useCompression,h=void 0===f||f,b=t._experiments,A=void 0===b?{}:b,m=t.sessionSampleRate,g=t.errorSampleRate,v=t.maskAllText,y=void 0===v||v,M=t.maskAllInputs,O=void 0===M||M,_=t.blockAllMedia,z=void 0===_||_,x=t.mutationBreadcrumbLimit,w=void 0===x?750:x,C=t.mutationLimit,S=void 0===C?1e4:C,E=t.slowClickTimeout,k=void 0===E?7e3:E,D=t.slowClickIgnoreSelectors,N=void 0===D?[]:D,T=t.networkDetailAllowUrls,j=void 0===T?[]:T,B=t.networkDetailDenyUrls,L=void 0===B?[]:B,R=t.networkCaptureBodies,q=void 0===R||R,P=t.networkRequestHeaders,I=void 0===P?[]:P,W=t.networkResponseHeaders,F=void 0===W?[]:W,U=t.mask,Z=void 0===U?[]:U,H=t.unmask,$=void 0===H?[]:H,V=t.block,X=void 0===V?[]:V,Q=t.unblock,Y=void 0===Q?[]:Q,G=t.ignore,K=void 0===G?[]:G,J=t.maskFn,ee=t.beforeAddRecordingEvent,te=t.blockClass,ne=t.blockSelector,re=t.maskInputOptions,oe=t.maskTextClass,ie=t.maskTextSelector,ae=t.ignoreClass;if((0,o.Z)(this,e),this.name=e.id,this._recordingOptions=Us(Us({maskAllInputs:O,maskAllText:y,maskInputOptions:Us(Us({},re||{}),{},{password:!0}),maskTextFn:J,maskInputFn:J},function(e){var t=e.mask,n=e.unmask,r=e.block,o=e.unblock,i=e.ignore,a=e.blockClass,s=e.blockSelector,l=e.maskTextClass,c=e.maskTextSelector,u=e.ignoreClass,d=HIe(t,[".sentry-mask","[data-sentry-mask]"],l,c),p=HIe(n,[".sentry-unmask","[data-sentry-unmask]"]),f={maskTextSelector:d,unmaskTextSelector:p,maskInputSelector:d,unmaskInputSelector:p,blockSelector:HIe(r,[".sentry-block","[data-sentry-block]"].concat(['base[href="/"]']),a,s),unblockSelector:HIe(o,[".sentry-unblock","[data-sentry-unblock]"]),ignoreSelector:HIe(i,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'],u)};return a instanceof RegExp&&(f.blockClass=a),l instanceof RegExp&&(f.maskTextClass=l),f}({mask:Z,unmask:$,block:X,unblock:Y,ignore:K,blockClass:te,blockSelector:ne,maskTextClass:oe,maskTextSelector:ie,ignoreClass:ae})),{},{slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0}),this._initialOptions={flushMinDelay:r,flushMaxDelay:a,minReplayDuration:Math.min(l,15e3),maxReplayDuration:Math.min(u,rRe),stickySession:p,sessionSampleRate:m,errorSampleRate:g,useCompression:h,blockAllMedia:z,maskAllInputs:O,maskAllText:y,mutationBreadcrumbLimit:w,mutationLimit:S,slowClickTimeout:k,slowClickIgnoreSelectors:N,networkDetailAllowUrls:j,networkDetailDenyUrls:L,networkCaptureBodies:q,networkRequestHeaders:KIe(I),networkResponseHeaders:KIe(F),beforeAddRecordingEvent:ee,_experiments:A},"number"===typeof m&&(console.warn("[Replay] You are passing `sessionSampleRate` to the Replay integration.\nThis option is deprecated and will be removed soon.\nInstead, configure `replaysSessionSampleRate` directly in the SDK init options, e.g.:\nSentry.init({ replaysSessionSampleRate: ".concat(m," })")),this._initialOptions.sessionSampleRate=m),"number"===typeof g&&(console.warn("[Replay] You are passing `errorSampleRate` to the Replay integration.\nThis option is deprecated and will be removed soon.\nInstead, configure `replaysOnErrorSampleRate` directly in the SDK init options, e.g.:\nSentry.init({ replaysOnErrorSampleRate: ".concat(g," })")),this._initialOptions.errorSampleRate=g),this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?"".concat(this._recordingOptions.blockSelector,",").concat(XIe):XIe),this._isInitialized&&$Ie())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}return(0,i.Z)(e,[{key:"_isInitialized",get:function(){return YIe},set:function(e){YIe=e}},{key:"setupOnce",value:function(){var e=this;$Ie()&&(this._setup(),setTimeout((function(){return e._initialize()})))}},{key:"start",value:function(){this._replay&&this._replay.start()}},{key:"startBuffering",value:function(){this._replay&&this._replay.startBuffering()}},{key:"stop",value:function(){return this._replay?this._replay.stop({forceFlush:"session"===this._replay.recordingMode}):Promise.resolve()}},{key:"flush",value:function(e){return this._replay&&this._replay.isEnabled()?this._replay.sendBufferedReplayOrFlush(e):Promise.resolve()}},{key:"getReplayId",value:function(){if(this._replay&&this._replay.isEnabled())return this._replay.getSessionId()}},{key:"_initialize",value:function(){this._replay&&this._replay.initializeSampling()}},{key:"_setup",value:function(){var e=function(e){var t=uTe().getClient(),n=t&&t.getOptions(),r=Us({sessionSampleRate:0,errorSampleRate:0},NNe(e));if(!n)return console.warn("SDK client is not available."),r;null==e.sessionSampleRate&&null==e.errorSampleRate&&null==n.replaysSessionSampleRate&&null==n.replaysOnErrorSampleRate&&console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.");"number"===typeof n.replaysSessionSampleRate&&(r.sessionSampleRate=n.replaysSessionSampleRate);"number"===typeof n.replaysOnErrorSampleRate&&(r.errorSampleRate=n.replaysOnErrorSampleRate);return r}(this._initialOptions);this._replay=new ZIe({options:e,recordingOptions:this._recordingOptions})}}],[{key:"__initStatic",value:function(){this.id="Replay"}}]),e}();function KIe(e){return[].concat(QIe,(0,r.Z)(e.map((function(e){return e.toLowerCase()}))))}GIe.__initStatic(),(VIe={dsn:"https://30dd588289461b33732656ba45f7464d@o4505878479568896.ingest.sentry.io/4505959636205568",integrations:[new ZLe({tracePropagationTargets:["localhost",/^https:\/\/api\.aesthetidocs\.com/]}),new GIe],tracesSampleRate:.2,replaysSessionSampleRate:.1,replaysOnErrorSampleRate:1})._metadata=VIe._metadata||{},VIe._metadata.sdk=VIe._metadata.sdk||{name:"sentry.javascript.react",packages:[{name:"npm:@sentry/react",version:KDe}],version:KDe},PBe(VIe),window.version="5fdfcccf20bfda563f5e09c678f489cbd56e4fca",window.api_url="https://api.aesthetidocs.com",(0,GDe.s)(document.getElementById("root")).render((0,Kl.jsx)(QDe,{})),YDe()}()})();