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]="bb7ca7ea-3bc7-4518-9738-23327603c08e",e._sentryDebugIdIdentifier="sentry-dbid-bb7ca7ea-3bc7-4518-9738-23327603c08e")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39],{10142:(e,t,l)=>{"use strict";l.r(t),l.d(t,{ReviewsCarousel:()=>o});var s=l(65183),r=l(24375),a=l(39812);let n=(0,r.memo)(function(e){var t;let{review:l,showRating:n,showBorder:o,index:c,onCardClick:i}=e,d=(0,r.useCallback)(()=>i(c),[i,c]),x=(0,r.useCallback)(e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),i(c))},[i,c]);return(0,s.jsx)("div",{className:"w-52 md:w-72 h-48 shrink-0 flex snap-center","data-index":c,onClick:d,onKeyDown:x,role:"button",tabIndex:0,"aria-label":"Center review ".concat(c+1," of ").concat((null==(t=l.author)?void 0:t.name)||"anonymous"),children:(0,s.jsx)(a.ReviewCard,{review:l,showRating:n,showBorder:o,className:"h-full"})})}),o=(0,r.memo)(function(e){let{reviews:t,showRatings:l,title:a="Some reviews",width:o,height:c,showBorder:i=!0}=e,d=(0,r.useRef)(null),{isDragging:x,handleDragStart:u,handleDragEnd:m,handleDragMove:h}=(e=>{let[t,l]=(0,r.useState)(!1),s=(0,r.useRef)({x:0,scrollLeft:0}),a=(0,r.useCallback)(t=>{var r,a;e.current&&(l(!0),s.current={x:"touches"in t&&t.touches&&t.touches.length>0&&null!=(a=null==(r=t.touches[0])?void 0:r.clientX)?a:t.clientX,scrollLeft:e.current.scrollLeft})},[e]),n=(0,r.useCallback)(()=>{l(!1)},[]),o=(0,r.useCallback)(l=>{var r,a;if(!t||!e.current)return;l.preventDefault();let n="touches"in l&&l.touches&&l.touches.length>0&&null!=(a=null==(r=l.touches[0])?void 0:r.clientX)?a:l.clientX,o=s.current.x-n;e.current.scrollLeft=s.current.scrollLeft+o},[t,e]);return{isDragging:t,handleDragStart:a,handleDragEnd:n,handleDragMove:o}})(d),f=(0,r.useCallback)(e=>{if(d.current){let t=d.current.children[e];t&&t.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"})}},[d]),g=(0,r.useCallback)(e=>{if(!d.current)return;let t=d.current;t.scrollLeft;let l=t.clientWidth,s=t.querySelector(".carousel-item");if(!s)return;let r=s.getBoundingClientRect().width,a=(l-r*Math.floor(l/r))/(Math.floor(l/r)-1||1),n=r+a;"ArrowRight"===e.key?t.scrollBy({left:n,behavior:"smooth"}):"ArrowLeft"===e.key&&t.scrollBy({left:-n,behavior:"smooth"})},[]),b=(0,r.useCallback)(e=>t=>{(null==t?void 0:t.currentTarget)&&(null==t?void 0:t.target)&&(t.persist(),e(t))},[]),w=t.length<2,v=t.length<3&&"lg"===o;return(0,s.jsxs)("div",{className:"".concat("sm"===c?"mt-0 mb-0 p-0":"")+" p-4",children:[(0,s.jsx)("h3",{className:"text-xl font-semibold mb-4",children:a}),(0,s.jsx)("div",{className:"w-full relative",children:(0,s.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,s.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(w?"flex justify-center":"","\n scrollbar-hide h-48\n scroll-smooth snap-x snap-mandatory"),ref:d,onMouseDown:b(u),onMouseUp:b(m),onMouseLeave:b(m),onMouseMove:b(h),onTouchStart:b(u),onTouchEnd:b(m),onTouchMove:b(h),role:"region","aria-label":"Reviews carousel - drag to scroll or click on a review to center it","aria-live":"polite",children:(0,s.jsx)("div",{className:"flex space-x-4 md:space-x-6 h-full ".concat(v?"md:justify-center":""),children:t.map((e,t)=>(0,s.jsx)(n,{review:e,showRating:l,showBorder:i,index:t,onCardClick:f},"review-".concat(t)))})})})})]})})},64626:(e,t,l)=>{Promise.resolve().then(l.t.bind(l,82212,23)),Promise.resolve().then(l.bind(l,66295))},66295:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>m});var s=l(65183),r=l(15376),a=l(36047),n=l(32812),o=l(10142),c=l(69266),i=l(49275);let d=()=>(0,s.jsxs)("div",{className:"mt-8 rounded-lg p-6 bg-muted/10 border border-muted/20",children:[(0,s.jsx)("p",{className:"font-semibold text-lg mb-6 text-center text-foreground",children:"In the welcome email, you will find:"}),(0,s.jsxs)("ul",{className:"space-y-4 w-full",children:[(0,s.jsxs)("li",{className:"flex items-start gap-4",children:[(0,s.jsx)("span",{className:"text-success text-xl flex-shrink-0 mt-0.5",children:"✔"}),(0,s.jsx)("span",{className:"text-base leading-relaxed text-foreground",children:"A guide on how to bring clarity to your teams"})]}),(0,s.jsxs)("li",{className:"flex items-start gap-4",children:[(0,s.jsx)("span",{className:"text-success text-xl flex-shrink-0 mt-0.5",children:"✔"}),(0,s.jsx)("span",{className:"text-base leading-relaxed text-foreground",children:'A 33% discount code for my book "Best Practices For Operational Excellence"'})]}),(0,s.jsxs)("li",{className:"flex items-start gap-4",children:[(0,s.jsx)("span",{className:"text-success text-xl flex-shrink-0 mt-0.5",children:"✔"}),(0,s.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,s.jsxs)("li",{className:"flex items-start gap-4",children:[(0,s.jsx)("span",{className:"text-success text-xl flex-shrink-0 mt-0.5",children:"✔"}),(0,s.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'})]})]})]}),x=()=>(0,s.jsxs)("div",{id:"logo-reel",className:"mt-8",children:[(0,s.jsx)("p",{className:"text-center text-sm text-muted mb-4",children:"Part of my portfolio / trusted by leaders at"}),(0,s.jsx)("div",{className:"flex justify-center",children:(0,s.jsx)(r.ClientsGrid,{logos:c.c4})})]}),u=e=>{let{size:t}=e;return(0,s.jsxs)("div",{className:"flex flex-col lg:flex-row items-center gap-6 lg:gap-8 w-full max-w-2xl",children:[(0,s.jsxs)("div",{id:"headline-and-form",className:"flex-1 text-center lg:text-left",children:["lg"===t?(0,s.jsx)("h2",{className:"mb-3 text-2xl lg:text-3xl xl:text-4xl font-bold text-foreground",children:"Luca's newsletter"}):(0,s.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,s.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,s.jsx)("div",{id:"ck-form",className:"flex justify-center lg:justify-start",children:(0,s.jsx)(a.ConvertkitForm,{buttonText:"Join 25,000+ readers"})})]}),(0,s.jsx)(n.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})]})},m=function(e){let{size:t="lg",border:l=!0}=e,r=i.Y.filter(e=>e.object.includes("Luca"));return(0,s.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 ".concat(l?"border border-border-strong rounded-lg shadow-lg hover:shadow-xl transition-shadow duration-300":""),children:[(0,s.jsx)("div",{className:"flex flex-col items-center justify-center mb-8",children:(0,s.jsx)(u,{size:t})}),(0,s.jsx)(o.ReviewsCarousel,{width:"lg",height:"sm",reviews:r,showRatings:!1,title:"They say about Luca"}),"lg"===t&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(d,{}),(0,s.jsx)(x,{})]})]})}}},e=>{e.O(0,[2382,1045,3998,8305,7319,9493,4661,9275,7150,435,3675,7358],()=>e(e.s=64626)),_N_E=e.O()}]);