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]="7663c045-8ee9-4856-a67d-d53f1a9139af",e._sentryDebugIdIdentifier="sentry-dbid-7663c045-8ee9-4856-a67d-d53f1a9139af")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5858],{1625:(e,t,s)=>{"use strict";s.d(t,{default:()=>c});var r=s(99702),a=s(17581);let n=(0,s(30414).A)("twitter",[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]]);var l=s(26294),i=s(4672);let o=(0,l.memo)(e=>{let{title:t="Principle",text:s}=e,l=(0,i.usePathname)(),o=encodeURIComponent("".concat("https://Luca-Dellanna.com").concat(l)),c=((e,t)=>{let s=t?"".concat(t,": ").concat(e):e,r=s.length>200?"".concat(s.slice(0,200),"..."):s;return encodeURIComponent('"'.concat(r,'" by @DellannaLuca\n'))})(s,t);return(0,r.jsxs)("div",{className:"blog-frame text-center text-balance",children:[(0,r.jsx)("h4",{className:"font-bold mt-0 mb-4",children:t}),(0,r.jsx)("p",{children:(0,r.jsx)("strong",{children:s})}),(0,r.jsxs)(a.$,{onClick:()=>{window.open("https://twitter.com/intent/tweet?text=".concat(c,"&url=").concat(o),"_blank","noopener,noreferrer")},variant:"primary",size:"sm",className:"mt-4 bg-twitter text-white hover:bg-twitter-hover",children:[(0,r.jsx)(n,{size:16,className:"text-white fill-current"}),"Share on Twitter"]})]})});o.displayName="Principle";let c=o},6399:(e,t,s)=>{"use strict";s.d(t,{j:()=>g});var r=s(99702),a=s(29191),n=s(26294),l=s(70052),i=s(2987);let o=(0,n.memo)(function(e){let{title:t}=e,s={width:200,height:40,alt:"Decorative laurel image",className:"mx-auto",sizes:"(max-width: 768px) 200px, 200px",quality:85};return(0,r.jsxs)("div",{className:"max-w-[200px] mx-2",children:[(0,r.jsx)(i.default,{src:"/top-laurel.png",...s,alt:"Top decorative laurel image"}),(0,r.jsx)("p",{className:"text-center text-balance text-xs mb-0",children:t}),(0,r.jsx)(i.default,{src:"/bottom-laurel.png",...s,alt:"Bottom decorative laurel image"})]})});var c=s(32704),d=s(76739),m=s(30863);let u=(0,n.memo)(function(e){var t,s;let{book:a,variant:l="default",className:i=""}=e,{bookReviews:u,hasReviews:x,hasLaurels:h}=(0,n.useMemo)(()=>{var e;let t=m.Y.filter(e=>{var t;return null==(t=e.object)?void 0:t.some(e=>null==e?void 0:e.toLowerCase().includes(a.title.toLowerCase()))});return{bookReviews:t,hasReviews:t.length>0,hasLaurels:!!(null==(e=a.laurels)?void 0:e.length)}},[a.title,a.laurels]);if(!x&&!h)return null;if("showcase"===l)return(0,r.jsxs)("div",{className:"w-full flex flex-col items-center justify-center overflow-hidden ".concat(i),children:[x&&(0,r.jsx)("div",{className:"w-full flex justify-center",children:(0,r.jsx)("div",{className:"w-full max-w-[260px] sm:max-w-[360px] md:max-w-[400px]",children:(0,r.jsx)(d.ReviewsCarousel,{reviews:u,showRatings:!0,width:"sm",height:"sm"})})}),!x&&h&&(0,r.jsx)("div",{className:"flex items-center justify-center min-h-48",role:"list","aria-label":"Book laurels",children:null==(t=a.laurels)?void 0:t.map((e,t)=>(0,r.jsx)(o,{title:e},"".concat(a.slug,"-laurel-").concat(t)))})]});if(h)return(0,r.jsx)("div",{className:"mx-auto my-8 flex ".concat(i),children:null==(s=a.laurels)?void 0:s.map((e,t)=>(0,r.jsx)(o,{title:e},"laurel-".concat(e,"-").concat(t)))});if(x&&u[0]){let e=u[0];return(0,r.jsx)("div",{className:"mx-auto my-2 ".concat(i),children:(0,r.jsx)(c.ReviewCard,{review:e,showRating:!0,variant:"books"})})}return null});var x=s(19087),h=s(43231),p=s.n(h);let f=(0,n.memo)(function(e){let{book:t,priority:s=!1}=e;return(0,r.jsx)("div",{className:"flex justify-center",children:(0,r.jsx)(p(),{href:"/books/".concat(t.slug),children:(0,r.jsx)(i.default,{src:t.coverSrc,alt:"Cover of ".concat(t.title),width:200,height:300,priority:s,className:"rounded-lg shadow-lg hover:shadow-xl transition-shadow duration-300 border border-gray-500"})})})}),g=(0,n.memo)(e=>{let{book:t,priority:s=!1,borderStyle:n="strong"}=e;return(0,r.jsx)("div",{id:t.slug,className:"w-full max-w-3xl mx-auto flex flex-col space-y-2 overflow-hidden",children:(0,r.jsx)(a.Zp,{variant:"strong"===n?"elevated":"bordered",padding:"none",className:"w-full !py-3 sm:!py-4 md:!py-6 border-gray-500",children:(0,r.jsxs)(a.bw,{padding:"none",children:[(0,r.jsx)(x.G,{book:t,variant:"showcase"}),(0,r.jsxs)("div",{className:"w-full flex flex-col md:flex-row space-y-2 md:space-y-0 md:space-x-8 items-center mt-4",children:[(0,r.jsx)("div",{className:"flex justify-center md:w-1/2",children:(0,r.jsx)(f,{book:t,priority:s})}),(0,r.jsxs)("div",{className:"md:w-1/2",children:[(0,r.jsx)(u,{book:t,variant:"showcase"}),(0,r.jsx)(l.J,{book:t,variant:"showcase"})]})]})]})})})});f.displayName="BookCover",g.displayName="BookShowcase"},19087:(e,t,s)=>{"use strict";s.d(t,{G:()=>a});var r=s(99702);let a=(0,s(26294).memo)(function(e){let{book:t,variant:s="default",className:a="",showDescription:n=!0,showEdition:l=!0}=e;return"hero"===s?(0,r.jsxs)("div",{className:"px-4 mb-4 ".concat(a),children:[(0,r.jsx)("h1",{className:"mt-0 mb-4",children:t.title}),(0,r.jsxs)("div",{className:"flex flex-col gap-2 justify-center items-center",children:[n&&(0,r.jsx)("p",{className:"text-sm",children:t.shortDescription}),l&&t.edition&&(0,r.jsx)("p",{className:"text-xs italic",children:t.edition})]})]}):"showcase"===s?(0,r.jsxs)("div",{className:a,children:[(0,r.jsx)("h3",{className:"text-center",children:t.title}),n&&(0,r.jsx)("p",{className:"text-sm text-center text-balance mx-4 max-w-2xl",children:t.shortDescription})]}):(0,r.jsx)("div",{className:a,children:(0,r.jsx)("h3",{children:t.title})})})},21462:(e,t,s)=>{"use strict";function r(e){if(!(null==e?void 0:e.trim()))throw Error("Non-empty string is required for slugify");return e.trim().toLowerCase().replace(/[^a-z0-9 -]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-").replace(/^-+|-+$/g,"")}s.d(t,{Y:()=>r})},23501:(e,t,s)=>{"use strict";s.d(t,{default:()=>c});var r=s(99702),a=s(83332),n=s(22604),l=s(26294),i=s(56992);let o=(0,l.memo)(function(e){let{error:t,resetErrorBoundary:s,componentName:l}=e,i=(0,n.Qk)(t);return(0,n.A)(t)&&t.isUserFriendly||a.Cp(t,{extra:{componentName:l||"unknown",errorType:t.name,errorMessage:t.message,errorStack:t.stack},tags:{location:l||"unknown",errorType:t.name}}),(0,r.jsxs)("div",{role:"alert",className:"p-4 border border-error rounded-lg bg-error-light max-w-xl mx-auto my-8",children:[(0,r.jsx)("h2",{className:"text-lg font-semibold text-red-800 mb-2",children:"Oops! Something went wrong"}),(0,r.jsx)("p",{className:"text-red-700 mb-4",children:i}),!1,(0,r.jsx)("button",{onClick:s,className:"px-4 py-2 bg-error text-white rounded-sm hover:bg-error-hover transition-colors",children:"Try again"})]})}),c=(0,l.memo)(function(e){let{children:t,componentName:s,fallback:a=o,onError:n}=e,c=(0,l.useCallback)(e=>(0,r.jsx)(a,{...e,componentName:s}),[a,s]);return(0,r.jsx)(i.ErrorBoundary,{FallbackComponent:c,onError:(e,t)=>{n&&n(e,t),console.error("Error in ".concat(s||"component",":"),e,t)},children:t})})},23749:(e,t,s)=>{"use strict";s.d(t,{ExercisesClient:()=>p});var r=s(99702),a=s(30414);let n=(0,a.A)("check-check",[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]]),l=(0,a.A)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);var i=s(40392),o=s(44528),c=s(26294);function d(e){let{onClick:t,isPressed:s}=e;return(0,r.jsxs)("button",{type:"button",onClick:t,className:"inline-flex items-center gap-1.5 text-xs font-medium rounded-lg px-3 py-1.5 shadow-sm transition-all duration-300 ease-out ".concat(s?"bg-success-light border border-success-border text-green-700 shadow-md scale-95":"text-muted hover:text-gray-900 bg-white/90 backdrop-blur-sm border border-gray-200/80 hover:border-gray-300 hover:shadow-md hover:bg-white active:scale-95"),"aria-label":"Copy exercises",title:"Copy exercises",children:[s?(0,r.jsx)(n,{size:12}):(0,r.jsx)(l,{size:12}),(0,r.jsx)("span",{className:"hidden xs:inline sm:inline",children:s?"Copied!":"Copy"})]})}function m(e){let{onClick:t,isPressed:s}=e;return(0,r.jsxs)("button",{type:"button",onClick:t,className:"inline-flex items-center gap-1.5 text-xs font-medium rounded-lg px-3 py-1.5 shadow-sm transition-all duration-300 ease-out ".concat(s?"bg-success-light border border-success-border text-green-700 shadow-md scale-95":"text-muted hover:text-gray-900 bg-white/90 backdrop-blur-sm border border-gray-200/80 hover:border-gray-300 hover:shadow-md hover:bg-white active:scale-95"),"aria-label":"Copy link",title:"Copy link",children:[s?(0,r.jsx)(n,{size:12}):(0,r.jsx)(i.A,{size:12}),(0,r.jsx)("span",{className:"hidden xs:inline sm:inline",children:s?"Copied!":"Link"})]})}function u(e){let{checked:t,onChange:s,index:a}=e;return(0,r.jsxs)("div",{className:"relative flex-shrink-0 w-5 h-5 checkbox-align",children:[(0,r.jsx)("input",{type:"checkbox",checked:t,onChange:s,className:"sr-only","aria-label":"Mark exercise ".concat(a+1," as completed")}),(0,r.jsxs)("div",{className:"relative w-5 h-5 bg-white border-2 rounded-md cursor-pointer transition-all duration-300 ease-out ".concat(t?"border-primary shadow-md scale-105":"border-gray-300 hover:border-gray-400 hover:shadow-sm"),children:[(0,r.jsx)(o.A,{size:16,className:"absolute inset-0 m-auto transition-all duration-300 ease-out ".concat(t?"text-primary opacity-100 scale-110":"text-gray-800 opacity-0"),strokeWidth:4}),(0,r.jsx)("div",{className:"absolute inset-0 rounded-md bg-gradient-to-br from-white/20 to-transparent transition-opacity duration-300 ".concat(t?"opacity-100":"opacity-0")})]})]})}function x(e){let{item:t,index:s,checked:a,onToggle:n}=e;return(0,r.jsx)("li",{className:"exercise-item flex items-start gap-3 sm:gap-4 group",children:(0,r.jsxs)("label",{className:"flex items-start gap-3 sm:gap-4 cursor-pointer select-none w-full py-1",children:[(0,r.jsx)(u,{checked:a,onChange:n,index:s}),(0,r.jsx)("div",{className:"flex-1 transition-all duration-300 ease-out ".concat(a?"text-gray-400 line-through decoration-gray-300 decoration-2":"text-gray-700 group-hover:text-gray-900"),children:t})]})})}function h(e){let{onCopyAll:t,onCopyLink:s,copyPressed:a,linkPressed:n}=e;return(0,r.jsxs)("div",{className:"print:hidden absolute right-4 top-4 sm:right-6 sm:top-6 flex items-center gap-2 sm:gap-3",children:[(0,r.jsx)(d,{onClick:t,isPressed:a}),(0,r.jsx)(m,{onClick:s,isPressed:n})]})}function p(e){let{items:t,anchorId:s="exercises"}=e,[a,n]=(0,c.useState)({}),[l,i]=(0,c.useState)(!1),[o,d]=(0,c.useState)(!1),m=(0,c.useRef)(null),u=(0,c.useMemo)(()=>"exercises:".concat(window.location.pathname,":").concat(s),[s]);async function p(){try{var e,s;i(!0);let r=null!=(s=null==(e=m.current)?void 0:e.innerText)?s:t.map((e,t)=>"".concat(t+1,". ").concat(String(e))).join("\n");await navigator.clipboard.writeText(r),setTimeout(()=>i(!1),2e3)}catch(e){i(!1)}}async function f(){try{d(!0);let e="".concat(window.location.origin).concat(window.location.pathname,"#").concat(s);await navigator.clipboard.writeText(e),setTimeout(()=>d(!1),2e3)}catch(e){d(!1)}}(0,c.useEffect)(()=>{try{let e=window.localStorage.getItem(u);e&&n(JSON.parse(e))}catch(e){}},[u]),(0,c.useEffect)(()=>{try{window.localStorage.setItem(u,JSON.stringify(a))}catch(e){}},[a,u]);let g=t.length>1?"Exercises":"Exercise";return(0,r.jsxs)("div",{className:"blog-frame relative bg-gradient-to-br from-gray-50/50 to-white/80 border border-gray-200/60 rounded-xl p-6 sm:p-8 shadow-sm",children:[(0,r.jsx)("h4",{id:s,className:"mt-0 mb-6 sm:mb-8 pr-16 sm:pr-0 text-gray-900 font-semibold",children:g}),(0,r.jsx)(h,{onCopyAll:p,onCopyLink:f,copyPressed:l,linkPressed:o}),(0,r.jsx)("ol",{ref:m,className:"exercises-list list-decimal list-inside space-y-5",children:t.map((e,t)=>{let s="string"==typeof e?e:"object"==typeof e&&null!==e&&"props"in e?JSON.stringify(e.props):String(e),l=s.length>50?s.substring(0,50).replace(/[^a-zA-Z0-9]/g,""):s.replace(/[^a-zA-Z0-9]/g,""),i="exercise-".concat(l,"-").concat(t);return(0,r.jsx)(x,{item:e,index:t,checked:!!a[t],onToggle:()=>{n(e=>({...e,[t]:!e[t]}))}},i)})})]})}},24340:(e,t,s)=>{"use strict";function r(e){let{moduleIds:t}=e;return null}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreloadChunks",{enumerable:!0,get:function(){return r}}),s(99702),s(20707),s(25315),s(75018)},25315:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorage",{enumerable:!0,get:function(){return r.workAsyncStorageInstance}});let r=s(97113)},27825:(e,t,s)=>{"use strict";s.d(t,{default:()=>C});var r=s(99702),a=s(50927),n=s(83332),l=s(26294),i=s(6399),o=s(29156);let c=(0,l.memo)(e=>{let{content:t}=e,[s,a]=(0,l.useState)([]),[n,i]=(0,l.useState)(!1);if((0,l.useEffect)(()=>{let e=setTimeout(()=>{let e=Array.from(document.querySelectorAll("h2, h3")).map(e=>({id:e.id,text:e.textContent||"",level:parseInt(e.tagName[1]||"2")}));e.length>4&&a(e)},100);return()=>clearTimeout(e)},[]),s.length<=4)return null;let o=()=>i(!1);return(0,r.jsxs)("div",{children:[(0,r.jsx)("button",{onClick:()=>i(e=>!e),className:"fixed bottom-4 right-4 bg-primary text-white p-2 px-4 rounded-full shadow-lg z-50","aria-expanded":n,"aria-controls":"outline-sidebar",children:n?"Close":"Outline"}),n&&(0,r.jsxs)("nav",{id:"outline-sidebar",className:"fixed top-12 bottom-0 items-center align-middle right-0 h-full w-64 bg-white shadow-xl p-4 overflow-y-auto","aria-label":"Table of contents",children:[(0,r.jsx)("h3",{className:"text-xl font-bold mb-4",children:"Outline"}),(0,r.jsx)("ul",{children:s.map((e,t)=>(0,r.jsx)("li",{className:"text-sm mb-2 ".concat(3===e.level?"ml-4":""),children:(0,r.jsx)("a",{href:"#".concat(e.id),className:"text-focus hover:underline",onClick:o,children:e.text})},e.id||"heading-".concat(t)))})]})]})});c.displayName="Outline";var d=s(5322),m=s(44706);function u(e){let{posts:t,className:s}=e;return 0===t.length?null:(0,r.jsxs)("section",{className:"max-w-3xl mx-auto my-8 p-4 border border-border rounded-lg shadow-lg ".concat(s||""),children:[(0,r.jsx)("h4",{className:"mb-4",children:"Similar posts you might like"}),(0,r.jsx)(m.BlogLinksList,{posts:t,showFooter:!0})]})}var x=s(23501),h=s(43231),p=s.n(h),f=s(4672);function g(e){let{tag:t,isActive:s}=e;return(0,r.jsxs)(p(),{href:"/blog?tag=".concat(t),className:"mx-1 ".concat(s?"font-bold":""),children:["#",t]})}function b(e){let{tags:t}=e,s=(0,f.useSearchParams)(),a=null==s?void 0:s.get("tag");return(0,r.jsx)("p",{className:"text-center text-xs italic mb-12",children:t.map(e=>(0,r.jsx)(g,{tag:e,isActive:a===e},e))})}function j(e){return(0,r.jsx)(l.Suspense,{fallback:(0,r.jsx)("div",{children:"Loading..."}),children:(0,r.jsx)(b,{...e})})}var y=s(64629),v=s(17700),w=s(21462);let N=["Object Not Found Matching Id","unhandledrejection"].map(e=>{let t=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return RegExp("\\b".concat(t,"\\b"),"i")}),k=(e,t)=>{if(N.some(t=>t.test(e.message||"")))return void console.debug("Suppressed non-critical error:",e);a.v4(s=>{s.setTag("location","BlogPostContent"),s.setExtra("componentStack",t.componentStack||""),n.Cp(e)}),console.error("Error in BlogPostContent:",e)};function C(e){var t;let{post:s,compiledContent:a,similarPosts:n}=e,m=(0,l.useMemo)(()=>(function(e){if(!Array.isArray(e))throw TypeError("Tags parameter must be an array");return Array.from(new Set(function(e){let t={management:["best practices for operational excellence"],"best practices for operational excellence":["management"]},s=[...e];return e.forEach(e=>{t[e]&&s.push(...t[e])}),s}(e.map(e=>e.toLowerCase())))).map(e=>v.b.find(t=>t.slug===(0,w.Y)(e))).filter(e=>void 0!==e)})(s.tags),[s.tags]),h=(0,l.useMemo)(()=>({"@context":"https://schema.org","@type":"BlogPosting",headline:s.title,datePublished:s.date,author:{"@type":"Person",name:"Luca Dellanna"},keywords:s.tags.join(","),url:"https://luca-dellanna.com/posts/".concat(s.slug),description:s.description}),[s]);return(0,r.jsxs)(l.Fragment,{children:[(0,r.jsx)(d.default,{id:"json-ld",type:"application/ld+json",children:JSON.stringify(h)}),(0,r.jsxs)("article",{className:"max-w-3xl mx-auto my-8",children:[(0,r.jsxs)("header",{className:"mb-6",children:[(0,r.jsx)("h1",{className:"mb-2 text-balance",children:s.title}),(0,r.jsx)("h4",{className:"text-balance text-gray-500 mt-4 mb-6",children:s.description}),(0,r.jsxs)("p",{className:"text-center text-xs italic mb-1",children:[s.date," by Luca Dellanna"]}),(0,r.jsx)(l.Suspense,{fallback:(0,r.jsx)("p",{className:"text-gray-500","aria-label":"Loading tags",children:"Loading tags..."}),children:(0,r.jsx)(j,{tags:s.tags})})]}),(0,r.jsx)(x.default,{componentName:"BlogPostContent",onError:k,children:(0,r.jsx)("div",{className:"prose prose-lg",children:a})})]}),(0,r.jsx)(c,{content:a}),(null==(t=s.tags)?void 0:t.some(e=>(null==e?void 0:e.toLowerCase().trim())==="management"))&&(0,r.jsx)(y.WorkWithLuca,{}),m.length>0&&(0,r.jsx)("section",{className:"my-8","aria-label":"Related books",children:m.map(e=>(0,r.jsx)(i.j,{book:e,borderStyle:"normal"},e.slug))}),(0,r.jsx)(u,{posts:n}),(0,r.jsx)(o.ClientConvertkitForm,{})]})}},29156:(e,t,s)=>{"use strict";s.d(t,{ClientConvertkitForm:()=>i});var r=s(99702),a=s(50817),n=s(26294);let l=(0,a.default)(()=>Promise.all([s.e(1375),s.e(1753)]).then(s.bind(s,41035)),{loadableGenerated:{webpack:()=>[41035]},ssr:!1,loading:()=>(0,r.jsx)("div",{className:"min-h-[200px] animate-pulse bg-gray-100 rounded-lg"})}),i=(0,n.memo)(e=>{let{size:t}=e;return(0,r.jsx)(l,{size:t})});i.displayName="ClientConvertkitForm"},40392:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(30414).A)("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]])},44528:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(30414).A)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},44706:(e,t,s)=>{"use strict";s.d(t,{BlogLinksList:()=>o});var r=s(99702),a=s(43744),n=s(40392),l=s(43231),i=s.n(l);function o(e){let{posts:t,showFooter:s=!1}=e;return t&&0!==t.length?(0,r.jsxs)("div",{className:"flex flex-col gap-4 mx-1 sm:mx-2 md:mx-4 justify-center",children:[(0,r.jsx)("ul",{className:"list-none mx-0 my-4 p-0 flex flex-col gap-2",children:t.map(e=>(0,r.jsxs)("li",{className:"flex flex-col md:flex-row md:items-center md:justify-between gap-1 md:gap-2 mx-0",children:[(0,r.jsxs)("div",{className:"flex flex-row items-center min-w-0",children:[(0,r.jsx)("span",{className:"w-4 h-4 mr-2 inline-flex items-center justify-center flex-shrink-0",children:e.stars>1&&(0,r.jsx)(a.A,{className:"w-4 h-4 text-yellow-500 fill-yellow-500","aria-hidden":!0})}),(0,r.jsxs)(i(),{href:"/posts/".concat(e.slug),className:"text-gray-700 hover:text-gray-900 no-underline min-w-0 flex flex-col md:flex-row md:items-center",children:[(0,r.jsx)("span",{className:"line-clamp-2 md:line-clamp-1 md:truncate break-words",children:e.title}),(0,r.jsx)(n.A,{className:"hidden md:inline-flex w-4 h-4 ml-2 text-muted flex-shrink-0","aria-hidden":!0}),(0,r.jsxs)("span",{className:"mt-0.5 flex flex-row items-center gap-2 md:hidden",children:[(0,r.jsx)(n.A,{className:"w-4 h-4 text-muted flex-shrink-0","aria-hidden":!0}),(0,r.jsx)("span",{className:"text-xs text-gray-500 flex-shrink-0",children:e.date})]})]})]}),(0,r.jsx)("span",{className:"hidden md:inline text-xs text-gray-500 flex-shrink-0",children:e.date})]},e.slug))}),s&&(0,r.jsxs)("footer",{className:"flex flex-col gap-2",children:[(0,r.jsxs)("p",{className:"text-xs text-muted text-center text-balance !my-0",children:["I will add more posts soon (subscribe to"," ",(0,r.jsx)(i(),{href:"/newsletter",children:"my newsletter"})," to be notified)."]}),(0,r.jsxs)("p",{className:"text-xs text-muted text-center text-balance !my-0",children:["Click ",(0,r.jsx)(i(),{href:"/blog",children:"here"})," to view all of my posts."]})]})]}):null}},50817:(e,t,s)=>{"use strict";s.d(t,{default:()=>a.a});var r=s(96090),a=s.n(r)},51928:(e,t,s)=>{Promise.resolve().then(s.bind(s,29156)),Promise.resolve().then(s.bind(s,23749)),Promise.resolve().then(s.bind(s,1625)),Promise.resolve().then(s.bind(s,74005)),Promise.resolve().then(s.bind(s,86329)),Promise.resolve().then(s.bind(s,27825))},56992:(e,t,s)=>{"use strict";s.d(t,{ErrorBoundary:()=>l});var r=s(26294);let a=(0,r.createContext)(null),n={didCatch:!1,error:null};class l extends r.Component{static getDerivedStateFromError(e){return{didCatch:!0,error:e}}resetErrorBoundary(){let{error:e}=this.state;if(null!==e){for(var t,s,r=arguments.length,a=Array(r),l=0;l0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.length!==t.length||e.some((e,s)=>!Object.is(e,t[s]))}(e.resetKeys,r)){var a,l;null==(a=(l=this.props).onReset)||a.call(l,{next:r,prev:e.resetKeys,reason:"keys"}),this.setState(n)}}render(){let{children:e,fallbackRender:t,FallbackComponent:s,fallback:n}=this.props,{didCatch:l,error:i}=this.state,o=e;if(l){let e={error:i,resetErrorBoundary:this.resetErrorBoundary};if("function"==typeof t)o=t(e);else if(s)o=(0,r.createElement)(s,e);else if(void 0!==n)o=n;else throw i}return(0,r.createElement)(a.Provider,{value:{didCatch:l,error:i,resetErrorBoundary:this.resetErrorBoundary}},o)}constructor(e){super(e),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=n}}},64629:(e,t,s)=>{"use strict";s.d(t,{WorkWithLuca:()=>d});var r=s(99702),a=s(29191),n=s(17581),l=s(2987),i=s(43231),o=s.n(i);function c(e){let{quote:t,author:s,imageSrc:a}=e;return(0,r.jsxs)("blockquote",{className:"text-center space-y-3",children:[(0,r.jsxs)("p",{className:"text-sm font-medium text-muted leading-relaxed",children:['"',t,'"']}),(0,r.jsxs)("footer",{className:"flex items-center justify-center gap-2",children:[(0,r.jsxs)("cite",{className:"text-xs italic text-muted",children:["– ",s]}),(0,r.jsx)(l.default,{src:a,alt:s,width:20,height:20,className:"rounded-full"})]})]})}function d(){return(0,r.jsx)(a.Zp,{variant:"bordered",className:"max-w-4xl mx-auto my-12 overflow-hidden hover:shadow-lg transition-shadow duration-300",children:(0,r.jsx)(a.bw,{className:"p-6 md:p-8",children:(0,r.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6 lg:gap-8 items-start",children:[(0,r.jsxs)("div",{className:"col-span-1 lg:col-span-2 space-y-6",children:[(0,r.jsx)(c,{quote:"Working with Luca was fantastic! He was straightforward and well-prepared, pinpointing numerous opportunities I had overlooked in my business plan. I wholeheartedly recommend him.",author:"Christopher Samiullah",imageSrc:"/christopher-samiullah.jpg"}),(0,r.jsxs)("div",{className:"text-center space-y-4",children:[(0,r.jsx)("p",{className:"text-sm text-muted leading-relaxed max-w-2xl mx-auto",children:"I have helped dozens of business leaders change their organization's operational culture. If you're interested in working with me, send me an email."}),(0,r.jsx)(o(),{href:"/contact",children:(0,r.jsx)(n.$,{variant:"primary",size:"md",className:"mx-auto",children:"Email Luca"})})]})]}),(0,r.jsx)("div",{className:"flex justify-center lg:justify-end",children:(0,r.jsx)("div",{className:"relative",children:(0,r.jsx)(l.default,{src:"/luca-no-bg.png",alt:"Luca Dellanna",width:140,height:210,className:"w-auto h-auto max-w-[140px] max-h-[210px]"})})})]})})})}},70052:(e,t,s)=>{"use strict";s.d(t,{J:()=>i});var r=s(99702),a=s(92524),n=s(43231),l=s.n(n);let i=(0,s(26294).memo)(function(e){let{book:t,variant:s="default",className:n=""}=e;return""===t.amazonLink?(0,r.jsxs)("div",{className:"flex flex-col gap-2 text-xs italic ".concat(n),children:[(0,r.jsx)("p",{className:"hero"===s?"text-sm":"text-center text-xs italic font-bold",children:"Coming soon!"}),(0,r.jsxs)("p",{className:"hero"===s?"text-sm":"text-center text-xs italic",children:["Subscribe to"," ",(0,r.jsx)(l(),{href:"/newsletter",className:"underline",children:"my newsletter"})," ","to get notified upon its publication."]})]}):"showcase"===s?(0,r.jsxs)("div",{className:"flex flex-col sm:flex-row space-y-2 space-x-4 justify-center items-center ".concat(n),children:[(0,r.jsx)(a.BuyBookButton,{book:t}),(0,r.jsx)("span",{className:"text-xs text-gray-500 italic",children:"or"}),(0,r.jsx)(l(),{href:"/books/".concat(t.slug),className:"text-primary hover:underline text-sm",children:"Learn More →"})]}):"hero"===s?(0,r.jsxs)("div",{className:"flex items-center justify-center gap-8 ".concat(n),children:[(0,r.jsx)(a.BuyBookButton,{book:t}),(0,r.jsx)("p",{className:"italic mb-0 text-sm",children:"or"}),(0,r.jsx)("button",{onClick:()=>{var e;null==(e=document.getElementById("about"))||e.scrollIntoView({behavior:"smooth"})},className:"underline underline-offset-8 shadow-none bg-transparent border-none text-primary hover:opacity-75",children:"Learn more →"})]}):(0,r.jsx)("div",{className:"flex ".concat(n),children:(0,r.jsx)("div",{className:"mx-auto my-4",children:(0,r.jsx)(a.BuyBookButton,{book:t})})})})},74005:(e,t,s)=>{"use strict";s.d(t,{QuoteClient:()=>n});var r=s(99702),a=s(2987);let n=(0,s(26294).memo)(e=>{let{quote:t,author:s,authorDescription:n,portraitSrc:l}=e;return(0,r.jsxs)("div",{className:"blog-frame text-center text-balance",children:[(0,r.jsxs)("p",{className:"mb-8 text-balance",children:["“",t,"”"]}),(0,r.jsxs)("div",{className:"flex flex-col items-center gap-3",children:[(0,r.jsx)("div",{className:"w-12 h-12 rounded-full overflow-hidden bg-gray-200 flex items-center justify-center",children:l?(0,r.jsx)(a.default,{src:l,alt:"Portrait of ".concat(s),width:48,height:48,className:"w-full h-full object-cover"}):(0,r.jsx)("span",{className:"text-muted text-sm font-semibold",children:s.split(" ").map(e=>e[0]).join("").toUpperCase().slice(0,2)})}),(0,r.jsxs)("div",{className:"flex flex-col items-center gap-1",children:[(0,r.jsx)("div",{className:"text-sm font-medium text-gray-900",children:s}),n&&(0,r.jsx)("div",{className:"text-xs text-muted",children:n})]})]})]})});n.displayName="QuoteClient"},86249:(e,t,s)=>{"use strict";function r(e){let{reason:t,children:s}=e;return s}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BailoutToCSR",{enumerable:!0,get:function(){return r}}),s(94301)},86329:(e,t,s)=>{"use strict";s.d(t,{Video:()=>n});var r=s(99702),a=s(26363);let n=(0,s(26294).memo)(e=>{let{youtubeId:t,showControls:s=!1}=e,n=new URLSearchParams({controls:s?"1":"0",rel:"0",modestbranding:"1",playsinline:"1"}).toString();return(0,r.jsx)("div",{className:"h-full md:mx-4 my-8",children:(0,r.jsx)("div",{className:"w-[95%] h-full mx-auto border border-black rounded-xl overflow-hidden",children:(0,r.jsx)(a.YouTubeEmbed,{videoid:t,params:n})})})});n.displayName="Video"},88087:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var s in t)Object.defineProperty(e,s,{enumerable:!0,get:t[s]})}(t,{bindSnapshot:function(){return l},createAsyncLocalStorage:function(){return n},createSnapshot:function(){return i}});let s=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class r{disable(){throw s}getStore(){}run(){throw s}exit(){throw s}enterWith(){throw s}static bind(e){return e}}let a="undefined"!=typeof globalThis&&globalThis.AsyncLocalStorage;function n(){return a?new a:new r}function l(e){return a?a.bind(e):r.bind(e)}function i(){return a?a.snapshot():function(e,...t){return e(...t)}}},88458:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let r=s(99702),a=s(26294),n=s(86249);function l(e){return{default:e&&"default"in e?e.default:e}}s(24340);let i={loader:()=>Promise.resolve(l(()=>null)),loading:null,ssr:!0},o=function(e){let t={...i,...e},s=(0,a.lazy)(()=>t.loader().then(l)),o=t.loading;function c(e){let l=o?(0,r.jsx)(o,{isLoading:!0,pastDelay:!0,error:null}):null,i=!t.ssr||!!t.loading,c=i?a.Suspense:a.Fragment,d=t.ssr?(0,r.jsxs)(r.Fragment,{children:[null,(0,r.jsx)(s,{...e})]}):(0,r.jsx)(n.BailoutToCSR,{reason:"next/dynamic",children:(0,r.jsx)(s,{...e})});return(0,r.jsx)(c,{...i?{fallback:l}:{},children:d})}return c.displayName="LoadableComponent",c}},96090:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let r=s(93971)._(s(88458));function a(e,t){var s;let a={};"function"==typeof e&&(a.loader=e);let n={...a,...t};return(0,r.default)({...n,modules:null==(s=n.loadableGenerated)?void 0:s.modules})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},97113:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorageInstance",{enumerable:!0,get:function(){return r}});let r=(0,s(88087).createAsyncLocalStorage)()}},e=>{e.O(0,[6466,4792,2809,4850,1904,4442,9702,888,863,7700,9110,3947,7358],()=>e(e.s=51928)),_N_E=e.O()}]);