1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5856],{2422:function(e,t,r){r.d(t,{VY:function(){return V},fC:function(){return F},xz:function(){return H},zt:function(){return Z}});var n=r(2265),o=r(98157),i=r(87682),l=r(85225),a=r(28284),u=r(13878),s=r(72378),c=(r(78172),r(39233)),p=r(65092),d=r(82575),f=r(13846),h=r(75882),x=r(57437),[y,g]=(0,l.b)("Tooltip",[s.D7]),v=(0,s.D7)(),b="TooltipProvider",w="tooltip.open",[m,C]=y(b),T=e=>{let{__scopeTooltip:t,delayDuration:r=700,skipDelayDuration:o=300,disableHoverableContent:i=!1,children:l}=e,a=n.useRef(!0),u=n.useRef(!1),s=n.useRef(0);return n.useEffect(()=>{let e=s.current;return()=>window.clearTimeout(e)},[]),(0,x.jsx)(m,{scope:t,isOpenDelayedRef:a,delayDuration:r,onOpen:n.useCallback(()=>{window.clearTimeout(s.current),a.current=!1},[]),onClose:n.useCallback(()=>{window.clearTimeout(s.current),s.current=window.setTimeout(()=>a.current=!0,o)},[o]),isPointerInTransitRef:u,onPointerInTransitChange:n.useCallback(e=>{u.current=e},[]),disableHoverableContent:i,children:l})};T.displayName=b;var E="Tooltip",[k,j]=y(E),M=e=>{let{__scopeTooltip:t,children:r,open:o,defaultOpen:i,onOpenChange:l,disableHoverableContent:a,delayDuration:c}=e,p=C(E,e.__scopeTooltip),d=v(t),[h,y]=n.useState(null),g=(0,u.M)(),b=n.useRef(0),m=a??p.disableHoverableContent,T=c??p.delayDuration,j=n.useRef(!1),[M,R]=(0,f.T)({prop:o,defaultProp:i??!1,onChange:e=>{e?(p.onOpen(),document.dispatchEvent(new CustomEvent(w))):p.onClose(),l?.(e)},caller:E}),L=n.useMemo(()=>M?j.current?"delayed-open":"instant-open":"closed",[M]),_=n.useCallback(()=>{window.clearTimeout(b.current),b.current=0,j.current=!1,R(!0)},[R]),P=n.useCallback(()=>{window.clearTimeout(b.current),b.current=0,R(!1)},[R]),D=n.useCallback(()=>{window.clearTimeout(b.current),b.current=window.setTimeout(()=>{j.current=!0,R(!0),b.current=0},T)},[T,R]);return n.useEffect(()=>()=>{b.current&&(window.clearTimeout(b.current),b.current=0)},[]),(0,x.jsx)(s.fC,{...d,children:(0,x.jsx)(k,{scope:t,contentId:g,open:M,stateAttribute:L,trigger:h,onTriggerChange:y,onTriggerEnter:n.useCallback(()=>{p.isOpenDelayedRef.current?D():_()},[p.isOpenDelayedRef,D,_]),onTriggerLeave:n.useCallback(()=>{m?P():(window.clearTimeout(b.current),b.current=0)},[P,m]),onOpen:_,onClose:P,disableHoverableContent:m,children:r})})};M.displayName=E;var R="TooltipTrigger",L=n.forwardRef((e,t)=>{let{__scopeTooltip:r,...l}=e,a=j(R,r),u=C(R,r),c=v(r),d=n.useRef(null),f=(0,i.e)(t,d,a.onTriggerChange),h=n.useRef(!1),y=n.useRef(!1),g=n.useCallback(()=>h.current=!1,[]);return n.useEffect(()=>()=>document.removeEventListener("pointerup",g),[g]),(0,x.jsx)(s.ee,{asChild:!0,...c,children:(0,x.jsx)(p.WV.button,{"aria-describedby":a.open?a.contentId:void 0,"data-state":a.stateAttribute,...l,ref:f,onPointerMove:(0,o.Mj)(e.onPointerMove,e=>{"touch"===e.pointerType||y.current||u.isPointerInTransitRef.current||(a.onTriggerEnter(),y.current=!0)}),onPointerLeave:(0,o.Mj)(e.onPointerLeave,()=>{a.onTriggerLeave(),y.current=!1}),onPointerDown:(0,o.Mj)(e.onPointerDown,()=>{a.open&&a.onClose(),h.current=!0,document.addEventListener("pointerup",g,{once:!0})}),onFocus:(0,o.Mj)(e.onFocus,()=>{h.current||a.onOpen()}),onBlur:(0,o.Mj)(e.onBlur,a.onClose),onClick:(0,o.Mj)(e.onClick,a.onClose)})})});L.displayName=R;var[_,P]=y("TooltipPortal",{forceMount:void 0}),D="TooltipContent",O=n.forwardRef((e,t)=>{let r=P(D,e.__scopeTooltip),{forceMount:n=r.forceMount,side:o="top",...i}=e,l=j(D,e.__scopeTooltip);return(0,x.jsx)(c.z,{present:n||l.open,children:l.disableHoverableContent?(0,x.jsx)(A,{side:o,...i,ref:t}):(0,x.jsx)(I,{side:o,...i,ref:t})})}),I=n.forwardRef((e,t)=>{let r=j(D,e.__scopeTooltip),o=C(D,e.__scopeTooltip),l=n.useRef(null),a=(0,i.e)(t,l),[u,s]=n.useState(null),{trigger:c,onClose:p}=r,d=l.current,{onPointerInTransitChange:f}=o,h=n.useCallback(()=>{s(null),f(!1)},[f]),y=n.useCallback((e,t)=>{let r=e.currentTarget,n={x:e.clientX,y:e.clientY},o=function(e,t){let r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(r,n,o,i)){case i:return"left";case o:return"right";case r:return"top";case n:return"bottom";default:throw Error("unreachable")}}(n,r.getBoundingClientRect()),i=function(e,t,r=5){let n=[];switch(t){case"top":n.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":n.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":n.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":n.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r})}return n}(n,o),l=function(e){let{top:t,right:r,bottom:n,left:o}=e;return[{x:o,y:t},{x:r,y:t},{x:r,y:n},{x:o,y:n}]}(t.getBoundingClientRect()),a=function(e){let t=e.slice();return t.sort((e,t)=>
1e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:e.y>t.y?1:0),function(e){if(e.length<=1)return e.slice();let t=[];for(let r=0;r<e.length;r++){let n=e[r];for(;t.length>=2;){let e=t[t.length-1],r=t[t.length-2];if((e.x-r.x)*(n.y-r.y)>=(e.y-r.y)*(n.x-r.x))t.pop();else break}t.push(n)}t.pop();let r=[];for(let t=e.length-1;t>=0;t--){let n=e[t];for(;r.length>=2;){let e=r[r.length-1],t=r[r.length-2];if((e.x-t.x)*(n.y-t.y)>=(e.y-t.y)*(n.x-t.x))r.pop();else break}r.push(n)}return(r.pop(),1===t.length&&1===r.length&&t[0].x===r[0].x&&t[0].y===r[0].y)?t:t.concat(r)}(t)}([...i,...l]);s(a),f(!0)},[f]);return n.useEffect(()=>()=>h(),[h]),n.useEffect(()=>{if(c&&d){let e=e=>y(e,d),t=e=>y(e,c);return c.addEventListener("pointerleave",e),d.addEventListener("pointerleave",t),()=>{c.removeEventListener("pointerleave",e),d.removeEventListener("pointerleave",t)}}},[c,d,y,h]),n.useEffect(()=>{if(u){let e=e=>{let t=e.target,r={x:e.clientX,y:e.clientY},n=c?.contains(t)||d?.contains(t),o=!function(e,t){let{x:r,y:n}=e,o=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){let l=t[e],a=t[i],u=l.x,s=l.y,c=a.x,p=a.y,d=s>n!=p>n&&r<(c-u)*(n-s)/(p-s)+u;d&&(o=!o)}return o}(r,u);n?h():o&&(h(),p())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[c,d,u,p,h]),(0,x.jsx)(A,{...e,ref:a})}),[N,B]=y(E,{isInside:!1}),z=(0,d.sA)("TooltipContent"),A=n.forwardRef((e,t)=>{let{__scopeTooltip:r,children:o,"aria-label":i,onEscapeKeyDown:l,onPointerDownOutside:u,...c}=e,p=j(D,r),d=v(r),{onClose:f}=p;return n.useEffect(()=>(document.addEventListener(w,f),()=>document.removeEventListener(w,f)),[f]),n.useEffect(()=>{if(p.trigger){let e=e=>{let t=e.target;t?.contains(p.trigger)&&f()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[p.trigger,f]),(0,x.jsx)(a.XB,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:e=>e.preventDefault(),onDismiss:f,children:(0,x.jsxs)(s.VY,{"data-state":p.stateAttribute,...d,...c,ref:t,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:[(0,x.jsx)(z,{children:o}),(0,x.jsx)(N,{scope:r,isInside:!0,children:(0,x.jsx)(h.fC,{id:p.contentId,role:"tooltip",children:i||o})})]})})});O.displayName=D;var Y="TooltipArrow";n.forwardRef((e,t)=>{let{__scopeTooltip:r,...n}=e,o=v(r),i=B(Y,r);return i.isInside?null:(0,x.jsx)(s.Eh,{...o,...n,ref:t})}).displayName=Y;var Z=T,F=M,H=L,V=O},28956:function(e,t,r){r.d(t,{Z:function(){return o}});var n=r(62898);/** 2 * @license lucide-react v0.294.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */let o=(0,n.Z)("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]])},1295:function(e,t,r){r.d(t,{Z:function(){return o}});var n=r(62898);/** 7 * @license lucide-react v0.294.0 - ISC 8 * 9 * This source code is licensed under the ISC license. 10 * See the LICENSE file in the root directory of this source tree. 11 */let o=(0,n.Z)("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]])}}]);
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.