1(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[193],{300193:(e,t,n)=>{"use strict";function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function r(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,s(o.key),o)}}function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}function a(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return u(e)}(this,n)}}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function s(e){var t=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===o(t)?t:String(t)}var l=n(729136),f=n(345211),d=n(727664).createFocusTrap,p=n(172061).isFocusable,v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)}(f,e);var t,n,o,c=a(f);function f(e){var t,n,o,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),t=c.call(this,e),n=u(t),r=function(e){var t,n=null!==(t=this.internalOptions[e])&&void 0!==t?t:this.originalOptions[e];if("function"==typeof n){for(var o=arguments.length,r=new Array(o>1?o-1:0),i=1;i<o;i++)r[i-1]=arguments[i];n=n.apply(void 0,r)}if(!0===n&&(n=void 0),!n){if(void 0===n||!1===n)return n;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var a,u=n;if("string"==typeof n&&!(u=null===(a=this.getDocument())||void 0===a?void 0:a.querySelector(n)))throw new Error("`".concat(e,"` as selector refers to no known node"));return u},(o=s(o="getNodeForOption"))in n?Object.defineProperty(n,o,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[o]=r,t.handleDeactivate=t.handleDeactivate.bind(u(t)),t.handlePostDeactivate=t.handlePostDeactivate.bind(u(t)),t.handleClickOutsideDeactivates=t.handleClickOutsideDeactivates.bind(u(t)),t.internalOptions={returnFocusOnDeactivate:!1,checkCanReturnFocus:null,onDeactivate:t.handleDeactivate,onPostDeactivate:t.handlePostDeactivate,clickOutsideDeactivates:t.handleClickOutsideDeactivates},t.originalOptions={returnFocusOnDeactivate:!0,onDeactivate:null,onPostDeactivate:null,checkCanReturnFocus:null,clickOutsideDeactivates:!1};var i=e.focusTrapOptions;for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&("returnFocusOnDeactivate"!==a&&"onDeactivate"!==a&&"onPostDeactivate"!==a&&"checkCanReturnFocus"!==a&&"clickOutsideDeactivates"!==a?t.internalOptions[a]=i[a]:t.originalOptions[a]=i[a]);return t.outsideClick=null,t.focusTrapElements=e.containerElements||[],t.updatePreviousElement(),t}return t=f,(n=[{key:"getDocument",value:function(){return this.props.focusTrapOptions.document||("undefined"!=typeof document?document:void 0)}},{key:"getReturnFocusNode",value:function(){var e=this.getNodeForOption("setReturnFocus",this.previouslyFocusedElement);return e||!1!==e&&this.previouslyFocusedElement}},{key:"updatePreviousElement",value:function(){var e=this.getDocument();e&&(this.previouslyFocusedElement=e.activeElement)}},{key:"deactivateTrap",value:function(){this.focusTrap&&this.focusTrap.active&&this.focusTrap.deactivate({returnFocus:!1,checkCanReturnFocus:null,onDeactivate:this.originalOptions.onDeactivate})}},{key:"handleClickOutsideDeactivates",value:function(e){var t="function"==typeof this.originalOptions.clickOutsideDeactivates?this.originalOptions.clickOutsideDeactivates.call(null,e):this.originalOptions.clickOutsideDeactivates;return t&&(this.outsideClick={target:e.target,allowDeactivation:t}),t}},{key:"handleDeactivate",value:function(){this.originalOptions.onDeactivate&&this.originalOptions.onDeactivate.call(null),this.deactivateTrap()}},{key:"handlePostDeactivate",value:function(){var e=this,t=function(){var t=e.getReturnFocusNode(),n=!(!e.originalOptions.returnFocusOnDeactivate||null==t||!t.focus||e.outsideClick&&(!e.outsideClick.allowDeactivation||p(e.outsideClick.target,e.internalOptions.tabbableOptions))),o=e.internalOptions.preventScroll,r=void 0!==o&&o;
vendor: 5,973 bytes, line 1
1n&&t.focus({preventScroll:r}),e.originalOptions.onPostDeactivate&&e.originalOptions.onPostDeactivate.call(null),e.outsideClick=null};this.originalOptions.checkCanReturnFocus?this.originalOptions.checkCanReturnFocus.call(null,this.getReturnFocusNode()).then(t,t):t()}},{key:"setupFocusTrap",value:function(){this.focusTrap?this.props.active&&!this.focusTrap.active&&(this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause()):this.focusTrapElements.some(Boolean)&&(this.focusTrap=this.props._createFocusTrap(this.focusTrapElements,this.internalOptions),this.props.active&&this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause())}},{key:"componentDidMount",value:function(){this.props.active&&this.setupFocusTrap()}},{key:"componentDidUpdate",value:function(e){if(this.focusTrap){e.containerElements!==this.props.containerElements&&this.focusTrap.updateContainerElements(this.props.containerElements);var t=!e.active&&this.props.active,n=e.active&&!this.props.active,o=!e.paused&&this.props.paused,r=e.paused&&!this.props.paused;if(t&&(this.updatePreviousElement(),this.focusTrap.activate()),n)return void this.deactivateTrap();o&&this.focusTrap.pause(),r&&this.focusTrap.unpause()}else e.containerElements!==this.props.containerElements&&(this.focusTrapElements=this.props.containerElements),this.props.active&&(this.updatePreviousElement(),this.setupFocusTrap())}},{key:"componentWillUnmount",value:function(){this.deactivateTrap()}},{key:"render",value:function(){var e=this,t=this.props.children?l.Children.only(this.props.children):void 0;if(t){if(t.type&&t.type===l.Fragment)throw new Error("A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> element.");return l.cloneElement(t,{ref:function(n){var o=e.props.containerElements;t&&("function"==typeof t.ref?t.ref(n):t.ref&&(t.ref.current=n)),e.focusTrapElements=o||[n]}})}return null}}])&&r(t.prototype,n),o&&r(t,o),Object.defineProperty(t,"prototype",{writable:!1}),f}(l.Component),h="undefined"==typeof Element?Function:Element;v.propTypes={active:f.bool,paused:f.bool,focusTrapOptions:f.shape({document:f.object,onActivate:f.func,onPostActivate:f.func,checkCanFocusTrap:f.func,onPause:f.func,onPostPause:f.func,onUnpause:f.func,onPostUnpause:f.func,onDeactivate:f.func,onPostDeactivate:f.func,checkCanReturnFocus:f.func,initialFocus:f.oneOfType([f.instanceOf(h),f.string,f.bool,f.func]),fallbackFocus:f.oneOfType([f.instanceOf(h),f.string,f.func]),escapeDeactivates:f.oneOfType([f.bool,f.func]),clickOutsideDeactivates:f.oneOfType([f.bool,f.func]),returnFocusOnDeactivate:f.bool,setReturnFocus:f.oneOfType([f.instanceOf(h),f.string,f.bool,f.func]),allowOutsideClick:f.oneOfType([f.bool,f.func]),preventScroll:f.bool,tabbableOptions:f.shape({displayCheck:f.oneOf(["full","legacy-full","non-zero-area","none"]),getShadowRoot:f.oneOfType([f.bool,f.func])}),trapStack:f.array,isKeyForward:f.func,isKeyBackward:f.func}),containerElements:f.arrayOf(f.instanceOf(h)),children:f.oneOfType([f.element,f.instanceOf(h)])},v.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:d},e.exports=v},172061:(e,t,n)=>{"use strict";n.r(t),n.d(t,{focusable:()=>T,getTabIndex:()=>d,isFocusable:()=>N,isTabbable:()=>D,tabbable:()=>E});var o=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],r=o.join(","),i="undefined"==typeof Element,a=i?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,u=!i&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},c=function e(t,n){var o;void 0===n&&(n=!0);var r=null==t||null===(o=t.getAttribute)||void 0===o?void 0:o.call(t,"inert");return""===r||"true"===r||n&&t&&e(t.parentNode)},s=function(e,t,n){if(c(e))return[];var o=Array.prototype.slice.apply(e.querySelectorAll(r));return t&&a.call(e,r)&&o.unshift(e),o=o.filter(n)},l=function e(t,n,o){for(var i=[],u=Array.from(t);u.length;){var s=u.shift();if(!c(s,!1))if("SLOT"===s.tagName){var l=s.assignedElements(),f=e(l.length?l:s.children,!0,o);o.flatten?i.push.apply(i,f):i.push({scopeParent:s,candidates:f})}else{a.call(s,r)&&o.filter(s)&&(n||!t.includes(s))&&i.push(s);var d=s.shadowRoot||"function"==typeof o.getShadowRoot&&o.getShadowRoot(s),p=!c(d,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(s));if(d&&p){var v=e(!0===d?s.children:d.children,!0,o);o.flatten?i.push.apply(i,v):i.push({scopeParent:s,candidates:v})}else u.unshift.apply(u,s.children)}}return i},f=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},d=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,n=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n}(e))&&!f(e)?0:e.tabIndex},p=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},v=function(e){return"INPUT"===e.tagName},h=function(e){return function(e){return v(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||u(e),o=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=o(window.CSS.escape(e.name));else try{t=o(e.name)}catch(i){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",i.message),!1}var r=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!r||r===e}(e)}
vendor: 6,818 bytes, line 1
1,b=function(e){var t=e.getBoundingClientRect(),n=t.width,o=t.height;return 0===n&&0===o},y=function(e,t){var n=t.displayCheck,o=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var r=a.call(e,"details>summary:first-of-type")?e.parentElement:e;if(a.call(r,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return b(e)}else{if("function"==typeof o){for(var i=e;e;){var c=e.parentElement,s=u(e);if(c&&!c.shadowRoot&&!0===o(c))return b(e);e=e.assignedSlot?e.assignedSlot:c||s===e.ownerDocument?c:s.host}e=i}if(function(e){var t,n,o,r,i=e&&u(e),a=null===(t=i)||void 0===t?void 0:t.host,c=!1;if(i&&i!==e)for(c=!!(null!==(n=a)&&void 0!==n&&null!==(o=n.ownerDocument)&&void 0!==o&&o.contains(a)||null!=e&&null!==(r=e.ownerDocument)&&void 0!==r&&r.contains(e));!c&&a;){var s,l,f;c=!(null===(l=a=null===(s=i=u(a))||void 0===s?void 0:s.host)||void 0===l||null===(f=l.ownerDocument)||void 0===f||!f.contains(a))}return c}(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},m=function(e,t){return!(t.disabled||c(t)||function(e){return v(e)&&"hidden"===e.type}(t)||y(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some(function(e){return"SUMMARY"===e.tagName})}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var o=t.children.item(n);if("LEGEND"===o.tagName)return!!a.call(t,"fieldset[disabled] *")||!o.contains(e)}return!0}t=t.parentElement}return!1}(t))},g=function(e,t){return!(h(t)||d(t)<0||!m(e,t))},w=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},O=function e(t){var n=[],o=[];return t.forEach(function(t,r){var i=!!t.scopeParent,a=i?t.scopeParent:t,u=function(e,t){var n=d(e);return n<0&&t&&!f(e)?0:n}(a,i),c=i?e(t.candidates):a;0===u?i?n.push.apply(n,c):n.push(a):o.push({documentOrder:r,tabIndex:u,item:t,isScope:i,content:c})}),o.sort(p).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(n)},E=function(e,t){var n;return n=(t=t||{}).getShadowRoot?l([e],t.includeContainer,{filter:g.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:w}):s(e,t.includeContainer,g.bind(null,t)),O(n)},T=function(e,t){return(t=t||{}).getShadowRoot?l([e],t.includeContainer,{filter:m.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):s(e,t.includeContainer,m.bind(null,t))},D=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==a.call(e,r)&&g(t,e)},S=o.concat("iframe").join(","),N=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==a.call(e,S)&&m(t,e)}},727664:(e,t,n)=>{"use strict";n.r(t),n.d(t,{createFocusTrap:()=>G});var o=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],r=o.join(","),i="undefined"==typeof Element,a=i?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,u=!i&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},c=function e(t,n){var o;void 0===n&&(n=!0);var r=null==t||null===(o=t.getAttribute)||void 0===o?void 0:o.call(t,"inert");return""===r||"true"===r||n&&t&&e(t.parentNode)},s=function(e,t,n){if(c(e))return[];var o=Array.prototype.slice.apply(e.querySelectorAll(r));return t&&a.call(e,r)&&o.unshift(e),o=o.filter(n)},l=function e(t,n,o){for(var i=[],u=Array.from(t);u.length;){var s=u.shift();if(!c(s,!1))if("SLOT"===s.tagName){var l=s.assignedElements(),f=e(l.length?l:s.children,!0,o);o.flatten?i.push.apply(i,f):i.push({scopeParent:s,candidates:f})}else{a.call(s,r)&&o.filter(s)&&(n||!t.includes(s))&&i.push(s);var d=s.shadowRoot||"function"==typeof o.getShadowRoot&&o.getShadowRoot(s),p=!c(d,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(s));if(d&&p){var v=e(!0===d?s.children:d.children,!0,o);o.flatten?i.push.apply(i,v):i.push({scopeParent:s,candidates:v})}else u.unshift.apply(u,s.children)}}return i},f=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},d=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,n=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n}(e))&&!f(e)?0:e.tabIndex},p=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},v=function(e){return"INPUT"===e.tagName},h=function(e){return function(e){return v(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||u(e),o=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=o(window.CSS.escape(e.name));else try{t=o(e.name)}catch(i){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",i.message),!1}var r=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!r||r===e}(e)},b=function(e){var t=e.getBoundingClientRect(),n=t.width,o=t.height;return 0===n&&0===o},y=function(e,t){var n=t.displayCheck,o=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var r=a.call(e,"details>summary:first-of-type")?e.parentElement:e;if(a.call(r,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return b(e)}else{if("function"==typeof o){for(var i=e;e;){var c=e.parentElement,s=u(e);if(c&&!c.shadowRoot&&!0===o(c))return b(e);e=e.assignedSlot?e.assignedSlot:c||s===e.ownerDocument?c:s.host}e=i}if(function(e){var t,n,o,r,i=e&&u(e),a=null===(t=i)||void 0===t?void 0:t.host,c=!1;if(i&&i!==e)for(c=!!(null!==(n=a)&&void 0!==n&&null!==(o=n.ownerDocument)&&void 0!==o&&o.contains(a)||null!=e&&null!==(r=e.ownerDocument)&&void 0!==r&&r.contains(e));!c&&a;){var s,l,f;c=!(null===(l=a=null===(s=i=u(a))||void 0===s?void 0:s.host)||void 0===l||null===(f=l.ownerDocument)||void 0===f||!f.contains(a))}return c}(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},m=function(e,t){return!(t.disabled||c(t)||function(e){return v(e)&&"hidden"===e.type}(t)||y(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some(function(e){return"SUMMARY"===e.tagName})}
1(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var o=t.children.item(n);if("LEGEND"===o.tagName)return!!a.call(t,"fieldset[disabled] *")||!o.contains(e)}return!0}t=t.parentElement}return!1}(t))},g=function(e,t){return!(h(t)||d(t)<0||!m(e,t))},w=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},O=function e(t){var n=[],o=[];return t.forEach(function(t,r){var i=!!t.scopeParent,a=i?t.scopeParent:t,u=function(e,t){var n=d(e);return n<0&&t&&!f(e)?0:n}(a,i),c=i?e(t.candidates):a;0===u?i?n.push.apply(n,c):n.push(a):o.push({documentOrder:r,tabIndex:u,item:t,isScope:i,content:c})}),o.sort(p).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(n)},E=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==a.call(e,r)&&g(t,e)},T=o.concat("iframe").join(","),D=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==a.call(e,T)&&m(t,e)};function S(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 N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach(function(t){k(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function k(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var F=function(e,t){if(e.length>0){var n=e[e.length-1];n!==t&&n.pause()}var o=e.indexOf(t);-1===o||e.splice(o,1),e.push(t)},R=function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),e.length>0&&e[e.length-1].unpause()},P=function(e){return"Tab"===(null==e?void 0:e.key)||9===(null==e?void 0:e.keyCode)},C=function(e){return P(e)&&!e.shiftKey},A=function(e){return P(e)&&e.shiftKey},I=function(e){return setTimeout(e,0)},x=function(e,t){var n=-1;return e.every(function(e,o){return!t(e)||(n=o,!1)}),n},j=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return"function"==typeof e?e.apply(void 0,n):e},L=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},_=[],G=function(e,t){var n,o=(null==t?void 0:t.document)||document,r=(null==t?void 0:t.trapStack)||_,i=N({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:C,isKeyBackward:A},t),a={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},u=function(e,t,n){return e&&void 0!==e[t]?e[t]:i[n||t]},c=function(e,t){var n="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return a.containerGroups.findIndex(function(t){var o=t.container,r=t.tabbableNodes;return o.contains(e)||(null==n?void 0:n.includes(o))||r.find(function(t){return t===e})})},f=function(e){var t=i[e];if("function"==typeof t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];t=t.apply(void 0,r)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var u=t;if("string"==typeof t&&!(u=o.querySelector(t)))throw new Error("`".concat(e,"` as selector refers to no known node"));return u},p=function(){var e=f("initialFocus");if(!1===e)return!1;if(void 0===e||!D(e,i.tabbableOptions))if(c(o.activeElement)>=0)e=o.activeElement;else{var t=a.tabbableGroups[0];e=t&&t.firstTabbableNode||f("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},v=function(){if(a.containerGroups=a.containers.map(function(e){var t=function(e,t){var n;return n=(t=t||{}).getShadowRoot?l([e],t.includeContainer,{filter:g.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:w}):s(e,t.includeContainer,g.bind(null,t)),O(n)}(e,i.tabbableOptions),n=function(e,t){return(t=t||{}).getShadowRoot?l([e],t.includeContainer,{filter:m.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):s(e,t.includeContainer,m.bind(null,t))}(e,i.tabbableOptions),o=t.length>0?t[0]:void 0,r=t.length>0?t[t.length-1]:void 0,a=n.find(function(e){return E(e)}),u=n.slice().reverse().find(function(e){return E(e)}),c=!!t.find(function(e){return d(e)>0});return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:c,firstTabbableNode:o,lastTabbableNode:r,firstDomTabbableNode:a,lastDomTabbableNode:u,nextTabbableNode:function(e){var o=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=t.indexOf(e);return r<0?o?n.slice(n.indexOf(e)+1).find(function(e){return E(e)}):n.slice(0,n.indexOf(e)).reverse().find(function(e){return E(e)}):t[r+(o?1:-1)]}}}),a.tabbableGroups=a.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),a.tabbableGroups.length<=0&&!f("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(a.containerGroups.find(function(e){return e.posTabIndexesFound})&&a.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},h=function e(t){var n=t.activeElement;if(n)return n.shadowRoot&&null!==n.shadowRoot.activeElement?e(n.shadowRoot):n},b=function e(t){!1!==t&&t!==h(document)&&(t&&t.focus?(t.focus({preventScroll:!!i.preventScroll}),a.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(p()))},y=function(e){var t=f("setReturnFocus",e);return t||!1!==t&&e},T=function(e){var t=e.target,n=e.event,o=e.isBackward,r=void 0!==o&&o;t=t||L(n),v();var u=null;if(a.tabbableGroups.length>0){var s=c(t,n),l=s>=0?a.containerGroups[s]:void 0;if(s<0)u=r?a.tabbableGroups[a.tabbableGroups.length-1].lastTabbableNode:a.tabbableGroups[0].firstTabbableNode;else if(r){var p=x(a.tabbableGroups,function(e){var n=e.firstTabbableNode;return t===n});if(p<0&&(l.container===t||D(t,i.tabbableOptions)&&!E(t,i.tabbableOptions)&&!l.nextTabbableNode(t,!1))&&(p=s),p>=0){var h=0===p?a.tabbableGroups.length-1:p-1,b=a.tabbableGroups[h];u=d(t)>=0?b.lastTabbableNode:b.lastDomTabbableNode}else P(n)||(u=l.nextTabbableNode(t,!1))}else{var y=x(a.tabbableGroups,function(e){var n=e.lastTabbableNode;return t===n});if(y<0&&(l.container===t||D(t,i.tabbableOptions)&&!E(t,i.tabbableOptions)&&!l.nextTabbableNode(t))&&(y=s),y>=0){var m=y===a.tabbableGroups.length-1?0:y+1,g=a.tabbableGroups[m];u=d(t)>=0?g.firstTabbableNode:g.firstDomTabbableNode}else P(n)||(u=l.nextTabbableNode(t))}}else u=f("fallbackFocus");return u},S=function(e){var t=L(e);c(t,e)>=0||(j(i.clickOutsideDeactivates,e)?n.deactivate({returnFocus:i.returnFocusOnDeactivate}):j(i.allowOutsideClick,e)||e.preventDefault())},k=function(e){var t=L(e),n=c(t,e)>=0;if(n||t instanceof Document)n&&(a.mostRecentlyFocusedNode=t);else{var o;e.stopImmediatePropagation();var r=!0;if(a.mostRecentlyFocusedNode)if(d(a.mostRecentlyFocusedNode)>0){var u=c(a.mostRecentlyFocusedNode),s=a.containerGroups[u].tabbableNodes;if(s.length>0){var l=s.findIndex(function(e){return e===a.mostRecentlyFocusedNode});l>=0&&(i.isKeyForward(a.recentNavEvent)?l+1<s.length&&(o=s[l+1],r=!1):l-1>=0&&(o=s[l-1],r=!1))}}else a.containerGroups.some(function(e){return e.tabbableNodes.some(function(e){return d(e)>0})})||(r=!1);else r=!1;r&&(o=T({target:a.mostRecentlyFocusedNode,isBackward:i.isKeyBackward(a.recentNavEvent)})),b(o||(a.mostRecentlyFocusedNode||p()))}a.recentNavEvent=void 0},G=function(e){if(!(t=e,"Escape"!==(null==t?void 0:t.key)&&"Esc"!==(null==t?void 0:t.key)&&27!==(null==t?void 0:t.keyCode)||!1===j(i.escapeDeactivates,e)))return e.preventDefault(),void n.deactivate();var t;(i.isKeyForward(e)||i.isKeyBackward(e))&&function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];a.recentNavEvent=e;var n=T({event:e,isBackward:t});n&&(P(e)&&e.preventDefault(),b(n))}(e,i.isKeyBackward(e))},B=function(e){var t=L(e);c(t,e)>=0||j(i.clickOutsideDeactivates,e)||j(i.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},U=function(){if(a.active)return F(r,n),a.delayInitialFocusTimer=i.delayInitialFocus?I(function(){b(p())}):b(p()),o.addEventListener("focusin",k,!0),o.addEventListener("mousedown",S,{capture:!0,passive:!1}),o.addEventListener("touchstart",S,{capture:!0,passive:!1}),o.addEventListener("click",B,{capture:!0,passive:!1}),o.addEventListener("keydown",G,{capture:!0,passive:!1}),n},K=function(){if(a.active)return o.removeEventListener("focusin",k,!0),o.removeEventListener("mousedown",S,!0),o.removeEventListener("touchstart",S,!0),o.removeEventListener("click",B,!0),o.removeEventListener("keydown",G,!0),n},M="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver(function(e){e.some(function(e){return Array.from(e.removedNodes
1).some(function(e){return e===a.mostRecentlyFocusedNode})})&&b(p())}):void 0,q=function(){M&&(M.disconnect(),a.active&&!a.paused&&a.containers.map(function(e){M.observe(e,{subtree:!0,childList:!0})}))};return(n={get active(){return a.active},get paused(){return a.paused},activate:function(e){if(a.active)return this;var t=u(e,"onActivate"),n=u(e,"onPostActivate"),r=u(e,"checkCanFocusTrap");r||v(),a.active=!0,a.paused=!1,a.nodeFocusedBeforeActivation=o.activeElement,null==t||t();var i=function(){r&&v(),U(),q(),null==n||n()};return r?(r(a.containers.concat()).then(i,i),this):(i(),this)},deactivate:function(e){if(!a.active)return this;var t=N({onDeactivate:i.onDeactivate,onPostDeactivate:i.onPostDeactivate,checkCanReturnFocus:i.checkCanReturnFocus},e);clearTimeout(a.delayInitialFocusTimer),a.delayInitialFocusTimer=void 0,K(),a.active=!1,a.paused=!1,q(),R(r,n);var o=u(t,"onDeactivate"),c=u(t,"onPostDeactivate"),s=u(t,"checkCanReturnFocus"),l=u(t,"returnFocus","returnFocusOnDeactivate");null==o||o();var f=function(){I(function(){l&&b(y(a.nodeFocusedBeforeActivation)),null==c||c()})};return l&&s?(s(y(a.nodeFocusedBeforeActivation)).then(f,f),this):(f(),this)},pause:function(e){if(a.paused||!a.active)return this;var t=u(e,"onPause"),n=u(e,"onPostPause");return a.paused=!0,null==t||t(),K(),q(),null==n||n(),this},unpause:function(e){if(!a.paused||!a.active)return this;var t=u(e,"onUnpause"),n=u(e,"onPostUnpause");return a.paused=!1,null==t||t(),v(),U(),q(),null==n||n(),this}
vendor: 1,053 bytes, lines 1-2
1,updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return a.containers=t.map(function(e){return"string"==typeof e?o.querySelector(e):e}),a.active&&v(),q(),this}}).updateContainerElements(e),n}},584547:(e,t,n)=>{"use strict";var o=n(699500);function r(){}function i(){}i.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,i,a){if(a!==o){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return n.PropTypes=n,n}},345211:(e,t,n)=>{e.exports=n(584547)()},699500:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}}]); 2//# sourceMappingURL=193.1280a3fde.chunk.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.