1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,534684,t=>{"use strict";var e=t.i(682272);let n=["top","right","bottom","left"],r=Math.min,i=Math.max,o=Math.round,l=Math.floor,a=t=>({x:t,y:t}),s={left:"right",right:"left",bottom:"top",top:"bottom"},f={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 y(t){return t.replace(/start|end/g,t=>f[t])}let w=["left","right"],x=["right","left"],v=["top","bottom"],b=["bottom","top"];function R(t){return t.replace(/left|right|bottom|top/g,t=>s[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 T(t,e,n){let r,{reference:i,floating:o}=t,l=g(e),a=p(g(e)),s=h(a),f=u(e),c="y"===l,m=i.x+i.width/2-o.width/2,y=i.y+i.height/2-o.height/2,w=i[s]/2-o[s]/2;switch(f){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:y};break;case"left":r={x:i.x-o.width,y:y};break;default:r={x:i.x,y:i.y}}switch(d(e)){case"start":r[a]-=w*(n&&c?-1:1);break;case"end":r[a]+=w*(n&&c?-1:1)}return r}let L=async(t,e,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,a=o.filter(Boolean),s=await (null==l.isRTL?void 0:l.isRTL(e)),f=await l.getElementRects({reference:t,floating:e,strategy:i}),{x:c,y:u}=T(f,r,s),d=r,p={},h=0;for(let n=0;n<a.length;n++){let{name:o,fn:m}=a[n],{x:g,y:y,data:w,reset:x}=await m({x:c,y:u,initialPlacement:r,placement:d,strategy:i,middlewareData:p,rects:f,platform:l,elements:{reference:t,floating:e}});c=null!=g?g:c,u=null!=y?y:u,p={...p,[o]:{...p[o],...w}},x&&h<=50&&(h++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(f=!0===x.rects?await l.getElementRects({reference:t,floating:e,strategy:i}):x.rects),{x:c,y:u}=T(f,d,s)),n=-1)}return{x:c,y:u,placement:d,strategy:i,middlewareData:p}};async function P(t,e){var n;void 0===e&&(e={});let{x:r,y:i,platform:o,rects:l,elements:a,strategy:s}=t,{boundary:f="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],y=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:f,rootBoundary:u,strategy:s})),w="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:w,offsetParent:x,strategy:s}):w);return{top:(y.top-b.top+m.top)/v.y,bottom:(b.bottom-y.bottom+m.bottom)/v.y,left:(y.left-b.left+m.left)/v.x,right:(b.right-y.right+m.right)/v.x}}function C(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function E(t){return n.some(e=>t[e]>=0)}let O=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),s="y"===g(n),f=O.has(l)?-1:1,p=o&&s?-1:1,h=c(e,t),{mainAxis:m,crossAxis:y,alignmentAxis:w}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return a&&"number"==typeof w&&(y="end"===a?-1*w:w),s?{x:y*p,y:m*f}:{x:m*f,y:y*p}}function H(){return"u">typeof window}function k(t){return $(t)?(t.nodeName||"").toLowerCase():"#document"}function j(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function F(t){var e;return null==(e=($(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function $(t){return!!H()&&(t instanceof Node||t instanceof j(t).Node)}function M(t){return!!H()&&(t instanceof Element||t instanceof j(t).Element)}function W(t){return!!H()&&(t instanceof HTMLElement||t instanceof j(t).HTMLElement)}function B(t){return!(!H()||"u"<typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof j(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=M(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 j(t).getComputedStyle(t)}function Z(t){return M(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||F(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:W(n)&&V(n)?n:t(n)}(t),o=i===(null==(r=t.ownerDocument)?void 0:r.body),l=j(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=W(t),l=i?t.offsetWidth:n,a=i?t.offsetHeight:r,s=o(n)!==l||o(r)!==a;return s&&(n=l,r=a),{width:n,height:r,$:s}}function ti(t){return M(t)?t:t.contextElement}function to(t){let e=ti(t);if(!W(e))return a(1);let n=e.getBoundingClientRect(),{width:r,height:i,$:l}=tr(e),s=(l?o(n.width):n.width)/r,f=(l?o(n.height):n.height)/i;return s&&Number.isFinite(s)||(s=1),f&&Number.isFinite(f)||(f=1),{x:s,y:f}}let tl=a(0);function ta(t){let e=j(t);return U()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:tl}function ts(t,e,n,r){var i;void 0===e&&(e=!1),void 0===n&&(n=!1);let o=t.getBoundingClientRect(),l=ti(t),s=a(1);e&&(r?M(r)&&(s=to(r)):s=to(t));let f=(void 0===(i=n)&&(i=!1),r&&(!i||r===j(l))&&i)?ta(l):a(0),c=(o.left+f.x)/s.x,u=(o.top+f.y)/s.y,d=o.width/s.x,p=o.height/s.y;if(l){let t=j(l),e=r&&M(r)?j(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=j(i))}}return S({width:d,height:p,x:c,y:u})}function tf(t,e){let n=Z(t).scrollLeft;return e?e.left+n:ts(F(t)).left+n}function tc(t,e,n){void 0===n&&(n=!1);let r=t.getBoundingClientRect();return{x:r.left+e.scrollLeft-(n?0:tf(t,r)),y:r.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=j(t),r=F(t),i=n.visualViewport,o=r.clientWidth,l=r.clientHeight,a=0,s=0;if(i){o=i.width,l=i.height;let t=U();(!t||t&&"fixed"===e)&&(a=i.offsetLeft,s=i.offsetTop)}return{width:o,height:l,x:a,y:s}}(t,n);else if("document"===e){let e,n,l,a,s,f,c;r=F(t),e=F(r),n=Z(r),l=r.ownerDocument.body,a=i(e.scrollWidth,e.clientWidth,l.scrollWidth,l.clientWidth),s=i(e.scrollHeight,e.clientHeight,l.scrollHeight,l.clientHeight),f=-n.scrollLeft+tf(r),c=-n.scrollTop,"rtl"===Q(l).direction&&(f+=i(e.clientWidth,l.clientWidth)-a),o={width:a,height:s,x:f,y:c}}else if(M(e)){let t,r,i,l,s,f;r=(t=ts(e,!0,"fixed"===n)).top+e.clientTop,i=t.left+e.clientLeft,l=W(e)?to(e):a(1),s=e.clientWidth*l.x,f=e.clientHeight*l.y,o={width:s,height:f,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(!W(t)||"fixed"===Q(t).position)return null;if(e)return e(t);let n=t.offsetParent;return F(t)===n&&(n=n.ownerDocument.body),n}function tm(t,e){var n;let r=j(t);if(Y(t))return r;if(!W(t)){let e=tt(t);for(;e&&!J(e);){if(M(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(;W(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=W(e),i=F(e),o="fixed"===n,l=ts(t,!0,o,e),s={scrollLeft:0,scrollTop:0},f=a(0);if(r||!r&&!o)if(("body"!==k(e)||V(i))&&(s=Z(e)),r){let t=ts(e,!0,o,e);f.x=t.x+e.clientLeft,f.y=t.y+e.clientTop}else i&&(f.x=tf(i));o&&!r&&i&&(f.x=tf(i));let c=!i||r||o?a(0):tc(i,s);return{x:l.left+s.scrollLeft-f.x-c.x,y:l.top+s.scrollTop-f.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}}},ty={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:r,strategy:i}=t,o="fixed"===i,l=F(r),s=!!e&&Y(e.floating);if(r===l||s&&o)return n;let f={scrollLeft:0,scrollTop:0},c=a(1),u=a(0),d=W(r);if((d||!d&&!o)&&(("body"!==k(r)||V(l))&&(f=Z(r)),W(r))){let t=ts(r);c=to(r),u.x=t.x+r.clientLeft,u.y=t.y+r.clientTop}let p=!l||d||o?a(0):tc(l,f,!0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-f.scrollLeft*c.x+u.x+p.x,y:n.y*c.y-f.scrollTop*c.y+u.y+p.y}},getDocumentElement:F,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=>
1M(t)&&"body"!==k(t)),i=null,o="fixed"===Q(t).position,l=o?tt(t):t;for(;M(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||!M(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],s=a[0],f=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,s,l));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.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:M,isRTL:function(t){return"rtl"===Q(t).direction}};function tw(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:s,elements:f,middlewareData:u}=e,{element:m,padding:y=0}=c(t,e)||{};if(null==m)return{};let w=A(y),x={x:n,y:o},v=p(g(l)),b=h(v),R=await s.getDimensions(m),S="y"===v,T=S?"clientHeight":"clientWidth",L=a.reference[b]+a.reference[v]-x[v]-a.floating[b],P=x[v]-a.reference[v],C=await (null==s.getOffsetParent?void 0:s.getOffsetParent(m)),E=C?C[T]:0;E&&await (null==s.isElement?void 0:s.isElement(C))||(E=f.floating[T]||a.floating[b]);let O=E/2-R[b]/2-1,D=r(w[S?"top":"left"],O),H=r(w[S?"bottom":"right"],O),k=E-R[b]-H,j=E/2-R[b]/2+(L/2-P/2),F=i(D,r(j,k)),$=!u.arrow&&null!=d(l)&&j!==F&&a.reference[b]/2-(j<D?D:H)-R[b]/2<0,M=$?j<D?j-D:j-k:0;return{[v]:x[v]+M,data:{[v]:F,centerOffset:j-F-M,...$&&{alignmentOffset:M}},reset:$}}});var tv=t.i(450597),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 tT(t){let n=e.useRef(t);return tb(()=>{n.current=t}),n}var tL=t.i(74099),tP=t.i(918178),tC=e.forwardRef((t,e)=>{let{children:n,width:r=10,height:i=5,...o}=t;return(0,tP.jsx)(tL.Primitive.svg,{...o,ref:e,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?n:(0,tP.jsx)("polygon",{points:"0,0 30,0 15,10"})})});tC.displayName="Arrow";var tE=t.i(355597),tO=t.i(740060),tD=t.i(216452),tH=t.i(674871),tk=t.i(227294),tj="Popper",[tF,t$]=(0,tO.createContextScope)(tj),[tM,tW]=tF(tj),tB=t=>{let{__scopePopper:n,children:r}=t,[i,o]=e.useState(null);return(0,tP.jsx)(tM,{scope:n,anchor:i,onAnchorChange:o,children:r})};tB.displayName=tj;var tN="PopperAnchor",tV=e.forwardRef((t,n)=>{let{__scopePopper:r,virtualRef:i,...o}=t,l=tW(tN,r),a=e.useRef(null),s=(0,tE.useComposedRefs)(n,a),f=e.useRef(null);return e.useEffect(()=>{let t=f.current;f.current=i?.current||a.current,t!==f.current&&l.onAnchorChange(f.current)}),i?null:(0,tP.jsx)(tL.Primitive.div,{...o,ref:s})});tV.displayName=tN;var tz="PopperContent",[tI,tY]=tF(tz),t_=e.forwardRef((t,n)=>{var o,a,s,f,m,A,S,T,H,k,j,$,M;let{__scopePopper:W,side:B="bottom",sideOffset:N=0,align:V="center",alignOffset:z=0,arrowPadding:I=0,avoidCollisions:Y=!0,collisionBoundary:_=[],collisionPadding:X=0,sticky:q="partial",hideWhenDetached:K=!1,updatePositionStrategy:U="optimized",onPlaced:G,...J}=t,Q=tW(tz,W),[Z,tt]=e.useState(null),tn=(0,tE.useComposedRefs)(n,t=>tt(t)),[tr,to]=e.useState(null),tl=(0,tk.useSize)(tr),ta=tl?.width??0,tf=tl?.height??0,tc="number"==typeof X?X:{top:0,right:0,bottom:0,left:0,...X},tu=Array.isArray(_)?_:[_],td=tu.length>0,tp={padding:tc,boundary:tu.filter(tU),altBoundary:td},{refs:th,floatingStyles:tm,placement:tg,isPositioned:tC,middlewareData:tO}=function(t){void 0===t&&(t={});let{placement:n="bottom",strategy:r="absolute",middleware:i=[],platform:o,elements:{reference:l,floating:a}={},transform:s=!0,whileElementsMounted:f,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),[y,w]=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,w(t))},[]),b=l||m,R=a||y,A=e.useRef(null),S=e.useRef(null),T=e.useRef(u),P=null!=f,C=tT(f),E=tT(o),O=tT(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};E.current&&(a.platform=E.current),(t=A.current,e=S.current,i=new Map,l={...(o={platform:ty,...a}).platform,_c:i},L(t,e,{...o,platform:l})).then(t=>{let e={...t,isPositioned:!1!==O.current};H.current&&!tR(T.current,e)&&(T.current=e,tv.flushSync(()=>{d(e)}))})},[p,n,r,E,O]);tb(()=>{!1===c&&T.current.isPositioned&&(T.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(C.current)return C.current(b,R,D);D()}},[b,R,D,C,P]);let k=e.useMemo(()=>({reference:A,floating:S,setReference:x,setFloating:v}),[x,v]),j=e.useMemo(()=>({reference:b,floating:R}),[b,R]),F=e.useMemo(()=>{let t={position:r,left:0,top:0};if(!j.floating)return t;let e=tS(j.floating,u.x),n=tS(j.floating,u.y);return s?{...t,transform:"translate("+e+"px, "+n+"px)",...tA(j.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:e,top:n}},[r,s,j.floating,u.x,u.y]);return e.useMemo(()=>({...u,update:D,refs:k,elements:j,floatingStyles:F}),[u,D,k,j,F])}({strategy:"fixed",placement:B+("center"!==V?"-"+V:""),whileElementsMounted:(...t)=>(function(t,e,n,o){let a;void 0===o&&(o={});let{ancestorScroll:s=!0,ancestorResize:f=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:d=!1}=o,p=ti(t),h=s||f?[...p?te(p):[],...te(e)]:[];h.forEach(t=>{s&&t.addEventListener("scroll",n,{passive:!0}),f&&t.addEventListener("resize",n)});let m=p&&u?function(t,e){let n,o=null,a=F(t);function s(){var t;clearTimeout(n),null==(t=o)||t.disconnect(),o=null}return!function f(c,u){void 0===c&&(c=!1),void 0===u&&(u=1),s();let d=t.getBoundingClientRect(),{left:p,top:h,width:m,height:g}=d;
1if(c||e(),!m||!g)return;let y={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},w=!0;function x(e){let r=e[0].intersectionRatio;if(r!==u){if(!w)return f();r?f(!1,r):n=setTimeout(()=>{f(!1,1e-7)},1e3)}1!==r||tw(d,t.getBoundingClientRect())||f(),w=!1}try{o=new IntersectionObserver(x,{...y,root:a.ownerDocument})}catch(t){o=new IntersectionObserver(x,y)}o.observe(t)}(!0),s}(p,n):null,g=-1,y=null;c&&(y=new ResizeObserver(t=>{let[r]=t;r&&r.target===p&&y&&(y.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var t;null==(t=y)||t.observe(e)})),n()}),p&&!d&&y.observe(p),y.observe(e));let w=d?ts(t):null;return d&&function e(){let r=ts(t);w&&!tw(w,r)&&n(),w=r,a=requestAnimationFrame(e)}(),n(),()=>{var t;h.forEach(t=>{s&&t.removeEventListener("scroll",n),f&&t.removeEventListener("resize",n)}),null==m||m(),null==(t=y)||t.disconnect(),y=null,d&&cancelAnimationFrame(a)}})(...t,{animationFrame:"always"===U}),elements:{reference:Q.anchor},middleware:[{...{name:"offset",options:a=o={mainAxis:N+tf,alignmentAxis:z},async fn(t){var e,n;let{x:r,y:i,placement:o,middlewareData:l}=t,s=await D(t,a);return o===(null==(e=l.offset)?void 0:e.placement)&&null!=(n=l.arrow)&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:o}}}},options:[o,void 0]},Y&&{...{name:"shift",options:m=f={mainAxis:!0,crossAxis:!1,limiter:"partial"===q?{...(s=void 0,{options:s={},fn(t){let{x:e,y:n,placement:r,rects:i,middlewareData:o}=t,{offset:l=0,mainAxis:a=!0,crossAxis:f=!0}=c(s,t),d={x:e,y:n},h=g(r),m=p(h),y=d[m],w=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;y<e?y=e:y>n&&(y=n)}if(f){var b,R;let t="y"===m?"width":"height",e=O.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);w<n?w=n:w>l&&(w=l)}return{[m]:y,[h]:w}}}),options:[void 0,void 0]}:void 0,...tp},async fn(t){let{x:e,y:n,placement:o}=t,{mainAxis:l=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...f}=c(m,t),d={x:e,y:n},h=await P(t,f),y=g(u(o)),w=p(y),x=d[w],v=d[y];if(l){let t="y"===w?"top":"left",e="y"===w?"bottom":"right",n=x+h[t],o=x-h[e];x=i(n,r(x,o))}if(a){let t="y"===y?"top":"left",e="y"===y?"bottom":"right",n=v+h[t],o=v-h[e];v=i(n,r(v,o))}let b=s.fn({...t,[w]:x,[y]:v});return{...b,data:{x:b.x-e,y:b.y-n,enabled:{[w]:l,[y]:a}}}}},options:[f,void 0]},Y&&{...{name:"flip",options:S=A={...tp},async fn(t){var e,n,r,i,o,l,a,s;let f,m,A,{placement:T,middlewareData:L,rects:C,initialPlacement:E,platform:O,elements:D}=t,{mainAxis:H=!0,crossAxis:k=!0,fallbackPlacements:j,fallbackStrategy:F="bestFit",fallbackAxisSideDirection:$="none",flipAlignment:M=!0,...W}=c(S,t);if(null!=(e=L.arrow)&&e.alignmentOffset)return{};let B=u(T),N=g(E),V=u(E)===E,z=await (null==O.isRTL?void 0:O.isRTL(D.floating)),I=j||(V||!M?[R(E)]:(f=R(E),[y(E),f,y(f)])),Y="none"!==$;!j&&Y&&I.push(...(m=d(E),A=function(t,e,n){switch(t){case"top":case"bottom":if(n)return e?x:w;return e?w:x;case"left":case"right":return e?v:b;default:return[]}}(u(E),"start"===$,z),m&&(A=A.map(t=>t+"-"+m),M&&(A=A.concat(A.map(y)))),A));let _=[E,...I],X=await P(t,W),q=[],K=(null==(n=L.flip)?void 0:n.overflows)||[];if(H&&q.push(X[B]),k){let t,e,n,r,i=(l=T,a=C,void 0===(s=z)&&(s=!1),t=d(l),n=h(e=p(g(l))),r="x"===e?t===(s?"end":"start")?"right":"left":"start"===t?"bottom":"top",a.reference[n]>a.floating[n]&&(r=R(r)),[r,R(r)]);q.push(X[i[0]],X[i[1]])}if(K=[...K,{placement:T,overflows:q}],!q.every(t=>t<=0)){let t=((null==(r=L.flip)?void 0:r.index)||0)+1,e=_[t];if(e&&("alignment"!==k||N===g(e)||K.every(t=>t.overflows[0]>0&&g(t.placement)===N)))return{data:{index:t,overflows:K},reset:{placement:e}};let n=null==(i=K.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=K.filter(t=>{if(Y){let e=g(t.placement);return e===N||"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=E}if(T!==n)return{reset:{placement:n}}}return{}}},options:[A,void 0]},{...{name:"size",options:H=T={...tp,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:s,platform:f,elements:p}=t,{apply:h=()=>{},...m}=c(H,t),y=await P(t,m),w=u(a),x=d(a),v="y"===g(a),{width:b,height:R}=s.floating;"top"===w||"bottom"===w?(o=w,l=x===(await (null==f.isRTL?void 0:f.isRTL(p.floating))?"start":"end")?"left":"right"):(l=w,o="end"===x?"top":"bottom");let A=R-y.top-y.bottom,S=b-y.left-y.right,T=r(R-y[o],A),L=r(b-y[l],S),C=!t.middlewareData.shift,E=T,O=L;if(null!=(e=t.middlewareData.shift)&&e.enabled.x&&(O=S),null!=(n=t.middlewareData.shift)&&n.enabled.y&&(E=A),C&&!x){let t=i(y.left,0),e=i(y.right,0),n=i(y.top,0),r=i(y.bottom,0);v?O=b-2*(0!==t||0!==e?t+e:i(y.left,y.right)):E=R-2*(0!==n||0!==r?n+r:i(y.top,y.bottom))}await h({...t,availableWidth:O,availableHeight:E});let D=await f.getDimensions(p.floating);return b!==D.width||R!==D.height?{reset:{rects:!0}}:{}}},options:[T,void 0]},tr&&{...{name:"arrow",options:j=k={element:tr,padding:I},fn(t){let{element:e,padding:n}="function"==typeof j?j(t):j;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:[k,void 0]},tG({arrowWidth:ta,arrowHeight:tf}),K&&{...{name:"hide",options:M=$={strategy:"referenceHidden",...tp}
1,async fn(t){let{rects:e}=t,{strategy:n="referenceHidden",...r}=c(M,t);switch(n){case"referenceHidden":{let n=C(await P(t,{...r,elementContext:"reference"}),e.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:E(n)}}}case"escaped":{let n=C(await P(t,{...r,altBoundary:!0}),e.floating);return{data:{escapedOffsets:n,escaped:E(n)}}}default:return{}}}},options:[$,void 0]}]}),[tj,tF]=tJ(tg),t$=(0,tD.useCallbackRef)(G);(0,tH.useLayoutEffect)(()=>{tC&&t$?.()},[tC,t$]);let tM=tO.arrow?.x,tB=tO.arrow?.y,tN=tO.arrow?.centerOffset!==0,[tV,tY]=e.useState();return(0,tH.useLayoutEffect)(()=>{Z&&tY(window.getComputedStyle(Z).zIndex)},[Z]),(0,tP.jsx)("div",{ref:th.setFloating,"data-radix-popper-content-wrapper":"",style:{...tm,transform:tC?tm.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:tV,"--radix-popper-transform-origin":[tO.transformOrigin?.x,tO.transformOrigin?.y].join(" "),...tO.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:(0,tP.jsx)(tI,{scope:W,placedSide:tj,onArrowChange:to,arrowX:tM,arrowY:tB,shouldHideArrow:tN,children:(0,tP.jsx)(tL.Primitive.div,{"data-side":tj,"data-align":tF,...J,ref:tn,style:{...J.style,animation:tC?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,tP.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,tP.jsx)(tC,{...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,[s,f]=tJ(n),c={start:"0%",center:"50%",end:"100%"}[f],u=(i.arrow?.x??0)+l/2,d=(i.arrow?.y??0)+a/2,p="",h="";return"bottom"===s?(p=o?c:`${u}px`,h=`${-a}px`):"top"===s?(p=o?c:`${u}px`,h=`${r.floating.height+a}px`):"right"===s?(p=`${-a}px`,h=o?c:`${d}px`):"left"===s&&(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,t$],534684)}]);
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.