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