PageSourceSearch

https://swarms.neroboss.ai/_next/static/chunks/702-7acd281393e5cb7a.js

js neroboss.ai collected 2026-10-05 12:18:22 UTC 45,337 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[702],{81180:function(e,t,n){function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function toPrimitive(e,t){if("object"!=_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=_typeof(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function toPropertyKey(e){var t=toPrimitive(e,"string");return"symbol"==_typeof(t)?t:t+""}function _defineProperty(e,t,n){return(t=toPropertyKey(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:function(){return _defineProperty}})},66205:function(e,t,n){n.d(t,{o:function(){return c}});var r=n(35541),o=n(3949),a=n(25432),i=n(16554),u=n(85893),c=(0,i.G)((e,t)=>{let{onClick:n,className:i,...c}=e,{onClose:l}=(0,r.vR)(),s=(0,a.cx)("chakra-modal__close-btn",i),d=(0,r.I_)();return(0,u.jsx)(o.P,{ref:t,__css:d.closeButton,className:s,onClick:(0,a.v0)(n,e=>{e.stopPropagation(),l()}),...c})});c.displayName="ModalCloseButton"},64859:function(e,t,n){n.d(t,{x:function(){return l}});var r=n(35541),o=n(25432),a=n(16554),i=n(16914),u=n(67294),c=n(85893),l=(0,a.G)((e,t)=>{let{className:n,...a}=e,{headerId:l,setHeaderMounted:s}=(0,r.vR)();(0,u.useEffect)(()=>(s(!0),()=>s(!1)),[s]);let d=(0,o.cx)("chakra-modal__header",n),f=(0,r.I_)(),v={flex:0,...f.header};return(0,c.jsx)(i.m.header,{ref:t,className:d,id:l,...a,__css:v})});l.displayName="ModalHeader"},32856:function(e,t,n){n.d(t,{m:function(){return a},$:function(){return useModalManager}});var r=Object.defineProperty,__defNormalProp=(e,t,n)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,__publicField=(e,t,n)=>(__defNormalProp(e,"symbol"!=typeof t?t+"":t,n),n),o=n(67294),a=new class{constructor(){__publicField(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 useModalManager(e,t){let[n,r]=(0,o.useState)(0);return(0,o.useEffect)(()=>{let n=e.current;if(n){if(t){let e=a.add(n);r(e)}return()=>{a.remove(n),r(0)}}},[t,e]),n}},82770:function(e,t,n){n.d(t,{h:function(){return es}});var r,o,a=n(16914),i=n(52094),u=n(25432),c=n(51526),l=n(17745),s=n(67294),d=n(85893),f={initial:"initial",animate:"enter",exit:"exit",variants:{initial:({offsetX:e,offsetY:t,transition:n,transitionEnd:r,delay:o})=>{var a;return{opacity:0,x:e,y:t,transition:null!=(a=null==n?void 0:n.exit)?a:i.p$.exit(i.Sh.exit,o),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:i.p$.enter(i.Sh.enter,n),transitionEnd:null==t?void 0:t.enter}},exit:({offsetY:e,offsetX:t,transition:n,transitionEnd:r,reverse:o,delay:a})=>{var u;let c={x:t,y:e};return{opacity:0,transition:null!=(u=null==n?void 0:n.exit)?u:i.p$.exit(i.Sh.exit,a),...o?{...c,transitionEnd:null==r?void 0:r.exit}:{transitionEnd:{...c,...null==r?void 0:r.exit}}}}}};(0,s.forwardRef)(function(e,t){let{unmountOnExit:n,in:r,reverse:o=!0,className:a,offsetX:i=0,offsetY:s=8,transition:v,transitionEnd:m,delay:p,...h}=e,g=!n||r&&n,b=r||n?"enter":"exit",y={offsetX:i,offsetY:s,reverse:o,transition:v,transitionEnd:m,delay:p};return(0,d.jsx)(c.M,{custom:y,children:g&&(0,d.jsx)(l.E.div,{ref:t,className:(0,u.cx)("chakra-offset-slide",a),custom:y,...f,animate:b,...h})})}).displayName="SlideFade";var v={initial:"exit",animate:"enter",exit:"exit",variants:{exit:({reverse:e,initialScale:t,transition:n,transitionEnd:r,delay:o})=>{var a;return{opacity:0,...e?{scale:t,transitionEnd:null==r?void 0:r.exit}:{transitionEnd:{scale:t,...null==r?void 0:r.exit}},transition:null!=(a=null==n?void 0:n.exit)?a:i.p$.exit(i.Sh.exit,o)}},enter:({transitionEnd:e,transition:t,delay:n})=>{var r;return{opacity:1,scale:1,transition:null!=(r=null==t?void 0:t.enter)?r:i.p$.enter(i.Sh.enter,n),transitionEnd:null==e?void 0:e.enter}}}};(0,s.forwardRef)(function(e,t){let{unmountOnExit:n,in:r,reverse:o=!0,initialScale:a=.95,className:i,transition:s,transitionEnd:f,delay:m,...p}=e,h=!n||r&&n,g=r||n?"enter":"exit",b={initialScale:a,reverse:o,transition:s,transitionEnd:f,delay:m};return(0,d.jsx)(c.M,{custom:b,children:h&&(0,d.jsx)(l.E.div,{ref:t,className:(0,u.cx)("chakra-offset-slide",i),...v,animate:g,custom:b,...p})})}).displayName="ScaleFade";var m={slideInBottom:{...f,custom:{offsetY:16,reverse:!0}},slideInRight:{...f,custom:{offsetX:16,reverse:!0}},slideInTop:{...f,custom:{offsetY:-16,reverse:!0}},slideInLeft:{...f,custom:{offsetX:-16,reverse:!0}},scale:{...v,custom:{initialScale:.95,reverse:!0}},none:{}},p=(0,a.m)(l.E.section),getMotionProps=e=>m[e||"none"],h=(0,s.forwardRef)((e,t)=>{let{preset:n,motionProps:r=getMotionProps(n),...o}=e;return(0,d.jsx)(p,{ref:t,...r,...o})});h.displayName="ModalTransition";var g=n(35541),b=n(32856);function _objectWithoutPropertiesLoose(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}var y=n(87462),x="data-focus-lock",w="data-focus-lock-disabled";function assignRef(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}
1function useCallbackRef(e,t){var n=(0,s.useState)(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(value){var r=n.value;r!==value&&(n.value=value,n.callback(value,r))}}}})[0];return n.callback=t,n.facade}var E="undefined"!=typeof window?s.useLayoutEffect:s.useEffect,S=new WeakMap;function useMergeRefs(e,t){var n=useCallbackRef(t||null,function(t){return e.forEach(function(e){return assignRef(e,t)})});return E(function(){var t=S.get(n);if(t){var r=new Set(t),o=new Set(e),a=n.current;r.forEach(function(e){o.has(e)||assignRef(e,null)}),o.forEach(function(e){r.has(e)||assignRef(e,a)})}S.set(n,e)},[e]),n}var N={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},A=n(97582);function ItoI(e){return e}function innerCreateMedium(e,t){void 0===t&&(t=ItoI);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 executeQueue=function(){var n=t;t=[],n.forEach(e)},cycle=function(){return Promise.resolve().then(executeQueue)};cycle(),n={push:function(e){t.push(e),cycle()},filter:function(e){return t=t.filter(e),n}}}}}function createMedium(e,t){return void 0===t&&(t=ItoI),innerCreateMedium(e,t)}function createSidecarMedium(e){void 0===e&&(e={});var t=innerCreateMedium(null);return t.options=(0,A.pi)({async:!0,ssr:!1},e),t}var F=createMedium({},function(e){return{target:e.target,currentTarget:e.currentTarget}}),k=createMedium(),C=createMedium(),M=createSidecarMedium({async:!0,ssr:"undefined"!=typeof document}),T=(0,s.createContext)(void 0),_=[],P=s.forwardRef(function(e,t){var n,r=s.useState(),o=r[0],a=r[1],i=s.useRef(),u=s.useRef(!1),c=s.useRef(null),l=s.useState({})[1],d=e.children,f=e.disabled,v=void 0!==f&&f,m=e.noFocusGuards,p=void 0!==m&&m,h=e.persistentFocus,g=e.crossFrame,b=e.autoFocus,E=(e.allowTextSelection,e.group),S=e.className,A=e.whiteList,C=e.hasPositiveIndices,P=e.shards,R=void 0===P?_:P,O=e.as,I=void 0===O?"div":O,L=e.lockProps,B=e.sideCar,D=e.returnFocus,j=void 0!==D&&D,W=e.focusOptions,H=e.onActivation,G=e.onDeactivation,Y=s.useState({})[0],X=s.useCallback(function(e){var t=e.captureFocusRestore;if(!c.current){var n,r=null==(n=document)?void 0:n.activeElement;c.current=r,r!==document.body&&(c.current=t(r))}i.current&&H&&H(i.current),u.current=!0,l()},[H]),U=s.useCallback(function(){u.current=!1,G&&G(i.current),l()},[G]),$=s.useCallback(function(e){var t=c.current;if(t){var n=("function"==typeof t?t():t)||document.body,r="function"==typeof j?j(n):j;if(r){var o="object"==typeof r?r:void 0;c.current=null,e?Promise.resolve().then(function(){return n.focus(o)}):n.focus(o)}}},[j]),V=s.useCallback(function(e){u.current&&F.useMedium(e)},[]),q=k.useMedium,Z=s.useCallback(function(e){i.current!==e&&(i.current=e,a(e))},[]),K=(0,y.Z)(((n={})[w]=v&&"disabled",n[x]=E,n),void 0===L?{}:L),z=!0!==p,Q=z&&"tail"!==p,J=useMergeRefs([t,Z]),ee=s.useMemo(function(){return{observed:i,shards:R,enabled:!v,active:u.current}},[v,u.current,R,o]);return s.createElement(s.Fragment,null,z&&[s.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:v?-1:0,style:N}),C?s.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:v?-1:1,style:N}):null],!v&&s.createElement(B,{id:Y,sideCar:M,observed:o,disabled:v,persistentFocus:void 0!==h&&h,crossFrame:void 0===g||g,autoFocus:void 0===b||b,whiteList:A,shards:R,onActivation:X,onDeactivation:U,returnFocus:$,focusOptions:W,noFocusGuards:p}),s.createElement(I,(0,y.Z)({ref:J},K,{className:S,onBlur:q,onFocus:V}),s.createElement(T.Provider,{value:ee},d)),Q&&s.createElement("div",{"data-focus-guard":!0,tabIndex:v?-1:0,style:N}))});function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,_setPrototypeOf(e,t)}P.propTypes={};var R=n(81180),toArray=function(e){for(var t=Array(e.length),n=0;n<e.length;++n)t[n]=e[n];return t},asArray=function(e){return Array.isArray(e)?e:[e]},getFirst=function(e){return Array.isArray(e)?e[0]:e},isElementHidden=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"))},getParentNode=function(e){return e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode},isTopNode=function(e){return e===document||e&&e.nodeType===Node.DOCUMENT_NODE},isVisibleCached=function(e,t){var n,r=e.get(t);if(void 0!==r)return r;var o=(n=isVisibleCached.bind(void 0,e),!t||isTopNode(t)||!isElementHidden(t)&&!t.hasAttribute("inert")&&n(getParentNode(t)));return e.set(t,o),o},isAutoFocusAllowedCached=function(e,t){var n,r=e.get(t);if(void 0!==r)return r;var o=(n=isAutoFocusAllowedCached.bind(void 0,e),!t||!!isTopNode(t)||!!isAutoFocusAllowed(t)&&n(getParentNode(t)));return e.set(t,o),o},getDataset=function(e){return e.dataset},isHTMLInputElement=function(e){return"INPUT"===e.tagName},isRadioElement=function(e){return isHTMLInputElement(e)&&"radio"===e.type},isAutoFocusAllowed=function(e){return![!0,"true",""].includes(e.getAttribute("data-no-autofocus"))},isGuard=function(e){var t;return!!(e&&(null===(t=getDataset(e))||void 0===t?void 0:t.focusGuard))},isNotAGuard=function(e){return!isGuard(e)},isDefined=function(e){return!!e},tabSort=function(e,t){var n=Math.max(0,e.tabIndex),r=Math.max(0,t.tabIndex),o=n-r,a=e.index-t.index;if(o){if(!n)return 1;if(!r)return -1}return o||a},orderByTabIndex=function(e,t,n){return toArray(e).map(function(e,t){var r=e.tabIndex<0&&!e.hasAttribute("tabindex")?0:e.tabIndex;return{node:e,index:t,tabIndex:n&&-1===r?(e.dataset||{}).focusGuard?0:-1:r}}).filter(function(e){return!t||e.tabIndex>=0}).sort(tabSort)},O="button:enabled,select:enabled,textarea:enabled,input:enabled,a[href],area[href],summary,iframe,object,embed,audio[controls],video[controls],[tabindex],[contenteditable],[autofocus]",I="".concat(O,", [data-focus-guard]"),getFocusablesWithShadowDom=function(e,t){return toArray((e.shadowRoot||e).children).reduce(function(e,n){return e.concat(n.matches(t?I:O)?[n]:[],getFocusablesWithShadowDom(n))},[])},getFocusablesWithIFrame=function(e,t){var n;return e instanceof HTMLIFrameElement&&(null===(n=e.contentDocument)||void 0===n?void 0:n.body)?getFocusables([e.contentDocument.body],t):[e]},getFocusables=function(e,t){return e.reduce(function(e,n){var r,o=getFocusablesWithShadowDom(n,t),a=(r=[]).concat.apply(r,o.map(function(e){return getFocusablesWithIFrame(e,t)}));return e.concat(a,n.parentNode?toArray(n.parentNode.querySelectorAll(O)).filter(function(e){return e===n}):[])},[])},filterFocusable=function(e,t){return toArray(e).filter(function(e){return isVisibleCached(t,e)}).filter(function(e){return!((isHTMLInputElement(e)||"BUTTON"===e.tagName)&&("hidden"===e.type||e.disabled))})},filterAutoFocusable=function(e,t){return void 0===t&&(t=new Map),toArray(e).filter(function(e){return isAutoFocusAllowedCached(t,e)})},getTabbableNodes=function(e,t,n){return orderByTabIndex(filterFocusable(getFocusables(e,n),t),!0,n)},getFocusableNodes=function(e,t){return orderByTabIndex(filterFocusable(getFocusables(e),t),!1)},contains=function(e,t){return e.shadowRoot?contains(e.shadowRoot,t):!!(void 0!==Object.getPrototypeOf(e).contains&&Object.getPrototypeOf(e).contains.call(e,t))||toArray(e.children).some(function(e){var n;if(e instanceof HTMLIFrameElement){var r=null===(n=e.contentDocument)||void 0===n?void 0:n.body;return!!r&&contains(r,t)}return contains(e,t)})},safeProbe=function(e){try{return e()}catch(e){return}},getActiveElement=function(e){if(void 0===e&&(e=document),e&&e.activeElement){var t=e.activeElement;return t.shadowRoot?getActiveElement(t.shadowRoot):t instanceof HTMLIFrameElement&&safeProbe(function(){return t.contentWindow.document})?getActiveElement(t.contentWindow.document):t}},focusIsHidden=function(e){void 0===e&&(e=document);var t=getActiveElement(e);return!!t&&toArray(e.querySelectorAll("[".concat("data-no-focus-lock","]"))).some(function(e){return contains(e,t)})},filterNested=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)})},getTopParent=function(e){return e.parentNode?getTopParent(e.parentNode):e}
1,getAllAffectedNodes=function(e){return asArray(e).filter(Boolean).reduce(function(e,t){var n=t.getAttribute(x);return e.push.apply(e,n?filterNested(toArray(getTopParent(t).querySelectorAll("[".concat(x,'="').concat(n,'"]:not([').concat(w,'="disabled"])')))):[t]),e},[])},focusInside=function(e,t){return void 0===t&&(t=getActiveElement(getFirst(e).ownerDocument)),!!t&&(!t.dataset||!t.dataset.focusGuard)&&getAllAffectedNodes(e).some(function(e){var n;return contains(e,t)||(n=t,!!toArray(e.querySelectorAll("iframe")).some(function(e){return e===n}))})},focusOn=function(e,t){e&&("focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus())},correctNode=function(e,t){return isRadioElement(e)&&e.name&&t.filter(isRadioElement).filter(function(t){return t.name===e.name}).filter(function(e){return e.checked})[0]||e},correctNodes=function(e){var t=new Set;return e.forEach(function(n){return t.add(correctNode(n,e))}),e.filter(function(e){return t.has(e)})},pickFirstFocus=function(e){return e[0]&&e.length>1?correctNode(e[0],e):e[0]},pickFocusable=function(e,t){return e.indexOf(correctNode(t,e))},L="NEW_FOCUS",newFocus=function(e,t,n,r,o){var a=e.length,i=e[0],u=e[a-1],c=isGuard(r);if(!(r&&e.indexOf(r)>=0)){var l=void 0!==r?n.indexOf(r):-1,s=o?n.indexOf(o):l,d=o?e.indexOf(o):-1;if(-1===l)return -1!==d?d:L;if(-1===d)return L;var f=l-s,v=n.indexOf(i),m=n.indexOf(u),p=correctNodes(n),h=(void 0!==r?p.indexOf(r):-1)-(o?p.indexOf(o):l);if(!f&&d>=0||0===t.length)return d;var g=pickFocusable(e,t[0]),b=pickFocusable(e,t[t.length-1]);if(l<=v&&c&&Math.abs(f)>1)return b;if(l>=m&&c&&Math.abs(f)>1)return g;if(f&&Math.abs(h)>1)return d;if(l<=v)return b;if(l>m)return g;if(f)return Math.abs(f)>1?d:(a+d+f)%a}},pickAutofocus=function(e,t,n){var r=filterAutoFocusable(e.map(function(e){return e.node}).filter(function(e){var t,r=null===(t=getDataset(e))||void 0===t?void 0:t.autofocus;return e.autofocus||void 0!==r&&"false"!==r||n.indexOf(e)>=0}));return r&&r.length?pickFirstFocus(r):pickFirstFocus(filterAutoFocusable(t))},getParents=function(e,t){return void 0===t&&(t=[]),t.push(e),e.parentNode&&getParents(e.parentNode.host||e.parentNode,t),t},getCommonParent=function(e,t){for(var n=getParents(e),r=getParents(t),o=0;o<n.length;o+=1){var a=n[o];if(r.indexOf(a)>=0)return a}return!1},getTopCommonParent=function(e,t,n){var r=asArray(e),o=asArray(t),a=r[0],i=!1;
1return o.filter(Boolean).forEach(function(e){i=getCommonParent(i||e,e)||i,n.filter(Boolean).forEach(function(e){var t=getCommonParent(a,e);t&&(i=!i||contains(t,i)?t:getCommonParent(t,i))})}),i},allParentAutofocusables=function(e,t){return e.reduce(function(e,n){return e.concat(filterFocusable(toArray(n.querySelectorAll("[".concat("data-autofocus-inside","]"))).map(function(e){return getFocusables([e])}).reduce(function(e,t){return e.concat(t)},[]),t))},[])},reorderNodes=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(isDefined)},focusSolver=function(e,t){var n=getActiveElement(asArray(e).length>0?document:getFirst(e).ownerDocument),r=getAllAffectedNodes(e).filter(isNotAGuard),o=getTopCommonParent(n||e,e,r),a=new Map,i=getFocusableNodes(r,a),u=i.filter(function(e){return isNotAGuard(e.node)});if(u[0]){var c=getFocusableNodes([o],a).map(function(e){return e.node}),l=reorderNodes(c,u),s=l.map(function(e){return e.node}),d=l.filter(function(e){return e.tabIndex>=0}).map(function(e){return e.node}),f=newFocus(s,d,c,n,t);if(f===L){var v=pickAutofocus(i,d,allParentAutofocusables(r,a))||pickAutofocus(i,s,allParentAutofocusables(r,a));return v?{node:v}:void console.warn("focus-lock: cannot find any node to move focus into")}return void 0===f?f:l[f]}},B=0,D=!1,moveFocusInside=function(e,t,n){void 0===n&&(n={});var r=focusSolver(e,t);if(!D&&r){if(B>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),D=!0,setTimeout(function(){D=!1},1);return}B++,focusOn(r.node,n.focusOptions),B--}};function weakRef(e){if(!e)return null;if("undefined"==typeof WeakRef)return function(){return e||null};var t=e?new WeakRef(e):null;return function(){return(null==t?void 0:t.deref())||null}}var recordElementLocation=function(e){if(!e)return null;for(var t=[],n=e;n&&n!==document.body;)t.push({current:weakRef(n),parent:weakRef(n.parentElement),left:weakRef(n.previousElementSibling),right:weakRef(n.nextElementSibling)}),n=n.parentElement;return{element:weakRef(e),stack:t,ownerDocument:e.ownerDocument}},restoreFocusTo=function(e){if(e)for(var t,n,r,o,a,i=e.stack,u=e.ownerDocument,c=new Map,l=0;l<i.length;l++){var s=i[l],d=null===(t=s.parent)||void 0===t?void 0:t.call(s);if(d&&u.contains(d)){for(var f=null===(n=s.left)||void 0===n?void 0:n.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=getTabbableNodes([d],c),g=null!==(a=null!==(o=null!=m?m:null==f?void 0:f.nextElementSibling)&&void 0!==o?o:p)&&void 0!==a?a:f;g;){for(var b=0;b<h.length;b++){var y=h[b];if(null==g?void 0:g.contains(y.node))return y.node}g=g.nextElementSibling}if(h.length)return h[0].node}}},captureFocusRestore=function(e){var t=recordElementLocation(e);return function(){return restoreFocusTo(t)}},expandFocusableNodes=function(e){var t=getAllAffectedNodes(e).filter(isNotAGuard),n=orderByTabIndex(getFocusables([getTopCommonParent(e,e,t)],!0),!0,!0),r=getFocusables(t,!1);return n.map(function(e){var t=e.node;return{node:t,index:e.index,lockItem:r.indexOf(t)>=0,guard:isGuard(t)}})},getRelativeFocusable=function(e,t,n){if(!e||!t)return console.error("no element or scope given"),{};var r=asArray(t);if(r.every(function(t){return!contains(t,e)}))return console.error("Active element is not contained in the scope"),{};var o=n?getTabbableNodes(r,new Map):getFocusableNodes(r,new Map),a=o.findIndex(function(t){return t.node===e});if(-1!==a)return{prev:o[a-1],next:o[a+1],first:o[0],last:o[o.length-1]}},getBoundary=function(e,t){var n=t?getTabbableNodes(asArray(e),new Map):getFocusableNodes(asArray(e),new Map);return{first:n[0],last:n[n.length-1]}},moveFocus=function(e,t,n){void 0===t&&(t={});var r,o=(r=t,Object.assign({scope:document.body,cycle:!0,onlyTabbable:!0},r)),a=getRelativeFocusable(e,o.scope,o.onlyTabbable);if(a){var i=n(a,o.cycle);i&&focusOn(i.node,o.focusOptions)}},pickBoundary=function(e,t,n){var r,o=getBoundary(e,null===(r=t.onlyTabbable)||void 0===r||r)[n];o&&focusOn(o.node,t.focusOptions)};function deferAction(e){setTimeout(e,1)}var extractRef=function(e){return e&&"current"in e?e.current:e},focusOnBody=function(){return document&&document.activeElement===document.body}
1,j=null,W=null,tryRestoreFocus=function(){return null},H=null,G=!1,Y=!1,recordPortal=function(e,t){H={observerNode:e,portaledElement:t}};function autoGuard(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 getNodeFocusables=function(e){return getFocusableNodes(e,new Map)},activateTrap=function(){var e=!1;if(j){var t=j,n=t.observed,r=t.persistentFocus,o=t.autoFocus,a=t.shards,i=t.crossFrame,u=t.focusOptions,c=t.noFocusGuards,l=n||H&&H.portaledElement;if(focusOnBody()&&W&&(!document.body.contains(W)||!getNodeFocusables([(f=W).parentNode]).some(function(e){return e.node===f}))){W=null;var s=tryRestoreFocus();s&&s.focus()}var d=document&&document.activeElement;if(l){var f,v=[l].concat(a.map(extractRef).filter(Boolean));if((!d||(j.whiteList||function(){return!0})(d))&&(r||function(){if(!(i?!!G:"meanwhile"===G)||!c||!W||Y)return!1;var e=getNodeFocusables(v),t=e.findIndex(function(e){return e.node===W});return 0===t||t===e.length-1}()||!(focusOnBody()||focusIsHidden())||!W&&o)&&(l&&!(focusInside(v)||d&&v.some(function(e){return function checkInHost(e,t,n){return t&&(t.host===e&&(!t.activeElement||n.contains(t.activeElement))||t.parentNode&&checkInHost(e,t.parentNode,n))}(d,e,e)})||H&&H.portaledElement===d)&&(document&&!W&&d&&!o?(d.blur&&d.blur(),document.body.focus()):(e=moveFocusInside(v,W,{focusOptions:u}),H={})),G=!1,tryRestoreFocus=captureFocusRestore(W=document&&document.activeElement)),document&&d!==document.activeElement&&document.querySelector("[data-focus-auto-guard]")){var m=document&&document.activeElement,p=expandFocusableNodes(v),h=p.map(function(e){return e.node}).indexOf(m);h>-1&&(p.filter(function(e){var t=e.guard,n=e.node;return t&&n.dataset.focusAutoGuard}).forEach(function(e){return e.node.removeAttribute("tabIndex")}),autoGuard(h,p.length,1,p),autoGuard(h,-1,-1,p))}}}return e},onTrap=function(e){activateTrap()&&e&&(e.stopPropagation(),e.preventDefault())},onBlur=function(){return deferAction(activateTrap)},onWindowFocus=function(){Y=!0},onWindowBlur=function(){Y=!1,G="just",deferAction(function(){G="meanwhile"})},attachHandler=function(){document.addEventListener("focusin",onTrap),document.addEventListener("focusout",onBlur),window.addEventListener("focus",onWindowFocus),window.addEventListener("blur",onWindowBlur)},detachHandler=function(){document.removeEventListener("focusin",onTrap),document.removeEventListener("focusout",onBlur),window.removeEventListener("focus",onWindowFocus),window.removeEventListener("blur",onWindowBlur)};function reducePropsToState(e){return e.filter(function(e){return!e.disabled})}var X={moveFocusInside:moveFocusInside,focusInside:focusInside,focusNextElement:function(e,t){void 0===t&&(t={}),moveFocus(e,t,function(e,t){var n=e.next,r=e.first;return n||t&&r})},focusPrevElement:function(e,t){void 0===t&&(t={}),moveFocus(e,t,function(e,t){var n=e.prev,r=e.last;return n||t&&r})},focusFirstElement:function(e,t){void 0===t&&(t={}),pickBoundary(e,t,"first")},focusLastElement:function(e,t){void 0===t&&(t={}),pickBoundary(e,t,"last")},captureFocusRestore:captureFocusRestore};function handleStateChangeOnClient(e){var t=e.slice(-1)[0];t&&!j&&attachHandler();var n=j,r=n&&t&&t.id===n.id;j=t,!n||r||(n.onDeactivation(),e.filter(function(e){return e.id===n.id}).length||n.returnFocus(!t)),t?(W=null,r&&n.observed===t.observed||t.onActivation(X),activateTrap(!0),deferAction(activateTrap)):(detachHandler(),W=null)}F.assignSyncMedium(function(e){var t=e.target,n=e.currentTarget;n.contains(t)||recordPortal(n,t)}),k.assignMedium(onBlur),C.assignMedium(function(e){return e(X)});var U=(function(e,t){function getDisplayName(e){return e.displayName||e.name||"Component"}return function(n){var r,o=[];function emitChange(){t(r=e(o.map(function(e){return e.props})))}var a=function(e){function SideEffect(){return e.apply(this,arguments)||this}_inheritsLoose(SideEffect,e),SideEffect.peek=function(){return r};var t=SideEffect.prototype;return t.componentDidMount=function(){o.push(this),emitChange()},t.componentDidUpdate=function(){emitChange()},t.componentWillUnmount=function(){var e=o.indexOf(this);o.splice(e,1),emitChange()},t.render=function(){return s.createElement(n,this.props)},SideEffect}(s.PureComponent);return(0,R.Z)(a,"displayName","SideEffect("+getDisplayName(n)+")"),a}})(reducePropsToState,handleStateChangeOnClient)(function(){return null}),$=s.forwardRef(function(e,t){return s.createElement(P,(0,y.Z)({sideCar:U,ref:t},e))}),V=P.propTypes||{};function isElement(e){return null!=e&&"object"==typeof e&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function chunk_3XANSPY5_isHTMLElement(e){var t;if(!isElement(e))return!1;let n=null!=(t=e.ownerDocument.defaultView)?t:window;return e instanceof n.HTMLElement}
1V.sideCar,_objectWithoutPropertiesLoose(V,["sideCar"]),$.propTypes={};var hasTabIndex=e=>e.hasAttribute("tabindex");function isDisabled(e){return!0==!!e.getAttribute("disabled")||!0==!!e.getAttribute("aria-disabled")}function isHidden(e){return!!(e.parentElement&&isHidden(e.parentElement))||e.hidden}function isContentEditable(e){let t=e.getAttribute("contenteditable");return"false"!==t&&null!=t}function isFocusable(e){if(!chunk_3XANSPY5_isHTMLElement(e)||isHidden(e)||isDisabled(e))return!1;let{localName:t}=e;if(["input","select","textarea","button"].indexOf(t)>=0)return!0;let n={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return t in n?n[t]():!!isContentEditable(e)||hasTabIndex(e)}var isVisible=e=>e.offsetWidth>0&&e.offsetHeight>0;function getAllFocusable(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=>isFocusable(e)&&isVisible(e))}var q=null!=(r=$.default)?r:$,chunk_UU5OHSNF_FocusLock=e=>{let{initialFocusRef:t,finalFocusRef:n,contentRef:r,restoreFocus:o,children:a,isDisabled:i,autoFocus:u,persistentFocus:c,lockFocusAcrossFrames:l}=e,f=(0,s.useCallback)(()=>{if(null==t?void 0:t.current)t.current.focus();else if(null==r?void 0:r.current){let e=getAllFocusable(r.current);0===e.length&&requestAnimationFrame(()=>{var e;null==(e=r.current)||e.focus()})}},[t,r]),v=(0,s.useCallback)(()=>{var e;null==(e=null==n?void 0:n.current)||e.focus()},[n]),m=o&&!n;return(0,d.jsx)(q,{crossFrame:l,persistentFocus:c,autoFocus:u,disabled:i,onActivation:f,onDeactivation:v,returnFocus:m,children:a})};chunk_UU5OHSNF_FocusLock.displayName="FocusLock";var Z=n(15947),K="right-scroll-bar-position",z="width-before-scroll-bar",Q=createSidecarMedium(),nothing=function(){},J=s.forwardRef(function(e,t){var n=s.useRef(null),r=s.useState({onScrollCapture:nothing,onWheelCapture:nothing,onTouchMoveCapture:nothing}),o=r[0],a=r[1],i=e.forwardProps,u=e.children,c=e.className,l=e.removeScrollBar,d=e.enabled,f=e.shards,v=e.sideCar,m=e.noIsolation,p=e.inert,h=e.allowPinchZoom,g=e.as,b=void 0===g?"div":g,y=e.gapMode,x=(0,A._T)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),w=useMergeRefs([n,t]),E=(0,A.pi)((0,A.pi)({},x),o);return s.createElement(s.Fragment,null,d&&s.createElement(v,{sideCar:Q,removeScrollBar:l,shards:f,noIsolation:m,inert:p,setCallbacks:a,allowPinchZoom:!!h,lockRef:n,gapMode:y}),i?s.cloneElement(s.Children.only(u),(0,A.pi)((0,A.pi)({},E),{ref:w})):s.createElement(b,(0,A.pi)({},E,{className:c,ref:w}),u))});J.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},J.classNames={fullWidth:z,zeroRight:K};var SideCar=function(e){var t=e.sideCar,n=(0,A._T)(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 s.createElement(r,(0,A.pi)({},n))};function exportSidecar(e,t){return e.useMedium(t),SideCar}function makeStyleTag(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=o||n.nc;return t&&e.setAttribute("nonce",t),e}function injectStyles(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function insertStyleTag(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}SideCar.isSideCarExport=!0;var stylesheetSingleton=function(){var e=0,t=null;return{add:function(n){0==e&&(t=makeStyleTag())&&(injectStyles(t,n),insertStyleTag(t)),e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},styleHookSingleton=function(){var e=stylesheetSingleton();return function(t,n){s.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},styleSingleton=function(){var e=styleHookSingleton();return function(t){return e(t.styles,t.dynamic),null}},ee={left:0,top:0,right:0,gap:0},parse=function(e){return parseInt(e||"",10)||0},getOffset=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[parse(n),parse(r),parse(o)]},getGapWidth=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return ee;var t=getOffset(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])}},et=styleSingleton(),en="data-scroll-locked",getStyles=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(en,"] {\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,";
1")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(K," {\n    right: ").concat(u,"px ").concat(r,";\n  }\n  \n  .").concat(z," {\n    margin-right: ").concat(u,"px ").concat(r,";\n  }\n  \n  .").concat(K," .").concat(K," {\n    right: 0 ").concat(r,";\n  }\n  \n  .").concat(z," .").concat(z," {\n    margin-right: 0 ").concat(r,";\n  }\n  \n  body[").concat(en,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(u,"px;\n  }\n")},getCurrentUseCounter=function(){var e=parseInt(document.body.getAttribute(en)||"0",10);return isFinite(e)?e:0},useLockAttribute=function(){s.useEffect(function(){return document.body.setAttribute(en,(getCurrentUseCounter()+1).toString()),function(){var e=getCurrentUseCounter()-1;e<=0?document.body.removeAttribute(en):document.body.setAttribute(en,e.toString())}},[])},RemoveScrollBar=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;useLockAttribute();var a=s.useMemo(function(){return getGapWidth(o)},[o]);return s.createElement(et,{styles:getStyles(a,!t,o,n?"":"!important")})},er=!1;if("undefined"!=typeof window)try{var eo=Object.defineProperty({},"passive",{get:function(){return er=!0,!0}});window.addEventListener("test",eo,eo),window.removeEventListener("test",eo,eo)}catch(e){er=!1}var ea=!!er&&{passive:!1},elementCanBeScrolled=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===n[t])},locationCouldBeScrolled=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),elementCouldBeScrolled(e,r)){var o=getScrollVariables(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},elementCouldBeScrolled=function(e,t){return"v"===e?elementCanBeScrolled(t,"overflowY"):elementCanBeScrolled(t,"overflowX")},getScrollVariables=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},handleScroll=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),s=!1,d=u>0,f=0,v=0;do{var m=getScrollVariables(e,c),p=m[0],h=m[1]-m[2]-i*p;(p||h)&&elementCouldBeScrolled(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 d&&(o&&1>Math.abs(f)||!o&&u>f)?s=!0:!d&&(o&&1>Math.abs(v)||!o&&-u>v)&&(s=!0),s},getTouchXY=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},getDeltaXY=function(e){return[e.deltaX,e.deltaY]},SideEffect_extractRef=function(e){return e&&"current"in e?e.current:e},ei=0,eu=[];function getOutermostShadowParent(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}var ec=exportSidecar(Q,function(e){var t=s.useRef([]),n=s.useRef([0,0]),r=s.useRef(),o=s.useState(ei++)[0],a=s.useState(styleSingleton)[0],i=s.useRef(e);s.useEffect(function(){i.current=e},[e]),s.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(0,A.ev)([e.lockRef.current],(e.shards||[]).map(SideEffect_extractRef),!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=s.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!i.current.allowPinchZoom;var o,a=getTouchXY(e),u=n.current,c="deltaX"in e?e.deltaX:u[0]-a[0],l="deltaY"in e?e.deltaY:u[1]-a[1],s=e.target,d=Math.abs(c)>Math.abs(l)?"h":"v";if("touches"in e&&"h"===d&&"range"===s.type)return!1;var f=locationCouldBeScrolled(d,s);if(!f)return!0;if(f?o=d:(o="v"===d?"h":"v",f=locationCouldBeScrolled(d,s)),!f)return!1;if(!r.current&&"changedTouches"in e&&(c||l)&&(r.current=o),!o)return!0;var v=r.current||o;return handleScroll(v,t,e,"h"===v?c:l,!0)},[]),c=s.useCallback(function(e){if(eu.length&&eu[eu.length-1]===a){var n="deltaY"in e?getDeltaXY(e):getTouchXY(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)[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(SideEffect_extractRef).filter(
1Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?u(e,o[0]):!i.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),l=s.useCallback(function(e,n,r,o){var a={name:e,delta:n,target:r,should:o,shadowParent:getOutermostShadowParent(r)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),d=s.useCallback(function(e){n.current=getTouchXY(e),r.current=void 0},[]),f=s.useCallback(function(t){l(t.type,getDeltaXY(t),t.target,u(t,e.lockRef.current))},[]),v=s.useCallback(function(t){l(t.type,getTouchXY(t),t.target,u(t,e.lockRef.current))},[]);s.useEffect(function(){return eu.push(a),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:v}),document.addEventListener("wheel",c,ea),document.addEventListener("touchmove",c,ea),document.addEventListener("touchstart",d,ea),function(){eu=eu.filter(function(e){return e!==a}),document.removeEventListener("wheel",c,ea),document.removeEventListener("touchmove",c,ea),document.removeEventListener("touchstart",d,ea)}},[]);var m=e.removeScrollBar,p=e.inert;return s.createElement(s.Fragment,null,p?s.createElement(a,{styles:"\n  .block-interactivity-".concat(o," {pointer-events: none;}\n  .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,m?s.createElement(RemoveScrollBar,{gapMode:e.gapMode}):null)}),el=s.forwardRef(function(e,t){return s.createElement(J,(0,A.pi)({},e,{ref:t,sideCar:ec}))});function ModalFocusScope(e){let{autoFocus:t,trapFocus:n,dialogRef:r,initialFocusRef:o,blockScrollOnMount:a,allowPinchZoom:i,finalFocusRef:u,returnFocusOnClose:c,preserveScrollBarGap:l,lockFocusAcrossFrames:f,isOpen:v}=(0,g.vR)(),[m,p]=(0,Z.oO)();(0,s.useEffect)(()=>{!m&&p&&setTimeout(p)},[m,p]);let h=(0,b.$)(r,v);return(0,d.jsx)(chunk_UU5OHSNF_FocusLock,{autoFocus:t,isDisabled:!n,initialFocusRef:o,finalFocusRef:u,restoreFocus:c,contentRef:r,lockFocusAcrossFrames:f,children:(0,d.jsx)(el,{removeScrollBar:!l,allowPinchZoom:i,enabled:1===h&&a,forwardProps:!0,children:e.children})})}el.classNames=J.classNames;var es=(0,n(16554).G)((e,t)=>{let{className:n,children:r,containerProps:o,motionProps:i,...c}=e,{getDialogProps:l,getDialogContainerProps:s}=(0,g.vR)(),f=l(c,t),v=s(o),m=(0,u.cx)("chakra-modal__content",n),p=(0,g.I_)(),b={display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,...p.dialog},y={display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0,...p.dialogContainer},{motionPreset:x}=(0,g.vR)();return(0,d.jsx)(ModalFocusScope,{children:(0,d.jsx)(a.m.div,{...v,className:"chakra-modal__content-container",tabIndex:-1,__css:y,children:(0,d.jsx)(h,{preset:x,motionProps:i,className:m,...f,__css:b,children:r})})})});es.displayName="ModalContent"},19778:function(e,t,n){n.d(t,{Z:function(){return m}});var r=n(35541),o=n(25432),a=n(16914),i=n(16554),u=n(52094),c=n(51526),l=n(17745),s=n(67294),d=n(85893),f={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.p$.enter(u.Sh.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.p$.exit(u.Sh.exit,n),transitionEnd:null==t?void 0:t.exit}}}};(0,s.forwardRef)(function(e,t){let{unmountOnExit:n,in:r,className:a,transition:i,transitionEnd:u,delay:s,...v}=e,m=r||n?"enter":"exit",p=!n||r&&n,h={transition:i,transitionEnd:u,delay:s};return(0,d.jsx)(c.M,{custom:h,children:p&&(0,d.jsx)(l.E.div,{ref:t,className:(0,o.cx)("chakra-fade",a),custom:h,...f,animate:m,...v})})}).displayName="Fade";var v=(0,a.m)(l.E.div),m=(0,i.G)((e,t)=>{let{className:n,transition:a,motionProps:i,...u}=e,c=(0,o.cx)("chakra-modal__overlay",n),l=(0,r.I_)(),s={pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh",...l.overlay},{motionPreset:m}=(0,r.vR)(),p="none"===m?{}:f,h=i||p;return(0,d.jsx)(v,{...h,__css:s,ref:t,className:c,...u})});m.displayName="ModalOverlay"},35541:function(e,t,n){n.d(t,{u_:function(){return Modal},vR:function(){return y},I_:function(){return g}});var r=n(32856),o=n(25432),a=n(81103),i=new WeakMap,u=new WeakMap,c={},l=0,unwrapHost=function(e){return e&&(e.host||unwrapHost(e.parentNode))},applyAttributeToOthers=function(e,t,n,r){var o=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;
1var n=unwrapHost(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=[],d=new Set,f=new Set(o),keep=function(e){!e||d.has(e)||(d.add(e),keep(e.parentNode))};o.forEach(keep);var deep=function(e){!e||f.has(e)||Array.prototype.forEach.call(e.children,function(e){if(d.has(e))deep(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 deep(t),d.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={})}},hideOthers=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]"))),applyAttributeToOthers(r,o,n,"aria-hidden")):function(){return null}},s=n(67294);function useModal(e){let{isOpen:t,onClose:n,id:i,closeOnOverlayClick:u=!0,closeOnEsc:c=!0,useInert:l=!0,onOverlayClick:d,onEsc:f}=e,v=(0,s.useRef)(null),m=(0,s.useRef)(null),[p,h,g]=useIds(i,"chakra-modal","chakra-modal--header","chakra-modal--body");useAriaHidden(v,t&&l);let b=(0,r.$)(v,t),y=(0,s.useRef)(null),x=(0,s.useCallback)(e=>{y.current=e.target},[]),w=(0,s.useCallback)(e=>{"Escape"===e.key&&(e.stopPropagation(),c&&(null==n||n()),null==f||f())},[c,n,f]),[E,S]=(0,s.useState)(!1),[N,A]=(0,s.useState)(!1),F=(0,s.useCallback)((e={},t=null)=>({role:"dialog",...e,ref:(0,a.lq)(t,v),id:p,tabIndex:-1,"aria-modal":!0,"aria-labelledby":E?h:void 0,"aria-describedby":N?g:void 0,onClick:(0,o.v0)(e.onClick,e=>e.stopPropagation())}),[g,N,p,h,E]),k=(0,s.useCallback)(e=>{e.stopPropagation(),y.current===e.target&&r.m.isTopModal(v.current)&&(u&&(null==n||n()),null==d||d())},[n,u,d]),C=(0,s.useCallback)((e={},t=null)=>({...e,ref:(0,a.lq)(t,m),onClick:(0,o.v0)(e.onClick,k),onKeyDown:(0,o.v0)(e.onKeyDown,w),onMouseDown:(0,o.v0)(e.onMouseDown,x)}),[w,x,k]);return{isOpen:t,onClose:n,headerId:h,bodyId:g,setBodyMounted:A,setHeaderMounted:S,dialogRef:v,overlayRef:m,getDialogProps:F,getDialogContainerProps:C,index:b}}function useAriaHidden(e,t){let n=e.current;(0,s.useEffect)(()=>{if(e.current&&t)return hideOthers(e.current)},[t,e,n])}function useIds(e,...t){let n=(0,s.useId)(),r=e||n;return(0,s.useMemo)(()=>t.map(e=>`${e}-${r}`),[r,t])}var d=n(1702),f=n(55227),v=n(77030),m=n(51526),p=n(85893),[h,g]=(0,f.k)({name:"ModalStylesContext",errorMessage:"useModalStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Modal />\" "}),[b,y]=(0,f.k)({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in `<Modal />`"}),Modal=e=>{let t={scrollBehavior:"outside",autoFocus:!0,trapFocus:!0,returnFocusOnClose:!0,blockScrollOnMount:!0,allowPinchZoom:!1,motionPreset:"scale",lockFocusAcrossFrames:!0,...e},{portalProps:n,children:r,autoFocus:o,trapFocus:a,initialFocusRef:i,finalFocusRef:u,returnFocusOnClose:c,blockScrollOnMount:l,allowPinchZoom:s,preserveScrollBarGap:f,motionPreset:g,lockFocusAcrossFrames:y,onCloseComplete:x}=t,w=(0,v.jC)("Modal",t),E=useModal(t),S={...E,autoFocus:o,trapFocus:a,initialFocusRef:i,finalFocusRef:u,returnFocusOnClose:c,blockScrollOnMount:l,allowPinchZoom:s,preserveScrollBarGap:f,motionPreset:g,lockFocusAcrossFrames:y};return(0,p.jsx)(b,{value:S,children:(0,p.jsx)(h,{value:w,children:(0,p.jsx)(m.M,{onExitComplete:x,children:S.isOpen&&(0,p.jsx)(d.h,{...n,children:r})})})})};Modal.displayName="Modal"},54346:function(e,t,n){n.d(t,{f:function(){return l}});var r=n(35541),o=n(25432),a=n(16554),i=n(16914),u=n(67294),c=n(85893),l=(0,a.G)((e,t)=>{let{className:n,...a}=e,{bodyId:l,setBodyMounted:s}=(0,r.vR)();(0,u.useEffect)(()=>(s(!0),()=>s(!1)),[s]);let d=(0,o.cx)("chakra-modal__body",n),f=(0,r.I_)();return(0,c.jsx)(i.m.div,{ref:t,className:d,id:l,...a,__css:f.body})});l.displayName="ModalBody"},14253:function(e,t,n){n.d(t,{m:function(){return c}});var r=n(35541),o=n(25432),a=n(16554),i=n(16914),u=n(85893),c=(0,a.G)((e,t)=>{let{className:n,...a}=e,c=(0,o.cx)("chakra-modal__footer",n),l=(0,r.I_)(),s={display:"flex",alignItems:"center",justifyContent:"flex-end",...l.footer};return(0,u.jsx)(i.m.footer,{ref:t,...a,__css:s,className:c})});c.displayName="ModalFooter"},52094:function(e,t,n){n.d(t,{Sh:function(){return o},p$:function(){return a}});var r={easeIn:[.4,0,1,1],easeOut:[0,0,.2,1]},o={enter:{duration:.2,ease:r.easeOut},exit:{duration:.1,ease:r.easeIn}},a={enter:(e,t)=>({...e,delay:"number"==typeof t?t:null==t?void 0:t.enter}),exit:(e,t)=>
1({...e,delay:"number"==typeof t?t:null==t?void 0:t.exit})}}}]);

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.