PageSourceSearch

https://anycure.jp/_next/static/chunks/4899-e21cd3a0fcc5f9eb.js

js anycure.jp collected 2026-10-04 14:47:22 UTC 31,312 bytes, 1 lines download raw bytes

1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="e582a9e6-0f03-41d7-919b-c357fd772696",e._sentryDebugIdIdentifier="sentry-dbid-e582a9e6-0f03-41d7-919b-c357fd772696")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4899],{3717:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},19130:(e,t,n)=>{"use strict";n.r(t),n.d(t,{focusable:()=>N,getTabIndex:()=>p,isFocusable:()=>I,isTabbable:()=>C,tabbable:()=>S});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,c=!i&&Element.prototype.getRootNode?function(e){var t;return null==e||null==(t=e.getRootNode)?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},u=function(e,t){void 0===t&&(t=!0);var n,o=null==e||null==(n=e.getAttribute)?void 0:n.call(e,"inert");return""===o||"true"===o||t&&e&&u(e.parentNode)},s=function(e){var t,n=null==e||null==(t=e.getAttribute)?void 0:t.call(e,"contenteditable");return""===n||"true"===n},l=function(e,t,n){if(u(e))return[];var o=Array.prototype.slice.apply(e.querySelectorAll(r));return t&&a.call(e,r)&&o.unshift(e),o=o.filter(n)},d=function(e,t,n){for(var o=[],i=Array.from(e);i.length;){var c=i.shift();if(!u(c,!1))if("SLOT"===c.tagName){var s=c.assignedElements(),l=d(s.length?s:c.children,!0,n);n.flatten?o.push.apply(o,l):o.push({scopeParent:c,candidates:l})}else{a.call(c,r)&&n.filter(c)&&(t||!e.includes(c))&&o.push(c);var f=c.shadowRoot||"function"==typeof n.getShadowRoot&&n.getShadowRoot(c),p=!u(f,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(c));if(f&&p){var v=d(!0===f?c.children:f.children,!0,n);n.flatten?o.push.apply(o,v):o.push({scopeParent:c,candidates:v})}else i.unshift.apply(i,c.children)}}return o},f=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},p=function(e){if(!e)throw Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||s(e))&&!f(e)?0:e.tabIndex},v=function(e,t){var n=p(e);return n<0&&t&&!f(e)?0:n},b=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},h=function(e){return"INPUT"===e.tagName},y=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},m=function(e){if(!e.name)return!0;var t,n=e.form||c(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(e){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",e.message),!1}var r=y(t,e.form);return!r||r===e},g=function(e){return h(e)&&"radio"===e.type&&!m(e)},w=function(e){var t,n,o,r,i,a,u,s=e&&c(e),l=null==(t=s)?void 0:t.host,d=!1;if(s&&s!==e)for(d=!!(null!=(n=l)&&null!=(o=n.ownerDocument)&&o.contains(l)||null!=e&&null!=(r=e.ownerDocument)&&r.contains(e));!d&&l;)d=!!(null!=(a=l=null==(i=s=c(l))?void 0:i.host)&&null!=(u=a.ownerDocument)&&u.contains(l));return d},O=function(e){var t=e.getBoundingClientRect(),n=t.width,o=t.height;return 0===n&&0===o},T=function(e,t){var n=t.displayCheck,o=t.getShadowRoot;if("full-native"===n&&"checkVisibility"in e)return!e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});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;
1if(n&&"full"!==n&&"full-native"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return O(e)}else{if("function"==typeof o){for(var i=e;e;){var u=e.parentElement,s=c(e);if(u&&!u.shadowRoot&&!0===o(u))return O(e);e=e.assignedSlot?e.assignedSlot:u||s===e.ownerDocument?u:s.host}e=i}if(w(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},E=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},k=function(e,t){return!(t.disabled||u(t)||h(t)&&"hidden"===t.type||T(t,e)||"DETAILS"===t.tagName&&Array.prototype.slice.apply(t.children).some(function(e){return"SUMMARY"===e.tagName})||E(t))},D=function(e,t){return!(g(t)||0>p(t))&&!!k(e,t)},F=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!isNaN(t)||!!(t>=0)},P=function(e){var t=[],n=[];return e.forEach(function(e,o){var r=!!e.scopeParent,i=r?e.scopeParent:e,a=v(i,r),c=r?P(e.candidates):i;0===a?r?t.push.apply(t,c):t.push(i):n.push({documentOrder:o,tabIndex:a,item:e,isScope:r,content:c})}),n.sort(b).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(t)},S=function(e,t){return P((t=t||{}).getShadowRoot?d([e],t.includeContainer,{filter:D.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:F}):l(e,t.includeContainer,D.bind(null,t)))},N=function(e,t){return(t=t||{}).getShadowRoot?d([e],t.includeContainer,{filter:k.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):l(e,t.includeContainer,k.bind(null,t))},C=function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==a.call(e,r)&&D(t,e)},R=o.concat("iframe").join(","),I=function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==a.call(e,R)&&k(t,e)}},66894:(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})(e)}function r(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(r=function(){return!!e})()}function i(e){return(i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function a(e,t){return(a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function c(e){var t=function(e,t){if("object"!=o(e)||!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 TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o(t)?t:t+""}var u=n(14232),s=n(95062),l=n(73351).createFocusTrap,d=n(19130).isFocusable,f=function(e){var t;function n(e){if(!(this instanceof n))throw TypeError("Cannot call a class as a function");t=n,a=[e],t=i(t),u=d=function(e,t){if(t&&("object"==o(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");var n=e;if(void 0===n)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(this,r()?Reflect.construct(t,a||[],i(this).constructor):t.apply(this,a)),s="getNodeForOption",l=function(e){var t,n,o=null!=(t=this.internalOptions[e])?t:this.originalOptions[e];if("function"==typeof o){for(var r=arguments.length,i=Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];o=o.apply(void 0,i)}if(!0===o&&(o=void 0),!o){if(void 0===o||!1===o)return o;throw Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var c=o;if("string"==typeof o&&!(c=null==(n=this.getDocument())?void 0:n.querySelector(o)))throw Error("`".concat(e,"` as selector refers to no known node"));return c},(s=c(s))in u?Object.defineProperty(u,s,{value:l,enumerable:!0,configurable:!0,writable:!0}):u[s]=l,d.handleDeactivate=d.handleDeactivate.bind(d),d.handlePostDeactivate=d.handlePostDeactivate.bind(d),d.handleClickOutsideDeactivates=d.handleClickOutsideDeactivates.bind(d),d.internalOptions={returnFocusOnDeactivate:!1,checkCanReturnFocus:null,onDeactivate:d.handleDeactivate,onPostDeactivate:d.handlePostDeactivate,clickOutsideDeactivates:d.handleClickOutsideDeactivates},d.originalOptions={returnFocusOnDeactivate:!0,onDeactivate:null,onPostDeactivate:null,checkCanReturnFocus:null,clickOutsideDeactivates:!1};var t,a,u,s,l,d,f=e.focusTrapOptions;
1for(var p in f)if(Object.prototype.hasOwnProperty.call(f,p)){if("returnFocusOnDeactivate"===p||"onDeactivate"===p||"onPostDeactivate"===p||"checkCanReturnFocus"===p||"clickOutsideDeactivates"===p){d.originalOptions[p]=f[p];continue}d.internalOptions[p]=f[p]}return d.outsideClick=null,d.focusTrapElements=e.containerElements||[],d.updatePreviousElement(),d}if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&a(n,e),t=[{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&&!d(e.outsideClick.target,e.internalOptions.tabbableOptions))),o=e.internalOptions.preventScroll;n&&t.focus({preventScroll:void 0!==o&&o}),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?u.Children.only(this.props.children):void 0;if(t){if(t.type&&t.type===u.Fragment)throw Error("A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> element.");return u.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}}],function(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,c(o.key),o)}}(n.prototype,t),Object.defineProperty(n,"prototype",{writable:!1}),n}(u.Component),p="undefined"==typeof Element?Function:Element;
1f.propTypes={active:s.bool,paused:s.bool,focusTrapOptions:s.shape({document:s.object,onActivate:s.func,onPostActivate:s.func,checkCanFocusTrap:s.func,onPause:s.func,onPostPause:s.func,onUnpause:s.func,onPostUnpause:s.func,onDeactivate:s.func,onPostDeactivate:s.func,checkCanReturnFocus:s.func,initialFocus:s.oneOfType([s.instanceOf(p),s.string,s.bool,s.func]),fallbackFocus:s.oneOfType([s.instanceOf(p),s.string,s.func]),escapeDeactivates:s.oneOfType([s.bool,s.func]),clickOutsideDeactivates:s.oneOfType([s.bool,s.func]),returnFocusOnDeactivate:s.bool,setReturnFocus:s.oneOfType([s.instanceOf(p),s.string,s.bool,s.func]),allowOutsideClick:s.oneOfType([s.bool,s.func]),preventScroll:s.bool,tabbableOptions:s.shape({displayCheck:s.oneOf(["full","legacy-full","non-zero-area","none"]),getShadowRoot:s.oneOfType([s.bool,s.func])}),trapStack:s.array,isKeyForward:s.func,isKeyBackward:s.func}),containerElements:s.arrayOf(s.instanceOf(p)),children:s.oneOfType([s.element,s.instanceOf(p)])},f.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:l},e.exports=f},73351:(e,t,n)=>{"use strict";n.r(t),n.d(t,{createFocusTrap:()=>h});var o=n(19130);function r(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 i(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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach(function(t){var o,r;o=t,r=n[t],(o=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=typeof o)return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(o))in e?Object.defineProperty(e,o,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[o]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var c=function(e,t){if(e.length>0){var n=e[e.length-1];n!==t&&n._setPausedState(!0)}var o=e.indexOf(t);-1===o||e.splice(o,1),e.push(t)},u=function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),e.length>0&&!e[e.length-1]._isManuallyPaused()&&e[e.length-1]._setPausedState(!1)},s=function(e){return(null==e?void 0:e.key)==="Tab"||(null==e?void 0:e.keyCode)===9},l=function(e){return s(e)&&!e.shiftKey},d=function(e){return s(e)&&e.shiftKey},f=function(e){return setTimeout(e,0)},p=function(e){for(var t=arguments.length,n=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},v=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},b=[],h=function(e,t){var n,i=(null==t?void 0:t.document)||document,h=(null==t?void 0:t.trapStack)||b,y=a({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:l,isKeyBackward:d},t),m={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},g=function(e,t,n){return e&&void 0!==e[t]?e[t]:y[n||t]},w=function(e,t){var n="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return m.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})})},O=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=n.hasFallback,a=n.params,c=y[e];if("function"==typeof c&&(c=c.apply(void 0,function(e){if(Array.isArray(e))return r(e)}(t=void 0===a?[]:a)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return r(e,void 0);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)?r(e,void 0):void 0}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}
1())),!0===c&&(c=void 0),!c){if(void 0===c||!1===c)return c;throw Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var u=c;if("string"==typeof c){try{u=i.querySelector(c)}catch(t){throw Error("`".concat(e,'` appears to be an invalid selector; error="').concat(t.message,'"'))}if(!u&&!(void 0!==o&&o))throw Error("`".concat(e,"` as selector refers to no known node"))}return u},T=function(){var e=O("initialFocus",{hasFallback:!0});if(!1===e)return!1;if(void 0===e||e&&!(0,o.isFocusable)(e,y.tabbableOptions))if(w(i.activeElement)>=0)e=i.activeElement;else{var t=m.tabbableGroups[0];e=t&&t.firstTabbableNode||O("fallbackFocus")}else null===e&&(e=O("fallbackFocus"));if(!e)throw Error("Your focus-trap needs to have at least one focusable element");return e},E=function(){if(m.containerGroups=m.containers.map(function(e){var t=(0,o.tabbable)(e,y.tabbableOptions),n=(0,o.focusable)(e,y.tabbableOptions),r=t.length>0?t[0]:void 0,i=t.length>0?t[t.length-1]:void 0,a=n.find(function(e){return(0,o.isTabbable)(e)}),c=n.slice().reverse().find(function(e){return(0,o.isTabbable)(e)}),u=!!t.find(function(e){return(0,o.getTabIndex)(e)>0});return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:u,firstTabbableNode:r,lastTabbableNode:i,firstDomTabbableNode:a,lastDomTabbableNode:c,nextTabbableNode:function(e){var r=!(arguments.length>1)||void 0===arguments[1]||arguments[1],i=t.indexOf(e);return i<0?r?n.slice(n.indexOf(e)+1).find(function(e){return(0,o.isTabbable)(e)}):n.slice(0,n.indexOf(e)).reverse().find(function(e){return(0,o.isTabbable)(e)}):t[i+(r?1:-1)]}}}),m.tabbableGroups=m.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),m.tabbableGroups.length<=0&&!O("fallbackFocus"))throw Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(m.containerGroups.find(function(e){return e.posTabIndexesFound})&&m.containerGroups.length>1)throw 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.")},k=function(e){var t=e.activeElement;if(t)return t.shadowRoot&&null!==t.shadowRoot.activeElement?k(t.shadowRoot):t},D=function(e){if(!1!==e&&e!==k(document)){if(!e||!e.focus)return void D(T());e.focus({preventScroll:!!y.preventScroll}),m.mostRecentlyFocusedNode=e,e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select&&e.select()}},F=function(e){var t=O("setReturnFocus",{params:[e]});return t||!1!==t&&e},P=function(e){var t=e.target,n=e.event,r=e.isBackward,i=void 0!==r&&r;t=t||v(n),E();var a=null;if(m.tabbableGroups.length>0){var c=w(t,n),u=c>=0?m.containerGroups[c]:void 0;if(c<0)a=i?m.tabbableGroups[m.tabbableGroups.length-1].lastTabbableNode:m.tabbableGroups[0].firstTabbableNode;else if(i){var l=m.tabbableGroups.findIndex(function(e){var n=e.firstTabbableNode;return t===n});if(l<0&&(u.container===t||(0,o.isFocusable)(t,y.tabbableOptions)&&!(0,o.isTabbable)(t,y.tabbableOptions)&&!u.nextTabbableNode(t,!1))&&(l=c),l>=0){var d=0===l?m.tabbableGroups.length-1:l-1,f=m.tabbableGroups[d];a=(0,o.getTabIndex)(t)>=0?f.lastTabbableNode:f.lastDomTabbableNode}else s(n)||(a=u.nextTabbableNode(t,!1))}else{var p=m.tabbableGroups.findIndex(function(e){var n=e.lastTabbableNode;return t===n});if(p<0&&(u.container===t||(0,o.isFocusable)(t,y.tabbableOptions)&&!(0,o.isTabbable)(t,y.tabbableOptions)&&!u.nextTabbableNode(t))&&(p=c),p>=0){var b=p===m.tabbableGroups.length-1?0:p+1,h=m.tabbableGroups[b];a=(0,o.getTabIndex)(t)>=0?h.firstTabbableNode:h.firstDomTabbableNode}else s(n)||(a=u.nextTabbableNode(t))}}else a=O("fallbackFocus");return a},S=function(e){w(v(e),e)>=0||(p(y.clickOutsideDeactivates,e)?n.deactivate({returnFocus:y.returnFocusOnDeactivate}):p(y.allowOutsideClick,e)||e.preventDefault())},N=function(e){var t=v(e),n=w(t,e)>=0;if(n||t instanceof Document)n&&(m.mostRecentlyFocusedNode=t);else{e.stopImmediatePropagation();var r,i=!0;if(m.mostRecentlyFocusedNode)if((0,o.getTabIndex)(m.mostRecentlyFocusedNode)>0){var a=w(m.mostRecentlyFocusedNode),c=m.containerGroups[a].tabbableNodes;if(c.length>0){var u=c.findIndex(function(e){return e===m.mostRecentlyFocusedNode});u>=0&&(y.isKeyForward(m.recentNavEvent)?u+1<c.length&&(r=c[u+1],i=!1):u-1>=0&&(r=c[u-1],i=!1))}}else m.containerGroups.some(function(e){return e.tabbableNodes.some(function(e){return(0,o.getTabIndex)(e)>0})})||(i=!1);else i=!1;i&&(r=P({target:m.mostRecentlyFocusedNode,isBackward:y.isKeyBackward(m.recentNavEvent)})),r?D(r):D(m.mostRecentlyFocusedNode||T())}m.recentNavEvent=void 0},C=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];m.recentNavEvent=e;var n=P({event:e,isBackward:t});n&&(s(e)&&e.preventDefault(),D(n))},R=function(e){(y.isKeyForward(e)||y.isKeyBackward(e))&&C(e,y.isKeyBackward(e))},I=function(e){((null==e?void 0:e.key)==="Escape"||(null==e?void 0:e.key)==="Esc"||(null==e?void 0:e.keyCode)===27)&&!1!==p(y.escapeDeactivates,e)&&(e.preventDefault(),n.deactivate())},x=function(e){w(v(e),e)>=0||p(y.clickOutsideDeactivates,e)||p(y.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},A=function(){if(m.active)return c(h,n),m.delayInitialFocusTimer=y.delayInitialFocus?f(function(){D(T())}):D(T()),i.addEventListener("focusin",N,!0),i.addEventListener("mousedown",S,{capture:!0,passive:!1}),i.addEventListener("touchstart",S,{capture:!0,passive:!1}),i.addEventListener("click",x,{capture:!0,passive:!1}),i.addEventListener("keydown",R,{capture:!0,passive:!1}),i.addEventListener("keydown",I),n},j=function(){if(m.active)return i.removeEventListener("focusin",N,!0),i.removeEventListener("mousedown",S,!0),i.removeEventListener("touchstart",S,!0),i.removeEventListener("click",x,!0),i.removeEventListener("keydown",R,!0),i.removeEventListener("keydown",I),n},_="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===m.mostRecentlyFocusedNode})})&&D(T())}):void 0,L=function(){_&&(_.disconnect(),m.active&&!m.paused&&m.containers.map(function(e){_.observe(e,{subtree:!0,childList:!0})}))};return Object.defineProperties(n={get active(){return m.active},get paused(){return m.paused},activate:function(e){if(m.active)return this;var t=g(e,"onActivate"),n=g(e,"onPostActivate"),o=g(e,"checkCanFocusTrap");o||E(),m.active=!0,m.paused=!1,m.nodeFocusedBeforeActivation=k(i),null==t||t();var r=function(){o&&E(),A(),L(),null==n||n()};return o?o(m.containers.concat()).then(r,r):r(),this},deactivate:function(e){if(!m.active)return this;var t=a({onDeactivate:y.onDeactivate,onPostDeactivate:y.onPostDeactivate,checkCanReturnFocus:y.checkCanReturnFocus},e);clearTimeout(m.delayInitialFocusTimer),m.delayInitialFocusTimer=void 0,j(),m.active=!1,m.paused=!1,L(),u(h,n);var o=g(t,"onDeactivate"),r=g(t,"onPostDeactivate"),i=g(t,"checkCanReturnFocus"),c=g(t,"returnFocus","returnFocusOnDeactivate");null==o||o();var s=function(){f(function(){c&&D(F(m.nodeFocusedBeforeActivation)),null==r||r()})};return c&&i?i(F(m.nodeFocusedBeforeActivation)).then(s,s):s(),this},pause:function(e){return m.active?(m.manuallyPaused=!0,this._setPausedState(!0,e)):this},unpause:function(e){return m.active?(m.manuallyPaused=!1,h[h.length-1]!==this)?this:this._setPausedState(!1,e):this},updateContainerElements:function(e){return m.containers=[].concat(e).filter(
1Boolean).map(function(e){return"string"==typeof e?i.querySelector(e):e}),m.active&&E(),L(),this}},{_isManuallyPaused:{value:function(){return m.manuallyPaused}},_setPausedState:{value:function(e,t){if(m.paused===e)return this;if(m.paused=e,e){var n=g(t,"onPause"),o=g(t,"onPostPause");null==n||n(),j(),L(),null==o||o()}else{var r=g(t,"onUnpause"),i=g(t,"onPostUnpause");null==r||r(),E(),A(),L(),null==i||i()}return this}}}),n.updateContainerElements(e),n}},77280:(e,t,n)=>{"use strict";n.d(t,{h:()=>I});var o=n(14232),r=n(66894),i=n(98477),a=!1;if("undefined"!=typeof window){var c={get passive(){a=!0;return}};window.addEventListener("testPassive",null,c),window.removeEventListener("testPassive",null,c)}var u="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),s=[],l=!1,d=-1,f=void 0,p=void 0,v=void 0,b=function(e){return s.some(function(t){return!!(t.options.allowTouchMove&&t.options.allowTouchMove(e))})},h=function(e){var t=e||window.event;return!!b(t.target)||t.touches.length>1||(t.preventDefault&&t.preventDefault(),!1)},y=function(e){if(void 0===v){var t=!!e&&!0===e.reserveScrollBarGap,n=window.innerWidth-document.documentElement.clientWidth;if(t&&n>0){var o=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"),10);v=document.body.style.paddingRight,document.body.style.paddingRight=o+n+"px"}}void 0===f&&(f=document.body.style.overflow,document.body.style.overflow="hidden")},m=function(){void 0!==v&&(document.body.style.paddingRight=v,v=void 0),void 0!==f&&(document.body.style.overflow=f,f=void 0)},g=function(){if(void 0!==p){var e=-parseInt(document.body.style.top,10),t=-parseInt(document.body.style.left,10);document.body.style.position=p.position,document.body.style.top=p.top,document.body.style.left=p.left,window.scrollTo(t,e),p=void 0}},w=function(e,t){var n=e.targetTouches[0].clientY-d;return!b(e.target)&&(t&&0===t.scrollTop&&n>0?h(e):t&&t.scrollHeight-t.scrollTop<=t.clientHeight&&n<0?h(e):(e.stopPropagation(),!0))},O=function(e,t){e?!s.some(function(t){return t.targetElement===e})&&(s=[].concat(function(e){if(!Array.isArray(e))return Array.from(e);for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}(s),[{targetElement:e,options:t||{}}]),u?window.requestAnimationFrame(function(){if(void 0===p){p={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left};var e=window,t=e.scrollY,n=e.scrollX,o=e.innerHeight;document.body.style.position="fixed",document.body.style.top=-t,document.body.style.left=-n,setTimeout(function(){return window.requestAnimationFrame(function(){var e=o-window.innerHeight;e&&t>=o&&(document.body.style.top=-(t+e))})},300)}}):y(t),u&&(e.ontouchstart=function(e){1===e.targetTouches.length&&(d=e.targetTouches[0].clientY)},e.ontouchmove=function(t){1===t.targetTouches.length&&w(t,e)},l||(document.addEventListener("touchmove",h,a?{passive:!1}:void 0),l=!0))):console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.")},T=function(){u&&(s.forEach(function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null}),l&&(document.removeEventListener("touchmove",h,a?{passive:!1}:void 0),l=!1),d=-1),u?g():m(),s=[]},E=function(e){e?(s=s.filter(function(t){return t.targetElement!==e}),u&&(e.ontouchstart=null,e.ontouchmove=null,l&&0===s.length&&(document.removeEventListener("touchmove",h,a?{passive:!1}:void 0),l=!1)),u?g():m()):console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.")},k={position:"fixed",top:0,left:0,bottom:0,right:0,display:"flex",justifyContent:"center",alignItems:"center",zIndex:1e3},D=({children:e})=>o.createElement("div",{style:k},e),F={position:"fixed",top:0,left:0,bottom:0,right:0,backgroundColor:"rgba(0, 0, 0, 0.5)"},P=()=>o.createElement("div",{style:F}),S=({children:e})=>o.createElement(o.Fragment,null,e),N=({children:e,isOpen:t,open:n,close:a,elementId:c="root",title:u,description:s,preventScroll:l,focusTrapOptions:d,components:f,additionalProps:p})=>{let v=(0,o.useRef)(null),b=(0,o.useMemo)(()=>({...d,onActivate:()=>{n(),d.onActivate?.()},onDeactivate:()=>{a(),d.onDeactivate?.()},clickOutsideDeactivates:d.clickOutsideDeactivates??!0,fallbackFocus:d.fallbackFocus??v.current??void 0}),[a,d,n]);return((0,o.useEffect)(()=>
1{if(null!==v.current&&l)return t?O(v.current,{reserveScrollBarGap:!0}):E(v.current),()=>{T()}},[t,l,v]),!1===t)?null:(0,i.createPortal)(o.createElement(f.Wrapper,null,o.createElement(f.Overlay,null),o.createElement(r,{focusTrapOptions:b},o.createElement("div",{ref:v,role:"dialog","aria-modal":"true",tabIndex:-1,style:{position:"relative"}},o.createElement(f.Modal,{title:u,description:s,close:a,additionalProps:p},e)))),document.getElementById(c))},C=(0,o.createContext)({}),R={initialValue:!1,preventScroll:!1,focusTrapOptions:{},components:{}},I=(e="root",t)=>{let n=(0,o.useContext)(C),{initialValue:r,preventScroll:i,focusTrapOptions:a,components:c}=(0,o.useMemo)(()=>Object.assign({},R,n,t),[n,t]),[u,s]=(0,o.useState)(r),l=(0,o.useCallback)(()=>{s(!0)},[s]),d=(0,o.useCallback)(()=>{s(!1)},[s]),f=c.Wrapper??D,p=c.Overlay??P,v=c.Modal??S;return[(0,o.useCallback)(({title:t,description:n,children:r,additionalProps:c})=>o.createElement(N,{isOpen:u,open:l,close:d,elementId:e,title:t,description:n,preventScroll:i,focusTrapOptions:a,components:{Modal:v,Overlay:p,Wrapper:f},additionalProps:c},r),[v,p,f,d,e,a,u,l,i]),l,d,u]}},79706:(e,t,n)=>{"use strict";var o=n(3717);function r(){}function i(){}i.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,i,a){if(a!==o){var c=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 c.name="Invariant Violation",c}}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}},95062:(e,t,n)=>{e.exports=n(79706)()}}]);

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.