PageSourceSearch

https://ecr-group.netlify.app/component---src-templates-podcast-template-js-d6af746885f23cd94abf.js

js ecr-group.netlify.app collected 2026-10-03 10:41:07 UTC 14,416 bytes, 261 lines download raw bytes

1"use strict";(self.webpackChunkgatsby_starter_default=self.webpackChunkgatsby_starter_default||[]).push([[267],{1404:function(e,t,n){n.d(t,{S:function(){return l}});var i=n(7294),o=n(2788);const l=e=>{let{children:t,type:n="violet",container:o,clip:l="70%",sectionContainer:d=!1}=e;return i.createElement(a,{sectionContainer:d,container:o},i.createElement(c,null,i.createElement(r,{clip:l,type:n})),i.createElement(s,null,t))},a=o.default.div.withConfig({componentId:"sc-1moua8z-0"})`
2  padding-top: ${e=>{let{container:t,sectionContainer:n}=e;return n?"40px":t?"70px":"40px"}};
3  padding-bottom: ${e=>{let{container:t,sectionContainer:n}=e;return n?"40px":t?"0":"50"}};
4  position: relative;
5  @media (min-width: ${e=>{let{theme:t}=e;return t.media.desktop_min}}) {
6    padding-top: ${e=>{let{container:t,sectionContainer:n}=e;return n?"40px":t?"135px":"185px"}};
7  }
8
9  .header-bg {
10    position: absolute;
11    top: 0;
12    left: 0;
13    width: 100%;
14    height: 100%;
15  }
16`,r=o.default.div.withConfig({componentId:"sc-1moua8z-1"})`
17  position: absolute;
18  top: 0;
19  left: 0;
20  width: 100%;
21  height: 100%;
22  &:before {
23    content: "";
24    position: absolute;
25    width: 100%;
26    height: 100%;
27    top: 0;
28    left: 0;
29    background-color: ${e=>"violet"===e.type?"#473974":"#005475"};
30  }
31`,c=o.default.div.withConfig({componentId:"sc-1moua8z-2"})`
32  img {
33    z-index: -1;
34    width: 40% !important;
35    left: auto !important;
36    right: 0;
37  }
38`,s=o.default.div.withConfig({componentId:"sc-1moua8z-3"})`
39  position: relative;
40  z-index: 50;
41`},4235:function(e,t,n){n.r(t),n.d(t,{default:function(){return P}});var i=n(7294),o=n(3864),l=n(2794),a=n(1404),r=n(2788),c=n(5195),s=n(3723),d=n(1082);var p=e=>{let{episode:t}=e;return i.createElement(m,null,i.createElement("h2",{id:t.episode_title.text},i.createElement(d.Link,{target:"blank",to:t.episode_link.url},`${t.episode_title.text}`)),i.createElement("div",{dangerouslySetInnerHTML:{__html:t.episode_text.html}}),i.createElement(x,null,i.createElement(u,null,i.createElement("h4",null,"Play the episode"),t.apple_podcast_link.url&&i.createElement(d.Link,{target:"blank",to:t.apple_podcast_link.url},i.createElement(h,null,i.createElement(f,null,i.createElement("svg",{fill:"none",height:"92",viewBox:"0 0 92 92",width:"92",xmlns:"http://www.w3.org/2000/svg"},i.createElement("linearGradient",{id:"a",gradientUnits:"userSpaceOnUse",x1:"45.7809",x2:"45.7809",y1:"0",y2:"91.5618"},i.createElement("stop",{offset:"0","stop-color":"#f452ff"}),i.createElement("stop",{offset:"1","stop-color":"#832bc1"})),i.createElement("rect",{fill:"url(#a)",height:"91.5618",rx:"20",width:"91.5618"}),i.createElement("g",{fill:"#fff"},i.createElement("path",{d:"m51.2102 53.6523c-.0891-.8028-.3565-1.3826-.8912-1.9178-1.0026-1.0481-2.7627-1.7394-4.8348-1.7394-2.072 0-3.8321.669-4.8347 1.7394-.5125.5575-.8021 1.115-.8912 1.9178-.1783 1.561-.0669 2.899.1114 5.0621.1782 2.0515.5124 4.7944.9357 7.5596.3119 1.9847.557 3.0551.7798 3.8133.3788 1.2488 1.7379 2.3192 3.899 2.3192 2.1612 0 3.5426-1.0927 3.899-2.3192.2228-.7582.4679-1.8286.7798-3.8133.4234-2.7875.7576-5.5081.9358-7.5596.2005-2.1631.2896-3.5011.1114-5.0621z"}),i.createElement("path",{d:"m50.9618 42.2787c0 3.0328-2.4508 5.4858-5.4809 5.4858s-5.4809-2.453-5.4809-5.4858c0-3.0327 2.4508-5.4857 5.4809-5.4857s5.4809 2.4753 5.4809 5.4857z"}),i.createElement("path",{d:"m45.4172 20.67c-12.7888.0446-23.2604 10.4363-23.4386 23.2364-.1337 10.3694 6.4834 19.2448 15.7297 22.5005.2228.0892.4456-.1115.4233-.3345-.1114-.8028-.2451-1.6056-.3342-2.4083-.0446-.2899-.2228-.5129-.4679-.6467-7.3079-3.1889-12.41-10.5256-12.3209-19.0218.1114-11.1499 9.2017-20.226 20.3194-20.3152 11.3851-.0892 20.6759 9.143 20.6759 20.5159 0 8.407-5.0798 15.6322-12.3208 18.8211-.2674.1115-.4457.3568-.4679.6467-.1114.8027-.2228 1.6055-.3342 2.4083-.0446.2453.2005.4237.4233.3345 9.1571-3.2111 15.7297-11.9527 15.7297-22.2106-.0446-12.9785-10.6276-23.5486-23.6168-23.5263z"}),i.createElement("path",{d:"m44.8793 28.4746c-8.3327.3122-15.0167 7.2029-15.1281 15.543-.0668 5.4858 2.6736 10.3471 6.8845 13.2238.2005.1338.4902-.0223.4902-.2676-.0669-.9589-.0669-1.8063-.0223-2.6983.0223-.2899-.0891-.5575-.3119-.7582-2.5622-2.4083-4.1218-5.8425-4.0327-9.6335.1782-6.6899 5.5477-12.1311 12.2317-12.3987 7.2633-.2899 13.2344 5.5527 13.2344 12.7332 0 3.6572-1.5596 6.9576-4.0327 9.299-.2005.2007-.3119.4683-.3119.7582.0445.8697.0223 1.7171-.0223 2.676-.0223.2453.2674.4237.4902.2676 4.144-2.8321 6.8845-7.6265 6.8845-13.0231.0223-8.8753-7.397-16.0782-16.3536-15.7214z"})))),i.createElement("span",null,"Play or subscribe on Apple Podcasts"))),t.spotify_link.url&&i.createElement(d.Link,{target:"blank",to:t.spotify_link.url},i.createElement(h,null,i.createElement(f,null,i.createElement("svg",{fill:"none",height:"92",viewBox:"0 0 92 92",width:"92",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"m0 0h91.5618v91.5618h-91.5618z",fill:"#10bc4c"}),i.createElement("path",{d:"m68.699 22.9884h-45.8084v45.8491h45.8084z",fill:"#10bc4c"}),i.createElement("path",{"clip-rule":"evenodd",d:"m45.7948 22.9884c-12.5973 0-22.9042 10.316-22.9042 22.9245s10.3069 22.9246 22.9042 22.9246 22.9042-10.3161 22.9042-22.9246-10.1924-22.9245-22.9042-22.9245zm10.5359 33.126c-.458.6877-1.2597.9169-1.9468.4585-5.3825-3.3241-12.1392-4.0118-20.1557-2.1779-.8017.2293-1.4888-.3438-1.7178-1.0316-.2291-.8023.3435-1.4901 1.0307-1.7193 8.7036-1.9486 16.2619-1.1463 22.217 2.5217.8017.3438.9162 1.2608.5726 1.9486zm2.7485-6.3043c-.5726.8024-1.6033 1.1462-2.4049.5731-6.1841-3.7825-15.5748-4.9288-22.7897-2.6363-.9161.2292-1.9468-.2292-2.1759-1.1462-.229-.917.2291-1.9486 1.1452-2.1779 8.3601-2.5217 18.667-1.2608 25.7673 3.0949.6871.3438 1.0306 1.49.458 2.2924zm.2291-6.4189c-7.3294-4.3556-19.5831-4.8141-26.5689-2.6363-1.1452.3439-2.2904-.3439-2.634-1.3755-.3435-1.1462.3436-2.2924 1.3743-2.6363 8.131-2.4071 21.5299-1.9486 30.0045 3.0948 1.0307.5731 1.3742 1.9486.8016 2.9802-.5726.8024-1.9468 1.1463-2.9775.5731z",fill:"#fff","fill-rule":"evenodd"}))),i.createElement("span",null,"Play or subscribe on Spotify"))),i.createElement(g,null,i.createElement("audio",{controls:!0},i.createElement("source",{src:t.episode_podcast.url,type:"audio/mp3"}))),i.createElement("h5",null,"Play on the page")),i.createElement(u,null,i.createElement("h4",null,"Watch the episode"),i.createElement("iframe",{width:"100%",height:"280",src:t.youtube_link.url,title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture;
41 web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0}))))};const m=r.default.section.withConfig({componentId:"sc-s09ux4-0"})`
42  margin-bottom: 20px;
43  p {
44    margin-bottom: 10px;
45  }
46  a {
47    color: rgb(64,136,245);
48  }
49`,u=r.default.section.withConfig({componentId:"sc-s09ux4-1"})`
50  display: flex;
51  flex-direction: column;
52  align-items: baseline;
53  margin-bottom: 15px;
54  h4 {
55    margin-bottom: 20px;
56    margin-top: 10px;
57    color: rgb(64,136,245);
58    font-size: 22px;
59  }
60  h5 {
61    font-size: 18px;
62  }
63`,h=r.default.section.withConfig({componentId:"sc-s09ux4-2"})`
64  display: flex;
65  align-items: center;
66  margin: 0 10px 25px 0;
67  span {
68    margin-left: 15px;
69    font-weight: 500;
70    color: black;
71  }
72`,f=r.default.section.withConfig({componentId:"sc-s09ux4-3"})`
73  padding: 5px;
74  border-radius: 15px;
75  border: 1px solid gray;
76  position: relative;
77  svg {
78    width: 50px;
79    height: 50px;
80    border-radius: 10px;
81    position: relative;
82    top: 2px;
83  }
84`,g=r.default.section.withConfig({componentId:"sc-s09ux4-4"})`
85  margin: 0 0 20px;
86`,x=r.default.section.withConfig({componentId:"sc-s09ux4-5"})`
87  display: flex;
88  align-items: baseline;
89  justify-content: space-between;
90  margin-bottom: 20px;
91  &>section {
92    width: 48%;
93  }
94  @media (max-width: 768px) {
95    flex-direction: column;
96    &>section {
97      width: 100%;
98    }
99  }
100`;var w=n(5697);var E=e=>{let{onToggle:t,children:n}=e;const o=(0,i.useRef)();(0,i.useEffect)((()=>(document.addEventListener("mousedown",l),()=>{document.removeEventListener("mousedown",l)})),[]);const l=e=>{o&&!o.current.contains(e.target)&&t()};return i.createElement("div",{className:"outside-click",ref:e=>{o.current=e}},n)};E.propTypes={children:w.node};var b=e=>{var t;let{page:n,category:o}=e;const{0:l}=(0,i.useState)(n.episodes.sort(((e,t)=>new Date(t.podcast_date)-new Date(e.podcast_date)))),{0:r,1:d}=(0,i.useState)(l),{0:m,1:u}=(0,i.useState)(!1),{0:h,1:f}=(0,i.useState)(!1),{0:g,1:x}=(0,i.useState)("Everything"),{0:w,1:b}=(0,i.useState)("Latest podcasts");return i.createElement(i.Fragment,null,i.createElement("style",null,"@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap')"),i.createElement(a.S,{type:"violet",container:!0},i.createElement(C,null,i.createElement(c.W,null,i.createElement(S,null,i.createElement("h1",null,"Podcasts"),i.createElement("h3",null,n.title.text),i.createElement("h4",null,n.subtitle.text)),i.createElement(I,null,i.createElement(L,null,i.createElement(s.G,{image:null===(t=n.series_image)||void 0===t?void 0:t.gatsbyImageData,alt:"preview"})),i.createElement(D,{dangerouslySetInnerHTML:{__html:n.content.html}}))),i.createElement(_,null,i.createElement(c.W,null,i.createElement(k,null,i.createElement(E,{onToggle:()=>f(!1)},i.createElement(z,null,i.createElement("p",{onClick:()=>f(!0)},w),h&&i.createElement("ul",null,i.createElement("li",{onClick:()=>{b("Latest podcasts"),f(!1),d(l.sort(((e,t)=>new Date(t.podcast_date)-new Date(e.podcast_date))).filter(((e,t)=>t<10)))}},"Latest podcasts"),i.createElement("li",{onClick:()=>{b("All podcasts"),f(!1),d(l.sort(((e,t)=>new Date(t.podcast_date)-new Date(e.podcast_date))))}},"All podcasts"),i.createElement("li",{onClick:()=>{b("2024 podcasts"),f(!1),d(l);const e=l.filter((e=>"2024"===e.podcast_date.split("-")[0])).sort(((e,t)=>new Date(t.podcast_date)-new Date(e.podcast_date)));d(e)}},"2024 podcasts")))),i.createElement(E,{onToggle:()=>u(!1)},i.createElement(z,null,i.createElement("p",{onClick:()=>u(!0)},g),m&&i.createElement("ul",null,i.createElement("li",{onClick:()=>{x("Everything"),u(!1),d(l.sort(((e,t)=>new Date(t.podcast_date)-new Date(e.podcast_date))))}},"Everything"),o.map((e=>i.createElement("li",{onClick:()=>{x(e.node.data.name),u(!1);const t=l.filter((t=>t.episode_link.url.split("/")[t.episode_link.url.split("/").length-1]===e.node.uid)).sort(((e,t)=>new Date(t.podcast_date)-new Date(e.podcast_date)));d(t)}},e.node.data.name))))))))),i.createElement(y,null,i.createElement(c.W,null,i.createElement(v,null,r.map(((e,t)=>i.createElement(p,{key:t,index:t,episode:e})))))))))};const v=r.default.div.withConfig({componentId:"sc-18wf2r-0"})`
101  & * {
102    font-family: "Roboto", sans-serif!important;
103  }
104  img {
105    max-width: 600px;
106    display: block;
107    margin: 0 auto;
108  }
109  h2 {
110    text-transform: uppercase;
111    color: rgb(64,136,245);
112    margin-bottom: 23px;
113  }
114  p {
115    font-weight: 500;
116  }
117  ul, ol {
118    padding: 0;
119    margin-bottom: 32px;
120    list-style: inside;
121  }
122  ol li, ul li {
123    line-height: 30px;
124    font-size: 18px;
125    font-weight: 500;
126    overflow: hidden;
127    text-overflow: ellipsis;
128  }
129  .embed iframe {
130    width: 600px;
131    height: 350px;
132    margin: 0 auto 20px;
133    max-width: 100%;
134    display: block;
135  }
136  @media (max-width: 1024px) {
137    ul, ol {
138      margin-bottom: 15px;
139    }
140    ol li, ul li {
141      font-size: 15px;
142      line-height: 25px;
143    }
144    h4, h5, h6 {
145      margin-bottom: 15px;
146      font-size: 15px;
147    }
148  }
149  @media (max-width: 640px) {
150    .embed iframe {
151      height: 300px;
152    }
153  }
154`,y=r.default.div.withConfig({componentId:"sc-18wf2r-1"})`
155  background: rgb(249,249,249);
156  color: black;
157  position: relative;
158  padding-top: 16px;
159  padding-bottom: 10px;
160  &>svg {
161    position: absolute;
162    right: 0;
163    max-width: 100%;
164  }
165`,_=r.default.div.withConfig({componentId:"sc-18wf2r-2"})`
166  background: rgb(42,149,191);
167  padding: 10px 0;
168`,k=r.default.div.withConfig({componentId:"sc-18wf2r-3"})`
169  display: flex;
170  justify-content: space-between;
171  @media (max-width: 450px) {
172    &>div {
173     width: 48%; 
174    }
175  }
176`,C=r.default.section.withConfig({componentId:"sc-18wf2r-4"})`
177  position: relative;
178  color: #fff;
179`,z=r.default.section.withConfig({componentId:"sc-18wf2r-5"})`
180  padding: 5px 10px;
181  min-width: 205px;
182  position: relative;
183  border: 1px solid white;
184  &:hover {
185    -webkit-transition: .3s ease-in-out;
186    transition: .3s ease-in-out;
187    background-color: #11364E;
188  }
189  p {
190    margin-bottom: 0;
191    cursor: pointer;
192  }
193  ul {
194    padding: 5px 0;
195    position: absolute;
196    z-index: 11;
197    min-width: 100%;
198    background: rgb(42,149,191);
199    left: 0;
200    top: 41px;
201    li {
202      cursor: pointer;
203      padding: 5px 10px;
204    }
205  }
206  @media (max-width: 450px) {
207    min-width: auto;
208  }
209`,I=r.default.section.withConfig({componentId:"sc-18wf2r-6"})`
210  display: flex;
211  align-items: center;
212  margin-bottom: 30px;
213`,D=r.default.section.withConfig({componentId:"sc-18wf2r-7"})`
214  max-width: 550px;
215  p {
216    margin-bottom: 10px;
217    font-size: 16px;
218    line-height: 1.5;
219  }
220  @media (max-width: 1024px) {
221    max-width: 100%;
222  }
223`,S=r.default.div.withConfig({componentId:"sc-18wf2r-8"})`
224  margin-bottom: 20px;
225
226  h1 {
227    line-height: calc(78 / 64);
228    font-size: 26px;
229    color: #fff;
230    margin-bottom: 5px;
231    text-transform: uppercase;
232
233    @media (min-width: ${e=>{let{theme:t}=e;return t.media.tablet_min}}) {
234      font-size: 39px;
235    }
236  }
237  h3 {
238    color: #fff;
239  }
240  p {
241    font-size: 12px;
242    font-weight: bold;
243    color: #999;
244    line-height: 16px;
245  }
246  a {
247    color: #fff;
248  }
249`,L=r.default.div.withConfig({componentId:"sc-18wf2r-9"})`
250  display: flex;
251  height: 240px;
252  max-width: 240px;
253  margin-right: 20px;
254  .gatsby-image-wrapper {
255    width: 100%;
256  }
257  @media (max-width: 1024px) {
258    display: none;
259  }
260`;var P=e=>{let{data:t,location:n}=e;const{prismicPodcast:{data:a}}=t,{allPrismicCategory:{edges:r}}=t;if(!a)return null;const{meta_title:c,meta_description:s}=a;return i.createElement(o.Z,{location:n},i.createElement(l.Z,{pathname:n.pathname,title:c||a.title.text,description:s}),i.createElement(b,{category:r,page:a,location:n}))}}}]);
261//# sourceMappingURL=component---src-templates-podcast-template-js-d6af746885f23cd94abf.js.map

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.