1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[23391],{5478:function(e,n,t){t.r(n),t.d(n,{hideOthers:function(){return s},inertOthers:function(){return d},supportsInert:function(){return f},suppressOthers:function(){return v}});var r=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},o=new WeakMap,i=new WeakMap,u={},a=0,c=function(e){return e&&(e.host||c(e.parentNode))},l=function(e,n,t,r){var l=(Array.isArray(e)?e:[e]).map(function(e){if(n.contains(e))return e;var t=c(e);return t&&n.contains(t)?t:(console.error("aria-hidden",e,"in not contained inside",n,". Doing nothing"),null)}).filter(function(e){return!!e});u[t]||(u[t]=new WeakMap);var s=u[t],d=[],f=new Set,v=new Set(l),m=function(e){!e||f.has(e)||(f.add(e),m(e.parentNode))};l.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 n=e.getAttribute(r),u=null!==n&&"false"!==n,a=(o.get(e)||0)+1,c=(s.get(e)||0)+1;o.set(e,a),s.set(e,c),d.push(e),1===a&&u&&i.set(e,!0),1===c&&e.setAttribute(t,"true"),u||e.setAttribute(r,"true")}catch(n){console.error("aria-hidden: cannot operate on ",e,n)}})};return p(n),f.clear(),a++,function(){d.forEach(function(e){var n=o.get(e)-1,u=s.get(e)-1;o.set(e,n),s.set(e,u),n||(i.has(e)||e.removeAttribute(r),i.delete(e)),u||e.removeAttribute(t)}),--a||(o=new WeakMap,o=new WeakMap,i=new WeakMap,u={})}},s=function(e,n,t){void 0===t&&(t="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),i=n||r(e);return i?(o.push.apply(o,Array.from(i.querySelectorAll("[aria-live]"))),l(o,i,t,"aria-hidden")):function(){return null}},d=function(e,n,t){void 0===t&&(t="data-inert-ed");var o=n||r(e);return o?l(e,o,t,"inert"):function(){return null}},f=function(){return"undefined"!=typeof HTMLElement&&HTMLElement.prototype.hasOwnProperty("inert")},v=function(e,n,t){return void 0===t&&(t="data-suppressed"),(f()?d:s)(e,n,t)}},55289:function(e,n,t){t.r(n),t.d(n,{AutoFocusInside:function(){return eJ},FocusLockUI:function(){return M},FreeFocusInside:function(){return e7},InFocusGuard:function(){return h},MoveFocusInside:function(){return e5},default:function(){return nu},useFocusController:function(){return e6},useFocusInside:function(){return e0},useFocusScope:function(){return e3},useFocusState:function(){return ni}});var r,o,i=t(1119),u=t(2265),a="data-focus-lock",c="data-focus-lock-disabled",l="data-no-focus-lock",s="data-autofocus-inside";function d(e,n){return"function"==typeof e?e(n):e&&(e.current=n),e}var f="undefined"!=typeof window?u.useLayoutEffect:u.useEffect,v=new WeakMap,m={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},p=function(e){var n=e.children,t=void 0===n?null:n;return u.createElement(u.Fragment,null,u.createElement("div",{key:"guard-first","data-focus-guard":!0,"data-focus-auto-guard":!0,style:m}),t,t&&u.createElement("div",{key:"guard-last","data-focus-guard":!0,"data-focus-auto-guard":!0,style:m}))};p.propTypes={};var h=p,y=t(31412),b=(0,y.s)({},function(e){return{target:e.target,currentTarget:e.currentTarget}}),g=(0,y.s)(),x=(0,y.s)(),E=(0,y._)({async:!0,ssr:"undefined"!=typeof document}),w=(0,u.createContext)(void 0),k=[],S=u.forwardRef(function(e,n){var t,r,o,l,s,p=u.useState(),h=p[0],y=p[1],x=u.useRef(),S=u.useRef(!1),M=u.useRef(null),N=u.useState({})[1],C=e.children,O=e.disabled,R=void 0!==O&&O,F=e.noFocusGuards,A=void 0!==F&&F,I=e.persistentFocus,T=e.crossFrame,L=e.autoFocus,P=(e.allowTextSelection,e.group),_=e.className,j=e.whiteList,D=e.hasPositiveIndices,B=e.shards,W=void 0===B?k:B,Z=e.as,q=e.lockProps,X=e.sideCar,U=e.returnFocus,$=void 0!==U&&U,Y=e.focusOptions,H=e.onActivation,G=e.onDeactivation,z=u.useState({})[0],K=u.useCallback(function(e){var n=e.captureFocusRestore;if(!M.current){var t,r=null==(t=document)?void 0:t.activeElement;M.current=r,r!==document.body&&(M.current=n(r))}x.current&&H&&H(x.current),S.current=!0,N()},[H]),V=u.useCallback(function(){S.current=!1,G&&G(x.current),N()},[G]),Q=u.useCallback(function(e){var n=M.current;if(n){var t=("function"==typeof n?n():n)||document.body,r="function"==typeof $?$(t):$;if(r){var o="object"==typeof r?r:void 0;M.current=null,e?Promise.resolve().then(function(){return t.focus(o)}):t.focus(o)}}}
1,[$]),J=u.useCallback(function(e){S.current&&b.useMedium(e)},[]),ee=g.useMedium,en=u.useCallback(function(e){x.current!==e&&(x.current=e,y(e))},[]),et=(0,i.Z)(((s={})[c]=R&&"disabled",s[a]=P,s),void 0===q?{}:q),er=!0!==A,eo=er&&"tail"!==A,ei=(t=[n,en],r=function(e){return t.forEach(function(n){return d(n,e)})},(o=(0,u.useState)(function(){return{value:null,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,l=o.facade,f(function(){var e=v.get(l);if(e){var n=new Set(e),r=new Set(t),o=l.current;n.forEach(function(e){r.has(e)||d(e,null)}),r.forEach(function(e){n.has(e)||d(e,o)})}v.set(l,t)},[t]),l),eu=u.useMemo(function(){return{observed:x,shards:W,enabled:!R,active:S.current}},[R,S.current,W,h]);return u.createElement(u.Fragment,null,er&&[u.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:R?-1:0,style:m}),D?u.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:R?-1:1,style:m}):null],!R&&u.createElement(X,{id:z,sideCar:E,observed:h,disabled:R,persistentFocus:void 0!==I&&I,crossFrame:void 0===T||T,autoFocus:void 0===L||L,whiteList:j,shards:W,onActivation:K,onDeactivation:V,returnFocus:Q,focusOptions:Y}),u.createElement(void 0===Z?"div":Z,(0,i.Z)({ref:ei},et,{className:_,onBlur:ee,onFocus:J}),u.createElement(w.Provider,{value:eu},C)),eo&&u.createElement("div",{"data-focus-guard":!0,tabIndex:R?-1:0,style:m}))});S.propTypes={};var M=S;function N(e,n){return(N=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e})(e,n)}function C(e){return(C="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 O=function(e){for(var n=Array(e.length),t=0;t<e.length;++t)n[t]=e[t];return n},R=function(e){return Array.isArray(e)?e:[e]},F=function(e){return Array.isArray(e)?e[0]:e},A=function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var n=window.getComputedStyle(e,null);return!!n&&!!n.getPropertyValue&&("none"===n.getPropertyValue("display")||"hidden"===n.getPropertyValue("visibility"))},I=function(e){return e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode},T=function(e){return e===document||e&&e.nodeType===Node.DOCUMENT_NODE},L=function(e,n){var t,r=e.get(n);if(void 0!==r)return r;var o=(t=L.bind(void 0,e),!n||T(n)||!A(n)&&!n.hasAttribute("inert")&&t(I(n)));return e.set(n,o),o},P=function(e,n){var t,r=e.get(n);if(void 0!==r)return r;var o=(t=P.bind(void 0,e),!n||!!T(n)||!!B(n)&&t(I(n)));return e.set(n,o),o},_=function(e){return e.dataset},j=function(e){return"INPUT"===e.tagName},D=function(e){return j(e)&&"radio"===e.type},B=function(e){return![!0,"true",""].includes(e.getAttribute("data-no-autofocus"))},W=function(e){var n;return!!(e&&(null===(n=_(e))||void 0===n?void 0:n.focusGuard))},Z=function(e){return!W(e)},q=function(e){return!!e},X=function(e,n){var t=Math.max(0,e.tabIndex),r=Math.max(0,n.tabIndex),o=t-r,i=e.index-n.index;if(o){if(!t)return 1;if(!r)return -1}return o||i},U=function(e,n,t){return O(e).map(function(e,n){var r=e.tabIndex<0&&!e.hasAttribute("tabindex")?0:e.tabIndex;return{node:e,index:n,tabIndex:t&&-1===r?(e.dataset||{}).focusGuard?0:-1:r}}).filter(function(e){return!n||e.tabIndex>=0}).sort(X)},$="button:enabled,select:enabled,textarea:enabled,input:enabled,a[href],area[href],summary,iframe,object,embed,audio[controls],video[controls],[tabindex],[contenteditable],[autofocus]",Y="".concat($,", [data-focus-guard]"),H=function(e,n){return O((e.shadowRoot||e).children).reduce(function(e,t){return e.concat(t.matches(n?Y:$)?[t]:[],H(t))},[])},G=function(e,n){var t;return e instanceof HTMLIFrameElement&&(null===(t=e.contentDocument)||void 0===t?void 0:t.body)?z([e.contentDocument.body],n):[e]},z=function(e,n){return e.reduce(function(e,t){var r,o=H(t,n),i=(r=[]).concat.apply(r,o.map(function(e){return G(e,n)}));return e.concat(i,t.parentNode?O(t.parentNode.querySelectorAll($)).filter(function(e){return e===t}):[])},[])},K=function(e,n){return O(e).filter(function(e){return L(n,e)}).filter(function(e){return!((j(e)||"BUTTON"===e.tagName)&&("hidden"===e.type||e.disabled))})},V=function(e,n){return void 0===n&&(n=new Map),O(e).filter(function(e){return P(n,e)})},Q=function(e,n,t){return U(K(z(e,t),n),!0,t)},J=function(e,n){return U(K(z(e),n),!1)},ee=function(e,n){return e.shadowRoot?ee(e.shadowRoot,n):!!(void 0!==Object.getPrototypeOf(e).contains&&Object.getPrototypeOf(e).contains.call(e,n))||O(e.children).some(function(e){var t;if(e instanceof HTMLIFrameElement){var r=null===(t=e.contentDocument)||void 0===t?void 0:t.body;return!!r&&ee(r,n)}return ee(e,n)})},en=function(e){try{return e()}catch(e){return}},et=function(e){if(void 0===e&&(e=document),e&&e.activeElement){var n=e.activeElement;return n.shadowRoot?et(n.shadowRoot):n instanceof HTMLIFrameElement&&en(function(){return n.contentWindow.document})?et(n.contentWindow.document):n}},er=function(e){void 0===e&&(e=document);var n=et(e);return!!n&&O(e.querySelectorAll("[".concat(l,"]"))).some(function(e){return ee(e,n)})},eo=function(e){for(var n=new Set,t=e.length,r=0;r<t;r+=1)for(var o=r+1;o<t;o+=1){var i=e[r].compareDocumentPosition(e[o]);(i&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&n.add(o),(i&Node.DOCUMENT_POSITION_CONTAINS)>0&&n.add(r)}return e.filter(function(e,t){return!n.has(t)})},ei=function(e){return e.parentNode?ei(e.parentNode):e}
1,eu=function(e){return R(e).filter(Boolean).reduce(function(e,n){var t=n.getAttribute(a);return e.push.apply(e,t?eo(O(ei(n).querySelectorAll("[".concat(a,'="').concat(t,'"]:not([').concat(c,'="disabled"])')))):[n]),e},[])},ea=function(e,n){return void 0===n&&(n=et(F(e).ownerDocument)),!!n&&(!n.dataset||!n.dataset.focusGuard)&&eu(e).some(function(e){var t;return ee(e,n)||(t=n,!!O(e.querySelectorAll("iframe")).some(function(e){return e===t}))})},ec=function(e,n){e&&("focus"in e&&e.focus(n),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus())},el=function(e,n){return D(e)&&e.name&&n.filter(D).filter(function(n){return n.name===e.name}).filter(function(e){return e.checked})[0]||e},es=function(e){var n=new Set;return e.forEach(function(t){return n.add(el(t,e))}),e.filter(function(e){return n.has(e)})},ed=function(e){return e[0]&&e.length>1?el(e[0],e):e[0]},ef=function(e,n){return e.indexOf(el(n,e))},ev="NEW_FOCUS",em=function(e,n,t,r,o){var i=e.length,u=e[0],a=e[i-1],c=W(r);if(!(r&&e.indexOf(r)>=0)){var l=void 0!==r?t.indexOf(r):-1,s=o?t.indexOf(o):l,d=o?e.indexOf(o):-1;if(-1===l)return -1!==d?d:ev;if(-1===d)return ev;var f=l-s,v=t.indexOf(u),m=t.indexOf(a),p=es(t),h=(void 0!==r?p.indexOf(r):-1)-(o?p.indexOf(o):l);if(!f&&d>=0||0===n.length)return d;var y=ef(e,n[0]),b=ef(e,n[n.length-1]);if(l<=v&&c&&Math.abs(f)>1)return b;if(l>=m&&c&&Math.abs(f)>1)return y;if(f&&Math.abs(h)>1)return d;if(l<=v)return b;if(l>m)return y;if(f)return Math.abs(f)>1?d:(i+d+f)%i}},ep=function(e,n,t){var r=V(e.map(function(e){return e.node}).filter(function(e){var n,r=null===(n=_(e))||void 0===n?void 0:n.autofocus;return e.autofocus||void 0!==r&&"false"!==r||t.indexOf(e)>=0}));return r&&r.length?ed(r):ed(V(n))},eh=function(e,n){return void 0===n&&(n=[]),n.push(e),e.parentNode&&eh(e.parentNode.host||e.parentNode,n),n},ey=function(e,n){for(var t=eh(e),r=eh(n),o=0;o<t.length;o+=1){var i=t[o];if(r.indexOf(i)>=0)return i}return!1},eb=function(e,n,t){var r=R(e),o=R(n),i=r[0],u=!1;
1return o.filter(Boolean).forEach(function(e){u=ey(u||e,e)||u,t.filter(Boolean).forEach(function(e){var n=ey(i,e);n&&(u=!u||ee(n,u)?n:ey(n,u))})}),u},eg=function(e,n){return e.reduce(function(e,t){return e.concat(K(O(t.querySelectorAll("[".concat(s,"]"))).map(function(e){return z([e])}).reduce(function(e,n){return e.concat(n)},[]),n))},[])},ex=function(e,n){var t=new Map;return n.forEach(function(e){return t.set(e.node,e)}),e.map(function(e){return t.get(e)}).filter(q)},eE=function(e,n){var t=et(R(e).length>0?document:F(e).ownerDocument),r=eu(e).filter(Z),o=eb(t||e,e,r),i=new Map,u=J(r,i),a=u.filter(function(e){return Z(e.node)});if(a[0]){var c=J([o],i).map(function(e){return e.node}),l=ex(c,a),s=l.map(function(e){return e.node}),d=l.filter(function(e){return e.tabIndex>=0}).map(function(e){return e.node}),f=em(s,d,c,t,n);if(f===ev){var v=ep(u,d,eg(r,i))||ep(u,s,eg(r,i));return v?{node:v}:void console.warn("focus-lock: cannot find any node to move focus into")}return void 0===f?f:l[f]}},ew=0,ek=!1,eS=function(e,n,t){void 0===t&&(t={});var r=eE(e,n);if(!ek&&r){if(ew>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),ek=!0,setTimeout(function(){ek=!1},1);return}ew++,ec(r.node,t.focusOptions),ew--}},eM=function(e){var n=eu(e).filter(Z),t=U(z([eb(e,e,n)],!0),!0,!0),r=z(n,!1);return t.map(function(e){var n=e.node;return{node:n,index:e.index,lockItem:r.indexOf(n)>=0,guard:W(n)}})},eN=function(e,n,t){if(!e||!n)return console.error("no element or scope given"),{};var r=R(n);if(r.every(function(n){return!ee(n,e)}))return console.error("Active element is not contained in the scope"),{};var o=t?Q(r,new Map):J(r,new Map),i=o.findIndex(function(n){return n.node===e});if(-1!==i)return{prev:o[i-1],next:o[i+1],first:o[0],last:o[o.length-1]}},eC=function(e,n){var t=n?Q(R(e),new Map):J(R(e),new Map);return{first:t[0],last:t[t.length-1]}},eO=function(e,n,t){void 0===n&&(n={});var r,o=(r=n,Object.assign({scope:document.body,cycle:!0,onlyTabbable:!0},r)),i=eN(e,o.scope,o.onlyTabbable);if(i){var u=t(i,o.cycle);u&&ec(u.node,o.focusOptions)}},eR=function(e,n,t){var r,o=eC(e,null===(r=n.onlyTabbable)||void 0===r||r)[t];o&&ec(o.node,n.focusOptions)};function eF(e){if(!e)return null;if("undefined"==typeof WeakRef)return function(){return e||null};var n=e?new WeakRef(e):null;return function(){return(null==n?void 0:n.deref())||null}}var eA=function(e){if(!e)return null;for(var n=[],t=e;t&&t!==document.body;)n.push({current:eF(t),parent:eF(t.parentElement),left:eF(t.previousElementSibling),right:eF(t.nextElementSibling)}),t=t.parentElement;return{element:eF(e),stack:n,ownerDocument:e.ownerDocument}},eI=function(e){if(e)for(var n,t,r,o,i,u=e.stack,a=e.ownerDocument,c=new Map,l=0;l<u.length;l++){var s=u[l],d=null===(n=s.parent)||void 0===n?void 0:n.call(s);if(d&&a.contains(d)){for(var f=null===(t=s.left)||void 0===t?void 0:t.call(s),v=s.current(),m=d.contains(v)?v:void 0,p=null===(r=s.right)||void 0===r?void 0:r.call(s),h=Q([d],c),y=null!==(i=null!==(o=null!=m?m:null==f?void 0:f.nextElementSibling)&&void 0!==o?o:p)&&void 0!==i?i:f;y;){for(var b=0;b<h.length;b++){var g=h[b];if(null==y?void 0:y.contains(g.node))return g.node}y=y.nextElementSibling}if(h.length)return h[0].node}}};function eT(e){setTimeout(e,1)}var eL=function(e,n){var t={};return t[e]=n,t},eP=function(e){return e&&"current"in e?e.current:e},e_=null,ej=null,eD=null,eB=!1,eW=function(e,n){eD={observerNode:e,portaledElement:n}};function eZ(e,n,t,r){var o=null,i=e;do{var u=r[i];if(u.guard)u.node.dataset.focusAutoGuard&&(o=u);else if(u.lockItem){if(i!==e)return;o=null}else break}while((i+=t)!==n);o&&(o.node.tabIndex=0)}var eq=function(){var e=!1;if(e_){var n=e_,t=n.observed,r=n.persistentFocus,o=n.autoFocus,i=n.shards,u=n.crossFrame,a=n.focusOptions,c=t||eD&&eD.portaledElement,l=document&&document.activeElement;if(c){var s=[c].concat(i.map(eP).filter(Boolean));if((!l||(e_.whiteList||function(){return!0})(l))&&(r||(u?!!eB:"meanwhile"===eB)||!(document&&document.activeElement===document.body||er())||!ej&&o)&&(c&&!(ea(s)||l&&s.some(function(e){return function e(n,t,r){return t&&(t.host===n&&(!t.activeElement||r.contains(t.activeElement))||t.parentNode&&e(n,t.parentNode,r))}(l,e,e)})||eD&&eD.portaledElement===l)&&(document&&!ej&&l&&!o?(l.blur&&l.blur(),document.body.focus()):(e=eS(s,ej,{focusOptions:a}),eD={})),eB=!1,ej=document&&document.activeElement),document&&l!==document.activeElement&&document.querySelector("[data-focus-auto-guard]")){var d=document&&document.activeElement,f=eM(s),v=f.map(function(e){return e.no
1de}).indexOf(d);v>-1&&(f.filter(function(e){var n=e.guard,t=e.node;return n&&t.dataset.focusAutoGuard}).forEach(function(e){return e.node.removeAttribute("tabIndex")}),eZ(v,f.length,1,f),eZ(v,-1,-1,f))}}}return e},eX=function(e){eq()&&e&&(e.stopPropagation(),e.preventDefault())},eU=function(){return eT(eq)},e$=function(){eB="just",eT(function(){eB="meanwhile"})},eY=function(){document.addEventListener("focusin",eX),document.addEventListener("focusout",eU),window.addEventListener("blur",e$)},eH=function(){document.removeEventListener("focusin",eX),document.removeEventListener("focusout",eU),window.removeEventListener("blur",e$)},eG={moveFocusInside:eS,focusInside:ea,focusNextElement:function(e,n){void 0===n&&(n={}),eO(e,n,function(e,n){var t=e.next,r=e.first;return t||n&&r})},focusPrevElement:function(e,n){void 0===n&&(n={}),eO(e,n,function(e,n){var t=e.prev,r=e.last;return t||n&&r})},focusFirstElement:function(e,n){void 0===n&&(n={}),eR(e,n,"first")},focusLastElement:function(e,n){void 0===n&&(n={}),eR(e,n,"last")},captureFocusRestore:function(e){var n=eA(e);return function(){return eI(n)}}};b.assignSyncMedium(function(e){var n=e.target,t=e.currentTarget;t.contains(n)||eW(t,n)}),g.assignMedium(eU),x.assignMedium(function(e){return e(eG)});var ez=(r=function(e){return e.filter(function(e){return!e.disabled})},o=function(e){var n=e.slice(-1)[0];n&&!e_&&eY();var t=e_,r=t&&n&&n.id===t.id;e_=n,!t||r||(t.onDeactivation(),e.filter(function(e){return e.id===t.id}).length||t.returnFocus(!n)),n?(ej=null,r&&t.observed===n.observed||n.onActivation(eG),eq(!0),eT(eq)):(eH(),ej=null)},function(e){var n,t,i,a,c=[];function l(){o(a=r(c.map(function(e){return e.props})))}var s=function(n){function t(){return n.apply(this,arguments)||this}t.prototype=Object.create(n.prototype),t.prototype.constructor=t,N(t,n),t.peek=function(){return a};var r=t.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 u.createElement(e,this.props)},t}(u.PureComponent);return n="displayName",t="SideEffect("+(e.displayName||e.name||"Component")+")",i=function(e,n){if("object"!==C(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,n||"default");if("object"!==C(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(n,"string"),(n="symbol"===C(i)?i:String(i))in s?Object.defineProperty(s,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):s[n]=t,s})(function(){return null}),eK=u.forwardRef(function(e,n){return u.createElement(M,(0,i.Z)({sideCar:ez,ref:n},e))}),eV=M.propTypes||{};eV.sideCar,function(e,n){if(null!=e){var t,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n.indexOf(t=i[r])>=0||(o[t]=e[t])}}(eV,["sideCar"]),eK.propTypes={};var eQ=function(e){var n=e.disabled,t=e.children,r=e.className;return u.createElement("div",(0,i.Z)({},eL(s,!(void 0!==n&&n)),{className:void 0===r?void 0:r}),t)};eQ.propTypes={};var eJ=eQ,e0=function(e){u.useEffect(function(){var n=!0;return x.useMedium(function(t){var r=e&&e.current;n&&r&&!t.focusInside(r)&&t.moveFocusInside(r,null)}),function(){n=!1}},[e])};function e1(e){var n=e.disabled,t=void 0!==n&&n,r=e.className,o=e.children,a=u.useRef(null);return e0(t?void 0:a),u.createElement("div",(0,i.Z)({},eL(s,!t),{ref:a,className:r}),o)}e1.propTypes={};var e5=e1,e2=function(e){var n=e.children,t=e.className;return u.createElement("div",(0,i.Z)({},eL(l,!0),{className:t}),n)};e2.propTypes={};var e7=e2,e9=function(e){return e.map(eP).filter(Boolean)},e8=function(e){return new Promise(function(n){return x.useMedium(function(){n(e.apply(void 0,arguments))})})},e6=function(){for(var e=arguments.length,n=Array(e),t=0;t<e;t++)n[t]=arguments[t];if(!n.length)throw Error("useFocusController requires at least one target element");var r=(0,u.useRef)(n);return r.current=n,(0,u.useMemo)(function(){return{autoFocus:function(e){return void 0===e&&(e={}),e8(function(n){return n.moveFocusInside(e9(r.current),null,e)})},focusNext:function(e){return e8(function(n){n.moveFocusInside(e9(r.current),null),n.focusNextElement(document.activeElement,(0,i.Z)({scope:e9(r.current)},e))})},focusPrev:function(e){return e8(function(n){n.moveFocusInside(e9(r.current),null),n.focusPrevElement(document.activeElement,(0,i.Z)({scope:e9(r.current)},e))})},focusFirst:function(e){return e8(function(n){n.focusFirstElement(e9(r.current),e)})},focusLast:function(e){return e8(function(n){n.focusLastElement(e9(r.current),e)})}}},[])},e3=function(){var e=(0,u.useContext)(w);if(!e)throw Error("FocusLock is required to operate with FocusScope");return e6.apply(void 0,[e.observed].concat(e.shards))},e4={emit:function(e){for(var n=arguments.length,t=Array(n>1?n-1:0),r=1;r<n;r++)t[r-1]=arguments[r];for(var o=0,i=this.events[e]||[],u=i.length;o<u;o++)i[o].apply(i,t)},events:{},on:function(e,n){var t,r=this;return((t=this.events)[e]||(t[e]=[])).push(n),function(){var t;r.events[e]=null==(t=r.events[e])?void 0:t.filter(function(e){return n!==e})}}},ne=0,nn=function(e){return e4.emit("assign",e.target)},nt=function(e){return e4.emit("reset",e.target)},nr=function(){(0,u.useEffect)(function(){return ne||(document.addEventListener("focusin",nn),document.addEventListener("focusout",nt)),ne+=1,function(){(ne-=1)||(document.removeEventListener("focusin",nn),document.removeEventListener("focusout",nt))}},[])},no=function(e,n){return e===n?"self":n.contains(e)?"within":"within-boundary"},ni=function(e){void 0===e&&(e={});var n=(0,u.useState)(!1),t=n[0],r=n[1],o=(0,u.useState)(""),i=o[0],a=o[1],c=(0,u.useRef)(null),l=(0,u.useRef)({}),s=(0,u.useRef)(!1);(0,u.useEffect)(function(){if(c.current){var n=c.current===document.activeElement||c.current.contains(document.activeElement);r(n),a(no(document.activeElement,c.current)),n&&e.onFocus&&e.onFocus()}},[]);var d=(0,u.useCallback)(function(e){l.current={focused:!0,state:no(e.target,e.currentTarget)}},[]);return nr(),(0,u.useEffect)(function(){var n=e4.on("reset",function(){l.current={}}),t=e4.on("assign",function(){var n=l.current.focused||!1;r(n),a(l.current.state||""),n!==s.current&&(s.current=n,n?e.onFocus&&e.onFocus():e.onBlur&&e.onBlur())});return function(){n(),t()}},[]),{active:t,state:i,onFocus:d,ref:c}},nu=eK},33015:function(e,n,t){t.d(n,{Z:function(){return Z}});var r,o,i=t(33509),u=t(2265),a="right-scroll-bar-position",c="width-before-scroll-bar",l=(0,t(31412)._)(),s=function(){},d=u.forwardRef(function(e,n){var t,r,o,a=u.useRef(null),c=u.useState({onScrollCapture:s,onWheelCapture:s,onTouchMoveCapture:s}),d=c[0],f=c[1],v=e.forwardProps,m=e.children,p=e.className,h=e.removeScrollBar,y=e.enabled,b=e.shards,g=e.sideCar,x=e.noIsolation,E=e.inert,w=e.allowPinchZoom,k=e.as,S=e.gapMode,M=(0,i._T)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),N=(t=[a,n],r=function(e){return t.forEach(function(n){return"function"==typeof n?n(e):n&&(n.current=e),n})},(o=(0,u.useState)(function(){return{value:null,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),C=(0,i.pi)((0,i.pi)({},M),d);return u.createElement(u.Fragment,null,y&&u.createElement(g,{sideCar:l,removeScrollBar:h,shards:b,noIsolation:x,inert:E,setCallbacks:f,allowPinchZoom:!!w,lockRef:a,gapMode:S}),v?u.cloneElement(u.Children.only(m),(0,i.pi)((0,i.pi)({},C),{ref:N})):u.createElement(void 0===k?"div":k,(0,i.pi)({},C,{className:p,ref:N}),m))});d.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},d.classNames={fullWidth:c,zeroRight:a};var f=function(e){var n=e.sideCar,t=(0,i._T)(e,["sideCar"]);if(!n)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=n.read();if(!r)throw Error("Sidecar medium not found");return u.createElement(r,(0,i.pi)({},t))};
1f.isSideCarExport=!0;var v=function(){var e=0,n=null;return{add:function(r){if(0==e&&(n=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var n=o||t.nc;return n&&e.setAttribute("nonce",n),e}())){var i,u;(i=n).styleSheet?i.styleSheet.cssText=r:i.appendChild(document.createTextNode(r)),u=n,(document.head||document.getElementsByTagName("head")[0]).appendChild(u)}e++},remove:function(){--e||!n||(n.parentNode&&n.parentNode.removeChild(n),n=null)}}},m=function(){var e=v();return function(n,t){u.useEffect(function(){return e.add(n),function(){e.remove()}},[n&&t])}},p=function(){var e=m();return function(n){return e(n.styles,n.dynamic),null}},h={left:0,top:0,right:0,gap:0},y=function(e){return parseInt(e||"",10)||0},b=function(e){var n=window.getComputedStyle(document.body),t=n["padding"===e?"paddingLeft":"marginLeft"],r=n["padding"===e?"paddingTop":"marginTop"],o=n["padding"===e?"paddingRight":"marginRight"];return[y(t),y(r),y(o)]},g=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return h;var n=b(e),t=document.documentElement.clientWidth,r=window.innerWidth;return{left:n[0],top:n[1],right:n[2],gap:Math.max(0,r-t+n[2]-n[0])}},x=p(),E="data-scroll-locked",w=function(e,n,t,r){var o=e.left,i=e.top,u=e.right,l=e.gap;return void 0===t&&(t="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(l,"px ").concat(r,";\n }\n body[").concat(E,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([n&&"position: relative ".concat(r,";"),"margin"===t&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(u,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(l,"px ").concat(r,";\n "),"padding"===t&&"padding-right: ".concat(l,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(a," {\n right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(c," {\n margin-right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(a," .").concat(a," {\n right: 0 ").concat(r,";\n }\n \n .").concat(c," .").concat(c," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(E,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(l,"px;\n }\n")},k=function(){var e=parseInt(document.body.getAttribute(E)||"0",10);return isFinite(e)?e:0},S=function(){u.useEffect(function(){return document.body.setAttribute(E,(k()+1).toString()),function(){var e=k()-1;e<=0?document.body.removeAttribute(E):document.body.setAttribute(E,e.toString())}},[])},M=function(e){var n=e.noRelative,t=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;S();var i=u.useMemo(function(){return g(o)},[o]);return u.createElement(x,{styles:w(i,!n,o,t?"":"!important")})},N=!1;if("undefined"!=typeof window)try{var C=Object.defineProperty({},"passive",{get:function(){return N=!0,!0}});window.addEventListener("test",C,C),window.removeEventListener("test",C,C)}catch(e){N=!1}var O=!!N&&{passive:!1},R=function(e,n){if(!(e instanceof Element))return!1;var t=window.getComputedStyle(e);return"hidden"!==t[n]&&!(t.overflowY===t.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===t[n])},F=function(e,n){var t=n.ownerDocument,r=n;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),A(e,r)){var o=I(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==t.body);return!1},A=function(e,n){return"v"===e?R(n,"overflowY"):R(n,"overflowX")},I=function(e,n){return"v"===e?[n.scrollTop,n.scrollHeight,n.clientHeight]:[n.scrollLeft,n.scrollWidth,n.clientWidth]},T=function(e,n,t,r,o){var i,u=(i=window.getComputedStyle(n).direction,"h"===e&&"rtl"===i?-1:1),a=u*r,c=t.target,l=n.contains(c),s=!1,d=a>0,f=0,v=0;do{var m=I(e,c),p=m[0],h=m[1]-m[2]-u*p;(p||h)&&A(e,c)&&(f+=h,v+=p),c instanceof ShadowRoot?c=c.host:c=c.parentNode}while(!l&&c!==document.body||l&&(n.contains(c)||n===c));return d&&(o&&1>Math.abs(f)||!o&&a>f)?s=!0:!d&&(o&&1>Math.abs(v)||!o&&-a>v)&&(s=!0),s},L=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},P=function(e){return[e.deltaX,e.deltaY]},_=function(e){return e&&"current"in e?e.current:e},j=0,D=[],B=(r=function(e){var n=u.useRef([]),t=u.useRef([0,0]),r=u.useRef(),o=u.useState(j++)[0],a=u.useState(p)[0],c=u.useRef(e);u.useEffect(function(){c.current=e},[e]),u.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));
1var n=(0,i.ev)([e.lockRef.current],(e.shards||[]).map(_),!0).filter(Boolean);return n.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),n.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var l=u.useCallback(function(e,n){if("touches"in e&&2===e.touches.length)return!c.current.allowPinchZoom;var o,i=L(e),u=t.current,a="deltaX"in e?e.deltaX:u[0]-i[0],l="deltaY"in e?e.deltaY:u[1]-i[1],s=e.target,d=Math.abs(a)>Math.abs(l)?"h":"v";if("touches"in e&&"h"===d&&"range"===s.type)return!1;var f=F(d,s);if(!f)return!0;if(f?o=d:(o="v"===d?"h":"v",f=F(d,s)),!f)return!1;if(!r.current&&"changedTouches"in e&&(a||l)&&(r.current=o),!o)return!0;var v=r.current||o;return T(v,n,e,"h"===v?a:l,!0)},[]),s=u.useCallback(function(e){if(D.length&&D[D.length-1]===a){var t="deltaY"in e?P(e):L(e),r=n.current.filter(function(n){var r;return n.name===e.type&&(n.target===e.target||e.target===n.shadowParent)&&(r=n.delta)[0]===t[0]&&r[1]===t[1]})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(c.current.shards||[]).map(_).filter(Boolean).filter(function(n){return n.contains(e.target)});(o.length>0?l(e,o[0]):!c.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),d=u.useCallback(function(e,t,r,o){var i={name:e,delta:t,target:r,should:o,shadowParent:function(e){for(var n=null;null!==e;)e instanceof ShadowRoot&&(n=e.host,e=e.host),e=e.parentNode;return n}(r)};n.current.push(i),setTimeout(function(){n.current=n.current.filter(function(e){return e!==i})},1)},[]),f=u.useCallback(function(e){t.current=L(e),r.current=void 0},[]),v=u.useCallback(function(n){d(n.type,P(n),n.target,l(n,e.lockRef.current))},[]),m=u.useCallback(function(n){d(n.type,L(n),n.target,l(n,e.lockRef.current))},[]);u.useEffect(function(){return D.push(a),e.setCallbacks({onScrollCapture:v,onWheelCapture:v,onTouchMoveCapture:m}),document.addEventListener("wheel",s,O),document.addEventListener("touchmove",s,O),document.addEventListener("touchstart",f,O),function(){D=D.filter(function(e){return e!==a}),document.removeEventListener("wheel",s,O),document.removeEventListener("touchmove",s,O),document.removeEventListener("touchstart",f,O)}},[]);var h=e.removeScrollBar,y=e.inert;return u.createElement(u.Fragment,null,y?u.createElement(a,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,h?u.createElement(M,{gapMode:e.gapMode}):null)},l.useMedium(r),f),W=u.forwardRef(function(e,n){return u.createElement(d,(0,i.pi)({},e,{ref:n,sideCar:B}))});W.classNames=d.classNames;var Z=W},33509:function(e,n,t){t.d(n,{_T:function(){return o},ev:function(){return i},pi:function(){return r}});var r=function(){return(r=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)};function o(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>n.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>n.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]]);return t}function i(e,n,t){if(t||2==arguments.length)for(var r,o=0,i=n.length;o<i;o++)!r&&o in n||(r||(r=Array.prototype.slice.call(n,0,o)),r[o]=n[o]);return e.concat(r||Array.prototype.slice.call(n))}},31412:function(e,n,t){t.d(n,{_:function(){return a},s:function(){return u}});var r=t(33509);function o(e){return e}function i(e,n){void 0===n&&(n=o);var t=[],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 t.length?t[t.length-1]:e},useMedium:function(e){var o=n(e,r);return t.push(o),function(){t=t.filter(function(e){return e!==o})}},assignSyncMedium:function(e){for(r=!0;t.length;){var n=t;t=[],n.forEach(e)}t={push:function(n){return e(n)},filter:function(){return t}}},assignMedium:function(e){r=!0;var n=[];if(t.length){var o=t;t=[],o.forEach(e),n=t}var i=function(){var t=n;n=[],t.forEach(e)},u=function(){return Promise.resolve().then(i)};u(),t={push:function(e){n.push(e),u()},filter:function(e){return n=n.filter(e),t}}}}}function u(e,n){return void 0===n&&(n=o),i(e,n)}function a(e){void 0===e&&(e={});var n=i(null);return n.options=(0,r.pi)({async:!0,ssr:!1},e),n}},70118:function(e,n,t){t.d(n,{P:function(){return s}});var r=t(13856),o=t(68973),i=t(9889),u=t(83707),a=t(68207),c=t(57437);function l(e){return(0,c.jsx)(r.J,{focusable:"false","aria-hidden":!0,...e,children:(0,c.jsx)("path",{fill:"currentColor",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,
111.823a.25.25,0,0,1,0,.354Z"})})}var s=(0,o.forwardRef)(function(e,n){let t=(0,i.useStyleConfig)("CloseButton",e),{children:r,isDisabled:o,__css:s,...d}=(0,u.Lr)(e);return(0,c.jsx)(a.chakra.button,{type:"button","aria-label":"Close",ref:n,disabled:o,__css:{outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,...t,...s},...d,children:r||(0,c.jsx)(l,{width:"1em",height:"1em"})})});s.displayName="CloseButton"},62974:function(e,n,t){t.d(n,{EB:function(){return u},Wq:function(){return a}});var r=t(80044),o=e=>e.hasAttribute("tabindex"),i=e=>o(e)&&-1===e.tabIndex;function u(e){var n;if(!(0,r.Re)(e)||function e(n){return!!(n.parentElement&&e(n.parentElement))||n.hidden}(e)||!0==!!(n=e).getAttribute("disabled")||!0==!!n.getAttribute("aria-disabled"))return!1;let{localName:t}=e;if(["input","select","textarea","button"].indexOf(t)>=0)return!0;let i={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return t in i?i[t]():!!function(e){let n=e.getAttribute("contenteditable");return"false"!==n&&null!=n}(e)||o(e)}function a(e){return!!e&&(0,r.Re)(e)&&u(e)&&!i(e)}},813:function(e,n,t){t.d(n,{t5:function(){return i}});var r=t(62974),o=e=>e.offsetWidth>0&&e.offsetHeight>0;function i(e){let n=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 n.unshift(e),n.filter(e=>(0,r.EB)(e)&&o(e))}},50587:function(e,n,t){t.d(n,{E:function(){return l}});var r,o=t(55289),i=t(813),u=t(2265),a=t(57437),c=null!=(r=o.default.default)?r:o.default,l=e=>{let{initialFocusRef:n,finalFocusRef:t,contentRef:r,restoreFocus:o,children:l,isDisabled:s,autoFocus:d,persistentFocus:f,lockFocusAcrossFrames:v}=e,m=(0,u.useCallback)(()=>{(null==n?void 0:n.current)?n.current.focus():(null==r?void 0:r.current)&&0===(0,i.t5)(r.current).length&&requestAnimationFrame(()=>{var e;null==(e=r.current)||e.focus()})},[n,r]),p=(0,u.useCallback)(()=>{var e;null==(e=null==t?void 0:t.current)||e.focus()},[t]),h=o&&!t;return(0,a.jsx)(c,{crossFrame:v,persistentFocus:f,autoFocus:d,disabled:s,onActivation:m,onDeactivation:p,returnFocus:h,children:l})};l.displayName="FocusLock"},27924:function(e,n,t){t.d(n,{o:function(){return c}});var r=t(8196),o=t(70118),i=t(14096),u=t(68973),a=t(57437),c=(0,u.forwardRef)((e,n)=>{let{onClick:t,className:u,...c}=e,{onClose:l}=(0,r.vR)(),s=(0,i.cx)("chakra-modal__close-btn",u),d=(0,r.I_)();return(0,a.jsx)(o.P,{ref:n,__css:d.closeButton,className:s,onClick:(0,i.v0)(t,e=>{e.stopPropagation(),l()}),...c})});c.displayName="ModalCloseButton"},49270:function(e,n,t){t.d(n,{x:function(){return l}});var r=t(8196),o=t(14096),i=t(68973),u=t(68207),a=t(2265),c=t(57437),l=(0,i.forwardRef)((e,n)=>{let{className:t,...i}=e,{headerId:l,setHeaderMounted:s}=(0,r.vR)();(0,a.useEffect)(()=>(s(!0),()=>s(!1)),[s]);let d=(0,o.cx)("chakra-modal__header",t),f={flex:0,...(0,r.I_)().header};return(0,c.jsx)(u.chakra.header,{ref:n,className:d,id:l,...i,__css:f})});l.displayName="ModalHeader"},3619:function(e,n,t){t.d(n,{m:function(){return a},$:function(){return c}});var r=Object.defineProperty,o=(e,n,t)=>n in e?r(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,i=(e,n,t)=>(o(e,"symbol"!=typeof n?n+"":n,t),t),u=t(2265),a=new class{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}constructor(){i(this,"modals"),this.modals=new Map}};function c(e,n){let[t,r]=(0,u.useState)(0);return(0,u.useEffect)(()=>{let t=e.current;if(t)return n&&r(a.add(t)),()=>{a.remove(t),r(0)}},[n,e]),t}},21788:function(e,n,t){t.d(n,{h:function(){return h}});var r=t(68207),o=t(26880),i=t(69828),u=t(59745),a=t(2265),c=t(57437),l={slideInBottom:{...o.X,custom:{offsetY:16,reverse:!0}},slideInRight:{...o.X,custom:{offsetX:16,reverse:!0}},slideInTop:{...o.X,custom:{offsetY:-16,reverse:!0}},slideInLeft:{...o.X,custom:{offsetX:-16,reverse:!0}},scale:{...i.Q,custom:{initialScale:.95,reverse:!0}},none:{}},s=(0,r.chakra)(u.E.section),d=e=>l[e||"none"],f=(0,a.forwardRef)((e,n)=>{let{preset:t,motionProps:r=d(t),...o}=e;return(0,c.jsx)(s,{ref:n,...r,...o})});f.displayName="ModalTransition";var v=t(37062),m=t(8196),p=t(14096),h=(0,t(68973).forwardRef)((e,n)=>{let{className:t,children:o,containerProps:i,motionProps:u,...a}=e,{getDialogProps:l,getDialogContainerProps:s}=(0,m.vR)(),d=l(a,n),h=s(i),y=(0,p.cx)("chakra-modal__content",t),b=(0,m.I_)(),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:E}=(0,m.vR)();return(0,c.jsx)(v.M,{children:(0,c.jsx)(r.chakra.div,{...h,className:"chakra-modal__content-container",tabIndex:-1,__css:x,children:(0,c.jsx)(f,{preset:E,motionProps:u,className:y,...d,__css:g,children:o})})})});h.displayName="ModalContent"},49911:function(e,n,t){t.d(n,{Z:function(){return d}});var r=t(8196),o=t(14096),i=t(68207),u=t(68973),a=t(98758),c=t(59745),l=t(57437),s=(0,i.chakra)(c.E.div),d=(0,u.forwardRef)((e,n)=>{let{className:t,transition:i,motionProps:u,...c}=e,d=(0,o.cx)("chakra-modal__overlay",t),f={pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh",...(0,r.I_)().overlay},{motionPreset:v}=(0,r.vR)(),m="none"===v?{}:a.u;return(0,l.jsx)(s,{...u||m,__css:f,ref:n,className:d,...c})});d.displayName="ModalOverlay"},8196:function(e,n,t){t.d(n,{I_:function(){return s},ny:function(){return d},u_:function(){return v},vR:function(){return f}});var r=t(76160),o=t(85330),i=t(37371),u=t(9889),a=t(5095),c=t(57437),[l,s]=(0,i.k)({name:"ModalStylesContext",errorMessage:"useModalStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Modal />\" "}),[d,f]=(0,i.k)({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `
1context` is undefined. Seems you forgot to wrap modal components in `<Modal />`"}),v=e=>{let n={scrollBehavior:"outside",autoFocus:!0,trapFocus:!0,returnFocusOnClose:!0,blockScrollOnMount:!0,allowPinchZoom:!1,motionPreset:"scale",lockFocusAcrossFrames:!0,...e},{portalProps:t,children:i,autoFocus:s,trapFocus:f,initialFocusRef:v,finalFocusRef:m,returnFocusOnClose:p,blockScrollOnMount:h,allowPinchZoom:y,preserveScrollBarGap:b,motionPreset:g,lockFocusAcrossFrames:x,onCloseComplete:E}=n,w=(0,u.useMultiStyleConfig)("Modal",n),k={...(0,r.d)(n),autoFocus:s,trapFocus:f,initialFocusRef:v,finalFocusRef:m,returnFocusOnClose:p,blockScrollOnMount:h,allowPinchZoom:y,preserveScrollBarGap:b,motionPreset:g,lockFocusAcrossFrames:x};return(0,c.jsx)(d,{value:k,children:(0,c.jsx)(l,{value:w,children:(0,c.jsx)(a.M,{onExitComplete:E,children:k.isOpen&&(0,c.jsx)(o.h,{...t,children:i})})})})};v.displayName="Modal"},37062:function(e,n,t){t.d(n,{M:function(){return s}});var r=t(8196),o=t(3619),i=t(50587),u=t(49637),a=t(2265),c=t(33015),l=t(57437);function s(e){let{autoFocus:n,trapFocus:t,dialogRef:s,initialFocusRef:d,blockScrollOnMount:f,allowPinchZoom:v,finalFocusRef:m,returnFocusOnClose:p,preserveScrollBarGap:h,lockFocusAcrossFrames:y,isOpen:b}=(0,r.vR)(),[g,x]=(0,u.oO)();(0,a.useEffect)(()=>{!g&&x&&setTimeout(x)},[g,x]);let E=(0,o.$)(s,b);return(0,l.jsx)(i.E,{autoFocus:n,isDisabled:!t,initialFocusRef:d,finalFocusRef:m,restoreFocus:p,contentRef:s,lockFocusAcrossFrames:y,children:(0,l.jsx)(c.Z,{removeScrollBar:!h,allowPinchZoom:v,enabled:1===E&&f,forwardProps:!0,children:e.children})})}},76160:function(e,n,t){t.d(n,{d:function(){return c}});var r=t(3619),o=t(14096),i=t(20975),u=t(5478),a=t(2265);function c(e){let{isOpen:n,onClose:t,id:c,closeOnOverlayClick:l=!0,closeOnEsc:s=!0,useInert:d=!0,onOverlayClick:f,onEsc:v}=e,m=(0,a.useRef)(null),p=(0,a.useRef)(null),[h,y,b]=function(e){for(var n=arguments.length,t=Array(n>1?n-1:0),r=1;r<n;r++)t[r-1]=arguments[r];let o=(0,a.useId)(),i=e||o;return(0,a.useMemo)(()=>t.map(e=>"".concat(e,"-").concat(i)),[i,t])}(c,"chakra-modal","chakra-modal--header","chakra-modal--body");!function(e,n){let t=e.current;(0,a.useEffect)(()=>{if(e.current&&n)return(0,u.hideOthers)(e.current)},[n,e,t])}(m,n&&d);let g=(0,r.$)(m,n),x=(0,a.useRef)(null),E=(0,a.useCallback)(e=>{x.current=e.target},[]),w=(0,a.useCallback)(e=>{"Escape"===e.key&&(e.stopPropagation(),s&&(null==t||t()),null==v||v())},[s,t,v]),[k,S]=(0,a.useState)(!1),[M,N]=(0,a.useState)(!1),C=(0,a.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{role:"dialog",...e,ref:(0,i.lq)(n,m),id:h,tabIndex:-1,"aria-modal":!0,"aria-labelledby":k?y:void 0,"aria-describedby":M?b:void 0,onClick:(0,o.v0)(e.onClick,e=>e.stopPropagation())}},[b,M,h,y,k]),O=(0,a.useCallback)(e=>{e.stopPropagation(),x.current===e.target&&r.m.isTopModal(m.current)&&(l&&(null==t||t()),null==f||f())},[t,l,f]),R=(0,a.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{...e,ref:(0,i.lq)(n,p),onClick:(0,o.v0)(e.onClick,O),onKeyDown:(0,o.v0)(e.onKeyDown,w),onMouseDown:(0,o.v0)(e.onMouseDown,E)}},[w,E,O]);return{isOpen:n,onClose:t,headerId:y,bodyId:b,setBodyMounted:N,setHeaderMounted:S,dialogRef:m,overlayRef:p,getDialogProps:C,getDialogContainerProps:R,index:g}}},8588:function(e,n,t){t.d(n,{Lj:function(){return r},Sh:function(){return u},js:function(){return i},p$:function(){return a}});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 i(e){var n;switch(null!=(n=null==e?void 0:e.direction)?n:"right"){case"right":default:return o.slideRight;case"left":return o.slideLeft;case"bottom":return o.slideDown;case"top":return o.slideUp}}var u={enter:{duration:.2,ease:r.easeOut},exit:{duration:.1,ease:r.easeIn}},a={enter:(e,n)=>({...e,delay:"number"==typeof n?n:null==n?void 0:n.enter}
1),exit:(e,n)=>({...e,delay:"number"==typeof n?n:null==n?void 0:n.exit})}},26880:function(e,n,t){t.d(n,{R:function(){return s},X:function(){return l}});var r=t(8588),o=t(14096),i=t(5095),u=t(59745),a=t(2265),c=t(57437),l={initial:"initial",animate:"enter",exit:"exit",variants:{initial:e=>{var n;let{offsetX:t,offsetY:o,transition:i,transitionEnd:u,delay:a}=e;return{opacity:0,x:t,y:o,transition:null!=(n=null==i?void 0:i.exit)?n:r.p$.exit(r.Sh.exit,a),transitionEnd:null==u?void 0:u.exit}},enter:e=>{var n;let{transition:t,transitionEnd:o,delay:i}=e;return{opacity:1,x:0,y:0,transition:null!=(n=null==t?void 0:t.enter)?n:r.p$.enter(r.Sh.enter,i),transitionEnd:null==o?void 0:o.enter}},exit:e=>{var n;let{offsetY:t,offsetX:o,transition:i,transitionEnd:u,reverse:a,delay:c}=e,l={x:o,y:t};return{opacity:0,transition:null!=(n=null==i?void 0:i.exit)?n:r.p$.exit(r.Sh.exit,c),...a?{...l,transitionEnd:null==u?void 0:u.exit}:{transitionEnd:{...l,...null==u?void 0:u.exit}}}}}},s=(0,a.forwardRef)(function(e,n){let{unmountOnExit:t,in:r,reverse:a=!0,className:s,offsetX:d=0,offsetY:f=8,transition:v,transitionEnd:m,delay:p,...h}=e,y=!t||r&&t,b=r||t?"enter":"exit",g={offsetX:d,offsetY:f,reverse:a,transition:v,transitionEnd:m,delay:p};return(0,c.jsx)(i.M,{custom:g,children:y&&(0,c.jsx)(u.E.div,{ref:n,className:(0,o.cx)("chakra-offset-slide",s),custom:g,...l,animate:b,...h})})});s.displayName="SlideFade"},69828:function(e,n,t){t.d(n,{M:function(){return s},Q:function(){return l}});var r=t(8588),o=t(14096),i=t(5095),u=t(59745),a=t(2265),c=t(57437),l={initial:"exit",animate:"enter",exit:"exit",variants:{exit:e=>{var n;let{reverse:t,initialScale:o,transition:i,transitionEnd:u,delay:a}=e;return{opacity:0,...t?{scale:o,transitionEnd:null==u?void 0:u.exit}:{transitionEnd:{scale:o,...null==u?void 0:u.exit}},transition:null!=(n=null==i?void 0:i.exit)?n:r.p$.exit(r.Sh.exit,a)}},enter:e=>{var n;let{transitionEnd:t,transition:o,delay:i}=e;return{opacity:1,scale:1,transition:null!=(n=null==o?void 0:o.enter)?n:r.p$.enter(r.Sh.enter,i),transitionEnd:null==t?void 0:t.enter}}}},s=(0,a.forwardRef)(function(e,n){let{unmountOnExit:t,in:r,reverse:a=!0,initialScale:s=.95,className:d,transition:f,transitionEnd:v,delay:m,...p}=e,h=!t||r&&t,y=r||t?"enter":"exit",b={initialScale:s,reverse:a,transition:f,transitionEnd:v,delay:m};return(0,c.jsx)(i.M,{custom:b,children:h&&(0,c.jsx)(u.E.div,{ref:n,className:(0,o.cx)("chakra-offset-slide",d),...l,animate:y,custom:b,...p})})});s.displayName="ScaleFade"},98758:function(e,n,t){t.d(n,{p:function(){return s},u:function(){return l}});var r=t(8588),o=t(14096),i=t(5095),u=t(59745),a=t(2265),c=t(57437),l={initial:"exit",animate:"enter",exit:"exit",variants:{enter:function(){var e;let{transition:n,transitionEnd:t,delay:o}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{opacity:1,transition:null!=(e=null==n?void 0:n.enter)?e:r.p$.enter(r.Sh.enter,o),transitionEnd:null==t?void 0:t.enter}},exit:function(){var e;let{transition:n,transitionEnd:t,delay:o}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{opacity:0,transition:null!=(e=null==n?void 0:n.exit)?e:r.p$.exit(r.Sh.exit,o),transitionEnd:null==t?void 0:t.exit}}}},s=(0,a.forwardRef)(function(e,n){let{unmountOnExit:t,in:r,className:a,transition:s,transitionEnd:d,delay:f,...v}=e,m=r||t?"enter":"exit",p=!t||r&&t,h={transition:s,transitionEnd:d,delay:f};return(0,c.jsx)(i.M,{custom:h,children:p&&(0,c.jsx)(u.E.div,{ref:n,className:(0,o.cx)("chakra-fade",a),custom:h,...l,animate:m,...v})})});s.displayName="Fade"}}]);
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.