PageSourceSearch

https://www.julieslibraryshow.org/_next/static/chunks/pages/updates-585f100dfd6621bc.js

js julieslibraryshow.org collected 2026-09-28 10:19:54 UTC 13,949 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[389],{8338:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var a=n(7294),r=n(3996),i=n(6641),s=n(1161),o=n(3938),l=n(4328),c=n(5893),u=function(e){var t,n,a,u=e.title,d=e.item,p=e.context;return(0,c.jsx)(r.lu,{id:d.id,title:u,href:"/episode/[...slug]",as:"/episode/".concat(d.canonicalSlug),audioPlayButton:d.audio&&null!==(t=d.audio[0])&&void 0!==t&&null!==(n=t.encodings)&&void 0!==n&&n.length?(0,c.jsx)(o.Z,{audioSource:(0,l.R)(d.audio[0].encodings),audioTitle:d.title,audioSubtitle:(0,s.Z)(new Date(d.publishDate),"MMMM d, yyyy")}):null,headingLevel:2,elementClass:"teaser-episode",image:null!==(a=d.primaryVisuals)&&void 0!==a&&a.thumbnail?(0,c.jsx)(i.Image,{image:d.primaryVisuals.thumbnail,aspectRatio:d.primaryVisuals.preferredAspectRatio,sizes:"300px",alt:d.primaryVisuals.thumbnail.shortCaption}):(0,c.jsx)(i.Image,{fallbackSrc:p.fallbackImg,alt:""})},d.id)},d=n(1842),p=n(626),h=function(e){var t,n,a=e.imageAspectRatio,u=e.title,h=e.item,m=e.context;return(0,c.jsx)(r.lu,{id:h.id,title:u,href:(0,d.ZZ)(h),as:(0,d.ge)(h),audioPlayButton:h.audio&&null!==(t=h.audio[0])&&void 0!==t&&t.encodings.length?(0,c.jsx)(o.Z,{audioSource:(0,l.R)(h.audio[0].encodings),audioTitle:h.title,audioSubtitle:(0,s.Z)(new Date(h.publishDate),"MMMM d, yyyy")}):null,headingLevel:3,description:h.description&&h.embeddedAssetJson&&(0,c.jsx)(p.uT,{nodeData:JSON.parse(h.description),embedded:JSON.parse(h.embeddedAssetJson)}),elementClass:"teaser-default",image:null!==(n=h.primaryVisuals)&&void 0!==n&&n.thumbnail?(0,c.jsx)(i.Image,{image:h.primaryVisuals.thumbnail,aspectRatio:a,sizes:"300px",alt:h.primaryVisuals.thumbnail.shortCaption}):(0,c.jsx)(i.Image,{fallbackSrc:m.fallbackImg,alt:""})},h.id)},m=n(9291),v=n(5668),f=n(6259),g=n(9748),x=function(e){var t,n,r,i=(0,a.useContext)(g.Z),s=e.results,o=e.title,l=e.slug,p=e.buttonAs,x=e.buttonHref,b=e.buttonText,j=e.imageAspectRatio,y=e.hideButton,w=e.teaserType,S=e.includeSearch,Z=(0,a.useState)(null==s?void 0:s.items)[0];return(0,c.jsx)(c.Fragment,{children:(0,c.jsx)("div",{className:"container container-wide",children:(0,c.jsxs)("div",{className:"container_wrapper container_wrapper-wide container_wrapper-content",children:[(0,c.jsx)(v.Z,{title:o,includeSearch:S,handleSearch:function(e){return Z(null==e?void 0:e.items)}}),(0,c.jsxs)("div",{className:"text"===w?"text-list":"grid",children:["episode"===w&&(null==s?void 0:null===(t=s.items)||void 0===t?void 0:t.map(function(e){var t=(0,d.QT)(e,i);return(0,c.jsx)(u,{title:t,context:i,item:e,imageAspectRatio:j},e.id)})),"text"===w&&(null==s?void 0:null===(n=s.items)||void 0===n?void 0:n.map(function(e){var t=(0,d.QT)(e,i);return(0,c.jsx)(m.Z,{title:t,context:i,item:e},e.id)})),"episode"!==w&&"text"!==w&&(null==s?void 0:null===(r=s.items)||void 0===r?void 0:r.map(function(e){var t=(0,d.QT)(e,i);return(0,c.jsx)(h,{title:t,context:i,item:e,imageAspectRatio:j},e.id)}))]}),(0,c.jsx)(f.Z,{buttonHref:x||"/".concat(l),buttonAs:p||(x?null:"/".concat(l)),buttonText:b||"View All",headingClass:"hdg hdg-2 hdg-themeLight",hideButton:y})]})})})};x.defaultProps={includeSearch:!1};var b=x},5200:function(e,t,n){"use strict";n(7294);var a=n(4184),r=n.n(a),i=n(5893);t.Z=function(e){var t=e.title,n=e.subtitle,a=e.isReversed,s=void 0!==a&&a,o=r()({container:!0,"container-wide":!0,"container-hero":!s,"container-heroReverse":s}),l=r()({banner:!0,"banner-hero":!s,"banner-heroReverse":s});return(0,i.jsx)("div",{className:o,children:(0,i.jsx)("section",{className:l,children:(0,i.jsx)("div",{className:"container_wrapper container_wrapper-wide",children:(0,i.jsxs)("div",{className:"hero hero-page",children:[(0,i.jsx)("h1",{className:"hdg hdg-1 hdg-heroAlt",children:t}),n&&(0,i.jsx)("p",{children:n})]})})})})}},4318:function(e,t,n){"use strict";var a=n(7294),r=n(3996),i=n(6641),s=n(5668),o=n(6259),l=n(9748),c=n(1842),u=n(5893);t.Z=function(e){var t,n,d=e.otherPodcastsList,p=(0,a.useContext)(l.Z);return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(s.Z,{title:"Discover Other APM Kid Podcasts"}),(0,u.jsx)("div",{className:"grid",children:null==d?void 0:null===(t=d.results)||void 0===t?void 0:null===(n=t.items)||void 0===n?void 0:n.map(function(e){var t,n,a,s,o,l,d,h,m;return(0,u.jsx)(r.lu,{elementClass:"teaser-default",id:e.id,title:e.title,href:(0,c.ZZ)(e),as:(0,c.ge)(e),headingLevel:3,image:null!=e&&null!==(t=e.primaryVisuals)&&void 0!==t&&null!==(n=t.thumbnail)&&void 0!==n&&null!==(a=n.aspect_ratios)&&void 0!==a&&a.widescreen||null!=e&&null!==(s=e.primaryVisuals)&&void 0!==s&&null!==(o=s.thumbnail)&&void 0!==o&&null!==(l=o.aspect_ratios)&&void 0!==l&&l.uncropped?(0,u.jsx)(i.Image,{image:null==e?void 0:null===(d=e.primaryVisuals)||void 0===d?void 0:d.thumbnail,aspectRatio:"widescreen",sizes:"300px",alt:null==e?void 0:null===(h=e.primaryVisuals)||void 0===h?void 0:null===(m=h.thumbnail)||void 0===m?void 0:m.shortCaption}):(0,u.jsx)(i.Image,{fallbackSrc:p.fallbackImg,alt:e.title||"Default Image"}),description:e.descriptionText},e.id)})}),(0,u.jsx)(o.Z,{buttonText:"More Podcasts",buttonHref:"https://www.americanpublicmedia.org/family-podcasts/"})]})}},6259:function(e,t,n){"use strict";var a=n(9499);n(7294);var r=n(4184),i=n.n(r),s=n(3996),o=n(5893),l=function(e){var t=i()((0,a.Z)({sectionHeader:!0},e.elementClass,e.elementClass));return(0,o.jsx)(o.Fragment,{children:!e.hideButton&&(0,o.jsx)(o.Fragment,{children:e.buttonHref&&e.buttonText&&(0,o.jsx)("div",{className:t,children:(0,o.jsx)("div",{className:"row row-sectionHeader",children:(0,o.jsx)(s.zx,{type:"primary",href:e.buttonHref,as:e.buttonAs,children:e.buttonText})})})})})};l.defaultProps={headingLevel:2},t.Z=l},5668:function(e,t,n){"use strict";n.d(t,{Z:function(){return j}});var a=n(9499),r=n(7294),i=n(4184),s=n.n(i),o=n(3996),l=n(29),c=n(7757),u=n.n(c),d=n(259),p=n(4768),h=n(2662),m=n(6871);function v(){return(v=(0,l.Z)(u().mark(function e(t){var n,a,r,i,s,o,l,c,d,p;return u().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.contentAreaSlug,a=t.keyword,i=void 0===(r=t.pageSize)?24:r,o=void 0===(s=t.page)?1:s,c=void 0===(l=t.resourceTypes)?null:l,d=(0,m.Z)(n,a,i,o,c),e.next=4,(0,h.Z)(d);case 4:return p=e.sent,e.abrupt("return",null==p?void 0:p.contentList);case 6:case"end":return e.stop()}},e)}))).apply(this,arguments)}var f=n(9748),g=n(5893),x=function(e){var t,n=e.searchCallback,a=(0,r.useState)(""),i=a[0],s=a[1],o=(0,r.useState)(!1),c=o[0],h=o[1],m=(0,r.useContext)(f.Z),x=(0,d.xX)().executeRecaptcha,b=(t=(0,l.Z)(u().mark(function e(t){return u().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),e.prev=1,e.next=4,function(e){return v.apply(this,arguments)}({contentAreaSlug:m.slug,keyword:i,resourceTypes:["EPISODES"],pageSize:10});case 4:n(e.sent),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),console.error(e.t0);case 11:case"end":return e.stop()}},e,null,[[1,8]])})),function(e){return t.apply(this,arguments)}),j=(0,r.useCallback)((0,l.Z)(u().mark(function e(){var t,n;return u().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(x){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,x("EpisodeSearchBox");case 4:return t=e.sent,e.next=7,fetch("/api/validate-recaptcha",{method:"POST",headers:{"Content-Type":"application/json","Cache-Control":"must-revalidate,no-cache,no-store"},body:JSON.stringify({token:t})});case 7:return n=e.sent,e.next=10,n.json();case 10:h(e.sent.success);case 12:case"end":return e.stop()}},e)})),[x]);return(0,r.useEffect)(function(){j()},[j]),(0,g.jsxs)("form",{className:"search",role:"search",onSubmit:b,children:[(0,g.jsx)("span",{className:"search_hidden",children:"Search for episodes"}),(0,g.jsxs)("label",{className:"search_hidden",htmlFor:"search-episode",children:[" ","Search Website"]}),(0,g.jsx)("input",{name:"q",type:"text",id:"search-episode",placeholder:"Search for episodes",value:i,onChange:function(e){return s(e.target.value)}}),(0,g.jsxs)("button",{type:"submit",name:"button",className:"search_btn",disabled:!c,children:[" ",(0,g.jsx)("span",{className:"search_hidden",children:"Perform Search"}),(0,g.jsx)(p.Z,{name:"search"})]})]})},b=function(e){var t=s()((0,a.Z)({sectionHeader:!0},e.elementClass,e.elementClass)),n=s()((0,a.Z)({hdg:!e.headingClass,"hdg-2":!e.headingClass},e.headingClass,e.headingClass));return(0,g.jsxs)("div",{className:t,children:[(0,g.jsx)("div",{className:"sectionHeader_heading",children:(0,g.jsx)(o.X6,{level:e.headingLevel,className:n,children:e.title})}),e.includeSearch&&e.handleSearch&&(0,g.jsx)("div",{className:"sectionHeader_search",children:(0,g.jsx)(x,{searchCallback:e.handleSearch})}),!e.hideButton&&e.buttonHref&&e.buttonText&&(0,g.jsx)("div",{className:"sectionHeader_button",children:(0,g.jsx)(o.zx,{type:"primary",href:e.buttonHref,as:e.buttonAs,children:e.buttonText})})]})};b.defaultProps={headingLevel:2,includeSearch:!1};var j=b},9291:function(e,t,n){"use strict";n(7294);var a=n(3996),r=n(1161),i=n(3938),s=n(4328),o=n(5893);t.Z=function(e){var t,n,l=e.title,c=e.item;return(0,o.jsx)(a.lu,{id:c.id,title:l,href:"/episode/[...slug]",as:"/episode/".concat(c.canonicalSlug),audioPlayButton:c.audio&&null!==(t=c.audio[0])&&void 0!==t&&null!==(n=t.encodings)&&void 0!==n&&n.length?(0,o.jsx)(i.Z,{audioSource:(0,s.R)(c.audio[0].encodings),audioTitle:c.title,audioSubtitle:(0,r.Z)(new Date(c.publishDate),"MMMM d, yyyy")}):null,headingLevel:3,elementClass:"teaser-text",image:c.publishDate&&(0,o.jsx)("div",{className:"teaser-date",children:(0,r.Z)(new Date(c.publishDate),"eeee, MMMM d, yyyy")})},c.id)}},2015:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return P}});var a,r,i=n(1383),s=n(29),o=n(9499),l=n(7757),c=n.n(l),u=n(7294),d=n(2918),p=n.n(d),h=n(8687),m=n(9748),v=n(4093),f=n(5200),g=n(8338),x=n(4318),b=n(5893);function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?j(Object(n),!0).forEach(function(t){(0,o.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var w=function(e){var t=(0,u.useContext)(m.Z),n=e.otherPodcastsList;return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(v.Z,{title:"Updates",fullSlug:"updates",doNotCrawl:e.updates.doNotCrawl}),(0,b.jsxs)("main",{className:"page ".concat(t.slug),children:[(0,b.jsx)(f.Z,{title:"Updates",isReversed:!0}),(0,b.jsx)(g.Z,y(y({},e.updates),{},{title:"",hideButton:!0})),n&&(0,b.jsx)("div",{className:"container",children:(0,b.jsx)("div",{className:"container_wrapper container_wrapper-wide container_wrapper-content",children:(0,b.jsx)("section",{className:"section section section-dividerReverse",children:(0,b.jsx)(x.Z,{otherPodcastsList:n})})})})]})]})},S=n(2662),Z=n(3774);function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}var C=function(e){var t=e.data,n=e.errorCode;return n?(0,b.jsx)(p(),{statusCode:n}):(0,b.jsx)(w,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach(function(t){(0,o.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},t))};C.getInitialProps=(a=(0,s.Z)(c().mark(function e(t){var n,a,s,o,l,u;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.res,a=t.config,l=(0,Z.Ni)({contentAreaSlug:a.slug,episodesCollectionSlug:a.episodesCollectionSlug,pageSize:6}),u=(0,h.gql)(r||(r=(0,i.Z)(["\n    query collection {\n      ","\n    }\n  "])),l),e.next=5,(0,S.Z)(u).then(function(e){var t;s=e,n&&n.setHeader("Cache-Control","public, max-age=60"),null!==(t=s)&&void 0!==t&&t.updates||(n&&(n.statusCode=404),o=404)}
1).catch(function(){n&&(n.statusCode=500),o=404});case 5:return e.abrupt("return",{data:s,errorCode:o,config:a});case 6:case"end":return e.stop()}},e)})),function(e){return a.apply(this,arguments)});var P=C},6871:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var a,r=n(1383),i=n(8687);function s(e,t,n,s){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:void 0;return(0,i.gql)(a||(a=(0,r.Z)(['\n    {\n      contentList(\n        contentAreaSlug: "','" \n        keyword: "','"\n        pageSize: ',"\n        page: ","\n        ","\n        includeDoNotCrawl: false\n      )\n      {\n        totalItems\n        pageSize\n        currentPage\n        nextPage\n        previousPage\n        totalPages\n        items {\n          id\n          title\n          descriptionText\n          canonicalSlug\n          resourceType\n          publishDate\n          audio {\n            title\n            durationHms\n            encodings {\n              httpFilePath\n              playFilePath\n              filename\n              mediaType\n              locations {\n                location\n                path\n              }\n            }\n          }\n          primaryVisuals {\n            thumbnail {\n              fallback\n              preferredAspectRatio {\n                instances {\n                  width\n                  height\n                  url\n                }\n              }\n            }\n          }\n        }\n      }\n    }"])),e,t,n,s,o?"contentTypes: [".concat(o,"]"):"")}},4211:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/updates",function(){return n(2015)}])}},function(e){e.O(0,[216,161,626,381,888,774,179],function(){return e(e.s=4211)}),_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.