1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4372],{10714:(e,t,n)=>{n.d(t,{s:()=>c});var r=n(14232),o=Object.defineProperty,i=(e,t)=>o(e,"name",{value:t,configurable:!0});function a(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function u(...e){return t=>{let n=!1,r=e.map(e=>{let r=a(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():a(e[t],null)}}}}function c(...e){return r.useCallback(u(...e),e)}i(a,"setRef"),i(u,"composeRefs"),i(c,"useComposedRefs")},33716:(e,t,n)=>{n.d(t,{mK:()=>a});var r=Object.defineProperty,o=(e,t)=>r(e,"name",{value:t,configurable:!0}),i=!!("undefined"!=typeof window&&window.document&&window.document.createElement);function a(e,t,{checkForDefaultPrevented:n=!0}={}){return o(function(r){if(e?.(r),!1===n||!r||!r.defaultPrevented)return t?.(r)},"handleEvent")}function u(e){if(!i)throw Error("Cannot access document outside of the DOM");return e?.ownerDocument??document}function c(e){return"IFRAME"===e.tagName}o(a,"composeEventHandlers"),o(function(e){if(!i)throw Error("Cannot access window outside of the DOM");return e?.ownerDocument?.defaultView??window},"getOwnerWindow"),o(u,"getOwnerDocument"),o(function e(t,n=!1){let{activeElement:r}=u(t);if(!r?.nodeName)return null;if(c(r)&&r.contentDocument)return e(r.contentDocument.body,n);if(n){let e=r.getAttribute("aria-activedescendant");if(e){let t=u(r).getElementById(e);if(t)return t}}return r},"getActiveElement"),o(c,"isFrame")},62146:(e,t,n)=>{n.d(t,{c:()=>o});var r=n(14232);function o(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}(0,Object.defineProperty)(o,"name",{value:"useCallbackRef",configurable:!0})},63885:(e,t,n)=>{n.d(t,{bm:()=>tc,UC:()=>tn,VY:()=>tu,hJ:()=>e9,ZL:()=>e7,bL:()=>e1,hE:()=>ta,l9:()=>e2});var r,o,i,a=n(14232),u=n(33716),c=n(10714),l=n(91844),s=n(70294),d=n(95601),f=n(66326),p=n(62146),m=n(37876),v=Object.defineProperty,h=(e,t)=>v(e,"name",{value:t,configurable:!0}),g="dismissableLayer.update",y=a.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),b=a.forwardRef(h(function(e,t){let{disableOutsidePointerEvents:n=!1,deferPointerDownOutside:r=!1,onEscapeKeyDown:i,onPointerDownOutside:l,onFocusOutside:s,onInteractOutside:d,onDismiss:v,...b}=e,E=a.useContext(y),[w,R]=a.useState(null),P=w?.ownerDocument??globalThis?.document,[,D]=a.useState({}),N=(0,c.s)(t,R),x=Array.from(E.layers),[L]=[...E.layersWithOutsidePointerEventsDisabled].slice(-1),M=L?x.indexOf(L):-1,k=w?x.indexOf(w):-1,T=E.layersWithOutsidePointerEventsDisabled.size>0,A=k>=M,j=a.useRef(!1),I=C(e=>{l?.(e),d?.(e),e.defaultPrevented||v?.()},{ownerDocument:P,deferPointerDownOutside:r,isDeferredPointerDownOutsideRef:j,dismissableSurfaces:E.dismissableSurfaces,shouldHandlePointerDownOutside:a.useCallback(e=>{if(!(e instanceof Node))return!1;let t=[...E.branches].some(t=>t.contains(e));return A&&!t},[E.branches,A])}),F=S(e=>{if(r&&j.current)return;let t=e.target;![...E.branches].some(e=>e.contains(t))&&(s?.(e),d?.(e),e.defaultPrevented||v?.())},P),_=!!w&&k===x.length-1,W=(0,p.c)(e=>{"Escape"===e.key&&(i?.(e),!e.defaultPrevented&&v&&(e.preventDefault(),v()))});return a.useEffect(()=>{if(_)return P.addEventListener("keydown",W,{capture:!0}),()=>P.removeEventListener("keydown",W,{capture:!0})},[P,_,W]),a.useEffect(()=>{if(w)return n&&(0===E.layersWithOutsidePointerEventsDisabled.size&&(o=P.body.style.pointerEvents,P.body.style.pointerEvents="none"),E.layersWithOutsidePointerEventsDisabled.add(w)),E.layers.add(w),O(),()=>{n&&(E.layersWithOutsidePointerEventsDisabled.delete(w),0===E.layersWithOutsidePointerEventsDisabled.size&&(P.body.style.pointerEvents=o))}},[w,P,n,E]),a.useEffect(()=>()=>{w&&(E.layers.delete(w),E.layersWithOutsidePointerEventsDisabled.delete(w),O())},[w,E]),a.useEffect(()=>{let e=h(()=>D({}),"handleUpdate");return document.addEventListener(g,e),()=>document.removeEventListener(g,e)},[]),(0,m.jsx)(f.sG.div,{...b,ref:N,style:{pointerEvents:T?A?"auto":"none":void 0,...e.style},onFocusCapture:(0,u.mK)(e.onFocusCapture,F.onFocusCapture),onBlurCapture:(0,u.mK)(e.onBlurCapture,F.onBlurCapture),onPointerDownCapture:(0,u.mK)(e.onPointerDownCapture,I.onPointerDownCapture)})},"DismissableLayer"));function E(){let e=a.useContext(y),[t,n]=a.useState(null);return a.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),n}h(E,"useDismissableLayerSurface");var w=h(()=>!0,"IS_TRUE");function C(e,t){let{ownerDocument:n=globalThis?.document,deferPointerDownOutside:r=!1,isDeferredPointerDownOutsideRef:o,dismissableSurfaces:i,shouldHandlePointerDownOutside:u=w}=t,c=(0,p.c)(e),l=a.useRef(!1),s=a.useRef(!1),d=a.useRef(new Map),f=a.useRef(()=>{});return a.useEffect(()=>{function e(){s.current=!1,o.current=!1,d.current.clear()}function t(){return Array.from(d.current.values()).some(Boolean)}function a(e){if(!s.current)return;let t=e.target;t instanceof Node&&[...i].some(e=>e.contains(t))||d.current.set(e.type,!0),"click"===e.type&&window.setTimeout(()=>{s.current&&f.current()},0)}function p(e){s.current&&d.current.set(e.type,!1)}h(e,"resetOutsideInteraction"),h(t,"isOutsideInteractionIntercepted"),h(a,"handleInteractionCapture"),h(p,"handleInteractionBubble");let m=h(i=>{if(i.target&&!l.current){let a=function(){n.removeEventListener("click",f.current);let r=t();e(),r||R("dismissableLayer.pointerDownOutside",c,p,{discrete:!0})};if(h(a,"handleAndDispatchPointerDownOutsideEvent"),!u(i.target)){n.removeEventListener("click",f.current),e(
1),l.current=!1;return}let p={originalEvent:i};s.current=!0,o.current=r&&0===i.button,d.current.clear(),r&&0===i.button?(n.removeEventListener("click",f.current),f.current=a,n.addEventListener("click",f.current,{once:!0})):a()}else n.removeEventListener("click",f.current),e();l.current=!1},"handlePointerDown"),v=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(let e of v)n.addEventListener(e,a,!0),n.addEventListener(e,p);let g=window.setTimeout(()=>{n.addEventListener("pointerdown",m)},0);return()=>{for(let e of(window.clearTimeout(g),n.removeEventListener("pointerdown",m),n.removeEventListener("click",f.current),v))n.removeEventListener(e,a,!0),n.removeEventListener(e,p)}},[n,c,r,o,i,u]),{onPointerDownCapture:h(()=>l.current=!0,"onPointerDownCapture")}}function S(e,t=globalThis?.document){let n=(0,p.c)(e),r=a.useRef(!1);return a.useEffect(()=>{let e=h(e=>{e.target&&!r.current&&R("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:h(()=>r.current=!0,"onFocusCapture"),onBlurCapture:h(()=>r.current=!1,"onBlurCapture")}}function O(){let e=new CustomEvent(g);document.dispatchEvent(e)}function R(e,t,n,{discrete:r}){let o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?(0,f.hO)(o,i):o.dispatchEvent(i)}h(C,"usePointerDownOutside"),h(S,"useFocusOutside"),h(O,"dispatchUpdate"),h(R,"handleAndDispatchCustomEvent");var P=Object.defineProperty,D=(e,t)=>P(e,"name",{value:t,configurable:!0}),N="focusScope.autoFocusOnMount",x="focusScope.autoFocusOnUnmount",L={bubbles:!1,cancelable:!0},M=a.forwardRef(D(function(e,t){let{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...u}=e,[l,s]=a.useState(null),d=(0,p.c)(o),v=(0,p.c)(i),h=a.useRef(null),g=(0,c.s)(t,s),y=a.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;a.useEffect(()=>{if(r){let e=function(e){if(y.paused||!l)return;let t=e.target;l.contains(t)?h.current=t:_(h.current,{select:!0})},t=function(e){if(y.paused||!l)return;let t=e.relatedTarget;null!==t&&(l.contains(t)||_(h.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&_(l)};D(e,"handleFocusIn"),D(t,"handleFocusOut"),D(n,"handleMutations"),document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(n);return l&&r.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[r,l,y.paused]),a.useEffect(()=>{if(l){W.add(y);let e=document.activeElement;if(!l.contains(e)){let t=new CustomEvent(N,L);l.addEventListener(N,d),l.dispatchEvent(t),t.defaultPrevented||(k(K(A(l)),{select:!0}),document.activeElement===e&&_(l))}return()=>{l.removeEventListener(N,d),setTimeout(()=>{let t=new CustomEvent(x,L);l.addEventListener(x,v),l.dispatchEvent(t),t.defaultPrevented||_(e??document.body,{select:!0}),l.removeEventListener(x,v),W.remove(y)},0)}}},[l,d,v,y]);let b=a.useCallback(e=>{if(!n&&!r||y.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){let t=e.currentTarget,[r,i]=T(t);r&&i?e.shiftKey||o!==i?e.shiftKey&&o===r&&(e.preventDefault(),n&&_(i,{select:!0})):(e.preventDefault(),n&&_(r,{select:!0})):o===t&&e.preventDefault()}},[n,r,y.paused]);return(0,m.jsx)(f.sG.div,{tabIndex:-1,...u,ref:g,onKeyDown:b})},"FocusScope"));function k(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(_(r,{select:t}),document.activeElement!==n)return}function T(e){let t=A(e);return[j(t,e),j(t.reverse(),e)]}function A(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:D(e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;n.nextNode();)t.push(n.currentNode);return t}function j(e,t){let n="function"==typeof t.checkVisibility&&t.checkVisibility({checkVisibilityCSS:!0});for(let r of e)if(!(n?!r.checkVisibility({checkVisibilityCSS:!0}):I(r,{upTo:t})))return r}function I(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function F(e){return e instanceof HTMLInputElement&&"select"in e}function _(e,{select:t=!1}={}){if(e&&e.focus){let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&F(e)&&t&&e.select()}}
1D(k,"focusFirst"),D(T,"getTabbableEdges"),D(A,"getTabbableCandidates"),D(j,"findVisible"),D(I,"isHidden"),D(F,"isSelectableInput"),D(_,"focus");var W=B();function B(){let e=[];return{add(t){let n=e[0];t!==n&&n?.pause(),(e=U(e,t)).unshift(t)},remove(t){e=U(e,t),e[0]?.resume()}}}function U(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}function K(e){return e.filter(e=>"A"!==e.tagName)}D(B,"createFocusScopesStack"),D(U,"arrayRemove"),D(K,"removeLinks");var $=n(98477),G=n(81285),V=Object.defineProperty,X=a.forwardRef(V(function(e,t){let{container:n,...r}=e,[o,i]=a.useState(!1);(0,G.N)(()=>i(!0),[]);let u=n||o&&globalThis?.document?.body;return u?$.createPortal((0,m.jsx)(f.sG.div,{...r,ref:t}),u):null},"name",{value:"Portal",configurable:!0})),Y=n(96822),z=Object.defineProperty,H=(e,t)=>z(e,"name",{value:t,configurable:!0}),Z=0,q=null;function J(){a.useEffect(()=>{q||(q={start:Q(),end:Q()});let{start:e,end:t}=q;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement("afterbegin",e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement("beforeend",t),Z++,()=>{1===Z&&(q?.start.remove(),q?.end.remove(),q=null),Z=Math.max(0,Z-1)}},[])}function Q(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}H(function(e){return J(),e.children},"FocusGuards"),H(J,"useFocusGuards"),H(Q,"createFocusGuard");var ee=function(){return(ee=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function et(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}Object.create;Object.create;var en=("function"==typeof SuppressedError&&SuppressedError,"right-scroll-bar-position"),er="width-before-scroll-bar";function eo(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var ei="undefined"!=typeof window?a.useLayoutEffect:a.useEffect,ea=new WeakMap;function eu(e){return e}var ec=function(e){void 0===e&&(e={});var t,n,r,o=(void 0===t&&(t=eu),n=[],r=!1,{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]:null},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 i=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}});return o.options=ee({async:!0,ssr:!1},e),o}(),el=function(){},es=a.forwardRef(function(e,t){var n,r,o,i,u=a.useRef(null),c=a.useState({onScrollCapture:el,onWheelCapture:el,onTouchMoveCapture:el}),l=c[0],s=c[1],d=e.forwardProps,f=e.children,p=e.className,m=e.removeScrollBar,v=e.enabled,h=e.shards,g=e.sideCar,y=e.noRelative,b=e.noIsolation,E=e.inert,w=e.allowPinchZoom,C=e.as,S=e.gapMode,O=et(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),R=(n=[u,t],r=function(e){return n.forEach(function(t){return eo(t,e)})},(o=(0,a.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,i=o.facade,ei(function(){var e=ea.get(i);if(e){var t=new Set(e),r=new Set(n),o=i.current;t.forEach(function(e){r.has(e)||eo(e,null)}),r.forEach(function(e){t.has(e)||eo(e,o)})}ea.set(i,n)},[n]),i),P=ee(ee({},O),l);return a.createElement(a.Fragment,null,v&&a.createElement(g,{sideCar:ec,removeScrollBar:m,shards:h,noRelative:y,noIsolation:b,inert:E,setCallbacks:s,allowPinchZoom:!!w,lockRef:u,gapMode:S}),d?a.cloneElement(a.Children.only(f),ee(ee({},P),{ref:R})):a.createElement(void 0===C?"div":C,ee({},P,{className:p,ref:R}),f))});es.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},es.classNames={fullWidth:er,zeroRight:en};var ed=function(e){var t=e.sideCar,n=et(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 a.createElement(r,ee({},n))};
1ed.isSideCarExport=!0;var ef=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=i||n.nc;return t&&e.setAttribute("nonce",t),e}())){var o,a;(o=t).styleSheet?o.styleSheet.cssText=r:o.appendChild(document.createTextNode(r)),a=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(a)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},ep=function(){var e=ef();return function(t,n){a.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},em=function(){var e=ep();return function(t){return e(t.styles,t.dynamic),null}},ev={left:0,top:0,right:0,gap:0},eh=function(e){return parseInt(e||"",10)||0},eg=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[eh(n),eh(r),eh(o)]},ey=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return ev;var t=eg(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])}},eb=em(),eE="data-scroll-locked",ew=function(e,t,n,r){var o=e.left,i=e.top,a=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(eE,"] {\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(i,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(u,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(u,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(en," {\n right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(er," {\n margin-right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(en," .").concat(en," {\n right: 0 ").concat(r,";\n }\n \n .").concat(er," .").concat(er," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(eE,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(u,"px;\n }\n")},eC=function(){var e=parseInt(document.body.getAttribute(eE)||"0",10);return isFinite(e)?e:0},eS=function(){a.useEffect(function(){return document.body.setAttribute(eE,(eC()+1).toString()),function(){var e=eC()-1;e<=0?document.body.removeAttribute(eE):document.body.setAttribute(eE,e.toString())}},[])},eO=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;eS();var i=a.useMemo(function(){return ey(o)},[o]);return a.createElement(eb,{styles:ew(i,!t,o,n?"":"!important")})},eR=!1;if("undefined"!=typeof window)try{var eP=Object.defineProperty({},"passive",{get:function(){return eR=!0,!0}});window.addEventListener("test",eP,eP),window.removeEventListener("test",eP,eP)}catch(e){eR=!1}var eD=!!eR&&{passive:!1},eN=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])},ex=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),eL(e,r)){var o=eM(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},eL=function(e,t){return"v"===e?eN(t,"overflowY"):eN(t,"overflowX")},eM=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},ek=function(e,t,n,r,o){var i,a=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),u=a*r,c=n.target,l=t.contains(c),s=!1,d=u>0,f=0,p=0;do{if(!c)break;var m=eM(e,c),v=m[0],h=m[1]-m[2]-a*v;(v||h)&&eL(e,c)&&(f+=h,p+=v);var g=c.parentNode;c=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}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(p)||!o&&-u>p)&&(s=!0),s},eT=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},eA=function(e){return[e.deltaX,e.deltaY]},ej=function(e){return e&&"current"in e?e.current:e},eI=0,eF=[];let e_=(r=function(e){var t=a.useRef([]),n=a.useRef([0,0]),r=a.useRef(),o=a.useState(eI++)[0],i=a.useState(em)[0],u=a.useRef(e);a.useEffect(function(){u.current=e},[e]),a.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(function(e,t,n){if(n||2==arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}
1)([e.lockRef.current],(e.shards||[]).map(ej),!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 c=a.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!u.current.allowPinchZoom;var o,i=eT(e),a=n.current,c="deltaX"in e?e.deltaX:a[0]-i[0],l="deltaY"in e?e.deltaY:a[1]-i[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=window.getSelection(),p=f&&f.anchorNode;if(p&&(p===s||p.contains(s)))return!1;var m=ex(d,s);if(!m)return!0;if(m?o=d:(o="v"===d?"h":"v",m=ex(d,s)),!m)return!1;if(!r.current&&"changedTouches"in e&&(c||l)&&(r.current=o),!o)return!0;var v=r.current||o;return ek(v,t,e,"h"===v?c:l,!0)},[]),l=a.useCallback(function(e){if(eF.length&&eF[eF.length-1]===i){var n="deltaY"in e?eA(e):eT(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta,r[0]===n[0]&&r[1]===n[1])})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(u.current.shards||[]).map(ej).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?c(e,o[0]):!u.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),s=a.useCallback(function(e,n,r,o){var i={name:e,delta:n,target:r,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),d=a.useCallback(function(e){n.current=eT(e),r.current=void 0},[]),f=a.useCallback(function(t){s(t.type,eA(t),t.target,c(t,e.lockRef.current))},[]),p=a.useCallback(function(t){s(t.type,eT(t),t.target,c(t,e.lockRef.current))},[]);a.useEffect(function(){return eF.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",l,eD),document.addEventListener("touchmove",l,eD),document.addEventListener("touchstart",d,eD),function(){eF=eF.filter(function(e){return e!==i}),document.removeEventListener("wheel",l,eD),document.removeEventListener("touchmove",l,eD),document.removeEventListener("touchstart",d,eD)}},[]);var m=e.removeScrollBar,v=e.inert;return a.createElement(a.Fragment,null,v?a.createElement(i,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,m?a.createElement(eO,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},ec.useMedium(r),ed);var eW=a.forwardRef(function(e,t){return a.createElement(es,ee({},e,{ref:t,sideCar:e_}))});eW.classNames=es.classNames;var eB=new WeakMap,eU=new WeakMap,eK={},e$=0,eG=function(e){return e&&(e.host||eG(e.parentNode))},eV=function(e,t,n,r){var o=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=eG(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});eK[n]||(eK[n]=new WeakMap);var i=eK[n],a=[],u=new Set,c=new Set(o),l=function(e){!e||u.has(e)||(u.add(e),l(e.parentNode))};o.forEach(l);var s=function(e){!e||c.has(e)||Array.prototype.forEach.call(e.children,function(e){if(u.has(e))s(e);else try{var t=e.getAttribute(r),o=null!==t&&"false"!==t,c=(eB.get(e)||0)+1,l=(i.get(e)||0)+1;eB.set(e,c),i.set(e,l),a.push(e),1===c&&o&&eU.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 s(t),u.clear(),e$++,function(){a.forEach(function(e){var t=eB.get(e)-1,o=i.get(e)-1;eB.set(e,t),i.set(e,o),t||(eU.has(e)||e.removeAttribute(r),eU.delete(e)),o||e.removeAttribute(n)}),--e$||(eB=new WeakMap,eB=new WeakMap,eU=new WeakMap,eK={})}},eX=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], script"))),eV(r,o,n,"aria-hidden")):function(){return null}},eY=n(82987),ez=Object.defineProperty,eH=(e,t)=>ez(e,"name",{value:t,configurable:!0}),eZ="Dialog",[eq,eJ]=(0,l.A)(eZ),[eQ,e0]=eq(eZ),e1=eH(e=>{let{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:u=!0}=e,c=a.useRef(null),l=a.useRef(null),[f,p]=(0,d.i)({prop:r,defaultProp:o??!1,onChange:i,caller:eZ}
1),[v,h]=a.useState(0),[g,y]=a.useState(0);return(0,m.jsx)(eQ,{scope:t,triggerRef:c,contentRef:l,contentId:(0,s.B)(),titleId:(0,s.B)(),descriptionId:(0,s.B)(),titlePresent:v>0,descriptionPresent:g>0,setTitleCount:h,setDescriptionCount:y,open:f,onOpenChange:p,onOpenToggle:a.useCallback(()=>p(e=>!e),[p]),modal:u,children:n})},"Dialog"),e2=a.forwardRef(eH(function(e,t){let{__scopeDialog:n,...r}=e,o=e0("DialogTrigger",n),i=(0,c.s)(t,o.triggerRef);return(0,m.jsx)(f.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.open?o.contentId:void 0,"data-state":tl(o.open),...r,ref:i,onClick:(0,u.mK)(e.onClick,o.onOpenToggle)})},"DialogTrigger")),e8="DialogPortal",[e6,e4]=eq(e8,{forceMount:void 0}),e7=eH(e=>{let{__scopeDialog:t,forceMount:n,children:r,container:o}=e,i=e0(e8,t);return(0,m.jsx)(e6,{scope:t,forceMount:n,children:a.Children.map(r,e=>(0,m.jsx)(Y.C,{present:n||i.open,children:(0,m.jsx)(X,{asChild:!0,container:o,children:e})}))})},"DialogPortal"),e3="DialogOverlay",e9=a.forwardRef(eH(function(e,t){let n=e4(e3,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=e0(e3,e.__scopeDialog);return i.modal?(0,m.jsx)(Y.C,{present:r||i.open,children:(0,m.jsx)(te,{...o,ref:t})}):null},"DialogOverlay")),e5=(0,eY.TL)("DialogOverlay.RemoveScroll"),te=a.forwardRef(eH(function(e,t){let{__scopeDialog:n,...r}=e,o=e0(e3,n),i=E(),a=(0,c.s)(t,i);return(0,m.jsx)(eW,{as:e5,allowPinchZoom:!0,shards:[o.contentRef],children:(0,m.jsx)(f.sG.div,{"data-state":tl(o.open),...r,ref:a,style:{pointerEvents:"auto",...r.style}})})},"DialogOverlayImpl")),tt="DialogContent",tn=a.forwardRef(eH(function(e,t){let n=e4(tt,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=e0(tt,e.__scopeDialog);return(0,m.jsx)(Y.C,{present:r||i.open,children:i.modal?(0,m.jsx)(tr,{...o,ref:t}):(0,m.jsx)(to,{...o,ref:t})})},"DialogContent")),tr=a.forwardRef(eH(function(e,t){let n=e0(tt,e.__scopeDialog),r=a.useRef(null),o=(0,c.s)(t,n.contentRef,r);return a.useEffect(()=>{let e=r.current;if(e)return eX(e)},[]),(0,m.jsx)(ti,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,onCloseAutoFocus:(0,u.mK)(e.onCloseAutoFocus,e=>{e.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:(0,u.mK)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,u.mK)(e.onFocusOutside,e=>e.preventDefault())})},"DialogContentModal")),to=a.forwardRef(eH(function(e,t){let n=e0(tt,e.__scopeDialog),r=a.useRef(!1),o=a.useRef(!1);return(0,m.jsx)(ti,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));let i=t.target;n.triggerRef.current?.contains(i)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})},"DialogContentNonModal")),ti=a.forwardRef(eH(function(e,t){let{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,...a}=e,u=e0(tt,n);return J(),(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(M,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i,children:(0,m.jsx)(b,{role:"dialog",id:u.contentId,"aria-describedby":u.descriptionPresent?u.descriptionId:void 0,"aria-labelledby":u.titlePresent?u.titleId:void 0,"data-state":tl(u.open),...a,ref:t,deferPointerDownOutside:!0,onDismiss:()=>u.onOpenChange(!1)})})})},"DialogContentImpl")),ta=a.forwardRef(eH(function(e,t){let{__scopeDialog:n,...r}=e,o=e0("DialogTitle",n),{setTitleCount:i}=o;return(0,G.N)(()=>(i(e=>e+1),()=>i(e=>e-1)),[i]),(0,m.jsx)(f.sG.h2,{id:o.titleId,...r,ref:t})},"DialogTitle")),tu=a.forwardRef(eH(function(e,t){let{__scopeDialog:n,...r}=e,o=e0("DialogDescription",n),{setDescriptionCount:i}=o;return(0,G.N)(()=>(i(e=>e+1),()=>i(e=>e-1)),[i]),(0,m.jsx)(f.sG.p,{id:o.descriptionId,...r,ref:t})},"DialogDescription")),tc=a.forwardRef(eH(function(e,t){let{__scopeDialog:n,...r}=e,o=e0("DialogClose",n);return(0,m.jsx)(f.sG.button,{type:"button",...r,ref:t,onClick:(0,u.mK)(e.onClick,()=>o.onOpenChange(!1))})},"DialogClose"));function tl(e){return e?"open":"closed"}eH(tl,"getState")},66326:(e,t,n)=>{n.d(t,{hO:()=>l,sG:()=>c});var r=n(14232),o=n(98477),i=n(82987),a=n(37876),u=Object.defineProperty,c=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>
1{let n=(0,i.TL)(`Primitive.${t}`),o=r.forwardRef((e,r)=>{let{asChild:o,...i}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,a.jsx)(o?n:t,{...i,ref:r})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function l(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}u(l,"name",{value:"dispatchDiscreteCustomEvent",configurable:!0})},70294:(e,t,n)=>{n.d(t,{B:()=>l});var r,o=n(14232),i=n(81285),a=Object.defineProperty,u=(r||(r=n.t(o,2)))[" useId ".trim().toString()]||(()=>void 0),c=0;function l(e){let[t,n]=o.useState(u());return(0,i.N)(()=>{e||n(e=>e??String(c++))},[e]),e||(t?`radix-${t}`:"")}a(l,"name",{value:"useId",configurable:!0})},81285:(e,t,n)=>{n.d(t,{N:()=>o});var r=n(14232),o=globalThis?.document?r.useLayoutEffect:()=>{}},82987:(e,t,n)=>{n.d(t,{DX:()=>l,TL:()=>c});var r,o=n(14232),i=n(10714),a=Object.defineProperty,u=(e,t)=>a(e,"name",{value:t,configurable:!0});function c(e){let t=o.forwardRef((t,n)=>{let{children:r,...a}=t,u=null,c=!1,l=[];h(r)&&"function"==typeof E&&(r=E(r._payload)),o.Children.forEach(r,e=>{if(m(e)){c=!0;let t="child"in e.props?e.props.child:e.props.children;h(t)&&"function"==typeof E&&(t=E(t._payload)),u=d(e,t),l.push(u?.props?.children)}else l.push(e)}),u?u=o.cloneElement(u,void 0,l):!c&&1===o.Children.count(r)&&o.isValidElement(r)&&(u=r);let s=u?p(u):void 0,v=(0,i.s)(n,s);if(!u){if(r||0===r)throw Error(c?b(e):y(e));return r}let g=f(a,u.props??{});return u.type!==o.Fragment&&(g.ref=n?v:s),o.cloneElement(u,g)});return t.displayName=`${e}.Slot`,t}u(c,"createSlot");var l=c("Slot"),s=Symbol.for("radix.slottable");u(function(e){let t=u(e=>"child"in e?e.children(e.child):e.children,"Slottable");return t.displayName=`${e}.Slottable`,t.__radixId=s,t},"createSlottable");var d=u((e,t)=>{if("child"in e.props){let t=e.props.child;return o.isValidElement(t)?o.cloneElement(t,void 0,e.props.children(t.props.children)):null}return o.isValidElement(t)?t:null},"getSlottableElementFromSlottable");function f(e,t){let n={...t};for(let r in t){let o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function p(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(n=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}function m(e){return o.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===s}u(f,"mergeProps"),u(p,"getElementRef"),u(m,"isSlottable");var v=Symbol.for("react.lazy");function h(e){return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===v&&"_payload"in e&&g(e._payload)}function g(e){return"object"==typeof e&&null!==e&&"then"in e}u(h,"isLazyComponent"),u(g,"isPromiseLike");var y=u(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),b=u(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),E=(r||(r=n.t(o,2)))[" use ".trim().toString()]},91844:(e,t,n)=>{n.d(t,{A:()=>u});var r=n(14232),o=n(37876),i=Object.defineProperty,a=(e,t)=>i(e,"name",{value:t,configurable:!0});function u(e,t=[]){let n=[];function i(t,i){let u=r.createContext(i);u.displayName=t+"Context";let c=n.length;n=[...n,i];let l=a(t=>{let{scope:n,children:i,...a}=t,l=n?.[e]?.[c]||u,s=r.useMemo(()=>a,Object.values(a));return(0,o.jsx)(l.Provider,{value:s,children:i})},"Provider");function s(n,o,a={}){let{optional:l=!1}=a,d=o?.[e]?.[c]||u,f=r.useContext(d);if(f)return f;if(void 0!==i)return i;if(!l)throw Error(`\`${n}\` must be used within \`${t}\``)}return l.displayName=t+"Provider",a(s,"useContext"),[l,s]}a(i,"createContext");let l=a(()=>{let t=n.map(e=>r.createContext(e));return a(function(n){let o=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:o}}),[n,o])},"useScope")},"createScope");return l.scopeName=e,[i,c(l,...t)]}function c(...e){let t=e[0];if(1===e.length)return t;let n=a(()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return a(function(e){let o=n.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])},"useComposedScopes")},"createScope");return n.scopeName=t.scopeName,n}a(function(e,t){let n=r.createContext(t);n.displayName=e+"Context";let i=a(e=>{let{children:t,...i}=e,a=r.useMemo(()=>i,Object.values(i));return(0,o.jsx)(n.Provider,{value:a,children:t})},"Provider");function u(o,i={}){let{optional:a=!1}=i,c=r.useContext(n);if(c)return c;if(void 0!==t)return t;if(!a)throw Error(`\`${o}\` must be used within \`${e}\``)}return i.displayName=e+"Provider",a(u,"useContext"),[i,u]},"createContext"),a(u,"createContextScope"),a(c,"composeContextScopes")},95601:(e,t,n)=>{n.d(t,{i:()=>p});var r=n(14232),o=n.t(r,2),i=n(81285),a=Object.defineProperty,u=o[" useEffectEvent ".trim().toString()],c=o[" useInsertionEffect ".trim().toString()];function l(e){if("function"==typeof u)return u(e);let t=r.useRef(()=>{throw Error("Cannot call an event handler while rendering.")});return"function"==typeof c?c(()=>{t.current=e}):(0,i.N)(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}a(l,"name",{value:"useEffectEvent",configurable:!0});var s=Object.defineProperty,d=(e,t)=>s(e,"name",{value:t,configurable:!0}),f=o[" useInsertionEffect ".trim().toString()]||i.N;function p({prop:e,defaultProp:t,onChange:n=d(()=>{},"onChange"),caller:o}){let[i,a,u]=m({defaultProp:t,onChange:n}),c=void 0!==e,l=c?e:i;return[l,r.useCallback(t=>{if(c){let n=v(t)?t(e):t;n!==e&&u.current?.(n)}else a(t)},[c,e,a,u])]}function m({defaultProp:e,onChange:t}){let[n,o]=r.useState(e),i=r.useRef(n),a=r.useRef(t);return f(()=>{a.current=t},[t]),r.useEffect(()=>{i.current!==n&&(a.current?.(n),i.current=n)},[n,i]),[n,o,a]}function v(e){return"function"==typeof e}d(p,"useControllableState"),d(m,"useUncontrolledState"),d(v,"isFunction");var h=Symbol("RADIX:SYNC_STATE");d(function(e,t,n,o){let{prop:i,defaultProp:a,onChange:u,caller:c}=t,s=void 0!==i,d=l(u),f=[{...n,state:a}];o&&f.push(o);let[p,m]=r.useReducer((t,n)=>{if(n.type===h)return{...t,state:n.state};let r=e(t,n);return s&&!Object.is(r.state,t.state)&&d(r.state),r},...f),v=p.state,g=r.useRef(v);r.useEffect(()=>{g.current!==v&&(g.current=v,s||d(v))},[v,g,s]);let y=r.useMemo(()=>void 0!==i?{...p,state:i}:p,[p,i]);return r.useEffect(()=>{s&&!Object.is(i,p.state)&&m({type:h,state:i})},[i,p.state,s]),[y,m]},"useControllableStateReducer")},96822:(e,t,n)=>{n.d(t,{C:()=>c});var r=n(14232),o=n(81285),i=Object.defineProperty,a=(e,t)=>i(e,"name",{value:t,configurable:!0});function u(e,t){return r.useReducer((e,n)=>t[e][n]??e,e)}a(u,"useStateMachine");var c=a(e=>{let{present:t,children:n}=e,o=l(t),i="function"==typeof n?n({present:o.isPresent}):r.Children.only(n),a=d(o.ref,p(i));return"function"==typeof n||o.isPresent?r.cloneElement(i,{ref:a}):null},"Presence");function l(e){let[t,n]=r.useState(),i=r.useRef(null),c=r.useRef(e),l=r.useRef("none"),s=r.useRef(void 0),[d,p]=u(e?"mounted":"unmounted",{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return r.useEffect(()=>{"mounted"===d?(l.current=s.current??f(i.current),s.current=void 0):l.current="none"},[d]),(0,o.N)(()=>{let t=i.current,n=c.current;if(n!==e){let r=l.current,o=f(t);e?(s.current=o,p("MOUNT")):"none"===o||t?.display==="none"?p("UNMOUNT"):n&&r!==o?p("ANIMATION_OUT"):p("UNMOUNT"),c.current=e}},[e,p]),(0,o.N)(()=>
1{if(t){let e,n=t.ownerDocument.defaultView??window,r=a(r=>{let o=f(i.current).includes(CSS.escape(r.animationName));if(r.target===t&&o&&(p("ANIMATION_END"),!c.current)){let r=t.style.animationFillMode;t.style.animationFillMode="forwards",e=n.setTimeout(()=>{"forwards"===t.style.animationFillMode&&(t.style.animationFillMode=r)})}},"handleAnimationEnd"),o=a(e=>{e.target===t&&(l.current=f(i.current))},"handleAnimationStart");return t.addEventListener("animationstart",o),t.addEventListener("animationcancel",r),t.addEventListener("animationend",r),()=>{n.clearTimeout(e),t.removeEventListener("animationstart",o),t.removeEventListener("animationcancel",r),t.removeEventListener("animationend",r)}}p("ANIMATION_END")},[t,p]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:r.useCallback(e=>{if(e){let t=getComputedStyle(e);i.current=t,s.current=f(t)}else i.current=null;n(e)},[])}}function s(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function d(...e){let t=r.useRef(e);return t.current=e,r.useCallback(e=>{let n=t.current,r=!1,o=n.map(t=>{let n=s(t,e);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let e=0;e<o.length;e++){let t=o[e];"function"==typeof t?t():s(n[e],null)}}},[])}function f(e){return e?.animationName||"none"}function p(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(n=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}a(l,"usePresence"),a(s,"setRef"),a(d,"useStableComposedRefs"),a(f,"getAnimationName"),a(p,"getElementRef")},97842:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(79065).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])}}]);
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.