1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[22568],{22568:function(e,t,n){n.d(t,{e:function(){return H}});var r=n(19898),l=n(43380);let o={},a=0,u=!1,i=null,s=null;var c=n(37275),d=n(13116),p=n(57983),v=n(89041),f=n(10587),m=n(81448),h=n(12848),b=n(63567),y=n(12195),P=n(15097),x=n(92118),E=n(40786),g=n(51352),C=n(49499),j=n(73165),w=n(54405),k=n(57396),T=n(79184),M=n(61664),O=n(62204),B=n(5544),R=n(8407),X=()=>Promise.all([n.e(73054),n.e(48030)]).then(n.bind(n,1127)).then(e=>e.default),D=(0,P.Gp)((e,t)=>{var n;let D;let{Component:H,children:N,content:z,isOpen:I,portalContainer:K,placement:S,disableAnimation:A,motionProps:_,getTriggerProps:F,getTooltipProps:G,getTooltipContentProps:L}=function(e){var t,n;let k=(0,y.w)(),[T,M]=(0,P.oe)(e,x.v.variantKeys),{ref:O,as:B,isOpen:R,content:X,children:D,defaultOpen:H,onOpenChange:N,isDisabled:z,trigger:I,shouldFlip:K=!0,containerPadding:S=12,placement:A="top",delay:_=0,closeDelay:F=500,showArrow:G=!1,offset:L=7,crossOffset:V=0,isDismissable:J,shouldCloseOnBlur:U=!0,portalContainer:W,isKeyboardDismissDisabled:Y=!1,updatePositionDeps:Z=[],shouldCloseOnInteractOutside:$,className:q,onClose:Q,motionProps:ee,classNames:et,...en}=T,er=null!=(n=null!=(t=null==e?void 0:e.disableAnimation)?t:null==k?void 0:k.disableAnimation)&&n,el=function(e={}){let{delay:t=1500,closeDelay:n=500}=e,{isOpen:c,open:d,close:p}=(0,l.d)(e),v=(0,r.useMemo)(()=>`${++a}`,[]),f=(0,r.useRef)(null),m=(0,r.useRef)(p),h=()=>{o[v]=P},b=()=>{for(let e in o)e!==v&&(o[e](!0),delete o[e])},y=()=>{f.current&&clearTimeout(f.current),f.current=null,b(),h(),u=!0,d(),i&&(clearTimeout(i),i=null),s&&(clearTimeout(s),s=null)},P=e=>{e||n<=0?(f.current&&clearTimeout(f.current),f.current=null,m.current()):f.current||(f.current=setTimeout(()=>{f.current=null,m.current()},n)),i&&(clearTimeout(i),i=null),u&&(s&&clearTimeout(s),s=setTimeout(()=>{delete o[v],s=null,u=!1},Math.max(500,n)))},x=()=>{b(),h(),c||i||u?c||y():i=setTimeout(()=>{i=null,u=!0,y()},t)};return(0,r.useEffect)(()=>{m.current=p},[p]),(0,r.useEffect)(()=>()=>{f.current&&clearTimeout(f.current),o[v]&&delete o[v]},[v]),{isOpen:c,open:e=>{e||!(t>0)||f.current?y():x()},close:P}}({delay:_,closeDelay:F,isDisabled:z,defaultOpen:H,isOpen:R,onOpenChange:e=>{null==N||N(e),e||null==Q||Q()}}),eo=(0,r.useRef)(null),ea=(0,r.useRef)(null),eu=(0,r.useId)(),ei=el.isOpen&&!z;(0,r.useImperativeHandle)(O,()=>(0,C.fg)(ea));let{triggerProps:es,tooltipProps:ec}=function(e,t,n){let{isDisabled:l,trigger:o}=e,a=(0,f.Me)(),u=(0,r.useRef)(!1),i=(0,r.useRef)(!1),s=()=>{(u.current||i.current)&&t.open(i.current)},m=e=>{u.current||i.current||t.close(e)};(0,r.useEffect)(()=>{let e=e=>{n&&n.current&&"Escape"===e.key&&(e.stopPropagation(),t.close(!0))};if(t.isOpen)return document.addEventListener("keydown",e,!0),()=>{document.removeEventListener("keydown",e,!0)}},[n,t]);let h=()=>{i.current=!1,u.current=!1,m(!0)},{hoverProps:b}=(0,p.X)({isDisabled:l,onHoverStart:()=>{"focus"!==o&&("pointer"===(0,d.Jz)()?u.current=!0:u.current=!1,s())},onHoverEnd:()=>{"focus"!==o&&(i.current=!1,u.current=!1,m())}}),{focusableProps:y}=(0,v.kc)({isDisabled:l,onFocus:()=>{(0,d.E)()&&(i.current=!0,s())},onBlur:()=>{i.current=!1,u.current=!1,m(!0)}},n);return{triggerProps:{"aria-describedby":t.isOpen?a:void 0,...(0,c.d)(y,b,{onPointerDown:h,onKeyDown:h,tabIndex:void 0})},tooltipProps:{id:a}}}({isDisabled:z,trigger:I},el,eo),{tooltipProps:ed}=function(e,t){let n=(0,m.z)(e,{labelable:!0}),{hoverProps:r}=(0,p.X)({onHoverStart:()=>null==t?void 0:t.open(!0),onHoverEnd:()=>null==t?void 0:t.close()});return{tooltipProps:(0,c.d)(n,r,{role:"tooltip"})}}({isOpen:ei,...(0,c.d)(T,ec)},el),{overlayProps:ep,placement:ev,updatePosition:ef}
1=(0,h.t)({isOpen:ei,targetRef:eo,placement:(0,j.Yx)(A),overlayRef:ea,offset:G?L+3:L,crossOffset:V,shouldFlip:K,containerPadding:S});(0,w.G)(()=>{Z.length&&ef()},Z);let{overlayProps:em}=(0,b.I)({isOpen:ei,onClose:el.close,isDismissable:J,shouldCloseOnBlur:U,isKeyboardDismissDisabled:Y,shouldCloseOnInteractOutside:$},ea),eh=(0,r.useMemo)(()=>{var t,n,r;return(0,x.v)({...M,disableAnimation:er,radius:null!=(t=null==e?void 0:e.radius)?t:"md",size:null!=(n=null==e?void 0:e.size)?n:"md",shadow:null!=(r=null==e?void 0:e.shadow)?r:"sm"})},[(0,E.Xx)(M),er,null==e?void 0:e.radius,null==e?void 0:e.size,null==e?void 0:e.shadow]),eb=(0,r.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{...(0,c.d)(es,e),ref:(0,g.l)(t,eo),"aria-describedby":ei?eu:void 0}},[es,ei,eu,el]),ey=(0,r.useCallback)(()=>({ref:ea,"data-slot":"base","data-open":(0,E.PB)(ei),"data-arrow":(0,E.PB)(G),"data-disabled":(0,E.PB)(z),"data-placement":(0,j.sK)(ev||"top",A),...(0,c.d)(ed,em,en),style:(0,c.d)(ep.style,en.style,T.style),className:eh.base({class:null==et?void 0:et.base}),id:eu}),[eh,ei,G,z,ev,A,ed,em,en,ep,T,eu]),eP=(0,r.useCallback)(()=>({"data-slot":"content","data-open":(0,E.PB)(ei),"data-arrow":(0,E.PB)(G),"data-disabled":(0,E.PB)(z),"data-placement":(0,j.sK)(ev||"top",A),className:eh.content({class:(0,E.Wy)(null==et?void 0:et.content,q)})}),[eh,ei,G,z,ev,A,et]);return{Component:B||"div",content:X,children:D,isOpen:ei,triggerRef:eo,showArrow:G,portalContainer:W,placement:A,disableAnimation:er,isDisabled:z,motionProps:ee,getTooltipContentProps:eP,getTriggerProps:eb,getTooltipProps:ey}}({...e,ref:t});try{let e=r.Children.count(N);if(1!==e)throw Error();if((0,r.isValidElement)(N)){let e=null!=(n=N.props.ref)?n:N.ref;D=(0,r.cloneElement)(N,F(N.props,e))}else D=(0,R.jsx)("p",{...F(),children:N})}catch(e){D=(0,R.jsx)("span",{}),(0,E.ZK)("Tooltip must have only one child node. Please, check your code.")}let{ref:V,id:J,style:U,...W}=G(),Y=(0,R.jsx)("div",{ref:V,id:J,style:U,children:(0,R.jsx)(T.m.div,{animate:"enter",exit:"exit",initial:"exit",variants:B.y7.scaleSpring,...(0,c.d)(_,W),style:{...(0,j.VS)(S)},children:(0,R.jsx)(H,{...L(),children:z})},"".concat(J,"-tooltip-inner"))},"".concat(J,"-tooltip-content"));return(0,R.jsxs)(R.Fragment,{children:[D,A?I&&(0,R.jsx)(k.Xj,{portalContainer:K,children:(0,R.jsx)("div",{ref:V,id:J,style:U,...W,children:(0,R.jsx)(H,{...L(),children:z})})}):(0,R.jsx)(M.X,{features:X,children:(0,R.jsx)(O.M,{children:I&&(0,R.jsx)(k.Xj,{portalContainer:K,children:Y})})})]})});D.displayName="HeroUI.Tooltip";var H=D},57396:function(e,t,n){n.d(t,{N3:function(){return c},Xj:function(){return d}});var r=n(75524),l=n(19898),o=n(52203),a=n(77775);let u=l.createContext(null);function i(e){let{children:t}=e,n=(0,l.useContext)(u),[r,o]=(0,l.useState)(0),a=(0,l.useMemo)(()=>({parent:n,modalCount:r,addModal(){o(e=>e+1),n&&n.addModal()},removeModal(){o(e=>e-1),n&&n.removeModal()}}),[n,r]);return l.createElement(u.Provider,{value:a},t)}function s(e){let t;let{modalProviderProps:n}={modalProviderProps:{"aria-hidden":!!(t=(0,l.useContext)(u))&&t.modalCount>0||void 0}};return l.createElement("div",{"data-overlay-container":!0,...e,...n})}function c(e){return l.createElement(i,null,l.createElement(s,e))}function d(e){let t=(0,a.Av)(),{portalContainer:n=t?null:document.body,...u}=e,{getContainer:i}=(0,r.i8)();if(!e.portalContainer&&i&&(n=i()),l.useEffect(()=>{if(null==n?void 0:n.closest("[data-overlay-container]"))throw Error("An OverlayContainer must not be inside another container. Please change the portalContainer prop.")},[n]),!n)return null;let s=l.createElement(c,u);return o.createPortal(s,n)}}}]);
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.