1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[906],{97510:function(e,n,t){"use strict";t.d(n,{v:function(){return C}});var o=t(85893),s=t(67294),i=t(73241);const c="list-item",r="o-list-item",l="group-list-item",a="group-o-list-item",d="span",h={[c]:"listItem",[r]:"oListItem",[l]:"list",[a]:"oList"},p=e=>(n,t,o,s,i)=>{const c=e[h[n]||n];if(c)return c({type:n,node:t,text:o,children:s,key:i})},u=()=>(++u.i).toString();u.i=0;const m=(e,n=[])=>({key:u(),type:e.type,text:"text"in e?e.text:void 0,node:e,children:n}),f=e=>m({type:d,text:e,spans:[]}),x=e=>{const n=e.slice(0);for(let t=0;t<n.length;t++){const e=n[t];if(e.type===c||e.type===r){const o=[e];for(;n[t+1]&&n[t+1].type===e.type;)o.push(n[t+1]),n.splice(t,1);e.type===c?n[t]={type:l,items:o}:n[t]={type:a,items:o}}}return n},_=e=>{if("text"in e)return m(e,g(e.spans,e));if("items"in e){const n=[];for(let t=0;t<e.items.length;t++)n.push(_(e.items[t]));return m(e,n)}return m(e)},g=(e,n,t)=>{if(!e.length)return[f(n.text)];const o=e.slice(0);o.sort(((e,n)=>e.start-n.start||n.end-e.end));const s=[];for(let i=0;i<o.length;i++){const e=o[i],c=t&&t.start||0,r=e.start-c,l=e.end-c,a=n.text.slice(r,l),d=[];for(let n=i;n<o.length;n++){const t=o[n];t!==e&&(t.start>=e.start&&t.end<=e.end?(d.push(t),o.splice(n,1),n--):t.start<e.end&&t.end>e.start&&(d.push({...t,end:e.end}),o[n]={...t,start:e.end}))}0===i&&r>0&&s.push(f(n.text.slice(0,r)));const h={...e,text:a};s.push(m(h,g(d,{...n,text:a},e))),l<n.text.length&&s.push(f(n.text.slice(l,o[i+1]?o[i+1].start-c:void 0)))}return s},v=(e,n)=>j((e=>{const n=x(e),t=[];for(let o=0;o<n.length;o++)t.push(_(n[o]));return{key:u(),children:t}})(e).children,n),j=(e,n)=>{const t=[];for(let o=0;o<e.length;o++){const s=e[o],i=n(s.type,s.node,s.text,j(s.children,n),s.key);null!=i&&t.push(i)}return t};var y=t(58002);"undefined"===typeof t(83454)&&(globalThis.process={env:{}});var b=t(83696);const k=()=>s.useContext(b.Z)||{},P=(e,n)=>{const t=k();const s=e.linkResolver||t.linkResolver;let i;"href"in e?i=e.href:"document"in e&&e.document?i=y.s(e.document,s):"field"in e&&e.field&&(i=y.s(e.field,s));const c=i&&(e=>{const n=/^(\/(?!\/)|#)/.test(e),t=!n&&!/^https?:\/\//.test(e);return n&&!t})(i),r=e.target||"field"in e&&e.field&&"target"in e.field&&e.field.target||void 0,l=e.rel||("_blank"===r?"noopener noreferrer":void 0),a=e.internalComponent||t.internalLinkComponent||"a",d=e.externalComponent||t.externalLinkComponent||"a",h=c?a:d,p=Object.assign({},e);return delete p.linkResolver,delete p.internalComponent,delete p.externalComponent,delete p.rel,delete p.target,"field"in p?delete p.field:"document"in p?delete p.document:"href"in p&&delete p.href,i?(0,o.jsx)(h,{...p,ref:n,href:i,target:r,rel:l}):null};const S=s.forwardRef(P),C=e=>{const n=k();return s.useMemo((()=>{if(i.qO(e.field)){const i=e.linkResolver||n.linkResolver,c=((...e)=>(...n)=>{for(let t=0;t<e.length;t++){const o=e[t];if(o){const e=o(...n);if(null!=e)return e}}})("object"===typeof e.components?p(e.components):e.components,"object"===typeof n.richTextComponents?p(n.richTextComponents):n.richTextComponents,(t={linkResolver:i,internalLinkComponent:e.internalLinkComponent,externalLinkComponent:e.externalLinkComponent},p({heading1:({children:e,key:n})=>(0,o.jsx)("h1",{children:e},n),heading2:({children:e,key:n})=>(0,o.jsx)("h2",{children:e},n),heading3:({children:e,key:n})=>(0,o.jsx)("h3",{children:e},n),heading4:({children:e,key:n})=>(0,o.jsx)("h4",{children:e},n),heading5:({children:e,key:n})=>(0,o.jsx)("h5",{children:e},n),heading6:({children:e,key:n})=>(0,o.jsx)("h6",{children:e},n),paragraph:({children:e,key:n})=>(0,o.jsx)("p",{children:e},n),preformatted:({node:e,key:n})=>(0,o.jsx)("pre",{children:e.text},n),strong:({children:e,key:n})=>(0,o.jsx)("strong",{children:e},n),em:({children:e,key:n})=>(0,o.jsx)("em",{children:e},n),listItem:({children:e,key:n})=>(0,o.jsx)("li",{children:e},n),oListItem:({children:e,key:n})=>(0,o.jsx)("li",{children:e},n),list:({children:e,key:n})=>(0,o.jsx)("ul",{children:e},n),oList:({children:e,key:n})=>(0,o.jsx)("ol",{children:e},n),image:({node:e,key:n})=>{const s=(0,o.jsx)("img",{src:e.url,alt:e.alt??void 0,"data-copyright":e.copyright?e.copyright:void 0});return(0,o.jsx)("p",{className:"block-img",children:e.linkTo?(0,o.jsx)(S,{linkResolver:t.linkResolver,internalComponent:t.internalLinkComponent,externalComponent:t.externalLinkComponent,field:e.linkTo,children:s}):s},n)}
1,embed:({node:e,key:n})=>(0,o.jsx)("div",{"data-oembed":e.oembed.embed_url,"data-oembed-type":e.oembed.type,"data-oembed-provider":e.oembed.provider_name,dangerouslySetInnerHTML:{__html:e.oembed.html??""}},n),hyperlink:({node:e,children:n,key:s})=>(0,o.jsx)(S,{field:e.data,linkResolver:t.linkResolver,internalComponent:t.internalLinkComponent,externalComponent:t.externalLinkComponent,children:n},s),label:({node:e,children:n,key:t})=>(0,o.jsx)("span",{className:e.data.label,children:n},t),span:({text:e,key:n})=>{const t=[];let i=0;for(const c of e.split("\n"))i>0&&t.push((0,o.jsx)("br",{},`${i}__break`)),t.push((0,o.jsx)(s.Fragment,{children:c},`${i}__line`)),i++;return(0,o.jsx)(s.Fragment,{children:t},n)}}))),r=v(e.field,((e,n,t,o,i)=>{const r=c(e,n,t,o,i);return s.isValidElement(r)&&null==r.key?s.cloneElement(r,{key:i}):r}));return(0,o.jsx)(o.Fragment,{children:r})}return null!=e.fallback?(0,o.jsx)(o.Fragment,{children:e.fallback}):null;var t}),[e.field,e.internalLinkComponent,e.externalLinkComponent,e.components,e.linkResolver,e.fallback,n.linkResolver,n.richTextComponents])}},69039:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/podcast",function(){return t(64092)}])},64092:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSG:function(){return g},default:function(){return v}});var o=t(41799),s=t(69396),i=t(29815),c=t(85893),r=t(9008),l=t.n(r),a=t(67294),d=t(11163),h=t(97510),p=t(90753),u=t.n(p),m=t(85296),f=t.n(m),x=t(25675),_=t.n(x),g=!0;function v(e){var n=e.data,t=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return-1!==e.indexOf("e")?+e.split("e")[0].replace("s",""):void 0},r=function(e){var n=t(e),o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return-1!==e.indexOf("e")?+e.split("e")[1].replace("e",""):void 0}(e),s=O.find((function(e){return e.season===n})),i=null===s||void 0===s?void 0:s.episodes.find((function(e){return e.episode===o})).absoluteIdx;setTimeout((function(){S.current[i].scrollIntoView({behavior:"smooth",block:"center"})}),600)},p=function(e){var n=O.find((function(n){return n.season===e})),t=n.episodes[n.episodes.length-1].episode,o="s".concat(e,"e").concat(t);g(o),y(e);var s=I.findIndex((function(n){return n===e}));setTimeout((function(){C.current[s].scrollIntoView({behavior:"smooth",block:"end"})}),200)},m=(0,a.useState)(""),x=m[0],g=m[1],v=(0,a.useState)(),j=v[0],y=v[1],b=(0,a.useState)(!1),k=b[0],P=b[1],S=(0,a.useRef)([]),C=(0,a.useRef)([]),w=(0,d.useRouter)();(0,a.useEffect)((function(){S.current=S.current.slice(0,n.length)}),[n]),(0,a.useEffect)((function(){var e,n=w.asPath;if((null===(e=n.split("#"))||void 0===e?void 0:e.length)>1){var o=n.split("#")[1];g(o),y(t(o)),r(o)}}),[]),(0,a.useEffect)((function(){y(t(x)),x?window.location.hash="#".concat(x):history.pushState("",document.title,window.location.pathname+window.location.search)}),[x]);var N,L,I=n.edges.map((function(e){return e.node.season})),O=(I=(0,i.Z)(new Set(I)).sort().reverse()).map((function(e){return{season:e,episodes:n.edges.map((function(e,n){return(0,s.Z)((0,o.Z)({},e.node),{absoluteIdx:n})})).filter((function(n){return n.season===e}))}})),T=n.canonical_url?n.canonical_url:"".concat("https://www.jewishfoodsociety.org").concat(w.asPath);return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)(l(),{children:[(0,c.jsx)("title",{children:"Podcast \u2014 Jewish Food Society"}),(0,c.jsx)("meta",{name:"description",content:"Welcome to Schmaltzy, the Jewish Food Society's podcast about storytelling, food, and everything in between. Subscribe today."}),(0,c.jsx)("link",{rel:"canonical",href:null!==T&&void 0!==T?T:""}),(0,c.jsx)("meta",{property:"og:site_name",content:"Jewish Food Society"}),(0,c.jsx)("meta",{property:"og:title",content:"Listen to the Schmaltzy Podcast"}),(0,c.jsx)("meta",{property:"og:description",content:"Welcome to Schmaltzy, the Jewish Food Society's podcast about storytelling, food, and everything in between. Subscribe today."}),(0,c.jsx)("meta",{property:"og:image",content:"/images/podcast.png"})]}),(0,c.jsxs)("main",{children:[(0,c.jsx)("h1",{className:u().title,children:"Podcast"}),(0,c.jsxs)("section",{className:u().podcast,children:[(0,c.jsxs)("div",{className:u().intro,children:[(0,c.jsxs)("p",{className:u().introDesktopText,children:["Welcome to Schmaltzy, our podcast about storytelling,",(0,c.jsx)("br",{}),"food and everything in between."]}),(0,c.jsx)("p",{className:u().introMobileText,children:"Welcome to Schmaltzy, our podcast about storytelling, food and everything in between."}),(0,c.jsx)("img",{className:u().introPodcastLogoMobile,src:"/images/schmaltzy-podcast-logo.png",alt:"schmaltzy podcast logo"}),(0,c.jsxs)("div",{className:u().introPodcastsIcons,children:[(0,c.jsx)("span",{children:"Subscribe"}),(0,c.jsxs)("div",{children:[(0,c.jsx)("a",{href:"https://podcasts.apple.com/us/podcast/schmaltzy/id1529
1032928?l=en",target:"_blank",rel:"noreferrer",children:(0,c.jsx)(_(),{src:"/images/apple-podcasts.svg",alt:"apple podcasts icon",width:"30",height:"30"})}),(0,c.jsx)("a",{href:"https://open.spotify.com/show/1EVyfv8BPvI0Gtt0YYxYsA",target:"_blank",rel:"noreferrer",children:(0,c.jsx)(_(),{src:"/images/spotify.svg",alt:"spotify icon",width:"30",height:"30"})}),(0,c.jsx)("a",{href:"https://podcasts.google.com/feed/aHR0cHM6Ly9mZWVkcy5zaW1wbGVjYXN0LmNvbS9xS0NDQnBNbg?hl=en",target:"_blank",rel:"noreferrer",children:(0,c.jsx)(_(),{src:"/images/google-podcasts.svg",alt:"google podcasts icon",width:"30",height:"30"})})]})]})]}),(0,c.jsxs)("div",{className:u().allPodcastEpisodes,children:[(0,c.jsxs)("div",{className:u().seasonsListContainer,children:[(0,c.jsxs)("div",{className:u().seasonsListDesktop,children:[(0,c.jsx)("h2",{children:"All Episodes"}),I.map((function(e){return(0,c.jsxs)("a",{className:"".concat(u().seasonItem," ").concat(e===j?u().seasonItemSelected:""),onClick:function(){p(e)},children:[e===j?(0,c.jsx)(_(),{className:u().selectedIcon,alt:"selected season dash",src:"/images/podcast-icon.svg",width:"20",height:"20"}):"","Season ",e]},"season-nr-"+e)})),(0,c.jsx)("img",{className:u().podcastLogo,src:"/images/schmaltzy-podcast-logo.png",alt:"schmaltzy podcast logo"})]}),(0,c.jsxs)("div",{className:u().seasonsListMobile,children:[(0,c.jsx)("h2",{children:"All Episodes"}),(0,c.jsxs)("div",{className:"".concat(u().seasonSelectionAccordion," ").concat(k?u().isOpen:""),children:[(0,c.jsxs)("div",{className:u().seasonSelectionAccordionHeader,onClick:function(){k&&(p(null===I||void 0===I?void 0:I.length),P(!1))},children:[(0,c.jsx)("p",{children:"Season ".concat(k?null!==(N=null===I||void 0===I?void 0:I.length)&&void 0!==N?N:"not available":null!==(L=null!==j&&void 0!==j?j:null===I||void 0===I?void 0:I.length)&&void 0!==L?L:"not available")}),(0,c.jsx)("div",{className:u().seasonSelectionAccordionHeaderIcon,onClick:function(){return P(!k)},children:(0,c.jsx)("img",{src:"/images/chevron-down.svg",alt:"chevron"})})]}),(0,c.jsx)("div",{className:u().seasonSelectionAccordionContent,children:I.filter((function(e){return e!==I[0]})).map((function(e,n){return(0,c.jsx)("div",{onClick:function(){p(e),P(!1)},children:(0,c.jsx)("p",{children:"Season ".concat(e)})},"season-mobile-idx-".concat(n))}))})]})]})]}),O.map((function(e,n){return(0,c.jsxs)(a.Fragment,{children:[(0,c.jsx)("div",{className:u().seasonContainer,children:e.episodes.map((function(t,o){var s;return(0,c.jsxs)("div",{ref:function(e){return S.current[t.absoluteIdx]=e},className:"".concat(u().item," ").concat(x==="s".concat(t.season,"e").concat(t.episode)?u().isOpen:""),onClick:function(){var e;(e="s".concat(t.season,"e").concat(t.episode))===x?g(void 0):(g(e),r(e))},children:[(0,c.jsxs)("div",{className:u().heading,children:[(0,c.jsxs)("div",{className:u().headingTop,children:[(0,c.jsxs)("aside",{className:u().info,children:[null!==t.season&&(0,c.jsxs)("span",{children:["S",t.season," "]}),null!==t.episode&&(0,c.jsxs)("span",{children:["\xa0EP",t.episode]}),"\xa0",t.duration&&(0,c.jsxs)(c.Fragment,{children:["|\xa0",(0,c.jsx)(h.v,{field:t.duration}),"\xa0MIN"]})]}),0===n&&0===o&&(0,c.jsx)("div",{className:f().chipYellow,children:"Latest episode"})]}),(0,c.jsx)("h2",{children:t.title[0].text})]}),(0,c.jsxs)("div",{className:u().content,children:[(0,c.jsx)("div",{className:u().contentText,children:(0,c.jsx)(h.v,{field:t.text})}),(null===t||void 0===t?void 0:t.embed_code[0])&&(0,c.jsx)("div",{className:u().embedCode,dangerouslySetInnerHTML:{__html:null===(s=null===t||void 0===t?void 0:t.embed_code[0])||void 0===s?void 0:s.text}})]})]},"s".concat(e.season,"e").concat(t.episode))}))},"season-container-"+n),(0,c.jsx)("div",{className:u().seasonLinkSpacer,ref:function(e){return C.current[n]=e}})]},n)}))]})]})]})]})}},90753:function(e){e.exports={title:"Podcast_title__pid4m",podcast:"Podcast_podcast__5fnVR",intro:"Podcast_intro__n08KF",introDesktopText:"Podcast_introDesktopText__ezr5r",introMobileText:"Podcast_introMobileText__gdamd",introPodcastLogoMobile:"Podcast_introPodcastLogoMobile__sTHvz",introPodcastsIcons:"Podcast_introPodcastsIcons__vgmUZ",allPodcastEpisodes:"Podcast_allPodcastEpisodes__p1HWM",seasonsListContainer:"Podcast_seasonsListContainer__Li8QI",seasonsListDesktop:"Podcast_seasonsListDesktop__s8peS",seasonItemSelected:"Podcast_seasonItemSelected__2PjPm",seasonItem:"Podcast_seasonItem__zGMO5",selectedIcon:"Podcast_selectedIcon__kbBmZ",podcastLogo:"Podcast_podcastLogo__HVbJU",seasonsListMobile:"Podcast_seasonsListMobile__OdWZ_",seasonSelectionAccordion:"Podcast_seasonSelectionAccordion__Cu_X9",seasonSelectionAccordionHeader:"Podcast_seasonSelectionAccordionHeader__K5TvN",seasonSelectionAccordionHeaderIcon:"Podcast_seasonSelectionAccordionHeaderIcon__o_ScD",seasonSelectionAccordionContent:"Podcast_seasonSelectionAccordionContent__J93Wn",isOpen:"Podcast_isOpen__qt5F8",seasonContainer:"Podcast_seasonContainer__wcSgM",seasonLinkSpacer:"Podcast_seasonLinkSpacer__sXy2N",item:"Podcast_item__K0bNE",heading:"Podcast_heading___8GmE",content:"Podcast_content__oao4H",headingTop:"Podcast_headingTop__evFtb",info:"Podcast_info__npTn1",contentText:"Podcast_contentText__lCt7D",embedCode:"Podcast_embedCode__zBJGO"}},85296:function(e){e.exports={chip:"Chip_chip__jnnXI",chipYellow:"Chip_chipYellow__opeTR",chipLightGray:"Chip_chipLightGray__Owu_e"}},9008:function(e,n,t){e.exports=t(5443)},73241:function(e,n,t){"use strict";t.d(n,{qO:function(){return s}});const o=e=>null!=e,s=e=>!!o(e)&&(1===e.length&&"text"in e[0]?!!e[0].text:!!e.length)},69396:function(e,n,t){"use strict";function o(e,n){return n=null!=n?n:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,o)}return t}
1(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})),e}t.d(n,{Z:function(){return o}})}},function(e){e.O(0,[774,888,179],(function(){return n=69039,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
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.