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