1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,58950,43084,29315,53760,t=>{"use strict";let e=["top","right","bottom","left"],n=e.reduce((t,e)=>t.concat(e,e+"-start",e+"-end"),[]),i=Math.min,r=Math.max,o=Math.round,l=Math.floor,f=t=>({x:t,y:t}),a={left:"right",right:"left",bottom:"top",top:"bottom"},c={start:"end",end:"start"};function u(t,e,n){return r(t,i(e,n))}function s(t,e){return"function"==typeof t?t(e):t}function d(t){return t.split("-")[0]}function h(t){return t.split("-")[1]}function m(t){return"x"===t?"y":"x"}function p(t){return"y"===t?"height":"width"}let g=new Set(["top","bottom"]);function w(t){return g.has(d(t))?"y":"x"}function y(t){return m(w(t))}function v(t,e,n){void 0===n&&(n=!1);let i=h(t),r=y(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=S(l)),[l,S(l)]}function x(t){let e=S(t);return[b(t),e,b(e)]}function b(t){return t.replace(/start|end/g,t=>c[t])}let R=["left","right"],A=["right","left"],T=["top","bottom"],O=["bottom","top"];function L(t,e,n,i){let r=h(t),o=function(t,e,n){switch(t){case"top":case"bottom":if(n)return e?A:R;return e?R:A;case"left":case"right":return e?T:O;default:return[]}}(d(t),"start"===n,i);return r&&(o=o.map(t=>t+"-"+r),e&&(o=o.concat(o.map(b)))),o}function S(t){return t.replace(/left|right|bottom|top/g,t=>a[t])}function E(t){return"number"!=typeof t?{top:0,right:0,bottom:0,left:0,...t}:{top:t,right:t,bottom:t,left:t}}function C(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 P(t,e,n){let i,{reference:r,floating:o}=t,l=w(e),f=y(e),a=p(f),c=d(e),u="y"===l,s=r.x+r.width/2-o.width/2,m=r.y+r.height/2-o.height/2,g=r[a]/2-o[a]/2;switch(c){case"top":i={x:s,y:r.y-o.height};break;case"bottom":i={x:s,y:r.y+r.height};break;case"right":i={x:r.x+r.width,y:m};break;case"left":i={x:r.x-o.width,y:m};break;default:i={x:r.x,y:r.y}}switch(h(e)){case"start":i[f]-=g*(n&&u?-1:1);break;case"end":i[f]+=g*(n&&u?-1:1)}return i}async function D(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:m=0}=s(e,t),p=E(m),g=f[h?"floating"===d?"reference":"floating":d],w=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(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=C(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:f,rect:y,offsetParent:v,strategy:a}):y);return{top:(w.top-b.top+p.top)/x.y,bottom:(b.bottom-w.bottom+p.bottom)/x.y,left:(w.left-b.left+p.left)/x.x,right:(b.right-w.right+p.right)/x.x}}t.s(["clamp",()=>u,"createCoords",()=>f,"evaluate",()=>s,"floor",()=>l,"getAlignment",()=>h,"getAlignmentAxis",()=>y,"getAlignmentSides",()=>v,"getAxisLength",()=>p,"getExpandedPlacements",()=>x,"getOppositeAlignmentPlacement",()=>b,"getOppositeAxis",()=>m,"getOppositeAxisPlacements",()=>L,"getOppositePlacement",()=>S,"getPaddingObject",()=>E,"getSide",()=>d,"getSideAxis",()=>w,"max",()=>r,"min",()=>i,"placements",()=>n,"rectToClientRect",()=>C,"round",()=>o,"sides",()=>e],43084);let k=async(t,e,n)=>{let{placement:i="bottom",strategy:r="absolute",middleware:o=[],platform:l}=n,f=o.filter(Boolean),a=await (null==l.isRTL?void 0:l.isRTL(e)),c=await l.getElementRects({reference:t,floating:e,strategy:r}),{x:u,y:s}=P(c,i,a),d=i,h={},m=0;for(let n=0;n<f.length;n++){var p;let{name:o,fn:g}=f[n],{x:w,y:y,data:v,reset:x}=await g({x:u,y:s,initialPlacement:i,placement:d,strategy:r,middlewareData:h,rects:c,platform:{...l,detectOverflow:null!=(p=l.detectOverflow)?p:D},elements:{reference:t,floating:e}});u=null!=w?w:u,s=null!=y?y:s,h={...h,[o]:{...h[o],...v}},x&&m<=50&&(m++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(c=!0===x.rects?await l.getElementRects({reference:t,floating:e,strategy:r}):x.rects),{x:u,y:s}=P(c,d,a)),n=-1)}return{x:u,y:s,placement:d,strategy:r,middlewareData:h}};function F(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function H(t){return e.some(e=>t[e]>=0)}function M(t){let e=i(...t.map(t=>t.left)),n=i(...t.map(t=>t.top));return{x:e,y:n,width:r(...t.map(t=>t.right))-e,height:r(...t.map(t=>t.bottom))-n}}let W=new Set(["left","top"]);async function B(t,e){let{placement:n,platform:i,elements:r}=t,o=await (null==i.isRTL?void 0:i.isRTL(r.floating)),l=d(n),f=h(n),a="y"===w(n),c=W.has(l)?-1:1,u=o&&a?-1:1,m=s(e,t),{mainAxis:p,crossAxis:g,alignmentAxis:y}="number"==typeof m?{mainAxis:m,crossAxis:0,alignmentAxis:null}
1:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return f&&"number"==typeof y&&(g="end"===f?-1*y:y),a?{x:g*u,y:p*c}:{x:p*c,y:g*u}}function N(){return"u">typeof window}function V(t){return _(t)?(t.nodeName||"").toLowerCase():"#document"}function j(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function z(t){var e;return null==(e=(_(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function _(t){return!!N()&&(t instanceof Node||t instanceof j(t).Node)}function I(t){return!!N()&&(t instanceof Element||t instanceof j(t).Element)}function K(t){return!!N()&&(t instanceof HTMLElement||t instanceof j(t).HTMLElement)}function U(t){return!(!N()||"u"<typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof j(t).ShadowRoot)}let $=new Set(["inline","contents"]);function q(t){let{overflow:e,overflowX:n,overflowY:i,display:r}=tl(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+n)&&!$.has(r)}let X=new Set(["table","td","th"]);function Y(t){return X.has(V(t))}let G=[":popover-open",":modal"];function J(t){return G.some(e=>{try{return t.matches(e)}catch(t){return!1}})}let Q=["transform","translate","scale","rotate","perspective"],Z=["transform","translate","scale","rotate","perspective","filter"],tt=["paint","layout","strict","content"];function te(t){let e=ti(),n=I(t)?tl(t):t;return Q.some(t=>!!n[t]&&"none"!==n[t])||!!n.containerType&&"normal"!==n.containerType||!e&&!!n.backdropFilter&&"none"!==n.backdropFilter||!e&&!!n.filter&&"none"!==n.filter||Z.some(t=>(n.willChange||"").includes(t))||tt.some(t=>(n.contain||"").includes(t))}function tn(t){let e=ta(t);for(;K(e)&&!to(e);){if(te(e))return e;if(J(e))break;e=ta(e)}return null}function ti(){return!("u"<typeof CSS)&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let tr=new Set(["html","body","#document"]);function to(t){return tr.has(V(t))}function tl(t){return j(t).getComputedStyle(t)}function tf(t){return I(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function ta(t){if("html"===V(t))return t;let e=t.assignedSlot||t.parentNode||U(t)&&t.host||z(t);return U(e)?e.host:e}function tc(t,e,n){var i;void 0===e&&(e=[]),void 0===n&&(n=!0);let r=function t(e){let n=ta(e);return to(n)?e.ownerDocument?e.ownerDocument.body:e.body:K(n)&&q(n)?n:t(n)}(t),o=r===(null==(i=t.ownerDocument)?void 0:i.body),l=j(r);if(o){let t=tu(l);return e.concat(l,l.visualViewport||[],q(r)?r:[],t&&n?tc(t):[])}return e.concat(r,tc(r,[],n))}function tu(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function ts(t){let e=tl(t),n=parseFloat(e.width)||0,i=parseFloat(e.height)||0,r=K(t),l=r?t.offsetWidth:n,f=r?t.offsetHeight:i,a=o(n)!==l||o(i)!==f;return a&&(n=l,i=f),{width:n,height:i,$:a}}function td(t){return I(t)?t:t.contextElement}function th(t){let e=td(t);if(!K(e))return f(1);let n=e.getBoundingClientRect(),{width:i,height:r,$:l}=ts(e),a=(l?o(n.width):n.width)/i,c=(l?o(n.height):n.height)/r;return a&&Number.isFinite(a)||(a=1),c&&Number.isFinite(c)||(c=1),{x:a,y:c}}t.s(["getComputedStyle",()=>tl,"getContainingBlock",()=>tn,"getDocumentElement",()=>z,"getFrameElement",()=>tu,"getNodeName",()=>V,"getNodeScroll",()=>tf,"getOverflowAncestors",()=>tc,"getParentNode",()=>ta,"getWindow",()=>j,"isContainingBlock",()=>te,"isElement",()=>I,"isHTMLElement",()=>K,"isLastTraversableNode",()=>to,"isOverflowElement",()=>q,"isShadowRoot",()=>U,"isTableElement",()=>Y,"isTopLayer",()=>J,"isWebKit",()=>ti],29315);let tm=f(0);function tp(t){let e=j(t);
1return ti()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:tm}function tg(t,e,n,i){var r;void 0===e&&(e=!1),void 0===n&&(n=!1);let o=t.getBoundingClientRect(),l=td(t),a=f(1);e&&(i?I(i)&&(a=th(i)):a=th(t));let c=(void 0===(r=n)&&(r=!1),i&&(!r||i===j(l))&&r)?tp(l):f(0),u=(o.left+c.x)/a.x,s=(o.top+c.y)/a.y,d=o.width/a.x,h=o.height/a.y;if(l){let t=j(l),e=i&&I(i)?j(i):i,n=t,r=tu(n);for(;r&&i&&e!==n;){let t=th(r),e=r.getBoundingClientRect(),i=tl(r),o=e.left+(r.clientLeft+parseFloat(i.paddingLeft))*t.x,l=e.top+(r.clientTop+parseFloat(i.paddingTop))*t.y;u*=t.x,s*=t.y,d*=t.x,h*=t.y,u+=o,s+=l,r=tu(n=j(r))}}return C({width:d,height:h,x:u,y:s})}function tw(t,e){let n=tf(t).scrollLeft;return e?e.left+n:tg(z(t)).left+n}function ty(t,e){let n=t.getBoundingClientRect();return{x:n.left+e.scrollLeft-tw(t,n),y:n.top+e.scrollTop}}let tv=new Set(["absolute","fixed"]);function tx(t,e,n){var i;let o;if("viewport"===e)o=function(t,e){let n=j(t),i=z(t),r=n.visualViewport,o=i.clientWidth,l=i.clientHeight,f=0,a=0;if(r){o=r.width,l=r.height;let t=ti();(!t||t&&"fixed"===e)&&(f=r.offsetLeft,a=r.offsetTop)}let c=tw(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,u;i=z(t),e=z(i),n=tf(i),l=i.ownerDocument.body,f=r(e.scrollWidth,e.clientWidth,l.scrollWidth,l.clientWidth),a=r(e.scrollHeight,e.clientHeight,l.scrollHeight,l.clientHeight),c=-n.scrollLeft+tw(i),u=-n.scrollTop,"rtl"===tl(l).direction&&(c+=r(e.clientWidth,l.clientWidth)-f),o={width:f,height:a,x:c,y:u}}else if(I(e)){let t,i,r,l,a,c;i=(t=tg(e,!0,"fixed"===n)).top+e.clientTop,r=t.left+e.clientLeft,l=K(e)?th(e):f(1),a=e.clientWidth*l.x,c=e.clientHeight*l.y,o={width:a,height:c,x:r*l.x,y:i*l.y}}else{let n=tp(t);o={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return C(o)}function tb(t){return"static"===tl(t).position}function tR(t,e){if(!K(t)||"fixed"===tl(t).position)return null;if(e)return e(t);let n=t.offsetParent;return z(t)===n&&(n=n.ownerDocument.body),n}function tA(t,e){let n=j(t);if(J(t))return n;if(!K(t)){let e=ta(t);for(;e&&!to(e);){if(I(e)&&!tb(e))return e;e=ta(e)}return n}let i=tR(t,e);for(;i&&Y(i)&&tb(i);)i=tR(i,e);return i&&to(i)&&tb(i)&&!te(i)?n:i||tn(t)||n}let tT=async function(t){let e=this.getOffsetParent||tA,n=this.getDimensions,i=await n(t.floating);return{reference:function(t,e,n){let i=K(e),r=z(e),o="fixed"===n,l=tg(t,!0,o,e),a={scrollLeft:0,scrollTop:0},c=f(0);if(i||!i&&!o)if(("body"!==V(e)||q(r))&&(a=tf(e)),i){let t=tg(e,!0,o,e);c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}else r&&(c.x=tw(r));o&&!i&&r&&(c.x=tw(r));let u=!r||i||o?f(0):ty(r,a);return{x:l.left+a.scrollLeft-c.x-u.x,y:l.top+a.scrollTop-c.y-u.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}}},tO={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:i,strategy:r}=t,o="fixed"===r,l=z(i),a=!!e&&J(e.floating);if(i===l||a&&o)return n;let c={scrollLeft:0,scrollTop:0},u=f(1),s=f(0),d=K(i);if((d||!d&&!o)&&(("body"!==V(i)||q(l))&&(c=tf(i)),K(i))){let t=tg(i);u=th(i),s.x=t.x+i.clientLeft,s.y=t.y+i.clientTop}let h=!l||d||o?f(0):ty(l,c);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+s.x+h.x,y:n.y*u.y-c.scrollTop*u.y+s.y+h.y}},getDocumentElement:z,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:o,strategy:l}=t,f=[..."clippingAncestors"===n?J(e)?[]:function(t,e){let n=e.get(t);if(n)return n;let i=tc(t,[],!1).filter(t=>I(t)&&"body"!==V(t)),r=null,o="fixed"===tl(t).position,l=o?ta(t):t;for(;I(l)&&!to(l);){let e=tl(l),n=te(l);n||"fixed"!==e.position||(r=null),(o?!n&&!r:!n&&"static"===e.position&&!!r&&tv.has(r.position)||q(l)&&!n&&function t(e,n){let i=ta(e);return!(i===n||!I(i)||to(i))&&("fixed"===tl(i).position||t(i,n))}(t,l))?i=i.filter(t=>t!==l):r=e,l=ta(l)}return e.set(t,i),i}(e,this._c):[].concat(n),o],a=f[0],c=f.reduce((t,n)=>{let o=tx(e,n,l);return t.top=r(o.top,t.top),t.right=i(o.right,t.right),t.bottom=i(o.bottom,t.bottom),t.left=r(o.left,t.left),t},tx(e,a,l));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:tA,getElementRects:tT,getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){let{width:e,height:n}=ts(t);return{width:e,height:n}},getScale:th,isElement:I,isRTL:function(t){return"rtl"===tl(t).direction}};function tL(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function tS(t,e,n,o){let f;void 0===o&&(o={});let{ancestorScroll:a=!0,ancestorResize:c=!0,elementResize:u="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:d=!1}=o,h=td(t),m=a||c?[...h?tc(h):[],...tc(e)]:[];m.forEach(t=>{a&&t.addEventListener("scroll",n,{passive:!0}),c&&t.addEventListener("resize",n)});let p=h&&s?function(t,e){let n,o=null,f=z(t);function a(){var t;clearTimeout(n),null==(t=o)||t.disconnect(),o=null}return!function c(u,s){void 0===u&&(u=!1),void 0===s&&(s=1),a();let d=t.getBoundingClientRect(),{left:h,top:m,width:p,height:g}=d;if(u||e(),!p||!g)return;let w={rootMargin:-l(m)+"px "+-l(f.clientWidth-(h+p))+"px "+-l(f.clientHeight-(m+g))+"px "+-l(h)+"px",threshold:r(0,i(1,s))||1},y=!0;function v(e){let i=e[0].intersectionRatio;if(i!==s){if(!y)return c();i?c(!1,i):n=setTimeout(()=>{c(!1,1e-7)},1e3)}1!==i||tL(d,t.getBoundingClientRect())||c(),y=!1}try{o=new IntersectionObserver(v,{...w,root:f.ownerDocument})}catch(t){o=new IntersectionObserver(v,w)}o.observe(t)}(!0),a}(h,n):null,g=-1,w=null;u&&(w=new ResizeObserver(t=>{let[i]=t;i&&i.target===h&&w&&(w.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var t;null==(t=w)||t.observe(e)})),n()}
1),h&&!d&&w.observe(h),w.observe(e));let y=d?tg(t):null;return d&&function e(){let i=tg(t);y&&!tL(y,i)&&n(),y=i,f=requestAnimationFrame(e)}(),n(),()=>{var t;m.forEach(t=>{a&&t.removeEventListener("scroll",n),c&&t.removeEventListener("resize",n)}),null==p||p(),null==(t=w)||t.disconnect(),w=null,d&&cancelAnimationFrame(f)}}let tE=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 B(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}}}}},tC=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var i,r,o,l;let{rects:f,middlewareData:a,placement:c,platform:u,elements:m}=e,{crossAxis:p=!1,alignment:g,allowedPlacements:w=n,autoAlignment:y=!0,...x}=s(t,e),R=void 0!==g||w===n?((l=g||null)?[...w.filter(t=>h(t)===l),...w.filter(t=>h(t)!==l)]:w.filter(t=>d(t)===t)).filter(t=>!l||h(t)===l||!!y&&b(t)!==t):w,A=await u.detectOverflow(e,x),T=(null==(i=a.autoPlacement)?void 0:i.index)||0,O=R[T];if(null==O)return{};let L=v(O,f,await (null==u.isRTL?void 0:u.isRTL(m.floating)));if(c!==O)return{reset:{placement:R[0]}};let S=[A[d(O)],A[L[0]],A[L[1]]],E=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:O,overflows:S}],C=R[T+1];if(C)return{data:{index:T+1,overflows:E},reset:{placement:C}};let P=E.map(t=>{let e=h(t.placement);return[t.placement,e&&p?t.overflows.slice(0,2).reduce((t,e)=>t+e,0):t.overflows[0],t.overflows]}).sort((t,e)=>t[1]-e[1]),D=(null==(o=P.filter(t=>t[2].slice(0,h(t[0])?2:3).every(t=>t<=0))[0])?void 0:o[0])||P[0][0];return D!==c?{data:{index:T+1,overflows:E},reset:{placement:D}}:{}}}},tP=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:i,placement:r,platform:o}=e,{mainAxis:l=!0,crossAxis:f=!1,limiter:a={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...c}=s(t,e),h={x:n,y:i},p=await o.detectOverflow(e,c),g=w(d(r)),y=m(g),v=h[y],x=h[g];if(l){let t="y"===y?"top":"left",e="y"===y?"bottom":"right",n=v+p[t],i=v-p[e];v=u(n,v,i)}if(f){let t="y"===g?"top":"left",e="y"===g?"bottom":"right",n=x+p[t],i=x-p[e];x=u(n,x,i)}let b=a.fn({...e,[y]:v,[g]:x});return{...b,data:{x:b.x-n,y:b.y-i,enabled:{[y]:l,[g]:f}}}}}},tD=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,i,r,o,l;let{placement:f,middlewareData:a,rects:c,initialPlacement:u,platform:h,elements:m}=e,{mainAxis:p=!0,crossAxis:g=!0,fallbackPlacements:y,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:R="none",flipAlignment:A=!0,...T}=s(t,e);if(null!=(n=a.arrow)&&n.alignmentOffset)return{};let O=d(f),E=w(u),C=d(u)===u,P=await (null==h.isRTL?void 0:h.isRTL(m.floating)),D=y||(C||!A?[S(u)]:x(u)),k="none"!==R;!y&&k&&D.push(...L(u,A,R,P));let F=[u,...D],H=await h.detectOverflow(e,T),M=[],W=(null==(i=a.flip)?void 0:i.overflows)||[];if(p&&M.push(H[O]),g){let t=v(f,c,P);M.push(H[t[0]],H[t[1]])}if(W=[...W,{placement:f,overflows:M}],!M.every(t=>t<=0)){let t=((null==(r=a.flip)?void 0:r.index)||0)+1,e=F[t];if(e&&("alignment"!==g||E===w(e)||W.every(t=>w(t.placement)!==E||t.overflows[0]>0)))return{data:{index:t,overflows:W},reset:{placement:e}};let n=null==(o=W.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:o.placement;if(!n)switch(b){case"bestFit":{let t=null==(l=W.filter(t=>{if(k){let e=w(t.placement);return e===E||"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=u}if(f!==n)return{reset:{placement:n}}}return{}}}},tk=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){var n,o;let l,f,{placement:a,rects:c,platform:u,elements:m}=e,{apply:p=()=>{},...g}=s(t,e),y=await u.detectOverflow(e,g),v=d(a),x=h(a),b="y"===w(a),{width:R,height:A}=c.floating;"top"===v||"bottom"===v?(l=v,f=x===(await (null==u.isRTL?void 0:u.isRTL(m.floating))?"start":"end")?"left":"right"):(f=v,l="end"===x?"top":"bottom");let T=A-y.top-y.bottom,O=R-y.left-y.right,L=i(A-y[l],T),S=i(R-y[f],O),E=!e.middlewareData.shift,C=L,P=S;if(null!=(n=e.middlewareData.shift)&&n.enabled.x&&(P=O),null!=(o=e.middlewareData.shift)&&o.enabled.y&&(C=T),E&&!x){let t=r(y.left,0),e=r(y.right,0),n=r(y.top,0),i=r(y.bottom,0);b?P=R-2*(0!==t||0!==e?t+e:r(y.left,y.right)):C=A-2*(0!==n||0!==i?n+i:r(y.top,y.bottom))}await p({...e,availableWidth:P,availableHeight:C});let D=await u.getDimensions(m.floating);return R!==D.width||A!==D.height?{reset:{rects:!0}}:{}}}},tF=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=F(await i.detectOverflow(e,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:H(t)}}}case"escaped":{let t=F(await i.detectOverflow(e,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:t,escaped:H(t)}}}default:return{}}}}},tH=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:r,placement:o,rects:l,platform:f,elements:a,middlewareData:c}=e,{element:d,padding:m=0}=s(t,e)||{};if(null==d)return{};let g=E(m),w={x:n,y:r},v=y(o),x=p(v),b=await f.getDimensions(d),R="y"===v,A=R?"clientHeight":"clientWidth",T=l.reference[x]+l.reference[v]-w[v]-l.floating[x],O=w[v]-l.reference[v],L=await (null==f.getOffsetParent?void 0:f.getOffsetParent(d)),S=L?L[A]:0;
1S&&await (null==f.isElement?void 0:f.isElement(L))||(S=a.floating[A]||l.floating[x]);let C=S/2-b[x]/2-1,P=i(g[R?"top":"left"],C),D=i(g[R?"bottom":"right"],C),k=S-b[x]-D,F=S/2-b[x]/2+(T/2-O/2),H=u(P,F,k),M=!c.arrow&&null!=h(o)&&F!==H&&l.reference[x]/2-(F<P?P:D)-b[x]/2<0,W=M?F<P?F-P:F-k:0;return{[v]:w[v]+W,data:{[v]:H,centerOffset:F-H-W,...M&&{alignmentOffset:W}},reset:M}}}),tM=function(t){return void 0===t&&(t={}),{name:"inline",options:t,async fn(e){let{placement:n,elements:o,rects:l,platform:f,strategy:a}=e,{padding:c=2,x:u,y:h}=s(t,e),m=Array.from(await (null==f.getClientRects?void 0:f.getClientRects(o.reference))||[]),p=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=>C(M(t)))}(m),g=C(M(m)),y=E(c),v=await f.getElementRects({reference:{getBoundingClientRect:function(){if(2===p.length&&p[0].left>p[1].right&&null!=u&&null!=h)return p.find(t=>u>t.left-y.left&&u<t.right+y.right&&h>t.top-y.top&&h<t.bottom+y.bottom)||g;if(p.length>=2){if("y"===w(n)){let t=p[0],e=p[p.length-1],i="top"===d(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"===d(n),e=r(...p.map(t=>t.right)),o=i(...p.map(t=>t.left)),l=p.filter(n=>t?n.left===o:n.right===e),f=l[0].top,a=l[l.length-1].bottom;return{top:f,bottom:a,left:o,right:e,width:e-o,height:a-f,x:o,y:f}}return g}},floating:o.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}}:{}}}},tW=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),u={x:n,y:i},h=w(r),p=m(h),g=u[p],y=u[h],v=s(f,e),x="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(a){let t="y"===p?"height":"width",e=o.reference[p]-o.floating[t]+x.mainAxis,n=o.reference[p]+o.reference[t]-x.mainAxis;g<e?g=e:g>n&&(g=n)}if(c){var b,R;let t="y"===p?"width":"height",e=W.has(d(r)),n=o.reference[h]-o.floating[t]+(e&&(null==(b=l.offset)?void 0:b[h])||0)+(e?0:x.crossAxis),i=o.reference[h]+o.reference[t]+(e?0:(null==(R=l.offset)?void 0:R[h])||0)-(e?x.crossAxis:0);y<n?y=n:y>i&&(y=i)}return{[p]:g,[h]:y}}}},tB=(t,e,n)=>{let i=new Map,r={platform:tO,...n},o={...r.platform,_c:i};return k(t,e,{...r,platform:o})};t.s(["arrow",()=>tH,"autoPlacement",()=>tC,"autoUpdate",()=>tS,"computePosition",()=>tB,"detectOverflow",()=>D,"flip",()=>tD,"hide",()=>tF,"inline",()=>tM,"limitShift",()=>tW,"offset",()=>tE,"shift",()=>tP,"size",()=>tk],53760);var tN=t.i(71645),tV=t.i(74080),tj="u">typeof document?tN.useLayoutEffect:function(){};function tz(t,e){let n,i,r;if(t===e)return!0;if(typeof t!=typeof e)return!1;if("function"==typeof t&&t.toString()===e.toString())return!0;if(t&&e&&"object"==typeof t){if(Array.isArray(t)){if((n=t.length)!==e.length)return!1;for(i=n;0!=i--;)if(!tz(t[i],e[i]))return!1;return!0}if((n=(r=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(i=n;0!=i--;)if(!({}).hasOwnProperty.call(e,r[i]))return!1;for(i=n;0!=i--;){let n=r[i];if(("_owner"!==n||!t.$$typeof)&&!tz(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}function t_(t){return"u"<typeof window?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function tI(t,e){let n=t_(t);return Math.round(e*n)/n}function tK(t){let e=tN.useRef(t);return tj(()=>{e.current=t}),e}function tU(t){void 0===t&&(t={});let{placement:e="bottom",strategy:n="absolute",middleware:i=[],platform:r,elements:{reference:o,floating:l}={},transform:f=!0,whileElementsMounted:a,open:c}=t,[u,s]=tN.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[d,h]=tN.useState(i);tz(d,i)||h(i);let[m,p]=tN.useState(null),[g,w]=tN.useState(null),y=tN.useCallback(t=>{t!==R.current&&(R.current=t,p(t))},[]),v=tN.useCallback(t=>{t!==A.current&&(A.current=t,w(t))},[]),x=o||m,b=l||g,R=tN.useRef(null),A=tN.useRef(null),T=tN.useRef(u),O=null!=a,L=tK(a),S=tK(r),E=tK(c),C=tN.useCallback(()=>
1{if(!R.current||!A.current)return;let t={placement:e,strategy:n,middleware:d};S.current&&(t.platform=S.current),tB(R.current,A.current,t).then(t=>{let e={...t,isPositioned:!1!==E.current};P.current&&!tz(T.current,e)&&(T.current=e,tV.flushSync(()=>{s(e)}))})},[d,e,n,S,E]);tj(()=>{!1===c&&T.current.isPositioned&&(T.current.isPositioned=!1,s(t=>({...t,isPositioned:!1})))},[c]);let P=tN.useRef(!1);tj(()=>(P.current=!0,()=>{P.current=!1}),[]),tj(()=>{if(x&&(R.current=x),b&&(A.current=b),x&&b){if(L.current)return L.current(x,b,C);C()}},[x,b,C,L,O]);let D=tN.useMemo(()=>({reference:R,floating:A,setReference:y,setFloating:v}),[y,v]),k=tN.useMemo(()=>({reference:x,floating:b}),[x,b]),F=tN.useMemo(()=>{let t={position:n,left:0,top:0};if(!k.floating)return t;let e=tI(k.floating,u.x),i=tI(k.floating,u.y);return f?{...t,transform:"translate("+e+"px, "+i+"px)",...t_(k.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:e,top:i}},[n,f,k.floating,u.x,u.y]);return tN.useMemo(()=>({...u,update:C,refs:D,elements:k,floatingStyles:F}),[u,C,D,k,F])}let t$=(t,e)=>({...tE(t),options:[t,e]}),tq=(t,e)=>({...tP(t),options:[t,e]}),tX=(t,e)=>({...tW(t),options:[t,e]}),tY=(t,e)=>({...tD(t),options:[t,e]}),tG=(t,e)=>({...tk(t),options:[t,e]}),tJ=(t,e)=>({...tF(t),options:[t,e]}),tQ=(t,e)=>({name:"arrow",options:t,fn(e){let{element:n,padding:i}="function"==typeof t?t(e):t;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?tH({element:n.current,padding:i}).fn(e):{}:n?tH({element:n,padding:i}).fn(e):{}},options:[t,e]});t.s(["arrow",()=>tQ,"flip",()=>tY,"hide",()=>tJ,"limitShift",()=>tX,"offset",()=>t$,"shift",()=>tq,"size",()=>tG,"useFloating",()=>tU],58950)}]);
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.