1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4741],{14741:(e,t,a)=>{a.d(t,{PodcastCard:()=>I});var s=a(30388),r=a(28920),l=a(46605),i=a.n(l),o=a(91421),n=a(86286),d=a(49327);let c=(0,d.A)("headphones",[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]]);var h=a(37323),x=a(41301),m=a(9032);let u=(0,d.A)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);var b=a(70348),p=a(56807),v=a(56992),f=a(66849);let g=(0,d.A)("heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]),j=(0,d.A)("share-2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]);var N=a(32037),y=a(48024),w=a(30980),k=a(41142),A=a(25420),z=a(14386);let C=e=>{if(!e||"string"!=typeof e)return"#";let t=e.trim();if(t.startsWith("/")||t.startsWith("./")||t.startsWith("../")||t.startsWith("#"))return t;try{let e=new URL(t);if(["http:","https:","mailto:","tel:"].includes(e.protocol))return t}catch(e){}return"#"},E=e=>{try{return new Date(e).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})}catch(e){return"Invalid date"}},L=e=>"object"==typeof e&&null!==e,M=e=>"object"==typeof e&&null!==e,S=e=>{let{podcast:t,trigger:a,open:r,onOpenChange:l}=e,i=(0,b.Ld)(t),n=(0,b.N_)(t),d=(0,b.Ag)(t.peopleInvolved),h=t.categories,x=M(t.playlist)?t.playlist:null;return(0,s.jsxs)(w.cj,{open:r,onOpenChange:l,children:[(0,s.jsx)(w.CG,{asChild:!0,children:a}),(0,s.jsxs)(w.h,{side:"right",className:"w-[95vw] min-w-[95vw] lg:w-[40vw] lg:min-w-[40vw] p-0 max-w-none",children:[(0,s.jsx)(w.Fm,{children:(0,s.jsx)(z.s6,{children:(0,s.jsxs)(w.qp,{children:[n," - Podcast Details"]})})}),(0,s.jsx)("div",{className:"flex flex-col h-full",children:(0,s.jsx)(k.F,{className:"flex-1 h-full",children:(0,s.jsxs)("div",{className:"space-y-8 pb-20",children:[(0,s.jsxs)("div",{className:"relative h-64 overflow-hidden",children:[i?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(o.default,{src:i,alt:n,fill:!0,className:"object-cover object-center",sizes:"(max-width: 1024px) 95vw, 40vw"}),(0,s.jsx)("div",{className:"absolute inset-0 bg-linear-to-br from-[#2aaac6]/90 via-[#2aaac6]/60 to-black/80"}),(0,s.jsx)("div",{className:"absolute inset-0 bg-linear-to-t from-black via-trans
1parent to-transparent"})]}):(0,s.jsx)("div",{className:"absolute inset-0 bg-linear-to-br from-[#2aaac6] via-[#2aaac6]/80 to-[#2aaac6]/60",children:(0,s.jsx)("div",{className:"absolute inset-0 bg-linear-to-t from-black/40 via-transparent to-transparent"})}),(0,s.jsxs)("div",{className:"absolute top-6 left-6 right-6 flex justify-between items-start",children:[t.episodeNumber&&(0,s.jsx)("div",{className:"bg-white/20 backdrop-blur-xl border border-white/30 rounded-2xl px-4 py-2",children:(0,s.jsxs)("span",{className:"text-white font-bold text-sm",children:["EP. ",t.episodeNumber]})}),t.publishedAt&&(0,s.jsx)("div",{className:"bg-black/30 backdrop-blur-xl border border-white/20 rounded-2xl px-4 py-2",children:(0,s.jsxs)("div",{className:"flex items-center gap-2 text-white/90 text-sm",children:[(0,s.jsx)(f.A,{className:"w-4 h-4"}),E(t.publishedAt)]})})]}),(0,s.jsxs)("div",{className:"absolute bottom-0 left-0 right-0 p-6",children:[(0,s.jsx)("h1",{className:"text-3xl lg:text-4xl font-black text-white leading-tight mb-2 drop-shadow-lg",children:n}),d&&(0,s.jsx)("p",{className:"text-white/90 text-lg font-medium",children:d})]})]}),(0,s.jsxs)("div",{className:"px-6 space-y-8",children:[(0,s.jsx)("div",{className:"grid grid-cols-2 gap-4",children:t.playCount&&Number(t.playCount)>0?(0,s.jsxs)("div",{className:"group relative overflow-hidden bg-linear-to-br from-emerald-50 via-emerald-25 to-transparent p-6 rounded-3xl border border-emerald-200 hover:border-emerald-300 transition-all duration-500",children:[(0,s.jsx)("div",{className:"absolute top-0 right-0 w-20 h-20 bg-emerald-100 rounded-full -translate-y-10 translate-x-10 group-hover:scale-150 transition-transform duration-700"}),(0,s.jsx)(c,{className:"w-8 h-8 text-emerald-600 mb-3 relative z-10"}),(0,s.jsx)("div",{className:"text-sm text-slate-500 mb-1 relative z-10",children:"Total Plays"}),(0,s.jsx)("div",{className:"text-2xl font-black text-slate-900 relative z-10",children:Number(t.playCount).toLocaleString()})]}):(0,s.jsxs)("div",{className:"group relative overflow-hidden bg-linear-to-br from-rose-50 via-rose-25 to-transparent p-6 rounded-3xl border border-rose-200 hover:border-rose-300 transition-all duration-500",children:[(0,s.jsx)("div",{className:"absolute top-0 right-0 w-20 h-20 bg-rose-100 rounded-full -translate-y-10 translate-x-10 group-hover:scale-150 transition-transform duration-700"}),(0,s.jsx)(g,{className:"w-8 h-8 text-rose-500 mb-3 relative z-10"}),(0,s.jsx)("div",{className:"text-sm text-slate-500 mb-1 relative z-10",children:"Likes"}),(0,s.jsx)("div",{className:"text-2xl font-black text-slate-900 relative z-10",children:t.likes||0})]})}),(0,s.jsx)("div",{className:"flex gap-4",children:(0,s.jsx)(p.$,{variant:"outline",size:"icon",className:"h-14 w-14 border-2 border-[#2aaac6]/30 text-[#2aaac6] hover:bg-[#2aaac6]/10 hover:border-[#2aaac6]/50 rounded-2xl transition-all duration-300","aria-label":"Share episode",children:(0,s.jsx)(j,{className:"w-6 h-6"})})}),(0,s.jsx)(A.w,{className:"bg-linear-to-r from-transparent via-slate-200 to-transparent"}),d&&""!==d.trim()&&(0,s.jsxs)("div",{className:"relative overflow-hidden bg-linear-to-br from-slate-50 via-white to-slate-50/50 p-6 rounded-3xl border border-slate-200/60",children:[(0,s.jsx)("div",{className:"absolute top-0 right-0 w-32 h-32 bg-[#2aaac6]/5 rounded-full -translate-y-16 translate-x-16"}),(0,s.jsxs)("div",{className:"flex items-start gap-4 relative z-10",children:[(0,s.jsx)("div",{className:"w-12 h-12 bg-linear-to-br from-[#2aaac6] to-[#2aaac6]/80 rounded-2xl flex items-center justify-center shrink-0",children:(0,s.jsx)(N.A,{className:"w-6 h-6 text-white"})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"font-bold text-2xl text-slate-900 mb-2",children:"Contributors"}),(0,s.jsx)("p",{className:"text-slate-700 font-medium text-lg",children:d})]})]})]}),h&&h.length>0&&(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"font-bold text-xl text-slate-900 mb-4",children:"Categories"}),(0,s.jsx)("div",{className:"flex flex-wrap gap-3",children:h.map((e,t)=>{var a;let r=L(e)?e.name||"Category":String(e),l=L(e)?"category-".concat(null!=(a=e.id)?a:t):"category-".concat(t,"-").concat(r);return(0,s.jsx)(y.E,{className:"bg-linear-to-r from-[#2aaac6]/15 via-[#2aaac6]/10 to-[#2aaac6]/5 text-[#2aaac6] border-[#2aaac6]/30 hover:from-[#2aaac6]/25 hover:via-[#2aaac6]/20 hover:to-[#2aaac6]/10 hover:border-[#2aaac6]/50 transition-all duration-300 px-4 py-2 text-sm font-semibold rounded-xl",children:r},l)})})]}),t.description&&""!==t.description.trim()&&(0,s.jsxs)("div",{className:"relative overflow-hidden bg-linear-to-br from-amber-50/50 via-white to-orange-50/30 p-6 rounded-3xl border border-amber-200/40",children:[(0,s.jsx)("div",{className:"absolute bottom-0 left-0 w-24 h-24 bg-amber-100/50 rounded-full translate-y-12 -translate-x-12"}),(0,s.jsx)("h3",{className:"font-bold text-xl text-slate-900 mb-4 relative z-10",children:"About This Episode"}),(0,s.jsx)("p",{className:"text-slate-700 leading-relaxed text-lg relative z-10",children:t.description})]}),x&&(0,s.jsxs)("div",{className:"relative overflow-hidden bg-linear-to-br from-[#2aaac6]/8 via-[#2aaac6]/4 to-transparent p-6 rounded-3xl border border-[#2aaac6]/25",children:[(0,s.jsx)("div",{className:"absolute top-0 left-0 w-40 h-40 bg-[#2aaac6]/10 rounded-full -translate-y-20 -translate-x-20"}),(0,s.jsxs)("div",{className:"relative z-10",children:[(0,s.jsx)("h3",{className:"font-bold text-xl text-slate-900 mb-3",children:"Playlist"}),(0,s.jsx)("div",{className:"bg-white/60 backdrop-blur-sm p-4 rounded-2xl border border-white/40",children:(0,s.jsx)("p",{className:"font-bold text-[#2aaac6] text-lg",children:x.name})})]})]}),(0,s.jsxs)("div",{className:"bg-linear-to-br from-slate-900 via-slate-800 to-slate-900 p-6 rounded-3xl text-white",children:[(0,s.jsx)("h3",{className:"font-bold text-lg mb-4 text-slate-200",children:"Episode Metadata"}),(0,s.jsxs)("div",{className:"grid grid-cols-1 gap-3 text-sm",children:[t.publishedAt&&(0,s.jsxs)("div",{className:"flex justify-between items-center py-2 border-b border-slate-700/50",children:[(0,s.jsx)("span",{className:"text-slate-400",children:"Published"}),(0,s.jsx)("span",{className:"font-semibold text-white",children:E(t.publishedAt)})]}),Number(t.playCount)>0&&(0,s.jsxs)("div",{className:"flex justify-between items-center py-2 border-b border-slate-700/50",children:[(0,s.jsx)("span",{className:"text-slate-400",children:"Total Plays"}),(0,s.jsx)("span",{className:"font-semibold text-white",children:Number(t.playCount).toLocaleStr
1ing()})]}),t.episodeNumber&&(0,s.jsxs)("div",{className:"flex justify-between items-center py-2",children:[(0,s.jsx)("span",{className:"text-slate-400",children:"Episode Number"}),(0,s.jsxs)("span",{className:"font-semibold text-white",children:["#",t.episodeNumber]})]})]})]}),t.externalLinks&&t.externalLinks.length>0&&(0,s.jsxs)("div",{className:"relative overflow-hidden bg-linear-to-br from-blue-50/50 via-white to-indigo-50/30 p-6 rounded-3xl border border-blue-200/40",children:[(0,s.jsx)("div",{className:"absolute top-0 right-0 w-32 h-32 bg-blue-100/30 rounded-full -translate-y-16 translate-x-16"}),(0,s.jsx)("h3",{className:"font-bold text-xl text-slate-900 mb-4 relative z-10",children:"Related Links"}),(0,s.jsx)("div",{className:"space-y-3 relative z-10",children:t.externalLinks.map((e,t)=>{var a;return(0,s.jsxs)("div",{className:"bg-white/60 backdrop-blur-sm p-4 rounded-2xl border border-white/40",children:[(0,s.jsx)("a",{href:C(e.url),target:"_blank",rel:"noopener noreferrer",className:"font-semibold text-blue-600 hover:text-blue-800 transition-colors",children:e.title}),e.description&&(0,s.jsx)("p",{className:"text-slate-600 text-sm mt-1",children:e.description})]},null!=(a=e.id)?a:"".concat(e.url,"-").concat(t))})})]})]})]})})})]})]})};var P=a(5362);let D=e=>{try{return new Date(e).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric"})}catch(e){return"Invalid date"}},I=e=>{let{podcast:t,variant:a="default"}=e,l=(0,n.useRouter)(),{user:d}=(0,P.A)(),{currentTrack:f,isPlaying:g,setCurrentTrack:j,togglePlayPause:N,showPlayer:y,prefetchTrack:w}=(0,v.R)(),k=(0,b.Ld)(t),A=(0,b.N_)(t),z=(0,b.w8)(t),C=!!(0,b.p4)(t),E=!!z,L=(0,b.Ag)(t.peopleInvolved),[M,I]=(0,r.useState)(!1),[_,F]=(0,r.useState)(t.likes||0),[T,U]=(0,r.useState)(!1);(0,r.useEffect)(()=>{if(d&&t){var e;I(((null==(e=d.likedPodcasts)?void 0:e.map(e=>"string"==typeof e?e:e.id))||[]).includes(t.id))}else I(!1)},[d,t]);let $=async e=>{if(e.preventDefault(),e.stopPropagation(),!d)return void l.push("/login?redirect_to="+encodeURIComponent(globalThis.location.pathname));if(!T){U(!0),I(!M),F(e=>M?Math.max(0,e-1):e+1);try{let e=await fetch("/api/podcasts/".concat(t.id,"/like"),{method:"POST"}),a=await e.json();if(!a.success)throw Error(a.error||"Failed to toggle like");F(a.likeCount),I(a.liked)}catch(e){console.error("Error toggling like:",e),I(M),F(_)}finally{U(!1)}}},O=(0,r.useMemo)(()=>z?{id:"podcast-".concat(t.id),title:A,artist:L||void 0,src:z,thumbnail:null!=k?k:void 0}:null,[z,k,A,L,t.id]);(0,r.useEffect)(()=>{O&&w(O)},[O,w]);let R=O&&(null==f?void 0:f.id)===O.id,W=!!(R&&g),q=e=>{if(e.preventDefault(),e.stopPropagation(),C&&!E)return void l.push("/podcasts/".concat(t.slug));if(O){if(R){y(),N();return}j(O,!0)}};return"compact"===a?(0,s.jsxs)("div",{className:"flex group bg-white rounded-xl border border-gray-100 shadow-sm hover:shadow-md transition-all overflow-hidden relative",children:[(0,s.jsxs)("div",{className:"relative w-40 aspect-video flex-shrink-0 bg-slate-100",children:[k?(0,s.jsx)(o.default,{src:k,alt:A,fill:!0,className:"object-cover",sizes:"160px"}):(0,s.jsx)("div",{className:"w-full h-full flex items-center justify-center bg-slate-100",children:(0,s.jsx)(c,{className:"w-5 h-5 text-slate-400"})}),(0,s.jsx)("div",{className:"absolute inset-0 flex items-center justify-center opacity-100 lg:opacity-0 lg:group-hover:opacity-100 transition-opacity bg-black/20 lg:bg-black/20",children:(0,s.jsx)(p.$,{type:"button",variant:"ghost",size:"sm",onClick:q,className:"w-10 h-10 rounded-full cursor-pointer bg-black/60 text-white hover:bg-[#2aaac6] hover:text-white p-0",children:W?(0,s.jsx)(h.A,{className:"w-5 h-5"}):(0,s.jsx)(x.A,{className:"w-5 h-5 ml-0.5"})})})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-1 min-w-0 p-3 flex-1",children:[(0,s.jsx)("h3",{className:"font-semibold text-sm text-gray-900 line-clamp-2 leading-tight group-hover:text-[#2aaac6] transition-colors",children:(0,s.jsx)(i(),{href:"/podcasts/".concat(t.slug),className:"hover:text-[#2aaac6] transition-colors",children:A})}),(0,s.jsxs)("div",{className:"flex flex-col text-xs text-gray-500",children:[(0,s.jsx)("span",{children:"Dawan Podcast"}),(0,s.jsxs)("div",{className:"flex items-center gap-1",children:[t.episodeNumber&&(0,s.jsxs)("span",{children:["Ep. ",t.episodeNumber," ⢠"]}),(0,s.jsx)("span",{children:D(t.publishedAt||t.createdAt)})]})]})]}),(0,s.jsx)(p.$,{variant:"ghost",size:"icon",onClick:$,disabled:T,className:"absolute bottom-2 cursor-pointer right-2 h-8 w-8 text-gray-400 hover:text-[#2aaac6] hover:bg-gray-50",children:(0,s.jsx)(m.A,{className:"h-4 w-4 ".concat(M?"fill-[#2aaac6] text-[#2aaac6]":"")})})]}):(0,s.jsxs)("div",{className:"group flex flex-col bg-white rounded-2xl border border-gray-100 shadow-sm hover:shadow-md transition-all overflow-hidden",children:[(0,s.jsxs)("div",{className:"relative aspect-video w-full bg-slate-100",children:[k?(0,s.jsx)(o.default,{src:k,alt:A,fill:!0,className:"object-cover transition-transform duration-500 group-hover:scale-105",sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw"}):(0,s.jsx)("div",{className:"w-full h-full flex items-center justify-center bg-slate-100",children:(0,s.jsx)(c,{className:"w-8 h-8 text-slate-400"})}),(0,s.jsx)("div",{className:"absolute inset-0 flex items-center justify-center opacity-100 lg:opacity-0 lg:group-hover:opacity-100 transition-opacity bg-black/10 lg:bg-black/10",children:(0,s.jsx)(p.$,{type:"button",variant:"ghost",size:"icon",onClick:q,className:"w-12 h-12 cursor-pointer rounded-full bg-black/60 text-white hover:bg-[#2aaac6] hover:text-white backdrop-blur-sm transition-all transform hover:scale-110",children:W?(0,s.jsx)(h.A,{className:"w-6 h-6"}):(0,s.jsx)(x.A,{className:"w-6 h-6 ml-1"})})}),C&&(0,s.jsx)("div",{className:"absolute bottom-2 right-2 bg-black/80 text-white text-[10px] font-bold px-1.5 py-0.5 rounded",children:"VIDEO"}),!C&&E&&(0,s.jsx)("div",{className:"absolute bottom-2 right-2 bg-black/80 text-white text-[10px] font-bold px-1.5 py-0.5 rounded",children:"AUDIO"})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-1 p-4",children:[(0,s.jsxs)("div",{className:"flex items-start justify-between gap-2",children:[(0,s.jsx)("h3",{className:"font-bold text-base text-gray-900 line-clamp-2 leading-tight group-hover:text-[#2aaac6] transition-colors",children:(0,s.jsx)(i(),{href:"/podcasts/".concat(t.slug),className:"hover:text-[#2aaac6] transition-colors",children:A})}),(0,s.jsxs)("div",{className:"flex items-center gap-1 -mt-1 shrink-0",children:[(0,s.jsx)(p.$,{variant:"ghost",size:"icon",onClick:$,disabled:T,className:"h-8 w-8 text-gray-400 cursor-pointer hover:text-[#2aaac6] hover:bg-gray-50",children:(0,s.jsx)(m.A,{className:"h-4 w-4 ".concat(M?"fill-[#2aaac6] text-[#2aaac6]":"")})}),E&&(0,s.jsx)(S,{podcast:t,trigger:(0,s.jsxs)(p.$,{variant:"ghost",size:"icon",className:"h-8 w-8 text-gray-400 cursor-pointer hover:text-[#2aaac6] hover:bg-gray-50",children:[(0,s.jsx)(u,{className:"w-4 h-4"}),(0,s.jsx)("span",{className:"sr-only",children:"Details"})]})})]})]}),(0,s.jsxs)("div",{className:"flex items-center gap-2 text-sm text-gray-500",children:[(0,s.jsx)("span",{children:D(t.publishedAt||t.createdAt)}),t.episodeNumber&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{children:"â¢"}),(0,s.jsxs)("span",{children:["Ep ",t.episodeNumber]})]})]})]})]})}},25420:(e,t,a)=>{a.d(t,{w:()=>i});var s=a(30388);a(28920);var r=a(63040),l=a(44420);function i(e){let{className:t,orientation:a="horizontal",decorative:i=!0,...o}=e;return(0,s.jsx)(r.b,{"data-slot":"separator-root",decorative:i,orientation:a,className:(0,l.cn)("bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",t),...o})}},30980:(e,t,a)=>{a.d(t,{CG:()=>n,Fm:()=>x,Qs:()=>u,cj:()=>o,h:()=>h,qp:()=>m});var s=a(30388);a(28920);var r=a(58082),l=a(90449),i=a(44420);function o(e){let{...t}=e;return(0,s.jsx)(r.bL,{"data-slot":"sheet",...t})}function n(e){let{...t}=e;return(0,s.jsx)(r.l9,{"data-slot":"sheet-trigger",...t})}function d(e){let{...t}=e;return(0,s.jsx)(r.ZL,{"data-slot":"sheet-portal",...t})}function c(e){let{className:t,...a}=e;return(0,s.jsx)(r.hJ,{"data-slot":"sheet-overlay",className:(0,i.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",t),...a})}function h(e){let{className:t,children:a,side:o="right",...n}=e;return(0,s.jsxs)(d,{children:[(0,s.jsx)(c,{}),(0,s.jsxs)(r.UC,{"data-slot":"sheet-content",className:(0,i.cn)("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500","right"===o&&"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm","left"===o&&"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm","top"===o&&"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b","bottom"===o&&"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",t),...n,children:[a,(0,s.jsxs)(r.bm,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none",children:[(0,s.jsx)(l.A,{className:"size-4"}),(0,s.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}function x(e){let{className:t,...a}=e;return(0,s.jsx)("div",{"data-slot":"sheet-header",className:(0,i.cn)("flex flex-col gap-1.5 p-4",t),...a})}function m(e){let{className:t,...a}=e;return(0,s.jsx)(r.hE,{"data-slot":"sheet-title",className:(0,i.cn)("text-foreground font-semibold",t),...a})}function u(e){let{className:t,...a}=e;
1return(0,s.jsx)(r.VY,{"data-slot":"sheet-description",className:(0,i.cn)("text-muted-foreground text-sm",t),...a})}},32037:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(49327).A)("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]])},37323:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(49327).A)("pause",[["rect",{x:"14",y:"4",width:"4",height:"16",rx:"1",key:"zuxfzm"}],["rect",{x:"6",y:"4",width:"4",height:"16",rx:"1",key:"1okwgv"}]])},41142:(e,t,a)=>{a.d(t,{$:()=>o,F:()=>i});var s=a(30388);a(28920);var r=a(16258),l=a(44420);function i(e){let{className:t,children:a,...i}=e;return(0,s.jsxs)(r.bL,{"data-slot":"scroll-area",className:(0,l.cn)("relative",t),...i,children:[(0,s.jsx)(r.LM,{"data-slot":"scroll-area-viewport",className:"focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1",children:a}),(0,s.jsx)(o,{}),(0,s.jsx)(r.OK,{})]})}function o(e){let{className:t,orientation:a="vertical",...i}=e;return(0,s.jsx)(r.VM,{"data-slot":"scroll-area-scrollbar",orientation:a,className:(0,l.cn)("flex touch-none p-px transition-colors select-none","vertical"===a&&"h-full w-2.5 border-l border-l-transparent","horizontal"===a&&"h-2.5 flex-col border-t border-t-transparent",t),...i,children:(0,s.jsx)(r.lr,{"data-slot":"scroll-area-thumb",className:"bg-border relative flex-1 rounded-full"})})}},48024:(e,t,a)=>{a.d(t,{E:()=>n});var s=a(30388);a(28920);var r=a(93757),l=a(99706),i=a(44420);let o=(0,l.F)("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});function n(e){let{className:t,variant:a,asChild:l=!1,...n}=e,d=l?r.Slot:"span";return(0,s.jsx)(d,{"data-slot":"badge",className:(0,i.cn)(o({variant:a}),t),...n})}},63040:(e,t,a)=>{a.d(t,{b:()=>d});var s=a(28920),r=a(74274),l=a(30388),i="horizontal",o=["horizontal","vertical"],n=s.forwardRef((e,t)=>{var a;let{decorative:s,orientation:n=i,...d}=e,c=(a=n,o.includes(a))?n:i;return(0,l.jsx)(r.sG.div,{"data-orientation":c,...s?{role:"none"}:{"aria-orientation":"vertical"===c?c:void 0,role:"separator"},...d,ref:t})});n.displayName="Separator";var d=n},66849:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(49327).A)("calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]])},70348:(e,t,a)=>{a.d(t,{Ag:()=>c,Ld:()=>o,N_:()=>i,p4:()=>d,w8:()=>n});let s=e=>"object"==typeof e&&null!==e,r=e=>"object"==typeof e&&null!==e,l=e=>"object"==typeof e&&null!==e,i=e=>{if(!e.playlist)return e.title;let t=s(e.playlist)&&e.playlist.name||"",a=e.episodeNumber,r=[];return(t&&r.push(t),a&&r.push("Ep. ".concat(a)),0===r.length)?e.title:"".concat(r.join(" "),": ").concat(e.title)},o=e=>e.coverImage&&r(e.coverImage)&&e.coverImage.url||null,n=e=>{var t;return e.media&&l(e.media)&&(null==(t=e.media.mimeType)?void 0:t.startsWith("audio/"))&&e.media.url||null},d=e=>{var t;return e.media&&l(e.media)&&(null==(t=e.media.mimeType)?void 0:t.startsWith("video/"))&&e.media.url||null},c=e=>{if(!e||0===e.length)return"Unknown";let t={};for(let a of e){let e=h(a.role);t[e]||(t[e]=[]),t[e].push(a.name)}return Object.entries(t).map(e=>
1{let[t,a]=e;return 1===a.length?"".concat(a[0]," (").concat(t,")"):"".concat(a.join(", ")," (").concat(t,"s)")}).join(" ⢠")},h=e=>({host:"Host","co-host":"Co-Host",guest:"Guest",interviewer:"Interviewer",producer:"Producer",editor:"Editor","sound-engineer":"Sound Engineer",moderator:"Moderator"})[e]||e},90449:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(49327).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])}}]);
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.