1import{j as e,o as L,r as x,N as v,g as j,d as T}from"./index-DjJZH9qg.js";const w={steel:{primary:"var(--color-slate)",soft:"rgba(51,121,162,0.10)",line:"rgba(51,121,162,0.30)"},prussian:{primary:"var(--color-navy)",soft:"rgba(2,47,86,0.08)",line:"rgba(2,47,86,0.28)"},mauve:{primary:"#8C728B",soft:"rgba(140,114,139,0.10)",line:"rgba(140,114,139,0.32)"},sky:{primary:"var(--color-pulse)",soft:"rgba(133,196,228,0.14)",line:"rgba(133,196,228,0.40)"}};function D(s){var a,l;const t=s.trim().split(/\s+/);return((((a=t[0])==null?void 0:a[0])??"")+(((l=t.at(-1))==null?void 0:l[0])??"")).toUpperCase()}function M({data:s,watchUrl:t}){const a=w[s.accent]??w.steel,l={"--cs-accent":a.primary,"--cs-accent-soft":a.soft,"--cs-accent-line":a.line},c=`Episode ${s.episode.number}`,d=t||s.episode.watchUrl;return e.jsxs("article",{style:l,className:"bg-[var(--color-off-white)] text-[var(--color-navy)] rounded-2xl border border-[var(--color-gray-soft)] overflow-hidden shadow-[0_2px_30px_rgba(4,49,89,0.06)] font-sans",children:[e.jsxs("header",{className:"flex items-start justify-between gap-6 px-8 pt-8 pb-6 border-b border-[var(--cs-accent-line)]",children:[e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsxs("div",{className:"flex items-center gap-3 text-[11px] font-bold tracking-[0.18em] uppercase text-[var(--color-slate)]",children:[e.jsx("span",{className:"inline-block w-2 h-2 rounded-full bg-[var(--cs-accent)]"}),e.jsx("span",{children:s.episode.show}),e.jsx("span",{className:"text-[var(--color-neutral-mid)]",children:"·"}),e.jsx("span",{children:c})]}),e.jsxs("h1",{className:"mt-3 font-display font-semibold text-3xl md:text-4xl leading-[1.05] tracking-tight text-[var(--color-navy)]",children:[s.episode.title,s.episode.titleEm&&e.jsxs(e.Fragment,{children:[e.jsx("br",{}),e.jsx("em",{className:"text-[var(--cs-accent)] not-italic font-normal italic",children:s.episode.titleEm})]})]}),s.episode.subtitle&&e.jsx("p",{className:"mt-3 text-sm md:text-base text-[var(--color-neutral-ink)] leading-relaxed max-w-2xl",children:s.episode.subtitle})]}),e.jsx("div",{className:"flex flex-col items-end gap-2 shrink-0",children:e.jsx("span",{className:"inline-flex items-center text-[10px] font-bold tracking-[0.18em] uppercase px-2.5 py-1 rounded-[3px] text-white",style:{background:"var(--cs-accent)"},children:c})})]}),e.jsxs("section",{className:"flex flex-wrap items-center gap-5 px-8 py-5 bg-white border-b border-[var(--cs-accent-line)]",children:[e.jsx("div",{className:"relative w-16 h-16 rounded-full overflow-hidden grid place-items-center font-display text-xl font-bold text-[var(--cs-accent)]",style:{background:"var(--cs-accent-soft)",border:"1px solid var(--cs-accent-line)"},"aria-hidden":!0,children:s.guest.portrait?e.jsx("img",{src:s.guest.portrait,alt:s.guest.name,className:"absolute inset-0 w-full h-full object-cover"}):e.jsx("span",{children:D(s.guest.name)})}),e.jsxs("div",{className:"flex-1 min-w-[200px]",children:[e.jsx("div",{className:"text-[10px] font-bold tracking-[0.18em] uppercase text-[var(--color-neutral-mid)]",children:"Featuring"}),e.jsxs("div",{className:"flex items-baseline gap-3 flex-wrap",children:[e.jsx("span",{className:"font-display font-semibold text-xl text-[var(--color-navy)]",children:s.guest.name}),s.guest.linkedin&&e.jsx("a",{href:s.guest.linkedin,target:"_blank",rel:"noopener noreferrer",className:"text-xs font-semibold text-[var(--cs-accent)] hover:underline",children:"LinkedIn â"})]}),(s.guest.role||s.guest.company)&&e.jsxs("div",{className:"text-xs text-[var(--color-slate)] mt-0.5",children:[s.guest.role&&e.jsx("strong",{className:"text-[var(--color-navy)]",children:s.guest.role}),s.guest.role&&s.guest.company&&" · ",s.guest.company]})]}),s.guest.pullQuote&&e.jsxs("blockquote",{className:"font-sans italic text-sm md:text-base text-[var(--color-neutral-ink)] max-w-md text-right",children:["â",s.guest.pullQuote,"â"]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-px bg-[var(--cs-accent-line)]",children:s.moves.map((b,g)=>e.jsx(I,{move:b},g))}),e.jsxs("aside",{className:"px-8 py-6 bg-[var(--cs-accent-soft)] border-t border-[var(--cs-accent-line)]",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-2",children:[e.jsx("span",{className:"inline-block w-1 h-7 bg-[var(--cs-accent)]"}),e.jsx("span",{className:"text-[11px] font-bold tracking-[0.18em] uppercase text-[var(--cs-accent)]",children:s.monday.kicker})]}),e.jsx("p",{className:"text-[var(--color-navy)] text-sm md:text-base leading-relaxed",dangerouslySetInnerHTML:{__html:s.monday.body}
1}),s.monday.stamp&&e.jsxs("p",{className:"mt-3 font-sans italic text-base md:text-lg text-[var(--cs-accent)]",children:["â",s.monday.stamp,"â"]})]}),e.jsxs("footer",{className:"flex flex-wrap items-center justify-between gap-3 px-8 py-4 bg-white border-t border-[var(--cs-accent-line)] text-[10px] tracking-[0.12em] uppercase text-[var(--color-neutral-mid)]",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsxs("span",{className:"inline-flex",children:[e.jsx(k,{children:"DZ"}),e.jsx("span",{className:"-ml-1.5",children:e.jsx(k,{children:"AJ"})})]}),e.jsx("span",{className:"font-semibold text-[var(--color-slate)] normal-case tracking-normal",children:"Dale Zwizinski · Adam Jay"})]}),e.jsxs("div",{className:"font-sans italic normal-case tracking-normal text-[var(--color-slate)]",children:["Bridge the ",e.jsx("em",{className:"text-[var(--cs-accent)]",children:"GTM Gap®"})]}),d?e.jsxs("a",{href:d,target:"_blank",rel:"noopener noreferrer",className:"font-bold text-[var(--cs-accent)] hover:underline",children:["Watch ",c," â"]}):e.jsx("span",{className:"font-bold text-[var(--cs-accent)]",children:"revenue-reimagined.com"})]})]})}function k({children:s}){return e.jsx("span",{className:"inline-grid place-items-center w-6 h-6 rounded-full font-bold text-[9px] tracking-normal",style:{background:"var(--cs-accent-soft)",border:"1px solid var(--cs-accent-line)",color:"var(--cs-accent)"},children:s})}function I({move:s}){return e.jsxs("section",{className:"bg-[var(--color-off-white)] px-8 py-6",children:[e.jsx("h2",{className:"font-display font-semibold text-xl text-[var(--color-navy)] mb-4 leading-tight",children:s.title}),e.jsx(F,{module:s.module,content:s.content}),s.callout&&e.jsxs("div",{className:"mt-4 p-4 rounded-lg text-sm leading-relaxed",style:{background:"var(--cs-accent-soft)",border:"1px solid var(--cs-accent-line)"},children:[e.jsx("strong",{className:"text-[var(--cs-accent)] mr-1",children:s.callout.title}),e.jsx("span",{dangerouslySetInnerHTML:{__html:s.callout.body}})]})]})}function F({module:s,content:t}){if(s==="traits"){const a=t;return e.jsx("ul",{className:"grid grid-cols-1 gap-3",children:a.map((l,c)=>e.jsxs("li",{className:"rounded-lg px-4 py-3 bg-white border border-[var(--cs-accent-line)]",children:[e.jsx("div",{className:"font-display font-semibold text-base text-[var(--color-navy)] mb-1",children:l.name}),e.jsx("div",{className:"text-xs md:text-sm text-[var(--color-slate)] leading-relaxed",children:l.desc})]},c))})}if(s==="questions"){const a=t;return e.jsx("ul",{className:"flex flex-col gap-3",children:a.map((l,c)=>e.jsxs("li",{className:"flex flex-col gap-1.5",children:[e.jsx("span",{className:"self-start text-[10px] font-bold tracking-[0.16em] uppercase px-2 py-0.5 rounded-[3px]",style:{background:"var(--cs-accent-soft)",color:"var(--cs-accent)",border:"1px solid var(--cs-accent-line)"},children:l.label}),e.jsx("span",{className:"text-sm text-[var(--color-neutral-ink)] leading-relaxed",dangerouslySetInnerHTML:{__html:l.text}})]},c))})}if(s==="timeline"){const a=t;return e.jsx("ol",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:a.map((l,c)=>e.jsxs("li",{className:"rounded-lg px-4 py-3 bg-white border border-[var(--cs-accent-line)]",children:[e.jsx("div",{className:"text-[10px] font-bold tracking-[0.18em] uppercase mb-1",style:{color:"var(--cs-accent)"},children:l.day}),e.jsx("div",{className:"font-display font-semibold text-base text-[var(--color-navy)] mb-1",children:l.label}),e.jsx("div",{className:"text-xs text-[var(--color-slate)] leading-relaxed",children:l.note})]},c))})}if(s==="versus"){const a=t;return e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-[1fr_auto_1fr] gap-3 md:gap-4 items-stretch",children:[e.jsx(E,{tone:"good",label:a.good.label,body:a.good.body}),e.jsx("div",{className:"hidden md:flex items-center justify-center font-sans italic text-[var(--color-neutral-mid)]",children:"vs."}),e.jsx(E,{tone:"bad",label:a.bad.label,body:a.bad.body})]})}if(s==="insights"){const a=t;return e.jsx("ul",{className:"flex flex-col gap-3",children:a.map((l,c)=>e.jsxs("li",{className:"flex gap-3",children:[e.jsx("span",{"aria-hidden":!0,
1className:"mt-1.5 w-1.5 h-1.5 rounded-full shrink-0",style:{background:"var(--cs-accent)"}}),e.jsxs("div",{className:"flex-1",children:[e.jsx("strong",{className:"font-display font-semibold text-base text-[var(--color-navy)] block mb-0.5",children:l.title}),e.jsx("span",{className:"text-sm text-[var(--color-slate)] leading-relaxed",dangerouslySetInnerHTML:{__html:l.body}})]})]},c))})}return null}function E({tone:s,label:t,body:a}){const l=s==="good";return e.jsxs("div",{className:"rounded-lg px-4 py-3 bg-white border",style:{borderColor:l?"var(--cs-accent-line)":"rgba(220,38,38,0.25)"},children:[e.jsx("div",{className:"text-[10px] font-bold tracking-[0.18em] uppercase mb-1",style:{color:l?"var(--cs-accent)":"#DC2626"},children:t}),e.jsx("div",{className:"text-xs md:text-sm text-[var(--color-neutral-ink)] leading-relaxed",dangerouslySetInnerHTML:{__html:a}})]})}function U(s,t,a=3){const l=s.findIndex(d=>d.slug===t);return(l>=0?[...s.slice(l+1),...s.slice(0,l)]:s).filter(d=>d.slug!==t).slice(0,a)}const $="https://www.youtube.com/@bridgethegaprr?sub_confirmation=1";function R(s){return new Date(s).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})}function A(s){const t=s.split(/\n{2,}/).map(c=>c.trim()).filter(Boolean);if(t.length>1)return t;const a=s.replace(/\s+/g," ").match(/[^.!?]+[.!?]+(?:["')\]]+)?\s*/g)??[s],l=[];for(let c=0;c<a.length;c+=4)l.push(a.slice(c,c+4).join("").trim());return l}function W(){const{slug:s}=L(),[t,a]=x.useState(null),[l,c]=x.useState(!0),[d,b]=x.useState(null),[g,f]=x.useState(null),u=x.useRef(null);function _(r){var i,o,m,h,p;(o=(i=u.current)==null?void 0:i.contentWindow)==null||o.postMessage(JSON.stringify({event:"command",func:"seekTo",args:[r,!0]}),"*"),(h=(m=u.current)==null?void 0:m.contentWindow)==null||h.postMessage(JSON.stringify({event:"command",func:"playVideo",args:[]}),"*"),(p=u.current)==null||p.scrollIntoView({behavior:"smooth",block:"start"})}if(x.useEffect(()=>{if(!(t!=null&&t.meta.hasCheatSheet)){f(null);return}const r=t.meta.slug;let i=!1;return fetch(`/episodes/cheatsheets/${r}-data.json`).then(o=>o.ok?o.json():null).then(o=>{i||f(o)}).catch(()=>{i||f(null)}),()=>{i=!0}},[t==null?void 0:t.meta.slug,t==null?void 0:t.meta.hasCheatSheet]),x.useEffect(()=>{const r=window.__EPISODE_DATA__;if(r&&r.meta.slug===s){a({...r,related:r.related??[]}),c(!1);return}async function i(){try{const[o,m]=await Promise.all([fetch("/api/episodes"),fetch(`/episodes/${s}.json`)]);if(!o.ok||!m.ok)throw new Error("Episode not found");const{episodes:h}=await o.json(),p=h.find(C=>C.slug===s);if(!p)throw new Error("Episode not found");const S=await m.json();a({meta:p,detail:S,related:U(h,s??"")})}catch(o){b(o instanceof Error?o.message:"Failed to load episode")}finally{c(!1)}}i()},[s]),l)return e.jsxs("div",{className:"min-h-screen bg-white",children:[e.jsx(v,{}),e.jsx("div",{className:"min-h-[60vh] flex items-center justify-center",children:e.jsx("div",{className:"animate-pulse text-[var(--color-slate)] font-semibold",children:"Loading episode..."})}),e.jsx(j,{})]});if(d||!t)return e.jsxs("div",{className:"min-h-screen bg-white",children:[e.jsx(v,{}),e.jsx("div",{className:"min-h-[60vh] flex items-center justify-center",children:e.jsx("p",{className:"text-red-600",children:d??"Episode not found."})}),e.jsx(j,{})]});const{meta:n,detail:N,related:y}=t;return e.jsxs("div",{className:"min-h-screen bg-white",children:[e.jsx(v,{}),e.jsx("div",{className:"bg-[var(--color-navy)] text-white",children:e.jsx("div",{className:"max-w-6xl mx-auto px-4 pt-28 lg:pt-36 pb-10 sm:px-6 lg:px-8",children:e.jsxs("div",{className:"grid gap-8 lg:grid-cols-[minmax(0,0.9fr)_minmax(0,1.25fr)] lg:items-center lg:gap-12",children:[e.jsx("section",{"aria-label":`Watch ${n.title}`,className:"order-1 overflow-hidden rounded-[6px] border border-white/10 bg-black shadow-2xl lg:order-2",children:e.jsx("div",{className:"relative w-full aspect-video",children:e.jsx("iframe",{ref:u,src:`https://www.youtube.com/embed/${n.youtubeId}?enablejsapi=1`,title:`Watch ${n.title}`,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,className:"absolute inset-0 w-full h-full"})})}),e.jsxs("div",{className:"order-2 lg:order-1",children:[n.episodeNumber&&e.jsxs("p",{className:"text-xs font-bold text-[var(--color-slate)] tracking-widest uppercase mb-3",children:["Revenue Reimagined · Episode ",n.episodeNumber]}),e.jsx("h1",{className:"text-3xl sm:text-4xl lg:text-5xl font-bold leading-tight mb-5",children:n.title}),n.guest&&e.jsxs("div",{children:[e.jsx("p",{className:"font-semibold text-white text-sm",children:n.guest}),n.guestTitle&&e.jsx("p",{className:"text-xs text-[var(--color-cloud)]/80",children:n.guestTitle})]}),e.jsx("p",{className:"text-xs text-[var(--color-cloud)]/80 mt-3",children:R(n.publishedAt)})]})]})})}),e.jsx("div",{className:"bg-[var(--color-navy)] border-t border-white/10",children:e.jsxs("div",{className:"max-w-3xl mx-auto px-4 py-4 sm:px-6 lg:px-8 flex flex-wrap items-center justify-between gap-3 text-sm",children:[e.jsx("span",{className:"text-white/70",children:"Enjoying the show?"}),e.jsxs("div",{className:"flex flex-wrap items-center gap-3",children:[e.jsx("a",{href:`https://www.youtube.com/watch?v=${n.youtubeId}`,target:"_blank",rel:"noopener noreferrer",className:"text-[var(--color-slate)] hover:text-white font-semibold transition",children:"Like or comment on YouTube â"}),e.jsx("span",{"aria-hidden":"true",className:"text-white/30",children:"·"}),e.jsx("a",{href:$,target:"_blank",rel:"noopener noreferrer",className:"text-[var(--color-slate)] hover:text-white font-semibold transition",children:"Subscribe â"})]})]})}),e.jsxs("div",{className:"max-w-3xl mx-auto px-4 py-10 sm:px-6 lg:px-8",children:[n.summary&&e.jsx("section",{className:"mb-12",children:e.jsx("div",{className:"space-y-4",children:n.summary.split(/\n\n+/).map((r,i)=>e.jsx("p",{className:"text-[var(--color-navy)] text-base leading-relaxed",children:i===0&&n.guest?e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"text-[var(--color-slate)] font-semibold",children:n.guest})," ",r.replace(new RegExp(`^${n.guest}
1[,\\s]*`,"i"),"").replace(/^./,o=>o.toLowerCase())]}):r},i))})}),n.discussed&&n.discussed.length>0&&e.jsxs("section",{className:"mb-12",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("span",{className:"block w-1 h-7 bg-[var(--color-slate)] rounded-full"}),e.jsx("h2",{className:"text-2xl font-bold text-[var(--color-navy)] tracking-tight",children:"Discussed in this episode"})]}),e.jsx("ul",{className:"space-y-3 pl-4",children:n.discussed.map((r,i)=>e.jsxs("li",{className:"flex gap-3",children:[e.jsx("span",{className:"text-[var(--color-slate)] mt-1 shrink-0",children:"â¢"}),e.jsx("p",{className:"text-[var(--color-navy)] text-base leading-relaxed",children:r})]},i))})]}),n.highlights&&n.highlights.length>0&&e.jsxs("section",{className:"mb-12",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("span",{className:"block w-1 h-7 bg-[var(--color-slate)] rounded-full"}),e.jsx("h2",{className:"text-2xl font-bold text-[var(--color-navy)] tracking-tight",children:"Episode highlights"})]}),e.jsx("ul",{className:"space-y-4 pl-4",children:n.highlights.map((r,i)=>e.jsx("li",{children:e.jsxs("button",{onClick:()=>_(r.seconds),className:"flex items-baseline gap-3 text-left group w-full",children:[e.jsx("span",{className:"text-[var(--color-slate)] font-sans font-bold text-sm shrink-0 group-hover:underline",children:r.timestamp}),e.jsxs("span",{className:"text-[var(--color-navy)] text-base group-hover:text-[var(--color-slate)] transition-colors",children:["â ",r.description]})]})},i))})]}),n.takeaways.length>0&&e.jsxs("section",{className:"mb-12 bg-[#F8FAFB] rounded-2xl p-6 sm:p-8 border border-[#E5EDF1]",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("span",{className:"block w-1 h-7 bg-[var(--color-slate)] rounded-full"}),e.jsx("h2",{className:"text-2xl font-bold text-[var(--color-navy)] tracking-tight",children:"Key takeaways"})]}),e.jsx("ol",{className:"space-y-5",children:n.takeaways.map((r,i)=>e.jsxs("li",{className:"flex gap-4",children:[e.jsx("span",{className:"text-2xl font-bold text-[var(--color-slate)] leading-none tabular-nums w-6 shrink-0 mt-0.5",children:i+1}),e.jsx("p",{className:"text-[var(--color-navy)] text-base leading-relaxed",children:r})]},i))})]}),N.transcript&&e.jsx("section",{className:"mb-12",children:e.jsxs("details",{className:"group",children:[e.jsxs("summary",{className:"flex items-center gap-3 mb-6 cursor-pointer list-none [&::-webkit-details-marker]:hidden",children:[e.jsx("span",{className:"block w-1 h-7 bg-[var(--color-slate)] rounded-full"}),e.jsx("h2",{className:"text-2xl font-bold text-[var(--color-navy)] tracking-tight",children:"Transcript"}),e.jsx("span",{className:"ml-1 text-sm font-sans font-semibold text-[var(--color-slate)] group-open:hidden",children:"Show â¾"}),e.jsx("span",{className:"ml-1 text-sm font-sans font-semibold text-[var(--color-slate)] hidden group-open:inline",children:"Hide â´"})]}),e.jsx("div",{className:"space-y-4 pl-4",children:A(N.transcript).map((r,i)=>e.jsx("p",{className:"text-[var(--color-navy)] text-base leading-relaxed",children:r},i))})]})}),n.hasCheatSheet&&g&&e.jsxs("section",{"aria-label":"Episode Cheat Sheet",children:[e.jsx("div",{className:"flex items-center justify-between mb-4",children:e.jsx("p",{className:"text-xs font-bold text-[var(--color-neutral-mid)] tracking-widest uppercase",children:"Episode Cheat Sheet"})}),e.jsx(M,{data:g,watchUrl:`https://www.youtube.com/watch?v=${n.youtubeId}`})]}),y.length>0&&e.jsxs("section",{"aria-labelledby":"more-episodes-heading",className:"mt-14 border-t border-[#D7E1E7] pt-10",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("span",{className:"block w-1 h-7 bg-[var(--color-slate)] rounded-full"}),e.jsx("h2",{id:"more-episodes-heading",className:"text-2xl font-bold text-[var(--color-navy)] tracking-tight",children:"More GTM Uncensored Episodes"})]}),e.jsx("div",{className:"grid gap-5 sm:grid-cols-3",children:y.map(r=>e.jsxs(T,{to:`/insights/podcast/${r.slug}`,className:"group overflow-hidden rounded-xl border border-[#D7E1E7] bg-white transition hover:-translate-y-0.5 hover:shadow-lg",children:[e.jsx("img",{src:r.thumbnailUrl,alt:"",width:"480",height:"270",loading:"lazy",className:"aspect-video w-full object-cover"}),e.jsxs("div",{className:"p-4",children:[e.jsx("h3",{className:"text-sm font-bold leading-snug text-[var(--color-navy)] transition-colors group-hover:text-[var(--color-slate)]",children:r.title}),r.guest&&e.jsx("p",{className:"mt-2 text-xs text-[var(--color-neutral-mid)]",children:r.guest})]})]},r.slug))})]})]}),e.jsx(j,{})]})}
1export{W as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.