1import{r as P,d as Kt}from"./app-MLckdXAM.js";function at(){return typeof window<"u"}function et(t){return Nt(t)?(t.nodeName||"").toLowerCase():"#document"}function N(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Y(t){var e;return(e=(Nt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Nt(t){return at()?t instanceof Node||t instanceof N(t).Node:!1}function _(t){return at()?t instanceof Element||t instanceof N(t).Element:!1}function q(t){return at()?t instanceof HTMLElement||t instanceof N(t).HTMLElement:!1}function Et(t){return!at()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof N(t).ShadowRoot}function it(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=V(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&i!=="inline"&&i!=="contents"}function Gt(t){return/^(table|td|th)$/.test(et(t))}function ut(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}const Jt=/transform|translate|scale|rotate|perspective|filter/,Qt=/paint|layout|strict|content/,G=t=>!!t&&t!=="none";let ht;function vt(t){const e=_(t)?V(t):t;return G(e.transform)||G(e.translate)||G(e.scale)||G(e.rotate)||G(e.perspective)||!bt()&&(G(e.backdropFilter)||G(e.filter))||Jt.test(e.willChange||"")||Qt.test(e.contain||"")}function Zt(t){let e=K(t);for(;q(e)&&!Z(e);){if(vt(e))return e;if(ut(e))return null;e=K(e)}return null}function bt(){return ht==null&&(ht=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),ht}function Z(t){return/^(html|body|#document)$/.test(et(t))}function V(t){return N(t).getComputedStyle(t)}function dt(t){return _(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function K(t){if(et(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Et(t)&&t.host||Y(t);return Et(e)?e.host:e}function Ht(t){const e=K(t);return Z(e)?t.ownerDocument?t.ownerDocument.body:t.body:q(e)&&it(e)?e:Ht(e)}function ot(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=Ht(t),r=i===((o=t.ownerDocument)==null?void 0:o.body),s=N(i);if(r){const c=wt(s);return e.concat(s,s.visualViewport||[],it(i)?i:[],c&&n?ot(c):[])}else return e.concat(i,ot(i,[],n))}function wt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}const te=["top","right","bottom","left"],z=Math.min,F=Math.max,ct=Math.round,rt=Math.floor,X=t=>({x:t,y:t}),ee={left:"right",right:"left",bottom:"top",top:"bottom"};function xt(t,e,n){return F(t,z(e,n))}function I(t,e){return typeof t=="function"?t(e):t}function j(t){return t.split("-")[0]}function nt(t){return t.split("-")[1]}function Rt(t){return t==="x"?"y":"x"}function At(t){return t==="y"?"height":"width"}function H(t){const e=t[0];return e==="t"||e==="b"?"y":"x"}function Ot(t){return Rt(H(t))}function ne(t,e,n){n===void 0&&(n=!1);const o=nt(t),i=Ot(t),r=At(i);let s=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=lt(s)),[s,lt(s)]}function oe(t){const e=lt(t);return[yt(t),e,yt(e)]}function yt(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const Lt=["left","right"],Pt=["right","left"],ie=["top","bottom"],re=["bottom","top"];function se(t,e,n){switch(t){case"top":case"bottom":return n?e?Pt:Lt:e?Lt:Pt;case"left":case"right":return e?ie:re;default:return[]}}function ce(t,e,n,o){const i=nt(t);let r=se(j(t),n==="start",o);return i&&(r=r.map(s=>s+"-"+i),e&&(r=r.concat(r.map(yt)))),r}function lt(t){const e=j(t);return ee[e]+t.slice(e.length)}function le(t){return{top:0,right:0,bottom:0,left:0,...t}}function Ct(t){return typeof t!="number"?le(t):{top:t,right:t,bottom:t,left:t}}function tt(t){const{x:e,y:n,width:o,height:i}=t;return{width:o,height:i,top:n,left:e,right:e+o,bottom:n+i,x:e,y:n}}function Dt(t,e,n){let{reference:o,floating:i}=t;const r=H(e),s=Ot(e),c=At(s),u=j(e),d=r==="y",f=o.x+o.width/2-i.width/2,l=o.y+o.height/2-i.height/2,m=o[c]/2-i[c]/2;let a;switch(u){case"top":a={x:f,y:o.y-i.height};break;case"bottom":a={x:f,y:o.y+o.height};break;case"right":a={x:o.x+o.width,y:l};break;case"left":a={x:o.x-i.width,y:l};break;default:a={x:o.x,y:o.y}}switch(nt(e)){case"start":a[s]-=m*(n&&d?-1:1);break;case"end":a[s]+=m*(n&&d?-1:1);break}return a}
1async function fe(t,e){var n;e===void 0&&(e={});const{x:o,y:i,platform:r,rects:s,elements:c,strategy:u}=t,{boundary:d="clippingAncestors",rootBoundary:f="viewport",elementContext:l="floating",altBoundary:m=!1,padding:a=0}=I(e,t),h=Ct(a),p=c[m?l==="floating"?"reference":"floating":l],w=tt(await r.getClippingRect({element:(n=await(r.isElement==null?void 0:r.isElement(p)))==null||n?p:p.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(c.floating)),boundary:d,rootBoundary:f,strategy:u})),v=l==="floating"?{x:o,y:i,width:s.floating.width,height:s.floating.height}:s.reference,y=await(r.getOffsetParent==null?void 0:r.getOffsetParent(c.floating)),x=await(r.isElement==null?void 0:r.isElement(y))?await(r.getScale==null?void 0:r.getScale(y))||{x:1,y:1}:{x:1,y:1},b=tt(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:v,offsetParent:y,strategy:u}):v);return{top:(w.top-b.top+h.top)/x.y,bottom:(b.bottom-w.bottom+h.bottom)/x.y,left:(w.left-b.left+h.left)/x.x,right:(b.right-w.right+h.right)/x.x}}const ae=50,ue=async(t,e,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:s}=n,c=s.detectOverflow?s:{...s,detectOverflow:fe},u=await(s.isRTL==null?void 0:s.isRTL(e));let d=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:l}=Dt(d,o,u),m=o,a=0;const h={};for(let g=0;g<r.length;g++){const p=r[g];if(!p)continue;const{name:w,fn:v}=p,{x:y,y:x,data:b,reset:R}=await v({x:f,y:l,initialPlacement:o,placement:m,strategy:i,middlewareData:h,rects:d,platform:c,elements:{reference:t,floating:e}});f=y??f,l=x??l,h[w]={...h[w],...b},R&&a<ae&&(a++,typeof R=="object"&&(R.placement&&(m=R.placement),R.rects&&(d=R.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):R.rects),{x:f,y:l}=Dt(d,m,u)),g=-1)}return{x:f,y:l,placement:m,strategy:i,middlewareData:h}},de=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:i,rects:r,platform:s,elements:c,middlewareData:u}=e,{element:d,padding:f=0}=I(t,e)||{};if(d==null)return{};const l=Ct(f),m={x:n,y:o},a=Ot(i),h=At(a),g=await s.getDimensions(d),p=a==="y",w=p?"top":"left",v=p?"bottom":"right",y=p?"clientHeight":"clientWidth",x=r.reference[h]+r.reference[a]-m[a]-r.floating[h],b=m[a]-r.reference[a],R=await(s.getOffsetParent==null?void 0:s.getOffsetParent(d));let C=R?R[y]:0;(!C||!await(s.isElement==null?void 0:s.isElement(R)))&&(C=c.floating[y]||r.floating[h]);const D=x/2-b/2,$=C/2-g[h]/2-1,O=z(l[w],$),T=z(l[v],$),M=O,L=C-g[h]-T,S=C/2-g[h]/2+D,W=xt(M,S,L),E=!u.arrow&&nt(i)!=null&&S!==W&&r.reference[h]/2-(S<M?O:T)-g[h]/2<0,k=E?S<M?S-M:S-L:0;return{[a]:m[a]+k,data:{[a]:W,centerOffset:S-W-k,...E&&{alignmentOffset:k}},reset:E}}}),me=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:i,middlewareData:r,rects:s,initialPlacement:c,platform:u,elements:d}=e,{mainAxis:f=!0,crossAxis:l=!0,fallbackPlacements:m,fallbackStrategy:a="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:g=!0,...p}=I(t,e);if((n=r.arrow)!=null&&n.alignmentOffset)return{};const w=j(i),v=H(c),y=j(c)===c,x=await(u.isRTL==null?void 0:u.isRTL(d.floating)),b=m||(y||!g?[lt(c)]:oe(c)),R=h!=="none";!m&&R&&b.push(...ce(c,g,h,x));const C=[c,...b],D=await u.detectOverflow(e,p),$=[];let O=((o=r.flip)==null?void 0:o.overflows)||[];if(f&&$.push(D[w]),l){const S=ne(i,s,x);$.push(D[S[0]],D[S[1]])}if(O=[...O,{placement:i,overflows:$}],!$.every(S=>S<=0)){var T,M;const S=(((T=r.flip)==null?void 0:T.index)||0)+1,W=C[S];if(W&&(!(l==="alignment"?v!==H(W):!1)||O.every(A=>H(A.placement)===v?A.overflows[0]>0:!0)))return{data:{index:S,overflows:O},reset:{placement:W}};let E=(M=O.filter(k=>k.overflows[0]<=0).sort((k,A)=>k.overflows[1]-A.overflows[1])[0])==null?void 0:M.placement;if(!E)switch(a){case"bestFit":{var L;const k=(L=O.filter(A=>{if(R){const B=H(A.placement);return B===v||B==="y"}return!0}).map(A=>[A.placement,A.overflows.filter(B=>B>0).reduce((B,U)=>B+U,0)]).sort((A,B)=>A[1]-B[1])[0])==null?void 0:L[0];k&&(E=k);break}case"initialPlacement":E=c;break}if(i!==E)return{reset:{placement:E}}}return{}}}};function Tt(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function Mt(t){return te.some(e=>t[e]>=0)}const he=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n,platform:o}=e,{strategy:i="referenceHidden",...r}=I(t,e);switch(i){case"referenceHidden":{const s=await o.detectOverflow(e,{...r,elementContext:"reference"}),c=Tt(s,n.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:Mt(c)}}}case"escaped":{const s=await o.detectOverflow(e,{...r,altBoundary:!0}),c=Tt(s,n.floating);return{data:{escapedOffsets:c,escaped:Mt(c)}}}default:return{}}}}};function _t(t){const e=z(...t.map(r=>r.left)),n=z(...t.map(r=>r.top)),o=F(...t.map(r=>r.right)),i=F(...t.map(r=>r.bottom));return{x:e,y:n,width:o-e,height:i-n}}function ge(t){const e=t.slice().sort((i,r)=>i.y-r.y),n=[];let o=null;for(let i=0;i<e.length;i++){const r=e[i];!o||r.y-o.y>o.height/2?n.push([r]):n[n.length-1].push(r),o=r}return n.map(i=>tt(_t(i)))}const pe=function(t){return t===void 0&&(t={}),{name:"inline",options:t,async fn(e){const{placement:n,elements:o,rects:i,platform:r,strategy:s}=e,{padding:c=2,x:u,y:d}=I(t,e),f=Array.from(await(r.getClientRects==null?void 0:r.getClientRects(o.reference))||[]),l=ge(f),m=tt(_t(f)),a=Ct(c);function h(){if(l.length===2&&l[0].left>l[1].right&&u!=null&&d!=null)return l.find(p=>u>p.left-a.left&&u<p.right+a.right&&d>p.top-a.top&&d<p.bottom+a.bottom)||m;if(l.length>=2){if(H(n)==="y"){const O=l[0],T=l[l.length-1],M=j(n)==="top",L=O.top,S=T.bottom,W=M?O.left:T.left,E=M?O.right:T.right,k=E-W,A=S-L;return{top:L,bottom:S,left:W,right:E,width:k,height:A,x:W,y:L}}const p=j(n)==="left",w=F(...l.map(O=>O.right)),v=z(...l.map(O=>O.left)),y=l.filter(O=>p?O.left===v:O.right===w),x=y[0].top,b=y[y.length-1].bottom,R=v,C=w,D=C-R,$=b-x;return{top:x,bottom:b,left:R,right:C,width:D,height:$,x:R,y:x}}return m}const g=await r.getElementRects({reference:{getBoundingClientRect:h},floating:o.floating,strategy:s});return i.reference.x!==g.reference.x||i.reference.y!==g.reference.y||i.reference.width!==g.reference.width||i.reference.height!==g.reference.height?{reset:{rects:g}}:{}}}},Vt=new Set(["left","top"]);async function we(t,e){const{placement:n,platform:o,elements:i}=t,r=await(o.isRTL==null?void 0:o.isRTL(i.floating)),s=j(n),c=nt(n),u=H(n)==="y",d=Vt.has(s)?-1:1,f=r&&u?-1:1,l=I(e,t);let{mainAxis:m,crossAxis:a,alignmentAxis:h}=typeof l=="number"?{mainAxis:l,crossAxis:0,alignmentAxis:null}
vendor: 3,225 bytes, line 1
1:{mainAxis:l.mainAxis||0,crossAxis:l.crossAxis||0,alignmentAxis:l.alignmentAxis};return c&&typeof h=="number"&&(a=c==="end"?h*-1:h),u?{x:a*f,y:m*d}:{x:m*d,y:a*f}}const xe=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:i,y:r,placement:s,middlewareData:c}=e,u=await we(e,t);return s===((n=c.offset)==null?void 0:n.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:i+u.x,y:r+u.y,data:{...u,placement:s}}}}},ye=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:i,platform:r}=e,{mainAxis:s=!0,crossAxis:c=!1,limiter:u={fn:w=>{let{x:v,y}=w;return{x:v,y}}},...d}=I(t,e),f={x:n,y:o},l=await r.detectOverflow(e,d),m=H(j(i)),a=Rt(m);let h=f[a],g=f[m];if(s){const w=a==="y"?"top":"left",v=a==="y"?"bottom":"right",y=h+l[w],x=h-l[v];h=xt(y,h,x)}if(c){const w=m==="y"?"top":"left",v=m==="y"?"bottom":"right",y=g+l[w],x=g-l[v];g=xt(y,g,x)}const p=u.fn({...e,[a]:h,[m]:g});return{...p,data:{x:p.x-n,y:p.y-o,enabled:{[a]:s,[m]:c}}}}}},ve=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:o,placement:i,rects:r,middlewareData:s}=e,{offset:c=0,mainAxis:u=!0,crossAxis:d=!0}=I(t,e),f={x:n,y:o},l=H(i),m=Rt(l);let a=f[m],h=f[l];const g=I(c,e),p=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(u){const y=m==="y"?"height":"width",x=r.reference[m]-r.floating[y]+p.mainAxis,b=r.reference[m]+r.reference[y]-p.mainAxis;a<x?a=x:a>b&&(a=b)}if(d){var w,v;const y=m==="y"?"width":"height",x=Vt.has(j(i)),b=r.reference[l]-r.floating[y]+(x&&((w=s.offset)==null?void 0:w[l])||0)+(x?0:p.crossAxis),R=r.reference[l]+r.reference[y]+(x?0:((v=s.offset)==null?void 0:v[l])||0)-(x?p.crossAxis:0);h<b?h=b:h>R&&(h=R)}return{[m]:a,[l]:h}}}},be=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,o;const{placement:i,rects:r,platform:s,elements:c}=e,{apply:u=()=>{},...d}=I(t,e),f=await s.detectOverflow(e,d),l=j(i),m=nt(i),a=H(i)==="y",{width:h,height:g}=r.floating;let p,w;l==="top"||l==="bottom"?(p=l,w=m===(await(s.isRTL==null?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(w=l,p=m==="end"?"top":"bottom");const v=g-f.top-f.bottom,y=h-f.left-f.right,x=z(g-f[p],v),b=z(h-f[w],y),R=!e.middlewareData.shift;let C=x,D=b;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(D=y),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(C=v),R&&!m){const O=F(f.left,0),T=F(f.right,0),M=F(f.top,0),L=F(f.bottom,0);a?D=h-2*(O!==0||T!==0?O+T:F(f.left,f.right)):C=g-2*(M!==0||L!==0?M+L:F(f.top,f.bottom))}await u({...e,availableWidth:D,availableHeight:C});const $=await s.getDimensions(c.floating);return h!==$.width||g!==$.height?{reset:{rects:!0}}:{}}}};function zt(t){const e=V(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const i=q(t),r=i?t.offsetWidth:n,s=i?t.offsetHeight:o,c=ct(n)!==r||ct(o)!==s;return c&&(n=r,o=s),{width:n,height:o,$:c}}function St(t){return _(t)?t:t.contextElement}function Q(t){const e=St(t);if(!q(e))return X(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:r}=zt(e);let s=(r?ct(n.width):n.width)/o,c=(r?ct(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const Re=X(0);function jt(t){const e=N(t);
vendor: 10,024 bytes, line 1
1return!bt()||!e.visualViewport?Re:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Ae(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==N(t)?!1:e}function J(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),r=St(t);let s=X(1);e&&(o?_(o)&&(s=Q(o)):s=Q(t));const c=Ae(r,n,o)?jt(r):X(0);let u=(i.left+c.x)/s.x,d=(i.top+c.y)/s.y,f=i.width/s.x,l=i.height/s.y;if(r){const m=N(r),a=o&&_(o)?N(o):o;let h=m,g=wt(h);for(;g&&o&&a!==h;){const p=Q(g),w=g.getBoundingClientRect(),v=V(g),y=w.left+(g.clientLeft+parseFloat(v.paddingLeft))*p.x,x=w.top+(g.clientTop+parseFloat(v.paddingTop))*p.y;u*=p.x,d*=p.y,f*=p.x,l*=p.y,u+=y,d+=x,h=N(g),g=wt(h)}}return tt({width:f,height:l,x:u,y:d})}function mt(t,e){const n=dt(t).scrollLeft;return e?e.left+n:J(Y(t)).left+n}function Xt(t,e){const n=t.getBoundingClientRect(),o=n.left+e.scrollLeft-mt(t,n),i=n.top+e.scrollTop;return{x:o,y:i}}function Oe(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t;const r=i==="fixed",s=Y(o),c=e?ut(e.floating):!1;if(o===s||c&&r)return n;let u={scrollLeft:0,scrollTop:0},d=X(1);const f=X(0),l=q(o);if((l||!l&&!r)&&((et(o)!=="body"||it(s))&&(u=dt(o)),l)){const a=J(o);d=Q(o),f.x=a.x+o.clientLeft,f.y=a.y+o.clientTop}const m=s&&!l&&!r?Xt(s,u):X(0);return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-u.scrollLeft*d.x+f.x+m.x,y:n.y*d.y-u.scrollTop*d.y+f.y+m.y}}function Ce(t){return Array.from(t.getClientRects())}function Se(t){const e=Y(t),n=dt(t),o=t.ownerDocument.body,i=F(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),r=F(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+mt(t);const c=-n.scrollTop;return V(o).direction==="rtl"&&(s+=F(e.clientWidth,o.clientWidth)-i),{width:i,height:r,x:s,y:c}}const kt=25;function Ee(t,e){const n=N(t),o=Y(t),i=n.visualViewport;let r=o.clientWidth,s=o.clientHeight,c=0,u=0;if(i){r=i.width,s=i.height;const f=bt();(!f||f&&e==="fixed")&&(c=i.offsetLeft,u=i.offsetTop)}const d=mt(o);if(d<=0){const f=o.ownerDocument,l=f.body,m=getComputedStyle(l),a=f.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,h=Math.abs(o.clientWidth-l.clientWidth-a);h<=kt&&(r-=h)}else d<=kt&&(r+=d);return{width:r,height:s,x:c,y:u}}function Le(t,e){const n=J(t,!0,e==="fixed"),o=n.top+t.clientTop,i=n.left+t.clientLeft,r=q(t)?Q(t):X(1),s=t.clientWidth*r.x,c=t.clientHeight*r.y,u=i*r.x,d=o*r.y;return{width:s,height:c,x:u,y:d}}function Ft(t,e,n){let o;if(e==="viewport")o=Ee(t,n);else if(e==="document")o=Se(Y(t));else if(_(e))o=Le(e,n);else{const i=jt(t);o={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return tt(o)}function It(t,e){const n=K(t);return n===e||!_(n)||Z(n)?!1:V(n).position==="fixed"||It(n,e)}function Pe(t,e){const n=e.get(t);if(n)return n;let o=ot(t,[],!1).filter(c=>_(c)&&et(c)!=="body"),i=null;const r=V(t).position==="fixed";let s=r?K(t):t;for(;_(s)&&!Z(s);){const c=V(s),u=vt(s);!u&&c.position==="fixed"&&(i=null),(r?!u&&!i:!u&&c.position==="static"&&!!i&&(i.position==="absolute"||i.position==="fixed")||it(s)&&!u&&It(t,s))?o=o.filter(f=>f!==s):i=c,s=K(s)}return e.set(t,o),o}function De(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t;const s=[...n==="clippingAncestors"?ut(e)?[]:Pe(e,this._c):[].concat(n),o],c=Ft(e,s[0],i);let u=c.top,d=c.right,f=c.bottom,l=c.left;for(let m=1;m<s.length;m++){const a=Ft(e,s[m],i);u=F(a.top,u),d=z(a.right,d),f=z(a.bottom,f),l=F(a.left,l)}return{width:d-l,height:f-u,x:l,y:u}}function Te(t){const{width:e,height:n}=zt(t);return{width:e,height:n}}function Me(t,e,n){const o=q(e),i=Y(e),r=n==="fixed",s=J(t,!0,r,e);let c={scrollLeft:0,scrollTop:0};const u=X(0);function d(){u.x=mt(i)}if(o||!o&&!r)if((et(e)!=="body"||it(i))&&(c=dt(e)),o){const a=J(e,!0,r,e);u.x=a.x+e.clientLeft,u.y=a.y+e.clientTop}else i&&d();r&&!o&&i&&d();const f=i&&!o&&!r?Xt(i,c):X(0),l=s.left+c.scrollLeft-u.x-f.x,m=s.top+c.scrollTop-u.y-f.y;return{x:l,y:m,width:s.width,height:s.height}}function gt(t){return V(t).position==="static"}function $t(t,e){if(!q(t)||V(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return Y(t)===n&&(n=n.ownerDocument.body),n}function Yt(t,e){const n=N(t);if(ut(t))return n;if(!q(t)){let i=K(t);for(;i&&!Z(i);){if(_(i)&&!gt(i))return i;i=K(i)}return n}let o=$t(t,e);for(;o&&Gt(o)&>(o);)o=$t(o,e);return o&&Z(o)&>(o)&&!vt(o)?n:o||Zt(t)||n}const ke=async function(t){const e=this.getOffsetParent||Yt,n=this.getDimensions,o=await n(t.floating);return{reference:Me(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Fe(t){return V(t).direction==="rtl"}const $e={convertOffsetParentRelativeRectToViewportRelativeRect:Oe,getDocumentElement:Y,getClippingRect:De,getOffsetParent:Yt,getElementRects:ke,getClientRects:Ce,getDimensions:Te,getScale:Q,isElement:_,isRTL:Fe};function qt(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function We(t,e){let n=null,o;const i=Y(t);function r(){var c;clearTimeout(o),(c=n)==null||c.disconnect(),n=null}function s(c,u){c===void 0&&(c=!1),u===void 0&&(u=1),r();const d=t.getBoundingClientRect(),{left:f,top:l,width:m,height:a}=d;if(c||e(),!m||!a)return;const h=rt(l),g=rt(i.clientWidth-(f+m)),p=rt(i.clientHeight-(l+a)),w=rt(f),y={rootMargin:-h+"px "+-g+"px "+-p+"px "+-w+"px",threshold:F(0,z(1,u))||1};let x=!0;function b(R){const C=R[0].intersectionRatio;if(C!==u){if(!x)return s();C?s(!1,C):o=setTimeout(()=>{s(!1,1e-7)},1e3)}C===1&&!qt(d,t.getBoundingClientRect())&&s(),x=!1}try{n=new IntersectionObserver(b,{...y,root:i.ownerDocument})}catch{n=new IntersectionObserver(b,y)}n.observe(t)}return s(!0),r}function Ke(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:u=!1}=o,d=St(t),f=i||r?[...d?ot(d):[],...e?ot(e):[]]:[];f.forEach(w=>{i&&w.addEventListener("scroll",n,{passive:!0}),r&&w.addEventListener("resize",n)});const l=d&&c?We(d,n):null;let m=-1,a=null;s&&(a=new ResizeObserver(w=>{let[v]=w;v&&v.target===d&&a&&e&&(a.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var y;(y=a)==null||y.observe(e)})),n()}),d&&!u&&a.observe(d),e&&a.observe(e));let h,g=u?J(t):null;u&&p();function p(){const w=J(t);g&&!qt(g,w)&&n(),g=w,h=requestAnimationFrame(p)}return n(),()=>{var w;f.forEach(v=>{i&&v.removeEventListener("scroll",n),r&&v.removeEventListener("resize",n)}),l==null||l(),(w=a)==null||w.disconnect(),a=null,u&&cancelAnimationFrame(h)}}const Be=xe,Ne=ye,He=me,_e=be,Ve=he,Wt=de,ze=pe,je=ve,Xe=(t,e,n)=>{const o=new Map,i={platform:$e,...n},r={...i.platform,_c:o};return ue(t,e,{...i,platform:r})};var Ie=typeof document<"u",Ye=function(){},st=Ie?P.useLayoutEffect:Ye;function ft(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let n,o,i;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(o=n;o--!==0;)if(!ft(t[o],e[o]))return!1;return!0}if(i=Object.keys(t),n=i.length,n!==Object.keys(e).length)return!1;for(o=n;o--!==0;)if(!{}.hasOwnProperty.call(e,i[o]))return!1;for(o=n;o--!==0;){const r=i[o];if(!(r==="_owner"&&t.$$typeof)&&!ft(t[r],e[r]))return!1}return!0}return t!==t&&e!==e}function Ut(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function Bt(t,e){const n=Ut(t);return Math.round(e*n)/n}function pt(t){const e=P.useRef(t);return st(()=>{e.current=t}),e}function Ge(t){t===void 0&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:o=[],platform:i,elements:{reference:r,floating:s}={},transform:c=!0,whileElementsMounted:u,open:d}=t,[f,l]=P.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[m,a]=P.useState(o);ft(m,o)||a(o);const[h,g]=P.useState(null),[p,w]=P.useState(null),v=P.useCallback(A=>{A!==R.current&&(R.current=A,g(A))},[]),y=P.useCallback(A=>{A!==C.current&&(C.current=A,w(A))},[]),x=r||h,b=s||p,R=P.useRef(null),C=P.useRef(null),D=P.useRef(f),$=u!=null,O=pt(u),T=pt(i),M=pt(d),L=P.useCallback(()=>{if(!R.current||!C.current)return;const A={placement:e,strategy:n,middleware:m};T.current&&(A.platform=T.current),Xe(R.current,C.current,A).then(B=>{const U={...B,isPositioned:M.current!==!1};S.current&&!ft(D.current,U)&&(D.current=U,Kt.flushSync(()=>{l(U)}))})},[m,e,n,T,M]);st(()=>{d===!1&&D.current.isPositioned&&(D.current.isPositioned=!1,l(A=>({...A,isPositioned:!1})))},[d]);const S=P.useRef(!1);st(()=>(S.current=!0,()=>{S.current=!1}),[]),st(()=>{if(x&&(R.current=x),b&&(C.current=b),x&&b){if(O.current)return O.current(x,b,L);L()}},[x,b,L,O,$]);const W=P.useMemo(()=>({reference:R,floating:C,setReference:v,setFloating:y}),[v,y]),E=P.useMemo(()=>({reference:x,floating:b}),[x,b]),k=P.useMemo(()=>{const A={position:n,left:0,top:0};if(!E.floating)return A;const B=Bt(E.floating,f.x),U=Bt(E.floating,f.y);return c?{...A,transform:"translate("+B+"px, "+U+"px)",...Ut(E.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:B,top:U}},[n,c,E.floating,f.x,f.y]);return P.useMemo(()=>({...f,update:L,refs:W,elements:E,floatingStyles:k}),[f,L,W,E,k])}const qe=t=>{function e(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:t,fn(n){const{element:o,padding:i}=typeof t=="function"?t(n):t;return o&&e(o)?o.current!=null?Wt({element:o.current,padding:i}).fn(n):{}:o?Wt({element:o,padding:i}).fn(n):{}}}},Je=(t,e)=>{const n=Be(t);return{name:n.name,fn:n.fn,options:[t,e]}},Qe=(t,e)=>{const n=Ne(t);return{name:n.name,fn:n.fn,options:[t,e]}},Ze=(t,e)=>({fn:je(t).fn,options:[t,e]}),tn=(t,e)=>{const n=He(t);return{name:n.name,fn:n.fn,options:[t,e]}},en=(t,e)=>{const n=_e(t);return{name:n.name,fn:n.fn,options:[t,e]}},nn=(t,e)=>{const n=Ve(t);return{name:n.name,fn:n.fn,options:[t,e]}},on=(t,e)=>{const n=ze(t);return{name:n.name,fn:n.fn,options:[t,e]}},rn=(t,e)=>{const n=qe(t);return{name:n.name,fn:n.fn,options:[t,e]}};export{en as a,rn as b,Ke as c,_ as d,tn as f,nn as h,on as i,Ze as l,Je as o,Qe as s,Ge as u};
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.