PageSourceSearch

https://www.flirtingwithmodels.com/_nuxt/PortalCollection.vue.b84cab8d.js

js flirtingwithmodels.com collected 2026-10-02 14:33:59 UTC 46,646 bytes, 1 lines download raw bytes

1import{_ as X}from"./nuxt-link.f3a183e1.js";import{_ as ge}from"./DefaultUserIcon.46e8c7fe.js";import{_ as we}from"./SocialIcon.39a3f9ee.js";import{s as ae}from"./PortalSideBar.d0eb34a6.js";import{a1 as Se,d as ee,f as y,h as e,i as t,m as n,j as E,w as k,k as w,t as r,l as o,q as d,O as L,F as g,n as v,p as P,s as W,R as J,P as he,Q as ue,_ as pe,b as de,a2 as Fe,B as Le,v as Ee,x as Ie,y as je,u as ke}from"./entry.7e9c818d.js";import{u as Me}from"./useFetchAPI.da8f0cf0.js";const me=()=>{const{$dayjs:s}=Se();return s},fe=["classic","signal","console","journal","aperture","forma","resonance"];function Ea(s,l){const h=String(s??"").toLowerCase();if(fe.includes(h))return h;const i=String((l==null?void 0:l.theme)??"").toLowerCase();return fe.includes(i)?i:"classic"}function Q(s,l){return(s==null?void 0:s.imageURL)||(s==null?void 0:s.videoImageURL)||(l==null?void 0:l.imageURL)||null}function G(s){const l=String((s==null?void 0:s.accentColor)||"").replace(/^#/,"").toLowerCase();return/^[0-9a-f]{6}$/.test(l)?`#${l}`:/^[0-9a-f]{3}$/.test(l)?`#${l.split("").map(h=>h+h).join("")}`:"#4f46e5"}function Z(s){const l=s.replace("#","");return[parseInt(l.slice(0,2),16),parseInt(l.slice(2,4),16),parseInt(l.slice(4,6),16)]}function Be(s){const[l,h,i]=Z(s).map(R=>R/255),u=Math.max(l,h,i),x=Math.min(l,h,i),A=(u+x)/2;if(u===x)return{h:0,s:0,l:A};const I=u-x,S=A>.5?I/(2-u-x):I/(u+x);let F=0;return u===l?F=(h-i)/I+(h<i?6:0):u===h?F=(i-l)/I+2:F=(l-h)/I+4,{h:Math.round(F*60),s:S,l:A}}const H=(s,l,h,i=1)=>`hsl(${(s%360+360)%360} ${Math.round(l*100)}% ${Math.round(h*100)}% / ${i})`;function $e(s,l=.14){const[h,i,u]=Z(s);return`rgba(${h}, ${i}, ${u}, ${l})`}function Ce(s){const{h:l,s:h}=Be(s),i=Math.max(.45,Math.min(.85,h));return[`radial-gradient(90% 130% at 12% -20%, ${H(l-40,i,.78,.55)} 0%, ${H(l-40,i,.78,0)} 100%)`,`radial-gradient(80% 120% at 88% 10%, ${H(l+40,i,.7,.5)} 0%, ${H(l+40,i,.7,0)} 100%)`,`linear-gradient(140deg, ${H(l,i,.3)} 0%, ${H(l,i,.5)} 45%, ${H(l+30,i,.55)} 80%, ${H(l+60,i,.42)} 110%)`].join(", ")}function ve(s){const l=(s||[]).map(h=>String((h==null?void 0:h.name)||"").trim()).filter(Boolean);return l.length?l.length===1?`Hosted by ${l[0]}`:`Hosted by ${l.slice(0,-1).join(", ")} and ${l[l.length-1]}`:""}function Pe(s){const l=String(s||"");if(l.includes(",")){const h=l.split(",");return h.length>1?h[1]:h[0]}return l||"All Podcasts"}function le(s){const l=Number((s==null?void 0:s.change)||0);return{position:`#${(s==null?void 0:s.position)??""}`,label:[Pe(s==null?void 0:s.category),s==null?void 0:s.country].filter(Boolean).join(" · "),movement:l>0?`up ${l}`:l<0?`down ${Math.abs(l)}`:"steady"}}const be=["#818CF8","#FB7185","#FBBF24","#2DD4BF","#60A5FA","#E879F9"];function ne(s){const h=(Array.isArray(s==null?void 0:s.hostDurationSeries)?s.hostDurationSeries:[]).map(u=>({name:String((u==null?void 0:u.name)||"Guests"),handle:(u==null?void 0:u.handle)||null,seconds:(Array.isArray(u==null?void 0:u.data)?u.data:[]).reduce((x,A)=>x+(Number(A)||0),0)})),i=h.reduce((u,x)=>u+x.seconds,0);return i?h.sort((u,x)=>x.seconds-u.seconds).slice(0,6).map((u,x)=>({name:u.name,handle:u.handle,share:Math.round(u.seconds/i*100),colour:be[x%be.length]})):[]}function re(s,l){var u;const h=[];l&&h.push({key:"latest",label:"Listen to Latest",href:`/episodes/${l}`,solid:!0,external:!1}),s!=null&&s.applePodcastsID&&h.push({key:"apple",label:"Apple Podcasts",href:`https://podcasts.apple.com/podcast/id${s.applePodcastsID}`,external:!0}),s!=null&&s.spotifyShowID&&h.push({key:"spotify",label:"Spotify",href:`https://open.spotify.com/show/${s.spotifyShowID}`,external:!0});const i=(u=((s==null?void 0:s.socials)||[]).find(x=>(x==null?void 0:x.type)==="youtube"))==null?void 0:u.url;return i&&h.push({key:"youtube",label:"YouTube",href:String(i).replace(/\/$/,"")+"?sub_confirmation=1",external:!0}),s!=null&&s.feedURL&&h.push({key:"rss",label:"RSS",href:String(s.feedURL),external:!0}),h}function xe(s){var l;return((l=re(s,null).find(h=>h.key!=="latest"))==null?void 0:l.href)||null}function z(s){const l=Number((s==null?void 0:s.duration)||0);return l>0?`${Math.round(l/60)} min`:""}function se(s){if((s==null?void 0:s.type)==="bonus")return"Bonus";if((s==null?void 0:s.type)==="trailer")return"Trailer";const l=s!=null&&s.seasonNumber?`S${s.seasonNumber}`:"",h=s!=null&&s.episodeNumber?`E${s.episodeNumber}`:"";
1return[l,h].filter(Boolean).join(" ")}function oe(s){return(s==null?void 0:s.publishedAt)||(s==null?void 0:s.createdAt)||null}function Ia(s){const l=[];return s!=null&&s.appleEpisodeID&&l.push({key:"apple",label:"Apple Podcasts",href:`https://podcasts.apple.com/podcast/id${s.appleEpisodeID}`}),s!=null&&s.spotifyEpisodeID&&l.push({key:"spotify",label:"Spotify",href:`https://open.spotify.com/episode/${s.spotifyEpisodeID}`}),s!=null&&s.ytVideoHandle&&l.push({key:"youtube",label:"YouTube",href:`https://youtube.com/watch?v=${s.ytVideoHandle}`}),l}function ja(s,l){return l?`${((s!=null&&s.duration?s.duration:0)/l*100).toFixed(0)}%`:""}function Ma(s){return s!=null&&s.host?"Host":s!=null&&s.name?"Guest":"Unidentified"}function Ba(s,l){var h;return((h=s==null?void 0:s.host)==null?void 0:h.name)||(s==null?void 0:s.name)||`Speaker ${l+1}`}const Re={signal:{paper:["#FAFAFA","#0B0B0F"],ground:[4,6],wash:[8,22]},console:{paper:["#F7F7F8","#0E0E11"],ground:[5,7],wash:[10,12]},journal:{paper:["#FBFAF7","#141311"],ground:[6,8],wash:[10,12],card:{paper:["#FFFFFF","#1C1B18"],mix:3}}},ye=8;function te(s,l,h){const i=Math.max(0,Math.min(100,Math.round(h))),u=Z(G({accentColor:s})),x=Z(l.replace("#","").length===3?G({accentColor:l}):l);return"#"+u.map((A,I)=>Math.round((A*i+x[I]*(100-i))/100).toString(16).padStart(2,"0")).join("")}function ce(s,l){const[h,i,u]=Z(G({accentColor:s}));return`rgba(${h},${i},${u},${Math.max(0,Math.min(100,l))/100})`}function _e(s,l){const h=Re[s],i={"--film":te(l,h.paper[0],Math.min(h.ground[0],ye)),"--film-dark":te(l,h.paper[1],Math.min(h.ground[1],ye)),"--wash":ce(l,h.wash[0]),"--wash-dark":ce(l,h.wash[1])};return"card"in h&&(i["--card"]=te(l,h.card.paper[0],h.card.mix),i["--card-dark"]=te(l,h.card.paper[1],h.card.mix)),i}const q=s=>(he("data-v-1774421a"),s=s(),ue(),s),Ue={class:"absolute inset-x-0 top-0 z-10 flex items-center gap-x-4 px-[18px] py-3 text-white backdrop-blur-[6px] md:px-11 md:py-4",style:{background:"linear-gradient(rgba(10,8,30,.25), rgba(10,8,30,0))"}},De={class:"ml-auto flex items-center gap-x-3 text-[13.5px] text-white/85 md:gap-x-5","aria-label":"Site"},Ne=["href"],Te=q(()=>n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round",class:"h-[17px] w-[17px]"},[n("circle",{cx:"11",cy:"11",r:"7"}),n("path",{d:"m20 20-3.5-3.5"})],-1)),qe=["href"],He={class:"relative flex flex-col md:flex-row md:items-end md:gap-9"},ze=["src","alt"],Ve={class:"mt-3.5 md:mt-0"},Oe={class:"text-[30px] font-bold leading-[1.02] tracking-[-0.035em] md:text-[58px]"},Ye={key:0,class:"mt-2 max-w-[52ch] break-words text-[13px] leading-[1.55] text-white/85 md:mt-3 md:text-base"},We={key:1,class:"mt-3.5 flex flex-wrap gap-2 md:mt-5","data-signal-platforms":""},Ge=["href"],Je={class:"signal-below relative"},Ze={key:0,"data-signal-page":""},Ke={key:1,class:"grid grid-cols-1 gap-x-11 gap-y-8 px-[18px] py-5 md:grid-cols-[1fr_300px] md:px-11 md:py-10"},Qe={class:"min-w-0"},Xe=q(()=>n("h3",{class:"mb-3.5 text-base font-semibold tracking-[-0.02em] md:text-xl"},"Latest Episodes",-1)),et=["src","alt"],tt={key:1,class:"h-[54px] w-[54px] shrink-0 rounded-[10px] bg-black md:h-[76px] md:w-[76px]"},st={class:"min-w-0"},ot={class:"truncate text-[13px] font-semibold tracking-[-0.01em] md:text-[15px]"},at={class:"mt-0.5 text-xs tabular-nums text-gray-500 dark:text-neutral-500"},lt=q(()=>n("svg",{viewBox:"0 0 24 24",class:"ml-0.5 h-[18px] w-[18px] fill-current"},[n("path",{d:"M8 5v14l11-7z"})],-1)),nt=[lt],rt={key:0,class:"text-sm text-gray-500 dark:text-neutral-500"},it={id:"about",class:"min-w-0"},dt=q(()=>n("h3",{class:"mb-3.5 hidden text-xl font-semibold tracking-[-0.02em] md:block"},"About",-1)),ct={key:0,class:"mb-3 rounded-2xl border border-gray-900/[.08] bg-white p-[18px] text-[13px] leading-[1.55] dark:border-white/[.09] dark:bg-white/5 md:order-2","data-signal-charts":""},ht=q(()=>n("p",{class:"font-semibold"},"Charts",-1)),ut={class:"text-base font-bold tabular-nums text-gray-900 dark:text-white"},pt={key:1,class:"mb-3 rounded-2xl border border-gray-900/[.08] bg-white p-[18px] text-[13px] leading-[1.55] dark:border-white/[.09] dark:bg-white/5 md:order-3","data-signal-who-speaks":""},mt=q(()=>n("p",{class:"font-semibold"},"Who Speaks",-1)),xt={class:"mt-2.5 flex h-2 overflow-hidden rounded-full"},_t={class:"mt-2 flex flex-wrap gap-x-3 text-[11px] text-gray-500 dark:text-neutral-500"},ft={class:"mb-3 rounded-2xl border border-gray-900/[.08] bg-white p-[18px] text-[13px] leading-[1.55] text-gray-600 dark:border-white/[.09] dark:bg-white/5 dark:text-neutral-400 md:order-1","data-signal-about":""},bt=q(()=>n("p",{class:"font-semibold text-gray-900 dark:text-white md:hidden"},"About",-1)),yt={class:"break-words [overflow-wrap:anywhere]"},gt={key:0,class:"mt-1 break-words"},wt={key:1,class:"mt-3 flex"},kt=["src","alt"],$t={key:2,class:"mt-3 flex flex-wrap gap-2","data-signal-links":""},vt=["href"],At={key:3,class:"mt-3 flex flex-wrap gap-1","data-signal-socials":""},St=["href","aria-label"],Ft={key:2,class:"px-3 pb-6 pt-2 text-center text-[11px] text-gray-500 dark:text-neutral-500","data-
1portal-branding":""},Lt=q(()=>n("a",{href:"https://podcastai.com",target:"_blank",rel:"noopener"},"Powered by PodcastAI",-1)),Et=[Lt],It=q(()=>n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round",class:"h-[22px] w-[22px]"},[n("path",{d:"M12 3a9 9 0 1 0 9 9c0-1.5-.4-3-1-4.2M8 12h.01M12 12h.01M16 12h.01"})],-1)),jt=ee({__name:"PortalSignal",props:{show:{},episodes:{},stats:{}},setup(s){const l=s,h=me(),i=y(()=>G(l.show)),u=y(()=>$e(i.value)),x=y(()=>Ce(i.value)),A=y(()=>_e("signal",i.value)),I=y(()=>{var a,b;return re(l.show,((b=(a=l.episodes)==null?void 0:a[0])==null?void 0:b.handle)||null)}),S=y(()=>xe(l.show)),F=y(()=>{var a;return ve((a=l.show)==null?void 0:a.hosts)}),R=y(()=>{var a,b,$;return((b=(a=l.show)==null?void 0:a.portalSettings)==null?void 0:b.showRankings)!==!1?((($=l.show)==null?void 0:$.rankings)||[]).map(le):[]}),c=y(()=>{var a,b;return((b=(a=l.show)==null?void 0:a.portalSettings)==null?void 0:b.showSpeakingDurations)!==!1?ne(l.stats):[]}),O=y(()=>{var a,b;return((b=(a=l.show)==null?void 0:a.portalSettings)==null?void 0:b.showAIChat)!==!1}),M=y(()=>{var a,b;return((b=(a=l.show)==null?void 0:a.portalSettings)==null?void 0:b.showPoweredBy)!==!1}),N=y(()=>{var b,$,_;const a=[];(b=l.show)!=null&&b.applePodcastsID&&a.push({key:"apple",type:"apple-podcasts",href:`https://podcasts.apple.com/podcast/id${l.show.applePodcastsID}`,label:"Apple Podcasts"}),($=l.show)!=null&&$.spotifyShowID&&a.push({key:"spotify",type:"spotify",href:`https://open.spotify.com/show/${l.show.spotifyShowID}`,label:"Spotify"});for(const[C,p]of(((_=l.show)==null?void 0:_.socials)||[]).entries())p!=null&&p.url&&a.push({key:`s${C}`,type:p.type,href:p.url,label:ae(p.type)});return a}),U=a=>Q(a,l.show),D=a=>[h(a.publishedAt||a.createdAt).format("MMMM D"),z(a)].filter(Boolean).join(" · "),B=a=>[a?"bg-white text-gray-900 border-white md:min-h-[38px] md:px-[18px] md:text-[13.5px]":"border-white/[.32] bg-white/[.06] text-white","inline-flex min-h-[32px] items-center rounded-full border px-3.5 text-[12.5px] font-semibold md:min-h-[34px]"];return(a,b)=>{const $=X,_=ge,C=we;return e(),t("div",{class:"signal film relative min-h-screen text-gray-900 dark:text-white",style:L({"--acc":o(i),"--accsoft":o(u),...o(A)}),"data-portal-theme":"signal"},[n("header",Ue,[E($,{to:"/",class:"text-[13px] font-semibold tracking-[-0.01em] md:text-[15px]"},{default:k(()=>[w(r(a.show.title),1)]),_:1}),n("nav",De,[E($,{to:"/episodes",class:"hidden hover:text-white md:inline"},{default:k(()=>[w("Episodes")]),_:1}),n("a",{href:a.$slots.default?"/#about":"#about",class:"hidden hover:text-white md:inline"},"About",8,Ne),E($,{to:"/episodes",class:"inline-flex h-[17px] w-[17px] items-center hover:text-white","aria-label":"Search episodes"},{default:k(()=>[Te]),_:1}),o(S)?(e(),t("a",{key:0,href:o(S),target:"_blank",rel:"noopener",class:"inline-flex min-h-[28px] items-center rounded-full bg-white px-4 text-xs font-semibold text-gray-900 md:min-h-[32px] md:text-[13px]","data-signal-follow":""},"Follow",8,qe)):d("",!0)])]),a.$slots.hero?J(a.$slots,"hero",{key:1},void 0,!0):(e(),t("section",{key:0,class:"grain relative overflow-hidden px-[18px] pb-6 pt-[62px] text-white md:px-11 md:pb-12 md:pt-[110px]",style:L({backgroundImage:o(x)}),"data-signal-hero":""},[n("div",He,[a.show.imageURL?(e(),t("img",{key:0,src:a.show.imageURL,alt:a.show.title,class:"h-[104px] w-[104px] shrink-0 rounded-[14px] object-cover shadow-[0_24px_60px_rgba(10,8,30,.5),0_0_0_1px_rgba(255,255,255,.18)] md:h-[184px] md:w-[184px] md:rounded-[18px]"},null,8,ze)):d("",!0),n("div",Ve,[n("h1",Oe,r(a.show.title),1),a.show.description?(e(),t("p",Ye,r(a.show.description),1)):d("",!0),o(I).length?(e(),t("div",We,[(e(!0),t(g,null,v(o(I),p=>(e(),t(g,{key:p.key},[p.external?(e(),t("a",{key:1,href:p.href,target:"_blank",rel:"noopener",class:W(B(p.solid))},r(p.label),11,Ge)):(e(),P($,{key:0,to:p.href,class:W(B(p.solid))},{default:k(()=>[w(r(p.label),1)]),_:2},1032,["to","class"]))],64))),128))])):d("",!0)])])],4)),n("div",Je,[a.$slots.default?(e(),t("div",Ze,[J(a.$slots,"default",{},void 0,!0)])):(e(),t("div",Ke,[n("div",Qe,[Xe,(e(!0),t(g,null,v(a.episodes.slice(0,4),p=>(e(),P($,{key:p.handle,to:"/episodes/"+p.handle,class:"mb-2.5 flex items-center gap-x-4 roun
1ded-2xl border border-gray-900/[.08] bg-white p-2.5 dark:border-white/[.09] dark:bg-white/5 md:p-3.5","data-signal-episode":""},{default:k(()=>[U(p)?(e(),t("img",{key:0,src:U(p),alt:p.title,class:"h-[54px] w-[54px] shrink-0 rounded-[10px] object-cover md:h-[76px] md:w-[76px]"},null,8,et)):(e(),t("div",tt)),n("div",st,[n("p",ot,r(p.title),1),n("p",at,r(D(p)),1)]),n("span",{class:"ml-auto flex h-[34px] w-[34px] shrink-0 items-center justify-center rounded-full md:h-[42px] md:w-[42px]",style:L({background:o(u),color:o(i)}),"aria-hidden":"true"},nt,4)]),_:2},1032,["to"]))),128)),a.episodes.length?d("",!0):(e(),t("p",rt,"No episodes yet."))]),n("aside",it,[dt,o(R).length?(e(),t("div",ct,[ht,(e(!0),t(g,null,v(o(R),p=>(e(),t("div",{key:p.label,class:"mt-2 flex items-baseline gap-x-2 text-gray-600 dark:text-neutral-400"},[n("span",ut,r(p.position),1),w(" "+r(p.label)+" · "+r(p.movement),1)]))),128))])):d("",!0),o(c).length?(e(),t("div",pt,[mt,n("div",xt,[(e(!0),t(g,null,v(o(c),p=>(e(),t("i",{key:p.name,style:L({flex:p.share,background:p.colour})},null,4))),128))]),n("div",_t,[(e(!0),t(g,null,v(o(c),p=>(e(),t("span",{key:p.name},[n("i",{class:"mr-1 inline-block h-[7px] w-[7px] rounded-full",style:L({background:p.colour})},null,4),w(r(p.name)+" "+r(p.share)+"%",1)]))),128))])])):d("",!0),n("div",ft,[bt,n("p",yt,r(a.show.description),1),o(F)?(e(),t("p",gt,r(o(F))+".",1)):d("",!0),a.show.hosts&&a.show.hosts.length?(e(),t("div",wt,[(e(!0),t(g,null,v(a.show.hosts,p=>(e(),P($,{key:p.handle,to:"/hosts/"+p.handle,class:"-mr-2 inline-block","aria-label":p.name},{default:k(()=>[p.imageURL?(e(),t("img",{key:0,src:p.imageURL,alt:p.name,class:"h-[26px] w-[26px] rounded-full border-2 border-[#FAFAFA] object-cover dark:border-[#0B0B0F]"},null,8,kt)):(e(),P(_,{key:1,class:"inline-block h-[26px] w-[26px] rounded-full border-2 border-[#FAFAFA] dark:border-[#0B0B0F]"}))]),_:2},1032,["to","aria-label"]))),128))])):d("",!0),a.show.links&&a.show.links.length?(e(),t("div",$t,[(e(!0),t(g,null,v(a.show.links,(p,m)=>(e(),t("a",{key:m,href:p.url,target:"_blank",rel:"noopener",class:W([p.special?"bg-gray-900 text-white dark:bg-white dark:text-gray-900":"border border-gray-900/[.12] text-gray-900 dark:border-white/20 dark:text-white","inline-flex min-h-[32px] items-center rounded-full px-3.5 text-xs font-semibold"])},r(p.title),11,vt))),128))])):d("",!0),o(N).length?(e(),t("div",At,[(e(!0),t(g,null,v(o(N),p=>(e(),t("a",{key:p.key,href:p.href,target:"_blank",rel:"noopener","aria-label":p.label,class:"text-gray-900 dark:text-white"},[E(C,{type:p.type,class:"h-8 w-8 p-2"},null,8,["type"])],8,St))),128))])):d("",!0)])])])),o(M)?(e(),t("footer",Ft,Et)):d("",!0)]),o(O)?(e(),P($,{key:2,to:"/chat",class:"fixed bottom-4 right-4 z-20 flex h-10 w-10 items-center justify-center rounded-full text-white md:bottom-[34px] md:right-6 md:h-12 md:w-12",style:L({background:o(i),boxShadow:"0 8px 26px "+o(ce)(o(i),45)}),"aria-label":"Ask the AI hosts","data-portal-ai-chat":""},{default:k(()=>[It]),_:1},8,["style"])):d("",!0)],4)}}});const Ca=pe(jt,[["__scopeId","data-v-1774421a"]]),V=s=>(he("data-v-a762ee6b"),s=s(),ue(),s),Mt={class:"grain relative flex flex-col overflow-hidden bg-[#101018] px-[18px] pb-5 pt-[22px] text-white md:fixed md:inset-y-0 md:left-0 md:w-[300px] md:px-[26px] md:py-8","data-console-rail":""},Bt=["src"],Ct={key:1,class:"relative flex items-center gap-x-4 md:block"},Pt=["src","alt"],Rt={key:1,class:"h-[84px] w-[84px] shrink-0 rounded-xl bg-black md:h-[132px] md:w-[132px]"},Ut={class:"min-w-0 md:mt-[18px]"},Dt={class:"text-xl font-bold leading-tight tracking-[-0.03em] md:text-[23px]"},Nt={key:0,class:"mt-1 line-clamp-3 break-words text-xs leading-[1.55] text-white/75 md:mt-2 md:line-clamp-none md:text-[13px]"},Tt={key:3,class:"relative mt-3 hidden md:flex"},qt=["src","alt"],Ht={key:4,class:"relative mt-4 flex flex-col gap-2 md:mt-5","data-console-links":""},zt=["href"],Vt={class:"relative mt-3 flex items-center md:mt-[18px] md:block"},Ot={key:0,class:"flex flex-wrap gap-2.5","data-console-socials":""},Yt=["href","aria-label"],Wt=V(()=>n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round",class:"h-4 w-4"},[n("path",{d:"M12 3a9 9 0 1 0 9 9c0-1.5-.4-3-1-4.2M8 12h.01M12 12h.01M16 12h.01"})],-1)),Gt=V(()=>n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round",class:"h-4 w-4"},[n("path",{d:"M12 3a9 9 0 1 0 9 9c0-1.5-.4-3-1-4.2M8 12h.01M12 12h.01M16 12h.01"})],-1)),Jt={key:6,class:"relative mt-3.5 hidden text-center text-[10.5px] text-white/75 md:block","data-
1portal-branding":""},Zt=V(()=>n("a",{href:"https://podcastai.com",target:"_blank",rel:"noopener"},"Powered by PodcastAI",-1)),Kt=[Zt],Qt={class:"wash relative isolate px-[18px] pb-4 pt-5 md:ml-[300px] md:px-9 md:pb-7 md:pt-8","data-console-feed":""},Xt={key:0,class:"mb-5 flex items-center gap-3 md:mb-7","data-console-header":""},es={class:"flex h-11 flex-1 items-center gap-x-2.5 rounded-[11px] border border-gray-900/[.08] bg-white px-3.5 text-base text-gray-500 dark:border-white/[.09] dark:bg-white/5 dark:text-neutral-500 md:h-12 md:px-4"},ts=V(()=>n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round",class:"h-5 w-5 shrink-0"},[n("circle",{cx:"11",cy:"11",r:"7"}),n("path",{d:"m20 20-3.5-3.5"})],-1)),ss=["href"],os={key:1,class:"mb-3.5 text-[17px] font-semibold tracking-[-0.02em]"},as={key:2,"data-console-page":""},ls=["src","alt"],ns={key:1,class:"h-14 w-14 shrink-0 rounded-[11px] bg-black md:h-[76px] md:w-[76px]"},rs={class:"min-w-0"},is={class:"truncate text-[13.5px] font-semibold tracking-[-0.01em] md:text-[15px]"},ds={key:0,class:"mt-0.5 hidden text-[12.5px] leading-[1.45] text-gray-600 line-clamp-2 dark:text-neutral-400 md:block"},cs={class:"mt-1 text-[11.5px] tabular-nums text-gray-500 dark:text-neutral-500"},hs=V(()=>n("svg",{viewBox:"0 0 24 24",class:"ml-0.5 h-[19px] w-[19px] fill-current"},[n("path",{d:"M8 5v14l11-7z"})],-1)),us=[hs],ps={key:4,class:"text-sm text-gray-500 dark:text-neutral-500"},ms={key:5,class:"mt-3 grid gap-3 md:mt-6 md:grid-cols-2","data-console-stats":""},xs={key:0,class:"rounded-2xl border border-gray-900/[.08] bg-white px-4 py-3.5 dark:border-white/[.09] dark:bg-white/5 md:px-[18px] md:py-4","data-console-charts":""},_s=V(()=>n("p",{class:"text-[12.5px] font-semibold"},"Charts",-1)),fs={class:"text-[15px] font-bold tabular-nums text-gray-900 dark:text-white"},bs={key:1,class:"rounded-2xl border border-gray-900/[.08] bg-white px-4 py-3.5 dark:border-white/[.09] dark:bg-white/5 md:px-[18px] md:py-4","data-console-who-speaks":""},ys=V(()=>n("p",{class:"text-[12.5px] font-semibold"},"Who Speaks",-1)),gs={class:"mt-2.5 flex h-2 overflow-hidden rounded-full"},ws={class:"mt-2 flex flex-wrap gap-x-3 text-[11px] text-gray-500 dark:text-neutral-500"},ks={key:6,class:"mt-6 text-center text-[11px] text-gray-500 dark:text-neutral-500 md:hidden","data-portal-branding-mobile":""},$s=V(()=>n("a",{href:"https://podcastai.com",target:"_blank",rel:"noopener"},"Powered by PodcastAI",-1)),vs=[$s],As=ee({__name:"PortalConsole",props:{show:{},episodes:{},stats:{},ambient:{default:null},header:{type:Boolean,default:!0}},async setup(s){let l,h;const i=s,u=me(),x=y(()=>G(i.show)),A=y(()=>$e(x.value)),I=y(()=>{const[m,j,T]=Z(x.value);return`linear-gradient(180deg, rgba(${m},${j},${T},.18) 0%, rgba(8,8,14,.62) 55%, rgba(8,8,14,.88) 100%)`}),S=y(()=>_e("console",x.value)),F=y(()=>xe(i.show)),R=y(()=>{var m,j,T;return((j=(m=i.show)==null?void 0:m.portalSettings)==null?void 0:j.showRankings)!==!1?(((T=i.show)==null?void 0:T.rankings)||[]).map(le):[]}),c=y(()=>{var m,j;return((j=(m=i.show)==null?void 0:m.portalSettings)==null?void 0:j.showSpeakingDurations)!==!1?ne(i.stats):[]}),O=y(()=>{var m,j;return((j=(m=i.show)==null?void 0:m.portalSettings)==null?void 0:j.showAIChat)!==!1}),M=y(()=>{var m,j;return((j=(m=i.show)==null?void 0:m.portalSettings)==null?void 0:j.showPoweredBy)!==!1}),N=y(()=>{var j,T,Y;const m=[];(j=i.show)!=null&&j.applePodcastsID&&m.push({key:"apple",type:"apple-podcasts",href:`https://podcasts.apple.com/podcast/id${i.show.applePodcastsID}`,label:"Apple Podcasts"}),(T=i.show)!=null&&T.spotifyShowID&&m.push({key:"spotify",type:"spotify",href:`https://open.spotify.com/show/${i.show.spotifyShowID}`,label:"Spotify"});for(const[ie,f]of(((Y=i.show)==null?void 0:Y.socials)||[]).entries())f!=null&&f.url&&m.push({key:`s${ie}`,type:f.type,href:f.url,label:ae(f.type)});return m}),U=m=>Q(m,i.show),D=m=>[u(m.publishedAt||m.createdAt).format("MMMM D"),z(m)].filter(Boolean).join(" · "),B=de(""),a=Fe(),b=y(()=>!a.default||!!B.value),{data:$,pending:_}=i.header?([l,h]=Le(()=>Me("/portal/shows/"+i.show.slug+"/search3",{query:{q:B},default:()=>[],transform:m=>{var j;
1return((j=m==null?void 0:m.data)==null?void 0:j.episodes)||[]}})),l=await l,h(),l):{data:de([]),pending:de(!1)},C=y(()=>B.value?$.value||[]:i.episodes||[]),p=y(()=>_.value?"Searching...":`${C.value.length} ${C.value.length===1?"result":"results"}`);return(m,j)=>{const T=ge,Y=X,ie=we;return e(),t("div",{class:"console film min-h-screen text-gray-900 dark:text-white",style:L({"--acc":o(x),"--accsoft":o(A),...o(S)}),"data-portal-theme":"console"},[n("aside",Mt,[m.ambient||m.show.imageURL?(e(),t("img",{key:0,src:m.ambient||m.show.imageURL,alt:"","aria-hidden":"true",class:"ambient pointer-events-none absolute -inset-10 h-[calc(100%+80px)] w-[calc(100%+80px)] object-cover"},null,8,Bt)):d("",!0),n("div",{class:"pointer-events-none absolute inset-0",style:L({background:o(I)})},null,4),m.$slots.identity?J(m.$slots,"identity",{key:2},void 0,!0):(e(),t("div",Ct,[m.show.imageURL?(e(),t("img",{key:0,src:m.show.imageURL,alt:m.show.title,class:"h-[84px] w-[84px] shrink-0 rounded-xl object-cover shadow-[0_18px_44px_rgba(0,0,0,.55),0_0_0_1px_rgba(255,255,255,.16)] md:h-[132px] md:w-[132px] md:rounded-2xl"},null,8,Pt)):(e(),t("div",Rt)),n("div",Ut,[n("h1",Dt,r(m.show.title),1),m.show.description?(e(),t("p",Nt,r(m.show.description),1)):d("",!0)])])),m.show.hosts&&m.show.hosts.length?(e(),t("div",Tt,[(e(!0),t(g,null,v(m.show.hosts,f=>(e(),P(Y,{key:f.handle,to:"/hosts/"+f.handle,class:"-mr-[7px] inline-block","aria-label":f.name},{default:k(()=>[f.imageURL?(e(),t("img",{key:0,src:f.imageURL,alt:f.name,class:"h-6 w-6 rounded-full border-2 border-[#0a0a10]/80 object-cover"},null,8,qt)):(e(),P(T,{key:1,class:"inline-block h-6 w-6 rounded-full border-2 border-[#0a0a10]/80"}))]),_:2},1032,["to","aria-label"]))),128))])):d("",!0),m.show.links&&m.show.links.length?(e(),t("div",Ht,[(e(!0),t(g,null,v(m.show.links,(f,Ae)=>(e(),t("a",{key:Ae,href:f.url,target:"_blank",rel:"noopener",class:W([f.special?"special border-white bg-white text-gray-900":"border-white/[.14] bg-white/5 text-white backdrop-blur-[4px]","relative flex min-h-[34px] items-center justify-center overflow-hidden rounded-[11px] border text-[13px] font-semibold md:min-h-[38px]"])},r(f.title),11,zt))),128))])):d("",!0),n("div",Vt,[o(N).length?(e(),t("div",Ot,[(e(!0),t(g,null,v(o(N),f=>(e(),t("a",{key:f.key,href:f.href,target:"_blank",rel:"noopener","aria-label":f.label,class:"flex h-[26px] w-[26px] items-center justify-center rounded-lg bg-white/[.16] text-white"},[E(ie,{type:f.type,class:"h-4 w-4"},null,8,["type"])],8,Yt))),128))])):d("",!0),o(O)?(e(),P(Y,{key:1,to:"/chat",class:"ml-auto inline-flex min-h-[32px] items-center justify-center gap-x-2 rounded-[11px] bg-white/[.92] px-3 text-xs font-semibold text-gray-900 md:ml-0 md:mt-auto md:hidden","aria-label":"Ask the AI hosts","data-portal-ai-chat":""},{default:k(()=>[Wt,w(" Ask AI ")]),_:1})):d("",!0)]),o(O)?(e(),P(Y,{key:5,to:"/chat",class:"relative mt-auto hidden min-h-[38px] items-center justify-center gap-x-2 rounded-[11px] bg-white/[.92] text-[13px] font-semibold text-gray-900 md:flex","data-portal-ai-chat-rail":""},{default:k(()=>[Gt,w(" Ask the AI Hosts ")]),_:1})):d("",!0),o(M)?(e(),t("p",Jt,Kt)):d("",!0)]),n("main",Qt,[m.header?(e(),t("div",Xt,[n("label",es,[ts,Ee(n("input",{"onUpdate:modelValue":j[0]||(j[0]=f=>je(B)?B.value=f:null),type:"search",class:"w-full border-0 bg-transparent p-0 text-base text-gray-900 placeholder:text-gray-500 focus:ring-0 dark:text-white dark:placeholder:text-neutral-500",placeholder:"Search all episodes...","aria-label":"Search all episodes","data-console-search":""},null,512),[[Ie,o(B)]])]),o(F)?(e(),t("a",{key:0,href:o(F),target:"_blank",rel:"noopener",class:"inline-flex h-11 items-center rounded-[11px] px-5 text-base font-semibold text-white md:h-12 md:px-6",style:L({background:o(x)}),"data-console-follow":""},"Follow",12,ss)):d("",!0)])):d("",!0),o(b)?(e(),t("h3",os,r(o(B)?o(p):"Latest Episodes"),1)):(e(),t("div",as,[J(m.$slots,"default",{},void 0,!0)])),o(b)?(e(!0),t(g,{key:3},v(o(C),f=>(e(),P(Y,{key:f.handle,to:"/episodes/"+f.handle,class:"mb-2.5 flex items-center gap-x-4 rounded-2xl border border-gray-900/[.08] bg-white px-3 py-2.5 dark:border-white/[.09] dark:bg-white/5 md:px-4 md:py-3.5","data-console-episode":""},{default:k(()=>[U(f)?(e(),t("img",{key:0,src:U(f),alt:f.title,class:"h-14 w-14 shrink-0 rounded-[11px] object-cover md:h-[76px] md:w-[76px]"}
1,null,8,ls)):(e(),t("div",ns)),n("div",rs,[n("p",is,r(f.title),1),f.description?(e(),t("p",ds,r(f.description),1)):d("",!0),n("p",cs,r(D(f)),1)]),n("span",{class:"ml-auto flex h-9 w-9 shrink-0 items-center justify-center rounded-full md:h-11 md:w-11",style:L({background:o(A),color:o(x)}),"aria-hidden":"true"},us,4)]),_:2},1032,["to"]))),128)):d("",!0),o(b)&&!o(C).length&&!o(_)?(e(),t("p",ps,r(o(B)?"No episodes match.":"No episodes yet."),1)):d("",!0),o(b)&&!o(B)&&(o(R).length||o(c).length)?(e(),t("div",ms,[o(R).length?(e(),t("div",xs,[_s,(e(!0),t(g,null,v(o(R),f=>(e(),t("div",{key:f.label,class:"mt-2 flex items-baseline gap-x-2 text-[12.5px] text-gray-600 dark:text-neutral-400"},[n("span",fs,r(f.position),1),w(" "+r(f.label)+" · "+r(f.movement),1)]))),128))])):d("",!0),o(c).length?(e(),t("div",bs,[ys,n("div",gs,[(e(!0),t(g,null,v(o(c),f=>(e(),t("i",{key:f.name,style:L({flex:f.share,background:f.colour})},null,4))),128))]),n("div",ws,[(e(!0),t(g,null,v(o(c),f=>(e(),t("span",{key:f.name},[n("i",{class:"mr-1 inline-block h-[7px] w-[7px] rounded-full",style:L({background:f.colour})},null,4),w(r(f.name)+" "+r(f.share)+"%",1)]))),128))])])):d("",!0)])):d("",!0),o(M)?(e(),t("p",ks,vs)):d("",!0)])],4)}}});const Pa=pe(As,[["__scopeId","data-v-a762ee6b"]]),K=s=>(he("data-v-08c9b7be"),s=s(),ue(),s),Ss={class:"flex items-center gap-x-5 border-b border-[#171512]/[.13] px-5 py-3.5 text-[13px] text-[#57534E] dark:border-[#F1EFE9]/[.15] dark:text-[#A8A29E] md:px-14 md:py-[18px]","aria-label":"Site"},Fs={class:"ml-auto flex items-center gap-x-3.5 md:gap-x-5"},Ls=["href"],Es=["href"],Is={key:0,class:"wash relative isolate px-5 pb-6 pt-[34px] text-center md:px-14 md:pb-9 md:pt-14","data-journal-masthead":""},js={class:"serif text-[38px] font-medium leading-none tracking-[-0.015em] md:text-[76px]"},Ms={key:0,class:"serif mx-auto mt-2.5 max-w-[60ch] text-[15px] font-medium italic text-[#57534E] dark:text-[#A8A29E] md:mt-4 md:text-[19px]"},Bs={key:1,class:"mt-3.5 text-xs uppercase tracking-[0.14em] text-[#8A8580] dark:text-[#78716C]"},Cs={key:2,class:"mt-3 text-xs text-[#57534E] dark:text-[#A8A29E] md:mt-4 md:text-[13px]","data-journal-listen":""},Ps=["href"],Rs={key:1,class:"mx-5 h-1.5 border-b border-t-2 border-[#171512] dark:border-[#F1EFE9] md:mx-14","aria-hidden":"true"},Us={key:2,"data-journal-page":""},Ds={key:3,class:"grid grid-cols-1 gap-x-14 gap-y-8 px-5 py-2 md:grid-cols-[1fr_264px] md:px-14 md:py-9"},Ns={class:"min-w-0"},Ts={key:0,class:"border-b border-[#171512]/[.13] pb-7 dark:border-[#F1EFE9]/[.15] md:grid md:grid-cols-[200px_1fr] md:gap-7","data-journal-featured":""},qs=["src"],Hs={key:1,class:"h-full w-full bg-black"},zs={class:"text-[11px] tracking-[0.12em] text-[#8A8580] dark:text-[#78716C]"},Vs={class:"serif mb-2.5 mt-2 text-[21px] font-semibold leading-[1.16] md:text-[30px]"},Os={key:0,class:"max-w-[62ch] text-[12.5px] leading-[1.65] text-[#57534E] line-clamp-4 dark:text-[#A8A29E] md:text-[13.5px]"},Ys=K(()=>n("svg",{viewBox:"0 0 24 24",class:"h-[13px] w-[13px] fill-current"},[n("path",{d:"M8 5v14l11-7z"})],-1)),Ws={class:"text-[11px] tracking-[0.12em] text-[#8A8580] dark:text-[#78716C]"},Gs={class:"serif mb-2.5 mt-2 text-[21px] font-semibold leading-[1.16] md:text-2xl"},Js={key:0,class:"max-w-[62ch] text-[12.5px] leading-[1.65] text-[#57534E] line-clamp-3 dark:text-[#A8A29E] md:text-[13.5px]"},Zs=K(()=>n("svg",{viewBox:"0 0 24 24",class:"h-[13px] w-[13px] fill-current"},[n("path",{d:"M8 5v14l11-7z"})],-1)),Ks={key:1,class:"py-6 text-sm text-[#8A8580]"},Qs={id:"about",class:"min-w-0","data-journal-marginalia":""},Xs={class:"mb-4 rounded-md border border-[#171512]/[.13] card p-[18px] dark:border-[#F1EFE9]/[.15]","data-journal-about":""},eo=K(()=>n("p",{class:"text-[10.5px] font-bold uppercase tracking-[0.12em]"},"About",-1)),to=["src","alt"],so={class:"mt-[9px] break-words text-[12.5px] leading-[1.6] text-[#57534E] [overflow-wrap:anywhere] dark:text-[#A8A29E]"},oo={key:1,class:"mt-1 text-[12.5px] leading-[1.6] text-[#57534E] dark:text-[#A8A29E]"},ao={key:2,class:"mt-2.5 flex flex-wrap gap-x-2 text-[12.5px]"},lo={key:3,class:"mt-2.5 flex flex-col gap-y-1 text-[12.5px]","data-journal-links":""},no=["href"],ro={key:4,class:"mt-2.5 text-[12.5px] text-[#57534E] dark:text-[#A8A29E]","data-journal-socials":""},io=["href"],co={key:0,class:"mb-4 rounded-md border border-[#171512]/[.13] card p-[18px] dark:border-[#F1EFE9]/[.15]","data-journal-charts":""},ho=K(()=>n("p",{class:"text-[10.5px] font-bold uppercase tracking-[0.12em]"},"On the Charts",-1)),uo={class:"text-[15px] font-bold tabular-nums text-[#171512] dark:text-[#F1EFE9]"},po={key:1,class:"mb-4 rounded-md border border-[#171512]/[.13] card p-[18px] dark:border-[#F1EFE9]/[.15]","data-journal-who-speaks":""},mo=K(()=>n("p",{class:"text-[10.5px] font-bold uppercase tracking-[0.12em]"},"Who Speaks",-1)),xo={class:"mt-2.5 flex h-[7px] overflow-hidden rounded-sm"},_o={class:"mt-2 flex flex-wrap gap-x-2.5 text-[10.5px] text-[#8A8580] dark:text-[#78716C]"},fo={key:4,class:"border-t border-[#171512]/[.13] px-3 py-3 text-center text-[11px] text-[#8A8580] dark:border-[#F1EFE9]/[.15] dark:text-[#78716C]","data-
1portal-branding":""},bo=K(()=>n("a",{href:"https://podcastai.com",target:"_blank",rel:"noopener"},"Powered by PodcastAI",-1)),yo=[bo],go=ee({__name:"PortalJournal",props:{show:{},episodes:{},stats:{},masthead:{type:Boolean,default:!0}},setup(s){const l=s,h=me(),i=y(()=>G(l.show)),u=y(()=>_e("journal",i.value)),x=y(()=>xe(l.show)),A=y(()=>{var a;return ve((a=l.show)==null?void 0:a.hosts)}),I=y(()=>re(l.show,null)),S=y(()=>{var a;return((a=l.episodes)==null?void 0:a[0])||null}),F=y(()=>(l.episodes||[]).slice(1,4)),R=y(()=>{var a,b,$;return((b=(a=l.show)==null?void 0:a.portalSettings)==null?void 0:b.showRankings)!==!1?((($=l.show)==null?void 0:$.rankings)||[]).map(le):[]}),c=y(()=>{var a,b;return((b=(a=l.show)==null?void 0:a.portalSettings)==null?void 0:b.showSpeakingDurations)!==!1?ne(l.stats):[]}),O=y(()=>{var a,b;return((b=(a=l.show)==null?void 0:a.portalSettings)==null?void 0:b.showAIChat)!==!1}),M=y(()=>{var a,b;return((b=(a=l.show)==null?void 0:a.portalSettings)==null?void 0:b.showPoweredBy)!==!1}),N=y(()=>{var a;return(((a=l.show)==null?void 0:a.socials)||[]).filter(b=>b==null?void 0:b.url).map((b,$)=>({key:`s${$}`,href:b.url,label:ae(b.type)}))}),U=a=>Q(a,l.show),D=a=>a!=null&&a.episodeNumber?String(a.episodeNumber):"",B=a=>h(a.publishedAt||a.createdAt).format("MMMM D, YYYY").toUpperCase();return(a,b)=>{const $=X;return e(),t("div",{class:"journal film min-h-screen text-[#171512] dark:text-[#F1EFE9]",style:L({"--acc":o(i),...o(u)}),"data-portal-theme":"journal"},[n("nav",Ss,[E($,{to:"/",class:"text-[13px] font-semibold text-[#171512] dark:text-[#F1EFE9]"},{default:k(()=>[w(r(a.show.title),1)]),_:1}),n("span",Fs,[E($,{to:"/episodes",class:"hidden md:inline"},{default:k(()=>[w("Episodes")]),_:1}),n("a",{href:a.$slots.default?"/#about":"#about",class:"hidden md:inline"},"About",8,Ls),E($,{to:"/episodes",class:"text-xs md:text-[13px]"},{default:k(()=>[w("Search")]),_:1}),o(x)?(e(),t("a",{key:0,href:o(x),target:"_blank",rel:"noopener",class:"inline-flex min-h-[28px] items-center rounded-full bg-[#171512] px-4 text-[11.5px] font-semibold text-[#FBFAF7] dark:bg-[#F1EFE9] dark:text-[#141311] md:min-h-[30px] md:text-[12.5px]","data-journal-follow":""},"Follow",8,Es)):d("",!0)])]),a.masthead?(e(),t("header",Is,[n("h1",js,r(a.show.title),1),a.show.description?(e(),t("p",Ms,r(a.show.description),1)):d("",!0),o(A)?(e(),t("p",Bs,r(o(A)),1)):d("",!0),o(I).length?(e(),t("p",Cs,[w(" Listen on "),(e(!0),t(g,null,v(o(I),(_,C)=>(e(),t(g,{key:_.key},[C>0?(e(),t(g,{key:0},[w(" · ")],64)):d("",!0),n("a",{href:_.href,target:"_blank",rel:"noopener",class:"font-semibold",style:L({color:o(i)})},r(_.label),13,Ps)],64))),128))])):d("",!0)])):d("",!0),a.masthead?(e(),t("div",Rs)):d("",!0),a.$slots.default?(e(),t("div",Us,[J(a.$slots,"default",{},void 0,!0)])):(e(),t("div",Ds,[n("div",Ns,[o(S)?(e(),t("article",Ts,[E($,{to:"/episodes/"+o(S).handle,class:"duotone relative mb-4 block aspect-square w-full max-w-[200px] overflow-hidden rounded-md md:mb-0","aria-hidden":"true",tabindex:"-1"},{default:k(()=>[U(o(S))?(e(),t("img",{key:0,src:U(o(S)),alt:"",class:"h-full w-full object-cover"},null,8,qs)):(e(),t("div",Hs))]),_:1},8,["to"]),n("div",null,[n("p",zs,[D(o(S))?(e(),t("b",{key:0,class:"mr-3 font-bold tracking-[0.02em]",style:L({color:o(i)})},"No. "+r(D(o(S))),5)):d("",!0),w(r(B(o(S))),1)]),E($,{to:"/episodes/"+o(S).handle},{default:k(()=>[n("h2",Vs,r(o(S).title),1)]),_:1},8,["to"]),o(S).description?(e(),t("p",Os,r(o(S).description),1)):d("",!0),E($,{to:"/episodes/"+o(S).handle,class:"mt-3 inline-flex items-center gap-x-[7px] text-[12.5px] font-semibold",style:L({color:o(i)})},{default:k(()=>[Ys,w(" Listen"),o(z)(o(S))?(e(),t(g,{key:0},[w(" · "+r(o(z)(o(S))),1)],64)):d("",!0)]),_:1},8,["to","style"])])])):d("",!0),(e(!0),t(g,null,v(o(F),(_,C)=>(e(),t("article",{key:_.handle,class:W([C===o(F).length-1?"":"border-b border-[#171512]/[.13] dark:border-[#F1EFE9]/[.15]","py-[26px]"]),"data-journal-entry":""},[n("p",Ws,[D(_)?(e(),t("b",{key:0,class:"mr-3 font-bold tracking-[0.02em]",style:L({color:o(i)})},"No. "+r(D(_)),5)):d("",!0),w(r(B(_)),1)]),E($,{to:"/episodes/"+_.handle},{default:k(()=>
1[n("h2",Gs,r(_.title),1)]),_:2},1032,["to"]),_.description?(e(),t("p",Js,r(_.description),1)):d("",!0),E($,{to:"/episodes/"+_.handle,class:"mt-3 inline-flex items-center gap-x-[7px] text-[12.5px] font-semibold",style:L({color:o(i)})},{default:k(()=>[Zs,w(" Listen"),o(z)(_)?(e(),t(g,{key:0},[w(" · "+r(o(z)(_)),1)],64)):d("",!0)]),_:2},1032,["to","style"])],2))),128)),o(S)?d("",!0):(e(),t("p",Ks,"No episodes yet."))]),n("aside",Qs,[n("div",Xs,[eo,a.show.imageURL?(e(),t("img",{key:0,src:a.show.imageURL,alt:a.show.title,class:"mt-[11px] aspect-square w-full rounded-[5px] object-cover"},null,8,to)):d("",!0),n("p",so,r(a.show.description),1),o(A)?(e(),t("p",oo,r(o(A))+".",1)):d("",!0),a.show.hosts&&a.show.hosts.length?(e(),t("div",ao,[(e(!0),t(g,null,v(a.show.hosts,_=>(e(),P($,{key:_.handle,to:"/hosts/"+_.handle,class:"font-semibold",style:L({color:o(i)})},{default:k(()=>[w(r(_.name),1)]),_:2},1032,["to","style"]))),128))])):d("",!0),a.show.links&&a.show.links.length?(e(),t("div",lo,[(e(!0),t(g,null,v(a.show.links,(_,C)=>(e(),t("a",{key:C,href:_.url,target:"_blank",rel:"noopener",class:W([_.special?"font-bold":"font-semibold"]),style:L({color:o(i)})},[w(r(_.title),1),_.special?(e(),t(g,{key:0},[w(" ↗")],64)):d("",!0)],14,no))),128))])):d("",!0),o(N).length?(e(),t("div",ro,[(e(!0),t(g,null,v(o(N),(_,C)=>(e(),t(g,{key:_.key},[C>0?(e(),t(g,{key:0},[w(" · ")],64)):d("",!0),n("a",{href:_.href,target:"_blank",rel:"noopener",class:"font-semibold",style:L({color:o(i)})},r(_.label),13,io)],64))),128))])):d("",!0),o(O)?(e(),P($,{key:5,to:"/chat",class:"mt-2.5 block text-[12.5px] font-semibold",style:L({color:o(i)}),"data-portal-ai-chat":""},{default:k(()=>[w("Ask the AI hosts about any episode")]),_:1},8,["style"])):d("",!0)]),o(R).length?(e(),t("div",co,[ho,(e(!0),t(g,null,v(o(R),_=>(e(),t("div",{key:_.label,class:"mt-2 flex items-baseline gap-x-2 text-[12.5px] text-[#57534E] dark:text-[#A8A29E]"},[n("span",uo,r(_.position),1),w(" "+r(_.label)+" · "+r(_.movement),1)]))),128))])):d("",!0),o(c).length?(e(),t("div",po,[mo,n("div",xo,[(e(!0),t(g,null,v(o(c),_=>(e(),t("i",{key:_.name,style:L({flex:_.share,background:_.colour})},null,4))),128))]),n("div",_o,[(e(!0),t(g,null,v(o(c),_=>(e(),t("span",{key:_.name},[n("i",{class:"mr-1 inline-block h-[7px] w-[7px] rounded-full",style:L({background:_.colour})},null,4),w(r(_.name)+" "+r(_.share)+"%",1)]))),128))])])):d("",!0)])])),o(M)?(e(),t("footer",fo,yo)):d("",!0)],4)}}});const Ra=pe(go,[["__scopeId","data-v-08c9b7be"]]),wo={class:"collection-episodes"},ko=["src"],$o={key:1},vo={key:2,viewBox:"0 0 24 24","aria-hidden":"true"},Ao=n("path",{d:"M8 5v14l11-7z",fill:"currentColor"},null,-1),So=[Ao],Fo={class:"collection-meta"},Lo=ee({__name:"PortalCollectionCards",props:{show:{},episodes:{},theme:{}},setup(s){const l=s,h=ke(),i=A=>new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric",year:"numeric",timeZone:"UTC"}).format(new Date(A)),u=A=>({path:"/episodes/"+A.handle,query:{...h.query.theme?{theme:l.theme}:{},...h.query.q?{q:h.query.q}:{},...h.query.page?{page:h.query.page}:{}}}),x=A=>[A.imageURL,A.videoImageURL].find(I=>I&&I!==l.show.imageURL);return(A,I)=>{const S=X;return e(),t("div",wo,[(e(!0),t(g,null,v(A.episodes,F=>(e(),t("article",{key:F.handle,class:"collection-episode"},[E(S,{to:u(F),class:"collection-card-art","aria-label":F.title},{default:k(()=>[x(F)?(e(),t("img",{key:0,src:x(F)||void 0,alt:""},null,8,ko)):o(se)(F)?(e(),t("span",$o,r(o(se)(F)),1)):(e(),t("svg",vo,So))]),_:2},1032,["to","aria-label"]),n("div",null,[n("p",Fo,r([o(se)(F),o(oe)(F)?i(o(oe)(F)):"",o(z)(F)].filter(Boolean).join(" · ")),1),n("h3",null,[E(S,{to:u(F)},{default:k(()=>[w(r(F.title),1)]),_:2},1032,["to"])])])]))),128))])}}}),Eo=""+globalThis.__publicAssetsURL("img/podcastai-icon.png");const Io={class:"collection-nav"},jo=["src","alt"],Mo={key:1},Bo={"aria-label":"Website"},Co={key:0,href:"#listen"},Po={key:0,class:"collection-hero aperture-hero"},Ro={class:"hero-copy"},Uo=["src","alt"],Do={class:"collection-hero forma-hero"},No=["src","alt"],To={key:0,class:"forma-feature"},qo={class:"collection-meta"},Ho={class:"feature-description"},zo=["src","alt"],Vo={key:2,class:"collection-hero resonance-hero"},Oo={class:"resonance-intro"},Yo={class:"listening-room"},Wo=["src","alt"],Go={key:1},Jo={class:"collection-meta"},Zo={key:0,class:"room-next"},Ko=n("span",null,"Up next",-1),Qo={class:"collection-catalogue"},Xo={class:"collection-heading"},ea=n("h2",null,"Latest episodes",-1),ta={key:0,class:"collection-muted"},sa={key:0,id:"listen",class:"collection-listen"},oa=["href"],aa=["src"],la={id:"about",class:"collection-about"}
1,na=n("h2",null,"About the show",-1),ra={key:0},ia={class:"collection-links"},da=["href"],ca=["href"],ha={key:0,class:"collection-hosts"},ua=["src","alt"],pa=n("span",null,"Host",-1),ma={key:1,class:"collection-stats"},xa={key:0},_a=n("h3",null,"On the charts",-1),fa={key:1},ba=n("h3",null,"Speaking durations",-1),ya={class:"collection-speaker-bar"},ga={class:"collection-footer"},wa={key:0,href:"https://podcastai.com",target:"_blank",rel:"noopener",class:"collection-powered"},ka=n("img",{src:Eo,alt:""},null,-1),Ua=ee({__name:"PortalCollection",props:{show:{},theme:{},episodes:{default:()=>[]},stats:{default:null}},setup(s){const l=s,h=ke(),i=c=>new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric",year:"numeric",timeZone:"UTC"}).format(new Date(c)),u=c=>h.query.theme?`${c}?theme=${l.theme}`:c,x=y(()=>l.episodes[0]),A=y(()=>re(l.show,null)),I=y(()=>{var c;return((c=l.show.portalSettings)==null?void 0:c.showRankings)!==!1?(l.show.rankings||[]).map(le):[]}),S=y(()=>{var c;return((c=l.show.portalSettings)==null?void 0:c.showSpeakingDurations)!==!1?ne(l.stats):[]}),F=c=>({apple:"/img/collection/apple-podcasts.svg",spotify:"/img/collection/spotify.svg",youtube:"/img/collection/youtube.svg"})[c]||"",R=c=>[se(c),oe(c)?i(oe(c)):"",z(c)].filter(Boolean).join(" · ");return(c,O)=>{var U,D,B;const M=X,N=Lo;return e(),t("div",{class:W(["collection",c.theme]),style:L({"--brand":o(G)(c.show)})},[n("header",Io,[E(M,{to:u("/"),class:"collection-brand"},{default:k(()=>[c.show.logoURL?(e(),t("img",{key:0,src:c.show.logoURL,alt:c.show.title},null,8,jo)):(e(),t("span",Mo,r(c.show.title),1))]),_:1},8,["to"]),n("nav",Bo,[E(M,{to:u("/episodes")},{default:k(()=>[w("Episodes")]),_:1},8,["to"]),E(M,{to:u("/")+"#about"},{default:k(()=>[w("About")]),_:1},8,["to"]),o(A).length?(e(),t("a",Co,"Follow")):d("",!0)])]),n("main",null,[J(c.$slots,"default",{},()=>[c.theme==="aperture"?(e(),t("section",Po,[n("div",Ro,[n("h1",null,r(c.show.title),1),n("p",null,r(c.show.description),1),o(x)?(e(),P(M,{key:0,to:u("/episodes/"+o(x).handle),class:"collection-primary"},{default:k(()=>[w("Latest episode")]),_:1},8,["to"])):d("",!0)]),c.show.imageURL?(e(),t("img",{key:0,src:c.show.imageURL,alt:c.show.title,class:"hero-art"},null,8,Uo)):d("",!0)])):c.theme==="forma"?(e(),t(g,{key:1},[n("section",Do,[n("h1",null,r(c.show.title),1),n("div",null,[c.show.imageURL?(e(),t("img",{key:0,src:c.show.imageURL,alt:c.show.title,class:"hero-art"},null,8,No)):d("",!0),n("p",null,r(c.show.description),1)])]),o(x)?(e(),t("section",To,[n("div",null,[n("p",qo,"Latest episode · "+r(R(o(x))),1),n("h2",null,r(o(x).title),1),n("p",Ho,r(o(x).description),1),E(M,{to:u("/episodes/"+o(x).handle),class:"collection-primary"},{default:k(()=>[w("Listen to episode")]),_:1},8,["to"])]),o(Q)(o(x),c.show)?(e(),P(M,{key:0,to:u("/episodes/"+o(x).handle)},{default:k(()=>[n("img",{src:o(Q)(o(x),c.show)||void 0,alt:o(x).title},null,8,zo)]),_:1},8,["to"])):d("",!0)])):d("",!0)],64)):(e(),t("section",Vo,[n("div",Oo,[n("h1",null,r(c.show.title),1),n("p",null,r(c.show.description),1)]),n("div",Yo,[c.show.imageURL?(e(),t("img",{key:0,src:c.show.imageURL,alt:c.show.title,class:"hero-art"},null,8,Wo)):d("",!0),o(x)?(e(),t("div",Go,[n("p",Jo,"Latest episode · "+r(R(o(x))),1),n("h2",null,r(o(x).title),1),E(M,{to:u("/episodes/"+o(x).handle),class:"collection-primary"},{default:k(()=>[w("Listen to episode")]),_:1},8,["to"]),c.episodes[1]?(e(),t("div",Zo,[Ko,E(M,{to:u("/episodes/"+c.episodes[1].handle)},{default:k(()=>[w(r(c.episodes[1].title),1)]),_:1},8,["to"])])):d("",!0)])):d("",!0)])])),n("section",Qo,[n("div",Xo,[ea,E(M,{to:u("/episodes")},{default:k(()=>[w("Browse all episodes")]),_:1},8,["to"])]),E(N,{show:c.show,episodes:c.episodes,theme:c.theme},null,8,["show","episodes","theme"]),c.episodes.length?d("",!0):(e(),t("p",ta,"No episodes published yet."))])]),o(A).length?(e(),t("section",sa,[(e(!0),t(g,null,v(o(A),a=>(e(),t("a",{key:a.key,href:a.href,target:"_blank",rel:"noopener"},[F(a.key)?(e(),t("img",{key:0,src:F(a.key),alt:""},null,8,aa)):d("",!0),w(r(a.label),1)],8,oa))),128))])):d("",!0),n("section",la,[n("div",null,[na,c.$slots.default?(e(),t("p",ra,r(c.show.description),1)):d("",!0),n("div",ia,[(e(!0),t(g,null,v(c.show.links||[],(a,b)=>(e(),t("a",{key:b,href:a.url,target:"_blank",rel:"noopener"},r(a.title),9,da))),128)),(e(!0),t(g,null,v(c.show.socials||[],(a,b)=>(e(),t("a",{key:"social"+b,href:a.url,target:"_blank",rel:"noopener"},r(("socialTypeToLabel"in c?c.socialTypeToLabel:o(ae))(a.type)),9,ca
1))),128)),((U=c.show.portalSettings)==null?void 0:U.showAIChat)!==!1?(e(),P(M,{key:0,to:u("/chat")},{default:k(()=>[w("Ask the AI hosts")]),_:1},8,["to"])):d("",!0)])]),(D=c.show.hosts)!=null&&D.length?(e(),t("div",ha,[(e(!0),t(g,null,v(c.show.hosts,a=>(e(),P(M,{key:a.handle,to:u("/hosts/"+a.handle)},{default:k(()=>[a.imageURL?(e(),t("img",{key:0,src:a.imageURL,alt:a.name},null,8,ua)):d("",!0),n("strong",null,r(a.name),1),pa]),_:2},1032,["to"]))),128))])):d("",!0)]),o(I).length||o(S).length?(e(),t("section",ma,[o(I).length?(e(),t("div",xa,[_a,(e(!0),t(g,null,v(o(I),a=>(e(),t("p",{key:a.label},r(a.position)+" · "+r(a.label)+" · "+r(a.movement),1))),128))])):d("",!0),o(S).length?(e(),t("div",fa,[ba,n("div",ya,[(e(!0),t(g,null,v(o(S),a=>(e(),t("span",{key:a.name,style:L({flex:a.share,background:a.colour})},null,4))),128))]),(e(!0),t(g,null,v(o(S),a=>(e(),t("p",{key:a.name},r(a.name)+" · "+r(a.share)+"%",1))),128))])):d("",!0)])):d("",!0)]),n("footer",ga,[E(M,{to:u("/")},{default:k(()=>[w(r(c.show.title),1)]),_:1},8,["to"]),((B=c.show.portalSettings)==null?void 0:B.showPoweredBy)!==!1?(e(),t("a",wa,[ka,w("Powered by PodcastAI")])):d("",!0)])],6)}}});
1export{Ca as _,G as a,$e as b,Ia as c,se as d,Q as e,oe as f,z as g,Ba as h,Ma as i,ja as j,Pa as k,Ra as l,Ua as m,Ea as n,xe as o,Lo as p,le as r,Ce as s,me as u};

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.