!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="e50d0bdc-a5cd-4299-ae9d-05b1a5b3ab02",e._sentryDebugIdIdentifier="sentry-dbid-e50d0bdc-a5cd-4299-ae9d-05b1a5b3ab02")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5858],{63369:(e,t,r)=>{Promise.resolve().then(r.bind(r,56613)),Promise.resolve().then(r.bind(r,8088)),Promise.resolve().then(r.bind(r,4251)),Promise.resolve().then(r.bind(r,18938)),Promise.resolve().then(r.bind(r,42474)),Promise.resolve().then(r.bind(r,32155)),Promise.resolve().then(r.bind(r,45347)),Promise.resolve().then(r.bind(r,60383))},53002:(e,t,r)=>{"use strict";r.d(t,{z:()=>c});var a=r(55057),s=r(56810),n=r(55378),l=r(48884),o=r(66267),i=r.n(o);let c=e=>{let{posts:t,style:r="cards",forceSubscribeInvite:o=!1}=e,c=o||t.length<3;return(0,a.jsxs)("div",{className:"flex flex-col gap-4 justify-center",children:[(0,a.jsx)("div",{className:"container mx-4 ".concat("cards"===r?"my-4":"my-0"," mx-auto flex flex-wrap gap-4 justify-center"),children:"cards"===r?t.map((e,t)=>(0,a.jsx)(l.default,{post:e,index:t},e.slug)):(0,a.jsx)("div",{className:"flex flex-col gap-2",children:t.map(e=>(0,a.jsxs)("div",{className:"flex flex-row items-center my-0",children:[e.stars>1&&(0,a.jsx)(s.A,{className:"w-4 h-4 mr-2 text-yellow-500 fill-yellow-500"}),(0,a.jsxs)(i(),{href:"/posts/".concat(e.slug),className:"flex flex-row items-center text-gray-600 hover:scale-100 no-underline",children:[e.title,(0,a.jsx)(n.A,{className:"w-4 h-4 ml-2 text-gray-600"})]})]},e.slug))})}),(0,a.jsxs)("footer",{className:"flex flex-col gap-2",children:[c&&(0,a.jsxs)("p",{className:"text-tiny text-gray-400 text-center text-balance !my-0",children:["I will add more posts soon (subscribe to"," ",(0,a.jsx)(i(),{href:"/newsletter",children:"my newsletter"})," to be notified)."]}),(0,a.jsxs)("p",{className:"text-tiny text-gray-400 text-center text-balance !my-0",children:["Click ",(0,a.jsx)(i(),{href:"/blog",children:"here"})," to view all of my posts."]})]})]})}},48884:(e,t,r)=>{"use strict";r.d(t,{default:()=>g});var a=r(55057),s=r(68307),n=r(27538),l=r(6531),o=r(78957),i=r(50278),c=r(78293);let d="text-tiny text-nowrap rounded-md px-1 py-0.5",m=(e,t)=>e>=2?{text:"Most popular",className:"".concat(d," text-rose-600 border border-rose-600")}:e>=1||0===t&&e>0?{text:"Popular",className:"".concat(d," text-orange-500 border border-orange-500")}:0===e&&0===t?{text:"Most recent",className:"".concat(d," text-orange-500 border border-orange-500")}:null,u=(0,c.memo)(e=>{let{stars:t,index:r}=e,s=m(t,r);return s?(0,a.jsx)("span",{className:s.className,children:s.text}):null});u.displayName="BlogpostCardTitle";let x={container:"mx-auto w-full md:max-w-[48%] 2xl:max-w-[31%]",card:"no-button-style z-0 p-2 w-full min-w-64 cursor-pointer",header:"py-1 md:py-2 lg:py-3",headerContent:"w-full flex justify-between items-start",title:"text-left text-balance font-semibold",chipContainer:"flex justify-end mt-1 ml-2",body:"py-2",description:"text-sm text-gray-500",footer:"flex justify-between items-center py-1 md:py-2 lg:py-3",date:"text-tiny text-gray-400 min-w-20",tagContainer:"flex flex-wrap space-x-1 justify-end",tag:"text-tiny text-gray-400"},h=(0,c.memo)(e=>{let{tags:t}=e;return(0,a.jsx)("div",{className:x.tagContainer,children:t.map(e=>(0,a.jsxs)("span",{className:x.tag,children:["#",e]},e))})});h.displayName="Tags";let p=(0,c.memo)(e=>{let{post:t,index:r}=e,{title:c,slug:d,stars:m,description:p,date:g,tags:b}=t;return(0,a.jsx)("div",{className:x.container,children:(0,a.jsxs)(s.Z,{as:n.h,href:"/posts/".concat(d),classNames:{base:x.card},children:[(0,a.jsx)(l.d,{className:x.header,children:(0,a.jsxs)("div",{className:x.headerContent,children:[(0,a.jsx)("span",{className:x.title,children:c}),(0,a.jsx)("div",{className:x.chipContainer,children:(0,a.jsx)(u,{stars:m,index:r})})]})}),(0,a.jsx)(o.U,{className:x.body,children:(0,a.jsx)("span",{className:x.description,children:p})}),(0,a.jsxs)(i.Z,{className:x.footer,children:[(0,a.jsx)("span",{className:x.date,children:g}),(0,a.jsx)(h,{tags:b})]})]})})});p.displayName="BlogpostCard";let g=p},4251:(e,t,r)=>{"use strict";r.d(t,{Exercises:()=>o});var a=r(55057),s=r(78293),n=r(7362);let l={container:"blog-frame text-center text-balance",heading:"font-bold mt-0 mb-4"},o=(0,s.memo)(e=>{let{exercises:t}=e,[r,o]=(0,s.useState)([]),i=(0,s.useMemo)(()=>t.length>1?"Exercises":"Exercise",[t.length]);return(0,s.useEffect)(()=>{let e=!0;return(async()=>{try{let r=await Promise.all(t.map(async e=>{let{content:t}=await (0,n.d)({source:e});return t}));e&&o(r)}catch(e){console.error("Failed to render exercises:",e)}})(),()=>{e=!1}},[t]),(0,a.jsxs)("div",{className:l.container,children:[(0,a.jsx)("h4",{className:l.heading,children:i}),(0,a.jsx)("ol",{children:r.map((e,t)=>(0,a.jsx)("li",{children:e},"exercise-".concat(t)))})]})});o.displayName="Exercises"},18938:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>m});var a=r(55057),s=r(66267),n=r.n(s),l=r(78293),o=r(95164);let i={container:"blog-frame text-center text-balance",title:"font-bold mt-0 mb-4",link:"text-blue-500 hover:underline"},c=(e,t)=>{let r=t?"".concat(t,": ").concat(e):e,a=r.length>200?"".concat(r.slice(0,200),"..."):r;return encodeURIComponent('"'.concat(a,'" by @DellannaLuca\n'))},d=(0,l.memo)(e=>{let{title:t="Principle",text:r}=e,s=(0,o.usePathname)(),l=encodeURIComponent("".concat("https://Luca-Dellanna.com").concat(s)),d=c(r,t);return(0,a.jsxs)("div",{className:i.container,children:[(0,a.jsx)("h4",{className:i.title,children:t}),(0,a.jsx)("p",{children:(0,a.jsx)("strong",{children:r})}),(0,a.jsx)("p",{children:(0,a.jsx)(n(),{href:"https://twitter.com/intent/tweet?text=".concat(d,"&url=").concat(l),target:"_blank",rel:"noopener noreferrer",className:i.link,children:"Share on Twitter"})})]})});d.displayName="Principle";let m=d},42474:(e,t,r)=>{"use strict";r.d(t,{Quote:()=>o});var a=r(55057),s=r(78475),n=r(78293);let l={container:"blog-frame text-center text-balance",quote:"mb-8 text-balance"},o=(0,n.memo)(e=>{let{quote:t,author:r,authorDescription:n,portraitSrc:o}=e;return(0,a.jsxs)("div",{className:l.container,children:[(0,a.jsxs)("p",{className:l.quote,children:["“",t,"”"]}),(0,a.jsx)(s.S,{name:r,description:n,avatarProps:{src:o,showFallback:!0,alt:"Portrait of ".concat(r)}})]})});o.displayName="Quote"},32155:(e,t,r)=>{"use strict";r.d(t,{Video:()=>o});var a=r(55057),s=r(19801),n=r(78293);let l={container:"h-full md:mx-4 my-8",videoWrapper:"w-[95%] h-full mx-auto border border-black rounded-xl overflow-hidden"},o=(0,n.memo)(e=>{let{youtubeId:t,showControls:r=!1}=e;return(0,a.jsx)("div",{className:l.container,children:(0,a.jsx)("div",{className:l.videoWrapper,children:(0,a.jsx)(s.YouTubeEmbed,{videoid:t,params:"controls=".concat(r?1:0)})})})});o.displayName="Video"},22079:(e,t,r)=>{"use strict";r.d(t,{BookImage:()=>l});var a=r(78293),s=r(13812),n=r(91351);let l=(0,a.memo)(e=>{let{maxRetries:t=3,retryDelay:r=1e3,priority:l=!1,...o}=e,[i,c]=(0,a.useState)(0),d=i{if(!d||0===i)return;let e=setTimeout(()=>c(0),r);return()=>clearTimeout(e)},[i,r,d]);let m=(0,a.useCallback)(()=>{d&&c(e=>e+1)},[d]);return(0,a.createElement)(s.W,{...o,key:i,onError:m,as:n.default,priority:l})});l.displayName="BookImage"},70430:(e,t,r)=>{"use strict";r.d(t,{a:()=>i});var a=r(55057),s=r(78293),n=r(62592);let l={normal:"border-slate-400 shadow-md",strong:"border-black shadow-lg"},o={horizontal:"flex-row",vertical:"flex-col"},i=(0,s.memo)(e=>{let{orientation:t,children:r,className:s,id:i,style:c="normal"}=e;return(0,a.jsx)("div",{id:i,className:(0,n.QP)("max-w-3xl flex-1 mx-auto flex gap-4 items-center justify-center p-4 border rounded-lg",l[c],o[t],s),children:r})});i.displayName="Box"},84071:(e,t,r)=>{"use strict";r.d(t,{BuyBookButton:()=>c});var a=r(55057),s=r(36916),n=r(95186),l=r(30759),o=r(78293),i=r(4974);let c=(0,o.memo)(e=>{let{book:t,className:r}=e,{isOpen:o,onOpen:c,onOpenChange:d}=(0,n.j)();return t?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l.T,{color:"primary",onPress:()=>{c()},"aria-label":"Buy ".concat(t.title),className:r,children:"Buy Now"}),(0,a.jsx)(i.B,{book:t,isOpen:o,onOpenChange:d})]}):(function(){let e="BuyBookButton: No book provided";console.warn(e),s.wd(e,{level:"warning",extra:{component:"BuyBookButton"}})}(),null)});c.displayName="BuyBookButton"},4974:(e,t,r)=>{"use strict";r.d(t,{B:()=>h});var a=r(55057),s=r(36916),n=r(402),l=r(10620),o=r(86989),i=r(83436),c=r(30759),d=r(27538),m=r(97489),u=r(78293);let x="/books/preorder",h=u.memo(e=>{let{book:t,isOpen:r,onOpenChange:h}=e;if(!(null==t?void 0:t.title)){let e=Error("BuyBookModal: Book or book title is missing");return console.error(e),s.Cp(e),null}let p=(0,u.useMemo)(()=>{let e=[];return(t.amazonLink||x)&&e.push({type:"Paperback",href:t.amazonLink||x}),(t.myStoreLink||x)&&e.push({type:"eBook",href:t.myStoreLink||x}),t.hasAudiobook&&t.myStoreLink&&e.push({type:"Audiobook",href:t.myStoreLink}),e},[t.amazonLink,t.myStoreLink,t.hasAudiobook]),g=(0,u.useCallback)(e=>{"function"==typeof h&&h(e)},[h]);if(0===p.length){let e=Error("BuyBookModal: No purchase options available for book: ".concat(t.title));return console.warn(e),s.wd(e.message,{level:"warning"}),null}return(0,a.jsx)(n.Y,{isOpen:r,onOpenChange:g,size:"sm",hideCloseButton:!0,children:(0,a.jsx)(l.g,{className:"pb-0",children:e=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(o.c,{className:"flex flex-col gap-1",children:["Buy ",t.title]}),(0,a.jsx)(i.h,{children:p.map(e=>{let{type:r,href:s}=e;return(0,a.jsx)(c.T,{as:d.h,href:s,color:"primary",className:"w-full mb-2",isExternal:s.startsWith("http"),"aria-label":"Buy ".concat(r," version of ").concat(t.title),onPress:()=>{s&&s.startsWith("http")&&window.open(s,"_blank","noopener,noreferrer")},children:r},r)})}),(0,a.jsx)(m.q,{children:(0,a.jsx)(c.T,{color:"primary",variant:"light",onPress:e,className:"shadow-none text-white","aria-label":"Close purchase options modal",children:"Close"})})]})})})});h.displayName="BuyBookModal"},45347:(e,t,r)=>{"use strict";r.d(t,{ClientConvertkitForm:()=>o});var a=r(55057),s=r(95285),n=r(78293);let l=(0,s.default)(()=>Promise.all([r.e(2597),r.e(2515),r.e(5222)]).then(r.bind(r,95222)),{loadableGenerated:{webpack:()=>[95222]},ssr:!1,loading:()=>(0,a.jsx)("div",{className:"min-h-[200px] animate-pulse bg-gray-100 rounded-lg"})}),o=(0,n.memo)(e=>{let{size:t}=e;return(0,a.jsx)(l,{size:t})});o.displayName="ClientConvertkitForm"},81609:(e,t,r)=>{"use strict";r.d(t,{default:()=>l});var a=r(55057),s=r(78293),n=r(30759);let l=(0,s.memo)(function(e){let{error:t,resetErrorBoundary:r,message:s="We're sorry, a problem occurred. Please try again later."}=e;return(0,a.jsxs)("div",{role:"alert",className:"p-4 border border-red-500 rounded-lg bg-red-50 max-w-xl mx-auto my-8",children:[(0,a.jsx)("h2",{className:"text-lg font-semibold text-red-800 mb-2",children:"Oops! Something went wrong"}),(0,a.jsx)("p",{className:"text-red-700 mb-4",children:s}),!1,(0,a.jsx)(n.T,{onPress:r,color:"danger",className:"w-full sm:w-auto",children:"Try again"})]})})},60383:(e,t,r)=>{"use strict";r.d(t,{default:()=>z});var a=r(55057),s=r(23263),n=r(36916),l=r(78293),o=r(22079),i=r(70430),c=r(84071),d=r(91351);let m=(0,l.memo)(function(e){let{title:t}=e,r={width:200,height:40,alt:"Decorative laurel image",className:"mx-auto"};return(0,a.jsxs)("div",{className:"max-w-[200px] mx-2",children:[(0,a.jsx)(d.default,{src:"/top-laurel.png",...r}),(0,a.jsx)("p",{className:"text-center text-balance text-tiny mb-0",children:t}),(0,a.jsx)(d.default,{src:"/bottom-laurel.png",...r})]})});var u=r(66267),x=r.n(u),h=r(69592),p=r(68732);let g=(0,l.memo)(e=>{let{book:t,priority:r}=e;return(0,a.jsx)("div",{className:"flex h-auto shrink-0 justify-center","aria-label":"Book cover",children:(0,a.jsx)(x(),{href:"/books/".concat(t.slug),children:(0,a.jsx)(o.BookImage,{src:t.coverSrc,alt:"Cover of ".concat(t.title),width:200,height:300,className:"cursor-pointer border border-black rounded-md mx-auto mb-6 hover:shadow-lg transition-shadow",priority:r})})})}),b=(0,l.memo)(e=>{let{book:t}=e;return(0,a.jsxs)("div",{className:"mx-auto flex items-center justify-center gap-4 md:gap-8 mt-6 px-4",role:"group","aria-label":"Book actions",children:[(0,a.jsx)(c.BuyBookButton,{book:t}),(0,a.jsx)("span",{className:"italic mb-0 text-sm","aria-hidden":"true",children:"or"}),(0,a.jsx)(x(),{href:"/books/".concat(t.slug),className:"text-sm underline underline-offset-8 hover:text-gray-600 transition-colors",children:"Learn more →"})]})}),f=(0,l.memo)(function(e){var t;let{book:r,hasReviews:s,hasLaurels:n,bookReviews:l}=e;return(0,a.jsxs)("div",{className:"m-auto",children:[s&&(0,a.jsx)(h.ReviewsCarousel,{reviews:l,showRatings:!0,width:"sm",height:"sm"}),!s&&n&&(0,a.jsx)("div",{className:"flex items-center justify-center",role:"list","aria-label":"Book laurels",children:null===(t=r.laurels)||void 0===t?void 0:t.map((e,t)=>(0,a.jsx)(m,{title:e},"".concat(r.slug,"-laurel-").concat(t)))}),(0,a.jsx)(b,{book:r})]})}),y=(0,l.memo)(e=>{let{book:t,priority:r=!1,borderStyle:s="strong"}=e,{bookReviews:n,hasReviews:o,hasLaurels:c}=(0,l.useMemo)(()=>{var e;let r=p.Y.filter(e=>{var r;return null===(r=e.object)||void 0===r?void 0:r.some(e=>null==e?void 0:e.toLowerCase().includes(t.title.toLowerCase()))});return{bookReviews:r,hasReviews:r.length>0,hasLaurels:!!(null===(e=t.laurels)||void 0===e?void 0:e.length)}},[t.title,t.laurels]);return(0,a.jsxs)(i.a,{orientation:"vertical",id:t.slug,className:"w-full flex space-y-3 px-0 sm:px-4 md:px-8 py-6 md:py-8",style:s,children:[(0,a.jsx)("h3",{className:"text-center",children:t.title}),(0,a.jsx)("p",{className:"text-sm text-center text-balance text-gray-700",children:t.shortDescription}),(0,a.jsxs)("div",{className:"w-full block md:flex flex-row justify-between space-x-0 md:space-x-20 items-center",children:[(0,a.jsx)(g,{book:t,priority:r}),(0,a.jsx)(f,{book:t,hasReviews:o,hasLaurels:c,bookReviews:n})]})]})});g.displayName="BookCover",b.displayName="BookActions",f.displayName="BookContent",y.displayName="BookShowcase";var j=r(45347),v=r(65),N=r(81609);let w={button:"fixed bottom-4 right-4 bg-blue-500 text-white p-2 px-4 rounded-full shadow-lg z-50",sidebar:"fixed top-12 bottom-0 items-center align-middle right-0 h-full w-64 bg-white shadow-xl p-4 overflow-y-auto",heading:"text-xl font-bold mb-4",listItem:e=>"text-sm mb-2 ".concat(3===e?"ml-4":""),link:"text-blue-500 hover:underline"},k=(0,l.memo)(e=>{let{content:t}=e,[r,s]=(0,l.useState)([]),[n,o]=(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])}));e.length>4&&s(e)},100);return()=>clearTimeout(e)},[]),r.length<=4)return null;let i=()=>o(!1);return(0,a.jsxs)("div",{children:[(0,a.jsx)("button",{onClick:()=>o(e=>!e),className:w.button,"aria-expanded":n,"aria-controls":"outline-sidebar",children:n?"Close":"Outline"}),n&&(0,a.jsxs)("nav",{id:"outline-sidebar",className:w.sidebar,"aria-label":"Table of contents",children:[(0,a.jsx)("h3",{className:w.heading,children:"Outline"}),(0,a.jsx)("ul",{children:r.map((e,t)=>(0,a.jsx)("li",{className:w.listItem(e.level),children:(0,a.jsx)("a",{href:"#".concat(e.id),className:w.link,onClick:i,children:e.text})},t))})]})]})});k.displayName="Outline";var C=r(50097),B=r(53002);let E={container:"max-w-3xl mx-auto my-8 p-4 border border-gray-400 rounded-lg shadow-lg",heading:"mb-4"},P=(0,l.memo)(e=>{let{posts:t,className:r}=e;return 0===t.length?null:(0,a.jsxs)("section",{className:"".concat(E.container," ").concat(r||""),children:[(0,a.jsx)("h4",{className:E.heading,children:"Similar posts you might like"}),(0,a.jsx)(B.z,{posts:t,style:"naked",forceSubscribeInvite:!0})]})});P.displayName="SimilarPosts";var S=r(95164);let L={container:"text-center text-tiny italic mb-12",tag:"mx-1",activeTag:"font-bold"},T=(0,l.memo)(e=>{let{tag:t,isActive:r}=e;return(0,a.jsxs)(x(),{href:"/blog?tag=".concat(t),className:"".concat(L.tag," ").concat(r?L.activeTag:""),children:["#",t]})});T.displayName="TagLink";let I=(0,l.memo)(e=>{let{tags:t}=e,r=(0,S.useSearchParams)(),s=null==r?void 0:r.get("tag");return(0,a.jsx)("p",{className:L.container,children:t.map(e=>(0,a.jsx)(T,{tag:e,isActive:s===e},e))})});I.displayName="TagList";var O=r(15940),D=r(9938),M=r(78571);let F=e=>{if(!e)return!1;let t="string"==typeof e?e:e instanceof Error?e.message:String(e);return t.includes("Object Not Found Matching Id")||t.includes("unhandledrejection")},A=e=>{(0,l.useEffect)(()=>{let t=t=>{if(F(t.error)){console.debug("Suppressed non-critical error:",t.error);return}n.Cp(t.error,{extra:{componentName:e,timestamp:new Date().toISOString()},tags:{location:e,errorType:t.error.name}})},r=t=>{if(F(t.reason)){console.debug("Suppressed non-critical promise rejection:",t.reason);return}n.Cp(t.reason,{extra:{componentName:e,promiseError:!0,timestamp:new Date().toISOString()},tags:{location:e,errorType:"PromiseRejection"}})};return window.addEventListener("error",t),window.addEventListener("unhandledrejection",r),()=>{window.removeEventListener("error",t),window.removeEventListener("unhandledrejection",r)}},[e])},_=(e,t)=>{var r;if(null===(r=e.message)||void 0===r?void 0:r.includes("Object Not Found Matching Id")){console.debug("Suppressed non-critical error:",e.message);return}s.v4(r=>{r.setExtra("componentStack",t.componentStack||""),r.setTag("location","BlogPostContent"),n.Cp(e)})};function z(e){var t;let{post:r,compiledContent:s,similarPosts:o}=e;A("BlogPostContent");let[i,c]=(0,l.useState)(null),d=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"]},r=[...e];return e.forEach(e=>{t[e]&&r.push(...t[e])}),r}(e.map(e=>e.toLowerCase())))).map(e=>D.b.find(t=>t.slug===(0,M.Y)(e))).filter(e=>void 0!==e)}(r.tags),m={"@context":"https://schema.org","@type":"BlogPosting",headline:r.title,datePublished:r.date,author:{"@type":"Person",name:"Luca Dellanna"},keywords:r.tags.join(","),url:"https://luca-dellanna.com/posts/".concat(r.slug),description:r.description};return(0,l.useEffect)(()=>{(async()=>{var e,t,r,a;try{if("function"==typeof s){let r=s({});if(r instanceof Promise)try{let e=await r;c(e)}catch(a){console.error("Promise rejection in MDX content:",a),!(a instanceof Error)||(null===(e=a.message)||void 0===e?void 0:e.includes("Object Not Found Matching Id"))||(null===(t=a.message)||void 0===t?void 0:t.includes("unhandledrejection"))||n.Cp(a);let r=s({});r instanceof Promise||c(r)}else c(r)}else c(s)}catch(e){console.error("Error rendering MDX content:",e),!(e instanceof Error)||(null===(r=e.message)||void 0===r?void 0:r.includes("Object Not Found Matching Id"))||(null===(a=e.message)||void 0===a?void 0:a.includes("unhandledrejection"))||n.Cp(e),"function"!=typeof s&&c(s)}})().catch(e=>{console.error("Unhandled error in renderContent:",e),n.Cp(e),"function"!=typeof s&&c(s)})},[s]),(0,a.jsxs)(l.Fragment,{children:[(0,a.jsx)(C.default,{id:"json-ld",type:"application/ld+json",children:JSON.stringify(m)}),(0,a.jsxs)("article",{className:"max-w-3xl mx-auto my-8",children:[(0,a.jsxs)("header",{className:"mb-6",children:[(0,a.jsx)("h1",{className:"mb-2 text-balance",children:r.title}),(0,a.jsxs)("p",{className:"text-center text-tiny italic mb-1",children:[r.date," by Luca Dellanna"]}),(0,a.jsx)(l.Suspense,{fallback:(0,a.jsx)("p",{className:"text-gray-500","aria-label":"Loading tags",children:"Loading tags..."}),children:(0,a.jsx)(I,{tags:r.tags})})]}),(0,a.jsx)(v.ErrorBoundary,{FallbackComponent:N.default,onError:_,children:(0,a.jsx)("div",{className:"prose prose-lg",children:i||(0,a.jsx)("p",{className:"text-gray-500","aria-label":"Loading content",children:"Loading content..."})})})]}),(0,a.jsx)(k,{content:s}),(null===(t=r.tags)||void 0===t?void 0:t.some(e=>(null==e?void 0:e.toLowerCase().trim())==="management"))&&(0,a.jsx)(O.WorkWithLuca,{}),d.length>0&&(0,a.jsx)("section",{className:"my-8","aria-label":"Related books",children:d.map(e=>(0,a.jsx)(y,{book:e,borderStyle:"normal"},e.slug))}),(0,a.jsx)(P,{posts:o,className:"mt-16"}),(0,a.jsx)(j.ClientConvertkitForm,{})]})}},78571:(e,t,r)=>{"use strict";function a(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,"")}r.d(t,{Y:()=>a})}},e=>{var t=t=>e(e.s=t);e.O(0,[661,691,8943,9340,759,5926,2256,659,2592,705,9938,4850,4106,8831,7358],()=>t(63369)),_N_E=e.O()}]);