@windstream/react-shared-components 0.1.22 → 0.1.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/core.d.ts CHANGED
@@ -63,7 +63,7 @@ declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAtt
63
63
  size?: "slim" | "medium" | "large" | undefined;
64
64
  label?: string | undefined;
65
65
  errorText?: string | undefined;
66
- prefixIconName?: "search" | "location_on" | undefined;
66
+ prefixIconName?: "location_on" | "search" | undefined;
67
67
  prefixIconSize?: 20 | 24 | 40 | 48 | undefined;
68
68
  prefixIconFill?: boolean | undefined;
69
69
  suffixIconFill?: boolean | undefined;
@@ -246,10 +246,7 @@ type OwnProps$2 = {
246
246
  };
247
247
  type ModalProps = OwnProps$2 & Props;
248
248
 
249
- type ExtendedModalProps = ModalProps & {
250
- bodyAttributes?: React__default.HTMLAttributes<HTMLDivElement>;
251
- };
252
- declare const Modal: React__default.FC<ExtendedModalProps>;
249
+ declare const Modal: React__default.FC<ModalProps>;
253
250
 
254
251
  declare const Accordion: React.FC<AccordionProps>;
255
252
 
@@ -348,7 +345,7 @@ type ButtonAsAnchor = ButtonCustomProps & Omit<AnchorHTMLAttributes<HTMLAnchorEl
348
345
  };
349
346
  type ButtonProps = ButtonAsButton | ButtonAsAnchor;
350
347
 
351
- declare const BrandButton: React__default.ForwardRefExoticComponent<ButtonProps$2 & React__default.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
348
+ declare const BrandButton: React__default.ForwardRefExoticComponent<ButtonProps$2 & React__default.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
352
349
 
353
350
  declare const Checklist: React__default.FC<ChecklistProps>;
354
351
 
package/dist/index.d.ts CHANGED
@@ -246,10 +246,7 @@ type OwnProps$2 = {
246
246
  };
247
247
  type ModalProps = OwnProps$2 & Props;
248
248
 
249
- type ExtendedModalProps = ModalProps & {
250
- bodyAttributes?: React__default.HTMLAttributes<HTMLDivElement>;
251
- };
252
- declare const Modal: React__default.FC<ExtendedModalProps>;
249
+ declare const Modal: React__default.FC<ModalProps>;
253
250
 
254
251
  declare const Accordion: React.FC<AccordionProps>;
255
252
 
package/dist/index.esm.js CHANGED
@@ -27,7 +27,7 @@ object-assign
27
27
  *
28
28
  * http://api.jqueryui.com/category/ui-core/
29
29
  */
