PageSourceSearch

https://www.foross.no/_next/static/chunks/2gc80t_q96t8s.js

js foross.no collected 2026-09-24 20:15:12 UTC 19,797 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,747412,e=>{"use strict";var t=e.i(868089),o=e.i(761980);let l=new WeakMap;e.s(["onCloseMap",0,l,"useCloseOnScroll",0,function(e){let{triggerRef:n,isOpen:r,onClose:i}=e;(0,o.useEffect)(()=>{if(!r||null===i)return;let e=e=>{let o=(0,t.getEventTarget)(e);if(!n.current||o instanceof Node&&!(0,t.nodeContains)(o,n.current)||o instanceof HTMLInputElement||o instanceof HTMLTextAreaElement)return;let r=i||l.get(n.current);r&&r()};return window.addEventListener("scroll",e,!0),()=>{window.removeEventListener("scroll",e,!0)}},[r,i,n])}])},580389,e=>{"use strict";e.s(["getArrowPlacement",0,(e,t)=>{if(t.includes("-")){let[,o]=t.split("-");return`${e}-${o}`}return e},"getShouldUseAxisPlacement",0,(e,t)=>{if(t.includes("-")){let[o]=t.split("-");if(o.includes(e))return!1}return!0},"getTransformOrigins",0,e=>{let t={top:{originY:1},bottom:{originY:0},left:{originX:1},right:{originX:0},"top-start":{originX:0,originY:1},"top-end":{originX:1,originY:1},"bottom-start":{originX:0,originY:0},"bottom-end":{originX:1,originY:0},"right-start":{originX:0,originY:0},"right-end":{originX:0,originY:1},"left-start":{originX:1,originY:0},"left-end":{originX:1,originY:1}};return(null==t?void 0:t[e])||{}},"toReactAriaPlacement",0,e=>({top:"top",bottom:"bottom",left:"left",right:"right","top-start":"top start","top-end":"top end","bottom-start":"bottom start","bottom-end":"bottom end","left-start":"left top","left-end":"left bottom","right-start":"right top","right-end":"right bottom"})[e]])},35237,e=>{"use strict";var t=e.i(25600),o=e.i(369149),l=e.i(868089);let n={top:"top",bottom:"top",left:"left",right:"left"},r={top:"bottom",bottom:"top",left:"right",right:"left"},i={top:"left",left:"top"},s={top:"height",left:"width"},a={width:"totalWidth",height:"totalHeight"},u={};function c(e,o){var l,n,r,i,s;let a=0,u=0,c=0,d=0,p=0,f=0,m={},g=(null!=(l=null==o?void 0:o.scale)?l:1)>1;if("BODY"===e.tagName||"HTML"===e.tagName){let t=document.documentElement;c=t.clientWidth,d=t.clientHeight,a=null!=(n=null==o?void 0:o.width)?n:c,u=null!=(r=null==o?void 0:o.height)?r:d,m.top=t.scrollTop||e.scrollTop,m.left=t.scrollLeft||e.scrollLeft,o&&(p=o.offsetTop,f=o.offsetLeft)}else({width:a,height:u,top:p,left:f}=h(e,!1)),m.top=e.scrollTop,m.left=e.scrollLeft,c=a,d=u;return(0,t.isWebKit)()&&("BODY"===e.tagName||"HTML"===e.tagName)&&g&&(m.top=0,m.left=0,p=null!=(i=null==o?void 0:o.pageTop)?i:0,f=null!=(s=null==o?void 0:o.pageLeft)?s:0),{width:a,height:u,totalWidth:c,totalHeight:d,scroll:m,top:p,left:f}}function d(e,t,o,l,r,i,a){var u;let c=null!=(u=r.scroll[e])?u:0,d=l[s[e]],p=a[e]+l.scroll[n[e]]+i,f=a[e]+l.scroll[n[e]]+d-i,m=t-c+l.scroll[n[e]]+a[e]-l[n[e]],g=t-c+o+l.scroll[n[e]]+a[e]-l[n[e]];return m<p?p-m:g>f?Math.max(f-g,p-m):0}function p(e){if(u[e])return u[e];let[t,o]=e.split(" "),l=n[t]||"right",r=i[l];n[o]||(o="center");let a=s[l],c=s[r];return u[e]={placement:t,crossPlacement:o,axis:l,crossAxis:r,size:a,crossSize:c},u[e]}function f(e,t,l,n,i,s,u,c,d,p,f){var m,g,h,v,w;let{placement:b,crossPlacement:y,axis:T,crossAxis:P,size:x,crossSize:E}=n,C={};C[P]=null!=(m=e[P])?m:0,"center"===y?C[P]+=((null!=(g=e[E])?g:0)-(null!=(h=l[E])?h:0))/2:y!==P&&(C[P]+=(null!=(v=e[E])?v:0)-(null!=(w=l[E])?w:0)),C[P]+=s;let O=e[P]-l[E]+d+p,L=e[P]+e[E]-d-p;if(C[P]=(0,o.clamp)(C[P],O,L),b===T){let t=c?f[x]:f[a[x]];C[r[T]]=Math.floor(t-e[T]+i)}else C[T]=Math.floor(e[T]+e[x]+i);return C}function m(e,t,o,l,n,i,s,a){var u,c,d,p;let{placement:f,axis:m,size:g}=i;return f===m?Math.max(0,o[m]-(null!=(u=s.scroll[m])?u:0)-(e[m]+(a?t[m]:0))-(null!=(c=l[m])?c:0)-l[r[m]]-n):Math.max(0,e[g]+e[m]+(a?t[m]:0)-o[m]-o[g]+(null!=(d=s.scroll[m])?d:0)-(null!=(p=l[m])?p:0)-l[r[m]]-n)}function g(e,t){let{top:o,left:l,width:n,height:r}=e.getBoundingClientRect();return t&&e instanceof e.ownerDocument.defaultView.HTMLElement&&(n=e.offsetWidth,r=e.offsetHeight),{top:o,left:l,width:n,height:r}}function h(e,t){let{top:o,left:l,width:n,height:r}=g(e,t),{scrollTop:i,scrollLeft:s,clientTop:a,clientLeft:u}=document.documentElement;return{top:o+i-a,left:l+s-u,width:n,height:r}}
1function v(e,t,o){let l,n=window.getComputedStyle(e);if("fixed"===n.position)l=g(e,o);else{l=h(e,o);let n=h(t,o),r=window.getComputedStyle(t);n.top+=(parseInt(r.borderTopWidth,10)||0)-t.scrollTop,n.left+=(parseInt(r.borderLeftWidth,10)||0)-t.scrollLeft,l.top-=n.top,l.left-=n.left}return l.top-=parseInt(n.marginTop,10)||0,l.left-=parseInt(n.marginLeft,10)||0,l}function w(e){let t=window.getComputedStyle(e);return"none"!==t.transform||/transform|perspective/.test(t.willChange)||"none"!==t.filter||"paint"===t.contain||"backdropFilter"in t&&"none"!==t.backdropFilter||"WebkitBackdropFilter"in t&&"none"!==t.WebkitBackdropFilter}e.s(["calculatePosition",0,function(e){var t,i,s,u;let b,y,{placement:T,targetNode:P,overlayNode:x,scrollNode:E,padding:C,shouldFlip:O,boundaryElement:L,offset:R,crossOffset:A,maxHeight:H,arrowSize:M=0,arrowBoundaryOffset:S=0}=e,z="u">typeof document?window.visualViewport:null,I=x instanceof HTMLElement?function(e){let t=e.offsetParent;if(t&&t===document.body&&"static"===window.getComputedStyle(t).position&&!w(t)&&(t=document.documentElement),null==t)for(t=e.parentElement;t&&!w(t);)t=t.parentElement;return t||document.documentElement}(x):document.documentElement,N=I===document.documentElement,B=window.getComputedStyle(I).position,k=N?h(P,!1):v(P,I,!1);if(!N){let{marginTop:e,marginLeft:t}=window.getComputedStyle(P);k.top+=parseInt(e,10)||0,k.left+=parseInt(t,10)||0}let j=h(x,!0),D={top:parseInt((b=window.getComputedStyle(x)).marginTop,10)||0,bottom:parseInt(b.marginBottom,10)||0,left:parseInt(b.marginLeft,10)||0,right:parseInt(b.marginRight,10)||0};j.width+=(null!=(t=D.left)?t:0)+(null!=(i=D.right)?i:0),j.height+=(null!=(s=D.top)?s:0)+(null!=(u=D.bottom)?u:0),E.scrollTop,E.scrollLeft,E.scrollWidth,E.scrollHeight;let Y=c(L,z),F=c(I,z);if("BODY"!==L.tagName&&"HTML"!==L.tagName||N)y=("BODY"===L.tagName||"HTML"===L.tagName)&&N?{top:0,left:0,width:0,height:0}:v(L,I,!1);else{let e=g(I,!1);y={top:-(e.top-Y.top),left:-(e.left-Y.left),width:0,height:0}}return function(e,t,l,i,s,u,c,g,h,v,w,b,y,T,P,x,E){var C,O,L,R,A,H,M,S,z,I,N,B,k,j,D,Y;let F,W,X,V=p(e),{size:$,crossAxis:U,crossSize:K,placement:_,crossPlacement:q}=V,G=f(t,c,l,V,v,w,h,b,T,P,g),J=v,Q=m(c,h,t,i,s+v,V,g,x);if(u&&l[$]>Q){let e=p(`${r[_]} ${q}`),o=f(t,c,l,e,v,w,h,b,T,P,g);m(c,h,t,i,s+v,e,g,x)>Q&&(V=e,G=o,J=v)}let Z="bottom";"top"===V.axis?"top"===V.placement?Z="top":"bottom"===V.placement&&(Z="bottom"):"top"===V.crossAxis&&("top"===V.crossPlacement?Z="bottom":"bottom"===V.crossPlacement&&(Z="top"));
1let ee=d(U,G[U],l[K],c,g,s,h);G[U]+=ee;let et=(A=G,H=l.height,M=Z,F=(null!=A.top?A.top:g[a.height]-(null!=(S=A.bottom)?S:0)-H)-(null!=(z=g.scroll.top)?z:0),W=x?h.top:0,X={top:Math.max(c.top+W,(null!=(I=null==E?void 0:E.offsetTop)?I:c.top)+W),bottom:Math.min(c.top+c.height+W,(null!=(N=null==E?void 0:E.offsetTop)?N:0)+(null!=(B=null==E?void 0:E.height)?B:0))},"top"!==M?Math.max(0,X.bottom-F-((null!=(k=i.top)?k:0)+(null!=(j=i.bottom)?j:0)+s)):Math.max(0,F+H-X.top-((null!=(D=i.top)?D:0)+(null!=(Y=i.bottom)?Y:0)+s)));y&&y<et&&(et=y),l.height=Math.min(l.height,et),ee=d(U,(G=f(t,c,l,V,J,w,h,b,T,P,g))[U],l[K],c,g,s,h),G[U]+=ee;let eo={},el=t[U]-G[U]-i[n[U]],en=el+.5*t[K],er=T/2+P,ei="left"===n[U]?(null!=(C=i.left)?C:0)+(null!=(O=i.right)?O:0):(null!=(L=i.top)?L:0)+(null!=(R=i.bottom)?R:0),es=l[K]-ei-T/2-P,ea=t[U]+T/2-(G[U]+i[n[U]]),eu=t[U]+t[K]-T/2-(G[U]+i[n[U]]),ec=(0,o.clamp)(en,ea,eu);eo[U]=(0,o.clamp)(ec,er,es),({placement:_,crossPlacement:q}=V),T?el=eo[U]:"right"===q?el+=t[K]:"center"===q&&(el+=t[K]/2);let ed="left"===_||"top"===_?l[$]:0,ep={x:"top"===_||"bottom"===_?el:ed,y:"left"===_||"right"===_?el:ed};return{position:G,maxHeight:et,arrowOffsetLeft:eo.left,arrowOffsetTop:eo.top,placement:_,triggerAnchorPoint:ep}}(T,k,j,D,C,O,Y,F,y,R,A,!!B&&"static"!==B,H,M,S,(0,l.nodeContains)(L,I),z)},"getRect",0,g])},283408,e=>{"use strict";var t=e.i(35237),o=e.i(747412),l=e.i(868089),n=e.i(435815),r=e.i(625428),i=e.i(761980);function s(e){let{ref:t,box:o,onResize:l}=e,n=(0,r.useEffectEvent)(l);(0,i.useEffect)(()=>{let e=null==t?void 0:t.current;if(e)if(void 0===window.ResizeObserver)return window.addEventListener("resize",n,!1),()=>{window.removeEventListener("resize",n,!1)};else{let t=new window.ResizeObserver(e=>{e.length&&n()});return t.observe(e,{box:o}),()=>{e&&t.unobserve(e)}}},[t,o])}var a=e.i(263519);let u="u">typeof document?window.visualViewport:null;e.s(["useOverlayPosition",0,function(e){var r,c,d,p;let{direction:f}=(0,a.useLocale)(),{arrowSize:m,targetRef:g,overlayRef:h,arrowRef:v,scrollRef:w=h,placement:b="bottom",containerPadding:y=12,shouldFlip:T=!0,boundaryElement:P="u">typeof document?document.body:null,offset:x=0,crossOffset:E=0,shouldUpdatePosition:C=!0,isOpen:O=!0,onClose:L,maxHeight:R,arrowBoundaryOffset:A=0}=e,[H,M]=(0,i.useState)(null),S=[C,b,h.current,g.current,null==v?void 0:v.current,w.current,y,T,P,x,E,O,f,R,A,m],z=(0,i.useRef)(null==u?void 0:u.scale);(0,i.useEffect)(()=>{O&&(z.current=null==u?void 0:u.scale)},[O]);let I=(0,i.useCallback)(()=>{var e,o,n,r,i,s;if(!1===C||!O||!h.current||!g.current||!P||(null==u?void 0:u.scale)!==z.current)return;let a=null;if(w.current&&(0,l.isFocusWithin)(w.current)){let t=null==(e=(0,l.getActiveElement)())?void 0:e.getBoundingClientRect(),r=w.current.getBoundingClientRect();(a={type:"top",offset:(null!=(o=null==t?void 0:t.top)?o:0)-r.top}).offset>r.height/2&&(a.type="bottom",a.offset=(null!=(n=null==t?void 0:t.bottom)?n:0)-r.bottom)}let c=h.current;!R&&h.current&&(c.style.top="0px",c.style.bottom="",c.style.maxHeight=(null!=(i=null==(r=window.visualViewport)?void 0:r.height)?i:window.innerHeight)+"px");let d=(0,t.calculatePosition)({placement:(s=b,"rtl"===f?s.replace("start","right").replace("end","left"):s.replace("start","left").replace("end","right")),overlayNode:h.current,targetNode:g.current,scrollNode:w.current||h.current,padding:y,shouldFlip:T,boundaryElement:P,offset:x,crossOffset:E,maxHeight:R,arrowSize:null!=m?m:(null==v?void 0:v.current)?(0,t.getRect)(v.current,!0).width:0,arrowBoundaryOffset:A});if(!d.position)return;c.style.top="",c.style.bottom="",c.style.left="",c.style.right="",Object.keys(d.position).forEach(e=>c.style[e]=d.position[e]+"px"),c.style.maxHeight=null!=d.maxHeight?d.maxHeight+"px":"";let p=(0,l.getActiveElement)();if(a&&p&&w.current){let e=p.getBoundingClientRect(),t=w.current.getBoundingClientRect(),o=e[a.type]-t[a.type];w.current.scrollTop+=o-a.offset}M(d)},S);(0,n.useLayoutEffect)(I,S),p=I,(0,n.useLayoutEffect)(()=>(window.addEventListener("resize",p,!1),()=>{window.removeEventListener("resize",p,!1)}),[p]),s({ref:h,onResize:I}),s({ref:g,onResize:I});let N=(0,i.useRef)(!1);(0,n.useLayoutEffect)(()=>{let e,t=()=>
1{N.current=!0,clearTimeout(e),e=setTimeout(()=>{N.current=!1},500),I()},o=()=>{N.current&&t()};return null==u||u.addEventListener("resize",t),null==u||u.addEventListener("scroll",o),()=>{null==u||u.removeEventListener("resize",t),null==u||u.removeEventListener("scroll",o)}},[I]);let B=(0,i.useCallback)(()=>{N.current||null==L||L()},[L,N]);return(0,o.useCloseOnScroll)({triggerRef:g,isOpen:O,onClose:L&&B}),{overlayProps:{style:{position:H?"absolute":"fixed",top:H?void 0:0,left:H?void 0:0,zIndex:1e5,...null==H?void 0:H.position,maxHeight:null!=(r=null==H?void 0:H.maxHeight)?r:"100vh"}},placement:null!=(c=null==H?void 0:H.placement)?c:null,triggerAnchorPoint:null!=(d=null==H?void 0:H.triggerAnchorPoint)?d:null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:null==H?void 0:H.arrowOffsetLeft,top:null==H?void 0:H.arrowOffsetTop}},updatePosition:I}}],283408)},426735,261550,309741,e=>{"use strict";var t=e.i(761980),o=e.i(503025);let l={},n=0,r=!1,i=null,s=null;e.s(["useTooltipTriggerState",0,function(e={}){let{delay:a=1500,closeDelay:u=500}=e,{isOpen:c,open:d,close:p}=(0,o.useOverlayTriggerState)(e),f=(0,t.useMemo)(()=>`${++n}`,[]),m=(0,t.useRef)(null),g=(0,t.useRef)(p),h=()=>{l[f]=b},v=()=>{for(let e in l)e!==f&&(l[e](!0),delete l[e])},w=()=>{m.current&&clearTimeout(m.current),m.current=null,v(),h(),r=!0,d(),i&&(clearTimeout(i),i=null),s&&(clearTimeout(s),s=null)},b=e=>{e||u<=0?(m.current&&clearTimeout(m.current),m.current=null,g.current()):m.current||(m.current=setTimeout(()=>{m.current=null,g.current()},u)),i&&(clearTimeout(i),i=null),r&&(s&&clearTimeout(s),s=setTimeout(()=>{delete l[f],s=null,r=!1},Math.max(500,u)))};return(0,t.useEffect)(()=>{g.current=p},[p]),(0,t.useEffect)(()=>()=>{m.current&&clearTimeout(m.current),l[f]&&delete l[f]},[f]),{isOpen:c,open:e=>{e||!(a>0)||m.current?w():(v(),h(),c||r?c||w():(i&&clearTimeout(i),i=setTimeout(()=>{i=null,r=!0,w()},a)))},close:b}}],426735);var a=e.i(453133),u=e.i(548081),c=e.i(834201);e.s(["useTooltip",0,function(e,t){let o=(0,a.filterDOMProps)(e,{labelable:!0}),{hoverProps:l}=(0,c.useHover)({onHoverStart:()=>null==t?void 0:t.open(!0),onHoverEnd:()=>null==t?void 0:t.close()});return{tooltipProps:(0,u.mergeProps)(o,l,{role:"tooltip"})}}],261550);var d=e.i(306981),p=e.i(405718),f=e.i(441961);e.s(["useTooltipTrigger",0,function(e,o,l){let{isDisabled:n,trigger:r,shouldCloseOnPress:i=!0}=e,s=(0,f.useId)(),a=(0,t.useRef)(!1),m=(0,t.useRef)(!1),g=()=>{(a.current||m.current)&&o.open(m.current)},h=e=>{a.current||m.current||o.close(e)};(0,t.useEffect)(()=>{let e=e=>{l&&l.current&&"Escape"===e.key&&(e.stopPropagation(),o.close(!0))};if(o.isOpen)return document.addEventListener("keydown",e,!0),()=>{document.removeEventListener("keydown",e,!0)}},[l,o]);let v=()=>{i&&(m.current=!1,a.current=!1,h(!0))},{hoverProps:w}=(0,c.useHover)({isDisabled:n,onHoverStart:()=>{"focus"!==r&&("pointer"===(0,d.getInteractionModality)()?a.current=!0:a.current=!1,g())},onHoverEnd:()=>{"focus"!==r&&(m.current=!1,a.current=!1,h())}}),{focusableProps:b}=(0,p.useFocusable)({isDisabled:n,onFocus:()=>{(0,d.isFocusVisible)()&&(m.current=!0,g())},onBlur:()=>{m.current=!1,a.current=!1,h(!0)}},l);return{triggerProps:{"aria-describedby":o.isOpen?s:void 0,...(0,u.mergeProps)(b,w,{onPointerDown:v,onKeyDown:v}),tabIndex:void 0},tooltipProps:{id:s}}}],309741)},674222,e=>{"use strict";var t=e.i(766975),o=e.i(761980),l=e.i(579503),n=e.i(973124);let r=o.default.createContext(null);function i(e){let{children:t}=e,l=(0,o.useContext)(r),[n,i]=(0,o.useState)(0),s=(0,o.useMemo)(()=>({parent:l,modalCount:n,addModal(){i(e=>e+1),l&&l.addModal()},removeModal(){i(e=>e-1),l&&l.removeModal()}}),[l,n]);return o.default.createElement(r.Provider,{value:s},t)}function s(e){let t,{modalProviderProps:l}={modalProviderProps:{"aria-hidden":!!(t=(0,o.useContext)(r))&&t.modalCount>0||void 0}};return o.default.createElement("div",{"data-overlay-container":!0,...e,...l})}function a(e){return o.default.createElement(i,null,o.default.createElement(s,e))}e.s(["OverlayContainer",0,function(e){let r=(0,n.useIsSSR)(),{portalContainer:i=r?null:d
1ocument.body,...s}=e,{getContainer:u}=(0,t.useUNSAFE_PortalContext)();if(!e.portalContainer&&u&&(i=u()),o.default.useEffect(()=>{if(null==i?void 0:i.closest("[data-overlay-container]"))throw Error("An OverlayContainer must not be inside another container. Please change the portalContainer prop.")},[i]),!i)return null;let c=o.default.createElement(a,s);return l.default.createPortal(c,i)},"OverlayProvider",0,a])},972263,e=>{"use strict";var t=e.i(761980),o=e.i(426735),l=e.i(261550),n=e.i(309741),r=e.i(283408),i=e.i(445263),s=e.i(819728),a=e.i(645706),u=e.i(919393),c=e.i(608949),d=e.i(444600),p=e.i(391864),f=e.i(580389),m=e.i(921656),g=e.i(252019),h=e.i(674222),v=e.i(648535),w=e.i(182158),b=e.i(574665),y=e.i(885173),T=e.i(246129),P=()=>e.A(15709).then(e=>e.default),x=(0,i.forwardRef)((e,x)=>{var E;let C,{Component:O,children:L,content:R,isOpen:A,portalContainer:H,placement:M,disableAnimation:S,motionProps:z,getTriggerProps:I,getTooltipProps:N,getTooltipContentProps:B}=function(e){var h,v;let w=(0,s.useProviderContext)(),[b,y]=(0,i.mapPropsVariants)(e,a.popover.variantKeys),{ref:T,as:P,isOpen:x,content:E,children:C,defaultOpen:O,onOpenChange:L,isDisabled:R,trigger:A,shouldFlip:H=!0,containerPadding:M=12,placement:S="top",delay:z=0,closeDelay:I=500,showArrow:N=!1,offset:B=7,crossOffset:k=0,isDismissable:j,shouldCloseOnBlur:D=!0,portalContainer:Y,isKeyboardDismissDisabled:F=!1,updatePositionDeps:W=[],shouldCloseOnInteractOutside:X,className:V,onClose:$,motionProps:U,classNames:K,..._}=b,q=null!=(v=null!=(h=null==e?void 0:e.disableAnimation)?h:null==w?void 0:w.disableAnimation)&&v,G=(0,o.useTooltipTriggerState)({delay:z,closeDelay:I,isDisabled:R,defaultOpen:O,isOpen:x,onOpenChange:e=>{null==L||L(e),e||null==$||$()}}),J=(0,t.useRef)(null),Q=(0,t.useRef)(null),Z=(0,t.useId)(),ee=G.isOpen&&!R;(0,t.useImperativeHandle)(T,()=>(0,p.createDOMRef)(Q));let{triggerProps:et,tooltipProps:eo}=(0,n.useTooltipTrigger)({isDisabled:R,trigger:A},G,J),{tooltipProps:el}=(0,l.useTooltip)({isOpen:ee,...(0,c.mergeProps)(b,eo)},G),{overlayProps:en,placement:er,updatePosition:ei}=(0,r.useOverlayPosition)({isOpen:ee,targetRef:J,placement:(0,f.toReactAriaPlacement)(S),overlayRef:Q,offset:N?B+3:B,crossOffset:k,shouldFlip:H,containerPadding:M});(0,m.useSafeLayoutEffect)(()=>{W.length&&ei()},W);let{overlayProps:es}=(0,g.useAriaOverlay)({isOpen:ee,onClose:G.close,isDismissable:j,shouldCloseOnBlur:D,isKeyboardDismissDisabled:F,shouldCloseOnInteractOutside:X},Q),ea=(0,t.useMemo)(()=>{var t,o,l;return(0,a.popover)({...y,disableAnimation:q,radius:null!=(t=null==e?void 0:e.radius)?t:"md",size:null!=(o=null==e?void 0:e.size)?o:"md",shadow:null!=(l=null==e?void 0:e.shadow)?l:"sm"})},[(0,c.objectToDeps)(y),q,null==e?void 0:e.radius,null==e?void 0:e.size,null==e?void 0:e.shadow]),eu=(0,t.useCallback)((e={},t=null)=>({...(0,c.mergeProps)(et,e),ref:(0,d.mergeRefs)(t,J),"aria-describedby":ee?Z:void 0}),[et,ee,Z,G]),ec=(0,t.useCallback)(()=>({ref:Q,"data-slot":"base","data-open":(0,c.dataAttr)(ee),"data-arrow":(0,c.dataAttr)(N),"data-disabled":(0,c.dataAttr)(R),"data-placement":(0,f.getArrowPlacement)(er||"top",S),...(0,c.mergeProps)(el,es,_),style:(0,c.mergeProps)(en.style,_.style,b.style),className:ea.base({class:null==K?void 0:K.base}),id:Z}),[ea,ee,N,R,er,S,el,es,_,en,b,Z]),ed=(0,t.useCallback)(()=>({"data-slot":"content","data-open":(0,c.dataAttr)(ee),"data-arrow":(0,c.dataAttr)(N),"data-disabled":(0,c.dataAttr)(R),"data-placement":(0,f.getArrowPlacement)(er||"top",S),className:ea.content({class:(0,u.cn)(null==K?void 0:K.content,V)})}),[ea,ee,N,R,er,S,K]);return{Component:P||"div",content:E,children:C,isOpen:ee,triggerRef:J,showArrow:N,portalContainer:Y,placement:S,disableAnimation:q,isDisabled:R,motionProps:U,getTooltipContentProps:ed,getTriggerProps:eu,getTooltipProps:ec}}({...e,ref:x});try{let e=t.Children.count(L);if(1!==e)throw Error();if((0,t.isValidElement)(L)){let e=null!=(E=L.props.ref)?E:L.ref;C=(0,t.cloneElement)(L,I(L.props,e))}else C=(0,T.jsx)("p",{...I(),children:L})}catch{C=(0,T.jsx)("span",{}),(0,c.warn)("Tooltip must have only one child node. Please, check your code.")}let{ref:k,id:j,style:D,...Y}=N(),F=(0,T.jsx)("div",{ref:k,id:j,style:D,children:(0,T.jsx)(w.m.div,{animate:"enter",exit:"exit",initial:"exit",variants:y.TRANSITION_VARIANTS.scaleSpring,...(0,c.mergeProps)(z,Y),style:{...(0,f.getTransformOrigins)(M)},children:(0,T.jsx)(O,{...B(),children:R})},`${j}-tooltip-inner`)},`${j}-tooltip-content`);return(0,T.jsxs)(T.Fragment,{children:[C,S?A&&(0,T.jsx)(h.OverlayContainer,{portalContainer:H,children:(0,T.jsx)("div",{ref:k,id:j,style:D,...Y,children:(0,T.jsx)(O,{...B(),children:R})})}):(0,T.jsx)(b.LazyMotion,{features:P,children:(0,T.jsx)(v.AnimatePresence,{children:A&&(0,T.jsx)(h.OverlayContainer,{portalContainer:H,children:F})})})]})});x.displayName="HeroUI.Tooltip",e.s(["Tooltip",0,x],972263)}]);

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.