PageSourceSearch

https://app.hume.ai/_next/static/chunks/e220a9c5c18fe70a.js

js hume.ai collected 2026-09-24 09:42:18 UTC 39,182 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]="106f19bd-88d5-df9f-a050-c82173fe61d9")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,432567,e=>{"use strict";var t=e.i(610652),n=e.i(44532),r=Object.defineProperty,i=t[" useId ".trim().toString()]||(()=>void 0),o=0;function l(e){let[r,l]=t.useState(i());return(0,n.useLayoutEffect)(()=>{e||l(e=>e??String(o++))},[e]),e||(r?`radix-${r}`:"")}r(l,"name",{value:"useId",configurable:!0}),e.s(["useId",()=>l])},232253,e=>{"use strict";var t=e.i(610652);function n(e){let n=t.useRef(e);return t.useEffect(()=>{n.current=e}),t.useMemo(()=>(...e)=>n.current?.(...e),[])}(0,Object.defineProperty)(n,"name",{value:"useCallbackRef",configurable:!0}),e.s(["useCallbackRef",()=>n])},697351,e=>{"use strict";var t,n=e.i(610652),r=e.i(543836),i=e.i(119359),o=e.i(166100),l=e.i(232253),a=e.i(355798),u=Object.defineProperty,s=(e,t)=>u(e,"name",{value:t,configurable:!0}),c="dismissableLayer.update",f=n.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),d=n.forwardRef(s(function(e,u){let{disableOutsidePointerEvents:d=!1,deferPointerDownOutside:p=!1,onEscapeKeyDown:m,onPointerDownOutside:y,onFocusOutside:w,onInteractOutside:b,onDismiss:x,...E}=e,R=n.useContext(f),[P,O]=n.useState(null),C=P?.ownerDocument??globalThis?.document,[,L]=n.useState({}),A=(0,o.useComposedRefs)(u,O),S=Array.from(R.layers),[T]=[...R.layersWithOutsidePointerEventsDisabled].slice(-1),D=T?S.indexOf(T):-1,k=P?S.indexOf(P):-1,M=R.layersWithOutsidePointerEventsDisabled.size>0,N=k>=D,F=n.useRef(!1),j=h(e=>{y?.(e),b?.(e),e.defaultPrevented||x?.()},{ownerDocument:C,deferPointerDownOutside:p,isDeferredPointerDownOutsideRef:F,dismissableSurfaces:R.dismissableSurfaces,shouldHandlePointerDownOutside:n.useCallback(e=>{if(!(e instanceof Node))return!1;let t=[...R.branches].some(t=>t.contains(e));return N&&!t},[R.branches,N])}),W=g(e=>{if(p&&F.current)return;let t=e.target;![...R.branches].some(e=>e.contains(t))&&(w?.(e),b?.(e),e.defaultPrevented||x?.())},C),H=!!P&&k===S.length-1,I=(0,l.useCallbackRef)(e=>{"Escape"===e.key&&(m?.(e),!e.defaultPrevented&&x&&(e.preventDefault(),x()))});return n.useEffect(()=>{if(H)return C.addEventListener("keydown",I,{capture:!0}),()=>C.removeEventListener("keydown",I,{capture:!0})},[C,H,I]),n.useEffect(()=>{if(P)return d&&(0===R.layersWithOutsidePointerEventsDisabled.size&&(t=C.body.style.pointerEvents,C.body.style.pointerEvents="none"),R.layersWithOutsidePointerEventsDisabled.add(P)),R.layers.add(P),v(),()=>{d&&(R.layersWithOutsidePointerEventsDisabled.delete(P),0===R.layersWithOutsidePointerEventsDisabled.size&&(C.body.style.pointerEvents=t))}},[P,C,d,R]),n.useEffect(()=>()=>{P&&(R.layers.delete(P),R.layersWithOutsidePointerEventsDisabled.delete(P),v())},[P,R]),n.useEffect(()=>{let e=s(()=>L({}),"handleUpdate");return document.addEventListener(c,e),()=>document.removeEventListener(c,e)},[]),(0,a.jsx)(i.Primitive.div,{...E,ref:A,style:{pointerEvents:M?N?"auto":"none":void 0,...e.style},onFocusCapture:(0,r.composeEventHandlers)(e.onFocusCapture,W.onFocusCapture),onBlurCapture:(0,r.composeEventHandlers)(e.onBlurCapture,W.onBlurCapture),onPointerDownCapture:(0,r.composeEventHandlers)(e.onPointerDownCapture,j.onPointerDownCapture)})},"DismissableLayer"));function p(){let e=n.useContext(f),[t,r]=n.useState(null);return n.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),r}s(p,"useDismissableLayerSurface");var m=s(()=>!0,"IS_TRUE");function h(e,t){let{ownerDocument:r=globalThis?.document,deferPointerDownOutside:i=!1,isDeferredPointerDownOutsideRef:o,dismissableSurfaces:a,shouldHandlePointerDownOutside:u=m}=t,c=(0,l.useCallbackRef)(e),f=n.useRef(!1),d=n.useRef(!1),p=n.useRef(new Map),h=n.useRef(()=>{});return n.useEffect(()=>{function e(){d.current=!1,o.current=!1,p.current.clear()}function t(){return Array.from(p.current.values()).some(Boolean)}function n(e){if(!d.current)return;let t=e.target;t instanceof Node&&[...a].some(e=>e.contains(t))||p.current.set(e.type,!0),"click"===e.type&&window.setTimeout(()=>{d.current&&h.current()},0)}function l(e){d.current&&p.current.set(e.type,!1)}s(e,"resetOutsideInteraction"),s(t,"isOutsideInteractionIntercepted"),s(n,"handleInteractionCapture"),s(l,"handleInteractionBubble");let m=s(n=>{if(n.target&&!f.current){let l=function(){r.removeEventListener("click",h.current);let n=t();e(),n||y("dismissableLayer.pointerDownOutside",c,a,{discrete:!0})};if(s(l,"handleAndDispatchPointerDownOutsideEvent"),!u(n.target)){r.removeEventListener("click",h.current),e(
2),f.current=!1;return}let a={originalEvent:n};d.current=!0,o.current=i&&0===n.button,p.current.clear(),i&&0===n.button?(r.removeEventListener("click",h.current),h.current=l,r.addEventListener("click",h.current,{once:!0})):l()}else r.removeEventListener("click",h.current),e();f.current=!1},"handlePointerDown"),g=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(let e of g)r.addEventListener(e,n,!0),r.addEventListener(e,l);let v=window.setTimeout(()=>{r.addEventListener("pointerdown",m)},0);return()=>{for(let e of(window.clearTimeout(v),r.removeEventListener("pointerdown",m),r.removeEventListener("click",h.current),g))r.removeEventListener(e,n,!0),r.removeEventListener(e,l)}},[r,c,i,o,a,u]),{onPointerDownCapture:s(()=>f.current=!0,"onPointerDownCapture")}}function g(e,t=globalThis?.document){let r=(0,l.useCallbackRef)(e),i=n.useRef(!1);return n.useEffect(()=>{let e=s(e=>{e.target&&!i.current&&y("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:s(()=>i.current=!0,"onFocusCapture"),onBlurCapture:s(()=>i.current=!1,"onBlurCapture")}}function v(){let e=new CustomEvent(c);document.dispatchEvent(e)}function y(e,t,n,{discrete:r}){let o=n.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?(0,i.dispatchDiscreteCustomEvent)(o,l):o.dispatchEvent(l)}s(h,"usePointerDownOutside"),s(g,"useFocusOutside"),s(v,"dispatchUpdate"),s(y,"handleAndDispatchCustomEvent"),e.s(["DismissableLayer",()=>d,"useDismissableLayerSurface",()=>p])},466033,e=>{"use strict";var t=e.i(610652),n=e.i(934664),r=e.i(119359),i=e.i(44532),o=e.i(355798),l=Object.defineProperty,a=t.forwardRef(l(function(e,l){let{container:a,...u}=e,[s,c]=t.useState(!1);(0,i.useLayoutEffect)(()=>c(!0),[]);let f=a||s&&globalThis?.document?.body;return f?n.createPortal((0,o.jsx)(r.Primitive.div,{...u,ref:l}),f):null},"name",{value:"Portal",configurable:!0}));e.s(["Portal",()=>a,"Root",()=>a])},889552,e=>{"use strict";var t=e.i(610652),n=e.i(44532),r=Object.defineProperty,i=(e,t)=>r(e,"name",{value:t,configurable:!0});function o(e,n){return t.useReducer((e,t)=>n[e][t]??e,e)}i(o,"useStateMachine");var l=i(e=>{let{present:n,children:r}=e,i=a(n),o="function"==typeof r?r({present:i.isPresent}):t.Children.only(r),l=s(i.ref,f(o));return"function"==typeof r||i.isPresent?t.cloneElement(o,{ref:l}):null},"Presence");function a(e){let[r,l]=t.useState(),a=t.useRef(null),u=t.useRef(e),s=t.useRef("none"),f=t.useRef(void 0),[d,p]=o(e?"mounted":"unmounted",{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return t.useEffect(()=>{"mounted"===d?(s.current=f.current??c(a.current),f.current=void 0):s.current="none"},[d]),(0,n.useLayoutEffect)(()=>{let t=a.current,n=u.current;if(n!==e){let r=s.current,i=c(t);e?(f.current=i,p("MOUNT")):"none"===i||t?.display==="none"?p("UNMOUNT"):n&&r!==i?p("ANIMATION_OUT"):p("UNMOUNT"),u.current=e}},[e,p]),(0,n.useLayoutEffect)(()=>{if(r){let e,t=r.ownerDocument.defaultView??window,n=i(n=>{let i=c(a.current).includes(CSS.escape(n.animationName));if(n.target===r&&i&&(p("ANIMATION_END"),!u.current)){let n=r.style.animationFillMode;r.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===r.style.animationFillMode&&(r.style.animationFillMode=n)})}},"handleAnimationEnd"),o=i(e=>{e.target===r&&(s.current=c(a.current))},"handleAnimationStart");return r.addEventListener("animationstart",o),r.addEventListener("animationcancel",n),r.addEventListener("animationend",n),()=>{t.clearTimeout(e),r.removeEventListener("animationstart",o),r.removeEventListener("animationcancel",n),r.removeEventListener("animationend",n)}}p("ANIMATION_END")},[r,p]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:t.useCallback(e=>{if(e){let t=getComputedStyle(e);a.current=t,f.current=c(t)}else a.current=null;l(e)},[])}}function u(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function s(...e){let n=t.useRef(e);return n.current=e,t.useCallback(e=>{let t=n.current,r=!1,i=t.map(t=>{let n=u(t,e);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let e=0;e<i.length;e++){let n=i[e];"function"==typeof n?n():u(t[e],null)}}},[])}function c(e){return e?.animationName||"none"}function f(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(n=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}i(a,"usePresence"),i(u,"setRef"),i(s,"useStableComposedRefs"),i(c,"getAnimationName"),i(f,"getElementRef"),e.s(["Presence",()=>l])},825339,e=>{"use strict";let t,n=["top","right","bottom","left"],r=n.reduce((e,t)=>
2e.concat(t,t+"-start",t+"-end"),[]),i=Math.min,o=Math.max,l=Math.round,a=Math.floor,u=e=>({x:e,y:e}),s={left:"right",right:"left",bottom:"top",top:"bottom"};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){let t=e[0];return"t"===t||"b"===t?"y":"x"}function g(e,t,n){void 0===n&&(n=!1);let r=d(e),i=p(h(e)),o=m(i),l="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(l=E(l)),[l,E(l)]}function v(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let y=["left","right"],w=["right","left"],b=["top","bottom"],x=["bottom","top"];function E(e){let t=f(e);return s[t]+e.slice(t.length)}function R(e){var t,n,r,i;return"number"!=typeof e?{top:null!=(t=e.top)?t:0,right:null!=(n=e.right)?n:0,bottom:null!=(r=e.bottom)?r:0,left:null!=(i=e.left)?i:0}:{top:e,right:e,bottom:e,left:e}}function P(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function O(e,t,n){let r,{reference:i,floating:o}=e,l=h(t),a=p(h(t)),u=m(a),s=f(t),c=i.x+i.width/2-o.width/2,g=i.y+i.height/2-o.height/2,v=i[u]/2-o[u]/2;switch(s){case"top":r={x:c,y:i.y-o.height};break;case"bottom":r={x:c,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:g};break;case"left":r={x:i.x-o.width,y:g};break;default:r={x:i.x,y:i.y}}let y=d(t);return y&&(r[a]+=v*("end"===y?1:-1)*(n&&"y"===l?-1:1)),r}async function C(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:o,rects:l,elements:a,strategy:u}=e,{boundary:s="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:p=!1,padding:m=0}=c(t,e),h=R(m),g=a[p?"floating"===d?"reference":"floating":d],v=P(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(g)))||n?g:g.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:s,rootBoundary:f,strategy:u})),y="floating"===d?{x:r,y:i,width:l.floating.width,height:l.floating.height}:l.reference,w=await (null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),b=await (null==o.isElement?void 0:o.isElement(w))&&await (null==o.getScale?void 0:o.getScale(w))||{x:1,y:1},x=P(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:w,strategy:u}):y);return{top:(v.top-x.top+h.top)/b.y,bottom:(x.bottom-v.bottom+h.bottom)/b.y,left:(v.left-x.left+h.left)/b.x,right:(x.right-v.right+h.right)/b.x}}let L=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,a=l.detectOverflow?l:{...l,detectOverflow:C},u=await (null==l.isRTL?void 0:l.isRTL(t)),s=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:f}=O(s,r,u),d=r,p=0,m={};for(let n=0;n<o.length;n++){let h=o[n];if(!h)continue;let{name:g,fn:v}=h,{x:y,y:w,data:b,reset:x}=await v({x:c,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:m,rects:s,platform:a,elements:{reference:e,floating:t}});c=null!=y?y:c,f=null!=w?w:f,m[g]={...m[g],...b},x&&p<50&&(p++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(s=!0===x.rects?await l.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:c,y:f}=O(s,d,u)),n=-1)}return{x:c,y:f,placement:d,strategy:i,middlewareData:m}};function A(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function S(e){return n.some(t=>e[t]>=0)}function T(e){let t=i(...e.map(e=>e.left)),n=i(...e.map(e=>e.top));return{x:t,y:n,width:o(...e.map(e=>e.right))-t,height:o(...e.map(e=>e.bottom))-n}}let D=new Set(["left","top"]);async function k(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),l=f(n),a=d(n),u="y"===h(n),s=D.has(l)?-1:1,p=o&&u?-1:1,m=c(t,e),{mainAxis:g,crossAxis:v,alignmentAxis:y}="number"==typeof m?{mainAxis:m,crossAxis:0,alignmentAxis:null}
2:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return a&&"number"==typeof y&&(v="end"===a?-1*y:y),u?{x:v*p,y:g*s}:{x:g*s,y:v*p}}function M(){return"u">typeof window}function N(e){return W(e)?(e.nodeName||"").toLowerCase():"#document"}function F(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function j(e){var t;return null==(t=(W(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function W(e){return!!M()&&(e instanceof Node||e instanceof F(e).Node)}function H(e){return!!M()&&(e instanceof Element||e instanceof F(e).Element)}function I(e){return!!M()&&(e instanceof HTMLElement||e instanceof F(e).HTMLElement)}function B(e){return!(!M()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof F(e).ShadowRoot)}function U(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=K(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==i&&"contents"!==i}function $(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let z=/transform|translate|scale|rotate|perspective|filter/,V=/paint|layout|strict|content/,_=e=>!!e&&"none"!==e;function Y(e){let t=H(e)?K(e):e;return _(t.transform)||_(t.translate)||_(t.scale)||_(t.rotate)||_(t.perspective)||!X()&&(_(t.backdropFilter)||_(t.filter))||z.test(t.willChange||"")||V.test(t.contain||"")}function X(){return null==t&&(t="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),t}function q(e){return/^(html|body|#document)$/.test(N(e))}function K(e){return F(e).getComputedStyle(e)}function G(e){return H(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function J(e){if("html"===N(e))return e;let t=e.assignedSlot||e.parentNode||B(e)&&e.host||j(e);return B(t)?t.host:t}function Q(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=J(t);return q(n)?(t.ownerDocument||t).body:I(n)&&U(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),l=F(i);if(!o)return t.concat(i,Q(i,[],n));{let e=Z(l);return t.concat(l,l.visualViewport||[],U(i)?i:[],e&&n?Q(e):[])}}function Z(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ee(e){let t=K(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=I(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,u=l(n)!==o||l(r)!==a;return u&&(n=o,r=a),{width:n,height:r,$:u}}function et(e){return H(e)?e:e.contextElement}function en(e){let t=et(e);if(!I(t))return u(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:o}=ee(t),a=(o?l(n.width):n.width)/r,s=(o?l(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}let er=u(0);function ei(e){let t=F(e);return X()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:er}function eo(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),l=et(e),a=u(1);t&&(r?H(r)&&(a=en(r)):a=en(e));let s=(void 0===(i=n)&&(i=!1),r&&i&&r===F(l))?ei(l):u(0),c=(o.left+s.x)/a.x,f=(o.top+s.y)/a.y,d=o.width/a.x,p=o.height/a.y;if(l&&r){let e=F(l),t=H(r)?F(r):r,n=e,i=Z(n);for(;i&&t!==n;){let e=en(i),t=i.getBoundingClientRect(),r=K(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,f*=e.y,d*=e.x,p*=e.y,c+=o,f+=l,i=Z(n=F(i))}}return P({width:d,height:p,x:c,y:f})}function el(e,t){let n=G(e).scrollLeft;return t?t.left+n:eo(j(e)).left+n}function ea(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-el(e,n),y:n.top+t.scrollTop}}function eu(e,t,n){var r;let i;if("viewport"===t||"layoutViewport"===t)i=function(e,t,n){void 0===n&&(n="viewport");let r="layoutViewport"===n,i=F(e),o=j(e),l=i.visualViewport,a=o.clientWidth,u=o.clientHeight,s=0,c=0;if(l){let e=!X()||"fixed"===t;r?e||(s=-l.offsetLeft,c=-l.offsetTop):(a=l.width,u=l.height,e&&(s=l.offsetLeft,c=l.offsetTop))}if(0>=el(o)){let e=o.ownerDocument,t=e.body,n=getComputedStyle(t),r="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(o.clientWidth-t.clientWidth-r),l="stable both-edges"===getComputedStyle(o).scrollbarGutter?i/2:i;l<=25&&(a-=l)}return{width:a,height:u,x:s,y:c}}(e,n,t);else if("document"===t){let t,n,l,a,u,s;t=G(r=j(e)),n=r.ownerDocument.body,l=o(r.scrollWidth,r.clientWidth,n.scrollWidth,n.clientWidth),a=o(r.scrollHeight,r.clientHeight,n.scrollHeight,n.clientHeight),u=-t.scrollLeft+el(r),s=-t.scrollTop,"rtl"===K(n).direction&&(u+=o(r.clientWidth,n.clientWidth)-l),i={width:l,height:a,x:u,y:s}}else if(H(t)){let e,r,o,l,a,u;r=(e=eo(t,!0,"fixed"===n)).top+t.clientTop,o=e.left+t.clientLeft,l=en(t),a=t.clientWidth*l.x,u=t.clientHeight*l.y,i={width:a,height:u,x:o*l.x,y:r*l.y}}else{let n=ei(e);i={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return P(i)}function es(e){return"static"===K(e).position}function ec(e,t){if(!I(e)||"fixed"===K(e).position)return null;if(t)return t(e);let n=e.offsetParent;return j(e)===n&&(n=n.ownerDocument.body),n}function ef(e,t){var n;let r=F(e);if($(e))return r;if(!I(e)){let t=J(e);for(;t&&!q(t);){if(H(t)&&!es(t))return t;t=J(t)}return r}let i=ec(e,t);for(;i&&(n=i,/^(table|td|th)$/.test(N(n)))&&es(i);)i=ec(i,t);return i&&q(i)&&es(i)&&!Y(i)?r:i||function(e){let t=J(e);for(;I(t)&&!q(t);){if(Y(t))return t;if($(t))break;t=J(t)}return null}(e)||r}let ed=async function(e){let t=this.getOffsetParent||ef,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=I(t),i=j(t),o="fixed"===n,l=eo(e,!0,o,t),a={scrollLeft:0,scrollTop:0},s=u(0);if((r||!o)&&(("body"!==N(t)||U(i))&&(a=G(t)),r)){let e=eo(t,!0,o,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}!r&&i&&(s.x=el(i));let c=!i||r||o?u(0):ea(i,a);return{x:l.left+a.scrollLeft-s.x-c.x,y:l.top+a.scrollTop-s.y-c.y,width:l.width,height:l.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},ep={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,l=j(r),a=!!t&&$(t.floating);if(r===l||a&&o)return n;let s={scrollLeft:0,scrollTop:0},c=u(1),f=u(0),d=I(r);
2if((d||!o)&&(("body"!==N(r)||U(l))&&(s=G(r)),d)){let e=eo(r);c=en(r),f.x=e.x+r.clientLeft,f.y=e.y+r.clientTop}let p=!l||d||o?u(0):ea(l,s);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-s.scrollLeft*c.x+f.x+p.x,y:n.y*c.y-s.scrollTop*c.y+f.y+p.y}},getDocumentElement:j,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:l}=e,a=[..."clippingAncestors"===n?$(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=Q(e,[],!1).filter(e=>H(e)&&"body"!==N(e)),i=null,o="fixed"===K(e).position,l=o?J(e):e;for(;H(l)&&!q(l);){let e=K(l),t=Y(l),n=i?i.position:o?"fixed":"";t||"fixed"!==n&&("absolute"!==n||"static"!==e.position)?i=e:r=r.filter(e=>e!==l),l=J(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],u=eu(t,a[0],l),s=u.top,c=u.right,f=u.bottom,d=u.left;for(let e=1;e<a.length;e++){let n=eu(t,a[e],l);s=o(n.top,s),c=i(n.right,c),f=i(n.bottom,f),d=o(n.left,d)}return{width:c-d,height:f-s,x:d,y:s}},getOffsetParent:ef,getElementRects:ed,getClientRects:function(e){return e.getClientRects?Array.from(e.getClientRects()):[]},getDimensions:function(e){let{width:t,height:n}=ee(e);return{width:t,height:n}},getScale:en,isElement:H,isRTL:function(e){return"rtl"===K(e).direction}};function em(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function eh(e,t,n,r){let l;void 0===r&&(r={});let{ancestorScroll:u=!0,ancestorResize:s=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:f="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,p=et(e),m=u||s?[...p?Q(p):[],...t?Q(t):[]]:[];m.forEach(e=>{u&&e.addEventListener("scroll",n),s&&e.addEventListener("resize",n)});let h=p&&f?function(e,t,n){let r,l=null,u=j(e);function s(){var e;clearTimeout(r),null==(e=l)||e.disconnect(),l=null}function c(n,f){void 0===n&&(n=!1),void 0===f&&(f=1),s();let d=e.getBoundingClientRect(),{left:p,top:m,width:h,height:g}=d;if(n||t(),!h||!g)return;let v={rootMargin:-a(m)+"px "+-a(u.clientWidth-(p+h))+"px "+-a(u.clientHeight-(m+g))+"px "+-a(p)+"px",threshold:o(0,i(1,f))||1},y=!0;function w(t){let n=t[0].intersectionRatio;if(!em(d,e.getBoundingClientRect()))return c();if(n!==f){if(!y)return c();n?c(!1,n):r=setTimeout(()=>{c(!1,1e-7)},1e3)}y=!1}try{l=new IntersectionObserver(w,{...v,root:u.ownerDocument})}catch(e){l=new IntersectionObserver(w,v)}l.observe(e)}let f=F(e),d=()=>c(n);return f.addEventListener("resize",d),c(!0),()=>{f.removeEventListener("resize",d),s()}}(p,n,s):null,g=-1,v=null;c&&(v=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&v&&t&&(v.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=v)||e.observe(t)})),n()}),p&&!d&&v.observe(p),t&&v.observe(t));let y=d?eo(e):null;return d&&function t(){let r=eo(e);y&&!em(y,r)&&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=v)||e.disconnect(),v=null,d&&cancelAnimationFrame(l)}}let eg=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:i,y:o,placement:l,middlewareData:a}=t,u=await k(t,e);return l===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:i+u.x,y:o+u.y,data:{...u,placement:l}}}}},ev=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,i,o,l;let{rects:a,middlewareData:u,placement:s,platform:p,elements:m}=t,{crossAxis:h=!1,alignment:y,allowedPlacements:w=r,autoAlignment:b=!0,...x}=c(e,t),E=void 0!==y||w===r?((l=y||null)?[...w.filter(e=>d(e)===l),...w.filter(e=>d(e)!==l)]:w.filter(e=>f(e)===e)).filter(e=>!l||d(e)===l||!!b&&v(e)!==e):w,R=(null==(n=u.autoPlacement)?void 0:n.index)||0,P=E[R];if(null==P)return{};if(s!==P)return{reset:{placement:E[0]}};let O=await p.detectOverflow(t,x),C=g(P,a,await (null==p.isRTL?void 0:p.isRTL(m.floating))),L=[O[f(P)],O[C[0]],O[C[1]]],A=[...(null==(i=u.autoPlacement)?void 0:i.overflows)||[],{placement:P,overflows:L}],S=E[R+1];if(S)return{data:{index:R+1,overflows:A},reset:{placement:S}};let T=A.map(e=>{let t=d(e.placement);return[e.placement,t&&h?e.overflows.slice(0,2).reduce((e,t)=>
2e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),D=(null==(o=T.filter(e=>e[2].slice(0,d(e[0])?2:3).every(e=>e<=0))[0])?void 0:o[0])||T[0][0];return D!==s?{data:{index:R+1,overflows:A},reset:{placement:D}}:{}}}},ey=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:l,platform:a}=t,{mainAxis:u=!0,crossAxis:s=!1,limiter:f={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...d}=c(e,t),m={x:n,y:r},g=await a.detectOverflow(t,d),v=h(l),y=p(v),w=m[y],b=m[v],x=(e,t)=>o(t+g["y"===e?"top":"left"],i(t,t-g["y"===e?"bottom":"right"]));u&&(w=x(y,w)),s&&(b=x(v,b));let E=f.fn({...t,[y]:w,[v]:b});return{...E,data:{x:E.x-n,y:E.y-r,enabled:{[y]:u,[v]:s}}}}}},ew=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,i,o,l;let a,u,s,{placement:p,middlewareData:m,rects:R,initialPlacement:P,platform:O,elements:C}=t,{mainAxis:L=!0,crossAxis:A=!0,fallbackPlacements:S,fallbackStrategy:T="bestFit",fallbackAxisSideDirection:D="none",flipAlignment:k=!0,...M}=c(e,t);if(null!=(n=m.arrow)&&n.alignmentOffset)return{};let N=f(p),F=h(P),j=f(P)===P,W=await (null==O.isRTL?void 0:O.isRTL(C.floating)),H=S||(j||!k?[E(P)]:(a=E(P),[v(P),a,v(a)])),I="none"!==D;!S&&I&&H.push(...(u=d(P),s=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?w:y;return t?y:w;case"left":case"right":return t?b:x;default:return[]}}(f(P),"start"===D,W),u&&(s=s.map(e=>e+"-"+u),k&&(s=s.concat(s.map(v)))),s));let B=[P,...H],U=await O.detectOverflow(t,M),$=[],z=(null==(r=m.flip)?void 0:r.overflows)||[];if(L&&$.push(U[N]),A){let e=g(p,R,W);$.push(U[e[0]],U[e[1]])}if(z=[...z,{placement:p,overflows:$}],!$.every(e=>e<=0)){let e=((null==(i=m.flip)?void 0:i.index)||0)+1,t=B[e];if(t&&("alignment"!==A||F===h(t)||z.every(e=>h(e.placement)!==F||e.overflows[0]>0)))return{data:{index:e,overflows:z},reset:{placement:t}};let n=null==(o=z.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(T){case"bestFit":{let e=null==(l=z.filter(e=>{if(I){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:l[0];e&&(n=e);break}case"initialPlacement":n=P}if(p!==n)return{reset:{placement:n}}}return{}}}},eb=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){let n,r,{placement:l,rects:a,platform:u,elements:s}=t,{apply:p=()=>{},...m}=c(e,t),g=await u.detectOverflow(t,m),v=f(l),y=d(l),w="y"===h(l),{width:b,height:x}=a.floating;"top"===v||"bottom"===v?(n=v,r=y===(await (null==u.isRTL?void 0:u.isRTL(s.floating))?"start":"end")?"left":"right"):(r=v,n="end"===y?"top":"bottom");let E=x-g.top-g.bottom,R=b-g.left-g.right,P=i(x-g[n],E),O=i(b-g[r],R),C=t.middlewareData.shift,L=!C,A=P,S=O;null!=C&&C.enabled.x&&(S=R),null!=C&&C.enabled.y&&(A=E),L&&!y&&(w?S=b-2*o(g.left,g.right):A=x-2*o(g.top,g.bottom)),await p({...t,availableWidth:S,availableHeight:A});let T=await u.getDimensions(s.floating);return b!==T.width||x!==T.height?{reset:{rects:!0}}:{}}}},ex=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:i="referenceHidden",...o}=c(e,t);switch(i){case"referenceHidden":{let e=A(await r.detectOverflow(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:S(e)}}}case"escaped":{let e=A(await r.detectOverflow(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:S(e)}}}default:return{}}}}},eE=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:l,rects:a,platform:u,elements:s,middlewareData:f}=t,{element:g,padding:v=0}=c(e,t)||{};if(null==g)return{};let y=R(v),w={x:n,y:r},b=p(h(l)),x=m(b),E=await u.getDimensions(g),P="y"===b,O=P?"clientHeight":"clientWidth",C=a.reference[x]+a.reference[b]-w[b]-a.floating[x],L=w[b]-a.reference[b],A=await (null==u.getOffsetParent?void 0:u.getOffsetParent(g)),S=A?A[O]:0;S&&await (null==u.isElement?void 0:u.isElement(A))||(S=s.floating[O]||a.floating[x]);let T=S/2-E[x]/2-1,D=i(y[P?"top":"left"],T),k=i(y[P?"bottom":"right"],T),M=S-E[x]-k,N=S/2-E[x]/2+(C/2-L/2),F=o(D,i(N,M)),j=!f.arrow&&null!=d(l)&&N!==F&&a.reference[x]/2-(N<D?D:k)-E[x]/2<0,W=j?N<D?N-D:N-M:0;return{[b]:w[b]+W,data:{[b]:F,centerOffset:N-F-W,...j&&{alignmentOffset:W}},reset:j}}}),eR=function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){let{placement:n,elements:r,rects:l,platform:a,strategy:u}=t,{padding:s=2,x:d,y:p}=c(e,t),m=Array.from(await (null==a.getClientRects?void 0:a.getClientRects(r.reference))||[]);if(!m.length)return{};let g=function(e){let t=e.slice().sort((e,t)=>
2e.y-t.y),n=[],r=null;for(let e=0;e<t.length;e++){let i=t[e];!r||i.y-r.y>r.height/2?n.push([i]):n[n.length-1].push(i),r=i}return n.map(e=>P(T(e)))}(m),v=P(T(m)),y=R(s),w=await a.getElementRects({reference:{getBoundingClientRect:function(){if(2===g.length&&(g[0].left>g[1].right||g[1].left>g[0].right)&&null!=d&&null!=p)return g.find(e=>d>e.left-y.left&&d<e.right+y.right&&p>e.top-y.top&&p<e.bottom+y.bottom)||v;if(g.length>=2){if("y"===h(n)){let e=g[0],t=g[g.length-1],r="top"===f(n),i=e.top,o=t.bottom,l=r?e.left:t.left;return P({x:l,y:i,width:(r?e.right:t.right)-l,height:o-i})}let e="left"===f(n),t=o(...g.map(e=>e.right)),r=i(...g.map(e=>e.left)),l=g.filter(n=>e?n.left===r:n.right===t),a=l[0].top;return P({x:r,y:a,width:t-r,height:l[l.length-1].bottom-a})}return v}},floating:r.floating,strategy:u});return l.reference.x!==w.reference.x||l.reference.y!==w.reference.y||l.reference.width!==w.reference.width||l.reference.height!==w.reference.height?{reset:{rects:w}}:{}}}},eP=function(e){return void 0===e&&(e={}),{options:e,fn(t){var n,r,i,o;let{x:l,y:a,placement:u,rects:s,middlewareData:d}=t,{offset:m=0,mainAxis:g=!0,crossAxis:v=!0}=c(e,t),y={x:l,y:a},w=h(u),b=p(w),x=y[b],E=y[w],R=c(m,t),P="number"==typeof R?{mainAxis:R,crossAxis:0}:{mainAxis:null!=(n=R.mainAxis)?n:0,crossAxis:null!=(r=R.crossAxis)?r:0};if(g){let e="y"===b?"height":"width",t=s.reference[b]-s.floating[e]+P.mainAxis,n=s.reference[b]+s.reference[e]-P.mainAxis;x<t?x=t:x>n&&(x=n)}if(v){let e="y"===b?"width":"height",t=D.has(f(u)),n=s.reference[w]-s.floating[e]+(t&&(null==(i=d.offset)?void 0:i[w])||0)+(t?0:P.crossAxis),r=s.reference[w]+s.reference[e]+(t?0:(null==(o=d.offset)?void 0:o[w])||0)-(t?P.crossAxis:0);E<n?E=n:E>r&&(E=r)}return{[b]:x,[w]:E}}}},eO=(e,t,n)=>{let r=new Map,i=null!=n?n:{},o={...ep,...i.platform,_c:r};return L(e,t,{...i,platform:o})};e.s(["arrow",()=>eE,"autoPlacement",()=>ev,"autoUpdate",()=>eh,"computePosition",()=>eO,"flip",()=>ew,"hide",()=>ex,"inline",()=>eR,"limitShift",()=>eP,"offset",()=>eg,"shift",()=>ey,"size",()=>eb],825339)},365201,e=>{"use strict";var t=e.i(610652),n=e.i(825339),r=e.i(934664),i="u">typeof document?t.useLayoutEffect:function(){};function o(e,t){let n,r,i;if(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(!o(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!o(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function l(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function a(e,t){let n=l(e);return Math.round(t*n)/n}function u(e){let n=t.useRef(e);return i(()=>{n.current=e}),n}var s=e.i(119359),c=e.i(355798),f=Object.defineProperty,d=t.forwardRef(f(function(e,t){let{children:n,width:r=10,height:i=5,...o}=e;return(0,c.jsx)(s.Primitive.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,c.jsx)("polygon",{points:"0,0 30,0 15,10"})})},"name",{value:"Arrow",configurable:!0})),p=e.i(166100),m=e.i(264145),h=e.i(232253),g=e.i(44532),v=e.i(114971),y=Object.defineProperty,w=(e,t)=>y(e,"name",{value:t,configurable:!0}),b="Popper",[x,E]=(0,m.createContextScope)(b),[R,P]=x(b),O=w(e=>{let{__scopePopper:n,children:r}=e,[i,o]=t.useState(null),[l,a]=t.useState(void 0);return(0,c.jsx)(R,{scope:n,anchor:i,onAnchorChange:o,placementState:l,setPlacementState:a,children:r})},"Popper"),C=t.forwardRef(w(function(e,n){let{__scopePopper:r,virtualRef:i,...o}=e,l=P("PopperAnchor",r),a=t.useRef(null),u=l.onAnchorChange,f=t.useCallback(e=>{a.current=e,e&&u(e)},[u]),d=(0,p.useComposedRefs)(n,f),m=t.useRef(null);t.useEffect(()=>{if(!i)return;let e=m.current;m.current=i.current,e!==m.current&&u(m.current)});let h=l.placementState&&F(l.placementState),g=h?.[0],v=h?.[1];return i?null:(0,c.jsx)(s.Primitive.div,{"data-radix-popper-side":g,"data-radix-popper-align":v,...o,ref:d})},"PopperAnchor")),L="PopperContent",[A,S]=x(L),T=t.forwardRef(w(function(e,f){var d,m,y,b,x,E,R;let O,C,S,T,D,k,{__scopePopper:j,side:W="bottom",sideOffset:H=0,align:I="center",alignOffset:B=0,arrowPadding:U=0,avoidCollisions:$=!0,collisionBoundary:z=[],collisionPadding:V=0,sticky:_="partial",hideWhenDetached:Y=!1,updatePositionStrategy:X="optimized",onPlaced:q,...K}=e,G=P(L,j),[J,Q]=t.useState(null),Z=(0,p.useComposedRefs)(f,Q),[ee,et]=t.useState(null),en=(0,v.useSize)(ee),er=en?.width??0,ei=en?.height??0,eo="number"==typeof V?V:{top:0,right:0,bottom:0,left:0,...V},el=Array.isArray(z)?z:[z],ea=el.length>0,eu={padding:eo,boundary:el.filter(M),altBoundary:ea},{refs:es,floatingStyles:ec,placement:ef,isPositioned:ed,middlewareData:ep}=function(e){void 0===e&&(e={});let{placement:s="bottom",strategy:c="absolute",middleware:f=[],platform:d,elements:{reference:p,floating:m}={},transform:h=!0,whileElementsMounted:g,open:v}=e,[y,w]=t.useState({x:0,y:0,strategy:c,placement:s,middlewareData:{},isPositioned:!1}),[b,x]=t.useState(f);o(b,f)||x(f);let[E,R]=t.useState(null),[P,O]=t.useState(null),C=t.useCallback(e=>
2{e!==T.current&&(T.current=e,R(e))},[]),L=t.useCallback(e=>{e!==D.current&&(D.current=e,O(e))},[]),A=p||E,S=m||P,T=t.useRef(null),D=t.useRef(null),k=t.useRef(y),M=null!=g,N=u(g),F=u(d),j=u(v),W=t.useCallback(()=>{if(!T.current||!D.current)return;let e={placement:s,strategy:c,middleware:b};F.current&&(e.platform=F.current),(0,n.computePosition)(T.current,D.current,e).then(e=>{let t={...e,isPositioned:!1!==j.current};H.current&&!o(k.current,t)&&(k.current=t,r.flushSync(()=>{w(t)}))})},[b,s,c,F,j]);i(()=>{!1===v&&k.current.isPositioned&&(k.current.isPositioned=!1,w(e=>({...e,isPositioned:!1})))},[v]);let H=t.useRef(!1);i(()=>(H.current=!0,()=>{H.current=!1}),[]),i(()=>{if(A&&(T.current=A),S&&(D.current=S),A&&S){if(N.current)return N.current(A,S,W);W()}},[A,S,W,N,M]);let I=t.useMemo(()=>({reference:T,floating:D,setReference:C,setFloating:L}),[C,L]),B=t.useMemo(()=>({reference:A,floating:S}),[A,S]),U=t.useMemo(()=>{let e={position:c,left:0,top:0};if(!B.floating)return e;let t=a(B.floating,y.x),n=a(B.floating,y.y);return h?{...e,transform:"translate("+t+"px, "+n+"px)",...l(B.floating)>=1.5&&{willChange:"transform"}}:{position:c,left:t,top:n}},[c,h,B.floating,y.x,y.y]);return t.useMemo(()=>({...y,update:W,refs:I,elements:B,floatingStyles:U}),[y,W,I,B,U])}({strategy:"fixed",placement:W+("center"!==I?"-"+I:""),whileElementsMounted:w((...e)=>(0,n.autoUpdate)(...e,{animationFrame:"always"===X}),"whileElementsMounted"),elements:{reference:G.anchor},middleware:[(d={mainAxis:H+ei,alignmentAxis:B},{name:(O=(0,n.offset)(d)).name,fn:O.fn,options:[d,void 0]}),$&&(m={mainAxis:!0,crossAxis:!1,limiter:"partial"===_?{fn:(0,n.limitShift)(void 0).fn,options:[void 0,void 0]}:void 0,...eu},{name:(C=(0,n.shift)(m)).name,fn:C.fn,options:[m,void 0]}),$&&(y={...eu},{name:(S=(0,n.flip)(y)).name,fn:S.fn,options:[y,void 0]}),(b={...eu,apply:w(({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:o}=t.reference,l=e.floating.style;l.setProperty("--radix-popper-available-width",`${n}px`),l.setProperty("--radix-popper-available-height",`${r}px`),l.setProperty("--radix-popper-anchor-width",`${i}px`),l.setProperty("--radix-popper-anchor-height",`${o}px`)},"apply")},{name:(T=(0,n.size)(b)).name,fn:T.fn,options:[b,void 0]}),ee&&{name:(D={name:"arrow",options:E=x={element:ee,padding:U},fn(e){let{element:t,padding:r}="function"==typeof E?E(e):E;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?(0,n.arrow)({element:t.current,padding:r}).fn(e):{}:t?(0,n.arrow)({element:t,padding:r}).fn(e):{}}}).name,fn:D.fn,options:[x,void 0]},N({arrowWidth:er,arrowHeight:ei}),Y&&(R={strategy:"referenceHidden",...eu,boundary:ea?eu.boundary:void 0},{name:(k=(0,n.hide)(R)).name,fn:k.fn,options:[R,void 0]})]}),em=G.setPlacementState;(0,g.useLayoutEffect)(()=>(em(ef),()=>{em(void 0)}),[ef,em]);let[eh,eg]=F(ef),ev=(0,h.useCallbackRef)(q);(0,g.useLayoutEffect)(()=>{ed&&ev?.()},[ed,ev]);let ey=ep.arrow?.x,ew=ep.arrow?.y,eb=ep.arrow?.centerOffset!==0,[ex,eE]=t.useState();return(0,g.useLayoutEffect)(()=>{J&&eE(window.getComputedStyle(J).zIndex)},[J]),(0,c.jsx)("div",{ref:es.setFloating,"data-radix-popper-content-wrapper":"",style:{...ec,transform:ed?ec.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ex,"--radix-popper-transform-origin":[ep.transformOrigin?.x,ep.transformOrigin?.y].join(" "),...ep.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,c.jsx)(A,{scope:j,placedSide:eh,placedAlign:eg,onArrowChange:et,arrowX:ey,arrowY:ew,shouldHideArrow:eb,children:(0,c.jsx)(s.Primitive.div,{"data-side":eh,"data-align":eg,...K,ref:Z,style:{...K.style,animation:ed?K.style?.animation:"none"}})})})},"PopperContent")),D={top:"bottom",right:"left",bottom:"top",left:"right"},k=t.forwardRef(w(function(e,t){let{__scopePopper:n,...r}=e,i=S("PopperArrow",n),o=D[i.placedSide];return(0,c.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,c.jsx)(d,{...r,ref:t,style:{...r.style,display:"block"}})})},"PopperArrow"));function M(e){return null!==e}w(M,"isNotNull");var N=w(e=>({name:"transformOrigin",options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,o=i.arrow?.centerOffset!==0,l=o?0:e.arrowWidth,a=o?0:e.arrowHeight,[u,s]=F(n),c={start:"0%",center:"50%",end:"100%"}[s],f=(i.arrow?.x??0)+l/2,d=(i.arrow?.y??0)+a/2,p="",m="";return"bottom"===u?(p=o?c:`${f}px`,m=`${-a}px`):"top"===u?(p=o?c:`${f}px`,m=`${r.floating.height+a}px`):"right"===u?(p=`${-a}px`,m=o?c:`${d}px`):"left"===u&&(p=`${r.floating.width+a}px`,m=o?c:`${d}px`),{data:{x:p,y:m}}}}),"transformOrigin");function F(e){let[t,n="center"]=e.split("-");return[t,n]}w(F,"getSideAndAlignFromPlacement"),e.s(["Anchor",()=>C,"Arrow",()=>k,"Content",()=>T,"Root",()=>O,"createPopperScope",()=>E],365201)}]);
3
4//# debugId=106f19bd-88d5-df9f-a050-c82173fe61d9

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.