"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8412],{24388:function(e,n,i){i.d(n,{U1:function(){return l},XC:function(){return o},sz:function(){return r}});var t=i(87379),o=t.ZP.iframe.withConfig({displayName:"IframeVideo",componentId:"sc-e8vm28-0"})([""]),r=t.ZP.div.withConfig({displayName:"EmbeddedVideoContainer",componentId:"sc-e8vm28-1"})(["position:relative;padding-bottom:56.25%;height:0;width:100%;@media only screen and (max-width:","){max-width:none;}embed,iframe{position:absolute;top:0;left:0;width:100%;height:100%;}&:hover{cursor:pointer;}"],function(e){return e.theme.desktop960}),l=t.ZP.div.withConfig({displayName:"VideoWrapper",componentId:"sc-e8vm28-2"})(["#coverImgWrapper{width:100%;position:relative;img{width:100%;}.play-icon{position:absolute;width:100%;height:100%;top:0;left:0;display:flex;align-items:center;justify-content:center;}}"])},11145:function(e,n,i){i.r(n);var t=i(67294),o=i(72679),r=i(12549),l=i(24388),d=i(85893);n.default=function(e){var n=e.videoUrl,i=void 0===n?"":n,a=e.title,s=void 0===a?"":a,c=e.bannerImage,h=e.bannerImage2x,u=c&&c.length>0,f=i&&i.length>0,m=h||c,p=(0,t.useState)(!u),v=p[0],g=p[1];return(0,d.jsx)(l.U1,{children:f&&(v?(0,d.jsx)(l.sz,{children:(0,d.jsx)(l.XC,{width:"100%",height:"100%",src:i,frameBorder:"0",autoplay:"0",title:s})}):c&&(0,d.jsx)(o.LazyLoadComponent,{children:(0,d.jsxs)("div",{role:"button",id:"coverImgWrapper",onClick:function(){return g(!0)},children:[(0,d.jsx)(r.Z,{srcSet:"".concat(c," 1x, ").concat(m," 2x"),src:c,alt:s}),(0,d.jsx)("div",{className:"play-icon",children:(0,d.jsx)("svg",{width:"47px",height:"47px",viewBox:"0 0 47 47",version:"1.1",children:(0,d.jsx)("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:(0,d.jsx)("g",{transform:"translate(-137.000000, -4430.000000)",fill:"#FFFFFF",fillRule:"nonzero",children:(0,d.jsx)("g",{transform:"translate(12.000000, 4160.000000)",children:(0,d.jsx)("g",{transform:"translate(125.000000, 270.000000)",children:(0,d.jsx)("path",{d:"M18.8,34.0750352 L32.9000117,23.5000235 L18.8,12.9250117 L18.8,34.0750352 Z M23.5,0 C10.5213084,0 0,10.5213084 0,23.5 C0,36.4786916 10.5213084,47 23.5,47 C36.4786916,47 47,36.4786916 47,23.5 C46.9952599,10.5232861 36.4767492,0.00475961061 23.5000352,0 L23.5,0 Z M23.5,42.300047 C15.8960982,42.300047 9.04092017,37.7195839 6.13102632,30.6944973 C3.22113248,23.6694107 4.82957689,15.5831816 10.2063441,10.2064077 C15.5831113,4.82963379 23.6693384,3.22117927 30.6944286,6.13106433 C37.7195188,9.04094939 42.3,15.8961217 42.3,23.5000235 C42.2862135,33.8772414 33.8772532,42.2862018 23.5000352,42.300047 L23.5,42.300047 Z"})})})})})})})]})}))})}},48412:function(e,n,i){i.r(n),i(67294);var t=i(11145),o=i(85893);n.default=function(e){var n,i,r=e.entry.fields,l=r.youTubeVideoUrl,d=r.videoTitle,a=r.coverImage,s=a&&(null!==(n=null==a||null===(i=a.fields)||void 0===i||null===(i=i.file)||void 0===i?void 0:i.url)&&void 0!==n?n:"");return(0,o.jsx)(t.default,{videoUrl:l,title:d,bannerImage:s})}}}]);