1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2787],{12189:(e,t,n)=>{function r(e){return null!=e&&"object"==typeof e&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function o(e){var t;if(!r(e))return!1;let n=null!=(t=e.ownerDocument.defaultView)?t:window;return e instanceof n.HTMLElement}function a(e){var t,n;return null!=(n=null==(t=i(e))?void 0:t.defaultView)?n:window}function i(e){return r(e)?e.ownerDocument:document}function u(e){return i(e).activeElement}n.d(t,{bq:()=>u,mD:()=>a,sb:()=>o})},21007:(e,t,n)=>{n.d(t,{B:()=>s});var r=n(46770),o=n(75038),a=e=>(0,o.jsx)(r.B.div,{className:"chakra-stack__item",...e,__css:{display:"inline-block",flex:"0 0 auto",minWidth:0,...e.__css}});a.displayName="StackItem";var i=n(23031),u=n(38040),c=n(66196),l=n(56159),d=n(76430),s=(0,l.R)((e,t)=>{let{isInline:n,direction:l,align:s,justify:f,spacing:v="0.5rem",wrap:m,children:p,divider:h,className:y,shouldWrapChildren:b,...g}=e,x=n?"row":null!=l?l:"column",w=(0,d.useMemo)(()=>(function(e){let{spacing:t,direction:n}=e,r={column:{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":(0,i.bk)(n,e=>r[e])}})({spacing:v,direction:x}),[v,x]),E=!!h,k=!b&&!E,N=(0,d.useMemo)(()=>{let e=(0,u.a)(p);return k?e:e.map((t,n)=>{let r=void 0!==t.key?t.key:n,i=n+1===e.length,u=(0,o.jsx)(a,{children:t},r),c=b?u:t;if(!E)return c;let l=(0,d.cloneElement)(h,{__css:w});return(0,o.jsxs)(d.Fragment,{children:[c,i?null:l]},r)})},[h,w,E,k,b,p]),M=(0,c.cx)("chakra-stack",y);return(0,o.jsx)(r.B.div,{ref:t,display:"flex",alignItems:s,justifyContent:f,flexDirection:x,flexWrap:m,gap:E?void 0:v,className:M,...g,children:N})});s.displayName="Stack"},21738:(e,t,n)=>{n.d(t,{s:()=>c});var r=n(67396),o=n(10600),a=n(66196),i=n(56159),u=n(75038),c=(0,i.R)((e,t)=>{let{onClick:n,className:i,...c}=e,{onClose:l}=(0,r.k3)(),d=(0,a.cx)("chakra-modal__close-btn",i),s=(0,r.x5)();return(0,u.jsx)(o.J,{ref:t,__css:s.closeButton,className:d,onClick:(0,a.Hj)(n,e=>{e.stopPropagation(),l()}),...c})});c.displayName="ModalCloseButton"},23031:(e,t,n)=>{n.d(t,{a1:()=>i,bk:()=>a,fi:()=>o});var r=n(66196),o=Object.freeze(["base","sm","md","lg","xl","2xl"]);function a(e,t){return Array.isArray(e)?e.map(e=>null===e?null:t(e)):(0,r.Gv)(e)?Object.keys(e).reduce((n,r)=>(n[r]=t(e[r]),n),{}):null!=e?t(e):null}function i(e,t=o){let n={};return e.forEach((e,r)=>{let o=t[r];null!=e&&(n[o]=e)}),n}},26994:(e,t,n)=>{function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{A:()=>o})},32436:(e,t,n)=>{n.d(t,{$:()=>h});var r=n(46770),o=n(43683),a=n(66196),i=n(7344),u=n(76430),c=n(75038),l={initial:"initial",animate:"enter",exit:"exit",variants:{initial:({offsetX:e,offsetY:t,transition:n,transitionEnd:r,delay:a})=>{var i;return{opacity:0,x:e,y:t,transition:null!=(i=null==n?void 0:n.exit)?i:o.yA.exit(o.jd.exit,a),transitionEnd:null==r?void 0:r.exit}},enter:({transition:e,transitionEnd:t,delay:n})=>{var r;return{opacity:1,x:0,y:0,transition:null!=(r=null==e?void 0:e.enter)?r:o.yA.enter(o.jd.enter,n),transitionEnd:null==t?void 0:t.enter}},exit:({offsetY:e,offsetX:t,transition:n,transitionEnd:r,reverse:a,delay:i})=>{var u;let c={x:t,y:e};return{opacity:0,transition:null!=(u=null==n?void 0:n.exit)?u:o.yA.exit(o.jd.exit,i),...a?{...c,transitionEnd:null==r?void 0:r.exit}:{transitionEnd:{...c,...null==r?void 0:r.exit}}}}}};(0,u.forwardRef)(function(e,t){let{unmountOnExit:n,in:r,reverse:o=!0,className:u,offsetX:d=0,offsetY:s=8,transition:f,transitionEnd:v,delay:m,...p}=e,h=!n||r&&n,y=r||n?"enter":"exit",b={offsetX:d,offsetY:s,reverse:o,transition:f,transitionEnd:v,delay:m};return(0,c.jsx)(i.Ny,{custom:b,children:h&&(0,c.jsx)(i.PY.div,{ref:t,className:(0,a.cx)("chakra-offset-slide",u),custom:b,...l,animate:y,...p})})}).displayName="SlideFade";var d={initial:"exit",animate:"enter",exit:"exit",variants:{exit:({reverse:e,initialScale:t,transition:n,transitionEnd:r,delay:a})=>{var i;return{opacity:0,...e?{scale:t,transitionEnd:null==r?void 0:r.exit}:{transitionEnd:{scale:t,...null==r?void 0:r.exit}},transition:null!=(i=null==n?void 0:n.exit)?i:o.yA.exit(o.jd.exit,a)}},enter:({transitionEnd:e,transition:t,delay:n})=>{var r;return{opacity:1,scale:1,transition:null!=(r=null==t?void 0:t.enter)?r:o.yA.enter(o.jd.enter,n),transitionEnd:null==e?void 0:e.enter}}}};(0,u.forwardRef)(function(e,t){let{unmountOnExit:n,in:r,reverse:o=!0,initialScale:u=.95,className:l,transition:s,transitionEnd:f,delay:v,...m}=e,p=!n||r&&n,h=r||n?"enter":"exit",y={initialScale:u,reverse:o,transition:s,transitionEnd:f,delay:v};return(0,c.jsx)(i.Ny,{custom:y,children:p&&(0,c.jsx)(i.PY.div,{ref:t,className:(0,a.cx)("chakra-offset-slide",l),...d,animate:h,custom:y,...m})})}).displayName="ScaleFade";var s={slideInBottom:{...l,custom:{offsetY:16,reverse:!0}},slideInRight:{...l,custom:{offsetX:16,reverse:!0}},slideInTop:{...l,custom:{offsetY:-16,reverse:!0}},slideInLeft:{...l,custom:{offsetX:-16,reverse:!0}},scale:{...d,custom:{initialScale:.95,reverse:!0}},none:{}},f=(0,r.B)(i.PY.section),v=(0,u.forwardRef)((e,t)=>{let{preset:n,motionProps:r=s[n||"none"],...o}=e;return(0,c.jsx)(f,{ref:t,...r,...o})});v.displayName="ModalTransition";var m=n(73080),p=n(67396),h=(0,n(56159).R)((e,t)=>{let{className:n,children:o,containerProps:i,motionProps:u,...l}=e,{getDialogProps:d,getDialogContainerProps:s}
1=(0,p.k3)(),f=d(l,t),h=s(i),y=(0,a.cx)("chakra-modal__content",n),b=(0,p.x5)(),g={display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,...b.dialog},x={display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0,...b.dialogContainer},{motionPreset:w}=(0,p.k3)();return(0,c.jsx)(m.u,{children:(0,c.jsx)(r.B.div,{...h,className:"chakra-modal__content-container",tabIndex:-1,__css:x,children:(0,c.jsx)(v,{preset:w,motionProps:u,className:y,...f,__css:g,children:o})})})});h.displayName="ModalContent"},38040:(e,t,n)=>{n.d(t,{a:()=>o});var r=n(76430);function o(e){return r.Children.toArray(e).filter(e=>(0,r.isValidElement)(e))}},40544:(e,t,n)=>{n.d(t,{j:()=>c});var r=n(67396),o=n(66196),a=n(56159),i=n(46770),u=n(75038),c=(0,a.R)((e,t)=>{let{className:n,...a}=e,c=(0,o.cx)("chakra-modal__footer",n),l={display:"flex",alignItems:"center",justifyContent:"flex-end",...(0,r.x5)().footer};return(0,u.jsx)(i.B.footer,{ref:t,...a,__css:l,className:c})});c.displayName="ModalFooter"},43683:(e,t,n)=>{n.d(t,{Jv:()=>a,jd:()=>i,xf:()=>r,yA:()=>u});var r={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},o={slideLeft:{position:{left:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"-100%",y:0}},slideRight:{position:{right:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"100%",y:0}},slideUp:{position:{top:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"-100%"}},slideDown:{position:{bottom:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"100%"}}};function a(e){var t;switch(null!=(t=null==e?void 0:e.direction)?t:"right"){case"right":default:return o.slideRight;case"left":return o.slideLeft;case"bottom":return o.slideDown;case"top":return o.slideUp}}var i={enter:{duration:.2,ease:r.easeOut},exit:{duration:.1,ease:r.easeIn}},u={enter:(e,t)=>({...e,delay:"number"==typeof t?t:null==t?void 0:t.enter}),exit:(e,t)=>({...e,delay:"number"==typeof t?t:null==t?void 0:t.exit})}},49840:(e,t,n)=>{n.d(t,{A:()=>r});function r(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}},52051:(e,t,n)=>{n.d(t,{r:()=>l});var r=n(67396),o=n(66196),a=n(56159),i=n(46770),u=n(76430),c=n(75038),l=(0,a.R)((e,t)=>{let{className:n,...a}=e,{headerId:l,setHeaderMounted:d}=(0,r.k3)();(0,u.useEffect)(()=>(d(!0),()=>d(!1)),[d]);let s=(0,o.cx)("chakra-modal__header",n),f={flex:0,...(0,r.x5)().header};return(0,c.jsx)(i.B.header,{ref:t,className:s,id:l,...a,__css:f})});l.displayName="ModalHeader"},61948:(e,t,n)=>{n.d(t,{ep:()=>o});var r=n(92413);function o(e){let t=Array.from(e.querySelectorAll("input:not(:disabled):not([disabled]),select:not(:disabled):not([disabled]),textarea:not(:disabled):not([disabled]),embed,iframe,object,a[href],area[href],button:not(:disabled):not([disabled]),[tabindex],audio[controls],video[controls],*[tabindex]:not([aria-disabled]),*[contenteditable]"));return t.unshift(e),t.filter(e=>(0,r.tp)(e)&&e.offsetWidth>0&&e.offsetHeight>0)}},67396:(e,t,n)=>{n.d(t,{aF:()=>k,k3:()=>E,x5:()=>x});var r=n(74932),o=n(66196),a=n(29529),i=new WeakMap,u=new WeakMap,c={},l=0,d=function(e){return e&&(e.host||d(e.parentNode))},s=function(e,t,n,r){var o=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=d(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});c[n]||(c[n]=new WeakMap);var a=c[n],s=[],f=new Set,v=new Set(o),m=function(e){!e||f.has(e)||(f.add(e),m(e.parentNode))};o.forEach(m);var p=function(e){!e||v.has(e)||Array.prototype.forEach.call(e.children,function(e){if(f.has(e))p(e);else try{var t=e.getAttribute(r),o=null!==t&&"false"!==t,c=(i.get(e)||0)+1,l=(a.get(e)||0)+1;i.set(e,c),a.set(e,l),s.push(e),1===c&&o&&u.set(e,!0),1===l&&e.setAttribute(n,"true"),o||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return p(t),f.clear(),l++,function(){s.forEach(function(e){var t=i.get(e)-1,o=a.get(e)-1;i.set(e,t),a.set(e,o),t||(u.has(e)||e.removeAttribute(r),u.delete(e)),o||e.removeAttribute(n)}),--l||(i=new WeakMap,i=new WeakMap,u=new WeakMap,c={})}},f=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),s(r,o,n,"aria-hidden")):function(){return null}},v=n(76430),m=n(66811),p=n(26695),h=n(36036),y=n(7344),b=n(75038),[g,x]=(0,p.q)({name:"ModalStylesContext",errorMessage:"useModalStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Modal />\" "}),[w,E]=(0,p.q)({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `
1context` is undefined. Seems you forgot to wrap modal components in `<Modal />`"}),k=e=>{let t={scrollBehavior:"outside",autoFocus:!0,trapFocus:!0,returnFocusOnClose:!0,blockScrollOnMount:!0,allowPinchZoom:!1,motionPreset:"scale",lockFocusAcrossFrames:!0,...e},{portalProps:n,children:i,autoFocus:u,trapFocus:c,initialFocusRef:l,finalFocusRef:d,returnFocusOnClose:s,blockScrollOnMount:p,allowPinchZoom:x,preserveScrollBarGap:E,motionPreset:k,lockFocusAcrossFrames:N,onCloseComplete:M}=t,_=(0,h.o5)("Modal",t),A={...function(e){let{isOpen:t,onClose:n,id:i,closeOnOverlayClick:u=!0,closeOnEsc:c=!0,useInert:l=!0,onOverlayClick:d,onEsc:s}=e,m=(0,v.useRef)(null),p=(0,v.useRef)(null),[h,y,b]=function(e,...t){let n=(0,v.useId)(),r=e||n;return(0,v.useMemo)(()=>t.map(e=>`${e}-${r}`),[r,t])}(i,"chakra-modal","chakra-modal--header","chakra-modal--body");var g=m,x=t&&l;let w=g.current;(0,v.useEffect)(()=>{if(g.current&&x)return f(g.current)},[x,g,w]);let E=(0,r.y)(m,t),k=(0,v.useRef)(null),N=(0,v.useCallback)(e=>{k.current=e.target},[]),M=(0,v.useCallback)(e=>{"Escape"===e.key&&(e.stopPropagation(),c&&(null==n||n()),null==s||s())},[c,n,s]),[_,A]=(0,v.useState)(!1),[C,S]=(0,v.useState)(!1),O=(0,v.useCallback)((e={},t=null)=>({role:"dialog",...e,ref:(0,a.Px)(t,m),id:h,tabIndex:-1,"aria-modal":!0,"aria-labelledby":_?y:void 0,"aria-describedby":C?b:void 0,onClick:(0,o.Hj)(e.onClick,e=>e.stopPropagation())}),[b,C,h,y,_]),j=(0,v.useCallback)(e=>{e.stopPropagation(),k.current===e.target&&r.J.isTopModal(m.current)&&(u&&(null==n||n()),null==d||d())},[n,u,d]),T=(0,v.useCallback)((e={},t=null)=>({...e,ref:(0,a.Px)(t,p),onClick:(0,o.Hj)(e.onClick,j),onKeyDown:(0,o.Hj)(e.onKeyDown,M),onMouseDown:(0,o.Hj)(e.onMouseDown,N)}),[M,N,j]);return{isOpen:t,onClose:n,headerId:y,bodyId:b,setBodyMounted:S,setHeaderMounted:A,dialogRef:m,overlayRef:p,getDialogProps:O,getDialogContainerProps:T,index:E}}(t),autoFocus:u,trapFocus:c,initialFocusRef:l,finalFocusRef:d,returnFocusOnClose:s,blockScrollOnMount:p,allowPinchZoom:x,preserveScrollBarGap:E,motionPreset:k,lockFocusAcrossFrames:N};return(0,b.jsx)(w,{value:A,children:(0,b.jsx)(g,{value:_,children:(0,b.jsx)(y.Ny,{onExitComplete:M,children:A.isOpen&&(0,b.jsx)(m.Z,{...n,children:i})})})})};k.displayName="Modal"},73080:(e,t,n)=>{n.d(t,{u:()=>tE});var r,o,a,i,u,c=n(67396),l=n(74932),d=n(49840),s=n(18967),f=n(76430),v="data-focus-lock",m="data-focus-lock-disabled";function p(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var h=new WeakMap;function y(e,t){var n,r,o,a=(n=t||null,r=function(t){return e.forEach(function(e){return p(e,t)})},(o=(0,f.useState)(function(){return{value:n,callback:r,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=r,o.facade);return f.useLayoutEffect(function(){var t=h.get(a);if(t){var n=new Set(t),r=new Set(e),o=a.current;n.forEach(function(e){r.has(e)||p(e,null)}),r.forEach(function(e){n.has(e)||p(e,o)})}h.set(a,e)},[e]),a}var b={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},g=function(e){var t=e.children;return f.createElement(f.Fragment,null,f.createElement("div",{key:"guard-first","data-focus-guard":!0,"data-focus-auto-guard":!0,style:b}),t,t&&f.createElement("div",{key:"guard-last","data-focus-guard":!0,"data-focus-auto-guard":!0,style:b}))};g.propTypes={},g.defaultProps={children:null};var x=n(82643);function w(e){return e}function E(e,t){void 0===t&&(t=w);var n=[],r=!1;return{read:function(){if(r)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter(function(e){return e!==o})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var a=function(){var n=t;t=[],n.forEach(e)},i=function(){return Promise.resolve().then(a)};i(),n={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),n}}}}}function k(e,t){return void 0===t&&(t=w),E(e,t)}function N(e){void 0===e&&(e={});var t=E(null);return t.options=(0,x.__assign)({async:!0,ssr:!1},e),t}var M=k({},function(e){return{target:e.target,currentTarget:e.currentTarget}}),_=k(),A=k(),C=N({async:!0}),S=[],O=f.forwardRef(function(e,t){var n,r=f.useState(),o=r[0],a=r[1],i=f.useRef(),u=f.useRef(!1),c=f.useRef(null),l=e.children,d=e.disabled,p=e.noFocusGuards,h=e.persistentFocus,g=e.crossFrame,x=e.autoFocus,w=(e.allowTextSelection,e.group),E=e.className,k=e.whiteList,N=e.hasPositiveIndices,A=e.shards,O=e.as,j=e.lockProps,T=e.sideCar,P=e.returnFocus,I=e.focusOptions,R=e.onActivation,F=e.onDeactivation,L=f.useState({})[0],D=f.useCallback(function(){c.current=c.current||document&&document.activeElement,i.current&&R&&R(i.current),u.current=!0},[R]),B=f.useCallback(function(){u.current=!1,F&&F(i.current)},[F]);(0,f.useEffect)(function(){d||(c.current=null)},[]);var W=f.useCallback(function(e){var t=c.current;if(t&&t.focus){var n="function"==typeof P?P(t):P;if(n){var r="object"==typeof n?n:void 0;c.current=null,e?Promise.resolve().then(function(){return t.focus(r)}):t.focus(r)}}},[P]),Y=f.useCallback(function(e){u.current&&M.useMedium(e)},[]),H=_.useMedium,q=f.useCallback(function(e){i.current!==e&&(i.current=e,a(e))},[]),U=(0,s.A)(((n={})[m]=d&&"disabled",n[v]=w,n),void 0===j?{}:j),G=!0!==p,X=G&&"tail"!==p,z=y([t,q]);return f.createElement(f.Fragment,null,G&&[f.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:d?-1:0,style:b}),N?f.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:d?-1:1,style:b}):null],!d&&f.createElement(T,{id:L,sideCar:C,observed:o,disabled:d,persistentFocus:h,crossFrame:g,autoF
1ocus:x,whiteList:k,shards:void 0===A?S:A,onActivation:D,onDeactivation:B,returnFocus:W,focusOptions:I}),f.createElement(void 0===O?"div":O,(0,s.A)({ref:z},U,{className:E,onBlur:H,onFocus:Y}),l),X&&f.createElement("div",{"data-focus-guard":!0,tabIndex:d?-1:0,style:b}))});O.propTypes={},O.defaultProps={children:void 0,disabled:!1,returnFocus:!1,focusOptions:void 0,noFocusGuards:!1,autoFocus:!0,persistentFocus:!1,crossFrame:!0,hasPositiveIndices:void 0,allowTextSelection:void 0,group:void 0,className:void 0,whiteList:void 0,shards:void 0,as:"div",lockProps:{},onActivation:void 0,onDeactivation:void 0};var j=n(26994);function T(e){return(T="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)}var P=function(e){for(var t=Array(e.length),n=0;n<e.length;++n)t[n]=e[n];return t},I=function(e){return Array.isArray(e)?e:[e]},R=function(e){return Array.isArray(e)?e[0]:e},F=function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!!t&&!!t.getPropertyValue&&("none"===t.getPropertyValue("display")||"hidden"===t.getPropertyValue("visibility"))},L=function(e){return e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode},D=function(e){return e===document||e&&e.nodeType===Node.DOCUMENT_NODE},B=function(e,t){var n,r=e.get(t);if(void 0!==r)return r;var o=(n=B.bind(void 0,e),!t||D(t)||!F(t)&&n(L(t)));return e.set(t,o),o},W=function(e,t){var n,r=e.get(t);if(void 0!==r)return r;var o=(n=W.bind(void 0,e),!t||!!D(t)||!!U(t)&&n(L(t)));return e.set(t,o),o},Y=function(e){return e.dataset},H=function(e){return"INPUT"===e.tagName},q=function(e){return H(e)&&"radio"===e.type},U=function(e){return![!0,"true",""].includes(e.getAttribute("data-no-autofocus"))},G=function(e){var t;return!!(e&&(null==(t=Y(e))?void 0:t.focusGuard))},X=function(e){return!G(e)},z=function(e){return!!e},V=function(e,t){var n=e.tabIndex-t.tabIndex,r=e.index-t.index;if(n){if(!e.tabIndex)return 1;if(!t.tabIndex)return -1}return n||r},Z=function(e,t,n){return P(e).map(function(e,t){return{node:e,index:t,tabIndex:n&&-1===e.tabIndex?(e.dataset||{}).focusGuard?0:-1:e.tabIndex}}).filter(function(e){return!t||e.tabIndex>=0}).sort(V)},J="button:enabled,select:enabled,textarea:enabled,input:enabled,a[href],area[href],summary,iframe,object,embed,audio[controls],video[controls],[tabindex],[contenteditable],[autofocus]",$="".concat(J,", [data-focus-guard]"),K=function(e,t){return P((e.shadowRoot||e).children).reduce(function(e,n){return e.concat(n.matches(t?$:J)?[n]:[],K(n))},[])},Q=function(e,t){var n;return e instanceof HTMLIFrameElement&&(null==(n=e.contentDocument)?void 0:n.body)?ee([e.contentDocument.body],t):[e]},ee=function(e,t){return e.reduce(function(e,n){var r,o=K(n,t),a=(r=[]).concat.apply(r,o.map(function(e){return Q(e,t)}));return e.concat(a,n.parentNode?P(n.parentNode.querySelectorAll(J)).filter(function(e){return e===n}):[])},[])},et=function(e,t){return P(e).filter(function(e){return B(t,e)}).filter(function(e){var t;return!((H(t=e)||"BUTTON"===t.tagName)&&("hidden"===t.type||t.disabled))})},en=function(e,t){return void 0===t&&(t=new Map),P(e).filter(function(e){return W(t,e)})},er=function(e,t,n){return Z(et(ee(e,n),t),!0,n)},eo=function(e,t){return Z(et(ee(e),t),!1)},ea=function(e,t){return e.shadowRoot?ea(e.shadowRoot,t):!!(void 0!==Object.getPrototypeOf(e).contains&&Object.getPrototypeOf(e).contains.call(e,t))||P(e.children).some(function(e){var n;if(e instanceof HTMLIFrameElement){var r=null==(n=e.contentDocument)?void 0:n.body;return!!r&&ea(r,t)}return ea(e,t)})},ei=function(e){try{return e()}catch(e){return}},eu=function(e){if(void 0===e&&(e=document),e&&e.activeElement){var t=e.activeElement;return t.shadowRoot?eu(t.shadowRoot):t instanceof HTMLIFrameElement&&ei(function(){return t.contentWindow.document})?eu(t.contentWindow.document):t}},ec=function(e){void 0===e&&(e=document);var t=eu(e);return!!t&&P(e.querySelectorAll("[".concat("data-no-focus-lock","]"))).some(function(e){return ea(e,t)})},el=function(e){for(var t=new Set,n=e.length,r=0;r<n;r+=1)for(var o=r+1;o<n;o+=1){var a=e[r].compareDocumentPosition(e[o]);(a&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(o),(a&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter(function(e,n){return!t.has(n)})},ed=function(e){return e.parentNode?ed(e.parentNode):e}
1,es=function(e){return I(e).filter(Boolean).reduce(function(e,t){var n=t.getAttribute(v);return e.push.apply(e,n?el(P(ed(t).querySelectorAll("[".concat(v,'="').concat(n,'"]:not([').concat(m,'="disabled"])')))):[t]),e},[])},ef=function(e,t){return void 0===t&&(t=eu(R(e).ownerDocument)),!!t&&(!t.dataset||!t.dataset.focusGuard)&&es(e).some(function(e){var n;return ea(e,t)||(n=t,!!P(e.querySelectorAll("iframe")).some(function(e){return e===n}))})},ev=function(e,t){"focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus()},em=function(e,t){if(q(e)&&e.name)return t.filter(q).filter(function(t){return t.name===e.name}).filter(function(e){return e.checked})[0]||e;return e},ep=function(e){var t=new Set;return e.forEach(function(n){return t.add(em(n,e))}),e.filter(function(e){return t.has(e)})},eh=function(e){return e[0]&&e.length>1?em(e[0],e):e[0]},ey=function(e,t){return e.length>1?e.indexOf(em(e[t],e)):t},eb="NEW_FOCUS",eg=function(e,t,n,r){var o=e.length,a=e[0],i=e[o-1],u=G(n);if(!(n&&e.indexOf(n)>=0)){var c=void 0!==n?t.indexOf(n):-1,l=r?t.indexOf(r):c,d=r?e.indexOf(r):-1,s=c-l,f=t.indexOf(a),v=t.indexOf(i),m=ep(t),p=(void 0!==n?m.indexOf(n):-1)-(r?m.indexOf(r):c),h=ey(e,0),y=ey(e,o-1);if(-1===c||-1===d)return eb;if(!s&&d>=0)return d;if(c<=f&&u&&Math.abs(s)>1)return y;if(c>=v&&u&&Math.abs(s)>1)return h;if(s&&Math.abs(p)>1)return d;if(c<=f)return y;if(c>v)return h;if(s)return Math.abs(s)>1?d:(o+d+s)%o}},ex=function(e,t,n){var r=en(e.map(function(e){return e.node}).filter(function(e){var t,r=null==(t=Y(e))?void 0:t.autofocus;return e.autofocus||void 0!==r&&"false"!==r||n.indexOf(e)>=0}));return r&&r.length?eh(r):eh(en(t))},ew=function(e,t){return void 0===t&&(t=[]),t.push(e),e.parentNode&&ew(e.parentNode.host||e.parentNode,t),t},eE=function(e,t){for(var n=ew(e),r=ew(t),o=0;o<n.length;o+=1){var a=n[o];if(r.indexOf(a)>=0)return a}return!1},ek=function(e,t,n){var r=I(e),o=I(t),a=r[0],i=!1;
1return o.filter(Boolean).forEach(function(e){i=eE(i||e,e)||i,n.filter(Boolean).forEach(function(e){var t=eE(a,e);t&&(i=!i||ea(t,i)?t:eE(t,i))})}),i},eN=function(e,t){var n=new Map;return t.forEach(function(e){return n.set(e.node,e)}),e.map(function(e){return n.get(e)}).filter(z)},eM=function(e,t){var n=eu(I(e).length>0?document:R(e).ownerDocument),r=es(e).filter(X),o=ek(n||e,e,r),a=new Map,i=eo(r,a),u=er(r,a).filter(function(e){return X(e.node)});if(u[0]||(u=i)[0]){var c=eo([o],a).map(function(e){return e.node}),l=eN(c,u),d=l.map(function(e){return e.node}),s=eg(d,c,n,t);if(s===eb){var f=ex(i,d,r.reduce(function(e,t){var n,r;return e.concat((n=t,r=a,et(P(n.querySelectorAll("[".concat("data-autofocus-inside","]"))).map(function(e){return ee([e])}).reduce(function(e,t){return e.concat(t)},[]),r)))},[]));return f?{node:f}:void console.warn("focus-lock: cannot find any node to move focus into")}return void 0===s?s:l[s]}},e_=0,eA=!1,eC=function(e,t,n){void 0===n&&(n={});var r=eM(e,t);if(!eA&&r){if(e_>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),eA=!0,setTimeout(function(){eA=!1},1);return}e_++,ev(r.node,n.focusOptions),e_--}},eS=function(e){var t=es(e).filter(X),n=ek(e,e,t),r=new Map,o=er([n],r,!0),a=er(t,r).filter(function(e){return X(e.node)}).map(function(e){return e.node});return o.map(function(e){var t=e.node;return{node:t,index:e.index,lockItem:a.indexOf(t)>=0,guard:G(t)}})};function eO(e){setTimeout(e,1)}var ej=null,eT=null,eP=null,eI=!1,eR=function(e,t){eP={observerNode:e,portaledElement:t}};function eF(e,t,n,r){var o=null,a=e;do{var i=r[a];if(i.guard)i.node.dataset.focusAutoGuard&&(o=i);else if(i.lockItem){if(a!==e)return;o=null}else break}while((a+=n)!==t);o&&(o.node.tabIndex=0)}var eL=function(e){return e&&"current"in e?e.current:e},eD=function(){var e=!1;if(ej){var t=ej,n=t.observed,r=t.persistentFocus,o=t.autoFocus,a=t.shards,i=t.crossFrame,u=t.focusOptions,c=n||eP&&eP.portaledElement,l=document&&document.activeElement;if(c){var d=[c].concat(a.map(eL).filter(Boolean));if((!l||(ej.whiteList||function(){return!0})(l))&&(r||(i?!!eI:"meanwhile"===eI)||!(document&&document.activeElement===document.body||ec())||!eT&&o)&&(c&&!(ef(d)||l&&d.some(function(e){return function e(t,n,r){return n&&(n.host===t&&(!n.activeElement||r.contains(n.activeElement))||n.parentNode&&e(t,n.parentNode,r))}(l,e,e)})||eP&&eP.portaledElement===l)&&(document&&!eT&&l&&!o?(l.blur&&l.blur(),document.body.focus()):(e=eC(d,eT,{focusOptions:u}),eP={})),eI=!1,eT=document&&document.activeElement),document){var s=document&&document.activeElement,f=eS(d),v=f.map(function(e){return e.node}).indexOf(s);v>-1&&(f.filter(function(e){var t=e.guard,n=e.node;return t&&n.dataset.focusAutoGuard}).forEach(function(e){return e.node.removeAttribute("tabIndex")}),eF(v,f.length,1,f),eF(v,-1,-1,f))}}}return e},eB=function(e){eD()&&e&&(e.stopPropagation(),e.preventDefault())},eW=function(){return eO(eD)},eY=function(){eI="just",eO(function(){eI="meanwhile"})},eH=function(){document.addEventListener("focusin",eB),document.addEventListener("focusout",eW),window.addEventListener("blur",eY)},eq=function(){document.removeEventListener("focusin",eB),document.removeEventListener("focusout",eW),window.removeEventListener("blur",eY)};M.assignSyncMedium(function(e){var t=e.target,n=e.currentTarget;n.contains(t)||eR(n,t)}),_.assignMedium(eW),A.assignMedium(function(e){return e({moveFocusInside:eC,focusInside:ef})});let eU=(r=function(e){return e.filter(function(e){return!e.disabled})},o=function(e){var t=e.slice(-1)[0];t&&!ej&&eH();var n=ej,r=n&&t&&t.id===n.id;ej=t,n&&!r&&(n.onDeactivation(),e.filter(function(e){return e.id===n.id}).length||n.returnFocus(!t)),t?(eT=null,r&&n.observed===t.observed||t.onActivation(),eD(!0),eO(eD)):(eq(),eT=null)},function(e){var t,n,a,i,u,c=[];function l(){o(u=r(c.map(function(e){return e.props})))}var d=function(t){function n(){return t.apply(this,arguments)||this}(0,j.A)(n,t),n.peek=function(){return u};var r=n.prototype;return r.componentDidMount=function(){c.push(this),l()},r.componentDidUpdate=function(){l()},r.componentWillUnmount=function(){var e=c.indexOf(this);c.splice(e,1),l()},r.render=function(){return f.createElement(e,this.props)},n}(f.PureComponent);return t=d,n="displayName",a="SideEffect("+(e.displayName||e.name||"Component")+")",(i=function(e,t){if("object"!=T(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=T(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(n,"string"),(n="symbol"==T(i)?i:i+"")in t)?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,d})(function(){return null});var eG=f.forwardRef(function(e,t){return f.createElement(O,(0,s.A)({sideCar:eU,ref:t},e))}),eX=O.propTypes||{};
1eX.sideCar,(0,d.A)(eX,["sideCar"]),eG.propTypes={};var ez=n(61948),eV=n(75038),eZ=null!=(i=eG.default)?i:eG,eJ=e=>{let{initialFocusRef:t,finalFocusRef:n,contentRef:r,restoreFocus:o,children:a,isDisabled:i,autoFocus:u,persistentFocus:c,lockFocusAcrossFrames:l}=e,d=(0,f.useCallback)(()=>{(null==t?void 0:t.current)?t.current.focus():(null==r?void 0:r.current)&&0===(0,ez.ep)(r.current).length&&requestAnimationFrame(()=>{var e;null==(e=r.current)||e.focus()})},[t,r]),s=(0,f.useCallback)(()=>{var e;null==(e=null==n?void 0:n.current)||e.focus()},[n]),v=o&&!n;return(0,eV.jsx)(eZ,{crossFrame:l,persistentFocus:c,autoFocus:u,disabled:i,onActivation:d,onDeactivation:s,returnFocus:v,children:a})};eJ.displayName="FocusLock";var e$=n(7344),eK="right-scroll-bar-position",eQ="width-before-scroll-bar",e0=N(),e1=function(){},e6=f.forwardRef(function(e,t){var n=f.useRef(null),r=f.useState({onScrollCapture:e1,onWheelCapture:e1,onTouchMoveCapture:e1}),o=r[0],a=r[1],i=e.forwardProps,u=e.children,c=e.className,l=e.removeScrollBar,d=e.enabled,s=e.shards,v=e.sideCar,m=e.noIsolation,p=e.inert,h=e.allowPinchZoom,b=e.as,g=e.gapMode,w=(0,x.__rest)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),E=y([n,t]),k=(0,x.__assign)((0,x.__assign)({},w),o);return f.createElement(f.Fragment,null,d&&f.createElement(v,{sideCar:e0,removeScrollBar:l,shards:s,noIsolation:m,inert:p,setCallbacks:a,allowPinchZoom:!!h,lockRef:n,gapMode:g}),i?f.cloneElement(f.Children.only(u),(0,x.__assign)((0,x.__assign)({},k),{ref:E})):f.createElement(void 0===b?"div":b,(0,x.__assign)({},k,{className:c,ref:E}),u))});e6.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},e6.classNames={fullWidth:eQ,zeroRight:eK};var e3=function(e){var t=e.sideCar,n=(0,x.__rest)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return f.createElement(r,(0,x.__assign)({},n))};e3.isSideCarExport=!0;var e7=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=u||n.nc;return t&&e.setAttribute("nonce",t),e}())){var o,a;(o=t).styleSheet?o.styleSheet.cssText=r:o.appendChild(document.createTextNode(r)),a=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(a)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},e4=function(){var e=e7();return function(t,n){f.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},e9=function(){var e=e4();return function(t){return e(t.styles,t.dynamic),null}},e5={left:0,top:0,right:0,gap:0},e2=function(e){return parseInt(e||"",10)||0},e8=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[e2(n),e2(r),e2(o)]},te=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return e5;var t=e8(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},tt=e9(),tn="data-scroll-locked",tr=function(e,t,n,r){var o=e.left,a=e.top,i=e.right,u=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(u,"px ").concat(r,";\n }\n body[").concat(tn,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(a,"px;\n padding-right: ").concat(i,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(u,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(u,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(eK," {\n right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(eQ," {\n margin-right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(eK," .").concat(eK," {\n right: 0 ").concat(r,";\n }\n \n .").concat(eQ," .").concat(eQ," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(tn,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(u,"px;\n }\n")},to=function(){var e=parseInt(document.body.getAttribute(tn)||"0",10);return isFinite(e)?e:0},ta=function(){f.useEffect(function(){return document.body.setAttribute(tn,(to()+1).toString()),function(){var e=to()-1;e<=0?document.body.removeAttribute(tn):document.body.setAttribute(tn,e.toString())}},[])},ti=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;ta();var a=f.useMemo(function(){return te(o)}
1,[o]);return f.createElement(tt,{styles:tr(a,!t,o,n?"":"!important")})},tu=!1;if("undefined"!=typeof window)try{var tc=Object.defineProperty({},"passive",{get:function(){return tu=!0,!0}});window.addEventListener("test",tc,tc),window.removeEventListener("test",tc,tc)}catch(e){tu=!1}var tl=!!tu&&{passive:!1},td=function(e,t){var n=window.getComputedStyle(e);return"hidden"!==n[t]&&(n.overflowY!==n.overflowX||"TEXTAREA"===e.tagName||"visible"!==n[t])},ts=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),tf(e,r)){var o=tv(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},tf=function(e,t){return"v"===e?td(t,"overflowY"):td(t,"overflowX")},tv=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},tm=function(e,t,n,r,o){var a,i=(a=window.getComputedStyle(t).direction,"h"===e&&"rtl"===a?-1:1),u=i*r,c=n.target,l=t.contains(c),d=!1,s=u>0,f=0,v=0;do{var m=tv(e,c),p=m[0],h=m[1]-m[2]-i*p;(p||h)&&tf(e,c)&&(f+=h,v+=p),c=c instanceof ShadowRoot?c.host:c.parentNode}while(!l&&c!==document.body||l&&(t.contains(c)||t===c));return s&&(o&&1>Math.abs(f)||!o&&u>f)?d=!0:!s&&(o&&1>Math.abs(v)||!o&&-u>v)&&(d=!0),d},tp=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},th=function(e){return[e.deltaX,e.deltaY]},ty=function(e){return e&&"current"in e?e.current:e},tb=0,tg=[];let tx=(a=function(e){var t=f.useRef([]),n=f.useRef([0,0]),r=f.useRef(),o=f.useState(tb++)[0],a=f.useState(e9)[0],i=f.useRef(e);f.useEffect(function(){i.current=e},[e]),f.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(0,x.__spreadArray)([e.lockRef.current],(e.shards||[]).map(ty),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var u=f.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!i.current.allowPinchZoom;var o,a=tp(e),u=n.current,c="deltaX"in e?e.deltaX:u[0]-a[0],l="deltaY"in e?e.deltaY:u[1]-a[1],d=e.target,s=Math.abs(c)>Math.abs(l)?"h":"v";if("touches"in e&&"h"===s&&"range"===d.type)return!1;var f=ts(s,d);if(!f)return!0;if(f?o=s:(o="v"===s?"h":"v",f=ts(s,d)),!f)return!1;if(!r.current&&"changedTouches"in e&&(c||l)&&(r.current=o),!o)return!0;var v=r.current||o;return tm(v,t,e,"h"===v?c:l,!0)},[]),c=f.useCallback(function(e){if(tg.length&&tg[tg.length-1]===a){var n="deltaY"in e?th(e):tp(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta,r[0]===n[0]&&r[1]===n[1])})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(i.current.shards||[]).map(ty).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?u(e,o[0]):!i.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),l=f.useCallback(function(e,n,r,o){var a={name:e,delta:n,target:r,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),d=f.useCallback(function(e){n.current=tp(e),r.current=void 0},[]),s=f.useCallback(function(t){l(t.type,th(t),t.target,u(t,e.lockRef.current))},[]),v=f.useCallback(function(t){l(t.type,tp(t),t.target,u(t,e.lockRef.current))},[]);f.useEffect(function(){return tg.push(a),e.setCallbacks({onScrollCapture:s,onWheelCapture:s,onTouchMoveCapture:v}),document.addEventListener("wheel",c,tl),document.addEventListener("touchmove",c,tl),document.addEventListener("touchstart",d,tl),function(){tg=tg.filter(function(e){return e!==a}),document.removeEventListener("wheel",c,tl),document.removeEventListener("touchmove",c,tl),document.removeEventListener("touchstart",d,tl)}},[]);var m=e.removeScrollBar,p=e.inert;return f.createElement(f.Fragment,null,p?f.createElement(a,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,m?f.createElement(ti,{gapMode:e.gapMode}):null)},e0.useMedium(a),e3);var tw=f.forwardRef(function(e,t){return f.createElement(e6,(0,x.__assign)({},e,{ref:t,sideCar:tx}))});function tE(e){let{autoFocus:t,trapFocus:n,dialogRef:r,initialFocusRef:o,blockScrollOnMount:a,allowPinchZoom:i,finalFocusRef:u,returnFocusOnClose
1:d,preserveScrollBarGap:s,lockFocusAcrossFrames:v,isOpen:m}=(0,c.k3)(),[p,h]=(0,e$.xQ)();(0,f.useEffect)(()=>{!p&&h&&setTimeout(h)},[p,h]);let y=(0,l.y)(r,m);return(0,eV.jsx)(eJ,{autoFocus:t,isDisabled:!n,initialFocusRef:o,finalFocusRef:u,restoreFocus:d,contentRef:r,lockFocusAcrossFrames:v,children:(0,eV.jsx)(tw,{removeScrollBar:!s,allowPinchZoom:i,enabled:1===y&&a,forwardProps:!0,children:e.children})})}tw.classNames=e6.classNames},74932:(e,t,n)=>{n.d(t,{J:()=>a,y:()=>i});var r=Object.defineProperty,o=n(76430),a=new class{constructor(){((e,t,n)=>((e,t,n)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n))(this,"modals"),this.modals=new Map}add(e){return this.modals.set(e,this.modals.size+1),this.modals.size}remove(e){this.modals.delete(e)}isTopModal(e){return!!e&&this.modals.get(e)===this.modals.size}};function i(e,t){let[n,r]=(0,o.useState)(0);return(0,o.useEffect)(()=>{let n=e.current;if(n)return t&&r(a.add(n)),()=>{a.remove(n),r(0)}},[t,e]),n}},92413:(e,t,n)=>{n.d(t,{AO:()=>i,tp:()=>a});var r=n(12189),o=e=>e.hasAttribute("tabindex");function a(e){var t;if(!(0,r.sb)(e)||function e(t){return!!(t.parentElement&&e(t.parentElement))||t.hidden}(e)||!0==!!(t=e).getAttribute("disabled")||!0==!!t.getAttribute("aria-disabled"))return!1;let{localName:n}=e;if(["input","select","textarea","button"].indexOf(n)>=0)return!0;let a={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return n in a?a[n]():!!function(e){let t=e.getAttribute("contenteditable");return"false"!==t&&null!=t}(e)||o(e)}function i(e){return!!e&&(0,r.sb)(e)&&a(e)&&!(o(e)&&-1===e.tabIndex)}}
1,92598:(e,t,n)=>{n.d(t,{c:()=>l});var r=n(67396),o=n(66196),a=n(56159),i=n(46770),u=n(76430),c=n(75038),l=(0,a.R)((e,t)=>{let{className:n,...a}=e,{bodyId:l,setBodyMounted:d}=(0,r.k3)();(0,u.useEffect)(()=>(d(!0),()=>d(!1)),[d]);let s=(0,o.cx)("chakra-modal__body",n),f=(0,r.x5)();return(0,c.jsx)(i.B.div,{ref:t,className:s,id:l,...a,__css:f.body})});l.displayName="ModalBody"},99047:(e,t,n)=>{n.d(t,{m:()=>v});var r=n(67396),o=n(66196),a=n(46770),i=n(56159),u=n(43683),c=n(7344),l=n(76430),d=n(75038),s={initial:"exit",animate:"enter",exit:"exit",variants:{enter:({transition:e,transitionEnd:t,delay:n}={})=>{var r;return{opacity:1,transition:null!=(r=null==e?void 0:e.enter)?r:u.yA.enter(u.jd.enter,n),transitionEnd:null==t?void 0:t.enter}},exit:({transition:e,transitionEnd:t,delay:n}={})=>{var r;return{opacity:0,transition:null!=(r=null==e?void 0:e.exit)?r:u.yA.exit(u.jd.exit,n),transitionEnd:null==t?void 0:t.exit}}}};(0,l.forwardRef)(function(e,t){let{unmountOnExit:n,in:r,className:a,transition:i,transitionEnd:u,delay:l,...f}=e,v=r||n?"enter":"exit",m=!n||r&&n,p={transition:i,transitionEnd:u,delay:l};return(0,d.jsx)(c.Ny,{custom:p,children:m&&(0,d.jsx)(c.PY.div,{ref:t,className:(0,o.cx)("chakra-fade",a),custom:p,...s,animate:v,...f})})}).displayName="Fade";var f=(0,a.B)(c.PY.div),v=(0,i.R)((e,t)=>{let{className:n,transition:a,motionProps:i,...u}=e,c=(0,o.cx)("chakra-modal__overlay",n),l={pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh",...(0,r.x5)().overlay},{motionPreset:v}=(0,r.k3)();return(0,d.jsx)(f,{...i||("none"===v?{}:s),__css:l,ref:t,className:c,...u})});v.displayName="ModalOverlay"}}]); 2//# sourceMappingURL=2787-c046766fb04211b2.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.