try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="cc9206b0-e10b-4b6a-aeff-9be15550e5e4",e._sentryDebugIdIdentifier="sentry-dbid-cc9206b0-e10b-4b6a-aeff-9be15550e5e4")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7177,9962],{1047:(e,t,r)=>{"use strict";r.d(t,{default:()=>S});var n=r(99702),a=r(5628),s=r(50099),l=r(26294),o=r(43231),i=r.n(o),c=r(54442);let d=[{href:"/books",name:"Books",links:[{href:"/books",name:"My bestselling books",isBold:!0},{href:"/audiobooks",name:"Audiobooks"},{href:"/teachers",name:"For teachers"}]},{href:"/consulting",name:"Consulting",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:"/courses",name:"Courses"},{href:"/coaching",name:"Coaching"},{href:"https://calendly.com/lucadellanna/one-on-one",name:"Book a one-on-one consultation",isBold:!0}]},{href:"/blog",name:"Blog",links:[{href:"/blog",name:"All posts",isBold:!0},{href:"/podcasts",name:"Podcasts"},{href:"https://www.youtube.com/c/LucaDellannaChannel",name:"YouTube"}]},{href:"/newsletter",name:"Newsletter"},{href:"/contact",name:"Contact",links:[{href:"/about",name:"About Luca"},{href:"/media",name:"Media"},{href:"/contact",name:"Contact",isBold:!0}]}];(0,c.u6)(d);let u=(0,l.memo)(e=>{let{item:t,isLast:r}=e;return(0,n.jsx)(i(),{href:t.href,className:"".concat(r?"bg-primary text-white hover:text-white px-4 py-2 rounded-md font-bold":"group-hover:text-focus"," transition-colors duration-300 ").concat(t.isBold?"font-bold":""),"aria-label":t.links?"".concat(t.name," menu"):t.name,children:t.name})}),m=(0,l.memo)(e=>{let{links:t}=e;return(0,n.jsx)("div",{className:"absolute left-0 mt-2 w-48 bg-white border border-black rounded-md shadow-lg opacity-0 invisible group-hover:opacity-100 group-hover:visible transition-all duration-300",role:"menu","aria-label":"Dropdown menu",children:t.map(e=>(0,n.jsx)(i(),{href:e.href,className:"block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 ".concat(e.isBold?"font-bold":""),role:"menuitem","aria-label":e.name,children:e.name},e.name))})}),h=(0,l.memo)(()=>(0,n.jsx)("nav",{className:"hidden md:flex space-x-4","aria-label":"Desktop navigation",children:d.map((e,t)=>(0,n.jsxs)("div",{className:"group relative",children:[(0,n.jsx)(u,{item:e,isLast:t===d.length-1}),e.links&&(0,n.jsx)(m,{links:e.links})]},e.name))}));u.displayName="NavLink",m.displayName="DropdownMenu",h.displayName="DesktopMenu";var f=r(97369),x=r(9387);let g=(0,l.memo)(e=>{let{showExpandButton:t,isAtBottom:r}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"absolute bottom-2 right-2 text-muted ".concat(t&&!r?"":"hidden"),"aria-hidden":"true",children:(0,n.jsx)(f.A,{})}),(0,n.jsx)("div",{className:"absolute top-2 right-2 text-muted ".concat(t&&r?"":"hidden"),"aria-hidden":"true",children:(0,n.jsx)(x.A,{})})]})}),p=(0,l.memo)(e=>{let{item:t,onLinkClick:r}=e;return(0,n.jsxs)("div",{children:[(0,n.jsx)(i(),{href:t.href,className:"block px-3 py-2 rounded-md font-extrabold ".concat(t===d[d.length-1]?"bg-primary text-white hover:bg-primary-dark":""),onClick:r,"aria-label":t.links?"".concat(t.name," menu"):t.name,children:t.name}),t.links&&(0,n.jsx)("div",{className:"pl-4",role:"group","aria-label":"".concat(t.name," submenu"),children:t.links.map(e=>(0,n.jsx)(i(),{href:e.href,className:"block px-3 py-2 rounded-md text-sm ".concat(e.isBold?"font-semibold":""),onClick:r,"aria-label":e.name,children:e.name},e.name))})]})}),b=(0,l.memo)(e=>{let{onLinkClick:t,isOpen:r}=e,[a,s]=(0,l.useState)(!1),[o,i]=(0,l.useState)(!1),c=(0,l.useRef)(null),u=(0,l.useCallback)(()=>{if(!c.current)return;let e=c.current.scrollHeight;s(e>window.innerHeight-64)},[]),m=(0,l.useCallback)(()=>{if(!c.current)return;let{scrollTop:e,scrollHeight:t,clientHeight:r}=c.current;i(1>Math.abs(t-r-e))},[]);return(0,l.useEffect)(()=>{if(!r)return;let e=setTimeout(()=>{u(),m()},100);return()=>clearTimeout(e)},[r,u,m]),(0,l.useEffect)(()=>(window.addEventListener("resize",u),()=>window.removeEventListener("resize",u)),[u]),(0,l.useEffect)(()=>{let e=c.current;if(e)return e.addEventListener("scroll",m),()=>e.removeEventListener("scroll",m)},[m]),(0,n.jsxs)("div",{className:"relative block md:hidden",children:[(0,n.jsx)(g,{showExpandButton:a,isAtBottom:o}),(0,n.jsx)("div",{ref:c,className:"px-2 pt-2 pb-3 space-y-1 sm:px-3 shadow-lg max-h-[calc(100vh-64px)] overflow-y-auto",role:"menu","aria-label":"Mobile navigation menu",children:d.map(e=>(0,n.jsx)(p,{item:e,onLinkClick:t},e.name))})]})});g.displayName="ScrollIndicator",p.displayName="MenuItem",b.displayName="MobileMenu";var v=r(4672);let w=e=>{let{href:t,label:r,isLast:a}=e;return(0,n.jsx)("li",{className:"list-none m-0",children:(0,n.jsxs)("div",{className:"flex items-center justify-center",children:[(0,n.jsx)("svg",{className:"w-2 h-2 text-muted mx-2","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 6 10",children:(0,n.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"m1 9 4-4-4-4"})}),a?(0,n.jsx)("span",{className:"ml-1 text-xs font-medium text-gray-500",children:r}):(0,n.jsx)(i(),{href:t||"#",className:"ml-1 text-xs font-medium text-gray-700 hover:text-focus",children:r})]})})},y=()=>{let e=(0,v.usePathname)(),t=null==e?void 0:e.split("/").filter(Boolean);return!t||t.length<2?null:(0,n.jsx)("nav",{className:"flex ".concat("hidden md:block"),"aria-label":"Breadcrumb",children:(0,n.jsxs)("ul",{className:"inline-flex items-center justify-center mx-0",children:[!1,t.map((e,r)=>{let a="/".concat(t.slice(0,r+1).join("/")),s=r===t.length-1;return(0,n.jsx)(w,{href:a,label:e,isLast:s},e)})]})})};var j=r(2987);let k="Luca Dellanna",N=(0,l.memo)(()=>(0,n.jsxs)("div",{className:"flex items-center",children:[(0,n.jsxs)(i(),{href:"/",className:"flex items-center font-bold text-xl","aria-label":"".concat(k," home page"),children:[(0,n.jsx)(j.default,{src:"/luca.png",alt:"".concat(k," logo"),width:32,height:32,className:"rounded-full mr-2",priority:!0}),(0,n.jsx)("span",{children:k})]}),(0,n.jsx)(y,{})]}));N.displayName="NavBarLogo";let C="h-16",E=(0,l.memo)(e=>{let{isOpen:t,onClick:r}=e;return(0,n.jsx)("div",{className:"block md:hidden",children:(0,n.jsx)("button",{onClick:r,className:"no-button-style focus:outline-hidden focus:ring-0 w-6 h-6 rounded-full bg-white shadow-none","aria-label":t?"Close menu":"Open menu","aria-expanded":t,children:t?(0,n.jsx)(a.A,{size:24}):(0,n.jsx)(s.A,{size:24})})})}),L=(0,l.memo)(()=>{let[e,t]=(0,l.useState)(!1),r=(0,l.useCallback)(()=>{t(e=>!e)},[]),a=(0,l.useCallback)(()=>{t(!1)},[]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("nav",{className:"fixed top-0 left-0 right-0 bg-white z-50",role:"navigation",children:[(0,n.jsx)("div",{className:"w-full mx-auto px-4 sm:px-6 lg:px-8",children:(0,n.jsxs)("div",{className:"flex justify-between items-center ".concat(C),children:[(0,n.jsx)(N,{}),(0,n.jsx)(h,{}),(0,n.jsx)(E,{isOpen:e,onClick:r})]})}),e&&(0,n.jsx)(b,{onLinkClick:a,isOpen:e})]}),(0,n.jsx)("div",{className:C,"aria-hidden":"true"})]})});E.displayName="MobileMenuButton",L.displayName="Navbar";let S=L},3590:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(99702),a=r(26294),s=r(4672),l=r(71582);let o="exitPopupShown",i=e=>{let{children:t,delayMs:r=15e3,onClose:i}=e,[c,d]=(0,a.useState)(!1),[,u]=(0,a.useTransition)(),m=(0,s.useRouter)(),h=(0,s.usePathname)(),f=(0,a.useCallback)(()=>{d(!1),null==i||i()},[i]),x=(0,a.useCallback)(e=>{e.target===e.currentTarget&&f()},[f]),g=(0,a.useCallback)(e=>{"Escape"===e.key&&f()},[f]),p=(0,a.useCallback)(()=>{d(!0);try{localStorage.setItem(o,"true")}catch(e){l.K.warn("Unable to access localStorage:",e)}},[]),b=(0,a.useCallback)(()=>{u(()=>{p(),h&&m.push(h)})},[p,h,m]);return((0,a.useEffect)(()=>{if(c)return document.addEventListener("keydown",g),()=>{document.removeEventListener("keydown",g)}},[c,g]),(0,a.useEffect)(()=>{try{if(localStorage.getItem(o))return}catch(e){l.K.warn("Unable to access localStorage:",e)}let e=!1,t=0,n=!1,a=setTimeout(()=>{n=!0},r),s=t=>{t.clientY<=0&&!e&&n&&(e=!0,p())},i=()=>{!e&&n&&(e=!0,b())},c=()=>{let r=window.scrollY;r>t&&r>300&&!e&&n&&(e=!0,p()),t=r<=0?0:r},d=t=>{let r=t.touches[0];r&&r.clientY<10&&!e&&n&&(e=!0,p())};return document.addEventListener("mouseleave",s),window.addEventListener("popstate",i),window.addEventListener("scroll",c),document.addEventListener("touchmove",d),()=>{clearTimeout(a),document.removeEventListener("mouseleave",s),window.removeEventListener("popstate",i),window.removeEventListener("scroll",c),document.removeEventListener("touchmove",d)}},[r,p,b]),c)?(0,n.jsx)("div",{id:"exit-popup",className:"fixed inset-0 bg-black bg-opacity-60 flex items-center justify-center z-50",role:"dialog","aria-modal":"true","aria-label":"Exit popup","aria-describedby":"exit-popup-description",onClick:x,children:(0,n.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,n.jsx)("div",{id:"exit-popup-description",className:"sr-only",children:"Click outside or press Escape to close this popup"}),(0,n.jsx)("button",{onClick:f,className:"absolute top-2 right-2 text-gray-500 hover:text-gray-700 transition-colors","aria-label":"Close popup",children:(0,n.jsx)("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})}),t]})}):null}},15262:(e,t,r)=>{"use strict";r.d(t,{RandomSelector:()=>s});var n=r(99702),a=r(26294);function s(e){let{children:t}=e,r=(0,a.useMemo)(()=>{let e=a.Children.toArray(t),r=Math.floor(Math.random()*e.length);return e[r]},[t]);return(0,n.jsx)(n.Fragment,{children:r})}},15621:(e,t,r)=>{Promise.resolve().then(r.t.bind(r,43231,23)),Promise.resolve().then(r.t.bind(r,84792,23)),Promise.resolve().then(r.bind(r,86249)),Promise.resolve().then(r.bind(r,24340)),Promise.resolve().then(r.t.bind(r,82690,23)),Promise.resolve().then(r.t.bind(r,85674,23)),Promise.resolve().then(r.t.bind(r,78247,23)),Promise.resolve().then(r.t.bind(r,29555,23)),Promise.resolve().then(r.t.bind(r,80566,23)),Promise.resolve().then(r.bind(r,80835)),Promise.resolve().then(r.bind(r,99993)),Promise.resolve().then(r.bind(r,90514)),Promise.resolve().then(r.bind(r,67922)),Promise.resolve().then(r.bind(r,31372)),Promise.resolve().then(r.bind(r,3590)),Promise.resolve().then(r.bind(r,77921)),Promise.resolve().then(r.bind(r,1047)),Promise.resolve().then(r.bind(r,41035)),Promise.resolve().then(r.bind(r,15262)),Promise.resolve().then(r.bind(r,56679)),Promise.resolve().then(r.t.bind(r,90973,23)),Promise.resolve().then(r.bind(r,22050))},17581:(e,t,r)=>{"use strict";r.d(t,{$:()=>i});var n=r(99702);r(26294);var a=r(6466);let s={primary:"bg-primary !text-white hover:bg-primary-hover shadow-md hover:shadow-lg font-semibold focus:ring-2 focus:ring-primary focus:ring-offset-2",secondary:"bg-transparent !text-primary border border-primary hover:bg-primary hover:text-white hover:shadow-md focus:ring-2 focus:ring-primary focus:ring-offset-2",outline:"bg-transparent text-gray-700 border border-gray-300 hover:bg-gray-50 focus:ring-2 focus:ring-gray-300 focus:ring-offset-2",ghost:"bg-transparent text-gray-700 hover:bg-gray-100 focus:ring-2 focus:ring-gray-300 focus:ring-offset-2",danger:"bg-error !text-white hover:bg-error-hover shadow-md hover:shadow-lg font-semibold focus:ring-2 focus:ring-error focus:ring-offset-2"},l={sm:"px-3 py-1.5 text-sm rounded-md min-h-[32px]",md:"px-4 py-2 text-base rounded-md min-h-[40px]",lg:"px-6 py-3 text-lg rounded-lg min-h-[48px]"},o=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"w-4 h-4 border-2 border-current border-t-transparent rounded-full animate-spin","aria-hidden":"true"}),(0,n.jsx)("span",{children:"Loading..."})]});function i(e){let{children:t,className:r,variant:i="primary",size:c="md",disabled:d=!1,loading:u=!1,"aria-label":m}=e,h=(0,a.QP)("inline-flex items-center justify-center gap-2 transition-all duration-200","focus:outline-none disabled:opacity-50 disabled:cursor-not-allowed","hover:scale-105 active:scale-95 disabled:hover:scale-100","font-medium leading-none",s[i],l[c],r),f=d||u;if("href"in e){let{children:r,className:a,variant:s,size:l,disabled:i,loading:c,"aria-label":d,href:x,target:g,rel:p,onClick:b,...v}=e,w="_blank"===g?[...new Set(["noopener","noreferrer",...(p||"").split(" ")])].filter(Boolean).join(" "):p;return(0,n.jsx)("a",{href:f?void 0:x,className:h,target:f?void 0:g,rel:f?void 0:w,tabIndex:f?-1:void 0,onClick:f?e=>e.preventDefault():b,"aria-label":m,"aria-disabled":f,...v,children:u?o:t})}let{children:x,className:g,variant:p,size:b,disabled:v,loading:w,"aria-label":y,type:j="button",onClick:k,...N}=e;return(0,n.jsx)("button",{className:h,disabled:f,type:j,onClick:f?void 0:k,"aria-label":m,"aria-disabled":f,...N,children:u?o:t})}},22050:(e,t,r)=>{"use strict";r.d(t,{Providers:()=>c});var n=r(99702),a=r(83332),s=r(62552),l=r(26294);let o=e=>!!e&&(!!(0,s.I4)(e)||("string"==typeof e?e:e instanceof Error?e.message:String(e)).includes("/_vercel/speed-insights/vitals")||e instanceof CustomEvent&&"unhandledrejection"===e.type&&!e.reason),i=e=>e instanceof Error?{message:e.message,type:e.name}:e instanceof CustomEvent?{message:e.reason instanceof Error?e.reason.message:String(e.reason)||"Custom Event Error",type:"CustomEvent:".concat(e.type)}:"string"==typeof e?{message:e,type:"StringError"}:{message:String(e),type:"UnknownError"};function c(e){var t;let{children:r}=e;return t="GlobalProviders",(0,l.useEffect)(()=>{let e=history.pushState,t=history.replaceState;return history.pushState=function(t,r,n){if(n&&"string"==typeof n)try{if(n.startsWith("/"))return e.call(this,t,r,n);return new URL(n),e.call(this,t,r,n)}catch(e){console.warn("Invalid URL detected in pushState: ".concat(n),e);return}return e.call(this,t,r,n)},history.replaceState=function(e,r,n){if(n&&"string"==typeof n)try{if(n.startsWith("/"))return t.call(this,e,r,n);return new URL(n),t.call(this,e,r,n)}catch(e){console.warn("Invalid URL detected in replaceState: ".concat(n),e);return}return t.call(this,e,r,n)},()=>{history.pushState=e,history.replaceState=t}},[]),(0,l.useEffect)(()=>{let e=e=>{var t,r,n,a,s,l;if((null==(r=e.error)||null==(t=r.message)?void 0:t.includes("replaceState"))||(null==(a=e.error)||null==(n=a.message)?void 0:n.includes("pushState"))||(null==(l=e.error)||null==(s=l.message)?void 0:s.includes("SecurityError")))return console.warn("URL-related error caught:",e.error),e.preventDefault(),!1};return window.addEventListener("error",e),()=>window.removeEventListener("error",e)},[]),(0,l.useEffect)(()=>{let e=e=>{if(o(e.error))return void console.debug("Suppressed non-critical error:",e.error);let r=i(e.error);a.Cp(e.error,{extra:{componentName:t,timestamp:new Date().toISOString(),errorDetails:r},tags:{location:t,errorType:r.type}})},r=e=>{var r,n,s;let l="reason"in e?e.reason:e;if((null==l||null==(r=l.message)?void 0:r.includes("replaceState"))||(null==l||null==(n=l.message)?void 0:n.includes("pushState"))||(null==l||null==(s=l.message)?void 0:s.includes("SecurityError"))){console.warn("URL-related promise rejection caught:",l),"preventDefault"in e&&e.preventDefault();return}if(o(l)){console.debug("Suppressed non-critical promise rejection:",l),"preventDefault"in e&&e.preventDefault();return}let c=i(l);a.Cp(l,{extra:{componentName:t,promiseError:!0,timestamp:new Date().toISOString(),errorDetails:c},tags:{location:t,errorType:c.type}})};return window.addEventListener("error",e),window.addEventListener("unhandledrejection",r),()=>{window.removeEventListener("error",e),window.removeEventListener("unhandledrejection",r)}},[t]),(0,n.jsx)(n.Fragment,{children:r})}},29191:(e,t,r)=>{"use strict";r.d(t,{Zp:()=>c,aR:()=>d,bw:()=>u,wL:()=>m});var n=r(99702),a=r(26294),s=r(6466);let l={default:"bg-white",bordered:"bg-white border border-gray-300",shadow:"bg-white shadow-md border border-gray-300",elevated:"bg-white shadow-lg border border-gray-300"},o={none:"",sm:"p-2",md:"p-4",lg:"p-6"},i={none:"",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl"},c=a.forwardRef(function(e,t){let{children:r,className:a,as:c="div",href:d,onClick:u,variant:m="default",padding:h="md",rounded:f="lg",style:x}=e,g={className:(0,s.QP)("transition-all duration-200",l[m],o[h],i[f],a),...u&&{onClick:u},...d&&{href:d},...x&&{style:x},ref:t};return(0,n.jsx)(c,{...g,children:r})});function d(e){let{children:t,className:r,padding:a="md"}=e;return(0,n.jsx)("div",{className:(0,s.QP)("flex flex-col gap-1",o[a],r),children:t})}function u(e){let{children:t,className:r,padding:a="md",style:l}=e;return(0,n.jsx)("div",{className:(0,s.QP)("flex flex-col gap-2",o[a],r),style:l,children:t})}function m(e){let{children:t,className:r,padding:a="md"}=e;return(0,n.jsx)("div",{className:(0,s.QP)("flex items-center justify-between",o[a],r),children:t})}},32704:(e,t,r)=>{"use strict";r.d(t,{ReviewCard:()=>d});var n=r(99702),a=r(29191),s=r(2987);let l=(0,r(26294).memo)(function(e){var t;let{author:r}=e;if(!r)return null;let a=null==(t=r.image)?void 0:t.trim(),l=(null==a?void 0:a.startsWith("/"))?a:a?"/".concat(a):void 0;return(0,n.jsxs)("div",{className:"flex items-center flex-shrink-0 h-8 text-center",children:[l&&(0,n.jsx)("div",{className:"w-8 h-8 rounded-full border border-slate-400 overflow-hidden shrink-0",children:(0,n.jsx)(s.default,{src:l,alt:"Avatar of ".concat(r.name),width:32,height:32,sizes:"32px",quality:85,className:"w-full h-full object-cover"})}),(0,n.jsxs)("div",{className:"".concat(l?"ml-2":""," flex flex-col justify-center"),children:[(0,n.jsx)("p",{className:"my-0 text-xs leading-none",children:r.name}),r.description&&(0,n.jsx)("p",{className:"my-0 text-[10px] leading-3 text-muted mt-0.5",children:r.description})]})]})});var o=r(43744),i=r(6466);let c={carousel:{base:"w-52 md:w-72 h-48 cursor-pointer",bordered:"border border-border shadow-sm",borderless:"shadow-none"},books:{base:"w-48 md:w-64 h-40",bordered:"border border-border-strong shadow-md",borderless:"shadow-none"}};function d(e){let{review:t,showRating:r=!1,showBorder:s=!0,variant:d="carousel",className:u,onClick:m}=e,h=c[d],f="".concat(h.base," ").concat(s?h.bordered:h.borderless),x=t.content.length,g=(()=>{let e=Math.max(9,Math.min(16,16-(x-60)/8));return{className:"leading-tight tracking-tight",style:{fontSize:"".concat(e,"px"),lineHeight:"1.1"}}})();return(0,n.jsxs)(a.Zp,{variant:s?"bordered":"default",className:(0,i.QP)(f,"py-4 px-6 flex flex-col gap-3 h-full",u),onClick:m,children:[r&&t.rating&&(0,n.jsxs)("div",{className:"flex items-center justify-center gap-1 flex-shrink-0","aria-label":"Rating: ".concat(t.rating," out of 5 stars"),children:[[void 0,void 0,void 0,void 0,void 0].map((e,r)=>(0,n.jsx)(o.A,{className:"w-5 h-5 ".concat(r{"use strict";r.r(t),r.d(t,{default:()=>h});var n=r(99702),a=r(34084),s=r(31372),l=r(2987),o=r(76739),i=r(74902),c=r(30863);let d=()=>(0,n.jsxs)("div",{className:"mt-8 rounded-lg p-6 bg-muted/10 border border-muted/20",children:[(0,n.jsx)("p",{className:"font-semibold text-lg mb-6 text-center text-foreground",children:"In the welcome email, you will find:"}),(0,n.jsxs)("ul",{className:"space-y-4 w-full",children:[(0,n.jsxs)("li",{className:"flex items-start gap-4",children:[(0,n.jsx)("span",{className:"text-success text-xl flex-shrink-0 mt-0.5",children:"✔"}),(0,n.jsx)("span",{className:"text-base leading-relaxed text-foreground",children:"A guide on how to bring clarity to your teams"})]}),(0,n.jsxs)("li",{className:"flex items-start gap-4",children:[(0,n.jsx)("span",{className:"text-success text-xl flex-shrink-0 mt-0.5",children:"✔"}),(0,n.jsx)("span",{className:"text-base leading-relaxed text-foreground",children:'A 33% discount code for my book "Best Practices For Operational Excellence"'})]}),(0,n.jsxs)("li",{className:"flex items-start gap-4",children:[(0,n.jsx)("span",{className:"text-success text-xl flex-shrink-0 mt-0.5",children:"✔"}),(0,n.jsx)("span",{className:"text-base leading-relaxed text-foreground",children:"An archive of my top Twitter threads, including the ones marked with a ⭐️ that are my favorite"})]}),(0,n.jsxs)("li",{className:"flex items-start gap-4",children:[(0,n.jsx)("span",{className:"text-success text-xl flex-shrink-0 mt-0.5",children:"✔"}),(0,n.jsx)("span",{className:"text-base leading-relaxed text-foreground",children:'A digital copy of my book "The Employee Engagement Handbook", with plenty of concrete advice to increase talent retention and commitment'})]})]})]}),u=()=>(0,n.jsxs)("div",{id:"logo-reel",className:"mt-8",children:[(0,n.jsx)("p",{className:"text-center text-sm text-muted mb-4",children:"Part of my portfolio / trusted by leaders at"}),(0,n.jsx)("div",{className:"flex justify-center",children:(0,n.jsx)(a.ClientsGrid,{logos:i.c4})})]}),m=e=>{let{size:t}=e;return(0,n.jsxs)("div",{className:"flex flex-col lg:flex-row items-center gap-6 lg:gap-8 w-full max-w-2xl",children:[(0,n.jsxs)("div",{id:"headline-and-form",className:"flex-1 text-center lg:text-left",children:["lg"===t?(0,n.jsx)("h2",{className:"mb-3 text-2xl lg:text-3xl xl:text-4xl font-bold text-foreground",children:"Luca's newsletter"}):(0,n.jsx)("h3",{className:"mt-0 sm:mt-2 lg:mt-4 mb-3 text-xl lg:text-2xl font-bold text-foreground",children:"Luca's newsletter"}),(0,n.jsx)("p",{className:"text-sm text-muted mb-6 leading-relaxed",children:"You can expect 1-2 emails a month. Unsubscribe at any time."}),(0,n.jsx)("div",{id:"ck-form",className:"flex justify-center lg:justify-start",children:(0,n.jsx)(s.ConvertkitForm,{buttonText:"Join 25,000+ readers"})})]}),(0,n.jsx)(l.default,{src:"/luca-portrait.jpg",alt:"Luca Dellanna",height:180,width:120,className:"border border-border-strong rounded-lg hidden lg:block flex-shrink-0 shadow-md hover:shadow-lg transition-shadow duration-300",priority:"lg"===t})]})},h=function(e){let{size:t="lg",border:r=!0}=e,a=c.Y.filter(e=>e.object.includes("Luca"));return(0,n.jsxs)("section",{className:"w-full max-w-[calc(100vw-1rem)] sm:max-w-lg md:max-w-2xl lg:max-w-3xl mx-auto p-4 sm:p-6 lg:p-8 mt-4 mb-12 bg-white ".concat(r?"border widget-border rounded-lg shadow-lg hover:shadow-xl transition-shadow duration-300":""),children:[(0,n.jsx)("div",{className:"flex flex-col items-center justify-center mb-8",children:(0,n.jsx)(m,{size:t})}),(0,n.jsx)(o.ReviewsCarousel,{width:"lg",height:"sm",reviews:a,showRatings:!1,title:"They say about Luca"}),"lg"===t&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(d,{}),(0,n.jsx)(u,{})]})]})}},56679:(e,t,r)=>{"use strict";r.d(t,{SentryBreadcrumbTracker:()=>l});var n=r(4672),a=r(84506),s=r(26294);function l(e){let{pageTitle:t}=e,r=(0,n.usePathname)(),l=(0,n.useSearchParams)();return(0,s.useEffect)(()=>{let e=r+((null==l?void 0:l.toString())?"?".concat(l.toString()):"");a.jU.pageView(e,t)},[r,l,t]),null}},67922:(e,t,r)=>{"use strict";r.r(t),r.d(t,{VercelAnalytics:()=>l});var n=r(99702),a=r(65039),s=r(45942);function l(){return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.j,{}),(0,n.jsx)(s.b,{})]})}},76739:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ReviewsCarousel:()=>o});var n=r(99702),a=r(26294),s=r(32704);let l=(0,a.memo)(function(e){var t;let{review:r,showRating:l,showBorder:o,index:i,onCardClick:c}=e,d=(0,a.useCallback)(()=>c(i),[c,i]),u=(0,a.useCallback)(e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),c(i))},[c,i]);return(0,n.jsx)("div",{className:"w-52 md:w-72 h-48 shrink-0 flex snap-center","data-index":i,onClick:d,onKeyDown:u,role:"button",tabIndex:0,"aria-label":"Center review ".concat(i+1," of ").concat((null==(t=r.author)?void 0:t.name)||"anonymous"),children:(0,n.jsx)(s.ReviewCard,{review:r,showRating:l,showBorder:o,className:"h-full"})})}),o=(0,a.memo)(function(e){let{reviews:t,showRatings:r,title:s="Some reviews",width:o,height:i,showBorder:c=!0}=e,d=(0,a.useRef)(null),{isDragging:u,handleDragStart:m,handleDragEnd:h,handleDragMove:f}=(e=>{let[t,r]=(0,a.useState)(!1),n=(0,a.useRef)({x:0,scrollLeft:0}),s=(0,a.useCallback)(t=>{var a,s;e.current&&(r(!0),n.current={x:"touches"in t&&t.touches&&t.touches.length>0&&null!=(s=null==(a=t.touches[0])?void 0:a.clientX)?s:t.clientX,scrollLeft:e.current.scrollLeft})},[e]),l=(0,a.useCallback)(()=>{r(!1)},[]),o=(0,a.useCallback)(r=>{var a,s;if(!t||!e.current)return;r.preventDefault();let l="touches"in r&&r.touches&&r.touches.length>0&&null!=(s=null==(a=r.touches[0])?void 0:a.clientX)?s:r.clientX,o=n.current.x-l;e.current.scrollLeft=n.current.scrollLeft+o},[t,e]);return{isDragging:t,handleDragStart:s,handleDragEnd:l,handleDragMove:o}})(d),x=(0,a.useCallback)(e=>{if(d.current){let t=d.current.children[e];t&&t.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"})}},[d]),g=(0,a.useCallback)(e=>{if(!d.current)return;let t=d.current;t.scrollLeft;let r=t.clientWidth,n=t.querySelector(".carousel-item");if(!n)return;let a=n.getBoundingClientRect().width,s=(r-a*Math.floor(r/a))/(Math.floor(r/a)-1||1),l=a+s;"ArrowRight"===e.key?t.scrollBy({left:l,behavior:"smooth"}):"ArrowLeft"===e.key&&t.scrollBy({left:-l,behavior:"smooth"})},[]),p=(0,a.useCallback)(e=>t=>{(null==t?void 0:t.currentTarget)&&(null==t?void 0:t.target)&&(t.persist(),e(t))},[]),b=t.length<2,v=t.length<3&&"lg"===o;return(0,n.jsxs)("div",{className:"".concat("sm"===i?"mt-0 mb-0 p-0":"")+" p-4",children:[(0,n.jsx)("h3",{className:"text-xl font-semibold mb-4",children:s}),(0,n.jsx)("div",{className:"w-full relative",children:(0,n.jsx)("div",{className:"relative",onKeyDown:g,role:"region",tabIndex:0,"aria-label":"Reviews carousel - use arrow keys to navigate, or drag to scroll",children:(0,n.jsx)("div",{className:"mx-auto mb-4 relative overflow-x-scroll select-none\n max-w-[280px] sm:max-w-[380px] md:max-w-[420px] ".concat("lg"===o?"lg:max-w-[600px]":"","\n cursor-grab active:cursor-grabbing ").concat(b?"flex justify-center":"","\n scrollbar-hide h-48\n scroll-smooth snap-x snap-mandatory"),ref:d,onMouseDown:p(m),onMouseUp:p(h),onMouseLeave:p(h),onMouseMove:p(f),onTouchStart:p(m),onTouchEnd:p(h),onTouchMove:p(f),role:"region","aria-label":"Reviews carousel - drag to scroll or click on a review to center it","aria-live":"polite",children:(0,n.jsx)("div",{className:"flex space-x-4 md:space-x-6 h-full ".concat(v?"md:justify-center":""),children:t.map((e,t)=>(0,n.jsx)(l,{review:e,showRating:r,showBorder:c,index:t,onCardClick:x},"review-".concat(t)))})})})})]})})},77921:(e,t,r)=>{"use strict";r.d(t,{default:()=>s});var n=r(83332),a=r(26294);let s=function(){let e=(0,a.useRef)(new Set),t=(0,a.useCallback)(async t=>{if(!e.current.has(t.src)&&0===t.naturalWidth&&0===t.naturalHeight)try{let r=await fetch(t.src,{method:"HEAD"});if(404!==r.status)return;let a={src:t.src,message:"Image returned 404",timestamp:new Date().toISOString(),elementId:t.id||void 0,altText:t.alt||void 0,loadingStrategy:t.loading||void 0,viewport:{width:window.innerWidth,height:window.innerHeight}};e.current.add(t.src),n.wd("Image 404: ".concat(t.src),{level:"error",extra:{...a},tags:{imageHost:new URL(t.src).hostname,imageSize:"".concat(t.width,"x").concat(t.height),errorType:"404"}})}catch(e){console.debug("Could not verify image status:",t.src,e)}},[]);return(0,a.useEffect)(()=>{let r=e=>{let r=e.target;r instanceof HTMLImageElement&&t(r)},n=e.current;return document.addEventListener("error",r,{capture:!0,passive:!0}),()=>{document.removeEventListener("error",r,!0),n.clear()}},[t]),null}},80835:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AnalyticsProvider:()=>i});var n=r(99702),a=r(50817);let s=(0,a.default)(()=>Promise.resolve().then(r.bind(r,90514)).then(e=>({default:e.GoogleAnalyticsWrapper})),{loadableGenerated:{webpack:()=>[90514]},loading:()=>null}),l=(0,a.default)(()=>Promise.resolve().then(r.bind(r,67922)).then(e=>({default:e.VercelAnalytics})),{loadableGenerated:{webpack:()=>[67922]},loading:()=>null});(0,a.default)(()=>Promise.resolve().then(r.bind(r,80835)).then(e=>({default:e.AnalyticsProvider})),{loadableGenerated:{webpack:()=>[80835]},loading:()=>null}),(0,a.default)(()=>Promise.resolve().then(r.bind(r,99993)).then(e=>({default:e.ConsentBanner})),{loadableGenerated:{webpack:()=>[99993]},loading:()=>null});var o=r(99993);function i(){return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(l,{}),(0,n.jsx)(s,{}),(0,n.jsx)(o.ConsentBanner,{})]})}},84506:(e,t,r)=>{"use strict";r.d(t,{Nh:()=>i,jU:()=>s,qk:()=>l,r2:()=>o});var n=r(11377);function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"user",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"info",a=arguments.length>3?arguments[3]:void 0;n.Z({message:e,category:t,level:r,data:a?{...a,timestamp:Date.now()}:{timestamp:Date.now()}})}let s={pageView:(e,t)=>{a("Page viewed: ".concat(e),"navigation","info",{path:e,title:t,type:"page_view"})},routeChange:(e,t)=>{a("Route changed from ".concat(e," to ").concat(t),"navigation","info",{from:e,to:t,type:"route_change"})},externalLink:(e,t)=>{a("External link clicked: ".concat(e),"navigation","info",{url:e,context:t,type:"external_link"})}},l={buttonClick:(e,t)=>{a("Button clicked: ".concat(e),"ui","info",{buttonName:e,context:t,type:"button_click"})},formSubmit:(e,t,r)=>{a("Form ".concat(t?"successfully submitted":"submission failed",": ").concat(e),"user",t?"info":"warning",{formName:e,success:t,type:"form_submit",...r})},modalOpen:e=>{a("Modal opened: ".concat(e),"ui","info",{modalName:e,type:"modal_open"})},modalClose:e=>{a("Modal closed: ".concat(e),"ui","info",{modalName:e,type:"modal_close"})},searchQuery:(e,t)=>{a('Search performed: "'.concat(e,'"'),"user","info",{query:e,resultsCount:t,type:"search"})},fileDownload:(e,t)=>{a("File downloaded: ".concat(e),"user","info",{fileName:e,fileType:t,type:"file_download"})},emailSignup:(e,t,r)=>{a("Email signup ".concat(t?"successful":"failed",": ").concat(e),"user",t?"info":"warning",{formType:e,success:t,hasEmail:!!r,type:"email_signup"})}},o={bookView:(e,t)=>{a("Book viewed: ".concat(e),"user","info",{bookTitle:e,bookId:t,type:"book_view"})},buyButtonClick:(e,t)=>{a("Buy button clicked: ".concat(e),"user","info",{bookTitle:e,platform:t,type:"buy_button_click"})},courseEnrollment:(e,t)=>{a("Course enrollment ".concat(t?"successful":"failed",": ").concat(e),"user",t?"info":"warning",{courseName:e,success:t,type:"course_enrollment"})}},i={gameStart:e=>{a("Game started: ".concat(e),"user","info",{gameName:e,type:"game_start"})},gameEnd:(e,t,r)=>{a("Game ended: ".concat(e),"user","info",{gameName:e,score:t,duration:r,type:"game_end"})},gameAction:(e,t,r)=>{a("Game action: ".concat(t," in ").concat(e),"user","info",{gameName:e,action:t,...r,type:"game_action"})}}},90514:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GoogleAnalyticsWrapper:()=>l});var n=r(99702),a=r(26363);let s={gaId:"G-MQGC7LJZ33"};function l(e){let{gaId:t}=e,r=t||s.gaId;return r?(0,n.jsx)(a.GoogleAnalytics,{gaId:r}):null}},90973:()=>{},99993:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ConsentBanner:()=>o});var n=r(99702),a=r(26294),s=r(62489),l=r(22360);function o(e){let{className:t=""}=e,{setConsent:r,getConsent:o}=(0,l.s)(),[i,c]=(0,a.useState)(!1);return((0,a.useEffect)(()=>{s.config.analytics.consentBannerEnabled&&1&&null===localStorage.getItem("analytics-consent")&&c(!0)},[o]),i)?(0,n.jsx)("div",{className:"fixed bottom-0 left-0 right-0 bg-white border-t border-gray-200 p-4 shadow-lg z-50 ".concat(t),children:(0,n.jsx)("div",{className:"max-w-4xl mx-auto",children:(0,n.jsxs)("div",{className:"flex flex-col sm:flex-row items-start sm:items-center justify-between gap-4",children:[(0,n.jsxs)("div",{className:"flex-1",children:[(0,n.jsx)("h3",{className:"text-lg font-semibold text-gray-900 mb-2",children:"We value your privacy"}),(0,n.jsx)("p",{className:"text-sm text-muted",children:"We use cookies and analytics to improve your experience on our website. This helps us understand how visitors use our site and make it better for everyone."})]}),(0,n.jsxs)("div",{className:"flex gap-3",children:[(0,n.jsx)("button",{onClick:()=>{r(!1),c(!1)},className:"px-4 py-2 text-sm font-medium text-gray-700 bg-gray-100 hover:bg-gray-200 rounded-md transition-colors",children:"Decline"}),(0,n.jsx)("button",{onClick:()=>{r(!0),c(!1)},className:"px-4 py-2 text-sm font-medium text-white bg-primary hover:bg-primary-hover rounded-md transition-colors",children:"Accept"})]})]})})}):null}}},e=>{e.O(0,[8961,3231,6466,4792,2809,4850,8062,2360,4442,863,1677,9110,3947,7358],()=>e(e.s=15621)),_N_E=e.O()}]);