!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="e8557471-7de7-44d1-b7e5-759d53fe27c8",e._sentryDebugIdIdentifier="sentry-dbid-e8557471-7de7-44d1-b7e5-759d53fe27c8")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{48970:function(e,n,t){Promise.resolve().then(t.bind(t,54565)),Promise.resolve().then(t.bind(t,90496)),Promise.resolve().then(t.bind(t,77765)),Promise.resolve().then(t.bind(t,42239)),Promise.resolve().then(t.bind(t,62835)),Promise.resolve().then(t.bind(t,18286)),Promise.resolve().then(t.bind(t,48462)),Promise.resolve().then(t.bind(t,3667)),Promise.resolve().then(t.bind(t,19374)),Promise.resolve().then(t.bind(t,3365)),Promise.resolve().then(t.bind(t,84233)),Promise.resolve().then(t.bind(t,65298)),Promise.resolve().then(t.bind(t,41504)),Promise.resolve().then(t.bind(t,33854)),Promise.resolve().then(t.bind(t,37806)),Promise.resolve().then(t.bind(t,80357)),Promise.resolve().then(t.bind(t,15575)),Promise.resolve().then(t.bind(t,10126)),Promise.resolve().then(t.bind(t,84163)),Promise.resolve().then(t.bind(t,35176)),Promise.resolve().then(t.bind(t,78978)),Promise.resolve().then(t.bind(t,98210)),Promise.resolve().then(t.bind(t,63086)),Promise.resolve().then(t.bind(t,30802)),Promise.resolve().then(t.bind(t,32563)),Promise.resolve().then(t.bind(t,92718)),Promise.resolve().then(t.bind(t,5246)),Promise.resolve().then(t.bind(t,68653)),Promise.resolve().then(t.bind(t,69402)),Promise.resolve().then(t.bind(t,42630)),Promise.resolve().then(t.bind(t,10986)),Promise.resolve().then(t.bind(t,48554)),Promise.resolve().then(t.bind(t,80060)),Promise.resolve().then(t.bind(t,31582)),Promise.resolve().then(t.bind(t,62042)),Promise.resolve().then(t.bind(t,35868)),Promise.resolve().then(t.bind(t,83044)),Promise.resolve().then(t.bind(t,33708)),Promise.resolve().then(t.bind(t,63596)),Promise.resolve().then(t.t.bind(t,55372,23)),Promise.resolve().then(t.t.bind(t,5583,23)),Promise.resolve().then(t.t.bind(t,28730,23)),Promise.resolve().then(t.t.bind(t,7269,23)),Promise.resolve().then(t.t.bind(t,29247,23)),Promise.resolve().then(t.t.bind(t,42708,23)),Promise.resolve().then(t.bind(t,31696)),Promise.resolve().then(t.bind(t,20101)),Promise.resolve().then(t.bind(t,77763)),Promise.resolve().then(t.bind(t,42636)),Promise.resolve().then(t.t.bind(t,40636,23)),Promise.resolve().then(t.t.bind(t,90820,23)),Promise.resolve().then(t.t.bind(t,62977,23))},65505:function(e,n,t){"use strict";t.d(n,{ReviewsCarousel:function(){return m}});var s=t(63509),r=t(52322),o=t(86570),i=t(14129),l=t(60846),a=t(53371);let d=e=>{let{rating:n}=e;return(0,s.jsx)("div",{className:"flex mx-auto mb-2",children:[void 0,void 0,void 0,void 0,void 0].map((e,t)=>(0,s.jsx)(a.Z,{className:"w-5 h-5 ".concat(t{let{review:n,showRating:t,showBorder:r=!0}=e;return(0,s.jsx)(o.w,{className:"w-64 h-full ".concat(r?"border border-slate-500 shadow-md":"shadow-none"),children:(0,s.jsxs)(i.G,{children:[t&&n.rating&&(0,s.jsx)(d,{rating:n.rating}),(0,s.jsxs)("p",{className:"mb-4 text-center text-tiny",children:['"',n.content,'"']}),(0,s.jsxs)("div",{className:"flex mx-auto items-center align-bottom",children:[n.author.image&&(0,s.jsx)(l.h,{size:"sm",src:n.author.image,className:"border border-slate-400"}),(0,s.jsxs)("div",{className:"ml-2",children:[(0,s.jsx)("p",{className:"my-0 text-tiny",children:n.author.name}),n.author.description&&(0,s.jsx)("p",{className:"my-0 text-[10px] leading-3 text-slate-400",children:n.author.description})]})]})]})})},m=e=>{let{reviews:n,showRatings:t,title:o="Some reviews",width:i,height:l}=e,a=(0,r.useRef)(null),[d,m]=(0,r.useState)(!1),[h,u]=(0,r.useState)(!0),[x,b]=(0,r.useState)(!1),[v,f]=(0,r.useState)(0),[g,p]=(0,r.useState)(0),w=(0,r.useCallback)(()=>{if(a.current){let{scrollLeft:e,scrollWidth:n,clientWidth:t}=a.current;m(e>0),u(e{a.current&&a.current.scrollBy({left:"left"===e?-300:300,behavior:"smooth"})},[]),P=(0,r.useCallback)(e=>{a.current&&(b(!0),f(e.pageX-a.current.offsetLeft),p(a.current.scrollLeft))},[]),N=(0,r.useCallback)(()=>{b(!1)},[]),y=(0,r.useCallback)(e=>{if(!x||!a.current)return;e.preventDefault();let n=(e.pageX-a.current.offsetLeft-v)*2;a.current.scrollLeft=g-n},[x,v,g]);return(0,s.jsxs)("section",{className:"sm"===l?"mt-0 mb-0 p-0":"",children:[(0,s.jsx)("h3",{className:"text-2xl font-bold mb-4",children:o}),(0,s.jsxs)("div",{className:"w-full relative",children:[(0,s.jsx)("div",{className:"mx-auto mb-4 relative overflow-x-auto scrollbar-hide select-none\n max-w-[300px] sm:max-w-[380px] md:max-w-[420px] ".concat("lg"===i?"lg:max-w-[600px]":"","\n cursor-grab active:cursor-grabbing ").concat(n.length<2?"flex justify-center":""),ref:a,onScroll:w,onMouseDown:P,onMouseUp:N,onMouseLeave:N,onMouseMove:y,children:(0,s.jsx)("div",{className:"flex ".concat(n.length<3&&"lg"===i?"md:justify-center":""),children:n.map((e,r)=>(0,s.jsx)("div",{className:"w-64 flex-shrink-0 ".concat(n.length<2?"":"mr-8"),children:(0,s.jsx)(c,{review:e,showRating:t})},r))})}),(0,s.jsx)("button",{onClick:()=>j("left"),className:"absolute left-0 top-0 bottom-0 w-16 bg-transparent\n no-button-style shadow-none focus:ring-0 focus:outline-none active:bg-transparent border-none focus:border-none outline-none\n ".concat(d?"bg-gradient-to-r from-white to-transparent":"pointer-events-none"),"aria-label":"Scroll left"}),(0,s.jsx)("button",{onClick:()=>j("right"),className:"absolute right-0 top-0 bottom-0 w-16 bg-transparent\n no-button-style shadow-none focus:ring-0 focus:outline-none active:bg-transparent border-none focus:border-none outline-none\n ".concat(h?"bg-gradient-to-l from-white to-transparent":"pointer-events-none"),"aria-label":"Scroll right"})]})]})}},20101:function(e,n,t){"use strict";var s=t(63509),r=t(52322),o=t(28774);n.default=e=>{let{children:n}=e,[t,i]=(0,r.useState)(!1),[l,a]=(0,r.useState)(!1),d=(0,o.useRouter)();(0,r.useEffect)(()=>{if(localStorage.getItem("exitPopupShown"))return;let e=setTimeout(()=>{a(!0)},15e3),n=!1,t=0,s=e=>{e.clientY<=0&&!n&&l&&m()},r=()=>{!n&&l&&(m(),d.push(window.location.pathname))},o=()=>{let e=window.scrollY;e>t&&e>300&&!n&&l&&m(),t=e<=0?0:e},c=e=>{e.touches[0].clientY<10&&!n&&l&&m()},m=()=>{n=!0,i(!0),localStorage.setItem("exitPopupShown","true")};return document.addEventListener("mouseleave",s),window.addEventListener("popstate",r),window.addEventListener("scroll",o),document.addEventListener("touchmove",c),()=>{clearTimeout(e),document.removeEventListener("mouseleave",s),window.removeEventListener("popstate",r),window.removeEventListener("scroll",o),document.removeEventListener("touchmove",c)}},[d,l]);let c=()=>{i(!1)};return(0,s.jsx)(s.Fragment,{children:t&&(0,s.jsx)("div",{id:"exit-popup",className:"fixed inset-0 bg-black bg-opacity-60 flex items-center justify-center z-50",onClick:e=>{e.target===e.currentTarget&&c()},children:(0,s.jsxs)("div",{className:"relative bg-white p-4 sm:p-6 lg:p-8 rounded-lg max-h-[90vh] max-w-2xl w-full",children:[(0,s.jsx)("button",{onClick:c,className:"no-button-style fixed top-2 right-2 text-white bg-transparent items-center justify-right shadow-none",children:(0,s.jsx)("span",{className:"",children:"Close"})}),n]})})})}},77763:function(e,n,t){"use strict";var s=t(63509),r=t(52322),o=t(42895),i=t(55293);let l=new o.Gr({apiHost:"https://cdn.growthbook.io",clientKey:"sdk-Atx3g5VQeoYXjqsR",decryptionKey:i.env.NEXT_PUBLIC_GROWTHBOOK_DECRYPTION_KEY,trackingCallback:(e,n)=>{console.log("Viewed Experiment",{experimentId:e.key,variationId:n.key})}});n.default=e=>{let{children:n}=e;return(0,r.useEffect)(()=>{l.init().then(()=>{l.setURL(window.location.href),l.setAttributes({id:1048576*Math.random(),loggedIn:!1,employee:!1,browser:navigator.userAgent})})},[]),(0,s.jsx)(o.Ny,{growthbook:l,children:n})}},42636:function(e,n,t){"use strict";t.d(n,{default:function(){return b}});var s=t(63509),r=t(52322),o=t(80743),i=t(45042),l=t(39618),a=t(43397),d=t(28774),c=()=>{let e=(0,d.usePathname)(),n=null==e?void 0:e.split("/").filter(e=>""!==e);return(0,s.jsx)(s.Fragment,{children:n&&n.length>=2&&(0,s.jsx)("nav",{className:"flex ".concat("hidden md:block"),"aria-label":"Breadcrumb",children:(0,s.jsxs)("ul",{className:"inline-flex items-center space-x-1 md:space-x-3",children:[!1,n.map((e,t)=>{let r="/".concat(n.slice(0,t+1).join("/")),o=t===n.length-1;return(0,s.jsx)("li",{className:"list-none my-1",children:(0,s.jsxs)("div",{className:"flex items-center",children:[(0,s.jsx)("svg",{className:"w-2 h-2 text-gray-400 mx-1","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 6 10",children:(0,s.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"m1 9 4-4-4-4"})}),o?(0,s.jsx)("span",{className:"ml-1 text-tiny font-medium text-gray-500",children:e}):(0,s.jsx)(l.default,{href:r,className:"ml-1 text-tiny font-medium text-gray-700 hover:text-blue-600",children:e})]})},e)})]})})})};let m=()=>(0,s.jsxs)("div",{className:"flex items-center",children:[(0,s.jsxs)(l.default,{href:"/",className:"flex items-center font-bold text-xl",children:[(0,s.jsx)(a.default,{src:"/luca.png",alt:"Luca Dellanna",width:32,height:32,className:"rounded-full mr-2"}),(0,s.jsx)("span",{children:"Luca Dellanna"})]}),(0,s.jsx)(c,{})]}),h=[{href:"/books",name:"Books",links:[{href:"/teachers",name:"For teachers"}]},{href:"/consulting",name:"Services",links:[{href:"/consulting/business-leaders",name:"For business leaders"},{href:"/consulting/fund-managers",name:"For fund managers"},{href:"/consulting/individuals",name:"For individuals"},{href:"/ai",name:"Nail your AI initiative"},{href:"/coaching",name:"Coaching"}]},{href:"/blog",name:"Blog"},{href:"/newsletter",name:"Newsletter"},{href:"/contact",name:"Contact"}],u=()=>(0,s.jsx)("div",{className:"hidden md:flex space-x-4",children:h.map(e=>(0,s.jsxs)("div",{className:"group relative",children:[(0,s.jsx)(l.default,{href:e.href,className:"group-hover:text-gray-700 transition-colors duration-300",children:e.name}),e.links&&(0,s.jsx)("div",{className:"absolute left-0 mt-2 w-48 bg-white rounded-md shadow-lg opacity-0 invisible group-hover:opacity-100 group-hover:visible transition-all duration-300",children:e.links.map(e=>(0,s.jsx)(l.default,{href:e.href,className:"block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100",children:e.name},e.name))})]},e.name))}),x=e=>{let{onLinkClick:n}=e;return(0,s.jsx)("div",{className:"md:hidden",children:(0,s.jsx)("div",{className:"px-2 pt-2 pb-3 space-y-1 sm:px-3 shadow-lg",children:h.map(e=>(0,s.jsxs)("div",{children:[(0,s.jsx)(l.default,{href:e.href,className:"block px-3 py-2 rounded-md",onClick:n,children:e.name}),e.links&&(0,s.jsx)("div",{className:"pl-4",children:e.links.map(e=>(0,s.jsx)(l.default,{href:e.href,className:"block px-3 py-2 rounded-md text-sm",onClick:n,children:e.name},e.name))})]},e.name))})})};var b=()=>{let[e,n]=(0,r.useState)(!1);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("nav",{className:"fixed top-0 left-0 right-0 bg-white z-20",children:[(0,s.jsx)("div",{className:"w-full max-w-6xl mx-auto px-4 sm:px-6 lg:px-8",children:(0,s.jsxs)("div",{className:"flex justify-between items-center h-16",children:[(0,s.jsx)(m,{}),(0,s.jsx)(u,{}),(0,s.jsx)("div",{className:"md:hidden",children:(0,s.jsx)("button",{onClick:()=>{n(!e)},className:"no-button-style focus:outline-none focus:ring-0 w-6 h-6 rounded-full bg-white shadow-none",children:e?(0,s.jsx)(o.Z,{size:24}):(0,s.jsx)(i.Z,{size:24})})})]})}),e&&(0,s.jsx)(x,{onLinkClick:()=>{n(!1)}})]}),(0,s.jsx)("div",{className:"h-16"})]})}},40636:function(){},90820:function(){},62977:function(){}},function(e){e.O(0,[767,758,682,326,812,1,834,880,255,322,345,738,347,696,244,4,414,744],function(){return e(e.s=48970)}),_N_E=e.O()}]);