PageSourceSearch

https://app.formo.so/_next/static/immutable/chunks/1cj55ssrlt7g3.js

js formo.so collected 2026-10-04 00:25:52 UTC 55,630 bytes, 4 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="c61497ff-f83a-8cfe-f80c-eadad44168ea")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,551150,e=>{"use strict";e.s(["composeEventHandlers",0,function(e,t){let{checkForDefaultPrevented:n=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}])},94881,185450,668815,e=>{"use strict";var t=e.i(854118),n=e.i(286572);e.s(["createContext",0,function(e,r){let o=t.createContext(r);function i(e){let{children:r,...i}=e,a=t.useMemo(()=>i,Object.values(i));return(0,n.jsx)(o.Provider,{value:a,children:r})}return i.displayName=e+"Provider",[i,function(n){let i=t.useContext(o);if(i)return i;if(void 0!==r)return r;throw Error(`\`${n}\` must be used within \`${e}\``)}]},"createContextScope",0,function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=[],i=()=>{let n=o.map(e=>t.createContext(e));return function(r){let o=r?.[e]||n;return t.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])}};return i.scopeName=e,[function(r,i){let a=t.createContext(i),l=o.length;function u(r){let{scope:o,children:i,...u}=r,s=o?.[e][l]||a,c=t.useMemo(()=>u,Object.values(u));return(0,n.jsx)(s.Provider,{value:c,children:i})}return o=[...o,i],u.displayName=r+"Provider",[u,function(n,o){let u=o?.[e][l]||a,s=t.useContext(u);if(s)return s;if(void 0!==i)return i;throw Error(`\`${n}\` must be used within \`${r}\``)}]},function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];let o=n[0];if(1===n.length)return o;let i=()=>{let e=n.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(n){let r=e.reduce((e,t)=>{let{useScope:r,scopeName:o}=t,i=r(n)[`__scope${o}`];return{...e,...i}},{});return t.useMemo(()=>({[`__scope${o.scopeName}`]:r}),[r])}};return i.scopeName=o.scopeName,i}(i,...r)]}],94881);var r=e.i(130659),o=t["useId".toString()]||(()=>void 0),i=0;e.s(["useId",0,function(e){let[n,a]=t.useState(o());return(0,r.useLayoutEffect)(()=>{e||a(e=>e??String(i++))},[e]),e||(n?`radix-${n}`:"")}],185450);var a=e.i(403413),l=e.i(991305),u=e=>{var n;let o,i,{present:u,children:c}=e,f=function(e){var n,o;let[i,l]=t.useState(),u=t.useRef({}),c=t.useRef(e),f=t.useRef("none"),[d,p]=(n=e?"mounted":"unmounted",o={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},t.useReducer((e,t)=>o[e][t]??e,n));return t.useEffect(()=>{let e=s(u.current);f.current="mounted"===d?e:"none"},[d]),(0,r.useLayoutEffect)(()=>{let t=u.current,n=c.current;if(n!==e){let r=f.current,o=s(t);e?p("MOUNT"):"none"===o||t?.display==="none"?p("UNMOUNT"):n&&r!==o?p("ANIMATION_OUT"):p("UNMOUNT"),c.current=e}},[e,p]),(0,r.useLayoutEffect)(()=>{if(i){let e=e=>{let t=s(u.current).includes(e.animationName);e.target===i&&t&&a.flushSync(()=>p("ANIMATION_END"))},t=e=>{e.target===i&&(f.current=s(u.current))};return i.addEventListener("animationstart",t),i.addEventListener("animationcancel",e),i.addEventListener("animationend",e),()=>{i.removeEventListener("animationstart",t),i.removeEventListener("animationcancel",e),i.removeEventListener("animationend",e)}}p("ANIMATION_END")},[i,p]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:t.useCallback(e=>{e&&(u.current=getComputedStyle(e)),l(e)},[])}}(u),d="function"==typeof c?c({present:f.isPresent}):t.Children.only(c),p=(0,l.useComposedRefs)(f.ref,(n=d,(i=(o=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in o&&o.isReactWarning)?n.ref:(i=(o=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in o&&o.isReactWarning)?n.props.ref:n.props.ref||n.ref));return"function"==typeof c||f.isPresent?t.cloneElement(d,{ref:p}):null};function s(e){return e?.animationName||"none"}u.displayName="Presence",e.s(["Presence",0,u],668815)},868235,e=>{"use strict";var t,n=e.i(854118),r=e.i(551150),o=e.i(929754),i=e.i(991305),a=e.i(559641),l=e.i(286572),u="dismissableLayer.update",s=n.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),c=n.forwardRef((e,c)=>{let{disableOutsidePointerEvents:p=!1,onEscapeKeyDown:m,onPointerDownOutside:h,onFocusOutside:v,onInteractOutside:g,onDismiss:y,...w}=e,b=n.useContext(s),[x,E]=n.useState(null),C=x?.ownerDocument??globalThis?.document,[,R]=n.useState({}),S=(0,i.useComposedRefs)(c,e=>E(e)),P=Array.from(b.layers),[A]=[...b.layersWithOutsidePointerEventsDisabled].slice(-1),L=P.indexOf(A),T=x?P.indexOf(x):-1,N=b.layersWithOutsidePointerEventsDisabled.size>0,O=T>=L,k=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:globalThis?.document,r=(0,a.useCallbackRef)(e),o=n.useRef(!1),i=n.useRef(()=>{});return n.useEffect(()=>{let e=e=>
2{if(e.target&&!o.current){let n=function(){d("dismissableLayer.pointerDownOutside",r,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=n,t.addEventListener("click",i.current,{once:!0})):n()}else t.removeEventListener("click",i.current);o.current=!1},n=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(n),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,r]),{onPointerDownCapture:()=>o.current=!0}}(e=>{let t=e.target,n=[...b.branches].some(e=>e.contains(t));O&&!n&&(h?.(e),g?.(e),e.defaultPrevented||y?.())},C),M=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:globalThis?.document,r=(0,a.useCallbackRef)(e),o=n.useRef(!1);return n.useEffect(()=>{let e=e=>{e.target&&!o.current&&d("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}(e=>{let t=e.target;![...b.branches].some(e=>e.contains(t))&&(v?.(e),g?.(e),e.defaultPrevented||y?.())},C);return!function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:globalThis?.document,r=(0,a.useCallbackRef)(e);n.useEffect(()=>{let e=e=>{"Escape"===e.key&&r(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[r,t])}(e=>{T===b.layers.size-1&&(m?.(e),!e.defaultPrevented&&y&&(e.preventDefault(),y()))},C),n.useEffect(()=>{if(x)return p&&(0===b.layersWithOutsidePointerEventsDisabled.size&&(t=C.body.style.pointerEvents,C.body.style.pointerEvents="none"),b.layersWithOutsidePointerEventsDisabled.add(x)),b.layers.add(x),f(),()=>{p&&1===b.layersWithOutsidePointerEventsDisabled.size&&(C.body.style.pointerEvents=t)}},[x,C,p,b]),n.useEffect(()=>()=>{x&&(b.layers.delete(x),b.layersWithOutsidePointerEventsDisabled.delete(x),f())},[x,b]),n.useEffect(()=>{let e=()=>R({});return document.addEventListener(u,e),()=>document.removeEventListener(u,e)},[]),(0,l.jsx)(o.Primitive.div,{...w,ref:S,style:{pointerEvents:N?O?"auto":"none":void 0,...e.style},onFocusCapture:(0,r.composeEventHandlers)(e.onFocusCapture,M.onFocusCapture),onBlurCapture:(0,r.composeEventHandlers)(e.onBlurCapture,M.onBlurCapture),onPointerDownCapture:(0,r.composeEventHandlers)(e.onPointerDownCapture,k.onPointerDownCapture)})});function f(){let e=new CustomEvent(u);document.dispatchEvent(e)}function d(e,t,n,r){let{discrete:i}=r,a=n.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&a.addEventListener(e,t,{once:!0}),i?(0,o.dispatchDiscreteCustomEvent)(a,l):a.dispatchEvent(l)}c.displayName="DismissableLayer",n.forwardRef((e,t)=>{let r=n.useContext(s),a=n.useRef(null),u=(0,i.useComposedRefs)(t,a);return n.useEffect(()=>{let e=a.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,l.jsx)(o.Primitive.div,{...e,ref:u})}).displayName="DismissableLayerBranch",e.s(["DismissableLayer",0,c],868235)},52574,e=>{"use strict";var t=e.i(854118),n=0;function r(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}e.s(["useFocusGuards",0,function(){t.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??r()),document.body.insertAdjacentElement("beforeend",e[1]??r()),n++,()=>{1===n&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),n--}},[])}])},759283,e=>{"use strict";let t;var n=e.i(854118),r=e.i(991305),o=e.i(929754),i=e.i(559641),a=e.i(286572),l="focusScope.autoFocusOnMount",u="focusScope.autoFocusOnUnmount",s={bubbles:!1,cancelable:!0},c=n.forwardRef((e,t)=>{let{loop:c=!1,trapped:h=!1,onMountAutoFocus:v,onUnmountAutoFocus:g,...y}=e,[w,b]=n.useState(null),x=(0,i.useCallbackRef)(v),E=(0,i.useCallbackRef)(g),C=n.useRef(null),R=(0,r.useComposedRefs)(t,e=>b(e)),S=n.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;n.useEffect(()=>{if(h){let e=function(e){if(S.paused||!w)return;let t=e.target;w.contains(t)?C.current=t:p(C.current,{select:!0})},t=function(e){if(S.paused||!w)return;let t=e.relatedTarget;null!==t&&(w.contains(t)||p(C.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&p(w)});return w&&n.observe(w,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[h,w,S.paused]),n.useEffect(()=>{if(w){m.add(S);let e=document.activeElement;if(!w.contains(e)){let t=new CustomEvent(l,s);w.addEventListener(l,x),w.dispatchEvent(t),t.defaultPrevented||(function(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=document.activeElement;for(let r of e)if(p(r,{select:t}),document.activeElement!==n)return}(f(w).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&p(w))}return()=>{w.removeEventListener(l,x),setTimeout(()=>{let t=new CustomEvent(u,s);w.addEventListener(u,E),w.dispatchEvent(t),t.defaultPrevented||p(e??document.body,{select:!0}),w.removeEventListener(u,E),m.remove(S)},0)}}},[w,x,E,S]);let P=n.useCallback(e=>{if(!c&&!h||S.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){var r;
2let t,o=e.currentTarget,[i,a]=[d(t=f(r=o),r),d(t.reverse(),r)];i&&a?e.shiftKey||n!==a?e.shiftKey&&n===i&&(e.preventDefault(),c&&p(a,{select:!0})):(e.preventDefault(),c&&p(i,{select:!0})):n===o&&e.preventDefault()}},[c,h,S.paused]);return(0,a.jsx)(o.Primitive.div,{tabIndex:-1,...y,ref:R,onKeyDown:P})});function f(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode: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}});for(;n.nextNode();)t.push(n.currentNode);return t}function d(e,t){for(let n of e)if(!function(e,t){let{upTo:n}=t;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===n||e!==n);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function p(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&e.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}c.displayName="FocusScope";var m=(t=[],{add(e){let n=t[0];e!==n&&n?.pause(),(t=h(t,e)).unshift(e)},remove(e){t=h(t,e),t[0]?.resume()}});function h(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}e.s(["FocusScope",0,c])},805626,e=>{"use strict";var t=e.i(854118),n=e.i(551150),r=e.i(991305),o=e.i(94881),i=e.i(868235),a=e.i(52574),l=e.i(759283),u=e.i(185450),s=e.i(784216),c=e.i(312459),f=e.i(668815),d=e.i(929754),p=e.i(857814),m=e.i(600204),h=e.i(645751),v=e.i(924521),g=e.i(286572),y="Popover",[w,b]=(0,o.createContextScope)(y,[s.createPopperScope]),x=(0,s.createPopperScope)(),[E,C]=w(y),R=e=>{let{__scopePopover:n,children:r,open:o,defaultOpen:i,onOpenChange:a,modal:l=!1}=e,c=x(n),f=t.useRef(null),[d,p]=t.useState(!1),[h=!1,v]=(0,m.useControllableState)({prop:o,defaultProp:i,onChange:a});return(0,g.jsx)(s.Root,{...c,children:(0,g.jsx)(E,{scope:n,contentId:(0,u.useId)(),triggerRef:f,open:h,onOpenChange:v,onOpenToggle:t.useCallback(()=>v(e=>!e),[v]),hasCustomAnchor:d,onCustomAnchorAdd:t.useCallback(()=>p(!0),[]),onCustomAnchorRemove:t.useCallback(()=>p(!1),[]),modal:l,children:r})})};R.displayName=y;var S="PopoverAnchor",P=t.forwardRef((e,n)=>{let{__scopePopover:r,...o}=e,i=C(S,r),a=x(r),{onCustomAnchorAdd:l,onCustomAnchorRemove:u}=i;return t.useEffect(()=>(l(),()=>u()),[l,u]),(0,g.jsx)(s.Anchor,{...a,...o,ref:n})});P.displayName=S;var A="PopoverTrigger",L=t.forwardRef((e,t)=>{let{__scopePopover:o,...i}=e,a=C(A,o),l=x(o),u=(0,r.useComposedRefs)(t,a.triggerRef),c=(0,g.jsx)(d.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":H(a.open),...i,ref:u,onClick:(0,n.composeEventHandlers)(e.onClick,a.onOpenToggle)});return a.hasCustomAnchor?c:(0,g.jsx)(s.Anchor,{asChild:!0,...l,children:c})});L.displayName=A;var T="PopoverPortal",[N,O]=w(T,{forceMount:void 0}),k=e=>{let{__scopePopover:t,forceMount:n,children:r,container:o}=e,i=C(T,t);return(0,g.jsx)(N,{scope:t,forceMount:n,children:(0,g.jsx)(f.Presence,{present:n||i.open,children:(0,g.jsx)(c.Portal,{asChild:!0,container:o,children:r})})})};k.displayName=T;var M="PopoverContent",D=t.forwardRef((e,t)=>{let n=O(M,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=C(M,e.__scopePopover);return(0,g.jsx)(f.Presence,{present:r||i.open,children:i.modal?(0,g.jsx)(_,{...o,ref:t}):(0,g.jsx)(F,{...o,ref:t})})});D.displayName=M;var _=t.forwardRef((e,o)=>{let i=C(M,e.__scopePopover),a=t.useRef(null),l=(0,r.useComposedRefs)(o,a),u=t.useRef(!1);return t.useEffect(()=>{let e=a.current;if(e)return(0,h.hideOthers)(e)},[]),(0,g.jsx)(v.RemoveScroll,{as:p.Slot,allowPinchZoom:!0,children:(0,g.jsx)(j,{...e,ref:l,trapFocus:i.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,n.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),u.current||i.triggerRef.current?.focus()}),onPointerDownOutside:(0,n.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;u.current=2===t.button||n},{checkForDefaultPrevented:!1}
2),onFocusOutside:(0,n.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),F=t.forwardRef((e,n)=>{let r=C(M,e.__scopePopover),o=t.useRef(!1),i=t.useRef(!1);return(0,g.jsx)(j,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(o.current||r.triggerRef.current?.focus(),t.preventDefault()),o.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(o.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));let n=t.target;r.triggerRef.current?.contains(n)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),j=t.forwardRef((e,t)=>{let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:u,disableOutsidePointerEvents:c,onEscapeKeyDown:f,onPointerDownOutside:d,onFocusOutside:p,onInteractOutside:m,...h}=e,v=C(M,n),y=x(n);return(0,a.useFocusGuards)(),(0,g.jsx)(l.FocusScope,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:u,children:(0,g.jsx)(i.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:c,onInteractOutside:m,onEscapeKeyDown:f,onPointerDownOutside:d,onFocusOutside:p,onDismiss:()=>v.onOpenChange(!1),children:(0,g.jsx)(s.Content,{"data-state":H(v.open),role:"dialog",id:v.contentId,...y,...h,ref:t,style:{...h.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),W="PopoverClose",I=t.forwardRef((e,t)=>{let{__scopePopover:r,...o}=e,i=C(W,r);return(0,g.jsx)(d.Primitive.button,{type:"button",...o,ref:t,onClick:(0,n.composeEventHandlers)(e.onClick,()=>i.onOpenChange(!1))})});function H(e){return e?"open":"closed"}I.displayName=W,t.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,o=x(n);return(0,g.jsx)(s.Arrow,{...o,...r,ref:t})}).displayName="PopoverArrow",e.s(["Anchor",0,P,"Close",0,I,"Content",0,D,"PopoverClose",0,I,"Portal",0,k,"Root",0,R,"Trigger",0,L])},784216,e=>{"use strict";var t=e.i(854118);let n=["top","right","bottom","left"],r=Math.min,o=Math.max,i=Math.round,a=Math.floor,l=e=>({x:e,y:e}),u={left:"right",right:"left",bottom:"top",top:"bottom"},s={start:"end",end:"start"};function c(e,t){return"function"==typeof e?e(t):e}function f(e){return e.split("-")[0]}function d(e){return e.split("-")[1]}function p(e){return"x"===e?"y":"x"}function m(e){return"y"===e?"height":"width"}function h(e){return["top","bottom"].includes(f(e))?"y":"x"}function v(e){return e.replace(/start|end/g,e=>s[e])}function g(e){return e.replace(/left|right|bottom|top/g,e=>u[e])}function y(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function w(e){let{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function b(e,t,n){let r,{reference:o,floating:i}=e,a=h(t),l=p(h(t)),u=m(l),s=f(t),c="y"===a,v=o.x+o.width/2-i.width/2,g=o.y+o.height/2-i.height/2,y=o[u]/2-i[u]/2;switch(s){case"top":r={x:v,y:o.y-i.height};break;case"bottom":r={x:v,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:g};break;case"left":r={x:o.x-i.width,y:g};break;default:r={x:o.x,y:o.y}}switch(d(t)){case"start":r[l]-=y*(n&&c?-1:1);break;case"end":r[l]+=y*(n&&c?-1:1)}return r}let x=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,l=i.filter(Boolean),u=await (null==a.isRTL?void 0:a.isRTL(t)),s=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:f}=b(s,r,u),d=r,p={},m=0;for(let n=0;n<l.length;n++){let{name:i,fn:h}=l[n],{x:v,y:g,data:y,reset:w}=await h({x:c,y:f,initialPlacement:r,placement:d,strategy:o,middlewareData:p,rects:s,platform:a,elements:{reference:e,floating:t}});c=null!=v?v:c,f=null!=g?g:f,p={...p,[i]:{...p[i],...y}},w&&m<=50&&(m++,"object"==typeof w&&(w.placement&&(d=w.placement),w.rects&&(s=!0===w.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):w.rects),{x:c,y:f}=b(s,d,u)),n=-1)}return{x:c,y:f,placement:d,strategy:o,middlewareData:p}};async function E(e,t){var n;void 0===t&&(t={});let{x:r,y:o,platform:i,rects:a,elements:l,strategy:u}=e,{boundary:s="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:p=!1,padding:m=0}=c(t,e),h=y(m),v=l[p?"floating"===d?"reference":"floating":d],g=w(await i.getClippingRect
2({element:null==(n=await (null==i.isElement?void 0:i.isElement(v)))||n?v:v.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:s,rootBoundary:f,strategy:u})),b="floating"===d?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,x=await (null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),E=await (null==i.isElement?void 0:i.isElement(x))&&await (null==i.getScale?void 0:i.getScale(x))||{x:1,y:1},C=w(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:b,offsetParent:x,strategy:u}):b);return{top:(g.top-C.top+h.top)/E.y,bottom:(C.bottom-g.bottom+h.bottom)/E.y,left:(g.left-C.left+h.left)/E.x,right:(C.right-g.right+h.right)/E.x}}function C(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function R(e){return n.some(t=>e[t]>=0)}async function S(e,t){let{placement:n,platform:r,elements:o}=e,i=await (null==r.isRTL?void 0:r.isRTL(o.floating)),a=f(n),l=d(n),u="y"===h(n),s=["left","top"].includes(a)?-1:1,p=i&&u?-1:1,m=c(t,e),{mainAxis:v,crossAxis:g,alignmentAxis:y}="number"==typeof m?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...m};return l&&"number"==typeof y&&(g="end"===l?-1*y:y),u?{x:g*p,y:v*s}:{x:v*s,y:g*p}}function P(e){return T(e)?(e.nodeName||"").toLowerCase():"#document"}function A(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function L(e){var t;return null==(t=(T(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function T(e){return e instanceof Node||e instanceof A(e).Node}function N(e){return e instanceof Element||e instanceof A(e).Element}function O(e){return e instanceof HTMLElement||e instanceof A(e).HTMLElement}function k(e){return!("u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof A(e).ShadowRoot)}function M(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=W(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function D(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(e){return!1}})}function _(e){let t=F(),n=N(e)?W(e):e;return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some(e=>(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function F(){return!("u"<typeof CSS)&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function j(e){return["html","body","#document"].includes(P(e))}function W(e){return A(e).getComputedStyle(e)}function I(e){return N(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function H(e){if("html"===P(e))return e;let t=e.assignedSlot||e.parentNode||k(e)&&e.host||L(e);return k(t)?t.host:t}function B(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let o=function e(t){let n=H(t);return j(n)?t.ownerDocument?t.ownerDocument.body:t.body:O(n)&&M(n)?n:e(n)}(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=A(o);if(i){let e=z(a);return t.concat(a,a.visualViewport||[],M(o)?o:[],e&&n?B(e):[])}return t.concat(o,B(o,[],n))}function z(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function $(e){let t=W(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=O(e),a=o?e.offsetWidth:n,l=o?e.offsetHeight:r,u=i(n)!==a||i(r)!==l;return u&&(n=a,r=l),{width:n,height:r,$:u}}function U(e){return N(e)?e:e.contextElement}function Y(e){let t=U(e);if(!O(t))return l(1);let n=t.getBoundingClientRect(),{width:r,height:o,$:a}=$(t),u=(a?i(n.width):n.width)/r,s=(a?i(n.height):n.height)/o;return u&&Number.isFinite(u)||(u=1),s&&Number.isFinite(s)||(s=1),{x:u,y:s}}let K=l(0);function V(e){let t=A(e);return F()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:K}function X(e,t,n,r){var o;void 0===t&&(t=!1),void 0===n&&(n=!1);let i=e.getBoundingClientRect(),a=U(e),u=l(1);t&&(r?N(r)&&(u=Y(r)):u=Y(e));let s=(void 0===(o=n)&&(o=!1),r&&(!o||r===A(a))&&o)?V(a):l(0),c=(i.left+s.x)/u.x,f=(i.top+s.y)/u.y,d=i.width/u.x,p=i.height/u.y;if(a){let e=A(a),t=r&&N(r)?A(r):r,n=e,o=z(n);for(;o&&r&&t!==n;){let e=Y(o),t=o.getBoundingClientRect(),r=W(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.to
2p+(o.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,f*=e.y,d*=e.x,p*=e.y,c+=i,f+=a,o=z(n=A(o))}}return w({width:d,height:p,x:c,y:f})}function q(e){return X(L(e)).left+I(e).scrollLeft}function Z(e,t,n){var r;let i;if("viewport"===t)i=function(e,t){let n=A(e),r=L(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,l=0,u=0;if(o){i=o.width,a=o.height;let e=F();(!e||e&&"fixed"===t)&&(l=o.offsetLeft,u=o.offsetTop)}return{width:i,height:a,x:l,y:u}}(e,n);else if("document"===t){let t,n,a,l,u,s,c;r=L(e),t=L(r),n=I(r),a=r.ownerDocument.body,l=o(t.scrollWidth,t.clientWidth,a.scrollWidth,a.clientWidth),u=o(t.scrollHeight,t.clientHeight,a.scrollHeight,a.clientHeight),s=-n.scrollLeft+q(r),c=-n.scrollTop,"rtl"===W(a).direction&&(s+=o(t.clientWidth,a.clientWidth)-l),i={width:l,height:u,x:s,y:c}}else if(N(t)){let e,r,o,a,u,s;r=(e=X(t,!0,"fixed"===n)).top+t.clientTop,o=e.left+t.clientLeft,a=O(t)?Y(t):l(1),u=t.clientWidth*a.x,s=t.clientHeight*a.y,i={width:u,height:s,x:o*a.x,y:r*a.y}}else{let n=V(e);i={...t,x:t.x-n.x,y:t.y-n.y}}return w(i)}function G(e){return"static"===W(e).position}function J(e,t){return O(e)&&"fixed"!==W(e).position?t?t(e):e.offsetParent:null}function Q(e,t){let n=A(e);if(D(e))return n;if(!O(e)){let t=H(e);for(;t&&!j(t);){if(N(t)&&!G(t))return t;t=H(t)}return n}let r=J(e,t);for(;r&&["table","td","th"].includes(P(r))&&G(r);)r=J(r,t);return r&&j(r)&&G(r)&&!_(r)?n:r||function(e){let t=H(e);for(;O(t)&&!j(t);){if(_(t))return t;if(D(t))break;t=H(t)}return null}(e)||n}let ee=async function(e){let t=this.getOffsetParent||Q,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=O(t),o=L(t),i="fixed"===n,a=X(e,!0,i,t),u={scrollLeft:0,scrollTop:0},s=l(0);if(r||!r&&!i)if(("body"!==P(t)||M(o))&&(u=I(t)),r){let e=X(t,!0,i,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else o&&(s.x=q(o));return{x:a.left+u.scrollLeft-s.x,y:a.top+u.scrollTop-s.y,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},et={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e,i="fixed"===o,a=L(r),u=!!t&&D(t.floating);if(r===a||u&&i)return n;let s={scrollLeft:0,scrollTop:0},c=l(1),f=l(0),d=O(r);if((d||!d&&!i)&&(("body"!==P(r)||M(a))&&(s=I(r)),O(r))){let e=X(r);c=Y(r),f.x=e.x+r.clientLeft,f.y=e.y+r.clientTop}return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-s.scrollLeft*c.x+f.x,y:n.y*c.y-s.scrollTop*c.y+f.y}},getDocumentElement:L,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:i,strategy:a}=e,l=[..."clippingAncestors"===n?D(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=B(e,[],!1).filter(e=>N(e)&&"body"!==P(e)),o=null,i="fixed"===W(e).position,a=i?H(e):e;for(;N(a)&&!j(a);){let t=W(a),n=_(a);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&!!o&&["absolute","fixed"].includes(o.position)||M(a)&&!n&&function e(t,n){let r=H(t);return!(r===n||!N(r)||j(r))&&("fixed"===W(r).position||e(r,n))}(e,a))?r=r.filter(e=>e!==a):o=t,a=H(a)}return t.set(e,r),r}(t,this._c):[].concat(n),i],u=l[0],s=l.reduce((e,n)=>{let i=Z(t,n,a);return e.top=o(i.top,e.top),e.right=r(i.right,e.right),e.bottom=r(i.bottom,e.bottom),e.left=o(i.left,e.left),e},Z(t,u,a));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Q,getElementRects:ee,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=$(e);return{width:t,height:n}},getScale:Y,isElement:N,isRTL:function(e){return"rtl"===W(e).direction}},en=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:i,placement:a,rects:l,platform:u,elements:s,middlewareData:f}=t,{element:v,padding:g=0}=c(e,t)||{};if(null==v)return{};let w=y(g),b={x:n,y:i},x=p(h(a)),E=m(x),C=await u.getDimensions(v),R="y"===x,S=R?"clientHeight":"clientWidth",P=l.reference[E]+l.reference[x]-b[x]-l.floating[E],A=b[x]-l.reference[x],L=await (null==u.getOffsetParent?void 0:u.getOffsetParent(v)),T=L?L[S]:0;T&&await (null==u.isElement?void 0:u.isElement(L))||(T=s.floating[S]||l.floating[E]);let N=T/2-C[E]/2-1,O=r(w[R?"top":"left"],N),k=r(w[R?"bottom":"right"],N),M=T-C[E]-k,D=T/2-C[E]/2+(P/2-A/2),_=o(O,r(D,M)),F=!f.arrow&&null!=d(a)&&D!==_&&l.reference[E]/2-(D<O?O:k)-C[E]/2<0,j=F?D<O?D-O:D-M:0;return{[x]:b[x]+j,data:{[x]:_,centerOffset:D-_-j,...F&&{alignmentOffset:j}},reset:F}}});var er=e.i(403413),eo="u">typeof document?t.useLayoutEffect:t.useEffect;function ei(e,t){let n,r,o;
2if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!ei(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){let n=o[r];if(("_owner"!==n||!e.$$typeof)&&!ei(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function ea(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function el(e,t){let n=ea(e);return Math.round(t*n)/n}function eu(e){let n=t.useRef(e);return eo(()=>{n.current=e}),n}var es=e.i(929754),ec=e.i(286572),ef=t.forwardRef((e,t)=>{let{children:n,width:r=10,height:o=5,...i}=e;return(0,ec.jsx)(es.Primitive.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,ec.jsx)("polygon",{points:"0,0 30,0 15,10"})})});ef.displayName="Arrow";var ed=e.i(991305),ep=e.i(94881),em=e.i(559641),eh=e.i(130659),ev=e.i(923736),eg="Popper",[ey,ew]=(0,ep.createContextScope)(eg),[eb,ex]=ey(eg),eE=e=>{let{__scopePopper:n,children:r}=e,[o,i]=t.useState(null);return(0,ec.jsx)(eb,{scope:n,anchor:o,onAnchorChange:i,children:r})};eE.displayName=eg;var eC="PopperAnchor",eR=t.forwardRef((e,n)=>{let{__scopePopper:r,virtualRef:o,...i}=e,a=ex(eC,r),l=t.useRef(null),u=(0,ed.useComposedRefs)(n,l);return t.useEffect(()=>{a.onAnchorChange(o?.current||l.current)}),o?null:(0,ec.jsx)(es.Primitive.div,{...i,ref:u})});eR.displayName=eC;var eS="PopperContent",[eP,eA]=ey(eS),eL=t.forwardRef((e,n)=>{var i,l,u,s,y,w,b,P,A,T,N,O,k;let{__scopePopper:M,side:D="bottom",sideOffset:_=0,align:F="center",alignOffset:j=0,arrowPadding:W=0,avoidCollisions:I=!0,collisionBoundary:H=[],collisionPadding:z=0,sticky:$="partial",hideWhenDetached:Y=!1,updatePositionStrategy:K="optimized",onPlaced:V,...q}=e,Z=ex(eS,M),[G,J]=t.useState(null),Q=(0,ed.useComposedRefs)(n,e=>J(e)),[ee,ef]=t.useState(null),ep=(0,ev.useSize)(ee),eg=ep?.width??0,ey=ep?.height??0,ew="number"==typeof z?z:{top:0,right:0,bottom:0,left:0,...z},eb=Array.isArray(H)?H:[H],eE=eb.length>0,eC={padding:ew,boundary:eb.filter(ek),altBoundary:eE},{refs:eR,floatingStyles:eA,placement:eL,isPositioned:eT,middlewareData:eN}=function(e){void 0===e&&(e={});let{placement:n="bottom",strategy:r="absolute",middleware:o=[],platform:i,elements:{reference:a,floating:l}={},transform:u=!0,whileElementsMounted:s,open:c}=e,[f,d]=t.useState({x:0,y:0,strategy:r,placement:n,middlewareData:{},isPositioned:!1}),[p,m]=t.useState(o);ei(p,o)||m(o);let[h,v]=t.useState(null),[g,y]=t.useState(null),w=t.useCallback(e=>{e!==R.current&&(R.current=e,v(e))},[]),b=t.useCallback(e=>{e!==S.current&&(S.current=e,y(e))},[]),E=a||h,C=l||g,R=t.useRef(null),S=t.useRef(null),P=t.useRef(f),A=null!=s,L=eu(s),T=eu(i),N=t.useCallback(()=>{var e,t;let o,i,a;if(!R.current||!S.current)return;let l={placement:n,strategy:r,middleware:p};T.current&&(l.platform=T.current),(e=R.current,t=S.current,o=new Map,a={...(i={platform:et,...l}).platform,_c:o},x(e,t,{...i,platform:a})).then(e=>{let t={...e,isPositioned:!0};O.current&&!ei(P.current,t)&&(P.current=t,er.flushSync(()=>{d(t)}))})},[p,n,r,T]);eo(()=>{!1===c&&P.current.isPositioned&&(P.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[c]);let O=t.useRef(!1);eo(()=>(O.current=!0,()=>{O.current=!1}),[]),eo(()=>{if(E&&(R.current=E),C&&(S.current=C),E&&C){if(L.current)return L.current(E,C,N);N()}},[E,C,N,L,A]);let k=t.useMemo(()=>({reference:R,floating:S,setReference:w,setFloating:b}),[w,b]),M=t.useMemo(()=>({reference:E,floating:C}),[E,C]),D=t.useMemo(()=>{let e={position:r,left:0,top:0};if(!M.floating)return e;let t=el(M.floating,f.x),n=el(M.floating,f.y);return u?{...e,transform:"translate("+t+"px, "+n+"px)",...ea(M.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,u,M.floating,f.x,f.y]);return t.useMemo(()=>({...f,update:N,refs:k,elements:M,floatingStyles:D}),[f,N,k,M,D])}({strategy:"fixed",placement:D+("center"!==F?"-"+F:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e,t,n,i){let l;void 0===i&&(i={});let{ancestorScroll:u=!0,ancestorResize:s=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:f="function"==typeof IntersectionObserver,animationFrame:d=!1}=i,p=U(e),m=u||s?[...p?B(p):[],...B(t)]:[];
2m.forEach(e=>{u&&e.addEventListener("scroll",n,{passive:!0}),s&&e.addEventListener("resize",n)});let h=p&&f?function(e,t){let n,i=null,l=L(e);function u(){var e;clearTimeout(n),null==(e=i)||e.disconnect(),i=null}return!function s(c,f){void 0===c&&(c=!1),void 0===f&&(f=1),u();let{left:d,top:p,width:m,height:h}=e.getBoundingClientRect();if(c||t(),!m||!h)return;let v={rootMargin:-a(p)+"px "+-a(l.clientWidth-(d+m))+"px "+-a(l.clientHeight-(p+h))+"px "+-a(d)+"px",threshold:o(0,r(1,f))||1},g=!0;function y(e){let t=e[0].intersectionRatio;if(t!==f){if(!g)return s();t?s(!1,t):n=setTimeout(()=>{s(!1,1e-7)},1e3)}g=!1}try{i=new IntersectionObserver(y,{...v,root:l.ownerDocument})}catch(e){i=new IntersectionObserver(y,v)}i.observe(e)}(!0),u}(p,n):null,v=-1,g=null;c&&(g=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&g&&(g.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var e;null==(e=g)||e.observe(t)})),n()}),p&&!d&&g.observe(p),g.observe(t));let y=d?X(e):null;return d&&function t(){let r=X(e);y&&(r.x!==y.x||r.y!==y.y||r.width!==y.width||r.height!==y.height)&&n(),y=r,l=requestAnimationFrame(t)}(),n(),()=>{var e;m.forEach(e=>{u&&e.removeEventListener("scroll",n),s&&e.removeEventListener("resize",n)}),null==h||h(),null==(e=g)||e.disconnect(),g=null,d&&cancelAnimationFrame(l)}}(...t,{animationFrame:"always"===K})},elements:{reference:Z.anchor},middleware:[{...{name:"offset",options:l=i={mainAxis:_+ey,alignmentAxis:j},async fn(e){var t,n;let{x:r,y:o,placement:i,middlewareData:a}=e,u=await S(e,l);return i===(null==(t=a.offset)?void 0:t.placement)&&null!=(n=a.arrow)&&n.alignmentOffset?{}:{x:r+u.x,y:o+u.y,data:{...u,placement:i}}}},options:[i,void 0]},I&&{...{name:"shift",options:y=s={mainAxis:!0,crossAxis:!1,limiter:"partial"===$?{...(u=void 0,{options:u={},fn(e){let{x:t,y:n,placement:r,rects:o,middlewareData:i}=e,{offset:a=0,mainAxis:l=!0,crossAxis:s=!0}=c(u,e),d={x:t,y:n},m=h(r),v=p(m),g=d[v],y=d[m],w=c(a,e),b="number"==typeof w?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(l){let e="y"===v?"height":"width",t=o.reference[v]-o.floating[e]+b.mainAxis,n=o.reference[v]+o.reference[e]-b.mainAxis;g<t?g=t:g>n&&(g=n)}if(s){var x,E;let e="y"===v?"width":"height",t=["top","left"].includes(f(r)),n=o.reference[m]-o.floating[e]+(t&&(null==(x=i.offset)?void 0:x[m])||0)+(t?0:b.crossAxis),a=o.reference[m]+o.reference[e]+(t?0:(null==(E=i.offset)?void 0:E[m])||0)-(t?b.crossAxis:0);y<n?y=n:y>a&&(y=a)}return{[v]:g,[m]:y}}}),options:[void 0,void 0]}:void 0,...eC},async fn(e){let{x:t,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:l=!1,limiter:u={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...s}=c(y,e),d={x:t,y:n},m=await E(e,s),v=h(f(i)),g=p(v),w=d[g],b=d[v];if(a){let e="y"===g?"top":"left",t="y"===g?"bottom":"right",n=w+m[e],i=w-m[t];w=o(n,r(w,i))}if(l){let e="y"===v?"top":"left",t="y"===v?"bottom":"right",n=b+m[e],i=b-m[t];b=o(n,r(b,i))}let x=u.fn({...e,[g]:w,[v]:b});return{...x,data:{x:x.x-t,y:x.y-n}}}},options:[s,void 0]},I&&{...{name:"flip",options:b=w={...eC},async fn(e){var t,n,r,o,i,a,l,u;let s,y,w,{placement:x,middlewareData:C,rects:R,initialPlacement:S,platform:P,elements:A}=e,{mainAxis:L=!0,crossAxis:T=!0,fallbackPlacements:N,fallbackStrategy:O="bestFit",fallbackAxisSideDirection:k="none",flipAlignment:M=!0,...D}=c(b,e);if(null!=(t=C.arrow)&&t.alignmentOffset)return{};let _=f(x),F=h(S),j=f(S)===S,W=await (null==P.isRTL?void 0:P.isRTL(A.floating)),I=N||(j||!M?[g(S)]:(s=g(S),[v(S),s,v(s)])),H="none"!==k;!N&&H&&I.push(...(y=d(S),w=function(e,t,n){let r=["left","right"],o=["right","left"];switch(e){case"top":case"bottom":if(n)return t?o:r;return t?r:o;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(f(S),"start"===k,W),y&&(w=w.map(e=>e+"-"+y),M&&(w=w.concat(w.map(v)))),w));let B=[S,...I],z=await E(e,D),$=[],U=(null==(n=C.flip)?void 0:n.overflows)||[];if(L&&$.push(z[_]),T){let e,t,n,r,o=(a=x,l=R,void 0===(u=W)&&(u=!1),e=d(a),n=m(t=p(h(a))),r="x"===t?e===(u?"end":"start")?"right":"left":"start"===e?"bottom":"top",l.reference[n]>l.floating[n]&&(r=g(r)),[r,g(r)]);$.push(z[o[0]],z[o[1]])}if(U=[...U,{placement:x,overflows:$}],!$.every(e=>e<=0)){let e=((null==(r=C.flip)?void 0:r.index)||0)+1,t=B[e];if(t)return{data:{index:e,overflows:U},reset:{placement:t}};let n=null==(o=U.filter(e=>e.overflows[0]<=0).sort((e,t)=>
2e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(O){case"bestFit":{let e=null==(i=U.filter(e=>{if(H){let t=h(e.placement);return t===F||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:i[0];e&&(n=e);break}case"initialPlacement":n=S}if(x!==n)return{reset:{placement:n}}}return{}}},options:[w,void 0]},{...{name:"size",options:A=P={...eC,apply:e=>{let{elements:t,rects:n,availableWidth:r,availableHeight:o}=e,{width:i,height:a}=n.reference,l=t.floating.style;l.setProperty("--radix-popper-available-width",`${r}px`),l.setProperty("--radix-popper-available-height",`${o}px`),l.setProperty("--radix-popper-anchor-width",`${i}px`),l.setProperty("--radix-popper-anchor-height",`${a}px`)}},async fn(e){let t,n,{placement:i,rects:a,platform:l,elements:u}=e,{apply:s=()=>{},...p}=c(A,e),m=await E(e,p),v=f(i),g=d(i),y="y"===h(i),{width:w,height:b}=a.floating;"top"===v||"bottom"===v?(t=v,n=g===(await (null==l.isRTL?void 0:l.isRTL(u.floating))?"start":"end")?"left":"right"):(n=v,t="end"===g?"top":"bottom");let x=b-m.top-m.bottom,C=w-m.left-m.right,R=r(b-m[t],x),S=r(w-m[n],C),P=!e.middlewareData.shift,L=R,T=S;if(y?T=g||P?r(S,C):C:L=g||P?r(R,x):x,P&&!g){let e=o(m.left,0),t=o(m.right,0),n=o(m.top,0),r=o(m.bottom,0);y?T=w-2*(0!==e||0!==t?e+t:o(m.left,m.right)):L=b-2*(0!==n||0!==r?n+r:o(m.top,m.bottom))}await s({...e,availableWidth:T,availableHeight:L});let N=await l.getDimensions(u.floating);return w!==N.width||b!==N.height?{reset:{rects:!0}}:{}}},options:[P,void 0]},ee&&{...{name:"arrow",options:N=T={element:ee,padding:W},fn(e){let{element:t,padding:n}="function"==typeof N?N(e):N;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?en({element:t.current,padding:n}).fn(e):{}:t?en({element:t,padding:n}).fn(e):{}}},options:[T,void 0]},eM({arrowWidth:eg,arrowHeight:ey}),Y&&{...{name:"hide",options:k=O={strategy:"referenceHidden",...eC},async fn(e){let{rects:t}=e,{strategy:n="referenceHidden",...r}=c(k,e);switch(n){case"referenceHidden":{let n=C(await E(e,{...r,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:R(n)}}}case"escaped":{let n=C(await E(e,{...r,altBoundary:!0}),t.floating);return{data:{escapedOffsets:n,escaped:R(n)}}}default:return{}}}},options:[O,void 0]}]}),[eO,e_]=eD(eL),eF=(0,em.useCallbackRef)(V);(0,eh.useLayoutEffect)(()=>{eT&&eF?.()},[eT,eF]);let ej=eN.arrow?.x,eW=eN.arrow?.y,eI=eN.arrow?.centerOffset!==0,[eH,eB]=t.useState();return(0,eh.useLayoutEffect)(()=>{G&&eB(window.getComputedStyle(G).zIndex)},[G]),(0,ec.jsx)("div",{ref:eR.setFloating,"data-radix-popper-content-wrapper":"",style:{...eA,transform:eT?eA.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:eH,"--radix-popper-transform-origin":[eN.transformOrigin?.x,eN.transformOrigin?.y].join(" "),...eN.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,ec.jsx)(eP,{scope:M,placedSide:eO,onArrowChange:ef,arrowX:ej,arrowY:eW,shouldHideArrow:eI,children:(0,ec.jsx)(es.Primitive.div,{"data-side":eO,"data-align":e_,...q,ref:Q,style:{...q.style,animation:eT?void 0:"none"}})})})});eL.displayName=eS;var eT="PopperArrow",eN={top:"bottom",right:"left",bottom:"top",left:"right"},eO=t.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,o=eA(eT,n),i=eN[o.placedSide];return(0,ec.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,ec.jsx)(ef,{...r,ref:t,style:{...r.style,display:"block"}})})});function ek(e){return null!==e}eO.displayName=eT;var eM=e=>({name:"transformOrigin",options:e,fn(t){let{placement:n,rects:r,middlewareData:o}=t,i=o.arrow?.centerOffset!==0,a=i?0:e.arrowWidth,l=i?0:e.arrowHeight,[u,s]=eD(n),c={start:"0%",center:"50%",end:"100%"}[s],f=(o.arrow?.x??0)+a/2,d=(o.arrow?.y??0)+l/2,p="",m="";return"bottom"===u?(p=i?c:`${f}px`,m=`${-l}px`):"top"===u?(p=i?c:`${f}px`,m=`${r.floating.height+l}px`):"right"===u?(p=`${-l}px`,m=i?c:`${d}px`):"left"===u&&(p=`${r.floating.width+l}px`,m=i?c:`${d}px`),{data:{x:p,y:m}}}});function eD(e){let[t,n="center"]=e.split("-");return[t,n]}e.s(["Anchor",0,eR,"Arrow",0,eO,"Content",0,eL,"Root",0,eE,"createPopperScope",0,ew],784216)},312459,e=>{"use strict";var t=e.i(854118),n=e.i(403413),r=e.i(929754),o=e.i(130659),i=e.i(286572),a=t.forwardRef((e,a)=>{let{container:l,...u}=e,[s,c]=t.useState(!1);(0,o.useLayoutEffect)(()=>c(!0),[]);let f=l||s&&globalThis?.document?.body;return f?n.default.createPortal((0,i.jsx)(r.Primitive.div,{...u,ref:a}),f):null});a.displayName="Portal",e.s(["Portal",0,a])},559641,e=>{"use strict";var t=e.i(854118);e.s(["useCallbackRef",0,function(e){let n=t.useRef(e);return t.useEffect(()=>{n.current=e}),t.useMemo(()=>function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.current?.(...t)},[])}])},600204,e=>{"use strict";var t=e.i(854118),n=e.i(559641);e.s(["useControllableState",0,function(e){let{prop:r,defaultProp:o,onChange:i=()=>{}}=e,[a,l]=function(e){let{defaultProp:r,onChange:o}=e,i=t.useState(r),[a]=i,l=t.useRef(a),u=(0,n.useCallbackRef)(o);return t.useEffect(()=>{l.current!==a&&(u(a),l.current=a)},[a,l,u]),i}({defaultProp:o,onChange:i}),u=void 0!==r,s=u?r:a,c=(0,n.useCallbackRef)(i);return[s,t.useCallback(e=>{if(u){let t="function"==typeof e?e(r):e;t!==r&&c(t)}else l(e)},[u,r,l,c])]}])},130659,e=>{"use strict";var t=e.i(854118),n=globalThis?.document?t.useLayoutEffect:()=>{};
2e.s(["useLayoutEffect",0,n])},923736,e=>{"use strict";var t=e.i(854118),n=e.i(130659);e.s(["useSize",0,function(e){let[r,o]=t.useState(void 0);return(0,n.useLayoutEffect)(()=>{if(e){o({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,r;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,r=t.blockSize}else n=e.offsetWidth,r=e.offsetHeight;o({width:n,height:r})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}o(void 0)},[e]),r}])},645751,e=>{"use strict";var t=new WeakMap,n=new WeakMap,r={},o=0,i=function(e){return e&&(e.host||i(e.parentNode))},a=function(e,a,l,u){var s=(Array.isArray(e)?e:[e]).map(function(e){if(a.contains(e))return e;var t=i(e);return t&&a.contains(t)?t:(console.error("aria-hidden",e,"in not contained inside",a,". Doing nothing"),null)}).filter(function(e){return!!e});r[l]||(r[l]=new WeakMap);var c=r[l],f=[],d=new Set,p=new Set(s),m=function(e){!e||d.has(e)||(d.add(e),m(e.parentNode))};s.forEach(m);var h=function(e){!e||p.has(e)||Array.prototype.forEach.call(e.children,function(e){if(d.has(e))h(e);else try{var r=e.getAttribute(u),o=null!==r&&"false"!==r,i=(t.get(e)||0)+1,a=(c.get(e)||0)+1;t.set(e,i),c.set(e,a),f.push(e),1===i&&o&&n.set(e,!0),1===a&&e.setAttribute(l,"true"),o||e.setAttribute(u,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return h(a),d.clear(),o++,function(){f.forEach(function(e){var r=t.get(e)-1,o=c.get(e)-1;t.set(e,r),c.set(e,o),r||(n.has(e)||e.removeAttribute(u),n.delete(e)),o||e.removeAttribute(l)}),--o||(t=new WeakMap,t=new WeakMap,n=new WeakMap,r={})}};e.s(["hideOthers",0,function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),a(r,o,n,"aria-hidden")):function(){return null}}])},872046,907724,19192,399566,665271,805756,222896,794957,e=>{"use strict";var t,n="right-scroll-bar-position",r="width-before-scroll-bar",o="with-scroll-bars-hidden",i="--removed-body-scroll-bar-size";e.s(["fullWidthClassName",0,r,"noScrollbarsClassName",0,o,"removedBarSizeVariable",0,i,"zeroRightClassName",0,n],872046);var a=e.i(854118);function l(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var u="u">typeof window?a.useLayoutEffect:a.useEffect,s=new WeakMap;e.s(["useMergeRefs",0,function(e,t){var n,r,o,i=(n=t||null,r=function(t){return e.forEach(function(e){return l(e,t)})},(o=(0,a.useState)(function(){return{value:n,callback:r,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=r,o.facade);return u(function(){var t=s.get(i);if(t){var n=new Set(t),r=new Set(e),o=i.current;n.forEach(function(e){r.has(e)||l(e,null)}),r.forEach(function(e){n.has(e)||l(e,o)})}s.set(i,e)},[e]),i}],907724);var c=e.i(824627);function f(e){return e}e.s(["createSidecarMedium",0,function(e){void 0===e&&(e={});var t,n,r,o=(void 0===t&&(t=f),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=(0,c.__assign)({async:!0,ssr:!1},e),o}],19192);var d=function(e){var t=e.sideCar,n=(0,c.__rest)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return a.createElement(r,(0,c.__assign)({},n))};
2d.isSideCarExport=!0,e.s(["exportSidecar",0,function(e,t){return e.useMedium(t),d}],399566);var p=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=t||("u">typeof __webpack_nonce__?__webpack_nonce__:void 0);return n&&e.setAttribute("nonce",n),e}())){var o,i;(o=n).styleSheet?o.styleSheet.cssText=r:o.appendChild(document.createTextNode(r)),i=n,(document.head||document.getElementsByTagName("head")[0]).appendChild(i)}e++},remove:function(){--e||!n||(n.parentNode&&n.parentNode.removeChild(n),n=null)}}},m=function(){var e=p();return function(t,n){a.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},h=function(){var e=m();return function(t){return e(t.styles,t.dynamic),null}};e.s(["styleSingleton",0,h],665271),e.s([],805756);var v={left:0,top:0,right:0,gap:0},g=function(e){return parseInt(e||"",10)||0},y=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[g(n),g(r),g(o)]},w=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return v;var t=y(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])}},b=h(),x="data-scroll-locked",E=function(e,t,a,l){var u=e.left,s=e.top,c=e.right,f=e.gap;return void 0===a&&(a="margin"),"\n  .".concat(o," {\n   overflow: hidden ").concat(l,";\n   padding-right: ").concat(f,"px ").concat(l,";\n  }\n  body[").concat(x,"] {\n    overflow: hidden ").concat(l,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(l,";"),"margin"===a&&"\n    padding-left: ".concat(u,"px;\n    padding-top: ").concat(s,"px;\n    padding-right: ").concat(c,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(f,"px ").concat(l,";\n    "),"padding"===a&&"padding-right: ".concat(f,"px ").concat(l,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(n," {\n    right: ").concat(f,"px ").concat(l,";\n  }\n  \n  .").concat(r," {\n    margin-right: ").concat(f,"px ").concat(l,";\n  }\n  \n  .").concat(n," .").concat(n," {\n    right: 0 ").concat(l,";\n  }\n  \n  .").concat(r," .").concat(r," {\n    margin-right: 0 ").concat(l,";\n  }\n  \n  body[").concat(x,"] {\n    ").concat(i,": ").concat(f,"px;\n  }\n")},C=function(){var e=parseInt(document.body.getAttribute(x)||"0",10);return isFinite(e)?e:0},R=function(){a.useEffect(function(){return document.body.setAttribute(x,(C()+1).toString()),function(){var e=C()-1;e<=0?document.body.removeAttribute(x):document.body.setAttribute(x,e.toString())}},[])};e.s(["RemoveScrollBar",0,function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;R();var i=a.useMemo(function(){return w(o)},[o]);return a.createElement(b,{styles:E(i,!t,o,n?"":"!important")})}],222896),e.s([],794957)},924521,e=>{"use strict";var t=e.i(824627),n=e.i(854118),r=e.i(872046),o=e.i(907724),i=(0,e.i(19192).createSidecarMedium)(),a=function(){},l=n.forwardRef(function(e,r){var l=n.useRef(null),u=n.useState({onScrollCapture:a,onWheelCapture:a,onTouchMoveCapture:a}),s=u[0],c=u[1],f=e.forwardProps,d=e.children,p=e.className,m=e.removeScrollBar,h=e.enabled,v=e.shards,g=e.sideCar,y=e.noIsolation,w=e.inert,b=e.allowPinchZoom,x=e.as,E=e.gapMode,C=(0,t.__rest)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),R=(0,o.useMergeRefs)([l,r]),S=(0,t.__assign)((0,t.__assign)({},C),s);return n.createElement(n.Fragment,null,h&&n.createElement(g,{sideCar:i,removeScrollBar:m,shards:v,noIsolation:y,inert:w,setCallbacks:c,allowPinchZoom:!!b,lockRef:l,gapMode:E}),f?n.cloneElement(n.Children.only(d),(0,t.__assign)((0,t.__assign)({},S),{ref:R})):n.createElement(void 0===x?"div":x,(0,t.__assign)({},S,{className:p,ref:R}),d))});l.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},l.classNames={fullWidth:r.fullWidthClassName,zeroRight:r.zeroRightClassName};var u=e.i(399566);e.i(794957);var s=e.i(222896);e.i(805756);var c=e.i(665271),f=!1;if("u">typeof window)try{var d=Object.defineProperty({},"passive",{get:function(){return f=!0,!0}});window.addEventListener("test",d,d),window.removeEventListener("test",d,d)}catch(e){f=!1}var p=!!f&&{passive:!1},m=function(e,t){var n=window.getComputedStyle(e);return"hidden"!==n[t]&&(n.overflowY!==n.overflowX||"TEXTAREA"===e.tagName||"visible"!==n[t])},h=function(e,t){var n=t.ownerDocument,r=t;do{if("u">typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),v(e,r)){var o=g(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body)return!1},v=function(e,t){return"v"===e?m(t,"overflowY"):m(t,"overflowX")},g=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},y=function(e,t,n,r,o){var i,a=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),l=a*r,u=n.target,s=t.contains(u),c=!1,f=l>0,d=0,p=0;do{var m=g(e,u),h=m[0],y=m[1]-m[2]-a*h;(h||y)&&v(e,u)&&(d+=y,p+=h),u=u instanceof ShadowRoot?u.host:u.parentNode}while(!s&&u!==document.body||s&&(t.contains(u)||t===u))return f&&(o&&1>Math.abs(d)||!o&&l>d)?c=!0:!f&&(o&&1>Math.abs(p)||!o&&-l>p)&&(c=!0),c},w=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},b=function(e){return[e.deltaX,e.deltaY]},x=function(e){return e&&"current"in e?e.current:e},E=0,C=[];let R=(0,u.exportSidecar)(i,function(e){var r=n.useRef([]),o=n.useRef([0,0]),i=n.useRef(),a=n.useState(E++)[0],l=n.useState(c.styleSingleton)[0],u=n.useRef(e);n.useEffect(function(){u.current=e},[e]),n.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var n=(0,t.__spreadArray)([e.lockRef.current],(e.shards||[]).map(x),!0).filter(
2Boolean);return n.forEach(function(e){return e.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),n.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var f=n.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!u.current.allowPinchZoom;var n,r=w(e),a=o.current,l="deltaX"in e?e.deltaX:a[0]-r[0],s="deltaY"in e?e.deltaY:a[1]-r[1],c=e.target,f=Math.abs(l)>Math.abs(s)?"h":"v";if("touches"in e&&"h"===f&&"range"===c.type)return!1;var d=h(f,c);if(!d)return!0;if(d?n=f:(n="v"===f?"h":"v",d=h(f,c)),!d)return!1;if(!i.current&&"changedTouches"in e&&(l||s)&&(i.current=n),!n)return!0;var p=i.current||n;return y(p,t,e,"h"===p?l:s,!0)},[]),d=n.useCallback(function(e){if(C.length&&C[C.length-1]===l){var t="deltaY"in e?b(e):w(e),n=r.current.filter(function(n){var r;return n.name===e.type&&(n.target===e.target||e.target===n.shadowParent)&&(r=n.delta,r[0]===t[0]&&r[1]===t[1])})[0];if(n&&n.should){e.cancelable&&e.preventDefault();return}if(!n){var o=(u.current.shards||[]).map(x).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?f(e,o[0]):!u.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),m=n.useCallback(function(e,t,n,o){var i={name:e,delta:t,target:n,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}(n)};r.current.push(i),setTimeout(function(){r.current=r.current.filter(function(e){return e!==i})},1)},[]),v=n.useCallback(function(e){o.current=w(e),i.current=void 0},[]),g=n.useCallback(function(t){m(t.type,b(t),t.target,f(t,e.lockRef.current))},[]),R=n.useCallback(function(t){m(t.type,w(t),t.target,f(t,e.lockRef.current))},[]);n.useEffect(function(){return C.push(l),e.setCallbacks({onScrollCapture:g,onWheelCapture:g,onTouchMoveCapture:R}),document.addEventListener("wheel",d,p),document.addEventListener("touchmove",d,p),document.addEventListener("touchstart",v,p),function(){C=C.filter(function(e){return e!==l}),document.removeEventListener("wheel",d,p),document.removeEventListener("touchmove",d,p),document.removeEventListener("touchstart",v,p)}},[]);var S=e.removeScrollBar,P=e.inert;return n.createElement(n.Fragment,null,P?n.createElement(l,{styles:"\n  .block-interactivity-".concat(a," {pointer-events: none;}\n  .allow-interactivity-").concat(a," {pointer-events: all;}\n")}):null,S?n.createElement(s.RemoveScrollBar,{gapMode:e.gapMode}):null)});var S=n.forwardRef(function(e,r){return n.createElement(l,(0,t.__assign)({},e,{ref:r,sideCar:R}))});S.classNames=l.classNames,e.s(["RemoveScroll",0,S],924521)}]);
3
4//# debugId=c61497ff-f83a-8cfe-f80c-eadad44168ea

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.