30
- var n="none",o="contents",r=/^(input|select|textarea|button|object|iframe)$/;function i(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var r=window.getComputedStyle(e),i=r.getPropertyValue("display");return t?i!==o&&function(e,t){return"visible"!==t.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0}(e,r):i===n}catch(e){return console.warn("Failed to inspect element style"),!1}}function a(e,t){var n=e.nodeName.toLowerCase();return(r.test(n)&&!e.disabled||"a"===n&&e.href||t)&&function(e){for(var t=e,n=e.getRootNode&&e.getRootNode();t&&t!==document.body;){if(n&&t===n&&(t=n.host.parentNode),i(t))return!1;t=t.parentNode}return!0}(e)}function s(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var n=isNaN(t);return(n||t>=0)&&a(e,!n)}e.exports=t.default}(Bt,Bt.exports)),Bt.exports}function Xt(){if(Rt)return Vt;Rt=1,Object.defineProperty(Vt,"__esModule",{value:!0}),Vt.resetState=function(){o=[]},Vt.log=function(){"production"!==process.env.NODE_ENV&&(console.log("focusManager ----------"),o.forEach(function(e){var t=e||{};console.log(t.nodeName,t.className,t.id)}),console.log("end focusManager ----------"))},Vt.handleBlur=a,Vt.handleFocus=s,Vt.markForFocusLater=function(){o.push(document.activeElement)},Vt.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=null;try{return void(0!==o.length&&(t=o.pop()).focus({preventScroll:e}))}catch(e){console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}},Vt.popWithoutFocus=function(){o.length>0&&o.pop()},Vt.setupScopedFocus=function(e){r=e,window.addEventListener?(window.addEventListener("blur",a,!1),document.addEventListener("focus",s,!0)):(window.attachEvent("onBlur",a),document.attachEvent("onFocus",s))},Vt.teardownScopedFocus=function(){r=null,window.addEventListener?(window.removeEventListener("blur",a),document.removeEventListener("focus",s)):(window.detachEvent("onBlur",a),document.detachEvent("onFocus",s))};var e,t=St(),n=(e=t)&&e.__esModule?e:{default:e};var o=[],r=null,i=!1;function a(){i=!0}function s(){if(i){if(i=!1,!r)return;setTimeout(function(){r.contains(document.activeElement)||((0,n.default)(r)[0]||r).focus()},0)}}return Vt}var Wt,Et={exports:{}};function Mt(){return Wt||(Wt=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,r.default)(e);if(!n.length)return void t.preventDefault();var o=void 0,a=t.shiftKey,s=n[0],l=n[n.length-1],c=i();if(e===c){if(!a)return;o=l}l!==c||a||(o=s);s===c&&a&&(o=l);if(o)return t.preventDefault(),void o.focus();var u=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null==u||"Chrome"==u[1]||null!=/\biPod\b|\biPad\b/g.exec(navigator.userAgent))return;var d=n.indexOf(c);d>-1&&(d+=a?-1:1);if(o=n[d],void 0===o)return t.preventDefault(),void(o=a?l:s).focus();t.preventDefault(),o.focus()};var n,o=St(),r=(n=o)&&n.__esModule?n:{default:n};function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return e.activeElement.shadowRoot?i(e.activeElement.shadowRoot):e.activeElement}e.exports=t.default}(Et,Et.exports)),Et.exports}var Pt,Tt,Zt={};function Ft(){if(Tt)return Pt;Tt=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=function(e,t){var n=arguments.length;t=new Array(n>1?n-1:0);for(var o=1;o<n;o++)t[o-1]=arguments[o];var r=0,i="Warning: "+e.replace(/%s/g,function(){return t[r++]});"undefined"!=typeof console&&console.error(i);try{throw new Error(i)}catch(e){}};e=function(e,n,o){var r=arguments.length;o=new Array(r>2?r-2:0);for(var i=2;i<r;i++)o[i-2]=arguments[i];if(void 0===n)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");e||t.apply(null,[n].concat(o))}}return Pt=e}var Ht,zt,jt,Jt={},Lt={exports:{}};function Yt(){if(zt)return Jt;zt=1,Object.defineProperty(Jt,"__esModule",{value:!0}),Jt.canUseDOM=Jt.SafeNodeList=Jt.SafeHTMLCollection=void 0;var e,t,n=(Ht||(Ht=1,e=Lt,function(){var t=!("undefined"==typeof window||!window.document||!window.document.createElement),n={canUseDOM:t,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:t&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:t&&!!window.screen};e.exports?e.exports=n:window.ExecutionEnvironment=n}()),Lt.exports);var o=((t=n)&&t.__esModule?t:{default:t}).default,r=o.canUseDOM?window.HTMLElement:{};return Jt.SafeHTMLCollection=o.canUseDOM?window.HTMLCollection:{},Jt.SafeNodeList=o.canUseDOM?window.NodeList:{},Jt.canUseDOM=o.canUseDOM,Jt.default=r,Jt}function Dt(){if(jt)return Zt;jt=1,Object.defineProperty(Zt,"__esModule",{value:!0}),Zt.resetState=function(){r&&(r.removeAttribute?r.removeAttribute("aria-hidden"):null!=r.length?r.forEach(function(e){return e.removeAttribute("aria-hidden")}):document.querySelectorAll(r).forEach(function(e){return e.removeAttribute("aria-hidden")}));r=null},Zt.log=function(){if("production"!==process.env.NODE_ENV){var e=r||{};console.log("ariaAppHider ----------"),console.log(e.nodeName,e.className,e.id),console.log("end ariaAppHider ----------")}},Zt.assertNodeList=i,Zt.setElement=function(e){var t=e;if("string"==typeof t&&o.canUseDOM){var n=document.querySelectorAll(t);i(n,t),t=n}return r=t||r},Zt.validateElement=a,Zt.hide=function(e){var t=!0,n=!1,o=void 0;try{for(var r,i=a(e)[Symbol.iterator]();!(t=(r=i.next()).done);t=!0){r.value.setAttribute("aria-hidden","true")}}catch(e){n=!0,o=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw o}}},Zt.show=function(e){var t=!0,n=!1,o=void 0;try{for(var r,i=a(e)[Symbol.iterator]();!(t=(r=i.next()).done);t=!0){r.value.removeAttribute("aria-hidden")}}catch(e){n=!0,o=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw o}}},Zt.documentNotReadyOrSSRTesting=function(){r=null};var e,t=Ft(),n=(e=t)&&e.__esModule?e:{default:e},o=Yt();var r=null;function i(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function a(e){var t=e||r;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,n.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}return Zt}var Ut,Qt={};function _t(){if(Ut)return Qt;Ut=1,Object.defineProperty(Qt,"__esModule",{value:!0}),Qt.resetState=function(){var o=document.getElementsByTagName("html")[0];for(var r in e)n(o,e[r]);var i=document.body;for(var a in t)n(i,t[a]);e={},t={}},Qt.log=function(){if("production"!==process.env.NODE_ENV){var n=document.getElementsByTagName("html")[0].className,o="Show tracked classes:\n\n";for(var r in o+="<html /> ("+n+"):\n ",e)o+=" "+r+" "+e[r]+"\n ";for(var i in o+="\n\ndoc.body ("+(n=document.body.className)+"):\n ",t)o+=" "+i+" "+t[i]+"\n ";o+="\n",console.log(o)}};var e={},t={};function n(e,t){e.classList.remove(t)}return Qt.add=function(n,o){return r=n.classList,i="html"==n.nodeName.toLowerCase()?e:t,void o.split(" ").forEach(function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(i,e),r.add(e)});var r,i},Qt.remove=function(n,o){return r=n.classList,i="html"==n.nodeName.toLowerCase()?e:t,void o.split(" ").forEach(function(e){!function(e,t){e[t]&&(e[t]-=1)}(i,e),0===i[e]&&r.remove(e)});var r,i},Qt}var $t,Kt={};function qt(){if($t)return Kt;$t=1,Object.defineProperty(Kt,"__esModule",{value:!0}),Kt.log=function(){console.log("portalOpenInstances ----------"),console.log(t.openInstances.length),t.openInstances.forEach(function(e){return console.log(e)}),console.log("end portalOpenInstances ----------")},Kt.resetState=function(){t=new e};var e=function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.register=function(e){-1===t.openInstances.indexOf(e)?(t.openInstances.push(e),t.emit("register")):"production"!==process.env.NODE_ENV&&console.warn("React-Modal: Cannot register modal instance that's already open")},this.deregister=function(e){var n=t.openInstances.indexOf(e);-1!==n?(t.openInstances.splice(n,1),t.emit("deregister")):"production"!==process.env.NODE_ENV&&console.warn("React-Modal: Unable to deregister "+e+" as it was never registered")},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach(function(n){return n(e,t.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},t=new e;return Kt.default=t,Kt}var en,tn,nn={};function on(){return tn||(tn=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),a=r,s=g(Nt()),l=m(Xt()),c=g(Mt()),u=m(Dt()),d=m(_t()),p=Yt(),f=g(p),b=g(qt());function m(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function g(e){return e&&e.__esModule?e:{default:e}}!function(){if(en)return nn;en=1,Object.defineProperty(nn,"__esModule",{value:!0}),nn.resetState=function(){for(var e=[o,r],t=0;t<e.length;t++){var n=e[t];n&&n.parentNode&&n.parentNode.removeChild(n)}o=r=null,i=[]},nn.log=function(){console.log("bodyTrap ----------"),console.log(i.length);for(var e=[o,r],t=0;t<e.length;t++){var n=e[t]||{};console.log(n.nodeName,n.className,n.id)}console.log("edn bodyTrap ----------")};var e,t=qt(),n=(e=t)&&e.__esModule?e:{default:e},o=void 0,r=void 0,i=[];function a(){0!==i.length?i[i.length-1].focusContent():"production"!==process.env.NODE_ENV&&console.warn("React-Modal: Open instances > 0 expected")}n.default.subscribe(function(e,t){o||r||((o=document.createElement("div")).setAttribute("data-react-modal-body-trap",""),o.style.position="absolute",o.style.opacity="0",o.setAttribute("tabindex","0"),o.addEventListener("focus",a),(r=o.cloneNode()).addEventListener("focus",a)),(i=t).length>0?(document.body.firstChild!==o&&document.body.insertBefore(o,document.body.firstChild),document.body.lastChild!==r&&document.body.appendChild(r)):(o.parentElement&&o.parentElement.removeChild(o),r.parentElement&&r.parentElement.removeChild(r))})}();var h={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},v=0,y=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.setOverlayRef=function(e){n.overlay=e,n.props.overlayRef&&n.props.overlayRef(e)},n.setContentRef=function(e){n.content=e,n.props.contentRef&&n.props.contentRef(e)},n.afterClose=function(){var e=n.props,t=e.appElement,o=e.ariaHideApp,r=e.htmlOpenClassName,i=e.bodyOpenClassName,a=e.parentSelector,s=a&&a().ownerDocument||document;i&&d.remove(s.body,i),r&&d.remove(s.getElementsByTagName("html")[0],r),o&&v>0&&0===(v-=1)&&u.show(t),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(l.returnFocus(n.props.preventScroll),l.teardownScopedFocus()):l.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),b.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(l.setupScopedFocus(n.node),l.markForFocusLater()),n.setState({isOpen:!0},function(){n.openAnimationFrame=requestAnimationFrame(function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})})}))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus({preventScroll:!0})},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())})},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){(function(e){return"Tab"===e.code||9===e.keyCode})(e)&&(0,c.default)(n.content,e),n.props.shouldCloseOnEsc&&function(e){return"Escape"===e.code||27===e.keyCode}(e)&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var r="object"===(void 0===t?"undefined":o(t))?t:{base:h[e],afterOpen:h[e]+"--after-open",beforeClose:h[e]+"--before-close"},i=r.base;return n.state.afterOpen&&(i=i+" "+r.afterOpen),n.state.beforeClose&&(i=i+" "+r.beforeClose),"string"==typeof t&&t?i+" "+t:i},n.attributesFromObject=function(e,t){return Object.keys(t).reduce(function(n,o){return n[e+"-"+o]=t[o],n},{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){"production"!==process.env.NODE_ENV&&(e.bodyOpenClassName!==this.props.bodyOpenClassName&&console.warn('React-Modal: "bodyOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.'),e.htmlOpenClassName!==this.props.htmlOpenClassName&&console.warn('React-Modal: "htmlOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.')),this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,o=e.htmlOpenClassName,r=e.bodyOpenClassName,i=e.parentSelector,a=i&&i().ownerDocument||document;r&&d.add(a.body,r),o&&d.add(a.getElementsByTagName("html")[0],o),n&&(v+=1,u.hide(t)),b.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,o=e.className,r=e.overlayClassName,i=e.defaultStyles,a=e.children,s=o?{}:i.content,l=r?{}:i.overlay;if(this.shouldBeClosed())return null;var c={ref:this.setOverlayRef,className:this.buildClassName("overlay",r),style:n({},l,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},u=n({id:t,ref:this.setContentRef,style:n({},s,this.props.style.content),className:this.buildClassName("content",o),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",n({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),d=this.props.contentElement(u,a);return this.props.overlayElement(c,d)}}]),t}(a.Component);y.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},y.propTypes={isOpen:s.default.bool.isRequired,defaultStyles:s.default.shape({content:s.default.object,overlay:s.default.object}),style:s.default.shape({content:s.default.object,overlay:s.default.object}),className:s.default.oneOfType([s.default.string,s.default.object]),overlayClassName:s.default.oneOfType([s.default.string,s.default.object]),parentSelector:s.default.func,bodyOpenClassName:s.default.string,htmlOpenClassName:s.default.string,ariaHideApp:s.default.bool,appElement:s.default.oneOfType([s.default.instanceOf(f.default),s.default.instanceOf(p.SafeHTMLCollection),s.default.instanceOf(p.SafeNodeList),s.default.arrayOf(s.default.instanceOf(f.default))]),onAfterOpen:s.default.func,onAfterClose:s.default.func,onRequestClose:s.default.func,closeTimeoutMS:s.default.number,shouldFocusAfterRender:s.default.bool,shouldCloseOnOverlayClick:s.default.bool,shouldReturnFocusAfterClose:s.default.bool,preventScroll:s.default.bool,role:s.default.string,contentLabel:s.default.string,aria:s.default.object,data:s.default.object,children:s.default.node,shouldCloseOnEsc:s.default.bool,overlayRef:s.default.func,contentRef:s.default.func,id:s.default.string,overlayElement:s.default.func,contentElement:s.default.func,testId:s.default.string},t.default=y,e.exports=t.default}(kt,kt.exports)),kt.exports}function rn(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function an(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function sn(e,t){try{var n=this.props,o=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,o)}finally{this.props=n,this.state=o}}rn.__suppressDeprecationWarning=!0,an.__suppressDeprecationWarning=!0,sn.__suppressDeprecationWarning=!0;var ln,cn,un=Object.freeze({__proto__:null,polyfill: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,o=null,r=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?o="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(o="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?r="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(r="UNSAFE_componentWillUpdate"),null!==n||null!==o||null!==r){var i=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"+i+" uses "+a+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==o?"\n "+o:"")+(null!==r?"\n "+r:"")+"\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=rn,t.componentWillReceiveProps=an),"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=sn;var s=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var o=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;s.call(this,e,t,o)}}return e}}),dn=_e(un);function pn(){if(ln)return qe;ln=1,Object.defineProperty(qe,"__esModule",{value:!0}),qe.bodyOpenClassName=qe.portalClassName=void 0;var e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},t=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),n=r,o=p(n),i=p(v),a=p(Nt()),s=p(on()),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(Dt()),c=Yt(),u=p(c),d=dn;function p(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var b=qe.portalClassName="ReactModalPortal",m=qe.bodyOpenClassName="ReactModal__Body--open",g=c.canUseDOM&&void 0!==i.default.createPortal,h=function(e){return document.createElement(e)},y=function(){return g?i.default.createPortal:i.default.unstable_renderSubtreeIntoContainer};function I(e){return e()}var C=function(n){function r(){var t,n,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);for(var l=arguments.length,c=Array(l),u=0;u<l;u++)c[u]=arguments[u];return n=a=f(this,(t=r.__proto__||Object.getPrototypeOf(r)).call.apply(t,[this].concat(c))),a.removePortal=function(){!g&&i.default.unmountComponentAtNode(a.node);var e=I(a.props.parentSelector);e&&e.contains(a.node)?e.removeChild(a.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},a.portalRef=function(e){a.portal=e},a.renderPortal=function(t){var n=y()(a,o.default.createElement(s.default,e({defaultStyles:r.defaultStyles},t)),a.node);a.portalRef(n)},f(a,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,n),t(r,[{key:"componentDidMount",value:function(){c.canUseDOM&&(g||(this.node=h("div")),this.node.className=this.props.portalClassName,I(this.props.parentSelector).appendChild(this.node),!g&&this.renderPortal(this.props))}},{key:"getSnapshotBeforeUpdate",value:function(e){return{prevParent:I(e.parentSelector),nextParent:I(this.props.parentSelector)}}},{key:"componentDidUpdate",value:function(e,t,n){if(c.canUseDOM){var o=this.props,r=o.isOpen,i=o.portalClassName;e.portalClassName!==i&&(this.node.className=i);var a=n.prevParent,s=n.nextParent;s!==a&&(a.removeChild(this.node),s.appendChild(this.node)),(e.isOpen||r)&&!g&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(c.canUseDOM&&this.node&&this.portal){var e=this.portal.state,t=Date.now(),n=e.isOpen&&this.props.closeTimeoutMS&&(e.closesAt||t+this.props.closeTimeoutMS);n?(e.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,n-t)):this.removePortal()}}},{key:"render",value:function(){return c.canUseDOM&&g?(!this.node&&g&&(this.node=h("div")),y()(o.default.createElement(s.default,e({ref:this.portalRef,defaultStyles:r.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(e){l.setElement(e)}}]),r}(n.Component);return C.propTypes={isOpen:a.default.bool.isRequired,style:a.default.shape({content:a.default.object,overlay:a.default.object}),portalClassName:a.default.string,bodyOpenClassName:a.default.string,htmlOpenClassName:a.default.string,className:a.default.oneOfType([a.default.string,a.default.shape({base:a.default.string.isRequired,afterOpen:a.default.string.isRequired,beforeClose:a.default.string.isRequired})]),overlayClassName:a.default.oneOfType([a.default.string,a.default.shape({base:a.default.string.isRequired,afterOpen:a.default.string.isRequired,beforeClose:a.default.string.isRequired})]),appElement:a.default.oneOfType([a.default.instanceOf(u.default),a.default.instanceOf(c.SafeHTMLCollection),a.default.instanceOf(c.SafeNodeList),a.default.arrayOf(a.default.instanceOf(u.default))]),onAfterOpen:a.default.func,onRequestClose:a.default.func,closeTimeoutMS:a.default.number,ariaHideApp:a.default.bool,shouldFocusAfterRender:a.default.bool,shouldCloseOnOverlayClick:a.default.bool,shouldReturnFocusAfterClose:a.default.bool,preventScroll:a.default.bool,parentSelector:a.default.func,aria:a.default.object,data:a.default.object,role:a.default.string,contentLabel:a.default.string,shouldCloseOnEsc:a.default.bool,overlayRef:a.default.func,contentRef:a.default.func,id:a.default.string,overlayElement:a.default.func,contentElement:a.default.func},C.defaultProps={isOpen:!1,portalClassName:b,bodyOpenClassName:m,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(e,t){return o.default.createElement("div",e,t)},contentElement:function(e,t){return o.default.createElement("div",e,t)}},C.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},(0,d.polyfill)(C),"production"!==process.env.NODE_ENV&&(C.setCreateHTMLElement=function(e){return h=e}),qe.default=C,qe}var fn=Qe((cn||(cn=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n,o=pn(),r=(n=o)&&n.__esModule?n:{default:n};t.default=r.default,e.exports=t.default}(Ke,Ke.exports)),Ke.exports));function bn(){return bn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},bn.apply(null,arguments)}function mn(e,t){if(null==e)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(-1!==t.indexOf(o))continue;n[o]=e[o]}return n}function gn(e,t){return gn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},gn(e,t)}var hn=Qe(Nt()),vn=!1,yn="production"!==process.env.NODE_ENV?hn.oneOfType([hn.number,hn.shape({enter:hn.number,exit:hn.number,appear:hn.number}).isRequired]):null;"production"!==process.env.NODE_ENV&&hn.oneOfType([hn.string,hn.shape({enter:hn.string,exit:hn.string,active:hn.string}),hn.shape({enter:hn.string,enterDone:hn.string,enterActive:hn.string,exit:hn.string,exitDone:hn.string,exitActive:hn.string})]);var In=r.createContext(null),Cn="unmounted",xn="exited",wn="entering",An="entered",Gn="exiting",Nn=function(e){var t,n;function o(t,n){var o;o=e.call(this,t,n)||this;var r,i=n&&!n.isMounting?t.enter:t.appear;return o.appearStatus=null,t.in?i?(r=xn,o.appearStatus=wn):r=An:r=t.unmountOnExit||t.mountOnEnter?Cn:xn,o.state={status:r},o.nextCallback=null,o}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,gn(t,n),o.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Cn?{status:xn}:null};var i=o.prototype;return i.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},i.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==wn&&n!==An&&(t=wn):n!==wn&&n!==An||(t=Gn)}this.updateStatus(!1,t)},i.componentWillUnmount=function(){this.cancelNextCallback()},i.getTimeouts=function(){var e,t,n,o=this.props.timeout;return e=t=n=o,null!=o&&"number"!=typeof o&&(e=o.exit,t=o.enter,n=void 0!==o.appear?o.appear:t),{exit:e,enter:t,appear:n}},i.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===wn){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:v.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===xn&&this.setState({status:Cn})},i.performEnter=function(e){var t=this,n=this.props.enter,o=this.context?this.context.isMounting:e,r=this.props.nodeRef?[o]:[v.findDOMNode(this),o],i=r[0],a=r[1],s=this.getTimeouts(),l=o?s.appear:s.enter;!e&&!n||vn?this.safeSetState({status:An},function(){t.props.onEntered(i)}):(this.props.onEnter(i,a),this.safeSetState({status:wn},function(){t.props.onEntering(i,a),t.onTransitionEnd(l,function(){t.safeSetState({status:An},function(){t.props.onEntered(i,a)})})}))},i.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),o=this.props.nodeRef?void 0:v.findDOMNode(this);t&&!vn?(this.props.onExit(o),this.safeSetState({status:Gn},function(){e.props.onExiting(o),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:xn},function(){e.props.onExited(o)})})})):this.safeSetState({status:xn},function(){e.props.onExited(o)})},i.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},i.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},i.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(o){n&&(n=!1,t.nextCallback=null,e(o))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},i.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:v.findDOMNode(this),o=null==e&&!this.props.addEndListener;if(n&&!o){if(this.props.addEndListener){var r=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=r[0],a=r[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},i.render=function(){var e=this.state.status;if(e===Cn)return null;var t=this.props,n=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var o=mn(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return r.createElement(In.Provider,{value:null},"function"==typeof n?n(e,o):r.cloneElement(r.Children.only(n),o))},o}(r.Component);function On(){}Nn.contextType=In,Nn.propTypes="production"!==process.env.NODE_ENV?{nodeRef:hn.shape({current:"undefined"==typeof Element?hn.any:function(e,t,n,o,r,i){var a=e[t];return hn.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,n,o,r,i)}}),children:hn.oneOfType([hn.func.isRequired,hn.element.isRequired]).isRequired,in:hn.bool,mountOnEnter:hn.bool,unmountOnExit:hn.bool,appear:hn.bool,enter:hn.bool,exit:hn.bool,timeout:function(e){var t=yn;e.addEndListener||(t=t.isRequired);for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return t.apply(void 0,[e].concat(o))},addEndListener:hn.func,onEnter:hn.func,onEntering:hn.func,onEntered:hn.func,onExit:hn.func,onExiting:hn.func,onExited:hn.func}:{},Nn.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:On,onEntering:On,onEntered:On,onExit:On,onExiting:On,onExited:On},Nn.UNMOUNTED=Cn,Nn.EXITED=xn,Nn.ENTERING=wn,Nn.ENTERED=An,Nn.EXITING=Gn;const Rn=({size:n="md",shape:o="default",animation:r="popper",centered:i,title:s,isOpen:u,children:d,bodyStyle:p,className:f,bodyClassName:b,portalClassName:m,overlayClassName:g,closeButtonClassName:h,closeWrapperClassName:v,onRequestClose:y,parentSelector:I,hideScrollOnIsOpenFalse:C=!0,hideCloseButton:x=!1,bodyAttributes:w,...A})=>{Ue(u,C);const[G,N]=a(!1);l(()=>{N(u)},[u]);const O=c(()=>{if("undefined"==typeof document)return null;let e=document.querySelector("main")||document.body;return I&&(e=document.querySelector(I)||document.body),e},[I]);if(!O)return null;if(!u)return null;const R=e=>({xl:"inset-[5%] min-h-fit",lg:"inset-[10%] min-h-fit",md:"inset-[15%] min-h-fit",sm:"top-[18%] w-[640px]",xs:"w-[calc(100%-30px)]"}[e]),k=(e,t)=>{if("popper"===e){const e="transition-transform duration-300";return"entering"===t||"entered"===t?`${e} opacity-100 ${"entered"===t?"translate-y-0 pointer-events-auto":""}`:"exiting"===t||"exited"===t?`${e} opacity-0 translate-y-[-18px] duration-[180ms]`:`${e} opacity-0 translate-y-[-18px]`}if("bottomSheet"===e){const e="transition-transform duration-200 ease-in-out";return"entering"===t||"entered"===t?`${e} opacity-100 ${"entered"===t?"translate-y-0 pointer-events-auto":""}`:"exiting"===t||"exited"===t?`${e} opacity-0 translate-y-full duration-[180ms]`:`${e} opacity-0 translate-y-full`}return""};return e(Nn,{enter:!0,exit:!0,in:G,timeout:0,children:a=>e(fn,{ariaHideApp:!1,isOpen:u,onRequestClose:y,closeTimeoutMS:0,parentSelector:()=>O,className:We("absolute min-w-[150px] max-w-[calc(100vw-30px)] overflow-auto rounded-lg bg-white outline-none",R(n),"rounded"===o&&"rounded-3xl",i&&"top-0 translate-y-[calc(50vh-50%)]",k(r,a),f),portalClassName:We("z-80",m),overlayClassName:We("z-80 fixed inset-0 bg-black/50 flex items-center justify-center pb-[300px]",g),...A,children:t("div",{...w,children:[!x&&e("div",{className:We(v),children:e(Ee,{className:We("absolute right-0 top-0 float-right h-6 cursor-pointer p-5 text-text",h),onClick:y,"data-testid":"close-button","data-track-element-name":"modal_close_button","data-track-click-text":"Close Modal","data-track-element-clicked":"modal",children:e(Me,{name:"close",size:24})})}),s?e("div",{className:We("border-b border-border-secondary-on-bg-fill px-[7px] py-[7px] text-text"),children:s}):null,e("div",{className:We("p-5",b),style:p,"data-testid":A["data-testid"],"data-cy":A["data-cy"],children:d})]})})})};Rn.displayName="Modal";const kn=t=>{const{open:n,children:o}=t,r=u(null),[i,s]=a(0);return l(()=>{const e=r.current;if(!e)return;const t=()=>{s(n?e.scrollHeight:0)};let o;return t(),n&&(o=new ResizeObserver(()=>t()),o.observe(e)),()=>{o&&o.disconnect()}},[n,o]),e("div",{className:"overflow-hidden transition-all duration-300 ease-in-out",style:{maxHeight:i,opacity:n?1:0},"aria-hidden":!n,children:e("div",{ref:r,children:o})})};kn.displayName="Collapse";const Vn=n=>{const{title:o,defaultOpen:r,children:i,containerClassName:s,titleClassName:c,className:u,buttonClassName:d,openOnlyOnDesktop:p,borderRadiusNone:f=!1}=n,[b,m]=a(Boolean(!1));return l(()=>{if(p){const e=window.innerWidth>=1024;m(e)}else m(Boolean(r))},[p,r]),t("div",{className:We(f?"rounded-none border":"rounded-surface-xs border",s),children:[t(Ee,{type:"button",className:We(f?"rounded-none":"rounded-t-surface-xs","flex w-full items-center justify-between gap-4 px-4 py-3 text-left",d),onClick:()=>m(e=>!e),children:[e("span",{className:We("label5",c),children:o}),e(Me,{name:b?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:24})]}),e(kn,{open:b,children:e("div",{className:We("px-4 py-4",u),children:i})})]})};Vn.displayName="Accordion";const Bn=({state:n,checked:o=!1,onChange:r,className:i,label:a,labelClassName:l,containerClassName:c,name:u,value:d,id:p,disabled:f=!1,required:b=!1,error:m=!1,"data-cy":g,renderInfoIcon:h,...v})=>{const y=f||"disabled"===n,I=p||u,C=We("flex items-center justify-center w-6 h-6 rounded-[4px] outline-offset-2","focus"===n&&"outline",i),x=s(e=>{y||r&&(1===r.length?r(e.target.checked):r())},[y,r]);return t("div",{className:We("flex items-center gap-3",c),children:[t("div",{className:"relative",children:[e("input",{type:"checkbox",id:I,name:u,value:d,checked:o,onChange:x,disabled:y,required:b,className:"peer sr-only","data-cy":g,...v}),e("label",{htmlFor:I,className:We("peer-focus:outline",C),style:{pointerEvents:y?"none":"auto"},children:t("svg",o?{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e("rect",{width:"24",height:"24",rx:"4",className:We(y?"fill-checkbox-bg-surface-selected-disabled":"fill-bg-fill-brand")}),e("path",{d:"M8 11.9593L11.0316 15L17 9",stroke:"white",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round"})]}:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e("rect",{x:"0.5",y:"0.5",width:"23",height:"23",rx:"3.5",className:We(y?"fill-checkbox-bg-surface-disabled":"fill-white")}),e("rect",{x:"0.5",y:"0.5",width:"23",height:"23",rx:"3.5",stroke:"#CECECE"})]})})]}),a&&e("label",{htmlFor:I,className:We("cursor-pointer",m&&"text-text-critical",l),children:a}),h&&e(Ee,{type:"button",onClick:h.onClick,"data-testid":h.dataTestId,className:"ml-2 cursor-pointer text-icon-info","aria-label":"More information",children:t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"2"}),e("path",{d:"M12 16v-4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e("path",{d:"M12 8h.01",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})})]})};function Sn(e){return Sn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Sn(e)}function Xn(e){var t=function(e,t){if("object"!=Sn(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=Sn(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Sn(t)?t:t+""}function Wn(e,t,n){return(t=Xn(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function En(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function Mn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?En(Object(n),!0).forEach(function(t){Wn(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):En(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Pn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function Tn(e,t){if(e){if("string"==typeof e)return Pn(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Pn(e,t):void 0}}function Zn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(o=i.call(n)).done)&&(s.push(o.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||Tn(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fn(e,t){if(null==e)return{};var n,o,r=mn(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}Bn.displayName="Checkbox";var Hn=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function zn(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,Xn(o.key),o)}}function jn(e){return jn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},jn(e)}function Jn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Jn=function(){return!!e})()}function Ln(e,t){if(t&&("object"==Sn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Yn(e){return function(e){if(Array.isArray(e))return Pn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Tn(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 Dn=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),Un="-ms-",Qn="-moz-",_n="-webkit-",$n="comm",Kn="rule",qn="decl",eo="@keyframes",to=Math.abs,no=String.fromCharCode,oo=Object.assign;function ro(e){return e.trim()}function io(e,t,n){return e.replace(t,n)}function ao(e,t){return e.indexOf(t)}function so(e,t){return 0|e.charCodeAt(t)}function lo(e,t,n){return e.slice(t,n)}function co(e){return e.length}function uo(e){return e.length}function po(e,t){return t.push(e),e}var fo=1,bo=1,mo=0,go=0,ho=0,vo="";function yo(e,t,n,o,r,i,a){return{value:e,root:t,parent:n,type:o,props:r,children:i,line:fo,column:bo,length:a,return:""}}function Io(e,t){return oo(yo("",null,null,"",null,null,0),e,{length:-e.length},t)}function Co(){return ho=go>0?so(vo,--go):0,bo--,10===ho&&(bo=1,fo--),ho}function xo(){return ho=go<mo?so(vo,go++):0,bo++,10===ho&&(bo=1,fo++),ho}function wo(){return so(vo,go)}function Ao(){return go}function Go(e,t){return lo(vo,e,t)}function No(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Oo(e){return fo=bo=1,mo=co(vo=e),go=0,[]}function Ro(e){return vo="",e}function ko(e){return ro(Go(go-1,So(91===e?e+2:40===e?e+1:e)))}function Vo(e){for(;(ho=wo())&&ho<33;)xo();return No(e)>2||No(ho)>3?"":" "}function Bo(e,t){for(;--t&&xo()&&!(ho<48||ho>102||ho>57&&ho<65||ho>70&&ho<97););return Go(e,Ao()+(t<6&&32==wo()&&32==xo()))}function So(e){for(;xo();)switch(ho){case e:return go;case 34:case 39:34!==e&&39!==e&&So(ho);break;case 40:41===e&&So(e);break;case 92:xo()}return go}function Xo(e,t){for(;xo()&&e+ho!==57&&(e+ho!==84||47!==wo()););return"/*"+Go(t,go-1)+"*"+no(47===e?e:xo())}function Wo(e){for(;!No(wo());)xo();return Go(e,go)}function Eo(e){return Ro(Mo("",null,null,null,[""],e=Oo(e),0,[0],e))}function Mo(e,t,n,o,r,i,a,s,l){for(var c=0,u=0,d=a,p=0,f=0,b=0,m=1,g=1,h=1,v=0,y="",I=r,C=i,x=o,w=y;g;)switch(b=v,v=xo()){case 40:if(108!=b&&58==so(w,d-1)){-1!=ao(w+=io(ko(v),"&","&\f"),"&\f")&&(h=-1);break}case 34:case 39:case 91:w+=ko(v);break;case 9:case 10:case 13:case 32:w+=Vo(b);break;case 92:w+=Bo(Ao()-1,7);continue;case 47:switch(wo()){case 42:case 47:po(To(Xo(xo(),Ao()),t,n),l);break;default:w+="/"}break;case 123*m:s[c++]=co(w)*h;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==h&&(w=io(w,/\f/g,"")),f>0&&co(w)-d&&po(f>32?Zo(w+";",o,n,d-1):Zo(io(w," ","")+";",o,n,d-2),l);break;case 59:w+=";";default:if(po(x=Po(w,t,n,c,u,r,s,y,I=[],C=[],d),i),123===v)if(0===u)Mo(w,t,x,x,I,i,d,s,C);else switch(99===p&&110===so(w,3)?100:p){case 100:case 108:case 109:case 115:Mo(e,x,x,o&&po(Po(e,x,x,0,0,r,s,y,r,I=[],d),C),r,C,d,s,o?I:C);break;default:Mo(w,x,x,x,[""],C,0,s,C)}}c=u=f=0,m=h=1,y=w="",d=a;break;case 58:d=1+co(w),f=b;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==Co())continue;switch(w+=no(v),v*m){case 38:h=u>0?1:(w+="\f",-1);break;case 44:s[c++]=(co(w)-1)*h,h=1;break;case 64:45===wo()&&(w+=ko(xo())),p=wo(),u=d=co(y=w+=Wo(Ao())),v++;break;case 45:45===b&&2==co(w)&&(m=0)}}return i}function Po(e,t,n,o,r,i,a,s,l,c,u){for(var d=r-1,p=0===r?i:[""],f=uo(p),b=0,m=0,g=0;b<o;++b)for(var h=0,v=lo(e,d+1,d=to(m=a[b])),y=e;h<f;++h)(y=ro(m>0?p[h]+" "+v:io(v,/&\f/g,p[h])))&&(l[g++]=y);return yo(e,t,n,0===r?Kn:s,l,c,u)}function To(e,t,n){return yo(e,t,n,$n,no(ho),lo(e,2,-2),0)}function Zo(e,t,n,o){return yo(e,t,n,qn,lo(e,0,o),lo(e,o+1,-1),o)}function Fo(e,t){for(var n="",o=uo(e),r=0;r<o;r++)n+=t(e[r],r,e,t)||"";return n}function Ho(e,t,n,o){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case qn:return e.return=e.return||e.value;case $n:return"";case eo:return e.return=e.value+"{"+Fo(e.children,o)+"}";case Kn:e.value=e.props.join(",")}return co(n=Fo(e.children,o))?e.return=e.value+"{"+n+"}":""}function zo(e){var t=uo(e);return function(n,o,r,i){for(var a="",s=0;s<t;s++)a+=e[s](n,o,r,i)||"";return a}}var jo="undefined"!=typeof document,Jo=function(e,t,n){for(var o=0,r=0;o=r,r=wo(),38===o&&12===r&&(t[n]=1),!No(r);)xo();return Go(e,go)},Lo=function(e,t){return Ro(function(e,t){var n=-1,o=44;do{switch(No(o)){case 0:38===o&&12===wo()&&(t[n]=1),e[n]+=Jo(go-1,t,n);break;case 2:e[n]+=ko(o);break;case 4:if(44===o){e[++n]=58===wo()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=no(o)}}while(o=xo());return e}(Oo(e),t))},Yo=new WeakMap,Do=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,o=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Yo.get(n))&&!o){Yo.set(e,!0);for(var r=[],i=Lo(t,r),a=n.props,s=0,l=0;s<i.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=r[s]?i[s].replace(/&\f/g,a[c]):a[c]+" "+i[s]}}},Uo=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Qo(e,t){switch(function(e,t){return 45^so(e,0)?(((t<<2^so(e,0))<<2^so(e,1))<<2^so(e,2))<<2^so(e,3):0}(e,t)){case 5103:return _n+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return _n+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return _n+e+Qn+e+Un+e+e;case 6828:case 4268:return _n+e+Un+e+e;case 6165:return _n+e+Un+"flex-"+e+e;case 5187:return _n+e+io(e,/(\w+).+(:[^]+)/,_n+"box-$1$2"+Un+"flex-$1$2")+e;case 5443:return _n+e+Un+"flex-item-"+io(e,/flex-|-self/,"")+e;case 4675:return _n+e+Un+"flex-line-pack"+io(e,/align-content|flex-|-self/,"")+e;case 5548:return _n+e+Un+io(e,"shrink","negative")+e;case 5292:return _n+e+Un+io(e,"basis","preferred-size")+e;case 6060:return _n+"box-"+io(e,"-grow","")+_n+e+Un+io(e,"grow","positive")+e;case 4554:return _n+io(e,/([^-])(transform)/g,"$1"+_n+"$2")+e;case 6187:return io(io(io(e,/(zoom-|grab)/,_n+"$1"),/(image-set)/,_n+"$1"),e,"")+e;case 5495:case 3959:return io(e,/(image-set\([^]*)/,_n+"$1$`$1");case 4968:return io(io(e,/(.+:)(flex-)?(.*)/,_n+"box-pack:$3"+Un+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+_n+e+e;case 4095:case 3583:case 4068:case 2532:return io(e,/(.+)-inline(.+)/,_n+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(co(e)-1-t>6)switch(so(e,t+1)){case 109:if(45!==so(e,t+4))break;case 102:return io(e,/(.+:)(.+)-([^]+)/,"$1"+_n+"$2-$3$1"+Qn+(108==so(e,t+3)?"$3":"$2-$3"))+e;case 115:return~ao(e,"stretch")?Qo(io(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==so(e,t+1))break;case 6444:switch(so(e,co(e)-3-(~ao(e,"!important")&&10))){case 107:return io(e,":",":"+_n)+e;case 101:return io(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+_n+(45===so(e,14)?"inline-":"")+"box$3$1"+_n+"$2$3$1"+Un+"$2box$3")+e}break;case 5936:switch(so(e,t+11)){case 114:return _n+e+Un+io(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return _n+e+Un+io(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return _n+e+Un+io(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return _n+e+Un+e+e}return e}var _o,$o,Ko,qo=jo?void 0:(_o=function(){return e=function(){return{}},t=Object.create(null),function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]};var e,t},$o=new WeakMap,function(e){if($o.has(e))return $o.get(e);var t=_o(e);return $o.set(e,t),t}),er=[function(e,t,n,o){if(e.length>-1&&!e.return)switch(e.type){case qn:e.return=Qo(e.value,e.length);break;case eo:return Fo([Io(e,{value:io(e.value,"@","@"+_n)})],o);case Kn:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Fo([Io(e,{props:[io(t,/:(read-\w+)/,":-moz-$1")]})],o);case"::placeholder":return Fo([Io(e,{props:[io(t,/:(plac\w+)/,":"+_n+"input-$1")]}),Io(e,{props:[io(t,/:(plac\w+)/,":-moz-$1")]}),Io(e,{props:[io(t,/:(plac\w+)/,Un+"input-$1")]})],o)}return""})}}],tr=function(e){var t=e.key;if(jo&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var o,r,i=e.stylisPlugins||er,a={},s=[];jo&&(o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)}));var l,c=[Do,Uo];if(qo){var u=[Ho],d=zo(c.concat(i,u)),p=qo(i)(t),f=function(e,t){var n=t.name;return void 0===p[n]&&(p[n]=Fo(Eo(e?e+"{"+t.styles+"}":t.styles),d)),p[n]};r=function(e,t,n,o){var r=t.name,i=f(e,t);return void 0===h.compat?(o&&(h.inserted[r]=!0),i):o?void(h.inserted[r]=i):i}}else{var b,m=[Ho,(l=function(e){b.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],g=zo(c.concat(i,m));r=function(e,t,n,o){b=n,Fo(Eo(e?e+"{"+t.styles+"}":t.styles),g),o&&(h.inserted[t.name]=!0)}}var h={key:t,sheet:new Dn({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:r};return h.sheet.hydrate(s),h},nr={exports:{}},or={};var rr,ir,ar,sr,lr={};
30
+ var n="none",o="contents",r=/^(input|select|textarea|button|object|iframe)$/;function i(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var r=window.getComputedStyle(e),i=r.getPropertyValue("display");return t?i!==o&&function(e,t){return"visible"!==t.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0}(e,r):i===n}catch(e){return console.warn("Failed to inspect element style"),!1}}function a(e,t){var n=e.nodeName.toLowerCase();return(r.test(n)&&!e.disabled||"a"===n&&e.href||t)&&function(e){for(var t=e,n=e.getRootNode&&e.getRootNode();t&&t!==document.body;){if(n&&t===n&&(t=n.host.parentNode),i(t))return!1;t=t.parentNode}return!0}(e)}function s(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var n=isNaN(t);return(n||t>=0)&&a(e,!n)}e.exports=t.default}(Bt,Bt.exports)),Bt.exports}function Xt(){if(Rt)return Vt;Rt=1,Object.defineProperty(Vt,"__esModule",{value:!0}),Vt.resetState=function(){o=[]},Vt.log=function(){"production"!==process.env.NODE_ENV&&(console.log("focusManager ----------"),o.forEach(function(e){var t=e||{};console.log(t.nodeName,t.className,t.id)}),console.log("end focusManager ----------"))},Vt.handleBlur=a,Vt.handleFocus=s,Vt.markForFocusLater=function(){o.push(document.activeElement)},Vt.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=null;try{return void(0!==o.length&&(t=o.pop()).focus({preventScroll:e}))}catch(e){console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}},Vt.popWithoutFocus=function(){o.length>0&&o.pop()},Vt.setupScopedFocus=function(e){r=e,window.addEventListener?(window.addEventListener("blur",a,!1),document.addEventListener("focus",s,!0)):(window.attachEvent("onBlur",a),document.attachEvent("onFocus",s))},Vt.teardownScopedFocus=function(){r=null,window.addEventListener?(window.removeEventListener("blur",a),document.removeEventListener("focus",s)):(window.detachEvent("onBlur",a),document.detachEvent("onFocus",s))};var e,t=St(),n=(e=t)&&e.__esModule?e:{default:e};var o=[],r=null,i=!1;function a(){i=!0}function s(){if(i){if(i=!1,!r)return;setTimeout(function(){r.contains(document.activeElement)||((0,n.default)(r)[0]||r).focus()},0)}}return Vt}var Wt,Et={exports:{}};function Mt(){return Wt||(Wt=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,r.default)(e);if(!n.length)return void t.preventDefault();var o=void 0,a=t.shiftKey,s=n[0],l=n[n.length-1],c=i();if(e===c){if(!a)return;o=l}l!==c||a||(o=s);s===c&&a&&(o=l);if(o)return t.preventDefault(),void o.focus();var u=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null==u||"Chrome"==u[1]||null!=/\biPod\b|\biPad\b/g.exec(navigator.userAgent))return;var d=n.indexOf(c);d>-1&&(d+=a?-1:1);if(o=n[d],void 0===o)return t.preventDefault(),void(o=a?l:s).focus();t.preventDefault(),o.focus()};var n,o=St(),r=(n=o)&&n.__esModule?n:{default:n};function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return e.activeElement.shadowRoot?i(e.activeElement.shadowRoot):e.activeElement}e.exports=t.default}(Et,Et.exports)),Et.exports}var Pt,Tt,Zt={};function Ft(){if(Tt)return Pt;Tt=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=function(e,t){var n=arguments.length;t=new Array(n>1?n-1:0);for(var o=1;o<n;o++)t[o-1]=arguments[o];var r=0,i="Warning: "+e.replace(/%s/g,function(){return t[r++]});"undefined"!=typeof console&&console.error(i);try{throw new Error(i)}catch(e){}};e=function(e,n,o){var r=arguments.length;o=new Array(r>2?r-2:0);for(var i=2;i<r;i++)o[i-2]=arguments[i];if(void 0===n)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");e||t.apply(null,[n].concat(o))}}return Pt=e}var Ht,zt,jt,Jt={},Lt={exports:{}};function Yt(){if(zt)return Jt;zt=1,Object.defineProperty(Jt,"__esModule",{value:!0}),Jt.canUseDOM=Jt.SafeNodeList=Jt.SafeHTMLCollection=void 0;var e,t,n=(Ht||(Ht=1,e=Lt,function(){var t=!("undefined"==typeof window||!window.document||!window.document.createElement),n={canUseDOM:t,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:t&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:t&&!!window.screen};e.exports?e.exports=n:window.ExecutionEnvironment=n}()),Lt.exports);var o=((t=n)&&t.__esModule?t:{default:t}).default,r=o.canUseDOM?window.HTMLElement:{};return Jt.SafeHTMLCollection=o.canUseDOM?window.HTMLCollection:{},Jt.SafeNodeList=o.canUseDOM?window.NodeList:{},Jt.canUseDOM=o.canUseDOM,Jt.default=r,Jt}function Dt(){if(jt)return Zt;jt=1,Object.defineProperty(Zt,"__esModule",{value:!0}),Zt.resetState=function(){r&&(r.removeAttribute?r.removeAttribute("aria-hidden"):null!=r.length?r.forEach(function(e){return e.removeAttribute("aria-hidden")}):document.querySelectorAll(r).forEach(function(e){return e.removeAttribute("aria-hidden")}));r=null},Zt.log=function(){if("production"!==process.env.NODE_ENV){var e=r||{};console.log("ariaAppHider ----------"),console.log(e.nodeName,e.className,e.id),console.log("end ariaAppHider ----------")}},Zt.assertNodeList=i,Zt.setElement=function(e){var t=e;if("string"==typeof t&&o.canUseDOM){var n=document.querySelectorAll(t);i(n,t),t=n}return r=t||r},Zt.validateElement=a,Zt.hide=function(e){var t=!0,n=!1,o=void 0;try{for(var r,i=a(e)[Symbol.iterator]();!(t=(r=i.next()).done);t=!0){r.value.setAttribute("aria-hidden","true")}}catch(e){n=!0,o=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw o}}},Zt.show=function(e){var t=!0,n=!1,o=void 0;try{for(var r,i=a(e)[Symbol.iterator]();!(t=(r=i.next()).done);t=!0){r.value.removeAttribute("aria-hidden")}}catch(e){n=!0,o=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw o}}},Zt.documentNotReadyOrSSRTesting=function(){r=null};var e,t=Ft(),n=(e=t)&&e.__esModule?e:{default:e},o=Yt();var r=null;function i(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function a(e){var t=e||r;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,n.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}return Zt}var Ut,Qt={};function _t(){if(Ut)return Qt;Ut=1,Object.defineProperty(Qt,"__esModule",{value:!0}),Qt.resetState=function(){var o=document.getElementsByTagName("html")[0];for(var r in e)n(o,e[r]);var i=document.body;for(var a in t)n(i,t[a]);e={},t={}},Qt.log=function(){if("production"!==process.env.NODE_ENV){var n=document.getElementsByTagName("html")[0].className,o="Show tracked classes:\n\n";for(var r in o+="<html /> ("+n+"):\n ",e)o+=" "+r+" "+e[r]+"\n ";for(var i in o+="\n\ndoc.body ("+(n=document.body.className)+"):\n ",t)o+=" "+i+" "+t[i]+"\n ";o+="\n",console.log(o)}};var e={},t={};function n(e,t){e.classList.remove(t)}return Qt.add=function(n,o){return r=n.classList,i="html"==n.nodeName.toLowerCase()?e:t,void o.split(" ").forEach(function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(i,e),r.add(e)});var r,i},Qt.remove=function(n,o){return r=n.classList,i="html"==n.nodeName.toLowerCase()?e:t,void o.split(" ").forEach(function(e){!function(e,t){e[t]&&(e[t]-=1)}(i,e),0===i[e]&&r.remove(e)});var r,i},Qt}var $t,Kt={};function qt(){if($t)return Kt;$t=1,Object.defineProperty(Kt,"__esModule",{value:!0}),Kt.log=function(){console.log("portalOpenInstances ----------"),console.log(t.openInstances.length),t.openInstances.forEach(function(e){return console.log(e)}),console.log("end portalOpenInstances ----------")},Kt.resetState=function(){t=new e};var e=function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.register=function(e){-1===t.openInstances.indexOf(e)?(t.openInstances.push(e),t.emit("register")):"production"!==process.env.NODE_ENV&&console.warn("React-Modal: Cannot register modal instance that's already open")},this.deregister=function(e){var n=t.openInstances.indexOf(e);-1!==n?(t.openInstances.splice(n,1),t.emit("deregister")):"production"!==process.env.NODE_ENV&&console.warn("React-Modal: Unable to deregister "+e+" as it was never registered")},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach(function(n){return n(e,t.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},t=new e;return Kt.default=t,Kt}var en,tn,nn={};function on(){return tn||(tn=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),a=r,s=g(Nt()),l=m(Xt()),c=g(Mt()),u=m(Dt()),d=m(_t()),p=Yt(),f=g(p),b=g(qt());function m(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function g(e){return e&&e.__esModule?e:{default:e}}!function(){if(en)return nn;en=1,Object.defineProperty(nn,"__esModule",{value:!0}),nn.resetState=function(){for(var e=[o,r],t=0;t<e.length;t++){var n=e[t];n&&n.parentNode&&n.parentNode.removeChild(n)}o=r=null,i=[]},nn.log=function(){console.log("bodyTrap ----------"),console.log(i.length);for(var e=[o,r],t=0;t<e.length;t++){var n=e[t]||{};console.log(n.nodeName,n.className,n.id)}console.log("edn bodyTrap ----------")};var e,t=qt(),n=(e=t)&&e.__esModule?e:{default:e},o=void 0,r=void 0,i=[];function a(){0!==i.length?i[i.length-1].focusContent():"production"!==process.env.NODE_ENV&&console.warn("React-Modal: Open instances > 0 expected")}n.default.subscribe(function(e,t){o||r||((o=document.createElement("div")).setAttribute("data-react-modal-body-trap",""),o.style.position="absolute",o.style.opacity="0",o.setAttribute("tabindex","0"),o.addEventListener("focus",a),(r=o.cloneNode()).addEventListener("focus",a)),(i=t).length>0?(document.body.firstChild!==o&&document.body.insertBefore(o,document.body.firstChild),document.body.lastChild!==r&&document.body.appendChild(r)):(o.parentElement&&o.parentElement.removeChild(o),r.parentElement&&r.parentElement.removeChild(r))})}();var h={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},v=0,y=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.setOverlayRef=function(e){n.overlay=e,n.props.overlayRef&&n.props.overlayRef(e)},n.setContentRef=function(e){n.content=e,n.props.contentRef&&n.props.contentRef(e)},n.afterClose=function(){var e=n.props,t=e.appElement,o=e.ariaHideApp,r=e.htmlOpenClassName,i=e.bodyOpenClassName,a=e.parentSelector,s=a&&a().ownerDocument||document;i&&d.remove(s.body,i),r&&d.remove(s.getElementsByTagName("html")[0],r),o&&v>0&&0===(v-=1)&&u.show(t),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(l.returnFocus(n.props.preventScroll),l.teardownScopedFocus()):l.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),b.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(l.setupScopedFocus(n.node),l.markForFocusLater()),n.setState({isOpen:!0},function(){n.openAnimationFrame=requestAnimationFrame(function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})})}))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus({preventScroll:!0})},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())})},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){(function(e){return"Tab"===e.code||9===e.keyCode})(e)&&(0,c.default)(n.content,e),n.props.shouldCloseOnEsc&&function(e){return"Escape"===e.code||27===e.keyCode}(e)&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var r="object"===(void 0===t?"undefined":o(t))?t:{base:h[e],afterOpen:h[e]+"--after-open",beforeClose:h[e]+"--before-close"},i=r.base;return n.state.afterOpen&&(i=i+" "+r.afterOpen),n.state.beforeClose&&(i=i+" "+r.beforeClose),"string"==typeof t&&t?i+" "+t:i},n.attributesFromObject=function(e,t){return Object.keys(t).reduce(function(n,o){return n[e+"-"+o]=t[o],n},{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){"production"!==process.env.NODE_ENV&&(e.bodyOpenClassName!==this.props.bodyOpenClassName&&console.warn('React-Modal: "bodyOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.'),e.htmlOpenClassName!==this.props.htmlOpenClassName&&console.warn('React-Modal: "htmlOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.')),this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,o=e.htmlOpenClassName,r=e.bodyOpenClassName,i=e.parentSelector,a=i&&i().ownerDocument||document;r&&d.add(a.body,r),o&&d.add(a.getElementsByTagName("html")[0],o),n&&(v+=1,u.hide(t)),b.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,o=e.className,r=e.overlayClassName,i=e.defaultStyles,a=e.children,s=o?{}:i.content,l=r?{}:i.overlay;if(this.shouldBeClosed())return null;var c={ref:this.setOverlayRef,className:this.buildClassName("overlay",r),style:n({},l,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},u=n({id:t,ref:this.setContentRef,style:n({},s,this.props.style.content),className:this.buildClassName("content",o),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",n({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),d=this.props.contentElement(u,a);return this.props.overlayElement(c,d)}}]),t}(a.Component);y.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},y.propTypes={isOpen:s.default.bool.isRequired,defaultStyles:s.default.shape({content:s.default.object,overlay:s.default.object}),style:s.default.shape({content:s.default.object,overlay:s.default.object}),className:s.default.oneOfType([s.default.string,s.default.object]),overlayClassName:s.default.oneOfType([s.default.string,s.default.object]),parentSelector:s.default.func,bodyOpenClassName:s.default.string,htmlOpenClassName:s.default.string,ariaHideApp:s.default.bool,appElement:s.default.oneOfType([s.default.instanceOf(f.default),s.default.instanceOf(p.SafeHTMLCollection),s.default.instanceOf(p.SafeNodeList),s.default.arrayOf(s.default.instanceOf(f.default))]),onAfterOpen:s.default.func,onAfterClose:s.default.func,onRequestClose:s.default.func,closeTimeoutMS:s.default.number,shouldFocusAfterRender:s.default.bool,shouldCloseOnOverlayClick:s.default.bool,shouldReturnFocusAfterClose:s.default.bool,preventScroll:s.default.bool,role:s.default.string,contentLabel:s.default.string,aria:s.default.object,data:s.default.object,children:s.default.node,shouldCloseOnEsc:s.default.bool,overlayRef:s.default.func,contentRef:s.default.func,id:s.default.string,overlayElement:s.default.func,contentElement:s.default.func,testId:s.default.string},t.default=y,e.exports=t.default}(kt,kt.exports)),kt.exports}function rn(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function an(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function sn(e,t){try{var n=this.props,o=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,o)}finally{this.props=n,this.state=o}}rn.__suppressDeprecationWarning=!0,an.__suppressDeprecationWarning=!0,sn.__suppressDeprecationWarning=!0;var ln,cn,un=Object.freeze({__proto__:null,polyfill: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,o=null,r=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?o="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(o="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?r="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(r="UNSAFE_componentWillUpdate"),null!==n||null!==o||null!==r){var i=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"+i+" uses "+a+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==o?"\n "+o:"")+(null!==r?"\n "+r:"")+"\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=rn,t.componentWillReceiveProps=an),"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=sn;var s=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var o=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;s.call(this,e,t,o)}}return e}}),dn=_e(un);function pn(){if(ln)return qe;ln=1,Object.defineProperty(qe,"__esModule",{value:!0}),qe.bodyOpenClassName=qe.portalClassName=void 0;var e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},t=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),n=r,o=p(n),i=p(v),a=p(Nt()),s=p(on()),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(Dt()),c=Yt(),u=p(c),d=dn;function p(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var b=qe.portalClassName="ReactModalPortal",m=qe.bodyOpenClassName="ReactModal__Body--open",g=c.canUseDOM&&void 0!==i.default.createPortal,h=function(e){return document.createElement(e)},y=function(){return g?i.default.createPortal:i.default.unstable_renderSubtreeIntoContainer};function I(e){return e()}var C=function(n){function r(){var t,n,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);for(var l=arguments.length,c=Array(l),u=0;u<l;u++)c[u]=arguments[u];return n=a=f(this,(t=r.__proto__||Object.getPrototypeOf(r)).call.apply(t,[this].concat(c))),a.removePortal=function(){!g&&i.default.unmountComponentAtNode(a.node);var e=I(a.props.parentSelector);e&&e.contains(a.node)?e.removeChild(a.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},a.portalRef=function(e){a.portal=e},a.renderPortal=function(t){var n=y()(a,o.default.createElement(s.default,e({defaultStyles:r.defaultStyles},t)),a.node);a.portalRef(n)},f(a,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,n),t(r,[{key:"componentDidMount",value:function(){c.canUseDOM&&(g||(this.node=h("div")),this.node.className=this.props.portalClassName,I(this.props.parentSelector).appendChild(this.node),!g&&this.renderPortal(this.props))}},{key:"getSnapshotBeforeUpdate",value:function(e){return{prevParent:I(e.parentSelector),nextParent:I(this.props.parentSelector)}}},{key:"componentDidUpdate",value:function(e,t,n){if(c.canUseDOM){var o=this.props,r=o.isOpen,i=o.portalClassName;e.portalClassName!==i&&(this.node.className=i);var a=n.prevParent,s=n.nextParent;s!==a&&(a.removeChild(this.node),s.appendChild(this.node)),(e.isOpen||r)&&!g&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(c.canUseDOM&&this.node&&this.portal){var e=this.portal.state,t=Date.now(),n=e.isOpen&&this.props.closeTimeoutMS&&(e.closesAt||t+this.props.closeTimeoutMS);n?(e.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,n-t)):this.removePortal()}}},{key:"render",value:function(){return c.canUseDOM&&g?(!this.node&&g&&(this.node=h("div")),y()(o.default.createElement(s.default,e({ref:this.portalRef,defaultStyles:r.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(e){l.setElement(e)}}]),r}(n.Component);return C.propTypes={isOpen:a.default.bool.isRequired,style:a.default.shape({content:a.default.object,overlay:a.default.object}),portalClassName:a.default.string,bodyOpenClassName:a.default.string,htmlOpenClassName:a.default.string,className:a.default.oneOfType([a.default.string,a.default.shape({base:a.default.string.isRequired,afterOpen:a.default.string.isRequired,beforeClose:a.default.string.isRequired})]),overlayClassName:a.default.oneOfType([a.default.string,a.default.shape({base:a.default.string.isRequired,afterOpen:a.default.string.isRequired,beforeClose:a.default.string.isRequired})]),appElement:a.default.oneOfType([a.default.instanceOf(u.default),a.default.instanceOf(c.SafeHTMLCollection),a.default.instanceOf(c.SafeNodeList),a.default.arrayOf(a.default.instanceOf(u.default))]),onAfterOpen:a.default.func,onRequestClose:a.default.func,closeTimeoutMS:a.default.number,ariaHideApp:a.default.bool,shouldFocusAfterRender:a.default.bool,shouldCloseOnOverlayClick:a.default.bool,shouldReturnFocusAfterClose:a.default.bool,preventScroll:a.default.bool,parentSelector:a.default.func,aria:a.default.object,data:a.default.object,role:a.default.string,contentLabel:a.default.string,shouldCloseOnEsc:a.default.bool,overlayRef:a.default.func,contentRef:a.default.func,id:a.default.string,overlayElement:a.default.func,contentElement:a.default.func},C.defaultProps={isOpen:!1,portalClassName:b,bodyOpenClassName:m,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(e,t){return o.default.createElement("div",e,t)},contentElement:function(e,t){return o.default.createElement("div",e,t)}},C.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},(0,d.polyfill)(C),"production"!==process.env.NODE_ENV&&(C.setCreateHTMLElement=function(e){return h=e}),qe.default=C,qe}var fn=Qe((cn||(cn=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n,o=pn(),r=(n=o)&&n.__esModule?n:{default:n};t.default=r.default,e.exports=t.default}(Ke,Ke.exports)),Ke.exports));function bn(){return bn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},bn.apply(null,arguments)}function mn(e,t){if(null==e)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(-1!==t.indexOf(o))continue;n[o]=e[o]}return n}function gn(e,t){return gn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},gn(e,t)}var hn=Qe(Nt()),vn=!1,yn="production"!==process.env.NODE_ENV?hn.oneOfType([hn.number,hn.shape({enter:hn.number,exit:hn.number,appear:hn.number}).isRequired]):null;"production"!==process.env.NODE_ENV&&hn.oneOfType([hn.string,hn.shape({enter:hn.string,exit:hn.string,active:hn.string}),hn.shape({enter:hn.string,enterDone:hn.string,enterActive:hn.string,exit:hn.string,exitDone:hn.string,exitActive:hn.string})]);var In=r.createContext(null),Cn="unmounted",xn="exited",wn="entering",An="entered",Gn="exiting",Nn=function(e){var t,n;function o(t,n){var o;o=e.call(this,t,n)||this;var r,i=n&&!n.isMounting?t.enter:t.appear;return o.appearStatus=null,t.in?i?(r=xn,o.appearStatus=wn):r=An:r=t.unmountOnExit||t.mountOnEnter?Cn:xn,o.state={status:r},o.nextCallback=null,o}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,gn(t,n),o.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Cn?{status:xn}:null};var i=o.prototype;return i.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},i.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==wn&&n!==An&&(t=wn):n!==wn&&n!==An||(t=Gn)}this.updateStatus(!1,t)},i.componentWillUnmount=function(){this.cancelNextCallback()},i.getTimeouts=function(){var e,t,n,o=this.props.timeout;return e=t=n=o,null!=o&&"number"!=typeof o&&(e=o.exit,t=o.enter,n=void 0!==o.appear?o.appear:t),{exit:e,enter:t,appear:n}},i.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===wn){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:v.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===xn&&this.setState({status:Cn})},i.performEnter=function(e){var t=this,n=this.props.enter,o=this.context?this.context.isMounting:e,r=this.props.nodeRef?[o]:[v.findDOMNode(this),o],i=r[0],a=r[1],s=this.getTimeouts(),l=o?s.appear:s.enter;!e&&!n||vn?this.safeSetState({status:An},function(){t.props.onEntered(i)}):(this.props.onEnter(i,a),this.safeSetState({status:wn},function(){t.props.onEntering(i,a),t.onTransitionEnd(l,function(){t.safeSetState({status:An},function(){t.props.onEntered(i,a)})})}))},i.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),o=this.props.nodeRef?void 0:v.findDOMNode(this);t&&!vn?(this.props.onExit(o),this.safeSetState({status:Gn},function(){e.props.onExiting(o),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:xn},function(){e.props.onExited(o)})})})):this.safeSetState({status:xn},function(){e.props.onExited(o)})},i.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},i.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},i.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(o){n&&(n=!1,t.nextCallback=null,e(o))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},i.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:v.findDOMNode(this),o=null==e&&!this.props.addEndListener;if(n&&!o){if(this.props.addEndListener){var r=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=r[0],a=r[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},i.render=function(){var e=this.state.status;if(e===Cn)return null;var t=this.props,n=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var o=mn(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return r.createElement(In.Provider,{value:null},"function"==typeof n?n(e,o):r.cloneElement(r.Children.only(n),o))},o}(r.Component);function On(){}Nn.contextType=In,Nn.propTypes="production"!==process.env.NODE_ENV?{nodeRef:hn.shape({current:"undefined"==typeof Element?hn.any:function(e,t,n,o,r,i){var a=e[t];return hn.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,n,o,r,i)}}),children:hn.oneOfType([hn.func.isRequired,hn.element.isRequired]).isRequired,in:hn.bool,mountOnEnter:hn.bool,unmountOnExit:hn.bool,appear:hn.bool,enter:hn.bool,exit:hn.bool,timeout:function(e){var t=yn;e.addEndListener||(t=t.isRequired);for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return t.apply(void 0,[e].concat(o))},addEndListener:hn.func,onEnter:hn.func,onEntering:hn.func,onEntered:hn.func,onExit:hn.func,onExiting:hn.func,onExited:hn.func}:{},Nn.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:On,onEntering:On,onEntered:On,onExit:On,onExiting:On,onExited:On},Nn.UNMOUNTED=Cn,Nn.EXITED=xn,Nn.ENTERING=wn,Nn.ENTERED=An,Nn.EXITING=Gn;const Rn=({size:n="md",shape:o="default",animation:r="popper",centered:i,title:s,isOpen:u,children:d,bodyStyle:p,className:f,bodyClassName:b,portalClassName:m,overlayClassName:g,closeButtonClassName:h,closeWrapperClassName:v,onRequestClose:y,parentSelector:I,hideScrollOnIsOpenFalse:C=!0,hideCloseButton:x=!1,...w})=>{Ue(u,C);const[A,G]=a(!1);l(()=>{G(u)},[u]);const N=c(()=>{if("undefined"==typeof document)return null;let e=document.querySelector("main")||document.body;return I&&(e=document.querySelector(I)||document.body),e},[I]);if(!N)return null;if(!u)return null;const O=e=>({xl:"inset-[5%] min-h-fit",lg:"inset-[10%] min-h-fit",md:"inset-[15%] min-h-fit",sm:"top-[18%] w-[640px]",xs:"w-[calc(100%-30px)]"}[e]),R=(e,t)=>{if("popper"===e){const e="transition-transform duration-300";return"entering"===t||"entered"===t?`${e} opacity-100 ${"entered"===t?"translate-y-0 pointer-events-auto":""}`:"exiting"===t||"exited"===t?`${e} opacity-0 translate-y-[-18px] duration-[180ms]`:`${e} opacity-0 translate-y-[-18px]`}if("bottomSheet"===e){const e="transition-transform duration-200 ease-in-out";return"entering"===t||"entered"===t?`${e} opacity-100 ${"entered"===t?"translate-y-0 pointer-events-auto":""}`:"exiting"===t||"exited"===t?`${e} opacity-0 translate-y-full duration-[180ms]`:`${e} opacity-0 translate-y-full`}return""};return e(Nn,{enter:!0,exit:!0,in:A,timeout:0,children:a=>t(fn,{ariaHideApp:!1,isOpen:u,onRequestClose:y,closeTimeoutMS:0,parentSelector:()=>N,className:We("absolute min-w-[150px] max-w-[calc(100vw-30px)] overflow-auto rounded-lg bg-white outline-none",O(n),"rounded"===o&&"rounded-3xl",i&&"top-0 translate-y-[calc(50vh-50%)]",R(r,a),f),portalClassName:We("z-80",m),overlayClassName:We("z-80 fixed inset-0 bg-black/50 flex items-center justify-center pb-[300px]",g),...w,children:[!x&&e("div",{className:We(v),children:e(Ee,{className:We("absolute right-0 top-0 float-right h-6 cursor-pointer p-5 text-text",h),onClick:y,"data-testid":"close-button","data-track-element-name":"modal_close_button","data-track-click-text":"Close Modal","data-track-element-clicked":"modal",children:e(Me,{name:"close",size:24})})}),s?e("div",{className:We("border-b border-border-secondary-on-bg-fill px-[7px] py-[7px] text-text"),children:s}):null,e("div",{className:We("p-5",b),style:p,"data-testid":w["data-testid"],"data-cy":w["data-cy"],children:d})]})})};Rn.displayName="Modal";const kn=t=>{const{open:n,children:o}=t,r=u(null),[i,s]=a(0);return l(()=>{const e=r.current;if(!e)return;const t=()=>{s(n?e.scrollHeight:0)};let o;return t(),n&&(o=new ResizeObserver(()=>t()),o.observe(e)),()=>{o&&o.disconnect()}},[n,o]),e("div",{className:"overflow-hidden transition-all duration-300 ease-in-out",style:{maxHeight:i,opacity:n?1:0},"aria-hidden":!n,children:e("div",{ref:r,children:o})})};kn.displayName="Collapse";const Vn=n=>{const{title:o,defaultOpen:r,children:i,containerClassName:s,titleClassName:c,className:u,buttonClassName:d,openOnlyOnDesktop:p,borderRadiusNone:f=!1}=n,[b,m]=a(Boolean(!1));return l(()=>{if(p){const e=window.innerWidth>=1024;m(e)}else m(Boolean(r))},[p,r]),t("div",{className:We(f?"rounded-none border":"rounded-surface-xs border",s),children:[t(Ee,{type:"button",className:We(f?"rounded-none":"rounded-t-surface-xs","flex w-full items-center justify-between gap-4 px-4 py-3 text-left",d),onClick:()=>m(e=>!e),children:[e("span",{className:We("label5",c),children:o}),e(Me,{name:b?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:24})]}),e(kn,{open:b,children:e("div",{className:We("px-4 py-4",u),children:i})})]})};Vn.displayName="Accordion";const Bn=({state:n,checked:o=!1,onChange:r,className:i,label:a,labelClassName:l,containerClassName:c,name:u,value:d,id:p,disabled:f=!1,required:b=!1,error:m=!1,"data-cy":g,renderInfoIcon:h,...v})=>{const y=f||"disabled"===n,I=p||u,C=We("flex items-center justify-center w-6 h-6 rounded-[4px] outline-offset-2","focus"===n&&"outline",i),x=s(e=>{y||r&&(1===r.length?r(e.target.checked):r())},[y,r]);return t("div",{className:We("flex items-center gap-3",c),children:[t("div",{className:"relative",children:[e("input",{type:"checkbox",id:I,name:u,value:d,checked:o,onChange:x,disabled:y,required:b,className:"peer sr-only","data-cy":g,...v}),e("label",{htmlFor:I,className:We("peer-focus:outline",C),style:{pointerEvents:y?"none":"auto"},children:t("svg",o?{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e("rect",{width:"24",height:"24",rx:"4",className:We(y?"fill-checkbox-bg-surface-selected-disabled":"fill-bg-fill-brand")}),e("path",{d:"M8 11.9593L11.0316 15L17 9",stroke:"white",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round"})]}:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e("rect",{x:"0.5",y:"0.5",width:"23",height:"23",rx:"3.5",className:We(y?"fill-checkbox-bg-surface-disabled":"fill-white")}),e("rect",{x:"0.5",y:"0.5",width:"23",height:"23",rx:"3.5",stroke:"#CECECE"})]})})]}),a&&e("label",{htmlFor:I,className:We("cursor-pointer",m&&"text-text-critical",l),children:a}),h&&e(Ee,{type:"button",onClick:h.onClick,"data-testid":h.dataTestId,className:"ml-2 cursor-pointer text-icon-info","aria-label":"More information",children:t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"2"}),e("path",{d:"M12 16v-4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e("path",{d:"M12 8h.01",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})})]})};function Sn(e){return Sn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Sn(e)}function Xn(e){var t=function(e,t){if("object"!=Sn(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=Sn(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Sn(t)?t:t+""}function Wn(e,t,n){return(t=Xn(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function En(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function Mn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?En(Object(n),!0).forEach(function(t){Wn(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):En(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Pn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function Tn(e,t){if(e){if("string"==typeof e)return Pn(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Pn(e,t):void 0}}function Zn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(o=i.call(n)).done)&&(s.push(o.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||Tn(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fn(e,t){if(null==e)return{};var n,o,r=mn(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}Bn.displayName="Checkbox";var Hn=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function zn(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,Xn(o.key),o)}}function jn(e){return jn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},jn(e)}function Jn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Jn=function(){return!!e})()}function Ln(e,t){if(t&&("object"==Sn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Yn(e){return function(e){if(Array.isArray(e))return Pn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Tn(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 Dn=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),Un="-ms-",Qn="-moz-",_n="-webkit-",$n="comm",Kn="rule",qn="decl",eo="@keyframes",to=Math.abs,no=String.fromCharCode,oo=Object.assign;function ro(e){return e.trim()}function io(e,t,n){return e.replace(t,n)}function ao(e,t){return e.indexOf(t)}function so(e,t){return 0|e.charCodeAt(t)}function lo(e,t,n){return e.slice(t,n)}function co(e){return e.length}function uo(e){return e.length}function po(e,t){return t.push(e),e}var fo=1,bo=1,mo=0,go=0,ho=0,vo="";function yo(e,t,n,o,r,i,a){return{value:e,root:t,parent:n,type:o,props:r,children:i,line:fo,column:bo,length:a,return:""}}function Io(e,t){return oo(yo("",null,null,"",null,null,0),e,{length:-e.length},t)}function Co(){return ho=go>0?so(vo,--go):0,bo--,10===ho&&(bo=1,fo--),ho}function xo(){return ho=go<mo?so(vo,go++):0,bo++,10===ho&&(bo=1,fo++),ho}function wo(){return so(vo,go)}function Ao(){return go}function Go(e,t){return lo(vo,e,t)}function No(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Oo(e){return fo=bo=1,mo=co(vo=e),go=0,[]}function Ro(e){return vo="",e}function ko(e){return ro(Go(go-1,So(91===e?e+2:40===e?e+1:e)))}function Vo(e){for(;(ho=wo())&&ho<33;)xo();return No(e)>2||No(ho)>3?"":" "}function Bo(e,t){for(;--t&&xo()&&!(ho<48||ho>102||ho>57&&ho<65||ho>70&&ho<97););return Go(e,Ao()+(t<6&&32==wo()&&32==xo()))}function So(e){for(;xo();)switch(ho){case e:return go;case 34:case 39:34!==e&&39!==e&&So(ho);break;case 40:41===e&&So(e);break;case 92:xo()}return go}function Xo(e,t){for(;xo()&&e+ho!==57&&(e+ho!==84||47!==wo()););return"/*"+Go(t,go-1)+"*"+no(47===e?e:xo())}function Wo(e){for(;!No(wo());)xo();return Go(e,go)}function Eo(e){return Ro(Mo("",null,null,null,[""],e=Oo(e),0,[0],e))}function Mo(e,t,n,o,r,i,a,s,l){for(var c=0,u=0,d=a,p=0,f=0,b=0,m=1,g=1,h=1,v=0,y="",I=r,C=i,x=o,w=y;g;)switch(b=v,v=xo()){case 40:if(108!=b&&58==so(w,d-1)){-1!=ao(w+=io(ko(v),"&","&\f"),"&\f")&&(h=-1);break}case 34:case 39:case 91:w+=ko(v);break;case 9:case 10:case 13:case 32:w+=Vo(b);break;case 92:w+=Bo(Ao()-1,7);continue;case 47:switch(wo()){case 42:case 47:po(To(Xo(xo(),Ao()),t,n),l);break;default:w+="/"}break;case 123*m:s[c++]=co(w)*h;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==h&&(w=io(w,/\f/g,"")),f>0&&co(w)-d&&po(f>32?Zo(w+";",o,n,d-1):Zo(io(w," ","")+";",o,n,d-2),l);break;case 59:w+=";";default:if(po(x=Po(w,t,n,c,u,r,s,y,I=[],C=[],d),i),123===v)if(0===u)Mo(w,t,x,x,I,i,d,s,C);else switch(99===p&&110===so(w,3)?100:p){case 100:case 108:case 109:case 115:Mo(e,x,x,o&&po(Po(e,x,x,0,0,r,s,y,r,I=[],d),C),r,C,d,s,o?I:C);break;default:Mo(w,x,x,x,[""],C,0,s,C)}}c=u=f=0,m=h=1,y=w="",d=a;break;case 58:d=1+co(w),f=b;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==Co())continue;switch(w+=no(v),v*m){case 38:h=u>0?1:(w+="\f",-1);break;case 44:s[c++]=(co(w)-1)*h,h=1;break;case 64:45===wo()&&(w+=ko(xo())),p=wo(),u=d=co(y=w+=Wo(Ao())),v++;break;case 45:45===b&&2==co(w)&&(m=0)}}return i}function Po(e,t,n,o,r,i,a,s,l,c,u){for(var d=r-1,p=0===r?i:[""],f=uo(p),b=0,m=0,g=0;b<o;++b)for(var h=0,v=lo(e,d+1,d=to(m=a[b])),y=e;h<f;++h)(y=ro(m>0?p[h]+" "+v:io(v,/&\f/g,p[h])))&&(l[g++]=y);return yo(e,t,n,0===r?Kn:s,l,c,u)}function To(e,t,n){return yo(e,t,n,$n,no(ho),lo(e,2,-2),0)}function Zo(e,t,n,o){return yo(e,t,n,qn,lo(e,0,o),lo(e,o+1,-1),o)}function Fo(e,t){for(var n="",o=uo(e),r=0;r<o;r++)n+=t(e[r],r,e,t)||"";return n}function Ho(e,t,n,o){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case qn:return e.return=e.return||e.value;case $n:return"";case eo:return e.return=e.value+"{"+Fo(e.children,o)+"}";case Kn:e.value=e.props.join(",")}return co(n=Fo(e.children,o))?e.return=e.value+"{"+n+"}":""}function zo(e){var t=uo(e);return function(n,o,r,i){for(var a="",s=0;s<t;s++)a+=e[s](n,o,r,i)||"";return a}}var jo="undefined"!=typeof document,Jo=function(e,t,n){for(var o=0,r=0;o=r,r=wo(),38===o&&12===r&&(t[n]=1),!No(r);)xo();return Go(e,go)},Lo=function(e,t){return Ro(function(e,t){var n=-1,o=44;do{switch(No(o)){case 0:38===o&&12===wo()&&(t[n]=1),e[n]+=Jo(go-1,t,n);break;case 2:e[n]+=ko(o);break;case 4:if(44===o){e[++n]=58===wo()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=no(o)}}while(o=xo());return e}(Oo(e),t))},Yo=new WeakMap,Do=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,o=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Yo.get(n))&&!o){Yo.set(e,!0);for(var r=[],i=Lo(t,r),a=n.props,s=0,l=0;s<i.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=r[s]?i[s].replace(/&\f/g,a[c]):a[c]+" "+i[s]}}},Uo=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Qo(e,t){switch(function(e,t){return 45^so(e,0)?(((t<<2^so(e,0))<<2^so(e,1))<<2^so(e,2))<<2^so(e,3):0}(e,t)){case 5103:return _n+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return _n+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return _n+e+Qn+e+Un+e+e;case 6828:case 4268:return _n+e+Un+e+e;case 6165:return _n+e+Un+"flex-"+e+e;case 5187:return _n+e+io(e,/(\w+).+(:[^]+)/,_n+"box-$1$2"+Un+"flex-$1$2")+e;case 5443:return _n+e+Un+"flex-item-"+io(e,/flex-|-self/,"")+e;case 4675:return _n+e+Un+"flex-line-pack"+io(e,/align-content|flex-|-self/,"")+e;case 5548:return _n+e+Un+io(e,"shrink","negative")+e;case 5292:return _n+e+Un+io(e,"basis","preferred-size")+e;case 6060:return _n+"box-"+io(e,"-grow","")+_n+e+Un+io(e,"grow","positive")+e;case 4554:return _n+io(e,/([^-])(transform)/g,"$1"+_n+"$2")+e;case 6187:return io(io(io(e,/(zoom-|grab)/,_n+"$1"),/(image-set)/,_n+"$1"),e,"")+e;case 5495:case 3959:return io(e,/(image-set\([^]*)/,_n+"$1$`$1");case 4968:return io(io(e,/(.+:)(flex-)?(.*)/,_n+"box-pack:$3"+Un+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+_n+e+e;case 4095:case 3583:case 4068:case 2532:return io(e,/(.+)-inline(.+)/,_n+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(co(e)-1-t>6)switch(so(e,t+1)){case 109:if(45!==so(e,t+4))break;case 102:return io(e,/(.+:)(.+)-([^]+)/,"$1"+_n+"$2-$3$1"+Qn+(108==so(e,t+3)?"$3":"$2-$3"))+e;case 115:return~ao(e,"stretch")?Qo(io(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==so(e,t+1))break;case 6444:switch(so(e,co(e)-3-(~ao(e,"!important")&&10))){case 107:return io(e,":",":"+_n)+e;case 101:return io(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+_n+(45===so(e,14)?"inline-":"")+"box$3$1"+_n+"$2$3$1"+Un+"$2box$3")+e}break;case 5936:switch(so(e,t+11)){case 114:return _n+e+Un+io(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return _n+e+Un+io(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return _n+e+Un+io(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return _n+e+Un+e+e}return e}var _o,$o,Ko,qo=jo?void 0:(_o=function(){return e=function(){return{}},t=Object.create(null),function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]};var e,t},$o=new WeakMap,function(e){if($o.has(e))return $o.get(e);var t=_o(e);return $o.set(e,t),t}),er=[function(e,t,n,o){if(e.length>-1&&!e.return)switch(e.type){case qn:e.return=Qo(e.value,e.length);break;case eo:return Fo([Io(e,{value:io(e.value,"@","@"+_n)})],o);case Kn:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Fo([Io(e,{props:[io(t,/:(read-\w+)/,":-moz-$1")]})],o);case"::placeholder":return Fo([Io(e,{props:[io(t,/:(plac\w+)/,":"+_n+"input-$1")]}),Io(e,{props:[io(t,/:(plac\w+)/,":-moz-$1")]}),Io(e,{props:[io(t,/:(plac\w+)/,Un+"input-$1")]})],o)}return""})}}],tr=function(e){var t=e.key;if(jo&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var o,r,i=e.stylisPlugins||er,a={},s=[];jo&&(o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)}));var l,c=[Do,Uo];if(qo){var u=[Ho],d=zo(c.concat(i,u)),p=qo(i)(t),f=function(e,t){var n=t.name;return void 0===p[n]&&(p[n]=Fo(Eo(e?e+"{"+t.styles+"}":t.styles),d)),p[n]};r=function(e,t,n,o){var r=t.name,i=f(e,t);return void 0===h.compat?(o&&(h.inserted[r]=!0),i):o?void(h.inserted[r]=i):i}}else{var b,m=[Ho,(l=function(e){b.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],g=zo(c.concat(i,m));r=function(e,t,n,o){b=n,Fo(Eo(e?e+"{"+t.styles+"}":t.styles),g),o&&(h.inserted[t.name]=!0)}}var h={key:t,sheet:new Dn({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:r};return h.sheet.hydrate(s),h},nr={exports:{}},or={};var rr,ir,ar,sr,lr={};
31
31
  /** @license React v16.13.1
32
32
  * react-is.development.js
33
33
  *