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