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