vendor: 1,080 bytes, line 1
1import{E as e,a as t,b as n,l as r,t as i}from"./BSvvKGqq.js";import{Ht as a,L as o,On as s,Q as c,Ut as l,Wt as u,Xt as d,an as f,b as p,bn as m,ct as h,er as g,et as _,ft as v,g as y,jn as b,k as x,mt as S,pn as C,qt as w,v as T,vn as E,wn as D,xn as O,xt as k}from"./Car86Ubo.js";import{a as A}from"./BjrJAAZP.js";import{t as ee}from"./C-hWTOsa.js";var j=0;function te(){l(e=>{if(!n)return;let t=document.querySelectorAll(`[data-reka-focus-guard]`);document.body.insertAdjacentElement(`afterbegin`,t[0]??ne()),document.body.insertAdjacentElement(`beforeend`,t[1]??ne()),j++,e(()=>{j===1&&document.querySelectorAll(`[data-reka-focus-guard]`).forEach(e=>e.remove()),j--})})}function ne(){let e=document.createElement(`span`);return e.setAttribute(`data-reka-focus-guard`,``),e.tabIndex=0,e.style.outline=`none`,e.style.opacity=`0`,e.style.position=`fixed`,e.style.pointerEvents=`none`,e}function re(e){let t=o(),n=Object.keys(t?.type.props??{}).reduce((e,n)=>{let r=(t?.type.props[n]).default;return r!==void 0&&(e[n]=r),e},{}),r=D(e);return y(()=>{let e={},i=t?.vnode.props??{};
1return Object.keys(i).forEach(t=>{e[b(t)]=i[t]}),Object.keys({...n,...e}).reduce((e,t)=>(r.value[t]!==void 0&&(e[t]=r.value[t]),e),{})})}function M(e,t){let n=re(e),r=t?A(t):{};return y(()=>({...n.value,...r}))}function ie(e){let t=E(),n=y(()=>t.value?.width??0),i=y(()=>t.value?.height??0),a;return h(()=>{let n=r(e);n?(t.value={width:n.offsetWidth,height:n.offsetHeight},a=new ResizeObserver(e=>{if(!Array.isArray(e)||!e.length)return;let r=e[0],i,a;if(`borderBoxSize`in r){let e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e;i=t.inlineSize,a=t.blockSize}else i=n.offsetWidth,a=n.offsetHeight;t.value={width:i,height:a}}),a.observe(n,{box:`border-box`})):t.value=void 0}),v(()=>{a?.disconnect(),a=void 0}),{width:n,height:i}}var[ae,N]=e(`PopperRoot`),oe=x({inheritAttrs:!1,__name:`PopperRoot`,setup(e){let t=E();return N({anchor:t,onAnchorChange:e=>t.value=e}),(e,t)=>k(e.$slots,`default`)}}),P=x({__name:`PopperAnchor`,props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let n=e,{forwardRef:r,currentElement:a}=t(),o=ae();return u(()=>{o.onAnchorChange(n.reference??a.value)}),(e,t)=>(S(),T(s(i),{ref:s(r),as:e.as,"as-child":e.asChild},{default:w(()=>[k(e.$slots,`default`)]),_:3},8,[`as`,`as-child`]))}});function se(e){return e!==null}function ce(e){return{name:`transformOrigin`,options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,a=i.arrow?.centerOffset!==0,o=a?0:e.arrowWidth,s=a?0:e.arrowHeight,[c,l]=le(n),u={start:e.dir===`rtl`?`100%`:`0%`,center:`50%`,end:e.dir===`rtl`?`0%`:`100%`}[l],d={start:`0%`,center:`50%`,end:`100%`}[l],f=(i.arrow?.x??0)+o/2,p=(i.arrow?.y??0)+s/2,m=``,h=``;return c===`bottom`?(m=a?u:`${f}px`,h=`${-s}px`):c===`top`?(m=a?u:`${f}px`,h=`${r.floating.height+s}px`):c===`right`?(m=`${-s}px`,h=a?d:`${p}px`):c===`left`&&(m=`${r.floating.width+s}px`,h=a?d:`${p}px`),{data:{x:m,y:h}}}}}function le(e){let[t,n=`center`]=e.split(`-`);return[t,n]}var ue=[`top`,`right`,`bottom`,`left`],F=Math.min,I=Math.max,de=Math.round,fe=Math.floor,L=e=>({x:e,y:e}),pe={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function me(e,t,n){return I(e,F(t,n))}function R(e,t){return typeof e==`function`?e(t):e}function z(e){return e.split(`-`)[0]}function B(e){return e.split(`-`)[1]}function he(e){return e===`x`?`y`:`x`}function ge(e){return e===`y`?`height`:`width`}function V(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function _e(e){return he(V(e))}function ve(e,t,n){n===void 0&&(n=!1);let r=B(e),i=_e(e),a=ge(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=De(o)),[o,De(o)]}function ye(e){let t=De(e);return[be(e),t,be(t)]}function be(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var xe=[`left`,`right`],Se=[`right`,`left`],Ce=[`top`,`bottom`],we=[`bottom`,`top`];function Te(e,t,n){switch(e){case`top`:case`bottom`:return n?t?Se:xe:t?xe:Se;case`left`:case`right`:return t?Ce:we;default:return[]}}function Ee(e,t,n,r){let i=B(e),a=Te(z(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(be)))),a}function De(e){let t=z(e);return pe[t]+e.slice(t.length)}function Oe(e){return{top:e.top??0,right:e.right??0,bottom:e.bottom??0,left:e.left??0}}function ke(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:Oe(e)}function Ae(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function je(e,t,n){let{reference:r,floating:i}=e,a=V(t),o=_e(t),s=ge(o),c=z(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}let m=B(t);return m&&(p[o]+=f*(m===`end`?1:-1)*(n&&l?-1:1)),p}async function Me(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=R(t,e),p=ke(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=Ae(await i.getClippingRect
vendor: 4,601 bytes, line 1
1({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=Ae(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}var Ne=50,Pe=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:Me},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=je(l,r,c),f=r,p=0,m={};for(let n=0;n<a.length;n++){let h=a[n];if(!h)continue;let{name:g,fn:_}=h,{x:v,y,data:b,reset:x}=await _({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:m,rects:l,platform:s,elements:{reference:e,floating:t}});u=v??u,d=y??d,m[g]={...m[g],...b},x&&p<Ne&&(p++,typeof x==`object`&&(x.placement&&(f=x.placement),x.rects&&(l=x.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:d}=je(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}},Fe=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=R(e,t)||{};if(l==null)return{};let d=ke(u),f={x:n,y:r},p=_e(i),m=ge(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],x=f[p]-a.reference[p],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l)),C=S?S[y]:0;(!C||!await(o.isElement==null?void 0:o.isElement(S)))&&(C=s.floating[y]||a.floating[m]);let w=b/2-x/2,T=C/2-h[m]/2-1,E=F(d[_],T),D=F(d[v],T),O=C-h[m]-D,k=C/2-h[m]/2+w,A=me(E,k,O),ee=!c.arrow&&B(i)!=null&&k!==A&&a.reference[m]/2-(k<E?E:D)-h[m]/2<0,j=ee?k<E?k-E:k-O:0;return{[p]:f[p]+j,data:{[p]:A,centerOffset:k-A-j,...ee&&{alignmentOffset:j}},reset:ee}}}),Ie=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=R(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=z(r),_=V(o),v=z(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[De(o)]:ye(o)),x=p!==`none`;!d&&x&&b.push(...Ee(o,m,p,y));let S=[o,...b],C=await s.detectOverflow(t,h),w=[],T=i.flip?.overflows||[];if(l&&w.push(C[g]),u){let e=ve(r,a,y);w.push(C[e[0]],C[e[1]])}if(T=[...T,{placement:r,overflows:w}],!w.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=S[e];if(t&&(u!==`alignment`||_===V(t)||T.every(e=>V(e.placement)!==_||e.overflows[0]>0)))return{data:{index:e,overflows:T},reset:{placement:t}};let n=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=T.filter(e=>{if(x){let t=V(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o}if(r!==n)return{reset:{placement:n}}}return{}}}};function Le(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Re(e){return ue.some(t=>e[t]>=0)}var ze=function(e){return e===void 0&&(e={}),{name:`hide`,options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:i=`referenceHidden`,...a}=R(e,t);switch(i){case`referenceHidden`:{let e=Le(await r.detectOverflow(t,{...a,elementContext:`reference`}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:Re(e)}}}case`escaped`:{let e=Le(await r.detectOverflow(t,{...a,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:Re(e)}}}default:return{}}}}},Be=new Set([`left`,`top`]);async function Ve(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=z(n),s=B(n),c=V(n)===`y`,l=Be.has(o)?-1:1,u=a&&c?-1:1,d=R(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}
1:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var He=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await Ve(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},Ue=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=R(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=V(i),p=he(f),m=u[p],h=u[f],g=(e,t)=>me(t+d[e===`y`?`top`:`left`],t,t-d[e===`y`?`bottom`:`right`]);o&&(m=g(p,m)),s&&(h=g(f,h));let _=c.fn({...t,[p]:m,[f]:h});return{..._,data:{x:_.x-n,y:_.y-r,enabled:{[p]:o,[f]:s}}}}}},We=function(e){return e===void 0&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:c=!0,crossAxis:l=!0}=R(e,t),u={x:n,y:r},d=V(i),f=he(d),p=u[f],m=u[d],h=R(s,t),g=typeof h==`number`?{mainAxis:h,crossAxis:0}:{mainAxis:h.mainAxis??0,crossAxis:h.crossAxis??0};if(c){let e=f===`y`?`height`:`width`,t=a.reference[f]-a.floating[e]+g.mainAxis,n=a.reference[f]+a.reference[e]-g.mainAxis;p<t?p=t:p>n&&(p=n)}if(l){let e=f===`y`?`width`:`height`,t=Be.has(z(i)),n=a.reference[d]-a.floating[e]+(t&&o.offset?.[d]||0)+(t?0:g.crossAxis),r=a.reference[d]+a.reference[e]+(t?0:o.offset?.[d]||0)-(t?g.crossAxis:0);m<n?m=n:m>r&&(m=r)}return{[f]:p,[d]:m}}}},Ge=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){let{placement:n,rects:r,platform:i,elements:a}=t,{apply:o=()=>{},...s}=R(e,t),c=await i.detectOverflow(t,s),l=z(n),u=B(n),d=V(n)===`y`,{width:f,height:p}=r.floating,m,h;l===`top`||l===`bottom`?(m=l,h=u===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?`start`:`end`)?`left`:`right`):(h=l,m=u===`end`?`top`:`bottom`);let g=p-c.top-c.bottom,_=f-c.left-c.right,v=F(p-c[m],g),y=F(f-c[h],_),b=t.middlewareData.shift,x=!b,S=v,C=y;b!=null&&b.enabled.x&&(C=_),b!=null&&b.enabled.y&&(S=g),x&&!u&&(d?C=f-2*I(c.left,c.right):S=p-2*I(c.top,c.bottom)),await o({...t,availableWidth:C,availableHeight:S});let w=await i.getDimensions(a.floating);return f!==w.width||p!==w.height?{reset:{rects:!0}}:{}}}};function Ke(){return typeof window<`u`}function H(e){return qe(e)?(e.nodeName||``).toLowerCase():`#document`}function U(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function W(e){return((qe(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function qe(e){return Ke()?e instanceof Node||e instanceof U(e).Node:!1}function G(e){return Ke()?e instanceof Element||e instanceof U(e).Element:!1}function K(e){return Ke()?e instanceof HTMLElement||e instanceof U(e).HTMLElement:!1}function Je(e){return!Ke()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof U(e).ShadowRoot}function Ye(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=Y(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function Xe(e){return/^(table|td|th)$/.test(H(e))}function Ze(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var Qe=/transform|translate|scale|rotate|perspective|filter/,$e=/paint|layout|strict|content/,q=e=>!!e&&e!==`none`,et;function tt(e){let t=G(e)?Y(e):e;return q(t.transform)||q(t.translate)||q(t.scale)||q(t.rotate)||q(t.perspective)||!rt()&&(q(t.backdropFilter)||q(t.filter))||Qe.test(t.willChange||``)||$e.test(t.contain||``)}function nt(e){let t=X(e);for(;K(t)&&!J(t);){if(tt(t))return t;if(Ze(t))return null;t=X(t)}return null}function rt(){return et??=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`),et}function J(e){return/^(html|body|#document)$/.test(H(e))}function Y(e){return U(e).getComputedStyle(e)}function it(e){return G(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function X(e){if(H(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||Je(e)&&e.host||W(e);return Je(t)?t.host:t}function at(e){let t=X(e);return J(t)?(e.ownerDocument||e).body:K(t)&&Ye(t)?t:at(t)}function ot(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=at(e),i=r===e.ownerDocument?.body,a=U(r);if(i){let e=st(a);
vendor: 4,183 bytes, line 1
1return t.concat(a,a.visualViewport||[],Ye(r)?r:[],e&&n?ot(e):[])}return t.concat(r,ot(r,[],n))}function st(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ct(e){let t=Y(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=K(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=de(n)!==a||de(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function lt(e){return G(e)?e:e.contextElement}function Z(e){let t=lt(e);if(!K(t))return L(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=ct(t),o=(a?de(n.width):n.width)/r,s=(a?de(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var ut=L(0);function dt(e){let t=U(e);return!rt()||!t.visualViewport?ut:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function ft(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===U(e)}function Q(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=lt(e),o=L(1);t&&(r?G(r)&&(o=Z(r)):o=Z(e));let s=ft(a,n,r)?dt(a):L(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a&&r){let e=U(a),t=G(r)?U(r):r,n=e,i=st(n);for(;i&&t!==n;){let e=Z(i),t=i.getBoundingClientRect(),r=Y(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=U(i),i=st(n)}}return Ae({width:u,height:d,x:c,y:l})}function pt(e,t){let n=it(e).scrollLeft;return t?t.left+n:Q(W(e)).left+n}function mt(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-pt(e,n),y:n.top+t.scrollTop}}function ht(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=W(r),s=t?Ze(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=L(1),u=L(0),d=K(r);if((d||!a)&&((H(r)!==`body`||Ye(o))&&(c=it(r)),d)){let e=Q(r);l=Z(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?mt(o,c):L(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function gt(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function _t(e){let t=it(e),n=e.ownerDocument.body,r=I(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=I(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),a=-t.scrollLeft+pt(e),o=-t.scrollTop;return Y(n).direction===`rtl`&&(a+=I(e.clientWidth,n.clientWidth)-r),{width:r,height:i,x:a,y:o}}var vt=25;function yt(e,t,n){n===void 0&&(n=`viewport`);let r=n===`layoutViewport`,i=U(e),a=W(e),o=i.visualViewport,s=a.clientWidth,c=a.clientHeight,l=0,u=0;if(o){let e=!rt()||t===`fixed`;r?e||(l=-o.offsetLeft,u=-o.offsetTop):(s=o.width,c=o.height,e&&(l=o.offsetLeft,u=o.offsetTop))}if(pt(a)<=0){let e=a.ownerDocument,t=e.body,n=getComputedStyle(t),r=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(a.clientWidth-t.clientWidth-r),o=getComputedStyle(a).scrollbarGutter===`stable both-edges`?i/2:i;o<=vt&&(s-=o)}return{width:s,height:c,x:l,y:u}}function bt(e,t){let n=Q(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=Z(e);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function xt(e,t,n){let r;if(t===`viewport`||t===`layoutViewport`)r=yt(e,n,t);else if(t===`document`)r=_t(W(e));else if(G(t))r=bt(t,n);else{let n=dt(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return Ae(r)}function St(e,t){let n=t.get(e);if(n)return n;let r=ot(e,[],!1).filter(e=>G(e)&&H(e)!==`body`),i=null,a=Y(e).position===`fixed`,o=a?X(e):e;for(;G(o)&&!J(o);){let e=Y(o),t=tt(o),n=i?i.position:a?`fixed`:``;!t&&(n===`fixed`||n===`absolute`&&e.position===`static`)?r=r.filter(e=>e!==o):i=e,o=X(o)}return t.set(e,r),r}function Ct(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?Ze(t)?[]:St(t,this._c):[].concat(n),r],o=xt(t,a[0],i),s=o.top,c=o.right,l=o.bottom,u=o.left;for(let e=1;e<a.length;e++){let n=xt(t,a[e],i);s=I(n.top,s),c=F(n.right,c),l=F(n.bottom,l),u=I(n.left,u)}return{width:c-u,height:l-s,x:u,y:s}}function wt(e){let{width:t,height:n}=ct(e);return{width:t,height:n}}function Tt(e,t,n){let r=K(t),i=W(t),a=n===`fixed`,o=Q(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=L(0);
1if((r||!a)&&((H(t)!==`body`||Ye(i))&&(s=it(t)),r)){let e=Q(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}!r&&i&&(c.x=pt(i));let l=i&&!r&&!a?mt(i,s):L(0);return{x:o.left+s.scrollLeft-c.x-l.x,y:o.top+s.scrollTop-c.y-l.y,width:o.width,height:o.height}}function Et(e){return Y(e).position===`static`}function Dt(e,t){if(!K(e)||Y(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return W(e)===n&&(n=n.ownerDocument.body),n}function Ot(e,t){let n=U(e);if(Ze(e))return n;if(!K(e)){let t=X(e);for(;t&&!J(t);){if(G(t)&&!Et(t))return t;t=X(t)}return n}let r=Dt(e,t);for(;r&&Xe(r)&&Et(r);)r=Dt(r,t);return r&&J(r)&&Et(r)&&!tt(r)?n:r||nt(e)||n}var kt=async function(e){let t=this.getOffsetParent||Ot,n=this.getDimensions,r=await n(e.floating);return{reference:Tt(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function At(e){return Y(e).direction===`rtl`}var jt={convertOffsetParentRelativeRectToViewportRelativeRect:ht,getDocumentElement:W,getClippingRect:Ct,getOffsetParent:Ot,getElementRects:kt,getClientRects:gt,getDimensions:wt,getScale:Z,isElement:G,isRTL:At};function Mt(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Nt(e,t,n){let r=null,i,a=W(e);function o(){var e;clearTimeout(i),(e=r)==null||e.disconnect(),r=null}function s(n,c){n===void 0&&(n=!1),c===void 0&&(c=1),o();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(n||t(),!f||!p)return;let m=fe(d),h=fe(a.clientWidth-(u+f)),g=fe(a.clientHeight-(d+p)),_=fe(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:I(0,F(1,c))||1},y=!0;function b(t){let n=t[0].intersectionRatio;if(!Mt(l,e.getBoundingClientRect()))return s();if(n!==c){if(!y)return s();n?s(!1,n):i=setTimeout(()=>{s(!1,1e-7)},1e3)}y=!1}try{r=new IntersectionObserver(b,{...v,root:a.ownerDocument})}catch{r=new IntersectionObserver(b,v)}r.observe(e)}let c=U(e),l=()=>s(n);return c.addEventListener(`resize`,l),s(!0),()=>{c.removeEventListener(`resize`,l),o()}}function Pt(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=lt(e),u=i||a?[...l?ot(l):[],...t?ot(t):[]]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n),a&&e.addEventListener(`resize`,n)});let d=l&&s?Nt(l,n,a):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),t&&p.observe(t));let m,h=c?Q(e):null;c&&g();function g(){let t=Q(e);h&&!Mt(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var Ft=He,It=Ue,Lt=Ie,Rt=Ge,zt=ze,Bt=Fe,Vt=We,Ht=(e,t,n)=>{let r=new Map,i=n??{},a={...jt,...i.platform,_c:r};return Pe(e,t,{...i,platform:a})};function Ut(e){return typeof e==`object`&&!!e&&`$el`in e}function Wt(e){if(Ut(e)){let t=e.$el;return qe(t)&&H(t)===`#comment`?null:t}return e}function $(e){return typeof e==`function`?e():s(e)}function Gt(e){return{name:`arrow`,options:e,fn(t){let n=Wt($(e.element));return n==null?{}:Bt({element:n,padding:e.padding}).fn(t)}}}function Kt(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function qt(e,t){let n=Kt(e);return Math.round(t*n)/n}function Jt(e,t,n){n===void 0&&(n={});let r=n.whileElementsMounted,i=y(()=>$(n.open)??!0),o=y(()=>$(n.middleware)),s=y(()=>$(n.placement)??`bottom`),c=y(()=>$(n.strategy)??`absolute`),l=y(()=>$(n.transform)??!0),u=y(()=>Wt(e.value)),d=y(()=>Wt(t.value)),p=E(0),h=E(0),g=E(c.value),_=E(s.value),v=O({}),b=E(!1),x=y(()=>{let e={position:g.value,left:`0`,top:`0`};if(!d.value)return e;let t=qt(d.value,p.value),n=qt(d.value,h.value);return l.value?{...e,transform:`translate(`+t+`px, `+n+`px)`,...Kt(d.value)>=1.5&&{willChange:`transform`}}:{position:g.value,left:t+`px`,top:n+`px`}}),S;function w(){if(u.value==null||d.value==null)return;let e=i.value;Ht(u.value,d.value,{middleware:o.value,placement:s.value,strategy:c.value}).then(t=>{p.value=t.x,h.value=t.y,g.value=t.strategy,_.value=t.placement,v.value=t.middlewareData,b.value=e!==!1})}function T(){typeof S==`function`&&(S(),S=void 0)}
1function D(){if(T(),r===void 0){w();return}if(u.value!=null&&d.value!=null){S=r(u.value,d.value,w);return}}function k(){i.value||(b.value=!1)}return a([o,s,c,i],w,{flush:`sync`}),a([u,d],D,{flush:`sync`}),a(i,k,{flush:`sync`}),f()&&C(T),{x:m(p),y:m(h),strategy:m(g),placement:m(_),middlewareData:m(v),isPositioned:m(b),floatingStyles:x,update:w}}var Yt=[`dir`],Xt={side:`bottom`,sideOffset:0,sideFlip:!0,align:`center`,alignOffset:0,alignFlip:!0,arrowPadding:0,hideShiftedArrow:!0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,sticky:`partial`,hideWhenDetached:!1,positionStrategy:`fixed`,updatePositionStrategy:`optimized`,prioritizePosition:!1},[Zt,Qt]=e(`PopperContent`),$t=x({inheritAttrs:!1,__name:`PopperContent`,props:c({memoDependencies:{type:Array,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},dir:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},{...Xt}),emits:[`placed`],setup(e,{emit:n}){let r=e,a=n,o=ae(),{forwardRef:c,currentElement:f}=t(),m=ee(y(()=>r.dir)),h=E(),v=E(),{width:b,height:x}=ie(v),C=y(()=>r.side+(r.align===`center`?``:`-${r.align}`)),D=y(()=>typeof r.collisionPadding==`number`?r.collisionPadding:{top:0,right:0,bottom:0,left:0,...r.collisionPadding}),O=y(()=>Array.isArray(r.collisionBoundary)?r.collisionBoundary:[r.collisionBoundary]),A=y(()=>({padding:D.value,boundary:O.value.filter(se),altBoundary:O.value.length>0})),j=y(()=>({mainAxis:r.sideFlip,crossAxis:r.alignFlip})),te=y(()=>[Ft({mainAxis:r.sideOffset+x.value,alignmentAxis:r.alignOffset}),r.prioritizePosition&&r.avoidCollisions&&Lt({...A.value,...j.value}),r.avoidCollisions&&It({mainAxis:!0,crossAxis:!!r.prioritizePosition,limiter:r.sticky===`partial`?Vt():void 0,...A.value}),!r.prioritizePosition&&r.avoidCollisions&&Lt({...A.value,...j.value}),Rt({...A.value,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:a}=t.reference,o=e.floating.style;o.setProperty(`--reka-popper-available-width`,`${n}px`),o.setProperty(`--reka-popper-available-height`,`${r}px`),o.setProperty(`--reka-popper-anchor-width`,`${i}px`),o.setProperty(`--reka-popper-anchor-height`,`${a}px`)}}),v.value&&Gt({element:v.value,padding:r.arrowPadding}),ce({arrowWidth:b.value,arrowHeight:x.value,dir:m.value}),r.hideWhenDetached&&zt({strategy:`referenceHidden`,...A.value})]),{floatingStyles:ne,placement:re,isPositioned:M,middlewareData:N,update:oe}=Jt(y(()=>r.reference??o.anchor.value),h,{strategy:r.positionStrategy,placement:C,whileElementsMounted:(...e)=>Pt(...e,{layoutShift:!r.disableUpdateOnLayoutShift,animationFrame:r.updatePositionStrategy===`always`}),middleware:te}),P=y(()=>le(re.value)[0]),ue=y(()=>le(re.value)[1]);u(()=>{M.value&&a(`placed`)});let F=y(()=>{let e=N.value.arrow?.centerOffset!==0;return r.hideShiftedArrow&&e}),I=E(``);return l(()=>{f.value&&(I.value=window.getComputedStyle(f.value).zIndex)}),Qt({placedSide:P,onArrowChange:e=>v.value=e,arrowX:y(()=>N.value.arrow?.x??0),arrowY:y(()=>N.value.arrow?.y??0),shouldHideArrow:F}),(e,t)=>(S(),p(`div`,{ref_key:`floatingRef`,ref:h,"data-reka-popper-content-wrapper":``,dir:s(m),style:g({...s(ne),transform:s(M)?s(ne).transform:`translate(0, -200%)`,minWidth:`max-content`,zIndex:I.value,"--reka-popper-transform-origin":[s(N).transformOrigin?.x,s(N).transformOrigin?.y].join(` `),...s(N).hide?.referenceHidden&&{visibility:`hidden`,pointerEvents:`none`}})},[r.memoDependencies?d([r.asChild,r.as,P.value,ue.value,s(M),...Object.values(e.$attrs),...r.memoDependencies],()=>(S(),T(s(i),_({key:0,ref:s(c)},e.$attrs,{"as-child":r.asChild,as:r.as,"data-side":P.value,"data-align":ue.value,style:{animation:s(M)?void 0:`none`}}),{default:w(()=>[k(e.$slots,`default`)]),_:3},16,[`as-child`,`as`,`data-side`,`data-align`,`style`])),t,0):(S(),T(s(i),_({key:1,ref:s(c)},e.$attrs,{"as-child":r.asChild,as:r.as,"data-side":P.value,"data-align":ue.value,dir:s(m),style:{animation:s(M)?void 0:`none`}}),{default:w(()=>[k(e.$slots,`default`)]),_:3},16,[`as-child`,`as`,`data-side`,`data-align`,`dir`,`style`]))],12,Yt))}});
1export{re as a,M as i,P as n,te as o,oe as r,$t as t};
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.