1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[700],{10700:(e,a,t)=>{"use strict";t.r(a),t.d(a,{default:()=>x});var s=t(37876),l=t(45821),n=t(14232),i=t(54587),r=t.n(i),o=t(26347),p=t.n(o),d=t(21540),c=t.n(d),_=t(49995),y=t(1191),u=t(20845),m=t(25196);function h(e){let{videoUrl:a,showOverlay:t,className:i,...o}=e,d=(0,m.ay)(),[h,x]=n.useState(!1),[j,g]=n.useState(null),v=(0,l.a4)(j)&&function(e){let a=Math.floor(e%3600/60).toString().padStart(2,"0"),t=Math.floor(e%60).toString().padStart(2,"0");return"".concat(a,":").concat(t)}(j);return(0,s.jsx)("div",{className:p().grid,children:(0,s.jsxs)("div",{className:(0,_.A)(c().container,i),...o,children:[(0,s.jsx)(()=>{var a;if(!t)return null;let{image:n,title:i,description:o}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:(0,_.A)(p().grid,p().noPadding,c().content,h&&c().contentHidden),children:[(0,s.jsxs)("div",{className:c().contentWrapper,children:[(0,l.a4)(i)&&(0,s.jsx)("h2",{className:c().title,children:i}),(0,l.a4)(o)&&(0,s.jsx)("p",{className:c().description,children:o})]}),(0,s.jsx)("div",{className:c().playButtonWrapper,children:(0,s.jsxs)("button",{className:(0,_.A)(c().playButton,c().playButtonDesktop),onClick:()=>x(!0),"aria-label":d("AriaPlayVideo"),children:[(0,s.jsx)(y.jG,{className:c().playIcon}),(0,s.jsx)("span",{className:c().playButtonLabel,children:d("Play video")}),!1!==v?(0,s.jsx)("span",{className:c().playButtonTime,children:v}):(0,s.jsx)("span",{className:c().playButtonTime,children:"Loading..."})]})})]}),(0,s.jsxs)("div",{className:(0,_.A)(p().grid,p().noPadding,c().imageWrapper,h&&c().imageWrapperHidden),children:[(0,l.a4)(n)&&(0,s.jsx)(r(),{src:n.src,alt:null!=(a=n.alt)?a:"",fill:!0,sizes:"(max-width: 768px) 100vw, 50vw",quality:100,className:c().image}),(0,s.jsx)("div",{className:c().playButtonWrapper,children:(0,s.jsxs)("button",{className:(0,_.A)(c().playButton,c().playButtonMobile),onClick:()=>x(!0),"aria-label":d("AriaPlayVideo"),children:[(0,s.jsx)(y.jG,{className:c().playIcon}),(0,s.jsx)("span",{className:c().playButtonLabel,children:"Play video"}),!1!==v?(0,s.jsx)("span",{className:c().playButtonTime,children:v}):(0,s.jsx)("span",{className:c().playButtonTime,children:"Loading..."})]})})]})]})},{}),(0,s.jsx)("div",{className:(0,_.A)(p().grid,p().noPadding,c().videoWrapper),children:(0,s.jsx)(u.default,{url:a,className:c().video,width:"100%",height:"100%",controls:!0,playing:h,onDuration:e=>g(e),onEnded:()=>x(!1),youtube:{rel:0}})})]})})}function x(e){let a=(0,l.a4)(e.backgroundImage)?{showOverlay:!0,videoUrl:e.video.src,description:(0,l.a4)(e.subtitle)?e.subtitle:void 0,image:e.backgroundImage,title:e.title}:{showOverlay:!1,videoUrl:e.video.src};return(0,s.jsx)(h,{...a})}},21540:e=>{e.exports={container:"styles_container__lX3nE",content:"styles_content__zoJAR",contentWrapper:"styles_contentWrapper__rrjwU",title:"styles_title__3H1b5",description:"styles_description__ubr7n",imageWrapper:"styles_imageWrapper__Er_RO",image:"styles_image__f2yxx",contentHidden:"styles_contentHidden__LMJZT",imageWrapperHidden:"styles_imageWrapperHidden__BMANG",playButtonWrapper:"styles_playButtonWrapper__9JGiT",playButton:"styles_playButton__6_EWA",playButtonMobile:"styles_playButtonMobile__NXuFp",playButtonDesktop:"styles_playButtonDesktop__L5E6h",playIcon:"styles_playIcon__mLOQy",playButtonLabel:"styles_playButtonLabel__1VfkH",playButtonTime:"styles_playButtonTime__1ShVi",videoWrapper:"styles_videoWrapper__VPqOt",video:"styles_video__9j3kT"}}}]);
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.