PageSourceSearch

https://portal.vertrauensforum.de/assets/index-7gs3kyXR.js

js vertrauensforum.de collected 2026-10-09 23:31:21 UTC 26,941 bytes, 1 lines download raw bytes

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

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.