1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,953760,t=>{"use strict";let e,n=["top","right","bottom","left"],i=n.reduce((t,e)=>t.concat(e,e+"-start",e+"-end"),[]),r=Math.min,o=Math.max,l=Math.round,f=Math.floor,a=t=>({x:t,y:t}),c={left:"right",right:"left",bottom:"top",top:"bottom"};function s(t,e){return"function"==typeof t?t(e):t}function u(t){return t.split("-")[0]}function d(t){return t.split("-")[1]}function h(t){return"x"===t?"y":"x"}function p(t){return"y"===t?"height":"width"}function m(t){let e=t[0];return"t"===e||"b"===e?"y":"x"}function g(t,e,n){void 0===n&&(n=!1);let i=d(t),r=h(m(t)),o=p(r),l="x"===r?i===(n?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[o]>e.floating[o]&&(l=R(l)),[l,R(l)]}function w(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}let y=["left","right"],v=["right","left"],x=["top","bottom"],b=["bottom","top"];function R(t){let e=u(t);return c[e]+t.slice(e.length)}function T(t){return"number"!=typeof t?{top:0,right:0,bottom:0,left:0,...t}:{top:t,right:t,bottom:t,left:t}}function A(t){let{x:e,y:n,width:i,height:r}=t;return{width:i,height:r,top:n,left:e,right:e+i,bottom:n+r,x:e,y:n}}function L(t,e,n){let i,{reference:r,floating:o}=t,l=m(e),f=h(m(e)),a=p(f),c=u(e),s="y"===l,g=r.x+r.width/2-o.width/2,w=r.y+r.height/2-o.height/2,y=r[a]/2-o[a]/2;switch(c){case"top":i={x:g,y:r.y-o.height};break;case"bottom":i={x:g,y:r.y+r.height};break;case"right":i={x:r.x+r.width,y:w};break;case"left":i={x:r.x-o.width,y:w};break;default:i={x:r.x,y:r.y}}switch(d(e)){case"start":i[f]-=y*(n&&s?-1:1);break;case"end":i[f]+=y*(n&&s?-1:1)}return i}async function O(t,e){var n;void 0===e&&(e={});let{x:i,y:r,platform:o,rects:l,elements:f,strategy:a}=t,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:h=!1,padding:p=0}=s(e,t),m=T(p),g=f[h?"floating"===d?"reference":"floating":d],w=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(f.floating)),boundary:c,rootBoundary:u,strategy:a})),y="floating"===d?{x:i,y:r,width:l.floating.width,height:l.floating.height}:l.reference,v=await (null==o.getOffsetParent?void 0:o.getOffsetParent(f.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=A(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:f,rect:y,offsetParent:v,strategy:a}):y);return{top:(w.top-b.top+m.top)/x.y,bottom:(b.bottom-w.bottom+m.bottom)/x.y,left:(w.left-b.left+m.left)/x.x,right:(b.right-w.right+m.right)/x.x}}let C=async(t,e,n)=>{let{placement:i="bottom",strategy:r="absolute",middleware:o=[],platform:l}=n,f=l.detectOverflow?l:{...l,detectOverflow:O},a=await (null==l.isRTL?void 0:l.isRTL(e)),c=await l.getElementRects({reference:t,floating:e,strategy:r}),{x:s,y:u}=L(c,i,a),d=i,h=0,p={};for(let n=0;n<o.length;n++){let m=o[n];if(!m)continue;let{name:g,fn:w}=m,{x:y,y:v,data:x,reset:b}=await w({x:s,y:u,initialPlacement:i,placement:d,strategy:r,middlewareData:p,rects:c,platform:f,elements:{reference:t,floating:e}});s=null!=y?y:s,u=null!=v?v:u,p[g]={...p[g],...x},b&&h<50&&(h++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(c=!0===b.rects?await l.getElementRects({reference:t,floating:e,strategy:r}):b.rects),{x:s,y:u}=L(c,d,a)),n=-1)}return{x:s,y:u,placement:d,strategy:r,middlewareData:p}};function E(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function P(t){return n.some(e=>t[e]>=0)}function D(t){let e=r(...t.map(t=>t.left)),n=r(...t.map(t=>t.top));return{x:e,y:n,width:o(...t.map(t=>t.right))-e,height:o(...t.map(t=>t.bottom))-n}}let S=new Set(["left","top"]);async function F(t,e){let{placement:n,platform:i,elements:r}=t,o=await (null==i.isRTL?void 0:i.isRTL(r.floating)),l=u(n),f=d(n),a="y"===m(n),c=S.has(l)?-1:1,h=o&&a?-1:1,p=s(e,t),{mainAxis:g,crossAxis:w,alignmentAxis:y}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}
1:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return f&&"number"==typeof y&&(w="end"===f?-1*y:y),a?{x:w*h,y:g*c}:{x:g*c,y:w*h}}function H(){return"u">typeof window}function W(t){return B(t)?(t.nodeName||"").toLowerCase():"#document"}function N(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function k(t){var e;return null==(e=(B(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function B(t){return!!H()&&(t instanceof Node||t instanceof N(t).Node)}function M(t){return!!H()&&(t instanceof Element||t instanceof N(t).Element)}function V(t){return!!H()&&(t instanceof HTMLElement||t instanceof N(t).HTMLElement)}function _(t){return!(!H()||"u"<typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof N(t).ShadowRoot)}function z(t){let{overflow:e,overflowX:n,overflowY:i,display:r}=Y(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+n)&&"inline"!==r&&"contents"!==r}function j(t){try{if(t.matches(":popover-open"))return!0}catch(t){}try{return t.matches(":modal")}catch(t){return!1}}let I=/transform|translate|scale|rotate|perspective|filter/,U=/paint|layout|strict|content/,$=t=>!!t&&"none"!==t;function q(t){let e=M(t)?Y(t):t;return $(e.transform)||$(e.translate)||$(e.scale)||$(e.rotate)||$(e.perspective)||!K()&&($(e.backdropFilter)||$(e.filter))||I.test(e.willChange||"")||U.test(e.contain||"")}function K(){return null==e&&(e="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),e}function X(t){return/^(html|body|#document)$/.test(W(t))}function Y(t){return N(t).getComputedStyle(t)}function G(t){return M(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function J(t){if("html"===W(t))return t;let e=t.assignedSlot||t.parentNode||_(t)&&t.host||k(t);return _(e)?e.host:e}function Q(t,e,n){var i;void 0===e&&(e=[]),void 0===n&&(n=!0);let r=function t(e){let n=J(e);return X(n)?e.ownerDocument?e.ownerDocument.body:e.body:V(n)&&z(n)?n:t(n)}(t),o=r===(null==(i=t.ownerDocument)?void 0:i.body),l=N(r);if(!o)return e.concat(r,Q(r,[],n));{let t=Z(l);return e.concat(l,l.visualViewport||[],z(r)?r:[],t&&n?Q(t):[])}}function Z(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function tt(t){let e=Y(t),n=parseFloat(e.width)||0,i=parseFloat(e.height)||0,r=V(t),o=r?t.offsetWidth:n,f=r?t.offsetHeight:i,a=l(n)!==o||l(i)!==f;return a&&(n=o,i=f),{width:n,height:i,$:a}}function te(t){return M(t)?t:t.contextElement}function tn(t){let e=te(t);if(!V(e))return a(1);let n=e.getBoundingClientRect(),{width:i,height:r,$:o}=tt(e),f=(o?l(n.width):n.width)/i,c=(o?l(n.height):n.height)/r;return f&&Number.isFinite(f)||(f=1),c&&Number.isFinite(c)||(c=1),{x:f,y:c}}let ti=a(0);function tr(t){let e=N(t);
1return K()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:ti}function to(t,e,n,i){var r;void 0===e&&(e=!1),void 0===n&&(n=!1);let o=t.getBoundingClientRect(),l=te(t),f=a(1);e&&(i?M(i)&&(f=tn(i)):f=tn(t));let c=(void 0===(r=n)&&(r=!1),i&&(!r||i===N(l))&&r)?tr(l):a(0),s=(o.left+c.x)/f.x,u=(o.top+c.y)/f.y,d=o.width/f.x,h=o.height/f.y;if(l){let t=N(l),e=i&&M(i)?N(i):i,n=t,r=Z(n);for(;r&&i&&e!==n;){let t=tn(r),e=r.getBoundingClientRect(),i=Y(r),o=e.left+(r.clientLeft+parseFloat(i.paddingLeft))*t.x,l=e.top+(r.clientTop+parseFloat(i.paddingTop))*t.y;s*=t.x,u*=t.y,d*=t.x,h*=t.y,s+=o,u+=l,r=Z(n=N(r))}}return A({width:d,height:h,x:s,y:u})}function tl(t,e){let n=G(t).scrollLeft;return e?e.left+n:to(k(t)).left+n}function tf(t,e){let n=t.getBoundingClientRect();return{x:n.left+e.scrollLeft-tl(t,n),y:n.top+e.scrollTop}}function ta(t,e,n){var i;let r;if("viewport"===e)r=function(t,e){let n=N(t),i=k(t),r=n.visualViewport,o=i.clientWidth,l=i.clientHeight,f=0,a=0;if(r){o=r.width,l=r.height;let t=K();(!t||t&&"fixed"===e)&&(f=r.offsetLeft,a=r.offsetTop)}let c=tl(i);if(c<=0){let t=i.ownerDocument,e=t.body,n=getComputedStyle(e),r="CSS1Compat"===t.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,l=Math.abs(i.clientWidth-e.clientWidth-r);l<=25&&(o-=l)}else c<=25&&(o+=c);return{width:o,height:l,x:f,y:a}}(t,n);else if("document"===e){let e,n,l,f,a,c,s;i=k(t),e=k(i),n=G(i),l=i.ownerDocument.body,f=o(e.scrollWidth,e.clientWidth,l.scrollWidth,l.clientWidth),a=o(e.scrollHeight,e.clientHeight,l.scrollHeight,l.clientHeight),c=-n.scrollLeft+tl(i),s=-n.scrollTop,"rtl"===Y(l).direction&&(c+=o(e.clientWidth,l.clientWidth)-f),r={width:f,height:a,x:c,y:s}}else if(M(e)){let t,i,o,l,f,c;i=(t=to(e,!0,"fixed"===n)).top+e.clientTop,o=t.left+e.clientLeft,l=V(e)?tn(e):a(1),f=e.clientWidth*l.x,c=e.clientHeight*l.y,r={width:f,height:c,x:o*l.x,y:i*l.y}}else{let n=tr(t);r={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return A(r)}function tc(t){return"static"===Y(t).position}function ts(t,e){if(!V(t)||"fixed"===Y(t).position)return null;if(e)return e(t);let n=t.offsetParent;return k(t)===n&&(n=n.ownerDocument.body),n}function tu(t,e){var n;let i=N(t);if(j(t))return i;if(!V(t)){let e=J(t);for(;e&&!X(e);){if(M(e)&&!tc(e))return e;e=J(e)}return i}let r=ts(t,e);for(;r&&(n=r,/^(table|td|th)$/.test(W(n)))&&tc(r);)r=ts(r,e);return r&&X(r)&&tc(r)&&!q(r)?i:r||function(t){let e=J(t);for(;V(e)&&!X(e);){if(q(e))return e;if(j(e))break;e=J(e)}return null}(t)||i}let td=async function(t){let e=this.getOffsetParent||tu,n=this.getDimensions,i=await n(t.floating);return{reference:function(t,e,n){let i=V(e),r=k(e),o="fixed"===n,l=to(t,!0,o,e),f={scrollLeft:0,scrollTop:0},c=a(0);if(i||!i&&!o)if(("body"!==W(e)||z(r))&&(f=G(e)),i){let t=to(e,!0,o,e);c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}else r&&(c.x=tl(r));o&&!i&&r&&(c.x=tl(r));let s=!r||i||o?a(0):tf(r,f);return{x:l.left+f.scrollLeft-c.x-s.x,y:l.top+f.scrollTop-c.y-s.y,width:l.width,height:l.height}}(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}},th={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:i,strategy:r}=t,o="fixed"===r,l=k(i),f=!!e&&j(e.floating);if(i===l||f&&o)return n;let c={scrollLeft:0,scrollTop:0},s=a(1),u=a(0),d=V(i);if((d||!d&&!o)&&(("body"!==W(i)||z(l))&&(c=G(i)),d)){let t=to(i);s=tn(i),u.x=t.x+i.clientLeft,u.y=t.y+i.clientTop}let h=!l||d||o?a(0):tf(l,c);return{width:n.width*s.x,height:n.height*s.y,x:n.x*s.x-c.scrollLeft*s.x+u.x+h.x,y:n.y*s.y-c.scrollTop*s.y+u.y+h.y}},getDocumentElement:k,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:i,strategy:l}=t,f=[..."clippingAncestors"===n?j(e)?[]:function(t,e){let n=e.get(t);if(n)return n;let i=Q(t,[],!1).filter(t=>M(t)&&"body"!==W(t)),r=null,o="fixed"===Y(t).position,l=o?J(t):t;for(;M(l)&&!X(l);){let e=Y(l),n=q(l);n||"fixed"!==e.position||(r=null),(o?n||r:!(!n&&"static"===e.position&&r&&("absolute"===r.position||"fixed"===r.position)||z(l)&&!n&&function t(e,n){let i=J(e);return!(i===n||!M(i)||X(i))&&("fixed"===Y(i).position||t(i,n))}(t,l)))?r=e:i=i.filter(t=>t!==l),l=J(l)}return e.set(t,i),i}(e,this._c):[].concat(n),i],a=ta(e,f[0],l),c=a.top,s=a.right,u=a.bottom,d=a.left;for(let t=1;t<f.length;t++){let n=ta(e,f[t],l);c=o(n.top,c),s=r(n.right,s),u=r(n.bottom,u),d=o(n.left,d)}return{width:s-d,height:u-c,x:d,y:c}},getOffsetParent:tu,getElementRects:td,getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){let{width:e,height:n}=tt(t);return{width:e,height:n}},getScale:tn,isElement:M,isRTL:function(t){return"rtl"===Y(t).direction}};function tp(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}t.s(["arrow",0,t=>({name:"arrow",options:t,async fn(e){let{x:n,y:i,placement:l,rects:f,platform:a,elements:c,middlewareData:u}=e,{element:g,padding:w=0}=s(t,e)||{};if(null==g)return{};let y=T(w),v={x:n,y:i},x=h(m(l)),b=p(x),R=await a.getDimensions(g),A="y"===x,L=A?"clientHeight":"clientWidth",O=f.reference[b]+f.reference[x]-v[x]-f.floating[b],C=v[x]-f.reference[x],E=await (null==a.getOffsetParent?void 0:a.getOffsetParent(g)),P=E?E[L]:0;P&&await (null==a.isElement?void 0:a.isElement(E))||(P=c.floating[L]||f.floating[b]);let D=P/2-R[b]/2-1,S=r(y[A?"top":"left"],D),F=r(y[A?"bottom":"right"],D),H=P-R[b]-F,W=P/2-R[b]/2+(O/2-C/2),N=o(S,r(W,H)),k=!u.arrow&&null!=d(l)&&W!==N&&f.reference[b]/2-(W<S?S:F)-R[b]/2<0,B=k?W<S?W-S:W-H:0;return{[x]:v[x]+B,data:{[x]:N,centerOffset:W-N-B,...k&&{alignmentOffset:B}},reset:k}}}),"autoPlacement",0,function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,r,o,l;let{rects:f,middlewareData:a,placement:c,platform:h,elements:p}=e,{crossAxis:m=!1,alignment:y,allowedPlacements:v=i,autoAlignment:x=!0,...b}=s(t,e),R=void 0!==y||v===i?((l=y||null)?[...v.filter(t=>d(t)===l),...v.filter(t=>d(t)!==l)]:v.filter(t=>u(t)===t)).filter(t=>!l||d(t)===l||!!x&&w(t)!==t):v,T=await h.detectOverflow(e,b),A=(null==(n=a.autoPlacement)?void 0:n.index)||0,L=R[A];if(null==L)return{};let O=g(L,f,await (null==h.isRTL?void 0:h.isRTL(p.floating)));if(c!==L)return{reset:{placement:R[0]}};let C=[T[u(L)],T[O[0]],T[O[1]]],E=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:L,overflows:C}],P=R[A+1];if(P)return{data:{index:A+1,overflows:E},reset:{placement:P}};let D=E.map(t=>{let e=d(t.placement);return[t.placement,e&&m?t.overflows.slice(0,2).reduce((t,e)=>t+e,0):t.overflows[0],t.overflows]}).sort((t,e)=>t[1]-e[1]),S=(null==(o=D.filter(t=>t[2].slice(0,d(t[0])?2:3).every(t=>t<=0))[0])?void 0:o[0])||D[0][0];return S!==c?{data:{index:A+1,overflows:E},reset:{placement:S}}:{}}}},"autoUpdate",0,function(t,e,n,i){let l;void 0===i&&(i={});let{ancestorScroll:a=!0,ancestorResize:c=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:d=!1}=i,h=te(t),p=a||c?[...h?Q(h):[],...e?Q(e):[]]:[];p.forEach(t=>{a&&t.addEventListener("scroll",n,{passive:!0}),c&&t.addEventListener("resize",n)});let m=h&&u?function(t,e){let n,i=null,l=k(t);function a(){var t;clearTimeout(n),null==(t=i)||t.disconnect(),i=null}return!function c(s,u){void 0===s&&(s=!1),void 0===u&&(u=1),a();let d=t.getBoundingClientRect(),{left:h,top:p,width:m,height:g}=d;if(s||e(),!m||!g)return;let w={rootMargin:-f(p)+"px "+-f(l.clientWidth-(h+m))+"px "+-f(l.clientHeight-(p+g))+"px "+-f(h)+"px",threshold:o(0,r(1,u))||1},y=!0;function v(e){let i=e[0].intersectionRatio;if(i!==u){if(!y)return c();i?c(!1,i):n=setTimeout(()=>{c(!1,1e-7)},1e3)}1!==i||tp(d,t.getBoundingClientRect())||c(),y=!1}try{i=new IntersectionObserver(v,{...w,root:l.ownerDocument})}catch(t){i=new IntersectionObserver(v,w)}i.observe(t)}(!0),a}(h,n):null,g=-1,w=null;s&&(w=new ResizeObserver(t=>{let[i]=t;i&&i.target===h&&w&&e&&(w.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var t;null==(t=w)||t.observe(e)})),n()}
1),h&&!d&&w.observe(h),e&&w.observe(e));let y=d?to(t):null;return d&&function e(){let i=to(t);y&&!tp(y,i)&&n(),y=i,l=requestAnimationFrame(e)}(),n(),()=>{var t;p.forEach(t=>{a&&t.removeEventListener("scroll",n),c&&t.removeEventListener("resize",n)}),null==m||m(),null==(t=w)||t.disconnect(),w=null,d&&cancelAnimationFrame(l)}},"computePosition",0,(t,e,n)=>{let i=new Map,r={platform:th,...n},o={...r.platform,_c:i};return C(t,e,{...r,platform:o})},"flip",0,function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,i,r,o,l;let f,a,c,{placement:h,middlewareData:p,rects:T,initialPlacement:A,platform:L,elements:O}=e,{mainAxis:C=!0,crossAxis:E=!0,fallbackPlacements:P,fallbackStrategy:D="bestFit",fallbackAxisSideDirection:S="none",flipAlignment:F=!0,...H}=s(t,e);if(null!=(n=p.arrow)&&n.alignmentOffset)return{};let W=u(h),N=m(A),k=u(A)===A,B=await (null==L.isRTL?void 0:L.isRTL(O.floating)),M=P||(k||!F?[R(A)]:(f=R(A),[w(A),f,w(f)])),V="none"!==S;!P&&V&&M.push(...(a=d(A),c=function(t,e,n){switch(t){case"top":case"bottom":if(n)return e?v:y;return e?y:v;case"left":case"right":return e?x:b;default:return[]}}(u(A),"start"===S,B),a&&(c=c.map(t=>t+"-"+a),F&&(c=c.concat(c.map(w)))),c));let _=[A,...M],z=await L.detectOverflow(e,H),j=[],I=(null==(i=p.flip)?void 0:i.overflows)||[];if(C&&j.push(z[W]),E){let t=g(h,T,B);j.push(z[t[0]],z[t[1]])}if(I=[...I,{placement:h,overflows:j}],!j.every(t=>t<=0)){let t=((null==(r=p.flip)?void 0:r.index)||0)+1,e=_[t];if(e&&("alignment"!==E||N===m(e)||I.every(t=>m(t.placement)!==N||t.overflows[0]>0)))return{data:{index:t,overflows:I},reset:{placement:e}};let n=null==(o=I.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:o.placement;if(!n)switch(D){case"bestFit":{let t=null==(l=I.filter(t=>{if(V){let e=m(t.placement);return e===N||"y"===e}return!0}).map(t=>[t.placement,t.overflows.filter(t=>t>0).reduce((t,e)=>t+e,0)]).sort((t,e)=>t[1]-e[1])[0])?void 0:l[0];t&&(n=t);break}case"initialPlacement":n=A}if(h!==n)return{reset:{placement:n}}}return{}}}},"hide",0,function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(e){let{rects:n,platform:i}=e,{strategy:r="referenceHidden",...o}=s(t,e);switch(r){case"referenceHidden":{let t=E(await i.detectOverflow(e,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:P(t)}}}case"escaped":{let t=E(await i.detectOverflow(e,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:t,escaped:P(t)}}}default:return{}}}}},"inline",0,function(t){return void 0===t&&(t={}),{name:"inline",options:t,async fn(e){let{placement:n,elements:i,rects:l,platform:f,strategy:a}=e,{padding:c=2,x:d,y:h}=s(t,e),p=Array.from(await (null==f.getClientRects?void 0:f.getClientRects(i.reference))||[]),g=function(t){let e=t.slice().sort((t,e)=>t.y-e.y),n=[],i=null;for(let t=0;t<e.length;t++){let r=e[t];!i||r.y-i.y>i.height/2?n.push([r]):n[n.length-1].push(r),i=r}return n.map(t=>A(D(t)))}(p),w=A(D(p)),y=T(c),v=await f.getElementRects({reference:{getBoundingClientRect:function(){if(2===g.length&&g[0].left>g[1].right&&null!=d&&null!=h)return g.find(t=>d>t.left-y.left&&d<t.right+y.right&&h>t.top-y.top&&h<t.bottom+y.bottom)||w;if(g.length>=2){if("y"===m(n)){let t=g[0],e=g[g.length-1],i="top"===u(n),r=t.top,o=e.bottom,l=i?t.left:e.left,f=i?t.right:e.right;return{top:r,bottom:o,left:l,right:f,width:f-l,height:o-r,x:l,y:r}}let t="left"===u(n),e=o(...g.map(t=>t.right)),i=r(...g.map(t=>t.left)),l=g.filter(n=>t?n.left===i:n.right===e),f=l[0].top,a=l[l.length-1].bottom;return{top:f,bottom:a,left:i,right:e,width:e-i,height:a-f,x:i,y:f}}return w}},floating:i.floating,strategy:a});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}}:{}}}},"limitShift",0,function(t){return void 0===t&&(t={}),{options:t,fn(e){let{x:n,y:i,placement:r,rects:o,middlewareData:l}=e,{offset:f=0,mainAxis:a=!0,crossAxis:c=!0}=s(t,e),d={x:n,y:i},p=m(r),g=h(p),w=d[g],y=d[p],v=s(f,e),x="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(a){let t="y"===g?"height":"width",e=o.reference[g]-o.floating[t]+x.mainAxis,n=o.reference[g]+o.reference[t]-x.mainAxis;w<e?w=e:w>n&&(w=n)}if(c){var b,R;let t="y"===g?"width":"height",e=S.has(u(r)),n=o.reference[p]-o.floating[t]+(e&&(null==(b=l.offset)?void 0:b[p])||0)+(e?0:x.crossAxis),i=o.reference[p]+o.reference[t]+(e?0:(null==(R=l.offset)?void 0:R[p])||0)-(e?x.crossAxis:0);y<n?y=n:y>i&&(y=i)}return{[g]:w,[p]:y}}}},"offset",0,function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,i;let{x:r,y:o,placement:l,middlewareData:f}=e,a=await F(e,t);return l===(null==(n=f.offset)?void 0:n.placement)&&null!=(i=f.arrow)&&i.alignmentOffset?{}:{x:r+a.x,y:o+a.y,data:{...a,placement:l}}}}},"shift",0,function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:i,placement:l,platform:f}=e,{mainAxis:a=!0,crossAxis:c=!1,limiter:d={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...p}=s(t,e),g={x:n,y:i},w=await f.detectOverflow(e,p),y=m(u(l)),v=h(y),x=g[v],b=g[y];if(a){let t="y"===v?"top":"left",e="y"===v?"bottom":"right",n=x+w[t],i=x-w[e];x=o(n,r(x,i))}if(c){let t="y"===y?"top":"left",e="y"===y?"bottom":"right",n=b+w[t],i=b-w[e];b=o(n,r(b,i))}let R=d.fn({...e,[v]:x,[y]:b});return{...R,data:{x:R.x-n,y:R.y-i,enabled:{[v]:a,[y]:c}}}}}},"size",0,function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){var n,i;let l,f,{placement:a,rects:c,platform:h,elements:p}=e,{apply:g=()=>{},...w}=s(t,e),y=await h.detectOverflow(e,w),v=u(a),x=d(a),b="y"===m(a),{width:R,height:T}=c.floating;"top"===v||"bottom"===v?(l=v,f=x===(await (null==h.isRTL?void 0:h.isRTL(p.floating))?"start":"end")?"left":"right"):(f=v,l="end"===x?"top":"bottom");let A=T-y.top-y.bottom,L=R-y.left-y.right,O=r(T-y[l],A),C=r(R-y[f],L),E=!e.middlewareData.shift,P=O,D=C;if(null!=(n=e.middlewareData.shift)&&n.enabled.x&&(D=L),null!=(i=e.middlewareData.shift)&&i.enabled.y&&(P=A),E&&!x){let t=
1o(y.left,0),e=o(y.right,0),n=o(y.top,0),i=o(y.bottom,0);b?D=R-2*(0!==t||0!==e?t+e:o(y.left,y.right)):P=T-2*(0!==n||0!==i?n+i:o(y.top,y.bottom))}await g({...e,availableWidth:D,availableHeight:P});let S=await h.getDimensions(p.floating);return R!==S.width||T!==S.height?{reset:{rects:!0}}:{}}}}],953760)},493265,t=>{t.v({popoverArrow:"styles-module__zC6gsa__popoverArrow"})},463942,t=>{"use strict";var e=t.i(843476),n=t.i(271645),i=t.i(186336),r=t.i(343794),o=t.i(493265);let l=i.Provider,f=i.Root,a=i.Trigger,c=n.forwardRef(({className:t,sideOffset:n=4,...o},l)=>(0,e.jsx)(i.Content,{ref:l,sideOffset:n,className:(0,r.default)("z-50 overflow-hidden rounded-md bg-white px-3 py-1.5 text-sm text-primary-300 shadow-sm-glow",t),...o}));c.displayName=i.Content.displayName;let s=n.forwardRef(({className:t,...n},l)=>(0,e.jsx)(i.Arrow,{ref:l,className:(0,r.default)(o.default.popoverArrow,"fill-white",t),...n}));s.displayName=i.TooltipArrow.displayName,t.s(["Tooltip",0,f,"TooltipArrow",0,s,"TooltipContent",0,c,"TooltipProvider",0,l,"TooltipTrigger",0,a])}]);
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.