1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,853660,t=>{"use strict";var e=t.i(271645);let n=["top","right","bottom","left"],r=Math.min,i=Math.max,o=Math.round,l=Math.floor,a=t=>({x:t,y:t}),f={left:"right",right:"left",bottom:"top",top:"bottom"},s={start:"end",end:"start"};function c(t,e){return"function"==typeof t?t(e):t}function u(t){return t.split("-")[0]}function d(t){return t.split("-")[1]}function p(t){return"x"===t?"y":"x"}function h(t){return"y"===t?"height":"width"}let m=new Set(["top","bottom"]);function g(t){return m.has(u(t))?"y":"x"}function w(t){return t.replace(/start|end/g,t=>s[t])}let y=["left","right"],x=["right","left"],v=["top","bottom"],b=["bottom","top"];function R(t){return t.replace(/left|right|bottom|top/g,t=>f[t])}function A(t){return"number"!=typeof t?{top:0,right:0,bottom:0,left:0,...t}:{top:t,right:t,bottom:t,left:t}}function S(t){let{x:e,y:n,width:r,height:i}=t;return{width:r,height:i,top:n,left:e,right:e+r,bottom:n+i,x:e,y:n}}function O(t,e,n){let r,{reference:i,floating:o}=t,l=g(e),a=p(g(e)),f=h(a),s=u(e),c="y"===l,m=i.x+i.width/2-o.width/2,w=i.y+i.height/2-o.height/2,y=i[f]/2-o[f]/2;switch(s){case"top":r={x:m,y:i.y-o.height};break;case"bottom":r={x:m,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:w};break;case"left":r={x:i.x-o.width,y:w};break;default:r={x:i.x,y:i.y}}switch(d(e)){case"start":r[a]-=y*(n&&c?-1:1);break;case"end":r[a]+=y*(n&&c?-1:1)}return r}async function C(t,e){var n;void 0===e&&(e={});let{x:r,y:i,platform:o,rects:l,elements:a,strategy:f}=t,{boundary:s="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=c(e,t),m=A(h),g=a[p?"floating"===d?"reference":"floating":d],w=S(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:u,strategy:f})),y="floating"===d?{x:r,y:i,width:l.floating.width,height:l.floating.height}:l.reference,x=await (null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),v=await (null==o.isElement?void 0:o.isElement(x))&&await (null==o.getScale?void 0:o.getScale(x))||{x:1,y:1},b=S(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:x,strategy:f}):y);return{top:(w.top-b.top+m.top)/v.y,bottom:(b.bottom-w.bottom+m.bottom)/v.y,left:(w.left-b.left+m.left)/v.x,right:(b.right-w.right+m.right)/v.x}}let T=async(t,e,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,a=o.filter(Boolean),f=await (null==l.isRTL?void 0:l.isRTL(e)),s=await l.getElementRects({reference:t,floating:e,strategy:i}),{x:c,y:u}=O(s,r,f),d=r,p={},h=0;for(let n=0;n<a.length;n++){var m;let{name:o,fn:g}=a[n],{x:w,y:y,data:x,reset:v}=await g({x:c,y:u,initialPlacement:r,placement:d,strategy:i,middlewareData:p,rects:s,platform:{...l,detectOverflow:null!=(m=l.detectOverflow)?m:C},elements:{reference:t,floating:e}});c=null!=w?w:c,u=null!=y?y:u,p={...p,[o]:{...p[o],...x}},v&&h<=50&&(h++,"object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(s=!0===v.rects?await l.getElementRects({reference:t,floating:e,strategy:i}):v.rects),{x:c,y:u}=O(s,d,f)),n=-1)}return{x:c,y:u,placement:d,strategy:i,middlewareData:p}};function L(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function P(t){return n.some(e=>t[e]>=0)}let E=new Set(["left","top"]);async function D(t,e){let{placement:n,platform:r,elements:i}=t,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),l=u(n),a=d(n),f="y"===g(n),s=E.has(l)?-1:1,p=o&&f?-1:1,h=c(e,t),{mainAxis:m,crossAxis:w,alignmentAxis:y}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return a&&"number"==typeof y&&(w="end"===a?-1*y:y),f?{x:w*p,y:m*s}:{x:m*s,y:w*p}}function H(){return"u">typeof window}function k(t){return M(t)?(t.nodeName||"").toLowerCase():"#document"}function F(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function j(t){var e;return null==(e=(M(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function M(t){return!!H()&&(t instanceof Node||t instanceof F(t).Node)}function W(t){return!!H()&&(t instanceof Element||t instanceof F(t).Element)}function $(t){return!!H()&&(t instanceof HTMLElement||t instanceof F(t).HTMLElement)}function B(t){return!(!H()||"u"<typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof F(t).ShadowRoot)}let N=new Set(["inline","contents"]);function V(t){let{overflow:e,overflowX:n,overflowY:r,display:i}=Q(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!N.has(i)}let z=new Set(["table","td","th"]),I=[":popover-open",":modal"];function Y(t){return I.some(e=>{try{return t.matches(e)}catch(t){return!1}})}let _=["transform","translate","scale","rotate","perspective"],X=["transform","translate","scale","rotate","perspective","filter"],q=["paint","layout","strict","content"];function K(t){let e=U(),n=W(t)?Q(t):t;return _.some(t=>!!n[t]&&"none"!==n[t])||!!n.containerType&&"normal"!==n.containerType||!e&&!!n.backdropFilter&&"none"!==n.backdropFilter||!e&&!!n.filter&&"none"!==n.filter||X.some(t=>(n.willChange||"").includes(t))||q.some(t=>(n.contain||"").includes(t))}function U(){return!("u"<typeof CSS)&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let G=new Set(["html","body","#document"]);function J(t){return G.has(k(t))}function Q(t){return F(t).getComputedStyle(t)}function Z(t){return W(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function tt(t){if("html"===k(t))return t;let e=t.assignedSlot||t.parentNode||B(t)&&t.host||j(t);return B(e)?e.host:e}function te(t,e,n){var r;void 0===e&&(e=[]),void 0===n&&(n=!0);let i=function t(e){let n=tt(e);return J(n)?e.ownerDocument?e.ownerDocument.body:e.body:$(n)&&V(n)?n:t(n)}(t),o=i===(null==(r=t.ownerDocument)?void 0:r.body),l=F(i);if(o){let t=tn(l);
1return e.concat(l,l.visualViewport||[],V(i)?i:[],t&&n?te(t):[])}return e.concat(i,te(i,[],n))}function tn(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function tr(t){let e=Q(t),n=parseFloat(e.width)||0,r=parseFloat(e.height)||0,i=$(t),l=i?t.offsetWidth:n,a=i?t.offsetHeight:r,f=o(n)!==l||o(r)!==a;return f&&(n=l,r=a),{width:n,height:r,$:f}}function ti(t){return W(t)?t:t.contextElement}function to(t){let e=ti(t);if(!$(e))return a(1);let n=e.getBoundingClientRect(),{width:r,height:i,$:l}=tr(e),f=(l?o(n.width):n.width)/r,s=(l?o(n.height):n.height)/i;return f&&Number.isFinite(f)||(f=1),s&&Number.isFinite(s)||(s=1),{x:f,y:s}}let tl=a(0);function ta(t){let e=F(t);return U()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:tl}function tf(t,e,n,r){var i;void 0===e&&(e=!1),void 0===n&&(n=!1);let o=t.getBoundingClientRect(),l=ti(t),f=a(1);e&&(r?W(r)&&(f=to(r)):f=to(t));let s=(void 0===(i=n)&&(i=!1),r&&(!i||r===F(l))&&i)?ta(l):a(0),c=(o.left+s.x)/f.x,u=(o.top+s.y)/f.y,d=o.width/f.x,p=o.height/f.y;if(l){let t=F(l),e=r&&W(r)?F(r):r,n=t,i=tn(n);for(;i&&r&&e!==n;){let t=to(i),e=i.getBoundingClientRect(),r=Q(i),o=e.left+(i.clientLeft+parseFloat(r.paddingLeft))*t.x,l=e.top+(i.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,u*=t.y,d*=t.x,p*=t.y,c+=o,u+=l,i=tn(n=F(i))}}return S({width:d,height:p,x:c,y:u})}function ts(t,e){let n=Z(t).scrollLeft;return e?e.left+n:tf(j(t)).left+n}function tc(t,e){let n=t.getBoundingClientRect();return{x:n.left+e.scrollLeft-ts(t,n),y:n.top+e.scrollTop}}let tu=new Set(["absolute","fixed"]);function td(t,e,n){var r;let o;if("viewport"===e)o=function(t,e){let n=F(t),r=j(t),i=n.visualViewport,o=r.clientWidth,l=r.clientHeight,a=0,f=0;if(i){o=i.width,l=i.height;let t=U();(!t||t&&"fixed"===e)&&(a=i.offsetLeft,f=i.offsetTop)}let s=ts(r);if(s<=0){let t=r.ownerDocument,e=t.body,n=getComputedStyle(e),i="CSS1Compat"===t.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,l=Math.abs(r.clientWidth-e.clientWidth-i);l<=25&&(o-=l)}else s<=25&&(o+=s);return{width:o,height:l,x:a,y:f}}(t,n);else if("document"===e){let e,n,l,a,f,s,c;r=j(t),e=j(r),n=Z(r),l=r.ownerDocument.body,a=i(e.scrollWidth,e.clientWidth,l.scrollWidth,l.clientWidth),f=i(e.scrollHeight,e.clientHeight,l.scrollHeight,l.clientHeight),s=-n.scrollLeft+ts(r),c=-n.scrollTop,"rtl"===Q(l).direction&&(s+=i(e.clientWidth,l.clientWidth)-a),o={width:a,height:f,x:s,y:c}}else if(W(e)){let t,r,i,l,f,s;r=(t=tf(e,!0,"fixed"===n)).top+e.clientTop,i=t.left+e.clientLeft,l=$(e)?to(e):a(1),f=e.clientWidth*l.x,s=e.clientHeight*l.y,o={width:f,height:s,x:i*l.x,y:r*l.y}}else{let n=ta(t);o={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return S(o)}function tp(t){return"static"===Q(t).position}function th(t,e){if(!$(t)||"fixed"===Q(t).position)return null;if(e)return e(t);let n=t.offsetParent;return j(t)===n&&(n=n.ownerDocument.body),n}function tm(t,e){var n;let r=F(t);if(Y(t))return r;if(!$(t)){let e=tt(t);for(;e&&!J(e);){if(W(e)&&!tp(e))return e;e=tt(e)}return r}let i=th(t,e);for(;i&&(n=i,z.has(k(n)))&&tp(i);)i=th(i,e);return i&&J(i)&&tp(i)&&!K(i)?r:i||function(t){let e=tt(t);for(;$(e)&&!J(e);){if(K(e))return e;if(Y(e))break;e=tt(e)}return null}(t)||r}let tg=async function(t){let e=this.getOffsetParent||tm,n=this.getDimensions,r=await n(t.floating);return{reference:function(t,e,n){let r=$(e),i=j(e),o="fixed"===n,l=tf(t,!0,o,e),f={scrollLeft:0,scrollTop:0},s=a(0);if(r||!r&&!o)if(("body"!==k(e)||V(i))&&(f=Z(e)),r){let t=tf(e,!0,o,e);s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}else i&&(s.x=ts(i));o&&!r&&i&&(s.x=ts(i));let c=!i||r||o?a(0):tc(i,f);return{x:l.left+f.scrollLeft-s.x-c.x,y:l.top+f.scrollTop-s.y-c.y,width:l.width,height:l.height}}(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},tw={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:r,strategy:i}=t,o="fixed"===i,l=j(r),f=!!e&&Y(e.floating);if(r===l||f&&o)return n;let s={scrollLeft:0,scrollTop:0},c=a(1),u=a(0),d=$(r);if((d||!d&&!o)&&(("body"!==k(r)||V(l))&&(s=Z(r)),$(r))){let t=tf(r);c=to(r),u.x=t.x+r.clientLeft,u.y=t.y+r.clientTop}
1let p=!l||d||o?a(0):tc(l,s);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-s.scrollLeft*c.x+u.x+p.x,y:n.y*c.y-s.scrollTop*c.y+u.y+p.y}},getDocumentElement:j,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:o,strategy:l}=t,a=[..."clippingAncestors"===n?Y(e)?[]:function(t,e){let n=e.get(t);if(n)return n;let r=te(t,[],!1).filter(t=>W(t)&&"body"!==k(t)),i=null,o="fixed"===Q(t).position,l=o?tt(t):t;for(;W(l)&&!J(l);){let e=Q(l),n=K(l);n||"fixed"!==e.position||(i=null),(o?!n&&!i:!n&&"static"===e.position&&!!i&&tu.has(i.position)||V(l)&&!n&&function t(e,n){let r=tt(e);return!(r===n||!W(r)||J(r))&&("fixed"===Q(r).position||t(r,n))}(t,l))?r=r.filter(t=>t!==l):i=e,l=tt(l)}return e.set(t,r),r}(e,this._c):[].concat(n),o],f=a[0],s=a.reduce((t,n)=>{let o=td(e,n,l);return t.top=i(o.top,t.top),t.right=r(o.right,t.right),t.bottom=r(o.bottom,t.bottom),t.left=i(o.left,t.left),t},td(e,f,l));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:tm,getElementRects:tg,getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){let{width:e,height:n}=tr(t);return{width:e,height:n}},getScale:to,isElement:W,isRTL:function(t){return"rtl"===Q(t).direction}};function ty(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}let tx=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:o,placement:l,rects:a,platform:f,elements:s,middlewareData:u}=e,{element:m,padding:w=0}=c(t,e)||{};if(null==m)return{};let y=A(w),x={x:n,y:o},v=p(g(l)),b=h(v),R=await f.getDimensions(m),S="y"===v,O=S?"clientHeight":"clientWidth",C=a.reference[b]+a.reference[v]-x[v]-a.floating[b],T=x[v]-a.reference[v],L=await (null==f.getOffsetParent?void 0:f.getOffsetParent(m)),P=L?L[O]:0;P&&await (null==f.isElement?void 0:f.isElement(L))||(P=s.floating[O]||a.floating[b]);let E=P/2-R[b]/2-1,D=r(y[S?"top":"left"],E),H=r(y[S?"bottom":"right"],E),k=P-R[b]-H,F=P/2-R[b]/2+(C/2-T/2),j=i(D,r(F,k)),M=!u.arrow&&null!=d(l)&&F!==j&&a.reference[b]/2-(F<D?D:H)-R[b]/2<0,W=M?F<D?F-D:F-k:0;return{[v]:x[v]+W,data:{[v]:j,centerOffset:F-j-W,...M&&{alignmentOffset:W}},reset:M}}});var tv=t.i(174080),tb="u">typeof document?e.useLayoutEffect:function(){};function tR(t,e){let n,r,i;if(t===e)return!0;if(typeof t!=typeof e)return!1;if("function"==typeof t&&t.toString()===e.toString())return!0;if(t&&e&&"object"==typeof t){if(Array.isArray(t)){if((n=t.length)!==e.length)return!1;for(r=n;0!=r--;)if(!tR(t[r],e[r]))return!1;return!0}if((n=(i=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(e,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!t.$$typeof)&&!tR(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}function tA(t){return"u"<typeof window?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function tS(t,e){let n=tA(t);return Math.round(e*n)/n}function tO(t){let n=e.useRef(t);return tb(()=>{n.current=t}),n}var tC=t.i(248425),tT=t.i(843476),tL=e.forwardRef((t,e)=>{let{children:n,width:r=10,height:i=5,...o}=t;return(0,tT.jsx)(tC.Primitive.svg,{...o,ref:e,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?n:(0,tT.jsx)("polygon",{points:"0,0 30,0 15,10"})})});tL.displayName="Arrow";var tP=t.i(820783),tE=t.i(30030),tD=t.i(30207),tH=t.i(934620),tk=t.i(635804),tF="Popper",[tj,tM]=(0,tE.createContextScope)(tF),[tW,t$]=tj(tF),tB=t=>{let{__scopePopper:n,children:r}=t,[i,o]=e.useState(null);return(0,tT.jsx)(tW,{scope:n,anchor:i,onAnchorChange:o,children:r})};tB.displayName=tF;var tN="PopperAnchor",tV=e.forwardRef((t,n)=>{let{__scopePopper:r,virtualRef:i,...o}=t,l=t$(tN,r),a=e.useRef(null),f=(0,tP.useComposedRefs)(n,a),s=e.useRef(null);return e.useEffect(()=>{let t=s.current;s.current=i?.current||a.current,t!==s.current&&l.onAnchorChange(s.current)}),i?null:(0,tT.jsx)(tC.Primitive.div,{...o,ref:f})});tV.displayName=tN;var tz="PopperContent",[tI,tY]=tj(tz),t_=e.forwardRef((t,n)=>{var o,a,f,s,m,A,S,O,C,H,k,F,M;let{__scopePopper:W,side:$="bottom",sideOffset:B=0,align:N="center",alignOffset:V=0,arrowPadding:z=0,avoidCollisions:I=!0,collisionBoundary:Y=[],collisionPadding:_=0,sticky:X="partial",hideWhenDetached:q=!1,updatePositionStrategy:K="optimized",onPlaced:U,...G}=t,J=t$(tz,W),[Q,Z]=e.useState(null),tt=(0,tP.useComposedRefs)(n,t=>Z(t)),[tn,tr]=e.useState(null),to=(0,tk.useSize)(tn),tl=to?.width??0,ta=to?.height??0,ts="number"==typeof _?_:{top:0,right:0,bottom:0,left:0,..._},tc=Array.isArray(Y)?Y:[Y],tu=tc.length>0,td={padding:ts,boundary:tc.filter(tU),altBoundary:tu},{refs:tp,floatingStyles:th,placement:tm,isPositioned:tg,middlewareData:tL}=function(t){void 0===t&&(t={});let{placement:n="bottom",strategy:r="absolute",middleware:i=[],platform:o,elements:{reference:l,floating:a}={},transform:f=!0,whileElementsMounted:s,open:c}=t,[u,d]=e.useState({x:0,y:0,strategy:r,placement:n,middlewareData:{},isPositioned:!1}),[p,h]=e.useState(i);tR(p,i)||h(i);let[m,g]=e.useState(null),[w,y]=e.useState(null),x=e.useCallback(t=>{t!==A.current&&(A.current=t,g(t))},[]),v=e.useCallback(t=>{t!==S.current&&(S.current=t,y(t))},[]),b=l||m,R=a||w,A=e.useRef(null),S=e.useRef(null),O=e.useRef(u),C=null!=s,L=tO(s),P=tO(o),E=tO(c),D=e.useCallback(()=>{var t,e;let i,o,l;if(!A.current||!S.current)return;let a={placement:n,strategy:r,middleware:p};P.current&&(a.platform=P.current),(t=A.current,e=S.current,i=new Map,l={...(o={platform:tw,...a}).platform,_c:i},T(t,e,{...o,platform:l})).then(t=>{let e={...t,isPositioned:!1!==E.current};H.current&&!tR(O.current,e)&&(O.current=e,tv.flushSync(()=>{d(e)}))})},[p,n,r,P,E]);tb(()=>{!1===c&&O.current.isPositioned&&(O.current.isPositioned=!1,d(t=>({...t,isPositioned:!1})))},[c]);let H=e.useRef(!1);tb(()=>(H.current=!0,()=>{H.current=!1}),[]),tb(()=>{if(b&&(A.current=b),R&&(S.current=R),b&&R){if(L.current)return L.current(b,R,D);D()}},[b,R,D,L,C]);let k=e.useMemo(()=>({reference:A,floating:S,setReference:x,setFloating:v}),[x,v]),F=e.useMemo(()=>({reference:b,floating:R}),[b,R]),j=e.useMemo(()=>{let t={position:r,left:0,top:0};if(!F.floating)return t;let e=tS(F.floating,u.x),n=tS(F.floating,u.y);return f?{...t,transform:"translate("+e+"px, "+n+"px)",...tA(F.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:e,top:n}},[r,f,F.floating,u.x,u.y]);return e.useMemo(()=>({...u,update:D,refs:k,elements:F,floatingStyles:j}),[u,D,k,F,j])}({strategy:"fixed",placement:$+("center"!==N?"-"+N:""),whileElementsMounted:(...t)=>(function(t,e,n,o){let a;void 0===o&&(o={});let{ancestorScroll:f=!0,ancestorResize:s=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:d=!1}=o,p=ti(t),h=f||s?[...p?te(p):[],...te(e)]:[];h.forEach(t=>{f&&t.addEventListener("scroll",n,{passive:!0}),s&&t.addEventListener("resize",n)});let m=p&&u?function(t,e){let n,o=null,a=j(t);function f(){var t;clearTimeout(n),null==(t=o)||t.disconnect(),o=null}return!function s(c,u){void 0===c&&(c=!1),void 0===u&&(u=1),f();let d=t.getBoundingClientRect(),{left:p,top:h,width:m,height:g}=d;
1if(c||e(),!m||!g)return;let w={rootMargin:-l(h)+"px "+-l(a.clientWidth-(p+m))+"px "+-l(a.clientHeight-(h+g))+"px "+-l(p)+"px",threshold:i(0,r(1,u))||1},y=!0;function x(e){let r=e[0].intersectionRatio;if(r!==u){if(!y)return s();r?s(!1,r):n=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==r||ty(d,t.getBoundingClientRect())||s(),y=!1}try{o=new IntersectionObserver(x,{...w,root:a.ownerDocument})}catch(t){o=new IntersectionObserver(x,w)}o.observe(t)}(!0),f}(p,n):null,g=-1,w=null;c&&(w=new ResizeObserver(t=>{let[r]=t;r&&r.target===p&&w&&(w.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var t;null==(t=w)||t.observe(e)})),n()}),p&&!d&&w.observe(p),w.observe(e));let y=d?tf(t):null;return d&&function e(){let r=tf(t);y&&!ty(y,r)&&n(),y=r,a=requestAnimationFrame(e)}(),n(),()=>{var t;h.forEach(t=>{f&&t.removeEventListener("scroll",n),s&&t.removeEventListener("resize",n)}),null==m||m(),null==(t=w)||t.disconnect(),w=null,d&&cancelAnimationFrame(a)}})(...t,{animationFrame:"always"===K}),elements:{reference:J.anchor},middleware:[{...{name:"offset",options:a=o={mainAxis:B+ta,alignmentAxis:V},async fn(t){var e,n;let{x:r,y:i,placement:o,middlewareData:l}=t,f=await D(t,a);return o===(null==(e=l.offset)?void 0:e.placement)&&null!=(n=l.arrow)&&n.alignmentOffset?{}:{x:r+f.x,y:i+f.y,data:{...f,placement:o}}}},options:[o,void 0]},I&&{...{name:"shift",options:m=s={mainAxis:!0,crossAxis:!1,limiter:"partial"===X?{...(f=void 0,{options:f={},fn(t){let{x:e,y:n,placement:r,rects:i,middlewareData:o}=t,{offset:l=0,mainAxis:a=!0,crossAxis:s=!0}=c(f,t),d={x:e,y:n},h=g(r),m=p(h),w=d[m],y=d[h],x=c(l,t),v="number"==typeof x?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(a){let t="y"===m?"height":"width",e=i.reference[m]-i.floating[t]+v.mainAxis,n=i.reference[m]+i.reference[t]-v.mainAxis;w<e?w=e:w>n&&(w=n)}if(s){var b,R;let t="y"===m?"width":"height",e=E.has(u(r)),n=i.reference[h]-i.floating[t]+(e&&(null==(b=o.offset)?void 0:b[h])||0)+(e?0:v.crossAxis),l=i.reference[h]+i.reference[t]+(e?0:(null==(R=o.offset)?void 0:R[h])||0)-(e?v.crossAxis:0);y<n?y=n:y>l&&(y=l)}return{[m]:w,[h]:y}}}),options:[void 0,void 0]}:void 0,...td},async fn(t){let{x:e,y:n,placement:o,platform:l}=t,{mainAxis:a=!0,crossAxis:f=!1,limiter:s={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...d}=c(m,t),h={x:e,y:n},w=await l.detectOverflow(t,d),y=g(u(o)),x=p(y),v=h[x],b=h[y];if(a){let t="y"===x?"top":"left",e="y"===x?"bottom":"right",n=v+w[t],o=v-w[e];v=i(n,r(v,o))}if(f){let t="y"===y?"top":"left",e="y"===y?"bottom":"right",n=b+w[t],o=b-w[e];b=i(n,r(b,o))}let R=s.fn({...t,[x]:v,[y]:b});return{...R,data:{x:R.x-e,y:R.y-n,enabled:{[x]:a,[y]:f}}}}},options:[s,void 0]},I&&{...{name:"flip",options:S=A={...td},async fn(t){var e,n,r,i,o,l,a,f;let s,m,A,{placement:O,middlewareData:C,rects:T,initialPlacement:L,platform:P,elements:E}=t,{mainAxis:D=!0,crossAxis:H=!0,fallbackPlacements:k,fallbackStrategy:F="bestFit",fallbackAxisSideDirection:j="none",flipAlignment:M=!0,...W}=c(S,t);if(null!=(e=C.arrow)&&e.alignmentOffset)return{};let $=u(O),B=g(L),N=u(L)===L,V=await (null==P.isRTL?void 0:P.isRTL(E.floating)),z=k||(N||!M?[R(L)]:(s=R(L),[w(L),s,w(s)])),I="none"!==j;!k&&I&&z.push(...(m=d(L),A=function(t,e,n){switch(t){case"top":case"bottom":if(n)return e?x:y;return e?y:x;case"left":case"right":return e?v:b;default:return[]}}(u(L),"start"===j,V),m&&(A=A.map(t=>t+"-"+m),M&&(A=A.concat(A.map(w)))),A));let Y=[L,...z],_=await P.detectOverflow(t,W),X=[],q=(null==(n=C.flip)?void 0:n.overflows)||[];if(D&&X.push(_[$]),H){let t,e,n,r,i=(l=O,a=T,void 0===(f=V)&&(f=!1),t=d(l),n=h(e=p(g(l))),r="x"===e?t===(f?"end":"start")?"right":"left":"start"===t?"bottom":"top",a.reference[n]>a.floating[n]&&(r=R(r)),[r,R(r)]);X.push(_[i[0]],_[i[1]])}if(q=[...q,{placement:O,overflows:X}],!X.every(t=>t<=0)){let t=((null==(r=C.flip)?void 0:r.index)||0)+1,e=Y[t];if(e&&("alignment"!==H||B===g(e)||q.every(t=>g(t.placement)!==B||t.overflows[0]>0)))return{data:{index:t,overflows:q},reset:{placement:e}};let n=null==(i=q.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:i.placement;if(!n)switch(F){case"bestFit":{let t=null==(o=q.filter(t=>{if(I){let e=g(t.placement);return e===B||"y"===e}return!0}).map(t=>[t.placement,t.overflows.filter(t=>t>0).reduce((t,e)=>t+e,0)]).sort((t,e)=>t[1]-e[1])[0])?void 0:o[0];t&&(n=t);break}case"initialPlacement":n=L}if(O!==n)return{reset:{placement:n}}}return{}}},options:[A,void 0]},{...{name:"size",options:C=O={...td,apply:({elements:t,rects:e,availableWidth:n,availableHeight:r})=>{let{width:i,height:o}=e.reference,l=t.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`)}},async fn(t){var e,n;let o,l,{placement:a,rects:f,platform:s,elements:p}=t,{apply:h=()=>{},...m}=c(C,t),w=await s.detectOverflow(t,m),y=u(a),x=d(a),v="y"===g(a),{width:b,height:R}=f.floating;"top"===y||"bottom"===y?(o=y,l=x===(await (null==s.isRTL?void 0:s.isRTL(p.floating))?"start":"end")?"left":"right"):(l=y,o="end"===x?"top":"bottom");let A=R-w.top-w.bottom,S=b-w.left-w.right,O=r(R-w[o],A),T=r(b-w[l],S),L=!t.middlewareData.shift,P=O,E=T;if(null!=(e=t.middlewareData.shift)&&e.enabled.x&&(E=S),null!=(n=t.middlewareData.shift)&&n.enabled.y&&(P=A),L&&!x){let t=i(w.left,0),e=i(w.right,0),n=i(w.top,0),r=i(w.bottom,0);v?E=b-2*(0!==t||0!==e?t+e:i(w.left,w.right)):P=R-2*(0!==n||0!==r?n+r:i(w.top,w.bottom))}await h({...t,availableWidth:E,availableHeight:P});let D=await s.getDimensions(p.floating);return b!==D.width||R!==D.height?{reset:{rects:!0}}:{}}},options:[O,void 0]},tn&&{...{name:"arrow",options:k=H={element:tn,padding:z},fn(t){let{element:e,padding:n}="function"==typeof k?k(t):k;return e&&({}).hasOwnProperty.call(e,"current")?null!=e.current?tx({element:e.current,padding:n}).fn(t):{}:e?tx({element:e,padding:n}).fn(t):{}}},options:[H,void 0]},tG({arrowWidth:tl,arrowHeight:ta}),q&&{...{name:"hide",options:M=F={strategy:"referenceHidden",...td},async fn(t){let{rects:e,platform:n}=t,{strategy:r="referenceHidden",...i}=c(M,t);switch(r){case"referenceHidden":{let r=L(await n.detectOverflow(t,{...i,elementContext:"reference"}),e.reference);return{data:{referenceHiddenOffsets:r,referenceHidden:P(r)}}}case"escaped":{let r=L(await n.detectOverflow(t,{...i,altBoundary:!0}),e.floating);return{data:{escapedOffsets:r,escaped:P(r)}}}default:return{}}}},options:[F,void 0]}]}),[tE,tF]=tJ(tm),tj=(0,tD.useCallbackRef)(U);(0,tH.useLayoutEffect)(()=>{tg&&tj?.()},[tg,tj]);let tM=tL.arrow?.x,tW=tL.arrow?.y,tB=tL.arrow?.centerOffset!==0,[tN,tV]=e.useState();return(0,tH.useLayoutEffect)(()=>{Q&&tV(window.getComputedStyle(Q).zIndex)},[Q]),(0,tT.jsx)("div",{ref:tp.setFloating,"data-radix-popper-content-wrapper":"",style:{...th,transform:tg?th.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:tN,"--radix-popper-transform-origin":[tL.transformOrigin?.x,tL.transformOrigin?.y].join(" "),...tL.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}}
1,dir:t.dir,children:(0,tT.jsx)(tI,{scope:W,placedSide:tE,onArrowChange:tr,arrowX:tM,arrowY:tW,shouldHideArrow:tB,children:(0,tT.jsx)(tC.Primitive.div,{"data-side":tE,"data-align":tF,...G,ref:tt,style:{...G.style,animation:tg?void 0:"none"}})})})});t_.displayName=tz;var tX="PopperArrow",tq={top:"bottom",right:"left",bottom:"top",left:"right"},tK=e.forwardRef(function(t,e){let{__scopePopper:n,...r}=t,i=tY(tX,n),o=tq[i.placedSide];return(0,tT.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,tT.jsx)(tL,{...r,ref:e,style:{...r.style,display:"block"}})})});function tU(t){return null!==t}tK.displayName=tX;var tG=t=>({name:"transformOrigin",options:t,fn(e){let{placement:n,rects:r,middlewareData:i}=e,o=i.arrow?.centerOffset!==0,l=o?0:t.arrowWidth,a=o?0:t.arrowHeight,[f,s]=tJ(n),c={start:"0%",center:"50%",end:"100%"}[s],u=(i.arrow?.x??0)+l/2,d=(i.arrow?.y??0)+a/2,p="",h="";return"bottom"===f?(p=o?c:`${u}px`,h=`${-a}px`):"top"===f?(p=o?c:`${u}px`,h=`${r.floating.height+a}px`):"right"===f?(p=`${-a}px`,h=o?c:`${d}px`):"left"===f&&(p=`${r.floating.width+a}px`,h=o?c:`${d}px`),{data:{x:p,y:h}}}});function tJ(t){let[e,n="center"]=t.split("-");return[e,n]}t.s(["Anchor",0,tV,"Arrow",0,tK,"Content",0,t_,"Root",0,tB,"createPopperScope",0,tM],853660)}]);
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.