PageSourceSearch

https://app.formo.so/_next/static/immutable/chunks/1uq0btyf-26-n.js

js formo.so collected 2026-09-25 20:48:21 UTC 45,557 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]="992f747e-111b-6a37-9969-34a8825206cb")}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,e=>{"use strict";var t=e.i(767281),n=e.i(500824);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 s(r){let{scope:o,children:i,...s}=r,u=o?.[e][l]||a,c=t.useMemo(()=>s,Object.values(s));return(0,n.jsx)(u.Provider,{value:c,children:i})}return o=[...o,i],s.displayName=r+"Provider",[s,function(n,o){let s=o?.[e][l]||a,u=t.useContext(s);if(u)return u;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)]}])},868235,e=>{"use strict";var t,n=e.i(767281),r=e.i(551150),o=e.i(929754),i=e.i(991305),a=e.i(559641),l=e.i(500824),s="dismissableLayer.update",u=n.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),c=n.forwardRef((e,c)=>{let{disableOutsidePointerEvents:f=!1,onEscapeKeyDown:m,onPointerDownOutside:h,onFocusOutside:v,onInteractOutside:g,onDismiss:y,...w}=e,b=n.useContext(u),[x,E]=n.useState(null),R=x?.ownerDocument??globalThis?.document,[,C]=n.useState({}),A=(0,i.useComposedRefs)(c,e=>E(e)),L=Array.from(b.layers),[S]=[...b.layersWithOutsidePointerEventsDisabled].slice(-1),P=L.indexOf(S),T=x?L.indexOf(x):-1,N=b.layersWithOutsidePointerEventsDisabled.size>0,O=T>=P,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=>{if(e.target&&!o.current){let n=function(){p("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?.())},R),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&&p("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?.())},R);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()))},R),n.useEffect(()=>{if(x)return f&&(0===b.layersWithOutsidePointerEventsDisabled.size&&(t=R.body.style.pointerEvents,R.body.style.pointerEvents="none"),b.layersWithOutsidePointerEventsDisabled.add(x)),b.layers.add(x),d(),()=>{f&&1===b.layersWithOutsidePointerEventsDisabled.size&&(R.body.style.pointerEvents=t)}},[x,R,f,b]),n.useEffect(()=>()=>{x&&(b.layers.delete(x),b.layersWithOutsidePointerEventsDisabled.delete(x),d())},[x,b]),n.useEffect(()=>{let e=()=>C({});return document.addEventListener(s,e),()=>document.removeEventListener(s,e)},[]),(0,l.jsx)(o.Primitive.div,{...w,ref:A,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)})});c.displayName="DismissableLayer";var f=n.forwardRef((e,t)=>
2{let r=n.useContext(u),a=n.useRef(null),s=(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:s})});function d(){let e=new CustomEvent(s);document.dispatchEvent(e)}function p(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)}f.displayName="DismissableLayerBranch",e.s(["Branch",0,f,"DismissableLayer",0,c,"Root",0,c],868235)},52574,e=>{"use strict";var t=e.i(767281),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(767281),r=e.i(991305),o=e.i(929754),i=e.i(559641),a=e.i(500824),l="focusScope.autoFocusOnMount",s="focusScope.autoFocusOnUnmount",u={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),R=n.useRef(null),C=(0,r.useComposedRefs)(t,e=>b(e)),A=n.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;n.useEffect(()=>{if(h){let e=function(e){if(A.paused||!w)return;let t=e.target;w.contains(t)?R.current=t:p(R.current,{select:!0})},t=function(e){if(A.paused||!w)return;let t=e.relatedTarget;null!==t&&(w.contains(t)||p(R.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,A.paused]),n.useEffect(()=>{if(w){m.add(A);let e=document.activeElement;if(!w.contains(e)){let t=new CustomEvent(l,u);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(s,u);w.addEventListener(s,E),w.dispatchEvent(t),t.defaultPrevented||p(e??document.body,{select:!0}),w.removeEventListener(s,E),m.remove(A)},0)}}},[w,x,E,A]);let L=n.useCallback(e=>{if(!c&&!h||A.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,A.paused]);return(0,a.jsx)(o.Primitive.div,{tabIndex:-1,...y,ref:C,onKeyDown:L})});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])},185450,e=>{"use strict";var t=e.i(767281),n=e.i(130659),r=t["useId".toString()]||(()=>void 0),o=0;e.s(["useId",0,function(e){let[i,a]=t.useState(r());return(0,n.useLayoutEffect)(()=>{e||a(e=>e??String(o++))},[e]),e||(i?`radix-${i}`:"")}])},784216,e=>{"use strict";var t=e.i(767281);let n=["top","right","bottom","left"],r=Math.min,o=Math.max,i=Math.round,a=Math.floor,l=e=>({x:e,y:e}),s={left:"right",right:"left",bottom:"top",top:"bottom"},u={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=>u[e])}function g(e){return e.replace(/left|right|bottom|top/g,e=>s[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)),s=m(l),u=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[s]/2-i[s]/2;switch(u){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),s=await (null==a.isRTL?void 0:a.isRTL(t)),u=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:f}=b(u,r,s),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:u,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&&(u=!0===w.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):w.rects),{x:c,y:f}=b(u,d,s)),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:s}=e,{boundary:u="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({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:u,rootBoundary:f,strategy:s})),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
2))||{x:1,y:1},R=w(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:b,offsetParent:x,strategy:s}):b);return{top:(g.top-R.top+h.top)/E.y,bottom:(R.bottom-g.bottom+h.bottom)/E.y,left:(g.left-R.left+h.left)/E.x,right:(R.right-g.right+h.right)/E.x}}function R(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function C(e){return n.some(t=>e[t]>=0)}async function A(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),s="y"===h(n),u=["left","top"].includes(a)?-1:1,p=i&&s?-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),s?{x:g*p,y:v*u}:{x:v*u,y:g*p}}function L(e){return T(e)?(e.nodeName||"").toLowerCase():"#document"}function S(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function P(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 S(e).Node}function N(e){return e instanceof Element||e instanceof S(e).Element}function O(e){return e instanceof HTMLElement||e instanceof S(e).HTMLElement}function k(e){return!("u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof S(e).ShadowRoot)}function M(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=I(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 W(e){let t=F(),n=N(e)?I(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 _(e){return["html","body","#document"].includes(L(e))}function I(e){return S(e).getComputedStyle(e)}function H(e){return N(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function j(e){if("html"===L(e))return e;let t=e.assignedSlot||e.parentNode||k(e)&&e.host||P(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=j(t);return _(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=S(o);if(i){let e=$(a);return t.concat(a,a.visualViewport||[],M(o)?o:[],e&&n?B(e):[])}return t.concat(o,B(o,[],n))}function $(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function z(e){let t=I(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=O(e),a=o?e.offsetWidth:n,l=o?e.offsetHeight:r,s=i(n)!==a||i(r)!==l;return s&&(n=a,r=l),{width:n,height:r,$:s}}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}=z(t),s=(a?i(n.width):n.width)/r,u=(a?i(n.height):n.height)/o;return s&&Number.isFinite(s)||(s=1),u&&Number.isFinite(u)||(u=1),{x:s,y:u}}let X=l(0);function K(e){let t=S(e);return F()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:X}function V(e,t,n,r){var o;void 0===t&&(t=!1),void 0===n&&(n=!1);let i=e.getBoundingClientRect(),a=U(e),s=l(1);t&&(r?N(r)&&(s=Y(r)):s=Y(e));let u=(void 0===(o=n)&&(o=!1),r&&(!o||r===S(a))&&o)?K(a):l(0),c=(i.left+u.x)/s.x,f=(i.top+u.y)/s.y,d=i.width/s.x,p=i.height/s.y;if(a){let e=S(a),t=r&&N(r)?S(r):r,n=e,o=$(n);for(;o&&r&&t!==n;){let e=Y(o),t=o.getBoundingClientRect(),r=I(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,f*=e.y,d*=e.x,p*=e.y,c+=i,f+=a,o=$(n=S(o))}}return w({width:d,height:p,x:c,y:f})}function q(e){return V(P(e)).left+H(e).scrollLeft}function Z(e,t,n){var r;let i;if("viewport"===t)i=function(e,t){let n=S(e),r=P(e),o=n.visualVie
2wport,i=r.clientWidth,a=r.clientHeight,l=0,s=0;if(o){i=o.width,a=o.height;let e=F();(!e||e&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:i,height:a,x:l,y:s}}(e,n);else if("document"===t){let t,n,a,l,s,u,c;r=P(e),t=P(r),n=H(r),a=r.ownerDocument.body,l=o(t.scrollWidth,t.clientWidth,a.scrollWidth,a.clientWidth),s=o(t.scrollHeight,t.clientHeight,a.scrollHeight,a.clientHeight),u=-n.scrollLeft+q(r),c=-n.scrollTop,"rtl"===I(a).direction&&(u+=o(t.clientWidth,a.clientWidth)-l),i={width:l,height:s,x:u,y:c}}else if(N(t)){let e,r,o,a,s,u;r=(e=V(t,!0,"fixed"===n)).top+t.clientTop,o=e.left+t.clientLeft,a=O(t)?Y(t):l(1),s=t.clientWidth*a.x,u=t.clientHeight*a.y,i={width:s,height:u,x:o*a.x,y:r*a.y}}else{let n=K(e);i={...t,x:t.x-n.x,y:t.y-n.y}}return w(i)}function G(e){return"static"===I(e).position}function J(e,t){return O(e)&&"fixed"!==I(e).position?t?t(e):e.offsetParent:null}function Q(e,t){let n=S(e);if(D(e))return n;if(!O(e)){let t=j(e);for(;t&&!_(t);){if(N(t)&&!G(t))return t;t=j(t)}return n}let r=J(e,t);for(;r&&["table","td","th"].includes(L(r))&&G(r);)r=J(r,t);return r&&_(r)&&G(r)&&!W(r)?n:r||function(e){let t=j(e);for(;O(t)&&!_(t);){if(W(t))return t;if(D(t))break;t=j(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=P(t),i="fixed"===n,a=V(e,!0,i,t),s={scrollLeft:0,scrollTop:0},u=l(0);if(r||!r&&!i)if(("body"!==L(t)||M(o))&&(s=H(t)),r){let e=V(t,!0,i,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else o&&(u.x=q(o));return{x:a.left+s.scrollLeft-u.x,y:a.top+s.scrollTop-u.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=P(r),s=!!t&&D(t.floating);if(r===a||s&&i)return n;let u={scrollLeft:0,scrollTop:0},c=l(1),f=l(0),d=O(r);if((d||!d&&!i)&&(("body"!==L(r)||M(a))&&(u=H(r)),O(r))){let e=V(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-u.scrollLeft*c.x+f.x,y:n.y*c.y-u.scrollTop*c.y+f.y}},getDocumentElement:P,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"!==L(e)),o=null,i="fixed"===I(e).position,a=i?j(e):e;for(;N(a)&&!_(a);){let t=I(a),n=W(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=j(t);return!(r===n||!N(r)||_(r))&&("fixed"===I(r).position||e(r,n))}(e,a))?r=r.filter(e=>e!==a):o=t,a=j(a)}return t.set(e,r),r}(t,this._c):[].concat(n),i],s=l[0],u=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,s,a));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:Q,getElementRects:ee,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=z(e);return{width:t,height:n}},getScale:Y,isElement:N,isRTL:function(e){return"rtl"===I(e).direction}},en=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:i,placement:a,rects:l,platform:s,elements:u,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),R=await s.getDimensions(v),C="y"===x,A=C?"clientHeight":"clientWidth",L=l.reference[E]+l.reference[x]-b[x]-l.floating[E],S=b[x]-l.reference[x],P=await (null==s.getOffsetParent?void 0:s.getOffsetParent(v)),T=P?P[A]:0;T&&await (null==s.isElement?void 0:s.isElement(P))||(T=u.floating[A]||l.floating[E]);let N=T/2-R[E]/2-1,O=r(w[C?"top":"left"],N),k=r(w[C?"bottom":"right"],N),M=T-R[E]-k,D=T/2-R[E]/2+(L/2-S/2),W=o(O,r(D,M)),F=!f.arrow&&null!=d(a)&&D!==W&&l.reference[E]/2-(D<O?O:k)-R[E]/2<0,_=F?D<O?D-O:D-M:0;return{[x]:b[x]+_,data:{[x]:W,centerOffset:D-W-_,...F&&{alignmentOffset:_}},reset:F}}});var er=e.i(854152),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 es(e){let n=t.useRef(e);return eo(()=>{n.current=e}),n}var eu=e.i(929754),ec=e.i(500824),ef=t.forwardRef((e,t)=>{let{children:n,width:r=10,height:o=5,...i}=e;return(0,ec.jsx)(eu.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 eR="PopperAnchor",eC=t.forwardRef((e,n)=>{let{__scopePopper:r,virtualRef:o,...i}=e,a=ex(eR,r),l=t.useRef(null),s=(0,ed.useComposedRefs)(n,l);return t.useEffect(()=>{a.onAnchorChange(o?.current||l.current)}),o?null:(0,ec.jsx)(eu.Primitive.div,{...i,ref:s})});eC.displayName=eR;var eA="PopperContent",[eL,eS]=ey(eA),eP=t.forwardRef((e,n)=>{var i,l,s,u,y,w,b,L,S,T,N,O,k;let{__scopePopper:M,side:D="bottom",sideOffset:W=0,align:F="center",alignOffset:_=0,arrowPadding:I=0,avoidCollisions:H=!0,collisionBoundary:j=[],collisionPadding:$=0,sticky:z="partial",hideWhenDetached:Y=!1,updatePositionStrategy:X="optimized",onPlaced:K,...q}=e,Z=ex(eA,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 $?$:{top:0,right:0,bottom:0,left:0,...$},eb=Array.isArray(j)?j:[j],eE=eb.length>0,eR={padding:ew,boundary:eb.filter(ek),altBoundary:eE},{refs:eC,floatingStyles:eS,placement:eP,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:s=!0,whileElementsMounted:u,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!==C.current&&(C.current=e,v(e))},[]),b=t.useCallback(e=>{e!==A.current&&(A.current=e,y(e))},[]),E=a||h,R=l||g,C=t.useRef(null),A=t.useRef(null),L=t.useRef(f),S=null!=u,P=es(u),T=es(i),N=t.useCallback(()=>{var e,t;let o,i,a;if(!C.current||!A.current)return;let l={placement:n,strategy:r,middleware:p};T.current&&(l.platform=T.current),(e=C.current,t=A.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(L.current,t)&&(L.current=t,er.flushSync(()=>{d(t)}))})},[p,n,r,T]);eo(()=>{!1===c&&L.current.isPositioned&&(L.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[c]);let O=t.useRef(!1);eo(()=>(O.current=!0,()=>{O.current=!1}),[]),eo(()=>{if(E&&(C.current=E),R&&(A.current=R),E&&R){if(P.current)return P.current(E,R,N);N()}}
2,[E,R,N,P,S]);let k=t.useMemo(()=>({reference:C,floating:A,setReference:w,setFloating:b}),[w,b]),M=t.useMemo(()=>({reference:E,floating:R}),[E,R]),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 s?{...e,transform:"translate("+t+"px, "+n+"px)",...ea(M.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,s,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:s=!0,ancestorResize:u=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:f="function"==typeof IntersectionObserver,animationFrame:d=!1}=i,p=U(e),m=s||u?[...p?B(p):[],...B(t)]:[];m.forEach(e=>{s&&e.addEventListener("scroll",n,{passive:!0}),u&&e.addEventListener("resize",n)});let h=p&&f?function(e,t){let n,i=null,l=P(e);function s(){var e;clearTimeout(n),null==(e=i)||e.disconnect(),i=null}return!function u(c,f){void 0===c&&(c=!1),void 0===f&&(f=1),s();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 u();t?u(!1,t):n=setTimeout(()=>{u(!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),s}(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?V(e):null;return d&&function t(){let r=V(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=>{s&&e.removeEventListener("scroll",n),u&&e.removeEventListener("resize",n)}),null==h||h(),null==(e=g)||e.disconnect(),g=null,d&&cancelAnimationFrame(l)}}(...t,{animationFrame:"always"===X})},elements:{reference:Z.anchor},middleware:[{...{name:"offset",options:l=i={mainAxis:W+ey,alignmentAxis:_},async fn(e){var t,n;let{x:r,y:o,placement:i,middlewareData:a}=e,s=await A(e,l);return i===(null==(t=a.offset)?void 0:t.placement)&&null!=(n=a.arrow)&&n.alignmentOffset?{}:{x:r+s.x,y:o+s.y,data:{...s,placement:i}}}},options:[i,void 0]},H&&{...{name:"shift",options:y=u={mainAxis:!0,crossAxis:!1,limiter:"partial"===z?{...(s=void 0,{options:s={},fn(e){let{x:t,y:n,placement:r,rects:o,middlewareData:i}=e,{offset:a=0,mainAxis:l=!0,crossAxis:u=!0}=c(s,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(u){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,...eR},async fn(e){let{x:t,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:l=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...u}=c(y,e),d={x:t,y:n},m=await E(e,u),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=s.fn({...e,[g]:w,[v]:b});return{...x,data:{x:x.x-t,y:x.y-n}}}},options:[u,void 0]},H&&{...{name:"flip",options:b=w={...eR},async fn(e){var t,n,r,o,i,a,l,s;let u,y,w,{placement:x,middlewareData:R,rects:C,initialPlacement:A,platform:L,elements:S}=e,{mainAxis:P=!0,crossAxis:T=!0,fallbackPlacements:N,fallbackStrategy:O="bestFit",fallbackAxisSideDirection:k="none",flipAlignment:M=!0,...D}=c(b,e);if(null!=(t=R.arrow)&&t.alignmentOffset)return{};let W=f(x),F=h(A),_=f(A)===A,I=await (null==L.isRTL?void 0:L.isRTL(S.floating)),H=N||(_||!M?[g(A)]:(u=g(A),[v(A),u,v(u)])),j="none"!==k;!N&&j&&H.push(...(y=d(A),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(A),"start"===k,I),y&&(w=w.map(e=>e+"-"+y),M&&(w=w.concat(w.map(v)))),w));let B=[A,...H],$=await E(e,D),z=[],U=(null==(n=R.flip)?void 0:n.overflows)||[];if(P&&z.push($[W]),T){let e,t,n,r,o=(a=x,l=C,void 0===(s=I)&&(s=!1),e=d(a),n=m(t=p(h(a))),r="x"===t?e===(s?"end":"start")?"right":"left":"start"===e?"bottom":"top",l.reference[n]>l.floating[n]&&(r=g(r)),[r,g(r)]);z.push($[o[0]],$[o[1]])}if(U=[...U,{placement:x,overflows:z}],!z.every(e=>e<=0)){let e=((null==(r=R.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(j){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=A}if(x!==n)return{reset:{placement:n}}}return{}}},options:[w,void 0]},{...{name:"size",options:S=L={...eR,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:s}=e,{apply:u=()=>{},...p}=c(S,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(s.floating))?"start":"end")?"left":"right"):(n=v,t="end"===g?"top":"bottom");let x=b-m.top-m.bottom,R=w-m.left-m.right,C=r(b-m[t],x),A=r(w-m[n],R),L=!e.middlewareData.shift,P=C,T=A;if(y?T=g||L?r(A,R):R:P=g||L?r(C,x):x,L&&!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)):P=b-2*(0!==n||0!==r?n+r:o(m.top,m.bottom))}await u({...e,availableWidth:T,availableHeight:P});let N=await l.getDimensions(s.floating);return w!==N.width||b!==N.height?{reset:{rects:!0}}:{}}},options:[L,void 0]},ee&&{...{name:"arrow",options:N=T={element:ee,padding:I},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",...eR},async fn(e){let{rects:t}=e,{strategy:n="referenceHidden",...r}=c(k,e);switch(n){case"referenceHidden":{let n=R(await E(e,{...r,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:C(n)}}}case"escaped":{let n=R(await E(e,{...r,altBoundary:!0}),t.floating);return{data:{escapedOffsets:n,escaped:C(n)}}}default:return{}}}},options:[O,void 0]}]}),[eO,eW]=eD(eP),eF=(0,em.useCallbackRef)(K);(0,eh.useLayoutEffect)(()=>{eT&&eF?.()},[eT,eF]);let e_=eN.arrow?.x,eI=eN.arrow?.y,eH=eN.arrow?.centerOffset!==0,[ej,eB]=t.useState();return(0,eh.useLayoutEffect)(()=>{G&&eB(window.getComputedStyle(G).zIndex)},[G]),(0,ec.jsx)("div",{ref:eC.setFloating,"data-radix-popper-content-wrapper":"",style:{...eS,transform:eT?eS.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ej,"--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)(eL,{scope:M,placedSide:eO,onArrowChange:ef,arrowX:e_,arrowY:eI,shouldHideArrow:eH,children:(0,ec.jsx)(eu.Primitive.div,{"data-side":eO,"data-align":eW,...q,ref:Q,style:{...q.style,animation:eT?void 0:"none"}})})})});eP.displayName=eA;var eT="PopperArrow",eN={top:"bottom",right:"left",bottom:"top",left:"right"},eO=t.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,o=eS(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,[s,u]=eD(n),c={start:"0%",center:"50%",end:"100%"}[u],f=(o.arrow?.x??0)+a/2,d=(o.arrow?.y??0)+l/2,p="",m="";return"bottom"===s?(p=i?c:`${f}px`,m=`${-l}px`):"top"===s?(p=i?c:`${f}px`,m=`${r.floating.height+l}px`):"right"===s?(p=`${-l}px`,m=i?c:`${d}px`):"left"===s&&(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,eC,"Arrow",0,eO,"Content",0,eP,"Root",0,eE,"createPopperScope",0,ew],784216)},312459,e=>{"use strict";var t=e.i(767281),n=e.i(854152),r=e.i(929754),o=e.i(130659),i=e.i(500824),a=t.forwardRef((e,a)=>{let{container:l,...s}=e,[u,c]=t.useState(!1);(0,o.useLayoutEffect)(()=>c(!0),[]);let f=l||u&&globalThis?.document?.body;return f?n.default.createPortal((0,i.jsx)(r.Primitive.div,{...s,ref:a}),f):null});a.displayName="Portal",e.s(["Portal",0,a])},668815,e=>{"use strict";var t=e.i(767281),n=e.i(854152),r=e.i(991305),o=e.i(130659),i=e=>{var i;let l,s,{present:u,children:c}=e,f=function(e){var r,i;let[l,s]=t.useState(),u=t.useRef({}),c=t.useRef(e),f=t.useRef("none"),[d,p]=(r=e?"mounted":"unmounted",i={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},t.useReducer((e,t)=>
2i[e][t]??e,r));return t.useEffect(()=>{let e=a(u.current);f.current="mounted"===d?e:"none"},[d]),(0,o.useLayoutEffect)(()=>{let t=u.current,n=c.current;if(n!==e){let r=f.current,o=a(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,o.useLayoutEffect)(()=>{if(l){let e=e=>{let t=a(u.current).includes(e.animationName);e.target===l&&t&&n.flushSync(()=>p("ANIMATION_END"))},t=e=>{e.target===l&&(f.current=a(u.current))};return l.addEventListener("animationstart",t),l.addEventListener("animationcancel",e),l.addEventListener("animationend",e),()=>{l.removeEventListener("animationstart",t),l.removeEventListener("animationcancel",e),l.removeEventListener("animationend",e)}}p("ANIMATION_END")},[l,p]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:t.useCallback(e=>{e&&(u.current=getComputedStyle(e)),s(e)},[])}}(u),d="function"==typeof c?c({present:f.isPresent}):t.Children.only(c),p=(0,r.useComposedRefs)(f.ref,(i=d,(s=(l=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in l&&l.isReactWarning)?i.ref:(s=(l=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in l&&l.isReactWarning)?i.props.ref:i.props.ref||i.ref));return"function"==typeof c||f.isPresent?t.cloneElement(d,{ref:p}):null};function a(e){return e?.animationName||"none"}i.displayName="Presence",e.s(["Presence",0,i])},559641,e=>{"use strict";var t=e.i(767281);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(767281),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),s=(0,n.useCallbackRef)(o);return t.useEffect(()=>{l.current!==a&&(s(a),l.current=a)},[a,l,s]),i}({defaultProp:o,onChange:i}),s=void 0!==r,u=s?r:a,c=(0,n.useCallbackRef)(i);return[u,t.useCallback(e=>{if(s){let t="function"==typeof e?e(r):e;t!==r&&c(t)}else l(e)},[s,r,l,c])]}])},130659,e=>{"use strict";var t=e.i(767281),n=globalThis?.document?t.useLayoutEffect:()=>{};e.s(["useLayoutEffect",0,n])},923736,e=>{"use strict";var t=e.i(767281),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,s){var u=(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(u),m=function(e){!e||d.has(e)||(d.add(e),m(e.parentNode))};u.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(s),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(s,"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(s),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}}])},924521,e=>{"use strict";var t=e.i(824627),n=e.i(767281),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),s=n.useState({onScrollCapture:a,onWheelCapture:a,onTouchMoveCapture:a}),u=s[0],c=s[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,R=(0,t.__rest)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),C=(0,o.useMergeRefs)([l,r]),A=(0,t.__assign)((0,t.__assign)({},R),u);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)({},A),{ref:C}
2)):n.createElement(void 0===x?"div":x,(0,t.__assign)({},A,{className:p,ref:C}),d))});l.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},l.classNames={fullWidth:r.fullWidthClassName,zeroRight:r.zeroRightClassName};var s=e.i(399566);e.i(794957);var u=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,s=n.target,u=t.contains(s),c=!1,f=l>0,d=0,p=0;do{var m=g(e,s),h=m[0],y=m[1]-m[2]-a*h;(h||y)&&v(e,s)&&(d+=y,p+=h),s=s instanceof ShadowRoot?s.host:s.parentNode}while(!u&&s!==document.body||u&&(t.contains(s)||t===s))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,R=[];let C=(0,s.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],s=n.useRef(e);n.useEffect(function(){s.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(Boolean);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!s.current.allowPinchZoom;var n,r=w(e),a=o.current,l="deltaX"in e?e.deltaX:a[0]-r[0],u="deltaY"in e?e.deltaY:a[1]-r[1],c=e.target,f=Math.abs(l)>Math.abs(u)?"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||u)&&(i.current=n),!n)return!0;var p=i.current||n;return y(p,t,e,"h"===p?l:u,!0)},[]),d=n.useCallback(function(e){if(R.length&&R[R.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=(s.current.shards||[]).map(x).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?f(e,o[0]):!s.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))},[]),C=n.useCallback(function(t){m(t.type,w(t),t.target,f(t,e.lockRef.current))},[]);n.useEffect(function(){return R.push(l),e.setCallbacks({onScrollCapture:g,onWheelCapture:g,onTouchMoveCapture:C}),document.addEventListener("wheel",d,p),document.addEventListener("touchmove",d,p),document.addEventListener("touchstart",v,p),function(){R=R.filter(function(e){return e!==l}),document.removeEventListener("wheel",d,p),document.removeEventListener("touchmove",d,p),document.removeEventListener("touchstart",v,p)}},[]);var A=e.removeScrollBar,L=e.inert;return n.createElement(n.Fragment,null,L?n.createElement(l,{styles:"\n  .block-interactivity-".concat(a," {pointer-events: none;}\n  .allow-interactivity-").concat(a," {pointer-events: all;}\n")}):null,A?n.createElement(u.RemoveScrollBar,{gapMode:e.gapMode}):null)});var A=n.forwardRef(function(e,r){return n.createElement(l,(0,t.__assign)({}
2,e,{ref:r,sideCar:C}))});A.classNames=l.classNames,e.s(["RemoveScroll",0,A],924521)}]);
3
4//# debugId=992f747e-111b-6a37-9969-34a8825206cb

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.