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