1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[421],{40811:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/embedded-player/[...params]",function(){return n(475)}])},35822:function(e,t,n){"use strict";n.d(t,{o:function(){return l}});let l={APP_URL:"https://app.redcircle.com",API_URL:"https://public.redcircle.com",PODCACHE_API_URL:"https://api.podcache.net",SITE_URL:"https://redcircle.com"}},61925:function(e,t,n){"use strict";n.d(t,{Z:function(){return useGetShow}});var l=n(2784);function useGetShow(e){let{showUUID:t,episodeLimit:n}=e,[r,a]=(0,l.useState)(!0),[s,i]=(0,l.useState)(null);(0,l.useEffect)(()=>{t&&fetchShow()},[t]);let fetchShow=async()=>{if(t){let e=await fetch("/api/show/".concat(t).concat(n?"?episodeLimit=".concat(n):""));if(e.ok){let t=await e.json();i(t),a(!1)}}};return{isLoading:r,show:s}}},76006:function(e,t,n){"use strict";n.d(t,{Z:function(){return ShareModal}});var l=n(52322),r=n(58964),a=n(29606),s=n(87771),i=n(86204),c=n(7465),o=n(91162),d=n(35822);function ShareModal(e){let t,n,{show:u,episode:h,open:m,width:p,onClose:x}=e,[f,_]=r.ZP.useMessage();if(!u)return null;u&&(t=encodeURIComponent("Check out ".concat(u.title," on RedCircle!")),n="".concat(d.o.SITE_URL,"/shows/").concat(u.uuid)),h&&(t=encodeURIComponent("Check out this episode of ".concat(u.title," on RedCircle!")),n="".concat(d.o.SITE_URL,"/shows/").concat(u.uuid,"/ep/").concat(h.uuid));let b=[{key:"twitter",url:"https://x.com/intent/tweet?text=".concat(t,"&url=").concat(n,"&hashtags=redcircle"),label:"X (Twitter)",icon:(0,l.jsx)(i.Jq
1X,{})},{key:"facebook",url:"https://www.facebook.com/sharer/sharer.php?u=".concat(n,""e=").concat(t),label:"Facebook",icon:(0,l.jsx)(i.Am9,{})},{key:"linkedin",url:"https://www.linkedin.com/shareArticle?mini=true&url=".concat(n),label:"LinkedIn",icon:(0,l.jsx)(i.ltd,{})},{key:"whatsapp",url:"https://api.whatsapp.com/send?text=".concat(t," ").concat(n),label:"WhatsApp",icon:(0,l.jsx)(i.xpo,{})},{key:"copy",label:(0,l.jsxs)(o.zx,{type:"link",className:"p-a0 m-bxs",size:"small",onClick:e=>{e.preventDefault(),n&&(0,c.vQ)(n),f.open({type:"success",content:"Copied to clipboard!"})},children:[(0,l.jsx)(s.uFt,{}),"Copy Link"]})}];return(0,l.jsxs)(a.Z,{open:m,onCancel:x,footer:null,style:{top:24},width:p,children:[_,(0,l.jsx)("h3",{className:"font-size-lg m-bs",children:"Share Episode:"}),(0,l.jsx)("div",{className:"flex-row-container flex-wrap",children:Object.values(b).map(e=>{let{key:t,url:n,label:r,icon:a}=e;return n?(0,l.jsxs)("a",{href:n,target:"_blank",rel:"noopener noreferrer",className:"flex-row-container align-center m-bxs m-rs",children:[a," ",(0,l.jsx)("span",{className:"m-lxxs",children:r})]},t):(0,l.jsx)("span",{className:"flex-row-container align-center",children:r},t)})})]})}},84246:function(e,t,n){"use strict";n.d(t,{Z:function(){return SubscribeModal}});var l=n(52322),r=n(29606),a=n(86204),s=n(39715),i=n(37680);let DistributionToIcon=e=>{switch(e){case i.m3:return(0,l.jsx)(a.l4C,{});case i.fi:return(0,l.jsx)(s.B6X,{});case i.Kj:return(0,l.jsx)(a.UpG,{})}};function SubscribeModal(e){let{show:t,open:n,onClose:a,width:s}=e;if(!t)return null;let{distribution:c}=t;if(!c||!c.details)return null;let o=c&&c.details&&Object.keys(c.details).filter(e=>!c.details[e].isHidden&&c.details[e].url).map(e=>({key:e,url:c.details[e].url,label:i.Y7[e],icon:DistributionToIcon(e)}));
1return(0,l.jsxs)(r.Z,{open:n,onCancel:a,footer:null,style:{top:24},width:s,children:[(0,l.jsx)("h3",{className:"font-size-lg m-bs",children:"Subscribe To Show:"}),(0,l.jsx)("div",{className:"flex-row-container flex-wrap",children:o&&Object.values(o).map(e=>{let{key:t,url:n,label:r,icon:a}=e;return(0,l.jsxs)("a",{href:n,target:"_blank",rel:"noopener noreferrer",className:"flex-row-container align-center m-bxs m-rs",children:[a," ",(0,l.jsx)("span",{className:"m-lxxs",children:r})]},t)})})]})}},93654:function(e,t,n){"use strict";n.d(t,{B:function(){return l}});let l="utm_source=embedded-player&utm_medium=widget&utm_campaign=embed-backlink"},475:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return y},default:function(){return _params_}});var l=n(52322),r=n(79848),a=n(12524),s=n.n(a),i=n(96577),c=n.n(i),o=n(39097),d=n.n(o),u=n(2784),h=n(87771),m=n(64399),p=n(91162),x=n(35822),f=n(61925),_=n(93654),b=n(55183),j=n.n(b),w=n(76006),g=n(84246),y=!0,_params_=function(e){var t,n;let{showUUID:a,episodeUUID:i}=e,{isLoading:o,show:b}=(0,f.Z)({showUUID:a}
1),y=null==b?void 0:null===(t=b.episodes)||void 0===t?void 0:t.find(e=>e.uuid===i),k=(0,u.useRef)(null),v=null===(n=k.current)||void 0===n?void 0:n.clientHeight,[N,E]=(0,u.useState)(!1),[P,C]=(0,u.useState)(!1),S=(0,l.jsx)(r.default,{overlayStyle:v&&v<200?{position:"fixed",top:0,right:0,maxWidth:200}:void 0,autoAdjustOverflow:!0,trigger:["click"],menu:{items:[{key:"view",label:(0,l.jsxs)("a",{className:"flex-row-container align-center",href:"".concat(x.o.SITE_URL,"/show/").concat(a,"/ep/").concat(i,"?").concat(_.B),target:"_blank",rel:"noopener noreferrer",children:[(0,l.jsx)("small",{children:"View Episode"}),(0,l.jsx)(m.RcW,{className:"m-lxxs"})]})},{key:"share",label:(0,l.jsx)("small",{children:"Share"}),onClick:()=>C(!0)},{key:"subscribe",label:(0,l.jsx)("small",{children:"Subscribe to Show"}),onClick:()=>E(!0),hidden:!b||!b.distribution||!b.distribution.details}].filter(e=>!e.hidden)},children:(0,l.jsx)(p.zx,{type:"icon",size:"small","aria-label":"More options",children:(0,l.jsx)(h.jfL,{})})});return(0,l.jsxs)("div",{ref:k,className:s()(j().wrapper,"bg-gray-lightest p-axs flex-row-container align-center"),children:[(0,l.jsxs)("div",{className:s()(j().imageWrapperEpisode,"m-rs"),style:{height:130,width:130},children:[!b&&(0,l.jsx)("div",{className:j().imagePlaceholder}),b&&(0,l.jsx)(c(),{src:"".concat((null==y?void 0:y.imageURL)||(null==b?void 0:b.imageURL),"?d=200x200"),alt:b.title,fill:!0})]}),(0,l.jsxs)("div",{className:"bg-white flex-1 height-100 flex-column-container justify-center p-xs p-yxs",children:[b&&y&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"flex-row-container align-center justify-between",children:[(0,l.jsx)("h3",{className:"font-size-sm line-clamp-1 color-gray-dark",children:b.title}),(0,l.jsx)("div",{className:"flex-row-container align-center",children:(0,l.jsx)(d(),{href:"/show/".concat(a,"/ep/").concat(i,"?").concat(_.B),target:"_blank",rel:"noopener noreferrer",children:(0,l.jsx)(c(),{src:"/logo-redcircle-dark.svg",alt:"RedCircle",width:80,height:16})})})]}),(0,l.jsx)("div",{className:"flex-row-container align-center justify-between m-txs",children:(0,l.jsx)("h4",{className:"font-size-lg line-clamp-1",title:y.title,children:y.title})}),(0,l.jsx)("div",{className:"flex-1 flex-row-container align-center",children:(0,l.jsxs)(p.zF.Wrapper,{src:null==y?void 0:y.streamURL,autoplay:!1,preload:"none",children:[(0,l.jsx)(p.zF.PlayButton,{className:"m-rs"}),(0,l.jsx)("div",{className:"flex-1 m-rs",children:(0,l.jsx)(p.zF.SeekBar,{})}),(0,l.jsxs)("div",{className:"flex-column-container",children:[(0,l.jsxs)("div",{className:"flex-row-container justify-between align-center m-bxxxs",children:[(0,l.jsx)(p.zF.PlayRate,{}),(0,l.jsx)(p.zF.Volume,{}),(0,l.jsx)(p.zF.Download,{}),S]}),(0,l.jsx)(p.zF.Time,{className:"font-size-sm"})]})]})})]}),o&&(0,l.jsx)(p.gb,{})]}),(0,l.jsx)(g.Z,{open:N,onClose:()=>E(!1),show:b,width:"90%"}),(0,l.jsx)(w.Z,{open:P,onClose:()=>C(!1),show:b,width:"90%"})]})}},55183:function(e){e.exports={"print-hide":"EmbeddedPlayer_print-hide__KPMzB",wrapper:"EmbeddedPlayer_wrapper__HIr84",container:"EmbeddedPlayer_container__cJGgD",leftCol:"EmbeddedPlayer_leftCol__M28ff",playingEpisodeColumn:"EmbeddedPlayer_playingEpisodeColumn__3VNC2",rightCol:"EmbeddedPlayer_rightCol__6CBXY",imageWrapper:"EmbeddedPlayer_imageWrapper__o1QdR",imageWrapperEpisode:"EmbeddedPlayer_imageWrapperEpisode___5hJf",imagePlaceholder:"EmbeddedPlayer_imagePlaceholder__vr3ea",isPlaying:"EmbeddedPlayer_isPlaying__4lNkW",themeBaseLight:"EmbeddedPlayer_themeBaseLight___rCJz",themeLight:"EmbeddedPlayer_themeLight__G1jIU",themeBaseDark:"EmbeddedPlayer_themeBaseDark__kAEV2",themeBlurred:"EmbeddedPlayer_themeBlurred___qyYq",themeDark:"EmbeddedPlayer_themeDark__UbUsl"}}},function(e){e.O(0,[594,151,396,653,6,150,774,888,179],function(){return e(e.s=40811)}),_N_E=e.O()}]);
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.