PageSourceSearch

https://doctorpile.com/assets/index-Bnm97GnT.js

js doctorpile.com collected 2026-09-28 12:13:00 UTC 27,629 bytes, 1 lines download raw bytes

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