PageSourceSearch

https://frame-buddy-folio.lovable.app/assets/vendor-radix-C-VOrnof.js

js frame-buddy-folio.lovable.app collected 2026-10-03 03:31:46 UTC 35,199 bytes, 1 lines download raw bytes

vendor: 14,020 bytes, line 1
1import{r as m,a as Ye}from"./vendor-react-g8dEulS4.js";import{c as Xe,P as ct,u as Pt,a as re,b as xt,d as Ge,e as J,f as qe,D as Ue}from"./vendor-ui-CsxsGL2z.js";import{j as P}from"./vendor-query-DBp4gPgf.js";function Ze(t){const e=Ke(t),n=m.forwardRef((o,r)=>{const{children:i,...s}=o,c=m.Children.toArray(i),l=c.find(Qe);if(l){const a=l.props.children,f=c.map(u=>u===l?m.Children.count(a)>1?m.Children.only(null):m.isValidElement(a)?a.props.children:null:u);return P.jsx(e,{...s,ref:r,children:m.isValidElement(a)?m.cloneElement(a,void 0,f):null})}return P.jsx(e,{...s,ref:r,children:i})});return n.displayName=`${t}.Slot`,n}var qo=Ze("Slot");function Ke(t){const e=m.forwardRef((n,o)=>{const{children:r,...i}=n;if(m.isValidElement(r)){const s=en(r),c=tn(i,r.props);return r.type!==m.Fragment&&(c.ref=o?Xe(o,s):s),m.cloneElement(r,c)}return m.Children.count(r)>1?m.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var ie=Symbol("radix.slottable");function Je(t){const e=({children:n})=>P.jsx(P.Fragment,{children:n});return e.displayName=`${t}.Slottable`,e.__radixId=ie,e}function Qe(t){return m.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===ie}function tn(t,e){const n={...e};for(const o in e){const r=t[o],i=e[o];/^on[A-Z]/.test(o)?r&&i?n[o]=(...c)=>{const l=i(...c);return r(...c),l}:r&&(n[o]=r):o==="style"?n[o]={...r,...i}:o==="className"&&(n[o]=[r,i].filter(Boolean).join(" "))}return{...t,...n}}function en(t){var o,r;let e=(o=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:o.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=(r=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:r.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}var nn=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"}),on="VisuallyHidden",se=m.forwardRef((t,e)=>P.jsx(ct.span,{...t,ref:e,style:{...nn,...t.style}}));se.displayName=on;var rn=se;const sn=["top","right","bottom","left"],U=Math.min,$=Math.max,pt=Math.round,ut=Math.floor,z=t=>({x:t,y:t}),cn={left:"right",right:"left",bottom:"top",top:"bottom"},ln={start:"end",end:"start"};function Et(t,e,n){return $(t,U(e,n))}function G(t,e){return typeof t=="function"?t(e):t}function q(t){return t.split("-")[0]}function nt(t){return t.split("-")[1]}function Lt(t){return t==="x"?"y":"x"}function Dt(t){return t==="y"?"height":"width"}const an=new Set(["top","bottom"]);function B(t){return an.has(q(t))?"y":"x"}function Mt(t){return Lt(B(t))}function fn(t,e,n){n===void 0&&(n=!1);const o=nt(t),r=Mt(t),i=Dt(r);let s=r==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=ht(s)),[s,ht(s)]}function un(t){const e=ht(t);return[Ot(t),e,Ot(e)]}function Ot(t){return t.replace(/start|end/g,e=>ln[e])}const Gt=["left","right"],qt=["right","left"],dn=["top","bottom"],pn=["bottom","top"];function hn(t,e,n){switch(t){case"top":case"bottom":return n?e?qt:Gt:e?Gt:qt;case"left":case"right":return e?dn:pn;default:return[]}}function mn(t,e,n,o){const r=nt(t);let i=hn(q(t),n==="start",o);return r&&(i=i.map(s=>s+"-"+r),e&&(i=i.concat(i.map(Ot)))),i}function ht(t){return t.replace(/left|right|bottom|top/g,e=>cn[e])}function gn(t){return{top:0,right:0,bottom:0,left:0,...t}}function ce(t){return typeof t!="number"?gn(t):{top:t,right:t,bottom:t,left:t}}function mt(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 Ut(t,e,n){let{reference:o,floating:r}=t;const i=B(e),s=Mt(e),c=Dt(s),l=q(e),a=i==="y",f=o.x+o.width/2-r.width/2,u=o.y+o.height/2-r.height/2,p=o[c]/2-r[c]/2;let d;switch(l){case"top":d={x:f,y:o.y-r.height};break;case"bottom":d={x:f,y:o.y+o.height};break;case"right":d={x:o.x+o.width,y:u};break;case"left":d={x:o.x-r.width,y:u};break;default:d={x:o.x,y:o.y}}switch(nt(e)){case"start":d[s]-=p*(n&&a?-1:1);break;case"end":d[s]+=p*(n&&a?-1:1);break}return d}const xn=async(t,e,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:s}=n,c=i.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(e));let a=await s.getElementRects({reference:t,floating:e,strategy:r}),{x:f,y:u}=Ut(a,o,l),p=o,d={},h=0;for(let g=0;g<c.length;g++){const{name:x,fn:w}=c[g],{x:y,y:v,data:b,reset:A}=await w({x:f,y:u,initialPlacement:o,placement:p,strategy:r,middlewareData:d,rects:a,platform:s,elements:{reference:t,floating:e}});f=y??f,u=v??u,d={...d,[x]:{...d[x],...b}},A&&h<=50&&(h++,typeof A=="object"&&(A.placement&&(p=A.placement),A.rects&&(a=A.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:r}):A.rects),{x:f,y:u}=Ut(a,p,l)),g=-1)}return{x:f,y:u,placement:p,strategy:r,middlewareData:d}};async function it(t,e){var n;e===void 0&&(e={});const{x:o,y:r,platform:i,rects:s,elements:c,strategy:l}=t,{boundary:a="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:p=!1,padding:d=0}=G(e,t),h=ce(d),x=c[p?u==="floating"?"reference":"floating":u],w=mt(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:a,rootBoundary:f,strategy:l})),y=u==="floating"?{x:o,y:r,width:s.floating.width,height:s.floating.height}:s.reference,v=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),b=await(i.isElement==null?void 0:i.isElement(v))?await(i.getScale==null?void 0:i.getScale(v))||{x:1,y:1}:{x:1,y:1},A=mt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:y,offsetParent:v,strategy:l}):y);return{top:(w.top-A.top+h.top)/b.y,bottom:(A.bottom-w.bottom+h.bottom)/b.y,left:(w.left-A.left+h.left)/b.x,right:(A.right-w.right+h.right)/b.x}}const wn=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:a,padding:f=0}=G(t,e)||{};if(a==null)return{};const u=ce(f),p={x:n,y:o},d=Mt(r),h=Dt(d),g=await s.getDimensions(a),x=d==="y",w=x?"top":"left",y=x?"bottom":"right",v=x?"clientHeight":"clientWidth",b=i.reference[h]+i.reference[d]-p[d]-i.floating[h],A=p[d]-i.reference[d],R=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a));let E=R?R[v]:0;(!E||!await(s.isElement==null?void 0:s.isElement(R)))&&(E=c.floating[v]||i.floating[h]);const M=b/2-A/2,H=E/2-g[h]/2-1,D=U(u[w],H),N=U(u[y],H),k=D,S=E-g[h]-N,O=E/2-g[h]/2+M,j=Et(k,O,S),T=!l.arrow&&nt(r)!=null&&O!==j&&i.reference[h]/2-(O<k?D:N)-g[h]/2<0,L=T?O<k?O-k:O-S:0;return{[d]:p[d]+L,data:{[d]:j,centerOffset:O-j-L,...T&&{alignmentOffset:L}},reset:T}}}),yn=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:a}=e,{mainAxis:f=!0,crossAxis:u=!0,fallbackPlacements:p,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:g=!0,...x}=G(t,e);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const w=q(r),y=B(c),v=q(c)===c,b=await(l.isRTL==null?void 0:l.isRTL(a.floating)),A=p||(v||!g?[ht(c)]:un(c)),R=h!=="none";!p&&R&&A.push(...mn(c,g,h,b));const E=[c,...A],M=await it(e,x),H=[];let D=((o=i.flip)==null?void 0:o.overflows)||[];if(f&&H.push(M[w]),u){const O=fn(r,s,b);H.push(M[O[0]],M[O[1]])}if(D=[...D,{placement:r,overflows:H}],!H.every(O=>O<=0)){var N,k;const O=(((N=i.flip)==null?void 0:N.index)||0)+1,j=E[O];if(j&&(!(u==="alignment"?y!==B(j):!1)||D.every(C=>C.overflows[0]>0&&B(C.placement)===y)))return{data:{index:O,overflows:D},reset:{placement:j}};let T=(k=D.filter(L=>L.overflows[0]<=0).sort((L,C)=>L.overflows[1]-C.overflows[1])[0])==null?void 0:k.placement;if(!T)switch(d){case"bestFit":{var S;const L=(S=D.filter(C=>{if(R){const _=B(C.placement);return _===y||_==="y"}return!0}).map(C=>[C.placement,C.overflows.filter(_=>_>0).reduce((_,V)=>_+V,0)]).sort((C,_)=>C[1]-_[1])[0])==null?void 0:S[0];L&&(T=L);break}case"initialPlacement":T=c;break}if(r!==T)return{reset:{placement:T}}}return{}}}};function Zt(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function Kt(t){return sn.some(e=>t[e]>=0)}const vn=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n}=e,{strategy:o="referenceHidden",...r}=G(t,e);switch(o){case"referenceHidden":{const i=await it(e,{...r,elementContext:"reference"}),s=Zt(i,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Kt(s)}}}case"escaped":{const i=await it(e,{...r,altBoundary:!0}),s=Zt(i,n.floating);return{data:{escapedOffsets:s,escaped:Kt(s)}}}default:return{}}}}},le=new Set(["left","top"]);async function bn(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=nt(n),l=B(n)==="y",a=le.has(s)?-1:1,f=i&&l?-1:1,u=G(e,t);let{mainAxis:p,crossAxis:d,alignmentAxis:h}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return c&&typeof h=="number"&&(d=c==="end"?h*-1:h),l?{x:d*f,y:p*a}:{x:p*a,y:d*f}}const An=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 bn(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}}}}},Cn=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:r}=e,{mainAxis:i=!0,crossAxis:s=!1,limiter:c={fn:x=>{let{x:w,y}=x;return{x:w,y}}},...l}=G(t,e),a={x:n,y:o},f=await it(e,l),u=B(q(r)),p=Lt(u);let d=a[p],h=a[u];if(i){const x=p==="y"?"top":"left",w=p==="y"?"bottom":"right",y=d+f[x],v=d-f[w];d=Et(y,d,v)}if(s){const x=u==="y"?"top":"left",w=u==="y"?"bottom":"right",y=h+f[x],v=h-f[w];h=Et(y,h,v)}const g=c.fn({...e,[p]:d,[u]:h});return{...g,data:{x:g.x-n,y:g.y-o,enabled:{[p]:i,[u]:s}}}}}},Rn=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:a=!0}=G(t,e),f={x:n,y:o},u=B(r),p=Lt(u);let d=f[p],h=f[u];const g=G(c,e),x=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(l){const v=p==="y"?"height":"width",b=i.reference[p]-i.floating[v]+x.mainAxis,A=i.reference[p]+i.reference[v]-x.mainAxis;d<b?d=b:d>A&&(d=A)}if(a){var w,y;const v=p==="y"?"width":"height",b=le.has(q(r)),A=i.reference[u]-i.floating[v]+(b&&((w=s.offset)==null?void 0:w[u])||0)+(b?0:x.crossAxis),R=i.reference[u]+i.reference[v]+(b?0:((y=s.offset)==null?void 0:y[u])||0)-(b?x.crossAxis:0);h<A?h=A:h>R&&(h=R)}return{[p]:d,[u]:h}}}},Pn=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=()=>{},...a}=G(t,e),f=await it(e,a),u=q(r),p=nt(r),d=B(r)==="y",{width:h,height:g}=i.floating;let x,w;u==="top"||u==="bottom"?(x=u,w=p===(await(s.isRTL==null?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(w=u,x=p==="end"?"top":"bottom");const y=g-f.top-f.bottom,v=h-f.left-f.right,b=U(g-f[x],y),A=U(h-f[w],v),R=!e.middlewareData.shift;let E=b,M=A;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(M=v),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(E=y),R&&!p){const D=$(f.left,0),N=$(f.right,0),k=$(f.top,0),S=$(f.bottom,0);d?M=h-2*(D!==0||N!==0?D+N:$(f.left,f.right)):E=g-2*(k!==0||S!==0?k+S:$(f.top,f.bottom))}await l({...e,availableWidth:M,availableHeight:E});const H=await s.getDimensions(c.floating);return h!==H.width||g!==H.height?{reset:{rects:!0}}:{}}}};function wt(){return typeof window<"u"}function ot(t){return ae(t)?(t.nodeName||"").toLowerCase():"#document"}function F(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function X(t){var e;return(e=(ae(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function ae(t){return wt()?t instanceof Node||t instanceof F(t).Node:!1}function W(t){return wt()?t instanceof Element||t instanceof F(t).Element:!1}function Y(t){return wt()?t instanceof HTMLElement||t instanceof F(t).HTMLElement:!1}function Jt(t){return!wt()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof F(t).ShadowRoot}const En=new Set(["inline","contents"]);function lt(t){const{overflow:e,overflowX:n,overflowY:o,display:r}=I(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!En.has(r)}const On=new Set(["table","td","th"]);function Sn(t){return On.has(ot(t))}const Tn=[":popover-open",":modal"];function yt(t){return Tn.some(e=>{try{return t.matches(e)}catch{return!1}})}const Ln=["transform","translate","scale","rotate","perspective"],Dn=["transform","translate","scale","rotate","perspective","filter"],Mn=["paint","layout","strict","content"];function _t(t){const e=Nt(),n=W(t)?I(t):t;return Ln.some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||Dn.some(o=>(n.willChange||"").includes(o))||Mn.some(o=>(n.contain||"").includes(o))}function _n(t){let e=Z(t);for(;Y(e)&&!tt(e);){if(_t(e))return e;if(yt(e))return null;e=Z(e)}return null}function Nt(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Nn=new Set(["html","body","#document"]);function tt(t){return Nn.has(ot(t))}function I(t){return F(t).getComputedStyle(t)}function vt(t){return W(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Z(t){if(ot(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Jt(t)&&t.host||X(t);return Jt(e)?e.host:e}function fe(t){const e=Z(t);return tt(e)?t.ownerDocument?t.ownerDocument.body:t.body:Y(e)&&lt(e)?e:fe(e)}function st(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const r=fe(t),i=r===((o=t.ownerDocument)==null?void 0:o.body),s=F(r);if(i){const c=St(s);
vendor: 5,691 bytes, line 1
1return e.concat(s,s.visualViewport||[],lt(r)?r:[],c&&n?st(c):[])}return e.concat(r,st(r,[],n))}function St(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function ue(t){const e=I(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const r=Y(t),i=r?t.offsetWidth:n,s=r?t.offsetHeight:o,c=pt(n)!==i||pt(o)!==s;return c&&(n=i,o=s),{width:n,height:o,$:c}}function kt(t){return W(t)?t:t.contextElement}function Q(t){const e=kt(t);if(!Y(e))return z(1);const n=e.getBoundingClientRect(),{width:o,height:r,$:i}=ue(e);let s=(i?pt(n.width):n.width)/o,c=(i?pt(n.height):n.height)/r;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const kn=z(0);function de(t){const e=F(t);return!Nt()||!e.visualViewport?kn:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Hn(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==F(t)?!1:e}function K(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const r=t.getBoundingClientRect(),i=kt(t);let s=z(1);e&&(o?W(o)&&(s=Q(o)):s=Q(t));const c=Hn(i,n,o)?de(i):z(0);let l=(r.left+c.x)/s.x,a=(r.top+c.y)/s.y,f=r.width/s.x,u=r.height/s.y;if(i){const p=F(i),d=o&&W(o)?F(o):o;let h=p,g=St(h);for(;g&&o&&d!==h;){const x=Q(g),w=g.getBoundingClientRect(),y=I(g),v=w.left+(g.clientLeft+parseFloat(y.paddingLeft))*x.x,b=w.top+(g.clientTop+parseFloat(y.paddingTop))*x.y;l*=x.x,a*=x.y,f*=x.x,u*=x.y,l+=v,a+=b,h=F(g),g=St(h)}}return mt({width:f,height:u,x:l,y:a})}function Ht(t,e){const n=vt(t).scrollLeft;return e?e.left+n:K(X(t)).left+n}function pe(t,e,n){n===void 0&&(n=!1);const o=t.getBoundingClientRect(),r=o.left+e.scrollLeft-(n?0:Ht(t,o)),i=o.top+e.scrollTop;return{x:r,y:i}}function jn(t){let{elements:e,rect:n,offsetParent:o,strategy:r}=t;const i=r==="fixed",s=X(o),c=e?yt(e.floating):!1;if(o===s||c&&i)return n;let l={scrollLeft:0,scrollTop:0},a=z(1);const f=z(0),u=Y(o);if((u||!u&&!i)&&((ot(o)!=="body"||lt(s))&&(l=vt(o)),Y(o))){const d=K(o);a=Q(o),f.x=d.x+o.clientLeft,f.y=d.y+o.clientTop}const p=s&&!u&&!i?pe(s,l,!0):z(0);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-l.scrollLeft*a.x+f.x+p.x,y:n.y*a.y-l.scrollTop*a.y+f.y+p.y}}function $n(t){return Array.from(t.getClientRects())}function Fn(t){const e=X(t),n=vt(t),o=t.ownerDocument.body,r=$(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),i=$(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+Ht(t);const c=-n.scrollTop;return I(o).direction==="rtl"&&(s+=$(e.clientWidth,o.clientWidth)-r),{width:r,height:i,x:s,y:c}}function Wn(t,e){const n=F(t),o=X(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=Nt();(!a||a&&e==="fixed")&&(c=r.offsetLeft,l=r.offsetTop)}return{width:i,height:s,x:c,y:l}}const In=new Set(["absolute","fixed"]);function Vn(t,e){const n=K(t,!0,e==="fixed"),o=n.top+t.clientTop,r=n.left+t.clientLeft,i=Y(t)?Q(t):z(1),s=t.clientWidth*i.x,c=t.clientHeight*i.y,l=r*i.x,a=o*i.y;return{width:s,height:c,x:l,y:a}}function Qt(t,e,n){let o;if(e==="viewport")o=Wn(t,n);else if(e==="document")o=Fn(X(t));else if(W(e))o=Vn(e,n);else{const r=de(t);o={x:e.x-r.x,y:e.y-r.y,width:e.width,height:e.height}}return mt(o)}function he(t,e){const n=Z(t);return n===e||!W(n)||tt(n)?!1:I(n).position==="fixed"||he(n,e)}function Bn(t,e){const n=e.get(t);if(n)return n;let o=st(t,[],!1).filter(c=>W(c)&&ot(c)!=="body"),r=null;const i=I(t).position==="fixed";let s=i?Z(t):t;for(;W(s)&&!tt(s);){const c=I(s),l=_t(s);!l&&c.position==="fixed"&&(r=null),(i?!l&&!r:!l&&c.position==="static"&&!!r&&In.has(r.position)||lt(s)&&!l&&he(t,s))?o=o.filter(f=>f!==s):r=c,s=Z(s)}return e.set(t,o),o}function zn(t){let{element:e,boundary:n,rootBoundary:o,strategy:r}=t;const s=[...n==="clippingAncestors"?yt(e)?[]:Bn(e,this._c):[].concat(n),o],c=s[0],l=s.reduce((a,f)=>{const u=Qt(e,f,r);return a.top=$(u.top,a.top),a.right=U(u.right,a.right),a.bottom=U(u.bottom,a.bottom),a.left=$(u.left,a.left),a},Qt(e,c,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Yn(t){const{width:e,height:n}=ue(t);return{width:e,height:n}}function Xn(t,e,n){const o=Y(e),r=X(e),i=n==="fixed",s=K(t,!0,i,e);let c={scrollLeft:0,scrollTop:0};const l=z(0);function a(){l.x=Ht(r)}if(o||!o&&!i)if((ot(e)!=="body"||lt(r))&&(c=vt(e)),o){const d=K(e,!0,i,e);l.x=d.x+e.clientLeft,l.y=d.y+e.clientTop}else r&&a();i&&!o&&r&&a();const f=r&&!o&&!i?pe(r,c):z(0),u=s.left+c.scrollLeft-l.x-f.x,p=s.top+c.scrollTop-l.y-f.y;return{x:u,y:p,width:s.width,height:s.height}}function Ct(t){return I(t).position==="static"}function te(t,e){if(!Y(t)||I(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return X(t)===n&&(n=n.ownerDocument.body),n}function me(t,e){const n=F(t);if(yt(t))return n;if(!Y(t)){let r=Z(t);for(;r&&!tt(r);){if(W(r)&&!Ct(r))return r;r=Z(r)}return n}let o=te(t,e);for(;o&&Sn(o)&&Ct(o);)o=te(o,e);return o&&tt(o)&&Ct(o)&&!_t(o)?n:o||_n(t)||n}const Gn=async function(t){const e=this.getOffsetParent||me,n=this.getDimensions,o=await n(t.floating);return{reference:Xn(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function qn(t){return I(t).direction==="rtl"}const Un={convertOffsetParentRelativeRectToViewportRelativeRect:jn,getDocumentElement:X,getClippingRect:zn,getOffsetParent:me,getElementRects:Gn,getClientRects:$n,getDimensions:Yn,getScale:Q,isElement:W,isRTL:qn};function ge(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function Zn(t,e){let n=null,o;const r=X(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 a=t.getBoundingClientRect(),{left:f,top:u,width:p,height:d}=a;
vendor: 9,635 bytes, line 1
1if(c||e(),!p||!d)return;const h=ut(u),g=ut(r.clientWidth-(f+p)),x=ut(r.clientHeight-(u+d)),w=ut(f),v={rootMargin:-h+"px "+-g+"px "+-x+"px "+-w+"px",threshold:$(0,U(1,l))||1};let b=!0;function A(R){const E=R[0].intersectionRatio;if(E!==l){if(!b)return s();E?s(!1,E):o=setTimeout(()=>{s(!1,1e-7)},1e3)}E===1&&!ge(a,t.getBoundingClientRect())&&s(),b=!1}try{n=new IntersectionObserver(A,{...v,root:r.ownerDocument})}catch{n=new IntersectionObserver(A,v)}n.observe(t)}return s(!0),i}function Kn(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,a=kt(t),f=r||i?[...a?st(a):[],...st(e)]:[];f.forEach(w=>{r&&w.addEventListener("scroll",n,{passive:!0}),i&&w.addEventListener("resize",n)});const u=a&&c?Zn(a,n):null;let p=-1,d=null;s&&(d=new ResizeObserver(w=>{let[y]=w;y&&y.target===a&&d&&(d.unobserve(e),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var v;(v=d)==null||v.observe(e)})),n()}),a&&!l&&d.observe(a),d.observe(e));let h,g=l?K(t):null;l&&x();function x(){const w=K(t);g&&!ge(g,w)&&n(),g=w,h=requestAnimationFrame(x)}return n(),()=>{var w;f.forEach(y=>{r&&y.removeEventListener("scroll",n),i&&y.removeEventListener("resize",n)}),u==null||u(),(w=d)==null||w.disconnect(),d=null,l&&cancelAnimationFrame(h)}}const Jn=An,Qn=Cn,to=yn,eo=Pn,no=vn,ee=wn,oo=Rn,ro=(t,e,n)=>{const o=new Map,r={platform:Un,...n},i={...r.platform,_c:o};return xn(t,e,{...r,platform:i})};var io=typeof document<"u",so=function(){},dt=io?m.useLayoutEffect:so;function gt(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(!gt(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)&&!gt(t[i],e[i]))return!1}return!0}return t!==t&&e!==e}function xe(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function ne(t,e){const n=xe(t);return Math.round(e*n)/n}function Rt(t){const e=m.useRef(t);return dt(()=>{e.current=t}),e}function co(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:a}=t,[f,u]=m.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[p,d]=m.useState(o);gt(p,o)||d(o);const[h,g]=m.useState(null),[x,w]=m.useState(null),y=m.useCallback(C=>{C!==R.current&&(R.current=C,g(C))},[]),v=m.useCallback(C=>{C!==E.current&&(E.current=C,w(C))},[]),b=i||h,A=s||x,R=m.useRef(null),E=m.useRef(null),M=m.useRef(f),H=l!=null,D=Rt(l),N=Rt(r),k=Rt(a),S=m.useCallback(()=>{if(!R.current||!E.current)return;const C={placement:e,strategy:n,middleware:p};N.current&&(C.platform=N.current),ro(R.current,E.current,C).then(_=>{const V={..._,isPositioned:k.current!==!1};O.current&&!gt(M.current,V)&&(M.current=V,Ye.flushSync(()=>{u(V)}))})},[p,e,n,N,k]);dt(()=>{a===!1&&M.current.isPositioned&&(M.current.isPositioned=!1,u(C=>({...C,isPositioned:!1})))},[a]);const O=m.useRef(!1);dt(()=>(O.current=!0,()=>{O.current=!1}),[]),dt(()=>{if(b&&(R.current=b),A&&(E.current=A),b&&A){if(D.current)return D.current(b,A,S);S()}},[b,A,S,D,H]);const j=m.useMemo(()=>({reference:R,floating:E,setReference:y,setFloating:v}),[y,v]),T=m.useMemo(()=>({reference:b,floating:A}),[b,A]),L=m.useMemo(()=>{const C={position:n,left:0,top:0};if(!T.floating)return C;const _=ne(T.floating,f.x),V=ne(T.floating,f.y);return c?{...C,transform:"translate("+_+"px, "+V+"px)",...xe(T.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:_,top:V}},[n,c,T.floating,f.x,f.y]);return m.useMemo(()=>({...f,update:S,refs:j,elements:T,floatingStyles:L}),[f,S,j,T,L])}const lo=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?ee({element:o.current,padding:r}).fn(n):{}:o?ee({element:o,padding:r}).fn(n):{}}}},ao=(t,e)=>({...Jn(t),options:[t,e]}),fo=(t,e)=>({...Qn(t),options:[t,e]}),uo=(t,e)=>({...oo(t),options:[t,e]}),po=(t,e)=>({...to(t),options:[t,e]}),ho=(t,e)=>({...eo(t),options:[t,e]}),mo=(t,e)=>({...no(t),options:[t,e]}),go=(t,e)=>({...lo(t),options:[t,e]});var xo="Arrow",we=m.forwardRef((t,e)=>{const{children:n,width:o=10,height:r=5,...i}=t;return P.jsx(ct.svg,{...i,ref:e,width:o,height:r,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?n:P.jsx("polygon",{points:"0,0 30,0 15,10"})})});we.displayName=xo;var wo=we;function yo(t){const[e,n]=m.useState(void 0);return Pt(()=>{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,a=Array.isArray(l)?l[0]:l;s=a.inlineSize,c=a.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 jt="Popper",[ye,ve]=re(jt),[vo,be]=ye(jt),Ae=t=>{const{__scopePopper:e,children:n}=t,[o,r]=m.useState(null);return P.jsx(vo,{scope:e,anchor:o,onAnchorChange:r,children:n})};Ae.displayName=jt;var Ce="PopperAnchor",Re=m.forwardRef((t,e)=>{const{__scopePopper:n,virtualRef:o,...r}=t,i=be(Ce,n),s=m.useRef(null),c=xt(e,s);return m.useEffect(()=>{i.onAnchorChange((o==null?void 0:o.current)||s.current)}),o?null:P.jsx(ct.div,{...r,ref:c})});Re.displayName=Ce;var $t="PopperContent",[bo,Ao]=ye($t),Pe=m.forwardRef((t,e)=>{var Wt,It,Vt,Bt,zt,Yt;const{__scopePopper:n,side:o="bottom",sideOffset:r=0,align:i="center",alignOffset:s=0,arrowPadding:c=0,avoidCollisions:l=!0,collisionBoundary:a=[],collisionPadding:f=0,sticky:u="partial",hideWhenDetached:p=!1,updatePositionStrategy:d="optimized",onPlaced:h,...g}=t,x=be($t,n),[w,y]=m.useState(null),v=xt(e,rt=>y(rt)),[b,A]=m.useState(null),R=yo(b),E=(R==null?void 0:R.width)??0,M=(R==null?void 0:R.height)??0,H=o+(i!=="center"?"-"+i:""),D=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},N=Array.isArray(a)?a:[a],k=N.length>0,S={padding:D,boundary:N.filter(Ro),altBoundary:k},{refs:O,floatingStyles:j,placement:T,isPositioned:L,middlewareData:C}=co({strategy:"fixed",placement:H,whileElementsMounted:(...rt)=>Kn(...rt,{animationFrame:d==="always"}),elements:{reference:x.anchor},middleware:[ao({mainAxis:r+M,alignmentAxis:s}),l&&fo({mainAxis:!0,crossAxis:!1,limiter:u==="partial"?uo():void 0,...S}),l&&po({...S}),ho({...S,apply:({elements:rt,rects:Xt,availableWidth:Ie,availableHeight:Ve})=>{const{width:Be,height:ze}=Xt.reference,ft=rt.floating.style;ft.setProperty("--radix-popper-available-width",`${Ie}px`),ft.setProperty("--radix-popper-available-height",`${Ve}px`),ft.setProperty("--radix-popper-anchor-width",`${Be}px`),ft.setProperty("--radix-popper-anchor-height",`${ze}px`)}}),b&&go({element:b,padding:c}),Po({arrowWidth:E,arrowHeight:M}),p&&mo({strategy:"referenceHidden",...S})]}),[_,V]=Se(T),at=Ge(h);Pt(()=>{L&&(at==null||at())},[L,at]);const He=(Wt=C.arrow)==null?void 0:Wt.x,je=(It=C.arrow)==null?void 0:It.y,$e=((Vt=C.arrow)==null?void 0:Vt.centerOffset)!==0,[Fe,We]=m.useState();return Pt(()=>{w&&We(window.getComputedStyle(w).zIndex)},[w]),P.jsx("div",{ref:O.setFloating,"data-radix-popper-content-wrapper":"",style:{...j,transform:L?j.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Fe,"--radix-popper-transform-origin":[(Bt=C.transformOrigin)==null?void 0:Bt.x,(zt=C.transformOrigin)==null?void 0:zt.y].join(" "),...((Yt=C.hide)==null?void 0:Yt.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:P.jsx(bo,{scope:n,placedSide:_,onArrowChange:A,arrowX:He,arrowY:je,shouldHideArrow:$e,children:P.jsx(ct.div,{"data-side":_,"data-align":V,...g,ref:v,style:{...g.style,animation:L?void 0:"none"}})})})});Pe.displayName=$t;var Ee="PopperArrow",Co={top:"bottom",right:"left",bottom:"top",left:"right"},Oe=m.forwardRef(function(e,n){const{__scopePopper:o,...r}=e,i=Ao(Ee,o),s=Co[i.placedSide];return P.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:P.jsx(wo,{...r,ref:n,style:{...r.style,display:"block"}})})});Oe.displayName=Ee;function Ro(t){return t!==null}var Po=t=>({name:"transformOrigin",options:t,fn(e){var x,w,y;const{placement:n,rects:o,middlewareData:r}=e,s=((x=r.arrow)==null?void 0:x.centerOffset)!==0,c=s?0:t.arrowWidth,l=s?0:t.arrowHeight,[a,f]=Se(n),u={start:"0%",center:"50%",end:"100%"}[f],p=(((w=r.arrow)==null?void 0:w.x)??0)+c/2,d=(((y=r.arrow)==null?void 0:y.y)??0)+l/2;let h="",g="";return a==="bottom"?(h=s?u:`${p}px`,g=`${-l}px`):a==="top"?(h=s?u:`${p}px`,g=`${o.floating.height+l}px`):a==="right"?(h=`${-l}px`,g=s?u:`${d}px`):a==="left"&&(h=`${o.floating.width+l}px`,g=s?u:`${d}px`),{data:{x:h,y:g}}}});function Se(t){const[e,n="center"]=t.split("-");return[e,n]}var Uo=Ae,Eo=Re,Oo=Pe,So=Oe,[bt,Zo]=re("Tooltip",[ve]),Ft=ve(),Te="TooltipProvider",To=700,oe="tooltip.open",[Lo,Le]=bt(Te),De=t=>{const{__scopeTooltip:e,delayDuration:n=To,skipDelayDuration:o=300,disableHoverableContent:r=!1,
vendor: 4,834 bytes, line 1
1children:i}=t,s=m.useRef(!0),c=m.useRef(!1),l=m.useRef(0);return m.useEffect(()=>{const a=l.current;return()=>window.clearTimeout(a)},[]),P.jsx(Lo,{scope:e,isOpenDelayedRef:s,delayDuration:n,onOpen:m.useCallback(()=>{window.clearTimeout(l.current),s.current=!1},[]),onClose:m.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>s.current=!0,o)},[o]),isPointerInTransitRef:c,onPointerInTransitChange:m.useCallback(a=>{c.current=a},[]),disableHoverableContent:r,children:i})};De.displayName=Te;var Me="Tooltip",[Ko,At]=bt(Me),Tt="TooltipTrigger",Do=m.forwardRef((t,e)=>{const{__scopeTooltip:n,...o}=t,r=At(Tt,n),i=Le(Tt,n),s=Ft(n),c=m.useRef(null),l=xt(e,c,r.onTriggerChange),a=m.useRef(!1),f=m.useRef(!1),u=m.useCallback(()=>a.current=!1,[]);return m.useEffect(()=>()=>document.removeEventListener("pointerup",u),[u]),P.jsx(Eo,{asChild:!0,...s,children:P.jsx(ct.button,{"aria-describedby":r.open?r.contentId:void 0,"data-state":r.stateAttribute,...o,ref:l,onPointerMove:J(t.onPointerMove,p=>{p.pointerType!=="touch"&&!f.current&&!i.isPointerInTransitRef.current&&(r.onTriggerEnter(),f.current=!0)}),onPointerLeave:J(t.onPointerLeave,()=>{r.onTriggerLeave(),f.current=!1}),onPointerDown:J(t.onPointerDown,()=>{r.open&&r.onClose(),a.current=!0,document.addEventListener("pointerup",u,{once:!0})}),onFocus:J(t.onFocus,()=>{a.current||r.onOpen()}),onBlur:J(t.onBlur,r.onClose),onClick:J(t.onClick,r.onClose)})})});Do.displayName=Tt;var Mo="TooltipPortal",[Jo,_o]=bt(Mo,{forceMount:void 0}),et="TooltipContent",_e=m.forwardRef((t,e)=>{const n=_o(et,t.__scopeTooltip),{forceMount:o=n.forceMount,side:r="top",...i}=t,s=At(et,t.__scopeTooltip);return P.jsx(qe,{present:o||s.open,children:s.disableHoverableContent?P.jsx(Ne,{side:r,...i,ref:e}):P.jsx(No,{side:r,...i,ref:e})})}),No=m.forwardRef((t,e)=>{const n=At(et,t.__scopeTooltip),o=Le(et,t.__scopeTooltip),r=m.useRef(null),i=xt(e,r),[s,c]=m.useState(null),{trigger:l,onClose:a}=n,f=r.current,{onPointerInTransitChange:u}=o,p=m.useCallback(()=>{c(null),u(!1)},[u]),d=m.useCallback((h,g)=>{const x=h.currentTarget,w={x:h.clientX,y:h.clientY},y=Fo(w,x.getBoundingClientRect()),v=Wo(w,y),b=Io(g.getBoundingClientRect()),A=Bo([...v,...b]);c(A),u(!0)},[u]);return m.useEffect(()=>()=>p(),[p]),m.useEffect(()=>{if(l&&f){const h=x=>d(x,f),g=x=>d(x,l);return l.addEventListener("pointerleave",h),f.addEventListener("pointerleave",g),()=>{l.removeEventListener("pointerleave",h),f.removeEventListener("pointerleave",g)}}},[l,f,d,p]),m.useEffect(()=>{if(s){const h=g=>{const x=g.target,w={x:g.clientX,y:g.clientY},y=(l==null?void 0:l.contains(x))||(f==null?void 0:f.contains(x)),v=!Vo(w,s);y?p():v&&(p(),a())};return document.addEventListener("pointermove",h),()=>document.removeEventListener("pointermove",h)}},[l,f,s,a,p]),P.jsx(Ne,{...t,ref:i})}),[ko,Ho]=bt(Me,{isInside:!1}),jo=Je("TooltipContent"),Ne=m.forwardRef((t,e)=>{const{__scopeTooltip:n,children:o,"aria-label":r,onEscapeKeyDown:i,onPointerDownOutside:s,...c}=t,l=At(et,n),a=Ft(n),{onClose:f}=l;return m.useEffect(()=>(document.addEventListener(oe,f),()=>document.removeEventListener(oe,f)),[f]),m.useEffect(()=>{if(l.trigger){const u=p=>{const d=p.target;d!=null&&d.contains(l.trigger)&&f()};return window.addEventListener("scroll",u,{capture:!0}),()=>window.removeEventListener("scroll",u,{capture:!0})}},[l.trigger,f]),P.jsx(Ue,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:u=>u.preventDefault(),onDismiss:f,children:P.jsxs(Oo,{"data-state":l.stateAttribute,...a,...c,ref:e,style:{...c.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[P.jsx(jo,{children:o}),P.jsx(ko,{scope:n,isInside:!0,children:P.jsx(rn,{id:l.contentId,role:"tooltip",children:r||o})})]})})});_e.displayName=et;var ke="TooltipArrow",$o=m.forwardRef((t,e)=>{const{__scopeTooltip:n,...o}=t,r=Ft(n);return Ho(ke,n).isInside?null:P.jsx(So,{...r,...o,ref:e})});$o.displayName=ke;function Fo(t,e){const n=Math.abs(e.top-t.y),o=Math.abs(e.bottom-t.y),r=Math.abs(e.right-t.x),i=Math.abs(e.left-t.x);switch(Math.min(n,o,r,i)){case i:return"left";case r:return"right";case n:return"top";case o:return"bottom";default:throw new Error("unreachable")}}function Wo(t,e,n=5){const o=[];switch(e){case"top":o.push({x:t.x-n,y:t.y+n},{x:t.x+n,y:t.y+n});break;case"bottom":o.push({x:t.x-n,y:t.y-n},{x:t.x+n,y:t.y-n});break;case"left":o.push({x:t.x+n,y:t.y-n},{x:t.x+n,y:t.y+n});break;case"right":o.push({x:t.x-n,y:t.y-n},{x:t.x-n,y:t.y+n});break}return o}
vendor: 1,019 bytes, line 1
1function Io(t){const{top:e,right:n,bottom:o,left:r}=t;return[{x:r,y:e},{x:n,y:e},{x:n,y:o},{x:r,y:o}]}function Vo(t,e){const{x:n,y:o}=t;let r=!1;for(let i=0,s=e.length-1;i<e.length;s=i++){const c=e[i],l=e[s],a=c.x,f=c.y,u=l.x,p=l.y;f>o!=p>o&&n<(u-a)*(o-f)/(p-f)+a&&(r=!r)}return r}function Bo(t){const e=t.slice();return e.sort((n,o)=>n.x<o.x?-1:n.x>o.x?1:n.y<o.y?-1:n.y>o.y?1:0),zo(e)}function zo(t){if(t.length<=1)return t.slice();const e=[];for(let o=0;o<t.length;o++){const r=t[o];for(;e.length>=2;){const i=e[e.length-1],s=e[e.length-2];if((i.x-s.x)*(r.y-s.y)>=(i.y-s.y)*(r.x-s.x))e.pop();else break}e.push(r)}e.pop();const n=[];for(let o=t.length-1;o>=0;o--){const r=t[o];for(;n.length>=2;){const i=n[n.length-1],s=n[n.length-2];if((i.x-s.x)*(r.y-s.y)>=(i.y-s.y)*(r.x-s.x))n.pop();else break}n.push(r)}return n.pop(),e.length===1&&n.length===1&&e[0].x===n[0].x&&e[0].y===n[0].y?e:e.concat(n)}var Qo=De,tr=_e;export{Eo as A,tr as C,Qo as P,Uo as R,qo as S,se as V,ve as a,Oo as b,Ze as c,So as d,nn as e,yo 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.