1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[964],{2308:function(e,r,s){"use strict";s.d(r,{Z:function(){return l}});var t=s(9499);s(7294);var i=s(626),a=s(5893),n=function(e){var r=e.embed;return(0,a.jsx)("iframe",{src:"".concat(r.url,"/embed"),title:r.title,width:"100%",marginWidth:"0",height:"300px",marginHeight:"0",frameBorder:0,className:"cs-iframe-embed"})};function o(e,r){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),s.push.apply(s,t)}return s}function c(e){for(var r=1;r<arguments.length;r++){var s=null!=arguments[r]?arguments[r]:{};r%2?o(Object(s),!0).forEach(function(r){(0,t.Z)(e,r,s[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):o(Object(s)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(s,r))})}return e}var l=function(e){var r=e.embedded.oembeds.find(function(r){return r.url===e.nodeData.attrs.src});return r?"Crowdsignal"===r.provider_name?(0,a.jsx)(n,c(c({},e),{},{embed:r})):(0,a.jsx)(i.Fd,c({},e)):null}},1618:function(e,r,s){"use strict";s.d(r,{Z:function(){return O}});var t=s(9499),i=s(7294),a=s(3996),n=s(626),o=s(6641),c=s(1161),l=s(3938),d=s(4328),u=s(9748),p=s(5893),h=function(e){var r=e.primaryCollection;return(0,p.jsxs)("ul",{className:"hero_podcastLinks",children:[r.applePodcastUrl&&(0,p.jsx)("li",{children:(0,p.jsxs)(a.rU,{href:r.applePodcastUrl,target:"_blank",className:"hero_podcastLinkEp",children:[(0,p.jsx)("img",{src:"/assets/subscribe/apple-podcasts-color.svg",alt:"",height:"18"}),"Apple Podcasts"]})}),r.spotifyUrl&&(0,p.jsx)("li",{children:(0,p.jsxs)(a.rU,{href:r.spotifyUrl,target:"_blank",className:"hero_podcastLinkEp",children:[(0,p.jsx)("img",{src:"/assets/subscribe/spotify-color.svg",alt:"",height:"18"}),"Spotify"]})}),r.amazonMusicUrl&&(0,p.jsx)("li",{children:(0,p.jsxs)(a.rU,{href:r.amazonMusicUrl,target:"_blank",className:"hero_podcastLinkEp",children:[(0,p.jsx)("img",{src:"/assets/subscribe/amazon-music-color.svg",alt:"",height:"18"}),"Amazon Music"]})}),r.iheartUrl&&(0,p.jsx)("li",{children:(0,p.jsxs)(a.rU,{href:r.iheartUrl,target:"_blank",className:"hero_podcastLinkEp",children:[(0,p.jsx)("img",{src:"/assets/subscribe/iheart-color.svg",alt:"",height:"18"}),"iHeart"]})}),r.tuneinUrl&&(0,p.jsx)("li",{children:(0,p.jsxs)(a.rU,{href:r.tuneinUrl,target:"_blank",className:"hero_podcastLinkEp",children:[(0,p.jsx)("img",{src:"/assets/subscribe/tunein-color.svg",alt:"",height:"18"}),"TuneIn"]})}),r.youtubeUrl&&(0,p.jsx)("li",{children:(0,p.jsxs)(a.rU,{href:r.youtubeUrl,target:"_blank",className:"hero_podcastLinkEp",children:[(0,p.jsx)("img",{src:"/assets/subscribe/youtube-color.svg",alt:"",height:"18"}),"YouTube"]})}),r.rssUrl&&(0,p.jsx)("li",{children:(0,p.jsxs)(a.rU,{href:r.rssUrl,target:"_blank",className:"hero_podcastLinkEp",children:[(0,p.jsx)("img",{src:"/assets/subscribe/rss-color.svg",alt:"",height:"18"}),"RSS"]})})]})},m=s(1664),g=s.n(m),f=function(e){var r,s,t,n,m,f,b=e.episode,j=(0,i.useContext)(u.Z),x={podcast:"/podcast-assets/brainson/brainson-h.png","forever-ago-podcast":"/podcast-assets/foreverago/forever-ago-logo.png"};return(0,p.jsxs)("div",{className:"hero",children:[b.primaryVisuals&&(0,p.jsx)("div",{className:"hero_image",children:null!==(r=b.primaryVisuals)&&void 0!==r&&r.lead?(0,p.jsx)(a.Bc,{elementClass:"content_thumbnail",image:(0,p.jsx)(o.Image,{elementClass:"content_thumbnail",image:b.primaryVisuals.lead,aspectRatio:b.primaryVisuals.preferredAspectRatio,sizes:"715px",alt:b.primaryVisuals.lead.shortCaption||"episode lead image"}),caption:b.primaryVisuals.lead.longCaption,credit:b.primaryVisuals.lead.credit.name,creditHref:b.primaryVisuals.lead.credit.url}):(0,p.jsx)(o.Image,{elementClass:"content_thumbnail",fallbackSrc:j.fallbackImg,alt:(null==b?void 0:b.title)||"episode lead image"})}),(0,p.jsxs)("div",{className:"hero_content",children:[b.primaryCollection&&"moment-of-um"!==b.primaryCollection.canonicalSlug&&"smashboom"!==b.primaryCollection.canonicalSlug?(0,p.jsx)(g(),{href:"/collection/".concat(b.primaryCollection.canonicalSlug),className:"hero_topInfo",children:x[b.primaryCollection.canonicalSlug]?(0,p.jsx)("img",{alt:b.primaryCollection.title,src:x[b.primaryCollection.canonicalSlug]}):"".concat(b.primaryCollection.title)}):(0,p.jsx)(p.Fragment,{}),(0,p.jsx)("div",{className:"hero_topInfo",children:(0,c.Z)(new Date(b.publishDate),"MMMM d, yyyy")}),(0,p.jsx)("h1",{className:"hdg hdg-1",children:b.title}),(0,p.jsxs)("div",{className:"hero_buttons",children:[(0,p.jsx)(l.Z,{showLabel:!0,audioSource:(0,d.R)(null==b?void 0:null===(s=b.audio[0])||void 0===s?void 0:s.encodings),audioTitle:b.title,audioSubtitle:(0,c.Z)(new Date(b.publishDate),"MMMM d, yyyy")}),b.primaryAttachment?(0,p.jsxs)(g(),{href:b.primaryAttachment.url,target:"_blank",className:"hero_lessonPlanBtn",children:[(0,p.jsx)("img",{src:"/assets/lesson-plan.svg",alt:"",width:"30"}),"Download Lesson Plan"]}):(0,p.jsx)(p.Fragment,{})]}),null!==(t=b.primaryCollection)&&void 0!==t&&t.applePodcastUrl||null!==(n=b.primaryCollection)&&void 0!==n&&n.spotifyUrl||null!==(m=b.primaryCollection)&&void 0!==m&&m.amazonMusicUrl||null!==(f=b.primaryCollection)&&void 0!==f&&f.rssUrl?(0,p.jsxs)("section",{className:"section section-subscribe",children:[(0,p.jsx)("h2",{className:"text-bold hero_subscribeText",children:"Subscribe"}),(0,p.jsx)(h,{primaryCollection:b.primaryCollection})]}):""]})]})},b=s(498),j=s(4093),x=s(1874),v=function(e){var r=e.transcriptText,s=RegExp(/\n/,"g"),t=r.replace(s,"<br />");return(0,p.jsx)("div",{className:"transcript_text",dangerouslySetInnerHTML:{__html:t}})},y=function(e){var r,s,t=null===(r=e.transcripts)||void 0===r?void 0:null===(s=r.filter(function(e){return"pdf"==e.formatSlug})[0])||void 0===s?void 0:s.url;return e.transcriptText||t?(0,p.jsxs)("div",{className:"transcript",children:[(0,p.jsx)("h3",{children:"Audio Transcript"}),t&&(0,p.jsx)("h4",{className:"transcript_pdf",children:(0,p.jsx)("a",{href:t,children:"Download transcript (PDF)"})}),e.transcriptText&&(0,p.jsx)(v,{transcriptText:e.transcriptText}),(0,p.jsxs)("p",{className:"transcript_credit",children:["Transcription services provided by"," ",(0,p.jsx)("a",{href:"https://www.3playmedia.com/",children:"3Play Media"}),"."]})]}):null},_=s(2421),w=s(1842),N=s(2308);function k(e,r){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),s.push.apply(s,t)}return s}var O=function(e){var r=e.data,s=r.episode,o=r.otherPodcastsList,c=(0,i.useContext)(u.Z),l=(0,w.QT)(s,c),d=s.canonicalSlug,h=s.title,m=c.prodDomain,g="https://www.facebook.com/sharer/sharer.php?u="+m+"/episode/"+d,v=c.name,O="https://twitter.com/intent/tweet?text="+h.replace(/&/,"%26")+" from "+v+" "+m+"/episode/"+d,C="".concat(m,"/episode/").concat(d),P=[{site:"twitter",href:O},{site:"facebook",href:g}];if(e.data.loading)return(0,p.jsx)(a.gb,{});if(e.data.error)return(0,p.jsx)("div",{children:"Error"});var S=(0,_.Q)(s,"".concat(c.prodDomain).concat(c.fallbackImg));return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(j.Z,{title:l,description:s.descriptionText.trim(),fullSlug:"episode/".concat(s.canonicalSlug),image:S,ogType:"article",doNotCrawl:s.doNotCrawl}),(0,p.jsx)("div",{className:"container container-wide container-hero",children:(0,p.jsx)("section",{className:"banner banner-hero",children:(0,p.jsx)("div",{className:"container_wrapper container_wrapper-wide",children:(0,p.jsx)(f,{episode:s})})})}),(0,p.jsxs)("div",{className:"episode episode-sticky",children:[(0,p.jsx)("div",{className:"socialLinks socialLinks-episodeSticky ",children:(0,p.jsxs)("section",{children:[(0,p.jsx)("div",{className:"text text-social",children:"Share"}),(0,p.jsx)(b.Z,{googleClassIcon:!0,links:P,shareGoogleClassroomLink:C,shareFacebookLink:g,shareTwitterLink:O})]})}),(0,p.jsx)("div",{className:"container container-content",children:(0,p.jsxs)("div",{className:"userContent content_body",children:[(0,p.jsx)(n.uT,{nodeData:JSON.parse(s&&s.body),embedded:JSON.parse(s&&s.embeddedAssetJson),overrides:{link:x.Z,apm_oembed:N.Z}}),s.audio&&s.audio[0]&&s.audio[0].transcriptText&&(0,p.jsx)(y,function(e){for(var r=1;r<arguments.length;r++){var s=null!=arguments[r]?arguments[r]:{};
1r%2?k(Object(s),!0).forEach(function(r){(0,t.Z)(e,r,s[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):k(Object(s)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(s,r))})}return e}({},s.audio[0]))]})})]}),o&&(0,p.jsx)("div",{className:"container",children:(0,p.jsx)("section",{className:"section section section-dividerReverse"})})]})}},6180:function(e,r,s){"use strict";s.r(r);var t,i,a=s(1383),n=s(29),o=s(7757),c=s.n(o);s(7294);var l=s(2918),d=s.n(l),u=s(8687),p=s(1618),h=s(2662),m=s(3774),g=s(5893),f=function(e){var r=e.data,s=e.errorCode;return s?(0,g.jsx)(d(),{statusCode:s}):(0,g.jsx)(p.Z,{data:r})};f.getInitialProps=(t=(0,n.Z)(c().mark(function e(r){var s,t,n,o,l,d,p,g,f;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=(s=r.query).slug,n=s.previewToken,o=r.res,l=r.config,g=(0,m.aN)([(0,m.BL)({contentAreaSlug:l.slug,slug:t.join("/"),previewToken:n}),(0,m.Dk)(l.globalSections,l.slug)]),f=(0,u.gql)(i||(i=(0,a.Z)(["\n query episode {\n ","\n }\n "])),g),e.next=5,(0,h.Z)(f).then(function(e){var r;d=e,o&&o.setHeader("Cache-Control","public, max-age=60"),null!==(r=d)&&void 0!==r&&r.episode||(o&&(o.statusCode=404),p=404)}).catch(function(){o&&(o.statusCode=500),p=404});case 5:return e.abrupt("return",{data:d,errorCode:p,config:l});case 6:case"end":return e.stop()}},e)})),function(e){return t.apply(this,arguments)}),r.default=f},2421:function(e,r,s){"use strict";s.d(r,{Q:function(){return t}});var t=function(e,r){var s,t,i=function(e){if(null===(r=e.aspect_ratios)||void 0===r||!r.widescreen)return e.fallback;var r,s=e.aspect_ratios.widescreen.instances,t=s.length-1;return s[t].url};return null!=e&&null!==(s=e.primaryVisuals)&&void 0!==s&&s.social?i(e.primaryVisuals.social):null!=e&&null!==(t=e.primaryVisuals)&&void 0!==t&&t.lead?i(e.primaryVisuals.lead):r}},7434:function(e,r,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/episode/[...slug]",function(){return s(6180)}])}},function(e){e.O(0,[216,161,626,381,888,774,179],function(){return e(e.s=7434)}),_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.