1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="30292980-a891-4fc6-923c-91d5f5bb3e3a",e._sentryDebugIdIdentifier="sentry-dbid-30292980-a891-4fc6-923c-91d5f5bb3e3a")}catch(e){}}(),(this.webpackChunkweb=this.webpackChunkweb||[]).push([[5419],{44564:function(e,t,n){var r;e.exports=(r=n(36938),function(){var e={378:function(e){"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,i,o;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!=i--;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;0!=i--;){var a=o[i];if(!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n}},145:function(e,t,n){"use strict";n.r(t),t.default='@keyframes spin{to{transform:rotate(360deg)}}.tf-v1-popover{bottom:96px;position:fixed;right:16px;z-index:10001}.tf-v1-popover.open{max-width:100%;min-height:360px;min-width:360px}.tf-v1-popover-wrapper{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;opacity:0;transition:opacity .25s ease-in-out;border-radius:4px;box-shadow:rgba(0,0,0,.08) 0 2px 4px,rgba(0,0,0,.06) 0 2px 12px}.tf-v1-popover-wrapper iframe{width:100%;height:100%;border:none;overflow:hidden;border-radius:8px}.tf-v1-popover-close{display:none}.tf-v1-popover-button{width:54px;height:54px;position:fixed;box-shadow:0 2px 12px rgba(0,0,0,.06),0 2px 4px rgba(0,0,0,.08);color:#fff;right:26px;bottom:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;background:#3a7685;line-height:0;border:none;padding:0}.tf-v1-popover-button-icon{width:54px;height:54px;font-size:24px;border-radius:50%;overflow:hidden;display:flex;justify-content:center;align-items:center}.tf-v1-popover-button-icon svg.default{margin-top:6px}.tf-v1-popover-button-icon svg,.tf-v1-popover-button-icon img{max-width:54px;max-height:54px}.tf-v1-popover-button-icon img{width:100%;height:100%;object-fit:cover;border-radius:50%}.tf-v1-popover-tooltip{position:fixed;right:94px;bottom:33px;max-width:240px;padding:10px 25px 10px 10px;border-radius:8px;background:#fff;box-shadow:0 2px 4px rgba(0,0,0,.08),0 2px 12px rgba(0,0,0,.06);font-size:14px;font-family:Helvetica,Arial,sans-serif;line-height:22px}.tf-v1-popover-tooltip::before{background-color:#fff;content:"";display:block;width:12px;height:12px;position:absolute;right:-4px;bottom:15px;transform:rotate(45deg);box-shadow:2px -2px 2px 0 rgba(0,0,0,.06)}.tf-v1-popover-tooltip-text{overflow:hidden}.tf-v1-popover-tooltip-close{color:rgba(0,0,0,.2);cursor:pointer;margin-left:4px;display:inline-block;width:20px;height:20px;font-size:18px;text-align:center;position:absolute;top:8px;right:6px}.tf-v1-popover-tooltip-close:hover{color:rgba(0,0,0,.3)}.tf-v1-popover-tooltip.closing{transition:opacity .25s ease-in-out;opacity:0}.tf-v1-popover-unread-dot{width:8px;height:8px;border-radius:50%;background-color:#fa6b05;border:2px solid #fff;position:absolute;top:2px;right:2px}.tf-v1-popover-unread-dot.closing{transition:opacity .25s ease-in-out;opacity:0}.tf-v1-spinner{border:3px solid #aaa;font-size:40px;width:1em;height:1em;border-radius:.5em;box-sizing:border-box;animation:spin 1s linear infinite;border-top-color:#fff;position:absolute;top:50%;left:50%;margin:-20px 0 0 -20px}@media(max-width: 480px){.tf-v1-popover.open{top:0;left:0;bottom:0;right:0;width:100% !important;height:100% !important}.tf-v1-popover.open .tf-v1-popover-close{display:block}.tf-v1-popover-wrapper{border-radius:0;box-shadow:none}.tf-v1-popover-wrapper iframe{border-radius:0}.tf-v1-popover-close{display:block;padding:0;margin:0;position:absolute;font-size:32px;font-weight:normal;line-height:24px;width:24px;height:24px;text-align:center;text-transform:none;cursor:pointer;opacity:.75;transition:opacity .25s ease-in-out;text-decoration:none;color:#000;top:6px;right:8px;background:none;border:none;border-radius:0;display:none;z-index:1}.tf-v1-popover-close:hover{opacity:1}}@media(max-width: 480px)and (min-width: 481px){.tf-v1-popover-close{color:#fff !important}}@media(max-width: 480px){.tf-v1-popover-button{width:44px;height:44px;right:8px;bottom:8px}.tf-v1-popover-button-icon{font-size:20px}.tf-v1-popover-button-icon svg{margin-top:4px;max-height:24px;max-width:24px}.tf-v1-popover-button-icon img{max-width:44px;max-height:44px}.tf-v1-popover-tooltip{position:fixed;right:66px;bottom:8px;left:auto;font-size:12px}.tf-v1-popover-tooltip::before{bottom:14px}.tf-v1-popover-unread-dot{top:0;right:0}.tf-v1-spinner{border:3px solid #aaa;font-size:32px;width:1em;height:1em;border-radius:.5em;box-sizing:border-box;animation:spin 1s linear infinite;border-top-color:#fff;position:absolute;top:50%;left:50%;margin:-16px 0 0 -16px}}'},792:function(e,t,n){"use strict";n.r(t),t.default="@keyframes spin{to{transform:rotate(360deg)}}.tf-v1-popup{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.75);transition:opacity .25s ease-in-out;z-index:10001;display:flex;align-items:center;justify-content:center}.tf-v1-popup .tf-v1-iframe-wrapper{position:relative;transition:opacity .25s ease-in-out;min-width:360px;min-height:360px}.tf-v1-popup .tf-v1-iframe-wrapper iframe{width:100%;height:100%;border:none;overflow:hidden;border-radius:8px}.tf-v1-popup .tf-v1-close{display:block;padding:0;margin:0;position:absolute;font-size:32px;font-weight:normal;line-height:24px;width:24px;height:24px;text-align:center;text-transform:none;cursor:pointer;opacity:.75;transition:opacity .25s ease-in-out;text-decoration:none;color:#000;top:-34px;right:0;background:none;border:none;border-radius:0}.tf-v1-popup .tf-v1-close:hover{opacity:1}@media(min-width: 481px){.tf-v1-popup .tf-v1-close{color:#fff !important}}.tf-v1-popup .tf-v1-spinner{border:3px solid #aaa;font-size:40px;width:1em;height:1em;border-radius:.5em;box-sizing:border-box;animation:spin 1s linear infinite;border-top-color:#fff;position:absolute;top:50%;left:50%;margin:-20px 0 0 -20px}@media(max-width: 480px){.tf-v1-popup{width:100% !important;height:100% !important}.tf-v1-popup .tf-v1-iframe-wrapper{position:relative;transition:opacity .25s ease-in-out;min-width:100%;min-height:100%}.tf-v1-popup .tf-v1-iframe-wrapper iframe{border-radius:0}.tf-v1-popup .tf-v1-close{display:block;padding:0;margin:0;position:absolute;font-size:32px;font-weight:normal;line-height:24px;width:24px;height:24px;text-align:center;text-transform:none;cursor:pointer;opacity:.75;transition:opacity .25s ease-in-out;text-decoration:none;color:#000;top:6px;right:8px;background:none;border:none;border-radius:0}.tf-v1-popup .tf-v1-close:hover{opacity:1}}@media(max-width: 480px)and (min-width: 481px){.tf-v1-popup .tf-v1-close{color:#fff !important}}"},838:function(e,t,n){"use strict";n.r(t),t.default="@keyframes spin{to{transform:rotate(360deg)}}.tf-v1-sidetab{position:fixed;top:50%;right:0;width:400px;height:580px;transform:translate(100%, -50%);box-shadow:0 2px 4px rgba(0,0,0,.08),0 2px 12px rgba(0,0,0,.06);z-index:10001;will-change:transform}.tf-v1-sidetab.ready{transition:transform 400ms cubic-bezier(0.5, 0, 0.75, 0)}.tf-v1-sidetab iframe{width:100%;height:100%;border:none;overflow:hidden;border-radius:8px 0 0 8px}
1.tf-v1-sidetab.open{transform:translate(0, -50%)}.tf-v1-sidetab-wrapper{position:relative;height:100%}.tf-v1-sidetab-button{position:absolute;top:50%;left:-48px;transform:rotate(-90deg) translateX(-50%);transform-origin:left top;min-width:100px;max-width:540px;height:48px;display:flex;align-items:center;padding:12px 16px;border-radius:8px 8px 0 0;color:#fff;box-shadow:0 2px 4px rgba(0,0,0,.08),0 2px 12px rgba(0,0,0,.06);background-color:#3a7685;cursor:pointer;border:0;text-decoration:none;outline:none}.tf-v1-sidetab-button-text{flex:1;font-size:18px;font-family:Helvetica,Arial,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tf-v1-sidetab-button-icon{width:24px;height:24px;font-size:24px;transform:rotate(90deg);margin-right:12px;position:relative;order:-1}.tf-v1-sidetab-button-icon>img{width:100%;height:100%;object-fit:contain}.tf-v1-sidetab-close{display:none}.tf-v1-sidetab .tf-v1-spinner{border:3px solid #aaa;font-size:24px;width:1em;height:1em;border-radius:.5em;box-sizing:border-box;animation:spin 1s linear infinite;border-top-color:#fff;position:absolute;top:50%;left:50%;margin:-12px 0 0 -12px;top:0;left:0;margin:0}@media(max-width: 480px){.tf-v1-sidetab{transition:unset}.tf-v1-sidetab.ready{transition:unset}.tf-v1-sidetab.open{top:0;left:0;right:0;bottom:0;transform:translate(0, 0);width:100% !important;height:100% !important}.tf-v1-sidetab-close{display:block;padding:0;margin:0;position:absolute;font-size:32px;font-weight:normal;line-height:24px;width:24px;height:24px;text-align:center;text-transform:none;cursor:pointer;opacity:.75;transition:opacity .25s ease-in-out;text-decoration:none;color:#000;top:6px;right:8px;background:none;border:none;border-radius:0;display:block;z-index:1}.tf-v1-sidetab-close:hover{opacity:1}}@media(max-width: 480px)and (min-width: 481px){.tf-v1-sidetab-close{color:#fff !important}}"},630:function(e,t,n){"use strict";n.r(t),t.default="@keyframes spin{to{transform:rotate(360deg)}}.tf-v1-slider{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.75);transition:opacity .25s ease-in-out;z-index:10001}.tf-v1-slider .tf-v1-iframe-wrapper{max-width:calc(100vw - 26px);height:100%;position:absolute;top:0;transition:right .5s ease-in-out,left .5s ease-in-out}.tf-v1-slider .tf-v1-iframe-wrapper iframe{width:100%;height:100%;border:none;overflow:hidden;border-radius:0}@media(min-width: 481px){.tf-v1-slider .tf-v1-iframe-wrapper iframe{border-radius:8px 0 0 8px}}.tf-v1-slider .tf-v1-close{display:block;padding:0;margin:0;position:absolute;font-size:32px;font-weight:normal;line-height:24px;width:24px;height:24px;text-align:center;text-transform:none;cursor:pointer;opacity:.75;transition:opacity .25s ease-in-out;text-decoration:none;color:#000;top:6px;right:8px;background:none;border:none;border-radius:0}.tf-v1-slider .tf-v1-close:hover{opacity:1}@media(min-width: 481px){.tf-v1-slider .tf-v1-close{color:#fff !important}}@media(min-width: 481px){.tf-v1-slider .tf-v1-close{top:4px;left:-26px}}.tf-v1-slider .tf-v1-close:hover{opacity:1}.tf-v1-slider .tf-v1-spinner{border:3px solid #aaa;font-size:40px;width:1em;height:1em;border-radius:.5em;box-sizing:border-box;animation:spin 1s linear infinite;border-top-color:#fff;position:absolute;top:50%;left:50%;margin:-20px 0 0 -20px}@media(min-width: 481px){.tf-v1-slider.left .tf-v1-iframe-wrapper iframe{border-radius:0 8px 8px 0}.tf-v1-slider.left .tf-v1-close{left:auto;right:-24px}}@media(max-width: 480px){.tf-v1-slider{width:100% !important;height:100% !important}.tf-v1-slider .tf-v1-iframe-wrapper{width:100% !important;max-width:100vw;height:100%;transition:unset}.tf-v1-slider .tf-v1-iframe-wrapper iframe{border-radius:none}.tf-v1-slider .tf-v1-close{display:block;padding:0;margin:0;position:absolute;font-size:32px;font-weight:normal;line-height:24px;width:24px;height:24px;text-align:center;text-transform:none;cursor:pointer;opacity:.75;transition:opacity .25s ease-in-out;text-decoration:none;color:#000;top:6px;right:8px;background:none;border:none;border-radius:0;left:auto}.tf-v1-slider .tf-v1-close:hover{opacity:1}}@media(max-width: 480px)and (min-width: 481px){.tf-v1-slider .tf-v1-close{color:#fff !important}}"},684:function(e,t,n){"use strict";n.r(t),t.default=".tf-v1-widget{width:100%;height:100%;min-height:inherit;position:relative}.tf-v1-widget iframe{width:100%;height:100%;border:none;overflow:hidden;border-radius:8px;min-height:inherit}.tf-v1-widget-close{display:none}.tf-v1-widget-iframe-overlay{width:100%;height:100%;border:none;overflow:hidden;border-radius:8px;position:absolute;top:0;left:0}.tf-v1-widget-fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10001;width:100% !important;height:100% !important}.tf-v1-widget-fullscreen .tf-v1-widget-close{display:block;display:block;padding:0;margin:0;position:absolute;font-size:32px;font-weight:normal;line-height:24px;width:24px;height:24px;text-align:center;text-transform:none;cursor:pointer;opacity:.75;transition:opacity .25s ease-in-out;text-decoration:none;color:#000;top:6px;right:8px;background:none;border:none;border-radius:0;z-index:1}
1.tf-v1-widget-fullscreen .tf-v1-widget-close:hover{opacity:1}@media(min-width: 481px){.tf-v1-widget-fullscreen .tf-v1-widget-close{color:#fff !important}}.tf-v1-widget-fullscreen iframe{border-radius:0}"},281:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(11),t),i(n(739),t),i(n(860),t)},794:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.InlineStyle=void 0;var o=i(n(156)),a=i(n(52));t.InlineStyle=function(e){var t=e.filename,i=n(367)("./".concat(t,".css")),u=(0,a.default)();return o.default.createElement("style",r({},u?{nonce:u}:{},{dangerouslySetInnerHTML:{__html:i.default}}))}},11:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(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)&&i(t,e,n);return o(t,e),t},u=this&&this.__rest||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 i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.makeButtonComponent=void 0;var s=a(n(156)),c=n(797),l=n(794);t.makeButtonComponent=function(e,t){return function(n){var i=n.id,o=n.children,a=n.as,f=void 0===a?"button":a,d=n.style,p=void 0===d?{}:d,h=n.className,v=void 0===h?"":h,m=n.buttonProps,g=n.embedRef,y=u(n,["id","children","as","style","className","buttonProps","embedRef"]),b=(0,s.useRef)(c.genericEmbed),w=g||b;(0,s.useEffect)((function(){return w.current=e(i,y),function(){var e;return null===(e=w.current)||void 0===e?void 0:e.unmount()}}),[i,y,w]);var D=(0,s.useMemo)((function(){return function(){var e;return null===(e=w.current)||void 0===e?void 0:e.open()}}),[w]),_=s.default.createElement(f,r({style:p,className:v,onClick:D,"data-testid":"tf-v1-".concat(t),children:o},m));return s.default.createElement(s.default.Fragment,null,s.default.createElement(l.InlineStyle,{filename:t}),_)}}},739:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}
1),o=this&&this.__importStar||function(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)&&r(t,e,n);return i(t,e),t},a=this&&this.__rest||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 i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.makeInitializerComponent=void 0;var u=o(n(156)),s=n(797),c=n(794);t.makeInitializerComponent=function(e,t){return function(n){var r=n.id,i=n.embedRef,o=a(n,["id","embedRef"]),l=(0,u.useRef)(s.genericEmbed),f=i||l;return(0,u.useEffect)((function(){return f.current=e(r,o),function(){var e;null===(e=f.current)||void 0===e||e.unmount()}}),[r,o,f]),u.default.createElement(c.InlineStyle,{filename:t})}}},860:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(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)&&i(t,e,n);return o(t,e),t},u=this&&this.__rest||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 i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.Widget=void 0;var s=a(n(156)),c=n(611),l=n(794);t.Widget=function(e){var t=e.id,n=e.style,i=void 0===n?{}:n,o=e.className,a=void 0===o?"":o,f=u(e,["id","style","className"]),d=(0,s.useRef)(null);return(0,s.useEffect)((function(){if(d.current){var e=(0,c.createWidget)(t,r(r({},f),{container:d.current}));return function(){e.unmount()}}}),[t,f]),s.default.createElement(s.default.Fragment,null,s.default.createElement(l.InlineStyle,{filename:"widget"}),s.default.createElement("div",{style:i,className:a,ref:d}))}},970:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.genericEmbed=void 0,t.genericEmbed={unmount:function(){},open:function(){}}},797:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(970),t),i(n(553),t)},553:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.memoComponent=t.propsAreEqual=void 0;var i=n(156),o=r(n(378));t.propsAreEqual=function(e,t){return(0,o.default)(e,t)},t.memoComponent=function(e){return(0,i.memo)(e,t.propsAreEqual)}},52:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return void 0!==n.g.__webpack_nonce__?n.g.__webpack_nonce__:null}},367:function(e,t,n){var r={"./popover.css":145,"./popup.css":792,"./sidetab.css":838,"./slider.css":630,"./widget.css":684};function i(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=o,e.exports=i,i.id=367},611:function(e){e.exports=function(){"use strict";
1var e={8027:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_DOMAIN=t.POPUP_SIZE=t.SLIDER_WIDTH=t.SLIDER_POSITION=t.LIVE_EMBED_ATTRIBUTE=t.SIDETAB_ATTRIBUTE=t.WIDGET_ATTRIBUTE=t.SLIDER_ATTRIBUTE=t.POPUP_ATTRIBUTE=t.POPOVER_ATTRIBUTE=void 0,t.POPOVER_ATTRIBUTE="data-tf-popover",t.POPUP_ATTRIBUTE="data-tf-popup",t.SLIDER_ATTRIBUTE="data-tf-slider",t.WIDGET_ATTRIBUTE="data-tf-widget",t.SIDETAB_ATTRIBUTE="data-tf-sidetab",t.LIVE_EMBED_ATTRIBUTE="data-tf-live",t.SLIDER_POSITION="right",t.SLIDER_WIDTH=800,t.POPUP_SIZE=100,t.DEFAULT_DOMAIN="form.typeform.com"},7528:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__rest||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 i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.createPopover=void 0;var o=n(6797),a=n(1320),u=function(e,t){var n=e.parentNode;n&&(n.removeChild(e),n.appendChild(t))},s=function(e,t){void 0===e&&(e="span"),void 0===t&&(t="tf-v1-popover-button-icon");var n=document.createElement(e);return n.className="".concat(t," tf-v1-close-icon"),n.innerHTML="×",n.dataset.testid=t,n},c={buttonColor:"#3a7685"};t.createPopover=function(e,t){void 0===t&&(t={});var n,l,f,d=r(r({},c),t),p=d.domain,h=i(d,["domain"]),v=(0,o.createIframe)("popover",{formId:e,domain:p,options:h}),m=v.iframe,g=v.embedId,y=v.refresh,b=v.focus,w=function(e,t){var n=document.createElement("div");return n.className="tf-v1-popover",n.dataset.testid="tf-v1-popover",(0,o.setElementSize)(n,{width:e,height:t})}(h.width,h.height),D=function(){var e=document.createElement("div");return e.className="tf-v1-popover-wrapper",e.dataset.testid="tf-v1-popover-wrapper",e}(),_=function(e,t){var n=(0,o.getTextColor)(t),r=document.createElement("div");r.className="tf-v1-popover-button-icon";var i='<svg class="default" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M21 0H0V9L10.5743 24V16.5H21C22.6567 16.5 24 15.1567 24 13.5V3C24 1.34325 22.6567 0 21 0ZM7.5\n 9.75C6.672 9.75 6 9.07875 6 8.25C6 7.42125 6.672 6.75 7.5 6.75C8.328 6.75 9 7.42125 9 8.25C9 9.07875 8.328 9.75\n 7.5 9.75ZM12.75 9.75C11.922 9.75 11.25 9.07875 11.25 8.25C11.25 7.42125 11.922 6.75 12.75 6.75C13.578 6.75 14.25\n 7.42125 14.25 8.25C14.25 9.07875 13.578 9.75 12.75 9.75ZM18 9.75C17.172 9.75 16.5 9.07875 16.5 8.25C16.5 7.42125\n 17.172 6.75 18 6.75C18.828 6.75 19.5 7.42125 19.5 8.25C19.5 9.07875 18.828 9.75 18 9.75Z" fill="'.concat(n,'"></path>\n </svg>'),a=null==e?void 0:e.startsWith("http");return r.innerHTML=a?"<img alt='popover trigger icon button' src='".concat(e,"'/>"):null!=e?e:i,r.dataset.testid="default-icon",r}(h.customIcon,h.buttonColor||c.buttonColor),E=function(){var e=document.createElement("div");e.className="tf-v1-spinner";var t=document.createElement("div");return t.className="tf-v1-popover-button-icon",t.dataset.testid="spinner-icon",t.append(e),t}(),A=s(),C=s("button","tf-v1-popover-close"),x=function(e,t){void 0===t&&(t={});var n=(0,o.getTextColor)(e),r=document.createElement("button");return r.className="tf-v1-popover-button",r.dataset.testid="tf-v1-popover-button",r.style.backgroundColor=e,r.style.color=n,(0,o.addAttributesToElement)(r,t),r}(h.buttonColor||c.buttonColor,h.buttonProps);(h.container||document.body).append(w),D.append(m),w.append(x),w.append(C),x.append(_);var O=function(){l&&l.parentNode&&(l.classList.add("closing"),setTimeout((function(){(0,o.unmountElement)(l)}),250))};h.tooltip&&h.tooltip.length>0&&(l=function(e,t){var n=document.createElement("span");n.className="tf-v1-popover-tooltip-close",n.dataset.testid="tf-v1-popover-tooltip-close",n.innerHTML="×",n.onclick=t;var r=document.createElement("div");r.className="tf-v1-popover-tooltip-text",r.innerHTML=e;var i=document.createElement("div");return i.className="tf-v1-popover-tooltip",i.dataset.testid="tf-v1-popover-tooltip",i.appendChild(r),i.appendChild(n),i}(h.tooltip,O),w.append(l)),h.notificationDays&&(h.enableSandbox||(0,a.canBuildNotificationDot)(e))&&(f=(0,a.buildNotificationDot)(),x.append(f)),m.onload=function(e){(null==e?void 0:e.isTrusted)&&(w.classList.add("open"),D.style.opacity="1",C.style.opacity="1",u(E,A),(0,o.addCustomKeyboardListener)(F))};var S=function(){(0,o.isOpen)(D)||(O(),f&&(f.classList.add("closing"),h.notificationDays&&!h.enableSandbox&&(0,a.saveNotificationDotHideUntilTime)(e,h.notificationDays),setTimeout((function(){(0,o.unmountElement)(f)}),250)),setTimeout((function(){(0,o.isInPage)(D)?(D.style.opacity="0",C.style.opacity="0",D.style.display="flex",setTimeout((function(){w.classList.add("open"),D.style.opacity="1",C.style.opacity="1"})),u(_,A)):(w.append(D),u(_,E),D.style.opacity="0",C.style.opacity="0")})))},F=function(){var n;(0,o.isOpen)(w)&&((0,o.handlePreventReopenOnClose)(h,e),null===(n=t.onClose)||void 0===n||n.call(t),setTimeout((function(){h.keepSession?D.style.display="none":(0,o.unmountElement)(D),w.classList.remove("open"),u(A,_)}),250))};(0,o.setAutoClose)(g,h.autoClose,F);var P=function(){(0,o.isOpen)(D)?F():S()};return x.onclick=(0,o.invokeWithoutDefault)(P),C.onclick=(0,o.invokeWithoutDefault)(F),h.open&&!(0,o.isOpen)(D)&&(n=(0,o.handleCustomOpen)(S,h,e)),{open:S,close:F,toggle:P,refresh:y,focus:b,unmount:function(){(0,o.unmountElement)(w),h.open&&(null==n?void 0:n.remove)&&n.remove()}}}},1797:function(e,t,n){var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);
vendor: 9,238 bytes, line 1
1i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(7528),t),i(n(6100),t)},1320:function(e,t){var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},n.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.buildNotificationDot=t.canBuildNotificationDot=t.saveNotificationDotHideUntilTime=void 0;var r="tfNotificationData",i=function(){var e=localStorage.getItem(r);return e?JSON.parse(e):{}},o=function(e){e&&localStorage.setItem(r,JSON.stringify(e))};t.saveNotificationDotHideUntilTime=function(e,t){var r,a=new Date;a.setDate(a.getDate()+t),o(n(n({},i()),((r={})[e]={hideUntilTime:a.getTime()},r)))},t.canBuildNotificationDot=function(e){var t=function(e){var t;return(null===(t=i()[e])||void 0===t?void 0:t.hideUntilTime)||0}(e);return(new Date).getTime()>t&&(t&&function(e){var t=i();delete t[e],o(t)}(e),!0)},t.buildNotificationDot=function(){var e=document.createElement("span");return e.className="tf-v1-popover-unread-dot",e.dataset.testid="tf-v1-popover-unread-dot",e}},6100:function(e,t){Object.defineProperty(t,"__esModule",{value:!0})},9630:function(e,t,n){var r=this&&this.__rest||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 i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.createPopup=void 0;var i=n(6797),o=n(8027),a=n(6797);t.createPopup=function(e,t){if(void 0===t&&(t={}),!(0,i.hasDom)())return{open:function(){},close:function(){},toggle:function(){},refresh:function(){},focus:function(){},unmount:function(){}};var n,u=t.width,s=t.height,c=t.size,l=void 0===c?o.POPUP_SIZE:c,f=t.onClose,d=t.domain,p=r(t,["width","height","size","onClose","domain"]),h=(0,i.createIframe)("popup",{formId:e,domain:d,options:p}),v=h.iframe,m=h.embedId,g=h.refresh,y=h.focus,b=document.body.style.overflow,w=function(){var e=document.createElement("div");return e.className="tf-v1-popup",e.dataset.testid="tf-v1-popup",e.style.opacity="0",e}(),D=function(){var e=document.createElement("div");return e.className="tf-v1-spinner",e}(),_=function(e,t,n){var r=document.createElement("div");return r.className="tf-v1-iframe-wrapper",r.style.opacity="0",(0,i.isDefined)(e)&&(0,i.isDefined)(t)?(0,i.setElementSize)(r,{width:e,height:t}):(r.style.width="calc(".concat(n,"% - 80px)"),r.style.height="calc(".concat(n,"% - 80px)"),r)}(u,s,l);_.append(v),w.append(D),w.append(_);var E=p.container||document.body;v.onload=function(e){(null==e?void 0:e.isTrusted)&&(_.style.opacity="1",setTimeout((function(){D.style.display="none"}),250),(0,i.addCustomKeyboardListener)(C))};var A=function(){(0,a.isOpen)(w)||((0,a.isInPage)(w)?w.style.display="flex":(D.style.display="block",E.append(w)),document.body.style.overflow="hidden",setTimeout((function(){w.style.opacity="1"})))},C=function(){(0,a.isOpen)(w)&&((0,i.handlePreventReopenOnClose)(p,e),null==f||f(),w.style.opacity="0",document.body.style.overflow=b,setTimeout((function(){p.keepSession?w.style.display="none":x()}),250))};_.append(function(e){var t=document.createElement("button");return t.className="tf-v1-close tf-v1-close-icon",t.innerHTML="×",t.ariaLabel="Close",t.onclick=(0,i.invokeWithoutDefault)(e),t}(C)),(0,i.setAutoClose)(m,p.autoClose,C),p.open&&!(0,a.isOpen)(w)&&(n=(0,i.handleCustomOpen)(A,p,e));var x=function(){(0,i.unmountElement)(w),p.open&&(null==n?void 0:n.remove)&&n.remove()};return{open:A,close:C,toggle:function(){(0,a.isOpen)(w)?C():A()},refresh:g,focus:y,unmount:x}}},5970:function(e,t,n){var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(9630),t),i(n(7394),t)},7394:function(e,t){Object.defineProperty(t,"__esModule",{value:!0})},382:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__rest||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 i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.createSidetab=void 0;var o=n(6797),a={buttonColor:"#3a7685",buttonText:"Launch me"},u=function(e,t){void 0===e&&(e="div"),void 0===t&&(t="tf-v1-sidetab-button-icon");var n=document.createElement(e);return n.className="".concat(t," tf-v1-close-icon"),n.innerHTML="×",n.dataset.testid=t,n},s=function(e,t){var n=e.parentNode;n&&(n.removeChild(e),n.appendChild(t))};t.createSidetab=function(e,t){void 0===t&&(t={});var n,c=r(r({},a),t),l=c.domain,f=i(c,["domain"]),d=(0,o.createIframe)("side-tab",{formId:e,domain:l,options:f}),p=d.iframe,h=d.embedId,v=d.refresh,m=d.focus,g=function(e,t,n,r){var i=document.createElement("div");return i.className="tf-v1-sidetab",i.dataset.testid="tf-v1-sidetab",(0,o.setElementSize)(i,{width:e,height:t}),void 0!==n?(i.style.top="calc(".concat((0,o.getValueWithUnits)(n)," + ").concat((0,o.getValueWithUnits)(t||580)," / 2)"),i.style.bottom="auto"):void 0!==r&&(i.style.top="auto",i.style.bottom="calc(".concat((0,o.getValueWithUnits)(r)," - ").concat((0,o.getValueWithUnits)(t||580)," / 2)")),i}(f.width,f.height,f.top,f.bottom),y=function(){var e=document.createElement("div");return e.className="tf-v1-sidetab-wrapper",e.dataset.testid="tf-v1-sidetab-wrapper",e}(),b=function(){var e=document.createElement("div");e.className="tf-v1-spinner";var t=document.createElement("div");return t.className="tf-v1-sidetab-button-icon",t.dataset.testid="spinner-icon",t.append(e),t}(),w=function(e){var t=e.backgroundColor,n=e.textColor,r=e.width,i=e.height,a=e.align,u=void 0===a?"center":a,s=e.buttonProps,c=void 0===s?{}:s,l=document.createElement("button");return l.className="tf-v1-sidetab-button",l.style.backgroundColor=t,l.style.color=n||(0,o.getTextColor)(t),(0,o.addAttributesToElement)(l,c),(0,o.setElementSize)(l,{width:r,height:i}),i&&(l.style.left="-".concat((0,o.getValueWithUnits)(i))),"top"===u?(l.style.transform="rotate(-90deg) translateX(-100%)",l.style.top="0"):"bottom"===u&&(l.style.transform="rotate(-90deg) translateX(0)",l.style.top="auto",l.style.bottom="-".concat((0,o.getValueWithUnits)(i||48))),l}({backgroundColor:f.buttonColor||a.buttonColor,textColor:f.buttonTextColor,width:f.buttonHeight,height:f.buttonWidth,align:f.buttonAlign,buttonProps:f.buttonProps}),D=function(e,t){var n=document.createElement("span");return n.className="tf-v1-sidetab-button-text",n.innerHTML=e,t&&(n.style.fontSize=(0,o.getValueWithUnits)(t)),n}(f.buttonText||a.buttonText,f.buttonTextSize),_=function(e,t,n,r){var i=n||(0,o.getTextColor)(t),a=document.createElement("div");a.className="tf-v1-sidetab-button-icon",r&&(a.style.width=(0,o.getValueWithUnits)(r),a.style.height=(0,o.getValueWithUnits)(r));var u='<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M21 0H0V9L10.5743 24V16.5H21C22.6567 16.5 24 15.1567 24 13.5V3C24 1.34325 22.6567 0 21 0ZM7.5 9.75C6.672 9.75 6 9.07875 6 8.25C6 7.42125 6.672 6.75 7.5 6.75C8.328 6.75 9 7.42125 9 8.25C9 9.07875 8.328 9.75 7.5 9.75ZM12.75 9.75C11.922 9.75 11.25 9.07875 11.25 8.25C11.25 7.42125 11.922 6.75 12.75 6.75C13.578 6.75 14.25 7.42125 14.25 8.25C14.25 9.07875 13.578 9.75 12.75 9.75ZM18 9.75C17.172 9.75 16.5 9.07875 16.5 8.25C16.5 7.42125 17.172 6.75 18 6.75C18.828 6.75 19.5 7.42125 19.5 8.25C19.5 9.07875 18.828 9.75 18 9.75Z" fill="'.concat(i,'"></path>\n </svg>'),s=null==e?void 0:e.startsWith("http");return a.innerHTML=s?"<img alt='popover trigger icon button' src='".concat(e,"'/>"):null!=e?e:u,a.dataset.testid="default-icon",a}(f.customIcon,f.buttonColor||a.buttonColor,f.buttonTextColor,f.buttonTextSize),E=u(),A=u("button","tf-v1-sidetab-close");(f.container||document.body).append(g),y.append(p),g.append(w),g.append(A),w.append(_),w.append(D),setTimeout((function(){g.classList.add("ready")}),250),p.onload=function(e){(null==e?void 0:e.isTrusted)&&(g.classList.add("open"),s(b,E),(0,o.addCustomKeyboardListener)(x))};
1var C=function(){(0,o.isOpen)(y)||((0,o.isInPage)(y)?(y.style.display="flex",g.classList.add("open"),s(_,E)):(g.append(y),s(_,b)))},x=function(){var t;(0,o.isOpen)(y)&&((0,o.handlePreventReopenOnClose)(f,e),null===(t=f.onClose)||void 0===t||t.call(f),g.classList.remove("open"),setTimeout((function(){f.keepSession?y.style.display="none":(0,o.unmountElement)(y),s(E,_)}),250))};(0,o.setAutoClose)(h,f.autoClose,x);var O=function(){(0,o.isOpen)(y)?x():C()};return w.onclick=(0,o.invokeWithoutDefault)(O),A.onclick=(0,o.invokeWithoutDefault)(x),f.open&&!(0,o.isOpen)(y)&&(n=(0,o.handleCustomOpen)(C,f,e)),{open:C,close:x,toggle:O,refresh:v,focus:m,unmount:function(){(0,o.unmountElement)(g),f.open&&(null==n?void 0:n.remove)&&n.remove()}}}},1434:function(e,t,n){var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(382),t),i(n(7668),t)},7668:function(e,t){Object.defineProperty(t,"__esModule",{value:!0})},2603:function(e,t,n){var r=this&&this.__rest||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 i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.createSlider=void 0;var i=n(6797),o=n(8027);t.createSlider=function(e,t){if(void 0===t&&(t={}),!(0,i.hasDom)())return{open:function(){},close:function(){},toggle:function(){},refresh:function(){},focus:function(){},unmount:function(){}};var n,a=t.position,u=void 0===a?o.SLIDER_POSITION:a,s=t.width,c=void 0===s?o.SLIDER_WIDTH:s,l=t.onClose,f=t.domain,d=r(t,["position","width","onClose","domain"]),p=(0,i.createIframe)("slider",{formId:e,domain:f,options:d}),h=p.iframe,v=p.embedId,m=p.refresh,g=p.focus,y=document.body.style.overflow,b=function(e){var t=document.createElement("div");return t.className="tf-v1-slider ".concat(e),t.dataset.testid="tf-v1-slider",t.style.opacity="0",t}(u),w=function(){var e=document.createElement("div");return e.className="tf-v1-spinner",e}(),D=function(e,t){var n=document.createElement("div");return n.className="tf-v1-iframe-wrapper",n.style[e]="-100%",(0,i.setElementSize)(n,{width:t})}(u,c);D.append(h),b.append(w),b.append(D);var _=d.container||document.body;h.onload=function(e){(null==e?void 0:e.isTrusted)&&(D.style[u]="0",setTimeout((function(){w.style.display="none"}),500),(0,i.addCustomKeyboardListener)(A))};var E=function(){(0,i.isOpen)(b)||((0,i.isInPage)(b)?(b.style.display="flex",setTimeout((function(){D.style[u]="0"}))):(_.append(b),w.style.display="block"),document.body.style.overflow="hidden",setTimeout((function(){b.style.opacity="1"})))},A=function(){(0,i.isOpen)(b)&&((0,i.handlePreventReopenOnClose)(d,e),null==l||l(),b.style.opacity="0",D.style[u]="-100%",document.body.style.overflow=y,setTimeout((function(){d.keepSession?b.style.display="none":C()}),500))};(0,i.setAutoClose)(v,d.autoClose,A),D.append(function(e){var t=document.createElement("button");return t.className="tf-v1-close tf-v1-close-icon",t.innerHTML="×",t.ariaLabel="Close",t.onclick=(0,i.invokeWithoutDefault)(e),t}(A)),d.open&&!(0,i.isOpen)(b)&&(n=(0,i.handleCustomOpen)(E,d,e));var C=function(){(0,i.unmountElement)(b),d.open&&(null==n?void 0:n.remove)&&n.remove()};return{open:E,close:A,toggle:function(){(0,i.isOpen)(b)?A():E()},refresh:m,focus:g,unmount:C}}},4071:function(e,t,n){var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}
vendor: 1,290 bytes, line 1
1),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(2603),t),i(n(3162),t)},3162:function(e,t){Object.defineProperty(t,"__esModule",{value:!0})},718:function(e,t,n){var r=this&&this.__rest||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 i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},i=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.createWidget=void 0;var o=n(6797),a=n(8554),u=n(2313),s=n(1126);t.createWidget=function(e,t){if(!(0,o.hasDom)())return{refresh:function(){},focus:function(){},unmount:function(){}};var n=t.domain,c=r(t,["domain"]);
1c.inlineOnMobile=t.inlineOnMobile||t.fullScreen;var l=document.body.style.overflow;c.inlineOnMobile||!c.forceTouch&&!(0,o.isFullscreen)()||(c.displayAsFullScreenModal=!0,c.forceTouch=!0,c.autoResize=!1);var f=(0,o.createIframe)("widget",{formId:e,domain:n,options:c}),d=f.embedId,p=f.iframe,h=f.refresh,v=f.focus,m=(0,u.buildWidget)(p,c.width,c.height);if(c.fullScreen&&(0,s.overrideFullScreenStyles)(t.container,p),c.autoResize){var g=i("string"==typeof c.autoResize?c.autoResize.split(",").map((function(e){return parseInt(e)})):[],2),y=g[0],b=g[1];window.addEventListener("message",(0,a.getFormHeightChangedHandler)(d,(function(e){var n=Math.max(e.height,y||0);b&&(n=Math.min(n,b)),t.container.style.height="".concat(n,"px")})))}c.autoFocus&&window.addEventListener("message",(0,a.getFormReadyHandler)(d,(function(){setTimeout((function(){v()}),1e3)})));var w,D=function(){return t.container.append(m)};if(t.container.innerHTML="",t.lazy?(0,o.lazyInitialize)(t.container,D):D(),c.displayAsFullScreenModal){var _="",E=t.container,A=E.style.height;window.addEventListener("message",(0,a.getWelcomeScreenHiddenHandler)(d,(function(){E.classList.add("tf-v1-widget-fullscreen"),void 0!==t.opacity&&(E.style.backgroundColor=_)}))),window.addEventListener("message",(0,a.getFormThemeHandler)(d,(function(e){var t;_=(0,o.changeColorOpacity)(null===(t=null==e?void 0:e.theme)||void 0===t?void 0:t.backgroundColor)})));var C=((w=document.createElement("button")).className="tf-v1-widget-close tf-v1-close-icon",w.innerHTML="×",w.ariaLabel="Close",w);C.onclick=(0,o.invokeWithoutDefault)((function(){var e;if(E.style.height=A,null===(e=t.onClose)||void 0===e||e.call(t),E.classList.remove("tf-v1-widget-fullscreen"),E.style.backgroundColor="",c.fullScreen&&(document.body.style.overflow=l),t.keepSession){var n=document.createElement("div");n.className="tf-v1-widget-iframe-overlay",n.onclick=function(){E.classList.add("tf-v1-widget-fullscreen"),(0,o.unmountElement)(n)},m.append(n)}else t.container.innerHTML="",D(),E.append(C)})),E.append(C)}return{refresh:h,focus:v,unmount:function(){(0,o.unmountElement)(m)}}}},1419:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.buildWidget=void 0;var r=n(6797);t.buildWidget=function(e,t,n){var i=document.createElement("div");return i.className="tf-v1-widget",i.dataset.testid="tf-v1-widget",i.append(e),(0,r.setElementSize)(i,{width:t,height:n})}},2313:function(e,t,n){var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(1419),t)},1126:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.overrideFullScreenStyles=void 0,t.overrideFullScreenStyles=function(e,t){Object.assign(e.style,{zIndex:"10001",position:"absolute",top:"0",left:"0",width:"100%",height:"100%"}),t.style.borderRadius="0",Object.assign(document.body.style,{overflow:"hidden"})}},9321:function(e,t,n){var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(718),t),i(n(4058),t)},4058:function(e,t){Object.defineProperty(t,"__esModule",{value:!0})},1920:function(e,t,n){var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}
1),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(1797),t),i(n(5970),t),i(n(4071),t),i(n(9321),t),i(n(1434),t)},5084:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.addAttributesToElement=void 0;var r=n(7377);t.addAttributesToElement=function(e,t){void 0===t&&(t={}),Object.keys(t).forEach((function(n){e.setAttribute((0,r.camelCaseToKebabCase)(n),t[n])}))}},3626:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.buildIframeSrc=void 0;var o=n(8027),a=n(4527),u=n(2346),s=n(2698),c=n(863),l={widget:"embed-widget",popup:"popup-blank",slider:"popup-drawer",popover:"popup-popover","side-tab":"popup-side-panel"};t.buildIframeSrc=function(e){var t=e.domain,n=e.formId,f=e.type,d=e.embedId,p=e.options,h=function(e,t,n){var i=n.transitiveSearchParams,o=n.source,a=n.medium,u=n.mediumVersion,c=n.hideFooter,f=n.hideHeaders,d=n.opacity,p=n.disableTracking,h=n.enableSandbox,v=n.shareGaInstance,m=n.forceTouch,g=n.displayAsFullScreenModal,y=n.tracking,b=n.redirectTarget,w=n.autoResize,D=n.disableScroll,_=n.onEndingButtonClick,E=n.noHeading,A=n.noScrollbars,C=(0,s.getTransitiveSearchParams)(i);return r(r(r({},{"typeform-embed-id":t,"typeform-embed":l[e],"typeform-source":o,"typeform-medium":a,"typeform-medium-version":u,"embed-hide-footer":c?"true":void 0,"embed-hide-headers":f?"true":void 0,"embed-opacity":d,"disable-tracking":p||h?"true":void 0,"__dangerous-disable-submissions":h?"true":void 0,"share-ga-instance":v?"true":void 0,"force-touch":m?"true":void 0,"add-placeholder-ws":"widget"===e&&g?"true":void 0,"typeform-embed-redirect-target":b,"typeform-embed-handles-redirect":1,"typeform-embed-auto-resize":w?"true":void 0,"typeform-embed-disable-scroll":D?"true":void 0,"typeform-embed-handle-ending-button-click":_?"true":void 0,"typeform-embed-no-heading":E?"true":void 0,"typeform-embed-no-scrollbars":A?"true":void 0}),C),y)}(f,d,function(e){return e.noHeading||(e.noHeading=document.querySelectorAll("h1").length>0),r(r({},{source:null===(t=null===window||void 0===window?void 0:window.location)||void 0===t?void 0:t.hostname.replace(/^www\./,""),medium:"embed-sdk",mediumVersion:"next"}),(0,a.removeUndefinedKeys)(e));var t}(p)),v=function(e,t){return void 0===t&&(t=o.DEFAULT_DOMAIN),e.startsWith("http://")||e.startsWith("https://")?new URL(e):new URL("https://".concat(t,"/to/").concat(e))}(n,t);if(Object.entries(h).filter((function(e){var t=i(e,2)[1];return(0,u.isDefined)(t)})).forEach((function(e){var t=i(e,2),n=t[0],r=t[1];v.searchParams.set(n,r)})),p.hubspot){var m=(0,c.getHubspotHiddenFields)();p.hidden=r(r({},p.hidden),m)}return v.hash=function(e,t){var n=new URLSearchParams;t.hidden&&Object.entries(t.hidden).filter((function(e){var t=i(e,2)[1];return(0,u.isDefined)(t)&&""!==t})).forEach((function(r){var o=i(r,2),a=o[0],u=o[1];"boolean"==typeof t.transitiveSearchParams&&e.searchParams.delete(a),n.set(a,u)}));var r=function(e){if(!e)return null;var t=Object.keys(e).at(0),n=t&&e[t]||void 0;return void 0===t||void 0===n?null:{key:"answers-".concat(t),value:n}}(t.preselect);if(r){var o=r.key,a=r.value;n.set(o,a)}return n.toString()}(v,p),v.href}},2391:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.changeColorOpacity=void 0,t.changeColorOpacity=function(e,t){return void 0===e&&(e=""),void 0===t&&(t=255),e.startsWith("rgba(")?null==e?void 0:e.replace(/, [\d.]+\)$/,", ".concat(t,")")):e}}
vendor: 2,899 bytes, line 1
1,8972:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.handleCustomOpen=t.handlePreventReopenOnClose=void 0;var n={remove:function(){}};t.handlePreventReopenOnClose=function(e,t){e.preventReopenOnClose&&i(t)},t.handleCustomOpen=function(e,t,i){var o=t.open,a=t.openValue,u=t.preventReopenOnClose,s=function(e,t,n,i){return function(){var o,a;if(!(i&&r(t)||"all"===n&&(a=document.querySelector(".tf-v1-popup, .tf-v1-slider, .tf-v1-popover-wrapper, .tf-v1-sidetab-wrapper"),(null==a?void 0:a.offsetHeight)||(null==a?void 0:a.offsetWidth)||(null===(o=null==a?void 0:a.getClientRects())||void 0===o?void 0:o.length))||"same"===n&&function(e){var t=document.querySelectorAll(".tf-v1-popup, .tf-v1-slider, .tf-v1-popover-wrapper, .tf-v1-sidetab-wrapper");return Array.from(t).some((function(t){var n,r=null===(n=t.querySelector("iframe"))||void 0===n?void 0:n.src;return(null==r?void 0:r.includes("typeform.com/to/".concat(e)))||(null==r?void 0:r.startsWith(e))}))}(t)))return e()}}(e,i,t.respectOpenModals,u);switch(o){case"load":return s(),n;case"exit":return a?function(e,t){var n=0,r=function(i){i.clientY<e&&i.clientY<n?(document.removeEventListener("mousemove",r,!0),t()):n=i.clientY};return document.addEventListener("mousemove",r,!0),{remove:function(){return document.removeEventListener("mousemove",r,!0)}}}(a,s):n;case"time":return setTimeout((function(){s()}),a),n;case"scroll":return a?function(e,t){function n(){var r=window.pageYOffset||document.documentElement.scrollTop,i=document.documentElement.clientTop||0,o=document.documentElement.scrollHeight,a=r-i,u=a/o*100,s=a+window.innerHeight>=o;(u>=e||s)&&(t(),document.removeEventListener("scroll",n))}return document.addEventListener("scroll",n),{remove:function(){return document.removeEventListener("scroll",n)}}}(a,s):n;default:return n}};var r=function(e){return document.cookie.includes("tf-".concat(e,"-closed=true"))},i=function(e){document.cookie="tf-".concat(e,"-closed=true;Path=/")}},1553:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.createIframe=void 0;var r=n(3626),i=n(6797),o=n(8866),a=n(8554),u=n(2256),s=n(7144),c=n(5511);t.createIframe=function(e,t){var n=t.formId,l=t.domain,f=t.options,d=(0,o.generateEmbedId)(),p=f.iframeProps,h=void 0===p?{}:p,v=f.onReady,m=f.onStarted,g=f.onQuestionChanged,y=f.onHeightChanged,b=f.onSubmit,w=f.onEndingButtonClick,D=f.onDuplicateDetected,_=f.shareGaInstance,E=(0,r.buildIframeSrc)({formId:n,domain:l,embedId:d,type:e,options:f}),A=document.createElement("iframe");return A.src=E,A.dataset.testid="iframe",A.style.border="0px",A.allow="microphone; camera",(0,i.addAttributesToElement)(A,h),A.addEventListener("load",u.triggerIframeRedraw,{once:!0}),window.addEventListener("message",(0,a.getFormReadyHandler)(d,v)),window.addEventListener("message",(0,a.getFormStartedHandler)(d,m)),window.addEventListener("message",(0,a.getFormQuestionChangedH
1andler)(d,g)),window.addEventListener("message",(0,a.getFormHeightChangedHandler)(d,y)),window.addEventListener("message",(0,a.getFormSubmitHandler)(d,b)),window.addEventListener("message",(0,a.getFormThemeHandler)(d,(function(e){var t;if(null==e?void 0:e.theme){var n=document.querySelector(".tf-v1-close-icon");n&&(n.style.color=null===(t=e.theme)||void 0===t?void 0:t.color)}}))),window.addEventListener("message",(0,a.getThankYouScreenButtonClickHandler)(d,w)),window.addEventListener("message",(0,a.getRedirectHandler)(d,A)),window.addEventListener("message",(0,a.getDuplicateDetectedHandler)(d,D)),"widget"!==e&&window.addEventListener("message",s.dispatchCustomKeyEventFromIframe),_&&window.addEventListener("message",(0,a.getFormReadyHandler)(d,(function(){(0,i.setupGaInstance)(A,d,_)}))),{iframe:A,embedId:d,refresh:function(){return(0,c.refreshIframe)(A)},focus:function(){var e;null===(e=A.contentWindow)||void 0===e||e.postMessage("embed-focus","*")}}}},8866:function(e,t){var n=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.generateEmbedId=void 0,t.generateEmbedId=function(){var e=Math.random();return n(String(e).split("."),2)[1]}},8554:function(e,t,n){var r=this&&this.__rest||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 i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.getRedirectHandler=t.getThankYouScreenButtonClickHandler=t.getFormThemeHandler=t.getWelcomeScreenHiddenHandler=t.getDuplicateDetectedHandler=t.getFormSubmitHandler=t.getFormHeightChangedHandler=t.getFormQuestionChangedH
vendor: 4,096 bytes, line 1
1andler=t.getFormStartedHandler=t.getFormReadyHandler=void 0;var i=n(8743);t.getFormReadyHandler=function(e,t){return a("form-ready",e,t)},t.getFormStartedHandler=function(e,t){return a("form-started",e,t)},t.getFormQuestionChangedHandler=function(e,t){return a("form-screen-changed",e,t)},t.getFormHeightChangedHandler=function(e,t){return a("form-height-changed",e,t)},t.getFormSubmitHandler=function(e,t){return a("form-submit",e,t)},t.getDuplicateDetectedHandler=function(e,t){return a("duplicate-detected",e,t)},t.getWelcomeScreenHiddenHandler=function(e,t){return a("welcome-screen-hidden",e,t)},t.getFormThemeHandler=function(e,t){return a("form-theme",e,t)},t.getThankYouScreenButtonClickHandler=function(e,t){return a("thank-you-screen-button-click",e,t)},t.getRedirectHandler=function(e,t){return a(["redirect-after-submit","thank-you-screen-redirect"],e,(0,i.handleFormRedirect)(t))};var o=function(e,t){return Array.isArray(e)?e.includes(t):e===t};function a(e,t,n){return function(i){var a=i.data,u=a.type,s=a.embedId,c=r(a,["type","embedId"]);o(e,u)&&s===t&&(null==n||n(c))}}},8743:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.handleFormRedirect=void 0,t.handleFormRedirect=function(e){return function(t){var n,r,i=t.url,o=t.target;if(i)switch(void 0===o?"_parent":o){case"_self":e.src=(n=e.src,(r=i).includes("#")&&r.startsWith("".concat(n,"#"))?r.includes("?")?r.replace("#","&tf-embed-ts=".concat(Date.now(),"#")):r.replace("#","?tf-embed-ts=".concat(Date.now(),"#")):r);break;case"_blank":window.open(i,"_blank");break;case"_top":var a=document.createElement("a");a.href=i,a.target="_top",document.body.appendChild(a),a.click(),document.body.removeChild(a);break;default:window.location.href=i}else console.error("Redirect failed, no URL provided")}}},339:function(e,t,n){var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(1553),t),i(n(7144),t)},5511:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.refreshIframe=void 0,t.refreshIframe=function(e){if(e){var t=e.src;if(t.includes("&refresh")){var n=t.split("&refresh#");e.src=n.join("#")}else(n=t.split("#"))[0]="".concat(n[0],"&refresh"),e.src=n.join("#")}}},7144:function(e,t){var n=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{s(r.next(e))}catch(e){o(e)}}function u(e){try{s(r.throw(e))}catch(e){o(e)}}function s(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))},r=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(u){return function(s){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,u[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&u[0]?r.return:u[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,u[1])).done)return i;switch(r=0,i&&(u=[2&u[0],i.value]),u[0]){case 0:case 1:i=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,r=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==u[0]&&2!==u[0])){a=0;continue}if(3===u[0]&&(!i||u[1]>i[0]&&u[1]<i[3])){a.label=u[1];break}if(6===u[0]&&a.label<i[1]){a.label=i[1],i=u;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(u);break}i[2]&&a.ops.pop(),a.trys.pop();continue}u=t.call(e,a)}catch(e){u=[6,e],r=0}finally{n=i=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,s])}}};Object.defineProperty(t,"__esModule",{value:!0}
1),t.dispatchCustomKeyEventFromIframe=t.removeCustomKeyboardListener=t.addCustomKeyboardListener=void 0;var i="Escape",o=function(e,o){return n(void 0,void 0,void 0,(function(){return r(this,(function(n){return e.code===i&&"function"==typeof o&&(o(),(0,t.removeCustomKeyboardListener)()),[2]}))}))};t.addCustomKeyboardListener=function(e){return window.document.addEventListener("keydown",(function(t){return o(t,e)}))},t.removeCustomKeyboardListener=function(){return window.document.removeEventListener("keydown",o)},t.dispatchCustomKeyEventFromIframe=function(e){"form-close"===e.data.type&&window.document.dispatchEvent(new KeyboardEvent("keydown",{code:i}))}},2256:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.triggerIframeRedraw=void 0,t.triggerIframeRedraw=function(){this.style.transform="translateZ(0)"}},8939:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.getTextColor=void 0;var r=n(2938);t.getTextColor=function(e){if(!e)return"#FFFFFF";var t=e.startsWith("#")?(0,r.hexRgb)(e):function(e){var t={red:0,green:0,blue:0},n=e.match(/\d+/g);return n&&(t.red=parseInt(n[0],10),t.green=parseInt(n[0],10),t.blue=parseInt(n[0],10)),t}(e),n=t.red,i=t.green,o=t.blue;return Math.round((299*n+587*i+114*o)/1e3)>150?"#000000":"#FFFFFF"}},2698:function(e,t){var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},n.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.getTransitiveSearchParams=void 0,t.getTransitiveSearchParams=function(e){var t=new URL(window.location.href);return"boolean"==typeof e&&e?Object.fromEntries(t.searchParams.entries()):Array.isArray(e)&&e.length>0?e.reduce((function(e,r){var i,o=t.searchParams.get(r);return o?n(n({},e),((i={})[r]=o,i)):e}),{}):{}}},8252:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.hasDom=void 0,t.hasDom=function(){return"undefined"!=typeof document&&"undefined"!=typeof window}},2938:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.hexRgb=void 0;var n="a-f\\d",r="#?[".concat(n,"]{3}[").concat(n,"]?"),i="#?[".concat(n,"]{6}([").concat(n,"]{2})?"),o=new RegExp("[^#".concat(n,"]"),"gi"),a=new RegExp("^".concat(r,"$|^").concat(i,"$"),"i");t.hexRgb=function(e){if("string"!=typeof e||o.test(e)||!a.test(e))throw new TypeError("Expected a valid hex string");8===(e=e.replace(/^#/,"")).length&&(e=e.slice(0,6)),4===e.length&&(e=e.slice(0,3)),3===e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);var t=Number.parseInt(e,16);return{red:t>>16,green:t>>8&255,blue:255&t}}},863:function(e,t,n){var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{s(r.next(e))}catch(e){o(e)}}function u(e){try{s(r.throw(e))}catch(e){o(e)}}function s(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(u){return function(s){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,u[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&u[0]?r.return:u[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,u[1])).done)return i;switch(r=0,i&&(u=[2&u[0],i.value]),u[0]){case 0:case 1:i=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,r=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==u[0]&&2!==u[0])){a=0;continue}if(3===u[0]&&(!i||u[1]>i[0]&&u[1]<i[3])){a.label=u[1];break}if(6===u[0]&&a.label<i[1]){a.label=i[1],i=u;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(u);break}i[2]&&a.ops.pop(),a.trys.pop();continue}u=t.call(e,a)}catch(e){u=[6,e],r=0}finally{n=i=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,s])}}};
1Object.defineProperty(t,"__esModule",{value:!0}),t.waitForHubspotCookie=t.getHubspotHiddenFields=t.getHubspotCookieValue=void 0;var o=n(4623);t.getHubspotCookieValue=function(){var e=document.cookie.match(new RegExp("(^| )".concat("hubspotutk","=([^;]+)")));return e&&e[2]||void 0},t.getHubspotHiddenFields=function(){return{hubspot_page_name:document.title,hubspot_page_url:window.location.href,hubspot_utk:(0,t.getHubspotCookieValue)()}},t.waitForHubspotCookie=function(){return r(void 0,void 0,void 0,(function(){var e,n;return i(this,(function(r){switch(r.label){case 0:e=10,n=0,r.label=1;case 1:return!(0,t.getHubspotCookieValue)()&&n<e?[4,(0,o.sleep)(250)]:[3,4];case 2:r.sent(),r.label=3;case 3:return n++,[3,1];case 4:return[2]}}))}))}},9071:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.includeCss=void 0,t.includeCss=function(e){var t=function(e){return"".concat("https://embed.typeform.com/next/css/").concat(e)}(e);if(!document.querySelector('link[href="'.concat(t,'"]'))){var n=document.createElement("link");n.rel="stylesheet",n.href=t,document.head.append(n)}}},6797:function(e,t,n){var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(3626),t),i(n(339),t),i(n(8252),t),i(n(9071),t),i(n(2346),t),i(n(7377),t),i(n(6563),t),i(n(4527),t),i(n(9533),t),i(n(1451),t),i(n(8972),t),i(n(4748),t),i(n(4392),t),i(n(8939),t),i(n(9917),t),i(n(1987),t),i(n(2391),t),i(n(863),t),i(n(6890),t),i(n(5084),t)},6890:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.invokeWithoutDefault=void 0,t.invokeWithoutDefault=function(e){return function(t){null==t||t.preventDefault(),e()}}},2346:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isDefined=void 0,t.isDefined=function(e){return null!=e}},1987:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isVisible=t.isInPage=t.isOpen=void 0,t.isOpen=function(e){return(0,t.isInPage)(e)&&(0,t.isVisible)(e)},t.isInPage=function(e){return!!e.parentNode},t.isVisible=function(e){return"none"!==e.style.display}},9917:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.lazyInitialize=void 0,t.lazyInitialize=function(e,t){var n=new IntersectionObserver((function(e){e.forEach((function(e){e.isIntersecting&&(t(),n.unobserve(e.target))}))}));n.observe(e)}},7377:function(e,t){var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},n.apply(this,arguments)},r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.loadOptionsFromAttributes=t.transformAttributeValue=t.camelCaseToKebabCase=void 0,t.camelCaseToKebabCase=function(e){return e.split("").map((function(e,t){return e.toUpperCase()===e?"".concat(0!==t?"-":"").concat(e.toLowerCase()):e})).join("")};var i=function(e){return e||void 0},o=function(e){if(null!==e)return""===e||"yes"===e||"true"===e},a=function(e){var t=e?parseInt(e,10):NaN;return isNaN(t)?void 0:t},u="%ESCAPED_COMMA%",s=function(e){if(e)return e.replace(/\s/g,"").replace(/\\,/g,u).split(",").filter((function(e){return!!e})).map((function(e){return e.replace(u,",")}))};t.transformAttributeValue=function(e,t){var c,l,f;switch(t){case"string":return i(e);case"boolean":return o(e);case"integer":return a(e);case"function":return function(e){var t=e&&e in window?window[e]:void 0;return"function"==typeof t?t:void 0}(e);case"array":return s(e);
1case"record":return function(e){if(e)return e.replace(/\\,/g,u).split(",").filter((function(e){return!!e})).map((function(e){return e.replace(u,",")})).reduce((function(e,t){var i,o=t.match(/^([^=]+)=(.*)$/);if(o){var a=r(o,3),u=a[1],s=a[2];return n(n({},e),((i={})[u.trim()]=s,i))}return e}),{})}(e);case"integerOrString":return function(e){if(e)return e.match(/^[0-9]+$/)?a(e):i(e)}(e);case"integerOrBoolean":return null!==(c=a(e))&&void 0!==c?c:o(e);case"stringOrBoolean":return null!==(l=i(e))&&void 0!==l?l:o(e);case"arrayOrBoolean":return null!==(f=s(e))&&void 0!==f?f:o(e);default:throw new Error("Invalid attribute transformation ".concat(t))}},t.loadOptionsFromAttributes=function(e,r){return Object.keys(r).reduce((function(i,o){var a;return n(n({},i),((a={})[o]=(0,t.transformAttributeValue)(e.getAttribute("data-tf-".concat((0,t.camelCaseToKebabCase)(o))),r[o]),a))}),{})}},6563:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isFullscreen=t.isMobile=t.isBigScreen=void 0,t.isBigScreen=function(){return window.screen.width>=1024&&window.screen.height>=768},t.isMobile=function(){return/mobile|tablet|android/i.test(navigator.userAgent.toLowerCase())},t.isFullscreen=function(){return(0,t.isMobile)()&&!(0,t.isBigScreen)()}},4527:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.removeUndefinedKeys=void 0;var o=n(2346);t.removeUndefinedKeys=function(e){return Object.entries(e).filter((function(e){var t=i(e,2)[1];return(0,o.isDefined)(t)})).reduce((function(e,t){var n,o=i(t,2),a=o[0],u=o[1];return r(r({},e),((n={})[a]=u,n))}),{})}},4748:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.setAutoClose=t.DEFAULT_AUTO_CLOSE_TIME=void 0;var r=n(8554);t.DEFAULT_AUTO_CLOSE_TIME=500,t.setAutoClose=function(e,n,i){n&&i&&window.addEventListener("message",(0,r.getFormSubmitHandler)(e,(function(){return setTimeout(i,(r="number"==typeof(e=n)?e:0,Math.max(r,t.DEFAULT_AUTO_CLOSE_TIME)));var e,r})))}},9533:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.setElementSize=t.getValueWithUnits=void 0,t.getValueWithUnits=function(e){return"string"!=typeof e||e.match(/^[0-9]+$/)?"".concat(e,"px"):e},t.setElementSize=function(e,n){var r=n.width,i=n.height;return r&&(e.style.width=(0,t.getValueWithUnits)(r)),i&&(e.style.height=(0,t.getValueWithUnits)(i)),e}},4392:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.setupGaInstance=t.sendGaIdMessage=void 0,t.sendGaIdMessage=function(e,t,n){var r={embedId:e,gaClientId:t};
1setTimeout((function(){n&&n.contentWindow&&n.contentWindow.postMessage({type:"ga-client-id",data:r},"*")}),0)};var n=function(e){console.error(e)},r=function(e){n("Whoops! You enabled the shareGaInstance feature in your typeform embed but ".concat(e,".\n\n")+"Make sure to include Google Analytics Javascript code before the Typeform Embed Javascript code in your page and use correct tracker ID.\n\nIt is also possible the Google Analytics was blocked by your adblock plugin.")};t.setupGaInstance=function(e,i,o){var a="string"==typeof o?o:void 0;if(window.gtag){if(a||(a=function(){if(window.dataLayer){var e=window.dataLayer.find((function(e){return e.length>1&&"config"===e[0]}));return e&&e[1]}}()),!a)return void r("the tracking ID could not be retrieved");var u=!1;window.gtag("get",a,"client_id",(function(n){u=!0,(0,t.sendGaIdMessage)(i,n,e)})),setTimeout((function(){u||r("the tracker with ID ".concat(a," was not found"))}),3e3)}else try{var s=function(e,t){return t?e.find((function(e){return e.get("trackingId")===t})):e[0]}(window.ga.getAll(),a);s?(0,t.sendGaIdMessage)(i,s.get("clientId"),e):r("the tracker with ID ".concat(a," was not found"))}catch(e){r("the Google Analytics object was not found"),n(e)}}},4623:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.sleep=void 0,t.sleep=function(e){return new Promise((function(t){return setTimeout(t,e)}))}},1451:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.unmountElement=void 0,t.unmountElement=function(e){var t;null===(t=e.parentNode)||void 0===t||t.removeChild(e)}}},t={};return function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,n),o.exports}(1920)}()},156:function(e){"use strict";e.exports=r}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,n),o.exports}n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(r){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.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(){"use strict";var e=i;Object.defineProperty(e,"__esModule",{value:!0}),e.Sidetab=e.Popover=e.SliderButton=e.PopupButton=e.Widget=void 0;var t=n(611),r=n(281),o=n(797);e.Widget=(0,o.memoComponent)(r.Widget),e.PopupButton=(0,o.memoComponent)((0,r.makeButtonComponent)(t.createPopup,"popup")),e.SliderButton=(0,o.memoComponent)((0,r.makeButtonComponent)(t.createSlider,"slider")),e.Popover=(0,o.memoComponent)((0,r.makeInitializerComponent)(t.createPopover,"popover")),e.Sidetab=(0,o.memoComponent)((0,r.makeInitializerComponent)(t.createSidetab,"sidetab"))}(),i}())},99045:(e,t,n)=>{"use strict";function r(e){return e.depth}function i(e,t){return t-1-e.height}function o(e,t){return e.sourceLinks.length?e.depth:t-1}n.d(t,{kb:()=>r,pD:()=>o,pG:()=>i})},94061:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(68622);function i(e,t){let n=0;if(void 0===t)for(let r of e)(r=+r)&&(n+=r);else{let r=-1;for(let i of e)(i=+t(i,++r,e))&&(n+=i)}return n}function o(e,t){let n;if(void 0===t)for(const r of e)null!=r&&(n<r||void 0===n&&r>=r)&&(n=r);else{let r=-1;for(let i of e)null!=(i=t(i,++r,e))&&(n<i||void 0===n&&i>=i)&&(n=i)}return n}var a=n(99045);function u(e){return function(){return e}}function s(e,t){return l(e.source,t.source)||e.index-t.index}function c(e,t){return l(e.target,t.target)||e.index-t.index}function l(e,t){return e.y0-t.y0}function f(e){return e.value}function d(e){return e.index}function p(e){return e.nodes}function h(e){return e.links}function v(e,t){const n=e.get(t);if(!n)throw new Error("missing: "+t);return n}function m(e){let t=e.nodes;for(const n of t){let e=n.y0,t=e;for(const r of n.sourceLinks)r.y0=e+r.width/2,e+=r.width;for(const r of n.targetLinks)r.y1=t+r.width/2,t+=r.width}}function g(){let e,t,n,g=0,y=0,b=1,w=1,D=24,_=8,E=d,A=a.pD,C=p,x=h,O=6;function S(){const a={nodes:C.apply(null,arguments),links:x.apply(null,arguments)};return function(e){let t=e.nodes,i=e.links;for(const n of t.entries()){var o=(0,r.A)(n,2);const e=o[0],t=o[1];t.index=e,t.sourceLinks=[],t.targetLinks=[]}const a=new Map(t.map(((e,n)=>[E(e,n,t),e])));for(const n of i.entries()){var u=(0,r.A)(n,2);const e=u[0],t=u[1];t.index=e;let i=t.source,o=t.target;"object"!==typeof i&&(i=t.source=v(a,i)),"object"!==typeof o&&(o=t.target=v(a,o)),i.sourceLinks.push(t),o.targetLinks.push(t)}if(null!=n)for(const r of t){const e=r.sourceLinks,t=r.targetLinks;e.sort(n),t.sort(n)}}(a),function(e){let t=e.nodes;for(const n of t)n.value=void 0===n.fixedValue?Math.max(i(n.sourceLinks,f),i(n.targetLinks,f)):n.fixedValue}(a),function(e){let t=e.nodes;const n=t.length;let r=new Set(t),i=new Set,o=0;for(;r.size;){for(const e of r){e.depth=o;for(const t of e.sourceLinks){const e=t.target;i.add(e)}}if(++o>n)throw new Error("circular link");r=i,i=new Set}}(a),function(e){let t=e.nodes;const n=t.length;let r=new Set(t),i=new Set,o=0;for(;r.size;){for(const e of r){e.height=o;for(const t of e.targetLinks){const e=t.source;i.add(e)}}if(++o>n)throw new Error("circular link");r=i,i=new Set}}(a),function(n){const r=function(e){let n=e.nodes;const r=o(n,(e=>e.depth))+1,i=(b-g-D)/(r-1),a=new Array(r);for(const t of n){const e=Math.max(0,Math.min(r-1,Math.floor(A.call(null,t,r))));t.layer=e,t.x0=g+e*i,t.x1=t.x0+D,a[e]?a[e].push(t):a[e]=[t]}if(t)for(const o of a)o.sort(t);return a}(n);e=Math.min(_,(w-y)/(o(r,(e=>e.length))-1)),function(t){const n=function(e,t){let n;if(void 0===t)for(const r of e)null!=r&&(n>r||void 0===n&&r>=r)&&(n=r);else{let r=-1;for(let i of e)null!=(i=t(i,++r,e))&&(n>i||void 0===n&&i>=i)&&(n=i)}return n}(t,(t=>(w-y-(t.length-1)*e)/i(t,f)));for(const r of t){let t=y;for(const i of r){i.y0=t,i.y1=t+i.value*n,t=i.y1+e;for(const e of i.sourceLinks)e.width=e.value*n}t=(w-t+e)/(r.length+1);for(let e=0;e<r.length;++e){const n=r[e];n.y0+=t*(e+1),n.y1+=t*(e+1)}T(r)}}(r);for(let e=0;e<O;++e){const t=Math.pow(.99,e),n=Math.max(1-t,(e+1)/O);P(r,t,n),F(r,t,n)}}(a),m(a),a}function F(e,n,r){for(let i=1,o=e.length;i<o;++i){const o=e[i];for(const e of o){let t=0,r=0;for(const n of e.targetLinks){const i=n.source;let o=n.value*(e.layer-i.layer);t+=I(i,e)*o,r+=o}if(!(r>0))continue;let i=(t/r-e.y0)*n;e.y0+=i,e.y1+=i,j(e)}void 0===t&&o.sort(l),k(o,r)}}function P(e,n,r){for(let i=e.length-2;i>=0;--i){const o=e[i];for(const e of o){let t=0,r=0;for(const n of e.sourceLinks){const i=n.target;let o=n.value*(i.layer-e.layer);t+=R(e,i)*o,r+=o}if(!(r>0))continue;let i=(t/r-e.y0)*n;e.y0+=i,e.y1+=i,j(e)}void 0===t&&o.sort(l),k(o,r)}}function k(t,n){const r=t.length>>1,i=t[r];B(t,i.y0-e,r-1,n),M(t,i.y1+e,r+1,n),B(t,w,t.length-1,n),M(t,y,0,n)}function M(t,n,r,i){for(;r<t.length;++r){const o=t[r],a=(n-o.y0)*i;a>1e-6&&(o.y0+=a,o.y1+=a),n=o.y1+e}}function B(t,n,r,i){for(;r>=0;--r){const o=t[r],a=(o.y1-n)*i;a>1e-6&&(o.y0-=a,o.y1-=a),n=o.y0-e}}function j(e){let t=e.sourceLinks,r=e.targetLinks;if(void 0===n){for(const e of r){e.source.sourceLinks.sort(c)}for(const e of t){e.target.targetLinks.sort(s)}}}function T(e){if(void 0===n)for(const t of e){const e=t.sourceLinks,n=t.targetLinks;e.sort(c),n.sort(s)}}function I(t,n){let r=t.y0-(t.sourceLinks.length-1)*e/2;for(const i of t.sourceLinks){const t=i.target,o=i.width;if(t===n)break;r+=o+e}for(const e of n.targetLinks){const n=e.source,i=e.width;if(n===t)break;r-=i}return r}function R(t,n){let r=n.y0-(n.targetLinks.length-1)*e/2;for(const i of n.targetLinks){const n=i.source,o=i.width;if(n===t)break;r+=o+e}for(const e of t.sourceLinks){const t=e.target,i=e.width;if(t===n)break;r-=i}return r}return S.update=function(e){return m(e),e},S.nodeId=function(e){return arguments.length?(E="function"===typeof e?e:u(e),S):E},S.nodeAlign=function(e){return arguments.length?(A="function"===typeof e?e:u(e),S):A},S.nodeSort=function(e){return arguments.length?(t=e,S):t},S.nodeWidth=function(e){return arguments.length?(D=+e,S):D},S.nodePadding=function(t){return arguments.length?(_=e=+t,S):_},S.nodes=function(e){return arguments.length?(C="function"===typeof e?e:u(e),S):C},S.links=function(e){return arguments.length?(x="function"===typeof e?e:u(e),S):x},S.linkSort=function(e){return arguments.length?(n=e,S):n},S.size=function(e){return arguments.length?(g=y=0,b=+e[0],w=+e[1],S):[b-g,w-y]},S.extent=function(e){return arguments.length?(g=+e[0][0],b=+e[1][0],y=+e[0][1],w=+e[1][1],S):[[g,y],[b,w]]},S.iterations=function(e){return arguments.length?(O=+e,S):O},S}},97405:function(e){e.exports=function(){"use strict";function e(e,t){return e(t={exports:{}},t.exports),t.exports}var t=e((function(e){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)})),n=e((function(e){var t=e.exports={version:"2.6.5"};"number"==typeof __e&&(__e=t)})),r=(n.version,function(e){return"object"===typeof e?null!==e:"function"===typeof e}),i=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e},o=function(e){try{return!!e()}catch(t){return!0}},a=!o((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),u=t.document,s=r(u)&&r(u.createElement),c=function(e){return s?u.createElement(e):{}},l=!a&&!o((function(){return 7!=Object.defineProperty(c("div"),"a",{get:function(){return 7}}).a})),f=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")},d=Object.defineProperty,p={f:a?Object.defineProperty:function(e,t,n){if(i(e),t=f(t,!0),i(n),l)try{return d(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},h=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},v=a?function(e,t,n){return p.f(e,t,h(1,n))}:function(e,t,n){return e[t]=n,e},m={}.hasOwnProperty,g=function(e,t){return m.call(e,t)},y=0,b=Math.random(),w=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++y+b).toString(36))},D=!1,_=e((function(e){var r="__core-js_shared__",i=t[r]||(t[r]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:n.version,mode:D?"pure":"global",copyright:"\xa9 2019 Denis Pushkarev (zloirock.ru)"})})),E=_("native-function-to-string",Function.toString),A=e((function(e){var r=w("src"),i="toString",o=(""+E).split(i);n.inspectSource=function(e){return E.call(e)},(e.exports=function(e,n,i,a){var u="function"==typeof i;u&&(g(i,"name")||v(i,"name",n)),e[n]!==i&&(u&&(g(i,r)||v(i,r,e[n]?""+e[n]:o.join(String(n)))),e===t?e[n]=i:a?e[n]?e[n]=i:v(e,n,i):(delete e[n],v(e,n,i)))})(Function.prototype,i,(function(){return"function"==typeof this&&this[r]||E.call(this)}))})),C=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e},x=function(e,t,n){if(C(e),void 0===t)return e;switch(n){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,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}
1,O="prototype",S=function(e,r,i){var o,a,u,s,c=e&S.F,l=e&S.G,f=e&S.S,d=e&S.P,p=e&S.B,h=l?t:f?t[r]||(t[r]={}):(t[r]||{})[O],m=l?n:n[r]||(n[r]={}),g=m[O]||(m[O]={});for(o in l&&(i=r),i)u=((a=!c&&h&&void 0!==h[o])?h:i)[o],s=p&&a?x(u,t):d&&"function"==typeof u?x(Function.call,u):u,h&&A(h,o,u,e&S.U),m[o]!=u&&v(m,o,s),d&&g[o]!=u&&(g[o]=u)};t.core=n,S.F=1,S.G=2,S.S=4,S.P=8,S.B=16,S.W=32,S.U=64,S.R=128;var F,P=S,k=Math.ceil,M=Math.floor,B=function(e){return isNaN(e=+e)?0:(e>0?M:k)(e)},j=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e},T=(F=!1,function(e,t){var n,r,i=String(j(e)),o=B(t),a=i.length;return o<0||o>=a?F?"":void 0:(n=i.charCodeAt(o))<55296||n>56319||o+1===a||(r=i.charCodeAt(o+1))<56320||r>57343?F?i.charAt(o):n:F?i.slice(o,o+2):r-56320+(n-55296<<10)+65536});P(P.P,"String",{codePointAt:function(e){return T(this,e)}}),n.String.codePointAt;var I=Math.max,R=Math.min,N=function(e,t){return(e=B(e))<0?I(e+t,0):R(e,t)},L=String.fromCharCode,z=String.fromCodePoint;P(P.S+P.F*(!!z&&1!=z.length),"String",{fromCodePoint:function(e){for(var t,n=arguments,r=[],i=arguments.length,o=0;i>o;){if(t=+n[o++],N(t,1114111)!==t)throw RangeError(t+" is not a valid code point");r.push(t<65536?L(t):L(55296+((t-=65536)>>10),t%1024+56320))}return r.join("")}}),n.String.fromCodePoint;var W,U,H,V,$,K,Y,q,X,G,J,Z,Q,ee,te={Space_Separator:/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,ID_Start:/[\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\u0561-\u0587\u05D0-\u05EA\u05F0-\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\u08A0-\u08B4\u08B6-\u08BD\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\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\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\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\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\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\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-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\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\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\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-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\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-\uAB65\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\uFB
1D3-\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\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\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-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\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\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\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]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\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-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,ID_Continue:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\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\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\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\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFB
vendor: 12,397 bytes, line 1
1D3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\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\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\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-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\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\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\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-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},ne={isSpaceSeparator:function(e){return"string"===typeof e&&te.Space_Separator.test(e)},isIdStartChar:function(e){return"string"===typeof e&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||"$"===e||"_"===e||te.ID_Start.test(e))},isIdContinueChar:function(e){return"string"===typeof e&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"$"===e||"_"===e||"\u200c"===e||"\u200d"===e||te.ID_Continue.test(e))},isDigit:function(e){return"string"===typeof e&&/[0-9]/.test(e)},isHexDigit:function(e){return"string"===typeof e&&/[0-9A-Fa-f]/.test(e)}},re=function(e,t){W=String(e),U="start",H=[],V=0,$=1,K=0,Y=void 0,q=void 0,X=void 0;do{Y=oe(),he[U]()}while("eof"!==Y.type);return"function"===typeof t?ie({"":X},"",t):X};function ie(e,t,n){var r=e[t];if(null!=r&&"object"===typeof r)if(Array.isArray(r))for(var i=0;i<r.length;i++){var o=String(i),a=ie(r,o,n);void 0===a?delete r[o]:Object.defineProperty(r,o,{value:a,writable:!0,enumerable:!0,configurable:!0})}else for(var u in r){var s=ie(r,u,n);void 0===s?delete r[u]:Object.defineProperty(r,u,{value:s,writable:!0,enumerable:!0,configurable:!0})}return n.call(e,t,r)}function oe(){for(G="default",J="",Z=!1,Q=1;;){ee=ae();var e=se[G]();if(e)return e}}function ae(){if(W[V])return String.fromCodePoint(W.codePointAt(V))}function ue(){var e=ae();return"\n"===e?($++,K=0):e?K+=e.length:K++,e&&(V+=e.length),e}var se={default:function(){switch(ee){case"\t":case"\v":case"\f":case" ":case"\xa0":case"\ufeff":case"\n":case"\r":case"\u2028":case"\u2029":return void ue();case"/":return ue(),void(G="comment");case void 0:return ue(),ce("eof")}if(!ne.isSpaceSeparator(ee))return se[U]();ue()},comment:function(){switch(ee){case"*":return ue(),void(G="multiLineComment");case"/":return ue(),void(G="singleLineComment")}throw ge(ue())},multiLineComment:function(){switch(ee){case"*":return ue(),void(G="multiLineCommentAsterisk");case void 0:throw ge(ue())}ue()},multiLineCommentAsterisk:function(){switch(ee){case"*":return void ue();case"/":return ue(),void(G="default");case void 0:throw ge(ue())}ue(),G="multiLineComment"},singleLineComment:function(){switch(ee){case"\n":case"\r":case"\u2028":case"\u2029":return ue(),void(G="default");case void 0:return ue(),ce("eof")}ue()},value:function(){switch(ee){case"{":case"[":return ce("punctuator",ue());case"n":return ue(),le("ull"),ce("null",null);case"t":return ue(),le("rue"),ce("boolean",!0);case"f":return ue(),le("alse"),ce("boolean",!1);case"-":case"+":return"-"===ue()&&(Q=-1),void(G="sign");case".":return J=ue(),void(G="decimalPointLeading");case"0":return J=ue(),void(G="zero");case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return J=ue(),void(G="decimalInteger");case"I":return ue(),le("nfinity"),ce("numeric",1/0);case"N":return ue(),le("aN"),ce("numeric",NaN);case'"':case"'":return Z='"'===ue(),J="",void(G="string")}throw ge(ue())},identifierNameStartEscape:function(){if("u"!==ee)throw ge(ue());ue();var e=pe();switch(e){case"$":case"_":break;default:if(!ne.isIdStartChar(e))throw be()}J+=e,G="identifierName"},identifierName:function(){switch(ee){case"$":case"_":case"\u200c":case"\u200d":return void(J+=ue());case"\\":return ue(),void(G="identifierNameEscape")}if(!ne.isIdContinueChar(ee))return ce("identifier",J);J+=ue()},identifierNameEscape:function(){if("u"!==ee)throw ge(ue());ue();var e=pe();switch(e){case"$":case"_":case"\u200c":case"\u200d":break;default:if(!ne.isIdContinueChar(e))throw be()}J+=e,G="identifierName"},sign:function(){switch(ee){case".":return J=ue(),void(G="decimalPointLeading");case"0":return J=ue(),void(G="zero");case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return J=ue(),void(G="decimalInteger");case"I":return ue(),le("nfinity"),ce("numeric",Q*(1/0));case"N":return ue(),le("aN"),ce("numeric",NaN)}throw ge(ue())},zero:function(){switch(ee){case".":return J+=ue(),void(G="decimalPoint");case"e":case"E":return J+=ue(),void(G="decimalExponent");case"x":case"X":return J+=ue(),void(G="hexadecimal")}return ce("numeric",0*Q)},decimalInteger:function(){switch(ee){case".":return J+=ue(),void(G="decimalPoint");case"e":case"E":return J+=ue(),void(G="decimalExponent")}if(!ne.isDigit(ee))return ce("numeric",Q*Number(J));J+=ue()},decimalPointLeading:function(){if(ne.isDigit(ee))return J+=ue(),void(G="decimalFraction");throw ge(ue())},decimalPoint:function(){switch(ee){case"e":case"E":return J+=ue(),void(G="decimalExponent")}return ne.isDigit(ee)?(J+=ue(),void(G="decimalFraction")):ce("numeric",Q*Number(J))},decimalFraction:function(){switch(ee){case"e":case"E":return J+=ue(),void(G="decimalExponent")}if(!ne.isDigit(ee))return ce("numeric",Q*Number(J));J+=ue()},decimalExponent:function(){switch(ee){case"+":case"-":return J+=ue(),void(G="decimalExponentSign")}if(ne.isDigit(ee))return J+=ue(),void(G="decimalExponentInteger");throw ge(ue())},decimalExponentSign:function(){if(ne.isDigit(ee))return J+=ue(),void(G="decimalExponentInteger");throw ge(ue())},decimalExponentInteger:function(){if(!ne.isDigit(ee))return ce("numeric",Q*Number(J));J+=ue()},hexadecimal:function(){if(ne.isHexDigit(ee))return J+=ue(),void(G="hexadecimalInteger");throw ge(ue())},hexadecimalInteger:function(){if(!ne.isHexDigit(ee))return ce("numeric",Q*Number(J));J+=ue()},string:function(){switch(ee){case"\\":return ue(),void(J+=fe());case'"':return Z?(ue(),ce("string",J)):void(J+=ue());case"'":return Z?void(J+=ue()):(ue(),ce("string",J));case"\n":case"\r":throw ge(ue());case"\u2028":case"\u2029":we(ee);break;case void 0:throw ge(ue())}J+=ue()},start:function(){switch(ee){case"{":case"[":return ce("punctuator",ue())}G="value"},beforePropertyName:function(){switch(ee){case"$":case"_":return J=ue(),void(G="identifierName");case"\\":return ue(),void(G="identifierNameStartEscape");case"}":return ce("punctuator",ue());case'"':case"'":return Z='"'===ue(),void(G="string")}if(ne.isIdStartChar(ee))return J+=ue(),void(G="identifierName");throw ge(ue())},afterPropertyName:function(){if(":"===ee)return ce("punctuator",ue());throw ge(ue())},beforePropertyValue:function(){G="value"},afterPropertyValue:function(){switch(ee){case",":case"}":return ce("punctuator",ue())}throw ge(ue())},beforeArrayValue:function(){if("]"===ee)return ce("punctuator",ue());G="value"},afterArrayValue:function(){switch(ee){case",":case"]":return ce("punctuator",ue())}throw ge(ue())},end:function(){throw ge(ue())}};function ce(e,t){return{type:e,value:t,line:$,column:K}}function le(e){for(var t=0,n=e;t<n.length;t+=1){var r=n[t];if(ae()!==r)throw ge(ue());ue()}}function fe(){switch(ae()){case"b":return ue(),"\b";case"f":return ue(),"\f";case"n":return ue(),"\n";case"r":return ue(),"\r";case"t":return ue(),"\t";case"v":return ue(),"\v";case"0":if(ue(),ne.isDigit(ae()))throw ge(ue());return"\0";case"x":return ue(),de();case"u":return ue(),pe();case"\n":case"\u2028":case"\u2029":return ue(),"";case"\r":return ue(),"\n"===ae()&&ue(),"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case void 0:throw ge(ue())}return ue()}function de(){var e="",t=ae();if(!ne.isHexDigit(t))throw ge(ue());if(e+=ue(),t=ae(),!ne.isHexDigit(t))throw ge(ue());return e+=ue(),String.fromCodePoint(parseInt(e,16))}function pe(){for(var e="",t=4;t-- >0;){var n=ae();if(!ne.isHexDigit(n))throw ge(ue());e+=ue()}return String.fromCodePoint(parseInt(e,16))}var he={start:function(){if("eof"===Y.type)throw ye();ve()},beforePropertyName:function(){switch(Y.type){case"identifier":case"string":return q=Y.value,void(U="afterPropertyName");case"punctuator":return void me();case"eof":throw ye()}},afterPropertyName:function(){if("eof"===Y.type)throw ye();U="beforePropertyValue"},beforePropertyValue:function(){if("eof"===Y.type)throw ye();ve()},beforeArrayValue:function(){if("eof"===Y.type)throw ye();"punctuator"!==Y.type||"]"!==Y.value?ve():me()},afterPropertyValue:function(){if("eof"===Y.type)throw ye();switch(Y.value){case",":return void(U="beforePropertyName");case"}":me()}},afterArrayValue:function(){if("eof"===Y.type)throw ye();switch(Y.value){case",":return void(U="beforeArrayValue");case"]":me()}},end:function(){}};function ve(){var e;switch(Y.type){case"punctuator":switch(Y.value){case"{":e={};break;case"[":e=[]}break;case"null":case"boolean":case"numeric":case"string":e=Y.value}if(void 0===X)X=e;else{var t=H[H.length-1];Array.isArray(t)?t.push(e):Object.defineProperty(t,q,{value:e,writable:!0,enumerable:!0,configurable:!0})}if(null!==e&&"object"===typeof e)H.push(e),U=Array.isArray(e)?"beforeArrayValue":"beforePropertyName";else{var n=H[H.length-1];U=null==n?"end":Array.isArray(n)?"afterArrayValue":"afterPropertyValue"}}function me(){H.pop();var e=H[H.length-1];U=null==e?"end":Array.isArray(e)?"afterArrayValue":"afterPropertyValue"}
1function ge(e){return _e(void 0===e?"JSON5: invalid end of input at "+$+":"+K:"JSON5: invalid character '"+De(e)+"' at "+$+":"+K)}function ye(){return _e("JSON5: invalid end of input at "+$+":"+K)}function be(){return _e("JSON5: invalid identifier character at "+$+":"+(K-=5))}function we(e){console.warn("JSON5: '"+De(e)+"' in strings is not valid ECMAScript; consider escaping")}function De(e){var t={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(t[e])return t[e];if(e<" "){var n=e.charCodeAt(0).toString(16);return"\\x"+("00"+n).substring(n.length)}return e}function _e(e){var t=new SyntaxError(e);return t.lineNumber=$,t.columnNumber=K,t}return{parse:re,stringify:function(e,t,n){var r,i,o,a=[],u="",s="";if(null==t||"object"!==typeof t||Array.isArray(t)||(n=t.space,o=t.quote,t=t.replacer),"function"===typeof t)i=t;else if(Array.isArray(t)){r=[];for(var c=0,l=t;c<l.length;c+=1){var f=l[c],d=void 0;"string"===typeof f?d=f:("number"===typeof f||f instanceof String||f instanceof Number)&&(d=String(f)),void 0!==d&&r.indexOf(d)<0&&r.push(d)}}return n instanceof Number?n=Number(n):n instanceof String&&(n=String(n)),"number"===typeof n?n>0&&(n=Math.min(10,Math.floor(n)),s=" ".substr(0,n)):"string"===typeof n&&(s=n.substr(0,10)),p("",{"":e});function p(e,t){var n=t[e];switch(null!=n&&("function"===typeof n.toJSON5?n=n.toJSON5(e):"function"===typeof n.toJSON&&(n=n.toJSON(e))),i&&(n=i.call(t,e,n)),n instanceof Number?n=Number(n):n instanceof String?n=String(n):n instanceof Boolean&&(n=n.valueOf()),n){case null:return"null";case!0:return"true";case!1:return"false"}return"string"===typeof n?h(n,!1):"number"===typeof n?String(n):"object"===typeof n?Array.isArray(n)?g(n):v(n):void 0}function h(e){for(var t={"'":.1,'"':.2},n={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"},r="",i=0;i<e.length;i++){var a=e[i];switch(a){case"'":case'"':t[a]++,r+=a;continue;case"\0":if(ne.isDigit(e[i+1])){r+="\\x00";continue}}if(n[a])r+=n[a];else if(a<" "){var u=a.charCodeAt(0).toString(16);r+="\\x"+("00"+u).substring(u.length)}else r+=a}var s=o||Object.keys(t).reduce((function(e,n){return t[e]<t[n]?e:n}));return s+(r=r.replace(new RegExp(s,"g"),n[s]))+s}function v(e){if(a.indexOf(e)>=0)throw TypeError("Converting circular structure to JSON5");a.push(e);var t=u;u+=s;for(var n,i,o=[],c=0,l=r||Object.keys(e);c<l.length;c+=1){var f=l[c],d=p(f,e);if(void 0!==d){var h=m(f)+":";""!==s&&(h+=" "),h+=d,o.push(h)}}if(0===o.length)n="{}";else if(""===s)n="{"+(i=o.join(","))+"}";else{var v=",\n"+u;i=o.join(v),n="{\n"+u+i+",\n"+t+"}"}return a.pop(),u=t,n}function m(e){if(0===e.length)return h(e,!0);var t=String.fromCodePoint(e.codePointAt(0));if(!ne.isIdStartChar(t))return h(e,!0);for(var n=t.length;n<e.length;n++)if(!ne.isIdContinueChar(String.fromCodePoint(e.codePointAt(n))))return h(e,!0);return e}function g(e){if(a.indexOf(e)>=0)throw TypeError("Converting circular structure to JSON5");a.push(e);var t=u;u+=s;for(var n,r=[],i=0;i<e.length;i++){var o=p(String(i),e);r.push(void 0!==o?o:"null")}if(0===r.length)n="[]";else if(""===s)n="["+r.join(",")+"]";else{var c=",\n"+u,l=r.join(c);n="[\n"+u+l+",\n"+t+"]"}return a.pop(),u=t,n}}}}()},14893:(e,t,n)=>{var r=n(99472).runInContext();e.exports=n(24591)(r,r)},24591:(e,t,n)=>{var r=n(78233),i=n(63459),o=Array.prototype.push;function a(e,t){return 2==t?function(t,n){return e(t,n)}:function(t){return e(t)}}function u(e){for(var t=e?e.length:0,n=Array(t);t--;)n[t]=e[t];return n}function s(e,t){return function(){var n=arguments.length;if(n){for(var r=Array(n);n--;)r[n]=arguments[n];var i=r[0]=t.apply(void 0,r);return e.apply(void 0,r),i}}}e.exports=function e(t,n,c,l){var f="function"==typeof n,d=n===Object(n);if(d&&(l=c,c=n,n=void 0),null==c)throw new TypeError;l||(l={});var p=!("cap"in l)||l.cap,h=!("curry"in l)||l.curry,v=!("fixed"in l)||l.fixed,m=!("immutable"in l)||l.immutable,g=!("rearg"in l)||l.rearg,y=f?c:i,b="curry"in l&&l.curry,w="fixed"in l&&l.fixed,D="rearg"in l&&l.rearg,_=f?c.runInContext():void 0,E=f?c:{ary:t.ary,assign:t.assign,clone:t.clone,curry:t.curry,forEac
vendor: 5,381 bytes, line 1
1h:t.forEach,isArray:t.isArray,isError:t.isError,isFunction:t.isFunction,isWeakMap:t.isWeakMap,iteratee:t.iteratee,keys:t.keys,rearg:t.rearg,toInteger:t.toInteger,toPath:t.toPath},A=E.ary,C=E.assign,x=E.clone,O=E.curry,S=E.forEach,F=E.isArray,P=E.isError,k=E.isFunction,M=E.isWeakMap,B=E.keys,j=E.rearg,T=E.toInteger,I=E.toPath,R=B(r.aryMethod),N={castArray:function(e){return function(){var t=arguments[0];return F(t)?e(u(t)):e.apply(void 0,arguments)}},iteratee:function(e){return function(){var t=arguments[1],n=e(arguments[0],t),r=n.length;return p&&"number"==typeof t?(t=t>2?t-2:1,r&&r<=t?n:a(n,t)):n}},mixin:function(e){return function(t){var n=this;if(!k(n))return e(n,Object(t));var r=[];return S(B(t),(function(e){k(t[e])&&r.push([e,n.prototype[e]])})),e(n,Object(t)),S(r,(function(e){var t=e[1];k(t)?n.prototype[e[0]]=t:delete n.prototype[e[0]]})),n}},nthArg:function(e){return function(t){var n=t<0?1:T(t)+1;return O(e(t),n)}},rearg:function(e){return function(t,n){var r=n?n.length:0;return O(e(t,n),r)}},runInContext:function(n){return function(r){return e(t,n(r),l)}}};function L(e,t){if(p){var n=r.iterateeRearg[e];if(n)return function(e,t){return V(e,(function(e){var n=t.length;return function(e,t){return 2==t?function(t,n){return e.apply(void 0,arguments)}:function(t){return e.apply(void 0,arguments)}}(j(a(e,n),t),n)}))}(t,n);var i=!f&&r.iterateeAry[e];if(i)return function(e,t){return V(e,(function(e){return"function"==typeof e?a(e,t):e}))}(t,i)}return t}function z(e,t,n){if(v&&(w||!r.skipFixed[e])){var i=r.methodSpread[e],a=i&&i.start;return void 0===a?A(t,n):function(e,t){return function(){for(var n=arguments.length,r=n-1,i=Array(n);n--;)i[n]=arguments[n];var a=i[t],u=i.slice(0,t);return a&&o.apply(u,a),t!=r&&o.apply(u,i.slice(t+1)),e.apply(this,u)}}(t,a)}return t}function W(e,t,n){return g&&n>1&&(D||!r.skipRearg[e])?j(t,r.methodRearg[e]||r.aryRearg[n]):t}function U(e,t){for(var n=-1,r=(t=I(t)).length,i=r-1,o=x(Object(e)),a=o;null!=a&&++n<r;){var u=t[n],s=a[u];null==s||k(s)||P(s)||M(s)||(a[u]=x(n==i?s:Object(s))),a=a[u]}return o}function H(t,n){var i=r.aliasToReal[t]||t,o=r.remap[i]||i,a=l;return function(t){var r=f?_:E,u=f?_[o]:n,s=C(C({},a),t);return e(r,i,u,s)}}function V(e,t){return function(){var n=arguments.length;if(!n)return e();for(var r=Array(n);n--;)r[n]=arguments[n];var i=g?0:n-1;return r[i]=t(r[i]),e.apply(void 0,r)}}function $(e,t,n){var i,o=r.aliasToReal[e]||e,a=t,c=N[o];return c?a=c(t):m&&(r.mutate.array[o]?a=s(t,u):r.mutate.object[o]?a=s(t,function(e){return function(t){return e({},t)}}(t)):r.mutate.set[o]&&(a=s(t,U))),S(R,(function(e){return S(r.aryMethod[e],(function(t){if(o==t){var n=r.methodSpread[o],u=n&&n.afterRearg;return i=u?z(o,W(o,a,e),e):W(o,z(o,a,e),e),i=function(e,t,n){return b||h&&n>1?O(t,n):t}(0,i=L(o,i),e),!1}})),!i})),i||(i=a),i==t&&(i=b?O(i,1):function(){return t.apply(this,arguments)}),i.convert=H(o,t),i.placeholder=t.placeholder=n,i}if(!d)return $(n,c,y);var K=c,Y=[];return S(R,(function(e){S(r.aryMethod[e],(function(e){var t=K[r.remap[e]||e];t&&Y.push([e,$(e,t,K)])}))})),S(B(K),(function(e){var t=K[e];if("function"==typeof t){for(var n=Y.length;n--;)if(Y[n][0]==e)return;t.convert=H(e,t),Y.push([e,t])}})),S(Y,(function(e){K[e[0]]=e[1]})),K.convert=function(e){return K.runInContext.convert(e)(void 0)},K.placeholder=K,S(B(K),(function(e){S(r.realToAlias[e]||[],(function(t){K[t]=K[e]}))})),K}},78233:(e,t)=>{t.aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",extendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"conformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"stubTrue",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equals:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDifferenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch",zipObj:"zipObject"},t.aryMethod={1:["assignAll","assignInAll","attempt","castArray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAll","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words","zipAll"],2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flatten
1Depth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","indexOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rangeStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]},t.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},t.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},t.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},t.methodRearg={assignInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]},t.methodSpread={assignAll:{start:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}},t.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}},t.realToAlias=function(){var e=Object.prototype.hasOwnProperty,n=t.aliasToReal,r={};for(var i in n){var o=n[i];e.call(r,o)?r[o].push(i):r[o]=[i]}return r}(),t.remap={assignAll:"assign",assignAllWith:"assignWith",assignInAll:"assignIn",assignInAllWith:"assignInWith",curryN:"curry",curryRightN:"curryRight",defaultsAll:"defaults",defaultsDeepAll:"defaultsDeep",findFrom:"find",findIndexFrom:"findIndex",findLastFrom:"findLast",findLastIndexFrom:"findLastIndex",getOr:"get",includesFrom:"includes",indexOfFrom:"indexOf",invokeArgs:"invoke",invokeArgsMap:"invokeMap",lastIndexOfFrom:"lastIndexOf",mergeAll:"merge",mergeAllWith:"mergeWith",padChars:"pad",padCharsEnd:"padEnd",padCharsStart:"padStart",propertyOf:"get",rangeStep:"range",rangeStepRight:"rangeRight",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimEnd",trimCharsStart:"trimStart",zipAll:"zip"},t.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},t.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,zipObjectDeep:!0}},63459:e=>{e.exports={}},99472:function(e,t,n){var r;e=n.nmd(e),function(){function i(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 o(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i<o;){var a=e[i];t(r,a,n(a),e)}return r}function a(e,t){for(var n=-1,r=null==e?0:e.length;
vendor: 4,501 bytes, line 1
1++n<r&&!1!==t(e[n],n,e););return e}function u(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function s(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 c(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}function l(e,t){return!(null==e||!e.length)&&w(e,t,0)>-1}function f(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function d(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function p(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function h(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function v(e,t,n,r){var i=null==e?0:e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function m(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 g(e){return e.match(et)||[]}function y(e,t,n){var r;return n(e,(function(e,n,i){if(t(e,n,i))return r=n,!1})),r}function b(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}function w(e,t,n){return t===t?function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}(e,t,n):b(e,_,n)}function D(e,t,n,r){for(var i=n-1,o=e.length;++i<o;)if(r(e[i],t))return i;return-1}function _(e){return e!==e}function E(e,t){var n=null==e?0:e.length;return n?O(e,t)/n:te}function A(e){return function(t){return null==t?V:t[e]}}function C(e){return function(t){return null==e?V:e[t]}}function x(e,t,n,r,i){return i(e,(function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)})),n}function O(e,t){for(var n,r=-1,i=e.length;++r<i;){var o=t(e[r]);o!==V&&(n=n===V?o:n+o)}return n}function S(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function F(e){return function(t){return e(t)}}function P(e,t){return d(t,(function(t){return e[t]}))}function k(e,t){return e.has(t)}function M(e,t){for(var n=-1,r=e.length;++n<r&&w(t,e[n],0)>-1;);return n}function B(e,t){for(var n=e.length;n--&&w(t,e[n],0)>-1;);return n}function j(e){return"\\"+Zt[e]}function T(e){return Kt.test(e)}function I(e){return Yt.test(e)}function R(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function N(e,t){return function(n){return e(t(n))}}function L(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n];a!==t&&a!==Y||(e[n]=Y,o[i++]=n)}return o}function z(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function W(e){return T(e)?function(e){for(var t=Vt.lastIndex=0;Vt.test(e);)++t;return t}(e):mn(e)}function U(e){return T(e)?function(e){return e.match(Vt)||[]}(e):function(e){return e.split("")}(e)}function H(e){return e.match($t)||[]}var V,$="Expected a function",K="__lodash_hash_undefined__",Y="__lodash_placeholder__",q=16,X=32,G=64,J=128,Z=256,Q=1/0,ee=9007199254740991,te=NaN,ne=4294967295,re=ne-1,ie=ne>>>1,oe=[["ary",J],["bind",1],["bindKey",2],["curry",8],["curryRight",q],["flip",512],["partial",X],["partialRight",G],["rearg",Z]],ae="[object Arguments]",ue="[object Array]",se="[object Boolean]",ce="[object Date]",le="[object Error]",fe="[object Function]",de="[object GeneratorFunction]",pe="[object Map]",he="[object Number]",ve="[object Object]",me="[object Promise]",ge="[object RegExp]",ye="[object Set]",be="[object String]",we="[object Symbol]",De="[object WeakMap]",_e="[object ArrayBuffer]",Ee="[object DataView]",Ae="[object Float32Array]",Ce="[object Float64Array]",xe="[object Int8Array]",Oe="[object Int16Array]",Se="[object Int32Array]",Fe="[object Uint8Array]",Pe="[object Uint8ClampedArray]",ke="[object Uint16Array]",Me="[object Uint32Array]",Be=/\b__p \+= '';/g,je=/\b(__p \+=) '' \+/g,Te=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ie=/&(?:amp|lt|gt|quot|#39);/g,Re=/[&<>"']/g,Ne=RegExp(Ie.source),Le=RegExp(Re.source),ze=/<%-([\s\S]+?)%>/g,We=/<%([\s\S]+?)%>/g,Ue=/<%=([\s\S]+?)%>/g,He=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ve=/^\w*$/,$e=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ke=/[\\^$.*+?()[\]{}|]/g,Ye=RegExp(Ke.source),qe=/^\s+|\s+$/g,Xe=/^\s+/,Ge=/\s+$/,Je=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ze=/\{\n\/\* \[wrapped with (.+)\] \*/,Qe=/,? & /,et=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,tt=/\\(\\)?/g,nt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,rt=/\w*$/,it=/^[-+]0x[0-9a-f]+$/i,ot=/^0b[01]+$/i,at=/^\[object .+?Constructor\]$/,ut=/^0o[0-7]+$/i,st=/^(?:0|[1-9]\d*)$/,ct=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
vendor: 4,239 bytes, line 1
17f]/g,lt=/($^)/,ft=/['\n\r\u2028\u2029\\]/g,dt="\\ud800-\\udfff",pt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",ht="\\u2700-\\u27bf",vt="a-z\\xdf-\\xf6\\xf8-\\xff",mt="A-Z\\xc0-\\xd6\\xd8-\\xde",gt="\\ufe0e\\ufe0f",yt="\\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",bt="['\u2019]",wt="["+dt+"]",Dt="["+yt+"]",_t="["+pt+"]",Et="\\d+",At="["+ht+"]",Ct="["+vt+"]",xt="[^"+dt+yt+Et+ht+vt+mt+"]",Ot="\\ud83c[\\udffb-\\udfff]",St="[^"+dt+"]",Ft="(?:\\ud83c[\\udde6-\\uddff]){2}",Pt="[\\ud800-\\udbff][\\udc00-\\udfff]",kt="["+mt+"]",Mt="\\u200d",Bt="(?:"+Ct+"|"+xt+")",jt="(?:"+kt+"|"+xt+")",Tt="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",It="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",Rt="(?:"+_t+"|"+Ot+")"+"?",Nt="["+gt+"]?",Lt=Nt+Rt+("(?:"+Mt+"(?:"+[St,Ft,Pt].join("|")+")"+Nt+Rt+")*"),zt="(?:"+[At,Ft,Pt].join("|")+")"+Lt,Wt="(?:"+[St+_t+"?",_t,Ft,Pt,wt].join("|")+")",Ut=RegExp(bt,"g"),Ht=RegExp(_t,"g"),Vt=RegExp(Ot+"(?="+Ot+")|"+Wt+Lt,"g"),$t=RegExp([kt+"?"+Ct+"+"+Tt+"(?="+[Dt,kt,"$"].join("|")+")",jt+"+"+It+"(?="+[Dt,kt+Bt,"$"].join("|")+")",kt+"?"+Bt+"+"+Tt,kt+"+"+It,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Et,zt].join("|"),"g"),Kt=RegExp("["+Mt+dt+pt+gt+"]"),Yt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,qt=["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"],Xt=-1,Gt={};Gt[Ae]=Gt[Ce]=Gt[xe]=Gt[Oe]=Gt[Se]=Gt[Fe]=Gt[Pe]=Gt[ke]=Gt[Me]=!0,Gt[ae]=Gt[ue]=Gt[_e]=Gt[se]=Gt[Ee]=Gt[ce]=Gt[le]=Gt[fe]=Gt[pe]=Gt[he]=Gt[ve]=Gt[ge]=Gt[ye]=Gt[be]=Gt[De]=!1;var Jt={};Jt[ae]=Jt[ue]=Jt[_e]=Jt[Ee]=Jt[se]=Jt[ce]=Jt[Ae]=Jt[Ce]=Jt[xe]=Jt[Oe]=Jt[Se]=Jt[pe]=Jt[he]=Jt[ve]=Jt[ge]=Jt[ye]=Jt[be]=Jt[we]=Jt[Fe]=Jt[Pe]=Jt[ke]=Jt[Me]=!0,Jt[le]=Jt[fe]=Jt[De]=!1;var Zt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Qt=parseFloat,en=parseInt,tn="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,nn="object"==typeof self&&self&&self.Object===Object&&self,rn=tn||nn||Function("return this")(),on=t&&!t.nodeType&&t,an=on&&e&&!e.nodeType&&e,un=an&&an.exports===on,sn=un&&tn.process,cn=function(){try{var e=an&&an.require&&an.require("util").types;return e||sn&&sn.binding&&sn.binding("util")}catch(e){}}(),ln=cn&&cn.isArrayBuffer,fn=cn&&cn.isDate,dn=cn&&cn.isMap,pn=cn&&cn.isRegExp,hn=cn&&cn.isSet,vn=cn&&cn.isTypedArray,mn=A("length"),gn=C({"\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"
vendor: 5,626 bytes, line 1
1:"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"}),yn=C({"&":"&","<":"<",">":">",'"':""","'":"'"}),bn=C({"&":"&","<":"<",">":">",""":'"',"'":"'"}),wn=function e(t){function n(e){if(Li(e)&&!Fu(e)&&!(e instanceof et)){if(e instanceof C)return e;if(Fo.call(e,"__wrapped__"))return fi(e)}return new C(e)}function r(){}function C(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=V}function et(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ne,this.__views__=[]}function dt(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 pt(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 ht(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 vt(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new ht;++t<n;)this.add(e[t])}function mt(e){this.size=(this.__data__=new pt(e)).size}function gt(e,t){var n=Fu(e),r=!n&&Su(e),i=!n&&!r&&ku(e),o=!n&&!r&&!i&&Iu(e),a=n||r||i||o,u=a?S(e.length,_o):[],s=u.length;for(var c in e)!t&&!Fo.call(e,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Xr(c,s))||u.push(c);return u}function yt(e){var t=e.length;return t?e[Mn(0,t-1)]:V}function bt(e,t){return ui(cr(e),St(t,0,e.length))}function wt(e){return ui(cr(e))}function Dt(e,t,n){(n===V||ki(e[t],n))&&(n!==V||t in e)||xt(e,t,n)}function _t(e,t,n){var r=e[t];Fo.call(e,t)&&ki(r,n)&&(n!==V||t in e)||xt(e,t,n)}function Et(e,t){for(var n=e.length;n--;)if(ki(e[n][0],t))return n;return-1}function At(e,t,n,r){return Oa(e,(function(e,i,o){t(r,e,n(e),o)})),r}function Ct(e,t){return e&&lr(t,Qi(t),e)}function xt(e,t,n){"__proto__"==t&&Yo?Yo(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Ot(e,t){for(var n=-1,r=t.length,i=vo(r),o=null==e;++n<r;)i[n]=o?V:Ji(e,t[n]);return i}function St(e,t,n){return e===e&&(n!==V&&(e=e<=n?e:n),t!==V&&(e=e>=t?e:t)),e}function Ft(e,t,n,r,i,o){var u,s=1&t,c=2&t,l=4&t;if(n&&(u=i?n(e,r,i,o):n(e)),u!==V)return u;if(!Ni(e))return e;var f=Fu(e);if(f){if(u=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Fo.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!s)return cr(e,u)}else{var d=La(e),p=d==fe||d==de;if(ku(e))return rr(e,s);if(d==ve||d==ae||p&&!i){if(u=c||p?{}:Yr(e),!s)return c?function(e,t){return lr(e,Na(e),t)}(e,function(e,t){return e&&lr(t,eo(t),e)}(u,e)):function(e,t){return lr(e,Ra(e),t)}(e,Ct(u,e))}else{if(!Jt[d])return i?e:{};u=function(e,t,n){var r=e.constructor;switch(t){case _e:return ir(e);case se:case ce:return new r(+e);case Ee:return function(e,t){return new e.constructor(t?ir(e.buffer):e.buffer,e.byteOffset,e.byteLength)}(e,n);case Ae:case Ce:case xe:case Oe:case Se:case Fe:case Pe:case ke:case Me:return or(e,n);case pe:return new r;case he:case be:return new r(e);case ge:return function(e){var t=new e.constructor(e.source,rt.exec(e));return t.lastIndex=e.lastIndex,t}(e);case ye:return new r;case we:return function(e){return Aa?wo(Aa.call(e)):{}}(e)}}(e,d,s)}}o||(o=new mt);var h=o.get(e);if(h)return h;o.set(e,u),Tu(e)?e.forEach((function(r){u.add(Ft(r,t,n,r,e,o))})):Bu(e)&&e.forEach((function(r,i){u.set(i,Ft(r,t,n,i,e,o))}));var v=f?V:(l?c?Lr:Nr:c?eo:Qi)(e);return a(v||e,(function(r,i){v&&(r=e[i=r]),_t(u,i,Ft(r,t,n,i,e,o))})),u}function Pt(e,t,n){var r=n.length;if(null==e)return!r;for(e=wo(e);r--;){var i=n[r],o=t[i],a=e[i];if(a===V&&!(i in e)||!o(a))return!1}return!0}function kt(e,t,n){if("function"!=typeof e)throw new Eo($);return Ua((function(){e.apply(V,n)}),t)}function Mt(e,t,n,r){var i=-1,o=l,a=!0,u=e.length,s=[],c=t.length;if(!u)return s;n&&(t=d(t,F(n))),r?(o=f,a=!1):t.length>=200&&(o=k,a=!1,t=new vt(t));e:for(;++i<u;){var p=e[i],h=null==n?p:n(p);if(p=r||0!==p?p:0,a&&h===h){for(var v=c;v--;)if(t[v]===h)continue e;s.push(p)}else o(t,h,r)||s.push(p)}return s}function Bt(e,t){var n=!0;return Oa(e,(function(e,r,i){return n=!!t(e,r,i)})),n}function jt(e,t,n){for(var r=-1,i=e.length;++r<i;){var o=e[r],a=t(o);if(null!=a&&(u===V?a===a&&!Hi(a):n(a,u)))var u=a,s=o}return s}function Tt(e,t){var n=[];return Oa(e,(function(e,r,i){t(e,r,i)&&n.push(e)})),n}function It(e,t,n,r,i){var o=-1,a=e.length;for(n||(n=qr),i||(i=[]);++o<a;){var u=e[o];t>0&&n(u)?t>1?It(u,t-1,n,r,i):p(i,u):r||(i[i.length]=u)}return i}function Rt(e,t){return e&&Fa(e,t,Qi)}function Nt(e,t){return e&&Pa(e,t,Qi)}function Lt(e,t){return c(t,(function(t){return Ti(e[t])}))}function zt(e,t){for(var n=0,r=(t=tr(t,e)).length;null!=e&&n<r;)e=e[si(t[n++])];return n&&n==r?e:V}function Wt(e,t,n){var r=t(e);return Fu(e)?r:p(r,n(e))}
vendor: 1,838 bytes, line 1
1function Vt(e){return null==e?e===V?"[object Undefined]":"[object Null]":Ko&&Ko in wo(e)?function(e){var t=Fo.call(e,Ko),n=e[Ko];try{e[Ko]=V;var r=!0}catch(e){}var i=Mo.call(e);return r&&(t?e[Ko]=n:delete e[Ko]),i}(e):function(e){return Mo.call(e)}(e)}function $t(e,t){return e>t}function Kt(e,t){return null!=e&&Fo.call(e,t)}function Yt(e,t){return null!=e&&t in wo(e)}function Zt(e,t,n){for(var r=n?f:l,i=e[0].length,o=e.length,a=o,u=vo(o),s=1/0,c=[];a--;){var p=e[a];a&&t&&(p=d(p,F(t))),s=oa(p.length,s),u[a]=!n&&(t||i>=120&&p.length>=120)?new vt(a&&p):V}p=e[0];var h=-1,v=u[0];e:for(;++h<i&&c.length<s;){var m=p[h],g=t?t(m):m;if(m=n||0!==m?m:0,!(v?k(v,g):r(c,g,n))){for(a=o;--a;){var y=u[a];if(!(y?k(y,g):r(e[a],g,n)))continue e}v&&v.push(g),c.push(m)}}return c}function tn(e,t,n){var r=null==(e=ri(e,t=tr(t,e)))?e:e[si(mi(t))];return null==r?V:i(r,e,n)}function nn(e){return Li(e)&&Vt(e)==ae}function on(e,t,n,r,i){return e===t||(null==e||null==t||!Li(e)&&!Li(t)?e!==e&&t!==t:function(e,t,n,r,i,o){var a=Fu(e),u=Fu(t),s=a?ue:La(e),c=u?ue:La(t);s=s==ae?ve:s,c=c==ae?ve:c;var l=s==ve,f=c==ve,d=s==c;if(d&&ku(e)){if(!ku(t))return!1;a=!0,l=!1}if(d&&!l)return o||(o=new mt),a||Iu(e)?Ir(e,t,n,r,i,o):function(e,t,n,r,i,o,a){switch(n){case Ee:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case _e:return!(e.byteLength!=t.byteLength||!o(new No(e),new No(t)));case se:case ce:case he:return ki(+e,+t);case le:return e.name==t.name&&e.message==t.message;case ge:case be:return e==t+"";case pe:var u=R;case ye:var s=1&r;if(u||(u=z),e.size!=t.size&&!s)return!1;var c=a.get(e);if(c)return c==t;r|=2,a.set(e,t);var l=Ir(u(e),u(t),r,i,o,a);return a.delete(e),l;case we:if(Aa)return Aa.call(e)==Aa.call(t)}return!1}(e,t,s,n,r,i,o);if(!(1&n)){var p=l&&Fo.call(e,"__wrapped__"),h=f&&Fo.call(t,"__wrapped__");
vendor: 32,821 bytes, line 1
1if(p||h){var v=p?e.value():e,m=h?t.value():t;return o||(o=new mt),i(v,m,n,r,o)}}return!!d&&(o||(o=new mt),function(e,t,n,r,i,o){var a=1&n,u=Nr(e),s=u.length;if(s!=Nr(t).length&&!a)return!1;for(var c=s;c--;){var l=u[c];if(!(a?l in t:Fo.call(t,l)))return!1}var f=o.get(e),d=o.get(t);if(f&&d)return f==t&&d==e;var p=!0;o.set(e,t),o.set(t,e);for(var h=a;++c<s;){var v=e[l=u[c]],m=t[l];if(r)var g=a?r(m,v,l,t,e,o):r(v,m,l,e,t,o);if(!(g===V?v===m||i(v,m,n,r,o):g)){p=!1;break}h||(h="constructor"==l)}if(p&&!h){var y=e.constructor,b=t.constructor;y!=b&&"constructor"in e&&"constructor"in t&&!("function"==typeof y&&y instanceof y&&"function"==typeof b&&b instanceof b)&&(p=!1)}return o.delete(e),o.delete(t),p}(e,t,n,r,i,o))}(e,t,n,r,on,i))}function an(e,t,n,r){var i=n.length,o=i,a=!r;if(null==e)return!o;for(e=wo(e);i--;){var u=n[i];if(a&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++i<o;){var s=(u=n[i])[0],c=e[s],l=u[1];if(a&&u[2]){if(c===V&&!(s in e))return!1}else{var f=new mt;if(r)var d=r(c,l,s,e,t,f);if(!(d===V?on(l,c,3,r,f):d))return!1}}return!0}function sn(e){return!(!Ni(e)||function(e){return!!ko&&ko in e}(e))&&(Ti(e)?To:at).test(ci(e))}function cn(e){return"function"==typeof e?e:null==e?uo:"object"==typeof e?Fu(e)?Cn(e[0],e[1]):An(e):fo(e)}function mn(e){if(!Qr(e))return ra(e);var t=[];for(var n in wo(e))Fo.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Dn(e){if(!Ni(e))return function(e){var t=[];if(null!=e)for(var n in wo(e))t.push(n);return t}(e);var t=Qr(e),n=[];for(var r in e)("constructor"!=r||!t&&Fo.call(e,r))&&n.push(r);return n}function _n(e,t){return e<t}function En(e,t){var n=-1,r=Mi(e)?vo(e.length):[];return Oa(e,(function(e,i,o){r[++n]=t(e,i,o)})),r}function An(e){var t=Vr(e);return 1==t.length&&t[0][2]?ti(t[0][0],t[0][1]):function(n){return n===e||an(n,e,t)}}function Cn(e,t){return Jr(e)&&ei(t)?ti(si(e),t):function(n){var r=Ji(n,e);return r===V&&r===t?Zi(n,e):on(t,r,3)}}function xn(e,t,n,r,i){e!==t&&Fa(t,(function(o,a){if(i||(i=new mt),Ni(o))!function(e,t,n,r,i,o,a){var u=ii(e,n),s=ii(t,n),c=a.get(s);if(c)return Dt(e,n,c),V;var l=o?o(u,s,n+"",e,t,a):V,f=l===V;if(f){var d=Fu(s),p=!d&&ku(s),h=!d&&!p&&Iu(s);l=s,d||p||h?Fu(u)?l=u:Bi(u)?l=cr(u):p?(f=!1,l=rr(s,!0)):h?(f=!1,l=or(s,!0)):l=[]:Wi(s)||Su(s)?(l=u,Su(u)?l=Xi(u):Ni(u)&&!Ti(u)||(l=Yr(s))):f=!1}f&&(a.set(s,l),i(l,s,r,o,a),a.delete(s)),Dt(e,n,l)}(e,t,a,n,xn,r,i);else{var u=r?r(ii(e,a),o,a+"",e,t,i):V;u===V&&(u=o),Dt(e,a,u)}}),eo)}function On(e,t){var n=e.length;if(n)return Xr(t+=t<0?n:0,n)?e[t]:V}function Sn(e,t,n){t=t.length?d(t,(function(e){return Fu(e)?function(t){return zt(t,1===e.length?e[0]:e)}:e})):[uo];var r=-1;return t=d(t,F(Ur())),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(En(e,(function(e,n,i){return{criteria:d(t,(function(t){return t(e)})),index:++r,value:e}})),(function(e,t){return function(e,t,n){for(var r=-1,i=e.criteria,o=t.criteria,a=i.length,u=n.length;++r<a;){var s=ar(i[r],o[r]);if(s)return r>=u?s:s*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function Fn(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var a=t[r],u=zt(e,a);n(u,a)&&Rn(o,tr(a,e),u)}return o}function Pn(e,t,n,r){var i=r?D:w,o=-1,a=t.length,u=e;for(e===t&&(t=cr(t)),n&&(u=d(e,F(n)));++o<a;)for(var s=0,c=t[o],l=n?n(c):c;(s=i(u,l,s,r))>-1;)u!==e&&Ho.call(u,s,1),Ho.call(e,s,1);return e}function kn(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==o){var o=i;Xr(i)?Ho.call(e,i,1):Yn(e,i)}}return e}function Mn(e,t){return e+Zo(sa()*(t-e+1))}function Bn(e,t){var n="";if(!e||t<1||t>ee)return n;do{t%2&&(n+=e),(t=Zo(t/2))&&(e+=e)}while(t);return n}function jn(e,t){return Ha(ni(e,t,uo),e+"")}function Tn(e){return yt(no(e))}function In(e,t){var n=no(e);return ui(n,St(t,0,n.length))}function Rn(e,t,n,r){if(!Ni(e))return e;for(var i=-1,o=(t=tr(t,e)).length,a=o-1,u=e;null!=u&&++i<o;){var s=si(t[i]),c=n;if("__proto__"===s||"constructor"===s||"prototype"===s)return e;if(i!=a){var l=u[s];(c=r?r(l,s,u):V)===V&&(c=Ni(l)?l:Xr(t[i+1])?[]:{})}_t(u,s,c),u=u[s]}return e}function Nn(e){return ui(no(e))}function Ln(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=vo(i);++r<i;)o[r]=e[r+t];return o}function zn(e,t){var n;return Oa(e,(function(e,r,i){return!(n=t(e,r,i))})),!!n}function Wn(e,t,n){var r=0,i=null==e?r:e.length;if("number"==typeof t&&t===t&&i<=ie){for(;r<i;){var o=r+i>>>1,a=e[o];null!==a&&!Hi(a)&&(n?a<=t:a<t)?r=o+1:i=o}return i}return Un(e,t,uo,n)}function Un(e,t,n,r){var i=0,o=null==e?0:e.length;if(0===o)return 0;for(var a=(t=n(t))!==t,u=null===t,s=Hi(t),c=t===V;i<o;){var l=Zo((i+o)/2),f=n(e[l]),d=f!==V,p=null===f,h=f===f,v=Hi(f);if(a)var m=r||h;else m=c?h&&(r||d):u?h&&d&&(r||!p):s?h&&d&&!p&&(r||!v):!p&&!v&&(r?f<=t:f<t);m?i=l+1:o=l}return oa(o,re)}function Hn(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n],u=t?t(a):a;if(!n||!ki(u,s)){var s=u;o[i++]=0===a?0:a}}return o}function Vn(e){return"number"==typeof e?e:Hi(e)?te:+e}function $n(e){if("string"==typeof e)return e;if(Fu(e))return d(e,$n)+"";if(Hi(e))return Ca?Ca.call(e):"";var t=e+"";return"0"==t&&1/e==-Q?"-0":t}function Kn(e,t,n){var r=-1,i=l,o=e.length,a=!0,u=[],s=u;if(n)a=!1,i=f;else if(o>=200){var c=t?null:Ta(e);if(c)return z(c);a=!1,i=k,s=new vt}else s=t?[]:u;e:for(;++r<o;){var d=e[r],p=t?t(d):d;if(d=n||0!==d?d:0,a&&p===p){for(var h=s.length;h--;)if(s[h]===p)continue e;t&&s.push(p),u.push(d)}else i(s,p,n)||(s!==u&&s.push(p),u.push(d))}return u}function Yn(e,t){return null==(e=ri(e,t=tr(t,e)))||delete e[si(mi(t))]}function qn(e,t,n,r){return Rn(e,t,n(zt(e,t)),r)}function Xn(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?Ln(e,r?0:o,r?o+1:i):Ln(e,r?o+1:0,r?i:o)}function Gn(e,t){var n=e;return n instanceof et&&(n=n.value()),h(t,(function(e,t){return t.func.apply(t.thisArg,p([e],t.args))}),n)}function Jn(e,t,n){var r=e.length;if(r<2)return r?Kn(e[0]):[];for(var i=-1,o=vo(r);++i<r;)for(var a=e[i],u=-1;++u<r;)u!=i&&(o[i]=Mt(o[i]||a,e[u],t,n));return Kn(It(o,1),t,n)}function Zn(e,t,n){for(var r=-1,i=e.length,o=t.length,a={};++r<i;)n(a,e[r],r<o?t[r]:V);return a}function Qn(e){return Bi(e)?e:[]}function er(e){return"function"==typeof e?e:uo}function tr(e,t){return Fu(e)?e:Jr(e,t)?[e]:Va(Gi(e))}function nr(e,t,n){var r=e.length;return n=n===V?r:n,!t&&n>=r?e:Ln(e,t,n)}function rr(e,t){if(t)return e.slice();var n=e.length,r=Lo?Lo(n):new e.constructor(n);return e.copy(r),r}function ir(e){var t=new e.constructor(e.byteLength);return new No(t).set(new No(e)),t}function or(e,t){return new e.constructor(t?ir(e.buffer):e.buffer,e.byteOffset,e.length)}function ar(e,t){if(e!==t){var n=e!==V,r=null===e,i=e===e,o=Hi(e),a=t!==V,u=null===t,s=t===t,c=Hi(t);if(!u&&!c&&!o&&e>t||o&&a&&s&&!u&&!c||r&&a&&s||!n&&s||!i)return 1;if(!r&&!o&&!c&&e<t||c&&n&&i&&!r&&!o||u&&n&&i||!a&&i||!s)return-1}return 0}function ur(e,t,n,r){for(var i=-1,o=e.length,a=n.length,u=-1,s=t.length,c=ia(o-a,0),l=vo(s+c),f=!r;++u<s;)l[u]=t[u];for(;++i<a;)(f||i<o)&&(l[n[i]]=e[i]);for(;c--;)l[u++]=e[i++];return l}function sr(e,t,n,r){for(var i=-1,o=e.length,a=-1,u=n.length,s=-1,c=t.length,l=ia(o-u,0),f=vo(l+c),d=!r;++i<l;)f[i]=e[i];for(var p=i;++s<c;)f[p+s]=t[s];for(;++a<u;)(d||i<o)&&(f[p+n[a]]=e[i++]);return f}function cr(e,t){var n=-1,r=e.length;for(t||(t=vo(r));++n<r;)t[n]=e[n];return t}function lr(e,t,n,r){var i=!n;n||(n={});for(var o=-1,a=t.length;++o<a;){var u=t[o],s=r?r(n[u],e[u],u,n,e):V;s===V&&(s=e[u]),i?xt(n,u,s):_t(n,u,s)}return n}function fr(e,t){return function(n,r){var i=Fu(n)?o:At,a=t?t():{};return i(n,e,Ur(r,2),a)}}function dr(e){return jn((function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:V,a=i>2?n[2]:V;for(o=e.length>3&&"function"==typeof o?(i--,o):V,a&&Gr(n[0],n[1],a)&&(o=i<3?V:o,i=1),t=wo(t);++r<i;){var u=n[r];u&&e(t,u,r,o)}return t}))}function pr(e,t){return function(n,r){if(null==n)return n;if(!Mi(n))return e(n,r);for(var i=n.length,o=t?i:-1,a=wo(n);(t?o--:++o<i)&&!1!==r(a[o],o,a););return n}}function hr(e){return function(t,n,r){for(var i=-1,o=wo(t),a=r(t),u=a.length;u--;){var s=a[e?u:++i];if(!1===n(o[s],s,o))break}return t}}function vr(e){return function(t){var n=T(t=Gi(t))?U(t):V,r=n?n[0]:t.charAt(0),i=n?nr(n,1).join(""):t.slice(1);return r[e]()+i}}function mr(e){return function(t){return h(oo(io(t).replace(Ut,"")),e,"")}}function gr(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=xa(e.prototype),r=e.apply(n,t);return Ni(r)?r:n}}function yr(e,t,n){var r=gr(e);return function o(){for(var a=arguments.length,u=vo(a),s=a,c=Wr(o);s--;)u[s]=arguments[s];var l=a<3&&u[0]!==c&&u[a-1]!==c?[]:L(u,c);return(a-=l.length)<n?Fr(e,t,Dr,o.placeholder,V,u,l,V,V,n-a):i(this&&this!==rn&&this instanceof o?r:e,this,u)}}function br(e){return function(t,n,r){var i=wo(t);if(!Mi(t)){var o=Ur(n,3);t=Qi(t),n=function(e){return o(i[e],e,i)}}var a=e(t,n,r);return a>-1?i[o?t[a]:a]:V}}function wr(e){return Rr((function(t){var n=t.length,r=n,i=C.prototype.thru;for(e&&t.reverse();r--;){var o=t[r];if("function"!=typeof o)throw new Eo($);if(i&&!a&&"wrapper"==zr(o))var a=new C([],!0)}for(r=a?r:n;++r<n;){var u=zr(o=t[r]),s="wrapper"==u?Ia(o):V;a=s&&Zr(s[0])&&424==s[1]&&!s[4].length&&1==s[9]?a[zr(s[0])].apply(a,s[3]):1==o.length&&Zr(o)?a[u]():a.thru(o)}return function(){var e=arguments,r=e[0];if(a&&1==e.length&&Fu(r))return a.plant(r).value();for(var i=0,o=n?t[i].apply(this,e):r;++i<n;)o=t[i].call(this,o);return o}}))}function Dr(e,t,n,r,i,o,a,u,s,c){var l=t&J,f=1&t,d=2&t,p=24&t,h=512&t,v=d?V:gr(e);return function m(){for(var g=arguments.length,y=vo(g),b=g;b--;)y[b]=arguments[b];if(p)var w=Wr(m),D=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(y,w);if(r&&(y=ur(y,r,i,p)),o&&(y=sr(y,o,a,p)),g-=D,p&&g<c)return Fr(e,t,Dr,m.placeholder,n,y,L(y,w),u,s,c-g);var _=f?n:this,E=d?_[e]:e;return g=y.length,u?y=function(e,t){for(var n=e.length,r=oa(t.length,n),i=cr(e);r--;){var o=t[r];e[r]=Xr(o,n)?i[o]:V}return e}(y,u):h&&g>1&&y.reverse(),l&&s<g&&(y.length=s),this&&this!==rn&&this instanceof m&&(E=v||gr(E)),E.apply(_,y)}}function _r(e,t){return function(n,r){return function(e,t,n,r){return Rt(e,(function(e,i,o){t(r,n(e),i,o)})),r}(n,e,t(r),{})}}function Er(e,t){return function(n,r){var i;if(n===V&&r===V)return t;if(n!==V&&(i=n),r!==V){if(i===V)return r;"string"==typeof n||"string"==typeof r?(n=$n(n),r=$n(r)):(n=Vn(n),r=Vn(r)),i=e(n,r)}return i}}function Ar(e){return Rr((function(t){return t=d(t,F(Ur())),jn((function(n){var r=this;return e(t,(function(e){return i(e,r,n)}))}))}))}function Cr(e,t){var n=(t=t===V?" ":$n(t)).length;if(n<2)return n?Bn(t,e):t;var r=Bn(t,Jo(e/W(t)));return T(t)?nr(U(r),0,e).join(""):r.slice(0,e)}function xr(e,t,n,r){var o=1&t,a=gr(e);return function t(){for(var u=-1,s=arguments.length,c=-1,l=r.length,f=vo(l+s),d=this&&this!==rn&&this instanceof t?a:e;++c<l;)f[c]=r[c];for(;s--;)f[c++]=arguments[++u];return i(d,o?n:this,f)}}function Or(e){return function(t,n,r){return r&&"number"!=typeof r&&Gr(t,n,r)&&(n=r=V),t=$i(t),n===V?(n=t,t=0):n=$i(n),function(e,t,n,r){for(var i=-1,o=ia(Jo((t-e)/(n||1)),0),a=vo(o);o--;)a[r?o:++i]=e,e+=n;return a}(t,n,r=r===V?t<n?1:-1:$i(r),e)}}function Sr(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=qi(t),n=qi(n)),e(t,n)}}function Fr(e,t,n,r,i,o,a,u,s,c){var l=8&t;t|=l?X:G,4&(t&=~(l?G:X))||(t&=-4);var f=[e,t,i,l?o:V,l?a:V,l?V:o,l?V:a,u,s,c],d=n.apply(V,f);return Zr(e)&&Wa(d,f),d.placeholder=r,oi(d,e,t)}function Pr(e){var t=bo[e];return function(e,n){if(e=qi(e),(n=null==n?0:oa(Ki(n),292))&&ta(e)){var r=(Gi(e)+"e").split("e");return+((r=(Gi(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}function kr(e){return function(t){var n=La(t);return n==pe?R(t):n==ye?function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}(t):function(e,t){return d(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Mr(e,t,n,r,i,o,a,u){var s=2&t;if(!s&&"function"!=typeof e)throw new Eo($);var c=r?r.length:0;if(c||(t&=-97,r=i=V),a=a===V?a:ia(Ki(a),0),u=u===V?u:Ki(u),c-=i?i.length:0,t&G){var l=r,f=i;r=i=V}var d=s?V:Ia(e),p=[e,t,n,r,i,l,f,o,a,u];if(d&&function(e,t){var n=e[1],r=t[1],i=n|r,o=i<131,a=r==J&&8==n||r==J&&n==Z&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!o&&!a)return e;1&r&&(e[2]=t[2],i|=1&n?0:4);var u=t[3];if(u){var s=e[3];e[3]=s?ur(s,u,t[4]):u,e[4]=s?L(e[3],Y):t[4]}u=t[5],u&&(s=e[5],e[5]=s?sr(s,u,t[6]):u,e[6]=s?L(e[5],Y):t[6]),u=t[7],u&&(e[7]=u),r&J&&(e[8]=null==e[8]?t[8]:oa(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i}(p,d),e=p[0],t=p[1],n=p[2],r=p[3],i=p[4],!(u=p[9]=p[9]===V?s?0:e.length:ia(p[9]-c,0))&&24&t&&(t&=-25),t&&1!=t)h=8==t||t==q?yr(e,t,u):t!=X&&33!=t||i.length?Dr.apply(V,p):xr(e,t,n,r);else var h=function(e,t,n){var r=1&t,i=gr(e);return function t(){return(this&&this!==rn&&this instanceof t?i:e).apply(r?n:this,arguments)}}(e,t,n);return oi((d?ka:Wa)(h,p),e,t)}function Br(e,t,n,r){return e===V||ki(e,xo[n])&&!Fo.call(r,n)?t:e}function jr(e,t,n,r,i,o){return Ni(e)&&Ni(t)&&(o.set(t,e),xn(e,t,V,jr,o),o.delete(t)),e}function Tr(e){return Wi(e)?V:e}function Ir(e,t,n,r,i,o){var a=1&n,u=e.length,s=t.length;if(u!=s&&!(a&&s>u))return!1;var c=o.get(e),l=o.get(t);if(c&&l)return c==t&&l==e;var f=-1,d=!0,p=2&n?new vt:V;for(o.set(e,t),o.set(t,e);++f<u;){var h=e[f],v=t[f];if(r)var g=a?r(v,h,f,t,e,o):r(h,v,f,e,t,o);if(g!==V){if(g)continue;d=!1;break}if(p){if(!m(t,(function(e,t){if(!k(p,t)&&(h===e||i(h,e,n,r,o)))return p.push(t)}))){d=!1;break}}else if(h!==v&&!i(h,v,n,r,o)){d=!1;break}}return o.delete(e),o.delete(t),d}function Rr(e){return Ha(ni(e,V,hi),e+"")}function Nr(e){return Wt(e,Qi,Ra)}function Lr(e){return Wt(e,eo,Na)}function zr(e){for(var t=e.name+"",n=ga[t],r=Fo.call(ga,t)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function Wr(e){return(Fo.call(n,"placeholder")?n:e).placeholder}function Ur(){var e=n.iteratee||so;return e=e===so?cn:e,arguments.length?e(arguments[0],arguments[1]):e}function Hr(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 Vr(e){for(var t=Qi(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,ei(i)]}return t}function $r(e,t){var n=function(e,t){return null==e?V:e[t]}(e,t);return sn(n)?n:V}function Kr(e,t,n){for(var r=-1,i=(t=tr(t,e)).length,o=!1;++r<i;){var a=si(t[r]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&Ri(i)&&Xr(a,i)&&(Fu(e)||Su(e))}function Yr(e){return"function"!=typeof e.constructor||Qr(e)?{}:xa(zo(e))}function qr(e){return Fu(e)||Su(e)||!!(Vo&&e&&e[Vo])}function Xr(e,t){var n=typeof e;return!!(t=null==t?ee:t)&&("number"==n||"symbol"!=n&&st.test(e))&&e>-1&&e%1==0&&e<t}function Gr(e,t,n){if(!Ni(n))return!1;var r=typeof t;return!!("number"==r?Mi(n)&&Xr(t,n.length):"string"==r&&t in n)&&ki(n[t],e)}function Jr(e,t){if(Fu(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Hi(e))||Ve.test(e)||!He.test(e)||null!=t&&e in wo(t)}function Zr(e){var t=zr(e),r=n[t];if("function"!=typeof r||!(t in et.prototype))return!1;if(e===r)return!0;var i=Ia(r);return!!i&&e===i[0]}function Qr(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||xo)}function ei(e){return e===e&&!Ni(e)}function ti(e,t){return function(n){return null!=n&&n[e]===t&&(t!==V||e in wo(n))}}function ni(e,t,n){return t=ia(t===V?e.length-1:t,0),function(){for(var r=arguments,o=-1,a=ia(r.length-t,0),u=vo(a);++o<a;)u[o]=r[t+o];o=-1;for(var s=vo(t+1);++o<t;)s[o]=r[o];return s[t]=n(u),i(e,this,s)}}function ri(e,t){return t.length<2?e:zt(e,Ln(t,0,-1))}function ii(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}function oi(e,t,n){var r=t+"";return Ha(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(Je,"{\n/* [wrapped with "+t+"] */\n")}(r,li(function(e){var t=e.match(Ze);return t?t[1].split(Qe):[]}(r),n)))}function ai(e){var t=0,n=0;return function(){var r=aa(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(V,arguments)}}function ui(e,t){var n=-1,r=e.length,i=r-1;for(t=t===V?r:t;++n<t;){var o=Mn(n,i),a=e[o];e[o]=e[n],e[n]=a}return e.length=t,e}function si(e){if("string"==typeof e||Hi(e))return e;var t=e+"";return"0"==t&&1/e==-Q?"-0":t}function ci(e){if(null!=e){try{return So.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function li(e,t){return a(oe,(function(n){var r="_."+n[0];t&n[1]&&!l(e,r)&&e.push(r)})),e.sort()}function fi(e){if(e instanceof et)return e.clone();var t=new C(e.__wrapped__,e.__chain__);return t.__actions__=cr(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function di(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:Ki(n);return i<0&&(i=ia(r+i,0)),b(e,Ur(t,3),i)}function pi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return n!==V&&(i=Ki(n),i=n<0?ia(r+i,0):oa(i,r-1)),b(e,Ur(t,3),i,!0)}function hi(e){return null!=e&&e.length?It(e,1):[]}function vi(e){return e&&e.length?e[0]:V}function mi(e){var t=null==e?0:e.length;return t?e[t-1]:V}function gi(e,t){return e&&e.length&&t&&t.length?Pn(e,t):e}function yi(e){return null==e?e:ca.call(e)}function bi(e){if(!e||!e.length)return[];var t=0;return e=c(e,(function(e){if(Bi(e))return t=ia(e.length,t),!0})),S(t,(function(t){return d(e,A(t))}))}function wi(e,t){if(!e||!e.length)return[];var n=bi(e);return null==t?n:d(n,(function(e){return i(t,V,e)}))}function Di(e){var t=n(e);return t.__chain__=!0,t}function _i(e,t){return t(e)}function Ei(e,t){return(Fu(e)?a:Oa)(e,Ur(t,3))}function Ai(e,t){return(Fu(e)?u:Sa)(e,Ur(t,3))}function Ci(e,t){return(Fu(e)?d:En)(e,Ur(t,3))}function xi(e,t,n){return t=n?V:t,t=e&&null==t?e.length:t,Mr(e,J,V,V,V,V,t)}function Oi(e,t){var n;if("function"!=typeof t)throw new Eo($);return e=Ki(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=V),n}}function Si(e,t,n){function r(t){var n=s,r=c;return s=c=V,h=t,f=e.apply(r,n)}function i(e){var n=e-p;return p===V||n>=t||n<0||m&&e-h>=l}function o(){var e=gu();return i(e)?a(e):(d=Ua(o,function(e){var n=t-(e-p);return m?oa(n,l-(e-h)):n}(e)),V)}function a(e){return d=V,g&&s?r(e):(s=c=V,f)}function u(){var e=gu(),n=i(e);if(s=arguments,c=this,p=e,n){if(d===V)return function(e){return h=e,d=Ua(o,t),v?r(e):f}(p);if(m)return ja(d),d=Ua(o,t),r(p)}return d===V&&(d=Ua(o,t)),f}var s,c,l,f,d,p,h=0,v=!1,m=!1,g=!0;if("function"!=typeof e)throw new Eo($);return t=qi(t)||0,Ni(n)&&(v=!!n.leading,l=(m="maxWait"in n)?ia(qi(n.maxWait)||0,t):l,g="trailing"in n?!!n.trailing:g),u.cancel=function(){d!==V&&ja(d),h=0,s=p=c=d=V},u.flush=function(){return d===V?f:a(gu())},u}function Fi(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Eo($);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(Fi.Cache||ht),n}function Pi(e){if("function"!=typeof e)throw new Eo($);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)}}function ki(e,t){return e===t||e!==e&&t!==t}function Mi(e){return null!=e&&Ri(e.length)&&!Ti(e)}function Bi(e){return Li(e)&&Mi(e)}function ji(e){if(!Li(e))return!1;var t=Vt(e);return t==le||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!Wi(e)}function Ti(e){if(!Ni(e))return!1;var t=Vt(e);return t==fe||t==de||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ii(e){return"number"==typeof e&&e==Ki(e)}function Ri(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=ee}function Ni(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Li(e){return null!=e&&"object"==typeof e}function zi(e){return"number"==typeof e||Li(e)&&Vt(e)==he}function Wi(e){if(!Li(e)||Vt(e)!=ve)return!1;var t=zo(e);if(null===t)return!0;var n=Fo.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&So.call(n)==Bo}function Ui(e){return"string"==typeof e||!Fu(e)&&Li(e)&&Vt(e)==be}function Hi(e){return"symbol"==typeof e||Li(e)&&Vt(e)==we}function Vi(e){if(!e)return[];if(Mi(e))return Ui(e)?U(e):cr(e);if($o&&e[$o])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[$o]());var t=La(e);return(t==pe?R:t==ye?z:no)(e)}function $i(e){return e?(e=qi(e))===Q||e===-Q?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0}function Ki(e){var t=$i(e),n=t%1;return t===t?n?t-n:t:0}function Yi(e){return e?St(Ki(e),0,ne):0}function qi(e){if("number"==typeof e)return e;if(Hi(e))return te;if(Ni(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Ni(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(qe,"");var n=ot.test(e);return n||ut.test(e)?en(e.slice(2),n?2:8):it.test(e)?te:+e}function Xi(e){return lr(e,eo(e))}function Gi(e){return null==e?"":$n(e)}function Ji(e,t,n){var r=null==e?V:zt(e,t);return r===V?n:r}function Zi(e,t){return null!=e&&Kr(e,t,Yt)}function Qi(e){return Mi(e)?gt(e):mn(e)}function eo(e){return Mi(e)?gt(e,!0):Dn(e)}function to(e,t){if(null==e)return{};var n=d(Lr(e),(function(e){return[e]}));return t=Ur(t),Fn(e,n,(function(e,n){return t(e,n[0])}))}function no(e){return null==e?[]:P(e,Qi(e))}function ro(e){return ss(Gi(e).toLowerCase())}function io(e){return(e=Gi(e))&&e.replace(ct,gn).replace(Ht,"")}function oo(e,t,n){return e=Gi(e),(t=n?V:t)===V?I(e)?H(e):g(e):e.match(t)||[]}function ao(e){return function(){return e}}function uo(e){return e}function so(e){return cn("function"==typeof e?e:Ft(e,1))}function co(e,t,n){var r=Qi(t),i=Lt(t,r);null!=n||Ni(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=Lt(t,Qi(t)));var o=!(Ni(n)&&"chain"in n&&!n.chain),u=Ti(e);return a(i,(function(n){var r=t[n];e[n]=r,u&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__);return(n.__actions__=cr(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,p([this.value()],arguments))})})),e}function lo(){}function fo(e){return Jr(e)?A(si(e)):function(e){return function(t){return zt(t,e)}}(e)}function po(){return[]}function ho(){return!1}var vo=(t=null==t?rn:wn.defaults(rn.Object(),t,wn.pick(rn,qt))).Array,mo=t.Date,go=t.Error,yo=t.Function,bo=t.Math,wo=t.Object,Do=t.RegExp,_o=t.String,Eo=t.TypeError,Ao=vo.prototype,Co=yo.prototype,xo=wo.prototype,Oo=t["__core-js_shared__"],So=Co.toString,Fo=xo.hasOwnProperty,Po=0,ko=function(){var e=/[^.]+$/.exec(Oo&&Oo.keys&&Oo.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Mo=xo.toString,Bo=So.call(wo),jo=rn._,To=Do("^"+So.call(Fo).replace(Ke,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Io=un?t.Buffer:V,Ro=t.Symbol,No=t.Uint8Array,Lo=Io?Io.allocUnsafe:V,zo=N(wo.getPrototypeOf,wo),Wo=wo.create,Uo=xo.propertyIsEnumerable,Ho=Ao.splice,Vo=Ro?Ro.isConcatSpreadable:V,$o=Ro?Ro.iterator:V,Ko=Ro?Ro.toStringTag:V,Yo=function(){try{var e=$r(wo,"defineProperty");return e({},"",{}),e}catch(e){}}(),qo=t.clearTimeout!==rn.clearTimeout&&t.clearTimeout,Xo=mo&&mo.now!==rn.Date.now&&mo.now,Go=t.setTimeout!==rn.setTimeout&&t.setTimeout,Jo=bo.ceil,Zo=bo.floor,Qo=wo.getOwnPropertySymbols,ea=Io?Io.isBuffer:V,ta=t.isFinite,na=Ao.join,ra=N(wo.keys,wo),ia=bo.max,oa=bo.min,aa=mo.now,ua=t.parseInt,sa=bo.random,ca=Ao.reverse,la=$r(t,"DataView"),fa=$r(t,"Map"),da=$r(t,"Promise"),pa=$r(t,"Set"),ha=$r(t,"WeakMap"),va=$r(wo,"create"),ma=ha&&new ha,ga={},ya=ci(la),ba=ci(fa),wa=ci(da),Da=ci(pa),_a=ci(ha),Ea=Ro?Ro.prototype:V,Aa=Ea?Ea.valueOf:V,Ca=Ea?Ea.toString:V,xa=function(){function e(){}return function(t){if(!Ni(t))return{};if(Wo)return Wo(t);e.prototype=t;var n=new e;return e.prototype=V,n}}();n.templateSettings={escape:ze,evaluate:We,interpolate:Ue,variable:"",imports:{_:n}},n.prototype=r.prototype,n.prototype.constructor=n,C.prototype=xa(r.prototype),C.prototype.constructor=C,et.prototype=xa(r.prototype),et.prototype.constructor=et,dt.prototype.clear=function(){this.__data__=va?va(null):{},this.size=0},dt.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},dt.prototype.get=function(e){var t=this.__data__;if(va){var n=t[e];return n===K?V:n}return Fo.call(t,e)?t[e]:V},dt.prototype.has=function(e){var t=this.__data__;return va?t[e]!==V:Fo.call(t,e)},dt.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=va&&t===V?K:t,this},pt.prototype.clear=function(){this.__data__=[],this.size=0},pt.prototype.delete=function(e){var t=this.__data__,n=Et(t,e);return!(n<0)&&(n==t.length-1?t.pop():Ho.call(t,n,1),--this.size,!0)},pt.prototype.get=function(e){var t=this.__data__,n=Et(t,e);return n<0?V:t[n][1]},pt.prototype.has=function(e){return Et(this.__data__,e)>-1},pt.prototype.set=function(e,t){var n=this.__data__,r=Et(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},ht.prototype.clear=function(){this.size=0,this.__data__={hash:new dt,map:new(fa||pt),string:new dt}},ht.prototype.delete=function(e){var t=Hr(this,e).delete(e);return this.size-=t?1:0,t},ht.prototype.get=function(e){return Hr(this,e).get(e)},ht.prototype.has=function(e){return Hr(this,e).has(e)},ht.prototype.set=function(e,t){var n=Hr(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},vt.prototype.add=vt.prototype.push=function(e){return this.__data__.set(e,K),this},vt.prototype.has=function(e){return this.__data__.has(e)},mt.prototype.clear=function(){this.__data__=new pt,this.size=0},mt.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},mt.prototype.get=function(e){return this.__data__.get(e)},mt.prototype.has=function(e){return this.__data__.has(e)},mt.prototype.set=function(e,t){var n=this.__data__;if(n instanceof pt){var r=n.__data__;if(!fa||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new ht(r)}return n.set(e,t),this.size=n.size,this};var Oa=pr(Rt),Sa=pr(Nt,!0),Fa=hr(),Pa=hr(!0),ka=ma?function(e,t){return ma.set(e,t),e}:uo,Ma=Yo?function(e,t){return Yo(e,"toString",{configurable:!0,enumerable:!1,value:ao(t),writable:!0})}:uo,Ba=jn,ja=qo||function(e){return rn.clearTimeout(e)},Ta=pa&&1/z(new pa([,-0]))[1]==Q?function(e){return new pa(e)}:lo,Ia=ma?function(e){return ma.get(e)}:lo,Ra=Qo?function(e){return null==e?[]:(e=wo(e),c(Qo(e),(function(t){return Uo.call(e,t)})))}:po,Na=Qo?function(e){for(var t=[];e;)p(t,Ra(e)),e=zo(e);return t}:po,La=Vt;(la&&La(new la(new ArrayBuffer(1)))!=Ee||fa&&La(new fa)!=pe||da&&La(da.resolve())!=me||pa&&La(new pa)!=ye||ha&&La(new ha)!=De)&&(La=function(e){var t=Vt(e),n=t==ve?e.constructor:V,r=n?ci(n):"";if(r)switch(r){case ya:return Ee;case ba:return pe;case wa:return me;case Da:return ye;case _a:return De}return t});var za=Oo?Ti:ho,Wa=ai(ka),Ua=Go||function(e,t){return rn.setTimeout(e,t)},Ha=ai(Ma),Va=function(e){var t=Fi(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($e,(function(e,n,r,i){t.push(r?i.replace(tt,"$1"):n||e)})),t})),$a=jn((function(e,t){return Bi(e)?Mt(e,It(t,1,Bi,!0)):[]})),Ka=jn((function(e,t){var n=mi(t);return Bi(n)&&(n=V),Bi(e)?Mt(e,It(t,1,Bi,!0),Ur(n,2)):[]})),Ya=jn((function(e,t){var n=mi(t);return Bi(n)&&(n=V),Bi(e)?Mt(e,It(t,1,Bi,!0),V,n):[]})),qa=jn((function(e){var t=d(e,Qn);return t.length&&t[0]===e[0]?Zt(t):[]})),Xa=jn((function(e){var t=mi(e),n=d(e,Qn);return t===mi(n)?t=V:n.pop(),n.length&&n[0]===e[0]?Zt(n,Ur(t,2)):[]})),Ga=jn((function(e){var t=mi(e),n=d(e,Qn);return(t="function"==typeof t?t:V)&&n.pop(),n.length&&n[0]===e[0]?Zt(n,V,t):[]})),Ja=jn(gi),Za=Rr((function(e,t){var n=null==e?0:e.length,r=Ot(e,t);return kn(e,d(t,(function(e){return Xr(e,n)?+e:e})).sort(ar)),r})),Qa=jn((function(e){return Kn(It(e,1,Bi,!0))})),eu=jn((function(e){var t=mi(e);return Bi(t)&&(t=V),Kn(It(e,1,Bi,!0),Ur(t,2))})),tu=jn((function(e){var t=mi(e);return t="function"==typeof t?t:V,Kn(It(e,1,Bi,!0),V,t)})),nu=jn((function(e,t){return Bi(e)?Mt(e,t):[]})),ru=jn((function(e){return Jn(c(e,Bi))})),iu=jn((function(e){var t=mi(e);return Bi(t)&&(t=V),Jn(c(e,Bi),Ur(t,2))})),ou=jn((function(e){var t=mi(e);return t="function"==typeof t?t:V,Jn(c(e,Bi),V,t)})),au=jn(bi),uu=jn((function(e){var t=e.length,n=t>1?e[t-1]:V;return n="function"==typeof n?(e.pop(),n):V,wi(e,n)})),su=Rr((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return Ot(t,e)};return!(t>1||this.__actions__.length)&&r instanceof et&&Xr(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:_i,args:[i],thisArg:V}),new C(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(V),e}))):this.thru(i)})),cu=fr((function(e,t,n){Fo.call(e,n)?++e[n]:xt(e,n,1)})),lu=br(di),fu=br(pi),du=fr((function(e,t,n){Fo.call(e,n)?e[n].push(t):xt(e,n,[t])})),pu=jn((function(e,t,n){var r=-1,o="function"==typeof t,a=Mi(e)?vo(e.length):[];return Oa(e,(function(e){a[++r]=o?i(t,e,n):tn(e,t,n)})),a})),hu=fr((function(e,t,n){xt(e,n,t)})),vu=fr((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]})),mu=jn((function(e,t){if(null==e)return[];var n=t.length;return n>1&&Gr(e,t[0],t[1])?t=[]:n>2&&Gr(t[0],t[1],t[2])&&(t=[t[0]]),Sn(e,It(t,1),[])})),gu=Xo||function(){return rn.Date.now()},yu=jn((function(e,t,n){var r=1;if(n.length){var i=L(n,Wr(yu));r|=X}return Mr(e,r,t,n,i)})),bu=jn((function(e,t,n){var r=3;if(n.length){var i=L(n,Wr(bu));r|=X}return Mr(t,r,e,n,i)})),wu=jn((function(e,t){return kt(e,1,t)})),Du=jn((function(e,t,n){return kt(e,qi(t)||0,n)}));Fi.Cache=ht;var _u=Ba((function(e,t){var n=(t=1==t.length&&Fu(t[0])?d(t[0],F(Ur())):d(It(t,1),F(Ur()))).length;return jn((function(r){for(var o=-1,a=oa(r.length,n);++o<a;)r[o]=t[o].call(this,r[o]);return i(e,this,r)}))})),Eu=jn((function(e,t){return Mr(e,X,V,t,L(t,Wr(Eu)))})),Au=jn((function(e,t){return Mr(e,G,V,t,L(t,Wr(Au)))})),Cu=Rr((function(e,t){return Mr(e,Z,V,V,V,t)})),xu=Sr($t),Ou=Sr((function(e,t){return e>=t})),Su=nn(function(){return arguments}())?nn:function(e){return Li(e)&&Fo.call(e,"callee")&&!Uo.call(e,"callee")},Fu=vo.isArray,Pu=ln?F(ln):function(e){return Li(e)&&Vt(e)==_e},ku=ea||ho,Mu=fn?F(fn):function(e){return Li(e)&&Vt(e)==ce},Bu=dn?F(dn):function(e){return Li(e)&&La(e)==pe},ju=pn?F(pn):function(e){return Li(e)&&Vt(e)==ge},Tu=hn?F(hn):function(e){return Li(e)&&La(e)==ye},Iu=vn?F(vn):function(e){return Li(e)&&Ri(e.length)&&!!Gt[Vt(e)]},Ru=Sr(_n),Nu=Sr((function(e,t){return e<=t})),Lu=dr((function(e,t){if(Qr(t)||Mi(t))return lr(t,Qi(t),e),V;for(var n in t)Fo.call(t,n)&&_t(e,n,t[n])})),zu=dr((function(e,t){lr(t,eo(t),e)})),Wu=dr((function(e,t,n,r){lr(t,eo(t),e,r)})),Uu=dr((function(e,t,n,r){lr(t,Qi(t),e,r)})),Hu=Rr(Ot),Vu=jn((function(e,t){e=wo(e);var n=-1,r=t.length,i=r>2?t[2]:V;for(i&&Gr(t[0],t[1],i)&&(r=1);++n<r;)for(var o=t[n],a=eo(o),u=-1,s=a.length;++u<s;){var c=a[u],l=e[c];(l===V||ki(l,xo[c])&&!Fo.call(e,c))&&(e[c]=o[c])}return e})),$u=jn((function(e){return e.push(V,jr),i(Gu,V,e)})),Ku=_r((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Mo.call(t)),e[t]=n}),ao(uo)),Yu=_r((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Mo.call(t)),Fo.call(e,t)?e[t].push(n):e[t]=[n]}),Ur),qu=jn(tn),Xu=dr((function(e,t,n){xn(e,t,n)})),Gu=dr((function(e,t,n,r){xn(e,t,n,r)})),Ju=Rr((function(e,t){var n={};if(null==e)return n;var r=!1;t=d(t,(function(t){return t=tr(t,e),r||(r=t.length>1),t})),lr(e,Lr(e),n),r&&(n=Ft(n,7,Tr));for(var i=t.length;i--;)Yn(n,t[i]);return n})),Zu=Rr((function(e,t){return null==e?{}:function(e,t){return Fn(e,t,(function(t,n){return Zi(e,n)}))}(e,t)})),Qu=kr(Qi),es=kr(eo),ts=mr((function(e,t,n){return t=t.toLowerCase(),e+(n?ro(t):t)})),ns=mr((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),rs=mr((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),is=vr("toLowerCase"),os=mr((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()})),as=mr((function(e,t,n){return e+(n?" ":"")+ss(t)})),us=mr((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),ss=vr("toUpperCase"),cs=jn((function(e,t){try{return i(e,V,t)}catch(i){return ji(i)?i:new go(i)}})),ls=Rr((function(e,t){return a(t,(function(t){t=si(t),xt(e,t,yu(e[t],e))})),e})),fs=wr(),ds=wr(!0),ps=jn((function(e,t){return function(n){return tn(n,e,t)}})),hs=jn((function(e,t){return function(n){return tn(e,n,t)}})),vs=Ar(d),ms=Ar(s),gs=Ar(m),ys=Or(),bs=Or(!0),ws=Er((function(e,t){return e+t}),0),Ds=Pr("ceil"),_s=Er((function(e,t){return e/t}),1),Es=Pr("floor"),As=Er((function(e,t){return e*t}),1),Cs=Pr("round"),xs=Er((function(e,t){return e-t}
vendor: 7,103 bytes, line 1
1),0);return n.after=function(e,t){if("function"!=typeof t)throw new Eo($);return e=Ki(e),function(){if(--e<1)return t.apply(this,arguments)}},n.ary=xi,n.assign=Lu,n.assignIn=zu,n.assignInWith=Wu,n.assignWith=Uu,n.at=Hu,n.before=Oi,n.bind=yu,n.bindAll=ls,n.bindKey=bu,n.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Fu(e)?e:[e]},n.chain=Di,n.chunk=function(e,t,n){t=(n?Gr(e,t,n):t===V)?1:ia(Ki(t),0);var r=null==e?0:e.length;if(!r||t<1)return[];for(var i=0,o=0,a=vo(Jo(r/t));i<r;)a[o++]=Ln(e,i,i+=t);return a},n.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var o=e[t];o&&(i[r++]=o)}return i},n.concat=function(){var e=arguments.length;if(!e)return[];for(var t=vo(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return p(Fu(n)?cr(n):[n],It(t,1))},n.cond=function(e){var t=null==e?0:e.length,n=Ur();return e=t?d(e,(function(e){if("function"!=typeof e[1])throw new Eo($);return[n(e[0]),e[1]]})):[],jn((function(n){for(var r=-1;++r<t;){var o=e[r];if(i(o[0],this,n))return i(o[1],this,n)}}))},n.conforms=function(e){return function(e){var t=Qi(e);return function(n){return Pt(n,e,t)}}(Ft(e,1))},n.constant=ao,n.countBy=cu,n.create=function(e,t){var n=xa(e);return null==t?n:Ct(n,t)},n.curry=function e(t,n,r){var i=Mr(t,8,V,V,V,V,V,n=r?V:n);return i.placeholder=e.placeholder,i},n.curryRight=function e(t,n,r){var i=Mr(t,q,V,V,V,V,V,n=r?V:n);return i.placeholder=e.placeholder,i},n.debounce=Si,n.defaults=Vu,n.defaultsDeep=$u,n.defer=wu,n.delay=Du,n.difference=$a,n.differenceBy=Ka,n.differenceWith=Ya,n.drop=function(e,t,n){var r=null==e?0:e.length;return r?Ln(e,(t=n||t===V?1:Ki(t))<0?0:t,r):[]},n.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?Ln(e,0,(t=r-(t=n||t===V?1:Ki(t)))<0?0:t):[]},n.dropRightWhile=function(e,t){return e&&e.length?Xn(e,Ur(t,3),!0,!0):[]},n.dropWhile=function(e,t){return e&&e.length?Xn(e,Ur(t,3),!0):[]},n.fill=function(e,t,n,r){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&Gr(e,t,n)&&(n=0,r=i),function(e,t,n,r){var i=e.length;for((n=Ki(n))<0&&(n=-n>i?0:i+n),(r=r===V||r>i?i:Ki(r))<0&&(r+=i),r=n>r?0:Yi(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},n.filter=function(e,t){return(Fu(e)?c:Tt)(e,Ur(t,3))},n.flatMap=function(e,t){return It(Ci(e,t),1)},n.flatMapDeep=function(e,t){return It(Ci(e,t),Q)},n.flatMapDepth=function(e,t,n){return n=n===V?1:Ki(n),It(Ci(e,t),n)},n.flatten=hi,n.flattenDeep=function(e){return null!=e&&e.length?It(e,Q):[]},n.flattenDepth=function(e,t){return null!=e&&e.length?It(e,t=t===V?1:Ki(t)):[]},n.flip=function(e){return Mr(e,512)},n.flow=fs,n.flowRight=ds,n.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r},n.functions=function(e){return null==e?[]:Lt(e,Qi(e))},n.functionsIn=function(e){return null==e?[]:Lt(e,eo(e))},n.groupBy=du,n.initial=function(e){return null!=e&&e.length?Ln(e,0,-1):[]},n.intersection=qa,n.intersectionBy=Xa,n.intersectionWith=Ga,n.invert=Ku,n.invertBy=Yu,n.invokeMap=pu,n.iteratee=so,n.keyBy=hu,n.keys=Qi,n.keysIn=eo,n.map=Ci,n.mapKeys=function(e,t){var n={};return t=Ur(t,3),Rt(e,(function(e,r,i){xt(n,t(e,r,i),e)})),n},n.mapValues=function(e,t){var n={};return t=Ur(t,3),Rt(e,(function(e,r,i){xt(n,r,t(e,r,i))})),n},n.matches=function(e){return An(Ft(e,1))},n.matchesProperty=function(e,t){return Cn(e,Ft(t,1))},n.memoize=Fi,n.merge=Xu,n.mergeWith=Gu,n.method=ps,n.methodOf=hs,n.mixin=co,n.negate=Pi,n.nthArg=function(e){return e=Ki(e),jn((function(t){return On(t,e)}))},n.omit=Ju,n.omitBy=function(e,t){return to(e,Pi(Ur(t)))},n.once=function(e){return Oi(2,e)},n.orderBy=function(e,t,n,r){return null==e?[]:(Fu(t)||(t=null==t?[]:[t]),Fu(n=r?V:n)||(n=null==n?[]:[n]),Sn(e,t,n))},n.over=vs,n.overArgs=_u,n.overEvery=ms,n.overSome=gs,n.partial=Eu,n.partialRight=Au,n.partition=vu,n.pick=Zu,n.pickBy=to,n.property=fo,n.propertyOf=function(e){return function(t){return null==e?V:zt(e,t)}},n.pull=Ja,n.pullAll=gi,n.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Pn(e,t,Ur(n,2)):e},n.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Pn(e,t,V,n):e},n.pullAt=Za,n.range=ys,n.rangeRight=bs,n.rearg=Cu,n.reject=function(e,t){return(Fu(e)?c:Tt)(e,Pi(Ur(t,3)))},n.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],o=e.length;for(t=Ur(t,3);++r<o;){var a=e[r];t(a,r,e)&&(n.push(a),i.push(r))}return kn(e,i),n},n.rest=function(e,t){if("function"!=typeof e)throw new Eo($);return jn(e,t=t===V?t:Ki(t))},n.reverse=yi,n.sampleSize=function(e,t,n){return t=(n?Gr(e,t,n):t===V)?1:Ki(t),(Fu(e)?bt:In)(e,t)},n.set=function(e,t,n){return null==e?e:Rn(e,t,n)},n.setWith=function(e,t,n,r){return r="function"==typeof r?r:V,null==e?e:Rn(e,t,n,r)},n.shuffle=function(e){return(Fu(e)?wt:Nn)(e)},n.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&Gr(e,t,n)?(t=0,n=r):(t=null==t?0:Ki(t),n=n===V?r:Ki(n)),Ln(e,t,n)):[]},n.sortBy=mu,n.sortedUniq=function(e){return e&&e.length?Hn(e):[]},n.sortedUniqBy=function(e,t){return e&&e.length?Hn(e,Ur(t,2)):[]},n.split=function(e,t,n){return n&&"number"!=typeof n&&Gr(e,t,n)&&(t=n=V),(n=n===V?ne:n>>>0)?(e=Gi(e))&&("string"==typeof t||null!=t&&!ju(t))&&(!(t=$n(t))&&T(e))?nr(U(e),0,n):e.split(t,n):[]},n.spread=function(e,t){if("function"!=typeof e)throw new Eo($);return t=null==t?0:ia(Ki(t),0),jn((function(n){var r=n[t],o=nr(n,0,t);return r&&p(o,r),i(e,this,o)}))},n.tail=function(e){var t=null==e?0:e.length;return t?Ln(e,1,t):[]},n.take=function(e,t,n){return e&&e.length?Ln(e,0,(t=n||t===V?1:Ki(t))<0?0:t):[]},n.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?Ln(e,(t=r-(t=n||t===V?1:Ki(t)))<0?0:t,r):[]},n.takeRightWhile=function(e,t){return e&&e.length?Xn(e,Ur(t,3),!1,!0):[]},n.takeWhile=function(e,t){return e&&e.length?Xn(e,Ur(t,3)):[]},n.tap=function(e,t){return t(e),e},n.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new Eo($);return Ni(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Si(e,t,{leading:r,maxWait:t,trailing:i})},n.thru=_i,n.toArray=Vi,n.toPairs=Qu,n.toPairsIn=es,n.toPath=function(e){return Fu(e)?d(e,si):Hi(e)?[e]:cr(Va(Gi(e)))},n.toPlainObject=Xi,n.transform=function(e,t,n){var r=Fu(e),i=r||ku(e)||Iu(e);if(t=Ur(t,4),null==n){var o=e&&e.constructor;n=i?r?new o:[]:Ni(e)&&Ti(o)?xa(zo(e)):{}}return(i?a:Rt)(e,(function(e,r,i){return t(n,e,r,i)})),n},n.unary=function(e){return xi(e,1)},n.union=Qa,n.unionBy=eu,n.unionWith=tu,n.uniq=function(e){return e&&e.length?Kn(e):[]},n.uniqBy=function(e,t){return e&&e.length?Kn(e,Ur(t,2)):[]},n.uniqWith=function(e,t){return t="function"==typeof t?t:V,e&&e.length?Kn(e,V,t):[]},n.unset=function(e,t){return null==e||Yn(e,t)},n.unzip=bi,n.unzipWith=wi,n.update=function(e,t,n){return null==e?e:qn(e,t,er(n))},n.updateWith=function(e,t,n,r){return r="function"==typeof r?r:V,null==e?e:qn(e,t,er(n),r)},n.values=no,n.valuesIn=function(e){return null==e?[]:P(e,eo(e))},n.without=nu,n.words=oo,n.wrap=function(e,t){return Eu(er(t),e)},n.xor=ru,n.xorBy=iu,n.xorWith=ou,n.zip=au,n.zipObject=function(e,t){return Zn(e||[],t||[],_t)},n.zipObjectDeep=function(e,t){return Zn(e||[],t||[],Rn)}
vendor: 5,546 bytes, line 1
1,n.zipWith=uu,n.entries=Qu,n.entriesIn=es,n.extend=zu,n.extendWith=Wu,co(n,n),n.add=ws,n.attempt=cs,n.camelCase=ts,n.capitalize=ro,n.ceil=Ds,n.clamp=function(e,t,n){return n===V&&(n=t,t=V),n!==V&&(n=(n=qi(n))===n?n:0),t!==V&&(t=(t=qi(t))===t?t:0),St(qi(e),t,n)},n.clone=function(e){return Ft(e,4)},n.cloneDeep=function(e){return Ft(e,5)},n.cloneDeepWith=function(e,t){return Ft(e,5,t="function"==typeof t?t:V)},n.cloneWith=function(e,t){return Ft(e,4,t="function"==typeof t?t:V)},n.conformsTo=function(e,t){return null==t||Pt(e,t,Qi(t))},n.deburr=io,n.defaultTo=function(e,t){return null==e||e!==e?t:e},n.divide=_s,n.endsWith=function(e,t,n){e=Gi(e),t=$n(t);var r=e.length,i=n=n===V?r:St(Ki(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},n.eq=ki,n.escape=function(e){return(e=Gi(e))&&Le.test(e)?e.replace(Re,yn):e},n.escapeRegExp=function(e){return(e=Gi(e))&&Ye.test(e)?e.replace(Ke,"\\$&"):e},n.every=function(e,t,n){var r=Fu(e)?s:Bt;return n&&Gr(e,t,n)&&(t=V),r(e,Ur(t,3))},n.find=lu,n.findIndex=di,n.findKey=function(e,t){return y(e,Ur(t,3),Rt)},n.findLast=fu,n.findLastIndex=pi,n.findLastKey=function(e,t){return y(e,Ur(t,3),Nt)},n.floor=Es,n.forEach=Ei,n.forEachRight=Ai,n.forIn=function(e,t){return null==e?e:Fa(e,Ur(t,3),eo)},n.forInRight=function(e,t){return null==e?e:Pa(e,Ur(t,3),eo)},n.forOwn=function(e,t){return e&&Rt(e,Ur(t,3))},n.forOwnRight=function(e,t){return e&&Nt(e,Ur(t,3))},n.get=Ji,n.gt=xu,n.gte=Ou,n.has=function(e,t){return null!=e&&Kr(e,t,Kt)},n.hasIn=Zi,n.head=vi,n.identity=uo,n.includes=function(e,t,n,r){e=Mi(e)?e:no(e),n=n&&!r?Ki(n):0;var i=e.length;return n<0&&(n=ia(i+n,0)),Ui(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&w(e,t,n)>-1},n.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:Ki(n);return i<0&&(i=ia(r+i,0)),w(e,t,i)},n.inRange=function(e,t,n){return t=$i(t),n===V?(n=t,t=0):n=$i(n),function(e,t,n){return e>=oa(t,n)&&e<ia(t,n)}(e=qi(e),t,n)},n.invoke=qu,n.isArguments=Su,n.isArray=Fu,n.isArrayBuffer=Pu,n.isArrayLike=Mi,n.isArrayLikeObject=Bi,n.isBoolean=function(e){return!0===e||!1===e||Li(e)&&Vt(e)==se},n.isBuffer=ku,n.isDate=Mu,n.isElement=function(e){return Li(e)&&1===e.nodeType&&!Wi(e)},n.isEmpty=function(e){if(null==e)return!0;if(Mi(e)&&(Fu(e)||"string"==typeof e||"function"==typeof e.splice||ku(e)||Iu(e)||Su(e)))return!e.length;var t=La(e);if(t==pe||t==ye)return!e.size;if(Qr(e))return!mn(e).length;for(var n in e)if(Fo.call(e,n))return!1;return!0},n.isEqual=function(e,t){return on(e,t)},n.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:V)?n(e,t):V;return r===V?on(e,t,V,n):!!r},n.isError=ji,n.isFinite=function(e){return"number"==typeof e&&ta(e)},n.isFunction=Ti,n.isInteger=Ii,n.isLength=Ri,n.isMap=Bu,n.isMatch=function(e,t){return e===t||an(e,t,Vr(t))},n.isMatchWith=function(e,t,n){return n="function"==typeof n?n:V,an(e,t,Vr(t),n)},n.isNaN=function(e){return zi(e)&&e!=+e},n.isNative=function(e){if(za(e))throw new go("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return sn(e)},n.isNil=function(e){return null==e},n.isNull=function(e){return null===e},n.isNumber=zi,n.isObject=Ni,n.isObjectLike=Li,n.isPlainObject=Wi,n.isRegExp=ju,n.isSafeInteger=function(e){return Ii(e)&&e>=-ee&&e<=ee},n.isSet=Tu,n.isString=Ui,n.isSymbol=Hi,n.isTypedArray=Iu,n.isUndefined=function(e){return e===V},n.isWeakMap=function(e){return Li(e)&&La(e)==De},n.isWeakSet=function(e){return Li(e)&&"[object WeakSet]"==Vt(e)},n.join=function(e,t){return null==e?"":na.call(e,t)},n.kebabCase=ns,n.last=mi,n.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return n!==V&&(i=(i=Ki(n))<0?ia(r+i,0):oa(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):b(e,_,i,!0)},n.lowerCase=rs,n.lowerFirst=is,n.lt=Ru,n.lte=Nu,n.max=function(e){return e&&e.length?jt(e,uo,$t):V},n.maxBy=function(e,t){return e&&e.length?jt(e,Ur(t,2),$t):V},n.mean=function(e){return E(e,uo)},n.meanBy=function(e,t){return E(e,Ur(t,2))},n.min=function(e){return e&&e.length?jt(e,uo,_n):V},n.minBy=function(e,t){return e&&e.length?jt(e,Ur(t,2),_n):V},n.stubArray=po,n.stubFalse=ho,n.stubObject=function(){return{}},n.stubString=function(){return""},n.stubTrue=function(){return!0},n.multiply=As,n.nth=function(e,t){return e&&e.length?On(e,Ki(t)):V},n.noConflict=function(){return rn._===this&&(rn._=jo),this},n.noop=lo,n.now=gu,n.pad=function(e,t,n){e=Gi(e);var r=(t=Ki(t))?W(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return Cr(Zo(i),n)+e+Cr(Jo(i),n)},n.padEnd=function(e,t,n){e=Gi(e);var r=(t=Ki(t))?W(e):0;return t&&r<t?e+Cr(t-r,n):e},n.padStart=function(e,t,n){e=Gi(e);var r=(t=Ki(t))?W(e):0;return t&&r<t?Cr(t-r,n)+e:e},n.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),ua(Gi(e).replace(Xe,""),t||0)},n.random=function(e,t,n){if(n&&"boolean"!=typeof n&&Gr(e,t,n)&&(t=n=V),n===V&&("boolean"==typeof t?(n=t,t=V):"boolean"==typeof e&&(n=e,e=V)),e===V&&t===V?(e=0,t=1):(e=$i(e),t===V?(t=e,e=0):t=$i(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=sa();return oa(e+i*(t-e+Qt("1e-"+((i+"").length-1))),t)}return Mn(e,t)},n.reduce=function(e,t,n){var r=Fu(e)?h:x,i=arguments.length<3;return r(e,Ur(t,4),n,i,Oa)},n.reduceRight=function(e,t,n){var r=Fu(e)?v:x,i=arguments.length<3;return r(e,Ur(t,4),n,i,Sa)},n.repeat=function(e,t,n){return t=(n?Gr(e,t,n):t===V)?1:Ki(t),Bn(Gi(e),t)},n.replace=function(){var e=arguments,t=Gi(e[0]);return e.length<3?t:t.replace(e[1],e[2])},n.result=function(e,t,n){var r=-1,i=(t=tr(t,e)).length;for(i||(i=1,e=V);++r<i;){var o=null==e?V:e[si(t[r])];o===V&&(r=i,o=n),e=Ti(o)?o.call(e):o}return e}
vendor: 3,673 bytes, line 1
1,n.round=Cs,n.runInContext=e,n.sample=function(e){return(Fu(e)?yt:Tn)(e)},n.size=function(e){if(null==e)return 0;if(Mi(e))return Ui(e)?W(e):e.length;var t=La(e);return t==pe||t==ye?e.size:mn(e).length},n.snakeCase=os,n.some=function(e,t,n){var r=Fu(e)?m:zn;return n&&Gr(e,t,n)&&(t=V),r(e,Ur(t,3))},n.sortedIndex=function(e,t){return Wn(e,t)},n.sortedIndexBy=function(e,t,n){return Un(e,t,Ur(n,2))},n.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=Wn(e,t);if(r<n&&ki(e[r],t))return r}return-1},n.sortedLastIndex=function(e,t){return Wn(e,t,!0)},n.sortedLastIndexBy=function(e,t,n){return Un(e,t,Ur(n,2),!0)},n.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var n=Wn(e,t,!0)-1;if(ki(e[n],t))return n}return-1},n.startCase=as,n.startsWith=function(e,t,n){return e=Gi(e),n=null==n?0:St(Ki(n),0,e.length),t=$n(t),e.slice(n,n+t.length)==t},n.subtract=xs,n.sum=function(e){return e&&e.length?O(e,uo):0},n.sumBy=function(e,t){return e&&e.length?O(e,Ur(t,2)):0},n.template=function(e,t,r){var i=n.templateSettings;r&&Gr(e,t,r)&&(t=V),e=Gi(e),t=Wu({},t,i,Br);var o,a,u=Wu({},t.imports,i.imports,Br),s=Qi(u),c=P(u,s),l=0,f=t.interpolate||lt,d="__p += '",p=Do((t.escape||lt).source+"|"+f.source+"|"+(f===Ue?nt:lt).source+"|"+(t.evaluate||lt).source+"|$","g"),h="//# sourceURL="+(Fo.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Xt+"]")+"\n";e.replace(p,(function(t,n,r,i,u,s){return r||(r=i),d+=e.slice(l,s).replace(ft,j),n&&(o=!0,d+="' +\n__e("+n+") +\n'"),u&&(a=!0,d+="';\n"+u+";\n__p += '"),r&&(d+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=s+t.length,t})),d+="';\n";var v=Fo.call(t,"variable")&&t.variable;v||(d="with (obj) {\n"+d+"\n}\n"),d=(a?d.replace(Be,""):d).replace(je,"$1").replace(Te,"$1;"),d="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var m=cs((function(){return yo(s,h+"return "+d).apply(V,c)}));if(m.source=d,ji(m))throw m;return m},n.times=function(e,t){if((e=Ki(e))<1||e>ee)return[];var n=ne,r=oa(e,ne);t=Ur(t),e-=ne;for(var i=S(r,t);++n<e;)t(n);return i},n.toFinite=$i,n.toInteger=Ki,n.toLength=Yi,n.toLower=function(e){return Gi(e).toLowerCase()},n.toNumber=qi,n.toSafeInteger=function(e){return e?St(Ki(e),-ee,ee):0===e?e:0},n.toString=Gi,n.toUpper=function(e){return Gi(e).toUpperCase()},n.trim=function(e,t,n){if((e=Gi(e))&&(n||t===V))return e.replace(qe,"");if(!e||!(t=$n(t)))return e;var r=U(e),i=U(t);return nr(r,M(r,i),B(r,i)+1).join("")},n.trimEnd=function(e,t,n){if((e=Gi(e))&&(n||t===V))return e.replace(Ge,"");if(!e||!(t=$n(t)))return e;var r=U(e);return nr(r,0,B(r,U(t))+1).join("")},n.trimStart=function(e,t,n){if((e=Gi(e))&&(n||t===V))return e.replace(Xe,"");if(!e||!(t=$n(t)))return e;var r=U(e);return nr(r,M(r,U(t))).join("")},n.truncate=function(e,t){var n=30,r="...";if(Ni(t)){var i="separator"in t?t.separator:i;n="length"in t?Ki(t.length):n,r="omission"in t?$n(t.omission):r}var o=(e=Gi(e)).length;if(T(e)){var a=U(e);o=a.length}if(n>=o)return e;var u=n-W(r);if(u<1)return r;var s=a?nr(a,0,u).join(""):e.slice(0,u);if(i===V)return s+r;if(a&&(u+=s.length-u),ju(i)){if(e.slice(u).search(i)){var c,l=s;for(i.global||(i=Do(i.source,Gi(rt.exec(i))+"g")),i.lastIndex=0;c=i.exec(l);)var f=c.index;s=s.slice(0,f===V?u:f)}}else if(e.indexOf($n(i),u)!=u){var d=s.lastIndexOf(i);d>-1&&(s=s.slice(0,d))}return s+r},n.unescape=function(e){return(e=Gi(e))&&Ne.test(e)?e.replace(Ie,bn):e},n.uniqueId=function(e){var t=++Po;return Gi(e)+t},n.upperCase=us,n.upperFirst=ss,n.each=Ei,n.eachRight=Ai,n.first=vi,c
vendor: 5,274 bytes, line 1
1o(n,function(){var e={};return Rt(n,(function(t,r){Fo.call(n.prototype,r)||(e[r]=t)})),e}(),{chain:!1}),n.VERSION="4.17.20",a(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){n[e].placeholder=n})),a(["drop","take"],(function(e,t){et.prototype[e]=function(n){n=n===V?1:ia(Ki(n),0);var r=this.__filtered__&&!t?new et(this):this.clone();return r.__filtered__?r.__takeCount__=oa(n,r.__takeCount__):r.__views__.push({size:oa(n,ne),type:e+(r.__dir__<0?"Right":"")}),r},et.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),a(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;et.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Ur(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),a(["head","last"],(function(e,t){var n="take"+(t?"Right":"");et.prototype[e]=function(){return this[n](1).value()[0]}})),a(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");et.prototype[e]=function(){return this.__filtered__?new et(this):this[n](1)}})),et.prototype.compact=function(){return this.filter(uo)},et.prototype.find=function(e){return this.filter(e).head()},et.prototype.findLast=function(e){return this.reverse().find(e)},et.prototype.invokeMap=jn((function(e,t){return"function"==typeof e?new et(this):this.map((function(n){return tn(n,e,t)}))})),et.prototype.reject=function(e){return this.filter(Pi(Ur(e)))},et.prototype.slice=function(e,t){e=Ki(e);var n=this;return n.__filtered__&&(e>0||t<0)?new et(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==V&&(n=(t=Ki(t))<0?n.dropRight(-t):n.take(t-e)),n)},et.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},et.prototype.toArray=function(){return this.take(ne)},Rt(et.prototype,(function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),o=n[i?"take"+("last"==t?"Right":""):t],a=i||/^find/.test(t);o&&(n.prototype[t]=function(){var t=this.__wrapped__,u=i?[1]:arguments,s=t instanceof et,c=u[0],l=s||Fu(t),f=function(e){var t=o.apply(n,p([e],u));return i&&d?t[0]:t};l&&r&&"function"==typeof c&&1!=c.length&&(s=l=!1);var d=this.__chain__,h=!!this.__actions__.length,v=a&&!d,m=s&&!h;if(!a&&l){t=m?t:new et(this);var g=e.apply(t,u);return g.__actions__.push({func:_i,args:[f],thisArg:V}),new C(g,d)}return v&&m?e.apply(this,u):(g=this.thru(f),v?i?g.value()[0]:g.value():g)})})),a(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Ao[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:pop|shift)$/.test(e);n.prototype[e]=function(){var e=arguments;if(i&&!this.__chain__){var n=this.value();return t.apply(Fu(n)?n:[],e)}return this[r]((function(n){return t.apply(Fu(n)?n:[],e)}))}})),Rt(et.prototype,(function(e,t){var r=n[t];if(r){var i=r.name+"";Fo.call(ga,i)||(ga[i]=[]),ga[i].push({name:t,func:r})}})),ga[Dr(V,2).name]=[{name:"wrapper",func:V}],et.prototype.clone=function(){var e=new et(this.__wrapped__);return e.__actions__=cr(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=cr(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=cr(this.__views__),e},et.prototype.reverse=function(){if(this.__filtered__){var e=new et(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},et.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Fu(e),r=t<0,i=n?e.length:0,o=function(e,t,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],a=o.size;switch(o.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=oa(t,e+a);break;case"takeRight":e=ia(e,t-a)}}return{start:e,end:t}}(0,i,this.__views__),a=o.start,u=o.end,s=u-a,c=r?u:a-1,l=this.__iteratees__,f=l.length,d=0,p=oa(s,this.__takeCount__);if(!n||!r&&i==s&&p==s)return Gn(e,this.__actions__);var h=[];e:for(;s--&&d<p;){for(var v=-1,m=e[c+=t];++v<f;){var g=l[v],y=g.iteratee,b=g.type,w=y(m);if(2==b)m=w;else if(!w){if(1==b)continue e;break e}}h[d++]=m}return h},n.prototype.at=su,n.prototype.chain=function(){return Di(this)},n.prototype.commit=function(){return new C(this.value(),this.__chain__)},n.prototype.next=function(){this.__values__===V&&(this.__values__=Vi(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?V:this.__values__[this.__index__++]}},n.prototype.plant=function(e){for(var t,n=this;n instanceof r;){var i=fi(n);i.__index__=0,i.__values__=V,t?o.__wrapped__=i:t=i;var o=i;n=n.__wrapped__}return o.__wrapped__=e,t},n.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof et){var t=e;return this.__actions__.length&&(t=new et(this)),(t=t.reverse()).__actions__.push({func:_i,args:[yi],thisArg:V}),new C(t,this.__chain__)}return this.thru(yi)},n.prototype.toJSON=n.prototype.valueOf=n.prototype.value=function(){return Gn(this.__wrapped__,this.__actions__)},n.prototype.first=n.prototype.head,$o&&(n.prototype[$o]=function(){return this}),n}();rn._=wn,void 0===(r=function(){return wn}.call(t,n,t,e))||(e.exports=r)}.call(this)},42484:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>D});var r,i=n(36938),o=Object.defineProperty,a=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,c=(e,t,n)=>t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,l=(e,t)=>
vendor: 5,519 bytes, line 1
1{for(var n in t||(t={}))u.call(t,n)&&c(e,n,t[n]);if(a)for(var n of a(t))s.call(t,n)&&c(e,n,t[n]);return e},f=(e,t)=>{var n={};for(var r in e)u.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&a)for(var r of a(e))t.indexOf(r)<0&&s.call(e,r)&&(n[r]=e[r]);return n};(e=>{const t=class{constructor(e,n,r,i){if(this.version=e,this.errorCorrectionLevel=n,this.modules=[],this.isFunction=[],e<t.MIN_VERSION||e>t.MAX_VERSION)throw"Version value out of range";if(i<-1||i>7)throw"Mask value out of range";this.size=4*e+17;let a=[];for(let t=0;t<this.size;t++)a.push(!1);for(let t=0;t<this.size;t++)this.modules.push(a.slice()),this.isFunction.push(a.slice());this.drawFunctionPatterns();const u=this.addEccAndInterleave(r);if(this.drawCodewords(u),-1==i){let e=1e9;for(let t=0;t<8;t++){this.applyMask(t),this.drawFormatBits(t);const n=this.getPenaltyScore();n<e&&(i=t,e=n),this.applyMask(t)}}o(0<=i&&i<=7),this.mask=i,this.applyMask(i),this.drawFormatBits(i),this.isFunction=[]}static encodeText(n,r){const i=e.QrSegment.makeSegments(n);return t.encodeSegments(i,r)}static encodeBinary(n,r){const i=e.QrSegment.makeBytes(n);return t.encodeSegments([i],r)}static encodeSegments(e,n){let i,a,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:40,l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1,f=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];if(!(t.MIN_VERSION<=s&&s<=c&&c<=t.MAX_VERSION)||l<-1||l>7)throw"Invalid value";for(i=s;;i++){const r=8*t.getNumDataCodewords(i,n),o=u.getTotalBits(e,i);if(o<=r){a=o;break}if(i>=c)throw"Data too long"}for(const r of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])f&&a<=8*t.getNumDataCodewords(i,r)&&(n=r);let d=[];for(const t of e){r(t.mode.modeBits,4,d),r(t.numChars,t.mode.numCharCountBits(i),d);for(const e of t.getData())d.push(e)}o(d.length==a);const p=8*t.getNumDataCodewords(i,n);o(d.length<=p),r(0,Math.min(4,p-d.length),d),r(0,(8-d.length%8)%8,d),o(d.length%8==0);for(let t=236;d.length<p;t^=253)r(t,8,d);let h=[];for(;8*h.length<d.length;)h.push(0);return d.forEach(((e,t)=>h[t>>>3]|=e<<7-(7&t))),new t(i,n,h,l)}getModule(e,t){return 0<=e&&e<this.size&&0<=t&&t<this.size&&this.modules[t][e]}getModules(){return this.modules}drawFunctionPatterns(){for(let n=0;n<this.size;n++)this.setFunctionModule(6,n,n%2==0),this.setFunctionModule(n,6,n%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);const e=this.getAlignmentPatternPositions(),t=e.length;for(let n=0;n<t;n++)for(let r=0;r<t;r++)0==n&&0==r||0==n&&r==t-1||n==t-1&&0==r||this.drawAlignmentPattern(e[n],e[r]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(e){const t=this.errorCorrectionLevel.formatBits<<3|e;let n=t;for(let i=0;i<10;i++)n=n<<1^1335*(n>>>9);const r=21522^(t<<10|n);o(r>>>15==0);for(let o=0;o<=5;o++)this.setFunctionModule(8,o,i(r,o));this.setFunctionModule(8,7,i(r,6)),this.setFunctionModule(8,8,i(r,7)),this.setFunctionModule(7,8,i(r,8));for(let o=9;o<15;o++)this.setFunctionModule(14-o,8,i(r,o));for(let o=0;o<8;o++)this.setFunctionModule(this.size-1-o,8,i(r,o));for(let o=8;o<15;o++)this.setFunctionModule(8,this.size-15+o,i(r,o));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let e=this.version;for(let n=0;n<12;n++)e=e<<1^7973*(e>>>11);const t=this.version<<12|e;o(t>>>18==0);for(let n=0;n<18;n++){const e=i(t,n),r=this.size-11+n%3,o=Math.floor(n/3);this.setFunctionModule(r,o,e),this.setFunctionModule(o,r,e)}}drawFinderPattern(e,t){for(let n=-4;n<=4;n++)for(let r=-4;r<=4;r++){const i=Math.max(Math.abs(r),Math.abs(n)),o=e+r,a=t+n;0<=o&&o<this.size&&0<=a&&a<this.size&&this.setFunctionModule(o,a,2!=i&&4!=i)}}drawAlignmentPattern(e,t){for(let n=-2;n<=2;n++)for(let r=-2;r<=2;r++)this.setFunctionModule(e+r,t+n,1!=Math.max(Math.abs(r),Math.abs(n)))}setFunctionModule(e,t,n){this.modules[t][e]=n,this.isFunction[t][e]=!0}addEccAndInterleave(e){const n=this.version,r=this.errorCorrectionLevel;if(e.length!=t.getNumDataCodewords(n,r))throw"Invalid argument";const i=t.NUM_ERROR_CORRECTION_BLOCKS[r.ordinal][n],a=t.ECC_CODEWORDS_PER_BLOCK[r.ordinal][n],u=Math.floor(t.getNumRawDataModules(n)/8),s=i-u%i,c=Math.floor(u/i);let l=[];const f=t.reedSolomonComputeDivisor(a);for(let o=0,p=0;o<i;o++){let n=e.slice(p,p+c-a+(o<s?0:1));p+=n.length;const r=t.reedSolomonComputeRemainder(n,f);o<s&&n.push(0),l.push(n.concat(r))}let d=[];for(let t=0;t<l[0].length;t++)l.forEach(((e,n)=>{(t!=c-a||n>=s)&&d.push(e[t])}));return o(d.length==u),d}drawCodewords(e){if(e.length!=Math.floor(t.getNumRawDataModules(this.version)/8))throw"Invalid argument";let n=0;for(let t=this.size-1;t>=1;t-=2){6==t&&(t=5);for(let r=0;r<this.size;r++)for(let o=0;o<2;o++){const a=t-o,u=0==(t+1&2)?this.size-1-r:r;!this.isFunction[u][a]&&n<8*e.length&&(this.modules[u][a]=i(e[n>>>3],7-(7&n)),n++)}}o(n==8*e.length)}applyMask(e){if(e<0||e>7)throw"Mask value out of range";for(let t=0;t<this.size;t++)for(let n=0;n<this.size;n++){let r;switch(e){case 0:r=(n+t)%2==0;break;case 1:r=t%2==0;break;case 2:r=n%3==0;break;case 3:r=(n+t)%3==0;break;case 4:r=(Math.floor(n/3)+Math.floor(t/2))%2==0;break;case 5:r=n*t%2+n*t%3==0;break;case 6:r=(n*t%2+n*t%3)%2==0;break;case 7:r=((n+t)%2+n*t%3)%2==0;break;default:throw"Unreachable"}!this.isFunction[t][n]&&r&&(this.modules[t][n]=!this.modules[t][n])}}getPenaltyScore(){let e=0;for(let o=0;o<this.size;o++){let n=!1,r=0,i=[0,0,0,0,0,0,0];for(let a=0;a<this.size;a++)this.modules[o][a]==n?(r++,5==r?e+=t.PENALTY_N1:r>
vendor: 4,060 bytes, line 1
15&&e++):(this.finderPenaltyAddHistory(r,i),n||(e+=this.finderPenaltyCountPatterns(i)*t.PENALTY_N3),n=this.modules[o][a],r=1);e+=this.finderPenaltyTerminateAndCount(n,r,i)*t.PENALTY_N3}for(let o=0;o<this.size;o++){let n=!1,r=0,i=[0,0,0,0,0,0,0];for(let a=0;a<this.size;a++)this.modules[a][o]==n?(r++,5==r?e+=t.PENALTY_N1:r>5&&e++):(this.finderPenaltyAddHistory(r,i),n||(e+=this.finderPenaltyCountPatterns(i)*t.PENALTY_N3),n=this.modules[a][o],r=1);e+=this.finderPenaltyTerminateAndCount(n,r,i)*t.PENALTY_N3}for(let o=0;o<this.size-1;o++)for(let n=0;n<this.size-1;n++){const r=this.modules[o][n];r==this.modules[o][n+1]&&r==this.modules[o+1][n]&&r==this.modules[o+1][n+1]&&(e+=t.PENALTY_N2)}let n=0;for(const t of this.modules)n=t.reduce(((e,t)=>e+(t?1:0)),n);const r=this.size*this.size,i=Math.ceil(Math.abs(20*n-10*r)/r)-1;return o(0<=i&&i<=9),e+=i*t.PENALTY_N4,o(0<=e&&e<=2568888),e}getAlignmentPatternPositions(){if(1==this.version)return[];{const e=Math.floor(this.version/7)+2,t=32==this.version?26:2*Math.ceil((4*this.version+4)/(2*e-2));let n=[6];for(let r=this.size-7;n.length<e;r-=t)n.splice(1,0,r);return n}}static getNumRawDataModules(e){if(e<t.MIN_VERSION||e>t.MAX_VERSION)throw"Version number out of range";let n=(16*e+128)*e+64;if(e>=2){const t=Math.floor(e/7)+2;n-=(25*t-10)*t-55,e>=7&&(n-=36)}return o(208<=n&&n<=29648),n}static getNumDataCodewords(e,n){return Math.floor(t.getNumRawDataModules(e)/8)-t.ECC_CODEWORDS_PER_BLOCK[n.ordinal][e]*t.NUM_ERROR_CORRECTION_BLOCKS[n.ordinal][e]}static reedSolomonComputeDivisor(e){if(e<1||e>255)throw"Degree out of range";let n=[];for(let t=0;t<e-1;t++)n.push(0);n.push(1);let r=1;for(let i=0;i<e;i++){for(let e=0;e<n.length;e++)n[e]=t.reedSolomonMultiply(n[e],r),e+1<n.length&&(n[e]^=n[e+1]);r=t.reedSolomonMultiply(r,2)}return n}static reedSolomonComputeRemainder(e,n){let r=n.map((e=>0));for(const i of e){const e=i^r.shift();r.push(0),n.forEach(((n,i)=>r[i]^=t.reedSolomonMultiply(n,e)))}return r}static reedSolomonMultiply(e,t){if(e>>>8!=0||t>>>8!=0)throw"Byte out of range";let n=0;for(let r=7;r>=0;r--)n=n<<1^285*(n>>>7),n^=(t>>>r&1)*e;return o(n>>>8==0),n}finderPenaltyCountPatterns(e){const t=e[1];o(t<=3*this.size);const n=t>0&&e[2]==t&&e[3]==3*t&&e[4]==t&&e[5]==t;return(n&&e[0]>=4*t&&e[6]>=t?1:0)+(n&&e[6]>=4*t&&e[0]>=t?1:0)}finderPenaltyTerminateAndCount(e,t,n){return e&&(this.finderPenaltyAddHistory(t,n),t=0),t+=this.size,this.finderPenaltyAddHistory(t,n),this.finderPenaltyCountPatterns(n)}finderPenaltyAddHistory(e,t){0==t[0]&&(e+=this.size),t.pop(),t.unshift(e)}};let n=t;function r(e,t,n){if(t<0||t>31||e>>>t!=0)throw"Value out of range";for(let r=t-1;r>=0;r--)n.push(e>>>r&1)}function i(e,t){return 0!=(e>>>t&1)}function o(e){if(!e)throw"Assertion error"}n.MIN_VERSION=1,n.MAX_VERSION=40,n.PENALTY_N1=3,n.PENALTY_N2=3,n.PENALTY_N3=40,n.PENALTY_N4=10,n.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],n.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e.QrCode=n;const a=class{constructor(e,t,n){if(this.mode=e,this.numChars=t,this.bitData=n,t<0)throw"Invalid argument";this.bitData=n.slice()}static makeBytes(e){let t=[];for(const n of e)r(n,8,t);return new a(a.Mode.BYTE,e.length,t)}
1static makeNumeric(e){if(!a.isNumeric(e))throw"String contains non-numeric characters";let t=[];for(let n=0;n<e.length;){const i=Math.min(e.length-n,3);r(parseInt(e.substr(n,i),10),3*i+1,t),n+=i}return new a(a.Mode.NUMERIC,e.length,t)}static makeAlphanumeric(e){if(!a.isAlphanumeric(e))throw"String contains unencodable characters in alphanumeric mode";let t,n=[];for(t=0;t+2<=e.length;t+=2){let i=45*a.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t));i+=a.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t+1)),r(i,11,n)}return t<e.length&&r(a.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t)),6,n),new a(a.Mode.ALPHANUMERIC,e.length,n)}static makeSegments(e){return""==e?[]:a.isNumeric(e)?[a.makeNumeric(e)]:a.isAlphanumeric(e)?[a.makeAlphanumeric(e)]:[a.makeBytes(a.toUtf8ByteArray(e))]}static makeEci(e){let t=[];if(e<0)throw"ECI assignment value out of range";if(e<128)r(e,8,t);else if(e<16384)r(2,2,t),r(e,14,t);else{if(!(e<1e6))throw"ECI assignment value out of range";r(6,3,t),r(e,21,t)}return new a(a.Mode.ECI,0,t)}static isNumeric(e){return a.NUMERIC_REGEX.test(e)}static isAlphanumeric(e){return a.ALPHANUMERIC_REGEX.test(e)}getData(){return this.bitData.slice()}static getTotalBits(e,t){let n=0;for(const r of e){const e=r.mode.numCharCountBits(t);if(r.numChars>=1<<e)return 1/0;n+=4+e+r.bitData.length}return n}static toUtf8ByteArray(e){e=encodeURI(e);let t=[];for(let n=0;n<e.length;n++)"%"!=e.charAt(n)?t.push(e.charCodeAt(n)):(t.push(parseInt(e.substr(n+1,2),16)),n+=2);return t}};let u=a;u.NUMERIC_REGEX=/^[0-9]*$/,u.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/,u.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",e.QrSegment=u})(r||(r={})),(e=>{let t;(e=>{const t=class{constructor(e,t){this.ordinal=e,this.formatBits=t}};let n=t;n.LOW=new t(0,1),n.MEDIUM=new t(1,0),n.QUARTILE=new t(2,3),n.HIGH=new t(3,2),e.Ecc=n})(t=e.QrCode||(e.QrCode={}))})(r||(r={})),(e=>{let t;(e=>{const t=class{constructor(e,t){this.modeBits=e,this.numBitsCharCount=t}numCharCountBits(e){return this.numBitsCharCount[Math.floor((e+7)/17)]}};let n=t;n.NUMERIC=new t(1,[10,12,14]),n.ALPHANUMERIC=new t(2,[9,11,13]),n.BYTE=new t(4,[8,16,16]),n.KANJI=new t(8,[8,10,12]),n.ECI=new t(7,[0,0,0]),e.Mode=n})(t=e.QrSegment||(e.QrSegment={}))})(r||(r={}));var d=r,p={L:d.QrCode.Ecc.LOW,M:d.QrCode.Ecc.MEDIUM,Q:d.QrCode.Ecc.QUARTILE,H:d.QrCode.Ecc.HIGH},h={size:128,level:"L",bgColor:"#FFFFFF",fgColor:"#000000",includeMargin:!1};function v(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const n=[];return e.forEach((function(e,r){let i=null;e.forEach((function(o,a){if(!o&&null!==i)return n.push("M".concat(i+t," ").concat(r+t,"h").concat(a-i,"v1H").concat(i+t,"z")),void(i=null);if(a!==e.length-1)o&&null===i&&(i=a);else{if(!o)return;null===i?n.push("M".concat(a+t,",").concat(r+t," h1v1H").concat(a+t,"z")):n.push("M".concat(i+t,",").concat(r+t," h").concat(a+1-i,"v1H").concat(i+t,"z"))}}))})),n.join("")}function m(e,t){return e.slice().map(((e,n)=>n<t.y||n>=t.y+t.h?e:e.map(((e,n)=>(n<t.x||n>=t.x+t.w)&&e))))}function g(e,t){const n=e.imageSettings,r=e.size,i=e.includeMargin;if(null==n)return null;const o=i?4:0,a=t.length+2*o,u=Math.floor(.1*r),s=a/r,c=(n.width||u)*s,l=(n.height||u)*s,f=null==n.x?t.length/2-c/2:n.x*s,d=null==n.y?t.length/2-l/2:n.y*s;let p=null;if(n.excavate){let e=Math.floor(f),t=Math.floor(d);p={x:e,y:t,w:Math.ceil(c+f-e),h:Math.ceil(l+d-t)}}return{x:f,y:d,h:l,w:c,excavation:p}}var y=function(){try{(new Path2D).addPath(new Path2D)}catch(e){return!1}return!0}();function b(e){const t=(0,i.useRef)(null),n=(0,i.useRef)(null);function r(){const r=e.value,i=e.size,o=e.level,a=e.bgColor,u=e.fgColor,s=e.includeMargin;if(null!=t.current){const c=t.current,l=c.getContext("2d");if(!l)return;let f=d.QrCode.encodeText(r,p[o]).getModules();const h=s?4:0,b=f.length+2*h,w=g(e,f),D=n.current,_=null!=w&&null!==D&&D.complete&&0!==D.naturalHeight&&0!==D.naturalWidth;_&&null!=w.excavation&&(f=m(f,w.excavation));const E=window.devicePixelRatio||1;c.height=c.width=i*E;const A=i/b*E;l.scale(A,A),l.fillStyle=a,l.fillRect(0,0,b,b),l.fillStyle=u,y?l.fill(new Path2D(v(f,h))):f.forEach((function(e,t){e.forEach((function(e,n){e&&l.fillRect(n+h,t+h,1,1)}))})),_&&l.drawImage(D,w.x+h,w.y+h,w.w,w.h)}}(0,i.useEffect)((()=>{r()}));const o=e,a=(o.value,o.size),u=(o.level,o.bgColor,o.fgColor,o.style),s=(o.includeMargin,o.imageSettings),c=f(o,["value","size","level","bgColor","fgColor","style","includeMargin","imageSettings"]),h=l({height:a,width:a},u);let b=null,w=null==s?void 0:s.src;return null!=w&&(b=i.createElement("img",{src:w,key:w,style:{display:"none"},onLoad:()=>{r()},ref:n})),i.createElement(i.Fragment,null,i.createElement("canvas",l({style:h,height:a,width:a,ref:t},c)),b)}function w(e){const t=e,n=t.value,r=t.size,o=t.level,a=t.bgColor,u=t.fgColor,s=t.includeMargin,c=t.
1imageSettings,h=f(t,["value","size","level","bgColor","fgColor","includeMargin","imageSettings"]);let y=d.QrCode.encodeText(n,p[o]).getModules();const b=s?4:0,w=y.length+2*b,D=g(e,y);let _=null;null!=c&&null!=D&&(null!=D.excavation&&(y=m(y,D.excavation)),_=i.createElement("image",{xlinkHref:c.src,height:D.h,width:D.w,x:D.x+b,y:D.y+b,preserveAspectRatio:"none"}));const E=v(y,b);return i.createElement("svg",l({shapeRendering:"crispEdges",height:r,width:r,viewBox:"0 0 ".concat(w," ").concat(w)},h),i.createElement("path",{fill:a,d:"M0,0 h".concat(w,"v").concat(w,"H0z")}),i.createElement("path",{fill:u,d:E}),_)}b.defaultProps=h,w.defaultProps=h;var D=e=>{const t=e,n=t.renderAs,r=f(t,["renderAs"]),o="svg"===n?w:b;return i.createElement(o,l({},r))};D.defaultProps=l({renderAs:"canvas"},h)},95940:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(36579),i=n(7920),o=n(65131),a=n(95769),u=n(63953);const s=(0,a.A)(u.A,isNaN);var c=(0,i.A)(1,s);const l=(0,o.A)(Number.isNaN)?(0,i.A)(1,Number.isNaN):c;const f=(0,r.A)(l)},76914:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(36579),i=n(63953);const o=(0,r.A)(i.A)},58567:(e,t,n)=>{"use strict";function r(e,t){for(var n=0,r=t.length-(e-1),i=new Array(r>=0?r:0);n<r;)i[n]=Array.prototype.slice.call(t,n,n+e),n+=1;return i}n.d(t,{A:()=>l});var i=n(97599),o=n(61146),a=n(8368),u=n(41151),s=function(){function e(e,t){this.xf=t,this.pos=0,this.full=!1,this.acc=new Array(e)}return e.prototype["@@transducer/init"]=u.A.init,e.prototype["@@transducer/result"]=function(e){return this.acc=null,this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.store(t),this.full?this.xf["@@transducer/step"](e,this.getCopy()):e},e.prototype.store=function(e){this.acc[this.pos]=e,this.pos+=1,this.pos===this.acc.length&&(this.pos=0,this.full=!0)},e.prototype.getCopy=function(){return(0,a.A)(Array.prototype.slice.call(this.acc,this.pos),Array.prototype.slice.call(this.acc,0,this.pos))},e}();const c=(0,i.A)((function(e,t){return new s(e,t)}));const l=(0,i.A)((0,o.A)([],c,r))},94879:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(97599),i=n(61146),o=n(21289);var a=n(61252),u=n(65422),s=n(41151);const c=function(e){var t=function(e){return{"@@transducer/init":s.A.init,"@@transducer/result":function(t){return e["@@transducer/result"](t)},"@@transducer/step":function(t,n){var r=e["@@transducer/step"](t,n);return r["@@transducer/reduced"]?{"@@transducer/value":r,"@@transducer/reduced":!0}:r}}}(e);return{"@@transducer/init":s.A.init,"@@transducer/result":function(e){return t["@@transducer/result"](e)},"@@transducer/step":function(e,n){return(0,a.A)(n)?(0,u.A)(t,e,n):(0,u.A)(t,e,[n])}}};var l=n(96725);const f=(0,r.A)((function(e,t){return(0,l.A)(e,c(t))}));const d=(0,r.A)((0,i.A)(["fantasy-land/chain","chain"],f,(function(e,t){return"function"===typeof t?function(n){return e(t(n))(n)}:(0,o.A)(!1)((0,l.A)(e,t))})))},98593:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=(0,n(34209).A)((function(e,t){return e+1}),0)},51765:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(97599),i=n(61146),o=n(41151),a=function(){function e(e,t){this.xf=t,this.f=e,this.idx=-1,this.lastIdx=-1}return e.prototype["@@transducer/init"]=o.A.init,e.prototype["@@transducer/result"]=function(e){return this.xf["@@transducer/result"](this.xf["@@transducer/step"](e,this.lastIdx))},e.prototype["@@transducer/step"]=function(e,t){return this.idx+=1,this.f(t)&&(this.lastIdx=this.idx),e},e}();const u=(0,r.A)((function(e,t){return new a(e,t)}));const s=(0,r.A)((0,i.A)([],u,(function(e,t){for(var n=t.length-1;n>=0;){if(e(t[n]))return n;n-=1}return-1})))},55765:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(71906);const i=(0,n(97599).A)((0,r.A)("forEach",(function(e,t){for(var n=t.length,r=0;r<n;)e(t[r]),r+=1;return t})))},57161:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=(0,n(67209).A)(0,-1)},88858:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=(0,n(62984).A)((function(e,t,n){e=e<n.length&&e>=0?e:n.length;var r=Array.prototype.slice.call(n,0);return r.splice(e,0,t),r}))},58707:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=(0,n(72709).A)(1,"join")},17058:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=(0,n(62984).A)((function(e,t,n){for(var r=0,i=n.length,o=[],a=[t];r<i;)a=e(a[0],n[r]),o[r]=a[1],r+=1;return[a[0],o]}))},57571:(e,t,n)=>{"use strict";n.d(t,{A:()=>
1o});var r=n(97599),i=n(92074);const o=(0,r.A)((function(e,t){return(0,i.A)((function(e,t,n){return n}),e,t)}))},85307:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(62984),i=n(70696);const o=(0,r.A)((function(e,t,n){return t.length>0&&e((0,i.A)(t,n))}))},1582:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(97599),i=n(29282);const o=(0,r.A)((function(e,t){var n,r=Number(t),i=0;if(r<0||isNaN(r))throw new RangeError("n must be a non-negative number");for(n=new Array(r);i<r;)n[i]=e(i),i+=1;return n}));const a=(0,r.A)((function(e,t){return o((0,i.A)(e),t)}))},66748:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(97599),i=n(67209);const o=(0,r.A)((function(e,t){if(e<=0)throw new Error("First argument to splitEvery must be a positive integer");for(var n=[],r=0;r<t.length;)n.push((0,i.A)(r,r+=e,t));return n}))},76467:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=(0,n(97599).A)((function(e,t){for(var n=e(t),r=[];n&&n.length;)r[r.length]=n[0],n=e(n[1]);return r}))},23707:(e,t,n)=>{"use strict";n.d(t,{Vv:()=>_a,AW:()=>xa});var r=n(97920),i=n(13398),o=n(37117);function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var u=n(99593);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,(0,u.A)(r.key),r)}}function c(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var l=n(21019);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&&(0,l.A)(e,t)}var d=n(431),p=n(17957),h=n(72582);function v(e){var t=(0,p.A)();return function(){var n,r=(0,d.A)(e);if(t){var i=(0,d.A)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"==(0,o.A)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,h.A)(e)}(this,n)}}var m=n(36938),g=n(28853),y=n.n(g),b=function(){};function w(e,t){return void 0!==e[t]}function D(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}var _=n(54722),E=n(64347),A=n(93096);function C(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!==e&&void 0!==e&&this.setState(e)}function x(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!==n&&void 0!==n?n:null}.bind(this))}function O(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}C.__suppressDeprecationWarning=!0,x.__suppressDeprecationWarning=!0,O.__suppressDeprecationWarning=!0;function S(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=S(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}const F=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=S(e))&&(r&&(r+=" "),r+=t);return r};var P=n(58952),k=n.n(P),M="milliseconds",B="seconds",j="minutes",T="hours",I="day",R="week",N="month",L="year",z="decade",W="century",U={milliseconds:1,seconds:1e3,minutes:6e4,hours:36e5,day:864e5,week:6048e5},H={month:1,year:12,decade:120,century:1200};function V(e){return e%4===0&&e%100!==0||e%400===0?29:28}function $(e,t,n){switch(e=new Date(e),n){case M:case B:case j:case T:case I:case R:return function(e,t){var n=new Date(+e+t);return function(e,t){var n=e.getTimezoneOffset(),r=t.getTimezoneOffset();return new Date(+t+(r-n)*U.minutes)}(e,n)}(e,t*U[n]);case N:case L:case z:case W:return function(e,t){var n=e.getFullYear(),r=e.getMonth(),i=e.getDate(),o=12*n+r+t,a=Math.trunc(o/12),u=o%12,s=Math.min(i,function(e){return[31,V(e),31,30,31,30,31,31,30,31,30,31]}(a)[u]),c=new Date(e);return c.setFullYear(a),c.setDate(1),c.setMonth(u),c.setDate(s),c}(e,t*H[n])}throw new TypeError('Invalid units: "'+n+'"')}function K(e,t,n){return $(e,-t,n)}function Y(e,t,n){switch(e=new Date(e),t){case W:case z:case L:e=le(e,0);case N:e=ce(e,1);case R:case I:e=ue(e,0);case T:e=ae(e,0);case j:e=oe(e,0);case B:e=ie(e,0)}return t===z&&(e=K(e,fe(e)%10,"year")),t===W&&(e=K(e,fe(e)%100,"year")),t===R&&(e=function(e,t,n){var r=(se(e)+7-(n||0))%7;return void 0===t?r:$(e,t-r,I)}(e,0,n)),e}function q(e,t,n){switch(e=Y(e=new Date(e),t,n),t){case W:case z:case L:case N:case R:(e=K(e=$(e,1,t),1,I)).setHours(23,59,59,999);break;case I:e.setHours(23,59,59,999);break;case T:case j:case B:e=K(e=$(e,1,t),1,M)}return e}var X=pe((function(e,t){return e===t})),G=pe((function(e,t){return e!==t})),J=pe((function(e,t){return e>t})),Z=pe((function(e,t){return e>=t})),Q=pe((function(e,t){return e<t})),ee=pe((function(e,t){return e<=t}));function te(){return new Date(Math.min.apply(Math,arguments))}function ne(){return new Date(Math.max.apply(Math,arguments))}function re(e,t,n,r){return r=r||"day",(!t||Z(e,t,r))&&(!n||ee(e,n,r))}var ie=de("Milliseconds"),oe=de("Seconds"),ae=de("Minutes"),ue=de("Hours"),se=de("Day"),ce=de("Date"),le=de("Month"),fe=de("FullYear");function de(e){var t=function(e){switch(e){case"Milliseconds":return 36e5;case"Seconds":return 3600;case"Minutes":return 60;case"Hours":return 1;default:return null}}(e);return function(n,r){if(void 0===r)return n["get"+e]();var i=new Date(n);return i["set"+e](r),t&&i["get"+e]()!=r&&("Hours"===e||r>=t&&i.getHours()-n.getHours()<Math.floor(r/t))&&i["set"+e](r+t),i}}function pe(e){return function(t,n,r){return e(+Y(t,r),+Y(n,r))}}var he=n(76814),ve=n(31408);var me=n(11578),ge=n(71149);function ye(e){return function(e){if(Array.isArray(e))return(0,ve.A)(e)}(e)||(0,me.A)(e)||(0,ge.A)(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.")}()}var be=n(4493),we=n(46525),De=n(31201),_e=n(94192),Ee=n(11868);const Ae=function(e,t,n){if(!(0,Ee.A)(n))return!1;var r=typeof t;return!!("number"==r?(0,De.A)(n)&&(0,_e.A)(t,n.length):"string"==r&&t in n)&&(0,we.A)(n[t],e)};var Ce=/\s/;const xe=function(e){for(var t=e.length;t--&&Ce.test(e.charAt(t)););return t};var Oe=/^\s+/;const Se=function(e){return e?e.slice(0,xe(e)+1).replace(Oe,""):e};var Fe=n(75811),Pe=/^[-+]0x[0-9a-f]+$/i,ke=/^0b[01]+$/i,Me=/^0o[0-7]+$/i,Be=parseInt;const je=function(e){if("number"==typeof e)return e;if((0,Fe.A)(e))return NaN;if((0,Ee.A)(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=(0,Ee.A)(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Se(e);var n=ke.test(e);return n||Me.test(e)?Be(e.slice(2),n?2:8):Pe.test(e)?NaN:+e};var Te=1/0;const Ie=function(e){return e?(e=je(e))===Te||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0};const Re=function(e){var t=Ie(e),n=t%1;return t===t?n?t-n:t:0};var Ne=Math.ceil,Le=Math.max;const ze=function(e,t,n){t=(n?Ae(e,t,n):void 0===t)?1:Le(Re(t),0);var r=null==e?0:e.length;if(!r||t<1)return[];for(var i=0,o=0,a=Array(Ne(r/t));i<r;)a[o++]=(0,be.A)(e,i,i+=t);return a};function We(e){return e&&e.ownerDocument||document}function Ue(e,t){return function(e){var t=We(e);return t&&t.defaultView||window}(e).getComputedStyle(e,t)}var He=/([A-Z])/g;var Ve=/^ms-/;function $e(e){return function(e){return e.replace(He,"-$1").toLowerCase()}(e).replace(Ve,"-ms-")}var Ke=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;const Ye=function(e,t){var n="",r="";if("string"===typeof t)return e.style.getPropertyValue($e(t))||Ue(e).getPropertyValue($e(t));Object.keys(t).forEach((function(i){var o=t[i];o||0===o?!function(e){return!(!e||!Ke.test(e))}(i)?n+=$e(i)+": "+o+";":r+=i+"("+o+") ":e.style.removeProperty($e(i))})),r&&(n+="transform: "+r+";"),e.style.cssText+=";"+n};function qe(e,t){return e.contains?e.contains(t):e.compareDocumentPosition?e===t||!!(16&e.compareDocumentPosition(t)):void 0}function Xe(e){return"window"in e&&e.window===e?e:"nodeType"in(t=e)&&t.nodeType===document.DOCUMENT_NODE&&e.defaultView||!1;var t}function Ge(e){var t="pageXOffset"===e?"scrollLeft":"scrollTop";return function(n,r){var i=Xe(n);if(void 0===r)return i?i[e]:n[t];i?i.scrollTo(i[e],r):n[t]=r}}const Je=Ge("pageXOffset"),Ze=Ge("pageYOffset");function Qe(e){var t=We(e),n={top:0,left:0,height:0,width:0},r=t&&t.documentElement;return r&&qe(r,e)?(void 0!==e.getBoundingClientRect&&(n=e.getBoundingClientRect()),n={top:n.top+Ze(r)-(r.clientTop||0),left
1:n.left+Je(r)-(r.clientLeft||0),width:n.width,height:n.height}):n}function et(e,t){var n,r={top:0,left:0};if("fixed"===Ye(e,"position"))n=e.getBoundingClientRect();else{var i=t||function(e){for(var t,n=We(e),r=e&&e.offsetParent;(t=r)&&"offsetParent"in t&&"HTML"!==r.nodeName&&"static"===Ye(r,"position");)r=r.offsetParent;return r||n.documentElement}(e);n=Qe(e),"html"!==function(e){return e.nodeName&&e.nodeName.toLowerCase()}(i)&&(r=Qe(i));var o=String(Ye(i,"borderTopWidth")||0);r.top+=parseInt(o,10)-Ze(i)||0;var a=String(Ye(i,"borderLeftWidth")||0);r.left+=parseInt(a,10)-Je(i)||0}var u=String(Ye(e,"marginTop")||0),s=String(Ye(e,"marginLeft")||0);return(0,E.A)({},n,{top:n.top-r.top-(parseInt(u,10)||0),left:n.left-r.left-(parseInt(s,10)||0)})}const tt=!("undefined"===typeof window||!window.document||!window.document.createElement);var nt=(new Date).getTime();var rt="clearTimeout",it=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-nt)),r=setTimeout(e,n);return nt=t,r},ot=function(e,t){return e+(e?t[0].toUpperCase()+t.substr(1):t)+"AnimationFrame"};tt&&["","webkit","moz","o","ms"].some((function(e){var t=ot(e,"request");return t in window&&(rt=ot(e,"cancel"),it=function(e){return window[t](e)}),!!it}));var at=function(e){"function"===typeof window[rt]&&window[rt](e)},ut=it,st=n(29579);const ct=function(e,t){return(0,st.A)(e,t)};var lt=n(18583);function ft(){return(0,m.useState)(null)}var dt=function(e){return e&&"function"!==typeof e?function(t){e.current=t}:e};const pt=function(e,t){return(0,m.useMemo)((function(){return function(e,t){var n=dt(e),r=dt(t);return function(e){n&&n(e),r&&r(e)}}(e,t)}),[e,t])};var ht="top",vt="bottom",mt="right",gt="left",yt="auto",bt=[ht,vt,mt,gt],wt="start",Dt="end",_t="viewport",Et="popper",At=bt.reduce((function(e,t){return e.concat([t+"-"+wt,t+"-"+Dt])}),[]),Ct=[].concat(bt,[yt]).reduce((function(e,t){return e.concat([t,t+"-"+wt,t+"-"+Dt])}),[]),xt=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];const Ot=function(e){var t=function(){var e=(0,m.useRef)(!0),t=(0,m.useRef)((function(){return e.current}));return(0,m.useEffect)((function(){return function(){e.current=!1}}),[]),t.current}();return[e[0],(0,m.useCallback)((function(n){if(t())return e[1](n)}),[t,e[1]])]};function St(e){return e.split("-")[0]}function Ft(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Pt(e){return e instanceof Ft(e).Element||e instanceof Element}function kt(e){return e instanceof Ft(e).HTMLElement||e instanceof HTMLElement}function Mt(e){return"undefined"!==typeof ShadowRoot&&(e instanceof Ft(e).ShadowRoot||e instanceof ShadowRoot)}var Bt=Math.max,jt=Math.min,Tt=Math.round;function It(){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 Rt(){return!/^((?!chrome|android).)*safari/i.test(It())}function Nt(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&kt(e)&&(i=e.offsetWidth>0&&Tt(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Tt(r.height)/e.offsetHeight||1);var a=(Pt(e)?Ft(e):window).visualViewport,u=!Rt()&&n,s=(r.left+(u&&a?a.offsetLeft:0))/i,c=(r.top+(u&&a?a.offsetTop:0))/o,l=r.width/i,f=r.height/o;return{width:l,height:f,top:c,right:s+l,bottom:c+f,left:s,x:s,y:c}}function Lt(e){var t=Nt(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 zt(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Mt(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Wt(e){return e?(e.nodeName||"").toLowerCase():null}function Ut(e){return Ft(e).getComputedStyle(e)}function Ht(e){return["table","td","th"].indexOf(Wt(e))>=0}function Vt(e){return((Pt(e)?e.ownerDocument:e.document)||window.document).documentElement}function $t(e){return"html"===Wt(e)?e:e.assignedSlot||e.parentNode||(Mt(e)?e.host:null)||Vt(e)}function Kt(e){return kt(e)&&"fixed"!==Ut(e).position?e.offsetParent:null}function Yt(e){for(var t=Ft(e),n=Kt(e);n&&Ht(n)&&"static"===Ut(n).position;)n=Kt(n);return n&&("html"===Wt(n)||"body"===Wt(n)&&"static"===Ut(n).position)?t:n||function(e){var t=/firefox/i.test(It());if(/Trident/i.test(It())&&kt(e)&&"fixed"===Ut(e).position)return null;var n=$t(e);for(Mt(n)&&(n=n.host);kt(n)&&["html","body"].indexOf(Wt(n))<0;){var r=Ut(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}function qt(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Xt(e,t,n){return Bt(e,jt(t,n))}function Gt(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Jt(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}const Zt={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,u=St(n.placement),s=qt(u),c=[gt,mt].indexOf(u)>=0?"height":"width";if(o&&a){var l=function(e,t){return Gt("number"!==typeof(e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Jt(e,bt))}(i.padding,n),f=Lt(o),d="y"===s?ht:gt,p="y"===s?vt:mt,h=n.rects.reference[c]+n.rects.reference[s]-a[s]-n.rects.popper[c],v=a[s]-n.rects.reference[s],m=Yt(o),g=m?"y"===s?m.clientHeight||0:m.clientWidth||0:0,y=h/2-v/2,b=l[d],w=g-f[c]-l[p],D=g/2-f[c]/2+y,_=Xt(b,D,w),E=s;n.modifiersData[r]=((t={})[E]=_,t.centerOffset=_-D,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)))&&zt(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Qt(e){return e.split("-")[1]}var en={top:"auto",right:"auto",bottom:"auto",left:"auto"};
vendor: 2,013 bytes, line 1
1function tn(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,u=e.position,s=e.gpuAcceleration,c=e.adaptive,l=e.roundOffsets,f=e.isFixed,d=a.x,p=void 0===d?0:d,h=a.y,v=void 0===h?0:h,m="function"===typeof l?l({x:p,y:v}):{x:p,y:v};p=m.x,v=m.y;var g=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),b=gt,w=ht,D=window;if(c){var _=Yt(n),E="clientHeight",A="clientWidth";if(_===Ft(n)&&"static"!==Ut(_=Vt(n)).position&&"absolute"===u&&(E="scrollHeight",A="scrollWidth"),i===ht||(i===gt||i===mt)&&o===Dt)w=vt,v-=(f&&_===D&&D.visualViewport?D.visualViewport.height:_[E])-r.height,v*=s?1:-1;if(i===gt||(i===ht||i===vt)&&o===Dt)b=mt,p-=(f&&_===D&&D.visualViewport?D.visualViewport.width:_[A])-r.width,p*=s?1:-1}var C,x=Object.assign({position:u},c&&en),O=!0===l?function(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:Tt(n*i)/i||0,y:Tt(r*i)/i||0}}({x:p,y:v},Ft(n)):{x:p,y:v};return p=O.x,v=O.y,s?Object.assign({},x,((C={})[w]=y?"0":"",C[b]=g?"0":"",C.transform=(D.devicePixelRatio||1)<=1?"translate("+p+"px, "+v+"px)":"translate3d("+p+"px, "+v+"px, 0)",C)):Object.assign({},x,((t={})[w]=y?v+"px":"",t[b]=g?p+"px":"",t.transform="",t))}const nn={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=void 0===r||r,o=n.adaptive,a=void 0===o||o,u=n.roundOffsets,s=void 0===u||u,c={placement:St(t.placement),variation:Qt(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,tn(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,tn(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};
vendor: 4,106 bytes, line 1
1var rn={passive:!0};const on={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=void 0===i||i,a=r.resize,u=void 0===a||a,s=Ft(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach((function(e){e.addEventListener("scroll",n.update,rn)})),u&&s.addEventListener("resize",n.update,rn),function(){o&&c.forEach((function(e){e.removeEventListener("scroll",n.update,rn)})),u&&s.removeEventListener("resize",n.update,rn)}},data:{}};var an={left:"right",right:"left",bottom:"top",top:"bottom"};function un(e){return e.replace(/left|right|bottom|top/g,(function(e){return an[e]}))}var sn={start:"end",end:"start"};function cn(e){return e.replace(/start|end/g,(function(e){return sn[e]}))}function ln(e){var t=Ft(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function fn(e){return Nt(Vt(e)).left+ln(e).scrollLeft}function dn(e){var t=Ut(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function pn(e){return["html","body","#document"].indexOf(Wt(e))>=0?e.ownerDocument.body:kt(e)&&dn(e)?e:pn($t(e))}function hn(e,t){var n;void 0===t&&(t=[]);var r=pn(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),o=Ft(r),a=i?[o].concat(o.visualViewport||[],dn(r)?r:[]):r,u=t.concat(a);return i?u:u.concat(hn($t(a)))}function vn(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function mn(e,t,n){return t===_t?vn(function(e,t){var n=Ft(e),r=Vt(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,u=0,s=0;if(i){o=i.width,a=i.height;var c=Rt();(c||!c&&"fixed"===t)&&(u=i.offsetLeft,s=i.offsetTop)}return{width:o,height:a,x:u+fn(e),y:s}}(e,n)):Pt(t)?function(e,t){var n=Nt(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):vn(function(e){var t,n=Vt(e),r=ln(e),i=null==(t=e.ownerDocument)?void 0:t.body,o=Bt(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=Bt(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),u=-r.scrollLeft+fn(e),s=-r.scrollTop;return"rtl"===Ut(i||n).direction&&(u+=Bt(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:u,y:s}}(Vt(e)))}function gn(e,t,n,r){var i="clippingParents"===t?function(e){var t=hn($t(e)),n=["absolute","fixed"].indexOf(Ut(e).position)>=0&&kt(e)?Yt(e):e;return Pt(n)?t.filter((function(e){return Pt(e)&&zt(e,n)&&"body"!==Wt(e)})):[]}(e):[].concat(t),o=[].concat(i,[n]),a=o[0],u=o.reduce((function(t,n){var i=mn(e,n,r);return t.top=Bt(i.top,t.top),t.right=jt(i.right,t.right),t.bottom=jt(i.bottom,t.bottom),t.left=Bt(i.left,t.left),t}),mn(e,a,r));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function yn(e){var t,n=e.reference,r=e.element,i=e.placement,o=i?St(i):null,a=i?Qt(i):null,u=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(o){case ht:t={x:u,y:n.y-r.height};break;case vt:t={x:u,y:n.y+n.height};break;case mt:t={x:n.x+n.width,y:s};break;case gt:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var c=o?qt(o):null;if(null!=c){var l="y"===c?"height":"width";switch(a){case wt:t[c]=t[c]-(n[l]/2-r[l]/2);break;case Dt:t[c]=t[c]+(n[l]/2-r[l]/2)}}return t}function bn(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=void 0===r?e.placement:r,o=n.strategy,a=void 0===o?e.strategy:o,u=n.boundary,s=void 0===u?"clippingParents":u,c=n.rootBoundary,l=void 0===c?_t:c,f=n.elementContext,d=void 0===f?Et:f,p=n.altBoundary,h=void 0!==p&&p,v=n.padding,m=void 0===v?0:v,g=Gt("number"!==typeof m?m:Jt(m,bt)),y=d===Et?"reference":Et,b=e.rects.popper,w=e.elements[h?y:d],D=gn(Pt(w)?w:w.contextElement||Vt(e.elements.popper),s,l,a),_=Nt(e.elements.reference),E=yn({reference:_,element:b,strategy:"absolute",placement:i}),A=vn(Object.assign({},b,E)),C=d===Et?A:_,x={top:D.top-C.top+g.top,bottom:C.bottom-D.bottom+g.bottom,left:D.left-C.left+g.left,right:C.right-D.right+g.right},O=e.modifiersData.offset;if(d===Et&&O){var S=O[i];
vendor: 5,174 bytes, line 1
1Object.keys(x).forEach((function(e){var t=[mt,vt].indexOf(e)>=0?1:-1,n=[ht,vt].indexOf(e)>=0?"y":"x";x[e]+=S[n]*t}))}return x}const wn={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 i=n.mainAxis,o=void 0===i||i,a=n.altAxis,u=void 0===a||a,s=n.fallbackPlacements,c=n.padding,l=n.boundary,f=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,h=void 0===p||p,v=n.allowedAutoPlacements,m=t.options.placement,g=St(m),y=s||(g===m||!h?[un(m)]:function(e){if(St(e)===yt)return[];var t=un(e);return[cn(e),t,cn(t)]}(m)),b=[m].concat(y).reduce((function(e,n){return e.concat(St(n)===yt?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,u=n.flipVariations,s=n.allowedAutoPlacements,c=void 0===s?Ct:s,l=Qt(r),f=l?u?At:At.filter((function(e){return Qt(e)===l})):bt,d=f.filter((function(e){return c.indexOf(e)>=0}));0===d.length&&(d=f);var p=d.reduce((function(t,n){return t[n]=bn(e,{placement:n,boundary:i,rootBoundary:o,padding:a})[St(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:l,rootBoundary:f,padding:c,flipVariations:h,allowedAutoPlacements:v}):n)}),[]),w=t.rects.reference,D=t.rects.popper,_=new Map,E=!0,A=b[0],C=0;C<b.length;C++){var x=b[C],O=St(x),S=Qt(x)===wt,F=[ht,vt].indexOf(O)>=0,P=F?"width":"height",k=bn(t,{placement:x,boundary:l,rootBoundary:f,altBoundary:d,padding:c}),M=F?S?mt:gt:S?vt:ht;w[P]>D[P]&&(M=un(M));var B=un(M),j=[];if(o&&j.push(k[O]<=0),u&&j.push(k[M]<=0,k[B]<=0),j.every((function(e){return e}))){A=x,E=!1;break}_.set(x,j)}if(E)for(var T=function(e){var t=b.find((function(t){var n=_.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return A=t,"break"},I=h?3:1;I>0;I--){if("break"===T(I))break}t.placement!==A&&(t.modifiersData[r]._skip=!0,t.placement=A,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Dn(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 _n(e){return[ht,mt,vt,gt].some((function(t){return e[t]>=0}))}const En={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=void 0===i?[0,0]:i,a=Ct.reduce((function(e,n){return e[n]=function(e,t,n){var r=St(e),i=[gt,ht].indexOf(r)>=0?-1:1,o="function"===typeof n?n(Object.assign({},t,{placement:e})):n,a=o[0],u=o[1];return a=a||0,u=(u||0)*i,[gt,mt].indexOf(r)>=0?{x:u,y:a}:{x:a,y:u}}(n,t.rects,o),e}),{}),u=a[t.placement],s=u.x,c=u.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}};const An={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=void 0===i||i,a=n.altAxis,u=void 0!==a&&a,s=n.boundary,c=n.rootBoundary,l=n.altBoundary,f=n.padding,d=n.tether,p=void 0===d||d,h=n.tetherOffset,v=void 0===h?0:h,m=bn(t,{boundary:s,rootBoundary:c,padding:f,altBoundary:l}),g=St(t.placement),y=Qt(t.placement),b=!y,w=qt(g),D="x"===w?"y":"x",_=t.modifiersData.popperOffsets,E=t.rects.reference,A=t.rects.popper,C="function"===typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,x="number"===typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),O=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,S={x:0,y:0};if(_){if(o){var F,P="y"===w?ht:gt,k="y"===w?vt:mt,M="y"===w?"height":"width",B=_[w],j=B+m[P],T=B-m[k],I=p?-A[M]/2:0,R=y===wt?E[M]:A[M],N=y===wt?-A[M]:-E[M],L=t.elements.arrow,z=p&&L?Lt(L):{width:0,height:0},W=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},U=W[P],H=W[k],V=Xt(0,E[M],z[M]),$=b?E[M]/2-I-V-U-x.mainAxis:R-V-U-x.mainAxis,K=b?-E[M]/2+I+V+H+x.mainAxis:N+V+H+x.mainAxis,Y=t.elements.arrow&&Yt(t.elements.arrow),q=Y?"y"===w?Y.clientTop||0:Y.clientLeft||0:0,X=null!=(F=null==O?void 0:O[w])?F:0,G=B+K-X,J=Xt(p?jt(j,B+$-X-q):j,B,p?Bt(T,G):T);_[w]=J,S[w]=J-B}if(u){var Z,Q="x"===w?ht:gt,ee="x"===w?vt:mt,te=_[D],ne="y"===D?"height":"width",re=te+m[Q],ie=te-m[ee],oe=-1!==[ht,gt].indexOf(g),ae=null!=(Z=null==O?void 0:O[D])?Z:0,ue=oe?re:te-E[ne]-A[ne]-ae+x.altAxis,se=oe?te+E[ne]+A[ne]-ae-x.altAxis:ie,ce=p&&oe?function(e,t,n){var r=Xt(e,t,n);return r>n?n:r}(ue,te,se):Xt(p?ue:re,te,p?se:ie);_[D]=ce,S[D]=ce-te}t.modifiersData[r]=S}},requiresIfExists:["offset"]};function Cn(e,t,n){void 0===n&&(n=!1);var r=kt(t),i=kt(t)&&function(e){var t=e.getBoundingClientRect(),n=Tt(t.width)/e.offsetWidth||1,r=Tt(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),o=Vt(t),a=Nt(e,i,n),u={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(r||!r&&!n)&&(("body"!==Wt(t)||dn(o))&&(u=function(e){return e!==Ft(e)&&kt(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:ln(e);var t}(t)),kt(t)?((s=Nt(t,!0)).x+=t.clientLeft,s.y+=t.clientTop):o&&(s.x=fn(o))),{x:a.left+u.scrollLeft-s.x,y:a.top+u.scrollTop-s.y,width:a.width,height:a.height}}function xn(e){var t=new Map,n=new Set,r=[];function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEac
1h((function(e){if(!n.has(e)){var r=t.get(e);r&&i(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||i(e)})),r}function On(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var Sn={placement:"bottom",modifiers:[],strategy:"absolute"};function Fn(){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 Pn(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,i=t.defaultOptions,o=void 0===i?Sn:i;return function(e,t,n){void 0===n&&(n=o);var i={placement:"bottom",orderedModifiers:[],options:Object.assign({},Sn,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},a=[],u=!1,s={state:i,setOptions:function(n){var u="function"===typeof n?n(i.options):n;c(),i.options=Object.assign({},o,i.options,u),i.scrollParents={reference:Pt(e)?hn(e):e.contextElement?hn(e.contextElement):[],popper:hn(t)};var l=function(e){var t=xn(e);return xt.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,i.options.modifiers)));return i.orderedModifiers=l.filter((function(e){return e.enabled})),i.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"===typeof o){var u=o({state:i,name:t,instance:s,options:r}),c=function(){};a.push(u||c)}})),s.update()},forceUpdate:function(){if(!u){var e=i.elements,t=e.reference,n=e.popper;if(Fn(t,n)){i.rects={reference:Cn(t,Yt(n),"fixed"===i.options.strategy),popper:Lt(n)},i.reset=!1,i.placement=i.options.placement,i.orderedModifiers.forEach((function(e){return i.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<i.orderedModifiers.length;r++)if(!0!==i.reset){var o=i.orderedModifiers[r],a=o.fn,c=o.options,l=void 0===c?{}:c,f=o.name;"function"===typeof a&&(i=a({state:i,options:l,name:f,instance:s})||i)}else i.reset=!1,r=-1}}},update:On((function(){return new Promise((function(e){s.forceUpdate(),e(i)}))})),destroy:function(){c(),u=!0}};if(!Fn(e,t))return s;function c(){a.forEach((function(e){return e()})),a=[]}return s.setOptions(n).then((function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)})),s}}var kn=Pn({defaultModifiers:[{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=bn(t,{elementContext:"reference"}),u=bn(t,{altBoundary:!0}),s=Dn(a,r),c=Dn(u,i,o),l=_n(s),f=_n(c);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:l,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":f})}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=yn({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},nn,on,En,wn,An,Zt]}),Mn=function(e){return{position:e,top:"0",left:"0",opacity:"0",pointerEvents:"none"}},Bn={name:"applyStyles",enabled:!1},jn={name:"ariaDescribedBy",enabled:!0,phase:"afterWrite",effect:function(e){var t=e.state;return function(){var e=t.elements,n=e.reference,r=e.popper;if("removeAttribute"in n){var i=(n.getAttribute("aria-describedby")||"").split(",").filter((function(e){return e.trim()!==r.id}));i.length?n.setAttribute("aria-describedby",i.join(",")):n.removeAttribute("aria-describedby")}}},fn:function(e){var t,n=e.state.elements,r=n.popper,i=n.reference,o=null==(t=r.getAttribute("role"))?void 0:t.toLowerCase();if(r.id&&"tooltip"===o&&"setAttribute"in i){var a=i.getAttribute("aria-describedby");if(a&&-1!==a.split(",").indexOf(r.id))return;i.setAttribute("aria-describedby",a?a+","+r.id:r.id)}}},Tn=[];const In=function(e,t,n){var r=void 0===n?{}:n,i=r.enabled,o=void 0===i||i,a=r.placement,u=void 0===a?"bottom":a,s=r.strategy,c=void 0===s?"absolute":s,l=r.modifiers,f=void 0===l?Tn:l,d=(0,_.A)(r,["enabled","placement","strategy","modifiers"]),p=(0,m.useRef)(),h=(0,m.useCallback)((function(){var e;
1null==(e=p.current)||e.update()}),[]),v=(0,m.useCallback)((function(){var e;null==(e=p.current)||e.forceUpdate()}),[]),g=Ot((0,m.useState)({placement:u,update:h,forceUpdate:v,attributes:{},styles:{popper:Mn(c),arrow:{}}})),y=g[0],b=g[1],w=(0,m.useMemo)((function(){return{name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:function(e){var t=e.state,n={},r={};Object.keys(t.elements).forEach((function(e){n[e]=t.styles[e],r[e]=t.attributes[e]})),b({state:t,styles:n,attributes:r,update:h,forceUpdate:v,placement:t.placement})}}}),[h,v,b]);return(0,m.useEffect)((function(){p.current&&o&&p.current.setOptions({placement:u,strategy:c,modifiers:[].concat(f,[w,Bn])})}),[c,u,w,o]),(0,m.useEffect)((function(){if(o&&null!=e&&null!=t)return p.current=kn(e,t,(0,E.A)({},d,{placement:u,strategy:c,modifiers:[].concat(f,[jn,w])})),function(){null!=p.current&&(p.current.destroy(),p.current=void 0,b((function(e){return(0,E.A)({},e,{attributes:{},styles:{popper:Mn(c)}})})))}}),[o,e,t]),y};var Rn=!1,Nn=!1;try{var Ln={get passive(){return Rn=!0},get once(){return Nn=Rn=!0}};tt&&(window.addEventListener("test",Ln,Ln),window.removeEventListener("test",Ln,!0))}catch(Oa){}const zn=function(e,t,n,r){if(r&&"boolean"!==typeof r&&!Nn){var i=r.once,o=r.capture,a=n;!Nn&&i&&(a=n.__once||function e(r){this.removeEventListener(t,e,o),n.call(this,r)},n.__once=a),e.addEventListener(t,a,Rn?r:o)}e.addEventListener(t,n,r)};const Wn=function(e,t,n,r){var i=r&&"boolean"!==typeof r?r.capture:r;e.removeEventListener(t,n,i),n.__once&&e.removeEventListener(t,n.__once,i)};const Un=function(e,t,n,r){return zn(e,t,n,r),function(){Wn(e,t,n,r)}};const Hn=function(e){var t=(0,m.useRef)(e);return(0,m.useEffect)((function(){t.current=e}),[e]),t};function Vn(e){var t=Hn(e);return(0,m.useCallback)((function(){return t.current&&t.current.apply(t,arguments)}),[t])}var $n=n(41930),Kn=n.n($n);const Yn=function(e){return We(function(e){return e&&"setState"in e?lt.findDOMNode(e):null!=e?e:null}(e))};var qn=function(){};var Xn=function(e){return e&&("current"in e?e.current:e)};const Gn=function(e,t,n){var r=void 0===n?{}:n,i=r.disabled,o=r.clickTrigger,a=void 0===o?"click":o,u=(0,m.useRef)(!1),s=t||qn,c=(0,m.useCallback)((function(t){var n,r=Xn(e);Kn()(!!r,"RootClose captured a close event but does not have a ref to compare it to. useRootClose(), should be passed a ref that resolves to a DOM node"),u.current=!r||!!((n=t).metaKey||n.altKey||n.ctrlKey||n.shiftKey)||!function(e){return 0===e.button}(t)||!!qe(r,t.target)}),[e]),l=Vn((function(e){u.current||s(e)})),f=Vn((function(e){27===e.keyCode&&s(e)}));(0,m.useEffect)((function(){if(!i&&null!=e){var t=window.event,n=Yn(Xn(e)),r=Un(n,a,c,!0),o=Un(n,a,(function(e){e!==t?l(e):t=void 0})),u=Un(n,"keyup",(function(e){e!==t?f(e):t=void 0})),s=[];return"ontouchstart"in n.documentElement&&(s=[].slice.call(n.body.children).map((function(e){return Un(e,"mousemove",qn)}))),function(){r(),o(),u(),s.forEach((function(e){return e()}))}}}),[e,i,a,c,l,f])};var Jn=function(e){var t;return"undefined"===typeof document?null:null==e?We().body:("function"===typeof e&&(e=e()),e&&"current"in e&&(e=e.current),(null==(t=e)?void 0:t.nodeType)&&e||null)};function Zn(e,t){var n=(0,m.useState)((function(){return Jn(e)})),r=n[0],i=n[1];if(!r){var o=Jn(e);o&&i(o)}return(0,m.useEffect)((function(){t&&r&&t(r)}),[t,r]),(0,m.useEffect)((function(){var t=Jn(e);t!==r&&i(t)}),[e,r]),r}function Qn(e){var t,n,r,i,o,a=e.enabled,u=e.enableEvents,s=e.placement,c=e.flip,l=e.offset,f=e.containerPadding,d=e.arrowElement,p=e.popperConfig,h=void 0===p?{}:p,v=function(e){var t={};return Array.isArray(e)?(null==e||e.forEach((function(e){t[e.name]=e})),t):e||t}(h.modifiers);return(0,E.A)({},h,{placement:s,enabled:a,modifiers:(o=(0,E.A)({},v,{eventListeners:{enabled:u},preventOverflow:(0,E.A)({},v.preventOverflow,{options:f?(0,E.A)({padding:f},null==(t=v.preventOverflow)?void 0:t.options):null==(n=v.preventOverflow)?void 0:n.options}),offset:{options:(0,E.A)({offset:l},null==(r=v.offset)?void 0:r.options)},arrow:(0,E.A)({},v.arrow,{enabled:!!d,options:(0,E.A)({},null==(i=v.arrow)?void 0:i.options,{element:d})}),flip:(0,E.A)({enabled:!!c},v.flip)}),void 0===o&&(o={}),Array.isArray(o)?o:Object.keys(o).map((function(e){return o[e].name=e,o[e]})))})}var er=m.forwardRef((function(e,t){var n=e.flip,r=e.offset,i=e.placement,o=e.containerPadding,a=void 0===o?5:o,u=e.popperConfig,s=void 0===u?{}:u,c=e.transition,l=ft(),f=l[0],d=l[1],p=ft(),h=p[0],v=p[1],g=pt(d,t),y=Zn(e.container),b=Zn(e.target),w=(0,m.useState)(!e.show),D=w[0],A=w[1],C=In(b,f,Qn({placement:i,enableEvents:!!e.show,containerPadding:a||5,flip:n,offset:r,arrowElement:h,popperConfig:s})),x=C.styles,O=C.attributes,S=(0,_.A)(C,["styles","attributes"]);e.show?D&&A(!1):e.transition||D||A(!0);var F=e.show||c&&!D;if(Gn(f,e.onHide,{disabled:!e.rootClose||e.rootCloseDisabled,clickTrigger:e.rootCloseEvent}),!F)return null;var P=e.children((0,E.A)({},S,{show:!!e.show,props:(0,E.A)({},O.popper,{style:x.popper,ref:g}),arrowProps:(0,E.A)({},O.arrow,{style:x.arrow,ref:v})}));if(c){var k=e.onExit,M=e.onExiting,B=e.onEnter,j=e.onEntering,T=e.onEntered;P=m.createElement(c,{in:e.show,appear:!0,onExit:k,onExiting:M,onExited:function(){A(!0),e.onExited&&e.onExited.apply(e,arguments)},onEnter:B,onEntering:j,onEntered:T},P)}return y?lt.createPortal(P,y):null}));er.displayName="Overlay",er.propTypes={show:k().bool,placement:k().oneOf(Ct),target:k().any,container:k().any,flip:k().bool,children:k().func.isRequired,containerPadding:k().number,popperConfig:k().object,rootClose:k().bool,rootCloseEvent:k().oneOf(["click","mousedown"]),rootCloseDisabled:k().bool,onHide: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];var i;
1return e.rootClose?(i=k().func).isRequired.apply(i,[e].concat(n)):k().func.apply(k(),[e].concat(n))},transition:k().elementType,onEnter:k().func,onEntering:k().func,onEntered:k().func,onExit:k().func,onExiting:k().func,onExited:k().func};const tr=er;function nr(e,t){var n=Xe(e);return n?n.innerHeight:t?e.clientHeight:Qe(e).height}var rr,ir=Function.prototype.bind.call(Function.prototype.call,[].slice);function or(e,t){if(!rr){var n=document.body,r=n.matches||n.matchesSelector||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector;rr=function(e,t){return r.call(e,t)}}return rr(e,t)}const ar=function(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1};var ur=n(49921),sr=Math.max;const cr=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:Re(n);return i<0&&(i=sr(r+i,0)),ar(e,(0,ur.A)(t,3),i)};var lr=Math.ceil,fr=Math.max;const dr=function(e,t,n,r){for(var i=-1,o=fr(lr((t-e)/(n||1)),0),a=Array(o);o--;)a[r?o:++i]=e,e+=n;return a};const pr=function(e){return function(t,n,r){return r&&"number"!=typeof r&&Ae(t,n,r)&&(n=r=void 0),t=Ie(t),void 0===n?(n=t,t=0):n=Ie(n),r=void 0===r?t<n?1:-1:Ie(r),dr(t,n,r,e)}};const hr=pr();var vr=Number.isNaN||function(e){return"number"===typeof e&&e!==e};function mr(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(r=e[n],i=t[n],!(r===i||vr(r)&&vr(i)))return!1;var r,i;return!0}function gr(e,t){void 0===t&&(t=mr);var n=null;function r(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var o=e.apply(this,r);return n={lastResult:o,lastArgs:r,lastThis:this},o}return r.clear=function(){n=null},r}var yr=n(68622),br=n(57929),wr=n(10242),Dr=n(11618),_r=n(66278),Er=wr.A?wr.A.isConcatSpreadable:void 0;const Ar=function(e){return(0,_r.A)(e)||(0,Dr.A)(e)||!!(Er&&e&&e[Er])};const Cr=function e(t,n,r,i,o){var a=-1,u=t.length;for(r||(r=Ar),o||(o=[]);++a<u;){var s=t[a];n>0&&r(s)?n>1?e(s,n-1,r,i,o):(0,br.A)(o,s):i||(o[o.length]=s)}return o};var xr=n(12071),Or=n(26931),Sr=n(68998);const Fr=function(e,t){return function(n,r){if(null==n)return n;if(!(0,De.A)(n))return e(n,r);for(var i=n.length,o=t?i:-1,a=Object(n);(t?o--:++o<i)&&!1!==r(a[o],o,a););return n}}(Sr.A);const Pr=function(e,t){var n=-1,r=(0,De.A)(e)?Array(e.length):[];return Fr(e,(function(e,i,o){r[++n]=t(e,i,o)})),r};const kr=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e};var Mr=n(91300);const Br=function(e,t){if(e!==t){var n=void 0!==e,r=null===e,i=e===e,o=(0,Fe.A)(e),a=void 0!==t,u=null===t,s=t===t,c=(0,Fe.A)(t);if(!u&&!c&&!o&&e>t||o&&a&&s&&!u&&!c||r&&a&&s||!n&&s||!i)return 1;if(!r&&!o&&!c&&e<t||c&&n&&i&&!r&&!o||u&&n&&i||!a&&i||!s)return-1}return 0};const jr=function(e,t,n){for(var r=-1,i=e.criteria,o=t.criteria,a=i.length,u=n.length;++r<a;){var s=Br(i[r],o[r]);if(s)return r>=u?s:s*("desc"==n[r]?-1:1)}return e.index-t.index};var Tr=n(18901);const Ir=function(e,t,n){t=t.length?(0,xr.A)(t,(function(e){return(0,_r.A)(e)?function(t){return(0,Or.A)(t,1===e.length?e[0]:e)}:e})):[Tr.A];var r=-1;t=(0,xr.A)(t,(0,Mr.A)(ur.A));var i=Pr(e,(function(e,n,i){return{criteria:(0,xr.A)(t,(function(t){return t(e)})),index:++r,value:e}}));return kr(i,(function(e,t){return jr(e,t,n)}))};const Rr=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)};var Nr=Math.max;const Lr=function(e,t,n){return t=Nr(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=Nr(r.length-t,0),a=Array(o);++i<o;)a[i]=r[t+i];i=-1;for(var u=Array(t+1);++i<t;)u[i]=r[i];return u[t]=n(a),Rr(e,this,u)}};const zr=function(e){return function(){return e}};var Wr=n(95652);const Ur=Wr.A?function(e,t){return(0,Wr.A)(e,"toString",{configurable:!0,enumerable:!1,value:zr(t),writable:!0})}:Tr.A;var Hr=Date.now;const Vr=function(e){var t=0,n=0;return function(){var r=Hr(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(Ur);const $r=function(e,t){return Vr(Lr(e,t,Tr.A),e+"")};const Kr=$r((function(e,t){if(null==e)return[];var n=t.length;return n>1&&Ae(e,t[0],t[1])?t=[]:n>2&&Ae(t[0],t[1],t[2])&&(t=[t[0]]),Ir(e,Cr(t,1),[])}));function Yr(e,t){var n=Xe(e);return n?n.innerWidth:t?e.clientWidth:Qe(e).width}var qr;function Xr(e){if((!qr&&0!==qr||e)&&tt){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),qr=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return qr}var Gr=n(86088);
1function Jr(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var Zr=n(79306),Qr=n(67302);const ei=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0};const ti=function(e,t){return t.length<2?e:(0,Or.A)(e,(0,be.A)(t,0,-1))};var ni=n(82043);const ri=function(e,t){return t=(0,Qr.A)(t,e),null==(e=ti(e,t))||delete e[(0,ni.A)(ei(t))]};var ii=n(76520),oi=n(85176);const ai=function(e){return(0,oi.A)(e)?void 0:e};const ui=function(e){return(null==e?0:e.length)?Cr(e,1):[]};const si=function(e){return Vr(Lr(e,void 0,ui),e+"")};var ci=n(15778);const li=si((function(e,t){var n={};if(null==e)return n;var r=!1;t=(0,xr.A)(t,(function(t){return t=(0,Qr.A)(t,e),r||(r=t.length>1),t})),(0,ii.A)(e,(0,ci.A)(e),n),r&&(n=(0,Zr.A)(n,7,ai));for(var i=t.length;i--;)ri(n,t[i]);return n}));var fi=n(48251),di=Object.prototype,pi=di.hasOwnProperty;const hi=$r((function(e,t){e=Object(e);var n=-1,r=t.length,i=r>2?t[2]:void 0;for(i&&Ae(t[0],t[1],i)&&(r=1);++n<r;)for(var o=t[n],a=(0,fi.A)(o),u=-1,s=a.length;++u<s;){var c=a[u],l=e[c];(void 0===l||(0,we.A)(l,di[c])&&!pi.call(e,c))&&(e[c]=o[c])}return e}));var vi=n(19824),mi=n(72275),gi=n(32112),yi=n(16348),bi=n(27943),wi=n(51576);const Di=function(e,t,n){var r=(0,_r.A)(e),i=r||(0,yi.A)(e)||(0,wi.A)(e);if(t=(0,ur.A)(t,4),null==n){var o=e&&e.constructor;n=i?r?new o:[]:(0,Ee.A)(e)&&(0,bi.A)(o)?(0,mi.A)((0,gi.A)(e)):{}}return(i?vi.A:Sr.A)(e,(function(e,r,i){return t(n,e,r,i)})),n};var _i=n(79387);function Ei(e){return e.children}var Ai="PREV",Ci="NEXT",xi="TODAY",Oi="DATE",Si={MONTH:"month",WEEK:"week",WORK_WEEK:"work_week",DAY:"day",AGENDA:"agenda"},Fi=Object.keys(Si).map((function(e){return Si[e]}));function Pi(e,t){e&&e.apply(null,[].concat(t))}k().oneOfType([k().string,k().func]),k().any,k().func,k().oneOfType([k().arrayOf(k().oneOf(Fi)),k().objectOf((function(e,t){if(-1!==Fi.indexOf(t)&&"boolean"===typeof e[t])return null;for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return k().elementType.apply(k(),[e,t].concat(r))}))]),k().oneOfType([k().oneOf(["overlap","no-overlap"]),k().func]);var ki={seconds:1e3,minutes:6e4,hours:36e5,day:864e5};function Mi(e,t){var n=Y(e,"month");return Y(n,"week",t.startOfWeek())}function Bi(e,t){var n=q(e,"month");return q(n,"week",t.startOfWeek())}function ji(e,t){for(var n=Mi(e,t),r=Bi(e,t),i=[];ee(n,r,"day");)i.push(n),n=$(n,1,"day");return i}function Ti(e,t){var n=Y(e,t);return X(n,e)?n:$(n,1,t)}function Ii(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"day",r=e,i=[];ee(r,t,n);)i.push(r),r=$(r,1,n);return i}function Ri(e,t){return null==t&&null==e?null:(null==t&&(t=new Date),null==e&&(e=new Date),e=Y(e,"day"),e=ue(e,ue(t)),e=ae(e,ae(t)),e=oe(e,oe(t)),ie(e,ie(t)))}function Ni(e){return 0===ue(e)&&0===ae(e)&&0===oe(e)&&0===ie(e)}function Li(e,t,n){return n&&"milliseconds"!==n?Math.round(Math.abs(+Y(e,n)/ki[n]-+Y(t,n)/ki[n])):Math.abs(+e-+t)}var zi=k().oneOfType([k().string,k().func]);function Wi(e,t,n,r,i){var o="function"===typeof r?r(n,i,e):t.call(e,n,r,i);return y()(null==o||"string"===typeof o,"`localizer format(..)` must return a string, null, or undefined"),o}function Ui(e,t,n){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),0,t+n,0,0)}function Hi(e,t){return e.getTimezoneOffset()-t.getTimezoneOffset()}function Vi(e,t){return Li(e,t,"minutes")+Hi(e,t)}function $i(e){var t=Y(e,"day");return Li(t,e,"minutes")+Hi(t,e)}function Ki(e,t){return Q(e,t,"day")}function Yi(e,t,n){return X(e,t,"minutes")?Z(t,n,"minutes"):J(t,n,"minutes")}function qi(e){var t=e.evtA,n=t.start,r=t.end,i=t.allDay,o=e.evtB,a=o.start,u=o.end,s=o.allDay,c=+Y(n,"day")-+Y(a,"day"),l=Li(n,Ti(r,"day"),"day"),f=Li(a,Ti(u,"day"),"day");return c||Math.max(f,1)-Math.max(l,1)||!!s-!!i||+n-+a||+r-+u}function Xi(e){var t=e.event,n=t.start,r=t.end,i=e.range,o=i.start,a=i.end,u=Y(n,"day"),s=ee(u,a,"day"),c=G(u,r,"minutes")?J(r,o,"minutes"):Z(r,o,"minutes");return s&&c}function Gi(e,t){return X(e,t,"day")}function Ji(e,t){return Ni(e)&&Ni(t)}var Zi=c((function e(t){var n=this;a(this,e),y()("function"===typeof t.format,"date localizer `format(..)` must be a function"),y()("function"===typeof t.firstOfWeek,"date localizer `firstOfWeek(..)` must be a function"),this.propType=t.propType||zi,this.formats=t.formats,this.format=function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return Wi.apply(void 0,[n,t.format].concat(r))},this.startOfWeek=t.firstOfWeek,this.merge=t.merge||Ri,this.inRange=t.inRange||re,this.lt=t.lt||Q,this.lte=t.lte||ee,this.gt=t.gt||J,this.gte=t.gte||Z,this.eq=t.eq||X,this.neq=t.neq||G,this.startOf=t.startOf||Y,this.endOf=t.endOf||q,this.add=t.add||$,this.range=t.range||Ii,this.diff=t.diff||Li,this.ceil=t.ceil||Ti,this.min=t.min||te,this.max=t.max||ne,this.minutes=t.minutes||ae,this.first
1VisibleDay=t.firstVisibleDay||Mi,this.lastVisibleDay=t.lastVisibleDay||Bi,this.visibleDays=t.visibleDays||ji,this.getSlotDate=t.getSlotDate||Ui,this.getTimezoneOffset=t.getTimezoneOffset||function(e){return e.getTimezoneOffset()},this.getDstOffset=t.getDstOffset||Hi,this.getTotalMin=t.getTotalMin||Vi,this.getMinutesFromMidnight=t.getMinutesFromMidnight||$i,this.continuesPrior=t.continuesPrior||Ki,this.continuesAfter=t.continuesAfter||Yi,this.sortEvents=t.sortEvents||qi,this.inEventRange=t.inEventRange||Xi,this.isSameDate=t.isSameDate||Gi,this.startAndEndAreDateOnly=t.startAndEndAreDateOnly||Ji,this.segmentOffset=t.browserTZOffset?t.browserTZOffset():0}));function Qi(e,t,n,i){var o=(0,r.A)((0,r.A)({},e.formats),n);return(0,r.A)((0,r.A)({},e),{},{messages:i,startOfWeek:function(){return e.startOfWeek(t)},format:function(n,r){return e.format(n,o[r]||r,t)}})}var eo={date:"Date",time:"Time",event:"Event",allDay:"All Day",week:"Week",work_week:"Work Week",day:"Day",month:"Month",previous:"Back",next:"Next",yesterday:"Yesterday",tomorrow:"Tomorrow",today:"Today",agenda:"Agenda",noEventsInRange:"There are no events in this range.",showMore:function(e){return"+".concat(e," more")}};var to=["style","className","event","selected","isAllDay","onSelect","onDoubleClick","onKeyPress","localizer","continuesPrior","continuesAfter","accessors","getters","children","components","slotStart","slotEnd"],no=function(e){f(n,e);var t=v(n);function n(){return a(this,n),t.apply(this,arguments)}return c(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=e.className,o=e.event,a=e.selected,u=e.isAllDay,s=e.onSelect,c=e.onDoubleClick,l=e.onKeyPress,f=e.localizer,d=e.continuesPrior,p=e.continuesAfter,h=e.accessors,v=e.getters,g=e.children,y=e.components,b=y.event,w=y.eventWrapper,D=e.slotStart,_=e.slotEnd,E=(0,i.A)(e,to);delete E.resizable;var A=h.title(o),C=h.tooltip(o),x=h.end(o),O=h.start(o),S=h.allDay(o),P=u||S||f.diff(O,f.ceil(x,"day"),"day")>1,k=v.eventProp(o,O,x,a),M=m.createElement("div",{className:"rbc-event-content",title:C||void 0},b?m.createElement(b,{event:o,continuesPrior:d,continuesAfter:p,title:A,isAllDay:S,localizer:f,slotStart:D,slotEnd:_}):A);return m.createElement(w,Object.assign({},this.props,{type:"date"}),m.createElement("div",Object.assign({},E,{tabIndex:0,style:(0,r.A)((0,r.A)({},k.style),t),className:F("rbc-event",n,k.className,{"rbc-selected":a,"rbc-event-allday":P,"rbc-event-continues-prior":d,"rbc-event-continues-after":p}),onClick:function(e){return s&&s(o,e)},onDoubleClick:function(e){return c&&c(o,e)},onKeyPress:function(e){return l&&l(o,e)}}),"function"===typeof g?g(M):M))}}]),n}(m.Component);function ro(e,t){return!(!e||null==t)&&ct(e,t)}function io(e,t){return(e.right-e.left)/t}function oo(e,t,n,r){var i=io(e,r);return n?r-1-Math.floor((t-e.left)/i):Math.floor((t-e.left)/i)}var ao=function(e){f(n,e);var t=v(n);function n(){return a(this,n),t.apply(this,arguments)}return c(n,[{key:"componentDidMount",value:function(){var e,t,n=this.props,r=n.popupOffset,i=void 0===r?5:r,o=Qe(n.popperRef.current),a=o.top,u=o.left,s=o.width,c=o.height,l=window.innerHeight+Ze(window),f=window.innerWidth+Je(window),d=a+c,p=u+s;(d>l||p>f)&&(d>l&&(e=d-l+(i.y||+i||0)),p>f&&(t=p-f+(i.x||+i||0)),this.setState({topOffset:e,leftOffset:t}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.events,i=t.selected,o=t.getters,a=t.accessors,u=t.components,s=t.onSelect,c=t.onDoubleClick,l=t.onKeyPress,f=t.slotStart,d=t.slotEnd,p=t.localizer,h=t.popperRef,v=this.props.position.width,g={top:-((this.state||{}).topOffset||0),left:-((this.state||{}).leftOffset||0),minWidth:v+v/2};return m.createElement("div",{style:(0,r.A)((0,r.A)({},this.props.style),g),className:"rbc-overlay",ref:h},m.createElement("div",{className:"rbc-overlay-header"},p.format(f,"dayHeaderFormat")),n.map((function(t,n){return m.createElement(no,{key:n,type:"popup",localizer:p,event:t,getters:o,onSelect:s,accessors:a,components:u,onDoubleClick:c,onKeyPress:l,continuesPrior:p.lt(a.end(t),f,"day"),continuesAfter:p.gte(a.start(t),d,"day"),slotStart:f,slotEnd:d,selected:ro(t,i),draggable:!0,onDragStart:function(){return e.props.handleDragStart(t)},onDragEnd:function(){return e.props.show()}})})))}}]),n}(m.Component),uo=m.forwardRef((function(e,t){return m.createElement(ao,Object.assign({popperRef:t},e))}));function so(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document;return Un(n,e,t,{passive:!1})}function co(e,t){var n=t.clientX,r=t.clientY;return function(e,t,n){e.closest&&!n&&e.closest(t);var r=e;do{if(or(r,t))return r;r=r.parentElement}while(r&&r!==n&&r.nodeType===document.ELEMENT_NODE);return null}(document.elementFromPoint(n,r),".rbc-event",e)}function lo(e,t){return!!co(e,t)}function fo(e){var t=e;return e.touches&&e.touches.length&&(t=e.touches[0]),{clientX:t.clientX,clientY:t.clientY,pageX:t.pageX,pageY:t.pageY}}var po=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.global,i=void 0!==r&&r,o=n.longPressThreshold,u=void 0===o?250:o,s=n.validContainers,c=void 0===s?[]:s;a(this,e),this.isDetached=!1,this.container=t,this.globalMouse=!t||i,this.longPressThreshold=u,this.validContainers=c,this._listeners=Object.create(null),this._handleInitialEvent=this._handleInitialEvent.bind(this),this._handleMoveEvent=this._handleMoveEvent.bind(this),this._handleTerminatingEvent=this._handleTerminatingEvent.bind(this),this._keyListener=this._keyListener.bind(this),this._dropFromOutsideListener=this._dropFromOutsideListener.bind(this),this._dragOverFromOutsideListener=this._dragOverFromOutsideListener.bind(this),this._removeTouchMoveWindowListener=so("touchmove",(function(){}
1),window),this._removeKeyDownListener=so("keydown",this._keyListener),this._removeKeyUpListener=so("keyup",this._keyListener),this._removeDropFromOutsideListener=so("drop",this._dropFromOutsideListener),this._removeDragOverFromOutsideListener=so("dragover",this._dragOverFromOutsideListener),this._addInitialEventListener()}return c(e,[{key:"on",value:function(e,t){var n=this._listeners[e]||(this._listeners[e]=[]);return n.push(t),{remove:function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}}},{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];var i;return(this._listeners[e]||[]).forEach((function(e){void 0===i&&(i=e.apply(void 0,n))})),i}},{key:"teardown",value:function(){this.isDetached=!0,this._listeners=Object.create(null),this._removeTouchMoveWindowListener&&this._removeTouchMoveWindowListener(),this._removeInitialEventListener&&this._removeInitialEventListener(),this._removeEndListener&&this._removeEndListener(),this._onEscListener&&this._onEscListener(),this._removeMoveListener&&this._removeMoveListener(),this._removeKeyUpListener&&this._removeKeyUpListener(),this._removeKeyDownListener&&this._removeKeyDownListener(),this._removeDropFromOutsideListener&&this._removeDropFromOutsideListener(),this._removeDragOverFromOutsideListener&&this._removeDragOverFromOutsideListener()}},{key:"isSelected",value:function(e){var t=this._selectRect;return!(!t||!this.selecting)&&ho(t,vo(e))}},{key:"filter",value:function(e){return this._selectRect&&this.selecting?e.filter(this.isSelected,this):[]}},{key:"_addLongPressListener",value:function(e,t){var n=this,r=null,i=null,o=null,a=function(t){r=setTimeout((function(){s(),e(t)}),n.longPressThreshold),i=so("touchmove",(function(){return s()})),o=so("touchend",(function(){return s()}))},u=so("touchstart",a),s=function(){r&&clearTimeout(r),i&&i(),o&&o(),r=null,i=null,o=null};return t&&a(t),function(){s(),u()}}},{key:"_addInitialEventListener",value:function(){var e=this,t=so("mousedown",(function(t){e._removeInitialEventListener(),e._handleInitialEvent(t),e._removeInitialEventListener=so("mousedown",e._handleInitialEvent)})),n=so("touchstart",(function(t){e._removeInitialEventListener(),e._removeInitialEventListener=e._addLongPressListener(e._handleInitialEvent,t)}));this._removeInitialEventListener=function(){t(),n()}}},{key:"_dropFromOutsideListener",value:function(e){var t=fo(e),n=t.pageX,r=t.pageY,i=t.clientX,o=t.clientY;this.emit("dropFromOutside",{x:n,y:r,clientX:i,clientY:o}),e.preventDefault()}},{key:"_dragOverFromOutsideListener",value:function(e){var t=fo(e),n=t.pageX,r=t.pageY,i=t.clientX,o=t.clientY;this.emit("dragOverFromOutside",{x:n,y:r,clientX:i,clientY:o}),e.preventDefault()}},{key:"_handleInitialEvent",value:function(e){if(!this.isDetached){var t,n=fo(e),r=n.clientX,i=n.clientY,a=n.pageX,u=n.pageY,s=this.container();if(3!==e.which&&2!==e.button&&(l=r,f=i,!(c=s)||qe(c,document.elementFromPoint(l,f)))){var c,l,f;if(!this.globalMouse&&s&&!qe(s,e.target)){var d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;"object"!==(0,o.A)(e)&&(e={top:e,left:e,right:e,bottom:e});return e}(0),p=d.top,h=d.left,v=d.bottom,m=d.right;if(!ho({top:(t=vo(s)).top-p,left:t.left-h,bottom:t.bottom+v,right:t.right+m},{top:u,left:a}))return}if(!1!==this.emit("beforeSelect",this._initialEventData={isTouch:/^touch/.test(e.type),x:a,y:u,clientX:r,clientY:i}))switch(e.type){case"mousedown":this._removeEndListener=so("mouseup",this._handleTerminatingEvent),this._onEscListener=so("keydown",this._handleTerminatingEvent),this._removeMoveListener=so("mousemove",this._handleMoveEvent);break;case"touchstart":this._handleMoveEvent(e),this._removeEndListener=so("touchend",this._handleTerminatingEvent),this._removeMoveListener=so("touchmove",this._handleMoveEvent)}}}}},{key:"_isWithinValidContainer",value:function(e){var t=e.target,n=this.validContainers;return!(n&&n.length&&t)||n.some((function(e){return!!t.closest(e)}))}},{key:"_handleTerminatingEvent",value:function(e){var t=fo(e),n=t.pageX,r=t.pageY;if(this.selecting=!1,this._removeEndListener&&this._removeEndListener(),this._removeMoveListener&&this._removeMoveListener(),this._initialEventData){var i=!this.container||qe(this.container(),e.target),o=this._isWithinValidContainer(e),a=this._selectRect,u=this.isClick(n,r);return this._initialEventData=null,"Escape"!==e.key&&o?u&&i?this._handleClickEvent(e):u?this.emit
1("reset"):this.emit("select",a):this.emit("reset")}}},{key:"_handleClickEvent",value:function(e){var t=fo(e),n=t.pageX,r=t.pageY,i=t.clientX,o=t.clientY,a=(new Date).getTime();return this._lastClickData&&a-this._lastClickData.timestamp<250?(this._lastClickData=null,this.emit("doubleClick",{x:n,y:r,clientX:i,clientY:o})):(this._lastClickData={timestamp:a},this.emit("click",{x:n,y:r,clientX:i,clientY:o}))}},{key:"_handleMoveEvent",value:function(e){if(null!==this._initialEventData&&!this.isDetached){var t=this._initialEventData,n=t.x,r=t.y,i=fo(e),o=i.pageX,a=i.pageY,u=Math.abs(n-o),s=Math.abs(r-a),c=Math.min(o,n),l=Math.min(a,r),f=this.selecting;(!this.isClick(o,a)||f||u||s)&&(this.selecting=!0,this._selectRect={top:l,left:c,x:o,y:a,right:c+u,bottom:l+s},f||this.emit("selectStart",this._initialEventData),this.isClick(o,a)||this.emit("selecting",this._selectRect),e.preventDefault())}}},{key:"_keyListener",value:function(e){this.ctrl=e.metaKey||e.ctrlKey}},{key:"isClick",value:function(e,t){var n=this._initialEventData,r=n.x,i=n.y;return!n.isTouch&&Math.abs(e-r)<=5&&Math.abs(t-i)<=5}}]),e}();function ho(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=vo(e),i=r.top,o=r.left,a=r.right,u=void 0===a?o:a,s=r.bottom,c=void 0===s?i:s,l=vo(t),f=l.top,d=l.left,p=l.right,h=void 0===p?d:p,v=l.bottom;return!(c-n<f||i+n>(void 0===v?f:v)||u-n<d||o+n>h)}function vo(e){if(!e.getBoundingClientRect)return e;var t=e.getBoundingClientRect(),n=t.left+mo("left"),r=t.top+mo("top");return{top:r,left:n,right:(e.offsetWidth||0)+n,bottom:(e.offsetHeight||0)+r}}function mo(e){return"left"===e?window.pageXOffset||document.body.scrollLeft||0:"top"===e?window.pageYOffset||document.body.scrollTop||0:void 0}var go=function(e){f(n,e);var t=v(n);function n(e,r){var i;return a(this,n),(i=t.call(this,e,r)).state={selecting:!1},i.containerRef=(0,m.createRef)(),i}return c(n,[{key:"componentDidMount",value:function(){this.props.selectable&&this._selectable()}},{key:"componentWillUnmount",value:function(){this._teardownSelectable()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){e.selectable&&!this.props.selectable&&this._selectable(),!e.selectable&&this.props.selectable&&this._teardownSelectable()}},{key:"render",value:function(){var e=this.props,t=e.range,n=e.getNow,r=e.getters,i=e.date,o=e.components.dateCellWrapper,a=e.localizer,u=this.state,s=u.selecting,c=u.startIdx,l=u.endIdx,f=n();return m.createElement("div",{className:"rbc-row-bg",ref:this.containerRef},t.map((function(e,n){var u=s&&n>=c&&n<=l,d=r.dayProp(e),p=d.className,h=d.style;return m.createElement(o,{key:n,value:e,range:t},m.createElement("div",{style:h,className:F("rbc-day-bg",p,u&&"rbc-selected-cell",a.isSameDate(e,f)&&"rbc-today",i&&a.neq(i,e,"month")&&"rbc-off-range-bg")}))})))}},{key:"_selectable",value:function(){var e=this,t=this.containerRef.current,n=this._selector=new po(this.props.container,{longPressThreshold:this.props.longPressThreshold}),i=function(n,r){if(!lo(t,n)){var i=vo(t),o=e.props,a=o.range,u=o.rtl;if(function(e,t){var n=t.x,r=t.y;return r>=e.top&&r<=e.bottom&&n>=e.left&&n<=e.right}(i,n)){var s=oo(i,n.x,u,a.length);e._selectSlot({startIdx:s,endIdx:s,action:r,box:n})}}e._initial={},e.setState({selecting:!1})};n.on("selecting",(function(r){var i=e.props,o=i.range,a=i.rtl,u=-1,s=-1;if(e.state.selecting||(Pi(e.props.onSelectStart,[r]),e._initial={x:r.x,y:r.y}),n.isSelected(t)){var c=vo(t),l=function(e,t,n,r,i){var o=-1,a=-1,u=r-1,s=io(t,r),c=oo(t,n.x,i,r),l=t.top<n.y&&t.bottom>n.y,f=t.top<e.y&&t.bottom>e.y,d=e.y>t.bottom,p=t.top>e.y;return n.top<t.top&&n.bottom>t.bottom&&(o=0,a=u),l&&(p?(o=0,a=c):d&&(o=c,a=u)),f&&(o=a=i?u-Math.floor((e.x-t.left)/s):Math.floor((e.x-t.left)/s),l?c<o?o=c:a=c:e.y<n.y?a=u:o=0),{startIdx:o,endIdx:a}}(e._initial,c,r,o.length,a);u=l.startIdx,s=l.endIdx}e.setState({selecting:!0,startIdx:u,endIdx:s})})),n.on("beforeSelect",(function(t){if("ignoreEvents"===e.props.selectable)return!lo(e.containerRef.current,t)})),n.on("click",(function(e){return i(e,"click")})),n.on("doubleClick",(function(e){return i(e,"doubleClick")})),n.on("select",(function(t){e._selectSlot((0,r.A)((0,r.A)({},e.state),{},{action:"select",bounds:t})),e._initial={},e.setState({selecting:!1}),Pi(e.props.onSelectEnd,[e.state])}))}},{key:"_teardownSelectable",value:function(){this._selector&&(this._selector.teardown(),this._selector=null)}},{key:"_selectSlot",value:function(e){var t=e.endIdx,n=e.startIdx,r=e.action,i=e.bounds,o=e.box;-1!==t&&-1!==n&&this.props.onSelectSlot&&this.props.onSelectSlot({start:n,end:t,action:r,bounds:i,box:o,resourceId:this.props.resourceId})}}]),n}(m.Component),yo=(k().object.isRequired,k().object,k().bool,k().object.isRequired,k().object.isRequired,k().object.isRequired,k().object.isRequired,k().func,k().func,k().func,{segments:[],selected:{}}),bo=function(e,t){var n=e.selected;e.isAllDay;var r=e.accessors,i=e.getters,o=e.onSelect,a=e.onDoubleClick,u=e.onKeyPress,s=e.localizer,c=e.slotMetrics,l=e.components,f=e.resizable,d=c.continuesPrior(t),p=c.continuesAfter(t);return m.createElement(no,{event:t,getters:i,localizer:s,accessors:r,components:l,onSelect:o,onDoubleClick:a,onKeyPress:u,continuesPrior:d,continuesAfter:p,slotStart:c.first,slotEnd:c.last,selected:ro(t,n),resizable:f})},wo=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:" ",i=Math.abs(t)/e*100+"%";return m.createElement("div",{key:n,className:"rbc-row-segment",style:{WebkitFlexBasis:i,flexBasis:i,maxWidth:i}},r)},Do=function(e){f(n,e);var t=v(n);function n(){return a(this,n),t.apply(this,arguments)}return c(n,[{key:"render",value:function(){var e=this,t=this.props,n=t.segments,r=t.slotMetrics.slots,i=t.className,o=1;return m.createElement("div",{className:F(i,"rbc-row")},n.reduce((function(t,n,i){var a=n.event,u=n.left,s=n.right,c=n.span,l="_lvl_"+i,f=u-o,d=bo(e.props,a);return f&&t.push(wo(r,f,"".concat(l,"_gap"))),t.push(wo(r,c,l,d)),o=s+1,t}),[]))}}]),n}(m.Component);function _o(e){var t=e.dateRange,n=e.unit,r=void 0===n?"day":n,i=e.localizer;return{first:t[0],last:i.add(t[t.length-1],1,r)}}function Eo(e){var t,n,r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1/0,o=[],a=[];for(t=0;t<e.length;t++){for(r=e[t],n=0;n<o.length&&Co(r,o[n]);n++);n>=i?a.push(r):(o[n]||(o[n]=[])).push(r)}for(t=0;t<o.length;t++)o[t].sort((function(e,t){return e.left-t.left}));return{levels:o,extra:a}}function Ao(e,t,n,r,i){var o={start:r.start(e),end:r.end(e)},a={start:t,end:n};return i.inEventRange({event:o,range:a})}function Co(e,t){return t.some((function(t){return t.left<=e.right&&t.right>=e.left}))}function xo(e,t,n,r){var i={start:n.start(e),end:n.end(e),allDay:n.allDay(e)},o={start:n.start(t),end:n.end(t),allDay:n.allDay(t)};return r.sortEvents({evtA:i,evtB:o})}Do.defaultProps=(0,r.A)({},yo);var Oo=function(e,t){return e.left<=t&&e.right>=t},So=function(e,t){return e.filter((function(e){return Oo(e,t)})).length},Fo=function(e){f(n,e);var t=v(n);function n(){return a(this,n),t.apply(this,arguments)}return c(n,[{key:"render",value:function(){for(var e=this.props,t=e.segments,n=e.slotMetrics.slots,r=Eo(t).levels[0],i=1,o=1,a=[];i<=n;){var u="_lvl_"+i,s=r.filter((function(e){return Oo(e,i)}))[0]||{},c=s.event,l=s.left,f=s.right,d=s.span;if(c){var p=Math.max(0,l-o);if(this.canRenderSlotEvent(l,d)){var h=bo(this.props,c);
1p&&a.push(wo(n,p,u+"_gap")),a.push(wo(n,d,u,h)),o=i=f+1}else p&&a.push(wo(n,p,u+"_gap")),a.push(wo(n,1,u,this.renderShowMore(t,i))),o=i+=1}else i++}return m.createElement("div",{className:"rbc-row"},a)}},{key:"canRenderSlotEvent",value:function(e,t){var n=this.props.segments;return hr(e,e+t).every((function(e){return 1===So(n,e)}))}},{key:"renderShowMore",value:function(e,t){var n=this,r=this.props.localizer,i=So(e,t);return!!i&&m.createElement("button",{type:"button",key:"sm_"+t,className:F("rbc-button-link","rbc-show-more"),onClick:function(e){return n.showMore(t,e)}},r.messages.showMore(i))}},{key:"showMore",value:function(e,t){t.preventDefault(),t.stopPropagation(),this.props.onShowMore(e,t.target)}}]),n}(m.Component);Fo.defaultProps=(0,r.A)({},yo);var Po=function(e){var t=e.children;return m.createElement("div",{className:"rbc-row-content-scroll-container"},t)},ko=function(e,t){return e[0].range===t[0].range&&e[0].events===t[0].events};function Mo(){return gr((function(e){for(var t=e.range,n=e.events,i=e.maxRows,o=e.minRows,a=e.accessors,u=e.localizer,s=_o({dateRange:t,localizer:u}),c=s.first,l=s.last,f=n.map((function(e){return function(e,t,n,r){var i=_o({dateRange:t,localizer:r}),o=i.first,a=i.last,u=r.diff(o,a,"day"),s=r.max(r.startOf(n.start(e),"day"),o),c=r.min(r.ceil(n.end(e),"day"),a),l=cr(t,(function(e){return r.isSameDate(e,s)})),f=r.diff(s,c,"day");return f=Math.min(f,u),{event:e,span:f=Math.max(f-r.segmentOffset,1),left:l+1,right:Math.max(l+f,1)}}(e,t,a,u)})),d=Eo(f,Math.max(i-1,1)),p=d.levels,h=d.extra;p.length<o;)p.push([]);return{first:c,last:l,levels:p,extra:h,range:t,slots:t.length,clone:function(t){return Mo()((0,r.A)((0,r.A)({},e),t))},getDateForSlot:function(e){return t[e]},getSlotForDate:function(e){return t.find((function(t){return u.isSameDate(t,e)}))},getEventsForSlot:function(e){return f.filter((function(t){return function(e,t){return e.left<=t&&e.right>=t}(t,e)})).map((function(e){return e.event}))},continuesPrior:function(e){return u.continuesPrior(a.start(e),c)},continuesAfter:function(e){var t=a.start(e),n=a.end(e);return u.continuesAfter(t,n,l)}}}),ko)}var Bo=function(e){f(n,e);var t=v(n);function n(){var e;a(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return(e=t.call.apply(t,[this].concat(i))).handleSelectSlot=function(t){var n=e.props,r=n.range;(0,n.onSelectSlot)(r.slice(t.start,t.end+1),t)},e.handleShowMore=function(t,n){var r,i,o,a=e.props,u=a.range,s=a.onShowMore,c=e.slotMetrics(e.props),l=(r=e.containerRef.current,i=".rbc-row-bg",ir(r.querySelectorAll(i)))[0];l&&(o=l.children[t-1]),s(c.getEventsForSlot(t),u[t-1],o,t,n)},e.getContainer=function(){var t=e.props.container;return t?t():e.containerRef.current},e.renderHeadingCell=function(t,n){var r=e.props,i=r.renderHeader,o=r.getNow,a=r.localizer;return i({date:t,key:"header_".concat(n),className:F("rbc-date-cell",a.isSameDate(t,o())&&"rbc-now")})},e.renderDummy=function(){var t=e.props,n=t.className,r=t.range,i=t.renderHeader,o=t.showAllEvents;return m.createElement("div",{className:n,ref:e.containerRef},m.createElement("div",{className:F("rbc-row-content",o&&"rbc-row-content-scrollable")},i&&m.createElement("div",{className:"rbc-row",ref:e.headingRowRef},r.map(e.renderHeadingCell)),m.createElement("div",{className:"rbc-row",ref:e.eventRowRef},m.createElement("div",{className:"rbc-row-segment"},m.createElement("div",{className:"rbc-event"},m.createElement("div",{className:"rbc-event-content"},"\xa0"))))))},e.containerRef=(0,m.createRef)(),e.headingRowRef=(0,m.createRef)(),e.eventRowRef=(0,m.createRef)(),e.slotMetrics=Mo(),e}return c(n,[{key:"getRowLimit",value:function(){var e=nr(this.eventRowRef.current),t=this.headingRowRef&&this.headingRowRef.current?nr(this.headingRowRef.current):0,n=nr(this.containerRef.current)-t;return Math.max(Math.floor(n/e),1)}},{key:"render",value:function(){var e=this.props,t=e.date,n=e.rtl,r=e.range,i=e.className,o=e.selected,a=e.selectable,u=e.renderForMeasure,s=e.accessors,c=e.getters,l=e.components,f=e.getNow,d=e.renderHeader,p=e.onSelect,h=e.localizer,v=e.onSelectStart,g=e.onSelectEnd,y=e.onDoubleClick,b=e.onKeyPress,w=e.resourceId,D=e.longPressThreshold,_=e.isAllDay,E=e.resizable,A=e.showAllEvents;if(u)return this.renderDummy();
1var C=this.slotMetrics(this.props),x=C.levels,O=C.extra,S=A?Po:Ei,P=l.weekWrapper,k={selected:o,accessors:s,getters:c,localizer:h,components:l,onSelect:p,onDoubleClick:y,onKeyPress:b,resourceId:w,slotMetrics:C,resizable:E};return m.createElement("div",{className:i,role:"rowgroup",ref:this.containerRef},m.createElement(go,{localizer:h,date:t,getNow:f,rtl:n,range:r,selectable:a,container:this.getContainer,getters:c,onSelectStart:v,onSelectEnd:g,onSelectSlot:this.handleSelectSlot,components:l,longPressThreshold:D,resourceId:w}),m.createElement("div",{className:F("rbc-row-content",A&&"rbc-row-content-scrollable"),role:"row"},d&&m.createElement("div",{className:"rbc-row ",ref:this.headingRowRef},r.map(this.renderHeadingCell)),m.createElement(S,null,m.createElement(P,Object.assign({isAllDay:_},k),x.map((function(e,t){return m.createElement(Do,Object.assign({key:t,segments:e},k))})),!!O.length&&m.createElement(Fo,Object.assign({segments:O,onShowMore:this.handleShowMore},k))))))}}]),n}(m.Component);Bo.defaultProps={minRows:0,maxRows:1/0};var jo=function(e){var t=e.label;return m.createElement("span",{role:"columnheader","aria-sort":"none"},t)},To=function(e){var t=e.label,n=e.drilldownView,r=e.onDrillDown;return n?m.createElement("button",{type:"button",className:"rbc-button-link",onClick:r,role:"cell"},t):m.createElement("span",null,t)},Io=["date","className"],Ro=function(e){f(n,e);var t=v(n);function n(){var e;a(this,n);for(var r=arguments.length,o=new Array(r),u=0;u<r;u++)o[u]=arguments[u];return(e=t.call.apply(t,[this].concat(o))).getContainer=function(){return e.containerRef.current},e.renderWeek=function(t,n){var r=e.props,i=r.events,o=r.components,a=r.selectable,u=r.getNow,s=r.selected,c=r.date,l=r.localizer,f=r.longPressThreshold,d=r.accessors,p=r.getters,h=r.showAllEvents,v=e.state,g=v.needLimitMeasure,y=v.rowLimit,b=function(e,t,n,r,i){return e.filter((function(e){return Ao(e,t,n,r,i)}))}(ye(i),t[0],t[t.length-1],d,l);return b.sort((function(e,t){return xo(e,t,d,l)})),m.createElement(Bo,{key:n,ref:0===n?e.slotRowRef:void 0,container:e.getContainer,className:"rbc-month-row",getNow:u,date:c,range:t,events:b,maxRows:h?1/0:y,selected:s,selectable:a,components:o,accessors:d,getters:p,localizer:l,renderHeader:e.readerDateHeading,renderForMeasure:g,onShowMore:e.handleShowMore,onSelect:e.handleSelectEvent,onDoubleClick:e.handleDoubleClickEvent,onKeyPress:e.handleKeyPressEvent,onSelectSlot:e.handleSelectSlot,longPressThreshold:f,rtl:e.props.rtl,resizable:e.props.resizable,showAllEvents:h})},e.readerDateHeading=function(t){var n=t.date,r=t.className,o=(0,i.A)(t,Io),a=e.props,u=a.date,s=a.getDrilldownView,c=a.localizer,l=c.neq(n,u,"month"),f=c.isSameDate(n,u),d=s(n),p=c.format(n,"dateFormat"),h=e.props.components.dateHeader||To;return m.createElement("div",Object.assign({},o,{className:F(r,l&&"rbc-off-range",f&&"rbc-current"),role:"cell"}),m.createElement(h,{label:p,date:n,drilldownView:d,isOffRange:l,onDrillDown:function(t){return e.handleHeadingClick(n,d,t)}}))},e.handleSelectSlot=function(t,n){e._pendingSelection=e._pendingSelection.concat(t),clearTimeout(e._selectTimer),e._selectTimer=setTimeout((function(){return e.selectDates(n)}))},e.handleHeadingClick=function(t,n,r){r.preventDefault(),e.clearSelection(),Pi(e.props.onDrillDown,[t,n])},e.handleSelectEvent=function(){e.clearSelection();for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];Pi(e.props.onSelectEvent,n)},e.handleDoubleClickEvent=function(){e.clearSelection();for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];Pi(e.props.onDoubleClickEvent,n)},e.handleKeyPressEvent=function(){e.clearSelection();for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];Pi(e.props.onKeyPressEvent,n)},e.handleShowMore=function(t,n,r,i,o){var a=e.props,u=a.popup,s=a.onDrillDown,c=a.onShowMore,l=a.getDrilldownView,f=a.doShowMoreDrillDown;if(e.clearSelection(),u){var d=et(r,e.containerRef.current);e.setState({overlay:{date:n,events:t,position:d,target:o}})}else f&&Pi(s,[n,l(n)||Si.DAY]);Pi(c,[t,n,i])},e.overlayDisplay=function(){e.setState({overlay:null})}
1,e.state={rowLimit:5,needLimitMeasure:!0},e.containerRef=(0,m.createRef)(),e.slotRowRef=(0,m.createRef)(),e._bgRows=[],e._pendingSelection=[],e}return c(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.date,n=this.props,r=n.date,i=n.localizer;this.setState({needLimitMeasure:i.neq(t,r,"month")})}},{key:"componentDidMount",value:function(){var e,t=this;this.state.needLimitMeasure&&this.measureRowLimit(this.props),window.addEventListener("resize",this._resizeListener=function(){e||ut((function(){e=!1,t.setState({needLimitMeasure:!0})}))},!1)}},{key:"componentDidUpdate",value:function(){this.state.needLimitMeasure&&this.measureRowLimit(this.props)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this._resizeListener,!1)}},{key:"render",value:function(){var e=this.props,t=e.date,n=e.localizer,r=e.className,i=n.visibleDays(t,n),o=ze(i,7);return this._weekCount=o.length,m.createElement("div",{className:F("rbc-month-view",r),role:"table","aria-label":"Month View",ref:this.containerRef},m.createElement("div",{className:"rbc-row rbc-month-header",role:"row"},this.renderHeaders(o[0])),o.map(this.renderWeek),this.props.popup&&this.renderOverlay())}},{key:"renderHeaders",value:function(e){var t=this.props,n=t.localizer,r=t.components,i=e[0],o=e[e.length-1],a=r.header||jo;return n.range(i,o,"day").map((function(e,t){return m.createElement("div",{key:"header_"+t,className:"rbc-header"},m.createElement(a,{date:e,localizer:n,label:n.format(e,"weekdayFormat")}))}))}},{key:"renderOverlay",value:function(){var e=this,t=this.state&&this.state.overlay||{},n=this.props,r=n.accessors,i=n.localizer,o=n.components,a=n.getters,u=n.selected,s=n.popupOffset;return m.createElement(tr,{rootClose:!0,placement:"bottom",show:!!t.position,onHide:function(){return e.setState({overlay:null})},target:function(){return t.target}},(function(n){var c=n.props;return m.createElement(uo,Object.assign({},c,{popupOffset:s,accessors:r,getters:a,selected:u,components:o,localizer:i,position:t.position,show:e.overlayDisplay,events:t.events,slotStart:t.date,slotEnd:t.end,onSelect:e.handleSelectEvent,onDoubleClick:e.handleDoubleClickEvent,onKeyPress:e.handleKeyPressEvent,handleDragStart:e.props.handleDragStart}))}))}},{key:"measureRowLimit",value:function(){this.setState({needLimitMeasure:!1,rowLimit:this.slotRowRef.current.getRowLimit()})}},{key:"selectDates",value:function(e){var t=this._pendingSelection.slice();this._pendingSelection=[],t.sort((function(e,t){return+e-+t}));var n=new Date(t[0]),r=new Date(t[t.length-1]);r.setDate(t[t.length-1].getDate()+1),Pi(this.props.onSelectSlot,{slots:t,start:n,end:r,action:e.action,bounds:e.bounds,box:e.box})}},{key:"clearSelection",value:function(){clearTimeout(this._selectTimer),this._pendingSelection=[]}}]),n}(m.Component);Ro.range=function(e,t){var n=t.localizer;return{start:n.firstVisibleDay(e,n),end:n.lastVisibleDay(e,n)}},Ro.navigate=function(e,t,n){var r=n.localizer;switch(t){case Ai:return r.add(e,-1,"month");case Ci:return r.add(e,1,"month");default:return e}},Ro.title=function(e,t){return t.localizer.format(e,"monthHeaderFormat")};var No=function(e){var t=e.min,n=e.max,r=e.step,i=e.slots,o=e.localizer;return"".concat(+o.startOf(t,"minutes"))+"".concat(+o.startOf(n,"minutes"))+"".concat(r,"-").concat(i)};function Lo(e){for(var t=e.min,n=e.max,r=e.step,i=e.timeslots,o=e.localizer,a=No({start:t,end:n,step:r,timeslots:i,localizer:o}),u=1+o.getTotalMin(t,n),s=o.getMinutesFromMidnight(t),c=Math.ceil((u-1)/(r*i)),l=c*i,f=new Array(c),d=new Array(l),p=0;p<c;p++){f[p]=new Array(i);for(var h=0;h<i;h++){var v=p*i+h,m=v*r;d[v]=f[p][h]=o.getSlotDate(t,s,m)}}var g=d.length*r;function y(e){var n=o.diff(t,e,"minutes")+o.getDstOffset(t,e);return Math.min(n,u)}return d.push(o.getSlotDate(t,s,g)),{groups:f,update:function(e){return No(e)!==a?Lo(e):this},dateIsInGroup:function(e,t){var r=f[t+1];return o.inRange(e,f[t][0],r?r[0]:n,"minutes")},nextSlot:function(e){var t=d[Math.min(d.indexOf(e)+1,d.length-1)];return t===e&&(t=o.add(e,r,"minutes")),t},closestSlotToPosition:function(e){var t=Math.min(d.length-1,Math.max(0,Math.floor(e*l)));return d[t]},closestSlotFromPoint:function(e,t){var n=Math.abs(t.top-t.bottom);return this.closestSlotToPosition((e.y-t.top)/n)},closestSlotFromDate:function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(o.lt(e,t,"minutes"))return d[0];if(o.gt(e,n,"minutes"))return d[d.length-1];var a=o.diff(t,e,"minutes");return d[(a-a%r)/r+i]},startsBeforeDay:function(e){return o.lt(e,t,"day")},startsAfterDay:function(e){return o.gt(e,n,"day")},startsBefore:function(e){return o.lt(o.merge(t,e),t,"minutes")},startsAfter:function(e){return o.gt(o.merge(n,e),n,"minutes")},getRange:function(e,i,a,u){a||(e=o.min(n,o.max(t,e))),u||(i=o.min(n,o.max(t,i)));var s=y(e),c=y(i),f=c>r*l&&!o.eq(n,i)?(s-r)/(r*l)*100:s/(r*l)*100;return{top:f,height:c/(r*l)*100-f,start:y(e),startDate:e,end:y(i),endDate:i}},getCurrentTimePosition:function(e){return y(e)/(r*l)*100}}}var zo=function(){function e(t,n){var r=n.accessors,i=n.slotMetrics;a(this,e);var o=i.getRange(r.start(t),r.end(t)),u=o.start,s=o.startDate,c=o.end,l=o.endDate,f=o.top,d=o.height;this.start=u,this.end=c,this.startMs=+s,this.endMs=+l,this.top=f,this.height=d,this.data=t}return c(e,[{key:"_width",get:function(){if(this.rows){var e=this.rows.reduce((function(e,t){return Math.max(e,t.leaves.length+1)}),0)+1;return 100/e}var t=100-this.container._width;return this.leaves?t/(this.leaves.length+1):this.row._width}},{key:"width",get:function(){var e=this._width,t=Math.min(100,1.7*this._width);if(this.rows)return t;if(this.leaves)return this.leaves.length>0?t:e;var n=this.row.leaves;return n.indexOf(this)===n.length-1?e:t}},{key:"xOffset",get:function(){if(this.rows)return 0;if(this.leaves)return this.container._width;var e=this.row,t=e.leaves,n=e.xOffset,r=e._width;return n+(t.indexOf(this)+1)*r}}]),e}();function Wo(e,t,n){return Math.abs(t.start-e.start)<n||t.start>e.start&&t.start<e.end}function Uo(e){for(var t=e.events,n=e.minimumStartDifference,r=e.slotMetrics,i=e.accessors,o=function(e){for(var t=Kr(e,["startMs",function(e){return-e.endMs}]),n=[];t.length>0;){var r=t.shift();n.push(r);for(var i=0;i<t.length;i++){var o=t[i];if(!(r.endMs>o.startMs)){if(i>0){var a=t.splice(i,1)[0];n.push(a)}break}}}return n}(t.map((function(e){return new zo(e,{slotMetrics:r,accessors:i})}))),a=[],u=function(e){var t=o[e],r=a.find((function(e){return e.end>t.start||Math.abs(t.start-e.start)<n}));if(!r)return t.rows=[],a.push(t),"continue";t.container=r;for(var i=null,u=r.rows.length-1;!i&&u>=0;u--)Wo(r.rows[u],t,n)&&(i=r.rows[u]);i?(i.leaves.push(t),t.row=i):(t.leaves=[],r.rows.push(t))},s=0;s<o.length;s++)u(s);
1return o.map((function(e){return{event:e.data,style:{top:e.top,height:e.height,width:e.width,xOffset:Math.max(0,e.xOffset)}}}))}function Ho(e,t,n){for(var r=0;r<e.friends.length;++r)if(!(n.indexOf(e.friends[r])>-1)){t=t>e.friends[r].idx?t:e.friends[r].idx,n.push(e.friends[r]);var i=Ho(e.friends[r],t,n);t=t>i?t:i}return t}var Vo={overlap:Uo,"no-overlap":function(e){var t=Uo({events:e.events,minimumStartDifference:e.minimumStartDifference,slotMetrics:e.slotMetrics,accessors:e.accessors});t.sort((function(e,t){return e=e.style,t=t.style,e.top!==t.top?e.top>t.top?1:-1:e.top+e.height<t.top+t.height?1:-1}));for(var n=0;n<t.length;++n)t[n].friends=[],delete t[n].style.left,delete t[n].style.left,delete t[n].idx,delete t[n].size;for(var r=0;r<t.length-1;++r)for(var i=t[r],o=i.style.top,a=i.style.top+i.style.height,u=r+1;u<t.length;++u){var s=t[u],c=s.style.top,l=s.style.top+s.style.height;(c<=o&&o<l||o<=c&&c<a)&&(i.friends.push(s),s.friends.push(i))}for(var f=0;f<t.length;++f){for(var d=t[f],p=[],h=0;h<100;++h)p.push(1);for(var v=0;v<d.friends.length;++v)void 0!==d.friends[v].idx&&(p[d.friends[v].idx]=0);d.idx=p.indexOf(1)}for(var m=0;m<t.length;++m){var g;if(!t[m].size){var y=[];g=100/(Ho(t[m],0,y)+1),t[m].size=g;for(var b=0;b<y.length;++b)y[b].size=g}}for(var w=0;w<t.length;++w){var D=t[w];D.style.left=D.idx*D.size;for(var _=0,E=0;E<D.friends.length;++E){var A=D.friends[E].idx;_=_>A?_:A}_<=D.idx&&(D.size=100-D.idx*D.size);var C=0===D.idx?0:3;D.style.width="calc(".concat(D.size,"% - ").concat(C,"px)"),D.style.height="calc(".concat(D.style.height,"% - 2px)"),D.style.xOffset="calc(".concat(D.style.left,"% + ").concat(C,"px)")}return t}};var $o=function(e){f(n,e);var t=v(n);function n(){return a(this,n),t.apply(this,arguments)}return c(n,[{key:"render",value:function(){var e=this.props,t=e.renderSlot,n=e.resource,r=e.group,i=e.getters,o=e.components,a=(o=void 0===o?{}:o).timeSlotWrapper,u=void 0===a?Ei:a,s=i?i.slotGroupProp():{};return m.createElement("div",Object.assign({className:"rbc-timeslot-group"},s),r.map((function(e,r){var o=i?i.slotProp(e,n):{};return m.createElement(u,{key:r,value:e,resource:n},m.createElement("div",Object.assign({},o,{className:F("rbc-time-slot",o.className)}),t&&t(e,r)))})))}}]),n}(m.Component);function Ko(e){return"string"===typeof e?e:e+"%"}function Yo(e){var t=e.style,n=e.className,i=e.event,o=e.accessors,a=e.rtl,u=e.selected,s=e.label,c=e.continuesPrior,l=e.continuesAfter,f=e.getters,d=e.onClick,p=e.onDoubleClick,h=e.isBackgroundEvent,v=e.onKeyPress,g=e.components,y=g.event,b=g.eventWrapper,w=o.title(i),D=o.tooltip(i),_=o.end(i),E=o.start(i),A=f.eventProp(i,E,_,u),C=t.height,x=t.top,O=t.width,S=t.xOffset,P=[m.createElement("div",{key:"1",className:"rbc-event-label"},s),m.createElement("div",{key:"2",className:"rbc-event-content"},y?m.createElement(y,{event:i,title:w}):w)],k=h?(0,r.A)((0,r.A)({},A.style),{},(0,he.A)({top:Ko(x),height:Ko(C),width:"calc(".concat(O," + 10px)")},a?"right":"left",Ko(Math.max(0,S)))):(0,r.A)((0,r.A)({},A.style),{},(0,he.A)({top:Ko(x),width:Ko(O),height:Ko(C)},a?"right":"left",Ko(S)));return m.createElement(b,Object.assign({type:"time"},e),m.createElement("div",{onClick:d,onDoubleClick:p,style:k,onKeyPress:v,title:D?("string"===typeof s?s+": ":"")+D:void 0,className:F(h?"rbc-background-event":"rbc-event",n,A.className,{"rbc-selected":u,"rbc-event-continues-earlier":c,"rbc-event-continues-later":l})},P))}var qo=function(e){var t=e.children,n=e.className,r=e.style,i=e.innerRef;return m.createElement("div",{className:n,style:r,ref:i},t)},Xo=m.forwardRef((function(e,t){return m.createElement(qo,Object.assign({},e,{innerRef:t}))})),Go=["dayProp"],Jo=["eventContainerWrapper"],Zo=function(e){f(n,e);var t=v(n);function n(){var e;a(this,n);for(var i=arguments.length,o=new Array(i),u=0;u<i;u++)o[u]=arguments[u];return(e=t.call.apply(t,[this].concat(o))).state={selecting:!1,timeIndicatorPosition:null},e.intervalTriggered=!1,e.renderEvents=function(t){var n=t.events,r=t.isBackgroundEvent,i=e.props,o=i.rtl,a=i.selected,u=i.accessors,s=i.localizer,c=i.getters,l=i.components,f=i.step,d=i.timeslots,p=i.dayLayoutAlgorithm,v=i.resizable,g=(0,h.A)(e).slotMetrics,y=s.messages,b=function(e){e.events,e.minimumStartDifference,e.slotMetrics,e.accessors;var t,n=e.dayLayoutAlgorithm,r=n;return n in Vo&&(r=Vo[n]),(t=r)&&t.constructor&&t.call&&t.apply?r.apply(this,arguments):[]}
1({events:n,accessors:u,slotMetrics:g,minimumStartDifference:Math.ceil(f*d/2),dayLayoutAlgorithm:p});return b.map((function(t,n){var i,f=t.event,d=t.style,p=u.end(f),h=u.start(f),b="eventTimeRangeFormat",w=g.startsBeforeDay(h),D=g.startsAfterDay(p);w?b="eventTimeRangeEndFormat":D&&(b="eventTimeRangeStartFormat"),i=w&&D?y.allDay:s.format({start:h,end:p},b);var _=w||g.startsBefore(h),E=D||g.startsAfter(p);return m.createElement(Yo,{style:d,event:f,label:i,key:"evt_"+n,getters:c,rtl:o,components:l,continuesPrior:_,continuesAfter:E,accessors:u,selected:ro(f,a),onClick:function(t){return e._select(f,t)},onDoubleClick:function(t){return e._doubleClick(f,t)},isBackgroundEvent:r,onKeyPress:function(t){return e._keyPress(f,t)},resizable:v})}))},e._selectable=function(){var t=e.containerRef.current,n=e.props,i=n.longPressThreshold,o=n.localizer,a=e._selector=new po((function(){return t}),{longPressThreshold:i}),u=function(t){var n=e.props.onSelecting,r=e.state||{},i=s(t),a=i.startDate,u=i.endDate;n&&(o.eq(r.startDate,a,"minutes")&&o.eq(r.endDate,u,"minutes")||!1===n({start:a,end:u,resourceId:e.props.resource}))||e.state.start===i.start&&e.state.end===i.end&&e.state.selecting===i.selecting||e.setState(i)},s=function(n){var i=e.slotMetrics.closestSlotFromPoint(n,vo(t));e.state.selecting||(e._initialSlot=i);var a=e._initialSlot;o.lte(a,i)?i=e.slotMetrics.nextSlot(i):o.gt(a,i)&&(a=e.slotMetrics.nextSlot(a));var u=e.slotMetrics.getRange(o.min(a,i),o.max(a,i));return(0,r.A)((0,r.A)({},u),{},{selecting:!0,top:"".concat(u.top,"%"),height:"".concat(u.height,"%")})},c=function(t,n){if(!lo(e.containerRef.current,t)){var r=s(t),i=r.startDate,o=r.endDate;e._selectSlot({startDate:i,endDate:o,action:n,box:t})}e.setState({selecting:!1})};a.on("selecting",u),a.on("selectStart",u),a.on("beforeSelect",(function(t){if("ignoreEvents"===e.props.selectable)return!lo(e.containerRef.current,t)})),a.on("click",(function(e){return c(e,"click")})),a.on("doubleClick",(function(e){return c(e,"doubleClick")})),a.on("select",(function(t){e.state.selecting&&(e._selectSlot((0,r.A)((0,r.A)({},e.state),{},{action:"select",bounds:t})),e.setState({selecting:!1}))})),a.on("reset",(function(){e.state.selecting&&e.setState({selecting:!1})}))},e._teardownSelectable=function(){e._selector&&(e._selector.teardown(),e._selector=null)},e._selectSlot=function(t){for(var n=t.startDate,r=t.endDate,i=t.action,o=t.bounds,a=t.box,u=n,s=[];e.props.localizer.lte(u,r);)s.push(u),u=new Date(+u+60*e.props.step*1e3);Pi(e.props.onSelectSlot,{slots:s,start:n,end:r,resourceId:e.props.resource,action:i,bounds:o,box:a})},e._select=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];Pi(e.props.onSelectEvent,n)},e._doubleClick=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];Pi(e.props.onDoubleClickEvent,n)},e._keyPress=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];Pi(e.props.onKeyPressEvent,n)},e.slotMetrics=Lo(e.props),e.containerRef=(0,m.createRef)(),e}return c(n,[{key:"componentDidMount",value:function(){this.props.selectable&&this._selectable(),this.props.isNow&&this.setTimeIndicatorPositionUpdateInterval()}},{key:"componentWillUnmount",value:function(){this._teardownSelectable(),this.clearTimeIndicatorInterval()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){e.selectable&&!this.props.selectable&&this._selectable(),!e.selectable&&this.props.selectable&&this._teardownSelectable(),this.slotMetrics=this.slotMetrics.update(e)}},{key:"componentDidUpdate",value:function(e,t){var n=this.props,r=n.getNow,i=n.isNow,o=n.localizer,a=n.date,u=n.min,s=n.max,c=o.neq(e.getNow(),r(),"minutes");if(e.isNow!==i||c){if(this.clearTimeIndicatorInterval(),i){var l=!c&&o.eq(e.date,a,"minutes")&&t.timeIndicatorPosition===this.state.timeIndicatorPosition;this.setTimeIndicatorPositionUpdateInterval(l)}}else i&&(o.neq(e.min,u,"minutes")||o.neq(e.max,s,"minutes"))&&this.positionTimeIndicator()}},{key:"setTimeIndicatorPositionUpdateInterval",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.intervalTriggered||t||this.positionTimeIndicator(),this._timeIndicatorTimeout=window.setTimeout((function(){e.intervalTriggered=!0,e.positionTimeIndicator(),e.setTimeIndicatorPositionUpdateInterval()}),6e4)}},{key:"clearTimeIndicatorInterval",value:function(){this.intervalTriggered=!1,window.clearTimeout(this._timeIndicatorTimeout)}},{key:"positionTimeIndicator",value:function(){var e=this.props,t=e.min,n=e.max,r=(0,e.getNow)();if(r>=t&&r<=n){var i=this.slotMetrics.getCurrentTimePosition(r);this.intervalTriggered=!0,this.setState({timeIndicatorPosition:i})}else this.clearTimeIndicatorInterval()}},{key:"render",value:function(){var e=this.props,t=e.date,n=e.max,r=e.rtl,o=e.isNow,a=e.resource,u=e.accessors,s=e.localizer,c=e.getters,l=c.dayProp,f=(0,i.A)(c,Go),d=e.components,p=d.eventContainerWrapper,h=(0,i.A)(d,Jo),v=this.slotMetrics,g=this.state,y=g.selecting,b=g.top,w=g.height,D={start:g.
1startDate,end:g.endDate},_=l(n),E=_.className,A=_.style,C=h.dayColumnWrapper||Xo;return m.createElement(C,{ref:this.containerRef,date:t,style:A,className:F(E,"rbc-day-slot","rbc-time-column",o&&"rbc-now",o&&"rbc-today",y&&"rbc-slot-selecting"),slotMetrics:v},v.groups.map((function(e,t){return m.createElement($o,{key:t,group:e,resource:a,getters:f,components:h})})),m.createElement(p,{localizer:s,resource:a,accessors:u,getters:f,components:h,slotMetrics:v},m.createElement("div",{className:F("rbc-events-container",r&&"rtl")},this.renderEvents({events:this.props.backgroundEvents,isBackgroundEvent:!0}),this.renderEvents({events:this.props.events}))),y&&m.createElement("div",{className:"rbc-slot-selection",style:{top:b,height:w}},m.createElement("span",null,s.format(D,"selectRangeFormat"))),o&&this.intervalTriggered&&m.createElement("div",{className:"rbc-current-time-indicator",style:{top:"".concat(this.state.timeIndicatorPosition,"%")}}))}}]),n}(m.Component);Zo.defaultProps={dragThroughEvents:!0,timeslots:2};var Qo=function(e){var t=e.min,n=e.max,r=e.timeslots,i=e.step,o=e.localizer,a=e.getNow,u=e.resource,s=e.components,c=e.getters,l=e.gutterRef,f=(0,m.useMemo)((function(){return function(e){var t=e.min,n=e.max,r=e.localizer;return r.getTimezoneOffset(t)!==r.getTimezoneOffset(n)?{start:r.add(t,-1,"day"),end:r.add(n,-1,"day")}:{start:t,end:n}}({min:t,max:n,localizer:o})}),[null===t||void 0===t?void 0:t.toISOString(),null===n||void 0===n?void 0:n.toISOString(),o]),d=f.start,p=f.end,h=(0,m.useState)(Lo({min:d,max:p,timeslots:r,step:i,localizer:o})),v=(0,yr.A)(h,2),g=v[0],y=v[1];(0,m.useEffect)((function(){g&&y(g.update({min:d,max:p,timeslots:r,step:i,localizer:o}))}),[null===d||void 0===d?void 0:d.toISOString(),null===p||void 0===p?void 0:p.toISOString(),r,i]);var b=(0,m.useCallback)((function(e,t){if(t)return null;var n=g.dateIsInGroup(a(),t);return m.createElement("span",{className:F("rbc-label",n&&"rbc-now")},o.format(e,"timeGutterFormat"))}),[g,o,a]);return m.createElement("div",{className:"rbc-time-gutter rbc-time-column",ref:l},g.groups.map((function(e,t){return m.createElement($o,{key:t,group:e,resource:u,components:s,renderSlot:b,getters:c})})))},ea=m.forwardRef((function(e,t){return m.createElement(Qo,Object.assign({gutterRef:t},e))})),ta=function(e){var t=e.label;return m.createElement(m.Fragment,null,t)},na=function(e){f(n,e);var t=v(n);function n(){var e;a(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return(e=t.call.apply(t,[this].concat(i))).handleHeaderClick=function(t,n,r){r.preventDefault(),Pi(e.props.onDrillDown,[t,n])},e.renderRow=function(t){var n=e.props,r=n.events,i=n.rtl,o=n.selectable,a=n.getNow,u=n.range,s=n.getters,c=n.localizer,l=n.accessors,f=n.components,d=n.resizable,p=l.resourceId(t),h=t?r.filter((function(e){return l.resource(e)===p})):r;return m.createElement(Bo,{isAllDay:!0,rtl:i,getNow:a,minRows:2,range:u,events:h,resourceId:p,className:"rbc-allday-cell",selectable:o,selected:e.props.selected,components:f,accessors:l,getters:s,localizer:c,onSelect:e.props.onSelectEvent,onDoubleClick:e.props.onDoubleClickEvent,onKeyPress:e.props.onKeyPressEvent,onSelectSlot:e.props.onSelectSlot,longPressThreshold:e.props.longPressThreshold,resizable:d})},e}return c(n,[{key:"renderHeaderCells",value:function(e){var t=this,n=this.props,r=n.localizer,i=n.getDrilldownView,o=n.getNow,a=n.getters.dayProp,u=n.components.header,s=void 0===u?jo:u,c=o();return e.map((function(e,n){var o=i(e),u=r.format(e,"dayFormat"),l=a(e),f=l.className,d=l.style,p=m.createElement(s,{date:e,label:u,localizer:r});return m.createElement("div",{key:n,style:d,className:F("rbc-header",f,r.isSameDate(e,c)&&"rbc-today")},o?m.createElement("button",{type:"button",className:"rbc-button-link",onClick:function(n){return t.handleHeaderClick(e,o,n)}},p):m.createElement("span",null,p))}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.width,r=t.rtl,i=t.resources,o=t.range,a=t.events,u=t.getNow,s=t.accessors,c=t.selectable,l=t.components,f=t.getters,d=t.scrollRef,p=t.localizer,h=t.isOverflowing,v=t.components,g=v.timeGutterHeader,y=v.resourceHeader,b=void 0===y?ta:y,w=t.resizable,D={};h&&(D[r?"marginLeft":"marginRight"]="".concat(Xr(),"px"));var _=i.groupEvents(a);return m.createElement("div",{style:D,ref:d,className:F("rbc-time-header",h&&"rbc-overflowing")},m.createElement("div",{className:"rbc-label rbc-time-header-gutter",style:{width:n,minWidth:n,maxWidth:n}},g&&m.createElement(g,null)),i.map((function(t,n){var i=(0,yr.A)(t,2),a=i[0],d=i[1];return m.createElement("div",{className:"rbc-time-header-content",key:a||n},d&&m.createElement("div",{className:"rbc-row rbc-row-resource",key:"resource_".concat(n)},m.createElement("div",{className:"rbc-header"},m.createElement(b,{index:n,label:s.resourceTitle(d),resource:d}
1))),m.createElement("div",{className:"rbc-row rbc-time-header-cell".concat(o.length<=1?" rbc-time-header-cell-single-day":"")},e.renderHeaderCells(o)),m.createElement(Bo,{isAllDay:!0,rtl:r,getNow:u,minRows:2,range:o,events:_.get(a)||[],resourceId:d&&a,className:"rbc-allday-cell",selectable:c,selected:e.props.selected,components:l,accessors:s,getters:f,localizer:p,onSelect:e.props.onSelectEvent,onDoubleClick:e.props.onDoubleClickEvent,onKeyPress:e.props.onKeyPressEvent,onSelectSlot:e.props.onSelectSlot,longPressThreshold:e.props.longPressThreshold,resizable:w}))})))}}]),n}(m.Component),ra={};var ia=function(e){f(n,e);var t=v(n);function n(e){var r;return a(this,n),(r=t.call(this,e)).handleScroll=function(e){r.scrollRef.current&&(r.scrollRef.current.scrollLeft=e.target.scrollLeft)},r.handleResize=function(){at(r.rafHandle),r.rafHandle=ut(r.checkOverflow)},r.handleSelectAlldayEvent=function(){r.clearSelection();for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Pi(r.props.onSelectEvent,t)},r.handleSelectAllDaySlot=function(e,t){var n=r.props.onSelectSlot,i=new Date(e[0]),o=new Date(e[e.length-1]);o.setDate(e[e.length-1].getDate()+1),Pi(n,{slots:e,start:i,end:o,action:t.action,resourceId:t.resourceId})},r.checkOverflow=function(){if(!r._updatingOverflow){var e=r.contentRef.current,t=e.scrollHeight>e.clientHeight;r.state.isOverflowing!==t&&(r._updatingOverflow=!0,r.setState({isOverflowing:t},(function(){r._updatingOverflow=!1})))}},r.memoizedResources=gr((function(e,t){return function(e,t){return{map:function(n){return e?e.map((function(e,r){return n([t.resourceId(e),e],r)})):[n([ra,null],0)]},groupEvents:function(n){var r=new Map;return e?(n.forEach((function(e){var n=t.resource(e)||ra,i=r.get(n)||[];
1i.push(e),r.set(n,i)})),r):(r.set(ra,n),r)}}}(e,t)})),r.state={gutterWidth:void 0,isOverflowing:null},r.scrollRef=m.createRef(),r.contentRef=m.createRef(),r._scrollRatio=null,r.gutterRef=(0,m.createRef)(),r}return c(n,[{key:"UNSAFE_componentWillMount",value:function(){this.calculateScroll()}},{key:"componentDidMount",value:function(){this.checkOverflow(),null==this.props.width&&this.measureGutter(),this.applyScroll(),window.addEventListener("resize",this.handleResize)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.handleResize),at(this.rafHandle),this.measureGutterAnimationFrameRequest&&window.cancelAnimationFrame(this.measureGutterAnimationFrameRequest)}},{key:"componentDidUpdate",value:function(){null==this.props.width&&this.measureGutter(),this.applyScroll()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=this.props,n=t.range,r=t.scrollToTime,i=t.localizer;(i.neq(e.range[0],n[0],"minutes")||i.neq(e.scrollToTime,r,"minutes"))&&this.calculateScroll(e)}},{key:"renderEvents",value:function(e,t,n,r){var i=this,o=this.props,a=o.min,u=o.max,s=o.components,c=o.accessors,l=o.localizer,f=o.dayLayoutAlgorithm,d=this.memoizedResources(this.props.resources,c),p=d.groupEvents(t),h=d.groupEvents(n);return d.map((function(t,n){var o=(0,yr.A)(t,2),d=o[0],v=o[1];return e.map((function(e,t){var o=(p.get(d)||[]).filter((function(t){return l.inRange(e,c.start(t),c.end(t),"day")})),g=(h.get(d)||[]).filter((function(t){return l.inRange(e,c.start(t),c.end(t),"day")}));return m.createElement(Zo,Object.assign({},i.props,{localizer:l,min:l.merge(e,a),max:l.merge(e,u),resource:v&&d,components:s,isNow:l.isSameDate(e,r),key:n+"-"+t,date:e,events:o,backgroundEvents:g,dayLayoutAlgorithm:f}))}))}))}},{key:"render",value:function(){var e=this.props,t=e.events,n=e.backgroundEvents,r=e.range,i=e.width,o=e.rtl,a=e.selected,u=e.getNow,s=e.resources,c=e.components,l=e.accessors,f=e.getters,d=e.localizer,p=e.min,h=e.max,v=e.showMultiDayTimes,g=e.longPressThreshold,y=e.resizable;i=i||this.state.gutterWidth;var b=r[0],w=r[r.length-1];this.slots=r.length;var D=[],_=[],E=[];return t.forEach((function(e){if(Ao(e,b,w,l,d)){var t=l.start(e),n=l.end(e);l.allDay(e)||d.startAndEndAreDateOnly(t,n)||!v&&!d.isSameDate(t,n)?D.push(e):_.push(e)}})),n.forEach((function(e){Ao(e,b,w,l,d)&&E.push(e)})),D.sort((function(e,t){return xo(e,t,l,d)})),m.createElement("div",{className:F("rbc-time-view",s&&"rbc-time-view-resources")},m.createElement(na,{range:r,events:D,width:i,rtl:o,getNow:u,localizer:d,selected:a,resources:this.memoizedResources(s,l),selectable:this.props.selectable,accessors:l,getters:f,components:c,scrollRef:this.scrollRef,isOverflowing:this.state.isOverflowing,longPressThreshold:g,onSelectSlot:this.handleSelectAllDaySlot,onSelectEvent:this.handleSelectAlldayEvent,onDoubleClickEvent:this.props.onDoubleClickEvent,onKeyPressEvent:this.props.onKeyPressEvent,onDrillDown:this.props.onDrillDown,getDrilldownView:this.props.getDrilldownView,resizable:y}),m.createElement("div",{ref:this.contentRef,className:"rbc-time-content",onScroll:this.handleScroll},m.createElement(ea,{date:b,ref:this.gutterRef,localizer:d,min:d.merge(b,p),max:d.merge(b,h),step:this.props.step,getNow:this.props.getNow,timeslots:this.props.timeslots,components:c,className:"rbc-time-gutter",getters:f}),this.renderEvents(r,_,E,u())))}},{key:"clearSelection",value:function(){clearTimeout(this._selectTimer),this._pendingSelection=[]}},{key:"measureGutter",value:function(){var e=this;this.measureGutterAnimationFrameRequest&&window.cancelAnimationFrame(this.measureGutterAnimationFrameRequest),this.measureGutterAnimationFrameRequest=window.requestAnimationFrame((function(){var t,n=Yr(null===(t=e.gutterRef)||void 0===t?void 0:t.current);n&&e.state.gutterWidth!==n&&e.setState({gutterWidth:n})}))}},{key:"applyScroll",value:function(){if(null!=this._scrollRatio&&!0===this.props.enableAutoScroll){var e=this.contentRef.current;e.scrollTop=e.scrollHeight*this._scrollRatio,this._scrollRatio=null}}},{key:"calculateScroll",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=e.min,n=e.max,r=e.scrollToTime,i=e.localizer,o=r-i.startOf(r,"day"),a=i.diff(t,n,"milliseconds");this._scrollRatio=o/a}}]),n}(m.Component);ia.defaultProps={step:30,timeslots:2};var oa=["date","localizer","min","max","scrollToTime","enableAutoScroll"],aa=function(e){f(n,e);var t=v(n);function n(){return a(this,n),t.apply(this,arguments)}return c(n,[{key:"render",value:function(){var e=this.props,t=e.date,r=e.localizer,o=e.min,a=void 0===o?r.startOf(new Date,"day"):o,u=e.max,s=void 0===u?r.endOf(new Date,"day"):u,c=e.scrollToTime,l=void 0===c?r.startOf(new Date,"day"):c,f=e.enableAutoScroll,d=void 0===f||f,p=(0,i.A)(e,oa),h=n.range(t,{localizer:r});return m.createElement(ia,Object.assign({},p,{range:h,eventOffset:10,localizer:r,min:a,max:s,scrollToTime:l,enableAutoScroll:d}))}}]),n}(m.Component);aa.range=function(e,t){return[t.localizer.startOf(e,"day")]},aa.navigate=function(e,t,n){var r=n.localizer;switch(t){case Ai:return r.add(e,-1,"day");case Ci:return r.add(e,1,"day");default:return e}},aa.title=function(e,t){return t.localizer.format(e,"dayHeaderFormat")};var ua=["date","localizer","min","max","scrollToTime","enableAutoScroll"],sa=function(e){f(n,e);var t=v(n);function n(){return a(this,n),t.apply(this,arguments)}return c(n,[{key:"render",value:function(){var e=this.props,t=e.date,r=e.localizer,o=e.min,a=void 0===o?r.startOf(new Date,"day"):o,u=e.max,s=void 0===u?r.endOf(new Date,"day"):u,c=e.scrollToTime,l=void 0===c?r.startOf(new Date,"day"):c,f=e.enableAutoScroll,d=void 0===f||f,p=(0,i.A)(e,ua),h=n.range(t,this.props);return m.createElement(ia,Object.assign({},p,{range:h,eventOffset:15,localizer:r,min:a,max:s,scrollToTime:l,enableAutoScroll:d}))}}]),n}(m.Component);sa.defaultProps=ia.defaultProps,sa.navigate=function(e,t,n){var r=n.localizer;switch(t){case Ai:return r.add(e,-1,"week");case Ci:return r.add(e,1,"week");default:return e}},sa.range=function(e,t){var n=t.localizer,r=n.startOfWeek(),i=n.startOf(e,"week",r),o=n.endOf(e,"week",r);return n.range(i,o)},sa.title=function(e,t){var n=t.localizer,r=sa.range(e,{localizer:n}),i=(0,Gr.A)(r),o=i[0],a=i.slice(1);return n.format({start:o,end:a.pop()},"dayRangeHeaderFormat")};var ca=["date","localizer","min","max","scrollToTime","enableAutoScroll"];function la(e,t){return sa.range(e,t).filter((function(e){return-1===[6,0].indexOf(e.getDay())}))}var fa,da=function(e){f(n,e);var t=v(n);function n(){return a(this,n),t.apply(this,arguments)}return c(n,[{key:"render",value:function(){var e=this.props,t=e.date,n=e.localizer,r=e.min,o=void 0===r?n.startOf(new Date,"day"):r,a=e.max,u=void 0===a?n.endOf(new Date,"day"):a,s=e.scrollToTime,c=void 0===s?n.startOf(new Date,"day"):s,l=e.enableAutoScroll,f=void 0===l||l,d=(0,i.A)(e,ca),p=la(t,this.props);return m.createElement(ia,Object.assign({},d,{range:p,eventOffset:15,localizer:n,min:o,max:u,scrollToTime:c,enableAutoScroll:f}))}}]),n}(m.Component);function pa(e){var t=e.accessors,n=e.components,r=e.date,i=e.events,o=e.getters,a=e.length,u=e.localizer,s=e.onDoubleClickEvent,c=e.onSelectEvent,l=e.selected,f=(0,m.useRef)(null),d=(0,m.useRef)(null),p=(0,m.useRef)(null),h=(0,m.useRef)(null),v=(0,m.useRef)(null);(0,m.useEffect)((function(){y()}));var g=function(e,r){var i="",o=n.time,a=u.messages.allDay,s=t.end(r),c=t.start(r);return t.allDay(r)||(u.eq(c,s)?a=u.format(c,"agendaTimeFormat"):u.isSameDate(c,s)?a=u.format({start:c,end:s},"agendaTimeRangeFormat"):u.isSameDate(e,c)?a=u.format(c,"agendaTimeFormat"):u.isSameDate(e,s)&&(a=u.format(s,"agendaTimeFormat"))),u.gt(e,c,"day")&&(i="rbc-continues-prior"),u.lt(e,s,"day")&&(i+=" rbc-continues-after"),m.createElement("span",{className:i.trim()},o?m.createElement(o,{event:r,day:e,label:a}):a)},y=function(){if(v.current){var e=f.current,t=v.current.firstChild;if(t){var n,r,i=h.current.scrollHeight>h.current.clientHeight,o=[],a=o;o=[Yr(t.children[0]),Yr(t.children[1])],a[0]===o[0]&&a[1]===o[1]||(d.current.style.width=o[0]+"px",p.current.style.width=o[1]+"px"),i?(r="rbc-header-overflowing",(n=e).classList?n.classList.add(r):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,r)||("string"===typeof n.className?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r)),e.style.marginRight=Xr()+"px"):function(e,t){e.classList?e.classList.remove(t):"string"===typeof e.className?e.className=Jr(e.className,t):e.setAttribute("class",Jr(e.className&&e.className.baseVal||"",t))}(e,"rbc-header-overflowing")}}},b=u.messages,w=u.add(r,a,"day"),D=u.range(r,w,"day");return(i=i.filter((function(e){return Ao(e,u.startOf(r,"day"),u.endOf(w,"day"),t,u)}))).sort((function(e,n){return+t.start(e)-+t.start(n)})),m.createElement("div",{className:"rbc-agenda-view"},0!==i.length?m.createElement(m.Fragment,null,m.createElement("table",{ref:f,className:"rbc-agenda-table"},m.createElement("thead",null,m.createElement("tr",null,m.createElement("th",{className:"rbc-header",ref:d},b.date),m.createElement("th",{className:"rbc-header",ref:p},b.time),m.createElement("th",{className:"rbc-header"},b.event)))),m.createElement("div",{className:"rbc-agenda-content",ref:h},m.createElement("table",{className:"rbc-agenda-table"},m.createElement("tbody",{ref:v},D.map((function(e,r){return function(e,r,i){var a=n.event,f=n.date;return(r=r.filter((function(n){return Ao(n,u.startOf(e,"day"),u.endOf(e,"day"),t,u)}))).map((function(n,d){var p=t.title(n),h=t.end(n),v=t.start(n),y=o.eventProp(n,v,h,ro(n,l)),b=0===d&&u.format(e,"agendaDateFormat"),w=0===d&&m.createElement("td",{rowSpan:r.length,className:"rbc-agenda-date-cell"},f?m.createElement(f,{day:e,label:b}):b);return m.createElement("tr",{key:i+"_"+d,className:y.className,style:y.style},w,m.createElement("td",{className:"rbc-agenda-time-cell"},g(e,n)),m.createElement("td",{className:"rbc-agenda-event-cell",onClick:function(e){return c&&c(n,e)},onDoubleClick:function(e){return s&&s(n,e)}},a?m.createElement(a,{event:n,title:p}
1):p))}),[])}(e,i,r)})))))):m.createElement("span",{className:"rbc-agenda-empty"},b.noEventsInRange))}da.defaultProps=ia.defaultProps,da.range=la,da.navigate=sa.navigate,da.title=function(e,t){var n=t.localizer,r=la(e,{localizer:n}),i=(0,Gr.A)(r),o=i[0],a=i.slice(1);return n.format({start:o,end:a.pop()},"dayRangeHeaderFormat")},pa.defaultProps={length:30},pa.range=function(e,t){var n=t.length,r=void 0===n?pa.defaultProps.length:n;return{start:e,end:t.localizer.add(e,r,"day")}},pa.navigate=function(e,t,n){var r=n.length,i=void 0===r?pa.defaultProps.length:r,o=n.localizer;switch(t){case Ai:return o.add(e,-i,"day");case Ci:return o.add(e,i,"day");default:return e}},pa.title=function(e,t){var n=t.length,r=void 0===n?pa.defaultProps.length:n,i=t.localizer,o=i.add(e,r,"day");return i.format({start:e,end:o},"agendaHeaderFormat")};var ha=(fa={},(0,he.A)(fa,Si.MONTH,Ro),(0,he.A)(fa,Si.WEEK,sa),(0,he.A)(fa,Si.WORK_WEEK,da),(0,he.A)(fa,Si.DAY,aa),(0,he.A)(fa,Si.AGENDA,pa),fa),va=["action","date","today"];var ma=function(e){f(n,e);var t=v(n);function n(){var e;a(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return(e=t.call.apply(t,[this].concat(i))).navigate=function(t){e.props.onNavigate(t)},e.view=function(t){e.props.onView(t)},e}return c(n,[{key:"render",value:function(){var e=this.props,t=e.localizer.messages,n=e.label;return m.createElement("div",{className:"rbc-toolbar"},m.createElement("span",{className:"rbc-btn-group"},m.createElement("button",{type:"button",onClick:this.navigate.bind(null,xi)},t.today),m.createElement("button",{type:"button",onClick:this.navigate.bind(null,Ai)},t.previous),m.createElement("button",{type:"button",onClick:this.navigate.bind(null,Ci)},t.next)),m.createElement("span",{className:"rbc-toolbar-label"},n),m.createElement("span",{className:"rbc-btn-group"},this.viewNamesGroup(t)))}},{key:"viewNamesGroup",value:function(e){var t=this,n=this.props.views,r=this.props.view;if(n.length>1)return n.map((function(n){return m.createElement("button",{type:"button",key:n,className:F({"rbc-active":r===n}),onClick:t.view.bind(null,n)},e[n])}))}}]),n}(m.Component);var ga=function(e){return function(t){return function(e,t){var n=null;return"function"===typeof t?n=t(e):"string"===typeof t&&"object"===(0,o.A)(e)&&null!=e&&t in e&&(n=e[t]),n}(t,e)}},ya=["view","date","getNow","onNavigate"],ba=["view","toolbar","events","backgroundEvents","style","className","elementProps","date","getNow","length","showMultiDayTimes","onShowMore","doShowMoreDrillDown","components","formats","messages","culture"];function wa(e){return Array.isArray(e)?e:Object.keys(e)}var Da=function(e){f(n,e);var t=v(n);function n(){var e;a(this,n);for(var u=arguments.length,s=new Array(u),c=0;c<u;c++)s[c]=arguments[c];return(e=t.call.apply(t,[this].concat(s))).getViews=function(){var t=e.props.views;return Array.isArray(t)?Di(t,(function(e,t){return e[t]=ha[t]}),{}):"object"===(0,o.A)(t)?(0,_i.A)(t,(function(e,t){return!0===e?ha[t]:e})):ha},e.getView=function(){return e.getViews()[e.props.view]},e.getDrilldownView=function(t){var n=e.props,r=n.view,i=n.drilldownView,o=n.getDrilldownView;return o?o(t,r,Object.keys(e.getViews())):i},e.handleRangeChange=function(t,n,r){var i=e.props,o=i.onRangeChange,a=i.localizer;o&&n.range&&o(n.range(t,{localizer:a}),r)},e.handleNavigate=function(t,n){var o=e.props,a=o.view,u=o.date,s=o.getNow,c=o.onNavigate,l=(0,i.A)(o,ya),f=e.getView(),d=s();u=function(e,t){var n=t.action,r=t.date,o=t.today,a=(0,i.A)(t,va);switch(e="string"===typeof e?ha[e]:e,n){case xi:r=o||new Date;break;case Oi:break;default:y()(e&&"function"===typeof e.navigate,"Calendar View components must implement a static `.navigate(date, action)` method.s"),r=e.navigate(r,n,a)}return r}(f,(0,r.A)((0,r.A)({},l),{},{action:t,date:n||u||d,today:d})),c(u,a,t),e.handleRangeChange(u,f)},e.handleViewChange=function(t){t!==e.props.view&&function(e,t){return-1!==wa(t.views).indexOf(e)}(t,e.props)&&e.props.onView(t);var n=e.getViews();e.handleRangeChange(e.props.date||e.props.getNow(),n[t],t)},e.handleSelectEvent=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];Pi(e.props.onSelectEvent,n)},e.handleDoubleClickEvent=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];Pi(e.props.onDoubleClickEvent,n)},e.handleKeyPressEvent=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];Pi(e.props.onKeyPressEvent,n)},e.handleSelectSlot=function(t){Pi(e.props.onSelectSlot,t)},e.handleDrillDown=function(t,n){var r=e.props.onDrillDown;r?r(t,n,e.drilldownView):(n&&e.handleViewChange(n),e.handleNavigate(Oi,t))},e.state={context:e.getContext(e.props)},e}return c(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){this.setState({context:this.getContext(e)}
1)}},{key:"getContext",value:function(e){var t=e.startAccessor,n=e.endAccessor,i=e.allDayAccessor,o=e.tooltipAccessor,a=e.titleAccessor,u=e.resourceAccessor,s=e.resourceIdAccessor,c=e.resourceTitleAccessor,l=e.eventPropGetter,f=e.backgroundEventPropGetter,d=e.slotPropGetter,p=e.slotGroupPropGetter,h=e.dayPropGetter,v=e.view,m=e.views,g=e.localizer,y=e.culture,b=e.messages,w=void 0===b?{}:b,D=e.components,_=void 0===D?{}:D,E=e.formats,A=void 0===E?{}:E,C=wa(m);return{viewNames:C,localizer:Qi(g,y,A,function(e){return(0,r.A)((0,r.A)({},eo),e)}(w)),getters:{eventProp:function(){return l&&l.apply(void 0,arguments)||{}},backgroundEventProp:function(){return f&&f.apply(void 0,arguments)||{}},slotProp:function(){return d&&d.apply(void 0,arguments)||{}},slotGroupProp:function(){return p&&p.apply(void 0,arguments)||{}},dayProp:function(){return h&&h.apply(void 0,arguments)||{}}},components:hi(_[v]||{},li(_,C),{eventWrapper:Ei,backgroundEventWrapper:Ei,eventContainerWrapper:Ei,dateCellWrapper:Ei,weekWrapper:Ei,timeSlotWrapper:Ei}),accessors:{start:ga(t),end:ga(n),allDay:ga(i),tooltip:ga(o),title:ga(a),resource:ga(u),resourceId:ga(s),resourceTitle:ga(c)}}}},{key:"render",value:function(){var e=this.props,t=e.view,n=e.toolbar,r=e.events,o=e.backgroundEvents,a=e.style,u=e.className,s=e.elementProps,c=e.date,l=e.getNow,f=e.length,d=e.showMultiDayTimes,p=e.onShowMore,h=e.doShowMoreDrillDown;e.components,e.formats,e.messages,e.culture;var v=(0,i.A)(e,ba);c=c||l();var g=this.getView(),y=this.state.context,b=y.accessors,w=y.components,D=y.getters,_=y.localizer,E=y.viewNames,A=w.toolbar||ma,C=g.title(c,{localizer:_,length:f});return m.createElement("div",Object.assign({},s,{className:F(u,"rbc-calendar",v.rtl&&"rbc-rtl"),style:a}),n&&m.createElement(A,{date:c,view:t,views:E,label:C,onView:this.handleViewChange,onNavigate:this.handleNavigate,localizer:_}),m.createElement(g,Object.assign({},v,{events:r,backgroundEvents:o,date:c,getNow:l,length:f,localizer:_,getters:D,components:w,accessors:b,showMultiDayTimes:d,getDrilldownView:this.getDrilldownView,onNavigate:this.handleNavigate,onDrillDown:this.handleDrillDown,onSelectEvent:this.handleSelectEvent,onDoubleClickEvent:this.handleDoubleClickEvent,onKeyPressEvent:this.handleKeyPressEvent,onSelectSlot:this.handleSelectSlot,onShowMore:p,doShowMoreDrillDown:h})))}}]),n}(m.Component);Da.defaultProps={events:[],backgroundEvents:[],elementProps:{},popup:!1,toolbar:!0,view:Si.MONTH,views:[Si.MONTH,Si.WEEK,Si.DAY,Si.AGENDA],step:30,length:30,doShowMoreDrillDown:!0,drilldownView:Si.DAY,titleAccessor:"title",tooltipAccessor:"title",allDayAccessor:"allDay",startAccessor:"start",endAccessor:"end",resourceAccessor:"resourceId",resourceIdAccessor:"id",resourceTitleAccessor:"title",longPressThreshold:250,getNow:function(){return new Date},dayLayoutAlgorithm:"overlap"};var _a=function e(t,n,r){void 0===r&&(r=[]);var i,o=t.displayName||t.name||"Component",a=!!(i=t)&&("function"!==typeof i||i.prototype&&i.prototype.isReactComponent),u=Object.keys(n),s=u.map(D);!a&&r.length&&y()(!1);var c=function(e){function i(){for(var t,i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];(t=e.call.apply(e,[this].concat(o))||this).handlers=Object.create(null),u.forEach((function(e){var r=n[e];t.handlers[r]=function(n){if(t.props[r]){var i;t._notifying=!0;for(var o=arguments.length,a=new Array(o>1?o-1:0),u=1;u<o;u++)a[u-1]=arguments[u];(i=t.props)[r].apply(i,[n].concat(a)),t._notifying=!1}t.unmounted||t.setState((function(t){var r,i=t.values;return{values:(0,E.A)(Object.create(null),i,(r={},r[e]=n,r))}}))}})),r.length&&(t.attachRef=function(e){t.inner=e});var s=Object.create(null);return u.forEach((function(e){s[e]=t.props[D(e)]})),t.state={values:s,prevProps:{}},t}(0,A.A)(i,e);var o=i.prototype;return o.shouldComponentUpdate=function(){return!this._notifying},i.getDerivedStateFromProps=function(e,t){var n=t.values,r=t.prevProps,i={values:(0,E.A)(Object.create(null),n),prevProps:{}};return u.forEach((function(t){i.prevProps[t]=e[t],!w(e,t)&&w(r,t)&&(i.values[t]=e[D(t)])})),i},o.componentWillUnmount=function(){this.unmounted=!0},o.render=function(){var e=this,n=this.props,r=n.innerRef,i=(0,_.A)(n,["innerRef"]);
1s.forEach((function(e){delete i[e]}));var o={};return u.forEach((function(t){var n=e.props[t];o[t]=void 0!==n?n:e.state.values[t]})),m.createElement(t,(0,E.A)({},i,o,this.handlers,{ref:r||this.attachRef}))},i}(m.Component);!function(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!==typeof e.getDerivedStateFromProps&&"function"!==typeof t.getSnapshotBeforeUpdate)return e;var n=null,r=null,i=null;if("function"===typeof t.componentWillMount?n="componentWillMount":"function"===typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"===typeof t.componentWillReceiveProps?r="componentWillReceiveProps":"function"===typeof t.UNSAFE_componentWillReceiveProps&&(r="UNSAFE_componentWillReceiveProps"),"function"===typeof t.componentWillUpdate?i="componentWillUpdate":"function"===typeof t.UNSAFE_componentWillUpdate&&(i="UNSAFE_componentWillUpdate"),null!==n||null!==r||null!==i){var o=e.displayName||e.name,a="function"===typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+o+" uses "+a+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==r?"\n "+r:"")+(null!==i?"\n "+i:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"===typeof e.getDerivedStateFromProps&&(t.componentWillMount=C,t.componentWillReceiveProps=x),"function"===typeof t.getSnapshotBeforeUpdate){if("function"!==typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=O;var u=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;u.call(this,e,t,r)}}}(c),c.displayName="Uncontrolled("+o+")",c.propTypes=(0,E.A)({innerRef:function(){}},function(e){var t={};return Object.keys(e).forEach((function(e){t[D(e)]=b})),t}(n)),r.forEach((function(e){c.prototype[e]=function(){var t;return(t=this.inner)[e].apply(t,arguments)}}));var l=c;return m.forwardRef&&((l=m.forwardRef((function(e,t){return m.createElement(c,(0,E.A)({},e,{innerRef:t,__source:{fileName:"/Users/jquense/src/uncontrollable/src/uncontrollable.js",lineNumber:128},__self:this}))}))).propTypes=c.propTypes),l.ControlledComponent=t,l.deferControlTo=function(t,r,i){return void 0===r&&(r={}),e(t,(0,E.A)({},n,r),i)},l}(Da,{view:"onView",date:"onNavigate",selected:"onSelectEvent"});var Ea=function(e,t,n){var r=e.start,i=e.end;return n.format(r,"t",t)+" \u2013 "+n.format(i,"t",t)},Aa={dateFormat:"dd",dayFormat:"dd EEE",weekdayFormat:"EEE",selectRangeFormat:Ea,eventTimeRangeFormat:Ea,eventTimeRangeStartFormat:function(e,t,n){var r=e.start;return n.format(r,"t",t)+" \u2013 "},eventTimeRangeEndFormat:function(e,t,n){var r=e.end;return" \u2013 "+n.format(r,"t",t)},timeGutterFormat:"t",monthHeaderFormat:"MMMM yyyy",dayHeaderFormat:"EEEE MMM dd",dayRangeHeaderFormat:function(e,t,n){var r=e.start,i=e.end;return n.format(r,"MMMM dd",t)+" \u2013 "+n.format(i,n.eq(r,i,"month")?"dd":"MMMM dd",t)},agendaHeaderFormat:function(e,t,n){var r=e.start,i=e.end;return n.format(r,"D",t)+" \u2013 "+n.format(i,"D",t)},agendaDateFormat:"EEE MMM dd",agendaTimeFormat:"t",agendaTimeRangeFormat:Ea};function Ca(e){var t=e?function(e){return/s$/.test(e)?e:e+"s"}(e.toLowerCase()):e;return"FullYear"===t?t="year":t||(t=void 0),t}function xa(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).firstDayOfWeek,n=void 0===t?7:t;function r(t,n,r){var i=Ca(r);return[i?e.fromJSDate(t).startOf(i):e.fromJSDate(t),i?e.fromJSDate(n).startOf(i):e.fromJSDate(n),i]}function i(e){var t=e.weekday;if(t===n)return e.startOf("day");if(1===n)return e.startOf("week");var r=7===n?t:t+(7-n);return e.minus({day:r}).startOf("day")}function o(e){var t=e.weekday,r=1===n?7:n-1;return t===r?e.endOf("day"):1===n?e.endOf("week"):(n>r?e.plus({day:n-r}):e).set({weekday:r}).endOf("day")}function a(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date,n=Ca(arguments.length>1?arguments[1]:void 0);if(n){var r=e.fromJSDate(t);return n.includes("week")?i(r):r.startOf(n)}return e.fromJSDate(t)}function u(){return a(arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date,arguments.length>1?arguments[1]:void 0).toJSDate()}function s(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date,n=Ca(arguments.length>1?arguments[1]:void 0);if(n){var r=e.fromJSDate(t);return n.includes("week")?o(r):r.endOf(n)}return e.fromJSDate(t)}
1function c(e,t,n){var i=r(e,t,n),o=(0,yr.A)(i,2);return+o[0]==+o[1]}function l(e,t,n){return!c(e,t,n)}function f(e,t,n){var i=r(e,t,n),o=(0,yr.A)(i,2);return+o[0]>+o[1]}function d(e,t,n){var i=r(e,t,n),o=(0,yr.A)(i,2);return+o[0]<+o[1]}function p(e,t,n){var i=r(e,t,n),o=(0,yr.A)(i,2);return+o[0]>=+o[1]}function h(e,t,n){var i=r(e,t,n),o=(0,yr.A)(i,2);return+o[0]<=+o[1]}function v(t,n,r){var i=Ca(r);return e.fromJSDate(t).plus((0,he.A)({},i,n)).toJSDate()}function m(e,t){var n=Ca(t),r=u(e,n);return c(r,e)?r:v(r,1,n)}function g(t,n){var r=Ca(arguments.length>2&&void 0!==arguments[2]?arguments[2]:"day"),i=e.fromJSDate(t),o=e.fromJSDate(n);return Math.round(o.diff(i,r,{conversionAccuracy:"longterm"}).toObject()[r])}function y(e){return i(a(e,"month")).toJSDate()}function b(e){return o(s(e,"month")).toJSDate()}return new Zi({format:function(t,n,r){return r?function(t,n,r){return e.fromJSDate(t).setLocale(n).toFormat(r)}(t,r,n):function(t,n){return e.fromJSDate(t).toFormat(n)}(t,n)},formats:Aa,firstOfWeek:function(){return n},firstVisibleDay:y,lastVisibleDay:b,visibleDays:function(e){for(var t=y(e),n=b(e),r=[];h(t,n);)r.push(t),t=v(t,1,"day");return r},lt:d,lte:h,gt:f,gte:p,eq:c,neq:l,merge:function(t,n){if(!t&&!n)return null;var r=e.fromJSDate(n);return a(t,"day").set({hour:r.hour,minute:r.minute,second:r.second,millisecond:r.millisecond}).toJSDate()},inRange:function(e,t,n){var r=Ca(arguments.length>3&&void 0!==arguments[3]?arguments[3]:"day"),i=a(e,r),o=a(t,r),u=a(n,r);return+i>=+o&&+i<=+u},startOf:u,endOf:function(){return s(arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date,arguments.length>1?arguments[1]:void 0).toJSDate()},range:function(t,n){for(var r=Ca(arguments.length>2&&void 0!==arguments[2]?arguments[2]:"day"),i=e.fromJSDate(t).toJSDate(),o=[];h(i,n);)o.push(i),i=v(i,1,r);return o},add:v,diff:g,ceil:m,min:function(t,n){var r=e.fromJSDate(t),i=e.fromJSDate(n);return e.min(r,i).toJSDate()},max:function(t,n){var r=e.fromJSDate(t),i=e.fromJSDate(n);return e.max(r,i).toJSDate()},getSlotDate:function(e,t,n){return a(e,"day").set({minutes:t+n}).toJSDate()},getTotalMin:function(e,t){return g(e,t,"minutes")},getMinutesFromMidnight:function(t){var n=a(t,"day"),r=e.fromJSDate(t);return Math.round(r.diff(n,"minutes",{conversionAccuracy:"longterm"}).toObject().minutes)},continuesPrior:function(e,t){return d(e,t)},continuesAfter:function(e,t,n){return p(t,n)},sortEvents:function(e){var t=e.evtA,n=t.start,r=t.end,i=t.allDay,o=e.evtB,a=o.start,s=o.end,c=o.allDay,l=+u(n,"day")-+u(a,"day"),f=g(n,m(r,"day"),"day"),d=g(a,m(s,"day"),"day");return l||Math.max(d,1)-Math.max(f,1)||!!c-!!i||+n-+a||+r-+s},inEventRange:function(e){var t=e.event,n=t.start,r=t.end,i=e.range,o=i.start,a=i.end,s=u(n,"day"),c=h(s,a,"day"),d=l(s,r,"minutes")?f(r,o,"minutes"):p(r,o,"minutes");return c&&d},isSameDate:function(t,n){var r=e.fromJSDate(t),i=e.fromJSDate(n);return r.hasSame(i,"day")},browserTZOffset:function(){var t=new Date,n=/-/.test(t.toString())?"-":"",r=t.getTimezoneOffset(),i=Number("".concat(n).concat(Math.abs(r)));return e.local().offset>i?1:0}})}},83562:(e,t,n)=>{"use strict";n.d(t,{P:()=>m});var r,i,o=n(36938),a=function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function u(e,t,n,r,i){var o=n>0?Math.max(0,Math.min(n,-t)):Math.min(0,Math.max(n,-t)),a=Math.min(Math.max(e+n-o,r),i)-Math.min(Math.max(e,r),i);return[a,n-a]}function s(e,t,n){return 0===Math.abs(t)&&Math.abs(n)>0||Math.sign(t)===Math.sign(n)?.3*e*Math.sign(n)*Math.log10(1+.5*Math.abs(n)/e):n}function c(e){return!!e&&e.scrollWidth>e.clientWidth}function l(e){return!!e&&e.scrollHeight>e.clientHeight}function f(e){return"function"==typeof e}function d(e,t){var n,r,i=function(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];var u=Date.now()-n,s=f(t)?t():t||0;u<s&&u>=0?r=setTimeout((function(){return i.apply(void 0,o)}),s-u):e.apply(void 0,o)},o=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];n=Date.now(),r=setTimeout((function(){return i.apply(void 0,e)}),f(t)?t():t||0)};return o.clear=function(){clearTimeout(r)},o}function p(e){var t=(0,o.useRef)(e);return(0,o.useEffect)((function(){t.current=e}),[e]),t}(i=r||(r={}))[i.Left=1]="Left",i[i.Middle=4]="Middle",i[i.Right=2]="Right";var h=function(){function e(e,t){var n,r,i,o,a=this;
1this.getScrollMode=function(e){if(a.getOptions().overscroll&&a.reference.current&&e){var t=a.reference.current,n=t.scrollLeft,r=t.scrollTop,i=t.clientHeight,o=t.clientWidth,u=t.scrollHeight,s=t.scrollWidth;return e.left<0&&n>0||e.left>0&&n<s-o||e.top<0&&r>0||e.top>0&&r<u-i?"local":"global"}return"local"},this.clearStyles=function(){a.reference.current&&a.reference.current.childNodes.forEach((function(e,t){e.style.transition=a.originalStyles.transition[t],e.style.transform=a.originalStyles.transform[t],e.style.pointerEvents=a.originalStyles.pointerEvents[t]})),a.overflow.left=0,a.overflow.top=0,a.overflow.prevent=!1},this.inertia=function(e,t){var n=a.calculateScroll({left:a.inertiaSpeed.left*e,top:a.inertiaSpeed.top*e});a.inertiaSpeed.left=(n.left.local+n.left.overflow)/e*.95,a.inertiaSpeed.top=(n.top.local+n.top.overflow)/e*.95,a.applyScroll(n),Math.abs(a.inertiaSpeed.left)<.05&&Math.abs(a.inertiaSpeed.top)<.05&&(null==t||t())},this.reference=e,this.options=t,this.originalStyles={transform:[],transition:[],pointerEvents:[]},this.overflow={left:0,top:0,prevent:!1},this.inertiaSpeed={left:0,top:0},this.mode=null,this.active=!1,this.loopedInertia=(n=this.inertia,i=!1,o={run:function(e){i=!1;var t=performance.now(),a=function(){o.cancel(),null==e||e()},u=function(e){i||(n(e-t,a),t=e,r=window.requestAnimationFrame((function(e){return u(e)})))};r=window.requestAnimationFrame((function(e){return u(e)}))},cancel:function(){i=!0,window.cancelAnimationFrame(r)}}),this.debouncedClearStyles=d(this.clearStyles,300)}return e.prototype.getOptions=function(){return a({inertia:!0,rubberBand:!0},this.options.current)},e.prototype.start=function(e){var t=this;this.active&&this.cancel(),this.mode=this.getScrollMode(e),this.reference.current&&this.reference.current.childNodes.forEach((function(e){e.addEventListener("click",t.preventEvent);var n=window.getComputedStyle(e),r=n.transform,i=n.transition,o=n.pointerEvents;t.originalStyles.transition.push(i),t.originalStyles.transform.push(r),t.originalStyles.pointerEvents.push(o),e.style.pointerEvents="none"})),this.active=!0},e.prototype.scroll=function(e){this.applyScroll(this.calculateScroll(e))},e.prototype.end=function(e,t){var n=this,r=this.getOptions().inertia,i=function(){n.cancel(),null==t||t()};this.inertiaSpeed.left=e?e.left:0,this.inertiaSpeed.top=e?e.top:0,r?this.loopedInertia.run(i):i()},e.prototype.cancel=function(){var e,t=this;null===(e=this.reference.current)||void 0===e||e.childNodes.forEach((function(e){e.removeEventListener("click",t.preventEvent)})),this.resetOverflow(),this.loopedInertia.cancel(),this.mode=null,this.active=!1},e.prototype.resetOverflow=function(){var e,t=this.overflow.left||this.overflow.top;t&&(this.overflow.prevent=!0,(null===(e=this.reference.current)||void 0===e?void 0:e.childNodes).forEach((function(e){e.style.transform="translate3d(0px, 0px, 0px)",e.style.transition="300ms"}))),t?this.debouncedClearStyles():this.clearStyles()},e.prototype.preventEvent=function(e){e.preventDefault(),e.stopImmediatePropagation()},e.prototype.applyScroll=function(e){var t=this,n=e.left,r=e.top;(n.global||r.global)&&window.scrollTo({left:window.scrollX+n.global,top:window.scrollY+r.global,behavior:"auto"}),this.reference.current&&(this.reference.current.scrollLeft+=n.local,this.reference.current.scrollTop+=r.local,this.overflow.prevent||!n.overflow&&!r.overflow||(this.overflow.left+=n.overflow,this.overflow.top+=r.overflow,this.reference.current.childNodes.forEach((function(e){e.style.transform="translate3d("+-t.overflow.left+"px, "+-t.overflow.top+"px, 0px)",e.style.transition="0ms"}))))},e.prototype.calculateScroll=function(e){var t=this.getOptions().rubberBand,n={local:0,global:0,overflow:0},r={local:0,global:0,overflow:0};if("global"===this.mode)n.global=e.left,r.global=e.top;else if(this.reference.current){var i=this.reference.current,o=i.scrollLeft,a=i.scrollTop,f=i.scrollWidth,d=i.clientWidth,p=i.scrollHeight,h=i.clientHeight;if(c(this.reference.current)){var v=u(o,this.overflow.left,e.left,0,f-d),m=v[0],g=v[1];n.local=m,t&&(n.overflow=s(d,this.overflow.left,g))}if(l(this.reference.current)){var y=u(a,this.overflow.top,e.top,0,p-h);m=y[0],g=y[1],r.local=m,t&&(r.overflow=s(d,this.overflow.top,g))}}return{left:n,top:r}},e}();function v(e){void 0===e&&(e={mouseScroll:!0});var t,n,i,u=(0,o.useRef)(null),s=1/60*1e3,f=(0,o.useRef)({scrolling:!1,started:!1,pressed:!1,artificial:!1,mou
1se:!1}),v=(0,o.useRef)({active:{left:!1,top:!1},initialClick:{left:0,top:0},speedX:0,speedY:0,clientX:0,clientY:0}),m=(0,o.useRef)({body:{},reference:{}}),g=p(e),y=p(a({activationDistance:20,cursor:!0,buttons:[r.Left]},null!==(t=g.current.mouseScroll)&&"object"==typeof t?g.current.mouseScroll:{})),b=(0,o.useState)("mouseScrollImplementation"in e&&e.mouseScrollImplementation?e.mouseScrollImplementation(u,y):function(e,t){return new h(e,t)}(u,y))[0],w=function(){var e=function(){window.requestAnimationFrame((function(){var e,t;null===(t=(e=g.current).onEndScroll)||void 0===t||t.call(e),f.current.started=!1,f.current.scrolling=!1,f.current.artificial=!1}))};f.current.artificial?b.end({left:v.current.speedX,top:v.current.speedY},e):e()},D=function(e){var t,n,r=y.current.ignoreElements;g.current.mouseScroll&&function(e,t,n){if(n&&e&&t){var r=e.closest(n);return null===r||r.contains(t)}return Boolean(e&&t)}(e.target,u.current,r)&&(c(u.current)||l(u.current))&&-1!==y.current.buttons.indexOf(e.buttons)&&(t=e.clientX,n=e.clientY,v.current.speedY=0,v.current.speedX=0,v.current.clientX=t,v.current.clientY=n,v.current.active.left=!1,v.current.active.top=!1,v.current.initialClick.top=n,v.current.initialClick.left=t,f.current.mouse=!0,f.current.pressed=!0,b.cancel())},_=function(e){g.current.mouseScroll&&f.current.pressed&&f.current.mouse&&(function(e,t){var n=y.current,r=n.activationDistance,i=n.cursor;Math.abs(e-v.current.initialClick.left)>r&&(v.current.active.left=!0),Math.abs(t-v.current.initialClick.top)>r&&(v.current.active.top=!0);var o={left:v.current.active.left?v.current.clientX-e:0,top:v.current.active.top?v.current.clientY-t:0};b.active?f.current.pressed&&(v.current.speedX=o.left/s,v.current.speedY=o.top/s,v.current.clientX=e,v.current.clientY=t,b.scroll(o),window.requestAnimationFrame((function(){v.current.speedX=0,v.current.speedY=0}))):(v.current.active.top||v.current.active.left)&&(b.start(o),v.current.clientX=e,v.current.clientY=t,f.current.artificial=!0,i&&(m.current.body.cursor=document.body.style.cursor,document.body.style.cursor="grabbing",u.current&&(m.current.reference.cursor=u.current.style.cursor,u.current.style.cursor="grabbing")),u.current&&(m.current.reference.userSelect=u.current.style.userSelect,u.current.style.userSelect="none"))}(e.clientX,e.clientY),e.preventDefault(),e.stopPropagation())},E=function(){f.current.pressed&&(b.active&&w(),f.current.pressed=!1,f.current.mouse=!1,A())},A=function(){y.current.cursor&&(document.body.style.cursor=m.current.body.cursor||"",u.current&&(u.current.style.cursor=m.current.reference.cursor||"")),u.current&&(u.current.style.userSelect=m.current.reference.userSelect||"")},C=function(){f.current.artificial=!1,f.current.pressed=!0},x=function(){f.current.pressed&&(f.current.started&&!f.current.scrolling&&w(),f.current.pressed=!1)},O=function(){var e,t;f.current.scrolling=!0,f.current.started?null===(t=(e=g.current).onScroll)||void 0===t||t.call(e):function(){var e,t;f.current.started=!0,null===(t=(e=g.current).onStartScroll)||void 0===t||t.call(e)}(),S()},S=(n=p((function(){var e=f.current,t=e.pressed,n=e.started,r=e.artificial;t||!n||r||w(),f.current.scrolling=!1})),i=p(250),(0,o.useRef)(d((function(){var e;null===(e=n.current)||void 0===e||e.call(n)}),(function(){return i.current}))).current),F=(0,o.useCallback)((function(e){u.current!==e&&(u.current&&(u.current.removeEventListener("mousedown",D),u.current.removeEventListener("scroll",O),u.current.removeEventListener("touchstart",C)),u.current=e,u.current&&(u.current.addEventListener("mousedown",D,{passive:!1}),u.current.addEventListener("scroll",O,{passive:!1}),u.current.addEventListener("touchstart",C)))}),[]);return(0,o.useEffect)((function(){return window.addEventListener("mouseup",E),window.addEventListener("mousemove",_),window.addEventListener("touchend",x),function(){window.removeEventListener("mouseup",E),window.removeEventListener("mousemove",_),window.removeEventListener("touchend",x),A()}}),[]),{ref:F}}var m=(0,o.forwardRef)((function(e,t){var n,r,i=a({mouseScrollImplementation:void 0}
1,e),u=i.children,s=i.className,c=i.component,l=i.hideScrollbars,f=void 0===l||l,d=i.mouseScroll,p=void 0===d||d,h=i.mouseScrollImplementation,m=i.onStartScroll,g=i.onEndScroll,y=i.onScroll,b=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 i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}(i,["children","className","component","hideScrollbars","mouseScroll","mouseScrollImplementation","onStartScroll","onEndScroll","onScroll"]),w=c||"div",D=v({mouseScroll:p,mouseScrollImplementation:h,onStartScroll:m,onEndScroll:g,onScroll:y});return o.createElement(w,a({className:(r=[s,"indiana-scroll-container",f&&"indiana-scroll-container--hide-scrollbars"],r.filter((function(e){return e})).join(" ")),ref:(n=[t,D.ref],function(e){n.forEach((function(t){"function"==typeof t?t(e):null!=t&&(t.current=e)}))})},b),u)}))},79965:function(e,t,n){var r,i;"undefined"!=typeof self&&self,e.exports=(r=n(36938),i=n(18583),function(){"use strict";var e={328:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.PrintContextConsumer=t.PrintContext=void 0;var r=n(496),i=Object.prototype.hasOwnProperty.call(r,"createContext");t.PrintContext=i?r.createContext({}):null,t.PrintContextConsumer=t.PrintContext?t.PrintContext.Consumer:function(){return null}},428:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.ReactToPrint=void 0;var r=n(316),i=n(496),o=n(190),a=n(328),u=n(940),s=function(e){function t(){var t=e.apply(this,r.__spreadArray([],r.__read(arguments),!1))||this;return t.startPrint=function(e){var n=t.props,r=n.onAfterPrint,i=n.onPrintError,o=n.print,a=n.documentTitle;setTimeout((function(){var n,u;if(e.contentWindow)if(e.contentWindow.focus(),o)o(e).then((function(){return null==r?void 0:r()})).then((function(){return t.handleRemoveIframe()})).catch((function(e){i?i("print",e):t.logMessages(["An error was thrown by the specified `print` function"])}));else{if(e.contentWindow.print){var s=null!==(u=null===(n=e.contentDocument)||void 0===n?void 0:n.title)&&void 0!==u?u:"",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=s))}else t.logMessages(["Printing for this browser is not currently possible: the browser does not have a `print` method available for iframes."]);null==r||r(),t.handleRemoveIframe()}else t.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)},t.triggerPrint=function(e){var n=t.props,r=n.onBeforePrint,i=n.onPrintError;if(r){var o=r();o&&"function"==typeof o.then?o.then((function(){t.startPrint(e)})).catch((function(e){i&&i("onBeforePrint",e)})):t.startPrint(e)}else t.startPrint(e)},t.handlePrint=function(e){var n=t.props,i=n.bodyClass,a=n.content,u=n.copyStyles,s=n.fonts,c=n.pageStyle,l=n.nonce,f="function"==typeof e?e():null;if(f&&"function"==typeof a&&t.logMessages(['"react-to-print" received a `content` prop and a content param passed the callback return by `useReactToPrint. The `content` prop will be ignored.'],"warning"),f||"function"!=typeof a||(f=a()),void 0!==f)if(null!==f){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,o.findDOMNode)(f);if(p){var h=p.cloneNode(!0),v=h instanceof Text,m=document.querySelectorAll("link[rel~='stylesheet'], link[as='style']"),g=v?[]:h.querySelectorAll("img"),y=v?[]:h.querySelectorAll("video"),b=s?s.length:0;t.numResourcesToLoad=m.length+g.length+y.length+b,t.resourcesLoaded=[],t.resourcesErrored=[];var w=function(e,n){t.resourcesLoaded.includes(e)?t.logMessages(["Tried to mark a resource that has already been handled",e],"debug"):(n?(t.logMessages(r.__spreadArray(['"react-to-
1print" was unable to load a resource but will continue attempting to print the page'],r.__read(n),!1)),t.resourcesErrored.push(e)):t.resourcesLoaded.push(e),t.resourcesLoaded.length+t.resourcesErrored.length===t.numResourcesToLoad&&t.triggerPrint(d))};d.onload=function(){var e,n,o,a;d.onload=null;var f=d.contentDocument||(null===(n=d.contentWindow)||void 0===n?void 0:n.document);if(f){f.body.appendChild(h),s&&((null===(o=d.contentDocument)||void 0===o?void 0:o.fonts)&&(null===(a=d.contentWindow)||void 0===a?void 0:a.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(){w(t)})).catch((function(e){w(t,["Failed loading the font:",t,"Load error:",e])}))})):(s.forEach((function(e){return w(e)})),t.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 m="function"==typeof c?c():c;if("string"!=typeof m)t.logMessages(['"react-to-print" expected a "string" from `pageStyle` but received "'.concat(typeof m,'". Styles from `pageStyle` will not be applied.')]);else{var b=f.createElement("style");l&&(b.setAttribute("nonce",l),f.head.setAttribute("nonce",l)),b.appendChild(f.createTextNode(m)),f.head.appendChild(b)}if(i&&(e=f.body.classList).add.apply(e,r.__spreadArray([],r.__read(i.split(" ")),!1)),!v){for(var D=v?[]:p.querySelectorAll("canvas"),_=f.querySelectorAll("canvas"),E=0;E<D.length;++E){var A=D[E],C=_[E].getContext("2d");C&&C.drawImage(A,0,0)}var x=function(e){var t=g[e],n=t.getAttribute("src");if(n){var r=new Image;r.onload=function(){return w(t)},r.onerror=function(e,n,r,i,o){return w(t,["Error loading <img>",t,"Error",o])},r.src=n}else w(t,['Found an <img> tag with an empty "src" attribute. This prevents pre-loading it. The <img> is:',t])};for(E=0;E<g.length;E++)x(E);var O=function(e){var t=y[e];t.preload="auto";var n=t.getAttribute("poster");if(n){var r=new Image;r.onload=function(){return w(t)},r.onerror=function(e,r,i,o,a){return w(t,["Error loading video poster",n,"for video",t,"Error:",a])},r.src=n}else t.readyState>=2?w(t):(t.onloadeddata=function(){return w(t)},t.onerror=function(e,n,r,i,o){return w(t,["Error loading video",t,"Error",o])},t.onstalled=function(){return w(t,["Loading video stalled, skipping",t])})};for(E=0;E<y.length;E++)O(E);var S="input",F=p.querySelectorAll(S),P=f.querySelectorAll(S);for(E=0;E<F.length;E++)P[E].value=F[E].value;var k="input[type=checkbox],input[type=radio]",M=p.querySelectorAll(k),B=f.querySelectorAll(k);for(E=0;E<M.length;E++)B[E].checked=M[E].checked;var j="select",T=p.querySelectorAll(j),I=f.querySelectorAll(j);for(E=0;E<T.length;E++)I[E].value=T[E].value}if(u)for(var R=document.querySelectorAll("style, link[rel~='stylesheet'], link[as='style']"),N=function(e,n){var r=R[e];if("style"===r.tagName.toLowerCase()){var i=f.createElement(r.tagName),o=r.sheet;if(o){var a="";try{for(var u=o.cssRules.length,s=0;s<u;++s)"string"==typeof o.cssRules[s].cssText&&(a+="".concat(o.cssRules[s].cssText,"\r\n"))}catch(e){t.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")}i.setAttribute("id","react-to-print-".concat(e)),l&&i.setAttribute("nonce",l),i.appendChild(f.createTextNode(a)),f.head.appendChild(i)}}else if(r.getAttribute("href"))if(r.hasAttribute("disabled"))t.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"),w(r);else{for(var c=f.createElement(r.tagName),d=(s=0,r.attributes.length);s<d;++s){var p=r.attributes[s];p&&c.setAttribute(p.nodeName,p.nodeValue||"")}c.onload=function(){return w(c)},c.onerror=function(e,t,n,r,i){return w(c,["Failed to load",c,"Error:",i])},l&&c.setAttribute("nonce",l),f.head.appendChild(c)}
1else t.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"),w(r)},L=(E=0,R.length);E<L;++E)N(E)}0!==t.numResourcesToLoad&&u||t.triggerPrint(d)},t.handleRemoveIframe(!0),document.body.appendChild(d)}else t.logMessages(['"react-to-print" could not locate the DOM node corresponding with the `content` prop'])}else t.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 t.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"])},t.handleRemoveIframe=function(e){var n=t.props.removeAfterPrint;if(e||n){var r=document.getElementById("printWindow");r&&document.body.removeChild(r)}},t.logMessages=function(e,n){void 0===n&&(n="error"),t.props.suppressErrors||("error"===n?console.error(e):"warning"===n?console.warn(e):"debug"===n&&console.debug(e))},t}return r.__extends(t,e),t.prototype.handleClick=function(e,t){var n=this,r=this.props,i=r.onBeforeGetContent,o=r.onPrintError;if(i){var a=i();a&&"function"==typeof a.then?a.then((function(){return n.handlePrint(t)})).catch((function(e){o&&o("onBeforeGetContent",e)})):this.handlePrint(t)}else this.handlePrint(t)},t.prototype.render=function(){var e=this.props,t=e.children,n=e.trigger;if(n)return i.cloneElement(n(),{onClick:this.handleClick.bind(this)});if(!a.PrintContext)return this.logMessages(['"react-to-print" requires React ^16.3.0 to be able to use "PrintContext"']),null;var r={handlePrint:this.handleClick.bind(this)};return i.createElement(a.PrintContext.Provider,{value:r},t)},t.defaultProps=u.defaultProps,t}(i.Component);t.ReactToPrint=s},940:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.defaultProps=void 0,t.defaultProps={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}},892:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.useReactToPrint=void 0;var r=n(316),i=n(496),o=n(428),a=n(940),u=n(860),s=Object.prototype.hasOwnProperty.call(i,"useMemo")&&Object.prototype.hasOwnProperty.call(i,"useCallback");t.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 t=i.useMemo((function(){return new o.ReactToPrint(r.__assign(r.__assign({},a.defaultProps),e))}),[e]);return i.useCallback((function(e,n){return(0,u.wrapCallbackWithArgs)(t,t.handleClick,n)(e)}),[t])}},860:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.wrapCallbackWithArgs=void 0;var r=n(316);t.wrapCallbackWithArgs=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];return t.apply(e,r.__spreadArray(r.__spreadArray([],r.__read(i),!1),r.__read(n),!1))}}},496:function(e){e.exports=r},190:function(e){e.exports=i},316:function(e,t,n){n.r(t),n.d(t,{__addDisposableResource:function(){return j},__assign:function(){return o},__asyncDelegator:function(){return C},__asyncGenerator:function(){return A},__asyncValues:function(){return x},__await:function(){return E},__awaiter:function(){return h},__classPrivateFieldGet:function(){return k},__classPrivateFieldIn:function(){return B},__classPrivateFieldSet:function(){return M},__createBinding:function(){return m},__decorate:function(){return u},__disposeResources:function(){return I},__esDecorate:function(){return c},__exportStar:function(){return g},__extends:function(){return i},__generator:function(){return v},__importDefault:function(){return P},__importStar:function(){return F}
vendor: 2,479 bytes, line 1
1,__makeTemplateObject:function(){return O},__metadata:function(){return p},__param:function(){return s},__propKey:function(){return f},__read:function(){return b},__rest:function(){return a},__runInitializers:function(){return l},__setFunctionName:function(){return d},__spread:function(){return w},__spreadArray:function(){return _},__spreadArrays:function(){return D},__values:function(){return y}});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 i(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 o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.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 i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function u(e,t,n,r){var i,o=arguments.length,a=o<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 u=e.length-1;u>=0;u--)(i=e[u])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function s(e,t){return function(n,r){t(n,r,e)}}function c(e,t,n,r,i,o){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var u,s=r.kind,c="getter"===s?"get":"setter"===s?"set":"value",l=!t&&e?r.static?e:e.prototype:null,f=t||(l?Object.getOwnPropertyDescriptor(l,r.name):{}),d=!1,p=n.length-1;p>=0;p--){var h={};for(var v in r)h[v]="access"===v?{}:r[v];for(var v in r.access)h.access[v]=r.access[v];h.addInitializer=function(e){if(d)throw new TypeError("Cannot add initializers after decoration has completed");o.push(a(e||null))};var m=(0,n[p])("accessor"===s?{get:f.get,set:f.set}:f[c],h);if("accessor"===s){if(void 0===m)continue;if(null===m||"object"!=typeof m)throw new TypeError("Object expected");
vendor: 4,940 bytes, line 1
1(u=a(m.get))&&(f.get=u),(u=a(m.set))&&(f.set=u),(u=a(m.init))&&i.unshift(u)}else(u=a(m))&&("field"===s?i.unshift(u):f[c]=u)}l&&Object.defineProperty(l,r.name,f),d=!0}function l(e,t,n){for(var r=arguments.length>2,i=0;i<t.length;i++)n=r?t[i].call(e,n):t[i].call(e);return r?n:void 0}function f(e){return"symbol"==typeof e?e:"".concat(e)}function d(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 p(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(i,o){function a(e){try{s(r.next(e))}catch(e){o(e)}}function u(e){try{s(r.throw(e))}catch(e){o(e)}}function s(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))}function v(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(u){return function(s){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,u[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&u[0]?r.return:u[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,u[1])).done)return i;switch(r=0,i&&(u=[2&u[0],i.value]),u[0]){case 0:case 1:i=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,r=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==u[0]&&2!==u[0])){a=0;continue}if(3===u[0]&&(!i||u[1]>i[0]&&u[1]<i[3])){a.label=u[1];break}if(6===u[0]&&a.label<i[1]){a.label=i[1],i=u;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(u);break}i[2]&&a.ops.pop(),a.trys.pop();continue}u=t.call(e,a)}catch(e){u=[6,e],r=0}finally{n=i=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,s])}}}var m=Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function g(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||m(t,e,n)}function y(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 b(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function w(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(b(arguments[t]));return e}function D(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,u=o.length;a<u;a++,i++)r[i]=o[a];return r}function _(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function E(e){return this instanceof E?(this.v=e,this):new E(e)}function A(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){i[e]&&(r[e]=function(t){return new Promise((function(n,r){o.push([e,t,n,r])>1||u(e,t)}))})}function u(e,t){try{(n=i[e](t)).value instanceof E?Promise.resolve(n.value.v).then(s,c):l(o[0][2],n)}catch(e){l(o[0][3],e)}var n}function s(e){u("next",e)}function c(e){u("throw",e)}function l(e,t){e(t),o.shift(),o.length&&u(o[0][0],o[0][1])}}function C(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,i){t[r]=e[r]?function(t){return(n=!n)?{value:E(e[r](t)),done:!1}:i?i(t):t}:i}}function x(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=y(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,i){!function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)}(r,i,(t=e[n](t)).done,t.value)}))}}}function O(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};
vendor: 2,325 bytes, line 1
1function F(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)&&m(t,e,n);return S(t,e),t}function P(e){return e&&e.__esModule?e:{default:e}}function k(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 M(e,t,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n}function B(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)}function j(e,t,n){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var r;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose]}if("function"!=typeof r)throw new TypeError("Object not disposable.");e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}var T="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=new Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function I(e){function t(t){e.error=e.hasError?new T(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}return function n(){for(;e.stack.length;){var r=e.stack.pop();try{var i=r.dispose&&r.dispose.call(r.value);if(r.async)return Promise.resolve(i).then(n,(function(e){return t(e),n()}))}catch(e){t(e)}}if(e.hasError)throw e.error}()}t.default={__extends:i,__assign:o,__rest:a,__decorate:u,__param:s,__metadata:p,__awaiter:h,__generator:v,__createBinding:m,__exportStar:g,__values:y,__read:b,__spread:w,__spreadArrays:D,__spreadArray:_,__await:E,__asyncGenerator:A,__asyncDelegator:C,__asyncValues:x,__makeTemplateOb
1ject:O,__importStar:F,__importDefault:P,__classPrivateFieldGet:k,__classPrivateFieldSet:M,__classPrivateFieldIn:B,__addDisposableResource:j,__disposeResources:I}}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return function(){var e=o;Object.defineProperty(e,"__esModule",{value:!0}),e.useReactToPrint=e.ReactToPrint=e.PrintContextConsumer=void 0;var t=n(328);Object.defineProperty(e,"PrintContextConsumer",{enumerable:!0,get:function(){return t.PrintContextConsumer}});var r=n(428);Object.defineProperty(e,"ReactToPrint",{enumerable:!0,get:function(){return r.ReactToPrint}});var i=n(892);Object.defineProperty(e,"useReactToPrint",{enumerable:!0,get:function(){return i.useReactToPrint}});var a=n(428);e.default=a.ReactToPrint}(),o}())},22453:(e,t,n)=>{"use strict";n.d(t,{T:()=>F});var r=n(36938),i=n(3395),o=n(15853),a=n(3586),u=n(84558),s=n(95272),c=n(95279),l=n(14066),f=n(65458),d=n(19244),p=n(1518),h=n(80126),v=n(72028),m=n(29348),g=n(24708),y=n(28960),b=n(50158);function w(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?w(Object(n),!0).forEach((function(t){_(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _(e,t,n){return(t=function(e){var t=function(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)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function E(){return 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)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},E.apply(null,arguments)}var A=(e,t,n,r,i,o,a)=>{var s,c,l,f,d=a.x1,p=a.x2,h=a.y1,v=a.y2;if(null==i||null==o)return null;var m=new b.z({x:i,y:o}),g={x:e?null!==(s=i.map(d,{position:"start"}))&&void 0!==s?s:null:i.rangeMin(),y:n?null!==(c=o.map(h,{position:"start"}))&&void 0!==c?c:null:o.rangeMin()},y={x:t?null!==(l=i.map(p,{position:"end"}))&&void 0!==l?l:null:i.rangeMax(),y:r?null!==(f=o.map(v,{position:"end"}))&&void 0!==f?f:null:o.rangeMax()};return"discard"!==a.ifOverflow||m.isInRange(g)&&m.isInRange(y)?(0,u.sl)(g,y):null},C=(e,t)=>r.isValidElement(e)?r.cloneElement(e,t):"function"===typeof e?e(t):r.createElement(c.M,E({},t,{className:"recharts-reference-area-rect"}));function x(e){var t=(0,f.j)();return(0,r.useEffect)((()=>(t((0,l.Xn)(e)),()=>{t((0,l.A$)(e))}))),null}function O(e){var t=e.x1,n=e.x2,u=e.y1,c=e.y2,l=e.className,m=e.shape,y=e.xAxisId,b=e.yAxisId,w=(0,h.Y)(),_=(0,p.r)(),x=(0,f.G)((e=>(0,d.iV)(e,"xAxis",y,_))),O=(0,f.G)((e=>(0,d.iV)(e,"yAxis",b,_)));if(null==x||null==O)return null;var S=(0,s.vh)(t),F=(0,s.vh)(n),P=(0,s.vh)(u),k=(0,s.vh)(c);if(!S&&!F&&!P&&!k&&!m)return null;var M=A(S,F,P,k,x,O,e);if(!M&&!m)return null;var B="hidden"===e.ifOverflow?"url(#".concat(w,")"):void 0;return r.createElement(g.g,{zIndex:e.zIndex},r.createElement(o.W,{className:(0,i.$)("recharts-reference-area",l)},C(m,D(D({clipPath:B},(0,v.a)(e)),M)),null!=M&&r.createElement(a.zJ,E({},M,{lowerWidth:M.width,upperWidth:M.width}),r.createElement(a._I,{label:e.label}),e.children)))}var S={ifOverflow:"discard",xAxisId:0,yAxisId:0,radius:0,fill:"#ccc",label:!1,fillOpacity:.5,stroke:"none",strokeWidth:1,zIndex:y.I.area};function F(e){var t=(0,m.e)(e,S);return r.createElement(r.Fragment,null,r.createElement(x,{yAxisId:t.yAxisId,xAxisId:t.xAxisId,ifOverflow:t.ifOverflow,x1:t.x1,x2:t.x2,y1:t.y1,y2:t.y2}),r.createElement(O,t))}F.displayName="ReferenceArea"},14181:(e,t,n)=>{"use strict";n.d(t,{r:()=>S});var r=n(36938),i=n(3395),o=n(15853),a=n(59053),u=n(3586),s=n(95272),c=n(14066),l=n(65458),f=n(19244),d=n(1518),p=n(80126),h=n(72028),v=n(29348),m=n(24708),g=n(28960),y=n(50158);function b(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 w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?b(Object(n),!0).forEach((function(t){D(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function D(e,t,n){return(t=function(e){var t=function(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)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _(){return _=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_.apply(null,arguments)}var E=(e,t,n,r,i)=>{var o=(0,s.vh)(e),a=(0,s.vh)(t),u=(0,d.r)(),c=(0,l.G)((e=>(0,f.iV)(e,"xAxis",n,u))),p=(0,l.G)((e=>(0,f.iV)(e,"yAxis",r,u)));if(!o||!a||null==c||null==p)return null;var h=new y.z({x:c,y:p}),v=h.map({x:e,y:t},{position:"middle"});return"discard"!==i||h.isInRange(v)?v:null};function A(e){var t=(0,l.j)();return(0,r.useEffect)((()=>(t((0,c.$6)(e)),()=>{t((0,c.sP)(e))}))),null}var C=(e,t)=>r.isValidElement(e)?r.cloneElement(e,t):"function"===typeof e?e(t):r.createElement(a.c,_({},t,{cx:t.cx,cy:t.cy,className:"recharts-reference-dot-dot"}));function x(e){var t=e.x,n=e.y,a=e.r,s=(0,p.Y)(),c=E(t,n,e.xAxisId,e.yAxisId,e.ifOverflow);if(!c)return null;var l=c.x,f=c.y,d=e.shape,v=e.className,g=w(w({clipPath:"hidden"===e.ifOverflow?"url(#".concat(s,")"):void 0},(0,h.a)(e)),{},{cx:null!==l&&void 0!==l?l:void 0,cy:null!==f&&void 0!==f?f:void 0});return r.createElement(m.g,{zIndex:e.zIndex},r.createElement(o.W,{className:(0,i.$)("recharts-reference-dot",v)},C(d,g),r.createElement(u.zJ,{x:l-a,y:f-a,width:2*a,height:2*a,upperWidth:2*a,lowerWidth:2*a},r.createElement(u._I,{label:e.label}),e.children)))}var O={ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,label:!1,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1,zIndex:g.I.scatter};function S(e){var t=(0,v.e)(e,O),n=t.x,i=t.y,o=t.r,a=t.ifOverflow,u=t.yAxisId,s=t.xAxisId;return r.createElement(r.Fragment,null,r.createElement(A,{y:i,x:n,r:o,yAxisId:u,xAxisId:s,ifOverflow:a}),r.createElement(x,t))}S.displayName="ReferenceDot"},84852:(e,t,n)=>{"use strict";n.d(t,{Xl:()=>le,Jt:()=>ie});var r=n(36938),i=n(3395),o=n(15853),a=n(83254),u=n(50525),s=n(90879),c=n(67242),l=n(95272),f=n(50252),d=n(11028),p=n(3335),h=n(42241),v=["option"];function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m.apply(null,arguments)}function g(e){return r.createElement(p.i,e)}function y(e){var t=e.option,n=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,v);return"string"===typeof t?r.createElement(h.y,{option:r.createElement(p.i,m({type:t},n)),DefaultShape:g,shapeProps:n}):r.createElement(h.y,{option:t,DefaultShape:g,shapeProps:n})}var b=n(54323),w=n(31122),D=n(39578),_=n(25730),E=n(38349),A=n(14333),C=n(19244),x=(0,E.Mz)([C.ld,(e,t,n,r,i)=>i],((e,t)=>e.filter((e=>"scatter"===e.type)).find((e=>e.id===t)))),O=(0,E.Mz)([(e,t,n,r,i,o,a)=>(0,A.k$)(e,void 0,void 0,a),(e,t,n,r,i,o,a)=>(0,C.Gx)(e,"xAxis",t,a),(e,t,n,r,i,o,a)=>(0,C.CR)(e,"xAxis",t,a),(e,t,n,r,i,o,a)=>(0,C.Gx)(e,"yAxis",n,a),(e,t,n,r,i,o,a)=>(0,C.CR)(e,"yAxis",n,a),(e,t,n,r)=>(0,C.Y)(e,"zAxis",r,!1),x,(e,t,n,r,i,o)=>o],((e,t,n,r,i,o,a,u)=>{var s,c=e.chartData,l=e.dataStartIndex,f=e.dataEndIndex;if(null!=a&&(null!=(s=null!=(null===a||void 0===a?void 0:a.data)&&a.data.length>0?a.data:null===c||void 0===c?void 0:c.slice(l,f+1))&&null!=t&&null!=r&&null!=n&&null!=i&&0!==(null===n||void 0===n?void 0:n.length)&&0!==(null===i||void 0===i?void 0:i.length)))return ie({displayedData:s,xAxis:t,yAxis:r,zAxis:o,scatterSettings:a,xAxisTicks:n,yAxisTicks:i,cells:u})})),S=n(65458),F=n(1518),P=n(43880),k=n(33261),M=n(94436),B=n(29348),j=n(46894),T=n(99790),I=n(71440),R=n(30847),N=n(85802),L=n(20761),z=n(24708),W=n(28960),U=n(36325),H=["id"],V=["onMouseEnter","onClick","onMouseLeave"],$=["animationBegin","animationDuration","animationEasing","hide","isAnimationActive","legendType","lineJointType","lineType","shape","xAxisId","yAxisId","zAxisId"];function K(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Y(){return Y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Y.apply(null,arguments)}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 X(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?q(Object(n),!0).forEach((function(t){G(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 G(e,t,n){return(t=function(e){var t=function(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)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var J=e=>{var t=e.dataKey,n=e.name,r=e.fill,i=e.legendType;return[{inactive:e.hide,dataKey:t,type:i,color:r,value:(0,f.uM)(n,t),payload:e}]},Z=r.memo((e=>{var t=e.dataKey,n=e.points,i=e.stroke,o=e.strokeWidth,a=e.fill,u=e.name,s=e.hide,c=e.formatter,l=e.tooltipType,d=e.id,p={dataDefinedOnItem:null===n||void 0===n?void 0:n.map((e=>e.tooltipPayload)),getPosition:e=>{var t;return null===n||void 0===n||null===(t=n[Number(e)])||void 0===t?void 0:t.tooltipPosition},settings:{stroke:i,strokeWidth:o,fill:a,nameKey:void 0,dataKey:t,name:(0,f.uM)(u,t),hide:s,type:l,color:a,unit:"",formatter:c,graphicalItemId:d}};return r.createElement(w.r,{tooltipEntrySettings:p})}));function Q(e){var t=e.points,n=e.props,i=n.line,a=n.lineType,u=n.lineJointType;if(!i)return null;var c,f,d=(0,I.uZ)(n),p=(0,I.ic)(i);if("joint"===a)c=t.map((e=>{var t,n;return{x:null!==(t=e.cx)&&void 0!==t?t:null,y:null!==(n=e.cy)&&void 0!==n?n:null}}));else if("fitting"===a){var h=(0,l.jG)(t),v=h.xmin,m=h.xmax,g=h.a,y=h.b,b=e=>g*e+y;c=[{x:v,y:b(v)},{x:m,y:b(m)}]}var w=X(X(X({},d),{},{fill:"none",stroke:d&&d.fill},p),{},{points:c});return f=r.isValidElement(i)?r.cloneElement(i,w):"function"===typeof i?i(w):r.createElement(s.Ip,Y({},w,{type:u})),r.createElement(o.W,{className:"recharts-scatter-line",key:"recharts-scatter-line"},f)}function ee(e){var t=e.showLabels,n=e.points,i=e.children,o=(0,R.sk)(),u=(0,r.useMemo)((()=>null===n||void 0===n?void 0:n.map((e=>{var t,n,r={x:null!==(t=e.x)&&void 0!==t?t:0,y:null!==(n=e.y)&&void 0!==n?n:0,width:e.width,height:e.height,lowerWidth:e.width,upperWidth:e.width};return X(X({},r),{},{value:void 0,payload:e.payload,viewBox:r,parentViewBox:o,fill:void 0})}))),[o,n]);return r.createElement(a.h8,{value:t?u:void 0},i)}function te(e){var t,n=e.entry,i=e.index,a=e.shape,u=e.activeShape,s=e.baseProps,c=e.id,l=e.restOfAllOtherProps,f=e.animationElapsedTime,p=e.isAnimating,h=e.isEntrance,v=e.onMouseEnterFromContext,m=e.onMouseLeaveFromContext,g=e.onClickFromContext,b=null!=u&&!1!==u,w=(0,r.useMemo)((()=>{var e=String(i);return t=>b&&(0,P.A2)(t)===e}),[b,i]),D=null!==(t=(0,S.G)(w))&&void 0!==t&&t,_=D&&null!=u&&!1!==u?u:a,E=X(X(X({},s),n),{},{isActive:D,index:i,animationElapsedTime:f,isAnimating:p,isEntrance:h,[M.yU]:String(c)});return r.createElement(z.g,{zIndex:D?W.I.activeDot:void 0},r.createElement(o.W,Y({className:"recharts-scatter-symbol"},(0,d.XC)(l,n,i),{onMouseEnter:v(n,i),onMouseLeave:m(n,i),onClick:g(n,i)}),r.createElement(y,Y({option:_},E))))}function ne(e){var t=e.points,n=e.allOtherScatterProps,i=e.animationElapsedTime,o=e.isAnimating,a=e.isEntrance,u=n.shape,s=n.activeShape,c=n.dataKey,l=n.id,f=K(n,H),p=n.onMouseEnter,h=n.onClick,v=n.onMouseLeave,m=K(n,V),g=(0,b.Cj)(p,c,l),y=(0,b.Pg)(v),w=(0,b.Ub)(h,c,l);if(!(0,d.EI)(t))return null;var D=(0,I.uZ)(f);return r.createElement(r.Fragment,null,r.createElement(Q,{points:t,props:f}),t.map(((e,t)=>r.createElement(te,{key:"symbol-".concat(null===e||void 0===e?void 0:e.cx,"-").concat(null===e||void 0===e?void 0:e.cy,"-").concat(null===e||void 0===e?void 0:e.size,"-").concat(t),entry:e,index:t,shape:u,activeShape:s,baseProps:D,id:l,restOfAllOtherProps:m,animationElapsedTime:i,isAnimating:o,isEntrance:a,onMouseEnterFromContext:g,onMouseLeaveFromContext:y,onClickFromContext:w}))))}function re(e){var t=e.previousPointsRef,n=e.props,i=n.points,u=n.isAnimationActive,s=n.animationBegin,c=n.animationDuration,l=n.animationEasing,f=n.animationInterpolateFn,d=(0,N.I)(),p=d.isAnimating,h=d.handleAnimationStart,v=d.handleAnimationEnd,m=(0,R.kz)();return null==m?null:r.createElement(ee,{showLabels:!p,points:i},r.createElement(N.U,{animationInput:n,animationIdPrefix:"recharts-scatter-",items:i,previousItemsRef:t,isAnimationActive:u,animationBegin:s,animationDuration:c,animationEasing:l,onAnimationStart:h,onAnimationEnd:v,animationInterpolateFn:f,animationMatchBy:n.animationMatchBy,layout:m},((e,t,i)=>r.createElement(o.W,null,r.createElement(ne,{points:e,allOtherScatterProps:n,showLabels:!p,animationElapsedTime:t,isAnimating:p||t<1,isEntrance:i})))),n.children,r.createElement(a.qY,{label:n.label}))}
1function ie(e){var t=e.displayedData,n=e.xAxis,r=e.yAxis,i=e.zAxis,o=e.scatterSettings,a=e.xAxisTicks,u=e.yAxisTicks,s=e.cells,c=(0,l.uy)(n.dataKey)?o.dataKey:n.dataKey,d=(0,l.uy)(r.dataKey)?o.dataKey:r.dataKey,p=i&&i.dataKey,h=i?i.range:C.N8.range,v=h&&h[0],m=n.scale.bandwidth?n.scale.bandwidth():0,g=r.scale.bandwidth?r.scale.bandwidth():0;return t.map(((e,t)=>{var h=(0,f.kr)(e,c),y=(0,f.kr)(e,d),b=!(0,l.uy)(p)&&(0,f.kr)(e,p)||"-",w=[{name:(0,l.uy)(n.dataKey)?o.name:n.name||String(n.dataKey),unit:n.unit||"",value:h,payload:e,dataKey:c,type:o.tooltipType,graphicalItemId:o.id},{name:(0,l.uy)(r.dataKey)?o.name:r.name||String(r.dataKey),unit:r.unit||"",value:y,payload:e,dataKey:d,type:o.tooltipType,graphicalItemId:o.id}];"-"!==b&&null!=i&&w.push({name:i.name||i.dataKey,unit:i.unit||"",value:b,payload:e,dataKey:p,type:o.tooltipType,graphicalItemId:o.id});var D=(0,f.nb)({axis:n,ticks:a,bandSize:m,entry:e,index:t,dataKey:c}),_=(0,f.nb)({axis:r,ticks:u,bandSize:g,entry:e,index:t,dataKey:d}),E="-"!==b&&null!=i?i.scale.map(b):v,A=null==E?0:Math.sqrt(Math.max(E,0)/Math.PI);return X(X({},e),{},{cx:D,cy:_,x:null==D?void 0:D-A,y:null==_?void 0:_-A,width:2*A,height:2*A,size:E,node:{x:h,y:y,z:b},tooltipPayload:w,tooltipPosition:{x:D,y:_},payload:e},s&&s[t]&&s[t].props)}))}var oe=(e,t,n)=>({x:e.cx,y:e.cy,value:Number("x"===n?e.node.x:e.node.y),errorVal:(0,f.kr)(e,t)});function ae(e){var t=e.hide,n=e.points,a=e.className,u=e.needClip,s=e.xAxisId,c=e.yAxisId,l=e.id,f=(0,r.useRef)(null);if(t)return null;var d=(0,i.$)("recharts-scatter",a),p=l;return r.createElement(z.g,{zIndex:e.zIndex},r.createElement(o.W,{className:d,clipPath:u?"url(#clipPath-".concat(p,")"):void 0,id:l},u&&r.createElement("defs",null,r.createElement(_.Q,{clipPathId:p,xAxisId:s,yAxisId:c})),r.createElement(D.zk,{xAxisId:s,yAxisId:c,data:n,dataPointFormatter:oe,errorBarOffset:0},r.createElement(o.W,{key:"recharts-scatter-symbols"},r.createElement(re,{props:e,previousPointsRef:f})))))}var ue={xAxisId:0,yAxisId:0,zAxisId:0,label:!1,line:!1,legendType:"circle",lineType:"joint",lineJointType:"linear",shape:"circle",hide:!1,isAnimationActive:"auto",animationBegin:0,animationDuration:400,animationEasing:"linear",animationMatchBy:L.Um,animationInterpolateFn:(e,t)=>null==e?[]:1===t?e.flatMap((e=>"removed"===e.status?[]:[e.next])):e.flatMap((e=>"removed"===e.status?[]:"matched"===e.status?[X(X({},e.next),{},{cx:null==e.next.cx?void 0:(0,l.GW)(e.prev.cx,e.next.cx,t),cy:null==e.next.cy?void 0:(0,l.GW)(e.prev.cy,e.next.cy,t),size:(0,l.GW)(e.prev.size,e.next.size,t)})]:[X(X({},e.next),{},{size:(0,l.GW)(0,e.next.size,t)})])),zIndex:W.I.scatter};function se(e){var t=(0,B.e)(e,ue),n=t.animationBegin,i=t.animationDuration,o=t.animationEasing,a=t.hide,s=t.isAnimationActive,l=t.legendType,f=t.lineJointType,d=t.lineType,p=t.shape,h=t.xAxisId,v=t.yAxisId,m=t.zAxisId,g=K(t,$),y=(0,_.l)(h,v).needClip,b=(0,r.useMemo)((()=>(0,u.aS)(e.children,c.f)),[e.children]),w=(0,F.r)(),D=(0,S.G)((t=>O(t,h,v,m,e.id,b,w)));return null==y||null==D?null:r.createElement(r.Fragment,null,r.createElement(Z,{dataKey:e.dataKey,points:D,stroke:e.stroke,strokeWidth:e.strokeWidth,fill:e.fill,name:e.name,hide:e.hide,formatter:e.formatter,tooltipType:e.tooltipType,id:e.id}),r.createElement(ae,Y({},g,{xAxisId:h,yAxisId:v,zAxisId:m,lineType:d,lineJointType:f,legendType:l,shape:p,hide:a,isAnimationActive:s,animationBegin:n,animationDuration:i,animationEasing:o,points:D,needClip:y})))}function ce(e){var t=(0,B.e)(e,ue),n=(0,F.r)();return r.createElement(j.x,{id:t.id,type:"scatter"},(e=>r.createElement(r.Fragment,null,r.createElement(k.A,{legendPayload:J(t)}),r.createElement(T.p,{type:"scatter",id:e,data:t.data,xAxisId:t.xAxisId,yAxisId:t.yAxisId,zAxisId:t.zAxisId,dataKey:t.dataKey,hide:t.hide,name:t.name,tooltipType:t.tooltipType,isPanorama:n}),r.createElement(se,Y({},t,{id:e})))))}var le=r.memo(ce,U.P);le.displayName="Scatter"},11669:(e,t,n)=>{"use strict";n.d(t,{t:()=>u});var r=n(36938),i=n(55800),o=n(58914),a=["item"],u=(0,r.forwardRef)(((e,t)=>r.createElement(o.P,{chartName:"ScatterChart",defaultTooltipEventType:"item",validateTooltipEventTypes:a,tooltipPayloadSearcher:i.uN,categoricalChartProps:e,ref:t})))},92508:(e,t,n)=>{"use strict";n.d(t,{Y:()=>u});var r=n(36938),i=n(15853),o=n(34402),a=["component"];function u(e){var t,n=e.component,u=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,a);return(0,r.isValidElement)(n)?t=(0,r.cloneElement)(n,u):"function"===typeof n?t=(0,r.createElement)(n,u):(0,o.R)(!1,"Customized's props `component` must be React.element or Function, but got %s.",typeof n),r.createElement(i.W,{className:"recharts-customized-wrapper"},t)}u.displayName="Customized"},45929:e=>{e.exports=function(e,t){(t=t||{}).listUnicodeChar=!!t.hasOwnProperty("listUnicodeChar")&&t.listUnicodeChar,t.stripListLeaders=!t.hasOwnProperty("str
1ipListLeaders")||t.stripListLeaders,t.gfm=!t.hasOwnProperty("gfm")||t.gfm,t.useImgAltText=!t.hasOwnProperty("useImgAltText")||t.useImgAltText;var n=e||"";n=n.replace(/^(-\s*?|\*\s*?|_\s*?){3,}\s*$/gm,"");try{t.stripListLeaders&&(n=t.listUnicodeChar?n.replace(/^([\s\t]*)([\*\-\+]|\d+\.)\s+/gm,t.listUnicodeChar+" $1"):n.replace(/^([\s\t]*)([\*\-\+]|\d+\.)\s+/gm,"$1")),t.gfm&&(n=n.replace(/\n={2,}/g,"\n").replace(/~{3}.*\n/g,"").replace(/~~/g,"").replace(/`{3}.*\n/g,"")),n=n.replace(/<[^>]*>/g,"").replace(/^[=\-]{2,}\s*$/g,"").replace(/\[\^.+?\](\: .*?$)?/g,"").replace(/\s{0,2}\[.*?\]: .*?$/g,"").replace(/\!\[(.*?)\][\[\(].*?[\]\)]/g,t.useImgAltText?"$1":"").replace(/\[(.*?)\][\[\(].*?[\]\)]/g,"$1").replace(/^\s{0,3}>\s?/g,"").replace(/^\s{1,2}\[(.*?)\]: (\S+)( ".*?")?\s*$/g,"").replace(/^(\n)?\s{0,}#{1,6}\s+| {0,}(\n)?\s{0,}#{0,} {0,}(\n)?\s{0,}$/gm,"$1$2$3").replace(/([\*_]{1,3})(\S.*?\S{0,1})\1/g,"$2").replace(/([\*_]{1,3})(\S.*?\S{0,1})\1/g,"$2").replace(/(`{3,})(.*?)\1/gm,"$2").replace(/`(.+?)`/g,"$1").replace(/\n{2,}/g,"\n\n")}catch(r){return console.error(r),e}return n}},74505:e=>{e.exports=function(e,t){(t=t||{}).listUnicodeChar=!!t.hasOwnProperty("listUnicodeChar")&&t.listUnicodeChar,t.stripListLeaders=!t.hasOwnProperty("stripListLeaders")||t.stripListLeaders,t.gfm=!t.hasOwnProperty("gfm")||t.gfm,t.useImgAltText=!t.hasOwnProperty("useImgAltText")||t.useImgAltText,t.abbr=!!t.hasOwnProperty("abbr")&&t.abbr,t.replaceLinksWithURL=!!t.hasOwnProperty("replaceLinksWithURL")&&t.replaceLinksWithURL,t.htmlTagsToSkip=t.hasOwnProperty("htmlTagsToSkip")?t.htmlTagsToSkip:[],t.throwError=!!t.hasOwnProperty("throwError")&&t.throwError;var n=e||"";n=n.replace(/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/gm,"");try{t.stripListLeaders&&(n=t.listUnicodeChar?n.replace(/^([\s\t]*)([\*\-\+]|\d+\.)\s+/gm,t.listUnicodeChar+" $1"):n.replace(/^([\s\t]*)([\*\-\+]|\d+\.)\s+/gm,"$1")),t.gfm&&(n=n.replace(/\n={2,}/g,"\n").replace(/~{3}.*\n/g,"").replace(/~~/g,"").replace(/```(?:.*)\n([\s\S]*?)```/g,((e,t)=>t.trim()))),t.abbr&&(n=n.replace(/\*\[.*\]:.*\n/,""));let e=/<[^>]*>/g;if(t.htmlTagsToSkip&&t.htmlTagsToSkip.length>0){const n=t.htmlTagsToSkip.join("|");e=new RegExp("<(?!/?(".concat(n,")(?=>|s[^>]*>))[^>]*>"),"g")}n=n.replace(e,"").replace(/^[=\-]{2,}\s*$/g,"").replace(/\[\^.+?\](\: .*?$)?/g,"").replace(/\s{0,2}\[.*?\]: .*?$/g,"").replace(/\!\[(.*?)\][\[\(].*?[\]\)]/g,t.useImgAltText?"$1":"").replace(/\[([\s\S]*?)\]\s*[\(\[].*?[\)\]]/g,t.replaceLinksWithURL?"$2":"$1").replace(/^(\n)?\s{0,3}>\s?/gm,"$1").replace(/^\s{1,2}\[(.*?)\]: (\S+)( ".*?")?\s*$/g,"").replace(/^(\n)?\s{0,}#{1,6}\s*( (.+))? +#+$|^(\n)?\s{0,}#{1,6}\s*( (.+))?$/gm,"$1$3$4$6").replace(/([\*]+)(\S)(.*?\S)??\1/g,"$2$3").replace(/(^|\W)([_]+)(\S)(.*?\S)??\2($|\W)/g,"$1$3$4$5").replace(/(`{3,})(.*?)\1/gm,"$2").replace(/`(.+?)`/g,"$1").replace(/~(.*?)~/g,"$1")}catch(r){if(t.throwError)throw r;return console.error("remove-markdown encountered error: %s",r),e}return n}},27634:e=>{"use strict";function t(e,t,n,r){switch(e){case 0:return t&n^~t&r;case 1:case 3:return t^n^r;case 2:return t&n^t&r^n&r}}function n(e,t){return e<<t|e>>>32-t}e.exports=function(e){var r=[1518500249,1859775393,2400959708,3395469782],i=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){var o=unescape(encodeURIComponent(e));e=new Array(o.length);for(var a=0;a<o.length;a++)e[a]=o.charCodeAt(a)}e.push(128);var u=e.length/4+2,s=Math.ceil(u/16),c=new Array(s);for(a=0;a<s;a++){c[a]=new Array(16);for(var l=0;l<16;l++)c[a][l]=e[64*a+4*l]<<24|e[64*a+4*l+1]<<16|e[64*a+4*l+2]<<8|e[64*a+4*l+3]}for(c[s-1][14]=8*(e.length-1)/Math.pow(2,32),c[s-1][14]=Math.floor(c[s-1][14]),c[s-1][15]=8*(e.length-1)&4294967295,a=0;a<s;a++){for(var f=new Array(80),d=0;d<16;d++)f[d]=c[a][d];for(d=16;d<80;d++)f[d]=n(f[d-3]^f[d-8]^f[d-14]^f[d-16],1);var p=i[0],h=i[1],v=i[2],m=i[3],g=i[4];for(d=0;d<80;d++){var y=Math.floor(d/20),b=n(p,5)+t(y,h,v,m)+g+r[y]+f[d]>>>0;g=m,m=v,v=n(h,30)>>>0,h=p,p=b}i[0]=i[0]+p>>>0,i[1]=i[1]+h>>>0,i[2]=i[2]+v>>>0,i[3]=i[3]+m>>>0,i[4]=i[4]+g>>>0}return[i[0]>>24&255,i[0]>>16&255,i[0]>>8&255,255&i[0],i[1]>>24&255,i[1]>>16&255,i[1]>>8&255,255&i[1],i[2]>>24&255,i[2]>>16&255,i[2]>>8&255,255&i[2],i[3]>>24&255,i[3]>>16&255,i[3]>>8&255,255&i[3],i[4]>>24&255,i[4]>>16&255,i[4]>>8&255,255&i[4]]}},12426:(e,t,n)=>{var r=n(14165);e.exports=function(e,t,n){var i=function(e,i,o,a){var u=o&&a||0;if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));for(var t=new Array(e.length),n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}(e)),"string"==typeof i&&(i=function(e){var t=[];return e.replace(/[a-fA-F0-9]{2}/g,(function(e){t.push(parseInt(e,16))})),t}(i)),!Array.isArray(e))throw TypeError("value must be an array of bytes");if(!Array.isArray(i)||16!==i.length)throw TypeError("namespace must be uuid string or an Array of 16 byte values");var s=n(i.concat(e));if(s[6]=15&s[6]|t,s[8]=63&s[8]|128,o)for(var c=0;c<16;++c)o[u+c]=s[c];return o||r(s)};try{i.name=e}catch(o){}return i.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",i.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",i}},88151:(e,t,n)=>{var r=n(12426),i=n(27634);e.exports=r("v5",80,i)},41930:e=>{"use strict";var t=function(){};e.exports=t}
1,52488:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>W});var r=n(36938);const i=(e,t,n)=>{const r=document.createElement(e),[i,o]=Array.isArray(t)?[void 0,t]:[t,n];return i&&Object.assign(r,i),null==o||o.forEach((e=>r.appendChild(e))),r};String.raw;const o=String.raw,a=(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0})(),u=typeof CSS<"u"&&CSS.supports&&CSS.supports("line-height","mod(1,1)"),s=typeof matchMedia<"u"?matchMedia("(prefers-reduced-motion: reduce)"):null,c="--_number-flow-d-opacity",l="--_number-flow-d-width",f="--_number-flow-dx",d="--_number-flow-d",p=(()=>{try{return CSS.registerProperty({name:c,syntax:"<number>",inherits:!1,initialValue:"0"}),CSS.registerProperty({name:f,syntax:"<length>",inherits:!0,initialValue:"0px"}),CSS.registerProperty({name:l,syntax:"<number>",inherits:!1,initialValue:"0"}),CSS.registerProperty({name:d,syntax:"<number>",inherits:!0,initialValue:"0"}),!0}catch{return!1}})(),h="var(--number-flow-char-height, 1em)",v="var(--number-flow-mask-height, 0.25em)",m=`calc(${v} / 2)`,g="var(--number-flow-mask-width, 0.5em)",y=`calc(${g} / var(--scale-x))`,b="#000 0, transparent 71%",w=o`:host{display:inline-block;direction:ltr;white-space:nowrap;isolation:isolate;line-height:${h} !important}.number,.number__inner{display:inline-block;transform-origin:left top}:host([data-will-change]) :is(.number,.number__inner,.section,.digit,.digit__num,.symbol){will-change:transform}.number{--scale-x:calc(1 + var(${l}) / var(--width));transform:translateX(var(${f})) scaleX(var(--scale-x));margin:0 calc(-1 * ${g});position:relative;-webkit-mask-image:linear-gradient(to right,transparent 0,#000 ${y},#000 calc(100% - ${y}),transparent ),linear-gradient(to bottom,transparent 0,#000 ${v},#000 calc(100% - ${v}),transparent 100% ),radial-gradient(at bottom right,${b}),radial-gradient(at bottom left,${b}),radial-gradient(at top left,${b}),radial-gradient(at top right,${b});-webkit-mask-size:100% calc(100% - ${v} * 2),calc(100% - ${y} * 2) 100%,${y} ${v},${y} ${v},${y} ${v},${y} ${v};-webkit-mask-position:center,center,top left,top right,bottom right,bottom left;-webkit-mask-repeat:no-repeat}.number__inner{padding:${m} ${g};transform:scaleX(calc(1 / var(--scale-x))) translateX(calc(-1 * var(${f})))}:host > :not(.number){z-index:5}.section,.symbol{display:inline-block;position:relative;isolation:isolate}.section::after{content:'\200b';display:inline-block}.section--justify-left{transform-origin:center left}.section--justify-right{transform-origin:center right}.section > [inert],.symbol > [inert]{margin:0 !important;position:absolute !important;z-index:-1}.digit{display:inline-block;position:relative;--c:var(--current) + var(${d})}.digit__num,.number .section::after{padding:${m} 0}.digit__num{display:inline-block;--offset-raw:mod(var(--length) + var(--n) - mod(var(--c),var(--length)),var(--length));--offset:calc( var(--offset-raw) - var(--length) * round(down,var(--offset-raw) / (var(--length) / 2),1) );--y:clamp(-100%,var(--offset) * 100%,100%);transform:translateY(var(--y))}.digit__num[inert]{position:absolute;top:0;left:50%;transform:translateX(-50%) translateY(var(--y))}.digit:not(.is-spinning) .digit__num[inert]{display:none}.symbol__value{display:inline-block;mix-blend-mode:plus-lighter;white-space:pre}.section--justify-left .symbol > [inert]{left:0}.section--justify-right .symbol > [inert]{right:0}.animate-presence{opacity:calc(1 + var(${c}))}`,D=HTMLElement,_=(o`:host{display:inline-block;direction:ltr;white-space:nowrap;line-height:${h} !important}span{display:inline-block}:host([data-will-change]) span{will-change:transform}.number,.digit{padding:${m} 0}.symbol{white-space:pre}`,u&&a&&p);let E;class A extends D{constructor(){super(),this.created=!1,this.batched=!1;const{animated:e,...t}=this.constructor.defaultProps;this._animated=this.computedAnimated=e,Object.assign(this,t)}get animated(){return this._animated}set animated(e){var t;this.animated!==e&&(this._animated=e,null==(t=this.shadowRoot)||t.getAnimations().forEach((e=>e.finish())))}set data(e){var t;if(null==e)return;const{pre:n,integer:r,fraction:i,post:o,value:a}=e;if(this.created){const c=this._data;this._data=e,this.computedTrend="function"==typeof this.trend?this.trend(c.value,a):this.trend,this.computedAnimated=_&&this._animated&&(!this.respectMotionPreference||!(null!=s&&s.matches))&&((u=this).offsetWidth>0&&u.offsetHeight>0),null==(t=this.plugins)||t.forEach((t=>{var n;return null==(n=t.onUpdate)?void 0:n.call(t,e,c,this)})),this.batched||this.willUpdate(),this._pre.update(n),this._num.update({integer:r,fraction:i}),this._post.update(o),this.batched||this.didUpdate()}else{this._data=e,this.attachShadow({mode:"open"});try{this._internals??(this._internals=this.attachInternals()),this._internals.role="img"}catch{}if(typeof CSSStyleSheet<"u"&&this.shadowRoot.adoptedStyleSheets)E||(E=new CSSStyleSheet,E.replaceSync(w)),this.shadowRoot.adoptedStyleSheets=[E];else{const e=document.createElement("style");e.textContent=w,this.shadowRoot.appendChild(e)}this._pre=new S(this,n,{justify:"right",part:"left"}),this.shadowRoot.appendChild(this._pre.el),this._num=new C(this,r,i),this.shadowRoot.appendChild(this._num.el),this._post=new S(this,o,{justify:"left",part:"right"}),this.shadowRoot.appendChild(this._post.el),this.created=!0}var u;try{this._internals.ariaLabel=e.valueAsString}catch{}}willUpdate(){this._pre.willUpdate(),this._num.willUpdate(),this._post.
1willUpdate()}didUpdate(){if(!this.computedAnimated)return;this._abortAnimationsFinish?this._abortAnimationsFinish.abort():this.dispatchEvent(new Event("animationsstart")),this._pre.didUpdate(),this._num.didUpdate(),this._post.didUpdate();const e=new AbortController;Promise.all(this.shadowRoot.getAnimations().map((e=>e.finished))).then((()=>{e.signal.aborted||(this.dispatchEvent(new Event("animationsfinish")),this._abortAnimationsFinish=void 0)})),this._abortAnimationsFinish=e}}A.defaultProps={transformTiming:{duration:900,easing:"linear(0,.005,.019,.039,.066,.096,.129,.165,.202,.24,.278,.316,.354,.39,.426,.461,.494,.526,.557,.586,.614,.64,.665,.689,.711,.731,.751,.769,.786,.802,.817,.831,.844,.856,.867,.877,.887,.896,.904,.912,.919,.925,.931,.937,.942,.947,.951,.955,.959,.962,.965,.968,.971,.973,.976,.978,.98,.981,.983,.984,.986,.987,.988,.989,.99,.991,.992,.992,.993,.994,.994,.995,.995,.996,.996,.9963,.9967,.9969,.9972,.9975,.9977,.9979,.9981,.9982,.9984,.9985,.9987,.9988,.9989,1)"},spinTiming:void 0,opacityTiming:{duration:450,easing:"ease-out"},animated:!0,trend:(e,t)=>Math.sign(t-e),respectMotionPreference:!0,plugins:void 0,digits:void 0};class C{constructor(e,t,n,{className:r,...o}={}){this.flow=e,this._integer=new O(e,t,{justify:"right",part:"integer"}),this._fraction=new O(e,n,{justify:"left",part:"fraction"}),this._inner=i("span",{className:"number__inner"},[this._integer.el,this._fraction.el]),this.el=i("span",{...o,part:"number",className:`number ${r??""}`},[this._inner])}willUpdate(){this._prevWidth=this.el.offsetWidth,this._prevLeft=this.el.getBoundingClientRect().left,this._integer.willUpdate(),this._fraction.willUpdate()}update({integer:e,fraction:t}){this._integer.update(e),this._fraction.update(t)}didUpdate(){const e=this.el.getBoundingClientRect();this._integer.didUpdate(),this._fraction.didUpdate();const t=this._prevLeft-e.left,n=this.el.offsetWidth,r=this._prevWidth-n;this.el.style.setProperty("--width",String(n)),this.el.animate({[f]:[`${t}px`,"0px"],[l]:[r,0]},{...this.flow.transformTiming,composite:"accumulate"})}}class x{constructor(e,t,{justify:n,className:r,...o},a){this.flow=e,this.children=new Map,this.onCharRemove=e=>()=>{this.children.delete(e)},this.justify=n;const u=t.map((e=>this.addChar(e).el));this.el=i("span",{...o,className:`section section--justify-${n} ${r??""}`},a?a(u):u)}addChar(e,{startDigitsAtZero:t=!1,...n}={}){const r="integer"===e.type||"fraction"===e.type?new k(this,e.type,t?0:e.value,e.pos,{...n,onRemove:this.onCharRemove(e.key)}):new M(this,e.type,e.value,{...n,onRemove:this.onCharRemove(e.key)});return this.children.set(e.key,r),r}unpop(e){e.el.removeAttribute("inert"),e.el.style.top="",e.el.style[this.justify]=""}pop(e){e.forEach((e=>{e.el.style.top=`${e.el.offsetTop}px`,e.el.style[this.justify]=`${((e,t)=>{var n;return"left"===t?e.offsetLeft:((null==(n=e.offsetParent instanceof HTMLElement?e.offsetParent:null)?void 0:n.offsetWidth)??0)-e.offsetWidth-e.offsetLeft})(e.el,this.justify)}px`})),e.forEach((e=>{e.el.setAttribute("inert",""),e.present=!1}))}addNewAndUpdateExisting(e){const t=new Map,n=new Map,r="left"===this.justify,i=r?"prepend":"append";if(function(e,t,{reverse:n=!1}={}){const r=e.length;for(let i=n?r-1:0;n?i>=0:i<r;n?i--:i++)t(e[i],i)}(e,(e=>{let r;this.children.has(e.key)?(r=this.children.get(e.key),n.set(e,r),this.unpop(r),r.present=!0):(r=this.addChar(e,{startDigitsAtZero:!0,animateIn:!0}),t.set(e,r)),this.el[i](r.el)}),{reverse:r}),this.flow.computedAnimated){const e=this.el.getBoundingClientRect();t.forEach((t=>{t.willUpdate(e)}))}t.forEach(((e,t)=>{e.update(t.value)})),n.forEach(((e,t)=>{e.update(t.value)}))}willUpdate(){const e=this.el.getBoundingClientRect();this._prevOffset=e[this.justify],this.children.forEach((t=>t.willUpdate(e)))}didUpdate(){const e=this.el.getBoundingClientRect();this.children.forEach((t=>t.didUpdate(e)));const t=e[this.justify],n=this._prevOffset-t;n&&this.children.size&&this.el.animate({transform:[`translateX(${n}px)`,"none"]},{...this.flow.transformTiming,composite:"accumulate"})}}class O extends x{update(e){const t=new Map;
1this.children.forEach(((n,r)=>{e.find((e=>e.key===r))||t.set(r,n),this.unpop(n)})),this.addNewAndUpdateExisting(e),t.forEach((e=>{e instanceof k&&e.update(0)})),this.pop(t)}}class S extends x{update(e){const t=new Map;this.children.forEach(((n,r)=>{e.find((e=>e.key===r))||t.set(r,n)})),this.pop(t),this.addNewAndUpdateExisting(e)}}class F{constructor(e,t,{onRemove:n,animateIn:r=!1}={}){this.flow=e,this.el=t,this._present=!0,this._remove=()=>{var e;this.el.remove(),null==(e=this._onRemove)||e.call(this)},this.el.classList.add("animate-presence"),this.flow.computedAnimated&&r&&this.el.animate({[c]:[-.9999,0]},{...this.flow.opacityTiming,composite:"accumulate"}),this._onRemove=n}get present(){return this._present}set present(e){if(this._present!==e){if(this._present=e,e?this.el.removeAttribute("inert"):this.el.setAttribute("inert",""),!this.flow.computedAnimated)return void(e||this._remove());this.el.style.setProperty("--_number-flow-d-opacity",e?"0":"-.999"),this.el.animate({[c]:e?[-.9999,0]:[.999,0]},{...this.flow.opacityTiming,composite:"accumulate"}),e?this.flow.removeEventListener("animationsfinish",this._remove):this.flow.addEventListener("animationsfinish",this._remove,{once:!0})}}}class P extends F{constructor(e,t,n,r){super(e.flow,n,r),this.section=e,this.value=t,this.el=n}}class k extends P{constructor(e,t,n,r,o){var a,u;const s=((null==(u=null==(a=e.flow.digits)?void 0:a[r])?void 0:u.max)??9)+1,c=Array.from({length:s}).map(((e,t)=>{const r=i("span",{className:"digit__num"},[document.createTextNode(String(t))]);return t!==n&&r.setAttribute("inert",""),r.style.setProperty("--n",String(t)),r})),l=i("span",{part:`digit ${t}-digit`,className:"digit"},c);l.style.setProperty("--current",String(n)),l.style.setProperty("--length",String(s)),super(e,n,l,o),this.pos=r,this._onAnimationsFinish=()=>{this.el.classList.remove("is-spinning")},this._numbers=c,this.length=s}willUpdate(e){const t=this.el.getBoundingClientRect();this._prevValue=this.value;const n=t[this.section.justify]-e[this.section.justify],r=t.width/2;this._prevCenter="left"===this.section.justify?n+r:n-r}update(e){this.el.style.setProperty("--current",String(e)),this._numbers.forEach(((t,n)=>n===e?t.removeAttribute("inert"):t.setAttribute("inert",""))),this.value=e}didUpdate(e){const t=this.el.getBoundingClientRect(),n=t[this.section.justify]-e[this.section.justify],r=t.width/2,i="left"===this.section.justify?n+r:n-r,o=this._prevCenter-i;o&&this.el.animate({transform:[`translateX(${o}px)`,"none"]},{...this.flow.transformTiming,composite:"accumulate"});const a=this.getDelta();a&&(this.el.classList.add("is-spinning"),this.el.animate({[d]:[-a,0]},{...this.flow.spinTiming??this.flow.transformTiming,composite:"accumulate"}),this.flow.addEventListener("animationsfinish",this._onAnimationsFinish,{once:!0}))}getDelta(){var e;if(this.flow.plugins)for(const r of this.flow.plugins){const t=null==(e=r.getDelta)?void 0:e.call(r,this.value,this._prevValue,this);if(null!=t)return t}const t=this.value-this._prevValue,n=this.flow.computedTrend||Math.sign(t);return n<0&&this.value>this._prevValue?this.value-this.length-this._prevValue:n>0&&this.value<this._prevValue?this.length-this._prevValue+this.value:t}}class M extends P{constructor(e,t,n,r){const o=i("span",{className:"symbol__value",textContent:n});super(e,n,i("span",{part:`symbol ${t}`,className:"symbol"},[o]),r),this.type=t,this._children=new Map,this._onChildRemove=e=>()=>{this._children.delete(e)},this._children.set(n,new F(this.flow,o,{onRemove:this._onChildRemove(n)}))}willUpdate(e){if("decimal"===this.type)return;const t=this.el.getBoundingClientRect();this._prevOffset=t[this.section.justify]-e[this.section.justify]}update(e){if(this.value!==e){const t=this._children.get(this.value);t&&(t.present=!1);const n=this._children.get(e);if(n)n.present=!0;else{const t=i("span",{className:"symbol__value",textContent:e});this.el.appendChild(t),this._children.set(e,new F(this.flow,t,{animateIn:!0,onRemove:this._onChildRemove(e)}))}}this.value=e}didUpdate(e){if("decimal"===this.type)return;const t=this.el.getBoundingClientRect()[this.section.justify]-e[this.section.justify],n=this._prevOffset-t;n&&this.el.animate({transform:[`translateX(${n}px)`,"none"]},{...this.flow.transformTiming,composite:"accumulate"})}}const B=parseInt(r.version.match(/^(\d+)\./)?.[1])>=19;class j extends A{attributeChangedCallback(e,t,n){this[e]=JSON.parse(n)}}var T,I;j.observedAttributes=B?[]:["data","digits"],T="number-flow-react",I=j,customElements.get(T)!==I&&customElements.define(T,I);const R={},N=B?e=>e:JSON.stringify;function L(e){const{transformTiming:t,spinTiming:n,opacityTiming:r,animated:i,respectMotionPreference:o,trend:a,plugins:u,...s}=e;return[{transformTiming:t,spinTiming:n,opacityTiming:r,animated:i,respectMotionPreference:o,trend:a,plugins:u},s]}class z extends r.Component{updateProperties(e){if(!this.el)return;this.el.batched=!this.props.isolate;const[t]=L(this.props);Object.entries(t).forEach((([e,t])=>{this.el[e]=t??j.defaultProps[e]})),e?.onAnimationsStart&&this.el.removeEventListener("animationsstart",e.onAnimationsStart),this.props.onAnimationsStart&&this.el.addEventListener("animationsstart",this.props.onAnimationsStart),e?.onAnimationsFinish&&this.el.removeEventListener("animationsfinish",e.onAnimationsFinish),this.props.onAnimationsFinish&&this.el.addEventListener("animationsfinish",this.props.onAnimationsFinish)}componentDidMount(){this.updateProperties(),B&&this.el&&(this.el.digits=this.props.digits,this.el.data=this.props.data)}getSnapshotBeforeUpdate(e){if(this.updateProperties(e),e.data!==this.props.data){if(this.props.group)return this.props.group.willUpdate(),()=>this.props.group?.didUpdate();if(!this.props.isolate)return this.el?.willUpdate(),()=>this.el?.didUpdate()}return null}componentDidUpdate(e,t,n){n?.()}handleRef(e){this.props.innerRef&&(this.props.innerRef.current=e),this.el=e}render(){const[e,{innerRef:t,className:n,data:i,willChange:o,isolate:a,group:u,digits:s,onAnimationsStart:c,onAnimationsFinish:l,...f}]=L(this.props);return r.createElement("number-flow-react",{ref:this.handleRef,"data-will-change":o?"":void 0,class:n,...f,dangerouslySetInnerHTML:{__html:""},suppressHydrationWarning:!0,digits:N(s),data:N(i)})}constructor(e){super(e),this.handleRef=this.handleRef.bind(this)}}const W=r.forwardRef((function({value:e,locales:t,format:n,prefix:i,suffix:o,...a},u){r.useImperativeHandle(u,(()=>s.current),[]);const s=r.useRef(),c=r.useContext(U);c?.useRegister(s);const l=r.useMemo((()=>t?JSON.stringify(t):""),[t]),f=r.useMemo((()=>n?JSON.stringify(n):""),[n]),d=r.useMemo((()=>{const r=R[`${l}:${f}`]??=new Intl.NumberFormat(t,n);return function(e,t,n,r){const i=t.formatToParts(e);n&&i.unshift({type:"prefix",value:n}),r&&i.push({type:"suffix",value:r});const o=[],a=[],u=[],s=[],c={},l=e=>`${e}:${c[e]=(c[e]??-1)+1}`;let f="",d=!1,p=!1;for(const v of i){f+=v.value;const e="minusSign"===v.type||"plusSign"===v.type?"sign":v.type;"integer"===e?(d=!0,a.push(...v.value.split("").map((t=>({type:e,value:parseInt(t)}))))):"group"===e?a.push({type:e,value:v.value}):"decimal"===e?(p=!0,u.push({type:e,value:v.value,key:l(e)})):"fraction"===e?u.push(...v.value.split("").map((t=>({type:e,value:parseInt(t),key:l(e),pos:-1-c[e]})))):(d||p?s:o).push({type:e,value:v.value,key:l(e)})}const h=[];for(let v=a.length-1;v>=0;v--){const e=a[v];h.unshift("integer"===e.type?{...e,key:l(e.type),pos:c[e.type]}:{...e,key:l(e.type)})}return{pre:o,integer:h,fraction:u,post:s,valueAsString:f,value:"string"==typeof e?parseFloat(e):e}}(e,r,i,o)}),[e,l,f,i,o]);return r.createElement(z,{...a,group:c,data:d,innerRef:s})})),U=r.createContext(void 0)}
vendor: 4,115 bytes, line 1
1,68e3:(e,t,n)=>{"use strict";n.d(t,{A2:()=>o,LV:()=>d});const r=Symbol("Comlink.proxy"),i=Symbol("Comlink.endpoint"),o=Symbol("Comlink.releaseProxy"),a=Symbol("Comlink.finalizer"),u=Symbol("Comlink.thrown"),s=e=>"object"===typeof e&&null!==e||"function"===typeof e,c=new Map([["proxy",{canHandle:e=>s(e)&&e[r],serialize(e){const{port1:t,port2:n}=new MessageChannel;return l(e,t),[n,[n]]},deserialize:e=>(e.start(),d(e))}],["throw",{canHandle:e=>s(e)&&u in e,serialize({value:e}){let t;return t=e instanceof Error?{isError:!0,value:{message:e.message,name:e.name,stack:e.stack}}:{isError:!1,value:e},[t,[]]},deserialize(e){if(e.isError)throw Object.assign(new Error(e.value.message),e.value);throw e.value}}]]);function l(e,t=globalThis,n=["*"]){t.addEventListener("message",(function i(o){if(!o||!o.data)return;if(!function(e,t){for(const n of e){if(t===n||"*"===n)return!0;if(n instanceof RegExp&&n.test(t))return!0}return!1}(n,o.origin))return void console.warn(`Invalid origin '${o.origin}' for comlink proxy`);const{id:s,type:c,path:d}=Object.assign({path:[]},o.data),p=(o.data.argumentList||[]).map(D);let h;try{const t=d.slice(0,-1).reduce(((e,t)=>e[t]),e),n=d.reduce(((e,t)=>e[t]),e);switch(c){case"GET":h=n;break;case"SET":t[d.slice(-1)[0]]=D(o.data.value),h=!0;break;case"APPLY":h=n.apply(t,p);break;case"CONSTRUCT":h=function(e){return Object.assign(e,{[r]:!0})}(new n(...p));break;case"ENDPOINT":{const{port1:t,port2:n}=new MessageChannel;l(e,n),h=function(e,t){return b.set(e,t),e}(t,[t])}break;case"RELEASE":h=void 0;break;default:return}}catch(v){h={value:v,[u]:0}}Promise.resolve(h).catch((e=>({value:e,[u]:0}))).then((n=>{const[r,o]=w(n);t.postMessage(Object.assign(Object.assign({},r),{id:s}),o),"RELEASE"===c&&(t.removeEventListener("message",i),f(t),a in e&&"function"===typeof e[a]&&e[a]())})).catch((e=>{const[n,r]=w({value:new TypeError("Unserializable return value"),[u]:0});t.postMessage(Object.assign(Object.assign({},n),{id:s}),r)}))})),t.start&&t.start()}function f(e){(function(e){return"MessagePort"===e.constructor.name})(e)&&e.close()}function d(e,t){const n=new Map;return e.addEventListener("message",(function(e){const{data:t}=e;if(!t||!t.id)return;const r=n.get(t.id);if(r)try{r(t)}finally{n.delete(t.id)}})),g(e,n,[],t)}function p(e){if(e)throw new Error("Proxy has been released and is not useable")}function h(e){return _(e,new Map,{type:"RELEASE"}).then((()=>{f(e)}))}const v=new WeakMap,m="FinalizationRegistry"in globalThis&&new FinalizationRegistry((e=>{const t=(v.get(e)||0)-1;v.set(e,t),0===t&&h(e)}));function g(e,t,n=[],r=function(){}){let a=!1;const u=new Proxy(r,{get(r,i){if(p(a),i===o)return()=>{!function(e){m&&m.unregister(e)}(u),h(e),t.clear(),a=!0};if("then"===i){if(0===n.length)return{then:()=>u};const r=_(e,t,{type:"GET",path:n.map((e=>e.toString()))}).then(D);return r.then.bind(r)}return g(e,t,[...n,i])},set(r,i,o){p(a);const[u,s]=w(o);return _(e,t,{type:"SET",path:[...n,i].map((e=>e.toString())),value:u},s).then(D)},apply(r,o,u){p(a);const s=n[n.length-1];if(s===i)return _(e,t,{type:"ENDPOINT"}).then(D);if("bind"===s)return g(e,t,n.slice(0,-1));const[c,l]=y(u);return _(e,t,{type:"APPLY",path:n.map((e=>e.toString())),argumentList:c},l).then(D)},construct(r,i){p(a);const[o,u]=y(i);return _(e,t,{type:"CONSTRUCT",path:n.map((e=>e.toString())),argumentList:o},u).then(D)}});return function(e,t){const n=(v.get(t)||0)+1;v.set(t,n),m&&m.register(e,t,e)}(u,e),u}function y(e){const t=e.map(w);return[t.map((e=>e[0])),(n=t.map((e=>e[1])),Array.prototype.concat.apply([],n))];var n}const b=new WeakMap;function w(e){for(const[t,n]of c)if(n.canHandle(e)){const[r,i]=n.serialize(e);return[{type:"HANDLER",name:t,value:r},i]}return[{type:"RAW",value:e},b.get(e)||[]]}function D(e){switch(e.type){case"HANDLER":return c.get(e.name).deserialize(e.value);case"RAW":return e.value}}function _(e,t,n,r){return new Promise((i=>{const o=new Array(4).fill(0).map((()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16))).join("-");t.set(o,i),e.start&&e.start(),e.postMessage(Object.assign({id:o},n),r)}))}},79087:(e,t,n)=>{"use strict";n.d(t,{i:()=>Ee});
1class r{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map((e=>e.finished)))}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=t}attachTimeline(e){const t=this.animations.map((t=>t.attachTimeline(e)));return()=>{t.forEach(((e,t)=>{e&&e(),this.animations[t].stop()}))}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){return i(this.animations,"duration")}get iterationDuration(){return i(this.animations,"iterationDuration")}runAll(e){this.animations.forEach((t=>t[e]()))}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function i(e,t){let n=0;for(let r=0;r<e.length;r++){const i=e[r][t];null!==i&&i>n&&(n=i)}return n}class o extends r{then(e,t){return this.finished.finally(e).then((()=>{}))}}var a=n(38274),u=n(91578),s=n(94221),c=n(43920),l=n(88415),f=n(77633);const d=[];function p(e){(0,u.Ai)(d,e)}function h(e){return d.find((t=>t.test(e)))}function v(e,t,n={},r){const i=[],{velocity:o}=n,a=n.reduceMotion??r?.shouldReduceMotion;for(const c in t){if("transition"===c||"transitionEnd"===c)continue;const u=t[c];if(void 0===u)continue;const d=e(c),p=d.get();void 0===p||d.isAnimating()||Array.isArray(u)||u!==p||o?(d.start((0,l.f)(c,d,u,a&&s.$.has(c)?{type:!1}:n,r)),d.animation&&i.push(d.animation)):f.Gt.update((()=>d.set(u)))}const{transitionEnd:u}=t;if(u){const t=()=>f.Gt.update((()=>{for(const t in u)e(t).set(u[t])}));i.length?Promise.all(i).then(t):t()}return i}function m(e,t,n,r,i){return v((r=>{let o=e.get(t,r);if(!o){let u;if(!i){const i=n[r];u=function(e){const t=Array.isArray(e)?e[0]:void 0;return null===t?void 0:t}(i)??e.read(t,r,i),(0,a.V)(void 0!==u,`"${r}" can't be read from the animated subject. Provide [from, to] keyframes.`,"effect-unreadable-value")}o=(0,c.OQ)(u,{owner:i}),e(t,{[r]:o})}return o}),n,r,i)}var g=n(64919),y=n(3161),b=n(98358),w=n(54856),D=n(95381),_=n(16209),E=n(57573),A=n(45424);var C=n(3389);function x(e,t){return(0,C.h)(e)?e[((e,t,n)=>{const r=t-e;return((n-e)%r+r)%r+e})(0,e.length,t)]:e}var O=n(47318),S=n(17242);function F(e){return"object"===typeof e&&!Array.isArray(e)}function P(e,t,n,r){return null==e?[]:"string"===typeof e&&F(t)?(0,S.K)(e,n,r):e instanceof NodeList?Array.from(e):Array.isArray(e)?e.filter((e=>null!=e)):[e]}function k(e,t,n){return e*(t+1)+n*t}function M(e,t,n,r){return"number"===typeof t?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):"<"===t?n:t.startsWith("<")?Math.max(0,n+parseFloat(t.slice(1))):r.get(t)??e}var B=n(12810);function j(e,t,n,r,i,o){!function(e,t,n){for(let r=0;r<e.length;r++){const i=e[r];i.at>t&&i.at<n&&((0,u.Ai)(e,i),r--)}}(e,i,o);for(let a=0;a<t.length;a++)e.push({value:t[a],at:(0,B.k)(i,o,r[a]),easing:x(n,a)})}function T(e,t,n=0){const r=t+1+t*n;for(let i=0;i<e.length;i++)e[i]=e[i]/r}function I(e,t){return e.at===t.at?null===e.value?1:null===t.value?-1:0:e.at-t.at}function R(e,t){return!t.has(e)&&t.set(e,{}),t.get(e)}function N(e,t){return t[e]||(t[e]=[]),t[e]}function L(e){return Array.isArray(e)?e:[e]}function z(e,t){return e&&e[t]?{...e,...e[t]}:{...e}}const W=e=>"number"===typeof e,U=e=>e.every(W);var H=n(21635),V=n(70284),$=n(10820),K=n(19980),Y=n(66857),q=n(24606),X=n(79225),G=n(95558);class J{constructor(e=f.Gt.render){this.step=e,this.values=new Map,this.pending=[],this.numPending=0,this.flush=()=>{const{pending:e,numPending:t}=this;this.numPending=0;for(let n=0;n<t;n++)e[n]()}}set(e,t,n,r){if(this.values.get(e)?.onRemove(),r)for(const u of this.values.values())u.value===r&&(n=u.render);const i=()=>n&&this.schedule(n);void 0!==t.get()&&i();const o=t.on("change",i),a=()=>{o(),n&&!r&&this.cancel(n),this.values.delete(e)};return this.values.set(e,{value:t,render:r?void 0:n,onRemove:a}),a}get(e){return this.values.get(e)?.value}release(){const e=new Map;
1return this.values.forEach(((t,n)=>{e.set(n,t.value),t.onRemove()})),this.transformKeys=this.transformValues=void 0,e}schedule(e){const{pending:t,numPending:n}=this;for(let r=0;r<n;r++)if(t[r]===e)return;n||this.step(this.flush),t[this.numPending++]=e}cancel(e){const{pending:t}=this;for(let n=0;n<this.numPending;n++)if(t[n]===e)return void(t[n]=t[--this.numPending])}}function Z(e,{step:t,...n}={}){const r=new WeakMap;return Object.assign(((n,i)=>{const o=r.get(n)??new J(t);r.set(n,o);const a=[];for(const t in i){const r=i[t],u=e(n,o,t,r);a.push(u)}return()=>{for(const e of a)e()}}),n,{get:(e,t)=>r.get(e)?.get(t),flush:e=>r.get(e)?.flush(),state:e=>r.get(e)})}var Q=n(72090);const ee={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},te={};const ne=new Set(["originX","originY","originZ"]),re=(e,t)=>(0,G.e)(e.get(t)?.get(),X.W[t]),ie=(e,t,n,r)=>{let i,o;if(K.f.has(n)){if("pathRotation"!==n){const e=t.transformKeys??(t.transformKeys=[]);(t.transformValues??(t.transformValues={}))[n]=r,e.includes(n)||(e.push(n),e.sort(((e,t)=>K.U.indexOf(e)-K.U.indexOf(t))))}t.get("transform")||((0,Y.s)(e)||t.get("transformBox")||ie(e,t,"transformBox",new c.KG("fill-box")),t.set("transform",new c.KG("none"),(()=>{e.style.transform=function(e){let t="";const{transformKeys:n=[],transformValues:r={}}=e;for(let o=0;o<n.length;o++){const e=n[o],i=r[e].get();void 0!==i&&(("number"===typeof i?i:parseFloat(i))!==(e.startsWith("scale")?1:0)&&(t+=(t&&" ")+(te[e]||(te[e]=(ee[e]||e)+"("))+(0,G.e)(i,Q.H[e])+")"))}const i=e.get("pathRotation")?.get();return i&&(t+=(t&&" ")+"rotate("+(0,G.e)(i,Q.H.pathRotation)+")"),t||"none"}(t)}))),o=t.get("transform")}else ne.has(n)?(t.get("transformOrigin")||t.set("transformOrigin",new c.KG(""),(()=>{const n=re(t,"originX")??"50%",r=re(t,"originY")??"50%",i=re(t,"originZ")??0;e.style.transformOrigin=`${n} ${r} ${i}`})),o=t.get("transformOrigin")):i=(0,V.v)(n)?()=>{e.style.setProperty(n,r.get())}:()=>{e.style[n]=(0,G.e)(r.get(),X.W[n])};return t.set(n,r,i,o)},oe=(e,t)=>{if(K.f.has(t))return(0,$.Ib)(e,t);const n=getComputedStyle(e),r=(0,V.v)(t)?n.getPropertyValue(t):n[t];return"string"===typeof r&&r.trim()||0},ae=Z(ie,{test:e=>(0,Y.s)(e)||(0,q.x)(e),read:oe});var ue=n(27885),se=n(46482);const ce=(e,t,n,r,i=n)=>{const o=function(e,t){if(!(t in e))return!1;const n=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e),t)||Object.getOwnPropertyDescriptor(e,t);return n&&"function"===typeof n.set}(e,i);o||!i.startsWith("data")&&!i.startsWith("aria")||(i=(0,ue.I)(i));const a=X.W[n]||X.W[i],u=o?()=>{e[i]=(0,G.e)(r.get(),X.W[n])}:()=>{const t=(0,G.e)(r.get(),a);null===t||void 0===t?e.removeAttribute(i):e.setAttribute(i,String(t))};return t.set(n,r,u)};const le=Z(((e,t,n,r)=>{if(n.startsWith("path"))return function(e,t,n,r){return f.Gt.render((()=>e.setAttribute("pathLength","1"))),"pathOffset"===n?t.set(n,r,(()=>{const t=r.get();e.setAttribute("stroke-dashoffset",""+-t)})):(t.get("stroke-dasharray")||t.set("stroke-dasharray",new c.KG("1 1"),(()=>{const n=t.get("pathLength")?.get()??1,r=t.get("pathSpacing")?.get();e.setAttribute("stroke-dasharray",`${n} ${r??1-Number(n)}`)})),t.set(n,r,void 0,t.get("stroke-dasharray")))}(e,t,n,r);if(n.startsWith("attr"))return ce(e,t,n,r,fe(n));return((0,V.v)(n)||n in e.style?ie:ce)(e,t,n,r)}),{test:q.x,read:(e,t)=>K.f.has(t)?X.W[t]?.default||0:(0,V.v)(t)||se.W.includes(t)?oe(e,t):(t=fe(t),e.getAttribute((0,ue.I)(t))??e.getAttribute(t)??void 0)});function fe(e){return e.replace(/^attr([A-Z])/,((e,t)=>t.toLowerCase()))}var de=n(26582),pe=n(54432);const he={},ve=e=>(0,q.x)(e)?le:ae;class me{constructor(e,t){this.effect=e,this.current=t,this.KeyframeResolver=pe.K}getValue(e){return this.effect.get(this.current,e)}readValue(e,t){return this.effect.read(this.current,e,t)}render(){this.effect.flush(this.current)}measureViewportBox(){return(0,de.m)(this.current)}getProps(){return he}}function ge(e,t,n,r){if(r)return v((e=>r.getValue(e,null)),t,n,r);const i=ve(e);return m(i,e,t,n,new me(i,e))}var ye=n(84944),be=n(64189);const we=Z(((e,t,n,r)=>t.set(n,r,(()=>{e[n]=r.get()}))),{test:e=>(0,be.G)(e),read:(e,t)=>{const n=e[t];return"string"===typeof n||"number"===typeof n?n:void 0}});function De(e,t,n,r){const i=[];if(function(e,t){return(0,_.S)(e)||"number"===typeof e||"string"===typeof e&&!F(t)}(e,t))i.push((0,H.z)(e,F(t)&&t.default||t,n&&n.default||n));else{if(null==e)return i;const o=P(e,t,r),u=o.length;(0,a.V)(Boolean(u),"No valid elements provided.","no-valid-elements");for(let e=0;e<u;e++){const r=o[e],a={...n};"delay"in a&&"function"===typeof a.delay&&(a.delay=a.delay(e,u)),r instanceof Element?i.push(...ge(r,t,a,ye.C.get(r))):i.push(...m(h(r)??we,r,t,a))}}return i}function _e(e,t,n){const r=[],i=function(e,{defaultTransition:t={},...n}={},r,i){const o=t.duration||.3,u=new Map,s=new Map,c={},l=new Map;let f=0,d=0,p=0;for(let h=0;h<e.length;h++){const n=e[h];if("string"===typeof n){l.set(n,d);continue}if(!Array.isArray(n)){l.set(n.name,M(d,n.at,f,l));continue}let[u,v,m={}]=n;void 0!==m.at&&(d=M(d,m.at,f,l));let g=0;const C=(e,n,r,u=0,s=0)=>
1{const c=L(e),{delay:l=0,times:f=(0,y.Z)(c),type:h=t.type||"keyframes",repeat:v,repeatType:m,repeatDelay:_=0,...C}=n;let{ease:O=t.ease||"easeOut",duration:S}=n;const F="function"===typeof l?l(u,s):l,P=c.length,M=(0,b.W)(h)?h:i?.[h||"keyframes"];if(P<=2&&M){let e=100;if(2===P&&U(c)){const t=c[1]-c[0];e=Math.abs(t)}const n={...t,...C};void 0!==S&&(n.duration=(0,E.f)(S));const r=(0,w.X)(n,e,M);O=r.ease,S=r.duration}S??(S=o);const B=d+F;1===f.length&&0===f[0]&&(f[1]=1);const I=f.length-c.length;if(I>0&&(0,D.f)(f,I),1===c.length&&c.unshift(null),v&&(0,a.$)(v<20,`Sequence segments can't repeat ${v} times \u2014 ignoring repeat option. Use a value below 20 or apply repeat at the sequence level instead.`),v&&v<20){const e=S>0?_/S:0;S=k(S,v,_);const t=[...c],n=[...f];O=Array.isArray(O)?[...O]:[O];const r=[...O],i="reverse"===m||"mirror"===m;let o=t,a=r;i&&(o=[...t].reverse(),"reverse"===m&&(a=[...r].reverse().map((e=>"function"===typeof e?(0,A.G)(e):e))));for(let u=0;u<v;u++){const s=i&&u%2===0,l=s?o:t,d=s?a:r,p=(u+1)*(1+e);e>0&&(c.push(c[c.length-1]),f.push(p),O.push("linear")),c.push(...l);for(let e=0;e<l.length;e++)f.push(n[e]+p),O.push(0===e?"linear":x(d,e-1))}T(f,v,e)}const R=B+S;j(r,c,O,f,B,R),g=Math.max(F+S,g),p=Math.max(R,p)};if((0,_.S)(u))C(v,m,N("default",R(u,s)));else{const e=P(u,v,r,c),t=e.length;for(let n=0;n<t;n++){const r=R(e[n],s);for(const e in v)C(v[e],z(m,e),N(e,r),n,t)}}f=d,d+=g}return s.forEach(((e,r)=>{for(const i in e){const o=e[i];o.sort(I);const a=[],s=[],c=[];for(let e=0;e<o.length;e++){const{at:t,value:n,easing:r}=o[e];a.push(n),s.push((0,O.q)(0,p,t)),c.push(r||"easeOut")}0!==s[0]&&(s.unshift(0),a.unshift(a[0]),c.unshift("easeInOut")),1!==s[s.length-1]&&(s.push(1),a.push(null)),u.has(r)||u.set(r,{keyframes:{},transition:{}});const l=u.get(r);l.keyframes[i]=a;const{type:f,...d}=t;l.transition[i]={...d,duration:p,ease:c,times:s,...n}}})),u}(e.map((e=>{if(Array.isArray(e)&&"function"===typeof e[0]){const t=e[0],n=(0,c.OQ)(0);return n.on("change",t),1===e.length?[n,[0,1]]:2===e.length?[n,[0,1],e[1]]:[n,e[1],e[2]]}return e})),t,n,{spring:g.o});return i.forEach((({keyframes:e,transition:t},n)=>{r.push(...De(n,e,t))})),r}const Ee=Object.assign(function(e={}){const{scope:t,reduceMotion:n,skipAnimations:r}=e;return function(e,i,a){let s,c=[];const l={};if(void 0!==n&&(l.reduceMotion=n),void 0!==r&&(l.skipAnimations=r),f=e,Array.isArray(f)&&f.some(Array.isArray)){const{onComplete:n,...r}=i||{};"function"===typeof n&&(s=n),c=_e(e,{...l,...r},t)}else{const{onComplete:n,...r}=a||{};"function"===typeof n&&(s=n),c=De(e,i,{...l,...r},t)}var f;const d=new o(c);return s&&d.finished.then(s),t&&(t.animations.push(d),d.finished.then((()=>{(0,u.Ai)(t.animations,d)}))),d}}(),{addEffect:function(e){(0,a.V)("function"===typeof e.test&&"function"===typeof e.read,"Effects passed to animate.addEffect() need test() and read().","effect-missing-test"),p(e),d.unshift(e)},removeEffect:p})},37050:(e,t,n)=>{"use strict";n.d(t,{E:()=>l});var r=n(50877),i=n(30287),o=n(79653),a=n(12256),u=n(38274);function s(e,t){[...t].reverse().forEach((n=>{const r=e.getVariant(n);r&&(0,o.U)(e,r),e.variantChildren&&e.variantChildren.forEach((e=>{s(e,t)}))}))}function c(){let e=!1;const t=new Set,n={subscribe:e=>(t.add(e),()=>{t.delete(e)}),start(n,r){(0,u.V)(e,"controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");const i=[];return t.forEach((e=>{i.push((0,a._)(e,n,{transitionOverride:r}))})),Promise.all(i)},set:n=>((0,u.V)(e,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),t.forEach((e=>{!function(e,t){Array.isArray(t)?s(e,t):"string"===typeof t?s(e,[t]):(0,o.U)(e,t)}(e,n)}))),stop(){t.forEach((e=>{!function(e){e.values.forEach((e=>e.stop()))}(e)}))},mount:()=>(e=!0,()=>{e=!1,n.stop()})};return n}function l(){const e=(0,r.M)(c);return(0,i.E)(e.mount,[]),e}},16438:(e,t,n)=>{"use strict";n.d(t,{jM:()=>K});var r=Symbol.for("immer-nothing"),i=Symbol.for("immer-draftable"),o=Symbol.for("immer-state");function a(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var u=Object.getPrototypeOf;function s(e){return!!e&&!!e[o]}
vendor: 6,785 bytes, line 1
1function c(e){return!!e&&(d(e)||Array.isArray(e)||!!e[i]||!!e.constructor?.[i]||g(e)||y(e))}var l=Object.prototype.constructor.toString(),f=new WeakMap;function d(e){if(!e||"object"!==typeof e)return!1;const t=Object.getPrototypeOf(e);if(null===t||t===Object.prototype)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;if(n===Object)return!0;if("function"!==typeof n)return!1;let r=f.get(n);return void 0===r&&(r=Function.toString.call(n),f.set(n,r)),r===l}function p(e,t,n=!0){if(0===h(e)){(n?Reflect.ownKeys(e):Object.keys(e)).forEach((n=>{t(n,e[n],e)}))}else e.forEach(((n,r)=>t(r,n,e)))}function h(e){const t=e[o];return t?t.type_:Array.isArray(e)?1:g(e)?2:y(e)?3:0}function v(e,t){return 2===h(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function m(e,t,n){const r=h(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function g(e){return e instanceof Map}function y(e){return e instanceof Set}function b(e){return e.copy_||e.base_}function w(e,t){if(g(e))return new Map(e);if(y(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const n=d(e);if(!0===t||"class_only"===t&&!n){const t=Object.getOwnPropertyDescriptors(e);delete t[o];let n=Reflect.ownKeys(t);for(let r=0;r<n.length;r++){const i=n[r],o=t[i];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(t[i]={configurable:!0,writable:!0,enumerable:o.enumerable,value:e[i]})}return Object.create(u(e),t)}{const t=u(e);if(null!==t&&n)return{...e};const r=Object.create(t);return Object.assign(r,e)}}function D(e,t=!1){return E(e)||s(e)||!c(e)||(h(e)>1&&Object.defineProperties(e,{set:_,add:_,clear:_,delete:_}),Object.freeze(e),t&&Object.values(e).forEach((e=>D(e,!0)))),e}var _={value:function(){a(2)}};function E(e){return null===e||"object"!==typeof e||Object.isFrozen(e)}var A,C={};function x(e){const t=C[e];return t||a(0),t}function O(){return A}function S(e,t){t&&(x("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function F(e){P(e),e.drafts_.forEach(M),e.drafts_=null}function P(e){e===A&&(A=e.parent_)}function k(e){return A={drafts_:[],parent_:A,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function M(e){const t=e[o];0===t.type_||1===t.type_?t.revoke_():t.revoked_=!0}function B(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return void 0!==e&&e!==n?(n[o].modified_&&(F(t),a(4)),c(e)&&(e=j(t,e),t.parent_||I(t,e)),t.patches_&&x("Patches").generateReplacementPatches_(n[o].base_,e,t.patches_,t.inversePatches_)):e=j(t,n,[]),F(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==r?e:void 0}function j(e,t,n){if(E(t))return t;const r=e.immer_.shouldUseStrictIteration(),i=t[o];if(!i)return p(t,((r,o)=>T(e,i,t,r,o,n)),r),t;if(i.scope_!==e)return t;if(!i.modified_)return I(e,i.base_,!0),i.base_;if(!i.finalized_){i.finalized_=!0,i.scope_.unfinalizedDrafts_--;const t=i.copy_;let o=t,a=!1;3===i.type_&&(o=new Set(t),t.clear(),a=!0),p(o,((r,o)=>T(e,i,t,r,o,n,a)),r),I(e,t,!1),n&&e.patches_&&x("Patches").generatePatches_(i,n,e.patches_,e.inversePatches_)}return i.copy_}function T(e,t,n,r,i,o,a){if(null==i)return;if("object"!==typeof i&&!a)return;const u=E(i);if(!u||a){if(s(i)){const a=j(e,i,o&&t&&3!==t.type_&&!v(t.assigned_,r)?o.concat(r):void 0);if(m(n,r,a),!s(a))return;e.canAutoFreeze_=!1}else a&&n.add(i);if(c(i)&&!u){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;if(t&&t.base_&&t.base_[r]===i&&u)return;j(e,i),t&&t.scope_.parent_||"symbol"===typeof r||!(g(n)?n.has(r):Object.prototype.propertyIsEnumerable.call(n,r))||I(e,i)}}}function I(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&D(t,n)}var R={get(e,t){if(t===o)return e;const n=b(e);if(!v(n,t))return function(e,t,n){const r=z(t,n);return r?"value"in r?r.value:r.get?.call(e.draft_):void 0}(e,n,t);const r=n[t];return e.finalized_||!c(r)?r:r===L(e.base_,t)?(U(e),e.copy_[t]=H(r,e)):r},has:(e,t)=>t in b(e),ownKeys:e=>Reflect.ownKeys(b(e)),set(e,t,n){const r=z(b(e),t);if(r?.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const r=L(b(e),t),u=r?.[o];if(u&&u.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(((i=n)===(a=r)?0!==i||1/i===1/a:i!==i&&a!==a)&&(void 0!==n||v(e.base_,t)))return!0;U(e),W(e)}var i,a;return e.copy_[t]===n&&(void 0!==n||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty:(e,t)=>(void 0!==L(e.base_,t)||t in e.base_?(e.assigned_[t]=!1,U(e),W(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0),getOwnPropertyDescriptor(e,t){const n=b(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.type_||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty(){a(11)},getPrototypeOf:e=>u(e.base_),setPrototypeOf(){a(12)}},N={};function L(e,t){const n=e[o];return(n?b(n):e)[t]}function z(e,t){if(!(t in e))return;let n=u(e);for(;n;){const e=Object.getOwnPropertyDescriptor(n,t);if(e)return e;n=u(n)}}function W(e){e.modified_||(e.modified_=!0,e.parent_&&W(e.parent_))}function U(e){e.copy_||(e.copy_=w(e.base_,e.scope_.immer_.useStrictShallowCopy_))}p(R,((e,t)=>{N[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),N.deleteProperty=function(e,t){return N.set.call(this,e,t,void 0)},N.set=function(e,t,n){return R.set.call(this,e[0],t,n,e[0])};function H(e,t){const n=g(e)?x("MapSet").proxyMap_(e,t):y(e)?x("MapSet").proxySet_(e,t):function(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:O(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=r,o=R;n&&(i=[r],o=N);const{revoke:a,proxy:u}=Proxy.revocable(i,o);return r.draft_=u,r.revoke_=a,u}(e,t);return(t?t.scope_:O()).drafts_.push(n),n}function V(e){if(!c(e)||E(e))return e;const t=e[o];let n,r=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=w(e,t.scope_.immer_.useStrictShallowCopy_),r=t.scope_.immer_.shouldUseStrictIteration()}else n=w(e,!0);return p(n,((e,t)=>{m(n,e,V(t))}),r),t&&(t.finalized_=!1),n}var $=new class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!0,this.produce=(e,t,n)=>{if("function"===typeof e&&"function"!==typeof t){const n=t;t=e;const r=this;return function(e=n,...i){return r.produce(e,(e=>t.call(this,e,...i)))}}let i;if("function"!==typeof t&&a(6),void 0!==n&&"function"!==typeof n&&a(7),c(e)){const r=k(this),o=H(e,void 0);let a=!0;try{i=t(o),a=!1}finally{a?F(r):P(r)}return S(r,n),B(i,r)}if(!e||"object"!==typeof e){if(i=t(e),void 0===i&&(i=e),i===r&&(i=void 0),this.autoFreeze_&&D(i,!0),n){const t=[],r=[];x("Patches").generateReplacementPatches_(e,i,t,r),n(t,r)}return i}a(1)},this.produceWithPatches=(e,t)=>{if("function"===typeof e)return(t,...n)=>this.produceWithPatches(t,(t=>e(t,...n)));let n,r;return[this.produce(e,t,((e,t)=>
1{n=e,r=t})),n,r]},"boolean"===typeof e?.autoFreeze&&this.setAutoFreeze(e.autoFreeze),"boolean"===typeof e?.useStrictShallowCopy&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),"boolean"===typeof e?.useStrictIteration&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){c(e)||a(8),s(e)&&(e=function(e){s(e)||a(10);return V(e)}(e));const t=k(this),n=H(e,void 0);return n[o].isManual_=!0,P(t),n}finishDraft(e,t){const n=e&&e[o];n&&n.isManual_||a(9);const{scope_:r}=n;return S(r,t),B(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));const r=x("Patches").applyPatches_;return s(e)?r(e,t):this.produce(e,(e=>r(e,t)))}},K=$.produce},7558:(e,t,n)=>{"use strict";n.d(t,{Zr:()=>l,lt:()=>a});const r=new Map,i=e=>{const t=r.get(e);return t?Object.fromEntries(Object.entries(t.stores).map((([e,t])=>[e,t.getState()]))):{}},o=e=>{var t,n;if(!e)return;const r=e.split("\n"),i=r.findIndex((e=>e.includes("api.setState")));if(i<0)return;const o=(null==(t=r[i+1])?void 0:t.trim())||"";return null==(n=/.+ (.+) .+/.exec(o))?void 0:n[1]},a=(e,t={})=>(n,a,s)=>{const{enabled:c,anonymousActionType:l,store:f,...d}=t;let p;try{p=(null==c||c)&&window.__REDUX_DEVTOOLS_EXTENSION__}catch(b){}if(!p)return e(n,a,s);const{connection:h,...v}=((e,t,n)=>{if(void 0===e)return{type:"untracked",connection:t.connect(n)};const i=r.get(n.name);if(i)return{type:"tracked",store:e,...i};const o={connection:t.connect(n),stores:{}};return r.set(n.name,o),{type:"tracked",store:e,...o}})(f,p,d);let m=!0;s.setState=(e,t,r)=>{const u=n(e,t);if(!m)return u;const c=void 0===r?{type:l||o((new Error).stack)||"anonymous"}:"string"===typeof r?{type:r}:r;return void 0===f?(null==h||h.send(c,a()),u):(null==h||h.send({...c,type:`${f}/${c.type}`},{...i(d.name),[f]:s.getState()}),u)},s.devtools={cleanup:()=>{h&&"function"===typeof h.unsubscribe&&h.unsubscribe(),((e,t)=>{if(void 0===t)return;const n=r.get(e);n&&(delete n.stores[t],0===Object.keys(n.stores).length&&r.delete(e))})(d.name,f)}};const g=(...e)=>{const t=m;m=!1,n(...e),m=t},y=e(s.setState,a,s);if("untracked"===v.type?null==h||h.init(y):(v.stores[v.store]=s,null==h||h.init(Object.fromEntries(Object.entries(v.stores).map((([e,t])=>[e,e===v.store?y:t.getState()]))))),s.dispatchFromDevtools&&"function"===typeof s.dispatch){let e=!1;const t=s.dispatch;s.dispatch=(...n)=>{"__setState"!==n[0].type||e||(console.warn('[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.'),e=!0),t(...n)}}return h.subscribe((e=>{var t;switch(e.type){case"ACTION":return"string"!==typeof e.payload?void console.error("[zustand devtools middleware] Unsupported action format"):u(e.payload,(e=>{if("__setState"!==e.type)s.dispatchFromDevtools&&"function"===typeof s.dispatch&&s.dispatch(e);else{if(void 0===f)return void g(e.state);1!==Object.keys(e.state).length&&console.error('\n [zustand devtools middleware] Unsupported __setState action format.\n When using \'store\' option in devtools(), the \'state\' should have only one key, which is a value of \'store\' that was passed in devtools(),\n and value of this only key should be a state object. Example: { "type": "__setState", "state": { "abc123Store": { "foo": "bar" } } }\n ');const t=e.state[f];if(void 0===t||null===t)return;JSON.stringify(s.getState())!==JSON.stringify(t)&&g(t)}}));case"DISPATCH":switch(e.payload.type){case"RESET":return g(y),void 0===f?null==h?void 0:h.init(s.getState()):null==h?void 0:h.init(i(d.name));case"COMMIT":return void 0===f?void(null==h||h.init(s.getState())):null==h?void 0:h.init(i(d.name));case"ROLLBACK":return u(e.state,(e=>{if(void 0===f)return g(e),void(null==h||h.init(s.getState()));g(e[f]),null==h||h.init(i(d.name))}));case"JUMP_TO_STATE":case"JUMP_TO_ACTION":return u(e.state,(e=>
1{void 0!==f?JSON.stringify(s.getState())!==JSON.stringify(e[f])&&g(e[f]):g(e)}));case"IMPORT_STATE":{const{nextLiftedState:n}=e.payload,r=null==(t=n.computedStates.slice(-1)[0])?void 0:t.state;if(!r)return;return g(void 0===f?r:r[f]),void(null==h||h.send(null,n))}case"PAUSE_RECORDING":return m=!m}return}})),y},u=(e,t)=>{let n;try{n=JSON.parse(e)}catch(r){console.error("[zustand devtools middleware] Could not parse the received json",r)}void 0!==n&&t(n)};function s(e,t){let n;try{n=e()}catch(r){return}return{getItem:e=>{var r;const i=e=>null===e?null:JSON.parse(e,null==t?void 0:t.reviver),o=null!=(r=n.getItem(e))?r:null;return o instanceof Promise?o.then(i):i(o)},setItem:(e,r)=>n.setItem(e,JSON.stringify(r,null==t?void 0:t.replacer)),removeItem:e=>n.removeItem(e)}}const c=e=>t=>{try{const n=e(t);return n instanceof Promise?n:{then:e=>c(e)(n),catch(e){return this}}}catch(n){return{then(e){return this},catch:e=>c(e)(n)}}},l=(e,t)=>(n,r,i)=>{let o={storage:s((()=>localStorage)),partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...t},a=!1;const u=new Set,l=new Set;let f=o.storage;if(!f)return e(((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${o.name}', the given storage is currently unavailable.`),n(...e)}),r,i);const d=()=>{const e=o.partialize({...r()});return f.setItem(o.name,{state:e,version:o.version})},p=i.setState;i.setState=(e,t)=>(p(e,t),d());const h=e(((...e)=>(n(...e),d())),r,i);let v;i.getInitialState=()=>h;const m=()=>{var e,t;if(!f)return;a=!1,u.forEach((e=>{var t;return e(null!=(t=r())?t:h)}));const i=(null==(t=o.onRehydrateStorage)?void 0:t.call(o,null!=(e=r())?e:h))||void 0;return c(f.getItem.bind(f))(o.name).then((e=>{if(e){if("number"!==typeof e.version||e.version===o.version)return[!1,e.state];if(o.migrate){const t=o.migrate(e.state,e.version);return t instanceof Promise?t.then((e=>[!0,e])):[!0,t]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}return[!1,void 0]})).then((e=>{var t;const[i,a]=e;if(v=o.merge(a,null!=(t=r())?t:h),n(v,!0),i)return d()})).then((()=>{null==i||i(v,void 0),v=r(),a=!0,l.forEach((e=>e(v)))})).catch((e=>{null==i||i(void 0,e)}))};return i.persist={setOptions:e=>{o={...o,...e},e.storage&&(f=e.storage)},clearStorage:()=>{null==f||f.removeItem(o.name)},getOptions:()=>o,rehydrate:()=>m(),hasHydrated:()=>a,onHydrate:e=>(u.add(e),()=>{u.delete(e)}),onFinishHydration:e=>(l.add(e),()=>{l.delete(e)})},o.skipHydration||m(),v||h}},11505:(e,t,n)=>{"use strict";n.d(t,{D:()=>i});var r=n(16438);const i=e=>(t,n,i)=>(i.setState=(e,n,...i)=>{const o="function"===typeof e?(0,r.jM)(e):e;return t(o,n,...i)},e(i.setState,n,i))},35875:(e,t,n)=>{"use strict";n.d(t,{P:()=>a,v:()=>s});var r=n(36938),i=n(7979);const o=e=>e;function a(e,t=o){const n=r.useSyncExternalStore(e.subscribe,r.useCallback((()=>t(e.getState())),[e,t]),r.useCallback((()=>t(e.getInitialState())),[e,t]));return r.useDebugValue(n),n}const u=e=>{const t=(0,i.y)(e),n=e=>a(t,e);return Object.assign(n,t),n},s=e=>e?u(e):u},22306:(e,t,n)=>{"use strict";n.d(t,{k:()=>o});var r=n(36938),i=n(56909);function o(e){const t=r.useRef(void 0);return n=>{const r=e(n);return(0,i.x)(t.current,r)?t.current:t.current=r}}},7979:(e,t,n)=>{"use strict";n.d(t,{y:()=>i});const r=e=>{let t;const n=new Set,r=(e,r)=>{const i="function"===typeof e?e(t):e;if(!Object.is(i,t)){const e=t;t=(null!=r?r:"object"!==typeof i||null===i)?i:Object.assign({},t,i),n.forEach((n=>n(t,e)))}},i=()=>t,o={setState:r,getState:i,getInitialState:()=>a,subscribe:e=>(n.add(e),()=>n.delete(e))},a=t=e(r,i,o);return o},i=e=>e?r(e):r},56909:(e,t,n)=>{"use strict";n.d(t,{x:()=>u});const r=e=>Symbol.iterator in e,i=e=>"entries"in e,o=(e,t)=>{const n=e instanceof Map?e:new Map(e.entries()),r=t instanceof Map?t:new Map(t.entries());if(n.size!==r.size)return!1;for(const[i,o]of n)if(!r.has(i)||!Object.is(o,r.get(i)))return!1;return!0},a=(e,t)=>{const n=e[Symbol.iterator](),r=t[Symbol.iterator]();let i=n.next(),o=r.next();for(;!i.done&&!o.done;){if(!Object.is(i.value,o.value))return!1;i=n.next(),o=r.next()}return!!i.done&&!!o.done};function u(e,t){return!!Object.is(e,t)||"object"===typeof e&&null!==e&&"object"===typeof t&&null!==t&&(Object.getPrototypeOf(e)===Object.getPrototypeOf(t)&&(r(e)&&r(t)?i(e)&&i(t)?o(e,t):a(e,t):o({entries:()=>Object.entries(e)},{entries:()=>Object.entries(t)})))}}
1,41862:(e,t,n)=>{"use strict";n.d(t,{R:()=>h});var r=n(68455),i=n(96190),o=n(87206),a=n(30292),u=n(63e3),s=n(54348),c=n(14258),l=n(97554);var f=n(53277),d=n(19340),p=n(90414);function h(e,t){void 0===t&&(t=Object.create(null));var n=o.useRef(!1),h=(0,l.m)(t.client);(0,u.D$)(e,u.KG.Subscription),n.current||(n.current=!0,t.onSubscriptionData&&!1!==globalThis.__DEV__&&i.V1.warn(t.onData?61:62),t.onSubscriptionComplete&&!1!==globalThis.__DEV__&&i.V1.warn(t.onComplete?63:64));var v=t.skip,m=t.fetchPolicy,g=t.errorPolicy,y=t.shouldResubscribe,b=t.context,w=t.extensions,D=t.ignoreResults,_=function(e,t){var n=o.useRef(void 0);return n.current&&(0,a.L)(n.current.deps,t)||(n.current={value:e(),deps:t}),n.current.value}((function(){return t.variables}),[t.variables]),E=function(){return function(e,t,n,i,o,a,u){var s={query:t,variables:n,fetchPolicy:i,errorPolicy:o,context:a,extensions:u},l=(0,r.__assign)((0,r.__assign)({},s),{client:e,result:{loading:!0,data:void 0,error:void 0,variables:n},setResult:function(e){l.result=e}}),f=null;return Object.assign(new c.c((function(t){f||(f=e.subscribe(s));var n=f.subscribe(t);return function(){return n.unsubscribe()}})),{__:l})}(h,e,_,m,g,b,w)},A=o.useState(t.skip?null:E),C=A[0],x=A[1],O=o.useRef(E);(0,p.E)((function(){O.current=E})),v?C&&x(C=null):C&&(h===C.__.client&&e===C.__.query&&m===C.__.fetchPolicy&&g===C.__.errorPolicy&&(0,a.L)(_,C.__.variables)||!1===("function"===typeof y?!!y(t):y))||x(C=E());var S=o.useRef(t);o.useEffect((function(){S.current=t}));var F=!v&&!D,P=o.useMemo((function(){return{loading:F,error:void 0,data:void 0,variables:_}}),[F,_]),k=o.useRef(D);(0,p.E)((function(){k.current=D}));var M=(0,f.r)(o.useCallback((function(e){if(!C)return function(){};var t=!1,n=C.__.variables,r=C.__.client,i=C.subscribe({next:function(i){var o,a;if(!t){var u={loading:!1,data:i.data,error:(0,d.jy)(i),variables:n};C.__.setResult(u),k.current||e(),u.error?null===(a=(o=S.current).onError)||void 0===a||a.call(o,u.error):S.current.onData?S.current.onData({client:r,data:u}):S.current.onSubscriptionData&&S.current.onSubscriptionData({client:r,subscriptionData:u})}},error:function(r){var i,o;r=r instanceof s.K4?r:new s.K4({protocolErrors:[r]}),t||(C.__.setResult({loading:!1,data:void 0,error:r,variables:n}),k.current||e(),null===(o=(i=S.current).onError)||void 0===o||o.call(i,r))},complete:function(){t||(S.current.onComplete?S.current.onComplete():S.current.onSubscriptionComplete&&S.current.onSubscriptionComplete())}});return function(){t=!0,setTimeout((function(){i.unsubscribe()}))}}),[C]),(function(){return!C||v||D?P:C.__.result}),(function(){return P})),B=o.useCallback((function(){(0,i.V1)(!S.current.skip,65),x(O.current())}),[S,O]);return o.useMemo((function(){return(0,r.__assign)((0,r.__assign)({},M),{restart:B})}),[M,B])}},6071:(e,t,n)=>{"use strict";function r(e){var t=0,n=e.children,r=n&&n.length;if(r)for(;--r>=0;)t+=n[r].value;else t=1;e.value=t}function i(e,t){e instanceof Map?(e=[void 0,e],void 0===t&&(t=a)):void 0===t&&(t=o);for(var n,r,i,u,l,f=new c(e),d=[f];n=d.pop();)if((i=t(n.data))&&(l=(i=Array.from(i)).length))for(n.children=i,u=l-1;u>=0;--u)d.push(r=i[u]=new c(i[u])),r.parent=n,r.depth=n.depth+1;return f.eachBefore(s)}function o(e){return e.children}function a(e){return Array.isArray(e)?e[1]:null}function u(e){void 0!==e.data.value&&(e.value=e.data.value),e.data=e.data.data}function s(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function c(e){this.data=e,this.depth=this.height=0,this.parent=null}n.d(t,{Ay:()=>i}),c.prototype=i.prototype={constructor:c,count:function(){return this.eachAfter(r)},each:function(e,t){let n=-1;for(const r of this)e.call(t,r,++n,this);return this},eachAfter:function(e,t){for(var n,r,i,o=this,a=[o],u=[],s=-1;o=a.pop();)if(u.push(o),n=o.children)for(r=0,i=n.length;r<i;++r)a.push(n[r]);for(;o=u.pop();)e.call(t,o,++s,this);return this},eachBefore:function(e,t){for(var n,r,i=this,o=[i],a=-1;i=o.pop();)if(e.call(t,i,++a,this),n=i.children)for(r=n.length-1;r>=0;--r)o.push(n[r]);return this},find:function(e,t){let n=-1;for(const r of this)if(e.call(t,r,++n,this))return r},sum:function(e){return this.eachAfter((function(t){for(var n=+e(t.data)||0,r=t.children,i=r&&r.length;--i>=0;)n+=r[i].value;t.value=n}))},sort:function(e){return this.eachBefore((function(t){t.children&&t.children.sort(e)}))},path:function(e){for(var t=this,n=function(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),i=null;e=n.pop(),t=r.pop();for(;e===t;)i=e,e=n.pop(),t=r.pop();return i}(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var i=r.length;e!==n;)r.splice(i,0,e),e=e.parent;return r},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){return Array.from(this)},leaves:function(){var e=[];return this.eachBefore((function(t){t.children||e.push(t)})),e},links:function(){var e=this,t=[];return e.each((function(n){n!==e&&t.push({source:n.parent,target:n})})),t},copy:function(){return i(this).eachBefore(u)},[Symbol.iterator]:function*(){var e,t,n,r,i=this,o=[i];do{for(e=o.reverse(),o=[];i=e.pop();)if(yield i,t=i.children)for(n=0,r=t.length;n<r;++n)o.push(t[n])}while(o.length)}}},23908:(e,t,n)=>{"use strict";function r(e){e.x0=Math.round(e.x0),e.y0=Math.round(e.y0),e.x1=Math.round(e.x1),e.y1=Math.round(e.y1)}n.d(t,{A:()=>s});var i=n(61059);function o(e){if("function"!==typeof e)throw new Error;return e}function a(){return 0}function u(e){return function(){return e}}function s(){var e=i.Ay,t=!1,n=1,s=1,c=[0],l=a,f=a,d=a,p=a,h=a;function v(e){return e.x0=e.y0=0,e.x1=n,e.y1=s,e.eachBefore(m),c=[0],t&&e.eachBefore(r),e}function m(t){var n=c[t.depth],r=t.x0+n,i=t.y0+n,o=t.x1-n,a=t.y1-n;o<r&&(r=o=(r+o)/2),a<i&&(i=a=(i+a)/2),t.x0=r,t.y0=i,t.x1=o,t.y1=a,t.children&&(n=c[t.depth+1]=l(t)/2,r+=h(t)-n,i+=f(t)-n,(o-=d(t)-n)<r&&(r=o=(r+o)/2),(a-=p(t)-n)<i&&(i=a=(i+a)/2),e(t,r,i,o,a))}return v.round=function(e){return arguments.length?(t=!!e,v):t},v.size=function(e){return arguments.length?(n=+e[0],s=+e[1],v):[n,s]},v.tile=function(t){return arguments.length?(e=o(t),v):e},v.padding=function(e){return arguments.length?v.paddingInner(e).paddingOuter(e):v.paddingInner()},v.paddingInner=function(e){return arguments.length?(l="function"===typeof e?e:u(+e),v):l},v.paddingOuter=function(e){return arguments.length?v.paddingTop(e).paddingRight(e).paddingBottom(e).paddingLeft(e):v.paddingTop()},v.paddingTop=function(e){return arguments.length?(f="function"===typeof e?e:u(+e),v):f},v.paddingRight=function(e){return arguments.length?(d="function"===typeof e?e:u(+e),v):d},v.paddingBottom=function(e){return arguments.length?(p="function"===typeof e?e:u(+e),v):p},v.paddingLeft=function(e){return arguments.length?(h="function"===typeof e?e:u(+e),v):h},v}},61059:(e,t,n)=>{"use strict";function r(e,t,n,r,i){for(var o,a=e.children,u=-1,s=a.length,c=e.value&&(r-t)/e.value;++u<s;)(o=a[u]).y0=n,o.y1=i,o.x0=t,o.x1=t+=o.value*c}function i(e,t,n,r,i){for(var o,a=e.children,u=-1,s=a.length,c=e.value&&(i-n)/e.value;++u<s;)(o=a[u]).x0=t,o.x1=r,o.y0=n,o.y1=n+=o.value*c}n.d(t,{Ay:()=>o});const o=function e(t){function n(e,n,o,a,u){!function(e,t,n,o,a,u){for(var s,c,l,f,d,p,h,v,m,g,y,b=[],w=t.children,D=0,_=0,E=w.length,A=t.value;D<E;){l=a-n,f=u-o;do{d=w[_++].value}while(!d&&_<E);for(p=h=d,y=d*d*(g=Math.max(f/l,l/f)/(A*e)),m=Math.max(h/y,y/p);_<E;++_){if(d+=c=w[_].value,c<p&&(p=c),c>h&&(h=c),y=d*d*g,(v=Math.max(h/y,y/p))>m){d-=c;break}m=v}b.push(s={value:d,dice:l<f,children:w.slice(D,_)}),s.dice?r(s,n,o,a,A?o+=f*d/A:u):i(s,n,o,A?n+=l*d/A:a,u),A-=d,D=_}}(t,e,n,o,a,u)}return n.ratio=function(t){return e((t=+t)>1?t:1)},n}((1+Math.sqrt(5))/2)},29557:(e,t,n)=>{"use strict";function r(){}function i(e){return null==e?r:function(){return this.querySelector(e)}}function o(e){return null==e?[]:Array.isArray(e)?e:Array.from(e)}function a(){return[]}function u(e){return null==e?a:function(){return this.querySelectorAll(e)}}function s(e){return function(){return this.matches(e)}}function c(e){return function(t){return t.matches(e)}}n.d(t,{Ltv:()=>Pt,Ubm:()=>kt});var l=Array.prototype.find;function f(){return this.firstElementChild}var d=Array.prototype.filter;function p(){return Array.from(this.children)}function h(e){return new Array(e.length)}function v(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}function m(e,t,n,r,i,o){for(var a,u=0,s=t.length,c=o.length;u<c;++u)(a=t[u])?(a.__data__=o[u],r[u]=a):n[u]=new v(e,o[u]);for(;u<s;++u)(a=t[u])&&(i[u]=a)}function g(e,t,n,r,i,o,a){var u,s,c,l=new Map,f=t.length,d=o.length,p=new Array(f);for(u=0;
vendor: 25,375 bytes, line 1
1u<f;++u)(s=t[u])&&(p[u]=c=a.call(s,s.__data__,u,t)+"",l.has(c)?i[u]=s:l.set(c,s));for(u=0;u<d;++u)c=a.call(e,o[u],u,o)+"",(s=l.get(c))?(r[u]=s,s.__data__=o[u],l.delete(c)):n[u]=new v(e,o[u]);for(u=0;u<f;++u)(s=t[u])&&l.get(p[u])===s&&(i[u]=s)}function y(e){return e.__data__}function b(e){return"object"===typeof e&&"length"in e?e:Array.from(e)}function w(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}v.prototype={constructor:v,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};var D="http://www.w3.org/1999/xhtml";const _={svg:"http://www.w3.org/2000/svg",xhtml:D,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function E(e){var t=e+="",n=t.indexOf(":");return n>=0&&"xmlns"!==(t=e.slice(0,n))&&(e=e.slice(n+1)),_.hasOwnProperty(t)?{space:_[t],local:e}:e}function A(e){return function(){this.removeAttribute(e)}}function C(e){return function(){this.removeAttributeNS(e.space,e.local)}}function x(e,t){return function(){this.setAttribute(e,t)}}function O(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function S(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttribute(e):this.setAttribute(e,n)}}function F(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}}function P(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function k(e){return function(){this.style.removeProperty(e)}}function M(e,t,n){return function(){this.style.setProperty(e,t,n)}}function B(e,t,n){return function(){var r=t.apply(this,arguments);null==r?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}function j(e,t){return e.style.getPropertyValue(t)||P(e).getComputedStyle(e,null).getPropertyValue(t)}function T(e){return function(){delete this[e]}}function I(e,t){return function(){this[e]=t}}function R(e,t){return function(){var n=t.apply(this,arguments);null==n?delete this[e]:this[e]=n}}function N(e){return e.trim().split(/^|\s+/)}function L(e){return e.classList||new z(e)}function z(e){this._node=e,this._names=N(e.getAttribute("class")||"")}function W(e,t){for(var n=L(e),r=-1,i=t.length;++r<i;)n.add(t[r])}function U(e,t){for(var n=L(e),r=-1,i=t.length;++r<i;)n.remove(t[r])}function H(e){return function(){W(this,e)}}function V(e){return function(){U(this,e)}}function $(e,t){return function(){(t.apply(this,arguments)?W:U)(this,e)}}function K(){this.textContent=""}function Y(e){return function(){this.textContent=e}}function q(e){return function(){var t=e.apply(this,arguments);this.textContent=null==t?"":t}}function X(){this.innerHTML=""}function G(e){return function(){this.innerHTML=e}}function J(e){return function(){var t=e.apply(this,arguments);this.innerHTML=null==t?"":t}}function Z(){this.nextSibling&&this.parentNode.appendChild(this)}function Q(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function ee(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===D&&t.documentElement.namespaceURI===D?t.createElement(e):t.createElementNS(n,e)}}function te(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function ne(e){var t=E(e);return(t.local?te:ee)(t)}function re(){return null}function ie(){var e=this.parentNode;e&&e.removeChild(this)}function oe(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function ae(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function ue(e){return function(){var t=this.__on;if(t){for(var n,r=0,i=-1,o=t.length;r<o;++r)n=t[r],e.type&&n.type!==e.type||n.name!==e.name?t[++i]=n:this.removeEventListener(n.type,n.listener,n.options);++i?t.length=i:delete this.__on}}}function se(e,t,n){return function(){var r,i=this.__on,o=function(e){return function(t){e.call(this,t,this.__data__)}}(t);if(i)for(var a=0,u=i.length;a<u;++a)if((r=i[a]).type===e.type&&r.name===e.name)return this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=o,r.options=n),void(r.value=t);this.addEventListener(e.type,o,n),r={type:e.type,name:e.name,value:t,listener:o,options:n},i?i.push(r):this.__on=[r]}}function ce(e,t,n){var r=P(e),i=r.CustomEvent;"function"===typeof i?i=new i(t,n):(i=r.document.createEvent("Event"),n?(i.initEvent(t,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(t,!1,!1)),e.dispatchEvent(i)}function le(e,t){return function(){return ce(this,e,t)}}function fe(e,t){return function(){return ce(this,e,t.apply(this,arguments))}}z.prototype={add:function(e){this._names.indexOf(e)<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};var de=[null];function pe(e,t){this._groups=e,this._parents=t}function he(){return new pe([[document.documentElement]],de)}pe.prototype=he.prototype={constructor:pe,select:function(e){"function"!==typeof e&&(e=i(e));for(var t=this._groups,n=t.length,r=new Array(n),o=0;o<n;++o)for(var a,u,s=t[o],c=s.length,l=r[o]=new Array(c),f=0;f<c;++f)(a=s[f])&&(u=e.call(a,a.__data__,f,s))&&("__data__"in a&&(u.__data__=a.__data__),l[f]=u);return new pe(r,this._parents)},selectAll:function(e){e="function"===typeof e?function(e){return function(){return o(e.apply(this,arguments))}}(e):u(e);for(var t=this._groups,n=t.length,r=[],i=[],a=0;a<n;++a)for(var s,c=t[a],l=c.length,f=0;f<l;++f)(s=c[f])&&(r.push(e.call(s,s.__data__,f,c)),i.push(s));return new pe(r,i)},selectChild:function(e){return this.select(null==e?f:function(e){return function(){return l.call(this.children,e)}}("function"===typeof e?e:c(e)))},selectChildren:function(e){return this.selectAll(null==e?p:function(e){return function(){return d.call(this.children,e)}}("function"===typeof e?e:c(e)))},filter:function(e){"function"!==typeof e&&(e=s(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i<n;++i)for(var o,a=t[i],u=a.length,c=r[i]=[],l=0;l<u;++l)(o=a[l])&&e.call(o,o.__data__,l,a)&&c.push(o);return new pe(r,this._parents)},data:function(e,t){if(!arguments.length)return Array.from(this,y);var n,r=t?g:m,i=this._parents,o=this._groups;"function"!==typeof e&&(n=e,e=function(){return n});for(var a=o.length,u=new Array(a),s=new Array(a),c=new Array(a),l=0;l<a;++l){var f=i[l],d=o[l],p=d.length,h=b(e.call(f,f&&f.__data__,l,i)),v=h.length,w=s[l]=new Array(v),D=u[l]=new Array(v);r(f,d,w,D,c[l]=new Array(p),h,t);for(var _,E,A=0,C=0;A<v;++A)if(_=w[A]){for(A>=C&&(C=A+1);!(E=D[C])&&++C<v;);_._next=E||null}}return(u=new pe(u,i))._enter=s,u._exit=c,u},enter:function(){return new pe(this._enter||this._groups.map(h),this._parents)},exit:function(){return new pe(this._exit||this._groups.map(h),this._parents)},join:function(e,t,n){var r=this.enter(),i=this,o=this.exit();return"function"===typeof e?(r=e(r))&&(r=r.selection()):r=r.append(e+""),null!=t&&(i=t(i))&&(i=i.selection()),null==n?o.remove():n(o),r&&i?r.merge(i).order():i},merge:function(e){for(var t=e.selection?e.selection():e,n=this._groups,r=t._groups,i=n.length,o=r.length,a=Math.min(i,o),u=new Array(i),s=0;s<a;++s)for(var c,l=n[s],f=r[s],d=l.length,p=u[s]=new Array(d),h=0;h<d;++h)(c=l[h]||f[h])&&(p[h]=c);for(;s<i;++s)u[s]=n[s];return new pe(u,this._parents)},selection:function(){return this},order:function(){for(var e=this._groups,t=-1,n=e.length;++t<n;)for(var r,i=e[t],o=i.length-1,a=i[o];--o>=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(e){function t(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}e||(e=w);for(var n=this._groups,r=n.length,i=new Array(r),o=0;o<r;++o){for(var a,u=n[o],s=u.length,c=i[o]=new Array(s),l=0;l<s;++l)(a=u[l])&&(c[l]=a);c.sort(t)}return new pe(i,this._parents).order()},call:function(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r=e[t],i=0,o=r.length;i<o;++i){var a=r[i];if(a)return a}return null},size:function(){let e=0;for(const t of this)++e;return e},empty:function(){return!this.node()},each:function(e){for(var t=this._groups,n=0,r=t.length;n<r;++n)for(var i,o=t[n],a=0,u=o.length;a<u;++a)(i=o[a])&&e.call(i,i.__data__,a,o);return this},attr:function(e,t){var n=E(e);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==t?n.local?C:A:"function"===typeof t?n.local?F:S:n.local?O:x)(n,t))},style:function(e,t,n){return arguments.length>1?this.each((null==t?k:"function"===typeof t?B:M)(e,t,null==n?"":n)):j(this.node(),e)},property:function(e,t){return arguments.length>1?this.each((null==t?T:"function"===typeof t?R:I)(e,t)):this.node()[e]},classed:function(e,t){var n=N(e+"");if(arguments.length<2){for(var r=L(this.node()),i=-1,o=n.length;++i<o;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"===typeof t?$:t?H:V)(n,t))},text:function(e){return arguments.length?this.each(null==e?K:("function"===typeof e?q:Y)(e)):this.node().textContent},html:function(e){return arguments.length?this.each(null==e?X:("function"===typeof e?J:G)(e)):this.node().innerHTML},raise:function(){return this.each(Z)},lower:function(){return this.each(Q)},append:function(e){var t="function"===typeof e?e:ne(e);return this.select((function(){return this.appendChild(t.apply(this,arguments))}))},insert:function(e,t){var n="function"===typeof e?e:ne(e),r=null==t?re:"function"===typeof t?t:i(t);return this.select((function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)}))},remove:function(){return this.each(ie)},clone:function(e){return this.select(e?ae:oe)},datum:function(e){return arguments.length?this.property("__data__",e):this.node().__data__},on:function(e,t,n){var r,i,o=function(e){return e.trim().split(/^|\s+/).map((function(e){var t="",n=e.indexOf(".");return n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),{type:e,name:t}}))}(e+""),a=o.length;if(!(arguments.length<2)){for(u=t?se:ue,r=0;r<a;++r)this.each(u(o[r],t,n));return this}var u=this.node().__on;if(u)for(var s,c=0,l=u.length;c<l;++c)for(r=0,s=u[c];r<a;++r)if((i=o[r]).type===s.type&&i.name===s.name)return s.value},dispatch:function(e,t){return this.each(("function"===typeof t?fe:le)(e,t))},[Symbol.iterator]:function*(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r,i=e[t],o=0,a=i.length;o<a;++o)(r=i[o])&&(yield r)}};const ve=he;var me={value:()=>{}};function ge(){for(var e,t=0,n=arguments.length,r={};t<n;++t){if(!(e=arguments[t]+"")||e in r||/[\s.]/.test(e))throw new Error("illegal type: "+e);r[e]=[]}return new ye(r)}function ye(e){this._=e}function be(e,t){for(var n,r=0,i=e.length;r<i;++r)if((n=e[r]).name===t)return n.value}function we(e,t,n){for(var r=0,i=e.length;r<i;++r)if(e[r].name===t){e[r]=me,e=e.slice(0,r).concat(e.slice(r+1));break}return null!=n&&e.push({name:t,value:n}),e}ye.prototype=ge.prototype={constructor:ye,on:function(e,t){var n,r,i=this._,o=(r=i,(e+"").trim().split(/^|\s+/).map((function(e){var t="",n=e.indexOf(".");if(n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),e&&!r.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:t}}))),a=-1,u=o.length;if(!(arguments.length<2)){if(null!=t&&"function"!==typeof t)throw new Error("invalid callback: "+t);for(;++a<u;)if(n=(e=o[a]).type)i[n]=we(i[n],e.name,t);else if(null==t)for(n in i)i[n]=we(i[n],e.name,null);return this}for(;++a<u;)if((n=(e=o[a]).type)&&(n=be(i[n],e.name)))return n},copy:function(){var e={},t=this._;for(var n in t)e[n]=t[n].slice();return new ye(e)},call:function(e,t){if((n=arguments.length-2)>0)for(var n,r,i=new Array(n),o=0;o<n;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(o=0,n=(r=this._[e]).length;o<n;++o)r[o].value.apply(t,i)},apply:function(e,t,n){if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(var r=this._[e],i=0,o=r.length;i<o;++i)r[i].value.apply(t,n)}};const De=ge;var _e,Ee,Ae=0,Ce=0,xe=0,Oe=0,Se=0,Fe=0,Pe="object"===typeof performance&&performance.now?performance:Date,ke="object"===typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function Me(){return Se||(ke(Be),Se=Pe.now()+Fe)}function Be(){Se=0}function je(){this._call=this._time=this._next=null}function Te(e,t,n){var r=new je;return r.restart(e,t,n),r}function Ie(){Se=(Oe=Pe.now())+Fe,Ae=Ce=0;try{!function(){Me(),++Ae;for(var e,t=_e;t;)(e=Se-t._time)>=0&&t._call.call(void 0,e),t=t._next;--Ae}()}finally{Ae=0,function(){var e,t,n=_e,r=1/0;for(;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:_e=t);Ee=e,Ne(r)}(),Se=0}}function Re(){var e=Pe.now(),t=e-Oe;t>1e3&&(Fe-=t,Oe=e)}function Ne(e){Ae||(Ce&&(Ce=clearTimeout(Ce)),e-Se>24?(e<1/0&&(Ce=setTimeout(Ie,e-Pe.now()-Fe)),xe&&(xe=clearInterval(xe))):(xe||(Oe=Pe.now(),xe=setInterval(Re,1e3)),Ae=1,ke(Ie)))}function Le(e,t,n){var r=new je;return t=null==t?0:+t,r.restart((n=>{r.stop(),e(n+t)}),t,n),r}je.prototype=Te.prototype={constructor:je,restart:function(e,t,n){if("function"!==typeof e)throw new TypeError("callback is not a function");n=(null==n?Me():+n)+(null==t?0:+t),this._next||Ee===this||(Ee?Ee._next=this:_e=this,Ee=this),this._call=e,this._time=n,Ne()},stop:function(){this._call&&(this._call=null,this._time=1/0,Ne())}};var ze=De("start","end","cancel","interrupt"),We=[];function Ue(e,t,n,r,i,o){var a=e.__transition;if(a){if(n in a)return}else e.__transition={};!function(e,t,n){var r,i=e.__transition;function o(e){n.state=1,n.timer.restart(a,n.delay,n.time),n.delay<=e&&a(e-n.delay)}function a(o){var c,l,f,d;if(1!==n.state)return s();for(c in i)if((d=i[c]).name===n.name){if(3===d.state)return Le(a);4===d.state?(d.state=6,d.timer.stop(),d.on.call("interrupt",e,e.__data__,d.index,d.group),delete i[c]):+c<t&&(d.state=6,d.timer.stop(),d.on.call("cancel",e,e.__data__,d.index,d.group),delete i[c])}if(Le((function(){3===n.state&&(n.state=4,n.timer.restart(u,n.delay,n.time),u(o))})),n.state=2,n.on.call("start",e,e.__data__,n.index,n.group),2===n.state){for(n.state=3,r=new Array(f=n.tween.length),c=0,l=-1;c<f;++c)(d=n.tween[c].value.call(e,e.__data__,n.index,n.group))&&(r[++l]=d);r.length=l+1}}function u(t){for(var i=t<n.duration?n.ease.call(null,t/n.duration):(n.timer.restart(s),n.state=5,1),o=-1,a=r.length;++o<a;)r[o].call(e,i);5===n.state&&(n.on.call("end",e,e.__data__,n.index,n.group),s())}function s(){for(var r in n.state=6,n.timer.stop(),delete i[t],i)return;delete e.__transition}i[t]=n,n.timer=Te(o,0,n.time)}(e,n,{name:t,index:r,group:i,on:ze,tween:We,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:0})}function He(e,t){var n=$e(e,t);if(n.state>0)throw new Error("too late; already scheduled");return n}function Ve(e,t){var n=$e(e,t);if(n.state>3)throw new Error("too late; already running");return n}function $e(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}var Ke,Ye=n(7582),qe=180/Math.PI,Xe={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Ge(e,t,n,r,i,o){var a,u,s;return(a=Math.sqrt(e*e+t*t))&&(e/=a,t/=a),(s=e*n+t*r)&&(n-=e*s,r-=t*s),(u=Math.sqrt(n*n+r*r))&&(n/=u,r/=u,s/=u),e*r<t*n&&(e=-e,t=-t,s=-s,a=-a),{translateX:i,translateY:o,rotate:Math.atan2(t,e)*qe,skewX:Math.atan(s)*qe,scaleX:a,scaleY:u}}function Je(e,t,n,r){function i(e){return e.length?e.pop()+" ":""}return function(o,a){var u=[],s=[];return o=e(o),a=e(a),function(e,r,i,o,a,u){if(e!==i||r!==o){var s=a.push("translate(",null,t,null,n);u.push({i:s-4,x:(0,Ye.A)(e,i)},{i:s-2,x:(0,Ye.A)(r,o)})}else(i||o)&&a.push("translate("+i+t+o+n)}(o.translateX,o.translateY,a.translateX,a.translateY,u,s),function(e,t,n,o){e!==t?(e-t>180?t+=360:t-e>180&&(e+=360),o.push({i:n.push(i(n)+"rotate(",null,r)-2,x:(0,Ye.A)(e,t)})):t&&n.push(i(n)+"rotate("+t+r)}(o.rotate,a.rotate,u,s),function(e,t,n,o){e!==t?o.push({i:n.push(i(n)+"skewX(",null,r)-2,x:(0,Ye.A)(e,t)}):t&&n.push(i(n)+"skewX("+t+r)}(o.skewX,a.skewX,u,s),function(e,t,n,r,o,a){if(e!==n||t!==r){var u=o.push(i(o)+"scale(",null,",",null,")");a.push({i:u-4,x:(0,Ye.A)(e,n)},{i:u-2,x:(0,Ye.A)(t,r)})}else 1===n&&1===r||o.push(i(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,u,s),o=a=null,function(e){for(var t,n=-1,r=s.length;++n<r;)u[(t=s[n]).i]=t.x(e);return u.join("")}}}var Ze=Je((function(e){const t=new("function"===typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(e+"");return t.isIdentity?Xe:Ge(t.a,t.b,t.c,t.d,t.e,t.f)}),"px, ","px)","deg)"),Qe=Je((function(e){return null==e?Xe:(Ke||(Ke=document.createElementNS("http://www.w3.org/2000/svg","g")),Ke.setAttribute("transform",e),(e=Ke.transform.baseVal.consolidate())?Ge((e=e.matrix).a,e.b,e.c,e.d,e.e,e.f):Xe)}),", ",")",")");function et(e,t){var n,r;return function(){var i=Ve(this,e),o=i.tween;if(o!==n)for(var a=0,u=(r=n=o).length;a<u;++a)if(r[a].name===t){(r=r.slice()).splice(a,1);break}i.tween=r}}function tt(e,t,n){var r,i;if("function"!==typeof n)throw new Error;return function(){var o=Ve(this,e),a=o.tween;if(a!==r){i=(r=a).slice();for(var u={name:t,value:n},s=0,c=i.length;s<c;++s)if(i[s].name===t){i[s]=u;break}s===c&&i.push(u)}o.tween=i}}function nt(e,t,n){var r=e._id;return e.each((function(){var e=Ve(this,r);(e.value||(e.value={}))[t]=n.apply(this,arguments)})),function(e){return $e(e,r).value[t]}}var rt=n(30846),it=n(70410),ot=n(11670);function at(e,t){var n;return("number"===typeof t?Ye.A:t instanceof rt.Ay?it.Ay:(n=(0,rt.Ay)(t))?(t=n,it.Ay):ot.A)(e,t)}function ut(e){return function(){this.removeAttribute(e)}}function st(e){return function(){this.removeAttributeNS(e.space,e.local)}}function ct(e,t,n){var r,i,o=n+"";return function(){var a=this.getAttribute(e);return a===o?null:a===r?i:i=t(r=a,n)}}function lt(e,t,n){var r,i,o=n+"";return function(){var a=this.getAttributeNS(e.space,e.local);return a===o?null:a===r?i:i=t(r=a,n)}}function ft(e,t,n){var r,i,o;return function(){var a,u,s=n(this);if(null!=s)return(a=this.getAttribute(e))===(u=s+"")?null:a===r&&u===i?o:(i=u,o=t(r=a,s));this.removeAttribute(e)}}function dt(e,t,n){var r,i,o;return function(){var a,u,s=n(this);if(null!=s)return(a=this.getAttributeNS(e.space,e.local))===(u=s+"")?null:a===r&&u===i?o:(i=u,o=t(r=a,s));this.removeAttributeNS(e.space,e.local)}}function pt(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&function(e,t){return function(n){this.setAttributeNS(e.space,e.local,t.call(this,n))}}(e,i)),n}return i._value=t,i}function ht(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&function(e,t){return function(n){this.setAttribute(e,t.call(this,n))}}(e,i)),n}return i._value=t,i}function vt(e,t){return function(){He(this,e).delay=+t.apply(this,arguments)}}function mt(e,t){return t=+t,function(){He(this,e).delay=t}}function gt(e,t){return function(){Ve(this,e).duration=+t.apply(this,arguments)}}function yt(e,t){return t=+t,function(){Ve(this,e).duration=t}}var bt=ve.prototype.constructor;function wt(e){return function(){this.style.removeProperty(e)}}var Dt=0;function _t(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function Et(){return++Dt}var At=ve.prototype;_t.prototype=function(e){return ve().transition(e)}.prototype={constructor:_t,select:function(e){var t=this._name,n=this._id;"function"!==typeof e&&(e=i(e));for(var r=this._groups,o=r.length,a=new Array(o),u=0;u<o;++u)for(var s,c,l=r[u],f=l.length,d=a[u]=new Array(f),p=0;p<f;++p)(s=l[p])&&(c=e.call(s,s.__data__,p,l))&&("__data__"in s&&(c.__data__=s.__data__),d[p]=c,Ue(d[p],t,n,p,d,$e(s,n)));return new _t(a,this._parents,t,n)},selectAll:function(e){var t=this._name,n=this._id;"function"!==typeof e&&(e=u(e));for(var r=this._groups,i=r.length,o=[],a=[],s=0;s<i;++s)for(var c,l=r[s],f=l.length,d=0;d<f;++d)if(c=l[d]){for(var p,h=e.call(c,c.__data__,d,l),v=$e(c,n),m=0,g=h.length;m<g;++m)(p=h[m])&&Ue(p,t,n,m,h,v);o.push(h),a.push(c)}return new _t(o,a,t,n)},selectChild:At.selectChild,selectChildren:At.selectChildren,filter:function(e){"function"!==typeof e&&(e=s(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i<n;++i)for(var o,a=t[i],u=a.length,c=r[i]=[],l=0;l<u;++l)(o=a[l])&&e.call(o,o.__data__,l,a)&&c.push(o);return new _t(r,this._parents,this._name,this._id)},merge:function(e){if(e._id!==this._id)throw new Error;for(var t=this._groups,n=e._groups,r=t.length,i=n.length,o=Math.min(r,i),a=new Array(r),u=0;u<o;++u)for(var s,c=t[u],l=n[u],f=c.length,d=a[u]=new Array(f),p=0;p<f;++p)(s=c[p]||l[p])&&(d[p]=s);for(;u<r;++u)a[u]=t[u];return new _t(a,this._parents,this._name,this._id)},selection:function(){return new bt(this._groups,this._parents)},transition:function(){for(var e=this._name,t=this._id,n=Et(),r=this._groups,i=r.length,o=0;o<i;++o)for(var a,u=r[o],s=u.length,c=0;c<s;++c)if(a=u[c]){var l=$e(a,t);Ue(a,e,n,c,u,{time:l.time+l.delay+l.duration,delay:0,duration:l.duration,ease:l.ease})}return new _t(r,this._parents,e,n)},call:At.call,nodes:At.nodes,node:At.node,size:At.size,empty:At.empty,each:At.each,on:function(e,t){var n=this._id;return arguments.length<2?$e(this.node(),n).on.on(e):this.each(function(e,t,n){var r,i,o=function(e){return(e+"").trim().split(/^|\s+/).every((function(e){var t=e.indexOf(".");return t>=0&&(e=e.slice(0,t)),!e||"start"===e}))}(t)?He:Ve;return function(){var a=o(this,e),u=a.on;u!==r&&(i=(r=u).copy()).on(t,n),a.on=i}}(n,e,t))},attr:function(e,t){var n=E(e),r="transform"===n?Qe:at;return this.attrTween(e,"function"===typeof t?(n.local?dt:ft)(n,r,nt(this,"attr."+e,t)):null==t?(n.local?st:ut)(n):(n.local?lt:ct)(n,r,t))},attrTween:function(e,t){var n="attr."+e;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!==typeof t)throw new Error;var r=E(e);return this.tween(n,(r.local?pt:ht)(r,t))},style:function(e,t,n){var r="transform"===(e+="")?Ze:at;return null==t?this.styleTween(e,function(e,t){var n,r,i;return function(){var o=j(this,e),a=(this.style.removeProperty(e),j(this,e));return o===a?null:o===n&&a===r?i:i=t(n=o,r=a)}}(e,r)).on("end.style."+e,wt(e)):"function"===typeof t?this.styleTween(e,function(e,t,n){var r,i,o;return function(){var a=j(this,e),u=n(this),s=u+"";return null==u&&(this.style.removeProperty(e),s=u=j(this,e)),a===s?null:a===r&&s===i?o:(i=s,o=t(r=a,u))}}(e,r,nt(this,"style."+e,t))).each(function(e,t){var n,r,i,o,a="style."+t,u="end."+a;return function(){var s=Ve(this,e),c=s.on,l=null==s.value[a]?o||(o=wt(t)):void 0;c===n&&i===l||(r=(n=c).copy()).on(u,i=l),s.on=r}}(this._id,e)):this.styleTween(e,function(e,t,n){var r,i,o=n+"";return function(){var a=j(this,e);return a===o?null:a===r?i:i=t(r=a,n)}}(e,r,t),n).on("end.style."+e,null)},styleTween:function(e,t,n){var r="style."+(e+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==t)return this.tween(r,null);if("function"!==typeof t)throw new Error;return this.tween(r,function(e,t,n){var r,i;function o(){var o=t.apply(this,arguments);return o!==i&&(r=(i=o)&&function(e,t,n){return function(r){this.style.setProperty(e,t.call(this,r),n)}}(e,o,n)),r}return o._value=t,o}(e,t,null==n?"":n))},text:function(e){return this.tween("text","function"===typeof e?function(e){return function(){var t=e(this);this.textContent=null==t?"":t}}(nt(this,"text",e)):function(e){return function(){this.textContent=e}}(null==e?"":e+""))},textTween:function(e){var t="text";if(arguments.length<1)return(t=this.tween(t))&&t._value;if(null==e)return this.tween(t,null);if("function"!==typeof e)throw new Error;return this.tween(t,function(e){var t,n;function r(){var r=e.apply(this,arguments);return r!==n&&(t=(n=r)&&function(e){return function(t){this.textContent=e.call(this,t)}}(r)),t}return r._value=e,r}(e))},remove:function(){return this.on("end.remove",function(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}(this._id))},tween:function(e,t){var n=this._id;if(e+="",arguments.length<2){for(var r,i=$e(this.node(),n).tween,o=0,a=i.length;o<a;++o)if((r=i[o]).name===e)return r.value;return null}return this.each((null==t?et:tt)(n,e,t))},delay:function(e){var t=this._id;return arguments.length?this.each(("function"===typeof e?vt:mt)(t,e)):$e(this.node(),t).delay},duration:function(e){var t=this._id;return arguments.length?this.each(("function"===typeof e?gt:yt)(t,e)):$e(this.node(),t).duration},ease:function(e){var t=this._id;return arguments.length?this.each(function(e,t){if("function"!==typeof t)throw new Error;return function(){Ve(this,e).ease=t}}(t,e)):$e(this.node(),t).ease},easeVarying:function(e){if("function"!==typeof e)throw new Error;return this.each(function(e,t){return function(){var n=t.apply(this,arguments);if("function"!==typeof n)throw new Error;Ve(this,e).ease=n}}(this._id,e))},end:function(){var e,t,n=this,r=n._id,i=n.size();return new Promise((function(o,a){var u={value:a},s={value:function(){0===--i&&o()}};n.each((function(){var n=Ve(this,r),i=n.on;
1i!==e&&((t=(e=i).copy())._.cancel.push(u),t._.interrupt.push(u),t._.end.push(s)),n.on=t})),0===i&&o()}))},[Symbol.iterator]:At[Symbol.iterator]};var Ct={time:null,delay:0,duration:250,ease:function(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}};function xt(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))throw new Error("transition ".concat(t," not found"));return n}ve.prototype.interrupt=function(e){return this.each((function(){!function(e,t){var n,r,i,o=e.__transition,a=!0;if(o){for(i in t=null==t?null:t+"",o)(n=o[i]).name===t?(r=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",e,e.__data__,n.index,n.group),delete o[i]):a=!1;a&&delete e.__transition}}(this,e)}))},ve.prototype.transition=function(e){var t,n;e instanceof _t?(t=e._id,e=e._name):(t=Et(),(n=Ct).time=Me(),e=null==e?null:e+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var a,u=r[o],s=u.length,c=0;c<s;++c)(a=u[c])&&Ue(a,e,t,c,u,n||xt(a,t));return new _t(r,this._parents,e,t)};Math.abs,Math.max,Math.min;function Ot(e){return[+e[0],+e[1]]}function St(e){return[Ot(e[0]),Ot(e[1])]}["w","e"].map(Ft),["n","s"].map(Ft),["n","w","e","s","nw","ne","sw","se"].map(Ft);function Ft(e){return{type:e}}function Pt(e){return"string"===typeof e?new pe([[document.querySelector(e)]],[document.documentElement]):new pe([[e]],de)}function kt(e){return"string"===typeof e?new pe([document.querySelectorAll(e)],[document.documentElement]):new pe([o(e)],de)}function Mt(e,t,n){this.k=e,this.x=t,this.y=n}Mt.prototype={constructor:Mt,scale:function(e){return 1===e?this:new Mt(this.k*e,this.x,this.y)},translate:function(e,t){return 0===e&0===t?this:new Mt(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};new Mt(1,0,0);Mt.prototype},19697:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(97920),i=n(49506),o=n(36938);const a=(e,t,n,r)=>{e.style.transition="".concat(t," ").concat(n,"ms ").concat(r)},u=(e,t,n)=>Math.min(Math.max(e,t),n);class s{constructor(e,t){this.glareAngle=0,this.glareOpacity=0,this.calculateGlareSize=e=>{const t=e.width,n=e.height,r=Math.sqrt(t**2+n**2);return{width:r,height:r}},this.setSize=e=>{const t=this.calculateGlareSize(e);this.glareEl.style.width="".concat(t.width,"px"),this.glareEl.style.height="".concat(t.height,"px")},this.update=(e,t,n,r)=>{this.updateAngle(e,t.glareReverse),this.updateOpacity(e,t,n,r)},this.updateAngle=(e,t)=>{const n=e.xPercentage,r=e.yPercentage,i=180/Math.PI,o=n?Math.atan2(r,-n)*i:0;this.glareAngle=o-(t?180:0)},this.updateOpacity=(e,t,n,r)=>{const i=e.xPercentage,o=e.yPercentage,a=t.glarePosition,s=t.glareReverse,c=t.glareMaxOpacity,l=n?-1:1,f=r?-1:1,d=s?-1:1;let p=0;switch(a){case"top":p=-i*l*d;break;case"right":p=o*f*d;break;case"bottom":case void 0:p=i*l*d;break;case"left":p=-o*f*d;break;case"all":p=Math.hypot(i,o)}const h=u(p,0,100);this.glareOpacity=h*c/100},this.render=e=>{const t=e.glareColor;this.glareEl.style.transform="rotate(".concat(this.glareAngle,"deg) translate(-50%, -50%)"),this.glareEl.style.opacity=this.glareOpacity.toString(),this.glareEl.style.background="linear-gradient(0deg, rgba(255,255,255,0) 0%, ".concat(t," 100%)")},this.glareWrapperEl=document.createElement("div"),this.glareEl=document.createElement("div"),this.glareWrapperEl.appendChild(this.glareEl),this.glareWrapperEl.className="glare-wrapper",this.glareEl.className="glare";const n={position:"absolute",top:"0",left:"0",width:"100%",height:"100%",overflow:"hidden",borderRadius:t,WebkitMaskImage:"-webkit-radial-gradient(white, black)",pointerEvents:"none"},r=this.calculateGlareSize(e),i={position:"absolute",top:"50%",left:"50%",transformOrigin:"0% 0%",pointerEvents:"none",width:"".concat(r.width,"px"),height:"".concat(r.height,"px")};Object.assign(this.glareWrapperEl.style,n),Object.assign(this.glareEl.style,i)}}class c{constructor(){this.glareAngle=0,this.glareOpacity=0,this.tiltAngleX=0,this.tiltAngleY=0,this.tiltAngleXPercentage=0,this.tiltAngleYPercentage=0,this.update=(e,t)=>
1{this.updateTilt(e,t),this.updateTiltManualInput(e,t),this.updateTiltReverse(t),this.updateTiltLimits(t)},this.updateTilt=(e,t)=>{const n=e.xPercentage,r=e.yPercentage,i=t.tiltMaxAngleX,o=t.tiltMaxAngleY;this.tiltAngleX=n*i/100,this.tiltAngleY=r*o/100*-1},this.updateTiltManualInput=(e,t)=>{const n=t.tiltAngleXManual,r=t.tiltAngleYManual,i=t.tiltMaxAngleX,o=t.tiltMaxAngleY;(null!==n||null!==r)&&(this.tiltAngleX=null!==n?n:0,this.tiltAngleY=null!==r?r:0,e.xPercentage=100*this.tiltAngleX/i,e.yPercentage=100*this.tiltAngleY/o)},this.updateTiltReverse=e=>{const t=e.tiltReverse?-1:1;this.tiltAngleX=t*this.tiltAngleX,this.tiltAngleY=t*this.tiltAngleY},this.updateTiltLimits=e=>{const t=e.tiltAxis;this.tiltAngleX=u(this.tiltAngleX,-90,90),this.tiltAngleY=u(this.tiltAngleY,-90,90),t&&(this.tiltAngleX="x"===t?this.tiltAngleX:0,this.tiltAngleY="y"===t?this.tiltAngleY:0)},this.updateTiltAnglesPercentage=e=>{const t=e.tiltMaxAngleX,n=e.tiltMaxAngleY;this.tiltAngleXPercentage=this.tiltAngleX/t*100,this.tiltAngleYPercentage=this.tiltAngleY/n*100},this.render=e=>{e.style.transform+="rotateX(".concat(this.tiltAngleX,"deg) rotateY(").concat(this.tiltAngleY,"deg) ")}}}const l=(0,r.A)((0,r.A)({scale:1,perspective:1e3,flipVertically:!1,flipHorizontally:!1,reset:!0,transitionEasing:"cubic-bezier(.03,.98,.52,.99)",transitionSpeed:400,trackOnWindow:!1,gyroscope:!1},{tiltEnable:!0,tiltReverse:!1,tiltAngleXInitial:0,tiltAngleYInitial:0,tiltMaxAngleX:20,tiltMaxAngleY:20,tiltAxis:void 0,tiltAngleXManual:null,tiltAngleYManual:null}),{},{glareEnable:!1,glareMaxOpacity:.7,glareColor:"#ffffff",glarePosition:"bottom",glareReverse:!1,glareBorderRadius:"0"});class f extends o.PureComponent{constructor(){super(...arguments),this.wrapperEl={node:null,size:{width:0,height:0,left:0,top:0},clientPosition:{x:null,y:null,xPercentage:0,yPercentage:0},updateAnimationId:null,scale:1},this.tilt=null,this.glare=null,this.addDeviceOrientationEventListener=async()=>{if(!window.DeviceOrientationEvent)return;const e=DeviceOrientationEvent.requestPermission;"function"==typeof e?"granted"===await e()&&window.addEventListener("deviceorientation",this.onMove):window.addEventListener("deviceorientation",this.onMove)},this.setSize=()=>{this.setWrapperElSize(),this.glare&&this.glare.setSize(this.wrapperEl.size)},this.mainLoop=e=>{null!==this.wrapperEl.updateAnimationId&&cancelAnimationFrame(this.wrapperEl.updateAnimationId),this.processInput(e),this.update(e.type),this.wrapperEl.updateAnimationId=requestAnimationFrame(this.renderFrame)},this.onEnter=e=>{const t=this.props.onEnter;this.setSize(),this.wrapperEl.node.style.willChange="transform",this.setTransitions(),t&&t({event:e})},this.onMove=e=>{this.mainLoop(e),this.emitOnMove(e)},this.onLeave=e=>{const t=this.props.onLeave;if(this.setTransitions(),t&&t({event:e}),this.props.reset){const e=new CustomEvent("autoreset");this.onMove(e)}},this.processInput=e=>{const t=this.props.scale;switch(e.type){case"mousemove":this.wrapperEl.clientPosition.x=e.pageX,this.wrapperEl.clientPosition.y=e.pageY,this.wrapperEl.scale=t;break;case"touchmove":this.wrapperEl.clientPosition.x=e.touches[0].pageX,this.wrapperEl.clientPosition.y=e.touches[0].pageY,this.wrapperEl.scale=t;break;case"deviceorientation":this.processInputDeviceOrientation(e),this.wrapperEl.scale=t;break;case"autoreset":{const e=this.props,t=e.tiltAngleXInitial,n=e.tiltAngleYInitial,r=e.tiltMaxAngleX,i=n/e.tiltMaxAngleY*100;this.wrapperEl.clientPosition.xPercentage=u(t/r*100,-100,100),this.wrapperEl.clientPosition.yPercentage=u(i,-100,100),this.wrapperEl.scale=1;break}}},this.processInputDeviceOrientation=e=>{if(!e.gamma||!e.beta||!this.props.gyroscope)return;const t=this.props,n=t.tiltMaxAngleX,r=t.tiltMaxAngleY,i=e.gamma;this.wrapperEl.clientPosition.xPercentage=e.beta/n*100,this.wrapperEl.clientPosition.yPercentage=i/r*100,this.wrapperEl.clientPosition.xPercentage=u(this.wrapperEl.clientPosition.xPercentage,-100,100),this.wrapperEl.clientPosition.yPercentage=u(this.wrapperEl.clientPosition.yPercentage,-100,100)},this.update=e=>{const t=this.props,n=t.tiltEnable,r=t.flipVertically,i=t.flipHorizontally;"autoreset"!==e&&"deviceorientation"!==e&&"propChange"!==e&&this.updateClientInput(),n&&this.tilt.update(this.wrapperEl.clientPosition,this.props),this.updateFlip(),this.tilt.updateTiltAnglesPercentage(this.props),this.glare&&this.glare.update(this.wrapperEl.clientPosition,this.props,r,i)},this.updateClientInput=()=>{let e,t;if(this.props.trackOnWindow){const n=this.wrapperEl.clientPosition,r=n.x;e=n.y/window.innerHeight*200-100,t=r/window.innerWidth*200-100}else{const n=this.wrapperEl,r=n.size,i=r.width,o=r.height,a=r.left,u=r.top,s=n.clientPosition,c=s.x;e=(s.y-u)/o*200-100,t=(c-a)/i*200-100}this.wrapperEl.clientPosition.xPercentage=u(e,-100,100),this.wrapperEl.clientPosition.yPercentage=u(t,-100,100)},this.updateFlip=()=>{const e=this.props,t=e.flipVertically,n=e.flipHorizontally;t&&(this.tilt.tiltAngleX+=180,this.tilt.tiltAngleY*=-1),n&&(this.tilt.tiltAngleY+=180)},this.renderFrame=()=>{this.resetWrapperElTransform(),this.renderPerspective(),this.tilt.render(this.wrapperEl.node),this.renderScale(),this.glare&&this.glare.render(this.props)}}componentDidMount(){if(this.tilt=new c,this.initGlare(),this.setSize(),this.addEventListeners(),"undefined"==typeof CustomEvent)return;const e=new CustomEvent("autoreset");this.mainLoop(e);const t=new CustomEvent("initial");this.emitOnMove(t)}componentWillUnmount(){null!==this.wrapperEl.updateAnimationId&&cancelAnimationFrame(this.wrapperEl.updateAnimationId),this.removeEventListeners()}componentDidUpdate(){const e=new CustomEvent("propChange");this.mainLoop(e),this.emitOnMove(e)}addEventListeners(){const e=this.props,t=e.trackOnWindow,n=e.gyroscope;window.addEventListener("resize",this.setSize),t&&(window.addEventListener("mouseenter",this.onEnter),window.addEventListener("mousemove",this.onMove),window.addEventListener("mouseout",this.onLeave),window.addEventListener("touchstart",this.onEnter),window.addEventListener("touchmove",this.onMove),window.addEventListener("touchend",this.onLeave)),n&&this.addDeviceOrientationEventListener()}removeEventListeners(){const e=this.props,t=e.trackOnWindow,n=e.gyroscope;window.removeEventListener("resize",this.setSize),t&&(window.removeEventListener("mouseenter",this.onEnter),window.removeEventListener("mousemove",this.onMove),window.removeEventListener("mouseout",this.onLeave),window.removeEventListener("touchstart",this.onEnter),window.removeEventListener("touchmove",this.onMove),window.removeEventListener("touchend",this.onLeave)),n&&window.DeviceOrientationEvent&&window.removeEventListener("deviceorientation",this.onMove)}setWrapperElSize(){const e=this.wrapperEl.node.getBoundingClientRect();this.wrapperEl.size.width=this.wrapperEl.node.offsetWidth,this.wrapperEl.size.height=this.wrapperEl.node.offsetHeight,this.wrapperEl.size.left=e.left+window.scrollX,this.wrapperEl.size.top=e.top+window.scrollY}initGlare(){const e=this.props,t=e.glareEnable,n=e.glareBorderRadius;t&&(this.glare=new s(this.wrapperEl.size,n),this.wrapperEl.node.appendChild(this.glare.glareWrapperEl))}emitOnMove(e){const t=this.props.onMove;if(!t)return;let n=0,r=0;this.glare&&(n=this.glare.glareAngle,r=this.glare.glareOpacity),t({tiltAngleX:this.tilt.tiltAngleX,tiltAngleY:this.tilt.tiltAngleY,tiltAngleXPercentage:this.tilt.tiltAngleXPercentage,tiltAngleYPercentage:this.tilt.tiltAngleYPercentage,glareAngle:n,glareOpacity:r,event:e})}resetWrapperElTransform(){this.wrapperEl.node.style.transform=""}renderPerspective(){const e=this.props.perspective;this.wrapperEl.node.style.transform+="perspective(".concat(e,"px) ")}renderScale(){const e=this.wrapperEl.scale;this.wrapperEl.node.style.transform+="scale3d(".concat(e,",").concat(e,",").concat(e,")")}setTransitions(){const e=this.props,t=e.transitionSpeed,n=e.transitionEasing;a(this.wrapperEl.node,"all",t,n),this.glare&&a(this.glare.glareEl,"opacity",t,n)}render(){const e=this.props,t=e.children,n=e.className,r=e.style;return(0,i.jsx)("div",{ref:e=>{this.wrapperEl.node=e},onMouseEnter:this.onEnter,onMouseMove:this.onMove,onMouseLeave:this.onLeave,onTouchStart:this.onEnter,onTouchMove:this.onMove,onTouchEnd:this.onLeave,className:n,style:r,children:t})}}f.defaultProps=l},43595:(e,t,n)=>{"use strict";n.d(t,{P:()=>o});var r=n(7979),i=(e,t,n)=>(r,i)=>({pastStates:(null===n||void 0===n?void 0:n.pastStates)||[],futureStates:(null===n||void 0===n?void 0:n.futureStates)||[],undo:function(){let o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;if(i().pastStates.length){var a,u;const s=(null===n||void 0===n||null===(a=n.partialize)||void 0===a?void 0:a.call(n,t()))||t(),c=i().pastStates.splice(-o,o),l=c.shift();e(l),r({pastStates:i().pastStates,futureStates:i().futureStates.concat((null===n||void 0===n||null===(u=n.diff)||void 0===u?void 0:u.call(n,s,l))||s,c.reverse())})}},redo:function(){let o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;if(i().futureStates.length){var a,u;const s=(null===n||void 0===n||null===(a=n.partialize)||void 0===a?void 0:a.call(n,t()))||t(),c=i().futureStates.splice(-o,o),l=c.shift();e(l),r({pastStates:i().pastStates.concat((null===n||void 0===n||null===(u=n.diff)||void 0===u?void 0:u.call(n,s,l))||s,c.reverse()),futureStates:i().futureStates})}},clear:()=>r({pastStates:[],futureStates:[]}),isTracking:!0,pause:()=>r({isTracking:!1}),resume:()=>r({isTracking:!0}),setOnSave:e=>r({_onSave:e}),_onSave:null===n||void 0===n?void 0:n.onSave,_handleSet:(e,t,o,a)=>{var u,s;null!==n&&void 0!==n&&n.limit&&i().pastStates.length>=(null===n||void 0===n?void 0:n.limit)&&i().pastStates.shift(),null===(u=(s=i())._onSave)||void 0===u||u.call(s,e,o),r({pastStates:i().pastStates.concat(a||e),futureStates:[]})}}),o=(e,t)=>(n,o,a)=>{var u,s;a.temporal=(0,r.y)((null===t||void 0===t||null===(u=t.wrapTemporal)||void 0===u?void 0:u.call(t,i(n,o,t)))||i(n,o,t));const c=(null===t||void 0===t||null===(s=t.handleSet)||void 0===s?void 0:s.call(t,a.temporal.getState()._handleSet))||a.temporal.getState()._handleSet,l=e=>{var n,r,i;if(!a.temporal.getState().isTracking)return;const u=(null===t||void 0===t||null===(n=t.partialize)||void 0===n?void 0:n.call(t,o()))||o(),s=null===t||void 0===t||null===(r=t.diff)||void 0===r?void 0:r.call(t,e,u);null===s||null!==t&&void 0!==t&&null!==(i=t.equality)&&void 0!==i&&i.call(t,e,u)||c(e,void 0,u,s)},f=a.setState;return a.setState=function(){var e;const n=(null===t||void 0===t||null===(e=t.partialize)||void 0===e?void 0:e.call(t,o()))||o();f(...arguments),l(n)},e((function(){var e;const r=(null===t||void 0===t||null===(e=t.partialize)||void 0===e?void 0:e.call(t,o()))||o();n(...arguments),l(r)}),o,a)}}}]); 2//# sourceMappingURL=5419.7526b9bf.chunk.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.