!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8f13cb96-1e79-4fed-871a-32900072f7ec",e._sentryDebugIdIdentifier="sentry-dbid-8f13cb96-1e79-4fed-871a-32900072f7ec")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9093],{25672:function(e,t,s){s.d(t,{z:function(){return i}});var n=s(21295);function i(e,t,s){let[i,o]=(0,n.useState)(e||t),r=(0,n.useRef)(void 0!==e),a=void 0!==e;(0,n.useEffect)(()=>{let e=r.current;e!==a&&console.warn(`WARN: A component changed from ${e?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}.`),r.current=a},[a]);let d=a?e:i,l=(0,n.useCallback)((e,...t)=>{let n=(e,...t)=>{s&&!Object.is(d,e)&&s(e,...t),a||(d=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"),o((s,...i)=>{let o=e(a?d:s,...i);return(n(o,...t),a)?s:o})):(a||o(e),n(e,...t))},[a,d,s]);return[d,l]}},46694:function(e,t,s){s.d(t,{z:function(){return m},b:function(){return P}});var n=s(21852),i=s(52023);let o=null;function r(e,t="assertive",s=7e3){o?o.announce(e,t,s):(o=new a,("boolean"==typeof IS_REACT_ACT_ENVIRONMENT?IS_REACT_ACT_ENVIRONMENT:"undefined"!=typeof jest)?o.announce(e,t,s):setTimeout(()=>{(null==o?void 0:o.isAttached())&&(null==o||o.announce(e,t,s))},100))}class a{isAttached(){var e;return null===(e=this.node)||void 0===e?void 0:e.isConnected}createLog(e){let t=document.createElement("div");return t.setAttribute("role","log"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions"),t}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(e,t="assertive",s=7e3){var n,i;if(!this.node)return;let o=document.createElement("div");"object"==typeof e?(o.setAttribute("role","img"),o.setAttribute("aria-labelledby",e["aria-labelledby"])):o.textContent=e,"assertive"===t?null===(n=this.assertiveLog)||void 0===n||n.appendChild(o):null===(i=this.politeLog)||void 0===i||i.appendChild(o),""!==e&&setTimeout(()=>{o.remove()},s)}clear(e){this.node&&((!e||"assertive"===e)&&this.assertiveLog&&(this.assertiveLog.innerHTML=""),(!e||"polite"===e)&&this.politeLog&&(this.politeLog.innerHTML=""))}constructor(){this.node=null,this.assertiveLog=null,this.politeLog=null,"undefined"!=typeof document&&(this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node))}}var d=s(8920),l=s(31258),u=s(87386),c=s(19053),p=s(727),b=s(99532),v=s(17680),f=s(95939),h=s(21295);let g=new Set(["form","formAction","formEncType","formMethod","formNoValidate","formTarget","name","value"]),P=(0,h.createContext)({}),m=(0,f.qW)(function(e,t){var s;[e,t]=(0,n.pE)(e,t,P);let o=((s=e).isPending&&(s.onPress=void 0,s.onPressStart=void 0,s.onPressEnd=void 0,s.onPressChange=void 0,s.onPressUp=void 0,s.onKeyDown=void 0,s.onKeyUp=void 0,s.onClick=void 0,s.href=void 0),e=s),{isPending:a}=o,{buttonProps:f,isPressed:m}=function(e,t){let s,{elementType:n="button",isDisabled:i,onPress:o,onPressStart:r,onPressEnd:a,onPressUp:p,onPressChange:b,preventFocusOnPress:v,allowFocusWhenDisabled:f,onClick:h,href:g,target:P,rel:m,type:y="button"}=e;s="button"===n?{type:y,disabled:i}:{role:"button",tabIndex:i?void 0:0,href:"a"!==n||i?void 0:g,target:"a"===n?P:void 0,type:"input"===n?y:void 0,disabled:"input"===n?i:void 0,"aria-disabled":i&&"input"!==n?i:void 0,rel:"a"===n?m:void 0};let{pressProps:C,isPressed:E}=(0,c.r)({onPressStart:r,onPressEnd:a,onPressChange:b,onPress:o,onPressUp:p,isDisabled:i,preventFocusOnPress:v,ref:t}),{focusableProps:w}=(0,u.k)(e,t);f&&(w.tabIndex=i?-1:w.tabIndex);let L=(0,d.d)(w,C,(0,l.z)(e,{labelable:!0}));return{isPressed:E,buttonProps:(0,d.d)(s,L,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:e=>{h&&(h(e),console.warn("onClick is deprecated, please use onPress"))}})}}(e,t),{focusProps:y,isFocused:C,isFocusVisible:E}=(0,p.F)(e),{hoverProps:w,isHovered:L}=(0,b.X)({...e,isDisabled:e.isDisabled||a}),A={isHovered:L,isPressed:(o.isPressed||m)&&!a,isFocused:C,isFocusVisible:E,isDisabled:e.isDisabled||!1,isPending:null!=a&&a},T=(0,n.aX)({...e,values:A,defaultClassName:"react-aria-Button"}),_=(0,v.Me)(f.id),x=(0,v.Me)(),D=f["aria-labelledby"];a&&(D?D=`${D} ${x}`:f["aria-label"]&&(D=`${_} ${x}`));let I=(0,h.useRef)(a);return(0,h.useEffect)(()=>{let e={"aria-labelledby":D||_};!I.current&&C&&a?r(e,"assertive"):I.current&&C&&!a&&r(e,"assertive"),I.current=a},[a,C,D,_]),h.createElement("button",{...(0,l.z)(e,{propNames:g}),...(0,d.d)(f,y,w),...T,id:_,ref:t,"aria-labelledby":D,slot:e.slot||void 0,"aria-disabled":a?"true":f["aria-disabled"],"data-disabled":e.isDisabled||void 0,"data-pressed":A.isPressed||void 0,"data-hovered":L||void 0,"data-focused":C||void 0,"data-pending":a||void 0,"data-focus-visible":E||void 0},h.createElement(i.p.Provider,{value:{id:x}},T.children))})},90560:function(e,t,s){s.d(t,{j:function(){return o},x:function(){return r}});var n=s(21852),i=s(21295);let o=(0,i.createContext)({}),r=(0,i.forwardRef)(function(e,t){[e,t]=(0,n.pE)(e,t,o);let{elementType:s="span",...r}=e;return i.createElement(s,{className:"react-aria-Text",...r,ref:t})})}}]);