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