1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,41712,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 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 m(t){return"y"===t?"height":"width"}let p=new Set(["top","bottom"]);function g(t){return p.has(u(t))?"y":"x"}function w(t,e,n){void 0===n&&(n=!1);let i=d(t),r=h(g(t)),o=m(r),l="x"===r?i===(n?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[o]>e.floating[o]&&(l=T(l)),[l,T(l)]}function v(t){return t.replace(/start|end/g,t=>c[t])}let y=["left","right"],x=["right","left"],b=["top","bottom"],R=["bottom","top"];function T(t){return t.replace(/left|right|bottom|top/g,t=>a[t])}function L(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 O(t,e,n){let i,{reference:r,floating:o}=t,l=g(e),f=h(g(e)),a=m(f),c=u(e),s="y"===l,p=r.x+r.width/2-o.width/2,w=r.y+r.height/2-o.height/2,v=r[a]/2-o[a]/2;switch(c){case"top":i={x:p,y:r.y-o.height};break;case"bottom":i={x:p,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]-=v*(n&&s?-1:1);break;case"end":i[f]+=v*(n&&s?-1:1)}return i}async function C(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=L(m),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})),v="floating"===d?{x:i,y:r,width:l.floating.width,height:l.floating.height}:l.reference,y=await (null==o.getOffsetParent?void 0:o.getOffsetParent(f.floating)),x=await (null==o.isElement?void 0:o.isElement(y))&&await (null==o.getScale?void 0:o.getScale(y))||{x:1,y:1},b=A(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:f,rect:v,offsetParent:y,strategy:a}):v);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}}let E=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:s,y:u}=O(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:v,data:y,reset:x}=await g({x:s,y:u,initialPlacement:i,placement:d,strategy:r,middlewareData:h,rects:c,platform:{...l,detectOverflow:null!=(p=l.detectOverflow)?p:C},elements:{reference:t,floating:e}});s=null!=w?w:s,u=null!=v?v:u,h={...h,[o]:{...h[o],...y}},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:s,y:u}=O(c,d,a)),n=-1)}return{x:s,y:u,placement:d,strategy:r,middlewareData:h}};function S(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 e.some(e=>t[e]>=0)}function D(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 k=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"===g(n),c=k.has(l)?-1:1,h=o&&a?-1:1,m=s(e,t),{mainAxis:p,crossAxis:w,alignmentAxis:v}="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 v&&(w="end"===f?-1*v:v),a?{x:w*h,y:p*c}:{x:p*c,y:w*h}}function H(){return"undefined"!=typeof window}function W(t){return N(t)?(t.nodeName||"").toLowerCase():"#document"}function B(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function M(t){var e;return null==(e=(N(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function N(t){return!!H()&&(t instanceof Node||t instanceof B(t).Node)}function V(t){return!!H()&&(t instanceof Element||t instanceof B(t).Element)}function j(t){return!!H()&&(t instanceof HTMLElement||t instanceof B(t).HTMLElement)}function z(t){return!!H()&&"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof B(t).ShadowRoot)}let _=new Set(["inline","contents"]);function I(t){let{overflow:e,overflowX:n,overflowY:i,display:r}=tt(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+n)&&!_.has(r)}let U=new Set(["table","td","th"]),q=[":popover-open",":modal"];function K(t){return q.some(e=>{try{return t.matches(e)}catch(t){return!1}})}let X=["transform","translate","scale","rotate","perspective"],Y=["transform","translate","scale","rotate","perspective","filter"],$=["paint","layout","strict","content"];function G(t){let e=J(),n=V(t)?tt(t):t;return X.some(t=>!!n[t]&&"none"!==n[t])||!!n.containerType&&"normal"!==n.containerType||!e&&!!n.backdropFilter&&"none"!==n.backdropFilter||!e&&!!n.filter&&"none"!==n.filter||Y.some(t=>(n.willChange||"").includes(t))||$.some(t=>(n.contain||"").includes(t))}function J(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let Q=new Set(["html","body","#document"]);function Z(t){return Q.has(W(t))}function tt(t){return B(t).getComputedStyle(t)}function te(t){return V(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function tn(t){if("html"===W(t))return t;let e=t.assignedSlot||t.parentNode||z(t)&&t.host||M(t);return z(e)?e.host:e}function ti(t,e,n){var i;void 0===e&&(e=[]),void 0===n&&(n=!0);let r=function t(e){let n=tn(e);return Z(n)?e.ownerDocument?e.ownerDocument.body:e.body:j(n)&&I(n)?n:t(n)}(t),o=r===(null==(i=t.ownerDocument)?void 0:i.body),l=B(r);if(o){let t=tr(l);return e.concat(l,l.visualViewport||[],I(r)?r:[],t&&n?ti(t):[])}return e.concat(r,ti(r,[],n))}function tr(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function to(t){let e=tt(t),n=parseFloat(e.width)||0,i=parseFloat(e.height)||0,r=j(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 tl(t){return V(t)?t:t.contextElement}function tf(t){let e=tl(t);if(!j(e))return f(1);let n=e.getBoundingClientRect(),{width:i,height:r,$:l}=to(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}}let ta=f(0);function tc(t){let e=B(t);
1return J()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:ta}function ts(t,e,n,i){var r;void 0===e&&(e=!1),void 0===n&&(n=!1);let o=t.getBoundingClientRect(),l=tl(t),a=f(1);e&&(i?V(i)&&(a=tf(i)):a=tf(t));let c=(void 0===(r=n)&&(r=!1),i&&(!r||i===B(l))&&r)?tc(l):f(0),s=(o.left+c.x)/a.x,u=(o.top+c.y)/a.y,d=o.width/a.x,h=o.height/a.y;if(l){let t=B(l),e=i&&V(i)?B(i):i,n=t,r=tr(n);for(;r&&i&&e!==n;){let t=tf(r),e=r.getBoundingClientRect(),i=tt(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=tr(n=B(r))}}return A({width:d,height:h,x:s,y:u})}function tu(t,e){let n=te(t).scrollLeft;return e?e.left+n:ts(M(t)).left+n}function td(t,e){let n=t.getBoundingClientRect();return{x:n.left+e.scrollLeft-tu(t,n),y:n.top+e.scrollTop}}let th=new Set(["absolute","fixed"]);function tm(t,e,n){var i;let o;if("viewport"===e)o=function(t,e){let n=B(t),i=M(t),r=n.visualViewport,o=i.clientWidth,l=i.clientHeight,f=0,a=0;if(r){o=r.width,l=r.height;let t=J();(!t||t&&"fixed"===e)&&(f=r.offsetLeft,a=r.offsetTop)}let c=tu(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=M(t),e=M(i),n=te(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+tu(i),s=-n.scrollTop,"rtl"===tt(l).direction&&(c+=r(e.clientWidth,l.clientWidth)-f),o={width:f,height:a,x:c,y:s}}else if(V(e)){let t,i,r,l,a,c;i=(t=ts(e,!0,"fixed"===n)).top+e.clientTop,r=t.left+e.clientLeft,l=j(e)?tf(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=tc(t);o={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return A(o)}function tp(t){return"static"===tt(t).position}function tg(t,e){if(!j(t)||"fixed"===tt(t).position)return null;if(e)return e(t);let n=t.offsetParent;return M(t)===n&&(n=n.ownerDocument.body),n}function tw(t,e){var n;let i=B(t);if(K(t))return i;if(!j(t)){let e=tn(t);for(;e&&!Z(e);){if(V(e)&&!tp(e))return e;e=tn(e)}return i}let r=tg(t,e);for(;r&&(n=r,U.has(W(n)))&&tp(r);)r=tg(r,e);return r&&Z(r)&&tp(r)&&!G(r)?i:r||function(t){let e=tn(t);for(;j(e)&&!Z(e);){if(G(e))return e;if(K(e))break;e=tn(e)}return null}(t)||i}let tv=async function(t){let e=this.getOffsetParent||tw,n=this.getDimensions,i=await n(t.floating);return{reference:function(t,e,n){let i=j(e),r=M(e),o="fixed"===n,l=ts(t,!0,o,e),a={scrollLeft:0,scrollTop:0},c=f(0);if(i||!i&&!o)if(("body"!==W(e)||I(r))&&(a=te(e)),i){let t=ts(e,!0,o,e);c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}else r&&(c.x=tu(r));o&&!i&&r&&(c.x=tu(r));let s=!r||i||o?f(0):td(r,a);return{x:l.left+a.scrollLeft-c.x-s.x,y:l.top+a.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}}},ty={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:i,strategy:r}=t,o="fixed"===r,l=M(i),a=!!e&&K(e.floating);if(i===l||a&&o)return n;let c={scrollLeft:0,scrollTop:0},s=f(1),u=f(0),d=j(i);if((d||!d&&!o)&&(("body"!==W(i)||I(l))&&(c=te(i)),j(i))){let t=ts(i);s=tf(i),u.x=t.x+i.clientLeft,u.y=t.y+i.clientTop}let h=!l||d||o?f(0):td(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:M,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:o,strategy:l}=t,f=[..."clippingAncestors"===n?K(e)?[]:function(t,e){let n=e.get(t);if(n)return n;let i=ti(t,[],!1).filter(t=>V(t)&&"body"!==W(t)),r=null,o="fixed"===tt(t).position,l=o?tn(t):t;for(;V(l)&&!Z(l);){let e=tt(l),n=G(l);n||"fixed"!==e.position||(r=null),(o?!n&&!r:!n&&"static"===e.position&&!!r&&th.has(r.position)||I(l)&&!n&&function t(e,n){let i=tn(e);return!(i===n||!V(i)||Z(i))&&("fixed"===tt(i).position||t(i,n))}(t,l))?i=i.filter(t=>t!==l):r=e,l=tn(l)}return e.set(t,i),i}(e,this._c):[].concat(n),o],a=f[0],c=f.reduce((t,n)=>{let o=tm(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},tm(e,a,l));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:tw,getElementRects:tv,getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){let{width:e,height:n}=to(t);return{width:e,height:n}},getScale:tf,isElement:V,isRTL:function(t){return"rtl"===tt(t).direction}};function tx(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function tb(t,e,n,o){let f;void 0===o&&(o={});let{ancestorScroll:a=!0,ancestorResize:c=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:d=!1}
1=o,h=tl(t),m=a||c?[...h?ti(h):[],...ti(e)]:[];m.forEach(t=>{a&&t.addEventListener("scroll",n,{passive:!0}),c&&t.addEventListener("resize",n)});let p=h&&u?function(t,e){let n,o=null,f=M(t);function a(){var t;clearTimeout(n),null==(t=o)||t.disconnect(),o=null}return!function c(s,u){void 0===s&&(s=!1),void 0===u&&(u=1),a();let d=t.getBoundingClientRect(),{left:h,top:m,width:p,height:g}=d;if(s||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,u))||1},v=!0;function y(e){let i=e[0].intersectionRatio;if(i!==u){if(!v)return c();i?c(!1,i):n=setTimeout(()=>{c(!1,1e-7)},1e3)}1!==i||tx(d,t.getBoundingClientRect())||c(),v=!1}try{o=new IntersectionObserver(y,{...w,root:f.ownerDocument})}catch(t){o=new IntersectionObserver(y,w)}o.observe(t)}(!0),a}(h,n):null,g=-1,w=null;s&&(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()}),h&&!d&&w.observe(h),w.observe(e));let v=d?ts(t):null;return d&&function e(){let i=ts(t);v&&!tx(v,i)&&n(),v=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 tR=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}}}}},tT=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:h,elements:m}=e,{crossAxis:p=!1,alignment:g,allowedPlacements:y=n,autoAlignment:x=!0,...b}=s(t,e),R=void 0!==g||y===n?((l=g||null)?[...y.filter(t=>d(t)===l),...y.filter(t=>d(t)!==l)]:y.filter(t=>u(t)===t)).filter(t=>!l||d(t)===l||!!x&&v(t)!==t):y,T=await h.detectOverflow(e,b),L=(null==(i=a.autoPlacement)?void 0:i.index)||0,A=R[L];if(null==A)return{};let O=w(A,f,await (null==h.isRTL?void 0:h.isRTL(m.floating)));if(c!==A)return{reset:{placement:R[0]}};let C=[T[u(A)],T[O[0]],T[O[1]]],E=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:A,overflows:C}],S=R[L+1];if(S)return{data:{index:L+1,overflows:E},reset:{placement:S}};let P=E.map(t=>{let e=d(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,d(t[0])?2:3).every(t=>t<=0))[0])?void 0:o[0])||P[0][0];return D!==c?{data:{index:L+1,overflows:E},reset:{placement:D}}:{}}}},tL=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:o,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}}},...m}=s(t,e),p={x:n,y:o},w=await f.detectOverflow(e,m),v=g(u(l)),y=h(v),x=p[y],b=p[v];if(a){let t="y"===y?"top":"left",e="y"===y?"bottom":"right",n=x+w[t],o=x-w[e];x=r(n,i(x,o))}if(c){let t="y"===v?"top":"left",e="y"===v?"bottom":"right",n=b+w[t],o=b-w[e];b=r(n,i(b,o))}let R=d.fn({...e,[y]:x,[v]:b});return{...R,data:{x:R.x-n,y:R.y-o,enabled:{[y]:a,[v]:c}}}}}},tA=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:m,rects:p,initialPlacement:L,platform:A,elements:O}=e,{mainAxis:C=!0,crossAxis:E=!0,fallbackPlacements:S,fallbackStrategy:P="bestFit",fallbackAxisSideDirection:D="none",flipAlignment:k=!0,...F}=s(t,e);if(null!=(n=m.arrow)&&n.alignmentOffset)return{};let H=u(h),W=g(L),B=u(L)===L,M=await (null==A.isRTL?void 0:A.isRTL(O.floating)),N=S||(B||!k?[T(L)]:(f=T(L),[v(L),f,v(f)])),V="none"!==D;!S&&V&&N.push(...(a=d(L),c=function(t,e,n){switch(t){case"top":case"bottom":if(n)return e?x:y;return e?y:x;case"left":case"right":return e?b:R;default:return[]}}(u(L),"start"===D,M),a&&(c=c.map(t=>t+"-"+a),k&&(c=c.concat(c.map(v)))),c));let j=[L,...N],z=await A.detectOverflow(e,F),_=[],I=(null==(i=m.flip)?void 0:i.overflows)||[];if(C&&_.push(z[H]),E){let t=w(h,p,M);_.push(z[t[0]],z[t[1]])}if(I=[...I,{placement:h,overflows:_}],!_.every(t=>t<=0)){let t=((null==(r=m.flip)?void 0:r.index)||0)+1,e=j[t];if(e&&("alignment"!==E||W===g(e)||I.every(t=>g(t.placement)!==W||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(P){case"bestFit":{let t=null==(l=I.filter(t=>{if(V){let e=g(t.placement);return e===W||"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=L}if(h!==n)return{reset:{placement:n}}}return{}}}},tO=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:h,elements:m}=e,{apply:p=()=>{},...w}=s(t,e),v=await h.detectOverflow(e,w),y=u(a),x=d(a),b="y"===g(a),{width:R,height:T}=c.floating;"top"===y||"bottom"===y?(l=y,f=x===(await (null==h.isRTL?void 0:h.isRTL(m.floating))?"start":"end")?"left":"right"):(f=y,l="end"===x?"top":"bottom");let L=T-v.top-v.bottom,A=R-v.left-v.right,O=i(T-v[l],L),C=i(R-v[f],A),E=!e.middlewareData.shift,S=O,P=C;
1if(null!=(n=e.middlewareData.shift)&&n.enabled.x&&(P=A),null!=(o=e.middlewareData.shift)&&o.enabled.y&&(S=L),E&&!x){let t=r(v.left,0),e=r(v.right,0),n=r(v.top,0),i=r(v.bottom,0);b?P=R-2*(0!==t||0!==e?t+e:r(v.left,v.right)):S=T-2*(0!==n||0!==i?n+i:r(v.top,v.bottom))}await p({...e,availableWidth:P,availableHeight:S});let D=await h.getDimensions(m.floating);return R!==D.width||T!==D.height?{reset:{rects:!0}}:{}}}},tC=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=S(await i.detectOverflow(e,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:P(t)}}}case"escaped":{let t=S(await i.detectOverflow(e,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:t,escaped:P(t)}}}default:return{}}}}},tE=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:o,placement:l,rects:f,platform:a,elements:c,middlewareData:u}=e,{element:p,padding:w=0}=s(t,e)||{};if(null==p)return{};let v=L(w),y={x:n,y:o},x=h(g(l)),b=m(x),R=await a.getDimensions(p),T="y"===x,A=T?"clientHeight":"clientWidth",O=f.reference[b]+f.reference[x]-y[x]-f.floating[b],C=y[x]-f.reference[x],E=await (null==a.getOffsetParent?void 0:a.getOffsetParent(p)),S=E?E[A]:0;S&&await (null==a.isElement?void 0:a.isElement(E))||(S=c.floating[A]||f.floating[b]);let P=S/2-R[b]/2-1,D=i(v[T?"top":"left"],P),k=i(v[T?"bottom":"right"],P),F=S-R[b]-k,H=S/2-R[b]/2+(O/2-C/2),W=r(D,i(H,F)),B=!u.arrow&&null!=d(l)&&H!==W&&f.reference[b]/2-(H<D?D:k)-R[b]/2<0,M=B?H<D?H-D:H-F:0;return{[x]:y[x]+M,data:{[x]:W,centerOffset:H-W-M,...B&&{alignmentOffset:M}},reset:B}}}),tS=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:d,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=>A(D(t)))}(m),w=A(D(m)),v=L(c),y=await f.getElementRects({reference:{getBoundingClientRect:function(){if(2===p.length&&p[0].left>p[1].right&&null!=d&&null!=h)return p.find(t=>d>t.left-v.left&&d<t.right+v.right&&h>t.top-v.top&&h<t.bottom+v.bottom)||w;if(p.length>=2){if("y"===g(n)){let t=p[0],e=p[p.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=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 w}},floating:o.floating,strategy:a});return l.reference.x!==y.reference.x||l.reference.y!==y.reference.y||l.reference.width!==y.reference.width||l.reference.height!==y.reference.height?{reset:{rects:y}}:{}}}},tP=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},m=g(r),p=h(m),w=d[p],v=d[m],y=s(f,e),x="number"==typeof y?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};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;w<e?w=e:w>n&&(w=n)}if(c){var b,R;let t="y"===p?"width":"height",e=k.has(u(r)),n=o.reference[m]-o.floating[t]+(e&&(null==(b=l.offset)?void 0:b[m])||0)+(e?0:x.crossAxis),i=o.reference[m]+o.reference[t]+(e?0:(null==(R=l.offset)?void 0:R[m])||0)-(e?x.crossAxis:0);v<n?v=n:v>i&&(v=i)}return{[p]:w,[m]:v}}}},tD=(t,e,n)=>{let i=new Map,r={platform:ty,...n},o={...r.platform,_c:i};return E(t,e,{...r,platform:o})};t.s(["arrow",()=>tE,"autoPlacement",()=>tT,"autoUpdate",()=>tb,"computePosition",()=>tD,"flip",()=>tA,"hide",()=>tC,"inline",()=>tS,"limitShift",()=>tP,"offset",()=>tR,"shift",()=>tL,"size",()=>tO],41712)},36833,t=>{"use strict";let e=(0,t.i(33912).default)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);t.s(["Check",()=>e],36833)},84762,t=>{"use strict";var e=t.i(45687),n=t.i(21382),i=t.i(73273),r=t.i(10708),o=t.i(22115);let l=n.forwardRef(({className:t,minLength:n,maxLength:l,onChange:f,label:a,footNote:c,lang:s,value:u,countCharComponent:d,...h},m)=>(0,e.jsxs)("div",{className:"w-full",children:[a&&(0,e.jsx)(r.Label,{className:"mb-2",children:a}),(0,e.jsx)("textarea",{className:(0,i.cn)("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm","ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none","focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","disabled:cursor-not-allowed disabled:opacity-50 text-base",t),ref:m,minLength:n,maxLength:l,value:u,...h,onChange:f}),d&&d,c&&(0,e.jsx)(o.FootNote,{children:c})]}));l.displayName="Textarea",t.s(["Textarea",()=>l])}]);
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.