1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1917],{65294:function(t,e,n){n.d(e,{n:function(){return b}});var i=n(85893),l=n(67294),c=n(82729),a=n(20860),r=n(52015),o=n(86546);function _templateObject(){let t=(0,c._)(["\n ","\n ","\n"]);return _templateObject=function(){return t},t}function _templateObject1(){let t=(0,c._)(["\n position: absolute;\n top: 0;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n "]);return _templateObject1=function(){return t},t}function _templateObject2(){let t=(0,c._)(["\n ","\n\n cursor: pointer;\n color: ",";\n "]);return _templateObject2=function(){return t},t}function _templateObject3(){let t=(0,c._)(["\n height: 100%;\n object-fit: cover;\n width: 100%;\n "]);return _templateObject3=function(){return t},t}let u={PlayButton:r.ZP.button.withConfig({componentId:"sc-bb7fcab4-0"})(_templateObject1()),PlayIcon:(0,r.ZP)(a.zO).withConfig({componentId:"sc-bb7fcab4-1"})(_templateObject2(),()=>(0,r.iv)(_templateObject(),(0,o.yB)("width",36,50),(0,o.yB)("height",36,50)),o.$_.defaultWhite100),Thumbnail:r.ZP.img.withConfig({componentId:"sc-bb7fcab4-2"})(_templateObject3())},Thumbnail=t=>{let{preview:e,isReady:n,isPlaying:l,handlePlayClick:c}=t,a=l&&!n;return(0,i.jsxs)(i.Fragment,{children:[!!e&&(0,i.jsx)(u.Thumbnail,{alt:e.alternative||"",loading:"lazy",src:e.path,decoding:"async"}),(0,i.jsx)(u.PlayButton,{disabled:a,onClick:c,children:!a&&(0,i.jsx)(u.PlayIcon,{})})]})};var d=n(73943),s=n(52513),p=n(86601),f=n(63645);let usePlaying=(t,e)=>{let n=(0,l.useId)(),i=(0,s.T)(),[c,a]=(0,l.useState)(!1),r=(0,s.C)(p.m5),o=(0,s.C)(p.wC),u=(0,s.C)((0,p.ZE)(e)),d=(0,l.useRef)(u),m=(0,l.useCallback)(()=>{i((0,f.iV)(n)),a(!0)},[i,n]);return(0,l.useEffect)(()=>{o!==n&&a(!1)},[n,o]),(0,l.useEffect)(()=>{r===t&&(a(!0),i((0,f.xK)("")))},[r,i,m,t,c]),(0,l.useEffect)(()=>{d.current!==u&&(a(!1),d.current=u)},[u]),{isPlaying:c,handlePlayClick:m}};function styled_templateObject(){let t=(0,c._)(["\n ","\n ","\n"]);return styled_templateObject=function(){return t},t}function styled_templateObject1(){let t=(0,c._)(["\n position: relative;\n width: 100%;\n overflow: hidden;\n max-width: 1050px;\n margin-left: auto;\n margin-right: auto;\n\n & div {\n height: 100%;\n\n & iframe {\n height: 100%;\n }\n }\n "]);return styled_templateObject1=function(){return t},t}function styled_templateObject2(){let t=(0,c._)(["\n position: absolute;\n top: 0;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n "]);return styled_templateObject2=function(){return t},t}function styled_templateObject3(){let t=(0,c._)(["\n ","\n\n cursor: pointer;\n color: ",";\n "]);return styled_templateObject3=function(){return t},t}function _templateObject4(){let t=(0,c._)(["\n height: 100%;\n object-fit: cover;\n width: 100%;\n "]);return _templateObject4=function(){return t},t}let m={Container:r.ZP.div.withConfig({componentId:"sc-e087ecf5-0"})(styled_templateObject1()),PlayButton:r.ZP.button.withConfig({componentId:"sc-e087ecf5-1"})(styled_templateObject2()),PlayIcon:(0,r.ZP)(a.zO).withConfig({componentId:"sc-e087ecf5-2"})(styled_templateObject3(),()=>(0,r.iv)(styled_templateObject(),(0,o.yB)("width",36,50),(0,o.yB)("height",36,50)),o.$_.defaultWhite100),Thumbnail:r.ZP.img.withConfig({componentId:"sc-e087ecf5-3"})(_templateObject4())};var h=n(21781);let b=(0,l.memo)(t=>{var e;let{sliderId:n,className:c,path:a,type:r,...o}=t,[u,s]=(0,l.useState)(!1),{isPlaying:p,handlePlayClick:f}=usePlaying(a,n),b=(0,l.useCallback)(()=>{s(!0)},[]),_=!!(null===(e=o.preview)||void 0===e?void 0:e.path),j=(0,h.y)(r)?d.V[r]:null;return(0,i.jsxs)(m.Container,{className:c,children:[(!u||!p)&&_&&(0,i.jsx)(Thumbnail,{handlePlayClick:f,preview:null==o?void 0:o.preview,isReady:u,isPlaying:p}),!!j&&(p||!_)&&(0,i.jsx)(j,{onReady:b,...o,type:r,path:a,isPlaying:p})]})})},71917:function(t,e,n){n.r(e),n.d(e,{VideoSlide:function(){return VideoSlide}});var i=n(85893),l=n(18357),c=n(93967),a=n.n(c),r=n(20860),o=n(16439),u=n(82729),d=n(52015
1),s=n(65294),p=n(86157);function _templateObject(){let t=(0,u._)(["\n cursor: pointer;\n overflow: hidden;\n width: 100%;\n "]);return _templateObject=function(){return t},t}function _templateObject1(){let t=(0,u._)(["\n aspect-ratio: 16/9;\n "]);return _templateObject1=function(){return t},t}function _templateObject2(){let t=(0,u._)([""]);return _templateObject2=function(){return t},t}let f={GalleryMainSliderVideoButton:d.ZP.button.withConfig({componentId:"sc-69f9c7aa-0"})(_templateObject()),GalleryMainSliderVideo:(0,d.ZP)(s.n).withConfig({componentId:"sc-69f9c7aa-1"})(_templateObject1()),GalleryMainSliderVideoItem:(0,d.ZP)(p.t).withConfig({componentId:"sc-69f9c7aa-2"})(_templateObject2())},VideoSlide=t=>{let{video:e,mode:n,sliderId:c,onSlideClick:u}=t,{ref:d,inView:s}=(0,l.YD)({threshold:0});return o.Sx.FULLSCREEN===n?(0,i.jsx)(f.GalleryMainSliderVideoButton,{onClick:u(),ref:d,children:(0,i.jsx)(f.GalleryMainSliderVideo,{sliderId:c,...e,className:a()(s?"videoContainer":"")})}):(0,i.jsxs)(f.GalleryMainSliderVideoItem,{onClick:u(e.path),children:[(0,i.jsx)("img",{alt:e.preview.alternative||"",fetchpriority:"high",src:e.preview.path,title:e.preview.title,loading:"lazy",decoding:"async"}),(0,i.jsx)(r.zO,{})]})}}}]);
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.