1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,953760,258950,e=>{"use strict";var t=e.i(343084);function n(e,n,i){let r,{reference:l,floating:o}=e,a=(0,t.getSideAxis)(n),f=(0,t.getAlignmentAxis)(n),s=(0,t.getAxisLength)(f),c=(0,t.getSide)(n),u="y"===a,g=l.x+l.width/2-o.width/2,m=l.y+l.height/2-o.height/2,d=l[s]/2-o[s]/2;switch(c){case"top":r={x:g,y:l.y-o.height};break;case"bottom":r={x:g,y:l.y+l.height};break;case"right":r={x:l.x+l.width,y:m};break;case"left":r={x:l.x-o.width,y:m};break;default:r={x:l.x,y:l.y}}switch((0,t.getAlignment)(n)){case"start":r[f]-=d*(i&&u?-1:1);break;case"end":r[f]+=d*(i&&u?-1:1)}return r}async function i(e,n){var i;void 0===n&&(n={});let{x:r,y:l,platform:o,rects:a,elements:f,strategy:s}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:g="floating",altBoundary:m=!1,padding:d=0}=(0,t.evaluate)(n,e),h=(0,t.getPaddingObject)(d),p=f[m?"floating"===g?"reference":"floating":g],w=(0,t.rectToClientRect)(await o.getClippingRect({element:null==(i=await (null==o.isElement?void 0:o.isElement(p)))||i?p:p.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(f.floating)),boundary:c,rootBoundary:u,strategy:s})),x="floating"===g?{x:r,y:l,width:a.floating.width,height:a.floating.height}:a.reference,y=await (null==o.getOffsetParent?void 0:o.getOffsetParent(f.floating)),v=await (null==o.isElement?void 0:o.isElement(y))&&await (null==o.getScale?void 0:o.getScale(y))||{x:1,y:1},b=(0,t.rectToClientRect)(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:f,rect:x,offsetParent:y,strategy:s}):x);return{top:(w.top-b.top+h.top)/v.y,bottom:(b.bottom-w.bottom+h.bottom)/v.y,left:(w.left-b.left+h.left)/v.x,right:(b.right-w.right+h.right)/v.x}}let r=async(e,t,r)=>{let{placement:l="bottom",strategy:o="absolute",middleware:a=[],platform:f}=r,s=f.detectOverflow?f:{...f,detectOverflow:i},c=await (null==f.isRTL?void 0:f.isRTL(t)),u=await f.getElementRects({reference:e,floating:t,strategy:o}),{x:g,y:m}=n(u,l,c),d=l,h=0,p={};for(let i=0;i<a.length;i++){let r=a[i];if(!r)continue;let{name:w,fn:x}=r,{x:y,y:v,data:b,reset:A}=await x({x:g,y:m,initialPlacement:l,placement:d,strategy:o,middlewareData:p,rects:u,platform:s,elements:{reference:e,floating:t}});g=null!=y?y:g,m=null!=v?v:m,p[w]={...p[w],...b},A&&h<50&&(h++,"object"==typeof A&&(A.placement&&(d=A.placement),A.rects&&(u=!0===A.rects?await f.getElementRects({reference:e,floating:t,strategy:o}):A.rects),{x:g,y:m}=n(u,d,c)),i=-1)}return{x:g,y:m,placement:d,strategy:o,middlewareData:p}};function l(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.sides.some(t=>e[t]>=0)}function a(e){let n=(0,t.min)(...e.map(e=>e.left)),i=(0,t.min)(...e.map(e=>e.top));return{x:n,y:i,width:(0,t.max)(...e.map(e=>e.right))-n,height:(0,t.max)(...e.map(e=>e.bottom))-i}}let f=new Set(["left","top"]);async function s(e,n){let{placement:i,platform:r,elements:l}=e,o=await (null==r.isRTL?void 0:r.isRTL(l.floating)),a=(0,t.getSide)(i),s=(0,t.getAlignment)(i),c="y"===(0,t.getSideAxis)(i),u=f.has(a)?-1:1,g=o&&c?-1:1,m=(0,t.evaluate)(n,e),{mainAxis:d,crossAxis:h,alignmentAxis:p}="number"==typeof m?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return s&&"number"==typeof p&&(h="end"===s?-1*p:p),c?{x:h*g,y:d*u}:{x:d*u,y:h*g}}var c=e.i(229315);function u(e){let n=(0,c.getComputedStyle)(e),i=parseFloat(n.width)||0,r=parseFloat(n.height)||0,l=(0,c.isHTMLElement)(e),o=l?e.offsetWidth:i,a=l?e.offsetHeight:r,f
1=(0,t.round)(i)!==o||(0,t.round)(r)!==a;return f&&(i=o,r=a),{width:i,height:r,$:f}}function g(e){return(0,c.isElement)(e)?e:e.contextElement}function m(e){let n=g(e);if(!(0,c.isHTMLElement)(n))return(0,t.createCoords)(1);let i=n.getBoundingClientRect(),{width:r,height:l,$:o}=u(n),a=(o?(0,t.round)(i.width):i.width)/r,f=(o?(0,t.round)(i.height):i.height)/l;return a&&Number.isFinite(a)||(a=1),f&&Number.isFinite(f)||(f=1),{x:a,y:f}}let d=(0,t.createCoords)(0);function h(e){let t=(0,c.getWindow)(e);return(0,c.isWebKit)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:d}function p(e,n,i,r){var l;void 0===n&&(n=!1),void 0===i&&(i=!1);let o=e.getBoundingClientRect(),a=g(e),f=(0,t.createCoords)(1);n&&(r?(0,c.isElement)(r)&&(f=m(r)):f=m(e));let s=(void 0===(l=i)&&(l=!1),r&&(!l||r===(0,c.getWindow)(a))&&l)?h(a):(0,t.createCoords)(0),u=(o.left+s.x)/f.x,d=(o.top+s.y)/f.y,p=o.width/f.x,w=o.height/f.y;if(a){let e=(0,c.getWindow)(a),t=r&&(0,c.isElement)(r)?(0,c.getWindow)(r):r,n=e,i=(0,c.getFrameElement)(n);for(;i&&r&&t!==n;){let e=m(i),t=i.getBoundingClientRect(),r=(0,c.getComputedStyle)(i),l=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;u*=e.x,d*=e.y,p*=e.x,w*=e.y,u+=l,d+=o,n=(0,c.getWindow)(i),i=(0,c.getFrameElement)(n)}}return(0,t.rectToClientRect)({width:p,height:w,x:u,y:d})}function w(e,t){let n=(0,c.getNodeScroll)(e).scrollLeft;return t?t.left+n:p((0,c.getDocumentElement)(e)).left+n}function x(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-w(e,n),y:n.top+t.scrollTop}}function y(e,n,i){var r;let l;if("viewport"===n)l=function(e,t){let n=(0,c.getWindow)(e),i=(0,c.getDocumentElement)(e),r=n.visualViewport,l=i.clientWidth,o=i.clientHeight,a=0,f=0;if(r){l=r.width,o=r.height;let e=(0,c.isWebKit)();(!e||e&&"fixed"===t)&&(a=r.offsetLeft,f=r.offsetTop)}let s=w(i);if(s<=0){let e=i.ownerDocument,t=e.body,n=getComputedStyle(t),r="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(i.clientWidth-t.clientWidth-r);o<=25&&(l-=o)}else s<=25&&(l+=s);return{width:l,height:o,x:a,y:f}}(e,i);else if("document"===n){let n,i,o,a,f,s,u;r=(0,c.getDocumentElement)(e),n=(0,c.getDocumentElement)(r),i=(0,c.getNodeScroll)(r),o=r.ownerDocument.body,a=(0,t.max)(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),f=(0,t.max)(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight),s=-i.scrollLeft+w(r),u=-i.scrollTop,"rtl"===(0,c.getComputedStyle)(o).direction&&(s+=(0,t.max)(n.clientWidth,o.clientWidth)-a),l={width:a,height:f,x:s,y:u}}else if((0,c.isElement)(n)){let e,r,o,a,f,s;r=(e=p(n,!0,"fixed"===i)).top+n.clientTop,o=e.left+n.clientLeft,a=(0,c.isHTMLElement)(n)?m(n):(0,t.createCoords)(1),f=n.clientWidth*a.x,s=n.clientHeight*a.y,l={width:f,height:s,x:o*a.x,y:r*a.y}}else{let t=h(e);l={x:n.x-t.x,y:n.y-t.y,width:n.width,height:n.height}}return(0,t.rectToClientRect)(l)}function v(e){return"static"===(0,c.getComputedStyle)(e).position}function b(e,t){if(!(0,c.isHTMLElement)(e)||"fixed"===(0,c.getComputedStyle)(e).position)return null;if(t)return t(e);let n=e.offsetParent;return(0,c.getDocumentElement)(e)===n&&(n=n.ownerDocument.body),n}function A(e,t){let n=(0,c.getWindow)(e);if((0,c.isTopLayer)(e))return n;if(!(0,c.isHTMLElement)(e)){let t=(0,c.getParentNode)(e);for(;t&&!(0,c.isLastTraversableNode)(t);){if((0,c.isElement)(t)&&!v(t))return t;t=(0,c.getParentNode)(t)}return n}let i=b(e,t);for(;i&&(0,c.isTableElement)(i)&&v(i);)i=b(i,t);return i&&(0,c.isLastTraversableNode)(i)&&v(i)&&!(0,c.isContainingBlock)(i)?n:i||(0,c.getContainingBlock)(e)||n}let R=async function(e){let n=this.getOffsetParent||A,i=this.getDimensions,r=await i(e.floating);return{reference:function(e,n,i){let r=(0,c.isHTMLElement)(n),l=(0,c.getDocumentElement)(n),o="fixed"===i,a=p(e,!0,o,n),f={scrollLeft:0,scrollTop:0},s=(0,t.createCoords)(0);if(r||!r&&!o)if(("body"!==(0,c.getNodeName)(n)||(0,c.isOverflowElement)(l))&&(f=(0,c.getNodeScroll)(n)),r){let e=p(n,!0,o,n);s.x=e.x+n.clientLeft,s.y=e.y+n.clientTop}else l&&(s.x=w(l));o&&!r&&l&&(s.x=w(l));let u=!l||r||o?(0,t.createCoords)(0):x(l,f);
1return{x:a.left+f.scrollLeft-s.x-u.x,y:a.top+f.scrollTop-s.y-u.y,width:a.width,height:a.height}}(e.reference,await n(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},E={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:n,rect:i,offsetParent:r,strategy:l}=e,o="fixed"===l,a=(0,c.getDocumentElement)(r),f=!!n&&(0,c.isTopLayer)(n.floating);if(r===a||f&&o)return i;let s={scrollLeft:0,scrollTop:0},u=(0,t.createCoords)(1),g=(0,t.createCoords)(0),d=(0,c.isHTMLElement)(r);if((d||!d&&!o)&&(("body"!==(0,c.getNodeName)(r)||(0,c.isOverflowElement)(a))&&(s=(0,c.getNodeScroll)(r)),d)){let e=p(r);u=m(r),g.x=e.x+r.clientLeft,g.y=e.y+r.clientTop}let h=!a||d||o?(0,t.createCoords)(0):x(a,s);return{width:i.width*u.x,height:i.height*u.y,x:i.x*u.x-s.scrollLeft*u.x+g.x+h.x,y:i.y*u.y-s.scrollTop*u.y+g.y+h.y}},getDocumentElement:c.getDocumentElement,getClippingRect:function(e){let{element:n,boundary:i,rootBoundary:r,strategy:l}=e,o=[..."clippingAncestors"===i?(0,c.isTopLayer)(n)?[]:function(e,t){let n=t.get(e);if(n)return n;let i=(0,c.getOverflowAncestors)(e,[],!1).filter(e=>(0,c.isElement)(e)&&"body"!==(0,c.getNodeName)(e)),r=null,l="fixed"===(0,c.getComputedStyle)(e).position,o=l?(0,c.getParentNode)(e):e;for(;(0,c.isElement)(o)&&!(0,c.isLastTraversableNode)(o);){let t=(0,c.getComputedStyle)(o),n=(0,c.isContainingBlock)(o);n||"fixed"!==t.position||(r=null),(l?n||r:!(!n&&"static"===t.position&&r&&("absolute"===r.position||"fixed"===r.position)||(0,c.isOverflowElement)(o)&&!n&&function e(t,n){let i=(0,c.getParentNode)(t);return!(i===n||!(0,c.isElement)(i)||(0,c.isLastTraversableNode)(i))&&("fixed"===(0,c.getComputedStyle)(i).position||e(i,n))}(e,o)))?r=t:i=i.filter(e=>e!==o),o=(0,c.getParentNode)(o)}return t.set(e,i),i}(n,this._c):[].concat(i),r],a=y(n,o[0],l),f=a.top,s=a.right,u=a.bottom,g=a.left;for(let e=1;e<o.length;e++){let i=y(n,o[e],l);f=(0,t.max)(i.top,f),s=(0,t.min)(i.right,s),u=(0,t.min)(i.bottom,u),g=(0,t.max)(i.left,g)}return{width:s-g,height:u-f,x:g,y:f}},getOffsetParent:A,getElementRects:R,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=u(e);return{width:t,height:n}},getScale:m,isElement:c.isElement,isRTL:function(e){return"rtl"===(0,c.getComputedStyle)(e).direction}};function T(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let S=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,i;let{x:r,y:l,placement:o,middlewareData:a}=t,f=await s(t,e);return o===(null==(n=a.offset)?void 0:n.placement)&&null!=(i=a.arrow)&&i.alignmentOffset?{}:{x:r+f.x,y:l+f.y,data:{...f,placement:o}}}}},C=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(n){var i,r,l,o;let{rects:a,middlewareData:f,placement:s,platform:c,elements:u}=n,{crossAxis:g=!1,alignment:m,allowedPlacements:d=t.placements,autoAlignment:h=!0,...p}=(0,t.evaluate)(e,n),w=void 0!==m||d===t.placements?((o=m||null)?[...d.filter(e=>(0,t.getAlignment)(e)===o),...d.filter(e=>(0,t.getAlignment)(e)!==o)]:d.filter(e=>(0,t.getSide)(e)===e)).filter(e=>!o||(0,t.getAlignment)(e)===o||!!h&&(0,t.getOppositeAlignmentPlacement)(e)!==e):d,x=await c.detectOverflow(n,p),y=(null==(i=f.autoPlacement)?void 0:i.index)||0,v=w[y];if(null==v)return{};let b=(0,t.getAlignmentSides)(v,a,await (null==c.isRTL?void 0:c.isRTL(u.floating)));if(s!==v)return{reset:{placement:w[0]}};let A=[x[(0,t.getSide)(v)],x[b[0]],x[b[1]]],R=[...(null==(r=f.autoPlacement)?void 0:r.overflows)||[],{placement:v,overflows:A}],E=w[y+1];if(E)return{data:{index:y+1,overflows:R},reset:{placement:E}};let T=R.map(e=>{let n=(0,t.getAlignment)(e.placement);return[e.placement,n&&g?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),S=(null==(l=T.filter(e=>e[2].slice(0,(0,t.getAlignment)(e[0])?2:3).every(e=>e<=0))[0])?void 0:l[0])||T[0][0];return S!==s?{data:{index:y+1,overflows:R},reset:{placement:S}}:{}}}},L=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(n){let{x:i,y:r,placement:l,platform:o}=n,{mainAxis:a=!0,crossAxis:f=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=(0,t.evaluate)(e,n),u={x:i,y:r},g=await o.detectOverflow(n,c),m=(0,t.getSideAxis)((0,t.getSide)(l)),d=(0,t.getOppositeAxis)(m),h=u[d],p=u[m];if(a){let e="y"===d?"top":"left",n="y"===d?"bottom":"right",i=h+g[e],r=h-g[n];h=(0,t.clamp)(i,h,r)}if(f){let e="y"===m?"top":"left",n="y"===m?"bottom":"right",i=p+g[e],r=p-g[n];p=(0,t.clamp)(i,p,r)}let w=s.fn({...n,[d]:h,[m]:p});return{...w,data:{x:w.x-i,y:w.y-r,enabled:{[d]:a,[m]:f}}}}}},O=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(n){var i,r,l,o,a;let{placement:f,middlewareData:s,rects:c,initialPlacement:u,platform:g,elements:m}=n,{mainAxis:d=!0,crossAxis:h=!0,fallbackPlacements:p,fallbackStrategy:w="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:y=!0,...v}=(0,t.evaluate)(e,n);if(null!=(i=s.arrow)&&i.alignmentOffset)return{};let b=(0,t.getSide)(f),A=(0,t.getSideAxis)(u),R=(0,t.getSide)(u)===u,E=await (null==g.isRTL?void 0:g.isRTL(m.floating)),T=p||(R||!y?[(0,t.getOppositePlacement)(u)]:(0,t.getExpandedPlacements)(u)),S="none"!==x;!p&&S&&T.push(...(0,t.getOppositeAxisPlacements)(u,y,x,E));let C=[u,...T],L=await g.detectOverflow(n,v),O=[],P=(null==(r=s.flip)?void 0:r.overflows)||[];if(d&&O.push(L[b]),h){let e=(0,t.getAlignmentSides)(f,c,E);O.push(L[e[0]],L[e[1]])}if(P=[...P,{placement:f,overflows:O}],!O.every(e=>e<=0)){let e=((null==(l=s.flip)?void 0:l.index)||0)+1,n=C[e];if(n&&("alignment"!==h||A===(0,t.getSideAxis)(n)||P.every(e=>(0,t.getSideAxis)(e.placement)!==A||e.overflows[0]>0)))return{data:{index:e,overflows:P},reset:{placement:n}};let i=null==(o=P.filter(e=>e.overflows[0]<=0).sort((e,t)=>
1e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!i)switch(w){case"bestFit":{let e=null==(a=P.filter(e=>{if(S){let n=(0,t.getSideAxis)(e.placement);return n===A||"y"===n}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:a[0];e&&(i=e);break}case"initialPlacement":i=u}if(f!==i)return{reset:{placement:i}}}return{}}}},P=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(n){var i,r;let l,o,{placement:a,rects:f,platform:s,elements:c}=n,{apply:u=()=>{},...g}=(0,t.evaluate)(e,n),m=await s.detectOverflow(n,g),d=(0,t.getSide)(a),h=(0,t.getAlignment)(a),p="y"===(0,t.getSideAxis)(a),{width:w,height:x}=f.floating;"top"===d||"bottom"===d?(l=d,o=h===(await (null==s.isRTL?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(o=d,l="end"===h?"top":"bottom");let y=x-m.top-m.bottom,v=w-m.left-m.right,b=(0,t.min)(x-m[l],y),A=(0,t.min)(w-m[o],v),R=!n.middlewareData.shift,E=b,T=A;if(null!=(i=n.middlewareData.shift)&&i.enabled.x&&(T=v),null!=(r=n.middlewareData.shift)&&r.enabled.y&&(E=y),R&&!h){let e=(0,t.max)(m.left,0),n=(0,t.max)(m.right,0),i=(0,t.max)(m.top,0),r=(0,t.max)(m.bottom,0);p?T=w-2*(0!==e||0!==n?e+n:(0,t.max)(m.left,m.right)):E=x-2*(0!==i||0!==r?i+r:(0,t.max)(m.top,m.bottom))}await u({...n,availableWidth:T,availableHeight:E});let S=await s.getDimensions(c.floating);return w!==S.width||x!==S.height?{reset:{rects:!0}}:{}}}},D=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(n){let{rects:i,platform:r}=n,{strategy:a="referenceHidden",...f}=(0,t.evaluate)(e,n);switch(a){case"referenceHidden":{let e=l(await r.detectOverflow(n,{...f,elementContext:"reference"}),i.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:o(e)}}}case"escaped":{let e=l(await r.detectOverflow(n,{...f,altBoundary:!0}),i.floating);return{data:{escapedOffsets:e,escaped:o(e)}}}default:return{}}}}},W=e=>({name:"arrow",options:e,async fn(n){let{x:i,y:r,placement:l,rects:o,platform:a,elements:f,middlewareData:s}=n,{element:c,padding:u=0}=(0,t.evaluate)(e,n)||{};if(null==c)return{};let g=(0,t.getPaddingObject)(u),m={x:i,y:r},d=(0,t.getAlignmentAxis)(l),h=(0,t.getAxisLength)(d),p=await a.getDimensions(c),w="y"===d,x=w?"clientHeight":"clientWidth",y=o.reference[h]+o.reference[d]-m[d]-o.floating[h],v=m[d]-o.reference[d],b=await (null==a.getOffsetParent?void 0:a.getOffsetParent(c)),A=b?b[x]:0;A&&await (null==a.isElement?void 0:a.isElement(b))||(A=f.floating[x]||o.floating[h]);let R=A/2-p[h]/2-1,E=(0,t.min)(g[w?"top":"left"],R),T=(0,t.min)(g[w?"bottom":"right"],R),S=A-p[h]-T,C=A/2-p[h]/2+(y/2-v/2),L=(0,t.clamp)(E,C,S),O=!s.arrow&&null!=(0,t.getAlignment)(l)&&C!==L&&o.reference[h]/2-(C<E?E:T)-p[h]/2<0,P=O?C<E?C-E:C-S:0;return{[d]:m[d]+P,data:{[d]:L,centerOffset:C-L-P,...O&&{alignmentOffset:P}},reset:O}}}),N=function(e){return void 0===e&&(e={}),{options:e,fn(n){let{x:i,y:r,placement:l,rects:o,middlewareData:a}=n,{offset:s=0,mainAxis:c=!0,crossAxis:u=!0}=(0,t.evaluate)(e,n),g={x:i,y:r},m=(0,t.getSideAxis)(l),d=(0,t.getOppositeAxis)(m),h=g[d],p=g[m],w=(0,t.evaluate)(s,n),x="number"==typeof w?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(c){let e="y"===d?"height":"width",t=o.reference[d]-o.floating[e]+x.mainAxis,n=o.reference[d]+o.reference[e]-x.mainAxis;h<t?h=t:h>n&&(h=n)}if(u){var y,v;let e="y"===d?"width":"height",n=f.has((0,t.getSide)(l)),i=o.reference[m]-o.floating[e]+(n&&(null==(y=a.offset)?void 0:y[m])||0)+(n?0:x.crossAxis),r=o.reference[m]+o.reference[e]+(n?0:(null==(v=a.offset)?void 0:v[m])||0)-(n?x.crossAxis:0);p<i?p=i:p>r&&(p=r)}return{[d]:h,[m]:p}}}},H=(e,t,n)=>{let i=new Map,l={platform:E,...n},o={...l.platform,_c:i};return r(e,t,{...l,platform:o})};e.s(["arrow",0,W,"autoPlacement",0,C,"autoUpdate",0,function(e,n,i,r){let l;void 0===r&&(r={});let{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:f="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:u=!1}=r,m=g(e),d=o||a?[...m?(0,c.getOverflowAncestors)(m):[],...n?(0,c.getOverflowAncestors)(n):[]]:[];d.forEach(e=>{o&&e.addEventListener("scroll",i,{passive:!0}),a&&e.addEventListener("resize",i)});let h=m&&s?function(e,n){let i,r=null,l=(0,c.getDocumentElement)(e);function o(){var e;clearTimeout(i),null==(e=r)||e.disconnect(),r=null}return!function a(f,s){void 0===f&&(f=!1),void 0===s&&(s=1),o();let c=e.getBoundingClientRect(),{left:u,top:g,width:m,height:d}=c;if(f||n(),!m||!d)return;let h={rootMargin:-(0,t.floor)(g)+"px "+-(0,t.floor)(l.clientWidth-(u+m))+"px "+-(0,t.floor)(l.clientHeight-(g+d))+"px "+-(0,t.floor)(u)+"px",threshold:(0,t.max)(0,(0,t.min)(1,s))||1},p=!0;function w(t){let n=t[0].intersectionRatio;if(n!==s){if(!p)return a();n?a(!1,n):i=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==n||T(c,e.getBoundingClientRect())||a(),p=!1}try{r=new IntersectionObserver(w,{...h,root:l.ownerDocument})}catch(e){r=new IntersectionObserver(w,h)}r.observe(e)}(!0),o}(m,i):null,w=-1,x=null;f&&(x=new ResizeObserver(e=>{let[t]=e;t&&t.target===m&&x&&n&&(x.unobserve(n),cancelAnimationFrame(w),w=requestAnimationFrame(()=>{var e;null==(e=x)||e.observe(n)})),i()}),m&&!u&&x.observe(m),n&&x.observe(n));let y=u?p(e):null;return u&&function t(){let n=p(e);y&&!T(y,n)&&i(),y=n,l=requestAnimationFrame(t)}(),i(),()=>{var e;
1d.forEach(e=>{o&&e.removeEventListener("scroll",i),a&&e.removeEventListener("resize",i)}),null==h||h(),null==(e=x)||e.disconnect(),x=null,u&&cancelAnimationFrame(l)}},"computePosition",0,H,"detectOverflow",0,i,"flip",0,O,"hide",0,D,"inline",0,function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(n){let{placement:i,elements:r,rects:l,platform:o,strategy:f}=n,{padding:s=2,x:c,y:u}=(0,t.evaluate)(e,n),g=Array.from(await (null==o.getClientRects?void 0:o.getClientRects(r.reference))||[]),m=function(e){let n=e.slice().sort((e,t)=>e.y-t.y),i=[],r=null;for(let e=0;e<n.length;e++){let t=n[e];!r||t.y-r.y>r.height/2?i.push([t]):i[i.length-1].push(t),r=t}return i.map(e=>(0,t.rectToClientRect)(a(e)))}(g),d=(0,t.rectToClientRect)(a(g)),h=(0,t.getPaddingObject)(s),p=await o.getElementRects({reference:{getBoundingClientRect:function(){if(2===m.length&&m[0].left>m[1].right&&null!=c&&null!=u)return m.find(e=>c>e.left-h.left&&c<e.right+h.right&&u>e.top-h.top&&u<e.bottom+h.bottom)||d;if(m.length>=2){if("y"===(0,t.getSideAxis)(i)){let e=m[0],n=m[m.length-1],r="top"===(0,t.getSide)(i),l=e.top,o=n.bottom,a=r?e.left:n.left,f=r?e.right:n.right;return{top:l,bottom:o,left:a,right:f,width:f-a,height:o-l,x:a,y:l}}let e="left"===(0,t.getSide)(i),n=(0,t.max)(...m.map(e=>e.right)),r=(0,t.min)(...m.map(e=>e.left)),l=m.filter(t=>e?t.left===r:t.right===n),o=l[0].top,a=l[l.length-1].bottom;return{top:o,bottom:a,left:r,right:n,width:n-r,height:a-o,x:r,y:o}}return d}},floating:r.floating,strategy:f});return l.reference.x!==p.reference.x||l.reference.y!==p.reference.y||l.reference.width!==p.reference.width||l.reference.height!==p.reference.height?{reset:{rects:p}}:{}}}},"limitShift",0,N,"offset",0,S,"shift",0,L,"size",0,P],953760);var F=e.i(271645),M=e.i(174080),k="u">typeof document?F.useLayoutEffect:function(){};function B(e,t){let n,i,r;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(i=n;0!=i--;)if(!B(e[i],t[i]))return!1;return!0}if((n=(r=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(i=n;0!=i--;)if(!({}).hasOwnProperty.call(t,r[i]))return!1;for(i=n;0!=i--;){let n=r[i];if(("_owner"!==n||!e.$$typeof)&&!B(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function j(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function V(e,t){let n=j(e);return Math.round(t*n)/n}function z(e){let t=F.useRef(e);return k(()=>{t.current=e}),t}e.s(["arrow",0,(e,t)=>{let n={name:"arrow",options:e,fn(t){let{element:n,padding:i}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?W({element:n.current,padding:i}).fn(t):{}:n?W({element:n,padding:i}).fn(t):{}}};return{name:n.name,fn:n.fn,options:[e,t]}},"autoPlacement",0,(e,t)=>{let n=C(e);return{name:n.name,fn:n.fn,options:[e,t]}},"flip",0,(e,t)=>{let n=O(e);return{name:n.name,fn:n.fn,options:[e,t]}},"hide",0,(e,t)=>{let n=D(e);return{name:n.name,fn:n.fn,options:[e,t]}},"limitShift",0,(e,t)=>({fn:N(e).fn,options:[e,t]}),"offset",0,(e,t)=>{let n=S(e);return{name:n.name,fn:n.fn,options:[e,t]}},"shift",0,(e,t)=>{let n=L(e);return{name:n.name,fn:n.fn,options:[e,t]}},"size",0,(e,t)=>{let n=P(e);return{name:n.name,fn:n.fn,options:[e,t]}},"useFloating",0,function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:i=[],platform:r,elements:{reference:l,floating:o}={},transform:a=!0,whileElementsMounted:f,open:s}=e,[c,u]=F.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[g,m]=F.useState(i);B(g,i)||m(i);let[d,h]=F.useState(null),[p,w]=F.useState(null),x=F.useCallback(e=>{e!==A.current&&(A.current=e,h(e))},[]),y=F.useCallback(e=>{e!==R.current&&(R.current=e,w(e))},[]),v=l||d,b=o||p,A=F.useRef(null),R=F.useRef(null),E=F.useRef(c),T=null!=f,S=z(f),C=z(r),L=z(s),O=F.useCallback(()=>{if(!A.current||!R.current)return;let e={placement:t,strategy:n,middleware:g};C.current&&(e.platform=C.current),H(A.current,R.current,e).then(e=>{let t={...e,isPositioned:!1!==L.current};P.current&&!B(E.current,t)&&(E.current=t,M.flushSync(()=>{u(t)}))})},[g,t,n,C,L]);k(()=>{!1===s&&E.current.isPositioned&&(E.current.isPositioned=!1,u(e=>({...e,isPositioned:!1})))},[s]);let P=F.useRef(!1);k(()=>(P.current=!0,()=>{P.current=!1}),[]),k(()=>
vendor: 607 bytes, line 1
1{if(v&&(A.current=v),b&&(R.current=b),v&&b){if(S.current)return S.current(v,b,O);O()}},[v,b,O,S,T]);let D=F.useMemo(()=>({reference:A,floating:R,setReference:x,setFloating:y}),[x,y]),W=F.useMemo(()=>({reference:v,floating:b}),[v,b]),N=F.useMemo(()=>{let e={position:n,left:0,top:0};if(!W.floating)return e;let t=V(W.floating,c.x),i=V(W.floating,c.y);return a?{...e,transform:"translate("+t+"px, "+i+"px)",...j(W.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:i}},[n,a,W.floating,c.x,c.y]);return F.useMemo(()=>({...c,update:O,refs:D,elements:W,floatingStyles:N}),[c,O,D,W,N])}],258950)}]);
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.