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]="bdd40c9b-960f-4414-ad38-72d34558be9f",e._sentryDebugIdIdentifier="sentry-dbid-bdd40c9b-960f-4414-ad38-72d34558be9f")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[172,9470],{13986:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return i},getImageProps:function(){return o}});let l=r(60027),s=r(34282),a=r(39154),n=l._(r(3706));function o(e){let{props:t}=(0,s.getImgProps)(e,{defaultLoader:n.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],qualities:[25,50,75,85,100],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let i=a.Image},19059:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>x});var l=r(11824),s=r(78844),a=r(20188),n=r(76173),o=r(69991),i=r(40526),c=r(86439);let d=()=>(0,l.jsxs)("div",{className:"mt-8 rounded-lg p-6 bg-muted/10 border border-muted/20",children:[(0,l.jsx)("p",{className:"font-semibold text-lg mb-6 text-center text-foreground",children:"In the welcome email, you will find:"}),(0,l.jsxs)("ul",{className:"space-y-4 w-full",children:[(0,l.jsxs)("li",{className:"flex items-start gap-4",children:[(0,l.jsx)("span",{className:"text-success text-xl flex-shrink-0 mt-0.5",children:"✔"}),(0,l.jsx)("span",{className:"text-base leading-relaxed text-foreground",children:"A guide on how to bring clarity to your teams"})]}),(0,l.jsxs)("li",{className:"flex items-start gap-4",children:[(0,l.jsx)("span",{className:"text-success text-xl flex-shrink-0 mt-0.5",children:"✔"}),(0,l.jsx)("span",{className:"text-base leading-relaxed text-foreground",children:'A 33% discount code for my book "Best Practices For Operational Excellence"'})]}),(0,l.jsxs)("li",{className:"flex items-start gap-4",children:[(0,l.jsx)("span",{className:"text-success text-xl flex-shrink-0 mt-0.5",children:"✔"}),(0,l.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,l.jsxs)("li",{className:"flex items-start gap-4",children:[(0,l.jsx)("span",{className:"text-success text-xl flex-shrink-0 mt-0.5",children:"✔"}),(0,l.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,l.jsxs)("div",{id:"logo-reel",className:"mt-8",children:[(0,l.jsx)("p",{className:"text-center text-sm text-muted mb-4",children:"Part of my portfolio / trusted by leaders at"}),(0,l.jsx)("div",{className:"flex justify-center",children:(0,l.jsx)(s.ClientsGrid,{logos:i.c4})})]}),m=e=>{let{size:t}=e;return(0,l.jsxs)("div",{className:"flex flex-col lg:flex-row items-center gap-6 lg:gap-8 w-full max-w-2xl",children:[(0,l.jsxs)("div",{id:"headline-and-form",className:"flex-1 text-center lg:text-left",children:["lg"===t?(0,l.jsx)("h2",{className:"mb-3 text-2xl lg:text-3xl xl:text-4xl font-bold text-foreground",children:"Luca's newsletter"}):(0,l.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,l.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,l.jsx)("div",{id:"ck-form",className:"flex justify-center lg:justify-start",children:(0,l.jsx)(a.ConvertkitForm,{buttonText:"Join 25,000+ readers"})})]}),(0,l.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})]})},x=function(e){let{size:t="lg",border:r=!0}=e,s=c.Y.filter(e=>e.object.includes("Luca"));return(0,l.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(r?"border border-border-strong rounded-lg shadow-lg hover:shadow-xl transition-shadow duration-300":""),children:[(0,l.jsx)("div",{className:"flex flex-col items-center justify-center mb-8",children:(0,l.jsx)(m,{size:t})}),(0,l.jsx)(o.ReviewsCarousel,{width:"lg",height:"sm",reviews:s,showRatings:!1,title:"They say about Luca"}),"lg"===t&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(d,{}),(0,l.jsx)(u,{})]})]})}},26689:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});let l=(0,r(50458).A)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},29455:(e,t,r)=>{Promise.resolve().then(r.bind(r,19059))},41495:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});let l=(0,r(50458).A)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},50458:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var l=r(79100);let s=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},a=function(){for(var e=arguments.length,t=Array(e),r=0;r!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim()};var n={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let o=(0,l.forwardRef)((e,t)=>{let{color:r="currentColor",size:s=24,strokeWidth:o=2,absoluteStrokeWidth:i,className:c="",children:d,iconNode:u,...m}=e;return(0,l.createElement)("svg",{ref:t,...n,width:s,height:s,stroke:r,strokeWidth:i?24*Number(o)/Number(s):o,className:a("lucide",c),...!d&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(m)&&{"aria-hidden":"true"},...m},[...u.map(e=>{let[t,r]=e;return(0,l.createElement)(t,r)}),...Array.isArray(d)?d:[d]])}),i=(e,t)=>{let r=(0,l.forwardRef)((r,n)=>{let{className:i,...c}=r;return(0,l.createElement)(o,{ref:n,iconNode:t,className:a("lucide-".concat(s(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),"lucide-".concat(e),i),...c})});return r.displayName=s(e),r}},69991:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ReviewsCarousel:()=>o});var l=r(11824),s=r(79100),a=r(16799);let n=(0,s.memo)(function(e){var t;let{review:r,showRating:n,showBorder:o,index:i,onCardClick:c}=e,d=(0,s.useCallback)(()=>c(i),[c,i]),u=(0,s.useCallback)(e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),c(i))},[c,i]);return(0,l.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,l.jsx)(a.ReviewCard,{review:r,showRating:n,showBorder:o,className:"h-full"})})}),o=(0,s.memo)(function(e){let{reviews:t,showRatings:r,title:a="Some reviews",width:o,height:i,showBorder:c=!0}=e,d=(0,s.useRef)(null),{isDragging:u,handleDragStart:m,handleDragEnd:x,handleDragMove:f}=(e=>{let[t,r]=(0,s.useState)(!1),l=(0,s.useRef)({x:0,scrollLeft:0}),a=(0,s.useCallback)(t=>{var s,a;e.current&&(r(!0),l.current={x:"touches"in t&&t.touches&&t.touches.length>0&&null!=(a=null==(s=t.touches[0])?void 0:s.clientX)?a:t.clientX,scrollLeft:e.current.scrollLeft})},[e]),n=(0,s.useCallback)(()=>{r(!1)},[]),o=(0,s.useCallback)(r=>{var s,a;if(!t||!e.current)return;r.preventDefault();let n="touches"in r&&r.touches&&r.touches.length>0&&null!=(a=null==(s=r.touches[0])?void 0:s.clientX)?a:r.clientX,o=l.current.x-n;e.current.scrollLeft=l.current.scrollLeft+o},[t,e]);return{isDragging:t,handleDragStart:a,handleDragEnd:n,handleDragMove:o}})(d),h=(0,s.useCallback)(e=>{if(d.current){let t=d.current.children[e];t&&t.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"})}},[d]),g=(0,s.useCallback)(e=>{if(!d.current)return;let t=d.current;t.scrollLeft;let r=t.clientWidth,l=t.querySelector(".carousel-item");if(!l)return;let s=l.getBoundingClientRect().width,a=(r-s*Math.floor(r/s))/(Math.floor(r/s)-1||1),n=s+a;"ArrowRight"===e.key?t.scrollBy({left:n,behavior:"smooth"}):"ArrowLeft"===e.key&&t.scrollBy({left:-n,behavior:"smooth"})},[]),b=(0,s.useCallback)(e=>t=>{(null==t?void 0:t.currentTarget)&&(null==t?void 0:t.target)&&(t.persist(),e(t))},[]),w=t.length<2,p=t.length<3&&"lg"===o;return(0,l.jsxs)("div",{className:"".concat("sm"===i?"mt-0 mb-0 p-0":"")+" p-4",children:[(0,l.jsx)("h3",{className:"text-xl font-semibold mb-4",children:a}),(0,l.jsx)("div",{className:"w-full relative",children:(0,l.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,l.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(m),onMouseUp:b(x),onMouseLeave:b(x),onMouseMove:b(f),onTouchStart:b(m),onTouchEnd:b(x),onTouchMove:b(f),role:"region","aria-label":"Reviews carousel - drag to scroll or click on a review to center it","aria-live":"polite",children:(0,l.jsx)("div",{className:"flex space-x-4 md:space-x-6 h-full ".concat(p?"md:justify-center":""),children:t.map((e,t)=>(0,l.jsx)(n,{review:e,showRating:r,showBorder:c,index:t,onCardClick:h},"review-".concat(t)))})})})})]})})},76173:(e,t,r)=>{"use strict";r.d(t,{default:()=>s.a});var l=r(13986),s=r.n(l)},85942:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});let l=function(){for(var e,t,r=0,l="",s=arguments.length;r{"use strict";r.d(t,{A:()=>l});let l=(0,r(50458).A)("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]])}}]);