1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,53660,e=>{"use strict";var t=e.i(71645);let n=["top","right","bottom","left"],r=Math.min,i=Math.max,o=Math.round,l=Math.floor,a=e=>({x:e,y:e}),f={left:"right",right:"left",bottom:"top",top:"bottom"},s={start:"end",end:"start"};function c(e,t){return"function"==typeof e?e(t):e}function u(e){return e.split("-")[0]}function d(e){return e.split("-")[1]}function p(e){return"x"===e?"y":"x"}function h(e){return"y"===e?"height":"width"}let m=new Set(["top","bottom"]);function g(e){return m.has(u(e))?"y":"x"}function w(e){return e.replace(/start|end/g,e=>s[e])}let y=["left","right"],x=["right","left"],v=["top","bottom"],b=["bottom","top"];function R(e){return e.replace(/left|right|bottom|top/g,e=>f[e])}function A(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function S(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=g(t),a=p(g(t)),f=h(a),s=u(t),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(t)){case"start":r[a]-=y*(n&&c?-1:1);break;case"end":r[a]+=y*(n&&c?-1:1)}return r}async function C(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:o,rects:l,elements:a,strategy:f}=e,{boundary:s="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=c(t,e),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 L=async(e,t,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(t)),s=await l.getElementRects({reference:e,floating:t,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:e,floating:t}});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:e,floating:t,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 T(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function P(e){return n.some(t=>e[t]>=0)}let E=new Set(["left","top"]);async function H(e,t){let{placement:n,platform:r,elements:i}=e,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(t,e),{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 D(){return"u">typeof window}function k(e){return W(e)?(e.nodeName||"").toLowerCase():"#document"}function j(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function F(e){var t;return null==(t=(W(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function W(e){return!!D()&&(e instanceof Node||e instanceof j(e).Node)}function M(e){return!!D()&&(e instanceof Element||e instanceof j(e).Element)}function $(e){return!!D()&&(e instanceof HTMLElement||e instanceof j(e).HTMLElement)}function z(e){return!(!D()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof j(e).ShadowRoot)}let B=new Set(["inline","contents"]);function N(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=Q(e);
1return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!B.has(i)}let V=new Set(["table","td","th"]),I=[":popover-open",":modal"];function Y(e){return I.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let _=["transform","translate","scale","rotate","perspective"],X=["transform","translate","scale","rotate","perspective","filter"],q=["paint","layout","strict","content"];function K(e){let t=U(),n=M(e)?Q(e):e;return _.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||X.some(e=>(n.willChange||"").includes(e))||q.some(e=>(n.contain||"").includes(e))}function U(){return!("u"<typeof CSS)&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let G=new Set(["html","body","#document"]);function J(e){return G.has(k(e))}function Q(e){return j(e).getComputedStyle(e)}function Z(e){return M(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ee(e){if("html"===k(e))return e;let t=e.assignedSlot||e.parentNode||z(e)&&e.host||F(e);return z(t)?t.host:t}function et(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=ee(t);return J(n)?t.ownerDocument?t.ownerDocument.body:t.body:$(n)&&N(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),l=j(i);if(o){let e=en(l);return t.concat(l,l.visualViewport||[],N(i)?i:[],e&&n?et(e):[])}return t.concat(i,et(i,[],n))}function en(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function er(e){let t=Q(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=$(e),l=i?e.offsetWidth:n,a=i?e.offsetHeight:r,f
1=o(n)!==l||o(r)!==a;return f&&(n=l,r=a),{width:n,height:r,$:f}}function ei(e){return M(e)?e:e.contextElement}function eo(e){let t=ei(e);if(!$(t))return a(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:l}=er(t),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 el=a(0);function ea(e){let t=j(e);return U()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:el}function ef(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),l=ei(e),f=a(1);t&&(r?M(r)&&(f=eo(r)):f=eo(e));let s=(void 0===(i=n)&&(i=!1),r&&(!i||r===j(l))&&i)?ea(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 e=j(l),t=r&&M(r)?j(r):r,n=e,i=en(n);for(;i&&r&&t!==n;){let e=eo(i),t=i.getBoundingClientRect(),r=Q(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,u*=e.y,d*=e.x,p*=e.y,c+=o,u+=l,i=en(n=j(i))}}return S({width:d,height:p,x:c,y:u})}function es(e,t){let n=Z(e).scrollLeft;return t?t.left+n:ef(F(e)).left+n}function ec(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-es(e,n),y:n.top+t.scrollTop}}let eu=new Set(["absolute","fixed"]);function ed(e,t,n){var r;let o;if("viewport"===t)o=function(e,t){let n=j(e),r=F(e),i=n.visualViewport,o=r.clientWidth,l=r.clientHeight,a=0,f=0;if(i){o=i.width,l=i.height;let e=U();(!e||e&&"fixed"===t)&&(a=i.offsetLeft,f=i.offsetTop)}let s=es(r);if(s<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,l=Math.abs(r.clientWidth-t.clientWidth-i);l<=25&&(o-=l)}else s<=25&&(o+=s);return{width:o,height:l,x:a,y:f}}(e,n);else if("document"===t){let t,n,l,a,f,s,c;r=F(e),t=F(r),n=Z(r),l=r.ownerDocument.body,a=i(t.scrollWidth,t.clientWidth,l.scrollWidth,l.clientWidth),f=i(t.scrollHeight,t.clientHeight,l.scrollHeight,l.clientHeight),s=-n.scrollLeft+es(r),c=-n.scrollTop,"rtl"===Q(l).direction&&(s+=i(t.clientWidth,l.clientWidth)-a),o={width:a,height:f,x:s,y:c}}else if(M(t)){let e,r,i,l,f,s;r=(e=ef(t,!0,"fixed"===n)).top+t.clientTop,i=e.left+t.clientLeft,l=$(t)?eo(t):a(1),f=t.clientWidth*l.x,s=t.clientHeight*l.y,o={width:f,height:s,x:i*l.x,y:r*l.y}}else{let n=ea(e);o={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return S(o)}function ep(e){return"static"===Q(e).position}function eh(e,t){if(!$(e)||"fixed"===Q(e).position)return null;if(t)return t(e);let n=e.offsetParent;return F(e)===n&&(n=n.ownerDocument.body),n}function em(e,t){var n;let r=j(e);if(Y(e))return r;if(!$(e)){let t=ee(e);for(;t&&!J(t);){if(M(t)&&!ep(t))return t;t=ee(t)}return r}let i=eh(e,t);for(;i&&(n=i,V.has(k(n)))&&ep(i);)i=eh(i,t);return i&&J(i)&&ep(i)&&!K(i)?r:i||function(e){let t=ee(e);for(;$(t)&&!J(t);){if(K(t))return t;if(Y(t))break;t=ee(t)}return null}(e)||r}let eg=async function(e){let t=this.getOffsetParent||em,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=$(t),i=F(t),o="fixed"===n,l=ef(e,!0,o,t),f={scrollLeft:0,scrollTop:0},s=a(0);if(r||!r&&!o)if(("body"!==k(t)||N(i))&&(f=Z(t)),r){let e=ef(t,!0,o,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else i&&(s.x=es(i));o&&!r&&i&&(s.x=es(i));let c=!i||r||o?a(0):ec(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}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},ew={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,l=F(r),f=!!t&&Y(t.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)||N(l))&&(s=Z(r)),$(r))){let e=ef(r);c=eo(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let p=!l||d||o?a(0):ec(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:F,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:l}=e,a=[..."clippingAncestors"===n?Y(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=et(e,[],!1).filter(e=>M(e)&&"body"!==k(e)),i=null,o="fixed"===Q(e).position,l=o?ee(e):e;for(;M(l)&&!J(l);){let t=Q(l),n=K(l);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&!!i&&eu.has(i.position)||N(l)&&!n&&function e(t,n){let r=ee(t);return!(r===n||!M(r)||J(r))&&("fixed"===Q(r).position||e(r,n))}(e,l))?r=r.filter(e=>e!==l):i=t,l=ee(l)}return t.set(e,r),r}(t,this._c):[].concat(n),o],f=a[0],s=a.reduce((e,n)=>{let o=ed(t,n,l);return e.top=i(o.top,e.top),e.right=r(o.right,e.right),e.bottom=r(o.bottom,e.bottom),e.left=i(o.left,e.left),e},ed(t,f,l));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:em,getElementRects:eg,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=er(e);return{width:t,height:n}},getScale:eo,isElement:M,isRTL:function(e){return"rtl"===Q(e).direction}};function ey(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let ex=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:o,placement:l,rects:a,platform:f,elements:s,middlewareData:u}=t,{element:m,padding:w=0}=c(e,t)||{};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],L=x[v]-a.reference[v],T=await (null==f.getOffsetParent?void 0:f.getOffsetParent(m)),P=T?T[O]:0;P&&await (null==f.isElement?void 0:f.isElement(T))||(P=s.floating[O]||a.floating[b]);
1let E=P/2-R[b]/2-1,H=r(y[S?"top":"left"],E),D=r(y[S?"bottom":"right"],E),k=P-R[b]-D,j=P/2-R[b]/2+(C/2-L/2),F=i(H,r(j,k)),W=!u.arrow&&null!=d(l)&&j!==F&&a.reference[b]/2-(j<H?H:D)-R[b]/2<0,M=W?j<H?j-H:j-k:0;return{[v]:x[v]+M,data:{[v]:F,centerOffset:j-F-M,...W&&{alignmentOffset:M}},reset:W}}});var ev=e.i(74080),eb="u">typeof document?t.useLayoutEffect:function(){};function eR(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(!eR(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)&&!eR(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 eS(e,t){let n=eA(e);return Math.round(t*n)/n}function eO(e){let n=t.useRef(e);return eb(()=>{n.current=e}),n}var eC=e.i(48425),eL=e.i(43476),eT=t.forwardRef((e,t)=>{let{children:n,width:r=10,height:i=5,...o}=e;return(0,eL.jsx)(eC.Primitive.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,eL.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eT.displayName="Arrow";var eP=e.i(20783),eE=e.i(30030),eH=e.i(30207),eD=e.i(34620),ek="Popper",[ej,eF]=(0,eE.createContextScope)(ek),[eW,eM]=ej(ek),e$=e=>{let{__scopePopper:n,children:r}=e,[i,o]=t.useState(null);return(0,eL.jsx)(eW,{scope:n,anchor:i,onAnchorChange:o,children:r})};e$.displayName=ek;var ez="PopperAnchor",eB=t.forwardRef((e,n)=>{let{__scopePopper:r,virtualRef:i,...o}=e,l=eM(ez,r),a=t.useRef(null),f=(0,eP.useComposedRefs)(n,a),s=t.useRef(null);return t.useEffect(()=>{let e=s.current;s.current=i?.current||a.current,e!==s.current&&l.onAnchorChange(s.current)}),i?null:(0,eL.jsx)(eC.Primitive.div,{...o,ref:f})});eB.displayName=ez;var eN="PopperContent",[eV,eI]=ej(eN),eY=t.forwardRef((e,n)=>{var o,a,f,s,m,A,S,O,C,D,k,j,W;let{__scopePopper:M,side:$="bottom",sideOffset:z=0,align:B="center",alignOffset:N=0,arrowPadding:V=0,avoidCollisions:I=!0,collisionBoundary:Y=[],collisionPadding:_=0,sticky:X="partial",hideWhenDetached:q=!1,updatePositionStrategy:K="optimized",onPlaced:U,...G}=e,J=eM(eN,M),[Q,Z]=t.useState(null),ee=(0,eP.useComposedRefs)(n,e=>Z(e)),[en,er]=t.useState(null),eo=function(e){let[n,r]=t.useState(void 0);return(0,eD.useLayoutEffect)(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,i;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,i=t.blockSize}else n=e.offsetWidth,i=e.offsetHeight;r({width:n,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),n}(en),el=eo?.width??0,ea=eo?.height??0,es="number"==typeof _?_:{top:0,right:0,bottom:0,left:0,..._},ec=Array.isArray(Y)?Y:[Y],eu=ec.length>0,ed={padding:es,boundary:ec.filter(eK),altBoundary:eu},{refs:ep,floatingStyles:eh,placement:em,isPositioned:eg,middlewareData:eT}=function(e){void 0===e&&(e={});let{placement:n="bottom",strategy:r="absolute",middleware:i=[],platform:o,elements:{reference:l,floating:a}={},transform:f=!0,whileElementsMounted:s,open:c}=e,[u,d]=t.useState({x:0,y:0,strategy:r,placement:n,middlewareData:{},isPositioned:!1}),[p,h]=t.useState(i);eR(p,i)||h(i);let[m,g]=t.useState(null),[w,y]=t.useState(null),x=t.useCallback(e=>{e!==A.current&&(A.current=e,g(e))},[]),v=t.useCallback(e=>{e!==S.current&&(S.current=e,y(e))},[]),b=l||m,R=a||w,A=t.useRef(null),S=t.useRef(null),O=t.useRef(u),C=null!=s,T=eO(s),P=eO(o),E=eO(c),H=t.useCallback(()=>{var e,t;let i,o,l;if(!A.current||!S.current)return;let a={placement:n,strategy:r,middleware:p};P.current&&(a.platform=P.current),(e=A.current,t=S.current,i=new Map,l={...(o={platform:ew,...a}).platform,_c:i},L(e,t,{...o,platform:l})).then(e=>{let t={...e,isPositioned:!1!==E.current};D.current&&!eR(O.current,t)&&(O.current=t,ev.flushSync(()=>{d(t)}))})},[p,n,r,P,E]);eb(()=>{!1===c&&O.current.isPositioned&&(O.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[c]);let D=t.useRef(!1);eb(()=>(D.current=!0,()=>{D.current=!1}),[]),eb(()=>{if(b&&(A.current=b),R&&(S.current=R),b&&R){if(T.current)return T.current(b,R,H);H()}},[b,R,H,T,C]);let k=t.useMemo(()=>({reference:A,floating:S,setReference:x,setFloating:v}),[x,v]),j=t.useMemo(()=>({reference:b,floating:R}),[b,R]),F=t.useMemo(()=>{let e={position:r,left:0,top:0};if(!j.floating)return e;let t=eS(j.floating,u.x),n=eS(j.floating,u.y);return f?{...e,transform:"translate("+t+"px, "+n+"px)",...eA(j.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,f,j.floating,u.x,u.y]);return t.useMemo(()=>({...u,update:H,refs:k,elements:j,floatingStyles:F}),[u,H,k,j,F])}({strategy:"fixed",placement:$+("center"!==B?"-"+B:""),whileElementsMounted:(...e)=>(function(e,t,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=ei(e),h=f||s?[...p?et(p):[],...et(t)]:[];
1h.forEach(e=>{f&&e.addEventListener("scroll",n,{passive:!0}),s&&e.addEventListener("resize",n)});let m=p&&u?function(e,t){let n,o=null,a=F(e);function f(){var e;clearTimeout(n),null==(e=o)||e.disconnect(),o=null}return!function s(c,u){void 0===c&&(c=!1),void 0===u&&(u=1),f();let d=e.getBoundingClientRect(),{left:p,top:h,width:m,height:g}=d;if(c||t(),!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(t){let r=t[0].intersectionRatio;if(r!==u){if(!y)return s();r?s(!1,r):n=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==r||ey(d,e.getBoundingClientRect())||s(),y=!1}try{o=new IntersectionObserver(x,{...w,root:a.ownerDocument})}catch(e){o=new IntersectionObserver(x,w)}o.observe(e)}(!0),f}(p,n):null,g=-1,w=null;c&&(w=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&w&&(w.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=w)||e.observe(t)})),n()}),p&&!d&&w.observe(p),w.observe(t));let y=d?ef(e):null;return d&&function t(){let r=ef(e);y&&!ey(y,r)&&n(),y=r,a=requestAnimationFrame(t)}(),n(),()=>{var e;h.forEach(e=>{f&&e.removeEventListener("scroll",n),s&&e.removeEventListener("resize",n)}),null==m||m(),null==(e=w)||e.disconnect(),w=null,d&&cancelAnimationFrame(a)}})(...e,{animationFrame:"always"===K}),elements:{reference:J.anchor},middleware:[{...{name:"offset",options:a=o={mainAxis:z+ea,alignmentAxis:N},async fn(e){var t,n;let{x:r,y:i,placement:o,middlewareData:l}=e,f=await H(e,a);return o===(null==(t=l.offset)?void 0:t.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(e){let{x:t,y:n,placement:r,rects:i,middlewareData:o}=e,{offset:l=0,mainAxis:a=!0,crossAxis:s=!0}=c(f,e),d={x:t,y:n},h=g(r),m=p(h),w=d[m],y=d[h],x=c(l,e),v="number"==typeof x?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(a){let e="y"===m?"height":"width",t=i.reference[m]-i.floating[e]+v.mainAxis,n=i.reference[m]+i.reference[e]-v.mainAxis;w<t?w=t:w>n&&(w=n)}if(s){var b,R;let e="y"===m?"width":"height",t=E.has(u(r)),n=i.reference[h]-i.floating[e]+(t&&(null==(b=o.offset)?void 0:b[h])||0)+(t?0:v.crossAxis),l=i.reference[h]+i.reference[e]+(t?0:(null==(R=o.offset)?void 0:R[h])||0)-(t?v.crossAxis:0);y<n?y=n:y>l&&(y=l)}return{[m]:w,[h]:y}}}),options:[void 0,void 0]}:void 0,...ed},async fn(e){let{x:t,y:n,placement:o,platform:l}=e,{mainAxis:a=!0,crossAxis:f=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...d}=c(m,e),h={x:t,y:n},w=await l.detectOverflow(e,d),y=g(u(o)),x=p(y),v=h[x],b=h[y];if(a){let e="y"===x?"top":"left",t="y"===x?"bottom":"right",n=v+w[e],o=v-w[t];v=i(n,r(v,o))}if(f){let e="y"===y?"top":"left",t="y"===y?"bottom":"right",n=b+w[e],o=b-w[t];b=i(n,r(b,o))}let R=s.fn({...e,[x]:v,[y]:b});return{...R,data:{x:R.x-t,y:R.y-n,enabled:{[x]:a,[y]:f}}}}},options:[s,void 0]},I&&{...{name:"flip",options:S=A={...ed},async fn(e){var t,n,r,i,o,l,a,f;let s,m,A,{placement:O,middlewareData:C,rects:L,initialPlacement:T,platform:P,elements:E}=e,{mainAxis:H=!0,crossAxis:D=!0,fallbackPlacements:k,fallbackStrategy:j="bestFit",fallbackAxisSideDirection:F="none",flipAlignment:W=!0,...M}=c(S,e);if(null!=(t=C.arrow)&&t.alignmentOffset)return{};let $=u(O),z=g(T),B=u(T)===T,N=await (null==P.isRTL?void 0:P.isRTL(E.floating)),V=k||(B||!W?[R(T)]:(s=R(T),[w(T),s,w(s)])),I="none"!==F;!k&&I&&V.push(...(m=d(T),A=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?x:y;return t?y:x;case"left":case"right":return t?v:b;default:return[]}}(u(T),"start"===F,N),m&&(A=A.map(e=>e+"-"+m),W&&(A=A.concat(A.map(w)))),A));let Y=[T,...V],_=await P.detectOverflow(e,M),X=[],q=(null==(n=C.flip)?void 0:n.overflows)||[];if(H&&X.push(_[$]),D){let e,t,n,r,i=(l=O,a=L,void 0===(f=N)&&(f=!1),e=d(l),n=h(t=p(g(l))),r="x"===t?e===(f?"end":"start")?"right":"left":"start"===e?"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(e=>e<=0)){let e=((null==(r=C.flip)?void 0:r.index)||0)+1,t=Y[e];
1if(t&&("alignment"!==D||z===g(t)||q.every(e=>g(e.placement)!==z||e.overflows[0]>0)))return{data:{index:e,overflows:q},reset:{placement:t}};let n=null==(i=q.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!n)switch(j){case"bestFit":{let e=null==(o=q.filter(e=>{if(I){let t=g(e.placement);return t===z||"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:o[0];e&&(n=e);break}case"initialPlacement":n=T}if(O!==n)return{reset:{placement:n}}}return{}}},options:[A,void 0]},{...{name:"size",options:C=O={...ed,apply:({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`)}},async fn(e){var t,n;let o,l,{placement:a,rects:f,platform:s,elements:p}=e,{apply:h=()=>{},...m}=c(C,e),w=await s.detectOverflow(e,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),L=r(b-w[l],S),T=!e.middlewareData.shift,P=O,E=L;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(E=S),null!=(n=e.middlewareData.shift)&&n.enabled.y&&(P=A),T&&!x){let e=i(w.left,0),t=i(w.right,0),n=i(w.top,0),r=i(w.bottom,0);v?E=b-2*(0!==e||0!==t?e+t:i(w.left,w.right)):P=R-2*(0!==n||0!==r?n+r:i(w.top,w.bottom))}await h({...e,availableWidth:E,availableHeight:P});let H=await s.getDimensions(p.floating);return b!==H.width||R!==H.height?{reset:{rects:!0}}:{}}},options:[O,void 0]},en&&{...{name:"arrow",options:k=D={element:en,padding:V},fn(e){let{element:t,padding:n}="function"==typeof k?k(e):k;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?ex({element:t.current,padding:n}).fn(e):{}:t?ex({element:t,padding:n}).fn(e):{}}},options:[D,void 0]},eU({arrowWidth:el,arrowHeight:ea}),q&&{...{name:"hide",options:W=j={strategy:"referenceHidden",...ed},async fn(e){let{rects:t,platform:n}=e,{strategy:r="referenceHidden",...i}=c(W,e);switch(r){case"referenceHidden":{let r=T(await n.detectOverflow(e,{...i,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:r,referenceHidden:P(r)}}}case"escaped":{let r=T(await n.detectOverflow(e,{...i,altBoundary:!0}),t.floating);return{data:{escapedOffsets:r,escaped:P(r)}}}default:return{}}}},options:[j,void 0]}]}),[eE,ek]=eG(em),ej=(0,eH.useCallbackRef)(U);(0,eD.useLayoutEffect)(()=>{eg&&ej?.()},[eg,ej]);let eF=eT.arrow?.x,eW=eT.arrow?.y,e$=eT.arrow?.centerOffset!==0,[ez,eB]=t.useState();return(0,eD.useLayoutEffect)(()=>{Q&&eB(window.getComputedStyle(Q).zIndex)},[Q]),(0,eL.jsx)("div",{ref:ep.setFloating,"data-radix-popper-content-wrapper":"",style:{...eh,transform:eg?eh.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ez,"--radix-popper-transform-origin":[eT.transformOrigin?.x,eT.transformOrigin?.y].join(" "),...eT.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,eL.jsx)(eV,{scope:M,placedSide:eE,onArrowChange:er,arrowX:eF,arrowY:eW,shouldHideArrow:e$,children:(0,eL.jsx)(eC.Primitive.div,{"data-side":eE,"data-align":ek,...G,ref:ee,style:{...G.style,animation:eg?void 0:"none"}})})})});eY.displayName=eN;var e_="PopperArrow",eX={top:"bottom",right:"left",bottom:"top",left:"right"},eq=t.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,i=eI(e_,n),o=eX[i.placedSide];return(0,eL.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,eL.jsx)(eT,{...r,ref:t,style:{...r.style,display:"block"}})})});function eK(e){return null!==e}eq.displayName=e_;var eU=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,[f,s]=eG(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 eG(e){let[t,n="center"]=e.split("-");return[t,n]}e.s(["Anchor",()=>eB,"Arrow",()=>eq,"Content",()=>eY,"Root",()=>e$,"createPopperScope",()=>eF],53660)},59411,e=>{"use strict";var t=e.i(71645),n=e.i(48425),r=e.i(43476),i=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),o=t.forwardRef((e,t)=>
1(0,r.jsx)(n.Primitive.span,{...e,ref:t,style:{...i,...e.style}}));o.displayName="VisuallyHidden",e.s(["Root",()=>o])}]);
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.