PageSourceSearch

https://www.julieslibraryshow.org/_next/static/chunks/pages/episodes-6f401e456109d774.js

js julieslibraryshow.org collected 2026-09-28 10:19:53 UTC 8,257 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[257],{5200:function(e,t,n){"use strict";n(7294);var r=n(4184),i=n.n(r),a=n(5893);t.Z=function(e){var t=e.title,n=e.subtitle,r=e.isReversed,s=void 0!==r&&r,o=i()({container:!0,"container-wide":!0,"container-hero":!s,"container-heroReverse":s}),c=i()({banner:!0,"banner-hero":!s,"banner-heroReverse":s});return(0,a.jsx)("div",{className:o,children:(0,a.jsx)("section",{className:c,children:(0,a.jsx)("div",{className:"container_wrapper container_wrapper-wide",children:(0,a.jsxs)("div",{className:"hero hero-page",children:[(0,a.jsx)("h1",{className:"hdg hdg-1 hdg-heroAlt",children:t}),n&&(0,a.jsx)("p",{children:n})]})})})})}},9291:function(e,t,n){"use strict";n(7294);var r=n(3996),i=n(1161),a=n(3938),s=n(4328),o=n(5893);t.Z=function(e){var t,n,c=e.title,l=e.item;return(0,o.jsx)(r.lu,{id:l.id,title:c,href:"/episode/[...slug]",as:"/episode/".concat(l.canonicalSlug),audioPlayButton:l.audio&&null!==(t=l.audio[0])&&void 0!==t&&null!==(n=t.encodings)&&void 0!==n&&n.length?(0,o.jsx)(a.Z,{audioSource:(0,s.R)(l.audio[0].encodings),audioTitle:l.title,audioSubtitle:(0,i.Z)(new Date(l.publishDate),"MMMM d, yyyy")}):null,headingLevel:3,elementClass:"teaser-text",image:l.publishDate&&(0,o.jsx)("div",{className:"teaser-date",children:(0,i.Z)(new Date(l.publishDate),"eeee, MMMM d, yyyy")})},l.id)}},2040:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return D}});var r,i,a=n(1383),s=n(29),o=n(9499),c=n(7757),l=n.n(c),u=n(7294),d=n(2918),p=n.n(d),f=n(8687),g=n(6687),h=n(5200),m=n(3996),v=n(6641),x=n(1842),j=n(4328),y=n(3938),b=n(5893),w=function(e){var t,n,r=e.title,i=e.image,a=e.audio,s=e.item,o=e.fallbackImage;return(0,b.jsx)("div",{className:"card",children:(0,b.jsx)(m.lu,{title:r,href:(0,x.ZZ)(s),as:(0,x.ge)(s),audioPlayButton:a&&null!==(t=a[0])&&void 0!==t&&null!==(n=t.encodings[0])&&void 0!==n&&n.length?(0,b.jsx)(y.Z,{audioSource:(0,j.R)(a[0].encodings),audioTitle:r}):null,headingLevel:2,elementClass:"teaser teaser-episode",image:i?(0,b.jsx)(v.Image,{image:i,aspectRatio:"widescreen",sizes:"300px",alt:i}):(0,b.jsx)(v.Image,{fallbackSrc:o,alt:"Brains On Thumbnail"})})})},N=n(9291),S=function(e){return(0,b.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:e.width||53,height:e.height||33,viewBox:"0 0 150 90",version:"1.1",children:(0,b.jsx)("path",{d:"M142.5 10.6C140.3 7.5 136.8 5.3 132.6 4.6 114.6-1.5 35-1.5 17.3 4.6 13.6 5.3 10.3 7.2 8.2 9.9 -2.7 19.5-2.7 70.1 8.1 80 10.3 82.8 13.6 84.8 17.5 85.5 35.5 91.5 114 91.5 132.4 85.5 136.7 84.8 140.4 82.5 142.6 79.3 152.5 68.2 152.5 21.4 142.5 10.6Z"})})},_=n(7557),Z=function(){return(0,b.jsxs)("div",{className:"card card-tombstone",children:[(0,b.jsx)("button",{className:"card_button",children:(0,b.jsx)(S,{width:53,height:33})}),(0,b.jsxs)("div",{className:"card_main",children:[(0,b.jsx)("div",{className:"card_main_img aspect aspect-fullscreen",children:(0,b.jsx)(_.Z,{elementClass:"card_main_img_loading",width:128,height:160})}),(0,b.jsx)("div",{className:"card_main_title",children:(0,b.jsx)("h2",{className:"hdg hdg-card",children:" "})})]})]})},O=n(9748),C=n(4093),k=function(e){var t=(0,u.useContext)(O.Z),n=(0,u.useRef)(1),r=(0,u.useRef)(e.collectionList.results.items),i=(0,u.useState)(e.collectionList.results.items),a=i[0],o=i[1],c=(0,u.useState)(!1),d=c[0],p=c[1],f=e.collectionList.results.totalPages;function m(){return(m=(0,s.Z)(l().mark(function t(){var i,a,s;return l().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!(n.current+1>f)){t.next=2;break}return t.abrupt("return");case 2:return n.current++,t.next=5,e.fetch({query:{pageNum:n.current},config:e.config});case 5:if(a=(i=t.sent).data,!(s=i.errorCode)){t.next=11;break}return console.error(s),t.abrupt("return",s);case 11:r.current=[].concat((0,g.Z)(r.current),(0,g.Z)(a.collectionList.results.items)),o(r.current),setTimeout(function(){return p(!1)},1e3),n.current>=f&&window.removeEventListener("scroll",v);case 15:case"end":return t.stop()}},t)}))).apply(this,arguments)}var v=(0,x.Ds)(function(){window.innerHeight+document.documentElement.scrollTop>=document.body.offsetHeight-600&&!d&&(p(!0),function(){m.apply(this,arguments)}())},100);return(0,u.useEffect)(function(){return window.addEventListener("scroll",v),function(){return window.removeEventListener("scroll",v)}},[]),(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(C.Z,{title:e.collectionList.title,fullSlug:"episodes"}),(0,b.jsxs)("main",{className:"page ".concat(t.slug),children:[(0,b.jsx)(h.Z,{title:"All Episodes",isReversed:!0}),(0,b.jsx)("div",{className:"container_wrapper container_wrapper-wide container-heroReverse","data-testid":"card-container",children:(0,b.jsx)("div",{className:"container_
1collection",children:(0,b.jsx)("section",{className:"section",children:"text"===t.episodePageLayout?(0,b.jsxs)("div",{className:"text-list",children:[a.map(function(e){return(0,b.jsx)(N.Z,{title:e.title,canonicalSlug:e.canonicalSlug,audio:e.audio,teaser:e.descriptionText,resourceType:e.resourceType,destination:e.destination,item:e},e.canonicalSlug)}),d&&n.current<f&&(0,g.Z)(Array(9)).map(function(e,t){return(0,b.jsx)(Z,{},t)})]}):(0,b.jsxs)("div",{className:"grid",children:[a.map(function(e){var n;return(0,b.jsx)(w,{title:e.title,canonicalSlug:e.canonicalSlug,audio:e.audio,image:null===(n=e.primaryVisuals)||void 0===n?void 0:n.lead,teaser:e.descriptionText,resourceType:e.resourceType,destination:e.destination,item:e,fallbackImage:t.fallbackImg},e.canonicalSlug)}),d&&n.current<f&&(0,g.Z)(Array(9)).map(function(e,t){return(0,b.jsx)(Z,{},t)})]})})})})]})]})},P=n(2662),E=n(3774);function T(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?T(Object(n),!0).forEach(function(t){(0,o.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):T(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var L=function e(t){var n=t.data,r=t.errorCode,i=t.config;return r?(0,b.jsx)(p(),{statusCode:r}):(0,b.jsx)(k,A(A({},n),{},{fetch:e.getInitialProps,config:i}))};L.getInitialProps=(r=(0,s.Z)(l().mark(function e(t){var n,r,s,o,c,u,d,p,g,h,m,v;return l().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=void 0===(r=(n=t.query).pageNum)?1:r,c=void 0===(o=n.pageSize)?24:o,u=t.res,d=t.config,g=!1,h={contentAreaSlug:d.slug,slug:d.episodesCollectionSlug||d.slug,pageNum:parseInt(s),pageSize:c},m=(0,E.aN)([(0,E.zg)(h),(0,E.Dk)(d.globalSections,d.slug)]),v=(0,f.gql)(i||(i=(0,a.Z)(["\n    query episodes {\n      ","\n    }\n  "])),m),e.next=7,(0,P.Z)(v).then(function(e){var t;p=e,u&&u.setHeader("Cache-Control","public, max-age=60"),null!==(t=p)&&void 0!==t&&t.collectionList||(u&&(u.statusCode=404),g=404)}).catch(function(){u&&(u.statusCode=500),g=404});case 7:return e.abrupt("return",{data:p,pageNum:s,config:d,errorCode:g});case 8:case"end":return e.stop()}},e)})),function(e){return r.apply(this,arguments)});var D=L},2471:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/episodes",function(){return n(2040)}])},6687:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function i(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return r(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}n.d(t,{Z:function(){return i}})}},function(e){e.O(0,[216,161,381,888,774,179],function(){return e(e.s=2471)}),_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.