try{let 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]="c7ac5024-5c6d-4a97-9891-ef80a1d92185",e._sentryDebugIdIdentifier="sentry-dbid-c7ac5024-5c6d-4a97-9891-ef80a1d92185")}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5164],{6136:(e,t,n)=>{n.d(t,{N:()=>o});var r=n(27030);let o="undefined"!=typeof document?r.useLayoutEffect:()=>{}},7092:(e,t,n)=>{n.d(t,{A:()=>i,t:()=>u});let r=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable^="false"])'],o=r.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";r.push('[tabindex]:not([tabindex="-1"]):not([disabled])');let l=r.join(':not([hidden]):not([tabindex="-1"]),');function u(e){return e.matches(o)}function i(e){return e.matches(l)}},7205:(e,t,n)=>{n.d(t,{KU:()=>c,LE:()=>f,lR:()=>d,yB:()=>a});var r=n(6136),o=n(33936),l=n(7092),u=n(58381),i=n(70997),s=n(27030);class c{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(e,t){this.nativeEvent=t,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=e}}function a(e){let t=(0,s.useRef)({isFocused:!1,observer:null});(0,r.N)(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]);let n=(0,o.J)(t=>{null==e||e(t)});return(0,s.useCallback)(e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=e.target;r.addEventListener("focusout",e=>{t.current.isFocused=!1,r.disabled&&n(new c("blur",e)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&r.disabled){var e;null===(e=t.current.observer)||void 0===e||e.disconnect();let n=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:n})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:n}))}}),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}},[n])}let d=!1;function f(e){for(;e&&!(0,l.t)(e);)e=e.parentElement;let t=(0,u.mD)(e),n=t.document.activeElement;if(!n||n===e)return;d=!0;let r=!1,o=e=>{(e.target===n||r)&&e.stopImmediatePropagation()},s=t=>{t.target!==n&&!r||(t.stopImmediatePropagation(),e||r||(r=!0,(0,i.e)(n),f()))},c=t=>{(t.target===e||r)&&t.stopImmediatePropagation()},a=t=>{(t.target===e||r)&&(t.stopImmediatePropagation(),r||(r=!0,(0,i.e)(n),f()))};t.addEventListener("blur",o,!0),t.addEventListener("focusout",s,!0),t.addEventListener("focusin",a,!0),t.addEventListener("focus",c,!0);let f=()=>{cancelAnimationFrame(p),t.removeEventListener("blur",o,!0),t.removeEventListener("focusout",s,!0),t.removeEventListener("focusin",a,!0),t.removeEventListener("focus",c,!0),d=!1,r=!1},p=requestAnimationFrame(f);return f}},24451:(e,t,n)=>{n.d(t,{P:()=>r});function r(...e){return 1===e.length&&e[0]?e[0]:t=>{for(let n of e)"function"==typeof n?n(t):null!=n&&(n.current=t)}}},32311:(e,t,n)=>{n.d(t,{P:()=>o});var r=n(27030);function o(e,t,n){let[o,l]=(0,r.useState)(e||t),u=(0,r.useRef)(void 0!==e),i=void 0!==e;(0,r.useEffect)(()=>{let e=u.current;e!==i&&console.warn(`WARN: A component changed from ${e?"controlled":"uncontrolled"} to ${i?"controlled":"uncontrolled"}.`),u.current=i},[i]);let s=i?e:o,c=(0,r.useCallback)((e,...t)=>{let r=(e,...t)=>{n&&!Object.is(s,e)&&n(e,...t),i||(s=e)};"function"==typeof e?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),l((n,...o)=>{let l=e(i?s:n,...o);return(r(l,...t),i)?n:l})):(i||l(e),r(e,...t))},[i,s,n]);return[s,c]}},33936:(e,t,n)=>{n.d(t,{J:()=>l});var r=n(6136),o=n(27030);function l(e){let t=(0,o.useRef)(null);return(0,r.N)(()=>{t.current=e},[e]),(0,o.useCallback)((...e)=>{let n=t.current;return null==n?void 0:n(...e)},[])}},58381:(e,t,n)=>{n.d(t,{Ng:()=>l,TW:()=>r,mD:()=>o});let r=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},o=e=>e&&"window"in e&&e.window===e?e:r(e).defaultView||window;function l(e){return null!==e&&"object"==typeof e&&"nodeType"in e&&"number"==typeof e.nodeType&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}},70968:(e,t,n)=>{n.d(t,{v:()=>u});var r=n(82335),o=n(71814),l=n(21912);function u(...e){let t={...e[0]};for(let n=1;n=65&&90>=e.charCodeAt(2)?t[e]=(0,r.c)(n,i):("className"===e||"UNSAFE_className"===e)&&"string"==typeof n&&"string"==typeof i?t[e]=(0,l.A)(n,i):"id"===e&&n&&i?t.id=(0,o.Tw)(n,i):t[e]=void 0!==i?i:n}}return t}},70997:(e,t,n)=>{function r(e){if(function(){if(null==o){o=!1;try{document.createElement("div").focus({get preventScroll(){return o=!0,!0}})}catch{}}return o}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeightr});let o=null},71814:(e,t,n)=>{let r;n.d(t,{Tw:()=>d,Bi:()=>a,X1:()=>f});var o=n(6136),l=n(33936),u=n(27030),i=n(37624);let s=!!("undefined"!=typeof window&&window.document&&window.document.createElement),c=new Map;function a(e){let[t,n]=(0,u.useState)(e),l=(0,u.useRef)(null),a=(0,i.Cc)(t),d=(0,u.useRef)(null);if(r&&r.register(d,a),s){let e=c.get(a);e&&!e.includes(l)?e.push(l):c.set(a,[l])}return(0,o.N)(()=>()=>{r&&r.unregister(d),c.delete(a)},[a]),(0,u.useEffect)(()=>{let e=l.current;return e&&n(e),()=>{e&&(l.current=null)}}),a}function d(e,t){if(e===t)return e;let n=c.get(e);if(n)return n.forEach(e=>e.current=t),t;let r=c.get(t);return r?(r.forEach(t=>t.current=e),e):t}function f(e=[]){let t=a(),[n,r]=function(e){let[t,n]=(0,u.useState)(e),r=(0,u.useRef)(null),i=(0,l.J)(()=>{if(!r.current)return;let e=r.current.next();if(e.done){r.current=null;return}t===e.value?i():n(e.value)});(0,o.N)(()=>{r.current&&i()});let s=(0,l.J)(e=>{r.current=e(t),i()});return[t,s]}(t),i=(0,u.useCallback)(()=>{r(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,r]);return(0,o.N)(i,[t,i,...e]),n}"undefined"!=typeof FinalizationRegistry&&(r=new FinalizationRegistry(e=>{c.delete(e)}))},82335:(e,t,n)=>{n.d(t,{c:()=>r});function r(...e){return(...t)=>{for(let n of e)"function"==typeof n&&n(...t)}}}}]);